@getlupa/client 0.10.2 → 0.10.5

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 (37) hide show
  1. package/dist/cjs/components/search-box/SearchBoxInput.vue.d.ts +2 -0
  2. package/dist/cjs/components/search-results/SearchResults.vue.d.ts +1 -0
  3. package/dist/cjs/components/search-results/SearchResultsTitle.vue.d.ts +2 -0
  4. package/dist/cjs/components/search-results/products/SearchResultsToolbar.vue.d.ts +1 -0
  5. package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductCustom.vue.d.ts +2 -0
  6. package/dist/cjs/constants/development/searchBoxDev.example.const.d.ts +1 -0
  7. package/dist/cjs/constants/global.const.d.ts +1 -0
  8. package/dist/cjs/index.min.js +268 -115
  9. package/dist/cjs/types/search-box/SearchBoxOptions.d.ts +1 -0
  10. package/dist/cjs/types/search-container/SearchContainerOptions.d.ts +1 -0
  11. package/dist/cjs/utils/shadowDom.utils.d.ts +9 -0
  12. package/dist/containerStyle.js +1 -0
  13. package/dist/es/components/search-box/SearchBoxInput.vue.d.ts +2 -0
  14. package/dist/es/components/search-results/SearchResults.vue.d.ts +1 -0
  15. package/dist/es/components/search-results/SearchResultsTitle.vue.d.ts +2 -0
  16. package/dist/es/components/search-results/products/SearchResultsToolbar.vue.d.ts +1 -0
  17. package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductCustom.vue.d.ts +2 -0
  18. package/dist/es/constants/development/searchBoxDev.example.const.d.ts +1 -0
  19. package/dist/es/constants/global.const.d.ts +1 -0
  20. package/dist/es/index.min.js +268 -115
  21. package/dist/es/types/search-box/SearchBoxOptions.d.ts +1 -0
  22. package/dist/es/types/search-container/SearchContainerOptions.d.ts +1 -0
  23. package/dist/es/utils/shadowDom.utils.d.ts +9 -0
  24. package/dist/iife/components/search-box/SearchBoxInput.vue.d.ts +2 -0
  25. package/dist/iife/components/search-results/SearchResults.vue.d.ts +1 -0
  26. package/dist/iife/components/search-results/SearchResultsTitle.vue.d.ts +2 -0
  27. package/dist/iife/components/search-results/products/SearchResultsToolbar.vue.d.ts +1 -0
  28. package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductCustom.vue.d.ts +2 -0
  29. package/dist/iife/constants/development/searchBoxDev.example.const.d.ts +1 -0
  30. package/dist/iife/constants/global.const.d.ts +1 -0
  31. package/dist/iife/index.min.js +1 -1
  32. package/dist/iife/types/search-box/SearchBoxOptions.d.ts +1 -0
  33. package/dist/iife/types/search-container/SearchContainerOptions.d.ts +1 -0
  34. package/dist/iife/utils/shadowDom.utils.d.ts +9 -0
  35. package/dist/lupaContainerStyle.css +1 -0
  36. package/dist/style.css +1 -1
  37. package/package.json +3 -2
@@ -20,4 +20,6 @@ export default class SearchBoxInput extends Vue {
20
20
  handleQueryChange(): void;
21
21
  handleInput(evt?: InputEvent): void;
22
22
  handleFocus(): void;
23
+ clear(): void;
24
+ focus(): void;
23
25
  }
@@ -7,6 +7,7 @@ export default class SearchResults extends Vue {
7
7
  options: SearchResultsOptions;
8
8
  initialFilters: FilterGroup;
9
9
  isProductList: boolean;
10
+ isContainer: boolean;
10
11
  get productsOptions(): SearchResultsProductOptions;
11
12
  currentQueryText: string;
12
13
  hasResults: boolean;
@@ -3,6 +3,7 @@ import Vue from "vue";
3
3
  export default class SearchResultsTitle extends Vue {
4
4
  options: SearchResultsOptions;
5
5
  isProductList: boolean;
6
+ showSummary: boolean;
6
7
  currentQueryText: string;
7
8
  totalItems: number;
8
9
  suggestedSearchText: string;
@@ -10,5 +11,6 @@ export default class SearchResultsTitle extends Vue {
10
11
  get showProductCount(): boolean;
11
12
  get showSearchTitle(): boolean;
12
13
  get descriptionTop(): string | undefined;
14
+ get summaryLabel(): string;
13
15
  getLabel(label: string): string;
14
16
  }
@@ -21,6 +21,7 @@ export default class SearchResultsToolbar extends Vue {
21
21
  get displayPageSelect(): boolean;
22
22
  get searchSummaryLabel(): string;
23
23
  get showMobileFilterCount(): boolean;
24
+ get hasResults(): boolean;
24
25
  currentResolutionPageSizes: number[];
25
26
  removeAllFilters: () => {
26
27
  params: QueryParams;
@@ -4,7 +4,9 @@ import { CustomDocumentElement } from "@/types/DocumentElement";
4
4
  export default class SearchResultsProductCustom extends Vue {
5
5
  item: Document;
6
6
  options: CustomDocumentElement;
7
+ get value(): unknown;
7
8
  get text(): string;
9
+ get isArray(): boolean;
8
10
  get className(): string;
9
11
  get label(): string | undefined;
10
12
  get isHtml(): boolean;
@@ -15,6 +15,7 @@ export declare const SEARCH_BOX_CONFIGURATION: {
15
15
  currency: string;
16
16
  priceSeparator: string;
17
17
  defaultFacetLabel: string;
18
+ close: string;
18
19
  };
19
20
  links: {
20
21
  searchResults: string;
@@ -13,3 +13,4 @@ export declare const CURRENCY_KEY_INDICATOR = "price";
13
13
  export declare const DEFAULT_PAGE_SIZE = 12;
14
14
  export declare const DEFAULT_PAGE_SIZE_SELECTION: number[];
15
15
  export declare const LUPA_ROUTING_EVENT = "lupaRedirect";
16
+ export declare const DEFAULT_CONTAINER_STYLE = "containerStyle.css";