@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,39 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { ImageDocumentElement } 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<ImageDocumentElement>;
11
+ required: true;
12
+ };
13
+ wrapperClass: {
14
+ type: __PropType<string>;
15
+ required: false;
16
+ };
17
+ imageClass: {
18
+ type: __PropType<string>;
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
+ item: {
23
+ type: __PropType<Document>;
24
+ required: true;
25
+ };
26
+ options: {
27
+ type: __PropType<ImageDocumentElement>;
28
+ required: true;
29
+ };
30
+ wrapperClass: {
31
+ type: __PropType<string>;
32
+ required: false;
33
+ };
34
+ imageClass: {
35
+ type: __PropType<string>;
36
+ required: false;
37
+ };
38
+ }>>, {}, {}>;
39
+ export default _sfc_main;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,14 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { ProductListOptions } from '../../types/product-list/ProductListOptions';
3
+ declare const _sfc_main: import("vue").DefineComponent<{
4
+ options: {
5
+ type: __PropType<ProductListOptions>;
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<ProductListOptions>;
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 { CategoryFilterOptions } from '../../types/product-list/ProductListOptions';
3
+ declare const _sfc_main: import("vue").DefineComponent<{
4
+ options: {
5
+ type: __PropType<CategoryFilterOptions>;
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<CategoryFilterOptions>;
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 { CategoryFilterOptions } from '../../types/product-list/ProductListOptions';
3
+ declare const _sfc_main: import("vue").DefineComponent<{
4
+ options: {
5
+ type: __PropType<CategoryFilterOptions>;
6
+ required: true;
7
+ };
8
+ item: {
9
+ type: __PropType<Record<string, string>>;
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<CategoryFilterOptions>;
15
+ required: true;
16
+ };
17
+ item: {
18
+ type: __PropType<Record<string, string>>;
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 { ProductListOptions } from '../../types/product-list/ProductListOptions';
3
+ declare const _sfc_main: import("vue").DefineComponent<{
4
+ options: {
5
+ type: __PropType<ProductListOptions>;
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<ProductListOptions>;
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 { ProductListOptions } from '../../types/product-list/ProductListOptions';
3
+ declare const _sfc_main: import("vue").DefineComponent<{
4
+ options: {
5
+ type: __PropType<ProductListOptions>;
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<ProductListOptions>;
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 { ProductRecommendationOptions } from '../../types/recommendations/RecommendationsOptions';
3
+ declare const _sfc_main: import("vue").DefineComponent<{
4
+ options: {
5
+ type: __PropType<ProductRecommendationOptions>;
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<ProductRecommendationOptions>;
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 { SearchBoxOptions } from '../../types/search-box/SearchBoxOptions';
3
+ declare const _sfc_main: import("vue").DefineComponent<{
4
+ options: {
5
+ type: __PropType<SearchBoxOptions>;
6
+ required: true;
7
+ };
8
+ isSearchContainer: {
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<SearchBoxOptions>;
15
+ required: true;
16
+ };
17
+ isSearchContainer: {
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 { InputSuggestion } from '../../types/search-box/Common';
3
+ import type { SearchBoxInputOptions } from '../../types/search-box/SearchBoxOptions';
4
+ declare const _sfc_main: import("vue").DefineComponent<{
5
+ options: {
6
+ type: __PropType<SearchBoxInputOptions>;
7
+ required: true;
8
+ };
9
+ canClose: {
10
+ type: __PropType<boolean>;
11
+ required: true;
12
+ };
13
+ emitInputOnFocus: {
14
+ type: __PropType<boolean>;
15
+ required: true;
16
+ };
17
+ suggestedValue: {
18
+ type: __PropType<InputSuggestion>;
19
+ required: true;
20
+ };
21
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "focus")[], "input" | "focus", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
22
+ options: {
23
+ type: __PropType<SearchBoxInputOptions>;
24
+ required: true;
25
+ };
26
+ canClose: {
27
+ type: __PropType<boolean>;
28
+ required: true;
29
+ };
30
+ emitInputOnFocus: {
31
+ type: __PropType<boolean>;
32
+ required: true;
33
+ };
34
+ suggestedValue: {
35
+ type: __PropType<InputSuggestion>;
36
+ required: true;
37
+ };
38
+ }>> & {
39
+ onInput?: (...args: any[]) => any;
40
+ onFocus?: (...args: any[]) => any;
41
+ }, {}, {}>;
42
+ export default _sfc_main;
@@ -0,0 +1,52 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { SearchBoxPanelOptions } from '../../types/search-box/SearchBoxOptions';
3
+ declare const _sfc_main: import("vue").DefineComponent<{
4
+ options: {
5
+ type: __PropType<SearchBoxPanelOptions>;
6
+ required: true;
7
+ };
8
+ inputValue: {
9
+ type: __PropType<string>;
10
+ required: true;
11
+ };
12
+ isSearchContainer: {
13
+ type: __PropType<boolean>;
14
+ required: false;
15
+ };
16
+ focused: {
17
+ type: __PropType<boolean>;
18
+ required: false;
19
+ };
20
+ history: {
21
+ type: __PropType<string[]>;
22
+ required: false;
23
+ };
24
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("fetched" | "itemSelect" | "go-to-results" | "clear-history-item" | "clear-history")[], "fetched" | "itemSelect" | "go-to-results" | "clear-history-item" | "clear-history", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
25
+ options: {
26
+ type: __PropType<SearchBoxPanelOptions>;
27
+ required: true;
28
+ };
29
+ inputValue: {
30
+ type: __PropType<string>;
31
+ required: true;
32
+ };
33
+ isSearchContainer: {
34
+ type: __PropType<boolean>;
35
+ required: false;
36
+ };
37
+ focused: {
38
+ type: __PropType<boolean>;
39
+ required: false;
40
+ };
41
+ history: {
42
+ type: __PropType<string[]>;
43
+ required: false;
44
+ };
45
+ }>> & {
46
+ onFetched?: (...args: any[]) => any;
47
+ onItemSelect?: (...args: any[]) => any;
48
+ "onGo-to-results"?: (...args: any[]) => any;
49
+ "onClear-history-item"?: (...args: any[]) => any;
50
+ "onClear-history"?: (...args: any[]) => any;
51
+ }, {}, {}>;
52
+ export default _sfc_main;
@@ -0,0 +1,24 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { SearchBoxOptionLabels } from '../../types/search-box/SearchBoxOptions';
3
+ declare const _sfc_main: import("vue").DefineComponent<{
4
+ labels: {
5
+ type: __PropType<SearchBoxOptionLabels>;
6
+ required: true;
7
+ };
8
+ showTotalCount: {
9
+ type: __PropType<boolean>;
10
+ required: true;
11
+ };
12
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "go-to-results"[], "go-to-results", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
+ labels: {
14
+ type: __PropType<SearchBoxOptionLabels>;
15
+ required: true;
16
+ };
17
+ showTotalCount: {
18
+ type: __PropType<boolean>;
19
+ required: true;
20
+ };
21
+ }>> & {
22
+ "onGo-to-results"?: (...args: any[]) => any;
23
+ }, {}, {}>;
24
+ export default _sfc_main;
@@ -0,0 +1,24 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ declare const _sfc_main: import("vue").DefineComponent<{
3
+ item: {
4
+ type: __PropType<string>;
5
+ required: true;
6
+ };
7
+ highlighted: {
8
+ type: __PropType<boolean>;
9
+ required: true;
10
+ };
11
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("remove" | "click")[], "remove" | "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
12
+ item: {
13
+ type: __PropType<string>;
14
+ required: true;
15
+ };
16
+ highlighted: {
17
+ type: __PropType<boolean>;
18
+ required: true;
19
+ };
20
+ }>> & {
21
+ onRemove?: (...args: any[]) => any;
22
+ onClick?: (...args: any[]) => any;
23
+ }, {}, {}>;
24
+ export default _sfc_main;
@@ -0,0 +1,16 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { SearchBoxHistory } from '../../../types/search-box/SearchBoxHistory';
3
+ declare const _sfc_main: import("vue").DefineComponent<{
4
+ options: {
5
+ type: __PropType<SearchBoxHistory>;
6
+ required: true;
7
+ };
8
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "go-to-results"[], "go-to-results", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
9
+ options: {
10
+ type: __PropType<SearchBoxHistory>;
11
+ required: true;
12
+ };
13
+ }>> & {
14
+ "onGo-to-results"?: (...args: any[]) => any;
15
+ }, {}, {}>;
16
+ export default _sfc_main;
@@ -0,0 +1,50 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { Document } from '@getlupa/client-sdk/Types';
3
+ import type { DocumentSearchBoxPanel } from '../../../types/search-box/SearchBoxPanel';
4
+ import type { SearchBoxOptionLabels } from '../../../types/search-box/SearchBoxOptions';
5
+ declare const _sfc_main: import("vue").DefineComponent<{
6
+ item: {
7
+ type: __PropType<Document>;
8
+ required: true;
9
+ };
10
+ inputValue: {
11
+ type: __PropType<string>;
12
+ required: true;
13
+ };
14
+ panelOptions: {
15
+ type: __PropType<DocumentSearchBoxPanel>;
16
+ required: true;
17
+ };
18
+ labels: {
19
+ type: __PropType<SearchBoxOptionLabels>;
20
+ required: false;
21
+ };
22
+ highlighted: {
23
+ type: __PropType<boolean>;
24
+ required: false;
25
+ };
26
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "product-click"[], "product-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
+ item: {
28
+ type: __PropType<Document>;
29
+ required: true;
30
+ };
31
+ inputValue: {
32
+ type: __PropType<string>;
33
+ required: true;
34
+ };
35
+ panelOptions: {
36
+ type: __PropType<DocumentSearchBoxPanel>;
37
+ required: true;
38
+ };
39
+ labels: {
40
+ type: __PropType<SearchBoxOptionLabels>;
41
+ required: false;
42
+ };
43
+ highlighted: {
44
+ type: __PropType<boolean>;
45
+ required: false;
46
+ };
47
+ }>> & {
48
+ "onProduct-click"?: (...args: any[]) => any;
49
+ }, {}, {}>;
50
+ export default _sfc_main;
@@ -0,0 +1,40 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { Document } from '@getlupa/client-sdk/Types';
3
+ import type { SearchBoxOptionLabels } from '../../../types/search-box/SearchBoxOptions';
4
+ import type { DocumentSearchBoxPanel } from '../../../types/search-box/SearchBoxPanel';
5
+ declare const _sfc_main: import("vue").DefineComponent<{
6
+ items: {
7
+ type: __PropType<Document[]>;
8
+ required: true;
9
+ };
10
+ inputValue: {
11
+ type: __PropType<string>;
12
+ required: true;
13
+ };
14
+ panelOptions: {
15
+ type: __PropType<DocumentSearchBoxPanel>;
16
+ required: true;
17
+ };
18
+ labels: {
19
+ type: __PropType<SearchBoxOptionLabels>;
20
+ required: false;
21
+ };
22
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
23
+ items: {
24
+ type: __PropType<Document[]>;
25
+ required: true;
26
+ };
27
+ inputValue: {
28
+ type: __PropType<string>;
29
+ required: true;
30
+ };
31
+ panelOptions: {
32
+ type: __PropType<DocumentSearchBoxPanel>;
33
+ required: true;
34
+ };
35
+ labels: {
36
+ type: __PropType<SearchBoxOptionLabels>;
37
+ required: false;
38
+ };
39
+ }>>, {}, {}>;
40
+ export default _sfc_main;
@@ -0,0 +1,50 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { SearchBoxOptionLabels } from '../../../types/search-box/SearchBoxOptions';
3
+ import type { DocumentSearchBoxPanel } from '../../../types/search-box/SearchBoxPanel';
4
+ import type { SdkOptions } from '../../../types/General';
5
+ declare const _sfc_main: import("vue").DefineComponent<{
6
+ panel: {
7
+ type: __PropType<DocumentSearchBoxPanel>;
8
+ required: true;
9
+ };
10
+ inputValue: {
11
+ type: __PropType<string>;
12
+ required: true;
13
+ };
14
+ options: {
15
+ type: __PropType<SdkOptions>;
16
+ required: true;
17
+ };
18
+ labels: {
19
+ type: __PropType<SearchBoxOptionLabels>;
20
+ required: false;
21
+ };
22
+ debounce: {
23
+ type: __PropType<number>;
24
+ required: false;
25
+ };
26
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "fetched"[], "fetched", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
+ panel: {
28
+ type: __PropType<DocumentSearchBoxPanel>;
29
+ required: true;
30
+ };
31
+ inputValue: {
32
+ type: __PropType<string>;
33
+ required: true;
34
+ };
35
+ options: {
36
+ type: __PropType<SdkOptions>;
37
+ required: true;
38
+ };
39
+ labels: {
40
+ type: __PropType<SearchBoxOptionLabels>;
41
+ required: false;
42
+ };
43
+ debounce: {
44
+ type: __PropType<number>;
45
+ required: false;
46
+ };
47
+ }>> & {
48
+ onFetched?: (...args: any[]) => any;
49
+ }, {}, {}>;
50
+ export default _sfc_main;
@@ -0,0 +1,23 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { CustomDocumentElement } 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<CustomDocumentElement>;
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<CustomDocumentElement>;
20
+ required: true;
21
+ };
22
+ }>>, {}, {}>;
23
+ export default _sfc_main;
@@ -0,0 +1,22 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { CustomHtmlElement } from '../../../../types/DocumentElement';
3
+ declare const _sfc_main: import("vue").DefineComponent<{
4
+ item: {
5
+ type: __PropType<Document>;
6
+ required: true;
7
+ };
8
+ options: {
9
+ type: __PropType<CustomHtmlElement>;
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
+ item: {
14
+ type: __PropType<Document>;
15
+ required: true;
16
+ };
17
+ options: {
18
+ type: __PropType<CustomHtmlElement>;
19
+ required: true;
20
+ };
21
+ }>>, {}, {}>;
22
+ export default _sfc_main;
@@ -0,0 +1,23 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { Document } from '@getlupa/client-sdk/Types';
3
+ import type { DescriptionDocumentElement } from '../../../../types/DocumentElement';
4
+ declare const _sfc_main: import("vue").DefineComponent<{
5
+ item: {
6
+ type: __PropType<Document>;
7
+ required: true;
8
+ };
9
+ options: {
10
+ type: __PropType<DescriptionDocumentElement>;
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<DescriptionDocumentElement>;
20
+ required: true;
21
+ };
22
+ }>>, {}, {}>;
23
+ export default _sfc_main;
@@ -0,0 +1,32 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import { type DocumentElement } 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
+ element: {
11
+ type: __PropType<DocumentElement>;
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
+ element: {
24
+ type: __PropType<DocumentElement>;
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 { ImageDocumentElement } 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<ImageDocumentElement>;
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<ImageDocumentElement>;
20
+ required: true;
21
+ };
22
+ }>>, {}, {}>;
23
+ export default _sfc_main;
@@ -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;