@blaze-cms/react-page-builder 0.146.0-node18-core-styles.3 → 0.146.0-node18-core-styles-tooltips.1

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 (926) hide show
  1. package/CHANGELOG.md +13 -31
  2. package/README.md +0 -1
  3. package/example.env +0 -1
  4. package/lib/components/BackToTop/BackToTop.js +2 -2
  5. package/lib/components/BackToTop/BackToTop.js.map +1 -1
  6. package/lib/components/Card/CardsRender.js +10 -7
  7. package/lib/components/Card/CardsRender.js.map +1 -1
  8. package/lib/components/Image/GlobalLightbox/GlobalLightbox.js +2 -2
  9. package/lib/components/Image/GlobalLightbox/GlobalLightbox.js.map +1 -1
  10. package/lib/components/Image/GlobalLightbox/NavButton.js +2 -2
  11. package/lib/components/Image/GlobalLightbox/NavButton.js.map +1 -1
  12. package/lib/components/List/ListRender.js +29 -7
  13. package/lib/components/List/ListRender.js.map +1 -1
  14. package/lib/components/List/components/Full/FullRenderItem.js.map +1 -1
  15. package/lib/components/List/components/Pagination/Classic.js +9 -6
  16. package/lib/components/List/components/Pagination/Classic.js.map +1 -1
  17. package/lib/components/List/components/Pagination/ListPagination.js +7 -10
  18. package/lib/components/List/components/Pagination/ListPagination.js.map +1 -1
  19. package/lib/components/List/helpers/build-pagination-items.js +4 -3
  20. package/lib/components/List/helpers/build-pagination-items.js.map +1 -1
  21. package/lib/components/List/helpers/build-pagination-url.js +2 -2
  22. package/lib/components/List/helpers/build-pagination-url.js.map +1 -1
  23. package/lib/components/Loading/index.js +17 -3
  24. package/lib/components/Loading/index.js.map +1 -1
  25. package/lib/components/SearchFilter/SearchFilterContainer.js +6 -10
  26. package/lib/components/SearchFilter/SearchFilterContainer.js.map +1 -1
  27. package/lib/components/SearchFilter/helpers/build-url-query.js +10 -1
  28. package/lib/components/SearchFilter/helpers/build-url-query.js.map +1 -1
  29. package/lib/constants/index.js +2 -2
  30. package/lib/constants/index.js.map +1 -1
  31. package/lib/helpers/get-component-id.js +20 -0
  32. package/lib/helpers/get-component-id.js.map +1 -0
  33. package/lib/helpers/index.js +7 -0
  34. package/lib/helpers/index.js.map +1 -1
  35. package/lib/hooks/helpers/RenderComponent.js +11 -2
  36. package/lib/hooks/helpers/RenderComponent.js.map +1 -1
  37. package/lib/index.js +6 -0
  38. package/lib/index.js.map +1 -1
  39. package/lib/variants/LiveBlogList/LiveBlogList.js.map +1 -1
  40. package/lib/variants/LiveBlogList/index.js.map +1 -1
  41. package/package.json +11 -11
  42. package/src/components/BackToTop/BackToTop.js +5 -7
  43. package/src/components/Card/CardsRender.js +22 -17
  44. package/src/components/Image/GlobalLightbox/GlobalLightbox.js +69 -71
  45. package/src/components/Image/GlobalLightbox/NavButton.js +12 -15
  46. package/src/components/List/ListRender.js +56 -40
  47. package/src/components/List/components/Full/FullRenderItem.js +3 -4
  48. package/src/components/List/components/Pagination/Classic.js +26 -6
  49. package/src/components/List/components/Pagination/ListPagination.js +8 -12
  50. package/src/components/List/helpers/build-pagination-items.js +11 -3
  51. package/src/components/List/helpers/build-pagination-url.js +2 -2
  52. package/src/components/Loading/index.js +2 -2
  53. package/src/components/SearchFilter/SearchFilterContainer.js +12 -10
  54. package/src/components/SearchFilter/helpers/build-url-query.js +10 -1
  55. package/src/constants/index.js +4 -4
  56. package/src/helpers/get-component-id.js +9 -0
  57. package/src/helpers/index.js +1 -0
  58. package/src/hooks/helpers/RenderComponent.js +4 -0
  59. package/src/index.js +2 -1
  60. package/src/variants/LiveBlogList/LiveBlogList.js +30 -36
  61. package/src/variants/LiveBlogList/index.js +2 -2
  62. package/tests/unit/src/Layout/helpers/check-if-row-has-columns.test.js +6 -5
  63. package/tests/unit/src/components/Card/Card.test.js +1 -1
  64. package/tests/unit/src/components/List/__snapshots__/ListRender.test.js.snap +4 -2
  65. package/tests/unit/src/components/List/helpers/__snapshots__/build-pagination-items.test.js.snap +21 -21
  66. package/tests/unit/src/components/Loading/__snapshots__/Loading.test.js.snap +2 -14
  67. package/tests/unit/src/components/MenuItem/MenuItem.test.js +1 -1
  68. package/tests/unit/src/components/MenuItem/mocks.js +1 -1
  69. package/tests/unit/src/components/Modal/Modal.test.js +1 -1
  70. package/tests/unit/src/components/Modal/__snapshots__/Modal.test.js.snap +1 -1
  71. package/tests/unit/src/components/PlaceholderIcon/index.test.js +1 -1
  72. package/tests/unit/src/components/SearchFilter/SearchFilter/FiltersList.test.js +3 -0
  73. package/tests/unit/src/helpers/get-component-id.test.js +36 -0
  74. package/tests/unit/src/helpers/render-children.test.js +7 -5
  75. package/lib-es/BannerContext/helpers/index.js +0 -3
  76. package/lib-es/BannerContext/helpers/index.js.map +0 -1
  77. package/lib-es/BannerContext/helpers/set-initial-banner-counters.js +0 -17
  78. package/lib-es/BannerContext/helpers/set-initial-banner-counters.js.map +0 -1
  79. package/lib-es/BannerContext/index.js +0 -29
  80. package/lib-es/BannerContext/index.js.map +0 -1
  81. package/lib-es/HOC/index.js +0 -3
  82. package/lib-es/HOC/index.js.map +0 -1
  83. package/lib-es/HOC/recreateOnNavigation.js +0 -20
  84. package/lib-es/HOC/recreateOnNavigation.js.map +0 -1
  85. package/lib-es/HOC/withInfiniteScroll.js +0 -62
  86. package/lib-es/HOC/withInfiniteScroll.js.map +0 -1
  87. package/lib-es/HOC/withTitle.js +0 -36
  88. package/lib-es/HOC/withTitle.js.map +0 -1
  89. package/lib-es/PBContext/index.js +0 -6
  90. package/lib-es/PBContext/index.js.map +0 -1
  91. package/lib-es/application/query/index.js +0 -178
  92. package/lib-es/application/query/index.js.map +0 -1
  93. package/lib-es/components/BackToTop/BackToTop.js +0 -38
  94. package/lib-es/components/BackToTop/BackToTop.js.map +0 -1
  95. package/lib-es/components/BackToTop/index.js +0 -3
  96. package/lib-es/components/BackToTop/index.js.map +0 -1
  97. package/lib-es/components/Banner/AdSlotRender.js +0 -73
  98. package/lib-es/components/Banner/AdSlotRender.js.map +0 -1
  99. package/lib-es/components/Banner/Banner.js +0 -94
  100. package/lib-es/components/Banner/Banner.js.map +0 -1
  101. package/lib-es/components/Banner/BannerRender.js +0 -125
  102. package/lib-es/components/Banner/BannerRender.js.map +0 -1
  103. package/lib-es/components/Banner/helpers.js +0 -155
  104. package/lib-es/components/Banner/helpers.js.map +0 -1
  105. package/lib-es/components/Banner/index.js +0 -3
  106. package/lib-es/components/Banner/index.js.map +0 -1
  107. package/lib-es/components/BlazeLink.js +0 -68
  108. package/lib-es/components/BlazeLink.js.map +0 -1
  109. package/lib-es/components/Breadcrumb/Breadcrumb.js +0 -88
  110. package/lib-es/components/Breadcrumb/Breadcrumb.js.map +0 -1
  111. package/lib-es/components/Breadcrumb/index.js +0 -3
  112. package/lib-es/components/Breadcrumb/index.js.map +0 -1
  113. package/lib-es/components/Button.js +0 -129
  114. package/lib-es/components/Button.js.map +0 -1
  115. package/lib-es/components/Card/Card.js +0 -290
  116. package/lib-es/components/Card/Card.js.map +0 -1
  117. package/lib-es/components/Card/CardsContainer.js +0 -186
  118. package/lib-es/components/Card/CardsContainer.js.map +0 -1
  119. package/lib-es/components/Card/CardsFactory.js +0 -99
  120. package/lib-es/components/Card/CardsFactory.js.map +0 -1
  121. package/lib-es/components/Card/CardsRender.js +0 -193
  122. package/lib-es/components/Card/CardsRender.js.map +0 -1
  123. package/lib-es/components/Card/constants.js +0 -4
  124. package/lib-es/components/Card/constants.js.map +0 -1
  125. package/lib-es/components/Card/helpers/get-dynamic-grid-classes.js +0 -21
  126. package/lib-es/components/Card/helpers/get-dynamic-grid-classes.js.map +0 -1
  127. package/lib-es/components/Card/helpers/get-published-listing-url.js +0 -3
  128. package/lib-es/components/Card/helpers/get-published-listing-url.js.map +0 -1
  129. package/lib-es/components/Card/helpers/index.js +0 -10
  130. package/lib-es/components/Card/helpers/index.js.map +0 -1
  131. package/lib-es/components/Card/helpers/use-dynamic-size-key.js +0 -6
  132. package/lib-es/components/Card/helpers/use-dynamic-size-key.js.map +0 -1
  133. package/lib-es/components/Card/index.js +0 -3
  134. package/lib-es/components/Card/index.js.map +0 -1
  135. package/lib-es/components/Carousel/Carousel.js +0 -48
  136. package/lib-es/components/Carousel/Carousel.js.map +0 -1
  137. package/lib-es/components/Carousel/CarouselImage/CarouselImage.js +0 -58
  138. package/lib-es/components/Carousel/CarouselImage/CarouselImage.js.map +0 -1
  139. package/lib-es/components/Carousel/CarouselImage/constants.js +0 -2
  140. package/lib-es/components/Carousel/CarouselImage/constants.js.map +0 -1
  141. package/lib-es/components/Carousel/CarouselImage/index.js +0 -3
  142. package/lib-es/components/Carousel/CarouselImage/index.js.map +0 -1
  143. package/lib-es/components/Carousel/CarouselRender/CarouselRender.js +0 -74
  144. package/lib-es/components/Carousel/CarouselRender/CarouselRender.js.map +0 -1
  145. package/lib-es/components/Carousel/CarouselRender/index.js +0 -3
  146. package/lib-es/components/Carousel/CarouselRender/index.js.map +0 -1
  147. package/lib-es/components/Carousel/hooks/useCarouselNavigation.js +0 -49
  148. package/lib-es/components/Carousel/hooks/useCarouselNavigation.js.map +0 -1
  149. package/lib-es/components/Carousel/index.js +0 -3
  150. package/lib-es/components/Carousel/index.js.map +0 -1
  151. package/lib-es/components/CarouselWrapper/CarouselWrapper.js +0 -22
  152. package/lib-es/components/CarouselWrapper/CarouselWrapper.js.map +0 -1
  153. package/lib-es/components/CarouselWrapper/DefaultCarousel.js +0 -140
  154. package/lib-es/components/CarouselWrapper/DefaultCarousel.js.map +0 -1
  155. package/lib-es/components/CarouselWrapper/SmoothScrollCarousel.js +0 -43
  156. package/lib-es/components/CarouselWrapper/SmoothScrollCarousel.js.map +0 -1
  157. package/lib-es/components/CarouselWrapper/index.js +0 -3
  158. package/lib-es/components/CarouselWrapper/index.js.map +0 -1
  159. package/lib-es/components/ClickWrapper.js +0 -40
  160. package/lib-es/components/ClickWrapper.js.map +0 -1
  161. package/lib-es/components/Code/Code.js +0 -43
  162. package/lib-es/components/Code/Code.js.map +0 -1
  163. package/lib-es/components/Code/ScriptTag.js +0 -32
  164. package/lib-es/components/Code/ScriptTag.js.map +0 -1
  165. package/lib-es/components/Code/helpers/index.js +0 -2
  166. package/lib-es/components/Code/helpers/index.js.map +0 -1
  167. package/lib-es/components/Code/helpers/wrap-script-tags.js +0 -36
  168. package/lib-es/components/Code/helpers/wrap-script-tags.js.map +0 -1
  169. package/lib-es/components/Code/index.js +0 -3
  170. package/lib-es/components/Code/index.js.map +0 -1
  171. package/lib-es/components/ContentGroup/ContentGroup.js +0 -31
  172. package/lib-es/components/ContentGroup/ContentGroup.js.map +0 -1
  173. package/lib-es/components/ContentGroup/ContentGroupTabs.js +0 -81
  174. package/lib-es/components/ContentGroup/ContentGroupTabs.js.map +0 -1
  175. package/lib-es/components/ContentGroup/constants.js +0 -7
  176. package/lib-es/components/ContentGroup/constants.js.map +0 -1
  177. package/lib-es/components/ContentGroup/helpers/get-active-tab.js +0 -9
  178. package/lib-es/components/ContentGroup/helpers/get-active-tab.js.map +0 -1
  179. package/lib-es/components/ContentGroup/helpers/get-sections-data.js +0 -15
  180. package/lib-es/components/ContentGroup/helpers/get-sections-data.js.map +0 -1
  181. package/lib-es/components/ContentGroup/helpers/index.js +0 -4
  182. package/lib-es/components/ContentGroup/helpers/index.js.map +0 -1
  183. package/lib-es/components/ContentGroup/index.js +0 -3
  184. package/lib-es/components/ContentGroup/index.js.map +0 -1
  185. package/lib-es/components/ContentGroupSection/ContentGroupSection.js +0 -23
  186. package/lib-es/components/ContentGroupSection/ContentGroupSection.js.map +0 -1
  187. package/lib-es/components/ContentGroupSection/index.js +0 -3
  188. package/lib-es/components/ContentGroupSection/index.js.map +0 -1
  189. package/lib-es/components/DataSummary/DataSummaryFactory.js +0 -92
  190. package/lib-es/components/DataSummary/DataSummaryFactory.js.map +0 -1
  191. package/lib-es/components/DataSummary/DataSummaryRender.js +0 -92
  192. package/lib-es/components/DataSummary/DataSummaryRender.js.map +0 -1
  193. package/lib-es/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummary.js +0 -24
  194. package/lib-es/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummary.js.map +0 -1
  195. package/lib-es/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummaryContent.js +0 -24
  196. package/lib-es/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummaryContent.js.map +0 -1
  197. package/lib-es/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/index.js +0 -3
  198. package/lib-es/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/index.js.map +0 -1
  199. package/lib-es/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummary.js +0 -23
  200. package/lib-es/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummary.js.map +0 -1
  201. package/lib-es/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummaryContent.js +0 -28
  202. package/lib-es/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummaryContent.js.map +0 -1
  203. package/lib-es/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/index.js +0 -3
  204. package/lib-es/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/index.js.map +0 -1
  205. package/lib-es/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummary.js +0 -23
  206. package/lib-es/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummary.js.map +0 -1
  207. package/lib-es/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummaryContent.js +0 -35
  208. package/lib-es/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummaryContent.js.map +0 -1
  209. package/lib-es/components/DataSummary/DataSummaryTypes/LargeSummary/index.js +0 -3
  210. package/lib-es/components/DataSummary/DataSummaryTypes/LargeSummary/index.js.map +0 -1
  211. package/lib-es/components/DataSummary/DataSummaryTypes/ListSummary/ListSummary.js +0 -23
  212. package/lib-es/components/DataSummary/DataSummaryTypes/ListSummary/ListSummary.js.map +0 -1
  213. package/lib-es/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.js +0 -34
  214. package/lib-es/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.js.map +0 -1
  215. package/lib-es/components/DataSummary/DataSummaryTypes/ListSummary/index.js +0 -3
  216. package/lib-es/components/DataSummary/DataSummaryTypes/ListSummary/index.js.map +0 -1
  217. package/lib-es/components/DataSummary/DataSummaryTypes/TextSummary/TextSummary.js +0 -23
  218. package/lib-es/components/DataSummary/DataSummaryTypes/TextSummary/TextSummary.js.map +0 -1
  219. package/lib-es/components/DataSummary/DataSummaryTypes/TextSummary/TextSummaryContent.js +0 -29
  220. package/lib-es/components/DataSummary/DataSummaryTypes/TextSummary/TextSummaryContent.js.map +0 -1
  221. package/lib-es/components/DataSummary/DataSummaryTypes/TextSummary/index.js +0 -3
  222. package/lib-es/components/DataSummary/DataSummaryTypes/TextSummary/index.js.map +0 -1
  223. package/lib-es/components/DataSummary/DataSummaryTypes/index.js +0 -9
  224. package/lib-es/components/DataSummary/DataSummaryTypes/index.js.map +0 -1
  225. package/lib-es/components/DataSummary/helpers/build-loop-props-content.js +0 -61
  226. package/lib-es/components/DataSummary/helpers/build-loop-props-content.js.map +0 -1
  227. package/lib-es/components/DataSummary/helpers/build-props-to-display-with-content.js +0 -45
  228. package/lib-es/components/DataSummary/helpers/build-props-to-display-with-content.js.map +0 -1
  229. package/lib-es/components/DataSummary/helpers/get-data-summary-query.js +0 -19
  230. package/lib-es/components/DataSummary/helpers/get-data-summary-query.js.map +0 -1
  231. package/lib-es/components/DataSummary/helpers/get-link-based-on-value.js +0 -15
  232. package/lib-es/components/DataSummary/helpers/get-link-based-on-value.js.map +0 -1
  233. package/lib-es/components/DataSummary/helpers/get-link-props.js +0 -6
  234. package/lib-es/components/DataSummary/helpers/get-link-props.js.map +0 -1
  235. package/lib-es/components/DataSummary/helpers/get-link-to-published-content.js +0 -9
  236. package/lib-es/components/DataSummary/helpers/get-link-to-published-content.js.map +0 -1
  237. package/lib-es/components/DataSummary/helpers/get-loop-props-limit.js +0 -12
  238. package/lib-es/components/DataSummary/helpers/get-loop-props-limit.js.map +0 -1
  239. package/lib-es/components/DataSummary/helpers/get-prop-value.js +0 -20
  240. package/lib-es/components/DataSummary/helpers/get-prop-value.js.map +0 -1
  241. package/lib-es/components/DataSummary/helpers/get-value-from-array.js +0 -17
  242. package/lib-es/components/DataSummary/helpers/get-value-from-array.js.map +0 -1
  243. package/lib-es/components/DataSummary/helpers/index.js +0 -10
  244. package/lib-es/components/DataSummary/helpers/index.js.map +0 -1
  245. package/lib-es/components/DataSummary/helpers/parse-boolean-values.js +0 -7
  246. package/lib-es/components/DataSummary/helpers/parse-boolean-values.js.map +0 -1
  247. package/lib-es/components/DataSummary/helpers/strip-summary-props-content.js +0 -14
  248. package/lib-es/components/DataSummary/helpers/strip-summary-props-content.js.map +0 -1
  249. package/lib-es/components/DataSummary/index.js +0 -3
  250. package/lib-es/components/DataSummary/index.js.map +0 -1
  251. package/lib-es/components/DateTime/DateTime.js +0 -36
  252. package/lib-es/components/DateTime/DateTime.js.map +0 -1
  253. package/lib-es/components/DateTime/index.js +0 -3
  254. package/lib-es/components/DateTime/index.js.map +0 -1
  255. package/lib-es/components/EmailConfirm/EmailConfirm.js +0 -71
  256. package/lib-es/components/EmailConfirm/EmailConfirm.js.map +0 -1
  257. package/lib-es/components/EmailConfirm/index.js +0 -3
  258. package/lib-es/components/EmailConfirm/index.js.map +0 -1
  259. package/lib-es/components/EmailConfirm/mutation.js +0 -13
  260. package/lib-es/components/EmailConfirm/mutation.js.map +0 -1
  261. package/lib-es/components/ErrorMessage/ErrorMessage.js +0 -30
  262. package/lib-es/components/ErrorMessage/ErrorMessage.js.map +0 -1
  263. package/lib-es/components/ErrorMessage/index.js +0 -3
  264. package/lib-es/components/ErrorMessage/index.js.map +0 -1
  265. package/lib-es/components/Iframe/Iframe.js +0 -42
  266. package/lib-es/components/Iframe/Iframe.js.map +0 -1
  267. package/lib-es/components/Iframe/constants.js +0 -7
  268. package/lib-es/components/Iframe/constants.js.map +0 -1
  269. package/lib-es/components/Iframe/index.js +0 -3
  270. package/lib-es/components/Iframe/index.js.map +0 -1
  271. package/lib-es/components/Image/GlobalLightbox/GlobalLightbox.js +0 -161
  272. package/lib-es/components/Image/GlobalLightbox/GlobalLightbox.js.map +0 -1
  273. package/lib-es/components/Image/GlobalLightbox/NavButton.js +0 -24
  274. package/lib-es/components/Image/GlobalLightbox/NavButton.js.map +0 -1
  275. package/lib-es/components/Image/GlobalLightbox/index.js +0 -3
  276. package/lib-es/components/Image/GlobalLightbox/index.js.map +0 -1
  277. package/lib-es/components/Image/Image.js +0 -173
  278. package/lib-es/components/Image/Image.js.map +0 -1
  279. package/lib-es/components/Image/ImageDetails.js +0 -27
  280. package/lib-es/components/Image/ImageDetails.js.map +0 -1
  281. package/lib-es/components/Image/ImageFactory.js +0 -86
  282. package/lib-es/components/Image/ImageFactory.js.map +0 -1
  283. package/lib-es/components/Image/ImageRender.js +0 -86
  284. package/lib-es/components/Image/ImageRender.js.map +0 -1
  285. package/lib-es/components/Image/Lightbox/Lightbox.js +0 -63
  286. package/lib-es/components/Image/Lightbox/Lightbox.js.map +0 -1
  287. package/lib-es/components/Image/Lightbox/index.js +0 -3
  288. package/lib-es/components/Image/Lightbox/index.js.map +0 -1
  289. package/lib-es/components/Image/index.js +0 -3
  290. package/lib-es/components/Image/index.js.map +0 -1
  291. package/lib-es/components/ItemList/ItemListButton/ItemListButton.js +0 -107
  292. package/lib-es/components/ItemList/ItemListButton/ItemListButton.js.map +0 -1
  293. package/lib-es/components/ItemList/ItemListButton/index.js +0 -3
  294. package/lib-es/components/ItemList/ItemListButton/index.js.map +0 -1
  295. package/lib-es/components/ItemList/ItemListCounter/ItemListCounter.js +0 -57
  296. package/lib-es/components/ItemList/ItemListCounter/ItemListCounter.js.map +0 -1
  297. package/lib-es/components/ItemList/ItemListCounter/index.js +0 -3
  298. package/lib-es/components/ItemList/ItemListCounter/index.js.map +0 -1
  299. package/lib-es/components/ItemList/ItemListNew/ItemListNew.js +0 -60
  300. package/lib-es/components/ItemList/ItemListNew/ItemListNew.js.map +0 -1
  301. package/lib-es/components/ItemList/ItemListNew/index.js +0 -3
  302. package/lib-es/components/ItemList/ItemListNew/index.js.map +0 -1
  303. package/lib-es/components/ItemList/constants.js +0 -6
  304. package/lib-es/components/ItemList/constants.js.map +0 -1
  305. package/lib-es/components/ItemList/helpers/get-item-list-data.js +0 -6
  306. package/lib-es/components/ItemList/helpers/get-item-list-data.js.map +0 -1
  307. package/lib-es/components/ItemList/helpers/get-item-list-id.js +0 -9
  308. package/lib-es/components/ItemList/helpers/get-item-list-id.js.map +0 -1
  309. package/lib-es/components/ItemList/helpers/get-item-list-ids.js +0 -11
  310. package/lib-es/components/ItemList/helpers/get-item-list-ids.js.map +0 -1
  311. package/lib-es/components/ItemList/helpers/index.js +0 -6
  312. package/lib-es/components/ItemList/helpers/index.js.map +0 -1
  313. package/lib-es/components/ItemList/helpers/set-item-list-id.js +0 -8
  314. package/lib-es/components/ItemList/helpers/set-item-list-id.js.map +0 -1
  315. package/lib-es/components/ItemList/helpers/set-param-and-redirect.js +0 -17
  316. package/lib-es/components/ItemList/helpers/set-param-and-redirect.js.map +0 -1
  317. package/lib-es/components/ItemList/hooks/index.js +0 -2
  318. package/lib-es/components/ItemList/hooks/index.js.map +0 -1
  319. package/lib-es/components/ItemList/hooks/use-item-list-id.js +0 -23
  320. package/lib-es/components/ItemList/hooks/use-item-list-id.js.map +0 -1
  321. package/lib-es/components/ItemList/icons/AddedBookmark.js +0 -33
  322. package/lib-es/components/ItemList/icons/AddedBookmark.js.map +0 -1
  323. package/lib-es/components/ItemList/icons/BaseBookmark.js +0 -37
  324. package/lib-es/components/ItemList/icons/BaseBookmark.js.map +0 -1
  325. package/lib-es/components/ItemList/icons/HoverBookmark.js +0 -35
  326. package/lib-es/components/ItemList/icons/HoverBookmark.js.map +0 -1
  327. package/lib-es/components/ItemList/icons/RemoveBookmark.js +0 -33
  328. package/lib-es/components/ItemList/icons/RemoveBookmark.js.map +0 -1
  329. package/lib-es/components/ItemList/icons/index.js +0 -5
  330. package/lib-es/components/ItemList/icons/index.js.map +0 -1
  331. package/lib-es/components/Layout/Layout.js +0 -85
  332. package/lib-es/components/Layout/Layout.js.map +0 -1
  333. package/lib-es/components/Layout/LayoutFactory.js +0 -14
  334. package/lib-es/components/Layout/LayoutFactory.js.map +0 -1
  335. package/lib-es/components/Layout/LayoutWithStickyTimer.js +0 -42
  336. package/lib-es/components/Layout/LayoutWithStickyTimer.js.map +0 -1
  337. package/lib-es/components/Layout/constants.js +0 -6
  338. package/lib-es/components/Layout/constants.js.map +0 -1
  339. package/lib-es/components/Layout/helpers/check-if-row-has-columns.js +0 -19
  340. package/lib-es/components/Layout/helpers/check-if-row-has-columns.js.map +0 -1
  341. package/lib-es/components/Layout/helpers/get-styles-to-update.js +0 -10
  342. package/lib-es/components/Layout/helpers/get-styles-to-update.js.map +0 -1
  343. package/lib-es/components/Layout/helpers/index.js +0 -4
  344. package/lib-es/components/Layout/helpers/index.js.map +0 -1
  345. package/lib-es/components/Layout/index.js +0 -3
  346. package/lib-es/components/Layout/index.js.map +0 -1
  347. package/lib-es/components/LazyImage/LazyImage.js +0 -41
  348. package/lib-es/components/LazyImage/LazyImage.js.map +0 -1
  349. package/lib-es/components/LazyImage/index.js +0 -3
  350. package/lib-es/components/LazyImage/index.js.map +0 -1
  351. package/lib-es/components/List/ListBuilder.js +0 -206
  352. package/lib-es/components/List/ListBuilder.js.map +0 -1
  353. package/lib-es/components/List/ListFactory.js +0 -213
  354. package/lib-es/components/List/ListFactory.js.map +0 -1
  355. package/lib-es/components/List/ListRender.js +0 -121
  356. package/lib-es/components/List/ListRender.js.map +0 -1
  357. package/lib-es/components/List/components/Cards/CardRenderWithInfiniteScroll.js +0 -4
  358. package/lib-es/components/List/components/Cards/CardRenderWithInfiniteScroll.js.map +0 -1
  359. package/lib-es/components/List/components/Cards/CardsRender.js +0 -106
  360. package/lib-es/components/List/components/Cards/CardsRender.js.map +0 -1
  361. package/lib-es/components/List/components/Cards/CardsRenderItem.js +0 -121
  362. package/lib-es/components/List/components/Cards/CardsRenderItem.js.map +0 -1
  363. package/lib-es/components/List/components/Cards/CardsRenderWrapper.js +0 -59
  364. package/lib-es/components/List/components/Cards/CardsRenderWrapper.js.map +0 -1
  365. package/lib-es/components/List/components/Cards/index.js +0 -3
  366. package/lib-es/components/List/components/Cards/index.js.map +0 -1
  367. package/lib-es/components/List/components/Full/FullRender.js +0 -92
  368. package/lib-es/components/List/components/Full/FullRender.js.map +0 -1
  369. package/lib-es/components/List/components/Full/FullRenderItem.js +0 -95
  370. package/lib-es/components/List/components/Full/FullRenderItem.js.map +0 -1
  371. package/lib-es/components/List/components/Full/FullRenderWithInfiniteScroll.js +0 -4
  372. package/lib-es/components/List/components/Full/FullRenderWithInfiniteScroll.js.map +0 -1
  373. package/lib-es/components/List/components/Full/index.js +0 -3
  374. package/lib-es/components/List/components/Full/index.js.map +0 -1
  375. package/lib-es/components/List/components/Header/ListHeader.js +0 -64
  376. package/lib-es/components/List/components/Header/ListHeader.js.map +0 -1
  377. package/lib-es/components/List/components/Header/index.js +0 -3
  378. package/lib-es/components/List/components/Header/index.js.map +0 -1
  379. package/lib-es/components/List/components/Pagination/Classic.js +0 -52
  380. package/lib-es/components/List/components/Pagination/Classic.js.map +0 -1
  381. package/lib-es/components/List/components/Pagination/ListPagination.js +0 -66
  382. package/lib-es/components/List/components/Pagination/ListPagination.js.map +0 -1
  383. package/lib-es/components/List/components/Pagination/LoadMore.js +0 -37
  384. package/lib-es/components/List/components/Pagination/LoadMore.js.map +0 -1
  385. package/lib-es/components/List/components/Pagination/index.js +0 -3
  386. package/lib-es/components/List/components/Pagination/index.js.map +0 -1
  387. package/lib-es/components/List/components/helpers/check-if-should-render-banner.js +0 -42
  388. package/lib-es/components/List/components/helpers/check-if-should-render-banner.js.map +0 -1
  389. package/lib-es/components/List/components/helpers/check-if-should-render-gtm.js +0 -14
  390. package/lib-es/components/List/components/helpers/check-if-should-render-gtm.js.map +0 -1
  391. package/lib-es/components/List/components/helpers/index.js +0 -4
  392. package/lib-es/components/List/components/helpers/index.js.map +0 -1
  393. package/lib-es/components/List/components/index.js +0 -5
  394. package/lib-es/components/List/components/index.js.map +0 -1
  395. package/lib-es/components/List/constants.js +0 -10
  396. package/lib-es/components/List/constants.js.map +0 -1
  397. package/lib-es/components/List/helpers/build-az-aggregations.js +0 -25
  398. package/lib-es/components/List/helpers/build-az-aggregations.js.map +0 -1
  399. package/lib-es/components/List/helpers/build-az-url.js +0 -26
  400. package/lib-es/components/List/helpers/build-az-url.js.map +0 -1
  401. package/lib-es/components/List/helpers/build-pagination-items.js +0 -38
  402. package/lib-es/components/List/helpers/build-pagination-items.js.map +0 -1
  403. package/lib-es/components/List/helpers/build-pagination-url.js +0 -14
  404. package/lib-es/components/List/helpers/build-pagination-url.js.map +0 -1
  405. package/lib-es/components/List/helpers/build-query-booster.js +0 -41
  406. package/lib-es/components/List/helpers/build-query-booster.js.map +0 -1
  407. package/lib-es/components/List/helpers/get-az-query-filter.js +0 -7
  408. package/lib-es/components/List/helpers/get-az-query-filter.js.map +0 -1
  409. package/lib-es/components/List/helpers/get-items-per-page-to-use.js +0 -7
  410. package/lib-es/components/List/helpers/get-items-per-page-to-use.js.map +0 -1
  411. package/lib-es/components/List/helpers/get-list-component.js +0 -9
  412. package/lib-es/components/List/helpers/get-list-component.js.map +0 -1
  413. package/lib-es/components/List/helpers/get-list-query.js +0 -27
  414. package/lib-es/components/List/helpers/get-list-query.js.map +0 -1
  415. package/lib-es/components/List/helpers/get-list-specific-search-filter.js +0 -12
  416. package/lib-es/components/List/helpers/get-list-specific-search-filter.js.map +0 -1
  417. package/lib-es/components/List/helpers/get-sort-props.js +0 -32
  418. package/lib-es/components/List/helpers/get-sort-props.js.map +0 -1
  419. package/lib-es/components/List/helpers/has-required-item-list-details.js +0 -16
  420. package/lib-es/components/List/helpers/has-required-item-list-details.js.map +0 -1
  421. package/lib-es/components/List/helpers/index.js +0 -13
  422. package/lib-es/components/List/helpers/index.js.map +0 -1
  423. package/lib-es/components/List/helpers/sort-aggs.js +0 -22
  424. package/lib-es/components/List/helpers/sort-aggs.js.map +0 -1
  425. package/lib-es/components/List/helpers/strip-query-key.js +0 -6
  426. package/lib-es/components/List/helpers/strip-query-key.js.map +0 -1
  427. package/lib-es/components/List/index.js +0 -3
  428. package/lib-es/components/List/index.js.map +0 -1
  429. package/lib-es/components/Loading/Loading.js +0 -27
  430. package/lib-es/components/Loading/Loading.js.map +0 -1
  431. package/lib-es/components/Loading/constants.js +0 -5
  432. package/lib-es/components/Loading/constants.js.map +0 -1
  433. package/lib-es/components/Loading/helpers.js +0 -8
  434. package/lib-es/components/Loading/helpers.js.map +0 -1
  435. package/lib-es/components/Loading/index.js +0 -3
  436. package/lib-es/components/Loading/index.js.map +0 -1
  437. package/lib-es/components/Menu/Menu.js +0 -120
  438. package/lib-es/components/Menu/Menu.js.map +0 -1
  439. package/lib-es/components/Menu/MenuContext.js +0 -7
  440. package/lib-es/components/Menu/MenuContext.js.map +0 -1
  441. package/lib-es/components/Menu/index.js +0 -3
  442. package/lib-es/components/Menu/index.js.map +0 -1
  443. package/lib-es/components/MenuItem/MenuEntitiesItem.js +0 -178
  444. package/lib-es/components/MenuItem/MenuEntitiesItem.js.map +0 -1
  445. package/lib-es/components/MenuItem/MenuItem.js +0 -41
  446. package/lib-es/components/MenuItem/MenuItem.js.map +0 -1
  447. package/lib-es/components/MenuItem/MenuItemRender.js +0 -101
  448. package/lib-es/components/MenuItem/MenuItemRender.js.map +0 -1
  449. package/lib-es/components/MenuItem/helpers/has-active-child.js +0 -5
  450. package/lib-es/components/MenuItem/helpers/has-active-child.js.map +0 -1
  451. package/lib-es/components/MenuItem/helpers/index.js +0 -5
  452. package/lib-es/components/MenuItem/helpers/index.js.map +0 -1
  453. package/lib-es/components/MenuItem/helpers/inject-helper-into-template.js +0 -8
  454. package/lib-es/components/MenuItem/helpers/inject-helper-into-template.js.map +0 -1
  455. package/lib-es/components/MenuItem/helpers/isUrlPathMatch.js +0 -8
  456. package/lib-es/components/MenuItem/helpers/isUrlPathMatch.js.map +0 -1
  457. package/lib-es/components/MenuItem/index.js +0 -3
  458. package/lib-es/components/MenuItem/index.js.map +0 -1
  459. package/lib-es/components/Modal/Modal.js +0 -32
  460. package/lib-es/components/Modal/Modal.js.map +0 -1
  461. package/lib-es/components/Modal/index.js +0 -3
  462. package/lib-es/components/Modal/index.js.map +0 -1
  463. package/lib-es/components/ModalAdapter/ModalAdapter.js +0 -13
  464. package/lib-es/components/ModalAdapter/ModalAdapter.js.map +0 -1
  465. package/lib-es/components/ModalAdapter/index.js +0 -3
  466. package/lib-es/components/ModalAdapter/index.js.map +0 -1
  467. package/lib-es/components/SearchContent/SearchContent.js +0 -135
  468. package/lib-es/components/SearchContent/SearchContent.js.map +0 -1
  469. package/lib-es/components/SearchContent/SearchContentItems.js +0 -31
  470. package/lib-es/components/SearchContent/SearchContentItems.js.map +0 -1
  471. package/lib-es/components/SearchContent/SearchContentResults.js +0 -27
  472. package/lib-es/components/SearchContent/SearchContentResults.js.map +0 -1
  473. package/lib-es/components/SearchContent/SearchContentToggleIcon.js +0 -17
  474. package/lib-es/components/SearchContent/SearchContentToggleIcon.js.map +0 -1
  475. package/lib-es/components/SearchContent/constants.js +0 -4
  476. package/lib-es/components/SearchContent/constants.js.map +0 -1
  477. package/lib-es/components/SearchContent/index.js +0 -3
  478. package/lib-es/components/SearchContent/index.js.map +0 -1
  479. package/lib-es/components/SearchFilter/SearchFilter/CloseMobileForm.js +0 -18
  480. package/lib-es/components/SearchFilter/SearchFilter/CloseMobileForm.js.map +0 -1
  481. package/lib-es/components/SearchFilter/SearchFilter/FiltersList.js +0 -108
  482. package/lib-es/components/SearchFilter/SearchFilter/FiltersList.js.map +0 -1
  483. package/lib-es/components/SearchFilter/SearchFilter/MobileFormToolbar.js +0 -25
  484. package/lib-es/components/SearchFilter/SearchFilter/MobileFormToolbar.js.map +0 -1
  485. package/lib-es/components/SearchFilter/SearchFilter/ResetDesktopForm.js +0 -25
  486. package/lib-es/components/SearchFilter/SearchFilter/ResetDesktopForm.js.map +0 -1
  487. package/lib-es/components/SearchFilter/SearchFilter/SearchFilter.js +0 -204
  488. package/lib-es/components/SearchFilter/SearchFilter/SearchFilter.js.map +0 -1
  489. package/lib-es/components/SearchFilter/SearchFilter/index.js +0 -3
  490. package/lib-es/components/SearchFilter/SearchFilter/index.js.map +0 -1
  491. package/lib-es/components/SearchFilter/SearchFilterContainer.js +0 -227
  492. package/lib-es/components/SearchFilter/SearchFilterContainer.js.map +0 -1
  493. package/lib-es/components/SearchFilter/components/Checkbox.js +0 -102
  494. package/lib-es/components/SearchFilter/components/Checkbox.js.map +0 -1
  495. package/lib-es/components/SearchFilter/components/Range.js +0 -116
  496. package/lib-es/components/SearchFilter/components/Range.js.map +0 -1
  497. package/lib-es/components/SearchFilter/components/Select.js +0 -78
  498. package/lib-es/components/SearchFilter/components/Select.js.map +0 -1
  499. package/lib-es/components/SearchFilter/components/TextSearch.js +0 -52
  500. package/lib-es/components/SearchFilter/components/TextSearch.js.map +0 -1
  501. package/lib-es/components/SearchFilter/components/index.js +0 -6
  502. package/lib-es/components/SearchFilter/components/index.js.map +0 -1
  503. package/lib-es/components/SearchFilter/constants.js +0 -36
  504. package/lib-es/components/SearchFilter/constants.js.map +0 -1
  505. package/lib-es/components/SearchFilter/helpers/build-list-name-query.js +0 -15
  506. package/lib-es/components/SearchFilter/helpers/build-list-name-query.js.map +0 -1
  507. package/lib-es/components/SearchFilter/helpers/build-new-url.js +0 -8
  508. package/lib-es/components/SearchFilter/helpers/build-new-url.js.map +0 -1
  509. package/lib-es/components/SearchFilter/helpers/build-url-query.js +0 -30
  510. package/lib-es/components/SearchFilter/helpers/build-url-query.js.map +0 -1
  511. package/lib-es/components/SearchFilter/helpers/calculate-min-max.js +0 -18
  512. package/lib-es/components/SearchFilter/helpers/calculate-min-max.js.map +0 -1
  513. package/lib-es/components/SearchFilter/helpers/calculate-step.js +0 -3
  514. package/lib-es/components/SearchFilter/helpers/calculate-step.js.map +0 -1
  515. package/lib-es/components/SearchFilter/helpers/check-if-range-updated.js +0 -10
  516. package/lib-es/components/SearchFilter/helpers/check-if-range-updated.js.map +0 -1
  517. package/lib-es/components/SearchFilter/helpers/decode-encode.js +0 -4
  518. package/lib-es/components/SearchFilter/helpers/decode-encode.js.map +0 -1
  519. package/lib-es/components/SearchFilter/helpers/get-display-value.js +0 -6
  520. package/lib-es/components/SearchFilter/helpers/get-display-value.js.map +0 -1
  521. package/lib-es/components/SearchFilter/helpers/get-filter-ranges-and-checkboxes-values.js +0 -18
  522. package/lib-es/components/SearchFilter/helpers/get-filter-ranges-and-checkboxes-values.js.map +0 -1
  523. package/lib-es/components/SearchFilter/helpers/get-filter-value-from-query.js +0 -27
  524. package/lib-es/components/SearchFilter/helpers/get-filter-value-from-query.js.map +0 -1
  525. package/lib-es/components/SearchFilter/helpers/get-filter-values.js +0 -19
  526. package/lib-es/components/SearchFilter/helpers/get-filter-values.js.map +0 -1
  527. package/lib-es/components/SearchFilter/helpers/get-initial-filter-values.js +0 -21
  528. package/lib-es/components/SearchFilter/helpers/get-initial-filter-values.js.map +0 -1
  529. package/lib-es/components/SearchFilter/helpers/get-intersected-prop.js +0 -4
  530. package/lib-es/components/SearchFilter/helpers/get-intersected-prop.js.map +0 -1
  531. package/lib-es/components/SearchFilter/helpers/get-range-value.js +0 -33
  532. package/lib-es/components/SearchFilter/helpers/get-range-value.js.map +0 -1
  533. package/lib-es/components/SearchFilter/helpers/get-responsive-filter-classnames.js +0 -18
  534. package/lib-es/components/SearchFilter/helpers/get-responsive-filter-classnames.js.map +0 -1
  535. package/lib-es/components/SearchFilter/helpers/get-select-options.js +0 -14
  536. package/lib-es/components/SearchFilter/helpers/get-select-options.js.map +0 -1
  537. package/lib-es/components/SearchFilter/helpers/get-updated-filter-by.js +0 -19
  538. package/lib-es/components/SearchFilter/helpers/get-updated-filter-by.js.map +0 -1
  539. package/lib-es/components/SearchFilter/helpers/index.js +0 -19
  540. package/lib-es/components/SearchFilter/helpers/index.js.map +0 -1
  541. package/lib-es/components/SearchFilter/helpers/is-device-desktop.js +0 -4
  542. package/lib-es/components/SearchFilter/helpers/is-device-desktop.js.map +0 -1
  543. package/lib-es/components/SearchFilter/helpers/parse-filter-value.js +0 -21
  544. package/lib-es/components/SearchFilter/helpers/parse-filter-value.js.map +0 -1
  545. package/lib-es/components/SearchFilter/index.js +0 -3
  546. package/lib-es/components/SearchFilter/index.js.map +0 -1
  547. package/lib-es/components/SearchFilter/searchFilterReducer.js +0 -26
  548. package/lib-es/components/SearchFilter/searchFilterReducer.js.map +0 -1
  549. package/lib-es/components/SearchFilterSort/SearchFilterSort.js +0 -79
  550. package/lib-es/components/SearchFilterSort/SearchFilterSort.js.map +0 -1
  551. package/lib-es/components/SearchFilterSort/constants.js +0 -6
  552. package/lib-es/components/SearchFilterSort/constants.js.map +0 -1
  553. package/lib-es/components/SearchFilterSort/helpers/handle-sort-update.js +0 -39
  554. package/lib-es/components/SearchFilterSort/helpers/handle-sort-update.js.map +0 -1
  555. package/lib-es/components/SearchFilterSort/helpers/index.js +0 -3
  556. package/lib-es/components/SearchFilterSort/helpers/index.js.map +0 -1
  557. package/lib-es/components/SearchFilterSort/helpers/update-sort.js +0 -19
  558. package/lib-es/components/SearchFilterSort/helpers/update-sort.js.map +0 -1
  559. package/lib-es/components/SearchFilterSort/index.js +0 -3
  560. package/lib-es/components/SearchFilterSort/index.js.map +0 -1
  561. package/lib-es/components/SocialFollow/SFItem.js +0 -33
  562. package/lib-es/components/SocialFollow/SFItem.js.map +0 -1
  563. package/lib-es/components/SocialFollow/SocialFollow.js +0 -38
  564. package/lib-es/components/SocialFollow/SocialFollow.js.map +0 -1
  565. package/lib-es/components/SocialFollow/SocialFollowRender.js +0 -33
  566. package/lib-es/components/SocialFollow/SocialFollowRender.js.map +0 -1
  567. package/lib-es/components/SocialFollow/index.js +0 -3
  568. package/lib-es/components/SocialFollow/index.js.map +0 -1
  569. package/lib-es/components/SocialFollow/sf.config.js +0 -50
  570. package/lib-es/components/SocialFollow/sf.config.js.map +0 -1
  571. package/lib-es/components/SubMenu/SubMenu.js +0 -23
  572. package/lib-es/components/SubMenu/SubMenu.js.map +0 -1
  573. package/lib-es/components/SubMenu/index.js +0 -3
  574. package/lib-es/components/SubMenu/index.js.map +0 -1
  575. package/lib-es/components/TextBlock/TextBlockRender.js +0 -20
  576. package/lib-es/components/TextBlock/TextBlockRender.js.map +0 -1
  577. package/lib-es/components/TextBlock/index.js +0 -53
  578. package/lib-es/components/TextBlock/index.js.map +0 -1
  579. package/lib-es/components/Video/Video.js +0 -98
  580. package/lib-es/components/Video/Video.js.map +0 -1
  581. package/lib-es/components/Video/VideoContext.js +0 -6
  582. package/lib-es/components/Video/VideoContext.js.map +0 -1
  583. package/lib-es/components/Video/VideoModal.js +0 -30
  584. package/lib-es/components/Video/VideoModal.js.map +0 -1
  585. package/lib-es/components/Video/VideoRender.js +0 -44
  586. package/lib-es/components/Video/VideoRender.js.map +0 -1
  587. package/lib-es/components/Video/constants.js +0 -7
  588. package/lib-es/components/Video/constants.js.map +0 -1
  589. package/lib-es/components/Video/helpers/emit-gtm-event.js +0 -25
  590. package/lib-es/components/Video/helpers/emit-gtm-event.js.map +0 -1
  591. package/lib-es/components/Video/index.js +0 -3
  592. package/lib-es/components/Video/index.js.map +0 -1
  593. package/lib-es/components/Video/providers/Default.js +0 -36
  594. package/lib-es/components/Video/providers/Default.js.map +0 -1
  595. package/lib-es/components/Video/providers/JWPlayer/JWPlayerController.js +0 -65
  596. package/lib-es/components/Video/providers/JWPlayer/JWPlayerController.js.map +0 -1
  597. package/lib-es/components/Video/providers/JWPlayer/JWPlayerProvider.js +0 -87
  598. package/lib-es/components/Video/providers/JWPlayer/JWPlayerProvider.js.map +0 -1
  599. package/lib-es/components/Video/providers/Vimeo/VimeoProvider.js +0 -68
  600. package/lib-es/components/Video/providers/Vimeo/VimeoProvider.js.map +0 -1
  601. package/lib-es/components/Video/providers/Vimeo/helpers/add-extra-params-to-url.js +0 -14
  602. package/lib-es/components/Video/providers/Vimeo/helpers/add-extra-params-to-url.js.map +0 -1
  603. package/lib-es/components/Video/providers/Vimeo/helpers/index.js +0 -3
  604. package/lib-es/components/Video/providers/Vimeo/helpers/index.js.map +0 -1
  605. package/lib-es/components/Video/providers/YouTube/YouTubeProvider.js +0 -40
  606. package/lib-es/components/Video/providers/YouTube/YouTubeProvider.js.map +0 -1
  607. package/lib-es/components/Video/providers/YouTube/YoutubeEmbeded.js +0 -213
  608. package/lib-es/components/Video/providers/YouTube/YoutubeEmbeded.js.map +0 -1
  609. package/lib-es/components/Video/providers/YouTube/helpers/index.js +0 -26
  610. package/lib-es/components/Video/providers/YouTube/helpers/index.js.map +0 -1
  611. package/lib-es/components/Video/providers/get-provider.js +0 -13
  612. package/lib-es/components/Video/providers/get-provider.js.map +0 -1
  613. package/lib-es/components/Video/providers/index.js +0 -3
  614. package/lib-es/components/Video/providers/index.js.map +0 -1
  615. package/lib-es/components/Wrapper.js +0 -36
  616. package/lib-es/components/Wrapper.js.map +0 -1
  617. package/lib-es/components/index.js +0 -36
  618. package/lib-es/components/index.js.map +0 -1
  619. package/lib-es/constants/componentsDefaultValues.js +0 -20
  620. package/lib-es/constants/componentsDefaultValues.js.map +0 -1
  621. package/lib-es/constants/index.js +0 -142
  622. package/lib-es/constants/index.js.map +0 -1
  623. package/lib-es/helpers/append-images.js +0 -28
  624. package/lib-es/helpers/append-images.js.map +0 -1
  625. package/lib-es/helpers/build-az-filter.js +0 -16
  626. package/lib-es/helpers/build-az-filter.js.map +0 -1
  627. package/lib-es/helpers/build-checkbox-filters.js +0 -28
  628. package/lib-es/helpers/build-checkbox-filters.js.map +0 -1
  629. package/lib-es/helpers/build-filters-query.js +0 -86
  630. package/lib-es/helpers/build-filters-query.js.map +0 -1
  631. package/lib-es/helpers/build-image-properties.js +0 -29
  632. package/lib-es/helpers/build-image-properties.js.map +0 -1
  633. package/lib-es/helpers/build-inherited-filters.js +0 -67
  634. package/lib-es/helpers/build-inherited-filters.js.map +0 -1
  635. package/lib-es/helpers/build-link-extra-props.js +0 -17
  636. package/lib-es/helpers/build-link-extra-props.js.map +0 -1
  637. package/lib-es/helpers/build-props-query.js +0 -98
  638. package/lib-es/helpers/build-props-query.js.map +0 -1
  639. package/lib-es/helpers/build-query-fields.js +0 -13
  640. package/lib-es/helpers/build-query-fields.js.map +0 -1
  641. package/lib-es/helpers/build-query-key.js +0 -7
  642. package/lib-es/helpers/build-query-key.js.map +0 -1
  643. package/lib-es/helpers/build-raw-query-base.js +0 -113
  644. package/lib-es/helpers/build-raw-query-base.js.map +0 -1
  645. package/lib-es/helpers/build-raw-query-stringified.js +0 -44
  646. package/lib-es/helpers/build-raw-query-stringified.js.map +0 -1
  647. package/lib-es/helpers/build-raw-query.js +0 -132
  648. package/lib-es/helpers/build-raw-query.js.map +0 -1
  649. package/lib-es/helpers/build-search-values-checkbox-select.js +0 -64
  650. package/lib-es/helpers/build-search-values-checkbox-select.js.map +0 -1
  651. package/lib-es/helpers/build-search-values-text.js +0 -34
  652. package/lib-es/helpers/build-search-values-text.js.map +0 -1
  653. package/lib-es/helpers/build-set-filters.js +0 -32
  654. package/lib-es/helpers/build-set-filters.js.map +0 -1
  655. package/lib-es/helpers/build-sort-values.js +0 -34
  656. package/lib-es/helpers/build-sort-values.js.map +0 -1
  657. package/lib-es/helpers/check-for-error.js +0 -11
  658. package/lib-es/helpers/check-for-error.js.map +0 -1
  659. package/lib-es/helpers/check-props-to-use.js +0 -9
  660. package/lib-es/helpers/check-props-to-use.js.map +0 -1
  661. package/lib-es/helpers/entities/constants.js +0 -11
  662. package/lib-es/helpers/entities/constants.js.map +0 -1
  663. package/lib-es/helpers/filter-query-setup.js +0 -61
  664. package/lib-es/helpers/filter-query-setup.js.map +0 -1
  665. package/lib-es/helpers/filters-setup.js +0 -41
  666. package/lib-es/helpers/filters-setup.js.map +0 -1
  667. package/lib-es/helpers/get-banner-data.js +0 -17
  668. package/lib-es/helpers/get-banner-data.js.map +0 -1
  669. package/lib-es/helpers/get-checkbox-filters.js +0 -7
  670. package/lib-es/helpers/get-checkbox-filters.js.map +0 -1
  671. package/lib-es/helpers/get-click-wrapper-options.js +0 -43
  672. package/lib-es/helpers/get-click-wrapper-options.js.map +0 -1
  673. package/lib-es/helpers/get-current-offset.js +0 -7
  674. package/lib-es/helpers/get-current-offset.js.map +0 -1
  675. package/lib-es/helpers/get-dictionary-match.js +0 -11
  676. package/lib-es/helpers/get-dictionary-match.js.map +0 -1
  677. package/lib-es/helpers/get-display-count-data.js +0 -13
  678. package/lib-es/helpers/get-display-count-data.js.map +0 -1
  679. package/lib-es/helpers/get-elasticsearch-operator.js +0 -6
  680. package/lib-es/helpers/get-elasticsearch-operator.js.map +0 -1
  681. package/lib-es/helpers/get-entities-with-banner.js +0 -33
  682. package/lib-es/helpers/get-entities-with-banner.js.map +0 -1
  683. package/lib-es/helpers/get-entity-data.js +0 -29
  684. package/lib-es/helpers/get-entity-data.js.map +0 -1
  685. package/lib-es/helpers/get-entity-render-props.js +0 -21
  686. package/lib-es/helpers/get-entity-render-props.js.map +0 -1
  687. package/lib-es/helpers/get-extra-az-bits.js +0 -54
  688. package/lib-es/helpers/get-extra-az-bits.js.map +0 -1
  689. package/lib-es/helpers/get-filter-props.js +0 -60
  690. package/lib-es/helpers/get-filter-props.js.map +0 -1
  691. package/lib-es/helpers/get-filter-relation-keys.js +0 -8
  692. package/lib-es/helpers/get-filter-relation-keys.js.map +0 -1
  693. package/lib-es/helpers/get-generic-props.js +0 -16
  694. package/lib-es/helpers/get-generic-props.js.map +0 -1
  695. package/lib-es/helpers/get-generic-render-variables.js +0 -64
  696. package/lib-es/helpers/get-generic-render-variables.js.map +0 -1
  697. package/lib-es/helpers/get-image-ids.js +0 -24
  698. package/lib-es/helpers/get-image-ids.js.map +0 -1
  699. package/lib-es/helpers/get-inherited-filters.js +0 -12
  700. package/lib-es/helpers/get-inherited-filters.js.map +0 -1
  701. package/lib-es/helpers/get-items-to-display-ids.js +0 -12
  702. package/lib-es/helpers/get-items-to-display-ids.js.map +0 -1
  703. package/lib-es/helpers/get-modifiers.js +0 -16
  704. package/lib-es/helpers/get-modifiers.js.map +0 -1
  705. package/lib-es/helpers/get-not-equal-query.js +0 -9
  706. package/lib-es/helpers/get-not-equal-query.js.map +0 -1
  707. package/lib-es/helpers/get-pagination-index.js +0 -8
  708. package/lib-es/helpers/get-pagination-index.js.map +0 -1
  709. package/lib-es/helpers/get-parsed-prop-values.js +0 -32
  710. package/lib-es/helpers/get-parsed-prop-values.js.map +0 -1
  711. package/lib-es/helpers/get-parsed-summary-value.js +0 -13
  712. package/lib-es/helpers/get-parsed-summary-value.js.map +0 -1
  713. package/lib-es/helpers/get-prop-values.js +0 -14
  714. package/lib-es/helpers/get-prop-values.js.map +0 -1
  715. package/lib-es/helpers/get-query-filters.js +0 -22
  716. package/lib-es/helpers/get-query-filters.js.map +0 -1
  717. package/lib-es/helpers/get-query-props.js +0 -37
  718. package/lib-es/helpers/get-query-props.js.map +0 -1
  719. package/lib-es/helpers/get-required-schemas.js +0 -20
  720. package/lib-es/helpers/get-required-schemas.js.map +0 -1
  721. package/lib-es/helpers/get-sanitized-prop-values.js +0 -3
  722. package/lib-es/helpers/get-sanitized-prop-values.js.map +0 -1
  723. package/lib-es/helpers/get-search-filter-type.js +0 -12
  724. package/lib-es/helpers/get-search-filter-type.js.map +0 -1
  725. package/lib-es/helpers/get-sort-by-field-name.js +0 -20
  726. package/lib-es/helpers/get-sort-by-field-name.js.map +0 -1
  727. package/lib-es/helpers/get-unpublished-entity-name.js +0 -5
  728. package/lib-es/helpers/get-unpublished-entity-name.js.map +0 -1
  729. package/lib-es/helpers/get-updated-filter-by.js +0 -11
  730. package/lib-es/helpers/get-updated-filter-by.js.map +0 -1
  731. package/lib-es/helpers/get-updated-items-to-display.js +0 -32
  732. package/lib-es/helpers/get-updated-items-to-display.js.map +0 -1
  733. package/lib-es/helpers/get-updated-sort-properties.js +0 -15
  734. package/lib-es/helpers/get-updated-sort-properties.js.map +0 -1
  735. package/lib-es/helpers/get-wrapped-value-with-link.js +0 -25
  736. package/lib-es/helpers/get-wrapped-value-with-link.js.map +0 -1
  737. package/lib-es/helpers/group-entities.js +0 -10
  738. package/lib-es/helpers/group-entities.js.map +0 -1
  739. package/lib-es/helpers/has-children.js +0 -10
  740. package/lib-es/helpers/has-children.js.map +0 -1
  741. package/lib-es/helpers/index.js +0 -64
  742. package/lib-es/helpers/index.js.map +0 -1
  743. package/lib-es/helpers/inject-banner.js +0 -15
  744. package/lib-es/helpers/inject-banner.js.map +0 -1
  745. package/lib-es/helpers/inject-banners-to-entities.js +0 -19
  746. package/lib-es/helpers/inject-banners-to-entities.js.map +0 -1
  747. package/lib-es/helpers/inject-multiple-banners/get-banners-for-entities/get-banners-for-entities.js +0 -15
  748. package/lib-es/helpers/inject-multiple-banners/get-banners-for-entities/get-banners-for-entities.js.map +0 -1
  749. package/lib-es/helpers/inject-multiple-banners/get-banners-for-entities/index.js +0 -3
  750. package/lib-es/helpers/inject-multiple-banners/get-banners-for-entities/index.js.map +0 -1
  751. package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/get-banners-for-nodes.js +0 -19
  752. package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/get-banners-for-nodes.js.map +0 -1
  753. package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/group-node-entities.js +0 -26
  754. package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/group-node-entities.js.map +0 -1
  755. package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/index.js +0 -3
  756. package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/index.js.map +0 -1
  757. package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/index.js +0 -3
  758. package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/index.js.map +0 -1
  759. package/lib-es/helpers/inject-multiple-banners/index.js +0 -3
  760. package/lib-es/helpers/inject-multiple-banners/index.js.map +0 -1
  761. package/lib-es/helpers/inject-multiple-banners/inject-multiple-banners.js +0 -11
  762. package/lib-es/helpers/inject-multiple-banners/inject-multiple-banners.js.map +0 -1
  763. package/lib-es/helpers/is-browser.js +0 -3
  764. package/lib-es/helpers/is-browser.js.map +0 -1
  765. package/lib-es/helpers/is-filter-entitys-id.js +0 -8
  766. package/lib-es/helpers/is-filter-entitys-id.js.map +0 -1
  767. package/lib-es/helpers/is-object.js +0 -3
  768. package/lib-es/helpers/is-object.js.map +0 -1
  769. package/lib-es/helpers/is-using-relation-image.js +0 -3
  770. package/lib-es/helpers/is-using-relation-image.js.map +0 -1
  771. package/lib-es/helpers/parse-TextBlock.js +0 -30
  772. package/lib-es/helpers/parse-TextBlock.js.map +0 -1
  773. package/lib-es/helpers/parse-interval.js +0 -4
  774. package/lib-es/helpers/parse-interval.js.map +0 -1
  775. package/lib-es/helpers/parse-props-to-display.js +0 -36
  776. package/lib-es/helpers/parse-props-to-display.js.map +0 -1
  777. package/lib-es/helpers/process-data-summary-value.js +0 -36
  778. package/lib-es/helpers/process-data-summary-value.js.map +0 -1
  779. package/lib-es/helpers/remove-extra-items.js +0 -13
  780. package/lib-es/helpers/remove-extra-items.js.map +0 -1
  781. package/lib-es/helpers/remove-unwanted-characters.js +0 -21
  782. package/lib-es/helpers/remove-unwanted-characters.js.map +0 -1
  783. package/lib-es/helpers/render-children.js +0 -21
  784. package/lib-es/helpers/render-children.js.map +0 -1
  785. package/lib-es/helpers/should-render-waypoint.js +0 -3
  786. package/lib-es/helpers/should-render-waypoint.js.map +0 -1
  787. package/lib-es/helpers/should-return.js +0 -3
  788. package/lib-es/helpers/should-return.js.map +0 -1
  789. package/lib-es/helpers/should-show-property.js +0 -6
  790. package/lib-es/helpers/should-show-property.js.map +0 -1
  791. package/lib-es/helpers/should-skip-single-query.js +0 -4
  792. package/lib-es/helpers/should-skip-single-query.js.map +0 -1
  793. package/lib-es/helpers/sort-response-data.js +0 -10
  794. package/lib-es/helpers/sort-response-data.js.map +0 -1
  795. package/lib-es/helpers/split-children.js +0 -69
  796. package/lib-es/helpers/split-children.js.map +0 -1
  797. package/lib-es/helpers/update-childrens-parent.js +0 -17
  798. package/lib-es/helpers/update-childrens-parent.js.map +0 -1
  799. package/lib-es/hooks/helpers/RenderComponent.js +0 -68
  800. package/lib-es/hooks/helpers/RenderComponent.js.map +0 -1
  801. package/lib-es/hooks/helpers/StoreImages.js +0 -42
  802. package/lib-es/hooks/helpers/StoreImages.js.map +0 -1
  803. package/lib-es/hooks/helpers/append-gtm-classname.js +0 -38
  804. package/lib-es/hooks/helpers/append-gtm-classname.js.map +0 -1
  805. package/lib-es/hooks/helpers/buildPBComponents.js +0 -88
  806. package/lib-es/hooks/helpers/buildPBComponents.js.map +0 -1
  807. package/lib-es/hooks/helpers/check-banner-insertion-set.js +0 -17
  808. package/lib-es/hooks/helpers/check-banner-insertion-set.js.map +0 -1
  809. package/lib-es/hooks/helpers/check-collisions.js +0 -30
  810. package/lib-es/hooks/helpers/check-collisions.js.map +0 -1
  811. package/lib-es/hooks/helpers/constants.js +0 -6
  812. package/lib-es/hooks/helpers/constants.js.map +0 -1
  813. package/lib-es/hooks/helpers/get-banner-index.js +0 -3
  814. package/lib-es/hooks/helpers/get-banner-index.js.map +0 -1
  815. package/lib-es/hooks/helpers/get-components-to-insert-by-type.js +0 -27
  816. package/lib-es/hooks/helpers/get-components-to-insert-by-type.js.map +0 -1
  817. package/lib-es/hooks/helpers/get-lightbox-images.js +0 -40
  818. package/lib-es/hooks/helpers/get-lightbox-images.js.map +0 -1
  819. package/lib-es/hooks/helpers/getComponent.js +0 -5
  820. package/lib-es/hooks/helpers/getComponent.js.map +0 -1
  821. package/lib-es/hooks/helpers/getVariant.js +0 -14
  822. package/lib-es/hooks/helpers/getVariant.js.map +0 -1
  823. package/lib-es/hooks/helpers/index.js +0 -3
  824. package/lib-es/hooks/helpers/index.js.map +0 -1
  825. package/lib-es/hooks/helpers/inject-element-components.js +0 -59
  826. package/lib-es/hooks/helpers/inject-element-components.js.map +0 -1
  827. package/lib-es/hooks/helpers/inject-textblock-banners.js +0 -95
  828. package/lib-es/hooks/helpers/inject-textblock-banners.js.map +0 -1
  829. package/lib-es/hooks/helpers/insert-banners.js +0 -83
  830. package/lib-es/hooks/helpers/insert-banners.js.map +0 -1
  831. package/lib-es/hooks/helpers/update-targetings.js +0 -15
  832. package/lib-es/hooks/helpers/update-targetings.js.map +0 -1
  833. package/lib-es/hooks/index.js +0 -12
  834. package/lib-es/hooks/index.js.map +0 -1
  835. package/lib-es/hooks/use-app-sync-event-hook.js +0 -25
  836. package/lib-es/hooks/use-app-sync-event-hook.js.map +0 -1
  837. package/lib-es/hooks/use-banner-insertion.js +0 -22
  838. package/lib-es/hooks/use-banner-insertion.js.map +0 -1
  839. package/lib-es/hooks/use-check-mobile-screen.js +0 -29
  840. package/lib-es/hooks/use-check-mobile-screen.js.map +0 -1
  841. package/lib-es/hooks/use-filter-aggregation-values.js +0 -31
  842. package/lib-es/hooks/use-filter-aggregation-values.js.map +0 -1
  843. package/lib-es/hooks/use-get-entity-schema.js +0 -39
  844. package/lib-es/hooks/use-get-entity-schema.js.map +0 -1
  845. package/lib-es/hooks/use-get-entity-schemas-as-obj.js +0 -13
  846. package/lib-es/hooks/use-get-entity-schemas-as-obj.js.map +0 -1
  847. package/lib-es/hooks/use-get-image-id-from-relation.js +0 -30
  848. package/lib-es/hooks/use-get-image-id-from-relation.js.map +0 -1
  849. package/lib-es/hooks/use-get-images.js +0 -37
  850. package/lib-es/hooks/use-get-images.js.map +0 -1
  851. package/lib-es/hooks/use-get-single-entity-schema.js +0 -21
  852. package/lib-es/hooks/use-get-single-entity-schema.js.map +0 -1
  853. package/lib-es/hooks/use-page-builder.js +0 -17
  854. package/lib-es/hooks/use-page-builder.js.map +0 -1
  855. package/lib-es/hooks/use-portal.js +0 -14
  856. package/lib-es/hooks/use-portal.js.map +0 -1
  857. package/lib-es/index.js +0 -16
  858. package/lib-es/index.js.map +0 -1
  859. package/lib-es/utils/component-map.js +0 -30
  860. package/lib-es/utils/component-map.js.map +0 -1
  861. package/lib-es/utils/get-class-modifiers.js +0 -81
  862. package/lib-es/utils/get-class-modifiers.js.map +0 -1
  863. package/lib-es/utils/get-image-data.js +0 -16
  864. package/lib-es/utils/get-image-data.js.map +0 -1
  865. package/lib-es/utils/get-props-to-display-modifiers.js +0 -5
  866. package/lib-es/utils/get-props-to-display-modifiers.js.map +0 -1
  867. package/lib-es/utils/index.js +0 -8
  868. package/lib-es/utils/index.js.map +0 -1
  869. package/lib-es/utils/is-object-empty.js +0 -4
  870. package/lib-es/utils/is-object-empty.js.map +0 -1
  871. package/lib-es/utils/variant-handler.js +0 -27
  872. package/lib-es/utils/variant-handler.js.map +0 -1
  873. package/lib-es/variants/FloatingSideButton/index.js +0 -10
  874. package/lib-es/variants/FloatingSideButton/index.js.map +0 -1
  875. package/lib-es/variants/HeroImage/index.js +0 -10
  876. package/lib-es/variants/HeroImage/index.js.map +0 -1
  877. package/lib-es/variants/Infographic/Infographic.js +0 -20
  878. package/lib-es/variants/Infographic/Infographic.js.map +0 -1
  879. package/lib-es/variants/Infographic/index.js +0 -10
  880. package/lib-es/variants/Infographic/index.js.map +0 -1
  881. package/lib-es/variants/Infographic/useInfographic.js +0 -23
  882. package/lib-es/variants/Infographic/useInfographic.js.map +0 -1
  883. package/lib-es/variants/LiveBlogList/LiveBlogList.js +0 -90
  884. package/lib-es/variants/LiveBlogList/LiveBlogList.js.map +0 -1
  885. package/lib-es/variants/LiveBlogList/index.js +0 -12
  886. package/lib-es/variants/LiveBlogList/index.js.map +0 -1
  887. package/lib-es/variants/LongformGallery/LongformGallery.js +0 -40
  888. package/lib-es/variants/LongformGallery/LongformGallery.js.map +0 -1
  889. package/lib-es/variants/LongformGallery/LongformGalleryImage.js +0 -59
  890. package/lib-es/variants/LongformGallery/LongformGalleryImage.js.map +0 -1
  891. package/lib-es/variants/LongformGallery/constants.js +0 -18
  892. package/lib-es/variants/LongformGallery/constants.js.map +0 -1
  893. package/lib-es/variants/LongformGallery/helpers/index.js +0 -5
  894. package/lib-es/variants/LongformGallery/helpers/index.js.map +0 -1
  895. package/lib-es/variants/LongformGallery/helpers/parseImageData.js +0 -26
  896. package/lib-es/variants/LongformGallery/helpers/parseImageData.js.map +0 -1
  897. package/lib-es/variants/LongformGallery/helpers/separateImages.js +0 -25
  898. package/lib-es/variants/LongformGallery/helpers/separateImages.js.map +0 -1
  899. package/lib-es/variants/LongformGallery/helpers/shouldSkip.js +0 -3
  900. package/lib-es/variants/LongformGallery/helpers/shouldSkip.js.map +0 -1
  901. package/lib-es/variants/LongformGallery/index.js +0 -12
  902. package/lib-es/variants/LongformGallery/index.js.map +0 -1
  903. package/lib-es/variants/LongformGallery/useLongformGallery.js +0 -47
  904. package/lib-es/variants/LongformGallery/useLongformGallery.js.map +0 -1
  905. package/lib-es/variants/LongformRow/index.js +0 -10
  906. package/lib-es/variants/LongformRow/index.js.map +0 -1
  907. package/lib-es/variants/ParallaxImageTextRight/index.js +0 -11
  908. package/lib-es/variants/ParallaxImageTextRight/index.js.map +0 -1
  909. package/lib-es/variants/SlideSummary/SlideSummary.js +0 -23
  910. package/lib-es/variants/SlideSummary/SlideSummary.js.map +0 -1
  911. package/lib-es/variants/SlideSummary/index.js +0 -10
  912. package/lib-es/variants/SlideSummary/index.js.map +0 -1
  913. package/lib-es/variants/ThumbnailCarousel/ThumbnailCarousel.js +0 -49
  914. package/lib-es/variants/ThumbnailCarousel/ThumbnailCarousel.js.map +0 -1
  915. package/lib-es/variants/ThumbnailCarousel/ThumbnailImage/ThumbnailImage.js +0 -30
  916. package/lib-es/variants/ThumbnailCarousel/ThumbnailImage/ThumbnailImage.js.map +0 -1
  917. package/lib-es/variants/ThumbnailCarousel/ThumbnailImage/index.js +0 -3
  918. package/lib-es/variants/ThumbnailCarousel/ThumbnailImage/index.js.map +0 -1
  919. package/lib-es/variants/ThumbnailCarousel/ThumbnailImage/useThumbnailImage.js +0 -62
  920. package/lib-es/variants/ThumbnailCarousel/ThumbnailImage/useThumbnailImage.js.map +0 -1
  921. package/lib-es/variants/ThumbnailCarousel/index.js +0 -10
  922. package/lib-es/variants/ThumbnailCarousel/index.js.map +0 -1
  923. package/lib-es/variants/ThumbnailCarousel/useThumbnailCarousel.js +0 -47
  924. package/lib-es/variants/ThumbnailCarousel/useThumbnailCarousel.js.map +0 -1
  925. package/lib-es/variants/index.js +0 -21
  926. package/lib-es/variants/index.js.map +0 -1
