@blaze-cms/react-page-builder 0.146.0-tooltips.1 → 0.146.0-tooltips.4
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 +19 -0
- package/lib/BannerContext/helpers/index.js.map +1 -1
- package/lib/BannerContext/helpers/set-initial-banner-counters.js +1 -1
- package/lib/BannerContext/helpers/set-initial-banner-counters.js.map +1 -1
- package/lib/BannerContext/index.js +2 -2
- package/lib/BannerContext/index.js.map +1 -1
- package/lib/HOC/index.js.map +1 -1
- package/lib/HOC/recreateOnNavigation.js +1 -1
- package/lib/HOC/recreateOnNavigation.js.map +1 -1
- package/lib/HOC/withInfiniteScroll.js +2 -2
- package/lib/HOC/withInfiniteScroll.js.map +1 -1
- package/lib/HOC/withTitle.js +2 -2
- package/lib/HOC/withTitle.js.map +1 -1
- package/lib/PBContext/index.js.map +1 -1
- package/lib/application/query/index.js +1 -1
- package/lib/application/query/index.js.map +1 -1
- package/lib/components/BackToTop/BackToTop.js +2 -2
- package/lib/components/BackToTop/BackToTop.js.map +1 -1
- package/lib/components/BackToTop/index.js.map +1 -1
- package/lib/components/Banner/AdSlotRender.js +4 -4
- package/lib/components/Banner/AdSlotRender.js.map +1 -1
- package/lib/components/Banner/Banner.js +3 -3
- package/lib/components/Banner/Banner.js.map +1 -1
- package/lib/components/Banner/BannerRender.js +4 -4
- package/lib/components/Banner/BannerRender.js.map +1 -1
- package/lib/components/Banner/helpers.js +16 -16
- package/lib/components/Banner/helpers.js.map +1 -1
- package/lib/components/Banner/index.js +3 -3
- package/lib/components/Banner/index.js.map +1 -1
- package/lib/components/BlazeLink.js +6 -6
- package/lib/components/BlazeLink.js.map +1 -1
- package/lib/components/Breadcrumb/Breadcrumb.js +3 -3
- package/lib/components/Breadcrumb/Breadcrumb.js.map +1 -1
- package/lib/components/Breadcrumb/index.js.map +1 -1
- package/lib/components/Button.js +6 -6
- package/lib/components/Button.js.map +1 -1
- package/lib/components/Card/Card.js +4 -4
- package/lib/components/Card/Card.js.map +1 -1
- package/lib/components/Card/CardsContainer.js +8 -8
- package/lib/components/Card/CardsContainer.js.map +1 -1
- package/lib/components/Card/CardsFactory.js +1 -1
- package/lib/components/Card/CardsFactory.js.map +1 -1
- package/lib/components/Card/CardsRender.js +12 -12
- package/lib/components/Card/CardsRender.js.map +1 -1
- package/lib/components/Card/constants.js.map +1 -1
- package/lib/components/Card/helpers/get-dynamic-grid-classes.js +3 -3
- package/lib/components/Card/helpers/get-dynamic-grid-classes.js.map +1 -1
- package/lib/components/Card/helpers/get-published-listing-url.js.map +1 -1
- package/lib/components/Card/helpers/index.js.map +1 -1
- package/lib/components/Card/helpers/use-dynamic-size-key.js +3 -3
- package/lib/components/Card/helpers/use-dynamic-size-key.js.map +1 -1
- package/lib/components/Card/index.js.map +1 -1
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/Carousel/CarouselImage/CarouselImage.js.map +1 -1
- package/lib/components/Carousel/CarouselImage/constants.js.map +1 -1
- package/lib/components/Carousel/CarouselImage/index.js.map +1 -1
- package/lib/components/Carousel/CarouselRender/CarouselRender.js.map +1 -1
- package/lib/components/Carousel/CarouselRender/index.js.map +1 -1
- package/lib/components/Carousel/hooks/useCarouselNavigation.js.map +1 -1
- package/lib/components/Carousel/index.js.map +1 -1
- package/lib/components/CarouselWrapper/CarouselWrapper.js.map +1 -1
- package/lib/components/CarouselWrapper/DefaultCarousel.js +3 -3
- package/lib/components/CarouselWrapper/DefaultCarousel.js.map +1 -1
- package/lib/components/CarouselWrapper/SmoothScrollCarousel.js.map +1 -1
- package/lib/components/CarouselWrapper/index.js.map +1 -1
- package/lib/components/ClickWrapper.js +6 -6
- package/lib/components/ClickWrapper.js.map +1 -1
- package/lib/components/Code/Code.js +6 -6
- package/lib/components/Code/Code.js.map +1 -1
- package/lib/components/Code/ScriptTag.js +3 -3
- package/lib/components/Code/ScriptTag.js.map +1 -1
- package/lib/components/Code/helpers/index.js.map +1 -1
- package/lib/components/Code/helpers/wrap-script-tags.js +1 -1
- package/lib/components/Code/helpers/wrap-script-tags.js.map +1 -1
- package/lib/components/Code/index.js.map +1 -1
- package/lib/components/ContentGroup/ContentGroup.js.map +1 -1
- package/lib/components/ContentGroup/ContentGroupTabs.js +3 -3
- package/lib/components/ContentGroup/ContentGroupTabs.js.map +1 -1
- package/lib/components/ContentGroup/constants.js.map +1 -1
- package/lib/components/ContentGroup/helpers/get-active-tab.js +1 -1
- package/lib/components/ContentGroup/helpers/get-active-tab.js.map +1 -1
- package/lib/components/ContentGroup/helpers/get-sections-data.js.map +1 -1
- package/lib/components/ContentGroup/helpers/index.js.map +1 -1
- package/lib/components/ContentGroup/index.js.map +1 -1
- package/lib/components/ContentGroupSection/ContentGroupSection.js.map +1 -1
- package/lib/components/ContentGroupSection/index.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryFactory.js +2 -2
- package/lib/components/DataSummary/DataSummaryFactory.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryRender.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummary.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummaryContent.js +3 -3
- package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummaryContent.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/index.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummary.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummaryContent.js +3 -3
- package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummaryContent.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/index.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummary.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummaryContent.js +3 -3
- package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummaryContent.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/index.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/ListSummary/ListSummary.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.js +3 -3
- package/lib/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/ListSummary/index.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/TextSummary/TextSummary.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/TextSummary/TextSummaryContent.js +3 -3
- package/lib/components/DataSummary/DataSummaryTypes/TextSummary/TextSummaryContent.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/TextSummary/index.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/index.js +3 -3
- package/lib/components/DataSummary/DataSummaryTypes/index.js.map +1 -1
- package/lib/components/DataSummary/helpers/build-loop-props-content.js +5 -5
- package/lib/components/DataSummary/helpers/build-loop-props-content.js.map +1 -1
- package/lib/components/DataSummary/helpers/build-props-to-display-with-content.js +2 -2
- package/lib/components/DataSummary/helpers/build-props-to-display-with-content.js.map +1 -1
- package/lib/components/DataSummary/helpers/get-data-summary-query.js.map +1 -1
- package/lib/components/DataSummary/helpers/get-link-based-on-value.js.map +1 -1
- package/lib/components/DataSummary/helpers/get-link-props.js +2 -2
- package/lib/components/DataSummary/helpers/get-link-props.js.map +1 -1
- package/lib/components/DataSummary/helpers/get-link-to-published-content.js.map +1 -1
- package/lib/components/DataSummary/helpers/get-loop-props-limit.js +2 -2
- package/lib/components/DataSummary/helpers/get-loop-props-limit.js.map +1 -1
- package/lib/components/DataSummary/helpers/get-prop-value.js +3 -3
- package/lib/components/DataSummary/helpers/get-prop-value.js.map +1 -1
- package/lib/components/DataSummary/helpers/get-value-from-array.js +2 -2
- package/lib/components/DataSummary/helpers/get-value-from-array.js.map +1 -1
- package/lib/components/DataSummary/helpers/index.js.map +1 -1
- package/lib/components/DataSummary/helpers/parse-boolean-values.js.map +1 -1
- package/lib/components/DataSummary/helpers/strip-summary-props-content.js.map +1 -1
- package/lib/components/DataSummary/index.js.map +1 -1
- package/lib/components/DateTime/DateTime.js.map +1 -1
- package/lib/components/DateTime/index.js.map +1 -1
- package/lib/components/EmailConfirm/EmailConfirm.js +2 -2
- package/lib/components/EmailConfirm/EmailConfirm.js.map +1 -1
- package/lib/components/EmailConfirm/index.js.map +1 -1
- package/lib/components/EmailConfirm/mutation.js.map +1 -1
- package/lib/components/Iframe/Iframe.js.map +1 -1
- package/lib/components/Iframe/constants.js.map +1 -1
- package/lib/components/Iframe/index.js.map +1 -1
- package/lib/components/Image/GlobalLightbox/GlobalLightbox.js +3 -3
- package/lib/components/Image/GlobalLightbox/GlobalLightbox.js.map +1 -1
- package/lib/components/Image/GlobalLightbox/NavButton.js.map +1 -1
- package/lib/components/Image/GlobalLightbox/index.js +3 -3
- package/lib/components/Image/GlobalLightbox/index.js.map +1 -1
- package/lib/components/Image/Image.js +7 -7
- package/lib/components/Image/Image.js.map +1 -1
- package/lib/components/Image/ImageDetails.js.map +1 -1
- package/lib/components/Image/ImageFactory.js +2 -2
- package/lib/components/Image/ImageFactory.js.map +1 -1
- package/lib/components/Image/ImageRender.js.map +1 -1
- package/lib/components/Image/Lightbox/Lightbox.js +2 -2
- package/lib/components/Image/Lightbox/Lightbox.js.map +1 -1
- package/lib/components/Image/Lightbox/index.js.map +1 -1
- package/lib/components/Image/index.js.map +1 -1
- package/lib/components/ItemList/ItemListButton/ItemListButton.js +4 -4
- package/lib/components/ItemList/ItemListButton/ItemListButton.js.map +1 -1
- package/lib/components/ItemList/ItemListButton/index.js.map +1 -1
- package/lib/components/ItemList/ItemListCounter/ItemListCounter.js.map +1 -1
- package/lib/components/ItemList/ItemListCounter/index.js.map +1 -1
- package/lib/components/ItemList/ItemListNew/ItemListNew.js.map +1 -1
- package/lib/components/ItemList/ItemListNew/index.js.map +1 -1
- package/lib/components/ItemList/constants.js.map +1 -1
- package/lib/components/ItemList/helpers/get-item-list-data.js.map +1 -1
- package/lib/components/ItemList/helpers/get-item-list-id.js.map +1 -1
- package/lib/components/ItemList/helpers/get-item-list-ids.js.map +1 -1
- package/lib/components/ItemList/helpers/index.js.map +1 -1
- package/lib/components/ItemList/helpers/set-item-list-id.js.map +1 -1
- package/lib/components/ItemList/helpers/set-param-and-redirect.js +4 -4
- package/lib/components/ItemList/helpers/set-param-and-redirect.js.map +1 -1
- package/lib/components/ItemList/hooks/index.js.map +1 -1
- package/lib/components/ItemList/hooks/use-item-list-id.js.map +1 -1
- package/lib/components/Layout/Layout.js +5 -5
- package/lib/components/Layout/Layout.js.map +1 -1
- package/lib/components/Layout/LayoutFactory.js +3 -3
- package/lib/components/Layout/LayoutFactory.js.map +1 -1
- package/lib/components/Layout/LayoutWithStickyTimer.js +2 -2
- package/lib/components/Layout/LayoutWithStickyTimer.js.map +1 -1
- package/lib/components/Layout/constants.js.map +1 -1
- package/lib/components/Layout/helpers/check-if-row-has-columns.js +1 -1
- package/lib/components/Layout/helpers/check-if-row-has-columns.js.map +1 -1
- package/lib/components/Layout/helpers/get-styles-to-update.js.map +1 -1
- package/lib/components/Layout/helpers/index.js.map +1 -1
- package/lib/components/Layout/index.js.map +1 -1
- package/lib/components/LazyImage/LazyImage.js.map +1 -1
- package/lib/components/LazyImage/index.js +3 -3
- package/lib/components/LazyImage/index.js.map +1 -1
- package/lib/components/List/ListBuilder.js +5 -5
- package/lib/components/List/ListBuilder.js.map +1 -1
- package/lib/components/List/ListFactory.js +10 -10
- package/lib/components/List/ListFactory.js.map +1 -1
- package/lib/components/List/ListRender.js.map +1 -1
- package/lib/components/List/components/Cards/CardRenderWithInfiniteScroll.js.map +1 -1
- package/lib/components/List/components/Cards/CardsRender.js +7 -7
- package/lib/components/List/components/Cards/CardsRender.js.map +1 -1
- package/lib/components/List/components/Cards/CardsRenderItem.js.map +1 -1
- package/lib/components/List/components/Cards/CardsRenderWrapper.js +2 -2
- package/lib/components/List/components/Cards/CardsRenderWrapper.js.map +1 -1
- package/lib/components/List/components/Cards/index.js.map +1 -1
- package/lib/components/List/components/Full/FullRender.js +6 -6
- package/lib/components/List/components/Full/FullRender.js.map +1 -1
- package/lib/components/List/components/Full/FullRenderItem.js +6 -6
- package/lib/components/List/components/Full/FullRenderItem.js.map +1 -1
- package/lib/components/List/components/Full/FullRenderWithInfiniteScroll.js.map +1 -1
- package/lib/components/List/components/Full/index.js.map +1 -1
- package/lib/components/List/components/Header/ListHeader.js +1 -1
- package/lib/components/List/components/Header/ListHeader.js.map +1 -1
- package/lib/components/List/components/Header/index.js.map +1 -1
- package/lib/components/List/components/Pagination/Classic.js.map +1 -1
- package/lib/components/List/components/Pagination/ListPagination.js +6 -6
- package/lib/components/List/components/Pagination/ListPagination.js.map +1 -1
- package/lib/components/List/components/Pagination/LoadMore.js.map +1 -1
- package/lib/components/List/components/Pagination/index.js.map +1 -1
- package/lib/components/List/components/helpers/check-if-should-render-banner.js +2 -2
- package/lib/components/List/components/helpers/check-if-should-render-banner.js.map +1 -1
- package/lib/components/List/components/helpers/check-if-should-render-gtm.js +2 -2
- package/lib/components/List/components/helpers/check-if-should-render-gtm.js.map +1 -1
- package/lib/components/List/components/helpers/index.js.map +1 -1
- package/lib/components/List/components/index.js.map +1 -1
- package/lib/components/List/constants.js.map +1 -1
- package/lib/components/List/helpers/build-az-aggregations.js +3 -3
- package/lib/components/List/helpers/build-az-aggregations.js.map +1 -1
- package/lib/components/List/helpers/build-az-url.js +5 -5
- package/lib/components/List/helpers/build-az-url.js.map +1 -1
- package/lib/components/List/helpers/build-pagination-items.js.map +1 -1
- package/lib/components/List/helpers/build-pagination-url.js +5 -5
- package/lib/components/List/helpers/build-pagination-url.js.map +1 -1
- package/lib/components/List/helpers/build-query-booster.js +6 -6
- package/lib/components/List/helpers/build-query-booster.js.map +1 -1
- package/lib/components/List/helpers/get-az-query-filter.js.map +1 -1
- package/lib/components/List/helpers/get-items-per-page-to-use.js.map +1 -1
- package/lib/components/List/helpers/get-list-component.js.map +1 -1
- package/lib/components/List/helpers/get-list-query.js +3 -3
- package/lib/components/List/helpers/get-list-query.js.map +1 -1
- package/lib/components/List/helpers/get-list-specific-search-filter.js.map +1 -1
- package/lib/components/List/helpers/get-sort-props.js +2 -2
- package/lib/components/List/helpers/get-sort-props.js.map +1 -1
- package/lib/components/List/helpers/has-required-item-list-details.js.map +1 -1
- package/lib/components/List/helpers/index.js.map +1 -1
- package/lib/components/List/helpers/sort-aggs.js.map +1 -1
- package/lib/components/List/helpers/strip-query-key.js.map +1 -1
- package/lib/components/List/index.js.map +1 -1
- package/lib/components/Loading/Loading.js.map +1 -1
- package/lib/components/Loading/constants.js.map +1 -1
- package/lib/components/Loading/helpers.js.map +1 -1
- package/lib/components/Loading/index.js.map +1 -1
- package/lib/components/Menu/Menu.js +2 -2
- package/lib/components/Menu/Menu.js.map +1 -1
- package/lib/components/Menu/MenuContext.js.map +1 -1
- package/lib/components/Menu/index.js.map +1 -1
- package/lib/components/MenuItem/MenuEntitiesItem.js +5 -5
- package/lib/components/MenuItem/MenuEntitiesItem.js.map +1 -1
- package/lib/components/MenuItem/MenuItem.js.map +1 -1
- package/lib/components/MenuItem/MenuItemRender.js +9 -9
- package/lib/components/MenuItem/MenuItemRender.js.map +1 -1
- package/lib/components/MenuItem/helpers/has-active-child.js.map +1 -1
- package/lib/components/MenuItem/helpers/index.js.map +1 -1
- package/lib/components/MenuItem/helpers/inject-helper-into-template.js.map +1 -1
- package/lib/components/MenuItem/helpers/isUrlPathMatch.js +1 -1
- package/lib/components/MenuItem/helpers/isUrlPathMatch.js.map +1 -1
- package/lib/components/MenuItem/index.js.map +1 -1
- package/lib/components/Modal/Modal.js.map +1 -1
- package/lib/components/Modal/index.js.map +1 -1
- package/lib/components/ModalAdapter/ModalAdapter.js.map +1 -1
- package/lib/components/ModalAdapter/index.js +3 -3
- package/lib/components/ModalAdapter/index.js.map +1 -1
- package/lib/components/SearchContent/SearchContent.js +3 -3
- package/lib/components/SearchContent/SearchContent.js.map +1 -1
- package/lib/components/SearchContent/SearchContentItems.js.map +1 -1
- package/lib/components/SearchContent/SearchContentResults.js.map +1 -1
- package/lib/components/SearchContent/SearchContentToggleIcon.js.map +1 -1
- package/lib/components/SearchContent/constants.js.map +1 -1
- package/lib/components/SearchContent/index.js.map +1 -1
- package/lib/components/SearchFilter/SearchFilter/CloseMobileForm.js.map +1 -1
- package/lib/components/SearchFilter/SearchFilter/FiltersList.js +3 -3
- package/lib/components/SearchFilter/SearchFilter/FiltersList.js.map +1 -1
- package/lib/components/SearchFilter/SearchFilter/MobileFormToolbar.js.map +1 -1
- package/lib/components/SearchFilter/SearchFilter/ResetDesktopForm.js.map +1 -1
- package/lib/components/SearchFilter/SearchFilter/SearchFilter.js +3 -3
- package/lib/components/SearchFilter/SearchFilter/SearchFilter.js.map +1 -1
- package/lib/components/SearchFilter/SearchFilter/index.js.map +1 -1
- package/lib/components/SearchFilter/SearchFilterContainer.js +4 -4
- package/lib/components/SearchFilter/SearchFilterContainer.js.map +1 -1
- package/lib/components/SearchFilter/components/Checkbox.js +7 -7
- package/lib/components/SearchFilter/components/Checkbox.js.map +1 -1
- package/lib/components/SearchFilter/components/Range.js +4 -4
- package/lib/components/SearchFilter/components/Range.js.map +1 -1
- package/lib/components/SearchFilter/components/Select.js +3 -3
- package/lib/components/SearchFilter/components/Select.js.map +1 -1
- package/lib/components/SearchFilter/components/TextSearch.js.map +1 -1
- package/lib/components/SearchFilter/components/index.js.map +1 -1
- package/lib/components/SearchFilter/constants.js.map +1 -1
- package/lib/components/SearchFilter/helpers/build-list-name-query.js +3 -3
- package/lib/components/SearchFilter/helpers/build-list-name-query.js.map +1 -1
- package/lib/components/SearchFilter/helpers/build-new-url.js.map +1 -1
- package/lib/components/SearchFilter/helpers/build-url-query.js +3 -3
- package/lib/components/SearchFilter/helpers/build-url-query.js.map +1 -1
- package/lib/components/SearchFilter/helpers/calculate-min-max.js.map +1 -1
- package/lib/components/SearchFilter/helpers/calculate-step.js.map +1 -1
- package/lib/components/SearchFilter/helpers/check-if-range-updated.js.map +1 -1
- package/lib/components/SearchFilter/helpers/decode-encode.js.map +1 -1
- package/lib/components/SearchFilter/helpers/get-display-value.js +1 -1
- package/lib/components/SearchFilter/helpers/get-display-value.js.map +1 -1
- package/lib/components/SearchFilter/helpers/get-filter-ranges-and-checkboxes-values.js +2 -2
- package/lib/components/SearchFilter/helpers/get-filter-ranges-and-checkboxes-values.js.map +1 -1
- package/lib/components/SearchFilter/helpers/get-filter-value-from-query.js.map +1 -1
- package/lib/components/SearchFilter/helpers/get-filter-values.js.map +1 -1
- package/lib/components/SearchFilter/helpers/get-initial-filter-values.js.map +1 -1
- package/lib/components/SearchFilter/helpers/get-intersected-prop.js.map +1 -1
- package/lib/components/SearchFilter/helpers/get-range-value.js.map +1 -1
- package/lib/components/SearchFilter/helpers/get-responsive-filter-classnames.js.map +1 -1
- package/lib/components/SearchFilter/helpers/get-select-options.js.map +1 -1
- package/lib/components/SearchFilter/helpers/get-updated-filter-by.js +2 -2
- package/lib/components/SearchFilter/helpers/get-updated-filter-by.js.map +1 -1
- package/lib/components/SearchFilter/helpers/index.js.map +1 -1
- package/lib/components/SearchFilter/helpers/is-device-desktop.js.map +1 -1
- package/lib/components/SearchFilter/helpers/parse-filter-value.js.map +1 -1
- package/lib/components/SearchFilter/index.js.map +1 -1
- package/lib/components/SearchFilter/searchFilterReducer.js +5 -5
- package/lib/components/SearchFilter/searchFilterReducer.js.map +1 -1
- package/lib/components/SearchFilterSort/SearchFilterSort.js.map +1 -1
- package/lib/components/SearchFilterSort/constants.js.map +1 -1
- package/lib/components/SearchFilterSort/helpers/handle-sort-update.js +2 -2
- package/lib/components/SearchFilterSort/helpers/handle-sort-update.js.map +1 -1
- package/lib/components/SearchFilterSort/helpers/index.js.map +1 -1
- package/lib/components/SearchFilterSort/helpers/update-sort.js +5 -5
- package/lib/components/SearchFilterSort/helpers/update-sort.js.map +1 -1
- package/lib/components/SearchFilterSort/index.js.map +1 -1
- package/lib/components/SocialFollow/SFItem.js.map +1 -1
- package/lib/components/SocialFollow/SocialFollow.js.map +1 -1
- package/lib/components/SocialFollow/SocialFollowRender.js.map +1 -1
- package/lib/components/SocialFollow/index.js.map +1 -1
- package/lib/components/SocialFollow/sf.config.js.map +1 -1
- package/lib/components/SubMenu/SubMenu.js.map +1 -1
- package/lib/components/SubMenu/index.js.map +1 -1
- package/lib/components/TextBlock/TextBlockRender.js.map +1 -1
- package/lib/components/TextBlock/index.js +5 -5
- package/lib/components/TextBlock/index.js.map +1 -1
- package/lib/components/Video/Video.js +5 -5
- package/lib/components/Video/Video.js.map +1 -1
- package/lib/components/Video/VideoContext.js.map +1 -1
- package/lib/components/Video/VideoModal.js +2 -2
- package/lib/components/Video/VideoModal.js.map +1 -1
- package/lib/components/Video/VideoRender.js +2 -2
- package/lib/components/Video/VideoRender.js.map +1 -1
- package/lib/components/Video/constants.js.map +1 -1
- package/lib/components/Video/helpers/emit-gtm-event.js.map +1 -1
- package/lib/components/Video/index.js.map +1 -1
- package/lib/components/Video/providers/Default.js.map +1 -1
- package/lib/components/Video/providers/JWPlayer/JWPlayerController.js.map +1 -1
- package/lib/components/Video/providers/JWPlayer/JWPlayerProvider.js +6 -6
- package/lib/components/Video/providers/JWPlayer/JWPlayerProvider.js.map +1 -1
- package/lib/components/Video/providers/Vimeo/VimeoProvider.js +2 -2
- package/lib/components/Video/providers/Vimeo/VimeoProvider.js.map +1 -1
- package/lib/components/Video/providers/Vimeo/helpers/add-extra-params-to-url.js +6 -6
- package/lib/components/Video/providers/Vimeo/helpers/add-extra-params-to-url.js.map +1 -1
- package/lib/components/Video/providers/Vimeo/helpers/index.js.map +1 -1
- package/lib/components/Video/providers/YouTube/YouTubeProvider.js.map +1 -1
- package/lib/components/Video/providers/YouTube/YoutubeEmbeded.js +2 -2
- package/lib/components/Video/providers/YouTube/YoutubeEmbeded.js.map +1 -1
- package/lib/components/Video/providers/YouTube/helpers/index.js +1 -1
- package/lib/components/Video/providers/YouTube/helpers/index.js.map +1 -1
- package/lib/components/Video/providers/get-provider.js +3 -3
- package/lib/components/Video/providers/get-provider.js.map +1 -1
- package/lib/components/Video/providers/index.js.map +1 -1
- package/lib/components/Wrapper.js.map +1 -1
- package/lib/components/index.js +3 -3
- package/lib/components/index.js.map +1 -1
- package/lib/constants/componentsDefaultValues.js.map +1 -1
- package/lib/constants/index.js.map +1 -1
- package/lib/helpers/append-images.js +5 -5
- package/lib/helpers/append-images.js.map +1 -1
- package/lib/helpers/build-az-filter.js.map +1 -1
- package/lib/helpers/build-checkbox-filters.js.map +1 -1
- package/lib/helpers/build-filters-query.js +6 -6
- package/lib/helpers/build-filters-query.js.map +1 -1
- package/lib/helpers/build-image-properties.js.map +1 -1
- package/lib/helpers/build-inherited-filters.js +4 -4
- package/lib/helpers/build-inherited-filters.js.map +1 -1
- package/lib/helpers/build-link-extra-props.js.map +1 -1
- package/lib/helpers/build-props-query.js +9 -9
- package/lib/helpers/build-props-query.js.map +1 -1
- package/lib/helpers/build-query-fields.js +1 -1
- package/lib/helpers/build-query-fields.js.map +1 -1
- package/lib/helpers/build-query-key.js.map +1 -1
- package/lib/helpers/build-raw-query-base.js +9 -9
- package/lib/helpers/build-raw-query-base.js.map +1 -1
- package/lib/helpers/build-raw-query-stringified.js +1 -1
- package/lib/helpers/build-raw-query-stringified.js.map +1 -1
- package/lib/helpers/build-raw-query.js +5 -5
- package/lib/helpers/build-raw-query.js.map +1 -1
- package/lib/helpers/build-search-values-checkbox-select.js +7 -7
- package/lib/helpers/build-search-values-checkbox-select.js.map +1 -1
- package/lib/helpers/build-search-values-text.js.map +1 -1
- package/lib/helpers/build-set-filters.js +3 -3
- package/lib/helpers/build-set-filters.js.map +1 -1
- package/lib/helpers/build-sort-values.js +6 -6
- package/lib/helpers/build-sort-values.js.map +1 -1
- package/lib/helpers/check-for-error.js.map +1 -1
- package/lib/helpers/check-props-to-use.js.map +1 -1
- package/lib/helpers/entities/constants.js.map +1 -1
- package/lib/helpers/filter-query-setup.js +5 -5
- package/lib/helpers/filter-query-setup.js.map +1 -1
- package/lib/helpers/filters-setup.js.map +1 -1
- package/lib/helpers/get-banner-data.js +5 -5
- package/lib/helpers/get-banner-data.js.map +1 -1
- package/lib/helpers/get-checkbox-filters.js.map +1 -1
- package/lib/helpers/get-click-wrapper-options.js +6 -6
- package/lib/helpers/get-click-wrapper-options.js.map +1 -1
- package/lib/helpers/get-current-offset.js.map +1 -1
- package/lib/helpers/get-dictionary-match.js.map +1 -1
- package/lib/helpers/get-display-count-data.js.map +1 -1
- package/lib/helpers/get-elasticsearch-operator.js.map +1 -1
- package/lib/helpers/get-entities-with-banner.js +5 -5
- package/lib/helpers/get-entities-with-banner.js.map +1 -1
- package/lib/helpers/get-entity-data.js.map +1 -1
- package/lib/helpers/get-entity-render-props.js.map +1 -1
- package/lib/helpers/get-extra-az-bits.js.map +1 -1
- package/lib/helpers/get-filter-props.js.map +1 -1
- package/lib/helpers/get-filter-relation-keys.js +1 -1
- package/lib/helpers/get-filter-relation-keys.js.map +1 -1
- package/lib/helpers/get-generic-props.js +5 -5
- package/lib/helpers/get-generic-props.js.map +1 -1
- package/lib/helpers/get-generic-render-variables.js +6 -6
- package/lib/helpers/get-generic-render-variables.js.map +1 -1
- package/lib/helpers/get-image-ids.js +2 -2
- package/lib/helpers/get-image-ids.js.map +1 -1
- package/lib/helpers/get-inherited-filters.js +2 -2
- package/lib/helpers/get-inherited-filters.js.map +1 -1
- package/lib/helpers/get-items-to-display-ids.js +2 -2
- package/lib/helpers/get-items-to-display-ids.js.map +1 -1
- package/lib/helpers/get-modifiers.js +3 -3
- package/lib/helpers/get-modifiers.js.map +1 -1
- package/lib/helpers/get-not-equal-query.js.map +1 -1
- package/lib/helpers/get-pagination-index.js.map +1 -1
- package/lib/helpers/get-parsed-prop-values.js +3 -3
- package/lib/helpers/get-parsed-prop-values.js.map +1 -1
- package/lib/helpers/get-parsed-summary-value.js.map +1 -1
- package/lib/helpers/get-prop-values.js +2 -2
- package/lib/helpers/get-prop-values.js.map +1 -1
- package/lib/helpers/get-query-filters.js.map +1 -1
- package/lib/helpers/get-query-props.js +3 -3
- package/lib/helpers/get-query-props.js.map +1 -1
- package/lib/helpers/get-required-schemas.js +3 -3
- package/lib/helpers/get-required-schemas.js.map +1 -1
- package/lib/helpers/get-sanitized-prop-values.js.map +1 -1
- package/lib/helpers/get-search-filter-type.js.map +1 -1
- package/lib/helpers/get-sort-by-field-name.js +4 -4
- package/lib/helpers/get-sort-by-field-name.js.map +1 -1
- package/lib/helpers/get-unpublished-entity-name.js +1 -1
- package/lib/helpers/get-unpublished-entity-name.js.map +1 -1
- package/lib/helpers/get-updated-filter-by.js.map +1 -1
- package/lib/helpers/get-updated-items-to-display.js +3 -3
- package/lib/helpers/get-updated-items-to-display.js.map +1 -1
- package/lib/helpers/get-updated-sort-properties.js +2 -2
- package/lib/helpers/get-updated-sort-properties.js.map +1 -1
- package/lib/helpers/get-wrapped-value-with-link.js +1 -1
- package/lib/helpers/get-wrapped-value-with-link.js.map +1 -1
- package/lib/helpers/group-entities.js +1 -1
- package/lib/helpers/group-entities.js.map +1 -1
- package/lib/helpers/has-children.js.map +1 -1
- package/lib/helpers/index.js.map +1 -1
- package/lib/helpers/inject-banner.js.map +1 -1
- package/lib/helpers/inject-banners-to-entities.js.map +1 -1
- package/lib/helpers/inject-multiple-banners/get-banners-for-entities/get-banners-for-entities.js.map +1 -1
- package/lib/helpers/inject-multiple-banners/get-banners-for-entities/index.js.map +1 -1
- package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/get-banners-for-nodes.js +6 -6
- package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/get-banners-for-nodes.js.map +1 -1
- package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/group-node-entities.js +3 -3
- package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/group-node-entities.js.map +1 -1
- package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/index.js.map +1 -1
- package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/index.js.map +1 -1
- package/lib/helpers/inject-multiple-banners/index.js.map +1 -1
- package/lib/helpers/inject-multiple-banners/inject-multiple-banners.js.map +1 -1
- package/lib/helpers/is-browser.js.map +1 -1
- package/lib/helpers/is-filter-entitys-id.js +1 -1
- package/lib/helpers/is-filter-entitys-id.js.map +1 -1
- package/lib/helpers/is-object.js.map +1 -1
- package/lib/helpers/is-using-relation-image.js.map +1 -1
- package/lib/helpers/parse-TextBlock.js +2 -2
- package/lib/helpers/parse-TextBlock.js.map +1 -1
- package/lib/helpers/parse-interval.js.map +1 -1
- package/lib/helpers/parse-props-to-display.js +4 -4
- package/lib/helpers/parse-props-to-display.js.map +1 -1
- package/lib/helpers/process-data-summary-value.js +8 -8
- package/lib/helpers/process-data-summary-value.js.map +1 -1
- package/lib/helpers/remove-extra-items.js.map +1 -1
- package/lib/helpers/remove-unwanted-characters.js +6 -6
- package/lib/helpers/remove-unwanted-characters.js.map +1 -1
- package/lib/helpers/render-children.js +5 -5
- package/lib/helpers/render-children.js.map +1 -1
- package/lib/helpers/should-render-waypoint.js.map +1 -1
- package/lib/helpers/should-return.js.map +1 -1
- package/lib/helpers/should-show-property.js.map +1 -1
- package/lib/helpers/should-skip-single-query.js.map +1 -1
- package/lib/helpers/sort-response-data.js +2 -2
- package/lib/helpers/sort-response-data.js.map +1 -1
- package/lib/helpers/split-children.js +5 -5
- package/lib/helpers/split-children.js.map +1 -1
- package/lib/helpers/update-childrens-parent.js +3 -3
- package/lib/helpers/update-childrens-parent.js.map +1 -1
- package/lib/hooks/helpers/RenderComponent.js +1 -1
- package/lib/hooks/helpers/RenderComponent.js.map +1 -1
- package/lib/hooks/helpers/StoreImages.js +4 -4
- package/lib/hooks/helpers/StoreImages.js.map +1 -1
- package/lib/hooks/helpers/append-gtm-classname.js +7 -7
- package/lib/hooks/helpers/append-gtm-classname.js.map +1 -1
- package/lib/hooks/helpers/buildPBComponents.js +7 -7
- package/lib/hooks/helpers/buildPBComponents.js.map +1 -1
- package/lib/hooks/helpers/check-banner-insertion-set.js.map +1 -1
- package/lib/hooks/helpers/check-collisions.js +3 -3
- package/lib/hooks/helpers/check-collisions.js.map +1 -1
- package/lib/hooks/helpers/constants.js.map +1 -1
- package/lib/hooks/helpers/get-banner-index.js.map +1 -1
- package/lib/hooks/helpers/get-components-to-insert-by-type.js.map +1 -1
- package/lib/hooks/helpers/get-lightbox-images.js +8 -8
- package/lib/hooks/helpers/get-lightbox-images.js.map +1 -1
- package/lib/hooks/helpers/getComponent.js.map +1 -1
- package/lib/hooks/helpers/getVariant.js.map +1 -1
- package/lib/hooks/helpers/index.js.map +1 -1
- package/lib/hooks/helpers/inject-element-components.js +4 -4
- package/lib/hooks/helpers/inject-element-components.js.map +1 -1
- package/lib/hooks/helpers/inject-textblock-banners.js +7 -7
- package/lib/hooks/helpers/inject-textblock-banners.js.map +1 -1
- package/lib/hooks/helpers/insert-banners.js +9 -9
- package/lib/hooks/helpers/insert-banners.js.map +1 -1
- package/lib/hooks/helpers/update-targetings.js.map +1 -1
- package/lib/hooks/index.js.map +1 -1
- package/lib/hooks/use-app-sync-event-hook.js.map +1 -1
- package/lib/hooks/use-banner-insertion.js +1 -1
- package/lib/hooks/use-banner-insertion.js.map +1 -1
- package/lib/hooks/use-check-mobile-screen.js.map +1 -1
- package/lib/hooks/use-filter-aggregation-values.js +5 -5
- package/lib/hooks/use-filter-aggregation-values.js.map +1 -1
- package/lib/hooks/use-get-entity-schema.js.map +1 -1
- package/lib/hooks/use-get-entity-schemas-as-obj.js +1 -1
- package/lib/hooks/use-get-entity-schemas-as-obj.js.map +1 -1
- package/lib/hooks/use-get-image-id-from-relation.js +1 -1
- package/lib/hooks/use-get-image-id-from-relation.js.map +1 -1
- package/lib/hooks/use-get-images.js.map +1 -1
- package/lib/hooks/use-get-single-entity-schema.js.map +1 -1
- package/lib/hooks/use-page-builder.js.map +1 -1
- package/lib/hooks/use-portal.js +2 -2
- package/lib/hooks/use-portal.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/utils/component-map.js +1 -1
- package/lib/utils/component-map.js.map +1 -1
- package/lib/utils/get-class-modifiers.js +7 -7
- package/lib/utils/get-class-modifiers.js.map +1 -1
- package/lib/utils/get-image-data.js.map +1 -1
- package/lib/utils/get-props-to-display-modifiers.js.map +1 -1
- package/lib/utils/index.js.map +1 -1
- package/lib/utils/is-object-empty.js.map +1 -1
- package/lib/utils/variant-handler.js +1 -1
- package/lib/utils/variant-handler.js.map +1 -1
- package/lib/variants/FloatingSideButton/index.js +5 -5
- package/lib/variants/FloatingSideButton/index.js.map +1 -1
- package/lib/variants/HeroImage/index.js +5 -5
- package/lib/variants/HeroImage/index.js.map +1 -1
- package/lib/variants/Infographic/Infographic.js.map +1 -1
- package/lib/variants/Infographic/index.js +5 -5
- package/lib/variants/Infographic/index.js.map +1 -1
- package/lib/variants/Infographic/useInfographic.js +5 -5
- package/lib/variants/Infographic/useInfographic.js.map +1 -1
- package/lib/variants/LongformGallery/LongformGallery.js.map +1 -1
- package/lib/variants/LongformGallery/LongformGalleryImage.js.map +1 -1
- package/lib/variants/LongformGallery/constants.js.map +1 -1
- package/lib/variants/LongformGallery/helpers/index.js.map +1 -1
- package/lib/variants/LongformGallery/helpers/parseImageData.js +3 -3
- package/lib/variants/LongformGallery/helpers/parseImageData.js.map +1 -1
- package/lib/variants/LongformGallery/helpers/separateImages.js.map +1 -1
- package/lib/variants/LongformGallery/helpers/shouldSkip.js.map +1 -1
- package/lib/variants/LongformGallery/index.js +6 -6
- package/lib/variants/LongformGallery/index.js.map +1 -1
- package/lib/variants/LongformGallery/useLongformGallery.js.map +1 -1
- package/lib/variants/LongformRow/index.js +5 -5
- package/lib/variants/LongformRow/index.js.map +1 -1
- package/lib/variants/ParallaxImageTextRight/index.js +5 -5
- package/lib/variants/ParallaxImageTextRight/index.js.map +1 -1
- package/lib/variants/SlideSummary/SlideSummary.js.map +1 -1
- package/lib/variants/SlideSummary/index.js +5 -5
- package/lib/variants/SlideSummary/index.js.map +1 -1
- package/lib/variants/ThumbnailCarousel/ThumbnailCarousel.js.map +1 -1
- package/lib/variants/ThumbnailCarousel/ThumbnailImage/ThumbnailImage.js.map +1 -1
- package/lib/variants/ThumbnailCarousel/ThumbnailImage/index.js.map +1 -1
- package/lib/variants/ThumbnailCarousel/ThumbnailImage/useThumbnailImage.js.map +1 -1
- package/lib/variants/ThumbnailCarousel/index.js +5 -5
- package/lib/variants/ThumbnailCarousel/index.js.map +1 -1
- package/lib/variants/ThumbnailCarousel/useThumbnailCarousel.js +5 -5
- package/lib/variants/ThumbnailCarousel/useThumbnailCarousel.js.map +1 -1
- package/lib/variants/index.js.map +1 -1
- package/lib-es/BannerContext/helpers/index.js.map +1 -1
- package/lib-es/BannerContext/helpers/set-initial-banner-counters.js.map +1 -1
- package/lib-es/BannerContext/index.js.map +1 -1
- package/lib-es/HOC/index.js.map +1 -1
- package/lib-es/HOC/recreateOnNavigation.js.map +1 -1
- package/lib-es/HOC/withInfiniteScroll.js.map +1 -1
- package/lib-es/HOC/withTitle.js.map +1 -1
- package/lib-es/PBContext/index.js.map +1 -1
- package/lib-es/application/query/index.js.map +1 -1
- package/lib-es/components/BackToTop/BackToTop.js.map +1 -1
- package/lib-es/components/BackToTop/index.js.map +1 -1
- package/lib-es/components/Banner/AdSlotRender.js.map +1 -1
- package/lib-es/components/Banner/Banner.js.map +1 -1
- package/lib-es/components/Banner/BannerRender.js.map +1 -1
- package/lib-es/components/Banner/helpers.js.map +1 -1
- package/lib-es/components/Banner/index.js.map +1 -1
- package/lib-es/components/BlazeLink.js.map +1 -1
- package/lib-es/components/Breadcrumb/Breadcrumb.js.map +1 -1
- package/lib-es/components/Breadcrumb/index.js.map +1 -1
- package/lib-es/components/Button.js.map +1 -1
- package/lib-es/components/Card/Card.js.map +1 -1
- package/lib-es/components/Card/CardsContainer.js.map +1 -1
- package/lib-es/components/Card/CardsFactory.js.map +1 -1
- package/lib-es/components/Card/CardsRender.js.map +1 -1
- package/lib-es/components/Card/constants.js.map +1 -1
- package/lib-es/components/Card/helpers/get-dynamic-grid-classes.js.map +1 -1
- package/lib-es/components/Card/helpers/get-published-listing-url.js.map +1 -1
- package/lib-es/components/Card/helpers/index.js.map +1 -1
- package/lib-es/components/Card/helpers/use-dynamic-size-key.js.map +1 -1
- package/lib-es/components/Card/index.js.map +1 -1
- package/lib-es/components/Carousel/Carousel.js.map +1 -1
- package/lib-es/components/Carousel/CarouselImage/CarouselImage.js.map +1 -1
- package/lib-es/components/Carousel/CarouselImage/constants.js.map +1 -1
- package/lib-es/components/Carousel/CarouselImage/index.js.map +1 -1
- package/lib-es/components/Carousel/CarouselRender/CarouselRender.js.map +1 -1
- package/lib-es/components/Carousel/CarouselRender/index.js.map +1 -1
- package/lib-es/components/Carousel/hooks/useCarouselNavigation.js.map +1 -1
- package/lib-es/components/Carousel/index.js.map +1 -1
- package/lib-es/components/CarouselWrapper/CarouselWrapper.js.map +1 -1
- package/lib-es/components/CarouselWrapper/DefaultCarousel.js.map +1 -1
- package/lib-es/components/CarouselWrapper/SmoothScrollCarousel.js.map +1 -1
- package/lib-es/components/CarouselWrapper/index.js.map +1 -1
- package/lib-es/components/ClickWrapper.js.map +1 -1
- package/lib-es/components/Code/Code.js.map +1 -1
- package/lib-es/components/Code/ScriptTag.js.map +1 -1
- package/lib-es/components/Code/helpers/index.js.map +1 -1
- package/lib-es/components/Code/helpers/wrap-script-tags.js.map +1 -1
- package/lib-es/components/Code/index.js.map +1 -1
- package/lib-es/components/ContentGroup/ContentGroup.js.map +1 -1
- package/lib-es/components/ContentGroup/ContentGroupTabs.js.map +1 -1
- package/lib-es/components/ContentGroup/constants.js.map +1 -1
- package/lib-es/components/ContentGroup/helpers/get-active-tab.js.map +1 -1
- package/lib-es/components/ContentGroup/helpers/get-sections-data.js.map +1 -1
- package/lib-es/components/ContentGroup/helpers/index.js.map +1 -1
- package/lib-es/components/ContentGroup/index.js.map +1 -1
- package/lib-es/components/ContentGroupSection/ContentGroupSection.js.map +1 -1
- package/lib-es/components/ContentGroupSection/index.js.map +1 -1
- package/lib-es/components/DataSummary/DataSummaryFactory.js.map +1 -1
- package/lib-es/components/DataSummary/DataSummaryRender.js.map +1 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummary.js.map +1 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummaryContent.js.map +1 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/index.js.map +1 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummary.js.map +1 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummaryContent.js.map +1 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/index.js.map +1 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummary.js.map +1 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummaryContent.js.map +1 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/LargeSummary/index.js.map +1 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/ListSummary/ListSummary.js.map +1 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.js.map +1 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/ListSummary/index.js.map +1 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/TextSummary/TextSummary.js.map +1 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/TextSummary/TextSummaryContent.js.map +1 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/TextSummary/index.js.map +1 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/index.js.map +1 -1
- package/lib-es/components/DataSummary/helpers/build-loop-props-content.js.map +1 -1
- package/lib-es/components/DataSummary/helpers/build-props-to-display-with-content.js.map +1 -1
- package/lib-es/components/DataSummary/helpers/get-data-summary-query.js.map +1 -1
- package/lib-es/components/DataSummary/helpers/get-link-based-on-value.js.map +1 -1
- package/lib-es/components/DataSummary/helpers/get-link-props.js.map +1 -1
- package/lib-es/components/DataSummary/helpers/get-link-to-published-content.js.map +1 -1
- package/lib-es/components/DataSummary/helpers/get-loop-props-limit.js.map +1 -1
- package/lib-es/components/DataSummary/helpers/get-prop-value.js.map +1 -1
- package/lib-es/components/DataSummary/helpers/get-value-from-array.js.map +1 -1
- package/lib-es/components/DataSummary/helpers/index.js.map +1 -1
- package/lib-es/components/DataSummary/helpers/parse-boolean-values.js.map +1 -1
- package/lib-es/components/DataSummary/helpers/strip-summary-props-content.js.map +1 -1
- package/lib-es/components/DataSummary/index.js.map +1 -1
- package/lib-es/components/DateTime/DateTime.js.map +1 -1
- package/lib-es/components/DateTime/index.js.map +1 -1
- package/lib-es/components/EmailConfirm/EmailConfirm.js.map +1 -1
- package/lib-es/components/EmailConfirm/index.js.map +1 -1
- package/lib-es/components/EmailConfirm/mutation.js.map +1 -1
- package/lib-es/components/Iframe/Iframe.js.map +1 -1
- package/lib-es/components/Iframe/constants.js.map +1 -1
- package/lib-es/components/Iframe/index.js.map +1 -1
- package/lib-es/components/Image/GlobalLightbox/GlobalLightbox.js.map +1 -1
- package/lib-es/components/Image/GlobalLightbox/NavButton.js.map +1 -1
- package/lib-es/components/Image/GlobalLightbox/index.js.map +1 -1
- package/lib-es/components/Image/Image.js.map +1 -1
- package/lib-es/components/Image/ImageDetails.js.map +1 -1
- package/lib-es/components/Image/ImageFactory.js.map +1 -1
- package/lib-es/components/Image/ImageRender.js.map +1 -1
- package/lib-es/components/Image/Lightbox/Lightbox.js.map +1 -1
- package/lib-es/components/Image/Lightbox/index.js.map +1 -1
- package/lib-es/components/Image/index.js.map +1 -1
- package/lib-es/components/ItemList/ItemListButton/ItemListButton.js.map +1 -1
- package/lib-es/components/ItemList/ItemListButton/index.js.map +1 -1
- package/lib-es/components/ItemList/ItemListCounter/ItemListCounter.js.map +1 -1
- package/lib-es/components/ItemList/ItemListCounter/index.js.map +1 -1
- package/lib-es/components/ItemList/ItemListNew/ItemListNew.js.map +1 -1
- package/lib-es/components/ItemList/ItemListNew/index.js.map +1 -1
- package/lib-es/components/ItemList/constants.js.map +1 -1
- package/lib-es/components/ItemList/helpers/get-item-list-data.js.map +1 -1
- package/lib-es/components/ItemList/helpers/get-item-list-id.js.map +1 -1
- package/lib-es/components/ItemList/helpers/get-item-list-ids.js.map +1 -1
- package/lib-es/components/ItemList/helpers/index.js.map +1 -1
- package/lib-es/components/ItemList/helpers/set-item-list-id.js.map +1 -1
- package/lib-es/components/ItemList/helpers/set-param-and-redirect.js.map +1 -1
- package/lib-es/components/ItemList/hooks/index.js.map +1 -1
- package/lib-es/components/ItemList/hooks/use-item-list-id.js.map +1 -1
- package/lib-es/components/Layout/Layout.js.map +1 -1
- package/lib-es/components/Layout/LayoutFactory.js.map +1 -1
- package/lib-es/components/Layout/LayoutWithStickyTimer.js.map +1 -1
- package/lib-es/components/Layout/constants.js.map +1 -1
- package/lib-es/components/Layout/helpers/check-if-row-has-columns.js.map +1 -1
- package/lib-es/components/Layout/helpers/get-styles-to-update.js.map +1 -1
- package/lib-es/components/Layout/helpers/index.js.map +1 -1
- package/lib-es/components/Layout/index.js.map +1 -1
- package/lib-es/components/LazyImage/LazyImage.js.map +1 -1
- package/lib-es/components/LazyImage/index.js.map +1 -1
- package/lib-es/components/List/ListBuilder.js.map +1 -1
- package/lib-es/components/List/ListFactory.js.map +1 -1
- package/lib-es/components/List/ListRender.js.map +1 -1
- package/lib-es/components/List/components/Cards/CardRenderWithInfiniteScroll.js.map +1 -1
- package/lib-es/components/List/components/Cards/CardsRender.js.map +1 -1
- package/lib-es/components/List/components/Cards/CardsRenderItem.js.map +1 -1
- package/lib-es/components/List/components/Cards/CardsRenderWrapper.js.map +1 -1
- package/lib-es/components/List/components/Cards/index.js.map +1 -1
- package/lib-es/components/List/components/Full/FullRender.js.map +1 -1
- package/lib-es/components/List/components/Full/FullRenderItem.js.map +1 -1
- package/lib-es/components/List/components/Full/FullRenderWithInfiniteScroll.js.map +1 -1
- package/lib-es/components/List/components/Full/index.js.map +1 -1
- package/lib-es/components/List/components/Header/ListHeader.js.map +1 -1
- package/lib-es/components/List/components/Header/index.js.map +1 -1
- package/lib-es/components/List/components/Pagination/Classic.js.map +1 -1
- package/lib-es/components/List/components/Pagination/ListPagination.js.map +1 -1
- package/lib-es/components/List/components/Pagination/LoadMore.js.map +1 -1
- package/lib-es/components/List/components/Pagination/index.js.map +1 -1
- package/lib-es/components/List/components/helpers/check-if-should-render-banner.js.map +1 -1
- package/lib-es/components/List/components/helpers/check-if-should-render-gtm.js.map +1 -1
- package/lib-es/components/List/components/helpers/index.js.map +1 -1
- package/lib-es/components/List/components/index.js.map +1 -1
- package/lib-es/components/List/constants.js.map +1 -1
- package/lib-es/components/List/helpers/build-az-aggregations.js.map +1 -1
- package/lib-es/components/List/helpers/build-az-url.js.map +1 -1
- package/lib-es/components/List/helpers/build-pagination-items.js.map +1 -1
- package/lib-es/components/List/helpers/build-pagination-url.js.map +1 -1
- package/lib-es/components/List/helpers/build-query-booster.js.map +1 -1
- package/lib-es/components/List/helpers/get-az-query-filter.js.map +1 -1
- package/lib-es/components/List/helpers/get-items-per-page-to-use.js.map +1 -1
- package/lib-es/components/List/helpers/get-list-component.js.map +1 -1
- package/lib-es/components/List/helpers/get-list-query.js.map +1 -1
- package/lib-es/components/List/helpers/get-list-specific-search-filter.js.map +1 -1
- package/lib-es/components/List/helpers/get-sort-props.js.map +1 -1
- package/lib-es/components/List/helpers/has-required-item-list-details.js.map +1 -1
- package/lib-es/components/List/helpers/index.js.map +1 -1
- package/lib-es/components/List/helpers/sort-aggs.js.map +1 -1
- package/lib-es/components/List/helpers/strip-query-key.js.map +1 -1
- package/lib-es/components/List/index.js.map +1 -1
- package/lib-es/components/Loading/Loading.js.map +1 -1
- package/lib-es/components/Loading/constants.js.map +1 -1
- package/lib-es/components/Loading/helpers.js.map +1 -1
- package/lib-es/components/Loading/index.js.map +1 -1
- package/lib-es/components/Menu/Menu.js.map +1 -1
- package/lib-es/components/Menu/MenuContext.js.map +1 -1
- package/lib-es/components/Menu/index.js.map +1 -1
- package/lib-es/components/MenuItem/MenuEntitiesItem.js.map +1 -1
- package/lib-es/components/MenuItem/MenuItem.js.map +1 -1
- package/lib-es/components/MenuItem/MenuItemRender.js +4 -4
- package/lib-es/components/MenuItem/MenuItemRender.js.map +1 -1
- package/lib-es/components/MenuItem/helpers/has-active-child.js.map +1 -1
- package/lib-es/components/MenuItem/helpers/index.js.map +1 -1
- package/lib-es/components/MenuItem/helpers/inject-helper-into-template.js.map +1 -1
- package/lib-es/components/MenuItem/helpers/isUrlPathMatch.js +1 -1
- package/lib-es/components/MenuItem/helpers/isUrlPathMatch.js.map +1 -1
- package/lib-es/components/MenuItem/index.js.map +1 -1
- package/lib-es/components/Modal/Modal.js.map +1 -1
- package/lib-es/components/Modal/index.js.map +1 -1
- package/lib-es/components/ModalAdapter/ModalAdapter.js.map +1 -1
- package/lib-es/components/ModalAdapter/index.js.map +1 -1
- package/lib-es/components/SearchContent/SearchContent.js.map +1 -1
- package/lib-es/components/SearchContent/SearchContentItems.js.map +1 -1
- package/lib-es/components/SearchContent/SearchContentResults.js.map +1 -1
- package/lib-es/components/SearchContent/SearchContentToggleIcon.js.map +1 -1
- package/lib-es/components/SearchContent/constants.js.map +1 -1
- package/lib-es/components/SearchContent/index.js.map +1 -1
- package/lib-es/components/SearchFilter/SearchFilter/CloseMobileForm.js.map +1 -1
- package/lib-es/components/SearchFilter/SearchFilter/FiltersList.js.map +1 -1
- package/lib-es/components/SearchFilter/SearchFilter/MobileFormToolbar.js.map +1 -1
- package/lib-es/components/SearchFilter/SearchFilter/ResetDesktopForm.js.map +1 -1
- package/lib-es/components/SearchFilter/SearchFilter/SearchFilter.js.map +1 -1
- package/lib-es/components/SearchFilter/SearchFilter/index.js.map +1 -1
- package/lib-es/components/SearchFilter/SearchFilterContainer.js.map +1 -1
- package/lib-es/components/SearchFilter/components/Checkbox.js.map +1 -1
- package/lib-es/components/SearchFilter/components/Range.js.map +1 -1
- package/lib-es/components/SearchFilter/components/Select.js.map +1 -1
- package/lib-es/components/SearchFilter/components/TextSearch.js.map +1 -1
- package/lib-es/components/SearchFilter/components/index.js.map +1 -1
- package/lib-es/components/SearchFilter/constants.js.map +1 -1
- package/lib-es/components/SearchFilter/helpers/build-list-name-query.js.map +1 -1
- package/lib-es/components/SearchFilter/helpers/build-new-url.js.map +1 -1
- package/lib-es/components/SearchFilter/helpers/build-url-query.js.map +1 -1
- package/lib-es/components/SearchFilter/helpers/calculate-min-max.js.map +1 -1
- package/lib-es/components/SearchFilter/helpers/calculate-step.js.map +1 -1
- package/lib-es/components/SearchFilter/helpers/check-if-range-updated.js.map +1 -1
- package/lib-es/components/SearchFilter/helpers/decode-encode.js.map +1 -1
- package/lib-es/components/SearchFilter/helpers/get-display-value.js.map +1 -1
- package/lib-es/components/SearchFilter/helpers/get-filter-ranges-and-checkboxes-values.js.map +1 -1
- package/lib-es/components/SearchFilter/helpers/get-filter-value-from-query.js.map +1 -1
- package/lib-es/components/SearchFilter/helpers/get-filter-values.js.map +1 -1
- package/lib-es/components/SearchFilter/helpers/get-initial-filter-values.js.map +1 -1
- package/lib-es/components/SearchFilter/helpers/get-intersected-prop.js.map +1 -1
- package/lib-es/components/SearchFilter/helpers/get-range-value.js.map +1 -1
- package/lib-es/components/SearchFilter/helpers/get-responsive-filter-classnames.js.map +1 -1
- package/lib-es/components/SearchFilter/helpers/get-select-options.js.map +1 -1
- package/lib-es/components/SearchFilter/helpers/get-updated-filter-by.js.map +1 -1
- package/lib-es/components/SearchFilter/helpers/index.js.map +1 -1
- package/lib-es/components/SearchFilter/helpers/is-device-desktop.js.map +1 -1
- package/lib-es/components/SearchFilter/helpers/parse-filter-value.js.map +1 -1
- package/lib-es/components/SearchFilter/index.js.map +1 -1
- package/lib-es/components/SearchFilter/searchFilterReducer.js.map +1 -1
- package/lib-es/components/SearchFilterSort/SearchFilterSort.js.map +1 -1
- package/lib-es/components/SearchFilterSort/constants.js.map +1 -1
- package/lib-es/components/SearchFilterSort/helpers/handle-sort-update.js.map +1 -1
- package/lib-es/components/SearchFilterSort/helpers/index.js.map +1 -1
- package/lib-es/components/SearchFilterSort/helpers/update-sort.js.map +1 -1
- package/lib-es/components/SearchFilterSort/index.js.map +1 -1
- package/lib-es/components/SocialFollow/SFItem.js.map +1 -1
- package/lib-es/components/SocialFollow/SocialFollow.js.map +1 -1
- package/lib-es/components/SocialFollow/SocialFollowRender.js.map +1 -1
- package/lib-es/components/SocialFollow/index.js.map +1 -1
- package/lib-es/components/SocialFollow/sf.config.js.map +1 -1
- package/lib-es/components/SubMenu/SubMenu.js.map +1 -1
- package/lib-es/components/SubMenu/index.js.map +1 -1
- package/lib-es/components/TextBlock/TextBlockRender.js.map +1 -1
- package/lib-es/components/TextBlock/index.js.map +1 -1
- package/lib-es/components/Video/Video.js.map +1 -1
- package/lib-es/components/Video/VideoContext.js.map +1 -1
- package/lib-es/components/Video/VideoModal.js.map +1 -1
- package/lib-es/components/Video/VideoRender.js.map +1 -1
- package/lib-es/components/Video/constants.js.map +1 -1
- package/lib-es/components/Video/helpers/emit-gtm-event.js.map +1 -1
- package/lib-es/components/Video/index.js.map +1 -1
- package/lib-es/components/Video/providers/Default.js.map +1 -1
- package/lib-es/components/Video/providers/JWPlayer/JWPlayerController.js.map +1 -1
- package/lib-es/components/Video/providers/JWPlayer/JWPlayerProvider.js.map +1 -1
- package/lib-es/components/Video/providers/Vimeo/VimeoProvider.js.map +1 -1
- package/lib-es/components/Video/providers/Vimeo/helpers/add-extra-params-to-url.js.map +1 -1
- package/lib-es/components/Video/providers/Vimeo/helpers/index.js.map +1 -1
- package/lib-es/components/Video/providers/YouTube/YouTubeProvider.js.map +1 -1
- package/lib-es/components/Video/providers/YouTube/YoutubeEmbeded.js.map +1 -1
- package/lib-es/components/Video/providers/YouTube/helpers/index.js.map +1 -1
- package/lib-es/components/Video/providers/get-provider.js.map +1 -1
- package/lib-es/components/Video/providers/index.js.map +1 -1
- package/lib-es/components/Wrapper.js.map +1 -1
- package/lib-es/components/index.js.map +1 -1
- package/lib-es/constants/componentsDefaultValues.js.map +1 -1
- package/lib-es/constants/index.js.map +1 -1
- package/lib-es/helpers/append-images.js.map +1 -1
- package/lib-es/helpers/build-az-filter.js.map +1 -1
- package/lib-es/helpers/build-checkbox-filters.js.map +1 -1
- package/lib-es/helpers/build-filters-query.js.map +1 -1
- package/lib-es/helpers/build-image-properties.js.map +1 -1
- package/lib-es/helpers/build-inherited-filters.js.map +1 -1
- package/lib-es/helpers/build-link-extra-props.js.map +1 -1
- package/lib-es/helpers/build-props-query.js.map +1 -1
- package/lib-es/helpers/build-query-fields.js.map +1 -1
- package/lib-es/helpers/build-query-key.js.map +1 -1
- package/lib-es/helpers/build-raw-query-base.js.map +1 -1
- package/lib-es/helpers/build-raw-query-stringified.js.map +1 -1
- package/lib-es/helpers/build-raw-query.js.map +1 -1
- package/lib-es/helpers/build-search-values-checkbox-select.js.map +1 -1
- package/lib-es/helpers/build-search-values-text.js.map +1 -1
- package/lib-es/helpers/build-set-filters.js.map +1 -1
- package/lib-es/helpers/build-sort-values.js.map +1 -1
- package/lib-es/helpers/check-for-error.js.map +1 -1
- package/lib-es/helpers/check-props-to-use.js.map +1 -1
- package/lib-es/helpers/entities/constants.js.map +1 -1
- package/lib-es/helpers/filter-query-setup.js.map +1 -1
- package/lib-es/helpers/filters-setup.js.map +1 -1
- package/lib-es/helpers/get-banner-data.js.map +1 -1
- package/lib-es/helpers/get-checkbox-filters.js.map +1 -1
- package/lib-es/helpers/get-click-wrapper-options.js.map +1 -1
- package/lib-es/helpers/get-current-offset.js.map +1 -1
- package/lib-es/helpers/get-dictionary-match.js.map +1 -1
- package/lib-es/helpers/get-display-count-data.js.map +1 -1
- package/lib-es/helpers/get-elasticsearch-operator.js.map +1 -1
- package/lib-es/helpers/get-entities-with-banner.js.map +1 -1
- package/lib-es/helpers/get-entity-data.js.map +1 -1
- package/lib-es/helpers/get-entity-render-props.js.map +1 -1
- package/lib-es/helpers/get-extra-az-bits.js.map +1 -1
- package/lib-es/helpers/get-filter-props.js.map +1 -1
- package/lib-es/helpers/get-filter-relation-keys.js.map +1 -1
- package/lib-es/helpers/get-generic-props.js.map +1 -1
- package/lib-es/helpers/get-generic-render-variables.js.map +1 -1
- package/lib-es/helpers/get-image-ids.js.map +1 -1
- package/lib-es/helpers/get-inherited-filters.js.map +1 -1
- package/lib-es/helpers/get-items-to-display-ids.js.map +1 -1
- package/lib-es/helpers/get-modifiers.js.map +1 -1
- package/lib-es/helpers/get-not-equal-query.js.map +1 -1
- package/lib-es/helpers/get-pagination-index.js.map +1 -1
- package/lib-es/helpers/get-parsed-prop-values.js.map +1 -1
- package/lib-es/helpers/get-parsed-summary-value.js.map +1 -1
- package/lib-es/helpers/get-prop-values.js.map +1 -1
- package/lib-es/helpers/get-query-filters.js.map +1 -1
- package/lib-es/helpers/get-query-props.js.map +1 -1
- package/lib-es/helpers/get-required-schemas.js.map +1 -1
- package/lib-es/helpers/get-sanitized-prop-values.js.map +1 -1
- package/lib-es/helpers/get-search-filter-type.js.map +1 -1
- package/lib-es/helpers/get-sort-by-field-name.js.map +1 -1
- package/lib-es/helpers/get-unpublished-entity-name.js.map +1 -1
- package/lib-es/helpers/get-updated-filter-by.js.map +1 -1
- package/lib-es/helpers/get-updated-items-to-display.js.map +1 -1
- package/lib-es/helpers/get-updated-sort-properties.js.map +1 -1
- package/lib-es/helpers/get-wrapped-value-with-link.js.map +1 -1
- package/lib-es/helpers/group-entities.js.map +1 -1
- package/lib-es/helpers/has-children.js.map +1 -1
- package/lib-es/helpers/index.js.map +1 -1
- package/lib-es/helpers/inject-banner.js.map +1 -1
- package/lib-es/helpers/inject-banners-to-entities.js.map +1 -1
- package/lib-es/helpers/inject-multiple-banners/get-banners-for-entities/get-banners-for-entities.js.map +1 -1
- package/lib-es/helpers/inject-multiple-banners/get-banners-for-entities/index.js.map +1 -1
- package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/get-banners-for-nodes.js.map +1 -1
- package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/group-node-entities.js.map +1 -1
- package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/index.js.map +1 -1
- package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/index.js.map +1 -1
- package/lib-es/helpers/inject-multiple-banners/index.js.map +1 -1
- package/lib-es/helpers/inject-multiple-banners/inject-multiple-banners.js.map +1 -1
- package/lib-es/helpers/is-browser.js.map +1 -1
- package/lib-es/helpers/is-filter-entitys-id.js.map +1 -1
- package/lib-es/helpers/is-object.js.map +1 -1
- package/lib-es/helpers/is-using-relation-image.js.map +1 -1
- package/lib-es/helpers/parse-TextBlock.js.map +1 -1
- package/lib-es/helpers/parse-interval.js.map +1 -1
- package/lib-es/helpers/parse-props-to-display.js.map +1 -1
- package/lib-es/helpers/process-data-summary-value.js.map +1 -1
- package/lib-es/helpers/remove-extra-items.js.map +1 -1
- package/lib-es/helpers/remove-unwanted-characters.js.map +1 -1
- package/lib-es/helpers/render-children.js.map +1 -1
- package/lib-es/helpers/should-render-waypoint.js.map +1 -1
- package/lib-es/helpers/should-return.js.map +1 -1
- package/lib-es/helpers/should-show-property.js.map +1 -1
- package/lib-es/helpers/should-skip-single-query.js.map +1 -1
- package/lib-es/helpers/sort-response-data.js.map +1 -1
- package/lib-es/helpers/split-children.js.map +1 -1
- package/lib-es/helpers/update-childrens-parent.js.map +1 -1
- package/lib-es/hooks/helpers/RenderComponent.js.map +1 -1
- package/lib-es/hooks/helpers/StoreImages.js.map +1 -1
- package/lib-es/hooks/helpers/append-gtm-classname.js.map +1 -1
- package/lib-es/hooks/helpers/buildPBComponents.js.map +1 -1
- package/lib-es/hooks/helpers/check-banner-insertion-set.js.map +1 -1
- package/lib-es/hooks/helpers/check-collisions.js.map +1 -1
- package/lib-es/hooks/helpers/constants.js.map +1 -1
- package/lib-es/hooks/helpers/get-banner-index.js.map +1 -1
- package/lib-es/hooks/helpers/get-components-to-insert-by-type.js.map +1 -1
- package/lib-es/hooks/helpers/get-lightbox-images.js.map +1 -1
- package/lib-es/hooks/helpers/getComponent.js.map +1 -1
- package/lib-es/hooks/helpers/getVariant.js.map +1 -1
- package/lib-es/hooks/helpers/index.js.map +1 -1
- package/lib-es/hooks/helpers/inject-element-components.js.map +1 -1
- package/lib-es/hooks/helpers/inject-textblock-banners.js.map +1 -1
- package/lib-es/hooks/helpers/insert-banners.js.map +1 -1
- package/lib-es/hooks/helpers/update-targetings.js.map +1 -1
- package/lib-es/hooks/index.js.map +1 -1
- package/lib-es/hooks/use-app-sync-event-hook.js.map +1 -1
- package/lib-es/hooks/use-banner-insertion.js.map +1 -1
- package/lib-es/hooks/use-check-mobile-screen.js.map +1 -1
- package/lib-es/hooks/use-filter-aggregation-values.js.map +1 -1
- package/lib-es/hooks/use-get-entity-schema.js.map +1 -1
- package/lib-es/hooks/use-get-entity-schemas-as-obj.js.map +1 -1
- package/lib-es/hooks/use-get-image-id-from-relation.js.map +1 -1
- package/lib-es/hooks/use-get-images.js.map +1 -1
- package/lib-es/hooks/use-get-single-entity-schema.js.map +1 -1
- package/lib-es/hooks/use-page-builder.js.map +1 -1
- package/lib-es/hooks/use-portal.js.map +1 -1
- package/lib-es/index.js.map +1 -1
- package/lib-es/utils/component-map.js.map +1 -1
- package/lib-es/utils/get-class-modifiers.js.map +1 -1
- package/lib-es/utils/get-image-data.js.map +1 -1
- package/lib-es/utils/get-props-to-display-modifiers.js.map +1 -1
- package/lib-es/utils/index.js.map +1 -1
- package/lib-es/utils/is-object-empty.js.map +1 -1
- package/lib-es/utils/variant-handler.js.map +1 -1
- package/lib-es/variants/FloatingSideButton/index.js.map +1 -1
- package/lib-es/variants/HeroImage/index.js.map +1 -1
- package/lib-es/variants/Infographic/Infographic.js.map +1 -1
- package/lib-es/variants/Infographic/index.js.map +1 -1
- package/lib-es/variants/Infographic/useInfographic.js.map +1 -1
- package/lib-es/variants/LongformGallery/LongformGallery.js.map +1 -1
- package/lib-es/variants/LongformGallery/LongformGalleryImage.js.map +1 -1
- package/lib-es/variants/LongformGallery/constants.js.map +1 -1
- package/lib-es/variants/LongformGallery/helpers/index.js.map +1 -1
- package/lib-es/variants/LongformGallery/helpers/parseImageData.js.map +1 -1
- package/lib-es/variants/LongformGallery/helpers/separateImages.js.map +1 -1
- package/lib-es/variants/LongformGallery/helpers/shouldSkip.js.map +1 -1
- package/lib-es/variants/LongformGallery/index.js.map +1 -1
- package/lib-es/variants/LongformGallery/useLongformGallery.js.map +1 -1
- package/lib-es/variants/LongformRow/index.js.map +1 -1
- package/lib-es/variants/ParallaxImageTextRight/index.js.map +1 -1
- package/lib-es/variants/SlideSummary/SlideSummary.js.map +1 -1
- package/lib-es/variants/SlideSummary/index.js.map +1 -1
- package/lib-es/variants/ThumbnailCarousel/ThumbnailCarousel.js.map +1 -1
- package/lib-es/variants/ThumbnailCarousel/ThumbnailImage/ThumbnailImage.js.map +1 -1
- package/lib-es/variants/ThumbnailCarousel/ThumbnailImage/index.js.map +1 -1
- package/lib-es/variants/ThumbnailCarousel/ThumbnailImage/useThumbnailImage.js.map +1 -1
- package/lib-es/variants/ThumbnailCarousel/index.js.map +1 -1
- package/lib-es/variants/ThumbnailCarousel/useThumbnailCarousel.js.map +1 -1
- package/lib-es/variants/index.js.map +1 -1
- package/package.json +3 -3
- package/src/components/MenuItem/MenuItemRender.js +7 -6
- package/src/components/MenuItem/helpers/isUrlPathMatch.js +1 -1
- package/tests/unit/src/components/MenuItem/helpers/is-url-path-match.test.js +7 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-inherited-filters.js","names":["getInheritedFilters","filterBy","filterByProperty","length","reduce","acc","property","propName","split","filterByMatched","filter","filterId","includes","push"],"sources":["../../src/helpers/get-inherited-filters.js"],"sourcesContent":["const getInheritedFilters = (filterBy, filterByProperty) => {\n if (!filterByProperty.length) return [];\n if (!filterBy.length) return filterByProperty;\n\n return filterByProperty.reduce((acc, property) => {\n const [propName] = property.split('/');\n const filterByMatched = filterBy.filter(filterId => filterId.includes(`${propName}/`));\n\n if (!filterByMatched.length) acc.push(property);\n return acc;\n }, []);\n};\n\nexport default getInheritedFilters;\n"],"mappings":"AAAA,MAAMA,mBAAmB,GAAGA,CAACC,QAAQ,EAAEC,gBAAgB,KAAK;EAC1D,IAAI,CAACA,gBAAgB,CAACC,MAAM,EAAE,OAAO,EAAE;EACvC,IAAI,CAACF,QAAQ,CAACE,MAAM,EAAE,OAAOD,gBAAgB;EAE7C,OAAOA,gBAAgB,CAACE,MAAM,CAAC,CAACC,GAAG,EAAEC,QAAQ,KAAK;IAChD,MAAM,CAACC,QAAQ,CAAC,GAAGD,QAAQ,CAACE,KAAK,CAAC,GAAG,CAAC;IACtC,MAAMC,eAAe,GAAGR,QAAQ,CAACS,MAAM,CAACC,QAAQ,IAAIA,QAAQ,CAACC,QAAQ,CAAE,GAAEL,QAAS,GAAE,CAAC,CAAC;IAEtF,IAAI,CAACE,eAAe,CAACN,MAAM,EAAEE,GAAG,CAACQ,IAAI,CAACP,QAAQ,CAAC;IAC/C,OAAOD,GAAG;EACZ,CAAC,EAAE,EAAE,CAAC;AACR,CAAC;AAED,eAAeL,mBAAmB"}
|
|
1
|
+
{"version":3,"file":"get-inherited-filters.js","names":["getInheritedFilters","filterBy","filterByProperty","length","reduce","acc","property","propName","split","filterByMatched","filter","filterId","includes","push"],"sources":["../../src/helpers/get-inherited-filters.js"],"sourcesContent":["const getInheritedFilters = (filterBy, filterByProperty) => {\n if (!filterByProperty.length) return [];\n if (!filterBy.length) return filterByProperty;\n\n return filterByProperty.reduce((acc, property) => {\n const [propName] = property.split('/');\n const filterByMatched = filterBy.filter(filterId => filterId.includes(`${propName}/`));\n\n if (!filterByMatched.length) acc.push(property);\n return acc;\n }, []);\n};\n\nexport default getInheritedFilters;\n"],"mappings":"AAAA,MAAMA,mBAAmB,GAAGA,CAACC,QAAQ,EAAEC,gBAAgB,KAAK;EAC1D,IAAI,CAACA,gBAAgB,CAACC,MAAM,EAAE,OAAO,EAAE;EACvC,IAAI,CAACF,QAAQ,CAACE,MAAM,EAAE,OAAOD,gBAAgB;EAE7C,OAAOA,gBAAgB,CAACE,MAAM,CAAC,CAACC,GAAG,EAAEC,QAAQ,KAAK;IAChD,MAAM,CAACC,QAAQ,CAAC,GAAGD,QAAQ,CAACE,KAAK,CAAC,GAAG,CAAC;IACtC,MAAMC,eAAe,GAAGR,QAAQ,CAACS,MAAM,CAACC,QAAQ,IAAIA,QAAQ,CAACC,QAAQ,CAAE,GAAEL,QAAS,GAAE,CAAC,CAAC;IAEtF,IAAI,CAACE,eAAe,CAACN,MAAM,EAAEE,GAAG,CAACQ,IAAI,CAACP,QAAQ,CAAC;IAC/C,OAAOD,GAAG;EACZ,CAAC,EAAE,EAAE,CAAC;AACR,CAAC;AAED,eAAeL,mBAAmB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-items-to-display-ids.js","names":["getItemsToDisplayIds","itemsToDisplay","length","ids","reduce","acc","displayItems","concat","Set"],"sources":["../../src/helpers/get-items-to-display-ids.js"],"sourcesContent":["function getItemsToDisplayIds(itemsToDisplay) {\n if (!itemsToDisplay || !itemsToDisplay.length) return [];\n const ids = itemsToDisplay.reduce((acc, { displayItems }) => {\n if (!displayItems || !displayItems.length) return acc;\n return acc.concat(displayItems);\n }, []);\n return [...new Set([...ids])];\n}\n\nexport default getItemsToDisplayIds;\n"],"mappings":"AAAA,SAASA,oBAAoBA,CAACC,cAAc,EAAE;EAC5C,IAAI,CAACA,cAAc,IAAI,CAACA,cAAc,CAACC,MAAM,EAAE,OAAO,EAAE;EACxD,MAAMC,GAAG,GAAGF,cAAc,CAACG,MAAM,CAAC,CAACC,GAAG,EAAE;IAAEC;EAAa,CAAC,KAAK;IAC3D,IAAI,CAACA,YAAY,IAAI,CAACA,YAAY,CAACJ,MAAM,EAAE,OAAOG,GAAG;IACrD,OAAOA,GAAG,CAACE,MAAM,CAACD,YAAY,CAAC;EACjC,CAAC,EAAE,EAAE,CAAC;EACN,OAAO,CAAC,GAAG,IAAIE,GAAG,CAAC,CAAC,GAAGL,GAAG,CAAC,CAAC,CAAC;AAC/B;AAEA,eAAeH,oBAAoB"}
|
|
1
|
+
{"version":3,"file":"get-items-to-display-ids.js","names":["getItemsToDisplayIds","itemsToDisplay","length","ids","reduce","acc","displayItems","concat","Set"],"sources":["../../src/helpers/get-items-to-display-ids.js"],"sourcesContent":["function getItemsToDisplayIds(itemsToDisplay) {\n if (!itemsToDisplay || !itemsToDisplay.length) return [];\n const ids = itemsToDisplay.reduce((acc, { displayItems }) => {\n if (!displayItems || !displayItems.length) return acc;\n return acc.concat(displayItems);\n }, []);\n return [...new Set([...ids])];\n}\n\nexport default getItemsToDisplayIds;\n"],"mappings":"AAAA,SAASA,oBAAoBA,CAACC,cAAc,EAAE;EAC5C,IAAI,CAACA,cAAc,IAAI,CAACA,cAAc,CAACC,MAAM,EAAE,OAAO,EAAE;EACxD,MAAMC,GAAG,GAAGF,cAAc,CAACG,MAAM,CAAC,CAACC,GAAG,EAAE;IAAEC;EAAa,CAAC,KAAK;IAC3D,IAAI,CAACA,YAAY,IAAI,CAACA,YAAY,CAACJ,MAAM,EAAE,OAAOG,GAAG;IACrD,OAAOA,GAAG,CAACE,MAAM,CAACD,YAAY,CAAC;EACjC,CAAC,EAAE,EAAE,CAAC;EACN,OAAO,CAAC,GAAG,IAAIE,GAAG,CAAC,CAAC,GAAGL,GAAG,CAAC,CAAC,CAAC;AAC/B;AAEA,eAAeH,oBAAoB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-modifiers.js","names":["getModifiers","base","modifier","Array","isArray","modifiers","map","modi","validateModifier","unshift","uniqueModifiers","Set","join","withBase","isValidModifier"],"sources":["../../src/helpers/get-modifiers.js"],"sourcesContent":["const getModifiers = (base, modifier) => {\n if (Array.isArray(modifier)) {\n const modifiers = modifier.map(modi => validateModifier(base, modi, false));\n modifiers.unshift(base);\n const uniqueModifiers = [...new Set(modifiers)];\n\n return uniqueModifiers.join(' ');\n }\n return validateModifier(base, modifier);\n};\n\nconst validateModifier = (base, modifier, withBase = true) => {\n const isValidModifier = modifier && typeof modifier === 'string';\n if (isValidModifier) return withBase ? `${base} ${base}--${modifier}` : `${base}--${modifier}`;\n\n return base;\n};\n\nexport default getModifiers;\n"],"mappings":"AAAA,MAAMA,YAAY,GAAGA,CAACC,IAAI,EAAEC,QAAQ,KAAK;EACvC,IAAIC,KAAK,CAACC,OAAO,CAACF,QAAQ,CAAC,EAAE;IAC3B,MAAMG,SAAS,GAAGH,QAAQ,CAACI,GAAG,CAACC,IAAI,IAAIC,gBAAgB,CAACP,IAAI,EAAEM,IAAI,EAAE,KAAK,CAAC,CAAC;IAC3EF,SAAS,CAACI,OAAO,CAACR,IAAI,CAAC;IACvB,MAAMS,eAAe,GAAG,CAAC,GAAG,IAAIC,GAAG,CAACN,SAAS,CAAC,CAAC;IAE/C,OAAOK,eAAe,CAACE,IAAI,CAAC,GAAG,CAAC;EAClC;EACA,OAAOJ,gBAAgB,CAACP,IAAI,EAAEC,QAAQ,CAAC;AACzC,CAAC;AAED,MAAMM,gBAAgB,GAAGA,CAACP,IAAI,EAAEC,QAAQ,EAAEW,QAAQ,GAAG,IAAI,KAAK;EAC5D,MAAMC,eAAe,GAAGZ,QAAQ,IAAI,OAAOA,QAAQ,KAAK,QAAQ;EAChE,IAAIY,eAAe,EAAE,OAAOD,QAAQ,GAAI,GAAEZ,IAAK,IAAGA,IAAK,KAAIC,QAAS,EAAC,GAAI,GAAED,IAAK,KAAIC,QAAS,EAAC;EAE9F,OAAOD,IAAI;AACb,CAAC;AAED,eAAeD,YAAY"}
|
|
1
|
+
{"version":3,"file":"get-modifiers.js","names":["getModifiers","base","modifier","Array","isArray","modifiers","map","modi","validateModifier","unshift","uniqueModifiers","Set","join","withBase","isValidModifier"],"sources":["../../src/helpers/get-modifiers.js"],"sourcesContent":["const getModifiers = (base, modifier) => {\n if (Array.isArray(modifier)) {\n const modifiers = modifier.map(modi => validateModifier(base, modi, false));\n modifiers.unshift(base);\n const uniqueModifiers = [...new Set(modifiers)];\n\n return uniqueModifiers.join(' ');\n }\n return validateModifier(base, modifier);\n};\n\nconst validateModifier = (base, modifier, withBase = true) => {\n const isValidModifier = modifier && typeof modifier === 'string';\n if (isValidModifier) return withBase ? `${base} ${base}--${modifier}` : `${base}--${modifier}`;\n\n return base;\n};\n\nexport default getModifiers;\n"],"mappings":"AAAA,MAAMA,YAAY,GAAGA,CAACC,IAAI,EAAEC,QAAQ,KAAK;EACvC,IAAIC,KAAK,CAACC,OAAO,CAACF,QAAQ,CAAC,EAAE;IAC3B,MAAMG,SAAS,GAAGH,QAAQ,CAACI,GAAG,CAACC,IAAI,IAAIC,gBAAgB,CAACP,IAAI,EAAEM,IAAI,EAAE,KAAK,CAAC,CAAC;IAC3EF,SAAS,CAACI,OAAO,CAACR,IAAI,CAAC;IACvB,MAAMS,eAAe,GAAG,CAAC,GAAG,IAAIC,GAAG,CAACN,SAAS,CAAC,CAAC;IAE/C,OAAOK,eAAe,CAACE,IAAI,CAAC,GAAG,CAAC;EAClC;EACA,OAAOJ,gBAAgB,CAACP,IAAI,EAAEC,QAAQ,CAAC;AACzC,CAAC;AAED,MAAMM,gBAAgB,GAAGA,CAACP,IAAI,EAAEC,QAAQ,EAAEW,QAAQ,GAAG,IAAI,KAAK;EAC5D,MAAMC,eAAe,GAAGZ,QAAQ,IAAI,OAAOA,QAAQ,KAAK,QAAQ;EAChE,IAAIY,eAAe,EAAE,OAAOD,QAAQ,GAAI,GAAEZ,IAAK,IAAGA,IAAK,KAAIC,QAAS,EAAC,GAAI,GAAED,IAAK,KAAIC,QAAS,EAAC;EAE9F,OAAOD,IAAI;AACb,CAAC;AAED,eAAeD,YAAY","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-not-equal-query.js","names":["getNotEqualQuery","itemId","id","_ne"],"sources":["../../src/helpers/get-not-equal-query.js"],"sourcesContent":["export default function getNotEqualQuery(itemId) {\n if (!itemId) return {};\n\n return {\n id: {\n _ne: itemId\n }\n };\n}\n"],"mappings":"AAAA,eAAe,SAASA,gBAAgBA,CAACC,MAAM,EAAE;EAC/C,IAAI,CAACA,MAAM,EAAE,OAAO,CAAC,CAAC;EAEtB,OAAO;IACLC,EAAE,EAAE;MACFC,GAAG,EAAEF;IACP;EACF,CAAC;AACH"}
|
|
1
|
+
{"version":3,"file":"get-not-equal-query.js","names":["getNotEqualQuery","itemId","id","_ne"],"sources":["../../src/helpers/get-not-equal-query.js"],"sourcesContent":["export default function getNotEqualQuery(itemId) {\n if (!itemId) return {};\n\n return {\n id: {\n _ne: itemId\n }\n };\n}\n"],"mappings":"AAAA,eAAe,SAASA,gBAAgBA,CAACC,MAAM,EAAE;EAC/C,IAAI,CAACA,MAAM,EAAE,OAAO,CAAC,CAAC;EAEtB,OAAO;IACLC,EAAE,EAAE;MACFC,GAAG,EAAEF;IACP;EACF,CAAC;AACH","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-pagination-index.js","names":["PAGINATION_QUERY_CONST","PB_QUERY_CONST","getPaginationIndex","query","name","paginationIndex","Number"],"sources":["../../src/helpers/get-pagination-index.js"],"sourcesContent":["import { PAGINATION_QUERY_CONST, PB_QUERY_CONST } from '../constants';\n\nfunction getPaginationIndex(query, name) {\n if (!query || !name) return 1;\n const paginationIndex = query[`${PB_QUERY_CONST}[${name}]${PAGINATION_QUERY_CONST}`];\n return Number(paginationIndex) || 1;\n}\n\nexport default getPaginationIndex;\n"],"mappings":"AAAA,SAASA,sBAAsB,EAAEC,cAAc,QAAQ,cAAc;AAErE,SAASC,kBAAkBA,CAACC,KAAK,EAAEC,IAAI,EAAE;EACvC,IAAI,CAACD,KAAK,IAAI,CAACC,IAAI,EAAE,OAAO,CAAC;EAC7B,MAAMC,eAAe,GAAGF,KAAK,CAAE,GAAEF,cAAe,IAAGG,IAAK,IAAGJ,sBAAuB,EAAC,CAAC;EACpF,OAAOM,MAAM,CAACD,eAAe,CAAC,IAAI,CAAC;AACrC;AAEA,eAAeH,kBAAkB"}
|
|
1
|
+
{"version":3,"file":"get-pagination-index.js","names":["PAGINATION_QUERY_CONST","PB_QUERY_CONST","getPaginationIndex","query","name","paginationIndex","Number"],"sources":["../../src/helpers/get-pagination-index.js"],"sourcesContent":["import { PAGINATION_QUERY_CONST, PB_QUERY_CONST } from '../constants';\n\nfunction getPaginationIndex(query, name) {\n if (!query || !name) return 1;\n const paginationIndex = query[`${PB_QUERY_CONST}[${name}]${PAGINATION_QUERY_CONST}`];\n return Number(paginationIndex) || 1;\n}\n\nexport default getPaginationIndex;\n"],"mappings":"AAAA,SAASA,sBAAsB,EAAEC,cAAc,QAAQ,cAAc;AAErE,SAASC,kBAAkBA,CAACC,KAAK,EAAEC,IAAI,EAAE;EACvC,IAAI,CAACD,KAAK,IAAI,CAACC,IAAI,EAAE,OAAO,CAAC;EAC7B,MAAMC,eAAe,GAAGF,KAAK,CAAE,GAAEF,cAAe,IAAGG,IAAK,IAAGJ,sBAAuB,EAAC,CAAC;EACpF,OAAOM,MAAM,CAACD,eAAe,CAAC,IAAI,CAAC;AACrC;AAEA,eAAeH,kBAAkB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-parsed-prop-values.js","names":["React","Link","isObject","removeUnwantedCharacters","getParsedPropValues","propertiesToDisplay","props","enableLink","shouldStrip","map","property","filteredProperty","subtype","split","value","Array","isArray","prop","index","propValue","sanitizedValue","isLastValue","length","parsedValue","concat","linkKey","join","url","createElement","key","href","filter","Boolean"],"sources":["../../src/helpers/get-parsed-prop-values.js"],"sourcesContent":["import React from 'react';\nimport { Link } from '@blaze-cms/nextjs-components';\nimport isObject from './is-object';\nimport removeUnwantedCharacters from './remove-unwanted-characters';\n\nconst getParsedPropValues = ({ propertiesToDisplay, props, enableLink, shouldStrip }) =>\n propertiesToDisplay\n .map(property => {\n const [filteredProperty, subtype] = property.split('.');\n const value = props[filteredProperty];\n\n if (Array.isArray(value)) {\n return value.map((prop, index) => {\n const propValue = subtype ? prop[subtype] : prop;\n const sanitizedValue = shouldStrip ? removeUnwantedCharacters(propValue) : propValue;\n\n const isLastValue = index === value.length - 1;\n const parsedValue = isLastValue ? sanitizedValue : sanitizedValue.concat(', ');\n const linkKey = [filteredProperty, prop[subtype], index].join('-');\n\n return enableLink && prop.url ? (\n <Link key={linkKey} href={prop.url}>\n {parsedValue}\n </Link>\n ) : (\n parsedValue\n );\n });\n }\n\n if (isObject(value)) {\n return shouldStrip ? removeUnwantedCharacters(value[subtype]) : value[subtype];\n }\n\n return shouldStrip ? removeUnwantedCharacters(value) : value;\n })\n .filter(Boolean);\n\nexport default getParsedPropValues;\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,8BAA8B;AACnD,OAAOC,QAAQ,MAAM,aAAa;AAClC,OAAOC,wBAAwB,MAAM,8BAA8B;AAEnE,MAAMC,mBAAmB,GAAGA,CAAC;EAAEC,mBAAmB;EAAEC,KAAK;EAAEC,UAAU;EAAEC;AAAY,CAAC,KAClFH,mBAAmB,CAChBI,GAAG,CAACC,QAAQ,IAAI;EACf,MAAM,CAACC,gBAAgB,EAAEC,OAAO,CAAC,GAAGF,QAAQ,CAACG,KAAK,CAAC,GAAG,CAAC;EACvD,MAAMC,KAAK,GAAGR,KAAK,CAACK,gBAAgB,CAAC;EAErC,IAAII,KAAK,CAACC,OAAO,CAACF,KAAK,CAAC,EAAE;IACxB,OAAOA,KAAK,CAACL,GAAG,CAAC,CAACQ,IAAI,EAAEC,KAAK,KAAK;MAChC,MAAMC,SAAS,GAAGP,OAAO,GAAGK,IAAI,CAACL,OAAO,CAAC,GAAGK,IAAI;MAChD,MAAMG,cAAc,GAAGZ,WAAW,GAAGL,wBAAwB,CAACgB,SAAS,CAAC,GAAGA,SAAS;MAEpF,MAAME,WAAW,GAAGH,KAAK,KAAKJ,KAAK,CAACQ,MAAM,GAAG,CAAC;MAC9C,MAAMC,WAAW,GAAGF,WAAW,GAAGD,cAAc,GAAGA,cAAc,CAACI,MAAM,CAAC,IAAI,CAAC;MAC9E,MAAMC,OAAO,GAAG,CAACd,gBAAgB,EAAEM,IAAI,CAACL,OAAO,CAAC,EAAEM,KAAK,CAAC,CAACQ,IAAI,CAAC,GAAG,CAAC;MAElE,OAAOnB,UAAU,IAAIU,IAAI,CAACU,GAAG,gBAC3B3B,KAAA,CAAA4B,aAAA,CAAC3B,IAAI;QAAC4B,GAAG,EAAEJ,OAAQ;QAACK,IAAI,EAAEb,IAAI,CAACU;MAAI,GAChCJ,WACG,CAAC,GAEPA,WACD;IACH,CAAC,CAAC;EACJ;EAEA,IAAIrB,QAAQ,CAACY,KAAK,CAAC,EAAE;IACnB,OAAON,WAAW,GAAGL,wBAAwB,CAACW,KAAK,CAACF,OAAO,CAAC,CAAC,GAAGE,KAAK,CAACF,OAAO,CAAC;EAChF;EAEA,OAAOJ,WAAW,GAAGL,wBAAwB,CAACW,KAAK,CAAC,GAAGA,KAAK;AAC9D,CAAC,CAAC,CACDiB,MAAM,CAACC,OAAO,CAAC;AAEpB,eAAe5B,mBAAmB"}
|
|
1
|
+
{"version":3,"file":"get-parsed-prop-values.js","names":["React","Link","isObject","removeUnwantedCharacters","getParsedPropValues","propertiesToDisplay","props","enableLink","shouldStrip","map","property","filteredProperty","subtype","split","value","Array","isArray","prop","index","propValue","sanitizedValue","isLastValue","length","parsedValue","concat","linkKey","join","url","createElement","key","href","filter","Boolean"],"sources":["../../src/helpers/get-parsed-prop-values.js"],"sourcesContent":["import React from 'react';\nimport { Link } from '@blaze-cms/nextjs-components';\nimport isObject from './is-object';\nimport removeUnwantedCharacters from './remove-unwanted-characters';\n\nconst getParsedPropValues = ({ propertiesToDisplay, props, enableLink, shouldStrip }) =>\n propertiesToDisplay\n .map(property => {\n const [filteredProperty, subtype] = property.split('.');\n const value = props[filteredProperty];\n\n if (Array.isArray(value)) {\n return value.map((prop, index) => {\n const propValue = subtype ? prop[subtype] : prop;\n const sanitizedValue = shouldStrip ? removeUnwantedCharacters(propValue) : propValue;\n\n const isLastValue = index === value.length - 1;\n const parsedValue = isLastValue ? sanitizedValue : sanitizedValue.concat(', ');\n const linkKey = [filteredProperty, prop[subtype], index].join('-');\n\n return enableLink && prop.url ? (\n <Link key={linkKey} href={prop.url}>\n {parsedValue}\n </Link>\n ) : (\n parsedValue\n );\n });\n }\n\n if (isObject(value)) {\n return shouldStrip ? removeUnwantedCharacters(value[subtype]) : value[subtype];\n }\n\n return shouldStrip ? removeUnwantedCharacters(value) : value;\n })\n .filter(Boolean);\n\nexport default getParsedPropValues;\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,8BAA8B;AACnD,OAAOC,QAAQ,MAAM,aAAa;AAClC,OAAOC,wBAAwB,MAAM,8BAA8B;AAEnE,MAAMC,mBAAmB,GAAGA,CAAC;EAAEC,mBAAmB;EAAEC,KAAK;EAAEC,UAAU;EAAEC;AAAY,CAAC,KAClFH,mBAAmB,CAChBI,GAAG,CAACC,QAAQ,IAAI;EACf,MAAM,CAACC,gBAAgB,EAAEC,OAAO,CAAC,GAAGF,QAAQ,CAACG,KAAK,CAAC,GAAG,CAAC;EACvD,MAAMC,KAAK,GAAGR,KAAK,CAACK,gBAAgB,CAAC;EAErC,IAAII,KAAK,CAACC,OAAO,CAACF,KAAK,CAAC,EAAE;IACxB,OAAOA,KAAK,CAACL,GAAG,CAAC,CAACQ,IAAI,EAAEC,KAAK,KAAK;MAChC,MAAMC,SAAS,GAAGP,OAAO,GAAGK,IAAI,CAACL,OAAO,CAAC,GAAGK,IAAI;MAChD,MAAMG,cAAc,GAAGZ,WAAW,GAAGL,wBAAwB,CAACgB,SAAS,CAAC,GAAGA,SAAS;MAEpF,MAAME,WAAW,GAAGH,KAAK,KAAKJ,KAAK,CAACQ,MAAM,GAAG,CAAC;MAC9C,MAAMC,WAAW,GAAGF,WAAW,GAAGD,cAAc,GAAGA,cAAc,CAACI,MAAM,CAAC,IAAI,CAAC;MAC9E,MAAMC,OAAO,GAAG,CAACd,gBAAgB,EAAEM,IAAI,CAACL,OAAO,CAAC,EAAEM,KAAK,CAAC,CAACQ,IAAI,CAAC,GAAG,CAAC;MAElE,OAAOnB,UAAU,IAAIU,IAAI,CAACU,GAAG,gBAC3B3B,KAAA,CAAA4B,aAAA,CAAC3B,IAAI;QAAC4B,GAAG,EAAEJ,OAAQ;QAACK,IAAI,EAAEb,IAAI,CAACU;MAAI,GAChCJ,WACG,CAAC,GAEPA,WACD;IACH,CAAC,CAAC;EACJ;EAEA,IAAIrB,QAAQ,CAACY,KAAK,CAAC,EAAE;IACnB,OAAON,WAAW,GAAGL,wBAAwB,CAACW,KAAK,CAACF,OAAO,CAAC,CAAC,GAAGE,KAAK,CAACF,OAAO,CAAC;EAChF;EAEA,OAAOJ,WAAW,GAAGL,wBAAwB,CAACW,KAAK,CAAC,GAAGA,KAAK;AAC9D,CAAC,CAAC,CACDiB,MAAM,CAACC,OAAO,CAAC;AAEpB,eAAe5B,mBAAmB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-parsed-summary-value.js","names":["TRUE","FALSE","parsedSummaryValues","getParsedSummaryValue","value"],"sources":["../../src/helpers/get-parsed-summary-value.js"],"sourcesContent":["const TRUE = 'true';\nconst FALSE = 'false';\n\nconst parsedSummaryValues = {\n TRUE: 'Yes',\n FALSE: 'No'\n};\n\nfunction getParsedSummaryValue(value) {\n if (value === TRUE) return parsedSummaryValues.TRUE;\n if (value === FALSE) return parsedSummaryValues.FALSE;\n\n return value;\n}\n\nexport default getParsedSummaryValue;\n"],"mappings":"AAAA,MAAMA,IAAI,GAAG,MAAM;AACnB,MAAMC,KAAK,GAAG,OAAO;AAErB,MAAMC,mBAAmB,GAAG;EAC1BF,IAAI,EAAE,KAAK;EACXC,KAAK,EAAE;AACT,CAAC;AAED,SAASE,qBAAqBA,CAACC,KAAK,EAAE;EACpC,IAAIA,KAAK,KAAKJ,IAAI,EAAE,OAAOE,mBAAmB,CAACF,IAAI;EACnD,IAAII,KAAK,KAAKH,KAAK,EAAE,OAAOC,mBAAmB,CAACD,KAAK;EAErD,OAAOG,KAAK;AACd;AAEA,eAAeD,qBAAqB"}
|
|
1
|
+
{"version":3,"file":"get-parsed-summary-value.js","names":["TRUE","FALSE","parsedSummaryValues","getParsedSummaryValue","value"],"sources":["../../src/helpers/get-parsed-summary-value.js"],"sourcesContent":["const TRUE = 'true';\nconst FALSE = 'false';\n\nconst parsedSummaryValues = {\n TRUE: 'Yes',\n FALSE: 'No'\n};\n\nfunction getParsedSummaryValue(value) {\n if (value === TRUE) return parsedSummaryValues.TRUE;\n if (value === FALSE) return parsedSummaryValues.FALSE;\n\n return value;\n}\n\nexport default getParsedSummaryValue;\n"],"mappings":"AAAA,MAAMA,IAAI,GAAG,MAAM;AACnB,MAAMC,KAAK,GAAG,OAAO;AAErB,MAAMC,mBAAmB,GAAG;EAC1BF,IAAI,EAAE,KAAK;EACXC,KAAK,EAAE;AACT,CAAC;AAED,SAASE,qBAAqBA,CAACC,KAAK,EAAE;EACpC,IAAIA,KAAK,KAAKJ,IAAI,EAAE,OAAOE,mBAAmB,CAACF,IAAI;EACnD,IAAII,KAAK,KAAKH,KAAK,EAAE,OAAOC,mBAAmB,CAACD,KAAK;EAErD,OAAOG,KAAK;AACd;AAEA,eAAeD,qBAAqB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-prop-values.js","names":["isObject","getPropValues","propertiesToDisplay","props","map","property","filteredProperty","subtype","split","value","Array","isArray","prop","filter","Boolean"],"sources":["../../src/helpers/get-prop-values.js"],"sourcesContent":["import isObject from './is-object';\n\nconst getPropValues = (propertiesToDisplay, props) =>\n propertiesToDisplay\n .map(property => {\n const [filteredProperty, subtype] = property.split('.');\n const value = props[filteredProperty];\n\n if (Array.isArray(value)) {\n return value.map(prop => (subtype ? prop[subtype] : prop));\n }\n\n if (isObject(value)) {\n return value[subtype];\n }\n\n return value;\n })\n .filter(Boolean);\n\nexport default getPropValues;\n"],"mappings":"AAAA,OAAOA,QAAQ,MAAM,aAAa;AAElC,MAAMC,aAAa,GAAGA,CAACC,mBAAmB,EAAEC,KAAK,KAC/CD,mBAAmB,CAChBE,GAAG,CAACC,QAAQ,IAAI;EACf,MAAM,CAACC,gBAAgB,EAAEC,OAAO,CAAC,GAAGF,QAAQ,CAACG,KAAK,CAAC,GAAG,CAAC;EACvD,MAAMC,KAAK,GAAGN,KAAK,CAACG,gBAAgB,CAAC;EAErC,IAAII,KAAK,CAACC,OAAO,CAACF,KAAK,CAAC,EAAE;IACxB,OAAOA,KAAK,CAACL,GAAG,CAACQ,IAAI,IAAKL,OAAO,GAAGK,IAAI,CAACL,OAAO,CAAC,GAAGK,IAAK,CAAC;EAC5D;EAEA,IAAIZ,QAAQ,CAACS,KAAK,CAAC,EAAE;IACnB,OAAOA,KAAK,CAACF,OAAO,CAAC;EACvB;EAEA,OAAOE,KAAK;AACd,CAAC,CAAC,CACDI,MAAM,CAACC,OAAO,CAAC;AAEpB,eAAeb,aAAa"}
|
|
1
|
+
{"version":3,"file":"get-prop-values.js","names":["isObject","getPropValues","propertiesToDisplay","props","map","property","filteredProperty","subtype","split","value","Array","isArray","prop","filter","Boolean"],"sources":["../../src/helpers/get-prop-values.js"],"sourcesContent":["import isObject from './is-object';\n\nconst getPropValues = (propertiesToDisplay, props) =>\n propertiesToDisplay\n .map(property => {\n const [filteredProperty, subtype] = property.split('.');\n const value = props[filteredProperty];\n\n if (Array.isArray(value)) {\n return value.map(prop => (subtype ? prop[subtype] : prop));\n }\n\n if (isObject(value)) {\n return value[subtype];\n }\n\n return value;\n })\n .filter(Boolean);\n\nexport default getPropValues;\n"],"mappings":"AAAA,OAAOA,QAAQ,MAAM,aAAa;AAElC,MAAMC,aAAa,GAAGA,CAACC,mBAAmB,EAAEC,KAAK,KAC/CD,mBAAmB,CAChBE,GAAG,CAACC,QAAQ,IAAI;EACf,MAAM,CAACC,gBAAgB,EAAEC,OAAO,CAAC,GAAGF,QAAQ,CAACG,KAAK,CAAC,GAAG,CAAC;EACvD,MAAMC,KAAK,GAAGN,KAAK,CAACG,gBAAgB,CAAC;EAErC,IAAII,KAAK,CAACC,OAAO,CAACF,KAAK,CAAC,EAAE;IACxB,OAAOA,KAAK,CAACL,GAAG,CAACQ,IAAI,IAAKL,OAAO,GAAGK,IAAI,CAACL,OAAO,CAAC,GAAGK,IAAK,CAAC;EAC5D;EAEA,IAAIZ,QAAQ,CAACS,KAAK,CAAC,EAAE;IACnB,OAAOA,KAAK,CAACF,OAAO,CAAC;EACvB;EAEA,OAAOE,KAAK;AACd,CAAC,CAAC,CACDI,MAAM,CAACC,OAAO,CAAC;AAEpB,eAAeb,aAAa","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-query-filters.js","names":["getSearchFilterType","buildSearchValuesCheckboxSelect","RANGE","CHECKBOX","SELECT","getQueryFilters","searchFilter","query","listName","settings","filters","valuesAnd","valuesOr","rangeFilters","checkboxFilters","selectFilters","values"],"sources":["../../src/helpers/get-query-filters.js"],"sourcesContent":["import getSearchFilterType from './get-search-filter-type';\nimport buildSearchValuesCheckboxSelect from './build-search-values-checkbox-select';\nimport { RANGE, CHECKBOX, SELECT } from '../constants';\n\nconst getQueryFilters = (searchFilter, query, listName) => {\n if (!searchFilter.settings || !searchFilter.settings.filters)\n return { valuesAnd: [], valuesOr: [] };\n\n const rangeFilters = getSearchFilterType(searchFilter, RANGE);\n const checkboxFilters = getSearchFilterType(searchFilter, CHECKBOX);\n const selectFilters = getSearchFilterType(searchFilter, SELECT);\n\n const { values: valuesAnd, valuesOr } = buildSearchValuesCheckboxSelect(\n query,\n rangeFilters,\n checkboxFilters,\n selectFilters,\n listName\n );\n return { valuesAnd, valuesOr };\n};\n\nexport default getQueryFilters;\n"],"mappings":"AAAA,OAAOA,mBAAmB,MAAM,0BAA0B;AAC1D,OAAOC,+BAA+B,MAAM,uCAAuC;AACnF,SAASC,KAAK,EAAEC,QAAQ,EAAEC,MAAM,QAAQ,cAAc;AAEtD,MAAMC,eAAe,GAAGA,CAACC,YAAY,EAAEC,KAAK,EAAEC,QAAQ,KAAK;EACzD,IAAI,CAACF,YAAY,CAACG,QAAQ,IAAI,CAACH,YAAY,CAACG,QAAQ,CAACC,OAAO,EAC1D,OAAO;IAAEC,SAAS,EAAE,EAAE;IAAEC,QAAQ,EAAE;EAAG,CAAC;EAExC,MAAMC,YAAY,GAAGb,mBAAmB,CAACM,YAAY,EAAEJ,KAAK,CAAC;EAC7D,MAAMY,eAAe,GAAGd,mBAAmB,CAACM,YAAY,EAAEH,QAAQ,CAAC;EACnE,MAAMY,aAAa,GAAGf,mBAAmB,CAACM,YAAY,EAAEF,MAAM,CAAC;EAE/D,MAAM;IAAEY,MAAM,EAAEL,SAAS;IAAEC;EAAS,CAAC,GAAGX,+BAA+B,CACrEM,KAAK,EACLM,YAAY,EACZC,eAAe,EACfC,aAAa,EACbP,QACF,CAAC;EACD,OAAO;IAAEG,SAAS;IAAEC;EAAS,CAAC;AAChC,CAAC;AAED,eAAeP,eAAe"}
|
|
1
|
+
{"version":3,"file":"get-query-filters.js","names":["getSearchFilterType","buildSearchValuesCheckboxSelect","RANGE","CHECKBOX","SELECT","getQueryFilters","searchFilter","query","listName","settings","filters","valuesAnd","valuesOr","rangeFilters","checkboxFilters","selectFilters","values"],"sources":["../../src/helpers/get-query-filters.js"],"sourcesContent":["import getSearchFilterType from './get-search-filter-type';\nimport buildSearchValuesCheckboxSelect from './build-search-values-checkbox-select';\nimport { RANGE, CHECKBOX, SELECT } from '../constants';\n\nconst getQueryFilters = (searchFilter, query, listName) => {\n if (!searchFilter.settings || !searchFilter.settings.filters)\n return { valuesAnd: [], valuesOr: [] };\n\n const rangeFilters = getSearchFilterType(searchFilter, RANGE);\n const checkboxFilters = getSearchFilterType(searchFilter, CHECKBOX);\n const selectFilters = getSearchFilterType(searchFilter, SELECT);\n\n const { values: valuesAnd, valuesOr } = buildSearchValuesCheckboxSelect(\n query,\n rangeFilters,\n checkboxFilters,\n selectFilters,\n listName\n );\n return { valuesAnd, valuesOr };\n};\n\nexport default getQueryFilters;\n"],"mappings":"AAAA,OAAOA,mBAAmB,MAAM,0BAA0B;AAC1D,OAAOC,+BAA+B,MAAM,uCAAuC;AACnF,SAASC,KAAK,EAAEC,QAAQ,EAAEC,MAAM,QAAQ,cAAc;AAEtD,MAAMC,eAAe,GAAGA,CAACC,YAAY,EAAEC,KAAK,EAAEC,QAAQ,KAAK;EACzD,IAAI,CAACF,YAAY,CAACG,QAAQ,IAAI,CAACH,YAAY,CAACG,QAAQ,CAACC,OAAO,EAC1D,OAAO;IAAEC,SAAS,EAAE,EAAE;IAAEC,QAAQ,EAAE;EAAG,CAAC;EAExC,MAAMC,YAAY,GAAGb,mBAAmB,CAACM,YAAY,EAAEJ,KAAK,CAAC;EAC7D,MAAMY,eAAe,GAAGd,mBAAmB,CAACM,YAAY,EAAEH,QAAQ,CAAC;EACnE,MAAMY,aAAa,GAAGf,mBAAmB,CAACM,YAAY,EAAEF,MAAM,CAAC;EAE/D,MAAM;IAAEY,MAAM,EAAEL,SAAS;IAAEC;EAAS,CAAC,GAAGX,+BAA+B,CACrEM,KAAK,EACLM,YAAY,EACZC,eAAe,EACfC,aAAa,EACbP,QACF,CAAC;EACD,OAAO;IAAEG,SAAS;IAAEC;EAAS,CAAC;AAChC,CAAC;AAED,eAAeP,eAAe","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-query-props.js","names":["isFilterEntitysId","getFilterProps","ID","getQueryProps","inheritedFilters","currentSchema","filterEntitySchema","length","identifier","currentEntityId","properties","filterEntityId","reduce","acc","filter","filterName","relationName","relationProp","relationEntityName","isEntityItself","relationForeignKeys","shouldIgnoreFilter","join","queryValue","Object","keys","find","propKey","relation","entityIdentifier","queryProp","queryPropFinalValue"],"sources":["../../src/helpers/get-query-props.js"],"sourcesContent":["import isFilterEntitysId from './is-filter-entitys-id';\nimport getFilterProps from './get-filter-props';\nimport { ID } from '../constants';\n\nconst getQueryProps = (inheritedFilters, currentSchema, filterEntitySchema = {}) => {\n if (!currentSchema || !inheritedFilters.length) return ID;\n\n const { identifier: currentEntityId, properties } = currentSchema;\n const { identifier: filterEntityId } = filterEntitySchema;\n\n return inheritedFilters.reduce((acc, filter) => {\n const {\n filterName,\n relationName,\n relationProp,\n relationEntityName,\n isEntityItself,\n relationForeignKeys,\n shouldIgnoreFilter\n } = getFilterProps(filter, currentSchema, filterEntitySchema);\n if (shouldIgnoreFilter) return acc;\n if (relationForeignKeys && relationForeignKeys.length) {\n return `${acc} ${relationForeignKeys.join(' ')}`;\n }\n if (filterName === ID) {\n const queryValue = Object.keys(properties).find(\n propKey =>\n properties[propKey] &&\n properties[propKey].relation &&\n properties[propKey].relation.entityIdentifier === filterEntityId\n );\n if (queryValue) return `${acc} ${queryValue} `;\n }\n const queryProp = relationEntityName ? `${relationName} { ${relationProp} }` : filterName;\n const queryPropFinalValue =\n isEntityItself && isFilterEntitysId(filterName, currentEntityId) ? ID : queryProp;\n\n return `${acc} ${queryPropFinalValue} `;\n }, ID);\n};\n\nexport default getQueryProps;\n"],"mappings":"AAAA,OAAOA,iBAAiB,MAAM,wBAAwB;AACtD,OAAOC,cAAc,MAAM,oBAAoB;AAC/C,SAASC,EAAE,QAAQ,cAAc;AAEjC,MAAMC,aAAa,GAAGA,CAACC,gBAAgB,EAAEC,aAAa,EAAEC,kBAAkB,GAAG,CAAC,CAAC,KAAK;EAClF,IAAI,CAACD,aAAa,IAAI,CAACD,gBAAgB,CAACG,MAAM,EAAE,OAAOL,EAAE;EAEzD,MAAM;IAAEM,UAAU,EAAEC,eAAe;IAAEC;EAAW,CAAC,GAAGL,aAAa;EACjE,MAAM;IAAEG,UAAU,EAAEG;EAAe,CAAC,GAAGL,kBAAkB;EAEzD,OAAOF,gBAAgB,CAACQ,MAAM,CAAC,CAACC,GAAG,EAAEC,MAAM,KAAK;IAC9C,MAAM;MACJC,UAAU;MACVC,YAAY;MACZC,YAAY;MACZC,kBAAkB;MAClBC,cAAc;MACdC,mBAAmB;MACnBC;IACF,CAAC,GAAGpB,cAAc,CAACa,MAAM,EAAET,aAAa,EAAEC,kBAAkB,CAAC;IAC7D,IAAIe,kBAAkB,EAAE,OAAOR,GAAG;IAClC,IAAIO,mBAAmB,IAAIA,mBAAmB,CAACb,MAAM,EAAE;MACrD,OAAQ,GAAEM,GAAI,IAAGO,mBAAmB,CAACE,IAAI,CAAC,GAAG,CAAE,EAAC;IAClD;IACA,IAAIP,UAAU,KAAKb,EAAE,EAAE;MACrB,MAAMqB,UAAU,GAAGC,MAAM,CAACC,IAAI,CAACf,UAAU,CAAC,CAACgB,IAAI,CAC7CC,OAAO,IACLjB,UAAU,CAACiB,OAAO,CAAC,IACnBjB,UAAU,CAACiB,OAAO,CAAC,CAACC,QAAQ,IAC5BlB,UAAU,CAACiB,OAAO,CAAC,CAACC,QAAQ,CAACC,gBAAgB,KAAKlB,cACtD,CAAC;MACD,IAAIY,UAAU,EAAE,OAAQ,GAAEV,GAAI,IAAGU,UAAW,GAAE;IAChD;IACA,MAAMO,SAAS,GAAGZ,kBAAkB,GAAI,GAAEF,YAAa,MAAKC,YAAa,IAAG,GAAGF,UAAU;IACzF,MAAMgB,mBAAmB,GACvBZ,cAAc,IAAInB,iBAAiB,CAACe,UAAU,EAAEN,eAAe,CAAC,GAAGP,EAAE,GAAG4B,SAAS;IAEnF,OAAQ,GAAEjB,GAAI,IAAGkB,mBAAoB,GAAE;EACzC,CAAC,EAAE7B,EAAE,CAAC;AACR,CAAC;AAED,eAAeC,aAAa"}
|
|
1
|
+
{"version":3,"file":"get-query-props.js","names":["isFilterEntitysId","getFilterProps","ID","getQueryProps","inheritedFilters","currentSchema","filterEntitySchema","length","identifier","currentEntityId","properties","filterEntityId","reduce","acc","filter","filterName","relationName","relationProp","relationEntityName","isEntityItself","relationForeignKeys","shouldIgnoreFilter","join","queryValue","Object","keys","find","propKey","relation","entityIdentifier","queryProp","queryPropFinalValue"],"sources":["../../src/helpers/get-query-props.js"],"sourcesContent":["import isFilterEntitysId from './is-filter-entitys-id';\nimport getFilterProps from './get-filter-props';\nimport { ID } from '../constants';\n\nconst getQueryProps = (inheritedFilters, currentSchema, filterEntitySchema = {}) => {\n if (!currentSchema || !inheritedFilters.length) return ID;\n\n const { identifier: currentEntityId, properties } = currentSchema;\n const { identifier: filterEntityId } = filterEntitySchema;\n\n return inheritedFilters.reduce((acc, filter) => {\n const {\n filterName,\n relationName,\n relationProp,\n relationEntityName,\n isEntityItself,\n relationForeignKeys,\n shouldIgnoreFilter\n } = getFilterProps(filter, currentSchema, filterEntitySchema);\n if (shouldIgnoreFilter) return acc;\n if (relationForeignKeys && relationForeignKeys.length) {\n return `${acc} ${relationForeignKeys.join(' ')}`;\n }\n if (filterName === ID) {\n const queryValue = Object.keys(properties).find(\n propKey =>\n properties[propKey] &&\n properties[propKey].relation &&\n properties[propKey].relation.entityIdentifier === filterEntityId\n );\n if (queryValue) return `${acc} ${queryValue} `;\n }\n const queryProp = relationEntityName ? `${relationName} { ${relationProp} }` : filterName;\n const queryPropFinalValue =\n isEntityItself && isFilterEntitysId(filterName, currentEntityId) ? ID : queryProp;\n\n return `${acc} ${queryPropFinalValue} `;\n }, ID);\n};\n\nexport default getQueryProps;\n"],"mappings":"AAAA,OAAOA,iBAAiB,MAAM,wBAAwB;AACtD,OAAOC,cAAc,MAAM,oBAAoB;AAC/C,SAASC,EAAE,QAAQ,cAAc;AAEjC,MAAMC,aAAa,GAAGA,CAACC,gBAAgB,EAAEC,aAAa,EAAEC,kBAAkB,GAAG,CAAC,CAAC,KAAK;EAClF,IAAI,CAACD,aAAa,IAAI,CAACD,gBAAgB,CAACG,MAAM,EAAE,OAAOL,EAAE;EAEzD,MAAM;IAAEM,UAAU,EAAEC,eAAe;IAAEC;EAAW,CAAC,GAAGL,aAAa;EACjE,MAAM;IAAEG,UAAU,EAAEG;EAAe,CAAC,GAAGL,kBAAkB;EAEzD,OAAOF,gBAAgB,CAACQ,MAAM,CAAC,CAACC,GAAG,EAAEC,MAAM,KAAK;IAC9C,MAAM;MACJC,UAAU;MACVC,YAAY;MACZC,YAAY;MACZC,kBAAkB;MAClBC,cAAc;MACdC,mBAAmB;MACnBC;IACF,CAAC,GAAGpB,cAAc,CAACa,MAAM,EAAET,aAAa,EAAEC,kBAAkB,CAAC;IAC7D,IAAIe,kBAAkB,EAAE,OAAOR,GAAG;IAClC,IAAIO,mBAAmB,IAAIA,mBAAmB,CAACb,MAAM,EAAE;MACrD,OAAQ,GAAEM,GAAI,IAAGO,mBAAmB,CAACE,IAAI,CAAC,GAAG,CAAE,EAAC;IAClD;IACA,IAAIP,UAAU,KAAKb,EAAE,EAAE;MACrB,MAAMqB,UAAU,GAAGC,MAAM,CAACC,IAAI,CAACf,UAAU,CAAC,CAACgB,IAAI,CAC7CC,OAAO,IACLjB,UAAU,CAACiB,OAAO,CAAC,IACnBjB,UAAU,CAACiB,OAAO,CAAC,CAACC,QAAQ,IAC5BlB,UAAU,CAACiB,OAAO,CAAC,CAACC,QAAQ,CAACC,gBAAgB,KAAKlB,cACtD,CAAC;MACD,IAAIY,UAAU,EAAE,OAAQ,GAAEV,GAAI,IAAGU,UAAW,GAAE;IAChD;IACA,MAAMO,SAAS,GAAGZ,kBAAkB,GAAI,GAAEF,YAAa,MAAKC,YAAa,IAAG,GAAGF,UAAU;IACzF,MAAMgB,mBAAmB,GACvBZ,cAAc,IAAInB,iBAAiB,CAACe,UAAU,EAAEN,eAAe,CAAC,GAAGP,EAAE,GAAG4B,SAAS;IAEnF,OAAQ,GAAEjB,GAAI,IAAGkB,mBAAoB,GAAE;EACzC,CAAC,EAAE7B,EAAE,CAAC;AACR,CAAC;AAED,eAAeC,aAAa","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-required-schemas.js","names":["getRequiredSchemas","searchProperties","id","properties","dynamicProperties","relations","map","property","fieldParts","split","localFieldPart","length","matchingRelation","find","localField","entityIdentifier","filter","Boolean"],"sources":["../../src/helpers/get-required-schemas.js"],"sourcesContent":["const getRequiredSchemas = (\n searchProperties,\n { id, properties = {}, dynamicProperties = {}, relations = [] } = {}\n) =>\n [\n id,\n ...searchProperties.map(property => {\n if (!property) return null;\n\n const fieldParts = property.split('.');\n const [localFieldPart] = property.split('.');\n\n if (\n fieldParts.length === 1 ||\n properties[localFieldPart] ||\n dynamicProperties[localFieldPart]\n ) {\n return null;\n }\n\n const matchingRelation = relations.find(({ localField }) => localField === localFieldPart);\n if (!matchingRelation) return null;\n\n return matchingRelation.entityIdentifier;\n })\n ].filter(Boolean);\n\nexport default getRequiredSchemas;\n"],"mappings":"AAAA,MAAMA,kBAAkB,GAAGA,CACzBC,gBAAgB,EAChB;EAAEC,EAAE;EAAEC,UAAU,GAAG,CAAC,CAAC;EAAEC,iBAAiB,GAAG,CAAC,CAAC;EAAEC,SAAS,GAAG;AAAG,CAAC,GAAG,CAAC,CAAC,KAEpE,CACEH,EAAE,EACF,GAAGD,gBAAgB,CAACK,GAAG,CAACC,QAAQ,IAAI;EAClC,IAAI,CAACA,QAAQ,EAAE,OAAO,IAAI;EAE1B,MAAMC,UAAU,GAAGD,QAAQ,CAACE,KAAK,CAAC,GAAG,CAAC;EACtC,MAAM,CAACC,cAAc,CAAC,GAAGH,QAAQ,CAACE,KAAK,CAAC,GAAG,CAAC;EAE5C,IACED,UAAU,CAACG,MAAM,KAAK,CAAC,IACvBR,UAAU,CAACO,cAAc,CAAC,IAC1BN,iBAAiB,CAACM,cAAc,CAAC,EACjC;IACA,OAAO,IAAI;EACb;EAEA,MAAME,gBAAgB,GAAGP,SAAS,CAACQ,IAAI,CAAC,CAAC;IAAEC;EAAW,CAAC,KAAKA,UAAU,KAAKJ,cAAc,CAAC;EAC1F,IAAI,CAACE,gBAAgB,EAAE,OAAO,IAAI;EAElC,OAAOA,gBAAgB,CAACG,gBAAgB;AAC1C,CAAC,CAAC,CACH,CAACC,MAAM,CAACC,OAAO,CAAC;AAEnB,eAAejB,kBAAkB"}
|
|
1
|
+
{"version":3,"file":"get-required-schemas.js","names":["getRequiredSchemas","searchProperties","id","properties","dynamicProperties","relations","map","property","fieldParts","split","localFieldPart","length","matchingRelation","find","localField","entityIdentifier","filter","Boolean"],"sources":["../../src/helpers/get-required-schemas.js"],"sourcesContent":["const getRequiredSchemas = (\n searchProperties,\n { id, properties = {}, dynamicProperties = {}, relations = [] } = {}\n) =>\n [\n id,\n ...searchProperties.map(property => {\n if (!property) return null;\n\n const fieldParts = property.split('.');\n const [localFieldPart] = property.split('.');\n\n if (\n fieldParts.length === 1 ||\n properties[localFieldPart] ||\n dynamicProperties[localFieldPart]\n ) {\n return null;\n }\n\n const matchingRelation = relations.find(({ localField }) => localField === localFieldPart);\n if (!matchingRelation) return null;\n\n return matchingRelation.entityIdentifier;\n })\n ].filter(Boolean);\n\nexport default getRequiredSchemas;\n"],"mappings":"AAAA,MAAMA,kBAAkB,GAAGA,CACzBC,gBAAgB,EAChB;EAAEC,EAAE;EAAEC,UAAU,GAAG,CAAC,CAAC;EAAEC,iBAAiB,GAAG,CAAC,CAAC;EAAEC,SAAS,GAAG;AAAG,CAAC,GAAG,CAAC,CAAC,KAEpE,CACEH,EAAE,EACF,GAAGD,gBAAgB,CAACK,GAAG,CAACC,QAAQ,IAAI;EAClC,IAAI,CAACA,QAAQ,EAAE,OAAO,IAAI;EAE1B,MAAMC,UAAU,GAAGD,QAAQ,CAACE,KAAK,CAAC,GAAG,CAAC;EACtC,MAAM,CAACC,cAAc,CAAC,GAAGH,QAAQ,CAACE,KAAK,CAAC,GAAG,CAAC;EAE5C,IACED,UAAU,CAACG,MAAM,KAAK,CAAC,IACvBR,UAAU,CAACO,cAAc,CAAC,IAC1BN,iBAAiB,CAACM,cAAc,CAAC,EACjC;IACA,OAAO,IAAI;EACb;EAEA,MAAME,gBAAgB,GAAGP,SAAS,CAACQ,IAAI,CAAC,CAAC;IAAEC;EAAW,CAAC,KAAKA,UAAU,KAAKJ,cAAc,CAAC;EAC1F,IAAI,CAACE,gBAAgB,EAAE,OAAO,IAAI;EAElC,OAAOA,gBAAgB,CAACG,gBAAgB;AAC1C,CAAC,CAAC,CACH,CAACC,MAAM,CAACC,OAAO,CAAC;AAEnB,eAAejB,kBAAkB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-sanitized-prop-values.js","names":["getSanitizedPropValues","values","length","reduce","prev","curr"],"sources":["../../src/helpers/get-sanitized-prop-values.js"],"sourcesContent":["const getSanitizedPropValues = values =>\n values.length ? values.reduce((prev, curr) => (curr.length ? [prev, ', ', curr] : prev)) : values;\n\nexport default getSanitizedPropValues;\n"],"mappings":"AAAA,MAAMA,sBAAsB,GAAGC,MAAM,IACnCA,MAAM,CAACC,MAAM,GAAGD,MAAM,CAACE,MAAM,CAAC,CAACC,IAAI,EAAEC,IAAI,KAAMA,IAAI,CAACH,MAAM,GAAG,CAACE,IAAI,EAAE,IAAI,EAAEC,IAAI,CAAC,GAAGD,IAAK,CAAC,GAAGH,MAAM;AAEnG,eAAeD,sBAAsB"}
|
|
1
|
+
{"version":3,"file":"get-sanitized-prop-values.js","names":["getSanitizedPropValues","values","length","reduce","prev","curr"],"sources":["../../src/helpers/get-sanitized-prop-values.js"],"sourcesContent":["const getSanitizedPropValues = values =>\n values.length ? values.reduce((prev, curr) => (curr.length ? [prev, ', ', curr] : prev)) : values;\n\nexport default getSanitizedPropValues;\n"],"mappings":"AAAA,MAAMA,sBAAsB,GAAGC,MAAM,IACnCA,MAAM,CAACC,MAAM,GAAGD,MAAM,CAACE,MAAM,CAAC,CAACC,IAAI,EAAEC,IAAI,KAAMA,IAAI,CAACH,MAAM,GAAG,CAACE,IAAI,EAAE,IAAI,EAAEC,IAAI,CAAC,GAAGD,IAAK,CAAC,GAAGH,MAAM;AAEnG,eAAeD,sBAAsB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-search-filter-type.js","names":["getSearchFilterType","settings","filters","type","length","filter","filterType"],"sources":["../../src/helpers/get-search-filter-type.js"],"sourcesContent":["const getSearchFilterType = ({ settings: { filters = [] } = {} }, type) => {\n if (!filters.length) return [];\n\n return filters.filter(({ type: filterType }) => filterType === type);\n};\n\nexport default getSearchFilterType;\n"],"mappings":"AAAA,MAAMA,mBAAmB,GAAGA,CAAC;EAAEC,QAAQ,EAAE;IAAEC,OAAO,GAAG;EAAG,CAAC,GAAG,CAAC;AAAE,CAAC,EAAEC,IAAI,KAAK;EACzE,IAAI,CAACD,OAAO,CAACE,MAAM,EAAE,OAAO,EAAE;EAE9B,OAAOF,OAAO,CAACG,MAAM,CAAC,CAAC;IAAEF,IAAI,EAAEG;EAAW,CAAC,KAAKA,UAAU,KAAKH,IAAI,CAAC;AACtE,CAAC;AAED,eAAeH,mBAAmB"}
|
|
1
|
+
{"version":3,"file":"get-search-filter-type.js","names":["getSearchFilterType","settings","filters","type","length","filter","filterType"],"sources":["../../src/helpers/get-search-filter-type.js"],"sourcesContent":["const getSearchFilterType = ({ settings: { filters = [] } = {} }, type) => {\n if (!filters.length) return [];\n\n return filters.filter(({ type: filterType }) => filterType === type);\n};\n\nexport default getSearchFilterType;\n"],"mappings":"AAAA,MAAMA,mBAAmB,GAAGA,CAAC;EAAEC,QAAQ,EAAE;IAAEC,OAAO,GAAG;EAAG,CAAC,GAAG,CAAC;AAAE,CAAC,EAAEC,IAAI,KAAK;EACzE,IAAI,CAACD,OAAO,CAACE,MAAM,EAAE,OAAO,EAAE;EAE9B,OAAOF,OAAO,CAACG,MAAM,CAAC,CAAC;IAAEF,IAAI,EAAEG;EAAW,CAAC,KAAKA,UAAU,KAAKH,IAAI,CAAC;AACtE,CAAC;AAED,eAAeH,mBAAmB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-sort-by-field-name.js","names":["KEYWORD","buildFieldName","relations","fieldValue","stringProps","field","Array","isArray","updatedField","includes","relationName","relationProp","split","relation","filter","localField","entityIdentifier","getSortbyFieldName","sortby","isSortbyArray"],"sources":["../../src/helpers/get-sort-by-field-name.js"],"sourcesContent":["import { KEYWORD } from '../constants';\n\nconst buildFieldName = (relations, fieldValue, stringProps) => {\n const field = Array.isArray(fieldValue) ? fieldValue[0] : fieldValue;\n if (!field) return null;\n\n let updatedField = field;\n\n if (field.includes('.')) {\n const [relationName, relationProp] = field.split('.');\n\n const [relation] = relations.filter(({ localField }) => localField === relationName);\n const { entityIdentifier = '' } = relation || {};\n if (entityIdentifier && entityIdentifier !== relationName)\n updatedField = `${entityIdentifier}.${relationProp}`;\n }\n return stringProps.includes(updatedField) ? `${field}.${KEYWORD}` : field;\n};\n\nconst getSortbyFieldName = (relations, sortby, stringProps, isSortbyArray) =>\n isSortbyArray\n ? buildFieldName(relations, sortby[0], stringProps)\n : buildFieldName(relations, sortby, stringProps);\n\nexport default getSortbyFieldName;\n"],"mappings":"AAAA,SAASA,OAAO,QAAQ,cAAc;AAEtC,MAAMC,cAAc,GAAGA,CAACC,SAAS,EAAEC,UAAU,EAAEC,WAAW,KAAK;EAC7D,MAAMC,KAAK,GAAGC,KAAK,CAACC,OAAO,CAACJ,UAAU,CAAC,GAAGA,UAAU,CAAC,CAAC,CAAC,GAAGA,UAAU;EACpE,IAAI,CAACE,KAAK,EAAE,OAAO,IAAI;EAEvB,IAAIG,YAAY,GAAGH,KAAK;EAExB,IAAIA,KAAK,CAACI,QAAQ,CAAC,GAAG,CAAC,EAAE;IACvB,MAAM,CAACC,YAAY,EAAEC,YAAY,CAAC,GAAGN,KAAK,CAACO,KAAK,CAAC,GAAG,CAAC;IAErD,MAAM,CAACC,QAAQ,CAAC,GAAGX,SAAS,CAACY,MAAM,CAAC,CAAC;MAAEC;IAAW,CAAC,KAAKA,UAAU,KAAKL,YAAY,CAAC;IACpF,MAAM;MAAEM,gBAAgB,GAAG;IAAG,CAAC,GAAGH,QAAQ,IAAI,CAAC,CAAC;IAChD,IAAIG,gBAAgB,IAAIA,gBAAgB,KAAKN,YAAY,EACvDF,YAAY,GAAI,GAAEQ,gBAAiB,IAAGL,YAAa,EAAC;EACxD;EACA,OAAOP,WAAW,CAACK,QAAQ,CAACD,YAAY,CAAC,GAAI,GAAEH,KAAM,IAAGL,OAAQ,EAAC,GAAGK,KAAK;AAC3E,CAAC;AAED,MAAMY,kBAAkB,GAAGA,CAACf,SAAS,EAAEgB,MAAM,EAAEd,WAAW,EAAEe,aAAa,KACvEA,aAAa,GACTlB,cAAc,CAACC,SAAS,EAAEgB,MAAM,CAAC,CAAC,CAAC,EAAEd,WAAW,CAAC,GACjDH,cAAc,CAACC,SAAS,EAAEgB,MAAM,EAAEd,WAAW,CAAC;AAEpD,eAAea,kBAAkB"}
|
|
1
|
+
{"version":3,"file":"get-sort-by-field-name.js","names":["KEYWORD","buildFieldName","relations","fieldValue","stringProps","field","Array","isArray","updatedField","includes","relationName","relationProp","split","relation","filter","localField","entityIdentifier","getSortbyFieldName","sortby","isSortbyArray"],"sources":["../../src/helpers/get-sort-by-field-name.js"],"sourcesContent":["import { KEYWORD } from '../constants';\n\nconst buildFieldName = (relations, fieldValue, stringProps) => {\n const field = Array.isArray(fieldValue) ? fieldValue[0] : fieldValue;\n if (!field) return null;\n\n let updatedField = field;\n\n if (field.includes('.')) {\n const [relationName, relationProp] = field.split('.');\n\n const [relation] = relations.filter(({ localField }) => localField === relationName);\n const { entityIdentifier = '' } = relation || {};\n if (entityIdentifier && entityIdentifier !== relationName)\n updatedField = `${entityIdentifier}.${relationProp}`;\n }\n return stringProps.includes(updatedField) ? `${field}.${KEYWORD}` : field;\n};\n\nconst getSortbyFieldName = (relations, sortby, stringProps, isSortbyArray) =>\n isSortbyArray\n ? buildFieldName(relations, sortby[0], stringProps)\n : buildFieldName(relations, sortby, stringProps);\n\nexport default getSortbyFieldName;\n"],"mappings":"AAAA,SAASA,OAAO,QAAQ,cAAc;AAEtC,MAAMC,cAAc,GAAGA,CAACC,SAAS,EAAEC,UAAU,EAAEC,WAAW,KAAK;EAC7D,MAAMC,KAAK,GAAGC,KAAK,CAACC,OAAO,CAACJ,UAAU,CAAC,GAAGA,UAAU,CAAC,CAAC,CAAC,GAAGA,UAAU;EACpE,IAAI,CAACE,KAAK,EAAE,OAAO,IAAI;EAEvB,IAAIG,YAAY,GAAGH,KAAK;EAExB,IAAIA,KAAK,CAACI,QAAQ,CAAC,GAAG,CAAC,EAAE;IACvB,MAAM,CAACC,YAAY,EAAEC,YAAY,CAAC,GAAGN,KAAK,CAACO,KAAK,CAAC,GAAG,CAAC;IAErD,MAAM,CAACC,QAAQ,CAAC,GAAGX,SAAS,CAACY,MAAM,CAAC,CAAC;MAAEC;IAAW,CAAC,KAAKA,UAAU,KAAKL,YAAY,CAAC;IACpF,MAAM;MAAEM,gBAAgB,GAAG;IAAG,CAAC,GAAGH,QAAQ,IAAI,CAAC,CAAC;IAChD,IAAIG,gBAAgB,IAAIA,gBAAgB,KAAKN,YAAY,EACvDF,YAAY,GAAI,GAAEQ,gBAAiB,IAAGL,YAAa,EAAC;EACxD;EACA,OAAOP,WAAW,CAACK,QAAQ,CAACD,YAAY,CAAC,GAAI,GAAEH,KAAM,IAAGL,OAAQ,EAAC,GAAGK,KAAK;AAC3E,CAAC;AAED,MAAMY,kBAAkB,GAAGA,CAACf,SAAS,EAAEgB,MAAM,EAAEd,WAAW,EAAEe,aAAa,KACvEA,aAAa,GACTlB,cAAc,CAACC,SAAS,EAAEgB,MAAM,CAAC,CAAC,CAAC,EAAEd,WAAW,CAAC,GACjDH,cAAc,CAACC,SAAS,EAAEgB,MAAM,EAAEd,WAAW,CAAC;AAEpD,eAAea,kBAAkB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-unpublished-entity-name.js","names":["PUBLISHED","UNDERSCORE","getUnpublishedEntityName","entity","split","filter","word","join"],"sources":["../../src/helpers/get-unpublished-entity-name.js"],"sourcesContent":["import { PUBLISHED } from '../constants';\n\nconst UNDERSCORE = '_';\n\nconst getUnpublishedEntityName = entity =>\n entity\n .split(UNDERSCORE)\n .filter(word => word !== PUBLISHED)\n .join(UNDERSCORE);\n\nexport default getUnpublishedEntityName;\n"],"mappings":"AAAA,SAASA,SAAS,QAAQ,cAAc;AAExC,MAAMC,UAAU,GAAG,GAAG;AAEtB,MAAMC,wBAAwB,GAAGC,MAAM,IACrCA,MAAM,CACHC,KAAK,CAACH,UAAU,CAAC,CACjBI,MAAM,CAACC,IAAI,IAAIA,IAAI,KAAKN,SAAS,CAAC,CAClCO,IAAI,CAACN,UAAU,CAAC;AAErB,eAAeC,wBAAwB"}
|
|
1
|
+
{"version":3,"file":"get-unpublished-entity-name.js","names":["PUBLISHED","UNDERSCORE","getUnpublishedEntityName","entity","split","filter","word","join"],"sources":["../../src/helpers/get-unpublished-entity-name.js"],"sourcesContent":["import { PUBLISHED } from '../constants';\n\nconst UNDERSCORE = '_';\n\nconst getUnpublishedEntityName = entity =>\n entity\n .split(UNDERSCORE)\n .filter(word => word !== PUBLISHED)\n .join(UNDERSCORE);\n\nexport default getUnpublishedEntityName;\n"],"mappings":"AAAA,SAASA,SAAS,QAAQ,cAAc;AAExC,MAAMC,UAAU,GAAG,GAAG;AAEtB,MAAMC,wBAAwB,GAAGC,MAAM,IACrCA,MAAM,CACHC,KAAK,CAACH,UAAU,CAAC,CACjBI,MAAM,CAACC,IAAI,IAAIA,IAAI,KAAKN,SAAS,CAAC,CAClCO,IAAI,CAACN,UAAU,CAAC;AAErB,eAAeC,wBAAwB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-updated-filter-by.js","names":["uniq","buildInheritedFilters","getUpdatedFilterBy","inheritedFilters","entityData","currentSchema","filterEntitySchema","itemId","props","length","relationFilters","filterBy"],"sources":["../../src/helpers/get-updated-filter-by.js"],"sourcesContent":["import uniq from 'lodash.uniq';\nimport buildInheritedFilters from './build-inherited-filters';\n\nconst getUpdatedFilterBy = (\n inheritedFilters,\n entityData,\n currentSchema,\n filterEntitySchema,\n itemId,\n props\n) => {\n if (inheritedFilters && inheritedFilters.length) {\n const relationFilters = buildInheritedFilters(\n entityData,\n inheritedFilters,\n currentSchema,\n filterEntitySchema,\n itemId\n );\n\n return relationFilters.length ? uniq([...props.filterBy, ...relationFilters]) : null;\n }\n return [];\n};\n\nexport default getUpdatedFilterBy;\n"],"mappings":"AAAA,OAAOA,IAAI,MAAM,aAAa;AAC9B,OAAOC,qBAAqB,MAAM,2BAA2B;AAE7D,MAAMC,kBAAkB,GAAGA,CACzBC,gBAAgB,EAChBC,UAAU,EACVC,aAAa,EACbC,kBAAkB,EAClBC,MAAM,EACNC,KAAK,KACF;EACH,IAAIL,gBAAgB,IAAIA,gBAAgB,CAACM,MAAM,EAAE;IAC/C,MAAMC,eAAe,GAAGT,qBAAqB,CAC3CG,UAAU,EACVD,gBAAgB,EAChBE,aAAa,EACbC,kBAAkB,EAClBC,MACF,CAAC;IAED,OAAOG,eAAe,CAACD,MAAM,GAAGT,IAAI,CAAC,CAAC,GAAGQ,KAAK,CAACG,QAAQ,EAAE,GAAGD,eAAe,CAAC,CAAC,GAAG,IAAI;EACtF;EACA,OAAO,EAAE;AACX,CAAC;AAED,eAAeR,kBAAkB"}
|
|
1
|
+
{"version":3,"file":"get-updated-filter-by.js","names":["uniq","buildInheritedFilters","getUpdatedFilterBy","inheritedFilters","entityData","currentSchema","filterEntitySchema","itemId","props","length","relationFilters","filterBy"],"sources":["../../src/helpers/get-updated-filter-by.js"],"sourcesContent":["import uniq from 'lodash.uniq';\nimport buildInheritedFilters from './build-inherited-filters';\n\nconst getUpdatedFilterBy = (\n inheritedFilters,\n entityData,\n currentSchema,\n filterEntitySchema,\n itemId,\n props\n) => {\n if (inheritedFilters && inheritedFilters.length) {\n const relationFilters = buildInheritedFilters(\n entityData,\n inheritedFilters,\n currentSchema,\n filterEntitySchema,\n itemId\n );\n\n return relationFilters.length ? uniq([...props.filterBy, ...relationFilters]) : null;\n }\n return [];\n};\n\nexport default getUpdatedFilterBy;\n"],"mappings":"AAAA,OAAOA,IAAI,MAAM,aAAa;AAC9B,OAAOC,qBAAqB,MAAM,2BAA2B;AAE7D,MAAMC,kBAAkB,GAAGA,CACzBC,gBAAgB,EAChBC,UAAU,EACVC,aAAa,EACbC,kBAAkB,EAClBC,MAAM,EACNC,KAAK,KACF;EACH,IAAIL,gBAAgB,IAAIA,gBAAgB,CAACM,MAAM,EAAE;IAC/C,MAAMC,eAAe,GAAGT,qBAAqB,CAC3CG,UAAU,EACVD,gBAAgB,EAChBE,aAAa,EACbC,kBAAkB,EAClBC,MACF,CAAC;IAED,OAAOG,eAAe,CAACD,MAAM,GAAGT,IAAI,CAAC,CAAC,GAAGQ,KAAK,CAACG,QAAQ,EAAE,GAAGD,eAAe,CAAC,CAAC,GAAG,IAAI;EACtF;EACA,OAAO,EAAE;AACX,CAAC;AAED,eAAeR,kBAAkB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-updated-items-to-display.js","names":["getUpdatedItemsToDisplay","parentSchema","parentEntityData","itemsToDisplay","inheritedFilters","idProp","find","filter","indexOf","properties","entityKey","split","queryValue","Object","keys","propKey","relation","entityIdentifier","parentValues","updatedItemsToDisplay","Array","isArray","forEach","value","push","displayItems"],"sources":["../../src/helpers/get-updated-items-to-display.js"],"sourcesContent":["const getUpdatedItemsToDisplay = ({\n parentSchema,\n parentEntityData,\n itemsToDisplay = [],\n inheritedFilters = []\n}) => {\n const idProp = inheritedFilters.find(filter => filter.indexOf('id/') === 0);\n\n if (!idProp || !parentSchema || !parentEntityData) return itemsToDisplay;\n const { properties } = parentSchema;\n const [, entityKey] = idProp.split('/');\n if (!properties || !entityKey) return itemsToDisplay;\n const queryValue = Object.keys(properties).find(\n propKey =>\n properties[propKey] &&\n properties[propKey].relation &&\n properties[propKey].relation.entityIdentifier === entityKey\n );\n const parentValues = parentEntityData[queryValue];\n if (!parentValues) return itemsToDisplay;\n const updatedItemsToDisplay = [...itemsToDisplay];\n if (Array.isArray(parentValues)) {\n parentValues.forEach(value => {\n updatedItemsToDisplay.push({ displayItems: [value] });\n });\n } else {\n updatedItemsToDisplay.push({ displayItems: [parentValues] });\n }\n return updatedItemsToDisplay;\n};\n\nexport default getUpdatedItemsToDisplay;\n"],"mappings":"AAAA,MAAMA,wBAAwB,GAAGA,CAAC;EAChCC,YAAY;EACZC,gBAAgB;EAChBC,cAAc,GAAG,EAAE;EACnBC,gBAAgB,GAAG;AACrB,CAAC,KAAK;EACJ,MAAMC,MAAM,GAAGD,gBAAgB,CAACE,IAAI,CAACC,MAAM,IAAIA,MAAM,CAACC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;EAE3E,IAAI,CAACH,MAAM,IAAI,CAACJ,YAAY,IAAI,CAACC,gBAAgB,EAAE,OAAOC,cAAc;EACxE,MAAM;IAAEM;EAAW,CAAC,GAAGR,YAAY;EACnC,MAAM,GAAGS,SAAS,CAAC,GAAGL,MAAM,CAACM,KAAK,CAAC,GAAG,CAAC;EACvC,IAAI,CAACF,UAAU,IAAI,CAACC,SAAS,EAAE,OAAOP,cAAc;EACpD,MAAMS,UAAU,GAAGC,MAAM,CAACC,IAAI,CAACL,UAAU,CAAC,CAACH,IAAI,CAC7CS,OAAO,IACLN,UAAU,CAACM,OAAO,CAAC,IACnBN,UAAU,CAACM,OAAO,CAAC,CAACC,QAAQ,IAC5BP,UAAU,CAACM,OAAO,CAAC,CAACC,QAAQ,CAACC,gBAAgB,KAAKP,SACtD,CAAC;EACD,MAAMQ,YAAY,GAAGhB,gBAAgB,CAACU,UAAU,CAAC;EACjD,IAAI,CAACM,YAAY,EAAE,OAAOf,cAAc;EACxC,MAAMgB,qBAAqB,GAAG,CAAC,GAAGhB,cAAc,CAAC;EACjD,IAAIiB,KAAK,CAACC,OAAO,CAACH,YAAY,CAAC,EAAE;IAC/BA,YAAY,CAACI,OAAO,CAACC,KAAK,IAAI;MAC5BJ,qBAAqB,CAACK,IAAI,CAAC;QAAEC,YAAY,EAAE,CAACF,KAAK;MAAE,CAAC,CAAC;IACvD,CAAC,CAAC;EACJ,CAAC,MAAM;IACLJ,qBAAqB,CAACK,IAAI,CAAC;MAAEC,YAAY,EAAE,CAACP,YAAY;IAAE,CAAC,CAAC;EAC9D;EACA,OAAOC,qBAAqB;AAC9B,CAAC;AAED,eAAenB,wBAAwB"}
|
|
1
|
+
{"version":3,"file":"get-updated-items-to-display.js","names":["getUpdatedItemsToDisplay","parentSchema","parentEntityData","itemsToDisplay","inheritedFilters","idProp","find","filter","indexOf","properties","entityKey","split","queryValue","Object","keys","propKey","relation","entityIdentifier","parentValues","updatedItemsToDisplay","Array","isArray","forEach","value","push","displayItems"],"sources":["../../src/helpers/get-updated-items-to-display.js"],"sourcesContent":["const getUpdatedItemsToDisplay = ({\n parentSchema,\n parentEntityData,\n itemsToDisplay = [],\n inheritedFilters = []\n}) => {\n const idProp = inheritedFilters.find(filter => filter.indexOf('id/') === 0);\n\n if (!idProp || !parentSchema || !parentEntityData) return itemsToDisplay;\n const { properties } = parentSchema;\n const [, entityKey] = idProp.split('/');\n if (!properties || !entityKey) return itemsToDisplay;\n const queryValue = Object.keys(properties).find(\n propKey =>\n properties[propKey] &&\n properties[propKey].relation &&\n properties[propKey].relation.entityIdentifier === entityKey\n );\n const parentValues = parentEntityData[queryValue];\n if (!parentValues) return itemsToDisplay;\n const updatedItemsToDisplay = [...itemsToDisplay];\n if (Array.isArray(parentValues)) {\n parentValues.forEach(value => {\n updatedItemsToDisplay.push({ displayItems: [value] });\n });\n } else {\n updatedItemsToDisplay.push({ displayItems: [parentValues] });\n }\n return updatedItemsToDisplay;\n};\n\nexport default getUpdatedItemsToDisplay;\n"],"mappings":"AAAA,MAAMA,wBAAwB,GAAGA,CAAC;EAChCC,YAAY;EACZC,gBAAgB;EAChBC,cAAc,GAAG,EAAE;EACnBC,gBAAgB,GAAG;AACrB,CAAC,KAAK;EACJ,MAAMC,MAAM,GAAGD,gBAAgB,CAACE,IAAI,CAACC,MAAM,IAAIA,MAAM,CAACC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;EAE3E,IAAI,CAACH,MAAM,IAAI,CAACJ,YAAY,IAAI,CAACC,gBAAgB,EAAE,OAAOC,cAAc;EACxE,MAAM;IAAEM;EAAW,CAAC,GAAGR,YAAY;EACnC,MAAM,GAAGS,SAAS,CAAC,GAAGL,MAAM,CAACM,KAAK,CAAC,GAAG,CAAC;EACvC,IAAI,CAACF,UAAU,IAAI,CAACC,SAAS,EAAE,OAAOP,cAAc;EACpD,MAAMS,UAAU,GAAGC,MAAM,CAACC,IAAI,CAACL,UAAU,CAAC,CAACH,IAAI,CAC7CS,OAAO,IACLN,UAAU,CAACM,OAAO,CAAC,IACnBN,UAAU,CAACM,OAAO,CAAC,CAACC,QAAQ,IAC5BP,UAAU,CAACM,OAAO,CAAC,CAACC,QAAQ,CAACC,gBAAgB,KAAKP,SACtD,CAAC;EACD,MAAMQ,YAAY,GAAGhB,gBAAgB,CAACU,UAAU,CAAC;EACjD,IAAI,CAACM,YAAY,EAAE,OAAOf,cAAc;EACxC,MAAMgB,qBAAqB,GAAG,CAAC,GAAGhB,cAAc,CAAC;EACjD,IAAIiB,KAAK,CAACC,OAAO,CAACH,YAAY,CAAC,EAAE;IAC/BA,YAAY,CAACI,OAAO,CAACC,KAAK,IAAI;MAC5BJ,qBAAqB,CAACK,IAAI,CAAC;QAAEC,YAAY,EAAE,CAACF,KAAK;MAAE,CAAC,CAAC;IACvD,CAAC,CAAC;EACJ,CAAC,MAAM;IACLJ,qBAAqB,CAACK,IAAI,CAAC;MAAEC,YAAY,EAAE,CAACP,YAAY;IAAE,CAAC,CAAC;EAC9D;EACA,OAAOC,qBAAqB;AAC9B,CAAC;AAED,eAAenB,wBAAwB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-updated-sort-properties.js","names":["getUpdatedSortProperties","sort","sortby","sortProperties","updatedSortProperties","length","unshift","propsToDisplay","sortbyFilters","map","filter","Boolean","flat"],"sources":["../../src/helpers/get-updated-sort-properties.js"],"sourcesContent":["const getUpdatedSortProperties = (sort, sortby, sortProperties = []) => {\n const updatedSortProperties = [...sortProperties];\n if (!updatedSortProperties.length && sort) {\n updatedSortProperties.unshift({ sort, propsToDisplay: sortby });\n }\n\n const sortbyFilters = updatedSortProperties\n .map(({ propsToDisplay }) => propsToDisplay)\n .filter(Boolean)\n .flat();\n return [updatedSortProperties, sortbyFilters];\n};\n\nexport default getUpdatedSortProperties;\n"],"mappings":"AAAA,MAAMA,wBAAwB,GAAGA,CAACC,IAAI,EAAEC,MAAM,EAAEC,cAAc,GAAG,EAAE,KAAK;EACtE,MAAMC,qBAAqB,GAAG,CAAC,GAAGD,cAAc,CAAC;EACjD,IAAI,CAACC,qBAAqB,CAACC,MAAM,IAAIJ,IAAI,EAAE;IACzCG,qBAAqB,CAACE,OAAO,CAAC;MAAEL,IAAI;MAAEM,cAAc,EAAEL;IAAO,CAAC,CAAC;EACjE;EAEA,MAAMM,aAAa,GAAGJ,qBAAqB,CACxCK,GAAG,CAAC,CAAC;IAAEF;EAAe,CAAC,KAAKA,cAAc,CAAC,CAC3CG,MAAM,CAACC,OAAO,CAAC,CACfC,IAAI,CAAC,CAAC;EACT,OAAO,CAACR,qBAAqB,EAAEI,aAAa,CAAC;AAC/C,CAAC;AAED,eAAeR,wBAAwB"}
|
|
1
|
+
{"version":3,"file":"get-updated-sort-properties.js","names":["getUpdatedSortProperties","sort","sortby","sortProperties","updatedSortProperties","length","unshift","propsToDisplay","sortbyFilters","map","filter","Boolean","flat"],"sources":["../../src/helpers/get-updated-sort-properties.js"],"sourcesContent":["const getUpdatedSortProperties = (sort, sortby, sortProperties = []) => {\n const updatedSortProperties = [...sortProperties];\n if (!updatedSortProperties.length && sort) {\n updatedSortProperties.unshift({ sort, propsToDisplay: sortby });\n }\n\n const sortbyFilters = updatedSortProperties\n .map(({ propsToDisplay }) => propsToDisplay)\n .filter(Boolean)\n .flat();\n return [updatedSortProperties, sortbyFilters];\n};\n\nexport default getUpdatedSortProperties;\n"],"mappings":"AAAA,MAAMA,wBAAwB,GAAGA,CAACC,IAAI,EAAEC,MAAM,EAAEC,cAAc,GAAG,EAAE,KAAK;EACtE,MAAMC,qBAAqB,GAAG,CAAC,GAAGD,cAAc,CAAC;EACjD,IAAI,CAACC,qBAAqB,CAACC,MAAM,IAAIJ,IAAI,EAAE;IACzCG,qBAAqB,CAACE,OAAO,CAAC;MAAEL,IAAI;MAAEM,cAAc,EAAEL;IAAO,CAAC,CAAC;EACjE;EAEA,MAAMM,aAAa,GAAGJ,qBAAqB,CACxCK,GAAG,CAAC,CAAC;IAAEF;EAAe,CAAC,KAAKA,cAAc,CAAC,CAC3CG,MAAM,CAACC,OAAO,CAAC,CACfC,IAAI,CAAC,CAAC;EACT,OAAO,CAACR,qBAAqB,EAAEI,aAAa,CAAC;AAC/C,CAAC;AAED,eAAeR,wBAAwB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-wrapped-value-with-link.js","names":["React","BlazeLink","getWrappedValueWithLink","value","link","keyPrefix","Array","isArray","arrayResults","map","arrValue","index","keyField","url","keyValue","isLastItem","length","keyFieldValue","createElement","Fragment","key","join","href"],"sources":["../../src/helpers/get-wrapped-value-with-link.js"],"sourcesContent":["import React from 'react';\nimport BlazeLink from '../components/BlazeLink';\n\nconst getWrappedValueWithLink = (value, link, keyPrefix = '') => {\n if (Array.isArray(value)) {\n const arrayResults = value.map((arrValue, index) => {\n const { keyField, url } = arrValue;\n const keyValue = arrValue[keyField];\n\n const isLastItem = index === value.length - 1;\n const keyFieldValue = isLastItem ? keyValue : <>{keyValue}, </>;\n\n return url ? (\n <BlazeLink key={[keyPrefix, index].join('-')} href={url}>\n {<>{keyFieldValue} </>}\n </BlazeLink>\n ) : (\n <>{keyFieldValue} </>\n );\n });\n\n return arrayResults.length ? arrayResults : null;\n }\n\n return link ? <BlazeLink href={link}>{value}</BlazeLink> : value;\n};\n\nexport default getWrappedValueWithLink;\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,yBAAyB;AAE/C,MAAMC,uBAAuB,GAAGA,CAACC,KAAK,EAAEC,IAAI,EAAEC,SAAS,GAAG,EAAE,KAAK;EAC/D,IAAIC,KAAK,CAACC,OAAO,CAACJ,KAAK,CAAC,EAAE;IACxB,MAAMK,YAAY,GAAGL,KAAK,CAACM,GAAG,CAAC,CAACC,QAAQ,EAAEC,KAAK,KAAK;MAClD,MAAM;QAAEC,QAAQ;QAAEC;MAAI,CAAC,GAAGH,QAAQ;MAClC,MAAMI,QAAQ,GAAGJ,QAAQ,CAACE,QAAQ,CAAC;MAEnC,MAAMG,UAAU,GAAGJ,KAAK,KAAKR,KAAK,CAACa,MAAM,GAAG,CAAC;MAC7C,MAAMC,aAAa,GAAGF,UAAU,GAAGD,QAAQ,gBAAGd,KAAA,CAAAkB,aAAA,CAAAlB,KAAA,CAAAmB,QAAA,QAAGL,QAAQ,EAAC,IAAI,CAAC;MAE/D,OAAOD,GAAG,gBACRb,KAAA,CAAAkB,aAAA,CAACjB,SAAS;QAACmB,GAAG,EAAE,CAACf,SAAS,EAAEM,KAAK,CAAC,CAACU,IAAI,CAAC,GAAG,CAAE;QAACC,IAAI,EAAET;MAAI,gBACrDb,KAAA,CAAAkB,aAAA,CAAAlB,KAAA,CAAAmB,QAAA,QAAGF,aAAa,EAAC,GAAG,CACZ,CAAC,gBAEZjB,KAAA,CAAAkB,aAAA,CAAAlB,KAAA,CAAAmB,QAAA,QAAGF,aAAa,EAAC,GAAG,CACrB;IACH,CAAC,CAAC;IAEF,OAAOT,YAAY,CAACQ,MAAM,GAAGR,YAAY,GAAG,IAAI;EAClD;EAEA,OAAOJ,IAAI,gBAAGJ,KAAA,CAAAkB,aAAA,CAACjB,SAAS;IAACqB,IAAI,EAAElB;EAAK,GAAED,KAAiB,CAAC,GAAGA,KAAK;AAClE,CAAC;AAED,eAAeD,uBAAuB"}
|
|
1
|
+
{"version":3,"file":"get-wrapped-value-with-link.js","names":["React","BlazeLink","getWrappedValueWithLink","value","link","keyPrefix","Array","isArray","arrayResults","map","arrValue","index","keyField","url","keyValue","isLastItem","length","keyFieldValue","createElement","Fragment","key","join","href"],"sources":["../../src/helpers/get-wrapped-value-with-link.js"],"sourcesContent":["import React from 'react';\nimport BlazeLink from '../components/BlazeLink';\n\nconst getWrappedValueWithLink = (value, link, keyPrefix = '') => {\n if (Array.isArray(value)) {\n const arrayResults = value.map((arrValue, index) => {\n const { keyField, url } = arrValue;\n const keyValue = arrValue[keyField];\n\n const isLastItem = index === value.length - 1;\n const keyFieldValue = isLastItem ? keyValue : <>{keyValue}, </>;\n\n return url ? (\n <BlazeLink key={[keyPrefix, index].join('-')} href={url}>\n {<>{keyFieldValue} </>}\n </BlazeLink>\n ) : (\n <>{keyFieldValue} </>\n );\n });\n\n return arrayResults.length ? arrayResults : null;\n }\n\n return link ? <BlazeLink href={link}>{value}</BlazeLink> : value;\n};\n\nexport default getWrappedValueWithLink;\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,yBAAyB;AAE/C,MAAMC,uBAAuB,GAAGA,CAACC,KAAK,EAAEC,IAAI,EAAEC,SAAS,GAAG,EAAE,KAAK;EAC/D,IAAIC,KAAK,CAACC,OAAO,CAACJ,KAAK,CAAC,EAAE;IACxB,MAAMK,YAAY,GAAGL,KAAK,CAACM,GAAG,CAAC,CAACC,QAAQ,EAAEC,KAAK,KAAK;MAClD,MAAM;QAAEC,QAAQ;QAAEC;MAAI,CAAC,GAAGH,QAAQ;MAClC,MAAMI,QAAQ,GAAGJ,QAAQ,CAACE,QAAQ,CAAC;MAEnC,MAAMG,UAAU,GAAGJ,KAAK,KAAKR,KAAK,CAACa,MAAM,GAAG,CAAC;MAC7C,MAAMC,aAAa,GAAGF,UAAU,GAAGD,QAAQ,gBAAGd,KAAA,CAAAkB,aAAA,CAAAlB,KAAA,CAAAmB,QAAA,QAAGL,QAAQ,EAAC,IAAI,CAAC;MAE/D,OAAOD,GAAG,gBACRb,KAAA,CAAAkB,aAAA,CAACjB,SAAS;QAACmB,GAAG,EAAE,CAACf,SAAS,EAAEM,KAAK,CAAC,CAACU,IAAI,CAAC,GAAG,CAAE;QAACC,IAAI,EAAET;MAAI,gBACrDb,KAAA,CAAAkB,aAAA,CAAAlB,KAAA,CAAAmB,QAAA,QAAGF,aAAa,EAAC,GAAG,CACZ,CAAC,gBAEZjB,KAAA,CAAAkB,aAAA,CAAAlB,KAAA,CAAAmB,QAAA,QAAGF,aAAa,EAAC,GAAG,CACrB;IACH,CAAC,CAAC;IAEF,OAAOT,YAAY,CAACQ,MAAM,GAAGR,YAAY,GAAG,IAAI;EAClD;EAEA,OAAOJ,IAAI,gBAAGJ,KAAA,CAAAkB,aAAA,CAACjB,SAAS;IAACqB,IAAI,EAAElB;EAAK,GAAED,KAAiB,CAAC,GAAGA,KAAK;AAClE,CAAC;AAED,eAAeD,uBAAuB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-entities.js","names":["groupEntities","entities","size","entitiesSet","controledSize","Number","length","chunks","push","splice"],"sources":["../../src/helpers/group-entities.js"],"sourcesContent":["export default function groupEntities(entities, size) {\n const entitiesSet = [...entities];\n const controledSize = size ? Number(size) : entitiesSet.length;\n const chunks = [];\n\n while (entitiesSet.length) {\n chunks.push(entitiesSet.splice(0, controledSize));\n }\n\n return chunks;\n}\n"],"mappings":"AAAA,eAAe,SAASA,aAAaA,CAACC,QAAQ,EAAEC,IAAI,EAAE;EACpD,MAAMC,WAAW,GAAG,CAAC,GAAGF,QAAQ,CAAC;EACjC,MAAMG,aAAa,GAAGF,IAAI,GAAGG,MAAM,CAACH,IAAI,CAAC,GAAGC,WAAW,CAACG,MAAM;EAC9D,MAAMC,MAAM,GAAG,EAAE;EAEjB,OAAOJ,WAAW,CAACG,MAAM,EAAE;IACzBC,MAAM,CAACC,IAAI,CAACL,WAAW,CAACM,MAAM,CAAC,CAAC,EAAEL,aAAa,CAAC,CAAC;EACnD;EAEA,OAAOG,MAAM;AACf"}
|
|
1
|
+
{"version":3,"file":"group-entities.js","names":["groupEntities","entities","size","entitiesSet","controledSize","Number","length","chunks","push","splice"],"sources":["../../src/helpers/group-entities.js"],"sourcesContent":["export default function groupEntities(entities, size) {\n const entitiesSet = [...entities];\n const controledSize = size ? Number(size) : entitiesSet.length;\n const chunks = [];\n\n while (entitiesSet.length) {\n chunks.push(entitiesSet.splice(0, controledSize));\n }\n\n return chunks;\n}\n"],"mappings":"AAAA,eAAe,SAASA,aAAaA,CAACC,QAAQ,EAAEC,IAAI,EAAE;EACpD,MAAMC,WAAW,GAAG,CAAC,GAAGF,QAAQ,CAAC;EACjC,MAAMG,aAAa,GAAGF,IAAI,GAAGG,MAAM,CAACH,IAAI,CAAC,GAAGC,WAAW,CAACG,MAAM;EAC9D,MAAMC,MAAM,GAAG,EAAE;EAEjB,OAAOJ,WAAW,CAACG,MAAM,EAAE;IACzBC,MAAM,CAACC,IAAI,CAACL,WAAW,CAACM,MAAM,CAAC,CAAC,EAAEL,aAAa,CAAC,CAAC;EACnD;EAEA,OAAOG,MAAM;AACf","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"has-children.js","names":["hasChildren","children","isChildrenArray","Array","isArray","Object","keys","length","props"],"sources":["../../src/helpers/has-children.js"],"sourcesContent":["const hasChildren = children => {\n if (!children) return false;\n const isChildrenArray = Array.isArray(children);\n if (!isChildrenArray) {\n return !!(\n Object.keys(children).length &&\n children.props &&\n children.props.children &&\n children.props.children.length > 1\n );\n }\n return isChildrenArray && !!children.length;\n};\n\nexport default hasChildren;\n"],"mappings":"AAAA,MAAMA,WAAW,GAAGC,QAAQ,IAAI;EAC9B,IAAI,CAACA,QAAQ,EAAE,OAAO,KAAK;EAC3B,MAAMC,eAAe,GAAGC,KAAK,CAACC,OAAO,CAACH,QAAQ,CAAC;EAC/C,IAAI,CAACC,eAAe,EAAE;IACpB,OAAO,CAAC,EACNG,MAAM,CAACC,IAAI,CAACL,QAAQ,CAAC,CAACM,MAAM,IAC5BN,QAAQ,CAACO,KAAK,IACdP,QAAQ,CAACO,KAAK,CAACP,QAAQ,IACvBA,QAAQ,CAACO,KAAK,CAACP,QAAQ,CAACM,MAAM,GAAG,CAAC,CACnC;EACH;EACA,OAAOL,eAAe,IAAI,CAAC,CAACD,QAAQ,CAACM,MAAM;AAC7C,CAAC;AAED,eAAeP,WAAW"}
|
|
1
|
+
{"version":3,"file":"has-children.js","names":["hasChildren","children","isChildrenArray","Array","isArray","Object","keys","length","props"],"sources":["../../src/helpers/has-children.js"],"sourcesContent":["const hasChildren = children => {\n if (!children) return false;\n const isChildrenArray = Array.isArray(children);\n if (!isChildrenArray) {\n return !!(\n Object.keys(children).length &&\n children.props &&\n children.props.children &&\n children.props.children.length > 1\n );\n }\n return isChildrenArray && !!children.length;\n};\n\nexport default hasChildren;\n"],"mappings":"AAAA,MAAMA,WAAW,GAAGC,QAAQ,IAAI;EAC9B,IAAI,CAACA,QAAQ,EAAE,OAAO,KAAK;EAC3B,MAAMC,eAAe,GAAGC,KAAK,CAACC,OAAO,CAACH,QAAQ,CAAC;EAC/C,IAAI,CAACC,eAAe,EAAE;IACpB,OAAO,CAAC,EACNG,MAAM,CAACC,IAAI,CAACL,QAAQ,CAAC,CAACM,MAAM,IAC5BN,QAAQ,CAACO,KAAK,IACdP,QAAQ,CAACO,KAAK,CAACP,QAAQ,IACvBA,QAAQ,CAACO,KAAK,CAACP,QAAQ,CAACM,MAAM,GAAG,CAAC,CACnC;EACH;EACA,OAAOL,eAAe,IAAI,CAAC,CAACD,QAAQ,CAACM,MAAM;AAC7C,CAAC;AAED,eAAeP,WAAW","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["default","buildInheritedFilters","buildLinkExtraProps","buildPropsQuery","buildQueryFields","buildRawQuery","buildRawQueryBase","buildSearchValuesCheckboxSelect","buildSearchValuesText","buildSetFilters","checkPropsToUse","getElasticsearchOperator","getClickWrapperOptions","getEntitiesWithBanner","getEntityData","getEntityRenderProps","getGenericProps","getGenericRenderVariables","getImageIds","getInheritedFilters","getModifiers","getNotEqualQuery","getPaginationIndex","getParsedSummaryValue","getQueryFilters","getQueryProps","getRequiredSchemas","getSearchFilterType","getUnpublishedEntityName","getWrappedValueWithLink","getItemsToDisplayIds","isBrowser","isFilterEntitysId","isObject","isUsingRelationImage","parsePropsToDisplay","renderChildren","shouldRenderWaypoint","shouldShowProperty","sortResponseData","splitChildren","getCurrentOffset","updateChildrensParent","getDisplayCountData","buildImageProperties","getUpdatedFilterBy","checkForError","removeUnwantedCharacters","hasChildren","removeExtraItems","getParsedPropValues","getSanitizedPropValues","appendImages","parseTextBlock","processDataSummaryValue","buildQueryKey","filterQuerySetup","filtersSetup","getUpdatedItemsToDisplay","getUpdatedSortProperties","shouldReturn","shouldSkipSingleQuery","buildRawQueryStringified","buildFiltersQuery"],"sources":["../../src/helpers/index.js"],"sourcesContent":["export { default as buildInheritedFilters } from './build-inherited-filters';\nexport { default as buildLinkExtraProps } from './build-link-extra-props';\nexport { default as buildPropsQuery } from './build-props-query';\nexport { default as buildQueryFields } from './build-query-fields';\nexport { default as buildRawQuery } from './build-raw-query';\nexport { default as buildRawQueryBase } from './build-raw-query-base';\nexport { default as buildSearchValuesCheckboxSelect } from './build-search-values-checkbox-select';\nexport { default as buildSearchValuesText } from './build-search-values-text';\nexport { default as buildSetFilters } from './build-set-filters';\nexport { default as checkPropsToUse } from './check-props-to-use';\nexport { default as getElasticsearchOperator } from './get-elasticsearch-operator';\nexport { default as getClickWrapperOptions } from './get-click-wrapper-options';\nexport { default as getEntitiesWithBanner } from './get-entities-with-banner';\nexport { default as getEntityData } from './get-entity-data';\nexport { default as getEntityRenderProps } from './get-entity-render-props';\nexport { default as getGenericProps } from './get-generic-props';\nexport { default as getGenericRenderVariables } from './get-generic-render-variables';\nexport { default as getImageIds } from './get-image-ids';\nexport { default as getInheritedFilters } from './get-inherited-filters';\nexport { default as getModifiers } from './get-modifiers';\nexport { default as getNotEqualQuery } from './get-not-equal-query';\nexport { default as getPaginationIndex } from './get-pagination-index';\nexport { default as getParsedSummaryValue } from './get-parsed-summary-value';\nexport { default as getQueryFilters } from './get-query-filters';\nexport { default as getQueryProps } from './get-query-props';\nexport { default as getRequiredSchemas } from './get-required-schemas';\nexport { default as getSearchFilterType } from './get-search-filter-type';\nexport { default as getUnpublishedEntityName } from './get-unpublished-entity-name';\nexport { default as getWrappedValueWithLink } from './get-wrapped-value-with-link';\nexport { default as getItemsToDisplayIds } from './get-items-to-display-ids';\nexport { default as isBrowser } from './is-browser';\nexport { default as isFilterEntitysId } from './is-filter-entitys-id';\nexport { default as isObject } from './is-object';\nexport { default as isUsingRelationImage } from './is-using-relation-image';\nexport { default as parsePropsToDisplay } from './parse-props-to-display';\nexport { default as renderChildren } from './render-children';\nexport { default as shouldRenderWaypoint } from './should-render-waypoint';\nexport { default as shouldShowProperty } from './should-show-property';\nexport { default as sortResponseData } from './sort-response-data';\nexport { default as splitChildren } from './split-children';\nexport { default as getCurrentOffset } from './get-current-offset';\nexport { default as updateChildrensParent } from './update-childrens-parent';\nexport { default as getDisplayCountData } from './get-display-count-data';\nexport { default as buildImageProperties } from './build-image-properties';\nexport { default as getUpdatedFilterBy } from './get-updated-filter-by';\nexport { default as checkForError } from './check-for-error';\nexport { default as removeUnwantedCharacters } from './remove-unwanted-characters';\nexport { default as hasChildren } from './has-children';\nexport { default as removeExtraItems } from './remove-extra-items';\nexport { default as getParsedPropValues } from './get-parsed-prop-values';\nexport { default as getSanitizedPropValues } from './get-sanitized-prop-values';\nexport { default as appendImages } from './append-images';\nexport { default as parseTextBlock } from './parse-TextBlock';\nexport { default as processDataSummaryValue } from './process-data-summary-value';\nexport { default as buildQueryKey } from './build-query-key';\nexport { default as filterQuerySetup } from './filter-query-setup';\nexport { default as filtersSetup } from './filters-setup';\nexport { default as getUpdatedItemsToDisplay } from './get-updated-items-to-display';\nexport { default as getUpdatedSortProperties } from './get-updated-sort-properties';\nexport { default as shouldReturn } from './should-return';\nexport { default as shouldSkipSingleQuery } from './should-skip-single-query';\nexport { default as buildRawQueryStringified } from './build-raw-query-stringified';\nexport { default as buildFiltersQuery } from './build-filters-query';\n"],"mappings":"AAAA,SAASA,OAAO,IAAIC,qBAAqB,QAAQ,2BAA2B;AAC5E,SAASD,OAAO,IAAIE,mBAAmB,QAAQ,0BAA0B;AACzE,SAASF,OAAO,IAAIG,eAAe,QAAQ,qBAAqB;AAChE,SAASH,OAAO,IAAII,gBAAgB,QAAQ,sBAAsB;AAClE,SAASJ,OAAO,IAAIK,aAAa,QAAQ,mBAAmB;AAC5D,SAASL,OAAO,IAAIM,iBAAiB,QAAQ,wBAAwB;AACrE,SAASN,OAAO,IAAIO,+BAA+B,QAAQ,uCAAuC;AAClG,SAASP,OAAO,IAAIQ,qBAAqB,QAAQ,4BAA4B;AAC7E,SAASR,OAAO,IAAIS,eAAe,QAAQ,qBAAqB;AAChE,SAAST,OAAO,IAAIU,eAAe,QAAQ,sBAAsB;AACjE,SAASV,OAAO,IAAIW,wBAAwB,QAAQ,8BAA8B;AAClF,SAASX,OAAO,IAAIY,sBAAsB,QAAQ,6BAA6B;AAC/E,SAASZ,OAAO,IAAIa,qBAAqB,QAAQ,4BAA4B;AAC7E,SAASb,OAAO,IAAIc,aAAa,QAAQ,mBAAmB;AAC5D,SAASd,OAAO,IAAIe,oBAAoB,QAAQ,2BAA2B;AAC3E,SAASf,OAAO,IAAIgB,eAAe,QAAQ,qBAAqB;AAChE,SAAShB,OAAO,IAAIiB,yBAAyB,QAAQ,gCAAgC;AACrF,SAASjB,OAAO,IAAIkB,WAAW,QAAQ,iBAAiB;AACxD,SAASlB,OAAO,IAAImB,mBAAmB,QAAQ,yBAAyB;AACxE,SAASnB,OAAO,IAAIoB,YAAY,QAAQ,iBAAiB;AACzD,SAASpB,OAAO,IAAIqB,gBAAgB,QAAQ,uBAAuB;AACnE,SAASrB,OAAO,IAAIsB,kBAAkB,QAAQ,wBAAwB;AACtE,SAAStB,OAAO,IAAIuB,qBAAqB,QAAQ,4BAA4B;AAC7E,SAASvB,OAAO,IAAIwB,eAAe,QAAQ,qBAAqB;AAChE,SAASxB,OAAO,IAAIyB,aAAa,QAAQ,mBAAmB;AAC5D,SAASzB,OAAO,IAAI0B,kBAAkB,QAAQ,wBAAwB;AACtE,SAAS1B,OAAO,IAAI2B,mBAAmB,QAAQ,0BAA0B;AACzE,SAAS3B,OAAO,IAAI4B,wBAAwB,QAAQ,+BAA+B;AACnF,SAAS5B,OAAO,IAAI6B,uBAAuB,QAAQ,+BAA+B;AAClF,SAAS7B,OAAO,IAAI8B,oBAAoB,QAAQ,4BAA4B;AAC5E,SAAS9B,OAAO,IAAI+B,SAAS,QAAQ,cAAc;AACnD,SAAS/B,OAAO,IAAIgC,iBAAiB,QAAQ,wBAAwB;AACrE,SAAShC,OAAO,IAAIiC,QAAQ,QAAQ,aAAa;AACjD,SAASjC,OAAO,IAAIkC,oBAAoB,QAAQ,2BAA2B;AAC3E,SAASlC,OAAO,IAAImC,mBAAmB,QAAQ,0BAA0B;AACzE,SAASnC,OAAO,IAAIoC,cAAc,QAAQ,mBAAmB;AAC7D,SAASpC,OAAO,IAAIqC,oBAAoB,QAAQ,0BAA0B;AAC1E,SAASrC,OAAO,IAAIsC,kBAAkB,QAAQ,wBAAwB;AACtE,SAAStC,OAAO,IAAIuC,gBAAgB,QAAQ,sBAAsB;AAClE,SAASvC,OAAO,IAAIwC,aAAa,QAAQ,kBAAkB;AAC3D,SAASxC,OAAO,IAAIyC,gBAAgB,QAAQ,sBAAsB;AAClE,SAASzC,OAAO,IAAI0C,qBAAqB,QAAQ,2BAA2B;AAC5E,SAAS1C,OAAO,IAAI2C,mBAAmB,QAAQ,0BAA0B;AACzE,SAAS3C,OAAO,IAAI4C,oBAAoB,QAAQ,0BAA0B;AAC1E,SAAS5C,OAAO,IAAI6C,kBAAkB,QAAQ,yBAAyB;AACvE,SAAS7C,OAAO,IAAI8C,aAAa,QAAQ,mBAAmB;AAC5D,SAAS9C,OAAO,IAAI+C,wBAAwB,QAAQ,8BAA8B;AAClF,SAAS/C,OAAO,IAAIgD,WAAW,QAAQ,gBAAgB;AACvD,SAAShD,OAAO,IAAIiD,gBAAgB,QAAQ,sBAAsB;AAClE,SAASjD,OAAO,IAAIkD,mBAAmB,QAAQ,0BAA0B;AACzE,SAASlD,OAAO,IAAImD,sBAAsB,QAAQ,6BAA6B;AAC/E,SAASnD,OAAO,IAAIoD,YAAY,QAAQ,iBAAiB;AACzD,SAASpD,OAAO,IAAIqD,cAAc,QAAQ,mBAAmB;AAC7D,SAASrD,OAAO,IAAIsD,uBAAuB,QAAQ,8BAA8B;AACjF,SAAStD,OAAO,IAAIuD,aAAa,QAAQ,mBAAmB;AAC5D,SAASvD,OAAO,IAAIwD,gBAAgB,QAAQ,sBAAsB;AAClE,SAASxD,OAAO,IAAIyD,YAAY,QAAQ,iBAAiB;AACzD,SAASzD,OAAO,IAAI0D,wBAAwB,QAAQ,gCAAgC;AACpF,SAAS1D,OAAO,IAAI2D,wBAAwB,QAAQ,+BAA+B;AACnF,SAAS3D,OAAO,IAAI4D,YAAY,QAAQ,iBAAiB;AACzD,SAAS5D,OAAO,IAAI6D,qBAAqB,QAAQ,4BAA4B;AAC7E,SAAS7D,OAAO,IAAI8D,wBAAwB,QAAQ,+BAA+B;AACnF,SAAS9D,OAAO,IAAI+D,iBAAiB,QAAQ,uBAAuB"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["default","buildInheritedFilters","buildLinkExtraProps","buildPropsQuery","buildQueryFields","buildRawQuery","buildRawQueryBase","buildSearchValuesCheckboxSelect","buildSearchValuesText","buildSetFilters","checkPropsToUse","getElasticsearchOperator","getClickWrapperOptions","getEntitiesWithBanner","getEntityData","getEntityRenderProps","getGenericProps","getGenericRenderVariables","getImageIds","getInheritedFilters","getModifiers","getNotEqualQuery","getPaginationIndex","getParsedSummaryValue","getQueryFilters","getQueryProps","getRequiredSchemas","getSearchFilterType","getUnpublishedEntityName","getWrappedValueWithLink","getItemsToDisplayIds","isBrowser","isFilterEntitysId","isObject","isUsingRelationImage","parsePropsToDisplay","renderChildren","shouldRenderWaypoint","shouldShowProperty","sortResponseData","splitChildren","getCurrentOffset","updateChildrensParent","getDisplayCountData","buildImageProperties","getUpdatedFilterBy","checkForError","removeUnwantedCharacters","hasChildren","removeExtraItems","getParsedPropValues","getSanitizedPropValues","appendImages","parseTextBlock","processDataSummaryValue","buildQueryKey","filterQuerySetup","filtersSetup","getUpdatedItemsToDisplay","getUpdatedSortProperties","shouldReturn","shouldSkipSingleQuery","buildRawQueryStringified","buildFiltersQuery"],"sources":["../../src/helpers/index.js"],"sourcesContent":["export { default as buildInheritedFilters } from './build-inherited-filters';\nexport { default as buildLinkExtraProps } from './build-link-extra-props';\nexport { default as buildPropsQuery } from './build-props-query';\nexport { default as buildQueryFields } from './build-query-fields';\nexport { default as buildRawQuery } from './build-raw-query';\nexport { default as buildRawQueryBase } from './build-raw-query-base';\nexport { default as buildSearchValuesCheckboxSelect } from './build-search-values-checkbox-select';\nexport { default as buildSearchValuesText } from './build-search-values-text';\nexport { default as buildSetFilters } from './build-set-filters';\nexport { default as checkPropsToUse } from './check-props-to-use';\nexport { default as getElasticsearchOperator } from './get-elasticsearch-operator';\nexport { default as getClickWrapperOptions } from './get-click-wrapper-options';\nexport { default as getEntitiesWithBanner } from './get-entities-with-banner';\nexport { default as getEntityData } from './get-entity-data';\nexport { default as getEntityRenderProps } from './get-entity-render-props';\nexport { default as getGenericProps } from './get-generic-props';\nexport { default as getGenericRenderVariables } from './get-generic-render-variables';\nexport { default as getImageIds } from './get-image-ids';\nexport { default as getInheritedFilters } from './get-inherited-filters';\nexport { default as getModifiers } from './get-modifiers';\nexport { default as getNotEqualQuery } from './get-not-equal-query';\nexport { default as getPaginationIndex } from './get-pagination-index';\nexport { default as getParsedSummaryValue } from './get-parsed-summary-value';\nexport { default as getQueryFilters } from './get-query-filters';\nexport { default as getQueryProps } from './get-query-props';\nexport { default as getRequiredSchemas } from './get-required-schemas';\nexport { default as getSearchFilterType } from './get-search-filter-type';\nexport { default as getUnpublishedEntityName } from './get-unpublished-entity-name';\nexport { default as getWrappedValueWithLink } from './get-wrapped-value-with-link';\nexport { default as getItemsToDisplayIds } from './get-items-to-display-ids';\nexport { default as isBrowser } from './is-browser';\nexport { default as isFilterEntitysId } from './is-filter-entitys-id';\nexport { default as isObject } from './is-object';\nexport { default as isUsingRelationImage } from './is-using-relation-image';\nexport { default as parsePropsToDisplay } from './parse-props-to-display';\nexport { default as renderChildren } from './render-children';\nexport { default as shouldRenderWaypoint } from './should-render-waypoint';\nexport { default as shouldShowProperty } from './should-show-property';\nexport { default as sortResponseData } from './sort-response-data';\nexport { default as splitChildren } from './split-children';\nexport { default as getCurrentOffset } from './get-current-offset';\nexport { default as updateChildrensParent } from './update-childrens-parent';\nexport { default as getDisplayCountData } from './get-display-count-data';\nexport { default as buildImageProperties } from './build-image-properties';\nexport { default as getUpdatedFilterBy } from './get-updated-filter-by';\nexport { default as checkForError } from './check-for-error';\nexport { default as removeUnwantedCharacters } from './remove-unwanted-characters';\nexport { default as hasChildren } from './has-children';\nexport { default as removeExtraItems } from './remove-extra-items';\nexport { default as getParsedPropValues } from './get-parsed-prop-values';\nexport { default as getSanitizedPropValues } from './get-sanitized-prop-values';\nexport { default as appendImages } from './append-images';\nexport { default as parseTextBlock } from './parse-TextBlock';\nexport { default as processDataSummaryValue } from './process-data-summary-value';\nexport { default as buildQueryKey } from './build-query-key';\nexport { default as filterQuerySetup } from './filter-query-setup';\nexport { default as filtersSetup } from './filters-setup';\nexport { default as getUpdatedItemsToDisplay } from './get-updated-items-to-display';\nexport { default as getUpdatedSortProperties } from './get-updated-sort-properties';\nexport { default as shouldReturn } from './should-return';\nexport { default as shouldSkipSingleQuery } from './should-skip-single-query';\nexport { default as buildRawQueryStringified } from './build-raw-query-stringified';\nexport { default as buildFiltersQuery } from './build-filters-query';\n"],"mappings":"AAAA,SAASA,OAAO,IAAIC,qBAAqB,QAAQ,2BAA2B;AAC5E,SAASD,OAAO,IAAIE,mBAAmB,QAAQ,0BAA0B;AACzE,SAASF,OAAO,IAAIG,eAAe,QAAQ,qBAAqB;AAChE,SAASH,OAAO,IAAII,gBAAgB,QAAQ,sBAAsB;AAClE,SAASJ,OAAO,IAAIK,aAAa,QAAQ,mBAAmB;AAC5D,SAASL,OAAO,IAAIM,iBAAiB,QAAQ,wBAAwB;AACrE,SAASN,OAAO,IAAIO,+BAA+B,QAAQ,uCAAuC;AAClG,SAASP,OAAO,IAAIQ,qBAAqB,QAAQ,4BAA4B;AAC7E,SAASR,OAAO,IAAIS,eAAe,QAAQ,qBAAqB;AAChE,SAAST,OAAO,IAAIU,eAAe,QAAQ,sBAAsB;AACjE,SAASV,OAAO,IAAIW,wBAAwB,QAAQ,8BAA8B;AAClF,SAASX,OAAO,IAAIY,sBAAsB,QAAQ,6BAA6B;AAC/E,SAASZ,OAAO,IAAIa,qBAAqB,QAAQ,4BAA4B;AAC7E,SAASb,OAAO,IAAIc,aAAa,QAAQ,mBAAmB;AAC5D,SAASd,OAAO,IAAIe,oBAAoB,QAAQ,2BAA2B;AAC3E,SAASf,OAAO,IAAIgB,eAAe,QAAQ,qBAAqB;AAChE,SAAShB,OAAO,IAAIiB,yBAAyB,QAAQ,gCAAgC;AACrF,SAASjB,OAAO,IAAIkB,WAAW,QAAQ,iBAAiB;AACxD,SAASlB,OAAO,IAAImB,mBAAmB,QAAQ,yBAAyB;AACxE,SAASnB,OAAO,IAAIoB,YAAY,QAAQ,iBAAiB;AACzD,SAASpB,OAAO,IAAIqB,gBAAgB,QAAQ,uBAAuB;AACnE,SAASrB,OAAO,IAAIsB,kBAAkB,QAAQ,wBAAwB;AACtE,SAAStB,OAAO,IAAIuB,qBAAqB,QAAQ,4BAA4B;AAC7E,SAASvB,OAAO,IAAIwB,eAAe,QAAQ,qBAAqB;AAChE,SAASxB,OAAO,IAAIyB,aAAa,QAAQ,mBAAmB;AAC5D,SAASzB,OAAO,IAAI0B,kBAAkB,QAAQ,wBAAwB;AACtE,SAAS1B,OAAO,IAAI2B,mBAAmB,QAAQ,0BAA0B;AACzE,SAAS3B,OAAO,IAAI4B,wBAAwB,QAAQ,+BAA+B;AACnF,SAAS5B,OAAO,IAAI6B,uBAAuB,QAAQ,+BAA+B;AAClF,SAAS7B,OAAO,IAAI8B,oBAAoB,QAAQ,4BAA4B;AAC5E,SAAS9B,OAAO,IAAI+B,SAAS,QAAQ,cAAc;AACnD,SAAS/B,OAAO,IAAIgC,iBAAiB,QAAQ,wBAAwB;AACrE,SAAShC,OAAO,IAAIiC,QAAQ,QAAQ,aAAa;AACjD,SAASjC,OAAO,IAAIkC,oBAAoB,QAAQ,2BAA2B;AAC3E,SAASlC,OAAO,IAAImC,mBAAmB,QAAQ,0BAA0B;AACzE,SAASnC,OAAO,IAAIoC,cAAc,QAAQ,mBAAmB;AAC7D,SAASpC,OAAO,IAAIqC,oBAAoB,QAAQ,0BAA0B;AAC1E,SAASrC,OAAO,IAAIsC,kBAAkB,QAAQ,wBAAwB;AACtE,SAAStC,OAAO,IAAIuC,gBAAgB,QAAQ,sBAAsB;AAClE,SAASvC,OAAO,IAAIwC,aAAa,QAAQ,kBAAkB;AAC3D,SAASxC,OAAO,IAAIyC,gBAAgB,QAAQ,sBAAsB;AAClE,SAASzC,OAAO,IAAI0C,qBAAqB,QAAQ,2BAA2B;AAC5E,SAAS1C,OAAO,IAAI2C,mBAAmB,QAAQ,0BAA0B;AACzE,SAAS3C,OAAO,IAAI4C,oBAAoB,QAAQ,0BAA0B;AAC1E,SAAS5C,OAAO,IAAI6C,kBAAkB,QAAQ,yBAAyB;AACvE,SAAS7C,OAAO,IAAI8C,aAAa,QAAQ,mBAAmB;AAC5D,SAAS9C,OAAO,IAAI+C,wBAAwB,QAAQ,8BAA8B;AAClF,SAAS/C,OAAO,IAAIgD,WAAW,QAAQ,gBAAgB;AACvD,SAAShD,OAAO,IAAIiD,gBAAgB,QAAQ,sBAAsB;AAClE,SAASjD,OAAO,IAAIkD,mBAAmB,QAAQ,0BAA0B;AACzE,SAASlD,OAAO,IAAImD,sBAAsB,QAAQ,6BAA6B;AAC/E,SAASnD,OAAO,IAAIoD,YAAY,QAAQ,iBAAiB;AACzD,SAASpD,OAAO,IAAIqD,cAAc,QAAQ,mBAAmB;AAC7D,SAASrD,OAAO,IAAIsD,uBAAuB,QAAQ,8BAA8B;AACjF,SAAStD,OAAO,IAAIuD,aAAa,QAAQ,mBAAmB;AAC5D,SAASvD,OAAO,IAAIwD,gBAAgB,QAAQ,sBAAsB;AAClE,SAASxD,OAAO,IAAIyD,YAAY,QAAQ,iBAAiB;AACzD,SAASzD,OAAO,IAAI0D,wBAAwB,QAAQ,gCAAgC;AACpF,SAAS1D,OAAO,IAAI2D,wBAAwB,QAAQ,+BAA+B;AACnF,SAAS3D,OAAO,IAAI4D,YAAY,QAAQ,iBAAiB;AACzD,SAAS5D,OAAO,IAAI6D,qBAAqB,QAAQ,4BAA4B;AAC7E,SAAS7D,OAAO,IAAI8D,wBAAwB,QAAQ,+BAA+B;AACnF,SAAS9D,OAAO,IAAI+D,iBAAiB,QAAQ,uBAAuB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inject-banner.js","names":["React","parseInterval","Banner","injectBanner","entities","banner","interval","transform","parsedInterval","entitySet","bannerElement","createElement","splice"],"sources":["../../src/helpers/inject-banner.js"],"sourcesContent":["import React from 'react';\nimport parseInterval from './parse-interval';\nimport Banner from '../components/Banner';\n\nexport default function injectBanner(entities, banner) {\n const { interval, transform = false } = banner;\n const parsedInterval = parseInterval(interval);\n const entitySet = [...entities];\n\n const bannerElement = transform ? <Banner {...banner} /> : banner;\n\n entitySet.splice(parsedInterval, 0, bannerElement);\n\n return entitySet;\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,aAAa,MAAM,kBAAkB;AAC5C,OAAOC,MAAM,MAAM,sBAAsB;AAEzC,eAAe,SAASC,YAAYA,CAACC,QAAQ,EAAEC,MAAM,EAAE;EACrD,MAAM;IAAEC,QAAQ;IAAEC,SAAS,GAAG;EAAM,CAAC,GAAGF,MAAM;EAC9C,MAAMG,cAAc,GAAGP,aAAa,CAACK,QAAQ,CAAC;EAC9C,MAAMG,SAAS,GAAG,CAAC,GAAGL,QAAQ,CAAC;EAE/B,MAAMM,aAAa,GAAGH,SAAS,gBAAGP,KAAA,CAAAW,aAAA,CAACT,MAAM,EAAKG,MAAS,CAAC,GAAGA,MAAM;EAEjEI,SAAS,CAACG,MAAM,CAACJ,cAAc,EAAE,CAAC,EAAEE,aAAa,CAAC;EAElD,OAAOD,SAAS;AAClB"}
|
|
1
|
+
{"version":3,"file":"inject-banner.js","names":["React","parseInterval","Banner","injectBanner","entities","banner","interval","transform","parsedInterval","entitySet","bannerElement","createElement","splice"],"sources":["../../src/helpers/inject-banner.js"],"sourcesContent":["import React from 'react';\nimport parseInterval from './parse-interval';\nimport Banner from '../components/Banner';\n\nexport default function injectBanner(entities, banner) {\n const { interval, transform = false } = banner;\n const parsedInterval = parseInterval(interval);\n const entitySet = [...entities];\n\n const bannerElement = transform ? <Banner {...banner} /> : banner;\n\n entitySet.splice(parsedInterval, 0, bannerElement);\n\n return entitySet;\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,aAAa,MAAM,kBAAkB;AAC5C,OAAOC,MAAM,MAAM,sBAAsB;AAEzC,eAAe,SAASC,YAAYA,CAACC,QAAQ,EAAEC,MAAM,EAAE;EACrD,MAAM;IAAEC,QAAQ;IAAEC,SAAS,GAAG;EAAM,CAAC,GAAGF,MAAM;EAC9C,MAAMG,cAAc,GAAGP,aAAa,CAACK,QAAQ,CAAC;EAC9C,MAAMG,SAAS,GAAG,CAAC,GAAGL,QAAQ,CAAC;EAE/B,MAAMM,aAAa,GAAGH,SAAS,gBAAGP,KAAA,CAAAW,aAAA,CAACT,MAAM,EAAKG,MAAS,CAAC,GAAGA,MAAM;EAEjEI,SAAS,CAACG,MAAM,CAACJ,cAAc,EAAE,CAAC,EAAEE,aAAa,CAAC;EAElD,OAAOD,SAAS;AAClB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inject-banners-to-entities.js","names":["injectBanner","getBannerData","injectMultipleBanners","injectBannersToEntities","entities","_ref","banner","options","_objectWithoutProperties","_excluded","length","repeat","bannerData","entitiesWithBanner"],"sources":["../../src/helpers/inject-banners-to-entities.js"],"sourcesContent":["import injectBanner from './inject-banner';\nimport getBannerData from './get-banner-data';\nimport injectMultipleBanners from './inject-multiple-banners';\n\nexport default function injectBannersToEntities(entities, { banner, ...options }) {\n if (!entities.length) return [];\n\n const { repeat } = banner;\n const bannerData = getBannerData(banner, options);\n\n const entitiesWithBanner = repeat\n ? injectMultipleBanners(entities, bannerData)\n : injectBanner(entities, bannerData);\n\n return entitiesWithBanner;\n}\n"],"mappings":";;AAAA,OAAOA,YAAY,MAAM,iBAAiB;AAC1C,OAAOC,aAAa,MAAM,mBAAmB;AAC7C,OAAOC,qBAAqB,MAAM,2BAA2B;AAE7D,eAAe,SAASC,uBAAuBA,CAACC,QAAQ,EAAAC,IAAA,EAA0B;EAAA,IAAxB;MAAEC;IAAmB,CAAC,GAAAD,IAAA;IAATE,OAAO,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAC5E,IAAI,CAACL,QAAQ,CAACM,MAAM,EAAE,OAAO,EAAE;EAE/B,MAAM;IAAEC;EAAO,CAAC,GAAGL,MAAM;EACzB,MAAMM,UAAU,GAAGX,aAAa,CAACK,MAAM,EAAEC,OAAO,CAAC;EAEjD,MAAMM,kBAAkB,GAAGF,MAAM,GAC7BT,qBAAqB,CAACE,QAAQ,EAAEQ,UAAU,CAAC,GAC3CZ,YAAY,CAACI,QAAQ,EAAEQ,UAAU,CAAC;EAEtC,OAAOC,kBAAkB;AAC3B"}
|
|
1
|
+
{"version":3,"file":"inject-banners-to-entities.js","names":["injectBanner","getBannerData","injectMultipleBanners","injectBannersToEntities","entities","_ref","banner","options","_objectWithoutProperties","_excluded","length","repeat","bannerData","entitiesWithBanner"],"sources":["../../src/helpers/inject-banners-to-entities.js"],"sourcesContent":["import injectBanner from './inject-banner';\nimport getBannerData from './get-banner-data';\nimport injectMultipleBanners from './inject-multiple-banners';\n\nexport default function injectBannersToEntities(entities, { banner, ...options }) {\n if (!entities.length) return [];\n\n const { repeat } = banner;\n const bannerData = getBannerData(banner, options);\n\n const entitiesWithBanner = repeat\n ? injectMultipleBanners(entities, bannerData)\n : injectBanner(entities, bannerData);\n\n return entitiesWithBanner;\n}\n"],"mappings":";;AAAA,OAAOA,YAAY,MAAM,iBAAiB;AAC1C,OAAOC,aAAa,MAAM,mBAAmB;AAC7C,OAAOC,qBAAqB,MAAM,2BAA2B;AAE7D,eAAe,SAASC,uBAAuBA,CAACC,QAAQ,EAAAC,IAAA,EAA0B;EAAA,IAAxB;MAAEC;IAAmB,CAAC,GAAAD,IAAA;IAATE,OAAO,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAC5E,IAAI,CAACL,QAAQ,CAACM,MAAM,EAAE,OAAO,EAAE;EAE/B,MAAM;IAAEC;EAAO,CAAC,GAAGL,MAAM;EACzB,MAAMM,UAAU,GAAGX,aAAa,CAACK,MAAM,EAAEC,OAAO,CAAC;EAEjD,MAAMM,kBAAkB,GAAGF,MAAM,GAC7BT,qBAAqB,CAACE,QAAQ,EAAEQ,UAAU,CAAC,GAC3CZ,YAAY,CAACI,QAAQ,EAAEQ,UAAU,CAAC;EAEtC,OAAOC,kBAAkB;AAC3B","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-banners-for-entities.js","names":["flatten","groupEntities","injectBanner","getBannersForEntities","entitiesSet","banner","interval","limit","controlledLimit","length","groups","entitiesWithBanner","map","chunk","sanitizedEntities","slice"],"sources":["../../../../src/helpers/inject-multiple-banners/get-banners-for-entities/get-banners-for-entities.js"],"sourcesContent":["import flatten from 'lodash.flatten';\nimport groupEntities from '../../group-entities';\nimport injectBanner from '../../inject-banner';\n\nexport default function getBannersForEntities(entitiesSet, banner) {\n const { interval, limit } = banner;\n const controlledLimit = limit || entitiesSet.length;\n\n const groups = groupEntities(entitiesSet, interval - 1);\n\n const entitiesWithBanner = groups.map(chunk => injectBanner(chunk, banner));\n\n const sanitizedEntities = flatten(entitiesWithBanner).slice(0, controlledLimit);\n\n return sanitizedEntities;\n}\n"],"mappings":"AAAA,OAAOA,OAAO,MAAM,gBAAgB;AACpC,OAAOC,aAAa,MAAM,sBAAsB;AAChD,OAAOC,YAAY,MAAM,qBAAqB;AAE9C,eAAe,SAASC,qBAAqBA,CAACC,WAAW,EAAEC,MAAM,EAAE;EACjE,MAAM;IAAEC,QAAQ;IAAEC;EAAM,CAAC,GAAGF,MAAM;EAClC,MAAMG,eAAe,GAAGD,KAAK,IAAIH,WAAW,CAACK,MAAM;EAEnD,MAAMC,MAAM,GAAGT,aAAa,CAACG,WAAW,EAAEE,QAAQ,GAAG,CAAC,CAAC;EAEvD,MAAMK,kBAAkB,GAAGD,MAAM,CAACE,GAAG,CAACC,KAAK,IAAIX,YAAY,CAACW,KAAK,EAAER,MAAM,CAAC,CAAC;EAE3E,MAAMS,iBAAiB,GAAGd,OAAO,CAACW,kBAAkB,CAAC,CAACI,KAAK,CAAC,CAAC,EAAEP,eAAe,CAAC;EAE/E,OAAOM,iBAAiB;AAC1B"}
|
|
1
|
+
{"version":3,"file":"get-banners-for-entities.js","names":["flatten","groupEntities","injectBanner","getBannersForEntities","entitiesSet","banner","interval","limit","controlledLimit","length","groups","entitiesWithBanner","map","chunk","sanitizedEntities","slice"],"sources":["../../../../src/helpers/inject-multiple-banners/get-banners-for-entities/get-banners-for-entities.js"],"sourcesContent":["import flatten from 'lodash.flatten';\nimport groupEntities from '../../group-entities';\nimport injectBanner from '../../inject-banner';\n\nexport default function getBannersForEntities(entitiesSet, banner) {\n const { interval, limit } = banner;\n const controlledLimit = limit || entitiesSet.length;\n\n const groups = groupEntities(entitiesSet, interval - 1);\n\n const entitiesWithBanner = groups.map(chunk => injectBanner(chunk, banner));\n\n const sanitizedEntities = flatten(entitiesWithBanner).slice(0, controlledLimit);\n\n return sanitizedEntities;\n}\n"],"mappings":"AAAA,OAAOA,OAAO,MAAM,gBAAgB;AACpC,OAAOC,aAAa,MAAM,sBAAsB;AAChD,OAAOC,YAAY,MAAM,qBAAqB;AAE9C,eAAe,SAASC,qBAAqBA,CAACC,WAAW,EAAEC,MAAM,EAAE;EACjE,MAAM;IAAEC,QAAQ;IAAEC;EAAM,CAAC,GAAGF,MAAM;EAClC,MAAMG,eAAe,GAAGD,KAAK,IAAIH,WAAW,CAACK,MAAM;EAEnD,MAAMC,MAAM,GAAGT,aAAa,CAACG,WAAW,EAAEE,QAAQ,GAAG,CAAC,CAAC;EAEvD,MAAMK,kBAAkB,GAAGD,MAAM,CAACE,GAAG,CAACC,KAAK,IAAIX,YAAY,CAACW,KAAK,EAAER,MAAM,CAAC,CAAC;EAE3E,MAAMS,iBAAiB,GAAGd,OAAO,CAACW,kBAAkB,CAAC,CAACI,KAAK,CAAC,CAAC,EAAEP,eAAe,CAAC;EAE/E,OAAOM,iBAAiB;AAC1B","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["getBannersForEntities"],"sources":["../../../../src/helpers/inject-multiple-banners/get-banners-for-entities/index.js"],"sourcesContent":["import getBannersForEntities from './get-banners-for-entities';\n\nexport default getBannersForEntities;\n"],"mappings":"AAAA,OAAOA,qBAAqB,MAAM,4BAA4B;AAE9D,eAAeA,qBAAqB"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["getBannersForEntities"],"sources":["../../../../src/helpers/inject-multiple-banners/get-banners-for-entities/index.js"],"sourcesContent":["import getBannersForEntities from './get-banners-for-entities';\n\nexport default getBannersForEntities;\n"],"mappings":"AAAA,OAAOA,qBAAqB,MAAM,4BAA4B;AAE9D,eAAeA,qBAAqB","ignoreList":[]}
|
package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/get-banners-for-nodes.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-banners-for-nodes.js","names":["flatten","groupNodeEntities","injectBanner","getBannersForNodes","entitiesSet","banner","groups","nodesWithBanner","map","chunk","index","key","adunit","interval","length","_objectSpread"],"sources":["../../../../src/helpers/inject-multiple-banners/get-banners-for-nodes/get-banners-for-nodes.js"],"sourcesContent":["import flatten from 'lodash.flatten';\nimport { groupNodeEntities } from './helpers';\nimport injectBanner from '../../inject-banner';\n\nexport default function getBannersForNodes(entitiesSet, banner) {\n const groups = groupNodeEntities(entitiesSet, banner);\n const nodesWithBanner = groups\n .map((chunk, index) => {\n const key = `${banner.adunit}-${index}`;\n const interval = chunk.length + 1;\n\n return injectBanner(chunk, { ...banner, key, interval });\n })\n .map(flatten);\n\n return nodesWithBanner;\n}\n"],"mappings":";;;AAAA,OAAOA,OAAO,MAAM,gBAAgB;AACpC,SAASC,iBAAiB,QAAQ,WAAW;AAC7C,OAAOC,YAAY,MAAM,qBAAqB;AAE9C,eAAe,SAASC,kBAAkBA,CAACC,WAAW,EAAEC,MAAM,EAAE;EAC9D,MAAMC,MAAM,GAAGL,iBAAiB,CAACG,WAAW,EAAEC,MAAM,CAAC;EACrD,MAAME,eAAe,GAAGD,MAAM,CAC3BE,GAAG,CAAC,CAACC,KAAK,EAAEC,KAAK,KAAK;IACrB,MAAMC,GAAG,GAAI,GAAEN,MAAM,CAACO,MAAO,IAAGF,KAAM,EAAC;IACvC,MAAMG,QAAQ,GAAGJ,KAAK,CAACK,MAAM,GAAG,CAAC;IAEjC,OAAOZ,YAAY,CAACO,KAAK,EAAAM,aAAA,CAAAA,aAAA,KAAOV,MAAM;MAAEM,GAAG;MAAEE;IAAQ,EAAE,CAAC;EAC1D,CAAC,CAAC,CACDL,GAAG,CAACR,OAAO,CAAC;EAEf,OAAOO,eAAe;AACxB"}
|
|
1
|
+
{"version":3,"file":"get-banners-for-nodes.js","names":["flatten","groupNodeEntities","injectBanner","getBannersForNodes","entitiesSet","banner","groups","nodesWithBanner","map","chunk","index","key","adunit","interval","length","_objectSpread"],"sources":["../../../../src/helpers/inject-multiple-banners/get-banners-for-nodes/get-banners-for-nodes.js"],"sourcesContent":["import flatten from 'lodash.flatten';\nimport { groupNodeEntities } from './helpers';\nimport injectBanner from '../../inject-banner';\n\nexport default function getBannersForNodes(entitiesSet, banner) {\n const groups = groupNodeEntities(entitiesSet, banner);\n const nodesWithBanner = groups\n .map((chunk, index) => {\n const key = `${banner.adunit}-${index}`;\n const interval = chunk.length + 1;\n\n return injectBanner(chunk, { ...banner, key, interval });\n })\n .map(flatten);\n\n return nodesWithBanner;\n}\n"],"mappings":";;;AAAA,OAAOA,OAAO,MAAM,gBAAgB;AACpC,SAASC,iBAAiB,QAAQ,WAAW;AAC7C,OAAOC,YAAY,MAAM,qBAAqB;AAE9C,eAAe,SAASC,kBAAkBA,CAACC,WAAW,EAAEC,MAAM,EAAE;EAC9D,MAAMC,MAAM,GAAGL,iBAAiB,CAACG,WAAW,EAAEC,MAAM,CAAC;EACrD,MAAME,eAAe,GAAGD,MAAM,CAC3BE,GAAG,CAAC,CAACC,KAAK,EAAEC,KAAK,KAAK;IACrB,MAAMC,GAAG,GAAI,GAAEN,MAAM,CAACO,MAAO,IAAGF,KAAM,EAAC;IACvC,MAAMG,QAAQ,GAAGJ,KAAK,CAACK,MAAM,GAAG,CAAC;IAEjC,OAAOZ,YAAY,CAACO,KAAK,EAAAM,aAAA,CAAAA,aAAA,KAAOV,MAAM;MAAEM,GAAG;MAAEE;IAAQ,EAAE,CAAC;EAC1D,CAAC,CAAC,CACDL,GAAG,CAACR,OAAO,CAAC;EAEf,OAAOO,eAAe;AACxB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-node-entities.js","names":["groupEntities","groupNodeEntities","entities","options","interval","entitySet","chunks","lastSliceIndex","validNodeIndexes","map","props","validIndex","hasValidChildren","children","length","filter","indexCandidate","refChunks","forEach","ref","end","start","newChunk","slice","push"],"sources":["../../../../../src/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/group-node-entities.js"],"sourcesContent":["import groupEntities from '../../../group-entities';\n\nexport default function groupNodeEntities(entities, options) {\n const { interval } = options;\n const entitySet = [...entities];\n const chunks = [];\n let lastSliceIndex = 0;\n\n const validNodeIndexes = entitySet\n .map(({ props }, validIndex) => {\n const hasValidChildren = props && props.children && props.children.length;\n\n if (hasValidChildren) return validIndex;\n\n return null;\n })\n .filter(indexCandidate => typeof indexCandidate === 'number');\n\n const refChunks = groupEntities(validNodeIndexes, interval - 1);\n\n refChunks.forEach(ref => {\n const end = ref[ref.length - 1] + 1;\n const start = lastSliceIndex || ref[0];\n\n const newChunk = entitySet.slice(start, end);\n\n lastSliceIndex = end;\n\n if (newChunk.length) chunks.push(newChunk);\n });\n\n return chunks;\n}\n"],"mappings":"AAAA,OAAOA,aAAa,MAAM,yBAAyB;AAEnD,eAAe,SAASC,iBAAiBA,CAACC,QAAQ,EAAEC,OAAO,EAAE;EAC3D,MAAM;IAAEC;EAAS,CAAC,GAAGD,OAAO;EAC5B,MAAME,SAAS,GAAG,CAAC,GAAGH,QAAQ,CAAC;EAC/B,MAAMI,MAAM,GAAG,EAAE;EACjB,IAAIC,cAAc,GAAG,CAAC;EAEtB,MAAMC,gBAAgB,GAAGH,SAAS,CAC/BI,GAAG,CAAC,CAAC;IAAEC;EAAM,CAAC,EAAEC,UAAU,KAAK;IAC9B,MAAMC,gBAAgB,GAAGF,KAAK,IAAIA,KAAK,CAACG,QAAQ,IAAIH,KAAK,CAACG,QAAQ,CAACC,MAAM;IAEzE,IAAIF,gBAAgB,EAAE,OAAOD,UAAU;IAEvC,OAAO,IAAI;EACb,CAAC,CAAC,CACDI,MAAM,CAACC,cAAc,IAAI,OAAOA,cAAc,KAAK,QAAQ,CAAC;EAE/D,MAAMC,SAAS,GAAGjB,aAAa,CAACQ,gBAAgB,EAAEJ,QAAQ,GAAG,CAAC,CAAC;EAE/Da,SAAS,CAACC,OAAO,CAACC,GAAG,IAAI;IACvB,MAAMC,GAAG,GAAGD,GAAG,CAACA,GAAG,CAACL,MAAM,GAAG,CAAC,CAAC,GAAG,CAAC;IACnC,MAAMO,KAAK,GAAGd,cAAc,IAAIY,GAAG,CAAC,CAAC,CAAC;IAEtC,MAAMG,QAAQ,GAAGjB,SAAS,CAACkB,KAAK,CAACF,KAAK,EAAED,GAAG,CAAC;IAE5Cb,cAAc,GAAGa,GAAG;IAEpB,IAAIE,QAAQ,CAACR,MAAM,EAAER,MAAM,CAACkB,IAAI,CAACF,QAAQ,CAAC;EAC5C,CAAC,CAAC;EAEF,OAAOhB,MAAM;AACf"}
|
|
1
|
+
{"version":3,"file":"group-node-entities.js","names":["groupEntities","groupNodeEntities","entities","options","interval","entitySet","chunks","lastSliceIndex","validNodeIndexes","map","props","validIndex","hasValidChildren","children","length","filter","indexCandidate","refChunks","forEach","ref","end","start","newChunk","slice","push"],"sources":["../../../../../src/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/group-node-entities.js"],"sourcesContent":["import groupEntities from '../../../group-entities';\n\nexport default function groupNodeEntities(entities, options) {\n const { interval } = options;\n const entitySet = [...entities];\n const chunks = [];\n let lastSliceIndex = 0;\n\n const validNodeIndexes = entitySet\n .map(({ props }, validIndex) => {\n const hasValidChildren = props && props.children && props.children.length;\n\n if (hasValidChildren) return validIndex;\n\n return null;\n })\n .filter(indexCandidate => typeof indexCandidate === 'number');\n\n const refChunks = groupEntities(validNodeIndexes, interval - 1);\n\n refChunks.forEach(ref => {\n const end = ref[ref.length - 1] + 1;\n const start = lastSliceIndex || ref[0];\n\n const newChunk = entitySet.slice(start, end);\n\n lastSliceIndex = end;\n\n if (newChunk.length) chunks.push(newChunk);\n });\n\n return chunks;\n}\n"],"mappings":"AAAA,OAAOA,aAAa,MAAM,yBAAyB;AAEnD,eAAe,SAASC,iBAAiBA,CAACC,QAAQ,EAAEC,OAAO,EAAE;EAC3D,MAAM;IAAEC;EAAS,CAAC,GAAGD,OAAO;EAC5B,MAAME,SAAS,GAAG,CAAC,GAAGH,QAAQ,CAAC;EAC/B,MAAMI,MAAM,GAAG,EAAE;EACjB,IAAIC,cAAc,GAAG,CAAC;EAEtB,MAAMC,gBAAgB,GAAGH,SAAS,CAC/BI,GAAG,CAAC,CAAC;IAAEC;EAAM,CAAC,EAAEC,UAAU,KAAK;IAC9B,MAAMC,gBAAgB,GAAGF,KAAK,IAAIA,KAAK,CAACG,QAAQ,IAAIH,KAAK,CAACG,QAAQ,CAACC,MAAM;IAEzE,IAAIF,gBAAgB,EAAE,OAAOD,UAAU;IAEvC,OAAO,IAAI;EACb,CAAC,CAAC,CACDI,MAAM,CAACC,cAAc,IAAI,OAAOA,cAAc,KAAK,QAAQ,CAAC;EAE/D,MAAMC,SAAS,GAAGjB,aAAa,CAACQ,gBAAgB,EAAEJ,QAAQ,GAAG,CAAC,CAAC;EAE/Da,SAAS,CAACC,OAAO,CAACC,GAAG,IAAI;IACvB,MAAMC,GAAG,GAAGD,GAAG,CAACA,GAAG,CAACL,MAAM,GAAG,CAAC,CAAC,GAAG,CAAC;IACnC,MAAMO,KAAK,GAAGd,cAAc,IAAIY,GAAG,CAAC,CAAC,CAAC;IAEtC,MAAMG,QAAQ,GAAGjB,SAAS,CAACkB,KAAK,CAACF,KAAK,EAAED,GAAG,CAAC;IAE5Cb,cAAc,GAAGa,GAAG;IAEpB,IAAIE,QAAQ,CAACR,MAAM,EAAER,MAAM,CAACkB,IAAI,CAACF,QAAQ,CAAC;EAC5C,CAAC,CAAC;EAEF,OAAOhB,MAAM;AACf","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["groupNodeEntities"],"sources":["../../../../../src/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/index.js"],"sourcesContent":["import groupNodeEntities from './group-node-entities';\n\nexport { groupNodeEntities };\n"],"mappings":"AAAA,OAAOA,iBAAiB,MAAM,uBAAuB;AAErD,SAASA,iBAAiB"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["groupNodeEntities"],"sources":["../../../../../src/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/index.js"],"sourcesContent":["import groupNodeEntities from './group-node-entities';\n\nexport { groupNodeEntities };\n"],"mappings":"AAAA,OAAOA,iBAAiB,MAAM,uBAAuB;AAErD,SAASA,iBAAiB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["getBannersForNodes"],"sources":["../../../../src/helpers/inject-multiple-banners/get-banners-for-nodes/index.js"],"sourcesContent":["import getBannersForNodes from './get-banners-for-nodes';\n\nexport default getBannersForNodes;\n"],"mappings":"AAAA,OAAOA,kBAAkB,MAAM,yBAAyB;AAExD,eAAeA,kBAAkB"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["getBannersForNodes"],"sources":["../../../../src/helpers/inject-multiple-banners/get-banners-for-nodes/index.js"],"sourcesContent":["import getBannersForNodes from './get-banners-for-nodes';\n\nexport default getBannersForNodes;\n"],"mappings":"AAAA,OAAOA,kBAAkB,MAAM,yBAAyB;AAExD,eAAeA,kBAAkB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["injectMultipleBanners"],"sources":["../../../src/helpers/inject-multiple-banners/index.js"],"sourcesContent":["import injectMultipleBanners from './inject-multiple-banners';\n\nexport default injectMultipleBanners;\n"],"mappings":"AAAA,OAAOA,qBAAqB,MAAM,2BAA2B;AAE7D,eAAeA,qBAAqB"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["injectMultipleBanners"],"sources":["../../../src/helpers/inject-multiple-banners/index.js"],"sourcesContent":["import injectMultipleBanners from './inject-multiple-banners';\n\nexport default injectMultipleBanners;\n"],"mappings":"AAAA,OAAOA,qBAAqB,MAAM,2BAA2B;AAE7D,eAAeA,qBAAqB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inject-multiple-banners.js","names":["getBannersForEntities","getBannersForNodes","injectMultipleBanners","entities","banner","transform","entitiesSet","injectedEntities"],"sources":["../../../src/helpers/inject-multiple-banners/inject-multiple-banners.js"],"sourcesContent":["import getBannersForEntities from './get-banners-for-entities';\nimport getBannersForNodes from './get-banners-for-nodes';\n\nexport default function injectMultipleBanners(entities, banner) {\n const { transform } = banner;\n const entitiesSet = [...entities];\n\n const injectedEntities = transform\n ? getBannersForNodes(entitiesSet, banner)\n : getBannersForEntities(entitiesSet, banner);\n\n return injectedEntities;\n}\n"],"mappings":"AAAA,OAAOA,qBAAqB,MAAM,4BAA4B;AAC9D,OAAOC,kBAAkB,MAAM,yBAAyB;AAExD,eAAe,SAASC,qBAAqBA,CAACC,QAAQ,EAAEC,MAAM,EAAE;EAC9D,MAAM;IAAEC;EAAU,CAAC,GAAGD,MAAM;EAC5B,MAAME,WAAW,GAAG,CAAC,GAAGH,QAAQ,CAAC;EAEjC,MAAMI,gBAAgB,GAAGF,SAAS,GAC9BJ,kBAAkB,CAACK,WAAW,EAAEF,MAAM,CAAC,GACvCJ,qBAAqB,CAACM,WAAW,EAAEF,MAAM,CAAC;EAE9C,OAAOG,gBAAgB;AACzB"}
|
|
1
|
+
{"version":3,"file":"inject-multiple-banners.js","names":["getBannersForEntities","getBannersForNodes","injectMultipleBanners","entities","banner","transform","entitiesSet","injectedEntities"],"sources":["../../../src/helpers/inject-multiple-banners/inject-multiple-banners.js"],"sourcesContent":["import getBannersForEntities from './get-banners-for-entities';\nimport getBannersForNodes from './get-banners-for-nodes';\n\nexport default function injectMultipleBanners(entities, banner) {\n const { transform } = banner;\n const entitiesSet = [...entities];\n\n const injectedEntities = transform\n ? getBannersForNodes(entitiesSet, banner)\n : getBannersForEntities(entitiesSet, banner);\n\n return injectedEntities;\n}\n"],"mappings":"AAAA,OAAOA,qBAAqB,MAAM,4BAA4B;AAC9D,OAAOC,kBAAkB,MAAM,yBAAyB;AAExD,eAAe,SAASC,qBAAqBA,CAACC,QAAQ,EAAEC,MAAM,EAAE;EAC9D,MAAM;IAAEC;EAAU,CAAC,GAAGD,MAAM;EAC5B,MAAME,WAAW,GAAG,CAAC,GAAGH,QAAQ,CAAC;EAEjC,MAAMI,gBAAgB,GAAGF,SAAS,GAC9BJ,kBAAkB,CAACK,WAAW,EAAEF,MAAM,CAAC,GACvCJ,qBAAqB,CAACM,WAAW,EAAEF,MAAM,CAAC;EAE9C,OAAOG,gBAAgB;AACzB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"is-browser.js","names":["isBrowser","window"],"sources":["../../src/helpers/is-browser.js"],"sourcesContent":["const isBrowser = () => typeof window !== 'undefined';\n\nexport default isBrowser;\n"],"mappings":"AAAA,MAAMA,SAAS,GAAGA,CAAA,KAAM,OAAOC,MAAM,KAAK,WAAW;AAErD,eAAeD,SAAS"}
|
|
1
|
+
{"version":3,"file":"is-browser.js","names":["isBrowser","window"],"sources":["../../src/helpers/is-browser.js"],"sourcesContent":["const isBrowser = () => typeof window !== 'undefined';\n\nexport default isBrowser;\n"],"mappings":"AAAA,MAAMA,SAAS,GAAGA,CAAA,KAAM,OAAOC,MAAM,KAAK,WAAW;AAErD,eAAeD,SAAS","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"is-filter-entitys-id.js","names":["upperFirst","ID","isFilterEntitysId","entityName","itemEntityUpdated","id","includes"],"sources":["../../src/helpers/is-filter-entitys-id.js"],"sourcesContent":["import upperFirst from 'lodash.upperfirst';\nimport { ID } from '../constants';\n\nconst isFilterEntitysId = (entityName, itemEntityUpdated) => {\n const id = upperFirst(ID);\n return [\n `${itemEntityUpdated}${id}`,\n `${itemEntityUpdated}s${id}`,\n `${itemEntityUpdated}${id}s`,\n `${itemEntityUpdated}s${id}s`\n ].includes(entityName);\n};\n\nexport default isFilterEntitysId;\n"],"mappings":"AAAA,OAAOA,UAAU,MAAM,mBAAmB;AAC1C,SAASC,EAAE,QAAQ,cAAc;AAEjC,MAAMC,iBAAiB,GAAGA,CAACC,UAAU,EAAEC,iBAAiB,KAAK;EAC3D,MAAMC,EAAE,GAAGL,UAAU,CAACC,EAAE,CAAC;EACzB,OAAO,CACJ,GAAEG,iBAAkB,GAAEC,EAAG,EAAC,EAC1B,GAAED,iBAAkB,IAAGC,EAAG,EAAC,EAC3B,GAAED,iBAAkB,GAAEC,EAAG,GAAE,EAC3B,GAAED,iBAAkB,IAAGC,EAAG,GAAE,CAC9B,CAACC,QAAQ,CAACH,UAAU,CAAC;AACxB,CAAC;AAED,eAAeD,iBAAiB"}
|
|
1
|
+
{"version":3,"file":"is-filter-entitys-id.js","names":["upperFirst","ID","isFilterEntitysId","entityName","itemEntityUpdated","id","includes"],"sources":["../../src/helpers/is-filter-entitys-id.js"],"sourcesContent":["import upperFirst from 'lodash.upperfirst';\nimport { ID } from '../constants';\n\nconst isFilterEntitysId = (entityName, itemEntityUpdated) => {\n const id = upperFirst(ID);\n return [\n `${itemEntityUpdated}${id}`,\n `${itemEntityUpdated}s${id}`,\n `${itemEntityUpdated}${id}s`,\n `${itemEntityUpdated}s${id}s`\n ].includes(entityName);\n};\n\nexport default isFilterEntitysId;\n"],"mappings":"AAAA,OAAOA,UAAU,MAAM,mBAAmB;AAC1C,SAASC,EAAE,QAAQ,cAAc;AAEjC,MAAMC,iBAAiB,GAAGA,CAACC,UAAU,EAAEC,iBAAiB,KAAK;EAC3D,MAAMC,EAAE,GAAGL,UAAU,CAACC,EAAE,CAAC;EACzB,OAAO,CACJ,GAAEG,iBAAkB,GAAEC,EAAG,EAAC,EAC1B,GAAED,iBAAkB,IAAGC,EAAG,EAAC,EAC3B,GAAED,iBAAkB,GAAEC,EAAG,GAAE,EAC3B,GAAED,iBAAkB,IAAGC,EAAG,GAAE,CAC9B,CAACC,QAAQ,CAACH,UAAU,CAAC;AACxB,CAAC;AAED,eAAeD,iBAAiB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"is-object.js","names":["isObject","value","Array","isArray"],"sources":["../../src/helpers/is-object.js"],"sourcesContent":["const isObject = value => !!(value !== null && typeof value === 'object' && !Array.isArray(value));\n\nexport default isObject;\n"],"mappings":"AAAA,MAAMA,QAAQ,GAAGC,KAAK,IAAI,CAAC,EAAEA,KAAK,KAAK,IAAI,IAAI,OAAOA,KAAK,KAAK,QAAQ,IAAI,CAACC,KAAK,CAACC,OAAO,CAACF,KAAK,CAAC,CAAC;AAElG,eAAeD,QAAQ"}
|
|
1
|
+
{"version":3,"file":"is-object.js","names":["isObject","value","Array","isArray"],"sources":["../../src/helpers/is-object.js"],"sourcesContent":["const isObject = value => !!(value !== null && typeof value === 'object' && !Array.isArray(value));\n\nexport default isObject;\n"],"mappings":"AAAA,MAAMA,QAAQ,GAAGC,KAAK,IAAI,CAAC,EAAEA,KAAK,KAAK,IAAI,IAAI,OAAOA,KAAK,KAAK,QAAQ,IAAI,CAACC,KAAK,CAACC,OAAO,CAACF,KAAK,CAAC,CAAC;AAElG,eAAeD,QAAQ","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"is-using-relation-image.js","names":["isUsingRelationImage","entity","fetchFromRelation","imageRelation","length"],"sources":["../../src/helpers/is-using-relation-image.js"],"sourcesContent":["const isUsingRelationImage = (entity, fetchFromRelation, imageRelation) =>\n entity && fetchFromRelation && imageRelation.length;\n\nexport default isUsingRelationImage;\n"],"mappings":"AAAA,MAAMA,oBAAoB,GAAGA,CAACC,MAAM,EAAEC,iBAAiB,EAAEC,aAAa,KACpEF,MAAM,IAAIC,iBAAiB,IAAIC,aAAa,CAACC,MAAM;AAErD,eAAeJ,oBAAoB"}
|
|
1
|
+
{"version":3,"file":"is-using-relation-image.js","names":["isUsingRelationImage","entity","fetchFromRelation","imageRelation","length"],"sources":["../../src/helpers/is-using-relation-image.js"],"sourcesContent":["const isUsingRelationImage = (entity, fetchFromRelation, imageRelation) =>\n entity && fetchFromRelation && imageRelation.length;\n\nexport default isUsingRelationImage;\n"],"mappings":"AAAA,MAAMA,oBAAoB,GAAGA,CAACC,MAAM,EAAEC,iBAAiB,EAAEC,aAAa,KACpEF,MAAM,IAAIC,iBAAiB,IAAIC,aAAa,CAACC,MAAM;AAErD,eAAeJ,oBAAoB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse-TextBlock.js","names":["parseHTML","domToReact","React","ANCHOR_TAG","TARGET_BLANK","parseTextBlock","config","html","LinkWrapper","useTargetBlank","options","replace","domNode","attribs","children","name","tagName","target","createElement","_extends"],"sources":["../../src/helpers/parse-TextBlock.js"],"sourcesContent":["import parseHTML, { domToReact } from 'html-react-parser';\nimport React from 'react';\nimport { ANCHOR_TAG, TARGET_BLANK } from '../constants';\n\nfunction parseTextBlock(config) {\n const { html, LinkWrapper, useTargetBlank } = config;\n\n const options = {\n replace: domNode => {\n const { attribs, children, name: tagName } = domNode;\n if (tagName === ANCHOR_TAG) {\n const target = useTargetBlank ? TARGET_BLANK : attribs.target;\n\n return LinkWrapper ? (\n <LinkWrapper {...attribs} target={target}>\n {domToReact(children, options)}\n </LinkWrapper>\n ) : (\n domNode\n );\n }\n return null;\n }\n };\n\n return parseHTML(html, options);\n}\n\nexport default parseTextBlock;\n"],"mappings":";AAAA,OAAOA,SAAS,IAAIC,UAAU,QAAQ,mBAAmB;AACzD,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,YAAY,QAAQ,cAAc;AAEvD,SAASC,cAAcA,CAACC,MAAM,EAAE;EAC9B,MAAM;IAAEC,IAAI;IAAEC,WAAW;IAAEC;EAAe,CAAC,GAAGH,MAAM;EAEpD,MAAMI,OAAO,GAAG;IACdC,OAAO,EAAEC,OAAO,IAAI;MAClB,MAAM;QAAEC,OAAO;QAAEC,QAAQ;QAAEC,IAAI,EAAEC;MAAQ,CAAC,GAAGJ,OAAO;MACpD,IAAII,OAAO,KAAKb,UAAU,EAAE;QAC1B,MAAMc,MAAM,GAAGR,cAAc,GAAGL,YAAY,GAAGS,OAAO,CAACI,MAAM;QAE7D,OAAOT,WAAW,gBAChBN,KAAA,CAAAgB,aAAA,CAACV,WAAW,EAAAW,QAAA,KAAKN,OAAO;UAAEI,MAAM,EAAEA;QAAO,IACtChB,UAAU,CAACa,QAAQ,EAAEJ,OAAO,CAClB,CAAC,GAEdE,OACD;MACH;MACA,OAAO,IAAI;IACb;EACF,CAAC;EAED,OAAOZ,SAAS,CAACO,IAAI,EAAEG,OAAO,CAAC;AACjC;AAEA,eAAeL,cAAc"}
|
|
1
|
+
{"version":3,"file":"parse-TextBlock.js","names":["parseHTML","domToReact","React","ANCHOR_TAG","TARGET_BLANK","parseTextBlock","config","html","LinkWrapper","useTargetBlank","options","replace","domNode","attribs","children","name","tagName","target","createElement","_extends"],"sources":["../../src/helpers/parse-TextBlock.js"],"sourcesContent":["import parseHTML, { domToReact } from 'html-react-parser';\nimport React from 'react';\nimport { ANCHOR_TAG, TARGET_BLANK } from '../constants';\n\nfunction parseTextBlock(config) {\n const { html, LinkWrapper, useTargetBlank } = config;\n\n const options = {\n replace: domNode => {\n const { attribs, children, name: tagName } = domNode;\n if (tagName === ANCHOR_TAG) {\n const target = useTargetBlank ? TARGET_BLANK : attribs.target;\n\n return LinkWrapper ? (\n <LinkWrapper {...attribs} target={target}>\n {domToReact(children, options)}\n </LinkWrapper>\n ) : (\n domNode\n );\n }\n return null;\n }\n };\n\n return parseHTML(html, options);\n}\n\nexport default parseTextBlock;\n"],"mappings":";AAAA,OAAOA,SAAS,IAAIC,UAAU,QAAQ,mBAAmB;AACzD,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,YAAY,QAAQ,cAAc;AAEvD,SAASC,cAAcA,CAACC,MAAM,EAAE;EAC9B,MAAM;IAAEC,IAAI;IAAEC,WAAW;IAAEC;EAAe,CAAC,GAAGH,MAAM;EAEpD,MAAMI,OAAO,GAAG;IACdC,OAAO,EAAEC,OAAO,IAAI;MAClB,MAAM;QAAEC,OAAO;QAAEC,QAAQ;QAAEC,IAAI,EAAEC;MAAQ,CAAC,GAAGJ,OAAO;MACpD,IAAII,OAAO,KAAKb,UAAU,EAAE;QAC1B,MAAMc,MAAM,GAAGR,cAAc,GAAGL,YAAY,GAAGS,OAAO,CAACI,MAAM;QAE7D,OAAOT,WAAW,gBAChBN,KAAA,CAAAgB,aAAA,CAACV,WAAW,EAAAW,QAAA,KAAKN,OAAO;UAAEI,MAAM,EAAEA;QAAO,IACtChB,UAAU,CAACa,QAAQ,EAAEJ,OAAO,CAClB,CAAC,GAEdE,OACD;MACH;MACA,OAAO,IAAI;IACb;EACF,CAAC;EAED,OAAOZ,SAAS,CAACO,IAAI,EAAEG,OAAO,CAAC;AACjC;AAEA,eAAeL,cAAc","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse-interval.js","names":["parseInterval","interval"],"sources":["../../src/helpers/parse-interval.js"],"sourcesContent":["export default function parseInterval(interval) {\n return interval ? interval - 1 : 0;\n}\n"],"mappings":"AAAA,eAAe,SAASA,aAAaA,CAACC,QAAQ,EAAE;EAC9C,OAAOA,QAAQ,GAAGA,QAAQ,GAAG,CAAC,GAAG,CAAC;AACpC"}
|
|
1
|
+
{"version":3,"file":"parse-interval.js","names":["parseInterval","interval"],"sources":["../../src/helpers/parse-interval.js"],"sourcesContent":["export default function parseInterval(interval) {\n return interval ? interval - 1 : 0;\n}\n"],"mappings":"AAAA,eAAe,SAASA,aAAaA,CAACC,QAAQ,EAAE;EAC9C,OAAOA,QAAQ,GAAGA,QAAQ,GAAG,CAAC,GAAG,CAAC;AACpC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse-props-to-display.js","names":["React","Fragment","at","isObject","getParsedPropValues","getSanitizedPropValues","BOLD_TAG","BLANK_SPACE_UNICODE_STRING","processDataSummaryValue","parsePropsToDisplay","props","propsToDisplay","filter","Boolean","map","options","currentIndex","bold","propertiesToDisplay","prefix","suffix","shouldStrip","enableLink","Wrapper","parsedPropValues","sanitizedPropValues","length","stringEndBlank","processedValue","Array","isArray","value","createElement"],"sources":["../../src/helpers/parse-props-to-display.js"],"sourcesContent":["import React, { Fragment } from 'react';\nimport at from 'lodash.at';\nimport isObject from './is-object';\nimport getParsedPropValues from './get-parsed-prop-values';\nimport getSanitizedPropValues from './get-sanitized-prop-values';\nimport { BOLD_TAG, BLANK_SPACE_UNICODE_STRING } from '../constants';\nimport processDataSummaryValue from './process-data-summary-value';\n\n// TODO this helper should be removed if database is wiped clean and all elements change to new props struc\nconst parsePropsToDisplay = (props = {}, propsToDisplay = []) => {\n if (!isObject(propsToDisplay[0])) return at(props, propsToDisplay).filter(Boolean);\n\n return propsToDisplay.map((options, currentIndex) => {\n const { bold, propertiesToDisplay, prefix, suffix, shouldStrip, enableLink } = options;\n const Wrapper = bold ? BOLD_TAG : Fragment;\n\n const parsedPropValues = getParsedPropValues({\n propertiesToDisplay,\n props,\n enableLink,\n shouldStrip\n });\n\n const sanitizedPropValues = getSanitizedPropValues(parsedPropValues);\n if (!sanitizedPropValues || !sanitizedPropValues.length) return null;\n const stringEndBlank =\n currentIndex + 1 === propsToDisplay.length ? '' : BLANK_SPACE_UNICODE_STRING;\n\n const processedValue = Array.isArray(sanitizedPropValues)\n ? sanitizedPropValues.map(value => processDataSummaryValue(value, options))\n : processDataSummaryValue(sanitizedPropValues, options);\n\n return (\n <Wrapper>\n {prefix} {processedValue} {suffix}\n {stringEndBlank}\n </Wrapper>\n );\n });\n};\n\nexport default parsePropsToDisplay;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,QAAQ,MAAM,aAAa;AAClC,OAAOC,mBAAmB,MAAM,0BAA0B;AAC1D,OAAOC,sBAAsB,MAAM,6BAA6B;AAChE,SAASC,QAAQ,EAAEC,0BAA0B,QAAQ,cAAc;AACnE,OAAOC,uBAAuB,MAAM,8BAA8B;;AAElE;AACA,MAAMC,mBAAmB,GAAGA,CAACC,KAAK,GAAG,CAAC,CAAC,EAAEC,cAAc,GAAG,EAAE,KAAK;EAC/D,IAAI,CAACR,QAAQ,CAACQ,cAAc,CAAC,CAAC,CAAC,CAAC,EAAE,OAAOT,EAAE,CAACQ,KAAK,EAAEC,cAAc,CAAC,CAACC,MAAM,CAACC,OAAO,CAAC;EAElF,OAAOF,cAAc,CAACG,GAAG,CAAC,CAACC,OAAO,EAAEC,YAAY,KAAK;IACnD,MAAM;MAAEC,IAAI;MAAEC,mBAAmB;MAAEC,MAAM;MAAEC,MAAM;MAAEC,WAAW;MAAEC;IAAW,CAAC,GAAGP,OAAO;IACtF,MAAMQ,OAAO,GAAGN,IAAI,GAAGX,QAAQ,GAAGL,QAAQ;IAE1C,MAAMuB,gBAAgB,GAAGpB,mBAAmB,CAAC;MAC3Cc,mBAAmB;MACnBR,KAAK;MACLY,UAAU;MACVD;IACF,CAAC,CAAC;IAEF,MAAMI,mBAAmB,GAAGpB,sBAAsB,CAACmB,gBAAgB,CAAC;IACpE,IAAI,CAACC,mBAAmB,IAAI,CAACA,mBAAmB,CAACC,MAAM,EAAE,OAAO,IAAI;IACpE,MAAMC,cAAc,GAClBX,YAAY,GAAG,CAAC,KAAKL,cAAc,CAACe,MAAM,GAAG,EAAE,GAAGnB,0BAA0B;IAE9E,MAAMqB,cAAc,GAAGC,KAAK,CAACC,OAAO,CAACL,mBAAmB,CAAC,GACrDA,mBAAmB,CAACX,GAAG,CAACiB,KAAK,IAAIvB,uBAAuB,CAACuB,KAAK,EAAEhB,OAAO,CAAC,CAAC,GACzEP,uBAAuB,CAACiB,mBAAmB,EAAEV,OAAO,CAAC;IAEzD,oBACEf,KAAA,CAAAgC,aAAA,CAACT,OAAO,QACLJ,MAAM,EAAC,GAAC,EAACS,cAAc,EAAC,GAAC,EAACR,MAAM,EAChCO,cACM,CAAC;EAEd,CAAC,CAAC;AACJ,CAAC;AAED,eAAelB,mBAAmB"}
|
|
1
|
+
{"version":3,"file":"parse-props-to-display.js","names":["React","Fragment","at","isObject","getParsedPropValues","getSanitizedPropValues","BOLD_TAG","BLANK_SPACE_UNICODE_STRING","processDataSummaryValue","parsePropsToDisplay","props","propsToDisplay","filter","Boolean","map","options","currentIndex","bold","propertiesToDisplay","prefix","suffix","shouldStrip","enableLink","Wrapper","parsedPropValues","sanitizedPropValues","length","stringEndBlank","processedValue","Array","isArray","value","createElement"],"sources":["../../src/helpers/parse-props-to-display.js"],"sourcesContent":["import React, { Fragment } from 'react';\nimport at from 'lodash.at';\nimport isObject from './is-object';\nimport getParsedPropValues from './get-parsed-prop-values';\nimport getSanitizedPropValues from './get-sanitized-prop-values';\nimport { BOLD_TAG, BLANK_SPACE_UNICODE_STRING } from '../constants';\nimport processDataSummaryValue from './process-data-summary-value';\n\n// TODO this helper should be removed if database is wiped clean and all elements change to new props struc\nconst parsePropsToDisplay = (props = {}, propsToDisplay = []) => {\n if (!isObject(propsToDisplay[0])) return at(props, propsToDisplay).filter(Boolean);\n\n return propsToDisplay.map((options, currentIndex) => {\n const { bold, propertiesToDisplay, prefix, suffix, shouldStrip, enableLink } = options;\n const Wrapper = bold ? BOLD_TAG : Fragment;\n\n const parsedPropValues = getParsedPropValues({\n propertiesToDisplay,\n props,\n enableLink,\n shouldStrip\n });\n\n const sanitizedPropValues = getSanitizedPropValues(parsedPropValues);\n if (!sanitizedPropValues || !sanitizedPropValues.length) return null;\n const stringEndBlank =\n currentIndex + 1 === propsToDisplay.length ? '' : BLANK_SPACE_UNICODE_STRING;\n\n const processedValue = Array.isArray(sanitizedPropValues)\n ? sanitizedPropValues.map(value => processDataSummaryValue(value, options))\n : processDataSummaryValue(sanitizedPropValues, options);\n\n return (\n <Wrapper>\n {prefix} {processedValue} {suffix}\n {stringEndBlank}\n </Wrapper>\n );\n });\n};\n\nexport default parsePropsToDisplay;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,QAAQ,MAAM,aAAa;AAClC,OAAOC,mBAAmB,MAAM,0BAA0B;AAC1D,OAAOC,sBAAsB,MAAM,6BAA6B;AAChE,SAASC,QAAQ,EAAEC,0BAA0B,QAAQ,cAAc;AACnE,OAAOC,uBAAuB,MAAM,8BAA8B;;AAElE;AACA,MAAMC,mBAAmB,GAAGA,CAACC,KAAK,GAAG,CAAC,CAAC,EAAEC,cAAc,GAAG,EAAE,KAAK;EAC/D,IAAI,CAACR,QAAQ,CAACQ,cAAc,CAAC,CAAC,CAAC,CAAC,EAAE,OAAOT,EAAE,CAACQ,KAAK,EAAEC,cAAc,CAAC,CAACC,MAAM,CAACC,OAAO,CAAC;EAElF,OAAOF,cAAc,CAACG,GAAG,CAAC,CAACC,OAAO,EAAEC,YAAY,KAAK;IACnD,MAAM;MAAEC,IAAI;MAAEC,mBAAmB;MAAEC,MAAM;MAAEC,MAAM;MAAEC,WAAW;MAAEC;IAAW,CAAC,GAAGP,OAAO;IACtF,MAAMQ,OAAO,GAAGN,IAAI,GAAGX,QAAQ,GAAGL,QAAQ;IAE1C,MAAMuB,gBAAgB,GAAGpB,mBAAmB,CAAC;MAC3Cc,mBAAmB;MACnBR,KAAK;MACLY,UAAU;MACVD;IACF,CAAC,CAAC;IAEF,MAAMI,mBAAmB,GAAGpB,sBAAsB,CAACmB,gBAAgB,CAAC;IACpE,IAAI,CAACC,mBAAmB,IAAI,CAACA,mBAAmB,CAACC,MAAM,EAAE,OAAO,IAAI;IACpE,MAAMC,cAAc,GAClBX,YAAY,GAAG,CAAC,KAAKL,cAAc,CAACe,MAAM,GAAG,EAAE,GAAGnB,0BAA0B;IAE9E,MAAMqB,cAAc,GAAGC,KAAK,CAACC,OAAO,CAACL,mBAAmB,CAAC,GACrDA,mBAAmB,CAACX,GAAG,CAACiB,KAAK,IAAIvB,uBAAuB,CAACuB,KAAK,EAAEhB,OAAO,CAAC,CAAC,GACzEP,uBAAuB,CAACiB,mBAAmB,EAAEV,OAAO,CAAC;IAEzD,oBACEf,KAAA,CAAAgC,aAAA,CAACT,OAAO,QACLJ,MAAM,EAAC,GAAC,EAACS,cAAc,EAAC,GAAC,EAACR,MAAM,EAChCO,cACM,CAAC;EAEd,CAAC,CAAC;AACJ,CAAC;AAED,eAAelB,mBAAmB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"process-data-summary-value.js","names":["React","components","code","Code","renderCode","value","createElement","disableWrapper","processDataSummaryValue","objPropValue","isHtml","pValue","Array","isArray","map","_ref","keyField","otherProps","_objectWithoutProperties","_toPropertyKey","_objectSpread"],"sources":["../../src/helpers/process-data-summary-value.js"],"sourcesContent":["import React from 'react';\nimport components from '../components';\n\nconst { code: Code } = components;\n\nconst renderCode = value => <Code code={value} disableWrapper />;\n\nconst processDataSummaryValue = (objPropValue, { isHtml }) => {\n let pValue = objPropValue;\n if (isHtml) {\n pValue = Array.isArray(objPropValue)\n ? objPropValue.map(({ keyField, [keyField]: value, ...otherProps }) => ({\n [keyField]: renderCode(value),\n keyField,\n ...otherProps\n }))\n : renderCode(objPropValue);\n }\n return pValue;\n};\n\nexport default processDataSummaryValue;\n"],"mappings":";;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,UAAU,MAAM,eAAe;AAEtC,MAAM;EAAEC,IAAI,EAAEC;AAAK,CAAC,GAAGF,UAAU;AAEjC,MAAMG,UAAU,GAAGC,KAAK,iBAAIL,KAAA,CAAAM,aAAA,CAACH,IAAI;EAACD,IAAI,EAAEG,KAAM;EAACE,cAAc;AAAA,CAAE,CAAC;AAEhE,MAAMC,uBAAuB,GAAGA,CAACC,YAAY,EAAE;EAAEC;AAAO,CAAC,KAAK;EAC5D,IAAIC,MAAM,GAAGF,YAAY;EACzB,IAAIC,MAAM,EAAE;IACVC,MAAM,GAAGC,KAAK,CAACC,OAAO,CAACJ,YAAY,CAAC,GAChCA,YAAY,CAACK,GAAG,CAACC,IAAA;MAAA,IAAC;UAAEC,QAAQ;UAAE,CAACA,QAAQ,GAAGX;QAAqB,CAAC,GAAAU,IAAA;QAAZE,UAAU,GAAAC,wBAAA,CAAAH,IAAA,eAA/BC,QAAQ,EAAAF,GAAA,CAAAK,cAAA;MAAA,OAAAC,aAAA;QACrC,CAACJ,QAAQ,GAAGZ,UAAU,CAACC,KAAK,CAAC;QAC7BW;MAAQ,GACLC,UAAU;IAAA,CACb,CAAC,GACHb,UAAU,CAACK,YAAY,CAAC;EAC9B;EACA,OAAOE,MAAM;AACf,CAAC;AAED,eAAeH,uBAAuB"}
|
|
1
|
+
{"version":3,"file":"process-data-summary-value.js","names":["React","components","code","Code","renderCode","value","createElement","disableWrapper","processDataSummaryValue","objPropValue","isHtml","pValue","Array","isArray","map","_ref","keyField","otherProps","_objectWithoutProperties","_toPropertyKey","_objectSpread"],"sources":["../../src/helpers/process-data-summary-value.js"],"sourcesContent":["import React from 'react';\nimport components from '../components';\n\nconst { code: Code } = components;\n\nconst renderCode = value => <Code code={value} disableWrapper />;\n\nconst processDataSummaryValue = (objPropValue, { isHtml }) => {\n let pValue = objPropValue;\n if (isHtml) {\n pValue = Array.isArray(objPropValue)\n ? objPropValue.map(({ keyField, [keyField]: value, ...otherProps }) => ({\n [keyField]: renderCode(value),\n keyField,\n ...otherProps\n }))\n : renderCode(objPropValue);\n }\n return pValue;\n};\n\nexport default processDataSummaryValue;\n"],"mappings":";;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,UAAU,MAAM,eAAe;AAEtC,MAAM;EAAEC,IAAI,EAAEC;AAAK,CAAC,GAAGF,UAAU;AAEjC,MAAMG,UAAU,GAAGC,KAAK,iBAAIL,KAAA,CAAAM,aAAA,CAACH,IAAI;EAACD,IAAI,EAAEG,KAAM;EAACE,cAAc;AAAA,CAAE,CAAC;AAEhE,MAAMC,uBAAuB,GAAGA,CAACC,YAAY,EAAE;EAAEC;AAAO,CAAC,KAAK;EAC5D,IAAIC,MAAM,GAAGF,YAAY;EACzB,IAAIC,MAAM,EAAE;IACVC,MAAM,GAAGC,KAAK,CAACC,OAAO,CAACJ,YAAY,CAAC,GAChCA,YAAY,CAACK,GAAG,CAACC,IAAA;MAAA,IAAC;UAAEC,QAAQ;UAAE,CAACA,QAAQ,GAAGX;QAAqB,CAAC,GAAAU,IAAA;QAAZE,UAAU,GAAAC,wBAAA,CAAAH,IAAA,eAA/BC,QAAQ,EAAAF,GAAA,CAAAK,cAAA;MAAA,OAAAC,aAAA;QACrC,CAACJ,QAAQ,GAAGZ,UAAU,CAACC,KAAK,CAAC;QAC7BW;MAAQ,GACLC,UAAU;IAAA,CACb,CAAC,GACHb,UAAU,CAACK,YAAY,CAAC;EAC9B;EACA,OAAOE,MAAM;AACf,CAAC;AAED,eAAeH,uBAAuB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-extra-items.js","names":["removeExtraItems","data","limit","itemId","newData","i","length","id","push"],"sources":["../../src/helpers/remove-extra-items.js"],"sourcesContent":["function removeExtraItems(data, limit, itemId) {\n const newData = [];\n // eslint-disable-next-line no-plusplus\n for (let i = 0; i < data.length; i++) {\n if (data[i].id !== itemId) {\n newData.push(data[i]);\n }\n if (newData.length >= limit) break;\n }\n return newData;\n}\n\nexport default removeExtraItems;\n"],"mappings":"AAAA,SAASA,gBAAgBA,CAACC,IAAI,EAAEC,KAAK,EAAEC,MAAM,EAAE;EAC7C,MAAMC,OAAO,GAAG,EAAE;EAClB;EACA,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGJ,IAAI,CAACK,MAAM,EAAED,CAAC,EAAE,EAAE;IACpC,IAAIJ,IAAI,CAACI,CAAC,CAAC,CAACE,EAAE,KAAKJ,MAAM,EAAE;MACzBC,OAAO,CAACI,IAAI,CAACP,IAAI,CAACI,CAAC,CAAC,CAAC;IACvB;IACA,IAAID,OAAO,CAACE,MAAM,IAAIJ,KAAK,EAAE;EAC/B;EACA,OAAOE,OAAO;AAChB;AAEA,eAAeJ,gBAAgB"}
|
|
1
|
+
{"version":3,"file":"remove-extra-items.js","names":["removeExtraItems","data","limit","itemId","newData","i","length","id","push"],"sources":["../../src/helpers/remove-extra-items.js"],"sourcesContent":["function removeExtraItems(data, limit, itemId) {\n const newData = [];\n // eslint-disable-next-line no-plusplus\n for (let i = 0; i < data.length; i++) {\n if (data[i].id !== itemId) {\n newData.push(data[i]);\n }\n if (newData.length >= limit) break;\n }\n return newData;\n}\n\nexport default removeExtraItems;\n"],"mappings":"AAAA,SAASA,gBAAgBA,CAACC,IAAI,EAAEC,KAAK,EAAEC,MAAM,EAAE;EAC7C,MAAMC,OAAO,GAAG,EAAE;EAClB;EACA,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGJ,IAAI,CAACK,MAAM,EAAED,CAAC,EAAE,EAAE;IACpC,IAAIJ,IAAI,CAACI,CAAC,CAAC,CAACE,EAAE,KAAKJ,MAAM,EAAE;MACzBC,OAAO,CAACI,IAAI,CAACP,IAAI,CAACI,CAAC,CAAC,CAAC;IACvB;IACA,IAAID,OAAO,CAACE,MAAM,IAAIJ,KAAK,EAAE;EAC/B;EACA,OAAOE,OAAO;AAChB;AAEA,eAAeJ,gBAAgB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-unwanted-characters.js","names":["removeUnwantedCharacters","value","args","Array","isArray","map","removeCharacters","keyField","_objectSpread","String","replace","trim"],"sources":["../../src/helpers/remove-unwanted-characters.js"],"sourcesContent":["function removeUnwantedCharacters(value) {\n const args = value ?? '';\n\n return Array.isArray(args) ? value.map(removeUnwantedCharacters) : removeCharacters(args);\n}\n\nfunction removeCharacters(value) {\n if (typeof value === 'object') {\n const { keyField } = value;\n if (!keyField) return value;\n return { ...value, [keyField]: removeUnwantedCharacters(value[keyField]) };\n }\n\n return String(value)\n .replace(/^\\|\\s/, '')\n .replace(/\\|$/, '')\n .trim();\n}\n\nexport default removeUnwantedCharacters;\n"],"mappings":";;;AAAA,SAASA,wBAAwBA,CAACC,KAAK,EAAE;EACvC,MAAMC,IAAI,GAAGD,KAAK,aAALA,KAAK,cAALA,KAAK,GAAI,EAAE;EAExB,OAAOE,KAAK,CAACC,OAAO,CAACF,IAAI,CAAC,GAAGD,KAAK,CAACI,GAAG,CAACL,wBAAwB,CAAC,GAAGM,gBAAgB,CAACJ,IAAI,CAAC;AAC3F;AAEA,SAASI,gBAAgBA,CAACL,KAAK,EAAE;EAC/B,IAAI,OAAOA,KAAK,KAAK,QAAQ,EAAE;IAC7B,MAAM;MAAEM;IAAS,CAAC,GAAGN,KAAK;IAC1B,IAAI,CAACM,QAAQ,EAAE,OAAON,KAAK;IAC3B,OAAAO,aAAA,CAAAA,aAAA,KAAYP,KAAK;MAAE,CAACM,QAAQ,GAAGP,wBAAwB,CAACC,KAAK,CAACM,QAAQ,CAAC;IAAC;EAC1E;EAEA,OAAOE,MAAM,CAACR,KAAK,CAAC,CACjBS,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CACpBA,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAClBC,IAAI,CAAC,CAAC;AACX;AAEA,eAAeX,wBAAwB"}
|
|
1
|
+
{"version":3,"file":"remove-unwanted-characters.js","names":["removeUnwantedCharacters","value","args","Array","isArray","map","removeCharacters","keyField","_objectSpread","String","replace","trim"],"sources":["../../src/helpers/remove-unwanted-characters.js"],"sourcesContent":["function removeUnwantedCharacters(value) {\n const args = value ?? '';\n\n return Array.isArray(args) ? value.map(removeUnwantedCharacters) : removeCharacters(args);\n}\n\nfunction removeCharacters(value) {\n if (typeof value === 'object') {\n const { keyField } = value;\n if (!keyField) return value;\n return { ...value, [keyField]: removeUnwantedCharacters(value[keyField]) };\n }\n\n return String(value)\n .replace(/^\\|\\s/, '')\n .replace(/\\|$/, '')\n .trim();\n}\n\nexport default removeUnwantedCharacters;\n"],"mappings":";;;AAAA,SAASA,wBAAwBA,CAACC,KAAK,EAAE;EACvC,MAAMC,IAAI,GAAGD,KAAK,aAALA,KAAK,cAALA,KAAK,GAAI,EAAE;EAExB,OAAOE,KAAK,CAACC,OAAO,CAACF,IAAI,CAAC,GAAGD,KAAK,CAACI,GAAG,CAACL,wBAAwB,CAAC,GAAGM,gBAAgB,CAACJ,IAAI,CAAC;AAC3F;AAEA,SAASI,gBAAgBA,CAACL,KAAK,EAAE;EAC/B,IAAI,OAAOA,KAAK,KAAK,QAAQ,EAAE;IAC7B,MAAM;MAAEM;IAAS,CAAC,GAAGN,KAAK;IAC1B,IAAI,CAACM,QAAQ,EAAE,OAAON,KAAK;IAC3B,OAAAO,aAAA,CAAAA,aAAA,KAAYP,KAAK;MAAE,CAACM,QAAQ,GAAGP,wBAAwB,CAACC,KAAK,CAACM,QAAQ,CAAC;IAAC;EAC1E;EAEA,OAAOE,MAAM,CAACR,KAAK,CAAC,CACjBS,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CACpBA,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAClBC,IAAI,CAAC,CAAC;AACX;AAEA,eAAeX,wBAAwB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-children.js","names":["React","CHILD_PROPS_TO_USE","buildChildProps","childProps","parentProps","propsToOverride","forEach","prop","_objectSpread","renderChildren","children","otherProps","Children","map","child","childrenElements","props","Array","isArray","length","nestedChildren","nestedChild","cloneElement"],"sources":["../../src/helpers/render-children.js"],"sourcesContent":["import React from 'react';\nimport { CHILD_PROPS_TO_USE } from '../constants';\n\nconst buildChildProps = (childProps, parentProps) => {\n const propsToOverride = {};\n CHILD_PROPS_TO_USE.forEach(prop => (propsToOverride[prop] = childProps[prop]));\n return { ...parentProps, ...propsToOverride };\n};\n\nconst renderChildren = (children, otherProps = {}) =>\n React.Children.map(children, child => {\n const childrenElements = child.props.children;\n if (Array.isArray(childrenElements) && childrenElements.length) {\n const [, nestedChildren] = child.props.children;\n return (\n Array.isArray(nestedChildren) &&\n nestedChildren.map(nestedChild => renderChildren(nestedChild, otherProps))\n );\n }\n const childProps = buildChildProps(child.props, otherProps);\n return React.cloneElement(child, { ...childProps });\n });\n\nexport default renderChildren;\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,kBAAkB,QAAQ,cAAc;AAEjD,MAAMC,eAAe,GAAGA,CAACC,UAAU,EAAEC,WAAW,KAAK;EACnD,MAAMC,eAAe,GAAG,CAAC,CAAC;EAC1BJ,kBAAkB,CAACK,OAAO,CAACC,IAAI,IAAKF,eAAe,CAACE,IAAI,CAAC,GAAGJ,UAAU,CAACI,IAAI,CAAE,CAAC;EAC9E,OAAAC,aAAA,CAAAA,aAAA,KAAYJ,WAAW,GAAKC,eAAe;AAC7C,CAAC;AAED,MAAMI,cAAc,GAAGA,CAACC,QAAQ,EAAEC,UAAU,GAAG,CAAC,CAAC,KAC/CX,KAAK,CAACY,QAAQ,CAACC,GAAG,CAACH,QAAQ,EAAEI,KAAK,IAAI;EACpC,MAAMC,gBAAgB,GAAGD,KAAK,CAACE,KAAK,CAACN,QAAQ;EAC7C,IAAIO,KAAK,CAACC,OAAO,CAACH,gBAAgB,CAAC,IAAIA,gBAAgB,CAACI,MAAM,EAAE;IAC9D,MAAM,GAAGC,cAAc,CAAC,GAAGN,KAAK,CAACE,KAAK,CAACN,QAAQ;IAC/C,OACEO,KAAK,CAACC,OAAO,CAACE,cAAc,CAAC,IAC7BA,cAAc,CAACP,GAAG,CAACQ,WAAW,IAAIZ,cAAc,CAACY,WAAW,EAAEV,UAAU,CAAC,CAAC;EAE9E;EACA,MAAMR,UAAU,GAAGD,eAAe,CAACY,KAAK,CAACE,KAAK,EAAEL,UAAU,CAAC;EAC3D,OAAOX,KAAK,CAACsB,YAAY,CAACR,KAAK,EAAAN,aAAA,KAAOL,UAAU,CAAE,CAAC;AACrD,CAAC,CAAC;AAEJ,eAAeM,cAAc"}
|
|
1
|
+
{"version":3,"file":"render-children.js","names":["React","CHILD_PROPS_TO_USE","buildChildProps","childProps","parentProps","propsToOverride","forEach","prop","_objectSpread","renderChildren","children","otherProps","Children","map","child","childrenElements","props","Array","isArray","length","nestedChildren","nestedChild","cloneElement"],"sources":["../../src/helpers/render-children.js"],"sourcesContent":["import React from 'react';\nimport { CHILD_PROPS_TO_USE } from '../constants';\n\nconst buildChildProps = (childProps, parentProps) => {\n const propsToOverride = {};\n CHILD_PROPS_TO_USE.forEach(prop => (propsToOverride[prop] = childProps[prop]));\n return { ...parentProps, ...propsToOverride };\n};\n\nconst renderChildren = (children, otherProps = {}) =>\n React.Children.map(children, child => {\n const childrenElements = child.props.children;\n if (Array.isArray(childrenElements) && childrenElements.length) {\n const [, nestedChildren] = child.props.children;\n return (\n Array.isArray(nestedChildren) &&\n nestedChildren.map(nestedChild => renderChildren(nestedChild, otherProps))\n );\n }\n const childProps = buildChildProps(child.props, otherProps);\n return React.cloneElement(child, { ...childProps });\n });\n\nexport default renderChildren;\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,kBAAkB,QAAQ,cAAc;AAEjD,MAAMC,eAAe,GAAGA,CAACC,UAAU,EAAEC,WAAW,KAAK;EACnD,MAAMC,eAAe,GAAG,CAAC,CAAC;EAC1BJ,kBAAkB,CAACK,OAAO,CAACC,IAAI,IAAKF,eAAe,CAACE,IAAI,CAAC,GAAGJ,UAAU,CAACI,IAAI,CAAE,CAAC;EAC9E,OAAAC,aAAA,CAAAA,aAAA,KAAYJ,WAAW,GAAKC,eAAe;AAC7C,CAAC;AAED,MAAMI,cAAc,GAAGA,CAACC,QAAQ,EAAEC,UAAU,GAAG,CAAC,CAAC,KAC/CX,KAAK,CAACY,QAAQ,CAACC,GAAG,CAACH,QAAQ,EAAEI,KAAK,IAAI;EACpC,MAAMC,gBAAgB,GAAGD,KAAK,CAACE,KAAK,CAACN,QAAQ;EAC7C,IAAIO,KAAK,CAACC,OAAO,CAACH,gBAAgB,CAAC,IAAIA,gBAAgB,CAACI,MAAM,EAAE;IAC9D,MAAM,GAAGC,cAAc,CAAC,GAAGN,KAAK,CAACE,KAAK,CAACN,QAAQ;IAC/C,OACEO,KAAK,CAACC,OAAO,CAACE,cAAc,CAAC,IAC7BA,cAAc,CAACP,GAAG,CAACQ,WAAW,IAAIZ,cAAc,CAACY,WAAW,EAAEV,UAAU,CAAC,CAAC;EAE9E;EACA,MAAMR,UAAU,GAAGD,eAAe,CAACY,KAAK,CAACE,KAAK,EAAEL,UAAU,CAAC;EAC3D,OAAOX,KAAK,CAACsB,YAAY,CAACR,KAAK,EAAAN,aAAA,KAAOL,UAAU,CAAE,CAAC;AACrD,CAAC,CAAC;AAEJ,eAAeM,cAAc","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"should-render-waypoint.js","names":["shouldRenderWaypoint","index","listLength","infiniteIndex","listTotal"],"sources":["../../src/helpers/should-render-waypoint.js"],"sourcesContent":["const shouldRenderWaypoint = (index = 0, listLength = 0, infiniteIndex = 1, listTotal = 1) =>\n !!(index === listLength - 3 && infiniteIndex !== listTotal);\n\nexport default shouldRenderWaypoint;\n"],"mappings":"AAAA,MAAMA,oBAAoB,GAAGA,CAACC,KAAK,GAAG,CAAC,EAAEC,UAAU,GAAG,CAAC,EAAEC,aAAa,GAAG,CAAC,EAAEC,SAAS,GAAG,CAAC,KACvF,CAAC,EAAEH,KAAK,KAAKC,UAAU,GAAG,CAAC,IAAIC,aAAa,KAAKC,SAAS,CAAC;AAE7D,eAAeJ,oBAAoB"}
|
|
1
|
+
{"version":3,"file":"should-render-waypoint.js","names":["shouldRenderWaypoint","index","listLength","infiniteIndex","listTotal"],"sources":["../../src/helpers/should-render-waypoint.js"],"sourcesContent":["const shouldRenderWaypoint = (index = 0, listLength = 0, infiniteIndex = 1, listTotal = 1) =>\n !!(index === listLength - 3 && infiniteIndex !== listTotal);\n\nexport default shouldRenderWaypoint;\n"],"mappings":"AAAA,MAAMA,oBAAoB,GAAGA,CAACC,KAAK,GAAG,CAAC,EAAEC,UAAU,GAAG,CAAC,EAAEC,aAAa,GAAG,CAAC,EAAEC,SAAS,GAAG,CAAC,KACvF,CAAC,EAAEH,KAAK,KAAKC,UAAU,GAAG,CAAC,IAAIC,aAAa,KAAKC,SAAS,CAAC;AAE7D,eAAeJ,oBAAoB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"should-return.js","names":["shouldReturn","args","filter","Boolean","length"],"sources":["../../src/helpers/should-return.js"],"sourcesContent":["const shouldReturn = (...args) => !!args.filter(Boolean).length;\n\nexport default shouldReturn;\n"],"mappings":"AAAA,MAAMA,YAAY,GAAGA,CAAC,GAAGC,IAAI,KAAK,CAAC,CAACA,IAAI,CAACC,MAAM,CAACC,OAAO,CAAC,CAACC,MAAM;AAE/D,eAAeJ,YAAY"}
|
|
1
|
+
{"version":3,"file":"should-return.js","names":["shouldReturn","args","filter","Boolean","length"],"sources":["../../src/helpers/should-return.js"],"sourcesContent":["const shouldReturn = (...args) => !!args.filter(Boolean).length;\n\nexport default shouldReturn;\n"],"mappings":"AAAA,MAAMA,YAAY,GAAGA,CAAC,GAAGC,IAAI,KAAK,CAAC,CAACA,IAAI,CAACC,MAAM,CAACC,OAAO,CAAC,CAACC,MAAM;AAE/D,eAAeJ,YAAY","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"should-show-property.js","names":["shouldShowProperty","isDisplayed","value"],"sources":["../../src/helpers/should-show-property.js"],"sourcesContent":["const shouldShowProperty = ({ isDisplayed, value }) => isDisplayed && !!value;\n\nexport default shouldShowProperty;\n"],"mappings":"AAAA,MAAMA,kBAAkB,GAAGA,CAAC;EAAEC,WAAW;EAAEC;AAAM,CAAC,KAAKD,WAAW,IAAI,CAAC,CAACC,KAAK;AAE7E,eAAeF,kBAAkB"}
|
|
1
|
+
{"version":3,"file":"should-show-property.js","names":["shouldShowProperty","isDisplayed","value"],"sources":["../../src/helpers/should-show-property.js"],"sourcesContent":["const shouldShowProperty = ({ isDisplayed, value }) => isDisplayed && !!value;\n\nexport default shouldShowProperty;\n"],"mappings":"AAAA,MAAMA,kBAAkB,GAAGA,CAAC;EAAEC,WAAW;EAAEC;AAAM,CAAC,KAAKD,WAAW,IAAI,CAAC,CAACC,KAAK;AAE7E,eAAeF,kBAAkB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"should-skip-single-query.js","names":["ID","shouldSkipSingleQuery","loading","getAction","queryProps"],"sources":["../../src/helpers/should-skip-single-query.js"],"sourcesContent":["import { ID } from '../constants';\n\nconst shouldSkipSingleQuery = (loading, getAction, queryProps) =>\n loading || !getAction || queryProps === ID;\n\nexport default shouldSkipSingleQuery;\n"],"mappings":"AAAA,SAASA,EAAE,QAAQ,cAAc;AAEjC,MAAMC,qBAAqB,GAAGA,CAACC,OAAO,EAAEC,SAAS,EAAEC,UAAU,KAC3DF,OAAO,IAAI,CAACC,SAAS,IAAIC,UAAU,KAAKJ,EAAE;AAE5C,eAAeC,qBAAqB"}
|
|
1
|
+
{"version":3,"file":"should-skip-single-query.js","names":["ID","shouldSkipSingleQuery","loading","getAction","queryProps"],"sources":["../../src/helpers/should-skip-single-query.js"],"sourcesContent":["import { ID } from '../constants';\n\nconst shouldSkipSingleQuery = (loading, getAction, queryProps) =>\n loading || !getAction || queryProps === ID;\n\nexport default shouldSkipSingleQuery;\n"],"mappings":"AAAA,SAASA,EAAE,QAAQ,cAAc;AAEjC,MAAMC,qBAAqB,GAAGA,CAACC,OAAO,EAAEC,SAAS,EAAEC,UAAU,KAC3DF,OAAO,IAAI,CAACC,SAAS,IAAIC,UAAU,KAAKJ,EAAE;AAE5C,eAAeC,qBAAqB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sort-response-data.js","names":["getItemsToDisplayIds","sortResponseData","data","itemsToDisplay","idsToDisplay","length","map","id","find","resultId","filter","Boolean"],"sources":["../../src/helpers/sort-response-data.js"],"sourcesContent":["import getItemsToDisplayIds from './get-items-to-display-ids';\n\nconst sortResponseData = (data = [], itemsToDisplay = []) => {\n const idsToDisplay = getItemsToDisplayIds(itemsToDisplay);\n if (!idsToDisplay.length) return data;\n return idsToDisplay.map(id => data.find(({ id: resultId }) => id === resultId)).filter(Boolean);\n};\n\nexport default sortResponseData;\n"],"mappings":"AAAA,OAAOA,oBAAoB,MAAM,4BAA4B;AAE7D,MAAMC,gBAAgB,GAAGA,CAACC,IAAI,GAAG,EAAE,EAAEC,cAAc,GAAG,EAAE,KAAK;EAC3D,MAAMC,YAAY,GAAGJ,oBAAoB,CAACG,cAAc,CAAC;EACzD,IAAI,CAACC,YAAY,CAACC,MAAM,EAAE,OAAOH,IAAI;EACrC,OAAOE,YAAY,CAACE,GAAG,CAACC,EAAE,IAAIL,IAAI,CAACM,IAAI,CAAC,CAAC;IAAED,EAAE,EAAEE;EAAS,CAAC,KAAKF,EAAE,KAAKE,QAAQ,CAAC,CAAC,CAACC,MAAM,CAACC,OAAO,CAAC;AACjG,CAAC;AAED,eAAeV,gBAAgB"}
|
|
1
|
+
{"version":3,"file":"sort-response-data.js","names":["getItemsToDisplayIds","sortResponseData","data","itemsToDisplay","idsToDisplay","length","map","id","find","resultId","filter","Boolean"],"sources":["../../src/helpers/sort-response-data.js"],"sourcesContent":["import getItemsToDisplayIds from './get-items-to-display-ids';\n\nconst sortResponseData = (data = [], itemsToDisplay = []) => {\n const idsToDisplay = getItemsToDisplayIds(itemsToDisplay);\n if (!idsToDisplay.length) return data;\n return idsToDisplay.map(id => data.find(({ id: resultId }) => id === resultId)).filter(Boolean);\n};\n\nexport default sortResponseData;\n"],"mappings":"AAAA,OAAOA,oBAAoB,MAAM,4BAA4B;AAE7D,MAAMC,gBAAgB,GAAGA,CAACC,IAAI,GAAG,EAAE,EAAEC,cAAc,GAAG,EAAE,KAAK;EAC3D,MAAMC,YAAY,GAAGJ,oBAAoB,CAACG,cAAc,CAAC;EACzD,IAAI,CAACC,YAAY,CAACC,MAAM,EAAE,OAAOH,IAAI;EACrC,OAAOE,YAAY,CAACE,GAAG,CAACC,EAAE,IAAIL,IAAI,CAACM,IAAI,CAAC,CAAC;IAAED,EAAE,EAAEE;EAAS,CAAC,KAAKF,EAAE,KAAKE,QAAQ,CAAC,CAAC,CAACC,MAAM,CAACC,OAAO,CAAC;AACjG,CAAC;AAED,eAAeV,gBAAgB","ignoreList":[]}
|