@getlupa/client 0.5.1-alpha-4 → 0.5.1-alpha-7
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/dist/cjs/components/product-list/CategoryFilter.vue.d.ts +3 -4
- package/dist/cjs/components/product-list/CategoryFilterItem.vue.d.ts +2 -3
- package/dist/cjs/components/search-results/SearchResultsBreadcrumbs.vue.d.ts +4 -1
- package/dist/cjs/components/search-results/products/product-card/SearchResultsProductCard.vue.d.ts +1 -2
- package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductTitle.vue.d.ts +1 -1
- package/dist/cjs/index.d.ts +2 -2
- package/dist/cjs/index.min.js +12940 -12908
- package/dist/cjs/types/product-list/ProductListOptions.d.ts +1 -1
- package/dist/cjs/utils/link.utils.d.ts +2 -0
- package/dist/cjs/utils/routing.utils.d.ts +1 -0
- package/dist/es/components/product-list/CategoryFilter.vue.d.ts +3 -4
- package/dist/es/components/product-list/CategoryFilterItem.vue.d.ts +2 -3
- package/dist/es/components/search-results/SearchResultsBreadcrumbs.vue.d.ts +4 -1
- package/dist/es/components/search-results/products/product-card/SearchResultsProductCard.vue.d.ts +1 -2
- package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductTitle.vue.d.ts +1 -1
- package/dist/es/index.d.ts +2 -2
- package/dist/es/index.min.js +12940 -12908
- package/dist/es/types/product-list/ProductListOptions.d.ts +1 -1
- package/dist/es/utils/link.utils.d.ts +2 -0
- package/dist/es/utils/routing.utils.d.ts +1 -0
- package/dist/iife/components/product-list/CategoryFilter.vue.d.ts +3 -4
- package/dist/iife/components/product-list/CategoryFilterItem.vue.d.ts +2 -3
- package/dist/iife/components/search-results/SearchResultsBreadcrumbs.vue.d.ts +4 -1
- package/dist/iife/components/search-results/products/product-card/SearchResultsProductCard.vue.d.ts +1 -2
- package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductTitle.vue.d.ts +1 -1
- package/dist/iife/index.d.ts +2 -2
- package/dist/iife/index.min.js +1 -1
- package/dist/iife/types/product-list/ProductListOptions.d.ts +1 -1
- package/dist/iife/utils/link.utils.d.ts +2 -0
- package/dist/iife/utils/routing.utils.d.ts +1 -0
- package/package.json +1 -1
|
@@ -6,15 +6,14 @@ export default class CategoryFilter extends Vue {
|
|
|
6
6
|
categoryChildren: Record<string, string>[];
|
|
7
7
|
envOptions: Options;
|
|
8
8
|
get hasBackButton(): boolean;
|
|
9
|
-
get
|
|
9
|
+
get hasEventRouting(): boolean;
|
|
10
10
|
get backTitle(): string | undefined;
|
|
11
|
-
get backUrl(): string | undefined;
|
|
12
11
|
get backUrlLink(): string | undefined;
|
|
13
12
|
get parentTitle(): string | undefined;
|
|
14
|
-
get parentUrl(): string | undefined;
|
|
15
13
|
get parentUrlLink(): string | undefined;
|
|
16
14
|
get isActive(): boolean;
|
|
17
15
|
mounted(): Promise<void>;
|
|
18
16
|
getCategoryKey(item: Record<string, string>): string;
|
|
19
|
-
|
|
17
|
+
handleNavigationParent(event?: Event): void;
|
|
18
|
+
handleNavigationBack(event?: Event): void;
|
|
20
19
|
}
|
|
@@ -5,8 +5,7 @@ export default class CategoryFilterItem extends Vue {
|
|
|
5
5
|
item: Record<string, string>;
|
|
6
6
|
get title(): string;
|
|
7
7
|
get urlLink(): string;
|
|
8
|
-
get url(): string | undefined;
|
|
9
8
|
get isActive(): boolean;
|
|
10
|
-
get
|
|
11
|
-
handleNavigation(): void;
|
|
9
|
+
get hasEventRouting(): boolean;
|
|
10
|
+
handleNavigation(event?: Event): void;
|
|
12
11
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import { SearchResultsBreadcrumb } from "@/types/search-results/SearchResultsOptions";
|
|
1
|
+
import { SearchResultsBreadcrumb, SearchResultsOptions } from "@/types/search-results/SearchResultsOptions";
|
|
2
2
|
import Vue from "vue";
|
|
3
3
|
export default class SearchResultsBreadcrumbs extends Vue {
|
|
4
4
|
breadcrumbs: SearchResultsBreadcrumb[];
|
|
5
5
|
currentQueryText: string;
|
|
6
|
+
searchResultOptions: SearchResultsOptions;
|
|
7
|
+
get hasEventRouting(): boolean;
|
|
6
8
|
getLabel(label: string): string;
|
|
9
|
+
handleNavigation(event: Event, link: string): void;
|
|
7
10
|
}
|
package/dist/cjs/components/search-results/products/product-card/SearchResultsProductCard.vue.d.ts
CHANGED
|
@@ -23,7 +23,6 @@ export default class SearchResultsProductCard extends Vue {
|
|
|
23
23
|
get labels(): SearchResultsOptionLabels;
|
|
24
24
|
get link(): string;
|
|
25
25
|
get hasEventRouting(): boolean;
|
|
26
|
-
get url(): string | undefined;
|
|
27
26
|
isInStock: boolean;
|
|
28
27
|
mounted(): void;
|
|
29
28
|
checkIfIsInStock(): Promise<void>;
|
|
@@ -32,5 +31,5 @@ export default class SearchResultsProductCard extends Vue {
|
|
|
32
31
|
handleProductEvent(item: {
|
|
33
32
|
type: ReportableEventType;
|
|
34
33
|
}): void;
|
|
35
|
-
handleNavigation(): void;
|
|
34
|
+
handleNavigation(event?: Event): void;
|
|
36
35
|
}
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SearchBoxOptions } from "./types/search-box/SearchBoxOptions";
|
|
2
2
|
import { SearchResultsOptions } from "./types/search-results/SearchResultsOptions";
|
|
3
|
-
import { TrackingOptions } from "./types/General";
|
|
3
|
+
import { SdkOptions, TrackingOptions } from "./types/General";
|
|
4
4
|
import { ProductListOptions } from "./types/product-list/ProductListOptions";
|
|
5
5
|
declare const lupaSearch: {
|
|
6
6
|
searchBox: (options: SearchBoxOptions) => void;
|
|
@@ -11,5 +11,5 @@ declare const lupaSearch: {
|
|
|
11
11
|
clearSearchResults: () => void;
|
|
12
12
|
clearProductList: () => void;
|
|
13
13
|
};
|
|
14
|
-
export { TrackingOptions, SearchBoxOptions, SearchResultsOptions };
|
|
14
|
+
export { TrackingOptions, SearchBoxOptions, SearchResultsOptions, ProductListOptions, SdkOptions, };
|
|
15
15
|
export default lupaSearch;
|