@blaze-cms/react-page-builder 0.146.0-core-styles.43 → 0.146.0-node18.0

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 (1166) hide show
  1. package/CHANGELOG.md +31 -216
  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 +3 -3
  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 +4 -4
  11. package/lib/HOC/withInfiniteScroll.js.map +1 -1
  12. package/lib/HOC/withTitle.js +3 -3
  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 +2 -1
  16. package/lib/application/query/index.js.map +1 -1
  17. package/lib/components/BackToTop/BackToTop.js +3 -3
  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 +6 -6
  21. package/lib/components/Banner/AdSlotRender.js.map +1 -1
  22. package/lib/components/Banner/Banner.js +5 -5
  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 +19 -19
  27. package/lib/components/Banner/helpers.js.map +1 -1
  28. package/lib/components/Banner/index.js +5 -5
  29. package/lib/components/Banner/index.js.map +1 -1
  30. package/lib/components/BlazeLink.js +7 -7
  31. package/lib/components/BlazeLink.js.map +1 -1
  32. package/lib/components/Breadcrumb/Breadcrumb.js +5 -5
  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 +7 -7
  36. package/lib/components/Button.js.map +1 -1
  37. package/lib/components/Card/Card.js +5 -5
  38. package/lib/components/Card/Card.js.map +1 -1
  39. package/lib/components/Card/CardsContainer.js +9 -9
  40. package/lib/components/Card/CardsContainer.js.map +1 -1
  41. package/lib/components/Card/CardsFactory.js +1 -1
  42. package/lib/components/Card/CardsFactory.js.map +1 -1
  43. package/lib/components/Card/CardsRender.js +13 -13
  44. package/lib/components/Card/CardsRender.js.map +1 -1
  45. package/lib/components/Card/constants.js.map +1 -1
  46. package/lib/components/Card/helpers/get-dynamic-grid-classes.js +3 -3
  47. package/lib/components/Card/helpers/get-dynamic-grid-classes.js.map +1 -1
  48. package/lib/components/Card/helpers/get-published-listing-url.js.map +1 -1
  49. package/lib/components/Card/helpers/index.js.map +1 -1
  50. package/lib/components/Card/helpers/use-dynamic-size-key.js +3 -3
  51. package/lib/components/Card/helpers/use-dynamic-size-key.js.map +1 -1
  52. package/lib/components/Card/index.js.map +1 -1
  53. package/lib/components/Carousel/Carousel.js.map +1 -1
  54. package/lib/components/Carousel/CarouselImage/CarouselImage.js.map +1 -1
  55. package/lib/components/Carousel/CarouselImage/constants.js.map +1 -1
  56. package/lib/components/Carousel/CarouselImage/index.js.map +1 -1
  57. package/lib/components/Carousel/CarouselRender/CarouselRender.js +1 -0
  58. package/lib/components/Carousel/CarouselRender/CarouselRender.js.map +1 -1
  59. package/lib/components/Carousel/CarouselRender/index.js.map +1 -1
  60. package/lib/components/Carousel/hooks/useCarouselNavigation.js.map +1 -1
  61. package/lib/components/Carousel/index.js.map +1 -1
  62. package/lib/components/CarouselWrapper/CarouselWrapper.js.map +1 -1
  63. package/lib/components/CarouselWrapper/DefaultCarousel.js +4 -4
  64. package/lib/components/CarouselWrapper/DefaultCarousel.js.map +1 -1
  65. package/lib/components/CarouselWrapper/SmoothScrollCarousel.js.map +1 -1
  66. package/lib/components/CarouselWrapper/index.js.map +1 -1
  67. package/lib/components/ClickWrapper.js +7 -7
  68. package/lib/components/ClickWrapper.js.map +1 -1
  69. package/lib/components/Code/Code.js +7 -7
  70. package/lib/components/Code/Code.js.map +1 -1
  71. package/lib/components/Code/ScriptTag.js +4 -4
  72. package/lib/components/Code/ScriptTag.js.map +1 -1
  73. package/lib/components/Code/helpers/index.js.map +1 -1
  74. package/lib/components/Code/helpers/wrap-script-tags.js +1 -1
  75. package/lib/components/Code/helpers/wrap-script-tags.js.map +1 -1
  76. package/lib/components/Code/index.js.map +1 -1
  77. package/lib/components/ContentGroup/ContentGroup.js.map +1 -1
  78. package/lib/components/ContentGroup/ContentGroupTabs.js +5 -5
  79. package/lib/components/ContentGroup/ContentGroupTabs.js.map +1 -1
  80. package/lib/components/ContentGroup/constants.js.map +1 -1
  81. package/lib/components/ContentGroup/helpers/get-active-tab.js +1 -1
  82. package/lib/components/ContentGroup/helpers/get-active-tab.js.map +1 -1
  83. package/lib/components/ContentGroup/helpers/get-sections-data.js +1 -0
  84. package/lib/components/ContentGroup/helpers/get-sections-data.js.map +1 -1
  85. package/lib/components/ContentGroup/helpers/index.js.map +1 -1
  86. package/lib/components/ContentGroup/index.js.map +1 -1
  87. package/lib/components/ContentGroupSection/ContentGroupSection.js.map +1 -1
  88. package/lib/components/ContentGroupSection/index.js.map +1 -1
  89. package/lib/components/DataSummary/DataSummaryFactory.js +3 -3
  90. package/lib/components/DataSummary/DataSummaryFactory.js.map +1 -1
  91. package/lib/components/DataSummary/DataSummaryRender.js +1 -0
  92. package/lib/components/DataSummary/DataSummaryRender.js.map +1 -1
  93. package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummary.js.map +1 -1
  94. package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummaryContent.js +5 -5
  95. package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummaryContent.js.map +1 -1
  96. package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/index.js.map +1 -1
  97. package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummary.js.map +1 -1
  98. package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummaryContent.js +5 -5
  99. package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummaryContent.js.map +1 -1
  100. package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/index.js.map +1 -1
  101. package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummary.js.map +1 -1
  102. package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummaryContent.js +5 -5
  103. package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummaryContent.js.map +1 -1
  104. package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/index.js.map +1 -1
  105. package/lib/components/DataSummary/DataSummaryTypes/ListSummary/ListSummary.js.map +1 -1
  106. package/lib/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.js +5 -5
  107. package/lib/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.js.map +1 -1
  108. package/lib/components/DataSummary/DataSummaryTypes/ListSummary/index.js.map +1 -1
  109. package/lib/components/DataSummary/DataSummaryTypes/TextSummary/TextSummary.js.map +1 -1
  110. package/lib/components/DataSummary/DataSummaryTypes/TextSummary/TextSummaryContent.js +5 -5
  111. package/lib/components/DataSummary/DataSummaryTypes/TextSummary/TextSummaryContent.js.map +1 -1
  112. package/lib/components/DataSummary/DataSummaryTypes/TextSummary/index.js.map +1 -1
  113. package/lib/components/DataSummary/DataSummaryTypes/index.js +9 -9
  114. package/lib/components/DataSummary/DataSummaryTypes/index.js.map +1 -1
  115. package/lib/components/DataSummary/helpers/build-loop-props-content.js +5 -5
  116. package/lib/components/DataSummary/helpers/build-loop-props-content.js.map +1 -1
  117. package/lib/components/DataSummary/helpers/build-props-to-display-with-content.js +2 -2
  118. package/lib/components/DataSummary/helpers/build-props-to-display-with-content.js.map +1 -1
  119. package/lib/components/DataSummary/helpers/get-data-summary-query.js.map +1 -1
  120. package/lib/components/DataSummary/helpers/get-link-based-on-value.js.map +1 -1
  121. package/lib/components/DataSummary/helpers/get-link-props.js +2 -2
  122. package/lib/components/DataSummary/helpers/get-link-props.js.map +1 -1
  123. package/lib/components/DataSummary/helpers/get-link-to-published-content.js.map +1 -1
  124. package/lib/components/DataSummary/helpers/get-loop-props-limit.js +2 -2
  125. package/lib/components/DataSummary/helpers/get-loop-props-limit.js.map +1 -1
  126. package/lib/components/DataSummary/helpers/get-prop-value.js +3 -3
  127. package/lib/components/DataSummary/helpers/get-prop-value.js.map +1 -1
  128. package/lib/components/DataSummary/helpers/get-value-from-array.js +2 -2
  129. package/lib/components/DataSummary/helpers/get-value-from-array.js.map +1 -1
  130. package/lib/components/DataSummary/helpers/index.js.map +1 -1
  131. package/lib/components/DataSummary/helpers/parse-boolean-values.js.map +1 -1
  132. package/lib/components/DataSummary/helpers/strip-summary-props-content.js.map +1 -1
  133. package/lib/components/DataSummary/index.js.map +1 -1
  134. package/lib/components/DateTime/DateTime.js +4 -4
  135. package/lib/components/DateTime/DateTime.js.map +1 -1
  136. package/lib/components/DateTime/index.js.map +1 -1
  137. package/lib/components/EmailConfirm/EmailConfirm.js +6 -6
  138. package/lib/components/EmailConfirm/EmailConfirm.js.map +1 -1
  139. package/lib/components/EmailConfirm/index.js.map +1 -1
  140. package/lib/components/EmailConfirm/mutation.js.map +1 -1
  141. package/lib/components/Iframe/Iframe.js.map +1 -1
  142. package/lib/components/Iframe/constants.js.map +1 -1
  143. package/lib/components/Iframe/index.js.map +1 -1
  144. package/lib/components/Image/GlobalLightbox/GlobalLightbox.js +6 -6
  145. package/lib/components/Image/GlobalLightbox/GlobalLightbox.js.map +1 -1
  146. package/lib/components/Image/GlobalLightbox/NavButton.js.map +1 -1
  147. package/lib/components/Image/GlobalLightbox/index.js +5 -5
  148. package/lib/components/Image/GlobalLightbox/index.js.map +1 -1
  149. package/lib/components/Image/Image.js +8 -8
  150. package/lib/components/Image/Image.js.map +1 -1
  151. package/lib/components/Image/ImageDetails.js.map +1 -1
  152. package/lib/components/Image/ImageFactory.js +4 -4
  153. package/lib/components/Image/ImageFactory.js.map +1 -1
  154. package/lib/components/Image/ImageRender.js.map +1 -1
  155. package/lib/components/Image/Lightbox/Lightbox.js +3 -3
  156. package/lib/components/Image/Lightbox/Lightbox.js.map +1 -1
  157. package/lib/components/Image/Lightbox/index.js.map +1 -1
  158. package/lib/components/Image/index.js.map +1 -1
  159. package/lib/components/ItemList/ItemListButton/ItemListButton.js +5 -5
  160. package/lib/components/ItemList/ItemListButton/ItemListButton.js.map +1 -1
  161. package/lib/components/ItemList/ItemListButton/index.js.map +1 -1
  162. package/lib/components/ItemList/ItemListCounter/ItemListCounter.js.map +1 -1
  163. package/lib/components/ItemList/ItemListCounter/index.js.map +1 -1
  164. package/lib/components/ItemList/ItemListNew/ItemListNew.js.map +1 -1
  165. package/lib/components/ItemList/ItemListNew/index.js.map +1 -1
  166. package/lib/components/ItemList/constants.js.map +1 -1
  167. package/lib/components/ItemList/helpers/get-item-list-data.js.map +1 -1
  168. package/lib/components/ItemList/helpers/get-item-list-id.js.map +1 -1
  169. package/lib/components/ItemList/helpers/get-item-list-ids.js +1 -0
  170. package/lib/components/ItemList/helpers/get-item-list-ids.js.map +1 -1
  171. package/lib/components/ItemList/helpers/index.js.map +1 -1
  172. package/lib/components/ItemList/helpers/set-item-list-id.js.map +1 -1
  173. package/lib/components/ItemList/helpers/set-param-and-redirect.js +5 -4
  174. package/lib/components/ItemList/helpers/set-param-and-redirect.js.map +1 -1
  175. package/lib/components/ItemList/hooks/index.js.map +1 -1
  176. package/lib/components/ItemList/hooks/use-item-list-id.js.map +1 -1
  177. package/lib/components/Layout/Layout.js +5 -5
  178. package/lib/components/Layout/Layout.js.map +1 -1
  179. package/lib/components/Layout/LayoutFactory.js +5 -5
  180. package/lib/components/Layout/LayoutFactory.js.map +1 -1
  181. package/lib/components/Layout/LayoutWithStickyTimer.js +3 -3
  182. package/lib/components/Layout/LayoutWithStickyTimer.js.map +1 -1
  183. package/lib/components/Layout/constants.js.map +1 -1
  184. package/lib/components/Layout/helpers/check-if-row-has-columns.js +1 -1
  185. package/lib/components/Layout/helpers/check-if-row-has-columns.js.map +1 -1
  186. package/lib/components/Layout/helpers/get-styles-to-update.js.map +1 -1
  187. package/lib/components/Layout/helpers/index.js.map +1 -1
  188. package/lib/components/Layout/index.js.map +1 -1
  189. package/lib/components/LazyImage/LazyImage.js.map +1 -1
  190. package/lib/components/LazyImage/index.js +5 -5
  191. package/lib/components/LazyImage/index.js.map +1 -1
  192. package/lib/components/List/ListBuilder.js +5 -5
  193. package/lib/components/List/ListBuilder.js.map +1 -1
  194. package/lib/components/List/ListFactory.js +11 -11
  195. package/lib/components/List/ListFactory.js.map +1 -1
  196. package/lib/components/List/ListRender.js.map +1 -1
  197. package/lib/components/List/components/Cards/CardRenderWithInfiniteScroll.js.map +1 -1
  198. package/lib/components/List/components/Cards/CardsRender.js +8 -8
  199. package/lib/components/List/components/Cards/CardsRender.js.map +1 -1
  200. package/lib/components/List/components/Cards/CardsRenderItem.js.map +1 -1
  201. package/lib/components/List/components/Cards/CardsRenderWrapper.js +4 -4
  202. package/lib/components/List/components/Cards/CardsRenderWrapper.js.map +1 -1
  203. package/lib/components/List/components/Cards/index.js.map +1 -1
  204. package/lib/components/List/components/Full/FullRender.js +7 -7
  205. package/lib/components/List/components/Full/FullRender.js.map +1 -1
  206. package/lib/components/List/components/Full/FullRenderItem.js +7 -7
  207. package/lib/components/List/components/Full/FullRenderItem.js.map +1 -1
  208. package/lib/components/List/components/Full/FullRenderWithInfiniteScroll.js.map +1 -1
  209. package/lib/components/List/components/Full/index.js.map +1 -1
  210. package/lib/components/List/components/Header/ListHeader.js +2 -1
  211. package/lib/components/List/components/Header/ListHeader.js.map +1 -1
  212. package/lib/components/List/components/Header/index.js.map +1 -1
  213. package/lib/components/List/components/Pagination/Classic.js.map +1 -1
  214. package/lib/components/List/components/Pagination/ListPagination.js +7 -7
  215. package/lib/components/List/components/Pagination/ListPagination.js.map +1 -1
  216. package/lib/components/List/components/Pagination/LoadMore.js +2 -2
  217. package/lib/components/List/components/Pagination/LoadMore.js.map +1 -1
  218. package/lib/components/List/components/Pagination/index.js.map +1 -1
  219. package/lib/components/List/components/helpers/check-if-should-render-banner.js +1 -2
  220. package/lib/components/List/components/helpers/check-if-should-render-banner.js.map +1 -1
  221. package/lib/components/List/components/helpers/check-if-should-render-gtm.js +1 -2
  222. package/lib/components/List/components/helpers/check-if-should-render-gtm.js.map +1 -1
  223. package/lib/components/List/components/helpers/index.js.map +1 -1
  224. package/lib/components/List/components/index.js.map +1 -1
  225. package/lib/components/List/constants.js.map +1 -1
  226. package/lib/components/List/helpers/build-az-aggregations.js +3 -3
  227. package/lib/components/List/helpers/build-az-aggregations.js.map +1 -1
  228. package/lib/components/List/helpers/build-az-url.js +5 -5
  229. package/lib/components/List/helpers/build-az-url.js.map +1 -1
  230. package/lib/components/List/helpers/build-pagination-items.js.map +1 -1
  231. package/lib/components/List/helpers/build-pagination-url.js +5 -5
  232. package/lib/components/List/helpers/build-pagination-url.js.map +1 -1
  233. package/lib/components/List/helpers/build-query-booster.js +7 -6
  234. package/lib/components/List/helpers/build-query-booster.js.map +1 -1
  235. package/lib/components/List/helpers/get-az-query-filter.js.map +1 -1
  236. package/lib/components/List/helpers/get-items-per-page-to-use.js.map +1 -1
  237. package/lib/components/List/helpers/get-list-component.js.map +1 -1
  238. package/lib/components/List/helpers/get-list-query.js +3 -3
  239. package/lib/components/List/helpers/get-list-query.js.map +1 -1
  240. package/lib/components/List/helpers/get-list-specific-search-filter.js.map +1 -1
  241. package/lib/components/List/helpers/get-sort-props.js +2 -2
  242. package/lib/components/List/helpers/get-sort-props.js.map +1 -1
  243. package/lib/components/List/helpers/has-required-item-list-details.js.map +1 -1
  244. package/lib/components/List/helpers/index.js.map +1 -1
  245. package/lib/components/List/helpers/sort-aggs.js.map +1 -1
  246. package/lib/components/List/helpers/strip-query-key.js.map +1 -1
  247. package/lib/components/List/index.js.map +1 -1
  248. package/lib/components/Loading/Loading.js.map +1 -1
  249. package/lib/components/Loading/constants.js.map +1 -1
  250. package/lib/components/Loading/helpers.js.map +1 -1
  251. package/lib/components/Loading/index.js.map +1 -1
  252. package/lib/components/Menu/Menu.js +4 -7
  253. package/lib/components/Menu/Menu.js.map +1 -1
  254. package/lib/components/Menu/MenuContext.js +1 -2
  255. package/lib/components/Menu/MenuContext.js.map +1 -1
  256. package/lib/components/Menu/index.js.map +1 -1
  257. package/lib/components/MenuItem/MenuEntitiesItem.js +5 -5
  258. package/lib/components/MenuItem/MenuEntitiesItem.js.map +1 -1
  259. package/lib/components/MenuItem/MenuItem.js.map +1 -1
  260. package/lib/components/MenuItem/MenuItemRender.js +9 -23
  261. package/lib/components/MenuItem/MenuItemRender.js.map +1 -1
  262. package/lib/components/MenuItem/helpers/index.js +0 -14
  263. package/lib/components/MenuItem/helpers/index.js.map +1 -1
  264. package/lib/components/MenuItem/helpers/inject-helper-into-template.js.map +1 -1
  265. package/lib/components/MenuItem/index.js.map +1 -1
  266. package/lib/components/Modal/Modal.js.map +1 -1
  267. package/lib/components/Modal/index.js.map +1 -1
  268. package/lib/components/ModalAdapter/ModalAdapter.js +1 -1
  269. package/lib/components/ModalAdapter/ModalAdapter.js.map +1 -1
  270. package/lib/components/ModalAdapter/index.js +5 -5
  271. package/lib/components/ModalAdapter/index.js.map +1 -1
  272. package/lib/components/SearchContent/SearchContent.js +4 -4
  273. package/lib/components/SearchContent/SearchContent.js.map +1 -1
  274. package/lib/components/SearchContent/SearchContentItems.js +1 -0
  275. package/lib/components/SearchContent/SearchContentItems.js.map +1 -1
  276. package/lib/components/SearchContent/SearchContentResults.js.map +1 -1
  277. package/lib/components/SearchContent/SearchContentToggleIcon.js.map +1 -1
  278. package/lib/components/SearchContent/constants.js.map +1 -1
  279. package/lib/components/SearchContent/index.js.map +1 -1
  280. package/lib/components/SearchFilter/SearchFilter/CloseMobileForm.js.map +1 -1
  281. package/lib/components/SearchFilter/SearchFilter/FiltersList.js +5 -5
  282. package/lib/components/SearchFilter/SearchFilter/FiltersList.js.map +1 -1
  283. package/lib/components/SearchFilter/SearchFilter/MobileFormToolbar.js.map +1 -1
  284. package/lib/components/SearchFilter/SearchFilter/ResetDesktopForm.js.map +1 -1
  285. package/lib/components/SearchFilter/SearchFilter/SearchFilter.js +4 -4
  286. package/lib/components/SearchFilter/SearchFilter/SearchFilter.js.map +1 -1
  287. package/lib/components/SearchFilter/SearchFilter/index.js.map +1 -1
  288. package/lib/components/SearchFilter/SearchFilterContainer.js +5 -6
  289. package/lib/components/SearchFilter/SearchFilterContainer.js.map +1 -1
  290. package/lib/components/SearchFilter/components/Checkbox.js +8 -8
  291. package/lib/components/SearchFilter/components/Checkbox.js.map +1 -1
  292. package/lib/components/SearchFilter/components/Range.js +4 -4
  293. package/lib/components/SearchFilter/components/Range.js.map +1 -1
  294. package/lib/components/SearchFilter/components/Select.js +3 -3
  295. package/lib/components/SearchFilter/components/Select.js.map +1 -1
  296. package/lib/components/SearchFilter/components/TextSearch.js.map +1 -1
  297. package/lib/components/SearchFilter/components/index.js.map +1 -1
  298. package/lib/components/SearchFilter/constants.js.map +1 -1
  299. package/lib/components/SearchFilter/helpers/build-list-name-query.js +3 -3
  300. package/lib/components/SearchFilter/helpers/build-list-name-query.js.map +1 -1
  301. package/lib/components/SearchFilter/helpers/build-new-url.js.map +1 -1
  302. package/lib/components/SearchFilter/helpers/build-url-query.js +3 -3
  303. package/lib/components/SearchFilter/helpers/build-url-query.js.map +1 -1
  304. package/lib/components/SearchFilter/helpers/calculate-min-max.js.map +1 -1
  305. package/lib/components/SearchFilter/helpers/calculate-step.js.map +1 -1
  306. package/lib/components/SearchFilter/helpers/check-if-range-updated.js.map +1 -1
  307. package/lib/components/SearchFilter/helpers/decode-encode.js.map +1 -1
  308. package/lib/components/SearchFilter/helpers/get-display-value.js +1 -1
  309. package/lib/components/SearchFilter/helpers/get-display-value.js.map +1 -1
  310. package/lib/components/SearchFilter/helpers/get-filter-ranges-and-checkboxes-values.js +2 -2
  311. package/lib/components/SearchFilter/helpers/get-filter-ranges-and-checkboxes-values.js.map +1 -1
  312. package/lib/components/SearchFilter/helpers/get-filter-value-from-query.js +1 -0
  313. package/lib/components/SearchFilter/helpers/get-filter-value-from-query.js.map +1 -1
  314. package/lib/components/SearchFilter/helpers/get-filter-values.js.map +1 -1
  315. package/lib/components/SearchFilter/helpers/get-initial-filter-values.js.map +1 -1
  316. package/lib/components/SearchFilter/helpers/get-intersected-prop.js.map +1 -1
  317. package/lib/components/SearchFilter/helpers/get-range-value.js.map +1 -1
  318. package/lib/components/SearchFilter/helpers/get-responsive-filter-classnames.js.map +1 -1
  319. package/lib/components/SearchFilter/helpers/get-select-options.js +1 -0
  320. package/lib/components/SearchFilter/helpers/get-select-options.js.map +1 -1
  321. package/lib/components/SearchFilter/helpers/get-updated-filter-by.js +2 -2
  322. package/lib/components/SearchFilter/helpers/get-updated-filter-by.js.map +1 -1
  323. package/lib/components/SearchFilter/helpers/index.js.map +1 -1
  324. package/lib/components/SearchFilter/helpers/is-device-desktop.js.map +1 -1
  325. package/lib/components/SearchFilter/helpers/parse-filter-value.js +1 -0
  326. package/lib/components/SearchFilter/helpers/parse-filter-value.js.map +1 -1
  327. package/lib/components/SearchFilter/index.js.map +1 -1
  328. package/lib/components/SearchFilter/searchFilterReducer.js +5 -5
  329. package/lib/components/SearchFilter/searchFilterReducer.js.map +1 -1
  330. package/lib/components/SearchFilterSort/SearchFilterSort.js +1 -0
  331. package/lib/components/SearchFilterSort/SearchFilterSort.js.map +1 -1
  332. package/lib/components/SearchFilterSort/constants.js.map +1 -1
  333. package/lib/components/SearchFilterSort/helpers/handle-sort-update.js +2 -2
  334. package/lib/components/SearchFilterSort/helpers/handle-sort-update.js.map +1 -1
  335. package/lib/components/SearchFilterSort/helpers/index.js.map +1 -1
  336. package/lib/components/SearchFilterSort/helpers/update-sort.js +5 -5
  337. package/lib/components/SearchFilterSort/helpers/update-sort.js.map +1 -1
  338. package/lib/components/SearchFilterSort/index.js.map +1 -1
  339. package/lib/components/SocialFollow/SFItem.js.map +1 -1
  340. package/lib/components/SocialFollow/SocialFollow.js.map +1 -1
  341. package/lib/components/SocialFollow/SocialFollowRender.js +1 -0
  342. package/lib/components/SocialFollow/SocialFollowRender.js.map +1 -1
  343. package/lib/components/SocialFollow/index.js.map +1 -1
  344. package/lib/components/SocialFollow/sf.config.js.map +1 -1
  345. package/lib/components/SubMenu/SubMenu.js.map +1 -1
  346. package/lib/components/SubMenu/index.js.map +1 -1
  347. package/lib/components/TextBlock/TextBlockRender.js.map +1 -1
  348. package/lib/components/TextBlock/index.js +5 -5
  349. package/lib/components/TextBlock/index.js.map +1 -1
  350. package/lib/components/Video/Video.js +5 -5
  351. package/lib/components/Video/Video.js.map +1 -1
  352. package/lib/components/Video/VideoContext.js.map +1 -1
  353. package/lib/components/Video/VideoModal.js +3 -3
  354. package/lib/components/Video/VideoModal.js.map +1 -1
  355. package/lib/components/Video/VideoRender.js +3 -3
  356. package/lib/components/Video/VideoRender.js.map +1 -1
  357. package/lib/components/Video/constants.js.map +1 -1
  358. package/lib/components/Video/helpers/emit-gtm-event.js.map +1 -1
  359. package/lib/components/Video/index.js.map +1 -1
  360. package/lib/components/Video/providers/Default.js.map +1 -1
  361. package/lib/components/Video/providers/JWPlayer/JWPlayerController.js +1 -2
  362. package/lib/components/Video/providers/JWPlayer/JWPlayerController.js.map +1 -1
  363. package/lib/components/Video/providers/JWPlayer/JWPlayerProvider.js +7 -7
  364. package/lib/components/Video/providers/JWPlayer/JWPlayerProvider.js.map +1 -1
  365. package/lib/components/Video/providers/Vimeo/VimeoProvider.js +4 -4
  366. package/lib/components/Video/providers/Vimeo/VimeoProvider.js.map +1 -1
  367. package/lib/components/Video/providers/Vimeo/helpers/add-extra-params-to-url.js +6 -6
  368. package/lib/components/Video/providers/Vimeo/helpers/add-extra-params-to-url.js.map +1 -1
  369. package/lib/components/Video/providers/Vimeo/helpers/index.js.map +1 -1
  370. package/lib/components/Video/providers/YouTube/YouTubeProvider.js.map +1 -1
  371. package/lib/components/Video/providers/YouTube/YoutubeEmbeded.js +3 -3
  372. package/lib/components/Video/providers/YouTube/YoutubeEmbeded.js.map +1 -1
  373. package/lib/components/Video/providers/YouTube/helpers/index.js +1 -1
  374. package/lib/components/Video/providers/YouTube/helpers/index.js.map +1 -1
  375. package/lib/components/Video/providers/get-provider.js +9 -9
  376. package/lib/components/Video/providers/get-provider.js.map +1 -1
  377. package/lib/components/Video/providers/index.js.map +1 -1
  378. package/lib/components/Wrapper.js +2 -2
  379. package/lib/components/Wrapper.js.map +1 -1
  380. package/lib/components/index.js +34 -34
  381. package/lib/components/index.js.map +1 -1
  382. package/lib/constants/componentsDefaultValues.js.map +1 -1
  383. package/lib/constants/index.js.map +1 -1
  384. package/lib/helpers/append-images.js +5 -5
  385. package/lib/helpers/append-images.js.map +1 -1
  386. package/lib/helpers/build-az-filter.js.map +1 -1
  387. package/lib/helpers/build-checkbox-filters.js.map +1 -1
  388. package/lib/helpers/build-filters-query.js +6 -6
  389. package/lib/helpers/build-filters-query.js.map +1 -1
  390. package/lib/helpers/build-image-properties.js.map +1 -1
  391. package/lib/helpers/build-inherited-filters.js +4 -4
  392. package/lib/helpers/build-inherited-filters.js.map +1 -1
  393. package/lib/helpers/build-link-extra-props.js.map +1 -1
  394. package/lib/helpers/build-props-query.js +9 -9
  395. package/lib/helpers/build-props-query.js.map +1 -1
  396. package/lib/helpers/build-query-fields.js +2 -1
  397. package/lib/helpers/build-query-fields.js.map +1 -1
  398. package/lib/helpers/build-query-key.js.map +1 -1
  399. package/lib/helpers/build-raw-query-base.js +9 -9
  400. package/lib/helpers/build-raw-query-base.js.map +1 -1
  401. package/lib/helpers/build-raw-query-stringified.js +2 -1
  402. package/lib/helpers/build-raw-query-stringified.js.map +1 -1
  403. package/lib/helpers/build-raw-query.js +5 -5
  404. package/lib/helpers/build-raw-query.js.map +1 -1
  405. package/lib/helpers/build-search-values-checkbox-select.js +8 -8
  406. package/lib/helpers/build-search-values-checkbox-select.js.map +1 -1
  407. package/lib/helpers/build-search-values-text.js.map +1 -1
  408. package/lib/helpers/build-set-filters.js +3 -3
  409. package/lib/helpers/build-set-filters.js.map +1 -1
  410. package/lib/helpers/build-sort-values.js +6 -6
  411. package/lib/helpers/build-sort-values.js.map +1 -1
  412. package/lib/helpers/check-for-error.js.map +1 -1
  413. package/lib/helpers/check-props-to-use.js +1 -0
  414. package/lib/helpers/check-props-to-use.js.map +1 -1
  415. package/lib/helpers/entities/constants.js.map +1 -1
  416. package/lib/helpers/filter-query-setup.js +5 -5
  417. package/lib/helpers/filter-query-setup.js.map +1 -1
  418. package/lib/helpers/filters-setup.js.map +1 -1
  419. package/lib/helpers/get-banner-data.js +5 -5
  420. package/lib/helpers/get-banner-data.js.map +1 -1
  421. package/lib/helpers/get-checkbox-filters.js.map +1 -1
  422. package/lib/helpers/get-click-wrapper-options.js +6 -6
  423. package/lib/helpers/get-click-wrapper-options.js.map +1 -1
  424. package/lib/helpers/get-current-offset.js +4 -5
  425. package/lib/helpers/get-current-offset.js.map +1 -1
  426. package/lib/helpers/get-dictionary-match.js.map +1 -1
  427. package/lib/helpers/get-display-count-data.js.map +1 -1
  428. package/lib/helpers/get-elasticsearch-operator.js.map +1 -1
  429. package/lib/helpers/get-entities-with-banner.js +5 -5
  430. package/lib/helpers/get-entities-with-banner.js.map +1 -1
  431. package/lib/helpers/get-entity-data.js.map +1 -1
  432. package/lib/helpers/get-entity-render-props.js.map +1 -1
  433. package/lib/helpers/get-extra-az-bits.js.map +1 -1
  434. package/lib/helpers/get-filter-props.js.map +1 -1
  435. package/lib/helpers/get-filter-relation-keys.js +1 -1
  436. package/lib/helpers/get-filter-relation-keys.js.map +1 -1
  437. package/lib/helpers/get-generic-props.js +5 -5
  438. package/lib/helpers/get-generic-props.js.map +1 -1
  439. package/lib/helpers/get-generic-render-variables.js +7 -6
  440. package/lib/helpers/get-generic-render-variables.js.map +1 -1
  441. package/lib/helpers/get-image-ids.js +2 -2
  442. package/lib/helpers/get-image-ids.js.map +1 -1
  443. package/lib/helpers/get-inherited-filters.js +2 -2
  444. package/lib/helpers/get-inherited-filters.js.map +1 -1
  445. package/lib/helpers/get-items-to-display-ids.js +2 -2
  446. package/lib/helpers/get-items-to-display-ids.js.map +1 -1
  447. package/lib/helpers/get-modifiers.js +3 -3
  448. package/lib/helpers/get-modifiers.js.map +1 -1
  449. package/lib/helpers/get-not-equal-query.js.map +1 -1
  450. package/lib/helpers/get-pagination-index.js.map +1 -1
  451. package/lib/helpers/get-parsed-prop-values.js +3 -3
  452. package/lib/helpers/get-parsed-prop-values.js.map +1 -1
  453. package/lib/helpers/get-parsed-summary-value.js.map +1 -1
  454. package/lib/helpers/get-prop-values.js +2 -2
  455. package/lib/helpers/get-prop-values.js.map +1 -1
  456. package/lib/helpers/get-query-filters.js.map +1 -1
  457. package/lib/helpers/get-query-props.js +3 -3
  458. package/lib/helpers/get-query-props.js.map +1 -1
  459. package/lib/helpers/get-required-schemas.js +3 -3
  460. package/lib/helpers/get-required-schemas.js.map +1 -1
  461. package/lib/helpers/get-sanitized-prop-values.js.map +1 -1
  462. package/lib/helpers/get-search-filter-type.js.map +1 -1
  463. package/lib/helpers/get-sort-by-field-name.js +4 -4
  464. package/lib/helpers/get-sort-by-field-name.js.map +1 -1
  465. package/lib/helpers/get-unpublished-entity-name.js +1 -1
  466. package/lib/helpers/get-unpublished-entity-name.js.map +1 -1
  467. package/lib/helpers/get-updated-filter-by.js.map +1 -1
  468. package/lib/helpers/get-updated-items-to-display.js +3 -3
  469. package/lib/helpers/get-updated-items-to-display.js.map +1 -1
  470. package/lib/helpers/get-updated-sort-properties.js +2 -2
  471. package/lib/helpers/get-updated-sort-properties.js.map +1 -1
  472. package/lib/helpers/get-wrapped-value-with-link.js +2 -1
  473. package/lib/helpers/get-wrapped-value-with-link.js.map +1 -1
  474. package/lib/helpers/group-entities.js +1 -1
  475. package/lib/helpers/group-entities.js.map +1 -1
  476. package/lib/helpers/has-children.js.map +1 -1
  477. package/lib/helpers/index.js.map +1 -1
  478. package/lib/helpers/inject-banner.js.map +1 -1
  479. package/lib/helpers/inject-banners-to-entities.js.map +1 -1
  480. package/lib/helpers/inject-multiple-banners/get-banners-for-entities/get-banners-for-entities.js +1 -0
  481. package/lib/helpers/inject-multiple-banners/get-banners-for-entities/get-banners-for-entities.js.map +1 -1
  482. package/lib/helpers/inject-multiple-banners/get-banners-for-entities/index.js.map +1 -1
  483. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/get-banners-for-nodes.js +6 -6
  484. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/get-banners-for-nodes.js.map +1 -1
  485. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/group-node-entities.js +3 -3
  486. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/group-node-entities.js.map +1 -1
  487. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/index.js.map +1 -1
  488. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/index.js.map +1 -1
  489. package/lib/helpers/inject-multiple-banners/index.js.map +1 -1
  490. package/lib/helpers/inject-multiple-banners/inject-multiple-banners.js.map +1 -1
  491. package/lib/helpers/is-browser.js.map +1 -1
  492. package/lib/helpers/is-filter-entitys-id.js +1 -1
  493. package/lib/helpers/is-filter-entitys-id.js.map +1 -1
  494. package/lib/helpers/is-object.js.map +1 -1
  495. package/lib/helpers/is-using-relation-image.js.map +1 -1
  496. package/lib/helpers/parse-TextBlock.js +3 -3
  497. package/lib/helpers/parse-TextBlock.js.map +1 -1
  498. package/lib/helpers/parse-interval.js.map +1 -1
  499. package/lib/helpers/parse-props-to-display.js +5 -5
  500. package/lib/helpers/parse-props-to-display.js.map +1 -1
  501. package/lib/helpers/process-data-summary-value.js +9 -10
  502. package/lib/helpers/process-data-summary-value.js.map +1 -1
  503. package/lib/helpers/remove-extra-items.js.map +1 -1
  504. package/lib/helpers/remove-unwanted-characters.js +6 -6
  505. package/lib/helpers/remove-unwanted-characters.js.map +1 -1
  506. package/lib/helpers/render-children.js +8 -8
  507. package/lib/helpers/render-children.js.map +1 -1
  508. package/lib/helpers/should-render-waypoint.js.map +1 -1
  509. package/lib/helpers/should-return.js.map +1 -1
  510. package/lib/helpers/should-show-property.js.map +1 -1
  511. package/lib/helpers/should-skip-single-query.js.map +1 -1
  512. package/lib/helpers/sort-response-data.js +2 -2
  513. package/lib/helpers/sort-response-data.js.map +1 -1
  514. package/lib/helpers/split-children.js +5 -5
  515. package/lib/helpers/split-children.js.map +1 -1
  516. package/lib/helpers/update-childrens-parent.js +3 -3
  517. package/lib/helpers/update-childrens-parent.js.map +1 -1
  518. package/lib/hooks/helpers/RenderComponent.js +1 -1
  519. package/lib/hooks/helpers/RenderComponent.js.map +1 -1
  520. package/lib/hooks/helpers/StoreImages.js +5 -6
  521. package/lib/hooks/helpers/StoreImages.js.map +1 -1
  522. package/lib/hooks/helpers/append-gtm-classname.js +7 -7
  523. package/lib/hooks/helpers/append-gtm-classname.js.map +1 -1
  524. package/lib/hooks/helpers/buildPBComponents.js +7 -7
  525. package/lib/hooks/helpers/buildPBComponents.js.map +1 -1
  526. package/lib/hooks/helpers/check-banner-insertion-set.js.map +1 -1
  527. package/lib/hooks/helpers/check-collisions.js +3 -3
  528. package/lib/hooks/helpers/check-collisions.js.map +1 -1
  529. package/lib/hooks/helpers/constants.js.map +1 -1
  530. package/lib/hooks/helpers/get-banner-index.js.map +1 -1
  531. package/lib/hooks/helpers/get-components-to-insert-by-type.js.map +1 -1
  532. package/lib/hooks/helpers/get-lightbox-images.js +14 -14
  533. package/lib/hooks/helpers/get-lightbox-images.js.map +1 -1
  534. package/lib/hooks/helpers/getComponent.js.map +1 -1
  535. package/lib/hooks/helpers/getVariant.js.map +1 -1
  536. package/lib/hooks/helpers/index.js.map +1 -1
  537. package/lib/hooks/helpers/inject-element-components.js +4 -4
  538. package/lib/hooks/helpers/inject-element-components.js.map +1 -1
  539. package/lib/hooks/helpers/inject-textblock-banners.js +8 -8
  540. package/lib/hooks/helpers/inject-textblock-banners.js.map +1 -1
  541. package/lib/hooks/helpers/insert-banners.js +9 -9
  542. package/lib/hooks/helpers/insert-banners.js.map +1 -1
  543. package/lib/hooks/helpers/update-targetings.js.map +1 -1
  544. package/lib/hooks/index.js.map +1 -1
  545. package/lib/hooks/use-app-sync-event-hook.js.map +1 -1
  546. package/lib/hooks/use-banner-insertion.js +1 -1
  547. package/lib/hooks/use-banner-insertion.js.map +1 -1
  548. package/lib/hooks/use-check-mobile-screen.js.map +1 -1
  549. package/lib/hooks/use-filter-aggregation-values.js +5 -5
  550. package/lib/hooks/use-filter-aggregation-values.js.map +1 -1
  551. package/lib/hooks/use-get-entity-schema.js.map +1 -1
  552. package/lib/hooks/use-get-entity-schemas-as-obj.js +1 -1
  553. package/lib/hooks/use-get-entity-schemas-as-obj.js.map +1 -1
  554. package/lib/hooks/use-get-image-id-from-relation.js +1 -1
  555. package/lib/hooks/use-get-image-id-from-relation.js.map +1 -1
  556. package/lib/hooks/use-get-images.js.map +1 -1
  557. package/lib/hooks/use-get-single-entity-schema.js.map +1 -1
  558. package/lib/hooks/use-page-builder.js +2 -2
  559. package/lib/hooks/use-page-builder.js.map +1 -1
  560. package/lib/hooks/use-portal.js +3 -3
  561. package/lib/hooks/use-portal.js.map +1 -1
  562. package/lib/index.js.map +1 -1
  563. package/lib/utils/component-map.js +1 -1
  564. package/lib/utils/component-map.js.map +1 -1
  565. package/lib/utils/get-class-modifiers.js +7 -7
  566. package/lib/utils/get-class-modifiers.js.map +1 -1
  567. package/lib/utils/get-image-data.js.map +1 -1
  568. package/lib/utils/get-props-to-display-modifiers.js +1 -0
  569. package/lib/utils/get-props-to-display-modifiers.js.map +1 -1
  570. package/lib/utils/index.js.map +1 -1
  571. package/lib/utils/is-object-empty.js.map +1 -1
  572. package/lib/utils/variant-handler.js +1 -1
  573. package/lib/utils/variant-handler.js.map +1 -1
  574. package/lib/variants/FloatingSideButton/index.js +5 -5
  575. package/lib/variants/FloatingSideButton/index.js.map +1 -1
  576. package/lib/variants/HeroImage/index.js +5 -5
  577. package/lib/variants/HeroImage/index.js.map +1 -1
  578. package/lib/variants/Infographic/Infographic.js.map +1 -1
  579. package/lib/variants/Infographic/index.js +7 -7
  580. package/lib/variants/Infographic/index.js.map +1 -1
  581. package/lib/variants/Infographic/useInfographic.js +5 -5
  582. package/lib/variants/Infographic/useInfographic.js.map +1 -1
  583. package/lib/variants/LongformGallery/LongformGallery.js +1 -0
  584. package/lib/variants/LongformGallery/LongformGallery.js.map +1 -1
  585. package/lib/variants/LongformGallery/LongformGalleryImage.js.map +1 -1
  586. package/lib/variants/LongformGallery/constants.js.map +1 -1
  587. package/lib/variants/LongformGallery/helpers/index.js.map +1 -1
  588. package/lib/variants/LongformGallery/helpers/parseImageData.js +3 -3
  589. package/lib/variants/LongformGallery/helpers/parseImageData.js.map +1 -1
  590. package/lib/variants/LongformGallery/helpers/separateImages.js.map +1 -1
  591. package/lib/variants/LongformGallery/helpers/shouldSkip.js.map +1 -1
  592. package/lib/variants/LongformGallery/index.js +8 -8
  593. package/lib/variants/LongformGallery/index.js.map +1 -1
  594. package/lib/variants/LongformGallery/useLongformGallery.js.map +1 -1
  595. package/lib/variants/LongformRow/index.js +5 -5
  596. package/lib/variants/LongformRow/index.js.map +1 -1
  597. package/lib/variants/ParallaxImageTextRight/index.js +5 -5
  598. package/lib/variants/ParallaxImageTextRight/index.js.map +1 -1
  599. package/lib/variants/SlideSummary/SlideSummary.js.map +1 -1
  600. package/lib/variants/SlideSummary/index.js +7 -7
  601. package/lib/variants/SlideSummary/index.js.map +1 -1
  602. package/lib/variants/ThumbnailCarousel/ThumbnailCarousel.js +1 -0
  603. package/lib/variants/ThumbnailCarousel/ThumbnailCarousel.js.map +1 -1
  604. package/lib/variants/ThumbnailCarousel/ThumbnailImage/ThumbnailImage.js.map +1 -1
  605. package/lib/variants/ThumbnailCarousel/ThumbnailImage/index.js.map +1 -1
  606. package/lib/variants/ThumbnailCarousel/ThumbnailImage/useThumbnailImage.js.map +1 -1
  607. package/lib/variants/ThumbnailCarousel/index.js +7 -7
  608. package/lib/variants/ThumbnailCarousel/index.js.map +1 -1
  609. package/lib/variants/ThumbnailCarousel/useThumbnailCarousel.js +5 -5
  610. package/lib/variants/ThumbnailCarousel/useThumbnailCarousel.js.map +1 -1
  611. package/lib/variants/index.js.map +1 -1
  612. package/lib-es/BannerContext/helpers/index.js.map +1 -1
  613. package/lib-es/BannerContext/helpers/set-initial-banner-counters.js.map +1 -1
  614. package/lib-es/BannerContext/index.js.map +1 -1
  615. package/lib-es/HOC/index.js.map +1 -1
  616. package/lib-es/HOC/recreateOnNavigation.js.map +1 -1
  617. package/lib-es/HOC/withInfiniteScroll.js.map +1 -1
  618. package/lib-es/HOC/withTitle.js.map +1 -1
  619. package/lib-es/PBContext/index.js.map +1 -1
  620. package/lib-es/application/query/index.js.map +1 -1
  621. package/lib-es/components/BackToTop/BackToTop.js.map +1 -1
  622. package/lib-es/components/BackToTop/index.js.map +1 -1
  623. package/lib-es/components/Banner/AdSlotRender.js.map +1 -1
  624. package/lib-es/components/Banner/Banner.js.map +1 -1
  625. package/lib-es/components/Banner/BannerRender.js.map +1 -1
  626. package/lib-es/components/Banner/helpers.js.map +1 -1
  627. package/lib-es/components/Banner/index.js +1 -1
  628. package/lib-es/components/Banner/index.js.map +1 -1
  629. package/lib-es/components/BlazeLink.js.map +1 -1
  630. package/lib-es/components/Breadcrumb/Breadcrumb.js.map +1 -1
  631. package/lib-es/components/Breadcrumb/index.js.map +1 -1
  632. package/lib-es/components/Button.js.map +1 -1
  633. package/lib-es/components/Card/Card.js.map +1 -1
  634. package/lib-es/components/Card/CardsContainer.js.map +1 -1
  635. package/lib-es/components/Card/CardsFactory.js.map +1 -1
  636. package/lib-es/components/Card/CardsRender.js.map +1 -1
  637. package/lib-es/components/Card/constants.js.map +1 -1
  638. package/lib-es/components/Card/helpers/get-dynamic-grid-classes.js.map +1 -1
  639. package/lib-es/components/Card/helpers/get-published-listing-url.js.map +1 -1
  640. package/lib-es/components/Card/helpers/index.js.map +1 -1
  641. package/lib-es/components/Card/helpers/use-dynamic-size-key.js.map +1 -1
  642. package/lib-es/components/Card/index.js.map +1 -1
  643. package/lib-es/components/Carousel/Carousel.js.map +1 -1
  644. package/lib-es/components/Carousel/CarouselImage/CarouselImage.js.map +1 -1
  645. package/lib-es/components/Carousel/CarouselImage/constants.js.map +1 -1
  646. package/lib-es/components/Carousel/CarouselImage/index.js.map +1 -1
  647. package/lib-es/components/Carousel/CarouselRender/CarouselRender.js.map +1 -1
  648. package/lib-es/components/Carousel/CarouselRender/index.js.map +1 -1
  649. package/lib-es/components/Carousel/hooks/useCarouselNavigation.js.map +1 -1
  650. package/lib-es/components/Carousel/index.js.map +1 -1
  651. package/lib-es/components/CarouselWrapper/CarouselWrapper.js.map +1 -1
  652. package/lib-es/components/CarouselWrapper/DefaultCarousel.js.map +1 -1
  653. package/lib-es/components/CarouselWrapper/SmoothScrollCarousel.js.map +1 -1
  654. package/lib-es/components/CarouselWrapper/index.js.map +1 -1
  655. package/lib-es/components/ClickWrapper.js.map +1 -1
  656. package/lib-es/components/Code/Code.js.map +1 -1
  657. package/lib-es/components/Code/ScriptTag.js.map +1 -1
  658. package/lib-es/components/Code/helpers/index.js.map +1 -1
  659. package/lib-es/components/Code/helpers/wrap-script-tags.js.map +1 -1
  660. package/lib-es/components/Code/index.js.map +1 -1
  661. package/lib-es/components/ContentGroup/ContentGroup.js.map +1 -1
  662. package/lib-es/components/ContentGroup/ContentGroupTabs.js.map +1 -1
  663. package/lib-es/components/ContentGroup/constants.js.map +1 -1
  664. package/lib-es/components/ContentGroup/helpers/get-active-tab.js.map +1 -1
  665. package/lib-es/components/ContentGroup/helpers/get-sections-data.js.map +1 -1
  666. package/lib-es/components/ContentGroup/helpers/index.js.map +1 -1
  667. package/lib-es/components/ContentGroup/index.js.map +1 -1
  668. package/lib-es/components/ContentGroupSection/ContentGroupSection.js.map +1 -1
  669. package/lib-es/components/ContentGroupSection/index.js.map +1 -1
  670. package/lib-es/components/DataSummary/DataSummaryFactory.js.map +1 -1
  671. package/lib-es/components/DataSummary/DataSummaryRender.js.map +1 -1
  672. package/lib-es/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummary.js.map +1 -1
  673. package/lib-es/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummaryContent.js.map +1 -1
  674. package/lib-es/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/index.js.map +1 -1
  675. package/lib-es/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummary.js.map +1 -1
  676. package/lib-es/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummaryContent.js.map +1 -1
  677. package/lib-es/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/index.js.map +1 -1
  678. package/lib-es/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummary.js.map +1 -1
  679. package/lib-es/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummaryContent.js.map +1 -1
  680. package/lib-es/components/DataSummary/DataSummaryTypes/LargeSummary/index.js.map +1 -1
  681. package/lib-es/components/DataSummary/DataSummaryTypes/ListSummary/ListSummary.js.map +1 -1
  682. package/lib-es/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.js.map +1 -1
  683. package/lib-es/components/DataSummary/DataSummaryTypes/ListSummary/index.js.map +1 -1
  684. package/lib-es/components/DataSummary/DataSummaryTypes/TextSummary/TextSummary.js.map +1 -1
  685. package/lib-es/components/DataSummary/DataSummaryTypes/TextSummary/TextSummaryContent.js.map +1 -1
  686. package/lib-es/components/DataSummary/DataSummaryTypes/TextSummary/index.js.map +1 -1
  687. package/lib-es/components/DataSummary/DataSummaryTypes/index.js +5 -5
  688. package/lib-es/components/DataSummary/DataSummaryTypes/index.js.map +1 -1
  689. package/lib-es/components/DataSummary/helpers/build-loop-props-content.js.map +1 -1
  690. package/lib-es/components/DataSummary/helpers/build-props-to-display-with-content.js.map +1 -1
  691. package/lib-es/components/DataSummary/helpers/get-data-summary-query.js.map +1 -1
  692. package/lib-es/components/DataSummary/helpers/get-link-based-on-value.js.map +1 -1
  693. package/lib-es/components/DataSummary/helpers/get-link-props.js.map +1 -1
  694. package/lib-es/components/DataSummary/helpers/get-link-to-published-content.js.map +1 -1
  695. package/lib-es/components/DataSummary/helpers/get-loop-props-limit.js.map +1 -1
  696. package/lib-es/components/DataSummary/helpers/get-prop-value.js.map +1 -1
  697. package/lib-es/components/DataSummary/helpers/get-value-from-array.js.map +1 -1
  698. package/lib-es/components/DataSummary/helpers/index.js.map +1 -1
  699. package/lib-es/components/DataSummary/helpers/parse-boolean-values.js.map +1 -1
  700. package/lib-es/components/DataSummary/helpers/strip-summary-props-content.js.map +1 -1
  701. package/lib-es/components/DataSummary/index.js.map +1 -1
  702. package/lib-es/components/DateTime/DateTime.js +4 -4
  703. package/lib-es/components/DateTime/DateTime.js.map +1 -1
  704. package/lib-es/components/DateTime/index.js.map +1 -1
  705. package/lib-es/components/EmailConfirm/EmailConfirm.js +4 -4
  706. package/lib-es/components/EmailConfirm/EmailConfirm.js.map +1 -1
  707. package/lib-es/components/EmailConfirm/index.js.map +1 -1
  708. package/lib-es/components/EmailConfirm/mutation.js.map +1 -1
  709. package/lib-es/components/Iframe/Iframe.js.map +1 -1
  710. package/lib-es/components/Iframe/constants.js.map +1 -1
  711. package/lib-es/components/Iframe/index.js.map +1 -1
  712. package/lib-es/components/Image/GlobalLightbox/GlobalLightbox.js +3 -3
  713. package/lib-es/components/Image/GlobalLightbox/GlobalLightbox.js.map +1 -1
  714. package/lib-es/components/Image/GlobalLightbox/NavButton.js.map +1 -1
  715. package/lib-es/components/Image/GlobalLightbox/index.js +1 -1
  716. package/lib-es/components/Image/GlobalLightbox/index.js.map +1 -1
  717. package/lib-es/components/Image/Image.js.map +1 -1
  718. package/lib-es/components/Image/ImageDetails.js.map +1 -1
  719. package/lib-es/components/Image/ImageFactory.js.map +1 -1
  720. package/lib-es/components/Image/ImageRender.js.map +1 -1
  721. package/lib-es/components/Image/Lightbox/Lightbox.js.map +1 -1
  722. package/lib-es/components/Image/Lightbox/index.js.map +1 -1
  723. package/lib-es/components/Image/index.js.map +1 -1
  724. package/lib-es/components/ItemList/ItemListButton/ItemListButton.js.map +1 -1
  725. package/lib-es/components/ItemList/ItemListButton/index.js.map +1 -1
  726. package/lib-es/components/ItemList/ItemListCounter/ItemListCounter.js.map +1 -1
  727. package/lib-es/components/ItemList/ItemListCounter/index.js.map +1 -1
  728. package/lib-es/components/ItemList/ItemListNew/ItemListNew.js.map +1 -1
  729. package/lib-es/components/ItemList/ItemListNew/index.js.map +1 -1
  730. package/lib-es/components/ItemList/constants.js.map +1 -1
  731. package/lib-es/components/ItemList/helpers/get-item-list-data.js.map +1 -1
  732. package/lib-es/components/ItemList/helpers/get-item-list-id.js.map +1 -1
  733. package/lib-es/components/ItemList/helpers/get-item-list-ids.js.map +1 -1
  734. package/lib-es/components/ItemList/helpers/index.js.map +1 -1
  735. package/lib-es/components/ItemList/helpers/set-item-list-id.js.map +1 -1
  736. package/lib-es/components/ItemList/helpers/set-param-and-redirect.js.map +1 -1
  737. package/lib-es/components/ItemList/hooks/index.js.map +1 -1
  738. package/lib-es/components/ItemList/hooks/use-item-list-id.js.map +1 -1
  739. package/lib-es/components/Layout/Layout.js.map +1 -1
  740. package/lib-es/components/Layout/LayoutFactory.js +1 -1
  741. package/lib-es/components/Layout/LayoutFactory.js.map +1 -1
  742. package/lib-es/components/Layout/LayoutWithStickyTimer.js.map +1 -1
  743. package/lib-es/components/Layout/constants.js.map +1 -1
  744. package/lib-es/components/Layout/helpers/check-if-row-has-columns.js.map +1 -1
  745. package/lib-es/components/Layout/helpers/get-styles-to-update.js.map +1 -1
  746. package/lib-es/components/Layout/helpers/index.js.map +1 -1
  747. package/lib-es/components/Layout/index.js.map +1 -1
  748. package/lib-es/components/LazyImage/LazyImage.js.map +1 -1
  749. package/lib-es/components/LazyImage/index.js +1 -1
  750. package/lib-es/components/LazyImage/index.js.map +1 -1
  751. package/lib-es/components/List/ListBuilder.js.map +1 -1
  752. package/lib-es/components/List/ListFactory.js.map +1 -1
  753. package/lib-es/components/List/ListRender.js.map +1 -1
  754. package/lib-es/components/List/components/Cards/CardRenderWithInfiniteScroll.js.map +1 -1
  755. package/lib-es/components/List/components/Cards/CardsRender.js.map +1 -1
  756. package/lib-es/components/List/components/Cards/CardsRenderItem.js.map +1 -1
  757. package/lib-es/components/List/components/Cards/CardsRenderWrapper.js.map +1 -1
  758. package/lib-es/components/List/components/Cards/index.js.map +1 -1
  759. package/lib-es/components/List/components/Full/FullRender.js.map +1 -1
  760. package/lib-es/components/List/components/Full/FullRenderItem.js.map +1 -1
  761. package/lib-es/components/List/components/Full/FullRenderWithInfiniteScroll.js.map +1 -1
  762. package/lib-es/components/List/components/Full/index.js.map +1 -1
  763. package/lib-es/components/List/components/Header/ListHeader.js.map +1 -1
  764. package/lib-es/components/List/components/Header/index.js.map +1 -1
  765. package/lib-es/components/List/components/Pagination/Classic.js.map +1 -1
  766. package/lib-es/components/List/components/Pagination/ListPagination.js.map +1 -1
  767. package/lib-es/components/List/components/Pagination/LoadMore.js +2 -2
  768. package/lib-es/components/List/components/Pagination/LoadMore.js.map +1 -1
  769. package/lib-es/components/List/components/Pagination/index.js.map +1 -1
  770. package/lib-es/components/List/components/helpers/check-if-should-render-banner.js.map +1 -1
  771. package/lib-es/components/List/components/helpers/check-if-should-render-gtm.js.map +1 -1
  772. package/lib-es/components/List/components/helpers/index.js.map +1 -1
  773. package/lib-es/components/List/components/index.js.map +1 -1
  774. package/lib-es/components/List/constants.js.map +1 -1
  775. package/lib-es/components/List/helpers/build-az-aggregations.js.map +1 -1
  776. package/lib-es/components/List/helpers/build-az-url.js.map +1 -1
  777. package/lib-es/components/List/helpers/build-pagination-items.js.map +1 -1
  778. package/lib-es/components/List/helpers/build-pagination-url.js.map +1 -1
  779. package/lib-es/components/List/helpers/build-query-booster.js.map +1 -1
  780. package/lib-es/components/List/helpers/get-az-query-filter.js.map +1 -1
  781. package/lib-es/components/List/helpers/get-items-per-page-to-use.js.map +1 -1
  782. package/lib-es/components/List/helpers/get-list-component.js.map +1 -1
  783. package/lib-es/components/List/helpers/get-list-query.js.map +1 -1
  784. package/lib-es/components/List/helpers/get-list-specific-search-filter.js.map +1 -1
  785. package/lib-es/components/List/helpers/get-sort-props.js.map +1 -1
  786. package/lib-es/components/List/helpers/has-required-item-list-details.js.map +1 -1
  787. package/lib-es/components/List/helpers/index.js.map +1 -1
  788. package/lib-es/components/List/helpers/sort-aggs.js.map +1 -1
  789. package/lib-es/components/List/helpers/strip-query-key.js.map +1 -1
  790. package/lib-es/components/List/index.js.map +1 -1
  791. package/lib-es/components/Loading/Loading.js.map +1 -1
  792. package/lib-es/components/Loading/constants.js.map +1 -1
  793. package/lib-es/components/Loading/helpers.js.map +1 -1
  794. package/lib-es/components/Loading/index.js.map +1 -1
  795. package/lib-es/components/Menu/Menu.js +1 -4
  796. package/lib-es/components/Menu/Menu.js.map +1 -1
  797. package/lib-es/components/Menu/MenuContext.js +1 -2
  798. package/lib-es/components/Menu/MenuContext.js.map +1 -1
  799. package/lib-es/components/Menu/index.js.map +1 -1
  800. package/lib-es/components/MenuItem/MenuEntitiesItem.js.map +1 -1
  801. package/lib-es/components/MenuItem/MenuItem.js.map +1 -1
  802. package/lib-es/components/MenuItem/MenuItemRender.js +7 -20
  803. package/lib-es/components/MenuItem/MenuItemRender.js.map +1 -1
  804. package/lib-es/components/MenuItem/helpers/index.js +1 -3
  805. package/lib-es/components/MenuItem/helpers/index.js.map +1 -1
  806. package/lib-es/components/MenuItem/helpers/inject-helper-into-template.js.map +1 -1
  807. package/lib-es/components/MenuItem/index.js.map +1 -1
  808. package/lib-es/components/Modal/Modal.js.map +1 -1
  809. package/lib-es/components/Modal/index.js.map +1 -1
  810. package/lib-es/components/ModalAdapter/ModalAdapter.js +1 -1
  811. package/lib-es/components/ModalAdapter/ModalAdapter.js.map +1 -1
  812. package/lib-es/components/ModalAdapter/index.js +1 -1
  813. package/lib-es/components/ModalAdapter/index.js.map +1 -1
  814. package/lib-es/components/SearchContent/SearchContent.js.map +1 -1
  815. package/lib-es/components/SearchContent/SearchContentItems.js.map +1 -1
  816. package/lib-es/components/SearchContent/SearchContentResults.js.map +1 -1
  817. package/lib-es/components/SearchContent/SearchContentToggleIcon.js.map +1 -1
  818. package/lib-es/components/SearchContent/constants.js.map +1 -1
  819. package/lib-es/components/SearchContent/index.js.map +1 -1
  820. package/lib-es/components/SearchFilter/SearchFilter/CloseMobileForm.js.map +1 -1
  821. package/lib-es/components/SearchFilter/SearchFilter/FiltersList.js.map +1 -1
  822. package/lib-es/components/SearchFilter/SearchFilter/MobileFormToolbar.js.map +1 -1
  823. package/lib-es/components/SearchFilter/SearchFilter/ResetDesktopForm.js.map +1 -1
  824. package/lib-es/components/SearchFilter/SearchFilter/SearchFilter.js.map +1 -1
  825. package/lib-es/components/SearchFilter/SearchFilter/index.js.map +1 -1
  826. package/lib-es/components/SearchFilter/SearchFilterContainer.js.map +1 -1
  827. package/lib-es/components/SearchFilter/components/Checkbox.js.map +1 -1
  828. package/lib-es/components/SearchFilter/components/Range.js.map +1 -1
  829. package/lib-es/components/SearchFilter/components/Select.js.map +1 -1
  830. package/lib-es/components/SearchFilter/components/TextSearch.js.map +1 -1
  831. package/lib-es/components/SearchFilter/components/index.js.map +1 -1
  832. package/lib-es/components/SearchFilter/constants.js.map +1 -1
  833. package/lib-es/components/SearchFilter/helpers/build-list-name-query.js.map +1 -1
  834. package/lib-es/components/SearchFilter/helpers/build-new-url.js.map +1 -1
  835. package/lib-es/components/SearchFilter/helpers/build-url-query.js.map +1 -1
  836. package/lib-es/components/SearchFilter/helpers/calculate-min-max.js.map +1 -1
  837. package/lib-es/components/SearchFilter/helpers/calculate-step.js.map +1 -1
  838. package/lib-es/components/SearchFilter/helpers/check-if-range-updated.js.map +1 -1
  839. package/lib-es/components/SearchFilter/helpers/decode-encode.js.map +1 -1
  840. package/lib-es/components/SearchFilter/helpers/get-display-value.js.map +1 -1
  841. package/lib-es/components/SearchFilter/helpers/get-filter-ranges-and-checkboxes-values.js.map +1 -1
  842. package/lib-es/components/SearchFilter/helpers/get-filter-value-from-query.js.map +1 -1
  843. package/lib-es/components/SearchFilter/helpers/get-filter-values.js.map +1 -1
  844. package/lib-es/components/SearchFilter/helpers/get-initial-filter-values.js.map +1 -1
  845. package/lib-es/components/SearchFilter/helpers/get-intersected-prop.js.map +1 -1
  846. package/lib-es/components/SearchFilter/helpers/get-range-value.js.map +1 -1
  847. package/lib-es/components/SearchFilter/helpers/get-responsive-filter-classnames.js.map +1 -1
  848. package/lib-es/components/SearchFilter/helpers/get-select-options.js.map +1 -1
  849. package/lib-es/components/SearchFilter/helpers/get-updated-filter-by.js.map +1 -1
  850. package/lib-es/components/SearchFilter/helpers/index.js.map +1 -1
  851. package/lib-es/components/SearchFilter/helpers/is-device-desktop.js.map +1 -1
  852. package/lib-es/components/SearchFilter/helpers/parse-filter-value.js.map +1 -1
  853. package/lib-es/components/SearchFilter/index.js.map +1 -1
  854. package/lib-es/components/SearchFilter/searchFilterReducer.js.map +1 -1
  855. package/lib-es/components/SearchFilterSort/SearchFilterSort.js.map +1 -1
  856. package/lib-es/components/SearchFilterSort/constants.js.map +1 -1
  857. package/lib-es/components/SearchFilterSort/helpers/handle-sort-update.js.map +1 -1
  858. package/lib-es/components/SearchFilterSort/helpers/index.js.map +1 -1
  859. package/lib-es/components/SearchFilterSort/helpers/update-sort.js.map +1 -1
  860. package/lib-es/components/SearchFilterSort/index.js.map +1 -1
  861. package/lib-es/components/SocialFollow/SFItem.js.map +1 -1
  862. package/lib-es/components/SocialFollow/SocialFollow.js.map +1 -1
  863. package/lib-es/components/SocialFollow/SocialFollowRender.js.map +1 -1
  864. package/lib-es/components/SocialFollow/index.js.map +1 -1
  865. package/lib-es/components/SocialFollow/sf.config.js.map +1 -1
  866. package/lib-es/components/SubMenu/SubMenu.js.map +1 -1
  867. package/lib-es/components/SubMenu/index.js.map +1 -1
  868. package/lib-es/components/TextBlock/TextBlockRender.js.map +1 -1
  869. package/lib-es/components/TextBlock/index.js.map +1 -1
  870. package/lib-es/components/Video/Video.js.map +1 -1
  871. package/lib-es/components/Video/VideoContext.js.map +1 -1
  872. package/lib-es/components/Video/VideoModal.js.map +1 -1
  873. package/lib-es/components/Video/VideoRender.js.map +1 -1
  874. package/lib-es/components/Video/constants.js.map +1 -1
  875. package/lib-es/components/Video/helpers/emit-gtm-event.js.map +1 -1
  876. package/lib-es/components/Video/index.js.map +1 -1
  877. package/lib-es/components/Video/providers/Default.js.map +1 -1
  878. package/lib-es/components/Video/providers/JWPlayer/JWPlayerController.js.map +1 -1
  879. package/lib-es/components/Video/providers/JWPlayer/JWPlayerProvider.js.map +1 -1
  880. package/lib-es/components/Video/providers/Vimeo/VimeoProvider.js.map +1 -1
  881. package/lib-es/components/Video/providers/Vimeo/helpers/add-extra-params-to-url.js.map +1 -1
  882. package/lib-es/components/Video/providers/Vimeo/helpers/index.js.map +1 -1
  883. package/lib-es/components/Video/providers/YouTube/YouTubeProvider.js.map +1 -1
  884. package/lib-es/components/Video/providers/YouTube/YoutubeEmbeded.js.map +1 -1
  885. package/lib-es/components/Video/providers/YouTube/helpers/index.js.map +1 -1
  886. package/lib-es/components/Video/providers/get-provider.js +5 -5
  887. package/lib-es/components/Video/providers/get-provider.js.map +1 -1
  888. package/lib-es/components/Video/providers/index.js.map +1 -1
  889. package/lib-es/components/Wrapper.js +2 -2
  890. package/lib-es/components/Wrapper.js.map +1 -1
  891. package/lib-es/components/index.js +30 -30
  892. package/lib-es/components/index.js.map +1 -1
  893. package/lib-es/constants/componentsDefaultValues.js.map +1 -1
  894. package/lib-es/constants/index.js.map +1 -1
  895. package/lib-es/helpers/append-images.js.map +1 -1
  896. package/lib-es/helpers/build-az-filter.js.map +1 -1
  897. package/lib-es/helpers/build-checkbox-filters.js.map +1 -1
  898. package/lib-es/helpers/build-filters-query.js.map +1 -1
  899. package/lib-es/helpers/build-image-properties.js.map +1 -1
  900. package/lib-es/helpers/build-inherited-filters.js.map +1 -1
  901. package/lib-es/helpers/build-link-extra-props.js.map +1 -1
  902. package/lib-es/helpers/build-props-query.js.map +1 -1
  903. package/lib-es/helpers/build-query-fields.js.map +1 -1
  904. package/lib-es/helpers/build-query-key.js.map +1 -1
  905. package/lib-es/helpers/build-raw-query-base.js.map +1 -1
  906. package/lib-es/helpers/build-raw-query-stringified.js.map +1 -1
  907. package/lib-es/helpers/build-raw-query.js.map +1 -1
  908. package/lib-es/helpers/build-search-values-checkbox-select.js +1 -1
  909. package/lib-es/helpers/build-search-values-checkbox-select.js.map +1 -1
  910. package/lib-es/helpers/build-search-values-text.js.map +1 -1
  911. package/lib-es/helpers/build-set-filters.js.map +1 -1
  912. package/lib-es/helpers/build-sort-values.js.map +1 -1
  913. package/lib-es/helpers/check-for-error.js.map +1 -1
  914. package/lib-es/helpers/check-props-to-use.js.map +1 -1
  915. package/lib-es/helpers/entities/constants.js.map +1 -1
  916. package/lib-es/helpers/filter-query-setup.js.map +1 -1
  917. package/lib-es/helpers/filters-setup.js.map +1 -1
  918. package/lib-es/helpers/get-banner-data.js.map +1 -1
  919. package/lib-es/helpers/get-checkbox-filters.js.map +1 -1
  920. package/lib-es/helpers/get-click-wrapper-options.js.map +1 -1
  921. package/lib-es/helpers/get-current-offset.js +1 -1
  922. package/lib-es/helpers/get-current-offset.js.map +1 -1
  923. package/lib-es/helpers/get-dictionary-match.js.map +1 -1
  924. package/lib-es/helpers/get-display-count-data.js.map +1 -1
  925. package/lib-es/helpers/get-elasticsearch-operator.js.map +1 -1
  926. package/lib-es/helpers/get-entities-with-banner.js.map +1 -1
  927. package/lib-es/helpers/get-entity-data.js.map +1 -1
  928. package/lib-es/helpers/get-entity-render-props.js.map +1 -1
  929. package/lib-es/helpers/get-extra-az-bits.js.map +1 -1
  930. package/lib-es/helpers/get-filter-props.js.map +1 -1
  931. package/lib-es/helpers/get-filter-relation-keys.js.map +1 -1
  932. package/lib-es/helpers/get-generic-props.js.map +1 -1
  933. package/lib-es/helpers/get-generic-render-variables.js.map +1 -1
  934. package/lib-es/helpers/get-image-ids.js.map +1 -1
  935. package/lib-es/helpers/get-inherited-filters.js.map +1 -1
  936. package/lib-es/helpers/get-items-to-display-ids.js.map +1 -1
  937. package/lib-es/helpers/get-modifiers.js.map +1 -1
  938. package/lib-es/helpers/get-not-equal-query.js.map +1 -1
  939. package/lib-es/helpers/get-pagination-index.js.map +1 -1
  940. package/lib-es/helpers/get-parsed-prop-values.js.map +1 -1
  941. package/lib-es/helpers/get-parsed-summary-value.js.map +1 -1
  942. package/lib-es/helpers/get-prop-values.js.map +1 -1
  943. package/lib-es/helpers/get-query-filters.js.map +1 -1
  944. package/lib-es/helpers/get-query-props.js.map +1 -1
  945. package/lib-es/helpers/get-required-schemas.js.map +1 -1
  946. package/lib-es/helpers/get-sanitized-prop-values.js.map +1 -1
  947. package/lib-es/helpers/get-search-filter-type.js.map +1 -1
  948. package/lib-es/helpers/get-sort-by-field-name.js.map +1 -1
  949. package/lib-es/helpers/get-unpublished-entity-name.js.map +1 -1
  950. package/lib-es/helpers/get-updated-filter-by.js.map +1 -1
  951. package/lib-es/helpers/get-updated-items-to-display.js.map +1 -1
  952. package/lib-es/helpers/get-updated-sort-properties.js.map +1 -1
  953. package/lib-es/helpers/get-wrapped-value-with-link.js.map +1 -1
  954. package/lib-es/helpers/group-entities.js.map +1 -1
  955. package/lib-es/helpers/has-children.js.map +1 -1
  956. package/lib-es/helpers/index.js.map +1 -1
  957. package/lib-es/helpers/inject-banner.js.map +1 -1
  958. package/lib-es/helpers/inject-banners-to-entities.js.map +1 -1
  959. package/lib-es/helpers/inject-multiple-banners/get-banners-for-entities/get-banners-for-entities.js.map +1 -1
  960. package/lib-es/helpers/inject-multiple-banners/get-banners-for-entities/index.js.map +1 -1
  961. package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/get-banners-for-nodes.js.map +1 -1
  962. package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/group-node-entities.js.map +1 -1
  963. package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/index.js.map +1 -1
  964. package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/index.js.map +1 -1
  965. package/lib-es/helpers/inject-multiple-banners/index.js.map +1 -1
  966. package/lib-es/helpers/inject-multiple-banners/inject-multiple-banners.js.map +1 -1
  967. package/lib-es/helpers/is-browser.js.map +1 -1
  968. package/lib-es/helpers/is-filter-entitys-id.js.map +1 -1
  969. package/lib-es/helpers/is-object.js.map +1 -1
  970. package/lib-es/helpers/is-using-relation-image.js.map +1 -1
  971. package/lib-es/helpers/parse-TextBlock.js.map +1 -1
  972. package/lib-es/helpers/parse-interval.js.map +1 -1
  973. package/lib-es/helpers/parse-props-to-display.js.map +1 -1
  974. package/lib-es/helpers/process-data-summary-value.js +1 -1
  975. package/lib-es/helpers/process-data-summary-value.js.map +1 -1
  976. package/lib-es/helpers/remove-extra-items.js.map +1 -1
  977. package/lib-es/helpers/remove-unwanted-characters.js.map +1 -1
  978. package/lib-es/helpers/render-children.js.map +1 -1
  979. package/lib-es/helpers/should-render-waypoint.js.map +1 -1
  980. package/lib-es/helpers/should-return.js.map +1 -1
  981. package/lib-es/helpers/should-show-property.js.map +1 -1
  982. package/lib-es/helpers/should-skip-single-query.js.map +1 -1
  983. package/lib-es/helpers/sort-response-data.js.map +1 -1
  984. package/lib-es/helpers/split-children.js.map +1 -1
  985. package/lib-es/helpers/update-childrens-parent.js.map +1 -1
  986. package/lib-es/hooks/helpers/RenderComponent.js.map +1 -1
  987. package/lib-es/hooks/helpers/StoreImages.js.map +1 -1
  988. package/lib-es/hooks/helpers/append-gtm-classname.js.map +1 -1
  989. package/lib-es/hooks/helpers/buildPBComponents.js.map +1 -1
  990. package/lib-es/hooks/helpers/check-banner-insertion-set.js.map +1 -1
  991. package/lib-es/hooks/helpers/check-collisions.js.map +1 -1
  992. package/lib-es/hooks/helpers/constants.js.map +1 -1
  993. package/lib-es/hooks/helpers/get-banner-index.js.map +1 -1
  994. package/lib-es/hooks/helpers/get-components-to-insert-by-type.js.map +1 -1
  995. package/lib-es/hooks/helpers/get-lightbox-images.js.map +1 -1
  996. package/lib-es/hooks/helpers/getComponent.js.map +1 -1
  997. package/lib-es/hooks/helpers/getVariant.js.map +1 -1
  998. package/lib-es/hooks/helpers/index.js.map +1 -1
  999. package/lib-es/hooks/helpers/inject-element-components.js.map +1 -1
  1000. package/lib-es/hooks/helpers/inject-textblock-banners.js +1 -1
  1001. package/lib-es/hooks/helpers/inject-textblock-banners.js.map +1 -1
  1002. package/lib-es/hooks/helpers/insert-banners.js.map +1 -1
  1003. package/lib-es/hooks/helpers/update-targetings.js.map +1 -1
  1004. package/lib-es/hooks/index.js.map +1 -1
  1005. package/lib-es/hooks/use-app-sync-event-hook.js.map +1 -1
  1006. package/lib-es/hooks/use-banner-insertion.js.map +1 -1
  1007. package/lib-es/hooks/use-check-mobile-screen.js.map +1 -1
  1008. package/lib-es/hooks/use-filter-aggregation-values.js.map +1 -1
  1009. package/lib-es/hooks/use-get-entity-schema.js.map +1 -1
  1010. package/lib-es/hooks/use-get-entity-schemas-as-obj.js.map +1 -1
  1011. package/lib-es/hooks/use-get-image-id-from-relation.js.map +1 -1
  1012. package/lib-es/hooks/use-get-images.js.map +1 -1
  1013. package/lib-es/hooks/use-get-single-entity-schema.js.map +1 -1
  1014. package/lib-es/hooks/use-page-builder.js +1 -1
  1015. package/lib-es/hooks/use-page-builder.js.map +1 -1
  1016. package/lib-es/hooks/use-portal.js.map +1 -1
  1017. package/lib-es/index.js.map +1 -1
  1018. package/lib-es/utils/component-map.js.map +1 -1
  1019. package/lib-es/utils/get-class-modifiers.js.map +1 -1
  1020. package/lib-es/utils/get-image-data.js.map +1 -1
  1021. package/lib-es/utils/get-props-to-display-modifiers.js.map +1 -1
  1022. package/lib-es/utils/index.js.map +1 -1
  1023. package/lib-es/utils/is-object-empty.js.map +1 -1
  1024. package/lib-es/utils/variant-handler.js.map +1 -1
  1025. package/lib-es/variants/FloatingSideButton/index.js.map +1 -1
  1026. package/lib-es/variants/HeroImage/index.js.map +1 -1
  1027. package/lib-es/variants/Infographic/Infographic.js.map +1 -1
  1028. package/lib-es/variants/Infographic/index.js +1 -1
  1029. package/lib-es/variants/Infographic/index.js.map +1 -1
  1030. package/lib-es/variants/Infographic/useInfographic.js.map +1 -1
  1031. package/lib-es/variants/LongformGallery/LongformGallery.js.map +1 -1
  1032. package/lib-es/variants/LongformGallery/LongformGalleryImage.js.map +1 -1
  1033. package/lib-es/variants/LongformGallery/constants.js.map +1 -1
  1034. package/lib-es/variants/LongformGallery/helpers/index.js.map +1 -1
  1035. package/lib-es/variants/LongformGallery/helpers/parseImageData.js.map +1 -1
  1036. package/lib-es/variants/LongformGallery/helpers/separateImages.js.map +1 -1
  1037. package/lib-es/variants/LongformGallery/helpers/shouldSkip.js.map +1 -1
  1038. package/lib-es/variants/LongformGallery/index.js +1 -1
  1039. package/lib-es/variants/LongformGallery/index.js.map +1 -1
  1040. package/lib-es/variants/LongformGallery/useLongformGallery.js.map +1 -1
  1041. package/lib-es/variants/LongformRow/index.js.map +1 -1
  1042. package/lib-es/variants/ParallaxImageTextRight/index.js.map +1 -1
  1043. package/lib-es/variants/SlideSummary/SlideSummary.js.map +1 -1
  1044. package/lib-es/variants/SlideSummary/index.js +1 -1
  1045. package/lib-es/variants/SlideSummary/index.js.map +1 -1
  1046. package/lib-es/variants/ThumbnailCarousel/ThumbnailCarousel.js.map +1 -1
  1047. package/lib-es/variants/ThumbnailCarousel/ThumbnailImage/ThumbnailImage.js.map +1 -1
  1048. package/lib-es/variants/ThumbnailCarousel/ThumbnailImage/index.js.map +1 -1
  1049. package/lib-es/variants/ThumbnailCarousel/ThumbnailImage/useThumbnailImage.js.map +1 -1
  1050. package/lib-es/variants/ThumbnailCarousel/index.js +1 -1
  1051. package/lib-es/variants/ThumbnailCarousel/index.js.map +1 -1
  1052. package/lib-es/variants/ThumbnailCarousel/useThumbnailCarousel.js.map +1 -1
  1053. package/lib-es/variants/index.js.map +1 -1
  1054. package/package.json +20 -19
  1055. package/src/HOC/recreateOnNavigation.js +3 -3
  1056. package/src/HOC/withTitle.js +3 -3
  1057. package/src/components/BackToTop/BackToTop.js +5 -8
  1058. package/src/components/Banner/BannerRender.js +0 -2
  1059. package/src/components/Breadcrumb/Breadcrumb.js +5 -1
  1060. package/src/components/Button.js +3 -6
  1061. package/src/components/Card/CardsFactory.js +8 -7
  1062. package/src/components/Card/CardsRender.js +5 -3
  1063. package/src/components/CarouselWrapper/DefaultCarousel.js +20 -26
  1064. package/src/components/ContentGroup/ContentGroupTabs.js +4 -7
  1065. package/src/components/DataSummary/DataSummaryTypes/index.js +14 -10
  1066. package/src/components/DateTime/DateTime.js +4 -4
  1067. package/src/components/EmailConfirm/EmailConfirm.js +9 -11
  1068. package/src/components/Image/GlobalLightbox/GlobalLightbox.js +7 -9
  1069. package/src/components/Image/GlobalLightbox/index.js +2 -2
  1070. package/src/components/Image/Image.js +6 -4
  1071. package/src/components/Image/ImageFactory.js +5 -5
  1072. package/src/components/ItemList/hooks/use-item-list-id.js +10 -13
  1073. package/src/components/Layout/LayoutFactory.js +2 -2
  1074. package/src/components/Layout/LayoutWithStickyTimer.js +11 -14
  1075. package/src/components/List/ListFactory.js +10 -11
  1076. package/src/components/List/ListRender.js +6 -1
  1077. package/src/components/List/components/Pagination/ListPagination.js +3 -6
  1078. package/src/components/List/components/Pagination/LoadMore.js +7 -9
  1079. package/src/components/List/helpers/sort-aggs.js +1 -2
  1080. package/src/components/Menu/Menu.js +13 -19
  1081. package/src/components/Menu/MenuContext.js +1 -1
  1082. package/src/components/MenuItem/MenuItemRender.js +10 -30
  1083. package/src/components/MenuItem/helpers/index.js +1 -3
  1084. package/src/components/ModalAdapter/index.js +2 -2
  1085. package/src/components/SearchContent/SearchContent.js +26 -32
  1086. package/src/components/SearchFilter/SearchFilter/SearchFilter.js +15 -19
  1087. package/src/components/Video/providers/Vimeo/VimeoProvider.js +19 -22
  1088. package/src/components/Video/providers/YouTube/YoutubeEmbeded.js +58 -64
  1089. package/src/components/Video/providers/get-provider.js +4 -4
  1090. package/src/components/Wrapper.js +5 -7
  1091. package/src/components/index.js +20 -20
  1092. package/src/constants/index.js +2 -1
  1093. package/src/helpers/build-search-values-checkbox-select.js +1 -1
  1094. package/src/helpers/get-current-offset.js +1 -1
  1095. package/src/helpers/get-wrapped-value-with-link.js +1 -1
  1096. package/src/helpers/remove-unwanted-characters.js +1 -4
  1097. package/src/hooks/helpers/buildPBComponents.js +2 -4
  1098. package/src/hooks/helpers/get-components-to-insert-by-type.js +3 -1
  1099. package/src/hooks/helpers/inject-textblock-banners.js +2 -8
  1100. package/src/hooks/use-check-mobile-screen.js +5 -8
  1101. package/src/hooks/use-get-entity-schema.js +5 -1
  1102. package/src/hooks/use-get-image-id-from-relation.js +5 -1
  1103. package/src/hooks/use-page-builder.js +9 -12
  1104. package/src/variants/Infographic/index.js +2 -2
  1105. package/src/variants/LongformGallery/LongformGallery.js +2 -8
  1106. package/src/variants/LongformGallery/index.js +2 -2
  1107. package/src/variants/SlideSummary/index.js +2 -2
  1108. package/src/variants/ThumbnailCarousel/ThumbnailImage/ThumbnailImage.js +2 -3
  1109. package/src/variants/ThumbnailCarousel/index.js +2 -2
  1110. package/tests/unit/src/HOC/withTitle.test.js +11 -21
  1111. package/tests/unit/src/Layout/Layout.test.js +2 -1
  1112. package/tests/unit/src/Layout/helpers/check-if-row-has-columns.test.js +1 -0
  1113. package/tests/unit/src/components/Banner/AdSlotRender.test.js +4 -1
  1114. package/tests/unit/src/components/Banner/helpers.test.js +34 -7
  1115. package/tests/unit/src/components/BlazeLink.test.js +1 -4
  1116. package/tests/unit/src/components/Breadcrumb/__snapshots__/Breadcrumb.test.js.snap +18 -0
  1117. package/tests/unit/src/components/Card/Card.test.js +17 -4
  1118. package/tests/unit/src/components/Card/CardContainer.test.js +7 -1
  1119. package/tests/unit/src/components/Card/__snapshots__/Card.test.js.snap +15 -0
  1120. package/tests/unit/src/components/Card/__snapshots__/CardContainer.test.js.snap +12 -0
  1121. package/tests/unit/src/components/Card/mockData.js +2 -4
  1122. package/tests/unit/src/components/Carousel/CarouselRender/CarouselRender.test.js +47 -46
  1123. package/tests/unit/src/components/Carousel/CarouselRender/__snapshots__/CarouselRender.test.js.snap +45 -1
  1124. package/tests/unit/src/components/Carousel/CarouselRender/mocks.js +0 -0
  1125. package/tests/unit/src/components/Carousel/__snapshots__/Carousel.test.js.snap +1 -1
  1126. package/tests/unit/src/components/ContentGroup/ContentGroupTabs.test.js +4 -1
  1127. package/tests/unit/src/components/ContentGroup/helpers/get-sections-data.test.js +4 -1
  1128. package/tests/unit/src/components/DataSummary/__snapshots__/DataSummaryRender.test.js.snap +0 -1
  1129. package/tests/unit/src/components/DataSummary/helpers/build-props-to-display-with-content.test.js +5 -1
  1130. package/tests/unit/src/components/DataSummary/helpers/get-value-from-array.test.js +4 -1
  1131. package/tests/unit/src/components/DataSummary/helpers/strip-summary-props-content.test.js +8 -2
  1132. package/tests/unit/src/components/DataSummary/mockData.js +4 -1
  1133. package/tests/unit/src/components/Image/ImageFactory.test.js +4 -3
  1134. package/tests/unit/src/components/ItemList/ItemListCounter.test.js +2 -1
  1135. package/tests/unit/src/components/ItemList/hooks/use-item-list-id.test.js +1 -1
  1136. package/tests/unit/src/components/Layout/LayoutFactory.test.js +0 -4
  1137. package/tests/unit/src/components/List/components/Cards/CardsRender.test.js +8 -1
  1138. package/tests/unit/src/components/List/components/Pagination/Classic.test.js +1 -1
  1139. package/tests/unit/src/components/PlaceholderIcon/index.test.js +2 -2
  1140. package/tests/unit/src/components/SearchFilter/components/Range.test.js +5 -5
  1141. package/tests/unit/src/components/SearchFilter/components/__snapshots__/Range.test.js.snap +175 -190
  1142. package/tests/unit/src/components/SearchFilter/helpers/get-select-options.test.js +8 -2
  1143. package/tests/unit/src/components/TextBlock/TextBlock.test.js +1 -1
  1144. package/tests/unit/src/components/TextBlock/__snapshots__/TextBlock.test.js.snap +12 -0
  1145. package/tests/unit/src/helpers/__snapshots__/parse-textBlock.test.js.snap +3 -0
  1146. package/tests/unit/src/helpers/build-checkbox-filters.test.js +4 -1
  1147. package/tests/unit/src/helpers/get-dictionary-match.test.js +1 -1
  1148. package/tests/unit/src/helpers/parse-textBlock.test.js +3 -1
  1149. package/tests/unit/src/hooks/use-check-mobile-screen.test.js +3 -2
  1150. package/tests/unit/src/hooks/use-get-image-id-from-relation.test.js +3 -3
  1151. package/tests/unit/src/hooks/use-get-images.test.js +16 -14
  1152. package/tests/unit/src/hooks/use-get-single-entity-schema.test.js +6 -4
  1153. package/lib/components/MenuItem/helpers/has-active-child.js +0 -19
  1154. package/lib/components/MenuItem/helpers/has-active-child.js.map +0 -1
  1155. package/lib/components/MenuItem/helpers/isUrlPathMatch.js +0 -18
  1156. package/lib/components/MenuItem/helpers/isUrlPathMatch.js.map +0 -1
  1157. package/lib-es/components/MenuItem/helpers/has-active-child.js +0 -5
  1158. package/lib-es/components/MenuItem/helpers/has-active-child.js.map +0 -1
  1159. package/lib-es/components/MenuItem/helpers/isUrlPathMatch.js +0 -8
  1160. package/lib-es/components/MenuItem/helpers/isUrlPathMatch.js.map +0 -1
  1161. package/src/components/MenuItem/helpers/has-active-child.js +0 -10
  1162. package/src/components/MenuItem/helpers/isUrlPathMatch.js +0 -10
  1163. package/tests/unit/src/components/MenuItem/helpers/constants.js +0 -73
  1164. package/tests/unit/src/components/MenuItem/helpers/has-active-child.test.js +0 -35
  1165. package/tests/unit/src/components/MenuItem/helpers/is-url-path-match.test.js +0 -46
  1166. package/tests/unit/src/hooks/use-page-builder.test.js +0 -48
