@getlupa/client 0.16.1 → 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 -10
- 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 -41372
- 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 -60
- 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 -10
- 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 -41368
- 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 -60
- 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 -10
- 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 -60
- 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
package/dist/cjs/main.d.ts
DELETED
|
@@ -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,22 +0,0 @@
|
|
|
1
|
-
import { SearchBoxOptions } from "@/types/search-box/SearchBoxOptions";
|
|
2
|
-
import { DynamicData, SearchResultsOptions } from "@/types/search-results/SearchResultsOptions";
|
|
3
|
-
import { Document, SearchQueryResult } from "@getlupa/client-sdk/Types";
|
|
4
|
-
import { VuexModule } from "vuex-module-decorators";
|
|
5
|
-
export default class DynamicDataModule extends VuexModule {
|
|
6
|
-
loading: boolean;
|
|
7
|
-
dynamicDataIdMap: Record<string, Document>;
|
|
8
|
-
get loadedIds(): string[];
|
|
9
|
-
get searchResultOptions(): SearchResultsOptions;
|
|
10
|
-
get searchBoxOptions(): SearchBoxOptions;
|
|
11
|
-
get dynamicSearchResultData(): DynamicData | undefined;
|
|
12
|
-
get dynamicSearchBoxData(): DynamicData | undefined;
|
|
13
|
-
get isDynamicDataEnabledForSearchResults(): boolean;
|
|
14
|
-
get isDynamicDataEnabledForSearchBox(): boolean;
|
|
15
|
-
get isCacheEnabled(): boolean;
|
|
16
|
-
enhanceSearchResultsWithDynamicData({ result, mode, }: {
|
|
17
|
-
result?: SearchQueryResult;
|
|
18
|
-
mode?: "searchBox" | "searchResults";
|
|
19
|
-
}): Promise<Record<string, Document>>;
|
|
20
|
-
save(newData: Record<string, Document>): void;
|
|
21
|
-
setLoading(state: boolean): void;
|
|
22
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { VuexModule } from "vuex-module-decorators";
|
|
2
|
-
export default class HistoryModule extends VuexModule {
|
|
3
|
-
items: string[];
|
|
4
|
-
get count(): number;
|
|
5
|
-
save(items: string[]): void;
|
|
6
|
-
add({ item }: {
|
|
7
|
-
item?: string;
|
|
8
|
-
}): string[];
|
|
9
|
-
remove({ item }: {
|
|
10
|
-
item: string;
|
|
11
|
-
}): string[];
|
|
12
|
-
clear(): string[];
|
|
13
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { TrackingOptions } from "@/types/General";
|
|
2
|
-
import { SearchBoxOptions } from "@/types/search-box/SearchBoxOptions";
|
|
3
|
-
import { RoutingBehavior } from "@/types/search-results/RoutingBehavior";
|
|
4
|
-
import { SearchResultsOptions } from "@/types/search-results/SearchResultsOptions";
|
|
5
|
-
import { FilterGroup, Options } from "@getlupa/client-sdk/Types";
|
|
6
|
-
import { VuexModule } from "vuex-module-decorators";
|
|
7
|
-
export default class OptionsModule extends VuexModule {
|
|
8
|
-
searchBoxOptions: SearchBoxOptions;
|
|
9
|
-
searchResultOptions: SearchResultsOptions;
|
|
10
|
-
trackingOptions: TrackingOptions;
|
|
11
|
-
searchResultInitialFilters: FilterGroup;
|
|
12
|
-
get envOptions(): Options;
|
|
13
|
-
get classMap(): Record<string, string>;
|
|
14
|
-
get initialFilters(): FilterGroup;
|
|
15
|
-
get boxRoutingBehavior(): RoutingBehavior;
|
|
16
|
-
get searchResultsRoutingBehavior(): RoutingBehavior;
|
|
17
|
-
get defaultSearchResultPageSize(): number;
|
|
18
|
-
get currentResolutionPageSizes(): number[];
|
|
19
|
-
setSearchBoxOptions({ options }: {
|
|
20
|
-
options: SearchBoxOptions;
|
|
21
|
-
}): void;
|
|
22
|
-
setTrackingOptions({ options }: {
|
|
23
|
-
options: TrackingOptions;
|
|
24
|
-
}): void;
|
|
25
|
-
setSearchResultOptions({ options }: {
|
|
26
|
-
options: SearchResultsOptions;
|
|
27
|
-
}): void;
|
|
28
|
-
setInitialFilters({ initialFilters }: {
|
|
29
|
-
initialFilters: FilterGroup;
|
|
30
|
-
}): void;
|
|
31
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { InputSuggestionFacet } from "@/types/search-box/Common";
|
|
2
|
-
import { QueryParams } from "@/types/search-results/QueryParams";
|
|
3
|
-
import { FilterGroup } from "@getlupa/client-sdk/Types";
|
|
4
|
-
import { VuexModule } from "vuex-module-decorators";
|
|
5
|
-
export default class ParamsModule extends VuexModule {
|
|
6
|
-
params: QueryParams;
|
|
7
|
-
defaultLimit: number;
|
|
8
|
-
searchResultsLink: string;
|
|
9
|
-
searchString: string;
|
|
10
|
-
get query(): string;
|
|
11
|
-
get page(): number;
|
|
12
|
-
get limit(): number;
|
|
13
|
-
get sort(): string | string[];
|
|
14
|
-
get filters(): FilterGroup;
|
|
15
|
-
save({ params, defaultLimit, searchResultsLink, searchString, }: {
|
|
16
|
-
params?: QueryParams;
|
|
17
|
-
defaultLimit?: number;
|
|
18
|
-
searchResultsLink?: string;
|
|
19
|
-
searchString?: string;
|
|
20
|
-
}): void;
|
|
21
|
-
add(params: QueryParams): {
|
|
22
|
-
params: QueryParams;
|
|
23
|
-
searchString?: string;
|
|
24
|
-
};
|
|
25
|
-
removeAllFilters(): {
|
|
26
|
-
params: QueryParams;
|
|
27
|
-
searchString: string;
|
|
28
|
-
};
|
|
29
|
-
removeParams({ paramsToRemove, save, }: {
|
|
30
|
-
paramsToRemove?: "all" | string[];
|
|
31
|
-
save: boolean;
|
|
32
|
-
}): {
|
|
33
|
-
params?: QueryParams;
|
|
34
|
-
searchString?: string;
|
|
35
|
-
};
|
|
36
|
-
handleNoResultsFlag({ resultCount, noResultsParam, }: {
|
|
37
|
-
resultCount: number;
|
|
38
|
-
noResultsParam?: string;
|
|
39
|
-
}): void;
|
|
40
|
-
goToResults({ searchText, facet, }: {
|
|
41
|
-
searchText: string;
|
|
42
|
-
facet?: InputSuggestionFacet;
|
|
43
|
-
}): void;
|
|
44
|
-
appendParams({ params, paramsToRemove, encode, save, searchResultsLink, }: {
|
|
45
|
-
params: {
|
|
46
|
-
name: string;
|
|
47
|
-
value: string;
|
|
48
|
-
}[];
|
|
49
|
-
paramsToRemove?: "all" | string[];
|
|
50
|
-
encode?: boolean;
|
|
51
|
-
save?: boolean;
|
|
52
|
-
searchResultsLink?: string;
|
|
53
|
-
}): {
|
|
54
|
-
params?: QueryParams;
|
|
55
|
-
searchString?: string;
|
|
56
|
-
};
|
|
57
|
-
setDefaultLimit(defaultLimit: number): {
|
|
58
|
-
defaultLimit: number;
|
|
59
|
-
};
|
|
60
|
-
setSearchResultsLink(searchResultsLink: string): {
|
|
61
|
-
searchResultsLink: string;
|
|
62
|
-
};
|
|
63
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { SearchBoxOptions } from "@/types/search-box/SearchBoxOptions";
|
|
2
|
-
import { PublicQuery, SearchQueryResult, Suggestion } from "@getlupa/client-sdk/Types";
|
|
3
|
-
import { VuexModule } from "vuex-module-decorators";
|
|
4
|
-
import { DisplaySuggestion, HighlightedDocInfo } from "@/types/search-box/Common";
|
|
5
|
-
import { SearchBoxPanel } from "@/types/search-box/SearchBoxPanel";
|
|
6
|
-
import { SdkOptions } from "@/types/General";
|
|
7
|
-
export default class SearchBoxModule extends VuexModule {
|
|
8
|
-
options: SearchBoxOptions;
|
|
9
|
-
docResults: Record<string, SearchQueryResult>;
|
|
10
|
-
suggestionResults: Record<string, DisplaySuggestion[]>;
|
|
11
|
-
highlightedIndex: number;
|
|
12
|
-
inputValue: string;
|
|
13
|
-
saveOptions({ options }: {
|
|
14
|
-
options: SearchBoxOptions;
|
|
15
|
-
}): void;
|
|
16
|
-
saveInputValue({ input }: {
|
|
17
|
-
input: string;
|
|
18
|
-
}): void;
|
|
19
|
-
get resultsVisible(): boolean;
|
|
20
|
-
get panelItemCounts(): {
|
|
21
|
-
queryKey: string;
|
|
22
|
-
count: number;
|
|
23
|
-
panel: SearchBoxPanel;
|
|
24
|
-
}[];
|
|
25
|
-
get totalCount(): number;
|
|
26
|
-
get highlightedItem(): {
|
|
27
|
-
queryKey: string;
|
|
28
|
-
index: number;
|
|
29
|
-
panel: SearchBoxPanel;
|
|
30
|
-
} | undefined;
|
|
31
|
-
get highlightedDocument(): HighlightedDocInfo;
|
|
32
|
-
saveSuggestions({ queryKey, suggestions, inputValue, }: {
|
|
33
|
-
queryKey: string;
|
|
34
|
-
suggestions?: Suggestion[];
|
|
35
|
-
inputValue?: string;
|
|
36
|
-
}): void;
|
|
37
|
-
saveResults({ queryKey, result, }: {
|
|
38
|
-
queryKey: string;
|
|
39
|
-
result?: SearchQueryResult;
|
|
40
|
-
}): void;
|
|
41
|
-
saveHighlight({ highlightIndex }: {
|
|
42
|
-
highlightIndex: number;
|
|
43
|
-
}): void;
|
|
44
|
-
querySuggestions({ queryKey, publicQuery, options, }: {
|
|
45
|
-
queryKey: string;
|
|
46
|
-
publicQuery: PublicQuery;
|
|
47
|
-
options?: SdkOptions;
|
|
48
|
-
}): Promise<{
|
|
49
|
-
queryKey: string;
|
|
50
|
-
suggestions?: Suggestion[];
|
|
51
|
-
inputValue?: string;
|
|
52
|
-
}>;
|
|
53
|
-
queryDocuments({ queryKey, publicQuery, options, }: {
|
|
54
|
-
queryKey: string;
|
|
55
|
-
publicQuery: PublicQuery;
|
|
56
|
-
options?: SdkOptions;
|
|
57
|
-
}): Promise<{
|
|
58
|
-
queryKey: string;
|
|
59
|
-
result?: SearchQueryResult;
|
|
60
|
-
}>;
|
|
61
|
-
highlightChange({ action }: {
|
|
62
|
-
action: "down" | "up" | "clear";
|
|
63
|
-
}): {
|
|
64
|
-
highlightIndex: number;
|
|
65
|
-
};
|
|
66
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { ScreenSize } from "@/types/General";
|
|
2
|
-
import { LabeledFilter } from "@/types/search-results/Filters";
|
|
3
|
-
import { ResultsLayout } from "@/types/search-results/ResultsLayout";
|
|
4
|
-
import { ProductGrid } from "@/types/search-results/SearchResultsOptions";
|
|
5
|
-
import { FacetResult, FilterGroup, SearchQueryResult } from "@getlupa/client-sdk/Types";
|
|
6
|
-
import { VuexModule } from "vuex-module-decorators";
|
|
7
|
-
export default class SearchResultModule extends VuexModule {
|
|
8
|
-
searchResult: SearchQueryResult;
|
|
9
|
-
columnCount: number;
|
|
10
|
-
addToCartAmount: number;
|
|
11
|
-
layout: ResultsLayout;
|
|
12
|
-
loading: boolean;
|
|
13
|
-
isMobileSidebarVisible: boolean;
|
|
14
|
-
screenWidth: number;
|
|
15
|
-
get facets(): FacetResult[] | undefined;
|
|
16
|
-
get currentFilters(): FilterGroup | undefined;
|
|
17
|
-
get filters(): FilterGroup;
|
|
18
|
-
get currentQueryText(): string;
|
|
19
|
-
get totalItems(): number;
|
|
20
|
-
get hasResults(): boolean;
|
|
21
|
-
get labeledFilters(): LabeledFilter[];
|
|
22
|
-
get displayFilters(): LabeledFilter[];
|
|
23
|
-
get currentFilterCount(): number;
|
|
24
|
-
get currentFilterKeys(): string[];
|
|
25
|
-
get hasAnyFilter(): boolean;
|
|
26
|
-
get itemRange(): number[];
|
|
27
|
-
get isMobileWidth(): boolean;
|
|
28
|
-
get currentScreenWidth(): ScreenSize;
|
|
29
|
-
get isPageEmpty(): boolean;
|
|
30
|
-
setSidebarState({ visible }: {
|
|
31
|
-
visible: boolean;
|
|
32
|
-
}): {
|
|
33
|
-
visible: boolean;
|
|
34
|
-
};
|
|
35
|
-
setSidebarVisibility({ visible }: {
|
|
36
|
-
visible: boolean;
|
|
37
|
-
}): void;
|
|
38
|
-
save({ searchResult, columnCount, addToCartAmount, layout, }: {
|
|
39
|
-
searchResult?: SearchQueryResult;
|
|
40
|
-
columnCount?: number;
|
|
41
|
-
addToCartAmount?: number;
|
|
42
|
-
layout?: ResultsLayout;
|
|
43
|
-
}): void;
|
|
44
|
-
queryFacet({ queryKey, facetKey, }: {
|
|
45
|
-
queryKey: string;
|
|
46
|
-
facetKey: string;
|
|
47
|
-
}): Promise<void>;
|
|
48
|
-
load(loading: boolean): void;
|
|
49
|
-
setScreenWidth({ width }: {
|
|
50
|
-
width: number;
|
|
51
|
-
}): void;
|
|
52
|
-
add(searchResult: SearchQueryResult): {
|
|
53
|
-
searchResult: SearchQueryResult;
|
|
54
|
-
pageSize: number;
|
|
55
|
-
};
|
|
56
|
-
setColumnCount({ width, grid }: {
|
|
57
|
-
width: number;
|
|
58
|
-
grid: ProductGrid;
|
|
59
|
-
}): {
|
|
60
|
-
columnCount: number;
|
|
61
|
-
};
|
|
62
|
-
setAddToCartAmount(addToCartAmount: number): {
|
|
63
|
-
addToCartAmount: number;
|
|
64
|
-
};
|
|
65
|
-
setLayout(layout: ResultsLayout): {
|
|
66
|
-
layout: ResultsLayout;
|
|
67
|
-
};
|
|
68
|
-
setLoading(loading: boolean): boolean;
|
|
69
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { AnalyticsEventType } from "@/types/AnalyticsOptions";
|
|
2
|
-
import { TrackableEventData } from "@/types/search-box/Common";
|
|
3
|
-
import { PublicQuery, SearchQueryResult } from "@getlupa/client-sdk/Types";
|
|
4
|
-
import { VuexModule } from "vuex-module-decorators";
|
|
5
|
-
export default class TrackingModule extends VuexModule {
|
|
6
|
-
trackSearch({ queryKey, query, type, }: {
|
|
7
|
-
queryKey: string;
|
|
8
|
-
query: PublicQuery;
|
|
9
|
-
type?: AnalyticsEventType;
|
|
10
|
-
}): void;
|
|
11
|
-
trackResults({ queryKey, results, }: {
|
|
12
|
-
queryKey: string;
|
|
13
|
-
results: SearchQueryResult;
|
|
14
|
-
}): void;
|
|
15
|
-
track({ queryKey, data, }: {
|
|
16
|
-
queryKey: string;
|
|
17
|
-
data: TrackableEventData;
|
|
18
|
-
}): void;
|
|
19
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { SearchBoxOptions } from "@/types/search-box/SearchBoxOptions";
|
|
2
|
-
import { QueryParams } from "@/types/search-results/QueryParams";
|
|
3
|
-
import { SearchBoxPanelOptions } from "@/types/search-box/SearchBoxOptions";
|
|
4
|
-
import { SearchQueryResult, Suggestion } from "@getlupa/client-sdk/Types";
|
|
5
|
-
import { SearchResultsOptions } from "@/types/search-results/SearchResultsOptions";
|
|
6
|
-
import { ResultsLayout } from "@/types/search-results/ResultsLayout";
|
|
7
|
-
export declare type HistoryState = {
|
|
8
|
-
items: string[];
|
|
9
|
-
};
|
|
10
|
-
export declare type SearchResultState = {
|
|
11
|
-
searchResult: SearchQueryResult;
|
|
12
|
-
columnCount: number;
|
|
13
|
-
addToCartAmount: number;
|
|
14
|
-
layout: ResultsLayout;
|
|
15
|
-
loading: boolean;
|
|
16
|
-
};
|
|
17
|
-
export declare type ParamsState = {
|
|
18
|
-
params: QueryParams;
|
|
19
|
-
defaultLimit: number;
|
|
20
|
-
};
|
|
21
|
-
export declare type SearchBoxState = {
|
|
22
|
-
docResults: Record<string, SearchQueryResult>;
|
|
23
|
-
suggestionResults: Record<string, Suggestion[]>;
|
|
24
|
-
options: SearchBoxPanelOptions;
|
|
25
|
-
highlightedIndex: number;
|
|
26
|
-
inputValue: string;
|
|
27
|
-
};
|
|
28
|
-
export declare type OptionsState = {
|
|
29
|
-
searchBoxOptions: SearchBoxOptions;
|
|
30
|
-
searchResultOptions: SearchResultsOptions;
|
|
31
|
-
};
|
|
32
|
-
export declare type RootState = {
|
|
33
|
-
history: HistoryState;
|
|
34
|
-
searchResult: SearchResultState;
|
|
35
|
-
params: ParamsState;
|
|
36
|
-
searchBox: SearchBoxState;
|
|
37
|
-
options: OptionsState;
|
|
38
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare const PARENT_EVENT_NAME = "GetLupa";
|
|
2
|
-
export declare type AnalyticsEventType = "search_query" | "search_form_submit" | "autocomplete_suggestion_click" | "autocomplete_product_click" | "search_product_click" | "search_zero_results" | "search_filters" | "search_add_to_cart" | "view_item_list" | "select_item" | "product_recommendation_click";
|
|
3
|
-
export declare type AnalyticsOptions = {
|
|
4
|
-
type: "ua" | "ga4" | "debug";
|
|
5
|
-
enabled: boolean;
|
|
6
|
-
parentEventName: string;
|
|
7
|
-
ignoreEvents?: AnalyticsEventType[];
|
|
8
|
-
itemMap?: (item: Record<string, unknown>) => Record<string, unknown>;
|
|
9
|
-
};
|
|
10
|
-
export declare type ProductClickTrackingSettings = {
|
|
11
|
-
eventType?: AnalyticsEventType;
|
|
12
|
-
eventLabel?: string;
|
|
13
|
-
listLabel?: string;
|
|
14
|
-
};
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
export declare enum DocumentElementType {
|
|
2
|
-
IMAGE = "image",
|
|
3
|
-
TITLE = "title",
|
|
4
|
-
CUSTOM = "custom",
|
|
5
|
-
DESCRIPTION = "description",
|
|
6
|
-
PRICE = "price",
|
|
7
|
-
REGULARPRICE = "regularPrice",
|
|
8
|
-
RATING = "rating",
|
|
9
|
-
SINGLE_STAR_RATING = "singleStarRating",
|
|
10
|
-
ADDTOCART = "addToCart",
|
|
11
|
-
CUSTOM_HTML = "customHtml"
|
|
12
|
-
}
|
|
13
|
-
export declare type DocumentElementBase<T = any> = {
|
|
14
|
-
type: DocumentElementType;
|
|
15
|
-
key?: string;
|
|
16
|
-
display?: (document: T) => boolean;
|
|
17
|
-
isHtml?: boolean;
|
|
18
|
-
group?: string;
|
|
19
|
-
dynamic?: boolean;
|
|
20
|
-
};
|
|
21
|
-
export declare type ImageDocumentElement<T = any> = DocumentElementBase<T> & {
|
|
22
|
-
type: DocumentElementType.IMAGE;
|
|
23
|
-
placeholder: string;
|
|
24
|
-
baseUrl?: string;
|
|
25
|
-
key: string;
|
|
26
|
-
customUrl?: (document: T) => string;
|
|
27
|
-
};
|
|
28
|
-
export declare type TitleDocumentElement<T = any> = DocumentElementBase<T> & {
|
|
29
|
-
type: DocumentElementType.TITLE;
|
|
30
|
-
maxLines: number;
|
|
31
|
-
link?: boolean;
|
|
32
|
-
key: string;
|
|
33
|
-
};
|
|
34
|
-
export declare type DescriptionDocumentElement<T = any> = DocumentElementBase<T> & {
|
|
35
|
-
type: DocumentElementType.DESCRIPTION;
|
|
36
|
-
maxLines: number;
|
|
37
|
-
key: string;
|
|
38
|
-
className: string;
|
|
39
|
-
};
|
|
40
|
-
export declare type CustomDocumentElement<T = any> = DocumentElementBase<T> & {
|
|
41
|
-
type: DocumentElementType.CUSTOM;
|
|
42
|
-
maxLines?: number;
|
|
43
|
-
className: string;
|
|
44
|
-
key: string;
|
|
45
|
-
label?: string;
|
|
46
|
-
action?: (document: T) => Promise<unknown> | undefined;
|
|
47
|
-
};
|
|
48
|
-
export declare type PriceElement<T = any> = DocumentElementBase<T> & {
|
|
49
|
-
type: DocumentElementType.PRICE;
|
|
50
|
-
key: string;
|
|
51
|
-
};
|
|
52
|
-
export declare type RegularPriceDocumentElement<T = any> = DocumentElementBase<T> & {
|
|
53
|
-
type: DocumentElementType.REGULARPRICE;
|
|
54
|
-
key: string;
|
|
55
|
-
};
|
|
56
|
-
export declare type RatingElement<T = any> = DocumentElementBase<T> & {
|
|
57
|
-
type: DocumentElementType.RATING;
|
|
58
|
-
labels: RatingLabels;
|
|
59
|
-
links: RatingLinks;
|
|
60
|
-
totalKey: string;
|
|
61
|
-
getRatingPercentage?: (doc: T) => number;
|
|
62
|
-
key: string;
|
|
63
|
-
};
|
|
64
|
-
export declare type SingleStarRatingElement<T = any> = DocumentElementBase<T> & {
|
|
65
|
-
type: DocumentElementType.SINGLE_STAR_RATING;
|
|
66
|
-
labels: RatingLabels;
|
|
67
|
-
links: RatingLinks;
|
|
68
|
-
key: string;
|
|
69
|
-
totalKey: string;
|
|
70
|
-
displayRating: (doc: T) => string;
|
|
71
|
-
};
|
|
72
|
-
export declare type RatingLabels = {
|
|
73
|
-
numberOfRatings: string;
|
|
74
|
-
};
|
|
75
|
-
export declare type RatingLinks = {
|
|
76
|
-
ratingDetails?: string;
|
|
77
|
-
};
|
|
78
|
-
export declare type AddToCartElement<T = any> = DocumentElementBase<T> & {
|
|
79
|
-
type: DocumentElementType.ADDTOCART;
|
|
80
|
-
action: (document: T, amount: number) => Promise<unknown> | undefined;
|
|
81
|
-
labels: {
|
|
82
|
-
addToCart: string;
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
export declare type CustomHtmlElement<T = any> = DocumentElementBase<T> & {
|
|
86
|
-
type: DocumentElementType.CUSTOM_HTML;
|
|
87
|
-
html: (document: T) => string;
|
|
88
|
-
className: string;
|
|
89
|
-
action?: (document: T) => Promise<unknown> | undefined;
|
|
90
|
-
};
|
|
91
|
-
export declare type DocumentElement = ImageDocumentElement | TitleDocumentElement | DescriptionDocumentElement | CustomDocumentElement | PriceElement | RegularPriceDocumentElement | RatingElement | SingleStarRatingElement | AddToCartElement | CustomHtmlElement;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { AnalyticsOptions } from "./AnalyticsOptions";
|
|
2
|
-
import { Environment as SdkEnvironment } from "@getlupa/client-sdk/Types";
|
|
3
|
-
export declare type SdkOptions = {
|
|
4
|
-
environment: SdkEnvironment;
|
|
5
|
-
customBaseUrl?: string;
|
|
6
|
-
customUrl?: string;
|
|
7
|
-
customPayload?: Record<string, unknown>;
|
|
8
|
-
customHeaders?: Record<string, string>;
|
|
9
|
-
onError?: (err: unknown) => unknown;
|
|
10
|
-
};
|
|
11
|
-
export declare type TrackingOptions = {
|
|
12
|
-
trackBase?: boolean;
|
|
13
|
-
trackSession?: boolean;
|
|
14
|
-
trackUser?: boolean;
|
|
15
|
-
userKey?: string;
|
|
16
|
-
analytics?: AnalyticsOptions;
|
|
17
|
-
};
|
|
18
|
-
export declare type Environment = SdkEnvironment;
|
|
19
|
-
export declare type SortDirection = "asc" | "desc";
|
|
20
|
-
export declare type ScreenSize = "xs" | "sm" | "md" | "l" | "xl";
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { FilterGroup } from "@getlupa/client-sdk/Types";
|
|
2
|
-
import { RoutingBehavior } from "../search-results/RoutingBehavior";
|
|
3
|
-
import { SearchResultsOptions } from "../search-results/SearchResultsOptions";
|
|
4
|
-
export declare type CategoryFilterOptions = {
|
|
5
|
-
queryKey?: string;
|
|
6
|
-
routingBehavior?: RoutingBehavior;
|
|
7
|
-
keys: {
|
|
8
|
-
titleKey?: string;
|
|
9
|
-
urlKey?: string;
|
|
10
|
-
};
|
|
11
|
-
filters?: Record<string, string[]>;
|
|
12
|
-
back?: {
|
|
13
|
-
url: string;
|
|
14
|
-
title: string;
|
|
15
|
-
};
|
|
16
|
-
parent?: {
|
|
17
|
-
url?: string;
|
|
18
|
-
title?: string;
|
|
19
|
-
};
|
|
20
|
-
current?: {
|
|
21
|
-
title?: string;
|
|
22
|
-
description?: string;
|
|
23
|
-
descriptionTop?: string;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
export declare type ProductListOptions = SearchResultsOptions & {
|
|
27
|
-
initialFilters?: FilterGroup;
|
|
28
|
-
categories?: CategoryFilterOptions;
|
|
29
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { SdkOptions } from "../General";
|
|
2
|
-
import { SearchResultsProductCardOptions } from "../search-results/SearchResultsProductCardOptions";
|
|
3
|
-
export declare type ProductRecommendationOptions = SearchResultsProductCardOptions & {
|
|
4
|
-
options: SdkOptions;
|
|
5
|
-
} & {
|
|
6
|
-
containerSelector: string;
|
|
7
|
-
queryKey: string;
|
|
8
|
-
itemId: string;
|
|
9
|
-
abTesting?: RecommendationABTestingOptions;
|
|
10
|
-
carousel?: {
|
|
11
|
-
pageSizes: number[][];
|
|
12
|
-
nextLabel?: string;
|
|
13
|
-
prevLabel?: string;
|
|
14
|
-
scrollPerPage?: boolean;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
export declare type RecommendationABTestingOptions = {
|
|
18
|
-
enabled: boolean;
|
|
19
|
-
originalIds?: string[];
|
|
20
|
-
events?: {
|
|
21
|
-
lupaSearchEventName: string;
|
|
22
|
-
originalEventName: string;
|
|
23
|
-
};
|
|
24
|
-
oldRecommenderDisplayRatio?: number;
|
|
25
|
-
};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { Document, Suggestion, ReportableEventType } from "@getlupa/client-sdk/Types";
|
|
2
|
-
import { AnalyticsEventType } from "../AnalyticsOptions";
|
|
3
|
-
import { SearchBoxPanelType } from "./SearchBoxPanel";
|
|
4
|
-
export declare type FetchedData = {
|
|
5
|
-
items: Document[] | Suggestion[];
|
|
6
|
-
type: SearchBoxPanelType;
|
|
7
|
-
};
|
|
8
|
-
export declare type InputSuggestion = {
|
|
9
|
-
item: Suggestion;
|
|
10
|
-
queryKey: string;
|
|
11
|
-
override: boolean;
|
|
12
|
-
facet?: InputSuggestionFacet;
|
|
13
|
-
};
|
|
14
|
-
export declare type InputSuggestionFacet = {
|
|
15
|
-
label?: string;
|
|
16
|
-
count?: number;
|
|
17
|
-
key: string;
|
|
18
|
-
title: string;
|
|
19
|
-
};
|
|
20
|
-
export declare type DisplaySuggestion = {
|
|
21
|
-
suggestion: Suggestion;
|
|
22
|
-
display: string;
|
|
23
|
-
displayHighlight: string;
|
|
24
|
-
facet?: InputSuggestionFacet;
|
|
25
|
-
};
|
|
26
|
-
export declare type SelectedData = {
|
|
27
|
-
item: Document | InputSuggestion;
|
|
28
|
-
type: SearchBoxPanelType;
|
|
29
|
-
};
|
|
30
|
-
export declare type TrackableEventData = {
|
|
31
|
-
type?: ReportableEventType;
|
|
32
|
-
searchQuery?: string;
|
|
33
|
-
itemId?: string;
|
|
34
|
-
analytics?: {
|
|
35
|
-
type: AnalyticsEventType;
|
|
36
|
-
label: string;
|
|
37
|
-
listLabel?: string;
|
|
38
|
-
items?: Record<string, unknown>[];
|
|
39
|
-
itemId?: string;
|
|
40
|
-
};
|
|
41
|
-
options?: {
|
|
42
|
-
allowEmptySearchQuery: boolean;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
export declare type HighlightedDocInfo = {
|
|
46
|
-
doc?: Document;
|
|
47
|
-
link?: string;
|
|
48
|
-
queryKey?: string;
|
|
49
|
-
id?: unknown;
|
|
50
|
-
title?: string;
|
|
51
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { SdkOptions } from "../General";
|
|
2
|
-
import { RoutingBehavior } from "../search-results/RoutingBehavior";
|
|
3
|
-
import { DynamicData } from "../search-results/SearchResultsOptions";
|
|
4
|
-
import { SearchBoxHistory } from "./SearchBoxHistory";
|
|
5
|
-
import { SearchBoxPanel } from "./SearchBoxPanel";
|
|
6
|
-
export declare type SearchBoxOptions = SearchBoxPanelOptions & {
|
|
7
|
-
inputSelector: string;
|
|
8
|
-
searchTriggers?: string[];
|
|
9
|
-
routingBehavior?: RoutingBehavior;
|
|
10
|
-
dynamicData?: DynamicData;
|
|
11
|
-
};
|
|
12
|
-
export declare type SearchBoxOptionLabels = {
|
|
13
|
-
placeholder: string;
|
|
14
|
-
noResults: string;
|
|
15
|
-
moreResults: string;
|
|
16
|
-
currency: string;
|
|
17
|
-
priceSeparator?: string;
|
|
18
|
-
defaultFacetLabel?: string;
|
|
19
|
-
close?: string;
|
|
20
|
-
};
|
|
21
|
-
export declare type SearchBoxOptionLinks = {
|
|
22
|
-
searchResults: string;
|
|
23
|
-
};
|
|
24
|
-
export declare type SearchBoxInputOptions = {
|
|
25
|
-
minInputLength: number;
|
|
26
|
-
labels: SearchBoxOptionLabels;
|
|
27
|
-
links: SearchBoxOptionLinks;
|
|
28
|
-
inputAttributes?: Record<string, string>;
|
|
29
|
-
};
|
|
30
|
-
export declare type SearchBoxPanelOptions = SearchBoxInputOptions & {
|
|
31
|
-
history: SearchBoxHistory;
|
|
32
|
-
panels: SearchBoxPanel[];
|
|
33
|
-
options: SdkOptions;
|
|
34
|
-
debounce?: number;
|
|
35
|
-
showTotalCount?: boolean;
|
|
36
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { DocumentElement } from "../DocumentElement";
|
|
2
|
-
export declare enum SearchBoxPanelType {
|
|
3
|
-
SUGGESTION = "suggestion",
|
|
4
|
-
DOCUMENT = "document"
|
|
5
|
-
}
|
|
6
|
-
export declare type SearchBoxPanelLinks = {
|
|
7
|
-
details: string;
|
|
8
|
-
};
|
|
9
|
-
export declare type SearchBoxPanelBase = {
|
|
10
|
-
type: SearchBoxPanelType;
|
|
11
|
-
queryKey: string;
|
|
12
|
-
limit: number;
|
|
13
|
-
};
|
|
14
|
-
export declare type DocumentSearchBoxPanel = SearchBoxPanelBase & {
|
|
15
|
-
type: SearchBoxPanelType.DOCUMENT;
|
|
16
|
-
links: SearchBoxPanelLinks;
|
|
17
|
-
elements: DocumentElement[];
|
|
18
|
-
titleKey?: string;
|
|
19
|
-
idKey?: string;
|
|
20
|
-
customClassName?: string;
|
|
21
|
-
searchBySuggestion?: boolean;
|
|
22
|
-
};
|
|
23
|
-
export declare type SuggestionSearchBoxPanel = SearchBoxPanelBase & {
|
|
24
|
-
type: SearchBoxPanelType.SUGGESTION;
|
|
25
|
-
highlight: boolean;
|
|
26
|
-
customClassName?: string;
|
|
27
|
-
};
|
|
28
|
-
export declare type SearchBoxPanel = DocumentSearchBoxPanel | SuggestionSearchBoxPanel;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { SearchBoxOptions } from "../search-box/SearchBoxOptions";
|
|
2
|
-
import { SearchResultsOptions } from "../search-results/SearchResultsOptions";
|
|
3
|
-
export declare type SearchContainerConfigOptions = {
|
|
4
|
-
isOpenInitially?: boolean;
|
|
5
|
-
styleLink?: string;
|
|
6
|
-
layout?: {
|
|
7
|
-
marginLeft?: number;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export declare type SearchContainerOptions = {
|
|
11
|
-
trigger: string;
|
|
12
|
-
searchBox: SearchBoxOptions;
|
|
13
|
-
searchResults: SearchResultsOptions;
|
|
14
|
-
options?: SearchContainerConfigOptions;
|
|
15
|
-
};
|