@blaze-cms/react-page-builder 0.146.0-node18.1 → 0.146.0-rc-eagle-3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1498) hide show
  1. package/CHANGELOG.md +51 -12
  2. package/README.md +1 -1
  3. package/lib/BannerContext/helpers/index.js +2 -3
  4. package/lib/BannerContext/helpers/index.js.map +1 -1
  5. package/lib/BannerContext/helpers/set-initial-banner-counters.js +13 -17
  6. package/lib/BannerContext/helpers/set-initial-banner-counters.js.map +1 -1
  7. package/lib/BannerContext/index.js +20 -26
  8. package/lib/BannerContext/index.js.map +1 -1
  9. package/lib/HOC/index.js +2 -3
  10. package/lib/HOC/index.js.map +1 -1
  11. package/lib/HOC/recreateOnNavigation.js +11 -12
  12. package/lib/HOC/recreateOnNavigation.js.map +1 -1
  13. package/lib/HOC/withInfiniteScroll.js +48 -81
  14. package/lib/HOC/withInfiniteScroll.js.map +1 -1
  15. package/lib/HOC/withTitle.js +22 -30
  16. package/lib/HOC/withTitle.js.map +1 -1
  17. package/lib/PBContext/index.js +3 -4
  18. package/lib/PBContext/index.js.map +1 -1
  19. package/lib/application/query/index.js +180 -45
  20. package/lib/application/query/index.js.map +1 -1
  21. package/lib/components/BackToTop/BackToTop.js +17 -32
  22. package/lib/components/BackToTop/BackToTop.js.map +1 -1
  23. package/lib/components/BackToTop/index.js +2 -3
  24. package/lib/components/BackToTop/index.js.map +1 -1
  25. package/lib/components/Banner/AdSlotRender.js +46 -63
  26. package/lib/components/Banner/AdSlotRender.js.map +1 -1
  27. package/lib/components/Banner/Banner.js +64 -64
  28. package/lib/components/Banner/Banner.js.map +1 -1
  29. package/lib/components/Banner/BannerRender.js +89 -88
  30. package/lib/components/Banner/BannerRender.js.map +1 -1
  31. package/lib/components/Banner/helpers.js +90 -136
  32. package/lib/components/Banner/helpers.js.map +1 -1
  33. package/lib/components/Banner/index.js +4 -17
  34. package/lib/components/Banner/index.js.map +1 -1
  35. package/lib/components/BlazeLink.js +38 -52
  36. package/lib/components/BlazeLink.js.map +1 -1
  37. package/lib/components/Breadcrumb/Breadcrumb.js +67 -71
  38. package/lib/components/Breadcrumb/Breadcrumb.js.map +1 -1
  39. package/lib/components/Breadcrumb/index.js +2 -3
  40. package/lib/components/Breadcrumb/index.js.map +1 -1
  41. package/lib/components/Button.js +73 -88
  42. package/lib/components/Button.js.map +1 -1
  43. package/lib/components/Card/Card.js +189 -189
  44. package/lib/components/Card/Card.js.map +1 -1
  45. package/lib/components/Card/CardsContainer.js +109 -120
  46. package/lib/components/Card/CardsContainer.js.map +1 -1
  47. package/lib/components/Card/CardsFactory.js +62 -58
  48. package/lib/components/Card/CardsFactory.js.map +1 -1
  49. package/lib/components/Card/CardsRender.js +167 -185
  50. package/lib/components/Card/CardsRender.js.map +1 -1
  51. package/lib/components/Card/constants.js +2 -3
  52. package/lib/components/Card/constants.js.map +1 -1
  53. package/lib/components/Card/helpers/get-dynamic-grid-classes.js +16 -22
  54. package/lib/components/Card/helpers/get-dynamic-grid-classes.js.map +1 -1
  55. package/lib/components/Card/helpers/get-published-listing-url.js +3 -6
  56. package/lib/components/Card/helpers/get-published-listing-url.js.map +1 -1
  57. package/lib/components/Card/helpers/index.js +18 -19
  58. package/lib/components/Card/helpers/index.js.map +1 -1
  59. package/lib/components/Card/helpers/use-dynamic-size-key.js +5 -11
  60. package/lib/components/Card/helpers/use-dynamic-size-key.js.map +1 -1
  61. package/lib/components/Card/index.js +2 -3
  62. package/lib/components/Card/index.js.map +1 -1
  63. package/lib/components/Carousel/Carousel.js +60 -26
  64. package/lib/components/Carousel/Carousel.js.map +1 -1
  65. package/lib/components/Carousel/CarouselImage/CarouselImage.js +36 -34
  66. package/lib/components/Carousel/CarouselImage/CarouselImage.js.map +1 -1
  67. package/lib/components/Carousel/CarouselImage/constants.js +1 -2
  68. package/lib/components/Carousel/CarouselImage/constants.js.map +1 -1
  69. package/lib/components/Carousel/CarouselImage/index.js +2 -3
  70. package/lib/components/Carousel/CarouselImage/index.js.map +1 -1
  71. package/lib/components/Carousel/CarouselRender/CarouselRender.js +41 -48
  72. package/lib/components/Carousel/CarouselRender/CarouselRender.js.map +1 -1
  73. package/lib/components/Carousel/CarouselRender/index.js +2 -3
  74. package/lib/components/Carousel/CarouselRender/index.js.map +1 -1
  75. package/lib/components/Carousel/hooks/useCarouselNavigation.js +25 -26
  76. package/lib/components/Carousel/hooks/useCarouselNavigation.js.map +1 -1
  77. package/lib/components/Carousel/index.js +2 -3
  78. package/lib/components/Carousel/index.js.map +1 -1
  79. package/lib/components/CarouselWrapper/CarouselWrapper.js +11 -10
  80. package/lib/components/CarouselWrapper/CarouselWrapper.js.map +1 -1
  81. package/lib/components/CarouselWrapper/DefaultCarousel.js +73 -80
  82. package/lib/components/CarouselWrapper/DefaultCarousel.js.map +1 -1
  83. package/lib/components/CarouselWrapper/SmoothScrollCarousel.js +23 -23
  84. package/lib/components/CarouselWrapper/SmoothScrollCarousel.js.map +1 -1
  85. package/lib/components/CarouselWrapper/index.js +2 -3
  86. package/lib/components/CarouselWrapper/index.js.map +1 -1
  87. package/lib/components/ClickWrapper.js +21 -38
  88. package/lib/components/ClickWrapper.js.map +1 -1
  89. package/lib/components/Code/Code.js +21 -34
  90. package/lib/components/Code/Code.js.map +1 -1
  91. package/lib/components/Code/ScriptTag.js +16 -29
  92. package/lib/components/Code/ScriptTag.js.map +1 -1
  93. package/lib/components/Code/helpers/index.js +2 -3
  94. package/lib/components/Code/helpers/index.js.map +1 -1
  95. package/lib/components/Code/helpers/wrap-script-tags.js +12 -15
  96. package/lib/components/Code/helpers/wrap-script-tags.js.map +1 -1
  97. package/lib/components/Code/index.js +2 -3
  98. package/lib/components/Code/index.js.map +1 -1
  99. package/lib/components/ContentGroup/ContentGroup.js +85 -18
  100. package/lib/components/ContentGroup/ContentGroup.js.map +1 -1
  101. package/lib/components/ContentGroup/ContentGroupAccordion.js +147 -0
  102. package/lib/components/ContentGroup/ContentGroupAccordion.js.map +1 -0
  103. package/lib/components/ContentGroup/ContentGroupDataFetcher.js +97 -0
  104. package/lib/components/ContentGroup/ContentGroupDataFetcher.js.map +1 -0
  105. package/lib/components/ContentGroup/ContentGroupTabs.js +49 -63
  106. package/lib/components/ContentGroup/ContentGroupTabs.js.map +1 -1
  107. package/lib/components/ContentGroup/constants.js +17 -7
  108. package/lib/components/ContentGroup/constants.js.map +1 -1
  109. package/lib/components/ContentGroup/helpers/build-data-sections.js +47 -0
  110. package/lib/components/ContentGroup/helpers/build-data-sections.js.map +1 -0
  111. package/lib/components/ContentGroup/helpers/get-active-tab.js +7 -13
  112. package/lib/components/ContentGroup/helpers/get-active-tab.js.map +1 -1
  113. package/lib/components/ContentGroup/helpers/get-sections-data.js +15 -19
  114. package/lib/components/ContentGroup/helpers/get-sections-data.js.map +1 -1
  115. package/lib/components/ContentGroup/helpers/get-structured-data-properties.js +39 -0
  116. package/lib/components/ContentGroup/helpers/get-structured-data-properties.js.map +1 -0
  117. package/lib/components/ContentGroup/helpers/index.js +11 -5
  118. package/lib/components/ContentGroup/helpers/index.js.map +1 -1
  119. package/lib/components/ContentGroup/index.js +2 -3
  120. package/lib/components/ContentGroup/index.js.map +1 -1
  121. package/lib/components/ContentGroupSection/ContentGroupSection.js +11 -11
  122. package/lib/components/ContentGroupSection/ContentGroupSection.js.map +1 -1
  123. package/lib/components/ContentGroupSection/index.js +2 -3
  124. package/lib/components/ContentGroupSection/index.js.map +1 -1
  125. package/lib/components/DataSummary/DataSummaryFactory.js +53 -57
  126. package/lib/components/DataSummary/DataSummaryFactory.js.map +1 -1
  127. package/lib/components/DataSummary/DataSummaryRender.js +56 -56
  128. package/lib/components/DataSummary/DataSummaryRender.js.map +1 -1
  129. package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummary.js +14 -16
  130. package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummary.js.map +1 -1
  131. package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummaryContent.js +15 -27
  132. package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummaryContent.js.map +1 -1
  133. package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/index.js +2 -3
  134. package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/index.js.map +1 -1
  135. package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummary.js +11 -10
  136. package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummary.js.map +1 -1
  137. package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummaryContent.js +16 -30
  138. package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummaryContent.js.map +1 -1
  139. package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/index.js +2 -3
  140. package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/index.js.map +1 -1
  141. package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummary.js +11 -10
  142. package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummary.js.map +1 -1
  143. package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummaryContent.js +21 -35
  144. package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummaryContent.js.map +1 -1
  145. package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/index.js +2 -3
  146. package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/index.js.map +1 -1
  147. package/lib/components/DataSummary/DataSummaryTypes/ListSummary/ListSummary.js +11 -10
  148. package/lib/components/DataSummary/DataSummaryTypes/ListSummary/ListSummary.js.map +1 -1
  149. package/lib/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.js +21 -35
  150. package/lib/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.js.map +1 -1
  151. package/lib/components/DataSummary/DataSummaryTypes/ListSummary/index.js +2 -3
  152. package/lib/components/DataSummary/DataSummaryTypes/ListSummary/index.js.map +1 -1
  153. package/lib/components/DataSummary/DataSummaryTypes/TextSummary/TextSummary.js +11 -10
  154. package/lib/components/DataSummary/DataSummaryTypes/TextSummary/TextSummary.js.map +1 -1
  155. package/lib/components/DataSummary/DataSummaryTypes/TextSummary/TextSummaryContent.js +16 -30
  156. package/lib/components/DataSummary/DataSummaryTypes/TextSummary/TextSummaryContent.js.map +1 -1
  157. package/lib/components/DataSummary/DataSummaryTypes/TextSummary/index.js +2 -3
  158. package/lib/components/DataSummary/DataSummaryTypes/TextSummary/index.js.map +1 -1
  159. package/lib/components/DataSummary/DataSummaryTypes/index.js +8 -37
  160. package/lib/components/DataSummary/DataSummaryTypes/index.js.map +1 -1
  161. package/lib/components/DataSummary/helpers/build-loop-props-content.js +36 -52
  162. package/lib/components/DataSummary/helpers/build-loop-props-content.js.map +1 -1
  163. package/lib/components/DataSummary/helpers/build-props-to-display-with-content.js +22 -27
  164. package/lib/components/DataSummary/helpers/build-props-to-display-with-content.js.map +1 -1
  165. package/lib/components/DataSummary/helpers/get-data-summary-query.js +13 -10
  166. package/lib/components/DataSummary/helpers/get-data-summary-query.js.map +1 -1
  167. package/lib/components/DataSummary/helpers/get-link-based-on-value.js +4 -6
  168. package/lib/components/DataSummary/helpers/get-link-based-on-value.js.map +1 -1
  169. package/lib/components/DataSummary/helpers/get-link-props.js +6 -16
  170. package/lib/components/DataSummary/helpers/get-link-props.js.map +1 -1
  171. package/lib/components/DataSummary/helpers/get-link-to-published-content.js +5 -14
  172. package/lib/components/DataSummary/helpers/get-link-to-published-content.js.map +1 -1
  173. package/lib/components/DataSummary/helpers/get-loop-props-limit.js +6 -12
  174. package/lib/components/DataSummary/helpers/get-loop-props-limit.js.map +1 -1
  175. package/lib/components/DataSummary/helpers/get-prop-value.js +15 -25
  176. package/lib/components/DataSummary/helpers/get-prop-value.js.map +1 -1
  177. package/lib/components/DataSummary/helpers/get-record-id.js +20 -0
  178. package/lib/components/DataSummary/helpers/get-record-id.js.map +1 -0
  179. package/lib/components/DataSummary/helpers/get-value-from-array.js +12 -17
  180. package/lib/components/DataSummary/helpers/get-value-from-array.js.map +1 -1
  181. package/lib/components/DataSummary/helpers/index.js +23 -17
  182. package/lib/components/DataSummary/helpers/index.js.map +1 -1
  183. package/lib/components/DataSummary/helpers/parse-boolean-values.js +3 -4
  184. package/lib/components/DataSummary/helpers/parse-boolean-values.js.map +1 -1
  185. package/lib/components/DataSummary/helpers/strip-summary-props-content.js +6 -13
  186. package/lib/components/DataSummary/helpers/strip-summary-props-content.js.map +1 -1
  187. package/lib/components/DataSummary/index.js +2 -3
  188. package/lib/components/DataSummary/index.js.map +1 -1
  189. package/lib/components/DateTime/DateTime.js +22 -16
  190. package/lib/components/DateTime/DateTime.js.map +1 -1
  191. package/lib/components/DateTime/index.js +2 -3
  192. package/lib/components/DateTime/index.js.map +1 -1
  193. package/lib/components/EmailConfirm/EmailConfirm.js +48 -54
  194. package/lib/components/EmailConfirm/EmailConfirm.js.map +1 -1
  195. package/lib/components/EmailConfirm/index.js +2 -3
  196. package/lib/components/EmailConfirm/index.js.map +1 -1
  197. package/lib/components/EmailConfirm/mutation.js +12 -7
  198. package/lib/components/EmailConfirm/mutation.js.map +1 -1
  199. package/lib/components/ErrorMessage/ErrorMessage.js +37 -0
  200. package/lib/components/ErrorMessage/ErrorMessage.js.map +1 -0
  201. package/lib/components/ErrorMessage/index.js +12 -0
  202. package/lib/components/ErrorMessage/index.js.map +1 -0
  203. package/lib/components/Iframe/Iframe.js +32 -23
  204. package/lib/components/Iframe/Iframe.js.map +1 -1
  205. package/lib/components/Iframe/constants.js +2 -3
  206. package/lib/components/Iframe/constants.js.map +1 -1
  207. package/lib/components/Iframe/index.js +2 -3
  208. package/lib/components/Iframe/index.js.map +1 -1
  209. package/lib/components/Image/GlobalLightbox/GlobalLightbox.js +86 -103
  210. package/lib/components/Image/GlobalLightbox/GlobalLightbox.js.map +1 -1
  211. package/lib/components/Image/GlobalLightbox/NavButton.js +20 -22
  212. package/lib/components/Image/GlobalLightbox/NavButton.js.map +1 -1
  213. package/lib/components/Image/GlobalLightbox/index.js +4 -17
  214. package/lib/components/Image/GlobalLightbox/index.js.map +1 -1
  215. package/lib/components/Image/Image.js +95 -116
  216. package/lib/components/Image/Image.js.map +1 -1
  217. package/lib/components/Image/ImageDetails.js +19 -21
  218. package/lib/components/Image/ImageDetails.js.map +1 -1
  219. package/lib/components/Image/ImageFactory.js +58 -63
  220. package/lib/components/Image/ImageFactory.js.map +1 -1
  221. package/lib/components/Image/ImageRender.js +44 -44
  222. package/lib/components/Image/ImageRender.js.map +1 -1
  223. package/lib/components/Image/Lightbox/Lightbox.js +30 -43
  224. package/lib/components/Image/Lightbox/Lightbox.js.map +1 -1
  225. package/lib/components/Image/Lightbox/index.js +2 -3
  226. package/lib/components/Image/Lightbox/index.js.map +1 -1
  227. package/lib/components/Image/index.js +2 -3
  228. package/lib/components/Image/index.js.map +1 -1
  229. package/lib/components/ItemList/ItemListButton/ItemListButton.js +71 -83
  230. package/lib/components/ItemList/ItemListButton/ItemListButton.js.map +1 -1
  231. package/lib/components/ItemList/ItemListButton/index.js +2 -3
  232. package/lib/components/ItemList/ItemListButton/index.js.map +1 -1
  233. package/lib/components/ItemList/ItemListCounter/ItemListCounter.js +35 -36
  234. package/lib/components/ItemList/ItemListCounter/ItemListCounter.js.map +1 -1
  235. package/lib/components/ItemList/ItemListCounter/index.js +2 -3
  236. package/lib/components/ItemList/ItemListCounter/index.js.map +1 -1
  237. package/lib/components/ItemList/ItemListNew/ItemListNew.js +36 -33
  238. package/lib/components/ItemList/ItemListNew/ItemListNew.js.map +1 -1
  239. package/lib/components/ItemList/ItemListNew/index.js +2 -3
  240. package/lib/components/ItemList/ItemListNew/index.js.map +1 -1
  241. package/lib/components/ItemList/constants.js +5 -6
  242. package/lib/components/ItemList/constants.js.map +1 -1
  243. package/lib/components/ItemList/helpers/get-item-list-data.js +3 -4
  244. package/lib/components/ItemList/helpers/get-item-list-data.js.map +1 -1
  245. package/lib/components/ItemList/helpers/get-item-list-id.js +4 -6
  246. package/lib/components/ItemList/helpers/get-item-list-id.js.map +1 -1
  247. package/lib/components/ItemList/helpers/get-item-list-ids.js +9 -13
  248. package/lib/components/ItemList/helpers/get-item-list-ids.js.map +1 -1
  249. package/lib/components/ItemList/helpers/index.js +10 -11
  250. package/lib/components/ItemList/helpers/index.js.map +1 -1
  251. package/lib/components/ItemList/helpers/set-item-list-id.js +4 -6
  252. package/lib/components/ItemList/helpers/set-item-list-id.js.map +1 -1
  253. package/lib/components/ItemList/helpers/set-param-and-redirect.js +7 -19
  254. package/lib/components/ItemList/helpers/set-param-and-redirect.js.map +1 -1
  255. package/lib/components/ItemList/hooks/index.js +2 -3
  256. package/lib/components/ItemList/hooks/index.js.map +1 -1
  257. package/lib/components/ItemList/hooks/use-item-list-id.js +12 -17
  258. package/lib/components/ItemList/hooks/use-item-list-id.js.map +1 -1
  259. package/lib/components/ItemList/icons/AddedBookmark.js +40 -0
  260. package/lib/components/ItemList/icons/AddedBookmark.js.map +1 -0
  261. package/lib/components/ItemList/icons/BaseBookmark.js +44 -0
  262. package/lib/components/ItemList/icons/BaseBookmark.js.map +1 -0
  263. package/lib/components/ItemList/icons/HoverBookmark.js +42 -0
  264. package/lib/components/ItemList/icons/HoverBookmark.js.map +1 -0
  265. package/lib/components/ItemList/icons/RemoveBookmark.js +40 -0
  266. package/lib/components/ItemList/icons/RemoveBookmark.js.map +1 -0
  267. package/lib/components/ItemList/icons/index.js +35 -0
  268. package/lib/components/ItemList/icons/index.js.map +1 -0
  269. package/lib/components/Layout/Layout.js +69 -54
  270. package/lib/components/Layout/Layout.js.map +1 -1
  271. package/lib/components/Layout/LayoutFactory.js +12 -23
  272. package/lib/components/Layout/LayoutFactory.js.map +1 -1
  273. package/lib/components/Layout/LayoutWithStickyTimer.js +19 -33
  274. package/lib/components/Layout/LayoutWithStickyTimer.js.map +1 -1
  275. package/lib/components/Layout/constants.js +3 -4
  276. package/lib/components/Layout/constants.js.map +1 -1
  277. package/lib/components/Layout/helpers/check-if-row-has-columns.js +8 -15
  278. package/lib/components/Layout/helpers/check-if-row-has-columns.js.map +1 -1
  279. package/lib/components/Layout/helpers/get-styles-to-update.js +6 -6
  280. package/lib/components/Layout/helpers/get-styles-to-update.js.map +1 -1
  281. package/lib/components/Layout/helpers/index.js +4 -5
  282. package/lib/components/Layout/helpers/index.js.map +1 -1
  283. package/lib/components/Layout/index.js +2 -3
  284. package/lib/components/Layout/index.js.map +1 -1
  285. package/lib/components/LazyImage/LazyImage.js +20 -23
  286. package/lib/components/LazyImage/LazyImage.js.map +1 -1
  287. package/lib/components/LazyImage/index.js +4 -17
  288. package/lib/components/LazyImage/index.js.map +1 -1
  289. package/lib/components/List/ListBuilder.js +130 -144
  290. package/lib/components/List/ListBuilder.js.map +1 -1
  291. package/lib/components/List/ListFactory.js +169 -180
  292. package/lib/components/List/ListFactory.js.map +1 -1
  293. package/lib/components/List/ListRender.js +88 -70
  294. package/lib/components/List/ListRender.js.map +1 -1
  295. package/lib/components/List/components/Cards/CardRenderWithInfiniteScroll.js +2 -3
  296. package/lib/components/List/components/Cards/CardRenderWithInfiniteScroll.js.map +1 -1
  297. package/lib/components/List/components/Cards/CardsRender.js +63 -75
  298. package/lib/components/List/components/Cards/CardsRender.js.map +1 -1
  299. package/lib/components/List/components/Cards/CardsRenderItem.js +69 -71
  300. package/lib/components/List/components/Cards/CardsRenderItem.js.map +1 -1
  301. package/lib/components/List/components/Cards/CardsRenderWrapper.js +30 -35
  302. package/lib/components/List/components/Cards/CardsRenderWrapper.js.map +1 -1
  303. package/lib/components/List/components/Cards/index.js +2 -3
  304. package/lib/components/List/components/Cards/index.js.map +1 -1
  305. package/lib/components/List/components/Full/FullRender.js +50 -60
  306. package/lib/components/List/components/Full/FullRender.js.map +1 -1
  307. package/lib/components/List/components/Full/FullRenderItem.js +69 -81
  308. package/lib/components/List/components/Full/FullRenderItem.js.map +1 -1
  309. package/lib/components/List/components/Full/FullRenderWithInfiniteScroll.js +2 -3
  310. package/lib/components/List/components/Full/FullRenderWithInfiniteScroll.js.map +1 -1
  311. package/lib/components/List/components/Full/index.js +2 -3
  312. package/lib/components/List/components/Full/index.js.map +1 -1
  313. package/lib/components/List/components/Header/ListHeader.js +34 -33
  314. package/lib/components/List/components/Header/ListHeader.js.map +1 -1
  315. package/lib/components/List/components/Header/index.js +2 -3
  316. package/lib/components/List/components/Header/index.js.map +1 -1
  317. package/lib/components/List/components/Pagination/Classic.js +37 -35
  318. package/lib/components/List/components/Pagination/Classic.js.map +1 -1
  319. package/lib/components/List/components/Pagination/ListPagination.js +43 -64
  320. package/lib/components/List/components/Pagination/ListPagination.js.map +1 -1
  321. package/lib/components/List/components/Pagination/LoadMore.js +20 -21
  322. package/lib/components/List/components/Pagination/LoadMore.js.map +1 -1
  323. package/lib/components/List/components/Pagination/index.js +2 -3
  324. package/lib/components/List/components/Pagination/index.js.map +1 -1
  325. package/lib/components/List/components/helpers/check-if-should-render-banner.js +26 -21
  326. package/lib/components/List/components/helpers/check-if-should-render-banner.js.map +1 -1
  327. package/lib/components/List/components/helpers/check-if-should-render-gtm.js +6 -9
  328. package/lib/components/List/components/helpers/check-if-should-render-gtm.js.map +1 -1
  329. package/lib/components/List/components/helpers/index.js +4 -5
  330. package/lib/components/List/components/helpers/index.js.map +1 -1
  331. package/lib/components/List/components/index.js +8 -9
  332. package/lib/components/List/components/index.js.map +1 -1
  333. package/lib/components/List/constants.js +7 -11
  334. package/lib/components/List/constants.js.map +1 -1
  335. package/lib/components/List/helpers/build-az-aggregations.js +22 -37
  336. package/lib/components/List/helpers/build-az-aggregations.js.map +1 -1
  337. package/lib/components/List/helpers/build-az-url.js +15 -23
  338. package/lib/components/List/helpers/build-az-url.js.map +1 -1
  339. package/lib/components/List/helpers/build-pagination-items.js +20 -20
  340. package/lib/components/List/helpers/build-pagination-items.js.map +1 -1
  341. package/lib/components/List/helpers/build-pagination-url.js +9 -18
  342. package/lib/components/List/helpers/build-pagination-url.js.map +1 -1
  343. package/lib/components/List/helpers/build-query-booster.js +32 -39
  344. package/lib/components/List/helpers/build-query-booster.js.map +1 -1
  345. package/lib/components/List/helpers/get-az-query-filter.js +4 -6
  346. package/lib/components/List/helpers/get-az-query-filter.js.map +1 -1
  347. package/lib/components/List/helpers/get-items-per-page-to-use.js +3 -4
  348. package/lib/components/List/helpers/get-items-per-page-to-use.js.map +1 -1
  349. package/lib/components/List/helpers/get-list-component.js +3 -4
  350. package/lib/components/List/helpers/get-list-component.js.map +1 -1
  351. package/lib/components/List/helpers/get-list-query.js +14 -26
  352. package/lib/components/List/helpers/get-list-query.js.map +1 -1
  353. package/lib/components/List/helpers/get-list-specific-search-filter.js +10 -12
  354. package/lib/components/List/helpers/get-list-specific-search-filter.js.map +1 -1
  355. package/lib/components/List/helpers/get-sort-props.js +16 -24
  356. package/lib/components/List/helpers/get-sort-props.js.map +1 -1
  357. package/lib/components/List/helpers/has-required-item-list-details.js +8 -8
  358. package/lib/components/List/helpers/has-required-item-list-details.js.map +1 -1
  359. package/lib/components/List/helpers/index.js +24 -25
  360. package/lib/components/List/helpers/index.js.map +1 -1
  361. package/lib/components/List/helpers/sort-aggs.js +16 -22
  362. package/lib/components/List/helpers/sort-aggs.js.map +1 -1
  363. package/lib/components/List/helpers/strip-query-key.js +3 -4
  364. package/lib/components/List/helpers/strip-query-key.js.map +1 -1
  365. package/lib/components/List/index.js +2 -3
  366. package/lib/components/List/index.js.map +1 -1
  367. package/lib/components/Loading/Loading.js +15 -16
  368. package/lib/components/Loading/Loading.js.map +1 -1
  369. package/lib/components/Loading/constants.js +3 -4
  370. package/lib/components/Loading/constants.js.map +1 -1
  371. package/lib/components/Loading/helpers.js +4 -8
  372. package/lib/components/Loading/helpers.js.map +1 -1
  373. package/lib/components/Loading/index.js +5 -4
  374. package/lib/components/Loading/index.js.map +1 -1
  375. package/lib/components/Menu/Menu.js +66 -80
  376. package/lib/components/Menu/Menu.js.map +1 -1
  377. package/lib/components/Menu/MenuContext.js +3 -4
  378. package/lib/components/Menu/MenuContext.js.map +1 -1
  379. package/lib/components/Menu/index.js +2 -3
  380. package/lib/components/Menu/index.js.map +1 -1
  381. package/lib/components/MenuItem/MenuEntitiesItem.js +131 -150
  382. package/lib/components/MenuItem/MenuEntitiesItem.js.map +1 -1
  383. package/lib/components/MenuItem/MenuItem.js +19 -18
  384. package/lib/components/MenuItem/MenuItem.js.map +1 -1
  385. package/lib/components/MenuItem/MenuItemRender.js +64 -59
  386. package/lib/components/MenuItem/MenuItemRender.js.map +1 -1
  387. package/lib/components/MenuItem/helpers/index.js +2 -3
  388. package/lib/components/MenuItem/helpers/index.js.map +1 -1
  389. package/lib/components/MenuItem/helpers/inject-helper-into-template.js +17 -8
  390. package/lib/components/MenuItem/helpers/inject-helper-into-template.js.map +1 -1
  391. package/lib/components/MenuItem/index.js +2 -3
  392. package/lib/components/MenuItem/index.js.map +1 -1
  393. package/lib/components/Modal/Modal.js +15 -14
  394. package/lib/components/Modal/Modal.js.map +1 -1
  395. package/lib/components/Modal/index.js +2 -3
  396. package/lib/components/Modal/index.js.map +1 -1
  397. package/lib/components/ModalAdapter/ModalAdapter.js +7 -8
  398. package/lib/components/ModalAdapter/ModalAdapter.js.map +1 -1
  399. package/lib/components/ModalAdapter/index.js +4 -17
  400. package/lib/components/ModalAdapter/index.js.map +1 -1
  401. package/lib/components/SearchContent/SearchContent.js +82 -85
  402. package/lib/components/SearchContent/SearchContent.js.map +1 -1
  403. package/lib/components/SearchContent/SearchContentItems.js +28 -32
  404. package/lib/components/SearchContent/SearchContentItems.js.map +1 -1
  405. package/lib/components/SearchContent/SearchContentResults.js +18 -17
  406. package/lib/components/SearchContent/SearchContentResults.js.map +1 -1
  407. package/lib/components/SearchContent/SearchContentToggleIcon.js +15 -17
  408. package/lib/components/SearchContent/SearchContentToggleIcon.js.map +1 -1
  409. package/lib/components/SearchContent/constants.js +2 -3
  410. package/lib/components/SearchContent/constants.js.map +1 -1
  411. package/lib/components/SearchContent/index.js +2 -3
  412. package/lib/components/SearchContent/index.js.map +1 -1
  413. package/lib/components/SearchFilter/SearchFilter/CloseMobileForm.js +14 -10
  414. package/lib/components/SearchFilter/SearchFilter/CloseMobileForm.js.map +1 -1
  415. package/lib/components/SearchFilter/SearchFilter/FiltersList.js +46 -51
  416. package/lib/components/SearchFilter/SearchFilter/FiltersList.js.map +1 -1
  417. package/lib/components/SearchFilter/SearchFilter/MobileFormToolbar.js +18 -14
  418. package/lib/components/SearchFilter/SearchFilter/MobileFormToolbar.js.map +1 -1
  419. package/lib/components/SearchFilter/SearchFilter/ResetDesktopForm.js +16 -12
  420. package/lib/components/SearchFilter/SearchFilter/ResetDesktopForm.js.map +1 -1
  421. package/lib/components/SearchFilter/SearchFilter/SearchFilter.js +100 -125
  422. package/lib/components/SearchFilter/SearchFilter/SearchFilter.js.map +1 -1
  423. package/lib/components/SearchFilter/SearchFilter/index.js +2 -3
  424. package/lib/components/SearchFilter/SearchFilter/index.js.map +1 -1
  425. package/lib/components/SearchFilter/SearchFilterContainer.js +136 -153
  426. package/lib/components/SearchFilter/SearchFilterContainer.js.map +1 -1
  427. package/lib/components/SearchFilter/components/Checkbox.js +67 -83
  428. package/lib/components/SearchFilter/components/Checkbox.js.map +1 -1
  429. package/lib/components/SearchFilter/components/Range.js +91 -80
  430. package/lib/components/SearchFilter/components/Range.js.map +1 -1
  431. package/lib/components/SearchFilter/components/Select.js +46 -48
  432. package/lib/components/SearchFilter/components/Select.js.map +1 -1
  433. package/lib/components/SearchFilter/components/TextSearch.js +41 -39
  434. package/lib/components/SearchFilter/components/TextSearch.js.map +1 -1
  435. package/lib/components/SearchFilter/components/index.js +8 -9
  436. package/lib/components/SearchFilter/components/index.js.map +1 -1
  437. package/lib/components/SearchFilter/constants.js +30 -35
  438. package/lib/components/SearchFilter/constants.js.map +1 -1
  439. package/lib/components/SearchFilter/helpers/build-list-name-query.js +9 -19
  440. package/lib/components/SearchFilter/helpers/build-list-name-query.js.map +1 -1
  441. package/lib/components/SearchFilter/helpers/build-new-url.js +8 -9
  442. package/lib/components/SearchFilter/helpers/build-new-url.js.map +1 -1
  443. package/lib/components/SearchFilter/helpers/build-url-query.js +25 -30
  444. package/lib/components/SearchFilter/helpers/build-url-query.js.map +1 -1
  445. package/lib/components/SearchFilter/helpers/calculate-min-max.js +10 -10
  446. package/lib/components/SearchFilter/helpers/calculate-min-max.js.map +1 -1
  447. package/lib/components/SearchFilter/helpers/calculate-step.js +3 -6
  448. package/lib/components/SearchFilter/helpers/calculate-step.js.map +1 -1
  449. package/lib/components/SearchFilter/helpers/check-if-range-updated.js +7 -6
  450. package/lib/components/SearchFilter/helpers/check-if-range-updated.js.map +1 -1
  451. package/lib/components/SearchFilter/helpers/decode-encode.js +4 -7
  452. package/lib/components/SearchFilter/helpers/decode-encode.js.map +1 -1
  453. package/lib/components/SearchFilter/helpers/get-display-value.js +4 -14
  454. package/lib/components/SearchFilter/helpers/get-display-value.js.map +1 -1
  455. package/lib/components/SearchFilter/helpers/get-filter-ranges-and-checkboxes-values.js +10 -17
  456. package/lib/components/SearchFilter/helpers/get-filter-ranges-and-checkboxes-values.js.map +1 -1
  457. package/lib/components/SearchFilter/helpers/get-filter-value-from-query.js +14 -15
  458. package/lib/components/SearchFilter/helpers/get-filter-value-from-query.js.map +1 -1
  459. package/lib/components/SearchFilter/helpers/get-filter-values.js +11 -15
  460. package/lib/components/SearchFilter/helpers/get-filter-values.js.map +1 -1
  461. package/lib/components/SearchFilter/helpers/get-initial-filter-values.js +13 -17
  462. package/lib/components/SearchFilter/helpers/get-initial-filter-values.js.map +1 -1
  463. package/lib/components/SearchFilter/helpers/get-intersected-prop.js +3 -7
  464. package/lib/components/SearchFilter/helpers/get-intersected-prop.js.map +1 -1
  465. package/lib/components/SearchFilter/helpers/get-range-value.js +17 -24
  466. package/lib/components/SearchFilter/helpers/get-range-value.js.map +1 -1
  467. package/lib/components/SearchFilter/helpers/get-responsive-filter-classnames.js +17 -13
  468. package/lib/components/SearchFilter/helpers/get-responsive-filter-classnames.js.map +1 -1
  469. package/lib/components/SearchFilter/helpers/get-select-options.js +9 -12
  470. package/lib/components/SearchFilter/helpers/get-select-options.js.map +1 -1
  471. package/lib/components/SearchFilter/helpers/get-updated-filter-by.js +9 -21
  472. package/lib/components/SearchFilter/helpers/get-updated-filter-by.js.map +1 -1
  473. package/lib/components/SearchFilter/helpers/index.js +34 -35
  474. package/lib/components/SearchFilter/helpers/index.js.map +1 -1
  475. package/lib/components/SearchFilter/helpers/is-device-desktop.js +3 -6
  476. package/lib/components/SearchFilter/helpers/is-device-desktop.js.map +1 -1
  477. package/lib/components/SearchFilter/helpers/parse-filter-value.js +8 -15
  478. package/lib/components/SearchFilter/helpers/parse-filter-value.js.map +1 -1
  479. package/lib/components/SearchFilter/index.js +2 -3
  480. package/lib/components/SearchFilter/index.js.map +1 -1
  481. package/lib/components/SearchFilter/searchFilterReducer.js +10 -19
  482. package/lib/components/SearchFilter/searchFilterReducer.js.map +1 -1
  483. package/lib/components/SearchFilterSort/SearchFilterSort.js +49 -56
  484. package/lib/components/SearchFilterSort/SearchFilterSort.js.map +1 -1
  485. package/lib/components/SearchFilterSort/constants.js +4 -5
  486. package/lib/components/SearchFilterSort/constants.js.map +1 -1
  487. package/lib/components/SearchFilterSort/helpers/handle-sort-update.js +26 -30
  488. package/lib/components/SearchFilterSort/helpers/handle-sort-update.js.map +1 -1
  489. package/lib/components/SearchFilterSort/helpers/index.js +4 -5
  490. package/lib/components/SearchFilterSort/helpers/index.js.map +1 -1
  491. package/lib/components/SearchFilterSort/helpers/update-sort.js +13 -27
  492. package/lib/components/SearchFilterSort/helpers/update-sort.js.map +1 -1
  493. package/lib/components/SearchFilterSort/index.js +2 -3
  494. package/lib/components/SearchFilterSort/index.js.map +1 -1
  495. package/lib/components/SocialFollow/SFItem.js +18 -18
  496. package/lib/components/SocialFollow/SFItem.js.map +1 -1
  497. package/lib/components/SocialFollow/SocialFollow.js +17 -16
  498. package/lib/components/SocialFollow/SocialFollow.js.map +1 -1
  499. package/lib/components/SocialFollow/SocialFollowRender.js +15 -17
  500. package/lib/components/SocialFollow/SocialFollowRender.js.map +1 -1
  501. package/lib/components/SocialFollow/index.js +2 -3
  502. package/lib/components/SocialFollow/index.js.map +1 -1
  503. package/lib/components/SocialFollow/sf.config.js +4 -5
  504. package/lib/components/SocialFollow/sf.config.js.map +1 -1
  505. package/lib/components/SubMenu/SubMenu.js +10 -10
  506. package/lib/components/SubMenu/SubMenu.js.map +1 -1
  507. package/lib/components/SubMenu/index.js +2 -3
  508. package/lib/components/SubMenu/index.js.map +1 -1
  509. package/lib/components/TextBlock/TextBlockRender.js +12 -13
  510. package/lib/components/TextBlock/TextBlockRender.js.map +1 -1
  511. package/lib/components/TextBlock/index.js +22 -30
  512. package/lib/components/TextBlock/index.js.map +1 -1
  513. package/lib/components/Video/Video.js +46 -52
  514. package/lib/components/Video/Video.js.map +1 -1
  515. package/lib/components/Video/VideoContext.js +3 -4
  516. package/lib/components/Video/VideoContext.js.map +1 -1
  517. package/lib/components/Video/VideoModal.js +14 -28
  518. package/lib/components/Video/VideoModal.js.map +1 -1
  519. package/lib/components/Video/VideoRender.js +31 -36
  520. package/lib/components/Video/VideoRender.js.map +1 -1
  521. package/lib/components/Video/constants.js +1 -2
  522. package/lib/components/Video/constants.js.map +1 -1
  523. package/lib/components/Video/helpers/emit-gtm-event.js +11 -11
  524. package/lib/components/Video/helpers/emit-gtm-event.js.map +1 -1
  525. package/lib/components/Video/index.js +2 -3
  526. package/lib/components/Video/index.js.map +1 -1
  527. package/lib/components/Video/providers/Default.js +22 -24
  528. package/lib/components/Video/providers/Default.js.map +1 -1
  529. package/lib/components/Video/providers/JWPlayer/JWPlayerController.js +44 -45
  530. package/lib/components/Video/providers/JWPlayer/JWPlayerController.js.map +1 -1
  531. package/lib/components/Video/providers/JWPlayer/JWPlayerProvider.js +45 -56
  532. package/lib/components/Video/providers/JWPlayer/JWPlayerProvider.js.map +1 -1
  533. package/lib/components/Video/providers/Vimeo/VimeoProvider.js +42 -88
  534. package/lib/components/Video/providers/Vimeo/VimeoProvider.js.map +1 -1
  535. package/lib/components/Video/providers/Vimeo/helpers/add-extra-params-to-url.js +8 -21
  536. package/lib/components/Video/providers/Vimeo/helpers/add-extra-params-to-url.js.map +1 -1
  537. package/lib/components/Video/providers/Vimeo/helpers/index.js +2 -3
  538. package/lib/components/Video/providers/Vimeo/helpers/index.js.map +1 -1
  539. package/lib/components/Video/providers/YouTube/YouTubeProvider.js +18 -18
  540. package/lib/components/Video/providers/YouTube/YouTubeProvider.js.map +1 -1
  541. package/lib/components/Video/providers/YouTube/YoutubeEmbeded.js +102 -121
  542. package/lib/components/Video/providers/YouTube/YoutubeEmbeded.js.map +1 -1
  543. package/lib/components/Video/providers/YouTube/helpers/index.js +17 -23
  544. package/lib/components/Video/providers/YouTube/helpers/index.js.map +1 -1
  545. package/lib/components/Video/providers/get-provider.js +11 -40
  546. package/lib/components/Video/providers/get-provider.js.map +1 -1
  547. package/lib/components/Video/providers/index.js +2 -3
  548. package/lib/components/Video/providers/index.js.map +1 -1
  549. package/lib/components/Wrapper.js +20 -20
  550. package/lib/components/Wrapper.js.map +1 -1
  551. package/lib/components/index.js +35 -164
  552. package/lib/components/index.js.map +1 -1
  553. package/lib/constants/componentsDefaultValues.js +5 -7
  554. package/lib/constants/componentsDefaultValues.js.map +1 -1
  555. package/lib/constants/index.js +112 -112
  556. package/lib/constants/index.js.map +1 -1
  557. package/lib/helpers/append-images.js +20 -30
  558. package/lib/helpers/append-images.js.map +1 -1
  559. package/lib/helpers/build-az-filter.js +12 -13
  560. package/lib/helpers/build-az-filter.js.map +1 -1
  561. package/lib/helpers/build-checkbox-filters.js +17 -20
  562. package/lib/helpers/build-checkbox-filters.js.map +1 -1
  563. package/lib/helpers/build-filters-query.js +50 -57
  564. package/lib/helpers/build-filters-query.js.map +1 -1
  565. package/lib/helpers/build-image-properties.js +21 -23
  566. package/lib/helpers/build-image-properties.js.map +1 -1
  567. package/lib/helpers/build-inherited-filters.js +41 -53
  568. package/lib/helpers/build-inherited-filters.js.map +1 -1
  569. package/lib/helpers/build-link-extra-props.js +10 -11
  570. package/lib/helpers/build-link-extra-props.js.map +1 -1
  571. package/lib/helpers/build-props-query.js +72 -111
  572. package/lib/helpers/build-props-query.js.map +1 -1
  573. package/lib/helpers/build-query-fields.js +13 -11
  574. package/lib/helpers/build-query-fields.js.map +1 -1
  575. package/lib/helpers/build-query-key.js +6 -8
  576. package/lib/helpers/build-query-key.js.map +1 -1
  577. package/lib/helpers/build-raw-query-base.js +59 -80
  578. package/lib/helpers/build-raw-query-base.js.map +1 -1
  579. package/lib/helpers/build-raw-query-stringified.js +9 -16
  580. package/lib/helpers/build-raw-query-stringified.js.map +1 -1
  581. package/lib/helpers/build-raw-query.js +72 -86
  582. package/lib/helpers/build-raw-query.js.map +1 -1
  583. package/lib/helpers/build-search-values-checkbox-select.js +54 -76
  584. package/lib/helpers/build-search-values-checkbox-select.js.map +1 -1
  585. package/lib/helpers/build-search-values-text.js +30 -36
  586. package/lib/helpers/build-search-values-text.js.map +1 -1
  587. package/lib/helpers/build-set-filters.js +24 -38
  588. package/lib/helpers/build-set-filters.js.map +1 -1
  589. package/lib/helpers/build-sort-values.js +18 -28
  590. package/lib/helpers/build-sort-values.js.map +1 -1
  591. package/lib/helpers/check-for-error.js +7 -13
  592. package/lib/helpers/check-for-error.js.map +1 -1
  593. package/lib/helpers/check-props-to-use.js +5 -12
  594. package/lib/helpers/check-props-to-use.js.map +1 -1
  595. package/lib/helpers/entities/constants.js +3 -4
  596. package/lib/helpers/entities/constants.js.map +1 -1
  597. package/lib/helpers/filter-query-setup.js +39 -48
  598. package/lib/helpers/filter-query-setup.js.map +1 -1
  599. package/lib/helpers/filters-setup.js +34 -35
  600. package/lib/helpers/filters-setup.js.map +1 -1
  601. package/lib/helpers/get-banner-data.js +12 -22
  602. package/lib/helpers/get-banner-data.js.map +1 -1
  603. package/lib/helpers/get-checkbox-filters.js +3 -4
  604. package/lib/helpers/get-checkbox-filters.js.map +1 -1
  605. package/lib/helpers/get-click-wrapper-options.js +28 -43
  606. package/lib/helpers/get-click-wrapper-options.js.map +1 -1
  607. package/lib/helpers/get-component-id.js +20 -0
  608. package/lib/helpers/get-component-id.js.map +1 -0
  609. package/lib/helpers/get-current-offset.js +4 -9
  610. package/lib/helpers/get-current-offset.js.map +1 -1
  611. package/lib/helpers/get-custom-html-properties.js +19 -0
  612. package/lib/helpers/get-custom-html-properties.js.map +1 -0
  613. package/lib/helpers/get-dictionary-match.js +4 -7
  614. package/lib/helpers/get-dictionary-match.js.map +1 -1
  615. package/lib/helpers/get-display-count-data.js +8 -10
  616. package/lib/helpers/get-display-count-data.js.map +1 -1
  617. package/lib/helpers/get-elasticsearch-operator.js +5 -7
  618. package/lib/helpers/get-elasticsearch-operator.js.map +1 -1
  619. package/lib/helpers/get-entities-with-banner.js +22 -28
  620. package/lib/helpers/get-entities-with-banner.js.map +1 -1
  621. package/lib/helpers/get-entity-data.js +15 -17
  622. package/lib/helpers/get-entity-data.js.map +1 -1
  623. package/lib/helpers/get-entity-render-props.js +16 -14
  624. package/lib/helpers/get-entity-render-props.js.map +1 -1
  625. package/lib/helpers/get-extra-az-bits.js +25 -23
  626. package/lib/helpers/get-extra-az-bits.js.map +1 -1
  627. package/lib/helpers/get-filter-props.js +46 -60
  628. package/lib/helpers/get-filter-props.js.map +1 -1
  629. package/lib/helpers/get-filter-relation-keys.js +8 -16
  630. package/lib/helpers/get-filter-relation-keys.js.map +1 -1
  631. package/lib/helpers/get-generic-props.js +9 -18
  632. package/lib/helpers/get-generic-props.js.map +1 -1
  633. package/lib/helpers/get-generic-render-variables.js +30 -46
  634. package/lib/helpers/get-generic-render-variables.js.map +1 -1
  635. package/lib/helpers/get-image-ids.js +12 -21
  636. package/lib/helpers/get-image-ids.js.map +1 -1
  637. package/lib/helpers/get-inherited-filters.js +6 -18
  638. package/lib/helpers/get-inherited-filters.js.map +1 -1
  639. package/lib/helpers/get-items-to-display-ids.js +6 -15
  640. package/lib/helpers/get-items-to-display-ids.js.map +1 -1
  641. package/lib/helpers/get-modifiers.js +8 -23
  642. package/lib/helpers/get-modifiers.js.map +1 -1
  643. package/lib/helpers/get-not-equal-query.js +1 -2
  644. package/lib/helpers/get-not-equal-query.js.map +1 -1
  645. package/lib/helpers/get-pagination-index.js +3 -6
  646. package/lib/helpers/get-pagination-index.js.map +1 -1
  647. package/lib/helpers/get-parsed-prop-values.js +28 -40
  648. package/lib/helpers/get-parsed-prop-values.js.map +1 -1
  649. package/lib/helpers/get-parsed-summary-value.js +5 -6
  650. package/lib/helpers/get-parsed-summary-value.js.map +1 -1
  651. package/lib/helpers/get-prop-values.js +13 -26
  652. package/lib/helpers/get-prop-values.js.map +1 -1
  653. package/lib/helpers/get-query-filters.js +12 -15
  654. package/lib/helpers/get-query-filters.js.map +1 -1
  655. package/lib/helpers/get-query-props.js +27 -32
  656. package/lib/helpers/get-query-props.js.map +1 -1
  657. package/lib/helpers/get-required-schemas.js +20 -37
  658. package/lib/helpers/get-required-schemas.js.map +1 -1
  659. package/lib/helpers/get-sanitized-prop-values.js +3 -10
  660. package/lib/helpers/get-sanitized-prop-values.js.map +1 -1
  661. package/lib/helpers/get-search-filter-type.js +10 -14
  662. package/lib/helpers/get-search-filter-type.js.map +1 -1
  663. package/lib/helpers/get-sort-by-field-name.js +15 -32
  664. package/lib/helpers/get-sort-by-field-name.js.map +1 -1
  665. package/lib/helpers/get-unpublished-entity-name.js +4 -14
  666. package/lib/helpers/get-unpublished-entity-name.js.map +1 -1
  667. package/lib/helpers/get-updated-filter-by.js +5 -8
  668. package/lib/helpers/get-updated-filter-by.js.map +1 -1
  669. package/lib/helpers/get-updated-items-to-display.js +17 -33
  670. package/lib/helpers/get-updated-items-to-display.js.map +1 -1
  671. package/lib/helpers/get-updated-sort-properties.js +8 -18
  672. package/lib/helpers/get-updated-sort-properties.js.map +1 -1
  673. package/lib/helpers/get-wrapped-value-with-link.js +14 -18
  674. package/lib/helpers/get-wrapped-value-with-link.js.map +1 -1
  675. package/lib/helpers/group-entities.js +4 -9
  676. package/lib/helpers/group-entities.js.map +1 -1
  677. package/lib/helpers/has-children.js +4 -7
  678. package/lib/helpers/has-children.js.map +1 -1
  679. package/lib/helpers/index.js +140 -127
  680. package/lib/helpers/index.js.map +1 -1
  681. package/lib/helpers/inject-banner.js +8 -10
  682. package/lib/helpers/inject-banner.js.map +1 -1
  683. package/lib/helpers/inject-banners-to-entities.js +11 -9
  684. package/lib/helpers/inject-banners-to-entities.js.map +1 -1
  685. package/lib/helpers/inject-multiple-banners/get-banners-for-entities/get-banners-for-entities.js +9 -13
  686. package/lib/helpers/inject-multiple-banners/get-banners-for-entities/get-banners-for-entities.js.map +1 -1
  687. package/lib/helpers/inject-multiple-banners/get-banners-for-entities/index.js +2 -3
  688. package/lib/helpers/inject-multiple-banners/get-banners-for-entities/index.js.map +1 -1
  689. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/get-banners-for-nodes.js +10 -22
  690. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/get-banners-for-nodes.js.map +1 -1
  691. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/group-node-entities.js +17 -24
  692. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/group-node-entities.js.map +1 -1
  693. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/index.js +2 -3
  694. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/index.js.map +1 -1
  695. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/index.js +2 -3
  696. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/index.js.map +1 -1
  697. package/lib/helpers/inject-multiple-banners/index.js +2 -3
  698. package/lib/helpers/inject-multiple-banners/index.js.map +1 -1
  699. package/lib/helpers/inject-multiple-banners/inject-multiple-banners.js +6 -6
  700. package/lib/helpers/inject-multiple-banners/inject-multiple-banners.js.map +1 -1
  701. package/lib/helpers/is-browser.js +3 -6
  702. package/lib/helpers/is-browser.js.map +1 -1
  703. package/lib/helpers/is-filter-entitys-id.js +5 -9
  704. package/lib/helpers/is-filter-entitys-id.js.map +1 -1
  705. package/lib/helpers/is-object.js +3 -9
  706. package/lib/helpers/is-object.js.map +1 -1
  707. package/lib/helpers/is-using-relation-image.js +3 -6
  708. package/lib/helpers/is-using-relation-image.js.map +1 -1
  709. package/lib/helpers/parse-TextBlock.js +19 -24
  710. package/lib/helpers/parse-TextBlock.js.map +1 -1
  711. package/lib/helpers/parse-interval.js +1 -2
  712. package/lib/helpers/parse-interval.js.map +1 -1
  713. package/lib/helpers/parse-props-to-display.js +25 -39
  714. package/lib/helpers/parse-props-to-display.js.map +1 -1
  715. package/lib/helpers/process-data-summary-value.js +26 -36
  716. package/lib/helpers/process-data-summary-value.js.map +1 -1
  717. package/lib/helpers/remove-extra-items.js +4 -5
  718. package/lib/helpers/remove-extra-items.js.map +1 -1
  719. package/lib/helpers/remove-unwanted-characters.js +11 -23
  720. package/lib/helpers/remove-unwanted-characters.js.map +1 -1
  721. package/lib/helpers/render-children.js +15 -36
  722. package/lib/helpers/render-children.js.map +1 -1
  723. package/lib/helpers/should-render-waypoint.js +3 -10
  724. package/lib/helpers/should-render-waypoint.js.map +1 -1
  725. package/lib/helpers/should-return.js +3 -11
  726. package/lib/helpers/should-return.js.map +1 -1
  727. package/lib/helpers/should-show-property.js +6 -8
  728. package/lib/helpers/should-show-property.js.map +1 -1
  729. package/lib/helpers/should-skip-single-query.js +3 -6
  730. package/lib/helpers/should-skip-single-query.js.map +1 -1
  731. package/lib/helpers/sort-response-data.js +7 -17
  732. package/lib/helpers/sort-response-data.js.map +1 -1
  733. package/lib/helpers/split-children.js +43 -52
  734. package/lib/helpers/split-children.js.map +1 -1
  735. package/lib/helpers/update-childrens-parent.js +12 -25
  736. package/lib/helpers/update-childrens-parent.js.map +1 -1
  737. package/lib/hooks/helpers/RenderComponent.js +53 -46
  738. package/lib/hooks/helpers/RenderComponent.js.map +1 -1
  739. package/lib/hooks/helpers/StoreImages.js +50 -60
  740. package/lib/hooks/helpers/StoreImages.js.map +1 -1
  741. package/lib/hooks/helpers/append-gtm-classname.js +28 -31
  742. package/lib/hooks/helpers/append-gtm-classname.js.map +1 -1
  743. package/lib/hooks/helpers/buildPBComponents.js +46 -71
  744. package/lib/hooks/helpers/buildPBComponents.js.map +1 -1
  745. package/lib/hooks/helpers/check-banner-insertion-set.js +10 -18
  746. package/lib/hooks/helpers/check-banner-insertion-set.js.map +1 -1
  747. package/lib/hooks/helpers/check-collisions.js +17 -20
  748. package/lib/hooks/helpers/check-collisions.js.map +1 -1
  749. package/lib/hooks/helpers/constants.js +4 -5
  750. package/lib/hooks/helpers/constants.js.map +1 -1
  751. package/lib/hooks/helpers/get-banner-index.js +3 -9
  752. package/lib/hooks/helpers/get-banner-index.js.map +1 -1
  753. package/lib/hooks/helpers/get-components-to-insert-by-type.js +16 -18
  754. package/lib/hooks/helpers/get-components-to-insert-by-type.js.map +1 -1
  755. package/lib/hooks/helpers/get-lightbox-images.js +17 -44
  756. package/lib/hooks/helpers/get-lightbox-images.js.map +1 -1
  757. package/lib/hooks/helpers/getComponent.js +1 -2
  758. package/lib/hooks/helpers/getComponent.js.map +1 -1
  759. package/lib/hooks/helpers/getVariant.js +9 -7
  760. package/lib/hooks/helpers/getVariant.js.map +1 -1
  761. package/lib/hooks/helpers/index.js +2 -3
  762. package/lib/hooks/helpers/index.js.map +1 -1
  763. package/lib/hooks/helpers/inject-element-components.js +33 -37
  764. package/lib/hooks/helpers/inject-element-components.js.map +1 -1
  765. package/lib/hooks/helpers/inject-textblock-banners.js +56 -62
  766. package/lib/hooks/helpers/inject-textblock-banners.js.map +1 -1
  767. package/lib/hooks/helpers/insert-banners.js +41 -58
  768. package/lib/hooks/helpers/insert-banners.js.map +1 -1
  769. package/lib/hooks/helpers/update-targetings.js +11 -9
  770. package/lib/hooks/helpers/update-targetings.js.map +1 -1
  771. package/lib/hooks/index.js +29 -23
  772. package/lib/hooks/index.js.map +1 -1
  773. package/lib/hooks/use-app-event-hook.js +45 -0
  774. package/lib/hooks/use-app-event-hook.js.map +1 -0
  775. package/lib/hooks/use-app-sync-event-hook.js +30 -18
  776. package/lib/hooks/use-app-sync-event-hook.js.map +1 -1
  777. package/lib/hooks/use-banner-insertion.js +14 -14
  778. package/lib/hooks/use-banner-insertion.js.map +1 -1
  779. package/lib/hooks/use-check-mobile-screen.js +12 -18
  780. package/lib/hooks/use-check-mobile-screen.js.map +1 -1
  781. package/lib/hooks/use-filter-aggregation-values.js +19 -35
  782. package/lib/hooks/use-filter-aggregation-values.js.map +1 -1
  783. package/lib/hooks/use-get-entity-schema.js +20 -26
  784. package/lib/hooks/use-get-entity-schema.js.map +1 -1
  785. package/lib/hooks/use-get-entity-schemas-as-obj.js +7 -17
  786. package/lib/hooks/use-get-entity-schemas-as-obj.js.map +1 -1
  787. package/lib/hooks/use-get-image-id-from-relation.js +31 -34
  788. package/lib/hooks/use-get-image-id-from-relation.js.map +1 -1
  789. package/lib/hooks/use-get-images.js +20 -24
  790. package/lib/hooks/use-get-images.js.map +1 -1
  791. package/lib/hooks/use-get-single-entity-schema.js +16 -17
  792. package/lib/hooks/use-get-single-entity-schema.js.map +1 -1
  793. package/lib/hooks/use-page-builder.js +7 -29
  794. package/lib/hooks/use-page-builder.js.map +1 -1
  795. package/lib/hooks/use-portal.js +7 -15
  796. package/lib/hooks/use-portal.js.map +1 -1
  797. package/lib/index.js +64 -39
  798. package/lib/index.js.map +1 -1
  799. package/lib/system-components/EditorMode/BlazeLogo.js +76 -0
  800. package/lib/system-components/EditorMode/BlazeLogo.js.map +1 -0
  801. package/lib/system-components/EditorMode/PbWrapper.js +43 -0
  802. package/lib/system-components/EditorMode/PbWrapper.js.map +1 -0
  803. package/lib/system-components/EditorMode/constants.js +9 -0
  804. package/lib/system-components/EditorMode/constants.js.map +1 -0
  805. package/lib/system-components/EditorMode/helpers/add-editor-mode-event-listeners.js +100 -0
  806. package/lib/system-components/EditorMode/helpers/add-editor-mode-event-listeners.js.map +1 -0
  807. package/lib/system-components/EditorMode/helpers/check-is-over-blaze-icon.js +25 -0
  808. package/lib/system-components/EditorMode/helpers/check-is-over-blaze-icon.js.map +1 -0
  809. package/lib/system-components/index.js +12 -0
  810. package/lib/system-components/index.js.map +1 -0
  811. package/lib/translations.js +43 -0
  812. package/lib/translations.js.map +1 -0
  813. package/lib/utils/component-map.js +12 -18
  814. package/lib/utils/component-map.js.map +1 -1
  815. package/lib/utils/get-class-modifiers.js +43 -55
  816. package/lib/utils/get-class-modifiers.js.map +1 -1
  817. package/lib/utils/get-image-data.js +7 -15
  818. package/lib/utils/get-image-data.js.map +1 -1
  819. package/lib/utils/get-props-to-display-modifiers.js +5 -11
  820. package/lib/utils/get-props-to-display-modifiers.js.map +1 -1
  821. package/lib/utils/index.js +12 -13
  822. package/lib/utils/index.js.map +1 -1
  823. package/lib/utils/is-object-empty.js +1 -3
  824. package/lib/utils/is-object-empty.js.map +1 -1
  825. package/lib/utils/variant-handler.js +8 -15
  826. package/lib/utils/variant-handler.js.map +1 -1
  827. package/lib/variants/FloatingSideButton/index.js +7 -19
  828. package/lib/variants/FloatingSideButton/index.js.map +1 -1
  829. package/lib/variants/HeroImage/index.js +7 -19
  830. package/lib/variants/HeroImage/index.js.map +1 -1
  831. package/lib/variants/Infographic/Infographic.js +13 -17
  832. package/lib/variants/Infographic/Infographic.js.map +1 -1
  833. package/lib/variants/Infographic/index.js +8 -30
  834. package/lib/variants/Infographic/index.js.map +1 -1
  835. package/lib/variants/Infographic/useInfographic.js +16 -29
  836. package/lib/variants/Infographic/useInfographic.js.map +1 -1
  837. package/lib/variants/LiveBlogList/LiveBlogList.js +89 -0
  838. package/lib/variants/LiveBlogList/LiveBlogList.js.map +1 -0
  839. package/lib/variants/LiveBlogList/index.js +21 -0
  840. package/lib/variants/LiveBlogList/index.js.map +1 -0
  841. package/lib/variants/LongformGallery/LongformGallery.js +28 -35
  842. package/lib/variants/LongformGallery/LongformGallery.js.map +1 -1
  843. package/lib/variants/LongformGallery/LongformGalleryImage.js +34 -39
  844. package/lib/variants/LongformGallery/LongformGalleryImage.js.map +1 -1
  845. package/lib/variants/LongformGallery/constants.js +11 -7
  846. package/lib/variants/LongformGallery/constants.js.map +1 -1
  847. package/lib/variants/LongformGallery/helpers/index.js +6 -7
  848. package/lib/variants/LongformGallery/helpers/index.js.map +1 -1
  849. package/lib/variants/LongformGallery/helpers/parseImageData.js +11 -20
  850. package/lib/variants/LongformGallery/helpers/parseImageData.js.map +1 -1
  851. package/lib/variants/LongformGallery/helpers/separateImages.js +9 -13
  852. package/lib/variants/LongformGallery/helpers/separateImages.js.map +1 -1
  853. package/lib/variants/LongformGallery/helpers/shouldSkip.js +3 -7
  854. package/lib/variants/LongformGallery/helpers/shouldSkip.js.map +1 -1
  855. package/lib/variants/LongformGallery/index.js +10 -32
  856. package/lib/variants/LongformGallery/index.js.map +1 -1
  857. package/lib/variants/LongformGallery/useLongformGallery.js +36 -41
  858. package/lib/variants/LongformGallery/useLongformGallery.js.map +1 -1
  859. package/lib/variants/LongformRow/index.js +7 -19
  860. package/lib/variants/LongformRow/index.js.map +1 -1
  861. package/lib/variants/ParallaxImageTextRight/index.js +8 -20
  862. package/lib/variants/ParallaxImageTextRight/index.js.map +1 -1
  863. package/lib/variants/SlideSummary/SlideSummary.js +10 -9
  864. package/lib/variants/SlideSummary/SlideSummary.js.map +1 -1
  865. package/lib/variants/SlideSummary/index.js +8 -30
  866. package/lib/variants/SlideSummary/index.js.map +1 -1
  867. package/lib/variants/ThumbnailCarousel/ThumbnailCarousel.js +30 -38
  868. package/lib/variants/ThumbnailCarousel/ThumbnailCarousel.js.map +1 -1
  869. package/lib/variants/ThumbnailCarousel/ThumbnailImage/ThumbnailImage.js +15 -15
  870. package/lib/variants/ThumbnailCarousel/ThumbnailImage/ThumbnailImage.js.map +1 -1
  871. package/lib/variants/ThumbnailCarousel/ThumbnailImage/index.js +2 -3
  872. package/lib/variants/ThumbnailCarousel/ThumbnailImage/index.js.map +1 -1
  873. package/lib/variants/ThumbnailCarousel/ThumbnailImage/useThumbnailImage.js +46 -46
  874. package/lib/variants/ThumbnailCarousel/ThumbnailImage/useThumbnailImage.js.map +1 -1
  875. package/lib/variants/ThumbnailCarousel/index.js +8 -30
  876. package/lib/variants/ThumbnailCarousel/index.js.map +1 -1
  877. package/lib/variants/ThumbnailCarousel/useThumbnailCarousel.js +25 -37
  878. package/lib/variants/ThumbnailCarousel/useThumbnailCarousel.js.map +1 -1
  879. package/lib/variants/index.js +12 -11
  880. package/lib/variants/index.js.map +1 -1
  881. package/lib-es/HOC/withTitle.js +1 -1
  882. package/lib-es/HOC/withTitle.js.map +1 -1
  883. package/lib-es/application/query/index.js +9 -1
  884. package/lib-es/application/query/index.js.map +1 -1
  885. package/lib-es/components/BackToTop/BackToTop.js +2 -2
  886. package/lib-es/components/BackToTop/BackToTop.js.map +1 -1
  887. package/lib-es/components/Button.js +12 -7
  888. package/lib-es/components/Button.js.map +1 -1
  889. package/lib-es/components/Card/Card.js +3 -1
  890. package/lib-es/components/Card/Card.js.map +1 -1
  891. package/lib-es/components/Card/CardsRender.js +16 -6
  892. package/lib-es/components/Card/CardsRender.js.map +1 -1
  893. package/lib-es/components/Carousel/Carousel.js +39 -9
  894. package/lib-es/components/Carousel/Carousel.js.map +1 -1
  895. package/lib-es/components/Carousel/CarouselImage/CarouselImage.js +2 -1
  896. package/lib-es/components/Carousel/CarouselImage/CarouselImage.js.map +1 -1
  897. package/lib-es/components/ContentGroup/ContentGroup.js +77 -13
  898. package/lib-es/components/ContentGroup/ContentGroup.js.map +1 -1
  899. package/lib-es/components/ContentGroup/ContentGroupAccordion.js +138 -0
  900. package/lib-es/components/ContentGroup/ContentGroupAccordion.js.map +1 -0
  901. package/lib-es/components/ContentGroup/ContentGroupDataFetcher.js +88 -0
  902. package/lib-es/components/ContentGroup/ContentGroupDataFetcher.js.map +1 -0
  903. package/lib-es/components/ContentGroup/ContentGroupTabs.js +4 -3
  904. package/lib-es/components/ContentGroup/ContentGroupTabs.js.map +1 -1
  905. package/lib-es/components/ContentGroup/constants.js +12 -1
  906. package/lib-es/components/ContentGroup/constants.js.map +1 -1
  907. package/lib-es/components/ContentGroup/helpers/build-data-sections.js +38 -0
  908. package/lib-es/components/ContentGroup/helpers/build-data-sections.js.map +1 -0
  909. package/lib-es/components/ContentGroup/helpers/get-structured-data-properties.js +33 -0
  910. package/lib-es/components/ContentGroup/helpers/get-structured-data-properties.js.map +1 -0
  911. package/lib-es/components/ContentGroup/helpers/index.js +2 -1
  912. package/lib-es/components/ContentGroup/helpers/index.js.map +1 -1
  913. package/lib-es/components/ContentGroupSection/ContentGroupSection.js +3 -2
  914. package/lib-es/components/ContentGroupSection/ContentGroupSection.js.map +1 -1
  915. package/lib-es/components/DataSummary/DataSummaryFactory.js +3 -2
  916. package/lib-es/components/DataSummary/DataSummaryFactory.js.map +1 -1
  917. package/lib-es/components/DataSummary/helpers/get-record-id.js +14 -0
  918. package/lib-es/components/DataSummary/helpers/get-record-id.js.map +1 -0
  919. package/lib-es/components/DataSummary/helpers/index.js +2 -1
  920. package/lib-es/components/DataSummary/helpers/index.js.map +1 -1
  921. package/lib-es/components/DateTime/DateTime.js +11 -5
  922. package/lib-es/components/DateTime/DateTime.js.map +1 -1
  923. package/lib-es/components/ErrorMessage/ErrorMessage.js +30 -0
  924. package/lib-es/components/ErrorMessage/ErrorMessage.js.map +1 -0
  925. package/lib-es/components/ErrorMessage/index.js +3 -0
  926. package/lib-es/components/ErrorMessage/index.js.map +1 -0
  927. package/lib-es/components/Iframe/Iframe.js +16 -6
  928. package/lib-es/components/Iframe/Iframe.js.map +1 -1
  929. package/lib-es/components/Image/GlobalLightbox/GlobalLightbox.js +3 -3
  930. package/lib-es/components/Image/GlobalLightbox/GlobalLightbox.js.map +1 -1
  931. package/lib-es/components/Image/GlobalLightbox/NavButton.js +2 -2
  932. package/lib-es/components/Image/GlobalLightbox/NavButton.js.map +1 -1
  933. package/lib-es/components/ItemList/ItemListButton/ItemListButton.js +9 -7
  934. package/lib-es/components/ItemList/ItemListButton/ItemListButton.js.map +1 -1
  935. package/lib-es/components/ItemList/ItemListCounter/ItemListCounter.js +2 -2
  936. package/lib-es/components/ItemList/ItemListCounter/ItemListCounter.js.map +1 -1
  937. package/lib-es/components/ItemList/icons/AddedBookmark.js +33 -0
  938. package/lib-es/components/ItemList/icons/AddedBookmark.js.map +1 -0
  939. package/lib-es/components/ItemList/icons/BaseBookmark.js +37 -0
  940. package/lib-es/components/ItemList/icons/BaseBookmark.js.map +1 -0
  941. package/lib-es/components/ItemList/icons/HoverBookmark.js +35 -0
  942. package/lib-es/components/ItemList/icons/HoverBookmark.js.map +1 -0
  943. package/lib-es/components/ItemList/icons/RemoveBookmark.js +33 -0
  944. package/lib-es/components/ItemList/icons/RemoveBookmark.js.map +1 -0
  945. package/lib-es/components/ItemList/icons/index.js +5 -0
  946. package/lib-es/components/ItemList/icons/index.js.map +1 -0
  947. package/lib-es/components/Layout/Layout.js +27 -7
  948. package/lib-es/components/Layout/Layout.js.map +1 -1
  949. package/lib-es/components/List/ListBuilder.js +1 -1
  950. package/lib-es/components/List/ListBuilder.js.map +1 -1
  951. package/lib-es/components/List/ListFactory.js +10 -4
  952. package/lib-es/components/List/ListFactory.js.map +1 -1
  953. package/lib-es/components/List/ListRender.js +23 -10
  954. package/lib-es/components/List/ListRender.js.map +1 -1
  955. package/lib-es/components/List/components/Full/FullRenderItem.js +34 -30
  956. package/lib-es/components/List/components/Full/FullRenderItem.js.map +1 -1
  957. package/lib-es/components/List/components/Pagination/Classic.js +9 -6
  958. package/lib-es/components/List/components/Pagination/Classic.js.map +1 -1
  959. package/lib-es/components/List/components/Pagination/ListPagination.js +8 -11
  960. package/lib-es/components/List/components/Pagination/ListPagination.js.map +1 -1
  961. package/lib-es/components/List/helpers/build-pagination-items.js +4 -3
  962. package/lib-es/components/List/helpers/build-pagination-items.js.map +1 -1
  963. package/lib-es/components/List/helpers/build-pagination-url.js +2 -2
  964. package/lib-es/components/List/helpers/build-pagination-url.js.map +1 -1
  965. package/lib-es/components/List/helpers/build-query-booster.js +9 -6
  966. package/lib-es/components/List/helpers/build-query-booster.js.map +1 -1
  967. package/lib-es/components/Loading/index.js +2 -2
  968. package/lib-es/components/Loading/index.js.map +1 -1
  969. package/lib-es/components/MenuItem/MenuItemRender.js +25 -9
  970. package/lib-es/components/MenuItem/MenuItemRender.js.map +1 -1
  971. package/lib-es/components/MenuItem/helpers/inject-helper-into-template.js +14 -2
  972. package/lib-es/components/MenuItem/helpers/inject-helper-into-template.js.map +1 -1
  973. package/lib-es/components/SearchContent/SearchContent.js +34 -17
  974. package/lib-es/components/SearchContent/SearchContent.js.map +1 -1
  975. package/lib-es/components/SearchContent/SearchContentResults.js +2 -1
  976. package/lib-es/components/SearchContent/SearchContentResults.js.map +1 -1
  977. package/lib-es/components/SearchFilter/SearchFilter/CloseMobileForm.js +14 -8
  978. package/lib-es/components/SearchFilter/SearchFilter/CloseMobileForm.js.map +1 -1
  979. package/lib-es/components/SearchFilter/SearchFilter/FiltersList.js +4 -2
  980. package/lib-es/components/SearchFilter/SearchFilter/FiltersList.js.map +1 -1
  981. package/lib-es/components/SearchFilter/SearchFilter/MobileFormToolbar.js +20 -14
  982. package/lib-es/components/SearchFilter/SearchFilter/MobileFormToolbar.js.map +1 -1
  983. package/lib-es/components/SearchFilter/SearchFilter/ResetDesktopForm.js +21 -15
  984. package/lib-es/components/SearchFilter/SearchFilter/ResetDesktopForm.js.map +1 -1
  985. package/lib-es/components/SearchFilter/SearchFilter/SearchFilter.js +11 -6
  986. package/lib-es/components/SearchFilter/SearchFilter/SearchFilter.js.map +1 -1
  987. package/lib-es/components/SearchFilter/SearchFilterContainer.js +12 -12
  988. package/lib-es/components/SearchFilter/SearchFilterContainer.js.map +1 -1
  989. package/lib-es/components/SearchFilter/components/Range.js +26 -12
  990. package/lib-es/components/SearchFilter/components/Range.js.map +1 -1
  991. package/lib-es/components/SearchFilter/constants.js +1 -5
  992. package/lib-es/components/SearchFilter/constants.js.map +1 -1
  993. package/lib-es/components/SearchFilter/helpers/build-new-url.js +3 -2
  994. package/lib-es/components/SearchFilter/helpers/build-new-url.js.map +1 -1
  995. package/lib-es/components/SearchFilter/helpers/build-url-query.js +8 -1
  996. package/lib-es/components/SearchFilter/helpers/build-url-query.js.map +1 -1
  997. package/lib-es/constants/index.js +4 -2
  998. package/lib-es/constants/index.js.map +1 -1
  999. package/lib-es/helpers/build-props-query.js +4 -2
  1000. package/lib-es/helpers/build-props-query.js.map +1 -1
  1001. package/lib-es/helpers/build-query-fields.js +1 -1
  1002. package/lib-es/helpers/build-query-fields.js.map +1 -1
  1003. package/lib-es/helpers/get-component-id.js +13 -0
  1004. package/lib-es/helpers/get-component-id.js.map +1 -0
  1005. package/lib-es/helpers/get-custom-html-properties.js +13 -0
  1006. package/lib-es/helpers/get-custom-html-properties.js.map +1 -0
  1007. package/lib-es/helpers/get-image-ids.js +2 -0
  1008. package/lib-es/helpers/get-image-ids.js.map +1 -1
  1009. package/lib-es/helpers/index.js +2 -0
  1010. package/lib-es/helpers/index.js.map +1 -1
  1011. package/lib-es/hooks/helpers/RenderComponent.js +14 -2
  1012. package/lib-es/hooks/helpers/RenderComponent.js.map +1 -1
  1013. package/lib-es/hooks/helpers/StoreImages.js +44 -30
  1014. package/lib-es/hooks/helpers/StoreImages.js.map +1 -1
  1015. package/lib-es/hooks/index.js +1 -0
  1016. package/lib-es/hooks/index.js.map +1 -1
  1017. package/lib-es/hooks/use-app-event-hook.js +39 -0
  1018. package/lib-es/hooks/use-app-event-hook.js.map +1 -0
  1019. package/lib-es/hooks/use-app-sync-event-hook.js +18 -6
  1020. package/lib-es/hooks/use-app-sync-event-hook.js.map +1 -1
  1021. package/lib-es/hooks/use-get-image-id-from-relation.js +11 -4
  1022. package/lib-es/hooks/use-get-image-id-from-relation.js.map +1 -1
  1023. package/lib-es/index.js +4 -2
  1024. package/lib-es/index.js.map +1 -1
  1025. package/lib-es/system-components/EditorMode/BlazeLogo.js +67 -0
  1026. package/lib-es/system-components/EditorMode/BlazeLogo.js.map +1 -0
  1027. package/lib-es/system-components/EditorMode/PbWrapper.js +34 -0
  1028. package/lib-es/system-components/EditorMode/PbWrapper.js.map +1 -0
  1029. package/lib-es/system-components/EditorMode/constants.js +3 -0
  1030. package/lib-es/system-components/EditorMode/constants.js.map +1 -0
  1031. package/lib-es/system-components/EditorMode/helpers/add-editor-mode-event-listeners.js +93 -0
  1032. package/lib-es/system-components/EditorMode/helpers/add-editor-mode-event-listeners.js.map +1 -0
  1033. package/lib-es/system-components/EditorMode/helpers/check-is-over-blaze-icon.js +19 -0
  1034. package/lib-es/system-components/EditorMode/helpers/check-is-over-blaze-icon.js.map +1 -0
  1035. package/lib-es/system-components/index.js +3 -0
  1036. package/lib-es/system-components/index.js.map +1 -0
  1037. package/lib-es/translations.js +37 -0
  1038. package/lib-es/translations.js.map +1 -0
  1039. package/lib-es/variants/Infographic/Infographic.js +4 -8
  1040. package/lib-es/variants/Infographic/Infographic.js.map +1 -1
  1041. package/lib-es/variants/LiveBlogList/LiveBlogList.js +80 -0
  1042. package/lib-es/variants/LiveBlogList/LiveBlogList.js.map +1 -0
  1043. package/lib-es/variants/LiveBlogList/index.js +12 -0
  1044. package/lib-es/variants/LiveBlogList/index.js.map +1 -0
  1045. package/lib-es/variants/index.js +3 -1
  1046. package/lib-es/variants/index.js.map +1 -1
  1047. package/package.json +24 -26
  1048. package/src/HOC/withTitle.js +2 -2
  1049. package/src/application/query/index.js +11 -1
  1050. package/src/components/BackToTop/BackToTop.js +5 -7
  1051. package/src/components/Button.js +13 -9
  1052. package/src/components/Card/Card.js +2 -1
  1053. package/src/components/Card/CardsRender.js +23 -10
  1054. package/src/components/Carousel/Carousel.js +46 -9
  1055. package/src/components/Carousel/CarouselImage/CarouselImage.js +3 -1
  1056. package/src/components/ContentGroup/ContentGroup.js +99 -15
  1057. package/src/components/ContentGroup/ContentGroupAccordion.js +160 -0
  1058. package/src/components/ContentGroup/ContentGroupDataFetcher.js +74 -0
  1059. package/src/components/ContentGroup/ContentGroupTabs.js +7 -3
  1060. package/src/components/ContentGroup/constants.js +14 -1
  1061. package/src/components/ContentGroup/helpers/build-data-sections.js +35 -0
  1062. package/src/components/ContentGroup/helpers/get-structured-data-properties.js +36 -0
  1063. package/src/components/ContentGroup/helpers/index.js +2 -1
  1064. package/src/components/ContentGroupSection/ContentGroupSection.js +2 -2
  1065. package/src/components/DataSummary/DataSummaryFactory.js +4 -2
  1066. package/src/components/DataSummary/helpers/get-record-id.js +14 -0
  1067. package/src/components/DataSummary/helpers/index.js +3 -1
  1068. package/src/components/DateTime/DateTime.js +9 -5
  1069. package/src/components/ErrorMessage/ErrorMessage.js +32 -0
  1070. package/src/components/ErrorMessage/index.js +5 -0
  1071. package/src/components/Iframe/Iframe.js +22 -6
  1072. package/src/components/Image/GlobalLightbox/GlobalLightbox.js +70 -72
  1073. package/src/components/Image/GlobalLightbox/NavButton.js +12 -15
  1074. package/src/components/ItemList/ItemListButton/ItemListButton.js +11 -13
  1075. package/src/components/ItemList/ItemListCounter/ItemListCounter.js +2 -2
  1076. package/src/components/ItemList/icons/AddedBookmark.js +33 -0
  1077. package/src/components/ItemList/icons/BaseBookmark.js +33 -0
  1078. package/src/components/ItemList/icons/HoverBookmark.js +33 -0
  1079. package/src/components/ItemList/icons/RemoveBookmark.js +33 -0
  1080. package/src/components/ItemList/icons/index.js +4 -0
  1081. package/src/components/Layout/Layout.js +27 -5
  1082. package/src/components/List/ListBuilder.js +1 -1
  1083. package/src/components/List/ListFactory.js +13 -4
  1084. package/src/components/List/ListRender.js +56 -40
  1085. package/src/components/List/components/Full/FullRenderItem.js +44 -28
  1086. package/src/components/List/components/Pagination/Classic.js +26 -6
  1087. package/src/components/List/components/Pagination/ListPagination.js +8 -12
  1088. package/src/components/List/helpers/build-pagination-items.js +11 -3
  1089. package/src/components/List/helpers/build-pagination-url.js +2 -2
  1090. package/src/components/List/helpers/build-query-booster.js +12 -6
  1091. package/src/components/Loading/index.js +2 -2
  1092. package/src/components/MenuItem/MenuItemRender.js +30 -14
  1093. package/src/components/MenuItem/helpers/inject-helper-into-template.js +12 -2
  1094. package/src/components/SearchContent/SearchContent.js +37 -19
  1095. package/src/components/SearchContent/SearchContentResults.js +1 -1
  1096. package/src/components/SearchFilter/SearchFilter/CloseMobileForm.js +13 -9
  1097. package/src/components/SearchFilter/SearchFilter/FiltersList.js +75 -72
  1098. package/src/components/SearchFilter/SearchFilter/MobileFormToolbar.js +20 -16
  1099. package/src/components/SearchFilter/SearchFilter/ResetDesktopForm.js +22 -18
  1100. package/src/components/SearchFilter/SearchFilter/SearchFilter.js +9 -6
  1101. package/src/components/SearchFilter/SearchFilterContainer.js +16 -12
  1102. package/src/components/SearchFilter/components/Range.js +33 -16
  1103. package/src/components/SearchFilter/constants.js +0 -8
  1104. package/src/components/SearchFilter/helpers/build-new-url.js +3 -2
  1105. package/src/components/SearchFilter/helpers/build-url-query.js +10 -1
  1106. package/src/constants/index.js +8 -4
  1107. package/src/helpers/build-props-query.js +3 -2
  1108. package/src/helpers/build-query-fields.js +1 -1
  1109. package/src/helpers/get-component-id.js +12 -0
  1110. package/src/helpers/get-custom-html-properties.js +11 -0
  1111. package/src/helpers/get-image-ids.js +3 -0
  1112. package/src/helpers/index.js +2 -0
  1113. package/src/hooks/helpers/RenderComponent.js +5 -0
  1114. package/src/hooks/helpers/StoreImages.js +33 -31
  1115. package/src/hooks/index.js +1 -0
  1116. package/src/hooks/use-app-event-hook.js +34 -0
  1117. package/src/hooks/use-app-sync-event-hook.js +20 -6
  1118. package/src/hooks/use-get-image-id-from-relation.js +11 -3
  1119. package/src/index.js +6 -2
  1120. package/src/system-components/EditorMode/BlazeLogo.js +48 -0
  1121. package/src/system-components/EditorMode/PbWrapper.js +27 -0
  1122. package/src/system-components/EditorMode/constants.js +2 -0
  1123. package/src/system-components/EditorMode/helpers/add-editor-mode-event-listeners.js +101 -0
  1124. package/src/system-components/EditorMode/helpers/check-is-over-blaze-icon.js +24 -0
  1125. package/src/system-components/index.js +3 -0
  1126. package/src/translations.js +38 -0
  1127. package/src/variants/Infographic/Infographic.js +2 -2
  1128. package/src/variants/LiveBlogList/LiveBlogList.js +107 -0
  1129. package/src/variants/LiveBlogList/index.js +13 -0
  1130. package/src/variants/index.js +3 -1
  1131. package/babel.config.js +0 -3
  1132. package/example.env +0 -5
  1133. package/jest.config.js +0 -5
  1134. package/tests/helpers/mocks.js +0 -2494
  1135. package/tests/unit/src/BannerContext/helpers/set-initial-banner-counters.test.js +0 -48
  1136. package/tests/unit/src/HOC/__snapshots__/withInfiniteScroll.test.js.snap +0 -9
  1137. package/tests/unit/src/HOC/recreateOnNavigation.test.js +0 -28
  1138. package/tests/unit/src/HOC/withInfiniteScroll.test.js +0 -26
  1139. package/tests/unit/src/HOC/withTitle.test.js +0 -40
  1140. package/tests/unit/src/Layout/Layout.test.js +0 -120
  1141. package/tests/unit/src/Layout/__snapshots__/Layout.test.js.snap +0 -24
  1142. package/tests/unit/src/Layout/getMockedProps.js +0 -19
  1143. package/tests/unit/src/Layout/helpers/check-if-row-has-columns.test.js +0 -50
  1144. package/tests/unit/src/Layout/helpers/get-styles-to-update.test.js +0 -23
  1145. package/tests/unit/src/Layout/helpers/has-children.test.js +0 -38
  1146. package/tests/unit/src/components/BackToTop/BackToTop.test.js +0 -23
  1147. package/tests/unit/src/components/BackToTop/__snapshots__/BackToTop.test.js.snap +0 -3
  1148. package/tests/unit/src/components/Banner/AdSlotRender.test.js +0 -83
  1149. package/tests/unit/src/components/Banner/Banner.test.js +0 -60
  1150. package/tests/unit/src/components/Banner/BannerRender.test.js +0 -126
  1151. package/tests/unit/src/components/Banner/__snapshots__/AdSlotRender.test.js.snap +0 -80
  1152. package/tests/unit/src/components/Banner/__snapshots__/Banner.test.js.snap +0 -7
  1153. package/tests/unit/src/components/Banner/__snapshots__/BannerRender.test.js.snap +0 -15
  1154. package/tests/unit/src/components/Banner/__snapshots__/helpers.test.js.snap +0 -3
  1155. package/tests/unit/src/components/Banner/helpers.test.js +0 -271
  1156. package/tests/unit/src/components/BlazeLink.test.js +0 -68
  1157. package/tests/unit/src/components/Breadcrumb/Breadcrumb.test.js +0 -106
  1158. package/tests/unit/src/components/Breadcrumb/__snapshots__/Breadcrumb.test.js.snap +0 -103
  1159. package/tests/unit/src/components/Button.test.js +0 -143
  1160. package/tests/unit/src/components/Card/Card.test.js +0 -242
  1161. package/tests/unit/src/components/Card/CardContainer.test.js +0 -68
  1162. package/tests/unit/src/components/Card/__snapshots__/Card.test.js.snap +0 -480
  1163. package/tests/unit/src/components/Card/__snapshots__/CardContainer.test.js.snap +0 -201
  1164. package/tests/unit/src/components/Card/helpers/append-images.test.js +0 -36
  1165. package/tests/unit/src/components/Card/helpers/get-dynamic-grid-classes.test.js +0 -29
  1166. package/tests/unit/src/components/Card/helpers/get-updated-items-to-display.test.js +0 -72
  1167. package/tests/unit/src/components/Card/helpers/getPublishedListingUrl.test.js +0 -23
  1168. package/tests/unit/src/components/Card/helpers/useDynamicSizeKey.test.js +0 -14
  1169. package/tests/unit/src/components/Card/mockData.js +0 -194
  1170. package/tests/unit/src/components/Carousel/Carousel.test.js +0 -114
  1171. package/tests/unit/src/components/Carousel/CarouselImage/CarouselImage.test.js +0 -48
  1172. package/tests/unit/src/components/Carousel/CarouselImage/__snapshots__/CarouselImage.test.js.snap +0 -17
  1173. package/tests/unit/src/components/Carousel/CarouselImage/helpers.js +0 -9
  1174. package/tests/unit/src/components/Carousel/CarouselImage/mocks.js +0 -38
  1175. package/tests/unit/src/components/Carousel/CarouselRender/CarouselRender.test.js +0 -74
  1176. package/tests/unit/src/components/Carousel/CarouselRender/__snapshots__/CarouselRender.test.js.snap +0 -47
  1177. package/tests/unit/src/components/Carousel/CarouselRender/mocks.js +0 -0
  1178. package/tests/unit/src/components/Carousel/__snapshots__/Carousel.test.js.snap +0 -94
  1179. package/tests/unit/src/components/CarouselWrapper.test.js +0 -54
  1180. package/tests/unit/src/components/ClickWrapper.test.js +0 -22
  1181. package/tests/unit/src/components/Code/Code.test.js +0 -46
  1182. package/tests/unit/src/components/Code/ScriptTag.test.js +0 -21
  1183. package/tests/unit/src/components/Code/__snapshots__/Code.test.js.snap +0 -37
  1184. package/tests/unit/src/components/Code/__snapshots__/ScriptTag.test.js.snap +0 -24
  1185. package/tests/unit/src/components/Code/helpers/wrap-script-tags.test.js +0 -31
  1186. package/tests/unit/src/components/Code.test.js +0 -29
  1187. package/tests/unit/src/components/ContentGroup/ContentGroup.test.js +0 -16
  1188. package/tests/unit/src/components/ContentGroup/ContentGroupTabs.test.js +0 -35
  1189. package/tests/unit/src/components/ContentGroup/__snapshots__/ContentGroup.test.js.snap +0 -5
  1190. package/tests/unit/src/components/ContentGroup/__snapshots__/ContentGroupTabs.test.js.snap +0 -93
  1191. package/tests/unit/src/components/ContentGroup/helpers/get-active-tab.test.js +0 -28
  1192. package/tests/unit/src/components/ContentGroup/helpers/get-sections-data.test.js +0 -33
  1193. package/tests/unit/src/components/ContentGroupSection/ContentGroupSection.test.js +0 -20
  1194. package/tests/unit/src/components/ContentGroupSection/__snapshots__/ContentGroupSection.test.js.snap +0 -15
  1195. package/tests/unit/src/components/DataSummary/DataSummaryFactory.test.js +0 -67
  1196. package/tests/unit/src/components/DataSummary/DataSummaryRender.test.js +0 -41
  1197. package/tests/unit/src/components/DataSummary/DataSummaryTypes/HeadingLargeSummary.test.js +0 -33
  1198. package/tests/unit/src/components/DataSummary/DataSummaryTypes/ItemDetailsSummary.test.js +0 -23
  1199. package/tests/unit/src/components/DataSummary/DataSummaryTypes/LargeSummary.test.js +0 -23
  1200. package/tests/unit/src/components/DataSummary/DataSummaryTypes/ListSummary.test.js +0 -23
  1201. package/tests/unit/src/components/DataSummary/DataSummaryTypes/TextSummary.test.js +0 -23
  1202. package/tests/unit/src/components/DataSummary/DataSummaryTypes/__snapshots__/HeadingLargeSummary.test.js.snap +0 -11
  1203. package/tests/unit/src/components/DataSummary/DataSummaryTypes/__snapshots__/ItemDetailsSummary.test.js.snap +0 -69
  1204. package/tests/unit/src/components/DataSummary/DataSummaryTypes/__snapshots__/LargeSummary.test.js.snap +0 -109
  1205. package/tests/unit/src/components/DataSummary/DataSummaryTypes/__snapshots__/ListSummary.test.js.snap +0 -101
  1206. package/tests/unit/src/components/DataSummary/DataSummaryTypes/__snapshots__/TextSummary.test.js.snap +0 -57
  1207. package/tests/unit/src/components/DataSummary/__snapshots__/DataSummaryFactory.test.js.snap +0 -11
  1208. package/tests/unit/src/components/DataSummary/__snapshots__/DataSummaryRender.test.js.snap +0 -66
  1209. package/tests/unit/src/components/DataSummary/helpers/build-loop-props-content.test.js +0 -134
  1210. package/tests/unit/src/components/DataSummary/helpers/build-props-to-display-with-content.test.js +0 -56
  1211. package/tests/unit/src/components/DataSummary/helpers/get-data-summary-query.test.js +0 -35
  1212. package/tests/unit/src/components/DataSummary/helpers/get-link-based-on-value.test.js +0 -58
  1213. package/tests/unit/src/components/DataSummary/helpers/get-link-props.test.js +0 -35
  1214. package/tests/unit/src/components/DataSummary/helpers/get-link-to-published-content.test.js +0 -62
  1215. package/tests/unit/src/components/DataSummary/helpers/get-loop-props-limit.test.js +0 -32
  1216. package/tests/unit/src/components/DataSummary/helpers/get-prop-value.test.js +0 -67
  1217. package/tests/unit/src/components/DataSummary/helpers/get-value-from-array.test.js +0 -49
  1218. package/tests/unit/src/components/DataSummary/helpers/mocks.js +0 -90
  1219. package/tests/unit/src/components/DataSummary/helpers/parse-boolean-values.test.js +0 -28
  1220. package/tests/unit/src/components/DataSummary/helpers/strip-summary-props-content.test.js +0 -46
  1221. package/tests/unit/src/components/DataSummary/mockData.js +0 -50
  1222. package/tests/unit/src/components/DateTime/DateTime.test.js +0 -105
  1223. package/tests/unit/src/components/EmailConfirm/EmailConfirm.test.js +0 -53
  1224. package/tests/unit/src/components/EmailConfirm/__snapshots__/EmailConfirm.test.js.snap +0 -13
  1225. package/tests/unit/src/components/Iframe/Iframe.test.js +0 -21
  1226. package/tests/unit/src/components/Iframe/__snapshots__/Iframe.test.js.snap +0 -21
  1227. package/tests/unit/src/components/Image/GlobalLightbox/GlobalLightbox.test.js +0 -123
  1228. package/tests/unit/src/components/Image/GlobalLightbox/NavButton.test.js +0 -44
  1229. package/tests/unit/src/components/Image/GlobalLightbox/__snapshots__/GlobalLightbox.test.js.snap +0 -101
  1230. package/tests/unit/src/components/Image/GlobalLightbox/__snapshots__/NavButton.test.js.snap +0 -15
  1231. package/tests/unit/src/components/Image/GlobalLightbox/getMockedLightboxProps.js +0 -15
  1232. package/tests/unit/src/components/Image/GlobalLightbox/mocks.js +0 -39
  1233. package/tests/unit/src/components/Image/Image.test.js +0 -213
  1234. package/tests/unit/src/components/Image/ImageDetails.test.js +0 -41
  1235. package/tests/unit/src/components/Image/ImageFactory.test.js +0 -121
  1236. package/tests/unit/src/components/Image/ImageRender.test.js +0 -54
  1237. package/tests/unit/src/components/Image/Lightbox/Lightbox.test.js +0 -64
  1238. package/tests/unit/src/components/Image/Lightbox/__snapshots__/Lightbox.test.js.snap +0 -17
  1239. package/tests/unit/src/components/Image/Lightbox/mocks.js +0 -21
  1240. package/tests/unit/src/components/Image/__snapshots__/Image.test.js.snap +0 -74
  1241. package/tests/unit/src/components/Image/__snapshots__/ImageDetails.test.js.snap +0 -10
  1242. package/tests/unit/src/components/Image/__snapshots__/ImageFactory.test.js.snap +0 -93
  1243. package/tests/unit/src/components/Image/__snapshots__/ImageRender.test.js.snap +0 -41
  1244. package/tests/unit/src/components/Image/mocks.js +0 -255
  1245. package/tests/unit/src/components/ItemList/ItemListButton.test.js +0 -178
  1246. package/tests/unit/src/components/ItemList/ItemListCounter.test.js +0 -69
  1247. package/tests/unit/src/components/ItemList/ItemListNew.test.js +0 -167
  1248. package/tests/unit/src/components/ItemList/__snapshots__/ItemListButton.test.js.snap +0 -111
  1249. package/tests/unit/src/components/ItemList/__snapshots__/ItemListCounter.test.js.snap +0 -32
  1250. package/tests/unit/src/components/ItemList/__snapshots__/ItemListNew.test.js.snap +0 -27
  1251. package/tests/unit/src/components/ItemList/helpers/get-item-list-data.test.js +0 -28
  1252. package/tests/unit/src/components/ItemList/helpers/get-item-list-id.test.js +0 -20
  1253. package/tests/unit/src/components/ItemList/helpers/get-item-list-ids.test.js +0 -19
  1254. package/tests/unit/src/components/ItemList/helpers/set-item-list-id.test.js +0 -16
  1255. package/tests/unit/src/components/ItemList/helpers/set-param-and-redirect.test.js +0 -30
  1256. package/tests/unit/src/components/ItemList/hooks/use-item-list-id.test.js +0 -35
  1257. package/tests/unit/src/components/Layout/Layout.test.js +0 -99
  1258. package/tests/unit/src/components/Layout/LayoutFactory.test.js +0 -49
  1259. package/tests/unit/src/components/Layout/__snapshots__/Layout.test.js.snap +0 -67
  1260. package/tests/unit/src/components/LazyImage/LazyImage.test.js +0 -46
  1261. package/tests/unit/src/components/LazyImage/__snapshots__/LazyImage.test.js.snap +0 -31
  1262. package/tests/unit/src/components/List/ListRender.test.js +0 -65
  1263. package/tests/unit/src/components/List/__snapshots__/ListRender.test.js.snap +0 -36
  1264. package/tests/unit/src/components/List/components/Cards/CardsRender.test.js +0 -37
  1265. package/tests/unit/src/components/List/components/Cards/CardsRenderItem.test.js +0 -19
  1266. package/tests/unit/src/components/List/components/Cards/CardsRenderWrapper.test.js +0 -31
  1267. package/tests/unit/src/components/List/components/Cards/__snapshots__/CardsRender.test.js.snap +0 -155
  1268. package/tests/unit/src/components/List/components/Cards/__snapshots__/CardsRenderItem.test.js.snap +0 -13
  1269. package/tests/unit/src/components/List/components/Cards/__snapshots__/CardsRenderWrapper.test.js.snap +0 -31
  1270. package/tests/unit/src/components/List/components/Cards/helpers/check-if-should-render-gtm.test.js +0 -39
  1271. package/tests/unit/src/components/List/components/Full/FullRender.test.js +0 -37
  1272. package/tests/unit/src/components/List/components/Full/FullRenderItem.test.js +0 -32
  1273. package/tests/unit/src/components/List/components/Full/__snapshots__/FullRender.test.js.snap +0 -51
  1274. package/tests/unit/src/components/List/components/Full/__snapshots__/FullRenderItem.test.js.snap +0 -52
  1275. package/tests/unit/src/components/List/components/Header/ListHeader.test.js +0 -28
  1276. package/tests/unit/src/components/List/components/Header/__snapshots__/ListHeader.test.js.snap +0 -45
  1277. package/tests/unit/src/components/List/components/Pagination/Classic.test.js +0 -21
  1278. package/tests/unit/src/components/List/components/Pagination/ListPagination.test.js +0 -86
  1279. package/tests/unit/src/components/List/components/Pagination/LoadMore.test.js +0 -22
  1280. package/tests/unit/src/components/List/components/Pagination/__snapshots__/Classic.test.js.snap +0 -53
  1281. package/tests/unit/src/components/List/components/Pagination/__snapshots__/ListPagination.test.js.snap +0 -51
  1282. package/tests/unit/src/components/List/components/Pagination/__snapshots__/LoadMore.test.js.snap +0 -13
  1283. package/tests/unit/src/components/List/components/helpers/check-if-should-render-banner.test.js +0 -75
  1284. package/tests/unit/src/components/List/components/index.test.js +0 -15
  1285. package/tests/unit/src/components/List/components/mocks.js +0 -56
  1286. package/tests/unit/src/components/List/helpers/__snapshots__/build-pagination-items.test.js.snap +0 -325
  1287. package/tests/unit/src/components/List/helpers/build-az-aggregations.test.js +0 -33
  1288. package/tests/unit/src/components/List/helpers/build-az-url.test.js +0 -11
  1289. package/tests/unit/src/components/List/helpers/build-pagination-items.test.js +0 -40
  1290. package/tests/unit/src/components/List/helpers/build-pagination-url.test.js +0 -16
  1291. package/tests/unit/src/components/List/helpers/build-query-booster.test.js +0 -33
  1292. package/tests/unit/src/components/List/helpers/get-az-query-filter.test.js +0 -17
  1293. package/tests/unit/src/components/List/helpers/get-items-per-page-to-use.test.js +0 -24
  1294. package/tests/unit/src/components/List/helpers/get-list-component.test.js +0 -21
  1295. package/tests/unit/src/components/List/helpers/get-list-query.test.js +0 -55
  1296. package/tests/unit/src/components/List/helpers/get-sort-props.test.js +0 -109
  1297. package/tests/unit/src/components/List/helpers/has-required-item-list-details.test.js +0 -30
  1298. package/tests/unit/src/components/List/helpers/sort-aggs.test.js +0 -46
  1299. package/tests/unit/src/components/Loading/Loading.test.js +0 -29
  1300. package/tests/unit/src/components/Loading/__snapshots__/Loading.test.js.snap +0 -43
  1301. package/tests/unit/src/components/Menu/Menu.test.js +0 -28
  1302. package/tests/unit/src/components/Menu/__snapshots__/Menu.test.js.snap +0 -23
  1303. package/tests/unit/src/components/MenuItem/MenuEntitiesItem.test.js +0 -23
  1304. package/tests/unit/src/components/MenuItem/MenuItem.test.js +0 -49
  1305. package/tests/unit/src/components/MenuItem/MenuItemRender.test.js +0 -55
  1306. package/tests/unit/src/components/MenuItem/SubMenu.test.js +0 -30
  1307. package/tests/unit/src/components/MenuItem/__snapshots__/MenuEntitiesItem.test.js.snap +0 -3
  1308. package/tests/unit/src/components/MenuItem/__snapshots__/MenuItem.test.js.snap +0 -48
  1309. package/tests/unit/src/components/MenuItem/__snapshots__/SubMenu.test.js.snap +0 -17
  1310. package/tests/unit/src/components/MenuItem/helpers/inject-helper-into-template.test.js +0 -44
  1311. package/tests/unit/src/components/MenuItem/mocks.js +0 -71
  1312. package/tests/unit/src/components/Modal/Modal.test.js +0 -45
  1313. package/tests/unit/src/components/Modal/__snapshots__/Modal.test.js.snap +0 -17
  1314. package/tests/unit/src/components/PlaceholderIcon/__snapshots__/index.test.js.snap +0 -87
  1315. package/tests/unit/src/components/PlaceholderIcon/index.test.js +0 -20
  1316. package/tests/unit/src/components/SearchContent/SearchContent.test.js +0 -57
  1317. package/tests/unit/src/components/SearchContent/__snapshots__/SearchContent.test.js.snap +0 -73
  1318. package/tests/unit/src/components/SearchFilter/SearchFilter/CloseMobileForm.test.js +0 -35
  1319. package/tests/unit/src/components/SearchFilter/SearchFilter/FiltersList.test.js +0 -12
  1320. package/tests/unit/src/components/SearchFilter/SearchFilter/MobileFormToolbar.test.js +0 -37
  1321. package/tests/unit/src/components/SearchFilter/SearchFilter/ResetDesktopForm.test.js +0 -43
  1322. package/tests/unit/src/components/SearchFilter/SearchFilter/SearchFilter.test.js +0 -179
  1323. package/tests/unit/src/components/SearchFilter/SearchFilter/__snapshots__/CloseMobileForm.test.js.snap +0 -35
  1324. package/tests/unit/src/components/SearchFilter/SearchFilter/__snapshots__/MobileFormToolbar.test.js.snap +0 -25
  1325. package/tests/unit/src/components/SearchFilter/SearchFilter/__snapshots__/ResetDesktopForm.test.js.snap +0 -39
  1326. package/tests/unit/src/components/SearchFilter/SearchFilter/__snapshots__/SearchFilter.test.js.snap +0 -767
  1327. package/tests/unit/src/components/SearchFilter/SearchFilterContainer.test.js +0 -38
  1328. package/tests/unit/src/components/SearchFilter/__snapshots__/SearchFilterContainer.test.js.snap +0 -5
  1329. package/tests/unit/src/components/SearchFilter/components/Checkbox.test.js +0 -34
  1330. package/tests/unit/src/components/SearchFilter/components/Range.test.js +0 -122
  1331. package/tests/unit/src/components/SearchFilter/components/Select.test.js +0 -96
  1332. package/tests/unit/src/components/SearchFilter/components/TextSearch.test.js +0 -34
  1333. package/tests/unit/src/components/SearchFilter/components/__snapshots__/Checkbox.test.js.snap +0 -60
  1334. package/tests/unit/src/components/SearchFilter/components/__snapshots__/Range.test.js.snap +0 -236
  1335. package/tests/unit/src/components/SearchFilter/components/__snapshots__/Select.test.js.snap +0 -68
  1336. package/tests/unit/src/components/SearchFilter/components/__snapshots__/TextSearch.test.js.snap +0 -58
  1337. package/tests/unit/src/components/SearchFilter/helpers/build-new-url.test.js +0 -31
  1338. package/tests/unit/src/components/SearchFilter/helpers/build-query.test.js +0 -56
  1339. package/tests/unit/src/components/SearchFilter/helpers/calculate-min-max.test.js +0 -21
  1340. package/tests/unit/src/components/SearchFilter/helpers/calculate-step.test.js +0 -21
  1341. package/tests/unit/src/components/SearchFilter/helpers/check-if-range-updated.test.js +0 -27
  1342. package/tests/unit/src/components/SearchFilter/helpers/get-display-value.test.js +0 -38
  1343. package/tests/unit/src/components/SearchFilter/helpers/get-filter-value-from-query.test.js +0 -28
  1344. package/tests/unit/src/components/SearchFilter/helpers/get-initial-filter-values.test.js +0 -50
  1345. package/tests/unit/src/components/SearchFilter/helpers/get-intersected-prop.test.js +0 -12
  1346. package/tests/unit/src/components/SearchFilter/helpers/get-range-value.test.js +0 -24
  1347. package/tests/unit/src/components/SearchFilter/helpers/get-select-options.test.js +0 -46
  1348. package/tests/unit/src/components/SearchFilter/helpers/get-updated-filter-by.test.js +0 -28
  1349. package/tests/unit/src/components/SearchFilter/helpers/is-device-desktop.test.js +0 -31
  1350. package/tests/unit/src/components/SearchFilter/helpers/parse-filter-value.test.js +0 -35
  1351. package/tests/unit/src/components/SearchFilterSort/SearchFilterSort.test.js +0 -27
  1352. package/tests/unit/src/components/SearchFilterSort/__snapshots__/SearchFilterSort.test.js.snap +0 -28
  1353. package/tests/unit/src/components/SearchFilterSort/helpers/handle-sort-update.test.js +0 -53
  1354. package/tests/unit/src/components/SearchFilterSort/helpers/update-sort.test.js +0 -25
  1355. package/tests/unit/src/components/SocialFollow/SFItem.test.js +0 -22
  1356. package/tests/unit/src/components/SocialFollow/SocialFollow.test.js +0 -38
  1357. package/tests/unit/src/components/SocialFollow/__snapshots__/SFItem.test.js.snap +0 -38
  1358. package/tests/unit/src/components/SocialFollow/__snapshots__/SocialFollow.test.js.snap +0 -74
  1359. package/tests/unit/src/components/TextBlock/TextBlock.test.js +0 -82
  1360. package/tests/unit/src/components/TextBlock/__snapshots__/TextBlock.test.js.snap +0 -101
  1361. package/tests/unit/src/components/Video/Video.test.js +0 -74
  1362. package/tests/unit/src/components/Video/VideoModal.test.js +0 -18
  1363. package/tests/unit/src/components/Video/__snapshots__/Video.test.js.snap +0 -59
  1364. package/tests/unit/src/components/Video/__snapshots__/VideoModal.test.js.snap +0 -14
  1365. package/tests/unit/src/components/Video/providers/Default.test.js +0 -22
  1366. package/tests/unit/src/components/Video/providers/JWPlayer/JWPlayerProvider.test.js +0 -49
  1367. package/tests/unit/src/components/Video/providers/JWPlayer/__snapshots__/JWPlayerProvider.test.js.snap +0 -13
  1368. package/tests/unit/src/components/Video/providers/JWPlayer/mocks.js +0 -40
  1369. package/tests/unit/src/components/Video/providers/Vimeo/Vimeo.test.js +0 -13
  1370. package/tests/unit/src/components/Video/providers/Vimeo/__snapshots__/Vimeo.test.js.snap +0 -10
  1371. package/tests/unit/src/components/Video/providers/Vimeo/helpers/add-extra-params-to-url.test.js +0 -24
  1372. package/tests/unit/src/components/Video/providers/YouTube/YouTubeProvider.test.js +0 -15
  1373. package/tests/unit/src/components/Video/providers/YouTube/__snapshots__/YouTubeProvider.test.js.snap +0 -27
  1374. package/tests/unit/src/components/Video/providers/YouTube/helpers/index.test.js +0 -23
  1375. package/tests/unit/src/components/Video/providers/__snapshots__/Default.test.js.snap +0 -165
  1376. package/tests/unit/src/components/Video/providers/get-provider.test.js +0 -36
  1377. package/tests/unit/src/components/Wrapper.test.js +0 -39
  1378. package/tests/unit/src/components/__snapshots__/BlazeLink.test.js.snap +0 -15
  1379. package/tests/unit/src/components/__snapshots__/Button.test.js.snap +0 -18
  1380. package/tests/unit/src/components/__snapshots__/CarouselWrapper.test.js.snap +0 -162
  1381. package/tests/unit/src/components/__snapshots__/ClickWrapper.test.js.snap +0 -13
  1382. package/tests/unit/src/components/__snapshots__/Code.test.js.snap +0 -13
  1383. package/tests/unit/src/components/__snapshots__/Wrapper.test.js.snap +0 -34
  1384. package/tests/unit/src/components/__snapshots__/index.test.js.snap +0 -130
  1385. package/tests/unit/src/components/index.test.js +0 -7
  1386. package/tests/unit/src/constants/__snapshots__/componentsDefaultValues.test.js.snap +0 -21
  1387. package/tests/unit/src/constants/__snapshots__/index.test.js.snap +0 -3
  1388. package/tests/unit/src/constants/componentsDefaultValues.test.js +0 -8
  1389. package/tests/unit/src/constants/index.test.js +0 -7
  1390. package/tests/unit/src/helpers/__snapshots__/build-query-fields.test.js.snap +0 -29
  1391. package/tests/unit/src/helpers/__snapshots__/get-extra-az-bits.test.js.snap +0 -137
  1392. package/tests/unit/src/helpers/__snapshots__/get-wrapped-value-with-link.test.js.snap +0 -18
  1393. package/tests/unit/src/helpers/__snapshots__/parse-textBlock.test.js.snap +0 -3
  1394. package/tests/unit/src/helpers/build-az-query.test.js +0 -26
  1395. package/tests/unit/src/helpers/build-checkbox-filters.test.js +0 -30
  1396. package/tests/unit/src/helpers/build-image-properties.test.js +0 -51
  1397. package/tests/unit/src/helpers/build-inherited-filters.test.js +0 -112
  1398. package/tests/unit/src/helpers/build-link-extra-props.test.js +0 -41
  1399. package/tests/unit/src/helpers/build-props-query.test.js +0 -226
  1400. package/tests/unit/src/helpers/build-query-fields.test.js +0 -25
  1401. package/tests/unit/src/helpers/build-raw-query-base.test.js +0 -169
  1402. package/tests/unit/src/helpers/build-raw-query-stringified.test.js +0 -49
  1403. package/tests/unit/src/helpers/build-raw-query.test.js +0 -474
  1404. package/tests/unit/src/helpers/build-search-values-checkbox-select.test.js +0 -174
  1405. package/tests/unit/src/helpers/build-search-values-text.test.js +0 -57
  1406. package/tests/unit/src/helpers/build-set-filters.test.js +0 -84
  1407. package/tests/unit/src/helpers/build-sort-values.test.js +0 -54
  1408. package/tests/unit/src/helpers/check-for-error.test.js +0 -33
  1409. package/tests/unit/src/helpers/check-props-to-use.test.js +0 -32
  1410. package/tests/unit/src/helpers/get-banner-data.test.js +0 -32
  1411. package/tests/unit/src/helpers/get-card-entities.test.js +0 -27
  1412. package/tests/unit/src/helpers/get-checkbox-filters.test.js +0 -33
  1413. package/tests/unit/src/helpers/get-click-wrapper-options.test.js +0 -81
  1414. package/tests/unit/src/helpers/get-current-offset.test.js +0 -39
  1415. package/tests/unit/src/helpers/get-dictionary-match.test.js +0 -14
  1416. package/tests/unit/src/helpers/get-display-count-data.test.js +0 -49
  1417. package/tests/unit/src/helpers/get-elasticsearch-operator.test.js +0 -20
  1418. package/tests/unit/src/helpers/get-entity-data.test.js +0 -47
  1419. package/tests/unit/src/helpers/get-entity-render-props.test.js +0 -37
  1420. package/tests/unit/src/helpers/get-extra-az-bits.test.js +0 -51
  1421. package/tests/unit/src/helpers/get-filter-props.test.js +0 -82
  1422. package/tests/unit/src/helpers/get-filter-relation-keys.test.js +0 -22
  1423. package/tests/unit/src/helpers/get-generic-props.test.js +0 -21
  1424. package/tests/unit/src/helpers/get-generic-render-variables.test.js +0 -150
  1425. package/tests/unit/src/helpers/get-image-ids.test.js +0 -80
  1426. package/tests/unit/src/helpers/get-inherited-filters.test.js +0 -27
  1427. package/tests/unit/src/helpers/get-items-to-display-ids.test.js +0 -59
  1428. package/tests/unit/src/helpers/get-modifiers.test.js +0 -46
  1429. package/tests/unit/src/helpers/get-not-equal-query.test.js +0 -23
  1430. package/tests/unit/src/helpers/get-pagination-index.test.js +0 -31
  1431. package/tests/unit/src/helpers/get-parsed-prop-values.test.js +0 -66
  1432. package/tests/unit/src/helpers/get-parsed-summary-value.test.js +0 -26
  1433. package/tests/unit/src/helpers/get-prop-values.test.js +0 -38
  1434. package/tests/unit/src/helpers/get-query-filters.test.js +0 -104
  1435. package/tests/unit/src/helpers/get-query-props.test.js +0 -45
  1436. package/tests/unit/src/helpers/get-required-schemas.test.js +0 -56
  1437. package/tests/unit/src/helpers/get-sanitized-prop-values.test.js +0 -26
  1438. package/tests/unit/src/helpers/get-search-filter-type.test.js +0 -47
  1439. package/tests/unit/src/helpers/get-sort-by-field-name.test.js +0 -57
  1440. package/tests/unit/src/helpers/get-unpublished-entity-name.test.js +0 -33
  1441. package/tests/unit/src/helpers/get-updated-filter-by.test.js +0 -44
  1442. package/tests/unit/src/helpers/get-wrapped-value-with-link.test.js +0 -39
  1443. package/tests/unit/src/helpers/group-entities.test.js +0 -34
  1444. package/tests/unit/src/helpers/inject-banner.test.js +0 -39
  1445. package/tests/unit/src/helpers/inject-banners-to-entities.test.js +0 -47
  1446. package/tests/unit/src/helpers/inject-multiple-banners.test.js +0 -45
  1447. package/tests/unit/src/helpers/is-filter-entitys-id.test.js +0 -23
  1448. package/tests/unit/src/helpers/is-object.test.js +0 -21
  1449. package/tests/unit/src/helpers/is-using-relation-image.test.js +0 -12
  1450. package/tests/unit/src/helpers/parse-interval.test.js +0 -27
  1451. package/tests/unit/src/helpers/parse-props-to-display.test.js +0 -73
  1452. package/tests/unit/src/helpers/parse-textBlock.test.js +0 -33
  1453. package/tests/unit/src/helpers/prcoess-data-summary-value.test.js +0 -52
  1454. package/tests/unit/src/helpers/remove-extra-items.test.js +0 -30
  1455. package/tests/unit/src/helpers/remove-unwanted-characters.test.js +0 -70
  1456. package/tests/unit/src/helpers/render-children.test.js +0 -71
  1457. package/tests/unit/src/helpers/should-render-waypoint.test.js +0 -23
  1458. package/tests/unit/src/helpers/should-show-property.test.js +0 -20
  1459. package/tests/unit/src/helpers/sort-response-data.test.js +0 -24
  1460. package/tests/unit/src/helpers/update-childrens-parent.test.js +0 -41
  1461. package/tests/unit/src/hooks/helpers/StoreImages.test.js +0 -26
  1462. package/tests/unit/src/hooks/helpers/append-gtm-classname.test.js +0 -50
  1463. package/tests/unit/src/hooks/helpers/check-banner-insertion-set.test.js +0 -48
  1464. package/tests/unit/src/hooks/helpers/check-collisions.test.js +0 -44
  1465. package/tests/unit/src/hooks/helpers/get-banner-index.test.js +0 -39
  1466. package/tests/unit/src/hooks/helpers/get-components-to-insert-by-type.test.js +0 -38
  1467. package/tests/unit/src/hooks/helpers/getComponent.test.js +0 -30
  1468. package/tests/unit/src/hooks/helpers/inject-element-components.test.js +0 -103
  1469. package/tests/unit/src/hooks/helpers/inject-textblock-banners.test.js +0 -125
  1470. package/tests/unit/src/hooks/helpers/insert-banners.test.js +0 -127
  1471. package/tests/unit/src/hooks/helpers/split-children.test.js +0 -78
  1472. package/tests/unit/src/hooks/helpers/update-targetings.test.js +0 -13
  1473. package/tests/unit/src/hooks/use-app-sync-evet-hook.test.js +0 -50
  1474. package/tests/unit/src/hooks/use-check-mobile-screen.test.js +0 -41
  1475. package/tests/unit/src/hooks/use-get-entity-schema-as-obj.test.js +0 -46
  1476. package/tests/unit/src/hooks/use-get-image-id-from-relation.test.js +0 -92
  1477. package/tests/unit/src/hooks/use-get-images.test.js +0 -167
  1478. package/tests/unit/src/hooks/use-get-single-entity-schema.test.js +0 -80
  1479. package/tests/unit/src/utils/component-map.test.js +0 -56
  1480. package/tests/unit/src/utils/get-class-modifiers.test.js +0 -116
  1481. package/tests/unit/src/utils/get-image-data.test.js +0 -54
  1482. package/tests/unit/src/utils/get-props-to-display-modifiers.test.js +0 -14
  1483. package/tests/unit/src/utils/is-object-empty.test.js +0 -22
  1484. package/tests/unit/src/utils/variant-handler.test.js +0 -46
  1485. package/tests/unit/src/variants/LongFormGallery/LongformGallery.test.js +0 -42
  1486. package/tests/unit/src/variants/LongFormGallery/LongformGalleryImage.test.js +0 -44
  1487. package/tests/unit/src/variants/LongFormGallery/__snapshots__/LongformGallery.test.js.snap +0 -99
  1488. package/tests/unit/src/variants/LongFormGallery/__snapshots__/LongformGalleryImage.test.js.snap +0 -51
  1489. package/tests/unit/src/variants/LongFormGallery/constants.js +0 -37
  1490. package/tests/unit/src/variants/LongFormGallery/helpers/parseImageData.test.js +0 -53
  1491. package/tests/unit/src/variants/LongFormGallery/helpers/separateImages.test.js +0 -52
  1492. package/tests/unit/src/variants/LongFormGallery/helpers/shouldSkip.test.js +0 -23
  1493. package/tests/unit/src/variants/LongFormGallery/useLongformGallery.test.js +0 -36
  1494. package/tests/unit/src/variants/ThumbnailCarousel/ThumbnailCarousel.test.js +0 -29
  1495. package/tests/unit/src/variants/ThumbnailCarousel/ThumbnailImage.test.js +0 -45
  1496. package/tests/unit/src/variants/ThumbnailCarousel/__snapshots__/ThumbnailCarousel.test.js.snap +0 -71
  1497. package/tests/unit/src/variants/ThumbnailCarousel/__snapshots__/ThumbnailImage.test.js.snap +0 -19
  1498. package/tests/unit/src/variants/ThumbnailCarousel/mocks.js +0 -64
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["BOLD_TAG","BUTTON","CODE","BUTTON_ICON","ICON_BUTTON","AND","OR","AND_OPERATOR","OR_OPERATOR","TEXT_SEARCH","INFINITE","CLASSIC","SEARCH_PUBLISHED_CONTENT","SEARCH","SEARCH_TERM","RANGE","CHECKBOX","ELEMENT","MENU_ITEM","SUB_MENU","SELECT","ON_CLICK","KEYWORD","DEFAULT_LIMIT","DEFAULT_OFFSET","MOBILE_WIDTH","FEATURED","SPONSORED","STRING","OBJECT","DATE","FULL","CHILD_PROPS_TO_USE","CATEGORY_ID","PUBLISHED","ID","LINK","LOGOUT","GRAPH_QL_ERROR","HOVER","MOUSE_ENTER","MOUSE_LEAVE","CLICK","HIDE","SHOW","VISIBLE","INVISIBLE","HIDDEN","CLASS_MODIFIERS","MODIFIER","GTM_CLASS_NAME","DESKTOP","DEFAULT","TABLET","MOBILE","SIZE","BUTTON_TYPE","ICON","STYLE","WIDTH","STICKY","ALIGNMENT","PARALLAX","CAROUSEL","IMAGE","IMAGES","IMAGE_WRAPPER","END_ADUNIT","COUNT_CONTENT_HIERARCHIES","GET_BANNER","WIDTH_HEIGHT","BANNER_QUERY_PROPS","WAYPOINT_BOTTOM_OFFSET","IN_VIEW_CONFIG","once","offset","bottomOffset","HERO","HERO_WRAPPER","GET_FILE_FALLBACK","getFile","url","data","WITH_BANNER","BLANK_SPACE_UNICODE_STRING","ALL","COLUMN","ROW","GTM","GTM_DATA_ID_ATTR","CENTER","HALF","WIDE","DESK","PAGINATION_QUERY_CONST","AZ_QUERY_CONST","PB_QUERY_CONST","NEXT_STRING","PREVIOUS_STRING","LOAD_MORE_STRING","LOAD_MORE","PAGINATION_DISPLAY_LIMIT","PAGINATION_DIFFERENCE","PROPS_TO_CHECK","JW_PLAYER_TYPE_FILE","VIDEO_WRAPPER_CLASS_NAME","VIMEO_OEMBED_URL","BREAKPOINT_SIZES","sm","md","lg","xl","xxl","MAX_BANNER_HEIGHT","MIN_BANNER_HEIGHT","ALLOWED_BLOCK_TYPES","PREHEADER_PROP","HEADLINE_PROP","AZ","AZ_DEFAULT_PROP","SCROLL_OFFSET","process","env","BLAZE_SCROLL_OFFSET","BANNER_LOADING","BANNER_EMPTY","BANNER_LOADED","ANCHOR_TAG","TARGET_BLANK","DATA_SUMMARY_EMAIL_REGEX","DATA_SUMMARY_URL_REGEX","DATA_SUMMARY_TEL_REGEX","BLAZE_PB_SEARCH_FILETER_AGG_SIZE"],"sources":["../../src/constants/index.js"],"sourcesContent":["const BOLD_TAG = 'b';\nconst BUTTON = 'button';\nconst CODE = 'code';\nconst BUTTON_ICON = 'button--icon';\nconst ICON_BUTTON = 'icon-button';\nconst AND = 'AND';\nconst OR = 'OR';\nconst AND_OPERATOR = 'must';\nconst OR_OPERATOR = 'should';\nconst TEXT_SEARCH = 'text-search';\nconst INFINITE = 'infinite';\nconst CLASSIC = 'classic';\nconst SEARCH_PUBLISHED_CONTENT = 'searchPublishedContent';\nconst SEARCH = 'search';\nconst SEARCH_TERM = 'search_term';\nconst RANGE = 'range';\nconst CHECKBOX = 'checkbox';\nconst ELEMENT = 'element';\nconst MENU_ITEM = 'menuitem';\nconst SUB_MENU = 'submenu';\nconst SELECT = 'select';\nconst ON_CLICK = 'onClick';\nconst KEYWORD = 'keyword';\nconst DEFAULT_LIMIT = 50;\nconst DEFAULT_OFFSET = 0;\nconst MOBILE_WIDTH = 768;\nconst FEATURED = 'featured';\nconst SPONSORED = 'sponsored';\nconst STRING = 'string';\nconst OBJECT = 'object';\nconst DATE = 'date';\nconst FULL = 'full';\nconst CHILD_PROPS_TO_USE = ['width'];\nconst CATEGORY_ID = 'categoryId';\nconst PUBLISHED = 'published';\nconst ID = 'id';\nconst LINK = 'link';\nconst LOGOUT = 'logout';\nconst GRAPH_QL_ERROR = 'GraphQL error: ';\nconst HOVER = 'hover';\nconst MOUSE_ENTER = 'mouseenter';\nconst MOUSE_LEAVE = 'mouseleave';\nconst CLICK = 'click';\nconst HIDE = 'hide';\nconst SHOW = 'show';\nconst VISIBLE = 'visible';\nconst INVISIBLE = 'invisible';\nconst HIDDEN = 'hidden';\nconst CLASS_MODIFIERS = {\n MODIFIER: 'modifier',\n GTM_CLASS_NAME: 'gtmClassName',\n HIDE: 'hide',\n DESKTOP: 'desktop',\n DEFAULT: 'default',\n TABLET: 'tablet',\n MOBILE: 'mobile',\n SIZE: 'size',\n BUTTON_TYPE: 'buttonType',\n ICON: 'icon',\n STYLE: 'style',\n WIDTH: 'width',\n STICKY: 'sticky',\n ALIGNMENT: 'alignment',\n PARALLAX: 'parallax'\n};\nconst CAROUSEL = 'carousel';\nconst IMAGE = 'image';\nconst IMAGES = `${IMAGE}s`;\nconst IMAGE_WRAPPER = 'image__wrapper';\nconst END_ADUNIT = 'root';\nconst COUNT_CONTENT_HIERARCHIES = 'countContentHierarchies';\nconst GET_BANNER = 'getBanner';\nconst WIDTH_HEIGHT = 'width height';\nconst BANNER_QUERY_PROPS = `sizes { ${WIDTH_HEIGHT} viewports { ${WIDTH_HEIGHT} } }`;\nconst WAYPOINT_BOTTOM_OFFSET = '-200px';\nconst IN_VIEW_CONFIG = {\n once: true,\n offset: '200px',\n bottomOffset: '-200px'\n};\nconst HERO = 'hero';\nconst HERO_WRAPPER = 'hero__wrapper';\n\nconst GET_FILE_FALLBACK = {\n getFile: { url: '', data: {} }\n};\n\nconst WITH_BANNER = ' with-banner';\nconst BLANK_SPACE_UNICODE_STRING = '\\u00A0';\nconst ALL = 'ALL';\nconst COLUMN = 'column';\nconst ROW = 'row';\nconst GTM = 'gtm';\nconst GTM_DATA_ID_ATTR = 'data-gtm-id';\nconst CENTER = 'center';\nconst HALF = 'half';\nconst WIDE = 'wide';\nconst DESK = 'desk';\nconst TABLET = 'tablet';\nconst MOBILE = 'mobile';\nconst ALIGNMENT = 'alignment';\nconst PAGINATION_QUERY_CONST = '[page]';\nconst AZ_QUERY_CONST = '[aZ]';\nconst PB_QUERY_CONST = 'pb';\nconst NEXT_STRING = 'Next';\nconst PREVIOUS_STRING = 'Previous';\nconst LOAD_MORE_STRING = 'Load More';\nconst LOAD_MORE = 'loadMore';\nconst PAGINATION_DISPLAY_LIMIT = 10;\nconst PAGINATION_DIFFERENCE = 5;\n\nconst PROPS_TO_CHECK = [\n ['altText', 'alt'],\n ['caption', 'caption'],\n ['hrefUrl', 'hrefUrl'],\n ['credits', 'credits']\n];\n\nconst JW_PLAYER_TYPE_FILE = 'file';\nconst VIDEO_WRAPPER_CLASS_NAME = 'video__wrapper';\nconst VIMEO_OEMBED_URL = 'https://vimeo.com/api/oembed.json';\nconst BREAKPOINT_SIZES = {\n sm: 'sm',\n md: 'md',\n lg: 'lg',\n xl: 'xl',\n xxl: '2xl'\n};\n\nconst MAX_BANNER_HEIGHT = 250;\nconst MIN_BANNER_HEIGHT = 90;\nconst ALLOWED_BLOCK_TYPES = ['p', 'ul', 'ol'];\n\nconst PREHEADER_PROP = 'alternativePreHeader';\nconst HEADLINE_PROP = 'alternativeHeadline';\nconst AZ = [\n 'A',\n 'B',\n 'C',\n 'D',\n 'E',\n 'F',\n 'G',\n 'H',\n 'I',\n 'J',\n 'K',\n 'L',\n 'M',\n 'N',\n 'O',\n 'P',\n 'Q',\n 'R',\n 'S',\n 'T',\n 'U',\n 'V',\n 'W',\n 'X',\n 'Y',\n 'Z'\n];\n\nconst AZ_DEFAULT_PROP = 'name';\n\nconst SCROLL_OFFSET = process.env.BLAZE_SCROLL_OFFSET || 50;\n\nconst BANNER_LOADING = 'loading';\nconst BANNER_EMPTY = 'empty';\nconst BANNER_LOADED = 'loaded';\nconst ANCHOR_TAG = 'a';\nconst TARGET_BLANK = '_blank';\n\nconst DATA_SUMMARY_EMAIL_REGEX = /^([a-z0-9_\\.\\+-]+)@([\\da-z\\.-]+)\\.([a-z\\.]{2,6})$/;\nconst DATA_SUMMARY_URL_REGEX =\n /(https?:\\/\\/)?(www\\.)?[-a-zA-Z0-9@:%._\\+~#=]{2,256}\\.[a-z]{2,6}\\b([-a-zA-Z0-9@:%_\\+.~#?&//=]*)/;\nconst DATA_SUMMARY_TEL_REGEX = /^\\+{0,1}[0-9\\(\\)\\.\\- \\/]{7,}$/; // note: very loose phone number match not for validation\nconst SIZE = process.env.BLAZE_PB_SEARCH_FILETER_AGG_SIZE || 500;\n\nexport {\n BANNER_LOADING,\n BANNER_EMPTY,\n BANNER_LOADED,\n BLANK_SPACE_UNICODE_STRING,\n BOLD_TAG,\n BUTTON,\n BUTTON_ICON,\n ICON_BUTTON,\n AND,\n AND_OPERATOR,\n OR_OPERATOR,\n TEXT_SEARCH,\n SEARCH_PUBLISHED_CONTENT,\n SEARCH,\n SEARCH_TERM,\n RANGE,\n CHECKBOX,\n SELECT,\n KEYWORD,\n OR,\n DEFAULT_LIMIT,\n DEFAULT_OFFSET,\n FEATURED,\n SPONSORED,\n STRING,\n DATE,\n FULL,\n CHILD_PROPS_TO_USE,\n CATEGORY_ID,\n PUBLISHED,\n ID,\n LINK,\n CLASS_MODIFIERS,\n END_ADUNIT,\n COUNT_CONTENT_HIERARCHIES,\n GET_BANNER,\n BANNER_QUERY_PROPS,\n CAROUSEL,\n IMAGE,\n IMAGES,\n IMAGE_WRAPPER,\n IN_VIEW_CONFIG,\n GET_FILE_FALLBACK,\n HERO,\n HERO_WRAPPER,\n WITH_BANNER,\n ALL,\n COLUMN,\n ROW,\n GTM,\n GTM_DATA_ID_ATTR,\n PROPS_TO_CHECK,\n CENTER,\n HALF,\n WIDE,\n DESK,\n TABLET,\n MOBILE,\n ALIGNMENT,\n OBJECT,\n ON_CLICK,\n WAYPOINT_BOTTOM_OFFSET,\n JW_PLAYER_TYPE_FILE,\n CODE,\n VIDEO_WRAPPER_CLASS_NAME,\n PAGINATION_QUERY_CONST,\n PB_QUERY_CONST,\n INFINITE,\n NEXT_STRING,\n PREVIOUS_STRING,\n PAGINATION_DISPLAY_LIMIT,\n PAGINATION_DIFFERENCE,\n LOAD_MORE_STRING,\n LOAD_MORE,\n CLASSIC,\n BREAKPOINT_SIZES,\n LOGOUT,\n MIN_BANNER_HEIGHT,\n MAX_BANNER_HEIGHT,\n GRAPH_QL_ERROR,\n HOVER,\n MOUSE_ENTER,\n MOUSE_LEAVE,\n CLICK,\n SHOW,\n HIDE,\n VISIBLE,\n INVISIBLE,\n MOBILE_WIDTH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cAAc,EACdC,KAAK,EACLC,WAAW,EACXC,WAAW,EACXC,KAAK,EACLE,IAAI,EACJD,IAAI,EACJE,OAAO,EACPC,SAAS,EACTrB,YAAY,EACZsB,MAAM,EACN7B,SAAS,EACTC,QAAQ,EACRF,OAAO,EACPkG,mBAAmB,EACnBC,cAAc,EACdC,aAAa,EACbtB,cAAc,EACdwB,eAAe,EACfD,EAAE,EACFE,aAAa,EACbO,UAAU,EACVC,YAAY,EACZC,wBAAwB,EACxBC,sBAAsB,EACtBC,sBAAsB,EACtBzB,gBAAgB,EAChBnD,IAAI","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["BOLD_TAG","BUTTON","CODE","BUTTON_ICON","ICON_BUTTON","AND","OR","AND_OPERATOR","OR_OPERATOR","TEXT_SEARCH","INFINITE","CLASSIC","SEARCH_PUBLISHED_CONTENT","SEARCH","SEARCH_TERM","RANGE","CHECKBOX","ELEMENT","MENU_ITEM","SUB_MENU","SELECT","ON_CLICK","KEYWORD","DEFAULT_LIMIT","DEFAULT_OFFSET","MOBILE_WIDTH","FEATURED","SPONSORED","STRING","OBJECT","DATE","FULL","CHILD_PROPS_TO_USE","CATEGORY_ID","PUBLISHED","ID","LINK","LOGOUT","GRAPH_QL_ERROR","PRIORITY_HIGH","HOVER","MOUSE_ENTER","MOUSE_LEAVE","CLICK","HIDE","SHOW","VISIBLE","INVISIBLE","HIDDEN","CLASS_MODIFIERS","MODIFIER","GTM_CLASS_NAME","DESKTOP","DEFAULT","TABLET","MOBILE","SIZE","BUTTON_TYPE","ICON","STYLE","WIDTH","STICKY","ALIGNMENT","PARALLAX","CAROUSEL","IMAGE","IMAGES","IMAGE_WRAPPER","END_ADUNIT","COUNT_CONTENT_HIERARCHIES","GET_BANNER","WIDTH_HEIGHT","BANNER_QUERY_PROPS","WAYPOINT_BOTTOM_OFFSET","IN_VIEW_CONFIG","once","offset","bottomOffset","HERO","HERO_WRAPPER","GET_FILE_FALLBACK","getFile","url","data","WITH_BANNER","BLANK_SPACE_UNICODE_STRING","ALL","COLUMN","ROW","GTM","GTM_DATA_ID_ATTR","CENTER","HALF","WIDE","DESK","PAGINATION_QUERY_CONST","AZ_QUERY_CONST","PB_QUERY_CONST","NEXT_STRING","PREVIOUS_STRING","LOAD_MORE_STRING","LOAD_MORE","PAGINATION_DISPLAY_LIMIT","PAGINATION_DIFFERENCE","PROPS_TO_CHECK","JW_PLAYER_TYPE_FILE","VIDEO_WRAPPER_CLASS_NAME","VIMEO_OEMBED_URL","BREAKPOINT_SIZES","sm","md","lg","xl","xxl","MAX_BANNER_HEIGHT","MIN_BANNER_HEIGHT","ALLOWED_BLOCK_TYPES","PREHEADER_PROP","HEADLINE_PROP","AZ","AZ_DEFAULT_PROP","BANNER_LOADING","BANNER_EMPTY","BANNER_LOADED","ANCHOR_TAG","TARGET_BLANK","DATA_SUMMARY_EMAIL_REGEX","DATA_SUMMARY_URL_REGEX","DATA_SUMMARY_TEL_REGEX","process","env","BLAZE_PB_SEARCH_FILETER_AGG_SIZE","TRANSLATION_NAMESPACE","COMPONENT_ID_PREFIX"],"sources":["../../src/constants/index.js"],"sourcesContent":["const BOLD_TAG = 'b';\nconst BUTTON = 'button';\nconst CODE = 'code';\nconst BUTTON_ICON = 'button--icon';\nconst ICON_BUTTON = 'icon-button';\nconst AND = 'AND';\nconst OR = 'OR';\nconst AND_OPERATOR = 'must';\nconst OR_OPERATOR = 'should';\nconst TEXT_SEARCH = 'text-search';\nconst INFINITE = 'infinite';\nconst CLASSIC = 'classic';\nconst SEARCH_PUBLISHED_CONTENT = 'searchPublishedContent';\nconst SEARCH = 'search';\nconst SEARCH_TERM = 'search_term';\nconst RANGE = 'range';\nconst CHECKBOX = 'checkbox';\nconst ELEMENT = 'element';\nconst MENU_ITEM = 'menuitem';\nconst SUB_MENU = 'submenu';\nconst SELECT = 'select';\nconst ON_CLICK = 'onClick';\nconst KEYWORD = 'keyword';\nconst DEFAULT_LIMIT = 50;\nconst DEFAULT_OFFSET = 0;\nconst MOBILE_WIDTH = 768;\nconst FEATURED = 'featured';\nconst SPONSORED = 'sponsored';\nconst STRING = 'string';\nconst OBJECT = 'object';\nconst DATE = 'date';\nconst FULL = 'full';\nconst CHILD_PROPS_TO_USE = ['width'];\nconst CATEGORY_ID = 'categoryId';\nconst PUBLISHED = 'published';\nconst ID = 'id';\nconst LINK = 'link';\nconst LOGOUT = 'logout';\nconst GRAPH_QL_ERROR = 'GraphQL error: ';\nconst PRIORITY_HIGH = 'high';\nconst HOVER = 'hover';\nconst MOUSE_ENTER = 'mouseenter';\nconst MOUSE_LEAVE = 'mouseleave';\nconst CLICK = 'click';\nconst HIDE = 'hide';\nconst SHOW = 'show';\nconst VISIBLE = 'visible';\nconst INVISIBLE = 'invisible';\nconst HIDDEN = 'hidden';\nconst CLASS_MODIFIERS = {\n MODIFIER: 'modifier',\n GTM_CLASS_NAME: 'gtmClassName',\n HIDE: 'hide',\n DESKTOP: 'desktop',\n DEFAULT: 'default',\n TABLET: 'tablet',\n MOBILE: 'mobile',\n SIZE: 'size',\n BUTTON_TYPE: 'buttonType',\n ICON: 'icon',\n STYLE: 'style',\n WIDTH: 'width',\n STICKY: 'sticky',\n ALIGNMENT: 'alignment',\n PARALLAX: 'parallax'\n};\nconst CAROUSEL = 'carousel';\nconst IMAGE = 'image';\nconst IMAGES = `${IMAGE}s`;\nconst IMAGE_WRAPPER = 'image__wrapper';\nconst END_ADUNIT = 'root';\nconst COUNT_CONTENT_HIERARCHIES = 'countContentHierarchies';\nconst GET_BANNER = 'getBanner';\nconst WIDTH_HEIGHT = 'width height';\nconst BANNER_QUERY_PROPS = `sizes { ${WIDTH_HEIGHT} viewports { ${WIDTH_HEIGHT} } }`;\nconst WAYPOINT_BOTTOM_OFFSET = '-200px';\nconst IN_VIEW_CONFIG = {\n once: true,\n offset: '200px',\n bottomOffset: '-200px'\n};\nconst HERO = 'hero';\nconst HERO_WRAPPER = 'hero__wrapper';\n\nconst GET_FILE_FALLBACK = {\n getFile: { url: '', data: {} }\n};\n\nconst WITH_BANNER = ' with-banner';\nconst BLANK_SPACE_UNICODE_STRING = '\\u00A0';\nconst ALL = 'ALL';\nconst COLUMN = 'column';\nconst ROW = 'row';\nconst GTM = 'gtm';\nconst GTM_DATA_ID_ATTR = 'data-gtm-id';\nconst CENTER = 'center';\nconst HALF = 'half';\nconst WIDE = 'wide';\nconst DESK = 'desk';\nconst TABLET = 'tablet';\nconst MOBILE = 'mobile';\nconst ALIGNMENT = 'alignment';\nconst PAGINATION_QUERY_CONST = '[page]';\nconst AZ_QUERY_CONST = '[aZ]';\nconst PB_QUERY_CONST = 'pb';\nconst NEXT_STRING = 'Next';\nconst PREVIOUS_STRING = 'Previous';\nconst LOAD_MORE_STRING = 'Load More';\nconst LOAD_MORE = 'loadMore';\nconst PAGINATION_DISPLAY_LIMIT = 10;\nconst PAGINATION_DIFFERENCE = 5;\n\nconst PROPS_TO_CHECK = [\n ['altText', 'alt'],\n ['caption', 'caption'],\n ['hrefUrl', 'hrefUrl'],\n ['credits', 'credits']\n];\n\nconst JW_PLAYER_TYPE_FILE = 'file';\nconst VIDEO_WRAPPER_CLASS_NAME = 'video__wrapper';\nconst VIMEO_OEMBED_URL = 'https://vimeo.com/api/oembed.json';\nconst BREAKPOINT_SIZES = {\n sm: 'sm',\n md: 'md',\n lg: 'lg',\n xl: 'xl',\n xxl: '2xl'\n};\n\nconst MAX_BANNER_HEIGHT = 250;\nconst MIN_BANNER_HEIGHT = 90;\nconst ALLOWED_BLOCK_TYPES = ['p', 'ul', 'ol'];\n\nconst PREHEADER_PROP = 'alternativePreHeader';\nconst HEADLINE_PROP = 'alternativeHeadline';\nconst AZ = [\n 'A',\n 'B',\n 'C',\n 'D',\n 'E',\n 'F',\n 'G',\n 'H',\n 'I',\n 'J',\n 'K',\n 'L',\n 'M',\n 'N',\n 'O',\n 'P',\n 'Q',\n 'R',\n 'S',\n 'T',\n 'U',\n 'V',\n 'W',\n 'X',\n 'Y',\n 'Z'\n];\n\nconst AZ_DEFAULT_PROP = 'name';\n\nconst BANNER_LOADING = 'loading';\nconst BANNER_EMPTY = 'empty';\nconst BANNER_LOADED = 'loaded';\nconst ANCHOR_TAG = 'a';\nconst TARGET_BLANK = '_blank';\n\nconst DATA_SUMMARY_EMAIL_REGEX = /^([a-z0-9_\\.\\+-]+)@([\\da-z\\.-]+)\\.([a-z\\.]{2,6})$/;\nconst DATA_SUMMARY_URL_REGEX =\n /(https?:\\/\\/)?(www\\.)?[-a-zA-Z0-9@:%._\\+~#=]{2,256}\\.[a-z]{2,6}\\b([-a-zA-Z0-9@:%_\\+.~#?&//=]*)/;\nconst DATA_SUMMARY_TEL_REGEX = /^\\+{0,1}[0-9\\(\\)\\.\\- \\/]{7,}$/; // note: very loose phone number match not for validation\nconst SIZE = process.env.BLAZE_PB_SEARCH_FILETER_AGG_SIZE || 500;\n\nconst TRANSLATION_NAMESPACE = 'page-builder-fe';\nconst COMPONENT_ID_PREFIX = 'pb-';\n\nexport {\n BANNER_LOADING,\n BANNER_EMPTY,\n BANNER_LOADED,\n BLANK_SPACE_UNICODE_STRING,\n BOLD_TAG,\n BUTTON,\n BUTTON_ICON,\n ICON_BUTTON,\n AND,\n AND_OPERATOR,\n OR_OPERATOR,\n TEXT_SEARCH,\n SEARCH_PUBLISHED_CONTENT,\n SEARCH,\n SEARCH_TERM,\n RANGE,\n CHECKBOX,\n SELECT,\n KEYWORD,\n OR,\n DEFAULT_LIMIT,\n DEFAULT_OFFSET,\n FEATURED,\n SPONSORED,\n STRING,\n DATE,\n FULL,\n CHILD_PROPS_TO_USE,\n CATEGORY_ID,\n PUBLISHED,\n ID,\n LINK,\n CLASS_MODIFIERS,\n END_ADUNIT,\n COUNT_CONTENT_HIERARCHIES,\n GET_BANNER,\n BANNER_QUERY_PROPS,\n CAROUSEL,\n IMAGE,\n IMAGES,\n IMAGE_WRAPPER,\n IN_VIEW_CONFIG,\n GET_FILE_FALLBACK,\n HERO,\n HERO_WRAPPER,\n WITH_BANNER,\n ALL,\n COLUMN,\n ROW,\n GTM,\n GTM_DATA_ID_ATTR,\n PROPS_TO_CHECK,\n CENTER,\n HALF,\n WIDE,\n DESK,\n TABLET,\n MOBILE,\n ALIGNMENT,\n OBJECT,\n ON_CLICK,\n WAYPOINT_BOTTOM_OFFSET,\n JW_PLAYER_TYPE_FILE,\n CODE,\n VIDEO_WRAPPER_CLASS_NAME,\n PAGINATION_QUERY_CONST,\n PB_QUERY_CONST,\n INFINITE,\n NEXT_STRING,\n PREVIOUS_STRING,\n PAGINATION_DISPLAY_LIMIT,\n PAGINATION_DIFFERENCE,\n LOAD_MORE_STRING,\n LOAD_MORE,\n CLASSIC,\n BREAKPOINT_SIZES,\n LOGOUT,\n MIN_BANNER_HEIGHT,\n MAX_BANNER_HEIGHT,\n GRAPH_QL_ERROR,\n PRIORITY_HIGH,\n HOVER,\n MOUSE_ENTER,\n MOUSE_LEAVE,\n CLICK,\n SHOW,\n HIDE,\n VISIBLE,\n INVISIBLE,\n MOBILE_WIDTH,\n HIDDEN,\n MENU_ITEM,\n SUB_MENU,\n ELEMENT,\n ALLOWED_BLOCK_TYPES,\n PREHEADER_PROP,\n HEADLINE_PROP,\n AZ_QUERY_CONST,\n AZ_DEFAULT_PROP,\n AZ,\n ANCHOR_TAG,\n TARGET_BLANK,\n DATA_SUMMARY_EMAIL_REGEX,\n DATA_SUMMARY_URL_REGEX,\n DATA_SUMMARY_TEL_REGEX,\n VIMEO_OEMBED_URL,\n SIZE,\n TRANSLATION_NAMESPACE,\n COMPONENT_ID_PREFIX\n};\n"],"mappings":"AAAA,MAAMA,QAAQ,GAAG,GAAG;AACpB,MAAMC,MAAM,GAAG,QAAQ;AACvB,MAAMC,IAAI,GAAG,MAAM;AACnB,MAAMC,WAAW,GAAG,cAAc;AAClC,MAAMC,WAAW,GAAG,aAAa;AACjC,MAAMC,GAAG,GAAG,KAAK;AACjB,MAAMC,EAAE,GAAG,IAAI;AACf,MAAMC,YAAY,GAAG,MAAM;AAC3B,MAAMC,WAA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EACXC,SAAS,EACTC,EAAE,EACFC,IAAI,EACJa,eAAe,EACfmB,UAAU,EACVC,yBAAyB,EACzBC,UAAU,EACVE,kBAAkB,EAClBR,QAAQ,EACRC,KAAK,EACLC,MAAM,EACNC,aAAa,EACbO,cAAc,EACdM,iBAAiB,EACjBF,IAAI,EACJC,YAAY,EACZK,WAAW,EACXE,GAAG,EACHC,MAAM,EACNC,GAAG,EACHC,GAAG,EACHC,gBAAgB,EAChBc,cAAc,EACdb,MAAM,EACNC,IAAI,EACJC,IAAI,EACJC,IAAI,EACJxC,MAAM,EACNC,MAAM,EACNO,SAAS,EACTjC,MAAM,EACNR,QAAQ,EACRoD,sBAAsB,EACtBgC,mBAAmB,EACnBvG,IAAI,EACJwG,wBAAwB,EACxBX,sBAAsB,EACtBE,cAAc,EACdvF,QAAQ,EACRwF,WAAW,EACXC,eAAe,EACfG,wBAAwB,EACxBC,qBAAqB,EACrBH,gBAAgB,EAChBC,SAAS,EACT1F,OAAO,EACPiG,gBAAgB,EAChBvE,MAAM,EACN8E,iBAAiB,EACjBD,iBAAiB,EACjB5E,cAAc,EACdC,aAAa,EACbC,KAAK,EACLC,WAAW,EACXC,WAAW,EACXC,KAAK,EACLE,IAAI,EACJD,IAAI,EACJE,OAAO,EACPC,SAAS,EACTtB,YAAY,EACZuB,MAAM,EACN9B,SAAS,EACTC,QAAQ,EACRF,OAAO,EACPmG,mBAAmB,EACnBC,cAAc,EACdC,aAAa,EACbtB,cAAc,EACdwB,eAAe,EACfD,EAAE,EACFK,UAAU,EACVC,YAAY,EACZC,wBAAwB,EACxBC,sBAAsB,EACtBC,sBAAsB,EACtBrB,gBAAgB,EAChBnD,IAAI,EACJ4E,qBAAqB,EACrBC,mBAAmB","ignoreList":[]}
@@ -64,7 +64,7 @@ const getTypeBaseProps = (entitySchema, cardOptions, extraPropsHaveCategory) =>
64
64
  dynamicProperties,
65
65
  relations
66
66
  } = entitySchema;
67
- const isContent = !!interfaces.includes('content/content');
67
+ const isContent = !!interfaces.includes('content/content-base');
68
68
  const hasCategory = checkProps(properties) || checkProps(dynamicProperties);
69
69
  const hasPreheader = properties[PREHEADER_PROP];
70
70
  const typeBasedProps = [...defaultProps];
@@ -81,7 +81,9 @@ const getTypeBaseProps = (entitySchema, cardOptions, extraPropsHaveCategory) =>
81
81
  shouldAddCategoryProps
82
82
  };