@@ -1 +1 @@
1
- {"version":3,"file":"get-pagination-index.js","names":["_constants","require","getPaginationIndex","query","name","paginationIndex","concat","PB_QUERY_CONST","PAGINATION_QUERY_CONST","Number","_default","exports"],"sources":["../../src/helpers/get-pagination-index.js"],"sourcesContent":["import { PAGINATION_QUERY_CONST, PB_QUERY_CONST } from '../constants';\n\nfunction getPaginationIndex(query, name) {\n if (!query || !name) return 1;\n const paginationIndex = query[`${PB_QUERY_CONST}[${name}]${PAGINATION_QUERY_CONST}`];\n return Number(paginationIndex) || 1;\n}\n\nexport default getPaginationIndex;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAEA,SAASC,kBAAkBA,CAACC,KAAK,EAAEC,IAAI,EAAE;EACvC,IAAI,CAACD,KAAK,IAAI,CAACC,IAAI,EAAE,OAAO,CAAC;EAC7B,IAAMC,eAAe,GAAGF,KAAK,IAAAG,MAAA,CAAIC,yBAAc,OAAAD,MAAA,CAAIF,IAAI,OAAAE,MAAA,CAAIE,iCAAsB,EAAG;EACpF,OAAOC,MAAM,CAACJ,eAAe,CAAC,IAAI,CAAC;AACrC;AAAC,IAAAK,QAAA,GAAAC,OAAA,cAEcT,kBAAkB"}
1
+ {"version":3,"file":"get-pagination-index.js","names":["_constants","require","getPaginationIndex","query","name","paginationIndex","concat","PB_QUERY_CONST","PAGINATION_QUERY_CONST","Number","_default","exports"],"sources":["../../src/helpers/get-pagination-index.js"],"sourcesContent":["import { PAGINATION_QUERY_CONST, PB_QUERY_CONST } from '../constants';\n\nfunction getPaginationIndex(query, name) {\n if (!query || !name) return 1;\n const paginationIndex = query[`${PB_QUERY_CONST}[${name}]${PAGINATION_QUERY_CONST}`];\n return Number(paginationIndex) || 1;\n}\n\nexport default getPaginationIndex;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAEA,SAASC,kBAAkBA,CAACC,KAAK,EAAEC,IAAI,EAAE;EACvC,IAAI,CAACD,KAAK,IAAI,CAACC,IAAI,EAAE,OAAO,CAAC;EAC7B,IAAMC,eAAe,GAAGF,KAAK,IAAAG,MAAA,CAAIC,yBAAc,OAAAD,MAAA,CAAIF,IAAI,OAAAE,MAAA,CAAIE,iCAAsB,EAAG;EACpF,OAAOC,MAAM,CAACJ,eAAe,CAAC,IAAI,CAAC;AACrC;AAAC,IAAAK,QAAA,GAAAC,OAAA,cAEcT,kBAAkB","ignoreList":[]}
@@ -7,12 +7,12 @@ 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");
10
11
  require("core-js/modules/es.array.filter.js");
11
- require("core-js/modules/es.object.to-string.js");
12
- require("core-js/modules/es.array.map.js");
13
12
  require("core-js/modules/es.array.is-array.js");
14
- require("core-js/modules/es.array.concat.js");
15
13
  require("core-js/modules/es.array.join.js");
14
+ require("core-js/modules/es.array.map.js");
15
+ require("core-js/modules/es.object.to-string.js");
16
16
  var _react = _interopRequireDefault(require("react"));
17
17
  var _nextjsComponents = require("@blaze-cms/nextjs-components");
18
18
  var _isObject = _interopRequireDefault(require("./is-object"));
@@ -1 +1 @@
1
- {"version":3,"file":"get-parsed-prop-values.js","names":["_react","_interopRequireDefault","require","_nextjsComponents","_isObject","_removeUnwantedCharacters","getParsedPropValues","_ref","propertiesToDisplay","props","enableLink","shouldStrip","map","property","_property$split","split","_property$split2","_slicedToArray2","filteredProperty","subtype","value","Array","isArray","prop","index","propValue","sanitizedValue","removeUnwantedCharacters","isLastValue","length","parsedValue","concat","linkKey","join","url","createElement","Link","key","href","isObject","filter","Boolean","_default","exports"],"sources":["../../src/helpers/get-parsed-prop-values.js"],"sourcesContent":["import React from 'react';\nimport { Link } from '@blaze-cms/nextjs-components';\nimport isObject from './is-object';\nimport removeUnwantedCharacters from './remove-unwanted-characters';\n\nconst getParsedPropValues = ({ propertiesToDisplay, props, enableLink, shouldStrip }) =>\n propertiesToDisplay\n .map(property => {\n const [filteredProperty, subtype] = property.split('.');\n const value = props[filteredProperty];\n\n if (Array.isArray(value)) {\n return value.map((prop, index) => {\n const propValue = subtype ? prop[subtype] : prop;\n const sanitizedValue = shouldStrip ? removeUnwantedCharacters(propValue) : propValue;\n\n const isLastValue = index === value.length - 1;\n const parsedValue = isLastValue ? sanitizedValue : sanitizedValue.concat(', ');\n const linkKey = [filteredProperty, prop[subtype], index].join('-');\n\n return enableLink && prop.url ? (\n <Link key={linkKey} href={prop.url}>\n {parsedValue}\n </Link>\n ) : (\n parsedValue\n );\n });\n }\n\n if (isObject(value)) {\n return shouldStrip ? removeUnwantedCharacters(value[subtype]) : value[subtype];\n }\n\n return shouldStrip ? removeUnwantedCharacters(value) : value;\n })\n .filter(Boolean);\n\nexport default getParsedPropValues;\n"],"mappings":";;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,yBAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAEA,IAAMI,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAAC,IAAA;EAAA,IAAMC,mBAAmB,GAAAD,IAAA,CAAnBC,mBAAmB;IAAEC,KAAK,GAAAF,IAAA,CAALE,KAAK;IAAEC,UAAU,GAAAH,IAAA,CAAVG,UAAU;IAAEC,WAAW,GAAAJ,IAAA,CAAXI,WAAW;EAAA,OAChFH,mBAAmB,CAChBI,GAAG,CAAC,UAAAC,QAAQ,EAAI;IACf,IAAAC,eAAA,GAAoCD,QAAQ,CAACE,KAAK,CAAC,GAAG,CAAC;MAAAC,gBAAA,OAAAC,eAAA,aAAAH,eAAA;MAAhDI,gBAAgB,GAAAF,gBAAA;MAAEG,OAAO,GAAAH,gBAAA;IAChC,IAAMI,KAAK,GAAGX,KAAK,CAACS,gBAAgB,CAAC;IAErC,IAAIG,KAAK,CAACC,OAAO,CAACF,KAAK,CAAC,EAAE;MACxB,OAAOA,KAAK,CAACR,GAAG,CAAC,UAACW,IAAI,EAAEC,KAAK,EAAK;QAChC,IAAMC,SAAS,GAAGN,OAAO,GAAGI,IAAI,CAACJ,OAAO,CAAC,GAAGI,IAAI;QAChD,IAAMG,cAAc,GAAGf,WAAW,GAAG,IAAAgB,oCAAwB,EAACF,SAAS,CAAC,GAAGA,SAAS;QAEpF,IAAMG,WAAW,GAAGJ,KAAK,KAAKJ,KAAK,CAACS,MAAM,GAAG,CAAC;QAC9C,IAAMC,WAAW,GAAGF,WAAW,GAAGF,cAAc,GAAGA,cAAc,CAACK,MAAM,CAAC,IAAI,CAAC;QAC9E,IAAMC,OAAO,GAAG,CAACd,gBAAgB,EAAEK,IAAI,CAACJ,OAAO,CAAC,EAAEK,KAAK,CAAC,CAACS,IAAI,CAAC,GAAG,CAAC;QAElE,OAAOvB,UAAU,IAAIa,IAAI,CAACW,GAAG,gBAC3BlC,MAAA,YAAAmC,aAAA,CAAChC,iBAAA,CAAAiC,IAAI;UAACC,GAAG,EAAEL,OAAQ;UAACM,IAAI,EAAEf,IAAI,CAACW;QAAI,GAChCJ,WACG,CAAC,GAEPA,WACD;MACH,CAAC,CAAC;IACJ;IAEA,IAAI,IAAAS,oBAAQ,EAACnB,KAAK,CAAC,EAAE;MACnB,OAAOT,WAAW,GAAG,IAAAgB,oCAAwB,EAACP,KAAK,CAACD,OAAO,CAAC,CAAC,GAAGC,KAAK,CAACD,OAAO,CAAC;IAChF;IAEA,OAAOR,WAAW,GAAG,IAAAgB,oCAAwB,EAACP,KAAK,CAAC,GAAGA,KAAK;EAC9D,CAAC,CAAC,CACDoB,MAAM,CAACC,OAAO,CAAC;AAAA;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAENrC,mBAAmB"}
1
+ {"version":3,"file":"get-parsed-prop-values.js","names":["_react","_interopRequireDefault","require","_nextjsComponents","_isObject","_removeUnwantedCharacters","getParsedPropValues","_ref","propertiesToDisplay","props","enableLink","shouldStrip","map","property","_property$split","split","_property$split2","_slicedToArray2","filteredProperty","subtype","value","Array","isArray","prop","index","propValue","sanitizedValue","removeUnwantedCharacters","isLastValue","length","parsedValue","concat","linkKey","join","url","createElement","Link","key","href","isObject","filter","Boolean","_default","exports"],"sources":["../../src/helpers/get-parsed-prop-values.js"],"sourcesContent":["import React from 'react';\nimport { Link } from '@blaze-cms/nextjs-components';\nimport isObject from './is-object';\nimport removeUnwantedCharacters from './remove-unwanted-characters';\n\nconst getParsedPropValues = ({ propertiesToDisplay, props, enableLink, shouldStrip }) =>\n propertiesToDisplay\n .map(property => {\n const [filteredProperty, subtype] = property.split('.');\n const value = props[filteredProperty];\n\n if (Array.isArray(value)) {\n return value.map((prop, index) => {\n const propValue = subtype ? prop[subtype] : prop;\n const sanitizedValue = shouldStrip ? removeUnwantedCharacters(propValue) : propValue;\n\n const isLastValue = index === value.length - 1;\n const parsedValue = isLastValue ? sanitizedValue : sanitizedValue.concat(', ');\n const linkKey = [filteredProperty, prop[subtype], index].join('-');\n\n return enableLink && prop.url ? (\n <Link key={linkKey} href={prop.url}>\n {parsedValue}\n </Link>\n ) : (\n parsedValue\n );\n });\n }\n\n if (isObject(value)) {\n return shouldStrip ? removeUnwantedCharacters(value[subtype]) : value[subtype];\n }\n\n return shouldStrip ? removeUnwantedCharacters(value) : value;\n })\n .filter(Boolean);\n\nexport default getParsedPropValues;\n"],"mappings":";;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,yBAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAEA,IAAMI,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAAC,IAAA;EAAA,IAAMC,mBAAmB,GAAAD,IAAA,CAAnBC,mBAAmB;IAAEC,KAAK,GAAAF,IAAA,CAALE,KAAK;IAAEC,UAAU,GAAAH,IAAA,CAAVG,UAAU;IA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O,CAAC,CAAC,GAAGC,KAAK,CAACD,OAAO,CAAC;IAChF;IAEA,OAAOR,WAAW,GAAG,IAAAgB,oCAAwB,EAACP,KAAK,CAAC,GAAGA,KAAK;EAC9D,CAAC,CAAC,CACDoB,MAAM,CAACC,OAAO,CAAC;AAAA;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAENrC,mBAAmB","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"get-parsed-summary-value.js","names":["TRUE","FALSE","parsedSummaryValues","getParsedSummaryValue","value","_default","exports"],"sources":["../../src/helpers/get-parsed-summary-value.js"],"sourcesContent":["const TRUE = 'true';\nconst FALSE = 'false';\n\nconst parsedSummaryValues = {\n TRUE: 'Yes',\n FALSE: 'No'\n};\n\nfunction getParsedSummaryValue(value) {\n if (value === TRUE) return parsedSummaryValues.TRUE;\n if (value === FALSE) return parsedSummaryValues.FALSE;\n\n return value;\n}\n\nexport default getParsedSummaryValue;\n"],"mappings":";;;;;;;AAAA,IAAMA,IAAI,GAAG,MAAM;AACnB,IAAMC,KAAK,GAAG,OAAO;AAErB,IAAMC,mBAAmB,GAAG;EAC1BF,IAAI,EAAE,KAAK;EACXC,KAAK,EAAE;AACT,CAAC;AAED,SAASE,qBAAqBA,CAACC,KAAK,EAAE;EACpC,IAAIA,KAAK,KAAKJ,IAAI,EAAE,OAAOE,mBAAmB,CAACF,IAAI;EACnD,IAAII,KAAK,KAAKH,KAAK,EAAE,OAAOC,mBAAmB,CAACD,KAAK;EAErD,OAAOG,KAAK;AACd;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEcH,qBAAqB"}
1
+ {"version":3,"file":"get-parsed-summary-value.js","names":["TRUE","FALSE","parsedSummaryValues","getParsedSummaryValue","value","_default","exports"],"sources":["../../src/helpers/get-parsed-summary-value.js"],"sourcesContent":["const TRUE = 'true';\nconst FALSE = 'false';\n\nconst parsedSummaryValues = {\n TRUE: 'Yes',\n FALSE: 'No'\n};\n\nfunction getParsedSummaryValue(value) {\n if (value === TRUE) return parsedSummaryValues.TRUE;\n if (value === FALSE) return parsedSummaryValues.FALSE;\n\n return value;\n}\n\nexport default getParsedSummaryValue;\n"],"mappings":";;;;;;;AAAA,IAAMA,IAAI,GAAG,MAAM;AACnB,IAAMC,KAAK,GAAG,OAAO;AAErB,IAAMC,mBAAmB,GAAG;EAC1BF,IAAI,EAAE,KAAK;EACXC,KAAK,EAAE;AACT,CAAC;AAED,SAASE,qBAAqBA,CAACC,KAAK,EAAE;EACpC,IAAIA,KAAK,KAAKJ,IAAI,EAAE,OAAOE,mBAAmB,CAACF,IAAI;EACnD,IAAII,KAAK,KAAKH,KAAK,EAAE,OAAOC,mBAAmB,CAACD,KAAK;EAErD,OAAOG,KAAK;AACd;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEcH,qBAAqB","ignoreList":[]}
@@ -8,9 +8,9 @@ Object.defineProperty(exports, "__esModule", {
8
8
  exports["default"] = void 0;
9
9
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
10
10
  require("core-js/modules/es.array.filter.js");
11
- require("core-js/modules/es.object.to-string.js");
12
- require("core-js/modules/es.array.map.js");
13
11
  require("core-js/modules/es.array.is-array.js");
12
+ require("core-js/modules/es.array.map.js");
13
+ require("core-js/modules/es.object.to-string.js");
14
14
  var _isObject = _interopRequireDefault(require("./is-object"));
15
15
  var getPropValues = function getPropValues(propertiesToDisplay, props) {
16
16
  return propertiesToDisplay.map(function (property) {
@@ -1 +1 @@
1
- {"version":3,"file":"get-prop-values.js","names":["_isObject","_interopRequireDefault","require","getPropValues","propertiesToDisplay","props","map","property","_property$split","split","_property$split2","_slicedToArray2","filteredProperty","subtype","value","Array","isArray","prop","isObject","filter","Boolean","_default","exports"],"sources":["../../src/helpers/get-prop-values.js"],"sourcesContent":["import isObject from './is-object';\n\nconst getPropValues = (propertiesToDisplay, props) =>\n propertiesToDisplay\n .map(property => {\n const [filteredProperty, subtype] = property.split('.');\n const value = props[filteredProperty];\n\n if (Array.isArray(value)) {\n return value.map(prop => (subtype ? prop[subtype] : prop));\n }\n\n if (isObject(value)) {\n return value[subtype];\n }\n\n return value;\n })\n .filter(Boolean);\n\nexport default getPropValues;\n"],"mappings":";;;;;;;;;;;;;AAAA,IAAAA,SAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAMC,aAAa,GAAG,SAAhBA,aAAaA,CAAIC,mBAAmB,EAAEC,KAAK;EAAA,OAC/CD,mBAAmB,CAChBE,GAAG,CAAC,UAAAC,QAAQ,EAAI;IACf,IAAAC,eAAA,GAAoCD,QAAQ,CAACE,KAAK,CAAC,GAAG,CAAC;MAAAC,gBAAA,OAAAC,eAAA,aAAAH,eAAA;MAAhDI,gBAAgB,GAAAF,gBAAA;MAAEG,OAAO,GAAAH,gBAAA;IAChC,IAAMI,KAAK,GAAGT,KAAK,CAACO,gBAAgB,CAAC;IAErC,IAAIG,KAAK,CAACC,OAAO,CAACF,KAAK,CAAC,EAAE;MACxB,OAAOA,KAAK,CAACR,GAAG,CAAC,UAAAW,IAAI;QAAA,OAAKJ,OAAO,GAAGI,IAAI,CAACJ,OAAO,CAAC,GAAGI,IAAI;MAAA,CAAC,CAAC;IAC5D;IAEA,IAAI,IAAAC,oBAAQ,EAACJ,KAAK,CAAC,EAAE;MACnB,OAAOA,KAAK,CAACD,OAAO,CAAC;IACvB;IAEA,OAAOC,KAAK;EACd,CAAC,CAAC,CACDK,MAAM,CAACC,OAAO,CAAC;AAAA;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAENnB,aAAa"}
1
+ {"version":3,"file":"get-prop-values.js","names":["_isObject","_interopRequireDefault","require","getPropValues","propertiesToDisplay","props","map","property","_property$split","split","_property$split2","_slicedToArray2","filteredProperty","subtype","value","Array","isArray","prop","isObject","filter","Boolean","_default","exports"],"sources":["../../src/helpers/get-prop-values.js"],"sourcesContent":["import isObject from './is-object';\n\nconst getPropValues = (propertiesToDisplay, props) =>\n propertiesToDisplay\n .map(property => {\n const [filteredProperty, subtype] = property.split('.');\n const value = props[filteredProperty];\n\n if (Array.isArray(value)) {\n return value.map(prop => (subtype ? prop[subtype] : prop));\n }\n\n if (isObject(value)) {\n return value[subtype];\n }\n\n return value;\n })\n .filter(Boolean);\n\nexport default getPropValues;\n"],"mappings":";;;;;;;;;;;;;AAAA,IAAAA,SAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAMC,aAAa,GAAG,SAAhBA,aAAaA,CAAIC,mBAAmB,EAAEC,KAAK;EAAA,OAC/CD,mBAAmB,CAChBE,GAAG,CAAC,UAAAC,QAAQ,EAAI;IACf,IAAAC,eAAA,GAAoCD,QAAQ,CAACE,KAAK,CAAC,GAAG,CAAC;MAAAC,gBAAA,OAAAC,eAAA,aAAAH,eAAA;MAAhDI,gBAAgB,GAAAF,gBAAA;MAAEG,OAAO,GAAAH,gBAAA;IAChC,IAAMI,KAAK,GAAGT,KAAK,CAACO,gBAAgB,CAAC;IAErC,IAAIG,KAAK,CAACC,OAAO,CAACF,KAAK,CAAC,EAAE;MACxB,OAAOA,KAAK,CAACR,GAAG,CAAC,UAAAW,IAAI;QAAA,OAAKJ,OAAO,GAAGI,IAAI,CAACJ,OAAO,CAAC,GAAGI,IAAI;MAAA,CAAC,CAAC;IAC5D;IAEA,IAAI,IAAAC,oBAAQ,EAACJ,KAAK,CAAC,EAAE;MACnB,OAAOA,KAAK,CAACD,OAAO,CAAC;IACvB;IAEA,OAAOC,KAAK;EACd,CAAC,CAAC,CACDK,MAAM,CAACC,OAAO,CAAC;AAAA;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAENnB,aAAa","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"get-query-filters.js","names":["_getSearchFilterType","_interopRequireDefault","require","_buildSearchValuesCheckboxSelect","_constants","getQueryFilters","searchFilter","query","listName","settings","filters","valuesAnd","valuesOr","rangeFilters","getSearchFilterType","RANGE","checkboxFilters","CHECKBOX","selectFilters","SELECT","_buildSearchValuesChe","buildSearchValuesCheckboxSelect","values","_default","exports"],"sources":["../../src/helpers/get-query-filters.js"],"sourcesContent":["import getSearchFilterType from './get-search-filter-type';\nimport buildSearchValuesCheckboxSelect from './build-search-values-checkbox-select';\nimport { RANGE, CHECKBOX, SELECT } from '../constants';\n\nconst getQueryFilters = (searchFilter, query, listName) => {\n if (!searchFilter.settings || !searchFilter.settings.filters)\n return { valuesAnd: [], valuesOr: [] };\n\n const rangeFilters = getSearchFilterType(searchFilter, RANGE);\n const checkboxFilters = getSearchFilterType(searchFilter, CHECKBOX);\n const selectFilters = getSearchFilterType(searchFilter, SELECT);\n\n const { values: valuesAnd, valuesOr } = buildSearchValuesCheckboxSelect(\n query,\n rangeFilters,\n checkboxFilters,\n selectFilters,\n listName\n );\n return { valuesAnd, valuesOr };\n};\n\nexport default getQueryFilters;\n"],"mappings":";;;;;;;;;;;AAAA,IAAAA,oBAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,gCAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AAEA,IAAMG,eAAe,GAAG,SAAlBA,eAAeA,CAAIC,YAAY,EAAEC,KAAK,EAAEC,QAAQ,EAAK;EACzD,IAAI,CAACF,YAAY,CAACG,QAAQ,IAAI,CAACH,YAAY,CAACG,QAAQ,CAACC,OAAO,EAC1D,OAAO;IAAEC,SAAS,EAAE,EAAE;IAAEC,QAAQ,EAAE;EAAG,CAAC;EAExC,IAAMC,YAAY,GAAG,IAAAC,+BAAmB,EAACR,YAAY,EAAES,gBAAK,CAAC;EAC7D,IAAMC,eAAe,GAAG,IAAAF,+BAAmB,EAACR,YAAY,EAAEW,mBAAQ,CAAC;EACnE,IAAMC,aAAa,GAAG,IAAAJ,+BAAmB,EAACR,YAAY,EAAEa,iBAAM,CAAC;EAE/D,IAAAC,qBAAA,GAAwC,IAAAC,2CAA+B,EACrEd,KAAK,EACLM,YAAY,EACZG,eAAe,EACfE,aAAa,EACbV,QACF,CAAC;IANeG,SAAS,GAAAS,qBAAA,CAAjBE,MAAM;IAAaV,QAAQ,GAAAQ,qBAAA,CAARR,QAAQ;EAOnC,OAAO;IAAED,SAAS,EAATA,SAAS;IAAEC,QAAQ,EAARA;EAAS,CAAC;AAChC,CAAC;AAAC,IAAAW,QAAA,GAAAC,OAAA,cAEanB,eAAe"}
1
+ {"version":3,"file":"get-query-filters.js","names":["_getSearchFilterType","_interopRequireDefault","require","_buildSearchValuesCheckboxSelect","_constants","getQueryFilters","searchFilter","query","listName","settings","filters","valuesAnd","valuesOr","rangeFilters","getSearchFilterType","RANGE","checkboxFilters","CHECKBOX","selectFilters","SELECT","_buildSearchValuesChe","buildSearchValuesCheckboxSelect","values","_default","exports"],"sources":["../../src/helpers/get-query-filters.js"],"sourcesContent":["import getSearchFilterType from './get-search-filter-type';\nimport buildSearchValuesCheckboxSelect from './build-search-values-checkbox-select';\nimport { RANGE, CHECKBOX, SELECT } from '../constants';\n\nconst getQueryFilters = (searchFilter, query, listName) => {\n if (!searchFilter.settings || !searchFilter.settings.filters)\n return { valuesAnd: [], valuesOr: [] };\n\n const rangeFilters = getSearchFilterType(searchFilter, RANGE);\n const checkboxFilters = getSearchFilterType(searchFilter, CHECKBOX);\n const selectFilters = getSearchFilterType(searchFilter, SELECT);\n\n const { values: valuesAnd, valuesOr } = buildSearchValuesCheckboxSelect(\n query,\n rangeFilters,\n checkboxFilters,\n selectFilters,\n listName\n );\n return { valuesAnd, valuesOr };\n};\n\nexport default getQueryFilters;\n"],"mappings":";;;;;;;;;;;AAAA,IAAAA,oBAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,gCAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AAEA,IAAMG,eAAe,GAAG,SAAlBA,eAAeA,CAAIC,YAAY,EAAEC,KAAK,EAAEC,QAAQ,EAAK;EACzD,IAAI,CAACF,YAAY,CAACG,QAAQ,IAAI,CAACH,YAAY,CAACG,QAAQ,CAACC,OAAO,EAC1D,OAAO;IAAEC,SAAS,EAAE,EAAE;IAAEC,QAAQ,EAAE;EAAG,CAAC;EAExC,IAAMC,YAAY,GAAG,IAAAC,+BAAmB,EAACR,YAAY,EAAES,gBAAK,CAAC;EAC7D,IAAMC,eAAe,GAAG,IAAAF,+BAAmB,EAACR,YAAY,EAAEW,mBAAQ,CAAC;EACnE,IAAMC,aAAa,GAAG,IAAAJ,+BAAmB,EAACR,YAAY,EAAEa,iBAAM,CAAC;EAE/D,IAAAC,qBAAA,GAAwC,IAAAC,2CAA+B,EACrEd,KAAK,EACLM,YAAY,EACZG,eAAe,EACfE,aAAa,EACbV,QACF,CAAC;IANeG,SAAS,GAAAS,qBAAA,CAAjBE,MAAM;IAAaV,QAAQ,GAAAQ,qBAAA,CAARR,QAAQ;EAOnC,OAAO;IAAED,SAAS,EAATA,SAAS;IAAEC,QAAQ,EAARA;EAAS,CAAC;AAChC,CAAC;AAAC,IAAAW,QAAA,GAAAC,OAAA,cAEanB,eAAe","ignoreList":[]}
@@ -6,12 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
8
  exports["default"] = void 0;
9
- require("core-js/modules/es.array.reduce.js");
10
- require("core-js/modules/es.object.to-string.js");
11
9
  require("core-js/modules/es.array.concat.js");
12
- require("core-js/modules/es.array.join.js");
13
10
  require("core-js/modules/es.array.find.js");
11
+ require("core-js/modules/es.array.join.js");
12
+ require("core-js/modules/es.array.reduce.js");
14
13
  require("core-js/modules/es.object.keys.js");
14
+ require("core-js/modules/es.object.to-string.js");
15
15
  var _isFilterEntitysId = _interopRequireDefault(require("./is-filter-entitys-id"));
16
16
  var _getFilterProps2 = _interopRequireDefault(require("./get-filter-props"));
17
17
  var _constants = require("../constants");
@@ -1 +1 @@
1
- {"version":3,"file":"get-query-props.js","names":["_isFilterEntitysId","_interopRequireDefault","require","_getFilterProps2","_constants","getQueryProps","inheritedFilters","currentSchema","filterEntitySchema","arguments","length","undefined","ID","currentEntityId","identifier","properties","filterEntityId","reduce","acc","filter","_getFilterProps","getFilterProps","filterName","relationName","relationProp","relationEntityName","isEntityItself","relationForeignKeys","shouldIgnoreFilter","concat","join","queryValue","Object","keys","find","propKey","relation","entityIdentifier","queryProp","queryPropFinalValue","isFilterEntitysId","_default","exports"],"sources":["../../src/helpers/get-query-props.js"],"sourcesContent":["import isFilterEntitysId from './is-filter-entitys-id';\nimport getFilterProps from './get-filter-props';\nimport { ID } from '../constants';\n\nconst getQueryProps = (inheritedFilters, currentSchema, filterEntitySchema = {}) => {\n if (!currentSchema || !inheritedFilters.length) return ID;\n\n const { identifier: currentEntityId, properties } = currentSchema;\n const { identifier: filterEntityId } = filterEntitySchema;\n\n return inheritedFilters.reduce((acc, filter) => {\n const {\n filterName,\n relationName,\n relationProp,\n relationEntityName,\n isEntityItself,\n relationForeignKeys,\n shouldIgnoreFilter\n } = getFilterProps(filter, currentSchema, filterEntitySchema);\n if (shouldIgnoreFilter) return acc;\n if (relationForeignKeys && relationForeignKeys.length) {\n return `${acc} ${relationForeignKeys.join(' ')}`;\n }\n if (filterName === ID) {\n const queryValue = Object.keys(properties).find(\n propKey =>\n properties[propKey] &&\n properties[propKey].relation &&\n properties[propKey].relation.entityIdentifier === filterEntityId\n );\n if (queryValue) return `${acc} ${queryValue} `;\n }\n const queryProp = relationEntityName ? `${relationName} { ${relationProp} }` : filterName;\n const queryPropFinalValue =\n isEntityItself && isFilterEntitysId(filterName, currentEntityId) ? ID : queryProp;\n\n return `${acc} ${queryPropFinalValue} `;\n }, ID);\n};\n\nexport default getQueryProps;\n"],"mappings":";;;;;;;;;;;;;;AAAA,IAAAA,kBAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,gBAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AAEA,IAAMG,aAAa,GAAG,SAAhBA,aAAaA,CAAIC,gBAAgB,EAAEC,aAAa,EAA8B;EAAA,IAA5BC,kBAAkB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AACC,gBAAgB,KAAKrB,cAAc;MAAA,CACpE,CAAC;MACD,IAAIe,UAAU,EAAE,UAAAF,MAAA,CAAUX,GAAG,OAAAW,MAAA,CAAIE,UAAU;IAC7C;IACA,IAAMO,SAAS,GAAGb,kBAAkB,MAAAI,MAAA,CAAMN,YAAY,SAAAM,MAAA,CAAML,YAAY,UAAOF,UAAU;IACzF,IAAMiB,mBAAmB,GACvBb,cAAc,IAAI,IAAAc,6BAAiB,EAAClB,UAAU,EAAET,eAAe,CAAC,GAAGD,aAAE,GAAG0B,SAAS;IAEnF,UAAAT,MAAA,CAAUX,GAAG,OAAAW,MAAA,CAAIU,mBAAmB;EACtC,CAAC,EAAE3B,aAAE,CAAC;AACR,CAAC;AAAC,IAAA6B,QAAA,GAAAC,OAAA,cAEarC,aAAa"}
1
+ {"version":3,"file":"get-query-props.js","names":["_isFilterEntitysId","_interopRequireDefault","require","_getFilterProps2","_constants","getQueryProps","inheritedFilters","currentSchema","filterEntitySchema","arguments","length","undefined","ID","currentEntityId","identifier","properties","filterEntityId","reduce","acc","filter","_getFilterProps","getFilterProps","filterName","relationName","relationProp","relationEntityName","isEntityItself","relationForeignKeys","shouldIgnoreFilter","concat","join","queryValue","Object","keys","find","propKey","relation","entityIdentifier","queryProp","queryPropFinalValue","isFilterEntitysId","_default","exports"],"sources":["../../src/helpers/get-query-props.js"],"sourcesContent":["import isFilterEntitysId from './is-filter-entitys-id';\nimport getFilterProps from './get-filter-props';\nimport { ID } from '../constants';\n\nconst getQueryProps = (inheritedFilters, currentSchema, filterEntitySchema = {}) => {\n if (!currentSchema || !inheritedFilters.length) return ID;\n\n const { identifier: currentEntityId, properties } = currentSchema;\n const { identifier: filterEntityId } = filterEntitySchema;\n\n return inheritedFilters.reduce((acc, filter) => {\n const {\n filterName,\n relationName,\n relationProp,\n relationEntityName,\n isEntityItself,\n relationForeignKeys,\n shouldIgnoreFilter\n } = getFilterProps(filter, currentSchema, filterEntitySchema);\n if (shouldIgnoreFilter) return acc;\n if (relationForeignKeys && relationForeignKeys.length) {\n return `${acc} ${relationForeignKeys.join(' ')}`;\n }\n if (filterName === ID) {\n const queryValue = Object.keys(properties).find(\n propKey =>\n properties[propKey] &&\n properties[propKey].relation &&\n properties[propKey].relation.entityIdentifier === filterEntityId\n );\n if (queryValue) return `${acc} ${queryValue} `;\n }\n const queryProp = relationEntityName ? `${relationName} { ${relationProp} }` : filterName;\n const queryPropFinalValue =\n isEntityItself && isFilterEntitysId(filterName, currentEntityId) ? ID : queryProp;\n\n return `${acc} ${queryPropFinalValue} `;\n }, ID);\n};\n\nexport default getQueryProps;\n"],"mappings":";;;;;;;;;;;;;;AAAA,IAAAA,kBAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,gBAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AAEA,IAAMG,aAAa,GAAG,SAAhBA,aAAaA,CAAIC,gBAAgB,EAAEC,aAAa,EAA8B;EAAA,IAA5BC,kBAAkB,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EAC7E,IAAI,CAACF,aAAa,IAAI,CAACD,gBAAgB,CAACI,MAAM,EAAE,OAAOE,aAAE;EAEzD,IAAoBC,eAAe,GAAiBN,aAAa,CAAzDO,UAAU;IAAmBC,UAAU,GAAKR,aAAa,CAA5BQ,UAAU;EAC/C,IAAoBC,cAAc,GAAKR,kBAAkB,CAAjDM,UAAU;EAElB,OAAOR,gBAAgB,CAACW,MAAM,CAAC,UAACC,GAAG,EAAEC,MAAM,EAAK;IAC9C,IAAAC,eAAA,GAQI,IAAAC,2BAAc,EAACF,MAAM,EAAEZ,aAAa,EAAEC,kBAAkB,CAAC;MAP3Dc,UAAU,GAAAF,eAAA,CAAVE,UAAU;MACVC,YAAY,GAAAH,eAAA,CAAZG,YAAY;MACZC,YAAY,GAAAJ,eAAA,CAAZI,YAAY;MACZC,kBAAkB,GAAAL,eAAA,CAAlBK,kBAAkB;MAClBC,cAAc,GAAAN,eAAA,CAAdM,cAAc;MACdC,mBAAmB,GAAAP,eAAA,CAAnBO,mBAAmB;MACnBC,kBAAkB,GAAAR,eAAA,CAAlBQ,kBAAkB;IAEpB,IAAIA,kBAAkB,EAAE,OAAOV,GAAG;IAClC,IAAIS,mBAAmB,IAAIA,mBAAmB,CAACjB,MAAM,EAAE;MACrD,UAAAmB,MAAA,CAAUX,GAAG,OAAAW,MAAA,CAAIF,mBAAmB,CAACG,IAAI,CAAC,GAAG,CAAC;IAChD;IACA,IAAIR,UAAU,KAAKV,aAAE,EAAE;MACrB,IAAMmB,UAAU,GAAGC,MAAM,CAACC,IAAI,CAAClB,UAAU,CAAC,CAACmB,IAAI,CAC7C,UAAAC,OAAO;QAAA,OACLpB,UAAU,CAACoB,OAAO,CAAC,IACnBpB,UAAU,CAACoB,OAAO,CAAC,CAACC,QAAQ,IAC5BrB,UAAU,CAACoB,OAAO,CAAC,CAACC,QAAQ,CAACC,gBAAgB,KAAKrB,cAAc;MAAA,CACpE,CAAC;MACD,IAAIe,UAAU,EAAE,UAAAF,MAAA,CAAUX,GAAG,OAAAW,MAAA,CAAIE,UAAU;IAC7C;IACA,IAAMO,SAAS,GAAGb,kBAAkB,MAAAI,MAAA,CAAMN,YAAY,SAAAM,MAAA,CAAML,YAAY,UAAOF,UAAU;IACzF,IAAMiB,mBAAmB,GACvBb,cAAc,IAAI,IAAAc,6BAAiB,EAAClB,UAAU,EAAET,eAAe,CAAC,GAAGD,aAAE,GAAG0B,SAAS;IAEnF,UAAAT,MAAA,CAAUX,GAAG,OAAAW,MAAA,CAAIU,mBAAmB;EACtC,CAAC,EAAE3B,aAAE,CAAC;AACR,CAAC;AAAC,IAAA6B,QAAA,GAAAC,OAAA,cAEarC,aAAa","ignoreList":[]}
@@ -8,11 +8,11 @@ Object.defineProperty(exports, "__esModule", {
8
8
  exports["default"] = void 0;
9
9
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
10
10
  var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
11
- require("core-js/modules/es.array.filter.js");
12
- require("core-js/modules/es.object.to-string.js");
13
11
  require("core-js/modules/es.array.concat.js");
14
- require("core-js/modules/es.array.map.js");
12
+ require("core-js/modules/es.array.filter.js");
15
13
  require("core-js/modules/es.array.find.js");
14
+ require("core-js/modules/es.array.map.js");
15
+ require("core-js/modules/es.object.to-string.js");
16
16
  var getRequiredSchemas = function getRequiredSchemas(searchProperties) {
17
17
  var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
18
18
  id = _ref.id,
@@ -1 +1 @@
1
- {"version":3,"file":"get-required-schemas.js","names":["getRequiredSchemas","searchProperties","_ref","arguments","length","undefined","id","_ref$properties","properties","_ref$dynamicPropertie","dynamicProperties","_ref$relations","relations","concat","_toConsumableArray2","map","property","fieldParts","split","_property$split","_property$split2","_slicedToArray2","localFieldPart","matchingRelation","find","_ref2","localField","entityIdentifier","filter","Boolean","_default","exports"],"sources":["../../src/helpers/get-required-schemas.js"],"sourcesContent":["const getRequiredSchemas = (\n searchProperties,\n { id, properties = {}, dynamicProperties = {}, relations = [] } = {}\n) =>\n [\n id,\n ...searchProperties.map(property => {\n if (!property) return null;\n\n const fieldParts = property.split('.');\n const [localFieldPart] = property.split('.');\n\n if (\n fieldParts.length === 1 ||\n properties[localFieldPart] ||\n dynamicProperties[localFieldPart]\n ) {\n return null;\n }\n\n const matchingRelation = relations.find(({ localField }) => localField === localFieldPart);\n if (!matchingRelation) return null;\n\n return matchingRelation.entityIdentifier;\n })\n ].filter(Boolean);\n\nexport default getRequiredSchemas;\n"],"mappings":";;;;;;;;;;;;;;;AAAA,IAAMA,kBAAkB,GAAG,SAArBA,kBAAkBA,CACtBC,gBAAgB;EAAA,IAAAC,IAAA,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MACkD,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","_ref","arguments","length","undefined","id","_ref$properties","properties","_ref$dynamicPropertie","dynamicProperties","_ref$relations","relations","concat","_toConsumableArray2","map","property","fieldParts","split","_property$split","_property$split2","_slicedToArray2","localFieldPart","matchingRelation","find","_ref2","localField","entityIdentifier","filter","Boolean","_default","exports"],"sources":["../../src/helpers/get-required-schemas.js"],"sourcesContent":["const getRequiredSchemas = (\n searchProperties,\n { id, properties = {}, dynamicProperties = {}, relations = [] } = {}\n) =>\n [\n id,\n ...searchProperties.map(property => {\n if (!property) return null;\n\n const fieldParts = property.split('.');\n const [localFieldPart] = property.split('.');\n\n if (\n fieldParts.length === 1 ||\n properties[localFieldPart] ||\n dynamicProperties[localFieldPart]\n ) {\n return null;\n }\n\n const matchingRelation = relations.find(({ localField }) => localField === localFieldPart);\n if (!matchingRelation) return null;\n\n return matchingRelation.entityIdentifier;\n })\n ].filter(Boolean);\n\nexport default getRequiredSchemas;\n"],"mappings":";;;;;;;;;;;;;;;AAAA,IAAMA,kBAAkB,GAAG,SAArBA,kBAAkBA,CACtBC,gBAAgB;EAAA,IAAAC,IAAA,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MACkD,CAAC,CAAC;IAAlEG,EAAE,GAAAJ,IAAA,CAAFI,EAAE;IAAAC,eAAA,GAAAL,IAAA,CAAEM,UAAU;IAAVA,UAAU,GAAAD,eAAA,cAAG,CAAC,CAAC,GAAAA,eAAA;IAAAE,qBAAA,GAAAP,IAAA,CAAEQ,iBAAiB;IAAjBA,iBAAiB,GAAAD,qBAAA,cAAG,CAAC,CAAC,GAAAA,qBAAA;IAAAE,cAAA,GAAAT,IAAA,CAAEU,SAAS;IAATA,SAAS,GAAAD,cAAA,cAAG,EAAE,GAAAA,cAAA;EAAA,OAE7D,CACEL,EAAE,EAAAO,MAAA,KAAAC,mBAAA,aACCb,gBAAgB,CAACc,GAAG,CAAC,UAAAC,QAAQ,EAAI;IAClC,IAAI,CAACA,QAAQ,EAAE,OAAO,IAAI;IAE1B,IAAMC,UAAU,GAAGD,QAAQ,CAACE,KAAK,CAAC,GAAG,CAAC;IACtC,IAAAC,eAAA,GAAyBH,QAAQ,CAACE,KAAK,CAAC,GAAG,CAAC;MAAAE,gBAAA,OAAAC,eAAA,aAAAF,eAAA;MAArCG,cAAc,GAAAF,gBAAA;IAErB,IACEH,UAAU,CAACb,MAAM,KAAK,CAAC,IACvBI,UAAU,CAACc,cAAc,CAAC,IAC1BZ,iBAAiB,CAACY,cAAc,CAAC,EACjC;MACA,OAAO,IAAI;IACb;IAEA,IAAMC,gBAAgB,GAAGX,SAAS,CAACY,IAAI,CAAC,UAAAC,KAAA;MAAA,IAAGC,UAAU,GAAAD,KAAA,CAAVC,UAAU;MAAA,OAAOA,UAAU,KAAKJ,cAAc;IAAA,EAAC;IAC1F,IAAI,CAACC,gBAAgB,EAAE,OAAO,IAAI;IAElC,OAAOA,gBAAgB,CAACI,gBAAgB;EAC1C,CAAC,CAAC,GACFC,MAAM,CAACC,OAAO,CAAC;AAAA;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEL/B,kBAAkB","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"get-sanitized-prop-values.js","names":["getSanitizedPropValues","values","length","reduce","prev","curr","_default","exports"],"sources":["../../src/helpers/get-sanitized-prop-values.js"],"sourcesContent":["const getSanitizedPropValues = values =>\n values.length ? values.reduce((prev, curr) => (curr.length ? [prev, ', ', curr] : prev)) : values;\n\nexport default getSanitizedPropValues;\n"],"mappings":";;;;;;;;;AAAA,IAAMA,sBAAsB,GAAG,SAAzBA,sBAAsBA,CAAGC,MAAM;EAAA,OACnCA,MAAM,CAACC,MAAM,GAAGD,MAAM,CAACE,MAAM,CAAC,UAACC,IAAI,EAAEC,IAAI;IAAA,OAAMA,IAAI,CAACH,MAAM,GAAG,CAACE,IAAI,EAAE,IAAI,EAAEC,IAAI,CAAC,GAAGD,IAAI;EAAA,CAAC,CAAC,GAAGH,MAAM;AAAA;AAAC,IAAAK,QAAA,GAAAC,OAAA,cAErFP,sBAAsB"}
1
+ {"version":3,"file":"get-sanitized-prop-values.js","names":["getSanitizedPropValues","values","length","reduce","prev","curr","_default","exports"],"sources":["../../src/helpers/get-sanitized-prop-values.js"],"sourcesContent":["const getSanitizedPropValues = values =>\n values.length ? values.reduce((prev, curr) => (curr.length ? [prev, ', ', curr] : prev)) : values;\n\nexport default getSanitizedPropValues;\n"],"mappings":";;;;;;;;;AAAA,IAAMA,sBAAsB,GAAG,SAAzBA,sBAAsBA,CAAGC,MAAM;EAAA,OACnCA,MAAM,CAACC,MAAM,GAAGD,MAAM,CAACE,MAAM,CAAC,UAACC,IAAI,EAAEC,IAAI;IAAA,OAAMA,IAAI,CAACH,MAAM,GAAG,CAACE,IAAI,EAAE,IAAI,EAAEC,IAAI,CAAC,GAAGD,IAAI;EAAA,CAAC,CAAC,GAAGH,MAAM;AAAA;AAAC,IAAAK,QAAA,GAAAC,OAAA,cAErFP,sBAAsB","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"get-search-filter-type.js","names":["getSearchFilterType","_ref","type","_ref$settings","settings","_ref$settings2","_ref$settings2$filter","filters","length","filter","_ref2","filterType","_default","exports"],"sources":["../../src/helpers/get-search-filter-type.js"],"sourcesContent":["const getSearchFilterType = ({ settings: { filters = [] } = {} }, type) => {\n if (!filters.length) return [];\n\n return filters.filter(({ type: filterType }) => filterType === type);\n};\n\nexport default getSearchFilterType;\n"],"mappings":";;;;;;;;;AAAA,IAAMA,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAAC,IAAA,EAAyCC,IAAI,EAAK;EAAA,IAAAC,aAAA,GAAAF,IAAA,CAA5CG,QAAQ;IAAAC,cAAA,GAAAF,aAAA,cAAqB,CAAC,CAAC,GAAAA,aAAA;IAAAG,qBAAA,GAAAD,cAAA,CAAnBE,OAAO;IAAPA,OAAO,GAAAD,qBAAA,cAAG,EAAE,GAAAA,qBAAA;EACrD,IAAI,CAACC,OAAO,CAACC,MAAM,EAAE,OAAO,EAAE;EAE9B,OAAOD,OAAO,CAACE,MAAM,CAAC,UAAAC,KAAA;IAAA,IAASC,UAAU,GAAAD,KAAA,CAAhBR,IAAI;IAAA,OAAmBS,UAAU,KAAKT,IAAI;EAAA,EAAC;AACtE,CAAC;AAAC,IAAAU,QAAA,GAAAC,OAAA,cAEab,mBAAmB"}
1
+ {"version":3,"file":"get-search-filter-type.js","names":["getSearchFilterType","_ref","type","_ref$settings","settings","_ref$settings2","_ref$settings2$filter","filters","length","filter","_ref2","filterType","_default","exports"],"sources":["../../src/helpers/get-search-filter-type.js"],"sourcesContent":["const getSearchFilterType = ({ settings: { filters = [] } = {} }, type) => {\n if (!filters.length) return [];\n\n return filters.filter(({ type: filterType }) => filterType === type);\n};\n\nexport default getSearchFilterType;\n"],"mappings":";;;;;;;;;AAAA,IAAMA,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAAC,IAAA,EAAyCC,IAAI,EAAK;EAAA,IAAAC,aAAA,GAAAF,IAAA,CAA5CG,QAAQ;IAAAC,cAAA,GAAAF,aAAA,cAAqB,CAAC,CAAC,GAAAA,aAAA;IAAAG,qBAAA,GAAAD,cAAA,CAAnBE,OAAO;IAAPA,OAAO,GAAAD,qBAAA,cAAG,EAAE,GAAAA,qBAAA;EACrD,IAAI,CAACC,OAAO,CAACC,MAAM,EAAE,OAAO,EAAE;EAE9B,OAAOD,OAAO,CAACE,MAAM,CAAC,UAAAC,KAAA;IAAA,IAASC,UAAU,GAAAD,KAAA,CAAhBR,IAAI;IAAA,OAAmBS,UAAU,KAAKT,IAAI;EAAA,EAAC;AACtE,CAAC;AAAC,IAAAU,QAAA,GAAAC,OAAA,cAEab,mBAAmB","ignoreList":[]}
@@ -7,12 +7,12 @@ 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.is-array.js");
11
- require("core-js/modules/es.array.includes.js");
12
- require("core-js/modules/es.string.includes.js");
10
+ require("core-js/modules/es.array.concat.js");
13
11
  require("core-js/modules/es.array.filter.js");
12
+ require("core-js/modules/es.array.includes.js");
13
+ require("core-js/modules/es.array.is-array.js");
14
14
  require("core-js/modules/es.object.to-string.js");
15
- require("core-js/modules/es.array.concat.js");
15
+ require("core-js/modules/es.string.includes.js");
16
16
  var _constants = require("../constants");
17
17
  var buildFieldName = function buildFieldName(relations, fieldValue, stringProps) {
18
18
  var field = Array.isArray(fieldValue) ? fieldValue[0] : fieldValue;
@@ -1 +1 @@
1
- {"version":3,"file":"get-sort-by-field-name.js","names":["_constants","require","buildFieldName","relations","fieldValue","stringProps","field","Array","isArray","updatedField","includes","_field$split","split","_field$split2","_slicedToArray2","relationName","relationProp","_relations$filter","filter","_ref","localField","_relations$filter2","relation","_ref2","_ref2$entityIdentifie","entityIdentifier","concat","KEYWORD","getSortbyFieldName","sortby","isSortbyArray","_default","exports"],"sources":["../../src/helpers/get-sort-by-field-name.js"],"sourcesContent":["import { KEYWORD } from '../constants';\n\nconst buildFieldName = (relations, fieldValue, stringProps) => {\n const field = Array.isArray(fieldValue) ? fieldValue[0] : fieldValue;\n if (!field) return null;\n\n let updatedField = field;\n\n if (field.includes('.')) {\n const [relationName, relationProp] = field.split('.');\n\n const [relation] = relations.filter(({ localField }) => localField === relationName);\n const { entityIdentifier = '' } = relation || {};\n if (entityIdentifier && entityIdentifier !== relationName)\n updatedField = `${entityIdentifier}.${relationProp}`;\n }\n return stringProps.includes(updatedField) ? `${field}.${KEYWORD}` : field;\n};\n\nconst getSortbyFieldName = (relations, sortby, stringProps, isSortbyArray) =>\n isSortbyArray\n ? buildFieldName(relations, sortby[0], stringProps)\n : buildFieldName(relations, sortby, stringProps);\n\nexport default getSortbyFieldName;\n"],"mappings":";;;;;;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAEA,IAAMC,cAAc,GAAG,SAAjBA,cAA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c,CAACC,SAAS,EAAE0B,MAAM,CAAC,CAAC,CAAC,EAAExB,WAAW,CAAC,GACjDH,cAAc,CAACC,SAAS,EAAE0B,MAAM,EAAExB,WAAW,CAAC;AAAA;AAAC,IAAA0B,QAAA,GAAAC,OAAA,cAEtCJ,kBAAkB"}
1
+ {"version":3,"file":"get-sort-by-field-name.js","names":["_constants","require","buildFieldName","relations","fieldValue","stringProps","field","Array","isArray","updatedField","includes","_field$split","split","_field$split2","_slicedToArray2","relationName","relationProp","_relations$filter","filter","_ref","localField","_relations$filter2","relation","_ref2","_ref2$entityIdentifie","entityIdentifier","concat","KEYWORD","getSortbyFieldName","sortby","isSortbyArray","_default","exports"],"sources":["../../src/helpers/get-sort-by-field-name.js"],"sourcesContent":["import { KEYWORD } from '../constants';\n\nconst buildFieldName = (relations, fieldValue, stringProps) => {\n const field = Array.isArray(fieldValue) ? fieldValue[0] : fieldValue;\n if (!field) return null;\n\n let updatedField = field;\n\n if (field.includes('.')) {\n const [relationName, relationProp] = field.split('.');\n\n const [relation] = relations.filter(({ localField }) => localField === relationName);\n const { entityIdentifier = '' } = relation || {};\n if (entityIdentifier && entityIdentifier !== relationName)\n updatedField = `${entityIdentifier}.${relationProp}`;\n }\n return stringProps.includes(updatedField) ? `${field}.${KEYWORD}` : field;\n};\n\nconst getSortbyFieldName = (relations, sortby, stringProps, isSortbyArray) =>\n isSortbyArray\n ? buildFieldName(relations, sortby[0], stringProps)\n : buildFieldName(relations, sortby, stringProps);\n\nexport default getSortbyFieldName;\n"],"mappings":";;;;;;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAEA,IAAMC,cAAc,GAAG,SAAjBA,cAAcA,CAAIC,SAAS,EAAEC,UAAU,EAAEC,WAAW,EAAK;EAC7D,IAAMC,KAAK,GAAGC,KAAK,CAACC,OAAO,CAACJ,UAAU,CAAC,GAAGA,UAAU,CAAC,CAAC,CAAC,GAAGA,UAAU;EACpE,IAAI,CAACE,KAAK,EAAE,OAAO,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@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports["default"] = void 0;
8
- require("core-js/modules/es.array.join.js");
9
8
  require("core-js/modules/es.array.filter.js");
9
+ require("core-js/modules/es.array.join.js");
10
10
  require("core-js/modules/es.object.to-string.js");
11
11
  require("core-js/modules/es.regexp.exec.js");
12
12
  require("core-js/modules/es.string.split.js");
@@ -1 +1 @@
1
- {"version":3,"file":"get-unpublished-entity-name.js","names":["_constants","require","UNDERSCORE","getUnpublishedEntityName","entity","split","filter","word","PUBLISHED","join","_default","exports"],"sources":["../../src/helpers/get-unpublished-entity-name.js"],"sourcesContent":["import { PUBLISHED } from '../constants';\n\nconst UNDERSCORE = '_';\n\nconst getUnpublishedEntityName = entity =>\n entity\n .split(UNDERSCORE)\n .filter(word => word !== PUBLISHED)\n .join(UNDERSCORE);\n\nexport default getUnpublishedEntityName;\n"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAEA,IAAMC,UAAU,GAAG,GAAG;AAEtB,IAAMC,wBAAwB,GAAG,SAA3BA,wBAAwBA,CAAGC,MAAM;EAAA,OACrCA,MAAM,CACHC,KAAK,CAACH,UAAU,CAAC,CACjBI,MAAM,CAAC,UAAAC,IAAI;IAAA,OAAIA,IAAI,KAAKC,oBAAS;EAAA,EAAC,CAClCC,IAAI,CAACP,UAAU,CAAC;AAAA;AAAC,IAAAQ,QAAA,GAAAC,OAAA,cAEPR,wBAAwB"}
1
+ {"version":3,"file":"get-unpublished-entity-name.js","names":["_constants","require","UNDERSCORE","getUnpublishedEntityName","entity","split","filter","word","PUBLISHED","join","_default","exports"],"sources":["../../src/helpers/get-unpublished-entity-name.js"],"sourcesContent":["import { PUBLISHED } from '../constants';\n\nconst UNDERSCORE = '_';\n\nconst getUnpublishedEntityName = entity =>\n entity\n .split(UNDERSCORE)\n .filter(word => word !== PUBLISHED)\n .join(UNDERSCORE);\n\nexport default getUnpublishedEntityName;\n"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAEA,IAAMC,UAAU,GAAG,GAAG;AAEtB,IAAMC,wBAAwB,GAAG,SAA3BA,wBAAwBA,CAAGC,MAAM;EAAA,OACrCA,MAAM,CACHC,KAAK,CAACH,UAAU,CAAC,CACjBI,MAAM,CAAC,UAAAC,IAAI;IAAA,OAAIA,IAAI,KAAKC,oBAAS;EAAA,EAAC,CAClCC,IAAI,CAACP,UAAU,CAAC;AAAA;AAAC,IAAAQ,QAAA,GAAAC,OAAA,cAEPR,wBAAwB","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"get-updated-filter-by.js","names":["_lodash","_interopRequireDefault","require","_buildInheritedFilters","getUpdatedFilterBy","inheritedFilters","entityData","currentSchema","filterEntitySchema","itemId","props","length","relationFilters","buildInheritedFilters","uniq","concat","_toConsumableArray2","filterBy","_default","exports"],"sources":["../../src/helpers/get-updated-filter-by.js"],"sourcesContent":["import uniq from 'lodash.uniq';\nimport buildInheritedFilters from './build-inherited-filters';\n\nconst getUpdatedFilterBy = (\n inheritedFilters,\n entityData,\n currentSchema,\n filterEntitySchema,\n itemId,\n props\n) => {\n if (inheritedFilters && inheritedFilters.length) {\n const relationFilters = buildInheritedFilters(\n entityData,\n inheritedFilters,\n currentSchema,\n filterEntitySchema,\n itemId\n );\n\n return relationFilters.length ? uniq([...props.filterBy, ...relationFilters]) : null;\n }\n return [];\n};\n\nexport default getUpdatedFilterBy;\n"],"mappings":";;;;;;;;;;AAAA,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,sBAAA,GAAAF,sBAAA,CAAAC,OAAA;AAEA,IAAME,kBAAkB,GAAG,SAArBA,kBAAkBA,CACtBC,gBAAgB,EAChBC,UAAU,EACVC,aAAa,EACbC,kBAAkB,EAClBC,MAAM,EACNC,KAAK,EACF;EACH,IAAIL,gBAAgB,IAAIA,gBAAgB,CAACM,MAAM,EAAE;IAC/C,IAAMC,eAAe,GAAG,IAAAC,iCAAqB,EAC3CP,UAAU,EACVD,gBAAgB,EAChBE,aAAa,EACbC,kBAAkB,EAClBC,MACF,CAAC;IAED,OAAOG,eAAe,CAACD,MAAM,GAAG,IAAAG,kBAAI,KAAAC,MAAA,KAAAC,mBAAA,aAAKN,KAAK,CAACO,QAAQ,OAAAD,mBAAA,aAAKJ,eAAe,EAAC,CAAC,GAAG,IAAI;EACtF;EACA,OAAO,EAAE;AACX,CAAC;AAAC,IAAAM,QAAA,GAAAC,OAAA,cAEaf,kBAAkB"}
1
+ {"version":3,"file":"get-updated-filter-by.js","names":["_lodash","_interopRequireDefault","require","_buildInheritedFilters","getUpdatedFilterBy","inheritedFilters","entityData","currentSchema","filterEntitySchema","itemId","props","length","relationFilters","buildInheritedFilters","uniq","concat","_toConsumableArray2","filterBy","_default","exports"],"sources":["../../src/helpers/get-updated-filter-by.js"],"sourcesContent":["import uniq from 'lodash.uniq';\nimport buildInheritedFilters from './build-inherited-filters';\n\nconst getUpdatedFilterBy = (\n inheritedFilters,\n entityData,\n currentSchema,\n filterEntitySchema,\n itemId,\n props\n) => {\n if (inheritedFilters && inheritedFilters.length) {\n const relationFilters = buildInheritedFilters(\n entityData,\n inheritedFilters,\n currentSchema,\n filterEntitySchema,\n itemId\n );\n\n return relationFilters.length ? uniq([...props.filterBy, ...relationFilters]) : null;\n }\n return [];\n};\n\nexport default getUpdatedFilterBy;\n"],"mappings":";;;;;;;;;;AAAA,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,sBAAA,GAAAF,sBAAA,CAAAC,OAAA;AAEA,IAAME,kBAAkB,GAAG,SAArBA,kBAAkBA,CACtBC,gBAAgB,EAChBC,UAAU,EACVC,aAAa,EACbC,kBAAkB,EAClBC,MAAM,EACNC,KAAK,EACF;EACH,IAAIL,gBAAgB,IAAIA,gBAAgB,CAACM,MAAM,EAAE;IAC/C,IAAMC,eAAe,GAAG,IAAAC,iCAAqB,EAC3CP,UAAU,EACVD,gBAAgB,EAChBE,aAAa,EACbC,kBAAkB,EAClBC,MACF,CAAC;IAED,OAAOG,eAAe,CAACD,MAAM,GAAG,IAAAG,kBAAI,KAAAC,MAAA,KAAAC,mBAAA,aAAKN,KAAK,CAACO,QAAQ,OAAAD,mBAAA,aAAKJ,eAAe,EAAC,CAAC,GAAG,IAAI;EACtF;EACA,OAAO,EAAE;AACX,CAAC;AAAC,IAAAM,QAAA,GAAAC,OAAA,cAEaf,kBAAkB","ignoreList":[]}
@@ -9,11 +9,11 @@ exports["default"] = void 0;
9
9
  var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
10
10
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
11
11
  require("core-js/modules/es.array.find.js");
12
- require("core-js/modules/es.object.to-string.js");
12
+ require("core-js/modules/es.array.for-each.js");
13
13
  require("core-js/modules/es.array.index-of.js");
14
- require("core-js/modules/es.object.keys.js");
15
14
  require("core-js/modules/es.array.is-array.js");
16
- require("core-js/modules/es.array.for-each.js");
15
+ require("core-js/modules/es.object.keys.js");
16
+ require("core-js/modules/es.object.to-string.js");
17
17
  require("core-js/modules/web.dom-collections.for-each.js");
18
18
  var getUpdatedItemsToDisplay = function getUpdatedItemsToDisplay(_ref) {
19
19
  var parentSchema = _ref.parentSchema,
@@ -1 +1 @@
1
- {"version":3,"file":"get-updated-items-to-display.js","names":["getUpdatedItemsToDisplay","_ref","parentSchema","parentEntityData","_ref$itemsToDisplay","itemsToDisplay","_ref$inheritedFilters","inheritedFilters","idProp","find","filter","indexOf","properties","_idProp$split","split","_idProp$split2","_slicedToArray2","entityKey","queryValue","Object","keys","propKey","relation","entityIdentifier","parentValues","updatedItemsToDisplay","_toConsumableArray2","Array","isArray","forEach","value","push","displayItems","_default","exports"],"sources":["../../src/helpers/get-updated-items-to-display.js"],"sourcesContent":["const getUpdatedItemsToDisplay = ({\n parentSchema,\n parentEntityData,\n itemsToDisplay = [],\n inheritedFilters = []\n}) => {\n const idProp = inheritedFilters.find(filter => filter.indexOf('id/') === 0);\n\n if (!idProp || !parentSchema || !parentEntityData) return itemsToDisplay;\n const { properties } = parentSchema;\n const [, entityKey] = idProp.split('/');\n if (!properties || !entityKey) return itemsToDisplay;\n const queryValue = Object.keys(properties).find(\n propKey =>\n properties[propKey] &&\n properties[propKey].relation &&\n properties[propKey].relation.entityIdentifier === entityKey\n );\n const parentValues = parentEntityData[queryValue];\n if (!parentValues) return itemsToDisplay;\n const updatedItemsToDisplay = [...itemsToDisplay];\n if (Array.isArray(parentValues)) {\n parentValues.forEach(value => {\n updatedItemsToDisplay.push({ displayItems: [value] });\n });\n } else {\n updatedItemsToDisplay.push({ displayItems: [parentValues] });\n }\n return updatedItemsToDisplay;\n};\n\nexport default getUpdatedItemsToDisplay;\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA,IAAMA,wBAAwB,GAAG,SAA3BA,wBAAwBA,CAAAC,IAAA,EAKxB;EAAA,IAJJC,YAAY,GAAAD,IAAA,CAAZC,YAAY;IACZC,gBAAgB,GAAAF,IAAA,CAAhBE,gBAAgB;IAAAC,mBAAA,GAAAH,IAAA,CAChBI,cAAc;IAAdA,cAAc,GAAAD,mBAAA,cAAG,EAAE,GAAAA,mBAAA;IAAAE,qBAAA,GAAAL,IAAA,CACnBM,gBAAgB;IAAhBA,gBAAgB,GAAAD,qBAAA,cAAG,EAAE,GAAAA,qBAAA;EAErB,IAAME,MAAM,GAAGD,gBAAgB,CAACE,IAAI,CAAC,UAAAC,MAAM;IAAA,OAAIA,MAAM,CAACC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC;EAAA,EAAC;EAE3E,IAAI,CAACH,MAAM,IAAI,CAACN,YAAY,IAAI,CAACC,gBAAgB,EAAE,OAAOE,cAAc;EACxE,IAAQO,UAAU,GAAKV,YAAY,CAA3BU,UAAU;EAClB,IAAAC,aAAA,GAAsBL,MAAM,CAACM,KAAK,CAAC,GAAG,CAAC;IAAAC,cAAA,OAAAC,eAAA,aAAAH,aAAA;IAA9BI,SAAS,GAAAF,cAAA;EAClB,IAAI,CAACH,UAAU,IAAI,CAACK,SAAS,EAAE,OAAOZ,cAAc;EACpD,IAAMa,UAAU,GAAGC,MAAM,CAACC,IAAI,CAACR,UAAU,CAAC,CAACH,IAAI,CAC7C,UAAAY,OAAO;IAAA,OACLT,UAAU,CAACS,OAAO,CAAC,IACnBT,UAAU,CAACS,OAAO,CAAC,CAACC,QAAQ,IAC5BV,UAAU,CAACS,OAAO,CAAC,CAACC,QAAQ,CAACC,gBAAgB,KAAKN,SAAS;EAAA,CAC/D,CAAC;EACD,IAAMO,YAAY,GAAGrB,gBAAgB,CAACe,UAAU,CAAC;EACjD,IAAI,CAACM,YAAY,EAAE,OAAOnB,cAAc;EACxC,IAAMoB,qBAAqB,OAAAC,mBAAA,aAAOrB,cAAc,CAAC;EACjD,IAAIsB,KAAK,CAACC,OAAO,CAACJ,YAAY,CAAC,EAAE;IAC/BA,YAAY,CAACK,OAAO,CAAC,UAAAC,KAAK,EAAI;MAC5BL,qBAAqB,CAACM,IAAI,CAAC;QAAEC,YAAY,EAAE,CAACF,KAAK;MAAE,CAAC,CAAC;IACvD,CAAC,CAAC;EACJ,CAAC,MAAM;IACLL,qBAAqB,CAACM,IAAI,CAAC;MAAEC,YAAY,EAAE,CAACR,YAAY;IAAE,CAAC,CAAC;EAC9D;EACA,OAAOC,qBAAqB;AAC9B,CAAC;AAAC,IAAAQ,QAAA,GAAAC,OAAA,cAEalC,wBAAwB"}
1
+ {"version":3,"file":"get-updated-items-to-display.js","names":["getUpdatedItemsToDisplay","_ref","parentSchema","parentEntityData","_ref$itemsToDisplay","itemsToDisplay","_ref$inheritedFilters","inheritedFilters","idProp","find","filter","indexOf","properties","_idProp$split","split","_idProp$split2","_slicedToArray2","entityKey","queryValue","Object","keys","propKey","relation","entityIdentifier","parentValues","updatedItemsToDisplay","_toConsumableArray2","Array","isArray","forEach","value","push","displayItems","_default","exports"],"sources":["../../src/helpers/get-updated-items-to-display.js"],"sourcesContent":["const getUpdatedItemsToDisplay = ({\n parentSchema,\n parentEntityData,\n itemsToDisplay = [],\n inheritedFilters = []\n}) => {\n const idProp = inheritedFilters.find(filter => filter.indexOf('id/') === 0);\n\n if (!idProp || !parentSchema || !parentEntityData) return itemsToDisplay;\n const { properties } = parentSchema;\n const [, entityKey] = idProp.split('/');\n if (!properties || !entityKey) return itemsToDisplay;\n const queryValue = Object.keys(properties).find(\n propKey =>\n properties[propKey] &&\n properties[propKey].relation &&\n properties[propKey].relation.entityIdentifier === entityKey\n );\n const parentValues = parentEntityData[queryValue];\n if (!parentValues) return itemsToDisplay;\n const updatedItemsToDisplay = [...itemsToDisplay];\n if (Array.isArray(parentValues)) {\n parentValues.forEach(value => {\n updatedItemsToDisplay.push({ displayItems: [value] });\n });\n } else {\n updatedItemsToDisplay.push({ displayItems: [parentValues] });\n }\n return updatedItemsToDisplay;\n};\n\nexport default getUpdatedItemsToDisplay;\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA,IAAMA,wBAAwB,GAAG,SAA3BA,wBAAwBA,CAAAC,IAAA,EAKxB;EAAA,IAJJC,YAAY,GAAAD,IAAA,CAAZC,YAAY;IACZC,gBAAgB,GAAAF,IAAA,CAAhBE,gBAAgB;IAAAC,mBAAA,GAAAH,IAAA,CAChBI,cAAc;IAAdA,cAAc,GAAAD,mBAAA,cAAG,EAAE,GAAAA,mBAAA;IAAAE,qBAAA,GAAAL,IAAA,CACnBM,gBAAgB;IAAhBA,gBAAgB,GAAAD,qBAAA,cAAG,EAAE,GAAAA,qBAAA;EAErB,IAAME,MAAM,GAAGD,gBAAgB,CAACE,IAAI,CAAC,UAAAC,MAAM;IAAA,OAAIA,MAAM,CAACC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC;EAAA,EAAC;EAE3E,IAAI,CAACH,MAAM,IAAI,CAACN,YAAY,IAAI,CAACC,gBAAgB,EAAE,OAAOE,cAAc;EACxE,IAAQO,UAAU,GAAKV,YAAY,CAA3BU,UAAU;EAClB,IAAAC,aAAA,GAAsBL,MAAM,CAACM,KAAK,CAAC,GAAG,CAAC;IAAAC,cAAA,OAAAC,eAAA,aAAAH,aAAA;IAA9BI,SAAS,GAAAF,cAAA;EAClB,IAAI,CAACH,UAAU,IAAI,CAACK,SAAS,EAAE,OAAOZ,cAAc;EACpD,IAAMa,UAAU,GAAGC,MAAM,CAACC,IAAI,CAACR,UAAU,CAAC,CAACH,IAAI,CAC7C,UAAAY,OAAO;IAAA,OACLT,UAAU,CAACS,OAAO,CAAC,IACnBT,UAAU,CAACS,OAAO,CAAC,CAACC,QAAQ,IAC5BV,UAAU,CAACS,OAAO,CAAC,CAACC,QAAQ,CAACC,gBAAgB,KAAKN,SAAS;EAAA,CAC/D,CAAC;EACD,IAAMO,YAAY,GAAGrB,gBAAgB,CAACe,UAAU,CAAC;EACjD,IAAI,CAACM,YAAY,EAAE,OAAOnB,cAAc;EACxC,IAAMoB,qBAAqB,OAAAC,mBAAA,aAAOrB,cAAc,CAAC;EACjD,IAAIsB,KAAK,CAACC,OAAO,CAACJ,YAAY,CAAC,EAAE;IAC/BA,YAAY,CAACK,OAAO,CAAC,UAAAC,KAAK,EAAI;MAC5BL,qBAAqB,CAACM,IAAI,CAAC;QAAEC,YAAY,EAAE,CAACF,KAAK;MAAE,CAAC,CAAC;IACvD,CAAC,CAAC;EACJ,CAAC,MAAM;IACLL,qBAAqB,CAACM,IAAI,CAAC;MAAEC,YAAY,EAAE,CAACR,YAAY;IAAE,CAAC,CAAC;EAC9D;EACA,OAAOC,qBAAqB;AAC9B,CAAC;AAAC,IAAAQ,QAAA,GAAAC,OAAA,cAEalC,wBAAwB","ignoreList":[]}
@@ -6,11 +6,11 @@ Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
8
  exports["default"] = void 0;
9
+ require("core-js/modules/es.array.filter.js");
9
10
  require("core-js/modules/es.array.flat.js");
11
+ require("core-js/modules/es.array.map.js");
10
12
  require("core-js/modules/es.array.unscopables.flat.js");
11
- require("core-js/modules/es.array.filter.js");
12
13
  require("core-js/modules/es.object.to-string.js");
13
- require("core-js/modules/es.array.map.js");
14
14
  var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
15
15
  var getUpdatedSortProperties = function getUpdatedSortProperties(sort, sortby) {
16
16
  var sortProperties = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
@@ -1 +1 @@
1
- {"version":3,"file":"get-updated-sort-properties.js","names":["getUpdatedSortProperties","sort","sortby","sortProperties","arguments","length","undefined","updatedSortProperties","_toConsumableArray2","unshift","propsToDisplay","sortbyFilters","map","_ref","filter","Boolean","flat","_default","exports"],"sources":["../../src/helpers/get-updated-sort-properties.js"],"sourcesContent":["const getUpdatedSortProperties = (sort, sortby, sortProperties = []) => {\n const updatedSortProperties = [...sortProperties];\n if (!updatedSortProperties.length && sort) {\n updatedSortProperties.unshift({ sort, propsToDisplay: sortby });\n }\n\n const sortbyFilters = updatedSortProperties\n .map(({ propsToDisplay }) => propsToDisplay)\n .filter(Boolean)\n .flat();\n return [updatedSortProperties, sortbyFilters];\n};\n\nexport default getUpdatedSortProperties;\n"],"mappings":";;;;;;;;;;;;;;AAAA,IAAMA,wBAAwB,GAAG,SAA3BA,wBAAwBA,CAAIC,IAAI,EAAEC,MAAM,EAA0B;EAAA,IAAxBC,cAAc,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,EAAE;EACjE,IAAMG,qBAAqB,OAAAC,mBAAA,aAAOL,cAAc,CAAC;EACjD,IAAI,CAACI,qBAAqB,CAACF,MAAM,IAAIJ,IAAI,EAAE;IACzCM,qBAAqB,CAACE,OAAO,CAAC;MAAER,IAAI,EAAJA,IAAI;MAAES,cAAc,EAAER;IAAO,CAAC,CAAC;EACjE;EAEA,IAAMS,aAAa,GAAGJ,qBAAqB,CACxCK,GAAG,CAAC,UAAAC,IAAA;IAAA,IAAGH,cAAc,GAAAG,IAAA,CAAdH,cAAc;IAAA,OAAOA,cAAc;EAAA,EAAC,CAC3CI,MAAM,CAACC,OAAO,CAAC,CACfC,IAAI,CAAC,CAAC;EACT,OAAO,CAACT,qBAAqB,EAAEI,aAAa,CAAC;AAC/C,CAAC;AAAC,IAAAM,QAAA,GAAAC,OAAA,cAEalB,wBAAwB"}
1
+ {"version":3,"file":"get-updated-sort-properties.js","names":["getUpdatedSortProperties","sort","sortby","sortProperties","arguments","length","undefined","updatedSortProperties","_toConsumableArray2","unshift","propsToDisplay","sortbyFilters","map","_ref","filter","Boolean","flat","_default","exports"],"sources":["../../src/helpers/get-updated-sort-properties.js"],"sourcesContent":["const getUpdatedSortProperties = (sort, sortby, sortProperties = []) => {\n const updatedSortProperties = [...sortProperties];\n if (!updatedSortProperties.length && sort) {\n updatedSortProperties.unshift({ sort, propsToDisplay: sortby });\n }\n\n const sortbyFilters = updatedSortProperties\n .map(({ propsToDisplay }) => propsToDisplay)\n .filter(Boolean)\n .flat();\n return [updatedSortProperties, sortbyFilters];\n};\n\nexport default getUpdatedSortProperties;\n"],"mappings":";;;;;;;;;;;;;;AAAA,IAAMA,wBAAwB,GAAG,SAA3BA,wBAAwBA,CAAIC,IAAI,EAAEC,MAAM,EAA0B;EAAA,IAAxBC,cAAc,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,EAAE;EACjE,IAAMG,qBAAqB,OAAAC,mBAAA,aAAOL,cAAc,CAAC;EACjD,IAAI,CAACI,qBAAqB,CAACF,MAAM,IAAIJ,IAAI,EAAE;IACzCM,qBAAqB,CAACE,OAAO,CAAC;MAAER,IAAI,EAAJA,IAAI;MAAES,cAAc,EAAER;IAAO,CAAC,CAAC;EACjE;EAEA,IAAMS,aAAa,GAAGJ,qBAAqB,CACxCK,GAAG,CAAC,UAAAC,IAAA;IAAA,IAAGH,cAAc,GAAAG,IAAA,CAAdH,cAAc;IAAA,OAAOA,cAAc;EAAA,EAAC,CAC3CI,MAAM,CAACC,OAAO,CAAC,CACfC,IAAI,CAAC,CAAC;EACT,OAAO,CAACT,qBAAqB,EAAEI,aAAa,CAAC;AAC/C,CAAC;AAAC,IAAAM,QAAA,GAAAC,OAAA,cAEalB,wBAAwB","ignoreList":[]}
@@ -7,8 +7,9 @@ Object.defineProperty(exports, "__esModule", {
7
7
  });
8
8
  exports["default"] = void 0;
9
9
  require("core-js/modules/es.array.is-array.js");
10
- require("core-js/modules/es.array.map.js");
11
10
  require("core-js/modules/es.array.join.js");
11
+ require("core-js/modules/es.array.map.js");
12
+ require("core-js/modules/es.object.to-string.js");
12
13
  var _react = _interopRequireDefault(require("react"));
13
14
  var _BlazeLink = _interopRequireDefault(require("../components/BlazeLink"));
14
15
  var getWrappedValueWithLink = function getWrappedValueWithLink(value, link) {
@@ -1 +1 @@
1
- {"version":3,"file":"get-wrapped-value-with-link.js","names":["_react","_interopRequireDefault","require","_BlazeLink","getWrappedValueWithLink","value","link","keyPrefix","arguments","length","undefined","Array","isArray","arrayResults","map","arrValue","index","keyField","url","keyValue","isLastItem","keyFieldValue","createElement","Fragment","key","join","href","_default","exports"],"sources":["../../src/helpers/get-wrapped-value-with-link.js"],"sourcesContent":["import React from 'react';\nimport BlazeLink from '../components/BlazeLink';\n\nconst getWrappedValueWithLink = (value, link, keyPrefix = '') => {\n if (Array.isArray(value)) {\n const arrayResults = value.map((arrValue, index) => {\n const { keyField, url } = arrValue;\n const keyValue = arrValue[keyField];\n\n const isLastItem = index === value.length - 1;\n const keyFieldValue = isLastItem ? keyValue : <>{keyValue}, </>;\n\n return url ? (\n <BlazeLink key={[keyPrefix, index].join('-')} href={url}>\n {<>{keyFieldValue} </>}\n </BlazeLink>\n ) : (\n <>{keyFieldValue} </>\n );\n });\n\n return arrayResults.length ? arrayResults : null;\n }\n\n return link ? <BlazeLink href={link}>{value}</BlazeLink> : value;\n};\n\nexport default getWrappedValueWithLink;\n"],"mappings":";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AOP,IAAI,gBAAGN,MAAA,YAAAsB,aAAA,CAACnB,UAAA,WAAS;IAACuB,IAAI,EAAEpB;EAAK,GAAED,KAAiB,CAAC,GAAGA,KAAK;AAClE,CAAC;AAAC,IAAAsB,QAAA,GAAAC,OAAA,cAEaxB,uBAAuB"}
1
+ {"version":3,"file":"get-wrapped-value-with-link.js","names":["_react","_interopRequireDefault","require","_BlazeLink","getWrappedValueWithLink","value","link","keyPrefix","arguments","length","undefined","Array","isArray","arrayResults","map","arrValue","index","keyField","url","keyValue","isLastItem","keyFieldValue","createElement","Fragment","key","join","href","_default","exports"],"sources":["../../src/helpers/get-wrapped-value-with-link.js"],"sourcesContent":["import React from 'react';\nimport BlazeLink from '../components/BlazeLink';\n\nconst getWrappedValueWithLink = (value, link, keyPrefix = '') => {\n if (Array.isArray(value)) {\n const arrayResults = value.map((arrValue, index) => {\n const { keyField, url } = arrValue;\n const keyValue = arrValue[keyField];\n\n const isLastItem = index === value.length - 1;\n const keyFieldValue = isLastItem ? keyValue : <>{keyValue}, </>;\n\n return url ? (\n <BlazeLink key={[keyPrefix, index].join('-')} href={url}>\n <>{keyFieldValue} </>\n </BlazeLink>\n ) : (\n <>{keyFieldValue} </>\n );\n });\n\n return arrayResults.length ? arrayResults : null;\n }\n\n return link ? <BlazeLink href={link}>{value}</BlazeLink> : value;\n};\n\nexport default getWrappedValueWithLink;\n"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AAEA,IAAME,uBAAuB,GAAG,SAA1BA,uBAAuBA,CAAIC,KAAK,EAAEC,IAAI,EAAqB;EAAA,IAAnBC,SAAS,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,EAAE;EAC1D,IAAIG,KAAK,CAACC,OAAO,CAACP,KAAK,CAAC,EAAE;IACxB,IAAMQ,YAAY,GAAGR,KAAK,CAACS,GAAG,CAAC,UAACC,QAAQ,EAAEC,KAAK,EAAK;MAClD,IAAQC,QAAQ,GAAUF,QAAQ,CAA1BE,QAAQ;QAAEC,GAAG,GAAKH,QAAQ,CAAhBG,GAAG;MACrB,IAAMC,QAAQ,GAAGJ,QAAQ,CAACE,QAAQ,CAAC;MAEnC,IAAMG,UAAU,GAAGJ,KAAK,KAAKX,KAAK,CAACI,MAAM,GAAG,CAAC;MAC7C,IAAMY,aAAa,GAAGD,UAAU,GAAGD,QAAQ,gBAAGnB,MAAA,YAAAsB,aAAA,CAAAtB,MAAA,YAAAuB,QAAA,QAAGJ,QAAQ,EAAC,IAAI,CAAC;MAE/D,OAAOD,GAAG,gBACRlB,MAAA,YAAAsB,aAAA,CAACnB,UAAA,WAAS;QAACqB,GAAG,EAAE,CAACjB,SAAS,EAAES,KAAK,CAAC,CAACS,IAAI,CAAC,GAAG,CAAE;QAACC,IAAI,EAAER;MAAI,gBACtDlB,MAAA,YAAAsB,aAAA,CAAAtB,MAAA,YAAAuB,QAAA,QAAGF,aAAa,EAAC,GAAG,CACX,CAAC,gBAEZrB,MAAA,YAAAsB,aAAA,CAAAtB,MAAA,YAAAuB,QAAA,QAAGF,aAAa,EAAC,GAAG,CACrB;IACH,CAAC,CAAC;IAEF,OAAOR,YAAY,CAACJ,MAAM,GAAGI,YAAY,GAAG,IAAI;EAClD;EAEA,OAAOP,IAAI,gBAAGN,MAAA,YAAAsB,aAAA,CAACnB,UAAA,WAAS;IAACuB,IAAI,EAAEpB;EAAK,GAAED,KAAiB,CAAC,GAAGA,KAAK;AAClE,CAAC;AAAC,IAAAsB,QAAA,GAAAC,OAAA,cAEaxB,uBAAuB","ignoreList":[]}
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
8
  exports["default"] = groupEntities;
9
- require("core-js/modules/es.number.constructor.js");
10
9
  require("core-js/modules/es.array.splice.js");
10
+ require("core-js/modules/es.number.constructor.js");
11
11
  var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
12
12
  function groupEntities(entities, size) {
13
13
  var entitiesSet = (0, _toConsumableArray2["default"])(entities);
@@ -1 +1 @@
1
- {"version":3,"file":"group-entities.js","names":["groupEntities","entities","size","entitiesSet","_toConsumableArray2","controledSize","Number","length","chunks","push","splice"],"sources":["../../src/helpers/group-entities.js"],"sourcesContent":["export default function groupEntities(entities, size) {\n const entitiesSet = [...entities];\n const controledSize = size ? Number(size) : entitiesSet.length;\n const chunks = [];\n\n while (entitiesSet.length) {\n chunks.push(entitiesSet.splice(0, controledSize));\n }\n\n return chunks;\n}\n"],"mappings":";;;;;;;;;;;AAAe,SAASA,aAAaA,CAACC,QAAQ,EAAEC,IAAI,EAAE;EACpD,IAAMC,WAAW,OAAAC,mBAAA,aAAOH,QAAQ,CAAC;EACjC,IAAMI,aAAa,GAAGH,IAAI,GAAGI,MAAM,CAACJ,IAAI,CAAC,GAAGC,WAAW,CAACI,MAAM;EAC9D,IAAMC,MAAM,GAAG,EAAE;EAEjB,OAAOL,WAAW,CAACI,MAAM,EAAE;IACzBC,MAAM,CAACC,IAAI,CAACN,WAAW,CAACO,MAAM,CAAC,CAAC,EAAEL,aAAa,CAAC,CAAC;EACnD;EAEA,OAAOG,MAAM;AACf"}
1
+ {"version":3,"file":"group-entities.js","names":["groupEntities","entities","size","entitiesSet","_toConsumableArray2","controledSize","Number","length","chunks","push","splice"],"sources":["../../src/helpers/group-entities.js"],"sourcesContent":["export default function groupEntities(entities, size) {\n const entitiesSet = [...entities];\n const controledSize = size ? Number(size) : entitiesSet.length;\n const chunks = [];\n\n while (entitiesSet.length) {\n chunks.push(entitiesSet.splice(0, controledSize));\n }\n\n return chunks;\n}\n"],"mappings":";;;;;;;;;;;AAAe,SAASA,aAAaA,CAACC,QAAQ,EAAEC,IAAI,EAAE;EACpD,IAAMC,WAAW,OAAAC,mBAAA,aAAOH,QAAQ,CAAC;EACjC,IAAMI,aAAa,GAAGH,IAAI,GAAGI,MAAM,CAACJ,IAAI,CAAC,GAAGC,WAAW,CAACI,MAAM;EAC9D,IAAMC,MAAM,GAAG,EAAE;EAEjB,OAAOL,WAAW,CAACI,MAAM,EAAE;IACzBC,MAAM,CAACC,IAAI,CAACN,WAAW,CAACO,MAAM,CAAC,CAAC,EAAEL,aAAa,CAAC,CAAC;EACnD;EAEA,OAAOG,MAAM;AACf","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"has-children.js","names":["hasChildren","children","isChildrenArray","Array","isArray","Object","keys","length","props","_default","exports"],"sources":["../../src/helpers/has-children.js"],"sourcesContent":["const hasChildren = children => {\n if (!children) return false;\n const isChildrenArray = Array.isArray(children);\n if (!isChildrenArray) {\n return !!(\n Object.keys(children).length &&\n children.props &&\n children.props.children &&\n children.props.children.length > 1\n );\n }\n return isChildrenArray && !!children.length;\n};\n\nexport default hasChildren;\n"],"mappings":";;;;;;;;;AAAA,IAAMA,WAAW,GAAG,SAAdA,WAAWA,CAAGC,QAAQ,EAAI;EAC9B,IAAI,CAACA,QAAQ,EAAE,OAAO,KAAK;EAC3B,IAAMC,eAAe,GAAGC,KAAK,CAACC,OAAO,CAACH,QAAQ,CAAC;EAC/C,IAAI,CAACC,eAAe,EAAE;IACpB,OAAO,CAAC,EACNG,MAAM,CAACC,IAAI,CAACL,QAAQ,CAAC,CAACM,MAAM,IAC5BN,QAAQ,CAACO,KAAK,IACdP,QAAQ,CAACO,KAAK,CAACP,QAAQ,IACvBA,QAAQ,CAACO,KAAK,CAACP,QAAQ,CAACM,MAAM,GAAG,CAAC,CACnC;EACH;EACA,OAAOL,eAAe,IAAI,CAAC,CAACD,QAAQ,CAACM,MAAM;AAC7C,CAAC;AAAC,IAAAE,QAAA,GAAAC,OAAA,cAEaV,WAAW"}
1
+ {"version":3,"file":"has-children.js","names":["hasChildren","children","isChildrenArray","Array","isArray","Object","keys","length","props","_default","exports"],"sources":["../../src/helpers/has-children.js"],"sourcesContent":["const hasChildren = children => {\n if (!children) return false;\n const isChildrenArray = Array.isArray(children);\n if (!isChildrenArray) {\n return !!(\n Object.keys(children).length &&\n children.props &&\n children.props.children &&\n children.props.children.length > 1\n );\n }\n return isChildrenArray && !!children.length;\n};\n\nexport default hasChildren;\n"],"mappings":";;;;;;;;;AAAA,IAAMA,WAAW,GAAG,SAAdA,WAAWA,CAAGC,QAAQ,EAAI;EAC9B,IAAI,CAACA,QAAQ,EAAE,OAAO,KAAK;EAC3B,IAAMC,eAAe,GAAGC,KAAK,CAACC,OAAO,CAACH,QAAQ,CAAC;EAC/C,IAAI,CAACC,eAAe,EAAE;IACpB,OAAO,CAAC,EACNG,MAAM,CAACC,IAAI,CAACL,QAAQ,CAAC,CAACM,MAAM,IAC5BN,QAAQ,CAACO,KAAK,IACdP,QAAQ,CAACO,KAAK,CAACP,QAAQ,IACvBA,QAAQ,CAACO,KAAK,CAACP,QAAQ,CAACM,MAAM,GAAG,CAAC,CACnC;EACH;EACA,OAAOL,eAAe,IAAI,CAAC,CAACD,QAAQ,CAACM,MAAM;AAC7C,CAAC;AAAC,IAAAE,QAAA,GAAAC,OAAA,cAEaV,WAAW","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_buildInheritedFilters","_interopRequireDefault","require","_buildLinkExtraProps","_buildPropsQuery","_buildQueryFields","_buildRawQuery","_buildRawQueryBase","_buildSearchValuesCheckboxSelect","_buildSearchValuesText","_buildSetFilters","_checkPropsToUse","_getElasticsearchOperator","_getClickWrapperOptions","_getEntitiesWithBanner","_getEntityData","_getEntityRenderProps","_getGenericProps","_getGenericRenderVariables","_getImageIds","_getInheritedFilters","_getModifiers","_getNotEqualQuery","_getPaginationIndex","_getParsedSummaryValue","_getQueryFilters","_getQueryProps","_getRequiredSchemas","_getSearchFilterType","_getUnpublishedEntityName","_getWrappedValueWithLink","_getItemsToDisplayIds","_isBrowser","_isFilterEntitysId","_isObject","_isUsingRelationImage","_parsePropsToDisplay","_renderChildren","_shouldRenderWaypoint","_shouldShowProperty","_sortResponseData","_splitChildren","_getCurrentOffset","_updateChildrensParent","_getDisplayCountData","_buildImageProperties","_getUpdatedFilterBy","_checkForError","_removeUnwantedCharacters","_hasChildren","_removeExtraItems","_getParsedPropValues","_getSanitizedPropValues","_appendImages","_parseTextBlock","_processDataSummaryValue","_buildQueryKey","_filterQuerySetup","_filtersSetup","_getUpdatedItemsToDisplay","_getUpdatedSortProperties","_shouldReturn","_shouldSkipSingleQuery","_buildRawQueryStringified","_buildFiltersQuery"],"sources":["../../src/helpers/index.js"],"sourcesContent":["export { default as buildInheritedFilters } from './build-inherited-filters';\nexport { default as buildLinkExtraProps } from './build-link-extra-props';\nexport { default as buildPropsQuery } from './build-props-query';\nexport { default as buildQueryFields } from './build-query-fields';\nexport { default as buildRawQuery } from './build-raw-query';\nexport { default as buildRawQueryBase } from './build-raw-query-base';\nexport { default as buildSearchValuesCheckboxSelect } from './build-search-values-checkbox-select';\nexport { default as buildSearchValuesText } from './build-search-values-text';\nexport { default as buildSetFilters } from './build-set-filters';\nexport { default as checkPropsToUse } from './check-props-to-use';\nexport { default as getElasticsearchOperator } from './get-elasticsearch-operator';\nexport { default as getClickWrapperOptions } from './get-click-wrapper-options';\nexport { default as getEntitiesWithBanner } from './get-entities-with-banner';\nexport { default as getEntityData } from './get-entity-data';\nexport { default as getEntityRenderProps } from './get-entity-render-props';\nexport { default as getGenericProps } from './get-generic-props';\nexport { default as getGenericRenderVariables } from './get-generic-render-variables';\nexport { default as getImageIds } from './get-image-ids';\nexport { default as getInheritedFilters } from './get-inherited-filters';\nexport { default as getModifiers } from './get-modifiers';\nexport { default as getNotEqualQuery } from './get-not-equal-query';\nexport { default as getPaginationIndex } from './get-pagination-index';\nexport { default as getParsedSummaryValue } from './get-parsed-summary-value';\nexport { default as getQueryFilters } from './get-query-filters';\nexport { default as getQueryProps } from './get-query-props';\nexport { default as getRequiredSchemas } from './get-required-schemas';\nexport { default as getSearchFilterType } from './get-search-filter-type';\nexport { default as getUnpublishedEntityName } from './get-unpublished-entity-name';\nexport { default as getWrappedValueWithLink } from './get-wrapped-value-with-link';\nexport { default as getItemsToDisplayIds } from './get-items-to-display-ids';\nexport { default as isBrowser } from './is-browser';\nexport { default as isFilterEntitysId } from './is-filter-entitys-id';\nexport { default as isObject } from './is-object';\nexport { default as isUsingRelationImage } from './is-using-relation-image';\nexport { default as parsePropsToDisplay } from './parse-props-to-display';\nexport { default as renderChildren } from './render-children';\nexport { default as shouldRenderWaypoint } from './should-render-waypoint';\nexport { default as shouldShowProperty } from './should-show-property';\nexport { default as sortResponseData } from './sort-response-data';\nexport { default as splitChildren } from './split-children';\nexport { default as getCurrentOffset } from './get-current-offset';\nexport { default as updateChildrensParent } from './update-childrens-parent';\nexport { default as getDisplayCountData } from './get-display-count-data';\nexport { default as buildImageProperties } from './build-image-properties';\nexport { default as getUpdatedFilterBy } from './get-updated-filter-by';\nexport { default as checkForError } from './check-for-error';\nexport { default as removeUnwantedCharacters } from './remove-unwanted-characters';\nexport { default as hasChildren } from './has-children';\nexport { default as removeExtraItems } from './remove-extra-items';\nexport { default as getParsedPropValues } from './get-parsed-prop-values';\nexport { default as getSanitizedPropValues } from './get-sanitized-prop-values';\nexport { default as appendImages } from './append-images';\nexport { default as parseTextBlock } from './parse-TextBlock';\nexport { default as processDataSummaryValue } from './process-data-summary-value';\nexport { default as buildQueryKey } from './build-query-key';\nexport { default as filterQuerySetup } from './filter-query-setup';\nexport { default as filtersSetup } from './filters-setup';\nexport { default as getUpdatedItemsToDisplay } from './get-updated-items-to-display';\nexport { default as getUpdatedSortProperties } from './get-updated-sort-properties';\nexport { default as shouldReturn } from './should-return';\nexport { default as shouldSkipSingleQuery } from './should-skip-single-query';\nexport { default as buildRawQueryStringified } from './build-raw-query-stringified';\nexport { default as buildFiltersQuery } from './build-filters-query';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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BAAA,GAAA5C,sBAAA,CAAAC,OAAA;AACA,IAAA4C,mBAAA,GAAA7C,sBAAA,CAAAC,OAAA;AACA,IAAA6C,cAAA,GAAA9C,sBAAA,CAAAC,OAAA;AACA,IAAA8C,yBAAA,GAAA/C,sBAAA,CAAAC,OAAA;AACA,IAAA+C,YAAA,GAAAhD,sBAAA,CAAAC,OAAA;AACA,IAAAgD,iBAAA,GAAAjD,sBAAA,CAAAC,OAAA;AACA,IAAAiD,oBAAA,GAAAlD,sBAAA,CAAAC,OAAA;AACA,IAAAkD,uBAAA,GAAAnD,sBAAA,CAAAC,OAAA;AACA,IAAAmD,aAAA,GAAApD,sBAAA,CAAAC,OAAA;AACA,IAAAoD,eAAA,GAAArD,sBAAA,CAAAC,OAAA;AACA,IAAAqD,wBAAA,GAAAtD,sBAAA,CAAAC,OAAA;AACA,IAAAsD,cAAA,GAAAvD,sBAAA,CAAAC,OAAA;AACA,IAAAuD,iBAAA,GAAAxD,sBAAA,CAAAC,OAAA;AACA,IAAAwD,aAAA,GAAAzD,sBAAA,CAAAC,OAAA;AACA,IAAAyD,yBAAA,GAAA1D,sBAAA,CAAAC,OAAA;AACA,IAAA0D,yBAAA,GAAA3D,sBAAA,CAAAC,OAAA;AACA,IAAA2D,aAAA,GAAA5D,sBAAA,CAAAC,OAAA;AACA,IAAA4D,sBAAA,GAAA7D,sBAAA,CAAAC,OAAA;AACA,IAAA6D,yBAAA,GAAA9D,sBAAA,CAAAC,OAAA;AACA,IAAA8D,kBAAA,GAAA/D,sBAAA,CAAAC,OAAA"}
1
+ {"version":3,"file":"index.js","names":["_buildInheritedFilters","_interopRequireDefault","require","_buildLinkExtraProps","_buildPropsQuery","_buildQueryFields","_buildRawQuery","_buildRawQueryBase","_buildSearchValuesCheckboxSelect","_buildSearchValuesText","_buildSetFilters","_checkPropsToUse","_getElasticsearchOperator","_getClickWrapperOptions","_getEntitiesWithBanner","_getEntityData","_getEntityRenderProps","_getGenericProps","_getGenericRenderVariables","_getImageIds","_getInheritedFilters","_getModifiers","_getNotEqualQuery","_getPaginationIndex","_getParsedSummaryValue","_getQueryFilters","_getQueryProps","_getRequiredSchemas","_getSearchFilterType","_getUnpublishedEntityName","_getWrappedValueWithLink","_getItemsToDisplayIds","_isBrowser","_isFilterEntitysId","_isObject","_isUsingRelationImage","_parsePropsToDisplay","_renderChildren","_shouldRenderWaypoint","_shouldShowProperty","_sortResponseData","_splitChildren","_getCurrentOffset","_updateChildrensParent","_getDisplayCountData","_buildImageProperties","_getUpdatedFilterBy","_checkForError","_removeUnwantedCharacters","_hasChildren","_removeExtraItems","_getParsedPropValues","_getSanitizedPropValues","_appendImages","_parseTextBlock","_processDataSummaryValue","_buildQueryKey","_filterQuerySetup","_filtersSetup","_getUpdatedItemsToDisplay","_getUpdatedSortProperties","_shouldReturn","_shouldSkipSingleQuery","_buildRawQueryStringified","_buildFiltersQuery"],"sources":["../../src/helpers/index.js"],"sourcesContent":["export { default as buildInheritedFilters } from './build-inherited-filters';\nexport { default as buildLinkExtraProps } from './build-link-extra-props';\nexport { default as buildPropsQuery } from './build-props-query';\nexport { default as buildQueryFields } from './build-query-fields';\nexport { default as buildRawQuery } from './build-raw-query';\nexport { default as buildRawQueryBase } from './build-raw-query-base';\nexport { default as buildSearchValuesCheckboxSelect } from './build-search-values-checkbox-select';\nexport { default as buildSearchValuesText } from './build-search-values-text';\nexport { default as buildSetFilters } from './build-set-filters';\nexport { default as checkPropsToUse } from './check-props-to-use';\nexport { default as getElasticsearchOperator } from './get-elasticsearch-operator';\nexport { default as getClickWrapperOptions } from './get-click-wrapper-options';\nexport { default as getEntitiesWithBanner } from './get-entities-with-banner';\nexport { default as getEntityData } from './get-entity-data';\nexport { default as getEntityRenderProps } from './get-entity-render-props';\nexport { default as getGenericProps } from './get-generic-props';\nexport { default as getGenericRenderVariables } from './get-generic-render-variables';\nexport { default as getImageIds } from './get-image-ids';\nexport { default as getInheritedFilters } from './get-inherited-filters';\nexport { default as getModifiers } from './get-modifiers';\nexport { default as getNotEqualQuery } from './get-not-equal-query';\nexport { default as getPaginationIndex } from './get-pagination-index';\nexport { default as getParsedSummaryValue } from './get-parsed-summary-value';\nexport { default as getQueryFilters } from './get-query-filters';\nexport { default as getQueryProps } from './get-query-props';\nexport { default as getRequiredSchemas } from './get-required-schemas';\nexport { default as getSearchFilterType } from './get-search-filter-type';\nexport { default as getUnpublishedEntityName } from './get-unpublished-entity-name';\nexport { default as getWrappedValueWithLink } from './get-wrapped-value-with-link';\nexport { default as getItemsToDisplayIds } from './get-items-to-display-ids';\nexport { default as isBrowser } from './is-browser';\nexport { default as isFilterEntitysId } from './is-filter-entitys-id';\nexport { default as isObject } from './is-object';\nexport { default as isUsingRelationImage } from './is-using-relation-image';\nexport { default as parsePropsToDisplay } from './parse-props-to-display';\nexport { default as renderChildren } from './render-children';\nexport { default as shouldRenderWaypoint } from './should-render-waypoint';\nexport { default as shouldShowProperty } from './should-show-property';\nexport { default as sortResponseData } from './sort-response-data';\nexport { default as splitChildren } from './split-children';\nexport { default as getCurrentOffset } from './get-current-offset';\nexport { default as updateChildrensParent } from './update-childrens-parent';\nexport { default as getDisplayCountData } from './get-display-count-data';\nexport { default as buildImageProperties } from './build-image-properties';\nexport { default as getUpdatedFilterBy } from './get-updated-filter-by';\nexport { default as checkForError } from './check-for-error';\nexport { default as removeUnwantedCharacters } from './remove-unwanted-characters';\nexport { default as hasChildren } from './has-children';\nexport { default as removeExtraItems } from './remove-extra-items';\nexport { default as getParsedPropValues } from './get-parsed-prop-values';\nexport { default as getSanitizedPropValues } from './get-sanitized-prop-values';\nexport { default as appendImages } from './append-images';\nexport { default as parseTextBlock } from './parse-TextBlock';\nexport { default as processDataSummaryValue } from './process-data-summary-value';\nexport { default as buildQueryKey } from './build-query-key';\nexport { default as filterQuerySetup } from './filter-query-setup';\nexport { default as filtersSetup } from './filters-setup';\nexport { default as getUpdatedItemsToDisplay } from './get-updated-items-to-display';\nexport { default as getUpdatedSortProperties } from './get-updated-sort-properties';\nexport { default as shouldReturn } from './should-return';\nexport { default as shouldSkipSingleQuery } from './should-skip-single-query';\nexport { default as buildRawQueryStringified } from './build-raw-query-stringified';\nexport { default as buildFiltersQuery } from './build-filters-query';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,sBAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,oBAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,gBAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,iBAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,cAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,kBAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,gCAAA,GAAAP,sBAAA,CAAAC,OAAA;AACA,IAAAO,sBAAA,GAAAR,sBAAA,CAAAC,OAAA;AACA,IAAAQ,gBAAA,GAAAT,sBAAA,CAAAC,OAAA;AACA,IAAAS,gBAAA,GAAAV,sBAAA,CAAAC,OAAA;AACA,IAAAU,yBAAA,GAAAX,sBAAA,CAAAC,OAAA;AACA,IAAAW,uBAAA,GAAAZ,sBAAA,CAAAC,OAAA;AACA,IAAAY,sBAAA,GAAAb,sBAAA,CAAAC,OAAA;AACA,IAAAa,cAAA,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ner.js","names":["_react","_interopRequireDefault","require","_parseInterval","_Banner","injectBanner","entities","banner","interval","_banner$transform","transform","parsedInterval","parseInterval","entitySet","_toConsumableArray2","bannerElement","createElement","splice"],"sources":["../../src/helpers/inject-banner.js"],"sourcesContent":["import React from 'react';\nimport parseInterval from './parse-interval';\nimport Banner from '../components/Banner';\n\nexport default function injectBanner(entities, banner) {\n const { interval, transform = false } = banner;\n const parsedInterval = parseInterval(interval);\n const entitySet = [...entities];\n\n const bannerElement = transform ? <Banner {...banner} /> : banner;\n\n entitySet.splice(parsedInterval, 0, bannerElement);\n\n return entitySet;\n}\n"],"mappings":";;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,OAAA,GAAAH,sBAAA,CAAAC,OAAA;AAEe,SAASG,YAAYA,CAACC,QAAQ,EAAEC,MAAM,EAAE;EACrD,IAAQC,QAAQ,GAAwBD,MAAM,CAAtCC,QAAQ;IAAAC,iBAAA,GAAwBF,MAAM,CAA5BG,SAAS;IAATA,SAAS,GAAAD,iBAAA,cAAG,KAAK,GAAAA,iBAAA;EACnC,IAAME,cAAc,GAAG,IAAAC,yBAAa,EAACJ,QAAQ,CAAC;EAC9C,IAAMK,SAAS,OAAAC,mBAAA,aAAOR,QAAQ,CAAC;EAE/B,IAAMS,aAAa,GAAGL,SAAS,gBAAGV,MAAA,YAAAgB,aAAA,CAACZ,OAAA,WAAM,EAAKG,MAAS,CAAC,GAAGA,MAAM;EAEjEM,SAAS,CAACI,MAAM,CAACN,cAAc,EAAE,CAAC,EAAEI,aAAa,CAAC;EAElD,OAAOF,SAAS;AAClB"}
1
+ {"version":3,"file":"inject-banner.js","names":["_react","_interopRequireDefault","require","_parseInterval","_Banner","injectBanner","entities","banner","interval","_banner$transform","transform","parsedInterval","parseInterval","entitySet","_toConsumableArray2","bannerElement","createElement","splice"],"sources":["../../src/helpers/inject-banner.js"],"sourcesContent":["import React from 'react';\nimport parseInterval from './parse-interval';\nimport Banner from '../components/Banner';\n\nexport default function injectBanner(entities, banner) {\n const { interval, transform = false } = banner;\n const parsedInterval = parseInterval(interval);\n const entitySet = [...entities];\n\n const bannerElement = transform ? <Banner {...banner} /> : banner;\n\n entitySet.splice(parsedInterval, 0, bannerElement);\n\n return entitySet;\n}\n"],"mappings":";;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,OAAA,GAAAH,sBAAA,CAAAC,OAAA;AAEe,SAASG,YAAYA,CAACC,QAAQ,EAAEC,MAAM,EAAE;EACrD,IAAQC,QAAQ,GAAwBD,MAAM,CAAtCC,QAAQ;IAAAC,iBAAA,GAAwBF,MAAM,CAA5BG,SAAS;IAATA,SAAS,GAAAD,iBAAA,cAAG,KAAK,GAAAA,iBAAA;EACnC,IAAME,cAAc,GAAG,IAAAC,yBAAa,EAACJ,QAAQ,CAAC;EAC9C,IAAMK,SAAS,OAAAC,mBAAA,aAAOR,QAAQ,CAAC;EAE/B,IAAMS,aAAa,GAAGL,SAAS,gBAAGV,MAAA,YAAAgB,aAAA,CAACZ,OAAA,WAAM,EAAKG,MAAS,CAAC,GAAGA,MAAM;EAEjEM,SAAS,CAACI,MAAM,CAACN,cAAc,EAAE,CAAC,EAAEI,aAAa,CAAC;EAElD,OAAOF,SAAS;AAClB","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"inject-banners-to-entities.js","names":["_injectBanner","_interopRequireDefault","require","_getBannerData","_injectMultipleBanners","_excluded","injectBannersToEntities","entities","_ref","banner","options","_objectWithoutProperties2","length","repeat","bannerData","getBannerData","entitiesWithBanner","injectMultipleBanners","injectBanner"],"sources":["../../src/helpers/inject-banners-to-entities.js"],"sourcesContent":["import injectBanner from './inject-banner';\nimport getBannerData from './get-banner-data';\nimport injectMultipleBanners from './inject-multiple-banners';\n\nexport default function injectBannersToEntities(entities, { banner, ...options }) {\n if (!entities.length) return [];\n\n const { repeat } = banner;\n const bannerData = getBannerData(banner, options);\n\n const entitiesWithBanner = repeat\n ? injectMultipleBanners(entities, bannerData)\n : injectBanner(entities, bannerData);\n\n return entitiesWithBanner;\n}\n"],"mappings":";;;;;;;;;;AAAA,IAAAA,aAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,sBAAA,GAAAH,sBAAA,CAAAC,OAAA;AAA8D,IAAAG,SAAA;AAE/C,SAASC,uBAAuBA,CAACC,QAAQ,EAAAC,IAAA,EAA0B;EAAA,IAAtBC,MAAM,GAAAD,IAAA,CAANC,MAAM;IAAKC,OAAO,OAAAC,yBAAA,aAAAH,IAAA,EAAAH,SAAA;EAC5E,IAAI,CAACE,QAAQ,CAACK,MAAM,EAAE,OAAO,EAAE;EAE/B,IAAQC,MAAM,GAAKJ,MAAM,CAAjBI,MAAM;EACd,IAAMC,UAAU,GAAG,IAAAC,yBAAa,EAACN,MAAM,EAAEC,OAAO,CAAC;EAEjD,IAAMM,kBAAkB,GAAGH,MAAM,GAC7B,IAAAI,iCAAqB,EAACV,QAAQ,EAAEO,UAAU,CAAC,GAC3C,IAAAI,wBAAY,EAACX,QAAQ,EAAEO,UAAU,CAAC;EAEtC,OAAOE,kBAAkB;AAC3B"}
1
+ {"version":3,"file":"inject-banners-to-entities.js","names":["_injectBanner","_interopRequireDefault","require","_getBannerData","_injectMultipleBanners","_excluded","injectBannersToEntities","entities","_ref","banner","options","_objectWithoutProperties2","length","repeat","bannerData","getBannerData","entitiesWithBanner","injectMultipleBanners","injectBanner"],"sources":["../../src/helpers/inject-banners-to-entities.js"],"sourcesContent":["import injectBanner from './inject-banner';\nimport getBannerData from './get-banner-data';\nimport injectMultipleBanners from './inject-multiple-banners';\n\nexport default function injectBannersToEntities(entities, { banner, ...options }) {\n if (!entities.length) return [];\n\n const { repeat } = banner;\n const bannerData = getBannerData(banner, options);\n\n const entitiesWithBanner = repeat\n ? injectMultipleBanners(entities, bannerData)\n : injectBanner(entities, bannerData);\n\n return entitiesWithBanner;\n}\n"],"mappings":";;;;;;;;;;AAAA,IAAAA,aAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,sBAAA,GAAAH,sBAAA,CAAAC,OAAA;AAA8D,IAAAG,SAAA;AAE/C,SAASC,uBAAuBA,CAACC,QAAQ,EAAAC,IAAA,EAA0B;EAAA,IAAtBC,MAAM,GAAAD,IAAA,CAANC,MAAM;IAAKC,OAAO,OAAAC,yBAAA,aAAAH,IAAA,EAAAH,SAAA;EAC5E,IAAI,CAACE,QAAQ,CAACK,MAAM,EAAE,OAAO,EAAE;EAE/B,IAAQC,MAAM,GAAKJ,MAAM,CAAjBI,MAAM;EACd,IAAMC,UAAU,GAAG,IAAAC,yBAAa,EAACN,MAAM,EAAEC,OAAO,CAAC;EAEjD,IAAMM,kBAAkB,GAAGH,MAAM,GAC7B,IAAAI,iCAAqB,EAACV,QAAQ,EAAEO,UAAU,CAAC,GAC3C,IAAAI,wBAAY,EAACX,QAAQ,EAAEO,UAAU,CAAC;EAEtC,OAAOE,kBAAkB;AAC3B","ignoreList":[]}
@@ -8,6 +8,7 @@ Object.defineProperty(exports, "__esModule", {
8
8
  exports["default"] = getBannersForEntities;
9
9
  require("core-js/modules/es.array.map.js");
10
10
  require("core-js/modules/es.array.slice.js");
11
+ require("core-js/modules/es.object.to-string.js");
11
12
  var _lodash = _interopRequireDefault(require("lodash.flatten"));
12
13
  var _groupEntities = _interopRequireDefault(require("../../group-entities"));
13
14
  var _injectBanner = _interopRequireDefault(require("../../inject-banner"));
@@ -1 +1 @@
1
- {"version":3,"file":"get-banners-for-entities.js","names":["_lodash","_interopRequireDefault","require","_groupEntities","_injectBanner","getBannersForEntities","entitiesSet","banner","interval","limit","controlledLimit","length","groups","groupEntities","entitiesWithBanner","map","chunk","injectBanner","sanitizedEntities","flatten","slice"],"sources":["../../../../src/helpers/inject-multiple-banners/get-banners-for-entities/get-banners-for-entities.js"],"sourcesContent":["import flatten from 'lodash.flatten';\nimport groupEntities from '../../group-entities';\nimport injectBanner from '../../inject-banner';\n\nexport default function getBannersForEntities(entitiesSet, banner) {\n const { interval, limit } = banner;\n const controlledLimit = limit || entitiesSet.length;\n\n const groups = groupEntities(entitiesSet, interval - 1);\n\n const entitiesWithBanner = groups.map(chunk => injectBanner(chunk, banner));\n\n const sanitizedEntities = flatten(entitiesWithBanner).slice(0, controlledLimit);\n\n return sanitizedEntities;\n}\n"],"mappings":";;;;;;;;;;AAAA,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,aAAA,GAAAH,sBAAA,CAAAC,OAAA;AAEe,SAASG,qBAAqBA,CAACC,WAAW,EAAEC,MAAM,EAAE;EACjE,IAAQC,QAAQ,GAAYD,MAAM,CAA1BC,QAAQ;IAAEC,KAAK,GAAKF,MAAM,CAAhBE,KAAK;EACvB,IAAMC,eAAe,GAAGD,KAAK,IAAIH,WAAW,CAACK,MAAM;EAEnD,IAAMC,MAAM,GAAG,IAAAC,yBAAa,EAACP,WAAW,EAAEE,QAAQ,GAAG,CAAC,CAAC;EAEvD,IAAMM,kBAAkB,GAAGF,MAAM,CAACG,GAAG,CAAC,UAAAC,KAAK;IAAA,OAAI,IAAAC,wBAAY,EAACD,KAAK,EAAET,MAAM,CAAC;EAAA,EAAC;EAE3E,IAAMW,iBAAiB,GAAG,IAAAC,kBAAO,EAACL,kBAAkB,CAAC,CAACM,KAAK,CAAC,CAAC,EAAEV,eAAe,CAAC;EAE/E,OAAOQ,iBAAiB;AAC1B"}
1
+ {"version":3,"file":"get-banners-for-entities.js","names":["_lodash","_interopRequireDefault","require","_groupEntities","_injectBanner","getBannersForEntities","entitiesSet","banner","interval","limit","controlledLimit","length","groups","groupEntities","entitiesWithBanner","map","chunk","injectBanner","sanitizedEntities","flatten","slice"],"sources":["../../../../src/helpers/inject-multiple-banners/get-banners-for-entities/get-banners-for-entities.js"],"sourcesContent":["import flatten from 'lodash.flatten';\nimport groupEntities from '../../group-entities';\nimport injectBanner from '../../inject-banner';\n\nexport default function getBannersForEntities(entitiesSet, banner) {\n const { interval, limit } = banner;\n const controlledLimit = limit || entitiesSet.length;\n\n const groups = groupEntities(entitiesSet, interval - 1);\n\n const entitiesWithBanner = groups.map(chunk => injectBanner(chunk, banner));\n\n const sanitizedEntities = flatten(entitiesWithBanner).slice(0, controlledLimit);\n\n return sanitizedEntities;\n}\n"],"mappings":";;;;;;;;;;;AAAA,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,aAAA,GAAAH,sBAAA,CAAAC,OAAA;AAEe,SAASG,qBAAqBA,CAACC,WAAW,EAAEC,MAAM,EAAE;EACjE,IAAQC,QAAQ,GAAYD,MAAM,CAA1BC,QAAQ;IAAEC,KAAK,GAAKF,MAAM,CAAhBE,KAAK;EACvB,IAAMC,eAAe,GAAGD,KAAK,IAAIH,WAAW,CAACK,MAAM;EAEnD,IAAMC,MAAM,GAAG,IAAAC,yBAAa,EAACP,WAAW,EAAEE,QAAQ,GAAG,CAAC,CAAC;EAEvD,IAAMM,kBAAkB,GAAGF,MAAM,CAACG,GAAG,CAAC,UAAAC,KAAK;IAAA,OAAI,IAAAC,wBAAY,EAACD,KAAK,EAAET,MAAM,CAAC;EAAA,EAAC;EAE3E,IAAMW,iBAAiB,GAAG,IAAAC,kBAAO,EAACL,kBAAkB,CAAC,CAACM,KAAK,CAAC,CAAC,EAAEV,eAAe,CAAC;EAE/E,OAAOQ,iBAAiB;AAC1B","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_getBannersForEntities","_interopRequireDefault","require","_default","exports","getBannersForEntities"],"sources":["../../../../src/helpers/inject-multiple-banners/get-banners-for-entities/index.js"],"sourcesContent":["import getBannersForEntities from './get-banners-for-entities';\n\nexport default getBannersForEntities;\n"],"mappings":";;;;;;;;AAAA,IAAAA,sBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA+D,IAAAC,QAAA,GAAAC,OAAA,cAEhDC,iCAAqB"}
1
+ {"version":3,"file":"index.js","names":["_getBannersForEntities","_interopRequireDefault","require","_default","exports","getBannersForEntities"],"sources":["../../../../src/helpers/inject-multiple-banners/get-banners-for-entities/index.js"],"sourcesContent":["import getBannersForEntities from './get-banners-for-entities';\n\nexport default getBannersForEntities;\n"],"mappings":";;;;;;;;AAAA,IAAAA,sBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA+D,IAAAC,QAAA,GAAAC,OAAA,cAEhDC,iCAAqB","ignoreList":[]}
@@ -1,23 +1,23 @@
1
1
  "use strict";
2
2
 
3
- require("core-js/modules/es.object.keys.js");
4
3
  require("core-js/modules/es.symbol.js");
5
4
  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");
8
5
  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");
11
6
  require("core-js/modules/es.object.define-properties.js");
12
7
  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/web.dom-collections.for-each.js");
13
12
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
14
13
  Object.defineProperty(exports, "__esModule", {
15
14
  value: true
16
15
  });
17
16
  exports["default"] = getBannersForNodes;
18
17
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
19
- require("core-js/modules/es.array.map.js");
20
18
  require("core-js/modules/es.array.concat.js");
19
+ require("core-js/modules/es.array.map.js");
20
+ require("core-js/modules/es.object.to-string.js");
21
21
  var _lodash = _interopRequireDefault(require("lodash.flatten"));
22
22
  var _helpers = require("./helpers");
23
23
  var _injectBanner = _interopRequireDefault(require("../../inject-banner"));
@@ -1 +1 @@
1
- {"version":3,"file":"get-banners-for-nodes.js","names":["_lodash","_interopRequireDefault","require","_helpers","_injectBanner","ownKeys","e","r","t","Object","keys","getOwnPropertySymbols","o","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty2","getOwnPropertyDescriptors","defineProperties","defineProperty","getBannersForNodes","entitiesSet","banner","groups","groupNodeEntities","nodesWithBanner","map","chunk","index","key","concat","adunit","interval","injectBanner","flatten"],"sources":["../../../../src/helpers/inject-multiple-banners/get-banners-for-nodes/get-banners-for-nodes.js"],"sourcesContent":["import flatten from 'lodash.flatten';\nimport { groupNodeEntities } from './helpers';\nimport injectBanner from '../../inject-banner';\n\nexport default function getBannersForNodes(entitiesSet, banner) {\n const groups = groupNodeEntities(entitiesSet, banner);\n const nodesWithBanner = groups\n .map((chunk, index) => {\n const key = `${banner.adunit}-${index}`;\n const interval = chunk.length + 1;\n\n return injectBanner(chunk, { ...banner, key, interval });\n })\n .map(flatten);\n\n return nodesWithBanner;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AACA,IAAAE,aAAA,GAAAH,sBAAA,CAAAC,OAAA;AAA+C,SAAAG,QAAAC,CAAA,EAAAC,CAAA,QAAAC,CAAA,GAAAC,MAAA,CAAAC,IAAA,CAAAJ,CAAA,OAAAG,MAAA,CAAAE,qBAAA,QAAAC,CAAA,GAAAH,MAAA,CAAAE,qBAAA,CAAAL,CAAA,GAAAC,CAAA,KAAAK,CAAA,GAAAA,CAAA,CAAAC,MAAA,WAAAN,CAAA,WAAAE,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AQ,EAARA;IAAQ,EAAE,CAAC;EAC1D,CAAC,CAAC,CACDN,GAAG,CAACQ,kBAAO,CAAC;EAEf,OAAOT,eAAe;AACxB"}
1
+ {"version":3,"file":"get-banners-for-nodes.js","names":["_lodash","_interopRequireDefault","require","_helpers","_injectBanner","ownKeys","e","r","t","Object","keys","getOwnPropertySymbols","o","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty2","getOwnPropertyDescriptors","defineProperties","defineProperty","getBannersForNodes","entitiesSet","banner","groups","groupNodeEntities","nodesWithBanner","map","chunk","index","key","concat","adunit","interval","injectBanner","flatten"],"sources":["../../../../src/helpers/inject-multiple-banners/get-banners-for-nodes/get-banners-for-nodes.js"],"sourcesContent":["import flatten from 'lodash.flatten';\nimport { groupNodeEntities } from './helpers';\nimport injectBanner from '../../inject-banner';\n\nexport default function getBannersForNodes(entitiesSet, banner) {\n const groups = groupNodeEntities(entitiesSet, banner);\n const nodesWithBanner = groups\n .map((chunk, index) => {\n const key = `${banner.adunit}-${index}`;\n const interval = chunk.length + 1;\n\n return injectBanner(chunk, { ...banner, key, interval });\n })\n .map(flatten);\n\n return nodesWithBanner;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AACA,IAAAE,aAAA,GAAAH,sBAAA,CAAAC,OAAA;AAA+C,SAAAG,QAAAC,CAAA,EAAAC,CAAA,QAAAC,CAAA,GAAAC,MAAA,CAAAC,IAAA,CAAAJ,CAAA,OAAAG,MAAA,CAAAE,qBAAA,QAAAC,CAAA,GAAAH,MAAA,CAAAE,qBAAA,CAAAL,CAAA,GAAAC,CAAA,KAAAK,CAAA,GAAAA,CAAA,CAAAC,MAAA,WAAAN,CAAA,WAAAE,MAAA,CAAAK,wBAAA,CAAAR,CAAA,EAAAC,CAAA,EAAAQ,UAAA,OAAAP,CAAA,CAAAQ,I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Ef,OAAOT,eAAe;AACxB","ignoreList":[]}
@@ -7,11 +7,11 @@ Object.defineProperty(exports, "__esModule", {
7
7
  });
8
8
  exports["default"] = groupNodeEntities;
9
9
  require("core-js/modules/es.array.filter.js");
10
- require("core-js/modules/es.object.to-string.js");
11
- require("core-js/modules/es.array.map.js");
12
10
  require("core-js/modules/es.array.for-each.js");
13
- require("core-js/modules/web.dom-collections.for-each.js");
11
+ require("core-js/modules/es.array.map.js");
14
12
  require("core-js/modules/es.array.slice.js");
13
+ require("core-js/modules/es.object.to-string.js");
14
+ require("core-js/modules/web.dom-collections.for-each.js");
15
15
  var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
16
16
  var _groupEntities = _interopRequireDefault(require("../../../group-entities"));
17
17
  function groupNodeEntities(entities, options) {
@@ -1 +1 @@
1
- {"version":3,"file":"group-node-entities.js","names":["_groupEntities","_interopRequireDefault","require","groupNodeEntities","entities","options","interval","entitySet","_toConsumableArray2","chunks","lastSliceIndex","validNodeIndexes","map","_ref","validIndex","props","hasValidChildren","children","length","filter","indexCandidate","refChunks","groupEntities","forEach","ref","end","start","newChunk","slice","push"],"sources":["../../../../../src/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/group-node-entities.js"],"sourcesContent":["import groupEntities from '../../../group-entities';\n\nexport default function groupNodeEntities(entities, options) {\n const { interval } = options;\n const entitySet = [...entities];\n const chunks = [];\n let lastSliceIndex = 0;\n\n const validNodeIndexes = entitySet\n .map(({ props }, validIndex) => {\n const hasValidChildren = props && props.children && props.children.length;\n\n if (hasValidChildren) return validIndex;\n\n return null;\n })\n .filter(indexCandidate => typeof indexCandidate === 'number');\n\n const refChunks = groupEntities(validNodeIndexes, interval - 1);\n\n refChunks.forEach(ref => {\n const end = ref[ref.length - 1] + 1;\n const start = lastSliceIndex || ref[0];\n\n const newChunk = entitySet.slice(start, end);\n\n lastSliceIndex = end;\n\n if (newChunk.length) chunks.push(newChunk);\n });\n\n return chunks;\n}\n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group-node-entities.js","names":["_groupEntities","_interopRequireDefault","require","groupNodeEntities","entities","options","interval","entitySet","_toConsumableArray2","chunks","lastSliceIndex","validNodeIndexes","map","_ref","validIndex","props","hasValidChildren","children","length","filter","indexCandidate","refChunks","groupEntities","forEach","ref","end","start","newChunk","slice","push"],"sources":["../../../../../src/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/group-node-entities.js"],"sourcesContent":["import groupEntities from '../../../group-entities';\n\nexport default function groupNodeEntities(entities, options) {\n const { interval } = options;\n const entitySet = [...entities];\n const chunks = [];\n let lastSliceIndex = 0;\n\n const validNodeIndexes = entitySet\n .map(({ props }, validIndex) => {\n const hasValidChildren = props && props.children && props.children.length;\n\n if (hasValidChildren) return validIndex;\n\n return null;\n })\n .filter(indexCandidate => typeof indexCandidate === 'number');\n\n const refChunks = groupEntities(validNodeIndexes, interval - 1);\n\n refChunks.forEach(ref => {\n const end = ref[ref.length - 1] + 1;\n const start = lastSliceIndex || ref[0];\n\n const newChunk = entitySet.slice(start, end);\n\n lastSliceIndex = end;\n\n if (newChunk.length) chunks.push(newChunk);\n });\n\n return chunks;\n}\n"],"mappings":";;;;;;;;;;;;;;;AAAA,IAAAA,cAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEe,SAASC,iBAAiBA,CAACC,QAAQ,EAAEC,OAAO,EAAE;EAC3D,IAAQC,QAAQ,GAAKD,OAAO,CAApBC,QAAQ;EAChB,IAAMC,SAAS,OAAAC,mBAAA,aAAOJ,QAAQ,CAAC;EAC/B,IAAMK,MAAM,GAAG,EAAE;EACjB,IAAIC,cAAc,GAAG,CAAC;EAEtB,IAAMC,gBAAgB,GAAGJ,SAAS,CAC/BK,GAAG,CAAC,UAAAC,IAAA,EAAYC,UAAU,EAAK;IAAA,IAAxBC,KAAK,GAAAF,IAAA,CAALE,KAAK;IACX,IAAMC,gBAAgB,GAAGD,KAAK,IAAIA,KAAK,CAACE,QAAQ,IAAIF,KAAK,CAACE,QAAQ,CAACC,MAAM;IAEzE,IAAIF,gBAAgB,EAAE,OAAOF,UAAU;IAEvC,OAAO,IAAI;EACb,CAAC,CAAC,CACDK,MAAM,CAAC,UAAAC,cAAc;IAAA,OAAI,OAAOA,cAAc,KAAK,QAAQ;EAAA,EAAC;EAE/D,IAAMC,SAAS,GAAG,IAAAC,yBAAa,EAACX,gBAAgB,EAAEL,QAAQ,GAAG,CAAC,CAAC;EAE/De,SAAS,CAACE,OAAO,CAAC,UAAAC,GAAG,EAAI;IACvB,IAAMC,GAAG,GAAGD,GAAG,CAACA,GAAG,CAACN,MAAM,GAAG,CAAC,CAAC,GAAG,CAAC;IACnC,IAAMQ,KAAK,GAAGhB,cAAc,IAAIc,GAAG,CAAC,CAAC,CAAC;IAEtC,IAAMG,QAAQ,GAAGpB,SAAS,CAACqB,KAAK,CAACF,KAAK,EAAED,GAAG,CAAC;IAE5Cf,cAAc,GAAGe,GAAG;IAEpB,IAAIE,QAAQ,CAACT,MAAM,EAAET,MAAM,CAACoB,IAAI,CAACF,QAAQ,CAAC;EAC5C,CAAC,CAAC;EAEF,OAAOlB,MAAM;AACf","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_groupNodeEntities","_interopRequireDefault","require"],"sources":["../../../../../src/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/index.js"],"sourcesContent":["import groupNodeEntities from './group-node-entities';\n\nexport { groupNodeEntities };\n"],"mappings":";;;;;;;;;;;;;AAAA,IAAAA,kBAAA,GAAAC,sBAAA,CAAAC,OAAA"}
1
+ {"version":3,"file":"index.js","names":["_groupNodeEntities","_interopRequireDefault","require"],"sources":["../../../../../src/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/index.js"],"sourcesContent":["import groupNodeEntities from './group-node-entities';\n\nexport { groupNodeEntities };\n"],"mappings":";;;;;;;;;;;;;AAAA,IAAAA,kBAAA,GAAAC,sBAAA,CAAAC,OAAA","ignoreList":[]}