@blaze-cms/react-page-builder 0.127.0 → 0.128.0-admin-updates.3
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 +27 -0
- package/README.md +9 -0
- package/lib/BannerContext/helpers/index.js.map +1 -1
- package/lib/BannerContext/helpers/set-initial-banner-counters.js.map +1 -1
- package/lib/BannerContext/index.js.map +1 -1
- package/lib/HOC/index.js.map +1 -1
- package/lib/HOC/withInfiniteScroll.js +21 -23
- package/lib/HOC/withInfiniteScroll.js.map +1 -1
- package/lib/HOC/withTitle.js.map +1 -1
- package/lib/PBContext/index.js.map +1 -1
- package/lib/application/query/index.js +1 -5
- package/lib/application/query/index.js.map +1 -1
- package/lib/components/BackToTop/BackToTop.js.map +1 -1
- package/lib/components/BackToTop/index.js.map +1 -1
- 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.map +1 -1
- package/lib/components/Banner/helpers.js.map +1 -1
- package/lib/components/Banner/index.js.map +1 -1
- package/lib/components/BlazeLink.js.map +1 -1
- package/lib/components/Breadcrumb/Breadcrumb.js +11 -11
- package/lib/components/Breadcrumb/Breadcrumb.js.map +1 -1
- package/lib/components/Breadcrumb/index.js.map +1 -1
- package/lib/components/Button.js.map +1 -1
- package/lib/components/Card/Card.js +6 -3
- package/lib/components/Card/Card.js.map +1 -1
- package/lib/components/Card/{CardContainer.js → CardsContainer.js} +13 -11
- package/lib/components/Card/CardsContainer.js.map +1 -0
- package/lib/components/Card/{CardFactory.js → CardsFactory.js} +21 -14
- package/lib/components/Card/CardsFactory.js.map +1 -0
- package/lib/components/Card/{CardRender.js → CardsRender.js} +77 -72
- package/lib/components/Card/CardsRender.js.map +1 -0
- package/lib/components/Card/constants.js.map +1 -1
- package/lib/components/Card/helpers/filter-query-setup.js.map +1 -1
- package/lib/components/Card/helpers/filters-setup.js +6 -4
- package/lib/components/Card/helpers/filters-setup.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/get-updated-sort-properties.js +32 -0
- package/lib/components/Card/helpers/get-updated-sort-properties.js.map +1 -0
- package/lib/components/Card/helpers/index.js +7 -0
- package/lib/components/Card/helpers/index.js.map +1 -1
- package/lib/components/Card/helpers/should-return.js.map +1 -1
- package/lib/components/Card/helpers/should-skip-single-query.js.map +1 -1
- package/lib/components/Card/helpers/use-dynamic-size-key.js.map +1 -1
- package/lib/components/Card/index.js +2 -2
- 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/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/index.js.map +1 -1
- package/lib/components/CarouselWrapper.js.map +1 -1
- package/lib/components/ClickWrapper.js.map +1 -1
- package/lib/components/Code/Code.js.map +1 -1
- 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.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.map +1 -1
- package/lib/components/ContentGroup/constants.js.map +1 -1
- package/lib/components/ContentGroup/helpers/get-active-tab.js +1 -2
- package/lib/components/ContentGroup/helpers/get-active-tab.js.map +1 -1
- package/lib/components/ContentGroup/helpers/get-sections-data.js +9 -9
- 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 +4 -2
- package/lib/components/ContentGroupSection/ContentGroupSection.js.map +1 -1
- package/lib/components/ContentGroupSection/index.js.map +1 -1
- 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.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.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.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.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.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/TextSummary/index.js.map +1 -1
- package/lib/components/DataSummary/DataSummaryTypes/index.js.map +1 -1
- 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.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-to-published-content.js.map +1 -1
- package/lib/components/DataSummary/helpers/get-loop-props-limit.js.map +1 -1
- package/lib/components/DataSummary/helpers/get-prop-value.js.map +1 -1
- 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/EmailConfirm/EmailConfirm.js +4 -4
- 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 +51 -0
- package/lib/components/Iframe/Iframe.js.map +1 -0
- package/lib/components/Iframe/constants.js +15 -0
- package/lib/components/Iframe/constants.js.map +1 -0
- package/lib/components/Iframe/index.js +12 -0
- package/lib/components/Iframe/index.js.map +1 -0
- 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.map +1 -1
- package/lib/components/Image/Image.js.map +1 -1
- package/lib/components/Image/ImageDetails.js.map +1 -1
- package/lib/components/Image/ImageFactory.js +9 -9
- 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.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.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 +3 -3
- 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.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 +4 -4
- package/lib/components/Layout/Layout.js.map +1 -1
- package/lib/components/Layout/constants.js.map +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.map +1 -1
- package/lib/components/List/ListBuilder.js +34 -15
- package/lib/components/List/ListBuilder.js.map +1 -1
- package/lib/components/List/ListFactory.js +41 -42
- 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.map +1 -1
- package/lib/components/List/components/Cards/CardsRenderItem.js +4 -4
- package/lib/components/List/components/Cards/CardsRenderItem.js.map +1 -1
- 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.map +1 -1
- 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.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.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.map +1 -1
- 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.map +1 -1
- 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.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-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 +10 -10
- package/lib/components/List/helpers/sort-aggs.js.map +1 -1
- package/lib/components/List/index.js.map +1 -1
- 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/MenuItem.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/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/index.js.map +1 -1
- package/lib/components/SearchFilter/SearchFilter/CloseMobileForm.js.map +1 -1
- 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.map +1 -1
- package/lib/components/SearchFilter/SearchFilter/index.js.map +1 -1
- package/lib/components/SearchFilter/SearchFilterContainer.js +5 -5
- package/lib/components/SearchFilter/SearchFilterContainer.js.map +1 -1
- 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.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-filters-query.js.map +1 -1
- package/lib/components/SearchFilter/helpers/build-new-query.js.map +1 -1
- package/lib/components/SearchFilter/helpers/build-query.js.map +1 -1
- package/lib/components/SearchFilter/helpers/build-raw-query-stringified.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.map +1 -1
- package/lib/components/SearchFilter/helpers/get-filter-value-from-query.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/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/SearchFilterSort/SearchFilterSort.js +5 -5
- 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.map +1 -1
- package/lib/components/SearchFilterSort/helpers/index.js.map +1 -1
- 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.map +1 -1
- package/lib/components/Video/Video.js.map +1 -1
- package/lib/components/Video/VideoModal.js.map +1 -1
- package/lib/components/Video/VideoRender.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.map +1 -1
- package/lib/components/Video/providers/Vimeo/VimeoProvider.js +21 -23
- package/lib/components/Video/providers/Vimeo/VimeoProvider.js.map +1 -1
- 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.map +1 -1
- package/lib/components/Video/providers/YouTube/helpers/index.js.map +1 -1
- 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 +5 -0
- 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.map +1 -1
- package/lib/helpers/build-az-filter.js.map +1 -1
- package/lib/helpers/build-image-properties.js.map +1 -1
- 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 +10 -10
- package/lib/helpers/build-props-query.js.map +1 -1
- package/lib/helpers/build-query-fields.js +5 -2
- package/lib/helpers/build-query-fields.js.map +1 -1
- package/lib/helpers/build-raw-query-base.js +26 -11
- package/lib/helpers/build-raw-query-base.js.map +1 -1
- package/lib/helpers/build-raw-query.js.map +1 -1
- 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.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/get-banner-data.js.map +1 -1
- package/lib/helpers/get-click-wrapper-options.js +11 -11
- 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.map +1 -1
- package/lib/helpers/get-entity-data.js +5 -3
- 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.map +1 -1
- package/lib/helpers/get-generic-props.js.map +1 -1
- package/lib/helpers/get-generic-render-variables.js.map +1 -1
- package/lib/helpers/get-image-ids.js.map +1 -1
- package/lib/helpers/get-inherited-filters.js.map +1 -1
- package/lib/helpers/get-items-to-display-ids.js.map +1 -1
- 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.map +1 -1
- package/lib/helpers/get-parsed-summary-value.js.map +1 -1
- 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.map +1 -1
- 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 +4 -4
- package/lib/helpers/get-search-filter-type.js.map +1 -1
- package/lib/helpers/get-sort-by-field-name.js.map +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-wrapped-value-with-link.js.map +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.map +1 -1
- 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.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.map +1 -1
- package/lib/helpers/parse-interval.js.map +1 -1
- package/lib/helpers/parse-props-to-display.js.map +1 -1
- package/lib/helpers/remove-extra-items.js.map +1 -1
- package/lib/helpers/remove-unwanted-characters.js.map +1 -1
- package/lib/helpers/render-children.js.map +1 -1
- package/lib/helpers/should-render-waypoint.js.map +1 -1
- package/lib/helpers/should-show-property.js.map +1 -1
- package/lib/helpers/sort-response-data.js.map +1 -1
- package/lib/helpers/split-children.js +14 -14
- package/lib/helpers/split-children.js.map +1 -1
- package/lib/helpers/update-childrens-parent.js.map +1 -1
- package/lib/hooks/helpers/RenderComponent.js.map +1 -1
- package/lib/hooks/helpers/StoreImages.js.map +1 -1
- package/lib/hooks/helpers/append-gtm-classname.js.map +1 -1
- package/lib/hooks/helpers/buildPBComponents.js +3 -3
- 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.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-banners-by-type.js.map +1 -1
- package/lib/hooks/helpers/get-lightbox-images.js.map +1 -1
- package/lib/hooks/helpers/getComponent.js.map +1 -1
- package/lib/hooks/helpers/index.js.map +1 -1
- package/lib/hooks/helpers/inject-element-banners.js.map +1 -1
- package/lib/hooks/helpers/inject-textblock-banners.js +3 -3
- package/lib/hooks/helpers/inject-textblock-banners.js.map +1 -1
- 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-banner-insertion.js.map +1 -1
- package/lib/hooks/use-check-mobile-screen.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.map +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 +7 -9
- package/lib/hooks/use-page-builder.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/utils/component-map.js.map +1 -1
- 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-es/BannerContext/index.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/application/query/index.js +1 -32
- package/lib-es/application/query/index.js.map +1 -1
- package/lib-es/components/BackToTop/BackToTop.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/BlazeLink.js.map +1 -1
- package/lib-es/components/Breadcrumb/Breadcrumb.js.map +1 -1
- package/lib-es/components/Button.js.map +1 -1
- package/lib-es/components/Card/Card.js +7 -4
- package/lib-es/components/Card/Card.js.map +1 -1
- package/lib-es/components/Card/{CardContainer.js → CardsContainer.js} +13 -11
- package/lib-es/components/Card/CardsContainer.js.map +1 -0
- package/lib-es/components/Card/{CardFactory.js → CardsFactory.js} +21 -14
- package/lib-es/components/Card/CardsFactory.js.map +1 -0
- package/lib-es/components/Card/{CardRender.js → CardsRender.js} +57 -57
- package/lib-es/components/Card/CardsRender.js.map +1 -0
- package/lib-es/components/Card/helpers/filter-query-setup.js.map +1 -1
- package/lib-es/components/Card/helpers/filters-setup.js +4 -4
- package/lib-es/components/Card/helpers/filters-setup.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-updated-sort-properties.js +15 -0
- package/lib-es/components/Card/helpers/get-updated-sort-properties.js.map +1 -0
- package/lib-es/components/Card/helpers/index.js +1 -0
- package/lib-es/components/Card/helpers/index.js.map +1 -1
- package/lib-es/components/Card/helpers/should-return.js.map +1 -1
- package/lib-es/components/Card/helpers/should-skip-single-query.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 +2 -2
- 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/CarouselRender/CarouselRender.js.map +1 -1
- package/lib-es/components/CarouselWrapper.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/wrap-script-tags.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/helpers/get-active-tab.js +1 -2
- package/lib-es/components/ContentGroup/helpers/get-active-tab.js.map +1 -1
- package/lib-es/components/ContentGroup/helpers/get-sections-data.js +1 -1
- package/lib-es/components/ContentGroup/helpers/get-sections-data.js.map +1 -1
- package/lib-es/components/ContentGroupSection/ContentGroupSection.js +4 -2
- package/lib-es/components/ContentGroupSection/ContentGroupSection.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/ItemDetailsSummary/ItemDetailsSummary.js.map +1 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummaryContent.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/ListSummary/ListSummary.js.map +1 -1
- package/lib-es/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.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/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-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/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/EmailConfirm/EmailConfirm.js.map +1 -1
- package/lib-es/components/Iframe/Iframe.js +42 -0
- package/lib-es/components/Iframe/Iframe.js.map +1 -0
- package/lib-es/components/Iframe/constants.js +7 -0
- package/lib-es/components/Iframe/constants.js.map +1 -0
- package/lib-es/components/Iframe/index.js +3 -0
- package/lib-es/components/Iframe/index.js.map +1 -0
- 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/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/ItemList/ItemListButton/ItemListButton.js.map +1 -1
- package/lib-es/components/ItemList/ItemListCounter/ItemListCounter.js.map +1 -1
- package/lib-es/components/ItemList/ItemListNew/ItemListNew.js.map +1 -1
- package/lib-es/components/ItemList/helpers/get-item-list-id.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/use-item-list-id.js.map +1 -1
- package/lib-es/components/Layout/Layout.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/LazyImage/LazyImage.js.map +1 -1
- package/lib-es/components/List/ListBuilder.js +25 -15
- package/lib-es/components/List/ListBuilder.js.map +1 -1
- package/lib-es/components/List/ListFactory.js +21 -24
- 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/CardsRender.js.map +1 -1
- package/lib-es/components/List/components/Cards/CardsRenderItem.js +4 -4
- 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/Full/FullRender.js.map +1 -1
- package/lib-es/components/List/components/Full/FullRenderItem.js.map +1 -1
- package/lib-es/components/List/components/Header/ListHeader.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/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/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/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-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/Menu/Menu.js.map +1 -1
- package/lib-es/components/MenuItem/MenuItem.js.map +1 -1
- package/lib-es/components/Modal/Modal.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/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/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/helpers/build-filters-query.js.map +1 -1
- package/lib-es/components/SearchFilter/helpers/build-new-query.js.map +1 -1
- package/lib-es/components/SearchFilter/helpers/build-query.js.map +1 -1
- package/lib-es/components/SearchFilter/helpers/build-raw-query-stringified.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/get-display-value.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-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/is-device-desktop.js.map +1 -1
- package/lib-es/components/SearchFilter/helpers/parse-filter-value.js.map +1 -1
- package/lib-es/components/SearchFilterSort/SearchFilterSort.js.map +1 -1
- package/lib-es/components/SearchFilterSort/helpers/handle-sort-update.js.map +1 -1
- package/lib-es/components/SearchFilterSort/helpers/update-sort.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/SubMenu/SubMenu.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/VideoModal.js.map +1 -1
- package/lib-es/components/Video/VideoRender.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/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/Wrapper.js.map +1 -1
- package/lib-es/components/index.js +2 -1
- package/lib-es/components/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-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 +7 -11
- package/lib-es/helpers/build-props-query.js.map +1 -1
- package/lib-es/helpers/build-query-fields.js +3 -2
- package/lib-es/helpers/build-query-fields.js.map +1 -1
- package/lib-es/helpers/build-raw-query-base.js +17 -5
- package/lib-es/helpers/build-raw-query-base.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/check-for-error.js.map +1 -1
- package/lib-es/helpers/check-props-to-use.js.map +1 -1
- package/lib-es/helpers/get-banner-data.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-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 +2 -0
- 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-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-updated-filter-by.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/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-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/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-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/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-show-property.js.map +1 -1
- package/lib-es/helpers/sort-response-data.js.map +1 -1
- package/lib-es/helpers/split-children.js +2 -2
- 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-collisions.js.map +1 -1
- package/lib-es/hooks/helpers/get-banner-index.js.map +1 -1
- package/lib-es/hooks/helpers/get-banners-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/inject-element-banners.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/use-check-mobile-screen.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/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/is-object-empty.js.map +1 -1
- package/package.json +10 -9
- package/src/application/query/index.js +0 -33
- package/src/components/Card/Card.js +5 -2
- package/src/components/Card/{CardContainer.js → CardsContainer.js} +11 -9
- package/src/components/Card/{CardFactory.js → CardsFactory.js} +23 -11
- package/src/components/Card/{CardRender.js → CardsRender.js} +84 -58
- package/src/components/Card/helpers/filters-setup.js +4 -4
- package/src/components/Card/helpers/get-updated-sort-properties.js +14 -0
- package/src/components/Card/helpers/index.js +1 -0
- package/src/components/Card/index.js +2 -2
- package/src/components/ContentGroup/helpers/get-active-tab.js +1 -2
- package/src/components/ContentGroup/helpers/get-sections-data.js +1 -1
- package/src/components/ContentGroupSection/ContentGroupSection.js +3 -2
- package/src/components/Iframe/Iframe.js +36 -0
- package/src/components/Iframe/constants.js +4 -0
- package/src/components/Iframe/index.js +3 -0
- package/src/components/List/ListBuilder.js +22 -11
- package/src/components/List/ListFactory.js +20 -37
- package/src/components/List/components/Cards/CardsRenderItem.js +4 -4
- package/src/components/index.js +2 -1
- package/src/helpers/build-props-query.js +7 -8
- package/src/helpers/build-query-fields.js +5 -2
- package/src/helpers/build-raw-query-base.js +20 -9
- package/src/helpers/get-entity-data.js +2 -2
- package/src/helpers/split-children.js +2 -2
- package/tests/helpers/mocks.js +144 -266
- package/tests/unit/src/HOC/withInfiniteScroll.test.js +3 -0
- package/tests/unit/src/HOC/withTitle.test.js +5 -2
- package/tests/unit/src/Layout/Layout.test.js +4 -2
- package/tests/unit/src/Layout/getMockedProps.js +3 -0
- package/tests/unit/src/Layout/helpers/check-if-row-has-columns.test.js +4 -1
- package/tests/unit/src/Layout/helpers/get-styles-to-update.test.js +1 -1
- package/tests/unit/src/Layout/helpers/has-children.test.js +4 -1
- package/tests/unit/src/components/BackToTop/BackToTop.test.js +3 -0
- package/tests/unit/src/components/Banner/AdSlotRender.test.js +3 -0
- package/tests/unit/src/components/Banner/Banner.test.js +3 -0
- package/tests/unit/src/components/Banner/BannerRender.test.js +3 -0
- package/tests/unit/src/components/BlazeLink.test.js +3 -0
- package/tests/unit/src/components/Breadcrumb/Breadcrumb.test.js +3 -0
- package/tests/unit/src/components/Button.test.js +3 -0
- package/tests/unit/src/components/Card/Card.test.js +7 -1
- package/tests/unit/src/components/Card/CardContainer.test.js +19 -8
- package/tests/unit/src/components/Card/__snapshots__/CardContainer.test.js.snap +2 -2
- package/tests/unit/src/components/Card/helpers/append-images.test.js +1 -1
- package/tests/unit/src/components/Card/helpers/get-dynamic-grid-classes.test.js +1 -1
- package/tests/unit/src/components/Card/helpers/getPublishedListingUrl.test.js +1 -1
- package/tests/unit/src/components/Card/helpers/useDynamicSizeKey.test.js +1 -1
- package/tests/unit/src/components/Card/mockData.js +99 -6
- package/tests/unit/src/components/Carousel/Carousel.test.js +3 -0
- package/tests/unit/src/components/Carousel/CarouselImage/CarouselImage.test.js +4 -2
- package/tests/unit/src/components/Carousel/CarouselRender/CarouselRender.test.js +3 -0
- package/tests/unit/src/components/CarouselWrapper.test.js +3 -0
- package/tests/unit/src/components/ClickWrapper.test.js +3 -0
- package/tests/unit/src/components/Code/Code.test.js +3 -0
- package/tests/unit/src/components/Code/ScriptTag.test.js +3 -0
- package/tests/unit/src/components/Code/helpers/wrap-script-tags.test.js +1 -1
- package/tests/unit/src/components/Code.test.js +3 -0
- package/tests/unit/src/components/ContentGroup/ContentGroup.test.js +3 -0
- package/tests/unit/src/components/ContentGroup/ContentGroupTabs.test.js +3 -0
- package/tests/unit/src/components/ContentGroup/helpers/get-active-tab.test.js +10 -1
- package/tests/unit/src/components/ContentGroup/helpers/get-sections-data.test.js +16 -0
- package/tests/unit/src/components/ContentGroupSection/ContentGroupSection.test.js +3 -0
- package/tests/unit/src/components/DataSummary/DataSummaryFactory.test.js +3 -0
- package/tests/unit/src/components/DataSummary/DataSummaryRender.test.js +3 -0
- package/tests/unit/src/components/DataSummary/DataSummaryTypes/HeadingLargeSummary.test.js +3 -0
- package/tests/unit/src/components/DataSummary/DataSummaryTypes/ItemDetailsSummary.test.js +3 -0
- package/tests/unit/src/components/DataSummary/DataSummaryTypes/LargeSummary.test.js +3 -0
- package/tests/unit/src/components/DataSummary/DataSummaryTypes/ListSummary.test.js +3 -0
- package/tests/unit/src/components/DataSummary/DataSummaryTypes/TextSummary.test.js +3 -0
- package/tests/unit/src/components/DataSummary/helpers/build-loop-props-content.test.js +1 -1
- package/tests/unit/src/components/DataSummary/helpers/build-props-to-display-with-content.test.js +1 -1
- package/tests/unit/src/components/DataSummary/helpers/get-data-summary-query.test.js +1 -1
- package/tests/unit/src/components/DataSummary/helpers/get-link-based-on-value.test.js +2 -2
- package/tests/unit/src/components/DataSummary/helpers/get-link-to-published-content.test.js +1 -1
- package/tests/unit/src/components/DataSummary/helpers/parse-boolean-values.test.js +1 -1
- package/tests/unit/src/components/EmailConfirm/EmailConfirm.test.js +3 -0
- package/tests/unit/src/components/Iframe/Iframe.test.js +21 -0
- package/tests/unit/src/components/Iframe/__snapshots__/Iframe.test.js.snap +21 -0
- package/tests/unit/src/components/Image/GlobalLightbox/GlobalLightbox.test.js +5 -1
- package/tests/unit/src/components/Image/GlobalLightbox/NavButton.test.js +3 -0
- package/tests/unit/src/components/Image/Image.test.js +3 -0
- package/tests/unit/src/components/Image/ImageDetails.test.js +3 -0
- package/tests/unit/src/components/Image/ImageFactory.test.js +3 -0
- package/tests/unit/src/components/Image/ImageRender.test.js +3 -0
- package/tests/unit/src/components/Image/Lightbox/Lightbox.test.js +3 -0
- package/tests/unit/src/components/ItemList/ItemListButton.test.js +3 -0
- package/tests/unit/src/components/ItemList/ItemListCounter.test.js +3 -0
- package/tests/unit/src/components/ItemList/ItemListNew.test.js +3 -0
- package/tests/unit/src/components/ItemList/helpers/set-item-list-id.test.js +3 -0
- package/tests/unit/src/components/ItemList/hooks/use-item-list-id.test.js +3 -0
- package/tests/unit/src/components/Layout/Layout.test.js +3 -0
- package/tests/unit/src/components/LazyImage/LazyImage.test.js +3 -0
- package/tests/unit/src/components/List/ListRender.test.js +3 -0
- package/tests/unit/src/components/List/components/Cards/CardsRender.test.js +3 -0
- package/tests/unit/src/components/List/components/Cards/CardsRenderItem.test.js +3 -0
- package/tests/unit/src/components/List/components/Cards/CardsRenderWrapper.test.js +3 -0
- package/tests/unit/src/components/List/components/Cards/helpers/check-if-should-render-gtm.test.js +1 -1
- package/tests/unit/src/components/List/components/Full/FullRender.test.js +3 -0
- package/tests/unit/src/components/List/components/Full/FullRenderItem.test.js +3 -0
- package/tests/unit/src/components/List/components/Header/ListHeader.test.js +3 -0
- package/tests/unit/src/components/List/components/Pagination/Classic.test.js +3 -0
- package/tests/unit/src/components/List/components/Pagination/ListPagination.test.js +3 -0
- package/tests/unit/src/components/List/components/Pagination/LoadMore.test.js +3 -0
- package/tests/unit/src/components/List/components/mocks.js +4 -1
- package/tests/unit/src/components/Menu/Menu.test.js +3 -0
- package/tests/unit/src/components/MenuItem/MenuItem.test.js +3 -0
- package/tests/unit/src/components/MenuItem/SubMenu.test.js +3 -0
- package/tests/unit/src/components/Modal/Modal.test.js +3 -0
- package/tests/unit/src/components/SearchContent/SearchContent.test.js +3 -0
- package/tests/unit/src/components/SearchFilter/SearchFilter/CloseMobileForm.test.js +3 -0
- package/tests/unit/src/components/SearchFilter/SearchFilter/MobileFormToolbar.test.js +3 -0
- package/tests/unit/src/components/SearchFilter/SearchFilter/ResetDesktopForm.test.js +3 -0
- package/tests/unit/src/components/SearchFilter/SearchFilter/SearchFilter.test.js +3 -0
- package/tests/unit/src/components/SearchFilter/SearchFilterContainer.test.js +3 -0
- package/tests/unit/src/components/SearchFilter/components/Checkbox.test.js +3 -0
- package/tests/unit/src/components/SearchFilter/components/Range.test.js +3 -0
- package/tests/unit/src/components/SearchFilter/components/Select.test.js +3 -0
- package/tests/unit/src/components/SearchFilter/components/TextSearch.test.js +3 -0
- package/tests/unit/src/components/SearchFilter/helpers/build-new-query.test.js +1 -1
- package/tests/unit/src/components/SearchFilter/helpers/build-raw-query-stringified.test.js +1 -1
- package/tests/unit/src/components/SearchFilter/helpers/calculate-min-max.test.js +1 -1
- package/tests/unit/src/components/SearchFilter/helpers/calculate-step.test.js +1 -1
- package/tests/unit/src/components/SearchFilter/helpers/check-if-range-updated.test.js +4 -1
- package/tests/unit/src/components/SearchFilter/helpers/get-display-value.test.js +1 -1
- package/tests/unit/src/components/SearchFilter/helpers/get-intersected-prop.test.js +1 -1
- package/tests/unit/src/components/SearchFilter/helpers/get-range-value.test.js +1 -1
- package/tests/unit/src/components/SearchFilter/helpers/get-select-options.test.js +1 -1
- package/tests/unit/src/components/SearchFilter/helpers/is-device-desktop.test.js +4 -2
- package/tests/unit/src/components/SearchFilterSort/SearchFilterSort.test.js +3 -0
- package/tests/unit/src/components/SocialFollow/SFItem.test.js +3 -0
- package/tests/unit/src/components/SocialFollow/SocialFollow.test.js +3 -0
- package/tests/unit/src/components/TextBlock/TextBlock.test.js +3 -0
- package/tests/unit/src/components/Video/Video.test.js +3 -0
- package/tests/unit/src/components/Video/VideoModal.test.js +3 -0
- package/tests/unit/src/components/Video/providers/Default.test.js +3 -0
- package/tests/unit/src/components/Video/providers/JWPlayer/JWPlayerProvider.test.js +3 -0
- package/tests/unit/src/components/Video/providers/Vimeo/Vimeo.test.js +3 -0
- package/tests/unit/src/components/Video/providers/Vimeo/helpers/add-extra-params-to-url.test.js +1 -1
- package/tests/unit/src/components/Video/providers/YouTube/YouTubeProvider.test.js +3 -0
- package/tests/unit/src/components/Wrapper.test.js +3 -0
- package/tests/unit/src/components/__snapshots__/index.test.js.snap +4 -0
- package/tests/unit/src/helpers/__snapshots__/build-query-fields.test.js.snap +29 -0
- package/tests/unit/src/helpers/build-image-properties.test.js +1 -1
- package/tests/unit/src/helpers/build-inherited-filters.test.js +1 -1
- package/tests/unit/src/helpers/build-link-extra-props.test.js +1 -1
- package/tests/unit/src/helpers/build-props-query.test.js +1 -5
- package/tests/unit/src/helpers/build-query-fields.test.js +4 -31
- package/tests/unit/src/helpers/build-raw-query-base.test.js +7 -5
- package/tests/unit/src/helpers/build-raw-query.test.js +11 -1
- package/tests/unit/src/helpers/build-search-values-checkbox-select.test.js +1 -1
- package/tests/unit/src/helpers/build-search-values-text.test.js +1 -1
- package/tests/unit/src/helpers/build-set-filters.test.js +1 -1
- package/tests/unit/src/helpers/check-for-error.test.js +1 -1
- package/tests/unit/src/helpers/check-props-to-use.test.js +1 -1
- package/tests/unit/src/helpers/get-click-wrapper-options.test.js +1 -1
- package/tests/unit/src/helpers/get-current-offset.test.js +1 -1
- package/tests/unit/src/helpers/get-display-count-data.test.js +1 -1
- package/tests/unit/src/helpers/get-elasticsearch-operator.test.js +1 -1
- package/tests/unit/src/helpers/get-entity-data.test.js +1 -1
- package/tests/unit/src/helpers/get-entity-render-props.test.js +1 -1
- package/tests/unit/src/helpers/get-generic-props.test.js +1 -1
- package/tests/unit/src/helpers/get-generic-render-variables.test.js +1 -1
- package/tests/unit/src/helpers/get-image-ids.test.js +1 -1
- package/tests/unit/src/helpers/get-inherited-filters.test.js +1 -1
- package/tests/unit/src/helpers/get-not-equal-query.test.js +1 -1
- package/tests/unit/src/helpers/get-pagination-index.test.js +1 -1
- package/tests/unit/src/helpers/get-parsed-prop-values.test.js +3 -0
- package/tests/unit/src/helpers/get-parsed-summary-value.test.js +1 -1
- package/tests/unit/src/helpers/get-query-filters.test.js +1 -1
- package/tests/unit/src/helpers/get-query-props.test.js +1 -1
- package/tests/unit/src/helpers/get-required-schemas.test.js +1 -1
- package/tests/unit/src/helpers/get-search-filter-type.test.js +1 -1
- package/tests/unit/src/helpers/get-unpublished-entity-name.test.js +1 -1
- package/tests/unit/src/helpers/get-updated-filter-by.test.js +1 -1
- package/tests/unit/src/helpers/get-wrapped-value-with-link.test.js +1 -1
- package/tests/unit/src/helpers/inject-banner.test.js +3 -0
- package/tests/unit/src/helpers/is-filter-entitys-id.test.js +1 -1
- package/tests/unit/src/helpers/is-object.test.js +1 -1
- package/tests/unit/src/helpers/is-using-relation-image.test.js +1 -1
- package/tests/unit/src/helpers/parse-props-to-display.test.js +1 -1
- package/tests/unit/src/helpers/parse-textBlock.test.js +4 -1
- package/tests/unit/src/helpers/remove-extra-items.test.js +1 -1
- package/tests/unit/src/helpers/remove-unwanted-characters.test.js +1 -1
- package/tests/unit/src/helpers/render-children.test.js +4 -1
- package/tests/unit/src/helpers/should-render-waypoint.test.js +1 -1
- package/tests/unit/src/helpers/should-show-property.test.js +1 -1
- package/tests/unit/src/helpers/sort-response-data.test.js +1 -1
- package/tests/unit/src/helpers/update-childrens-parent.test.js +1 -1
- package/tests/unit/src/hooks/helpers/StoreImages.test.js +1 -1
- package/tests/unit/src/hooks/helpers/getComponent.test.js +3 -0
- package/tests/unit/src/hooks/helpers/inject-textblock-banners.test.js +1 -1
- package/tests/unit/src/hooks/helpers/split-children.test.js +9 -8
- package/tests/unit/src/hooks/use-check-mobile-screen.test.js +3 -0
- package/tests/unit/src/hooks/use-get-image-id-from-relation.test.js +5 -1
- package/tests/unit/src/hooks/use-get-images.test.js +3 -0
- package/tests/unit/src/hooks/use-get-single-entity-schema.test.js +4 -1
- package/tests/unit/src/hooks/use-page-builder.test.js +3 -0
- package/tests/unit/src/utils/component-map.test.js +3 -0
- package/tests/unit/src/utils/get-image-data.test.js +0 -1
- package/tests/unit/src/utils/get-props-to-display-modifiers.test.js +0 -1
- package/lib/components/Card/CardContainer.js.map +0 -1
- package/lib/components/Card/CardFactory.js.map +0 -1
- package/lib/components/Card/CardRender.js.map +0 -1
- package/lib-es/components/Card/CardContainer.js.map +0 -1
- package/lib-es/components/Card/CardFactory.js.map +0 -1
- package/lib-es/components/Card/CardRender.js.map +0 -1
- package/tests/unit/src/components/Card/CardRender.test.js +0 -74
- package/tests/unit/src/components/Card/__snapshots__/CardRender.test.js.snap +0 -55
package/tests/helpers/mocks.js
CHANGED
|
@@ -873,7 +873,7 @@ const CARD_RENDER_SEARCH_PUBLISHED_MOCK = [
|
|
|
873
873
|
offset: 0,
|
|
874
874
|
sort: '',
|
|
875
875
|
rawQueryStringified:
|
|
876
|
-
'{"bool":{"filter":{"bool":{"must":[{"term":{"docType":"published_page"}}]}}}}'
|
|
876
|
+
'{"bool":{"filter":{"bool":{"must":[{"term":{"docType":["published_page"]}}]}}}}'
|
|
877
877
|
}
|
|
878
878
|
},
|
|
879
879
|
result: {
|
|
@@ -1255,7 +1255,6 @@ const MOCKED_ALL_FILTERS_INCLUDING_TEXT = {
|
|
|
1255
1255
|
{ propsToDisplay: ['name', 'metaTitle'], type: TEXT_SEARCH_STRING }
|
|
1256
1256
|
]
|
|
1257
1257
|
};
|
|
1258
|
-
|
|
1259
1258
|
const RAW_QUERY_ONLY_TEXT_SEARCH = {
|
|
1260
1259
|
bool: {
|
|
1261
1260
|
must: [
|
|
@@ -1263,9 +1262,7 @@ const RAW_QUERY_ONLY_TEXT_SEARCH = {
|
|
|
1263
1262
|
bool: {
|
|
1264
1263
|
must: [
|
|
1265
1264
|
{
|
|
1266
|
-
bool: {
|
|
1267
|
-
should: [{ match: { name: 'search' } }, { match: { metaTitle: 'search' } }]
|
|
1268
|
-
}
|
|
1265
|
+
bool: { should: [{ match: { name: 'search' } }, { match: { metaTitle: 'search' } }] }
|
|
1269
1266
|
}
|
|
1270
1267
|
]
|
|
1271
1268
|
}
|
|
@@ -1273,22 +1270,12 @@ const RAW_QUERY_ONLY_TEXT_SEARCH = {
|
|
|
1273
1270
|
],
|
|
1274
1271
|
filter: {
|
|
1275
1272
|
bool: {
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
docType: 'published_page'
|
|
1280
|
-
}
|
|
1281
|
-
}
|
|
1282
|
-
]
|
|
1273
|
+
should: [{ match: { docType: 'published_page' } }],
|
|
1274
|
+
minimum_should_match: 1,
|
|
1275
|
+
must: []
|
|
1283
1276
|
}
|
|
1284
1277
|
},
|
|
1285
|
-
must_not: [
|
|
1286
|
-
{
|
|
1287
|
-
ids: {
|
|
1288
|
-
values: ['itemId']
|
|
1289
|
-
}
|
|
1290
|
-
}
|
|
1291
|
-
]
|
|
1278
|
+
must_not: [{ ids: { values: ['itemId'] } }]
|
|
1292
1279
|
}
|
|
1293
1280
|
};
|
|
1294
1281
|
|
|
@@ -1307,22 +1294,12 @@ const RAW_QUERY_CHECKBOX_SELECT = {
|
|
|
1307
1294
|
],
|
|
1308
1295
|
filter: {
|
|
1309
1296
|
bool: {
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
docType: 'published_page'
|
|
1314
|
-
}
|
|
1315
|
-
}
|
|
1316
|
-
]
|
|
1297
|
+
should: [{ match: { docType: 'published_page' } }],
|
|
1298
|
+
minimum_should_match: 1,
|
|
1299
|
+
must: []
|
|
1317
1300
|
}
|
|
1318
1301
|
},
|
|
1319
|
-
must_not: [
|
|
1320
|
-
{
|
|
1321
|
-
ids: {
|
|
1322
|
-
values: ['itemId']
|
|
1323
|
-
}
|
|
1324
|
-
}
|
|
1325
|
-
]
|
|
1302
|
+
must_not: [{ ids: { values: ['itemId'] } }]
|
|
1326
1303
|
}
|
|
1327
1304
|
};
|
|
1328
1305
|
|
|
@@ -1334,33 +1311,19 @@ const RAW_QUERY_CHECKBOX_SELECT_CHECKBOX_HAS_OR_OPERATOR = {
|
|
|
1334
1311
|
must: [
|
|
1335
1312
|
{ match: { metaDescription: 'test' } },
|
|
1336
1313
|
{ match: { category: 'cat' } },
|
|
1337
|
-
{
|
|
1338
|
-
bool: {
|
|
1339
|
-
should: [{ match: { name: 'someName' } }, { match: { name: 'another' } }]
|
|
1340
|
-
}
|
|
1341
|
-
}
|
|
1314
|
+
{ bool: { should: [{ match: { name: 'someName' } }, { match: { name: 'another' } }] } }
|
|
1342
1315
|
]
|
|
1343
1316
|
}
|
|
1344
1317
|
}
|
|
1345
1318
|
],
|
|
1346
1319
|
filter: {
|
|
1347
1320
|
bool: {
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
docType: 'published_page'
|
|
1352
|
-
}
|
|
1353
|
-
}
|
|
1354
|
-
]
|
|
1321
|
+
should: [{ match: { docType: 'published_page' } }],
|
|
1322
|
+
minimum_should_match: 1,
|
|
1323
|
+
must: []
|
|
1355
1324
|
}
|
|
1356
1325
|
},
|
|
1357
|
-
must_not: [
|
|
1358
|
-
{
|
|
1359
|
-
ids: {
|
|
1360
|
-
values: ['itemId']
|
|
1361
|
-
}
|
|
1362
|
-
}
|
|
1363
|
-
]
|
|
1326
|
+
must_not: [{ ids: { values: ['itemId'] } }]
|
|
1364
1327
|
}
|
|
1365
1328
|
};
|
|
1366
1329
|
|
|
@@ -1380,22 +1343,12 @@ const RAW_QUERY_ALL_SEARCH_VALUE_SAME_OPERATOR = {
|
|
|
1380
1343
|
],
|
|
1381
1344
|
filter: {
|
|
1382
1345
|
bool: {
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
docType: 'published_page'
|
|
1387
|
-
}
|
|
1388
|
-
}
|
|
1389
|
-
]
|
|
1346
|
+
should: [{ match: { docType: 'published_page' } }],
|
|
1347
|
+
minimum_should_match: 1,
|
|
1348
|
+
must: []
|
|
1390
1349
|
}
|
|
1391
1350
|
},
|
|
1392
|
-
must_not: [
|
|
1393
|
-
{
|
|
1394
|
-
ids: {
|
|
1395
|
-
values: ['itemId']
|
|
1396
|
-
}
|
|
1397
|
-
}
|
|
1398
|
-
]
|
|
1351
|
+
must_not: [{ ids: { values: ['itemId'] } }]
|
|
1399
1352
|
}
|
|
1400
1353
|
};
|
|
1401
1354
|
|
|
@@ -1408,9 +1361,7 @@ const RAW_QUERY_ALL_SEARCH_VALUE_DIFFERENT_OPERATOR = {
|
|
|
1408
1361
|
{ match: { metaDescription: 'test' } },
|
|
1409
1362
|
{ match: { category: 'cat' } },
|
|
1410
1363
|
{
|
|
1411
|
-
bool: {
|
|
1412
|
-
should: [{ match: { name: 'search' } }, { match: { metaTitle: 'search' } }]
|
|
1413
|
-
}
|
|
1364
|
+
bool: { should: [{ match: { name: 'search' } }, { match: { metaTitle: 'search' } }] }
|
|
1414
1365
|
}
|
|
1415
1366
|
]
|
|
1416
1367
|
}
|
|
@@ -1418,22 +1369,12 @@ const RAW_QUERY_ALL_SEARCH_VALUE_DIFFERENT_OPERATOR = {
|
|
|
1418
1369
|
],
|
|
1419
1370
|
filter: {
|
|
1420
1371
|
bool: {
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
docType: 'published_page'
|
|
1425
|
-
}
|
|
1426
|
-
}
|
|
1427
|
-
]
|
|
1372
|
+
should: [{ match: { docType: 'published_page' } }],
|
|
1373
|
+
minimum_should_match: 1,
|
|
1374
|
+
must: []
|
|
1428
1375
|
}
|
|
1429
1376
|
},
|
|
1430
|
-
must_not: [
|
|
1431
|
-
{
|
|
1432
|
-
ids: {
|
|
1433
|
-
values: ['itemId']
|
|
1434
|
-
}
|
|
1435
|
-
}
|
|
1436
|
-
]
|
|
1377
|
+
must_not: [{ ids: { values: ['itemId'] } }]
|
|
1437
1378
|
}
|
|
1438
1379
|
};
|
|
1439
1380
|
|
|
@@ -1447,33 +1388,19 @@ const RAW_QUERY_ALL_SEARCH_VALUE_SAME_OPERATOR_TEXT_CHECKBOX_HAS_OR_OPERATOR = {
|
|
|
1447
1388
|
{ match: { metaTitle: 'search' } },
|
|
1448
1389
|
{ match: { metaDescription: 'test' } },
|
|
1449
1390
|
{ match: { category: 'cat' } },
|
|
1450
|
-
{
|
|
1451
|
-
bool: {
|
|
1452
|
-
should: [{ match: { name: 'someName' } }, { match: { name: 'another' } }]
|
|
1453
|
-
}
|
|
1454
|
-
}
|
|
1391
|
+
{ bool: { should: [{ match: { name: 'someName' } }, { match: { name: 'another' } }] } }
|
|
1455
1392
|
]
|
|
1456
1393
|
}
|
|
1457
1394
|
}
|
|
1458
1395
|
],
|
|
1459
1396
|
filter: {
|
|
1460
1397
|
bool: {
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
docType: 'published_page'
|
|
1465
|
-
}
|
|
1466
|
-
}
|
|
1467
|
-
]
|
|
1398
|
+
should: [{ match: { docType: 'published_page' } }],
|
|
1399
|
+
minimum_should_match: 1,
|
|
1400
|
+
must: []
|
|
1468
1401
|
}
|
|
1469
1402
|
},
|
|
1470
|
-
must_not: [
|
|
1471
|
-
{
|
|
1472
|
-
ids: {
|
|
1473
|
-
values: ['itemId']
|
|
1474
|
-
}
|
|
1475
|
-
}
|
|
1476
|
-
]
|
|
1403
|
+
must_not: [{ ids: { values: ['itemId'] } }]
|
|
1477
1404
|
}
|
|
1478
1405
|
};
|
|
1479
1406
|
|
|
@@ -1501,22 +1428,12 @@ const RAW_QUERY_ALL_SEARCH_VALUE_DIFFERENT_OPERATOR_TEXT_CHECKBOX_HAS_OR_OPERATO
|
|
|
1501
1428
|
],
|
|
1502
1429
|
filter: {
|
|
1503
1430
|
bool: {
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
docType: 'published_page'
|
|
1508
|
-
}
|
|
1509
|
-
}
|
|
1510
|
-
]
|
|
1431
|
+
should: [{ match: { docType: 'published_page' } }],
|
|
1432
|
+
minimum_should_match: 1,
|
|
1433
|
+
must: []
|
|
1511
1434
|
}
|
|
1512
1435
|
},
|
|
1513
|
-
must_not: [
|
|
1514
|
-
{
|
|
1515
|
-
ids: {
|
|
1516
|
-
values: ['itemId']
|
|
1517
|
-
}
|
|
1518
|
-
}
|
|
1519
|
-
]
|
|
1436
|
+
must_not: [{ ids: { values: ['itemId'] } }]
|
|
1520
1437
|
}
|
|
1521
1438
|
};
|
|
1522
1439
|
|
|
@@ -1534,25 +1451,14 @@ const RAW_QUERY_STRINGIFIED_WITH_RANGE =
|
|
|
1534
1451
|
const RAW_QUERY_BASE_CHECKBOX_FILTERS = {
|
|
1535
1452
|
filter: {
|
|
1536
1453
|
bool: {
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
docType: 'published_page'
|
|
1541
|
-
}
|
|
1542
|
-
},
|
|
1543
|
-
{ match: { featured: true } },
|
|
1544
|
-
{ match: { sponsored: true } }
|
|
1545
|
-
]
|
|
1454
|
+
should: [{ match: { docType: 'published_page' } }],
|
|
1455
|
+
minimum_should_match: 1,
|
|
1456
|
+
must: [{ match: { featured: true } }, { match: { sponsored: true } }]
|
|
1546
1457
|
}
|
|
1547
1458
|
},
|
|
1548
|
-
must_not: [
|
|
1549
|
-
{
|
|
1550
|
-
ids: {
|
|
1551
|
-
values: ['itemId']
|
|
1552
|
-
}
|
|
1553
|
-
}
|
|
1554
|
-
]
|
|
1459
|
+
must_not: [{ ids: { values: ['itemId'] } }]
|
|
1555
1460
|
};
|
|
1461
|
+
|
|
1556
1462
|
const RAW_QUERY_CHECKBOX_FILTERS = {
|
|
1557
1463
|
bool: {
|
|
1558
1464
|
must: [
|
|
@@ -1560,46 +1466,33 @@ const RAW_QUERY_CHECKBOX_FILTERS = {
|
|
|
1560
1466
|
bool: {
|
|
1561
1467
|
must: [
|
|
1562
1468
|
{
|
|
1563
|
-
bool: {
|
|
1564
|
-
should: [{ match: { name: 'search' } }, { match: { metaTitle: 'search' } }]
|
|
1565
|
-
}
|
|
1469
|
+
bool: { should: [{ match: { name: 'search' } }, { match: { metaTitle: 'search' } }] }
|
|
1566
1470
|
}
|
|
1567
1471
|
]
|
|
1568
1472
|
}
|
|
1569
1473
|
},
|
|
1570
|
-
{
|
|
1571
|
-
regexp: {
|
|
1572
|
-
'name.keyword': {
|
|
1573
|
-
value: 'x.*',
|
|
1574
|
-
case_insensitive: true
|
|
1575
|
-
}
|
|
1576
|
-
}
|
|
1577
|
-
}
|
|
1474
|
+
{ regexp: { 'name.keyword': { value: 'x.*', case_insensitive: true } } }
|
|
1578
1475
|
],
|
|
1579
|
-
|
|
1476
|
+
filter: {
|
|
1477
|
+
bool: {
|
|
1478
|
+
should: [{ match: { docType: 'published_page' } }],
|
|
1479
|
+
minimum_should_match: 1,
|
|
1480
|
+
must: [{ match: { featured: true } }, { match: { sponsored: true } }]
|
|
1481
|
+
}
|
|
1482
|
+
},
|
|
1483
|
+
must_not: [{ ids: { values: ['itemId'] } }]
|
|
1580
1484
|
}
|
|
1581
1485
|
};
|
|
1582
1486
|
|
|
1583
1487
|
const RAW_QUERY_BASE_ONE_CHECKBOX_FILTERS = {
|
|
1584
1488
|
filter: {
|
|
1585
1489
|
bool: {
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
docType: 'published_page'
|
|
1590
|
-
}
|
|
1591
|
-
},
|
|
1592
|
-
{ match: { sponsored: true } }
|
|
1593
|
-
]
|
|
1490
|
+
should: [{ match: { docType: 'published_page' } }],
|
|
1491
|
+
minimum_should_match: 1,
|
|
1492
|
+
must: [{ match: { sponsored: true } }]
|
|
1594
1493
|
}
|
|
1595
1494
|
},
|
|
1596
|
-
must_not: [
|
|
1597
|
-
{
|
|
1598
|
-
ids: {
|
|
1599
|
-
values: ['itemId']
|
|
1600
|
-
}
|
|
1601
|
-
}
|
|
1602
|
-
]
|
|
1495
|
+
must_not: [{ ids: { values: ['itemId'] } }]
|
|
1603
1496
|
};
|
|
1604
1497
|
|
|
1605
1498
|
const RAW_QUERY_ONE_CHECKBOX_FILTERS = {
|
|
@@ -1609,27 +1502,29 @@ const RAW_QUERY_ONE_CHECKBOX_FILTERS = {
|
|
|
1609
1502
|
bool: {
|
|
1610
1503
|
must: [
|
|
1611
1504
|
{
|
|
1612
|
-
bool: {
|
|
1613
|
-
should: [{ match: { name: 'search' } }, { match: { metaTitle: 'search' } }]
|
|
1614
|
-
}
|
|
1505
|
+
bool: { should: [{ match: { name: 'search' } }, { match: { metaTitle: 'search' } }] }
|
|
1615
1506
|
}
|
|
1616
1507
|
]
|
|
1617
1508
|
}
|
|
1618
1509
|
}
|
|
1619
1510
|
],
|
|
1620
|
-
|
|
1511
|
+
filter: {
|
|
1512
|
+
bool: {
|
|
1513
|
+
should: [{ match: { docType: 'published_page' } }],
|
|
1514
|
+
minimum_should_match: 1,
|
|
1515
|
+
must: [{ match: { sponsored: true } }]
|
|
1516
|
+
}
|
|
1517
|
+
},
|
|
1518
|
+
must_not: [{ ids: { values: ['itemId'] } }]
|
|
1621
1519
|
}
|
|
1622
1520
|
};
|
|
1623
1521
|
|
|
1624
1522
|
const RAW_QUERY_BASE_ONE_CHECKBOX_FILTERS_AND_OTHER_FILTERS = {
|
|
1625
1523
|
filter: {
|
|
1626
1524
|
bool: {
|
|
1525
|
+
should: [{ match: { docType: 'published_page' } }],
|
|
1526
|
+
minimum_should_match: 1,
|
|
1627
1527
|
must: [
|
|
1628
|
-
{
|
|
1629
|
-
term: {
|
|
1630
|
-
docType: 'published_page'
|
|
1631
|
-
}
|
|
1632
|
-
},
|
|
1633
1528
|
{ match: { sponsored: true } },
|
|
1634
1529
|
{
|
|
1635
1530
|
bool: {
|
|
@@ -1639,59 +1534,32 @@ const RAW_QUERY_BASE_ONE_CHECKBOX_FILTERS_AND_OTHER_FILTERS = {
|
|
|
1639
1534
|
]
|
|
1640
1535
|
}
|
|
1641
1536
|
},
|
|
1642
|
-
{
|
|
1643
|
-
bool: {
|
|
1644
|
-
should: [{ match: { 'category.name.keyword': 'another category' } }]
|
|
1645
|
-
}
|
|
1646
|
-
}
|
|
1537
|
+
{ bool: { should: [{ match: { 'category.name.keyword': 'another category' } }] } }
|
|
1647
1538
|
]
|
|
1648
1539
|
}
|
|
1649
1540
|
},
|
|
1650
|
-
must_not: [
|
|
1651
|
-
{
|
|
1652
|
-
ids: {
|
|
1653
|
-
values: ['itemId']
|
|
1654
|
-
}
|
|
1655
|
-
}
|
|
1656
|
-
]
|
|
1541
|
+
must_not: [{ ids: { values: ['itemId'] } }]
|
|
1657
1542
|
};
|
|
1658
1543
|
|
|
1659
1544
|
const RAW_QUERY_BASE_ONE_CHECKBOX_FILTERS_AND_OTHER_FILTERS_OR_OPERATOR = {
|
|
1660
1545
|
filter: {
|
|
1661
1546
|
bool: {
|
|
1547
|
+
should: [{ match: { docType: 'published_page' } }],
|
|
1548
|
+
minimum_should_match: 1,
|
|
1662
1549
|
must: [
|
|
1663
|
-
{
|
|
1664
|
-
term: {
|
|
1665
|
-
docType: 'published_page'
|
|
1666
|
-
}
|
|
1667
|
-
},
|
|
1668
1550
|
{ match: { sponsored: true } },
|
|
1669
1551
|
{
|
|
1670
1552
|
bool: {
|
|
1671
1553
|
should: [
|
|
1672
|
-
{
|
|
1673
|
-
|
|
1674
|
-
should: [{ match: { price: '10' } }, { match: { price: '332' } }]
|
|
1675
|
-
}
|
|
1676
|
-
},
|
|
1677
|
-
{
|
|
1678
|
-
bool: {
|
|
1679
|
-
should: [{ match: { 'authors.lastname.keyword': 'last name' } }]
|
|
1680
|
-
}
|
|
1681
|
-
}
|
|
1554
|
+
{ bool: { should: [{ match: { price: '10' } }, { match: { price: '332' } }] } },
|
|
1555
|
+
{ bool: { should: [{ match: { 'authors.lastname.keyword': 'last name' } }] } }
|
|
1682
1556
|
]
|
|
1683
1557
|
}
|
|
1684
1558
|
}
|
|
1685
1559
|
]
|
|
1686
1560
|
}
|
|
1687
1561
|
},
|
|
1688
|
-
must_not: [
|
|
1689
|
-
{
|
|
1690
|
-
ids: {
|
|
1691
|
-
values: ['itemId']
|
|
1692
|
-
}
|
|
1693
|
-
}
|
|
1694
|
-
]
|
|
1562
|
+
must_not: [{ ids: { values: ['itemId'] } }]
|
|
1695
1563
|
};
|
|
1696
1564
|
|
|
1697
1565
|
const RAW_QUERY_BASE_ONE_CHECKBOX_FILTERS_AND_OTHER_FILTERS_OR_OPERATOR_ITEMS_TO_DISPLAY = {
|
|
@@ -1747,15 +1615,31 @@ const RAW_QUERY_ONE_CHECKBOX_FILTERS_AND_OTHER_FILTERS = {
|
|
|
1747
1615
|
bool: {
|
|
1748
1616
|
must: [
|
|
1749
1617
|
{
|
|
1750
|
-
bool: {
|
|
1751
|
-
should: [{ match: { name: 'search' } }, { match: { metaTitle: 'search' } }]
|
|
1752
|
-
}
|
|
1618
|
+
bool: { should: [{ match: { name: 'search' } }, { match: { metaTitle: 'search' } }] }
|
|
1753
1619
|
}
|
|
1754
1620
|
]
|
|
1755
1621
|
}
|
|
1756
1622
|
}
|
|
1757
1623
|
],
|
|
1758
|
-
|
|
1624
|
+
filter: {
|
|
1625
|
+
bool: {
|
|
1626
|
+
should: [{ match: { docType: 'published_page' } }],
|
|
1627
|
+
minimum_should_match: 1,
|
|
1628
|
+
must: [
|
|
1629
|
+
{ match: { sponsored: true } },
|
|
1630
|
+
{
|
|
1631
|
+
bool: {
|
|
1632
|
+
should: [
|
|
1633
|
+
{ match: { 'name.keyword': 'entity-name' } },
|
|
1634
|
+
{ match: { 'name.keyword': 'another name' } }
|
|
1635
|
+
]
|
|
1636
|
+
}
|
|
1637
|
+
},
|
|
1638
|
+
{ bool: { should: [{ match: { 'category.name.keyword': 'another category' } }] } }
|
|
1639
|
+
]
|
|
1640
|
+
}
|
|
1641
|
+
},
|
|
1642
|
+
must_not: [{ ids: { values: ['itemId'] } }]
|
|
1759
1643
|
}
|
|
1760
1644
|
};
|
|
1761
1645
|
|
|
@@ -1766,23 +1650,26 @@ const RAW_QUERY_ITEMS_TO_DISPLAY = {
|
|
|
1766
1650
|
bool: {
|
|
1767
1651
|
must: [
|
|
1768
1652
|
{
|
|
1769
|
-
bool: {
|
|
1770
|
-
should: [{ match: { name: 'search' } }, { match: { metaTitle: 'search' } }]
|
|
1771
|
-
}
|
|
1653
|
+
bool: { should: [{ match: { name: 'search' } }, { match: { metaTitle: 'search' } }] }
|
|
1772
1654
|
}
|
|
1773
1655
|
]
|
|
1774
1656
|
}
|
|
1775
1657
|
},
|
|
1776
1658
|
{
|
|
1777
1659
|
ids: {
|
|
1778
|
-
values:
|
|
1660
|
+
values: [
|
|
1661
|
+
'd6a79240-3c5e-11ea-84c3-99e89d013812',
|
|
1662
|
+
'fae0a8d0-35ed-11ea-9ef3-a10a62235b17',
|
|
1663
|
+
'0c9dfaf0-35ee-11ea-9ef3-a10a62235b17'
|
|
1664
|
+
]
|
|
1779
1665
|
}
|
|
1780
1666
|
}
|
|
1781
1667
|
],
|
|
1782
1668
|
filter: {
|
|
1783
1669
|
bool: {
|
|
1670
|
+
should: [{ match: { docType: 'published_page' } }],
|
|
1671
|
+
minimum_should_match: 1,
|
|
1784
1672
|
must: [
|
|
1785
|
-
{ term: { docType: 'published_page' } },
|
|
1786
1673
|
{ match: { sponsored: true } },
|
|
1787
1674
|
{
|
|
1788
1675
|
bool: {
|
|
@@ -1808,23 +1695,26 @@ const RAW_QUERY_OR_OPERATOR_ITEMS_TO_DISPLAY = {
|
|
|
1808
1695
|
bool: {
|
|
1809
1696
|
must: [
|
|
1810
1697
|
{
|
|
1811
|
-
bool: {
|
|
1812
|
-
should: [{ match: { name: 'search' } }, { match: { metaTitle: 'search' } }]
|
|
1813
|
-
}
|
|
1698
|
+
bool: { should: [{ match: { name: 'search' } }, { match: { metaTitle: 'search' } }] }
|
|
1814
1699
|
}
|
|
1815
1700
|
]
|
|
1816
1701
|
}
|
|
1817
1702
|
},
|
|
1818
1703
|
{
|
|
1819
1704
|
ids: {
|
|
1820
|
-
values:
|
|
1705
|
+
values: [
|
|
1706
|
+
'd6a79240-3c5e-11ea-84c3-99e89d013812',
|
|
1707
|
+
'fae0a8d0-35ed-11ea-9ef3-a10a62235b17',
|
|
1708
|
+
'0c9dfaf0-35ee-11ea-9ef3-a10a62235b17'
|
|
1709
|
+
]
|
|
1821
1710
|
}
|
|
1822
1711
|
}
|
|
1823
1712
|
],
|
|
1824
1713
|
filter: {
|
|
1825
1714
|
bool: {
|
|
1715
|
+
should: [{ match: { docType: 'published_page' } }],
|
|
1716
|
+
minimum_should_match: 1,
|
|
1826
1717
|
must: [
|
|
1827
|
-
{ term: { docType: 'published_page' } },
|
|
1828
1718
|
{ match: { sponsored: true } },
|
|
1829
1719
|
{
|
|
1830
1720
|
bool: {
|
|
@@ -1851,14 +1741,11 @@ const RAW_QUERY_OR_OPERATOR_ITEMS_TO_DISPLAY = {
|
|
|
1851
1741
|
const RAW_QUERY_FINAL_VALUES_WITH_AND_UPDATED = {
|
|
1852
1742
|
filter: {
|
|
1853
1743
|
bool: {
|
|
1744
|
+
should: [{ match: { docType: 'published_page' } }],
|
|
1745
|
+
minimum_should_match: 1,
|
|
1854
1746
|
must: [
|
|
1855
|
-
{ term: { docType: 'published_page' } },
|
|
1856
1747
|
{ match: { sponsored: true } },
|
|
1857
|
-
{
|
|
1858
|
-
bool: {
|
|
1859
|
-
should: [{ match: { tagIds: 'id1' } }, { match: { tagIds: 'id2' } }]
|
|
1860
|
-
}
|
|
1861
|
-
},
|
|
1748
|
+
{ bool: { should: [{ match: { tagIds: 'id1' } }, { match: { tagIds: 'id2' } }] } },
|
|
1862
1749
|
{ bool: { should: [{ match: { categoryId: 'catId' } }] } }
|
|
1863
1750
|
]
|
|
1864
1751
|
}
|
|
@@ -1954,9 +1841,7 @@ const RAW_QUERY_ONE_CHECKBOX_FILTERS_AND_OTHER_FILTERS_OR_OPERATOR = {
|
|
|
1954
1841
|
bool: {
|
|
1955
1842
|
must: [
|
|
1956
1843
|
{
|
|
1957
|
-
bool: {
|
|
1958
|
-
should: [{ match: { name: 'search' } }, { match: { metaTitle: 'search' } }]
|
|
1959
|
-
}
|
|
1844
|
+
bool: { should: [{ match: { name: 'search' } }, { match: { metaTitle: 'search' } }] }
|
|
1960
1845
|
}
|
|
1961
1846
|
]
|
|
1962
1847
|
}
|
|
@@ -1964,12 +1849,9 @@ const RAW_QUERY_ONE_CHECKBOX_FILTERS_AND_OTHER_FILTERS_OR_OPERATOR = {
|
|
|
1964
1849
|
],
|
|
1965
1850
|
filter: {
|
|
1966
1851
|
bool: {
|
|
1852
|
+
should: [{ match: { docType: 'published_page' } }],
|
|
1853
|
+
minimum_should_match: 1,
|
|
1967
1854
|
must: [
|
|
1968
|
-
{
|
|
1969
|
-
term: {
|
|
1970
|
-
docType: 'published_page'
|
|
1971
|
-
}
|
|
1972
|
-
},
|
|
1973
1855
|
{ match: { featured: true } },
|
|
1974
1856
|
{
|
|
1975
1857
|
bool: {
|
|
@@ -1982,42 +1864,29 @@ const RAW_QUERY_ONE_CHECKBOX_FILTERS_AND_OTHER_FILTERS_OR_OPERATOR = {
|
|
|
1982
1864
|
]
|
|
1983
1865
|
}
|
|
1984
1866
|
},
|
|
1985
|
-
{
|
|
1986
|
-
bool: {
|
|
1987
|
-
should: [{ match: { price: '33' } }]
|
|
1988
|
-
}
|
|
1989
|
-
}
|
|
1867
|
+
{ bool: { should: [{ match: { price: '33' } }] } }
|
|
1990
1868
|
]
|
|
1991
1869
|
}
|
|
1992
1870
|
}
|
|
1993
1871
|
]
|
|
1994
1872
|
}
|
|
1995
1873
|
},
|
|
1996
|
-
must_not: [
|
|
1997
|
-
{
|
|
1998
|
-
ids: {
|
|
1999
|
-
values: ['itemId']
|
|
2000
|
-
}
|
|
2001
|
-
}
|
|
2002
|
-
]
|
|
1874
|
+
must_not: [{ ids: { values: ['itemId'] } }]
|
|
2003
1875
|
}
|
|
2004
1876
|
};
|
|
2005
1877
|
|
|
2006
1878
|
const RAW_QUERY_WITH_ITEMS_TO_DISPLAY = {
|
|
2007
1879
|
filter: {
|
|
2008
1880
|
bool: {
|
|
1881
|
+
should: [{ match: { docType: 'published_page' } }],
|
|
1882
|
+
minimum_should_match: 1,
|
|
2009
1883
|
must: [
|
|
2010
|
-
{ term: { docType: 'published_page' } },
|
|
2011
1884
|
{ ids: { values: ['displayItem1', 'displayItem2'] } },
|
|
2012
1885
|
{ match: { sponsored: true } },
|
|
2013
1886
|
{
|
|
2014
1887
|
bool: {
|
|
2015
1888
|
should: [
|
|
2016
|
-
{
|
|
2017
|
-
bool: {
|
|
2018
|
-
should: [{ match: { tagIds: 'id1' } }, { match: { tagIds: 'id2' } }]
|
|
2019
|
-
}
|
|
2020
|
-
},
|
|
1889
|
+
{ bool: { should: [{ match: { tagIds: 'id1' } }, { match: { tagIds: 'id2' } }] } },
|
|
2021
1890
|
{ bool: { should: [{ match: { 'categoryId.keyword': 'catId' } }] } }
|
|
2022
1891
|
]
|
|
2023
1892
|
}
|
|
@@ -2029,24 +1898,22 @@ const RAW_QUERY_WITH_ITEMS_TO_DISPLAY = {
|
|
|
2029
1898
|
};
|
|
2030
1899
|
|
|
2031
1900
|
const RAW_QUERY_WITH_QUERY_FILTERS = {
|
|
1901
|
+
should: [{ bool: { should: [{ match: { tagIds: 'id1' } }, { match: { tagIds: 'id2' } }] } }],
|
|
2032
1902
|
minimum_should_match: 1,
|
|
2033
|
-
should: [
|
|
2034
|
-
{
|
|
2035
|
-
bool: {
|
|
2036
|
-
should: [{ match: { tagIds: 'id1' } }, { match: { tagIds: 'id2' } }]
|
|
2037
|
-
}
|
|
2038
|
-
}
|
|
2039
|
-
],
|
|
2040
1903
|
filter: {
|
|
2041
1904
|
bool: {
|
|
2042
|
-
|
|
1905
|
+
should: [{ match: { docType: 'published_page' } }],
|
|
1906
|
+
minimum_should_match: 1,
|
|
1907
|
+
must: [{ match: { sponsored: true } }]
|
|
2043
1908
|
}
|
|
2044
1909
|
},
|
|
2045
1910
|
must_not: [{ ids: { values: ['itemId'] } }]
|
|
2046
1911
|
};
|
|
2047
1912
|
|
|
2048
1913
|
const RAW_QUERY_EMPTY_FILTERS_VALUE = {
|
|
2049
|
-
filter: {
|
|
1914
|
+
filter: {
|
|
1915
|
+
bool: { should: [{ match: { docType: 'published_page' } }], minimum_should_match: 1, must: [] }
|
|
1916
|
+
},
|
|
2050
1917
|
must_not: [{ ids: { values: ['itemId'] } }]
|
|
2051
1918
|
};
|
|
2052
1919
|
|
|
@@ -2067,14 +1934,19 @@ const RAW_QUERY_WITH_SHOULD_APPLY_SORT = {
|
|
|
2067
1934
|
},
|
|
2068
1935
|
{
|
|
2069
1936
|
ids: {
|
|
2070
|
-
values:
|
|
1937
|
+
values: [
|
|
1938
|
+
'd6a79240-3c5e-11ea-84c3-99e89d013812',
|
|
1939
|
+
'fae0a8d0-35ed-11ea-9ef3-a10a62235b17',
|
|
1940
|
+
'0c9dfaf0-35ee-11ea-9ef3-a10a62235b17'
|
|
1941
|
+
]
|
|
2071
1942
|
}
|
|
2072
1943
|
}
|
|
2073
1944
|
],
|
|
2074
1945
|
filter: {
|
|
2075
1946
|
bool: {
|
|
1947
|
+
should: [{ match: { docType: 'published_page' } }],
|
|
1948
|
+
minimum_should_match: 1,
|
|
2076
1949
|
must: [
|
|
2077
|
-
{ term: { docType: 'published_page' } },
|
|
2078
1950
|
{ match: { sponsored: true } },
|
|
2079
1951
|
{
|
|
2080
1952
|
bool: {
|
|
@@ -2098,7 +1970,11 @@ const RAW_QUERY_WITH_SHOULD_APPLY_SORT = {
|
|
|
2098
1970
|
lang: 'painless',
|
|
2099
1971
|
source: "!doc['id.keyword'].empty ? params.sortOrder.indexOf(doc['id.keyword'].value) : 0",
|
|
2100
1972
|
params: {
|
|
2101
|
-
sortOrder:
|
|
1973
|
+
sortOrder: [
|
|
1974
|
+
'd6a79240-3c5e-11ea-84c3-99e89d013812',
|
|
1975
|
+
'fae0a8d0-35ed-11ea-9ef3-a10a62235b17',
|
|
1976
|
+
'0c9dfaf0-35ee-11ea-9ef3-a10a62235b17'
|
|
1977
|
+
]
|
|
2102
1978
|
}
|
|
2103
1979
|
},
|
|
2104
1980
|
order: 'asc'
|
|
@@ -2122,7 +1998,13 @@ const RAW_QUERY_WITH_AGGS = {
|
|
|
2122
1998
|
}
|
|
2123
1999
|
}
|
|
2124
2000
|
],
|
|
2125
|
-
filter: {
|
|
2001
|
+
filter: {
|
|
2002
|
+
bool: {
|
|
2003
|
+
should: [{ match: { docType: 'published_page' } }],
|
|
2004
|
+
minimum_should_match: 1,
|
|
2005
|
+
must: []
|
|
2006
|
+
}
|
|
2007
|
+
},
|
|
2126
2008
|
must_not: [{ ids: { values: ['itemId'] } }]
|
|
2127
2009
|
}
|
|
2128
2010
|
},
|
|
@@ -2131,11 +2013,7 @@ const RAW_QUERY_WITH_AGGS = {
|
|
|
2131
2013
|
terms: { script: "doc['name.keyword'].getValue().substring(0,1).toUpperCase()", size: 500 }
|
|
2132
2014
|
}
|
|
2133
2015
|
},
|
|
2134
|
-
sort: [
|
|
2135
|
-
{
|
|
2136
|
-
'name.keyword': 'asc'
|
|
2137
|
-
}
|
|
2138
|
-
]
|
|
2016
|
+
sort: [{ 'name.keyword': 'asc' }]
|
|
2139
2017
|
};
|
|
2140
2018
|
|
|
2141
2019
|
const MOCKED_GTM_CHILD_COMPONENTS = [
|