@getlupa/client 0.16.2 → 1.0.2
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/.eslintrc.cjs +15 -0
- package/.prettierrc.json +8 -0
- package/dist/containerStyle.css +1 -0
- package/dist/favicon.ico +0 -0
- package/dist/index.html +17 -0
- package/dist/lupaSearch.iife.js +26672 -0
- package/dist/lupaSearch.js +26669 -0
- package/dist/lupaSearch.mjs +26669 -0
- package/dist/lupaSearch.umd.js +26673 -0
- package/dist/src/components/ProductListEntry.vue.d.ts +14 -0
- package/dist/src/components/RecommendationsEntry.vue.d.ts +14 -0
- package/dist/src/components/SearchBoxEntry.vue.d.ts +14 -0
- package/dist/src/components/SearchContainerEntry.vue.d.ts +14 -0
- package/dist/src/components/SearchResultsEntry.vue.d.ts +14 -0
- package/dist/src/constants/global.const.d.ts +1 -0
- package/dist/{es → src}/constants/queryParams.const.d.ts +26 -26
- package/dist/{iife → src}/constants/searchBox.const.d.ts +48 -48
- package/dist/{iife → src}/constants/searchResults.const.d.ts +106 -107
- package/dist/src/index.d.ts +43 -0
- package/dist/{iife → src}/utils/shadowDom.utils.d.ts +11 -11
- package/dist/style.css +1 -1
- package/env.d.ts +1 -0
- package/index.html +28 -0
- package/package.json +44 -64
- package/tsconfig.app.json +18 -0
- package/tsconfig.node.json +15 -0
- package/vite.config.ts +26 -0
- package/.browserslistrc +0 -3
- package/.eslintrc.js +0 -37
- package/README.md +0 -81
- package/babel.config.js +0 -3
- package/dist/cjs/ProductListEntry.vue.d.ts +0 -7
- package/dist/cjs/RecommendationsEntry.vue.d.ts +0 -6
- package/dist/cjs/SearchBoxEntry.vue.d.ts +0 -7
- package/dist/cjs/SearchContainerEntry.vue.d.ts +0 -18
- package/dist/cjs/SearchResultsEntry.vue.d.ts +0 -7
- package/dist/cjs/components/common/ProductImage.vue.d.ts +0 -17
- package/dist/cjs/components/common/Spinner.vue.d.ts +0 -3
- package/dist/cjs/components/product-list/CategoryDescription.vue.d.ts +0 -7
- package/dist/cjs/components/product-list/CategoryFilter.vue.d.ts +0 -23
- package/dist/cjs/components/product-list/CategoryFilterItem.vue.d.ts +0 -11
- package/dist/cjs/components/product-list/CategoryTopFilters.vue.d.ts +0 -10
- package/dist/cjs/components/product-list/ProductList.vue.d.ts +0 -7
- package/dist/cjs/components/recommendations/Recommendations.vue.d.ts +0 -25
- package/dist/cjs/components/search-box/SearchBox.vue.d.ts +0 -75
- package/dist/cjs/components/search-box/SearchBoxInput.vue.d.ts +0 -25
- package/dist/cjs/components/search-box/SearchBoxMainPanel.vue.d.ts +0 -33
- package/dist/cjs/components/search-box/SearchBoxMoreResults.vue.d.ts +0 -11
- package/dist/cjs/components/search-box/__tests__/SearchBox.spec.d.ts +0 -1
- package/dist/cjs/components/search-box/__tests__/SearchBoxInput.spec.d.ts +0 -1
- package/dist/cjs/components/search-box/__tests__/SearchBoxMainPanel.spec.d.ts +0 -1
- package/dist/cjs/components/search-box/history/SearchBoxHistoryItem.vue.d.ts +0 -7
- package/dist/cjs/components/search-box/history/SearchBoxHistoryPanel.vue.d.ts +0 -23
- package/dist/cjs/components/search-box/history/__tests__/SearchBoxHistoryPanel.vue.spec.d.ts +0 -1
- package/dist/cjs/components/search-box/products/SearchBoxProduct.vue.d.ts +0 -28
- package/dist/cjs/components/search-box/products/SearchBoxProducts.vue.d.ts +0 -15
- package/dist/cjs/components/search-box/products/SearchBoxProductsWrapper.vue.d.ts +0 -32
- package/dist/cjs/components/search-box/products/__tests__/SearchBoxProduct.vue.spec.d.ts +0 -1
- package/dist/cjs/components/search-box/products/elements/SearchBoxProductCustom.vue.d.ts +0 -12
- package/dist/cjs/components/search-box/products/elements/SearchBoxProductDescription.vue.d.ts +0 -9
- package/dist/cjs/components/search-box/products/elements/SearchBoxProductElement.vue.d.ts +0 -15
- package/dist/cjs/components/search-box/products/elements/SearchBoxProductImage.vue.d.ts +0 -7
- package/dist/cjs/components/search-box/products/elements/SearchBoxProductPrice.vue.d.ts +0 -10
- package/dist/cjs/components/search-box/products/elements/SearchBoxProductRegularPrice.vue.d.ts +0 -10
- package/dist/cjs/components/search-box/products/elements/SearchBoxProductTitle.vue.d.ts +0 -9
- package/dist/cjs/components/search-box/products/elements/__tests__/SearchBoxProductCustom.vue.spec.d.ts +0 -1
- package/dist/cjs/components/search-box/products/elements/__tests__/SearchBoxProductElement.vue.spec.d.ts +0 -1
- package/dist/cjs/components/search-box/products/elements/__tests__/SearchBoxProductImage.spec.d.ts +0 -1
- package/dist/cjs/components/search-box/products/elements/__tests__/SearchBoxProductPrice.vue.spec.d.ts +0 -1
- package/dist/cjs/components/search-box/products/elements/__tests__/SearchBoxProductTitle.vue.spec.d.ts +0 -1
- package/dist/cjs/components/search-box/products/elements/custom/SearchBoxProductCustomHtml.vue.d.ts +0 -10
- package/dist/cjs/components/search-box/suggestions/SearchBoxSuggestion.vue.d.ts +0 -12
- package/dist/cjs/components/search-box/suggestions/SearchBoxSuggestions.vue.d.ts +0 -22
- package/dist/cjs/components/search-box/suggestions/SearchBoxSuggestionsWrapper.vue.d.ts +0 -28
- package/dist/cjs/components/search-box/suggestions/__tests__/Suggestions.spec.d.ts +0 -1
- package/dist/cjs/components/search-container/SearchContainer.vue.d.ts +0 -19
- package/dist/cjs/components/search-results/SearchResults.vue.d.ts +0 -85
- package/dist/cjs/components/search-results/SearchResultsBreadcrumbs.vue.d.ts +0 -10
- package/dist/cjs/components/search-results/SearchResultsDidYouMean.vue.d.ts +0 -19
- package/dist/cjs/components/search-results/SearchResultsTitle.vue.d.ts +0 -16
- package/dist/cjs/components/search-results/__tests__/SearchResults.spec.d.ts +0 -1
- package/dist/cjs/components/search-results/__tests__/SearchResultsBreadcrumbs.spec.d.ts +0 -1
- package/dist/cjs/components/search-results/additional-panels/AdditionalPanel.vue.d.ts +0 -25
- package/dist/cjs/components/search-results/additional-panels/AdditionalPanels.vue.d.ts +0 -11
- package/dist/cjs/components/search-results/additional-panels/__tests__/AdditionalPanels.vue.spec.d.ts +0 -1
- package/dist/cjs/components/search-results/filters/CurrentFilterDisplay.vue.d.ts +0 -6
- package/dist/cjs/components/search-results/filters/CurrentFilters.vue.d.ts +0 -37
- package/dist/cjs/components/search-results/filters/FiltersTopDropdown.vue.d.ts +0 -5
- package/dist/cjs/components/search-results/filters/MobileFilterSidebar.vue.d.ts +0 -14
- package/dist/cjs/components/search-results/filters/SearchResultsFilters.vue.d.ts +0 -10
- package/dist/cjs/components/search-results/filters/__tests__/CurrentFilterDisplay.vue.spec.d.ts +0 -1
- package/dist/cjs/components/search-results/filters/__tests__/CurrentFilters.vue.spec.d.ts +0 -1
- package/dist/cjs/components/search-results/filters/facets/FacetDisplay.vue.d.ts +0 -29
- package/dist/cjs/components/search-results/filters/facets/FacetList.vue.d.ts +0 -14
- package/dist/cjs/components/search-results/filters/facets/Facets.vue.d.ts +0 -31
- package/dist/cjs/components/search-results/filters/facets/HierarchyFacet.vue.d.ts +0 -21
- package/dist/cjs/components/search-results/filters/facets/HierarchyFacetLevel.vue.d.ts +0 -12
- package/dist/cjs/components/search-results/filters/facets/StatsFacet.vue.d.ts +0 -38
- package/dist/cjs/components/search-results/filters/facets/TermFacet.vue.d.ts +0 -20
- package/dist/cjs/components/search-results/filters/facets/__tests__/FacetDisplay.vue.spec.d.ts +0 -1
- package/dist/cjs/components/search-results/filters/facets/__tests__/FacetList.vue.spec.d.ts +0 -1
- package/dist/cjs/components/search-results/filters/facets/__tests__/HierarchyFacet.vue.spec.d.ts +0 -1
- package/dist/cjs/components/search-results/filters/facets/__tests__/StatsFacet.vue.spec.d.ts +0 -1
- package/dist/cjs/components/search-results/filters/facets/__tests__/TermFacet.vue.spec.d.ts +0 -1
- package/dist/cjs/components/search-results/products/SearchResultsLayoutSelection.vue.d.ts +0 -8
- package/dist/cjs/components/search-results/products/SearchResultsMobileToggle.vue.d.ts +0 -10
- package/dist/cjs/components/search-results/products/SearchResultsProducts.vue.d.ts +0 -35
- package/dist/cjs/components/search-results/products/SearchResultsSummary.vue.d.ts +0 -8
- package/dist/cjs/components/search-results/products/SearchResultsToolbar.vue.d.ts +0 -30
- package/dist/cjs/components/search-results/products/__tests__/SearchResultsLayoutSelection.spec.d.ts +0 -1
- package/dist/cjs/components/search-results/products/__tests__/SearchResultsProducts.spec.d.ts +0 -1
- package/dist/cjs/components/search-results/products/__tests__/SearchResultsToolbar.spec.d.ts +0 -1
- package/dist/cjs/components/search-results/products/pagination/SearchResultsPageSelect.vue.d.ts +0 -28
- package/dist/cjs/components/search-results/products/pagination/SearchResultsPageSize.vue.d.ts +0 -19
- package/dist/cjs/components/search-results/products/pagination/__tests__/SearchResultsPageSelect.spec.d.ts +0 -1
- package/dist/cjs/components/search-results/products/pagination/__tests__/SearchResultsPageSize.spec.d.ts +0 -1
- package/dist/cjs/components/search-results/products/product-card/SearchResultsProductCard.vue.d.ts +0 -48
- package/dist/cjs/components/search-results/products/product-card/__tests__/SearchResultsBadgeWrapper.spec.d.ts +0 -1
- package/dist/cjs/components/search-results/products/product-card/__tests__/SearchResultsProductCard.spec.d.ts +0 -1
- package/dist/cjs/components/search-results/products/product-card/badges/CustomBadge.vue.d.ts +0 -7
- package/dist/cjs/components/search-results/products/product-card/badges/ImageBadge.vue.d.ts +0 -8
- package/dist/cjs/components/search-results/products/product-card/badges/SearchResultGeneratedBadge.vue.d.ts +0 -11
- package/dist/cjs/components/search-results/products/product-card/badges/SearchResultGeneratedBadges.vue.d.ts +0 -9
- package/dist/cjs/components/search-results/products/product-card/badges/SearchResultsBadgeWrapper.vue.d.ts +0 -11
- package/dist/cjs/components/search-results/products/product-card/badges/TextBadge.vue.d.ts +0 -7
- package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductAddToCart.vue.d.ts +0 -12
- package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductCardElement.vue.d.ts +0 -20
- package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductCustom.vue.d.ts +0 -14
- package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductDescription.vue.d.ts +0 -10
- package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductImage.vue.d.ts +0 -7
- package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductPrice.vue.d.ts +0 -10
- package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductRating.vue.d.ts +0 -13
- package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductRegularPrice.vue.d.ts +0 -10
- package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductSingleStarRating.vue.d.ts +0 -11
- package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductTitle.vue.d.ts +0 -15
- package/dist/cjs/components/search-results/products/product-card/elements/__tests__/SearchResultsProductAddToCart.spec.d.ts +0 -1
- package/dist/cjs/components/search-results/products/product-card/elements/__tests__/SearchResultsProductCustom.spec.d.ts +0 -1
- package/dist/cjs/components/search-results/products/product-card/elements/__tests__/SearchResultsProductCustomHtmlElement.spec.d.ts +0 -1
- package/dist/cjs/components/search-results/products/product-card/elements/__tests__/SearchResultsProductDescription.spec.d.ts +0 -1
- package/dist/cjs/components/search-results/products/product-card/elements/__tests__/SearchResultsProductImage.spec.d.ts +0 -1
- package/dist/cjs/components/search-results/products/product-card/elements/__tests__/SearchResultsProductPrice.spec.d.ts +0 -1
- package/dist/cjs/components/search-results/products/product-card/elements/__tests__/SearchResultsProductRating.spec.d.ts +0 -1
- package/dist/cjs/components/search-results/products/product-card/elements/__tests__/SearchResultsProductTitle.spec.d.ts +0 -1
- package/dist/cjs/components/search-results/products/product-card/elements/custom/SearchResultsProductCustomHtmlElement.vue.d.ts +0 -10
- package/dist/cjs/components/search-results/products/similar-queries/SearchResultsSimilarQueries.vue.d.ts +0 -19
- package/dist/cjs/components/search-results/products/similar-queries/SimilarQueryText.vue.d.ts +0 -10
- package/dist/cjs/components/search-results/products/sort/SearchResultsSort.vue.d.ts +0 -23
- package/dist/cjs/components/search-results/products/sort/__tests__/SearchResultsSort.spec.d.ts +0 -1
- package/dist/cjs/constants/development/recommendations.example.const.d.ts +0 -2
- package/dist/cjs/constants/development/searchBoxDev.example.const.d.ts +0 -30
- package/dist/cjs/constants/development/searchContainerDev.example.d.ts +0 -2
- package/dist/cjs/constants/development/searchProductListDev.example.d.ts +0 -28
- package/dist/cjs/constants/development/searchResultsDev.example.const.d.ts +0 -117
- package/dist/cjs/constants/global.const.d.ts +0 -17
- package/dist/cjs/constants/mockData..const.d.ts +0 -4
- package/dist/cjs/constants/queryParams.const.d.ts +0 -26
- package/dist/cjs/constants/searchBox.const.d.ts +0 -48
- package/dist/cjs/constants/searchResults.const.d.ts +0 -107
- package/dist/cjs/index-iife.d.ts +0 -26
- package/dist/cjs/index.d.ts +0 -30
- package/dist/cjs/index.min.js +0 -41377
- package/dist/cjs/main.d.ts +0 -1
- package/dist/cjs/store/__tests__/history.spec.d.ts +0 -1
- package/dist/cjs/store/__tests__/params.spec.d.ts +0 -1
- package/dist/cjs/store/__tests__/searchBox.spec.d.ts +0 -1
- package/dist/cjs/store/__tests__/searchResult.spec.d.ts +0 -1
- package/dist/cjs/store/index.d.ts +0 -2
- package/dist/cjs/store/modules/dynamicData.d.ts +0 -22
- package/dist/cjs/store/modules/history.d.ts +0 -13
- package/dist/cjs/store/modules/options.d.ts +0 -31
- package/dist/cjs/store/modules/params.d.ts +0 -63
- package/dist/cjs/store/modules/searchBox.d.ts +0 -66
- package/dist/cjs/store/modules/searchResult.d.ts +0 -69
- package/dist/cjs/store/modules/tracking.d.ts +0 -19
- package/dist/cjs/store/types/State.d.ts +0 -38
- package/dist/cjs/types/AnalyticsOptions.d.ts +0 -14
- package/dist/cjs/types/DocumentElement.d.ts +0 -91
- package/dist/cjs/types/General.d.ts +0 -20
- package/dist/cjs/types/product-list/ProductListOptions.d.ts +0 -29
- package/dist/cjs/types/recommendations/RecommendationsOptions.d.ts +0 -25
- package/dist/cjs/types/search-box/Common.d.ts +0 -51
- package/dist/cjs/types/search-box/SearchBoxHistory.d.ts +0 -6
- package/dist/cjs/types/search-box/SearchBoxOptions.d.ts +0 -36
- package/dist/cjs/types/search-box/SearchBoxPanel.d.ts +0 -28
- package/dist/cjs/types/search-container/SearchContainerOptions.d.ts +0 -15
- package/dist/cjs/types/search-results/BadgeOptions.d.ts +0 -61
- package/dist/cjs/types/search-results/FacetAction.d.ts +0 -16
- package/dist/cjs/types/search-results/Filters.d.ts +0 -9
- package/dist/cjs/types/search-results/PaginationOptions.d.ts +0 -20
- package/dist/cjs/types/search-results/QueryParams.d.ts +0 -4
- package/dist/cjs/types/search-results/ResultsLayout.d.ts +0 -5
- package/dist/cjs/types/search-results/RoutingBehavior.d.ts +0 -1
- package/dist/cjs/types/search-results/SearchResultsAdditionalPanelOptions.d.ts +0 -15
- package/dist/cjs/types/search-results/SearchResultsOptions.d.ts +0 -177
- package/dist/cjs/types/search-results/SearchResultsPagination.d.ts +0 -21
- package/dist/cjs/types/search-results/SearchResultsProductCardOptions.d.ts +0 -24
- package/dist/cjs/types/search-results/SearchResultsSort.d.ts +0 -11
- package/dist/cjs/utils/__tests__/debounce.utils.spec.d.ts +0 -1
- package/dist/cjs/utils/__tests__/event.utils.spec.d.ts +0 -1
- package/dist/cjs/utils/__tests__/filter.toggle.utils.spec.d.ts +0 -1
- package/dist/cjs/utils/__tests__/filter.utils.spec.d.ts +0 -1
- package/dist/cjs/utils/__tests__/history.utils.spec.d.ts +0 -1
- package/dist/cjs/utils/__tests__/link.utils.spec.d.ts +0 -1
- package/dist/cjs/utils/__tests__/params.utils.spec.d.ts +0 -1
- package/dist/cjs/utils/__tests__/picker.utils.spec.d.ts +0 -1
- package/dist/cjs/utils/__tests__/price.utils.spec.d.ts +0 -1
- package/dist/cjs/utils/__tests__/query.utils.spec.d.ts +0 -1
- package/dist/cjs/utils/__tests__/string.utils.spec.d.ts +0 -1
- package/dist/cjs/utils/__tests__/suggestion.utils.spec.d.ts +0 -1
- package/dist/cjs/utils/__tests__/tracking.utils.spec.d.ts +0 -1
- package/dist/cjs/utils/debounce.utils.d.ts +0 -1
- package/dist/cjs/utils/document.utils.d.ts +0 -1
- package/dist/cjs/utils/event.utils.d.ts +0 -2
- package/dist/cjs/utils/filter.toggle.utils.d.ts +0 -23
- package/dist/cjs/utils/filter.utils.d.ts +0 -11
- package/dist/cjs/utils/history.utils.d.ts +0 -2
- package/dist/cjs/utils/link.utils.d.ts +0 -6
- package/dist/cjs/utils/merger.utils.d.ts +0 -1
- package/dist/cjs/utils/params.utils.d.ts +0 -9
- package/dist/cjs/utils/picker.utils.d.ts +0 -5
- package/dist/cjs/utils/price.utils.d.ts +0 -2
- package/dist/cjs/utils/query.utils.d.ts +0 -5
- package/dist/cjs/utils/routing.utils.d.ts +0 -6
- package/dist/cjs/utils/scroll.utils.d.ts +0 -4
- package/dist/cjs/utils/shadowDom.utils.d.ts +0 -11
- package/dist/cjs/utils/string.utils.d.ts +0 -9
- package/dist/cjs/utils/suggestion.utils.d.ts +0 -3
- package/dist/cjs/utils/tracking.utils.d.ts +0 -9
- package/dist/containerStyle.js +0 -1
- package/dist/es/ProductListEntry.vue.d.ts +0 -7
- package/dist/es/RecommendationsEntry.vue.d.ts +0 -6
- package/dist/es/SearchBoxEntry.vue.d.ts +0 -7
- package/dist/es/SearchContainerEntry.vue.d.ts +0 -18
- package/dist/es/SearchResultsEntry.vue.d.ts +0 -7
- package/dist/es/components/common/ProductImage.vue.d.ts +0 -17
- package/dist/es/components/common/Spinner.vue.d.ts +0 -3
- package/dist/es/components/product-list/CategoryDescription.vue.d.ts +0 -7
- package/dist/es/components/product-list/CategoryFilter.vue.d.ts +0 -23
- package/dist/es/components/product-list/CategoryFilterItem.vue.d.ts +0 -11
- package/dist/es/components/product-list/CategoryTopFilters.vue.d.ts +0 -10
- package/dist/es/components/product-list/ProductList.vue.d.ts +0 -7
- package/dist/es/components/recommendations/Recommendations.vue.d.ts +0 -25
- package/dist/es/components/search-box/SearchBox.vue.d.ts +0 -75
- package/dist/es/components/search-box/SearchBoxInput.vue.d.ts +0 -25
- package/dist/es/components/search-box/SearchBoxMainPanel.vue.d.ts +0 -33
- package/dist/es/components/search-box/SearchBoxMoreResults.vue.d.ts +0 -11
- package/dist/es/components/search-box/__tests__/SearchBox.spec.d.ts +0 -1
- package/dist/es/components/search-box/__tests__/SearchBoxInput.spec.d.ts +0 -1
- package/dist/es/components/search-box/__tests__/SearchBoxMainPanel.spec.d.ts +0 -1
- package/dist/es/components/search-box/history/SearchBoxHistoryItem.vue.d.ts +0 -7
- package/dist/es/components/search-box/history/SearchBoxHistoryPanel.vue.d.ts +0 -23
- package/dist/es/components/search-box/history/__tests__/SearchBoxHistoryPanel.vue.spec.d.ts +0 -1
- package/dist/es/components/search-box/products/SearchBoxProduct.vue.d.ts +0 -28
- package/dist/es/components/search-box/products/SearchBoxProducts.vue.d.ts +0 -15
- package/dist/es/components/search-box/products/SearchBoxProductsWrapper.vue.d.ts +0 -32
- package/dist/es/components/search-box/products/__tests__/SearchBoxProduct.vue.spec.d.ts +0 -1
- package/dist/es/components/search-box/products/elements/SearchBoxProductCustom.vue.d.ts +0 -12
- package/dist/es/components/search-box/products/elements/SearchBoxProductDescription.vue.d.ts +0 -9
- package/dist/es/components/search-box/products/elements/SearchBoxProductElement.vue.d.ts +0 -15
- package/dist/es/components/search-box/products/elements/SearchBoxProductImage.vue.d.ts +0 -7
- package/dist/es/components/search-box/products/elements/SearchBoxProductPrice.vue.d.ts +0 -10
- package/dist/es/components/search-box/products/elements/SearchBoxProductRegularPrice.vue.d.ts +0 -10
- package/dist/es/components/search-box/products/elements/SearchBoxProductTitle.vue.d.ts +0 -9
- package/dist/es/components/search-box/products/elements/__tests__/SearchBoxProductCustom.vue.spec.d.ts +0 -1
- package/dist/es/components/search-box/products/elements/__tests__/SearchBoxProductElement.vue.spec.d.ts +0 -1
- package/dist/es/components/search-box/products/elements/__tests__/SearchBoxProductImage.spec.d.ts +0 -1
- package/dist/es/components/search-box/products/elements/__tests__/SearchBoxProductPrice.vue.spec.d.ts +0 -1
- package/dist/es/components/search-box/products/elements/__tests__/SearchBoxProductTitle.vue.spec.d.ts +0 -1
- package/dist/es/components/search-box/products/elements/custom/SearchBoxProductCustomHtml.vue.d.ts +0 -10
- package/dist/es/components/search-box/suggestions/SearchBoxSuggestion.vue.d.ts +0 -12
- package/dist/es/components/search-box/suggestions/SearchBoxSuggestions.vue.d.ts +0 -22
- package/dist/es/components/search-box/suggestions/SearchBoxSuggestionsWrapper.vue.d.ts +0 -28
- package/dist/es/components/search-box/suggestions/__tests__/Suggestions.spec.d.ts +0 -1
- package/dist/es/components/search-container/SearchContainer.vue.d.ts +0 -19
- package/dist/es/components/search-results/SearchResults.vue.d.ts +0 -85
- package/dist/es/components/search-results/SearchResultsBreadcrumbs.vue.d.ts +0 -10
- package/dist/es/components/search-results/SearchResultsDidYouMean.vue.d.ts +0 -19
- package/dist/es/components/search-results/SearchResultsTitle.vue.d.ts +0 -16
- package/dist/es/components/search-results/__tests__/SearchResults.spec.d.ts +0 -1
- package/dist/es/components/search-results/__tests__/SearchResultsBreadcrumbs.spec.d.ts +0 -1
- package/dist/es/components/search-results/additional-panels/AdditionalPanel.vue.d.ts +0 -25
- package/dist/es/components/search-results/additional-panels/AdditionalPanels.vue.d.ts +0 -11
- package/dist/es/components/search-results/additional-panels/__tests__/AdditionalPanels.vue.spec.d.ts +0 -1
- package/dist/es/components/search-results/filters/CurrentFilterDisplay.vue.d.ts +0 -6
- package/dist/es/components/search-results/filters/CurrentFilters.vue.d.ts +0 -37
- package/dist/es/components/search-results/filters/FiltersTopDropdown.vue.d.ts +0 -5
- package/dist/es/components/search-results/filters/MobileFilterSidebar.vue.d.ts +0 -14
- package/dist/es/components/search-results/filters/SearchResultsFilters.vue.d.ts +0 -10
- package/dist/es/components/search-results/filters/__tests__/CurrentFilterDisplay.vue.spec.d.ts +0 -1
- package/dist/es/components/search-results/filters/__tests__/CurrentFilters.vue.spec.d.ts +0 -1
- package/dist/es/components/search-results/filters/facets/FacetDisplay.vue.d.ts +0 -29
- package/dist/es/components/search-results/filters/facets/FacetList.vue.d.ts +0 -14
- package/dist/es/components/search-results/filters/facets/Facets.vue.d.ts +0 -31
- package/dist/es/components/search-results/filters/facets/HierarchyFacet.vue.d.ts +0 -21
- package/dist/es/components/search-results/filters/facets/HierarchyFacetLevel.vue.d.ts +0 -12
- package/dist/es/components/search-results/filters/facets/StatsFacet.vue.d.ts +0 -38
- package/dist/es/components/search-results/filters/facets/TermFacet.vue.d.ts +0 -20
- package/dist/es/components/search-results/filters/facets/__tests__/FacetDisplay.vue.spec.d.ts +0 -1
- package/dist/es/components/search-results/filters/facets/__tests__/FacetList.vue.spec.d.ts +0 -1
- package/dist/es/components/search-results/filters/facets/__tests__/HierarchyFacet.vue.spec.d.ts +0 -1
- package/dist/es/components/search-results/filters/facets/__tests__/StatsFacet.vue.spec.d.ts +0 -1
- package/dist/es/components/search-results/filters/facets/__tests__/TermFacet.vue.spec.d.ts +0 -1
- package/dist/es/components/search-results/products/SearchResultsLayoutSelection.vue.d.ts +0 -8
- package/dist/es/components/search-results/products/SearchResultsMobileToggle.vue.d.ts +0 -10
- package/dist/es/components/search-results/products/SearchResultsProducts.vue.d.ts +0 -35
- package/dist/es/components/search-results/products/SearchResultsSummary.vue.d.ts +0 -8
- package/dist/es/components/search-results/products/SearchResultsToolbar.vue.d.ts +0 -30
- package/dist/es/components/search-results/products/__tests__/SearchResultsLayoutSelection.spec.d.ts +0 -1
- package/dist/es/components/search-results/products/__tests__/SearchResultsProducts.spec.d.ts +0 -1
- package/dist/es/components/search-results/products/__tests__/SearchResultsToolbar.spec.d.ts +0 -1
- package/dist/es/components/search-results/products/pagination/SearchResultsPageSelect.vue.d.ts +0 -28
- package/dist/es/components/search-results/products/pagination/SearchResultsPageSize.vue.d.ts +0 -19
- package/dist/es/components/search-results/products/pagination/__tests__/SearchResultsPageSelect.spec.d.ts +0 -1
- package/dist/es/components/search-results/products/pagination/__tests__/SearchResultsPageSize.spec.d.ts +0 -1
- package/dist/es/components/search-results/products/product-card/SearchResultsProductCard.vue.d.ts +0 -48
- package/dist/es/components/search-results/products/product-card/__tests__/SearchResultsBadgeWrapper.spec.d.ts +0 -1
- package/dist/es/components/search-results/products/product-card/__tests__/SearchResultsProductCard.spec.d.ts +0 -1
- package/dist/es/components/search-results/products/product-card/badges/CustomBadge.vue.d.ts +0 -7
- package/dist/es/components/search-results/products/product-card/badges/ImageBadge.vue.d.ts +0 -8
- package/dist/es/components/search-results/products/product-card/badges/SearchResultGeneratedBadge.vue.d.ts +0 -11
- package/dist/es/components/search-results/products/product-card/badges/SearchResultGeneratedBadges.vue.d.ts +0 -9
- package/dist/es/components/search-results/products/product-card/badges/SearchResultsBadgeWrapper.vue.d.ts +0 -11
- package/dist/es/components/search-results/products/product-card/badges/TextBadge.vue.d.ts +0 -7
- package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductAddToCart.vue.d.ts +0 -12
- package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductCardElement.vue.d.ts +0 -20
- package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductCustom.vue.d.ts +0 -14
- package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductDescription.vue.d.ts +0 -10
- package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductImage.vue.d.ts +0 -7
- package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductPrice.vue.d.ts +0 -10
- package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductRating.vue.d.ts +0 -13
- package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductRegularPrice.vue.d.ts +0 -10
- package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductSingleStarRating.vue.d.ts +0 -11
- package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductTitle.vue.d.ts +0 -15
- package/dist/es/components/search-results/products/product-card/elements/__tests__/SearchResultsProductAddToCart.spec.d.ts +0 -1
- package/dist/es/components/search-results/products/product-card/elements/__tests__/SearchResultsProductCustom.spec.d.ts +0 -1
- package/dist/es/components/search-results/products/product-card/elements/__tests__/SearchResultsProductCustomHtmlElement.spec.d.ts +0 -1
- package/dist/es/components/search-results/products/product-card/elements/__tests__/SearchResultsProductDescription.spec.d.ts +0 -1
- package/dist/es/components/search-results/products/product-card/elements/__tests__/SearchResultsProductImage.spec.d.ts +0 -1
- package/dist/es/components/search-results/products/product-card/elements/__tests__/SearchResultsProductPrice.spec.d.ts +0 -1
- package/dist/es/components/search-results/products/product-card/elements/__tests__/SearchResultsProductRating.spec.d.ts +0 -1
- package/dist/es/components/search-results/products/product-card/elements/__tests__/SearchResultsProductTitle.spec.d.ts +0 -1
- package/dist/es/components/search-results/products/product-card/elements/custom/SearchResultsProductCustomHtmlElement.vue.d.ts +0 -10
- package/dist/es/components/search-results/products/similar-queries/SearchResultsSimilarQueries.vue.d.ts +0 -19
- package/dist/es/components/search-results/products/similar-queries/SimilarQueryText.vue.d.ts +0 -10
- package/dist/es/components/search-results/products/sort/SearchResultsSort.vue.d.ts +0 -23
- package/dist/es/components/search-results/products/sort/__tests__/SearchResultsSort.spec.d.ts +0 -1
- package/dist/es/constants/development/recommendations.example.const.d.ts +0 -2
- package/dist/es/constants/development/searchBoxDev.example.const.d.ts +0 -30
- package/dist/es/constants/development/searchContainerDev.example.d.ts +0 -2
- package/dist/es/constants/development/searchProductListDev.example.d.ts +0 -28
- package/dist/es/constants/development/searchResultsDev.example.const.d.ts +0 -117
- package/dist/es/constants/global.const.d.ts +0 -17
- package/dist/es/constants/mockData..const.d.ts +0 -4
- package/dist/es/constants/searchBox.const.d.ts +0 -48
- package/dist/es/constants/searchResults.const.d.ts +0 -107
- package/dist/es/index-iife.d.ts +0 -26
- package/dist/es/index.d.ts +0 -30
- package/dist/es/index.min.js +0 -41373
- package/dist/es/main.d.ts +0 -1
- package/dist/es/store/__tests__/history.spec.d.ts +0 -1
- package/dist/es/store/__tests__/params.spec.d.ts +0 -1
- package/dist/es/store/__tests__/searchBox.spec.d.ts +0 -1
- package/dist/es/store/__tests__/searchResult.spec.d.ts +0 -1
- package/dist/es/store/index.d.ts +0 -2
- package/dist/es/store/modules/dynamicData.d.ts +0 -22
- package/dist/es/store/modules/history.d.ts +0 -13
- package/dist/es/store/modules/options.d.ts +0 -31
- package/dist/es/store/modules/params.d.ts +0 -63
- package/dist/es/store/modules/searchBox.d.ts +0 -66
- package/dist/es/store/modules/searchResult.d.ts +0 -69
- package/dist/es/store/modules/tracking.d.ts +0 -19
- package/dist/es/store/types/State.d.ts +0 -38
- package/dist/es/types/AnalyticsOptions.d.ts +0 -14
- package/dist/es/types/DocumentElement.d.ts +0 -91
- package/dist/es/types/General.d.ts +0 -20
- package/dist/es/types/product-list/ProductListOptions.d.ts +0 -29
- package/dist/es/types/recommendations/RecommendationsOptions.d.ts +0 -25
- package/dist/es/types/search-box/Common.d.ts +0 -51
- package/dist/es/types/search-box/SearchBoxHistory.d.ts +0 -6
- package/dist/es/types/search-box/SearchBoxOptions.d.ts +0 -36
- package/dist/es/types/search-box/SearchBoxPanel.d.ts +0 -28
- package/dist/es/types/search-container/SearchContainerOptions.d.ts +0 -15
- package/dist/es/types/search-results/BadgeOptions.d.ts +0 -61
- package/dist/es/types/search-results/FacetAction.d.ts +0 -16
- package/dist/es/types/search-results/Filters.d.ts +0 -9
- package/dist/es/types/search-results/PaginationOptions.d.ts +0 -20
- package/dist/es/types/search-results/QueryParams.d.ts +0 -4
- package/dist/es/types/search-results/ResultsLayout.d.ts +0 -5
- package/dist/es/types/search-results/RoutingBehavior.d.ts +0 -1
- package/dist/es/types/search-results/SearchResultsAdditionalPanelOptions.d.ts +0 -15
- package/dist/es/types/search-results/SearchResultsOptions.d.ts +0 -177
- package/dist/es/types/search-results/SearchResultsPagination.d.ts +0 -21
- package/dist/es/types/search-results/SearchResultsProductCardOptions.d.ts +0 -24
- package/dist/es/types/search-results/SearchResultsSort.d.ts +0 -11
- package/dist/es/utils/__tests__/debounce.utils.spec.d.ts +0 -1
- package/dist/es/utils/__tests__/event.utils.spec.d.ts +0 -1
- package/dist/es/utils/__tests__/filter.toggle.utils.spec.d.ts +0 -1
- package/dist/es/utils/__tests__/filter.utils.spec.d.ts +0 -1
- package/dist/es/utils/__tests__/history.utils.spec.d.ts +0 -1
- package/dist/es/utils/__tests__/link.utils.spec.d.ts +0 -1
- package/dist/es/utils/__tests__/params.utils.spec.d.ts +0 -1
- package/dist/es/utils/__tests__/picker.utils.spec.d.ts +0 -1
- package/dist/es/utils/__tests__/price.utils.spec.d.ts +0 -1
- package/dist/es/utils/__tests__/query.utils.spec.d.ts +0 -1
- package/dist/es/utils/__tests__/string.utils.spec.d.ts +0 -1
- package/dist/es/utils/__tests__/suggestion.utils.spec.d.ts +0 -1
- package/dist/es/utils/__tests__/tracking.utils.spec.d.ts +0 -1
- package/dist/es/utils/debounce.utils.d.ts +0 -1
- package/dist/es/utils/document.utils.d.ts +0 -1
- package/dist/es/utils/event.utils.d.ts +0 -2
- package/dist/es/utils/filter.toggle.utils.d.ts +0 -23
- package/dist/es/utils/filter.utils.d.ts +0 -11
- package/dist/es/utils/history.utils.d.ts +0 -2
- package/dist/es/utils/link.utils.d.ts +0 -6
- package/dist/es/utils/merger.utils.d.ts +0 -1
- package/dist/es/utils/params.utils.d.ts +0 -9
- package/dist/es/utils/picker.utils.d.ts +0 -5
- package/dist/es/utils/price.utils.d.ts +0 -2
- package/dist/es/utils/query.utils.d.ts +0 -5
- package/dist/es/utils/routing.utils.d.ts +0 -6
- package/dist/es/utils/scroll.utils.d.ts +0 -4
- package/dist/es/utils/shadowDom.utils.d.ts +0 -11
- package/dist/es/utils/string.utils.d.ts +0 -9
- package/dist/es/utils/suggestion.utils.d.ts +0 -3
- package/dist/es/utils/tracking.utils.d.ts +0 -9
- package/dist/iife/ProductListEntry.vue.d.ts +0 -7
- package/dist/iife/RecommendationsEntry.vue.d.ts +0 -6
- package/dist/iife/SearchBoxEntry.vue.d.ts +0 -7
- package/dist/iife/SearchContainerEntry.vue.d.ts +0 -18
- package/dist/iife/SearchResultsEntry.vue.d.ts +0 -7
- package/dist/iife/components/common/ProductImage.vue.d.ts +0 -17
- package/dist/iife/components/common/Spinner.vue.d.ts +0 -3
- package/dist/iife/components/product-list/CategoryDescription.vue.d.ts +0 -7
- package/dist/iife/components/product-list/CategoryFilter.vue.d.ts +0 -23
- package/dist/iife/components/product-list/CategoryFilterItem.vue.d.ts +0 -11
- package/dist/iife/components/product-list/CategoryTopFilters.vue.d.ts +0 -10
- package/dist/iife/components/product-list/ProductList.vue.d.ts +0 -7
- package/dist/iife/components/recommendations/Recommendations.vue.d.ts +0 -25
- package/dist/iife/components/search-box/SearchBox.vue.d.ts +0 -75
- package/dist/iife/components/search-box/SearchBoxInput.vue.d.ts +0 -25
- package/dist/iife/components/search-box/SearchBoxMainPanel.vue.d.ts +0 -33
- package/dist/iife/components/search-box/SearchBoxMoreResults.vue.d.ts +0 -11
- package/dist/iife/components/search-box/__tests__/SearchBox.spec.d.ts +0 -1
- package/dist/iife/components/search-box/__tests__/SearchBoxInput.spec.d.ts +0 -1
- package/dist/iife/components/search-box/__tests__/SearchBoxMainPanel.spec.d.ts +0 -1
- package/dist/iife/components/search-box/history/SearchBoxHistoryItem.vue.d.ts +0 -7
- package/dist/iife/components/search-box/history/SearchBoxHistoryPanel.vue.d.ts +0 -23
- package/dist/iife/components/search-box/history/__tests__/SearchBoxHistoryPanel.vue.spec.d.ts +0 -1
- package/dist/iife/components/search-box/products/SearchBoxProduct.vue.d.ts +0 -28
- package/dist/iife/components/search-box/products/SearchBoxProducts.vue.d.ts +0 -15
- package/dist/iife/components/search-box/products/SearchBoxProductsWrapper.vue.d.ts +0 -32
- package/dist/iife/components/search-box/products/__tests__/SearchBoxProduct.vue.spec.d.ts +0 -1
- package/dist/iife/components/search-box/products/elements/SearchBoxProductCustom.vue.d.ts +0 -12
- package/dist/iife/components/search-box/products/elements/SearchBoxProductDescription.vue.d.ts +0 -9
- package/dist/iife/components/search-box/products/elements/SearchBoxProductElement.vue.d.ts +0 -15
- package/dist/iife/components/search-box/products/elements/SearchBoxProductImage.vue.d.ts +0 -7
- package/dist/iife/components/search-box/products/elements/SearchBoxProductPrice.vue.d.ts +0 -10
- package/dist/iife/components/search-box/products/elements/SearchBoxProductRegularPrice.vue.d.ts +0 -10
- package/dist/iife/components/search-box/products/elements/SearchBoxProductTitle.vue.d.ts +0 -9
- package/dist/iife/components/search-box/products/elements/__tests__/SearchBoxProductCustom.vue.spec.d.ts +0 -1
- package/dist/iife/components/search-box/products/elements/__tests__/SearchBoxProductElement.vue.spec.d.ts +0 -1
- package/dist/iife/components/search-box/products/elements/__tests__/SearchBoxProductImage.spec.d.ts +0 -1
- package/dist/iife/components/search-box/products/elements/__tests__/SearchBoxProductPrice.vue.spec.d.ts +0 -1
- package/dist/iife/components/search-box/products/elements/__tests__/SearchBoxProductTitle.vue.spec.d.ts +0 -1
- package/dist/iife/components/search-box/products/elements/custom/SearchBoxProductCustomHtml.vue.d.ts +0 -10
- package/dist/iife/components/search-box/suggestions/SearchBoxSuggestion.vue.d.ts +0 -12
- package/dist/iife/components/search-box/suggestions/SearchBoxSuggestions.vue.d.ts +0 -22
- package/dist/iife/components/search-box/suggestions/SearchBoxSuggestionsWrapper.vue.d.ts +0 -28
- package/dist/iife/components/search-box/suggestions/__tests__/Suggestions.spec.d.ts +0 -1
- package/dist/iife/components/search-container/SearchContainer.vue.d.ts +0 -19
- package/dist/iife/components/search-results/SearchResults.vue.d.ts +0 -85
- package/dist/iife/components/search-results/SearchResultsBreadcrumbs.vue.d.ts +0 -10
- package/dist/iife/components/search-results/SearchResultsDidYouMean.vue.d.ts +0 -19
- package/dist/iife/components/search-results/SearchResultsTitle.vue.d.ts +0 -16
- package/dist/iife/components/search-results/__tests__/SearchResults.spec.d.ts +0 -1
- package/dist/iife/components/search-results/__tests__/SearchResultsBreadcrumbs.spec.d.ts +0 -1
- package/dist/iife/components/search-results/additional-panels/AdditionalPanel.vue.d.ts +0 -25
- package/dist/iife/components/search-results/additional-panels/AdditionalPanels.vue.d.ts +0 -11
- package/dist/iife/components/search-results/additional-panels/__tests__/AdditionalPanels.vue.spec.d.ts +0 -1
- package/dist/iife/components/search-results/filters/CurrentFilterDisplay.vue.d.ts +0 -6
- package/dist/iife/components/search-results/filters/CurrentFilters.vue.d.ts +0 -37
- package/dist/iife/components/search-results/filters/FiltersTopDropdown.vue.d.ts +0 -5
- package/dist/iife/components/search-results/filters/MobileFilterSidebar.vue.d.ts +0 -14
- package/dist/iife/components/search-results/filters/SearchResultsFilters.vue.d.ts +0 -10
- package/dist/iife/components/search-results/filters/__tests__/CurrentFilterDisplay.vue.spec.d.ts +0 -1
- package/dist/iife/components/search-results/filters/__tests__/CurrentFilters.vue.spec.d.ts +0 -1
- package/dist/iife/components/search-results/filters/facets/FacetDisplay.vue.d.ts +0 -29
- package/dist/iife/components/search-results/filters/facets/FacetList.vue.d.ts +0 -14
- package/dist/iife/components/search-results/filters/facets/Facets.vue.d.ts +0 -31
- package/dist/iife/components/search-results/filters/facets/HierarchyFacet.vue.d.ts +0 -21
- package/dist/iife/components/search-results/filters/facets/HierarchyFacetLevel.vue.d.ts +0 -12
- package/dist/iife/components/search-results/filters/facets/StatsFacet.vue.d.ts +0 -38
- package/dist/iife/components/search-results/filters/facets/TermFacet.vue.d.ts +0 -20
- package/dist/iife/components/search-results/filters/facets/__tests__/FacetDisplay.vue.spec.d.ts +0 -1
- package/dist/iife/components/search-results/filters/facets/__tests__/FacetList.vue.spec.d.ts +0 -1
- package/dist/iife/components/search-results/filters/facets/__tests__/HierarchyFacet.vue.spec.d.ts +0 -1
- package/dist/iife/components/search-results/filters/facets/__tests__/StatsFacet.vue.spec.d.ts +0 -1
- package/dist/iife/components/search-results/filters/facets/__tests__/TermFacet.vue.spec.d.ts +0 -1
- package/dist/iife/components/search-results/products/SearchResultsLayoutSelection.vue.d.ts +0 -8
- package/dist/iife/components/search-results/products/SearchResultsMobileToggle.vue.d.ts +0 -10
- package/dist/iife/components/search-results/products/SearchResultsProducts.vue.d.ts +0 -35
- package/dist/iife/components/search-results/products/SearchResultsSummary.vue.d.ts +0 -8
- package/dist/iife/components/search-results/products/SearchResultsToolbar.vue.d.ts +0 -30
- package/dist/iife/components/search-results/products/__tests__/SearchResultsLayoutSelection.spec.d.ts +0 -1
- package/dist/iife/components/search-results/products/__tests__/SearchResultsProducts.spec.d.ts +0 -1
- package/dist/iife/components/search-results/products/__tests__/SearchResultsToolbar.spec.d.ts +0 -1
- package/dist/iife/components/search-results/products/pagination/SearchResultsPageSelect.vue.d.ts +0 -28
- package/dist/iife/components/search-results/products/pagination/SearchResultsPageSize.vue.d.ts +0 -19
- package/dist/iife/components/search-results/products/pagination/__tests__/SearchResultsPageSelect.spec.d.ts +0 -1
- package/dist/iife/components/search-results/products/pagination/__tests__/SearchResultsPageSize.spec.d.ts +0 -1
- package/dist/iife/components/search-results/products/product-card/SearchResultsProductCard.vue.d.ts +0 -48
- package/dist/iife/components/search-results/products/product-card/__tests__/SearchResultsBadgeWrapper.spec.d.ts +0 -1
- package/dist/iife/components/search-results/products/product-card/__tests__/SearchResultsProductCard.spec.d.ts +0 -1
- package/dist/iife/components/search-results/products/product-card/badges/CustomBadge.vue.d.ts +0 -7
- package/dist/iife/components/search-results/products/product-card/badges/ImageBadge.vue.d.ts +0 -8
- package/dist/iife/components/search-results/products/product-card/badges/SearchResultGeneratedBadge.vue.d.ts +0 -11
- package/dist/iife/components/search-results/products/product-card/badges/SearchResultGeneratedBadges.vue.d.ts +0 -9
- package/dist/iife/components/search-results/products/product-card/badges/SearchResultsBadgeWrapper.vue.d.ts +0 -11
- package/dist/iife/components/search-results/products/product-card/badges/TextBadge.vue.d.ts +0 -7
- package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductAddToCart.vue.d.ts +0 -12
- package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductCardElement.vue.d.ts +0 -20
- package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductCustom.vue.d.ts +0 -14
- package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductDescription.vue.d.ts +0 -10
- package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductImage.vue.d.ts +0 -7
- package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductPrice.vue.d.ts +0 -10
- package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductRating.vue.d.ts +0 -13
- package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductRegularPrice.vue.d.ts +0 -10
- package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductSingleStarRating.vue.d.ts +0 -11
- package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductTitle.vue.d.ts +0 -15
- package/dist/iife/components/search-results/products/product-card/elements/__tests__/SearchResultsProductAddToCart.spec.d.ts +0 -1
- package/dist/iife/components/search-results/products/product-card/elements/__tests__/SearchResultsProductCustom.spec.d.ts +0 -1
- package/dist/iife/components/search-results/products/product-card/elements/__tests__/SearchResultsProductCustomHtmlElement.spec.d.ts +0 -1
- package/dist/iife/components/search-results/products/product-card/elements/__tests__/SearchResultsProductDescription.spec.d.ts +0 -1
- package/dist/iife/components/search-results/products/product-card/elements/__tests__/SearchResultsProductImage.spec.d.ts +0 -1
- package/dist/iife/components/search-results/products/product-card/elements/__tests__/SearchResultsProductPrice.spec.d.ts +0 -1
- package/dist/iife/components/search-results/products/product-card/elements/__tests__/SearchResultsProductRating.spec.d.ts +0 -1
- package/dist/iife/components/search-results/products/product-card/elements/__tests__/SearchResultsProductTitle.spec.d.ts +0 -1
- package/dist/iife/components/search-results/products/product-card/elements/custom/SearchResultsProductCustomHtmlElement.vue.d.ts +0 -10
- package/dist/iife/components/search-results/products/similar-queries/SearchResultsSimilarQueries.vue.d.ts +0 -19
- package/dist/iife/components/search-results/products/similar-queries/SimilarQueryText.vue.d.ts +0 -10
- package/dist/iife/components/search-results/products/sort/SearchResultsSort.vue.d.ts +0 -23
- package/dist/iife/components/search-results/products/sort/__tests__/SearchResultsSort.spec.d.ts +0 -1
- package/dist/iife/constants/development/recommendations.example.const.d.ts +0 -2
- package/dist/iife/constants/development/searchBoxDev.example.const.d.ts +0 -30
- package/dist/iife/constants/development/searchContainerDev.example.d.ts +0 -2
- package/dist/iife/constants/development/searchProductListDev.example.d.ts +0 -28
- package/dist/iife/constants/development/searchResultsDev.example.const.d.ts +0 -117
- package/dist/iife/constants/global.const.d.ts +0 -17
- package/dist/iife/constants/mockData..const.d.ts +0 -4
- package/dist/iife/constants/queryParams.const.d.ts +0 -26
- package/dist/iife/index-iife.d.ts +0 -26
- package/dist/iife/index.d.ts +0 -30
- package/dist/iife/index.min.js +0 -1
- package/dist/iife/main.d.ts +0 -1
- package/dist/iife/store/__tests__/history.spec.d.ts +0 -1
- package/dist/iife/store/__tests__/params.spec.d.ts +0 -1
- package/dist/iife/store/__tests__/searchBox.spec.d.ts +0 -1
- package/dist/iife/store/__tests__/searchResult.spec.d.ts +0 -1
- package/dist/iife/store/index.d.ts +0 -2
- package/dist/iife/store/modules/dynamicData.d.ts +0 -22
- package/dist/iife/store/modules/history.d.ts +0 -13
- package/dist/iife/store/modules/options.d.ts +0 -31
- package/dist/iife/store/modules/params.d.ts +0 -63
- package/dist/iife/store/modules/searchBox.d.ts +0 -66
- package/dist/iife/store/modules/searchResult.d.ts +0 -69
- package/dist/iife/store/modules/tracking.d.ts +0 -19
- package/dist/iife/store/types/State.d.ts +0 -38
- package/dist/iife/types/AnalyticsOptions.d.ts +0 -14
- package/dist/iife/types/DocumentElement.d.ts +0 -91
- package/dist/iife/types/General.d.ts +0 -20
- package/dist/iife/types/product-list/ProductListOptions.d.ts +0 -29
- package/dist/iife/types/recommendations/RecommendationsOptions.d.ts +0 -25
- package/dist/iife/types/search-box/Common.d.ts +0 -51
- package/dist/iife/types/search-box/SearchBoxHistory.d.ts +0 -6
- package/dist/iife/types/search-box/SearchBoxOptions.d.ts +0 -36
- package/dist/iife/types/search-box/SearchBoxPanel.d.ts +0 -28
- package/dist/iife/types/search-container/SearchContainerOptions.d.ts +0 -15
- package/dist/iife/types/search-results/BadgeOptions.d.ts +0 -61
- package/dist/iife/types/search-results/FacetAction.d.ts +0 -16
- package/dist/iife/types/search-results/Filters.d.ts +0 -9
- package/dist/iife/types/search-results/PaginationOptions.d.ts +0 -20
- package/dist/iife/types/search-results/QueryParams.d.ts +0 -4
- package/dist/iife/types/search-results/ResultsLayout.d.ts +0 -5
- package/dist/iife/types/search-results/RoutingBehavior.d.ts +0 -1
- package/dist/iife/types/search-results/SearchResultsAdditionalPanelOptions.d.ts +0 -15
- package/dist/iife/types/search-results/SearchResultsOptions.d.ts +0 -177
- package/dist/iife/types/search-results/SearchResultsPagination.d.ts +0 -21
- package/dist/iife/types/search-results/SearchResultsProductCardOptions.d.ts +0 -24
- package/dist/iife/types/search-results/SearchResultsSort.d.ts +0 -11
- package/dist/iife/utils/__tests__/debounce.utils.spec.d.ts +0 -1
- package/dist/iife/utils/__tests__/event.utils.spec.d.ts +0 -1
- package/dist/iife/utils/__tests__/filter.toggle.utils.spec.d.ts +0 -1
- package/dist/iife/utils/__tests__/filter.utils.spec.d.ts +0 -1
- package/dist/iife/utils/__tests__/history.utils.spec.d.ts +0 -1
- package/dist/iife/utils/__tests__/link.utils.spec.d.ts +0 -1
- package/dist/iife/utils/__tests__/params.utils.spec.d.ts +0 -1
- package/dist/iife/utils/__tests__/picker.utils.spec.d.ts +0 -1
- package/dist/iife/utils/__tests__/price.utils.spec.d.ts +0 -1
- package/dist/iife/utils/__tests__/query.utils.spec.d.ts +0 -1
- package/dist/iife/utils/__tests__/string.utils.spec.d.ts +0 -1
- package/dist/iife/utils/__tests__/suggestion.utils.spec.d.ts +0 -1
- package/dist/iife/utils/__tests__/tracking.utils.spec.d.ts +0 -1
- package/dist/iife/utils/debounce.utils.d.ts +0 -1
- package/dist/iife/utils/document.utils.d.ts +0 -1
- package/dist/iife/utils/event.utils.d.ts +0 -2
- package/dist/iife/utils/filter.toggle.utils.d.ts +0 -23
- package/dist/iife/utils/filter.utils.d.ts +0 -11
- package/dist/iife/utils/history.utils.d.ts +0 -2
- package/dist/iife/utils/link.utils.d.ts +0 -6
- package/dist/iife/utils/merger.utils.d.ts +0 -1
- package/dist/iife/utils/params.utils.d.ts +0 -9
- package/dist/iife/utils/picker.utils.d.ts +0 -5
- package/dist/iife/utils/price.utils.d.ts +0 -2
- package/dist/iife/utils/query.utils.d.ts +0 -5
- package/dist/iife/utils/routing.utils.d.ts +0 -6
- package/dist/iife/utils/scroll.utils.d.ts +0 -4
- package/dist/iife/utils/string.utils.d.ts +0 -9
- package/dist/iife/utils/suggestion.utils.d.ts +0 -3
- package/dist/iife/utils/tracking.utils.d.ts +0 -9
- package/dist/lupaContainerStyle.css +0 -1
- package/jest.config.js +0 -22
- package/vue-carousel.d.ts +0 -1
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { AnchorPosition } from "./SearchResultsProductCardOptions";
|
|
2
|
-
export declare type SearchResultBadgeType = "text" | "image" | "customHtml";
|
|
3
|
-
export declare type BadgeGenerateSeed = {
|
|
4
|
-
id?: string;
|
|
5
|
-
backgroundColor?: string;
|
|
6
|
-
color?: string;
|
|
7
|
-
titleText?: string;
|
|
8
|
-
additionalText?: string;
|
|
9
|
-
};
|
|
10
|
-
export declare type BadgeGenerateOptions<T = Record<string, any>> = {
|
|
11
|
-
key?: string;
|
|
12
|
-
keyMap?: Record<keyof BadgeGenerateSeed, keyof T>;
|
|
13
|
-
image?: (field: BadgeGenerateSeed) => string | undefined;
|
|
14
|
-
showTitle?: (field: BadgeGenerateSeed) => boolean;
|
|
15
|
-
customClass?: (field: BadgeGenerateSeed) => string | undefined;
|
|
16
|
-
};
|
|
17
|
-
export declare type BadgeOptions = {
|
|
18
|
-
anchor: AnchorPosition;
|
|
19
|
-
elements: BadgeElement[];
|
|
20
|
-
generate?: BadgeGenerateOptions;
|
|
21
|
-
product?: any;
|
|
22
|
-
};
|
|
23
|
-
export declare type SearchResultBadgeElement<T = any> = {
|
|
24
|
-
type: SearchResultBadgeType;
|
|
25
|
-
key: string;
|
|
26
|
-
isHtml?: boolean;
|
|
27
|
-
className?: string;
|
|
28
|
-
product?: T;
|
|
29
|
-
display?: (document: T) => boolean;
|
|
30
|
-
rootImageUrl?: string;
|
|
31
|
-
maxItems?: number;
|
|
32
|
-
html?: (doc: T) => string;
|
|
33
|
-
position?: "card" | "image";
|
|
34
|
-
};
|
|
35
|
-
export declare type BaseBadgeElement<T = any> = SearchResultBadgeElement<T> & {
|
|
36
|
-
value?: string;
|
|
37
|
-
};
|
|
38
|
-
export declare type TextBadgeElement<T = any> = BaseBadgeElement<T> & {
|
|
39
|
-
type: "text";
|
|
40
|
-
prefix?: string;
|
|
41
|
-
maxItems?: number;
|
|
42
|
-
};
|
|
43
|
-
export declare type ImageBadgeElement<T = any> = BaseBadgeElement<T> & {
|
|
44
|
-
type: "image";
|
|
45
|
-
rootImageUrl?: string;
|
|
46
|
-
maxItems?: number;
|
|
47
|
-
};
|
|
48
|
-
export declare type CustomHtmlBadgeElement<T = any> = BaseBadgeElement<T> & {
|
|
49
|
-
type: "customHtml";
|
|
50
|
-
className?: string;
|
|
51
|
-
html: (doc: T) => string;
|
|
52
|
-
};
|
|
53
|
-
export declare type BadgeElement = BaseBadgeElement | TextBadgeElement;
|
|
54
|
-
export declare enum BadgeType {
|
|
55
|
-
DISCOUNTPERCENTAGE = "discountPercentage",
|
|
56
|
-
DISCOUNTAMOUNT = "discountAmount",
|
|
57
|
-
NEWITEM = "newItem",
|
|
58
|
-
TEXT = "text",
|
|
59
|
-
IMAGE = "image",
|
|
60
|
-
CUSTOM_HTML = "customHtml"
|
|
61
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export declare type TermFacetAction = {
|
|
2
|
-
type: "terms";
|
|
3
|
-
value: string;
|
|
4
|
-
key: string;
|
|
5
|
-
};
|
|
6
|
-
export declare type HierarchyFacetAction = {
|
|
7
|
-
type: "hierarchy";
|
|
8
|
-
value: string;
|
|
9
|
-
key: string;
|
|
10
|
-
};
|
|
11
|
-
export declare type RangeFacetAction = {
|
|
12
|
-
type: "range";
|
|
13
|
-
value: string[];
|
|
14
|
-
key: string;
|
|
15
|
-
};
|
|
16
|
-
export declare type FacetAction = TermFacetAction | RangeFacetAction | HierarchyFacetAction;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { SearchResultsPaginationLabels } from "./SearchResultsPagination";
|
|
2
|
-
export declare type PaginationOptions = {
|
|
3
|
-
pageSize: PaginationPageSize;
|
|
4
|
-
pageSelect: PaginationPageSelect;
|
|
5
|
-
labels: SearchResultsPaginationLabels;
|
|
6
|
-
};
|
|
7
|
-
export declare type PaginationPageSize = {
|
|
8
|
-
sizes: number[];
|
|
9
|
-
selectedSize: number;
|
|
10
|
-
};
|
|
11
|
-
export declare type PaginationPageSelect = {
|
|
12
|
-
count: number;
|
|
13
|
-
selectedPage: number;
|
|
14
|
-
display: number;
|
|
15
|
-
displayMobile: number;
|
|
16
|
-
};
|
|
17
|
-
export declare type PaginationDisplay = {
|
|
18
|
-
pageSize: boolean;
|
|
19
|
-
pageSelect: boolean;
|
|
20
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare type RoutingBehavior = "direct-link" | "event";
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { DocumentElement } from "../DocumentElement";
|
|
2
|
-
export declare type SearchResultsAdditionalPanelOptions = {
|
|
3
|
-
location: "top" | "bottom";
|
|
4
|
-
queryKey: string;
|
|
5
|
-
initialCountLimit: number;
|
|
6
|
-
totalCountLimit: number;
|
|
7
|
-
links?: {
|
|
8
|
-
details: string;
|
|
9
|
-
};
|
|
10
|
-
labels: {
|
|
11
|
-
showMore: string;
|
|
12
|
-
showLess: string;
|
|
13
|
-
};
|
|
14
|
-
elements: DocumentElement[];
|
|
15
|
-
};
|
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
import { SdkOptions } from "../General";
|
|
2
|
-
import { CategoryFilterOptions } from "../product-list/ProductListOptions";
|
|
3
|
-
import { SearchResultsAdditionalPanelOptions } from "./SearchResultsAdditionalPanelOptions";
|
|
4
|
-
import { SearchResultsProductCardOptions } from "./SearchResultsProductCardOptions";
|
|
5
|
-
import { SearchResultsSortOptions } from "./SearchResultsSort";
|
|
6
|
-
export declare type SearchResultsOptions = SearchResultsProductOptions & SearchResultsAdditionalPanels & {
|
|
7
|
-
containerSelector: string;
|
|
8
|
-
breadcrumbs: SearchResultsBreadcrumb[];
|
|
9
|
-
classMap?: Record<string, string>;
|
|
10
|
-
disallowEmptyQuery?: boolean;
|
|
11
|
-
callbacks?: SearchResultEventCallbacks;
|
|
12
|
-
categories?: CategoryFilterOptions;
|
|
13
|
-
dynamicData?: DynamicData;
|
|
14
|
-
};
|
|
15
|
-
export declare type SearchTitlePosition = "page-top" | "search-results-top";
|
|
16
|
-
export declare type SearchResultsDidYouMeanLabels = {
|
|
17
|
-
noResultsSuggestion: string;
|
|
18
|
-
didYouMean: string;
|
|
19
|
-
};
|
|
20
|
-
export declare type SearchResultsSimilarQueriesLabels = {
|
|
21
|
-
similarQuery: string;
|
|
22
|
-
similarQueries: string;
|
|
23
|
-
aiSuggestions?: string;
|
|
24
|
-
};
|
|
25
|
-
export declare type CallbackContext = {
|
|
26
|
-
queryKey: string;
|
|
27
|
-
hasResults?: boolean;
|
|
28
|
-
urlQueryString?: string;
|
|
29
|
-
productId?: string;
|
|
30
|
-
};
|
|
31
|
-
export declare type SearchResultEventCallbacks = {
|
|
32
|
-
onSearchResults?: (context: CallbackContext) => unknown;
|
|
33
|
-
onAdditionalPanelResults?: (context: CallbackContext) => unknown;
|
|
34
|
-
onCategoryFilterResults?: (context: CallbackContext) => unknown;
|
|
35
|
-
onProductClick?: (context: CallbackContext) => unknown;
|
|
36
|
-
onUrlQueryChange?: (context: CallbackContext) => unknown;
|
|
37
|
-
onMounted?: () => unknown;
|
|
38
|
-
};
|
|
39
|
-
export declare type SearchResultsOptionLabels = SearchResultsPaginationLabels & SearchResultsDidYouMeanLabels & SearchResultsSimilarQueriesLabels & {
|
|
40
|
-
sortBy: string;
|
|
41
|
-
currency: string;
|
|
42
|
-
priceSeparator?: string;
|
|
43
|
-
searchResults?: string;
|
|
44
|
-
itemCount: string;
|
|
45
|
-
emptyResults: string;
|
|
46
|
-
mobileFilterButton: string;
|
|
47
|
-
htmlTitleTemplate: string;
|
|
48
|
-
outOfStock?: string;
|
|
49
|
-
noItemsInPage?: string;
|
|
50
|
-
backToFirstPage?: string;
|
|
51
|
-
};
|
|
52
|
-
export declare type SearchResultsAdditionalPanels = {
|
|
53
|
-
additionalPanels?: SearchResultsAdditionalPanelOptions[];
|
|
54
|
-
};
|
|
55
|
-
export declare type SearchResultsProductOptions = SearchResultsProductCardOptions & SearchResultsAdditionalPanels & {
|
|
56
|
-
grid: ProductGrid;
|
|
57
|
-
options: SdkOptions;
|
|
58
|
-
queryKey: string;
|
|
59
|
-
pagination: SearchResultsPagination;
|
|
60
|
-
sort: SearchResultsSortOptions[];
|
|
61
|
-
filters?: SearchResultsFilterOptions;
|
|
62
|
-
searchTitlePosition?: string;
|
|
63
|
-
toolbar?: {
|
|
64
|
-
layoutSelector?: boolean;
|
|
65
|
-
itemSummary?: boolean;
|
|
66
|
-
clearFilters?: boolean;
|
|
67
|
-
totalCount?: boolean;
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
export declare type ProductGrid = {
|
|
71
|
-
columns: {
|
|
72
|
-
xl: number;
|
|
73
|
-
l: number;
|
|
74
|
-
md: number;
|
|
75
|
-
sm: number;
|
|
76
|
-
xs: number;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
export declare type SearchResultsPaginationLabels = {
|
|
80
|
-
pageSize: string;
|
|
81
|
-
showMore: string;
|
|
82
|
-
showLess?: string;
|
|
83
|
-
};
|
|
84
|
-
export declare type ResponsiveSearchResultPageSizes = {
|
|
85
|
-
xs: number[];
|
|
86
|
-
sm: number[];
|
|
87
|
-
md: number[];
|
|
88
|
-
l: number[];
|
|
89
|
-
xl: number[];
|
|
90
|
-
};
|
|
91
|
-
export declare type SearchResultPageSizes = number[] | ResponsiveSearchResultPageSizes;
|
|
92
|
-
export declare type SearchResultsPagination = {
|
|
93
|
-
sizeSelection: {
|
|
94
|
-
sizes: SearchResultPageSizes;
|
|
95
|
-
position: SearchResultsPaginationPosition;
|
|
96
|
-
};
|
|
97
|
-
pageSelection: {
|
|
98
|
-
position: SearchResultsPaginationPosition;
|
|
99
|
-
display: number;
|
|
100
|
-
displayMobile: number;
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
export declare type SearchResultsPaginationPosition = {
|
|
104
|
-
top: boolean;
|
|
105
|
-
bottom: boolean;
|
|
106
|
-
};
|
|
107
|
-
export declare type ResultCurrentFilterOptions = {
|
|
108
|
-
labels: {
|
|
109
|
-
title: string;
|
|
110
|
-
clearAll: string;
|
|
111
|
-
};
|
|
112
|
-
visibility?: {
|
|
113
|
-
mobileSidebar?: boolean;
|
|
114
|
-
mobileToolbar?: boolean;
|
|
115
|
-
desktopSidebar?: boolean;
|
|
116
|
-
desktopToolbar?: boolean;
|
|
117
|
-
};
|
|
118
|
-
mobileSidebar?: {
|
|
119
|
-
showFilterCount?: boolean;
|
|
120
|
-
activeFiltersExpanded?: boolean;
|
|
121
|
-
};
|
|
122
|
-
desktopToolbar?: {
|
|
123
|
-
activeFiltersExpanded?: boolean;
|
|
124
|
-
};
|
|
125
|
-
};
|
|
126
|
-
export declare type FacetStyle = "sidebar" | "top-dropdown";
|
|
127
|
-
export declare type FacetFilterQuery = {
|
|
128
|
-
queryKey: string;
|
|
129
|
-
};
|
|
130
|
-
export declare type ResultFacetOptions = {
|
|
131
|
-
labels: {
|
|
132
|
-
title: string;
|
|
133
|
-
showAll: string;
|
|
134
|
-
showLess?: string;
|
|
135
|
-
facetFilter: string;
|
|
136
|
-
facetClear?: string;
|
|
137
|
-
};
|
|
138
|
-
promotedFacets?: string[];
|
|
139
|
-
filterable?: {
|
|
140
|
-
minValues: number;
|
|
141
|
-
};
|
|
142
|
-
hierarchy?: {
|
|
143
|
-
maxInitialLevel: number;
|
|
144
|
-
topLevelValueCountLimit?: number;
|
|
145
|
-
filterable?: boolean;
|
|
146
|
-
};
|
|
147
|
-
stats?: {
|
|
148
|
-
slider?: boolean;
|
|
149
|
-
inputs?: boolean;
|
|
150
|
-
labels?: {
|
|
151
|
-
from?: string;
|
|
152
|
-
to?: string;
|
|
153
|
-
};
|
|
154
|
-
};
|
|
155
|
-
facetValueCountLimit?: number;
|
|
156
|
-
showDocumentCount?: boolean;
|
|
157
|
-
style?: {
|
|
158
|
-
type: FacetStyle;
|
|
159
|
-
};
|
|
160
|
-
exclude?: string[];
|
|
161
|
-
expand?: string[];
|
|
162
|
-
facetFilterQueries?: Record<string, FacetFilterQuery>;
|
|
163
|
-
};
|
|
164
|
-
export declare type SearchResultsFilterOptions = {
|
|
165
|
-
currentFilters?: ResultCurrentFilterOptions;
|
|
166
|
-
facets?: ResultFacetOptions;
|
|
167
|
-
categories?: CategoryFilterOptions;
|
|
168
|
-
};
|
|
169
|
-
export declare type SearchResultsBreadcrumb = {
|
|
170
|
-
label: string;
|
|
171
|
-
link?: string;
|
|
172
|
-
};
|
|
173
|
-
export declare type DynamicData = {
|
|
174
|
-
enabled?: boolean;
|
|
175
|
-
cache?: boolean;
|
|
176
|
-
handler?: (documentIds: string[]) => Promise<Record<"id" | string, unknown>[]>;
|
|
177
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export declare type SearchResultsPaginationLabels = {
|
|
2
|
-
pageSize: string;
|
|
3
|
-
showMore?: string;
|
|
4
|
-
showLess?: string;
|
|
5
|
-
itemCount: string;
|
|
6
|
-
filteredItemCount?: string;
|
|
7
|
-
};
|
|
8
|
-
export declare type SearchResultsPagination = {
|
|
9
|
-
sizeSelection: {
|
|
10
|
-
sizes: number[];
|
|
11
|
-
position: SearchResultsPaginationPosition;
|
|
12
|
-
};
|
|
13
|
-
pageSelection: {
|
|
14
|
-
position: SearchResultsPaginationPosition;
|
|
15
|
-
display: number;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export declare type SearchResultsPaginationPosition = {
|
|
19
|
-
top: boolean;
|
|
20
|
-
bottom: boolean;
|
|
21
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Document } from "@getlupa/client-sdk/Types";
|
|
2
|
-
import { DocumentElement } from "../DocumentElement";
|
|
3
|
-
import { BadgeElement, BadgeGenerateOptions } from "./BadgeOptions";
|
|
4
|
-
import { RoutingBehavior } from "./RoutingBehavior";
|
|
5
|
-
import { SearchResultsOptionLabels } from "./SearchResultsOptions";
|
|
6
|
-
export declare type SearchResultsProductCardOptions = {
|
|
7
|
-
labels: SearchResultsOptionLabels;
|
|
8
|
-
routingBehavior?: RoutingBehavior;
|
|
9
|
-
isInStock: (doc: Document) => boolean;
|
|
10
|
-
badges: SearchResultBadgeOptions;
|
|
11
|
-
links: {
|
|
12
|
-
details: string;
|
|
13
|
-
};
|
|
14
|
-
elements: DocumentElement[];
|
|
15
|
-
queryKey: string;
|
|
16
|
-
idKey?: string;
|
|
17
|
-
titleKey?: string;
|
|
18
|
-
};
|
|
19
|
-
export declare type SearchResultBadgeOptions = {
|
|
20
|
-
anchor: AnchorPosition;
|
|
21
|
-
elements: BadgeElement[];
|
|
22
|
-
generate?: BadgeGenerateOptions;
|
|
23
|
-
};
|
|
24
|
-
export declare type AnchorPosition = "tr" | "tl";
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { SortDirection } from "../General";
|
|
2
|
-
export declare type SearchResultsSortOptions = {
|
|
3
|
-
key: string;
|
|
4
|
-
label: string;
|
|
5
|
-
config: Record<string, SortDirection>[];
|
|
6
|
-
default?: boolean;
|
|
7
|
-
};
|
|
8
|
-
export declare type SortOptions = {
|
|
9
|
-
label: string;
|
|
10
|
-
options: SearchResultsSortOptions[];
|
|
11
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const debounce: (func: (...args: unknown[]) => unknown, timeout?: number | undefined) => (() => unknown);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const setDocumentTitle: (template: string, textToInsert?: string) => void;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { HierarchyFacetAction, RangeFacetAction, TermFacetAction } from "@/types/search-results/FacetAction";
|
|
2
|
-
import { FilterType } from "@/types/search-results/Filters";
|
|
3
|
-
import { FilterGroup } from "@getlupa/client-sdk/Types";
|
|
4
|
-
declare type AppendParams = ({ params, paramsToRemove, encode, }: {
|
|
5
|
-
params: {
|
|
6
|
-
name: string;
|
|
7
|
-
value: string | string[];
|
|
8
|
-
}[];
|
|
9
|
-
paramsToRemove?: string[];
|
|
10
|
-
encode?: boolean;
|
|
11
|
-
}) => unknown;
|
|
12
|
-
export declare const getFacetKey: (key: string, type: FilterType) => string;
|
|
13
|
-
export declare const getFacetParam: (key: string, value: string[] | string, type?: string) => {
|
|
14
|
-
name: string;
|
|
15
|
-
value: string[] | string;
|
|
16
|
-
};
|
|
17
|
-
export declare const toggleTermFilter: (appendParams: AppendParams, facetAction: TermFacetAction, currentFilters?: FilterGroup | undefined) => void;
|
|
18
|
-
export declare const toggleHierarchyFilter: (appendParams: AppendParams, facetAction: HierarchyFacetAction, currentFilters?: FilterGroup | undefined, removeAllLevels?: boolean) => void;
|
|
19
|
-
export declare const toggleRangeFilter: (appendParams: AppendParams, facetAction: RangeFacetAction, currentFilters?: FilterGroup | undefined) => void;
|
|
20
|
-
export declare const toggleTermParam: (params?: string[], param?: string) => string[];
|
|
21
|
-
export declare const toggleLastPram: (params?: string[], param?: string) => string[];
|
|
22
|
-
export declare const toggleHierarchyParam: (params?: string[], param?: string, removeAllLevels?: boolean) => string[];
|
|
23
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { LabeledFilter, UnfoldedFilter } from "@/types/search-results/Filters";
|
|
2
|
-
import { FacetResult, FilterGroup, FilterGroupItemTypeRange, HierarchyTree } from "@getlupa/client-sdk/Types";
|
|
3
|
-
export declare const formatRange: (filter: FilterGroupItemTypeRange) => string;
|
|
4
|
-
export declare const unfoldFilters: (filters?: FilterGroup | undefined) => UnfoldedFilter[];
|
|
5
|
-
export declare const getLabeledFilters: (filters: UnfoldedFilter[], facets?: FacetResult[] | undefined) => LabeledFilter[];
|
|
6
|
-
export declare const isFacetKey: (key: string) => boolean;
|
|
7
|
-
export declare const isArrayKey: (key: string) => boolean;
|
|
8
|
-
export declare const getMostSpecificHierarchyTerms: (terms: string[]) => string[];
|
|
9
|
-
export declare const recursiveFilter: (items: HierarchyTree[], query?: string) => HierarchyTree[];
|
|
10
|
-
export declare const recursiveFilterItem: (item: HierarchyTree, query?: string) => HierarchyTree | undefined;
|
|
11
|
-
export declare const rangeFilterToString: (rangeFilter: FilterGroupItemTypeRange, separator?: string | undefined) => string;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { InputSuggestionFacet } from "@/types/search-box/Common";
|
|
2
|
-
export declare const generateLink: (linkPattern: string, document: Record<string, unknown>) => string;
|
|
3
|
-
export declare const generateResultLink: (link: string, searchText?: string | undefined, facet?: InputSuggestionFacet | undefined) => string;
|
|
4
|
-
export declare const getPathName: (resultPageLink: string) => string;
|
|
5
|
-
export declare const getRelativePath: (link: string) => string;
|
|
6
|
-
export declare const linksMatch: (link1?: string | undefined, link2?: string | undefined) => boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const merge: <A extends Record<string, any>, B extends Record<string, any>>(target: A, source: B) => A & B;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { QueryParams } from "@/types/search-results/QueryParams";
|
|
2
|
-
export declare const parseParams: (searchParams?: URLSearchParams | undefined) => QueryParams;
|
|
3
|
-
export declare const appendParam: (url: URL, { name, value }: {
|
|
4
|
-
name: string;
|
|
5
|
-
value: string | string[];
|
|
6
|
-
}, encode?: boolean) => void;
|
|
7
|
-
export declare const getRemovableParams: (url: URL, paramsToRemove?: string[] | "all" | undefined) => string[] | undefined;
|
|
8
|
-
export declare const removeParams: (url: URL, params?: string[]) => void;
|
|
9
|
-
export declare const encodeParam: (param: string) => string;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare const pick: <T extends Record<string, unknown>, U extends keyof T>(obj: T, keys: U[]) => Pick<T, U>;
|
|
2
|
-
export declare const getHint: (suggestion: string, inputValue: string) => string;
|
|
3
|
-
export declare const reverseKeyValue: (obj: Record<string, string>) => Record<string, string>;
|
|
4
|
-
export declare const pickClosestNumber: (numbers: number[], closestTo: number) => number;
|
|
5
|
-
export declare const getPageCount: (total: number, limit: number) => number;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export declare const formatPrice: (price?: string | number | undefined, currency?: string, separator?: string) => string;
|
|
2
|
-
export declare const formatPriceSummary: ([min, max]: [min?: string | number | undefined, max?: string | number | undefined], currency?: string | undefined, separator?: string) => string;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { QueryParams } from "@/types/search-results/QueryParams";
|
|
2
|
-
import { SearchResultsSortOptions } from "@/types/search-results/SearchResultsSort";
|
|
3
|
-
import { FilterGroup, PublicQuery } from "@getlupa/client-sdk/Types";
|
|
4
|
-
export declare const createPublicQuery: (queryParams: QueryParams, sortOptions?: SearchResultsSortOptions[] | undefined, defaultPageSize?: number | undefined) => PublicQuery;
|
|
5
|
-
export declare const getPublicQuery: (publicQuery: PublicQuery, initialFilters: FilterGroup, isProductList: boolean) => PublicQuery;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { InputSuggestionFacet } from "@/types/search-box/Common";
|
|
2
|
-
import { RoutingBehavior } from "..";
|
|
3
|
-
export declare const emitRoutingEvent: (url: string) => void;
|
|
4
|
-
export declare const handleRoutingEvent: (link: string, event?: Event | undefined, hasEventRouting?: boolean) => void;
|
|
5
|
-
export declare const redirectToResultsPage: (link: string, searchText: string, facet?: InputSuggestionFacet | undefined, routingBehavior?: RoutingBehavior) => void;
|
|
6
|
-
export declare const getPageUrl: (pathnameOverride?: string | undefined) => URL;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Document } from "@getlupa/client-sdk/Types";
|
|
2
|
-
export declare const getNormalizedString: (str?: string | number | undefined) => string;
|
|
3
|
-
export declare const capitalize: (str?: string | undefined) => string;
|
|
4
|
-
export declare const addParamsToLabel: (label: string, ...params: unknown[]) => string;
|
|
5
|
-
export declare const getRandomString: (length: number) => string;
|
|
6
|
-
export declare const getDisplayValue: (value?: string | number | undefined) => string;
|
|
7
|
-
export declare const getProductKey: (index: string, product: Document, idKey: string | undefined) => string;
|
|
8
|
-
export declare const normalizeFloat: (value?: string | undefined) => number;
|
|
9
|
-
export declare const escapeHtml: (value?: string | undefined) => string;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TrackingOptions } from "@/types/General";
|
|
2
|
-
import { TrackableEventData } from "@/types/search-box/Common";
|
|
3
|
-
import { Options } from "@getlupa/client-sdk/Types";
|
|
4
|
-
export declare const initTracking: (options: TrackingOptions) => void;
|
|
5
|
-
export declare const getLupaTrackingContext: () => {
|
|
6
|
-
userId?: string;
|
|
7
|
-
sessionId?: string;
|
|
8
|
-
};
|
|
9
|
-
export declare const track: (queryKey?: string | undefined, data?: TrackableEventData, options?: Options | undefined) => void;
|