@getlupa/client 0.4.3 → 0.5.1-alpha-2
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/README.md +1 -1
- package/dist/cjs/ProductListEntry.vue.d.ts +5 -0
- package/dist/cjs/components/product-list/CategoryDescription.vue.d.ts +8 -0
- package/dist/cjs/components/product-list/CategoryFilter.vue.d.ts +20 -0
- package/dist/cjs/components/product-list/CategoryFilterItem.vue.d.ts +12 -0
- package/dist/cjs/components/product-list/ProductList.vue.d.ts +6 -0
- package/dist/cjs/components/search-results/SearchResults.vue.d.ts +23 -4
- package/dist/cjs/components/search-results/SearchResultsTitle.vue.d.ts +13 -0
- package/dist/cjs/components/search-results/filters/CurrentFilters.vue.d.ts +3 -2
- package/dist/cjs/components/search-results/filters/MobileFilterSidebar.vue.d.ts +4 -0
- package/dist/cjs/components/search-results/filters/facets/FacetList.vue.d.ts +1 -0
- package/dist/cjs/components/search-results/filters/facets/StatsFacet.vue.d.ts +12 -1
- package/dist/cjs/components/search-results/filters/facets/TermFacet.vue.d.ts +5 -3
- package/dist/cjs/components/search-results/products/SearchResultsMobileToggle.vue.d.ts +2 -0
- package/dist/cjs/components/search-results/products/SearchResultsToolbar.vue.d.ts +1 -0
- package/dist/cjs/constants/development/searchBoxDev.example.const.d.ts +2 -0
- package/dist/cjs/constants/development/searchProductListDev.example.d.ts +28 -0
- package/dist/cjs/constants/development/searchResultsDev.example.const.d.ts +17 -0
- package/dist/cjs/constants/global.const.d.ts +1 -0
- package/dist/cjs/constants/queryParams.const.d.ts +1 -0
- package/dist/cjs/constants/searchResults.const.d.ts +1 -0
- package/dist/cjs/index-iife.d.ts +5 -0
- package/dist/cjs/index.d.ts +3 -0
- package/dist/cjs/index.min.js +3075 -1789
- package/dist/cjs/store/modules/options.d.ts +6 -1
- package/dist/cjs/store/modules/params.d.ts +7 -5
- package/dist/cjs/store/modules/searchBox.d.ts +4 -3
- package/dist/cjs/store/modules/searchResult.d.ts +4 -0
- package/dist/cjs/types/General.d.ts +4 -0
- package/dist/cjs/types/product-list/ProductListOptions.d.ts +28 -0
- package/dist/cjs/types/search-box/SearchBoxOptions.d.ts +1 -0
- package/dist/cjs/types/search-results/SearchResultsOptions.d.ts +22 -0
- package/dist/cjs/utils/filter.toggle.utils.d.ts +1 -1
- package/dist/cjs/utils/filter.utils.d.ts +1 -0
- package/dist/cjs/utils/price.utils.d.ts +2 -2
- package/dist/cjs/utils/query.utils.d.ts +2 -1
- package/dist/cjs/utils/routing.utils.d.ts +1 -0
- package/dist/cjs/utils/tracking.utils.d.ts +4 -0
- package/dist/es/ProductListEntry.vue.d.ts +5 -0
- package/dist/es/components/product-list/CategoryDescription.vue.d.ts +8 -0
- package/dist/es/components/product-list/CategoryFilter.vue.d.ts +20 -0
- package/dist/es/components/product-list/CategoryFilterItem.vue.d.ts +12 -0
- package/dist/es/components/product-list/ProductList.vue.d.ts +6 -0
- package/dist/es/components/search-results/SearchResults.vue.d.ts +23 -4
- package/dist/es/components/search-results/SearchResultsTitle.vue.d.ts +13 -0
- package/dist/es/components/search-results/filters/CurrentFilters.vue.d.ts +3 -2
- package/dist/es/components/search-results/filters/MobileFilterSidebar.vue.d.ts +4 -0
- package/dist/es/components/search-results/filters/facets/FacetList.vue.d.ts +1 -0
- package/dist/es/components/search-results/filters/facets/StatsFacet.vue.d.ts +12 -1
- package/dist/es/components/search-results/filters/facets/TermFacet.vue.d.ts +5 -3
- package/dist/es/components/search-results/products/SearchResultsMobileToggle.vue.d.ts +2 -0
- package/dist/es/components/search-results/products/SearchResultsToolbar.vue.d.ts +1 -0
- package/dist/es/constants/development/searchBoxDev.example.const.d.ts +2 -0
- package/dist/es/constants/development/searchProductListDev.example.d.ts +28 -0
- package/dist/es/constants/development/searchResultsDev.example.const.d.ts +17 -0
- package/dist/es/constants/global.const.d.ts +1 -0
- package/dist/es/constants/queryParams.const.d.ts +1 -0
- package/dist/es/constants/searchResults.const.d.ts +1 -0
- package/dist/es/index-iife.d.ts +5 -0
- package/dist/es/index.d.ts +3 -0
- package/dist/es/index.min.js +3075 -1789
- package/dist/es/store/modules/options.d.ts +6 -1
- package/dist/es/store/modules/params.d.ts +7 -5
- package/dist/es/store/modules/searchBox.d.ts +4 -3
- package/dist/es/store/modules/searchResult.d.ts +4 -0
- package/dist/es/types/General.d.ts +4 -0
- package/dist/es/types/product-list/ProductListOptions.d.ts +28 -0
- package/dist/es/types/search-box/SearchBoxOptions.d.ts +1 -0
- package/dist/es/types/search-results/SearchResultsOptions.d.ts +22 -0
- package/dist/es/utils/filter.toggle.utils.d.ts +1 -1
- package/dist/es/utils/filter.utils.d.ts +1 -0
- package/dist/es/utils/price.utils.d.ts +2 -2
- package/dist/es/utils/query.utils.d.ts +2 -1
- package/dist/es/utils/routing.utils.d.ts +1 -0
- package/dist/es/utils/tracking.utils.d.ts +4 -0
- package/dist/iife/ProductListEntry.vue.d.ts +5 -0
- package/dist/iife/components/product-list/CategoryDescription.vue.d.ts +8 -0
- package/dist/iife/components/product-list/CategoryFilter.vue.d.ts +20 -0
- package/dist/iife/components/product-list/CategoryFilterItem.vue.d.ts +12 -0
- package/dist/iife/components/product-list/ProductList.vue.d.ts +6 -0
- package/dist/iife/components/search-results/SearchResults.vue.d.ts +23 -4
- package/dist/iife/components/search-results/SearchResultsTitle.vue.d.ts +13 -0
- package/dist/iife/components/search-results/filters/CurrentFilters.vue.d.ts +3 -2
- package/dist/iife/components/search-results/filters/MobileFilterSidebar.vue.d.ts +4 -0
- package/dist/iife/components/search-results/filters/facets/FacetList.vue.d.ts +1 -0
- package/dist/iife/components/search-results/filters/facets/StatsFacet.vue.d.ts +12 -1
- package/dist/iife/components/search-results/filters/facets/TermFacet.vue.d.ts +5 -3
- package/dist/iife/components/search-results/products/SearchResultsMobileToggle.vue.d.ts +2 -0
- package/dist/iife/components/search-results/products/SearchResultsToolbar.vue.d.ts +1 -0
- package/dist/iife/constants/development/searchBoxDev.example.const.d.ts +2 -0
- package/dist/iife/constants/development/searchProductListDev.example.d.ts +28 -0
- package/dist/iife/constants/development/searchResultsDev.example.const.d.ts +17 -0
- package/dist/iife/constants/global.const.d.ts +1 -0
- package/dist/iife/constants/queryParams.const.d.ts +1 -0
- package/dist/iife/constants/searchResults.const.d.ts +1 -0
- package/dist/iife/index-iife.d.ts +5 -0
- package/dist/iife/index.d.ts +3 -0
- package/dist/iife/index.min.js +1 -1
- package/dist/iife/store/modules/options.d.ts +6 -1
- package/dist/iife/store/modules/params.d.ts +7 -5
- package/dist/iife/store/modules/searchBox.d.ts +4 -3
- package/dist/iife/store/modules/searchResult.d.ts +4 -0
- package/dist/iife/types/General.d.ts +4 -0
- package/dist/iife/types/product-list/ProductListOptions.d.ts +28 -0
- package/dist/iife/types/search-box/SearchBoxOptions.d.ts +1 -0
- package/dist/iife/types/search-results/SearchResultsOptions.d.ts +22 -0
- package/dist/iife/utils/filter.toggle.utils.d.ts +1 -1
- package/dist/iife/utils/filter.utils.d.ts +1 -0
- package/dist/iife/utils/price.utils.d.ts +2 -2
- package/dist/iife/utils/query.utils.d.ts +2 -1
- package/dist/iife/utils/routing.utils.d.ts +1 -0
- package/dist/iife/utils/tracking.utils.d.ts +4 -0
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
import { SearchBoxOptions } from "@/types/search-box/SearchBoxOptions";
|
|
2
2
|
import { SearchResultsOptions } from "@/types/search-results/SearchResultsOptions";
|
|
3
|
-
import { Options } from "@getlupa/client-sdk/Types";
|
|
3
|
+
import { FilterGroup, Options } from "@getlupa/client-sdk/Types";
|
|
4
4
|
import { VuexModule } from "vuex-module-decorators";
|
|
5
5
|
export default class OptionsModule extends VuexModule {
|
|
6
6
|
searchBoxOptions: SearchBoxOptions;
|
|
7
7
|
searchResultOptions: SearchResultsOptions;
|
|
8
|
+
searchResultInitialFilters: FilterGroup;
|
|
8
9
|
get envOptions(): Options;
|
|
9
10
|
get classMap(): Record<string, string>;
|
|
11
|
+
get initialFilters(): FilterGroup;
|
|
10
12
|
setSearchBoxOptions({ options }: {
|
|
11
13
|
options: SearchBoxOptions;
|
|
12
14
|
}): void;
|
|
13
15
|
setSearchResultOptions({ options }: {
|
|
14
16
|
options: SearchResultsOptions;
|
|
15
17
|
}): void;
|
|
18
|
+
setInitialFilters({ initialFilters }: {
|
|
19
|
+
initialFilters: FilterGroup;
|
|
20
|
+
}): void;
|
|
16
21
|
}
|
|
@@ -25,25 +25,27 @@ export default class ParamsModule extends VuexModule {
|
|
|
25
25
|
params: QueryParams;
|
|
26
26
|
searchString: string;
|
|
27
27
|
};
|
|
28
|
-
removeParams({ paramsToRemove }: {
|
|
28
|
+
removeParams({ paramsToRemove, save, }: {
|
|
29
29
|
paramsToRemove?: "all" | string[];
|
|
30
|
+
save: boolean;
|
|
30
31
|
}): {
|
|
31
|
-
params
|
|
32
|
-
searchString
|
|
32
|
+
params?: QueryParams;
|
|
33
|
+
searchString?: string;
|
|
33
34
|
};
|
|
34
35
|
goToResults({ searchText, facet, }: {
|
|
35
36
|
searchText: string;
|
|
36
37
|
facet?: InputSuggestionFacet;
|
|
37
38
|
}): void;
|
|
38
|
-
appendParams({ params, paramsToRemove, encode, }: {
|
|
39
|
+
appendParams({ params, paramsToRemove, encode, save, }: {
|
|
39
40
|
params: {
|
|
40
41
|
name: string;
|
|
41
42
|
value: string;
|
|
42
43
|
}[];
|
|
43
44
|
paramsToRemove?: "all" | string[];
|
|
44
45
|
encode?: boolean;
|
|
46
|
+
save?: boolean;
|
|
45
47
|
}): {
|
|
46
|
-
params
|
|
48
|
+
params?: QueryParams;
|
|
47
49
|
searchString?: string;
|
|
48
50
|
};
|
|
49
51
|
setDefaultLimit(defaultLimit: number): {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { SearchBoxOptions } from "@/types/search-box/SearchBoxOptions";
|
|
2
|
-
import {
|
|
2
|
+
import { PublicQuery, SearchQueryResult, Suggestion } from "@getlupa/client-sdk/Types";
|
|
3
3
|
import { VuexModule } from "vuex-module-decorators";
|
|
4
4
|
import { DisplaySuggestion, HighlightedDocInfo } from "@/types/search-box/Common";
|
|
5
5
|
import { SearchBoxPanel } from "@/types/search-box/SearchBoxPanel";
|
|
6
|
+
import { SdkOptions } from "@/types/General";
|
|
6
7
|
export default class SearchBoxModule extends VuexModule {
|
|
7
8
|
options: SearchBoxOptions;
|
|
8
9
|
docResults: Record<string, SearchQueryResult>;
|
|
@@ -43,7 +44,7 @@ export default class SearchBoxModule extends VuexModule {
|
|
|
43
44
|
querySuggestions({ queryKey, publicQuery, options, }: {
|
|
44
45
|
queryKey: string;
|
|
45
46
|
publicQuery: PublicQuery;
|
|
46
|
-
options?:
|
|
47
|
+
options?: SdkOptions;
|
|
47
48
|
}): Promise<{
|
|
48
49
|
queryKey: string;
|
|
49
50
|
suggestions?: Suggestion[];
|
|
@@ -52,7 +53,7 @@ export default class SearchBoxModule extends VuexModule {
|
|
|
52
53
|
queryDocuments({ queryKey, publicQuery, options, }: {
|
|
53
54
|
queryKey: string;
|
|
54
55
|
publicQuery: PublicQuery;
|
|
55
|
-
options?:
|
|
56
|
+
options?: SdkOptions;
|
|
56
57
|
}): Promise<{
|
|
57
58
|
queryKey: string;
|
|
58
59
|
result?: SearchQueryResult;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { LabeledFilter } from "@/types/search-results/Filters";
|
|
1
2
|
import { ResultsLayout } from "@/types/search-results/ResultsLayout";
|
|
2
3
|
import { ProductGrid } from "@/types/search-results/SearchResultsOptions";
|
|
3
4
|
import { FacetResult, FilterGroup, SearchQueryResult } from "@getlupa/client-sdk/Types";
|
|
@@ -15,6 +16,9 @@ export default class SearchResultModule extends VuexModule {
|
|
|
15
16
|
get currentQueryText(): string;
|
|
16
17
|
get totalItems(): number;
|
|
17
18
|
get hasResults(): boolean;
|
|
19
|
+
get labeledFilters(): LabeledFilter[];
|
|
20
|
+
get displayFilters(): LabeledFilter[];
|
|
21
|
+
get currentFilterCount(): number;
|
|
18
22
|
get hasAnyFilter(): boolean;
|
|
19
23
|
get itemRange(): number[];
|
|
20
24
|
setSidebarVisibility({ visible }: {
|
|
@@ -2,6 +2,10 @@ import { Environment } from "@getlupa/client-sdk/Types";
|
|
|
2
2
|
import { AnalyticsOptions } from "./AnalyticsOptions";
|
|
3
3
|
export declare type SdkOptions = {
|
|
4
4
|
environment: Environment;
|
|
5
|
+
customUrl?: string;
|
|
6
|
+
customPayload?: Record<string, unknown>;
|
|
7
|
+
customHeaders?: Record<string, string>;
|
|
8
|
+
onError?: (err: unknown) => unknown;
|
|
5
9
|
};
|
|
6
10
|
export declare type TrackingOptions = {
|
|
7
11
|
trackBase?: boolean;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { FilterGroup } from "@getlupa/client-sdk/Types";
|
|
2
|
+
import { SearchResultsOptions } from "../search-results/SearchResultsOptions";
|
|
3
|
+
export declare type CategoryFilterOptions = {
|
|
4
|
+
queryKey: string;
|
|
5
|
+
routingBehavior?: RoutingBehavior;
|
|
6
|
+
keys: {
|
|
7
|
+
titleKey?: string;
|
|
8
|
+
urlKey?: string;
|
|
9
|
+
};
|
|
10
|
+
filters?: Record<string, string[]>;
|
|
11
|
+
back?: {
|
|
12
|
+
url: string;
|
|
13
|
+
title: string;
|
|
14
|
+
};
|
|
15
|
+
parent?: {
|
|
16
|
+
url: string;
|
|
17
|
+
title: string;
|
|
18
|
+
};
|
|
19
|
+
current?: {
|
|
20
|
+
title: string;
|
|
21
|
+
description: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export declare type RoutingBehavior = "direct-link" | "event";
|
|
25
|
+
export declare type ProductListOptions = SearchResultsOptions & {
|
|
26
|
+
initialFilters?: FilterGroup;
|
|
27
|
+
categories?: CategoryFilterOptions;
|
|
28
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SdkOptions } from "../General";
|
|
2
|
+
import { CategoryFilterOptions } from "../product-list/ProductListOptions";
|
|
2
3
|
import { SearchResultsAdditionalPanelOptions } from "./SearchResultsAdditionalPanelOptions";
|
|
3
4
|
import { SearchResultsProductCardOptions } from "./SearchResultsProductCardOptions";
|
|
4
5
|
import { SearchResultsSortOptions } from "./SearchResultsSort";
|
|
@@ -6,7 +7,10 @@ export declare type SearchResultsOptions = SearchResultsProductOptions & SearchR
|
|
|
6
7
|
containerSelector: string;
|
|
7
8
|
breadcrumbs: SearchResultsBreadcrumb[];
|
|
8
9
|
classMap?: Record<string, string>;
|
|
10
|
+
searchTitlePosition?: string;
|
|
11
|
+
noResultsQueryFlag?: string;
|
|
9
12
|
};
|
|
13
|
+
export declare type SearchTitlePosition = "page-top" | "search-results-top";
|
|
10
14
|
export declare type SearchResultsDidYouMeanLabels = {
|
|
11
15
|
noResultsSuggestion: string;
|
|
12
16
|
didYouMean: string;
|
|
@@ -18,6 +22,8 @@ export declare type SearchResultsSimilarQueriesLabels = {
|
|
|
18
22
|
export declare type SearchResultsOptionLabels = SearchResultsPaginationLabels & SearchResultsDidYouMeanLabels & SearchResultsSimilarQueriesLabels & {
|
|
19
23
|
sortBy: string;
|
|
20
24
|
currency: string;
|
|
25
|
+
priceSeparator?: string;
|
|
26
|
+
searchResults?: string;
|
|
21
27
|
itemCount: string;
|
|
22
28
|
emptyResults: string;
|
|
23
29
|
mobileFilterButton: string;
|
|
@@ -37,6 +43,7 @@ export declare type SearchResultsProductOptions = SearchResultsProductCardOption
|
|
|
37
43
|
layoutSelector?: boolean;
|
|
38
44
|
itemSummary?: boolean;
|
|
39
45
|
clearFilters?: boolean;
|
|
46
|
+
totalCount?: boolean;
|
|
40
47
|
};
|
|
41
48
|
};
|
|
42
49
|
export declare type ProductGrid = {
|
|
@@ -75,12 +82,17 @@ export declare type ResultCurrentFilterOptions = {
|
|
|
75
82
|
mobileSidebar: boolean;
|
|
76
83
|
mobileToolbar: boolean;
|
|
77
84
|
};
|
|
85
|
+
mobileSidebar?: {
|
|
86
|
+
showFilterCount?: boolean;
|
|
87
|
+
activeFiltersExpanded?: boolean;
|
|
88
|
+
};
|
|
78
89
|
};
|
|
79
90
|
export declare type FacetStyle = "sidebar" | "top-dropdown";
|
|
80
91
|
export declare type ResultFacetOptions = {
|
|
81
92
|
labels: {
|
|
82
93
|
title: string;
|
|
83
94
|
showAll: string;
|
|
95
|
+
showLess?: string;
|
|
84
96
|
facetFilter: string;
|
|
85
97
|
facetClear?: string;
|
|
86
98
|
};
|
|
@@ -93,15 +105,25 @@ export declare type ResultFacetOptions = {
|
|
|
93
105
|
topLevelValueCountLimit?: number;
|
|
94
106
|
filterable?: boolean;
|
|
95
107
|
};
|
|
108
|
+
stats?: {
|
|
109
|
+
slider?: boolean;
|
|
110
|
+
inputs?: boolean;
|
|
111
|
+
labels?: {
|
|
112
|
+
from?: string;
|
|
113
|
+
to?: string;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
96
116
|
facetValueCountLimit?: number;
|
|
97
117
|
showDocumentCount?: boolean;
|
|
98
118
|
style?: {
|
|
99
119
|
type: FacetStyle;
|
|
100
120
|
};
|
|
121
|
+
exclude?: string[];
|
|
101
122
|
};
|
|
102
123
|
export declare type SearchResultsFilterOptions = {
|
|
103
124
|
currentFilters?: ResultCurrentFilterOptions;
|
|
104
125
|
facets?: ResultFacetOptions;
|
|
126
|
+
categories?: CategoryFilterOptions;
|
|
105
127
|
};
|
|
106
128
|
export declare type SearchResultsBreadcrumb = {
|
|
107
129
|
label: string;
|
|
@@ -16,7 +16,7 @@ export declare const getFacetParam: (key: string, value: string[] | string, type
|
|
|
16
16
|
};
|
|
17
17
|
export declare const toggleTermFilter: (appendParams: AppendParams, facetAction: TermFacetAction, currentFilters?: FilterGroup | undefined) => void;
|
|
18
18
|
export declare const toggleHierarchyFilter: (appendParams: AppendParams, facetAction: HierarchyFacetAction, currentFilters?: FilterGroup | undefined, removeAllLevels?: boolean) => void;
|
|
19
|
-
export declare const toggleRangeFilter: (appendParams: AppendParams, facetAction: RangeFacetAction) => void;
|
|
19
|
+
export declare const toggleRangeFilter: (appendParams: AppendParams, facetAction: RangeFacetAction, currentFilters?: FilterGroup | undefined) => void;
|
|
20
20
|
export declare const toggleTermParam: (params?: string[], param?: string) => string[];
|
|
21
21
|
export declare const toggleLastPram: (params?: string[], param?: string) => string[];
|
|
22
22
|
export declare const toggleHierarchyParam: (params?: string[], param?: string, removeAllLevels?: boolean) => string[];
|
|
@@ -8,3 +8,4 @@ export declare const isArrayKey: (key: string) => boolean;
|
|
|
8
8
|
export declare const getMostSpecificHierarchyTerms: (terms: string[]) => string[];
|
|
9
9
|
export declare const recursiveFilter: (items: HierarchyTree[], query?: string) => HierarchyTree[];
|
|
10
10
|
export declare const recursiveFilterItem: (item: HierarchyTree, query?: string) => HierarchyTree | undefined;
|
|
11
|
+
export declare const rangeFilterToString: (rangeFilter: FilterGroupItemTypeRange, separator?: string | undefined) => string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const formatPrice: (price?: string | number | undefined, currency?: string) => string;
|
|
2
|
-
export declare const formatPriceSummary: ([min, max]: [min?: string | number | undefined, max?: string | number | undefined], currency?: string | undefined) => string;
|
|
1
|
+
export declare const formatPrice: (price?: string | number | undefined, currency?: string, separator?: string) => string;
|
|
2
|
+
export declare const formatPriceSummary: ([min, max]: [min?: string | number | undefined, max?: string | number | undefined], currency?: string | undefined, separator?: string) => string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { QueryParams } from "@/types/search-results/QueryParams";
|
|
2
2
|
import { SearchResultsSortOptions } from "@/types/search-results/SearchResultsSort";
|
|
3
|
-
import { PublicQuery } from "@getlupa/client-sdk/Types";
|
|
3
|
+
import { FilterGroup, PublicQuery } from "@getlupa/client-sdk/Types";
|
|
4
4
|
export declare const createPublicQuery: (queryParams: QueryParams, sortOptions?: SearchResultsSortOptions[] | undefined) => PublicQuery;
|
|
5
|
+
export declare const getPublicQuery: (publicQuery: PublicQuery, initialFilters: FilterGroup, isProductList: boolean) => PublicQuery;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const emitRoutingEvent: (url: string) => void;
|
|
@@ -2,4 +2,8 @@ import { TrackingOptions } from "@/types/General";
|
|
|
2
2
|
import { TrackableEventData } from "@/types/search-box/Common";
|
|
3
3
|
import { Options } from "@getlupa/client-sdk/Types";
|
|
4
4
|
export declare const initTracking: (options: TrackingOptions) => void;
|
|
5
|
+
export declare const getLupaTrackingContext: () => {
|
|
6
|
+
userId?: string;
|
|
7
|
+
sessionId?: string;
|
|
8
|
+
};
|
|
5
9
|
export declare const track: (queryKey?: string | undefined, data?: TrackableEventData, options?: Options | undefined) => void;
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--lupa-available-height: 100%}#lupa-search-box-panel{position:absolute;width:100%;height:auto;border:1px solid #d8d8d8;background:#fff;box-shadow:0px 4px 6px rgba(0,0,0,.25);z-index:5000;border-radius:0;font-family:"Roboto",sans-serif;box-sizing:border-box}#lupa-search-box-panel:empty{display:none}@media(max-width: 767px){#lupa-search-box-panel{max-height:var(--lupa-available-height);overflow-y:auto}}.lupa-main-panel{display:grid;grid-template:"suggestions docs";grid-template-columns:minmax(50px, 35%) minmax(250px, 1fr)}@media(max-width: 767px){.lupa-main-panel{display:block}}.lupa-panel-suggestion-index{grid-area:left;word-break:break-word}@media(min-width: 767px){.lupa-panel-suggestion-index{border-right:1px solid #d8d8d8}}.lupa-panel-document-index{grid-area:right;word-break:break-word}.lupa-more-results{cursor:pointer;border-top:1px solid #d8d8d8;padding:5px 10px;color:#2e2e2e;background-color:#fff;font-size:14px;line-height:24px}.lupa-more-results:hover{background-color:rgba(0,0,0,.05);color:#3c53f4}.lupa-suggestion{cursor:pointer;display:flex;flex-wrap:wrap;align-items:center;color:#2e2e2e;background-color:#fff;padding:4px 20px;font-size:16px;line-height:24px}.lupa-suggestion strong{color:#2e2e2e}.lupa-suggestion-value{margin-right:7px}.lupa-suggestion-facet{font-size:13px}.lupa-suggestion-facet-label{margin-right:2px}.lupa-suggestion-facet-value{font-weight:bold}.lupa-suggestion-highlighted,.lupa-suggestion:hover{cursor:pointer;color:#3c53f4;background-color:rgba(0,0,0,.05)}.lupa-suggestion-highlighted strong,.lupa-suggestion:hover strong{color:#3c53f4}.lupa-suggestion:hover{text-decoration:underline}.lupa-search-box-input-field,.lupa-hint{color:#2e2e2e;height:48px;padding:0 16px;line-height:1.5;font-size:16px;font-family:"Roboto",sans-serif}.lupa-search-box-input-field{border:1px solid #d8d8d8;color:#2e2e2e}.lupa-hint{border:1px solid transparent}.lupa-search-box-history-item{cursor:pointer}.lupa-search-box-history-item-content{display:flex;justify-content:space-between}.lupa-search-box-history-item-text{width:100%;display:flex;align-items:center;line-height:24px;font-size:16px;padding:4px 20px;color:#2e2e2e}.lupa-search-box-history-item-text:hover,.lupa-search-box-history-item-text.lupa-search-box-history-item-highlighted{background-color:rgba(0,0,0,.05);color:#2e2e2e}.lupa-search-box-history-item-text:hover{text-decoration:underline}.lupa-search-box-history-item-clear{display:flex;align-items:center;padding:4px 20px;color:#2e2e2e;font-size:24px}.lupa-search-box-history-item-clear:hover{color:#2e2e2e;background-color:rgba(0,0,0,.05)}.lupa-search-box-history-clear-all{text-align:center;cursor:pointer;border-top:1px solid #d8d8d8;padding:4px 20px;line-height:24px;font-size:14px;color:#2e2e2e}.lupa-search-box-history-clear-all:hover{background-color:rgba(0,0,0,.05);color:#2e2e2e}.lupa-search-box-product{padding:10px;font-size:14px;display:flex;cursor:pointer;text-decoration:inherit;color:inherit}.lupa-search-box-product:hover,.lupa-search-box-product.lupa-search-box-product-highlighted{text-decoration:none;background-color:rgba(0,0,0,.05)}.lupa-search-box-product:hover .lupa-search-box-product-title,.lupa-search-box-product.lupa-search-box-product-highlighted .lupa-search-box-product-title{color:#2e2e2e}.lupa-search-box-product:hover .lupa-search-box-product-custom,.lupa-search-box-product.lupa-search-box-product-highlighted .lupa-search-box-product-custom{color:#2e2e2e}.lupa-search-box-product:hover .lupa-search-box-product-price,.lupa-search-box-product.lupa-search-box-product-highlighted .lupa-search-box-product-price{color:#2e2e2e}.lupa-search-box-product:hover .lupa-search-box-product-regular-price,.lupa-search-box-product.lupa-search-box-product-highlighted .lupa-search-box-product-regular-price{color:#2e2e2e}.lupa-search-box-product-details-section{font-family:"Roboto",sans-serif}.lupa-search-box-product-details-section{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start}.lupa-search-box-product-image-section{min-width:85px;flex:0 1}.lupa-search-box-image-wrapper,.lupa-search-box-image{width:70px;height:70px}.lupa-search-box-image{object-fit:contain}.lupa-search-box-product-title{font-size:16px;line-height:15px;color:#2e2e2e}.lupa-search-box-product-custom{font-size:14px;line-height:15px;color:#2e2e2e}.lupa-search-box-product-price{font-size:16px;line-height:15px;color:#3c53f4}.lupa-search-box-product-regular-price{font-size:14px;line-height:15px;color:#2e2e2e;font-weight:normal}.lupa-search-box-product-description{max-height:42px;line-height:14px;color:#2e2e2e;overflow:hidden}.lupa-search-result-facets{font-family:"Roboto",sans-serif}.lupa-facets-title{font-size:16px;line-height:1.1;font-weight:700;padding:0 0 10px;color:#2e2e2e}.lupa-search-result-facet-display{border-bottom:1px solid #d8d8d8}.lupa-search-result-facet-display:first-child{border-top:1px solid #d8d8d8}.lupa-search-result-facet-label{justify-content:space-between;display:flex;font-size:14px;line-height:21px;font-weight:700;padding:10.5px;color:#2e2e2e;cursor:pointer}.lupa-search-result-facet-label:hover{color:#3c53f4}.lupa-search-result-facet-label.open{padding:10.5px 10.5px 0}.lupa-facet-label-caret::after{content:"⌄";font-family:"Roboto",sans-serif;color:#2e2e2e;display:block;font-weight:400;overflow:hidden;text-align:center}.lupa-facet-label-caret.open::after{transform:rotate(180deg)}.lupa-facet-content{padding:5px 10px 20px}.lupa-facet-term{padding:4px 5px;margin:16px 0 0}.lupa-term-checkbox-label{width:100%;padding-left:8px;display:flex;justify-content:space-between;align-items:center}.lupa-facet-term{cursor:pointer;display:flex;align-items:center;font-size:14px;color:#2e2e2e}.lupa-facet-term:hover{background:rgba(0,0,0,.05)}.lupa-facet-term.checked{font-weight:bold}.lupa-term-count{color:#2e2e2e}.lupa-term-checkbox{display:inline-block;height:18px;width:18px;box-sizing:border-box;border:2px solid #3c53f4;border-radius:0px;content:"";display:flex;justify-content:center;align-items:center}.lupa-term-checkbox.checked::after{border:3px solid #3c53f4;border-radius:0px;display:inline-block;content:""}.lupa-show-more-facet-results{justify-content:center}.lupa-term-filter{width:100%;padding:8px;box-sizing:border-box;border:1px solid #d8d8d8}.lupa-show-more-facet-results{color:#2e2e2e;font-size:14px}.lupa-show-more-facet-results:hover{color:#2e2e2e}.lupa-stats-facet-summary{text-align:center;font-size:14px}.lupa-stats-slider-wrapper{margin:10px 0 0;padding:0 8px}.lupa-stats-slider-wrapper .vue-slider-rail{background-color:rgba(60,83,244,.3)}.lupa-stats-slider-wrapper .vue-slider-process{background-color:#3c53f4}.lupa-stats-slider-wrapper .vue-slider-dot{background:#3c53f4;border-radius:50%;border:0px solid #3c53f4;z-index:3;cursor:pointer}.lupa-stats-slider-wrapper .vue-slider-dot:hover{background:#3c53f4}.lupa-search-result-facet-list.lupa-top-dropdown{display:flex;flex-wrap:wrap}.lupa-search-result-facet-list.lupa-top-dropdown .lupa-search-result-facet-display{margin:0 10px 0 0;border-bottom:none;border-top:none}.lupa-search-result-facet-list.lupa-top-dropdown .lupa-facet-content{position:absolute;background:#fff;z-index:10;border:1px solid #d8d8d8;min-width:220px}.lupa-search-result-facet-list.lupa-top-dropdown .lupa-terms-list{overflow-y:auto;max-height:300px;margin:2px 0 0}.lupa-search-result-facet-list.lupa-top-dropdown .lupa-search-result-facet-label{border:1px solid #d8d8d8}.lupa-search-result-facet-list.lupa-top-dropdown .lupa-search-result-facet-label.lupa-has-filter{border-width:2px}.lupa-search-result-facet-list.lupa-top-dropdown .lupa-single-facet-clear{cursor:pointer;text-align:center;margin:3px 0 0;padding:5px 0 3px;font-size:5px 0 3px;border-top:1px solid #d8d8d8}.lupa-search-result-current-filters{font-family:"Roboto",sans-serif}.lupa-current-filter-title{display:flex;align-items:center;justify-content:space-between;font-size:16px;line-height:1.1;font-weight:700;padding:0;color:#2e2e2e}.lupa-current-filter-list{margin:0;padding:0 10px 5px}.lupa-search-result-current-filters{margin:0 0 25px}.lupa-clear-all-filters{cursor:pointer;color:#0c26d7;padding:0 10.5px;margin:0 0 31.5px;font-size:14px}.lupa-clear-all-filters:hover{color:#091da7}.lupa-search-result-filter-value{display:flex;align-items:center;flex-wrap:wrap;margin:10.5px 0;font-size:14px}.lupa-current-filter-action{padding:0 5px 0 0;font-size:17px;color:#3c53f4;cursor:pointer}.lupa-current-filter-action:hover{color:#3c53f4}.lupa-current-filter-label,.lupa-current-filter-value{margin:0 0 0 5px}.lupa-current-filter-label{color:#2e2e2e}.lupa-current-filter-value{color:#3c53f4}.lupa-filter-title-caret::after{content:"⌄";font-family:"Roboto",sans-serif;color:#2e2e2e;font-size:14px;display:block;font-weight:400;overflow:hidden;text-align:center}.lupa-filter-title-caret.open::after{transform:rotate(180deg)}.lupa-filter-count{font-size:14px;color:#2e2e2e}.lupa-result-page-title{font-size:16px;margin:0 0 38px;font-family:"Roboto",sans-serif}#lupa-search-result-filters{padding:0 4.6% 0 0}#lupa-search-results{width:100%;height:100%;display:flex;flex-direction:row;justify-content:flex-start}#lupa-search-result-filters{flex:25%;flex-grow:1;flex-shrink:0;box-sizing:border-box}#lupa-search-results-products{position:relative;padding:0 0 0 1.6%;width:100%}.lupa-products{display:flex;align-self:flex-start;flex-wrap:wrap;margin:0 0 31.5px -16px}.lupa-loader{background-color:#fff;display:flex;height:calc(100% - 0px);opacity:.5;position:absolute;z-index:555}#lupa-search-result-product-card{box-sizing:border-box}#lupa-search-results-did-you-mean{font-family:"Roboto",sans-serif}.lupa-suggested-search-text{font-weight:bold}.lupa-highlighted-search-text{font-weight:bold;font-style:italic}#lupa-search-results-did-you-mean{margin-bottom:10px}.lupa-did-you-mean{text-decoration:none}.lupa-did-you-mean:hover{text-decoration:underline;cursor:pointer}#lupa-select{position:relative;font-family:"Roboto",sans-serif;color:#2e2e2e;text-indent:.01em}.lupa-select-dropdown{cursor:pointer;padding:20px 25px 4px 8px;font-family:"Roboto",sans-serif;background:#fff;background-clip:padding-box;border:1px solid #d8d8d8;border-radius:0;font-size:14px;height:48px;line-height:1.5;vertical-align:baseline;box-sizing:border-box;appearance:none}.lupa-select-dropdown:focus{outline:none;box-shadow:0 0 3px 1px #6c7ef7}.lupa-select-label{font-family:"Roboto",sans-serif;font-size:12px;line-height:1;position:absolute;pointer-events:none;top:8px;left:8px}.lupa-search-results-summary{display:flex;align-items:center}#lupa-search-results-toolbar{display:flex;flex-direction:row;justify-content:space-between;margin:0 0 40px}.lupa-toolbar-left{display:flex}.lupa-toolbar-right{display:flex;flex-direction:row}#lupa-search-results-page-select{display:flex;flex-direction:row;align-items:center}#lupa-search-results-layout-selection{display:flex;flex-direction:row;align-items:center}#lupa-search-results-layout-selection div{margin:0 16px 0 0}.lupa-search-results-summary{color:#2e2e2e;font-family:"Roboto",sans-serif;font-size:14px}#lupa-search-results-page-size{margin:0}#lupa-search-results-page-size .lupa-select-dropdown{width:125px}#lupa-search-results-sort{margin:0 0 0 8px}.lupa-filter-clear{cursor:pointer}#lupa-search-results-page-select{font-family:"Roboto",sans-serif}.lupa-page-number{cursor:pointer;color:#3c53f4;font-size:12px;padding:0 5.25px;margin:0 12px 0 0}.lupa-page-number:hover{color:#2e2e2e}.lupa-page-number.lupa-page-number-selected{color:#2e2e2e;font-weight:700}.lupa-page-arrow{cursor:pointer;font-weight:700;margin:0 12px 0 0;padding:0 8px}.lupa-page-arrow:before{line-height:31.5px;color:#2e2e2e;content:"";font-family:"Roboto",sans-serif;font-size:11px}.lupa-page-arrow:hover:before{color:#3c53f4}#lupa-search-result-product-card{height:auto;min-height:250px;border:1px solid #d8d8d8;padding:12px;margin:0}.lupa-out-of-stock{opacity:.5}.lupa-search-result-product-contents{height:100%;display:flex;flex-direction:column;font-family:"Roboto",sans-serif;font-size:16px}.lupa-search-result-product-contents-list{flex-direction:row}.lupa-search-result-product-details-section{display:flex;flex-direction:column;justify-content:space-between;height:100%}.lupa-search-results-image-wrapper{padding-bottom:125%;display:block;height:0;overflow:hidden;position:relative;z-index:1;display:flex;justify-content:center}.lupa-search-results-image{width:100%;height:100%;object-fit:contain;max-width:240px;max-height:195px;margin:auto;position:absolute}.lupa-search-result-product-image-section{cursor:pointer;border:none;padding:12px 8px;margin:0}.lupa-search-results-product-title{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;font-size:16px;margin:0 0 12px;line-height:21px}.lupa-search-results-product-title-text{font-weight:bold;color:#2e2e2e}.lupa-search-results-product-title-text.lupa-title-link{text-decoration:none;color:#2e2e2e}.lupa-search-results-product-title-text.lupa-title-link:hover{text-decoration:underline;color:#3c53f4}.lupa-search-results-product-regular-price{font-size:16px;font-weight:700;padding:10px 8px 0 5px}#lupa-search-results-rating{display:flex;flex-direction:row;align-items:center;width:auto;margin:0 0 15.75px}.lupa-ratings{display:flex;flex-direction:row;align-items:center;width:auto}.lupa-ratings-base,.lupa-rating-wrapper{display:flex;width:90px}.lupa-rating-wrapper{position:absolute}.lupa-ratings-highlighted{display:flex;overflow:hidden}.lupa-total-ratings{color:#2e2e2e !important;text-decoration:none}.lupa-total-ratings:hover{color:#3c53f4 !important;text-decoration:underline !important}.lupa-search-result-product-contents-list #lupa-search-result-product-card{min-height:50px}.lupa-search-result-product-contents-list .lupa-search-results-image{width:240px;height:195px;object-fit:contain;margin:auto;position:relative}.lupa-search-result-product-contents-list .lupa-search-result-product-details-section{width:100%;padding:15px}.lupa-search-result-product-contents-list .lupa-search-results-image{max-width:120px;max-height:97.5px}.lupa-search-result-product-contents-list .lupa-search-results-product-addtocart{order:3;margin:0 -16px 0;position:static}.lupa-search-result-product-contents-list .lupa-search-results-product-addtocart button{padding:8px 32px}.lupa-empty-results{text-align:center;width:100%;font-size:14px;font-family:"Roboto",sans-serif;color:#2e2e2e}.lupa-mobile-filter-sidebar{position:fixed;width:100%;height:var(--lupa-full-height);left:0;top:0;bottom:0;background:#fff;z-index:555}.lupa-sidebar-top{display:flex;align-items:center;justify-content:flex-end;height:48px;padding:0 13.5px 0 0;border-bottom:1px solid #d8d8d8}.lupa-filter-toggle-mobile:after{font-size:16px;color:#6c7ef7;content:"✖";line-height:inherit;font-family:"Roboto",sans-serif;vertical-align:middle;display:inline-block;font-weight:400;overflow:hidden;text-align:center}.lupa-sidebar-filter-options{overflow-y:scroll;height:calc(100% - 48px)}#lupa-search-results-toolbar.lupa-toolbar-mobile{display:none}.lupa-filters-mobile{display:none}.lupa-mobile-toggle{font-family:"Roboto",sans-serif;font-size:14px;color:#6c7ef7;width:208px;border-radius:0;display:none;padding:15px 0;border:1px solid #d8d8d8;line-height:16px;text-align:center;z-index:2}@media(max-width: 767px){.lupa-mobile-toggle{display:block}.lupa-filters-mobile{display:block;border-top:1px solid #d8d8d8}.lupa-filters-mobile.lupa-search-result-current-filters.expandable{padding:15px 0;margin:-20px 0 20px}#lupa-search-results-layout-selection{display:none}.lupa-search-results-summary{display:none}#lupa-search-results-page-size{display:none}#lupa-search-results-toolbar.lupa-toolbar-top{display:none}#lupa-search-results-toolbar.lupa-toolbar-mobile{display:flex}.lupa-toolbar-bottom .lupa-toolbar-right{display:none}.lupa-toolbar-mobile .lupa-toolbar-left{display:none}#lupa-search-results-toolbar{justify-content:center}#lupa-search-results-rating{flex-direction:column;align-items:normal}#lupa-search-results-rating .lupa-total-ratings{margin-left:0;margin-top:5px}#lupa-search-result-filters{display:none}.lupa-mobile-filter-sidebar #lupa-search-result-filters{display:flex;flex-direction:column}#lupa-search-results-products{padding:0}.lupa-select-dropdown{width:208px}.lupa-facets-title{padding:16px}.lupa-search-result-current-filters.expandable{padding:16px;border-bottom:1px solid #d8d8d8;margin:0}.lupa-clear-all-filters{margin:0}#lupa-search-results-did-you-mean{margin-bottom:10px}}@media(max-width: 479px){.lupa-mobile-toggle{width:139px}.lupa-select-dropdown{width:139px}}@media(max-width: 350px){.lupa-mobile-toggle{width:100px}.lupa-select-dropdown{width:100px}}@media(max-width: 767px){#lupa-search-result-filters{flex:100%;padding:0}.lupa-search-result-facets{width:100%}.lupa-search-result-facet-display{padding:0 15px}}@media(max-width: 1024px){#lupa-search-results-badges>#lupa-badges{top:-16px}#lupa-search-results-badges>#lupa-badges .lupa-badge{width:32px;height:32px;font-size:11px}}#lupa-search-results-badges{position:relative}#lupa-badges{display:flex;position:absolute;font-family:"Roboto",sans-serif;top:-24px;z-index:1}#lupa-badges .tl{left:-10px}#lupa-badges .tr{right:-10px}.lupa-badge{width:48px;height:48px;font-size:14px;margin:0 8px 0 0;font-weight:700;border-radius:50%}.lupa-text-badges{display:flex}.lupa-image-badges{display:flex}.lupa-image-badges img{width:100%}.lupa-text-badge{color:#fff;background:#3c53f4;display:flex;align-items:center;justify-content:center;text-align:center}#lupa-search-results-breadcrumbs{margin:0 0 24px;font-size:12px}@media(min-width: 767px){#lupa-search-results-breadcrumbs{max-width:1228px;box-sizing:border-box;width:100%}}@media(max-width: 767px){#lupa-search-results-breadcrumbs{display:none}}#lupa-search-results-breadcrumbs .lupa-search-results-breadcrumb-link{text-decoration:none;color:#0c26d7}#lupa-search-results-breadcrumbs .lupa-search-results-breadcrumb-link:hover{text-decoration:underline;color:#091da7}#lupa-search-results-similar-queries{margin-top:20px}.lupa-similar-queries-label{font-size:20px;font-family:"Roboto",sans-serif;font-weight:700;line-height:1.1;margin-top:0;margin-bottom:8px}.lupa-similar-query-label{margin-bottom:48px;font-weight:400;line-height:1.5;color:#4f4f4f;font-family:"Roboto",sans-serif}.lupa-similar-query-value{font-size:16px}.lupa-similar-query-link:hover{text-decoration:underline;cursor:pointer}.lupa-similar-query-crossed{text-decoration:line-through}.lupa-search-box-product-title{font-weight:300}#lupa-search-box-input::after{direction:ltr;display:inline-block;font-family:"Material Design Icons";font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:1;text-transform:none;white-space:nowrap;word-wrap:normal;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased;content:"";font-size:24px;position:absolute;right:16px;top:12px}.lupa-suggestion{font-weight:300}.lupa-search-box-product-details-section{justify-content:space-between}.lupa-search-box-product-regular-price{text-decoration:line-through;color:#9e9e9e}.lupa-more-results{font-size:16px;font-weight:300}#lupa-search-box-panel{box-shadow:0px 1px 1px rgba(22,22,22,.14),0px 2px 1px rgba(22,22,22,.12),0px 1px 3px rgba(22,22,22,.2);border-radius:24px;border:none;overflow:hidden}.lupa-suggestion-facet-label,.lupa-suggestion-facet-value{line-height:13px}#lupa-search-results-toolbar{margin:0 0 12px;padding-right:1.6%}#lupa-search-results-toolbar.lupa-toolbar-bottom{justify-content:center;margin:24px 0}.lupa-search-results-summary{font-weight:300;font-size:18px;line-height:15px}.lupa-search-results-summary span{color:#3c53f4;font-weight:700}.lupa-page-number{min-width:48px;min-height:48px;color:#464646;font-weight:300;font-size:18px;display:flex;align-items:center;justify-content:center;border-radius:50%;padding:0}.lupa-page-number.lupa-page-number-selected,.lupa-page-number:hover{background:rgba(60,83,244,.08);font-weight:300}.lupa-page-arrow{font-size:0}.lupa-page-arrow::before{direction:ltr;display:inline-block;font-family:"Material Design Icons";font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:1;text-transform:none;white-space:nowrap;word-wrap:normal;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased;font-size:20px;content:""}.lupa-page-arrow:first-child::before{direction:ltr;display:inline-block;font-family:"Material Design Icons";font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:1;text-transform:none;white-space:nowrap;word-wrap:normal;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased;font-size:20px;content:""}#lupa-similar-query-text-component,.lupa-highlighted-search-text{color:#3c53f4}.lupa-similar-query-label{margin-bottom:18px;font-weight:300}.lupa-empty-results{font-weight:300;font-size:18px;margin-bottom:36px;color:#9e9e9e}#lupa-search-result-product-card{border-radius:4px;margin-bottom:36px;border:none}.lupa-search-result-product-contents{border:1px solid #d8d8d8;box-shadow:0px 1px 1px rgba(22,22,22,.14),0px 2px 1px rgba(22,22,22,.12),0px 1px 3px rgba(22,22,22,.2);border-radius:4px;padding:16px}.lupa-search-result-product-contents:hover{border-color:#3c53f4}.lupa-search-results-product-title-text{font-weight:300;line-height:29px}.lupa-search-results-image-wrapper{padding-bottom:100%}.lupa-discount{display:inline;font-weight:700;font-size:32px;line-height:27px;color:#3c53f4}.lupa-custom-id{opacity:.5}.lupa-custom-brand{opacity:.5;color:#3c53f4}.lupa-final{display:inline;font-weight:700;font-size:32px;line-height:27px}.lupa-regular{text-decoration:line-through;color:#9e9e9e;display:inline-block;margin-left:4px}#lupa-search-result-filters{padding-right:24px;flex:40%}.lupa-filter-title-text{margin-bottom:24px}.lupa-search-result-facet-display{border:none}.lupa-search-result-facet-display:first-child{border:none}.lupa-facet-label-text{font-weight:700;font-size:16px;line-height:24px}.lupa-facet-label-caret::after{direction:ltr;display:inline-block;font-family:"Material Design Icons";font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:1;text-transform:none;white-space:nowrap;word-wrap:normal;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased;font-size:22px;content:""}.lupa-term-label{font-weight:300;font-size:16px;line-height:1.15}.lupa-stats-facet-summary{margin-top:16px;font-size:16px;font-weight:300}.lupa-current-filter-list{display:flex;flex-wrap:wrap}.lupa-search-result-current-filters{border-bottom:1px solid #d8d8d8}.lupa-search-result-filter-value{flex-direction:row-reverse;display:flex;justify-content:flex-end;background-color:#3c53f4;padding:9px;border-radius:24px;margin:0 8px 8px 0}.lupa-search-result-filter-value .lupa-current-filter-label{display:none}.lupa-search-result-filter-value .lupa-current-filter-value{color:#fff;font-weight:300;font-size:14px}.lupa-search-result-filter-value .lupa-current-filter-action{display:flex;font-size:0}.lupa-search-result-filter-value .lupa-current-filter-action::before{color:#fff;margin-left:9px;width:16px;direction:ltr;display:inline-block;font-family:"Material Design Icons";font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:1;text-transform:none;white-space:nowrap;word-wrap:normal;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased;font-size:20px;content:""}.lupa-clear-all-filters{font-weight:300;font-size:16px;line-height:22px;color:#464646;display:flex;align-items:center;margin-top:16px}.lupa-clear-all-filters:before{direction:ltr;display:inline-block;font-family:"Material Design Icons";font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:1;text-transform:none;white-space:nowrap;word-wrap:normal;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased;content:"";margin-right:10px;font-size:20px}.lupa-term-checkbox{border-radius:2px;border:2px solid #464646}.lupa-term-checkbox.checked{border-color:#3c53f4;background:#3c53f4}.lupa-term-checkbox.checked:after{border:none;border-left:2px solid #fff;border-bottom:2px solid #fff;display:inline-block;transform:rotate(-45deg);height:7px;width:12px;border-radius:0;top:-2px;content:" ";position:relative}.lupa-term-checkbox-label{font-size:16px;font-weight:300}.lupa-search-box-wrapper input{border-radius:24px}.lupa-panel-suggestion-index{grid-area:suggestions}.lupa-panel-document-index{grid-area:docs}#lupa-search-results-products{background:#fff;padding-top:36px}.wrapper{background:#fafafa}
|
|
1
|
+
:root{--lupa-available-height: 100%}#lupa-search-box-panel{position:absolute;width:100%;height:auto;border:1px solid #d8d8d8;background:#fff;box-shadow:0px 4px 6px rgba(0,0,0,.25);z-index:5000;border-radius:0;font-family:"Roboto",sans-serif;box-sizing:border-box}#lupa-search-box-panel:empty{display:none}@media(max-width: 767px){#lupa-search-box-panel{max-height:var(--lupa-available-height);overflow-y:auto}}.lupa-main-panel{display:grid;grid-template:"suggestions docs";grid-template-columns:minmax(50px, 35%) minmax(250px, 1fr)}@media(max-width: 767px){.lupa-main-panel{display:block}}.lupa-panel-suggestion-index{grid-area:left;word-break:break-word}@media(min-width: 767px){.lupa-panel-suggestion-index{border-right:1px solid #d8d8d8}}.lupa-panel-document-index{grid-area:right;word-break:break-word}.lupa-more-results{cursor:pointer;border-top:1px solid #d8d8d8;padding:5px 10px;color:#2e2e2e;background-color:#fff;font-size:14px;line-height:24px}.lupa-more-results:hover{background-color:rgba(0,0,0,.05);color:#3c53f4}.lupa-suggestion{cursor:pointer;display:flex;flex-wrap:wrap;align-items:center;color:#2e2e2e;background-color:#fff;padding:4px 20px;font-size:16px;line-height:24px}.lupa-suggestion strong{color:#2e2e2e}.lupa-suggestion-value{margin-right:7px}.lupa-suggestion-facet{font-size:13px}.lupa-suggestion-facet-label{margin-right:2px}.lupa-suggestion-facet-value{font-weight:bold}.lupa-suggestion-highlighted,.lupa-suggestion:hover{cursor:pointer;color:#3c53f4;background-color:rgba(0,0,0,.05)}.lupa-suggestion-highlighted strong,.lupa-suggestion:hover strong{color:#3c53f4}.lupa-suggestion:hover{text-decoration:underline}.lupa-search-box-input-field,.lupa-hint{color:#2e2e2e;height:48px;padding:0 16px;line-height:1.5;font-size:16px;font-family:"Roboto",sans-serif}.lupa-search-box-input-field{border:1px solid #d8d8d8;color:#2e2e2e}.lupa-hint{border:1px solid transparent}.lupa-search-box-history-item{cursor:pointer}.lupa-search-box-history-item-content{display:flex;justify-content:space-between}.lupa-search-box-history-item-text{width:100%;display:flex;align-items:center;line-height:24px;font-size:16px;padding:4px 20px;color:#2e2e2e}.lupa-search-box-history-item-text:hover,.lupa-search-box-history-item-text.lupa-search-box-history-item-highlighted{background-color:rgba(0,0,0,.05);color:#2e2e2e}.lupa-search-box-history-item-text:hover{text-decoration:underline}.lupa-search-box-history-item-clear{display:flex;align-items:center;padding:4px 20px;color:#2e2e2e;font-size:24px}.lupa-search-box-history-item-clear:hover{color:#2e2e2e;background-color:rgba(0,0,0,.05)}.lupa-search-box-history-clear-all{text-align:center;cursor:pointer;border-top:1px solid #d8d8d8;padding:4px 20px;line-height:24px;font-size:14px;color:#2e2e2e}.lupa-search-box-history-clear-all:hover{background-color:rgba(0,0,0,.05);color:#2e2e2e}.lupa-search-box-product{padding:10px;font-size:14px;display:flex;cursor:pointer;text-decoration:inherit;color:inherit}.lupa-search-box-product:hover,.lupa-search-box-product.lupa-search-box-product-highlighted{text-decoration:none;background-color:rgba(0,0,0,.05)}.lupa-search-box-product:hover .lupa-search-box-product-title,.lupa-search-box-product.lupa-search-box-product-highlighted .lupa-search-box-product-title{color:#2e2e2e}.lupa-search-box-product:hover .lupa-search-box-product-custom,.lupa-search-box-product.lupa-search-box-product-highlighted .lupa-search-box-product-custom{color:#2e2e2e}.lupa-search-box-product:hover .lupa-search-box-product-price,.lupa-search-box-product.lupa-search-box-product-highlighted .lupa-search-box-product-price{color:#2e2e2e}.lupa-search-box-product:hover .lupa-search-box-product-regular-price,.lupa-search-box-product.lupa-search-box-product-highlighted .lupa-search-box-product-regular-price{color:#2e2e2e}.lupa-search-box-product-details-section{font-family:"Roboto",sans-serif}.lupa-search-box-product-details-section{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start}.lupa-search-box-product-image-section{min-width:85px;flex:0 1}.lupa-search-box-image-wrapper,.lupa-search-box-image{width:70px;height:70px}.lupa-search-box-image{object-fit:contain}.lupa-search-box-product-title{font-size:16px;line-height:15px;color:#2e2e2e}.lupa-search-box-product-custom{font-size:14px;line-height:15px;color:#2e2e2e}.lupa-search-box-product-price{font-size:16px;line-height:15px;color:#3c53f4}.lupa-search-box-product-regular-price{font-size:14px;line-height:15px;color:#2e2e2e;font-weight:normal}.lupa-search-box-product-description{max-height:42px;line-height:14px;color:#2e2e2e;overflow:hidden}.lupa-search-result-facets{font-family:"Roboto",sans-serif}.lupa-facets-title{font-size:16px;line-height:1.1;font-weight:700;padding:0 0 10px;color:#2e2e2e}.lupa-search-result-facet-display{border-bottom:1px solid #d8d8d8}.lupa-search-result-facet-display:first-child{border-top:1px solid #d8d8d8}.lupa-search-result-facet-label{justify-content:space-between;display:flex;font-size:14px;line-height:21px;font-weight:700;padding:10.5px;color:#2e2e2e;cursor:pointer}.lupa-search-result-facet-label:hover{color:#3c53f4}.lupa-search-result-facet-label.open{padding:10.5px 10.5px 0}.lupa-facet-label-caret::after{content:"⌄";font-family:"Roboto",sans-serif;color:#2e2e2e;display:block;font-weight:400;overflow:hidden;text-align:center}.lupa-facet-label-caret.open::after{transform:rotate(180deg)}.lupa-facet-content{padding:5px 10px 20px}.lupa-facet-term{padding:4px 5px;margin:16px 0 0}.lupa-term-checkbox-label{width:100%;padding-left:8px;display:flex;justify-content:space-between;align-items:center}.lupa-facet-term{cursor:pointer;display:flex;align-items:center;font-size:14px;color:#2e2e2e}.lupa-facet-term:hover{background:rgba(0,0,0,.05)}.lupa-facet-term.checked{font-weight:bold}.lupa-term-count{color:#2e2e2e}.lupa-term-checkbox{display:inline-block;height:18px;width:18px;box-sizing:border-box;border:2px solid #3c53f4;border-radius:0px;content:"";display:flex;justify-content:center;align-items:center}.lupa-term-checkbox.checked::after{border:3px solid #3c53f4;border-radius:0px;display:inline-block;content:""}.lupa-show-more-facet-results{justify-content:center}.lupa-term-filter{width:100%;padding:8px;box-sizing:border-box;border:1px solid #d8d8d8}.lupa-show-more-facet-results{color:#2e2e2e;font-size:14px}.lupa-show-more-facet-results:hover{color:#2e2e2e}.lupa-stats-facet-summary{text-align:center;font-size:14px}.lupa-stats-slider-wrapper{margin:10px 0 0;padding:0 8px}.lupa-stats-slider-wrapper .vue-slider-rail{background-color:rgba(60,83,244,.3)}.lupa-stats-slider-wrapper .vue-slider-process{background-color:#3c53f4}.lupa-stats-slider-wrapper .vue-slider-dot{background:#3c53f4;border-radius:50%;border:0px solid #3c53f4;z-index:3;cursor:pointer}.lupa-stats-slider-wrapper .vue-slider-dot:hover{background:#3c53f4}.lupa-stats-range-label{font-size:12px;margin:0 0 5px}.lupa-stats-facet-summary-input{display:flex;align-items:center;justify-content:center}.lupa-stats-facet-summary-input input{width:100%;padding:8px;box-sizing:border-box;border:1px solid #d8d8d8}.lupa-stats-facet-summary-input .lupa-stats-from,.lupa-stats-facet-summary-input .lupa-stats-to{display:flex;align-items:center}.lupa-stats-facet-summary-input .lupa-stats-separator{margin:0 10px}.lupa-stats-facet-summary-input span{padding:0 5px}.lupa-search-result-facet-list.lupa-top-dropdown{display:flex;flex-wrap:wrap}.lupa-search-result-facet-list.lupa-top-dropdown .lupa-search-result-facet-display{margin:0 10px 0 0;border-bottom:none;border-top:none}.lupa-search-result-facet-list.lupa-top-dropdown .lupa-facet-content{position:absolute;background:#fff;z-index:10;border:1px solid #d8d8d8;min-width:220px}.lupa-search-result-facet-list.lupa-top-dropdown .lupa-terms-list{overflow-y:auto;max-height:300px;margin:2px 0 0}.lupa-search-result-facet-list.lupa-top-dropdown .lupa-search-result-facet-label{border:1px solid #d8d8d8}.lupa-search-result-facet-list.lupa-top-dropdown .lupa-search-result-facet-label.lupa-has-filter{border-width:2px}.lupa-search-result-facet-list.lupa-top-dropdown .lupa-single-facet-clear{cursor:pointer;text-align:center;margin:3px 0 0;padding:5px 0 3px;font-size:5px 0 3px;border-top:1px solid #d8d8d8}.lupa-search-result-current-filters{font-family:"Roboto",sans-serif}.lupa-current-filter-title{display:flex;align-items:center;justify-content:space-between;font-size:16px;line-height:1.1;font-weight:700;padding:0;color:#2e2e2e}.lupa-current-filter-list{margin:0;padding:0 10px 5px}.lupa-search-result-current-filters{margin:0 0 25px}.lupa-clear-all-filters{cursor:pointer;color:#0c26d7;padding:0 10.5px;margin:0 0 31.5px;font-size:14px}.lupa-clear-all-filters:hover{color:#091da7}.lupa-search-result-filter-value{display:flex;align-items:center;flex-wrap:wrap;margin:10.5px 0;font-size:14px}.lupa-current-filter-action{padding:0 5px 0 0;font-size:17px;color:#3c53f4;cursor:pointer}.lupa-current-filter-action:hover{color:#3c53f4}.lupa-current-filter-label,.lupa-current-filter-value{margin:0 0 0 5px}.lupa-current-filter-label{color:#2e2e2e}.lupa-current-filter-value{color:#3c53f4}.lupa-filter-title-caret::after{content:"⌄";font-family:"Roboto",sans-serif;color:#2e2e2e;font-size:14px;display:block;font-weight:400;overflow:hidden;text-align:center}.lupa-filter-title-caret.open::after{transform:rotate(180deg)}.lupa-filter-count{font-size:14px;color:#2e2e2e}.lupa-result-page-title{font-size:16px;margin:0 0 38px;font-family:"Roboto",sans-serif}#lupa-search-result-filters{padding:0 4.6% 0 0}#lupa-search-results,.top-layout-wrapper{width:100%;height:100%;display:flex;flex-direction:row;justify-content:flex-start}.search-content{width:100%}#lupa-search-result-filters{flex:25%;flex-grow:1;flex-shrink:0;box-sizing:border-box}#lupa-search-results-products{position:relative;padding:0 0 0 1.6%;width:100%}.lupa-products{display:flex;align-self:flex-start;flex-wrap:wrap;margin:0 0 31.5px -16px}.lupa-loader{background-color:#fff;display:flex;height:calc(100% - 0px);opacity:.5;position:absolute;z-index:555}#lupa-search-result-product-card{box-sizing:border-box}#lupa-search-results-did-you-mean{font-family:"Roboto",sans-serif}.lupa-suggested-search-text{font-weight:bold}.lupa-highlighted-search-text{font-weight:bold;font-style:italic}#lupa-search-results-did-you-mean{margin-bottom:10px}.lupa-did-you-mean{text-decoration:none}.lupa-did-you-mean:hover{text-decoration:underline;cursor:pointer}#lupa-select{position:relative;font-family:"Roboto",sans-serif;color:#2e2e2e;text-indent:.01em}.lupa-select-dropdown{cursor:pointer;padding:20px 25px 4px 8px;font-family:"Roboto",sans-serif;background:#fff;background-clip:padding-box;border:1px solid #d8d8d8;border-radius:0;font-size:14px;height:48px;line-height:1.5;vertical-align:baseline;box-sizing:border-box;appearance:none}.lupa-select-dropdown:focus{outline:none;box-shadow:0 0 3px 1px #6c7ef7}.lupa-select-label{font-family:"Roboto",sans-serif;font-size:12px;line-height:1;position:absolute;pointer-events:none;top:8px;left:8px}.lupa-search-results-summary{display:flex;align-items:center}#lupa-search-results-toolbar{display:flex;flex-direction:row;justify-content:space-between;margin:0 0 40px}.lupa-toolbar-left{display:flex}.lupa-toolbar-right{display:flex;flex-direction:row}#lupa-search-results-page-select{display:flex;flex-direction:row;align-items:center}#lupa-search-results-layout-selection{display:flex;flex-direction:row;align-items:center}#lupa-search-results-layout-selection div{margin:0 16px 0 0}.lupa-search-results-summary{color:#2e2e2e;font-family:"Roboto",sans-serif;font-size:14px}#lupa-search-results-page-size{margin:0}#lupa-search-results-page-size .lupa-select-dropdown{width:125px}#lupa-search-results-sort{margin:0 0 0 8px}.lupa-filter-clear{cursor:pointer}#lupa-search-results-page-select{font-family:"Roboto",sans-serif}.lupa-page-number{cursor:pointer;color:#3c53f4;font-size:12px;padding:0 5.25px;margin:0 12px 0 0}.lupa-page-number:hover{color:#2e2e2e}.lupa-page-number.lupa-page-number-selected{color:#2e2e2e;font-weight:700}.lupa-page-arrow{cursor:pointer;font-weight:700;margin:0 12px 0 0;padding:0 8px}.lupa-page-arrow:before{line-height:31.5px;color:#2e2e2e;content:"";font-family:"Roboto",sans-serif;font-size:11px}.lupa-page-arrow:hover:before{color:#3c53f4}#lupa-search-result-product-card{height:auto;min-height:250px;border:1px solid #d8d8d8;padding:12px;margin:0}.lupa-out-of-stock{opacity:.5}.lupa-search-result-product-contents{height:100%;display:flex;flex-direction:column;font-family:"Roboto",sans-serif;font-size:16px}.lupa-search-result-product-contents-list{flex-direction:row}.lupa-search-result-product-details-section{display:flex;flex-direction:column;justify-content:space-between;height:100%}.lupa-search-results-image-wrapper{padding-bottom:125%;display:block;height:0;overflow:hidden;position:relative;z-index:1;display:flex;justify-content:center}.lupa-search-results-image{width:100%;height:100%;object-fit:contain;max-width:240px;max-height:195px;margin:auto;position:absolute}.lupa-search-result-product-image-section{cursor:pointer;border:none;padding:12px 8px;margin:0}.lupa-search-results-product-title{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;font-size:16px;margin:0 0 12px;line-height:21px}.lupa-search-results-product-title-text{font-weight:bold;color:#2e2e2e}.lupa-search-results-product-title-text.lupa-title-link{text-decoration:none;color:#2e2e2e}.lupa-search-results-product-title-text.lupa-title-link:hover{text-decoration:underline;color:#3c53f4}.lupa-search-results-product-regular-price{font-size:16px;font-weight:700;padding:10px 8px 0 5px}#lupa-search-results-rating{display:flex;flex-direction:row;align-items:center;width:auto;margin:0 0 15.75px}.lupa-ratings{display:flex;flex-direction:row;align-items:center;width:auto}.lupa-ratings-base,.lupa-rating-wrapper{display:flex;width:90px}.lupa-rating-wrapper{position:absolute}.lupa-ratings-highlighted{display:flex;overflow:hidden}.lupa-total-ratings{color:#2e2e2e !important;text-decoration:none}.lupa-total-ratings:hover{color:#3c53f4 !important;text-decoration:underline !important}.lupa-search-result-product-contents-list #lupa-search-result-product-card{min-height:50px}.lupa-search-result-product-contents-list .lupa-search-results-image{width:240px;height:195px;object-fit:contain;margin:auto;position:relative}.lupa-search-result-product-contents-list .lupa-search-result-product-details-section{width:100%;padding:15px}.lupa-search-result-product-contents-list .lupa-search-results-image{max-width:120px;max-height:97.5px}.lupa-search-result-product-contents-list .lupa-search-results-product-addtocart{order:3;margin:0 -16px 0;position:static}.lupa-search-result-product-contents-list .lupa-search-results-product-addtocart button{padding:8px 32px}.lupa-empty-results{text-align:center;width:100%;font-size:14px;font-family:"Roboto",sans-serif;color:#2e2e2e}.lupa-mobile-filter-sidebar{position:fixed;width:100%;height:var(--lupa-full-height);left:0;top:0;bottom:0;background:#fff;z-index:555}.lupa-sidebar-top{display:flex;align-items:center;justify-content:space-between;height:48px;padding:0 13.5px 0 0;border-bottom:1px solid #d8d8d8}.lupa-sidebar-title{margin-left:15px;font-weight:700;font-size:16px;font-family:"Roboto",sans-serif;color:#2e2e2e}.lupa-sidebar-filter-options .lupa-facets-title{display:none}.lupa-filter-toggle-mobile:after{font-size:16px;color:#6c7ef7;content:"✖";line-height:inherit;font-family:"Roboto",sans-serif;vertical-align:middle;display:inline-block;font-weight:400;overflow:hidden;text-align:center}.lupa-sidebar-filter-options{overflow-y:scroll;height:calc(100% - 48px)}#lupa-search-results-toolbar.lupa-toolbar-mobile{display:none}.lupa-filters-mobile{display:none}.lupa-mobile-toggle{font-family:"Roboto",sans-serif;font-size:14px;color:#6c7ef7;width:208px;border-radius:0;display:none;padding:15px 0;border:1px solid #d8d8d8;line-height:16px;text-align:center;z-index:2}@media(max-width: 767px){.lupa-mobile-toggle{display:block}.lupa-filters-mobile{display:block;border-top:1px solid #d8d8d8}.lupa-filters-mobile.lupa-search-result-current-filters.expandable{padding:15px 0;margin:-20px 0 20px}#lupa-search-results-layout-selection{display:none}.lupa-search-results-summary{display:none}#lupa-search-results-page-size{display:none}#lupa-search-results-toolbar.lupa-toolbar-top{display:none}#lupa-search-results-toolbar.lupa-toolbar-mobile{display:flex}.lupa-toolbar-bottom .lupa-toolbar-right{display:none}.lupa-toolbar-mobile .lupa-toolbar-left{display:none}#lupa-search-results-toolbar{justify-content:center}#lupa-search-results-rating{flex-direction:column;align-items:normal}#lupa-search-results-rating .lupa-total-ratings{margin-left:0;margin-top:5px}#lupa-search-result-filters{display:none}.lupa-mobile-filter-sidebar #lupa-search-result-filters{display:flex;flex-direction:column}#lupa-search-results-products{padding:0}.lupa-select-dropdown{width:208px}.lupa-facets-title{padding:16px}.lupa-search-result-current-filters.expandable{padding:16px;border-bottom:1px solid #d8d8d8;margin:0}.lupa-clear-all-filters{margin:0}#lupa-search-results-did-you-mean{margin-bottom:10px}}@media(max-width: 479px){.lupa-mobile-toggle{width:139px}.lupa-select-dropdown{width:139px}}@media(max-width: 350px){.lupa-mobile-toggle{width:100px}.lupa-select-dropdown{width:100px}}@media(max-width: 767px){#lupa-search-result-filters{flex:100%;padding:0}.lupa-search-result-facets{width:100%}.lupa-search-result-facet-display{padding:0 15px}}@media(max-width: 1024px){#lupa-search-results-badges>#lupa-badges{top:-16px}#lupa-search-results-badges>#lupa-badges .lupa-badge{width:32px;height:32px;font-size:11px}}#lupa-search-results-badges{position:relative}#lupa-badges{display:flex;position:absolute;font-family:"Roboto",sans-serif;top:-24px;z-index:1}#lupa-badges .tl{left:-10px}#lupa-badges .tr{right:-10px}.lupa-badge{width:48px;height:48px;font-size:14px;margin:0 8px 0 0;font-weight:700;border-radius:50%}.lupa-text-badges{display:flex}.lupa-image-badges{display:flex}.lupa-image-badges img{width:100%}.lupa-text-badge{color:#fff;background:#3c53f4;display:flex;align-items:center;justify-content:center;text-align:center}#lupa-search-results-breadcrumbs{margin:0 0 24px;font-size:12px}@media(min-width: 767px){#lupa-search-results-breadcrumbs{max-width:1228px;box-sizing:border-box;width:100%}}@media(max-width: 767px){#lupa-search-results-breadcrumbs{display:none}}#lupa-search-results-breadcrumbs .lupa-search-results-breadcrumb-link{text-decoration:none;color:#0c26d7}#lupa-search-results-breadcrumbs .lupa-search-results-breadcrumb-link:hover{text-decoration:underline;color:#091da7}#lupa-search-results-similar-queries{margin-top:20px}.lupa-similar-queries-label{font-size:20px;font-family:"Roboto",sans-serif;font-weight:700;line-height:1.1;margin-top:0;margin-bottom:8px}.lupa-similar-query-label{margin-bottom:48px;font-weight:400;line-height:1.5;color:#4f4f4f;font-family:"Roboto",sans-serif}.lupa-similar-query-value{font-size:16px}.lupa-similar-query-link:hover{text-decoration:underline;cursor:pointer}.lupa-similar-query-crossed{text-decoration:line-through}.lupa-category-filter{padding:0;font-family:"Roboto",sans-serif;margin:0 0 25px}.lupa-category-back{padding:13px 0}.lupa-category-back a{color:#2e2e2e;font-size:16px;line-height:20px;font-weight:700;text-decoration:none !important}.lupa-category-back a:hover{color:#3c53f4}.lupa-current-category,.lupa-child-category-item{padding:10px 0 10px 25px}.lupa-current-category a,.lupa-child-category-item a{text-decoration:none !important;color:#2e2e2e;font-size:16px;line-height:16px}.lupa-current-category a:hover,.lupa-child-category-item a:hover{color:#3c53f4}.lupa-child-category-item-active,.lupa-current-category-active{color:#3c53f4}.lupa-child-category-list{padding:0 0 0 10px}.lupa-category-overview{margin:30px 0 50px}.lupa-category-title{font-weight:600;font-size:14px;margin:0 0 15px}.lupa-search-box-product-title{font-weight:300}#lupa-search-box-input::after{direction:ltr;display:inline-block;font-family:"Material Design Icons";font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:1;text-transform:none;white-space:nowrap;word-wrap:normal;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased;content:"";font-size:24px;position:absolute;right:16px;top:12px}.lupa-suggestion{font-weight:300}.lupa-search-box-product-details-section{justify-content:space-between}.lupa-search-box-product-regular-price{text-decoration:line-through;color:#9e9e9e}.lupa-more-results{font-size:16px;font-weight:300}#lupa-search-box-panel{box-shadow:0px 1px 1px rgba(22,22,22,.14),0px 2px 1px rgba(22,22,22,.12),0px 1px 3px rgba(22,22,22,.2);border-radius:24px;border:none;overflow:hidden}.lupa-suggestion-facet-label,.lupa-suggestion-facet-value{line-height:13px}#lupa-search-results-toolbar{margin:0 0 12px;padding-right:1.6%}#lupa-search-results-toolbar.lupa-toolbar-bottom{justify-content:center;margin:24px 0}.lupa-search-results-summary{font-weight:300;font-size:18px;line-height:15px}.lupa-search-results-summary span{color:#3c53f4;font-weight:700}.lupa-page-number{min-width:48px;min-height:48px;color:#464646;font-weight:300;font-size:18px;display:flex;align-items:center;justify-content:center;border-radius:50%;padding:0}.lupa-page-number.lupa-page-number-selected,.lupa-page-number:hover{background:rgba(60,83,244,.08);font-weight:300}.lupa-page-arrow{font-size:0}.lupa-page-arrow::before{direction:ltr;display:inline-block;font-family:"Material Design Icons";font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:1;text-transform:none;white-space:nowrap;word-wrap:normal;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased;font-size:20px;content:""}.lupa-page-arrow:first-child::before{direction:ltr;display:inline-block;font-family:"Material Design Icons";font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:1;text-transform:none;white-space:nowrap;word-wrap:normal;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased;font-size:20px;content:""}#lupa-similar-query-text-component,.lupa-highlighted-search-text{color:#3c53f4}.lupa-similar-query-label{margin-bottom:18px;font-weight:300}.lupa-empty-results{font-weight:300;font-size:18px;margin-bottom:36px;color:#9e9e9e}#lupa-search-result-product-card{border-radius:4px;margin-bottom:36px;border:none}.lupa-search-result-product-contents{border:1px solid #d8d8d8;box-shadow:0px 1px 1px rgba(22,22,22,.14),0px 2px 1px rgba(22,22,22,.12),0px 1px 3px rgba(22,22,22,.2);border-radius:4px;padding:16px}.lupa-search-result-product-contents:hover{border-color:#3c53f4}.lupa-search-results-product-title-text{font-weight:300;line-height:29px}.lupa-search-results-image-wrapper{padding-bottom:100%}.lupa-discount{display:inline;font-weight:700;font-size:32px;line-height:27px;color:#3c53f4}.lupa-custom-id{opacity:.5}.lupa-custom-brand{opacity:.5;color:#3c53f4}.lupa-final{display:inline;font-weight:700;font-size:32px;line-height:27px}.lupa-regular{text-decoration:line-through;color:#9e9e9e;display:inline-block;margin-left:4px}#lupa-search-result-filters{padding-right:24px;flex:40%}.lupa-filter-title-text{margin-bottom:24px}.lupa-search-result-facet-display{border:none}.lupa-search-result-facet-display:first-child{border:none}.lupa-facet-label-text{font-weight:700;font-size:16px;line-height:24px}.lupa-facet-label-caret::after{direction:ltr;display:inline-block;font-family:"Material Design Icons";font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:1;text-transform:none;white-space:nowrap;word-wrap:normal;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased;font-size:22px;content:""}.lupa-term-label{font-weight:300;font-size:16px;line-height:1.15}.lupa-stats-facet-summary{margin-top:16px;font-size:16px;font-weight:300}.lupa-current-filter-list{display:flex;flex-wrap:wrap}.lupa-search-result-current-filters{border-bottom:1px solid #d8d8d8}.lupa-search-result-filter-value{flex-direction:row-reverse;display:flex;justify-content:flex-end;background-color:#3c53f4;padding:9px;border-radius:24px;margin:0 8px 8px 0}.lupa-search-result-filter-value .lupa-current-filter-label{display:none}.lupa-search-result-filter-value .lupa-current-filter-value{color:#fff;font-weight:300;font-size:14px}.lupa-search-result-filter-value .lupa-current-filter-action{display:flex;font-size:0}.lupa-search-result-filter-value .lupa-current-filter-action::before{color:#fff;margin-left:9px;width:16px;direction:ltr;display:inline-block;font-family:"Material Design Icons";font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:1;text-transform:none;white-space:nowrap;word-wrap:normal;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased;font-size:20px;content:""}.lupa-clear-all-filters{font-weight:300;font-size:16px;line-height:22px;color:#464646;display:flex;align-items:center;margin-top:16px}.lupa-clear-all-filters:before{direction:ltr;display:inline-block;font-family:"Material Design Icons";font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:1;text-transform:none;white-space:nowrap;word-wrap:normal;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased;content:"";margin-right:10px;font-size:20px}.lupa-term-checkbox{border-radius:2px;border:2px solid #464646}.lupa-term-checkbox.checked{border-color:#3c53f4;background:#3c53f4}.lupa-term-checkbox.checked:after{border:none;border-left:2px solid #fff;border-bottom:2px solid #fff;display:inline-block;transform:rotate(-45deg);height:7px;width:12px;border-radius:0;top:-2px;content:" ";position:relative}.lupa-term-checkbox-label{font-size:16px;font-weight:300}.lupa-search-box-wrapper input{border-radius:24px}.lupa-mobile-toggle-filter-count{display:inline-flex;color:#fff;background:#3c53f4;border-radius:50%;width:20px;height:20px;justify-content:center;align-items:center}.lupa-panel-suggestion-index{grid-area:suggestions}.lupa-panel-document-index{grid-area:docs}#lupa-search-results-products{background:#fff;padding-top:36px}.wrapper{background:#fafafa}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getlupa/client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.1-alpha-2",
|
|
4
4
|
"main": "dist/cjs/index.min.js",
|
|
5
5
|
"module": "dist/es/index.min.js",
|
|
6
6
|
"types": "dist/es/index.d.ts",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"validate:es5": "npx es5-validator dist/iife/*.min.js"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@getlupa/client-sdk": "^1.0.
|
|
20
|
+
"@getlupa/client-sdk": "^1.0.24",
|
|
21
21
|
"vue": "^2.6.11",
|
|
22
22
|
"vue-class-component": "^7.2.3",
|
|
23
23
|
"vue-property-decorator": "^9.1.2",
|