@getlupa/client 0.6.0-alpha-3 → 0.6.0

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 (28) hide show
  1. package/dist/cjs/components/search-results/SearchResults.vue.d.ts +0 -3
  2. package/dist/cjs/components/search-results/products/pagination/SearchResultsPageSelect.vue.d.ts +0 -2
  3. package/dist/cjs/constants/searchResults.const.d.ts +0 -1
  4. package/dist/cjs/index.min.js +24 -55
  5. package/dist/cjs/store/modules/searchResult.d.ts +0 -5
  6. package/dist/cjs/types/General.d.ts +2 -2
  7. package/dist/cjs/types/search-results/PaginationOptions.d.ts +0 -1
  8. package/dist/cjs/types/search-results/SearchResultsOptions.d.ts +0 -1
  9. package/dist/cjs/types/search-results/SearchResultsSort.d.ts +1 -1
  10. package/dist/es/components/search-results/SearchResults.vue.d.ts +0 -3
  11. package/dist/es/components/search-results/products/pagination/SearchResultsPageSelect.vue.d.ts +0 -2
  12. package/dist/es/constants/searchResults.const.d.ts +0 -1
  13. package/dist/es/index.min.js +24 -55
  14. package/dist/es/store/modules/searchResult.d.ts +0 -5
  15. package/dist/es/types/General.d.ts +2 -2
  16. package/dist/es/types/search-results/PaginationOptions.d.ts +0 -1
  17. package/dist/es/types/search-results/SearchResultsOptions.d.ts +0 -1
  18. package/dist/es/types/search-results/SearchResultsSort.d.ts +1 -1
  19. package/dist/iife/components/search-results/SearchResults.vue.d.ts +0 -3
  20. package/dist/iife/components/search-results/products/pagination/SearchResultsPageSelect.vue.d.ts +0 -2
  21. package/dist/iife/constants/searchResults.const.d.ts +0 -1
  22. package/dist/iife/index.min.js +1 -1
  23. package/dist/iife/store/modules/searchResult.d.ts +0 -5
  24. package/dist/iife/types/General.d.ts +2 -2
  25. package/dist/iife/types/search-results/PaginationOptions.d.ts +0 -1
  26. package/dist/iife/types/search-results/SearchResultsOptions.d.ts +0 -1
  27. package/dist/iife/types/search-results/SearchResultsSort.d.ts +1 -1
  28. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { AnalyticsOptions } from "./AnalyticsOptions";
2
- import { Environment as SdkEnvironment } from "@getlupa/client-sdk/Types";
2
+ import { Environment as SdkEnvironment, SortDirection as SdkSortDirection } from "@getlupa/client-sdk/Types";
3
3
  export declare type SdkOptions = {
4
4
  environment: SdkEnvironment;
5
5
  customUrl?: string;
@@ -14,5 +14,5 @@ export declare type TrackingOptions = {
14
14
  userKey?: string;
15
15
  analytics?: AnalyticsOptions;
16
16
  };
17
+ export declare type SortDirection = SdkSortDirection;
17
18
  export declare type Environment = SdkEnvironment;
18
- export declare type SortDirection = "asc" | "desc";
@@ -12,7 +12,6 @@ export declare type PaginationPageSelect = {
12
12
  count: number;
13
13
  selectedPage: number;
14
14
  display: number;
15
- displayMobile: number;
16
15
  };
17
16
  export declare type PaginationDisplay = {
18
17
  pageSize: boolean;
@@ -68,7 +68,6 @@ export declare type SearchResultsPagination = {
68
68
  pageSelection: {
69
69
  position: SearchResultsPaginationPosition;
70
70
  display: number;
71
- displayMobile: number;
72
71
  };
73
72
  };
74
73
  export declare type SearchResultsPaginationPosition = {
@@ -1,4 +1,4 @@
1
- import { SortDirection } from "../General";
1
+ import { SortDirection } from "@getlupa/client-sdk/Types";
2
2
  export declare type SearchResultsSortOptions = {
3
3
  key: string;
4
4
  label: string;
@@ -64,9 +64,6 @@ export default class SearchResults extends Vue {
64
64
  queryKey: string;
65
65
  results: SearchQueryResult;
66
66
  }): void;
67
- setScreenWidth: ({ width, }: {
68
- width: number;
69
- }) => void;
70
67
  setColumnCount: ({ width, grid, }: {
71
68
  width: number;
72
69
  grid: ProductGrid;
@@ -5,8 +5,6 @@ export default class SearchResultsPageSelect extends Vue {
5
5
  lastPageLabel: string;
6
6
  firstPageLabel: string;
7
7
  options: PaginationPageSelect;
8
- isMobileWidth: boolean;
9
- get pageOptionsCount(): number;
10
8
  get pages(): number[];
11
9
  get showBack(): boolean;
12
10
  get lastPage(): number | undefined;
@@ -46,7 +46,6 @@ export declare const DEFAULT_OPTIONS_RESULTS: {
46
46
  bottom: boolean;
47
47
  };
48
48
  display: number;
49
- displayMobile: number;
50
49
  };
51
50
  };
52
51
  sort: never[];