83
83
  };
84
- const getContentProps = isContent => isContent ? ['url', 'sponsored', 'featured'] : [];
84
+
85
+ // make sure all props are supported by content/content-base interface
86
+ const getContentProps = isContent => isContent ? ['url', 'sponsored', 'featured', 'live'] : [];
85
87
  const getCategoyProps = (shouldAddCategoryProps, hasCategory, hasPreheader) => {
86
88
  if (!shouldAddCategoryProps) return [];
87
89
  const props = [];
@@ -1 +1 @@
1
- {"version":3,"file":"build-props-query.js","names":["CATEGORY_ID","ID","PREHEADER_PROP","HEADLINE_PROP","defaultProps","categoryProps","checkProps","props","Object","keys","filter","prop","length","buildPropsQuery","entitySchema","extraProps","cardOptions","linkProps","parsedSchema","getEntitySchema","extraPropsHaveCategory","includes","typeBasedProps","shouldAddCategoryProps","getTypeBaseProps","allProps","uniqueProps","Set","basicProps","nestedProps","forEach","push","base","nested","split","complexProps","buildComplexProps","join","relations","dynamicProperties","properties","map","hasLink","find","linkProp","matchingProperty","matchingRelation","localField","matchingDynamicProp","dynamicKey","jointNestedProps","isCard","displayCategory","displayThumbnail","interfaces","isContent","hasCategory","hasPreheader","getCategoyProps","getContentProps","url"],"sources":["../../src/helpers/build-props-query.js"],"sourcesContent":["import { CATEGORY_ID, ID, PREHEADER_PROP, HEADLINE_PROP } from '../constants';\n\nconst defaultProps = [ID, 'name'];\nconst categoryProps = 'id publishedListingPage{id, url}';\n\nconst checkProps = props =>\n !!(props && Object.keys(props).filter(prop => prop === CATEGORY_ID).length);\n\nconst buildPropsQuery = (entitySchema, extraProps = [], cardOptions = null, linkProps = []) => {\n const parsedSchema = entitySchema.getEntitySchema ? entitySchema.getEntitySchema : entitySchema;\n const extraPropsHaveCategory = !!extraProps.filter(prop => prop.includes('category.')).length;\n const { typeBasedProps, shouldAddCategoryProps } = getTypeBaseProps(\n parsedSchema,\n cardOptions,\n extraPropsHaveCategory\n );\n\n const allProps = [...typeBasedProps, ...extraProps];\n const uniqueProps = [...new Set([...allProps])];\n const basicProps = [];\n const nestedProps = {};\n uniqueProps.forEach(prop => {\n if (prop) {\n if (!prop.includes('.')) {\n basicProps.push(prop);\n return;\n }\n const [base, nested] = prop.split('.');\n if (!nestedProps[base]) nestedProps[base] = [nested];\n else nestedProps[base].push(nested);\n }\n });\n\n const complexProps = buildComplexProps(\n shouldAddCategoryProps,\n nestedProps,\n parsedSchema,\n linkProps\n );\n\n return [...basicProps, ...complexProps].join(',');\n};\n\nconst buildComplexProps = (\n shouldAddCategoryProps,\n props,\n { relations = [], dynamicProperties = {}, properties = {} },\n linkProps\n) =>\n Object.keys(props).map(base => {\n const nestedProps = props[base];\n const hasLink = !!linkProps.find(linkProp => linkProp.includes(base));\n const matchingProperty = !!properties[base];\n const matchingRelation = relations.find(({ localField }) => localField === base);\n const matchingDynamicProp = Object.keys(dynamicProperties).find(\n dynamicKey => dynamicKey === base\n );\n\n if (matchingRelation && !nestedProps.includes('id')) nestedProps.push('id');\n if (hasLink && (!!matchingProperty || !!matchingRelation || !!matchingDynamicProp))\n nestedProps.push('url');\n const jointNestedProps = nestedProps.join(',');\n if (base === 'category' && shouldAddCategoryProps)\n return `${base}{${jointNestedProps}, ${categoryProps}}`;\n if (base.includes('published')) {\n return `${base}{${jointNestedProps},url}`;\n }\n return `${base}{${jointNestedProps}}`;\n });\n\nconst getTypeBaseProps = (entitySchema, cardOptions, extraPropsHaveCategory) => {\n const isCard = !!cardOptions;\n const { displayCategory = true, displayThumbnail = true } = cardOptions || {};\n\n const shouldAddCategoryProps =\n (isCard && displayCategory) || (!isCard && !extraPropsHaveCategory);\n\n if (!isCard) return { typeBasedProps: [ID], shouldAddCategoryProps };\n\n const { interfaces, properties, dynamicProperties, relations } = entitySchema;\n\n const isContent = !!interfaces.includes('content/content');\n const hasCategory = checkProps(properties) || checkProps(dynamicProperties);\n const hasPreheader = properties[PREHEADER_PROP];\n\n const typeBasedProps = [...defaultProps];\n\n typeBasedProps.push(...getCategoyProps(shouldAddCategoryProps, hasCategory, hasPreheader));\n typeBasedProps.push(...getContentProps(isContent));\n\n if (properties.url || dynamicProperties.url) typeBasedProps.push('url');\n\n if (displayThumbnail && relations.find(({ localField }) => localField === 'image')) {\n typeBasedProps.push('image.id', 'image.url', 'image.data');\n }\n\n return { typeBasedProps, shouldAddCategoryProps };\n};\n\nconst getContentProps = isContent => (isContent ? ['url', 'sponsored', 'featured'] : []);\n\nconst getCategoyProps = (shouldAddCategoryProps, hasCategory, hasPreheader) => {\n if (!shouldAddCategoryProps) return [];\n const props = [];\n if (hasCategory)\n props.push('category.name', 'category.listingPageId', 'category.listingPageEntity');\n\n if (hasPreheader) {\n props.push(`${PREHEADER_PROP}{name}`);\n props.push(HEADLINE_PROP);\n }\n\n return props;\n};\n\nexport default buildPropsQuery;\n"],"mappings":"AAAA,SAASA,WAAW,EAAEC,EAAE,EAAEC,cAAc,EAAEC,aAAa,QAAQ,cAAc;AAE7E,MAAMC,YAAY,GAAG,CAACH,EAAE,EAAE,MAAM,CAAC;AACjC,MAAMI,aAAa,GAAG,kCAAkC;AAExD,MAAMC,UAAU,GAAGC,KAAK,IACtB,CAAC,EAAEA,KAAK,IAAIC,MAAM,CAACC,IAAI,CAACF,KAAK,CAAC,CAACG,MAAM,CAACC,IAAI,IAAIA,IAAI,KAAKX,WAAW,CAAC,CAACY,MAAM,CAAC;AAE7E,MAAMC,eAAe,GAAGA,CAACC,YAAY,EAAEC,UAAU,GAAG,EAAE,EAAEC,WAAW,GAAG,IAAI,EAAEC,SAAS,GAAG,EAAE,KAAK;EAC7F,MAAMC,YAAY,GAAGJ,YAAY,CAACK,eAAe,GAAGL,YAAY,CAACK,eAAe,GAAGL,YAAY;EAC/F,MAAMM,sBAAsB,GAAG,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AAE,WAAW,EAAE,YAAY,CAAC;EAC5D;EAEA,OAAO;IAAET,cAAc;IAAEC;EAAuB,CAAC;AACnD,CAAC;AAED,MAAMoC,eAAe,GAAGJ,SAAS,IAAKA,SAAS,GAAG,CAAC,KAAK,EAAE,WAAW,EAAE,UAAU,CAAC,GAAG,EAAG;AAExF,MAAMG,eAAe,GAAGA,CAACnC,sBAAsB,EAAEiC,WAAW,EAAEC,YAAY,KAAK;EAC7E,IAAI,CAAClC,sBAAsB,EAAE,OAAO,EAAE;EACtC,MAAMhB,KAAK,GAAG,EAAE;EAChB,IAAIiD,WAAW,EACbjD,KAAK,CAACwB,IAAI,CAAC,eAAe,EAAE,wBAAwB,EAAE,4BAA4B,CAAC;EAErF,IAAI0B,YAAY,EAAE;IAChBlD,KAAK,CAACwB,IAAI,CAAC,GAAG7B,cAAc,QAAQ,CAAC;IACrCK,KAAK,CAACwB,IAAI,CAAC5B,aAAa,CAAC;EAC3B;EAEA,OAAOI,KAAK;AACd,CAAC;AAED,eAAeM,eAAe","ignoreList":[]}
1
+ {"version":3,"file":"build-props-query.js","names":["CATEGORY_ID","ID","PREHEADER_PROP","HEADLINE_PROP","defaultProps","categoryProps","checkProps","props","Object","keys","filter","prop","length","buildPropsQuery","entitySchema","extraProps","cardOptions","linkProps","parsedSchema","getEntitySchema","extraPropsHaveCategory","includes","typeBasedProps","shouldAddCategoryProps","getTypeBaseProps","allProps","uniqueProps","Set","basicProps","nestedProps","forEach","push","base","nested","split","complexProps","buildComplexProps","join","relations","dynamicProperties","properties","map","hasLink","find","linkProp","matchingProperty","matchingRelation","localField","matchingDynamicProp","dynamicKey","jointNestedProps","isCard","displayCategory","displayThumbnail","interfaces","isContent","hasCategory","hasPreheader","getCategoyProps","getContentProps","url"],"sources":["../../src/helpers/build-props-query.js"],"sourcesContent":["import { CATEGORY_ID, ID, PREHEADER_PROP, HEADLINE_PROP } from '../constants';\n\nconst defaultProps = [ID, 'name'];\nconst categoryProps = 'id publishedListingPage{id, url}';\n\nconst checkProps = props =>\n !!(props && Object.keys(props).filter(prop => prop === CATEGORY_ID).length);\n\nconst buildPropsQuery = (entitySchema, extraProps = [], cardOptions = null, linkProps = []) => {\n const parsedSchema = entitySchema.getEntitySchema ? entitySchema.getEntitySchema : entitySchema;\n const extraPropsHaveCategory = !!extraProps.filter(prop => prop.includes('category.')).length;\n const { typeBasedProps, shouldAddCategoryProps } = getTypeBaseProps(\n parsedSchema,\n cardOptions,\n extraPropsHaveCategory\n );\n\n const allProps = [...typeBasedProps, ...extraProps];\n const uniqueProps = [...new Set([...allProps])];\n const basicProps = [];\n const nestedProps = {};\n uniqueProps.forEach(prop => {\n if (prop) {\n if (!prop.includes('.')) {\n basicProps.push(prop);\n return;\n }\n const [base, nested] = prop.split('.');\n if (!nestedProps[base]) nestedProps[base] = [nested];\n else nestedProps[base].push(nested);\n }\n });\n\n const complexProps = buildComplexProps(\n shouldAddCategoryProps,\n nestedProps,\n parsedSchema,\n linkProps\n );\n\n return [...basicProps, ...complexProps].join(',');\n};\n\nconst buildComplexProps = (\n shouldAddCategoryProps,\n props,\n { relations = [], dynamicProperties = {}, properties = {} },\n linkProps\n) =>\n Object.keys(props).map(base => {\n const nestedProps = props[base];\n const hasLink = !!linkProps.find(linkProp => linkProp.includes(base));\n const matchingProperty = !!properties[base];\n const matchingRelation = relations.find(({ localField }) => localField === base);\n const matchingDynamicProp = Object.keys(dynamicProperties).find(\n dynamicKey => dynamicKey === base\n );\n\n if (matchingRelation && !nestedProps.includes('id')) nestedProps.push('id');\n if (hasLink && (!!matchingProperty || !!matchingRelation || !!matchingDynamicProp))\n nestedProps.push('url');\n const jointNestedProps = nestedProps.join(',');\n if (base === 'category' && shouldAddCategoryProps)\n return `${base}{${jointNestedProps}, ${categoryProps}}`;\n if (base.includes('published')) {\n return `${base}{${jointNestedProps},url}`;\n }\n return `${base}{${jointNestedProps}}`;\n });\n\nconst getTypeBaseProps = (entitySchema, cardOptions, extraPropsHaveCategory) => {\n const isCard = !!cardOptions;\n const { displayCategory = true, displayThumbnail = true } = cardOptions || {};\n\n const shouldAddCategoryProps =\n (isCard && displayCategory) || (!isCard && !extraPropsHaveCategory);\n\n if (!isCard) return { typeBasedProps: [ID], shouldAddCategoryProps };\n\n const { interfaces, properties, dynamicProperties, relations } = entitySchema;\n\n const isContent = !!interfaces.includes('content/content-base');\n const hasCategory = checkProps(properties) || checkProps(dynamicProperties);\n const hasPreheader = properties[PREHEADER_PROP];\n\n const typeBasedProps = [...defaultProps];\n\n typeBasedProps.push(...getCategoyProps(shouldAddCategoryProps, hasCategory, hasPreheader));\n typeBasedProps.push(...getContentProps(isContent));\n\n if (properties.url || dynamicProperties.url) typeBasedProps.push('url');\n\n if (displayThumbnail && relations.find(({ localField }) => localField === 'image')) {\n typeBasedProps.push('image.id', 'image.url', 'image.data');\n }\n\n return { typeBasedProps, shouldAddCategoryProps };\n};\n\n// make sure all props are supported by content/content-base interface\nconst getContentProps = isContent => (isContent ? ['url', 'sponsored', 'featured', 'live'] : []);\n\nconst getCategoyProps = (shouldAddCategoryProps, hasCategory, hasPreheader) => {\n if (!shouldAddCategoryProps) return [];\n const props = [];\n if (hasCategory)\n props.push('category.name', 'category.listingPageId', 'category.listingPageEntity');\n\n if (hasPreheader) {\n props.push(`${PREHEADER_PROP}{name}`);\n props.push(HEADLINE_PROP);\n }\n\n return props;\n};\n\nexport default buildPropsQuery;\n"],"mappings":"AAAA,SAASA,WAAW,EAAEC,EAAE,EAAEC,cAAc,EAAEC,aAAa,QAAQ,cAAc;AAE7E,MAAMC,YAAY,GAAG,CAACH,EAAE,EAAE,MAAM,CAAC;AACjC,MAAMI,aAAa,GAAG,kCAAkC;AAExD,MAAMC,UAAU,GAAGC,KAAK,IACtB,CAAC,EAAEA,KAAK,IAAIC,MAAM,CAACC,IAAI,CAACF,KAAK,CAAC,CAACG,MAAM,CAACC,IAAI,IAAIA,IAAI,KAAKX,WAAW,CAAC,CAACY,MAAM,CAAC;AAE7E,MAAMC,eAAe,G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AACqB,GAAG,EAAEtC,cAAc,CAACS,IAAI,CAAC,KAAK,CAAC;EAEvE,IAAIsB,gBAAgB,IAAIf,SAAS,CAACK,IAAI,CAAC,CAAC;IAAEI;EAAW,CAAC,KAAKA,UAAU,KAAK,OAAO,CAAC,EAAE;IAClFzB,cAAc,CAACS,IAAI,CAAC,UAAU,EAAE,WAAW,EAAE,YAAY,CAAC;EAC5D;EAEA,OAAO;IAAET,cAAc;IAAEC;EAAuB,CAAC;AACnD,CAAC;;AAED;AACA,MAAMoC,eAAe,GAAGJ,SAAS,IAAKA,SAAS,GAAG,CAAC,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,CAAC,GAAG,EAAG;AAEhG,MAAMG,eAAe,GAAGA,CAACnC,sBAAsB,EAAEiC,WAAW,EAAEC,YAAY,KAAK;EAC7E,IAAI,CAAClC,sBAAsB,EAAE,OAAO,EAAE;EACtC,MAAMhB,KAAK,GAAG,EAAE;EAChB,IAAIiD,WAAW,EACbjD,KAAK,CAACwB,IAAI,CAAC,eAAe,EAAE,wBAAwB,EAAE,4BAA4B,CAAC;EAErF,IAAI0B,YAAY,EAAE;IAChBlD,KAAK,CAACwB,IAAI,CAAC,GAAG7B,cAAc,QAAQ,CAAC;IACrCK,KAAK,CAACwB,IAAI,CAAC5B,aAAa,CAAC;EAC3B;EAEA,OAAOI,KAAK;AACd,CAAC;AAED,eAAeM,eAAe","ignoreList":[]}
@@ -4,7 +4,7 @@ const buildQueryFields = (sanitizedEntityFields, entityTypes, isFull) => `result
4
4
  ${sanitizedEntityFields}
5
5
  __typename
6
6
  id
7
- ${isFull ? 'pageBuilderComponents' : ''}
7
+ ${isFull ? 'pageBuilderComponents: preparedPageBuilderComponents' : ''}
8
8
  }`)}
