@blaze-cms/react-page-builder 0.146.0-node18-core-styles.3 → 0.146.0-node18-core-styles-tooltips.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -31
- package/README.md +0 -1
- package/example.env +0 -1
- package/lib/components/BackToTop/BackToTop.js +2 -2
- package/lib/components/BackToTop/BackToTop.js.map +1 -1
- package/lib/components/Card/CardsRender.js +10 -7
- package/lib/components/Card/CardsRender.js.map +1 -1
- package/lib/components/Image/GlobalLightbox/GlobalLightbox.js +2 -2
- package/lib/components/Image/GlobalLightbox/GlobalLightbox.js.map +1 -1
- package/lib/components/Image/GlobalLightbox/NavButton.js +2 -2
- package/lib/components/Image/GlobalLightbox/NavButton.js.map +1 -1
- package/lib/components/List/ListRender.js +29 -7
- package/lib/components/List/ListRender.js.map +1 -1
- package/lib/components/List/components/Full/FullRenderItem.js.map +1 -1
- package/lib/components/List/components/Pagination/Classic.js +9 -6
- package/lib/components/List/components/Pagination/Classic.js.map +1 -1
- package/lib/components/List/components/Pagination/ListPagination.js +7 -10
- package/lib/components/List/components/Pagination/ListPagination.js.map +1 -1
- package/lib/components/List/helpers/build-pagination-items.js +4 -3
- package/lib/components/List/helpers/build-pagination-items.js.map +1 -1
- package/lib/components/List/helpers/build-pagination-url.js +2 -2
- package/lib/components/List/helpers/build-pagination-url.js.map +1 -1
- package/lib/components/Loading/index.js +17 -3
- package/lib/components/Loading/index.js.map +1 -1
- package/lib/components/SearchFilter/SearchFilterContainer.js +6 -10
- package/lib/components/SearchFilter/SearchFilterContainer.js.map +1 -1
- package/lib/components/SearchFilter/helpers/build-url-query.js +10 -1
- package/lib/components/SearchFilter/helpers/build-url-query.js.map +1 -1
- package/lib/constants/index.js +2 -2
- package/lib/constants/index.js.map +1 -1
- package/lib/helpers/get-component-id.js +20 -0
- package/lib/helpers/get-component-id.js.map +1 -0
- package/lib/helpers/index.js +7 -0
- package/lib/helpers/index.js.map +1 -1
- package/lib/hooks/helpers/RenderComponent.js +11 -2
- package/lib/hooks/helpers/RenderComponent.js.map +1 -1
- package/lib/index.js +6 -0
- package/lib/index.js.map +1 -1
- package/lib/variants/LiveBlogList/LiveBlogList.js.map +1 -1
- package/lib/variants/LiveBlogList/index.js.map +1 -1
- package/package.json +11 -11
- package/src/components/BackToTop/BackToTop.js +5 -7
- package/src/components/Card/CardsRender.js +22 -17
- package/src/components/Image/GlobalLightbox/GlobalLightbox.js +69 -71
- package/src/components/Image/GlobalLightbox/NavButton.js +12 -15
- package/src/components/List/ListRender.js +56 -40
- package/src/components/List/components/Full/FullRenderItem.js +3 -4
- package/src/components/List/components/Pagination/Classic.js +26 -6
- package/src/components/List/components/Pagination/ListPagination.js +8 -12
- package/src/components/List/helpers/build-pagination-items.js +11 -3
- package/src/components/List/helpers/build-pagination-url.js +2 -2
- package/src/components/Loading/index.js +2 -2
- package/src/components/SearchFilter/SearchFilterContainer.js +12 -10
- package/src/components/SearchFilter/helpers/build-url-query.js +10 -1
- package/src/constants/index.js +4 -4
- package/src/helpers/get-component-id.js +9 -0
- package/src/helpers/index.js +1 -0
- package/src/hooks/helpers/RenderComponent.js +4 -0
- package/src/index.js +2 -1
- package/src/variants/LiveBlogList/LiveBlogList.js +30 -36
- package/src/variants/LiveBlogList/index.js +2 -2
- package/tests/unit/src/Layout/helpers/check-if-row-has-columns.test.js +6 -5
- package/tests/unit/src/components/Card/Card.test.js +1 -1
- package/tests/unit/src/components/List/__snapshots__/ListRender.test.js.snap +4 -2
- package/tests/unit/src/components/List/helpers/__snapshots__/build-pagination-items.test.js.snap +21 -21
- package/tests/unit/src/components/Loading/__snapshots__/Loading.test.js.snap +2 -14
- package/tests/unit/src/components/MenuItem/MenuItem.test.js +1 -1
- package/tests/unit/src/components/MenuItem/mocks.js +1 -1
- package/tests/unit/src/components/Modal/Modal.test.js +1 -1
- package/tests/unit/src/components/Modal/__snapshots__/Modal.test.js.snap +1 -1
- package/tests/unit/src/components/PlaceholderIcon/index.test.js +1 -1
- package/tests/unit/src/components/SearchFilter/SearchFilter/FiltersList.test.js +3 -0
- package/tests/unit/src/helpers/get-component-id.test.js +36 -0
- package/tests/unit/src/helpers/render-children.test.js +7 -5
- package/lib-es/BannerContext/helpers/index.js +0 -3
- package/lib-es/BannerContext/helpers/index.js.map +0 -1
- package/lib-es/BannerContext/helpers/set-initial-banner-counters.js +0 -17
- package/lib-es/BannerContext/helpers/set-initial-banner-counters.js.map +0 -1
- package/lib-es/BannerContext/index.js +0 -29
- package/lib-es/BannerContext/index.js.map +0 -1
- package/lib-es/HOC/index.js +0 -3
- package/lib-es/HOC/index.js.map +0 -1
- package/lib-es/HOC/recreateOnNavigation.js +0 -20
- package/lib-es/HOC/recreateOnNavigation.js.map +0 -1
- package/lib-es/HOC/withInfiniteScroll.js +0 -62
- package/lib-es/HOC/withInfiniteScroll.js.map +0 -1
- package/lib-es/HOC/withTitle.js +0 -36
- package/lib-es/HOC/withTitle.js.map +0 -1
- package/lib-es/PBContext/index.js +0 -6
- package/lib-es/PBContext/index.js.map +0 -1
- package/lib-es/application/query/index.js +0 -178
- package/lib-es/application/query/index.js.map +0 -1
- package/lib-es/components/BackToTop/BackToTop.js +0 -38
- package/lib-es/components/BackToTop/BackToTop.js.map +0 -1
- package/lib-es/components/BackToTop/index.js +0 -3
- package/lib-es/components/BackToTop/index.js.map +0 -1
- package/lib-es/components/Banner/AdSlotRender.js +0 -73
- package/lib-es/components/Banner/AdSlotRender.js.map +0 -1
- package/lib-es/components/Banner/Banner.js +0 -94
- package/lib-es/components/Banner/Banner.js.map +0 -1
- package/lib-es/components/Banner/BannerRender.js +0 -125
- package/lib-es/components/Banner/BannerRender.js.map +0 -1
- package/lib-es/components/Banner/helpers.js +0 -155
- package/lib-es/components/Banner/helpers.js.map +0 -1
- package/lib-es/components/Banner/index.js +0 -3
- package/lib-es/components/Banner/index.js.map +0 -1
- package/lib-es/components/BlazeLink.js +0 -68
- package/lib-es/components/BlazeLink.js.map +0 -1
- package/lib-es/components/Breadcrumb/Breadcrumb.js +0 -88
- package/lib-es/components/Breadcrumb/Breadcrumb.js.map +0 -1
- package/lib-es/components/Breadcrumb/index.js +0 -3
- package/lib-es/components/Breadcrumb/index.js.map +0 -1
- package/lib-es/components/Button.js +0 -129
- package/lib-es/components/Button.js.map +0 -1
- package/lib-es/components/Card/Card.js +0 -290
- package/lib-es/components/Card/Card.js.map +0 -1
- package/lib-es/components/Card/CardsContainer.js +0 -186
- package/lib-es/components/Card/CardsContainer.js.map +0 -1
- package/lib-es/components/Card/CardsFactory.js +0 -99
- package/lib-es/components/Card/CardsFactory.js.map +0 -1
- package/lib-es/components/Card/CardsRender.js +0 -193
- package/lib-es/components/Card/CardsRender.js.map +0 -1
- package/lib-es/components/Card/constants.js +0 -4
- package/lib-es/components/Card/constants.js.map +0 -1
- package/lib-es/components/Card/helpers/get-dynamic-grid-classes.js +0 -21
- package/lib-es/components/Card/helpers/get-dynamic-grid-classes.js.map +0 -1
- package/lib-es/components/Card/helpers/get-published-listing-url.js +0 -3
- package/lib-es/components/Card/helpers/get-published-listing-url.js.map +0 -1
- package/lib-es/components/Card/helpers/index.js +0 -10
- package/lib-es/components/Card/helpers/index.js.map +0 -1
- package/lib-es/components/Card/helpers/use-dynamic-size-key.js +0 -6
- package/lib-es/components/Card/helpers/use-dynamic-size-key.js.map +0 -1
- package/lib-es/components/Card/index.js +0 -3
- package/lib-es/components/Card/index.js.map +0 -1
- package/lib-es/components/Carousel/Carousel.js +0 -48
- package/lib-es/components/Carousel/Carousel.js.map +0 -1
- package/lib-es/components/Carousel/CarouselImage/CarouselImage.js +0 -58
- package/lib-es/components/Carousel/CarouselImage/CarouselImage.js.map +0 -1
- package/lib-es/components/Carousel/CarouselImage/constants.js +0 -2
- package/lib-es/components/Carousel/CarouselImage/constants.js.map +0 -1
- package/lib-es/components/Carousel/CarouselImage/index.js +0 -3
- package/lib-es/components/Carousel/CarouselImage/index.js.map +0 -1
- package/lib-es/components/Carousel/CarouselRender/CarouselRender.js +0 -74
- package/lib-es/components/Carousel/CarouselRender/CarouselRender.js.map +0 -1
- package/lib-es/components/Carousel/CarouselRender/index.js +0 -3
- package/lib-es/components/Carousel/CarouselRender/index.js.map +0 -1
- package/lib-es/components/Carousel/hooks/useCarouselNavigation.js +0 -49
- package/lib-es/components/Carousel/hooks/useCarouselNavigation.js.map +0 -1
- package/lib-es/components/Carousel/index.js +0 -3
- package/lib-es/components/Carousel/index.js.map +0 -1
- package/lib-es/components/CarouselWrapper/CarouselWrapper.js +0 -22
- package/lib-es/components/CarouselWrapper/CarouselWrapper.js.map +0 -1
- package/lib-es/components/CarouselWrapper/DefaultCarousel.js +0 -140
- package/lib-es/components/CarouselWrapper/DefaultCarousel.js.map +0 -1
- package/lib-es/components/CarouselWrapper/SmoothScrollCarousel.js +0 -43
- package/lib-es/components/CarouselWrapper/SmoothScrollCarousel.js.map +0 -1
- package/lib-es/components/CarouselWrapper/index.js +0 -3
- package/lib-es/components/CarouselWrapper/index.js.map +0 -1
- package/lib-es/components/ClickWrapper.js +0 -40
- package/lib-es/components/ClickWrapper.js.map +0 -1
- package/lib-es/components/Code/Code.js +0 -43
- package/lib-es/components/Code/Code.js.map +0 -1
- package/lib-es/components/Code/ScriptTag.js +0 -32
- package/lib-es/components/Code/ScriptTag.js.map +0 -1
- package/lib-es/components/Code/helpers/index.js +0 -2
- package/lib-es/components/Code/helpers/index.js.map +0 -1
- package/lib-es/components/Code/helpers/wrap-script-tags.js +0 -36
- package/lib-es/components/Code/helpers/wrap-script-tags.js.map +0 -1
- package/lib-es/components/Code/index.js +0 -3
- package/lib-es/components/Code/index.js.map +0 -1
- package/lib-es/components/ContentGroup/ContentGroup.js +0 -31
- package/lib-es/components/ContentGroup/ContentGroup.js.map +0 -1
- package/lib-es/components/ContentGroup/ContentGroupTabs.js +0 -81
- package/lib-es/components/ContentGroup/ContentGroupTabs.js.map +0 -1
- package/lib-es/components/ContentGroup/constants.js +0 -7
- package/lib-es/components/ContentGroup/constants.js.map +0 -1
- package/lib-es/components/ContentGroup/helpers/get-active-tab.js +0 -9
- package/lib-es/components/ContentGroup/helpers/get-active-tab.js.map +0 -1
- package/lib-es/components/ContentGroup/helpers/get-sections-data.js +0 -15
- package/lib-es/components/ContentGroup/helpers/get-sections-data.js.map +0 -1
- package/lib-es/components/ContentGroup/helpers/index.js +0 -4
- package/lib-es/components/ContentGroup/helpers/index.js.map +0 -1
- package/lib-es/components/ContentGroup/index.js +0 -3
- package/lib-es/components/ContentGroup/index.js.map +0 -1
- package/lib-es/components/ContentGroupSection/ContentGroupSection.js +0 -23
- package/lib-es/components/ContentGroupSection/ContentGroupSection.js.map +0 -1
- package/lib-es/components/ContentGroupSection/index.js +0 -3
- package/lib-es/components/ContentGroupSection/index.js.map +0 -1
- package/lib-es/components/DataSummary/DataSummaryFactory.js +0 -92
- package/lib-es/components/DataSummary/DataSummaryFactory.js.map +0 -1
- package/lib-es/components/DataSummary/DataSummaryRender.js +0 -92
- package/lib-es/components/DataSummary/DataSummaryRender.js.map +0 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummary.js +0 -24
- package/lib-es/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummary.js.map +0 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummaryContent.js +0 -24
- package/lib-es/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummaryContent.js.map +0 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/index.js +0 -3
- package/lib-es/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/index.js.map +0 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummary.js +0 -23
- package/lib-es/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummary.js.map +0 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummaryContent.js +0 -28
- package/lib-es/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummaryContent.js.map +0 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/index.js +0 -3
- package/lib-es/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/index.js.map +0 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummary.js +0 -23
- package/lib-es/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummary.js.map +0 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummaryContent.js +0 -35
- package/lib-es/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummaryContent.js.map +0 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/LargeSummary/index.js +0 -3
- package/lib-es/components/DataSummary/DataSummaryTypes/LargeSummary/index.js.map +0 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/ListSummary/ListSummary.js +0 -23
- package/lib-es/components/DataSummary/DataSummaryTypes/ListSummary/ListSummary.js.map +0 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.js +0 -34
- package/lib-es/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.js.map +0 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/ListSummary/index.js +0 -3
- package/lib-es/components/DataSummary/DataSummaryTypes/ListSummary/index.js.map +0 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/TextSummary/TextSummary.js +0 -23
- package/lib-es/components/DataSummary/DataSummaryTypes/TextSummary/TextSummary.js.map +0 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/TextSummary/TextSummaryContent.js +0 -29
- package/lib-es/components/DataSummary/DataSummaryTypes/TextSummary/TextSummaryContent.js.map +0 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/TextSummary/index.js +0 -3
- package/lib-es/components/DataSummary/DataSummaryTypes/TextSummary/index.js.map +0 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/index.js +0 -9
- package/lib-es/components/DataSummary/DataSummaryTypes/index.js.map +0 -1
- package/lib-es/components/DataSummary/helpers/build-loop-props-content.js +0 -61
- package/lib-es/components/DataSummary/helpers/build-loop-props-content.js.map +0 -1
- package/lib-es/components/DataSummary/helpers/build-props-to-display-with-content.js +0 -45
- package/lib-es/components/DataSummary/helpers/build-props-to-display-with-content.js.map +0 -1
- package/lib-es/components/DataSummary/helpers/get-data-summary-query.js +0 -19
- package/lib-es/components/DataSummary/helpers/get-data-summary-query.js.map +0 -1
- package/lib-es/components/DataSummary/helpers/get-link-based-on-value.js +0 -15
- package/lib-es/components/DataSummary/helpers/get-link-based-on-value.js.map +0 -1
- package/lib-es/components/DataSummary/helpers/get-link-props.js +0 -6
- package/lib-es/components/DataSummary/helpers/get-link-props.js.map +0 -1
- package/lib-es/components/DataSummary/helpers/get-link-to-published-content.js +0 -9
- package/lib-es/components/DataSummary/helpers/get-link-to-published-content.js.map +0 -1
- package/lib-es/components/DataSummary/helpers/get-loop-props-limit.js +0 -12
- package/lib-es/components/DataSummary/helpers/get-loop-props-limit.js.map +0 -1
- package/lib-es/components/DataSummary/helpers/get-prop-value.js +0 -20
- package/lib-es/components/DataSummary/helpers/get-prop-value.js.map +0 -1
- package/lib-es/components/DataSummary/helpers/get-value-from-array.js +0 -17
- package/lib-es/components/DataSummary/helpers/get-value-from-array.js.map +0 -1
- package/lib-es/components/DataSummary/helpers/index.js +0 -10
- package/lib-es/components/DataSummary/helpers/index.js.map +0 -1
- package/lib-es/components/DataSummary/helpers/parse-boolean-values.js +0 -7
- package/lib-es/components/DataSummary/helpers/parse-boolean-values.js.map +0 -1
- package/lib-es/components/DataSummary/helpers/strip-summary-props-content.js +0 -14
- package/lib-es/components/DataSummary/helpers/strip-summary-props-content.js.map +0 -1
- package/lib-es/components/DataSummary/index.js +0 -3
- package/lib-es/components/DataSummary/index.js.map +0 -1
- package/lib-es/components/DateTime/DateTime.js +0 -36
- package/lib-es/components/DateTime/DateTime.js.map +0 -1
- package/lib-es/components/DateTime/index.js +0 -3
- package/lib-es/components/DateTime/index.js.map +0 -1
- package/lib-es/components/EmailConfirm/EmailConfirm.js +0 -71
- package/lib-es/components/EmailConfirm/EmailConfirm.js.map +0 -1
- package/lib-es/components/EmailConfirm/index.js +0 -3
- package/lib-es/components/EmailConfirm/index.js.map +0 -1
- package/lib-es/components/EmailConfirm/mutation.js +0 -13
- package/lib-es/components/EmailConfirm/mutation.js.map +0 -1
- package/lib-es/components/ErrorMessage/ErrorMessage.js +0 -30
- package/lib-es/components/ErrorMessage/ErrorMessage.js.map +0 -1
- package/lib-es/components/ErrorMessage/index.js +0 -3
- package/lib-es/components/ErrorMessage/index.js.map +0 -1
- package/lib-es/components/Iframe/Iframe.js +0 -42
- package/lib-es/components/Iframe/Iframe.js.map +0 -1
- package/lib-es/components/Iframe/constants.js +0 -7
- package/lib-es/components/Iframe/constants.js.map +0 -1
- package/lib-es/components/Iframe/index.js +0 -3
- package/lib-es/components/Iframe/index.js.map +0 -1
- package/lib-es/components/Image/GlobalLightbox/GlobalLightbox.js +0 -161
- package/lib-es/components/Image/GlobalLightbox/GlobalLightbox.js.map +0 -1
- package/lib-es/components/Image/GlobalLightbox/NavButton.js +0 -24
- package/lib-es/components/Image/GlobalLightbox/NavButton.js.map +0 -1
- package/lib-es/components/Image/GlobalLightbox/index.js +0 -3
- package/lib-es/components/Image/GlobalLightbox/index.js.map +0 -1
- package/lib-es/components/Image/Image.js +0 -173
- package/lib-es/components/Image/Image.js.map +0 -1
- package/lib-es/components/Image/ImageDetails.js +0 -27
- package/lib-es/components/Image/ImageDetails.js.map +0 -1
- package/lib-es/components/Image/ImageFactory.js +0 -86
- package/lib-es/components/Image/ImageFactory.js.map +0 -1
- package/lib-es/components/Image/ImageRender.js +0 -86
- package/lib-es/components/Image/ImageRender.js.map +0 -1
- package/lib-es/components/Image/Lightbox/Lightbox.js +0 -63
- package/lib-es/components/Image/Lightbox/Lightbox.js.map +0 -1
- package/lib-es/components/Image/Lightbox/index.js +0 -3
- package/lib-es/components/Image/Lightbox/index.js.map +0 -1
- package/lib-es/components/Image/index.js +0 -3
- package/lib-es/components/Image/index.js.map +0 -1
- package/lib-es/components/ItemList/ItemListButton/ItemListButton.js +0 -107
- package/lib-es/components/ItemList/ItemListButton/ItemListButton.js.map +0 -1
- package/lib-es/components/ItemList/ItemListButton/index.js +0 -3
- package/lib-es/components/ItemList/ItemListButton/index.js.map +0 -1
- package/lib-es/components/ItemList/ItemListCounter/ItemListCounter.js +0 -57
- package/lib-es/components/ItemList/ItemListCounter/ItemListCounter.js.map +0 -1
- package/lib-es/components/ItemList/ItemListCounter/index.js +0 -3
- package/lib-es/components/ItemList/ItemListCounter/index.js.map +0 -1
- package/lib-es/components/ItemList/ItemListNew/ItemListNew.js +0 -60
- package/lib-es/components/ItemList/ItemListNew/ItemListNew.js.map +0 -1
- package/lib-es/components/ItemList/ItemListNew/index.js +0 -3
- package/lib-es/components/ItemList/ItemListNew/index.js.map +0 -1
- package/lib-es/components/ItemList/constants.js +0 -6
- package/lib-es/components/ItemList/constants.js.map +0 -1
- package/lib-es/components/ItemList/helpers/get-item-list-data.js +0 -6
- package/lib-es/components/ItemList/helpers/get-item-list-data.js.map +0 -1
- package/lib-es/components/ItemList/helpers/get-item-list-id.js +0 -9
- package/lib-es/components/ItemList/helpers/get-item-list-id.js.map +0 -1
- package/lib-es/components/ItemList/helpers/get-item-list-ids.js +0 -11
- package/lib-es/components/ItemList/helpers/get-item-list-ids.js.map +0 -1
- package/lib-es/components/ItemList/helpers/index.js +0 -6
- package/lib-es/components/ItemList/helpers/index.js.map +0 -1
- package/lib-es/components/ItemList/helpers/set-item-list-id.js +0 -8
- package/lib-es/components/ItemList/helpers/set-item-list-id.js.map +0 -1
- package/lib-es/components/ItemList/helpers/set-param-and-redirect.js +0 -17
- package/lib-es/components/ItemList/helpers/set-param-and-redirect.js.map +0 -1
- package/lib-es/components/ItemList/hooks/index.js +0 -2
- package/lib-es/components/ItemList/hooks/index.js.map +0 -1
- package/lib-es/components/ItemList/hooks/use-item-list-id.js +0 -23
- package/lib-es/components/ItemList/hooks/use-item-list-id.js.map +0 -1
- package/lib-es/components/ItemList/icons/AddedBookmark.js +0 -33
- package/lib-es/components/ItemList/icons/AddedBookmark.js.map +0 -1
- package/lib-es/components/ItemList/icons/BaseBookmark.js +0 -37
- package/lib-es/components/ItemList/icons/BaseBookmark.js.map +0 -1
- package/lib-es/components/ItemList/icons/HoverBookmark.js +0 -35
- package/lib-es/components/ItemList/icons/HoverBookmark.js.map +0 -1
- package/lib-es/components/ItemList/icons/RemoveBookmark.js +0 -33
- package/lib-es/components/ItemList/icons/RemoveBookmark.js.map +0 -1
- package/lib-es/components/ItemList/icons/index.js +0 -5
- package/lib-es/components/ItemList/icons/index.js.map +0 -1
- package/lib-es/components/Layout/Layout.js +0 -85
- package/lib-es/components/Layout/Layout.js.map +0 -1
- package/lib-es/components/Layout/LayoutFactory.js +0 -14
- package/lib-es/components/Layout/LayoutFactory.js.map +0 -1
- package/lib-es/components/Layout/LayoutWithStickyTimer.js +0 -42
- package/lib-es/components/Layout/LayoutWithStickyTimer.js.map +0 -1
- package/lib-es/components/Layout/constants.js +0 -6
- package/lib-es/components/Layout/constants.js.map +0 -1
- package/lib-es/components/Layout/helpers/check-if-row-has-columns.js +0 -19
- package/lib-es/components/Layout/helpers/check-if-row-has-columns.js.map +0 -1
- package/lib-es/components/Layout/helpers/get-styles-to-update.js +0 -10
- package/lib-es/components/Layout/helpers/get-styles-to-update.js.map +0 -1
- package/lib-es/components/Layout/helpers/index.js +0 -4
- package/lib-es/components/Layout/helpers/index.js.map +0 -1
- package/lib-es/components/Layout/index.js +0 -3
- package/lib-es/components/Layout/index.js.map +0 -1
- package/lib-es/components/LazyImage/LazyImage.js +0 -41
- package/lib-es/components/LazyImage/LazyImage.js.map +0 -1
- package/lib-es/components/LazyImage/index.js +0 -3
- package/lib-es/components/LazyImage/index.js.map +0 -1
- package/lib-es/components/List/ListBuilder.js +0 -206
- package/lib-es/components/List/ListBuilder.js.map +0 -1
- package/lib-es/components/List/ListFactory.js +0 -213
- package/lib-es/components/List/ListFactory.js.map +0 -1
- package/lib-es/components/List/ListRender.js +0 -121
- package/lib-es/components/List/ListRender.js.map +0 -1
- package/lib-es/components/List/components/Cards/CardRenderWithInfiniteScroll.js +0 -4
- package/lib-es/components/List/components/Cards/CardRenderWithInfiniteScroll.js.map +0 -1
- package/lib-es/components/List/components/Cards/CardsRender.js +0 -106
- package/lib-es/components/List/components/Cards/CardsRender.js.map +0 -1
- package/lib-es/components/List/components/Cards/CardsRenderItem.js +0 -121
- package/lib-es/components/List/components/Cards/CardsRenderItem.js.map +0 -1
- package/lib-es/components/List/components/Cards/CardsRenderWrapper.js +0 -59
- package/lib-es/components/List/components/Cards/CardsRenderWrapper.js.map +0 -1
- package/lib-es/components/List/components/Cards/index.js +0 -3
- package/lib-es/components/List/components/Cards/index.js.map +0 -1
- package/lib-es/components/List/components/Full/FullRender.js +0 -92
- package/lib-es/components/List/components/Full/FullRender.js.map +0 -1
- package/lib-es/components/List/components/Full/FullRenderItem.js +0 -95
- package/lib-es/components/List/components/Full/FullRenderItem.js.map +0 -1
- package/lib-es/components/List/components/Full/FullRenderWithInfiniteScroll.js +0 -4
- package/lib-es/components/List/components/Full/FullRenderWithInfiniteScroll.js.map +0 -1
- package/lib-es/components/List/components/Full/index.js +0 -3
- package/lib-es/components/List/components/Full/index.js.map +0 -1
- package/lib-es/components/List/components/Header/ListHeader.js +0 -64
- package/lib-es/components/List/components/Header/ListHeader.js.map +0 -1
- package/lib-es/components/List/components/Header/index.js +0 -3
- package/lib-es/components/List/components/Header/index.js.map +0 -1
- package/lib-es/components/List/components/Pagination/Classic.js +0 -52
- package/lib-es/components/List/components/Pagination/Classic.js.map +0 -1
- package/lib-es/components/List/components/Pagination/ListPagination.js +0 -66
- package/lib-es/components/List/components/Pagination/ListPagination.js.map +0 -1
- package/lib-es/components/List/components/Pagination/LoadMore.js +0 -37
- package/lib-es/components/List/components/Pagination/LoadMore.js.map +0 -1
- package/lib-es/components/List/components/Pagination/index.js +0 -3
- package/lib-es/components/List/components/Pagination/index.js.map +0 -1
- package/lib-es/components/List/components/helpers/check-if-should-render-banner.js +0 -42
- package/lib-es/components/List/components/helpers/check-if-should-render-banner.js.map +0 -1
- package/lib-es/components/List/components/helpers/check-if-should-render-gtm.js +0 -14
- package/lib-es/components/List/components/helpers/check-if-should-render-gtm.js.map +0 -1
- package/lib-es/components/List/components/helpers/index.js +0 -4
- package/lib-es/components/List/components/helpers/index.js.map +0 -1
- package/lib-es/components/List/components/index.js +0 -5
- package/lib-es/components/List/components/index.js.map +0 -1
- package/lib-es/components/List/constants.js +0 -10
- package/lib-es/components/List/constants.js.map +0 -1
- package/lib-es/components/List/helpers/build-az-aggregations.js +0 -25
- package/lib-es/components/List/helpers/build-az-aggregations.js.map +0 -1
- package/lib-es/components/List/helpers/build-az-url.js +0 -26
- package/lib-es/components/List/helpers/build-az-url.js.map +0 -1
- package/lib-es/components/List/helpers/build-pagination-items.js +0 -38
- package/lib-es/components/List/helpers/build-pagination-items.js.map +0 -1
- package/lib-es/components/List/helpers/build-pagination-url.js +0 -14
- package/lib-es/components/List/helpers/build-pagination-url.js.map +0 -1
- package/lib-es/components/List/helpers/build-query-booster.js +0 -41
- package/lib-es/components/List/helpers/build-query-booster.js.map +0 -1
- package/lib-es/components/List/helpers/get-az-query-filter.js +0 -7
- package/lib-es/components/List/helpers/get-az-query-filter.js.map +0 -1
- package/lib-es/components/List/helpers/get-items-per-page-to-use.js +0 -7
- package/lib-es/components/List/helpers/get-items-per-page-to-use.js.map +0 -1
- package/lib-es/components/List/helpers/get-list-component.js +0 -9
- package/lib-es/components/List/helpers/get-list-component.js.map +0 -1
- package/lib-es/components/List/helpers/get-list-query.js +0 -27
- package/lib-es/components/List/helpers/get-list-query.js.map +0 -1
- package/lib-es/components/List/helpers/get-list-specific-search-filter.js +0 -12
- package/lib-es/components/List/helpers/get-list-specific-search-filter.js.map +0 -1
- package/lib-es/components/List/helpers/get-sort-props.js +0 -32
- package/lib-es/components/List/helpers/get-sort-props.js.map +0 -1
- package/lib-es/components/List/helpers/has-required-item-list-details.js +0 -16
- package/lib-es/components/List/helpers/has-required-item-list-details.js.map +0 -1
- package/lib-es/components/List/helpers/index.js +0 -13
- package/lib-es/components/List/helpers/index.js.map +0 -1
- package/lib-es/components/List/helpers/sort-aggs.js +0 -22
- package/lib-es/components/List/helpers/sort-aggs.js.map +0 -1
- package/lib-es/components/List/helpers/strip-query-key.js +0 -6
- package/lib-es/components/List/helpers/strip-query-key.js.map +0 -1
- package/lib-es/components/List/index.js +0 -3
- package/lib-es/components/List/index.js.map +0 -1
- package/lib-es/components/Loading/Loading.js +0 -27
- package/lib-es/components/Loading/Loading.js.map +0 -1
- package/lib-es/components/Loading/constants.js +0 -5
- package/lib-es/components/Loading/constants.js.map +0 -1
- package/lib-es/components/Loading/helpers.js +0 -8
- package/lib-es/components/Loading/helpers.js.map +0 -1
- package/lib-es/components/Loading/index.js +0 -3
- package/lib-es/components/Loading/index.js.map +0 -1
- package/lib-es/components/Menu/Menu.js +0 -120
- package/lib-es/components/Menu/Menu.js.map +0 -1
- package/lib-es/components/Menu/MenuContext.js +0 -7
- package/lib-es/components/Menu/MenuContext.js.map +0 -1
- package/lib-es/components/Menu/index.js +0 -3
- package/lib-es/components/Menu/index.js.map +0 -1
- package/lib-es/components/MenuItem/MenuEntitiesItem.js +0 -178
- package/lib-es/components/MenuItem/MenuEntitiesItem.js.map +0 -1
- package/lib-es/components/MenuItem/MenuItem.js +0 -41
- package/lib-es/components/MenuItem/MenuItem.js.map +0 -1
- package/lib-es/components/MenuItem/MenuItemRender.js +0 -101
- package/lib-es/components/MenuItem/MenuItemRender.js.map +0 -1
- package/lib-es/components/MenuItem/helpers/has-active-child.js +0 -5
- package/lib-es/components/MenuItem/helpers/has-active-child.js.map +0 -1
- package/lib-es/components/MenuItem/helpers/index.js +0 -5
- package/lib-es/components/MenuItem/helpers/index.js.map +0 -1
- package/lib-es/components/MenuItem/helpers/inject-helper-into-template.js +0 -8
- package/lib-es/components/MenuItem/helpers/inject-helper-into-template.js.map +0 -1
- package/lib-es/components/MenuItem/helpers/isUrlPathMatch.js +0 -8
- package/lib-es/components/MenuItem/helpers/isUrlPathMatch.js.map +0 -1
- package/lib-es/components/MenuItem/index.js +0 -3
- package/lib-es/components/MenuItem/index.js.map +0 -1
- package/lib-es/components/Modal/Modal.js +0 -32
- package/lib-es/components/Modal/Modal.js.map +0 -1
- package/lib-es/components/Modal/index.js +0 -3
- package/lib-es/components/Modal/index.js.map +0 -1
- package/lib-es/components/ModalAdapter/ModalAdapter.js +0 -13
- package/lib-es/components/ModalAdapter/ModalAdapter.js.map +0 -1
- package/lib-es/components/ModalAdapter/index.js +0 -3
- package/lib-es/components/ModalAdapter/index.js.map +0 -1
- package/lib-es/components/SearchContent/SearchContent.js +0 -135
- package/lib-es/components/SearchContent/SearchContent.js.map +0 -1
- package/lib-es/components/SearchContent/SearchContentItems.js +0 -31
- package/lib-es/components/SearchContent/SearchContentItems.js.map +0 -1
- package/lib-es/components/SearchContent/SearchContentResults.js +0 -27
- package/lib-es/components/SearchContent/SearchContentResults.js.map +0 -1
- package/lib-es/components/SearchContent/SearchContentToggleIcon.js +0 -17
- package/lib-es/components/SearchContent/SearchContentToggleIcon.js.map +0 -1
- package/lib-es/components/SearchContent/constants.js +0 -4
- package/lib-es/components/SearchContent/constants.js.map +0 -1
- package/lib-es/components/SearchContent/index.js +0 -3
- package/lib-es/components/SearchContent/index.js.map +0 -1
- package/lib-es/components/SearchFilter/SearchFilter/CloseMobileForm.js +0 -18
- package/lib-es/components/SearchFilter/SearchFilter/CloseMobileForm.js.map +0 -1
- package/lib-es/components/SearchFilter/SearchFilter/FiltersList.js +0 -108
- package/lib-es/components/SearchFilter/SearchFilter/FiltersList.js.map +0 -1
- package/lib-es/components/SearchFilter/SearchFilter/MobileFormToolbar.js +0 -25
- package/lib-es/components/SearchFilter/SearchFilter/MobileFormToolbar.js.map +0 -1
- package/lib-es/components/SearchFilter/SearchFilter/ResetDesktopForm.js +0 -25
- package/lib-es/components/SearchFilter/SearchFilter/ResetDesktopForm.js.map +0 -1
- package/lib-es/components/SearchFilter/SearchFilter/SearchFilter.js +0 -204
- package/lib-es/components/SearchFilter/SearchFilter/SearchFilter.js.map +0 -1
- package/lib-es/components/SearchFilter/SearchFilter/index.js +0 -3
- package/lib-es/components/SearchFilter/SearchFilter/index.js.map +0 -1
- package/lib-es/components/SearchFilter/SearchFilterContainer.js +0 -227
- package/lib-es/components/SearchFilter/SearchFilterContainer.js.map +0 -1
- package/lib-es/components/SearchFilter/components/Checkbox.js +0 -102
- package/lib-es/components/SearchFilter/components/Checkbox.js.map +0 -1
- package/lib-es/components/SearchFilter/components/Range.js +0 -116
- package/lib-es/components/SearchFilter/components/Range.js.map +0 -1
- package/lib-es/components/SearchFilter/components/Select.js +0 -78
- package/lib-es/components/SearchFilter/components/Select.js.map +0 -1
- package/lib-es/components/SearchFilter/components/TextSearch.js +0 -52
- package/lib-es/components/SearchFilter/components/TextSearch.js.map +0 -1
- package/lib-es/components/SearchFilter/components/index.js +0 -6
- package/lib-es/components/SearchFilter/components/index.js.map +0 -1
- package/lib-es/components/SearchFilter/constants.js +0 -36
- package/lib-es/components/SearchFilter/constants.js.map +0 -1
- package/lib-es/components/SearchFilter/helpers/build-list-name-query.js +0 -15
- package/lib-es/components/SearchFilter/helpers/build-list-name-query.js.map +0 -1
- package/lib-es/components/SearchFilter/helpers/build-new-url.js +0 -8
- package/lib-es/components/SearchFilter/helpers/build-new-url.js.map +0 -1
- package/lib-es/components/SearchFilter/helpers/build-url-query.js +0 -30
- package/lib-es/components/SearchFilter/helpers/build-url-query.js.map +0 -1
- package/lib-es/components/SearchFilter/helpers/calculate-min-max.js +0 -18
- package/lib-es/components/SearchFilter/helpers/calculate-min-max.js.map +0 -1
- package/lib-es/components/SearchFilter/helpers/calculate-step.js +0 -3
- package/lib-es/components/SearchFilter/helpers/calculate-step.js.map +0 -1
- package/lib-es/components/SearchFilter/helpers/check-if-range-updated.js +0 -10
- package/lib-es/components/SearchFilter/helpers/check-if-range-updated.js.map +0 -1
- package/lib-es/components/SearchFilter/helpers/decode-encode.js +0 -4
- package/lib-es/components/SearchFilter/helpers/decode-encode.js.map +0 -1
- package/lib-es/components/SearchFilter/helpers/get-display-value.js +0 -6
- package/lib-es/components/SearchFilter/helpers/get-display-value.js.map +0 -1
- package/lib-es/components/SearchFilter/helpers/get-filter-ranges-and-checkboxes-values.js +0 -18
- package/lib-es/components/SearchFilter/helpers/get-filter-ranges-and-checkboxes-values.js.map +0 -1
- package/lib-es/components/SearchFilter/helpers/get-filter-value-from-query.js +0 -27
- package/lib-es/components/SearchFilter/helpers/get-filter-value-from-query.js.map +0 -1
- package/lib-es/components/SearchFilter/helpers/get-filter-values.js +0 -19
- package/lib-es/components/SearchFilter/helpers/get-filter-values.js.map +0 -1
- package/lib-es/components/SearchFilter/helpers/get-initial-filter-values.js +0 -21
- package/lib-es/components/SearchFilter/helpers/get-initial-filter-values.js.map +0 -1
- package/lib-es/components/SearchFilter/helpers/get-intersected-prop.js +0 -4
- package/lib-es/components/SearchFilter/helpers/get-intersected-prop.js.map +0 -1
- package/lib-es/components/SearchFilter/helpers/get-range-value.js +0 -33
- package/lib-es/components/SearchFilter/helpers/get-range-value.js.map +0 -1
- package/lib-es/components/SearchFilter/helpers/get-responsive-filter-classnames.js +0 -18
- package/lib-es/components/SearchFilter/helpers/get-responsive-filter-classnames.js.map +0 -1
- package/lib-es/components/SearchFilter/helpers/get-select-options.js +0 -14
- package/lib-es/components/SearchFilter/helpers/get-select-options.js.map +0 -1
- package/lib-es/components/SearchFilter/helpers/get-updated-filter-by.js +0 -19
- package/lib-es/components/SearchFilter/helpers/get-updated-filter-by.js.map +0 -1
- package/lib-es/components/SearchFilter/helpers/index.js +0 -19
- package/lib-es/components/SearchFilter/helpers/index.js.map +0 -1
- package/lib-es/components/SearchFilter/helpers/is-device-desktop.js +0 -4
- package/lib-es/components/SearchFilter/helpers/is-device-desktop.js.map +0 -1
- package/lib-es/components/SearchFilter/helpers/parse-filter-value.js +0 -21
- package/lib-es/components/SearchFilter/helpers/parse-filter-value.js.map +0 -1
- package/lib-es/components/SearchFilter/index.js +0 -3
- package/lib-es/components/SearchFilter/index.js.map +0 -1
- package/lib-es/components/SearchFilter/searchFilterReducer.js +0 -26
- package/lib-es/components/SearchFilter/searchFilterReducer.js.map +0 -1
- package/lib-es/components/SearchFilterSort/SearchFilterSort.js +0 -79
- package/lib-es/components/SearchFilterSort/SearchFilterSort.js.map +0 -1
- package/lib-es/components/SearchFilterSort/constants.js +0 -6
- package/lib-es/components/SearchFilterSort/constants.js.map +0 -1
- package/lib-es/components/SearchFilterSort/helpers/handle-sort-update.js +0 -39
- package/lib-es/components/SearchFilterSort/helpers/handle-sort-update.js.map +0 -1
- package/lib-es/components/SearchFilterSort/helpers/index.js +0 -3
- package/lib-es/components/SearchFilterSort/helpers/index.js.map +0 -1
- package/lib-es/components/SearchFilterSort/helpers/update-sort.js +0 -19
- package/lib-es/components/SearchFilterSort/helpers/update-sort.js.map +0 -1
- package/lib-es/components/SearchFilterSort/index.js +0 -3
- package/lib-es/components/SearchFilterSort/index.js.map +0 -1
- package/lib-es/components/SocialFollow/SFItem.js +0 -33
- package/lib-es/components/SocialFollow/SFItem.js.map +0 -1
- package/lib-es/components/SocialFollow/SocialFollow.js +0 -38
- package/lib-es/components/SocialFollow/SocialFollow.js.map +0 -1
- package/lib-es/components/SocialFollow/SocialFollowRender.js +0 -33
- package/lib-es/components/SocialFollow/SocialFollowRender.js.map +0 -1
- package/lib-es/components/SocialFollow/index.js +0 -3
- package/lib-es/components/SocialFollow/index.js.map +0 -1
- package/lib-es/components/SocialFollow/sf.config.js +0 -50
- package/lib-es/components/SocialFollow/sf.config.js.map +0 -1
- package/lib-es/components/SubMenu/SubMenu.js +0 -23
- package/lib-es/components/SubMenu/SubMenu.js.map +0 -1
- package/lib-es/components/SubMenu/index.js +0 -3
- package/lib-es/components/SubMenu/index.js.map +0 -1
- package/lib-es/components/TextBlock/TextBlockRender.js +0 -20
- package/lib-es/components/TextBlock/TextBlockRender.js.map +0 -1
- package/lib-es/components/TextBlock/index.js +0 -53
- package/lib-es/components/TextBlock/index.js.map +0 -1
- package/lib-es/components/Video/Video.js +0 -98
- package/lib-es/components/Video/Video.js.map +0 -1
- package/lib-es/components/Video/VideoContext.js +0 -6
- package/lib-es/components/Video/VideoContext.js.map +0 -1
- package/lib-es/components/Video/VideoModal.js +0 -30
- package/lib-es/components/Video/VideoModal.js.map +0 -1
- package/lib-es/components/Video/VideoRender.js +0 -44
- package/lib-es/components/Video/VideoRender.js.map +0 -1
- package/lib-es/components/Video/constants.js +0 -7
- package/lib-es/components/Video/constants.js.map +0 -1
- package/lib-es/components/Video/helpers/emit-gtm-event.js +0 -25
- package/lib-es/components/Video/helpers/emit-gtm-event.js.map +0 -1
- package/lib-es/components/Video/index.js +0 -3
- package/lib-es/components/Video/index.js.map +0 -1
- package/lib-es/components/Video/providers/Default.js +0 -36
- package/lib-es/components/Video/providers/Default.js.map +0 -1
- package/lib-es/components/Video/providers/JWPlayer/JWPlayerController.js +0 -65
- package/lib-es/components/Video/providers/JWPlayer/JWPlayerController.js.map +0 -1
- package/lib-es/components/Video/providers/JWPlayer/JWPlayerProvider.js +0 -87
- package/lib-es/components/Video/providers/JWPlayer/JWPlayerProvider.js.map +0 -1
- package/lib-es/components/Video/providers/Vimeo/VimeoProvider.js +0 -68
- package/lib-es/components/Video/providers/Vimeo/VimeoProvider.js.map +0 -1
- package/lib-es/components/Video/providers/Vimeo/helpers/add-extra-params-to-url.js +0 -14
- package/lib-es/components/Video/providers/Vimeo/helpers/add-extra-params-to-url.js.map +0 -1
- package/lib-es/components/Video/providers/Vimeo/helpers/index.js +0 -3
- package/lib-es/components/Video/providers/Vimeo/helpers/index.js.map +0 -1
- package/lib-es/components/Video/providers/YouTube/YouTubeProvider.js +0 -40
- package/lib-es/components/Video/providers/YouTube/YouTubeProvider.js.map +0 -1
- package/lib-es/components/Video/providers/YouTube/YoutubeEmbeded.js +0 -213
- package/lib-es/components/Video/providers/YouTube/YoutubeEmbeded.js.map +0 -1
- package/lib-es/components/Video/providers/YouTube/helpers/index.js +0 -26
- package/lib-es/components/Video/providers/YouTube/helpers/index.js.map +0 -1
- package/lib-es/components/Video/providers/get-provider.js +0 -13
- package/lib-es/components/Video/providers/get-provider.js.map +0 -1
- package/lib-es/components/Video/providers/index.js +0 -3
- package/lib-es/components/Video/providers/index.js.map +0 -1
- package/lib-es/components/Wrapper.js +0 -36
- package/lib-es/components/Wrapper.js.map +0 -1
- package/lib-es/components/index.js +0 -36
- package/lib-es/components/index.js.map +0 -1
- package/lib-es/constants/componentsDefaultValues.js +0 -20
- package/lib-es/constants/componentsDefaultValues.js.map +0 -1
- package/lib-es/constants/index.js +0 -142
- package/lib-es/constants/index.js.map +0 -1
- package/lib-es/helpers/append-images.js +0 -28
- package/lib-es/helpers/append-images.js.map +0 -1
- package/lib-es/helpers/build-az-filter.js +0 -16
- package/lib-es/helpers/build-az-filter.js.map +0 -1
- package/lib-es/helpers/build-checkbox-filters.js +0 -28
- package/lib-es/helpers/build-checkbox-filters.js.map +0 -1
- package/lib-es/helpers/build-filters-query.js +0 -86
- package/lib-es/helpers/build-filters-query.js.map +0 -1
- package/lib-es/helpers/build-image-properties.js +0 -29
- package/lib-es/helpers/build-image-properties.js.map +0 -1
- package/lib-es/helpers/build-inherited-filters.js +0 -67
- package/lib-es/helpers/build-inherited-filters.js.map +0 -1
- package/lib-es/helpers/build-link-extra-props.js +0 -17
- package/lib-es/helpers/build-link-extra-props.js.map +0 -1
- package/lib-es/helpers/build-props-query.js +0 -98
- package/lib-es/helpers/build-props-query.js.map +0 -1
- package/lib-es/helpers/build-query-fields.js +0 -13
- package/lib-es/helpers/build-query-fields.js.map +0 -1
- package/lib-es/helpers/build-query-key.js +0 -7
- package/lib-es/helpers/build-query-key.js.map +0 -1
- package/lib-es/helpers/build-raw-query-base.js +0 -113
- package/lib-es/helpers/build-raw-query-base.js.map +0 -1
- package/lib-es/helpers/build-raw-query-stringified.js +0 -44
- package/lib-es/helpers/build-raw-query-stringified.js.map +0 -1
- package/lib-es/helpers/build-raw-query.js +0 -132
- package/lib-es/helpers/build-raw-query.js.map +0 -1
- package/lib-es/helpers/build-search-values-checkbox-select.js +0 -64
- package/lib-es/helpers/build-search-values-checkbox-select.js.map +0 -1
- package/lib-es/helpers/build-search-values-text.js +0 -34
- package/lib-es/helpers/build-search-values-text.js.map +0 -1
- package/lib-es/helpers/build-set-filters.js +0 -32
- package/lib-es/helpers/build-set-filters.js.map +0 -1
- package/lib-es/helpers/build-sort-values.js +0 -34
- package/lib-es/helpers/build-sort-values.js.map +0 -1
- package/lib-es/helpers/check-for-error.js +0 -11
- package/lib-es/helpers/check-for-error.js.map +0 -1
- package/lib-es/helpers/check-props-to-use.js +0 -9
- package/lib-es/helpers/check-props-to-use.js.map +0 -1
- package/lib-es/helpers/entities/constants.js +0 -11
- package/lib-es/helpers/entities/constants.js.map +0 -1
- package/lib-es/helpers/filter-query-setup.js +0 -61
- package/lib-es/helpers/filter-query-setup.js.map +0 -1
- package/lib-es/helpers/filters-setup.js +0 -41
- package/lib-es/helpers/filters-setup.js.map +0 -1
- package/lib-es/helpers/get-banner-data.js +0 -17
- package/lib-es/helpers/get-banner-data.js.map +0 -1
- package/lib-es/helpers/get-checkbox-filters.js +0 -7
- package/lib-es/helpers/get-checkbox-filters.js.map +0 -1
- package/lib-es/helpers/get-click-wrapper-options.js +0 -43
- package/lib-es/helpers/get-click-wrapper-options.js.map +0 -1
- package/lib-es/helpers/get-current-offset.js +0 -7
- package/lib-es/helpers/get-current-offset.js.map +0 -1
- package/lib-es/helpers/get-dictionary-match.js +0 -11
- package/lib-es/helpers/get-dictionary-match.js.map +0 -1
- package/lib-es/helpers/get-display-count-data.js +0 -13
- package/lib-es/helpers/get-display-count-data.js.map +0 -1
- package/lib-es/helpers/get-elasticsearch-operator.js +0 -6
- package/lib-es/helpers/get-elasticsearch-operator.js.map +0 -1
- package/lib-es/helpers/get-entities-with-banner.js +0 -33
- package/lib-es/helpers/get-entities-with-banner.js.map +0 -1
- package/lib-es/helpers/get-entity-data.js +0 -29
- package/lib-es/helpers/get-entity-data.js.map +0 -1
- package/lib-es/helpers/get-entity-render-props.js +0 -21
- package/lib-es/helpers/get-entity-render-props.js.map +0 -1
- package/lib-es/helpers/get-extra-az-bits.js +0 -54
- package/lib-es/helpers/get-extra-az-bits.js.map +0 -1
- package/lib-es/helpers/get-filter-props.js +0 -60
- package/lib-es/helpers/get-filter-props.js.map +0 -1
- package/lib-es/helpers/get-filter-relation-keys.js +0 -8
- package/lib-es/helpers/get-filter-relation-keys.js.map +0 -1
- package/lib-es/helpers/get-generic-props.js +0 -16
- package/lib-es/helpers/get-generic-props.js.map +0 -1
- package/lib-es/helpers/get-generic-render-variables.js +0 -64
- package/lib-es/helpers/get-generic-render-variables.js.map +0 -1
- package/lib-es/helpers/get-image-ids.js +0 -24
- package/lib-es/helpers/get-image-ids.js.map +0 -1
- package/lib-es/helpers/get-inherited-filters.js +0 -12
- package/lib-es/helpers/get-inherited-filters.js.map +0 -1
- package/lib-es/helpers/get-items-to-display-ids.js +0 -12
- package/lib-es/helpers/get-items-to-display-ids.js.map +0 -1
- package/lib-es/helpers/get-modifiers.js +0 -16
- package/lib-es/helpers/get-modifiers.js.map +0 -1
- package/lib-es/helpers/get-not-equal-query.js +0 -9
- package/lib-es/helpers/get-not-equal-query.js.map +0 -1
- package/lib-es/helpers/get-pagination-index.js +0 -8
- package/lib-es/helpers/get-pagination-index.js.map +0 -1
- package/lib-es/helpers/get-parsed-prop-values.js +0 -32
- package/lib-es/helpers/get-parsed-prop-values.js.map +0 -1
- package/lib-es/helpers/get-parsed-summary-value.js +0 -13
- package/lib-es/helpers/get-parsed-summary-value.js.map +0 -1
- package/lib-es/helpers/get-prop-values.js +0 -14
- package/lib-es/helpers/get-prop-values.js.map +0 -1
- package/lib-es/helpers/get-query-filters.js +0 -22
- package/lib-es/helpers/get-query-filters.js.map +0 -1
- package/lib-es/helpers/get-query-props.js +0 -37
- package/lib-es/helpers/get-query-props.js.map +0 -1
- package/lib-es/helpers/get-required-schemas.js +0 -20
- package/lib-es/helpers/get-required-schemas.js.map +0 -1
- package/lib-es/helpers/get-sanitized-prop-values.js +0 -3
- package/lib-es/helpers/get-sanitized-prop-values.js.map +0 -1
- package/lib-es/helpers/get-search-filter-type.js +0 -12
- package/lib-es/helpers/get-search-filter-type.js.map +0 -1
- package/lib-es/helpers/get-sort-by-field-name.js +0 -20
- package/lib-es/helpers/get-sort-by-field-name.js.map +0 -1
- package/lib-es/helpers/get-unpublished-entity-name.js +0 -5
- package/lib-es/helpers/get-unpublished-entity-name.js.map +0 -1
- package/lib-es/helpers/get-updated-filter-by.js +0 -11
- package/lib-es/helpers/get-updated-filter-by.js.map +0 -1
- package/lib-es/helpers/get-updated-items-to-display.js +0 -32
- package/lib-es/helpers/get-updated-items-to-display.js.map +0 -1
- package/lib-es/helpers/get-updated-sort-properties.js +0 -15
- package/lib-es/helpers/get-updated-sort-properties.js.map +0 -1
- package/lib-es/helpers/get-wrapped-value-with-link.js +0 -25
- package/lib-es/helpers/get-wrapped-value-with-link.js.map +0 -1
- package/lib-es/helpers/group-entities.js +0 -10
- package/lib-es/helpers/group-entities.js.map +0 -1
- package/lib-es/helpers/has-children.js +0 -10
- package/lib-es/helpers/has-children.js.map +0 -1
- package/lib-es/helpers/index.js +0 -64
- package/lib-es/helpers/index.js.map +0 -1
- package/lib-es/helpers/inject-banner.js +0 -15
- package/lib-es/helpers/inject-banner.js.map +0 -1
- package/lib-es/helpers/inject-banners-to-entities.js +0 -19
- package/lib-es/helpers/inject-banners-to-entities.js.map +0 -1
- package/lib-es/helpers/inject-multiple-banners/get-banners-for-entities/get-banners-for-entities.js +0 -15
- package/lib-es/helpers/inject-multiple-banners/get-banners-for-entities/get-banners-for-entities.js.map +0 -1
- package/lib-es/helpers/inject-multiple-banners/get-banners-for-entities/index.js +0 -3
- package/lib-es/helpers/inject-multiple-banners/get-banners-for-entities/index.js.map +0 -1
- package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/get-banners-for-nodes.js +0 -19
- package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/get-banners-for-nodes.js.map +0 -1
- package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/group-node-entities.js +0 -26
- package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/group-node-entities.js.map +0 -1
- package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/index.js +0 -3
- package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/index.js.map +0 -1
- package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/index.js +0 -3
- package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/index.js.map +0 -1
- package/lib-es/helpers/inject-multiple-banners/index.js +0 -3
- package/lib-es/helpers/inject-multiple-banners/index.js.map +0 -1
- package/lib-es/helpers/inject-multiple-banners/inject-multiple-banners.js +0 -11
- package/lib-es/helpers/inject-multiple-banners/inject-multiple-banners.js.map +0 -1
- package/lib-es/helpers/is-browser.js +0 -3
- package/lib-es/helpers/is-browser.js.map +0 -1
- package/lib-es/helpers/is-filter-entitys-id.js +0 -8
- package/lib-es/helpers/is-filter-entitys-id.js.map +0 -1
- package/lib-es/helpers/is-object.js +0 -3
- package/lib-es/helpers/is-object.js.map +0 -1
- package/lib-es/helpers/is-using-relation-image.js +0 -3
- package/lib-es/helpers/is-using-relation-image.js.map +0 -1
- package/lib-es/helpers/parse-TextBlock.js +0 -30
- package/lib-es/helpers/parse-TextBlock.js.map +0 -1
- package/lib-es/helpers/parse-interval.js +0 -4
- package/lib-es/helpers/parse-interval.js.map +0 -1
- package/lib-es/helpers/parse-props-to-display.js +0 -36
- package/lib-es/helpers/parse-props-to-display.js.map +0 -1
- package/lib-es/helpers/process-data-summary-value.js +0 -36
- package/lib-es/helpers/process-data-summary-value.js.map +0 -1
- package/lib-es/helpers/remove-extra-items.js +0 -13
- package/lib-es/helpers/remove-extra-items.js.map +0 -1
- package/lib-es/helpers/remove-unwanted-characters.js +0 -21
- package/lib-es/helpers/remove-unwanted-characters.js.map +0 -1
- package/lib-es/helpers/render-children.js +0 -21
- package/lib-es/helpers/render-children.js.map +0 -1
- package/lib-es/helpers/should-render-waypoint.js +0 -3
- package/lib-es/helpers/should-render-waypoint.js.map +0 -1
- package/lib-es/helpers/should-return.js +0 -3
- package/lib-es/helpers/should-return.js.map +0 -1
- package/lib-es/helpers/should-show-property.js +0 -6
- package/lib-es/helpers/should-show-property.js.map +0 -1
- package/lib-es/helpers/should-skip-single-query.js +0 -4
- package/lib-es/helpers/should-skip-single-query.js.map +0 -1
- package/lib-es/helpers/sort-response-data.js +0 -10
- package/lib-es/helpers/sort-response-data.js.map +0 -1
- package/lib-es/helpers/split-children.js +0 -69
- package/lib-es/helpers/split-children.js.map +0 -1
- package/lib-es/helpers/update-childrens-parent.js +0 -17
- package/lib-es/helpers/update-childrens-parent.js.map +0 -1
- package/lib-es/hooks/helpers/RenderComponent.js +0 -68
- package/lib-es/hooks/helpers/RenderComponent.js.map +0 -1
- package/lib-es/hooks/helpers/StoreImages.js +0 -42
- package/lib-es/hooks/helpers/StoreImages.js.map +0 -1
- package/lib-es/hooks/helpers/append-gtm-classname.js +0 -38
- package/lib-es/hooks/helpers/append-gtm-classname.js.map +0 -1
- package/lib-es/hooks/helpers/buildPBComponents.js +0 -88
- package/lib-es/hooks/helpers/buildPBComponents.js.map +0 -1
- package/lib-es/hooks/helpers/check-banner-insertion-set.js +0 -17
- package/lib-es/hooks/helpers/check-banner-insertion-set.js.map +0 -1
- package/lib-es/hooks/helpers/check-collisions.js +0 -30
- package/lib-es/hooks/helpers/check-collisions.js.map +0 -1
- package/lib-es/hooks/helpers/constants.js +0 -6
- package/lib-es/hooks/helpers/constants.js.map +0 -1
- package/lib-es/hooks/helpers/get-banner-index.js +0 -3
- package/lib-es/hooks/helpers/get-banner-index.js.map +0 -1
- package/lib-es/hooks/helpers/get-components-to-insert-by-type.js +0 -27
- package/lib-es/hooks/helpers/get-components-to-insert-by-type.js.map +0 -1
- package/lib-es/hooks/helpers/get-lightbox-images.js +0 -40
- package/lib-es/hooks/helpers/get-lightbox-images.js.map +0 -1
- package/lib-es/hooks/helpers/getComponent.js +0 -5
- package/lib-es/hooks/helpers/getComponent.js.map +0 -1
- package/lib-es/hooks/helpers/getVariant.js +0 -14
- package/lib-es/hooks/helpers/getVariant.js.map +0 -1
- package/lib-es/hooks/helpers/index.js +0 -3
- package/lib-es/hooks/helpers/index.js.map +0 -1
- package/lib-es/hooks/helpers/inject-element-components.js +0 -59
- package/lib-es/hooks/helpers/inject-element-components.js.map +0 -1
- package/lib-es/hooks/helpers/inject-textblock-banners.js +0 -95
- package/lib-es/hooks/helpers/inject-textblock-banners.js.map +0 -1
- package/lib-es/hooks/helpers/insert-banners.js +0 -83
- package/lib-es/hooks/helpers/insert-banners.js.map +0 -1
- package/lib-es/hooks/helpers/update-targetings.js +0 -15
- package/lib-es/hooks/helpers/update-targetings.js.map +0 -1
- package/lib-es/hooks/index.js +0 -12
- package/lib-es/hooks/index.js.map +0 -1
- package/lib-es/hooks/use-app-sync-event-hook.js +0 -25
- package/lib-es/hooks/use-app-sync-event-hook.js.map +0 -1
- package/lib-es/hooks/use-banner-insertion.js +0 -22
- package/lib-es/hooks/use-banner-insertion.js.map +0 -1
- package/lib-es/hooks/use-check-mobile-screen.js +0 -29
- package/lib-es/hooks/use-check-mobile-screen.js.map +0 -1
- package/lib-es/hooks/use-filter-aggregation-values.js +0 -31
- package/lib-es/hooks/use-filter-aggregation-values.js.map +0 -1
- package/lib-es/hooks/use-get-entity-schema.js +0 -39
- package/lib-es/hooks/use-get-entity-schema.js.map +0 -1
- package/lib-es/hooks/use-get-entity-schemas-as-obj.js +0 -13
- package/lib-es/hooks/use-get-entity-schemas-as-obj.js.map +0 -1
- package/lib-es/hooks/use-get-image-id-from-relation.js +0 -30
- package/lib-es/hooks/use-get-image-id-from-relation.js.map +0 -1
- package/lib-es/hooks/use-get-images.js +0 -37
- package/lib-es/hooks/use-get-images.js.map +0 -1
- package/lib-es/hooks/use-get-single-entity-schema.js +0 -21
- package/lib-es/hooks/use-get-single-entity-schema.js.map +0 -1
- package/lib-es/hooks/use-page-builder.js +0 -17
- package/lib-es/hooks/use-page-builder.js.map +0 -1
- package/lib-es/hooks/use-portal.js +0 -14
- package/lib-es/hooks/use-portal.js.map +0 -1
- package/lib-es/index.js +0 -16
- package/lib-es/index.js.map +0 -1
- package/lib-es/utils/component-map.js +0 -30
- package/lib-es/utils/component-map.js.map +0 -1
- package/lib-es/utils/get-class-modifiers.js +0 -81
- package/lib-es/utils/get-class-modifiers.js.map +0 -1
- package/lib-es/utils/get-image-data.js +0 -16
- package/lib-es/utils/get-image-data.js.map +0 -1
- package/lib-es/utils/get-props-to-display-modifiers.js +0 -5
- package/lib-es/utils/get-props-to-display-modifiers.js.map +0 -1
- package/lib-es/utils/index.js +0 -8
- package/lib-es/utils/index.js.map +0 -1
- package/lib-es/utils/is-object-empty.js +0 -4
- package/lib-es/utils/is-object-empty.js.map +0 -1
- package/lib-es/utils/variant-handler.js +0 -27
- package/lib-es/utils/variant-handler.js.map +0 -1
- package/lib-es/variants/FloatingSideButton/index.js +0 -10
- package/lib-es/variants/FloatingSideButton/index.js.map +0 -1
- package/lib-es/variants/HeroImage/index.js +0 -10
- package/lib-es/variants/HeroImage/index.js.map +0 -1
- package/lib-es/variants/Infographic/Infographic.js +0 -20
- package/lib-es/variants/Infographic/Infographic.js.map +0 -1
- package/lib-es/variants/Infographic/index.js +0 -10
- package/lib-es/variants/Infographic/index.js.map +0 -1
- package/lib-es/variants/Infographic/useInfographic.js +0 -23
- package/lib-es/variants/Infographic/useInfographic.js.map +0 -1
- package/lib-es/variants/LiveBlogList/LiveBlogList.js +0 -90
- package/lib-es/variants/LiveBlogList/LiveBlogList.js.map +0 -1
- package/lib-es/variants/LiveBlogList/index.js +0 -12
- package/lib-es/variants/LiveBlogList/index.js.map +0 -1
- package/lib-es/variants/LongformGallery/LongformGallery.js +0 -40
- package/lib-es/variants/LongformGallery/LongformGallery.js.map +0 -1
- package/lib-es/variants/LongformGallery/LongformGalleryImage.js +0 -59
- package/lib-es/variants/LongformGallery/LongformGalleryImage.js.map +0 -1
- package/lib-es/variants/LongformGallery/constants.js +0 -18
- package/lib-es/variants/LongformGallery/constants.js.map +0 -1
- package/lib-es/variants/LongformGallery/helpers/index.js +0 -5
- package/lib-es/variants/LongformGallery/helpers/index.js.map +0 -1
- package/lib-es/variants/LongformGallery/helpers/parseImageData.js +0 -26
- package/lib-es/variants/LongformGallery/helpers/parseImageData.js.map +0 -1
- package/lib-es/variants/LongformGallery/helpers/separateImages.js +0 -25
- package/lib-es/variants/LongformGallery/helpers/separateImages.js.map +0 -1
- package/lib-es/variants/LongformGallery/helpers/shouldSkip.js +0 -3
- package/lib-es/variants/LongformGallery/helpers/shouldSkip.js.map +0 -1
- package/lib-es/variants/LongformGallery/index.js +0 -12
- package/lib-es/variants/LongformGallery/index.js.map +0 -1
- package/lib-es/variants/LongformGallery/useLongformGallery.js +0 -47
- package/lib-es/variants/LongformGallery/useLongformGallery.js.map +0 -1
- package/lib-es/variants/LongformRow/index.js +0 -10
- package/lib-es/variants/LongformRow/index.js.map +0 -1
- package/lib-es/variants/ParallaxImageTextRight/index.js +0 -11
- package/lib-es/variants/ParallaxImageTextRight/index.js.map +0 -1
- package/lib-es/variants/SlideSummary/SlideSummary.js +0 -23
- package/lib-es/variants/SlideSummary/SlideSummary.js.map +0 -1
- package/lib-es/variants/SlideSummary/index.js +0 -10
- package/lib-es/variants/SlideSummary/index.js.map +0 -1
- package/lib-es/variants/ThumbnailCarousel/ThumbnailCarousel.js +0 -49
- package/lib-es/variants/ThumbnailCarousel/ThumbnailCarousel.js.map +0 -1
- package/lib-es/variants/ThumbnailCarousel/ThumbnailImage/ThumbnailImage.js +0 -30
- package/lib-es/variants/ThumbnailCarousel/ThumbnailImage/ThumbnailImage.js.map +0 -1
- package/lib-es/variants/ThumbnailCarousel/ThumbnailImage/index.js +0 -3
- package/lib-es/variants/ThumbnailCarousel/ThumbnailImage/index.js.map +0 -1
- package/lib-es/variants/ThumbnailCarousel/ThumbnailImage/useThumbnailImage.js +0 -62
- package/lib-es/variants/ThumbnailCarousel/ThumbnailImage/useThumbnailImage.js.map +0 -1
- package/lib-es/variants/ThumbnailCarousel/index.js +0 -10
- package/lib-es/variants/ThumbnailCarousel/index.js.map +0 -1
- package/lib-es/variants/ThumbnailCarousel/useThumbnailCarousel.js +0 -47
- package/lib-es/variants/ThumbnailCarousel/useThumbnailCarousel.js.map +0 -1
- package/lib-es/variants/index.js +0 -21
- package/lib-es/variants/index.js.map +0 -1
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
2
|
-
const _excluded = ["modifier"];
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import PropTypes from 'prop-types';
|
|
5
|
-
import { getModifiers } from '../../../../helpers';
|
|
6
|
-
import LargeSummaryContent from './LargeSummaryContent';
|
|
7
|
-
const LargeSummary = _ref => {
|
|
8
|
-
let {
|
|
9
|
-
modifier
|
|
10
|
-
} = _ref,
|
|
11
|
-
otherProps = _objectWithoutProperties(_ref, _excluded);
|
|
12
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
13
|
-
className: getModifiers('stats', modifier)
|
|
14
|
-
}, /*#__PURE__*/React.createElement(LargeSummaryContent, otherProps));
|
|
15
|
-
};
|
|
16
|
-
LargeSummary.propTypes = {
|
|
17
|
-
modifier: PropTypes.string
|
|
18
|
-
};
|
|
19
|
-
LargeSummary.defaultProps = {
|
|
20
|
-
modifier: ''
|
|
21
|
-
};
|
|
22
|
-
export default LargeSummary;
|
|
23
|
-
//# sourceMappingURL=LargeSummary.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LargeSummary.js","names":["React","PropTypes","getModifiers","LargeSummaryContent","LargeSummary","_ref","modifier","otherProps","_objectWithoutProperties","_excluded","createElement","className","propTypes","string","defaultProps"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummary.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { getModifiers } from '../../../../helpers';\nimport LargeSummaryContent from './LargeSummaryContent';\n\nconst LargeSummary = ({ modifier, ...otherProps }) => (\n <div className={getModifiers('stats', modifier)}>\n <LargeSummaryContent {...otherProps} />\n </div>\n);\n\nLargeSummary.propTypes = {\n modifier: PropTypes.string\n};\n\nLargeSummary.defaultProps = {\n modifier: ''\n};\n\nexport default LargeSummary;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAClC,SAASC,YAAY,QAAQ,qBAAqB;AAClD,OAAOC,mBAAmB,MAAM,uBAAuB;AAEvD,MAAMC,YAAY,GAAGC,IAAA;EAAA,IAAC;MAAEC;IAAwB,CAAC,GAAAD,IAAA;IAAZE,UAAU,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAAA,oBAC7CT,KAAA,CAAAU,aAAA;IAAKC,SAAS,EAAET,YAAY,CAAC,OAAO,EAAEI,QAAQ;EAAE,gBAC9CN,KAAA,CAAAU,aAAA,CAACP,mBAAmB,EAAKI,UAAa,CACnC,CAAC;AAAA,CACP;AAEDH,YAAY,CAACQ,SAAS,GAAG;EACvBN,QAAQ,EAAEL,SAAS,CAACY;AACtB,CAAC;AAEDT,YAAY,CAACU,YAAY,GAAG;EAC1BR,QAAQ,EAAE;AACZ,CAAC;AAED,eAAeF,YAAY","ignoreList":[]}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import React, { useContext } from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
import upperFirst from 'lodash.upperfirst';
|
|
4
|
-
import { MainContext } from '@blaze-cms/nextjs-components';
|
|
5
|
-
import { getWrappedValueWithLink } from '../../../../helpers';
|
|
6
|
-
import { parseBooleanValues } from '../../helpers';
|
|
7
|
-
import { withTitle } from '../../../../HOC';
|
|
8
|
-
const LargeSummaryContent = ({
|
|
9
|
-
summaryPropsWithContent
|
|
10
|
-
}) => {
|
|
11
|
-
const {
|
|
12
|
-
itemId
|
|
13
|
-
} = useContext(MainContext);
|
|
14
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
15
|
-
className: "stats__wrapper"
|
|
16
|
-
}, summaryPropsWithContent.map(([key, value, link, modifier], index) => {
|
|
17
|
-
const dynamicKey = [itemId, index].join('-');
|
|
18
|
-
const wrappedValue = parseBooleanValues(getWrappedValueWithLink(value, link, itemId), upperFirst(key));
|
|
19
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
20
|
-
key: dynamicKey,
|
|
21
|
-
className: "stats__block"
|
|
22
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
23
|
-
className: "stats__text"
|
|
24
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
25
|
-
className: `stats__title ${modifier}`
|
|
26
|
-
}, upperFirst(key)), wrappedValue && /*#__PURE__*/React.createElement("div", {
|
|
27
|
-
className: `stats__value ${modifier}`
|
|
28
|
-
}, wrappedValue)));
|
|
29
|
-
}));
|
|
30
|
-
};
|
|
31
|
-
LargeSummaryContent.propTypes = {
|
|
32
|
-
summaryPropsWithContent: PropTypes.array.isRequired
|
|
33
|
-
};
|
|
34
|
-
export default withTitle(LargeSummaryContent);
|
|
35
|
-
//# sourceMappingURL=LargeSummaryContent.js.map
|
package/lib-es/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummaryContent.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LargeSummaryContent.js","names":["React","useContext","PropTypes","upperFirst","MainContext","getWrappedValueWithLink","parseBooleanValues","withTitle","LargeSummaryContent","summaryPropsWithContent","itemId","createElement","className","map","key","value","link","modifier","index","dynamicKey","join","wrappedValue","propTypes","array","isRequired"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummaryContent.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport PropTypes from 'prop-types';\nimport upperFirst from 'lodash.upperfirst';\nimport { MainContext } from '@blaze-cms/nextjs-components';\nimport { getWrappedValueWithLink } from '../../../../helpers';\nimport { parseBooleanValues } from '../../helpers';\nimport { withTitle } from '../../../../HOC';\n\nconst LargeSummaryContent = ({ summaryPropsWithContent }) => {\n const { itemId } = useContext(MainContext);\n\n return (\n <div className=\"stats__wrapper\">\n {summaryPropsWithContent.map(([key, value, link, modifier], index) => {\n const dynamicKey = [itemId, index].join('-');\n const wrappedValue = parseBooleanValues(\n getWrappedValueWithLink(value, link, itemId),\n upperFirst(key)\n );\n\n return (\n <div key={dynamicKey} className=\"stats__block\">\n <div className=\"stats__text\">\n <div className={`stats__title ${modifier}`}>{upperFirst(key)}</div>\n {wrappedValue && <div className={`stats__value ${modifier}`}>{wrappedValue}</div>}\n </div>\n </div>\n );\n })}\n </div>\n );\n};\n\nLargeSummaryContent.propTypes = {\n summaryPropsWithContent: PropTypes.array.isRequired\n};\n\nexport default withTitle(LargeSummaryContent);\n"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,UAAU,QAAQ,OAAO;AACzC,OAAOC,SAAS,MAAM,YAAY;AAClC,OAAOC,UAAU,MAAM,mBAAmB;AAC1C,SAASC,WAAW,QAAQ,8BAA8B;AAC1D,SAASC,uBAAuB,QAAQ,qBAAqB;AAC7D,SAASC,kBAAkB,QAAQ,eAAe;AAClD,SAASC,SAAS,QAAQ,iBAAiB;AAE3C,MAAMC,mBAAmB,GAAGA,CAAC;EAAEC;AAAwB,CAAC,KAAK;EAC3D,MAAM;IAAEC;EAAO,CAAC,GAAGT,UAAU,CAACG,WAAW,CAAC;EAE1C,oBACEJ,KAAA,CAAAW,aAAA;IAAKC,SAAS,EAAC;EAAgB,GAC5BH,uBAAuB,CAACI,GAAG,CAAC,CAAC,CAACC,GAAG,EAAEC,KAAK,EAAEC,IAAI,EAAEC,QAAQ,CAAC,EAAEC,KAAK,KAAK;IACpE,MAAMC,UAAU,GAAG,CAACT,MAAM,EAAEQ,KAAK,CAAC,CAACE,IAAI,CAAC,GAAG,CAAC;IAC5C,MAAMC,YAAY,GAAGf,kBAAkB,CACrCD,uBAAuB,CAACU,KAAK,EAAEC,IAAI,EAAEN,MAAM,CAAC,EAC5CP,UAAU,CAACW,GAAG,CAChB,CAAC;IAED,oBACEd,KAAA,CAAAW,aAAA;MAAKG,GAAG,EAAEK,UAAW;MAACP,SAAS,EAAC;IAAc,gBAC5CZ,KAAA,CAAAW,aAAA;MAAKC,SAAS,EAAC;IAAa,gBAC1BZ,KAAA,CAAAW,aAAA;MAAKC,SAAS,EAAE,gBAAgBK,QAAQ;IAAG,GAAEd,UAAU,CAACW,GAAG,CAAO,CAAC,EAClEO,YAAY,iBAAIrB,KAAA,CAAAW,aAAA;MAAKC,SAAS,EAAE,gBAAgBK,QAAQ;IAAG,GAAEI,YAAkB,CAC7E,CACF,CAAC;EAEV,CAAC,CACE,CAAC;AAEV,CAAC;AAEDb,mBAAmB,CAACc,SAAS,GAAG;EAC9Bb,uBAAuB,EAAEP,SAAS,CAACqB,KAAK,CAACC;AAC3C,CAAC;AAED,eAAejB,SAAS,CAACC,mBAAmB,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["LargeSummary"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/LargeSummary/index.js"],"sourcesContent":["import LargeSummary from './LargeSummary';\n\nexport default LargeSummary;\n"],"mappings":"AAAA,OAAOA,YAAY,MAAM,gBAAgB;AAEzC,eAAeA,YAAY","ignoreList":[]}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
2
|
-
const _excluded = ["modifier"];
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import PropTypes from 'prop-types';
|
|
5
|
-
import { getModifiers } from '../../../../helpers';
|
|
6
|
-
import ListSummaryContent from './ListSummaryContent';
|
|
7
|
-
const ListSummary = _ref => {
|
|
8
|
-
let {
|
|
9
|
-
modifier
|
|
10
|
-
} = _ref,
|
|
11
|
-
otherProps = _objectWithoutProperties(_ref, _excluded);
|
|
12
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
13
|
-
className: getModifiers('spec-block', modifier)
|
|
14
|
-
}, /*#__PURE__*/React.createElement(ListSummaryContent, otherProps));
|
|
15
|
-
};
|
|
16
|
-
ListSummary.propTypes = {
|
|
17
|
-
modifier: PropTypes.string
|
|
18
|
-
};
|
|
19
|
-
ListSummary.defaultProps = {
|
|
20
|
-
modifier: ''
|
|
21
|
-
};
|
|
22
|
-
export default ListSummary;
|
|
23
|
-
//# sourceMappingURL=ListSummary.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListSummary.js","names":["React","PropTypes","getModifiers","ListSummaryContent","ListSummary","_ref","modifier","otherProps","_objectWithoutProperties","_excluded","createElement","className","propTypes","string","defaultProps"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/ListSummary/ListSummary.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { getModifiers } from '../../../../helpers';\nimport ListSummaryContent from './ListSummaryContent';\n\nconst ListSummary = ({ modifier, ...otherProps }) => (\n <div className={getModifiers('spec-block', modifier)}>\n <ListSummaryContent {...otherProps} />\n </div>\n);\n\nListSummary.propTypes = {\n modifier: PropTypes.string\n};\n\nListSummary.defaultProps = {\n modifier: ''\n};\n\nexport default ListSummary;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAClC,SAASC,YAAY,QAAQ,qBAAqB;AAClD,OAAOC,kBAAkB,MAAM,sBAAsB;AAErD,MAAMC,WAAW,GAAGC,IAAA;EAAA,IAAC;MAAEC;IAAwB,CAAC,GAAAD,IAAA;IAAZE,UAAU,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAAA,oBAC5CT,KAAA,CAAAU,aAAA;IAAKC,SAAS,EAAET,YAAY,CAAC,YAAY,EAAEI,QAAQ;EAAE,gBACnDN,KAAA,CAAAU,aAAA,CAACP,kBAAkB,EAAKI,UAAa,CAClC,CAAC;AAAA,CACP;AAEDH,WAAW,CAACQ,SAAS,GAAG;EACtBN,QAAQ,EAAEL,SAAS,CAACY;AACtB,CAAC;AAEDT,WAAW,CAACU,YAAY,GAAG;EACzBR,QAAQ,EAAE;AACZ,CAAC;AAED,eAAeF,WAAW","ignoreList":[]}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import React, { useContext } from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
import { MainContext } from '@blaze-cms/nextjs-components';
|
|
4
|
-
import { getWrappedValueWithLink } from '../../../../helpers';
|
|
5
|
-
import { parseBooleanValues } from '../../helpers';
|
|
6
|
-
import { withTitle } from '../../../../HOC';
|
|
7
|
-
const ListSummaryContent = ({
|
|
8
|
-
summaryPropsWithContent
|
|
9
|
-
}) => {
|
|
10
|
-
const {
|
|
11
|
-
itemId
|
|
12
|
-
} = useContext(MainContext);
|
|
13
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
14
|
-
className: "spec-block__column"
|
|
15
|
-
}, /*#__PURE__*/React.createElement("ul", {
|
|
16
|
-
className: "spec-block__list"
|
|
17
|
-
}, summaryPropsWithContent.map(([key, value, link, modifier], index) => {
|
|
18
|
-
const wrappedValue = parseBooleanValues(getWrappedValueWithLink(value, link, itemId), key);
|
|
19
|
-
const dynamicKey = [itemId, index].join('-');
|
|
20
|
-
return /*#__PURE__*/React.createElement("li", {
|
|
21
|
-
key: dynamicKey,
|
|
22
|
-
className: "spec-block__list-item"
|
|
23
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
24
|
-
className: `spec-block__title ${modifier}`
|
|
25
|
-
}, key), wrappedValue && /*#__PURE__*/React.createElement("span", {
|
|
26
|
-
className: `spec-block__data ${modifier}`
|
|
27
|
-
}, wrappedValue));
|
|
28
|
-
})));
|
|
29
|
-
};
|
|
30
|
-
ListSummaryContent.propTypes = {
|
|
31
|
-
summaryPropsWithContent: PropTypes.array.isRequired
|
|
32
|
-
};
|
|
33
|
-
export default withTitle(ListSummaryContent);
|
|
34
|
-
//# sourceMappingURL=ListSummaryContent.js.map
|
package/lib-es/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListSummaryContent.js","names":["React","useContext","PropTypes","MainContext","getWrappedValueWithLink","parseBooleanValues","withTitle","ListSummaryContent","summaryPropsWithContent","itemId","createElement","className","map","key","value","link","modifier","index","wrappedValue","dynamicKey","join","propTypes","array","isRequired"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport PropTypes from 'prop-types';\nimport { MainContext } from '@blaze-cms/nextjs-components';\nimport { getWrappedValueWithLink } from '../../../../helpers';\nimport { parseBooleanValues } from '../../helpers';\nimport { withTitle } from '../../../../HOC';\n\nconst ListSummaryContent = ({ summaryPropsWithContent }) => {\n const { itemId } = useContext(MainContext);\n\n return (\n <div className=\"spec-block__column\">\n <ul className=\"spec-block__list\">\n {summaryPropsWithContent.map(([key, value, link, modifier], index) => {\n const wrappedValue = parseBooleanValues(\n getWrappedValueWithLink(value, link, itemId),\n key\n );\n const dynamicKey = [itemId, index].join('-');\n\n return (\n <li key={dynamicKey} className=\"spec-block__list-item\">\n <span className={`spec-block__title ${modifier}`}>{key}</span>\n {wrappedValue && (\n <span className={`spec-block__data ${modifier}`}>{wrappedValue}</span>\n )}\n </li>\n );\n })}\n </ul>\n </div>\n );\n};\n\nListSummaryContent.propTypes = {\n summaryPropsWithContent: PropTypes.array.isRequired\n};\n\nexport default withTitle(ListSummaryContent);\n"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,UAAU,QAAQ,OAAO;AACzC,OAAOC,SAAS,MAAM,YAAY;AAClC,SAASC,WAAW,QAAQ,8BAA8B;AAC1D,SAASC,uBAAuB,QAAQ,qBAAqB;AAC7D,SAASC,kBAAkB,QAAQ,eAAe;AAClD,SAASC,SAAS,QAAQ,iBAAiB;AAE3C,MAAMC,kBAAkB,GAAGA,CAAC;EAAEC;AAAwB,CAAC,KAAK;EAC1D,MAAM;IAAEC;EAAO,CAAC,GAAGR,UAAU,CAACE,WAAW,CAAC;EAE1C,oBACEH,KAAA,CAAAU,aAAA;IAAKC,SAAS,EAAC;EAAoB,gBACjCX,KAAA,CAAAU,aAAA;IAAIC,SAAS,EAAC;EAAkB,GAC7BH,uBAAuB,CAACI,GAAG,CAAC,CAAC,CAACC,GAAG,EAAEC,KAAK,EAAEC,IAAI,EAAEC,QAAQ,CAAC,EAAEC,KAAK,KAAK;IACpE,MAAMC,YAAY,GAAGb,kBAAkB,CACrCD,uBAAuB,CAACU,KAAK,EAAEC,IAAI,EAAEN,MAAM,CAAC,EAC5CI,GACF,CAAC;IACD,MAAMM,UAAU,GAAG,CAACV,MAAM,EAAEQ,KAAK,CAAC,CAACG,IAAI,CAAC,GAAG,CAAC;IAE5C,oBACEpB,KAAA,CAAAU,aAAA;MAAIG,GAAG,EAAEM,UAAW;MAACR,SAAS,EAAC;IAAuB,gBACpDX,KAAA,CAAAU,aAAA;MAAMC,SAAS,EAAE,qBAAqBK,QAAQ;IAAG,GAAEH,GAAU,CAAC,EAC7DK,YAAY,iBACXlB,KAAA,CAAAU,aAAA;MAAMC,SAAS,EAAE,oBAAoBK,QAAQ;IAAG,GAAEE,YAAmB,CAErE,CAAC;EAET,CAAC,CACC,CACD,CAAC;AAEV,CAAC;AAEDX,kBAAkB,CAACc,SAAS,GAAG;EAC7Bb,uBAAuB,EAAEN,SAAS,CAACoB,KAAK,CAACC;AAC3C,CAAC;AAED,eAAejB,SAAS,CAACC,kBAAkB,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["ListSummary"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/ListSummary/index.js"],"sourcesContent":["import ListSummary from './ListSummary';\n\nexport default ListSummary;\n"],"mappings":"AAAA,OAAOA,WAAW,MAAM,eAAe;AAEvC,eAAeA,WAAW","ignoreList":[]}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
2
|
-
const _excluded = ["modifier"];
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import PropTypes from 'prop-types';
|
|
5
|
-
import { getModifiers } from '../../../../helpers';
|
|
6
|
-
import TextSummaryContent from './TextSummaryContent';
|
|
7
|
-
const TextSummary = _ref => {
|
|
8
|
-
let {
|
|
9
|
-
modifier
|
|
10
|
-
} = _ref,
|
|
11
|
-
otherProps = _objectWithoutProperties(_ref, _excluded);
|
|
12
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
13
|
-
className: getModifiers('stats', modifier)
|
|
14
|
-
}, /*#__PURE__*/React.createElement(TextSummaryContent, otherProps));
|
|
15
|
-
};
|
|
16
|
-
TextSummary.propTypes = {
|
|
17
|
-
modifier: PropTypes.string
|
|
18
|
-
};
|
|
19
|
-
TextSummary.defaultProps = {
|
|
20
|
-
modifier: ''
|
|
21
|
-
};
|
|
22
|
-
export default TextSummary;
|
|
23
|
-
//# sourceMappingURL=TextSummary.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextSummary.js","names":["React","PropTypes","getModifiers","TextSummaryContent","TextSummary","_ref","modifier","otherProps","_objectWithoutProperties","_excluded","createElement","className","propTypes","string","defaultProps"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/TextSummary/TextSummary.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { getModifiers } from '../../../../helpers';\nimport TextSummaryContent from './TextSummaryContent';\n\nconst TextSummary = ({ modifier, ...otherProps }) => (\n <div className={getModifiers('stats', modifier)}>\n <TextSummaryContent {...otherProps} />\n </div>\n);\n\nTextSummary.propTypes = {\n modifier: PropTypes.string\n};\n\nTextSummary.defaultProps = {\n modifier: ''\n};\n\nexport default TextSummary;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAClC,SAASC,YAAY,QAAQ,qBAAqB;AAClD,OAAOC,kBAAkB,MAAM,sBAAsB;AAErD,MAAMC,WAAW,GAAGC,IAAA;EAAA,IAAC;MAAEC;IAAwB,CAAC,GAAAD,IAAA;IAAZE,UAAU,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAAA,oBAC5CT,KAAA,CAAAU,aAAA;IAAKC,SAAS,EAAET,YAAY,CAAC,OAAO,EAAEI,QAAQ;EAAE,gBAC9CN,KAAA,CAAAU,aAAA,CAACP,kBAAkB,EAAKI,UAAa,CAClC,CAAC;AAAA,CACP;AAEDH,WAAW,CAACQ,SAAS,GAAG;EACtBN,QAAQ,EAAEL,SAAS,CAACY;AACtB,CAAC;AAEDT,WAAW,CAACU,YAAY,GAAG;EACzBR,QAAQ,EAAE;AACZ,CAAC;AAED,eAAeF,WAAW","ignoreList":[]}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import React, { useContext } from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
import { MainContext } from '@blaze-cms/nextjs-components';
|
|
4
|
-
import { getWrappedValueWithLink } from '../../../../helpers';
|
|
5
|
-
import { parseBooleanValues } from '../../helpers';
|
|
6
|
-
import { withTitle } from '../../../../HOC';
|
|
7
|
-
const TextSummaryContent = ({
|
|
8
|
-
summaryPropsWithContent
|
|
9
|
-
}) => {
|
|
10
|
-
const {
|
|
11
|
-
itemId
|
|
12
|
-
} = useContext(MainContext);
|
|
13
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
14
|
-
className: "stats__heading"
|
|
15
|
-
}, summaryPropsWithContent.map(([key, value, link, modifier], index) => {
|
|
16
|
-
const wrappedValue = parseBooleanValues(getWrappedValueWithLink(value, link, itemId), key);
|
|
17
|
-
const dynamicKey = [itemId, index].join('-');
|
|
18
|
-
if (!wrappedValue) return null;
|
|
19
|
-
return /*#__PURE__*/React.createElement("span", {
|
|
20
|
-
className: modifier,
|
|
21
|
-
key: dynamicKey
|
|
22
|
-
}, wrappedValue);
|
|
23
|
-
}));
|
|
24
|
-
};
|
|
25
|
-
TextSummaryContent.propTypes = {
|
|
26
|
-
summaryPropsWithContent: PropTypes.array.isRequired
|
|
27
|
-
};
|
|
28
|
-
export default withTitle(TextSummaryContent);
|
|
29
|
-
//# sourceMappingURL=TextSummaryContent.js.map
|
package/lib-es/components/DataSummary/DataSummaryTypes/TextSummary/TextSummaryContent.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextSummaryContent.js","names":["React","useContext","PropTypes","MainContext","getWrappedValueWithLink","parseBooleanValues","withTitle","TextSummaryContent","summaryPropsWithContent","itemId","createElement","className","map","key","value","link","modifier","index","wrappedValue","dynamicKey","join","propTypes","array","isRequired"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/TextSummary/TextSummaryContent.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport PropTypes from 'prop-types';\nimport { MainContext } from '@blaze-cms/nextjs-components';\nimport { getWrappedValueWithLink } from '../../../../helpers';\nimport { parseBooleanValues } from '../../helpers';\nimport { withTitle } from '../../../../HOC';\n\nconst TextSummaryContent = ({ summaryPropsWithContent }) => {\n const { itemId } = useContext(MainContext);\n\n return (\n <div className=\"stats__heading\">\n {summaryPropsWithContent.map(([key, value, link, modifier], index) => {\n const wrappedValue = parseBooleanValues(getWrappedValueWithLink(value, link, itemId), key);\n const dynamicKey = [itemId, index].join('-');\n\n if (!wrappedValue) return null;\n\n return (\n <span className={modifier} key={dynamicKey}>\n {wrappedValue}\n </span>\n );\n })}\n </div>\n );\n};\n\nTextSummaryContent.propTypes = {\n summaryPropsWithContent: PropTypes.array.isRequired\n};\n\nexport default withTitle(TextSummaryContent);\n"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,UAAU,QAAQ,OAAO;AACzC,OAAOC,SAAS,MAAM,YAAY;AAClC,SAASC,WAAW,QAAQ,8BAA8B;AAC1D,SAASC,uBAAuB,QAAQ,qBAAqB;AAC7D,SAASC,kBAAkB,QAAQ,eAAe;AAClD,SAASC,SAAS,QAAQ,iBAAiB;AAE3C,MAAMC,kBAAkB,GAAGA,CAAC;EAAEC;AAAwB,CAAC,KAAK;EAC1D,MAAM;IAAEC;EAAO,CAAC,GAAGR,UAAU,CAACE,WAAW,CAAC;EAE1C,oBACEH,KAAA,CAAAU,aAAA;IAAKC,SAAS,EAAC;EAAgB,GAC5BH,uBAAuB,CAACI,GAAG,CAAC,CAAC,CAACC,GAAG,EAAEC,KAAK,EAAEC,IAAI,EAAEC,QAAQ,CAAC,EAAEC,KAAK,KAAK;IACpE,MAAMC,YAAY,GAAGb,kBAAkB,CAACD,uBAAuB,CAACU,KAAK,EAAEC,IAAI,EAAEN,MAAM,CAAC,EAAEI,GAAG,CAAC;IAC1F,MAAMM,UAAU,GAAG,CAACV,MAAM,EAAEQ,KAAK,CAAC,CAACG,IAAI,CAAC,GAAG,CAAC;IAE5C,IAAI,CAACF,YAAY,EAAE,OAAO,IAAI;IAE9B,oBACElB,KAAA,CAAAU,aAAA;MAAMC,SAAS,EAAEK,QAAS;MAACH,GAAG,EAAEM;IAAW,GACxCD,YACG,CAAC;EAEX,CAAC,CACE,CAAC;AAEV,CAAC;AAEDX,kBAAkB,CAACc,SAAS,GAAG;EAC7Bb,uBAAuB,EAAEN,SAAS,CAACoB,KAAK,CAACC;AAC3C,CAAC;AAED,eAAejB,SAAS,CAACC,kBAAkB,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["TextSummary"],"sources":["../../../../../src/components/DataSummary/DataSummaryTypes/TextSummary/index.js"],"sourcesContent":["import TextSummary from './TextSummary';\n\nexport default TextSummary;\n"],"mappings":"AAAA,OAAOA,WAAW,MAAM,eAAe;AAEvC,eAAeA,WAAW","ignoreList":[]}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import dynamic from 'next/dynamic';
|
|
2
|
-
export const summaryComponents = {
|
|
3
|
-
list: dynamic(() => import(/* webpackChunkName: "blazePbDataSummaryListSummary" */'./ListSummary')),
|
|
4
|
-
large: dynamic(() => import(/* webpackChunkName: "blazePbDataSummaryLargeSummary" */'./LargeSummary')),
|
|
5
|
-
text: dynamic(() => import(/* webpackChunkName: "blazePbDataSummaryTextSummary" */'./TextSummary')),
|
|
6
|
-
heading_large: dynamic(() => import(/* webpackChunkName: "blazePbDataSummaryHeadingLargeSummary" */'./HeadingLargeSummary')),
|
|
7
|
-
item_details: dynamic(() => import(/* webpackChunkName: "blazePbDataSummaryItemDetailsSummary" */'./ItemDetailsSummary'))
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["dynamic","summaryComponents","list","large","text","heading_large","item_details"],"sources":["../../../../src/components/DataSummary/DataSummaryTypes/index.js"],"sourcesContent":["import dynamic from 'next/dynamic';\n\nexport const summaryComponents = {\n list: dynamic(\n () => import(/* webpackChunkName: \"blazePbDataSummaryListSummary\" */ './ListSummary')\n ),\n large: dynamic(\n () => import(/* webpackChunkName: \"blazePbDataSummaryLargeSummary\" */ './LargeSummary')\n ),\n text: dynamic(\n () => import(/* webpackChunkName: \"blazePbDataSummaryTextSummary\" */ './TextSummary')\n ),\n heading_large: dynamic(\n () =>\n import(\n /* webpackChunkName: \"blazePbDataSummaryHeadingLargeSummary\" */ './HeadingLargeSummary'\n )\n ),\n item_details: dynamic(\n () =>\n import(/* webpackChunkName: \"blazePbDataSummaryItemDetailsSummary\" */ './ItemDetailsSummary')\n )\n};\n"],"mappings":"AAAA,OAAOA,OAAO,MAAM,cAAc;AAElC,OAAO,MAAMC,iBAAiB,GAAG;EAC/BC,IAAI,EAAEF,OAAO,CACX,MAAM,MAAM,CAAC,uDAAwD,eAAe,CACtF,CAAC;EACDG,KAAK,EAAEH,OAAO,CACZ,MAAM,MAAM,CAAC,wDAAyD,gBAAgB,CACxF,CAAC;EACDI,IAAI,EAAEJ,OAAO,CACX,MAAM,MAAM,CAAC,uDAAwD,eAAe,CACtF,CAAC;EACDK,aAAa,EAAEL,OAAO,CACpB,MACE,MAAM,CACJ,+DAAgE,uBAClE,CACJ,CAAC;EACDM,YAAY,EAAEN,OAAO,CACnB,MACE,MAAM,CAAC,8DAA+D,sBAAsB,CAChG;AACF,CAAC","ignoreList":[]}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import upperFirst from 'lodash.upperfirst';
|
|
2
|
-
import flatten from 'lodash.flatten';
|
|
3
|
-
import getLinkToPublishedContent from './get-link-to-published-content';
|
|
4
|
-
import getLoopPropsLimit from './get-loop-props-limit';
|
|
5
|
-
import getPropValue from './get-prop-value';
|
|
6
|
-
import { processDataSummaryValue } from '../../../helpers';
|
|
7
|
-
const getLoopValue = value => {
|
|
8
|
-
const {
|
|
9
|
-
keyField
|
|
10
|
-
} = value;
|
|
11
|
-
return value[keyField];
|
|
12
|
-
};
|
|
13
|
-
const separateValues = (propsToDisplay, loopProps, data) => {
|
|
14
|
-
const regularValues = {};
|
|
15
|
-
const loopValues = {};
|
|
16
|
-
propsToDisplay.forEach(options => {
|
|
17
|
-
const {
|
|
18
|
-
propertiesToDisplay
|
|
19
|
-
} = options;
|
|
20
|
-
propertiesToDisplay.forEach(prop => {
|
|
21
|
-
const value = getPropValue(prop, data, options);
|
|
22
|
-
const isArrayValue = Array.isArray(value);
|
|
23
|
-
if (!value) return;
|
|
24
|
-
const isLoopableProp = loopProps.includes(prop) && isArrayValue;
|
|
25
|
-
if (isLoopableProp) {
|
|
26
|
-
loopValues[prop] = value;
|
|
27
|
-
} else {
|
|
28
|
-
regularValues[prop] = value;
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
});
|
|
32
|
-
return [regularValues, loopValues];
|
|
33
|
-
};
|
|
34
|
-
const buildLoopPropsContent = (loopProps = [], propsToDisplay = [], limit = 0, data = {}, isSlider = false) => {
|
|
35
|
-
const loopPropsWithContent = [];
|
|
36
|
-
const [regularValues, loopValues] = separateValues(propsToDisplay, loopProps, data);
|
|
37
|
-
const loopLimit = getLoopPropsLimit(loopValues, limit);
|
|
38
|
-
for (let i = 0; i < loopLimit; i += 1) {
|
|
39
|
-
const propsArray = flatten(propsToDisplay.map(options => {
|
|
40
|
-
const {
|
|
41
|
-
propertiesToDisplay,
|
|
42
|
-
label,
|
|
43
|
-
modifier = ''
|
|
44
|
-
} = options;
|
|
45
|
-
return propertiesToDisplay.map(key => {
|
|
46
|
-
const loopValue = loopValues[key];
|
|
47
|
-
const loopValueItem = loopValue && loopValue[i];
|
|
48
|
-
const propValue = loopValueItem ? getLoopValue(loopValueItem) : regularValues[key];
|
|
49
|
-
if (!propValue) return null;
|
|
50
|
-
const processedValue = processDataSummaryValue(propValue, options);
|
|
51
|
-
const linkToPublishedContent = getLinkToPublishedContent(key, data, loopValueItem);
|
|
52
|
-
return [upperFirst(label), processedValue, linkToPublishedContent, modifier];
|
|
53
|
-
});
|
|
54
|
-
})).filter(Boolean);
|
|
55
|
-
loopPropsWithContent.push(propsArray);
|
|
56
|
-
}
|
|
57
|
-
if (isSlider) return loopPropsWithContent;
|
|
58
|
-
return flatten(loopPropsWithContent);
|
|
59
|
-
};
|
|
60
|
-
export default buildLoopPropsContent;
|
|
61
|
-
//# sourceMappingURL=build-loop-props-content.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"build-loop-props-content.js","names":["upperFirst","flatten","getLinkToPublishedContent","getLoopPropsLimit","getPropValue","processDataSummaryValue","getLoopValue","value","keyField","separateValues","propsToDisplay","loopProps","data","regularValues","loopValues","forEach","options","propertiesToDisplay","prop","isArrayValue","Array","isArray","isLoopableProp","includes","buildLoopPropsContent","limit","isSlider","loopPropsWithContent","loopLimit","i","propsArray","map","label","modifier","key","loopValue","loopValueItem","propValue","processedValue","linkToPublishedContent","filter","Boolean","push"],"sources":["../../../../src/components/DataSummary/helpers/build-loop-props-content.js"],"sourcesContent":["import upperFirst from 'lodash.upperfirst';\nimport flatten from 'lodash.flatten';\nimport getLinkToPublishedContent from './get-link-to-published-content';\nimport getLoopPropsLimit from './get-loop-props-limit';\nimport getPropValue from './get-prop-value';\nimport { processDataSummaryValue } from '../../../helpers';\n\nconst getLoopValue = value => {\n const { keyField } = value;\n return value[keyField];\n};\n\nconst separateValues = (propsToDisplay, loopProps, data) => {\n const regularValues = {};\n const loopValues = {};\n\n propsToDisplay.forEach(options => {\n const { propertiesToDisplay } = options;\n propertiesToDisplay.forEach(prop => {\n const value = getPropValue(prop, data, options);\n const isArrayValue = Array.isArray(value);\n if (!value) return;\n const isLoopableProp = loopProps.includes(prop) && isArrayValue;\n\n if (isLoopableProp) {\n loopValues[prop] = value;\n } else {\n regularValues[prop] = value;\n }\n });\n });\n return [regularValues, loopValues];\n};\n\nconst buildLoopPropsContent = (\n loopProps = [],\n propsToDisplay = [],\n limit = 0,\n data = {},\n isSlider = false\n) => {\n const loopPropsWithContent = [];\n const [regularValues, loopValues] = separateValues(propsToDisplay, loopProps, data);\n const loopLimit = getLoopPropsLimit(loopValues, limit);\n\n for (let i = 0; i < loopLimit; i += 1) {\n const propsArray = flatten(\n propsToDisplay.map(options => {\n const { propertiesToDisplay, label, modifier = '' } = options;\n\n return propertiesToDisplay.map(key => {\n const loopValue = loopValues[key];\n const loopValueItem = loopValue && loopValue[i];\n const propValue = loopValueItem ? getLoopValue(loopValueItem) : regularValues[key];\n if (!propValue) return null;\n\n const processedValue = processDataSummaryValue(propValue, options);\n const linkToPublishedContent = getLinkToPublishedContent(key, data, loopValueItem);\n return [upperFirst(label), processedValue, linkToPublishedContent, modifier];\n });\n })\n ).filter(Boolean);\n loopPropsWithContent.push(propsArray);\n }\n if (isSlider) return loopPropsWithContent;\n return flatten(loopPropsWithContent);\n};\n\nexport default buildLoopPropsContent;\n"],"mappings":"AAAA,OAAOA,UAAU,MAAM,mBAAmB;AAC1C,OAAOC,OAAO,MAAM,gBAAgB;AACpC,OAAOC,yBAAyB,MAAM,iCAAiC;AACvE,OAAOC,iBAAiB,MAAM,wBAAwB;AACtD,OAAOC,YAAY,MAAM,kBAAkB;AAC3C,SAASC,uBAAuB,QAAQ,kBAAkB;AAE1D,MAAMC,YAAY,GAAGC,KAAK,IAAI;EAC5B,MAAM;IAAEC;EAAS,CAAC,GAAGD,KAAK;EAC1B,OAAOA,KAAK,CAACC,QAAQ,CAAC;AACxB,CAAC;AAED,MAAMC,cAAc,GAAGA,CAACC,cAAc,EAAEC,SAAS,EAAEC,IAAI,KAAK;EAC1D,MAAMC,aAAa,GAAG,CAAC,CAAC;EACxB,MAAMC,UAAU,GAAG,CAAC,CAAC;EAErBJ,cAAc,CAACK,OAAO,CAACC,OAAO,IAAI;IAChC,MAAM;MAAEC;IAAoB,CAAC,GAAGD,OAAO;IACvCC,mBAAmB,CAACF,OAAO,CAACG,IAAI,IAAI;MAClC,MAAMX,KAAK,GAAGH,YAAY,CAACc,IAAI,EAAEN,IAAI,EAAEI,OAAO,CAAC;MAC/C,MAAMG,YAAY,GAAGC,KAAK,CAACC,OAAO,CAACd,KAAK,CAAC;MACzC,IAAI,CAACA,KAAK,EAAE;MACZ,MAAMe,cAAc,GAAGX,SAAS,CAACY,QAAQ,CAACL,IAAI,CAAC,IAAIC,YAAY;MAE/D,IAAIG,cAAc,EAAE;QAClBR,UAAU,CAACI,IAAI,CAAC,GAAGX,KAAK;MAC1B,CAAC,MAAM;QACLM,aAAa,CAACK,IAAI,CAAC,GAAGX,KAAK;MAC7B;IACF,CAAC,CAAC;EACJ,CAAC,CAAC;EACF,OAAO,CAACM,aAAa,EAAEC,UAAU,CAAC;AACpC,CAAC;AAED,MAAMU,qBAAqB,GAAGA,CAC5Bb,SAAS,GAAG,EAAE,EACdD,cAAc,GAAG,EAAE,EACnBe,KAAK,GAAG,CAAC,EACTb,IAAI,GAAG,CAAC,CAAC,EACTc,QAAQ,GAAG,KAAK,KACb;EACH,MAAMC,oBAAoB,GAAG,EAAE;EAC/B,MAAM,CAACd,aAAa,EAAEC,UAAU,CAAC,GAAGL,cAAc,CAACC,cAAc,EAAEC,SAAS,EAAEC,IAAI,CAAC;EACnF,MAAMgB,SAAS,GAAGzB,iBAAiB,CAACW,UAAU,EAAEW,KAAK,CAAC;EAEtD,KAAK,IAAII,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGD,SAAS,EAAEC,CAAC,IAAI,CAAC,EAAE;IACrC,MAAMC,UAAU,GAAG7B,OAAO,CACxBS,cAAc,CAACqB,GAAG,CAACf,OAAO,IAAI;MAC5B,MAAM;QAAEC,mBAAmB;QAAEe,KAAK;QAAEC,QAAQ,GAAG;MAAG,CAAC,GAAGjB,OAAO;MAE7D,OAAOC,mBAAmB,CAACc,GAAG,CAACG,GAAG,IAAI;QACpC,MAAMC,SAAS,GAAGrB,UAAU,CAACoB,GAAG,CAAC;QACjC,MAAME,aAAa,GAAGD,SAAS,IAAIA,SAAS,CAACN,CAAC,CAAC;QAC/C,MAAMQ,SAAS,GAAGD,aAAa,GAAG9B,YAAY,CAAC8B,aAAa,CAAC,GAAGvB,aAAa,CAACqB,GAAG,CAAC;QAClF,IAAI,CAACG,SAAS,EAAE,OAAO,IAAI;QAE3B,MAAMC,cAAc,GAAGjC,uBAAuB,CAACgC,SAAS,EAAErB,OAAO,CAAC;QAClE,MAAMuB,sBAAsB,GAAGrC,yBAAyB,CAACgC,GAAG,EAAEtB,IAAI,EAAEwB,aAAa,CAAC;QAClF,OAAO,CAACpC,UAAU,CAACgC,KAAK,CAAC,EAAEM,cAAc,EAAEC,sBAAsB,EAAEN,QAAQ,CAAC;MAC9E,CAAC,CAAC;IACJ,CAAC,CACH,CAAC,CAACO,MAAM,CAACC,OAAO,CAAC;IACjBd,oBAAoB,CAACe,IAAI,CAACZ,UAAU,CAAC;EACvC;EACA,IAAIJ,QAAQ,EAAE,OAAOC,oBAAoB;EACzC,OAAO1B,OAAO,CAAC0B,oBAAoB,CAAC;AACtC,CAAC;AAED,eAAeH,qBAAqB","ignoreList":[]}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import upperFirst from 'lodash.upperfirst';
|
|
2
|
-
import flatten from 'lodash.flatten';
|
|
3
|
-
import { isObject, processDataSummaryValue } from '../../../helpers';
|
|
4
|
-
import getLinkToPublishedContent from './get-link-to-published-content';
|
|
5
|
-
import getPropValue from './get-prop-value';
|
|
6
|
-
import getLinkBasedOnValue from './get-link-based-on-value';
|
|
7
|
-
const buildPropsToDisplayWithContent = (props, propsToDisplay = []) => {
|
|
8
|
-
if (!isObject(propsToDisplay[0])) {
|
|
9
|
-
return propsToDisplay.map(key => {
|
|
10
|
-
if (!key) return null;
|
|
11
|
-
const propValue = getPropValue(key, props);
|
|
12
|
-
if (!propValue) return null;
|
|
13
|
-
const propName = key.split('.').join(' ');
|
|
14
|
-
return [upperFirst(propName), propValue, '', ''];
|
|
15
|
-
}).filter(Boolean);
|
|
16
|
-
}
|
|
17
|
-
return flatten(propsToDisplay.map(options => {
|
|
18
|
-
const {
|
|
19
|
-
propertiesToDisplay,
|
|
20
|
-
label,
|
|
21
|
-
modifier = '',
|
|
22
|
-
enableLink
|
|
23
|
-
} = options;
|
|
24
|
-
return propertiesToDisplay.map(key => {
|
|
25
|
-
if (!key) return null;
|
|
26
|
-
const objPropValue = getPropValue(key, props, options);
|
|
27
|
-
if (!objPropValue) return null;
|
|
28
|
-
const processedValue = processDataSummaryValue(objPropValue, options);
|
|
29
|
-
const link = getLink(enableLink, key, props, processedValue);
|
|
30
|
-
return [upperFirst(label), processedValue, link, modifier];
|
|
31
|
-
});
|
|
32
|
-
})).filter(Boolean);
|
|
33
|
-
};
|
|
34
|
-
export default buildPropsToDisplayWithContent;
|
|
35
|
-
function getLink(enableLink, key, props, objPropValue) {
|
|
36
|
-
let link = '';
|
|
37
|
-
if (enableLink) {
|
|
38
|
-
link = getLinkToPublishedContent(key, props);
|
|
39
|
-
if (!link) {
|
|
40
|
-
link = getLinkBasedOnValue(objPropValue);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
return link;
|
|
44
|
-
}
|
|
45
|
-
//# sourceMappingURL=build-props-to-display-with-content.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"build-props-to-display-with-content.js","names":["upperFirst","flatten","isObject","processDataSummaryValue","getLinkToPublishedContent","getPropValue","getLinkBasedOnValue","buildPropsToDisplayWithContent","props","propsToDisplay","map","key","propValue","propName","split","join","filter","Boolean","options","propertiesToDisplay","label","modifier","enableLink","objPropValue","processedValue","link","getLink"],"sources":["../../../../src/components/DataSummary/helpers/build-props-to-display-with-content.js"],"sourcesContent":["import upperFirst from 'lodash.upperfirst';\nimport flatten from 'lodash.flatten';\nimport { isObject, processDataSummaryValue } from '../../../helpers';\nimport getLinkToPublishedContent from './get-link-to-published-content';\nimport getPropValue from './get-prop-value';\nimport getLinkBasedOnValue from './get-link-based-on-value';\n\nconst buildPropsToDisplayWithContent = (props, propsToDisplay = []) => {\n if (!isObject(propsToDisplay[0])) {\n return propsToDisplay\n .map(key => {\n if (!key) return null;\n const propValue = getPropValue(key, props);\n if (!propValue) return null;\n const propName = key.split('.').join(' ');\n return [upperFirst(propName), propValue, '', ''];\n })\n .filter(Boolean);\n }\n\n return flatten(\n propsToDisplay.map(options => {\n const { propertiesToDisplay, label, modifier = '', enableLink } = options;\n return propertiesToDisplay.map(key => {\n if (!key) return null;\n\n const objPropValue = getPropValue(key, props, options);\n if (!objPropValue) return null;\n\n const processedValue = processDataSummaryValue(objPropValue, options);\n\n const link = getLink(enableLink, key, props, processedValue);\n\n return [upperFirst(label), processedValue, link, modifier];\n });\n })\n ).filter(Boolean);\n};\n\nexport default buildPropsToDisplayWithContent;\n\nfunction getLink(enableLink, key, props, objPropValue) {\n let link = '';\n if (enableLink) {\n link = getLinkToPublishedContent(key, props);\n if (!link) {\n link = getLinkBasedOnValue(objPropValue);\n }\n }\n return link;\n}\n"],"mappings":"AAAA,OAAOA,UAAU,MAAM,mBAAmB;AAC1C,OAAOC,OAAO,MAAM,gBAAgB;AACpC,SAASC,QAAQ,EAAEC,uBAAuB,QAAQ,kBAAkB;AACpE,OAAOC,yBAAyB,MAAM,iCAAiC;AACvE,OAAOC,YAAY,MAAM,kBAAkB;AAC3C,OAAOC,mBAAmB,MAAM,2BAA2B;AAE3D,MAAMC,8BAA8B,GAAGA,CAACC,KAAK,EAAEC,cAAc,GAAG,EAAE,KAAK;EACrE,IAAI,CAACP,QAAQ,CAACO,cAAc,CAAC,CAAC,CAAC,CAAC,EAAE;IAChC,OAAOA,cAAc,CAClBC,GAAG,CAACC,GAAG,IAAI;MACV,IAAI,CAACA,GAAG,EAAE,OAAO,IAAI;MACrB,MAAMC,SAAS,GAAGP,YAAY,CAACM,GAAG,EAAEH,KAAK,CAAC;MAC1C,IAAI,CAACI,SAAS,EAAE,OAAO,IAAI;MAC3B,MAAMC,QAAQ,GAAGF,GAAG,CAACG,KAAK,CAAC,GAAG,CAAC,CAACC,IAAI,CAAC,GAAG,CAAC;MACzC,OAAO,CAACf,UAAU,CAACa,QAAQ,CAAC,EAAED,SAAS,EAAE,EAAE,EAAE,EAAE,CAAC;IAClD,CAAC,CAAC,CACDI,MAAM,CAACC,OAAO,CAAC;EACpB;EAEA,OAAOhB,OAAO,CACZQ,cAAc,CAACC,GAAG,CAACQ,OAAO,IAAI;IAC5B,MAAM;MAAEC,mBAAmB;MAAEC,KAAK;MAAEC,QAAQ,GAAG,EAAE;MAAEC;IAAW,CAAC,GAAGJ,OAAO;IACzE,OAAOC,mBAAmB,CAACT,GAAG,CAACC,GAAG,IAAI;MACpC,IAAI,CAACA,GAAG,EAAE,OAAO,IAAI;MAErB,MAAMY,YAAY,GAAGlB,YAAY,CAACM,GAAG,EAAEH,KAAK,EAAEU,OAAO,CAAC;MACtD,IAAI,CAACK,YAAY,EAAE,OAAO,IAAI;MAE9B,MAAMC,cAAc,GAAGrB,uBAAuB,CAACoB,YAAY,EAAEL,OAAO,CAAC;MAErE,MAAMO,IAAI,GAAGC,OAAO,CAACJ,UAAU,EAAEX,GAAG,EAAEH,KAAK,EAAEgB,cAAc,CAAC;MAE5D,OAAO,CAACxB,UAAU,CAACoB,KAAK,CAAC,EAAEI,cAAc,EAAEC,IAAI,EAAEJ,QAAQ,CAAC;IAC5D,CAAC,CAAC;EACJ,CAAC,CACH,CAAC,CAACL,MAAM,CAACC,OAAO,CAAC;AACnB,CAAC;AAED,eAAeV,8BAA8B;AAE7C,SAASmB,OAAOA,CAACJ,UAAU,EAAEX,GAAG,EAAEH,KAAK,EAAEe,YAAY,EAAE;EACrD,IAAIE,IAAI,GAAG,EAAE;EACb,IAAIH,UAAU,EAAE;IACdG,IAAI,GAAGrB,yBAAyB,CAACO,GAAG,EAAEH,KAAK,CAAC;IAC5C,IAAI,CAACiB,IAAI,EAAE;MACTA,IAAI,GAAGnB,mBAAmB,CAACiB,YAAY,CAAC;IAC1C;EACF;EACA,OAAOE,IAAI;AACb","ignoreList":[]}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { generateSingleItemQuery } from '../../../application/query';
|
|
2
|
-
const getDataSummaryQuery = (data, isPreview, extraProps = '') => {
|
|
3
|
-
if (!data) {
|
|
4
|
-
return null;
|
|
5
|
-
}
|
|
6
|
-
const {
|
|
7
|
-
getEntitySchema
|
|
8
|
-
} = data;
|
|
9
|
-
const {
|
|
10
|
-
actions: {
|
|
11
|
-
getPublished,
|
|
12
|
-
get
|
|
13
|
-
}
|
|
14
|
-
} = getEntitySchema;
|
|
15
|
-
const actionKey = isPreview ? get : getPublished || get;
|
|
16
|
-
return generateSingleItemQuery(actionKey, extraProps);
|
|
17
|
-
};
|
|
18
|
-
export default getDataSummaryQuery;
|
|
19
|
-
//# sourceMappingURL=get-data-summary-query.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-data-summary-query.js","names":["generateSingleItemQuery","getDataSummaryQuery","data","isPreview","extraProps","getEntitySchema","actions","getPublished","get","actionKey"],"sources":["../../../../src/components/DataSummary/helpers/get-data-summary-query.js"],"sourcesContent":["import { generateSingleItemQuery } from '../../../application/query';\n\nconst getDataSummaryQuery = (data, isPreview, extraProps = '') => {\n if (!data) {\n return null;\n }\n\n const { getEntitySchema } = data;\n const {\n actions: { getPublished, get }\n } = getEntitySchema;\n const actionKey = isPreview ? get : getPublished || get;\n\n return generateSingleItemQuery(actionKey, extraProps);\n};\n\nexport default getDataSummaryQuery;\n"],"mappings":"AAAA,SAASA,uBAAuB,QAAQ,4BAA4B;AAEpE,MAAMC,mBAAmB,GAAGA,CAACC,IAAI,EAAEC,SAAS,EAAEC,UAAU,GAAG,EAAE,KAAK;EAChE,IAAI,CAACF,IAAI,EAAE;IACT,OAAO,IAAI;EACb;EAEA,MAAM;IAAEG;EAAgB,CAAC,GAAGH,IAAI;EAChC,MAAM;IACJI,OAAO,EAAE;MAAEC,YAAY;MAAEC;IAAI;EAC/B,CAAC,GAAGH,eAAe;EACnB,MAAMI,SAAS,GAAGN,SAAS,GAAGK,GAAG,GAAGD,YAAY,IAAIC,GAAG;EAEvD,OAAOR,uBAAuB,CAACS,SAAS,EAAEL,UAAU,CAAC;AACvD,CAAC;AAED,eAAeH,mBAAmB","ignoreList":[]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { DATA_SUMMARY_EMAIL_REGEX, DATA_SUMMARY_URL_REGEX, DATA_SUMMARY_TEL_REGEX } from '../../../constants';
|
|
2
|
-
function getLinkBasedOnValue(value) {
|
|
3
|
-
if (DATA_SUMMARY_EMAIL_REGEX.test(value)) {
|
|
4
|
-
return `mailto:${value}`;
|
|
5
|
-
}
|
|
6
|
-
if (DATA_SUMMARY_URL_REGEX.test(value)) {
|
|
7
|
-
return value;
|
|
8
|
-
}
|
|
9
|
-
if (DATA_SUMMARY_TEL_REGEX.test(value)) {
|
|
10
|
-
return `tel:${value}`;
|
|
11
|
-
}
|
|
12
|
-
return '';
|
|
13
|
-
}
|
|
14
|
-
export default getLinkBasedOnValue;
|
|
15
|
-
//# sourceMappingURL=get-link-based-on-value.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-link-based-on-value.js","names":["DATA_SUMMARY_EMAIL_REGEX","DATA_SUMMARY_URL_REGEX","DATA_SUMMARY_TEL_REGEX","getLinkBasedOnValue","value","test"],"sources":["../../../../src/components/DataSummary/helpers/get-link-based-on-value.js"],"sourcesContent":["import {\n DATA_SUMMARY_EMAIL_REGEX,\n DATA_SUMMARY_URL_REGEX,\n DATA_SUMMARY_TEL_REGEX\n} from '../../../constants';\n\nfunction getLinkBasedOnValue(value) {\n if (DATA_SUMMARY_EMAIL_REGEX.test(value)) {\n return `mailto:${value}`;\n }\n if (DATA_SUMMARY_URL_REGEX.test(value)) {\n return value;\n }\n\n if (DATA_SUMMARY_TEL_REGEX.test(value)) {\n return `tel:${value}`;\n }\n\n return '';\n}\n\nexport default getLinkBasedOnValue;\n"],"mappings":"AAAA,SACEA,wBAAwB,EACxBC,sBAAsB,EACtBC,sBAAsB,QACjB,oBAAoB;AAE3B,SAASC,mBAAmBA,CAACC,KAAK,EAAE;EAClC,IAAIJ,wBAAwB,CAACK,IAAI,CAACD,KAAK,CAAC,EAAE;IACxC,OAAO,UAAUA,KAAK,EAAE;EAC1B;EACA,IAAIH,sBAAsB,CAACI,IAAI,CAACD,KAAK,CAAC,EAAE;IACtC,OAAOA,KAAK;EACd;EAEA,IAAIF,sBAAsB,CAACG,IAAI,CAACD,KAAK,CAAC,EAAE;IACtC,OAAO,OAAOA,KAAK,EAAE;EACvB;EAEA,OAAO,EAAE;AACX;AAEA,eAAeD,mBAAmB","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-link-props.js","names":["getLinkProps","props","map","propertiesToDisplay","enableLink","flat","filter","Boolean"],"sources":["../../../../src/components/DataSummary/helpers/get-link-props.js"],"sourcesContent":["const getLinkProps = (props = []) =>\n props\n .map(({ propertiesToDisplay, enableLink }) => enableLink && propertiesToDisplay)\n .flat()\n .filter(Boolean);\n\nexport default getLinkProps;\n"],"mappings":"AAAA,MAAMA,YAAY,GAAGA,CAACC,KAAK,GAAG,EAAE,KAC9BA,KAAK,CACFC,GAAG,CAAC,CAAC;EAAEC,mBAAmB;EAAEC;AAAW,CAAC,KAAKA,UAAU,IAAID,mBAAmB,CAAC,CAC/EE,IAAI,CAAC,CAAC,CACNC,MAAM,CAACC,OAAO,CAAC;AAEpB,eAAeP,YAAY","ignoreList":[]}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
const getLinkToPublishedContent = (key = '', props = {}, currentValue = null) => {
|
|
2
|
-
const [baseKey] = key.split('.');
|
|
3
|
-
if (!props[baseKey]) return '';
|
|
4
|
-
if (currentValue && typeof currentValue.url !== 'undefined') return currentValue.url;
|
|
5
|
-
const content = Array.isArray(props[baseKey]) ? props[baseKey][0] : props[baseKey];
|
|
6
|
-
return content && content.url ? content.url : '';
|
|
7
|
-
};
|
|
8
|
-
export default getLinkToPublishedContent;
|
|
9
|
-
//# sourceMappingURL=get-link-to-published-content.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-link-to-published-content.js","names":["getLinkToPublishedContent","key","props","currentValue","baseKey","split","url","content","Array","isArray"],"sources":["../../../../src/components/DataSummary/helpers/get-link-to-published-content.js"],"sourcesContent":["const getLinkToPublishedContent = (key = '', props = {}, currentValue = null) => {\n const [baseKey] = key.split('.');\n if (!props[baseKey]) return '';\n\n if (currentValue && typeof currentValue.url !== 'undefined') return currentValue.url;\n\n const content = Array.isArray(props[baseKey]) ? props[baseKey][0] : props[baseKey];\n return content && content.url ? content.url : '';\n};\n\nexport default getLinkToPublishedContent;\n"],"mappings":"AAAA,MAAMA,yBAAyB,GAAGA,CAACC,GAAG,GAAG,EAAE,EAAEC,KAAK,GAAG,CAAC,CAAC,EAAEC,YAAY,GAAG,IAAI,KAAK;EAC/E,MAAM,CAACC,OAAO,CAAC,GAAGH,GAAG,CAACI,KAAK,CAAC,GAAG,CAAC;EAChC,IAAI,CAACH,KAAK,CAACE,OAAO,CAAC,EAAE,OAAO,EAAE;EAE9B,IAAID,YAAY,IAAI,OAAOA,YAAY,CAACG,GAAG,KAAK,WAAW,EAAE,OAAOH,YAAY,CAACG,GAAG;EAEpF,MAAMC,OAAO,GAAGC,KAAK,CAACC,OAAO,CAACP,KAAK,CAACE,OAAO,CAAC,CAAC,GAAGF,KAAK,CAACE,OAAO,CAAC,CAAC,CAAC,CAAC,GAAGF,KAAK,CAACE,OAAO,CAAC;EAClF,OAAOG,OAAO,IAAIA,OAAO,CAACD,GAAG,GAAGC,OAAO,CAACD,GAAG,GAAG,EAAE;AAClD,CAAC;AAED,eAAeN,yBAAyB","ignoreList":[]}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
const getLoopPropsLimit = (values, limit) => {
|
|
2
|
-
let valuesLimit = 1;
|
|
3
|
-
if (!values) return valuesLimit;
|
|
4
|
-
Object.keys(values).forEach(key => {
|
|
5
|
-
const value = values[key];
|
|
6
|
-
if (value && Array.isArray(value) && value.length > valuesLimit) valuesLimit = value.length;
|
|
7
|
-
});
|
|
8
|
-
if (!limit || valuesLimit < limit) return valuesLimit;
|
|
9
|
-
return limit;
|
|
10
|
-
};
|
|
11
|
-
export default getLoopPropsLimit;
|
|
12
|
-
//# sourceMappingURL=get-loop-props-limit.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-loop-props-limit.js","names":["getLoopPropsLimit","values","limit","valuesLimit","Object","keys","forEach","key","value","Array","isArray","length"],"sources":["../../../../src/components/DataSummary/helpers/get-loop-props-limit.js"],"sourcesContent":["const getLoopPropsLimit = (values, limit) => {\n let valuesLimit = 1;\n if (!values) return valuesLimit;\n Object.keys(values).forEach(key => {\n const value = values[key];\n if (value && Array.isArray(value) && value.length > valuesLimit) valuesLimit = value.length;\n });\n if (!limit || valuesLimit < limit) return valuesLimit;\n return limit;\n};\n\nexport default getLoopPropsLimit;\n"],"mappings":"AAAA,MAAMA,iBAAiB,GAAGA,CAACC,MAAM,EAAEC,KAAK,KAAK;EAC3C,IAAIC,WAAW,GAAG,CAAC;EACnB,IAAI,CAACF,MAAM,EAAE,OAAOE,WAAW;EAC/BC,MAAM,CAACC,IAAI,CAACJ,MAAM,CAAC,CAACK,OAAO,CAACC,GAAG,IAAI;IACjC,MAAMC,KAAK,GAAGP,MAAM,CAACM,GAAG,CAAC;IACzB,IAAIC,KAAK,IAAIC,KAAK,CAACC,OAAO,CAACF,KAAK,CAAC,IAAIA,KAAK,CAACG,MAAM,GAAGR,WAAW,EAAEA,WAAW,GAAGK,KAAK,CAACG,MAAM;EAC7F,CAAC,CAAC;EACF,IAAI,CAACT,KAAK,IAAIC,WAAW,GAAGD,KAAK,EAAE,OAAOC,WAAW;EACrD,OAAOD,KAAK;AACd,CAAC;AAED,eAAeF,iBAAiB","ignoreList":[]}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import getValueFromArray from './get-value-from-array';
|
|
2
|
-
const getPropValue = (key, props, options = {}) => {
|
|
3
|
-
const baseKey = key.split('.')[0];
|
|
4
|
-
const nestedKey = key.split('.').filter((_, i) => i !== 0).join('.');
|
|
5
|
-
const {
|
|
6
|
-
prefix = '',
|
|
7
|
-
suffix = ''
|
|
8
|
-
} = options;
|
|
9
|
-
const value = props[baseKey];
|
|
10
|
-
if (typeof value !== 'boolean' && !value) return null;
|
|
11
|
-
if (nestedKey) {
|
|
12
|
-
const valueIsArray = Array.isArray(value);
|
|
13
|
-
const nestedValue = !valueIsArray ? value[nestedKey] : '';
|
|
14
|
-
if (valueIsArray) return getValueFromArray(nestedKey, value, prefix, suffix);
|
|
15
|
-
return nestedValue ? `${prefix} ${nestedValue} ${suffix}`.trim() : null;
|
|
16
|
-
}
|
|
17
|
-
return `${prefix} ${value} ${suffix}`.trim();
|
|
18
|
-
};
|
|
19
|
-
export default getPropValue;
|
|
20
|
-
//# sourceMappingURL=get-prop-value.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-prop-value.js","names":["getValueFromArray","getPropValue","key","props","options","baseKey","split","nestedKey","filter","_","i","join","prefix","suffix","value","valueIsArray","Array","isArray","nestedValue","trim"],"sources":["../../../../src/components/DataSummary/helpers/get-prop-value.js"],"sourcesContent":["import getValueFromArray from './get-value-from-array';\n\nconst getPropValue = (key, props, options = {}) => {\n const baseKey = key.split('.')[0];\n const nestedKey = key\n .split('.')\n .filter((_, i) => i !== 0)\n .join('.');\n const { prefix = '', suffix = '' } = options;\n const value = props[baseKey];\n\n if (typeof value !== 'boolean' && !value) return null;\n\n if (nestedKey) {\n const valueIsArray = Array.isArray(value);\n const nestedValue = !valueIsArray ? value[nestedKey] : '';\n if (valueIsArray) return getValueFromArray(nestedKey, value, prefix, suffix);\n return nestedValue ? `${prefix} ${nestedValue} ${suffix}`.trim() : null;\n }\n\n return `${prefix} ${value} ${suffix}`.trim();\n};\n\nexport default getPropValue;\n"],"mappings":"AAAA,OAAOA,iBAAiB,MAAM,wBAAwB;AAEtD,MAAMC,YAAY,GAAGA,CAACC,GAAG,EAAEC,KAAK,EAAEC,OAAO,GAAG,CAAC,CAAC,KAAK;EACjD,MAAMC,OAAO,GAAGH,GAAG,CAACI,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;EACjC,MAAMC,SAAS,GAAGL,GAAG,CAClBI,KAAK,CAAC,GAAG,CAAC,CACVE,MAAM,CAAC,CAACC,CAAC,EAAEC,CAAC,KAAKA,CAAC,KAAK,CAAC,CAAC,CACzBC,IAAI,CAAC,GAAG,CAAC;EACZ,MAAM;IAAEC,MAAM,GAAG,EAAE;IAAEC,MAAM,GAAG;EAAG,CAAC,GAAGT,OAAO;EAC5C,MAAMU,KAAK,GAAGX,KAAK,CAACE,OAAO,CAAC;EAE5B,IAAI,OAAOS,KAAK,KAAK,SAAS,IAAI,CAACA,KAAK,EAAE,OAAO,IAAI;EAErD,IAAIP,SAAS,EAAE;IACb,MAAMQ,YAAY,GAAGC,KAAK,CAACC,OAAO,CAACH,KAAK,CAAC;IACzC,MAAMI,WAAW,GAAG,CAACH,YAAY,GAAGD,KAAK,CAACP,SAAS,CAAC,GAAG,EAAE;IACzD,IAAIQ,YAAY,EAAE,OAAOf,iBAAiB,CAACO,SAAS,EAAEO,KAAK,EAAEF,MAAM,EAAEC,MAAM,CAAC;IAC5E,OAAOK,WAAW,GAAG,GAAGN,MAAM,IAAIM,WAAW,IAAIL,MAAM,EAAE,CAACM,IAAI,CAAC,CAAC,GAAG,IAAI;EACzE;EAEA,OAAO,GAAGP,MAAM,IAAIE,KAAK,IAAID,MAAM,EAAE,CAACM,IAAI,CAAC,CAAC;AAC9C,CAAC;AAED,eAAelB,YAAY","ignoreList":[]}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { isObject } from '../../../helpers';
|
|
2
|
-
const getValueFromArray = (key, arr, prefix, suffix) => {
|
|
3
|
-
const valuesFromArray = arr.map(obj => {
|
|
4
|
-
const value = isObject(obj) ? obj[key] : obj;
|
|
5
|
-
if (typeof value !== 'boolean' && !value) return null;
|
|
6
|
-
const objValueWithPrefixSuffix = `${prefix}${value}${suffix}`;
|
|
7
|
-
const objValueLink = obj.url || '';
|
|
8
|
-
return {
|
|
9
|
-
keyField: key,
|
|
10
|
-
[key]: objValueWithPrefixSuffix,
|
|
11
|
-
url: objValueLink
|
|
12
|
-
};
|
|
13
|
-
}).filter(Boolean);
|
|
14
|
-
return valuesFromArray.length ? valuesFromArray : null;
|
|
15
|
-
};
|
|
16
|
-
export default getValueFromArray;
|
|
17
|
-
//# sourceMappingURL=get-value-from-array.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-value-from-array.js","names":["isObject","getValueFromArray","key","arr","prefix","suffix","valuesFromArray","map","obj","value","objValueWithPrefixSuffix","objValueLink","url","keyField","filter","Boolean","length"],"sources":["../../../../src/components/DataSummary/helpers/get-value-from-array.js"],"sourcesContent":["import { isObject } from '../../../helpers';\n\nconst getValueFromArray = (key, arr, prefix, suffix) => {\n const valuesFromArray = arr\n .map(obj => {\n const value = isObject(obj) ? obj[key] : obj;\n if (typeof value !== 'boolean' && !value) return null;\n const objValueWithPrefixSuffix = `${prefix}${value}${suffix}`;\n const objValueLink = obj.url || '';\n\n return { keyField: key, [key]: objValueWithPrefixSuffix, url: objValueLink };\n })\n .filter(Boolean);\n return valuesFromArray.length ? valuesFromArray : null;\n};\n\nexport default getValueFromArray;\n"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,kBAAkB;AAE3C,MAAMC,iBAAiB,GAAGA,CAACC,GAAG,EAAEC,GAAG,EAAEC,MAAM,EAAEC,MAAM,KAAK;EACtD,MAAMC,eAAe,GAAGH,GAAG,CACxBI,GAAG,CAACC,GAAG,IAAI;IACV,MAAMC,KAAK,GAAGT,QAAQ,CAACQ,GAAG,CAAC,GAAGA,GAAG,CAACN,GAAG,CAAC,GAAGM,GAAG;IAC5C,IAAI,OAAOC,KAAK,KAAK,SAAS,IAAI,CAACA,KAAK,EAAE,OAAO,IAAI;IACrD,MAAMC,wBAAwB,GAAG,GAAGN,MAAM,GAAGK,KAAK,GAAGJ,MAAM,EAAE;IAC7D,MAAMM,YAAY,GAAGH,GAAG,CAACI,GAAG,IAAI,EAAE;IAElC,OAAO;MAAEC,QAAQ,EAAEX,GAAG;MAAE,CAACA,GAAG,GAAGQ,wBAAwB;MAAEE,GAAG,EAAED;IAAa,CAAC;EAC9E,CAAC,CAAC,CACDG,MAAM,CAACC,OAAO,CAAC;EAClB,OAAOT,eAAe,CAACU,MAAM,GAAGV,eAAe,GAAG,IAAI;AACxD,CAAC;AAED,eAAeL,iBAAiB","ignoreList":[]}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import getDataSummaryQuery from './get-data-summary-query';
|
|
2
|
-
import buildPropsToDisplayWithContent from './build-props-to-display-with-content';
|
|
3
|
-
import getLinkToPublishedContent from './get-link-to-published-content';
|
|
4
|
-
import stripSummaryPropsContent from './strip-summary-props-content';
|
|
5
|
-
import buildLoopPropsContent from './build-loop-props-content';
|
|
6
|
-
import parseBooleanValues from './parse-boolean-values';
|
|
7
|
-
import getLinkBasedOnValue from './get-link-based-on-value';
|
|
8
|
-
import getLinkProps from './get-link-props';
|
|
9
|
-
export { getDataSummaryQuery, buildPropsToDisplayWithContent, getLinkToPublishedContent, stripSummaryPropsContent, buildLoopPropsContent, parseBooleanValues, getLinkBasedOnValue, getLinkProps };
|
|
10
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["getDataSummaryQuery","buildPropsToDisplayWithContent","getLinkToPublishedContent","stripSummaryPropsContent","buildLoopPropsContent","parseBooleanValues","getLinkBasedOnValue","getLinkProps"],"sources":["../../../../src/components/DataSummary/helpers/index.js"],"sourcesContent":["import getDataSummaryQuery from './get-data-summary-query';\nimport buildPropsToDisplayWithContent from './build-props-to-display-with-content';\nimport getLinkToPublishedContent from './get-link-to-published-content';\nimport stripSummaryPropsContent from './strip-summary-props-content';\nimport buildLoopPropsContent from './build-loop-props-content';\nimport parseBooleanValues from './parse-boolean-values';\nimport getLinkBasedOnValue from './get-link-based-on-value';\nimport getLinkProps from './get-link-props';\n\nexport {\n getDataSummaryQuery,\n buildPropsToDisplayWithContent,\n getLinkToPublishedContent,\n stripSummaryPropsContent,\n buildLoopPropsContent,\n parseBooleanValues,\n getLinkBasedOnValue,\n getLinkProps\n};\n"],"mappings":"AAAA,OAAOA,mBAAmB,MAAM,0BAA0B;AAC1D,OAAOC,8BAA8B,MAAM,uCAAuC;AAClF,OAAOC,yBAAyB,MAAM,iCAAiC;AACvE,OAAOC,wBAAwB,MAAM,+BAA+B;AACpE,OAAOC,qBAAqB,MAAM,4BAA4B;AAC9D,OAAOC,kBAAkB,MAAM,wBAAwB;AACvD,OAAOC,mBAAmB,MAAM,2BAA2B;AAC3D,OAAOC,YAAY,MAAM,kBAAkB;AAE3C,SACEP,mBAAmB,EACnBC,8BAA8B,EAC9BC,yBAAyB,EACzBC,wBAAwB,EACxBC,qBAAqB,EACrBC,kBAAkB,EAClBC,mBAAmB,EACnBC,YAAY","ignoreList":[]}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
const parseBooleanValues = (wrappedValue, summaryTitle) => {
|
|
2
|
-
if (wrappedValue === 'false') return null;
|
|
3
|
-
if (wrappedValue === 'true') return summaryTitle;
|
|
4
|
-
return wrappedValue;
|
|
5
|
-
};
|
|
6
|
-
export default parseBooleanValues;
|
|
7
|
-
//# sourceMappingURL=parse-boolean-values.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parse-boolean-values.js","names":["parseBooleanValues","wrappedValue","summaryTitle"],"sources":["../../../../src/components/DataSummary/helpers/parse-boolean-values.js"],"sourcesContent":["const parseBooleanValues = (wrappedValue, summaryTitle) => {\n if (wrappedValue === 'false') return null;\n if (wrappedValue === 'true') return summaryTitle;\n return wrappedValue;\n};\nexport default parseBooleanValues;\n"],"mappings":"AAAA,MAAMA,kBAAkB,GAAGA,CAACC,YAAY,EAAEC,YAAY,KAAK;EACzD,IAAID,YAAY,KAAK,OAAO,EAAE,OAAO,IAAI;EACzC,IAAIA,YAAY,KAAK,MAAM,EAAE,OAAOC,YAAY;EAChD,OAAOD,YAAY;AACrB,CAAC;AACD,eAAeD,kBAAkB","ignoreList":[]}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { removeUnwantedCharacters } from '../../../helpers';
|
|
2
|
-
function stripSummaryPropsContent(propsToDisplay, summaryPropsWithContent) {
|
|
3
|
-
if (!propsToDisplay || !propsToDisplay[0] || !propsToDisplay[0].shouldStrip) return summaryPropsWithContent;
|
|
4
|
-
return summaryPropsWithContent.reduce((acc, summaryProp) => {
|
|
5
|
-
const [, contentWithUnwantedCharacters] = summaryProp;
|
|
6
|
-
const sanitizedContent = removeUnwantedCharacters(contentWithUnwantedCharacters);
|
|
7
|
-
const summaryPropsCopy = [...summaryProp];
|
|
8
|
-
summaryPropsCopy[1] = sanitizedContent;
|
|
9
|
-
acc.push(summaryPropsCopy);
|
|
10
|
-
return acc;
|
|
11
|
-
}, []);
|
|
12
|
-
}
|
|
13
|
-
export default stripSummaryPropsContent;
|
|
14
|
-
//# sourceMappingURL=strip-summary-props-content.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"strip-summary-props-content.js","names":["removeUnwantedCharacters","stripSummaryPropsContent","propsToDisplay","summaryPropsWithContent","shouldStrip","reduce","acc","summaryProp","contentWithUnwantedCharacters","sanitizedContent","summaryPropsCopy","push"],"sources":["../../../../src/components/DataSummary/helpers/strip-summary-props-content.js"],"sourcesContent":["import { removeUnwantedCharacters } from '../../../helpers';\n\nfunction stripSummaryPropsContent(propsToDisplay, summaryPropsWithContent) {\n if (!propsToDisplay || !propsToDisplay[0] || !propsToDisplay[0].shouldStrip)\n return summaryPropsWithContent;\n\n return summaryPropsWithContent.reduce((acc, summaryProp) => {\n const [, contentWithUnwantedCharacters] = summaryProp;\n const sanitizedContent = removeUnwantedCharacters(contentWithUnwantedCharacters);\n\n const summaryPropsCopy = [...summaryProp];\n summaryPropsCopy[1] = sanitizedContent;\n\n acc.push(summaryPropsCopy);\n return acc;\n }, []);\n}\n\nexport default stripSummaryPropsContent;\n"],"mappings":"AAAA,SAASA,wBAAwB,QAAQ,kBAAkB;AAE3D,SAASC,wBAAwBA,CAACC,cAAc,EAAEC,uBAAuB,EAAE;EACzE,IAAI,CAACD,cAAc,IAAI,CAACA,cAAc,CAAC,CAAC,CAAC,IAAI,CAACA,cAAc,CAAC,CAAC,CAAC,CAACE,WAAW,EACzE,OAAOD,uBAAuB;EAEhC,OAAOA,uBAAuB,CAACE,MAAM,CAAC,CAACC,GAAG,EAAEC,WAAW,KAAK;IAC1D,MAAM,GAAGC,6BAA6B,CAAC,GAAGD,WAAW;IACrD,MAAME,gBAAgB,GAAGT,wBAAwB,CAACQ,6BAA6B,CAAC;IAEhF,MAAME,gBAAgB,GAAG,CAAC,GAAGH,WAAW,CAAC;IACzCG,gBAAgB,CAAC,CAAC,CAAC,GAAGD,gBAAgB;IAEtCH,GAAG,CAACK,IAAI,CAACD,gBAAgB,CAAC;IAC1B,OAAOJ,GAAG;EACZ,CAAC,EAAE,EAAE,CAAC;AACR;AAEA,eAAeL,wBAAwB","ignoreList":[]}
|