@getlupa/vue 0.0.1

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 (142) hide show
  1. package/.eslintrc.cjs +15 -0
  2. package/.prettierrc.json +8 -0
  3. package/README.md +46 -0
  4. package/dist/containerStyle.css +1 -0
  5. package/dist/favicon.ico +0 -0
  6. package/dist/lupaSearch.iife.js +15899 -0
  7. package/dist/lupaSearch.js +15897 -0
  8. package/dist/lupaSearch.mjs +15897 -0
  9. package/dist/lupaSearch.umd.js +15900 -0
  10. package/dist/src/components/common/ProductImage.vue.d.ts +39 -0
  11. package/dist/src/components/common/Spinner.vue.d.ts +2 -0
  12. package/dist/src/components/product-list/CategoryDescription.vue.d.ts +14 -0
  13. package/dist/src/components/product-list/CategoryFilter.vue.d.ts +14 -0
  14. package/dist/src/components/product-list/CategoryFilterItem.vue.d.ts +22 -0
  15. package/dist/src/components/product-list/CategoryTopFilters.vue.d.ts +14 -0
  16. package/dist/src/components/product-list/ProductList.vue.d.ts +14 -0
  17. package/dist/src/components/recommendations/Recommendations.vue.d.ts +14 -0
  18. package/dist/src/components/search-box/SearchBox.vue.d.ts +22 -0
  19. package/dist/src/components/search-box/SearchBoxInput.vue.d.ts +42 -0
  20. package/dist/src/components/search-box/SearchBoxMainPanel.vue.d.ts +52 -0
  21. package/dist/src/components/search-box/SearchBoxMoreResults.vue.d.ts +24 -0
  22. package/dist/src/components/search-box/history/SearchBoxHistoryItem.vue.d.ts +24 -0
  23. package/dist/src/components/search-box/history/SearchBoxHistoryPanel.vue.d.ts +16 -0
  24. package/dist/src/components/search-box/products/SearchBoxProduct.vue.d.ts +50 -0
  25. package/dist/src/components/search-box/products/SearchBoxProducts.vue.d.ts +40 -0
  26. package/dist/src/components/search-box/products/SearchBoxProductsWrapper.vue.d.ts +50 -0
  27. package/dist/src/components/search-box/products/elements/SearchBoxProductCustom.vue.d.ts +23 -0
  28. package/dist/src/components/search-box/products/elements/SearchBoxProductCustomHtml.vue.d.ts +22 -0
  29. package/dist/src/components/search-box/products/elements/SearchBoxProductDescription.vue.d.ts +23 -0
  30. package/dist/src/components/search-box/products/elements/SearchBoxProductElement.vue.d.ts +32 -0
  31. package/dist/src/components/search-box/products/elements/SearchBoxProductImage.vue.d.ts +23 -0
  32. package/dist/src/components/search-box/products/elements/SearchBoxProductPrice.vue.d.ts +32 -0
  33. package/dist/src/components/search-box/products/elements/SearchBoxProductRegularPrice.vue.d.ts +32 -0
  34. package/dist/src/components/search-box/products/elements/SearchBoxProductTitle.vue.d.ts +23 -0
  35. package/dist/src/components/search-box/suggestions/SearchBoxSuggestion.vue.d.ts +33 -0
  36. package/dist/src/components/search-box/suggestions/SearchBoxSuggestions.vue.d.ts +41 -0
  37. package/dist/src/components/search-box/suggestions/SearchBoxSuggestionsWrapper.vue.d.ts +51 -0
  38. package/dist/src/components/search-container/SearchContainer.vue.d.ts +14 -0
  39. package/dist/src/components/search-results/SearchResults.vue.d.ts +39 -0
  40. package/dist/src/components/search-results/SearchResultsBreadcrumbs.vue.d.ts +14 -0
  41. package/dist/src/components/search-results/SearchResultsDidYouMean.vue.d.ts +14 -0
  42. package/dist/src/components/search-results/SearchResultsTitle.vue.d.ts +30 -0
  43. package/dist/src/components/search-results/additional-panels/AdditionalPanel.vue.d.ts +23 -0
  44. package/dist/src/components/search-results/additional-panels/AdditionalPanels.vue.d.ts +31 -0
  45. package/dist/src/components/search-results/filters/CurrentFilterDisplay.vue.d.ts +16 -0
  46. package/dist/src/components/search-results/filters/CurrentFilters.vue.d.ts +22 -0
  47. package/dist/src/components/search-results/filters/FiltersTopDropdown.vue.d.ts +14 -0
  48. package/dist/src/components/search-results/filters/MobileFilterSidebar.vue.d.ts +14 -0
  49. package/dist/src/components/search-results/filters/SearchResultsFilters.vue.d.ts +22 -0
  50. package/dist/src/components/search-results/filters/facets/FacetDisplay.vue.d.ts +42 -0
  51. package/dist/src/components/search-results/filters/facets/FacetList.vue.d.ts +50 -0
  52. package/dist/src/components/search-results/filters/facets/Facets.vue.d.ts +30 -0
  53. package/dist/src/components/search-results/filters/facets/HierarchyFacet.vue.d.ts +33 -0
  54. package/dist/src/components/search-results/filters/facets/HierarchyFacetLevel.vue.d.ts +41 -0
  55. package/dist/src/components/search-results/filters/facets/StatsFacet.vue.d.ts +33 -0
  56. package/dist/src/components/search-results/filters/facets/TermFacet.vue.d.ts +33 -0
  57. package/dist/src/components/search-results/products/SearchResultsLayoutSelection.vue.d.ts +2 -0
  58. package/dist/src/components/search-results/products/SearchResultsMobileToggle.vue.d.ts +21 -0
  59. package/dist/src/components/search-results/products/SearchResultsProducts.vue.d.ts +14 -0
  60. package/dist/src/components/search-results/products/SearchResultsSummary.vue.d.ts +21 -0
  61. package/dist/src/components/search-results/products/SearchResultsToolbar.vue.d.ts +22 -0
  62. package/dist/src/components/search-results/products/pagination/SearchResultsPageSelect.vue.d.ts +30 -0
  63. package/dist/src/components/search-results/products/pagination/SearchResultsPageSize.vue.d.ts +22 -0
  64. package/dist/src/components/search-results/products/product-card/SearchResultsProductCard.vue.d.ts +40 -0
  65. package/dist/src/components/search-results/products/product-card/badges/CustomBadge.vue.d.ts +14 -0
  66. package/dist/src/components/search-results/products/product-card/badges/ImageBadge.vue.d.ts +14 -0
  67. package/dist/src/components/search-results/products/product-card/badges/SearchResultGeneratedBadges.vue.d.ts +14 -0
  68. package/dist/src/components/search-results/products/product-card/badges/SearchResultsBadgeWrapper.vue.d.ts +22 -0
  69. package/dist/src/components/search-results/products/product-card/badges/TextBadge.vue.d.ts +14 -0
  70. package/dist/src/components/search-results/products/product-card/elements/SearchResultsProductAddToCart.vue.d.ts +33 -0
  71. package/dist/src/components/search-results/products/product-card/elements/SearchResultsProductCardElement.vue.d.ts +50 -0
  72. package/dist/src/components/search-results/products/product-card/elements/SearchResultsProductCustom.vue.d.ts +23 -0
  73. package/dist/src/components/search-results/products/product-card/elements/SearchResultsProductDescription.vue.d.ts +23 -0
  74. package/dist/src/components/search-results/products/product-card/elements/SearchResultsProductImage.vue.d.ts +23 -0
  75. package/dist/src/components/search-results/products/product-card/elements/SearchResultsProductPrice.vue.d.ts +32 -0
  76. package/dist/src/components/search-results/products/product-card/elements/SearchResultsProductRating.vue.d.ts +23 -0
  77. package/dist/src/components/search-results/products/product-card/elements/SearchResultsProductRegularPrice.vue.d.ts +32 -0
  78. package/dist/src/components/search-results/products/product-card/elements/SearchResultsProductSingleStarRating.vue.d.ts +23 -0
  79. package/dist/src/components/search-results/products/product-card/elements/SearchResultsProductTitle.vue.d.ts +31 -0
  80. package/dist/src/components/search-results/products/product-card/elements/custom/SearchResultsProductCustomHtmlElement.vue.d.ts +23 -0
  81. package/dist/src/components/search-results/products/similar-queries/SearchResultsSimilarQueries.vue.d.ts +31 -0
  82. package/dist/src/components/search-results/products/similar-queries/SimilarQueryText.vue.d.ts +22 -0
  83. package/dist/src/components/search-results/products/sort/SearchResultsSort.vue.d.ts +14 -0
  84. package/dist/src/constants/global.const.d.ts +17 -0
  85. package/dist/src/constants/queryParams.const.d.ts +26 -0
  86. package/dist/src/constants/searchBox.const.d.ts +48 -0
  87. package/dist/src/constants/searchResults.const.d.ts +107 -0
  88. package/dist/src/index.d.ts +21 -0
  89. package/dist/src/stores/dynamicData.d.ts +24 -0
  90. package/dist/src/stores/history.d.ts +31 -0
  91. package/dist/src/stores/options.d.ts +75 -0
  92. package/dist/src/stores/params.d.ts +124 -0
  93. package/dist/src/stores/screen.d.ts +22 -0
  94. package/dist/src/stores/searchBox.d.ts +204 -0
  95. package/dist/src/stores/searchResult.d.ts +125 -0
  96. package/dist/src/stores/tracking.d.ts +46 -0
  97. package/dist/src/types/AnalyticsOptions.d.ts +14 -0
  98. package/dist/src/types/DocumentElement.d.ts +91 -0
  99. package/dist/src/types/General.d.ts +20 -0
  100. package/dist/src/types/product-list/ProductListOptions.d.ts +29 -0
  101. package/dist/src/types/recommendations/RecommendationsOptions.d.ts +26 -0
  102. package/dist/src/types/search-box/Common.d.ts +51 -0
  103. package/dist/src/types/search-box/SearchBoxHistory.d.ts +6 -0
  104. package/dist/src/types/search-box/SearchBoxOptions.d.ts +36 -0
  105. package/dist/src/types/search-box/SearchBoxPanel.d.ts +28 -0
  106. package/dist/src/types/search-container/SearchContainerOptions.d.ts +15 -0
  107. package/dist/src/types/search-results/BadgeOptions.d.ts +61 -0
  108. package/dist/src/types/search-results/FacetAction.d.ts +16 -0
  109. package/dist/src/types/search-results/Filters.d.ts +9 -0
  110. package/dist/src/types/search-results/PaginationOptions.d.ts +20 -0
  111. package/dist/src/types/search-results/QueryParams.d.ts +4 -0
  112. package/dist/src/types/search-results/ResultsLayout.d.ts +5 -0
  113. package/dist/src/types/search-results/RoutingBehavior.d.ts +1 -0
  114. package/dist/src/types/search-results/SearchResultsAdditionalPanelOptions.d.ts +16 -0
  115. package/dist/src/types/search-results/SearchResultsOptions.d.ts +177 -0
  116. package/dist/src/types/search-results/SearchResultsPagination.d.ts +21 -0
  117. package/dist/src/types/search-results/SearchResultsProductCardOptions.d.ts +24 -0
  118. package/dist/src/types/search-results/SearchResultsSort.d.ts +11 -0
  119. package/dist/src/utils/debounce.utils.d.ts +1 -0
  120. package/dist/src/utils/document.utils.d.ts +1 -0
  121. package/dist/src/utils/event.utils.d.ts +2 -0
  122. package/dist/src/utils/filter.toggle.utils.d.ts +23 -0
  123. package/dist/src/utils/filter.utils.d.ts +11 -0
  124. package/dist/src/utils/history.utils.d.ts +2 -0
  125. package/dist/src/utils/link.utils.d.ts +6 -0
  126. package/dist/src/utils/params.utils.d.ts +9 -0
  127. package/dist/src/utils/picker.utils.d.ts +5 -0
  128. package/dist/src/utils/price.utils.d.ts +2 -0
  129. package/dist/src/utils/query.utils.d.ts +5 -0
  130. package/dist/src/utils/routing.utils.d.ts +6 -0
  131. package/dist/src/utils/scroll.utils.d.ts +4 -0
  132. package/dist/src/utils/string.utils.d.ts +9 -0
  133. package/dist/src/utils/suggestion.utils.d.ts +3 -0
  134. package/dist/src/utils/tracking.utils.d.ts +15 -0
  135. package/dist/style.css +1 -0
  136. package/dist/style.js +1 -0
  137. package/env.d.ts +1 -0
  138. package/index.html +13 -0
  139. package/package.json +62 -0
  140. package/tsconfig.app.json +18 -0
  141. package/tsconfig.node.json +15 -0
  142. package/vite.config.ts +35 -0