9
9
  },
10
10
  total
@@ -1 +1 @@
1
- {"version":3,"file":"build-query-fields.js","names":["buildQueryFields","sanitizedEntityFields","entityTypes","isFull","map","entityType"],"sources":["../../src/helpers/build-query-fields.js"],"sourcesContent":["const buildQueryFields = (sanitizedEntityFields, entityTypes, isFull) =>\n `results {\n ${entityTypes.map(\n entityType => `\n ... on ${entityType} {\n ${sanitizedEntityFields}\n __typename\n id\n ${isFull ? 'pageBuilderComponents' : ''}\n }`\n )}\n },\n total\n `;\n\nexport default buildQueryFields;\n"],"mappings":"AAAA,MAAMA,gBAAgB,GAAGA,CAACC,qBAAqB,EAAEC,WAAW,EAAEC,MAAM,KAClE;AACF,MAAMD,WAAW,CAACE,GAAG,CACfC,UAAU,IAAI;AACpB,aAAaA,UAAU;AACvB,QAAQJ,qBAAqB;AAC7B;AACA;AACA,QAAQE,MAAM,GAAG,uBAAuB,GAAG,EAAE;AAC7C,MACI,CAAC;AACL;AACA;AACA,GAAG;AAEH,eAAeH,gBAAgB","ignoreList":[]}
1
+ {"version":3,"file":"build-query-fields.js","names":["buildQueryFields","sanitizedEntityFields","entityTypes","isFull","map","entityType"],"sources":["../../src/helpers/build-query-fields.js"],"sourcesContent":["const buildQueryFields = (sanitizedEntityFields, entityTypes, isFull) =>\n `results {\n ${entityTypes.map(\n entityType => `\n ... on ${entityType} {\n ${sanitizedEntityFields}\n __typename\n id\n ${isFull ? 'pageBuilderComponents: preparedPageBuilderComponents' : ''}\n }`\n )}\n },\n total\n `;\n\nexport default buildQueryFields;\n"],"mappings":"AAAA,MAAMA,gBAAgB,GAAGA,CAACC,qBAAqB,EAAEC,WAAW,EAAEC,MAAM,KAClE;AACF,MAAMD,WAAW,CAACE,GAAG,CACfC,UAAU,IAAI;AACpB,aAAaA,UAAU;AACvB,QAAQJ,qBAAqB;AAC7B;AACA;AACA,OAAOE,MAAM,GAAG,sDAAsD,GAAG,EAAE;AAC3E,MACI,CAAC;AACL;AACA;AACA,GAAG;AAEH,eAAeH,gBAAgB","ignoreList":[]}
@@ -0,0 +1,13 @@
1
+ import cssesc from 'cssesc';
2
+ import { COMPONENT_ID_PREFIX } from '../constants';
3
+ const getComponentId = (componentName, noPrefix = false, toLowerCase = false) => {
4
+ let id = `${noPrefix ? '' : COMPONENT_ID_PREFIX}${componentName.replace(/\s+/g, '-')}`;
5
+ if (toLowerCase) {
6
+ id = id.toLowerCase();
7
+ }
8
+ return cssesc(id, {
9
+ isIdentifier: true
10
+ });
11
+ };
12
+ export default getComponentId;
13
+ //# sourceMappingURL=get-component-id.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-component-id.js","names":["cssesc","COMPONENT_ID_PREFIX","getComponentId","componentName","noPrefix","toLowerCase","id","replace","isIdentifier"],"sources":["../../src/helpers/get-component-id.js"],"sourcesContent":["import cssesc from 'cssesc';\nimport { COMPONENT_ID_PREFIX } from '../constants';\n\nconst getComponentId = (componentName, noPrefix = false, toLowerCase = false) => {\n let id = `${noPrefix ? '' : COMPONENT_ID_PREFIX}${componentName.replace(/\\s+/g, '-')}`;\n if (toLowerCase) {\n id = id.toLowerCase();\n }\n return cssesc(id, { isIdentifier: true });\n};\n\nexport default getComponentId;\n"],"mappings":"AAAA,OAAOA,MAAM,MAAM,QAAQ;AAC3B,SAASC,mBAAmB,QAAQ,cAAc;AAElD,MAAMC,cAAc,GAAGA,CAACC,aAAa,EAAEC,QAAQ,GAAG,KAAK,EAAEC,WAAW,GAAG,KAAK,KAAK;EAC/E,IAAIC,EAAE,GAAG,GAAGF,QAAQ,GAAG,EAAE,GAAGH,mBAAmB,GAAGE,aAAa,CAACI,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE;EACtF,IAAIF,WAAW,EAAE;IACfC,EAAE,GAAGA,EAAE,CAACD,WAAW,CAAC,CAAC;EACvB;EACA,OAAOL,MAAM,CAACM,EAAE,EAAE;IAAEE,YAAY,EAAE;EAAK,CAAC,CAAC;AAC3C,CAAC;AAED,eAAeN,cAAc","ignoreList":[]}
@@ -0,0 +1,13 @@
1
+ const getCustomHtmlProperties = ({
2
+ customHtmlProps = []
3
+ }) => customHtmlProps ? customHtmlProps.reduce((acc, {
4
+ name,
5
+ value
6
+ }) => {
7
+ if (name) {
8
+ acc[name] = value !== 'null' ? value : undefined;
9
+ }
10
+ return acc;
11
+ }, {}) : {};
12
+ export default getCustomHtmlProperties;
13
+ //# sourceMappingURL=get-custom-html-properties.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-custom-html-properties.js","names":["getCustomHtmlProperties","customHtmlProps","reduce","acc","name","value","undefined"],"sources":["../../src/helpers/get-custom-html-properties.js"],"sourcesContent":["const getCustomHtmlProperties = ({ customHtmlProps = [] }) =>\n customHtmlProps\n ? customHtmlProps.reduce((acc, { name, value }) => {\n if (name) {\n acc[name] = value !== 'null' ? value : undefined;\n }\n return acc;\n }, {})\n : {};\n\nexport default getCustomHtmlProperties;\n"],"mappings":"AAAA,MAAMA,uBAAuB,GAAGA,CAAC;EAAEC,eAAe,GAAG;AAAG,CAAC,KACvDA,eAAe,GACXA,eAAe,CAACC,MAAM,CAAC,CAACC,GAAG,EAAE;EAAEC,IAAI;EAAEC;AAAM,CAAC,KAAK;EAC/C,IAAID,IAAI,EAAE;IACRD,GAAG,CAACC,IAAI,CAAC,GAAGC,KAAK,KAAK,MAAM,GAAGA,KAAK,GAAGC,SAAS;EAClD;EACA,OAAOH,GAAG;AACZ,CAAC,EAAE,CAAC,CAAC,CAAC,GACN,CAAC,CAAC;AAER,eAAeH,uBAAuB","ignoreList":[]}
@@ -2,6 +2,7 @@ import isPlainObject from 'lodash.isplainobject';
2
2
  const getIdsFromArray = (relationImageData, relationProp, imageId) => {
3
3
  if (!relationImageData.length) return [imageId];
4
4
  return relationImageData.map(image => {
5
+ if (typeof image !== 'object') return image;
5
6
  if (!Object.keys(image).length) return '';
6
7
  return image[relationProp];
7
8
  }).filter(Boolean);
@@ -17,6 +18,7 @@ const getImageIds = (imageRelation, relationData, imageId) => {
17
18
  if (isPlainObject(relationImageData) && Object.keys(relationImageData).length) {
18
19
  return Array.isArray(relationImageData[relationProp]) ? relationImageData[relationProp] : [relationImageData[relationProp]];
19
20
  }
21
+ if (relationImageData) return [relationImageData];
20
22
  }
21
23
  return imageIdArray;
22
24
  };
