@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.
Files changed (31) hide show
  1. package/dist/cjs/components/product-list/CategoryFilter.vue.d.ts +3 -4
  2. package/dist/cjs/components/product-list/CategoryFilterItem.vue.d.ts +2 -3
  3. package/dist/cjs/components/search-results/SearchResultsBreadcrumbs.vue.d.ts +4 -1
  4. package/dist/cjs/components/search-results/products/product-card/SearchResultsProductCard.vue.d.ts +1 -2
  5. package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductTitle.vue.d.ts +1 -1
  6. package/dist/cjs/index.d.ts +2 -2
  7. package/dist/cjs/index.min.js +12940 -12908
  8. package/dist/cjs/types/product-list/ProductListOptions.d.ts +1 -1
  9. package/dist/cjs/utils/link.utils.d.ts +2 -0
  10. package/dist/cjs/utils/routing.utils.d.ts +1 -0
  11. package/dist/es/components/product-list/CategoryFilter.vue.d.ts +3 -4
  12. package/dist/es/components/product-list/CategoryFilterItem.vue.d.ts +2 -3
  13. package/dist/es/components/search-results/SearchResultsBreadcrumbs.vue.d.ts +4 -1
  14. package/dist/es/components/search-results/products/product-card/SearchResultsProductCard.vue.d.ts +1 -2
  15. package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductTitle.vue.d.ts +1 -1
  16. package/dist/es/index.d.ts +2 -2
  17. package/dist/es/index.min.js +12940 -12908
  18. package/dist/es/types/product-list/ProductListOptions.d.ts +1 -1
  19. package/dist/es/utils/link.utils.d.ts +2 -0
  20. package/dist/es/utils/routing.utils.d.ts +1 -0
  21. package/dist/iife/components/product-list/CategoryFilter.vue.d.ts +3 -4
  22. package/dist/iife/components/product-list/CategoryFilterItem.vue.d.ts +2 -3
  23. package/dist/iife/components/search-results/SearchResultsBreadcrumbs.vue.d.ts +4 -1
  24. package/dist/iife/components/search-results/products/product-card/SearchResultsProductCard.vue.d.ts +1 -2
  25. package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductTitle.vue.d.ts +1 -1
  26. package/dist/iife/index.d.ts +2 -2
  27. package/dist/iife/index.min.js +1 -1
  28. package/dist/iife/types/product-list/ProductListOptions.d.ts +1 -1
  29. package/dist/iife/utils/link.utils.d.ts +2 -0
  30. package/dist/iife/utils/routing.utils.d.ts +1 -0
  31. package/package.json +1 -1
@@ -24,5 +24,5 @@ export declare type CategoryFilterOptions = {
24
24
  };
25
25
  export declare type ProductListOptions = SearchResultsOptions & {
26
26
  initialFilters?: FilterGroup;
27
- categories?: CategoryFilterOptions;
27
+ categories: CategoryFilterOptions;
28
28
  };
@@ -2,3 +2,5 @@ import { InputSuggestionFacet } from "@/types/search-box/Common";
2
2
  export declare const generateLink: (linkPattern: string, document: Record<string, unknown>) => string;
3
3
  export declare const generateResultLink: (link: string, searchText?: string | undefined, facet?: InputSuggestionFacet | undefined) => string;
4
4
  export declare const getPathName: (resultPageLink: string) => string;
5
+ export declare const getRelativePath: (link: string) => string;
6
+ export declare const linksMatch: (link1?: string | undefined, link2?: string | undefined) => boolean;
@@ -1 +1,2 @@
1
1
  export declare const emitRoutingEvent: (url: string) => void;
2
+ export declare const handleRoutingEvent: (link: string, event?: Event | undefined, hasEventRouting?: boolean) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlupa/client",
3
- "version": "0.5.1-alpha-4",
3
+ "version": "0.5.1-alpha-7",
4
4
  "main": "dist/cjs/index.min.js",
5
5
  "module": "dist/es/index.min.js",
6
6
  "types": "dist/es/index.d.ts",