@blaze-cms/react-page-builder 0.146.0-translations.8 → 0.147.0-rc-eagle.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1578) hide show
  1. package/lib/BannerContext/helpers/index.js +2 -3
  2. package/lib/BannerContext/helpers/index.js.map +1 -1
  3. package/lib/BannerContext/helpers/set-initial-banner-counters.js +13 -17
  4. package/lib/BannerContext/helpers/set-initial-banner-counters.js.map +1 -1
  5. package/lib/BannerContext/index.js +19 -26
  6. package/lib/BannerContext/index.js.map +1 -1
  7. package/lib/HOC/index.js +2 -3
  8. package/lib/HOC/index.js.map +1 -1
  9. package/lib/HOC/recreateOnNavigation.js +11 -12
  10. package/lib/HOC/recreateOnNavigation.js.map +1 -1
  11. package/lib/HOC/withInfiniteScroll.js +47 -81
  12. package/lib/HOC/withInfiniteScroll.js.map +1 -1
  13. package/lib/HOC/withTitle.js +21 -30
  14. package/lib/HOC/withTitle.js.map +1 -1
  15. package/lib/PBContext/index.js +3 -4
  16. package/lib/PBContext/index.js.map +1 -1
  17. package/lib/application/query/index.js +179 -46
  18. package/lib/application/query/index.js.map +1 -1
  19. package/lib/components/BackToTop/BackToTop.js +16 -32
  20. package/lib/components/BackToTop/BackToTop.js.map +1 -1
  21. package/lib/components/BackToTop/index.js +2 -3
  22. package/lib/components/BackToTop/index.js.map +1 -1
  23. package/lib/components/Banner/AdSlotRender.js +45 -63
  24. package/lib/components/Banner/AdSlotRender.js.map +1 -1
  25. package/lib/components/Banner/Banner.js +63 -64
  26. package/lib/components/Banner/Banner.js.map +1 -1
  27. package/lib/components/Banner/BannerRender.js +89 -88
  28. package/lib/components/Banner/BannerRender.js.map +1 -1
  29. package/lib/components/Banner/helpers.js +89 -135
  30. package/lib/components/Banner/helpers.js.map +1 -1
  31. package/lib/components/Banner/index.js +3 -17
  32. package/lib/components/Banner/index.js.map +1 -1
  33. package/lib/components/BlazeLink.js +37 -52
  34. package/lib/components/BlazeLink.js.map +1 -1
  35. package/lib/components/Breadcrumb/Breadcrumb.js +66 -71
  36. package/lib/components/Breadcrumb/Breadcrumb.js.map +1 -1
  37. package/lib/components/Breadcrumb/index.js +2 -3
  38. package/lib/components/Breadcrumb/index.js.map +1 -1
  39. package/lib/components/Button.js +75 -137
  40. package/lib/components/Button.js.map +1 -1
  41. package/lib/components/Card/Card.js +187 -190
  42. package/lib/components/Card/Card.js.map +1 -1
  43. package/lib/components/Card/CardsContainer.js +108 -120
  44. package/lib/components/Card/CardsContainer.js.map +1 -1
  45. package/lib/components/Card/CardsFactory.js +62 -58
  46. package/lib/components/Card/CardsFactory.js.map +1 -1
  47. package/lib/components/Card/CardsRender.js +166 -185
  48. package/lib/components/Card/CardsRender.js.map +1 -1
  49. package/lib/components/Card/constants.js +2 -3
  50. package/lib/components/Card/constants.js.map +1 -1
  51. package/lib/components/Card/helpers/get-dynamic-grid-classes.js +16 -22
  52. package/lib/components/Card/helpers/get-dynamic-grid-classes.js.map +1 -1
  53. package/lib/components/Card/helpers/get-published-listing-url.js +3 -6
  54. package/lib/components/Card/helpers/get-published-listing-url.js.map +1 -1
  55. package/lib/components/Card/helpers/index.js +18 -19
  56. package/lib/components/Card/helpers/index.js.map +1 -1
  57. package/lib/components/Card/helpers/use-dynamic-size-key.js +5 -11
  58. package/lib/components/Card/helpers/use-dynamic-size-key.js.map +1 -1
  59. package/lib/components/Card/index.js +2 -3
  60. package/lib/components/Card/index.js.map +1 -1
  61. package/lib/components/Carousel/Carousel.js +59 -26
  62. package/lib/components/Carousel/Carousel.js.map +1 -1
  63. package/lib/components/Carousel/CarouselImage/CarouselImage.js +36 -34
  64. package/lib/components/Carousel/CarouselImage/CarouselImage.js.map +1 -1
  65. package/lib/components/Carousel/CarouselImage/constants.js +1 -2
  66. package/lib/components/Carousel/CarouselImage/constants.js.map +1 -1
  67. package/lib/components/Carousel/CarouselImage/index.js +2 -3
  68. package/lib/components/Carousel/CarouselImage/index.js.map +1 -1
  69. package/lib/components/Carousel/CarouselRender/CarouselRender.js +41 -47
  70. package/lib/components/Carousel/CarouselRender/CarouselRender.js.map +1 -1
  71. package/lib/components/Carousel/CarouselRender/index.js +2 -3
  72. package/lib/components/Carousel/CarouselRender/index.js.map +1 -1
  73. package/lib/components/Carousel/hooks/useCarouselNavigation.js +25 -26
  74. package/lib/components/Carousel/hooks/useCarouselNavigation.js.map +1 -1
  75. package/lib/components/Carousel/index.js +2 -3
  76. package/lib/components/Carousel/index.js.map +1 -1
  77. package/lib/components/CarouselWrapper/CarouselWrapper.js +11 -10
  78. package/lib/components/CarouselWrapper/CarouselWrapper.js.map +1 -1
  79. package/lib/components/CarouselWrapper/DefaultCarousel.js +72 -80
  80. package/lib/components/CarouselWrapper/DefaultCarousel.js.map +1 -1
  81. package/lib/components/CarouselWrapper/SmoothScrollCarousel.js +23 -23
  82. package/lib/components/CarouselWrapper/SmoothScrollCarousel.js.map +1 -1
  83. package/lib/components/CarouselWrapper/index.js +2 -3
  84. package/lib/components/CarouselWrapper/index.js.map +1 -1
  85. package/lib/components/ClickWrapper.js +20 -38
  86. package/lib/components/ClickWrapper.js.map +1 -1
  87. package/lib/components/Code/Code.js +20 -34
  88. package/lib/components/Code/Code.js.map +1 -1
  89. package/lib/components/Code/ScriptTag.js +15 -29
  90. package/lib/components/Code/ScriptTag.js.map +1 -1
  91. package/lib/components/Code/helpers/index.js +2 -3
  92. package/lib/components/Code/helpers/index.js.map +1 -1
  93. package/lib/components/Code/helpers/wrap-script-tags.js +12 -15
  94. package/lib/components/Code/helpers/wrap-script-tags.js.map +1 -1
  95. package/lib/components/Code/index.js +2 -3
  96. package/lib/components/Code/index.js.map +1 -1
  97. package/lib/components/ContentGroup/ContentGroup.js +43 -40
  98. package/lib/components/ContentGroup/ContentGroup.js.map +1 -1
  99. package/lib/components/ContentGroup/ContentGroupAccordion.js +83 -112
  100. package/lib/components/ContentGroup/ContentGroupAccordion.js.map +1 -1
  101. package/lib/components/ContentGroup/ContentGroupTabs.js +45 -62
  102. package/lib/components/ContentGroup/ContentGroupTabs.js.map +1 -1
  103. package/lib/components/ContentGroup/constants.js +8 -10
  104. package/lib/components/ContentGroup/constants.js.map +1 -1
  105. package/lib/components/ContentGroup/helpers/get-active-tab.js +7 -13
  106. package/lib/components/ContentGroup/helpers/get-active-tab.js.map +1 -1
  107. package/lib/components/ContentGroup/helpers/get-sections-data.js +15 -18
  108. package/lib/components/ContentGroup/helpers/get-sections-data.js.map +1 -1
  109. package/lib/components/ContentGroup/helpers/get-structured-data-properties.js +4 -5
  110. package/lib/components/ContentGroup/helpers/get-structured-data-properties.js.map +1 -1
  111. package/lib/components/ContentGroup/helpers/index.js +4 -5
  112. package/lib/components/ContentGroup/helpers/index.js.map +1 -1
  113. package/lib/components/ContentGroup/index.js +2 -3
  114. package/lib/components/ContentGroup/index.js.map +1 -1
  115. package/lib/components/ContentGroupSection/ContentGroupSection.js +9 -10
  116. package/lib/components/ContentGroupSection/ContentGroupSection.js.map +1 -1
  117. package/lib/components/ContentGroupSection/index.js +2 -3
  118. package/lib/components/ContentGroupSection/index.js.map +1 -1
  119. package/lib/components/DataSummary/DataSummaryFactory.js +52 -57
  120. package/lib/components/DataSummary/DataSummaryFactory.js.map +1 -1
  121. package/lib/components/DataSummary/DataSummaryRender.js +56 -55
  122. package/lib/components/DataSummary/DataSummaryRender.js.map +1 -1
  123. package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummary.js +14 -16
  124. package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummary.js.map +1 -1
  125. package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummaryContent.js +14 -27
  126. package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummaryContent.js.map +1 -1
  127. package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/index.js +2 -3
  128. package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/index.js.map +1 -1
  129. package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummary.js +11 -10
  130. package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummary.js.map +1 -1
  131. package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummaryContent.js +15 -30
  132. package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummaryContent.js.map +1 -1
  133. package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/index.js +2 -3
  134. package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/index.js.map +1 -1
  135. package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummary.js +11 -10
  136. package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummary.js.map +1 -1
  137. package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummaryContent.js +20 -35
  138. package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummaryContent.js.map +1 -1
  139. package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/index.js +2 -3
  140. package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/index.js.map +1 -1
  141. package/lib/components/DataSummary/DataSummaryTypes/ListSummary/ListSummary.js +11 -10
  142. package/lib/components/DataSummary/DataSummaryTypes/ListSummary/ListSummary.js.map +1 -1
  143. package/lib/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.js +20 -35
  144. package/lib/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.js.map +1 -1
  145. package/lib/components/DataSummary/DataSummaryTypes/ListSummary/index.js +2 -3
  146. package/lib/components/DataSummary/DataSummaryTypes/ListSummary/index.js.map +1 -1
  147. package/lib/components/DataSummary/DataSummaryTypes/TextSummary/TextSummary.js +11 -10
  148. package/lib/components/DataSummary/DataSummaryTypes/TextSummary/TextSummary.js.map +1 -1
  149. package/lib/components/DataSummary/DataSummaryTypes/TextSummary/TextSummaryContent.js +15 -30
  150. package/lib/components/DataSummary/DataSummaryTypes/TextSummary/TextSummaryContent.js.map +1 -1
  151. package/lib/components/DataSummary/DataSummaryTypes/TextSummary/index.js +2 -3
  152. package/lib/components/DataSummary/DataSummaryTypes/TextSummary/index.js.map +1 -1
  153. package/lib/components/DataSummary/DataSummaryTypes/index.js +7 -37
  154. package/lib/components/DataSummary/DataSummaryTypes/index.js.map +1 -1
  155. package/lib/components/DataSummary/helpers/build-loop-props-content.js +36 -52
  156. package/lib/components/DataSummary/helpers/build-loop-props-content.js.map +1 -1
  157. package/lib/components/DataSummary/helpers/build-props-to-display-with-content.js +22 -27
  158. package/lib/components/DataSummary/helpers/build-props-to-display-with-content.js.map +1 -1
  159. package/lib/components/DataSummary/helpers/get-data-summary-query.js +13 -10
  160. package/lib/components/DataSummary/helpers/get-data-summary-query.js.map +1 -1
  161. package/lib/components/DataSummary/helpers/get-link-based-on-value.js +4 -6
  162. package/lib/components/DataSummary/helpers/get-link-based-on-value.js.map +1 -1
  163. package/lib/components/DataSummary/helpers/get-link-props.js +6 -16
  164. package/lib/components/DataSummary/helpers/get-link-props.js.map +1 -1
  165. package/lib/components/DataSummary/helpers/get-link-to-published-content.js +5 -14
  166. package/lib/components/DataSummary/helpers/get-link-to-published-content.js.map +1 -1
  167. package/lib/components/DataSummary/helpers/get-loop-props-limit.js +6 -12
  168. package/lib/components/DataSummary/helpers/get-loop-props-limit.js.map +1 -1
  169. package/lib/components/DataSummary/helpers/get-prop-value.js +15 -25
  170. package/lib/components/DataSummary/helpers/get-prop-value.js.map +1 -1
  171. package/lib/components/DataSummary/helpers/get-record-id.js +20 -0
  172. package/lib/components/DataSummary/helpers/get-record-id.js.map +1 -0
  173. package/lib/components/DataSummary/helpers/get-value-from-array.js +12 -17
  174. package/lib/components/DataSummary/helpers/get-value-from-array.js.map +1 -1
  175. package/lib/components/DataSummary/helpers/index.js +23 -17
  176. package/lib/components/DataSummary/helpers/index.js.map +1 -1
  177. package/lib/components/DataSummary/helpers/parse-boolean-values.js +3 -4
  178. package/lib/components/DataSummary/helpers/parse-boolean-values.js.map +1 -1
  179. package/lib/components/DataSummary/helpers/strip-summary-props-content.js +6 -13
  180. package/lib/components/DataSummary/helpers/strip-summary-props-content.js.map +1 -1
  181. package/lib/components/DataSummary/index.js +2 -3
  182. package/lib/components/DataSummary/index.js.map +1 -1
  183. package/lib/components/DateTime/DateTime.js +18 -18
  184. package/lib/components/DateTime/DateTime.js.map +1 -1
  185. package/lib/components/DateTime/index.js +2 -3
  186. package/lib/components/DateTime/index.js.map +1 -1
  187. package/lib/components/EmailConfirm/EmailConfirm.js +48 -55
  188. package/lib/components/EmailConfirm/EmailConfirm.js.map +1 -1
  189. package/lib/components/EmailConfirm/index.js +2 -3
  190. package/lib/components/EmailConfirm/index.js.map +1 -1
  191. package/lib/components/EmailConfirm/mutation.js +12 -7
  192. package/lib/components/EmailConfirm/mutation.js.map +1 -1
  193. package/lib/components/ErrorMessage/ErrorMessage.js +19 -22
  194. package/lib/components/ErrorMessage/ErrorMessage.js.map +1 -1
  195. package/lib/components/ErrorMessage/index.js +3 -17
  196. package/lib/components/ErrorMessage/index.js.map +1 -1
  197. package/lib/components/Iframe/Iframe.js +19 -20
  198. package/lib/components/Iframe/Iframe.js.map +1 -1
  199. package/lib/components/Iframe/constants.js +2 -3
  200. package/lib/components/Iframe/constants.js.map +1 -1
  201. package/lib/components/Iframe/index.js +2 -3
  202. package/lib/components/Iframe/index.js.map +1 -1
  203. package/lib/components/Image/GlobalLightbox/GlobalLightbox.js +85 -103
  204. package/lib/components/Image/GlobalLightbox/GlobalLightbox.js.map +1 -1
  205. package/lib/components/Image/GlobalLightbox/NavButton.js +20 -22
  206. package/lib/components/Image/GlobalLightbox/NavButton.js.map +1 -1
  207. package/lib/components/Image/GlobalLightbox/index.js +3 -17
  208. package/lib/components/Image/GlobalLightbox/index.js.map +1 -1
  209. package/lib/components/Image/Image.js +94 -116
  210. package/lib/components/Image/Image.js.map +1 -1
  211. package/lib/components/Image/ImageDetails.js +19 -21
  212. package/lib/components/Image/ImageDetails.js.map +1 -1
  213. package/lib/components/Image/ImageFactory.js +57 -63
  214. package/lib/components/Image/ImageFactory.js.map +1 -1
  215. package/lib/components/Image/ImageRender.js +44 -44
  216. package/lib/components/Image/ImageRender.js.map +1 -1
  217. package/lib/components/Image/Lightbox/Lightbox.js +29 -43
  218. package/lib/components/Image/Lightbox/Lightbox.js.map +1 -1
  219. package/lib/components/Image/Lightbox/index.js +2 -3
  220. package/lib/components/Image/Lightbox/index.js.map +1 -1
  221. package/lib/components/Image/index.js +2 -3
  222. package/lib/components/Image/index.js.map +1 -1
  223. package/lib/components/ItemList/ItemListButton/ItemListButton.js +63 -78
  224. package/lib/components/ItemList/ItemListButton/ItemListButton.js.map +1 -1
  225. package/lib/components/ItemList/ItemListButton/index.js +2 -3
  226. package/lib/components/ItemList/ItemListButton/index.js.map +1 -1
  227. package/lib/components/ItemList/ItemListCounter/ItemListCounter.js +34 -35
  228. package/lib/components/ItemList/ItemListCounter/ItemListCounter.js.map +1 -1
  229. package/lib/components/ItemList/ItemListCounter/index.js +2 -3
  230. package/lib/components/ItemList/ItemListCounter/index.js.map +1 -1
  231. package/lib/components/ItemList/ItemListNew/ItemListNew.js +36 -33
  232. package/lib/components/ItemList/ItemListNew/ItemListNew.js.map +1 -1
  233. package/lib/components/ItemList/ItemListNew/index.js +2 -3
  234. package/lib/components/ItemList/ItemListNew/index.js.map +1 -1
  235. package/lib/components/ItemList/constants.js +5 -6
  236. package/lib/components/ItemList/constants.js.map +1 -1
  237. package/lib/components/ItemList/helpers/get-item-list-data.js +3 -4
  238. package/lib/components/ItemList/helpers/get-item-list-data.js.map +1 -1
  239. package/lib/components/ItemList/helpers/get-item-list-id.js +4 -6
  240. package/lib/components/ItemList/helpers/get-item-list-id.js.map +1 -1
  241. package/lib/components/ItemList/helpers/get-item-list-ids.js +9 -12
  242. package/lib/components/ItemList/helpers/get-item-list-ids.js.map +1 -1
  243. package/lib/components/ItemList/helpers/index.js +10 -11
  244. package/lib/components/ItemList/helpers/index.js.map +1 -1
  245. package/lib/components/ItemList/helpers/set-item-list-id.js +4 -6
  246. package/lib/components/ItemList/helpers/set-item-list-id.js.map +1 -1
  247. package/lib/components/ItemList/helpers/set-param-and-redirect.js +7 -18
  248. package/lib/components/ItemList/helpers/set-param-and-redirect.js.map +1 -1
  249. package/lib/components/ItemList/hooks/index.js +2 -3
  250. package/lib/components/ItemList/hooks/index.js.map +1 -1
  251. package/lib/components/ItemList/hooks/use-item-list-id.js +12 -17
  252. package/lib/components/ItemList/hooks/use-item-list-id.js.map +1 -1
  253. package/lib/components/ItemList/icons/AddedBookmark.js +8 -9
  254. package/lib/components/ItemList/icons/AddedBookmark.js.map +1 -1
  255. package/lib/components/ItemList/icons/BaseBookmark.js +9 -10
  256. package/lib/components/ItemList/icons/BaseBookmark.js.map +1 -1
  257. package/lib/components/ItemList/icons/HoverBookmark.js +9 -10
  258. package/lib/components/ItemList/icons/HoverBookmark.js.map +1 -1
  259. package/lib/components/ItemList/icons/RemoveBookmark.js +8 -9
  260. package/lib/components/ItemList/icons/RemoveBookmark.js.map +1 -1
  261. package/lib/components/ItemList/icons/index.js +8 -9
  262. package/lib/components/ItemList/icons/index.js.map +1 -1
  263. package/lib/components/Layout/Layout.js +57 -53
  264. package/lib/components/Layout/Layout.js.map +1 -1
  265. package/lib/components/Layout/LayoutFactory.js +11 -23
  266. package/lib/components/Layout/LayoutFactory.js.map +1 -1
  267. package/lib/components/Layout/LayoutWithStickyTimer.js +18 -33
  268. package/lib/components/Layout/LayoutWithStickyTimer.js.map +1 -1
  269. package/lib/components/Layout/constants.js +3 -4
  270. package/lib/components/Layout/constants.js.map +1 -1
  271. package/lib/components/Layout/helpers/check-if-row-has-columns.js +8 -15
  272. package/lib/components/Layout/helpers/check-if-row-has-columns.js.map +1 -1
  273. package/lib/components/Layout/helpers/get-styles-to-update.js +6 -6
  274. package/lib/components/Layout/helpers/get-styles-to-update.js.map +1 -1
  275. package/lib/components/Layout/helpers/index.js +4 -5
  276. package/lib/components/Layout/helpers/index.js.map +1 -1
  277. package/lib/components/Layout/index.js +2 -3
  278. package/lib/components/Layout/index.js.map +1 -1
  279. package/lib/components/LazyImage/LazyImage.js +20 -23
  280. package/lib/components/LazyImage/LazyImage.js.map +1 -1
  281. package/lib/components/LazyImage/index.js +3 -17
  282. package/lib/components/LazyImage/index.js.map +1 -1
  283. package/lib/components/List/ListBuilder.js +130 -144
  284. package/lib/components/List/ListBuilder.js.map +1 -1
  285. package/lib/components/List/ListFactory.js +165 -183
  286. package/lib/components/List/ListFactory.js.map +1 -1
  287. package/lib/components/List/ListRender.js +75 -80
  288. package/lib/components/List/ListRender.js.map +1 -1
  289. package/lib/components/List/components/Cards/CardRenderWithInfiniteScroll.js +2 -3
  290. package/lib/components/List/components/Cards/CardRenderWithInfiniteScroll.js.map +1 -1
  291. package/lib/components/List/components/Cards/CardsRender.js +62 -75
  292. package/lib/components/List/components/Cards/CardsRender.js.map +1 -1
  293. package/lib/components/List/components/Cards/CardsRenderItem.js +69 -71
  294. package/lib/components/List/components/Cards/CardsRenderItem.js.map +1 -1
  295. package/lib/components/List/components/Cards/CardsRenderWrapper.js +29 -35
  296. package/lib/components/List/components/Cards/CardsRenderWrapper.js.map +1 -1
  297. package/lib/components/List/components/Cards/index.js +2 -3
  298. package/lib/components/List/components/Cards/index.js.map +1 -1
  299. package/lib/components/List/components/Full/FullRender.js +49 -60
  300. package/lib/components/List/components/Full/FullRender.js.map +1 -1
  301. package/lib/components/List/components/Full/FullRenderItem.js +63 -79
  302. package/lib/components/List/components/Full/FullRenderItem.js.map +1 -1
  303. package/lib/components/List/components/Full/FullRenderWithInfiniteScroll.js +2 -3
  304. package/lib/components/List/components/Full/FullRenderWithInfiniteScroll.js.map +1 -1
  305. package/lib/components/List/components/Full/index.js +2 -3
  306. package/lib/components/List/components/Full/index.js.map +1 -1
  307. package/lib/components/List/components/Header/ListHeader.js +34 -32
  308. package/lib/components/List/components/Header/ListHeader.js.map +1 -1
  309. package/lib/components/List/components/Header/index.js +2 -3
  310. package/lib/components/List/components/Header/index.js.map +1 -1
  311. package/lib/components/List/components/Pagination/Classic.js +35 -36
  312. package/lib/components/List/components/Pagination/Classic.js.map +1 -1
  313. package/lib/components/List/components/Pagination/ListPagination.js +39 -58
  314. package/lib/components/List/components/Pagination/ListPagination.js.map +1 -1
  315. package/lib/components/List/components/Pagination/LoadMore.js +21 -22
  316. package/lib/components/List/components/Pagination/LoadMore.js.map +1 -1
  317. package/lib/components/List/components/Pagination/index.js +2 -3
  318. package/lib/components/List/components/Pagination/index.js.map +1 -1
  319. package/lib/components/List/components/helpers/check-if-should-render-banner.js +26 -22
  320. package/lib/components/List/components/helpers/check-if-should-render-banner.js.map +1 -1
  321. package/lib/components/List/components/helpers/check-if-should-render-gtm.js +6 -10
  322. package/lib/components/List/components/helpers/check-if-should-render-gtm.js.map +1 -1
  323. package/lib/components/List/components/helpers/index.js +4 -5
  324. package/lib/components/List/components/helpers/index.js.map +1 -1
  325. package/lib/components/List/components/index.js +8 -9
  326. package/lib/components/List/components/index.js.map +1 -1
  327. package/lib/components/List/constants.js +7 -11
  328. package/lib/components/List/constants.js.map +1 -1
  329. package/lib/components/List/helpers/build-az-aggregations.js +22 -37
  330. package/lib/components/List/helpers/build-az-aggregations.js.map +1 -1
  331. package/lib/components/List/helpers/build-az-url.js +15 -23
  332. package/lib/components/List/helpers/build-az-url.js.map +1 -1
  333. package/lib/components/List/helpers/build-pagination-items.js +19 -20
  334. package/lib/components/List/helpers/build-pagination-items.js.map +1 -1
  335. package/lib/components/List/helpers/build-pagination-url.js +9 -18
  336. package/lib/components/List/helpers/build-pagination-url.js.map +1 -1
  337. package/lib/components/List/helpers/build-query-booster.js +32 -38
  338. package/lib/components/List/helpers/build-query-booster.js.map +1 -1
  339. package/lib/components/List/helpers/get-az-query-filter.js +4 -6
  340. package/lib/components/List/helpers/get-az-query-filter.js.map +1 -1
  341. package/lib/components/List/helpers/get-items-per-page-to-use.js +3 -4
  342. package/lib/components/List/helpers/get-items-per-page-to-use.js.map +1 -1
  343. package/lib/components/List/helpers/get-list-component.js +3 -4
  344. package/lib/components/List/helpers/get-list-component.js.map +1 -1
  345. package/lib/components/List/helpers/get-list-query.js +14 -26
  346. package/lib/components/List/helpers/get-list-query.js.map +1 -1
  347. package/lib/components/List/helpers/get-list-specific-search-filter.js +10 -12
  348. package/lib/components/List/helpers/get-list-specific-search-filter.js.map +1 -1
  349. package/lib/components/List/helpers/get-sort-props.js +16 -24
  350. package/lib/components/List/helpers/get-sort-props.js.map +1 -1
  351. package/lib/components/List/helpers/has-required-item-list-details.js +8 -8
  352. package/lib/components/List/helpers/has-required-item-list-details.js.map +1 -1
  353. package/lib/components/List/helpers/index.js +24 -25
  354. package/lib/components/List/helpers/index.js.map +1 -1
  355. package/lib/components/List/helpers/sort-aggs.js +16 -22
  356. package/lib/components/List/helpers/sort-aggs.js.map +1 -1
  357. package/lib/components/List/helpers/strip-query-key.js +3 -4
  358. package/lib/components/List/helpers/strip-query-key.js.map +1 -1
  359. package/lib/components/List/index.js +2 -3
  360. package/lib/components/List/index.js.map +1 -1
  361. package/lib/components/Loading/Loading.js +15 -16
  362. package/lib/components/Loading/Loading.js.map +1 -1
  363. package/lib/components/Loading/constants.js +3 -4
  364. package/lib/components/Loading/constants.js.map +1 -1
  365. package/lib/components/Loading/helpers.js +4 -8
  366. package/lib/components/Loading/helpers.js.map +1 -1
  367. package/lib/components/Loading/index.js +3 -17
  368. package/lib/components/Loading/index.js.map +1 -1
  369. package/lib/components/Menu/Menu.js +65 -83
  370. package/lib/components/Menu/Menu.js.map +1 -1
  371. package/lib/components/Menu/MenuContext.js +4 -6
  372. package/lib/components/Menu/MenuContext.js.map +1 -1
  373. package/lib/components/Menu/index.js +2 -3
  374. package/lib/components/Menu/index.js.map +1 -1
  375. package/lib/components/MenuItem/MenuEntitiesItem.js +131 -150
  376. package/lib/components/MenuItem/MenuEntitiesItem.js.map +1 -1
  377. package/lib/components/MenuItem/MenuItem.js +19 -18
  378. package/lib/components/MenuItem/MenuItem.js.map +1 -1
  379. package/lib/components/MenuItem/MenuItemRender.js +49 -74
  380. package/lib/components/MenuItem/MenuItemRender.js.map +1 -1
  381. package/lib/components/MenuItem/helpers/index.js +2 -17
  382. package/lib/components/MenuItem/helpers/index.js.map +1 -1
  383. package/lib/components/MenuItem/helpers/inject-helper-into-template.js +17 -8
  384. package/lib/components/MenuItem/helpers/inject-helper-into-template.js.map +1 -1
  385. package/lib/components/MenuItem/index.js +2 -3
  386. package/lib/components/MenuItem/index.js.map +1 -1
  387. package/lib/components/Modal/Modal.js +15 -14
  388. package/lib/components/Modal/Modal.js.map +1 -1
  389. package/lib/components/Modal/index.js +2 -3
  390. package/lib/components/Modal/index.js.map +1 -1
  391. package/lib/components/ModalAdapter/ModalAdapter.js +7 -8
  392. package/lib/components/ModalAdapter/ModalAdapter.js.map +1 -1
  393. package/lib/components/ModalAdapter/index.js +3 -17
  394. package/lib/components/ModalAdapter/index.js.map +1 -1
  395. package/lib/components/SearchContent/SearchContent.js +78 -91
  396. package/lib/components/SearchContent/SearchContent.js.map +1 -1
  397. package/lib/components/SearchContent/SearchContentItems.js +28 -31
  398. package/lib/components/SearchContent/SearchContentItems.js.map +1 -1
  399. package/lib/components/SearchContent/SearchContentResults.js +18 -17
  400. package/lib/components/SearchContent/SearchContentResults.js.map +1 -1
  401. package/lib/components/SearchContent/SearchContentToggleIcon.js +15 -17
  402. package/lib/components/SearchContent/SearchContentToggleIcon.js.map +1 -1
  403. package/lib/components/SearchContent/constants.js +2 -3
  404. package/lib/components/SearchContent/constants.js.map +1 -1
  405. package/lib/components/SearchContent/index.js +2 -3
  406. package/lib/components/SearchContent/index.js.map +1 -1
  407. package/lib/components/SearchFilter/SearchFilter/CloseMobileForm.js +12 -11
  408. package/lib/components/SearchFilter/SearchFilter/CloseMobileForm.js.map +1 -1
  409. package/lib/components/SearchFilter/SearchFilter/FiltersList.js +44 -52
  410. package/lib/components/SearchFilter/SearchFilter/FiltersList.js.map +1 -1
  411. package/lib/components/SearchFilter/SearchFilter/MobileFormToolbar.js +14 -13
  412. package/lib/components/SearchFilter/SearchFilter/MobileFormToolbar.js.map +1 -1
  413. package/lib/components/SearchFilter/SearchFilter/ResetDesktopForm.js +12 -11
  414. package/lib/components/SearchFilter/SearchFilter/ResetDesktopForm.js.map +1 -1
  415. package/lib/components/SearchFilter/SearchFilter/SearchFilter.js +95 -125
  416. package/lib/components/SearchFilter/SearchFilter/SearchFilter.js.map +1 -1
  417. package/lib/components/SearchFilter/SearchFilter/index.js +2 -3
  418. package/lib/components/SearchFilter/SearchFilter/index.js.map +1 -1
  419. package/lib/components/SearchFilter/SearchFilterContainer.js +133 -150
  420. package/lib/components/SearchFilter/SearchFilterContainer.js.map +1 -1
  421. package/lib/components/SearchFilter/components/Checkbox.js +66 -83
  422. package/lib/components/SearchFilter/components/Checkbox.js.map +1 -1
  423. package/lib/components/SearchFilter/components/Range.js +79 -82
  424. package/lib/components/SearchFilter/components/Range.js.map +1 -1
  425. package/lib/components/SearchFilter/components/Select.js +46 -48
  426. package/lib/components/SearchFilter/components/Select.js.map +1 -1
  427. package/lib/components/SearchFilter/components/TextSearch.js +41 -39
  428. package/lib/components/SearchFilter/components/TextSearch.js.map +1 -1
  429. package/lib/components/SearchFilter/components/index.js +8 -9
  430. package/lib/components/SearchFilter/components/index.js.map +1 -1
  431. package/lib/components/SearchFilter/constants.js +29 -30
  432. package/lib/components/SearchFilter/constants.js.map +1 -1
  433. package/lib/components/SearchFilter/helpers/build-list-name-query.js +9 -19
  434. package/lib/components/SearchFilter/helpers/build-list-name-query.js.map +1 -1
  435. package/lib/components/SearchFilter/helpers/build-new-url.js +8 -9
  436. package/lib/components/SearchFilter/helpers/build-new-url.js.map +1 -1
  437. package/lib/components/SearchFilter/helpers/build-url-query.js +19 -33
  438. package/lib/components/SearchFilter/helpers/build-url-query.js.map +1 -1
  439. package/lib/components/SearchFilter/helpers/calculate-min-max.js +10 -10
  440. package/lib/components/SearchFilter/helpers/calculate-min-max.js.map +1 -1
  441. package/lib/components/SearchFilter/helpers/calculate-step.js +3 -6
  442. package/lib/components/SearchFilter/helpers/calculate-step.js.map +1 -1
  443. package/lib/components/SearchFilter/helpers/check-if-range-updated.js +7 -6
  444. package/lib/components/SearchFilter/helpers/check-if-range-updated.js.map +1 -1
  445. package/lib/components/SearchFilter/helpers/decode-encode.js +4 -7
  446. package/lib/components/SearchFilter/helpers/decode-encode.js.map +1 -1
  447. package/lib/components/SearchFilter/helpers/get-display-value.js +4 -14
  448. package/lib/components/SearchFilter/helpers/get-display-value.js.map +1 -1
  449. package/lib/components/SearchFilter/helpers/get-filter-ranges-and-checkboxes-values.js +10 -17
  450. package/lib/components/SearchFilter/helpers/get-filter-ranges-and-checkboxes-values.js.map +1 -1
  451. package/lib/components/SearchFilter/helpers/get-filter-value-from-query.js +14 -14
  452. package/lib/components/SearchFilter/helpers/get-filter-value-from-query.js.map +1 -1
  453. package/lib/components/SearchFilter/helpers/get-filter-values.js +11 -15
  454. package/lib/components/SearchFilter/helpers/get-filter-values.js.map +1 -1
  455. package/lib/components/SearchFilter/helpers/get-initial-filter-values.js +13 -17
  456. package/lib/components/SearchFilter/helpers/get-initial-filter-values.js.map +1 -1
  457. package/lib/components/SearchFilter/helpers/get-intersected-prop.js +3 -7
  458. package/lib/components/SearchFilter/helpers/get-intersected-prop.js.map +1 -1
  459. package/lib/components/SearchFilter/helpers/get-range-value.js +17 -24
  460. package/lib/components/SearchFilter/helpers/get-range-value.js.map +1 -1
  461. package/lib/components/SearchFilter/helpers/get-responsive-filter-classnames.js +17 -13
  462. package/lib/components/SearchFilter/helpers/get-responsive-filter-classnames.js.map +1 -1
  463. package/lib/components/SearchFilter/helpers/get-select-options.js +9 -11
  464. package/lib/components/SearchFilter/helpers/get-select-options.js.map +1 -1
  465. package/lib/components/SearchFilter/helpers/get-updated-filter-by.js +9 -21
  466. package/lib/components/SearchFilter/helpers/get-updated-filter-by.js.map +1 -1
  467. package/lib/components/SearchFilter/helpers/index.js +34 -35
  468. package/lib/components/SearchFilter/helpers/index.js.map +1 -1
  469. package/lib/components/SearchFilter/helpers/is-device-desktop.js +3 -6
  470. package/lib/components/SearchFilter/helpers/is-device-desktop.js.map +1 -1
  471. package/lib/components/SearchFilter/helpers/parse-filter-value.js +8 -14
  472. package/lib/components/SearchFilter/helpers/parse-filter-value.js.map +1 -1
  473. package/lib/components/SearchFilter/index.js +2 -3
  474. package/lib/components/SearchFilter/index.js.map +1 -1
  475. package/lib/components/SearchFilter/searchFilterReducer.js +10 -19
  476. package/lib/components/SearchFilter/searchFilterReducer.js.map +1 -1
  477. package/lib/components/SearchFilterSort/SearchFilterSort.js +49 -55
  478. package/lib/components/SearchFilterSort/SearchFilterSort.js.map +1 -1
  479. package/lib/components/SearchFilterSort/constants.js +4 -5
  480. package/lib/components/SearchFilterSort/constants.js.map +1 -1
  481. package/lib/components/SearchFilterSort/helpers/handle-sort-update.js +26 -30
  482. package/lib/components/SearchFilterSort/helpers/handle-sort-update.js.map +1 -1
  483. package/lib/components/SearchFilterSort/helpers/index.js +4 -5
  484. package/lib/components/SearchFilterSort/helpers/index.js.map +1 -1
  485. package/lib/components/SearchFilterSort/helpers/update-sort.js +13 -27
  486. package/lib/components/SearchFilterSort/helpers/update-sort.js.map +1 -1
  487. package/lib/components/SearchFilterSort/index.js +2 -3
  488. package/lib/components/SearchFilterSort/index.js.map +1 -1
  489. package/lib/components/SocialFollow/SFItem.js +18 -18
  490. package/lib/components/SocialFollow/SFItem.js.map +1 -1
  491. package/lib/components/SocialFollow/SocialFollow.js +17 -16
  492. package/lib/components/SocialFollow/SocialFollow.js.map +1 -1
  493. package/lib/components/SocialFollow/SocialFollowRender.js +15 -16
  494. package/lib/components/SocialFollow/SocialFollowRender.js.map +1 -1
  495. package/lib/components/SocialFollow/index.js +2 -3
  496. package/lib/components/SocialFollow/index.js.map +1 -1
  497. package/lib/components/SocialFollow/sf.config.js +4 -5
  498. package/lib/components/SocialFollow/sf.config.js.map +1 -1
  499. package/lib/components/SubMenu/SubMenu.js +10 -10
  500. package/lib/components/SubMenu/SubMenu.js.map +1 -1
  501. package/lib/components/SubMenu/index.js +2 -3
  502. package/lib/components/SubMenu/index.js.map +1 -1
  503. package/lib/components/TextBlock/TextBlockRender.js +12 -13
  504. package/lib/components/TextBlock/TextBlockRender.js.map +1 -1
  505. package/lib/components/TextBlock/index.js +22 -30
  506. package/lib/components/TextBlock/index.js.map +1 -1
  507. package/lib/components/Video/Video.js +46 -52
  508. package/lib/components/Video/Video.js.map +1 -1
  509. package/lib/components/Video/VideoContext.js +3 -4
  510. package/lib/components/Video/VideoContext.js.map +1 -1
  511. package/lib/components/Video/VideoModal.js +13 -28
  512. package/lib/components/Video/VideoModal.js.map +1 -1
  513. package/lib/components/Video/VideoRender.js +30 -36
  514. package/lib/components/Video/VideoRender.js.map +1 -1
  515. package/lib/components/Video/constants.js +1 -2
  516. package/lib/components/Video/constants.js.map +1 -1
  517. package/lib/components/Video/helpers/emit-gtm-event.js +11 -11
  518. package/lib/components/Video/helpers/emit-gtm-event.js.map +1 -1
  519. package/lib/components/Video/index.js +2 -3
  520. package/lib/components/Video/index.js.map +1 -1
  521. package/lib/components/Video/providers/Default.js +22 -24
  522. package/lib/components/Video/providers/Default.js.map +1 -1
  523. package/lib/components/Video/providers/JWPlayer/JWPlayerController.js +44 -46
  524. package/lib/components/Video/providers/JWPlayer/JWPlayerController.js.map +1 -1
  525. package/lib/components/Video/providers/JWPlayer/JWPlayerProvider.js +44 -56
  526. package/lib/components/Video/providers/JWPlayer/JWPlayerProvider.js.map +1 -1
  527. package/lib/components/Video/providers/Vimeo/VimeoProvider.js +41 -88
  528. package/lib/components/Video/providers/Vimeo/VimeoProvider.js.map +1 -1
  529. package/lib/components/Video/providers/Vimeo/helpers/add-extra-params-to-url.js +8 -21
  530. package/lib/components/Video/providers/Vimeo/helpers/add-extra-params-to-url.js.map +1 -1
  531. package/lib/components/Video/providers/Vimeo/helpers/index.js +2 -3
  532. package/lib/components/Video/providers/Vimeo/helpers/index.js.map +1 -1
  533. package/lib/components/Video/providers/YouTube/YouTubeProvider.js +18 -18
  534. package/lib/components/Video/providers/YouTube/YouTubeProvider.js.map +1 -1
  535. package/lib/components/Video/providers/YouTube/YoutubeEmbeded.js +101 -121
  536. package/lib/components/Video/providers/YouTube/YoutubeEmbeded.js.map +1 -1
  537. package/lib/components/Video/providers/YouTube/helpers/index.js +17 -23
  538. package/lib/components/Video/providers/YouTube/helpers/index.js.map +1 -1
  539. package/lib/components/Video/providers/get-provider.js +10 -40
  540. package/lib/components/Video/providers/get-provider.js.map +1 -1
  541. package/lib/components/Video/providers/index.js +2 -3
  542. package/lib/components/Video/providers/index.js.map +1 -1
  543. package/lib/components/Wrapper.js +21 -21
  544. package/lib/components/Wrapper.js.map +1 -1
  545. package/lib/components/index.js +34 -164
  546. package/lib/components/index.js.map +1 -1
  547. package/lib/constants/componentsDefaultValues.js +5 -7
  548. package/lib/constants/componentsDefaultValues.js.map +1 -1
  549. package/lib/constants/index.js +110 -112
  550. package/lib/constants/index.js.map +1 -1
  551. package/lib/helpers/append-images.js +20 -30
  552. package/lib/helpers/append-images.js.map +1 -1
  553. package/lib/helpers/build-az-filter.js +12 -13
  554. package/lib/helpers/build-az-filter.js.map +1 -1
  555. package/lib/helpers/build-checkbox-filters.js +17 -20
  556. package/lib/helpers/build-checkbox-filters.js.map +1 -1
  557. package/lib/helpers/build-filters-query.js +50 -57
  558. package/lib/helpers/build-filters-query.js.map +1 -1
  559. package/lib/helpers/build-image-properties.js +21 -23
  560. package/lib/helpers/build-image-properties.js.map +1 -1
  561. package/lib/helpers/build-inherited-filters.js +41 -53
  562. package/lib/helpers/build-inherited-filters.js.map +1 -1
  563. package/lib/helpers/build-link-extra-props.js +10 -11
  564. package/lib/helpers/build-link-extra-props.js.map +1 -1
  565. package/lib/helpers/build-props-query.js +70 -111
  566. package/lib/helpers/build-props-query.js.map +1 -1
  567. package/lib/helpers/build-query-fields.js +13 -10
  568. package/lib/helpers/build-query-fields.js.map +1 -1
  569. package/lib/helpers/build-query-key.js +6 -8
  570. package/lib/helpers/build-query-key.js.map +1 -1
  571. package/lib/helpers/build-raw-query-base.js +59 -80
  572. package/lib/helpers/build-raw-query-base.js.map +1 -1
  573. package/lib/helpers/build-raw-query-stringified.js +9 -15
  574. package/lib/helpers/build-raw-query-stringified.js.map +1 -1
  575. package/lib/helpers/build-raw-query.js +72 -86
  576. package/lib/helpers/build-raw-query.js.map +1 -1
  577. package/lib/helpers/build-search-values-checkbox-select.js +54 -76
  578. package/lib/helpers/build-search-values-checkbox-select.js.map +1 -1
  579. package/lib/helpers/build-search-values-text.js +30 -36
  580. package/lib/helpers/build-search-values-text.js.map +1 -1
  581. package/lib/helpers/build-set-filters.js +24 -38
  582. package/lib/helpers/build-set-filters.js.map +1 -1
  583. package/lib/helpers/build-sort-values.js +18 -28
  584. package/lib/helpers/build-sort-values.js.map +1 -1
  585. package/lib/helpers/check-for-error.js +7 -13
  586. package/lib/helpers/check-for-error.js.map +1 -1
  587. package/lib/helpers/check-props-to-use.js +5 -11
  588. package/lib/helpers/check-props-to-use.js.map +1 -1
  589. package/lib/helpers/entities/constants.js +3 -4
  590. package/lib/helpers/entities/constants.js.map +1 -1
  591. package/lib/helpers/filter-query-setup.js +39 -48
  592. package/lib/helpers/filter-query-setup.js.map +1 -1
  593. package/lib/helpers/filters-setup.js +34 -35
  594. package/lib/helpers/filters-setup.js.map +1 -1
  595. package/lib/helpers/get-banner-data.js +12 -22
  596. package/lib/helpers/get-banner-data.js.map +1 -1
  597. package/lib/helpers/get-checkbox-filters.js +3 -4
  598. package/lib/helpers/get-checkbox-filters.js.map +1 -1
  599. package/lib/helpers/get-click-wrapper-options.js +28 -43
  600. package/lib/helpers/get-click-wrapper-options.js.map +1 -1
  601. package/lib/helpers/get-component-id.js +5 -9
  602. package/lib/helpers/get-component-id.js.map +1 -1
  603. package/lib/helpers/get-current-offset.js +4 -10
  604. package/lib/helpers/get-current-offset.js.map +1 -1
  605. package/lib/helpers/get-custom-html-properties.js +19 -0
  606. package/lib/helpers/get-custom-html-properties.js.map +1 -0
  607. package/lib/helpers/get-dictionary-match.js +4 -7
  608. package/lib/helpers/get-dictionary-match.js.map +1 -1
  609. package/lib/helpers/get-display-count-data.js +8 -10
  610. package/lib/helpers/get-display-count-data.js.map +1 -1
  611. package/lib/helpers/get-elasticsearch-operator.js +5 -7
  612. package/lib/helpers/get-elasticsearch-operator.js.map +1 -1
  613. package/lib/helpers/get-entities-with-banner.js +22 -28
  614. package/lib/helpers/get-entities-with-banner.js.map +1 -1
  615. package/lib/helpers/get-entity-data.js +15 -17
  616. package/lib/helpers/get-entity-data.js.map +1 -1
  617. package/lib/helpers/get-entity-render-props.js +16 -14
  618. package/lib/helpers/get-entity-render-props.js.map +1 -1
  619. package/lib/helpers/get-extra-az-bits.js +25 -23
  620. package/lib/helpers/get-extra-az-bits.js.map +1 -1
  621. package/lib/helpers/get-filter-props.js +46 -60
  622. package/lib/helpers/get-filter-props.js.map +1 -1
  623. package/lib/helpers/get-filter-relation-keys.js +8 -16
  624. package/lib/helpers/get-filter-relation-keys.js.map +1 -1
  625. package/lib/helpers/get-generic-props.js +9 -18
  626. package/lib/helpers/get-generic-props.js.map +1 -1
  627. package/lib/helpers/get-generic-render-variables.js +30 -45
  628. package/lib/helpers/get-generic-render-variables.js.map +1 -1
  629. package/lib/helpers/get-image-ids.js +12 -21
  630. package/lib/helpers/get-image-ids.js.map +1 -1
  631. package/lib/helpers/get-inherited-filters.js +6 -18
  632. package/lib/helpers/get-inherited-filters.js.map +1 -1
  633. package/lib/helpers/get-items-to-display-ids.js +6 -15
  634. package/lib/helpers/get-items-to-display-ids.js.map +1 -1
  635. package/lib/helpers/get-modifiers.js +8 -23
  636. package/lib/helpers/get-modifiers.js.map +1 -1
  637. package/lib/helpers/get-not-equal-query.js +1 -2
  638. package/lib/helpers/get-not-equal-query.js.map +1 -1
  639. package/lib/helpers/get-pagination-index.js +3 -6
  640. package/lib/helpers/get-pagination-index.js.map +1 -1
  641. package/lib/helpers/get-parsed-prop-values.js +28 -40
  642. package/lib/helpers/get-parsed-prop-values.js.map +1 -1
  643. package/lib/helpers/get-parsed-summary-value.js +5 -6
  644. package/lib/helpers/get-parsed-summary-value.js.map +1 -1
  645. package/lib/helpers/get-prop-values.js +13 -26
  646. package/lib/helpers/get-prop-values.js.map +1 -1
  647. package/lib/helpers/get-query-filters.js +12 -15
  648. package/lib/helpers/get-query-filters.js.map +1 -1
  649. package/lib/helpers/get-query-props.js +27 -32
  650. package/lib/helpers/get-query-props.js.map +1 -1
  651. package/lib/helpers/get-required-schemas.js +20 -37
  652. package/lib/helpers/get-required-schemas.js.map +1 -1
  653. package/lib/helpers/get-sanitized-prop-values.js +3 -10
  654. package/lib/helpers/get-sanitized-prop-values.js.map +1 -1
  655. package/lib/helpers/get-search-filter-type.js +10 -14
  656. package/lib/helpers/get-search-filter-type.js.map +1 -1
  657. package/lib/helpers/get-sort-by-field-name.js +15 -32
  658. package/lib/helpers/get-sort-by-field-name.js.map +1 -1
  659. package/lib/helpers/get-unpublished-entity-name.js +4 -14
  660. package/lib/helpers/get-unpublished-entity-name.js.map +1 -1
  661. package/lib/helpers/get-updated-filter-by.js +5 -8
  662. package/lib/helpers/get-updated-filter-by.js.map +1 -1
  663. package/lib/helpers/get-updated-items-to-display.js +17 -33
  664. package/lib/helpers/get-updated-items-to-display.js.map +1 -1
  665. package/lib/helpers/get-updated-sort-properties.js +8 -18
  666. package/lib/helpers/get-updated-sort-properties.js.map +1 -1
  667. package/lib/helpers/get-wrapped-value-with-link.js +14 -17
  668. package/lib/helpers/get-wrapped-value-with-link.js.map +1 -1
  669. package/lib/helpers/group-entities.js +4 -9
  670. package/lib/helpers/group-entities.js.map +1 -1
  671. package/lib/helpers/has-children.js +4 -7
  672. package/lib/helpers/has-children.js.map +1 -1
  673. package/lib/helpers/index.js +135 -129
  674. package/lib/helpers/index.js.map +1 -1
  675. package/lib/helpers/inject-banner.js +8 -10
  676. package/lib/helpers/inject-banner.js.map +1 -1
  677. package/lib/helpers/inject-banners-to-entities.js +11 -9
  678. package/lib/helpers/inject-banners-to-entities.js.map +1 -1
  679. package/lib/helpers/inject-multiple-banners/get-banners-for-entities/get-banners-for-entities.js +9 -12
  680. package/lib/helpers/inject-multiple-banners/get-banners-for-entities/get-banners-for-entities.js.map +1 -1
  681. package/lib/helpers/inject-multiple-banners/get-banners-for-entities/index.js +2 -3
  682. package/lib/helpers/inject-multiple-banners/get-banners-for-entities/index.js.map +1 -1
  683. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/get-banners-for-nodes.js +10 -22
  684. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/get-banners-for-nodes.js.map +1 -1
  685. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/group-node-entities.js +17 -24
  686. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/group-node-entities.js.map +1 -1
  687. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/index.js +2 -3
  688. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/index.js.map +1 -1
  689. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/index.js +2 -3
  690. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/index.js.map +1 -1
  691. package/lib/helpers/inject-multiple-banners/index.js +2 -3
  692. package/lib/helpers/inject-multiple-banners/index.js.map +1 -1
  693. package/lib/helpers/inject-multiple-banners/inject-multiple-banners.js +6 -6
  694. package/lib/helpers/inject-multiple-banners/inject-multiple-banners.js.map +1 -1
  695. package/lib/helpers/is-browser.js +3 -6
  696. package/lib/helpers/is-browser.js.map +1 -1
  697. package/lib/helpers/is-filter-entitys-id.js +5 -9
  698. package/lib/helpers/is-filter-entitys-id.js.map +1 -1
  699. package/lib/helpers/is-object.js +3 -9
  700. package/lib/helpers/is-object.js.map +1 -1
  701. package/lib/helpers/is-using-relation-image.js +3 -6
  702. package/lib/helpers/is-using-relation-image.js.map +1 -1
  703. package/lib/helpers/parse-TextBlock.js +18 -24
  704. package/lib/helpers/parse-TextBlock.js.map +1 -1
  705. package/lib/helpers/parse-interval.js +1 -2
  706. package/lib/helpers/parse-interval.js.map +1 -1
  707. package/lib/helpers/parse-props-to-display.js +24 -39
  708. package/lib/helpers/parse-props-to-display.js.map +1 -1
  709. package/lib/helpers/process-data-summary-value.js +26 -37
  710. package/lib/helpers/process-data-summary-value.js.map +1 -1
  711. package/lib/helpers/remove-extra-items.js +4 -5
  712. package/lib/helpers/remove-extra-items.js.map +1 -1
  713. package/lib/helpers/remove-unwanted-characters.js +11 -23
  714. package/lib/helpers/remove-unwanted-characters.js.map +1 -1
  715. package/lib/helpers/render-children.js +15 -36
  716. package/lib/helpers/render-children.js.map +1 -1
  717. package/lib/helpers/should-render-waypoint.js +3 -10
  718. package/lib/helpers/should-render-waypoint.js.map +1 -1
  719. package/lib/helpers/should-return.js +3 -11
  720. package/lib/helpers/should-return.js.map +1 -1
  721. package/lib/helpers/should-show-property.js +6 -8
  722. package/lib/helpers/should-show-property.js.map +1 -1
  723. package/lib/helpers/should-skip-single-query.js +3 -6
  724. package/lib/helpers/should-skip-single-query.js.map +1 -1
  725. package/lib/helpers/sort-response-data.js +7 -17
  726. package/lib/helpers/sort-response-data.js.map +1 -1
  727. package/lib/helpers/split-children.js +43 -52
  728. package/lib/helpers/split-children.js.map +1 -1
  729. package/lib/helpers/update-childrens-parent.js +12 -25
  730. package/lib/helpers/update-childrens-parent.js.map +1 -1
  731. package/lib/hooks/helpers/RenderComponent.js +53 -46
  732. package/lib/hooks/helpers/RenderComponent.js.map +1 -1
  733. package/lib/hooks/helpers/StoreImages.js +40 -71
  734. package/lib/hooks/helpers/StoreImages.js.map +1 -1
  735. package/lib/hooks/helpers/append-gtm-classname.js +28 -31
  736. package/lib/hooks/helpers/append-gtm-classname.js.map +1 -1
  737. package/lib/hooks/helpers/buildPBComponents.js +46 -71
  738. package/lib/hooks/helpers/buildPBComponents.js.map +1 -1
  739. package/lib/hooks/helpers/check-banner-insertion-set.js +10 -18
  740. package/lib/hooks/helpers/check-banner-insertion-set.js.map +1 -1
  741. package/lib/hooks/helpers/check-collisions.js +17 -20
  742. package/lib/hooks/helpers/check-collisions.js.map +1 -1
  743. package/lib/hooks/helpers/constants.js +4 -5
  744. package/lib/hooks/helpers/constants.js.map +1 -1
  745. package/lib/hooks/helpers/get-banner-index.js +3 -9
  746. package/lib/hooks/helpers/get-banner-index.js.map +1 -1
  747. package/lib/hooks/helpers/get-components-to-insert-by-type.js +16 -18
  748. package/lib/hooks/helpers/get-components-to-insert-by-type.js.map +1 -1
  749. package/lib/hooks/helpers/get-lightbox-images.js +17 -44
  750. package/lib/hooks/helpers/get-lightbox-images.js.map +1 -1
  751. package/lib/hooks/helpers/getComponent.js +1 -2
  752. package/lib/hooks/helpers/getComponent.js.map +1 -1
  753. package/lib/hooks/helpers/getVariant.js +9 -7
  754. package/lib/hooks/helpers/getVariant.js.map +1 -1
  755. package/lib/hooks/helpers/index.js +2 -3
  756. package/lib/hooks/helpers/index.js.map +1 -1
  757. package/lib/hooks/helpers/inject-element-components.js +33 -37
  758. package/lib/hooks/helpers/inject-element-components.js.map +1 -1
  759. package/lib/hooks/helpers/inject-textblock-banners.js +56 -62
  760. package/lib/hooks/helpers/inject-textblock-banners.js.map +1 -1
  761. package/lib/hooks/helpers/insert-banners.js +41 -58
  762. package/lib/hooks/helpers/insert-banners.js.map +1 -1
  763. package/lib/hooks/helpers/update-targetings.js +11 -9
  764. package/lib/hooks/helpers/update-targetings.js.map +1 -1
  765. package/lib/hooks/index.js +29 -23
  766. package/lib/hooks/index.js.map +1 -1
  767. package/lib/hooks/use-app-event-hook.js +45 -0
  768. package/lib/hooks/use-app-event-hook.js.map +1 -0
  769. package/lib/hooks/use-app-sync-event-hook.js +21 -21
  770. package/lib/hooks/use-app-sync-event-hook.js.map +1 -1
  771. package/lib/hooks/use-banner-insertion.js +14 -14
  772. package/lib/hooks/use-banner-insertion.js.map +1 -1
  773. package/lib/hooks/use-check-mobile-screen.js +12 -18
  774. package/lib/hooks/use-check-mobile-screen.js.map +1 -1
  775. package/lib/hooks/use-filter-aggregation-values.js +19 -35
  776. package/lib/hooks/use-filter-aggregation-values.js.map +1 -1
  777. package/lib/hooks/use-get-entity-schema.js +20 -26
  778. package/lib/hooks/use-get-entity-schema.js.map +1 -1
  779. package/lib/hooks/use-get-entity-schemas-as-obj.js +7 -17
  780. package/lib/hooks/use-get-entity-schemas-as-obj.js.map +1 -1
  781. package/lib/hooks/use-get-image-id-from-relation.js +31 -34
  782. package/lib/hooks/use-get-image-id-from-relation.js.map +1 -1
  783. package/lib/hooks/use-get-images.js +20 -24
  784. package/lib/hooks/use-get-images.js.map +1 -1
  785. package/lib/hooks/use-get-single-entity-schema.js +16 -17
  786. package/lib/hooks/use-get-single-entity-schema.js.map +1 -1
  787. package/lib/hooks/use-page-builder.js +8 -30
  788. package/lib/hooks/use-page-builder.js.map +1 -1
  789. package/lib/hooks/use-portal.js +6 -15
  790. package/lib/hooks/use-portal.js.map +1 -1
  791. package/lib/index.js +44 -45
  792. package/lib/index.js.map +1 -1
  793. package/lib/system-components/EditorMode/BlazeLogo.js +75 -0
  794. package/lib/system-components/EditorMode/BlazeLogo.js.map +1 -0
  795. package/lib/system-components/EditorMode/PbWrapper.js +42 -0
  796. package/lib/system-components/EditorMode/PbWrapper.js.map +1 -0
  797. package/lib/system-components/EditorMode/constants.js +9 -0
  798. package/lib/system-components/EditorMode/constants.js.map +1 -0
  799. package/lib/system-components/EditorMode/helpers/add-editor-mode-event-listeners.js +100 -0
  800. package/lib/system-components/EditorMode/helpers/add-editor-mode-event-listeners.js.map +1 -0
  801. package/lib/system-components/EditorMode/helpers/check-is-over-blaze-icon.js +25 -0
  802. package/lib/system-components/EditorMode/helpers/check-is-over-blaze-icon.js.map +1 -0
  803. package/lib/system-components/index.js +11 -0
  804. package/lib/system-components/index.js.map +1 -0
  805. package/lib/translations.js +4 -5
  806. package/lib/translations.js.map +1 -1
  807. package/lib/utils/component-map.js +12 -18
  808. package/lib/utils/component-map.js.map +1 -1
  809. package/lib/utils/get-class-modifiers.js +43 -55
  810. package/lib/utils/get-class-modifiers.js.map +1 -1
  811. package/lib/utils/get-image-data.js +7 -15
  812. package/lib/utils/get-image-data.js.map +1 -1
  813. package/lib/utils/get-props-to-display-modifiers.js +5 -10
  814. package/lib/utils/get-props-to-display-modifiers.js.map +1 -1
  815. package/lib/utils/index.js +12 -13
  816. package/lib/utils/index.js.map +1 -1
  817. package/lib/utils/is-object-empty.js +1 -3
  818. package/lib/utils/is-object-empty.js.map +1 -1
  819. package/lib/utils/variant-handler.js +8 -15
  820. package/lib/utils/variant-handler.js.map +1 -1
  821. package/lib/variants/FloatingSideButton/index.js +7 -19
  822. package/lib/variants/FloatingSideButton/index.js.map +1 -1
  823. package/lib/variants/HeroImage/index.js +7 -19
  824. package/lib/variants/HeroImage/index.js.map +1 -1
  825. package/lib/variants/Infographic/Infographic.js +10 -10
  826. package/lib/variants/Infographic/Infographic.js.map +1 -1
  827. package/lib/variants/Infographic/index.js +7 -30
  828. package/lib/variants/Infographic/index.js.map +1 -1
  829. package/lib/variants/Infographic/useInfographic.js +16 -29
  830. package/lib/variants/Infographic/useInfographic.js.map +1 -1
  831. package/lib/variants/LiveBlogList/LiveBlogList.js +49 -74
  832. package/lib/variants/LiveBlogList/LiveBlogList.js.map +1 -1
  833. package/lib/variants/LiveBlogList/index.js +9 -32
  834. package/lib/variants/LiveBlogList/index.js.map +1 -1
  835. package/lib/variants/LongformGallery/LongformGallery.js +28 -34
  836. package/lib/variants/LongformGallery/LongformGallery.js.map +1 -1
  837. package/lib/variants/LongformGallery/LongformGalleryImage.js +34 -39
  838. package/lib/variants/LongformGallery/LongformGalleryImage.js.map +1 -1
  839. package/lib/variants/LongformGallery/constants.js +11 -7
  840. package/lib/variants/LongformGallery/constants.js.map +1 -1
  841. package/lib/variants/LongformGallery/helpers/index.js +6 -7
  842. package/lib/variants/LongformGallery/helpers/index.js.map +1 -1
  843. package/lib/variants/LongformGallery/helpers/parseImageData.js +11 -20
  844. package/lib/variants/LongformGallery/helpers/parseImageData.js.map +1 -1
  845. package/lib/variants/LongformGallery/helpers/separateImages.js +9 -13
  846. package/lib/variants/LongformGallery/helpers/separateImages.js.map +1 -1
  847. package/lib/variants/LongformGallery/helpers/shouldSkip.js +3 -7
  848. package/lib/variants/LongformGallery/helpers/shouldSkip.js.map +1 -1
  849. package/lib/variants/LongformGallery/index.js +9 -32
  850. package/lib/variants/LongformGallery/index.js.map +1 -1
  851. package/lib/variants/LongformGallery/useLongformGallery.js +36 -41
  852. package/lib/variants/LongformGallery/useLongformGallery.js.map +1 -1
  853. package/lib/variants/LongformRow/index.js +7 -19
  854. package/lib/variants/LongformRow/index.js.map +1 -1
  855. package/lib/variants/ParallaxImageTextRight/index.js +8 -20
  856. package/lib/variants/ParallaxImageTextRight/index.js.map +1 -1
  857. package/lib/variants/SlideSummary/SlideSummary.js +10 -9
  858. package/lib/variants/SlideSummary/SlideSummary.js.map +1 -1
  859. package/lib/variants/SlideSummary/index.js +7 -30
  860. package/lib/variants/SlideSummary/index.js.map +1 -1
  861. package/lib/variants/ThumbnailCarousel/ThumbnailCarousel.js +30 -37
  862. package/lib/variants/ThumbnailCarousel/ThumbnailCarousel.js.map +1 -1
  863. package/lib/variants/ThumbnailCarousel/ThumbnailImage/ThumbnailImage.js +15 -15
  864. package/lib/variants/ThumbnailCarousel/ThumbnailImage/ThumbnailImage.js.map +1 -1
  865. package/lib/variants/ThumbnailCarousel/ThumbnailImage/index.js +2 -3
  866. package/lib/variants/ThumbnailCarousel/ThumbnailImage/index.js.map +1 -1
  867. package/lib/variants/ThumbnailCarousel/ThumbnailImage/useThumbnailImage.js +46 -46
  868. package/lib/variants/ThumbnailCarousel/ThumbnailImage/useThumbnailImage.js.map +1 -1
  869. package/lib/variants/ThumbnailCarousel/index.js +7 -30
  870. package/lib/variants/ThumbnailCarousel/index.js.map +1 -1
  871. package/lib/variants/ThumbnailCarousel/useThumbnailCarousel.js +25 -37
  872. package/lib/variants/ThumbnailCarousel/useThumbnailCarousel.js.map +1 -1
  873. package/lib/variants/index.js +11 -12
  874. package/lib/variants/index.js.map +1 -1
  875. package/lib-es/HOC/recreateOnNavigation.js.map +1 -1
  876. package/lib-es/HOC/withTitle.js +1 -1
  877. package/lib-es/HOC/withTitle.js.map +1 -1
  878. package/lib-es/application/query/index.js.map +1 -1
  879. package/lib-es/components/BackToTop/BackToTop.js +2 -2
  880. package/lib-es/components/BackToTop/BackToTop.js.map +1 -1
  881. package/lib-es/components/Banner/AdSlotRender.js.map +1 -1
  882. package/lib-es/components/Banner/Banner.js.map +1 -1
  883. package/lib-es/components/Banner/BannerRender.js.map +1 -1
  884. package/lib-es/components/Banner/helpers.js.map +1 -1
  885. package/lib-es/components/Banner/index.js +1 -1
  886. package/lib-es/components/Banner/index.js.map +1 -1
  887. package/lib-es/components/Breadcrumb/Breadcrumb.js.map +1 -1
  888. package/lib-es/components/Button.js.map +1 -1
  889. package/lib-es/components/Card/Card.js.map +1 -1
  890. package/lib-es/components/Card/CardsFactory.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/Card/helpers/get-dynamic-grid-classes.js.map +1 -1
  894. package/lib-es/components/Carousel/Carousel.js +39 -9
  895. package/lib-es/components/Carousel/Carousel.js.map +1 -1
  896. package/lib-es/components/Carousel/CarouselImage/CarouselImage.js +2 -1
  897. package/lib-es/components/Carousel/CarouselImage/CarouselImage.js.map +1 -1
  898. package/lib-es/components/CarouselWrapper/DefaultCarousel.js.map +1 -1
  899. package/lib-es/components/CarouselWrapper/SmoothScrollCarousel.js.map +1 -1
  900. package/lib-es/components/ContentGroup/ContentGroup.js +22 -5
  901. package/lib-es/components/ContentGroup/ContentGroup.js.map +1 -1
  902. package/lib-es/components/ContentGroup/ContentGroupAccordion.js.map +1 -1
  903. package/lib-es/components/ContentGroup/ContentGroupTabs.js +0 -1
  904. package/lib-es/components/ContentGroup/ContentGroupTabs.js.map +1 -1
  905. package/lib-es/components/ContentGroup/helpers/get-active-tab.js.map +1 -1
  906. package/lib-es/components/DataSummary/DataSummaryFactory.js +3 -2
  907. package/lib-es/components/DataSummary/DataSummaryFactory.js.map +1 -1
  908. package/lib-es/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummary.js.map +1 -1
  909. package/lib-es/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummaryContent.js.map +1 -1
  910. package/lib-es/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.js.map +1 -1
  911. package/lib-es/components/DataSummary/DataSummaryTypes/index.js +5 -5
  912. package/lib-es/components/DataSummary/DataSummaryTypes/index.js.map +1 -1
  913. package/lib-es/components/DataSummary/helpers/get-link-based-on-value.js.map +1 -1
  914. package/lib-es/components/DataSummary/helpers/get-prop-value.js.map +1 -1
  915. package/lib-es/components/DataSummary/helpers/get-record-id.js +14 -0
  916. package/lib-es/components/DataSummary/helpers/get-record-id.js.map +1 -0
  917. package/lib-es/components/DataSummary/helpers/get-value-from-array.js.map +1 -1
  918. package/lib-es/components/DataSummary/helpers/index.js +2 -1
  919. package/lib-es/components/DataSummary/helpers/index.js.map +1 -1
  920. package/lib-es/components/EmailConfirm/EmailConfirm.js +4 -4
  921. package/lib-es/components/EmailConfirm/EmailConfirm.js.map +1 -1
  922. package/lib-es/components/EmailConfirm/mutation.js.map +1 -1
  923. package/lib-es/components/ErrorMessage/index.js +1 -1
  924. package/lib-es/components/ErrorMessage/index.js.map +1 -1
  925. package/lib-es/components/Iframe/Iframe.js.map +1 -1
  926. package/lib-es/components/Image/GlobalLightbox/GlobalLightbox.js +5 -5
  927. package/lib-es/components/Image/GlobalLightbox/GlobalLightbox.js.map +1 -1
  928. package/lib-es/components/Image/GlobalLightbox/NavButton.js +2 -2
  929. package/lib-es/components/Image/GlobalLightbox/NavButton.js.map +1 -1
  930. package/lib-es/components/Image/GlobalLightbox/index.js +1 -1
  931. package/lib-es/components/Image/GlobalLightbox/index.js.map +1 -1
  932. package/lib-es/components/Image/Image.js.map +1 -1
  933. package/lib-es/components/Image/ImageFactory.js.map +1 -1
  934. package/lib-es/components/ItemList/ItemListCounter/ItemListCounter.js.map +1 -1
  935. package/lib-es/components/ItemList/ItemListNew/ItemListNew.js.map +1 -1
  936. package/lib-es/components/ItemList/helpers/get-item-list-id.js.map +1 -1
  937. package/lib-es/components/ItemList/helpers/set-item-list-id.js.map +1 -1
  938. package/lib-es/components/ItemList/hooks/use-item-list-id.js.map +1 -1
  939. package/lib-es/components/Layout/Layout.js +14 -5
  940. package/lib-es/components/Layout/Layout.js.map +1 -1
  941. package/lib-es/components/Layout/LayoutFactory.js +1 -1
  942. package/lib-es/components/Layout/LayoutFactory.js.map +1 -1
  943. package/lib-es/components/Layout/LayoutWithStickyTimer.js.map +1 -1
  944. package/lib-es/components/Layout/helpers/get-styles-to-update.js.map +1 -1
  945. package/lib-es/components/LazyImage/index.js +1 -1
  946. package/lib-es/components/LazyImage/index.js.map +1 -1
  947. package/lib-es/components/List/ListBuilder.js +1 -1
  948. package/lib-es/components/List/ListBuilder.js.map +1 -1
  949. package/lib-es/components/List/ListFactory.js.map +1 -1
  950. package/lib-es/components/List/ListRender.js.map +1 -1
  951. package/lib-es/components/List/components/Full/FullRenderItem.js.map +1 -1
  952. package/lib-es/components/List/components/Header/ListHeader.js.map +1 -1
  953. package/lib-es/components/List/components/Pagination/Classic.js.map +1 -1
  954. package/lib-es/components/List/components/Pagination/ListPagination.js.map +1 -1
  955. package/lib-es/components/List/components/Pagination/LoadMore.js +2 -2
  956. package/lib-es/components/List/components/Pagination/LoadMore.js.map +1 -1
  957. package/lib-es/components/List/helpers/build-az-url.js.map +1 -1
  958. package/lib-es/components/List/helpers/build-pagination-items.js.map +1 -1
  959. package/lib-es/components/List/helpers/build-pagination-url.js.map +1 -1
  960. package/lib-es/components/List/helpers/build-query-booster.js +9 -6
  961. package/lib-es/components/List/helpers/build-query-booster.js.map +1 -1
  962. package/lib-es/components/List/helpers/get-az-query-filter.js.map +1 -1
  963. package/lib-es/components/List/helpers/get-list-query.js.map +1 -1
  964. package/lib-es/components/List/helpers/sort-aggs.js.map +1 -1
  965. package/lib-es/components/Loading/Loading.js.map +1 -1
  966. package/lib-es/components/Loading/index.js +1 -1
  967. package/lib-es/components/Loading/index.js.map +1 -1
  968. package/lib-es/components/Menu/Menu.js +1 -4
  969. package/lib-es/components/Menu/Menu.js.map +1 -1
  970. package/lib-es/components/Menu/MenuContext.js +1 -2
  971. package/lib-es/components/Menu/MenuContext.js.map +1 -1
  972. package/lib-es/components/MenuItem/MenuItemRender.js +11 -25
  973. package/lib-es/components/MenuItem/MenuItemRender.js.map +1 -1
  974. package/lib-es/components/MenuItem/helpers/index.js +1 -3
  975. package/lib-es/components/MenuItem/helpers/index.js.map +1 -1
  976. package/lib-es/components/MenuItem/helpers/inject-helper-into-template.js +14 -2
  977. package/lib-es/components/MenuItem/helpers/inject-helper-into-template.js.map +1 -1
  978. package/lib-es/components/ModalAdapter/ModalAdapter.js +1 -1
  979. package/lib-es/components/ModalAdapter/ModalAdapter.js.map +1 -1
  980. package/lib-es/components/ModalAdapter/index.js +1 -1
  981. package/lib-es/components/ModalAdapter/index.js.map +1 -1
  982. package/lib-es/components/SearchContent/SearchContent.js +8 -2
  983. package/lib-es/components/SearchContent/SearchContent.js.map +1 -1
  984. package/lib-es/components/SearchContent/SearchContentResults.js +2 -1
  985. package/lib-es/components/SearchContent/SearchContentResults.js.map +1 -1
  986. package/lib-es/components/SearchFilter/SearchFilter/SearchFilter.js.map +1 -1
  987. package/lib-es/components/SearchFilter/SearchFilterContainer.js.map +1 -1
  988. package/lib-es/components/SearchFilter/components/Checkbox.js.map +1 -1
  989. package/lib-es/components/SearchFilter/components/Range.js.map +1 -1
  990. package/lib-es/components/SearchFilter/components/Select.js.map +1 -1
  991. package/lib-es/components/SearchFilter/constants.js.map +1 -1
  992. package/lib-es/components/SearchFilter/helpers/build-list-name-query.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.map +1 -1
  996. package/lib-es/components/SearchFilter/helpers/get-responsive-filter-classnames.js.map +1 -1
  997. package/lib-es/components/SearchFilter/helpers/get-updated-filter-by.js.map +1 -1
  998. package/lib-es/components/SearchFilter/helpers/parse-filter-value.js.map +1 -1
  999. package/lib-es/components/SearchFilterSort/SearchFilterSort.js.map +1 -1
  1000. package/lib-es/components/SearchFilterSort/helpers/handle-sort-update.js.map +1 -1
  1001. package/lib-es/components/SearchFilterSort/helpers/update-sort.js.map +1 -1
  1002. package/lib-es/components/SocialFollow/SFItem.js.map +1 -1
  1003. package/lib-es/components/Video/Video.js.map +1 -1
  1004. package/lib-es/components/Video/providers/Vimeo/VimeoProvider.js.map +1 -1
  1005. package/lib-es/components/Video/providers/Vimeo/helpers/add-extra-params-to-url.js.map +1 -1
  1006. package/lib-es/components/Video/providers/YouTube/YouTubeProvider.js.map +1 -1
  1007. package/lib-es/components/Video/providers/YouTube/YoutubeEmbeded.js.map +1 -1
  1008. package/lib-es/components/Video/providers/YouTube/helpers/index.js.map +1 -1
  1009. package/lib-es/components/Video/providers/get-provider.js +5 -5
  1010. package/lib-es/components/Video/providers/get-provider.js.map +1 -1
  1011. package/lib-es/components/Wrapper.js +2 -2
  1012. package/lib-es/components/Wrapper.js.map +1 -1
  1013. package/lib-es/components/index.js +30 -30
  1014. package/lib-es/components/index.js.map +1 -1
  1015. package/lib-es/constants/componentsDefaultValues.js.map +1 -1
  1016. package/lib-es/constants/index.js.map +1 -1
  1017. package/lib-es/helpers/build-az-filter.js.map +1 -1
  1018. package/lib-es/helpers/build-filters-query.js.map +1 -1
  1019. package/lib-es/helpers/build-inherited-filters.js.map +1 -1
  1020. package/lib-es/helpers/build-props-query.js.map +1 -1
  1021. package/lib-es/helpers/build-query-fields.js.map +1 -1
  1022. package/lib-es/helpers/build-query-key.js.map +1 -1
  1023. package/lib-es/helpers/build-raw-query-base.js.map +1 -1
  1024. package/lib-es/helpers/build-raw-query-stringified.js.map +1 -1
  1025. package/lib-es/helpers/build-search-values-checkbox-select.js +1 -1
  1026. package/lib-es/helpers/build-search-values-checkbox-select.js.map +1 -1
  1027. package/lib-es/helpers/build-sort-values.js.map +1 -1
  1028. package/lib-es/helpers/get-component-id.js +1 -1
  1029. package/lib-es/helpers/get-component-id.js.map +1 -1
  1030. package/lib-es/helpers/get-current-offset.js +1 -1
  1031. package/lib-es/helpers/get-current-offset.js.map +1 -1
  1032. package/lib-es/helpers/get-custom-html-properties.js +13 -0
  1033. package/lib-es/helpers/get-custom-html-properties.js.map +1 -0
  1034. package/lib-es/helpers/get-display-count-data.js.map +1 -1
  1035. package/lib-es/helpers/get-entity-data.js.map +1 -1
  1036. package/lib-es/helpers/get-extra-az-bits.js.map +1 -1
  1037. package/lib-es/helpers/get-image-ids.js +2 -0
  1038. package/lib-es/helpers/get-image-ids.js.map +1 -1
  1039. package/lib-es/helpers/get-inherited-filters.js.map +1 -1
  1040. package/lib-es/helpers/get-modifiers.js.map +1 -1
  1041. package/lib-es/helpers/get-pagination-index.js.map +1 -1
  1042. package/lib-es/helpers/get-query-props.js.map +1 -1
  1043. package/lib-es/helpers/get-sort-by-field-name.js.map +1 -1
  1044. package/lib-es/helpers/get-wrapped-value-with-link.js.map +1 -1
  1045. package/lib-es/helpers/index.js +1 -0
  1046. package/lib-es/helpers/index.js.map +1 -1
  1047. package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/get-banners-for-nodes.js.map +1 -1
  1048. package/lib-es/helpers/is-filter-entitys-id.js.map +1 -1
  1049. package/lib-es/helpers/process-data-summary-value.js +1 -1
  1050. package/lib-es/helpers/remove-unwanted-characters.js.map +1 -1
  1051. package/lib-es/hooks/helpers/RenderComponent.js +14 -2
  1052. package/lib-es/hooks/helpers/RenderComponent.js.map +1 -1
  1053. package/lib-es/hooks/helpers/StoreImages.js +2 -2
  1054. package/lib-es/hooks/helpers/StoreImages.js.map +1 -1
  1055. package/lib-es/hooks/helpers/append-gtm-classname.js.map +1 -1
  1056. package/lib-es/hooks/helpers/buildPBComponents.js.map +1 -1
  1057. package/lib-es/hooks/helpers/get-components-to-insert-by-type.js.map +1 -1
  1058. package/lib-es/hooks/helpers/inject-textblock-banners.js +1 -1
  1059. package/lib-es/hooks/helpers/inject-textblock-banners.js.map +1 -1
  1060. package/lib-es/hooks/helpers/insert-banners.js.map +1 -1
  1061. package/lib-es/hooks/helpers/update-targetings.js.map +1 -1
  1062. package/lib-es/hooks/index.js +1 -0
  1063. package/lib-es/hooks/index.js.map +1 -1
  1064. package/lib-es/hooks/use-app-event-hook.js +39 -0
  1065. package/lib-es/hooks/use-app-event-hook.js.map +1 -0
  1066. package/lib-es/hooks/use-app-sync-event-hook.js.map +1 -1
  1067. package/lib-es/hooks/use-check-mobile-screen.js.map +1 -1
  1068. package/lib-es/hooks/use-get-entity-schema.js.map +1 -1
  1069. package/lib-es/hooks/use-get-image-id-from-relation.js +11 -4
  1070. package/lib-es/hooks/use-get-image-id-from-relation.js.map +1 -1
  1071. package/lib-es/hooks/use-page-builder.js +1 -1
  1072. package/lib-es/hooks/use-page-builder.js.map +1 -1
  1073. package/lib-es/system-components/EditorMode/BlazeLogo.js +67 -0
  1074. package/lib-es/system-components/EditorMode/BlazeLogo.js.map +1 -0
  1075. package/lib-es/system-components/EditorMode/PbWrapper.js +34 -0
  1076. package/lib-es/system-components/EditorMode/PbWrapper.js.map +1 -0
  1077. package/lib-es/system-components/EditorMode/constants.js +3 -0
  1078. package/lib-es/system-components/EditorMode/constants.js.map +1 -0
  1079. package/lib-es/system-components/EditorMode/helpers/add-editor-mode-event-listeners.js +93 -0
  1080. package/lib-es/system-components/EditorMode/helpers/add-editor-mode-event-listeners.js.map +1 -0
  1081. package/lib-es/system-components/EditorMode/helpers/check-is-over-blaze-icon.js +19 -0
  1082. package/lib-es/system-components/EditorMode/helpers/check-is-over-blaze-icon.js.map +1 -0
  1083. package/lib-es/system-components/index.js +3 -0
  1084. package/lib-es/system-components/index.js.map +1 -0
  1085. package/lib-es/utils/component-map.js.map +1 -1
  1086. package/lib-es/utils/get-class-modifiers.js.map +1 -1
  1087. package/lib-es/utils/variant-handler.js.map +1 -1
  1088. package/lib-es/variants/Infographic/index.js +1 -1
  1089. package/lib-es/variants/Infographic/index.js.map +1 -1
  1090. package/lib-es/variants/Infographic/useInfographic.js.map +1 -1
  1091. package/lib-es/variants/LiveBlogList/LiveBlogList.js.map +1 -1
  1092. package/lib-es/variants/LiveBlogList/index.js +1 -1
  1093. package/lib-es/variants/LiveBlogList/index.js.map +1 -1
  1094. package/lib-es/variants/LongformGallery/LongformGallery.js.map +1 -1
  1095. package/lib-es/variants/LongformGallery/LongformGalleryImage.js.map +1 -1
  1096. package/lib-es/variants/LongformGallery/constants.js.map +1 -1
  1097. package/lib-es/variants/LongformGallery/index.js +1 -1
  1098. package/lib-es/variants/LongformGallery/index.js.map +1 -1
  1099. package/lib-es/variants/SlideSummary/index.js +1 -1
  1100. package/lib-es/variants/SlideSummary/index.js.map +1 -1
  1101. package/lib-es/variants/ThumbnailCarousel/ThumbnailImage/ThumbnailImage.js.map +1 -1
  1102. package/lib-es/variants/ThumbnailCarousel/index.js +1 -1
  1103. package/lib-es/variants/ThumbnailCarousel/index.js.map +1 -1
  1104. package/package.json +29 -30
  1105. package/src/HOC/recreateOnNavigation.js +3 -3
  1106. package/src/HOC/withTitle.js +5 -5
  1107. package/src/components/BackToTop/BackToTop.js +10 -15
  1108. package/src/components/Banner/BannerRender.js +0 -2
  1109. package/src/components/Breadcrumb/Breadcrumb.js +5 -1
  1110. package/src/components/Button.js +3 -6
  1111. package/src/components/Card/CardsFactory.js +8 -7
  1112. package/src/components/Card/CardsRender.js +28 -13
  1113. package/src/components/Carousel/Carousel.js +46 -9
  1114. package/src/components/Carousel/CarouselImage/CarouselImage.js +3 -1
  1115. package/src/components/CarouselWrapper/DefaultCarousel.js +20 -26
  1116. package/src/components/ContentGroup/ContentGroup.js +21 -7
  1117. package/src/components/ContentGroup/ContentGroupAccordion.js +5 -8
  1118. package/src/components/ContentGroup/ContentGroupTabs.js +4 -8
  1119. package/src/components/DataSummary/DataSummaryFactory.js +4 -2
  1120. package/src/components/DataSummary/DataSummaryTypes/index.js +14 -10
  1121. package/src/components/DataSummary/helpers/get-record-id.js +14 -0
  1122. package/src/components/DataSummary/helpers/index.js +3 -1
  1123. package/src/components/EmailConfirm/EmailConfirm.js +9 -11
  1124. package/src/components/ErrorMessage/index.js +2 -2
  1125. package/src/components/Image/GlobalLightbox/GlobalLightbox.js +76 -80
  1126. package/src/components/Image/GlobalLightbox/NavButton.js +12 -15
  1127. package/src/components/Image/GlobalLightbox/index.js +2 -2
  1128. package/src/components/Image/Image.js +6 -4
  1129. package/src/components/Image/ImageFactory.js +5 -5
  1130. package/src/components/ItemList/hooks/use-item-list-id.js +10 -13
  1131. package/src/components/Layout/Layout.js +14 -3
  1132. package/src/components/Layout/LayoutFactory.js +2 -2
  1133. package/src/components/Layout/LayoutWithStickyTimer.js +11 -14
  1134. package/src/components/List/ListBuilder.js +1 -1
  1135. package/src/components/List/ListFactory.js +10 -11
  1136. package/src/components/List/ListRender.js +8 -6
  1137. package/src/components/List/components/Full/FullRenderItem.js +3 -4
  1138. package/src/components/List/components/Pagination/ListPagination.js +3 -6
  1139. package/src/components/List/components/Pagination/LoadMore.js +7 -9
  1140. package/src/components/List/helpers/build-query-booster.js +12 -6
  1141. package/src/components/List/helpers/sort-aggs.js +1 -2
  1142. package/src/components/Menu/Menu.js +13 -19
  1143. package/src/components/Menu/MenuContext.js +1 -1
  1144. package/src/components/MenuItem/MenuItemRender.js +18 -44
  1145. package/src/components/MenuItem/helpers/index.js +1 -3
  1146. package/src/components/MenuItem/helpers/inject-helper-into-template.js +12 -2
  1147. package/src/components/ModalAdapter/index.js +2 -2
  1148. package/src/components/SearchContent/SearchContent.js +37 -37
  1149. package/src/components/SearchContent/SearchContentResults.js +1 -1
  1150. package/src/components/SearchFilter/SearchFilter/SearchFilter.js +15 -19
  1151. package/src/components/SearchFilter/helpers/build-new-url.js +3 -2
  1152. package/src/components/Video/providers/Vimeo/VimeoProvider.js +19 -22
  1153. package/src/components/Video/providers/YouTube/YoutubeEmbeded.js +58 -64
  1154. package/src/components/Video/providers/get-provider.js +4 -4
  1155. package/src/components/Wrapper.js +5 -7
  1156. package/src/components/index.js +20 -20
  1157. package/src/constants/index.js +2 -1
  1158. package/src/helpers/build-search-values-checkbox-select.js +1 -1
  1159. package/src/helpers/get-component-id.js +1 -1
  1160. package/src/helpers/get-current-offset.js +1 -1
  1161. package/src/helpers/get-custom-html-properties.js +11 -0
  1162. package/src/helpers/get-image-ids.js +3 -0
  1163. package/src/helpers/get-wrapped-value-with-link.js +1 -1
  1164. package/src/helpers/index.js +1 -0
  1165. package/src/helpers/remove-unwanted-characters.js +1 -4
  1166. package/src/hooks/helpers/RenderComponent.js +5 -0
  1167. package/src/hooks/helpers/buildPBComponents.js +2 -4
  1168. package/src/hooks/helpers/get-components-to-insert-by-type.js +3 -1
  1169. package/src/hooks/helpers/inject-textblock-banners.js +2 -8
  1170. package/src/hooks/index.js +1 -0
  1171. package/src/hooks/use-app-event-hook.js +34 -0
  1172. package/src/hooks/use-check-mobile-screen.js +5 -8
  1173. package/src/hooks/use-get-entity-schema.js +5 -1
  1174. package/src/hooks/use-get-image-id-from-relation.js +16 -4
  1175. package/src/hooks/use-page-builder.js +9 -12
  1176. package/src/system-components/EditorMode/BlazeLogo.js +48 -0
  1177. package/src/system-components/EditorMode/PbWrapper.js +27 -0
  1178. package/src/system-components/EditorMode/constants.js +2 -0
  1179. package/src/system-components/EditorMode/helpers/add-editor-mode-event-listeners.js +101 -0
  1180. package/src/system-components/EditorMode/helpers/check-is-over-blaze-icon.js +24 -0
  1181. package/src/system-components/index.js +3 -0
  1182. package/src/variants/Infographic/index.js +2 -2
  1183. package/src/variants/LiveBlogList/LiveBlogList.js +24 -30
  1184. package/src/variants/LiveBlogList/index.js +2 -2
  1185. package/src/variants/LongformGallery/LongformGallery.js +2 -8
  1186. package/src/variants/LongformGallery/index.js +2 -2
  1187. package/src/variants/SlideSummary/index.js +2 -2
  1188. package/src/variants/ThumbnailCarousel/ThumbnailImage/ThumbnailImage.js +2 -3
  1189. package/src/variants/ThumbnailCarousel/index.js +2 -2
  1190. package/CHANGELOG.md +0 -2524
  1191. package/babel.config.js +0 -3
  1192. package/example.env +0 -4
  1193. package/jest.config.js +0 -5
  1194. package/lib/components/MenuItem/helpers/has-active-child.js +0 -19
  1195. package/lib/components/MenuItem/helpers/has-active-child.js.map +0 -1
  1196. package/lib/components/MenuItem/helpers/isUrlPathMatch.js +0 -18
  1197. package/lib/components/MenuItem/helpers/isUrlPathMatch.js.map +0 -1
  1198. package/lib-es/components/MenuItem/helpers/has-active-child.js +0 -5
  1199. package/lib-es/components/MenuItem/helpers/has-active-child.js.map +0 -1
  1200. package/lib-es/components/MenuItem/helpers/isUrlPathMatch.js +0 -8
  1201. package/lib-es/components/MenuItem/helpers/isUrlPathMatch.js.map +0 -1
  1202. package/src/components/MenuItem/helpers/has-active-child.js +0 -10
  1203. package/src/components/MenuItem/helpers/isUrlPathMatch.js +0 -10
  1204. package/tests/helpers/mocks.js +0 -2494
  1205. package/tests/unit/src/BannerContext/helpers/set-initial-banner-counters.test.js +0 -48
  1206. package/tests/unit/src/HOC/__snapshots__/withInfiniteScroll.test.js.snap +0 -9
  1207. package/tests/unit/src/HOC/recreateOnNavigation.test.js +0 -28
  1208. package/tests/unit/src/HOC/withInfiniteScroll.test.js +0 -26
  1209. package/tests/unit/src/HOC/withTitle.test.js +0 -50
  1210. package/tests/unit/src/Layout/Layout.test.js +0 -119
  1211. package/tests/unit/src/Layout/__snapshots__/Layout.test.js.snap +0 -24
  1212. package/tests/unit/src/Layout/getMockedProps.js +0 -19
  1213. package/tests/unit/src/Layout/helpers/check-if-row-has-columns.test.js +0 -49
  1214. package/tests/unit/src/Layout/helpers/get-styles-to-update.test.js +0 -23
  1215. package/tests/unit/src/Layout/helpers/has-children.test.js +0 -38
  1216. package/tests/unit/src/components/BackToTop/BackToTop.test.js +0 -23
  1217. package/tests/unit/src/components/BackToTop/__snapshots__/BackToTop.test.js.snap +0 -3
  1218. package/tests/unit/src/components/Banner/AdSlotRender.test.js +0 -80
  1219. package/tests/unit/src/components/Banner/Banner.test.js +0 -60
  1220. package/tests/unit/src/components/Banner/BannerRender.test.js +0 -126
  1221. package/tests/unit/src/components/Banner/__snapshots__/AdSlotRender.test.js.snap +0 -80
  1222. package/tests/unit/src/components/Banner/__snapshots__/Banner.test.js.snap +0 -7
  1223. package/tests/unit/src/components/Banner/__snapshots__/BannerRender.test.js.snap +0 -15
  1224. package/tests/unit/src/components/Banner/__snapshots__/helpers.test.js.snap +0 -3
  1225. package/tests/unit/src/components/Banner/helpers.test.js +0 -244
  1226. package/tests/unit/src/components/BlazeLink.test.js +0 -71
  1227. package/tests/unit/src/components/Breadcrumb/Breadcrumb.test.js +0 -106
  1228. package/tests/unit/src/components/Breadcrumb/__snapshots__/Breadcrumb.test.js.snap +0 -85
  1229. package/tests/unit/src/components/Button.test.js +0 -143
  1230. package/tests/unit/src/components/Card/Card.test.js +0 -229
  1231. package/tests/unit/src/components/Card/CardContainer.test.js +0 -62
  1232. package/tests/unit/src/components/Card/__snapshots__/Card.test.js.snap +0 -465
  1233. package/tests/unit/src/components/Card/__snapshots__/CardContainer.test.js.snap +0 -189
  1234. package/tests/unit/src/components/Card/helpers/append-images.test.js +0 -36
  1235. package/tests/unit/src/components/Card/helpers/get-dynamic-grid-classes.test.js +0 -29
  1236. package/tests/unit/src/components/Card/helpers/get-updated-items-to-display.test.js +0 -72
  1237. package/tests/unit/src/components/Card/helpers/getPublishedListingUrl.test.js +0 -23
  1238. package/tests/unit/src/components/Card/helpers/useDynamicSizeKey.test.js +0 -14
  1239. package/tests/unit/src/components/Card/mockData.js +0 -196
  1240. package/tests/unit/src/components/Carousel/Carousel.test.js +0 -114
  1241. package/tests/unit/src/components/Carousel/CarouselImage/CarouselImage.test.js +0 -48
  1242. package/tests/unit/src/components/Carousel/CarouselImage/__snapshots__/CarouselImage.test.js.snap +0 -17
  1243. package/tests/unit/src/components/Carousel/CarouselImage/helpers.js +0 -9
  1244. package/tests/unit/src/components/Carousel/CarouselImage/mocks.js +0 -38
  1245. package/tests/unit/src/components/Carousel/CarouselRender/CarouselRender.test.js +0 -73
  1246. package/tests/unit/src/components/Carousel/CarouselRender/__snapshots__/CarouselRender.test.js.snap +0 -3
  1247. package/tests/unit/src/components/Carousel/__snapshots__/Carousel.test.js.snap +0 -94
  1248. package/tests/unit/src/components/CarouselWrapper.test.js +0 -54
  1249. package/tests/unit/src/components/ClickWrapper.test.js +0 -22
  1250. package/tests/unit/src/components/Code/Code.test.js +0 -46
  1251. package/tests/unit/src/components/Code/ScriptTag.test.js +0 -21
  1252. package/tests/unit/src/components/Code/__snapshots__/Code.test.js.snap +0 -37
  1253. package/tests/unit/src/components/Code/__snapshots__/ScriptTag.test.js.snap +0 -24
  1254. package/tests/unit/src/components/Code/helpers/wrap-script-tags.test.js +0 -31
  1255. package/tests/unit/src/components/Code.test.js +0 -29
  1256. package/tests/unit/src/components/ContentGroup/ContentGroup.test.js +0 -46
  1257. package/tests/unit/src/components/ContentGroup/ContentGroupAccordion.test.js +0 -283
  1258. package/tests/unit/src/components/ContentGroup/ContentGroupTabs.test.js +0 -32
  1259. package/tests/unit/src/components/ContentGroup/__snapshots__/ContentGroup.test.js.snap +0 -5
  1260. package/tests/unit/src/components/ContentGroup/__snapshots__/ContentGroupAccordion.test.js.snap +0 -243
  1261. package/tests/unit/src/components/ContentGroup/__snapshots__/ContentGroupTabs.test.js.snap +0 -123
  1262. package/tests/unit/src/components/ContentGroup/helpers/get-active-tab.test.js +0 -28
  1263. package/tests/unit/src/components/ContentGroup/helpers/get-sections-data.test.js +0 -30
  1264. package/tests/unit/src/components/ContentGroup/helpers/get-structured-data-properties.test.js +0 -105
  1265. package/tests/unit/src/components/ContentGroupSection/ContentGroupSection.test.js +0 -20
  1266. package/tests/unit/src/components/ContentGroupSection/__snapshots__/ContentGroupSection.test.js.snap +0 -15
  1267. package/tests/unit/src/components/DataSummary/DataSummaryFactory.test.js +0 -67
  1268. package/tests/unit/src/components/DataSummary/DataSummaryRender.test.js +0 -41
  1269. package/tests/unit/src/components/DataSummary/DataSummaryTypes/HeadingLargeSummary.test.js +0 -33
  1270. package/tests/unit/src/components/DataSummary/DataSummaryTypes/ItemDetailsSummary.test.js +0 -23
  1271. package/tests/unit/src/components/DataSummary/DataSummaryTypes/LargeSummary.test.js +0 -23
  1272. package/tests/unit/src/components/DataSummary/DataSummaryTypes/ListSummary.test.js +0 -23
  1273. package/tests/unit/src/components/DataSummary/DataSummaryTypes/TextSummary.test.js +0 -23
  1274. package/tests/unit/src/components/DataSummary/DataSummaryTypes/__snapshots__/HeadingLargeSummary.test.js.snap +0 -11
  1275. package/tests/unit/src/components/DataSummary/DataSummaryTypes/__snapshots__/ItemDetailsSummary.test.js.snap +0 -69
  1276. package/tests/unit/src/components/DataSummary/DataSummaryTypes/__snapshots__/LargeSummary.test.js.snap +0 -109
  1277. package/tests/unit/src/components/DataSummary/DataSummaryTypes/__snapshots__/ListSummary.test.js.snap +0 -101
  1278. package/tests/unit/src/components/DataSummary/DataSummaryTypes/__snapshots__/TextSummary.test.js.snap +0 -57
  1279. package/tests/unit/src/components/DataSummary/__snapshots__/DataSummaryFactory.test.js.snap +0 -11
  1280. package/tests/unit/src/components/DataSummary/__snapshots__/DataSummaryRender.test.js.snap +0 -67
  1281. package/tests/unit/src/components/DataSummary/helpers/build-loop-props-content.test.js +0 -134
  1282. package/tests/unit/src/components/DataSummary/helpers/build-props-to-display-with-content.test.js +0 -52
  1283. package/tests/unit/src/components/DataSummary/helpers/get-data-summary-query.test.js +0 -35
  1284. package/tests/unit/src/components/DataSummary/helpers/get-link-based-on-value.test.js +0 -58
  1285. package/tests/unit/src/components/DataSummary/helpers/get-link-props.test.js +0 -35
  1286. package/tests/unit/src/components/DataSummary/helpers/get-link-to-published-content.test.js +0 -62
  1287. package/tests/unit/src/components/DataSummary/helpers/get-loop-props-limit.test.js +0 -32
  1288. package/tests/unit/src/components/DataSummary/helpers/get-prop-value.test.js +0 -67
  1289. package/tests/unit/src/components/DataSummary/helpers/get-value-from-array.test.js +0 -46
  1290. package/tests/unit/src/components/DataSummary/helpers/mocks.js +0 -90
  1291. package/tests/unit/src/components/DataSummary/helpers/parse-boolean-values.test.js +0 -28
  1292. package/tests/unit/src/components/DataSummary/helpers/strip-summary-props-content.test.js +0 -40
  1293. package/tests/unit/src/components/DataSummary/mockData.js +0 -47
  1294. package/tests/unit/src/components/DateTime/DateTime.test.js +0 -129
  1295. package/tests/unit/src/components/EmailConfirm/EmailConfirm.test.js +0 -53
  1296. package/tests/unit/src/components/EmailConfirm/__snapshots__/EmailConfirm.test.js.snap +0 -13
  1297. package/tests/unit/src/components/Iframe/Iframe.test.js +0 -21
  1298. package/tests/unit/src/components/Iframe/__snapshots__/Iframe.test.js.snap +0 -21
  1299. package/tests/unit/src/components/Image/GlobalLightbox/GlobalLightbox.test.js +0 -123
  1300. package/tests/unit/src/components/Image/GlobalLightbox/NavButton.test.js +0 -44
  1301. package/tests/unit/src/components/Image/GlobalLightbox/__snapshots__/GlobalLightbox.test.js.snap +0 -101
  1302. package/tests/unit/src/components/Image/GlobalLightbox/__snapshots__/NavButton.test.js.snap +0 -15
  1303. package/tests/unit/src/components/Image/GlobalLightbox/getMockedLightboxProps.js +0 -15
  1304. package/tests/unit/src/components/Image/GlobalLightbox/mocks.js +0 -39
  1305. package/tests/unit/src/components/Image/Image.test.js +0 -213
  1306. package/tests/unit/src/components/Image/ImageDetails.test.js +0 -41
  1307. package/tests/unit/src/components/Image/ImageFactory.test.js +0 -120
  1308. package/tests/unit/src/components/Image/ImageRender.test.js +0 -54
  1309. package/tests/unit/src/components/Image/Lightbox/Lightbox.test.js +0 -64
  1310. package/tests/unit/src/components/Image/Lightbox/__snapshots__/Lightbox.test.js.snap +0 -17
  1311. package/tests/unit/src/components/Image/Lightbox/mocks.js +0 -21
  1312. package/tests/unit/src/components/Image/__snapshots__/Image.test.js.snap +0 -74
  1313. package/tests/unit/src/components/Image/__snapshots__/ImageDetails.test.js.snap +0 -10
  1314. package/tests/unit/src/components/Image/__snapshots__/ImageFactory.test.js.snap +0 -93
  1315. package/tests/unit/src/components/Image/__snapshots__/ImageRender.test.js.snap +0 -41
  1316. package/tests/unit/src/components/Image/mocks.js +0 -255
  1317. package/tests/unit/src/components/ItemList/ItemListButton.test.js +0 -178
  1318. package/tests/unit/src/components/ItemList/ItemListCounter.test.js +0 -68
  1319. package/tests/unit/src/components/ItemList/ItemListNew.test.js +0 -167
  1320. package/tests/unit/src/components/ItemList/__snapshots__/ItemListButton.test.js.snap +0 -219
  1321. package/tests/unit/src/components/ItemList/__snapshots__/ItemListCounter.test.js.snap +0 -62
  1322. package/tests/unit/src/components/ItemList/__snapshots__/ItemListNew.test.js.snap +0 -27
  1323. package/tests/unit/src/components/ItemList/helpers/get-item-list-data.test.js +0 -28
  1324. package/tests/unit/src/components/ItemList/helpers/get-item-list-id.test.js +0 -20
  1325. package/tests/unit/src/components/ItemList/helpers/get-item-list-ids.test.js +0 -19
  1326. package/tests/unit/src/components/ItemList/helpers/set-item-list-id.test.js +0 -16
  1327. package/tests/unit/src/components/ItemList/helpers/set-param-and-redirect.test.js +0 -30
  1328. package/tests/unit/src/components/ItemList/hooks/use-item-list-id.test.js +0 -35
  1329. package/tests/unit/src/components/Layout/Layout.test.js +0 -99
  1330. package/tests/unit/src/components/Layout/LayoutFactory.test.js +0 -53
  1331. package/tests/unit/src/components/Layout/__snapshots__/Layout.test.js.snap +0 -67
  1332. package/tests/unit/src/components/LazyImage/LazyImage.test.js +0 -46
  1333. package/tests/unit/src/components/LazyImage/__snapshots__/LazyImage.test.js.snap +0 -31
  1334. package/tests/unit/src/components/List/ListRender.test.js +0 -65
  1335. package/tests/unit/src/components/List/__snapshots__/ListRender.test.js.snap +0 -38
  1336. package/tests/unit/src/components/List/components/Cards/CardsRender.test.js +0 -30
  1337. package/tests/unit/src/components/List/components/Cards/CardsRenderItem.test.js +0 -19
  1338. package/tests/unit/src/components/List/components/Cards/CardsRenderWrapper.test.js +0 -31
  1339. package/tests/unit/src/components/List/components/Cards/__snapshots__/CardsRender.test.js.snap +0 -155
  1340. package/tests/unit/src/components/List/components/Cards/__snapshots__/CardsRenderItem.test.js.snap +0 -13
  1341. package/tests/unit/src/components/List/components/Cards/__snapshots__/CardsRenderWrapper.test.js.snap +0 -31
  1342. package/tests/unit/src/components/List/components/Cards/helpers/check-if-should-render-gtm.test.js +0 -39
  1343. package/tests/unit/src/components/List/components/Full/FullRender.test.js +0 -37
  1344. package/tests/unit/src/components/List/components/Full/FullRenderItem.test.js +0 -32
  1345. package/tests/unit/src/components/List/components/Full/__snapshots__/FullRender.test.js.snap +0 -51
  1346. package/tests/unit/src/components/List/components/Full/__snapshots__/FullRenderItem.test.js.snap +0 -52
  1347. package/tests/unit/src/components/List/components/Header/ListHeader.test.js +0 -28
  1348. package/tests/unit/src/components/List/components/Header/__snapshots__/ListHeader.test.js.snap +0 -45
  1349. package/tests/unit/src/components/List/components/Pagination/Classic.test.js +0 -21
  1350. package/tests/unit/src/components/List/components/Pagination/ListPagination.test.js +0 -86
  1351. package/tests/unit/src/components/List/components/Pagination/LoadMore.test.js +0 -22
  1352. package/tests/unit/src/components/List/components/Pagination/__snapshots__/Classic.test.js.snap +0 -53
  1353. package/tests/unit/src/components/List/components/Pagination/__snapshots__/ListPagination.test.js.snap +0 -51
  1354. package/tests/unit/src/components/List/components/Pagination/__snapshots__/LoadMore.test.js.snap +0 -13
  1355. package/tests/unit/src/components/List/components/helpers/check-if-should-render-banner.test.js +0 -75
  1356. package/tests/unit/src/components/List/components/index.test.js +0 -15
  1357. package/tests/unit/src/components/List/components/mocks.js +0 -56
  1358. package/tests/unit/src/components/List/helpers/__snapshots__/build-pagination-items.test.js.snap +0 -325
  1359. package/tests/unit/src/components/List/helpers/build-az-aggregations.test.js +0 -33
  1360. package/tests/unit/src/components/List/helpers/build-az-url.test.js +0 -11
  1361. package/tests/unit/src/components/List/helpers/build-pagination-items.test.js +0 -40
  1362. package/tests/unit/src/components/List/helpers/build-pagination-url.test.js +0 -16
  1363. package/tests/unit/src/components/List/helpers/build-query-booster.test.js +0 -33
  1364. package/tests/unit/src/components/List/helpers/get-az-query-filter.test.js +0 -17
  1365. package/tests/unit/src/components/List/helpers/get-items-per-page-to-use.test.js +0 -24
  1366. package/tests/unit/src/components/List/helpers/get-list-component.test.js +0 -21
  1367. package/tests/unit/src/components/List/helpers/get-list-query.test.js +0 -55
  1368. package/tests/unit/src/components/List/helpers/get-sort-props.test.js +0 -109
  1369. package/tests/unit/src/components/List/helpers/has-required-item-list-details.test.js +0 -30
  1370. package/tests/unit/src/components/List/helpers/sort-aggs.test.js +0 -46
  1371. package/tests/unit/src/components/Loading/Loading.test.js +0 -29
  1372. package/tests/unit/src/components/Loading/__snapshots__/Loading.test.js.snap +0 -31
  1373. package/tests/unit/src/components/Menu/Menu.test.js +0 -28
  1374. package/tests/unit/src/components/Menu/__snapshots__/Menu.test.js.snap +0 -23
  1375. package/tests/unit/src/components/MenuItem/MenuEntitiesItem.test.js +0 -23
  1376. package/tests/unit/src/components/MenuItem/MenuItem.test.js +0 -58
  1377. package/tests/unit/src/components/MenuItem/MenuItemRender.test.js +0 -114
  1378. package/tests/unit/src/components/MenuItem/SubMenu.test.js +0 -30
  1379. package/tests/unit/src/components/MenuItem/__snapshots__/MenuEntitiesItem.test.js.snap +0 -3
  1380. package/tests/unit/src/components/MenuItem/__snapshots__/MenuItem.test.js.snap +0 -49
  1381. package/tests/unit/src/components/MenuItem/__snapshots__/SubMenu.test.js.snap +0 -17
  1382. package/tests/unit/src/components/MenuItem/helpers/constants.js +0 -73
  1383. package/tests/unit/src/components/MenuItem/helpers/has-active-child.test.js +0 -35
  1384. package/tests/unit/src/components/MenuItem/helpers/inject-helper-into-template.test.js +0 -44
  1385. package/tests/unit/src/components/MenuItem/helpers/is-url-path-match.test.js +0 -53
  1386. package/tests/unit/src/components/MenuItem/mocks.js +0 -71
  1387. package/tests/unit/src/components/Modal/Modal.test.js +0 -45
  1388. package/tests/unit/src/components/Modal/__snapshots__/Modal.test.js.snap +0 -17
  1389. package/tests/unit/src/components/PlaceholderIcon/__snapshots__/index.test.js.snap +0 -87
  1390. package/tests/unit/src/components/PlaceholderIcon/index.test.js +0 -20
  1391. package/tests/unit/src/components/SearchContent/SearchContent.test.js +0 -57
  1392. package/tests/unit/src/components/SearchContent/__snapshots__/SearchContent.test.js.snap +0 -73
  1393. package/tests/unit/src/components/SearchFilter/SearchFilter/CloseMobileForm.test.js +0 -35
  1394. package/tests/unit/src/components/SearchFilter/SearchFilter/FiltersList.test.js +0 -15
  1395. package/tests/unit/src/components/SearchFilter/SearchFilter/MobileFormToolbar.test.js +0 -37
  1396. package/tests/unit/src/components/SearchFilter/SearchFilter/ResetDesktopForm.test.js +0 -43
  1397. package/tests/unit/src/components/SearchFilter/SearchFilter/SearchFilter.test.js +0 -179
  1398. package/tests/unit/src/components/SearchFilter/SearchFilter/__snapshots__/CloseMobileForm.test.js.snap +0 -35
  1399. package/tests/unit/src/components/SearchFilter/SearchFilter/__snapshots__/MobileFormToolbar.test.js.snap +0 -25
  1400. package/tests/unit/src/components/SearchFilter/SearchFilter/__snapshots__/ResetDesktopForm.test.js.snap +0 -39
  1401. package/tests/unit/src/components/SearchFilter/SearchFilter/__snapshots__/SearchFilter.test.js.snap +0 -767
  1402. package/tests/unit/src/components/SearchFilter/SearchFilterContainer.test.js +0 -38
  1403. package/tests/unit/src/components/SearchFilter/__snapshots__/SearchFilterContainer.test.js.snap +0 -5
  1404. package/tests/unit/src/components/SearchFilter/components/Checkbox.test.js +0 -34
  1405. package/tests/unit/src/components/SearchFilter/components/Range.test.js +0 -132
  1406. package/tests/unit/src/components/SearchFilter/components/Select.test.js +0 -96
  1407. package/tests/unit/src/components/SearchFilter/components/TextSearch.test.js +0 -34
  1408. package/tests/unit/src/components/SearchFilter/components/__snapshots__/Checkbox.test.js.snap +0 -60
  1409. package/tests/unit/src/components/SearchFilter/components/__snapshots__/Range.test.js.snap +0 -341
  1410. package/tests/unit/src/components/SearchFilter/components/__snapshots__/Select.test.js.snap +0 -68
  1411. package/tests/unit/src/components/SearchFilter/components/__snapshots__/TextSearch.test.js.snap +0 -58
  1412. package/tests/unit/src/components/SearchFilter/helpers/build-new-url.test.js +0 -31
  1413. package/tests/unit/src/components/SearchFilter/helpers/build-query.test.js +0 -56
  1414. package/tests/unit/src/components/SearchFilter/helpers/calculate-min-max.test.js +0 -21
  1415. package/tests/unit/src/components/SearchFilter/helpers/calculate-step.test.js +0 -21
  1416. package/tests/unit/src/components/SearchFilter/helpers/check-if-range-updated.test.js +0 -27
  1417. package/tests/unit/src/components/SearchFilter/helpers/get-display-value.test.js +0 -38
  1418. package/tests/unit/src/components/SearchFilter/helpers/get-filter-value-from-query.test.js +0 -28
  1419. package/tests/unit/src/components/SearchFilter/helpers/get-initial-filter-values.test.js +0 -50
  1420. package/tests/unit/src/components/SearchFilter/helpers/get-intersected-prop.test.js +0 -12
  1421. package/tests/unit/src/components/SearchFilter/helpers/get-range-value.test.js +0 -24
  1422. package/tests/unit/src/components/SearchFilter/helpers/get-select-options.test.js +0 -40
  1423. package/tests/unit/src/components/SearchFilter/helpers/get-updated-filter-by.test.js +0 -28
  1424. package/tests/unit/src/components/SearchFilter/helpers/is-device-desktop.test.js +0 -31
  1425. package/tests/unit/src/components/SearchFilter/helpers/parse-filter-value.test.js +0 -35
  1426. package/tests/unit/src/components/SearchFilterSort/SearchFilterSort.test.js +0 -27
  1427. package/tests/unit/src/components/SearchFilterSort/__snapshots__/SearchFilterSort.test.js.snap +0 -28
  1428. package/tests/unit/src/components/SearchFilterSort/helpers/handle-sort-update.test.js +0 -53
  1429. package/tests/unit/src/components/SearchFilterSort/helpers/update-sort.test.js +0 -25
  1430. package/tests/unit/src/components/SocialFollow/SFItem.test.js +0 -22
  1431. package/tests/unit/src/components/SocialFollow/SocialFollow.test.js +0 -38
  1432. package/tests/unit/src/components/SocialFollow/__snapshots__/SFItem.test.js.snap +0 -38
  1433. package/tests/unit/src/components/SocialFollow/__snapshots__/SocialFollow.test.js.snap +0 -74
  1434. package/tests/unit/src/components/TextBlock/TextBlock.test.js +0 -82
  1435. package/tests/unit/src/components/TextBlock/__snapshots__/TextBlock.test.js.snap +0 -89
  1436. package/tests/unit/src/components/Video/Video.test.js +0 -74
  1437. package/tests/unit/src/components/Video/VideoModal.test.js +0 -18
  1438. package/tests/unit/src/components/Video/__snapshots__/Video.test.js.snap +0 -59
  1439. package/tests/unit/src/components/Video/__snapshots__/VideoModal.test.js.snap +0 -14
  1440. package/tests/unit/src/components/Video/providers/Default.test.js +0 -22
  1441. package/tests/unit/src/components/Video/providers/JWPlayer/JWPlayerProvider.test.js +0 -49
  1442. package/tests/unit/src/components/Video/providers/JWPlayer/__snapshots__/JWPlayerProvider.test.js.snap +0 -13
  1443. package/tests/unit/src/components/Video/providers/JWPlayer/mocks.js +0 -40
  1444. package/tests/unit/src/components/Video/providers/Vimeo/Vimeo.test.js +0 -13
  1445. package/tests/unit/src/components/Video/providers/Vimeo/__snapshots__/Vimeo.test.js.snap +0 -10
  1446. package/tests/unit/src/components/Video/providers/Vimeo/helpers/add-extra-params-to-url.test.js +0 -24
  1447. package/tests/unit/src/components/Video/providers/YouTube/YouTubeProvider.test.js +0 -15
  1448. package/tests/unit/src/components/Video/providers/YouTube/__snapshots__/YouTubeProvider.test.js.snap +0 -27
  1449. package/tests/unit/src/components/Video/providers/YouTube/helpers/index.test.js +0 -23
  1450. package/tests/unit/src/components/Video/providers/__snapshots__/Default.test.js.snap +0 -165
  1451. package/tests/unit/src/components/Video/providers/get-provider.test.js +0 -36
  1452. package/tests/unit/src/components/Wrapper.test.js +0 -39
  1453. package/tests/unit/src/components/__snapshots__/BlazeLink.test.js.snap +0 -15
  1454. package/tests/unit/src/components/__snapshots__/Button.test.js.snap +0 -18
  1455. package/tests/unit/src/components/__snapshots__/CarouselWrapper.test.js.snap +0 -162
  1456. package/tests/unit/src/components/__snapshots__/ClickWrapper.test.js.snap +0 -13
  1457. package/tests/unit/src/components/__snapshots__/Code.test.js.snap +0 -13
  1458. package/tests/unit/src/components/__snapshots__/Wrapper.test.js.snap +0 -34
  1459. package/tests/unit/src/components/__snapshots__/index.test.js.snap +0 -130
  1460. package/tests/unit/src/components/index.test.js +0 -7
  1461. package/tests/unit/src/constants/__snapshots__/componentsDefaultValues.test.js.snap +0 -21
  1462. package/tests/unit/src/constants/__snapshots__/index.test.js.snap +0 -3
  1463. package/tests/unit/src/constants/componentsDefaultValues.test.js +0 -8
  1464. package/tests/unit/src/constants/index.test.js +0 -7
  1465. package/tests/unit/src/helpers/__snapshots__/build-query-fields.test.js.snap +0 -29
  1466. package/tests/unit/src/helpers/__snapshots__/get-extra-az-bits.test.js.snap +0 -137
  1467. package/tests/unit/src/helpers/__snapshots__/get-wrapped-value-with-link.test.js.snap +0 -18
  1468. package/tests/unit/src/helpers/__snapshots__/parse-textBlock.test.js.snap +0 -15
  1469. package/tests/unit/src/helpers/build-az-query.test.js +0 -26
  1470. package/tests/unit/src/helpers/build-checkbox-filters.test.js +0 -27
  1471. package/tests/unit/src/helpers/build-image-properties.test.js +0 -51
  1472. package/tests/unit/src/helpers/build-inherited-filters.test.js +0 -112
  1473. package/tests/unit/src/helpers/build-link-extra-props.test.js +0 -41
  1474. package/tests/unit/src/helpers/build-props-query.test.js +0 -228
  1475. package/tests/unit/src/helpers/build-query-fields.test.js +0 -25
  1476. package/tests/unit/src/helpers/build-raw-query-base.test.js +0 -169
  1477. package/tests/unit/src/helpers/build-raw-query-stringified.test.js +0 -49
  1478. package/tests/unit/src/helpers/build-raw-query.test.js +0 -474
  1479. package/tests/unit/src/helpers/build-search-values-checkbox-select.test.js +0 -174
  1480. package/tests/unit/src/helpers/build-search-values-text.test.js +0 -57
  1481. package/tests/unit/src/helpers/build-set-filters.test.js +0 -84
  1482. package/tests/unit/src/helpers/build-sort-values.test.js +0 -54
  1483. package/tests/unit/src/helpers/check-for-error.test.js +0 -33
  1484. package/tests/unit/src/helpers/check-props-to-use.test.js +0 -32
  1485. package/tests/unit/src/helpers/get-banner-data.test.js +0 -32
  1486. package/tests/unit/src/helpers/get-card-entities.test.js +0 -27
  1487. package/tests/unit/src/helpers/get-checkbox-filters.test.js +0 -33
  1488. package/tests/unit/src/helpers/get-click-wrapper-options.test.js +0 -81
  1489. package/tests/unit/src/helpers/get-component-id.test.js +0 -36
  1490. package/tests/unit/src/helpers/get-current-offset.test.js +0 -39
  1491. package/tests/unit/src/helpers/get-dictionary-match.test.js +0 -14
  1492. package/tests/unit/src/helpers/get-display-count-data.test.js +0 -49
  1493. package/tests/unit/src/helpers/get-elasticsearch-operator.test.js +0 -20
  1494. package/tests/unit/src/helpers/get-entity-data.test.js +0 -47
  1495. package/tests/unit/src/helpers/get-entity-render-props.test.js +0 -37
  1496. package/tests/unit/src/helpers/get-extra-az-bits.test.js +0 -51
  1497. package/tests/unit/src/helpers/get-filter-props.test.js +0 -82
  1498. package/tests/unit/src/helpers/get-filter-relation-keys.test.js +0 -22
  1499. package/tests/unit/src/helpers/get-generic-props.test.js +0 -21
  1500. package/tests/unit/src/helpers/get-generic-render-variables.test.js +0 -150
  1501. package/tests/unit/src/helpers/get-image-ids.test.js +0 -80
  1502. package/tests/unit/src/helpers/get-inherited-filters.test.js +0 -27
  1503. package/tests/unit/src/helpers/get-items-to-display-ids.test.js +0 -59
  1504. package/tests/unit/src/helpers/get-modifiers.test.js +0 -46
  1505. package/tests/unit/src/helpers/get-not-equal-query.test.js +0 -23
  1506. package/tests/unit/src/helpers/get-pagination-index.test.js +0 -31
  1507. package/tests/unit/src/helpers/get-parsed-prop-values.test.js +0 -66
  1508. package/tests/unit/src/helpers/get-parsed-summary-value.test.js +0 -26
  1509. package/tests/unit/src/helpers/get-prop-values.test.js +0 -38
  1510. package/tests/unit/src/helpers/get-query-filters.test.js +0 -104
  1511. package/tests/unit/src/helpers/get-query-props.test.js +0 -45
  1512. package/tests/unit/src/helpers/get-required-schemas.test.js +0 -56
  1513. package/tests/unit/src/helpers/get-sanitized-prop-values.test.js +0 -26
  1514. package/tests/unit/src/helpers/get-search-filter-type.test.js +0 -47
  1515. package/tests/unit/src/helpers/get-sort-by-field-name.test.js +0 -57
  1516. package/tests/unit/src/helpers/get-unpublished-entity-name.test.js +0 -33
  1517. package/tests/unit/src/helpers/get-updated-filter-by.test.js +0 -44
  1518. package/tests/unit/src/helpers/get-wrapped-value-with-link.test.js +0 -39
  1519. package/tests/unit/src/helpers/group-entities.test.js +0 -34
  1520. package/tests/unit/src/helpers/inject-banner.test.js +0 -39
  1521. package/tests/unit/src/helpers/inject-banners-to-entities.test.js +0 -47
  1522. package/tests/unit/src/helpers/inject-multiple-banners.test.js +0 -45
  1523. package/tests/unit/src/helpers/is-filter-entitys-id.test.js +0 -23
  1524. package/tests/unit/src/helpers/is-object.test.js +0 -21
  1525. package/tests/unit/src/helpers/is-using-relation-image.test.js +0 -12
  1526. package/tests/unit/src/helpers/parse-interval.test.js +0 -27
  1527. package/tests/unit/src/helpers/parse-props-to-display.test.js +0 -73
  1528. package/tests/unit/src/helpers/parse-textBlock.test.js +0 -31
  1529. package/tests/unit/src/helpers/prcoess-data-summary-value.test.js +0 -52
  1530. package/tests/unit/src/helpers/remove-extra-items.test.js +0 -30
  1531. package/tests/unit/src/helpers/remove-unwanted-characters.test.js +0 -70
  1532. package/tests/unit/src/helpers/render-children.test.js +0 -71
  1533. package/tests/unit/src/helpers/should-render-waypoint.test.js +0 -23
  1534. package/tests/unit/src/helpers/should-show-property.test.js +0 -20
  1535. package/tests/unit/src/helpers/sort-response-data.test.js +0 -24
  1536. package/tests/unit/src/helpers/update-childrens-parent.test.js +0 -41
  1537. package/tests/unit/src/hooks/helpers/StoreImages.test.js +0 -26
  1538. package/tests/unit/src/hooks/helpers/append-gtm-classname.test.js +0 -50
  1539. package/tests/unit/src/hooks/helpers/check-banner-insertion-set.test.js +0 -48
  1540. package/tests/unit/src/hooks/helpers/check-collisions.test.js +0 -44
  1541. package/tests/unit/src/hooks/helpers/get-banner-index.test.js +0 -39
  1542. package/tests/unit/src/hooks/helpers/get-components-to-insert-by-type.test.js +0 -38
  1543. package/tests/unit/src/hooks/helpers/getComponent.test.js +0 -30
  1544. package/tests/unit/src/hooks/helpers/inject-element-components.test.js +0 -103
  1545. package/tests/unit/src/hooks/helpers/inject-textblock-banners.test.js +0 -125
  1546. package/tests/unit/src/hooks/helpers/insert-banners.test.js +0 -127
  1547. package/tests/unit/src/hooks/helpers/split-children.test.js +0 -78
  1548. package/tests/unit/src/hooks/helpers/update-targetings.test.js +0 -13
  1549. package/tests/unit/src/hooks/use-app-sync-evet-hook.test.js +0 -70
  1550. package/tests/unit/src/hooks/use-check-mobile-screen.test.js +0 -40
  1551. package/tests/unit/src/hooks/use-get-entity-schema-as-obj.test.js +0 -46
  1552. package/tests/unit/src/hooks/use-get-image-id-from-relation.test.js +0 -92
  1553. package/tests/unit/src/hooks/use-get-images.test.js +0 -165
  1554. package/tests/unit/src/hooks/use-get-single-entity-schema.test.js +0 -78
  1555. package/tests/unit/src/hooks/use-page-builder.test.js +0 -48
  1556. package/tests/unit/src/utils/component-map.test.js +0 -56
  1557. package/tests/unit/src/utils/get-class-modifiers.test.js +0 -116
  1558. package/tests/unit/src/utils/get-image-data.test.js +0 -54
  1559. package/tests/unit/src/utils/get-props-to-display-modifiers.test.js +0 -14
  1560. package/tests/unit/src/utils/is-object-empty.test.js +0 -22
  1561. package/tests/unit/src/utils/variant-handler.test.js +0 -46
  1562. package/tests/unit/src/variants/Infographic/Infographic.test.js +0 -30
  1563. package/tests/unit/src/variants/LiveBlogList/LiveBlogList.test.js +0 -121
  1564. package/tests/unit/src/variants/LiveBlogList/constants.js +0 -10
  1565. package/tests/unit/src/variants/LongFormGallery/LongformGallery.test.js +0 -42
  1566. package/tests/unit/src/variants/LongFormGallery/LongformGalleryImage.test.js +0 -44
  1567. package/tests/unit/src/variants/LongFormGallery/__snapshots__/LongformGallery.test.js.snap +0 -99
  1568. package/tests/unit/src/variants/LongFormGallery/__snapshots__/LongformGalleryImage.test.js.snap +0 -51
  1569. package/tests/unit/src/variants/LongFormGallery/constants.js +0 -37
  1570. package/tests/unit/src/variants/LongFormGallery/helpers/parseImageData.test.js +0 -53
  1571. package/tests/unit/src/variants/LongFormGallery/helpers/separateImages.test.js +0 -52
  1572. package/tests/unit/src/variants/LongFormGallery/helpers/shouldSkip.test.js +0 -23
  1573. package/tests/unit/src/variants/LongFormGallery/useLongformGallery.test.js +0 -36
  1574. package/tests/unit/src/variants/ThumbnailCarousel/ThumbnailCarousel.test.js +0 -29
  1575. package/tests/unit/src/variants/ThumbnailCarousel/ThumbnailImage.test.js +0 -45
  1576. package/tests/unit/src/variants/ThumbnailCarousel/__snapshots__/ThumbnailCarousel.test.js.snap +0 -71
  1577. package/tests/unit/src/variants/ThumbnailCarousel/__snapshots__/ThumbnailImage.test.js.snap +0 -19
  1578. package/tests/unit/src/variants/ThumbnailCarousel/mocks.js +0 -64