@@ -1 +1 @@
1
- {"version":3,"file":"get-image-ids.js","names":["isPlainObject","getIdsFromArray","relationImageData","relationProp","imageId","length","map","image","Object","keys","filter","Boolean","getImageIds","imageRelation","relationData","imageIdArray","entityData","imageData","relationName","split","Array","isArray"],"sources":["../../src/helpers/get-image-ids.js"],"sourcesContent":["import isPlainObject from 'lodash.isplainobject';\n\nconst getIdsFromArray = (relationImageData, relationProp, imageId) => {\n if (!relationImageData.length) return [imageId];\n return relationImageData\n .map(image => {\n if (!Object.keys(image).length) return '';\n return image[relationProp];\n })\n .filter(Boolean);\n};\n\nconst getImageIds = (imageRelation, relationData, imageId) => {\n const imageIdArray = imageId ? [imageId] : [];\n if (relationData && relationData.entityData) {\n const [imageData] = imageRelation;\n const [relationName, relationProp] = imageData.split('.');\n const relationImageData = relationData.entityData[relationName];\n\n if (!relationImageData) return imageIdArray;\n\n if (Array.isArray(relationImageData))\n return getIdsFromArray(relationImageData, relationProp, imageId);\n\n if (isPlainObject(relationImageData) && Object.keys(relationImageData).length) {\n return Array.isArray(relationImageData[relationProp])\n ? relationImageData[relationProp]\n : [relationImageData[relationProp]];\n }\n }\n\n return imageIdArray;\n};\n\nexport default getImageIds;\n"],"mappings":"AAAA,OAAOA,aAAa,MAAM,sBAAsB;AAEhD,MAAMC,eAAe,GAAGA,CAACC,iBAAiB,EAAEC,YAAY,EAAEC,OAAO,KAAK;EACpE,IAAI,CAACF,iBAAiB,CAACG,MAAM,EAAE,OAAO,CAACD,OAAO,CAAC;EAC/C,OAAOF,iBAAiB,CACrBI,GAAG,CAACC,KAAK,IAAI;IACZ,IAAI,CAACC,MAAM,CAACC,IAAI,CAACF,KAAK,CAAC,CAACF,MAAM,EAAE,OAAO,EAAE;IACzC,OAAOE,KAAK,CAACJ,YAAY,CAAC;EAC5B,CAAC,CAAC,CACDO,MAAM,CAACC,OAAO,CAAC;AACpB,CAAC;AAED,MAAMC,WAAW,GAAGA,CAACC,aAAa,EAAEC,YAAY,EAAEV,OAAO,KAAK;EAC5D,MAAMW,YAAY,GAAGX,OAAO,GAAG,CAACA,OAAO,CAAC,GAAG,EAAE;EAC7C,IAAIU,YAAY,IAAIA,YAAY,CAACE,UAAU,EAAE;IAC3C,MAAM,CAACC,SAAS,CAAC,GAAGJ,aAAa;IACjC,MAAM,CAACK,YAAY,EAAEf,YAAY,CAAC,GAAGc,SAAS,CAACE,KAAK,CAAC,GAAG,CAAC;IACzD,MAAMjB,iBAAiB,GAAGY,YAAY,CAACE,UAAU,CAACE,YAAY,CAAC;IAE/D,IAAI,CAAChB,iBAAiB,EAAE,OAAOa,YAAY;IAE3C,IAAIK,KAAK,CAACC,OAAO,CAACnB,iBAAiB,CAAC,EAClC,OAAOD,eAAe,CAACC,iBAAiB,EAAEC,YAAY,EAAEC,OAAO,CAAC;IAElE,IAAIJ,aAAa,CAACE,iBAAiB,CAAC,IAAIM,MAAM,CAACC,IAAI,CAACP,iBAAiB,CAAC,CAACG,MAAM,EAAE;MAC7E,OAAOe,KAAK,CAACC,OAAO,CAACnB,iBAAiB,CAACC,YAAY,CAAC,CAAC,GACjDD,iBAAiB,CAACC,YAAY,CAAC,GAC/B,CAACD,iBAAiB,CAACC,YAAY,CAAC,CAAC;IACvC;EACF;EAEA,OAAOY,YAAY;AACrB,CAAC;AAED,eAAeH,WAAW","ignoreList":[]}
1
+ {"version":3,"file":"get-image-ids.js","names":["isPlainObject","getIdsFromArray","relationImageData","relationProp","imageId","length","map","image","Object","keys","filter","Boolean","getImageIds","imageRelation","relationData","imageIdArray","entityData","imageData","relationName","split","Array","isArray"],"sources":["../../src/helpers/get-image-ids.js"],"sourcesContent":["import isPlainObject from 'lodash.isplainobject';\n\nconst getIdsFromArray = (relationImageData, relationProp, imageId) => {\n if (!relationImageData.length) return [imageId];\n return relationImageData\n .map(image => {\n if (typeof image !== 'object') return image;\n if (!Object.keys(image).length) return '';\n return image[relationProp];\n })\n .filter(Boolean);\n};\n\nconst getImageIds = (imageRelation, relationData, imageId) => {\n const imageIdArray = imageId ? [imageId] : [];\n if (relationData && relationData.entityData) {\n const [imageData] = imageRelation;\n const [relationName, relationProp] = imageData.split('.');\n const relationImageData = relationData.entityData[relationName];\n\n if (!relationImageData) return imageIdArray;\n\n if (Array.isArray(relationImageData))\n return getIdsFromArray(relationImageData, relationProp, imageId);\n\n if (isPlainObject(relationImageData) && Object.keys(relationImageData).length) {\n return Array.isArray(relationImageData[relationProp])\n ? relationImageData[relationProp]\n : [relationImageData[relationProp]];\n }\n\n if (relationImageData) return [relationImageData];\n }\n\n return imageIdArray;\n};\n\nexport default getImageIds;\n"],"mappings":"AAAA,OAAOA,aAAa,MAAM,sBAAsB;AAEhD,MAAMC,eAAe,GAAGA,CAACC,iBAAiB,EAAEC,YAAY,EAAEC,OAAO,KAAK;EACpE,IAAI,CAACF,iBAAiB,CAACG,MAAM,EAAE,OAAO,CAACD,OAAO,CAAC;EAC/C,OAAOF,iBAAiB,CACrBI,GAAG,CAACC,KAAK,IAAI;IACZ,IAAI,OAAOA,KAAK,KAAK,QAAQ,EAAE,OAAOA,KAAK;IAC3C,IAAI,CAACC,MAAM,CAACC,IAAI,CAACF,KAAK,CAAC,CAACF,MAAM,EAAE,OAAO,EAAE;IACzC,OAAOE,KAAK,CAACJ,YAAY,CAAC;EAC5B,CAAC,CAAC,CACDO,MAAM,CAACC,OAAO,CAAC;AACpB,CAAC;AAED,MAAMC,WAAW,GAAGA,CAACC,aAAa,EAAEC,YAAY,EAAEV,OAAO,KAAK;EAC5D,MAAMW,YAAY,GAAGX,OAAO,GAAG,CAACA,OAAO,CAAC,GAAG,EAAE;EAC7C,IAAIU,YAAY,IAAIA,YAAY,CAACE,UAAU,EAAE;IAC3C,MAAM,CAACC,SAAS,CAAC,GAAGJ,aAAa;IACjC,MAAM,CAACK,YAAY,EAAEf,YAAY,CAAC,GAAGc,SAAS,CAACE,KAAK,CAAC,GAAG,CAAC;IACzD,MAAMjB,iBAAiB,GAAGY,YAAY,CAACE,UAAU,CAACE,YAAY,CAAC;IAE/D,IAAI,CAAChB,iBAAiB,EAAE,OAAOa,YAAY;IAE3C,IAAIK,KAAK,CAACC,OAAO,CAACnB,iBAAiB,CAAC,EAClC,OAAOD,eAAe,CAACC,iBAAiB,EAAEC,YAAY,EAAEC,OAAO,CAAC;IAElE,IAAIJ,aAAa,CAACE,iBAAiB,CAAC,IAAIM,MAAM,CAACC,IAAI,CAACP,iBAAiB,CAAC,CAACG,MAAM,EAAE;MAC7E,OAAOe,KAAK,CAACC,OAAO,CAACnB,iBAAiB,CAACC,YAAY,CAAC,CAAC,GACjDD,iBAAiB,CAACC,YAAY,CAAC,GAC/B,CAACD,iBAAiB,CAACC,YAAY,CAAC,CAAC;IACvC;IAEA,IAAID,iBAAiB,EAAE,OAAO,CAACA,iBAAiB,CAAC;EACnD;EAEA,OAAOa,YAAY;AACrB,CAAC;AAED,eAAeH,WAAW","ignoreList":[]}
@@ -61,4 +61,6 @@ export { default as shouldReturn } from './should-return';
61
61
  export { default as shouldSkipSingleQuery } from './should-skip-single-query';
