@getlupa/client 0.4.3-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.browserslistrc +3 -0
- package/.eslintrc.js +37 -0
- package/.github/workflows/build-test.yml +23 -0
- package/.github/workflows/npm-publish.yml +24 -0
- package/README.md +71 -0
- package/babel.config.js +3 -0
- package/cypress.json +1 -0
- package/dist/cjs/SearchBoxEntry.vue.d.ts +6 -0
- package/dist/cjs/SearchResultsEntry.vue.d.ts +6 -0
- package/dist/cjs/components/common/Spinner.vue.d.ts +3 -0
- package/dist/cjs/components/search-box/SearchBox.vue.d.ts +60 -0
- package/dist/cjs/components/search-box/SearchBoxInput.vue.d.ts +21 -0
- package/dist/cjs/components/search-box/SearchBoxMainPanel.vue.d.ts +33 -0
- package/dist/cjs/components/search-box/SearchBoxMoreResults.vue.d.ts +11 -0
- package/dist/cjs/components/search-box/__tests__/SearchBox.spec.d.ts +1 -0
- package/dist/cjs/components/search-box/__tests__/SearchBoxInput.spec.d.ts +1 -0
- package/dist/cjs/components/search-box/__tests__/SearchBoxMainPanel.spec.d.ts +1 -0
- package/dist/cjs/components/search-box/history/SearchBoxHistoryItem.vue.d.ts +7 -0
- package/dist/cjs/components/search-box/history/SearchBoxHistoryPanel.vue.d.ts +23 -0
- package/dist/cjs/components/search-box/history/__tests__/SearchBoxHistoryPanel.vue.spec.d.ts +1 -0
- package/dist/cjs/components/search-box/products/SearchBoxProduct.vue.d.ts +25 -0
- package/dist/cjs/components/search-box/products/SearchBoxProducts.vue.d.ts +15 -0
- package/dist/cjs/components/search-box/products/SearchBoxProductsWrapper.vue.d.ts +26 -0
- package/dist/cjs/components/search-box/products/__tests__/SearchBoxProduct.vue.spec.d.ts +1 -0
- package/dist/cjs/components/search-box/products/elements/SearchBoxProductCustom.vue.d.ts +10 -0
- package/dist/cjs/components/search-box/products/elements/SearchBoxProductDescription.vue.d.ts +9 -0
- package/dist/cjs/components/search-box/products/elements/SearchBoxProductElement.vue.d.ts +11 -0
- package/dist/cjs/components/search-box/products/elements/SearchBoxProductImage.vue.d.ts +14 -0
- package/dist/cjs/components/search-box/products/elements/SearchBoxProductPrice.vue.d.ts +10 -0
- package/dist/cjs/components/search-box/products/elements/SearchBoxProductRegularPrice.vue.d.ts +10 -0
- package/dist/cjs/components/search-box/products/elements/SearchBoxProductTitle.vue.d.ts +9 -0
- package/dist/cjs/components/search-box/products/elements/__tests__/SearchBoxProductCustom.vue.spec.d.ts +1 -0
- package/dist/cjs/components/search-box/products/elements/__tests__/SearchBoxProductElement.vue.spec.d.ts +1 -0
- package/dist/cjs/components/search-box/products/elements/__tests__/SearchBoxProductImage.spec.d.ts +1 -0
- package/dist/cjs/components/search-box/products/elements/__tests__/SearchBoxProductPrice.vue.spec.d.ts +1 -0
- package/dist/cjs/components/search-box/products/elements/__tests__/SearchBoxProductTitle.vue.spec.d.ts +1 -0
- package/dist/cjs/components/search-box/products/elements/custom/SearchBoxProductCustomHtml.vue.d.ts +9 -0
- package/dist/cjs/components/search-box/suggestions/SearchBoxSuggestion.vue.d.ts +10 -0
- package/dist/cjs/components/search-box/suggestions/SearchBoxSuggestions.vue.d.ts +22 -0
- package/dist/cjs/components/search-box/suggestions/SearchBoxSuggestionsWrapper.vue.d.ts +28 -0
- package/dist/cjs/components/search-box/suggestions/__tests__/Suggestions.spec.d.ts +1 -0
- package/dist/cjs/components/search-results/SearchResults.vue.d.ts +48 -0
- package/dist/cjs/components/search-results/SearchResultsBreadcrumbs.vue.d.ts +7 -0
- package/dist/cjs/components/search-results/SearchResultsDidYouMean.vue.d.ts +19 -0
- package/dist/cjs/components/search-results/__tests__/SearchResults.spec.d.ts +1 -0
- package/dist/cjs/components/search-results/__tests__/SearchResultsBreadcrumbs.spec.d.ts +1 -0
- package/dist/cjs/components/search-results/additional-panels/AdditionalPanel.vue.d.ts +21 -0
- package/dist/cjs/components/search-results/additional-panels/AdditionalPanels.vue.d.ts +11 -0
- package/dist/cjs/components/search-results/additional-panels/__tests__/AdditionalPanels.vue.spec.d.ts +1 -0
- package/dist/cjs/components/search-results/filters/CurrentFilterDisplay.vue.d.ts +6 -0
- package/dist/cjs/components/search-results/filters/CurrentFilters.vue.d.ts +36 -0
- package/dist/cjs/components/search-results/filters/FiltersTopDropdown.vue.d.ts +5 -0
- package/dist/cjs/components/search-results/filters/MobileFilterSidebar.vue.d.ts +10 -0
- package/dist/cjs/components/search-results/filters/SearchResultsFilters.vue.d.ts +7 -0
- package/dist/cjs/components/search-results/filters/__tests__/CurrentFilterDisplay.vue.spec.d.ts +1 -0
- package/dist/cjs/components/search-results/filters/__tests__/CurrentFilters.vue.spec.d.ts +1 -0
- package/dist/cjs/components/search-results/filters/facets/FacetDisplay.vue.d.ts +20 -0
- package/dist/cjs/components/search-results/filters/facets/FacetList.vue.d.ts +13 -0
- package/dist/cjs/components/search-results/filters/facets/Facets.vue.d.ts +31 -0
- package/dist/cjs/components/search-results/filters/facets/HierarchyFacet.vue.d.ts +21 -0
- package/dist/cjs/components/search-results/filters/facets/HierarchyFacetLevel.vue.d.ts +12 -0
- package/dist/cjs/components/search-results/filters/facets/StatsFacet.vue.d.ts +23 -0
- package/dist/cjs/components/search-results/filters/facets/TermFacet.vue.d.ts +18 -0
- package/dist/cjs/components/search-results/filters/facets/__tests__/FacetDisplay.vue.spec.d.ts +1 -0
- package/dist/cjs/components/search-results/filters/facets/__tests__/FacetList.vue.spec.d.ts +1 -0
- package/dist/cjs/components/search-results/filters/facets/__tests__/HierarchyFacet.vue.spec.d.ts +1 -0
- package/dist/cjs/components/search-results/filters/facets/__tests__/StatsFacet.vue.spec.d.ts +1 -0
- package/dist/cjs/components/search-results/filters/facets/__tests__/TermFacet.vue.spec.d.ts +1 -0
- package/dist/cjs/components/search-results/products/SearchResultsLayoutSelection.vue.d.ts +8 -0
- package/dist/cjs/components/search-results/products/SearchResultsMobileToggle.vue.d.ts +8 -0
- package/dist/cjs/components/search-results/products/SearchResultsProducts.vue.d.ts +29 -0
- package/dist/cjs/components/search-results/products/SearchResultsSummary.vue.d.ts +8 -0
- package/dist/cjs/components/search-results/products/SearchResultsToolbar.vue.d.ts +21 -0
- package/dist/cjs/components/search-results/products/__tests__/SearchResultsLayoutSelection.spec.d.ts +1 -0
- package/dist/cjs/components/search-results/products/__tests__/SearchResultsProducts.spec.d.ts +1 -0
- package/dist/cjs/components/search-results/products/__tests__/SearchResultsToolbar.spec.d.ts +1 -0
- package/dist/cjs/components/search-results/products/pagination/SearchResultsPageSelect.vue.d.ts +18 -0
- package/dist/cjs/components/search-results/products/pagination/SearchResultsPageSize.vue.d.ts +19 -0
- package/dist/cjs/components/search-results/products/pagination/__tests__/SearchResultsPageSelect.spec.d.ts +1 -0
- package/dist/cjs/components/search-results/products/pagination/__tests__/SearchResultsPageSize.spec.d.ts +1 -0
- package/dist/cjs/components/search-results/products/product-card/SearchResultsProductCard.vue.d.ts +33 -0
- package/dist/cjs/components/search-results/products/product-card/__tests__/SearchResultsBadgeWrapper.spec.d.ts +1 -0
- package/dist/cjs/components/search-results/products/product-card/__tests__/SearchResultsProductCard.spec.d.ts +1 -0
- package/dist/cjs/components/search-results/products/product-card/badges/CustomBadge.vue.d.ts +7 -0
- package/dist/cjs/components/search-results/products/product-card/badges/ImageBadge.vue.d.ts +8 -0
- package/dist/cjs/components/search-results/products/product-card/badges/SearchResultsBadgeWrapper.vue.d.ts +9 -0
- package/dist/cjs/components/search-results/products/product-card/badges/TextBadge.vue.d.ts +7 -0
- package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductAddToCart.vue.d.ts +12 -0
- package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductCardElement.vue.d.ts +16 -0
- package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductCustom.vue.d.ts +10 -0
- package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductDescription.vue.d.ts +10 -0
- package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductImage.vue.d.ts +14 -0
- package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductPrice.vue.d.ts +10 -0
- package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductRating.vue.d.ts +13 -0
- package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductRegularPrice.vue.d.ts +10 -0
- package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductTitle.vue.d.ts +11 -0
- package/dist/cjs/components/search-results/products/product-card/elements/__tests__/SearchResultsProductAddToCart.spec.d.ts +1 -0
- package/dist/cjs/components/search-results/products/product-card/elements/__tests__/SearchResultsProductCustom.spec.d.ts +1 -0
- package/dist/cjs/components/search-results/products/product-card/elements/__tests__/SearchResultsProductCustomHtmlElement.spec.d.ts +1 -0
- package/dist/cjs/components/search-results/products/product-card/elements/__tests__/SearchResultsProductDescription.spec.d.ts +1 -0
- package/dist/cjs/components/search-results/products/product-card/elements/__tests__/SearchResultsProductImage.spec.d.ts +1 -0
- package/dist/cjs/components/search-results/products/product-card/elements/__tests__/SearchResultsProductPrice.spec.d.ts +1 -0
- package/dist/cjs/components/search-results/products/product-card/elements/__tests__/SearchResultsProductRating.spec.d.ts +1 -0
- package/dist/cjs/components/search-results/products/product-card/elements/__tests__/SearchResultsProductTitle.spec.d.ts +1 -0
- package/dist/cjs/components/search-results/products/product-card/elements/custom/SearchResultsProductCustomHtmlElement.vue.d.ts +9 -0
- package/dist/cjs/components/search-results/products/similar-queries/SearchResultsSimilarQueries.vue.d.ts +19 -0
- package/dist/cjs/components/search-results/products/similar-queries/SimilarQueryText.vue.d.ts +10 -0
- package/dist/cjs/components/search-results/products/sort/SearchResultsSort.vue.d.ts +23 -0
- package/dist/cjs/components/search-results/products/sort/__tests__/SearchResultsSort.spec.d.ts +1 -0
- package/dist/cjs/constants/development/searchBoxDev.example.const.d.ts +27 -0
- package/dist/cjs/constants/development/searchResultsDev.example.const.d.ts +91 -0
- package/dist/cjs/constants/global.const.d.ts +13 -0
- package/dist/cjs/constants/mockData..const.d.ts +4 -0
- package/dist/cjs/constants/queryParams.const.d.ts +25 -0
- package/dist/cjs/constants/searchBox.const.d.ts +48 -0
- package/dist/cjs/constants/searchResults.const.d.ts +105 -0
- package/dist/cjs/index-iife.d.ts +21 -0
- package/dist/cjs/index.d.ts +11 -0
- package/dist/cjs/index.min.js +33183 -0
- package/dist/cjs/main.d.ts +1 -0
- package/dist/cjs/store/__tests__/history.spec.d.ts +1 -0
- package/dist/cjs/store/__tests__/params.spec.d.ts +1 -0
- package/dist/cjs/store/__tests__/searchBox.spec.d.ts +1 -0
- package/dist/cjs/store/__tests__/searchResult.spec.d.ts +1 -0
- package/dist/cjs/store/index.d.ts +2 -0
- package/dist/cjs/store/modules/history.d.ts +13 -0
- package/dist/cjs/store/modules/options.d.ts +16 -0
- package/dist/cjs/store/modules/params.d.ts +55 -0
- package/dist/cjs/store/modules/searchBox.d.ts +65 -0
- package/dist/cjs/store/modules/searchResult.d.ts +47 -0
- package/dist/cjs/store/modules/tracking.d.ts +17 -0
- package/dist/cjs/store/types/State.d.ts +38 -0
- package/dist/cjs/types/AnalyticsOptions.d.ts +7 -0
- package/dist/cjs/types/DocumentElement.d.ts +68 -0
- package/dist/cjs/types/General.d.ts +12 -0
- package/dist/cjs/types/search-box/Common.d.ts +44 -0
- package/dist/cjs/types/search-box/SearchBoxHistory.d.ts +6 -0
- package/dist/cjs/types/search-box/SearchBoxOptions.d.ts +30 -0
- package/dist/cjs/types/search-box/SearchBoxPanel.d.ts +28 -0
- package/dist/cjs/types/search-results/BadgeOptions.d.ts +42 -0
- package/dist/cjs/types/search-results/FacetAction.d.ts +16 -0
- package/dist/cjs/types/search-results/Filters.d.ts +9 -0
- package/dist/cjs/types/search-results/PaginationOptions.d.ts +19 -0
- package/dist/cjs/types/search-results/QueryParams.d.ts +4 -0
- package/dist/cjs/types/search-results/ResultsLayout.d.ts +5 -0
- package/dist/cjs/types/search-results/SearchResultsAdditionalPanelOptions.d.ts +15 -0
- package/dist/cjs/types/search-results/SearchResultsOptions.d.ts +109 -0
- package/dist/cjs/types/search-results/SearchResultsPagination.d.ts +20 -0
- package/dist/cjs/types/search-results/SearchResultsProductCardOptions.d.ts +20 -0
- package/dist/cjs/types/search-results/SearchResultsSort.d.ts +11 -0
- package/dist/cjs/utils/__tests__/debounce.utils.spec.d.ts +1 -0
- package/dist/cjs/utils/__tests__/event.utils.spec.d.ts +1 -0
- package/dist/cjs/utils/__tests__/filter.toggle.utils.spec.d.ts +1 -0
- package/dist/cjs/utils/__tests__/filter.utils.spec.d.ts +1 -0
- package/dist/cjs/utils/__tests__/history.utils.spec.d.ts +1 -0
- package/dist/cjs/utils/__tests__/link.utils.spec.d.ts +1 -0
- package/dist/cjs/utils/__tests__/params.utils.spec.d.ts +1 -0
- package/dist/cjs/utils/__tests__/picker.utils.spec.d.ts +1 -0
- package/dist/cjs/utils/__tests__/price.utils.spec.d.ts +1 -0
- package/dist/cjs/utils/__tests__/query.utils.spec.d.ts +1 -0
- package/dist/cjs/utils/__tests__/string.utils.spec.d.ts +1 -0
- package/dist/cjs/utils/__tests__/suggestion.utils.spec.d.ts +1 -0
- package/dist/cjs/utils/__tests__/tracking.utils.spec.d.ts +1 -0
- package/dist/cjs/utils/debounce.utils.d.ts +1 -0
- package/dist/cjs/utils/document.utils.d.ts +1 -0
- package/dist/cjs/utils/event.utils.d.ts +2 -0
- package/dist/cjs/utils/filter.toggle.utils.d.ts +23 -0
- package/dist/cjs/utils/filter.utils.d.ts +10 -0
- package/dist/cjs/utils/history.utils.d.ts +2 -0
- package/dist/cjs/utils/link.utils.d.ts +4 -0
- package/dist/cjs/utils/merger.utils.d.ts +1 -0
- package/dist/cjs/utils/params.utils.d.ts +9 -0
- package/dist/cjs/utils/picker.utils.d.ts +5 -0
- package/dist/cjs/utils/price.utils.d.ts +2 -0
- package/dist/cjs/utils/query.utils.d.ts +4 -0
- package/dist/cjs/utils/scroll.utils.d.ts +2 -0
- package/dist/cjs/utils/string.utils.d.ts +7 -0
- package/dist/cjs/utils/suggestion.utils.d.ts +3 -0
- package/dist/cjs/utils/tracking.utils.d.ts +5 -0
- package/dist/es/SearchBoxEntry.vue.d.ts +6 -0
- package/dist/es/SearchResultsEntry.vue.d.ts +6 -0
- package/dist/es/components/common/Spinner.vue.d.ts +3 -0
- package/dist/es/components/search-box/SearchBox.vue.d.ts +60 -0
- package/dist/es/components/search-box/SearchBoxInput.vue.d.ts +21 -0
- package/dist/es/components/search-box/SearchBoxMainPanel.vue.d.ts +33 -0
- package/dist/es/components/search-box/SearchBoxMoreResults.vue.d.ts +11 -0
- package/dist/es/components/search-box/__tests__/SearchBox.spec.d.ts +1 -0
- package/dist/es/components/search-box/__tests__/SearchBoxInput.spec.d.ts +1 -0
- package/dist/es/components/search-box/__tests__/SearchBoxMainPanel.spec.d.ts +1 -0
- package/dist/es/components/search-box/history/SearchBoxHistoryItem.vue.d.ts +7 -0
- package/dist/es/components/search-box/history/SearchBoxHistoryPanel.vue.d.ts +23 -0
- package/dist/es/components/search-box/history/__tests__/SearchBoxHistoryPanel.vue.spec.d.ts +1 -0
- package/dist/es/components/search-box/products/SearchBoxProduct.vue.d.ts +25 -0
- package/dist/es/components/search-box/products/SearchBoxProducts.vue.d.ts +15 -0
- package/dist/es/components/search-box/products/SearchBoxProductsWrapper.vue.d.ts +26 -0
- package/dist/es/components/search-box/products/__tests__/SearchBoxProduct.vue.spec.d.ts +1 -0
- package/dist/es/components/search-box/products/elements/SearchBoxProductCustom.vue.d.ts +10 -0
- package/dist/es/components/search-box/products/elements/SearchBoxProductDescription.vue.d.ts +9 -0
- package/dist/es/components/search-box/products/elements/SearchBoxProductElement.vue.d.ts +11 -0
- package/dist/es/components/search-box/products/elements/SearchBoxProductImage.vue.d.ts +14 -0
- package/dist/es/components/search-box/products/elements/SearchBoxProductPrice.vue.d.ts +10 -0
- package/dist/es/components/search-box/products/elements/SearchBoxProductRegularPrice.vue.d.ts +10 -0
- package/dist/es/components/search-box/products/elements/SearchBoxProductTitle.vue.d.ts +9 -0
- package/dist/es/components/search-box/products/elements/__tests__/SearchBoxProductCustom.vue.spec.d.ts +1 -0
- package/dist/es/components/search-box/products/elements/__tests__/SearchBoxProductElement.vue.spec.d.ts +1 -0
- package/dist/es/components/search-box/products/elements/__tests__/SearchBoxProductImage.spec.d.ts +1 -0
- package/dist/es/components/search-box/products/elements/__tests__/SearchBoxProductPrice.vue.spec.d.ts +1 -0
- package/dist/es/components/search-box/products/elements/__tests__/SearchBoxProductTitle.vue.spec.d.ts +1 -0
- package/dist/es/components/search-box/products/elements/custom/SearchBoxProductCustomHtml.vue.d.ts +9 -0
- package/dist/es/components/search-box/suggestions/SearchBoxSuggestion.vue.d.ts +10 -0
- package/dist/es/components/search-box/suggestions/SearchBoxSuggestions.vue.d.ts +22 -0
- package/dist/es/components/search-box/suggestions/SearchBoxSuggestionsWrapper.vue.d.ts +28 -0
- package/dist/es/components/search-box/suggestions/__tests__/Suggestions.spec.d.ts +1 -0
- package/dist/es/components/search-results/SearchResults.vue.d.ts +48 -0
- package/dist/es/components/search-results/SearchResultsBreadcrumbs.vue.d.ts +7 -0
- package/dist/es/components/search-results/SearchResultsDidYouMean.vue.d.ts +19 -0
- package/dist/es/components/search-results/__tests__/SearchResults.spec.d.ts +1 -0
- package/dist/es/components/search-results/__tests__/SearchResultsBreadcrumbs.spec.d.ts +1 -0
- package/dist/es/components/search-results/additional-panels/AdditionalPanel.vue.d.ts +21 -0
- package/dist/es/components/search-results/additional-panels/AdditionalPanels.vue.d.ts +11 -0
- package/dist/es/components/search-results/additional-panels/__tests__/AdditionalPanels.vue.spec.d.ts +1 -0
- package/dist/es/components/search-results/filters/CurrentFilterDisplay.vue.d.ts +6 -0
- package/dist/es/components/search-results/filters/CurrentFilters.vue.d.ts +36 -0
- package/dist/es/components/search-results/filters/FiltersTopDropdown.vue.d.ts +5 -0
- package/dist/es/components/search-results/filters/MobileFilterSidebar.vue.d.ts +10 -0
- package/dist/es/components/search-results/filters/SearchResultsFilters.vue.d.ts +7 -0
- package/dist/es/components/search-results/filters/__tests__/CurrentFilterDisplay.vue.spec.d.ts +1 -0
- package/dist/es/components/search-results/filters/__tests__/CurrentFilters.vue.spec.d.ts +1 -0
- package/dist/es/components/search-results/filters/facets/FacetDisplay.vue.d.ts +20 -0
- package/dist/es/components/search-results/filters/facets/FacetList.vue.d.ts +13 -0
- package/dist/es/components/search-results/filters/facets/Facets.vue.d.ts +31 -0
- package/dist/es/components/search-results/filters/facets/HierarchyFacet.vue.d.ts +21 -0
- package/dist/es/components/search-results/filters/facets/HierarchyFacetLevel.vue.d.ts +12 -0
- package/dist/es/components/search-results/filters/facets/StatsFacet.vue.d.ts +23 -0
- package/dist/es/components/search-results/filters/facets/TermFacet.vue.d.ts +18 -0
- package/dist/es/components/search-results/filters/facets/__tests__/FacetDisplay.vue.spec.d.ts +1 -0
- package/dist/es/components/search-results/filters/facets/__tests__/FacetList.vue.spec.d.ts +1 -0
- package/dist/es/components/search-results/filters/facets/__tests__/HierarchyFacet.vue.spec.d.ts +1 -0
- package/dist/es/components/search-results/filters/facets/__tests__/StatsFacet.vue.spec.d.ts +1 -0
- package/dist/es/components/search-results/filters/facets/__tests__/TermFacet.vue.spec.d.ts +1 -0
- package/dist/es/components/search-results/products/SearchResultsLayoutSelection.vue.d.ts +8 -0
- package/dist/es/components/search-results/products/SearchResultsMobileToggle.vue.d.ts +8 -0
- package/dist/es/components/search-results/products/SearchResultsProducts.vue.d.ts +29 -0
- package/dist/es/components/search-results/products/SearchResultsSummary.vue.d.ts +8 -0
- package/dist/es/components/search-results/products/SearchResultsToolbar.vue.d.ts +21 -0
- package/dist/es/components/search-results/products/__tests__/SearchResultsLayoutSelection.spec.d.ts +1 -0
- package/dist/es/components/search-results/products/__tests__/SearchResultsProducts.spec.d.ts +1 -0
- package/dist/es/components/search-results/products/__tests__/SearchResultsToolbar.spec.d.ts +1 -0
- package/dist/es/components/search-results/products/pagination/SearchResultsPageSelect.vue.d.ts +18 -0
- package/dist/es/components/search-results/products/pagination/SearchResultsPageSize.vue.d.ts +19 -0
- package/dist/es/components/search-results/products/pagination/__tests__/SearchResultsPageSelect.spec.d.ts +1 -0
- package/dist/es/components/search-results/products/pagination/__tests__/SearchResultsPageSize.spec.d.ts +1 -0
- package/dist/es/components/search-results/products/product-card/SearchResultsProductCard.vue.d.ts +33 -0
- package/dist/es/components/search-results/products/product-card/__tests__/SearchResultsBadgeWrapper.spec.d.ts +1 -0
- package/dist/es/components/search-results/products/product-card/__tests__/SearchResultsProductCard.spec.d.ts +1 -0
- package/dist/es/components/search-results/products/product-card/badges/CustomBadge.vue.d.ts +7 -0
- package/dist/es/components/search-results/products/product-card/badges/ImageBadge.vue.d.ts +8 -0
- package/dist/es/components/search-results/products/product-card/badges/SearchResultsBadgeWrapper.vue.d.ts +9 -0
- package/dist/es/components/search-results/products/product-card/badges/TextBadge.vue.d.ts +7 -0
- package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductAddToCart.vue.d.ts +12 -0
- package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductCardElement.vue.d.ts +16 -0
- package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductCustom.vue.d.ts +10 -0
- package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductDescription.vue.d.ts +10 -0
- package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductImage.vue.d.ts +14 -0
- package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductPrice.vue.d.ts +10 -0
- package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductRating.vue.d.ts +13 -0
- package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductRegularPrice.vue.d.ts +10 -0
- package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductTitle.vue.d.ts +11 -0
- package/dist/es/components/search-results/products/product-card/elements/__tests__/SearchResultsProductAddToCart.spec.d.ts +1 -0
- package/dist/es/components/search-results/products/product-card/elements/__tests__/SearchResultsProductCustom.spec.d.ts +1 -0
- package/dist/es/components/search-results/products/product-card/elements/__tests__/SearchResultsProductCustomHtmlElement.spec.d.ts +1 -0
- package/dist/es/components/search-results/products/product-card/elements/__tests__/SearchResultsProductDescription.spec.d.ts +1 -0
- package/dist/es/components/search-results/products/product-card/elements/__tests__/SearchResultsProductImage.spec.d.ts +1 -0
- package/dist/es/components/search-results/products/product-card/elements/__tests__/SearchResultsProductPrice.spec.d.ts +1 -0
- package/dist/es/components/search-results/products/product-card/elements/__tests__/SearchResultsProductRating.spec.d.ts +1 -0
- package/dist/es/components/search-results/products/product-card/elements/__tests__/SearchResultsProductTitle.spec.d.ts +1 -0
- package/dist/es/components/search-results/products/product-card/elements/custom/SearchResultsProductCustomHtmlElement.vue.d.ts +9 -0
- package/dist/es/components/search-results/products/similar-queries/SearchResultsSimilarQueries.vue.d.ts +19 -0
- package/dist/es/components/search-results/products/similar-queries/SimilarQueryText.vue.d.ts +10 -0
- package/dist/es/components/search-results/products/sort/SearchResultsSort.vue.d.ts +23 -0
- package/dist/es/components/search-results/products/sort/__tests__/SearchResultsSort.spec.d.ts +1 -0
- package/dist/es/constants/development/searchBoxDev.example.const.d.ts +27 -0
- package/dist/es/constants/development/searchResultsDev.example.const.d.ts +91 -0
- package/dist/es/constants/global.const.d.ts +13 -0
- package/dist/es/constants/mockData..const.d.ts +4 -0
- package/dist/es/constants/queryParams.const.d.ts +25 -0
- package/dist/es/constants/searchBox.const.d.ts +48 -0
- package/dist/es/constants/searchResults.const.d.ts +105 -0
- package/dist/es/index-iife.d.ts +21 -0
- package/dist/es/index.d.ts +11 -0
- package/dist/es/index.min.js +33179 -0
- package/dist/es/main.d.ts +1 -0
- package/dist/es/store/__tests__/history.spec.d.ts +1 -0
- package/dist/es/store/__tests__/params.spec.d.ts +1 -0
- package/dist/es/store/__tests__/searchBox.spec.d.ts +1 -0
- package/dist/es/store/__tests__/searchResult.spec.d.ts +1 -0
- package/dist/es/store/index.d.ts +2 -0
- package/dist/es/store/modules/history.d.ts +13 -0
- package/dist/es/store/modules/options.d.ts +16 -0
- package/dist/es/store/modules/params.d.ts +55 -0
- package/dist/es/store/modules/searchBox.d.ts +65 -0
- package/dist/es/store/modules/searchResult.d.ts +47 -0
- package/dist/es/store/modules/tracking.d.ts +17 -0
- package/dist/es/store/types/State.d.ts +38 -0
- package/dist/es/types/AnalyticsOptions.d.ts +7 -0
- package/dist/es/types/DocumentElement.d.ts +68 -0
- package/dist/es/types/General.d.ts +12 -0
- package/dist/es/types/search-box/Common.d.ts +44 -0
- package/dist/es/types/search-box/SearchBoxHistory.d.ts +6 -0
- package/dist/es/types/search-box/SearchBoxOptions.d.ts +30 -0
- package/dist/es/types/search-box/SearchBoxPanel.d.ts +28 -0
- package/dist/es/types/search-results/BadgeOptions.d.ts +42 -0
- package/dist/es/types/search-results/FacetAction.d.ts +16 -0
- package/dist/es/types/search-results/Filters.d.ts +9 -0
- package/dist/es/types/search-results/PaginationOptions.d.ts +19 -0
- package/dist/es/types/search-results/QueryParams.d.ts +4 -0
- package/dist/es/types/search-results/ResultsLayout.d.ts +5 -0
- package/dist/es/types/search-results/SearchResultsAdditionalPanelOptions.d.ts +15 -0
- package/dist/es/types/search-results/SearchResultsOptions.d.ts +109 -0
- package/dist/es/types/search-results/SearchResultsPagination.d.ts +20 -0
- package/dist/es/types/search-results/SearchResultsProductCardOptions.d.ts +20 -0
- package/dist/es/types/search-results/SearchResultsSort.d.ts +11 -0
- package/dist/es/utils/__tests__/debounce.utils.spec.d.ts +1 -0
- package/dist/es/utils/__tests__/event.utils.spec.d.ts +1 -0
- package/dist/es/utils/__tests__/filter.toggle.utils.spec.d.ts +1 -0
- package/dist/es/utils/__tests__/filter.utils.spec.d.ts +1 -0
- package/dist/es/utils/__tests__/history.utils.spec.d.ts +1 -0
- package/dist/es/utils/__tests__/link.utils.spec.d.ts +1 -0
- package/dist/es/utils/__tests__/params.utils.spec.d.ts +1 -0
- package/dist/es/utils/__tests__/picker.utils.spec.d.ts +1 -0
- package/dist/es/utils/__tests__/price.utils.spec.d.ts +1 -0
- package/dist/es/utils/__tests__/query.utils.spec.d.ts +1 -0
- package/dist/es/utils/__tests__/string.utils.spec.d.ts +1 -0
- package/dist/es/utils/__tests__/suggestion.utils.spec.d.ts +1 -0
- package/dist/es/utils/__tests__/tracking.utils.spec.d.ts +1 -0
- package/dist/es/utils/debounce.utils.d.ts +1 -0
- package/dist/es/utils/document.utils.d.ts +1 -0
- package/dist/es/utils/event.utils.d.ts +2 -0
- package/dist/es/utils/filter.toggle.utils.d.ts +23 -0
- package/dist/es/utils/filter.utils.d.ts +10 -0
- package/dist/es/utils/history.utils.d.ts +2 -0
- package/dist/es/utils/link.utils.d.ts +4 -0
- package/dist/es/utils/merger.utils.d.ts +1 -0
- package/dist/es/utils/params.utils.d.ts +9 -0
- package/dist/es/utils/picker.utils.d.ts +5 -0
- package/dist/es/utils/price.utils.d.ts +2 -0
- package/dist/es/utils/query.utils.d.ts +4 -0
- package/dist/es/utils/scroll.utils.d.ts +2 -0
- package/dist/es/utils/string.utils.d.ts +7 -0
- package/dist/es/utils/suggestion.utils.d.ts +3 -0
- package/dist/es/utils/tracking.utils.d.ts +5 -0
- package/dist/iife/SearchBoxEntry.vue.d.ts +6 -0
- package/dist/iife/SearchResultsEntry.vue.d.ts +6 -0
- package/dist/iife/components/common/Spinner.vue.d.ts +3 -0
- package/dist/iife/components/search-box/SearchBox.vue.d.ts +60 -0
- package/dist/iife/components/search-box/SearchBoxInput.vue.d.ts +21 -0
- package/dist/iife/components/search-box/SearchBoxMainPanel.vue.d.ts +33 -0
- package/dist/iife/components/search-box/SearchBoxMoreResults.vue.d.ts +11 -0
- package/dist/iife/components/search-box/__tests__/SearchBox.spec.d.ts +1 -0
- package/dist/iife/components/search-box/__tests__/SearchBoxInput.spec.d.ts +1 -0
- package/dist/iife/components/search-box/__tests__/SearchBoxMainPanel.spec.d.ts +1 -0
- package/dist/iife/components/search-box/history/SearchBoxHistoryItem.vue.d.ts +7 -0
- package/dist/iife/components/search-box/history/SearchBoxHistoryPanel.vue.d.ts +23 -0
- package/dist/iife/components/search-box/history/__tests__/SearchBoxHistoryPanel.vue.spec.d.ts +1 -0
- package/dist/iife/components/search-box/products/SearchBoxProduct.vue.d.ts +25 -0
- package/dist/iife/components/search-box/products/SearchBoxProducts.vue.d.ts +15 -0
- package/dist/iife/components/search-box/products/SearchBoxProductsWrapper.vue.d.ts +26 -0
- package/dist/iife/components/search-box/products/__tests__/SearchBoxProduct.vue.spec.d.ts +1 -0
- package/dist/iife/components/search-box/products/elements/SearchBoxProductCustom.vue.d.ts +10 -0
- package/dist/iife/components/search-box/products/elements/SearchBoxProductDescription.vue.d.ts +9 -0
- package/dist/iife/components/search-box/products/elements/SearchBoxProductElement.vue.d.ts +11 -0
- package/dist/iife/components/search-box/products/elements/SearchBoxProductImage.vue.d.ts +14 -0
- package/dist/iife/components/search-box/products/elements/SearchBoxProductPrice.vue.d.ts +10 -0
- package/dist/iife/components/search-box/products/elements/SearchBoxProductRegularPrice.vue.d.ts +10 -0
- package/dist/iife/components/search-box/products/elements/SearchBoxProductTitle.vue.d.ts +9 -0
- package/dist/iife/components/search-box/products/elements/__tests__/SearchBoxProductCustom.vue.spec.d.ts +1 -0
- package/dist/iife/components/search-box/products/elements/__tests__/SearchBoxProductElement.vue.spec.d.ts +1 -0
- package/dist/iife/components/search-box/products/elements/__tests__/SearchBoxProductImage.spec.d.ts +1 -0
- package/dist/iife/components/search-box/products/elements/__tests__/SearchBoxProductPrice.vue.spec.d.ts +1 -0
- package/dist/iife/components/search-box/products/elements/__tests__/SearchBoxProductTitle.vue.spec.d.ts +1 -0
- package/dist/iife/components/search-box/products/elements/custom/SearchBoxProductCustomHtml.vue.d.ts +9 -0
- package/dist/iife/components/search-box/suggestions/SearchBoxSuggestion.vue.d.ts +10 -0
- package/dist/iife/components/search-box/suggestions/SearchBoxSuggestions.vue.d.ts +22 -0
- package/dist/iife/components/search-box/suggestions/SearchBoxSuggestionsWrapper.vue.d.ts +28 -0
- package/dist/iife/components/search-box/suggestions/__tests__/Suggestions.spec.d.ts +1 -0
- package/dist/iife/components/search-results/SearchResults.vue.d.ts +48 -0
- package/dist/iife/components/search-results/SearchResultsBreadcrumbs.vue.d.ts +7 -0
- package/dist/iife/components/search-results/SearchResultsDidYouMean.vue.d.ts +19 -0
- package/dist/iife/components/search-results/__tests__/SearchResults.spec.d.ts +1 -0
- package/dist/iife/components/search-results/__tests__/SearchResultsBreadcrumbs.spec.d.ts +1 -0
- package/dist/iife/components/search-results/additional-panels/AdditionalPanel.vue.d.ts +21 -0
- package/dist/iife/components/search-results/additional-panels/AdditionalPanels.vue.d.ts +11 -0
- package/dist/iife/components/search-results/additional-panels/__tests__/AdditionalPanels.vue.spec.d.ts +1 -0
- package/dist/iife/components/search-results/filters/CurrentFilterDisplay.vue.d.ts +6 -0
- package/dist/iife/components/search-results/filters/CurrentFilters.vue.d.ts +36 -0
- package/dist/iife/components/search-results/filters/FiltersTopDropdown.vue.d.ts +5 -0
- package/dist/iife/components/search-results/filters/MobileFilterSidebar.vue.d.ts +10 -0
- package/dist/iife/components/search-results/filters/SearchResultsFilters.vue.d.ts +7 -0
- package/dist/iife/components/search-results/filters/__tests__/CurrentFilterDisplay.vue.spec.d.ts +1 -0
- package/dist/iife/components/search-results/filters/__tests__/CurrentFilters.vue.spec.d.ts +1 -0
- package/dist/iife/components/search-results/filters/facets/FacetDisplay.vue.d.ts +20 -0
- package/dist/iife/components/search-results/filters/facets/FacetList.vue.d.ts +13 -0
- package/dist/iife/components/search-results/filters/facets/Facets.vue.d.ts +31 -0
- package/dist/iife/components/search-results/filters/facets/HierarchyFacet.vue.d.ts +21 -0
- package/dist/iife/components/search-results/filters/facets/HierarchyFacetLevel.vue.d.ts +12 -0
- package/dist/iife/components/search-results/filters/facets/StatsFacet.vue.d.ts +23 -0
- package/dist/iife/components/search-results/filters/facets/TermFacet.vue.d.ts +18 -0
- package/dist/iife/components/search-results/filters/facets/__tests__/FacetDisplay.vue.spec.d.ts +1 -0
- package/dist/iife/components/search-results/filters/facets/__tests__/FacetList.vue.spec.d.ts +1 -0
- package/dist/iife/components/search-results/filters/facets/__tests__/HierarchyFacet.vue.spec.d.ts +1 -0
- package/dist/iife/components/search-results/filters/facets/__tests__/StatsFacet.vue.spec.d.ts +1 -0
- package/dist/iife/components/search-results/filters/facets/__tests__/TermFacet.vue.spec.d.ts +1 -0
- package/dist/iife/components/search-results/products/SearchResultsLayoutSelection.vue.d.ts +8 -0
- package/dist/iife/components/search-results/products/SearchResultsMobileToggle.vue.d.ts +8 -0
- package/dist/iife/components/search-results/products/SearchResultsProducts.vue.d.ts +29 -0
- package/dist/iife/components/search-results/products/SearchResultsSummary.vue.d.ts +8 -0
- package/dist/iife/components/search-results/products/SearchResultsToolbar.vue.d.ts +21 -0
- package/dist/iife/components/search-results/products/__tests__/SearchResultsLayoutSelection.spec.d.ts +1 -0
- package/dist/iife/components/search-results/products/__tests__/SearchResultsProducts.spec.d.ts +1 -0
- package/dist/iife/components/search-results/products/__tests__/SearchResultsToolbar.spec.d.ts +1 -0
- package/dist/iife/components/search-results/products/pagination/SearchResultsPageSelect.vue.d.ts +18 -0
- package/dist/iife/components/search-results/products/pagination/SearchResultsPageSize.vue.d.ts +19 -0
- package/dist/iife/components/search-results/products/pagination/__tests__/SearchResultsPageSelect.spec.d.ts +1 -0
- package/dist/iife/components/search-results/products/pagination/__tests__/SearchResultsPageSize.spec.d.ts +1 -0
- package/dist/iife/components/search-results/products/product-card/SearchResultsProductCard.vue.d.ts +33 -0
- package/dist/iife/components/search-results/products/product-card/__tests__/SearchResultsBadgeWrapper.spec.d.ts +1 -0
- package/dist/iife/components/search-results/products/product-card/__tests__/SearchResultsProductCard.spec.d.ts +1 -0
- package/dist/iife/components/search-results/products/product-card/badges/CustomBadge.vue.d.ts +7 -0
- package/dist/iife/components/search-results/products/product-card/badges/ImageBadge.vue.d.ts +8 -0
- package/dist/iife/components/search-results/products/product-card/badges/SearchResultsBadgeWrapper.vue.d.ts +9 -0
- package/dist/iife/components/search-results/products/product-card/badges/TextBadge.vue.d.ts +7 -0
- package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductAddToCart.vue.d.ts +12 -0
- package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductCardElement.vue.d.ts +16 -0
- package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductCustom.vue.d.ts +10 -0
- package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductDescription.vue.d.ts +10 -0
- package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductImage.vue.d.ts +14 -0
- package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductPrice.vue.d.ts +10 -0
- package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductRating.vue.d.ts +13 -0
- package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductRegularPrice.vue.d.ts +10 -0
- package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductTitle.vue.d.ts +11 -0
- package/dist/iife/components/search-results/products/product-card/elements/__tests__/SearchResultsProductAddToCart.spec.d.ts +1 -0
- package/dist/iife/components/search-results/products/product-card/elements/__tests__/SearchResultsProductCustom.spec.d.ts +1 -0
- package/dist/iife/components/search-results/products/product-card/elements/__tests__/SearchResultsProductCustomHtmlElement.spec.d.ts +1 -0
- package/dist/iife/components/search-results/products/product-card/elements/__tests__/SearchResultsProductDescription.spec.d.ts +1 -0
- package/dist/iife/components/search-results/products/product-card/elements/__tests__/SearchResultsProductImage.spec.d.ts +1 -0
- package/dist/iife/components/search-results/products/product-card/elements/__tests__/SearchResultsProductPrice.spec.d.ts +1 -0
- package/dist/iife/components/search-results/products/product-card/elements/__tests__/SearchResultsProductRating.spec.d.ts +1 -0
- package/dist/iife/components/search-results/products/product-card/elements/__tests__/SearchResultsProductTitle.spec.d.ts +1 -0
- package/dist/iife/components/search-results/products/product-card/elements/custom/SearchResultsProductCustomHtmlElement.vue.d.ts +9 -0
- package/dist/iife/components/search-results/products/similar-queries/SearchResultsSimilarQueries.vue.d.ts +19 -0
- package/dist/iife/components/search-results/products/similar-queries/SimilarQueryText.vue.d.ts +10 -0
- package/dist/iife/components/search-results/products/sort/SearchResultsSort.vue.d.ts +23 -0
- package/dist/iife/components/search-results/products/sort/__tests__/SearchResultsSort.spec.d.ts +1 -0
- package/dist/iife/constants/development/searchBoxDev.example.const.d.ts +27 -0
- package/dist/iife/constants/development/searchResultsDev.example.const.d.ts +91 -0
- package/dist/iife/constants/global.const.d.ts +13 -0
- package/dist/iife/constants/mockData..const.d.ts +4 -0
- package/dist/iife/constants/queryParams.const.d.ts +25 -0
- package/dist/iife/constants/searchBox.const.d.ts +48 -0
- package/dist/iife/constants/searchResults.const.d.ts +105 -0
- package/dist/iife/index-iife.d.ts +21 -0
- package/dist/iife/index.d.ts +11 -0
- package/dist/iife/index.min.js +1 -0
- package/dist/iife/main.d.ts +1 -0
- package/dist/iife/store/__tests__/history.spec.d.ts +1 -0
- package/dist/iife/store/__tests__/params.spec.d.ts +1 -0
- package/dist/iife/store/__tests__/searchBox.spec.d.ts +1 -0
- package/dist/iife/store/__tests__/searchResult.spec.d.ts +1 -0
- package/dist/iife/store/index.d.ts +2 -0
- package/dist/iife/store/modules/history.d.ts +13 -0
- package/dist/iife/store/modules/options.d.ts +16 -0
- package/dist/iife/store/modules/params.d.ts +55 -0
- package/dist/iife/store/modules/searchBox.d.ts +65 -0
- package/dist/iife/store/modules/searchResult.d.ts +47 -0
- package/dist/iife/store/modules/tracking.d.ts +17 -0
- package/dist/iife/store/types/State.d.ts +38 -0
- package/dist/iife/types/AnalyticsOptions.d.ts +7 -0
- package/dist/iife/types/DocumentElement.d.ts +68 -0
- package/dist/iife/types/General.d.ts +12 -0
- package/dist/iife/types/search-box/Common.d.ts +44 -0
- package/dist/iife/types/search-box/SearchBoxHistory.d.ts +6 -0
- package/dist/iife/types/search-box/SearchBoxOptions.d.ts +30 -0
- package/dist/iife/types/search-box/SearchBoxPanel.d.ts +28 -0
- package/dist/iife/types/search-results/BadgeOptions.d.ts +42 -0
- package/dist/iife/types/search-results/FacetAction.d.ts +16 -0
- package/dist/iife/types/search-results/Filters.d.ts +9 -0
- package/dist/iife/types/search-results/PaginationOptions.d.ts +19 -0
- package/dist/iife/types/search-results/QueryParams.d.ts +4 -0
- package/dist/iife/types/search-results/ResultsLayout.d.ts +5 -0
- package/dist/iife/types/search-results/SearchResultsAdditionalPanelOptions.d.ts +15 -0
- package/dist/iife/types/search-results/SearchResultsOptions.d.ts +109 -0
- package/dist/iife/types/search-results/SearchResultsPagination.d.ts +20 -0
- package/dist/iife/types/search-results/SearchResultsProductCardOptions.d.ts +20 -0
- package/dist/iife/types/search-results/SearchResultsSort.d.ts +11 -0
- package/dist/iife/utils/__tests__/debounce.utils.spec.d.ts +1 -0
- package/dist/iife/utils/__tests__/event.utils.spec.d.ts +1 -0
- package/dist/iife/utils/__tests__/filter.toggle.utils.spec.d.ts +1 -0
- package/dist/iife/utils/__tests__/filter.utils.spec.d.ts +1 -0
- package/dist/iife/utils/__tests__/history.utils.spec.d.ts +1 -0
- package/dist/iife/utils/__tests__/link.utils.spec.d.ts +1 -0
- package/dist/iife/utils/__tests__/params.utils.spec.d.ts +1 -0
- package/dist/iife/utils/__tests__/picker.utils.spec.d.ts +1 -0
- package/dist/iife/utils/__tests__/price.utils.spec.d.ts +1 -0
- package/dist/iife/utils/__tests__/query.utils.spec.d.ts +1 -0
- package/dist/iife/utils/__tests__/string.utils.spec.d.ts +1 -0
- package/dist/iife/utils/__tests__/suggestion.utils.spec.d.ts +1 -0
- package/dist/iife/utils/__tests__/tracking.utils.spec.d.ts +1 -0
- package/dist/iife/utils/debounce.utils.d.ts +1 -0
- package/dist/iife/utils/document.utils.d.ts +1 -0
- package/dist/iife/utils/event.utils.d.ts +2 -0
- package/dist/iife/utils/filter.toggle.utils.d.ts +23 -0
- package/dist/iife/utils/filter.utils.d.ts +10 -0
- package/dist/iife/utils/history.utils.d.ts +2 -0
- package/dist/iife/utils/link.utils.d.ts +4 -0
- package/dist/iife/utils/merger.utils.d.ts +1 -0
- package/dist/iife/utils/params.utils.d.ts +9 -0
- package/dist/iife/utils/picker.utils.d.ts +5 -0
- package/dist/iife/utils/price.utils.d.ts +2 -0
- package/dist/iife/utils/query.utils.d.ts +4 -0
- package/dist/iife/utils/scroll.utils.d.ts +2 -0
- package/dist/iife/utils/string.utils.d.ts +7 -0
- package/dist/iife/utils/suggestion.utils.d.ts +3 -0
- package/dist/iife/utils/tracking.utils.d.ts +5 -0
- package/dist/style.css +1 -0
- package/dist/style.js +1 -0
- package/jest.config.js +22 -0
- package/package.json +72 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import Vue from "vue";
|
|
2
|
+
import { Document } from "@getlupa/client-sdk/Types";
|
|
3
|
+
import { RegularPriceDocumentElement } from "@/types/DocumentElement";
|
|
4
|
+
import { SearchBoxOptionLabels } from "@/types/search-box/SearchBoxOptions";
|
|
5
|
+
export default class SearchBoxProductPrice extends Vue {
|
|
6
|
+
item: Document;
|
|
7
|
+
options: RegularPriceDocumentElement;
|
|
8
|
+
labels?: SearchBoxOptionLabels;
|
|
9
|
+
get price(): string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import Vue from "vue";
|
|
2
|
+
import { Document } from "@getlupa/client-sdk/Types";
|
|
3
|
+
import { RegularPriceDocumentElement } from "@/types/DocumentElement";
|
|
4
|
+
import { SearchBoxOptionLabels } from "@/types/search-box/SearchBoxOptions";
|
|
5
|
+
export default class SearchBoxProductRegularPrice extends Vue {
|
|
6
|
+
item: Document;
|
|
7
|
+
options: RegularPriceDocumentElement;
|
|
8
|
+
labels: SearchBoxOptionLabels;
|
|
9
|
+
get price(): string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import Vue from "vue";
|
|
2
|
+
import { Document } from "@getlupa/client-sdk/Types";
|
|
3
|
+
import { TitleDocumentElement } from "@/types/DocumentElement";
|
|
4
|
+
export default class SearchBoxProductTitle extends Vue {
|
|
5
|
+
item: Document;
|
|
6
|
+
options: TitleDocumentElement;
|
|
7
|
+
get title(): unknown;
|
|
8
|
+
get isHtml(): boolean;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/es/components/search-box/products/elements/__tests__/SearchBoxProductImage.spec.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/es/components/search-box/products/elements/custom/SearchBoxProductCustomHtml.vue.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import Vue from "vue";
|
|
2
|
+
import { Document } from "@getlupa/client-sdk/Types";
|
|
3
|
+
import { CustomHtmlElement } from "@/types/DocumentElement";
|
|
4
|
+
export default class SearchBoxProductCustomHtml extends Vue {
|
|
5
|
+
item: Document;
|
|
6
|
+
options: CustomHtmlElement;
|
|
7
|
+
get text(): string;
|
|
8
|
+
get className(): string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DisplaySuggestion } from "@/types/search-box/Common";
|
|
2
|
+
import { SearchBoxOptionLabels } from "@/types/search-box/SearchBoxOptions";
|
|
3
|
+
import Vue from "vue";
|
|
4
|
+
export default class SearchBoxSuggestion extends Vue {
|
|
5
|
+
suggestion: DisplaySuggestion;
|
|
6
|
+
highlight: boolean[];
|
|
7
|
+
labels: SearchBoxOptionLabels;
|
|
8
|
+
get title(): string;
|
|
9
|
+
handleSelect(): void;
|
|
10
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DisplaySuggestion, InputSuggestionFacet } from "@/types/search-box/Common";
|
|
2
|
+
import { SearchBoxOptionLabels } from "@/types/search-box/SearchBoxOptions";
|
|
3
|
+
import { Suggestion } from "@getlupa/client-sdk/Types";
|
|
4
|
+
import Vue from "vue";
|
|
5
|
+
export default class SearchBoxSuggestions extends Vue {
|
|
6
|
+
items: DisplaySuggestion[];
|
|
7
|
+
highlight: boolean[];
|
|
8
|
+
queryKey: string;
|
|
9
|
+
labels: SearchBoxOptionLabels;
|
|
10
|
+
highlightedItem?: {
|
|
11
|
+
queryKey: string;
|
|
12
|
+
index: number;
|
|
13
|
+
};
|
|
14
|
+
get highlightedIndex(): number;
|
|
15
|
+
handleSelect({ suggestion, override, facet, }: {
|
|
16
|
+
suggestion: Suggestion;
|
|
17
|
+
override: boolean;
|
|
18
|
+
facet?: InputSuggestionFacet;
|
|
19
|
+
}): void;
|
|
20
|
+
handleHighlight(): void;
|
|
21
|
+
getSuggestionKey(suggestion: DisplaySuggestion): string;
|
|
22
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { DisplaySuggestion } from "@/types/search-box/Common";
|
|
2
|
+
import { SdkOptions } from "@/types/General";
|
|
3
|
+
import { SuggestionSearchBoxPanel } from "@/types/search-box/SearchBoxPanel";
|
|
4
|
+
import Vue from "vue";
|
|
5
|
+
import { Options, PublicQuery, SuggestionQueryResult } from "@getlupa/client-sdk/Types";
|
|
6
|
+
import { SearchBoxOptionLabels } from "@/types/search-box/SearchBoxOptions";
|
|
7
|
+
export default class SearchBoxSuggestionsWrapper extends Vue {
|
|
8
|
+
items: DisplaySuggestion[];
|
|
9
|
+
panel: SuggestionSearchBoxPanel;
|
|
10
|
+
options: SdkOptions;
|
|
11
|
+
inputValue: string;
|
|
12
|
+
debounce?: number;
|
|
13
|
+
labels: SearchBoxOptionLabels;
|
|
14
|
+
suggestionResults: Record<string, DisplaySuggestion[]>;
|
|
15
|
+
get searchResult(): DisplaySuggestion[];
|
|
16
|
+
querySuggestions: ({ queryKey, publicQuery, options, }: {
|
|
17
|
+
queryKey: string;
|
|
18
|
+
publicQuery: PublicQuery;
|
|
19
|
+
options?: Options;
|
|
20
|
+
}) => Promise<{
|
|
21
|
+
queryKey: string;
|
|
22
|
+
suggestions?: SuggestionQueryResult;
|
|
23
|
+
}>;
|
|
24
|
+
created(): void;
|
|
25
|
+
onInputChange(): void;
|
|
26
|
+
getSuggestionsDebounced: () => unknown;
|
|
27
|
+
getSuggestions(): void;
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { QueryParams } from "@/types/search-results/QueryParams";
|
|
2
|
+
import { ProductGrid, SearchResultsDidYouMeanLabels, SearchResultsOptions, SearchResultsProductOptions } from "@/types/search-results/SearchResultsOptions";
|
|
3
|
+
import { PublicQuery, SearchQueryResult } from "@getlupa/client-sdk/Types";
|
|
4
|
+
import Vue from "vue";
|
|
5
|
+
export default class SearchResults extends Vue {
|
|
6
|
+
options: SearchResultsOptions;
|
|
7
|
+
get productsOptions(): SearchResultsProductOptions;
|
|
8
|
+
get didYouMeanLabels(): SearchResultsDidYouMeanLabels;
|
|
9
|
+
get queryText(): string;
|
|
10
|
+
get showFilterSidebar(): boolean;
|
|
11
|
+
trackSearch: ({ queryKey, query, }: {
|
|
12
|
+
queryKey: string;
|
|
13
|
+
query: PublicQuery;
|
|
14
|
+
}) => void;
|
|
15
|
+
trackResults: ({ queryKey, results, }: {
|
|
16
|
+
queryKey: string;
|
|
17
|
+
results: SearchQueryResult;
|
|
18
|
+
}) => void;
|
|
19
|
+
currentQueryText: string;
|
|
20
|
+
suggestedSearchText: string;
|
|
21
|
+
searchString: string;
|
|
22
|
+
setDefaultLimit: (defaultLimit: number) => {
|
|
23
|
+
defaultLimit: number;
|
|
24
|
+
};
|
|
25
|
+
addParams: (params: QueryParams) => {
|
|
26
|
+
params: QueryParams;
|
|
27
|
+
};
|
|
28
|
+
setSearchResultOptions: ({ options, }: {
|
|
29
|
+
options: SearchResultsOptions;
|
|
30
|
+
}) => void;
|
|
31
|
+
mounted(): void;
|
|
32
|
+
beforeDestroy(): void;
|
|
33
|
+
handleMounted(): void;
|
|
34
|
+
handleParamsChange(): void;
|
|
35
|
+
addSearchResult: (searchResult: SearchQueryResult) => SearchQueryResult;
|
|
36
|
+
setLoading: (loading: boolean) => {
|
|
37
|
+
loading: boolean;
|
|
38
|
+
};
|
|
39
|
+
handleUrlChange(params?: URLSearchParams): void;
|
|
40
|
+
query(publicQuery: PublicQuery): void;
|
|
41
|
+
setColumnCount: ({ width, grid, }: {
|
|
42
|
+
width: number;
|
|
43
|
+
grid: ProductGrid;
|
|
44
|
+
}) => {
|
|
45
|
+
columnCount: number;
|
|
46
|
+
};
|
|
47
|
+
handleResize(): void;
|
|
48
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SearchResultsBreadcrumb } from "@/types/search-results/SearchResultsOptions";
|
|
2
|
+
import Vue from "vue";
|
|
3
|
+
export default class SearchResultsBreadcrumbs extends Vue {
|
|
4
|
+
breadcrumbs: SearchResultsBreadcrumb[];
|
|
5
|
+
currentQueryText: string;
|
|
6
|
+
getLabel(label: string): string;
|
|
7
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { InputSuggestionFacet } from "@/types/search-box/Common";
|
|
2
|
+
import { QueryParams } from "@/types/search-results/QueryParams";
|
|
3
|
+
import { SearchResultsDidYouMeanLabels } from "@/types/search-results/SearchResultsOptions";
|
|
4
|
+
import { SearchQueryResult } from "@getlupa/client-sdk/Types";
|
|
5
|
+
import Vue from "vue";
|
|
6
|
+
export default class SearchResultsDidYouMean extends Vue {
|
|
7
|
+
labels: SearchResultsDidYouMeanLabels;
|
|
8
|
+
searchResult: SearchQueryResult;
|
|
9
|
+
get didYouMeanLabel(): string;
|
|
10
|
+
get didYouMeanValue(): string;
|
|
11
|
+
insertValue(text: string): string;
|
|
12
|
+
getStyle(text: string): string;
|
|
13
|
+
goToResults: ({ searchText, facet, }: {
|
|
14
|
+
searchText: string;
|
|
15
|
+
facet?: InputSuggestionFacet;
|
|
16
|
+
}) => {
|
|
17
|
+
params: QueryParams;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { SearchResultsAdditionalPanelOptions } from "@/types/search-results/SearchResultsAdditionalPanelOptions";
|
|
2
|
+
import Vue from "vue";
|
|
3
|
+
import { SdkOptions } from "@/types/General";
|
|
4
|
+
import { SearchQueryResult } from "@getlupa/client-sdk/Types";
|
|
5
|
+
import { Document } from "@getlupa/client-sdk/Types";
|
|
6
|
+
export default class AdditionalPanels extends Vue {
|
|
7
|
+
panel: SearchResultsAdditionalPanelOptions;
|
|
8
|
+
options: SdkOptions;
|
|
9
|
+
result: SearchQueryResult;
|
|
10
|
+
query: string;
|
|
11
|
+
showAll: boolean;
|
|
12
|
+
get displayShowMore(): boolean;
|
|
13
|
+
get itemCount(): number;
|
|
14
|
+
get items(): Document[];
|
|
15
|
+
get visibleItems(): Document[];
|
|
16
|
+
get hasResults(): boolean;
|
|
17
|
+
mounted(): void;
|
|
18
|
+
handleQueryChange(): void;
|
|
19
|
+
toggleShowMore(): void;
|
|
20
|
+
addParams(label: string, itemCount: number): string;
|
|
21
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SdkOptions } from "@/types/General";
|
|
2
|
+
import { SearchResultsAdditionalPanelOptions } from "@/types/search-results/SearchResultsAdditionalPanelOptions";
|
|
3
|
+
import { SearchResultsAdditionalPanels } from "@/types/search-results/SearchResultsOptions";
|
|
4
|
+
import Vue from "vue";
|
|
5
|
+
export default class AdditionalPanels extends Vue {
|
|
6
|
+
options: SearchResultsAdditionalPanels;
|
|
7
|
+
sdkOptions: SdkOptions;
|
|
8
|
+
location: "top" | "bottom";
|
|
9
|
+
get locationPanels(): SearchResultsAdditionalPanelOptions[];
|
|
10
|
+
get isVisible(): boolean;
|
|
11
|
+
}
|
package/dist/es/components/search-results/additional-panels/__tests__/AdditionalPanels.vue.spec.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import Vue from "vue";
|
|
2
|
+
import { ResultCurrentFilterOptions } from "@/types/search-results/SearchResultsOptions";
|
|
3
|
+
import { FacetResult, FilterGroup } from "@getlupa/client-sdk/Types";
|
|
4
|
+
import { LabeledFilter } from "@/types/search-results/Filters";
|
|
5
|
+
import { QueryParams } from "@/types/search-results/QueryParams";
|
|
6
|
+
export default class CurrentFilters extends Vue {
|
|
7
|
+
options: ResultCurrentFilterOptions;
|
|
8
|
+
expandable: boolean;
|
|
9
|
+
isOpen: boolean;
|
|
10
|
+
currentFilters: FilterGroup;
|
|
11
|
+
facets: FacetResult[] | undefined;
|
|
12
|
+
get labeledFilters(): LabeledFilter[];
|
|
13
|
+
get hasFilters(): boolean;
|
|
14
|
+
get filterCount(): number;
|
|
15
|
+
removeParams: ({ paramsToRemove, }: {
|
|
16
|
+
paramsToRemove?: string[];
|
|
17
|
+
}) => {
|
|
18
|
+
params: QueryParams;
|
|
19
|
+
};
|
|
20
|
+
removeAllFilters: () => {
|
|
21
|
+
params: QueryParams;
|
|
22
|
+
};
|
|
23
|
+
handleClearAll: () => void;
|
|
24
|
+
appendParams: ({ params, paramsToRemove, }: {
|
|
25
|
+
params: {
|
|
26
|
+
name: string;
|
|
27
|
+
value: string | string[];
|
|
28
|
+
}[];
|
|
29
|
+
paramsToRemove?: string[];
|
|
30
|
+
}) => {
|
|
31
|
+
params: QueryParams;
|
|
32
|
+
};
|
|
33
|
+
handleRemove({ filter }: {
|
|
34
|
+
filter: LabeledFilter;
|
|
35
|
+
}): void;
|
|
36
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SearchResultsFilterOptions } from "@/types/search-results/SearchResultsOptions";
|
|
2
|
+
import Vue from "vue";
|
|
3
|
+
export default class MobileFilterSidebar extends Vue {
|
|
4
|
+
options: SearchResultsFilterOptions;
|
|
5
|
+
setSidebarVisibility: ({ visible, }: {
|
|
6
|
+
visible: boolean;
|
|
7
|
+
}) => void;
|
|
8
|
+
isMobileSidebarVisible: boolean;
|
|
9
|
+
handleMobileToggle(): void;
|
|
10
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import Vue from "vue";
|
|
2
|
+
import { SearchResultsFilterOptions } from "@/types/search-results/SearchResultsOptions";
|
|
3
|
+
export default class SearchResultsFilters extends Vue {
|
|
4
|
+
options: SearchResultsFilterOptions;
|
|
5
|
+
expandable: boolean;
|
|
6
|
+
get showCurrentFilters(): boolean;
|
|
7
|
+
}
|
package/dist/es/components/search-results/filters/__tests__/CurrentFilterDisplay.vue.spec.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import Vue from "vue";
|
|
2
|
+
import { FacetResult, FilterGroup } from "@getlupa/client-sdk/Types";
|
|
3
|
+
import { ResultFacetOptions } from "@/types/search-results/SearchResultsOptions";
|
|
4
|
+
import { FacetAction } from "@/types/search-results/FacetAction";
|
|
5
|
+
export default class FacetDisplay extends Vue {
|
|
6
|
+
options: ResultFacetOptions;
|
|
7
|
+
facet: FacetResult;
|
|
8
|
+
currentFilters: FilterGroup;
|
|
9
|
+
clearable: boolean;
|
|
10
|
+
isOpen: boolean;
|
|
11
|
+
get facetType(): string;
|
|
12
|
+
get hasItems(): boolean;
|
|
13
|
+
get hasFilter(): boolean;
|
|
14
|
+
mounted(): void;
|
|
15
|
+
beforeDestroy(): void;
|
|
16
|
+
handleMouseClick(e: MouseEvent): void;
|
|
17
|
+
toggleFacet(): void;
|
|
18
|
+
handleFacetSelect(item: FacetAction): void;
|
|
19
|
+
clear(): void;
|
|
20
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import Vue from "vue";
|
|
2
|
+
import { FacetResult, FilterGroup } from "@getlupa/client-sdk/Types";
|
|
3
|
+
import { FacetStyle, ResultFacetOptions } from "@/types/search-results/SearchResultsOptions";
|
|
4
|
+
import { FacetAction } from "@/types/search-results/FacetAction";
|
|
5
|
+
export default class FacetList extends Vue {
|
|
6
|
+
options: ResultFacetOptions;
|
|
7
|
+
facets: FacetResult[];
|
|
8
|
+
currentFilters: FilterGroup;
|
|
9
|
+
facetStyle: FacetStyle;
|
|
10
|
+
clearable: boolean;
|
|
11
|
+
handleFacetSelect(facetAction: FacetAction): void;
|
|
12
|
+
clear(facet: FacetResult): void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import Vue from "vue";
|
|
2
|
+
import { FacetStyle, ResultFacetOptions } from "@/types/search-results/SearchResultsOptions";
|
|
3
|
+
import { FacetResult, FilterGroup } from "@getlupa/client-sdk/Types";
|
|
4
|
+
import { QueryParams } from "@/types/search-results/QueryParams";
|
|
5
|
+
import { FacetAction } from "@/types/search-results/FacetAction";
|
|
6
|
+
export default class Facets extends Vue {
|
|
7
|
+
options: ResultFacetOptions;
|
|
8
|
+
facetStyle: FacetStyle;
|
|
9
|
+
clearable: boolean;
|
|
10
|
+
currentFilters: FilterGroup;
|
|
11
|
+
facets: FacetResult[] | undefined;
|
|
12
|
+
get promotedFacets(): FacetResult[] | undefined;
|
|
13
|
+
get regularFacets(): FacetResult[] | undefined;
|
|
14
|
+
removeParams: ({ paramsToRemove, }: {
|
|
15
|
+
paramsToRemove?: string[];
|
|
16
|
+
}) => {
|
|
17
|
+
params: QueryParams;
|
|
18
|
+
};
|
|
19
|
+
appendParams: ({ params, paramsToRemove, encode, }: {
|
|
20
|
+
params: {
|
|
21
|
+
name: string;
|
|
22
|
+
value: string | string[];
|
|
23
|
+
}[];
|
|
24
|
+
paramsToRemove?: string[];
|
|
25
|
+
encode?: boolean;
|
|
26
|
+
}) => {
|
|
27
|
+
params: QueryParams;
|
|
28
|
+
};
|
|
29
|
+
handleFacetSelect(facetAction: FacetAction): void;
|
|
30
|
+
clear(facet: FacetResult): void;
|
|
31
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import Vue from "vue";
|
|
2
|
+
import { FacetGroupHierarchy, FacetGroupItem, FilterGroupItemTypeTerms, HierarchyTree } from "@getlupa/client-sdk/Types";
|
|
3
|
+
import { ResultFacetOptions } from "@/types/search-results/SearchResultsOptions";
|
|
4
|
+
export default class HierarchyFacet extends Vue {
|
|
5
|
+
options: ResultFacetOptions;
|
|
6
|
+
facet: FacetGroupHierarchy;
|
|
7
|
+
currentFilters: FilterGroupItemTypeTerms;
|
|
8
|
+
showAll: boolean;
|
|
9
|
+
termFilter: string;
|
|
10
|
+
level: number;
|
|
11
|
+
get itemLimit(): number;
|
|
12
|
+
get allValues(): HierarchyTree[];
|
|
13
|
+
get displayValues(): HierarchyTree[];
|
|
14
|
+
get filteredValues(): HierarchyTree[];
|
|
15
|
+
get isFilterable(): boolean;
|
|
16
|
+
handleFacetClick({ value }: {
|
|
17
|
+
value: string;
|
|
18
|
+
}): void;
|
|
19
|
+
handleShowAll(): void;
|
|
20
|
+
isChecked(item: FacetGroupItem): boolean;
|
|
21
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import Vue from "vue";
|
|
2
|
+
import { FilterGroupItemTypeHierarchy, HierarchyTree } from "@getlupa/client-sdk/Types";
|
|
3
|
+
import { ResultFacetOptions } from "@/types/search-results/SearchResultsOptions";
|
|
4
|
+
export default class HierarchyFacetLevel extends Vue {
|
|
5
|
+
options: ResultFacetOptions;
|
|
6
|
+
level: number;
|
|
7
|
+
item: HierarchyTree;
|
|
8
|
+
currentFilters: FilterGroupItemTypeHierarchy;
|
|
9
|
+
handleFacetClick(item: HierarchyTree): void;
|
|
10
|
+
get showChildren(): boolean;
|
|
11
|
+
get isChecked(): boolean;
|
|
12
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import Vue from "vue";
|
|
2
|
+
import { FacetGroupTypeStats, FilterGroupItemTypeRange } from "@getlupa/client-sdk/Types";
|
|
3
|
+
import { ResultFacetOptions } from "@/types/search-results/SearchResultsOptions";
|
|
4
|
+
export default class TermFacet extends Vue {
|
|
5
|
+
options: ResultFacetOptions;
|
|
6
|
+
facet: FacetGroupTypeStats;
|
|
7
|
+
currentFilters: FilterGroupItemTypeRange;
|
|
8
|
+
innerSliderRange: number[];
|
|
9
|
+
get currentGte(): number | undefined;
|
|
10
|
+
get currentLte(): number | undefined;
|
|
11
|
+
get currentMinValue(): number;
|
|
12
|
+
get currentMaxValue(): number;
|
|
13
|
+
get sliderRange(): number[];
|
|
14
|
+
set sliderRange(value: number[]);
|
|
15
|
+
get isPrice(): boolean;
|
|
16
|
+
get facetMin(): number;
|
|
17
|
+
get facetMax(): number;
|
|
18
|
+
get statsSummary(): string;
|
|
19
|
+
onMinValueChange(): void;
|
|
20
|
+
onMaxValueChange(): void;
|
|
21
|
+
handleChange(): void;
|
|
22
|
+
handleDragging(value: number[]): void;
|
|
23
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import Vue from "vue";
|
|
2
|
+
import { FacetGroup, FacetGroupItem, FilterGroupItemTypeTerms } from "@getlupa/client-sdk/Types";
|
|
3
|
+
import { ResultFacetOptions } from "@/types/search-results/SearchResultsOptions";
|
|
4
|
+
export default class TermFacet extends Vue {
|
|
5
|
+
options: ResultFacetOptions;
|
|
6
|
+
facet: FacetGroup;
|
|
7
|
+
currentFilters: FilterGroupItemTypeTerms;
|
|
8
|
+
showAll: boolean;
|
|
9
|
+
termFilter: string;
|
|
10
|
+
get itemLimit(): number;
|
|
11
|
+
get allValues(): FacetGroupItem[];
|
|
12
|
+
get displayValues(): FacetGroupItem[];
|
|
13
|
+
get filteredValues(): FacetGroupItem[];
|
|
14
|
+
get isFilterable(): boolean;
|
|
15
|
+
handleFacetClick(item: FacetGroupItem): void;
|
|
16
|
+
handleShowAll(): void;
|
|
17
|
+
isChecked(item: FacetGroupItem): boolean;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/es/components/search-results/filters/facets/__tests__/HierarchyFacet.vue.spec.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ResultsLayout } from "@/types/search-results/ResultsLayout";
|
|
2
|
+
import Vue from "vue";
|
|
3
|
+
export default class SearchResultsLayoutSelection extends Vue {
|
|
4
|
+
layout: ResultsLayout;
|
|
5
|
+
classMap: Record<string, string>;
|
|
6
|
+
setLayout: (layout: ResultsLayout) => void;
|
|
7
|
+
handleLayoutChange(layout: ResultsLayout): void;
|
|
8
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { PaginationDisplay, PaginationOptions } from "@/types/search-results/PaginationOptions";
|
|
2
|
+
import { ResultsLayout } from "@/types/search-results/ResultsLayout";
|
|
3
|
+
import { ResultCurrentFilterOptions, SearchResultsProductOptions, SearchResultsSimilarQueriesLabels } from "@/types/search-results/SearchResultsOptions";
|
|
4
|
+
import { SearchResultsProductCardOptions } from "@/types/search-results/SearchResultsProductCardOptions";
|
|
5
|
+
import { SortOptions } from "@/types/search-results/SearchResultsSort";
|
|
6
|
+
import { Document, SearchQueryResult } from "@getlupa/client-sdk/Types";
|
|
7
|
+
import Vue from "vue";
|
|
8
|
+
export default class SearchResultsProducts extends Vue {
|
|
9
|
+
options: SearchResultsProductOptions;
|
|
10
|
+
loading: boolean;
|
|
11
|
+
hasResults: boolean;
|
|
12
|
+
currentQueryText: string;
|
|
13
|
+
isMobileSidebarVisible: boolean;
|
|
14
|
+
productCardOptions(): SearchResultsProductCardOptions;
|
|
15
|
+
get similarQueriesLabels(): SearchResultsSimilarQueriesLabels;
|
|
16
|
+
get showTopFilters(): boolean;
|
|
17
|
+
get currentFilterOptions(): ResultCurrentFilterOptions | undefined;
|
|
18
|
+
columnCount: number;
|
|
19
|
+
searchResult: SearchQueryResult;
|
|
20
|
+
layout: ResultsLayout;
|
|
21
|
+
limit: number;
|
|
22
|
+
page: number;
|
|
23
|
+
get columnSize(): string;
|
|
24
|
+
get sortOptions(): SortOptions;
|
|
25
|
+
get paginationOptions(): PaginationOptions;
|
|
26
|
+
get topPagination(): PaginationDisplay;
|
|
27
|
+
get bottomPagination(): PaginationDisplay;
|
|
28
|
+
getProductKey(index: string, product: Document): string;
|
|
29
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { PaginationDisplay, PaginationOptions } from "@/types/search-results/PaginationOptions";
|
|
2
|
+
import Vue from "vue";
|
|
3
|
+
import { SortOptions } from "@/types/search-results/SearchResultsSort";
|
|
4
|
+
import { SearchResultsProductOptions } from "@/types/search-results/SearchResultsOptions";
|
|
5
|
+
import { QueryParams } from "@/types/search-results/QueryParams";
|
|
6
|
+
export default class SearchResultsToolbar extends Vue {
|
|
7
|
+
options: SearchResultsProductOptions;
|
|
8
|
+
paginationOptions: PaginationOptions;
|
|
9
|
+
paginationDisplay: PaginationDisplay;
|
|
10
|
+
sortOptions: SortOptions;
|
|
11
|
+
showLayoutSelection: boolean;
|
|
12
|
+
showItemSummary: boolean;
|
|
13
|
+
showFilterClear: boolean;
|
|
14
|
+
hasAnyFilter: boolean;
|
|
15
|
+
get displayPageSelect(): boolean;
|
|
16
|
+
get searchSummaryLabel(): string;
|
|
17
|
+
removeAllFilters: () => {
|
|
18
|
+
params: QueryParams;
|
|
19
|
+
};
|
|
20
|
+
handleClearAll: () => void;
|
|
21
|
+
}
|
package/dist/es/components/search-results/products/__tests__/SearchResultsLayoutSelection.spec.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/es/components/search-results/products/pagination/SearchResultsPageSelect.vue.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { PaginationPageSelect } from "@/types/search-results/PaginationOptions";
|
|
2
|
+
import { QueryParams } from "@/types/search-results/QueryParams";
|
|
3
|
+
import Vue from "vue";
|
|
4
|
+
export default class SearchResultsPageSelect extends Vue {
|
|
5
|
+
label: string;
|
|
6
|
+
options: PaginationPageSelect;
|
|
7
|
+
get pages(): number[];
|
|
8
|
+
appendParams: ({ params, paramsToRemove, }: {
|
|
9
|
+
params: {
|
|
10
|
+
name: string;
|
|
11
|
+
value: string;
|
|
12
|
+
}[];
|
|
13
|
+
paramsToRemove?: string[];
|
|
14
|
+
}) => {
|
|
15
|
+
params: QueryParams;
|
|
16
|
+
};
|
|
17
|
+
handlePageChange(page: number): void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { PaginationPageSize } from "@/types/search-results/PaginationOptions";
|
|
2
|
+
import { QueryParams } from "@/types/search-results/QueryParams";
|
|
3
|
+
import Vue from "vue";
|
|
4
|
+
export default class SearchResultsPageSize extends Vue {
|
|
5
|
+
label: string;
|
|
6
|
+
options: PaginationPageSize;
|
|
7
|
+
limit: number;
|
|
8
|
+
updated(): void;
|
|
9
|
+
appendParams: ({ params, paramsToRemove, }: {
|
|
10
|
+
params: {
|
|
11
|
+
name: string;
|
|
12
|
+
value: string;
|
|
13
|
+
}[];
|
|
14
|
+
paramsToRemove?: string[];
|
|
15
|
+
}) => {
|
|
16
|
+
params: QueryParams;
|
|
17
|
+
};
|
|
18
|
+
handleSelect(e: Event): void;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|