@blaze-cms/react-page-builder 0.139.1-core-styles.0 → 0.139.2-alpha.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 +17 -1
- package/lib/BannerContext/helpers/set-initial-banner-counters.js +1 -2
- package/lib/BannerContext/helpers/set-initial-banner-counters.js.map +1 -1
- package/lib/BannerContext/index.js +4 -6
- package/lib/BannerContext/index.js.map +1 -1
- package/lib/HOC/recreateOnNavigation.js +1 -2
- package/lib/HOC/recreateOnNavigation.js.map +1 -1
- package/lib/HOC/withInfiniteScroll.js +3 -4
- package/lib/HOC/withInfiniteScroll.js.map +1 -1
- package/lib/HOC/withTitle.js +3 -4
- package/lib/HOC/withTitle.js.map +1 -1
- package/lib/PBContext/index.js +1 -2
- package/lib/PBContext/index.js.map +1 -1
- package/lib/application/query/index.js +15 -30
- package/lib/application/query/index.js.map +1 -1
- package/lib/components/BackToTop/BackToTop.js +3 -4
- package/lib/components/BackToTop/BackToTop.js.map +1 -1
- package/lib/components/BackToTop/index.js +1 -2
- package/lib/components/BackToTop/index.js.map +1 -1
- package/lib/components/Banner/AdSlotRender.js +3 -4
- package/lib/components/Banner/AdSlotRender.js.map +1 -1
- package/lib/components/Banner/Banner.js +3 -4
- package/lib/components/Banner/Banner.js.map +1 -1
- package/lib/components/Banner/BannerRender.js +3 -4
- package/lib/components/Banner/BannerRender.js.map +1 -1
- package/lib/components/Banner/helpers.js +12 -22
- package/lib/components/Banner/helpers.js.map +1 -1
- package/lib/components/Banner/index.js +3 -4
- package/lib/components/Banner/index.js.map +1 -1
- package/lib/components/BlazeLink.js +5 -6
- package/lib/components/BlazeLink.js.map +1 -1
- package/lib/components/Breadcrumb/Breadcrumb.js +3 -4
- package/lib/components/Breadcrumb/Breadcrumb.js.map +1 -1
- package/lib/components/Breadcrumb/index.js +1 -2
- package/lib/components/Breadcrumb/index.js.map +1 -1
- package/lib/components/Button.js +5 -6
- package/lib/components/Button.js.map +1 -1
- package/lib/components/Card/Card.js +3 -4
- package/lib/components/Card/Card.js.map +1 -1
- package/lib/components/Card/CardsContainer.js +5 -6
- package/lib/components/Card/CardsContainer.js.map +1 -1
- package/lib/components/Card/CardsFactory.js +1 -2
- package/lib/components/Card/CardsFactory.js.map +1 -1
- package/lib/components/Card/CardsRender.js +5 -6
- package/lib/components/Card/CardsRender.js.map +1 -1
- package/lib/components/Card/constants.js +2 -4
- package/lib/components/Card/constants.js.map +1 -1
- package/lib/components/Card/helpers/filter-query-setup.js +3 -4
- package/lib/components/Card/helpers/filter-query-setup.js.map +1 -1
- package/lib/components/Card/helpers/filters-setup.js +1 -2
- package/lib/components/Card/helpers/filters-setup.js.map +1 -1
- package/lib/components/Card/helpers/get-dynamic-grid-classes.js +1 -2
- package/lib/components/Card/helpers/get-dynamic-grid-classes.js.map +1 -1
- package/lib/components/Card/helpers/get-published-listing-url.js +1 -2
- package/lib/components/Card/helpers/get-published-listing-url.js.map +1 -1
- package/lib/components/Card/helpers/get-updated-items-to-display.js +1 -2
- package/lib/components/Card/helpers/get-updated-items-to-display.js.map +1 -1
- package/lib/components/Card/helpers/get-updated-sort-properties.js +1 -2
- package/lib/components/Card/helpers/get-updated-sort-properties.js.map +1 -1
- package/lib/components/Card/helpers/should-return.js +1 -2
- package/lib/components/Card/helpers/should-return.js.map +1 -1
- package/lib/components/Card/helpers/should-skip-single-query.js +1 -2
- package/lib/components/Card/helpers/should-skip-single-query.js.map +1 -1
- package/lib/components/Card/helpers/use-dynamic-size-key.js +1 -2
- package/lib/components/Card/helpers/use-dynamic-size-key.js.map +1 -1
- package/lib/components/Card/index.js +1 -2
- package/lib/components/Card/index.js.map +1 -1
- package/lib/components/Carousel/Carousel.js +1 -2
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/Carousel/CarouselImage/CarouselImage.js +1 -2
- package/lib/components/Carousel/CarouselImage/CarouselImage.js.map +1 -1
- package/lib/components/Carousel/CarouselImage/index.js +1 -2
- package/lib/components/Carousel/CarouselImage/index.js.map +1 -1
- package/lib/components/Carousel/CarouselRender/CarouselRender.js +1 -2
- package/lib/components/Carousel/CarouselRender/CarouselRender.js.map +1 -1
- package/lib/components/Carousel/CarouselRender/index.js +1 -2
- package/lib/components/Carousel/CarouselRender/index.js.map +1 -1
- package/lib/components/Carousel/index.js +1 -2
- package/lib/components/Carousel/index.js.map +1 -1
- package/lib/components/CarouselWrapper/CarouselWrapper.js +1 -2
- package/lib/components/CarouselWrapper/CarouselWrapper.js.map +1 -1
- package/lib/components/CarouselWrapper/DefaultCarousel.js +3 -4
- package/lib/components/CarouselWrapper/DefaultCarousel.js.map +1 -1
- package/lib/components/CarouselWrapper/SmoothScrollCarousel.js +1 -2
- package/lib/components/CarouselWrapper/SmoothScrollCarousel.js.map +1 -1
- package/lib/components/CarouselWrapper/index.js +1 -2
- package/lib/components/CarouselWrapper/index.js.map +1 -1
- package/lib/components/ClickWrapper.js +5 -6
- package/lib/components/ClickWrapper.js.map +1 -1
- package/lib/components/Code/Code.js +5 -6
- package/lib/components/Code/Code.js.map +1 -1
- package/lib/components/Code/ScriptTag.js +3 -4
- package/lib/components/Code/ScriptTag.js.map +1 -1
- package/lib/components/Code/helpers/wrap-script-tags.js +1 -2
- package/lib/components/Code/helpers/wrap-script-tags.js.map +1 -1
- package/lib/components/Code/index.js +1 -2
- package/lib/components/Code/index.js.map +1 -1
- package/lib/components/ContentGroup/ContentGroup.js +1 -2
- package/lib/components/ContentGroup/ContentGroup.js.map +1 -1
- package/lib/components/ContentGroup/ContentGroupTabs.js +3 -4
- package/lib/components/ContentGroup/ContentGroupTabs.js.map +1 -1
- package/lib/components/ContentGroup/constants.js +5 -10
- package/lib/components/ContentGroup/constants.js.map +1 -1
- package/lib/components/ContentGroup/helpers/get-active-tab.js +1 -2
- package/lib/components/ContentGroup/helpers/get-active-tab.js.map +1 -1
- package/lib/components/ContentGroup/helpers/get-sections-data.js +1 -2
- package/lib/components/ContentGroup/helpers/get-sections-data.js.map +1 -1
- package/lib/components/ContentGroup/index.js +1 -2
- package/lib/components/ContentGroup/index.js.map +1 -1
- package/lib/components/ContentGroupSection/ContentGroupSection.js +1 -2
- package/lib/components/ContentGroupSection/ContentGroupSection.js.map +1 -1
- package/lib/components/ContentGroupSection/index.js +1 -2
- package/lib/components/ContentGroupSection/index.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryFactory.js +3 -4
- package/lib/components/DataSummary/DataSummaryFactory.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryRender.js +1 -2
- package/lib/components/DataSummary/DataSummaryRender.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummary.js +1 -2
- package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummary.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummaryContent.js +3 -4
- package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummaryContent.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/index.js +1 -2
- package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/index.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummary.js +1 -2
- package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummary.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummaryContent.js +3 -4
- package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummaryContent.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/index.js +1 -2
- package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/index.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummary.js +1 -2
- package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummary.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummaryContent.js +3 -4
- package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummaryContent.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/index.js +1 -2
- package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/index.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/ListSummary/ListSummary.js +1 -2
- package/lib/components/DataSummary/DataSummaryTypes/ListSummary/ListSummary.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.js +3 -4
- package/lib/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/ListSummary/index.js +1 -2
- package/lib/components/DataSummary/DataSummaryTypes/ListSummary/index.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/TextSummary/TextSummary.js +1 -2
- package/lib/components/DataSummary/DataSummaryTypes/TextSummary/TextSummary.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/TextSummary/TextSummaryContent.js +3 -4
- package/lib/components/DataSummary/DataSummaryTypes/TextSummary/TextSummaryContent.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/TextSummary/index.js +1 -2
- package/lib/components/DataSummary/DataSummaryTypes/TextSummary/index.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/index.js +3 -4
- package/lib/components/DataSummary/DataSummaryTypes/index.js.map +1 -1
- package/lib/components/DataSummary/helpers/build-loop-props-content.js +1 -2
- 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 +1 -2
- 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 +1 -2
- package/lib/components/DataSummary/helpers/get-data-summary-query.js.map +1 -1
- package/lib/components/DataSummary/helpers/get-link-based-on-value.js +1 -2
- package/lib/components/DataSummary/helpers/get-link-based-on-value.js.map +1 -1
- package/lib/components/DataSummary/helpers/get-link-props.js +1 -2
- package/lib/components/DataSummary/helpers/get-link-props.js.map +1 -1
- package/lib/components/DataSummary/helpers/get-link-to-published-content.js +1 -2
- package/lib/components/DataSummary/helpers/get-link-to-published-content.js.map +1 -1
- package/lib/components/DataSummary/helpers/get-loop-props-limit.js +1 -2
- package/lib/components/DataSummary/helpers/get-loop-props-limit.js.map +1 -1
- package/lib/components/DataSummary/helpers/get-prop-value.js +1 -2
- package/lib/components/DataSummary/helpers/get-prop-value.js.map +1 -1
- package/lib/components/DataSummary/helpers/get-value-from-array.js +3 -5
- package/lib/components/DataSummary/helpers/get-value-from-array.js.map +1 -1
- package/lib/components/DataSummary/helpers/parse-boolean-values.js +1 -2
- package/lib/components/DataSummary/helpers/parse-boolean-values.js.map +1 -1
- package/lib/components/DataSummary/helpers/strip-summary-props-content.js +1 -2
- package/lib/components/DataSummary/helpers/strip-summary-props-content.js.map +1 -1
- package/lib/components/DataSummary/index.js +1 -2
- package/lib/components/DataSummary/index.js.map +1 -1
- package/lib/components/EmailConfirm/EmailConfirm.js +3 -4
- package/lib/components/EmailConfirm/EmailConfirm.js.map +1 -1
- package/lib/components/EmailConfirm/index.js +1 -2
- package/lib/components/EmailConfirm/index.js.map +1 -1
- package/lib/components/EmailConfirm/mutation.js +1 -2
- package/lib/components/EmailConfirm/mutation.js.map +1 -1
- package/lib/components/Iframe/Iframe.js +1 -2
- package/lib/components/Iframe/Iframe.js.map +1 -1
- package/lib/components/Iframe/constants.js +2 -4
- package/lib/components/Iframe/constants.js.map +1 -1
- package/lib/components/Iframe/index.js +1 -2
- package/lib/components/Iframe/index.js.map +1 -1
- package/lib/components/Image/GlobalLightbox/GlobalLightbox.js +3 -4
- package/lib/components/Image/GlobalLightbox/GlobalLightbox.js.map +1 -1
- package/lib/components/Image/GlobalLightbox/NavButton.js +1 -2
- package/lib/components/Image/GlobalLightbox/NavButton.js.map +1 -1
- package/lib/components/Image/GlobalLightbox/index.js +3 -4
- package/lib/components/Image/GlobalLightbox/index.js.map +1 -1
- package/lib/components/Image/Image.js +5 -6
- package/lib/components/Image/Image.js.map +1 -1
- package/lib/components/Image/ImageDetails.js +1 -2
- package/lib/components/Image/ImageDetails.js.map +1 -1
- package/lib/components/Image/ImageFactory.js +3 -4
- package/lib/components/Image/ImageFactory.js.map +1 -1
- package/lib/components/Image/ImageRender.js +1 -2
- package/lib/components/Image/ImageRender.js.map +1 -1
- package/lib/components/Image/Lightbox/Lightbox.js +3 -4
- package/lib/components/Image/Lightbox/Lightbox.js.map +1 -1
- package/lib/components/Image/Lightbox/index.js +1 -2
- package/lib/components/Image/Lightbox/index.js.map +1 -1
- package/lib/components/Image/index.js +1 -2
- package/lib/components/Image/index.js.map +1 -1
- package/lib/components/ItemList/ItemListButton/ItemListButton.js +3 -4
- package/lib/components/ItemList/ItemListButton/ItemListButton.js.map +1 -1
- package/lib/components/ItemList/ItemListButton/index.js +1 -2
- package/lib/components/ItemList/ItemListButton/index.js.map +1 -1
- package/lib/components/ItemList/ItemListCounter/ItemListCounter.js +1 -2
- package/lib/components/ItemList/ItemListCounter/ItemListCounter.js.map +1 -1
- package/lib/components/ItemList/ItemListCounter/index.js +1 -2
- package/lib/components/ItemList/ItemListCounter/index.js.map +1 -1
- package/lib/components/ItemList/ItemListNew/ItemListNew.js +1 -2
- package/lib/components/ItemList/ItemListNew/ItemListNew.js.map +1 -1
- package/lib/components/ItemList/ItemListNew/index.js +1 -2
- package/lib/components/ItemList/ItemListNew/index.js.map +1 -1
- package/lib/components/ItemList/constants.js +5 -10
- package/lib/components/ItemList/constants.js.map +1 -1
- package/lib/components/ItemList/helpers/get-item-list-data.js +1 -2
- package/lib/components/ItemList/helpers/get-item-list-data.js.map +1 -1
- package/lib/components/ItemList/helpers/get-item-list-id.js +1 -2
- package/lib/components/ItemList/helpers/get-item-list-id.js.map +1 -1
- package/lib/components/ItemList/helpers/get-item-list-ids.js +1 -2
- package/lib/components/ItemList/helpers/get-item-list-ids.js.map +1 -1
- package/lib/components/ItemList/helpers/set-item-list-id.js +1 -2
- package/lib/components/ItemList/helpers/set-item-list-id.js.map +1 -1
- package/lib/components/ItemList/helpers/set-param-and-redirect.js +1 -2
- package/lib/components/ItemList/helpers/set-param-and-redirect.js.map +1 -1
- package/lib/components/ItemList/hooks/use-item-list-id.js +1 -2
- package/lib/components/ItemList/hooks/use-item-list-id.js.map +1 -1
- package/lib/components/Layout/Layout.js +3 -4
- package/lib/components/Layout/Layout.js.map +1 -1
- package/lib/components/Layout/LayoutFactory.js +3 -4
- package/lib/components/Layout/LayoutFactory.js.map +1 -1
- package/lib/components/Layout/LayoutWithStickyTimer.js +3 -4
- package/lib/components/Layout/LayoutWithStickyTimer.js.map +1 -1
- package/lib/components/Layout/constants.js +3 -6
- package/lib/components/Layout/constants.js.map +1 -1
- package/lib/components/Layout/helpers/check-if-row-has-columns.js +1 -2
- package/lib/components/Layout/helpers/check-if-row-has-columns.js.map +1 -1
- package/lib/components/Layout/helpers/get-styles-to-update.js +1 -2
- package/lib/components/Layout/helpers/get-styles-to-update.js.map +1 -1
- package/lib/components/Layout/index.js +1 -2
- package/lib/components/Layout/index.js.map +1 -1
- package/lib/components/LazyImage/LazyImage.js +1 -2
- package/lib/components/LazyImage/LazyImage.js.map +1 -1
- package/lib/components/LazyImage/index.js +3 -4
- package/lib/components/LazyImage/index.js.map +1 -1
- package/lib/components/List/ListBuilder.js +3 -4
- package/lib/components/List/ListBuilder.js.map +1 -1
- package/lib/components/List/ListFactory.js +5 -6
- package/lib/components/List/ListFactory.js.map +1 -1
- package/lib/components/List/ListRender.js +1 -2
- package/lib/components/List/ListRender.js.map +1 -1
- package/lib/components/List/components/Cards/CardRenderWithInfiniteScroll.js +1 -2
- package/lib/components/List/components/Cards/CardRenderWithInfiniteScroll.js.map +1 -1
- package/lib/components/List/components/Cards/CardsRender.js +5 -6
- package/lib/components/List/components/Cards/CardsRender.js.map +1 -1
- package/lib/components/List/components/Cards/CardsRenderItem.js +1 -2
- package/lib/components/List/components/Cards/CardsRenderItem.js.map +1 -1
- package/lib/components/List/components/Cards/CardsRenderWrapper.js +3 -4
- package/lib/components/List/components/Cards/CardsRenderWrapper.js.map +1 -1
- package/lib/components/List/components/Cards/index.js +1 -2
- package/lib/components/List/components/Cards/index.js.map +1 -1
- package/lib/components/List/components/Full/FullRender.js +5 -6
- package/lib/components/List/components/Full/FullRender.js.map +1 -1
- package/lib/components/List/components/Full/FullRenderItem.js +5 -6
- package/lib/components/List/components/Full/FullRenderItem.js.map +1 -1
- package/lib/components/List/components/Full/FullRenderWithInfiniteScroll.js +1 -2
- package/lib/components/List/components/Full/FullRenderWithInfiniteScroll.js.map +1 -1
- package/lib/components/List/components/Full/index.js +1 -2
- package/lib/components/List/components/Full/index.js.map +1 -1
- package/lib/components/List/components/Header/ListHeader.js +1 -2
- package/lib/components/List/components/Header/ListHeader.js.map +1 -1
- package/lib/components/List/components/Header/index.js +1 -2
- package/lib/components/List/components/Header/index.js.map +1 -1
- package/lib/components/List/components/Pagination/Classic.js +1 -2
- package/lib/components/List/components/Pagination/Classic.js.map +1 -1
- package/lib/components/List/components/Pagination/ListPagination.js +5 -6
- package/lib/components/List/components/Pagination/ListPagination.js.map +1 -1
- package/lib/components/List/components/Pagination/LoadMore.js +1 -2
- package/lib/components/List/components/Pagination/LoadMore.js.map +1 -1
- package/lib/components/List/components/Pagination/index.js +1 -2
- package/lib/components/List/components/Pagination/index.js.map +1 -1
- package/lib/components/List/components/helpers/check-if-should-render-banner.js +2 -4
- 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 +1 -2
- package/lib/components/List/components/helpers/check-if-should-render-gtm.js.map +1 -1
- package/lib/components/List/constants.js +7 -14
- package/lib/components/List/constants.js.map +1 -1
- package/lib/components/List/helpers/build-az-aggregations.js +1 -2
- package/lib/components/List/helpers/build-az-aggregations.js.map +1 -1
- package/lib/components/List/helpers/build-az-url.js +4 -6
- package/lib/components/List/helpers/build-az-url.js.map +1 -1
- package/lib/components/List/helpers/build-pagination-items.js +1 -2
- package/lib/components/List/helpers/build-pagination-items.js.map +1 -1
- package/lib/components/List/helpers/build-pagination-url.js +3 -4
- package/lib/components/List/helpers/build-pagination-url.js.map +1 -1
- package/lib/components/List/helpers/get-az-query-filter.js +1 -2
- 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 +1 -2
- package/lib/components/List/helpers/get-items-per-page-to-use.js.map +1 -1
- package/lib/components/List/helpers/get-list-component.js +1 -2
- package/lib/components/List/helpers/get-list-component.js.map +1 -1
- package/lib/components/List/helpers/get-list-query.js +1 -2
- package/lib/components/List/helpers/get-list-query.js.map +1 -1
- package/lib/components/List/helpers/get-list-specific-search-filter.js +1 -2
- package/lib/components/List/helpers/get-list-specific-search-filter.js.map +1 -1
- package/lib/components/List/helpers/get-sort-props.js +1 -2
- package/lib/components/List/helpers/get-sort-props.js.map +1 -1
- package/lib/components/List/helpers/has-required-item-list-details.js +1 -2
- package/lib/components/List/helpers/has-required-item-list-details.js.map +1 -1
- package/lib/components/List/helpers/sort-aggs.js +1 -2
- package/lib/components/List/helpers/sort-aggs.js.map +1 -1
- package/lib/components/List/helpers/strip-query-key.js +1 -2
- package/lib/components/List/helpers/strip-query-key.js.map +1 -1
- package/lib/components/List/index.js +1 -2
- package/lib/components/List/index.js.map +1 -1
- package/lib/components/Menu/Menu.js +4 -6
- package/lib/components/Menu/Menu.js.map +1 -1
- package/lib/components/Menu/MenuContext.js +1 -2
- package/lib/components/Menu/MenuContext.js.map +1 -1
- package/lib/components/Menu/index.js +1 -2
- package/lib/components/Menu/index.js.map +1 -1
- package/lib/components/MenuItem/MenuItem.js +3 -4
- package/lib/components/MenuItem/MenuItem.js.map +1 -1
- package/lib/components/MenuItem/index.js +1 -2
- package/lib/components/MenuItem/index.js.map +1 -1
- package/lib/components/Modal/Modal.js +1 -2
- package/lib/components/Modal/Modal.js.map +1 -1
- package/lib/components/Modal/index.js +1 -2
- package/lib/components/Modal/index.js.map +1 -1
- package/lib/components/SearchContent/SearchContent.js +3 -4
- package/lib/components/SearchContent/SearchContent.js.map +1 -1
- package/lib/components/SearchContent/SearchContentItems.js +1 -2
- package/lib/components/SearchContent/SearchContentItems.js.map +1 -1
- package/lib/components/SearchContent/SearchContentResults.js +1 -2
- package/lib/components/SearchContent/SearchContentResults.js.map +1 -1
- package/lib/components/SearchContent/SearchContentToggleIcon.js +1 -2
- package/lib/components/SearchContent/SearchContentToggleIcon.js.map +1 -1
- package/lib/components/SearchContent/constants.js +2 -4
- package/lib/components/SearchContent/constants.js.map +1 -1
- package/lib/components/SearchContent/index.js +1 -2
- package/lib/components/SearchContent/index.js.map +1 -1
- package/lib/components/SearchFilter/SearchFilter/CloseMobileForm.js +1 -2
- package/lib/components/SearchFilter/SearchFilter/CloseMobileForm.js.map +1 -1
- package/lib/components/SearchFilter/SearchFilter/FiltersList.js +3 -4
- package/lib/components/SearchFilter/SearchFilter/FiltersList.js.map +1 -1
- package/lib/components/SearchFilter/SearchFilter/MobileFormToolbar.js +1 -2
- package/lib/components/SearchFilter/SearchFilter/MobileFormToolbar.js.map +1 -1
- package/lib/components/SearchFilter/SearchFilter/ResetDesktopForm.js +1 -2
- package/lib/components/SearchFilter/SearchFilter/ResetDesktopForm.js.map +1 -1
- package/lib/components/SearchFilter/SearchFilter/SearchFilter.js +3 -4
- package/lib/components/SearchFilter/SearchFilter/SearchFilter.js.map +1 -1
- package/lib/components/SearchFilter/SearchFilter/index.js +1 -2
- package/lib/components/SearchFilter/SearchFilter/index.js.map +1 -1
- package/lib/components/SearchFilter/SearchFilterContainer.js +3 -5
- package/lib/components/SearchFilter/SearchFilterContainer.js.map +1 -1
- package/lib/components/SearchFilter/components/Checkbox.js +3 -4
- package/lib/components/SearchFilter/components/Checkbox.js.map +1 -1
- package/lib/components/SearchFilter/components/Range.js +3 -4
- package/lib/components/SearchFilter/components/Range.js.map +1 -1
- package/lib/components/SearchFilter/components/Select.js +1 -2
- package/lib/components/SearchFilter/components/Select.js.map +1 -1
- package/lib/components/SearchFilter/components/TextSearch.js +1 -2
- package/lib/components/SearchFilter/components/TextSearch.js.map +1 -1
- package/lib/components/SearchFilter/constants.js +24 -48
- package/lib/components/SearchFilter/constants.js.map +1 -1
- package/lib/components/SearchFilter/helpers/build-filters-query.js +1 -2
- package/lib/components/SearchFilter/helpers/build-filters-query.js.map +1 -1
- package/lib/components/SearchFilter/helpers/build-new-url.js +1 -2
- package/lib/components/SearchFilter/helpers/build-new-url.js.map +1 -1
- package/lib/components/SearchFilter/helpers/build-raw-query-stringified.js +1 -2
- package/lib/components/SearchFilter/helpers/build-raw-query-stringified.js.map +1 -1
- package/lib/components/SearchFilter/helpers/build-url-query.js +1 -2
- package/lib/components/SearchFilter/helpers/build-url-query.js.map +1 -1
- package/lib/components/SearchFilter/helpers/calculate-min-max.js +1 -2
- package/lib/components/SearchFilter/helpers/calculate-min-max.js.map +1 -1
- package/lib/components/SearchFilter/helpers/calculate-step.js +1 -2
- package/lib/components/SearchFilter/helpers/calculate-step.js.map +1 -1
- package/lib/components/SearchFilter/helpers/check-if-range-updated.js +1 -2
- package/lib/components/SearchFilter/helpers/check-if-range-updated.js.map +1 -1
- package/lib/components/SearchFilter/helpers/decode-encode.js +2 -4
- package/lib/components/SearchFilter/helpers/decode-encode.js.map +1 -1
- package/lib/components/SearchFilter/helpers/get-display-value.js +1 -2
- package/lib/components/SearchFilter/helpers/get-display-value.js.map +1 -1
- package/lib/components/SearchFilter/helpers/get-filter-ranges-and-checkboxes-values.js +1 -2
- 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 +1 -2
- package/lib/components/SearchFilter/helpers/get-filter-value-from-query.js.map +1 -1
- package/lib/components/SearchFilter/helpers/get-filter-values.js +1 -2
- package/lib/components/SearchFilter/helpers/get-filter-values.js.map +1 -1
- package/lib/components/SearchFilter/helpers/get-initial-filter-values.js +1 -2
- package/lib/components/SearchFilter/helpers/get-initial-filter-values.js.map +1 -1
- package/lib/components/SearchFilter/helpers/get-intersected-prop.js +1 -2
- package/lib/components/SearchFilter/helpers/get-intersected-prop.js.map +1 -1
- package/lib/components/SearchFilter/helpers/get-range-value.js +1 -2
- package/lib/components/SearchFilter/helpers/get-range-value.js.map +1 -1
- package/lib/components/SearchFilter/helpers/get-responsive-filter-classnames.js +1 -2
- package/lib/components/SearchFilter/helpers/get-responsive-filter-classnames.js.map +1 -1
- package/lib/components/SearchFilter/helpers/get-select-options.js +1 -2
- package/lib/components/SearchFilter/helpers/get-select-options.js.map +1 -1
- package/lib/components/SearchFilter/helpers/get-updated-filter-by.js +1 -2
- package/lib/components/SearchFilter/helpers/get-updated-filter-by.js.map +1 -1
- package/lib/components/SearchFilter/helpers/is-device-desktop.js +1 -2
- package/lib/components/SearchFilter/helpers/is-device-desktop.js.map +1 -1
- package/lib/components/SearchFilter/helpers/parse-filter-value.js +1 -2
- package/lib/components/SearchFilter/helpers/parse-filter-value.js.map +1 -1
- package/lib/components/SearchFilter/index.js +1 -2
- package/lib/components/SearchFilter/index.js.map +1 -1
- package/lib/components/SearchFilter/searchFilterReducer.js +3 -4
- package/lib/components/SearchFilter/searchFilterReducer.js.map +1 -1
- package/lib/components/SearchFilterSort/SearchFilterSort.js +1 -2
- package/lib/components/SearchFilterSort/SearchFilterSort.js.map +1 -1
- package/lib/components/SearchFilterSort/constants.js +4 -8
- package/lib/components/SearchFilterSort/constants.js.map +1 -1
- package/lib/components/SearchFilterSort/helpers/handle-sort-update.js +1 -2
- package/lib/components/SearchFilterSort/helpers/handle-sort-update.js.map +1 -1
- package/lib/components/SearchFilterSort/helpers/update-sort.js +4 -6
- package/lib/components/SearchFilterSort/helpers/update-sort.js.map +1 -1
- package/lib/components/SearchFilterSort/index.js +1 -2
- package/lib/components/SearchFilterSort/index.js.map +1 -1
- package/lib/components/SocialFollow/SFItem.js +1 -2
- package/lib/components/SocialFollow/SFItem.js.map +1 -1
- package/lib/components/SocialFollow/SocialFollow.js +1 -2
- package/lib/components/SocialFollow/SocialFollow.js.map +1 -1
- package/lib/components/SocialFollow/SocialFollowRender.js +1 -2
- package/lib/components/SocialFollow/SocialFollowRender.js.map +1 -1
- package/lib/components/SocialFollow/index.js +1 -2
- package/lib/components/SocialFollow/index.js.map +1 -1
- package/lib/components/SocialFollow/sf.config.js +4 -8
- package/lib/components/SocialFollow/sf.config.js.map +1 -1
- package/lib/components/SubMenu/SubMenu.js +1 -2
- package/lib/components/SubMenu/SubMenu.js.map +1 -1
- package/lib/components/SubMenu/index.js +1 -2
- package/lib/components/SubMenu/index.js.map +1 -1
- package/lib/components/TextBlock/TextBlockRender.js +1 -2
- package/lib/components/TextBlock/TextBlockRender.js.map +1 -1
- package/lib/components/TextBlock/index.js +3 -4
- package/lib/components/TextBlock/index.js.map +1 -1
- package/lib/components/Video/Video.js +3 -4
- package/lib/components/Video/Video.js.map +1 -1
- package/lib/components/Video/VideoModal.js +3 -4
- package/lib/components/Video/VideoModal.js.map +1 -1
- package/lib/components/Video/VideoRender.js +1 -2
- package/lib/components/Video/VideoRender.js.map +1 -1
- package/lib/components/Video/index.js +1 -2
- package/lib/components/Video/index.js.map +1 -1
- package/lib/components/Video/providers/Default.js +1 -2
- package/lib/components/Video/providers/Default.js.map +1 -1
- package/lib/components/Video/providers/JWPlayer/JWPlayerController.js +1 -2
- package/lib/components/Video/providers/JWPlayer/JWPlayerController.js.map +1 -1
- package/lib/components/Video/providers/JWPlayer/JWPlayerProvider.js +3 -4
- package/lib/components/Video/providers/JWPlayer/JWPlayerProvider.js.map +1 -1
- package/lib/components/Video/providers/Vimeo/VimeoProvider.js +3 -4
- package/lib/components/Video/providers/Vimeo/VimeoProvider.js.map +1 -1
- package/lib/components/Video/providers/Vimeo/helpers/add-extra-params-to-url.js +1 -2
- package/lib/components/Video/providers/Vimeo/helpers/add-extra-params-to-url.js.map +1 -1
- package/lib/components/Video/providers/YouTube/YouTubeProvider.js +1 -2
- package/lib/components/Video/providers/YouTube/YouTubeProvider.js.map +1 -1
- package/lib/components/Video/providers/YouTube/YoutubeEmbeded.js +3 -4
- package/lib/components/Video/providers/YouTube/YoutubeEmbeded.js.map +1 -1
- package/lib/components/Video/providers/YouTube/helpers/index.js +3 -6
- package/lib/components/Video/providers/YouTube/helpers/index.js.map +1 -1
- package/lib/components/Video/providers/get-provider.js +3 -4
- package/lib/components/Video/providers/get-provider.js.map +1 -1
- package/lib/components/Video/providers/index.js +1 -2
- package/lib/components/Video/providers/index.js.map +1 -1
- package/lib/components/Wrapper.js +1 -2
- package/lib/components/Wrapper.js.map +1 -1
- package/lib/components/index.js +3 -4
- package/lib/components/index.js.map +1 -1
- package/lib/constants/componentsDefaultValues.js +1 -2
- package/lib/constants/componentsDefaultValues.js.map +1 -1
- package/lib/constants/index.js +107 -212
- package/lib/constants/index.js.map +1 -1
- package/lib/helpers/append-images.js +3 -4
- package/lib/helpers/append-images.js.map +1 -1
- package/lib/helpers/build-az-filter.js +1 -2
- package/lib/helpers/build-az-filter.js.map +1 -1
- package/lib/helpers/build-checkbox-filters.js +1 -2
- package/lib/helpers/build-checkbox-filters.js.map +1 -1
- package/lib/helpers/build-image-properties.js +1 -2
- package/lib/helpers/build-image-properties.js.map +1 -1
- package/lib/helpers/build-inherited-filters.js +1 -2
- package/lib/helpers/build-inherited-filters.js.map +1 -1
- package/lib/helpers/build-link-extra-props.js +1 -2
- package/lib/helpers/build-link-extra-props.js.map +1 -1
- package/lib/helpers/build-props-query.js +1 -2
- package/lib/helpers/build-props-query.js.map +1 -1
- package/lib/helpers/build-query-fields.js +1 -2
- package/lib/helpers/build-query-fields.js.map +1 -1
- package/lib/helpers/build-query-key.js +1 -2
- package/lib/helpers/build-query-key.js.map +1 -1
- package/lib/helpers/build-raw-query-base.js +4 -6
- package/lib/helpers/build-raw-query-base.js.map +1 -1
- package/lib/helpers/build-raw-query.js +3 -4
- package/lib/helpers/build-raw-query.js.map +1 -1
- package/lib/helpers/build-search-values-checkbox-select.js +1 -2
- package/lib/helpers/build-search-values-checkbox-select.js.map +1 -1
- package/lib/helpers/build-search-values-text.js +1 -2
- package/lib/helpers/build-search-values-text.js.map +1 -1
- package/lib/helpers/build-set-filters.js +1 -2
- package/lib/helpers/build-set-filters.js.map +1 -1
- package/lib/helpers/build-sort-values.js +1 -2
- package/lib/helpers/build-sort-values.js.map +1 -1
- package/lib/helpers/check-for-error.js +1 -2
- package/lib/helpers/check-for-error.js.map +1 -1
- package/lib/helpers/check-props-to-use.js +1 -2
- package/lib/helpers/check-props-to-use.js.map +1 -1
- package/lib/helpers/entities/constants.js +3 -6
- package/lib/helpers/entities/constants.js.map +1 -1
- package/lib/helpers/get-banner-data.js +2 -2
- package/lib/helpers/get-checkbox-filters.js +1 -2
- package/lib/helpers/get-checkbox-filters.js.map +1 -1
- package/lib/helpers/get-click-wrapper-options.js +3 -4
- package/lib/helpers/get-click-wrapper-options.js.map +1 -1
- package/lib/helpers/get-current-offset.js +1 -2
- package/lib/helpers/get-current-offset.js.map +1 -1
- package/lib/helpers/get-dictionary-match.js +1 -2
- package/lib/helpers/get-dictionary-match.js.map +1 -1
- package/lib/helpers/get-display-count-data.js +1 -2
- package/lib/helpers/get-display-count-data.js.map +1 -1
- package/lib/helpers/get-elasticsearch-operator.js +1 -2
- package/lib/helpers/get-elasticsearch-operator.js.map +1 -1
- package/lib/helpers/get-entities-with-banner.js +2 -2
- package/lib/helpers/get-entities-with-banner.js.map +1 -1
- package/lib/helpers/get-entity-data.js +1 -2
- package/lib/helpers/get-entity-data.js.map +1 -1
- package/lib/helpers/get-entity-render-props.js +1 -2
- package/lib/helpers/get-entity-render-props.js.map +1 -1
- package/lib/helpers/get-extra-az-bits.js +1 -2
- package/lib/helpers/get-extra-az-bits.js.map +1 -1
- package/lib/helpers/get-filter-props.js +1 -2
- package/lib/helpers/get-filter-props.js.map +1 -1
- package/lib/helpers/get-filter-relation-keys.js +1 -2
- package/lib/helpers/get-filter-relation-keys.js.map +1 -1
- package/lib/helpers/get-generic-props.js +3 -4
- package/lib/helpers/get-generic-props.js.map +1 -1
- package/lib/helpers/get-generic-render-variables.js +3 -4
- package/lib/helpers/get-generic-render-variables.js.map +1 -1
- package/lib/helpers/get-image-ids.js +1 -2
- package/lib/helpers/get-image-ids.js.map +1 -1
- package/lib/helpers/get-inherited-filters.js +1 -2
- package/lib/helpers/get-inherited-filters.js.map +1 -1
- package/lib/helpers/get-items-to-display-ids.js +1 -2
- package/lib/helpers/get-items-to-display-ids.js.map +1 -1
- package/lib/helpers/get-modifiers.js +1 -2
- package/lib/helpers/get-modifiers.js.map +1 -1
- package/lib/helpers/get-pagination-index.js +1 -2
- package/lib/helpers/get-pagination-index.js.map +1 -1
- package/lib/helpers/get-parsed-prop-values.js +1 -2
- package/lib/helpers/get-parsed-prop-values.js.map +1 -1
- package/lib/helpers/get-parsed-summary-value.js +1 -2
- package/lib/helpers/get-parsed-summary-value.js.map +1 -1
- package/lib/helpers/get-prop-values.js +1 -2
- package/lib/helpers/get-prop-values.js.map +1 -1
- package/lib/helpers/get-query-filters.js +1 -2
- package/lib/helpers/get-query-filters.js.map +1 -1
- package/lib/helpers/get-query-props.js +1 -2
- package/lib/helpers/get-query-props.js.map +1 -1
- package/lib/helpers/get-required-schemas.js +1 -2
- package/lib/helpers/get-required-schemas.js.map +1 -1
- package/lib/helpers/get-sanitized-prop-values.js +1 -2
- package/lib/helpers/get-sanitized-prop-values.js.map +1 -1
- package/lib/helpers/get-search-filter-type.js +1 -2
- package/lib/helpers/get-search-filter-type.js.map +1 -1
- package/lib/helpers/get-sort-by-field-name.js +1 -2
- package/lib/helpers/get-sort-by-field-name.js.map +1 -1
- package/lib/helpers/get-unpublished-entity-name.js +1 -2
- package/lib/helpers/get-unpublished-entity-name.js.map +1 -1
- package/lib/helpers/get-updated-filter-by.js +1 -2
- package/lib/helpers/get-updated-filter-by.js.map +1 -1
- package/lib/helpers/get-wrapped-value-with-link.js +1 -2
- package/lib/helpers/get-wrapped-value-with-link.js.map +1 -1
- package/lib/helpers/has-children.js +1 -2
- package/lib/helpers/has-children.js.map +1 -1
- package/lib/helpers/inject-multiple-banners/get-banners-for-entities/index.js +1 -2
- 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 +2 -2
- 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/index.js +1 -2
- package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/index.js.map +1 -1
- package/lib/helpers/inject-multiple-banners/index.js +1 -2
- package/lib/helpers/inject-multiple-banners/index.js.map +1 -1
- package/lib/helpers/is-browser.js +1 -2
- package/lib/helpers/is-browser.js.map +1 -1
- package/lib/helpers/is-filter-entitys-id.js +1 -2
- package/lib/helpers/is-filter-entitys-id.js.map +1 -1
- package/lib/helpers/is-object.js +1 -2
- package/lib/helpers/is-object.js.map +1 -1
- package/lib/helpers/is-using-relation-image.js +1 -2
- package/lib/helpers/is-using-relation-image.js.map +1 -1
- package/lib/helpers/parse-TextBlock.js +3 -4
- package/lib/helpers/parse-TextBlock.js.map +1 -1
- package/lib/helpers/parse-props-to-display.js +3 -4
- package/lib/helpers/parse-props-to-display.js.map +1 -1
- package/lib/helpers/process-data-summary-value.js +6 -8
- package/lib/helpers/process-data-summary-value.js.map +1 -1
- package/lib/helpers/remove-extra-items.js +1 -2
- package/lib/helpers/remove-extra-items.js.map +1 -1
- package/lib/helpers/remove-unwanted-characters.js +3 -4
- package/lib/helpers/remove-unwanted-characters.js.map +1 -1
- package/lib/helpers/render-children.js +3 -4
- package/lib/helpers/render-children.js.map +1 -1
- package/lib/helpers/should-render-waypoint.js +1 -2
- package/lib/helpers/should-render-waypoint.js.map +1 -1
- package/lib/helpers/should-show-property.js +1 -2
- package/lib/helpers/should-show-property.js.map +1 -1
- package/lib/helpers/sort-response-data.js +1 -2
- package/lib/helpers/sort-response-data.js.map +1 -1
- package/lib/helpers/split-children.js +3 -4
- package/lib/helpers/split-children.js.map +1 -1
- package/lib/helpers/update-childrens-parent.js +3 -4
- package/lib/helpers/update-childrens-parent.js.map +1 -1
- package/lib/hooks/helpers/RenderComponent.js +1 -2
- package/lib/hooks/helpers/RenderComponent.js.map +1 -1
- package/lib/hooks/helpers/StoreImages.js +1 -2
- package/lib/hooks/helpers/StoreImages.js.map +1 -1
- package/lib/hooks/helpers/append-gtm-classname.js +3 -4
- package/lib/hooks/helpers/append-gtm-classname.js.map +1 -1
- package/lib/hooks/helpers/buildPBComponents.js +3 -4
- package/lib/hooks/helpers/buildPBComponents.js.map +1 -1
- package/lib/hooks/helpers/check-banner-insertion-set.js +1 -2
- package/lib/hooks/helpers/check-banner-insertion-set.js.map +1 -1
- package/lib/hooks/helpers/check-collisions.js +2 -4
- package/lib/hooks/helpers/check-collisions.js.map +1 -1
- package/lib/hooks/helpers/constants.js +4 -8
- package/lib/hooks/helpers/constants.js.map +1 -1
- package/lib/hooks/helpers/get-banner-index.js +1 -2
- package/lib/hooks/helpers/get-banner-index.js.map +1 -1
- package/lib/hooks/helpers/get-banners-by-type.js +1 -2
- package/lib/hooks/helpers/get-banners-by-type.js.map +1 -1
- package/lib/hooks/helpers/get-lightbox-images.js +3 -4
- package/lib/hooks/helpers/get-lightbox-images.js.map +1 -1
- package/lib/hooks/helpers/index.js +1 -2
- package/lib/hooks/helpers/index.js.map +1 -1
- package/lib/hooks/helpers/inject-element-banners.js +3 -4
- package/lib/hooks/helpers/inject-element-banners.js.map +1 -1
- package/lib/hooks/helpers/inject-textblock-banners.js +3 -4
- package/lib/hooks/helpers/inject-textblock-banners.js.map +1 -1
- package/lib/hooks/helpers/insert-banners.js +1 -2
- package/lib/hooks/helpers/insert-banners.js.map +1 -1
- package/lib/hooks/helpers/update-targetings.js +1 -2
- package/lib/hooks/helpers/update-targetings.js.map +1 -1
- package/lib/hooks/use-banner-insertion.js +1 -2
- package/lib/hooks/use-banner-insertion.js.map +1 -1
- package/lib/hooks/use-check-mobile-screen.js +1 -2
- package/lib/hooks/use-check-mobile-screen.js.map +1 -1
- package/lib/hooks/use-get-entity-schema.js +1 -2
- package/lib/hooks/use-get-entity-schema.js.map +1 -1
- package/lib/hooks/use-get-entity-schemas-as-obj.js +1 -2
- package/lib/hooks/use-get-entity-schemas-as-obj.js.map +1 -1
- package/lib/hooks/use-get-image-id-from-relation.js +1 -2
- package/lib/hooks/use-get-image-id-from-relation.js.map +1 -1
- package/lib/hooks/use-get-images.js +1 -2
- package/lib/hooks/use-get-images.js.map +1 -1
- package/lib/hooks/use-get-single-entity-schema.js +1 -2
- package/lib/hooks/use-get-single-entity-schema.js.map +1 -1
- package/lib/hooks/use-page-builder.js +1 -2
- package/lib/hooks/use-page-builder.js.map +1 -1
- package/lib/utils/component-map.js +1 -2
- package/lib/utils/component-map.js.map +1 -1
- package/lib/utils/get-class-modifiers.js +2 -2
- package/lib/utils/get-class-modifiers.js.map +1 -1
- package/lib/utils/get-image-data.js +1 -2
- package/lib/utils/get-image-data.js.map +1 -1
- package/lib/utils/get-props-to-display-modifiers.js +1 -2
- package/lib/utils/get-props-to-display-modifiers.js.map +1 -1
- package/lib/utils/variant-handler.js +1 -2
- package/lib/utils/variant-handler.js.map +1 -1
- package/lib/variants/index.js +1 -2
- package/lib/variants/index.js.map +1 -1
- package/lib-es/components/Banner/BannerRender.js +2 -2
- package/lib-es/components/Banner/helpers.js +2 -2
- package/lib-es/components/BlazeLink.js +2 -2
- package/lib-es/components/Button.js +2 -2
- package/lib-es/components/Card/CardsContainer.js +2 -2
- package/lib-es/components/Card/CardsRender.js +2 -2
- package/lib-es/components/Card/helpers/filter-query-setup.js +2 -2
- package/lib-es/components/ClickWrapper.js +2 -2
- package/lib-es/components/Code/Code.js +2 -2
- package/lib-es/components/Image/Image.js +2 -2
- package/lib-es/components/Layout/Layout.js +2 -2
- package/lib-es/components/List/ListBuilder.js +2 -2
- package/lib-es/components/List/ListFactory.js +2 -2
- package/lib-es/components/List/components/Cards/CardsRender.js +2 -2
- package/lib-es/components/List/components/Full/FullRender.js +2 -2
- package/lib-es/components/List/components/Full/FullRenderItem.js +2 -2
- package/lib-es/components/List/components/Pagination/ListPagination.js +2 -2
- package/lib-es/components/List/helpers/build-az-url.js +2 -2
- package/lib-es/components/List/helpers/build-pagination-url.js +2 -2
- package/lib-es/components/SearchFilter/SearchFilterContainer.js +0 -1
- package/lib-es/components/SearchFilter/SearchFilterContainer.js.map +1 -1
- package/lib-es/components/SearchFilter/components/Range.js +2 -2
- package/lib-es/components/SearchFilter/searchFilterReducer.js +2 -2
- package/lib-es/components/SearchFilterSort/helpers/update-sort.js +2 -2
- package/lib-es/components/TextBlock/index.js +2 -2
- package/lib-es/components/Video/Video.js +2 -2
- package/lib-es/components/Video/providers/JWPlayer/JWPlayerProvider.js +2 -2
- package/lib-es/helpers/append-images.js +2 -2
- package/lib-es/helpers/build-raw-query-base.js +2 -2
- package/lib-es/helpers/build-raw-query.js +2 -2
- package/lib-es/helpers/get-banner-data.js +2 -2
- package/lib-es/helpers/get-click-wrapper-options.js +2 -2
- package/lib-es/helpers/get-entities-with-banner.js +2 -2
- package/lib-es/helpers/get-generic-props.js +2 -2
- package/lib-es/helpers/get-generic-render-variables.js +2 -2
- package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/get-banners-for-nodes.js +2 -2
- package/lib-es/helpers/process-data-summary-value.js +4 -4
- package/lib-es/helpers/remove-unwanted-characters.js +2 -2
- package/lib-es/helpers/render-children.js +2 -2
- package/lib-es/helpers/split-children.js +2 -2
- package/lib-es/helpers/update-childrens-parent.js +2 -2
- package/lib-es/hooks/helpers/append-gtm-classname.js +2 -2
- package/lib-es/hooks/helpers/buildPBComponents.js +2 -2
- package/lib-es/hooks/helpers/get-lightbox-images.js +2 -2
- package/lib-es/hooks/helpers/inject-element-banners.js +2 -2
- package/lib-es/hooks/helpers/inject-textblock-banners.js +2 -2
- package/lib-es/utils/get-class-modifiers.js +2 -2
- package/package.json +10 -10
package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummary.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeadingLargeSummary.js","names":["_react","_interopRequireDefault","require","_propTypes","_helpers","_HeadingLargeSummaryContent","HeadingLargeSummary","_ref","HtmlTag","htmlTag","summaryPropsWithContent","modifier","createElement","className","concat","getModifiers","propTypes","PropTypes","array","isRequired","string","defaultProps","_default","exports"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummary.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { getModifiers } from '../../../../helpers';\nimport HeadingLargeSummaryContent from './HeadingLargeSummaryContent';\n\nconst HeadingLargeSummary = ({ htmlTag: HtmlTag, summaryPropsWithContent, modifier }) => (\n <HtmlTag className={`${getModifiers('heading', modifier)} heading--large`}>\n <HeadingLargeSummaryContent summaryPropsWithContent={summaryPropsWithContent} />\n </HtmlTag>\n);\n\nHeadingLargeSummary.propTypes = {\n summaryPropsWithContent: PropTypes.array.isRequired,\n modifier: PropTypes.string,\n htmlTag: PropTypes.string\n};\n\nHeadingLargeSummary.defaultProps = {\n modifier: '',\n htmlTag: 'h2'\n};\n\nexport default HeadingLargeSummary;\n"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AACA,IAAAG,2BAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAEA,IAAMI,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAAC,IAAA;EAAA,IAAeC,OAAO,GAAAD,IAAA,CAAhBE,OAAO;IAAWC,uBAAuB,GAAAH,IAAA,CAAvBG,uBAAuB;IAAEC,QAAQ,GAAAJ,IAAA,CAARI,QAAQ;EAAA,oBAChFX,MAAA,YAAAY,aAAA,CAACJ,OAAO;IAACK,SAAS,KAAAC,MAAA,CAAK,IAAAC,qBAAY,EAAC,SAAS,EAAEJ,QAAQ,CAAC;EAAkB,gBACxEX,MAAA,YAAAY,aAAA,CAACP,2BAAA,WAA0B;IAACK,uBAAuB,EAAEA;EAAwB,CAAE,CACxE,CAAC;AAAA,CACX;AAEDJ,mBAAmB,CAACU,SAAS,GAAG;EAC9BN,uBAAuB,EAAEO,qBAAS,CAACC,KAAK,CAACC,UAAU;EACnDR,QAAQ,EAAEM,qBAAS,CAACG,MAAM;EAC1BX,OAAO,EAAEQ,qBAAS,CAACG;AACrB,CAAC;AAEDd,mBAAmB,CAACe,YAAY,GAAG;EACjCV,QAAQ,EAAE,EAAE;EACZF,OAAO,EAAE;AACX,CAAC;AAAC,IAAAa,QAAA,
|
|
1
|
+
{"version":3,"file":"HeadingLargeSummary.js","names":["_react","_interopRequireDefault","require","_propTypes","_helpers","_HeadingLargeSummaryContent","HeadingLargeSummary","_ref","HtmlTag","htmlTag","summaryPropsWithContent","modifier","createElement","className","concat","getModifiers","propTypes","PropTypes","array","isRequired","string","defaultProps","_default","exports"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummary.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { getModifiers } from '../../../../helpers';\nimport HeadingLargeSummaryContent from './HeadingLargeSummaryContent';\n\nconst HeadingLargeSummary = ({ htmlTag: HtmlTag, summaryPropsWithContent, modifier }) => (\n <HtmlTag className={`${getModifiers('heading', modifier)} heading--large`}>\n <HeadingLargeSummaryContent summaryPropsWithContent={summaryPropsWithContent} />\n </HtmlTag>\n);\n\nHeadingLargeSummary.propTypes = {\n summaryPropsWithContent: PropTypes.array.isRequired,\n modifier: PropTypes.string,\n htmlTag: PropTypes.string\n};\n\nHeadingLargeSummary.defaultProps = {\n modifier: '',\n htmlTag: 'h2'\n};\n\nexport default HeadingLargeSummary;\n"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AACA,IAAAG,2BAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAEA,IAAMI,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAAC,IAAA;EAAA,IAAeC,OAAO,GAAAD,IAAA,CAAhBE,OAAO;IAAWC,uBAAuB,GAAAH,IAAA,CAAvBG,uBAAuB;IAAEC,QAAQ,GAAAJ,IAAA,CAARI,QAAQ;EAAA,oBAChFX,MAAA,YAAAY,aAAA,CAACJ,OAAO;IAACK,SAAS,KAAAC,MAAA,CAAK,IAAAC,qBAAY,EAAC,SAAS,EAAEJ,QAAQ,CAAC;EAAkB,gBACxEX,MAAA,YAAAY,aAAA,CAACP,2BAAA,WAA0B;IAACK,uBAAuB,EAAEA;EAAwB,CAAE,CACxE,CAAC;AAAA,CACX;AAEDJ,mBAAmB,CAACU,SAAS,GAAG;EAC9BN,uBAAuB,EAAEO,qBAAS,CAACC,KAAK,CAACC,UAAU;EACnDR,QAAQ,EAAEM,qBAAS,CAACG,MAAM;EAC1BX,OAAO,EAAEQ,qBAAS,CAACG;AACrB,CAAC;AAEDd,mBAAmB,CAACe,YAAY,GAAG;EACjCV,QAAQ,EAAE,EAAE;EACZF,OAAO,EAAE;AACX,CAAC;AAAC,IAAAa,QAAA,GAAAC,OAAA,cAEajB,mBAAmB"}
|
|
@@ -21,8 +21,8 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
|
21
21
|
var _nextjsComponents = require("@blaze-cms/nextjs-components");
|
|
22
22
|
var _helpers = require("../../../../helpers");
|
|
23
23
|
var _helpers2 = require("../../helpers");
|
|
24
|
-
function _getRequireWildcardCache(
|
|
25
|
-
function _interopRequireWildcard(
|
|
24
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
25
|
+
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 && Object.prototype.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; }
|
|
26
26
|
var HeadingLargeSummaryContent = function HeadingLargeSummaryContent(_ref) {
|
|
27
27
|
var summaryPropsWithContent = _ref.summaryPropsWithContent;
|
|
28
28
|
var _useContext = (0, _react.useContext)(_nextjsComponents.MainContext),
|
|
@@ -41,6 +41,5 @@ var HeadingLargeSummaryContent = function HeadingLargeSummaryContent(_ref) {
|
|
|
41
41
|
HeadingLargeSummaryContent.propTypes = {
|
|
42
42
|
summaryPropsWithContent: _propTypes["default"].array.isRequired
|
|
43
43
|
};
|
|
44
|
-
var _default = HeadingLargeSummaryContent;
|
|
45
|
-
exports["default"] = _default;
|
|
44
|
+
var _default = exports["default"] = HeadingLargeSummaryContent;
|
|
46
45
|
//# sourceMappingURL=HeadingLargeSummaryContent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeadingLargeSummaryContent.js","names":["_react","_interopRequireWildcard","require","_propTypes","_interopRequireDefault","_nextjsComponents","_helpers","_helpers2","_getRequireWildcardCache","
|
|
1
|
+
{"version":3,"file":"HeadingLargeSummaryContent.js","names":["_react","_interopRequireWildcard","require","_propTypes","_interopRequireDefault","_nextjsComponents","_helpers","_helpers2","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","HeadingLargeSummaryContent","_ref","summaryPropsWithContent","_useContext","useContext","MainContext","itemId","map","_ref2","index","_ref3","_slicedToArray2","key","value","dynamicKey","join","wrappedValue","parseBooleanValues","getWrappedValueWithLink","createElement","Fragment","propTypes","PropTypes","array","isRequired","_default","exports"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummaryContent.js"],"sourcesContent":["import React, { Fragment, useContext } from 'react';\nimport PropTypes from 'prop-types';\nimport { MainContext } from '@blaze-cms/nextjs-components';\nimport { getWrappedValueWithLink } from '../../../../helpers';\nimport { parseBooleanValues } from '../../helpers';\n\nconst HeadingLargeSummaryContent = ({ summaryPropsWithContent }) => {\n const { itemId } = useContext(MainContext);\n\n return summaryPropsWithContent.map(([key, value], index) => {\n const dynamicKey = [itemId, index].join('-');\n const wrappedValue = parseBooleanValues(getWrappedValueWithLink(value, null, itemId), key);\n\n return <Fragment key={dynamicKey}>{wrappedValue}</Fragment>;\n });\n};\n\nHeadingLargeSummaryContent.propTypes = {\n summaryPropsWithContent: PropTypes.array.isRequired\n};\n\nexport default HeadingLargeSummaryContent;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,iBAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AACA,IAAAK,SAAA,GAAAL,OAAA;AAAmD,SAAAM,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAR,wBAAAQ,CAAA,EAAAE,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,KAAA;MAAEG,KAAK,GAAAH,KAAA;IAC7C,IAAMI,UAAU,GAAG,CAACR,MAAM,EAAEG,KAAK,CAAC,CAACM,IAAI,CAAC,GAAG,CAAC;IAC5C,IAAMC,YAAY,GAAG,IAAAC,4BAAkB,EAAC,IAAAC,gCAAuB,EAACL,KAAK,EAAE,IAAI,EAAEP,MAAM,CAAC,EAAEM,GAAG,CAAC;IAE1F,oBAAOzC,MAAA,YAAAgD,aAAA,CAAChD,MAAA,CAAAiD,QAAQ;MAACR,GAAG,EAAEE;IAAW,GAAEE,YAAuB,CAAC;EAC7D,CAAC,CAAC;AACJ,CAAC;AAEDhB,0BAA0B,CAACqB,SAAS,GAAG;EACrCnB,uBAAuB,EAAEoB,qBAAS,CAACC,KAAK,CAACC;AAC3C,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEa1B,0BAA0B"}
|
|
@@ -7,6 +7,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports["default"] = void 0;
|
|
9
9
|
var _HeadingLargeSummary = _interopRequireDefault(require("./HeadingLargeSummary"));
|
|
10
|
-
var _default = _HeadingLargeSummary["default"];
|
|
11
|
-
exports["default"] = _default;
|
|
10
|
+
var _default = exports["default"] = _HeadingLargeSummary["default"];
|
|
12
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_HeadingLargeSummary","_interopRequireDefault","require","_default","
|
|
1
|
+
{"version":3,"file":"index.js","names":["_HeadingLargeSummary","_interopRequireDefault","require","_default","exports","HeadingLargeSummary"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/index.js"],"sourcesContent":["import HeadingLargeSummary from './HeadingLargeSummary';\n\nexport default HeadingLargeSummary;\n"],"mappings":";;;;;;;;AAAA,IAAAA,oBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAwD,IAAAC,QAAA,GAAAC,OAAA,cAEzCC,+BAAmB"}
|
package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummary.js
CHANGED
|
@@ -25,6 +25,5 @@ ItemDetailsSummary.propTypes = {
|
|
|
25
25
|
ItemDetailsSummary.defaultProps = {
|
|
26
26
|
modifier: ''
|
|
27
27
|
};
|
|
28
|
-
var _default = ItemDetailsSummary;
|
|
29
|
-
exports["default"] = _default;
|
|
28
|
+
var _default = exports["default"] = ItemDetailsSummary;
|
|
30
29
|
//# sourceMappingURL=ItemDetailsSummary.js.map
|
package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummary.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemDetailsSummary.js","names":["_react","_interopRequireDefault","require","_propTypes","_helpers","_ItemDetailsSummaryContent","_excluded","ItemDetailsSummary","_ref","modifier","otherProps","_objectWithoutProperties2","createElement","className","getModifiers","propTypes","PropTypes","string","defaultProps","_default","exports"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummary.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { getModifiers } from '../../../../helpers';\nimport ItemDetailsSummaryContent from './ItemDetailsSummaryContent';\n\nconst ItemDetailsSummary = ({ modifier, ...otherProps }) => (\n <div className={getModifiers('details', modifier)}>\n <ItemDetailsSummaryContent {...otherProps} />\n </div>\n);\n\nItemDetailsSummary.propTypes = {\n modifier: PropTypes.string\n};\n\nItemDetailsSummary.defaultProps = {\n modifier: ''\n};\n\nexport default ItemDetailsSummary;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AACA,IAAAG,0BAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAAoE,IAAAI,SAAA;AAEpE,IAAMC,kBAAkB,GAAG,SAArBA,kBAAkBA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,UAAU,OAAAC,yBAAA,aAAAH,IAAA,EAAAF,SAAA;EAAA,oBACnDN,MAAA,YAAAY,aAAA;IAAKC,SAAS,EAAE,IAAAC,qBAAY,EAAC,SAAS,EAAEL,QAAQ;EAAE,gBAChDT,MAAA,YAAAY,aAAA,CAACP,0BAAA,WAAyB,EAAKK,UAAa,CACzC,CAAC;AAAA,CACP;AAEDH,kBAAkB,CAACQ,SAAS,GAAG;EAC7BN,QAAQ,EAAEO,qBAAS,CAACC;AACtB,CAAC;AAEDV,kBAAkB,CAACW,YAAY,GAAG;EAChCT,QAAQ,EAAE;AACZ,CAAC;AAAC,IAAAU,QAAA,
|
|
1
|
+
{"version":3,"file":"ItemDetailsSummary.js","names":["_react","_interopRequireDefault","require","_propTypes","_helpers","_ItemDetailsSummaryContent","_excluded","ItemDetailsSummary","_ref","modifier","otherProps","_objectWithoutProperties2","createElement","className","getModifiers","propTypes","PropTypes","string","defaultProps","_default","exports"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummary.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { getModifiers } from '../../../../helpers';\nimport ItemDetailsSummaryContent from './ItemDetailsSummaryContent';\n\nconst ItemDetailsSummary = ({ modifier, ...otherProps }) => (\n <div className={getModifiers('details', modifier)}>\n <ItemDetailsSummaryContent {...otherProps} />\n </div>\n);\n\nItemDetailsSummary.propTypes = {\n modifier: PropTypes.string\n};\n\nItemDetailsSummary.defaultProps = {\n modifier: ''\n};\n\nexport default ItemDetailsSummary;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AACA,IAAAG,0BAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAAoE,IAAAI,SAAA;AAEpE,IAAMC,kBAAkB,GAAG,SAArBA,kBAAkBA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,UAAU,OAAAC,yBAAA,aAAAH,IAAA,EAAAF,SAAA;EAAA,oBACnDN,MAAA,YAAAY,aAAA;IAAKC,SAAS,EAAE,IAAAC,qBAAY,EAAC,SAAS,EAAEL,QAAQ;EAAE,gBAChDT,MAAA,YAAAY,aAAA,CAACP,0BAAA,WAAyB,EAAKK,UAAa,CACzC,CAAC;AAAA,CACP;AAEDH,kBAAkB,CAACQ,SAAS,GAAG;EAC7BN,QAAQ,EAAEO,qBAAS,CAACC;AACtB,CAAC;AAEDV,kBAAkB,CAACW,YAAY,GAAG;EAChCT,QAAQ,EAAE;AACZ,CAAC;AAAC,IAAAU,QAAA,GAAAC,OAAA,cAEab,kBAAkB"}
|
package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummaryContent.js
CHANGED
|
@@ -22,8 +22,8 @@ var _nextjsComponents = require("@blaze-cms/nextjs-components");
|
|
|
22
22
|
var _helpers = require("../../../../helpers");
|
|
23
23
|
var _helpers2 = require("../../helpers");
|
|
24
24
|
var _HOC = require("../../../../HOC");
|
|
25
|
-
function _getRequireWildcardCache(
|
|
26
|
-
function _interopRequireWildcard(
|
|
25
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
26
|
+
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 && Object.prototype.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; }
|
|
27
27
|
var ItemDetailsSummaryContent = function ItemDetailsSummaryContent(_ref) {
|
|
28
28
|
var summaryPropsWithContent = _ref.summaryPropsWithContent;
|
|
29
29
|
var _useContext = (0, _react.useContext)(_nextjsComponents.MainContext),
|
|
@@ -47,6 +47,5 @@ var ItemDetailsSummaryContent = function ItemDetailsSummaryContent(_ref) {
|
|
|
47
47
|
ItemDetailsSummaryContent.propTypes = {
|
|
48
48
|
summaryPropsWithContent: _propTypes["default"].array.isRequired
|
|
49
49
|
};
|
|
50
|
-
var _default = (0, _HOC.withTitle)(ItemDetailsSummaryContent);
|
|
51
|
-
exports["default"] = _default;
|
|
50
|
+
var _default = exports["default"] = (0, _HOC.withTitle)(ItemDetailsSummaryContent);
|
|
52
51
|
//# sourceMappingURL=ItemDetailsSummaryContent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemDetailsSummaryContent.js","names":["_react","_interopRequireWildcard","require","_propTypes","_interopRequireDefault","_nextjsComponents","_helpers","_helpers2","_HOC","_getRequireWildcardCache","
|
|
1
|
+
{"version":3,"file":"ItemDetailsSummaryContent.js","names":["_react","_interopRequireWildcard","require","_propTypes","_interopRequireDefault","_nextjsComponents","_helpers","_helpers2","_HOC","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","ItemDetailsSummaryContent","_ref","summaryPropsWithContent","_useContext","useContext","MainContext","itemId","map","_ref2","index","_ref3","_slicedToArray2","key","value","link","modifier","dynamicKey","join","wrappedValue","parseBooleanValues","getWrappedValueWithLink","createElement","className","propTypes","PropTypes","array","isRequired","_default","exports","withTitle"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummaryContent.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport PropTypes from 'prop-types';\nimport { MainContext } from '@blaze-cms/nextjs-components';\nimport { getWrappedValueWithLink } from '../../../../helpers';\nimport { parseBooleanValues } from '../../helpers';\nimport { withTitle } from '../../../../HOC';\n\nconst ItemDetailsSummaryContent = ({ summaryPropsWithContent }) => {\n const { itemId } = useContext(MainContext);\n return summaryPropsWithContent.map(([key, value, link, modifier], index) => {\n const dynamicKey = [itemId, index, value].join('-');\n const wrappedValue = parseBooleanValues(getWrappedValueWithLink(value, link, itemId), key);\n\n return (\n <span className={modifier} key={dynamicKey}>\n {key && <span className=\"item-details-summary-label\">{key}</span>} {wrappedValue}\n </span>\n );\n });\n};\n\nItemDetailsSummaryContent.propTypes = {\n summaryPropsWithContent: PropTypes.array.isRequired\n};\n\nexport default withTitle(ItemDetailsSummaryContent);\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,iBAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AACA,IAAAK,SAAA,GAAAL,OAAA;AACA,IAAAM,IAAA,GAAAN,OAAA;AAA4C,SAAAO,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAT,wBAAAS,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,gBAAAK,OAAA,CAAAL,CAAA,0BAAAA,CAAA,sBAAAA,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CA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C,IAAAC,gCAAuB,EAACP,KAAK,EAAEC,IAAI,EAAER,MAAM,CAAC,EAAEM,GAAG,CAAC;IAE1F,oBACE1C,MAAA,YAAAmD,aAAA;MAAMC,SAAS,EAAEP,QAAS;MAACH,GAAG,EAAEI;IAAW,GACxCJ,GAAG,iBAAI1C,MAAA,YAAAmD,aAAA;MAAMC,SAAS,EAAC;IAA4B,GAAEV,GAAU,CAAC,EAAC,GAAC,EAACM,YAChE,CAAC;EAEX,CAAC,CAAC;AACJ,CAAC;AAEDlB,yBAAyB,CAACuB,SAAS,GAAG;EACpCrB,uBAAuB,EAAEsB,qBAAS,CAACC,KAAK,CAACC;AAC3C,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEa,IAAAC,cAAS,EAAC7B,yBAAyB,CAAC"}
|
|
@@ -7,6 +7,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports["default"] = void 0;
|
|
9
9
|
var _ItemDetailsSummary = _interopRequireDefault(require("./ItemDetailsSummary"));
|
|
10
|
-
var _default = _ItemDetailsSummary["default"];
|
|
11
|
-
exports["default"] = _default;
|
|
10
|
+
var _default = exports["default"] = _ItemDetailsSummary["default"];
|
|
12
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_ItemDetailsSummary","_interopRequireDefault","require","_default","
|
|
1
|
+
{"version":3,"file":"index.js","names":["_ItemDetailsSummary","_interopRequireDefault","require","_default","exports","ItemDetailsSummary"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/index.js"],"sourcesContent":["import ItemDetailsSummary from './ItemDetailsSummary';\n\nexport default ItemDetailsSummary;\n"],"mappings":";;;;;;;;AAAA,IAAAA,mBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAsD,IAAAC,QAAA,GAAAC,OAAA,cAEvCC,8BAAkB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LargeSummary.js","names":["_react","_interopRequireDefault","require","_propTypes","_helpers","_LargeSummaryContent","_excluded","LargeSummary","_ref","modifier","otherProps","_objectWithoutProperties2","createElement","className","getModifiers","propTypes","PropTypes","string","defaultProps","_default","exports"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummary.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { getModifiers } from '../../../../helpers';\nimport LargeSummaryContent from './LargeSummaryContent';\n\nconst LargeSummary = ({ modifier, ...otherProps }) => (\n <div className={getModifiers('stats', modifier)}>\n <LargeSummaryContent {...otherProps} />\n </div>\n);\n\nLargeSummary.propTypes = {\n modifier: PropTypes.string\n};\n\nLargeSummary.defaultProps = {\n modifier: ''\n};\n\nexport default LargeSummary;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AACA,IAAAG,oBAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAAwD,IAAAI,SAAA;AAExD,IAAMC,YAAY,GAAG,SAAfA,YAAYA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,UAAU,OAAAC,yBAAA,aAAAH,IAAA,EAAAF,SAAA;EAAA,oBAC7CN,MAAA,YAAAY,aAAA;IAAKC,SAAS,EAAE,IAAAC,qBAAY,EAAC,OAAO,EAAEL,QAAQ;EAAE,gBAC9CT,MAAA,YAAAY,aAAA,CAACP,oBAAA,WAAmB,EAAKK,UAAa,CACnC,CAAC;AAAA,CACP;AAEDH,YAAY,CAACQ,SAAS,GAAG;EACvBN,QAAQ,EAAEO,qBAAS,CAACC;AACtB,CAAC;AAEDV,YAAY,CAACW,YAAY,GAAG;EAC1BT,QAAQ,EAAE;AACZ,CAAC;AAAC,IAAAU,QAAA,
|
|
1
|
+
{"version":3,"file":"LargeSummary.js","names":["_react","_interopRequireDefault","require","_propTypes","_helpers","_LargeSummaryContent","_excluded","LargeSummary","_ref","modifier","otherProps","_objectWithoutProperties2","createElement","className","getModifiers","propTypes","PropTypes","string","defaultProps","_default","exports"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummary.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { getModifiers } from '../../../../helpers';\nimport LargeSummaryContent from './LargeSummaryContent';\n\nconst LargeSummary = ({ modifier, ...otherProps }) => (\n <div className={getModifiers('stats', modifier)}>\n <LargeSummaryContent {...otherProps} />\n </div>\n);\n\nLargeSummary.propTypes = {\n modifier: PropTypes.string\n};\n\nLargeSummary.defaultProps = {\n modifier: ''\n};\n\nexport default LargeSummary;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AACA,IAAAG,oBAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAAwD,IAAAI,SAAA;AAExD,IAAMC,YAAY,GAAG,SAAfA,YAAYA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,UAAU,OAAAC,yBAAA,aAAAH,IAAA,EAAAF,SAAA;EAAA,oBAC7CN,MAAA,YAAAY,aAAA;IAAKC,SAAS,EAAE,IAAAC,qBAAY,EAAC,OAAO,EAAEL,QAAQ;EAAE,gBAC9CT,MAAA,YAAAY,aAAA,CAACP,oBAAA,WAAmB,EAAKK,UAAa,CACnC,CAAC;AAAA,CACP;AAEDH,YAAY,CAACQ,SAAS,GAAG;EACvBN,QAAQ,EAAEO,qBAAS,CAACC;AACtB,CAAC;AAEDV,YAAY,CAACW,YAAY,GAAG;EAC1BT,QAAQ,EAAE;AACZ,CAAC;AAAC,IAAAU,QAAA,GAAAC,OAAA,cAEab,YAAY"}
|
|
@@ -23,8 +23,8 @@ var _nextjsComponents = require("@blaze-cms/nextjs-components");
|
|
|
23
23
|
var _helpers = require("../../../../helpers");
|
|
24
24
|
var _helpers2 = require("../../helpers");
|
|
25
25
|
var _HOC = require("../../../../HOC");
|
|
26
|
-
function _getRequireWildcardCache(
|
|
27
|
-
function _interopRequireWildcard(
|
|
26
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
27
|
+
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 && Object.prototype.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; }
|
|
28
28
|
var LargeSummaryContent = function LargeSummaryContent(_ref) {
|
|
29
29
|
var summaryPropsWithContent = _ref.summaryPropsWithContent;
|
|
30
30
|
var _useContext = (0, _react.useContext)(_nextjsComponents.MainContext),
|
|
@@ -54,6 +54,5 @@ var LargeSummaryContent = function LargeSummaryContent(_ref) {
|
|
|
54
54
|
LargeSummaryContent.propTypes = {
|
|
55
55
|
summaryPropsWithContent: _propTypes["default"].array.isRequired
|
|
56
56
|
};
|
|
57
|
-
var _default = (0, _HOC.withTitle)(LargeSummaryContent);
|
|
58
|
-
exports["default"] = _default;
|
|
57
|
+
var _default = exports["default"] = (0, _HOC.withTitle)(LargeSummaryContent);
|
|
59
58
|
//# sourceMappingURL=LargeSummaryContent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LargeSummaryContent.js","names":["_react","_interopRequireWildcard","require","_propTypes","_interopRequireDefault","_lodash","_nextjsComponents","_helpers","_helpers2","_HOC","_getRequireWildcardCache","
|
|
1
|
+
{"version":3,"file":"LargeSummaryContent.js","names":["_react","_interopRequireWildcard","require","_propTypes","_interopRequireDefault","_lodash","_nextjsComponents","_helpers","_helpers2","_HOC","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","LargeSummaryContent","_ref","summaryPropsWithContent","_useContext","useContext","MainContext","itemId","createElement","className","map","_ref2","index","_ref3","_slicedToArray2","key","value","link","modifier","dynamicKey","join","wrappedValue","parseBooleanValues","getWrappedValueWithLink","upperFirst","concat","propTypes","PropTypes","array","isRequired","_default","exports","withTitle"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummaryContent.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport PropTypes from 'prop-types';\nimport upperFirst from 'lodash.upperfirst';\nimport { MainContext } from '@blaze-cms/nextjs-components';\nimport { getWrappedValueWithLink } from '../../../../helpers';\nimport { parseBooleanValues } from '../../helpers';\nimport { withTitle } from '../../../../HOC';\n\nconst LargeSummaryContent = ({ summaryPropsWithContent }) => {\n const { itemId } = useContext(MainContext);\n\n return (\n <div className=\"stats__wrapper\">\n {summaryPropsWithContent.map(([key, value, link, modifier], index) => {\n const dynamicKey = [itemId, index].join('-');\n const wrappedValue = parseBooleanValues(\n getWrappedValueWithLink(value, link, itemId),\n upperFirst(key)\n );\n\n return (\n <div key={dynamicKey} className=\"stats__block\">\n <div className=\"stats__text\">\n <div className={`stats__title ${modifier}`}>{upperFirst(key)}</div>\n {wrappedValue && <div className={`stats__value ${modifier}`}>{wrappedValue}</div>}\n </div>\n </div>\n );\n })}\n </div>\n );\n};\n\nLargeSummaryContent.propTypes = {\n summaryPropsWithContent: PropTypes.array.isRequired\n};\n\nexport default withTitle(LargeSummaryContent);\n"],"mappings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AAA,CAAkBP,QAAQ;IAAG,GAAEG,YAAkB,CAC7E,CACF,CAAC;EAEV,CAAC,CACE,CAAC;AAEV,CAAC;AAEDpB,mBAAmB,CAACyB,SAAS,GAAG;EAC9BvB,uBAAuB,EAAEwB,qBAAS,CAACC,KAAK,CAACC;AAC3C,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEa,IAAAC,cAAS,EAAC/B,mBAAmB,CAAC"}
|
|
@@ -7,6 +7,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports["default"] = void 0;
|
|
9
9
|
var _LargeSummary = _interopRequireDefault(require("./LargeSummary"));
|
|
10
|
-
var _default = _LargeSummary["default"];
|
|
11
|
-
exports["default"] = _default;
|
|
10
|
+
var _default = exports["default"] = _LargeSummary["default"];
|
|
12
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_LargeSummary","_interopRequireDefault","require","_default","
|
|
1
|
+
{"version":3,"file":"index.js","names":["_LargeSummary","_interopRequireDefault","require","_default","exports","LargeSummary"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/LargeSummary/index.js"],"sourcesContent":["import LargeSummary from './LargeSummary';\n\nexport default LargeSummary;\n"],"mappings":";;;;;;;;AAAA,IAAAA,aAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA0C,IAAAC,QAAA,GAAAC,OAAA,cAE3BC,wBAAY"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListSummary.js","names":["_react","_interopRequireDefault","require","_propTypes","_helpers","_ListSummaryContent","_excluded","ListSummary","_ref","modifier","otherProps","_objectWithoutProperties2","createElement","className","getModifiers","propTypes","PropTypes","string","defaultProps","_default","exports"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/ListSummary/ListSummary.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { getModifiers } from '../../../../helpers';\nimport ListSummaryContent from './ListSummaryContent';\n\nconst ListSummary = ({ modifier, ...otherProps }) => (\n <div className={getModifiers('spec-block', modifier)}>\n <ListSummaryContent {...otherProps} />\n </div>\n);\n\nListSummary.propTypes = {\n modifier: PropTypes.string\n};\n\nListSummary.defaultProps = {\n modifier: ''\n};\n\nexport default ListSummary;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AACA,IAAAG,mBAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAAsD,IAAAI,SAAA;AAEtD,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,UAAU,OAAAC,yBAAA,aAAAH,IAAA,EAAAF,SAAA;EAAA,oBAC5CN,MAAA,YAAAY,aAAA;IAAKC,SAAS,EAAE,IAAAC,qBAAY,EAAC,YAAY,EAAEL,QAAQ;EAAE,gBACnDT,MAAA,YAAAY,aAAA,CAACP,mBAAA,WAAkB,EAAKK,UAAa,CAClC,CAAC;AAAA,CACP;AAEDH,WAAW,CAACQ,SAAS,GAAG;EACtBN,QAAQ,EAAEO,qBAAS,CAACC;AACtB,CAAC;AAEDV,WAAW,CAACW,YAAY,GAAG;EACzBT,QAAQ,EAAE;AACZ,CAAC;AAAC,IAAAU,QAAA,
|
|
1
|
+
{"version":3,"file":"ListSummary.js","names":["_react","_interopRequireDefault","require","_propTypes","_helpers","_ListSummaryContent","_excluded","ListSummary","_ref","modifier","otherProps","_objectWithoutProperties2","createElement","className","getModifiers","propTypes","PropTypes","string","defaultProps","_default","exports"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/ListSummary/ListSummary.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { getModifiers } from '../../../../helpers';\nimport ListSummaryContent from './ListSummaryContent';\n\nconst ListSummary = ({ modifier, ...otherProps }) => (\n <div className={getModifiers('spec-block', modifier)}>\n <ListSummaryContent {...otherProps} />\n </div>\n);\n\nListSummary.propTypes = {\n modifier: PropTypes.string\n};\n\nListSummary.defaultProps = {\n modifier: ''\n};\n\nexport default ListSummary;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AACA,IAAAG,mBAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAAsD,IAAAI,SAAA;AAEtD,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,UAAU,OAAAC,yBAAA,aAAAH,IAAA,EAAAF,SAAA;EAAA,oBAC5CN,MAAA,YAAAY,aAAA;IAAKC,SAAS,EAAE,IAAAC,qBAAY,EAAC,YAAY,EAAEL,QAAQ;EAAE,gBACnDT,MAAA,YAAAY,aAAA,CAACP,mBAAA,WAAkB,EAAKK,UAAa,CAClC,CAAC;AAAA,CACP;AAEDH,WAAW,CAACQ,SAAS,GAAG;EACtBN,QAAQ,EAAEO,qBAAS,CAACC;AACtB,CAAC;AAEDV,WAAW,CAACW,YAAY,GAAG;EACzBT,QAAQ,EAAE;AACZ,CAAC;AAAC,IAAAU,QAAA,GAAAC,OAAA,cAEab,WAAW"}
|
|
@@ -22,8 +22,8 @@ var _nextjsComponents = require("@blaze-cms/nextjs-components");
|
|
|
22
22
|
var _helpers = require("../../../../helpers");
|
|
23
23
|
var _helpers2 = require("../../helpers");
|
|
24
24
|
var _HOC = require("../../../../HOC");
|
|
25
|
-
function _getRequireWildcardCache(
|
|
26
|
-
function _interopRequireWildcard(
|
|
25
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
26
|
+
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 && Object.prototype.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; }
|
|
27
27
|
var ListSummaryContent = function ListSummaryContent(_ref) {
|
|
28
28
|
var summaryPropsWithContent = _ref.summaryPropsWithContent;
|
|
29
29
|
var _useContext = (0, _react.useContext)(_nextjsComponents.MainContext),
|
|
@@ -53,6 +53,5 @@ var ListSummaryContent = function ListSummaryContent(_ref) {
|
|
|
53
53
|
ListSummaryContent.propTypes = {
|
|
54
54
|
summaryPropsWithContent: _propTypes["default"].array.isRequired
|
|
55
55
|
};
|
|
56
|
-
var _default = (0, _HOC.withTitle)(ListSummaryContent);
|
|
57
|
-
exports["default"] = _default;
|
|
56
|
+
var _default = exports["default"] = (0, _HOC.withTitle)(ListSummaryContent);
|
|
58
57
|
//# sourceMappingURL=ListSummaryContent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListSummaryContent.js","names":["_react","_interopRequireWildcard","require","_propTypes","_interopRequireDefault","_nextjsComponents","_helpers","_helpers2","_HOC","_getRequireWildcardCache","
|
|
1
|
+
{"version":3,"file":"ListSummaryContent.js","names":["_react","_interopRequireWildcard","require","_propTypes","_interopRequireDefault","_nextjsComponents","_helpers","_helpers2","_HOC","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","ListSummaryContent","_ref","summaryPropsWithContent","_useContext","useContext","MainContext","itemId","createElement","className","map","_ref2","index","_ref3","_slicedToArray2","key","value","link","modifier","wrappedValue","parseBooleanValues","getWrappedValueWithLink","dynamicKey","join","concat","propTypes","PropTypes","array","isRequired","_default","exports","withTitle"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport PropTypes from 'prop-types';\nimport { MainContext } from '@blaze-cms/nextjs-components';\nimport { getWrappedValueWithLink } from '../../../../helpers';\nimport { parseBooleanValues } from '../../helpers';\nimport { withTitle } from '../../../../HOC';\n\nconst ListSummaryContent = ({ summaryPropsWithContent }) => {\n const { itemId } = useContext(MainContext);\n\n return (\n <div className=\"spec-block__column\">\n <ul className=\"spec-block__list\">\n {summaryPropsWithContent.map(([key, value, link, modifier], index) => {\n const wrappedValue = parseBooleanValues(\n getWrappedValueWithLink(value, link, itemId),\n key\n );\n const dynamicKey = [itemId, index].join('-');\n\n return (\n <li key={dynamicKey} className=\"spec-block__list-item\">\n <span className={`spec-block__title ${modifier}`}>{key}</span>\n {wrappedValue && (\n <span className={`spec-block__data ${modifier}`}>{wrappedValue}</span>\n )}\n </li>\n );\n })}\n </ul>\n </div>\n );\n};\n\nListSummaryContent.propTypes = {\n summaryPropsWithContent: PropTypes.array.isRequired\n};\n\nexport default withTitle(ListSummaryContent);\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,iBAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AACA,IAAAK,SAAA,GAAAL,OAAA;AACA,IAAAM,IAAA,GAAAN,OAAA;AAA4C,SAAAO,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,CA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AC;EAAoB,gBACjCtC,MAAA,YAAAqC,aAAA;IAAIC,SAAS,EAAC;EAAkB,GAC7BN,uBAAuB,CAACO,GAAG,CAAC,UAAAC,KAAA,EAA+BC,KAAK,EAAK;IAAA,IAAAC,KAAA,OAAAC,eAAA,aAAAH,KAAA;MAAvCI,GAAG,GAAAF,KAAA;MAAEG,KAAK,GAAAH,KAAA;MAAEI,IAAI,GAAAJ,KAAA;MAAEK,QAAQ,GAAAL,KAAA;IACvD,IAAMM,YAAY,GAAG,IAAAC,4BAAkB,EACrC,IAAAC,gCAAuB,EAACL,KAAK,EAAEC,IAAI,EAAEV,MAAM,CAAC,EAC5CQ,GACF,CAAC;IACD,IAAMO,UAAU,GAAG,CAACf,MAAM,EAAEK,KAAK,CAAC,CAACW,IAAI,CAAC,GAAG,CAAC;IAE5C,oBACEpD,MAAA,YAAAqC,aAAA;MAAIO,GAAG,EAAEO,UAAW;MAACb,SAAS,EAAC;IAAuB,gBACpDtC,MAAA,YAAAqC,aAAA;MAAMC,SAAS,uBAAAe,MAAA,CAAuBN,QAAQ;IAAG,GAAEH,GAAU,CAAC,EAC7DI,YAAY,iBACXhD,MAAA,YAAAqC,aAAA;MAAMC,SAAS,sBAAAe,MAAA,CAAsBN,QAAQ;IAAG,GAAEC,YAAmB,CAErE,CAAC;EAET,CAAC,CACC,CACD,CAAC;AAEV,CAAC;AAEDlB,kBAAkB,CAACwB,SAAS,GAAG;EAC7BtB,uBAAuB,EAAEuB,qBAAS,CAACC,KAAK,CAACC;AAC3C,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEa,IAAAC,cAAS,EAAC9B,kBAAkB,CAAC"}
|
|
@@ -7,6 +7,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports["default"] = void 0;
|
|
9
9
|
var _ListSummary = _interopRequireDefault(require("./ListSummary"));
|
|
10
|
-
var _default = _ListSummary["default"];
|
|
11
|
-
exports["default"] = _default;
|
|
10
|
+
var _default = exports["default"] = _ListSummary["default"];
|
|
12
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_ListSummary","_interopRequireDefault","require","_default","
|
|
1
|
+
{"version":3,"file":"index.js","names":["_ListSummary","_interopRequireDefault","require","_default","exports","ListSummary"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/ListSummary/index.js"],"sourcesContent":["import ListSummary from './ListSummary';\n\nexport default ListSummary;\n"],"mappings":";;;;;;;;AAAA,IAAAA,YAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAwC,IAAAC,QAAA,GAAAC,OAAA,cAEzBC,uBAAW"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextSummary.js","names":["_react","_interopRequireDefault","require","_propTypes","_helpers","_TextSummaryContent","_excluded","TextSummary","_ref","modifier","otherProps","_objectWithoutProperties2","createElement","className","getModifiers","propTypes","PropTypes","string","defaultProps","_default","exports"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/TextSummary/TextSummary.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { getModifiers } from '../../../../helpers';\nimport TextSummaryContent from './TextSummaryContent';\n\nconst TextSummary = ({ modifier, ...otherProps }) => (\n <div className={getModifiers('stats', modifier)}>\n <TextSummaryContent {...otherProps} />\n </div>\n);\n\nTextSummary.propTypes = {\n modifier: PropTypes.string\n};\n\nTextSummary.defaultProps = {\n modifier: ''\n};\n\nexport default TextSummary;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AACA,IAAAG,mBAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAAsD,IAAAI,SAAA;AAEtD,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,UAAU,OAAAC,yBAAA,aAAAH,IAAA,EAAAF,SAAA;EAAA,oBAC5CN,MAAA,YAAAY,aAAA;IAAKC,SAAS,EAAE,IAAAC,qBAAY,EAAC,OAAO,EAAEL,QAAQ;EAAE,gBAC9CT,MAAA,YAAAY,aAAA,CAACP,mBAAA,WAAkB,EAAKK,UAAa,CAClC,CAAC;AAAA,CACP;AAEDH,WAAW,CAACQ,SAAS,GAAG;EACtBN,QAAQ,EAAEO,qBAAS,CAACC;AACtB,CAAC;AAEDV,WAAW,CAACW,YAAY,GAAG;EACzBT,QAAQ,EAAE;AACZ,CAAC;AAAC,IAAAU,QAAA,
|
|
1
|
+
{"version":3,"file":"TextSummary.js","names":["_react","_interopRequireDefault","require","_propTypes","_helpers","_TextSummaryContent","_excluded","TextSummary","_ref","modifier","otherProps","_objectWithoutProperties2","createElement","className","getModifiers","propTypes","PropTypes","string","defaultProps","_default","exports"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/TextSummary/TextSummary.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { getModifiers } from '../../../../helpers';\nimport TextSummaryContent from './TextSummaryContent';\n\nconst TextSummary = ({ modifier, ...otherProps }) => (\n <div className={getModifiers('stats', modifier)}>\n <TextSummaryContent {...otherProps} />\n </div>\n);\n\nTextSummary.propTypes = {\n modifier: PropTypes.string\n};\n\nTextSummary.defaultProps = {\n modifier: ''\n};\n\nexport default TextSummary;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AACA,IAAAG,mBAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAAsD,IAAAI,SAAA;AAEtD,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,UAAU,OAAAC,yBAAA,aAAAH,IAAA,EAAAF,SAAA;EAAA,oBAC5CN,MAAA,YAAAY,aAAA;IAAKC,SAAS,EAAE,IAAAC,qBAAY,EAAC,OAAO,EAAEL,QAAQ;EAAE,gBAC9CT,MAAA,YAAAY,aAAA,CAACP,mBAAA,WAAkB,EAAKK,UAAa,CAClC,CAAC;AAAA,CACP;AAEDH,WAAW,CAACQ,SAAS,GAAG;EACtBN,QAAQ,EAAEO,qBAAS,CAACC;AACtB,CAAC;AAEDV,WAAW,CAACW,YAAY,GAAG;EACzBT,QAAQ,EAAE;AACZ,CAAC;AAAC,IAAAU,QAAA,GAAAC,OAAA,cAEab,WAAW"}
|
|
@@ -22,8 +22,8 @@ var _nextjsComponents = require("@blaze-cms/nextjs-components");
|
|
|
22
22
|
var _helpers = require("../../../../helpers");
|
|
23
23
|
var _helpers2 = require("../../helpers");
|
|
24
24
|
var _HOC = require("../../../../HOC");
|
|
25
|
-
function _getRequireWildcardCache(
|
|
26
|
-
function _interopRequireWildcard(
|
|
25
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
26
|
+
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 && Object.prototype.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; }
|
|
27
27
|
var TextSummaryContent = function TextSummaryContent(_ref) {
|
|
28
28
|
var summaryPropsWithContent = _ref.summaryPropsWithContent;
|
|
29
29
|
var _useContext = (0, _react.useContext)(_nextjsComponents.MainContext),
|
|
@@ -48,6 +48,5 @@ var TextSummaryContent = function TextSummaryContent(_ref) {
|
|
|
48
48
|
TextSummaryContent.propTypes = {
|
|
49
49
|
summaryPropsWithContent: _propTypes["default"].array.isRequired
|
|
50
50
|
};
|
|
51
|
-
var _default = (0, _HOC.withTitle)(TextSummaryContent);
|
|
52
|
-
exports["default"] = _default;
|
|
51
|
+
var _default = exports["default"] = (0, _HOC.withTitle)(TextSummaryContent);
|
|
53
52
|
//# sourceMappingURL=TextSummaryContent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextSummaryContent.js","names":["_react","_interopRequireWildcard","require","_propTypes","_interopRequireDefault","_nextjsComponents","_helpers","_helpers2","_HOC","_getRequireWildcardCache","
|
|
1
|
+
{"version":3,"file":"TextSummaryContent.js","names":["_react","_interopRequireWildcard","require","_propTypes","_interopRequireDefault","_nextjsComponents","_helpers","_helpers2","_HOC","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","TextSummaryContent","_ref","summaryPropsWithContent","_useContext","useContext","MainContext","itemId","createElement","className","map","_ref2","index","_ref3","_slicedToArray2","key","value","link","modifier","wrappedValue","parseBooleanValues","getWrappedValueWithLink","dynamicKey","join","propTypes","PropTypes","array","isRequired","_default","exports","withTitle"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/TextSummary/TextSummaryContent.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport PropTypes from 'prop-types';\nimport { MainContext } from '@blaze-cms/nextjs-components';\nimport { getWrappedValueWithLink } from '../../../../helpers';\nimport { parseBooleanValues } from '../../helpers';\nimport { withTitle } from '../../../../HOC';\n\nconst TextSummaryContent = ({ summaryPropsWithContent }) => {\n const { itemId } = useContext(MainContext);\n\n return (\n <div className=\"stats__heading\">\n {summaryPropsWithContent.map(([key, value, link, modifier], index) => {\n const wrappedValue = parseBooleanValues(getWrappedValueWithLink(value, link, itemId), key);\n const dynamicKey = [itemId, index].join('-');\n\n if (!wrappedValue) return null;\n\n return (\n <span className={modifier} key={dynamicKey}>\n {wrappedValue}\n </span>\n );\n })}\n </div>\n );\n};\n\nTextSummaryContent.propTypes = {\n summaryPropsWithContent: PropTypes.array.isRequired\n};\n\nexport default withTitle(TextSummaryContent);\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,iBAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AACA,IAAAK,SAAA,GAAAL,OAAA;AACA,IAAAM,IAAA,GAAAN,OAAA;AAA4C,SAAAO,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAT,wBAAAS,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,gBAAAK,OAAA,CAAAL,CAAA,0BAAAA,CAAA,sBAAAA,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAd,CAAA,oBAAAc,CAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAjB,CAAA,EAAAc,CAAA,SAAAI,C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AAC;EAEX,CAAC,CACE,CAAC;AAEV,CAAC;AAEDlB,kBAAkB,CAACuB,SAAS,GAAG;EAC7BrB,uBAAuB,EAAEsB,qBAAS,CAACC,KAAK,CAACC;AAC3C,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEa,IAAAC,cAAS,EAAC7B,kBAAkB,CAAC"}
|
|
@@ -7,6 +7,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports["default"] = void 0;
|
|
9
9
|
var _TextSummary = _interopRequireDefault(require("./TextSummary"));
|
|
10
|
-
var _default = _TextSummary["default"];
|
|
11
|
-
exports["default"] = _default;
|
|
10
|
+
var _default = exports["default"] = _TextSummary["default"];
|
|
12
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_TextSummary","_interopRequireDefault","require","_default","
|
|
1
|
+
{"version":3,"file":"index.js","names":["_TextSummary","_interopRequireDefault","require","_default","exports","TextSummary"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/TextSummary/index.js"],"sourcesContent":["import TextSummary from './TextSummary';\n\nexport default TextSummary;\n"],"mappings":";;;;;;;;AAAA,IAAAA,YAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAwC,IAAAC,QAAA,GAAAC,OAAA,cAEzBC,uBAAW"}
|
|
@@ -15,9 +15,9 @@ require("core-js/modules/web.dom-collections.iterator.js");
|
|
|
15
15
|
require("core-js/modules/es.object.define-property.js");
|
|
16
16
|
require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
17
17
|
var _dynamic = _interopRequireDefault(require("next/dynamic"));
|
|
18
|
-
function _getRequireWildcardCache(
|
|
19
|
-
function _interopRequireWildcard(
|
|
20
|
-
var summaryComponents = {
|
|
18
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
19
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != (0, _typeof2["default"])(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 && Object.prototype.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; }
|
|
20
|
+
var summaryComponents = exports.summaryComponents = {
|
|
21
21
|
list: (0, _dynamic["default"])(function () {
|
|
22
22
|
return Promise.resolve().then(function () {
|
|
23
23
|
return _interopRequireWildcard(require( /* webpackChunkName: "blazePbDataSummaryListSummary" */'./ListSummary'));
|
|
@@ -44,5 +44,4 @@ var summaryComponents = {
|
|
|
44
44
|
});
|
|
45
45
|
})
|
|
46
46
|
};
|
|
47
|
-
exports.summaryComponents = summaryComponents;
|
|
48
47
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_dynamic","_interopRequireDefault","require","_getRequireWildcardCache","
|
|
1
|
+
{"version":3,"file":"index.js","names":["_dynamic","_interopRequireDefault","require","_getRequireWildcardCache","e","WeakMap","r","t","_interopRequireWildcard","__esModule","_typeof2","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","summaryComponents","exports","list","dynamic","Promise","resolve","then","large","text","heading_large","item_details"],"sources":["../../../../src/components/DataSummary/DataSummaryTypes/index.js"],"sourcesContent":["import dynamic from 'next/dynamic';\n\nexport const summaryComponents = {\n list: dynamic(() =>\n import(/* webpackChunkName: \"blazePbDataSummaryListSummary\" */ './ListSummary')\n ),\n large: dynamic(() =>\n import(/* webpackChunkName: \"blazePbDataSummaryLargeSummary\" */ './LargeSummary')\n ),\n text: dynamic(() =>\n import(/* webpackChunkName: \"blazePbDataSummaryTextSummary\" */ './TextSummary')\n ),\n heading_large: dynamic(() =>\n import(/* webpackChunkName: \"blazePbDataSummaryHeadingLargeSummary\" */ './HeadingLargeSummary')\n ),\n item_details: dynamic(() =>\n import(/* webpackChunkName: \"blazePbDataSummaryItemDetailsSummary\" */ './ItemDetailsSummary')\n )\n};\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,yBAAAC,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,oBAAAM,QAAA,aAAAN,CAAA,0BAAAA,CAAA,sBAAAA,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,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAlB,CAAA,EAAAe,CAAA,SAAAI,CAAA,GAAAR,CAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAd,CAAA,EAAAe,CAAA,UAAAI,CAAA,KAAAA,CAAA,CAAAX,GAAA,IAAAW,CAAA,CAAAC,GAAA,IAAAR,MAAA,CAAAC,cAAA,CAAAJ,CAAA,EAAAM,CAAA,EAAAI,CAAA,IAAAV,CAAA,CAAAM,CAAA,IAAAf,CAAA,CAAAe,CAAA,YAAAN,CAAA,cAAAT,CAAA,EAAAG,CAAA,IAAAA,CAAA,CAAAiB,GAAA,CAAApB,CAAA,EAAAS,CAAA,GAAAA,CAAA;AAE5B,IAAMY,iBAAiB,GAAAC,OAAA,CAAAD,iBAAA,GAAG;EAC/BE,IAAI,EAAE,IAAAC,mBAAO,EAAC;IAAA,OAAAC,OAAA,CAAAC,OAAA,GAAAC,IAAA;MAAA,OAAAvB,uBAAA,CAAAN,OAAA,EACL,uDAAwD,eAAe;IAAA;EAAA,CAChF,CAAC;EACD8B,KAAK,EAAE,IAAAJ,mBAAO,EAAC;IAAA,OAAAC,OAAA,CAAAC,OAAA,GAAAC,IAAA;MAAA,OAAAvB,uBAAA,CAAAN,OAAA,EACN,wDAAyD,gBAAgB;IAAA;EAAA,CAClF,CAAC;EACD+B,IAAI,EAAE,IAAAL,mBAAO,EAAC;IAAA,OAAAC,OAAA,CAAAC,OAAA,GAAAC,IAAA;MAAA,OAAAvB,uBAAA,CAAAN,OAAA,EACL,uDAAwD,eAAe;IAAA;EAAA,CAChF,CAAC;EACDgC,aAAa,EAAE,IAAAN,mBAAO,EAAC;IAAA,OAAAC,OAAA,CAAAC,OAAA,GAAAC,IAAA;MAAA,OAAAvB,uBAAA,CAAAN,OAAA,EACd,+DAAgE,uBAAuB;IAAA;EAAA,CAChG,CAAC;EACDiC,YAAY,EAAE,IAAAP,mBAAO,EAAC;IAAA,OAAAC,OAAA,CAAAC,OAAA,GAAAC,IAAA;MAAA,OAAAvB,uBAAA,CAAAN,OAAA,EACb,8DAA+D,sBAAsB;IAAA;EAAA,CAC9F;AACF,CAAC"}
|
|
@@ -78,6 +78,5 @@ var buildLoopPropsContent = function buildLoopPropsContent() {
|
|
|
78
78
|
}
|
|
79
79
|
return (0, _lodash2["default"])(loopPropsWithContent);
|
|
80
80
|
};
|
|
81
|
-
var _default = buildLoopPropsContent;
|
|
82
|
-
exports["default"] = _default;
|
|
81
|
+
var _default = exports["default"] = buildLoopPropsContent;
|
|
83
82
|
//# sourceMappingURL=build-loop-props-content.js.map
|