@@ -1,23 +0,0 @@
1
- import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
2
- const _excluded = ["modifier"];
3
- import React from 'react';
4
- import PropTypes from 'prop-types';
5
- import { getModifiers } from '../../../../helpers';
6
- import LargeSummaryContent from './LargeSummaryContent';
7
- const LargeSummary = _ref => {
8
- let {
9
- modifier
10
- } = _ref,
11
- otherProps = _objectWithoutProperties(_ref, _excluded);
12
- return /*#__PURE__*/React.createElement("div", {
13
- className: getModifiers('stats', modifier)
14
- }, /*#__PURE__*/React.createElement(LargeSummaryContent, otherProps));
15
- };
16
- LargeSummary.propTypes = {
17
- modifier: PropTypes.string
18
- };
19
- LargeSummary.defaultProps = {
20
- modifier: ''
21
- };
22
- export default LargeSummary;
23
- //# sourceMappingURL=LargeSummary.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LargeSummary.js","names":["React","PropTypes","getModifiers","LargeSummaryContent","LargeSummary","_ref","modifier","otherProps","_objectWithoutProperties","_excluded","createElement","className","propTypes","string","defaultProps"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummary.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { getModifiers } from '../../../../helpers';\nimport LargeSummaryContent from './LargeSummaryContent';\n\nconst LargeSummary = ({ modifier, ...otherProps }) => (\n <div className={getModifiers('stats', modifier)}>\n <LargeSummaryContent {...otherProps} />\n </div>\n);\n\nLargeSummary.propTypes = {\n modifier: PropTypes.string\n};\n\nLargeSummary.defaultProps = {\n modifier: ''\n};\n\nexport default LargeSummary;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAClC,SAASC,YAAY,QAAQ,qBAAqB;AAClD,OAAOC,mBAAmB,MAAM,uBAAuB;AAEvD,MAAMC,YAAY,GAAGC,IAAA;EAAA,IAAC;MAAEC;IAAwB,CAAC,GAAAD,IAAA;IAAZE,UAAU,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAAA,oBAC7CT,KAAA,CAAAU,aAAA;IAAKC,SAAS,EAAET,YAAY,CAAC,OAAO,EAAEI,QAAQ;EAAE,gBAC9CN,KAAA,CAAAU,aAAA,CAACP,mBAAmB,EAAKI,UAAa,CACnC,CAAC;AAAA,CACP;AAEDH,YAAY,CAACQ,SAAS,GAAG;EACvBN,QAAQ,EAAEL,SAAS,CAACY;AACtB,CAAC;AAEDT,YAAY,CAACU,YAAY,GAAG;EAC1BR,QAAQ,EAAE;AACZ,CAAC;AAED,eAAeF,YAAY","ignoreList":[]}
@@ -1,35 +0,0 @@
1
- import React, { useContext } from 'react';
2
- import PropTypes from 'prop-types';
3
- import upperFirst from 'lodash.upperfirst';
4
- import { MainContext } from '@blaze-cms/nextjs-components';
5
- import { getWrappedValueWithLink } from '../../../../helpers';
6
- import { parseBooleanValues } from '../../helpers';
7
- import { withTitle } from '../../../../HOC';
8
- const LargeSummaryContent = ({
9
- summaryPropsWithContent
10
- }) => {
11
- const {
12
- itemId
13
- } = useContext(MainContext);
14
- return /*#__PURE__*/React.createElement("div", {
15
- className: "stats__wrapper"
16
- }, summaryPropsWithContent.map(([key, value, link, modifier], index) => {
17
- const dynamicKey = [itemId, index].join('-');
18
- const wrappedValue = parseBooleanValues(getWrappedValueWithLink(value, link, itemId), upperFirst(key));
19
- return /*#__PURE__*/React.createElement("div", {
20
- key: dynamicKey,
21
- className: "stats__block"
22
- }, /*#__PURE__*/React.createElement("div", {
23
- className: "stats__text"
24
- }, /*#__PURE__*/React.createElement("div", {
25
- className: `stats__title ${modifier}`
26
- }, upperFirst(key)), wrappedValue && /*#__PURE__*/React.createElement("div", {
27
- className: `stats__value ${modifier}`
28
- }, wrappedValue)));
29
- }));
30
- };
31
- LargeSummaryContent.propTypes = {
32
- summaryPropsWithContent: PropTypes.array.isRequired
33
- };
34
- export default withTitle(LargeSummaryContent);
35
- //# sourceMappingURL=LargeSummaryContent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LargeSummaryContent.js","names":["React","useContext","PropTypes","upperFirst","MainContext","getWrappedValueWithLink","parseBooleanValues","withTitle","LargeSummaryContent","summaryPropsWithContent","itemId","createElement","className","map","key","value","link","modifier","index","dynamicKey","join","wrappedValue","propTypes","array","isRequired"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummaryContent.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport PropTypes from 'prop-types';\nimport upperFirst from 'lodash.upperfirst';\nimport { MainContext } from '@blaze-cms/nextjs-components';\nimport { getWrappedValueWithLink } from '../../../../helpers';\nimport { parseBooleanValues } from '../../helpers';\nimport { withTitle } from '../../../../HOC';\n\nconst LargeSummaryContent = ({ summaryPropsWithContent }) => {\n const { itemId } = useContext(MainContext);\n\n return (\n <div className=\"stats__wrapper\">\n {summaryPropsWithContent.map(([key, value, link, modifier], index) => {\n const dynamicKey = [itemId, index].join('-');\n const wrappedValue = parseBooleanValues(\n getWrappedValueWithLink(value, link, itemId),\n upperFirst(key)\n );\n\n return (\n <div key={dynamicKey} className=\"stats__block\">\n <div className=\"stats__text\">\n <div className={`stats__title ${modifier}`}>{upperFirst(key)}</div>\n {wrappedValue && <div className={`stats__value ${modifier}`}>{wrappedValue}</div>}\n </div>\n </div>\n );\n })}\n </div>\n );\n};\n\nLargeSummaryContent.propTypes = {\n summaryPropsWithContent: PropTypes.array.isRequired\n};\n\nexport default withTitle(LargeSummaryContent);\n"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,UAAU,QAAQ,OAAO;AACzC,OAAOC,SAAS,MAAM,YAAY;AAClC,OAAOC,UAAU,MAAM,mBAAmB;AAC1C,SAASC,WAAW,QAAQ,8BAA8B;AAC1D,SAASC,uBAAuB,QAAQ,qBAAqB;AAC7D,SAASC,kBAAkB,QAAQ,eAAe;AAClD,SAASC,SAAS,QAAQ,iBAAiB;AAE3C,MAAMC,mBAAmB,GAAGA,CAAC;EAAEC;AAAwB,CAAC,KAAK;EAC3D,MAAM;IAAEC;EAAO,CAAC,GAAGT,UAAU,CAACG,WAAW,CAAC;EAE1C,oBACEJ,KAAA,CAAAW,aAAA;IAAKC,SAAS,EAAC;EAAgB,GAC5BH,uBAAuB,CAACI,GAAG,CAAC,CAAC,CAACC,GAAG,EAAEC,KAAK,EAAEC,IAAI,EAAEC,QAAQ,CAAC,EAAEC,KAAK,KAAK;IACpE,MAAMC,UAAU,GAAG,CAACT,MAAM,EAAEQ,KAAK,CAAC,CAACE,IAAI,CAAC,GAAG,CAAC;IAC5C,MAAMC,YAAY,GAAGf,kBAAkB,CACrCD,uBAAuB,CAACU,KAAK,EAAEC,IAAI,EAAEN,MAAM,CAAC,EAC5CP,UAAU,CAACW,GAAG,CAChB,CAAC;IAED,oBACEd,KAAA,CAAAW,aAAA;MAAKG,GAAG,EAAEK,UAAW;MAACP,SAAS,EAAC;IAAc,gBAC5CZ,KAAA,CAAAW,aAAA;MAAKC,SAAS,EAAC;IAAa,gBAC1BZ,KAAA,CAAAW,aAAA;MAAKC,SAAS,EAAE,gBAAgBK,QAAQ;IAAG,GAAEd,UAAU,CAACW,GAAG,CAAO,CAAC,EAClEO,YAAY,iBAAIrB,KAAA,CAAAW,aAAA;MAAKC,SAAS,EAAE,gBAAgBK,QAAQ;IAAG,GAAEI,YAAkB,CAC7E,CACF,CAAC;EAEV,CAAC,CACE,CAAC;AAEV,CAAC;AAEDb,mBAAmB,CAACc,SAAS,GAAG;EAC9Bb,uBAAuB,EAAEP,SAAS,CAACqB,KAAK,CAACC;AAC3C,CAAC;AAED,eAAejB,SAAS,CAACC,mBAAmB,CAAC","ignoreList":[]}
@@ -1,3 +0,0 @@
1
- import LargeSummary from './LargeSummary';
2
- export default LargeSummary;
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":["LargeSummary"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/LargeSummary/index.js"],"sourcesContent":["import LargeSummary from './LargeSummary';\n\nexport default LargeSummary;\n"],"mappings":"AAAA,OAAOA,YAAY,MAAM,gBAAgB;AAEzC,eAAeA,YAAY","ignoreList":[]}
@@ -1,23 +0,0 @@
1
- import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
2
- const _excluded = ["modifier"];
3
- import React from 'react';
4
- import PropTypes from 'prop-types';
5
- import { getModifiers } from '../../../../helpers';
6
- import ListSummaryContent from './ListSummaryContent';
7
- const ListSummary = _ref => {
8
- let {
9
- modifier
10
- } = _ref,
11
- otherProps = _objectWithoutProperties(_ref, _excluded);
12
- return /*#__PURE__*/React.createElement("div", {
13
- className: getModifiers('spec-block', modifier)
14
- }, /*#__PURE__*/React.createElement(ListSummaryContent, otherProps));
15
- };
16
- ListSummary.propTypes = {
17
- modifier: PropTypes.string
18
- };
19
- ListSummary.defaultProps = {
20
- modifier: ''
21
- };
22
- export default ListSummary;
23
- //# sourceMappingURL=ListSummary.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ListSummary.js","names":["React","PropTypes","getModifiers","ListSummaryContent","ListSummary","_ref","modifier","otherProps","_objectWithoutProperties","_excluded","createElement","className","propTypes","string","defaultProps"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/ListSummary/ListSummary.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { getModifiers } from '../../../../helpers';\nimport ListSummaryContent from './ListSummaryContent';\n\nconst ListSummary = ({ modifier, ...otherProps }) => (\n <div className={getModifiers('spec-block', modifier)}>\n <ListSummaryContent {...otherProps} />\n </div>\n);\n\nListSummary.propTypes = {\n modifier: PropTypes.string\n};\n\nListSummary.defaultProps = {\n modifier: ''\n};\n\nexport default ListSummary;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAClC,SAASC,YAAY,QAAQ,qBAAqB;AAClD,OAAOC,kBAAkB,MAAM,sBAAsB;AAErD,MAAMC,WAAW,GAAGC,IAAA;EAAA,IAAC;MAAEC;IAAwB,CAAC,GAAAD,IAAA;IAAZE,UAAU,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAAA,oBAC5CT,KAAA,CAAAU,aAAA;IAAKC,SAAS,EAAET,YAAY,CAAC,YAAY,EAAEI,QAAQ;EAAE,gBACnDN,KAAA,CAAAU,aAAA,CAACP,kBAAkB,EAAKI,UAAa,CAClC,CAAC;AAAA,CACP;AAEDH,WAAW,CAACQ,SAAS,GAAG;EACtBN,QAAQ,EAAEL,SAAS,CAACY;AACtB,CAAC;AAEDT,WAAW,CAACU,YAAY,GAAG;EACzBR,QAAQ,EAAE;AACZ,CAAC;AAED,eAAeF,WAAW","ignoreList":[]}
@@ -1,34 +0,0 @@
1
- import React, { useContext } from 'react';
2
- import PropTypes from 'prop-types';
3
- import { MainContext } from '@blaze-cms/nextjs-components';
4
- import { getWrappedValueWithLink } from '../../../../helpers';
5
- import { parseBooleanValues } from '../../helpers';
6
- import { withTitle } from '../../../../HOC';
7
- const ListSummaryContent = ({
8
- summaryPropsWithContent
9
- }) => {
10
- const {
11
- itemId
12
- } = useContext(MainContext);
13
- return /*#__PURE__*/React.createElement("div", {
14
- className: "spec-block__column"
15
- }, /*#__PURE__*/React.createElement("ul", {
16
- className: "spec-block__list"
17
- }, summaryPropsWithContent.map(([key, value, link, modifier], index) => {
18
- const wrappedValue = parseBooleanValues(getWrappedValueWithLink(value, link, itemId), key);
19
- const dynamicKey = [itemId, index].join('-');
20
- return /*#__PURE__*/React.createElement("li", {
21
- key: dynamicKey,
22
- className: "spec-block__list-item"
23
- }, /*#__PURE__*/React.createElement("span", {
24
- className: `spec-block__title ${modifier}`
25
- }, key), wrappedValue && /*#__PURE__*/React.createElement("span", {
26
- className: `spec-block__data ${modifier}`
27
- }, wrappedValue));
28
- })));
29
- };
30
- ListSummaryContent.propTypes = {
31
- summaryPropsWithContent: PropTypes.array.isRequired
32
- };
33
- export default withTitle(ListSummaryContent);
34
- //# sourceMappingURL=ListSummaryContent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ListSummaryContent.js","names":["React","useContext","PropTypes","MainContext","getWrappedValueWithLink","parseBooleanValues","withTitle","ListSummaryContent","summaryPropsWithContent","itemId","createElement","className","map","key","value","link","modifier","index","wrappedValue","dynamicKey","join","propTypes","array","isRequired"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport PropTypes from 'prop-types';\nimport { MainContext } from '@blaze-cms/nextjs-components';\nimport { getWrappedValueWithLink } from '../../../../helpers';\nimport { parseBooleanValues } from '../../helpers';\nimport { withTitle } from '../../../../HOC';\n\nconst ListSummaryContent = ({ summaryPropsWithContent }) => {\n const { itemId } = useContext(MainContext);\n\n return (\n <div className=\"spec-block__column\">\n <ul className=\"spec-block__list\">\n {summaryPropsWithContent.map(([key, value, link, modifier], index) => {\n const wrappedValue = parseBooleanValues(\n getWrappedValueWithLink(value, link, itemId),\n key\n );\n const dynamicKey = [itemId, index].join('-');\n\n return (\n <li key={dynamicKey} className=\"spec-block__list-item\">\n <span className={`spec-block__title ${modifier}`}>{key}</span>\n {wrappedValue && (\n <span className={`spec-block__data ${modifier}`}>{wrappedValue}</span>\n )}\n </li>\n );\n })}\n </ul>\n </div>\n );\n};\n\nListSummaryContent.propTypes = {\n summaryPropsWithContent: PropTypes.array.isRequired\n};\n\nexport default withTitle(ListSummaryContent);\n"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,UAAU,QAAQ,OAAO;AACzC,OAAOC,SAAS,MAAM,YAAY;AAClC,SAASC,WAAW,QAAQ,8BAA8B;AAC1D,SAASC,uBAAuB,QAAQ,qBAAqB;AAC7D,SAASC,kBAAkB,QAAQ,eAAe;AAClD,SAASC,SAAS,QAAQ,iBAAiB;AAE3C,MAAMC,kBAAkB,GAAGA,CAAC;EAAEC;AAAwB,CAAC,KAAK;EAC1D,MAAM;IAAEC;EAAO,CAAC,GAAGR,UAAU,CAACE,WAAW,CAAC;EAE1C,oBACEH,KAAA,CAAAU,aAAA;IAAKC,SAAS,EAAC;EAAoB,gBACjCX,KAAA,CAAAU,aAAA;IAAIC,SAAS,EAAC;EAAkB,GAC7BH,uBAAuB,CAACI,GAAG,CAAC,CAAC,CAACC,GAAG,EAAEC,KAAK,EAAEC,IAAI,EAAEC,QAAQ,CAAC,EAAEC,KAAK,KAAK;IACpE,MAAMC,YAAY,GAAGb,kBAAkB,CACrCD,uBAAuB,CAACU,KAAK,EAAEC,IAAI,EAAEN,MAAM,CAAC,EAC5CI,GACF,CAAC;IACD,MAAMM,UAAU,GAAG,CAACV,MAAM,EAAEQ,KAAK,CAAC,CAACG,IAAI,CAAC,GAAG,CAAC;IAE5C,oBACEpB,KAAA,CAAAU,aAAA;MAAIG,GAAG,EAAEM,UAAW;MAACR,SAAS,EAAC;IAAuB,gBACpDX,KAAA,CAAAU,aAAA;MAAMC,SAAS,EAAE,qBAAqBK,QAAQ;IAAG,GAAEH,GAAU,CAAC,EAC7DK,YAAY,iBACXlB,KAAA,CAAAU,aAAA;MAAMC,SAAS,EAAE,oBAAoBK,QAAQ;IAAG,GAAEE,YAAmB,CAErE,CAAC;EAET,CAAC,CACC,CACD,CAAC;AAEV,CAAC;AAEDX,kBAAkB,CAACc,SAAS,GAAG;EAC7Bb,uBAAuB,EAAEN,SAAS,CAACoB,KAAK,CAACC;AAC3C,CAAC;AAED,eAAejB,SAAS,CAACC,kBAAkB,CAAC","ignoreList":[]}
@@ -1,3 +0,0 @@
1
- import ListSummary from './ListSummary';
2
- export default ListSummary;
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":["ListSummary"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/ListSummary/index.js"],"sourcesContent":["import ListSummary from './ListSummary';\n\nexport default ListSummary;\n"],"mappings":"AAAA,OAAOA,WAAW,MAAM,eAAe;AAEvC,eAAeA,WAAW","ignoreList":[]}
@@ -1,23 +0,0 @@
1
- import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
2
- const _excluded = ["modifier"];
3
- import React from 'react';
4
- import PropTypes from 'prop-types';
5
- import { getModifiers } from '../../../../helpers';
6
- import TextSummaryContent from './TextSummaryContent';
7
- const TextSummary = _ref => {
8
- let {
9
- modifier
10
- } = _ref,
11
- otherProps = _objectWithoutProperties(_ref, _excluded);
12
- return /*#__PURE__*/React.createElement("div", {
13
- className: getModifiers('stats', modifier)
14
- }, /*#__PURE__*/React.createElement(TextSummaryContent, otherProps));
15
- };
16
- TextSummary.propTypes = {
17
- modifier: PropTypes.string
18
- };
19
- TextSummary.defaultProps = {
20
- modifier: ''
21
- };
22
- export default TextSummary;
23
- //# sourceMappingURL=TextSummary.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextSummary.js","names":["React","PropTypes","getModifiers","TextSummaryContent","TextSummary","_ref","modifier","otherProps","_objectWithoutProperties","_excluded","createElement","className","propTypes","string","defaultProps"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/TextSummary/TextSummary.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { getModifiers } from '../../../../helpers';\nimport TextSummaryContent from './TextSummaryContent';\n\nconst TextSummary = ({ modifier, ...otherProps }) => (\n <div className={getModifiers('stats', modifier)}>\n <TextSummaryContent {...otherProps} />\n </div>\n);\n\nTextSummary.propTypes = {\n modifier: PropTypes.string\n};\n\nTextSummary.defaultProps = {\n modifier: ''\n};\n\nexport default TextSummary;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAClC,SAASC,YAAY,QAAQ,qBAAqB;AAClD,OAAOC,kBAAkB,MAAM,sBAAsB;AAErD,MAAMC,WAAW,GAAGC,IAAA;EAAA,IAAC;MAAEC;IAAwB,CAAC,GAAAD,IAAA;IAAZE,UAAU,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAAA,oBAC5CT,KAAA,CAAAU,aAAA;IAAKC,SAAS,EAAET,YAAY,CAAC,OAAO,EAAEI,QAAQ;EAAE,gBAC9CN,KAAA,CAAAU,aAAA,CAACP,kBAAkB,EAAKI,UAAa,CAClC,CAAC;AAAA,CACP;AAEDH,WAAW,CAACQ,SAAS,GAAG;EACtBN,QAAQ,EAAEL,SAAS,CAACY;AACtB,CAAC;AAEDT,WAAW,CAACU,YAAY,GAAG;EACzBR,QAAQ,EAAE;AACZ,CAAC;AAED,eAAeF,WAAW","ignoreList":[]}
@@ -1,29 +0,0 @@
1
- import React, { useContext } from 'react';
2
- import PropTypes from 'prop-types';
3
- import { MainContext } from '@blaze-cms/nextjs-components';
4
- import { getWrappedValueWithLink } from '../../../../helpers';
5
- import { parseBooleanValues } from '../../helpers';
6
- import { withTitle } from '../../../../HOC';
7
- const TextSummaryContent = ({
8
- summaryPropsWithContent
9
- }) => {
10
- const {
11
- itemId
12
- } = useContext(MainContext);
13
- return /*#__PURE__*/React.createElement("div", {
14
- className: "stats__heading"
15
- }, summaryPropsWithContent.map(([key, value, link, modifier], index) => {
16
- const wrappedValue = parseBooleanValues(getWrappedValueWithLink(value, link, itemId), key);
17
- const dynamicKey = [itemId, index].join('-');
18
- if (!wrappedValue) return null;
19
- return /*#__PURE__*/React.createElement("span", {
20
- className: modifier,
21
- key: dynamicKey
22
- }, wrappedValue);
23
- }));
24
- };
25
- TextSummaryContent.propTypes = {
26
- summaryPropsWithContent: PropTypes.array.isRequired
27
- };
28
- export default withTitle(TextSummaryContent);
29
- //# sourceMappingURL=TextSummaryContent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextSummaryContent.js","names":["React","useContext","PropTypes","MainContext","getWrappedValueWithLink","parseBooleanValues","withTitle","TextSummaryContent","summaryPropsWithContent","itemId","createElement","className","map","key","value","link","modifier","index","wrappedValue","dynamicKey","join","propTypes","array","isRequired"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/TextSummary/TextSummaryContent.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport PropTypes from 'prop-types';\nimport { MainContext } from '@blaze-cms/nextjs-components';\nimport { getWrappedValueWithLink } from '../../../../helpers';\nimport { parseBooleanValues } from '../../helpers';\nimport { withTitle } from '../../../../HOC';\n\nconst TextSummaryContent = ({ summaryPropsWithContent }) => {\n const { itemId } = useContext(MainContext);\n\n return (\n <div className=\"stats__heading\">\n {summaryPropsWithContent.map(([key, value, link, modifier], index) => {\n const wrappedValue = parseBooleanValues(getWrappedValueWithLink(value, link, itemId), key);\n const dynamicKey = [itemId, index].join('-');\n\n if (!wrappedValue) return null;\n\n return (\n <span className={modifier} key={dynamicKey}>\n {wrappedValue}\n </span>\n );\n })}\n </div>\n );\n};\n\nTextSummaryContent.propTypes = {\n summaryPropsWithContent: PropTypes.array.isRequired\n};\n\nexport default withTitle(TextSummaryContent);\n"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,UAAU,QAAQ,OAAO;AACzC,OAAOC,SAAS,MAAM,YAAY;AAClC,SAASC,WAAW,QAAQ,8BAA8B;AAC1D,SAASC,uBAAuB,QAAQ,qBAAqB;AAC7D,SAASC,kBAAkB,QAAQ,eAAe;AAClD,SAASC,SAAS,QAAQ,iBAAiB;AAE3C,MAAMC,kBAAkB,GAAGA,CAAC;EAAEC;AAAwB,CAAC,KAAK;EAC1D,MAAM;IAAEC;EAAO,CAAC,GAAGR,UAAU,CAACE,WAAW,CAAC;EAE1C,oBACEH,KAAA,CAAAU,aAAA;IAAKC,SAAS,EAAC;EAAgB,GAC5BH,uBAAuB,CAACI,GAAG,CAAC,CAAC,CAACC,GAAG,EAAEC,KAAK,EAAEC,IAAI,EAAEC,QAAQ,CAAC,EAAEC,KAAK,KAAK;IACpE,MAAMC,YAAY,GAAGb,kBAAkB,CAACD,uBAAuB,CAACU,KAAK,EAAEC,IAAI,EAAEN,MAAM,CAAC,EAAEI,GAAG,CAAC;IAC1F,MAAMM,UAAU,GAAG,CAACV,MAAM,EAAEQ,KAAK,CAAC,CAACG,IAAI,CAAC,GAAG,CAAC;IAE5C,IAAI,CAACF,YAAY,EAAE,OAAO,IAAI;IAE9B,oBACElB,KAAA,CAAAU,aAAA;MAAMC,SAAS,EAAEK,QAAS;MAACH,GAAG,EAAEM;IAAW,GACxCD,YACG,CAAC;EAEX,CAAC,CACE,CAAC;AAEV,CAAC;AAEDX,kBAAkB,CAACc,SAAS,GAAG;EAC7Bb,uBAAuB,EAAEN,SAAS,CAACoB,KAAK,CAACC;AAC3C,CAAC;AAED,eAAejB,SAAS,CAACC,kBAAkB,CAAC","ignoreList":[]}
@@ -1,3 +0,0 @@
1
- import TextSummary from './TextSummary';
2
- export default TextSummary;
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":["TextSummary"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/TextSummary/index.js"],"sourcesContent":["import TextSummary from './TextSummary';\n\nexport default TextSummary;\n"],"mappings":"AAAA,OAAOA,WAAW,MAAM,eAAe;AAEvC,eAAeA,WAAW","ignoreList":[]}
@@ -1,9 +0,0 @@
1
- import dynamic from 'next/dynamic';
2
- export const summaryComponents = {
3
- list: dynamic(() => import(/* webpackChunkName: "blazePbDataSummaryListSummary" */'./ListSummary')),
4
- large: dynamic(() => import(/* webpackChunkName: "blazePbDataSummaryLargeSummary" */'./LargeSummary')),
5
- text: dynamic(() => import(/* webpackChunkName: "blazePbDataSummaryTextSummary" */'./TextSummary')),
6
- heading_large: dynamic(() => import(/* webpackChunkName: "blazePbDataSummaryHeadingLargeSummary" */'./HeadingLargeSummary')),
7
- item_details: dynamic(() => import(/* webpackChunkName: "blazePbDataSummaryItemDetailsSummary" */'./ItemDetailsSummary'))
8
- };
9
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":["dynamic","summaryComponents","list","large","text","heading_large","item_details"],"sources":["../../../../src/components/DataSummary/DataSummaryTypes/index.js"],"sourcesContent":["import dynamic from 'next/dynamic';\n\nexport const summaryComponents = {\n list: dynamic(\n () => import(/* webpackChunkName: \"blazePbDataSummaryListSummary\" */ './ListSummary')\n ),\n large: dynamic(\n () => import(/* webpackChunkName: \"blazePbDataSummaryLargeSummary\" */ './LargeSummary')\n ),\n text: dynamic(\n () => import(/* webpackChunkName: \"blazePbDataSummaryTextSummary\" */ './TextSummary')\n ),\n heading_large: dynamic(\n () =>\n import(\n /* webpackChunkName: \"blazePbDataSummaryHeadingLargeSummary\" */ './HeadingLargeSummary'\n )\n ),\n item_details: dynamic(\n () =>\n import(/* webpackChunkName: \"blazePbDataSummaryItemDetailsSummary\" */ './ItemDetailsSummary')\n )\n};\n"],"mappings":"AAAA,OAAOA,OAAO,MAAM,cAAc;AAElC,OAAO,MAAMC,iBAAiB,GAAG;EAC/BC,IAAI,EAAEF,OAAO,CACX,MAAM,MAAM,CAAC,uDAAwD,eAAe,CACtF,CAAC;EACDG,KAAK,EAAEH,OAAO,CACZ,MAAM,MAAM,CAAC,wDAAyD,gBAAgB,CACxF,CAAC;EACDI,IAAI,EAAEJ,OAAO,CACX,MAAM,MAAM,CAAC,uDAAwD,eAAe,CACtF,CAAC;EACDK,aAAa,EAAEL,OAAO,CACpB,MACE,MAAM,CACJ,+DAAgE,uBAClE,CACJ,CAAC;EACDM,YAAY,EAAEN,OAAO,CACnB,MACE,MAAM,CAAC,8DAA+D,sBAAsB,CAChG;AACF,CAAC","ignoreList":[]}
@@ -1,61 +0,0 @@
1
- import upperFirst from 'lodash.upperfirst';
2
- import flatten from 'lodash.flatten';
3
- import getLinkToPublishedContent from './get-link-to-published-content';
4
- import getLoopPropsLimit from './get-loop-props-limit';
5
- import getPropValue from './get-prop-value';
6
- import { processDataSummaryValue } from '../../../helpers';
7
- const getLoopValue = value => {
8
- const {
9
- keyField
10
- } = value;
11
- return value[keyField];
12
- };
13
- const separateValues = (propsToDisplay, loopProps, data) => {
14
- const regularValues = {};
15
- const loopValues = {};
16
- propsToDisplay.forEach(options => {
17
- const {
18
- propertiesToDisplay
19
- } = options;
20
- propertiesToDisplay.forEach(prop => {
21
- const value = getPropValue(prop, data, options);
22
- const isArrayValue = Array.isArray(value);
23
- if (!value) return;
24
- const isLoopableProp = loopProps.includes(prop) && isArrayValue;
25
- if (isLoopableProp) {
26
- loopValues[prop] = value;
27
- } else {
28
- regularValues[prop] = value;
29
- }
30
- });
31
- });
32
- return [regularValues, loopValues];
33
- };
34
- const buildLoopPropsContent = (loopProps = [], propsToDisplay = [], limit = 0, data = {}, isSlider = false) => {
35
- const loopPropsWithContent = [];
36
- const [regularValues, loopValues] = separateValues(propsToDisplay, loopProps, data);
37
- const loopLimit = getLoopPropsLimit(loopValues, limit);
38
- for (let i = 0; i < loopLimit; i += 1) {
39
- const propsArray = flatten(propsToDisplay.map(options => {
40
- const {
41
- propertiesToDisplay,
42
- label,
43
- modifier = ''
44
- } = options;
45
- return propertiesToDisplay.map(key => {
46
- const loopValue = loopValues[key];
47
- const loopValueItem = loopValue && loopValue[i];
48
- const propValue = loopValueItem ? getLoopValue(loopValueItem) : regularValues[key];
49
- if (!propValue) return null;
50
- const processedValue = processDataSummaryValue(propValue, options);
51
- const linkToPublishedContent = getLinkToPublishedContent(key, data, loopValueItem);
52
- return [upperFirst(label), processedValue, linkToPublishedContent, modifier];
53
- });
54
- })).filter(Boolean);
55
- loopPropsWithContent.push(propsArray);
56
- }
57
- if (isSlider) return loopPropsWithContent;
58
- return flatten(loopPropsWithContent);
59
- };
60
- export default buildLoopPropsContent;
61
- //# sourceMappingURL=build-loop-props-content.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"build-loop-props-content.js","names":["upperFirst","flatten","getLinkToPublishedContent","getLoopPropsLimit","getPropValue","processDataSummaryValue","getLoopValue","value","keyField","separateValues","propsToDisplay","loopProps","data","regularValues","loopValues","forEach","options","propertiesToDisplay","prop","isArrayValue","Array","isArray","isLoopableProp","includes","buildLoopPropsContent","limit","isSlider","loopPropsWithContent","loopLimit","i","propsArray","map","label","modifier","key","loopValue","loopValueItem","propValue","processedValue","linkToPublishedContent","filter","Boolean","push"],"sources":["../../../../src/components/DataSummary/helpers/build-loop-props-content.js"],"sourcesContent":["import upperFirst from 'lodash.upperfirst';\nimport flatten from 'lodash.flatten';\nimport getLinkToPublishedContent from './get-link-to-published-content';\nimport getLoopPropsLimit from './get-loop-props-limit';\nimport getPropValue from './get-prop-value';\nimport { processDataSummaryValue } from '../../../helpers';\n\nconst getLoopValue = value => {\n const { keyField } = value;\n return value[keyField];\n};\n\nconst separateValues = (propsToDisplay, loopProps, data) => {\n const regularValues = {};\n const loopValues = {};\n\n propsToDisplay.forEach(options => {\n const { propertiesToDisplay } = options;\n propertiesToDisplay.forEach(prop => {\n const value = getPropValue(prop, data, options);\n const isArrayValue = Array.isArray(value);\n if (!value) return;\n const isLoopableProp = loopProps.includes(prop) && isArrayValue;\n\n if (isLoopableProp) {\n loopValues[prop] = value;\n } else {\n regularValues[prop] = value;\n }\n });\n });\n return [regularValues, loopValues];\n};\n\nconst buildLoopPropsContent = (\n loopProps = [],\n propsToDisplay = [],\n limit = 0,\n data = {},\n isSlider = false\n) => {\n const loopPropsWithContent = [];\n const [regularValues, loopValues] = separateValues(propsToDisplay, loopProps, data);\n const loopLimit = getLoopPropsLimit(loopValues, limit);\n\n for (let i = 0; i < loopLimit; i += 1) {\n const propsArray = flatten(\n propsToDisplay.map(options => {\n const { propertiesToDisplay, label, modifier = '' } = options;\n\n return propertiesToDisplay.map(key => {\n const loopValue = loopValues[key];\n const loopValueItem = loopValue && loopValue[i];\n const propValue = loopValueItem ? getLoopValue(loopValueItem) : regularValues[key];\n if (!propValue) return null;\n\n const processedValue = processDataSummaryValue(propValue, options);\n const linkToPublishedContent = getLinkToPublishedContent(key, data, loopValueItem);\n return [upperFirst(label), processedValue, linkToPublishedContent, modifier];\n });\n })\n ).filter(Boolean);\n loopPropsWithContent.push(propsArray);\n }\n if (isSlider) return loopPropsWithContent;\n return flatten(loopPropsWithContent);\n};\n\nexport default buildLoopPropsContent;\n"],"mappings":"AAAA,OAAOA,UAAU,MAAM,mBAAmB;AAC1C,OAAOC,OAAO,MAAM,gBAAgB;AACpC,OAAOC,yBAAyB,MAAM,iCAAiC;AACvE,OAAOC,iBAAiB,MAAM,wBAAwB;AACtD,OAAOC,YAAY,MAAM,kBAAkB;AAC3C,SAASC,uBAAuB,QAAQ,kBAAkB;AAE1D,MAAMC,YAAY,GAAGC,KAAK,IAAI;EAC5B,MAAM;IAAEC;EAAS,CAAC,GAAGD,KAAK;EAC1B,OAAOA,KAAK,CAACC,QAAQ,CAAC;AACxB,CAAC;AAED,MAAMC,cAAc,GAAGA,CAACC,cAAc,EAAEC,SAAS,EAAEC,IAAI,KAAK;EAC1D,MAAMC,aAAa,GAAG,CAAC,CAAC;EACxB,MAAMC,UAAU,GAAG,CAAC,CAAC;EAErBJ,cAAc,CAACK,OAAO,CAACC,OAAO,IAAI;IAChC,MAAM;MAAEC;IAAoB,CAAC,GAAGD,OAAO;IACvCC,mBAAmB,CAACF,OAAO,CAACG,IAAI,IAAI;MAClC,MAAMX,KAAK,GAAGH,YAAY,CAACc,IAAI,EAAEN,IAAI,EAAEI,OAAO,CAAC;MAC/C,MAAMG,YAAY,GAAGC,KAAK,CAACC,OAAO,CAACd,KAAK,CAAC;MACzC,IAAI,CAACA,KAAK,EAAE;MACZ,MAAMe,cAAc,GAAGX,SAAS,CAACY,QAAQ,CAACL,IAAI,CAAC,IAAIC,YAAY;MAE/D,IAAIG,cAAc,EAAE;QAClBR,UAAU,CAACI,IAAI,CAAC,GAAGX,KAAK;MAC1B,CAAC,MAAM;QACLM,aAAa,CAACK,IAAI,CAAC,GAAGX,KAAK;MAC7B;IACF,CAAC,CAAC;EACJ,CAAC,CAAC;EACF,OAAO,CAACM,aAAa,EAAEC,UAAU,CAAC;AACpC,CAAC;AAED,MAAMU,qBAAqB,GAAGA,CAC5Bb,SAAS,GAAG,EAAE,EACdD,cAAc,GAAG,EAAE,EACnBe,KAAK,GAAG,CAAC,EACTb,IAAI,GAAG,CAAC,CAAC,EACTc,QAAQ,GAAG,KAAK,KACb;EACH,MAAMC,oBAAoB,GAAG,EAAE;EAC/B,MAAM,CAACd,aAAa,EAAEC,UAAU,CAAC,GAAGL,cAAc,CAACC,cAAc,EAAEC,SAAS,EAAEC,IAAI,CAAC;EACnF,MAAMgB,SAAS,GAAGzB,iBAAiB,CAACW,UAAU,EAAEW,KAAK,CAAC;EAEtD,KAAK,IAAII,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGD,SAAS,EAAEC,CAAC,IAAI,CAAC,EAAE;IACrC,MAAMC,UAAU,GAAG7B,OAAO,CACxBS,cAAc,CAACqB,GAAG,CAACf,OAAO,IAAI;MAC5B,MAAM;QAAEC,mBAAmB;QAAEe,KAAK;QAAEC,QAAQ,GAAG;MAAG,CAAC,GAAGjB,OAAO;MAE7D,OAAOC,mBAAmB,CAACc,GAAG,CAACG,GAAG,IAAI;QACpC,MAAMC,SAAS,GAAGrB,UAAU,CAACoB,GAAG,CAAC;QACjC,MAAME,aAAa,GAAGD,SAAS,IAAIA,SAAS,CAACN,CAAC,CAAC;QAC/C,MAAMQ,SAAS,GAAGD,aAAa,GAAG9B,YAAY,CAAC8B,aAAa,CAAC,GAAGvB,aAAa,CAACqB,GAAG,CAAC;QAClF,IAAI,CAACG,SAAS,EAAE,OAAO,IAAI;QAE3B,MAAMC,cAAc,GAAGjC,uBAAuB,CAACgC,SAAS,EAAErB,OAAO,CAAC;QAClE,MAAMuB,sBAAsB,GAAGrC,yBAAyB,CAACgC,GAAG,EAAEtB,IAAI,EAAEwB,aAAa,CAAC;QAClF,OAAO,CAACpC,UAAU,CAACgC,KAAK,CAAC,EAAEM,cAAc,EAAEC,sBAAsB,EAAEN,QAAQ,CAAC;MAC9E,CAAC,CAAC;IACJ,CAAC,CACH,CAAC,CAACO,MAAM,CAACC,OAAO,CAAC;IACjBd,oBAAoB,CAACe,IAAI,CAACZ,UAAU,CAAC;EACvC;EACA,IAAIJ,QAAQ,EAAE,OAAOC,oBAAoB;EACzC,OAAO1B,OAAO,CAAC0B,oBAAoB,CAAC;AACtC,CAAC;AAED,eAAeH,qBAAqB","ignoreList":[]}
@@ -1,45 +0,0 @@
1
- import upperFirst from 'lodash.upperfirst';
2
- import flatten from 'lodash.flatten';
3
- import { isObject, processDataSummaryValue } from '../../../helpers';
4
- import getLinkToPublishedContent from './get-link-to-published-content';
5
- import getPropValue from './get-prop-value';
6
- import getLinkBasedOnValue from './get-link-based-on-value';
7
- const buildPropsToDisplayWithContent = (props, propsToDisplay = []) => {
8
- if (!isObject(propsToDisplay[0])) {
9
- return propsToDisplay.map(key => {
10
- if (!key) return null;
11
- const propValue = getPropValue(key, props);
12
- if (!propValue) return null;
13
- const propName = key.split('.').join(' ');
14
- return [upperFirst(propName), propValue, '', ''];
15
- }).filter(Boolean);
16
- }
17
- return flatten(propsToDisplay.map(options => {
18
- const {
19
- propertiesToDisplay,
20
- label,
21
- modifier = '',
22
- enableLink
23
- } = options;
24
- return propertiesToDisplay.map(key => {
25
- if (!key) return null;
26
- const objPropValue = getPropValue(key, props, options);
27
- if (!objPropValue) return null;
28
- const processedValue = processDataSummaryValue(objPropValue, options);
29
- const link = getLink(enableLink, key, props, processedValue);
30
- return [upperFirst(label), processedValue, link, modifier];
31
- });
32
- })).filter(Boolean);
33
- };
34
- export default buildPropsToDisplayWithContent;
35
- function getLink(enableLink, key, props, objPropValue) {
36
- let link = '';
37
- if (enableLink) {
38
- link = getLinkToPublishedContent(key, props);
39
- if (!link) {
40
- link = getLinkBasedOnValue(objPropValue);
41
- }
42
- }
43
- return link;
44
- }
45
- //# sourceMappingURL=build-props-to-display-with-content.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"build-props-to-display-with-content.js","names":["upperFirst","flatten","isObject","processDataSummaryValue","getLinkToPublishedContent","getPropValue","getLinkBasedOnValue","buildPropsToDisplayWithContent","props","propsToDisplay","map","key","propValue","propName","split","join","filter","Boolean","options","propertiesToDisplay","label","modifier","enableLink","objPropValue","processedValue","link","getLink"],"sources":["../../../../src/components/DataSummary/helpers/build-props-to-display-with-content.js"],"sourcesContent":["import upperFirst from 'lodash.upperfirst';\nimport flatten from 'lodash.flatten';\nimport { isObject, processDataSummaryValue } from '../../../helpers';\nimport getLinkToPublishedContent from './get-link-to-published-content';\nimport getPropValue from './get-prop-value';\nimport getLinkBasedOnValue from './get-link-based-on-value';\n\nconst buildPropsToDisplayWithContent = (props, propsToDisplay = []) => {\n if (!isObject(propsToDisplay[0])) {\n return propsToDisplay\n .map(key => {\n if (!key) return null;\n const propValue = getPropValue(key, props);\n if (!propValue) return null;\n const propName = key.split('.').join(' ');\n return [upperFirst(propName), propValue, '', ''];\n })\n .filter(Boolean);\n }\n\n return flatten(\n propsToDisplay.map(options => {\n const { propertiesToDisplay, label, modifier = '', enableLink } = options;\n return propertiesToDisplay.map(key => {\n if (!key) return null;\n\n const objPropValue = getPropValue(key, props, options);\n if (!objPropValue) return null;\n\n const processedValue = processDataSummaryValue(objPropValue, options);\n\n const link = getLink(enableLink, key, props, processedValue);\n\n return [upperFirst(label), processedValue, link, modifier];\n });\n })\n ).filter(Boolean);\n};\n\nexport default buildPropsToDisplayWithContent;\n\nfunction getLink(enableLink, key, props, objPropValue) {\n let link = '';\n if (enableLink) {\n link = getLinkToPublishedContent(key, props);\n if (!link) {\n link = getLinkBasedOnValue(objPropValue);\n }\n }\n return link;\n}\n"],"mappings":"AAAA,OAAOA,UAAU,MAAM,mBAAmB;AAC1C,OAAOC,OAAO,MAAM,gBAAgB;AACpC,SAASC,QAAQ,EAAEC,uBAAuB,QAAQ,kBAAkB;AACpE,OAAOC,yBAAyB,MAAM,iCAAiC;AACvE,OAAOC,YAAY,MAAM,kBAAkB;AAC3C,OAAOC,mBAAmB,MAAM,2BAA2B;AAE3D,MAAMC,8BAA8B,GAAGA,CAACC,KAAK,EAAEC,cAAc,GAAG,EAAE,KAAK;EACrE,IAAI,CAACP,QAAQ,CAACO,cAAc,CAAC,CAAC,CAAC,CAAC,EAAE;IAChC,OAAOA,cAAc,CAClBC,GAAG,CAACC,GAAG,IAAI;MACV,IAAI,CAACA,GAAG,EAAE,OAAO,IAAI;MACrB,MAAMC,SAAS,GAAGP,YAAY,CAACM,GAAG,EAAEH,KAAK,CAAC;MAC1C,IAAI,CAACI,SAAS,EAAE,OAAO,IAAI;MAC3B,MAAMC,QAAQ,GAAGF,GAAG,CAACG,KAAK,CAAC,GAAG,CAAC,CAACC,IAAI,CAAC,GAAG,CAAC;MACzC,OAAO,CAACf,UAAU,CAACa,QAAQ,CAAC,EAAED,SAAS,EAAE,EAAE,EAAE,EAAE,CAAC;IAClD,CAAC,CAAC,CACDI,MAAM,CAACC,OAAO,CAAC;EACpB;EAEA,OAAOhB,OAAO,CACZQ,cAAc,CAACC,GAAG,CAACQ,OAAO,IAAI;IAC5B,MAAM;MAAEC,mBAAmB;MAAEC,KAAK;MAAEC,QAAQ,GAAG,EAAE;MAAEC;IAAW,CAAC,GAAGJ,OAAO;IACzE,OAAOC,mBAAmB,CAACT,GAAG,CAACC,GAAG,IAAI;MACpC,IAAI,CAACA,GAAG,EAAE,OAAO,IAAI;MAErB,MAAMY,YAAY,GAAGlB,YAAY,CAACM,GAAG,EAAEH,KAAK,EAAEU,OAAO,CAAC;MACtD,IAAI,CAACK,YAAY,EAAE,OAAO,IAAI;MAE9B,MAAMC,cAAc,GAAGrB,uBAAuB,CAACoB,YAAY,EAAEL,OAAO,CAAC;MAErE,MAAMO,IAAI,GAAGC,OAAO,CAACJ,UAAU,EAAEX,GAAG,EAAEH,KAAK,EAAEgB,cAAc,CAAC;MAE5D,OAAO,CAACxB,UAAU,CAACoB,KAAK,CAAC,EAAEI,cAAc,EAAEC,IAAI,EAAEJ,QAAQ,CAAC;IAC5D,CAAC,CAAC;EACJ,CAAC,CACH,CAAC,CAACL,MAAM,CAACC,OAAO,CAAC;AACnB,CAAC;AAED,eAAeV,8BAA8B;AAE7C,SAASmB,OAAOA,CAACJ,UAAU,EAAEX,GAAG,EAAEH,KAAK,EAAEe,YAAY,EAAE;EACrD,IAAIE,IAAI,GAAG,EAAE;EACb,IAAIH,UAAU,EAAE;IACdG,IAAI,GAAGrB,yBAAyB,CAACO,GAAG,EAAEH,KAAK,CAAC;IAC5C,IAAI,CAACiB,IAAI,EAAE;MACTA,IAAI,GAAGnB,mBAAmB,CAACiB,YAAY,CAAC;IAC1C;EACF;EACA,OAAOE,IAAI;AACb","ignoreList":[]}
@@ -1,19 +0,0 @@
1
- import { generateSingleItemQuery } from '../../../application/query';
2
- const getDataSummaryQuery = (data, isPreview, extraProps = '') => {
3
- if (!data) {
4
- return null;
5
- }
6
- const {
7
- getEntitySchema
8
- } = data;
9
- const {
10
- actions: {
11
- getPublished,
12
- get
13
- }
14
- } = getEntitySchema;
15
- const actionKey = isPreview ? get : getPublished || get;
16
- return generateSingleItemQuery(actionKey, extraProps);
17
- };
18
- export default getDataSummaryQuery;
19
- //# sourceMappingURL=get-data-summary-query.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-data-summary-query.js","names":["generateSingleItemQuery","getDataSummaryQuery","data","isPreview","extraProps","getEntitySchema","actions","getPublished","get","actionKey"],"sources":["../../../../src/components/DataSummary/helpers/get-data-summary-query.js"],"sourcesContent":["import { generateSingleItemQuery } from '../../../application/query';\n\nconst getDataSummaryQuery = (data, isPreview, extraProps = '') => {\n if (!data) {\n return null;\n }\n\n const { getEntitySchema } = data;\n const {\n actions: { getPublished, get }\n } = getEntitySchema;\n const actionKey = isPreview ? get : getPublished || get;\n\n return generateSingleItemQuery(actionKey, extraProps);\n};\n\nexport default getDataSummaryQuery;\n"],"mappings":"AAAA,SAASA,uBAAuB,QAAQ,4BAA4B;AAEpE,MAAMC,mBAAmB,GAAGA,CAACC,IAAI,EAAEC,SAAS,EAAEC,UAAU,GAAG,EAAE,KAAK;EAChE,IAAI,CAACF,IAAI,EAAE;IACT,OAAO,IAAI;EACb;EAEA,MAAM;IAAEG;EAAgB,CAAC,GAAGH,IAAI;EAChC,MAAM;IACJI,OAAO,EAAE;MAAEC,YAAY;MAAEC;IAAI;EAC/B,CAAC,GAAGH,eAAe;EACnB,MAAMI,SAAS,GAAGN,SAAS,GAAGK,GAAG,GAAGD,YAAY,IAAIC,GAAG;EAEvD,OAAOR,uBAAuB,CAACS,SAAS,EAAEL,UAAU,CAAC;AACvD,CAAC;AAED,eAAeH,mBAAmB","ignoreList":[]}
@@ -1,15 +0,0 @@
1
- import { DATA_SUMMARY_EMAIL_REGEX, DATA_SUMMARY_URL_REGEX, DATA_SUMMARY_TEL_REGEX } from '../../../constants';
2
- function getLinkBasedOnValue(value) {
3
- if (DATA_SUMMARY_EMAIL_REGEX.test(value)) {
4
- return `mailto:${value}`;
5
- }
6
- if (DATA_SUMMARY_URL_REGEX.test(value)) {
7
- return value;
8
- }
9
- if (DATA_SUMMARY_TEL_REGEX.test(value)) {
10
- return `tel:${value}`;
11
- }
12
- return '';
13
- }
14
- export default getLinkBasedOnValue;
15
- //# sourceMappingURL=get-link-based-on-value.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-link-based-on-value.js","names":["DATA_SUMMARY_EMAIL_REGEX","DATA_SUMMARY_URL_REGEX","DATA_SUMMARY_TEL_REGEX","getLinkBasedOnValue","value","test"],"sources":["../../../../src/components/DataSummary/helpers/get-link-based-on-value.js"],"sourcesContent":["import {\n DATA_SUMMARY_EMAIL_REGEX,\n DATA_SUMMARY_URL_REGEX,\n DATA_SUMMARY_TEL_REGEX\n} from '../../../constants';\n\nfunction getLinkBasedOnValue(value) {\n if (DATA_SUMMARY_EMAIL_REGEX.test(value)) {\n return `mailto:${value}`;\n }\n if (DATA_SUMMARY_URL_REGEX.test(value)) {\n return value;\n }\n\n if (DATA_SUMMARY_TEL_REGEX.test(value)) {\n return `tel:${value}`;\n }\n\n return '';\n}\n\nexport default getLinkBasedOnValue;\n"],"mappings":"AAAA,SACEA,wBAAwB,EACxBC,sBAAsB,EACtBC,sBAAsB,QACjB,oBAAoB;AAE3B,SAASC,mBAAmBA,CAACC,KAAK,EAAE;EAClC,IAAIJ,wBAAwB,CAACK,IAAI,CAACD,KAAK,CAAC,EAAE;IACxC,OAAO,UAAUA,KAAK,EAAE;EAC1B;EACA,IAAIH,sBAAsB,CAACI,IAAI,CAACD,KAAK,CAAC,EAAE;IACtC,OAAOA,KAAK;EACd;EAEA,IAAIF,sBAAsB,CAACG,IAAI,CAACD,KAAK,CAAC,EAAE;IACtC,OAAO,OAAOA,KAAK,EAAE;EACvB;EAEA,OAAO,EAAE;AACX;AAEA,eAAeD,mBAAmB","ignoreList":[]}
@@ -1,6 +0,0 @@
1
- const getLinkProps = (props = []) => props.map(({
2
- propertiesToDisplay,
3
- enableLink
4
- }) => enableLink && propertiesToDisplay).flat().filter(Boolean);
5
- export default getLinkProps;
6
- //# sourceMappingURL=get-link-props.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-link-props.js","names":["getLinkProps","props","map","propertiesToDisplay","enableLink","flat","filter","Boolean"],"sources":["../../../../src/components/DataSummary/helpers/get-link-props.js"],"sourcesContent":["const getLinkProps = (props = []) =>\n props\n .map(({ propertiesToDisplay, enableLink }) => enableLink && propertiesToDisplay)\n .flat()\n .filter(Boolean);\n\nexport default getLinkProps;\n"],"mappings":"AAAA,MAAMA,YAAY,GAAGA,CAACC,KAAK,GAAG,EAAE,KAC9BA,KAAK,CACFC,GAAG,CAAC,CAAC;EAAEC,mBAAmB;EAAEC;AAAW,CAAC,KAAKA,UAAU,IAAID,mBAAmB,CAAC,CAC/EE,IAAI,CAAC,CAAC,CACNC,MAAM,CAACC,OAAO,CAAC;AAEpB,eAAeP,YAAY","ignoreList":[]}
@@ -1,9 +0,0 @@
1
- const getLinkToPublishedContent = (key = '', props = {}, currentValue = null) => {
2
- const [baseKey] = key.split('.');
3
- if (!props[baseKey]) return '';
4
- if (currentValue && typeof currentValue.url !== 'undefined') return currentValue.url;
5
- const content = Array.isArray(props[baseKey]) ? props[baseKey][0] : props[baseKey];
6
- return content && content.url ? content.url : '';
7
- };
8
- export default getLinkToPublishedContent;
9
- //# sourceMappingURL=get-link-to-published-content.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-link-to-published-content.js","names":["getLinkToPublishedContent","key","props","currentValue","baseKey","split","url","content","Array","isArray"],"sources":["../../../../src/components/DataSummary/helpers/get-link-to-published-content.js"],"sourcesContent":["const getLinkToPublishedContent = (key = '', props = {}, currentValue = null) => {\n const [baseKey] = key.split('.');\n if (!props[baseKey]) return '';\n\n if (currentValue && typeof currentValue.url !== 'undefined') return currentValue.url;\n\n const content = Array.isArray(props[baseKey]) ? props[baseKey][0] : props[baseKey];\n return content && content.url ? content.url : '';\n};\n\nexport default getLinkToPublishedContent;\n"],"mappings":"AAAA,MAAMA,yBAAyB,GAAGA,CAACC,GAAG,GAAG,EAAE,EAAEC,KAAK,GAAG,CAAC,CAAC,EAAEC,YAAY,GAAG,IAAI,KAAK;EAC/E,MAAM,CAACC,OAAO,CAAC,GAAGH,GAAG,CAACI,KAAK,CAAC,GAAG,CAAC;EAChC,IAAI,CAACH,KAAK,CAACE,OAAO,CAAC,EAAE,OAAO,EAAE;EAE9B,IAAID,YAAY,IAAI,OAAOA,YAAY,CAACG,GAAG,KAAK,WAAW,EAAE,OAAOH,YAAY,CAACG,GAAG;EAEpF,MAAMC,OAAO,GAAGC,KAAK,CAACC,OAAO,CAACP,KAAK,CAACE,OAAO,CAAC,CAAC,GAAGF,KAAK,CAACE,OAAO,CAAC,CAAC,CAAC,CAAC,GAAGF,KAAK,CAACE,OAAO,CAAC;EAClF,OAAOG,OAAO,IAAIA,OAAO,CAACD,GAAG,GAAGC,OAAO,CAACD,GAAG,GAAG,EAAE;AAClD,CAAC;AAED,eAAeN,yBAAyB","ignoreList":[]}
@@ -1,12 +0,0 @@
1
- const getLoopPropsLimit = (values, limit) => {
2
- let valuesLimit = 1;
3
- if (!values) return valuesLimit;
4
- Object.keys(values).forEach(key => {
5
- const value = values[key];
6
- if (value && Array.isArray(value) && value.length > valuesLimit) valuesLimit = value.length;
7
- });
8
- if (!limit || valuesLimit < limit) return valuesLimit;
9
- return limit;
10
- };
11
- export default getLoopPropsLimit;
12
- //# sourceMappingURL=get-loop-props-limit.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-loop-props-limit.js","names":["getLoopPropsLimit","values","limit","valuesLimit","Object","keys","forEach","key","value","Array","isArray","length"],"sources":["../../../../src/components/DataSummary/helpers/get-loop-props-limit.js"],"sourcesContent":["const getLoopPropsLimit = (values, limit) => {\n let valuesLimit = 1;\n if (!values) return valuesLimit;\n Object.keys(values).forEach(key => {\n const value = values[key];\n if (value && Array.isArray(value) && value.length > valuesLimit) valuesLimit = value.length;\n });\n if (!limit || valuesLimit < limit) return valuesLimit;\n return limit;\n};\n\nexport default getLoopPropsLimit;\n"],"mappings":"AAAA,MAAMA,iBAAiB,GAAGA,CAACC,MAAM,EAAEC,KAAK,KAAK;EAC3C,IAAIC,WAAW,GAAG,CAAC;EACnB,IAAI,CAACF,MAAM,EAAE,OAAOE,WAAW;EAC/BC,MAAM,CAACC,IAAI,CAACJ,MAAM,CAAC,CAACK,OAAO,CAACC,GAAG,IAAI;IACjC,MAAMC,KAAK,GAAGP,MAAM,CAACM,GAAG,CAAC;IACzB,IAAIC,KAAK,IAAIC,KAAK,CAACC,OAAO,CAACF,KAAK,CAAC,IAAIA,KAAK,CAACG,MAAM,GAAGR,WAAW,EAAEA,WAAW,GAAGK,KAAK,CAACG,MAAM;EAC7F,CAAC,CAAC;EACF,IAAI,CAACT,KAAK,IAAIC,WAAW,GAAGD,KAAK,EAAE,OAAOC,WAAW;EACrD,OAAOD,KAAK;AACd,CAAC;AAED,eAAeF,iBAAiB","ignoreList":[]}
@@ -1,20 +0,0 @@
1
- import getValueFromArray from './get-value-from-array';
2
- const getPropValue = (key, props, options = {}) => {
3
- const baseKey = key.split('.')[0];
4
- const nestedKey = key.split('.').filter((_, i) => i !== 0).join('.');
5
- const {
6
- prefix = '',
7
- suffix = ''
8
- } = options;
9
- const value = props[baseKey];
10
- if (typeof value !== 'boolean' && !value) return null;
11
- if (nestedKey) {
12
- const valueIsArray = Array.isArray(value);
13
- const nestedValue = !valueIsArray ? value[nestedKey] : '';
14
- if (valueIsArray) return getValueFromArray(nestedKey, value, prefix, suffix);
15
- return nestedValue ? `${prefix} ${nestedValue} ${suffix}`.trim() : null;
16
- }
17
- return `${prefix} ${value} ${suffix}`.trim();
18
- };
19
- export default getPropValue;
20
- //# sourceMappingURL=get-prop-value.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-prop-value.js","names":["getValueFromArray","getPropValue","key","props","options","baseKey","split","nestedKey","filter","_","i","join","prefix","suffix","value","valueIsArray","Array","isArray","nestedValue","trim"],"sources":["../../../../src/components/DataSummary/helpers/get-prop-value.js"],"sourcesContent":["import getValueFromArray from './get-value-from-array';\n\nconst getPropValue = (key, props, options = {}) => {\n const baseKey = key.split('.')[0];\n const nestedKey = key\n .split('.')\n .filter((_, i) => i !== 0)\n .join('.');\n const { prefix = '', suffix = '' } = options;\n const value = props[baseKey];\n\n if (typeof value !== 'boolean' && !value) return null;\n\n if (nestedKey) {\n const valueIsArray = Array.isArray(value);\n const nestedValue = !valueIsArray ? value[nestedKey] : '';\n if (valueIsArray) return getValueFromArray(nestedKey, value, prefix, suffix);\n return nestedValue ? `${prefix} ${nestedValue} ${suffix}`.trim() : null;\n }\n\n return `${prefix} ${value} ${suffix}`.trim();\n};\n\nexport default getPropValue;\n"],"mappings":"AAAA,OAAOA,iBAAiB,MAAM,wBAAwB;AAEtD,MAAMC,YAAY,GAAGA,CAACC,GAAG,EAAEC,KAAK,EAAEC,OAAO,GAAG,CAAC,CAAC,KAAK;EACjD,MAAMC,OAAO,GAAGH,GAAG,CAACI,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;EACjC,MAAMC,SAAS,GAAGL,GAAG,CAClBI,KAAK,CAAC,GAAG,CAAC,CACVE,MAAM,CAAC,CAACC,CAAC,EAAEC,CAAC,KAAKA,CAAC,KAAK,CAAC,CAAC,CACzBC,IAAI,CAAC,GAAG,CAAC;EACZ,MAAM;IAAEC,MAAM,GAAG,EAAE;IAAEC,MAAM,GAAG;EAAG,CAAC,GAAGT,OAAO;EAC5C,MAAMU,KAAK,GAAGX,KAAK,CAACE,OAAO,CAAC;EAE5B,IAAI,OAAOS,KAAK,KAAK,SAAS,IAAI,CAACA,KAAK,EAAE,OAAO,IAAI;EAErD,IAAIP,SAAS,EAAE;IACb,MAAMQ,YAAY,GAAGC,KAAK,CAACC,OAAO,CAACH,KAAK,CAAC;IACzC,MAAMI,WAAW,GAAG,CAACH,YAAY,GAAGD,KAAK,CAACP,SAAS,CAAC,GAAG,EAAE;IACzD,IAAIQ,YAAY,EAAE,OAAOf,iBAAiB,CAACO,SAAS,EAAEO,KAAK,EAAEF,MAAM,EAAEC,MAAM,CAAC;IAC5E,OAAOK,WAAW,GAAG,GAAGN,MAAM,IAAIM,WAAW,IAAIL,MAAM,EAAE,CAACM,IAAI,CAAC,CAAC,GAAG,IAAI;EACzE;EAEA,OAAO,GAAGP,MAAM,IAAIE,KAAK,IAAID,MAAM,EAAE,CAACM,IAAI,CAAC,CAAC;AAC9C,CAAC;AAED,eAAelB,YAAY","ignoreList":[]}
@@ -1,17 +0,0 @@
1
- import { isObject } from '../../../helpers';
2
- const getValueFromArray = (key, arr, prefix, suffix) => {
3
- const valuesFromArray = arr.map(obj => {
4
- const value = isObject(obj) ? obj[key] : obj;
5
- if (typeof value !== 'boolean' && !value) return null;
6
- const objValueWithPrefixSuffix = `${prefix}${value}${suffix}`;
7
- const objValueLink = obj.url || '';
8
- return {
9
- keyField: key,
10
- [key]: objValueWithPrefixSuffix,
11
- url: objValueLink
12
- };
13
- }).filter(Boolean);
14
- return valuesFromArray.length ? valuesFromArray : null;
15
- };
16
- export default getValueFromArray;
17
- //# sourceMappingURL=get-value-from-array.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-value-from-array.js","names":["isObject","getValueFromArray","key","arr","prefix","suffix","valuesFromArray","map","obj","value","objValueWithPrefixSuffix","objValueLink","url","keyField","filter","Boolean","length"],"sources":["../../../../src/components/DataSummary/helpers/get-value-from-array.js"],"sourcesContent":["import { isObject } from '../../../helpers';\n\nconst getValueFromArray = (key, arr, prefix, suffix) => {\n const valuesFromArray = arr\n .map(obj => {\n const value = isObject(obj) ? obj[key] : obj;\n if (typeof value !== 'boolean' && !value) return null;\n const objValueWithPrefixSuffix = `${prefix}${value}${suffix}`;\n const objValueLink = obj.url || '';\n\n return { keyField: key, [key]: objValueWithPrefixSuffix, url: objValueLink };\n })\n .filter(Boolean);\n return valuesFromArray.length ? valuesFromArray : null;\n};\n\nexport default getValueFromArray;\n"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,kBAAkB;AAE3C,MAAMC,iBAAiB,GAAGA,CAACC,GAAG,EAAEC,GAAG,EAAEC,MAAM,EAAEC,MAAM,KAAK;EACtD,MAAMC,eAAe,GAAGH,GAAG,CACxBI,GAAG,CAACC,GAAG,IAAI;IACV,MAAMC,KAAK,GAAGT,QAAQ,CAACQ,GAAG,CAAC,GAAGA,GAAG,CAACN,GAAG,CAAC,GAAGM,GAAG;IAC5C,IAAI,OAAOC,KAAK,KAAK,SAAS,IAAI,CAACA,KAAK,EAAE,OAAO,IAAI;IACrD,MAAMC,wBAAwB,GAAG,GAAGN,MAAM,GAAGK,KAAK,GAAGJ,MAAM,EAAE;IAC7D,MAAMM,YAAY,GAAGH,GAAG,CAACI,GAAG,IAAI,EAAE;IAElC,OAAO;MAAEC,QAAQ,EAAEX,GAAG;MAAE,CAACA,GAAG,GAAGQ,wBAAwB;MAAEE,GAAG,EAAED;IAAa,CAAC;EAC9E,CAAC,CAAC,CACDG,MAAM,CAACC,OAAO,CAAC;EAClB,OAAOT,eAAe,CAACU,MAAM,GAAGV,eAAe,GAAG,IAAI;AACxD,CAAC;AAED,eAAeL,iBAAiB","ignoreList":[]}
@@ -1,10 +0,0 @@
1
- import getDataSummaryQuery from './get-data-summary-query';
2
- import buildPropsToDisplayWithContent from './build-props-to-display-with-content';
3
- import getLinkToPublishedContent from './get-link-to-published-content';
4
- import stripSummaryPropsContent from './strip-summary-props-content';
5
- import buildLoopPropsContent from './build-loop-props-content';
6
- import parseBooleanValues from './parse-boolean-values';
7
- import getLinkBasedOnValue from './get-link-based-on-value';
8
- import getLinkProps from './get-link-props';
9
- export { getDataSummaryQuery, buildPropsToDisplayWithContent, getLinkToPublishedContent, stripSummaryPropsContent, buildLoopPropsContent, parseBooleanValues, getLinkBasedOnValue, getLinkProps };
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":["getDataSummaryQuery","buildPropsToDisplayWithContent","getLinkToPublishedContent","stripSummaryPropsContent","buildLoopPropsContent","parseBooleanValues","getLinkBasedOnValue","getLinkProps"],"sources":["../../../../src/components/DataSummary/helpers/index.js"],"sourcesContent":["import getDataSummaryQuery from './get-data-summary-query';\nimport buildPropsToDisplayWithContent from './build-props-to-display-with-content';\nimport getLinkToPublishedContent from './get-link-to-published-content';\nimport stripSummaryPropsContent from './strip-summary-props-content';\nimport buildLoopPropsContent from './build-loop-props-content';\nimport parseBooleanValues from './parse-boolean-values';\nimport getLinkBasedOnValue from './get-link-based-on-value';\nimport getLinkProps from './get-link-props';\n\nexport {\n getDataSummaryQuery,\n buildPropsToDisplayWithContent,\n getLinkToPublishedContent,\n stripSummaryPropsContent,\n buildLoopPropsContent,\n parseBooleanValues,\n getLinkBasedOnValue,\n getLinkProps\n};\n"],"mappings":"AAAA,OAAOA,mBAAmB,MAAM,0BAA0B;AAC1D,OAAOC,8BAA8B,MAAM,uCAAuC;AAClF,OAAOC,yBAAyB,MAAM,iCAAiC;AACvE,OAAOC,wBAAwB,MAAM,+BAA+B;AACpE,OAAOC,qBAAqB,MAAM,4BAA4B;AAC9D,OAAOC,kBAAkB,MAAM,wBAAwB;AACvD,OAAOC,mBAAmB,MAAM,2BAA2B;AAC3D,OAAOC,YAAY,MAAM,kBAAkB;AAE3C,SACEP,mBAAmB,EACnBC,8BAA8B,EAC9BC,yBAAyB,EACzBC,wBAAwB,EACxBC,qBAAqB,EACrBC,kBAAkB,EAClBC,mBAAmB,EACnBC,YAAY","ignoreList":[]}
@@ -1,7 +0,0 @@
1
- const parseBooleanValues = (wrappedValue, summaryTitle) => {
2
- if (wrappedValue === 'false') return null;
3
- if (wrappedValue === 'true') return summaryTitle;
4
- return wrappedValue;
5
- };
6
- export default parseBooleanValues;
7
- //# sourceMappingURL=parse-boolean-values.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parse-boolean-values.js","names":["parseBooleanValues","wrappedValue","summaryTitle"],"sources":["../../../../src/components/DataSummary/helpers/parse-boolean-values.js"],"sourcesContent":["const parseBooleanValues = (wrappedValue, summaryTitle) => {\n if (wrappedValue === 'false') return null;\n if (wrappedValue === 'true') return summaryTitle;\n return wrappedValue;\n};\nexport default parseBooleanValues;\n"],"mappings":"AAAA,MAAMA,kBAAkB,GAAGA,CAACC,YAAY,EAAEC,YAAY,KAAK;EACzD,IAAID,YAAY,KAAK,OAAO,EAAE,OAAO,IAAI;EACzC,IAAIA,YAAY,KAAK,MAAM,EAAE,OAAOC,YAAY;EAChD,OAAOD,YAAY;AACrB,CAAC;AACD,eAAeD,kBAAkB","ignoreList":[]}
@@ -1,14 +0,0 @@
1
- import { removeUnwantedCharacters } from '../../../helpers';
2
- function stripSummaryPropsContent(propsToDisplay, summaryPropsWithContent) {
3
- if (!propsToDisplay || !propsToDisplay[0] || !propsToDisplay[0].shouldStrip) return summaryPropsWithContent;
4
- return summaryPropsWithContent.reduce((acc, summaryProp) => {
5
- const [, contentWithUnwantedCharacters] = summaryProp;
6
- const sanitizedContent = removeUnwantedCharacters(contentWithUnwantedCharacters);
7
- const summaryPropsCopy = [...summaryProp];
8
- summaryPropsCopy[1] = sanitizedContent;
9
- acc.push(summaryPropsCopy);
10
- return acc;
11
- }, []);
12
- }
13
- export default stripSummaryPropsContent;
14
- //# sourceMappingURL=strip-summary-props-content.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"strip-summary-props-content.js","names":["removeUnwantedCharacters","stripSummaryPropsContent","propsToDisplay","summaryPropsWithContent","shouldStrip","reduce","acc","summaryProp","contentWithUnwantedCharacters","sanitizedContent","summaryPropsCopy","push"],"sources":["../../../../src/components/DataSummary/helpers/strip-summary-props-content.js"],"sourcesContent":["import { removeUnwantedCharacters } from '../../../helpers';\n\nfunction stripSummaryPropsContent(propsToDisplay, summaryPropsWithContent) {\n if (!propsToDisplay || !propsToDisplay[0] || !propsToDisplay[0].shouldStrip)\n return summaryPropsWithContent;\n\n return summaryPropsWithContent.reduce((acc, summaryProp) => {\n const [, contentWithUnwantedCharacters] = summaryProp;\n const sanitizedContent = removeUnwantedCharacters(contentWithUnwantedCharacters);\n\n const summaryPropsCopy = [...summaryProp];\n summaryPropsCopy[1] = sanitizedContent;\n\n acc.push(summaryPropsCopy);\n return acc;\n }, []);\n}\n\nexport default stripSummaryPropsContent;\n"],"mappings":"AAAA,SAASA,wBAAwB,QAAQ,kBAAkB;AAE3D,SAASC,wBAAwBA,CAACC,cAAc,EAAEC,uBAAuB,EAAE;EACzE,IAAI,CAACD,cAAc,IAAI,CAACA,cAAc,CAAC,CAAC,CAAC,IAAI,CAACA,cAAc,CAAC,CAAC,CAAC,CAACE,WAAW,EACzE,OAAOD,uBAAuB;EAEhC,OAAOA,uBAAuB,CAACE,MAAM,CAAC,CAACC,GAAG,EAAEC,WAAW,KAAK;IAC1D,MAAM,GAAGC,6BAA6B,CAAC,GAAGD,WAAW;IACrD,MAAME,gBAAgB,GAAGT,wBAAwB,CAACQ,6BAA6B,CAAC;IAEhF,MAAME,gBAAgB,GAAG,CAAC,GAAGH,WAAW,CAAC;IACzCG,gBAAgB,CAAC,CAAC,CAAC,GAAGD,gBAAgB;IAEtCH,GAAG,CAACK,IAAI,CAACD,gBAAgB,CAAC;IAC1B,OAAOJ,GAAG;EACZ,CAAC,EAAE,EAAE,CAAC;AACR;AAEA,eAAeL,wBAAwB","ignoreList":[]}