@@ -1,2494 +0,0 @@
1
- import { gql } from '@apollo/client';
2
- import {
3
- getSingleEntitySchema,
4
- generateSingleItemQuery,
5
- getSearchPublishedContent,
6
- getCount,
7
- getMultipleSchema
8
- } from '../../src/application/query';
9
- import {
10
- GET_BANNER,
11
- BANNER_QUERY_PROPS,
12
- COUNT_CONTENT_HIERARCHIES,
13
- PUBLISHED
14
- } from '../../src/constants';
15
-
16
- const DATE_TIME_OBJECT = 'date-time-object';
17
- const SEARCH_FILTER_SEARCH_EXHIBITORS_STRING = 'searchfilter-search-exhibitors';
18
- const TEXT_SEARCH_STRING = 'text-search';
19
- const GTM_CLASSNAME = 'gtm-classname';
20
-
21
- const MOCKED_SCHEMA_FOR_FILTERS = {
22
- identifier: 'page',
23
- dynamicProperties: {
24
- dynamicProp: {
25
- type: 'string',
26
- searchable: true
27
- }
28
- },
29
- relations: [
30
- {
31
- relationType: 'hasOne',
32
- entityIdentifier: 'category',
33
- foreignKey: 'categoryId',
34
- localField: 'category',
35
- description: 'Category',
36
- showInForm: true,
37
- label: 'Category',
38
- formFieldType: 'relationStandard',
39
- formPriority: 1,
40
- searchable: true,
41
- onDeleteAction: 'unset'
42
- },
43
- {
44
- relationType: 'hasOne',
45
- entityIdentifier: 'yachts',
46
- foreignKey: 'yachtId',
47
- localField: 'yacht',
48
- description: 'Yacht',
49
- label: 'Yacht',
50
- showInForm: true,
51
- displayFormName: 'Yacht',
52
- formFieldType: 'relationStandard',
53
- formPriority: 1.1,
54
- searchable: false
55
- },
56
- {
57
- relationType: 'hasOne',
58
- entityIdentifierKey: 'parentEntity',
59
- allowedInterface: 'content/content',
60
- foreignKey: 'parentId',
61
- localField: 'parent',
62
- description: 'Parent record',
63
- showInForm: true,
64
- label: 'Parent',
65
- formFieldType: 'relationDynamic',
66
- formPriority: 2
67
- },
68
- {
69
- relationType: 'hasMany',
70
- entityIdentifier: 'tag',
71
- foreignKey: 'tagIds',
72
- localField: 'tags',
73
- description: 'Tags',
74
- showInForm: true,
75
- label: 'Tags',
76
- formFieldType: 'relationStandard',
77
- formPriority: 3,
78
- searchable: true,
79
- onDeleteAction: 'unset'
80
- },
81
- {
82
- relationType: 'hasMany',
83
- entityIdentifier: 'page',
84
- foreignKey: 'relatedPageIds',
85
- localField: 'relatedPages',
86
- description: 'Related pages',
87
- label: 'Related Profiles',
88
- showInForm: true,
89
- displayFormName: 'Related Profiles',
90
- formPriority: 3.11,
91
- formFieldType: 'relationStandard',
92
- searchable: false
93
- },
94
- {
95
- relationType: 'hasMany',
96
- entityIdentifier: 'profile',
97
- foreignKey: 'builderProfileIds',
98
- localField: 'builderProfiles',
99
- description: 'Builder Profiles',
100
- label: 'Builder Profiles',
101
- showInForm: true,
102
- displayFormName: 'Builder Profiles',
103
- formPriority: 3.11,
104
- formFieldType: 'relationStandard',
105
- searchable: false
106
- },
107
- {
108
- relationType: 'hasMany',
109
- entityIdentifier: 'yacht_category',
110
- foreignKey: 'yachtCategoryIds',
111
- localField: 'yachtCategories',
112
- description: 'Yacht categories',
113
- label: 'Yacht categories',
114
- showInForm: true,
115
- displayFormName: 'Yacht categories',
116
- formFieldType: 'relationStandard',
117
- formPriority: 3.17,
118
- searchable: true
119
- },
120
- {
121
- relationType: 'hasMany',
122
- entityIdentifier: 'published_profile',
123
- foreignKey: 'builderProfileIds',
124
- localField: 'publishedBuilderProfiles',
125
- searchable: true
126
- },
127
- {
128
- relationType: 'hasMany',
129
- entityIdentifier: 'published_profile',
130
- foreignKey: 'exteriorDesignerProfileIds',
131
- localField: 'publishedExteriorDesignerProfiles',
132
- searchable: true
133
- },
134
- {
135
- relationType: 'hasMany',
136
- entityIdentifier: 'published_profile',
137
- foreignKey: 'navalArchitectProfileIds',
138
- localField: 'publishedNavalArchitectProfiles',
139
- searchable: true
140
- }
141
- ],
142
- properties: {
143
- name: {
144
- type: 'string',
145
- label: 'Name',
146
- isNotEmpty: true,
147
- showInListing: true,
148
- showInForm: true,
149
- formFieldType: 'text',
150
- formPriority: 1,
151
- searchable: true
152
- },
153
- metaTitle: {
154
- type: 'string',
155
- label: 'Meta title',
156
- showInForm: true,
157
- formFieldType: 'text',
158
- formPriority: 3,
159
- searchable: true
160
- },
161
- metaDescription: {
162
- type: 'string',
163
- showInForm: true,
164
- label: 'Meta description',
165
- formFieldType: 'textarea',
166
- formPriority: 4,
167
- searchable: true
168
- },
169
- pageBuilder: {
170
- type: 'array',
171
- showInListing: false,
172
- showInForm: true,
173
- searchable: true,
174
- label: 'Page builder',
175
- formFieldType: 'pageBuilder',
176
- formPriority: 8,
177
- description:
178
- "Page builder components. Array items should match the format of '#/definitions/page-builder/component'",
179
- items: {
180
- type: 'object',
181
- additionalProperties: true
182
- }
183
- },
184
-
185
- parentEntity: {
186
- type: 'string'
187
- },
188
- userId: {
189
- type: 'string',
190
- relation: {
191
- relationType: 'hasOne',
192
- entityIdentifier: 'user',
193
- foreignKey: 'userId',
194
- localField: 'user',
195
- description: 'User who created record',
196
- label: 'Created by',
197
- searchable: false,
198
- showInForm: true,
199
- formFieldType: 'relationStandard',
200
- formPriority: 4
201
- }
202
- },
203
- categoryId: {
204
- type: 'string',
205
- description: 'Category id',
206
- searchable: true,
207
- relation: {
208
- relationType: 'hasOne',
209
- entityIdentifier: 'category',
210
- foreignKey: 'categoryId',
211
- localField: 'category',
212
- description: 'Category',
213
- showInForm: true,
214
- label: 'Category',
215
- formFieldType: 'relationStandard',
216
- formPriority: 1,
217
- searchable: true,
218
- onDeleteAction: 'unset'
219
- }
220
- },
221
- yachtCategoryIds: {
222
- type: 'array',
223
- items: {
224
- type: 'string'
225
- },
226
- relation: {
227
- relationType: 'hasMany',
228
- entityIdentifier: 'yacht_category',
229
- foreignKey: 'yachtCategoryIds',
230
- localField: 'yachtCategories',
231
- description: 'Yacht categories',
232
- label: 'Yacht categories',
233
- showInForm: true,
234
- displayFormName: 'Yacht categories',
235
- formFieldType: 'relationStandard',
236
- formPriority: 3.17,
237
- searchable: true
238
- }
239
- },
240
- yachtId: {
241
- type: ['string', 'null'],
242
- description: 'Yacht id',
243
- searchable: true,
244
- relation: {
245
- relationType: 'hasOne',
246
- entityIdentifier: 'yachts',
247
- foreignKey: 'yachtId',
248
- localField: 'yacht',
249
- description: 'Yacht',
250
- label: 'Yacht',
251
- showInForm: true,
252
- displayFormName: 'Yacht',
253
- formFieldType: 'relationStandard',
254
- formPriority: 1.1,
255
- searchable: false
256
- }
257
- },
258
- exhibitorIds: {
259
- type: 'array',
260
- searchable: true,
261
- items: {
262
- type: 'string'
263
- },
264
- relation: {
265
- relationType: 'hasMany',
266
- entityIdentifier: 'exhibitor',
267
- foreignKey: 'exhibitorIds',
268
- localField: 'exhibitors',
269
- description: 'Exhibitors',
270
- label: 'Exhibitors',
271
- showInForm: true,
272
- displayFormName: 'Exhibitors',
273
- formFieldType: 'relationStandard',
274
- formPriority: 4.1,
275
- searchable: false
276
- }
277
- }
278
- }
279
- };
280
-
281
- const PAGE_BUILDER_MOCK = [
282
- {
283
- id: '32832932',
284
- name: 'Home page',
285
- slug: '/listing/example',
286
- entity: 'product',
287
- pageBuilder: [
288
- {
289
- type: 'Row',
290
- id: 'row-1',
291
- settings: {
292
- modifiers: 'row--wide',
293
- title: 'This is row title'
294
- },
295
- items: [
296
- {
297
- type: 'Banner',
298
- id: 'row-1-banner-1',
299
- settings: {
300
- modifiers: 'banner--leaderboard banner--header'
301
- },
302
- items: [
303
- {
304
- type: 'Row',
305
- settings: {
306
- modifiers: 'row-nested'
307
- }
308
- }
309
- ]
310
- }
311
- ]
312
- },
313
- {
314
- type: 'Hero',
315
- id: '2',
316
- settings: {
317
- text: 'Title',
318
- imageId: '123'
319
- },
320
- items: []
321
- },
322
- {
323
- type: 'Gallery',
324
- id: '3',
325
- settings: {
326
- text: 'Title',
327
- imageIds: ['123', '456']
328
- },
329
- items: []
330
- },
331
- {
332
- type: 'Row',
333
- id: '4',
334
- settings: {
335
- width: 'full',
336
- limit: 6,
337
- imageId: '123'
338
- },
339
- items: [
340
- {
341
- type: 'Card',
342
- settings: {
343
- items: [{}, {}],
344
- title: 'Title',
345
- modifiers: 'card--basic card--wide',
346
- entityType: 'yachts'
347
- }
348
- },
349
- {
350
- type: 'Hero',
351
- id: '2',
352
- settings: {
353
- text: 'Title',
354
- imageId: '123'
355
- },
356
- items: [
357
- {
358
- type: 'Card',
359
- settings: {
360
- title: 'Title',
361
- entityType: 'yachts'
362
- }
363
- }
364
- ]
365
- }
366
- ]
367
- },
368
- {
369
- type: 'Button',
370
- id: '5',
371
- settings: {},
372
- items: []
373
- },
374
- {
375
- type: 'Card',
376
- settings: {
377
- title: 'Title',
378
- entityType: 'yachts'
379
- }
380
- }
381
- ]
382
- }
383
- ];
384
-
385
- const PAGE_SCHEMA = {
386
- id: 'page',
387
- identifier: 'page',
388
- properties: {
389
- id: {
390
- type: 'string',
391
- primaryKey: true
392
- },
393
- created: {
394
- type: 'object',
395
- dataFormat: DATE_TIME_OBJECT,
396
- searchable: true
397
- },
398
- updated: {
399
- type: 'object',
400
- dataFormat: DATE_TIME_OBJECT,
401
- searchable: true
402
- },
403
- metaDescription: {
404
- type: 'string',
405
- showInForm: true,
406
- label: 'Meta description',
407
- formFieldType: 'textarea',
408
- searchable: true
409
- },
410
- name: {
411
- type: 'string',
412
- isNotEmpty: true,
413
- showInListing: true,
414
- showInForm: true,
415
- formFieldType: 'text',
416
- searchable: true,
417
- label: 'Name'
418
- },
419
- metaTitle: {
420
- type: 'string',
421
- showInForm: true,
422
- formFieldType: 'text',
423
- searchable: true,
424
- label: 'Meta title'
425
- },
426
- featured: {
427
- type: 'boolean',
428
- showInForm: true,
429
- label: 'Featured',
430
- formFieldType: 'checkbox',
431
- default: false
432
- },
433
- sponsored: {
434
- type: 'boolean',
435
- showInForm: true,
436
- label: 'Sponsored',
437
- formFieldType: 'checkbox',
438
- default: false
439
- },
440
- parentId: {
441
- type: 'string'
442
- },
443
- parentEntity: {
444
- type: 'string'
445
- },
446
- imageId: {
447
- label: 'Images',
448
- type: 'string',
449
- formFieldType: 'fileUpload',
450
- showInForm: true
451
- },
452
- userId: {
453
- type: 'string'
454
- },
455
- published: {
456
- type: ['object', 'null'],
457
- dataFormat: DATE_TIME_OBJECT
458
- },
459
- status: {
460
- type: 'string',
461
- enum: ['published', 'unpublished'],
462
- default: 'unpublished'
463
- },
464
- pageBuilderTemplateId: {
465
- type: 'string',
466
- description: 'Page builder template'
467
- },
468
- pageBuilderTemplateChanges: {
469
- type: 'object',
470
- showInListing: false,
471
- showInForm: false,
472
- searchable: false,
473
- description:
474
- 'Stores component settings that differ from the template with the component key as the property. This is autogenerated from pageBuilder',
475
- additionalProperties: true
476
- },
477
- pageBuilder: {
478
- type: 'array',
479
- showInListing: false,
480
- showInForm: true,
481
- searchable: true,
482
- label: 'Page builder',
483
- formFieldType: 'pageBuilder',
484
- description:
485
- "Page builder components. Array items should match the format of '#/definitions/page-builder/component'",
486
- items: {
487
- type: 'object',
488
- additionalProperties: true
489
- }
490
- },
491
- tagIds: {
492
- type: 'array',
493
- description: 'Tag ids',
494
- items: {
495
- type: 'string'
496
- }
497
- },
498
- categoryId: {
499
- type: 'string',
500
- description: 'Category id'
501
- },
502
- slug: {
503
- type: 'string',
504
- pattern: '^[a-z0-9€_]+(?:[-]{1,2}[a-z0-9€_]+)*$',
505
- description:
506
- 'Must start with alpha-numeric, underscore or € character and contain only dashes, alpha-numeric, underscore or € characters',
507
- showInForm: true,
508
- formFieldType: 'text',
509
- searchable: true
510
- },
511
- canonicalUrl: {
512
- type: ['string', 'null'],
513
- format: 'uri-template',
514
- description: `A canonical tag`,
515
- showInForm: true,
516
- label: 'Canonical URL',
517
- formFieldType: 'text',
518
- searchable: true
519
- },
520
- sitemapPriority: {
521
- type: ['number', 'null'],
522
- showInForm: true,
523
- label: 'Sitemap priority',
524
- formFieldType: 'number'
525
- },
526
- sitemapExclude: {
527
- type: 'boolean',
528
- showInForm: true,
529
- label: 'Exclude from sitemap',
530
- formFieldType: 'checkbox'
531
- },
532
- authorIds: {
533
- type: 'array',
534
- description: 'Author ids',
535
- items: {
536
- type: 'string'
537
- }
538
- }
539
- },
540
- dynamicProperties: {},
541
- actions: {
542
- create: 'createPage',
543
- update: 'updatePage',
544
- delete: 'deletePage',
545
- deleteAll: 'deletePages',
546
- publish: 'publishPage',
547
- unpublish: 'unpublishPage',
548
- get: 'getPage',
549
- getAll: 'getPages',
550
- countAll: 'countPages',
551
- getPublished: 'getPublishedPage',
552
- getAllPublished: 'getPublishedPages',
553
- countAllPublished: 'countPublishedPages'
554
- },
555
- interfaces: [
556
- 'content/content',
557
- 'content/content-base',
558
- 'users/owner',
559
- 'publish/publishable',
560
- 'page-builder/page-builder-template',
561
- 'page-builder/page-builder',
562
- 'tags/has-tags',
563
- 'tags/has-category',
564
- 'urls/url',
565
- 'content-sitemap/sitemap',
566
- 'content-base/has-authors'
567
- ],
568
- relations: [],
569
- __typename: 'DataEntitySchemaDefinition'
570
- };
571
-
572
- const DATA_SUMMARY_MOCK = [
573
- {
574
- request: {
575
- query: getSingleEntitySchema,
576
- variables: {
577
- id: 'page'
578
- }
579
- },
580
- result: {
581
- data: {
582
- getEntitySchema: PAGE_SCHEMA
583
- }
584
- }
585
- }
586
- ];
587
-
588
- const DATA_SUMMARY_ERROR_MOCK = [
589
- {
590
- request: {
591
- query: getSingleEntitySchema,
592
- variables: {
593
- id: 'page'
594
- }
595
- },
596
- result: {
597
- data: {
598
- getEntitySchema: {
599
- id: 'page'
600
- }
601
- }
602
- }
603
- }
604
- ];
605
-
606
- const ENTITY_SCHEMA_AS_OBJECT = [
607
- {
608
- request: {
609
- query: getMultipleSchema(['page'])
610
- },
611
- result: {
612
- data: {
613
- page: PAGE_SCHEMA
614
- }
615
- }
616
- }
617
- ];
618
-
619
- const CARD_RENDER_ENTITY_DATA_MOCK = [
620
- {
621
- request: {
622
- query: getMultipleSchema(['page'])
623
- },
624
- result: {
625
- data: {
626
- page: {
627
- id: 'page',
628
- identifier: 'page',
629
- properties: {
630
- id: {
631
- type: 'string',
632
- primaryKey: true
633
- },
634
- created: {
635
- type: 'object',
636
- dataFormat: DATE_TIME_OBJECT,
637
- searchable: true
638
- },
639
- updated: {
640
- type: 'object',
641
- dataFormat: DATE_TIME_OBJECT,
642
- searchable: true
643
- },
644
- metaDescription: {
645
- type: 'string',
646
- showInForm: true,
647
- label: 'Meta description',
648
- formFieldType: 'textarea',
649
- searchable: true
650
- },
651
- name: {
652
- type: 'string',
653
- isNotEmpty: true,
654
- showInListing: true,
655
- showInForm: true,
656
- formFieldType: 'text',
657
- searchable: true,
658
- label: 'Name'
659
- },
660
- metaTitle: {
661
- type: 'string',
662
- showInForm: true,
663
- formFieldType: 'text',
664
- searchable: true,
665
- label: 'Meta title'
666
- },
667
- featured: {
668
- type: 'boolean',
669
- showInForm: true,
670
- label: 'Featured',
671
- formFieldType: 'checkbox',
672
- default: false
673
- },
674
- sponsored: {
675
- type: 'boolean',
676
- showInForm: true,
677
- label: 'Sponsored',
678
- formFieldType: 'checkbox',
679
- default: false
680
- },
681
- parentId: {
682
- type: 'string'
683
- },
684
- parentEntity: {
685
- type: 'string'
686
- },
687
- imageId: {
688
- label: 'Images',
689
- type: 'string',
690
- formFieldType: 'fileUpload',
691
- showInForm: true
692
- },
693
- userId: {
694
- type: 'string'
695
- },
696
- published: {
697
- type: ['object', 'null'],
698
- dataFormat: DATE_TIME_OBJECT
699
- },
700
- status: {
701
- type: 'string',
702
- enum: ['published', 'unpublished'],
703
- default: 'unpublished'
704
- },
705
- pageBuilderTemplateId: {
706
- type: 'string',
707
- description: 'Page builder template'
708
- },
709
- pageBuilderTemplateChanges: {
710
- type: 'object',
711
- showInListing: false,
712
- showInForm: false,
713
- searchable: false,
714
- description:
715
- 'Stores component settings that differ from the template with the component key as the property. This is autogenerated from pageBuilder',
716
- additionalProperties: true
717
- },
718
- pageBuilder: {
719
- type: 'array',
720
- showInListing: false,
721
- showInForm: true,
722
- searchable: true,
723
- label: 'Page builder',
724
- formFieldType: 'pageBuilder',
725
- description:
726
- "Page builder components. Array items should match the format of '#/definitions/page-builder/component'",
727
- items: {
728
- type: 'object',
729
- additionalProperties: true
730
- }
731
- },
732
- tagIds: {
733
- type: 'array',
734
- description: 'Tag ids',
735
- items: {
736
- type: 'string'
737
- }
738
- },
739
- categoryId: {
740
- type: 'string',
741
- description: 'Category id'
742
- },
743
- slug: {
744
- type: 'string',
745
- pattern: '^[a-z0-9€_]+(?:[-]{1,2}[a-z0-9€_]+)*$',
746
- description:
747
- 'Must start with alpha-numeric, underscore or € character and contain only dashes, alpha-numeric, underscore or € characters',
748
- showInForm: true,
749
- formFieldType: 'text',
750
- searchable: true
751
- },
752
- canonicalUrl: {
753
- type: ['string', 'null'],
754
- format: 'uri-template',
755
- description: `A canonical tag`,
756
- showInForm: true,
757
- label: 'Canonical URL',
758
- formFieldType: 'text',
759
- searchable: true
760
- },
761
- sitemapPriority: {
762
- type: ['number', 'null'],
763
- showInForm: true,
764
- label: 'Sitemap priority',
765
- formFieldType: 'number'
766
- },
767
- sitemapExclude: {
768
- type: 'boolean',
769
- showInForm: true,
770
- label: 'Exclude from sitemap',
771
- formFieldType: 'checkbox'
772
- },
773
- authorIds: {
774
- type: 'array',
775
- description: 'Author ids',
776
- items: {
777
- type: 'string'
778
- }
779
- }
780
- },
781
- dynamicProperties: {},
782
- actions: {
783
- create: 'createPage',
784
- update: 'updatePage',
785
- delete: 'deletePage',
786
- deleteAll: 'deletePages',
787
- publish: 'publishPage',
788
- unpublish: 'unpublishPage',
789
- get: 'getPage',
790
- getAll: 'getPages',
791
- countAll: 'countPages',
792
- getPublished: 'getPublishedPage',
793
- getAllPublished: 'getPublishedPages',
794
- countAllPublished: 'countPublishedPages'
795
- },
796
- interfaces: [
797
- 'content/content',
798
- 'content/content-base',
799
- 'users/owner',
800
- 'publish/publishable',
801
- 'page-builder/page-builder-template',
802
- 'page-builder/page-builder',
803
- 'tags/has-tags',
804
- 'tags/has-category',
805
- 'urls/url',
806
- 'content-sitemap/sitemap',
807
- 'content-base/has-authors'
808
- ],
809
- relations: [],
810
- __typename: ''
811
- }
812
- }
813
- }
814
- }
815
- ];
816
-
817
- const CARD_RENDER_EMPTY_ENTITY_DATA_MOCK = [
818
- {
819
- request: {
820
- query: getSingleEntitySchema,
821
- variables: {
822
- id: ''
823
- }
824
- },
825
- result: {
826
- data: {
827
- getEntitySchema: {}
828
- }
829
- }
830
- }
831
- ];
832
-
833
- const QUERY_PROPS = `results {
834
- ... on PublishedPage {
835
- id
836
- name
837
- url
838
- metaDescription
839
- category {
840
- name
841
- listingPageId
842
- listingPageEntity
843
- publishedListingPage {
844
- url
845
- }
846
- }
847
- image {
848
- url
849
- data
850
- }
851
- __typename
852
- id
853
- }
854
- }
855
- total`;
856
-
857
- const CARD_RECORD = {
858
- id: 'CARD PAGE ID',
859
- name: 'Card page',
860
- url: '/card-page',
861
- metaDescription: 'Card page meta',
862
- category: {
863
- name: 'Card page cat',
864
- listingPageId: 'Card page Listing ID',
865
- listingPageEntity: 'page',
866
- publishedListingPage: {
867
- url: '/listing-page',
868
- __typename: 'PublishedPage'
869
- },
870
- __typename: 'Category'
871
- },
872
- image: {
873
- url: '/card-image.jpg',
874
- data: { alt: 'card image alt' },
875
- __typename: 'File'
876
- },
877
- __typename: 'PublishedPage'
878
- };
879
-
880
- const CARD_RENDER_SEARCH_PUBLISHED_MOCK = [
881
- {
882
- request: {
883
- query: getSearchPublishedContent(QUERY_PROPS),
884
- variables: {
885
- limit: 51,
886
- offset: 0,
887
- sort: '',
888
- rawQueryStringified:
889
- '{"bool":{"filter":{"bool":{"must":[{"term":{"docType":["published_page"]}}]}}}}'
890
- }
891
- },
892
- result: {
893
- data: {
894
- searchPublishedContent: {
895
- results: [CARD_RECORD],
896
- total: 1,
897
- __typename: 'SearchPublishedContentReponse'
898
- }
899
- }
900
- }
901
- }
902
- ];
903
-
904
- const WITH_INFINITE_SCROLL_SEARCH_PUBLISHED_MOCK = [
905
- {
906
- request: {
907
- query: getSearchPublishedContent(QUERY_PROPS),
908
- variables: {
909
- limit: 50,
910
- offset: 0,
911
- rawQueryStringified:
912
- '{"bool":{"must":[{"bool":{"must":[{"bool":{"should":[]}}]}}],"filter":' +
913
- '{"bool":{"must":[{"term":{"docType":"published_page"}}]}},"must_not":' +
914
- '[{"ids":{"values":["itemId"]}}]}}'
915
- }
916
- },
917
- result: {
918
- data: {
919
- searchPublishedContent: {
920
- results: [],
921
- total: 0
922
- }
923
- }
924
- }
925
- }
926
- ];
927
-
928
- const ENTITY_DATA_MOCK = [
929
- {
930
- request: {
931
- query: generateSingleItemQuery('getPublishedPage', 'id,metaDescription,name,category{name}'),
932
- variables: {
933
- id: 'f5fe4d50-1b57-11ea-adb6-af887205bfc6'
934
- }
935
- },
936
- result: {
937
- data: {
938
- entityData: {
939
- id: 'f5fe4d50-1b57-11ea-adb6-af887205bfc6',
940
- metaDescription: 'aa',
941
- name: 'page with summaryx',
942
- category: {
943
- name: 'cat'
944
- },
945
- __typename: 'DataEntitySchemaDefinition'
946
- }
947
- }
948
- }
949
- }
950
- ];
951
-
952
- const ENTITY_DATA_MOCK_ERROR = [
953
- {
954
- request: {
955
- query: generateSingleItemQuery('getPublishedPage', 'id,metaDescription,name,category{name}'),
956
- variables: {
957
- id: 'errorId'
958
- }
959
- },
960
- error: new Error('this is an error')
961
- }
962
- ];
963
-
964
- const BANNER_MOCK = {
965
- request: {
966
- query: generateSingleItemQuery(GET_BANNER, BANNER_QUERY_PROPS),
967
- variables: {
968
- id: 'someSizeId'
969
- }
970
- },
971
- result: {
972
- data: {
973
- entityData: {
974
- sizes: [
975
- {
976
- width: 300,
977
- height: 600,
978
- viewports: [
979
- {
980
- width: 1024,
981
- height: 768
982
- }
983
- ]
984
- }
985
- ],
986
- __typename: 'Banner'
987
- }
988
- }
989
- }
990
- };
991
-
992
- const COUNT_MOCK = [
993
- {
994
- request: {
995
- query: getCount(COUNT_CONTENT_HIERARCHIES),
996
- variables: {
997
- where: {
998
- parentId: 'id',
999
- childEntity: {
1000
- _ilike: `${PUBLISHED}_%`
1001
- }
1002
- }
1003
- }
1004
- },
1005
- result: {
1006
- data: {
1007
- countContentHierarchies: 0
1008
- }
1009
- }
1010
- }
1011
- ];
1012
-
1013
- const ITEMS_TO_DISPLAY = [
1014
- 'd6a79240-3c5e-11ea-84c3-99e89d013812',
1015
- 'fae0a8d0-35ed-11ea-9ef3-a10a62235b17',
1016
- '0c9dfaf0-35ee-11ea-9ef3-a10a62235b17'
1017
- ];
1018
-
1019
- const MOCKED_ARGS = {
1020
- docType: 'published_page',
1021
- operator: 'should',
1022
- searchValuesText: { must: [{ match: { name: 'search' } }, { match: { metaTitle: 'search' } }] },
1023
- searchValuesCheckboxSelectRange: [],
1024
- searchValuesCheckboxOrEmpty: [],
1025
- id: 'itemId',
1026
- itemsToDisplay: [
1027
- {
1028
- displayItems: [ITEMS_TO_DISPLAY[0]],
1029
- id: '13313d20-3d30-11ea-86b3-a97281bccc23'
1030
- },
1031
- {
1032
- displayItems: [ITEMS_TO_DISPLAY[1]],
1033
- id: '16224290-3d30-11ea-86b3-a97281bccc23'
1034
- },
1035
- {
1036
- displayItems: [ITEMS_TO_DISPLAY[2]]
1037
- }
1038
- ]
1039
- };
1040
-
1041
- const SEARCH_VALUES_TEXT_EMPTY = { must: [] };
1042
-
1043
- const SEARCH_VALUES_CHECKBOX_SELECT = [
1044
- { match: { metaDescription: 'test' } },
1045
- { match: { category: 'cat' } }
1046
- ];
1047
-
1048
- const AND_OPERATOR = 'must';
1049
-
1050
- const EXAMPLE_SHOULD_TEXT = [{ match: { pageBuilderIndexed: 'search' } }];
1051
- const SEARCH_VALUES_TEXT = {
1052
- should: EXAMPLE_SHOULD_TEXT,
1053
- must: [{ match: { name: 'search' } }, { match: { metaTitle: 'search' } }]
1054
- };
1055
-
1056
- const SEARCH_PUBLISHED_MOCK = [
1057
- {
1058
- request: {
1059
- query: getSearchPublishedContent('rawResults'),
1060
- variables: {
1061
- limit: 0,
1062
- rawQueryStringified:
1063
- '{"aggs":{"name":{"terms":{"field":"name.keyword","size":50}}},' +
1064
- '"size":0,"query":{"bool":{"filter":{"bool":{"should":[{"match":{"docType":' +
1065
- '"published_page"}}],"minimum_should_match":1}}}}}'
1066
- }
1067
- },
1068
- result: {
1069
- data: {
1070
- searchPublishedContent: {
1071
- rawResults: {
1072
- took: 92,
1073
- timed_out: false,
1074
- _shards: {
1075
- total: 1,
1076
- successful: 1,
1077
- skipped: 0,
1078
- failed: 0
1079
- },
1080
- hits: {
1081
- total: {
1082
- value: 8,
1083
- relation: 'eq'
1084
- },
1085
- max_score: null,
1086
- hits: []
1087
- },
1088
- aggregations: {
1089
- name: {
1090
- doc_count_error_upper_bound: 0,
1091
- sum_other_doc_count: 0,
1092
- buckets: [
1093
- {
1094
- key: 'Checkbox',
1095
- doc_count: 1
1096
- },
1097
- {
1098
- key: 'Test card',
1099
- doc_count: 1
1100
- },
1101
- {
1102
- key: 'Test category',
1103
- doc_count: 1
1104
- },
1105
- {
1106
- key: 'Test content',
1107
- doc_count: 1
1108
- },
1109
- {
1110
- key: 'Text block',
1111
- doc_count: 1
1112
- }
1113
- ]
1114
- }
1115
- }
1116
- }
1117
- }
1118
- }
1119
- }
1120
- }
1121
- ];
1122
-
1123
- const MOCKED_PROPS_FILTERS_LIST = {
1124
- data: {
1125
- rawResults: {
1126
- aggregations: {
1127
- name: {
1128
- buckets: [
1129
- {
1130
- key: 'name1'
1131
- },
1132
- {
1133
- key: 'name2'
1134
- },
1135
- {
1136
- key: 'name3'
1137
- }
1138
- ]
1139
- },
1140
- category: {
1141
- buckets: [
1142
- {
1143
- key: 'category1'
1144
- },
1145
- {
1146
- key: 'category2'
1147
- }
1148
- ]
1149
- }
1150
- }
1151
- }
1152
- },
1153
- router: {
1154
- query: {}
1155
- }
1156
- };
1157
-
1158
- const MOCKED_PROPS_SEARCH_FILTER = {
1159
- listComponentName: '',
1160
- filterData: {},
1161
- asPath: 'somePath',
1162
- parent: {
1163
- itemEntity: 'published_page'
1164
- },
1165
- entity: 'page',
1166
- url: null,
1167
- name: 'comp name',
1168
- filters: [{ type: 'select', propsToDisplay: ['name'] }]
1169
- };
1170
-
1171
- const MOCKED_EVENT_CHECKBOX = {
1172
- target: {
1173
- name: {
1174
- checked: true,
1175
- value: 'some name'
1176
- }
1177
- }
1178
- };
1179
-
1180
- const MOCKED_FILTERS_CHECKBOX = [{ propsToDisplay: ['name'], type: 'checkbox' }];
1181
-
1182
- const MOCKED_EVENT_CHECKBOX_ARRAY = {
1183
- target: {
1184
- name: [
1185
- {
1186
- checked: true,
1187
- value: 'some name'
1188
- },
1189
- {
1190
- checked: true,
1191
- value: 'another name'
1192
- }
1193
- ]
1194
- }
1195
- };
1196
-
1197
- const MOCKED_EVENT_SELECT = {
1198
- target: {
1199
- metaTitle: {
1200
- value: 'meta meta'
1201
- }
1202
- }
1203
- };
1204
-
1205
- const MOCKED_FILTERS_SELECT = [{ propsToDisplay: ['metaTitle'], type: 'select' }];
1206
-
1207
- const MOCKED_EVENT_SELECT_DEFAULT = {
1208
- target: {
1209
- metaTitle: {
1210
- value: 'Any'
1211
- }
1212
- }
1213
- };
1214
-
1215
- const MOCKED_RANGE_FILTER = {
1216
- e: {
1217
- target: {}
1218
- },
1219
- filters: [{ propsToDisplay: ['length'], type: 'range' }]
1220
- };
1221
-
1222
- const MOCKED_ALL_FILTERS = {
1223
- e: {
1224
- target: {
1225
- name: {
1226
- checked: true,
1227
- value: 'testing'
1228
- },
1229
- metaDescription: {
1230
- value: 'desc'
1231
- }
1232
- }
1233
- },
1234
- filters: [
1235
- { propsToDisplay: ['length'], type: 'range' },
1236
- { propsToDisplay: ['name'], type: 'checkbox' },
1237
- { propsToDisplay: ['metaDescription'], type: 'select' }
1238
- ]
1239
- };
1240
-
1241
- const MOCKED_EVENT_TEXT = {
1242
- target: {
1243
- search_term: {
1244
- value: 'test'
1245
- }
1246
- }
1247
- };
1248
-
1249
- const MOCKED_FILTERS_TEXT = [{ propsToDisplay: ['name', 'metaTitle'], type: TEXT_SEARCH_STRING }];
1250
-
1251
- const MOCKED_ALL_FILTERS_INCLUDING_TEXT = {
1252
- e: {
1253
- target: {
1254
- author: {
1255
- value: 'name',
1256
- checked: true
1257
- },
1258
- metaDescription: {
1259
- value: 'description1'
1260
- },
1261
- search_term: {
1262
- value: 'test'
1263
- }
1264
- }
1265
- },
1266
- filters: [
1267
- { propsToDisplay: ['author'], type: 'checkbox' },
1268
- { propsToDisplay: ['price'], type: 'range' },
1269
- { propsToDisplay: ['metaDescription'], type: 'select' },
1270
- { propsToDisplay: ['name', 'metaTitle'], type: TEXT_SEARCH_STRING }
1271
- ]
1272
- };
1273
- const RAW_QUERY_ONLY_TEXT_SEARCH = {
1274
- bool: {
1275
- must: [
1276
- {
1277
- bool: {
1278
- must: [
1279
- {
1280
- bool: { should: [{ match: { name: 'search' } }, { match: { metaTitle: 'search' } }] }
1281
- }
1282
- ]
1283
- }
1284
- }
1285
- ],
1286
- filter: {
1287
- bool: {
1288
- should: [{ match: { docType: 'published_page' } }],
1289
- minimum_should_match: 1,
1290
- must: []
1291
- }
1292
- },
1293
- must_not: [{ ids: { values: ['itemId'] } }]
1294
- }
1295
- };
1296
-
1297
- const RAW_QUERY_CHECKBOX_SELECT = {
1298
- bool: {
1299
- must: [
1300
- {
1301
- bool: {
1302
- must: [
1303
- { match: { metaDescription: 'test' } },
1304
- { match: { category: 'cat' } },
1305
- { bool: { should: [] } }
1306
- ]
1307
- }
1308
- }
1309
- ],
1310
- filter: {
1311
- bool: {
1312
- should: [{ match: { docType: 'published_page' } }],
1313
- minimum_should_match: 1,
1314
- must: []
1315
- }
1316
- },
1317
- must_not: [{ ids: { values: ['itemId'] } }]
1318
- }
1319
- };
1320
-
1321
- const RAW_QUERY_CHECKBOX_SELECT_CHECKBOX_HAS_OR_OPERATOR = {
1322
- bool: {
1323
- must: [
1324
- {
1325
- bool: {
1326
- must: [
1327
- { match: { metaDescription: 'test' } },
1328
- { match: { category: 'cat' } },
1329
- { bool: { should: [{ match: { name: 'someName' } }, { match: { name: 'another' } }] } }
1330
- ]
1331
- }
1332
- }
1333
- ],
1334
- filter: {
1335
- bool: {
1336
- should: [{ match: { docType: 'published_page' } }],
1337
- minimum_should_match: 1,
1338
- must: []
1339
- }
1340
- },
1341
- must_not: [{ ids: { values: ['itemId'] } }]
1342
- }
1343
- };
1344
-
1345
- const RAW_QUERY_ALL_SEARCH_VALUE_SAME_OPERATOR = {
1346
- bool: {
1347
- must: [
1348
- {
1349
- bool: {
1350
- must: [
1351
- { match: { name: 'search' } },
1352
- { match: { metaTitle: 'search' } },
1353
- { match: { metaDescription: 'test' } },
1354
- { match: { category: 'cat' } }
1355
- ]
1356
- }
1357
- }
1358
- ],
1359
- should: EXAMPLE_SHOULD_TEXT,
1360
- filter: {
1361
- bool: {
1362
- should: [{ match: { docType: 'published_page' } }],
1363
- minimum_should_match: 1,
1364
- must: []
1365
- }
1366
- },
1367
- must_not: [{ ids: { values: ['itemId'] } }]
1368
- }
1369
- };
1370
-
1371
- const RAW_QUERY_ALL_SEARCH_VALUE_DIFFERENT_OPERATOR = {
1372
- bool: {
1373
- must: [
1374
- {
1375
- bool: {
1376
- must: [
1377
- { match: { metaDescription: 'test' } },
1378
- { match: { category: 'cat' } },
1379
- {
1380
- bool: {
1381
- should: [
1382
- { match: { name: 'search' } },
1383
- { match: { metaTitle: 'search' } },
1384
- ...EXAMPLE_SHOULD_TEXT
1385
- ]
1386
- }
1387
- }
1388
- ]
1389
- }
1390
- }
1391
- ],
1392
- should: EXAMPLE_SHOULD_TEXT,
1393
- filter: {
1394
- bool: {
1395
- should: [{ match: { docType: 'published_page' } }],
1396
- minimum_should_match: 1,
1397
- must: []
1398
- }
1399
- },
1400
- must_not: [{ ids: { values: ['itemId'] } }]
1401
- }
1402
- };
1403
-
1404
- const RAW_QUERY_ALL_SEARCH_VALUE_SAME_OPERATOR_TEXT_CHECKBOX_HAS_OR_OPERATOR = {
1405
- bool: {
1406
- must: [
1407
- {
1408
- bool: {
1409
- must: [
1410
- { match: { name: 'search' } },
1411
- { match: { metaTitle: 'search' } },
1412
- { match: { metaDescription: 'test' } },
1413
- { match: { category: 'cat' } },
1414
- { bool: { should: [{ match: { name: 'someName' } }, { match: { name: 'another' } }] } }
1415
- ]
1416
- }
1417
- }
1418
- ],
1419
- should: EXAMPLE_SHOULD_TEXT,
1420
- filter: {
1421
- bool: {
1422
- should: [{ match: { docType: 'published_page' } }],
1423
- minimum_should_match: 1,
1424
- must: []
1425
- }
1426
- },
1427
- must_not: [{ ids: { values: ['itemId'] } }]
1428
- }
1429
- };
1430
-
1431
- const RAW_QUERY_ALL_SEARCH_VALUE_DIFFERENT_OPERATOR_TEXT_CHECKBOX_HAS_OR_OPERATOR = {
1432
- bool: {
1433
- must: [
1434
- {
1435
- bool: {
1436
- must: [
1437
- { match: { metaDescription: 'test' } },
1438
- { match: { category: 'cat' } },
1439
- {
1440
- bool: {
1441
- should: [
1442
- { match: { name: 'search' } },
1443
- { match: { metaTitle: 'search' } },
1444
- { match: { name: 'someName' } },
1445
- { match: { name: 'another' } },
1446
- ...EXAMPLE_SHOULD_TEXT
1447
- ]
1448
- }
1449
- }
1450
- ]
1451
- }
1452
- }
1453
- ],
1454
- should: EXAMPLE_SHOULD_TEXT,
1455
- filter: {
1456
- bool: {
1457
- should: [{ match: { docType: 'published_page' } }],
1458
- minimum_should_match: 1,
1459
- must: []
1460
- }
1461
- },
1462
- must_not: [{ ids: { values: ['itemId'] } }]
1463
- }
1464
- };
1465
-
1466
- const RAW_QUERY_STRINGIFIED =
1467
- '{"aggs":{"tags.name":{"terms":{"field":"tags.name.keyword","size":500}},"category.name"' +
1468
- ':{"terms":{"field":"category.name.keyword","size":500}}},"size":0,"query":{"bool":{"filter":{"bool"' +
1469
- ':{"should":[{"match":{"docType":"published_page"}}],"minimum_should_match":1}}}}}';
1470
-
1471
- const RAW_QUERY_STRINGIFIED_WITH_RANGE =
1472
- '{"aggs":{"tags.name":{"terms":{"field":"tags.name.keyword","size":500}},"category.name":{"' +
1473
- 'terms":{"field":"category.name.keyword","size":500}},"price":{"stats":{"field":"price"}},"length":' +
1474
- '{"stats":{"field":"length"}}},"size":0,"query":{"bool":{"filter":{"bool":{"should":[{"match":' +
1475
- '{"docType":"published_page"}}],"minimum_should_match":1}}}}}';
1476
-
1477
- const RAW_QUERY_BASE_CHECKBOX_FILTERS = {
1478
- filter: {
1479
- bool: {
1480
- should: [{ match: { docType: 'published_page' } }],
1481
- minimum_should_match: 1,
1482
- must: [{ match: { featured: true } }, { match: { sponsored: true } }]
1483
- }
1484
- },
1485
- must_not: [{ ids: { values: ['itemId'] } }]
1486
- };
1487
-
1488
- const RAW_QUERY_CHECKBOX_FILTERS = {
1489
- bool: {
1490
- must: [
1491
- {
1492
- bool: {
1493
- must: [
1494
- {
1495
- bool: { should: [{ match: { name: 'search' } }, { match: { metaTitle: 'search' } }] }
1496
- }
1497
- ]
1498
- }
1499
- },
1500
- { regexp: { 'name.keyword': { value: 'x.*', case_insensitive: true } } }
1501
- ],
1502
- filter: {
1503
- bool: {
1504
- should: [{ match: { docType: 'published_page' } }],
1505
- minimum_should_match: 1,
1506
- must: [{ match: { featured: true } }, { match: { sponsored: true } }]
1507
- }
1508
- },
1509
- must_not: [{ ids: { values: ['itemId'] } }]
1510
- }
1511
- };
1512
-
1513
- const RAW_QUERY_BASE_ONE_CHECKBOX_FILTERS = {
1514
- filter: {
1515
- bool: {
1516
- should: [{ match: { docType: 'published_page' } }],
1517
- minimum_should_match: 1,
1518
- must: [{ match: { sponsored: true } }]
1519
- }
1520
- },
1521
- must_not: [{ ids: { values: ['itemId'] } }]
1522
- };
1523
-
1524
- const RAW_QUERY_ONE_CHECKBOX_FILTERS = {
1525
- bool: {
1526
- must: [
1527
- {
1528
- bool: {
1529
- must: [
1530
- {
1531
- bool: { should: [{ match: { name: 'search' } }, { match: { metaTitle: 'search' } }] }
1532
- }
1533
- ]
1534
- }
1535
- }
1536
- ],
1537
- filter: {
1538
- bool: {
1539
- should: [{ match: { docType: 'published_page' } }],
1540
- minimum_should_match: 1,
1541
- must: [{ match: { sponsored: true } }]
1542
- }
1543
- },
1544
- must_not: [{ ids: { values: ['itemId'] } }]
1545
- }
1546
- };
1547
-
1548
- const RAW_QUERY_BASE_ONE_CHECKBOX_FILTERS_AND_OTHER_FILTERS = {
1549
- filter: {
1550
- bool: {
1551
- should: [{ match: { docType: 'published_page' } }],
1552
- minimum_should_match: 1,
1553
- must: [
1554
- { match: { sponsored: true } },
1555
- {
1556
- bool: {
1557
- should: [
1558
- { match: { 'name.keyword': 'entity-name' } },
1559
- { match: { 'name.keyword': 'another name' } }
1560
- ]
1561
- }
1562
- },
1563
- { bool: { should: [{ match: { 'category.name.keyword': 'another category' } }] } }
1564
- ]
1565
- }
1566
- },
1567
- must_not: [{ ids: { values: ['itemId'] } }]
1568
- };
1569
-
1570
- const RAW_QUERY_BASE_ONE_CHECKBOX_FILTERS_AND_OTHER_FILTERS_OR_OPERATOR = {
1571
- filter: {
1572
- bool: {
1573
- should: [{ match: { docType: 'published_page' } }],
1574
- minimum_should_match: 1,
1575
- must: [
1576
- { match: { sponsored: true } },
1577
- {
1578
- bool: {
1579
- should: [
1580
- { bool: { should: [{ match: { price: '10' } }, { match: { price: '332' } }] } },
1581
- { bool: { should: [{ match: { 'authors.lastname.keyword': 'last name' } }] } }
1582
- ]
1583
- }
1584
- }
1585
- ]
1586
- }
1587
- },
1588
- must_not: [{ ids: { values: ['itemId'] } }]
1589
- };
1590
-
1591
- const RAW_QUERY_BASE_ONE_CHECKBOX_FILTERS_AND_OTHER_FILTERS_OR_OPERATOR_ITEMS_TO_DISPLAY = {
1592
- filter: {
1593
- bool: {
1594
- must: [
1595
- {
1596
- term: {
1597
- docType: 'published_page'
1598
- }
1599
- },
1600
- {
1601
- ids: {
1602
- values: ITEMS_TO_DISPLAY
1603
- }
1604
- },
1605
- { match: { sponsored: true } },
1606
- {
1607
- bool: {
1608
- should: [
1609
- {
1610
- bool: {
1611
- should: [
1612
- { match: { 'tagIds.keyword': 'id1' } },
1613
- { match: { 'tagIds.keyword': 'id2' } }
1614
- ]
1615
- }
1616
- },
1617
- {
1618
- bool: {
1619
- should: [{ match: { 'categoryId.keyword': 'catId' } }]
1620
- }
1621
- }
1622
- ]
1623
- }
1624
- }
1625
- ]
1626
- }
1627
- },
1628
- must_not: [
1629
- {
1630
- ids: {
1631
- values: ['itemId']
1632
- }
1633
- }
1634
- ]
1635
- };
1636
-
1637
- const RAW_QUERY_ONE_CHECKBOX_FILTERS_AND_OTHER_FILTERS = {
1638
- bool: {
1639
- must: [
1640
- {
1641
- bool: {
1642
- must: [
1643
- {
1644
- bool: { should: [{ match: { name: 'search' } }, { match: { metaTitle: 'search' } }] }
1645
- }
1646
- ]
1647
- }
1648
- }
1649
- ],
1650
- filter: {
1651
- bool: {
1652
- should: [{ match: { docType: 'published_page' } }],
1653
- minimum_should_match: 1,
1654
- must: [
1655
- { match: { sponsored: true } },
1656
- {
1657
- bool: {
1658
- should: [
1659
- { match: { 'name.keyword': 'entity-name' } },
1660
- { match: { 'name.keyword': 'another name' } }
1661
- ]
1662
- }
1663
- },
1664
- { bool: { should: [{ match: { 'category.name.keyword': 'another category' } }] } }
1665
- ]
1666
- }
1667
- },
1668
- must_not: [{ ids: { values: ['itemId'] } }]
1669
- }
1670
- };
1671
-
1672
- const RAW_QUERY_ITEMS_TO_DISPLAY = {
1673
- bool: {
1674
- must: [
1675
- {
1676
- bool: {
1677
- must: [
1678
- {
1679
- bool: { should: [{ match: { name: 'search' } }, { match: { metaTitle: 'search' } }] }
1680
- }
1681
- ]
1682
- }
1683
- },
1684
- {
1685
- ids: {
1686
- values: [
1687
- 'd6a79240-3c5e-11ea-84c3-99e89d013812',
1688
- 'fae0a8d0-35ed-11ea-9ef3-a10a62235b17',
1689
- '0c9dfaf0-35ee-11ea-9ef3-a10a62235b17'
1690
- ]
1691
- }
1692
- }
1693
- ],
1694
- filter: {
1695
- bool: {
1696
- should: [{ match: { docType: 'published_page' } }],
1697
- minimum_should_match: 1,
1698
- must: [
1699
- { match: { sponsored: true } },
1700
- {
1701
- bool: {
1702
- should: [
1703
- { match: { 'image.name.keyword': 'img1' } },
1704
- { match: { 'image.name.keyword': 'img3' } }
1705
- ]
1706
- }
1707
- },
1708
- { bool: { should: [{ match: { 'category.name.keyword': 'general-category' } }] } },
1709
- { bool: { should: [{ match: { length: '10' } }] } }
1710
- ]
1711
- }
1712
- },
1713
- must_not: [{ ids: { values: ['itemId'] } }]
1714
- }
1715
- };
1716
-
1717
- const RAW_QUERY_OR_OPERATOR_ITEMS_TO_DISPLAY = {
1718
- bool: {
1719
- must: [
1720
- {
1721
- bool: {
1722
- must: [
1723
- {
1724
- bool: { should: [{ match: { name: 'search' } }, { match: { metaTitle: 'search' } }] }
1725
- }
1726
- ]
1727
- }
1728
- },
1729
- {
1730
- ids: {
1731
- values: [
1732
- 'd6a79240-3c5e-11ea-84c3-99e89d013812',
1733
- 'fae0a8d0-35ed-11ea-9ef3-a10a62235b17',
1734
- '0c9dfaf0-35ee-11ea-9ef3-a10a62235b17'
1735
- ]
1736
- }
1737
- }
1738
- ],
1739
- filter: {
1740
- bool: {
1741
- should: [{ match: { docType: 'published_page' } }],
1742
- minimum_should_match: 1,
1743
- must: [
1744
- { match: { sponsored: true } },
1745
- {
1746
- bool: {
1747
- should: [
1748
- {
1749
- bool: {
1750
- should: [
1751
- { match: { 'metaTitle.keyword': 'meta' } },
1752
- { match: { 'metaTitle.keyword': 'more-meta' } }
1753
- ]
1754
- }
1755
- },
1756
- { bool: { should: [{ match: { 'slug.keyword': 'slug-link' } }] } }
1757
- ]
1758
- }
1759
- }
1760
- ]
1761
- }
1762
- },
1763
- must_not: [{ ids: { values: ['itemId'] } }]
1764
- }
1765
- };
1766
-
1767
- const RAW_QUERY_FINAL_VALUES_WITH_AND_UPDATED = {
1768
- filter: {
1769
- bool: {
1770
- should: [{ match: { docType: 'published_page' } }],
1771
- minimum_should_match: 1,
1772
- must: [
1773
- { match: { sponsored: true } },
1774
- { bool: { should: [{ match: { tagIds: 'id1' } }, { match: { tagIds: 'id2' } }] } },
1775
- { bool: { should: [{ match: { categoryId: 'catId' } }] } }
1776
- ]
1777
- }
1778
- },
1779
- must_not: [{ ids: { values: ['itemId'] } }]
1780
- };
1781
-
1782
- const FILTER_VALUES = { checkboxFilters: [], listFilterValues: {} };
1783
-
1784
- const UPDATED_RANGES_EMPTY = [];
1785
-
1786
- const UPDATED_RANGES = ['length'];
1787
-
1788
- const UPDATED_RANGES_OTHER_VALUE = ['price'];
1789
-
1790
- const MOCKED_SORT_DATA = [
1791
- {
1792
- name: '2019 DELTA 88 CARBON',
1793
- url: '/yachts-for-sale/delta-884--92649',
1794
- category: {
1795
- name: 'Motor Yacht',
1796
- listingPageId: null,
1797
- listingPageEntity: null,
1798
- publishedListingPage: null
1799
- },
1800
- image: null,
1801
- __typename: 'PublishedYachtForSale',
1802
- id: '26bb0670-36d0-11ea-9776-070aacc2c6c7'
1803
- },
1804
- {
1805
- name: '116 Yacht',
1806
- url: '/yachts-for-sale/116--101455',
1807
- category: {
1808
- name: 'Motor Yacht',
1809
- listingPageId: null,
1810
- listingPageEntity: null,
1811
- publishedListingPage: null
1812
- },
1813
- image: null,
1814
- __typename: 'PublishedYachtForSale',
1815
- id: 'f4acffd0-36cf-11ea-9776-070aacc2c6c7'
1816
- }
1817
- ];
1818
-
1819
- const MOCKED_SORT_IDS = [
1820
- {
1821
- displayItems: ['f4acffd0-36cf-11ea-9776-070aacc2c6c7'],
1822
- id: '0ee457c0-4992-11ea-93e2-61ad2b3cadd0',
1823
- items: null
1824
- },
1825
- {
1826
- displayItems: ['26bb0670-36d0-11ea-9776-070aacc2c6c7'],
1827
- id: '2f31b0e0-4992-11ea-93e2-61ad2b3cadd0',
1828
- items: null
1829
- }
1830
- ];
1831
-
1832
- const MOCKED_SORT_RESULTS = [
1833
- [
1834
- {
1835
- name: '116 Yacht',
1836
- url: '/yachts-for-sale/116--101455',
1837
- category: {
1838
- name: 'Motor Yacht',
1839
- listingPageId: null,
1840
- listingPageEntity: null,
1841
- publishedListingPage: null
1842
- },
1843
- image: null,
1844
- __typename: 'PublishedYachtForSale',
1845
- id: 'f4acffd0-36cf-11ea-9776-070aacc2c6c7'
1846
- },
1847
- {
1848
- name: '2019 DELTA 88 CARBON',
1849
- url: '/yachts-for-sale/delta-884--92649',
1850
- category: {
1851
- name: 'Motor Yacht',
1852
- listingPageId: null,
1853
- listingPageEntity: null,
1854
- publishedListingPage: null
1855
- },
1856
- image: null,
1857
- __typename: 'PublishedYachtForSale',
1858
- id: '26bb0670-36d0-11ea-9776-070aacc2c6c7'
1859
- }
1860
- ]
1861
- ];
1862
-
1863
- const RAW_QUERY_ONE_CHECKBOX_FILTERS_AND_OTHER_FILTERS_OR_OPERATOR = {
1864
- bool: {
1865
- must: [
1866
- {
1867
- bool: {
1868
- must: [
1869
- {
1870
- bool: { should: [{ match: { name: 'search' } }, { match: { metaTitle: 'search' } }] }
1871
- }
1872
- ]
1873
- }
1874
- }
1875
- ],
1876
- filter: {
1877
- bool: {
1878
- should: [{ match: { docType: 'published_page' } }],
1879
- minimum_should_match: 1,
1880
- must: [
1881
- { match: { featured: true } },
1882
- {
1883
- bool: {
1884
- should: [
1885
- {
1886
- bool: {
1887
- should: [
1888
- { match: { 'authors.firstname.keyword': 'John' } },
1889
- { match: { 'authors.firstname.keyword': 'Paul' } }
1890
- ]
1891
- }
1892
- },
1893
- { bool: { should: [{ match: { price: '33' } }] } }
1894
- ]
1895
- }
1896
- }
1897
- ]
1898
- }
1899
- },
1900
- must_not: [{ ids: { values: ['itemId'] } }]
1901
- }
1902
- };
1903
-
1904
- const RAW_QUERY_WITH_ITEMS_TO_DISPLAY = {
1905
- filter: {
1906
- bool: {
1907
- should: [{ match: { docType: 'published_page' } }],
1908
- minimum_should_match: 1,
1909
- must: [
1910
- { ids: { values: ['displayItem1', 'displayItem2'] } },
1911
- { match: { sponsored: true } },
1912
- {
1913
- bool: {
1914
- should: [
1915
- { bool: { should: [{ match: { tagIds: 'id1' } }, { match: { tagIds: 'id2' } }] } },
1916
- { bool: { should: [{ match: { 'categoryId.keyword': 'catId' } }] } }
1917
- ]
1918
- }
1919
- }
1920
- ]
1921
- }
1922
- },
1923
- must_not: [{ ids: { values: ['itemId'] } }]
1924
- };
1925
-
1926
- const RAW_QUERY_WITH_QUERY_FILTERS = {
1927
- should: [{ bool: { should: [{ match: { tagIds: 'id1' } }, { match: { tagIds: 'id2' } }] } }],
1928
- minimum_should_match: 1,
1929
- filter: {
1930
- bool: {
1931
- should: [{ match: { docType: 'published_page' } }],
1932
- minimum_should_match: 1,
1933
- must: [{ match: { sponsored: true } }]
1934
- }
1935
- },
1936
- must_not: [{ ids: { values: ['itemId'] } }]
1937
- };
1938
-
1939
- const RAW_QUERY_EMPTY_FILTERS_VALUE = {
1940
- filter: {
1941
- bool: { should: [{ match: { docType: 'published_page' } }], minimum_should_match: 1, must: [] }
1942
- },
1943
- must_not: [{ ids: { values: ['itemId'] } }]
1944
- };
1945
-
1946
- const RAW_QUERY_WITH_SHOULD_APPLY_SORT = {
1947
- query: {
1948
- bool: {
1949
- must: [
1950
- {
1951
- bool: {
1952
- must: [
1953
- {
1954
- bool: {
1955
- should: [{ match: { name: 'search' } }, { match: { metaTitle: 'search' } }]
1956
- }
1957
- }
1958
- ]
1959
- }
1960
- },
1961
- {
1962
- ids: {
1963
- values: [
1964
- 'd6a79240-3c5e-11ea-84c3-99e89d013812',
1965
- 'fae0a8d0-35ed-11ea-9ef3-a10a62235b17',
1966
- '0c9dfaf0-35ee-11ea-9ef3-a10a62235b17'
1967
- ]
1968
- }
1969
- }
1970
- ],
1971
- filter: {
1972
- bool: {
1973
- should: [{ match: { docType: 'published_page' } }],
1974
- minimum_should_match: 1,
1975
- must: [
1976
- { match: { sponsored: true } },
1977
- {
1978
- bool: {
1979
- should: [
1980
- { match: { 'url.keyword': '/url' } },
1981
- { match: { 'url.keyword': '/alternative-url' } }
1982
- ]
1983
- }
1984
- },
1985
- { bool: { should: [{ match: { date: '29-03-2020' } }] } }
1986
- ]
1987
- }
1988
- },
1989
- must_not: [{ ids: { values: ['itemId'] } }]
1990
- }
1991
- },
1992
- sort: [
1993
- {
1994
- _script: {
1995
- type: 'number',
1996
- script: {
1997
- lang: 'painless',
1998
- source:
1999
- "!doc['id.keyword'].empty ? params.sortOrder.indexOf(doc['id.keyword'].value) : 0",
2000
- params: {
2001
- sortOrder: [
2002
- 'd6a79240-3c5e-11ea-84c3-99e89d013812',
2003
- 'fae0a8d0-35ed-11ea-9ef3-a10a62235b17',
2004
- '0c9dfaf0-35ee-11ea-9ef3-a10a62235b17'
2005
- ]
2006
- }
2007
- },
2008
- order: 'asc'
2009
- }
2010
- }
2011
- ]
2012
- };
2013
-
2014
- const RAW_QUERY_WITH_AGGS = {
2015
- query: {
2016
- bool: {
2017
- must: [
2018
- {
2019
- bool: {
2020
- must: [
2021
- {
2022
- bool: {
2023
- should: [{ match: { name: 'search' } }, { match: { metaTitle: 'search' } }]
2024
- }
2025
- }
2026
- ]
2027
- }
2028
- }
2029
- ],
2030
- filter: {
2031
- bool: {
2032
- should: [{ match: { docType: 'published_page' } }],
2033
- minimum_should_match: 1,
2034
- must: []
2035
- }
2036
- },
2037
- must_not: [{ ids: { values: ['itemId'] } }]
2038
- }
2039
- },
2040
- aggs: {
2041
- azCount: {
2042
- terms: { script: "doc['name.keyword'].getValue().substring(0,1).toUpperCase()", size: 500 }
2043
- }
2044
- },
2045
- sort: [{ 'name.keyword': 'asc' }]
2046
- };
2047
-
2048
- const MOCKED_GTM_CHILD_COMPONENTS = [
2049
- {
2050
- props: {
2051
- children: [
2052
- false,
2053
- [
2054
- { props: { component: { type: 'not-gtm' } } },
2055
- { props: { component: { type: 'gtm', settings: { gtmClassName: GTM_CLASSNAME } } } },
2056
- { props: { component: { type: 'other', settings: { gtmClassName: GTM_CLASSNAME } } } },
2057
- { props: { component: { type: 'other3' } } }
2058
- ]
2059
- ]
2060
- }
2061
- },
2062
- {
2063
- props: {
2064
- children: [
2065
- false,
2066
- [
2067
- { props: { component: { type: 'not-gtm' } } },
2068
- { props: { component: { type: 'other2', settings: { gtmClassName: GTM_CLASSNAME } } } },
2069
- { props: { component: { type: 'other3' } } }
2070
- ]
2071
- ]
2072
- }
2073
- },
2074
- {
2075
- props: {
2076
- children: [
2077
- false,
2078
- [
2079
- { props: { component: { type: 'not-gtm' } } },
2080
- { props: { component: { type: 'gtm', settings: {} } } }
2081
- ]
2082
- ]
2083
- }
2084
- }
2085
- ];
2086
-
2087
- const MOCKED_INFINITE_SCROLL_PROPS = {
2088
- router: {
2089
- pathname: '/Resolver',
2090
- route: '/Resolver',
2091
- query: {},
2092
- asPath: '/new-build',
2093
- isFallback: false,
2094
- basePath: '',
2095
- events: {}
2096
- },
2097
- entity: 'exhibitor',
2098
- propsToDisplay: [
2099
- {
2100
- propertiesToDisplay: ['category.name'],
2101
- label: '',
2102
- prefix: '',
2103
- suffix: '',
2104
- bold: false
2105
- }
2106
- ],
2107
- entityFields:
2108
- 'id,name,url,category{name,listingPageId,listingPageEntity, publishedListingPage{url}},image{url,data}',
2109
- style: 'landscape',
2110
- gridModifier: 'grid--one',
2111
- type: 'cards',
2112
- name: 'list-exhibitors',
2113
- parent: {
2114
- itemId: '8f717220-83d9-11ea-967c-97ffdeb65ced',
2115
- itemEntity: 'published_page',
2116
- category: null,
2117
- tags: [
2118
- {
2119
- name: 'New Build'
2120
- },
2121
- {
2122
- name: 'Builder'
2123
- }
2124
- ],
2125
- getAction: 'getPublishedPage',
2126
- getAllAction: 'getPublishedPages'
2127
- },
2128
- searchFilter: {
2129
- type: 'searchfilter',
2130
- settings: {
2131
- name: SEARCH_FILTER_SEARCH_EXHIBITORS_STRING,
2132
- modifier: null,
2133
- elementTitle: null,
2134
- url: null,
2135
- entity: 'exhibitor',
2136
- filters: [
2137
- {
2138
- elementTitle: '',
2139
- propsToDisplay: ['name'],
2140
- label: 'Search for Exhibitors',
2141
- type: TEXT_SEARCH_STRING,
2142
- rangeInterval: 1
2143
- }
2144
- ],
2145
- gtmClassName: null
2146
- },
2147
- id: SEARCH_FILTER_SEARCH_EXHIBITORS_STRING,
2148
- name: SEARCH_FILTER_SEARCH_EXHIBITORS_STRING,
2149
- items: null
2150
- },
2151
- id: '8f717220-83d9-11ea-967c-97ffdeb65ced',
2152
- metaDescription: '',
2153
- canonicalUrl: null,
2154
- metaTitle: 'Virtual Boat Show - New Build',
2155
- open: false,
2156
- selectedImage: 0,
2157
- lightboxImages: [],
2158
- desktop: true,
2159
- tablet: true,
2160
- mobile: true,
2161
- gtmClassName: null,
2162
- modifier: 'vbs-list-compact',
2163
- elementTitle: null,
2164
- displayCount: false,
2165
- itemsPerPage: 0,
2166
- limit: 0,
2167
- offset: 0,
2168
- sortby: ['name'],
2169
- sort: 'ASC',
2170
- filterByFeatured: false,
2171
- filterBySponsored: false,
2172
- filterByProperty: ['tagIds/tag'],
2173
- filterBy: [],
2174
- operator: 'AND',
2175
- displayCategory: true,
2176
- itemsToDisplay: [],
2177
- children: []
2178
- };
2179
-
2180
- const MOCKED_GTM_CLASSNAME_SETTINGS = {
2181
- name: 'row-content specific main body',
2182
- modifier: null,
2183
- width: 'wide',
2184
- backgroundImage: null,
2185
- desktop: true,
2186
- tablet: true,
2187
- mobile: true
2188
- };
2189
-
2190
- const GET_ENTITY_DATA_QUERY = gql`
2191
- query getEntityData($id: String!) {
2192
- entityData: getBanner(id: $id) {
2193
- sizes {
2194
- width
2195
- height
2196
- viewports {
2197
- width
2198
- height
2199
- }
2200
- }
2201
- id
2202
- __typename
2203
- }
2204
- }
2205
- `;
2206
-
2207
- const GET_PUBLISHED_PAGE = gql`
2208
- query getEntityData($id: String!) {
2209
- entityData: getPublishedPage(id: $id) {
2210
- publishedPages {
2211
- imageId
2212
- __typename
2213
- }
2214
- id
2215
- __typename
2216
- }
2217
- }
2218
- `;
2219
-
2220
- const GET_PUBLISHED_PAGE_NO_IMAGE_RELATION = gql`
2221
- query getEntityData($id: String!) {
2222
- entityData: getPublishedPage(id: $id) {
2223
- id
2224
- id
2225
- __typename
2226
- }
2227
- }
2228
- `;
2229
-
2230
- const GET_PUBLISHED_PAGE_PREVIEW = gql`
2231
- query getEntityData($id: String!) {
2232
- entityData: getPage(id: $id) {
2233
- publishedPages {
2234
- imageId
2235
- __typename
2236
- }
2237
- id
2238
- __typename
2239
- }
2240
- }
2241
- `;
2242
-
2243
- const expectedId = '39c3c350-ff0d-11ea-81bc-6111e210dc3f';
2244
- const expectedImageId = 'e5b78190-3a43-11ea-bb47-d191b56a74b4';
2245
- const expectedIdFromRelation = 'e222e300-e211-11ea-bb57-75eb5a4f187b';
2246
-
2247
- const GET_IMAGE_ID_FROM_RELATION_MOCK = [
2248
- {
2249
- request: {
2250
- query: GET_ENTITY_DATA_QUERY,
2251
- variables: {
2252
- id: '48c792e0-6dd2-11ea-a7dc-bf7382a1aea1'
2253
- }
2254
- },
2255
- result: {
2256
- data: {
2257
- entityData: {
2258
- sizes: [
2259
- {
2260
- width: 300,
2261
- height: 250,
2262
- viewports: [
2263
- {
2264
- width: 300,
2265
- height: 250
2266
- }
2267
- ]
2268
- }
2269
- ],
2270
- id: '48c792e0-6dd2-11ea-a7dc-bf7382a1aea1',
2271
- __typename: 'Banner'
2272
- }
2273
- },
2274
- loading: true,
2275
- networkStatus: 1,
2276
- stale: false
2277
- }
2278
- },
2279
- {
2280
- request: {
2281
- query: GET_PUBLISHED_PAGE,
2282
- variables: {
2283
- id: expectedIdFromRelation
2284
- }
2285
- },
2286
- result: {
2287
- data: {
2288
- entityData: {
2289
- publishedPages: [
2290
- {
2291
- imageId: expectedImageId,
2292
- __typename: 'PublishedBroker'
2293
- }
2294
- ],
2295
- id: expectedId,
2296
- __typename: 'PublishedPage'
2297
- }
2298
- },
2299
- loading: false,
2300
- networkStatus: 7,
2301
- stale: false
2302
- }
2303
- },
2304
- {
2305
- request: {
2306
- query: GET_PUBLISHED_PAGE_NO_IMAGE_RELATION,
2307
- variables: {
2308
- id: expectedIdFromRelation
2309
- }
2310
- },
2311
- result: {
2312
- data: {
2313
- entityData: {
2314
- publishedPages: [
2315
- {
2316
- imageId: expectedImageId,
2317
- __typename: 'PublishedBroker'
2318
- }
2319
- ],
2320
- id: expectedId,
2321
- __typename: 'PublishedPage'
2322
- }
2323
- }
2324
- }
2325
- },
2326
- {
2327
- request: {
2328
- query: GET_PUBLISHED_PAGE_NO_IMAGE_RELATION,
2329
- variables: {
2330
- id: expectedIdFromRelation
2331
- }
2332
- },
2333
- result: {
2334
- data: {
2335
- entityData: {
2336
- publishedPages: [
2337
- {
2338
- imageId: expectedImageId,
2339
- __typename: 'PublishedBroker'
2340
- }
2341
- ],
2342
- id: expectedId,
2343
- __typename: 'PublishedPage'
2344
- }
2345
- }
2346
- }
2347
- },
2348
- {
2349
- request: {
2350
- query: GET_PUBLISHED_PAGE_NO_IMAGE_RELATION,
2351
- variables: {
2352
- id: expectedIdFromRelation
2353
- }
2354
- },
2355
- result: {
2356
- data: {
2357
- entityData: {
2358
- publishedPages: [
2359
- {
2360
- imageId: expectedImageId,
2361
- __typename: 'PublishedBroker'
2362
- }
2363
- ],
2364
- id: expectedId,
2365
- __typename: 'PublishedPage'
2366
- }
2367
- }
2368
- }
2369
- },
2370
- {
2371
- request: {
2372
- query: GET_PUBLISHED_PAGE_PREVIEW,
2373
- variables: {
2374
- id: expectedIdFromRelation
2375
- }
2376
- },
2377
- result: {
2378
- data: {
2379
- entityData: {
2380
- publishedPages: [],
2381
- id: expectedId,
2382
- __typename: 'PublishedPage'
2383
- }
2384
- }
2385
- }
2386
- },
2387
- {
2388
- request: {
2389
- query: GET_PUBLISHED_PAGE_PREVIEW,
2390
- variables: {
2391
- id: expectedIdFromRelation
2392
- }
2393
- },
2394
- result: {
2395
- data: {
2396
- entityData: {
2397
- publishedPages: [],
2398
- id: expectedId,
2399
- __typename: 'PublishedPage'
2400
- }
2401
- }
2402
- }
2403
- },
2404
- {
2405
- request: {
2406
- query: GET_PUBLISHED_PAGE_PREVIEW,
2407
- variables: {
2408
- id: expectedIdFromRelation
2409
- }
2410
- },
2411
- result: {
2412
- data: {
2413
- entityData: {
2414
- publishedPages: [],
2415
- id: expectedId,
2416
- __typename: 'PublishedPage'
2417
- }
2418
- }
2419
- }
2420
- }
2421
- ];
2422
-
2423
- export {
2424
- PAGE_BUILDER_MOCK,
2425
- DATA_SUMMARY_MOCK,
2426
- CARD_RECORD,
2427
- CARD_RENDER_ENTITY_DATA_MOCK,
2428
- CARD_RENDER_EMPTY_ENTITY_DATA_MOCK,
2429
- CARD_RENDER_SEARCH_PUBLISHED_MOCK,
2430
- ENTITY_DATA_MOCK,
2431
- ENTITY_DATA_MOCK_ERROR,
2432
- BANNER_MOCK,
2433
- COUNT_MOCK,
2434
- MOCKED_ARGS,
2435
- SEARCH_VALUES_TEXT_EMPTY,
2436
- SEARCH_VALUES_CHECKBOX_SELECT,
2437
- AND_OPERATOR,
2438
- SEARCH_VALUES_TEXT,
2439
- SEARCH_PUBLISHED_MOCK,
2440
- MOCKED_PROPS_FILTERS_LIST,
2441
- MOCKED_PROPS_SEARCH_FILTER,
2442
- MOCKED_EVENT_CHECKBOX,
2443
- MOCKED_FILTERS_CHECKBOX,
2444
- MOCKED_EVENT_CHECKBOX_ARRAY,
2445
- MOCKED_EVENT_SELECT,
2446
- MOCKED_FILTERS_SELECT,
2447
- MOCKED_GTM_CHILD_COMPONENTS,
2448
- MOCKED_GTM_CLASSNAME_SETTINGS,
2449
- MOCKED_INFINITE_SCROLL_PROPS,
2450
- MOCKED_EVENT_SELECT_DEFAULT,
2451
- MOCKED_RANGE_FILTER,
2452
- MOCKED_ALL_FILTERS,
2453
- MOCKED_EVENT_TEXT,
2454
- MOCKED_FILTERS_TEXT,
2455
- MOCKED_ALL_FILTERS_INCLUDING_TEXT,
2456
- MOCKED_SORT_DATA,
2457
- MOCKED_SORT_IDS,
2458
- MOCKED_SORT_RESULTS,
2459
- MOCKED_SCHEMA_FOR_FILTERS,
2460
- RAW_QUERY_ONLY_TEXT_SEARCH,
2461
- RAW_QUERY_CHECKBOX_SELECT,
2462
- RAW_QUERY_CHECKBOX_SELECT_CHECKBOX_HAS_OR_OPERATOR,
2463
- RAW_QUERY_ALL_SEARCH_VALUE_SAME_OPERATOR,
2464
- RAW_QUERY_ALL_SEARCH_VALUE_DIFFERENT_OPERATOR,
2465
- RAW_QUERY_ALL_SEARCH_VALUE_SAME_OPERATOR_TEXT_CHECKBOX_HAS_OR_OPERATOR,
2466
- RAW_QUERY_ALL_SEARCH_VALUE_DIFFERENT_OPERATOR_TEXT_CHECKBOX_HAS_OR_OPERATOR,
2467
- RAW_QUERY_STRINGIFIED,
2468
- RAW_QUERY_STRINGIFIED_WITH_RANGE,
2469
- RAW_QUERY_CHECKBOX_FILTERS,
2470
- RAW_QUERY_ONE_CHECKBOX_FILTERS,
2471
- RAW_QUERY_ONE_CHECKBOX_FILTERS_AND_OTHER_FILTERS,
2472
- RAW_QUERY_BASE_CHECKBOX_FILTERS,
2473
- RAW_QUERY_BASE_ONE_CHECKBOX_FILTERS,
2474
- RAW_QUERY_BASE_ONE_CHECKBOX_FILTERS_AND_OTHER_FILTERS,
2475
- RAW_QUERY_ITEMS_TO_DISPLAY,
2476
- FILTER_VALUES,
2477
- UPDATED_RANGES_EMPTY,
2478
- UPDATED_RANGES,
2479
- UPDATED_RANGES_OTHER_VALUE,
2480
- RAW_QUERY_ONE_CHECKBOX_FILTERS_AND_OTHER_FILTERS_OR_OPERATOR,
2481
- RAW_QUERY_OR_OPERATOR_ITEMS_TO_DISPLAY,
2482
- RAW_QUERY_BASE_ONE_CHECKBOX_FILTERS_AND_OTHER_FILTERS_OR_OPERATOR,
2483
- RAW_QUERY_BASE_ONE_CHECKBOX_FILTERS_AND_OTHER_FILTERS_OR_OPERATOR_ITEMS_TO_DISPLAY,
2484
- RAW_QUERY_FINAL_VALUES_WITH_AND_UPDATED,
2485
- RAW_QUERY_WITH_ITEMS_TO_DISPLAY,
2486
- RAW_QUERY_EMPTY_FILTERS_VALUE,
2487
- RAW_QUERY_WITH_SHOULD_APPLY_SORT,
2488
- RAW_QUERY_WITH_AGGS,
2489
- DATA_SUMMARY_ERROR_MOCK,
2490
- RAW_QUERY_WITH_QUERY_FILTERS,
2491
- WITH_INFINITE_SCROLL_SEARCH_PUBLISHED_MOCK,
2492
- ENTITY_SCHEMA_AS_OBJECT,
2493
- GET_IMAGE_ID_FROM_RELATION_MOCK
2494
- };