@blaze-cms/react-page-builder 0.146.0-tooltips.6 → 0.146.0-tooltips.8

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 (1027) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/lib/BannerContext/helpers/index.js.map +1 -1
  3. package/lib/BannerContext/helpers/set-initial-banner-counters.js +1 -1
  4. package/lib/BannerContext/helpers/set-initial-banner-counters.js.map +1 -1
  5. package/lib/BannerContext/index.js +2 -2
  6. package/lib/BannerContext/index.js.map +1 -1
  7. package/lib/HOC/index.js.map +1 -1
  8. package/lib/HOC/recreateOnNavigation.js +1 -1
  9. package/lib/HOC/recreateOnNavigation.js.map +1 -1
  10. package/lib/HOC/withInfiniteScroll.js +2 -2
  11. package/lib/HOC/withInfiniteScroll.js.map +1 -1
  12. package/lib/HOC/withTitle.js +2 -2
  13. package/lib/HOC/withTitle.js.map +1 -1
  14. package/lib/PBContext/index.js.map +1 -1
  15. package/lib/application/query/index.js +1 -1
  16. package/lib/application/query/index.js.map +1 -1
  17. package/lib/components/BackToTop/BackToTop.js +2 -2
  18. package/lib/components/BackToTop/BackToTop.js.map +1 -1
  19. package/lib/components/BackToTop/index.js.map +1 -1
  20. package/lib/components/Banner/AdSlotRender.js +4 -4
  21. package/lib/components/Banner/AdSlotRender.js.map +1 -1
  22. package/lib/components/Banner/Banner.js +3 -3
  23. package/lib/components/Banner/Banner.js.map +1 -1
  24. package/lib/components/Banner/BannerRender.js +4 -4
  25. package/lib/components/Banner/BannerRender.js.map +1 -1
  26. package/lib/components/Banner/helpers.js +16 -16
  27. package/lib/components/Banner/helpers.js.map +1 -1
  28. package/lib/components/Banner/index.js +3 -3
  29. package/lib/components/Banner/index.js.map +1 -1
  30. package/lib/components/BlazeLink.js +6 -6
  31. package/lib/components/BlazeLink.js.map +1 -1
  32. package/lib/components/Breadcrumb/Breadcrumb.js +3 -3
  33. package/lib/components/Breadcrumb/Breadcrumb.js.map +1 -1
  34. package/lib/components/Breadcrumb/index.js.map +1 -1
  35. package/lib/components/Button.js +6 -6
  36. package/lib/components/Button.js.map +1 -1
  37. package/lib/components/Card/Card.js +4 -4
  38. package/lib/components/Card/Card.js.map +1 -1
  39. package/lib/components/Card/CardsContainer.js +8 -8
  40. package/lib/components/Card/CardsContainer.js.map +1 -1
  41. package/lib/components/Card/CardsFactory.js +1 -1
  42. package/lib/components/Card/CardsFactory.js.map +1 -1
  43. package/lib/components/Card/CardsRender.js +12 -12
  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.map +1 -1
  58. package/lib/components/Carousel/CarouselRender/index.js.map +1 -1
  59. package/lib/components/Carousel/hooks/useCarouselNavigation.js.map +1 -1
  60. package/lib/components/Carousel/index.js.map +1 -1
  61. package/lib/components/CarouselWrapper/CarouselWrapper.js.map +1 -1
  62. package/lib/components/CarouselWrapper/DefaultCarousel.js +3 -3
  63. package/lib/components/CarouselWrapper/DefaultCarousel.js.map +1 -1
  64. package/lib/components/CarouselWrapper/SmoothScrollCarousel.js.map +1 -1
  65. package/lib/components/CarouselWrapper/index.js.map +1 -1
  66. package/lib/components/ClickWrapper.js +6 -6
  67. package/lib/components/ClickWrapper.js.map +1 -1
  68. package/lib/components/Code/Code.js +6 -6
  69. package/lib/components/Code/Code.js.map +1 -1
  70. package/lib/components/Code/ScriptTag.js +3 -3
  71. package/lib/components/Code/ScriptTag.js.map +1 -1
  72. package/lib/components/Code/helpers/index.js.map +1 -1
  73. package/lib/components/Code/helpers/wrap-script-tags.js +1 -1
  74. package/lib/components/Code/helpers/wrap-script-tags.js.map +1 -1
  75. package/lib/components/Code/index.js.map +1 -1
  76. package/lib/components/ContentGroup/ContentGroup.js.map +1 -1
  77. package/lib/components/ContentGroup/ContentGroupTabs.js +3 -3
  78. package/lib/components/ContentGroup/ContentGroupTabs.js.map +1 -1
  79. package/lib/components/ContentGroup/constants.js.map +1 -1
  80. package/lib/components/ContentGroup/helpers/get-active-tab.js +1 -1
  81. package/lib/components/ContentGroup/helpers/get-active-tab.js.map +1 -1
  82. package/lib/components/ContentGroup/helpers/get-sections-data.js.map +1 -1
  83. package/lib/components/ContentGroup/helpers/index.js.map +1 -1
  84. package/lib/components/ContentGroup/index.js.map +1 -1
  85. package/lib/components/ContentGroupSection/ContentGroupSection.js.map +1 -1
  86. package/lib/components/ContentGroupSection/index.js.map +1 -1
  87. package/lib/components/DataSummary/DataSummaryFactory.js +2 -2
  88. package/lib/components/DataSummary/DataSummaryFactory.js.map +1 -1
  89. package/lib/components/DataSummary/DataSummaryRender.js.map +1 -1
  90. package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummary.js.map +1 -1
  91. package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummaryContent.js +3 -3
  92. package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummaryContent.js.map +1 -1
  93. package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/index.js.map +1 -1
  94. package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummary.js.map +1 -1
  95. package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummaryContent.js +3 -3
  96. package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummaryContent.js.map +1 -1
  97. package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/index.js.map +1 -1
  98. package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummary.js.map +1 -1
  99. package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummaryContent.js +3 -3
  100. package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummaryContent.js.map +1 -1
  101. package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/index.js.map +1 -1
  102. package/lib/components/DataSummary/DataSummaryTypes/ListSummary/ListSummary.js.map +1 -1
  103. package/lib/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.js +3 -3
  104. package/lib/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.js.map +1 -1
  105. package/lib/components/DataSummary/DataSummaryTypes/ListSummary/index.js.map +1 -1
  106. package/lib/components/DataSummary/DataSummaryTypes/TextSummary/TextSummary.js.map +1 -1
  107. package/lib/components/DataSummary/DataSummaryTypes/TextSummary/TextSummaryContent.js +3 -3
  108. package/lib/components/DataSummary/DataSummaryTypes/TextSummary/TextSummaryContent.js.map +1 -1
  109. package/lib/components/DataSummary/DataSummaryTypes/TextSummary/index.js.map +1 -1
  110. package/lib/components/DataSummary/DataSummaryTypes/index.js +3 -3
  111. package/lib/components/DataSummary/DataSummaryTypes/index.js.map +1 -1
  112. package/lib/components/DataSummary/helpers/build-loop-props-content.js +5 -5
  113. package/lib/components/DataSummary/helpers/build-loop-props-content.js.map +1 -1
  114. package/lib/components/DataSummary/helpers/build-props-to-display-with-content.js +2 -2
  115. package/lib/components/DataSummary/helpers/build-props-to-display-with-content.js.map +1 -1
  116. package/lib/components/DataSummary/helpers/get-data-summary-query.js.map +1 -1
  117. package/lib/components/DataSummary/helpers/get-link-based-on-value.js.map +1 -1
  118. package/lib/components/DataSummary/helpers/get-link-props.js +2 -2
  119. package/lib/components/DataSummary/helpers/get-link-props.js.map +1 -1
  120. package/lib/components/DataSummary/helpers/get-link-to-published-content.js.map +1 -1
  121. package/lib/components/DataSummary/helpers/get-loop-props-limit.js +2 -2
  122. package/lib/components/DataSummary/helpers/get-loop-props-limit.js.map +1 -1
  123. package/lib/components/DataSummary/helpers/get-prop-value.js +3 -3
  124. package/lib/components/DataSummary/helpers/get-prop-value.js.map +1 -1
  125. package/lib/components/DataSummary/helpers/get-value-from-array.js +2 -2
  126. package/lib/components/DataSummary/helpers/get-value-from-array.js.map +1 -1
  127. package/lib/components/DataSummary/helpers/index.js.map +1 -1
  128. package/lib/components/DataSummary/helpers/parse-boolean-values.js.map +1 -1
  129. package/lib/components/DataSummary/helpers/strip-summary-props-content.js.map +1 -1
  130. package/lib/components/DataSummary/index.js.map +1 -1
  131. package/lib/components/DateTime/DateTime.js.map +1 -1
  132. package/lib/components/DateTime/index.js.map +1 -1
  133. package/lib/components/EmailConfirm/EmailConfirm.js +2 -2
  134. package/lib/components/EmailConfirm/EmailConfirm.js.map +1 -1
  135. package/lib/components/EmailConfirm/index.js.map +1 -1
  136. package/lib/components/EmailConfirm/mutation.js.map +1 -1
  137. package/lib/components/ErrorMessage/ErrorMessage.js +40 -0
  138. package/lib/components/ErrorMessage/ErrorMessage.js.map +1 -0
  139. package/lib/components/ErrorMessage/index.js +25 -0
  140. package/lib/components/ErrorMessage/index.js.map +1 -0
  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 +3 -3
  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 +3 -3
  148. package/lib/components/Image/GlobalLightbox/index.js.map +1 -1
  149. package/lib/components/Image/Image.js +7 -7
  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 +2 -2
  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 +2 -2
  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 +4 -4
  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.map +1 -1
  170. package/lib/components/ItemList/helpers/index.js.map +1 -1
  171. package/lib/components/ItemList/helpers/set-item-list-id.js.map +1 -1
  172. package/lib/components/ItemList/helpers/set-param-and-redirect.js +4 -4
  173. package/lib/components/ItemList/helpers/set-param-and-redirect.js.map +1 -1
  174. package/lib/components/ItemList/hooks/index.js.map +1 -1
  175. package/lib/components/ItemList/hooks/use-item-list-id.js.map +1 -1
  176. package/lib/components/Layout/Layout.js +5 -5
  177. package/lib/components/Layout/Layout.js.map +1 -1
  178. package/lib/components/Layout/LayoutFactory.js +3 -3
  179. package/lib/components/Layout/LayoutFactory.js.map +1 -1
  180. package/lib/components/Layout/LayoutWithStickyTimer.js +2 -2
  181. package/lib/components/Layout/LayoutWithStickyTimer.js.map +1 -1
  182. package/lib/components/Layout/constants.js.map +1 -1
  183. package/lib/components/Layout/helpers/check-if-row-has-columns.js +1 -1
  184. package/lib/components/Layout/helpers/check-if-row-has-columns.js.map +1 -1
  185. package/lib/components/Layout/helpers/get-styles-to-update.js.map +1 -1
  186. package/lib/components/Layout/helpers/index.js.map +1 -1
  187. package/lib/components/Layout/index.js.map +1 -1
  188. package/lib/components/LazyImage/LazyImage.js.map +1 -1
  189. package/lib/components/LazyImage/index.js +3 -3
  190. package/lib/components/LazyImage/index.js.map +1 -1
  191. package/lib/components/List/ListBuilder.js +5 -5
  192. package/lib/components/List/ListBuilder.js.map +1 -1
  193. package/lib/components/List/ListFactory.js +10 -10
  194. package/lib/components/List/ListFactory.js.map +1 -1
  195. package/lib/components/List/ListRender.js.map +1 -1
  196. package/lib/components/List/components/Cards/CardRenderWithInfiniteScroll.js.map +1 -1
  197. package/lib/components/List/components/Cards/CardsRender.js +7 -7
  198. package/lib/components/List/components/Cards/CardsRender.js.map +1 -1
  199. package/lib/components/List/components/Cards/CardsRenderItem.js.map +1 -1
  200. package/lib/components/List/components/Cards/CardsRenderWrapper.js +2 -2
  201. package/lib/components/List/components/Cards/CardsRenderWrapper.js.map +1 -1
  202. package/lib/components/List/components/Cards/index.js.map +1 -1
  203. package/lib/components/List/components/Full/FullRender.js +6 -6
  204. package/lib/components/List/components/Full/FullRender.js.map +1 -1
  205. package/lib/components/List/components/Full/FullRenderItem.js +6 -6
  206. package/lib/components/List/components/Full/FullRenderItem.js.map +1 -1
  207. package/lib/components/List/components/Full/FullRenderWithInfiniteScroll.js.map +1 -1
  208. package/lib/components/List/components/Full/index.js.map +1 -1
  209. package/lib/components/List/components/Header/ListHeader.js +1 -1
  210. package/lib/components/List/components/Header/ListHeader.js.map +1 -1
  211. package/lib/components/List/components/Header/index.js.map +1 -1
  212. package/lib/components/List/components/Pagination/Classic.js.map +1 -1
  213. package/lib/components/List/components/Pagination/ListPagination.js +6 -6
  214. package/lib/components/List/components/Pagination/ListPagination.js.map +1 -1
  215. package/lib/components/List/components/Pagination/LoadMore.js.map +1 -1
  216. package/lib/components/List/components/Pagination/index.js.map +1 -1
  217. package/lib/components/List/components/helpers/check-if-should-render-banner.js +2 -2
  218. package/lib/components/List/components/helpers/check-if-should-render-banner.js.map +1 -1
  219. package/lib/components/List/components/helpers/check-if-should-render-gtm.js +2 -2
  220. package/lib/components/List/components/helpers/check-if-should-render-gtm.js.map +1 -1
  221. package/lib/components/List/components/helpers/index.js.map +1 -1
  222. package/lib/components/List/components/index.js.map +1 -1
  223. package/lib/components/List/constants.js.map +1 -1
  224. package/lib/components/List/helpers/build-az-aggregations.js +3 -3
  225. package/lib/components/List/helpers/build-az-aggregations.js.map +1 -1
  226. package/lib/components/List/helpers/build-az-url.js +5 -5
  227. package/lib/components/List/helpers/build-az-url.js.map +1 -1
  228. package/lib/components/List/helpers/build-pagination-items.js.map +1 -1
  229. package/lib/components/List/helpers/build-pagination-url.js +5 -5
  230. package/lib/components/List/helpers/build-pagination-url.js.map +1 -1
  231. package/lib/components/List/helpers/build-query-booster.js +6 -6
  232. package/lib/components/List/helpers/build-query-booster.js.map +1 -1
  233. package/lib/components/List/helpers/get-az-query-filter.js.map +1 -1
  234. package/lib/components/List/helpers/get-items-per-page-to-use.js.map +1 -1
  235. package/lib/components/List/helpers/get-list-component.js.map +1 -1
  236. package/lib/components/List/helpers/get-list-query.js +3 -3
  237. package/lib/components/List/helpers/get-list-query.js.map +1 -1
  238. package/lib/components/List/helpers/get-list-specific-search-filter.js.map +1 -1
  239. package/lib/components/List/helpers/get-sort-props.js +2 -2
  240. package/lib/components/List/helpers/get-sort-props.js.map +1 -1
  241. package/lib/components/List/helpers/has-required-item-list-details.js.map +1 -1
  242. package/lib/components/List/helpers/index.js.map +1 -1
  243. package/lib/components/List/helpers/sort-aggs.js.map +1 -1
  244. package/lib/components/List/helpers/strip-query-key.js.map +1 -1
  245. package/lib/components/List/index.js.map +1 -1
  246. package/lib/components/Loading/Loading.js.map +1 -1
  247. package/lib/components/Loading/constants.js.map +1 -1
  248. package/lib/components/Loading/helpers.js.map +1 -1
  249. package/lib/components/Loading/index.js.map +1 -1
  250. package/lib/components/Menu/Menu.js +2 -2
  251. package/lib/components/Menu/Menu.js.map +1 -1
  252. package/lib/components/Menu/MenuContext.js.map +1 -1
  253. package/lib/components/Menu/index.js.map +1 -1
  254. package/lib/components/MenuItem/MenuEntitiesItem.js +5 -5
  255. package/lib/components/MenuItem/MenuEntitiesItem.js.map +1 -1
  256. package/lib/components/MenuItem/MenuItem.js.map +1 -1
  257. package/lib/components/MenuItem/MenuItemRender.js +8 -5
  258. package/lib/components/MenuItem/MenuItemRender.js.map +1 -1
  259. package/lib/components/MenuItem/helpers/has-active-child.js.map +1 -1
  260. package/lib/components/MenuItem/helpers/index.js.map +1 -1
  261. package/lib/components/MenuItem/helpers/inject-helper-into-template.js.map +1 -1
  262. package/lib/components/MenuItem/helpers/isUrlPathMatch.js.map +1 -1
  263. package/lib/components/MenuItem/index.js.map +1 -1
  264. package/lib/components/Modal/Modal.js.map +1 -1
  265. package/lib/components/Modal/index.js.map +1 -1
  266. package/lib/components/ModalAdapter/ModalAdapter.js.map +1 -1
  267. package/lib/components/ModalAdapter/index.js +3 -3
  268. package/lib/components/ModalAdapter/index.js.map +1 -1
  269. package/lib/components/SearchContent/SearchContent.js +3 -3
  270. package/lib/components/SearchContent/SearchContent.js.map +1 -1
  271. package/lib/components/SearchContent/SearchContentItems.js.map +1 -1
  272. package/lib/components/SearchContent/SearchContentResults.js.map +1 -1
  273. package/lib/components/SearchContent/SearchContentToggleIcon.js.map +1 -1
  274. package/lib/components/SearchContent/constants.js.map +1 -1
  275. package/lib/components/SearchContent/index.js.map +1 -1
  276. package/lib/components/SearchFilter/SearchFilter/CloseMobileForm.js.map +1 -1
  277. package/lib/components/SearchFilter/SearchFilter/FiltersList.js +3 -3
  278. package/lib/components/SearchFilter/SearchFilter/FiltersList.js.map +1 -1
  279. package/lib/components/SearchFilter/SearchFilter/MobileFormToolbar.js.map +1 -1
  280. package/lib/components/SearchFilter/SearchFilter/ResetDesktopForm.js.map +1 -1
  281. package/lib/components/SearchFilter/SearchFilter/SearchFilter.js +3 -3
  282. package/lib/components/SearchFilter/SearchFilter/SearchFilter.js.map +1 -1
  283. package/lib/components/SearchFilter/SearchFilter/index.js.map +1 -1
  284. package/lib/components/SearchFilter/SearchFilterContainer.js +4 -4
  285. package/lib/components/SearchFilter/SearchFilterContainer.js.map +1 -1
  286. package/lib/components/SearchFilter/components/Checkbox.js +7 -7
  287. package/lib/components/SearchFilter/components/Checkbox.js.map +1 -1
  288. package/lib/components/SearchFilter/components/Range.js +4 -4
  289. package/lib/components/SearchFilter/components/Range.js.map +1 -1
  290. package/lib/components/SearchFilter/components/Select.js +3 -3
  291. package/lib/components/SearchFilter/components/Select.js.map +1 -1
  292. package/lib/components/SearchFilter/components/TextSearch.js.map +1 -1
  293. package/lib/components/SearchFilter/components/index.js.map +1 -1
  294. package/lib/components/SearchFilter/constants.js.map +1 -1
  295. package/lib/components/SearchFilter/helpers/build-list-name-query.js +3 -3
  296. package/lib/components/SearchFilter/helpers/build-list-name-query.js.map +1 -1
  297. package/lib/components/SearchFilter/helpers/build-new-url.js.map +1 -1
  298. package/lib/components/SearchFilter/helpers/build-url-query.js +3 -3
  299. package/lib/components/SearchFilter/helpers/build-url-query.js.map +1 -1
  300. package/lib/components/SearchFilter/helpers/calculate-min-max.js.map +1 -1
  301. package/lib/components/SearchFilter/helpers/calculate-step.js.map +1 -1
  302. package/lib/components/SearchFilter/helpers/check-if-range-updated.js.map +1 -1
  303. package/lib/components/SearchFilter/helpers/decode-encode.js.map +1 -1
  304. package/lib/components/SearchFilter/helpers/get-display-value.js +1 -1
  305. package/lib/components/SearchFilter/helpers/get-display-value.js.map +1 -1
  306. package/lib/components/SearchFilter/helpers/get-filter-ranges-and-checkboxes-values.js +2 -2
  307. package/lib/components/SearchFilter/helpers/get-filter-ranges-and-checkboxes-values.js.map +1 -1
  308. package/lib/components/SearchFilter/helpers/get-filter-value-from-query.js.map +1 -1
  309. package/lib/components/SearchFilter/helpers/get-filter-values.js.map +1 -1
  310. package/lib/components/SearchFilter/helpers/get-initial-filter-values.js.map +1 -1
  311. package/lib/components/SearchFilter/helpers/get-intersected-prop.js.map +1 -1
  312. package/lib/components/SearchFilter/helpers/get-range-value.js.map +1 -1
  313. package/lib/components/SearchFilter/helpers/get-responsive-filter-classnames.js.map +1 -1
  314. package/lib/components/SearchFilter/helpers/get-select-options.js.map +1 -1
  315. package/lib/components/SearchFilter/helpers/get-updated-filter-by.js +2 -2
  316. package/lib/components/SearchFilter/helpers/get-updated-filter-by.js.map +1 -1
  317. package/lib/components/SearchFilter/helpers/index.js.map +1 -1
  318. package/lib/components/SearchFilter/helpers/is-device-desktop.js.map +1 -1
  319. package/lib/components/SearchFilter/helpers/parse-filter-value.js.map +1 -1
  320. package/lib/components/SearchFilter/index.js.map +1 -1
  321. package/lib/components/SearchFilter/searchFilterReducer.js +5 -5
  322. package/lib/components/SearchFilter/searchFilterReducer.js.map +1 -1
  323. package/lib/components/SearchFilterSort/SearchFilterSort.js.map +1 -1
  324. package/lib/components/SearchFilterSort/constants.js.map +1 -1
  325. package/lib/components/SearchFilterSort/helpers/handle-sort-update.js +2 -2
  326. package/lib/components/SearchFilterSort/helpers/handle-sort-update.js.map +1 -1
  327. package/lib/components/SearchFilterSort/helpers/index.js.map +1 -1
  328. package/lib/components/SearchFilterSort/helpers/update-sort.js +5 -5
  329. package/lib/components/SearchFilterSort/helpers/update-sort.js.map +1 -1
  330. package/lib/components/SearchFilterSort/index.js.map +1 -1
  331. package/lib/components/SocialFollow/SFItem.js.map +1 -1
  332. package/lib/components/SocialFollow/SocialFollow.js.map +1 -1
  333. package/lib/components/SocialFollow/SocialFollowRender.js.map +1 -1
  334. package/lib/components/SocialFollow/index.js.map +1 -1
  335. package/lib/components/SocialFollow/sf.config.js.map +1 -1
  336. package/lib/components/SubMenu/SubMenu.js.map +1 -1
  337. package/lib/components/SubMenu/index.js.map +1 -1
  338. package/lib/components/TextBlock/TextBlockRender.js.map +1 -1
  339. package/lib/components/TextBlock/index.js +5 -5
  340. package/lib/components/TextBlock/index.js.map +1 -1
  341. package/lib/components/Video/Video.js +5 -5
  342. package/lib/components/Video/Video.js.map +1 -1
  343. package/lib/components/Video/VideoContext.js.map +1 -1
  344. package/lib/components/Video/VideoModal.js +2 -2
  345. package/lib/components/Video/VideoModal.js.map +1 -1
  346. package/lib/components/Video/VideoRender.js +2 -2
  347. package/lib/components/Video/VideoRender.js.map +1 -1
  348. package/lib/components/Video/constants.js.map +1 -1
  349. package/lib/components/Video/helpers/emit-gtm-event.js.map +1 -1
  350. package/lib/components/Video/index.js.map +1 -1
  351. package/lib/components/Video/providers/Default.js.map +1 -1
  352. package/lib/components/Video/providers/JWPlayer/JWPlayerController.js.map +1 -1
  353. package/lib/components/Video/providers/JWPlayer/JWPlayerProvider.js +6 -6
  354. package/lib/components/Video/providers/JWPlayer/JWPlayerProvider.js.map +1 -1
  355. package/lib/components/Video/providers/Vimeo/VimeoProvider.js +2 -2
  356. package/lib/components/Video/providers/Vimeo/VimeoProvider.js.map +1 -1
  357. package/lib/components/Video/providers/Vimeo/helpers/add-extra-params-to-url.js +6 -6
  358. package/lib/components/Video/providers/Vimeo/helpers/add-extra-params-to-url.js.map +1 -1
  359. package/lib/components/Video/providers/Vimeo/helpers/index.js.map +1 -1
  360. package/lib/components/Video/providers/YouTube/YouTubeProvider.js.map +1 -1
  361. package/lib/components/Video/providers/YouTube/YoutubeEmbeded.js +2 -2
  362. package/lib/components/Video/providers/YouTube/YoutubeEmbeded.js.map +1 -1
  363. package/lib/components/Video/providers/YouTube/helpers/index.js +1 -1
  364. package/lib/components/Video/providers/YouTube/helpers/index.js.map +1 -1
  365. package/lib/components/Video/providers/get-provider.js +3 -3
  366. package/lib/components/Video/providers/get-provider.js.map +1 -1
  367. package/lib/components/Video/providers/index.js.map +1 -1
  368. package/lib/components/Wrapper.js.map +1 -1
  369. package/lib/components/index.js +3 -3
  370. package/lib/components/index.js.map +1 -1
  371. package/lib/constants/componentsDefaultValues.js.map +1 -1
  372. package/lib/constants/index.js +3 -2
  373. package/lib/constants/index.js.map +1 -1
  374. package/lib/helpers/append-images.js +5 -5
  375. package/lib/helpers/append-images.js.map +1 -1
  376. package/lib/helpers/build-az-filter.js.map +1 -1
  377. package/lib/helpers/build-checkbox-filters.js.map +1 -1
  378. package/lib/helpers/build-filters-query.js +6 -6
  379. package/lib/helpers/build-filters-query.js.map +1 -1
  380. package/lib/helpers/build-image-properties.js.map +1 -1
  381. package/lib/helpers/build-inherited-filters.js +4 -4
  382. package/lib/helpers/build-inherited-filters.js.map +1 -1
  383. package/lib/helpers/build-link-extra-props.js.map +1 -1
  384. package/lib/helpers/build-props-query.js +9 -9
  385. package/lib/helpers/build-props-query.js.map +1 -1
  386. package/lib/helpers/build-query-fields.js +1 -1
  387. package/lib/helpers/build-query-fields.js.map +1 -1
  388. package/lib/helpers/build-query-key.js.map +1 -1
  389. package/lib/helpers/build-raw-query-base.js +9 -9
  390. package/lib/helpers/build-raw-query-base.js.map +1 -1
  391. package/lib/helpers/build-raw-query-stringified.js +1 -1
  392. package/lib/helpers/build-raw-query-stringified.js.map +1 -1
  393. package/lib/helpers/build-raw-query.js +5 -5
  394. package/lib/helpers/build-raw-query.js.map +1 -1
  395. package/lib/helpers/build-search-values-checkbox-select.js +7 -7
  396. package/lib/helpers/build-search-values-checkbox-select.js.map +1 -1
  397. package/lib/helpers/build-search-values-text.js.map +1 -1
  398. package/lib/helpers/build-set-filters.js +3 -3
  399. package/lib/helpers/build-set-filters.js.map +1 -1
  400. package/lib/helpers/build-sort-values.js +6 -6
  401. package/lib/helpers/build-sort-values.js.map +1 -1
  402. package/lib/helpers/check-for-error.js.map +1 -1
  403. package/lib/helpers/check-props-to-use.js.map +1 -1
  404. package/lib/helpers/entities/constants.js.map +1 -1
  405. package/lib/helpers/filter-query-setup.js +5 -5
  406. package/lib/helpers/filter-query-setup.js.map +1 -1
  407. package/lib/helpers/filters-setup.js.map +1 -1
  408. package/lib/helpers/get-banner-data.js +5 -5
  409. package/lib/helpers/get-banner-data.js.map +1 -1
  410. package/lib/helpers/get-checkbox-filters.js.map +1 -1
  411. package/lib/helpers/get-click-wrapper-options.js +6 -6
  412. package/lib/helpers/get-click-wrapper-options.js.map +1 -1
  413. package/lib/helpers/get-current-offset.js.map +1 -1
  414. package/lib/helpers/get-dictionary-match.js.map +1 -1
  415. package/lib/helpers/get-display-count-data.js.map +1 -1
  416. package/lib/helpers/get-elasticsearch-operator.js.map +1 -1
  417. package/lib/helpers/get-entities-with-banner.js +5 -5
  418. package/lib/helpers/get-entities-with-banner.js.map +1 -1
  419. package/lib/helpers/get-entity-data.js.map +1 -1
  420. package/lib/helpers/get-entity-render-props.js.map +1 -1
  421. package/lib/helpers/get-extra-az-bits.js.map +1 -1
  422. package/lib/helpers/get-filter-props.js.map +1 -1
  423. package/lib/helpers/get-filter-relation-keys.js +1 -1
  424. package/lib/helpers/get-filter-relation-keys.js.map +1 -1
  425. package/lib/helpers/get-generic-props.js +5 -5
  426. package/lib/helpers/get-generic-props.js.map +1 -1
  427. package/lib/helpers/get-generic-render-variables.js +6 -6
  428. package/lib/helpers/get-generic-render-variables.js.map +1 -1
  429. package/lib/helpers/get-image-ids.js +2 -2
  430. package/lib/helpers/get-image-ids.js.map +1 -1
  431. package/lib/helpers/get-inherited-filters.js +2 -2
  432. package/lib/helpers/get-inherited-filters.js.map +1 -1
  433. package/lib/helpers/get-items-to-display-ids.js +2 -2
  434. package/lib/helpers/get-items-to-display-ids.js.map +1 -1
  435. package/lib/helpers/get-modifiers.js +3 -3
  436. package/lib/helpers/get-modifiers.js.map +1 -1
  437. package/lib/helpers/get-not-equal-query.js.map +1 -1
  438. package/lib/helpers/get-pagination-index.js.map +1 -1
  439. package/lib/helpers/get-parsed-prop-values.js +3 -3
  440. package/lib/helpers/get-parsed-prop-values.js.map +1 -1
  441. package/lib/helpers/get-parsed-summary-value.js.map +1 -1
  442. package/lib/helpers/get-prop-values.js +2 -2
  443. package/lib/helpers/get-prop-values.js.map +1 -1
  444. package/lib/helpers/get-query-filters.js.map +1 -1
  445. package/lib/helpers/get-query-props.js +3 -3
  446. package/lib/helpers/get-query-props.js.map +1 -1
  447. package/lib/helpers/get-required-schemas.js +3 -3
  448. package/lib/helpers/get-required-schemas.js.map +1 -1
  449. package/lib/helpers/get-sanitized-prop-values.js.map +1 -1
  450. package/lib/helpers/get-search-filter-type.js.map +1 -1
  451. package/lib/helpers/get-sort-by-field-name.js +4 -4
  452. package/lib/helpers/get-sort-by-field-name.js.map +1 -1
  453. package/lib/helpers/get-unpublished-entity-name.js +1 -1
  454. package/lib/helpers/get-unpublished-entity-name.js.map +1 -1
  455. package/lib/helpers/get-updated-filter-by.js.map +1 -1
  456. package/lib/helpers/get-updated-items-to-display.js +3 -3
  457. package/lib/helpers/get-updated-items-to-display.js.map +1 -1
  458. package/lib/helpers/get-updated-sort-properties.js +2 -2
  459. package/lib/helpers/get-updated-sort-properties.js.map +1 -1
  460. package/lib/helpers/get-wrapped-value-with-link.js +1 -1
  461. package/lib/helpers/get-wrapped-value-with-link.js.map +1 -1
  462. package/lib/helpers/group-entities.js +1 -1
  463. package/lib/helpers/group-entities.js.map +1 -1
  464. package/lib/helpers/has-children.js.map +1 -1
  465. package/lib/helpers/index.js.map +1 -1
  466. package/lib/helpers/inject-banner.js.map +1 -1
  467. package/lib/helpers/inject-banners-to-entities.js.map +1 -1
  468. package/lib/helpers/inject-multiple-banners/get-banners-for-entities/get-banners-for-entities.js.map +1 -1
  469. package/lib/helpers/inject-multiple-banners/get-banners-for-entities/index.js.map +1 -1
  470. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/get-banners-for-nodes.js +6 -6
  471. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/get-banners-for-nodes.js.map +1 -1
  472. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/group-node-entities.js +3 -3
  473. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/group-node-entities.js.map +1 -1
  474. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/index.js.map +1 -1
  475. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/index.js.map +1 -1
  476. package/lib/helpers/inject-multiple-banners/index.js.map +1 -1
  477. package/lib/helpers/inject-multiple-banners/inject-multiple-banners.js.map +1 -1
  478. package/lib/helpers/is-browser.js.map +1 -1
  479. package/lib/helpers/is-filter-entitys-id.js +1 -1
  480. package/lib/helpers/is-filter-entitys-id.js.map +1 -1
  481. package/lib/helpers/is-object.js.map +1 -1
  482. package/lib/helpers/is-using-relation-image.js.map +1 -1
  483. package/lib/helpers/parse-TextBlock.js +2 -2
  484. package/lib/helpers/parse-TextBlock.js.map +1 -1
  485. package/lib/helpers/parse-interval.js.map +1 -1
  486. package/lib/helpers/parse-props-to-display.js +4 -4
  487. package/lib/helpers/parse-props-to-display.js.map +1 -1
  488. package/lib/helpers/process-data-summary-value.js +8 -8
  489. package/lib/helpers/process-data-summary-value.js.map +1 -1
  490. package/lib/helpers/remove-extra-items.js.map +1 -1
  491. package/lib/helpers/remove-unwanted-characters.js +6 -6
  492. package/lib/helpers/remove-unwanted-characters.js.map +1 -1
  493. package/lib/helpers/render-children.js +5 -5
  494. package/lib/helpers/render-children.js.map +1 -1
  495. package/lib/helpers/should-render-waypoint.js.map +1 -1
  496. package/lib/helpers/should-return.js.map +1 -1
  497. package/lib/helpers/should-show-property.js.map +1 -1
  498. package/lib/helpers/should-skip-single-query.js.map +1 -1
  499. package/lib/helpers/sort-response-data.js +2 -2
  500. package/lib/helpers/sort-response-data.js.map +1 -1
  501. package/lib/helpers/split-children.js +5 -5
  502. package/lib/helpers/split-children.js.map +1 -1
  503. package/lib/helpers/update-childrens-parent.js +3 -3
  504. package/lib/helpers/update-childrens-parent.js.map +1 -1
  505. package/lib/hooks/helpers/RenderComponent.js +1 -1
  506. package/lib/hooks/helpers/RenderComponent.js.map +1 -1
  507. package/lib/hooks/helpers/StoreImages.js +4 -4
  508. package/lib/hooks/helpers/StoreImages.js.map +1 -1
  509. package/lib/hooks/helpers/append-gtm-classname.js +7 -7
  510. package/lib/hooks/helpers/append-gtm-classname.js.map +1 -1
  511. package/lib/hooks/helpers/buildPBComponents.js +7 -7
  512. package/lib/hooks/helpers/buildPBComponents.js.map +1 -1
  513. package/lib/hooks/helpers/check-banner-insertion-set.js.map +1 -1
  514. package/lib/hooks/helpers/check-collisions.js +3 -3
  515. package/lib/hooks/helpers/check-collisions.js.map +1 -1
  516. package/lib/hooks/helpers/constants.js.map +1 -1
  517. package/lib/hooks/helpers/get-banner-index.js.map +1 -1
  518. package/lib/hooks/helpers/get-components-to-insert-by-type.js.map +1 -1
  519. package/lib/hooks/helpers/get-lightbox-images.js +8 -8
  520. package/lib/hooks/helpers/get-lightbox-images.js.map +1 -1
  521. package/lib/hooks/helpers/getComponent.js.map +1 -1
  522. package/lib/hooks/helpers/getVariant.js.map +1 -1
  523. package/lib/hooks/helpers/index.js.map +1 -1
  524. package/lib/hooks/helpers/inject-element-components.js +4 -4
  525. package/lib/hooks/helpers/inject-element-components.js.map +1 -1
  526. package/lib/hooks/helpers/inject-textblock-banners.js +7 -7
  527. package/lib/hooks/helpers/inject-textblock-banners.js.map +1 -1
  528. package/lib/hooks/helpers/insert-banners.js +9 -9
  529. package/lib/hooks/helpers/insert-banners.js.map +1 -1
  530. package/lib/hooks/helpers/update-targetings.js.map +1 -1
  531. package/lib/hooks/index.js.map +1 -1
  532. package/lib/hooks/use-app-sync-event-hook.js.map +1 -1
  533. package/lib/hooks/use-banner-insertion.js +1 -1
  534. package/lib/hooks/use-banner-insertion.js.map +1 -1
  535. package/lib/hooks/use-check-mobile-screen.js.map +1 -1
  536. package/lib/hooks/use-filter-aggregation-values.js +5 -5
  537. package/lib/hooks/use-filter-aggregation-values.js.map +1 -1
  538. package/lib/hooks/use-get-entity-schema.js.map +1 -1
  539. package/lib/hooks/use-get-entity-schemas-as-obj.js +1 -1
  540. package/lib/hooks/use-get-entity-schemas-as-obj.js.map +1 -1
  541. package/lib/hooks/use-get-image-id-from-relation.js +1 -1
  542. package/lib/hooks/use-get-image-id-from-relation.js.map +1 -1
  543. package/lib/hooks/use-get-images.js.map +1 -1
  544. package/lib/hooks/use-get-single-entity-schema.js.map +1 -1
  545. package/lib/hooks/use-page-builder.js.map +1 -1
  546. package/lib/hooks/use-portal.js +2 -2
  547. package/lib/hooks/use-portal.js.map +1 -1
  548. package/lib/index.js +7 -0
  549. package/lib/index.js.map +1 -1
  550. package/lib/utils/component-map.js +1 -1
  551. package/lib/utils/component-map.js.map +1 -1
  552. package/lib/utils/get-class-modifiers.js +7 -7
  553. package/lib/utils/get-class-modifiers.js.map +1 -1
  554. package/lib/utils/get-image-data.js.map +1 -1
  555. package/lib/utils/get-props-to-display-modifiers.js.map +1 -1
  556. package/lib/utils/index.js.map +1 -1
  557. package/lib/utils/is-object-empty.js.map +1 -1
  558. package/lib/utils/variant-handler.js +1 -1
  559. package/lib/utils/variant-handler.js.map +1 -1
  560. package/lib/variants/FloatingSideButton/index.js +5 -5
  561. package/lib/variants/FloatingSideButton/index.js.map +1 -1
  562. package/lib/variants/HeroImage/index.js +5 -5
  563. package/lib/variants/HeroImage/index.js.map +1 -1
  564. package/lib/variants/Infographic/Infographic.js.map +1 -1
  565. package/lib/variants/Infographic/index.js +5 -5
  566. package/lib/variants/Infographic/index.js.map +1 -1
  567. package/lib/variants/Infographic/useInfographic.js +5 -5
  568. package/lib/variants/Infographic/useInfographic.js.map +1 -1
  569. package/lib/variants/LongformGallery/LongformGallery.js.map +1 -1
  570. package/lib/variants/LongformGallery/LongformGalleryImage.js.map +1 -1
  571. package/lib/variants/LongformGallery/constants.js.map +1 -1
  572. package/lib/variants/LongformGallery/helpers/index.js.map +1 -1
  573. package/lib/variants/LongformGallery/helpers/parseImageData.js +3 -3
  574. package/lib/variants/LongformGallery/helpers/parseImageData.js.map +1 -1
  575. package/lib/variants/LongformGallery/helpers/separateImages.js.map +1 -1
  576. package/lib/variants/LongformGallery/helpers/shouldSkip.js.map +1 -1
  577. package/lib/variants/LongformGallery/index.js +6 -6
  578. package/lib/variants/LongformGallery/index.js.map +1 -1
  579. package/lib/variants/LongformGallery/useLongformGallery.js.map +1 -1
  580. package/lib/variants/LongformRow/index.js +5 -5
  581. package/lib/variants/LongformRow/index.js.map +1 -1
  582. package/lib/variants/ParallaxImageTextRight/index.js +5 -5
  583. package/lib/variants/ParallaxImageTextRight/index.js.map +1 -1
  584. package/lib/variants/SlideSummary/SlideSummary.js.map +1 -1
  585. package/lib/variants/SlideSummary/index.js +5 -5
  586. package/lib/variants/SlideSummary/index.js.map +1 -1
  587. package/lib/variants/ThumbnailCarousel/ThumbnailCarousel.js.map +1 -1
  588. package/lib/variants/ThumbnailCarousel/ThumbnailImage/ThumbnailImage.js.map +1 -1
  589. package/lib/variants/ThumbnailCarousel/ThumbnailImage/index.js.map +1 -1
  590. package/lib/variants/ThumbnailCarousel/ThumbnailImage/useThumbnailImage.js.map +1 -1
  591. package/lib/variants/ThumbnailCarousel/index.js +5 -5
  592. package/lib/variants/ThumbnailCarousel/index.js.map +1 -1
  593. package/lib/variants/ThumbnailCarousel/useThumbnailCarousel.js +5 -5
  594. package/lib/variants/ThumbnailCarousel/useThumbnailCarousel.js.map +1 -1
  595. package/lib/variants/index.js.map +1 -1
  596. package/lib-es/BannerContext/helpers/index.js.map +1 -1
  597. package/lib-es/BannerContext/helpers/set-initial-banner-counters.js.map +1 -1
  598. package/lib-es/BannerContext/index.js.map +1 -1
  599. package/lib-es/HOC/index.js.map +1 -1
  600. package/lib-es/HOC/recreateOnNavigation.js.map +1 -1
  601. package/lib-es/HOC/withInfiniteScroll.js.map +1 -1
  602. package/lib-es/HOC/withTitle.js.map +1 -1
  603. package/lib-es/PBContext/index.js.map +1 -1
  604. package/lib-es/application/query/index.js.map +1 -1
  605. package/lib-es/components/BackToTop/BackToTop.js.map +1 -1
  606. package/lib-es/components/BackToTop/index.js.map +1 -1
  607. package/lib-es/components/Banner/AdSlotRender.js.map +1 -1
  608. package/lib-es/components/Banner/Banner.js.map +1 -1
  609. package/lib-es/components/Banner/BannerRender.js.map +1 -1
  610. package/lib-es/components/Banner/helpers.js.map +1 -1
  611. package/lib-es/components/Banner/index.js.map +1 -1
  612. package/lib-es/components/BlazeLink.js.map +1 -1
  613. package/lib-es/components/Breadcrumb/Breadcrumb.js.map +1 -1
  614. package/lib-es/components/Breadcrumb/index.js.map +1 -1
  615. package/lib-es/components/Button.js.map +1 -1
  616. package/lib-es/components/Card/Card.js.map +1 -1
  617. package/lib-es/components/Card/CardsContainer.js.map +1 -1
  618. package/lib-es/components/Card/CardsFactory.js.map +1 -1
  619. package/lib-es/components/Card/CardsRender.js.map +1 -1
  620. package/lib-es/components/Card/constants.js.map +1 -1
  621. package/lib-es/components/Card/helpers/get-dynamic-grid-classes.js.map +1 -1
  622. package/lib-es/components/Card/helpers/get-published-listing-url.js.map +1 -1
  623. package/lib-es/components/Card/helpers/index.js.map +1 -1
  624. package/lib-es/components/Card/helpers/use-dynamic-size-key.js.map +1 -1
  625. package/lib-es/components/Card/index.js.map +1 -1
  626. package/lib-es/components/Carousel/Carousel.js.map +1 -1
  627. package/lib-es/components/Carousel/CarouselImage/CarouselImage.js.map +1 -1
  628. package/lib-es/components/Carousel/CarouselImage/constants.js.map +1 -1
  629. package/lib-es/components/Carousel/CarouselImage/index.js.map +1 -1
  630. package/lib-es/components/Carousel/CarouselRender/CarouselRender.js.map +1 -1
  631. package/lib-es/components/Carousel/CarouselRender/index.js.map +1 -1
  632. package/lib-es/components/Carousel/hooks/useCarouselNavigation.js.map +1 -1
  633. package/lib-es/components/Carousel/index.js.map +1 -1
  634. package/lib-es/components/CarouselWrapper/CarouselWrapper.js.map +1 -1
  635. package/lib-es/components/CarouselWrapper/DefaultCarousel.js.map +1 -1
  636. package/lib-es/components/CarouselWrapper/SmoothScrollCarousel.js.map +1 -1
  637. package/lib-es/components/CarouselWrapper/index.js.map +1 -1
  638. package/lib-es/components/ClickWrapper.js.map +1 -1
  639. package/lib-es/components/Code/Code.js.map +1 -1
  640. package/lib-es/components/Code/ScriptTag.js.map +1 -1
  641. package/lib-es/components/Code/helpers/index.js.map +1 -1
  642. package/lib-es/components/Code/helpers/wrap-script-tags.js.map +1 -1
  643. package/lib-es/components/Code/index.js.map +1 -1
  644. package/lib-es/components/ContentGroup/ContentGroup.js.map +1 -1
  645. package/lib-es/components/ContentGroup/ContentGroupTabs.js.map +1 -1
  646. package/lib-es/components/ContentGroup/constants.js.map +1 -1
  647. package/lib-es/components/ContentGroup/helpers/get-active-tab.js.map +1 -1
  648. package/lib-es/components/ContentGroup/helpers/get-sections-data.js.map +1 -1
  649. package/lib-es/components/ContentGroup/helpers/index.js.map +1 -1
  650. package/lib-es/components/ContentGroup/index.js.map +1 -1
  651. package/lib-es/components/ContentGroupSection/ContentGroupSection.js.map +1 -1
  652. package/lib-es/components/ContentGroupSection/index.js.map +1 -1
  653. package/lib-es/components/DataSummary/DataSummaryFactory.js.map +1 -1
  654. package/lib-es/components/DataSummary/DataSummaryRender.js.map +1 -1
  655. package/lib-es/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummary.js.map +1 -1
  656. package/lib-es/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummaryContent.js.map +1 -1
  657. package/lib-es/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/index.js.map +1 -1
  658. package/lib-es/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummary.js.map +1 -1
  659. package/lib-es/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummaryContent.js.map +1 -1
  660. package/lib-es/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/index.js.map +1 -1
  661. package/lib-es/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummary.js.map +1 -1
  662. package/lib-es/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummaryContent.js.map +1 -1
  663. package/lib-es/components/DataSummary/DataSummaryTypes/LargeSummary/index.js.map +1 -1
  664. package/lib-es/components/DataSummary/DataSummaryTypes/ListSummary/ListSummary.js.map +1 -1
  665. package/lib-es/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.js.map +1 -1
  666. package/lib-es/components/DataSummary/DataSummaryTypes/ListSummary/index.js.map +1 -1
  667. package/lib-es/components/DataSummary/DataSummaryTypes/TextSummary/TextSummary.js.map +1 -1
  668. package/lib-es/components/DataSummary/DataSummaryTypes/TextSummary/TextSummaryContent.js.map +1 -1
  669. package/lib-es/components/DataSummary/DataSummaryTypes/TextSummary/index.js.map +1 -1
  670. package/lib-es/components/DataSummary/DataSummaryTypes/index.js.map +1 -1
  671. package/lib-es/components/DataSummary/helpers/build-loop-props-content.js.map +1 -1
  672. package/lib-es/components/DataSummary/helpers/build-props-to-display-with-content.js.map +1 -1
  673. package/lib-es/components/DataSummary/helpers/get-data-summary-query.js.map +1 -1
  674. package/lib-es/components/DataSummary/helpers/get-link-based-on-value.js.map +1 -1
  675. package/lib-es/components/DataSummary/helpers/get-link-props.js.map +1 -1
  676. package/lib-es/components/DataSummary/helpers/get-link-to-published-content.js.map +1 -1
  677. package/lib-es/components/DataSummary/helpers/get-loop-props-limit.js.map +1 -1
  678. package/lib-es/components/DataSummary/helpers/get-prop-value.js.map +1 -1
  679. package/lib-es/components/DataSummary/helpers/get-value-from-array.js.map +1 -1
  680. package/lib-es/components/DataSummary/helpers/index.js.map +1 -1
  681. package/lib-es/components/DataSummary/helpers/parse-boolean-values.js.map +1 -1
  682. package/lib-es/components/DataSummary/helpers/strip-summary-props-content.js.map +1 -1
  683. package/lib-es/components/DataSummary/index.js.map +1 -1
  684. package/lib-es/components/DateTime/DateTime.js.map +1 -1
  685. package/lib-es/components/DateTime/index.js.map +1 -1
  686. package/lib-es/components/EmailConfirm/EmailConfirm.js.map +1 -1
  687. package/lib-es/components/EmailConfirm/index.js.map +1 -1
  688. package/lib-es/components/EmailConfirm/mutation.js.map +1 -1
  689. package/lib-es/components/ErrorMessage/ErrorMessage.js +30 -0
  690. package/lib-es/components/ErrorMessage/ErrorMessage.js.map +1 -0
  691. package/lib-es/components/ErrorMessage/index.js +3 -0
  692. package/lib-es/components/ErrorMessage/index.js.map +1 -0
  693. package/lib-es/components/Iframe/Iframe.js.map +1 -1
  694. package/lib-es/components/Iframe/constants.js.map +1 -1
  695. package/lib-es/components/Iframe/index.js.map +1 -1
  696. package/lib-es/components/Image/GlobalLightbox/GlobalLightbox.js.map +1 -1
  697. package/lib-es/components/Image/GlobalLightbox/NavButton.js.map +1 -1
  698. package/lib-es/components/Image/GlobalLightbox/index.js.map +1 -1
  699. package/lib-es/components/Image/Image.js.map +1 -1
  700. package/lib-es/components/Image/ImageDetails.js.map +1 -1
  701. package/lib-es/components/Image/ImageFactory.js.map +1 -1
  702. package/lib-es/components/Image/ImageRender.js.map +1 -1
  703. package/lib-es/components/Image/Lightbox/Lightbox.js.map +1 -1
  704. package/lib-es/components/Image/Lightbox/index.js.map +1 -1
  705. package/lib-es/components/Image/index.js.map +1 -1
  706. package/lib-es/components/ItemList/ItemListButton/ItemListButton.js.map +1 -1
  707. package/lib-es/components/ItemList/ItemListButton/index.js.map +1 -1
  708. package/lib-es/components/ItemList/ItemListCounter/ItemListCounter.js.map +1 -1
  709. package/lib-es/components/ItemList/ItemListCounter/index.js.map +1 -1
  710. package/lib-es/components/ItemList/ItemListNew/ItemListNew.js.map +1 -1
  711. package/lib-es/components/ItemList/ItemListNew/index.js.map +1 -1
  712. package/lib-es/components/ItemList/constants.js.map +1 -1
  713. package/lib-es/components/ItemList/helpers/get-item-list-data.js.map +1 -1
  714. package/lib-es/components/ItemList/helpers/get-item-list-id.js.map +1 -1
  715. package/lib-es/components/ItemList/helpers/get-item-list-ids.js.map +1 -1
  716. package/lib-es/components/ItemList/helpers/index.js.map +1 -1
  717. package/lib-es/components/ItemList/helpers/set-item-list-id.js.map +1 -1
  718. package/lib-es/components/ItemList/helpers/set-param-and-redirect.js.map +1 -1
  719. package/lib-es/components/ItemList/hooks/index.js.map +1 -1
  720. package/lib-es/components/ItemList/hooks/use-item-list-id.js.map +1 -1
  721. package/lib-es/components/Layout/Layout.js.map +1 -1
  722. package/lib-es/components/Layout/LayoutFactory.js.map +1 -1
  723. package/lib-es/components/Layout/LayoutWithStickyTimer.js.map +1 -1
  724. package/lib-es/components/Layout/constants.js.map +1 -1
  725. package/lib-es/components/Layout/helpers/check-if-row-has-columns.js.map +1 -1
  726. package/lib-es/components/Layout/helpers/get-styles-to-update.js.map +1 -1
  727. package/lib-es/components/Layout/helpers/index.js.map +1 -1
  728. package/lib-es/components/Layout/index.js.map +1 -1
  729. package/lib-es/components/LazyImage/LazyImage.js.map +1 -1
  730. package/lib-es/components/LazyImage/index.js.map +1 -1
  731. package/lib-es/components/List/ListBuilder.js.map +1 -1
  732. package/lib-es/components/List/ListFactory.js.map +1 -1
  733. package/lib-es/components/List/ListRender.js.map +1 -1
  734. package/lib-es/components/List/components/Cards/CardRenderWithInfiniteScroll.js.map +1 -1
  735. package/lib-es/components/List/components/Cards/CardsRender.js.map +1 -1
  736. package/lib-es/components/List/components/Cards/CardsRenderItem.js.map +1 -1
  737. package/lib-es/components/List/components/Cards/CardsRenderWrapper.js.map +1 -1
  738. package/lib-es/components/List/components/Cards/index.js.map +1 -1
  739. package/lib-es/components/List/components/Full/FullRender.js.map +1 -1
  740. package/lib-es/components/List/components/Full/FullRenderItem.js.map +1 -1
  741. package/lib-es/components/List/components/Full/FullRenderWithInfiniteScroll.js.map +1 -1
  742. package/lib-es/components/List/components/Full/index.js.map +1 -1
  743. package/lib-es/components/List/components/Header/ListHeader.js.map +1 -1
  744. package/lib-es/components/List/components/Header/index.js.map +1 -1
  745. package/lib-es/components/List/components/Pagination/Classic.js.map +1 -1
  746. package/lib-es/components/List/components/Pagination/ListPagination.js.map +1 -1
  747. package/lib-es/components/List/components/Pagination/LoadMore.js.map +1 -1
  748. package/lib-es/components/List/components/Pagination/index.js.map +1 -1
  749. package/lib-es/components/List/components/helpers/check-if-should-render-banner.js.map +1 -1
  750. package/lib-es/components/List/components/helpers/check-if-should-render-gtm.js.map +1 -1
  751. package/lib-es/components/List/components/helpers/index.js.map +1 -1
  752. package/lib-es/components/List/components/index.js.map +1 -1
  753. package/lib-es/components/List/constants.js.map +1 -1
  754. package/lib-es/components/List/helpers/build-az-aggregations.js.map +1 -1
  755. package/lib-es/components/List/helpers/build-az-url.js.map +1 -1
  756. package/lib-es/components/List/helpers/build-pagination-items.js.map +1 -1
  757. package/lib-es/components/List/helpers/build-pagination-url.js.map +1 -1
  758. package/lib-es/components/List/helpers/build-query-booster.js.map +1 -1
  759. package/lib-es/components/List/helpers/get-az-query-filter.js.map +1 -1
  760. package/lib-es/components/List/helpers/get-items-per-page-to-use.js.map +1 -1
  761. package/lib-es/components/List/helpers/get-list-component.js.map +1 -1
  762. package/lib-es/components/List/helpers/get-list-query.js.map +1 -1
  763. package/lib-es/components/List/helpers/get-list-specific-search-filter.js.map +1 -1
  764. package/lib-es/components/List/helpers/get-sort-props.js.map +1 -1
  765. package/lib-es/components/List/helpers/has-required-item-list-details.js.map +1 -1
  766. package/lib-es/components/List/helpers/index.js.map +1 -1
  767. package/lib-es/components/List/helpers/sort-aggs.js.map +1 -1
  768. package/lib-es/components/List/helpers/strip-query-key.js.map +1 -1
  769. package/lib-es/components/List/index.js.map +1 -1
  770. package/lib-es/components/Loading/Loading.js.map +1 -1
  771. package/lib-es/components/Loading/constants.js.map +1 -1
  772. package/lib-es/components/Loading/helpers.js.map +1 -1
  773. package/lib-es/components/Loading/index.js.map +1 -1
  774. package/lib-es/components/Menu/Menu.js.map +1 -1
  775. package/lib-es/components/Menu/MenuContext.js.map +1 -1
  776. package/lib-es/components/Menu/index.js.map +1 -1
  777. package/lib-es/components/MenuItem/MenuEntitiesItem.js.map +1 -1
  778. package/lib-es/components/MenuItem/MenuItem.js.map +1 -1
  779. package/lib-es/components/MenuItem/MenuItemRender.js +6 -2
  780. package/lib-es/components/MenuItem/MenuItemRender.js.map +1 -1
  781. package/lib-es/components/MenuItem/helpers/has-active-child.js.map +1 -1
  782. package/lib-es/components/MenuItem/helpers/index.js.map +1 -1
  783. package/lib-es/components/MenuItem/helpers/inject-helper-into-template.js.map +1 -1
  784. package/lib-es/components/MenuItem/helpers/isUrlPathMatch.js.map +1 -1
  785. package/lib-es/components/MenuItem/index.js.map +1 -1
  786. package/lib-es/components/Modal/Modal.js.map +1 -1
  787. package/lib-es/components/Modal/index.js.map +1 -1
  788. package/lib-es/components/ModalAdapter/ModalAdapter.js.map +1 -1
  789. package/lib-es/components/ModalAdapter/index.js.map +1 -1
  790. package/lib-es/components/SearchContent/SearchContent.js.map +1 -1
  791. package/lib-es/components/SearchContent/SearchContentItems.js.map +1 -1
  792. package/lib-es/components/SearchContent/SearchContentResults.js.map +1 -1
  793. package/lib-es/components/SearchContent/SearchContentToggleIcon.js.map +1 -1
  794. package/lib-es/components/SearchContent/constants.js.map +1 -1
  795. package/lib-es/components/SearchContent/index.js.map +1 -1
  796. package/lib-es/components/SearchFilter/SearchFilter/CloseMobileForm.js.map +1 -1
  797. package/lib-es/components/SearchFilter/SearchFilter/FiltersList.js.map +1 -1
  798. package/lib-es/components/SearchFilter/SearchFilter/MobileFormToolbar.js.map +1 -1
  799. package/lib-es/components/SearchFilter/SearchFilter/ResetDesktopForm.js.map +1 -1
  800. package/lib-es/components/SearchFilter/SearchFilter/SearchFilter.js.map +1 -1
  801. package/lib-es/components/SearchFilter/SearchFilter/index.js.map +1 -1
  802. package/lib-es/components/SearchFilter/SearchFilterContainer.js.map +1 -1
  803. package/lib-es/components/SearchFilter/components/Checkbox.js.map +1 -1
  804. package/lib-es/components/SearchFilter/components/Range.js.map +1 -1
  805. package/lib-es/components/SearchFilter/components/Select.js.map +1 -1
  806. package/lib-es/components/SearchFilter/components/TextSearch.js.map +1 -1
  807. package/lib-es/components/SearchFilter/components/index.js.map +1 -1
  808. package/lib-es/components/SearchFilter/constants.js.map +1 -1
  809. package/lib-es/components/SearchFilter/helpers/build-list-name-query.js.map +1 -1
  810. package/lib-es/components/SearchFilter/helpers/build-new-url.js.map +1 -1
  811. package/lib-es/components/SearchFilter/helpers/build-url-query.js.map +1 -1
  812. package/lib-es/components/SearchFilter/helpers/calculate-min-max.js.map +1 -1
  813. package/lib-es/components/SearchFilter/helpers/calculate-step.js.map +1 -1
  814. package/lib-es/components/SearchFilter/helpers/check-if-range-updated.js.map +1 -1
  815. package/lib-es/components/SearchFilter/helpers/decode-encode.js.map +1 -1
  816. package/lib-es/components/SearchFilter/helpers/get-display-value.js.map +1 -1
  817. package/lib-es/components/SearchFilter/helpers/get-filter-ranges-and-checkboxes-values.js.map +1 -1
  818. package/lib-es/components/SearchFilter/helpers/get-filter-value-from-query.js.map +1 -1
  819. package/lib-es/components/SearchFilter/helpers/get-filter-values.js.map +1 -1
  820. package/lib-es/components/SearchFilter/helpers/get-initial-filter-values.js.map +1 -1
  821. package/lib-es/components/SearchFilter/helpers/get-intersected-prop.js.map +1 -1
  822. package/lib-es/components/SearchFilter/helpers/get-range-value.js.map +1 -1
  823. package/lib-es/components/SearchFilter/helpers/get-responsive-filter-classnames.js.map +1 -1
  824. package/lib-es/components/SearchFilter/helpers/get-select-options.js.map +1 -1
  825. package/lib-es/components/SearchFilter/helpers/get-updated-filter-by.js.map +1 -1
  826. package/lib-es/components/SearchFilter/helpers/index.js.map +1 -1
  827. package/lib-es/components/SearchFilter/helpers/is-device-desktop.js.map +1 -1
  828. package/lib-es/components/SearchFilter/helpers/parse-filter-value.js.map +1 -1
  829. package/lib-es/components/SearchFilter/index.js.map +1 -1
  830. package/lib-es/components/SearchFilter/searchFilterReducer.js.map +1 -1
  831. package/lib-es/components/SearchFilterSort/SearchFilterSort.js.map +1 -1
  832. package/lib-es/components/SearchFilterSort/constants.js.map +1 -1
  833. package/lib-es/components/SearchFilterSort/helpers/handle-sort-update.js.map +1 -1
  834. package/lib-es/components/SearchFilterSort/helpers/index.js.map +1 -1
  835. package/lib-es/components/SearchFilterSort/helpers/update-sort.js.map +1 -1
  836. package/lib-es/components/SearchFilterSort/index.js.map +1 -1
  837. package/lib-es/components/SocialFollow/SFItem.js.map +1 -1
  838. package/lib-es/components/SocialFollow/SocialFollow.js.map +1 -1
  839. package/lib-es/components/SocialFollow/SocialFollowRender.js.map +1 -1
  840. package/lib-es/components/SocialFollow/index.js.map +1 -1
  841. package/lib-es/components/SocialFollow/sf.config.js.map +1 -1
  842. package/lib-es/components/SubMenu/SubMenu.js.map +1 -1
  843. package/lib-es/components/SubMenu/index.js.map +1 -1
  844. package/lib-es/components/TextBlock/TextBlockRender.js.map +1 -1
  845. package/lib-es/components/TextBlock/index.js.map +1 -1
  846. package/lib-es/components/Video/Video.js.map +1 -1
  847. package/lib-es/components/Video/VideoContext.js.map +1 -1
  848. package/lib-es/components/Video/VideoModal.js.map +1 -1
  849. package/lib-es/components/Video/VideoRender.js.map +1 -1
  850. package/lib-es/components/Video/constants.js.map +1 -1
  851. package/lib-es/components/Video/helpers/emit-gtm-event.js.map +1 -1
  852. package/lib-es/components/Video/index.js.map +1 -1
  853. package/lib-es/components/Video/providers/Default.js.map +1 -1
  854. package/lib-es/components/Video/providers/JWPlayer/JWPlayerController.js.map +1 -1
  855. package/lib-es/components/Video/providers/JWPlayer/JWPlayerProvider.js.map +1 -1
  856. package/lib-es/components/Video/providers/Vimeo/VimeoProvider.js.map +1 -1
  857. package/lib-es/components/Video/providers/Vimeo/helpers/add-extra-params-to-url.js.map +1 -1
  858. package/lib-es/components/Video/providers/Vimeo/helpers/index.js.map +1 -1
  859. package/lib-es/components/Video/providers/YouTube/YouTubeProvider.js.map +1 -1
  860. package/lib-es/components/Video/providers/YouTube/YoutubeEmbeded.js.map +1 -1
  861. package/lib-es/components/Video/providers/YouTube/helpers/index.js.map +1 -1
  862. package/lib-es/components/Video/providers/get-provider.js.map +1 -1
  863. package/lib-es/components/Video/providers/index.js.map +1 -1
  864. package/lib-es/components/Wrapper.js.map +1 -1
  865. package/lib-es/components/index.js.map +1 -1
  866. package/lib-es/constants/componentsDefaultValues.js.map +1 -1
  867. package/lib-es/constants/index.js +2 -1
  868. package/lib-es/constants/index.js.map +1 -1
  869. package/lib-es/helpers/append-images.js.map +1 -1
  870. package/lib-es/helpers/build-az-filter.js.map +1 -1
  871. package/lib-es/helpers/build-checkbox-filters.js.map +1 -1
  872. package/lib-es/helpers/build-filters-query.js.map +1 -1
  873. package/lib-es/helpers/build-image-properties.js.map +1 -1
  874. package/lib-es/helpers/build-inherited-filters.js.map +1 -1
  875. package/lib-es/helpers/build-link-extra-props.js.map +1 -1
  876. package/lib-es/helpers/build-props-query.js.map +1 -1
  877. package/lib-es/helpers/build-query-fields.js.map +1 -1
  878. package/lib-es/helpers/build-query-key.js.map +1 -1
  879. package/lib-es/helpers/build-raw-query-base.js.map +1 -1
  880. package/lib-es/helpers/build-raw-query-stringified.js.map +1 -1
  881. package/lib-es/helpers/build-raw-query.js.map +1 -1
  882. package/lib-es/helpers/build-search-values-checkbox-select.js.map +1 -1
  883. package/lib-es/helpers/build-search-values-text.js.map +1 -1
  884. package/lib-es/helpers/build-set-filters.js.map +1 -1
  885. package/lib-es/helpers/build-sort-values.js.map +1 -1
  886. package/lib-es/helpers/check-for-error.js.map +1 -1
  887. package/lib-es/helpers/check-props-to-use.js.map +1 -1
  888. package/lib-es/helpers/entities/constants.js.map +1 -1
  889. package/lib-es/helpers/filter-query-setup.js.map +1 -1
  890. package/lib-es/helpers/filters-setup.js.map +1 -1
  891. package/lib-es/helpers/get-banner-data.js.map +1 -1
  892. package/lib-es/helpers/get-checkbox-filters.js.map +1 -1
  893. package/lib-es/helpers/get-click-wrapper-options.js.map +1 -1
  894. package/lib-es/helpers/get-current-offset.js.map +1 -1
  895. package/lib-es/helpers/get-dictionary-match.js.map +1 -1
  896. package/lib-es/helpers/get-display-count-data.js.map +1 -1
  897. package/lib-es/helpers/get-elasticsearch-operator.js.map +1 -1
  898. package/lib-es/helpers/get-entities-with-banner.js.map +1 -1
  899. package/lib-es/helpers/get-entity-data.js.map +1 -1
  900. package/lib-es/helpers/get-entity-render-props.js.map +1 -1
  901. package/lib-es/helpers/get-extra-az-bits.js.map +1 -1
  902. package/lib-es/helpers/get-filter-props.js.map +1 -1
  903. package/lib-es/helpers/get-filter-relation-keys.js.map +1 -1
  904. package/lib-es/helpers/get-generic-props.js.map +1 -1
  905. package/lib-es/helpers/get-generic-render-variables.js.map +1 -1
  906. package/lib-es/helpers/get-image-ids.js.map +1 -1
  907. package/lib-es/helpers/get-inherited-filters.js.map +1 -1
  908. package/lib-es/helpers/get-items-to-display-ids.js.map +1 -1
  909. package/lib-es/helpers/get-modifiers.js.map +1 -1
  910. package/lib-es/helpers/get-not-equal-query.js.map +1 -1
  911. package/lib-es/helpers/get-pagination-index.js.map +1 -1
  912. package/lib-es/helpers/get-parsed-prop-values.js.map +1 -1
  913. package/lib-es/helpers/get-parsed-summary-value.js.map +1 -1
  914. package/lib-es/helpers/get-prop-values.js.map +1 -1
  915. package/lib-es/helpers/get-query-filters.js.map +1 -1
  916. package/lib-es/helpers/get-query-props.js.map +1 -1
  917. package/lib-es/helpers/get-required-schemas.js.map +1 -1
  918. package/lib-es/helpers/get-sanitized-prop-values.js.map +1 -1
  919. package/lib-es/helpers/get-search-filter-type.js.map +1 -1
  920. package/lib-es/helpers/get-sort-by-field-name.js.map +1 -1
  921. package/lib-es/helpers/get-unpublished-entity-name.js.map +1 -1
  922. package/lib-es/helpers/get-updated-filter-by.js.map +1 -1
  923. package/lib-es/helpers/get-updated-items-to-display.js.map +1 -1
  924. package/lib-es/helpers/get-updated-sort-properties.js.map +1 -1
  925. package/lib-es/helpers/get-wrapped-value-with-link.js.map +1 -1
  926. package/lib-es/helpers/group-entities.js.map +1 -1
  927. package/lib-es/helpers/has-children.js.map +1 -1
  928. package/lib-es/helpers/index.js.map +1 -1
  929. package/lib-es/helpers/inject-banner.js.map +1 -1
  930. package/lib-es/helpers/inject-banners-to-entities.js.map +1 -1
  931. package/lib-es/helpers/inject-multiple-banners/get-banners-for-entities/get-banners-for-entities.js.map +1 -1
  932. package/lib-es/helpers/inject-multiple-banners/get-banners-for-entities/index.js.map +1 -1
  933. package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/get-banners-for-nodes.js.map +1 -1
  934. package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/group-node-entities.js.map +1 -1
  935. package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/index.js.map +1 -1
  936. package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/index.js.map +1 -1
  937. package/lib-es/helpers/inject-multiple-banners/index.js.map +1 -1
  938. package/lib-es/helpers/inject-multiple-banners/inject-multiple-banners.js.map +1 -1
  939. package/lib-es/helpers/is-browser.js.map +1 -1
  940. package/lib-es/helpers/is-filter-entitys-id.js.map +1 -1
  941. package/lib-es/helpers/is-object.js.map +1 -1
  942. package/lib-es/helpers/is-using-relation-image.js.map +1 -1
  943. package/lib-es/helpers/parse-TextBlock.js.map +1 -1
  944. package/lib-es/helpers/parse-interval.js.map +1 -1
  945. package/lib-es/helpers/parse-props-to-display.js.map +1 -1
  946. package/lib-es/helpers/process-data-summary-value.js.map +1 -1
  947. package/lib-es/helpers/remove-extra-items.js.map +1 -1
  948. package/lib-es/helpers/remove-unwanted-characters.js.map +1 -1
  949. package/lib-es/helpers/render-children.js.map +1 -1
  950. package/lib-es/helpers/should-render-waypoint.js.map +1 -1
  951. package/lib-es/helpers/should-return.js.map +1 -1
  952. package/lib-es/helpers/should-show-property.js.map +1 -1
  953. package/lib-es/helpers/should-skip-single-query.js.map +1 -1
  954. package/lib-es/helpers/sort-response-data.js.map +1 -1
  955. package/lib-es/helpers/split-children.js.map +1 -1
  956. package/lib-es/helpers/update-childrens-parent.js.map +1 -1
  957. package/lib-es/hooks/helpers/RenderComponent.js.map +1 -1
  958. package/lib-es/hooks/helpers/StoreImages.js.map +1 -1
  959. package/lib-es/hooks/helpers/append-gtm-classname.js.map +1 -1
  960. package/lib-es/hooks/helpers/buildPBComponents.js.map +1 -1
  961. package/lib-es/hooks/helpers/check-banner-insertion-set.js.map +1 -1
  962. package/lib-es/hooks/helpers/check-collisions.js.map +1 -1
  963. package/lib-es/hooks/helpers/constants.js.map +1 -1
  964. package/lib-es/hooks/helpers/get-banner-index.js.map +1 -1
  965. package/lib-es/hooks/helpers/get-components-to-insert-by-type.js.map +1 -1
  966. package/lib-es/hooks/helpers/get-lightbox-images.js.map +1 -1
  967. package/lib-es/hooks/helpers/getComponent.js.map +1 -1
  968. package/lib-es/hooks/helpers/getVariant.js.map +1 -1
  969. package/lib-es/hooks/helpers/index.js.map +1 -1
  970. package/lib-es/hooks/helpers/inject-element-components.js.map +1 -1
  971. package/lib-es/hooks/helpers/inject-textblock-banners.js.map +1 -1
  972. package/lib-es/hooks/helpers/insert-banners.js.map +1 -1
  973. package/lib-es/hooks/helpers/update-targetings.js.map +1 -1
  974. package/lib-es/hooks/index.js.map +1 -1
  975. package/lib-es/hooks/use-app-sync-event-hook.js.map +1 -1
  976. package/lib-es/hooks/use-banner-insertion.js.map +1 -1
  977. package/lib-es/hooks/use-check-mobile-screen.js.map +1 -1
  978. package/lib-es/hooks/use-filter-aggregation-values.js.map +1 -1
  979. package/lib-es/hooks/use-get-entity-schema.js.map +1 -1
  980. package/lib-es/hooks/use-get-entity-schemas-as-obj.js.map +1 -1
  981. package/lib-es/hooks/use-get-image-id-from-relation.js.map +1 -1
  982. package/lib-es/hooks/use-get-images.js.map +1 -1
  983. package/lib-es/hooks/use-get-single-entity-schema.js.map +1 -1
  984. package/lib-es/hooks/use-page-builder.js.map +1 -1
  985. package/lib-es/hooks/use-portal.js.map +1 -1
  986. package/lib-es/index.js +1 -0
  987. package/lib-es/index.js.map +1 -1
  988. package/lib-es/utils/component-map.js.map +1 -1
  989. package/lib-es/utils/get-class-modifiers.js.map +1 -1
  990. package/lib-es/utils/get-image-data.js.map +1 -1
  991. package/lib-es/utils/get-props-to-display-modifiers.js.map +1 -1
  992. package/lib-es/utils/index.js.map +1 -1
  993. package/lib-es/utils/is-object-empty.js.map +1 -1
  994. package/lib-es/utils/variant-handler.js.map +1 -1
  995. package/lib-es/variants/FloatingSideButton/index.js.map +1 -1
  996. package/lib-es/variants/HeroImage/index.js.map +1 -1
  997. package/lib-es/variants/Infographic/Infographic.js.map +1 -1
  998. package/lib-es/variants/Infographic/index.js.map +1 -1
  999. package/lib-es/variants/Infographic/useInfographic.js.map +1 -1
  1000. package/lib-es/variants/LongformGallery/LongformGallery.js.map +1 -1
  1001. package/lib-es/variants/LongformGallery/LongformGalleryImage.js.map +1 -1
  1002. package/lib-es/variants/LongformGallery/constants.js.map +1 -1
  1003. package/lib-es/variants/LongformGallery/helpers/index.js.map +1 -1
  1004. package/lib-es/variants/LongformGallery/helpers/parseImageData.js.map +1 -1
  1005. package/lib-es/variants/LongformGallery/helpers/separateImages.js.map +1 -1
  1006. package/lib-es/variants/LongformGallery/helpers/shouldSkip.js.map +1 -1
  1007. package/lib-es/variants/LongformGallery/index.js.map +1 -1
  1008. package/lib-es/variants/LongformGallery/useLongformGallery.js.map +1 -1
  1009. package/lib-es/variants/LongformRow/index.js.map +1 -1
  1010. package/lib-es/variants/ParallaxImageTextRight/index.js.map +1 -1
  1011. package/lib-es/variants/SlideSummary/SlideSummary.js.map +1 -1
  1012. package/lib-es/variants/SlideSummary/index.js.map +1 -1
  1013. package/lib-es/variants/ThumbnailCarousel/ThumbnailCarousel.js.map +1 -1
  1014. package/lib-es/variants/ThumbnailCarousel/ThumbnailImage/ThumbnailImage.js.map +1 -1
  1015. package/lib-es/variants/ThumbnailCarousel/ThumbnailImage/index.js.map +1 -1
  1016. package/lib-es/variants/ThumbnailCarousel/ThumbnailImage/useThumbnailImage.js.map +1 -1
  1017. package/lib-es/variants/ThumbnailCarousel/index.js.map +1 -1
  1018. package/lib-es/variants/ThumbnailCarousel/useThumbnailCarousel.js.map +1 -1
  1019. package/lib-es/variants/index.js.map +1 -1
  1020. package/package.json +2 -2
  1021. package/src/components/ErrorMessage/ErrorMessage.js +32 -0
  1022. package/src/components/ErrorMessage/index.js +5 -0
  1023. package/src/components/MenuItem/MenuItemRender.js +10 -3
  1024. package/src/constants/index.js +2 -0
  1025. package/src/index.js +1 -0
  1026. package/tests/unit/src/components/MenuItem/MenuItem.test.js +9 -0
  1027. package/tests/unit/src/components/MenuItem/MenuItemRender.test.js +37 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [0.146.0-tooltips.8](https://github.com/thebyte9/blaze/compare/v0.146.0-tooltips.7...v0.146.0-tooltips.8) (2025-03-27)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * close menu item on url change ([#4669](https://github.com/thebyte9/blaze/issues/4669)) ([697750a](https://github.com/thebyte9/blaze/commit/697750ac771a5ea89702e990e23d6e78b1c45a67))
12
+
13
+
14
+ ### Features
15
+
16
+ * move error message component to react page builder ([#4680](https://github.com/thebyte9/blaze/issues/4680)) ([5585514](https://github.com/thebyte9/blaze/commit/55855146a43300c702d7a8284828f592854950c7))
17
+
18
+
19
+
20
+
21
+
6
22
  # [0.146.0-tooltips.6](https://github.com/thebyte9/blaze/compare/v0.146.0-tooltips.5...v0.146.0-tooltips.6) (2025-03-04)
7
23
 
8
24
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_setInitialBannerCounters","_interopRequireDefault","require"],"sources":["../../../src/BannerContext/helpers/index.js"],"sourcesContent":["import setInitialBannerCounters from './set-initial-banner-counters';\n\nexport { setInitialBannerCounters };\n"],"mappings":";;;;;;;;;;;;;AAAA,IAAAA,yBAAA,GAAAC,sBAAA,CAAAC,OAAA","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["_setInitialBannerCounters","_interopRequireDefault","require"],"sources":["../../../src/BannerContext/helpers/index.js"],"sourcesContent":["import setInitialBannerCounters from './set-initial-banner-counters';\n\nexport { setInitialBannerCounters };\n"],"mappings":";;;;;;;;;;;;;AAAA,IAAAA,yBAAA,GAAAC,sBAAA,CAAAC,OAAA"}
@@ -6,9 +6,9 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports["default"] = void 0;
8
8
  require("core-js/modules/es.array.for-each.js");
9
- require("core-js/modules/es.function.name.js");
10
9
  require("core-js/modules/es.object.to-string.js");
11
10
  require("core-js/modules/web.dom-collections.for-each.js");
11
+ require("core-js/modules/es.function.name.js");
12
12
  var setInitialBannerCounters = function setInitialBannerCounters(banners) {
13
13
  var initialCounters = {};
14
14
  if (!banners) return initialCounters;
@@ -1 +1 @@
1
- {"version":3,"file":"set-initial-banner-counters.js","names":["setInitialBannerCounters","banners","initialCounters","forEach","_ref","name","startingPoint","settings","total","paragraphCounter","insertionPoint","_default","exports"],"sources":["../../../src/BannerContext/helpers/set-initial-banner-counters.js"],"sourcesContent":["const setInitialBannerCounters = banners => {\n const initialCounters = {};\n if (!banners) return initialCounters;\n banners.forEach(\n ({ name, settings: { startingPoint } }) =>\n (initialCounters[name] = { total: 0, paragraphCounter: 0, insertionPoint: startingPoint })\n );\n return initialCounters;\n};\n\nexport default setInitialBannerCounters;\n"],"mappings":";;;;;;;;;;;AAAA,IAAMA,wBAAwB,GAAG,SAA3BA,wBAAwBA,CAAGC,OAAO,EAAI;EAC1C,IAAMC,eAAe,GAAG,CAAC,CAAC;EAC1B,IAAI,CAACD,OAAO,EAAE,OAAOC,eAAe;EACpCD,OAAO,CAACE,OAAO,CACb,UAAAC,IAAA;IAAA,IAAGC,IAAI,GAAAD,IAAA,CAAJC,IAAI;MAAcC,aAAa,GAAAF,IAAA,CAAzBG,QAAQ,CAAID,aAAa;IAAA,OAC/BJ,eAAe,CAACG,IAAI,CAAC,GAAG;MAAEG,KAAK,EAAE,CAAC;MAAEC,gBAAgB,EAAE,CAAC;MAAEC,cAAc,EAAEJ;IAAc,CAAC;EAAA,CAC7F,CAAC;EACD,OAAOJ,eAAe;AACxB,CAAC;AAAC,IAAAS,QAAA,GAAAC,OAAA,cAEaZ,wBAAwB","ignoreList":[]}
1
+ {"version":3,"file":"set-initial-banner-counters.js","names":["setInitialBannerCounters","banners","initialCounters","forEach","_ref","name","startingPoint","settings","total","paragraphCounter","insertionPoint","_default","exports"],"sources":["../../../src/BannerContext/helpers/set-initial-banner-counters.js"],"sourcesContent":["const setInitialBannerCounters = banners => {\n const initialCounters = {};\n if (!banners) return initialCounters;\n banners.forEach(\n ({ name, settings: { startingPoint } }) =>\n (initialCounters[name] = { total: 0, paragraphCounter: 0, insertionPoint: startingPoint })\n );\n return initialCounters;\n};\n\nexport default setInitialBannerCounters;\n"],"mappings":";;;;;;;;;;;AAAA,IAAMA,wBAAwB,GAAG,SAA3BA,wBAAwBA,CAAGC,OAAO,EAAI;EAC1C,IAAMC,eAAe,GAAG,CAAC,CAAC;EAC1B,IAAI,CAACD,OAAO,EAAE,OAAOC,eAAe;EACpCD,OAAO,CAACE,OAAO,CACb,UAAAC,IAAA;IAAA,IAAGC,IAAI,GAAAD,IAAA,CAAJC,IAAI;MAAcC,aAAa,GAAAF,IAAA,CAAzBG,QAAQ,CAAID,aAAa;IAAA,OAC/BJ,eAAe,CAACG,IAAI,CAAC,GAAG;MAAEG,KAAK,EAAE,CAAC;MAAEC,gBAAgB,EAAE,CAAC;MAAEC,cAAc,EAAEJ;IAAc,CAAC;EAAA,CAC7F,CAAC;EACD,OAAOJ,eAAe;AACxB,CAAC;AAAC,IAAAS,QAAA,GAAAC,OAAA,cAEaZ,wBAAwB"}
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
 
3
3
  require("core-js/modules/es.array.iterator.js");
4
- require("core-js/modules/es.object.define-property.js");
5
- require("core-js/modules/es.object.get-own-property-descriptor.js");
6
4
  require("core-js/modules/es.object.to-string.js");
7
5
  require("core-js/modules/es.string.iterator.js");
8
6
  require("core-js/modules/es.weak-map.js");
9
7
  require("core-js/modules/web.dom-collections.iterator.js");
8
+ require("core-js/modules/es.object.define-property.js");
9
+ require("core-js/modules/es.object.get-own-property-descriptor.js");
10
10
  var _typeof = require("@babel/runtime/helpers/typeof");
11
11
  Object.defineProperty(exports, "__esModule", {
12
12
  value: true
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_helpers","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","BannerContext","exports","createContext","BannerContextProvider","_ref","children","siblings","banners","pbOptions","bannerCounters","setInitialBannerCounters","bannerPositionCounter","counter","blockTracker","lastBlockType","createElement","Provider","value"],"sources":["../../src/BannerContext/index.js"],"sourcesContent":["import React, { createContext } from 'react';\nimport { setInitialBannerCounters } from './helpers';\n\nconst BannerContext = createContext({});\n\nconst BannerContextProvider = ({ children, siblings, banners, pbOptions }) => {\n const bannerCounters = setInitialBannerCounters(banners);\n const bannerPositionCounter = { counter: 0 };\n const blockTracker = { lastBlockType: null };\n\n return (\n <BannerContext.Provider\n value={{\n banners,\n bannerCounters,\n bannerPositionCounter,\n siblings,\n pbOptions,\n blockTracker\n }}>\n {children}\n </BannerContext.Provider>\n );\n};\n\nexport { BannerContext, BannerContextProvider };\n"],"mappings":";;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AAAqD,SAAAE,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAJ,wBAAAI,CAAA,EAAAE,CAAA,SAAAA,C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AAG,IAAAC,iCAAwB,EAACH,OAAO,CAAC;EACxD,IAAMI,qBAAqB,GAAG;IAAEC,OAAO,EAAE;EAAE,CAAC;EAC5C,IAAMC,YAAY,GAAG;IAAEC,aAAa,EAAE;EAAK,CAAC;EAE5C,oBACEvC,MAAA,YAAAwC,aAAA,CAACf,aAAa,CAACgB,QAAQ;IACrBC,KAAK,EAAE;MACLV,OAAO,EAAPA,OAAO;MACPE,cAAc,EAAdA,cAAc;MACdE,qBAAqB,EAArBA,qBAAqB;MACrBL,QAAQ,EAARA,QAAQ;MACRE,SAAS,EAATA,SAAS;MACTK,YAAY,EAAZA;IACF;EAAE,GACDR,QACqB,CAAC;AAE7B,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_helpers","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","BannerContext","exports","createContext","BannerContextProvider","_ref","children","siblings","banners","pbOptions","bannerCounters","setInitialBannerCounters","bannerPositionCounter","counter","blockTracker","lastBlockType","createElement","Provider","value"],"sources":["../../src/BannerContext/index.js"],"sourcesContent":["import React, { createContext } from 'react';\nimport { setInitialBannerCounters } from './helpers';\n\nconst BannerContext = createContext({});\n\nconst BannerContextProvider = ({ children, siblings, banners, pbOptions }) => {\n const bannerCounters = setInitialBannerCounters(banners);\n const bannerPositionCounter = { counter: 0 };\n const blockTracker = { lastBlockType: null };\n\n return (\n <BannerContext.Provider\n value={{\n banners,\n bannerCounters,\n bannerPositionCounter,\n siblings,\n pbOptions,\n blockTracker\n }}>\n {children}\n </BannerContext.Provider>\n );\n};\n\nexport { BannerContext, BannerContextProvider };\n"],"mappings":";;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AAAqD,SAAAE,yBAAAC,CAAA,6BAAAC,OAAA,m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mD;EAAA,IAA7CC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAEC,QAAQ,GAAAF,IAAA,CAARE,QAAQ;IAAEC,OAAO,GAAAH,IAAA,CAAPG,OAAO;IAAEC,SAAS,GAAAJ,IAAA,CAATI,SAAS;EACrE,IAAMC,cAAc,GAAG,IAAAC,iCAAwB,EAACH,OAAO,CAAC;EACxD,IAAMI,qBAAqB,GAAG;IAAEC,OAAO,EAAE;EAAE,CAAC;EAC5C,IAAMC,YAAY,GAAG;IAAEC,aAAa,EAAE;EAAK,CAAC;EAE5C,oBACEvC,MAAA,YAAAwC,aAAA,CAACf,aAAa,CAACgB,QAAQ;IACrBC,KAAK,EAAE;MACLV,OAAO,EAAPA,OAAO;MACPE,cAAc,EAAdA,cAAc;MACdE,qBAAqB,EAArBA,qBAAqB;MACrBL,QAAQ,EAARA,QAAQ;MACRE,SAAS,EAATA,SAAS;MACTK,YAAY,EAAZA;IACF;EAAE,GACDR,QACqB,CAAC;AAE7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_withTitle","_interopRequireDefault","require"],"sources":["../../src/HOC/index.js"],"sourcesContent":["import withTitle from './withTitle';\n\nexport { withTitle };\n"],"mappings":";;;;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["_withTitle","_interopRequireDefault","require"],"sources":["../../src/HOC/index.js"],"sourcesContent":["import withTitle from './withTitle';\n\nexport { withTitle };\n"],"mappings":";;;;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA"}
@@ -7,8 +7,8 @@ Object.defineProperty(exports, "__esModule", {
7
7
  });
8
8
  exports["default"] = void 0;
9
9
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
10
- require("core-js/modules/es.array.concat.js");
11
10
  require("core-js/modules/es.function.name.js");
11
+ require("core-js/modules/es.array.concat.js");
12
12
  var _react = _interopRequireDefault(require("react"));
13
13
  var _router = require("next/router");
14
14
  var recreateOnNavigation = function recreateOnNavigation(Component) {
@@ -1 +1 @@
1
- {"version":3,"file":"recreateOnNavigation.js","names":["_react","_interopRequireDefault","require","_router","recreateOnNavigation","Component","InnerComponent","props","name","router","useRouter","key","concat","asPath","createElement","_extends2","WrappedComponent","displayName","_default","exports"],"sources":["../../src/HOC/recreateOnNavigation.js"],"sourcesContent":["import React from 'react';\nimport { useRouter } from 'next/router';\n\nconst recreateOnNavigation = Component => {\n const InnerComponent = props => {\n const { name } = props;\n const router = useRouter();\n const key = `${router.asPath}:${name}`;\n return <Component {...props} key={key} />;\n };\n\n InnerComponent.WrappedComponent = Component;\n\n InnerComponent.displayName = `recreateOnNavigation(${Component.displayName ||\n Component.name ||\n 'Component'})`;\n\n return InnerComponent;\n};\n\nexport default recreateOnNavigation;\n"],"mappings":";;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AAEA,IAAME,oBAAoB,GAAG,SAAvBA,oBAAoBA,CAAGC,SAAS,EAAI;EACxC,IAAMC,cAAc,GAAG,SAAjBA,cAAcA,CAAGC,KAAK,EAAI;IAC9B,IAAQC,IAAI,GAAKD,KAAK,CAAdC,IAAI;IACZ,IAAMC,MAAM,GAAG,IAAAC,iBAAS,EAAC,CAAC;IAC1B,IAAMC,GAAG,MAAAC,MAAA,CAAMH,MAAM,CAACI,MAAM,OAAAD,MAAA,CAAIJ,IAAI,CAAE;IACtC,oBAAOR,MAAA,YAAAc,aAAA,CAACT,SAAS,MAAAU,SAAA,iBAAKR,KAAK;MAAEI,GAAG,EAAEA;IAAI,EAAE,CAAC;EAC3C,CAAC;EAEDL,cAAc,CAACU,gBAAgB,GAAGX,SAAS;EAE3CC,cAAc,CAACW,WAAW,2BAAAL,MAAA,CAA2BP,SAAS,CAACY,WAAW,IACxEZ,SAAS,CAACG,IAAI,IACd,WAAW,MAAG;EAEhB,OAAOF,cAAc;AACvB,CAAC;AAAC,IAAAY,QAAA,GAAAC,OAAA,cAEaf,oBAAoB","ignoreList":[]}
1
+ {"version":3,"file":"recreateOnNavigation.js","names":["_react","_interopRequireDefault","require","_router","recreateOnNavigation","Component","InnerComponent","props","name","router","useRouter","key","concat","asPath","createElement","_extends2","WrappedComponent","displayName","_default","exports"],"sources":["../../src/HOC/recreateOnNavigation.js"],"sourcesContent":["import React from 'react';\nimport { useRouter } from 'next/router';\n\nconst recreateOnNavigation = Component => {\n const InnerComponent = props => {\n const { name } = props;\n const router = useRouter();\n const key = `${router.asPath}:${name}`;\n return <Component {...props} key={key} />;\n };\n\n InnerComponent.WrappedComponent = Component;\n\n InnerComponent.displayName = `recreateOnNavigation(${Component.displayName ||\n Component.name ||\n 'Component'})`;\n\n return InnerComponent;\n};\n\nexport default recreateOnNavigation;\n"],"mappings":";;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AAEA,IAAME,oBAAoB,GAAG,SAAvBA,oBAAoBA,CAAGC,SAAS,EAAI;EACxC,IAAMC,cAAc,GAAG,SAAjBA,cAAcA,CAAGC,KAAK,EAAI;IAC9B,IAAQC,IAAI,GAAKD,KAAK,CAAdC,IAAI;IACZ,IAAMC,MAAM,GAAG,IAAAC,iBAAS,EAAC,CAAC;IAC1B,IAAMC,GAAG,MAAAC,MAAA,CAAMH,MAAM,CAACI,MAAM,OAAAD,MAAA,CAAIJ,IAAI,CAAE;IACtC,oBAAOR,MAAA,YAAAc,aAAA,CAACT,SAAS,MAAAU,SAAA,iBAAKR,KAAK;MAAEI,GAAG,EAAEA;IAAI,EAAE,CAAC;EAC3C,CAAC;EAEDL,cAAc,CAACU,gBAAgB,GAAGX,SAAS;EAE3CC,cAAc,CAACW,WAAW,2BAAAL,MAAA,CAA2BP,SAAS,CAACY,WAAW,IACxEZ,SAAS,CAACG,IAAI,IACd,WAAW,MAAG;EAEhB,OAAOF,cAAc;AACvB,CAAC;AAAC,IAAAY,QAAA,GAAAC,OAAA,cAEaf,oBAAoB"}
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
 
3
3
  require("core-js/modules/es.array.iterator.js");
4
- require("core-js/modules/es.object.define-property.js");
5
- require("core-js/modules/es.object.get-own-property-descriptor.js");
6
4
  require("core-js/modules/es.object.to-string.js");
7
5
  require("core-js/modules/es.string.iterator.js");
8
6
  require("core-js/modules/es.weak-map.js");
9
7
  require("core-js/modules/web.dom-collections.iterator.js");
8
+ require("core-js/modules/es.object.define-property.js");
9
+ require("core-js/modules/es.object.get-own-property-descriptor.js");
10
10
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
11
11
  var _typeof = require("@babel/runtime/helpers/typeof");
12
12
  Object.defineProperty(exports, "__esModule", {
@@ -1 +1 @@
1
- {"version":3,"file":"withInfiniteScroll.js","names":["_react","_interopRequireWildcard","require","_propTypes","_interopRequireDefault","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","withInfiniteScroll","Component","InfiniteComponent","props","initialOffset","orderedListData","actionKey","limitToUse","fetchMore","listTotal","_useState","useState","_useState2","_slicedToArray2","isFetching","setIsFetching","_useState3","_useState4","newData","setNewData","updateQuery","prevQuery","_ref","fetchMoreResult","moreResults","results","updatedResults","concat","_toConsumableArray2","_defineProperty2","total","triggerInfiniteScroll","_ref3","_asyncToGenerator2","_regenerator","mark","_callee","dataLength","newOffset","wrap","_callee$","_context","prev","next","length","abrupt","variables","offset","stop","apply","arguments","createElement","_extends2","gtmData","propTypes","PropTypes","number","isRequired","array","string","func","itemsPerPageToUse","_default","exports"],"sources":["../../src/HOC/withInfiniteScroll.js"],"sourcesContent":["import React, { useState } from 'react';\nimport PropTypes from 'prop-types';\n\nconst withInfiniteScroll = Component => {\n const InfiniteComponent = props => {\n const { initialOffset, orderedListData, actionKey, limitToUse, fetchMore, listTotal } = props;\n const [isFetching, setIsFetching] = useState(false);\n const [newData, setNewData] = useState(null);\n\n const updateQuery = (prevQuery, { fetchMoreResult }) => {\n if (!fetchMoreResult || !fetchMoreResult[actionKey]) return prevQuery;\n const { results: moreResults } = fetchMoreResult[actionKey];\n const updatedResults = [...prevQuery[actionKey].results, ...moreResults];\n setIsFetching(false);\n setNewData(moreResults);\n\n return {\n [actionKey]: {\n results: updatedResults,\n total: fetchMoreResult[actionKey].total\n }\n };\n };\n\n const triggerInfiniteScroll = async () => {\n const dataLength = orderedListData.length;\n const newOffset = dataLength + initialOffset;\n if (isFetching || (limitToUse && dataLength >= limitToUse) || dataLength >= listTotal) return;\n setIsFetching(true);\n\n await fetchMore({\n variables: {\n offset: newOffset\n },\n updateQuery\n });\n };\n\n return <Component triggerInfiniteScroll={triggerInfiniteScroll} gtmData={newData} {...props} />;\n };\n\n InfiniteComponent.propTypes = {\n initialOffset: PropTypes.number.isRequired,\n orderedListData: PropTypes.array.isRequired,\n actionKey: PropTypes.string.isRequired,\n limitToUse: PropTypes.number.isRequired,\n fetchMore: PropTypes.func.isRequired,\n itemsPerPageToUse: PropTypes.number.isRequired,\n listTotal: PropTypes.number.isRequired\n };\n\n return InfiniteComponent;\n};\n\nexport default withInfiniteScroll;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAC,sBAAA,CAAAF,OAAA;AAAmC,SAAAG,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAL,wBAAAK,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ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","_propTypes","_interopRequireDefault","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","withInfiniteScroll","Component","InfiniteComponent","props","initialOffset","orderedListData","actionKey","limitToUse","fetchMore","listTotal","_useState","useState","_useState2","_slicedToArray2","isFetching","setIsFetching","_useState3","_useState4","newData","setNewData","updateQuery","prevQuery","_ref","fetchMoreResult","moreResults","results","updatedResults","concat","_toConsumableArray2","_defineProperty2","total","triggerInfiniteScroll","_ref3","_asyncToGenerator2","_regenerator","mark","_callee","dataLength","newOffset","wrap","_callee$","_context","prev","next","length","abrupt","variables","offset","stop","apply","arguments","createElement","_extends2","gtmData","propTypes","PropTypes","number","isRequired","array","string","func","itemsPerPageToUse","_default","exports"],"sources":["../../src/HOC/withInfiniteScroll.js"],"sourcesContent":["import React, { useState } from 'react';\nimport PropTypes from 'prop-types';\n\nconst withInfiniteScroll = Component => {\n const InfiniteComponent = props => {\n const { initialOffset, orderedListData, actionKey, limitToUse, fetchMore, listTotal } = props;\n const [isFetching, setIsFetching] = useState(false);\n const [newData, setNewData] = useState(null);\n\n const updateQuery = (prevQuery, { fetchMoreResult }) => {\n if (!fetchMoreResult || !fetchMoreResult[actionKey]) return prevQuery;\n const { results: moreResults } = fetchMoreResult[actionKey];\n const updatedResults = [...prevQuery[actionKey].results, ...moreResults];\n setIsFetching(false);\n setNewData(moreResults);\n\n return {\n [actionKey]: {\n results: updatedResults,\n total: fetchMoreResult[actionKey].total\n }\n };\n };\n\n const triggerInfiniteScroll = async () => {\n const dataLength = orderedListData.length;\n const newOffset = dataLength + initialOffset;\n if (isFetching || (limitToUse && dataLength >= limitToUse) || dataLength >= listTotal) return;\n setIsFetching(true);\n\n await fetchMore({\n variables: {\n offset: newOffset\n },\n updateQuery\n });\n };\n\n return <Component triggerInfiniteScroll={triggerInfiniteScroll} gtmData={newData} {...props} />;\n };\n\n InfiniteComponent.propTypes = {\n initialOffset: PropTypes.number.isRequired,\n orderedListData: PropTypes.array.isRequired,\n actionKey: PropTypes.string.isRequired,\n limitToUse: PropTypes.number.isRequired,\n fetchMore: PropTypes.func.isRequired,\n itemsPerPageToUse: PropTypes.number.isRequired,\n listTotal: PropTypes.number.isRequired\n };\n\n return InfiniteComponent;\n};\n\nexport default withInfiniteScroll;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAC,sBAAA,CAAAF,OAAA;AAAmC,SAAAG,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAL,wBAAAK,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,gBAAAK,OAAA,CAAAL,CAAA,0BAAAA,CAAA,sBAAAA,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAd,CAAA,oBAAAc,CAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAjB,CAAA,EAAAc,CAAA,SAAAI,CAAA,GAAAR,CAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAb,CAAA,EAAAc,CAAA,UAAAI,CAAA,KAAAA,CAAA,CAAAX,GAAA,IAAAW,CAAA,CAAAC,GAAA,IAAAR,MAAA,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B;MAACsB,OAAO,EAAEnC;IAAQ,GAAKf,KAAK,CAAG,CAAC;EACjG,CAAC;EAEDD,iBAAiB,CAACoD,SAAS,GAAG;IAC5BlD,aAAa,EAAEmD,qBAAS,CAACC,MAAM,CAACC,UAAU;IAC1CpD,eAAe,EAAEkD,qBAAS,CAACG,KAAK,CAACD,UAAU;IAC3CnD,SAAS,EAAEiD,qBAAS,CAACI,MAAM,CAACF,UAAU;IACtClD,UAAU,EAAEgD,qBAAS,CAACC,MAAM,CAACC,UAAU;IACvCjD,SAAS,EAAE+C,qBAAS,CAACK,IAAI,CAACH,UAAU;IACpCI,iBAAiB,EAAEN,qBAAS,CAACC,MAAM,CAACC,UAAU;IAC9ChD,SAAS,EAAE8C,qBAAS,CAACC,MAAM,CAACC;EAC9B,CAAC;EAED,OAAOvD,iBAAiB;AAC1B,CAAC;AAAC,IAAA4D,QAAA,GAAAC,OAAA,cAEa/D,kBAAkB"}
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
 
3
3
  require("core-js/modules/es.array.iterator.js");
4
- require("core-js/modules/es.object.define-property.js");
5
- require("core-js/modules/es.object.get-own-property-descriptor.js");
6
4
  require("core-js/modules/es.object.to-string.js");
7
5
  require("core-js/modules/es.string.iterator.js");
8
6
  require("core-js/modules/es.weak-map.js");
9
7
  require("core-js/modules/web.dom-collections.iterator.js");
8
+ require("core-js/modules/es.object.define-property.js");
9
+ require("core-js/modules/es.object.get-own-property-descriptor.js");
10
10
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
11
11
  var _typeof = require("@babel/runtime/helpers/typeof");
12
12
  Object.defineProperty(exports, "__esModule", {
@@ -1 +1 @@
1
- {"version":3,"file":"withTitle.js","names":["_react","_interopRequireWildcard","require","_propTypes","_interopRequireDefault","_utilsHandlebars","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","withTitle","Component","InnerComponent","props","elementTitle","isHeroImg","parent","shouldDisplayTitle","_useStringTemplate","useStringTemplate","loading","_useStringTemplate$da","_slicedToArray2","data","elementTitleToUse","createElement","Fragment","className","WrappedComponent","displayName","concat","name","propTypes","PropTypes","object","string","bool","defaultProps","_default","exports"],"sources":["../../src/HOC/withTitle.js"],"sourcesContent":["import React, { Fragment } from 'react';\nimport PropTypes from 'prop-types';\nimport { useStringTemplate } from '@blaze-cms/utils-handlebars';\n\nconst withTitle = Component => {\n const InnerComponent = props => {\n const { elementTitle, isHeroImg, parent } = props;\n\n const shouldDisplayTitle = elementTitle && !isHeroImg;\n const {\n loading,\n data: [elementTitleToUse]\n } = useStringTemplate(parent, [elementTitle]);\n\n if (loading) return '';\n\n return (\n <Fragment>\n {shouldDisplayTitle && <h2 className=\"heading heading--section\">{elementTitleToUse}</h2>}\n <Component {...props} />\n </Fragment>\n );\n };\n\n InnerComponent.WrappedComponent = Component;\n\n InnerComponent.displayName = `WithTitle(${Component.displayName ||\n Component.name ||\n 'Component'})`;\n\n InnerComponent.propTypes = {\n parent: PropTypes.object,\n elementTitle: PropTypes.string,\n isHeroImg: PropTypes.bool\n };\n InnerComponent.defaultProps = {\n parent: {},\n elementTitle: '',\n isHeroImg: false\n };\n\n return InnerComponent;\n};\n\nexport default withTitle;\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,gBAAA,GAAAH,OAAA;AAAgE,SAAAI,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAN,wBAAAM,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAA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,kBAAA,CAAPE,OAAO;MAAAC,qBAAA,OAAAC,eAAA,aAAAJ,kBAAA,CACPK,IAAI;MAAGC,iBAAiB,GAAAH,qBAAA;IAG1B,IAAID,OAAO,EAAE,OAAO,EAAE;IAEtB,oBACErC,MAAA,YAAA0C,aAAA,CAAC1C,MAAA,CAAA2C,QAAQ,QACNT,kBAAkB,iBAAIlC,MAAA,YAAA0C,aAAA;MAAIE,SAAS,EAAC;IAA0B,GAAEH,iBAAsB,CAAC,eACxFzC,MAAA,YAAA0C,aAAA,CAACd,SAAS,EAAKE,KAAQ,CACf,CAAC;EAEf,CAAC;EAEDD,cAAc,CAACgB,gBAAgB,GAAGjB,SAAS;EAE3CC,cAAc,CAACiB,WAAW,gBAAAC,MAAA,CAAgBnB,SAAS,CAACkB,WAAW,IAC7DlB,SAAS,CAACoB,IAAI,IACd,WAAW,MAAG;EAEhBnB,cAAc,CAACoB,SAAS,GAAG;IACzBhB,MAAM,EAAEiB,qBAAS,CAACC,MAAM;IACxBpB,YAAY,EAAEmB,qBAAS,CAACE,MAAM;IAC9BpB,SAAS,EAAEkB,qBAAS,CAACG;EACvB,CAAC;EACDxB,cAAc,CAACyB,YAAY,GAAG;IAC5BrB,MAAM,EAAE,CAAC,CAAC;IACVF,YAAY,EAAE,EAAE;IAChBC,SAAS,EAAE;EACb,CAAC;EAED,OAAOH,cAAc;AACvB,CAAC;AAAC,IAAA0B,QAAA,GAAAC,OAAA,cAEa7B,SAAS","ignoreList":[]}
1
+ {"version":3,"file":"withTitle.js","names":["_react","_interopRequireWildcard","require","_propTypes","_interopRequireDefault","_utilsHandlebars","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","withTitle","Component","InnerComponent","props","elementTitle","isHeroImg","parent","shouldDisplayTitle","_useStringTemplate","useStringTemplate","loading","_useStringTemplate$da","_slicedToArray2","data","elementTitleToUse","createElement","Fragment","className","WrappedComponent","displayName","concat","name","propTypes","PropTypes","object","string","bool","defaultProps","_default","exports"],"sources":["../../src/HOC/withTitle.js"],"sourcesContent":["import React, { Fragment } from 'react';\nimport PropTypes from 'prop-types';\nimport { useStringTemplate } from '@blaze-cms/utils-handlebars';\n\nconst withTitle = Component => {\n const InnerComponent = props => {\n const { elementTitle, isHeroImg, parent } = props;\n\n const shouldDisplayTitle = elementTitle && !isHeroImg;\n const {\n loading,\n data: [elementTitleToUse]\n } = useStringTemplate(parent, [elementTitle]);\n\n if (loading) return '';\n\n return (\n <Fragment>\n {shouldDisplayTitle && <h2 className=\"heading heading--section\">{elementTitleToUse}</h2>}\n <Component {...props} />\n </Fragment>\n );\n };\n\n InnerComponent.WrappedComponent = Component;\n\n InnerComponent.displayName = `WithTitle(${Component.displayName ||\n Component.name ||\n 'Component'})`;\n\n InnerComponent.propTypes = {\n parent: PropTypes.object,\n elementTitle: PropTypes.string,\n isHeroImg: PropTypes.bool\n };\n InnerComponent.defaultProps = {\n parent: {},\n elementTitle: '',\n isHeroImg: false\n };\n\n return InnerComponent;\n};\n\nexport default withTitle;\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,gBAAA,GAAAH,OAAA;AAAgE,SAAAI,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAN,wBAAAM,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,gBAAAK,OAAA,CAAAL,CAAA,0BAAAA,CAAA,sBAAAA,CAAA,QAAAG,CAAA,GAAAJ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,IAAID,OAAO,EAAE,OAAO,EAAE;IAEtB,oBACErC,MAAA,YAAA0C,aAAA,CAAC1C,MAAA,CAAA2C,QAAQ,QACNT,kBAAkB,iBAAIlC,MAAA,YAAA0C,aAAA;MAAIE,SAAS,EAAC;IAA0B,GAAEH,iBAAsB,CAAC,eACxFzC,MAAA,YAAA0C,aAAA,CAACd,SAAS,EAAKE,KAAQ,CACf,CAAC;EAEf,CAAC;EAEDD,cAAc,CAACgB,gBAAgB,GAAGjB,SAAS;EAE3CC,cAAc,CAACiB,WAAW,gBAAAC,MAAA,CAAgBnB,SAAS,CAACkB,WAAW,IAC7DlB,SAAS,CAACoB,IAAI,IACd,WAAW,MAAG;EAEhBnB,cAAc,CAACoB,SAAS,GAAG;IACzBhB,MAAM,EAAEiB,qBAAS,CAACC,MAAM;IACxBpB,YAAY,EAAEmB,qBAAS,CAACE,MAAM;IAC9BpB,SAAS,EAAEkB,qBAAS,CAACG;EACvB,CAAC;EACDxB,cAAc,CAACyB,YAAY,GAAG;IAC5BrB,MAAM,EAAE,CAAC,CAAC;IACVF,YAAY,EAAE,EAAE;IAChBC,SAAS,EAAE;EACb,CAAC;EAED,OAAOH,cAAc;AACvB,CAAC;AAAC,IAAA0B,QAAA,GAAAC,OAAA,cAEa7B,SAAS"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_react","require","PBContext","createContext","hasGTM","_default","exports"],"sources":["../../src/PBContext/index.js"],"sourcesContent":["import { createContext } from 'react';\n\nconst PBContext = createContext({ hasGTM: false });\n\nexport default PBContext;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAMC,SAAS,gBAAG,IAAAC,oBAAa,EAAC;EAAEC,MAAM,EAAE;AAAM,CAAC,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEpCJ,SAAS","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["_react","require","PBContext","createContext","hasGTM","_default","exports"],"sources":["../../src/PBContext/index.js"],"sourcesContent":["import { createContext } from 'react';\n\nconst PBContext = createContext({ hasGTM: false });\n\nexport default PBContext;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAMC,SAAS,gBAAG,IAAAC,oBAAa,EAAC;EAAEC,MAAM,EAAE;AAAM,CAAC,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEpCJ,SAAS"}
@@ -6,9 +6,9 @@ Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
8
  exports.removeItemsFromList = exports.getUser = exports.getSingleEntitySchema = exports.getSearchPublishedContent = exports.getRecordParents = exports.getMultipleSchema = exports.getItemList = exports.getFiles = exports.getFileById = exports.getEntitySchema = exports.getCount = exports.getAction = exports.generateSingleItemQuery = exports.generateMultiItemQuery = exports.addItemsToList = void 0;
9
- require("core-js/modules/es.array.concat.js");
10
9
  require("core-js/modules/es.array.join.js");
11
10
  require("core-js/modules/es.array.map.js");
11
+ require("core-js/modules/es.array.concat.js");
12
12
  var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
13
13
  var _client = require("@apollo/client");
14
14
  var _lodash = _interopRequireDefault(require("lodash.upperfirst"));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_client","require","_lodash","_interopRequireDefault","_templateObject","_templateObject2","_templateObject3","_templateObject4","_templateObject5","_templateObject6","_templateObject7","_templateObject8","_templateObject9","_templateObject10","_templateObject11","_templateObject12","_templateObject13","_templateObject14","_templateObject15","defaultSchemaProps","getSearchPublishedContent","exports","fields","gql","_taggedTemplateLiteral2","getUser","userProps","getEntitySchema","getSingleEntitySchema","getRecordParents","queryName","getMultipleSchema","identifiers","queryString","map","id","concat","join","getFiles","getFileById","getCount","action","generateQuery","props","upperFirst","generateMultiItemQuery","generateSingleItemQuery","getAction","query","getItemList","addItemsToList","removeItemsFromList"],"sources":["../../../src/application/query/index.js"],"sourcesContent":["import { gql } from '@apollo/client';\nimport upperFirst from 'lodash.upperfirst';\n\nconst defaultSchemaProps = `\n id\n identifier\n properties\n dynamicProperties\n actions\n interfaces\n relations\n __typename\n`;\n\nconst getSearchPublishedContent = fields => gql`\n query searchPublishedContent($rawQueryStringified: String!, $offset: Int, $limit: Int, $sort: String) {\n searchPublishedContent(rawQueryStringified: $rawQueryStringified, offset: $offset, limit: $limit, sort: $sort) {\n ${fields}\n }\n }\n `;\n\nconst getUser = userProps => gql`\n query getUser($id: String!) {\n getUser(id: $id) {\n id\n ${userProps}\n }\n }\n`;\n\nconst getEntitySchema = gql`\n query getEntitySchemas($identifier: String!) {\n getEntitySchemas(identifier: $identifier) {\n ${defaultSchemaProps}\n }\n }\n`;\n\nconst getSingleEntitySchema = gql`\n query getEntitySchema($id: String!) {\n getEntitySchema: getEntitySchema(id: $id) {\n ${defaultSchemaProps}\n }\n }\n`;\n\nconst getRecordParents = queryName => gql`\nquery getRecordParents($id: String!){\n recordParents: ${queryName}(id: $id){\n id,\n name,\n url,\n parents {\n id,\n name\n url\n }\n }\n}`;\n\nconst getMultipleSchema = identifiers => {\n const queryString = identifiers\n .map(\n id => `${id}: getEntitySchema(id: \"${id}\") {\n ${defaultSchemaProps}\n }`\n )\n .join(`\\n`);\n return gql`\n query {\n ${queryString}\n }`;\n};\n\nconst getFiles = gql`\n query getFiles($where: JSON!) {\n getFiles(where: $where) {\n id\n url\n data\n }\n }\n`;\n\nconst getFileById = gql`\n query getFile($id: String!) {\n getFile(id: $id) {\n id\n url\n data\n }\n }\n`;\n\nconst getCount = action => gql`query countData($where: JSON!) {\n ${action} (where: $where)\n }\n`;\n\nconst generateQuery = (action, props) => `\n query getEntityData(\n $where: JSON\n $limit: Int\n $offset: Int\n $sort: [${upperFirst(action)}SortItem]){\n ${action} (where: $where, limit: $limit, offset: $offset, sort: $sort){\n ${props}\n id\n __typename\n }\n }\n `;\nconst generateMultiItemQuery = (action, props) => gql`\n query getEntityData($where: JSON){\n ${action} (where: $where){\n ${props}\n id\n __typename\n }\n }\n `;\n\nconst generateSingleItemQuery = (action, props) => gql`\n query getEntityData($id: String!){\n entityData: ${action}(id: $id){\n ${props},\n id,\n __typename\n }\n }\n `;\n\n// TODO: extend function to handle properties and make them dynamic with a config schema for each entity.\nconst getAction = (action, props) => {\n const query = generateQuery(action, props);\n return gql`\n ${query}\n `;\n};\n\nconst getItemList = gql`\n query getItemList($id: String!) {\n getItemList(id: $id) {\n id\n listItems {\n itemId\n itemEntity\n }\n }\n }\n`;\n\nconst addItemsToList = gql`\n mutation addItemsToList(\n $name: String!\n $id: String\n $listItems: [AddItemsToListInputListItemsItem]!\n ) {\n addItemsToList(input: { name: $name, id: $id, listItems: $listItems }) {\n result {\n id\n listItems {\n itemId\n itemEntity\n }\n }\n }\n }\n`;\n\nconst removeItemsFromList = gql`\n mutation removeItemsFromList(\n $listId: String!\n $listItems: [RemoveItemsFromListInputListItemsItem]!\n ) {\n removeItemsFromList(input: { id: $listId, listItems: $listItems }) {\n result {\n id\n listItems {\n itemId\n itemEntity\n }\n }\n }\n }\n`;\n\nexport {\n getEntitySchema,\n getSingleEntitySchema,\n getAction,\n getFiles,\n getFileById,\n generateMultiItemQuery,\n generateSingleItemQuery,\n getSearchPublishedContent,\n getCount,\n getMultipleSchema,\n getUser,\n getRecordParents,\n getItemList,\n addItemsToList,\n removeItemsFromList\n};\n"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAC,sBAAA,CAAAF,OAAA;AAA2C,IAAAG,eAAA,EAAAC,gBAAA,EAAAC,gBAAA,EAAAC,gBAAA,EAAAC,gBAAA,EAAAC,gBAAA,EAAAC,gBAAA,EAAAC,gBAAA,EAAAC,gBAAA,EAAAC,iBAAA,EAAAC,iBAAA,EAAAC,iBAAA,EAAAC,iBAAA,EAAAC,iBAAA,EAAAC,iBAAA;AAE3C,IAAMC,kBAAkB,kHASvB;AAED,IAAMC,yBAAyB,GAAAC,OAAA,CAAAD,yBA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AAAP,iBAAA,KAAAA,iBAAA,OAAAQ,uBAAA,6KAUtB;AAED,IAAM0B,cAAc,GAAA7B,OAAA,CAAA6B,cAAA,OAAG3B,WAAG,EAAAN,iBAAA,KAAAA,iBAAA,OAAAO,uBAAA,0VAgBzB;AAED,IAAM2B,mBAAmB,GAAA9B,OAAA,CAAA8B,mBAAA,OAAG5B,WAAG,EAAAL,iBAAA,KAAAA,iBAAA,OAAAM,uBAAA,iVAe9B","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["_client","require","_lodash","_interopRequireDefault","_templateObject","_templateObject2","_templateObject3","_templateObject4","_templateObject5","_templateObject6","_templateObject7","_templateObject8","_templateObject9","_templateObject10","_templateObject11","_templateObject12","_templateObject13","_templateObject14","_templateObject15","defaultSchemaProps","getSearchPublishedContent","exports","fields","gql","_taggedTemplateLiteral2","getUser","userProps","getEntitySchema","getSingleEntitySchema","getRecordParents","queryName","getMultipleSchema","identifiers","queryString","map","id","concat","join","getFiles","getFileById","getCount","action","generateQuery","props","upperFirst","generateMultiItemQuery","generateSingleItemQuery","getAction","query","getItemList","addItemsToList","removeItemsFromList"],"sources":["../../../src/application/query/index.js"],"sourcesContent":["import { gql } from '@apollo/client';\nimport upperFirst from 'lodash.upperfirst';\n\nconst defaultSchemaProps = `\n id\n identifier\n properties\n dynamicProperties\n actions\n interfaces\n relations\n __typename\n`;\n\nconst getSearchPublishedContent = fields => gql`\n query searchPublishedContent($rawQueryStringified: String!, $offset: Int, $limit: Int, $sort: String) {\n searchPublishedContent(rawQueryStringified: $rawQueryStringified, offset: $offset, limit: $limit, sort: $sort) {\n ${fields}\n }\n }\n `;\n\nconst getUser = userProps => gql`\n query getUser($id: String!) {\n getUser(id: $id) {\n id\n ${userProps}\n }\n }\n`;\n\nconst getEntitySchema = gql`\n query getEntitySchemas($identifier: String!) {\n getEntitySchemas(identifier: $identifier) {\n ${defaultSchemaProps}\n }\n }\n`;\n\nconst getSingleEntitySchema = gql`\n query getEntitySchema($id: String!) {\n getEntitySchema: getEntitySchema(id: $id) {\n ${defaultSchemaProps}\n }\n }\n`;\n\nconst getRecordParents = queryName => gql`\nquery getRecordParents($id: String!){\n recordParents: ${queryName}(id: $id){\n id,\n name,\n url,\n parents {\n id,\n name\n url\n }\n }\n}`;\n\nconst getMultipleSchema = identifiers => {\n const queryString = identifiers\n .map(\n id => `${id}: getEntitySchema(id: \"${id}\") {\n ${defaultSchemaProps}\n }`\n )\n .join(`\\n`);\n return gql`\n query {\n ${queryString}\n }`;\n};\n\nconst getFiles = gql`\n query getFiles($where: JSON!) {\n getFiles(where: $where) {\n id\n url\n data\n }\n }\n`;\n\nconst getFileById = gql`\n query getFile($id: String!) {\n getFile(id: $id) {\n id\n url\n data\n }\n }\n`;\n\nconst getCount = action => gql`query countData($where: JSON!) {\n ${action} (where: $where)\n }\n`;\n\nconst generateQuery = (action, props) => `\n query getEntityData(\n $where: JSON\n $limit: Int\n $offset: Int\n $sort: [${upperFirst(action)}SortItem]){\n ${action} (where: $where, limit: $limit, offset: $offset, sort: $sort){\n ${props}\n id\n __typename\n }\n }\n `;\nconst generateMultiItemQuery = (action, props) => gql`\n query getEntityData($where: JSON){\n ${action} (where: $where){\n ${props}\n id\n __typename\n }\n }\n `;\n\nconst generateSingleItemQuery = (action, props) => gql`\n query getEntityData($id: String!){\n entityData: ${action}(id: $id){\n ${props},\n id,\n __typename\n }\n }\n `;\n\n// TODO: extend function to handle properties and make them dynamic with a config schema for each entity.\nconst getAction = (action, props) => {\n const query = generateQuery(action, props);\n return gql`\n ${query}\n `;\n};\n\nconst getItemList = gql`\n query getItemList($id: String!) {\n getItemList(id: $id) {\n id\n listItems {\n itemId\n itemEntity\n }\n }\n }\n`;\n\nconst addItemsToList = gql`\n mutation addItemsToList(\n $name: String!\n $id: String\n $listItems: [AddItemsToListInputListItemsItem]!\n ) {\n addItemsToList(input: { name: $name, id: $id, listItems: $listItems }) {\n result {\n id\n listItems {\n itemId\n itemEntity\n }\n }\n }\n }\n`;\n\nconst removeItemsFromList = gql`\n mutation removeItemsFromList(\n $listId: String!\n $listItems: [RemoveItemsFromListInputListItemsItem]!\n ) {\n removeItemsFromList(input: { id: $listId, listItems: $listItems }) {\n result {\n id\n listItems {\n itemId\n itemEntity\n }\n }\n }\n }\n`;\n\nexport {\n getEntitySchema,\n getSingleEntitySchema,\n getAction,\n getFiles,\n getFileById,\n generateMultiItemQuery,\n generateSingleItemQuery,\n getSearchPublishedContent,\n getCount,\n getMultipleSchema,\n getUser,\n getRecordParents,\n getItemList,\n addItemsToList,\n removeItemsFromList\n};\n"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAC,sBAAA,CAAAF,OAAA;AAA2C,IAAAG,eAAA,EAAAC,gBAAA,EAAAC,gBAAA,EAAAC,gBAAA,EAAAC,gBAAA,EAAAC,gBAAA,EAAAC,gBAAA,EAAAC,gBAAA,EAAAC,gBAAA,EAAAC,iBAAA,EAAAC,iBAAA,EAAAC,iBAAA,EAAAC,iBAAA,EAAAC,iBAAA,EAAAC,iBAAA;AAE3C,IAAMC,kBAAkB,kHASvB;AAED,IAAMC,yBAAyB,GAAAC,OAAA,CAAAD,yBAAA,GAAG,SAA5BA,yBAAyBA,CAAGE,MAAM;EAAA,WAAIC,WAAG,EAAAnB,eAAA,KAAAA,eAAA,OAAAoB,uBAAA,4RAGrCF,MAAM;AAAA,CAGb;AAEH,IAAMG,OAAO,GAAAJ,OAAA,CAAAI,OAAA,GAAG,SAAVA,OAAOA,CAAGC,SAAS;EAAA,WAAIH,WAAG,EAAAlB,gBAAA,KAAAA,gBAAA,OAAAmB,uBAAA,kHAIxBE,SAAS;AAAA,CAGhB;AAED,IAAMC,eAAe,GAAAN,OAAA,CAAAM,eAAA,OAAGJ,WAAG,EAAAjB,gBAAA,KAAAA,gBAAA,OAAAkB,uBAAA,kJAGnBL,kBAAkB,CAGzB;AAED,IAAMS,qBAAqB,GAAAP,OAAA,CAAAO,qBA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K;AAAA,CAKV;AACH,IAAME,sBAAsB,GAAAxB,OAAA,CAAAwB,sBAAA,GAAG,SAAzBA,sBAAsBA,CAAIJ,MAAM,EAAEE,KAAK;EAAA,WAAKpB,WAAG,EAAAV,iBAAA,KAAAA,iBAAA,OAAAW,uBAAA,8IAE/CiB,MAAM,EACJE,KAAK;AAAA,CAKV;AAEH,IAAMG,uBAAuB,GAAAzB,OAAA,CAAAyB,uBAAA,GAAG,SAA1BA,uBAAuBA,CAAIL,MAAM,EAAEE,KAAK;EAAA,WAAKpB,WAAG,EAAAT,iBAAA,KAAAA,iBAAA,OAAAU,uBAAA,+IAEpCiB,MAAM,EAClBE,KAAK;AAAA,CAKR;;AAEH;AACA,IAAMI,SAAS,GAAA1B,OAAA,CAAA0B,SAAA,GAAG,SAAZA,SAASA,CAAIN,MAAM,EAAEE,KAAK,EAAK;EACnC,IAAMK,KAAK,GAAGN,aAAa,CAACD,MAAM,EAAEE,KAAK,CAAC;EAC1C,WAAOpB,WAAG,EAAAR,iBAAA,KAAAA,iBAAA,OAAAS,uBAAA,mCACNwB,KAAK;AAEX,CAAC;AAED,IAAMC,WAAW,GAAA5B,OAAA,CAAA4B,WAAA,OAAG1B,WAAG,EAAAP,iBAAA,KAAAA,iBAAA,OAAAQ,uBAAA,6KAUtB;AAED,IAAM0B,cAAc,GAAA7B,OAAA,CAAA6B,cAAA,OAAG3B,WAAG,EAAAN,iBAAA,KAAAA,iBAAA,OAAAO,uBAAA,0VAgBzB;AAED,IAAM2B,mBAAmB,GAAA9B,OAAA,CAAA8B,mBAAA,OAAG5B,WAAG,EAAAL,iBAAA,KAAAA,iBAAA,OAAAM,uBAAA,iVAe9B"}
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
 
3
3
  require("core-js/modules/es.array.iterator.js");
4
- require("core-js/modules/es.object.define-property.js");
5
- require("core-js/modules/es.object.get-own-property-descriptor.js");
6
4
  require("core-js/modules/es.object.to-string.js");
7
5
  require("core-js/modules/es.string.iterator.js");
8
6
  require("core-js/modules/es.weak-map.js");
9
7
  require("core-js/modules/web.dom-collections.iterator.js");
8
+ require("core-js/modules/es.object.define-property.js");
9
+ require("core-js/modules/es.object.get-own-property-descriptor.js");
10
10
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
11
11
  var _typeof = require("@babel/runtime/helpers/typeof");
12
12
  Object.defineProperty(exports, "__esModule", {
@@ -1 +1 @@
1
- {"version":3,"file":"BackToTop.js","names":["_react","_interopRequireWildcard","require","_propTypes","_interopRequireDefault","_fa","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","BackToTop","_ref","type","showAfterPixels","_useState","useState","_useState2","_slicedToArray2","goToTop","setGoToTop","useEffect","handleOnScroll","window","scrollY","document","addEventListener","removeEventListener","handleBackToTop","event","preventDefault","scroll","top","left","behavior","createElement","Fragment","href","className","onClick","FaArrowUp","propTypes","PropTypes","string","number","defaultProps","_default","exports"],"sources":["../../../src/components/BackToTop/BackToTop.js"],"sourcesContent":["import React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { FaArrowUp } from 'react-icons/fa';\n\nconst BackToTop = ({ type, showAfterPixels }) => {\n const [goToTop, setGoToTop] = useState(false);\n\n useEffect(\n () => {\n const handleOnScroll = () => setGoToTop(window.scrollY >= showAfterPixels);\n document.addEventListener('scroll', handleOnScroll);\n return () => document.removeEventListener('scroll', handleOnScroll);\n },\n [showAfterPixels]\n );\n\n const handleBackToTop = event => {\n event.preventDefault();\n window.scroll({\n top: 0,\n left: 0,\n behavior: 'smooth'\n });\n };\n\n return (\n <>\n {goToTop && (\n <a href=\"#top\" className={type} onClick={handleBackToTop} aria-label=\"Back to top\">\n <FaArrowUp />\n </a>\n )}\n </>\n );\n};\n\nBackToTop.propTypes = {\n type: PropTypes.string,\n showAfterPixels: PropTypes.number\n};\n\nBackToTop.defaultProps = {\n type: 'backt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,SAAS,GAAG;EACpB5B,IAAI,EAAE6B,qBAAS,CAACC,MAAM;EACtB7B,eAAe,EAAE4B,qBAAS,CAACE;AAC7B,CAAC;AAEDjC,SAAS,CAACkC,YAAY,GAAG;EACvBhC,IAAI,EAAE,WAAW;EACjBC,eAAe,EAAE;AACnB,CAAC;AAAC,IAAAgC,QAAA,GAAAC,OAAA,cAEapC,SAAS","ignoreList":[]}
1
+ {"version":3,"file":"BackToTop.js","names":["_react","_interopRequireWildcard","require","_propTypes","_interopRequireDefault","_fa","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","BackToTop","_ref","type","showAfterPixels","_useState","useState","_useState2","_slicedToArray2","goToTop","setGoToTop","useEffect","handleOnScroll","window","scrollY","document","addEventListener","removeEventListener","handleBackToTop","event","preventDefault","scroll","top","left","behavior","createElement","Fragment","href","className","onClick","FaArrowUp","propTypes","PropTypes","string","number","defaultProps","_default","exports"],"sources":["../../../src/components/BackToTop/BackToTop.js"],"sourcesContent":["import React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { FaArrowUp } from 'react-icons/fa';\n\nconst BackToTop = ({ type, showAfterPixels }) => {\n const [goToTop, setGoToTop] = useState(false);\n\n useEffect(\n () => {\n const handleOnScroll = () => setGoToTop(window.scrollY >= showAfterPixels);\n document.addEventListener('scroll', handleOnScroll);\n return () => document.removeEventListener('scroll', handleOnScroll);\n },\n [showAfterPixels]\n );\n\n const handleBackToTop = event => {\n event.preventDefault();\n window.scroll({\n top: 0,\n left: 0,\n behavior: 'smooth'\n });\n };\n\n return (\n <>\n {goToTop && (\n <a href=\"#top\" className={type} onClick={handleBackToTop} aria-label=\"Back to top\">\n <FaArrowUp />\n </a>\n )}\n </>\n );\n};\n\nBackToTop.propTypes = {\n type: PropTypes.string,\n showAfterPixels: PropTypes.number\n};\n\nBackToTop.defaultProps = {\n type: 'backtotop',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AS,GAAG;EACpB5B,IAAI,EAAE6B,qBAAS,CAACC,MAAM;EACtB7B,eAAe,EAAE4B,qBAAS,CAACE;AAC7B,CAAC;AAEDjC,SAAS,CAACkC,YAAY,GAAG;EACvBhC,IAAI,EAAE,WAAW;EACjBC,eAAe,EAAE;AACnB,CAAC;AAAC,IAAAgC,QAAA,GAAAC,OAAA,cAEapC,SAAS"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_BackToTop","_interopRequireDefault","require","_default","exports","BackToTop"],"sources":["../../../src/components/BackToTop/index.js"],"sourcesContent":["import BackToTop from './BackToTop';\n\nexport default BackToTop;\n"],"mappings":";;;;;;;;AAAA,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAoC,IAAAC,QAAA,GAAAC,OAAA,cAErBC,qBAAS","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["_BackToTop","_interopRequireDefault","require","_default","exports","BackToTop"],"sources":["../../../src/components/BackToTop/index.js"],"sourcesContent":["import BackToTop from './BackToTop';\n\nexport default BackToTop;\n"],"mappings":";;;;;;;;AAAA,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAoC,IAAAC,QAAA,GAAAC,OAAA,cAErBC,qBAAS"}
@@ -1,22 +1,22 @@
1
1
  "use strict";
2
2
 
3
3
  require("core-js/modules/es.array.iterator.js");
4
- require("core-js/modules/es.object.define-property.js");
5
- require("core-js/modules/es.object.get-own-property-descriptor.js");
6
4
  require("core-js/modules/es.object.to-string.js");
7
5
  require("core-js/modules/es.string.iterator.js");
8
6
  require("core-js/modules/es.weak-map.js");
9
7
  require("core-js/modules/web.dom-collections.iterator.js");
8
+ require("core-js/modules/es.object.define-property.js");
9
+ require("core-js/modules/es.object.get-own-property-descriptor.js");
10
10
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
11
11
  var _typeof = require("@babel/runtime/helpers/typeof");
12
12
  Object.defineProperty(exports, "__esModule", {
13
13
  value: true
14
14
  });
15
15
  exports["default"] = void 0;
16
+ require("core-js/modules/es.array.sort.js");
17
+ require("core-js/modules/es.array.map.js");
16
18
  require("core-js/modules/es.array.concat.js");
17
19
  require("core-js/modules/es.array.join.js");
18
- require("core-js/modules/es.array.map.js");
19
- require("core-js/modules/es.array.sort.js");
20
20
  var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
21
21
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
22
22
  var _react = _interopRequireWildcard(require("react"));
@@ -1 +1 @@
1
- {"version":3,"file":"AdSlotRender.js","names":["_react","_interopRequireWildcard","require","_reactDfp","_propTypes","_interopRequireDefault","_constants","_Wrapper","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","AdSlotRender","_ref","shouldShowBanner","sizeMapping","sizeId","parsedAdunit","parsedSizes","modifiers","targetingArguments","_useState","useState","_useState2","_slicedToArray2","_useState2$","_useState2$$loadingSt","loadingStatus","BANNER_LOADING","minHeight","setLoadingStatus","bannerClass","concat","styles","map","_ref2","styleSizes","sizes","_ref2$viewport","viewport","minWidth","minimumHeight","Math","min","apply","_toConsumableArray2","_ref3","_ref4","height","sort","className","newModifers","createElement","join","style","AdSlot","adUnit","onSlotRender","slotData","_slotData$event","event","isEmpty","size","slotHeight","length","undefined","newLoadingStatus","BANNER_EMPTY","BANNER_LOADED","propTypes","PropTypes","bool","isRequired","array","string","object","defaultProps","_default","exports"],"sources":["../../../src/components/Banner/AdSlotRender.js"],"sourcesContent":["import React, { useState } from 'react';\nimport { AdSlot } from 'react-dfp';\nimport PropTypes from 'prop-types';\nimport { BANNER_LOADING, BANNER_EMPTY, BANNER_LOADED } from '../../constants';\nimport Wrapper from '../Wrapper';\n\nconst AdSlotRender = ({\n shouldShowBanner,\n sizeMapping,\n sizeId,\n parsedAdunit,\n parsedSizes,\n modifiers,\n targetingArguments\n}) => {\n const [{ loadingStatus = BANNER_LOADING, minHeight }, setLoadingStatus] = useState({});\n\n const bannerClass = `banner-${sizeId}`;\n\n const styles =\n loadingStatus === BANNER_LOADING &&\n sizeMapping\n .map(({ sizes: styleSizes, viewport: [minWidth] }) => {\n const minimumHeight = Math.min(...styleSizes.map(([, height]) => height));\n return `@media(min-width:${minWidth}px){.${bannerClass}{min-height:${minimumHeight}px;}`;\n })\n .sort();\n const className = `ad-slot ad-slot-${loadingStatus} ${bannerClass}`;\n const newModifers = `${modifiers} banner-${loadingStatus}`;\n return (\n <Wrapper className=\"banner\" modifiers={newModifers}>\n {styles && <style>{styles.join('\\n')}</style>}\n <div className={className} style={{ minHeight }} data-testid=\"ad-slot\">\n {shouldShowBanner && (\n <AdSlot\n adUnit={parsedAdunit}\n sizes={parsedSizes}\n targetingArguments={targetingArguments}\n sizeMapping={sizeMapping}\n onSlotRender={slotData => {\n const {\n event: { isEmpty, size }\n } = slotData;\n const slotHeight = size && size.length ? size[1] : undefined;\n const newLoadingStatus = isEmpty ? BANNER_EMPTY : BANNER_LOADED;\n setLoadingStatus({ loadingStatus: newLoadingStatus, minHeight: slotHeight });\n }}\n />\n )}\n </div>\n </Wrapper>\n );\n};\n\nAdSlotRender.propTypes = {\n shouldShowBanner: PropTypes.bool.isRequired,\n sizeMapping: PropTypes.array.isRequired,\n sizeId: PropTypes.string.isRequired,\n parsedAdunit: PropTypes.string.isRequired,\n parsedSizes: PropTypes.array,\n modifiers: PropTypes.string,\n targetingArguments: PropTypes.object.isRequired\n};\n\nAdSlotRender.defaultProps = {\n parsedSizes: null,\n modifiers: ''\n};\n\nexport default AdSlotRender;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,UAAA,GAAAJ,OAAA;AACA,IAAAK,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zD,WAAW,EAAEuD,qBAAS,CAACG,KAAK,CAACD,UAAU;EACvCxD,MAAM,EAAEsD,qBAAS,CAACI,MAAM,CAACF,UAAU;EACnCvD,YAAY,EAAEqD,qBAAS,CAACI,MAAM,CAACF,UAAU;EACzCtD,WAAW,EAAEoD,qBAAS,CAACG,KAAK;EAC5BtD,SAAS,EAAEmD,qBAAS,CAACI,MAAM;EAC3BtD,kBAAkB,EAAEkD,qBAAS,CAACK,MAAM,CAACH;AACvC,CAAC;AAED5D,YAAY,CAACgE,YAAY,GAAG;EAC1B1D,WAAW,EAAE,IAAI;EACjBC,SAAS,EAAE;AACb,CAAC;AAAC,IAAA0D,QAAA,GAAAC,OAAA,cAEalE,YAAY","ignoreList":[]}
1
+ {"version":3,"file":"AdSlotRender.js","names":["_react","_interopRequireWildcard","require","_reactDfp","_propTypes","_interopRequireDefault","_constants","_Wrapper","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","AdSlotRender","_ref","shouldShowBanner","sizeMapping","sizeId","parsedAdunit","parsedSizes","modifiers","targetingArguments","_useState","useState","_useState2","_slicedToArray2","_useState2$","_useState2$$loadingSt","loadingStatus","BANNER_LOADING","minHeight","setLoadingStatus","bannerClass","concat","styles","map","_ref2","styleSizes","sizes","_ref2$viewport","viewport","minWidth","minimumHeight","Math","min","apply","_toConsumableArray2","_ref3","_ref4","height","sort","className","newModifers","createElement","join","style","AdSlot","adUnit","onSlotRender","slotData","_slotData$event","event","isEmpty","size","slotHeight","length","undefined","newLoadingStatus","BANNER_EMPTY","BANNER_LOADED","propTypes","PropTypes","bool","isRequired","array","string","object","defaultProps","_default","exports"],"sources":["../../../src/components/Banner/AdSlotRender.js"],"sourcesContent":["import React, { useState } from 'react';\nimport { AdSlot } from 'react-dfp';\nimport PropTypes from 'prop-types';\nimport { BANNER_LOADING, BANNER_EMPTY, BANNER_LOADED } from '../../constants';\nimport Wrapper from '../Wrapper';\n\nconst AdSlotRender = ({\n shouldShowBanner,\n sizeMapping,\n sizeId,\n parsedAdunit,\n parsedSizes,\n modifiers,\n targetingArguments\n}) => {\n const [{ loadingStatus = BANNER_LOADING, minHeight }, setLoadingStatus] = useState({});\n\n const bannerClass = `banner-${sizeId}`;\n\n const styles =\n loadingStatus === BANNER_LOADING &&\n sizeMapping\n .map(({ sizes: styleSizes, viewport: [minWidth] }) => {\n const minimumHeight = Math.min(...styleSizes.map(([, height]) => height));\n return `@media(min-width:${minWidth}px){.${bannerClass}{min-height:${minimumHeight}px;}`;\n })\n .sort();\n const className = `ad-slot ad-slot-${loadingStatus} ${bannerClass}`;\n const newModifers = `${modifiers} banner-${loadingStatus}`;\n return (\n <Wrapper className=\"banner\" modifiers={newModifers}>\n {styles && <style>{styles.join('\\n')}</style>}\n <div className={className} style={{ minHeight }} data-testid=\"ad-slot\">\n {shouldShowBanner && (\n <AdSlot\n adUnit={parsedAdunit}\n sizes={parsedSizes}\n targetingArguments={targetingArguments}\n sizeMapping={sizeMapping}\n onSlotRender={slotData => {\n const {\n event: { isEmpty, size }\n } = slotData;\n const slotHeight = size && size.length ? size[1] : undefined;\n const newLoadingStatus = isEmpty ? BANNER_EMPTY : BANNER_LOADED;\n setLoadingStatus({ loadingStatus: newLoadingStatus, minHeight: slotHeight });\n }}\n />\n )}\n </div>\n </Wrapper>\n );\n};\n\nAdSlotRender.propTypes = {\n shouldShowBanner: PropTypes.bool.isRequired,\n sizeMapping: PropTypes.array.isRequired,\n sizeId: PropTypes.string.isRequired,\n parsedAdunit: PropTypes.string.isRequired,\n parsedSizes: PropTypes.array,\n modifiers: PropTypes.string,\n targetingArguments: PropTypes.object.isRequired\n};\n\nAdSlotRender.defaultProps = {\n parsedSizes: null,\n modifiers: ''\n};\n\nexport default AdSlotRender;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAA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AAC;AAEd,CAAC;AAEDnD,YAAY,CAACyD,SAAS,GAAG;EACvBvD,gBAAgB,EAAEwD,qBAAS,CAACC,IAAI,CAACC,UAAU;EAC3CzD,WAAW,EAAEuD,qBAAS,CAACG,KAAK,CAACD,UAAU;EACvCxD,MAAM,EAAEsD,qBAAS,CAACI,MAAM,CAACF,UAAU;EACnCvD,YAAY,EAAEqD,qBAAS,CAACI,MAAM,CAACF,UAAU;EACzCtD,WAAW,EAAEoD,qBAAS,CAACG,KAAK;EAC5BtD,SAAS,EAAEmD,qBAAS,CAACI,MAAM;EAC3BtD,kBAAkB,EAAEkD,qBAAS,CAACK,MAAM,CAACH;AACvC,CAAC;AAED5D,YAAY,CAACgE,YAAY,GAAG;EAC1B1D,WAAW,EAAE,IAAI;EACjBC,SAAS,EAAE;AACb,CAAC;AAAC,IAAA0D,QAAA,GAAAC,OAAA,cAEalE,YAAY"}
@@ -1,20 +1,20 @@
1
1
  "use strict";
2
2
 
3
3
  require("core-js/modules/es.array.iterator.js");
4
- require("core-js/modules/es.object.define-property.js");
5
- require("core-js/modules/es.object.get-own-property-descriptor.js");
6
4
  require("core-js/modules/es.object.to-string.js");
7
5
  require("core-js/modules/es.string.iterator.js");
8
6
  require("core-js/modules/es.weak-map.js");
9
7
  require("core-js/modules/web.dom-collections.iterator.js");
8
+ require("core-js/modules/es.object.define-property.js");
9
+ require("core-js/modules/es.object.get-own-property-descriptor.js");
10
10
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
11
11
  var _typeof = require("@babel/runtime/helpers/typeof");
12
12
  Object.defineProperty(exports, "__esModule", {
13
13
  value: true
14
14
  });
15
15
  exports["default"] = void 0;
16
- require("core-js/modules/es.array.concat.js");
17
16
  require("core-js/modules/es.array.map.js");
17
+ require("core-js/modules/es.array.concat.js");
18
18
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
19
19
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
20
20
  var _react = _interopRequireWildcard(require("react"));
@@ -1 +1 @@
1
- {"version":3,"file":"Banner.js","names":["_react","_interopRequireWildcard","require","_nextjsComponents","_coreAuthUi","_propTypes","_interopRequireDefault","_lodash","_client","_router","_helpers","_query","_BannerRender","_buildPropsQuery","_utils","_getEntityRenderProps2","_excluded","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","Banner","_ref","type","otherProps","_objectWithoutProperties2","router","useRouter","_useContext","useContext","MainContext","isPreview","_checkIfLoggedIn","checkIfLoggedIn","userId","id","asPath","parent","entity","sizeId","_otherProps$propsToDi","propsToDisplay","_otherProps$userProps","userPropsToDisplay","userQuery","buildUserQuery","itemEntity","_useQuery","useQuery","getSingleEntitySchema","variables","data","error","loading","_useQuery2","getUser","skip","length","_useQuery2$data","_useQuery2$data2","userData","userLoading","message","modifiers","getClassModifiers","queryProps","buildPropsQuery","flatten","map","_ref2","propertiesToDisplay","userPropsData","buildPropsData","_getEntityRenderProps","getEntityRenderProps","actionKey","action","bannerKey","concat","createElement","_extends2","key","propTypes","PropTypes","string","defaultProps","_default","exports"],"sources":["../../../src/components/Banner/Banner.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport { MainContext } from '@blaze-cms/nextjs-components';\nimport { checkIfLoggedIn } from '@blaze-cms/core-auth-ui';\nimport PropTypes from 'prop-types';\nimport flatten from 'lodash.flatten';\nimport { useQuery } from '@apollo/client';\nimport { useRouter } from 'next/router';\nimport { buildUserQuery, buildPropsData } from './helpers';\nimport { getSingleEntitySchema, getUser } from '../../application/query';\nimport BannerRender from './BannerRender';\nimport buildPropsQuery from '../../helpers/build-props-query';\nimport { getClassModifiers } from '../../utils';\nimport getEntityRenderProps from '../../helpers/get-entity-render-props';\n\nconst Banner = ({ type, ...otherProps }) => {\n const router = useRouter();\n const { isPreview } = useContext(MainContext);\n const { id: userId } = checkIfLoggedIn();\n const { asPath } = router;\n const { parent, entity, sizeId, propsToDisplay = [], userPropsToDisplay = [] } = otherProps;\n const userQuery = buildUserQuery(userPropsToDisplay);\n const { itemEntity } = parent;\n const { data, error, loading } = useQuery(getSingleEntitySchema, {\n variables: { id: entity || itemEntity }\n });\n const { data: { getUser: userData } = {}, loading: userLoading } = useQuery(getUser(userQuery), {\n variables: { id: userId },\n skip: !userPropsToDisplay.length || !userId\n });\n\n if (loading || userLoading) return '';\n if (error) return error.message;\n if (!data) return null;\n if (!sizeId) return null;\n\n const modifiers = getClassModifiers('banner', otherProps);\n const queryProps = buildPropsQuery(\n data,\n propsToDisplay.length\n ? flatten(propsToDisplay.map(({ propertiesToDisplay }) => propertiesToDisplay))\n : []\n );\n\n const userPropsData = buildPropsData(userData, userPropsToDisplay);\n const { actionKey, action } = getEntityRenderProps(queryProps, data, isPreview);\n const bannerKey = `${sizeId}${asPath}`;\n\n return (\n <BannerRender\n key={bannerKey}\n {...otherProps}\n action={action}\n actionKey={actionKey}\n asPath={asPath}\n userPropsData={userPropsData}\n modifiers={modifiers}\n />\n );\n};\n\nBanner.propTypes = {\n type: PropTypes.string\n};\n\nBanner.defaultProps = {\n type: 'banner'\n};\n\nexport default Banner;\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,UAAA,GAAAC,sBAAA,CAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAD,sBAAA,CAAAJ,OAAA;AACA,IAAAM,OAAA,GAAAN,OAAA;AACA,IAAAO,OAAA,GAAAP,OAAA;AACA,IAAAQ,QAAA,GAAAR,OAAA;AACA,IAAAS,MAAA,GAAAT,OAAA;AACA,IAAAU,aAAA,GAAAN,sBAAA,CAAAJ,OAAA;AACA,IAAAW,gBAAA,GAAAP,sBAAA,CAAAJ,OAAA;AACA,IAAAY,M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,GACXrD,UAAU;IACdoD,MAAM,EAAEA,MAAO;IACfD,SAAS,EAAEA,SAAU;IACrBvC,MAAM,EAAEA,MAAO;IACfmC,aAAa,EAAEA,aAAc;IAC7BR,SAAS,EAAEA;EAAU,EACtB,CAAC;AAEN,CAAC;AAED1C,MAAM,CAAC6D,SAAS,GAAG;EACjB3D,IAAI,EAAE4D,qBAAS,CAACC;AAClB,CAAC;AAED/D,MAAM,CAACgE,YAAY,GAAG;EACpB9D,IAAI,EAAE;AACR,CAAC;AAAC,IAAA+D,QAAA,GAAAC,OAAA,cAEalE,MAAM","ignoreList":[]}
1
+ {"version":3,"file":"Banner.js","names":["_react","_interopRequireWildcard","require","_nextjsComponents","_coreAuthUi","_propTypes","_interopRequireDefault","_lodash","_client","_router","_helpers","_query","_BannerRender","_buildPropsQuery","_utils","_getEntityRenderProps2","_excluded","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","Banner","_ref","type","otherProps","_objectWithoutProperties2","router","useRouter","_useContext","useContext","MainContext","isPreview","_checkIfLoggedIn","checkIfLoggedIn","userId","id","asPath","parent","entity","sizeId","_otherProps$propsToDi","propsToDisplay","_otherProps$userProps","userPropsToDisplay","userQuery","buildUserQuery","itemEntity","_useQuery","useQuery","getSingleEntitySchema","variables","data","error","loading","_useQuery2","getUser","skip","length","_useQuery2$data","_useQuery2$data2","userData","userLoading","message","modifiers","getClassModifiers","queryProps","buildPropsQuery","flatten","map","_ref2","propertiesToDisplay","userPropsData","buildPropsData","_getEntityRenderProps","getEntityRenderProps","actionKey","action","bannerKey","concat","createElement","_extends2","key","propTypes","PropTypes","string","defaultProps","_default","exports"],"sources":["../../../src/components/Banner/Banner.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport { MainContext } from '@blaze-cms/nextjs-components';\nimport { checkIfLoggedIn } from '@blaze-cms/core-auth-ui';\nimport PropTypes from 'prop-types';\nimport flatten from 'lodash.flatten';\nimport { useQuery } from '@apollo/client';\nimport { useRouter } from 'next/router';\nimport { buildUserQuery, buildPropsData } from './helpers';\nimport { getSingleEntitySchema, getUser } from '../../application/query';\nimport BannerRender from './BannerRender';\nimport buildPropsQuery from '../../helpers/build-props-query';\nimport { getClassModifiers } from '../../utils';\nimport getEntityRenderProps from '../../helpers/get-entity-render-props';\n\nconst Banner = ({ type, ...otherProps }) => {\n const router = useRouter();\n const { isPreview } = useContext(MainContext);\n const { id: userId } = checkIfLoggedIn();\n const { asPath } = router;\n const { parent, entity, sizeId, propsToDisplay = [], userPropsToDisplay = [] } = otherProps;\n const userQuery = buildUserQuery(userPropsToDisplay);\n const { itemEntity } = parent;\n const { data, error, loading } = useQuery(getSingleEntitySchema, {\n variables: { id: entity || itemEntity }\n });\n const { data: { getUser: userData } = {}, loading: userLoading } = useQuery(getUser(userQuery), {\n variables: { id: userId },\n skip: !userPropsToDisplay.length || !userId\n });\n\n if (loading || userLoading) return '';\n if (error) return error.message;\n if (!data) return null;\n if (!sizeId) return null;\n\n const modifiers = getClassModifiers('banner', otherProps);\n const queryProps = buildPropsQuery(\n data,\n propsToDisplay.length\n ? flatten(propsToDisplay.map(({ propertiesToDisplay }) => propertiesToDisplay))\n : []\n );\n\n const userPropsData = buildPropsData(userData, userPropsToDisplay);\n const { actionKey, action } = getEntityRenderProps(queryProps, data, isPreview);\n const bannerKey = `${sizeId}${asPath}`;\n\n return (\n <BannerRender\n key={bannerKey}\n {...otherProps}\n action={action}\n actionKey={actionKey}\n asPath={asPath}\n userPropsData={userPropsData}\n modifiers={modifiers}\n />\n );\n};\n\nBanner.propTypes = {\n type: PropTypes.string\n};\n\nBanner.defaultProps = {\n type: 'banner'\n};\n\nexport default Banner;\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA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AA,GAA8B,IAAAC,iCAAoB,EAACT,UAAU,EAAEd,IAAI,EAAEpB,SAAS,CAAC;IAAvE4C,SAAS,GAAAF,qBAAA,CAATE,SAAS;IAAEC,MAAM,GAAAH,qBAAA,CAANG,MAAM;EACzB,IAAMC,SAAS,MAAAC,MAAA,CAAMvC,MAAM,EAAAuC,MAAA,CAAG1C,MAAM,CAAE;EAEtC,oBACErD,MAAA,YAAAgG,aAAA,CAACpF,aAAA,WAAY,MAAAqF,SAAA;IACXC,GAAG,EAAEJ;EAAU,GACXrD,UAAU;IACdoD,MAAM,EAAEA,MAAO;IACfD,SAAS,EAAEA,SAAU;IACrBvC,MAAM,EAAEA,MAAO;IACfmC,aAAa,EAAEA,aAAc;IAC7BR,SAAS,EAAEA;EAAU,EACtB,CAAC;AAEN,CAAC;AAED1C,MAAM,CAAC6D,SAAS,GAAG;EACjB3D,IAAI,EAAE4D,qBAAS,CAACC;AAClB,CAAC;AAED/D,MAAM,CAACgE,YAAY,GAAG;EACpB9D,IAAI,EAAE;AACR,CAAC;AAAC,IAAA+D,QAAA,GAAAC,OAAA,cAEalE,MAAM"}
@@ -2,13 +2,13 @@
2
2
 
3
3
  require("core-js/modules/es.symbol.js");
4
4
  require("core-js/modules/es.array.filter.js");
5
+ require("core-js/modules/es.object.to-string.js");
6
+ require("core-js/modules/es.object.get-own-property-descriptor.js");
5
7
  require("core-js/modules/es.array.for-each.js");
8
+ require("core-js/modules/web.dom-collections.for-each.js");
9
+ require("core-js/modules/es.object.get-own-property-descriptors.js");
6
10
  require("core-js/modules/es.object.define-properties.js");
7
11
  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.to-string.js");
11
- require("core-js/modules/web.dom-collections.for-each.js");
12
12
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
13
13
  Object.defineProperty(exports, "__esModule", {
14
14
  value: true
@@ -1 +1 @@
1
- {"version":3,"file":"BannerRender.js","names":["_react","_interopRequireDefault","require","_propTypes","_client","_query","_helpers","_constants","_HOC","_AdSlotRender","_excluded","ownKeys","e","r","t","Object","keys","getOwnPropertySymbols","o","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty2","getOwnPropertyDescriptors","defineProperties","defineProperty","BannerRender","_ref","baseAdunit","adunit","sizeId","sizes","propsToDisplay","entity","targetings","parent","asPath","action","actionKey","renderCounter","userPropsData","modifiers","otherProps","_objectWithoutProperties2","id","itemId","_useQuery","useQuery","variables","where","skip","_useQuery$data","data","entityRecordData","_useQuery2","generateSingleItemQuery","GET_BANNER","BANNER_QUERY_PROPS","_useQuery2$data","bannerData","_useQuery3","getCount","COUNT_CONTENT_HIERARCHIES","parentId","childEntity","_ilike","concat","PUBLISHED","_useQuery3$data","parsedTargetings","buildContextualTargeting","entityData","_ref2","bannerSizes","sizeMapping","buildSizeMapping","parsedSizes","buildBannerSizes","countContentHierarchies","parsedAdunit","buildParsedAdunit","isContextualTargetingSet","isContextualTargetingReady","shouldShowBanner","customTargetings","setCustomTargetings","targetingArguments","createElement","propTypes","PropTypes","object","isRequired","string","array","number","defaultProps","_default","exports","withTitle"],"sources":["../../../src/components/Banner/BannerRender.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { useQuery } from '@apollo/client';\n\nimport { generateSingleItemQuery, getCount } from '../../application/query';\nimport {\n buildBannerSizes,\n buildContextualTargeting,\n buildParsedAdunit,\n buildSizeMapping,\n setCustomTargetings\n} from './helpers';\nimport {\n BANNER_QUERY_PROPS,\n COUNT_CONTENT_HIERARCHIES,\n GET_BANNER,\n PUBLISHED\n} from '../../constants';\nimport { withTitle } from '../../HOC';\nimport AdSlotRender from './AdSlotRender';\n\nconst BannerRender = ({\n baseAdunit,\n adunit,\n sizeId,\n sizes,\n propsToDisplay,\n entity,\n targetings,\n parent,\n asPath,\n action,\n actionKey,\n renderCounter,\n userPropsData,\n modifiers,\n ...otherProps\n}) => {\n const { id } = otherProps;\n const { itemId } = parent;\n\n const { data: entityRecordData = {} } = useQuery(action, {\n variables: { where: { id: id || itemId } },\n skip: id && id !== itemId\n });\n\n const { data: bannerData = {} } = useQuery(\n generateSingleItemQuery(GET_BANNER, BANNER_QUERY_PROPS),\n {\n variables: { id: sizeId },\n skip: !sizeId\n }\n );\n\n const { data = {} } = useQuery(getCount(COUNT_CONTENT_HIERARCHIES), {\n variables: {\n where: {\n parentId: id || itemId,\n childEntity: {\n _ilike: `${PUBLISHED}_%`\n }\n }\n }\n });\n\n const parsedTargetings = buildContextualTargeting(actionKey, entityRecordData, propsToDisplay);\n const { entityData } = bannerData;\n const { sizes: bannerSizes } = entityData || {};\n\n const sizeMapping = buildSizeMapping(sizeId, bannerSizes);\n const parsedSizes = buildBannerSizes(sizeId, bannerSizes, sizes);\n\n const { countContentHierarchies } = data;\n\n const parsedAdunit = buildParsedAdunit(asPath, countContentHierarchies, baseAdunit, adunit);\n const isContextualTargetingSet =\n propsToDisplay.length && parsedTargetings && Object.keys(parsedTargetings).length;\n const isContextualTargetingReady = isContextualTargetingSet || !propsToDisplay.length;\n const shouldShowBanner =\n parsedAdunit && parsedSizes && !!parsedSizes.length && isContextualTargetingReady;\n\n const customTargetings = setCustomTargetings(targetings, renderCounter);\n\n const targetingArguments = { ...parsedTargetings, ...customTargetings, ...userPropsData };\n\n return (\n <AdSlotRender\n shouldShowBanner={!!shouldShowBanner}\n sizeMapping={sizeMapping}\n sizeId={sizeId}\n parsedAdunit={parsedAdunit}\n parsedSizes={parsedSizes}\n modifiers={modifiers}\n targetingArguments={targetingArguments}\n />\n );\n};\n\nBannerRender.propTypes = {\n parent: PropTypes.object.isRequired,\n asPath: PropTypes.string.isRequired,\n action: PropTypes.object.isRequired,\n actionKey: PropTypes.string.isRequired,\n adunit: PropTypes.string,\n baseAdunit: PropTypes.string,\n sizeId: PropTypes.string,\n propsToDisplay: PropTypes.array,\n entity: PropTypes.string,\n targetings: PropTypes.string,\n sizes: PropTypes.string,\n renderCounter: PropTypes.number,\n modifiers: PropTypes.string,\n userPropsData: PropTypes.object\n};\n\nBannerRender.defaultProps = {\n adunit: '',\n baseAdunit: '',\n sizeId: '',\n propsToDisplay: [],\n entity: '',\n targetings: '',\n sizes: '',\n renderCounter: null,\n modifiers: '',\n userPropsData: {}\n};\n\nexport default withTitle(BannerRender);\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AAEA,IAAAE,OAAA,GAAAF,OAAA;AAEA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AAOA,IAAAK,UAAA,GAAAL,OAAA;AAMA,IAAAM,IAAA,GAAAN,OAAA;AACA,IAAAO,aAAA,GAAAR,sBAAA,CAAAC,OAAA;AAA0C,IAAAQ,SAAA;AAAA,SAAAC,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,IAAA,CAAAC,KAAA,CAAAT,CAAA,EAAAI,CAAA,YAAAJ,CAAA;AAAA,SAAAU,cAAAZ,CAAA,aAAAC,CAAA,MAAAA,CAAA,GAAAY,SAAA,CAAAC,MAAA,EAAAb,CAAA,UAAAC,CAAA,WAAAW,SAAA,CAAAZ,CAAA,IAAAY,SAAA,CAAAZ,CAAA,QAAAA,CAAA,OAAAF,OAAA,CAAAI,MAAA,CAAAD,CAAA,OAA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qBAAS,CAACG,MAAM,CAACD,UAAU;EACtC9D,MAAM,EAAE4D,qBAAS,CAACG,MAAM;EACxBhE,UAAU,EAAE6D,qBAAS,CAACG,MAAM;EAC5B9D,MAAM,EAAE2D,qBAAS,CAACG,MAAM;EACxB5D,cAAc,EAAEyD,qBAAS,CAACI,KAAK;EAC/B5D,MAAM,EAAEwD,qBAAS,CAACG,MAAM;EACxB1D,UAAU,EAAEuD,qBAAS,CAACG,MAAM;EAC5B7D,KAAK,EAAE0D,qBAAS,CAACG,MAAM;EACvBrD,aAAa,EAAEkD,qBAAS,CAACK,MAAM;EAC/BrD,SAAS,EAAEgD,qBAAS,CAACG,MAAM;EAC3BpD,aAAa,EAAEiD,qBAAS,CAACC;AAC3B,CAAC;AAEDhE,YAAY,CAACqE,YAAY,GAAG;EAC1BlE,MAAM,EAAE,EAAE;EACVD,UAAU,EAAE,EAAE;EACdE,MAAM,EAAE,EAAE;EACVE,cAAc,EAAE,EAAE;EAClBC,MAAM,EAAE,EAAE;EACVC,UAAU,EAAE,EAAE;EACdH,KAAK,EAAE,EAAE;EACTQ,aAAa,EAAE,IAAI;EACnBE,SAAS,EAAE,EAAE;EACbD,aAAa,EAAE,CAAC;AAClB,CAAC;AAAC,IAAAwD,QAAA,GAAAC,OAAA,cAEa,IAAAC,cAAS,EAACxE,YAAY,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"BannerRender.js","names":["_react","_interopRequireDefault","require","_propTypes","_client","_query","_helpers","_constants","_HOC","_AdSlotRender","_excluded","ownKeys","e","r","t","Object","keys","getOwnPropertySymbols","o","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty2","getOwnPropertyDescriptors","defineProperties","defineProperty","BannerRender","_ref","baseAdunit","adunit","sizeId","sizes","propsToDisplay","entity","targetings","parent","asPath","action","actionKey","renderCounter","userPropsData","modifiers","otherProps","_objectWithoutProperties2","id","itemId","_useQuery","useQuery","variables","where","skip","_useQuery$data","data","entityRecordData","_useQuery2","generateSingleItemQuery","GET_BANNER","BANNER_QUERY_PROPS","_useQuery2$data","bannerData","_useQuery3","getCount","COUNT_CONTENT_HIERARCHIES","parentId","childEntity","_ilike","concat","PUBLISHED","_useQuery3$data","parsedTargetings","buildContextualTargeting","entityData","_ref2","bannerSizes","sizeMapping","buildSizeMapping","parsedSizes","buildBannerSizes","countContentHierarchies","parsedAdunit","buildParsedAdunit","isContextualTargetingSet","isContextualTargetingReady","shouldShowBanner","customTargetings","setCustomTargetings","targetingArguments","createElement","propTypes","PropTypes","object","isRequired","string","array","number","defaultProps","_default","exports","withTitle"],"sources":["../../../src/components/Banner/BannerRender.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { useQuery } from '@apollo/client';\n\nimport { generateSingleItemQuery, getCount } from '../../application/query';\nimport {\n buildBannerSizes,\n buildContextualTargeting,\n buildParsedAdunit,\n buildSizeMapping,\n setCustomTargetings\n} from './helpers';\nimport {\n BANNER_QUERY_PROPS,\n COUNT_CONTENT_HIERARCHIES,\n GET_BANNER,\n PUBLISHED\n} from '../../constants';\nimport { withTitle } from '../../HOC';\nimport AdSlotRender from './AdSlotRender';\n\nconst BannerRender = ({\n baseAdunit,\n adunit,\n sizeId,\n sizes,\n propsToDisplay,\n entity,\n targetings,\n parent,\n asPath,\n action,\n actionKey,\n renderCounter,\n userPropsData,\n modifiers,\n ...otherProps\n}) => {\n const { id } = otherProps;\n const { itemId } = parent;\n\n const { data: entityRecordData = {} } = useQuery(action, {\n variables: { where: { id: id || itemId } },\n skip: id && id !== itemId\n });\n\n const { data: bannerData = {} } = useQuery(\n generateSingleItemQuery(GET_BANNER, BANNER_QUERY_PROPS),\n {\n variables: { id: sizeId },\n skip: !sizeId\n }\n );\n\n const { data = {} } = useQuery(getCount(COUNT_CONTENT_HIERARCHIES), {\n variables: {\n where: {\n parentId: id || itemId,\n childEntity: {\n _ilike: `${PUBLISHED}_%`\n }\n }\n }\n });\n\n const parsedTargetings = buildContextualTargeting(actionKey, entityRecordData, propsToDisplay);\n const { entityData } = bannerData;\n const { sizes: bannerSizes } = entityData || {};\n\n const sizeMapping = buildSizeMapping(sizeId, bannerSizes);\n const parsedSizes = buildBannerSizes(sizeId, bannerSizes, sizes);\n\n const { countContentHierarchies } = data;\n\n const parsedAdunit = buildParsedAdunit(asPath, countContentHierarchies, baseAdunit, adunit);\n const isContextualTargetingSet =\n propsToDisplay.length && parsedTargetings && Object.keys(parsedTargetings).length;\n const isContextualTargetingReady = isContextualTargetingSet || !propsToDisplay.length;\n const shouldShowBanner =\n parsedAdunit && parsedSizes && !!parsedSizes.length && isContextualTargetingReady;\n\n const customTargetings = setCustomTargetings(targetings, renderCounter);\n\n const targetingArguments = { ...parsedTargetings, ...customTargetings, ...userPropsData };\n\n return (\n <AdSlotRender\n shouldShowBanner={!!shouldShowBanner}\n sizeMapping={sizeMapping}\n sizeId={sizeId}\n parsedAdunit={parsedAdunit}\n parsedSizes={parsedSizes}\n modifiers={modifiers}\n targetingArguments={targetingArguments}\n />\n );\n};\n\nBannerRender.propTypes = {\n parent: PropTypes.object.isRequired,\n asPath: PropTypes.string.isRequired,\n action: PropTypes.object.isRequired,\n actionKey: PropTypes.string.isRequired,\n adunit: PropTypes.string,\n baseAdunit: PropTypes.string,\n sizeId: PropTypes.string,\n propsToDisplay: PropTypes.array,\n entity: PropTypes.string,\n targetings: PropTypes.string,\n sizes: PropTypes.string,\n renderCounter: PropTypes.number,\n modifiers: PropTypes.string,\n userPropsData: PropTypes.object\n};\n\nBannerRender.defaultProps = {\n adunit: '',\n baseAdunit: '',\n sizeId: '',\n propsToDisplay: [],\n entity: '',\n targetings: '',\n sizes: '',\n renderCounter: null,\n modifiers: '',\n userPropsData: {}\n};\n\nexport default withTitle(BannerRender);\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AAEA,IA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AS,CAACG,MAAM;EAC3BpD,aAAa,EAAEiD,qBAAS,CAACC;AAC3B,CAAC;AAEDhE,YAAY,CAACqE,YAAY,GAAG;EAC1BlE,MAAM,EAAE,EAAE;EACVD,UAAU,EAAE,EAAE;EACdE,MAAM,EAAE,EAAE;EACVE,cAAc,EAAE,EAAE;EAClBC,MAAM,EAAE,EAAE;EACVC,UAAU,EAAE,EAAE;EACdH,KAAK,EAAE,EAAE;EACTQ,aAAa,EAAE,IAAI;EACnBE,SAAS,EAAE,EAAE;EACbD,aAAa,EAAE,CAAC;AAClB,CAAC;AAAC,IAAAwD,QAAA,GAAAC,OAAA,cAEa,IAAAC,cAAS,EAACxE,YAAY,CAAC"}
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
 
3
3
  require("core-js/modules/es.symbol.js");
4
- require("core-js/modules/es.object.define-properties.js");
5
- require("core-js/modules/es.object.define-property.js");
6
4
  require("core-js/modules/es.object.get-own-property-descriptor.js");
7
5
  require("core-js/modules/es.object.get-own-property-descriptors.js");
6
+ require("core-js/modules/es.object.define-properties.js");
7
+ require("core-js/modules/es.object.define-property.js");
8
8
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
9
9
  Object.defineProperty(exports, "__esModule", {
10
10
  value: true
@@ -13,24 +13,24 @@ exports.setCustomTargetings = exports.getParsedSizes = exports.getMinBannerHeigh
13
13
  var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
14
14
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
15
15
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
16
- require("core-js/modules/es.array.concat.js");
17
- require("core-js/modules/es.array.filter.js");
18
- require("core-js/modules/es.array.for-each.js");
19
- require("core-js/modules/es.array.includes.js");
20
- require("core-js/modules/es.array.index-of.js");
21
- require("core-js/modules/es.array.is-array.js");
22
- require("core-js/modules/es.array.join.js");
16
+ require("core-js/modules/es.regexp.exec.js");
17
+ require("core-js/modules/es.string.replace.js");
23
18
  require("core-js/modules/es.array.map.js");
24
- require("core-js/modules/es.array.reduce.js");
25
- require("core-js/modules/es.array.slice.js");
26
19
  require("core-js/modules/es.number.constructor.js");
27
- require("core-js/modules/es.number.is-integer.js");
28
- require("core-js/modules/es.object.keys.js");
29
- require("core-js/modules/es.object.to-string.js");
30
- require("core-js/modules/es.regexp.exec.js");
20
+ require("core-js/modules/es.array.concat.js");
21
+ require("core-js/modules/es.array.includes.js");
31
22
  require("core-js/modules/es.string.includes.js");
32
- require("core-js/modules/es.string.replace.js");
23
+ require("core-js/modules/es.array.for-each.js");
24
+ require("core-js/modules/es.object.to-string.js");
33
25
  require("core-js/modules/web.dom-collections.for-each.js");
26
+ require("core-js/modules/es.object.keys.js");
27
+ require("core-js/modules/es.number.is-integer.js");
28
+ require("core-js/modules/es.array.filter.js");
29
+ require("core-js/modules/es.array.join.js");
30
+ require("core-js/modules/es.array.slice.js");
31
+ require("core-js/modules/es.array.reduce.js");
32
+ require("core-js/modules/es.array.is-array.js");
33
+ require("core-js/modules/es.array.index-of.js");
34
34
  var _queryString = require("query-string");
35
35
  var _constants = require("../../constants");
36
36
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }