@blaze-cms/react-page-builder 0.146.0-node18.1 → 0.146.0-rc-eagle-3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +51 -12
- package/README.md +1 -1
- package/lib/BannerContext/helpers/index.js +2 -3
- package/lib/BannerContext/helpers/index.js.map +1 -1
- package/lib/BannerContext/helpers/set-initial-banner-counters.js +13 -17
- package/lib/BannerContext/helpers/set-initial-banner-counters.js.map +1 -1
- package/lib/BannerContext/index.js +20 -26
- package/lib/BannerContext/index.js.map +1 -1
- package/lib/HOC/index.js +2 -3
- package/lib/HOC/index.js.map +1 -1
- package/lib/HOC/recreateOnNavigation.js +11 -12
- package/lib/HOC/recreateOnNavigation.js.map +1 -1
- package/lib/HOC/withInfiniteScroll.js +48 -81
- package/lib/HOC/withInfiniteScroll.js.map +1 -1
- package/lib/HOC/withTitle.js +22 -30
- package/lib/HOC/withTitle.js.map +1 -1
- package/lib/PBContext/index.js +3 -4
- package/lib/PBContext/index.js.map +1 -1
- package/lib/application/query/index.js +180 -45
- package/lib/application/query/index.js.map +1 -1
- package/lib/components/BackToTop/BackToTop.js +17 -32
- package/lib/components/BackToTop/BackToTop.js.map +1 -1
- package/lib/components/BackToTop/index.js +2 -3
- package/lib/components/BackToTop/index.js.map +1 -1
- package/lib/components/Banner/AdSlotRender.js +46 -63
- package/lib/components/Banner/AdSlotRender.js.map +1 -1
- package/lib/components/Banner/Banner.js +64 -64
- package/lib/components/Banner/Banner.js.map +1 -1
- package/lib/components/Banner/BannerRender.js +89 -88
- package/lib/components/Banner/BannerRender.js.map +1 -1
- package/lib/components/Banner/helpers.js +90 -136
- package/lib/components/Banner/helpers.js.map +1 -1
- package/lib/components/Banner/index.js +4 -17
- package/lib/components/Banner/index.js.map +1 -1
- package/lib/components/BlazeLink.js +38 -52
- package/lib/components/BlazeLink.js.map +1 -1
- package/lib/components/Breadcrumb/Breadcrumb.js +67 -71
- package/lib/components/Breadcrumb/Breadcrumb.js.map +1 -1
- package/lib/components/Breadcrumb/index.js +2 -3
- package/lib/components/Breadcrumb/index.js.map +1 -1
- package/lib/components/Button.js +73 -88
- package/lib/components/Button.js.map +1 -1
- package/lib/components/Card/Card.js +189 -189
- package/lib/components/Card/Card.js.map +1 -1
- package/lib/components/Card/CardsContainer.js +109 -120
- package/lib/components/Card/CardsContainer.js.map +1 -1
- package/lib/components/Card/CardsFactory.js +62 -58
- package/lib/components/Card/CardsFactory.js.map +1 -1
- package/lib/components/Card/CardsRender.js +167 -185
- package/lib/components/Card/CardsRender.js.map +1 -1
- package/lib/components/Card/constants.js +2 -3
- package/lib/components/Card/constants.js.map +1 -1
- package/lib/components/Card/helpers/get-dynamic-grid-classes.js +16 -22
- package/lib/components/Card/helpers/get-dynamic-grid-classes.js.map +1 -1
- package/lib/components/Card/helpers/get-published-listing-url.js +3 -6
- package/lib/components/Card/helpers/get-published-listing-url.js.map +1 -1
- package/lib/components/Card/helpers/index.js +18 -19
- package/lib/components/Card/helpers/index.js.map +1 -1
- package/lib/components/Card/helpers/use-dynamic-size-key.js +5 -11
- package/lib/components/Card/helpers/use-dynamic-size-key.js.map +1 -1
- package/lib/components/Card/index.js +2 -3
- package/lib/components/Card/index.js.map +1 -1
- package/lib/components/Carousel/Carousel.js +60 -26
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/Carousel/CarouselImage/CarouselImage.js +36 -34
- package/lib/components/Carousel/CarouselImage/CarouselImage.js.map +1 -1
- package/lib/components/Carousel/CarouselImage/constants.js +1 -2
- package/lib/components/Carousel/CarouselImage/constants.js.map +1 -1
- package/lib/components/Carousel/CarouselImage/index.js +2 -3
- package/lib/components/Carousel/CarouselImage/index.js.map +1 -1
- package/lib/components/Carousel/CarouselRender/CarouselRender.js +41 -48
- package/lib/components/Carousel/CarouselRender/CarouselRender.js.map +1 -1
- package/lib/components/Carousel/CarouselRender/index.js +2 -3
- package/lib/components/Carousel/CarouselRender/index.js.map +1 -1
- package/lib/components/Carousel/hooks/useCarouselNavigation.js +25 -26
- package/lib/components/Carousel/hooks/useCarouselNavigation.js.map +1 -1
- package/lib/components/Carousel/index.js +2 -3
- package/lib/components/Carousel/index.js.map +1 -1
- package/lib/components/CarouselWrapper/CarouselWrapper.js +11 -10
- package/lib/components/CarouselWrapper/CarouselWrapper.js.map +1 -1
- package/lib/components/CarouselWrapper/DefaultCarousel.js +73 -80
- package/lib/components/CarouselWrapper/DefaultCarousel.js.map +1 -1
- package/lib/components/CarouselWrapper/SmoothScrollCarousel.js +23 -23
- package/lib/components/CarouselWrapper/SmoothScrollCarousel.js.map +1 -1
- package/lib/components/CarouselWrapper/index.js +2 -3
- package/lib/components/CarouselWrapper/index.js.map +1 -1
- package/lib/components/ClickWrapper.js +21 -38
- package/lib/components/ClickWrapper.js.map +1 -1
- package/lib/components/Code/Code.js +21 -34
- package/lib/components/Code/Code.js.map +1 -1
- package/lib/components/Code/ScriptTag.js +16 -29
- package/lib/components/Code/ScriptTag.js.map +1 -1
- package/lib/components/Code/helpers/index.js +2 -3
- package/lib/components/Code/helpers/index.js.map +1 -1
- package/lib/components/Code/helpers/wrap-script-tags.js +12 -15
- package/lib/components/Code/helpers/wrap-script-tags.js.map +1 -1
- package/lib/components/Code/index.js +2 -3
- package/lib/components/Code/index.js.map +1 -1
- package/lib/components/ContentGroup/ContentGroup.js +85 -18
- package/lib/components/ContentGroup/ContentGroup.js.map +1 -1
- package/lib/components/ContentGroup/ContentGroupAccordion.js +147 -0
- package/lib/components/ContentGroup/ContentGroupAccordion.js.map +1 -0
- package/lib/components/ContentGroup/ContentGroupDataFetcher.js +97 -0
- package/lib/components/ContentGroup/ContentGroupDataFetcher.js.map +1 -0
- package/lib/components/ContentGroup/ContentGroupTabs.js +49 -63
- package/lib/components/ContentGroup/ContentGroupTabs.js.map +1 -1
- package/lib/components/ContentGroup/constants.js +17 -7
- package/lib/components/ContentGroup/constants.js.map +1 -1
- package/lib/components/ContentGroup/helpers/build-data-sections.js +47 -0
- package/lib/components/ContentGroup/helpers/build-data-sections.js.map +1 -0
- package/lib/components/ContentGroup/helpers/get-active-tab.js +7 -13
- package/lib/components/ContentGroup/helpers/get-active-tab.js.map +1 -1
- package/lib/components/ContentGroup/helpers/get-sections-data.js +15 -19
- package/lib/components/ContentGroup/helpers/get-sections-data.js.map +1 -1
- package/lib/components/ContentGroup/helpers/get-structured-data-properties.js +39 -0
- package/lib/components/ContentGroup/helpers/get-structured-data-properties.js.map +1 -0
- package/lib/components/ContentGroup/helpers/index.js +11 -5
- package/lib/components/ContentGroup/helpers/index.js.map +1 -1
- package/lib/components/ContentGroup/index.js +2 -3
- package/lib/components/ContentGroup/index.js.map +1 -1
- package/lib/components/ContentGroupSection/ContentGroupSection.js +11 -11
- package/lib/components/ContentGroupSection/ContentGroupSection.js.map +1 -1
- package/lib/components/ContentGroupSection/index.js +2 -3
- package/lib/components/ContentGroupSection/index.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryFactory.js +53 -57
- package/lib/components/DataSummary/DataSummaryFactory.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryRender.js +56 -56
- package/lib/components/DataSummary/DataSummaryRender.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummary.js +14 -16
- package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummary.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummaryContent.js +15 -27
- package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummaryContent.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/index.js +2 -3
- package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/index.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummary.js +11 -10
- package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummary.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummaryContent.js +16 -30
- package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummaryContent.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/index.js +2 -3
- package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/index.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummary.js +11 -10
- package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummary.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummaryContent.js +21 -35
- package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummaryContent.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/index.js +2 -3
- package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/index.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/ListSummary/ListSummary.js +11 -10
- package/lib/components/DataSummary/DataSummaryTypes/ListSummary/ListSummary.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.js +21 -35
- package/lib/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/ListSummary/index.js +2 -3
- package/lib/components/DataSummary/DataSummaryTypes/ListSummary/index.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/TextSummary/TextSummary.js +11 -10
- package/lib/components/DataSummary/DataSummaryTypes/TextSummary/TextSummary.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/TextSummary/TextSummaryContent.js +16 -30
- package/lib/components/DataSummary/DataSummaryTypes/TextSummary/TextSummaryContent.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/TextSummary/index.js +2 -3
- package/lib/components/DataSummary/DataSummaryTypes/TextSummary/index.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/index.js +8 -37
- package/lib/components/DataSummary/DataSummaryTypes/index.js.map +1 -1
- package/lib/components/DataSummary/helpers/build-loop-props-content.js +36 -52
- package/lib/components/DataSummary/helpers/build-loop-props-content.js.map +1 -1
- package/lib/components/DataSummary/helpers/build-props-to-display-with-content.js +22 -27
- package/lib/components/DataSummary/helpers/build-props-to-display-with-content.js.map +1 -1
- package/lib/components/DataSummary/helpers/get-data-summary-query.js +13 -10
- package/lib/components/DataSummary/helpers/get-data-summary-query.js.map +1 -1
- package/lib/components/DataSummary/helpers/get-link-based-on-value.js +4 -6
- package/lib/components/DataSummary/helpers/get-link-based-on-value.js.map +1 -1
- package/lib/components/DataSummary/helpers/get-link-props.js +6 -16
- package/lib/components/DataSummary/helpers/get-link-props.js.map +1 -1
- package/lib/components/DataSummary/helpers/get-link-to-published-content.js +5 -14
- package/lib/components/DataSummary/helpers/get-link-to-published-content.js.map +1 -1
- package/lib/components/DataSummary/helpers/get-loop-props-limit.js +6 -12
- package/lib/components/DataSummary/helpers/get-loop-props-limit.js.map +1 -1
- package/lib/components/DataSummary/helpers/get-prop-value.js +15 -25
- package/lib/components/DataSummary/helpers/get-prop-value.js.map +1 -1
- package/lib/components/DataSummary/helpers/get-record-id.js +20 -0
- package/lib/components/DataSummary/helpers/get-record-id.js.map +1 -0
- package/lib/components/DataSummary/helpers/get-value-from-array.js +12 -17
- package/lib/components/DataSummary/helpers/get-value-from-array.js.map +1 -1
- package/lib/components/DataSummary/helpers/index.js +23 -17
- package/lib/components/DataSummary/helpers/index.js.map +1 -1
- package/lib/components/DataSummary/helpers/parse-boolean-values.js +3 -4
- package/lib/components/DataSummary/helpers/parse-boolean-values.js.map +1 -1
- package/lib/components/DataSummary/helpers/strip-summary-props-content.js +6 -13
- package/lib/components/DataSummary/helpers/strip-summary-props-content.js.map +1 -1
- package/lib/components/DataSummary/index.js +2 -3
- package/lib/components/DataSummary/index.js.map +1 -1
- package/lib/components/DateTime/DateTime.js +22 -16
- package/lib/components/DateTime/DateTime.js.map +1 -1
- package/lib/components/DateTime/index.js +2 -3
- package/lib/components/DateTime/index.js.map +1 -1
- package/lib/components/EmailConfirm/EmailConfirm.js +48 -54
- package/lib/components/EmailConfirm/EmailConfirm.js.map +1 -1
- package/lib/components/EmailConfirm/index.js +2 -3
- package/lib/components/EmailConfirm/index.js.map +1 -1
- package/lib/components/EmailConfirm/mutation.js +12 -7
- package/lib/components/EmailConfirm/mutation.js.map +1 -1
- package/lib/components/ErrorMessage/ErrorMessage.js +37 -0
- package/lib/components/ErrorMessage/ErrorMessage.js.map +1 -0
- package/lib/components/ErrorMessage/index.js +12 -0
- package/lib/components/ErrorMessage/index.js.map +1 -0
- package/lib/components/Iframe/Iframe.js +32 -23
- package/lib/components/Iframe/Iframe.js.map +1 -1
- package/lib/components/Iframe/constants.js +2 -3
- package/lib/components/Iframe/constants.js.map +1 -1
- package/lib/components/Iframe/index.js +2 -3
- package/lib/components/Iframe/index.js.map +1 -1
- package/lib/components/Image/GlobalLightbox/GlobalLightbox.js +86 -103
- package/lib/components/Image/GlobalLightbox/GlobalLightbox.js.map +1 -1
- package/lib/components/Image/GlobalLightbox/NavButton.js +20 -22
- package/lib/components/Image/GlobalLightbox/NavButton.js.map +1 -1
- package/lib/components/Image/GlobalLightbox/index.js +4 -17
- package/lib/components/Image/GlobalLightbox/index.js.map +1 -1
- package/lib/components/Image/Image.js +95 -116
- package/lib/components/Image/Image.js.map +1 -1
- package/lib/components/Image/ImageDetails.js +19 -21
- package/lib/components/Image/ImageDetails.js.map +1 -1
- package/lib/components/Image/ImageFactory.js +58 -63
- package/lib/components/Image/ImageFactory.js.map +1 -1
- package/lib/components/Image/ImageRender.js +44 -44
- package/lib/components/Image/ImageRender.js.map +1 -1
- package/lib/components/Image/Lightbox/Lightbox.js +30 -43
- package/lib/components/Image/Lightbox/Lightbox.js.map +1 -1
- package/lib/components/Image/Lightbox/index.js +2 -3
- package/lib/components/Image/Lightbox/index.js.map +1 -1
- package/lib/components/Image/index.js +2 -3
- package/lib/components/Image/index.js.map +1 -1
- package/lib/components/ItemList/ItemListButton/ItemListButton.js +71 -83
- package/lib/components/ItemList/ItemListButton/ItemListButton.js.map +1 -1
- package/lib/components/ItemList/ItemListButton/index.js +2 -3
- package/lib/components/ItemList/ItemListButton/index.js.map +1 -1
- package/lib/components/ItemList/ItemListCounter/ItemListCounter.js +35 -36
- package/lib/components/ItemList/ItemListCounter/ItemListCounter.js.map +1 -1
- package/lib/components/ItemList/ItemListCounter/index.js +2 -3
- package/lib/components/ItemList/ItemListCounter/index.js.map +1 -1
- package/lib/components/ItemList/ItemListNew/ItemListNew.js +36 -33
- package/lib/components/ItemList/ItemListNew/ItemListNew.js.map +1 -1
- package/lib/components/ItemList/ItemListNew/index.js +2 -3
- package/lib/components/ItemList/ItemListNew/index.js.map +1 -1
- package/lib/components/ItemList/constants.js +5 -6
- package/lib/components/ItemList/constants.js.map +1 -1
- package/lib/components/ItemList/helpers/get-item-list-data.js +3 -4
- package/lib/components/ItemList/helpers/get-item-list-data.js.map +1 -1
- package/lib/components/ItemList/helpers/get-item-list-id.js +4 -6
- package/lib/components/ItemList/helpers/get-item-list-id.js.map +1 -1
- package/lib/components/ItemList/helpers/get-item-list-ids.js +9 -13
- package/lib/components/ItemList/helpers/get-item-list-ids.js.map +1 -1
- package/lib/components/ItemList/helpers/index.js +10 -11
- package/lib/components/ItemList/helpers/index.js.map +1 -1
- package/lib/components/ItemList/helpers/set-item-list-id.js +4 -6
- package/lib/components/ItemList/helpers/set-item-list-id.js.map +1 -1
- package/lib/components/ItemList/helpers/set-param-and-redirect.js +7 -19
- package/lib/components/ItemList/helpers/set-param-and-redirect.js.map +1 -1
- package/lib/components/ItemList/hooks/index.js +2 -3
- package/lib/components/ItemList/hooks/index.js.map +1 -1
- package/lib/components/ItemList/hooks/use-item-list-id.js +12 -17
- package/lib/components/ItemList/hooks/use-item-list-id.js.map +1 -1
- package/lib/components/ItemList/icons/AddedBookmark.js +40 -0
- package/lib/components/ItemList/icons/AddedBookmark.js.map +1 -0
- package/lib/components/ItemList/icons/BaseBookmark.js +44 -0
- package/lib/components/ItemList/icons/BaseBookmark.js.map +1 -0
- package/lib/components/ItemList/icons/HoverBookmark.js +42 -0
- package/lib/components/ItemList/icons/HoverBookmark.js.map +1 -0
- package/lib/components/ItemList/icons/RemoveBookmark.js +40 -0
- package/lib/components/ItemList/icons/RemoveBookmark.js.map +1 -0
- package/lib/components/ItemList/icons/index.js +35 -0
- package/lib/components/ItemList/icons/index.js.map +1 -0
- package/lib/components/Layout/Layout.js +69 -54
- package/lib/components/Layout/Layout.js.map +1 -1
- package/lib/components/Layout/LayoutFactory.js +12 -23
- package/lib/components/Layout/LayoutFactory.js.map +1 -1
- package/lib/components/Layout/LayoutWithStickyTimer.js +19 -33
- package/lib/components/Layout/LayoutWithStickyTimer.js.map +1 -1
- package/lib/components/Layout/constants.js +3 -4
- package/lib/components/Layout/constants.js.map +1 -1
- package/lib/components/Layout/helpers/check-if-row-has-columns.js +8 -15
- package/lib/components/Layout/helpers/check-if-row-has-columns.js.map +1 -1
- package/lib/components/Layout/helpers/get-styles-to-update.js +6 -6
- package/lib/components/Layout/helpers/get-styles-to-update.js.map +1 -1
- package/lib/components/Layout/helpers/index.js +4 -5
- package/lib/components/Layout/helpers/index.js.map +1 -1
- package/lib/components/Layout/index.js +2 -3
- package/lib/components/Layout/index.js.map +1 -1
- package/lib/components/LazyImage/LazyImage.js +20 -23
- package/lib/components/LazyImage/LazyImage.js.map +1 -1
- package/lib/components/LazyImage/index.js +4 -17
- package/lib/components/LazyImage/index.js.map +1 -1
- package/lib/components/List/ListBuilder.js +130 -144
- package/lib/components/List/ListBuilder.js.map +1 -1
- package/lib/components/List/ListFactory.js +169 -180
- package/lib/components/List/ListFactory.js.map +1 -1
- package/lib/components/List/ListRender.js +88 -70
- package/lib/components/List/ListRender.js.map +1 -1
- package/lib/components/List/components/Cards/CardRenderWithInfiniteScroll.js +2 -3
- package/lib/components/List/components/Cards/CardRenderWithInfiniteScroll.js.map +1 -1
- package/lib/components/List/components/Cards/CardsRender.js +63 -75
- package/lib/components/List/components/Cards/CardsRender.js.map +1 -1
- package/lib/components/List/components/Cards/CardsRenderItem.js +69 -71
- package/lib/components/List/components/Cards/CardsRenderItem.js.map +1 -1
- package/lib/components/List/components/Cards/CardsRenderWrapper.js +30 -35
- package/lib/components/List/components/Cards/CardsRenderWrapper.js.map +1 -1
- package/lib/components/List/components/Cards/index.js +2 -3
- package/lib/components/List/components/Cards/index.js.map +1 -1
- package/lib/components/List/components/Full/FullRender.js +50 -60
- package/lib/components/List/components/Full/FullRender.js.map +1 -1
- package/lib/components/List/components/Full/FullRenderItem.js +69 -81
- package/lib/components/List/components/Full/FullRenderItem.js.map +1 -1
- package/lib/components/List/components/Full/FullRenderWithInfiniteScroll.js +2 -3
- package/lib/components/List/components/Full/FullRenderWithInfiniteScroll.js.map +1 -1
- package/lib/components/List/components/Full/index.js +2 -3
- package/lib/components/List/components/Full/index.js.map +1 -1
- package/lib/components/List/components/Header/ListHeader.js +34 -33
- package/lib/components/List/components/Header/ListHeader.js.map +1 -1
- package/lib/components/List/components/Header/index.js +2 -3
- package/lib/components/List/components/Header/index.js.map +1 -1
- package/lib/components/List/components/Pagination/Classic.js +37 -35
- package/lib/components/List/components/Pagination/Classic.js.map +1 -1
- package/lib/components/List/components/Pagination/ListPagination.js +43 -64
- package/lib/components/List/components/Pagination/ListPagination.js.map +1 -1
- package/lib/components/List/components/Pagination/LoadMore.js +20 -21
- package/lib/components/List/components/Pagination/LoadMore.js.map +1 -1
- package/lib/components/List/components/Pagination/index.js +2 -3
- package/lib/components/List/components/Pagination/index.js.map +1 -1
- package/lib/components/List/components/helpers/check-if-should-render-banner.js +26 -21
- package/lib/components/List/components/helpers/check-if-should-render-banner.js.map +1 -1
- package/lib/components/List/components/helpers/check-if-should-render-gtm.js +6 -9
- package/lib/components/List/components/helpers/check-if-should-render-gtm.js.map +1 -1
- package/lib/components/List/components/helpers/index.js +4 -5
- package/lib/components/List/components/helpers/index.js.map +1 -1
- package/lib/components/List/components/index.js +8 -9
- package/lib/components/List/components/index.js.map +1 -1
- package/lib/components/List/constants.js +7 -11
- package/lib/components/List/constants.js.map +1 -1
- package/lib/components/List/helpers/build-az-aggregations.js +22 -37
- package/lib/components/List/helpers/build-az-aggregations.js.map +1 -1
- package/lib/components/List/helpers/build-az-url.js +15 -23
- package/lib/components/List/helpers/build-az-url.js.map +1 -1
- package/lib/components/List/helpers/build-pagination-items.js +20 -20
- package/lib/components/List/helpers/build-pagination-items.js.map +1 -1
- package/lib/components/List/helpers/build-pagination-url.js +9 -18
- package/lib/components/List/helpers/build-pagination-url.js.map +1 -1
- package/lib/components/List/helpers/build-query-booster.js +32 -39
- package/lib/components/List/helpers/build-query-booster.js.map +1 -1
- package/lib/components/List/helpers/get-az-query-filter.js +4 -6
- package/lib/components/List/helpers/get-az-query-filter.js.map +1 -1
- package/lib/components/List/helpers/get-items-per-page-to-use.js +3 -4
- package/lib/components/List/helpers/get-items-per-page-to-use.js.map +1 -1
- package/lib/components/List/helpers/get-list-component.js +3 -4
- package/lib/components/List/helpers/get-list-component.js.map +1 -1
- package/lib/components/List/helpers/get-list-query.js +14 -26
- package/lib/components/List/helpers/get-list-query.js.map +1 -1
- package/lib/components/List/helpers/get-list-specific-search-filter.js +10 -12
- package/lib/components/List/helpers/get-list-specific-search-filter.js.map +1 -1
- package/lib/components/List/helpers/get-sort-props.js +16 -24
- package/lib/components/List/helpers/get-sort-props.js.map +1 -1
- package/lib/components/List/helpers/has-required-item-list-details.js +8 -8
- package/lib/components/List/helpers/has-required-item-list-details.js.map +1 -1
- package/lib/components/List/helpers/index.js +24 -25
- package/lib/components/List/helpers/index.js.map +1 -1
- package/lib/components/List/helpers/sort-aggs.js +16 -22
- package/lib/components/List/helpers/sort-aggs.js.map +1 -1
- package/lib/components/List/helpers/strip-query-key.js +3 -4
- package/lib/components/List/helpers/strip-query-key.js.map +1 -1
- package/lib/components/List/index.js +2 -3
- package/lib/components/List/index.js.map +1 -1
- package/lib/components/Loading/Loading.js +15 -16
- package/lib/components/Loading/Loading.js.map +1 -1
- package/lib/components/Loading/constants.js +3 -4
- package/lib/components/Loading/constants.js.map +1 -1
- package/lib/components/Loading/helpers.js +4 -8
- package/lib/components/Loading/helpers.js.map +1 -1
- package/lib/components/Loading/index.js +5 -4
- package/lib/components/Loading/index.js.map +1 -1
- package/lib/components/Menu/Menu.js +66 -80
- package/lib/components/Menu/Menu.js.map +1 -1
- package/lib/components/Menu/MenuContext.js +3 -4
- package/lib/components/Menu/MenuContext.js.map +1 -1
- package/lib/components/Menu/index.js +2 -3
- package/lib/components/Menu/index.js.map +1 -1
- package/lib/components/MenuItem/MenuEntitiesItem.js +131 -150
- package/lib/components/MenuItem/MenuEntitiesItem.js.map +1 -1
- package/lib/components/MenuItem/MenuItem.js +19 -18
- package/lib/components/MenuItem/MenuItem.js.map +1 -1
- package/lib/components/MenuItem/MenuItemRender.js +64 -59
- package/lib/components/MenuItem/MenuItemRender.js.map +1 -1
- package/lib/components/MenuItem/helpers/index.js +2 -3
- package/lib/components/MenuItem/helpers/index.js.map +1 -1
- package/lib/components/MenuItem/helpers/inject-helper-into-template.js +17 -8
- package/lib/components/MenuItem/helpers/inject-helper-into-template.js.map +1 -1
- package/lib/components/MenuItem/index.js +2 -3
- package/lib/components/MenuItem/index.js.map +1 -1
- package/lib/components/Modal/Modal.js +15 -14
- package/lib/components/Modal/Modal.js.map +1 -1
- package/lib/components/Modal/index.js +2 -3
- package/lib/components/Modal/index.js.map +1 -1
- package/lib/components/ModalAdapter/ModalAdapter.js +7 -8
- package/lib/components/ModalAdapter/ModalAdapter.js.map +1 -1
- package/lib/components/ModalAdapter/index.js +4 -17
- package/lib/components/ModalAdapter/index.js.map +1 -1
- package/lib/components/SearchContent/SearchContent.js +82 -85
- package/lib/components/SearchContent/SearchContent.js.map +1 -1
- package/lib/components/SearchContent/SearchContentItems.js +28 -32
- package/lib/components/SearchContent/SearchContentItems.js.map +1 -1
- package/lib/components/SearchContent/SearchContentResults.js +18 -17
- package/lib/components/SearchContent/SearchContentResults.js.map +1 -1
- package/lib/components/SearchContent/SearchContentToggleIcon.js +15 -17
- package/lib/components/SearchContent/SearchContentToggleIcon.js.map +1 -1
- package/lib/components/SearchContent/constants.js +2 -3
- package/lib/components/SearchContent/constants.js.map +1 -1
- package/lib/components/SearchContent/index.js +2 -3
- package/lib/components/SearchContent/index.js.map +1 -1
- package/lib/components/SearchFilter/SearchFilter/CloseMobileForm.js +14 -10
- package/lib/components/SearchFilter/SearchFilter/CloseMobileForm.js.map +1 -1
- package/lib/components/SearchFilter/SearchFilter/FiltersList.js +46 -51
- package/lib/components/SearchFilter/SearchFilter/FiltersList.js.map +1 -1
- package/lib/components/SearchFilter/SearchFilter/MobileFormToolbar.js +18 -14
- package/lib/components/SearchFilter/SearchFilter/MobileFormToolbar.js.map +1 -1
- package/lib/components/SearchFilter/SearchFilter/ResetDesktopForm.js +16 -12
- package/lib/components/SearchFilter/SearchFilter/ResetDesktopForm.js.map +1 -1
- package/lib/components/SearchFilter/SearchFilter/SearchFilter.js +100 -125
- package/lib/components/SearchFilter/SearchFilter/SearchFilter.js.map +1 -1
- package/lib/components/SearchFilter/SearchFilter/index.js +2 -3
- package/lib/components/SearchFilter/SearchFilter/index.js.map +1 -1
- package/lib/components/SearchFilter/SearchFilterContainer.js +136 -153
- package/lib/components/SearchFilter/SearchFilterContainer.js.map +1 -1
- package/lib/components/SearchFilter/components/Checkbox.js +67 -83
- package/lib/components/SearchFilter/components/Checkbox.js.map +1 -1
- package/lib/components/SearchFilter/components/Range.js +91 -80
- package/lib/components/SearchFilter/components/Range.js.map +1 -1
- package/lib/components/SearchFilter/components/Select.js +46 -48
- package/lib/components/SearchFilter/components/Select.js.map +1 -1
- package/lib/components/SearchFilter/components/TextSearch.js +41 -39
- package/lib/components/SearchFilter/components/TextSearch.js.map +1 -1
- package/lib/components/SearchFilter/components/index.js +8 -9
- package/lib/components/SearchFilter/components/index.js.map +1 -1
- package/lib/components/SearchFilter/constants.js +30 -35
- package/lib/components/SearchFilter/constants.js.map +1 -1
- package/lib/components/SearchFilter/helpers/build-list-name-query.js +9 -19
- package/lib/components/SearchFilter/helpers/build-list-name-query.js.map +1 -1
- package/lib/components/SearchFilter/helpers/build-new-url.js +8 -9
- package/lib/components/SearchFilter/helpers/build-new-url.js.map +1 -1
- package/lib/components/SearchFilter/helpers/build-url-query.js +25 -30
- package/lib/components/SearchFilter/helpers/build-url-query.js.map +1 -1
- package/lib/components/SearchFilter/helpers/calculate-min-max.js +10 -10
- package/lib/components/SearchFilter/helpers/calculate-min-max.js.map +1 -1
- package/lib/components/SearchFilter/helpers/calculate-step.js +3 -6
- package/lib/components/SearchFilter/helpers/calculate-step.js.map +1 -1
- package/lib/components/SearchFilter/helpers/check-if-range-updated.js +7 -6
- package/lib/components/SearchFilter/helpers/check-if-range-updated.js.map +1 -1
- package/lib/components/SearchFilter/helpers/decode-encode.js +4 -7
- package/lib/components/SearchFilter/helpers/decode-encode.js.map +1 -1
- package/lib/components/SearchFilter/helpers/get-display-value.js +4 -14
- package/lib/components/SearchFilter/helpers/get-display-value.js.map +1 -1
- package/lib/components/SearchFilter/helpers/get-filter-ranges-and-checkboxes-values.js +10 -17
- package/lib/components/SearchFilter/helpers/get-filter-ranges-and-checkboxes-values.js.map +1 -1
- package/lib/components/SearchFilter/helpers/get-filter-value-from-query.js +14 -15
- package/lib/components/SearchFilter/helpers/get-filter-value-from-query.js.map +1 -1
- package/lib/components/SearchFilter/helpers/get-filter-values.js +11 -15
- package/lib/components/SearchFilter/helpers/get-filter-values.js.map +1 -1
- package/lib/components/SearchFilter/helpers/get-initial-filter-values.js +13 -17
- package/lib/components/SearchFilter/helpers/get-initial-filter-values.js.map +1 -1
- package/lib/components/SearchFilter/helpers/get-intersected-prop.js +3 -7
- package/lib/components/SearchFilter/helpers/get-intersected-prop.js.map +1 -1
- package/lib/components/SearchFilter/helpers/get-range-value.js +17 -24
- package/lib/components/SearchFilter/helpers/get-range-value.js.map +1 -1
- package/lib/components/SearchFilter/helpers/get-responsive-filter-classnames.js +17 -13
- package/lib/components/SearchFilter/helpers/get-responsive-filter-classnames.js.map +1 -1
- package/lib/components/SearchFilter/helpers/get-select-options.js +9 -12
- package/lib/components/SearchFilter/helpers/get-select-options.js.map +1 -1
- package/lib/components/SearchFilter/helpers/get-updated-filter-by.js +9 -21
- package/lib/components/SearchFilter/helpers/get-updated-filter-by.js.map +1 -1
- package/lib/components/SearchFilter/helpers/index.js +34 -35
- package/lib/components/SearchFilter/helpers/index.js.map +1 -1
- package/lib/components/SearchFilter/helpers/is-device-desktop.js +3 -6
- package/lib/components/SearchFilter/helpers/is-device-desktop.js.map +1 -1
- package/lib/components/SearchFilter/helpers/parse-filter-value.js +8 -15
- package/lib/components/SearchFilter/helpers/parse-filter-value.js.map +1 -1
- package/lib/components/SearchFilter/index.js +2 -3
- package/lib/components/SearchFilter/index.js.map +1 -1
- package/lib/components/SearchFilter/searchFilterReducer.js +10 -19
- package/lib/components/SearchFilter/searchFilterReducer.js.map +1 -1
- package/lib/components/SearchFilterSort/SearchFilterSort.js +49 -56
- package/lib/components/SearchFilterSort/SearchFilterSort.js.map +1 -1
- package/lib/components/SearchFilterSort/constants.js +4 -5
- package/lib/components/SearchFilterSort/constants.js.map +1 -1
- package/lib/components/SearchFilterSort/helpers/handle-sort-update.js +26 -30
- package/lib/components/SearchFilterSort/helpers/handle-sort-update.js.map +1 -1
- package/lib/components/SearchFilterSort/helpers/index.js +4 -5
- package/lib/components/SearchFilterSort/helpers/index.js.map +1 -1
- package/lib/components/SearchFilterSort/helpers/update-sort.js +13 -27
- package/lib/components/SearchFilterSort/helpers/update-sort.js.map +1 -1
- package/lib/components/SearchFilterSort/index.js +2 -3
- package/lib/components/SearchFilterSort/index.js.map +1 -1
- package/lib/components/SocialFollow/SFItem.js +18 -18
- package/lib/components/SocialFollow/SFItem.js.map +1 -1
- package/lib/components/SocialFollow/SocialFollow.js +17 -16
- package/lib/components/SocialFollow/SocialFollow.js.map +1 -1
- package/lib/components/SocialFollow/SocialFollowRender.js +15 -17
- package/lib/components/SocialFollow/SocialFollowRender.js.map +1 -1
- package/lib/components/SocialFollow/index.js +2 -3
- package/lib/components/SocialFollow/index.js.map +1 -1
- package/lib/components/SocialFollow/sf.config.js +4 -5
- package/lib/components/SocialFollow/sf.config.js.map +1 -1
- package/lib/components/SubMenu/SubMenu.js +10 -10
- package/lib/components/SubMenu/SubMenu.js.map +1 -1
- package/lib/components/SubMenu/index.js +2 -3
- package/lib/components/SubMenu/index.js.map +1 -1
- package/lib/components/TextBlock/TextBlockRender.js +12 -13
- package/lib/components/TextBlock/TextBlockRender.js.map +1 -1
- package/lib/components/TextBlock/index.js +22 -30
- package/lib/components/TextBlock/index.js.map +1 -1
- package/lib/components/Video/Video.js +46 -52
- package/lib/components/Video/Video.js.map +1 -1
- package/lib/components/Video/VideoContext.js +3 -4
- package/lib/components/Video/VideoContext.js.map +1 -1
- package/lib/components/Video/VideoModal.js +14 -28
- package/lib/components/Video/VideoModal.js.map +1 -1
- package/lib/components/Video/VideoRender.js +31 -36
- package/lib/components/Video/VideoRender.js.map +1 -1
- package/lib/components/Video/constants.js +1 -2
- package/lib/components/Video/constants.js.map +1 -1
- package/lib/components/Video/helpers/emit-gtm-event.js +11 -11
- package/lib/components/Video/helpers/emit-gtm-event.js.map +1 -1
- package/lib/components/Video/index.js +2 -3
- package/lib/components/Video/index.js.map +1 -1
- package/lib/components/Video/providers/Default.js +22 -24
- package/lib/components/Video/providers/Default.js.map +1 -1
- package/lib/components/Video/providers/JWPlayer/JWPlayerController.js +44 -45
- package/lib/components/Video/providers/JWPlayer/JWPlayerController.js.map +1 -1
- package/lib/components/Video/providers/JWPlayer/JWPlayerProvider.js +45 -56
- package/lib/components/Video/providers/JWPlayer/JWPlayerProvider.js.map +1 -1
- package/lib/components/Video/providers/Vimeo/VimeoProvider.js +42 -88
- package/lib/components/Video/providers/Vimeo/VimeoProvider.js.map +1 -1
- package/lib/components/Video/providers/Vimeo/helpers/add-extra-params-to-url.js +8 -21
- package/lib/components/Video/providers/Vimeo/helpers/add-extra-params-to-url.js.map +1 -1
- package/lib/components/Video/providers/Vimeo/helpers/index.js +2 -3
- package/lib/components/Video/providers/Vimeo/helpers/index.js.map +1 -1
- package/lib/components/Video/providers/YouTube/YouTubeProvider.js +18 -18
- package/lib/components/Video/providers/YouTube/YouTubeProvider.js.map +1 -1
- package/lib/components/Video/providers/YouTube/YoutubeEmbeded.js +102 -121
- package/lib/components/Video/providers/YouTube/YoutubeEmbeded.js.map +1 -1
- package/lib/components/Video/providers/YouTube/helpers/index.js +17 -23
- package/lib/components/Video/providers/YouTube/helpers/index.js.map +1 -1
- package/lib/components/Video/providers/get-provider.js +11 -40
- package/lib/components/Video/providers/get-provider.js.map +1 -1
- package/lib/components/Video/providers/index.js +2 -3
- package/lib/components/Video/providers/index.js.map +1 -1
- package/lib/components/Wrapper.js +20 -20
- package/lib/components/Wrapper.js.map +1 -1
- package/lib/components/index.js +35 -164
- package/lib/components/index.js.map +1 -1
- package/lib/constants/componentsDefaultValues.js +5 -7
- package/lib/constants/componentsDefaultValues.js.map +1 -1
- package/lib/constants/index.js +112 -112
- package/lib/constants/index.js.map +1 -1
- package/lib/helpers/append-images.js +20 -30
- package/lib/helpers/append-images.js.map +1 -1
- package/lib/helpers/build-az-filter.js +12 -13
- package/lib/helpers/build-az-filter.js.map +1 -1
- package/lib/helpers/build-checkbox-filters.js +17 -20
- package/lib/helpers/build-checkbox-filters.js.map +1 -1
- package/lib/helpers/build-filters-query.js +50 -57
- package/lib/helpers/build-filters-query.js.map +1 -1
- package/lib/helpers/build-image-properties.js +21 -23
- package/lib/helpers/build-image-properties.js.map +1 -1
- package/lib/helpers/build-inherited-filters.js +41 -53
- package/lib/helpers/build-inherited-filters.js.map +1 -1
- package/lib/helpers/build-link-extra-props.js +10 -11
- package/lib/helpers/build-link-extra-props.js.map +1 -1
- package/lib/helpers/build-props-query.js +72 -111
- package/lib/helpers/build-props-query.js.map +1 -1
- package/lib/helpers/build-query-fields.js +13 -11
- package/lib/helpers/build-query-fields.js.map +1 -1
- package/lib/helpers/build-query-key.js +6 -8
- package/lib/helpers/build-query-key.js.map +1 -1
- package/lib/helpers/build-raw-query-base.js +59 -80
- package/lib/helpers/build-raw-query-base.js.map +1 -1
- package/lib/helpers/build-raw-query-stringified.js +9 -16
- package/lib/helpers/build-raw-query-stringified.js.map +1 -1
- package/lib/helpers/build-raw-query.js +72 -86
- package/lib/helpers/build-raw-query.js.map +1 -1
- package/lib/helpers/build-search-values-checkbox-select.js +54 -76
- package/lib/helpers/build-search-values-checkbox-select.js.map +1 -1
- package/lib/helpers/build-search-values-text.js +30 -36
- package/lib/helpers/build-search-values-text.js.map +1 -1
- package/lib/helpers/build-set-filters.js +24 -38
- package/lib/helpers/build-set-filters.js.map +1 -1
- package/lib/helpers/build-sort-values.js +18 -28
- package/lib/helpers/build-sort-values.js.map +1 -1
- package/lib/helpers/check-for-error.js +7 -13
- package/lib/helpers/check-for-error.js.map +1 -1
- package/lib/helpers/check-props-to-use.js +5 -12
- package/lib/helpers/check-props-to-use.js.map +1 -1
- package/lib/helpers/entities/constants.js +3 -4
- package/lib/helpers/entities/constants.js.map +1 -1
- package/lib/helpers/filter-query-setup.js +39 -48
- package/lib/helpers/filter-query-setup.js.map +1 -1
- package/lib/helpers/filters-setup.js +34 -35
- package/lib/helpers/filters-setup.js.map +1 -1
- package/lib/helpers/get-banner-data.js +12 -22
- package/lib/helpers/get-banner-data.js.map +1 -1
- package/lib/helpers/get-checkbox-filters.js +3 -4
- package/lib/helpers/get-checkbox-filters.js.map +1 -1
- package/lib/helpers/get-click-wrapper-options.js +28 -43
- package/lib/helpers/get-click-wrapper-options.js.map +1 -1
- package/lib/helpers/get-component-id.js +20 -0
- package/lib/helpers/get-component-id.js.map +1 -0
- package/lib/helpers/get-current-offset.js +4 -9
- package/lib/helpers/get-current-offset.js.map +1 -1
- package/lib/helpers/get-custom-html-properties.js +19 -0
- package/lib/helpers/get-custom-html-properties.js.map +1 -0
- package/lib/helpers/get-dictionary-match.js +4 -7
- package/lib/helpers/get-dictionary-match.js.map +1 -1
- package/lib/helpers/get-display-count-data.js +8 -10
- package/lib/helpers/get-display-count-data.js.map +1 -1
- package/lib/helpers/get-elasticsearch-operator.js +5 -7
- package/lib/helpers/get-elasticsearch-operator.js.map +1 -1
- package/lib/helpers/get-entities-with-banner.js +22 -28
- package/lib/helpers/get-entities-with-banner.js.map +1 -1
- package/lib/helpers/get-entity-data.js +15 -17
- package/lib/helpers/get-entity-data.js.map +1 -1
- package/lib/helpers/get-entity-render-props.js +16 -14
- package/lib/helpers/get-entity-render-props.js.map +1 -1
- package/lib/helpers/get-extra-az-bits.js +25 -23
- package/lib/helpers/get-extra-az-bits.js.map +1 -1
- package/lib/helpers/get-filter-props.js +46 -60
- package/lib/helpers/get-filter-props.js.map +1 -1
- package/lib/helpers/get-filter-relation-keys.js +8 -16
- package/lib/helpers/get-filter-relation-keys.js.map +1 -1
- package/lib/helpers/get-generic-props.js +9 -18
- package/lib/helpers/get-generic-props.js.map +1 -1
- package/lib/helpers/get-generic-render-variables.js +30 -46
- package/lib/helpers/get-generic-render-variables.js.map +1 -1
- package/lib/helpers/get-image-ids.js +12 -21
- package/lib/helpers/get-image-ids.js.map +1 -1
- package/lib/helpers/get-inherited-filters.js +6 -18
- package/lib/helpers/get-inherited-filters.js.map +1 -1
- package/lib/helpers/get-items-to-display-ids.js +6 -15
- package/lib/helpers/get-items-to-display-ids.js.map +1 -1
- package/lib/helpers/get-modifiers.js +8 -23
- package/lib/helpers/get-modifiers.js.map +1 -1
- package/lib/helpers/get-not-equal-query.js +1 -2
- package/lib/helpers/get-not-equal-query.js.map +1 -1
- package/lib/helpers/get-pagination-index.js +3 -6
- package/lib/helpers/get-pagination-index.js.map +1 -1
- package/lib/helpers/get-parsed-prop-values.js +28 -40
- package/lib/helpers/get-parsed-prop-values.js.map +1 -1
- package/lib/helpers/get-parsed-summary-value.js +5 -6
- package/lib/helpers/get-parsed-summary-value.js.map +1 -1
- package/lib/helpers/get-prop-values.js +13 -26
- package/lib/helpers/get-prop-values.js.map +1 -1
- package/lib/helpers/get-query-filters.js +12 -15
- package/lib/helpers/get-query-filters.js.map +1 -1
- package/lib/helpers/get-query-props.js +27 -32
- package/lib/helpers/get-query-props.js.map +1 -1
- package/lib/helpers/get-required-schemas.js +20 -37
- package/lib/helpers/get-required-schemas.js.map +1 -1
- package/lib/helpers/get-sanitized-prop-values.js +3 -10
- package/lib/helpers/get-sanitized-prop-values.js.map +1 -1
- package/lib/helpers/get-search-filter-type.js +10 -14
- package/lib/helpers/get-search-filter-type.js.map +1 -1
- package/lib/helpers/get-sort-by-field-name.js +15 -32
- package/lib/helpers/get-sort-by-field-name.js.map +1 -1
- package/lib/helpers/get-unpublished-entity-name.js +4 -14
- package/lib/helpers/get-unpublished-entity-name.js.map +1 -1
- package/lib/helpers/get-updated-filter-by.js +5 -8
- package/lib/helpers/get-updated-filter-by.js.map +1 -1
- package/lib/helpers/get-updated-items-to-display.js +17 -33
- package/lib/helpers/get-updated-items-to-display.js.map +1 -1
- package/lib/helpers/get-updated-sort-properties.js +8 -18
- package/lib/helpers/get-updated-sort-properties.js.map +1 -1
- package/lib/helpers/get-wrapped-value-with-link.js +14 -18
- package/lib/helpers/get-wrapped-value-with-link.js.map +1 -1
- package/lib/helpers/group-entities.js +4 -9
- package/lib/helpers/group-entities.js.map +1 -1
- package/lib/helpers/has-children.js +4 -7
- package/lib/helpers/has-children.js.map +1 -1
- package/lib/helpers/index.js +140 -127
- package/lib/helpers/index.js.map +1 -1
- package/lib/helpers/inject-banner.js +8 -10
- package/lib/helpers/inject-banner.js.map +1 -1
- package/lib/helpers/inject-banners-to-entities.js +11 -9
- package/lib/helpers/inject-banners-to-entities.js.map +1 -1
- package/lib/helpers/inject-multiple-banners/get-banners-for-entities/get-banners-for-entities.js +9 -13
- package/lib/helpers/inject-multiple-banners/get-banners-for-entities/get-banners-for-entities.js.map +1 -1
- package/lib/helpers/inject-multiple-banners/get-banners-for-entities/index.js +2 -3
- package/lib/helpers/inject-multiple-banners/get-banners-for-entities/index.js.map +1 -1
- package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/get-banners-for-nodes.js +10 -22
- package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/get-banners-for-nodes.js.map +1 -1
- package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/group-node-entities.js +17 -24
- package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/group-node-entities.js.map +1 -1
- package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/index.js +2 -3
- package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/index.js.map +1 -1
- package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/index.js +2 -3
- package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/index.js.map +1 -1
- package/lib/helpers/inject-multiple-banners/index.js +2 -3
- package/lib/helpers/inject-multiple-banners/index.js.map +1 -1
- package/lib/helpers/inject-multiple-banners/inject-multiple-banners.js +6 -6
- package/lib/helpers/inject-multiple-banners/inject-multiple-banners.js.map +1 -1
- package/lib/helpers/is-browser.js +3 -6
- package/lib/helpers/is-browser.js.map +1 -1
- package/lib/helpers/is-filter-entitys-id.js +5 -9
- package/lib/helpers/is-filter-entitys-id.js.map +1 -1
- package/lib/helpers/is-object.js +3 -9
- package/lib/helpers/is-object.js.map +1 -1
- package/lib/helpers/is-using-relation-image.js +3 -6
- package/lib/helpers/is-using-relation-image.js.map +1 -1
- package/lib/helpers/parse-TextBlock.js +19 -24
- package/lib/helpers/parse-TextBlock.js.map +1 -1
- package/lib/helpers/parse-interval.js +1 -2
- package/lib/helpers/parse-interval.js.map +1 -1
- package/lib/helpers/parse-props-to-display.js +25 -39
- package/lib/helpers/parse-props-to-display.js.map +1 -1
- package/lib/helpers/process-data-summary-value.js +26 -36
- package/lib/helpers/process-data-summary-value.js.map +1 -1
- package/lib/helpers/remove-extra-items.js +4 -5
- package/lib/helpers/remove-extra-items.js.map +1 -1
- package/lib/helpers/remove-unwanted-characters.js +11 -23
- package/lib/helpers/remove-unwanted-characters.js.map +1 -1
- package/lib/helpers/render-children.js +15 -36
- package/lib/helpers/render-children.js.map +1 -1
- package/lib/helpers/should-render-waypoint.js +3 -10
- package/lib/helpers/should-render-waypoint.js.map +1 -1
- package/lib/helpers/should-return.js +3 -11
- package/lib/helpers/should-return.js.map +1 -1
- package/lib/helpers/should-show-property.js +6 -8
- package/lib/helpers/should-show-property.js.map +1 -1
- package/lib/helpers/should-skip-single-query.js +3 -6
- package/lib/helpers/should-skip-single-query.js.map +1 -1
- package/lib/helpers/sort-response-data.js +7 -17
- package/lib/helpers/sort-response-data.js.map +1 -1
- package/lib/helpers/split-children.js +43 -52
- package/lib/helpers/split-children.js.map +1 -1
- package/lib/helpers/update-childrens-parent.js +12 -25
- package/lib/helpers/update-childrens-parent.js.map +1 -1
- package/lib/hooks/helpers/RenderComponent.js +53 -46
- package/lib/hooks/helpers/RenderComponent.js.map +1 -1
- package/lib/hooks/helpers/StoreImages.js +50 -60
- package/lib/hooks/helpers/StoreImages.js.map +1 -1
- package/lib/hooks/helpers/append-gtm-classname.js +28 -31
- package/lib/hooks/helpers/append-gtm-classname.js.map +1 -1
- package/lib/hooks/helpers/buildPBComponents.js +46 -71
- package/lib/hooks/helpers/buildPBComponents.js.map +1 -1
- package/lib/hooks/helpers/check-banner-insertion-set.js +10 -18
- package/lib/hooks/helpers/check-banner-insertion-set.js.map +1 -1
- package/lib/hooks/helpers/check-collisions.js +17 -20
- package/lib/hooks/helpers/check-collisions.js.map +1 -1
- package/lib/hooks/helpers/constants.js +4 -5
- package/lib/hooks/helpers/constants.js.map +1 -1
- package/lib/hooks/helpers/get-banner-index.js +3 -9
- package/lib/hooks/helpers/get-banner-index.js.map +1 -1
- package/lib/hooks/helpers/get-components-to-insert-by-type.js +16 -18
- package/lib/hooks/helpers/get-components-to-insert-by-type.js.map +1 -1
- package/lib/hooks/helpers/get-lightbox-images.js +17 -44
- package/lib/hooks/helpers/get-lightbox-images.js.map +1 -1
- package/lib/hooks/helpers/getComponent.js +1 -2
- package/lib/hooks/helpers/getComponent.js.map +1 -1
- package/lib/hooks/helpers/getVariant.js +9 -7
- package/lib/hooks/helpers/getVariant.js.map +1 -1
- package/lib/hooks/helpers/index.js +2 -3
- package/lib/hooks/helpers/index.js.map +1 -1
- package/lib/hooks/helpers/inject-element-components.js +33 -37
- package/lib/hooks/helpers/inject-element-components.js.map +1 -1
- package/lib/hooks/helpers/inject-textblock-banners.js +56 -62
- package/lib/hooks/helpers/inject-textblock-banners.js.map +1 -1
- package/lib/hooks/helpers/insert-banners.js +41 -58
- package/lib/hooks/helpers/insert-banners.js.map +1 -1
- package/lib/hooks/helpers/update-targetings.js +11 -9
- package/lib/hooks/helpers/update-targetings.js.map +1 -1
- package/lib/hooks/index.js +29 -23
- package/lib/hooks/index.js.map +1 -1
- package/lib/hooks/use-app-event-hook.js +45 -0
- package/lib/hooks/use-app-event-hook.js.map +1 -0
- package/lib/hooks/use-app-sync-event-hook.js +30 -18
- package/lib/hooks/use-app-sync-event-hook.js.map +1 -1
- package/lib/hooks/use-banner-insertion.js +14 -14
- package/lib/hooks/use-banner-insertion.js.map +1 -1
- package/lib/hooks/use-check-mobile-screen.js +12 -18
- package/lib/hooks/use-check-mobile-screen.js.map +1 -1
- package/lib/hooks/use-filter-aggregation-values.js +19 -35
- package/lib/hooks/use-filter-aggregation-values.js.map +1 -1
- package/lib/hooks/use-get-entity-schema.js +20 -26
- package/lib/hooks/use-get-entity-schema.js.map +1 -1
- package/lib/hooks/use-get-entity-schemas-as-obj.js +7 -17
- package/lib/hooks/use-get-entity-schemas-as-obj.js.map +1 -1
- package/lib/hooks/use-get-image-id-from-relation.js +31 -34
- package/lib/hooks/use-get-image-id-from-relation.js.map +1 -1
- package/lib/hooks/use-get-images.js +20 -24
- package/lib/hooks/use-get-images.js.map +1 -1
- package/lib/hooks/use-get-single-entity-schema.js +16 -17
- package/lib/hooks/use-get-single-entity-schema.js.map +1 -1
- package/lib/hooks/use-page-builder.js +7 -29
- package/lib/hooks/use-page-builder.js.map +1 -1
- package/lib/hooks/use-portal.js +7 -15
- package/lib/hooks/use-portal.js.map +1 -1
- package/lib/index.js +64 -39
- package/lib/index.js.map +1 -1
- package/lib/system-components/EditorMode/BlazeLogo.js +76 -0
- package/lib/system-components/EditorMode/BlazeLogo.js.map +1 -0
- package/lib/system-components/EditorMode/PbWrapper.js +43 -0
- package/lib/system-components/EditorMode/PbWrapper.js.map +1 -0
- package/lib/system-components/EditorMode/constants.js +9 -0
- package/lib/system-components/EditorMode/constants.js.map +1 -0
- package/lib/system-components/EditorMode/helpers/add-editor-mode-event-listeners.js +100 -0
- package/lib/system-components/EditorMode/helpers/add-editor-mode-event-listeners.js.map +1 -0
- package/lib/system-components/EditorMode/helpers/check-is-over-blaze-icon.js +25 -0
- package/lib/system-components/EditorMode/helpers/check-is-over-blaze-icon.js.map +1 -0
- package/lib/system-components/index.js +12 -0
- package/lib/system-components/index.js.map +1 -0
- package/lib/translations.js +43 -0
- package/lib/translations.js.map +1 -0
- package/lib/utils/component-map.js +12 -18
- package/lib/utils/component-map.js.map +1 -1
- package/lib/utils/get-class-modifiers.js +43 -55
- package/lib/utils/get-class-modifiers.js.map +1 -1
- package/lib/utils/get-image-data.js +7 -15
- package/lib/utils/get-image-data.js.map +1 -1
- package/lib/utils/get-props-to-display-modifiers.js +5 -11
- package/lib/utils/get-props-to-display-modifiers.js.map +1 -1
- package/lib/utils/index.js +12 -13
- package/lib/utils/index.js.map +1 -1
- package/lib/utils/is-object-empty.js +1 -3
- package/lib/utils/is-object-empty.js.map +1 -1
- package/lib/utils/variant-handler.js +8 -15
- package/lib/utils/variant-handler.js.map +1 -1
- package/lib/variants/FloatingSideButton/index.js +7 -19
- package/lib/variants/FloatingSideButton/index.js.map +1 -1
- package/lib/variants/HeroImage/index.js +7 -19
- package/lib/variants/HeroImage/index.js.map +1 -1
- package/lib/variants/Infographic/Infographic.js +13 -17
- package/lib/variants/Infographic/Infographic.js.map +1 -1
- package/lib/variants/Infographic/index.js +8 -30
- package/lib/variants/Infographic/index.js.map +1 -1
- package/lib/variants/Infographic/useInfographic.js +16 -29
- package/lib/variants/Infographic/useInfographic.js.map +1 -1
- package/lib/variants/LiveBlogList/LiveBlogList.js +89 -0
- package/lib/variants/LiveBlogList/LiveBlogList.js.map +1 -0
- package/lib/variants/LiveBlogList/index.js +21 -0
- package/lib/variants/LiveBlogList/index.js.map +1 -0
- package/lib/variants/LongformGallery/LongformGallery.js +28 -35
- package/lib/variants/LongformGallery/LongformGallery.js.map +1 -1
- package/lib/variants/LongformGallery/LongformGalleryImage.js +34 -39
- package/lib/variants/LongformGallery/LongformGalleryImage.js.map +1 -1
- package/lib/variants/LongformGallery/constants.js +11 -7
- package/lib/variants/LongformGallery/constants.js.map +1 -1
- package/lib/variants/LongformGallery/helpers/index.js +6 -7
- package/lib/variants/LongformGallery/helpers/index.js.map +1 -1
- package/lib/variants/LongformGallery/helpers/parseImageData.js +11 -20
- package/lib/variants/LongformGallery/helpers/parseImageData.js.map +1 -1
- package/lib/variants/LongformGallery/helpers/separateImages.js +9 -13
- package/lib/variants/LongformGallery/helpers/separateImages.js.map +1 -1
- package/lib/variants/LongformGallery/helpers/shouldSkip.js +3 -7
- package/lib/variants/LongformGallery/helpers/shouldSkip.js.map +1 -1
- package/lib/variants/LongformGallery/index.js +10 -32
- package/lib/variants/LongformGallery/index.js.map +1 -1
- package/lib/variants/LongformGallery/useLongformGallery.js +36 -41
- package/lib/variants/LongformGallery/useLongformGallery.js.map +1 -1
- package/lib/variants/LongformRow/index.js +7 -19
- package/lib/variants/LongformRow/index.js.map +1 -1
- package/lib/variants/ParallaxImageTextRight/index.js +8 -20
- package/lib/variants/ParallaxImageTextRight/index.js.map +1 -1
- package/lib/variants/SlideSummary/SlideSummary.js +10 -9
- package/lib/variants/SlideSummary/SlideSummary.js.map +1 -1
- package/lib/variants/SlideSummary/index.js +8 -30
- package/lib/variants/SlideSummary/index.js.map +1 -1
- package/lib/variants/ThumbnailCarousel/ThumbnailCarousel.js +30 -38
- package/lib/variants/ThumbnailCarousel/ThumbnailCarousel.js.map +1 -1
- package/lib/variants/ThumbnailCarousel/ThumbnailImage/ThumbnailImage.js +15 -15
- package/lib/variants/ThumbnailCarousel/ThumbnailImage/ThumbnailImage.js.map +1 -1
- package/lib/variants/ThumbnailCarousel/ThumbnailImage/index.js +2 -3
- package/lib/variants/ThumbnailCarousel/ThumbnailImage/index.js.map +1 -1
- package/lib/variants/ThumbnailCarousel/ThumbnailImage/useThumbnailImage.js +46 -46
- package/lib/variants/ThumbnailCarousel/ThumbnailImage/useThumbnailImage.js.map +1 -1
- package/lib/variants/ThumbnailCarousel/index.js +8 -30
- package/lib/variants/ThumbnailCarousel/index.js.map +1 -1
- package/lib/variants/ThumbnailCarousel/useThumbnailCarousel.js +25 -37
- package/lib/variants/ThumbnailCarousel/useThumbnailCarousel.js.map +1 -1
- package/lib/variants/index.js +12 -11
- package/lib/variants/index.js.map +1 -1
- package/lib-es/HOC/withTitle.js +1 -1
- package/lib-es/HOC/withTitle.js.map +1 -1
- package/lib-es/application/query/index.js +9 -1
- package/lib-es/application/query/index.js.map +1 -1
- package/lib-es/components/BackToTop/BackToTop.js +2 -2
- package/lib-es/components/BackToTop/BackToTop.js.map +1 -1
- package/lib-es/components/Button.js +12 -7
- package/lib-es/components/Button.js.map +1 -1
- package/lib-es/components/Card/Card.js +3 -1
- package/lib-es/components/Card/Card.js.map +1 -1
- package/lib-es/components/Card/CardsRender.js +16 -6
- package/lib-es/components/Card/CardsRender.js.map +1 -1
- package/lib-es/components/Carousel/Carousel.js +39 -9
- package/lib-es/components/Carousel/Carousel.js.map +1 -1
- package/lib-es/components/Carousel/CarouselImage/CarouselImage.js +2 -1
- package/lib-es/components/Carousel/CarouselImage/CarouselImage.js.map +1 -1
- package/lib-es/components/ContentGroup/ContentGroup.js +77 -13
- package/lib-es/components/ContentGroup/ContentGroup.js.map +1 -1
- package/lib-es/components/ContentGroup/ContentGroupAccordion.js +138 -0
- package/lib-es/components/ContentGroup/ContentGroupAccordion.js.map +1 -0
- package/lib-es/components/ContentGroup/ContentGroupDataFetcher.js +88 -0
- package/lib-es/components/ContentGroup/ContentGroupDataFetcher.js.map +1 -0
- package/lib-es/components/ContentGroup/ContentGroupTabs.js +4 -3
- package/lib-es/components/ContentGroup/ContentGroupTabs.js.map +1 -1
- package/lib-es/components/ContentGroup/constants.js +12 -1
- package/lib-es/components/ContentGroup/constants.js.map +1 -1
- package/lib-es/components/ContentGroup/helpers/build-data-sections.js +38 -0
- package/lib-es/components/ContentGroup/helpers/build-data-sections.js.map +1 -0
- package/lib-es/components/ContentGroup/helpers/get-structured-data-properties.js +33 -0
- package/lib-es/components/ContentGroup/helpers/get-structured-data-properties.js.map +1 -0
- package/lib-es/components/ContentGroup/helpers/index.js +2 -1
- package/lib-es/components/ContentGroup/helpers/index.js.map +1 -1
- package/lib-es/components/ContentGroupSection/ContentGroupSection.js +3 -2
- package/lib-es/components/ContentGroupSection/ContentGroupSection.js.map +1 -1
- package/lib-es/components/DataSummary/DataSummaryFactory.js +3 -2
- package/lib-es/components/DataSummary/DataSummaryFactory.js.map +1 -1
- package/lib-es/components/DataSummary/helpers/get-record-id.js +14 -0
- package/lib-es/components/DataSummary/helpers/get-record-id.js.map +1 -0
- package/lib-es/components/DataSummary/helpers/index.js +2 -1
- package/lib-es/components/DataSummary/helpers/index.js.map +1 -1
- package/lib-es/components/DateTime/DateTime.js +11 -5
- package/lib-es/components/DateTime/DateTime.js.map +1 -1
- package/lib-es/components/ErrorMessage/ErrorMessage.js +30 -0
- package/lib-es/components/ErrorMessage/ErrorMessage.js.map +1 -0
- package/lib-es/components/ErrorMessage/index.js +3 -0
- package/lib-es/components/ErrorMessage/index.js.map +1 -0
- package/lib-es/components/Iframe/Iframe.js +16 -6
- package/lib-es/components/Iframe/Iframe.js.map +1 -1
- package/lib-es/components/Image/GlobalLightbox/GlobalLightbox.js +3 -3
- package/lib-es/components/Image/GlobalLightbox/GlobalLightbox.js.map +1 -1
- package/lib-es/components/Image/GlobalLightbox/NavButton.js +2 -2
- package/lib-es/components/Image/GlobalLightbox/NavButton.js.map +1 -1
- package/lib-es/components/ItemList/ItemListButton/ItemListButton.js +9 -7
- package/lib-es/components/ItemList/ItemListButton/ItemListButton.js.map +1 -1
- package/lib-es/components/ItemList/ItemListCounter/ItemListCounter.js +2 -2
- package/lib-es/components/ItemList/ItemListCounter/ItemListCounter.js.map +1 -1
- package/lib-es/components/ItemList/icons/AddedBookmark.js +33 -0
- package/lib-es/components/ItemList/icons/AddedBookmark.js.map +1 -0
- package/lib-es/components/ItemList/icons/BaseBookmark.js +37 -0
- package/lib-es/components/ItemList/icons/BaseBookmark.js.map +1 -0
- package/lib-es/components/ItemList/icons/HoverBookmark.js +35 -0
- package/lib-es/components/ItemList/icons/HoverBookmark.js.map +1 -0
- package/lib-es/components/ItemList/icons/RemoveBookmark.js +33 -0
- package/lib-es/components/ItemList/icons/RemoveBookmark.js.map +1 -0
- package/lib-es/components/ItemList/icons/index.js +5 -0
- package/lib-es/components/ItemList/icons/index.js.map +1 -0
- package/lib-es/components/Layout/Layout.js +27 -7
- package/lib-es/components/Layout/Layout.js.map +1 -1
- package/lib-es/components/List/ListBuilder.js +1 -1
- package/lib-es/components/List/ListBuilder.js.map +1 -1
- package/lib-es/components/List/ListFactory.js +10 -4
- package/lib-es/components/List/ListFactory.js.map +1 -1
- package/lib-es/components/List/ListRender.js +23 -10
- package/lib-es/components/List/ListRender.js.map +1 -1
- package/lib-es/components/List/components/Full/FullRenderItem.js +34 -30
- package/lib-es/components/List/components/Full/FullRenderItem.js.map +1 -1
- package/lib-es/components/List/components/Pagination/Classic.js +9 -6
- package/lib-es/components/List/components/Pagination/Classic.js.map +1 -1
- package/lib-es/components/List/components/Pagination/ListPagination.js +8 -11
- package/lib-es/components/List/components/Pagination/ListPagination.js.map +1 -1
- package/lib-es/components/List/helpers/build-pagination-items.js +4 -3
- package/lib-es/components/List/helpers/build-pagination-items.js.map +1 -1
- package/lib-es/components/List/helpers/build-pagination-url.js +2 -2
- package/lib-es/components/List/helpers/build-pagination-url.js.map +1 -1
- package/lib-es/components/List/helpers/build-query-booster.js +9 -6
- package/lib-es/components/List/helpers/build-query-booster.js.map +1 -1
- package/lib-es/components/Loading/index.js +2 -2
- package/lib-es/components/Loading/index.js.map +1 -1
- package/lib-es/components/MenuItem/MenuItemRender.js +25 -9
- package/lib-es/components/MenuItem/MenuItemRender.js.map +1 -1
- package/lib-es/components/MenuItem/helpers/inject-helper-into-template.js +14 -2
- package/lib-es/components/MenuItem/helpers/inject-helper-into-template.js.map +1 -1
- package/lib-es/components/SearchContent/SearchContent.js +34 -17
- package/lib-es/components/SearchContent/SearchContent.js.map +1 -1
- package/lib-es/components/SearchContent/SearchContentResults.js +2 -1
- package/lib-es/components/SearchContent/SearchContentResults.js.map +1 -1
- package/lib-es/components/SearchFilter/SearchFilter/CloseMobileForm.js +14 -8
- package/lib-es/components/SearchFilter/SearchFilter/CloseMobileForm.js.map +1 -1
- package/lib-es/components/SearchFilter/SearchFilter/FiltersList.js +4 -2
- package/lib-es/components/SearchFilter/SearchFilter/FiltersList.js.map +1 -1
- package/lib-es/components/SearchFilter/SearchFilter/MobileFormToolbar.js +20 -14
- package/lib-es/components/SearchFilter/SearchFilter/MobileFormToolbar.js.map +1 -1
- package/lib-es/components/SearchFilter/SearchFilter/ResetDesktopForm.js +21 -15
- package/lib-es/components/SearchFilter/SearchFilter/ResetDesktopForm.js.map +1 -1
- package/lib-es/components/SearchFilter/SearchFilter/SearchFilter.js +11 -6
- package/lib-es/components/SearchFilter/SearchFilter/SearchFilter.js.map +1 -1
- package/lib-es/components/SearchFilter/SearchFilterContainer.js +12 -12
- package/lib-es/components/SearchFilter/SearchFilterContainer.js.map +1 -1
- package/lib-es/components/SearchFilter/components/Range.js +26 -12
- package/lib-es/components/SearchFilter/components/Range.js.map +1 -1
- package/lib-es/components/SearchFilter/constants.js +1 -5
- package/lib-es/components/SearchFilter/constants.js.map +1 -1
- package/lib-es/components/SearchFilter/helpers/build-new-url.js +3 -2
- package/lib-es/components/SearchFilter/helpers/build-new-url.js.map +1 -1
- package/lib-es/components/SearchFilter/helpers/build-url-query.js +8 -1
- package/lib-es/components/SearchFilter/helpers/build-url-query.js.map +1 -1
- package/lib-es/constants/index.js +4 -2
- package/lib-es/constants/index.js.map +1 -1
- package/lib-es/helpers/build-props-query.js +4 -2
- package/lib-es/helpers/build-props-query.js.map +1 -1
- package/lib-es/helpers/build-query-fields.js +1 -1
- package/lib-es/helpers/build-query-fields.js.map +1 -1
- package/lib-es/helpers/get-component-id.js +13 -0
- package/lib-es/helpers/get-component-id.js.map +1 -0
- package/lib-es/helpers/get-custom-html-properties.js +13 -0
- package/lib-es/helpers/get-custom-html-properties.js.map +1 -0
- package/lib-es/helpers/get-image-ids.js +2 -0
- package/lib-es/helpers/get-image-ids.js.map +1 -1
- package/lib-es/helpers/index.js +2 -0
- package/lib-es/helpers/index.js.map +1 -1
- package/lib-es/hooks/helpers/RenderComponent.js +14 -2
- package/lib-es/hooks/helpers/RenderComponent.js.map +1 -1
- package/lib-es/hooks/helpers/StoreImages.js +44 -30
- package/lib-es/hooks/helpers/StoreImages.js.map +1 -1
- package/lib-es/hooks/index.js +1 -0
- package/lib-es/hooks/index.js.map +1 -1
- package/lib-es/hooks/use-app-event-hook.js +39 -0
- package/lib-es/hooks/use-app-event-hook.js.map +1 -0
- package/lib-es/hooks/use-app-sync-event-hook.js +18 -6
- package/lib-es/hooks/use-app-sync-event-hook.js.map +1 -1
- package/lib-es/hooks/use-get-image-id-from-relation.js +11 -4
- package/lib-es/hooks/use-get-image-id-from-relation.js.map +1 -1
- package/lib-es/index.js +4 -2
- package/lib-es/index.js.map +1 -1
- package/lib-es/system-components/EditorMode/BlazeLogo.js +67 -0
- package/lib-es/system-components/EditorMode/BlazeLogo.js.map +1 -0
- package/lib-es/system-components/EditorMode/PbWrapper.js +34 -0
- package/lib-es/system-components/EditorMode/PbWrapper.js.map +1 -0
- package/lib-es/system-components/EditorMode/constants.js +3 -0
- package/lib-es/system-components/EditorMode/constants.js.map +1 -0
- package/lib-es/system-components/EditorMode/helpers/add-editor-mode-event-listeners.js +93 -0
- package/lib-es/system-components/EditorMode/helpers/add-editor-mode-event-listeners.js.map +1 -0
- package/lib-es/system-components/EditorMode/helpers/check-is-over-blaze-icon.js +19 -0
- package/lib-es/system-components/EditorMode/helpers/check-is-over-blaze-icon.js.map +1 -0
- package/lib-es/system-components/index.js +3 -0
- package/lib-es/system-components/index.js.map +1 -0
- package/lib-es/translations.js +37 -0
- package/lib-es/translations.js.map +1 -0
- package/lib-es/variants/Infographic/Infographic.js +4 -8
- package/lib-es/variants/Infographic/Infographic.js.map +1 -1
- package/lib-es/variants/LiveBlogList/LiveBlogList.js +80 -0
- package/lib-es/variants/LiveBlogList/LiveBlogList.js.map +1 -0
- package/lib-es/variants/LiveBlogList/index.js +12 -0
- package/lib-es/variants/LiveBlogList/index.js.map +1 -0
- package/lib-es/variants/index.js +3 -1
- package/lib-es/variants/index.js.map +1 -1
- package/package.json +24 -26
- package/src/HOC/withTitle.js +2 -2
- package/src/application/query/index.js +11 -1
- package/src/components/BackToTop/BackToTop.js +5 -7
- package/src/components/Button.js +13 -9
- package/src/components/Card/Card.js +2 -1
- package/src/components/Card/CardsRender.js +23 -10
- package/src/components/Carousel/Carousel.js +46 -9
- package/src/components/Carousel/CarouselImage/CarouselImage.js +3 -1
- package/src/components/ContentGroup/ContentGroup.js +99 -15
- package/src/components/ContentGroup/ContentGroupAccordion.js +160 -0
- package/src/components/ContentGroup/ContentGroupDataFetcher.js +74 -0
- package/src/components/ContentGroup/ContentGroupTabs.js +7 -3
- package/src/components/ContentGroup/constants.js +14 -1
- package/src/components/ContentGroup/helpers/build-data-sections.js +35 -0
- package/src/components/ContentGroup/helpers/get-structured-data-properties.js +36 -0
- package/src/components/ContentGroup/helpers/index.js +2 -1
- package/src/components/ContentGroupSection/ContentGroupSection.js +2 -2
- package/src/components/DataSummary/DataSummaryFactory.js +4 -2
- package/src/components/DataSummary/helpers/get-record-id.js +14 -0
- package/src/components/DataSummary/helpers/index.js +3 -1
- package/src/components/DateTime/DateTime.js +9 -5
- package/src/components/ErrorMessage/ErrorMessage.js +32 -0
- package/src/components/ErrorMessage/index.js +5 -0
- package/src/components/Iframe/Iframe.js +22 -6
- package/src/components/Image/GlobalLightbox/GlobalLightbox.js +70 -72
- package/src/components/Image/GlobalLightbox/NavButton.js +12 -15
- package/src/components/ItemList/ItemListButton/ItemListButton.js +11 -13
- package/src/components/ItemList/ItemListCounter/ItemListCounter.js +2 -2
- package/src/components/ItemList/icons/AddedBookmark.js +33 -0
- package/src/components/ItemList/icons/BaseBookmark.js +33 -0
- package/src/components/ItemList/icons/HoverBookmark.js +33 -0
- package/src/components/ItemList/icons/RemoveBookmark.js +33 -0
- package/src/components/ItemList/icons/index.js +4 -0
- package/src/components/Layout/Layout.js +27 -5
- package/src/components/List/ListBuilder.js +1 -1
- package/src/components/List/ListFactory.js +13 -4
- package/src/components/List/ListRender.js +56 -40
- package/src/components/List/components/Full/FullRenderItem.js +44 -28
- package/src/components/List/components/Pagination/Classic.js +26 -6
- package/src/components/List/components/Pagination/ListPagination.js +8 -12
- package/src/components/List/helpers/build-pagination-items.js +11 -3
- package/src/components/List/helpers/build-pagination-url.js +2 -2
- package/src/components/List/helpers/build-query-booster.js +12 -6
- package/src/components/Loading/index.js +2 -2
- package/src/components/MenuItem/MenuItemRender.js +30 -14
- package/src/components/MenuItem/helpers/inject-helper-into-template.js +12 -2
- package/src/components/SearchContent/SearchContent.js +37 -19
- package/src/components/SearchContent/SearchContentResults.js +1 -1
- package/src/components/SearchFilter/SearchFilter/CloseMobileForm.js +13 -9
- package/src/components/SearchFilter/SearchFilter/FiltersList.js +75 -72
- package/src/components/SearchFilter/SearchFilter/MobileFormToolbar.js +20 -16
- package/src/components/SearchFilter/SearchFilter/ResetDesktopForm.js +22 -18
- package/src/components/SearchFilter/SearchFilter/SearchFilter.js +9 -6
- package/src/components/SearchFilter/SearchFilterContainer.js +16 -12
- package/src/components/SearchFilter/components/Range.js +33 -16
- package/src/components/SearchFilter/constants.js +0 -8
- package/src/components/SearchFilter/helpers/build-new-url.js +3 -2
- package/src/components/SearchFilter/helpers/build-url-query.js +10 -1
- package/src/constants/index.js +8 -4
- package/src/helpers/build-props-query.js +3 -2
- package/src/helpers/build-query-fields.js +1 -1
- package/src/helpers/get-component-id.js +12 -0
- package/src/helpers/get-custom-html-properties.js +11 -0
- package/src/helpers/get-image-ids.js +3 -0
- package/src/helpers/index.js +2 -0
- package/src/hooks/helpers/RenderComponent.js +5 -0
- package/src/hooks/helpers/StoreImages.js +33 -31
- package/src/hooks/index.js +1 -0
- package/src/hooks/use-app-event-hook.js +34 -0
- package/src/hooks/use-app-sync-event-hook.js +20 -6
- package/src/hooks/use-get-image-id-from-relation.js +11 -3
- package/src/index.js +6 -2
- package/src/system-components/EditorMode/BlazeLogo.js +48 -0
- package/src/system-components/EditorMode/PbWrapper.js +27 -0
- package/src/system-components/EditorMode/constants.js +2 -0
- package/src/system-components/EditorMode/helpers/add-editor-mode-event-listeners.js +101 -0
- package/src/system-components/EditorMode/helpers/check-is-over-blaze-icon.js +24 -0
- package/src/system-components/index.js +3 -0
- package/src/translations.js +38 -0
- package/src/variants/Infographic/Infographic.js +2 -2
- package/src/variants/LiveBlogList/LiveBlogList.js +107 -0
- package/src/variants/LiveBlogList/index.js +13 -0
- package/src/variants/index.js +3 -1
- package/babel.config.js +0 -3
- package/example.env +0 -5
- package/jest.config.js +0 -5
- package/tests/helpers/mocks.js +0 -2494
- package/tests/unit/src/BannerContext/helpers/set-initial-banner-counters.test.js +0 -48
- package/tests/unit/src/HOC/__snapshots__/withInfiniteScroll.test.js.snap +0 -9
- package/tests/unit/src/HOC/recreateOnNavigation.test.js +0 -28
- package/tests/unit/src/HOC/withInfiniteScroll.test.js +0 -26
- package/tests/unit/src/HOC/withTitle.test.js +0 -40
- package/tests/unit/src/Layout/Layout.test.js +0 -120
- package/tests/unit/src/Layout/__snapshots__/Layout.test.js.snap +0 -24
- package/tests/unit/src/Layout/getMockedProps.js +0 -19
- package/tests/unit/src/Layout/helpers/check-if-row-has-columns.test.js +0 -50
- package/tests/unit/src/Layout/helpers/get-styles-to-update.test.js +0 -23
- package/tests/unit/src/Layout/helpers/has-children.test.js +0 -38
- package/tests/unit/src/components/BackToTop/BackToTop.test.js +0 -23
- package/tests/unit/src/components/BackToTop/__snapshots__/BackToTop.test.js.snap +0 -3
- package/tests/unit/src/components/Banner/AdSlotRender.test.js +0 -83
- package/tests/unit/src/components/Banner/Banner.test.js +0 -60
- package/tests/unit/src/components/Banner/BannerRender.test.js +0 -126
- package/tests/unit/src/components/Banner/__snapshots__/AdSlotRender.test.js.snap +0 -80
- package/tests/unit/src/components/Banner/__snapshots__/Banner.test.js.snap +0 -7
- package/tests/unit/src/components/Banner/__snapshots__/BannerRender.test.js.snap +0 -15
- package/tests/unit/src/components/Banner/__snapshots__/helpers.test.js.snap +0 -3
- package/tests/unit/src/components/Banner/helpers.test.js +0 -271
- package/tests/unit/src/components/BlazeLink.test.js +0 -68
- package/tests/unit/src/components/Breadcrumb/Breadcrumb.test.js +0 -106
- package/tests/unit/src/components/Breadcrumb/__snapshots__/Breadcrumb.test.js.snap +0 -103
- package/tests/unit/src/components/Button.test.js +0 -143
- package/tests/unit/src/components/Card/Card.test.js +0 -242
- package/tests/unit/src/components/Card/CardContainer.test.js +0 -68
- package/tests/unit/src/components/Card/__snapshots__/Card.test.js.snap +0 -480
- package/tests/unit/src/components/Card/__snapshots__/CardContainer.test.js.snap +0 -201
- package/tests/unit/src/components/Card/helpers/append-images.test.js +0 -36
- package/tests/unit/src/components/Card/helpers/get-dynamic-grid-classes.test.js +0 -29
- package/tests/unit/src/components/Card/helpers/get-updated-items-to-display.test.js +0 -72
- package/tests/unit/src/components/Card/helpers/getPublishedListingUrl.test.js +0 -23
- package/tests/unit/src/components/Card/helpers/useDynamicSizeKey.test.js +0 -14
- package/tests/unit/src/components/Card/mockData.js +0 -194
- package/tests/unit/src/components/Carousel/Carousel.test.js +0 -114
- package/tests/unit/src/components/Carousel/CarouselImage/CarouselImage.test.js +0 -48
- package/tests/unit/src/components/Carousel/CarouselImage/__snapshots__/CarouselImage.test.js.snap +0 -17
- package/tests/unit/src/components/Carousel/CarouselImage/helpers.js +0 -9
- package/tests/unit/src/components/Carousel/CarouselImage/mocks.js +0 -38
- package/tests/unit/src/components/Carousel/CarouselRender/CarouselRender.test.js +0 -74
- package/tests/unit/src/components/Carousel/CarouselRender/__snapshots__/CarouselRender.test.js.snap +0 -47
- package/tests/unit/src/components/Carousel/CarouselRender/mocks.js +0 -0
- package/tests/unit/src/components/Carousel/__snapshots__/Carousel.test.js.snap +0 -94
- package/tests/unit/src/components/CarouselWrapper.test.js +0 -54
- package/tests/unit/src/components/ClickWrapper.test.js +0 -22
- package/tests/unit/src/components/Code/Code.test.js +0 -46
- package/tests/unit/src/components/Code/ScriptTag.test.js +0 -21
- package/tests/unit/src/components/Code/__snapshots__/Code.test.js.snap +0 -37
- package/tests/unit/src/components/Code/__snapshots__/ScriptTag.test.js.snap +0 -24
- package/tests/unit/src/components/Code/helpers/wrap-script-tags.test.js +0 -31
- package/tests/unit/src/components/Code.test.js +0 -29
- package/tests/unit/src/components/ContentGroup/ContentGroup.test.js +0 -16
- package/tests/unit/src/components/ContentGroup/ContentGroupTabs.test.js +0 -35
- package/tests/unit/src/components/ContentGroup/__snapshots__/ContentGroup.test.js.snap +0 -5
- package/tests/unit/src/components/ContentGroup/__snapshots__/ContentGroupTabs.test.js.snap +0 -93
- package/tests/unit/src/components/ContentGroup/helpers/get-active-tab.test.js +0 -28
- package/tests/unit/src/components/ContentGroup/helpers/get-sections-data.test.js +0 -33
- package/tests/unit/src/components/ContentGroupSection/ContentGroupSection.test.js +0 -20
- package/tests/unit/src/components/ContentGroupSection/__snapshots__/ContentGroupSection.test.js.snap +0 -15
- package/tests/unit/src/components/DataSummary/DataSummaryFactory.test.js +0 -67
- package/tests/unit/src/components/DataSummary/DataSummaryRender.test.js +0 -41
- package/tests/unit/src/components/DataSummary/DataSummaryTypes/HeadingLargeSummary.test.js +0 -33
- package/tests/unit/src/components/DataSummary/DataSummaryTypes/ItemDetailsSummary.test.js +0 -23
- package/tests/unit/src/components/DataSummary/DataSummaryTypes/LargeSummary.test.js +0 -23
- package/tests/unit/src/components/DataSummary/DataSummaryTypes/ListSummary.test.js +0 -23
- package/tests/unit/src/components/DataSummary/DataSummaryTypes/TextSummary.test.js +0 -23
- package/tests/unit/src/components/DataSummary/DataSummaryTypes/__snapshots__/HeadingLargeSummary.test.js.snap +0 -11
- package/tests/unit/src/components/DataSummary/DataSummaryTypes/__snapshots__/ItemDetailsSummary.test.js.snap +0 -69
- package/tests/unit/src/components/DataSummary/DataSummaryTypes/__snapshots__/LargeSummary.test.js.snap +0 -109
- package/tests/unit/src/components/DataSummary/DataSummaryTypes/__snapshots__/ListSummary.test.js.snap +0 -101
- package/tests/unit/src/components/DataSummary/DataSummaryTypes/__snapshots__/TextSummary.test.js.snap +0 -57
- package/tests/unit/src/components/DataSummary/__snapshots__/DataSummaryFactory.test.js.snap +0 -11
- package/tests/unit/src/components/DataSummary/__snapshots__/DataSummaryRender.test.js.snap +0 -66
- package/tests/unit/src/components/DataSummary/helpers/build-loop-props-content.test.js +0 -134
- package/tests/unit/src/components/DataSummary/helpers/build-props-to-display-with-content.test.js +0 -56
- package/tests/unit/src/components/DataSummary/helpers/get-data-summary-query.test.js +0 -35
- package/tests/unit/src/components/DataSummary/helpers/get-link-based-on-value.test.js +0 -58
- package/tests/unit/src/components/DataSummary/helpers/get-link-props.test.js +0 -35
- package/tests/unit/src/components/DataSummary/helpers/get-link-to-published-content.test.js +0 -62
- package/tests/unit/src/components/DataSummary/helpers/get-loop-props-limit.test.js +0 -32
- package/tests/unit/src/components/DataSummary/helpers/get-prop-value.test.js +0 -67
- package/tests/unit/src/components/DataSummary/helpers/get-value-from-array.test.js +0 -49
- package/tests/unit/src/components/DataSummary/helpers/mocks.js +0 -90
- package/tests/unit/src/components/DataSummary/helpers/parse-boolean-values.test.js +0 -28
- package/tests/unit/src/components/DataSummary/helpers/strip-summary-props-content.test.js +0 -46
- package/tests/unit/src/components/DataSummary/mockData.js +0 -50
- package/tests/unit/src/components/DateTime/DateTime.test.js +0 -105
- package/tests/unit/src/components/EmailConfirm/EmailConfirm.test.js +0 -53
- package/tests/unit/src/components/EmailConfirm/__snapshots__/EmailConfirm.test.js.snap +0 -13
- package/tests/unit/src/components/Iframe/Iframe.test.js +0 -21
- package/tests/unit/src/components/Iframe/__snapshots__/Iframe.test.js.snap +0 -21
- package/tests/unit/src/components/Image/GlobalLightbox/GlobalLightbox.test.js +0 -123
- package/tests/unit/src/components/Image/GlobalLightbox/NavButton.test.js +0 -44
- package/tests/unit/src/components/Image/GlobalLightbox/__snapshots__/GlobalLightbox.test.js.snap +0 -101
- package/tests/unit/src/components/Image/GlobalLightbox/__snapshots__/NavButton.test.js.snap +0 -15
- package/tests/unit/src/components/Image/GlobalLightbox/getMockedLightboxProps.js +0 -15
- package/tests/unit/src/components/Image/GlobalLightbox/mocks.js +0 -39
- package/tests/unit/src/components/Image/Image.test.js +0 -213
- package/tests/unit/src/components/Image/ImageDetails.test.js +0 -41
- package/tests/unit/src/components/Image/ImageFactory.test.js +0 -121
- package/tests/unit/src/components/Image/ImageRender.test.js +0 -54
- package/tests/unit/src/components/Image/Lightbox/Lightbox.test.js +0 -64
- package/tests/unit/src/components/Image/Lightbox/__snapshots__/Lightbox.test.js.snap +0 -17
- package/tests/unit/src/components/Image/Lightbox/mocks.js +0 -21
- package/tests/unit/src/components/Image/__snapshots__/Image.test.js.snap +0 -74
- package/tests/unit/src/components/Image/__snapshots__/ImageDetails.test.js.snap +0 -10
- package/tests/unit/src/components/Image/__snapshots__/ImageFactory.test.js.snap +0 -93
- package/tests/unit/src/components/Image/__snapshots__/ImageRender.test.js.snap +0 -41
- package/tests/unit/src/components/Image/mocks.js +0 -255
- package/tests/unit/src/components/ItemList/ItemListButton.test.js +0 -178
- package/tests/unit/src/components/ItemList/ItemListCounter.test.js +0 -69
- package/tests/unit/src/components/ItemList/ItemListNew.test.js +0 -167
- package/tests/unit/src/components/ItemList/__snapshots__/ItemListButton.test.js.snap +0 -111
- package/tests/unit/src/components/ItemList/__snapshots__/ItemListCounter.test.js.snap +0 -32
- package/tests/unit/src/components/ItemList/__snapshots__/ItemListNew.test.js.snap +0 -27
- package/tests/unit/src/components/ItemList/helpers/get-item-list-data.test.js +0 -28
- package/tests/unit/src/components/ItemList/helpers/get-item-list-id.test.js +0 -20
- package/tests/unit/src/components/ItemList/helpers/get-item-list-ids.test.js +0 -19
- package/tests/unit/src/components/ItemList/helpers/set-item-list-id.test.js +0 -16
- package/tests/unit/src/components/ItemList/helpers/set-param-and-redirect.test.js +0 -30
- package/tests/unit/src/components/ItemList/hooks/use-item-list-id.test.js +0 -35
- package/tests/unit/src/components/Layout/Layout.test.js +0 -99
- package/tests/unit/src/components/Layout/LayoutFactory.test.js +0 -49
- package/tests/unit/src/components/Layout/__snapshots__/Layout.test.js.snap +0 -67
- package/tests/unit/src/components/LazyImage/LazyImage.test.js +0 -46
- package/tests/unit/src/components/LazyImage/__snapshots__/LazyImage.test.js.snap +0 -31
- package/tests/unit/src/components/List/ListRender.test.js +0 -65
- package/tests/unit/src/components/List/__snapshots__/ListRender.test.js.snap +0 -36
- package/tests/unit/src/components/List/components/Cards/CardsRender.test.js +0 -37
- package/tests/unit/src/components/List/components/Cards/CardsRenderItem.test.js +0 -19
- package/tests/unit/src/components/List/components/Cards/CardsRenderWrapper.test.js +0 -31
- package/tests/unit/src/components/List/components/Cards/__snapshots__/CardsRender.test.js.snap +0 -155
- package/tests/unit/src/components/List/components/Cards/__snapshots__/CardsRenderItem.test.js.snap +0 -13
- package/tests/unit/src/components/List/components/Cards/__snapshots__/CardsRenderWrapper.test.js.snap +0 -31
- package/tests/unit/src/components/List/components/Cards/helpers/check-if-should-render-gtm.test.js +0 -39
- package/tests/unit/src/components/List/components/Full/FullRender.test.js +0 -37
- package/tests/unit/src/components/List/components/Full/FullRenderItem.test.js +0 -32
- package/tests/unit/src/components/List/components/Full/__snapshots__/FullRender.test.js.snap +0 -51
- package/tests/unit/src/components/List/components/Full/__snapshots__/FullRenderItem.test.js.snap +0 -52
- package/tests/unit/src/components/List/components/Header/ListHeader.test.js +0 -28
- package/tests/unit/src/components/List/components/Header/__snapshots__/ListHeader.test.js.snap +0 -45
- package/tests/unit/src/components/List/components/Pagination/Classic.test.js +0 -21
- package/tests/unit/src/components/List/components/Pagination/ListPagination.test.js +0 -86
- package/tests/unit/src/components/List/components/Pagination/LoadMore.test.js +0 -22
- package/tests/unit/src/components/List/components/Pagination/__snapshots__/Classic.test.js.snap +0 -53
- package/tests/unit/src/components/List/components/Pagination/__snapshots__/ListPagination.test.js.snap +0 -51
- package/tests/unit/src/components/List/components/Pagination/__snapshots__/LoadMore.test.js.snap +0 -13
- package/tests/unit/src/components/List/components/helpers/check-if-should-render-banner.test.js +0 -75
- package/tests/unit/src/components/List/components/index.test.js +0 -15
- package/tests/unit/src/components/List/components/mocks.js +0 -56
- package/tests/unit/src/components/List/helpers/__snapshots__/build-pagination-items.test.js.snap +0 -325
- package/tests/unit/src/components/List/helpers/build-az-aggregations.test.js +0 -33
- package/tests/unit/src/components/List/helpers/build-az-url.test.js +0 -11
- package/tests/unit/src/components/List/helpers/build-pagination-items.test.js +0 -40
- package/tests/unit/src/components/List/helpers/build-pagination-url.test.js +0 -16
- package/tests/unit/src/components/List/helpers/build-query-booster.test.js +0 -33
- package/tests/unit/src/components/List/helpers/get-az-query-filter.test.js +0 -17
- package/tests/unit/src/components/List/helpers/get-items-per-page-to-use.test.js +0 -24
- package/tests/unit/src/components/List/helpers/get-list-component.test.js +0 -21
- package/tests/unit/src/components/List/helpers/get-list-query.test.js +0 -55
- package/tests/unit/src/components/List/helpers/get-sort-props.test.js +0 -109
- package/tests/unit/src/components/List/helpers/has-required-item-list-details.test.js +0 -30
- package/tests/unit/src/components/List/helpers/sort-aggs.test.js +0 -46
- package/tests/unit/src/components/Loading/Loading.test.js +0 -29
- package/tests/unit/src/components/Loading/__snapshots__/Loading.test.js.snap +0 -43
- package/tests/unit/src/components/Menu/Menu.test.js +0 -28
- package/tests/unit/src/components/Menu/__snapshots__/Menu.test.js.snap +0 -23
- package/tests/unit/src/components/MenuItem/MenuEntitiesItem.test.js +0 -23
- package/tests/unit/src/components/MenuItem/MenuItem.test.js +0 -49
- package/tests/unit/src/components/MenuItem/MenuItemRender.test.js +0 -55
- package/tests/unit/src/components/MenuItem/SubMenu.test.js +0 -30
- package/tests/unit/src/components/MenuItem/__snapshots__/MenuEntitiesItem.test.js.snap +0 -3
- package/tests/unit/src/components/MenuItem/__snapshots__/MenuItem.test.js.snap +0 -48
- package/tests/unit/src/components/MenuItem/__snapshots__/SubMenu.test.js.snap +0 -17
- package/tests/unit/src/components/MenuItem/helpers/inject-helper-into-template.test.js +0 -44
- package/tests/unit/src/components/MenuItem/mocks.js +0 -71
- package/tests/unit/src/components/Modal/Modal.test.js +0 -45
- package/tests/unit/src/components/Modal/__snapshots__/Modal.test.js.snap +0 -17
- package/tests/unit/src/components/PlaceholderIcon/__snapshots__/index.test.js.snap +0 -87
- package/tests/unit/src/components/PlaceholderIcon/index.test.js +0 -20
- package/tests/unit/src/components/SearchContent/SearchContent.test.js +0 -57
- package/tests/unit/src/components/SearchContent/__snapshots__/SearchContent.test.js.snap +0 -73
- package/tests/unit/src/components/SearchFilter/SearchFilter/CloseMobileForm.test.js +0 -35
- package/tests/unit/src/components/SearchFilter/SearchFilter/FiltersList.test.js +0 -12
- package/tests/unit/src/components/SearchFilter/SearchFilter/MobileFormToolbar.test.js +0 -37
- package/tests/unit/src/components/SearchFilter/SearchFilter/ResetDesktopForm.test.js +0 -43
- package/tests/unit/src/components/SearchFilter/SearchFilter/SearchFilter.test.js +0 -179
- package/tests/unit/src/components/SearchFilter/SearchFilter/__snapshots__/CloseMobileForm.test.js.snap +0 -35
- package/tests/unit/src/components/SearchFilter/SearchFilter/__snapshots__/MobileFormToolbar.test.js.snap +0 -25
- package/tests/unit/src/components/SearchFilter/SearchFilter/__snapshots__/ResetDesktopForm.test.js.snap +0 -39
- package/tests/unit/src/components/SearchFilter/SearchFilter/__snapshots__/SearchFilter.test.js.snap +0 -767
- package/tests/unit/src/components/SearchFilter/SearchFilterContainer.test.js +0 -38
- package/tests/unit/src/components/SearchFilter/__snapshots__/SearchFilterContainer.test.js.snap +0 -5
- package/tests/unit/src/components/SearchFilter/components/Checkbox.test.js +0 -34
- package/tests/unit/src/components/SearchFilter/components/Range.test.js +0 -122
- package/tests/unit/src/components/SearchFilter/components/Select.test.js +0 -96
- package/tests/unit/src/components/SearchFilter/components/TextSearch.test.js +0 -34
- package/tests/unit/src/components/SearchFilter/components/__snapshots__/Checkbox.test.js.snap +0 -60
- package/tests/unit/src/components/SearchFilter/components/__snapshots__/Range.test.js.snap +0 -236
- package/tests/unit/src/components/SearchFilter/components/__snapshots__/Select.test.js.snap +0 -68
- package/tests/unit/src/components/SearchFilter/components/__snapshots__/TextSearch.test.js.snap +0 -58
- package/tests/unit/src/components/SearchFilter/helpers/build-new-url.test.js +0 -31
- package/tests/unit/src/components/SearchFilter/helpers/build-query.test.js +0 -56
- package/tests/unit/src/components/SearchFilter/helpers/calculate-min-max.test.js +0 -21
- package/tests/unit/src/components/SearchFilter/helpers/calculate-step.test.js +0 -21
- package/tests/unit/src/components/SearchFilter/helpers/check-if-range-updated.test.js +0 -27
- package/tests/unit/src/components/SearchFilter/helpers/get-display-value.test.js +0 -38
- package/tests/unit/src/components/SearchFilter/helpers/get-filter-value-from-query.test.js +0 -28
- package/tests/unit/src/components/SearchFilter/helpers/get-initial-filter-values.test.js +0 -50
- package/tests/unit/src/components/SearchFilter/helpers/get-intersected-prop.test.js +0 -12
- package/tests/unit/src/components/SearchFilter/helpers/get-range-value.test.js +0 -24
- package/tests/unit/src/components/SearchFilter/helpers/get-select-options.test.js +0 -46
- package/tests/unit/src/components/SearchFilter/helpers/get-updated-filter-by.test.js +0 -28
- package/tests/unit/src/components/SearchFilter/helpers/is-device-desktop.test.js +0 -31
- package/tests/unit/src/components/SearchFilter/helpers/parse-filter-value.test.js +0 -35
- package/tests/unit/src/components/SearchFilterSort/SearchFilterSort.test.js +0 -27
- package/tests/unit/src/components/SearchFilterSort/__snapshots__/SearchFilterSort.test.js.snap +0 -28
- package/tests/unit/src/components/SearchFilterSort/helpers/handle-sort-update.test.js +0 -53
- package/tests/unit/src/components/SearchFilterSort/helpers/update-sort.test.js +0 -25
- package/tests/unit/src/components/SocialFollow/SFItem.test.js +0 -22
- package/tests/unit/src/components/SocialFollow/SocialFollow.test.js +0 -38
- package/tests/unit/src/components/SocialFollow/__snapshots__/SFItem.test.js.snap +0 -38
- package/tests/unit/src/components/SocialFollow/__snapshots__/SocialFollow.test.js.snap +0 -74
- package/tests/unit/src/components/TextBlock/TextBlock.test.js +0 -82
- package/tests/unit/src/components/TextBlock/__snapshots__/TextBlock.test.js.snap +0 -101
- package/tests/unit/src/components/Video/Video.test.js +0 -74
- package/tests/unit/src/components/Video/VideoModal.test.js +0 -18
- package/tests/unit/src/components/Video/__snapshots__/Video.test.js.snap +0 -59
- package/tests/unit/src/components/Video/__snapshots__/VideoModal.test.js.snap +0 -14
- package/tests/unit/src/components/Video/providers/Default.test.js +0 -22
- package/tests/unit/src/components/Video/providers/JWPlayer/JWPlayerProvider.test.js +0 -49
- package/tests/unit/src/components/Video/providers/JWPlayer/__snapshots__/JWPlayerProvider.test.js.snap +0 -13
- package/tests/unit/src/components/Video/providers/JWPlayer/mocks.js +0 -40
- package/tests/unit/src/components/Video/providers/Vimeo/Vimeo.test.js +0 -13
- package/tests/unit/src/components/Video/providers/Vimeo/__snapshots__/Vimeo.test.js.snap +0 -10
- package/tests/unit/src/components/Video/providers/Vimeo/helpers/add-extra-params-to-url.test.js +0 -24
- package/tests/unit/src/components/Video/providers/YouTube/YouTubeProvider.test.js +0 -15
- package/tests/unit/src/components/Video/providers/YouTube/__snapshots__/YouTubeProvider.test.js.snap +0 -27
- package/tests/unit/src/components/Video/providers/YouTube/helpers/index.test.js +0 -23
- package/tests/unit/src/components/Video/providers/__snapshots__/Default.test.js.snap +0 -165
- package/tests/unit/src/components/Video/providers/get-provider.test.js +0 -36
- package/tests/unit/src/components/Wrapper.test.js +0 -39
- package/tests/unit/src/components/__snapshots__/BlazeLink.test.js.snap +0 -15
- package/tests/unit/src/components/__snapshots__/Button.test.js.snap +0 -18
- package/tests/unit/src/components/__snapshots__/CarouselWrapper.test.js.snap +0 -162
- package/tests/unit/src/components/__snapshots__/ClickWrapper.test.js.snap +0 -13
- package/tests/unit/src/components/__snapshots__/Code.test.js.snap +0 -13
- package/tests/unit/src/components/__snapshots__/Wrapper.test.js.snap +0 -34
- package/tests/unit/src/components/__snapshots__/index.test.js.snap +0 -130
- package/tests/unit/src/components/index.test.js +0 -7
- package/tests/unit/src/constants/__snapshots__/componentsDefaultValues.test.js.snap +0 -21
- package/tests/unit/src/constants/__snapshots__/index.test.js.snap +0 -3
- package/tests/unit/src/constants/componentsDefaultValues.test.js +0 -8
- package/tests/unit/src/constants/index.test.js +0 -7
- package/tests/unit/src/helpers/__snapshots__/build-query-fields.test.js.snap +0 -29
- package/tests/unit/src/helpers/__snapshots__/get-extra-az-bits.test.js.snap +0 -137
- package/tests/unit/src/helpers/__snapshots__/get-wrapped-value-with-link.test.js.snap +0 -18
- package/tests/unit/src/helpers/__snapshots__/parse-textBlock.test.js.snap +0 -3
- package/tests/unit/src/helpers/build-az-query.test.js +0 -26
- package/tests/unit/src/helpers/build-checkbox-filters.test.js +0 -30
- package/tests/unit/src/helpers/build-image-properties.test.js +0 -51
- package/tests/unit/src/helpers/build-inherited-filters.test.js +0 -112
- package/tests/unit/src/helpers/build-link-extra-props.test.js +0 -41
- package/tests/unit/src/helpers/build-props-query.test.js +0 -226
- package/tests/unit/src/helpers/build-query-fields.test.js +0 -25
- package/tests/unit/src/helpers/build-raw-query-base.test.js +0 -169
- package/tests/unit/src/helpers/build-raw-query-stringified.test.js +0 -49
- package/tests/unit/src/helpers/build-raw-query.test.js +0 -474
- package/tests/unit/src/helpers/build-search-values-checkbox-select.test.js +0 -174
- package/tests/unit/src/helpers/build-search-values-text.test.js +0 -57
- package/tests/unit/src/helpers/build-set-filters.test.js +0 -84
- package/tests/unit/src/helpers/build-sort-values.test.js +0 -54
- package/tests/unit/src/helpers/check-for-error.test.js +0 -33
- package/tests/unit/src/helpers/check-props-to-use.test.js +0 -32
- package/tests/unit/src/helpers/get-banner-data.test.js +0 -32
- package/tests/unit/src/helpers/get-card-entities.test.js +0 -27
- package/tests/unit/src/helpers/get-checkbox-filters.test.js +0 -33
- package/tests/unit/src/helpers/get-click-wrapper-options.test.js +0 -81
- package/tests/unit/src/helpers/get-current-offset.test.js +0 -39
- package/tests/unit/src/helpers/get-dictionary-match.test.js +0 -14
- package/tests/unit/src/helpers/get-display-count-data.test.js +0 -49
- package/tests/unit/src/helpers/get-elasticsearch-operator.test.js +0 -20
- package/tests/unit/src/helpers/get-entity-data.test.js +0 -47
- package/tests/unit/src/helpers/get-entity-render-props.test.js +0 -37
- package/tests/unit/src/helpers/get-extra-az-bits.test.js +0 -51
- package/tests/unit/src/helpers/get-filter-props.test.js +0 -82
- package/tests/unit/src/helpers/get-filter-relation-keys.test.js +0 -22
- package/tests/unit/src/helpers/get-generic-props.test.js +0 -21
- package/tests/unit/src/helpers/get-generic-render-variables.test.js +0 -150
- package/tests/unit/src/helpers/get-image-ids.test.js +0 -80
- package/tests/unit/src/helpers/get-inherited-filters.test.js +0 -27
- package/tests/unit/src/helpers/get-items-to-display-ids.test.js +0 -59
- package/tests/unit/src/helpers/get-modifiers.test.js +0 -46
- package/tests/unit/src/helpers/get-not-equal-query.test.js +0 -23
- package/tests/unit/src/helpers/get-pagination-index.test.js +0 -31
- package/tests/unit/src/helpers/get-parsed-prop-values.test.js +0 -66
- package/tests/unit/src/helpers/get-parsed-summary-value.test.js +0 -26
- package/tests/unit/src/helpers/get-prop-values.test.js +0 -38
- package/tests/unit/src/helpers/get-query-filters.test.js +0 -104
- package/tests/unit/src/helpers/get-query-props.test.js +0 -45
- package/tests/unit/src/helpers/get-required-schemas.test.js +0 -56
- package/tests/unit/src/helpers/get-sanitized-prop-values.test.js +0 -26
- package/tests/unit/src/helpers/get-search-filter-type.test.js +0 -47
- package/tests/unit/src/helpers/get-sort-by-field-name.test.js +0 -57
- package/tests/unit/src/helpers/get-unpublished-entity-name.test.js +0 -33
- package/tests/unit/src/helpers/get-updated-filter-by.test.js +0 -44
- package/tests/unit/src/helpers/get-wrapped-value-with-link.test.js +0 -39
- package/tests/unit/src/helpers/group-entities.test.js +0 -34
- package/tests/unit/src/helpers/inject-banner.test.js +0 -39
- package/tests/unit/src/helpers/inject-banners-to-entities.test.js +0 -47
- package/tests/unit/src/helpers/inject-multiple-banners.test.js +0 -45
- package/tests/unit/src/helpers/is-filter-entitys-id.test.js +0 -23
- package/tests/unit/src/helpers/is-object.test.js +0 -21
- package/tests/unit/src/helpers/is-using-relation-image.test.js +0 -12
- package/tests/unit/src/helpers/parse-interval.test.js +0 -27
- package/tests/unit/src/helpers/parse-props-to-display.test.js +0 -73
- package/tests/unit/src/helpers/parse-textBlock.test.js +0 -33
- package/tests/unit/src/helpers/prcoess-data-summary-value.test.js +0 -52
- package/tests/unit/src/helpers/remove-extra-items.test.js +0 -30
- package/tests/unit/src/helpers/remove-unwanted-characters.test.js +0 -70
- package/tests/unit/src/helpers/render-children.test.js +0 -71
- package/tests/unit/src/helpers/should-render-waypoint.test.js +0 -23
- package/tests/unit/src/helpers/should-show-property.test.js +0 -20
- package/tests/unit/src/helpers/sort-response-data.test.js +0 -24
- package/tests/unit/src/helpers/update-childrens-parent.test.js +0 -41
- package/tests/unit/src/hooks/helpers/StoreImages.test.js +0 -26
- package/tests/unit/src/hooks/helpers/append-gtm-classname.test.js +0 -50
- package/tests/unit/src/hooks/helpers/check-banner-insertion-set.test.js +0 -48
- package/tests/unit/src/hooks/helpers/check-collisions.test.js +0 -44
- package/tests/unit/src/hooks/helpers/get-banner-index.test.js +0 -39
- package/tests/unit/src/hooks/helpers/get-components-to-insert-by-type.test.js +0 -38
- package/tests/unit/src/hooks/helpers/getComponent.test.js +0 -30
- package/tests/unit/src/hooks/helpers/inject-element-components.test.js +0 -103
- package/tests/unit/src/hooks/helpers/inject-textblock-banners.test.js +0 -125
- package/tests/unit/src/hooks/helpers/insert-banners.test.js +0 -127
- package/tests/unit/src/hooks/helpers/split-children.test.js +0 -78
- package/tests/unit/src/hooks/helpers/update-targetings.test.js +0 -13
- package/tests/unit/src/hooks/use-app-sync-evet-hook.test.js +0 -50
- package/tests/unit/src/hooks/use-check-mobile-screen.test.js +0 -41
- package/tests/unit/src/hooks/use-get-entity-schema-as-obj.test.js +0 -46
- package/tests/unit/src/hooks/use-get-image-id-from-relation.test.js +0 -92
- package/tests/unit/src/hooks/use-get-images.test.js +0 -167
- package/tests/unit/src/hooks/use-get-single-entity-schema.test.js +0 -80
- package/tests/unit/src/utils/component-map.test.js +0 -56
- package/tests/unit/src/utils/get-class-modifiers.test.js +0 -116
- package/tests/unit/src/utils/get-image-data.test.js +0 -54
- package/tests/unit/src/utils/get-props-to-display-modifiers.test.js +0 -14
- package/tests/unit/src/utils/is-object-empty.test.js +0 -22
- package/tests/unit/src/utils/variant-handler.test.js +0 -46
- package/tests/unit/src/variants/LongFormGallery/LongformGallery.test.js +0 -42
- package/tests/unit/src/variants/LongFormGallery/LongformGalleryImage.test.js +0 -44
- package/tests/unit/src/variants/LongFormGallery/__snapshots__/LongformGallery.test.js.snap +0 -99
- package/tests/unit/src/variants/LongFormGallery/__snapshots__/LongformGalleryImage.test.js.snap +0 -51
- package/tests/unit/src/variants/LongFormGallery/constants.js +0 -37
- package/tests/unit/src/variants/LongFormGallery/helpers/parseImageData.test.js +0 -53
- package/tests/unit/src/variants/LongFormGallery/helpers/separateImages.test.js +0 -52
- package/tests/unit/src/variants/LongFormGallery/helpers/shouldSkip.test.js +0 -23
- package/tests/unit/src/variants/LongFormGallery/useLongformGallery.test.js +0 -36
- package/tests/unit/src/variants/ThumbnailCarousel/ThumbnailCarousel.test.js +0 -29
- package/tests/unit/src/variants/ThumbnailCarousel/ThumbnailImage.test.js +0 -45
- package/tests/unit/src/variants/ThumbnailCarousel/__snapshots__/ThumbnailCarousel.test.js.snap +0 -71
- package/tests/unit/src/variants/ThumbnailCarousel/__snapshots__/ThumbnailImage.test.js.snap +0 -19
- package/tests/unit/src/variants/ThumbnailCarousel/mocks.js +0 -64
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Layout.js","names":["_react","_interopRequireDefault","require","_propTypes","_Wrapper","_utils","_hooks","_helpers","_helpers2","_constants","_excluded","ownKeys","e","r","t","Object","keys","getOwnPropertySymbols","o","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty2","getOwnPropertyDescriptors","defineProperties","defineProperty","Layout","React","forwardRef","_ref","ref","type","children","settings","modifier","backgroundImage","tagType","dataNoSnippet","sticky","VariantComponent","
|
|
1
|
+
{"version":3,"file":"Layout.js","names":["_react","_interopRequireDefault","require","_propTypes","_utilsHandlebars","_Wrapper","_utils","_hooks","_helpers","_helpers2","_constants","_excluded","ownKeys","e","r","t","Object","keys","getOwnPropertySymbols","o","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty2","default","getOwnPropertyDescriptors","defineProperties","defineProperty","Layout","React","forwardRef","_ref","ref","type","children","settings","modifier","backgroundImage","backgroundImageUrl","parent","tagType","dataNoSnippet","sticky","VariantComponent","customHtmlProps","otherProps","_objectWithoutProperties2","data","resolvedBackgroundImageUrl","useStringTemplate","getFile","url","useGetImages","backgroundUrl","style","getStylesToUpdate","title","classModifiers","getClassModifiers","additionalRowModifier","checkIfRowHasColumns","COLUMN","hasChildren","otherWrapperProps","customHtmlProperties","getCustomHtmlProperties","WrapperComponent","Wrapper","createElement","_extends2","className","modifiers","renderChildren","propTypes","PropTypes","string","isRequired","bool","shape","object","func","arrayOf","name","value","oneOfType","node","defaultProps","_default","exports"],"sources":["../../../src/components/Layout/Layout.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { useStringTemplate } from '@blaze-cms/utils-handlebars';\nimport Wrapper from '../Wrapper';\nimport { getClassModifiers } from '../../utils';\nimport { useGetImages } from '../../hooks';\nimport { getStylesToUpdate, checkIfRowHasColumns } from './helpers';\nimport { renderChildren, hasChildren, getCustomHtmlProperties } from '../../helpers';\nimport { COLUMN } from '../../constants';\n\nconst Layout = React.forwardRef(\n (\n {\n type,\n children,\n settings,\n modifier,\n backgroundImage,\n backgroundImageUrl,\n parent,\n tagType,\n dataNoSnippet,\n sticky,\n VariantComponent,\n customHtmlProps = [],\n ...otherProps\n },\n ref\n ) => {\n const {\n data: [resolvedBackgroundImageUrl]\n } = useStringTemplate(parent, [backgroundImageUrl || '']);\n const {\n data: { getFile: { url = null } = {} }\n } = useGetImages(backgroundImage, false, !!resolvedBackgroundImageUrl);\n const backgroundUrl = resolvedBackgroundImageUrl || url;\n const style = getStylesToUpdate({ backgroundImage: backgroundUrl });\n const { title } = settings;\n const classModifiers = getClassModifiers(type, { modifier, sticky, ...otherProps });\n const additionalRowModifier = checkIfRowHasColumns(type, children) ? ' display-row' : '';\n\n if (type === COLUMN && !hasChildren(children)) return null;\n\n const otherWrapperProps = {};\n if (dataNoSnippet) otherWrapperProps['data-nosnippet'] = true;\n\n const customHtmlProperties = getCustomHtmlProperties({ customHtmlProps });\n\n const WrapperComponent = VariantComponent || Wrapper;\n\n return (\n <WrapperComponent\n ref={ref}\n tagType={tagType}\n className={type}\n modifiers={`${classModifiers}${additionalRowModifier}`}\n style={style}\n {...otherWrapperProps}\n {...customHtmlProperties}>\n {title && <h2 className=\"heading heading--section\">{title}</h2>}\n {renderChildren(children, otherProps)}\n </WrapperComponent>\n );\n }\n);\n\nLayout.propTypes = {\n type: PropTypes.string.isRequired,\n sticky: PropTypes.bool,\n settings: PropTypes.shape({\n title: PropTypes.string\n }),\n modifier: PropTypes.string,\n backgroundImage: PropTypes.string,\n backgroundImageUrl: PropTypes.string,\n parent: PropTypes.object,\n tagType: PropTypes.string,\n dataNoSnippet: PropTypes.bool,\n VariantComponent: PropTypes.func,\n customHtmlProps: PropTypes.arrayOf(\n PropTypes.shape({\n name: PropTypes.string,\n value: PropTypes.string\n })\n ),\n children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node]).isRequired\n};\n\nLayout.defaultProps = {\n settings: {\n title: ''\n },\n backgroundImage: '',\n backgroundImageUrl: '',\n parent: {},\n modifier: '',\n tagType: '',\n dataNoSnippet: false,\n sticky: false,\n VariantComponent: null,\n customHtmlProps: []\n};\n\nexport default Layout;\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -4,31 +4,20 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports
|
|
8
|
-
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
|
9
|
-
require("core-js/modules/es.array.iterator.js");
|
|
10
|
-
require("core-js/modules/es.object.define-property.js");
|
|
11
|
-
require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
12
|
-
require("core-js/modules/es.object.to-string.js");
|
|
13
|
-
require("core-js/modules/es.promise.js");
|
|
14
|
-
require("core-js/modules/es.string.iterator.js");
|
|
15
|
-
require("core-js/modules/es.weak-map.js");
|
|
16
|
-
require("core-js/modules/web.dom-collections.iterator.js");
|
|
7
|
+
exports.default = void 0;
|
|
17
8
|
var _react = _interopRequireDefault(require("react"));
|
|
18
9
|
var _dynamic = _interopRequireDefault(require("next/dynamic"));
|
|
19
10
|
var _Layout = _interopRequireDefault(require("./Layout"));
|
|
20
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function
|
|
21
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" !=
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
if (sticky && stickyTimer) return /*#__PURE__*/_react["default"].createElement(LayoutWithStickyTimer, props);
|
|
31
|
-
return /*#__PURE__*/_react["default"].createElement(_Layout["default"], props);
|
|
11
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
12
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
13
|
+
const LayoutWithStickyTimer = (0, _dynamic.default)(() => Promise.resolve().then(() => _interopRequireWildcard(require('./LayoutWithStickyTimer'))));
|
|
14
|
+
const LayoutFactory = props => {
|
|
15
|
+
const {
|
|
16
|
+
sticky,
|
|
17
|
+
stickyTimer
|
|
18
|
+
} = props;
|
|
19
|
+
if (sticky && stickyTimer) return /*#__PURE__*/_react.default.createElement(LayoutWithStickyTimer, props);
|
|
20
|
+
return /*#__PURE__*/_react.default.createElement(_Layout.default, props);
|
|
32
21
|
};
|
|
33
|
-
var _default = exports
|
|
22
|
+
var _default = exports.default = LayoutFactory;
|
|
34
23
|
//# sourceMappingURL=LayoutFactory.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayoutFactory.js","names":["_react","_interopRequireDefault","require","_dynamic","_Layout","_getRequireWildcardCache","e","WeakMap","r","t","_interopRequireWildcard","__esModule","
|
|
1
|
+
{"version":3,"file":"LayoutFactory.js","names":["_react","_interopRequireDefault","require","_dynamic","_Layout","_getRequireWildcardCache","e","WeakMap","r","t","_interopRequireWildcard","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","LayoutWithStickyTimer","dynamic","Promise","resolve","then","LayoutFactory","props","sticky","stickyTimer","createElement","_default","exports"],"sources":["../../../src/components/Layout/LayoutFactory.js"],"sourcesContent":["import React from 'react';\nimport dynamic from 'next/dynamic';\nimport Layout from './Layout';\n\nconst LayoutWithStickyTimer = dynamic(\n () => import(/* webpackChunkName: \"blazePbLayoutWithStickyTimer\" */ './LayoutWithStickyTimer')\n);\n\nconst LayoutFactory = props => {\n const { sticky, stickyTimer } = props;\n\n if (sticky && stickyTimer) return <LayoutWithStickyTimer {...props} />;\n\n return <Layout {...props} />;\n};\n\nexport default LayoutFactory;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,QAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,OAAA,GAAAH,sBAAA,CAAAC,OAAA;AAA8B,SAAAG,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAI,wBAAAJ,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAM,OAAA,EAAAN,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAI,GAAA,CAAAP,CAAA,UAAAG,CAAA,CAAAK,GAAA,CAAAR,CAAA,OAAAS,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAf,CAAA,oBAAAe,CAAA,OAAAC,cAAA,CAAAC,IAAA,CAAAjB,CAAA,EAAAe,CAAA,SAAAG,CAAA,GAAAP,CAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAd,CAAA,EAAAe,CAAA,UAAAG,CAAA,KAAAA,CAAA,CAAAV,GAAA,IAAAU,CAAA,CAAAC,GAAA,IAAAP,MAAA,CAAAC,cAAA,CAAAJ,CAAA,EAAAM,CAAA,EAAAG,CAAA,IAAAT,CAAA,CAAAM,CAAA,IAAAf,CAAA,CAAAe,CAAA,YAAAN,CAAA,CAAAH,OAAA,GAAAN,CAAA,EAAAG,CAAA,IAAAA,CAAA,CAAAgB,GAAA,CAAAnB,CAAA,EAAAS,CAAA,GAAAA,CAAA;AAE9B,MAAMW,qBAAqB,GAAG,IAAAC,gBAAO,EACnC,MAAAC,OAAA,CAAAC,OAAA,GAAAC,IAAA,OAAApB,uBAAA,CAAAR,OAAA,CAAoE,yBAAyB,GAC/F,CAAC;AAED,MAAM6B,aAAa,GAAGC,KAAK,IAAI;EAC7B,MAAM;IAAEC,MAAM;IAAEC;EAAY,CAAC,GAAGF,KAAK;EAErC,IAAIC,MAAM,IAAIC,WAAW,EAAE,oBAAOlC,MAAA,CAAAY,OAAA,CAAAuB,aAAA,CAACT,qBAAqB,EAAKM,KAAQ,CAAC;EAEtE,oBAAOhC,MAAA,CAAAY,OAAA,CAAAuB,aAAA,CAAC/B,OAAA,CAAAQ,OAAM,EAAKoB,KAAQ,CAAC;AAC9B,CAAC;AAAC,IAAAI,QAAA,GAAAC,OAAA,CAAAzB,OAAA,GAEamB,aAAa","ignoreList":[]}
|
|
@@ -1,65 +1,51 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
require("core-js/modules/es.array.iterator.js");
|
|
4
|
-
require("core-js/modules/es.object.define-property.js");
|
|
5
|
-
require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
6
|
-
require("core-js/modules/es.object.to-string.js");
|
|
7
|
-
require("core-js/modules/es.string.iterator.js");
|
|
8
|
-
require("core-js/modules/es.weak-map.js");
|
|
9
|
-
require("core-js/modules/web.dom-collections.iterator.js");
|
|
10
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
11
|
-
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
12
4
|
Object.defineProperty(exports, "__esModule", {
|
|
13
5
|
value: true
|
|
14
6
|
});
|
|
15
|
-
exports
|
|
16
|
-
require("core-js/modules/web.timers.js");
|
|
7
|
+
exports.default = void 0;
|
|
17
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
18
|
-
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
19
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
20
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
21
11
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
22
12
|
var _customHooks = require("@blaze-react/utils/lib/customHooks");
|
|
23
13
|
var _recreateOnNavigation = _interopRequireDefault(require("../../HOC/recreateOnNavigation"));
|
|
24
14
|
var _Layout = _interopRequireDefault(require("./Layout"));
|
|
25
|
-
|
|
26
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function
|
|
27
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" !=
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
_useState2 = (0, _slicedToArray2["default"])(_useState, 2),
|
|
38
|
-
isSticky = _useState2[0],
|
|
39
|
-
setIsSticky = _useState2[1];
|
|
40
|
-
(0, _react.useEffect)(function () {
|
|
15
|
+
const _excluded = ["sticky", "stickyTimer"];
|
|
16
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
17
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
18
|
+
const LayoutWithStickyTimer = _ref => {
|
|
19
|
+
let {
|
|
20
|
+
sticky,
|
|
21
|
+
stickyTimer
|
|
22
|
+
} = _ref,
|
|
23
|
+
otherProps = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
24
|
+
const [isIntersecting, outerRef] = (0, _customHooks.useInView)({});
|
|
25
|
+
const [isSticky, setIsSticky] = (0, _react.useState)(sticky);
|
|
26
|
+
(0, _react.useEffect)(() => {
|
|
41
27
|
if (isIntersecting && sticky && !!stickyTimer) {
|
|
42
28
|
setIsSticky(true);
|
|
43
|
-
|
|
29
|
+
const timer = setTimeout(() => {
|
|
44
30
|
setIsSticky(false);
|
|
45
31
|
}, stickyTimer);
|
|
46
|
-
return
|
|
32
|
+
return () => {
|
|
47
33
|
clearTimeout(timer);
|
|
48
34
|
};
|
|
49
35
|
}
|
|
50
36
|
}, [isIntersecting, stickyTimer, sticky]);
|
|
51
|
-
return /*#__PURE__*/_react
|
|
37
|
+
return /*#__PURE__*/_react.default.createElement(_Layout.default, (0, _extends2.default)({}, otherProps, {
|
|
52
38
|
sticky: isSticky,
|
|
53
39
|
ref: sticky ? outerRef : null
|
|
54
40
|
}));
|
|
55
41
|
};
|
|
56
42
|
LayoutWithStickyTimer.propTypes = {
|
|
57
|
-
sticky: _propTypes
|
|
58
|
-
stickyTimer: _propTypes
|
|
43
|
+
sticky: _propTypes.default.bool,
|
|
44
|
+
stickyTimer: _propTypes.default.number
|
|
59
45
|
};
|
|
60
46
|
LayoutWithStickyTimer.defaultProps = {
|
|
61
47
|
sticky: false,
|
|
62
48
|
stickyTimer: 0
|
|
63
49
|
};
|
|
64
|
-
var _default = exports
|
|
50
|
+
var _default = exports.default = (0, _recreateOnNavigation.default)(LayoutWithStickyTimer);
|
|
65
51
|
//# sourceMappingURL=LayoutWithStickyTimer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayoutWithStickyTimer.js","names":["_react","_interopRequireWildcard","require","_propTypes","_interopRequireDefault","_customHooks","_recreateOnNavigation","_Layout","_excluded","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","
|
|
1
|
+
{"version":3,"file":"LayoutWithStickyTimer.js","names":["_react","_interopRequireWildcard","require","_propTypes","_interopRequireDefault","_customHooks","_recreateOnNavigation","_Layout","_excluded","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","LayoutWithStickyTimer","_ref","sticky","stickyTimer","otherProps","_objectWithoutProperties2","isIntersecting","outerRef","useInView","isSticky","setIsSticky","useState","useEffect","timer","setTimeout","clearTimeout","createElement","_extends2","ref","propTypes","PropTypes","bool","number","defaultProps","_default","exports","recreateOnNavigation"],"sources":["../../../src/components/Layout/LayoutWithStickyTimer.js"],"sourcesContent":["import React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { useInView } from '@blaze-react/utils/lib/customHooks';\nimport recreateOnNavigation from '../../HOC/recreateOnNavigation';\nimport Layout from './Layout';\n\nconst LayoutWithStickyTimer = ({ sticky, stickyTimer, ...otherProps }) => {\n const [isIntersecting, outerRef] = useInView({});\n const [isSticky, setIsSticky] = useState(sticky);\n\n useEffect(() => {\n if (isIntersecting && sticky && !!stickyTimer) {\n setIsSticky(true);\n const timer = setTimeout(() => {\n setIsSticky(false);\n }, stickyTimer);\n\n return () => {\n clearTimeout(timer);\n };\n }\n }, [isIntersecting, stickyTimer, sticky]);\n\n return <Layout {...otherProps} sticky={isSticky} ref={sticky ? outerRef : null} />;\n};\n\nLayoutWithStickyTimer.propTypes = {\n sticky: PropTypes.bool,\n stickyTimer: PropTypes.number\n};\n\nLayoutWithStickyTimer.defaultProps = {\n sticky: false,\n stickyTimer: 0\n};\n\nexport default recreateOnNavigation(LayoutWithStickyTimer);\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
require("core-js/modules/es.object.define-property.js");
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
7
6
|
exports.childPropsToUse = exports.ROW = exports.COLUMN = void 0;
|
|
8
7
|
// Expand array with new prop keys as needed
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
const childPropsToUse = exports.childPropsToUse = ['width'];
|
|
9
|
+
const ROW = exports.ROW = 'row';
|
|
10
|
+
const COLUMN = exports.COLUMN = 'column';
|
|
12
11
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","names":["childPropsToUse","exports","ROW","COLUMN"],"sources":["../../../src/components/Layout/constants.js"],"sourcesContent":["// Expand array with new prop keys as needed\nconst childPropsToUse = ['width'];\nconst ROW = 'row';\nconst COLUMN = 'column';\n\nexport { childPropsToUse, ROW, COLUMN };\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.js","names":["childPropsToUse","exports","ROW","COLUMN"],"sources":["../../../src/components/Layout/constants.js"],"sourcesContent":["// Expand array with new prop keys as needed\nconst childPropsToUse = ['width'];\nconst ROW = 'row';\nconst COLUMN = 'column';\n\nexport { childPropsToUse, ROW, COLUMN };\n"],"mappings":";;;;;;AAAA;AACA,MAAMA,eAAe,GAAAC,OAAA,CAAAD,eAAA,GAAG,CAAC,OAAO,CAAC;AACjC,MAAME,GAAG,GAAAD,OAAA,CAAAC,GAAA,GAAG,KAAK;AACjB,MAAMC,MAAM,GAAAF,OAAA,CAAAE,MAAA,GAAG,QAAQ","ignoreList":[]}
|
|
@@ -1,33 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
require("core-js/modules/es.object.define-property.js");
|
|
4
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
|
-
exports
|
|
9
|
-
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
10
|
-
require("core-js/modules/es.array.for-each.js");
|
|
11
|
-
require("core-js/modules/es.array.is-array.js");
|
|
12
|
-
require("core-js/modules/es.object.to-string.js");
|
|
13
|
-
require("core-js/modules/web.dom-collections.for-each.js");
|
|
7
|
+
exports.default = void 0;
|
|
14
8
|
var _react = _interopRequireDefault(require("react"));
|
|
15
9
|
var _constants = require("../constants");
|
|
16
10
|
function checkIfRowHasColumns(type, children) {
|
|
17
11
|
if (type !== _constants.ROW) return false;
|
|
18
|
-
|
|
19
|
-
_react
|
|
20
|
-
|
|
12
|
+
let hasColumn = false;
|
|
13
|
+
_react.default.Children.forEach(children, child => {
|
|
14
|
+
const childrenElements = child.props.children;
|
|
21
15
|
if (Array.isArray(childrenElements) && childrenElements.length) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
var nestedChildType = nestedChild.props.component.type;
|
|
16
|
+
const [, nestedChildren] = child.props.children;
|
|
17
|
+
nestedChildren.forEach(nestedChild => {
|
|
18
|
+
const nestedChildType = nestedChild.props.component.type;
|
|
26
19
|
if (nestedChildType === _constants.COLUMN) hasColumn = true;
|
|
27
20
|
});
|
|
28
21
|
}
|
|
29
22
|
});
|
|
30
23
|
return hasColumn;
|
|
31
24
|
}
|
|
32
|
-
var _default = exports
|
|
25
|
+
var _default = exports.default = checkIfRowHasColumns;
|
|
33
26
|
//# sourceMappingURL=check-if-row-has-columns.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-if-row-has-columns.js","names":["_react","_interopRequireDefault","require","_constants","checkIfRowHasColumns","type","children","ROW","hasColumn","React","Children","forEach","child","childrenElements","props","Array","isArray","length","
|
|
1
|
+
{"version":3,"file":"check-if-row-has-columns.js","names":["_react","_interopRequireDefault","require","_constants","checkIfRowHasColumns","type","children","ROW","hasColumn","React","Children","forEach","child","childrenElements","props","Array","isArray","length","nestedChildren","nestedChild","nestedChildType","component","COLUMN","_default","exports","default"],"sources":["../../../../src/components/Layout/helpers/check-if-row-has-columns.js"],"sourcesContent":["import React from 'react';\nimport { ROW, COLUMN } from '../constants';\n\nfunction checkIfRowHasColumns(type, children) {\n if (type !== ROW) return false;\n let hasColumn = false;\n\n React.Children.forEach(children, child => {\n const childrenElements = child.props.children;\n if (Array.isArray(childrenElements) && childrenElements.length) {\n const [, nestedChildren] = child.props.children;\n nestedChildren.forEach(nestedChild => {\n const nestedChildType = nestedChild.props.component.type;\n if (nestedChildType === COLUMN) hasColumn = true;\n });\n }\n });\n return hasColumn;\n}\n\nexport default checkIfRowHasColumns;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AAEA,SAASE,oBAAoBA,CAACC,IAAI,EAAEC,QAAQ,EAAE;EAC5C,IAAID,IAAI,KAAKE,cAAG,EAAE,OAAO,KAAK;EAC9B,IAAIC,SAAS,GAAG,KAAK;EAErBC,cAAK,CAACC,QAAQ,CAACC,OAAO,CAACL,QAAQ,EAAEM,KAAK,IAAI;IACxC,MAAMC,gBAAgB,GAAGD,KAAK,CAACE,KAAK,CAACR,QAAQ;IAC7C,IAAIS,KAAK,CAACC,OAAO,CAACH,gBAAgB,CAAC,IAAIA,gBAAgB,CAACI,MAAM,EAAE;MAC9D,MAAM,GAAGC,cAAc,CAAC,GAAGN,KAAK,CAACE,KAAK,CAACR,QAAQ;MAC/CY,cAAc,CAACP,OAAO,CAACQ,WAAW,IAAI;QACpC,MAAMC,eAAe,GAAGD,WAAW,CAACL,KAAK,CAACO,SAAS,CAAChB,IAAI;QACxD,IAAIe,eAAe,KAAKE,iBAAM,EAAEd,SAAS,GAAG,IAAI;MAClD,CAAC,CAAC;IACJ;EACF,CAAC,CAAC;EACF,OAAOA,SAAS;AAClB;AAAC,IAAAe,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEcrB,oBAAoB","ignoreList":[]}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
require("core-js/modules/es.object.define-property.js");
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
7
|
-
exports
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
const getStylesToUpdate = ({
|
|
8
|
+
backgroundImage
|
|
9
|
+
}) => {
|
|
10
10
|
if (!backgroundImage) return {};
|
|
11
11
|
return {
|
|
12
|
-
backgroundImage:
|
|
12
|
+
backgroundImage: `url("${backgroundImage}")`
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
-
var _default = exports
|
|
15
|
+
var _default = exports.default = getStylesToUpdate;
|
|
16
16
|
//# sourceMappingURL=get-styles-to-update.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-styles-to-update.js","names":["getStylesToUpdate","
|
|
1
|
+
{"version":3,"file":"get-styles-to-update.js","names":["getStylesToUpdate","backgroundImage","_default","exports","default"],"sources":["../../../../src/components/Layout/helpers/get-styles-to-update.js"],"sourcesContent":["const getStylesToUpdate = ({ backgroundImage }) => {\n if (!backgroundImage) return {};\n\n return {\n backgroundImage: `url(\"${backgroundImage}\")`\n };\n};\n\nexport default getStylesToUpdate;\n"],"mappings":";;;;;;AAAA,MAAMA,iBAAiB,GAAGA,CAAC;EAAEC;AAAgB,CAAC,KAAK;EACjD,IAAI,CAACA,eAAe,EAAE,OAAO,CAAC,CAAC;EAE/B,OAAO;IACLA,eAAe,EAAE,QAAQA,eAAe;EAC1C,CAAC;AACH,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEaJ,iBAAiB","ignoreList":[]}
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
require("core-js/modules/es.object.define-property.js");
|
|
4
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
Object.defineProperty(exports, "checkIfRowHasColumns", {
|
|
9
8
|
enumerable: true,
|
|
10
|
-
get: function
|
|
11
|
-
return _checkIfRowHasColumns
|
|
9
|
+
get: function () {
|
|
10
|
+
return _checkIfRowHasColumns.default;
|
|
12
11
|
}
|
|
13
12
|
});
|
|
14
13
|
Object.defineProperty(exports, "getStylesToUpdate", {
|
|
15
14
|
enumerable: true,
|
|
16
|
-
get: function
|
|
17
|
-
return _getStylesToUpdate
|
|
15
|
+
get: function () {
|
|
16
|
+
return _getStylesToUpdate.default;
|
|
18
17
|
}
|
|
19
18
|
});
|
|
20
19
|
var _getStylesToUpdate = _interopRequireDefault(require("./get-styles-to-update"));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_getStylesToUpdate","_interopRequireDefault","require","_checkIfRowHasColumns"],"sources":["../../../../src/components/Layout/helpers/index.js"],"sourcesContent":["import getStylesToUpdate from './get-styles-to-update';\nimport checkIfRowHasColumns from './check-if-row-has-columns';\n\nexport { getStylesToUpdate, checkIfRowHasColumns };\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","names":["_getStylesToUpdate","_interopRequireDefault","require","_checkIfRowHasColumns"],"sources":["../../../../src/components/Layout/helpers/index.js"],"sourcesContent":["import getStylesToUpdate from './get-styles-to-update';\nimport checkIfRowHasColumns from './check-if-row-has-columns';\n\nexport { getStylesToUpdate, checkIfRowHasColumns };\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA,IAAAA,kBAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,qBAAA,GAAAF,sBAAA,CAAAC,OAAA","ignoreList":[]}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
require("core-js/modules/es.object.define-property.js");
|
|
4
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
|
-
exports
|
|
7
|
+
exports.default = void 0;
|
|
9
8
|
var _LayoutFactory = _interopRequireDefault(require("./LayoutFactory"));
|
|
10
|
-
var _default = exports
|
|
9
|
+
var _default = exports.default = _LayoutFactory.default;
|
|
11
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_LayoutFactory","_interopRequireDefault","require","_default","exports","LayoutFactory"],"sources":["../../../src/components/Layout/index.js"],"sourcesContent":["import LayoutFactory from './LayoutFactory';\n\nexport default LayoutFactory;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","names":["_LayoutFactory","_interopRequireDefault","require","_default","exports","default","LayoutFactory"],"sources":["../../../src/components/Layout/index.js"],"sourcesContent":["import LayoutFactory from './LayoutFactory';\n\nexport default LayoutFactory;\n"],"mappings":";;;;;;;AAAA,IAAAA,cAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA4C,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAE7BC,sBAAa","ignoreList":[]}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
require("core-js/modules/es.object.define-property.js");
|
|
4
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
|
-
exports
|
|
7
|
+
exports.default = void 0;
|
|
9
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
|
-
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
11
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
12
10
|
var _react = _interopRequireDefault(require("react"));
|
|
13
11
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
@@ -15,22 +13,21 @@ var _imageCdnReact = require("@blaze-cms/image-cdn-react");
|
|
|
15
13
|
var _head = _interopRequireDefault(require("next/head"));
|
|
16
14
|
var _customHooks = require("@blaze-react/utils/lib/customHooks");
|
|
17
15
|
var _constants = require("../../constants");
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
16
|
+
const _excluded = ["src", "alt", "sizeKey", "priority"];
|
|
17
|
+
const LazyImage = _ref => {
|
|
18
|
+
let {
|
|
19
|
+
src,
|
|
20
|
+
alt,
|
|
21
|
+
sizeKey,
|
|
22
|
+
priority
|
|
23
|
+
} = _ref,
|
|
24
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
25
|
+
const [isIntersecting, outerRef] = (0, _customHooks.useInView)(_constants.IN_VIEW_CONFIG);
|
|
26
|
+
const shouldRender = priority || isIntersecting;
|
|
27
|
+
const HeadComponent = priority ? _head.default : null;
|
|
28
|
+
return /*#__PURE__*/_react.default.createElement("span", {
|
|
32
29
|
ref: outerRef
|
|
33
|
-
}, shouldRender && /*#__PURE__*/_react
|
|
30
|
+
}, shouldRender && /*#__PURE__*/_react.default.createElement(_imageCdnReact.ResponsiveImage, (0, _extends2.default)({
|
|
34
31
|
src: src,
|
|
35
32
|
alt: alt,
|
|
36
33
|
sizeKey: sizeKey,
|
|
@@ -38,14 +35,14 @@ var LazyImage = function LazyImage(_ref) {
|
|
|
38
35
|
}, props)));
|
|
39
36
|
};
|
|
40
37
|
LazyImage.propTypes = {
|
|
41
|
-
src: _propTypes
|
|
42
|
-
alt: _propTypes
|
|
43
|
-
sizeKey: _propTypes
|
|
44
|
-
priority: _propTypes
|
|
38
|
+
src: _propTypes.default.string.isRequired,
|
|
39
|
+
alt: _propTypes.default.string,
|
|
40
|
+
sizeKey: _propTypes.default.string.isRequired,
|
|
41
|
+
priority: _propTypes.default.bool
|
|
45
42
|
};
|
|
46
43
|
LazyImage.defaultProps = {
|
|
47
44
|
alt: '',
|
|
48
45
|
priority: false
|
|
49
46
|
};
|
|
50
|
-
var _default = exports
|
|
47
|
+
var _default = exports.default = LazyImage;
|
|
51
48
|
//# sourceMappingURL=LazyImage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LazyImage.js","names":["_react","_interopRequireDefault","require","_propTypes","_imageCdnReact","_head","_customHooks","_constants","_excluded","LazyImage","_ref","src","alt","sizeKey","priority","props","_objectWithoutProperties2","
|
|
1
|
+
{"version":3,"file":"LazyImage.js","names":["_react","_interopRequireDefault","require","_propTypes","_imageCdnReact","_head","_customHooks","_constants","_excluded","LazyImage","_ref","src","alt","sizeKey","priority","props","_objectWithoutProperties2","default","isIntersecting","outerRef","useInView","IN_VIEW_CONFIG","shouldRender","HeadComponent","Head","createElement","ref","ResponsiveImage","_extends2","propTypes","PropTypes","string","isRequired","bool","defaultProps","_default","exports"],"sources":["../../../src/components/LazyImage/LazyImage.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { ResponsiveImage } from '@blaze-cms/image-cdn-react';\nimport Head from 'next/head';\nimport { useInView } from '@blaze-react/utils/lib/customHooks';\nimport { IN_VIEW_CONFIG } from '../../constants';\n\nconst LazyImage = ({ src, alt, sizeKey, priority, ...props }) => {\n const [isIntersecting, outerRef] = useInView(IN_VIEW_CONFIG);\n const shouldRender = priority || isIntersecting;\n const HeadComponent = priority ? Head : null;\n\n return (\n <span ref={outerRef}>\n {shouldRender && (\n <ResponsiveImage\n src={src}\n alt={alt}\n sizeKey={sizeKey}\n HeadComponent={HeadComponent}\n {...props}\n />\n )}\n </span>\n );\n};\n\nLazyImage.propTypes = {\n src: PropTypes.string.isRequired,\n alt: PropTypes.string,\n sizeKey: PropTypes.string.isRequired,\n priority: PropTypes.bool\n};\n\nLazyImage.defaultProps = {\n alt: '',\n priority: false\n};\n\nexport default LazyImage;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;AACA,IAAAG,KAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AACA,IAAAK,UAAA,GAAAL,OAAA;AAAiD,MAAAM,SAAA;AAEjD,MAAMC,SAAS,GAAGC,IAAA,IAA+C;EAAA,IAA9C;MAAEC,GAAG;MAAEC,GAAG;MAAEC,OAAO;MAAEC;IAAmB,CAAC,GAAAJ,IAAA;IAAPK,KAAK,OAAAC,yBAAA,CAAAC,OAAA,EAAAP,IAAA,EAAAF,SAAA;EACxD,MAAM,CAACU,cAAc,EAAEC,QAAQ,CAAC,GAAG,IAAAC,sBAAS,EAACC,yBAAc,CAAC;EAC5D,MAAMC,YAAY,GAAGR,QAAQ,IAAII,cAAc;EAC/C,MAAMK,aAAa,GAAGT,QAAQ,GAAGU,aAAI,GAAG,IAAI;EAE5C,oBACExB,MAAA,CAAAiB,OAAA,CAAAQ,aAAA;IAAMC,GAAG,EAAEP;EAAS,GACjBG,YAAY,iBACXtB,MAAA,CAAAiB,OAAA,CAAAQ,aAAA,CAACrB,cAAA,CAAAuB,eAAe,MAAAC,SAAA,CAAAX,OAAA;IACdN,GAAG,EAAEA,GAAI;IACTC,GAAG,EAAEA,GAAI;IACTC,OAAO,EAAEA,OAAQ;IACjBU,aAAa,EAAEA;EAAc,GACzBR,KAAK,CACV,CAEC,CAAC;AAEX,CAAC;AAEDN,SAAS,CAACoB,SAAS,GAAG;EACpBlB,GAAG,EAAEmB,kBAAS,CAACC,MAAM,CAACC,UAAU;EAChCpB,GAAG,EAAEkB,kBAAS,CAACC,MAAM;EACrBlB,OAAO,EAAEiB,kBAAS,CAACC,MAAM,CAACC,UAAU;EACpClB,QAAQ,EAAEgB,kBAAS,CAACG;AACtB,CAAC;AAEDxB,SAAS,CAACyB,YAAY,GAAG;EACvBtB,GAAG,EAAE,EAAE;EACPE,QAAQ,EAAE;AACZ,CAAC;AAAC,IAAAqB,QAAA,GAAAC,OAAA,CAAAnB,OAAA,GAEaR,SAAS","ignoreList":[]}
|
|
@@ -4,22 +4,9 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports
|
|
8
|
-
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
|
9
|
-
require("core-js/modules/es.array.iterator.js");
|
|
10
|
-
require("core-js/modules/es.object.define-property.js");
|
|
11
|
-
require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
12
|
-
require("core-js/modules/es.object.to-string.js");
|
|
13
|
-
require("core-js/modules/es.promise.js");
|
|
14
|
-
require("core-js/modules/es.string.iterator.js");
|
|
15
|
-
require("core-js/modules/es.weak-map.js");
|
|
16
|
-
require("core-js/modules/web.dom-collections.iterator.js");
|
|
7
|
+
exports.default = void 0;
|
|
17
8
|
var _dynamic = _interopRequireDefault(require("next/dynamic"));
|
|
18
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function
|
|
19
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" !=
|
|
20
|
-
var _default = exports
|
|
21
|
-
return Promise.resolve().then(function () {
|
|
22
|
-
return _interopRequireWildcard(require(/* webpackChunkName: "blazePbLazyImage" */'./LazyImage'));
|
|
23
|
-
});
|
|
24
|
-
});
|
|
9
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
10
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
11
|
+
var _default = exports.default = (0, _dynamic.default)(() => Promise.resolve().then(() => _interopRequireWildcard(require('./LazyImage'))));
|
|
25
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_dynamic","_interopRequireDefault","require","_getRequireWildcardCache","e","WeakMap","r","t","_interopRequireWildcard","__esModule","
|
|
1
|
+
{"version":3,"file":"index.js","names":["_dynamic","_interopRequireDefault","require","_getRequireWildcardCache","e","WeakMap","r","t","_interopRequireWildcard","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_default","exports","dynamic","Promise","resolve","then"],"sources":["../../../src/components/LazyImage/index.js"],"sourcesContent":["import dynamic from 'next/dynamic';\n\nexport default dynamic(() => import(/* webpackChunkName: \"blazePbLazyImage\" */ './LazyImage'));\n"],"mappings":";;;;;;;AAAA,IAAAA,QAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAmC,SAAAC,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAI,wBAAAJ,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAM,OAAA,EAAAN,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAI,GAAA,CAAAP,CAAA,UAAAG,CAAA,CAAAK,GAAA,CAAAR,CAAA,OAAAS,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAf,CAAA,oBAAAe,CAAA,OAAAC,cAAA,CAAAC,IAAA,CAAAjB,CAAA,EAAAe,CAAA,SAAAG,CAAA,GAAAP,CAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAd,CAAA,EAAAe,CAAA,UAAAG,CAAA,KAAAA,CAAA,CAAAV,GAAA,IAAAU,CAAA,CAAAC,GAAA,IAAAP,MAAA,CAAAC,cAAA,CAAAJ,CAAA,EAAAM,CAAA,EAAAG,CAAA,IAAAT,CAAA,CAAAM,CAAA,IAAAf,CAAA,CAAAe,CAAA,YAAAN,CAAA,CAAAH,OAAA,GAAAN,CAAA,EAAAG,CAAA,IAAAA,CAAA,CAAAgB,GAAA,CAAAnB,CAAA,EAAAS,CAAA,GAAAA,CAAA;AAAA,IAAAW,QAAA,GAAAC,OAAA,CAAAf,OAAA,GAEpB,IAAAgB,gBAAO,EAAC,MAAAC,OAAA,CAAAC,OAAA,GAAAC,IAAA,OAAArB,uBAAA,CAAAN,OAAA,CAAwD,aAAa,GAAC,CAAC","ignoreList":[]}
|