@getlupa/client 0.6.0-alpha-19 → 0.6.0-alpha-22

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.
Files changed (32) hide show
  1. package/dist/cjs/components/product-list/CategoryDescription.vue.d.ts +0 -1
  2. package/dist/cjs/components/search-results/filters/MobileFilterSidebar.vue.d.ts +1 -1
  3. package/dist/cjs/components/search-results/products/SearchResultsMobileToggle.vue.d.ts +1 -1
  4. package/dist/cjs/components/search-results/products/SearchResultsProducts.vue.d.ts +8 -0
  5. package/dist/cjs/constants/development/searchResultsDev.example.const.d.ts +2 -0
  6. package/dist/cjs/constants/global.const.d.ts +1 -0
  7. package/dist/cjs/index.min.js +84 -22
  8. package/dist/cjs/store/modules/searchResult.d.ts +6 -0
  9. package/dist/cjs/types/search-results/SearchResultsOptions.d.ts +3 -0
  10. package/dist/cjs/utils/scroll.utils.d.ts +2 -0
  11. package/dist/es/components/product-list/CategoryDescription.vue.d.ts +0 -1
  12. package/dist/es/components/search-results/filters/MobileFilterSidebar.vue.d.ts +1 -1
  13. package/dist/es/components/search-results/products/SearchResultsMobileToggle.vue.d.ts +1 -1
  14. package/dist/es/components/search-results/products/SearchResultsProducts.vue.d.ts +8 -0
  15. package/dist/es/constants/development/searchResultsDev.example.const.d.ts +2 -0
  16. package/dist/es/constants/global.const.d.ts +1 -0
  17. package/dist/es/index.min.js +84 -22
  18. package/dist/es/store/modules/searchResult.d.ts +6 -0
  19. package/dist/es/types/search-results/SearchResultsOptions.d.ts +3 -0
  20. package/dist/es/utils/scroll.utils.d.ts +2 -0
  21. package/dist/iife/components/product-list/CategoryDescription.vue.d.ts +0 -1
  22. package/dist/iife/components/search-results/filters/MobileFilterSidebar.vue.d.ts +1 -1
  23. package/dist/iife/components/search-results/products/SearchResultsMobileToggle.vue.d.ts +1 -1
  24. package/dist/iife/components/search-results/products/SearchResultsProducts.vue.d.ts +8 -0
  25. package/dist/iife/constants/development/searchResultsDev.example.const.d.ts +2 -0
  26. package/dist/iife/constants/global.const.d.ts +1 -0
  27. package/dist/iife/index.min.js +1 -1
  28. package/dist/iife/store/modules/searchResult.d.ts +6 -0
  29. package/dist/iife/types/search-results/SearchResultsOptions.d.ts +3 -0
  30. package/dist/iife/utils/scroll.utils.d.ts +2 -0
  31. package/dist/style.css +1 -1
  32. package/package.json +1 -1
@@ -2,7 +2,7 @@ import { SearchResultsFilterOptions } from "@/types/search-results/SearchResults
2
2
  import Vue from "vue";
3
3
  export default class MobileFilterSidebar extends Vue {
4
4
  options: SearchResultsFilterOptions;
5
- setSidebarVisibility: ({ visible, }: {
5
+ setSidebarState: ({ visible, }: {
6
6
  visible: boolean;
7
7
  }) => void;
8
8
  isMobileSidebarVisible: boolean;
@@ -3,7 +3,7 @@ export default class SearchResultsMobileToggle extends Vue {
3
3
  label: string;
4
4
  showFilterCount: boolean;
5
5
  currentFilterCount: number;
6
- setSidebarVisibility: ({ visible, }: {
6
+ setSidebarState: ({ visible, }: {
7
7
  visible: boolean;
8
8
  }) => void;
9
9
  handleMobileToggle(): void;
@@ -8,6 +8,7 @@ export default class SearchResultsProducts extends Vue {
8
8
  loading: boolean;
9
9
  hasResults: boolean;
10
10
  currentQueryText: string;
11
+ isPageEmpty: boolean;
11
12
  isMobileSidebarVisible: boolean;
12
13
  productCardOptions(): SearchResultsProductCardOptions;
13
14
  get similarQueriesLabels(): SearchResultsSimilarQueriesLabels;
@@ -21,4 +22,11 @@ export default class SearchResultsProducts extends Vue {
21
22
  page: number;
22
23
  get columnSize(): string;
23
24
  getProductKey(index: string, product: Document): string;
25
+ appendParams: ({ params, }: {
26
+ params: {
27
+ name: string;
28
+ value: string;
29
+ }[];
30
+ }) => void;
31
+ goToFirstPage(): void;
24
32
  }
@@ -13,6 +13,8 @@ export declare const SEARCH_RESULTS_CONFIGURATION: {
13
13
  priceSeparator: string;
14
14
  showMore: string;
15
15
  emptyResults: string;
16
+ noItemsInPage: string;
17
+ backToFirstPage: string;
16
18
  mobileFilterButton: string;
17
19
  htmlTitleTemplate: string;
18
20
  noResultsSuggestion: string;
@@ -11,4 +11,5 @@ export declare const XL_MIN_WIDTH = 1199;
11
11
  export declare const MAX_FACET_VALUES = 5000;
12
12
  export declare const CURRENCY_KEY_INDICATOR = "price";
13
13
  export declare const DEFAULT_PAGE_SIZE = 12;
14
+ export declare const DEFAULT_PAGE_SIZE_SELECTION: number[];
14
15
  export declare const LUPA_ROUTING_EVENT = "lupaRedirect";