62
62
  export { default as buildRawQueryStringified } from './build-raw-query-stringified';
63
63
  export { default as buildFiltersQuery } from './build-filters-query';
64
+ export { default as getComponentId } from './get-component-id';
65
+ export { default as getCustomHtmlProperties } from './get-custom-html-properties';
64
66
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["default","buildInheritedFilters","buildLinkExtraProps","buildPropsQuery","buildQueryFields","buildRawQuery","buildRawQueryBase","buildSearchValuesCheckboxSelect","buildSearchValuesText","buildSetFilters","checkPropsToUse","getElasticsearchOperator","getClickWrapperOptions","getEntitiesWithBanner","getEntityData","getEntityRenderProps","getGenericProps","getGenericRenderVariables","getImageIds","getInheritedFilters","getModifiers","getNotEqualQuery","getPaginationIndex","getParsedSummaryValue","getQueryFilters","getQueryProps","getRequiredSchemas","getSearchFilterType","getUnpublishedEntityName","getWrappedValueWithLink","getItemsToDisplayIds","isBrowser","isFilterEntitysId","isObject","isUsingRelationImage","parsePropsToDisplay","renderChildren","shouldRenderWaypoint","shouldShowProperty","sortResponseData","splitChildren","getCurrentOffset","updateChildrensParent","getDisplayCountData","buildImageProperties","getUpdatedFilterBy","checkForError","removeUnwantedCharacters","hasChildren","removeExtraItems","getParsedPropValues","getSanitizedPropValues","appendImages","parseTextBlock","processDataSummaryValue","buildQueryKey","filterQuerySetup","filtersSetup","getUpdatedItemsToDisplay","getUpdatedSortProperties","shouldReturn","shouldSkipSingleQuery","buildRawQueryStringified","buildFiltersQuery"],"sources":["../../src/helpers/index.js"],"sourcesContent":["export { default as buildInheritedFilters } from './build-inherited-filters';\nexport { default as buildLinkExtraProps } from './build-link-extra-props';\nexport { default as buildPropsQuery } from './build-props-query';\nexport { default as buildQueryFields } from './build-query-fields';\nexport { default as buildRawQuery } from './build-raw-query';\nexport { default as buildRawQueryBase } from './build-raw-query-base';\nexport { default as buildSearchValuesCheckboxSelect } from './build-search-values-checkbox-select';\nexport { default as buildSearchValuesText } from './build-search-values-text';\nexport { default as buildSetFilters } from './build-set-filters';\nexport { default as checkPropsToUse } from './check-props-to-use';\nexport { default as getElasticsearchOperator } from './get-elasticsearch-operator';\nexport { default as getClickWrapperOptions } from './get-click-wrapper-options';\nexport { default as getEntitiesWithBanner } from './get-entities-with-banner';\nexport { default as getEntityData } from './get-entity-data';\nexport { default as getEntityRenderProps } from './get-entity-render-props';\nexport { default as getGenericProps } from './get-generic-props';\nexport { default as getGenericRenderVariables } from './get-generic-render-variables';\nexport { default as getImageIds } from './get-image-ids';\nexport { default as getInheritedFilters } from './get-inherited-filters';\nexport { default as getModifiers } from './get-modifiers';\nexport { default as getNotEqualQuery } from './get-not-equal-query';\nexport { default as getPaginationIndex } from './get-pagination-index';\nexport { default as getParsedSummaryValue } from './get-parsed-summary-value';\nexport { default as getQueryFilters } from './get-query-filters';\nexport { default as getQueryProps } from './get-query-props';\nexport { default as getRequiredSchemas } from './get-required-schemas';\nexport { default as getSearchFilterType } from './get-search-filter-type';\nexport { default as getUnpublishedEntityName } from './get-unpublished-entity-name';\nexport { default as getWrappedValueWithLink } from './get-wrapped-value-with-link';\nexport { default as getItemsToDisplayIds } from './get-items-to-display-ids';\nexport { default as isBrowser } from './is-browser';\nexport { default as isFilterEntitysId } from './is-filter-entitys-id';\nexport { default as isObject } from './is-object';\nexport { default as isUsingRelationImage } from './is-using-relation-image';\nexport { default as parsePropsToDisplay } from './parse-props-to-display';\nexport { default as renderChildren } from './render-children';\nexport { default as shouldRenderWaypoint } from './should-render-waypoint';\nexport { default as shouldShowProperty } from './should-show-property';\nexport { default as sortResponseData } from './sort-response-data';\nexport { default as splitChildren } from './split-children';\nexport { default as getCurrentOffset } from './get-current-offset';\nexport { default as updateChildrensParent } from './update-childrens-parent';\nexport { default as getDisplayCountData } from './get-display-count-data';\nexport { default as buildImageProperties } from './build-image-properties';\nexport { default as getUpdatedFilterBy } from './get-updated-filter-by';\nexport { default as checkForError } from './check-for-error';\nexport { default as removeUnwantedCharacters } from './remove-unwanted-characters';\nexport { default as hasChildren } from './has-children';\nexport { default as removeExtraItems } from './remove-extra-items';\nexport { default as getParsedPropValues } from './get-parsed-prop-values';\nexport { default as getSanitizedPropValues } from './get-sanitized-prop-values';\nexport { default as appendImages } from './append-images';\nexport { default as parseTextBlock } from './parse-TextBlock';\nexport { default as processDataSummaryValue } from './process-data-summary-value';\nexport { default as buildQueryKey } from './build-query-key';\nexport { default as filterQuerySetup } from './filter-query-setup';\nexport { default as filtersSetup } from './filters-setup';\nexport { default as getUpdatedItemsToDisplay } from './get-updated-items-to-display';\nexport { default as getUpdatedSortProperties } from './get-updated-sort-properties';\nexport { default as shouldReturn } from './should-return';\nexport { default as shouldSkipSingleQuery } from './should-skip-single-query';\nexport { default as buildRawQueryStringified } from './build-raw-query-stringified';\nexport { default as buildFiltersQuery } from './build-filters-query';\n"],"mappings":"AAAA,SAASA,OAAO,IAAIC,qBAAqB,QAAQ,2BAA2B;AAC5E,SAASD,OAAO,IAAIE,mBAA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zE,SAASlD,OAAO,IAAImD,sBAAsB,QAAQ,6BAA6B;AAC/E,SAASnD,OAAO,IAAIoD,YAAY,QAAQ,iBAAiB;AACzD,SAASpD,OAAO,IAAIqD,cAAc,QAAQ,mBAAmB;AAC7D,SAASrD,OAAO,IAAIsD,uBAAuB,QAAQ,8BAA8B;AACjF,SAAStD,OAAO,IAAIuD,aAAa,QAAQ,mBAAmB;AAC5D,SAASvD,OAAO,IAAIwD,gBAAgB,QAAQ,sBAAsB;AAClE,SAASxD,OAAO,IAAIyD,YAAY,QAAQ,iBAAiB;AACzD,SAASzD,OAAO,IAAI0D,wBAAwB,QAAQ,gCAAgC;AACpF,SAAS1D,OAAO,IAAI2D,wBAAwB,QAAQ,+BAA+B;AACnF,SAAS3D,OAAO,IAAI4D,YAAY,QAAQ,iBAAiB;AACzD,SAAS5D,OAAO,IAAI6D,qBAAqB,QAAQ,4BAA4B;AAC7E,SAAS7D,OAAO,IAAI8D,wBAAwB,QAAQ,+BAA+B;AACnF,SAAS9D,OAAO,IAAI+D,iBAAiB,QAAQ,uBAAuB","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["default","buildInheritedFilters","buildLinkExtraProps","buildPropsQuery","buildQueryFields","buildRawQuery","buildRawQueryBase","buildSearchValuesCheckboxSelect","buildSearchValuesText","buildSetFilters","checkPropsToUse","getElasticsearchOperator","getClickWrapperOptions","getEntitiesWithBanner","getEntityData","getEntityRenderProps","getGenericProps","getGenericRenderVariables","getImageIds","getInheritedFilters","getModifiers","getNotEqualQuery","getPaginationIndex","getParsedSummaryValue","getQueryFilters","getQueryProps","getRequiredSchemas","getSearchFilterType","getUnpublishedEntityName","getWrappedValueWithLink","getItemsToDisplayIds","isBrowser","isFilterEntitysId","isObject","isUsingRelationImage","parsePropsToDisplay","renderChildren","shouldRenderWaypoint","shouldShowProperty","sortResponseData","splitChildren","getCurrentOffset","updateChildrensParent","getDisplayCountData","buildImageProperties","getUpdatedFilterBy","checkForError","removeUnwantedCharacters","hasChildren","removeExtraItems","getParsedPropValues","getSanitizedPropValues","appendImages","parseTextBlock","processDataSummaryValue","buildQueryKey","filterQuerySetup","filtersSetup","getUpdatedItemsToDisplay","getUpdatedSortProperties","shouldReturn","shouldSkipSingleQuery","buildRawQueryStringified","buildFiltersQuery","getComponentId","getCustomHtmlProperties"],"sources":["../../src/helpers/index.js"],"sourcesContent":["export { default as buildInheritedFilters } from './build-inherited-filters';\nexport { default as buildLinkExtraProps } from './build-link-extra-props';\nexport { default as buildPropsQuery } from './build-props-query';\nexport { default as buildQueryFields } from './build-query-fields';\nexport { default as buildRawQuery } from './build-raw-query';\nexport { default as buildRawQueryBase } from './build-raw-query-base';\nexport { default as buildSearchValuesCheckboxSelect } from './build-search-values-checkbox-select';\nexport { default as buildSearchValuesText } from './build-search-values-text';\nexport { default as buildSetFilters } from './build-set-filters';\nexport { default as checkPropsToUse } from './check-props-to-use';\nexport { default as getElasticsearchOperator } from './get-elasticsearch-operator';\nexport { default as getClickWrapperOptions } from './get-click-wrapper-options';\nexport { default as getEntitiesWithBanner } from './get-entities-with-banner';\nexport { default as getEntityData } from './get-entity-data';\nexport { default as getEntityRenderProps } from './get-entity-render-props';\nexport { default as getGenericProps } from './get-generic-props';\nexport { default as getGenericRenderVariables } from './get-generic-render-variables';\nexport { default as getImageIds } from './get-image-ids';\nexport { default as getInheritedFilters } from './get-inherited-filters';\nexport { default as getModifiers } from './get-modifiers';\nexport { default as getNotEqualQuery } from './get-not-equal-query';\nexport { default as getPaginationIndex } from './get-pagination-index';\nexport { default as getParsedSummaryValue } from './get-parsed-summary-value';\nexport { default as getQueryFilters } from './get-query-filters';\nexport { default as getQueryProps } from './get-query-props';\nexport { default as getRequiredSchemas } from './get-required-schemas';\nexport { default as getSearchFilterType } from './get-search-filter-type';\nexport { default as getUnpublishedEntityName } from './get-unpublished-entity-name';\nexport { default as getWrappedValueWithLink } from './get-wrapped-value-with-link';\nexport { default as getItemsToDisplayIds } from './get-items-to-display-ids';\nexport { default as isBrowser } from './is-browser';\nexport { default as isFilterEntitysId } from './is-filter-entitys-id';\nexport { default as isObject } from './is-object';\nexport { default as isUsingRelationImage } from './is-using-relation-image';\nexport { default as parsePropsToDisplay } from './parse-props-to-display';\nexport { default as renderChildren } from './render-children';\nexport { default as shouldRenderWaypoint } from './should-render-waypoint';\nexport { default as shouldShowProperty } from './should-show-property';\nexport { default as sortResponseData } from './sort-response-data';\nexport { default as splitChildren } from './split-children';\nexport { default as getCurrentOffset } from './get-current-offset';\nexport { default as updateChildrensParent } from './update-childrens-parent';\nexport { default as getDisplayCountData } from './get-display-count-data';\nexport { default as buildImageProperties } from './build-image-properties';\nexport { default as getUpdatedFilterBy } from './get-updated-filter-by';\nexport { default as checkForError } from './check-for-error';\nexport { default as removeUnwantedCharacters } from './remove-unwanted-characters';\nexport { default as hasChildren } from './has-children';\nexport { default as removeExtraItems } from './remove-extra-items';\nexport { default as getParsedPropValues } from './get-parsed-prop-values';\nexport { default as getSanitizedPropValues } from './get-sanitized-prop-values';\nexport { default as appendImages } from './append-images';\nexport { default as parseTextBlock } from './parse-TextBlock';\nexport { default as processDataSummaryValue } from './process-data-summary-value';\nexport { default as buildQueryKey } from './build-query-key';\nexport { default as filterQuerySetup } from './filter-query-setup';\nexport { default as filtersSetup } from './filters-setup';\nexport { default as getUpdatedItemsToDisplay } from './get-updated-items-to-display';\nexport { default as getUpdatedSortProperties } from './get-updated-sort-properties';\nexport { default as shouldReturn } from './should-return';\nexport { default as shouldSkipSingleQuery } from './should-skip-single-query';\nexport { default as buildRawQueryStringified } from './build-raw-query-stringified';\nexport { default as buildFiltersQuery } from './build-filters-query';\nexport { default as getComponentId } from './get-component-id';\nexport { default as getCustomHtmlProperties } from './get-custom-html-properties';\n"],"mappings":"AAAA,SAASA,OAAO,IAAIC,qBAAqB,QAAQ,2BAA2B;AAC5E,SAASD,OAAO,IAAIE,mBAAmB,QAAQ,0BAA0B;AACzE,SAASF,OAAO,IAAIG,eAAe,QAAQ,qBAAqB;AA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IAAIoD,YAAY,QAAQ,iBAAiB;AACzD,SAASpD,OAAO,IAAIqD,cAAc,QAAQ,mBAAmB;AAC7D,SAASrD,OAAO,IAAIsD,uBAAuB,QAAQ,8BAA8B;AACjF,SAAStD,OAAO,IAAIuD,aAAa,QAAQ,mBAAmB;AAC5D,SAASvD,OAAO,IAAIwD,gBAAgB,QAAQ,sBAAsB;AAClE,SAASxD,OAAO,IAAIyD,YAAY,QAAQ,iBAAiB;AACzD,SAASzD,OAAO,IAAI0D,wBAAwB,QAAQ,gCAAgC;AACpF,SAAS1D,OAAO,IAAI2D,wBAAwB,QAAQ,+BAA+B;AACnF,SAAS3D,OAAO,IAAI4D,YAAY,QAAQ,iBAAiB;AACzD,SAAS5D,OAAO,IAAI6D,qBAAqB,QAAQ,4BAA4B;AAC7E,SAAS7D,OAAO,IAAI8D,wBAAwB,QAAQ,+BAA+B;AACnF,SAAS9D,OAAO,IAAI+D,iBAAiB,QAAQ,uBAAuB;AACpE,SAAS/D,OAAO,IAAIgE,cAAc,QAAQ,oBAAoB;AAC9D,SAAShE,OAAO,IAAIiE,uBAAuB,QAAQ,8BAA8B","ignoreList":[]}
@@ -4,11 +4,13 @@ const _excluded = ["component", "imageProps", "childComponents", "options", "tex
4
4
  import React from 'react';
5
5
  import PropTypes from 'prop-types';
6
6
  import ErrorBoundary from '@blaze-cms/core-errors-ui';
7
+ import { useMainContext } from '@blaze-cms/nextjs-components';
7
8
  import getComponent from './getComponent';
8
9
  import getVariant from './getVariant';
9
10
  import appendGtmClassName from './append-gtm-classname';
10
11
  import { PB_TYPE_IMAGE, PB_TYPE_BANNER, PB_TYPE_TEXTBLOCK, PB_TYPE_CAROUSEL } from './constants';
11
12
  import { BannerContextProvider } from '../../BannerContext';
13
+ import { PbWrapper } from '../../system-components';
12
14
  const RenderComponent = _ref => {
13
15
  let {
14
16
  component,
@@ -20,6 +22,11 @@ const RenderComponent = _ref => {
20
22
  siblings
21
23
  } = _ref,
22
24
  nestedComponentsProps = _objectWithoutProperties(_ref, _excluded);
25
+ const {
26
+ debugOptions: {
27
+ editorModeEnabled
28
+ } = {}
29
+ } = useMainContext();
23
30
  const {
24
31
  type,
25
32
  settings,
@@ -32,7 +39,9 @@ const RenderComponent = _ref => {
32
39
  if (!Component) return null;
33
40
  const updatedSettings = appendGtmClassName(settings, childComponents);
34
41
  const [VariantComponent, variantSettings] = getVariant(settings);
35
- return /*#__PURE__*/React.createElement(ErrorBoundary, null, /*#__PURE__*/React.createElement(Component, _extends({
42
+ return /*#__PURE__*/React.createElement(ErrorBoundary, null, editorModeEnabled && /*#__PURE__*/React.createElement(PbWrapper, {
43
+ name: name
44
+ }), /*#__PURE__*/React.createElement(Component, _extends({
36
45
  key: id,
37
46
  type: type,
38
47
  VariantComponent: VariantComponent
@@ -42,7 +51,10 @@ const RenderComponent = _ref => {
42
51
  siblings: siblings,
43
52
  banners: textBlockBanners,
44
53
  pbOptions: options
45
- }, childComponents) : childComponents));
54
+ }, childComponents) : childComponents), editorModeEnabled && /*#__PURE__*/React.createElement(PbWrapper, {
55
+ name: name,
56
+ type: "end"
57
+ }));
46
58
  };
47
59
  RenderComponent.propTypes = {
48
60
  component: PropTypes.shape({
@@ -1 +1 @@
1
- {"version":3,"file":"RenderComponent.js","names":["React","PropTypes","ErrorBoundary","getComponent","getVariant","appendGtmClassName","PB_TYPE_IMAGE","PB_TYPE_BANNER","PB_TYPE_TEXTBLOCK","PB_TYPE_CAROUSEL","BannerContextProvider","RenderComponent","_ref","component","imageProps","childComponents","options","textBlockBanners","hasTextBlockBanners","siblings","nestedComponentsProps","_objectWithoutProperties","_excluded","type","settings","id","name","Component","isImage","includes","imageOptions","updatedSettings","VariantComponent","variantSettings","createElement","_extends","key","banners","pbOptions","propTypes","shape","string","object","items","array","isRequired","node","bool","defaultProps"],"sources":["../../../src/hooks/helpers/RenderComponent.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport ErrorBoundary from '@blaze-cms/core-errors-ui';\nimport getComponent from './getComponent';\nimport getVariant from './getVariant';\nimport appendGtmClassName from './append-gtm-classname';\nimport { PB_TYPE_IMAGE, PB_TYPE_BANNER, PB_TYPE_TEXTBLOCK, PB_TYPE_CAROUSEL } from './constants';\nimport { BannerContextProvider } from '../../BannerContext';\n\nconst RenderComponent = ({\n component,\n imageProps,\n childComponents,\n options = {},\n textBlockBanners,\n hasTextBlockBanners,\n siblings,\n ...nestedComponentsProps\n}) => {\n const { type, settings, id, name } = component;\n const Component = getComponent(type);\n const isImage = [PB_TYPE_IMAGE, PB_TYPE_BANNER, PB_TYPE_TEXTBLOCK, PB_TYPE_CAROUSEL].includes(\n type\n );\n const imageOptions = isImage ? imageProps : {};\n if (!Component) return null;\n const updatedSettings = appendGtmClassName(settings, childComponents);\n const [VariantComponent, variantSettings] = getVariant(settings);\n\n return (\n <ErrorBoundary>\n <Component\n key={id}\n type={type}\n VariantComponent={VariantComponent}\n {...options}\n {...imageOptions}\n {...nestedComponentsProps}\n {...updatedSettings}\n {...variantSettings}\n name={name || settings.name}>\n {hasTextBlockBanners ? (\n <BannerContextProvider siblings={siblings} banners={textBlockBanners} pbOptions={options}>\n {childComponents}\n </BannerContextProvider>\n ) : (\n childComponents\n )}\n </Component>\n </ErrorBoundary>\n );\n};\n\nRenderComponent.propTypes = {\n component: PropTypes.shape({\n type: PropTypes.string,\n id: PropTypes.string,\n name: PropTypes.string,\n settings: PropTypes.object,\n items: PropTypes.array\n }).isRequired,\n imageProps: PropTypes.object.isRequired,\n options: PropTypes.object.isRequired,\n childComponents: PropTypes.node.isRequired,\n textBlockBanners: PropTypes.array,\n hasTextBlockBanners: PropTypes.bool,\n siblings: PropTypes.array\n};\n\nRenderComponent.defaultProps = { textBlockBanners: null, hasTextBlockBanners: false, siblings: [] };\n\nexport default RenderComponent;\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAClC,OAAOC,aAAa,MAAM,2BAA2B;AACrD,OAAO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AI,IAAIF,QAAQ,CAACE;EAAK,IAC3BR,mBAAmB,gBAClBlB,KAAA,CAAAkC,aAAA,CAACxB,qBAAqB;IAACS,QAAQ,EAAEA,QAAS;IAACkB,OAAO,EAAEpB,gBAAiB;IAACqB,SAAS,EAAEtB;EAAQ,GACtFD,eACoB,CAAC,GAExBA,eAEO,CACE,CAAC;AAEpB,CAAC;AAEDJ,eAAe,CAAC4B,SAAS,GAAG;EAC1B1B,SAAS,EAAEZ,SAAS,CAACuC,KAAK,CAAC;IACzBjB,IAAI,EAAEtB,SAAS,CAACwC,MAAM;IACtBhB,EAAE,EAAExB,SAAS,CAACwC,MAAM;IACpBf,IAAI,EAAEzB,SAAS,CAACwC,MAAM;IACtBjB,QAAQ,EAAEvB,SAAS,CAACyC,MAAM;IAC1BC,KAAK,EAAE1C,SAAS,CAAC2C;EACnB,CAAC,CAAC,CAACC,UAAU;EACb/B,UAAU,EAAEb,SAAS,CAACyC,MAAM,CAACG,UAAU;EACvC7B,OAAO,EAAEf,SAAS,CAACyC,MAAM,CAACG,UAAU;EACpC9B,eAAe,EAAEd,SAAS,CAAC6C,IAAI,CAACD,UAAU;EAC1C5B,gBAAgB,EAAEhB,SAAS,CAAC2C,KAAK;EACjC1B,mBAAmB,EAAEjB,SAAS,CAAC8C,IAAI;EACnC5B,QAAQ,EAAElB,SAAS,CAAC2C;AACtB,CAAC;AAEDjC,eAAe,CAACqC,YAAY,GAAG;EAAE/B,gBAAgB,EAAE,IAAI;EAAEC,mBAAmB,EAAE,KAAK;EAAEC,QAAQ,EAAE;AAAG,CAAC;AAEnG,eAAeR,eAAe","ignoreList":[]}
1
+ {"version":3,"file":"RenderComponent.js","names":["React","PropTypes","ErrorBoundary","useMainContext","getComponent","getVariant","appendGtmClassName","PB_TYPE_IMAGE","PB_TYPE_BANNER","PB_TYPE_TEXTBLOCK","PB_TYPE_CAROUSEL","BannerContextProvider","PbWrapper","RenderComponent","_ref","component","imageProps","childComponents","options","textBlockBanners","hasTextBlockBanners","siblings","nestedComponentsProps","_objectWithoutProperties","_excluded","debugOptions","editorModeEnabled","type","settings","id","name","Component","isImage","includes","imageOptions","updatedSettings","VariantComponent","variantSettings","createElement","_extends","key","banners","pbOptions","propTypes","shape","string","object","items","array","isRequired","node","bool","defaultProps"],"sources":["../../../src/hooks/helpers/RenderComponent.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport ErrorBoundary from '@blaze-cms/core-errors-ui';\nimport { useMainContext } from '@blaze-cms/nextjs-components';\nimport getComponent from './getComponent';\nimport getVariant from './getVariant';\nimport appendGtmClassName from './append-gtm-classname';\nimport { PB_TYPE_IMAGE, PB_TYPE_BANNER, PB_TYPE_TEXTBLOCK, PB_TYPE_CAROUSEL } from './constants';\nimport { BannerContextProvider } from '../../BannerContext';\nimport { PbWrapper } from '../../system-components';\n\nconst RenderComponent = ({\n component,\n imageProps,\n childComponents,\n options = {},\n textBlockBanners,\n hasTextBlockBanners,\n siblings,\n ...nestedComponentsProps\n}) => {\n const { debugOptions: { editorModeEnabled } = {} } = useMainContext();\n const { type, settings, id, name } = component;\n const Component = getComponent(type);\n const isImage = [PB_TYPE_IMAGE, PB_TYPE_BANNER, PB_TYPE_TEXTBLOCK, PB_TYPE_CAROUSEL].includes(\n type\n );\n const imageOptions = isImage ? imageProps : {};\n if (!Component) return null;\n const updatedSettings = appendGtmClassName(settings, childComponents);\n const [VariantComponent, variantSettings] = getVariant(settings);\n\n return (\n <ErrorBoundary>\n {editorModeEnabled && <PbWrapper name={name} />}\n <Component\n key={id}\n type={type}\n VariantComponent={VariantComponent}\n {...options}\n {...imageOptions}\n {...nestedComponentsProps}\n {...updatedSettings}\n {...variantSettings}\n name={name || settings.name}>\n {hasTextBlockBanners ? (\n <BannerContextProvider siblings={siblings} banners={textBlockBanners} pbOptions={options}>\n {childComponents}\n </BannerContextProvider>\n ) : (\n childComponents\n )}\n </Component>\n {editorModeEnabled && <PbWrapper name={name} type=\"end\" />}\n </ErrorBoundary>\n );\n};\n\nRenderComponent.propTypes = {\n component: PropTypes.shape({\n type: PropTypes.string,\n id: PropTypes.string,\n name: PropTypes.string,\n settings: PropTypes.object,\n items: PropTypes.array\n }).isRequired,\n imageProps: PropTypes.object.isRequired,\n options: PropTypes.object.isRequired,\n childComponents: PropTypes.node.isRequired,\n textBlockBanners: PropTypes.array,\n hasTextBlockBanners: PropTypes.bool,\n siblings: PropTypes.array\n};\n\nRenderComponent.defaultProps = { textBlockBanners: null, hasTextBlockBanners: false, siblings: [] };\n\nexport default RenderComponent;\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAClC,OAAOC,aAAa,MAAM,2BAA2B;AACrD,SAASC,cAAc,QAAQ,8BAA8B;AAC7D,OAAOC,YAAY,MAAM,gBAAgB;AACzC,OAAOC,UAAU,MAAM,cAAc;AACrC,OAAOC,kBAAkB,MAAM,wBAAwB;AACvD,SAASC,aAAa,EAAEC,cAAc,EAAEC,iBAAiB,EAAEC,gBAAgB,QAAQ,aAAa;AAChG,SAASC,qBAAqB,QAAQ,qBAAqB;AAC3D,SAASC,SAAS,QAAQ,yBAAyB;AAEnD,MAAMC,eAAe,GAAGC,IAAA,IASlB;EAAA,IATmB;MACvBC,SAAS;MACTC,UAAU;MACVC,eAAe;MACfC,OAAO,GAAG,CAAC,CAAC;MACZC,gBAAgB;MAChBC,mBAAmB;MACnBC;IAEF,CAAC,GAAAP,IAAA;IADIQ,qBAAqB,GAAAC,wBAAA,CAAAT,IAAA,EAAAU,SAAA;EAExB,MAAM;IAAEC,YAAY,EAAE;MAAEC;IAAkB,CAAC,GAAG,CAAC;EAAE,CAAC,GAAGvB,cAAc,CAAC,CAAC;EACrE,MAAM;IAAEwB,IAAI;IAAEC,QAAQ;IAAEC,EAAE;IAAEC;EAAK,CAAC,GAAGf,SAAS;EAC9C,MAAMgB,SAAS,GAAG3B,YAAY,CAACuB,IAAI,CAAC;EACpC,MAAMK,OAAO,G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EAAE,EAAE5B,SAAS,CAAC4C,MAAM;IACpBf,IAAI,EAAE7B,SAAS,CAAC4C,MAAM;IACtBjB,QAAQ,EAAE3B,SAAS,CAAC6C,MAAM;IAC1BC,KAAK,EAAE9C,SAAS,CAAC+C;EACnB,CAAC,CAAC,CAACC,UAAU;EACbjC,UAAU,EAAEf,SAAS,CAAC6C,MAAM,CAACG,UAAU;EACvC/B,OAAO,EAAEjB,SAAS,CAAC6C,MAAM,CAACG,UAAU;EACpChC,eAAe,EAAEhB,SAAS,CAACiD,IAAI,CAACD,UAAU;EAC1C9B,gBAAgB,EAAElB,SAAS,CAAC+C,KAAK;EACjC5B,mBAAmB,EAAEnB,SAAS,CAACkD,IAAI;EACnC9B,QAAQ,EAAEpB,SAAS,CAAC+C;AACtB,CAAC;AAEDnC,eAAe,CAACuC,YAAY,GAAG;EAAEjC,gBAAgB,EAAE,IAAI;EAAEC,mBAAmB,EAAE,KAAK;EAAEC,QAAQ,EAAE;AAAG,CAAC;AAEnG,eAAeR,eAAe","ignoreList":[]}
@@ -1,41 +1,55 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
3
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
4
+ function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
5
+ function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
6
+ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
7
+ var _images = /*#__PURE__*/new WeakMap();
8
+ var _pageBuilderID = /*#__PURE__*/new WeakMap();
9
+ var _handlers = /*#__PURE__*/new WeakMap();
2
10
  class StoreImages {
3
11
  constructor() {
4
- _defineProperty(this, "removeDuplicated", (images, key) => {
5
- this.images = images.map(item => item[key]).map((item, index, final) => final.indexOf(item) === index && index).filter(item => images[item]).map(item => images[item]);
12
+ _classPrivateFieldInitSpec(this, _images, []);
13
+ _classPrivateFieldInitSpec(this, _pageBuilderID, null);
14
+ _classPrivateFieldInitSpec(this, _handlers, {
15
+ toggleModal: () => {},
16
+ onSelect: () => {}
6
17
  });
7
- _defineProperty(this, "handleSelectedImage", imageId => {
8
- const index = this.images.findIndex(image => image.imageId === imageId);
9
- if (index !== -1) {
10
- this.setSelectedImage(index);
11
- }
12
- });
13
- _defineProperty(this, "setHandlers", ({
14
- toggleModal = this.toggleModal,
15
- setSelectedImage = this.setSelectedImage
16
- }) => {
17
- this.toggleModal = toggleModal;
18
- this.setSelectedImage = setSelectedImage;
18
+ _defineProperty(this, "toggleModal", () => {
19
+ _classPrivateFieldGet(_handlers, this).toggleModal();
19
20
  });
20
- _defineProperty(this, "addImages", (images, options = {}) => {
21
- if (!images.length) return this.images;
22
- const {
23
- pageBuilderID
24
- } = options;
25
- if (pageBuilderID !== this.id) {
26
- this.resetImages();
27
- this.id = pageBuilderID;
28
- }
29
- this.removeDuplicated(this.images.concat(images), 'imageId');
30
- return this.images;
21
+ _defineProperty(this, "handleSelectedImage", imageId => {
22
+ const idx = _classPrivateFieldGet(_images, this).findIndex(img => img.imageId === imageId);
23
+ if (idx !== -1) _classPrivateFieldGet(_handlers, this).onSelect(idx);
31
24
  });
32
- this.images = [];
33
- this.id = null;
34
- this.toggleModal = () => {};
35
- this.setSelectedImage = () => {};
25
+ }
26
+ get images() {
27
+ return [..._classPrivateFieldGet(_images, this)];
36
28
  }
37
29
  resetImages() {
38
- this.images = [];
30
+ _classPrivateFieldSet(_images, this, []);
31
+ }
32
+ setHandlers({
33
+ toggleModal,
34
+ setSelectedImage
35
+ }) {
36
+ if (typeof toggleModal === 'function') _classPrivateFieldGet(_handlers, this).toggleModal = toggleModal;
37
+ if (typeof setSelectedImage === 'function') _classPrivateFieldGet(_handlers, this).onSelect = setSelectedImage;
38
+ }
39
+ addImages(newImages, {
40
+ pageBuilderID
41
+ } = {}, handlers = {}) {
42
+ if (!Array.isArray(newImages) || newImages.length === 0) {
43
+ return this.images;
44
+ }
45
+ if (pageBuilderID != null && pageBuilderID !== _classPrivateFieldGet(_pageBuilderID, this)) {
46
+ this.resetImages();
47
+ _classPrivateFieldSet(_pageBuilderID, this, pageBuilderID);
48
+ }
49
+ const merged = _classPrivateFieldGet(_images, this).concat(newImages);
50
+ _classPrivateFieldSet(_images, this, Array.from(new Map(merged.map(img => [img.imageId, img])).values()));
51
+ this.setHandlers(handlers);
52
+ return this.images;
39
53
  }
40
54
  }
41
55
  export default new StoreImages();
@@ -1 +1 @@
1
- {"version":3,"file":"StoreImages.js","names":["StoreImages","constructor","_defineProperty","images","key","map","item","index","final","indexOf","filter","imageId","findIndex","image","setSelectedImage","toggleModal","options","length","pageBuilderID","id","resetImages","removeDuplicated","concat"],"sources":["../../../src/hooks/helpers/StoreImages.js"],"sourcesContent":["class StoreImages {\n constructor() {\n this.images = [];\n this.id = null;\n this.toggleModal = () => {};\n this.setSelectedImage = () => {};\n }\n\n resetImages() {\n this.images = [];\n }\n\n removeDuplicated = (images, key) => {\n this.images = images\n .map(item => item[key])\n .map((item, index, final) => final.indexOf(item) === index && index)\n .filter(item => images[item])\n .map(item => images[item]);\n };\n\n handleSelectedImage = imageId => {\n const index = this.images.findIndex(image => image.imageId === imageId);\n if (index !== -1) {\n this.setSelectedImage(index);\n }\n };\n\n setHandlers = ({ toggleModal = this.toggleModal, setSelectedImage = this.setSelectedImage }) => {\n this.toggleModal = toggleModal;\n this.setSelectedImage = setSelectedImage;\n };\n\n addImages = (images, options = {}) => {\n if (!images.length) return this.images;\n\n const { pageBuilderID } = options;\n\n if (pageBuilderID !== this.id) {\n this.resetImages();\n this.id = pageBuilderID;\n }\n\n this.removeDuplicated(this.images.concat(images), 'imageId');\n\n return this.images;\n };\n}\n\nexport default new StoreImages();\n"],"mappings":";AAAA,MAAMA,WAAW,CAAC;EA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;MAEA,IAAI,CAACG,gBAAgB,CAAC,IAAI,CAAClB,MAAM,CAACmB,MAAM,CAACnB,MAAM,CAAC,EAAE,SAAS,CAAC;MAE5D,OAAO,IAAI,CAACA,MAAM;IACpB,CAAC;IA3CC,IAAI,CAACA,MAAM,GAAG,EAAE;IAChB,IAAI,CAACgB,EAAE,GAAG,IAAI;IACd,IAAI,CAACJ,WAAW,GAAG,MAAM,CAAC,CAAC;IAC3B,IAAI,CAACD,gBAAgB,GAAG,MAAM,CAAC,CAAC;EAClC;EAEAM,WAAWA,CAAA,EAAG;IACZ,IAAI,CAACjB,MAAM,GAAG,EAAE;EAClB;AAoCF;AAEA,eAAe,IAAIH,WAAW,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"StoreImages.js","names":["StoreImages","constructor","_classPrivateFieldInitSpec","_images","_pageBuilderID","_handlers","toggleModal","onSelect","_defineProperty","_classPrivateFieldGet","imageId","idx","findIndex","img","images","resetImages","_classPrivateFieldSet","setHandlers","setSelectedImage","addImages","newImages","pageBuilderID","handlers","Array","isArray","length","merged","concat","from","Map","map","values"],"sources":["../../../src/hooks/helpers/StoreImages.js"],"sourcesContent":["class StoreImages {\n #images = [];\n\n #pageBuilderID = null;\n\n #handlers = {\n toggleModal: () => {},\n onSelect: () => {}\n };\n\n get images() {\n return [...this.#images];\n }\n\n resetImages() {\n this.#images = [];\n }\n\n setHandlers({ toggleModal, setSelectedImage }) {\n if (typeof toggleModal === 'function') this.#handlers.toggleModal = toggleModal;\n if (typeof setSelectedImage === 'function') this.#handlers.onSelect = setSelectedImage;\n }\n\n addImages(newImages, { pageBuilderID } = {}, handlers = {}) {\n if (!Array.isArray(newImages) || newImages.length === 0) {\n return this.images;\n }\n\n if (pageBuilderID != null && pageBuilderID !== this.#pageBuilderID) {\n this.resetImages();\n this.#pageBuilderID = pageBuilderID;\n }\n\n const merged = this.#images.concat(newImages);\n this.#images = Array.from(new Map(merged.map(img => [img.imageId, img])).values());\n\n this.setHandlers(handlers);\n return this.images;\n }\n\n toggleModal = () => {\n this.#handlers.toggleModal();\n };\n\n handleSelectedImage = imageId => {\n const idx = this.#images.findIndex(img => img.imageId === imageId);\n if (idx !== -1) this.#handlers.onSelect(idx);\n };\n}\n\nexport default new StoreImages();\n"],"mappings":";;;;;;;;;AAAA,MAAMA,WAAW,CAAC;EAAAC,YAAA;IAChBC,0BAAA,OAAAC,OAAO,EAAG,EAAE;IAEZD,0BAAA,OAAAE,cAAc,EAAG,IAAI;IAErBF,0BAAA,OAAAG,SAAS,EAAG;MACVC,WAAW,EAAEA,CAAA,KAAM,CAAC,CAAC;MACrBC,QAAQ,EAAEA,CAAA,KAAM,CAAC;IACnB,CAAC;IAACC,eAAA,sBAgCY,MAAM;MAClBC,qBAAA,CAAKJ,SAAS,EAAd,IAAa,CAAC,CAACC,WAAW,CAAC,CAAC;IAC9B,CAAC;IAAAE,eAAA,8BAEqBE,OAAO,IAAI;MAC/B,MAAMC,GAAG,GAAGF,qBAAA,CAAKN,OAAO,EAAZ,IAAW,CAAC,CAACS,SAAS,CAACC,GAAG,IAAIA,GAAG,CAACH,OAAO,KAAKA,OAAO,CAAC;MAClE,IAAIC,GAAG,KAAK,CAAC,CAAC,EAAEF,qBAAA,CAAKJ,SAAS,EAAd,IAAa,CAAC,CAACE,QAAQ,CAACI,GAAG,CAAC;IAC9C,CAAC;EAAA;EArCD,IAAIG,MAAMA,CAAA,EAAG;IACX,OAAO,CAAC,GAAGL,qBAAA,CAAKN,OAAO,EAAZ,IAAW,CAAC,CAAC;EAC1B;EAEAY,WAAWA,CAAA,EAAG;IACZC,qBAAA,CAAKb,OAAO,EAAZ,IAAI,EAAW,EAAJ,CAAC;EACd;EAEAc,WAAWA,CAAC;IAAEX,WAAW;IAAEY;EAAiB,CAAC,EAAE;IAC7C,IAAI,OAAOZ,WAAW,KAAK,UAAU,EAAEG,qBAAA,CAAKJ,SAAS,EAAd,IAAa,CAAC,CAACC,WAAW,GAAGA,WAAW;IAC/E,IAAI,OAAOY,gBAAgB,KAAK,UAAU,EAAET,qBAAA,CAAKJ,SAAS,EAAd,IAAa,CAAC,CAACE,QAAQ,GAAGW,gBAAgB;EACxF;EAEAC,SAASA,CAACC,SAAS,EAAE;IAAEC;EAAc,CAAC,GAAG,CAAC,CAAC,EAAEC,QAAQ,GAAG,CAAC,CAAC,EAAE;IAC1D,IAAI,CAACC,KAAK,CAACC,OAAO,CAACJ,SAAS,CAAC,IAAIA,SAAS,CAACK,MAAM,KAAK,CAAC,EAAE;MACvD,OAAO,IAAI,CAACX,MAAM;IACpB;IAEA,IAAIO,aAAa,IAAI,IAAI,IAAIA,aAAa,KAAKZ,qBAAA,CAAKL,cAAc,EAAnB,IAAkB,CAAC,EAAE;MAClE,IAAI,CAACW,WAAW,CAAC,CAAC;MAClBC,qBAAA,CAAKZ,cAAc,EAAnB,IAAI,EAAkBiB,aAAJ,CAAC;IACrB;IAEA,MAAMK,MAAM,GAAGjB,qBAAA,CAAKN,OAAO,EAAZ,IAAW,CAAC,CAACwB,MAAM,CAACP,SAAS,CAAC;IAC7CJ,qBAAA,CAAKb,OAAO,EAAZ,IAAI,EAAWoB,KAAK,CAACK,IAAI,CAAC,IAAIC,GAAG,CAACH,MAAM,CAACI,GAAG,CAACjB,GAAG,IAAI,CAACA,GAAG,CAACH,OAAO,EAAEG,GAAG,CAAC,CAAC,CAAC,CAACkB,MAAM,CAAC,CAAC,CAAtE,CAAC;IAEZ,IAAI,CAACd,WAAW,CAACK,QAAQ,CAAC;IAC1B,OAAO,IAAI,CAACR,MAAM;EACpB;AAUF;AAEA,eAAe,IAAId,WAAW,CAAC,CAAC","ignoreList":[]}
@@ -9,4 +9,5 @@ export { default as useBannerInsertion } from './use-banner-insertion';
9
9
  export { default as useAppSyncEventHook } from './use-app-sync-event-hook';
10
10
  export { default as usePortal } from './use-portal';
11
11
  export { default as useFilterAggregationValues } from './use-filter-aggregation-values';
12
+ export { default as useAppEventHook } from './use-app-event-hook';
12
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["default","useGetEntitySchema","useGetEntitySchemasAsObj","useGetImageIdFromRelation","useGetImages","usePageBuilder","useGetSingleEntitySchema","useCheckMobileScreen","useBannerInsertion","useAppSyncEventHook","usePortal","useFilterAggregationValues"],"sources":["../../src/hooks/index.js"],"sourcesContent":["export { default as useGetEntitySchema } from './use-get-entity-schema';\nexport { default as useGetEntitySchemasAsObj } from './use-get-entity-schemas-as-obj';\nexport { default as useGetImageIdFromRelation } from './use-get-image-id-from-relation';\nexport { default as useGetImages } from './use-get-images';\nexport { default as usePageBuilder } from './use-page-builder';\nexport { default as useGetSingleEntitySchema } from './use-get-single-entity-schema';\nexport { default as useCheckMobileScreen } from './use-check-mobile-screen';\nexport { default as useBannerInsertion } from './use-banner-insertion';\nexport { default as useAppSyncEventHook } from './use-app-sync-event-hook';\nexport { default as usePortal } from './use-portal';\nexport { default as useFilterAggregationValues } from './use-filter-aggregation-values';\n"],"mappings":"AAAA,SAASA,OAAO,IAAIC,kBAAkB,QAAQ,yBAAyB;AACvE,SAASD,OAAO,IAAIE,wBAAwB,QAAQ,iCAAiC;AACrF,SAASF,OAAO,IAAIG,yBAAyB,QAAQ,kCAAkC;AACvF,SAASH,OAAO,IAAII,YAAY,QAAQ,kBAAkB;AAC1D,SAASJ,OAAO,IAAIK,cAAc,QAAQ,oBAAoB;AAC9D,SAASL,OAAO,IAAIM,wBAAwB,QAAQ,gCAAgC;AACpF,SAASN,OAAO,IAAIO,oBAAoB,QAAQ,2BAA2B;AAC3E,SAASP,OAAO,IAAIQ,kBAAkB,QAAQ,wBAAwB;AACtE,SAASR,OAAO,IAAIS,mBAAmB,QAAQ,2BAA2B;AAC1E,SAAST,OAAO,IAAIU,SAAS,QAAQ,cAAc;AACnD,SAASV,OAAO,IAAIW,0BAA0B,QAAQ,iCAAiC","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["default","useGetEntitySchema","useGetEntitySchemasAsObj","useGetImageIdFromRelation","useGetImages","usePageBuilder","useGetSingleEntitySchema","useCheckMobileScreen","useBannerInsertion","useAppSyncEventHook","usePortal","useFilterAggregationValues","useAppEventHook"],"sources":["../../src/hooks/index.js"],"sourcesContent":["export { default as useGetEntitySchema } from './use-get-entity-schema';\nexport { default as useGetEntitySchemasAsObj } from './use-get-entity-schemas-as-obj';\nexport { default as useGetImageIdFromRelation } from './use-get-image-id-from-relation';\nexport { default as useGetImages } from './use-get-images';\nexport { default as usePageBuilder } from './use-page-builder';\nexport { default as useGetSingleEntitySchema } from './use-get-single-entity-schema';\nexport { default as useCheckMobileScreen } from './use-check-mobile-screen';\nexport { default as useBannerInsertion } from './use-banner-insertion';\nexport { default as useAppSyncEventHook } from './use-app-sync-event-hook';\nexport { default as usePortal } from './use-portal';\nexport { default as useFilterAggregationValues } from './use-filter-aggregation-values';\nexport { default as useAppEventHook } from './use-app-event-hook';\n"],"mappings":"AAAA,SAASA,OAAO,IAAIC,kBAAkB,QAAQ,yBAAyB;AACvE,SAASD,OAAO,IAAIE,wBAAwB,QAAQ,iCAAiC;AACrF,SAASF,OAAO,IAAIG,yBAAyB,QAAQ,kCAAkC;AACvF,SAASH,OAAO,IAAII,YAAY,QAAQ,kBAAkB;AAC1D,SAASJ,OAAO,IAAIK,cAAc,QAAQ,oBAAoB;AAC9D,SAASL,OAAO,IAAIM,wBAAwB,QAAQ,gCAAgC;AACpF,SAASN,OAAO,IAAIO,oBAAoB,QAAQ,2BAA2B;AAC3E,SAASP,OAAO,IAAIQ,kBAAkB,QAAQ,wBAAwB;AACtE,SAASR,OAAO,IAAIS,mBAAmB,QAAQ,2BAA2B;AAC1E,SAAST,OAAO,IAAIU,SAAS,QAAQ,cAAc;AACnD,SAASV,OAAO,IAAIW,0BAA0B,QAAQ,iCAAiC;AACvF,SAASX,OAAO,IAAIY,eAAe,QAAQ,sBAAsB","ignoreList":[]}
@@ -0,0 +1,39 @@
1
+ import { AppContext } from '@blaze-cms/nextjs-components';
2
+ import { useContext, useEffect, useState, useMemo } from 'react';
3
+ const useAppEventHook = ({
4
+ eventName,
5
+ data,
6
+ props
7
+ }) => {
8
+ const {
9
+ blazeApp
10
+ } = useContext(AppContext);
11
+ const hasListener = blazeApp && blazeApp.events && blazeApp.events.hasListeners(`plugin:page-builder:${eventName}`);
12
+ const [loading, setLoading] = useState(hasListener);
13
+ const [updatedData, setUpdatedData] = useState(null);
14
+
15
+ // eslint-disable-next-line react-hooks/exhaustive-deps
16
+ const stableData = useMemo(() => data, [JSON.stringify(data)]);
17
+ // eslint-disable-next-line react-hooks/exhaustive-deps
18
+ const stableProps = useMemo(() => props, [JSON.stringify(props)]);
19
+ useEffect(() => {
20
+ async function emitEvent() {
21
+ // setLoading(true);
22
+ await blazeApp.events.emitAsync(`plugin:page-builder:${eventName}`, {
23
+ data: updatedData,
24
+ props: stableProps
25
+ });
26
+ setLoading(false);
27
+ }
28
+ if (hasListener && updatedData) emitEvent();
29
+ }, [updatedData, eventName, hasListener, blazeApp.events, stableProps]);
30
+ useEffect(() => {
31
+ setUpdatedData(stableData);
32
+ }, [stableData]);
33
+ return {
34
+ data: updatedData || stableData,
35
+ loading
36
+ };
37
+ };
38
+ export default useAppEventHook;
39
+ //# sourceMappingURL=use-app-event-hook.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-app-event-hook.js","names":["AppContext","useContext","useEffect","useState","useMemo","useAppEventHook","eventName","data","props","blazeApp","hasListener","events","hasListeners","loading","setLoading","updatedData","setUpdatedData","stableData","JSON","stringify","stableProps","emitEvent","emitAsync"],"sources":["../../src/hooks/use-app-event-hook.js"],"sourcesContent":["import { AppContext } from '@blaze-cms/nextjs-components';\nimport { useContext, useEffect, useState, useMemo } from 'react';\n\nconst useAppEventHook = ({ eventName, data, props }) => {\n const { blazeApp } = useContext(AppContext);\n const hasListener =\n blazeApp && blazeApp.events && blazeApp.events.hasListeners(`plugin:page-builder:${eventName}`);\n const [loading, setLoading] = useState(hasListener);\n const [updatedData, setUpdatedData] = useState(null);\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n const stableData = useMemo(() => data, [JSON.stringify(data)]);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n const stableProps = useMemo(() => props, [JSON.stringify(props)]);\n\n useEffect(() => {\n async function emitEvent() {\n // setLoading(true);\n await blazeApp.events.emitAsync(`plugin:page-builder:${eventName}`, {\n data: updatedData,\n props: stableProps\n });\n setLoading(false);\n }\n if (hasListener && updatedData) emitEvent();\n }, [updatedData, eventName, hasListener, blazeApp.events, stableProps]);\n\n useEffect(() => {\n setUpdatedData(stableData);\n }, [stableData]);\n\n return { data: updatedData || stableData, loading };\n};\nexport default useAppEventHook;\n"],"mappings":"AAAA,SAASA,UAAU,QAAQ,8BAA8B;AACzD,SAASC,UAAU,EAAEC,SAAS,EAAEC,QAAQ,EAAEC,OAAO,QAAQ,OAAO;AAEhE,MAAMC,eAAe,GAAGA,CAAC;EAAEC,SAAS;EAAEC,IAAI;EAAEC;AAAM,CAAC,KAAK;EACtD,MAAM;IAAEC;EAAS,CAAC,GAAGR,UAAU,CAACD,UAAU,CAAC;EAC3C,MAAMU,WAAW,GACfD,QAAQ,IAAIA,QAAQ,CAACE,MAAM,IAAIF,QAAQ,CAACE,MAAM,CAACC,YAAY,CAAC,uBAAuBN,SAAS,EAAE,CAAC;EACjG,MAAM,CAACO,OAAO,EAAEC,UAAU,CAAC,GAAGX,QAAQ,CAACO,WAAW,CAAC;EACnD,MAAM,CAACK,WAAW,EAAEC,cAAc,CAAC,GAAGb,QAAQ,CAAC,IAAI,CAAC;;EAEpD;EACA,MAAMc,UAAU,GAAGb,OAAO,CAAC,MAAMG,IAAI,EAAE,CAACW,IAAI,CAACC,SAAS,CAACZ,IAAI,CAAC,CAAC,CAAC;EAC9D;EACA,MAAMa,WAAW,GAAGhB,OAAO,CAAC,MAAMI,KAAK,EAAE,CAACU,IAAI,CAACC,SAAS,CAACX,KAAK,CAAC,CAAC,CAAC;EAEjEN,SAAS,CAAC,MAAM;I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