@getlupa/client 0.6.0-alpha-18 → 0.6.0-alpha-21

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.
@@ -26,6 +26,7 @@ export default class SearchResultModule extends VuexModule {
26
26
  get itemRange(): number[];
27
27
  get isMobileWidth(): boolean;
28
28
  get currentScreenWidth(): ScreenSize;
29
+ get isPageEmpty(): boolean;
29
30
  setSidebarVisibility({ visible }: {
30
31
  visible: boolean;
31
32
  }): void;
@@ -39,6 +39,8 @@ export declare type SearchResultsOptionLabels = SearchResultsPaginationLabels &
39
39
  mobileFilterButton: string;
40
40
  htmlTitleTemplate: string;
41
41
  outOfStock?: string;
42
+ noItemsInPage?: string;
43
+ backToFirstPage?: string;
42
44
  };
43
45
  export declare type SearchResultsAdditionalPanels = {
44
46
  additionalPanels?: SearchResultsAdditionalPanelOptions[];
@@ -143,6 +145,7 @@ export declare type ResultFacetOptions = {
143
145
  type: FacetStyle;
144
146
  };
145
147
  exclude?: string[];
148
+ expand?: string[];
146
149
  facetFilterQueries?: Record<string, FacetFilterQuery>;
147
150
  };
148
151
  export declare type SearchResultsFilterOptions = {
@@ -2,7 +2,6 @@ import Vue from "vue";
2
2
  import { ProductListOptions } from "@/types/product-list/ProductListOptions";
3
3
  export default class CategoryDescription extends Vue {
4
4
  options: ProductListOptions;
5
- get title(): string | undefined;
6
5
  get description(): string | undefined;
7
6
  get overviewVisible(): boolean;
8
7
  }
@@ -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";