@getlupa/client 0.5.1-alpha-14 → 0.5.1-alpha-17
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/ProductListEntry.vue.d.ts +1 -0
- package/dist/cjs/index.min.js +3322 -978
- package/dist/cjs/store/modules/params.d.ts +2 -1
- package/dist/cjs/types/search-results/SearchResultsOptions.d.ts +1 -0
- package/dist/cjs/utils/routing.utils.d.ts +1 -0
- package/dist/es/ProductListEntry.vue.d.ts +1 -0
- package/dist/es/index.min.js +3322 -978
- package/dist/es/store/modules/params.d.ts +2 -1
- package/dist/es/types/search-results/SearchResultsOptions.d.ts +1 -0
- package/dist/es/utils/routing.utils.d.ts +1 -0
- package/dist/iife/ProductListEntry.vue.d.ts +1 -0
- package/dist/iife/index.min.js +1 -1
- package/dist/iife/store/modules/params.d.ts +2 -1
- package/dist/iife/types/search-results/SearchResultsOptions.d.ts +1 -0
- package/dist/iife/utils/routing.utils.d.ts +1 -0
- package/package.json +3 -1
|
@@ -40,7 +40,7 @@ export default class ParamsModule extends VuexModule {
|
|
|
40
40
|
searchText: string;
|
|
41
41
|
facet?: InputSuggestionFacet;
|
|
42
42
|
}): void;
|
|
43
|
-
appendParams({ params, paramsToRemove, encode, save, }: {
|
|
43
|
+
appendParams({ params, paramsToRemove, encode, save, searchResultsLink, }: {
|
|
44
44
|
params: {
|
|
45
45
|
name: string;
|
|
46
46
|
value: string;
|
|
@@ -48,6 +48,7 @@ export default class ParamsModule extends VuexModule {
|
|
|
48
48
|
paramsToRemove?: "all" | string[];
|
|
49
49
|
encode?: boolean;
|
|
50
50
|
save?: boolean;
|
|
51
|
+
searchResultsLink?: string;
|
|
51
52
|
}): {
|
|
52
53
|
params?: QueryParams;
|
|
53
54
|
searchString?: string;
|
|
@@ -8,6 +8,7 @@ export declare type SearchResultsOptions = SearchResultsProductOptions & SearchR
|
|
|
8
8
|
breadcrumbs: SearchResultsBreadcrumb[];
|
|
9
9
|
classMap?: Record<string, string>;
|
|
10
10
|
noResultsQueryFlag?: string;
|
|
11
|
+
disallowEmptyQuery?: boolean;
|
|
11
12
|
};
|
|
12
13
|
export declare type SearchTitlePosition = "page-top" | "search-results-top";
|
|
13
14
|
export declare type SearchResultsDidYouMeanLabels = {
|
|
@@ -3,3 +3,4 @@ import { RoutingBehavior } from "..";
|
|
|
3
3
|
export declare const emitRoutingEvent: (url: string) => void;
|
|
4
4
|
export declare const handleRoutingEvent: (link: string, event?: Event | undefined, hasEventRouting?: boolean) => void;
|
|
5
5
|
export declare const redirectToResultsPage: (link: string, searchText: string, facet?: InputSuggestionFacet | undefined, routingBehavior?: RoutingBehavior) => void;
|
|
6
|
+
export declare const getPageUrl: (pathnameOverride?: string | undefined) => URL;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getlupa/client",
|
|
3
|
-
"version": "0.5.1-alpha-
|
|
3
|
+
"version": "0.5.1-alpha-17",
|
|
4
4
|
"main": "dist/cjs/index.min.js",
|
|
5
5
|
"module": "dist/es/index.min.js",
|
|
6
6
|
"types": "dist/es/index.d.ts",
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@getlupa/client-sdk": "^1.0.24",
|
|
21
|
+
"lodash.clonedeep": "^4.5.0",
|
|
21
22
|
"vue": "^2.6.11",
|
|
22
23
|
"vue-class-component": "^7.2.3",
|
|
23
24
|
"vue-property-decorator": "^9.1.2",
|
|
@@ -31,6 +32,7 @@
|
|
|
31
32
|
"@rollup/plugin-json": "^4.1.0",
|
|
32
33
|
"@rollup/plugin-typescript": "^8.3.0",
|
|
33
34
|
"@types/jest": "^24.0.19",
|
|
35
|
+
"@types/lodash.clonedeep": "^4.5.7",
|
|
34
36
|
"@typescript-eslint/eslint-plugin": "^4.18.0",
|
|
35
37
|
"@typescript-eslint/parser": "^4.18.0",
|
|
36
38
|
"@vue/cli-plugin-babel": "~4.5.0",
|