@@ -0,0 +1,32 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { RegularPriceDocumentElement } from '../../../../types/DocumentElement';
3
+ import type { SearchBoxOptionLabels } from '../../../../types/search-box/SearchBoxOptions';
4
+ import type { Document } from '@getlupa/client-sdk/Types';
5
+ declare const _sfc_main: import("vue").DefineComponent<{
6
+ item: {
7
+ type: __PropType<Document>;
8
+ required: true;
9
+ };
10
+ options: {
11
+ type: __PropType<RegularPriceDocumentElement>;
12
+ required: true;
13
+ };
14
+ labels: {
15
+ type: __PropType<SearchBoxOptionLabels>;
16
+ required: false;
17
+ };
18
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
19
+ item: {
20
+ type: __PropType<Document>;
21
+ required: true;
22
+ };
23
+ options: {
24
+ type: __PropType<RegularPriceDocumentElement>;
25
+ required: true;
26
+ };
27
+ labels: {
28
+ type: __PropType<SearchBoxOptionLabels>;
29
+ required: false;
30
+ };
31
+ }>>, {}, {}>;
32
+ export default _sfc_main;
@@ -0,0 +1,23 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { TitleDocumentElement } from '../../../../types/DocumentElement';
3
+ import type { Document } from '@getlupa/client-sdk/Types';
4
+ declare const _sfc_main: import("vue").DefineComponent<{
5
+ item: {
6
+ type: __PropType<Document>;
7
+ required: true;
8
+ };
9
+ options: {
10
+ type: __PropType<TitleDocumentElement>;
11
+ required: true;
12
+ };
13
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
14
+ item: {
15
+ type: __PropType<Document>;
16
+ required: true;
17
+ };
18
+ options: {
19
+ type: __PropType<TitleDocumentElement>;
20
+ required: true;
21
+ };
22
+ }>>, {}, {}>;
23
+ export default _sfc_main;
@@ -0,0 +1,33 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { DisplaySuggestion } from '../../../types/search-box/Common';
3
+ import type { SearchBoxOptionLabels } from '../../../types/search-box/SearchBoxOptions';
4
+ declare const _sfc_main: import("vue").DefineComponent<{
5
+ suggestion: {
6
+ type: __PropType<DisplaySuggestion>;
7
+ required: true;
8
+ };
9
+ highlight: {
10
+ type: __PropType<boolean>;
11
+ required: false;
12
+ };
13
+ labels: {
14
+ type: __PropType<SearchBoxOptionLabels>;
15
+ required: true;
16
+ };
17
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "select"[], "select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
+ suggestion: {
19
+ type: __PropType<DisplaySuggestion>;
20
+ required: true;
21
+ };
22
+ highlight: {
23
+ type: __PropType<boolean>;
24
+ required: false;
25
+ };
26
+ labels: {
27
+ type: __PropType<SearchBoxOptionLabels>;
28
+ required: true;
29
+ };
30
+ }>> & {
31
+ onSelect?: (...args: any[]) => any;
32
+ }, {}, {}>;
33
+ export default _sfc_main;
@@ -0,0 +1,41 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { DisplaySuggestion } from '../../../types/search-box/Common';
3
+ import type { SearchBoxOptionLabels } from '../../../types/search-box/SearchBoxOptions';
4
+ declare const _sfc_main: import("vue").DefineComponent<{
5
+ items: {
6
+ type: __PropType<DisplaySuggestion[]>;
7
+ required: true;
8
+ };
9
+ highlight: {
10
+ type: __PropType<boolean>;
11
+ required: true;
12
+ };
13
+ queryKey: {
14
+ type: __PropType<string>;
15
+ required: true;
16
+ };
17
+ labels: {
18
+ type: __PropType<SearchBoxOptionLabels>;
19
+ required: true;
20
+ };
21
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "suggestionSelect"[], "suggestionSelect", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
22
+ items: {
23
+ type: __PropType<DisplaySuggestion[]>;
24
+ required: true;
25
+ };
26
+ highlight: {
27
+ type: __PropType<boolean>;
28
+ required: true;
29
+ };
30
+ queryKey: {
31
+ type: __PropType<string>;
32
+ required: true;
33
+ };
34
+ labels: {
35
+ type: __PropType<SearchBoxOptionLabels>;
36
+ required: true;
37
+ };
38
+ }>> & {
39
+ onSuggestionSelect?: (...args: any[]) => any;
40
+ }, {}, {}>;
41
+ export default _sfc_main;
@@ -0,0 +1,51 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { SuggestionSearchBoxPanel } from '../../../types/search-box/SearchBoxPanel';
3
+ import type { SdkOptions } from '../../../types/General';
4
+ import type { SearchBoxOptionLabels } from '../../../types/search-box/SearchBoxOptions';
5
+ declare const _sfc_main: import("vue").DefineComponent<{
6
+ panel: {
7
+ type: __PropType<SuggestionSearchBoxPanel>;
8
+ required: true;
9
+ };
10
+ options: {
11
+ type: __PropType<SdkOptions>;
12
+ required: true;
13
+ };
14
+ inputValue: {
15
+ type: __PropType<string>;
16
+ required: true;
17
+ };
18
+ debounce: {
19
+ type: __PropType<number>;
20
+ required: false;
21
+ };
22
+ labels: {
23
+ type: __PropType<SearchBoxOptionLabels>;
24
+ required: true;
25
+ };
26
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("fetched" | "itemSelect")[], "fetched" | "itemSelect", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
+ panel: {
28
+ type: __PropType<SuggestionSearchBoxPanel>;
29
+ required: true;
30
+ };
31
+ options: {
32
+ type: __PropType<SdkOptions>;
33
+ required: true;
34
+ };
35
+ inputValue: {
36
+ type: __PropType<string>;
37
+ required: true;
38
+ };
39
+ debounce: {
40
+ type: __PropType<number>;
41
+ required: false;
42
+ };
43
+ labels: {
44
+ type: __PropType<SearchBoxOptionLabels>;
45
+ required: true;
46
+ };
47
+ }>> & {
48
+ onFetched?: (...args: any[]) => any;
49
+ onItemSelect?: (...args: any[]) => any;
50
+ }, {}, {}>;
51
+ export default _sfc_main;
@@ -0,0 +1,14 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { SearchContainerOptions } from '../../types/search-container/SearchContainerOptions';
3
+ declare const _sfc_main: import("vue").DefineComponent<{
4
+ options: {
5
+ type: __PropType<SearchContainerOptions>;
6
+ required: true;
7
+ };
8
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
9
+ options: {
10
+ type: __PropType<SearchContainerOptions>;
11
+ required: true;
12
+ };
13
+ }>>, {}, {}>;
14
+ export default _sfc_main;
@@ -0,0 +1,39 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { SearchResultsOptions } from '../../types/search-results/SearchResultsOptions';
3
+ import type { FilterGroup } from '@getlupa/client-sdk/Types';
4
+ declare const _sfc_main: import("vue").DefineComponent<{
5
+ options: {
6
+ type: __PropType<SearchResultsOptions>;
7
+ required: true;
8
+ };
9
+ initialFilters: {
10
+ type: __PropType<FilterGroup>;
11
+ required: false;
12
+ };
13
+ isProductList: {
14
+ type: __PropType<boolean>;
15
+ required: false;
16
+ };
17
+ isContainer: {
18
+ type: __PropType<boolean>;
19
+ required: false;
20
+ };
21
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
22
+ options: {
23
+ type: __PropType<SearchResultsOptions>;
24
+ required: true;
25
+ };
26
+ initialFilters: {
27
+ type: __PropType<FilterGroup>;
28
+ required: false;
29
+ };
30
+ isProductList: {
31
+ type: __PropType<boolean>;
32
+ required: false;
33
+ };
34
+ isContainer: {
35
+ type: __PropType<boolean>;
36
+ required: false;
37
+ };
38
+ }>>, {}, {}>;
39
+ export default _sfc_main;
@@ -0,0 +1,14 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { SearchResultsBreadcrumb } from '../../types/search-results/SearchResultsOptions';
3
+ declare const _sfc_main: import("vue").DefineComponent<{
4
+ breadcrumbs: {
5
+ type: __PropType<SearchResultsBreadcrumb[]>;
6
+ required: true;
7
+ };
8
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
9
+ breadcrumbs: {
10
+ type: __PropType<SearchResultsBreadcrumb[]>;
11
+ required: true;
12
+ };
13
+ }>>, {}, {}>;
14
+ export default _sfc_main;
@@ -0,0 +1,14 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { SearchResultsDidYouMeanLabels } from '../../types/search-results/SearchResultsOptions';
3
+ declare const _sfc_main: import("vue").DefineComponent<{
4
+ labels: {
5
+ type: __PropType<SearchResultsDidYouMeanLabels>;
6
+ required: true;
7
+ };
8
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
9
+ labels: {
10
+ type: __PropType<SearchResultsDidYouMeanLabels>;
11
+ required: true;
12
+ };
13
+ }>>, {}, {}>;
14
+ export default _sfc_main;
@@ -0,0 +1,30 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { SearchResultsOptions } from '../../types/search-results/SearchResultsOptions';
3
+ declare const _sfc_main: import("vue").DefineComponent<{
4
+ options: {
5
+ type: __PropType<SearchResultsOptions>;
6
+ required: true;
7
+ };
8
+ isProductList: {
9
+ type: __PropType<boolean>;
10
+ required: true;
11
+ };
12
+ showSummary: {
13
+ type: __PropType<boolean>;
14
+ required: false;
15
+ };
16
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
17
+ options: {
18
+ type: __PropType<SearchResultsOptions>;
19
+ required: true;
20
+ };
21
+ isProductList: {
22
+ type: __PropType<boolean>;
23
+ required: true;
24
+ };
25
+ showSummary: {
26
+ type: __PropType<boolean>;
27
+ required: false;
28
+ };
29
+ }>>, {}, {}>;
30
+ export default _sfc_main;
@@ -0,0 +1,23 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { SdkOptions } from '../../../types/General';
3
+ import type { SearchResultsAdditionalPanelOptions } from '../../../types/search-results/SearchResultsAdditionalPanelOptions';
4
+ declare const _sfc_main: import("vue").DefineComponent<{
5
+ panel: {
6
+ type: __PropType<SearchResultsAdditionalPanelOptions>;
7
+ required: true;
8
+ };
9
+ options: {
10
+ type: __PropType<SdkOptions>;
11
+ required: true;
12
+ };
13
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
14
+ panel: {
15
+ type: __PropType<SearchResultsAdditionalPanelOptions>;
16
+ required: true;
17
+ };
18
+ options: {
19
+ type: __PropType<SdkOptions>;
20
+ required: true;
21
+ };
22
+ }>>, {}, {}>;
23
+ export default _sfc_main;
@@ -0,0 +1,31 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { SearchResultsAdditionalPanels } from '../../../types/search-results/SearchResultsOptions';
3
+ import type { SdkOptions } from '../../../types/General';
4
+ declare const _sfc_main: import("vue").DefineComponent<{
5
+ options: {
6
+ type: __PropType<SearchResultsAdditionalPanels>;
7
+ required: true;
8
+ };
9
+ sdkOptions: {
10
+ type: __PropType<SdkOptions>;
11
+ required: true;
12
+ };
13
+ location: {
14
+ type: __PropType<"top" | "bottom">;
15
+ required: true;
16
+ };
17
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
+ options: {
19
+ type: __PropType<SearchResultsAdditionalPanels>;
20
+ required: true;
21
+ };
22
+ sdkOptions: {
23
+ type: __PropType<SdkOptions>;
24
+ required: true;
25
+ };
26
+ location: {
27
+ type: __PropType<"top" | "bottom">;
28
+ required: true;
29
+ };
30
+ }>>, {}, {}>;
31
+ export default _sfc_main;
@@ -0,0 +1,16 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { LabeledFilter } from '../../../types/search-results/Filters';
3
+ declare const _sfc_main: import("vue").DefineComponent<{
4
+ filter: {
5
+ type: __PropType<LabeledFilter>;
6
+ required: true;
7
+ };
8
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "remove"[], "remove", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
9
+ filter: {
10
+ type: __PropType<LabeledFilter>;
11
+ required: true;
12
+ };
13
+ }>> & {
14
+ onRemove?: (...args: any[]) => any;
15
+ }, {}, {}>;
16
+ export default _sfc_main;
@@ -0,0 +1,22 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { ResultCurrentFilterOptions } from '../../../types/search-results/SearchResultsOptions';
3
+ declare const _sfc_main: import("vue").DefineComponent<{
4
+ options: {
5
+ type: __PropType<ResultCurrentFilterOptions>;
6
+ required: false;
7
+ };
8
+ expandable: {
9
+ type: __PropType<boolean>;
10
+ required: true;
11
+ };
12
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
+ options: {
14
+ type: __PropType<ResultCurrentFilterOptions>;
15
+ required: false;
16
+ };
17
+ expandable: {
18
+ type: __PropType<boolean>;
19
+ required: true;
20
+ };
21
+ }>>, {}, {}>;
22
+ export default _sfc_main;
@@ -0,0 +1,14 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { SearchResultsFilterOptions } from '../../../types/search-results/SearchResultsOptions';
3
+ declare const _sfc_main: import("vue").DefineComponent<{
4
+ options: {
5
+ type: __PropType<SearchResultsFilterOptions>;
6
+ required: true;
7
+ };
8
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
9
+ options: {
10
+ type: __PropType<SearchResultsFilterOptions>;
11
+ required: true;
12
+ };
13
+ }>>, {}, {}>;
14
+ export default _sfc_main;
@@ -0,0 +1,14 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { SearchResultsFilterOptions } from '../../../types/search-results/SearchResultsOptions';
3
+ declare const _sfc_main: import("vue").DefineComponent<{
4
+ options: {
5
+ type: __PropType<SearchResultsFilterOptions>;
6
+ required: true;
7
+ };
8
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
9
+ options: {
10
+ type: __PropType<SearchResultsFilterOptions>;
11
+ required: true;
12
+ };
13
+ }>>, {}, {}>;
14
+ export default _sfc_main;
@@ -0,0 +1,22 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { SearchResultsFilterOptions } from '../../../types/search-results/SearchResultsOptions';
3
+ declare const _sfc_main: import("vue").DefineComponent<{
4
+ options: {
5
+ type: __PropType<SearchResultsFilterOptions>;
6
+ required: true;
7
+ };
8
+ expandable: {
9
+ type: __PropType<boolean>;
10
+ required: false;
11
+ };
12
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
+ options: {
14
+ type: __PropType<SearchResultsFilterOptions>;
15
+ required: true;
16
+ };
17
+ expandable: {
18
+ type: __PropType<boolean>;
19
+ required: false;
20
+ };
21
+ }>>, {}, {}>;
22
+ export default _sfc_main;
@@ -0,0 +1,42 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { ResultFacetOptions } from '../../../../types/search-results/SearchResultsOptions';
3
+ import type { FacetResult, FilterGroup } from '@getlupa/client-sdk/Types';
4
+ declare const _sfc_main: import("vue").DefineComponent<{
5
+ options: {
6
+ type: __PropType<ResultFacetOptions>;
7
+ required: true;
8
+ };
9
+ facet: {
10
+ type: __PropType<FacetResult>;
11
+ required: true;
12
+ };
13
+ currentFilters: {
14
+ type: __PropType<FilterGroup>;
15
+ required: true;
16
+ };
17
+ clearable: {
18
+ type: __PropType<boolean>;
19
+ required: true;
20
+ };
21
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "select")[], "clear" | "select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
22
+ options: {
23
+ type: __PropType<ResultFacetOptions>;
24
+ required: true;
25
+ };
26
+ facet: {
27
+ type: __PropType<FacetResult>;
28
+ required: true;
29
+ };
30
+ currentFilters: {
31
+ type: __PropType<FilterGroup>;
32
+ required: true;
33
+ };
34
+ clearable: {
35
+ type: __PropType<boolean>;
36
+ required: true;
37
+ };
38
+ }>> & {
39
+ onSelect?: (...args: any[]) => any;
40
+ onClear?: (...args: any[]) => any;
41
+ }, {}, {}>;
42
+ export default _sfc_main;
@@ -0,0 +1,50 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { FacetStyle, ResultFacetOptions } from '../../../../types/search-results/SearchResultsOptions';
3
+ import type { FacetResult, FilterGroup } from '@getlupa/client-sdk/Types';
4
+ declare const _sfc_main: import("vue").DefineComponent<{
5
+ options: {
6
+ type: __PropType<ResultFacetOptions>;
7
+ required: true;
8
+ };
9
+ facets: {
10
+ type: __PropType<FacetResult[]>;
11
+ required: true;
12
+ };
13
+ currentFilters: {
14
+ type: __PropType<FilterGroup>;
15
+ required: true;
16
+ };
17
+ facetStyle: {
18
+ type: __PropType<FacetStyle>;
19
+ required: false;
20
+ };
21
+ clearable: {
22
+ type: __PropType<boolean>;
23
+ required: false;
24
+ };
25
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "select")[], "clear" | "select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
26
+ options: {
27
+ type: __PropType<ResultFacetOptions>;
28
+ required: true;
29
+ };
30
+ facets: {
31
+ type: __PropType<FacetResult[]>;
32
+ required: true;
33
+ };
34
+ currentFilters: {
35
+ type: __PropType<FilterGroup>;
36
+ required: true;
37
+ };
38
+ facetStyle: {
39
+ type: __PropType<FacetStyle>;
40
+ required: false;
41
+ };
42
+ clearable: {
43
+ type: __PropType<boolean>;
44
+ required: false;
45
+ };
46
+ }>> & {
47
+ onSelect?: (...args: any[]) => any;
48
+ onClear?: (...args: any[]) => any;
49
+ }, {}, {}>;
50
+ export default _sfc_main;
@@ -0,0 +1,30 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { FacetStyle, ResultFacetOptions } from '../../../../types/search-results/SearchResultsOptions';
3
+ declare const _sfc_main: import("vue").DefineComponent<{
4
+ options: {
5
+ type: __PropType<ResultFacetOptions>;
6
+ required: true;
7
+ };
8
+ facetStyle: {
9
+ type: __PropType<FacetStyle>;
10
+ required: false;
11
+ };
12
+ clearable: {
13
+ type: __PropType<boolean>;
14
+ required: false;
15
+ };
16
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
17
+ options: {
18
+ type: __PropType<ResultFacetOptions>;
19
+ required: true;
20
+ };
21
+ facetStyle: {
22
+ type: __PropType<FacetStyle>;
23
+ required: false;
24
+ };
25
+ clearable: {
26
+ type: __PropType<boolean>;
27
+ required: false;
28
+ };
29
+ }>>, {}, {}>;
30
+ export default _sfc_main;
@@ -0,0 +1,33 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { ResultFacetOptions } from '../../../../types/search-results/SearchResultsOptions';
3
+ import type { FacetGroupHierarchy, FilterGroupItemTypeTerms } from '@getlupa/client-sdk/Types';
4
+ declare const _sfc_main: import("vue").DefineComponent<{
5
+ options: {
6
+ type: __PropType<ResultFacetOptions>;
7
+ required: true;
8
+ };
9
+ facet: {
10
+ type: __PropType<FacetGroupHierarchy>;
11
+ required: true;
12
+ };
13
+ currentFilters: {
14
+ type: __PropType<FilterGroupItemTypeTerms>;
15
+ required: true;
16
+ };
17
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "select"[], "select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
+ options: {
19
+ type: __PropType<ResultFacetOptions>;
20
+ required: true;
21
+ };
22
+ facet: {
23
+ type: __PropType<FacetGroupHierarchy>;
24
+ required: true;
25
+ };
26
+ currentFilters: {
27
+ type: __PropType<FilterGroupItemTypeTerms>;
28
+ required: true;
29
+ };
30
+ }>> & {
31
+ onSelect?: (...args: any[]) => any;
32
+ }, {}, {}>;
33
+ export default _sfc_main;
@@ -0,0 +1,41 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { ResultFacetOptions } from '../../../../types/search-results/SearchResultsOptions';
3
+ import type { FilterGroupItemTypeHierarchy, HierarchyTree } from '@getlupa/client-sdk/Types';
4
+ declare const _sfc_main: import("vue").DefineComponent<{
5
+ options: {
6
+ type: __PropType<ResultFacetOptions>;
7
+ required: true;
8
+ };
9
+ level: {
10
+ type: __PropType<number>;
11
+ required: true;
12
+ };
13
+ item: {
14
+ type: __PropType<HierarchyTree>;
15
+ required: true;
16
+ };
17
+ currentFilters: {
18
+ type: __PropType<FilterGroupItemTypeHierarchy>;
19
+ required: true;
20
+ };
21
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "select"[], "select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
22
+ options: {
23
+ type: __PropType<ResultFacetOptions>;
24
+ required: true;
25
+ };
26
+ level: {
27
+ type: __PropType<number>;
28
+ required: true;
29
+ };
30
+ item: {
31
+ type: __PropType<HierarchyTree>;
32
+ required: true;
33
+ };
34
+ currentFilters: {
35
+ type: __PropType<FilterGroupItemTypeHierarchy>;
36
+ required: true;
37
+ };
38
+ }>> & {
39
+ onSelect?: (...args: any[]) => any;
40
+ }, {}, {}>;
41
+ export default _sfc_main;