@getlupa/vue 0.19.1 → 0.20.0

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 (365) hide show
  1. package/dist/App.vue.d.ts +2 -0
  2. package/dist/AppChat.vue.d.ts +2 -0
  3. package/dist/AppContainer.vue.d.ts +2 -0
  4. package/dist/AppProductList.vue.d.ts +2 -0
  5. package/dist/AppRecommender.vue.d.ts +2 -0
  6. package/dist/AppSlots.vue.d.ts +2 -0
  7. package/dist/assets/output-BPIK2yNV.css +1 -0
  8. package/dist/assets/output-BnpcD7E7.css +1 -0
  9. package/dist/assets/output-CFGf2C1W.css +1 -0
  10. package/dist/components/chat/ChatContainer.vue.d.ts +6 -0
  11. package/dist/components/chat/ChatContentEntry.vue.d.ts +14 -0
  12. package/dist/components/chat/ChatContentEntryPhrase.vue.d.ts +11 -0
  13. package/dist/components/chat/ChatContentList.vue.d.ts +14 -0
  14. package/dist/components/chat/ChatContentListEntry.vue.d.ts +14 -0
  15. package/dist/components/chat/ChatInput.vue.d.ts +19 -0
  16. package/dist/components/chat/ChatPhraseProductsCardList.vue.d.ts +8 -0
  17. package/dist/components/chat/ChatPhraseProductsList.vue.d.ts +8 -0
  18. package/dist/components/chat/ChatSpinner.vue.d.ts +6 -0
  19. package/dist/components/chat/ChatTextEntry.vue.d.ts +9 -0
  20. package/dist/components/common/ProductImage.vue.d.ts +10 -0
  21. package/dist/components/common/Spinner.vue.d.ts +2 -0
  22. package/dist/components/product-list/CategoryDescription.vue.d.ts +6 -0
  23. package/dist/components/product-list/CategoryFilter.vue.d.ts +8 -0
  24. package/dist/components/product-list/CategoryFilterItem.vue.d.ts +7 -0
  25. package/dist/components/product-list/CategoryTopFilters.vue.d.ts +6 -0
  26. package/dist/components/product-list/ProductList.vue.d.ts +125 -0
  27. package/dist/components/recommendations/Recommendations.vue.d.ts +10 -0
  28. package/dist/components/search-box/SearchBox.vue.d.ts +230 -0
  29. package/dist/components/search-box/SearchBoxInput.vue.d.ts +81 -0
  30. package/dist/components/search-box/SearchBoxMainPanel.vue.d.ts +192 -0
  31. package/dist/components/search-box/SearchBoxMoreResults.vue.d.ts +11 -0
  32. package/dist/components/search-box/SearchBoxNoResults.vue.d.ts +6 -0
  33. package/dist/components/search-box/__tests__/SearchBox.spec.d.ts +1 -0
  34. package/dist/components/search-box/__tests__/SearchBoxInput.spec.d.ts +1 -0
  35. package/dist/components/search-box/__tests__/SearchBoxMainPanel.spec.d.ts +1 -0
  36. package/dist/components/search-box/history/SearchBoxHistoryItem.vue.d.ts +12 -0
  37. package/dist/components/search-box/history/SearchBoxHistoryPanel.vue.d.ts +10 -0
  38. package/dist/components/search-box/history/__tests__/SearchBoxHistoryPanel.vue.spec.d.ts +1 -0
  39. package/dist/components/search-box/products/SearchBoxProduct.vue.d.ts +16 -0
  40. package/dist/components/search-box/products/SearchBoxProducts.vue.d.ts +43 -0
  41. package/dist/components/search-box/products/SearchBoxProductsGoToResultsButton.vue.d.ts +12 -0
  42. package/dist/components/search-box/products/SearchBoxProductsWrapper.vue.d.ts +49 -0
  43. package/dist/components/search-box/products/__tests__/SearchBoxProduct.vue.spec.d.ts +1 -0
  44. package/dist/components/search-box/products/elements/SearchBoxProductAddToCart.vue.d.ts +15 -0
  45. package/dist/components/search-box/products/elements/SearchBoxProductCustom.vue.d.ts +8 -0
  46. package/dist/components/search-box/products/elements/SearchBoxProductCustomHtml.vue.d.ts +8 -0
  47. package/dist/components/search-box/products/elements/SearchBoxProductDescription.vue.d.ts +8 -0
  48. package/dist/components/search-box/products/elements/SearchBoxProductElement.vue.d.ts +95 -0
  49. package/dist/components/search-box/products/elements/SearchBoxProductImage.vue.d.ts +8 -0
  50. package/dist/components/search-box/products/elements/SearchBoxProductPrice.vue.d.ts +10 -0
  51. package/dist/components/search-box/products/elements/SearchBoxProductRegularPrice.vue.d.ts +10 -0
  52. package/dist/components/search-box/products/elements/SearchBoxProductTitle.vue.d.ts +8 -0
  53. package/dist/components/search-box/products/elements/__tests__/SearchBoxProductCustom.vue.spec.d.ts +1 -0
  54. package/dist/components/search-box/products/elements/__tests__/SearchBoxProductElement.vue.spec.d.ts +1 -0
  55. package/dist/components/search-box/products/elements/__tests__/SearchBoxProductImage.spec.d.ts +1 -0
  56. package/dist/components/search-box/products/elements/__tests__/SearchBoxProductPrice.vue.spec.d.ts +1 -0
  57. package/dist/components/search-box/products/elements/__tests__/SearchBoxProductTitle.vue.spec.d.ts +1 -0
  58. package/dist/components/search-box/related-source/SearchBoxRelatedSourceWrapper.vue.d.ts +46 -0
  59. package/dist/components/search-box/suggestions/SearchBoxSuggestion.vue.d.ts +13 -0
  60. package/dist/components/search-box/suggestions/SearchBoxSuggestions.vue.d.ts +31 -0
  61. package/dist/components/search-box/suggestions/SearchBoxSuggestionsWrapper.vue.d.ts +18 -0
  62. package/dist/components/search-box/suggestions/__tests__/Suggestions.spec.d.ts +1 -0
  63. package/dist/components/search-box/voice-search/VoiceSearchDialog.vue.d.ts +43 -0
  64. package/dist/components/search-box/voice-search/VoiceSearchProgressCircle.vue.d.ts +12 -0
  65. package/dist/components/search-container/SearchContainer.vue.d.ts +288 -0
  66. package/dist/components/search-results/SearchResults.vue.d.ts +120 -0
  67. package/dist/components/search-results/SearchResultsBreadcrumbs.vue.d.ts +6 -0
  68. package/dist/components/search-results/SearchResultsDidYouMean.vue.d.ts +6 -0
  69. package/dist/components/search-results/SearchResultsTitle.vue.d.ts +8 -0
  70. package/dist/components/search-results/__tests__/SearchResultsBreadcrumbs.spec.d.ts +1 -0
  71. package/dist/components/search-results/additional-panels/AdditionalPanel.vue.d.ts +8 -0
  72. package/dist/components/search-results/additional-panels/AdditionalPanels.vue.d.ts +9 -0
  73. package/dist/components/search-results/additional-panels/__tests__/AdditionalPanels.vue.spec.d.ts +1 -0
  74. package/dist/components/search-results/filters/CurrentFilterDisplay.vue.d.ts +14 -0
  75. package/dist/components/search-results/filters/CurrentFilters.vue.d.ts +7 -0
  76. package/dist/components/search-results/filters/FiltersTopDropdown.vue.d.ts +10 -0
  77. package/dist/components/search-results/filters/MobileFilterSidebar.vue.d.ts +10 -0
  78. package/dist/components/search-results/filters/SearchResultsFilters.vue.d.ts +30 -0
  79. package/dist/components/search-results/filters/__tests__/CurrentFilterDisplay.vue.spec.d.ts +1 -0
  80. package/dist/components/search-results/filters/__tests__/CurrentFilters.vue.spec.d.ts +1 -0
  81. package/dist/components/search-results/filters/facets/FacetDisplay.vue.d.ts +70 -0
  82. package/dist/components/search-results/filters/facets/FacetList.vue.d.ts +17 -0
  83. package/dist/components/search-results/filters/facets/Facets.vue.d.ts +12 -0
  84. package/dist/components/search-results/filters/facets/FacetsButton.vue.d.ts +10 -0
  85. package/dist/components/search-results/filters/facets/HierarchyFacet.vue.d.ts +13 -0
  86. package/dist/components/search-results/filters/facets/HierarchyFacetLevel.vue.d.ts +14 -0
  87. package/dist/components/search-results/filters/facets/StatsFacet.vue.d.ts +21 -0
  88. package/dist/components/search-results/filters/facets/TermFacet.vue.d.ts +13 -0
  89. package/dist/components/search-results/filters/facets/__tests__/FacetDisplay.vue.spec.d.ts +1 -0
  90. package/dist/components/search-results/filters/facets/__tests__/FacetList.vue.spec.d.ts +1 -0
  91. package/dist/components/search-results/filters/facets/__tests__/HierarchyFacet.vue.spec.d.ts +1 -0
  92. package/dist/components/search-results/filters/facets/__tests__/StatsFacet.vue.spec.d.ts +1 -0
  93. package/dist/components/search-results/filters/facets/__tests__/TermFacet.vue.spec.d.ts +1 -0
  94. package/dist/components/search-results/products/RefinersLoadingNotice.vue.d.ts +6 -0
  95. package/dist/components/search-results/products/SearchResultsLayoutSelection.vue.d.ts +2 -0
  96. package/dist/components/search-results/products/SearchResultsMobileFilterClose.vue.d.ts +5 -0
  97. package/dist/components/search-results/products/SearchResultsMobileToggle.vue.d.ts +7 -0
  98. package/dist/components/search-results/products/SearchResultsProducts.vue.d.ts +34 -0
  99. package/dist/components/search-results/products/SearchResultsSummary.vue.d.ts +6 -0
  100. package/dist/components/search-results/products/SearchResultsToolbar.vue.d.ts +7 -0
  101. package/dist/components/search-results/products/pagination/SearchResultsPageSelect.vue.d.ts +8 -0
  102. package/dist/components/search-results/products/pagination/SearchResultsPageSize.vue.d.ts +10 -0
  103. package/dist/components/search-results/products/pagination/__tests__/SearchResultsPageSelect.spec.d.ts +1 -0
  104. package/dist/components/search-results/products/pagination/__tests__/SearchResultsPageSize.spec.d.ts +1 -0
  105. package/dist/components/search-results/products/product-card/SearchResultsProductCard.vue.d.ts +14 -0
  106. package/dist/components/search-results/products/product-card/__tests__/SearchResultsBadgeWrapper.spec.d.ts +1 -0
  107. package/dist/components/search-results/products/product-card/__tests__/SearchResultsProductCard.spec.d.ts +1 -0
  108. package/dist/components/search-results/products/product-card/badges/CustomBadge.vue.d.ts +6 -0
  109. package/dist/components/search-results/products/product-card/badges/DiscountBadge.vue.d.ts +6 -0
  110. package/dist/components/search-results/products/product-card/badges/ImageBadge.vue.d.ts +6 -0
  111. package/dist/components/search-results/products/product-card/badges/SearchResultGeneratedBadge.vue.d.ts +7 -0
  112. package/dist/components/search-results/products/product-card/badges/SearchResultGeneratedBadges.vue.d.ts +6 -0
  113. package/dist/components/search-results/products/product-card/badges/SearchResultsBadgeWrapper.vue.d.ts +30 -0
  114. package/dist/components/search-results/products/product-card/badges/TextBadge.vue.d.ts +6 -0
  115. package/dist/components/search-results/products/product-card/elements/SearchResultsProductAddToCart.vue.d.ts +15 -0
  116. package/dist/components/search-results/products/product-card/elements/SearchResultsProductCardElement.vue.d.ts +112 -0
  117. package/dist/components/search-results/products/product-card/elements/SearchResultsProductCustom.vue.d.ts +8 -0
  118. package/dist/components/search-results/products/product-card/elements/SearchResultsProductDescription.vue.d.ts +8 -0
  119. package/dist/components/search-results/products/product-card/elements/SearchResultsProductImage.vue.d.ts +8 -0
  120. package/dist/components/search-results/products/product-card/elements/SearchResultsProductPrice.vue.d.ts +10 -0
  121. package/dist/components/search-results/products/product-card/elements/SearchResultsProductRating.vue.d.ts +8 -0
  122. package/dist/components/search-results/products/product-card/elements/SearchResultsProductRegularPrice.vue.d.ts +10 -0
  123. package/dist/components/search-results/products/product-card/elements/SearchResultsProductSingleStarRating.vue.d.ts +8 -0
  124. package/dist/components/search-results/products/product-card/elements/SearchResultsProductTitle.vue.d.ts +9 -0
  125. package/dist/components/search-results/products/product-card/elements/__tests__/SearchResultsProductAddToCart.spec.d.ts +1 -0
  126. package/dist/components/search-results/products/product-card/elements/__tests__/SearchResultsProductCustom.spec.d.ts +1 -0
  127. package/dist/components/search-results/products/product-card/elements/__tests__/SearchResultsProductCustomHtmlElement.spec.d.ts +1 -0
  128. package/dist/components/search-results/products/product-card/elements/__tests__/SearchResultsProductDescription.spec.d.ts +1 -0
  129. package/dist/components/search-results/products/product-card/elements/__tests__/SearchResultsProductImage.spec.d.ts +1 -0
  130. package/dist/components/search-results/products/product-card/elements/__tests__/SearchResultsProductPrice.spec.d.ts +1 -0
  131. package/dist/components/search-results/products/product-card/elements/__tests__/SearchResultsProductRating.spec.d.ts +1 -0
  132. package/dist/components/search-results/products/product-card/elements/__tests__/SearchResultsProductTitle.spec.d.ts +1 -0
  133. package/dist/components/search-results/products/product-card/elements/custom/SearchResultsProductCustomHtmlElement.vue.d.ts +12 -0
  134. package/dist/components/search-results/products/similar-queries/SearchResultsSimilarQueries.vue.d.ts +9 -0
  135. package/dist/components/search-results/products/similar-results/SearchResultsSimilarResults.vue.d.ts +9 -0
  136. package/dist/components/search-results/products/sort/SearchResultsSort.vue.d.ts +10 -0
  137. package/dist/components/search-results/products/sort/__tests__/SearchResultsSort.spec.d.ts +1 -0
  138. package/dist/components/search-results/redirection-suggestions/RedirectionSuggestions.vue.d.ts +6 -0
  139. package/dist/components/search-results/related-queries/RelatedQueries.vue.d.ts +6 -0
  140. package/dist/components/search-results/related-queries/RelatedQueriesApi.vue.d.ts +6 -0
  141. package/dist/components/search-results/related-queries/RelatedQueryPanel.vue.d.ts +14 -0
  142. package/dist/components/search-results/related-queries/RelatedQueryPanelApi.vue.d.ts +8 -0
  143. package/dist/{src/composables → composables}/useVoiceRecorder.d.ts +4 -4
  144. package/dist/constants/development/recommendations.example.const.d.ts +2 -0
  145. package/dist/constants/development/recommendationsDev.const.d.ts +2 -0
  146. package/dist/constants/development/searchBoxDev.const.d.ts +63 -0
  147. package/dist/constants/development/searchBoxDev.example.const.d.ts +56 -0
  148. package/dist/constants/development/searchContainerDev.example.d.ts +2 -0
  149. package/dist/constants/development/searchProductListDev.const.d.ts +26 -0
  150. package/dist/constants/development/searchProductListDev.example.d.ts +28 -0
  151. package/dist/constants/development/searchResultsDev.const.d.ts +154 -0
  152. package/dist/constants/development/searchResultsDev.example.const.d.ts +149 -0
  153. package/dist/constants/mockData..const.d.ts +4 -0
  154. package/dist/{src/constants → constants}/searchResults.const.d.ts +3 -2
  155. package/dist/index.d.ts +32 -0
  156. package/dist/lupaSearch.js +21044 -15914
  157. package/dist/lupaSearch.mjs +21050 -15920
  158. package/dist/main.d.ts +0 -0
  159. package/dist/{src/stores → stores}/dynamicData.d.ts +15 -15
  160. package/dist/{src/stores → stores}/history.d.ts +9 -9
  161. package/dist/stores/options.d.ts +95 -0
  162. package/dist/{src/stores → stores}/params.d.ts +63 -45
  163. package/dist/{src/stores → stores}/redirections.d.ts +6 -6
  164. package/dist/stores/screen.d.ts +22 -0
  165. package/dist/{src/stores → stores}/searchBox.d.ts +52 -52
  166. package/dist/stores/searchResult.d.ts +180 -0
  167. package/dist/{src/stores → stores}/tracking.d.ts +5 -5
  168. package/dist/{src/types → types}/General.d.ts +2 -2
  169. package/dist/{src/types → types}/product-list/ProductListOptions.d.ts +3 -3
  170. package/dist/{src/types → types}/recommendations/RecommendationsOptions.d.ts +2 -2
  171. package/dist/{src/types → types}/search-box/Common.d.ts +3 -3
  172. package/dist/{src/types → types}/search-box/SearchBoxOptions.d.ts +7 -7
  173. package/dist/{src/types → types}/search-box/SearchBoxPanel.d.ts +2 -2
  174. package/dist/{src/types → types}/search-container/SearchContainerOptions.d.ts +2 -2
  175. package/dist/{src/types → types}/search-results/BadgeOptions.d.ts +1 -1
  176. package/dist/{src/types → types}/search-results/PaginationOptions.d.ts +1 -1
  177. package/dist/{src/types → types}/search-results/QueryParams.d.ts +1 -1
  178. package/dist/{src/types → types}/search-results/SearchResultsAdditionalPanelOptions.d.ts +1 -1
  179. package/dist/{src/types → types}/search-results/SearchResultsOptions.d.ts +9 -8
  180. package/dist/{src/types → types}/search-results/SearchResultsProductCardOptions.d.ts +5 -5
  181. package/dist/{src/types → types}/search-results/SearchResultsSort.d.ts +1 -1
  182. package/dist/utils/__tests__/debounce.utils.spec.d.ts +1 -0
  183. package/dist/utils/__tests__/event.utils.spec.d.ts +1 -0
  184. package/dist/utils/__tests__/extraction.utils.spec.d.ts +1 -0
  185. package/dist/utils/__tests__/filter.toggle.utils.spec.d.ts +1 -0
  186. package/dist/utils/__tests__/filter.utils.spec.d.ts +1 -0
  187. package/dist/utils/__tests__/grid.utils.spec.d.ts +1 -0
  188. package/dist/utils/__tests__/history.utils.spec.d.ts +1 -0
  189. package/dist/utils/__tests__/link.utils.spec.d.ts +1 -0
  190. package/dist/utils/__tests__/params.utils.spec.d.ts +1 -0
  191. package/dist/utils/__tests__/picker.utils.spec.d.ts +1 -0
  192. package/dist/utils/__tests__/price.utils.spec.d.ts +1 -0
  193. package/dist/utils/__tests__/query.utils.spec.d.ts +1 -0
  194. package/dist/utils/__tests__/redirectionSuggest.utils.spec.d.ts +1 -0
  195. package/dist/utils/__tests__/render.utils.spec.d.ts +1 -0
  196. package/dist/utils/__tests__/string.utils.spec.d.ts +1 -0
  197. package/dist/utils/__tests__/suggestion.utils.spec.d.ts +1 -0
  198. package/dist/utils/__tests__/tracking.utils.spec.d.ts +1 -0
  199. package/dist/{src/utils → utils}/debounce.utils.d.ts +1 -1
  200. package/dist/{src/utils → utils}/filter.toggle.utils.d.ts +3 -3
  201. package/dist/{src/utils → utils}/filter.utils.d.ts +4 -2
  202. package/dist/{src/utils → utils}/link.utils.d.ts +2 -1
  203. package/dist/utils/merger.utils.d.ts +1 -0
  204. package/dist/{src/utils → utils}/params.utils.d.ts +2 -2
  205. package/dist/{src/utils → utils}/picker.utils.d.ts +1 -1
  206. package/dist/utils/price.utils.d.ts +14 -0
  207. package/dist/utils/query.utils.d.ts +6 -0
  208. package/dist/{src/utils → utils}/relatedSource.utils.d.ts +1 -1
  209. package/dist/{src/utils → utils}/routing.utils.d.ts +2 -2
  210. package/dist/utils/shadowDom.utils.d.ts +11 -0
  211. package/dist/{src/utils → utils}/ssr.utils.d.ts +1 -1
  212. package/dist/{src/utils → utils}/string.utils.d.ts +1 -1
  213. package/dist/utils/suggestion.utils.d.ts +3 -0
  214. package/dist/{src/utils → utils}/tracking.utils.d.ts +3 -3
  215. package/eslint.config.js +36 -0
  216. package/package.json +38 -38
  217. package/.eslintrc.cjs +0 -15
  218. package/dist/lupaChatStyle.css +0 -1
  219. package/dist/lupaContainerStyle.css +0 -1
  220. package/dist/src/components/chat/ChatContainer.vue.d.ts +0 -14
  221. package/dist/src/components/chat/ChatContentEntry.vue.d.ts +0 -34
  222. package/dist/src/components/chat/ChatContentEntryPhrase.vue.d.ts +0 -24
  223. package/dist/src/components/chat/ChatContentList.vue.d.ts +0 -34
  224. package/dist/src/components/chat/ChatContentListEntry.vue.d.ts +0 -34
  225. package/dist/src/components/chat/ChatInput.vue.d.ts +0 -27
  226. package/dist/src/components/chat/ChatPhraseProductsCardList.vue.d.ts +0 -23
  227. package/dist/src/components/chat/ChatPhraseProductsList.vue.d.ts +0 -23
  228. package/dist/src/components/chat/ChatSpinner.vue.d.ts +0 -21
  229. package/dist/src/components/chat/ChatTextEntry.vue.d.ts +0 -31
  230. package/dist/src/components/common/ProductImage.vue.d.ts +0 -39
  231. package/dist/src/components/common/Spinner.vue.d.ts +0 -2
  232. package/dist/src/components/product-list/CategoryDescription.vue.d.ts +0 -14
  233. package/dist/src/components/product-list/CategoryFilter.vue.d.ts +0 -14
  234. package/dist/src/components/product-list/CategoryFilterItem.vue.d.ts +0 -22
  235. package/dist/src/components/product-list/CategoryTopFilters.vue.d.ts +0 -14
  236. package/dist/src/components/product-list/ProductList.vue.d.ts +0 -14
  237. package/dist/src/components/recommendations/Recommendations.vue.d.ts +0 -14
  238. package/dist/src/components/search-box/SearchBox.vue.d.ts +0 -22
  239. package/dist/src/components/search-box/SearchBoxInput.vue.d.ts +0 -43
  240. package/dist/src/components/search-box/SearchBoxMainPanel.vue.d.ts +0 -52
  241. package/dist/src/components/search-box/SearchBoxMoreResults.vue.d.ts +0 -24
  242. package/dist/src/components/search-box/SearchBoxNoResults.vue.d.ts +0 -14
  243. package/dist/src/components/search-box/history/SearchBoxHistoryItem.vue.d.ts +0 -24
  244. package/dist/src/components/search-box/history/SearchBoxHistoryPanel.vue.d.ts +0 -16
  245. package/dist/src/components/search-box/products/SearchBoxProduct.vue.d.ts +0 -50
  246. package/dist/src/components/search-box/products/SearchBoxProducts.vue.d.ts +0 -42
  247. package/dist/src/components/search-box/products/SearchBoxProductsGoToResultsButton.vue.d.ts +0 -25
  248. package/dist/src/components/search-box/products/SearchBoxProductsWrapper.vue.d.ts +0 -61
  249. package/dist/src/components/search-box/products/elements/SearchBoxProductAddToCart.vue.d.ts +0 -49
  250. package/dist/src/components/search-box/products/elements/SearchBoxProductCustom.vue.d.ts +0 -23
  251. package/dist/src/components/search-box/products/elements/SearchBoxProductCustomHtml.vue.d.ts +0 -23
  252. package/dist/src/components/search-box/products/elements/SearchBoxProductDescription.vue.d.ts +0 -23
  253. package/dist/src/components/search-box/products/elements/SearchBoxProductElement.vue.d.ts +0 -48
  254. package/dist/src/components/search-box/products/elements/SearchBoxProductImage.vue.d.ts +0 -23
  255. package/dist/src/components/search-box/products/elements/SearchBoxProductPrice.vue.d.ts +0 -32
  256. package/dist/src/components/search-box/products/elements/SearchBoxProductRegularPrice.vue.d.ts +0 -32
  257. package/dist/src/components/search-box/products/elements/SearchBoxProductTitle.vue.d.ts +0 -23
  258. package/dist/src/components/search-box/related-source/SearchBoxRelatedSourceWrapper.vue.d.ts +0 -50
  259. package/dist/src/components/search-box/suggestions/SearchBoxSuggestion.vue.d.ts +0 -33
  260. package/dist/src/components/search-box/suggestions/SearchBoxSuggestions.vue.d.ts +0 -41
  261. package/dist/src/components/search-box/suggestions/SearchBoxSuggestionsWrapper.vue.d.ts +0 -51
  262. package/dist/src/components/search-box/voice-search/VoiceSearchDialog.vue.d.ts +0 -26
  263. package/dist/src/components/search-box/voice-search/VoiceSearchProgressCircle.vue.d.ts +0 -29
  264. package/dist/src/components/search-container/SearchContainer.vue.d.ts +0 -14
  265. package/dist/src/components/search-results/SearchResults.vue.d.ts +0 -47
  266. package/dist/src/components/search-results/SearchResultsBreadcrumbs.vue.d.ts +0 -14
  267. package/dist/src/components/search-results/SearchResultsDidYouMean.vue.d.ts +0 -14
  268. package/dist/src/components/search-results/SearchResultsTitle.vue.d.ts +0 -30
  269. package/dist/src/components/search-results/additional-panels/AdditionalPanel.vue.d.ts +0 -23
  270. package/dist/src/components/search-results/additional-panels/AdditionalPanels.vue.d.ts +0 -31
  271. package/dist/src/components/search-results/filters/CurrentFilterDisplay.vue.d.ts +0 -16
  272. package/dist/src/components/search-results/filters/CurrentFilters.vue.d.ts +0 -22
  273. package/dist/src/components/search-results/filters/FiltersTopDropdown.vue.d.ts +0 -16
  274. package/dist/src/components/search-results/filters/MobileFilterSidebar.vue.d.ts +0 -16
  275. package/dist/src/components/search-results/filters/SearchResultsFilters.vue.d.ts +0 -24
  276. package/dist/src/components/search-results/filters/facets/FacetDisplay.vue.d.ts +0 -42
  277. package/dist/src/components/search-results/filters/facets/FacetList.vue.d.ts +0 -50
  278. package/dist/src/components/search-results/filters/facets/Facets.vue.d.ts +0 -32
  279. package/dist/src/components/search-results/filters/facets/FacetsButton.vue.d.ts +0 -16
  280. package/dist/src/components/search-results/filters/facets/HierarchyFacet.vue.d.ts +0 -33
  281. package/dist/src/components/search-results/filters/facets/HierarchyFacetLevel.vue.d.ts +0 -41
  282. package/dist/src/components/search-results/filters/facets/StatsFacet.vue.d.ts +0 -33
  283. package/dist/src/components/search-results/filters/facets/TermFacet.vue.d.ts +0 -33
  284. package/dist/src/components/search-results/products/RefinersLoadingNotice.vue.d.ts +0 -14
  285. package/dist/src/components/search-results/products/SearchResultsLayoutSelection.vue.d.ts +0 -2
  286. package/dist/src/components/search-results/products/SearchResultsMobileFilterClose.vue.d.ts +0 -13
  287. package/dist/src/components/search-results/products/SearchResultsMobileToggle.vue.d.ts +0 -22
  288. package/dist/src/components/search-results/products/SearchResultsProducts.vue.d.ts +0 -24
  289. package/dist/src/components/search-results/products/SearchResultsSummary.vue.d.ts +0 -21
  290. package/dist/src/components/search-results/products/SearchResultsToolbar.vue.d.ts +0 -22
  291. package/dist/src/components/search-results/products/pagination/SearchResultsPageSelect.vue.d.ts +0 -30
  292. package/dist/src/components/search-results/products/pagination/SearchResultsPageSize.vue.d.ts +0 -23
  293. package/dist/src/components/search-results/products/product-card/SearchResultsProductCard.vue.d.ts +0 -64
  294. package/dist/src/components/search-results/products/product-card/badges/CustomBadge.vue.d.ts +0 -14
  295. package/dist/src/components/search-results/products/product-card/badges/DiscountBadge.vue.d.ts +0 -14
  296. package/dist/src/components/search-results/products/product-card/badges/ImageBadge.vue.d.ts +0 -14
  297. package/dist/src/components/search-results/products/product-card/badges/SearchResultGeneratedBadge.vue.d.ts +0 -22
  298. package/dist/src/components/search-results/products/product-card/badges/SearchResultGeneratedBadges.vue.d.ts +0 -14
  299. package/dist/src/components/search-results/products/product-card/badges/SearchResultsBadgeWrapper.vue.d.ts +0 -22
  300. package/dist/src/components/search-results/products/product-card/badges/TextBadge.vue.d.ts +0 -14
  301. package/dist/src/components/search-results/products/product-card/elements/SearchResultsProductAddToCart.vue.d.ts +0 -49
  302. package/dist/src/components/search-results/products/product-card/elements/SearchResultsProductCardElement.vue.d.ts +0 -50
  303. package/dist/src/components/search-results/products/product-card/elements/SearchResultsProductCustom.vue.d.ts +0 -23
  304. package/dist/src/components/search-results/products/product-card/elements/SearchResultsProductDescription.vue.d.ts +0 -23
  305. package/dist/src/components/search-results/products/product-card/elements/SearchResultsProductImage.vue.d.ts +0 -23
  306. package/dist/src/components/search-results/products/product-card/elements/SearchResultsProductPrice.vue.d.ts +0 -32
  307. package/dist/src/components/search-results/products/product-card/elements/SearchResultsProductRating.vue.d.ts +0 -23
  308. package/dist/src/components/search-results/products/product-card/elements/SearchResultsProductRegularPrice.vue.d.ts +0 -32
  309. package/dist/src/components/search-results/products/product-card/elements/SearchResultsProductSingleStarRating.vue.d.ts +0 -23
  310. package/dist/src/components/search-results/products/product-card/elements/SearchResultsProductTitle.vue.d.ts +0 -31
  311. package/dist/src/components/search-results/products/product-card/elements/custom/SearchResultsProductCustomHtmlElement.vue.d.ts +0 -25
  312. package/dist/src/components/search-results/products/similar-queries/SearchResultsSimilarQueries.vue.d.ts +0 -31
  313. package/dist/src/components/search-results/products/similar-results/SearchResultsSimilarResults.vue.d.ts +0 -31
  314. package/dist/src/components/search-results/products/sort/SearchResultsSort.vue.d.ts +0 -23
  315. package/dist/src/components/search-results/redirection-suggestions/RedirectionSuggestions.vue.d.ts +0 -14
  316. package/dist/src/components/search-results/related-queries/RelatedQueries.vue.d.ts +0 -14
  317. package/dist/src/components/search-results/related-queries/RelatedQueriesApi.vue.d.ts +0 -14
  318. package/dist/src/components/search-results/related-queries/RelatedQueryPanel.vue.d.ts +0 -41
  319. package/dist/src/components/search-results/related-queries/RelatedQueryPanelApi.vue.d.ts +0 -23
  320. package/dist/src/index.d.ts +0 -34
  321. package/dist/src/stores/options.d.ts +0 -1
  322. package/dist/src/stores/screen.d.ts +0 -1
  323. package/dist/src/stores/searchResult.d.ts +0 -180
  324. package/dist/src/utils/price.utils.d.ts +0 -2
  325. package/dist/src/utils/query.utils.d.ts +0 -5
  326. package/dist/src/utils/suggestion.utils.d.ts +0 -3
  327. package/dist/style.css +0 -1
  328. /package/dist/{src/chat → chat}/ChatService.d.ts +0 -0
  329. /package/dist/{src/constants → constants}/global.const.d.ts +0 -0
  330. /package/dist/{src/constants → constants}/queryParams.const.d.ts +0 -0
  331. /package/dist/{src/constants → constants}/searchBox.const.d.ts +0 -0
  332. /package/dist/{src/manager → manager}/PluginConfigurationManagerService.d.ts +0 -0
  333. /package/dist/{src/types → types}/AnalyticsOptions.d.ts +0 -0
  334. /package/dist/{src/types → types}/DataExtraction.d.ts +0 -0
  335. /package/dist/{src/types → types}/DocumentElement.d.ts +0 -0
  336. /package/dist/{src/types → types}/chat/ChatLog.d.ts +0 -0
  337. /package/dist/{src/types → types}/chat/ChatOptions.d.ts +0 -0
  338. /package/dist/{src/types → types}/chat/SearchChatRequest.d.ts +0 -0
  339. /package/dist/{src/types → types}/chat/SearchChatResponse.d.ts +0 -0
  340. /package/dist/{src/types → types}/configurations/PluginConfiguration.d.ts +0 -0
  341. /package/dist/{src/types → types}/redirections/RedirectionOptions.d.ts +0 -0
  342. /package/dist/{src/types → types}/search-box/SearchBoxBadgeOptions.d.ts +0 -0
  343. /package/dist/{src/types → types}/search-box/SearchBoxHistory.d.ts +0 -0
  344. /package/dist/{src/types → types}/search-results/FacetAction.d.ts +0 -0
  345. /package/dist/{src/types → types}/search-results/FilterTranslationOptions.d.ts +0 -0
  346. /package/dist/{src/types → types}/search-results/Filters.d.ts +0 -0
  347. /package/dist/{src/types → types}/search-results/RedirectionSuggestionOptionts.d.ts +0 -0
  348. /package/dist/{src/types → types}/search-results/RelatedQueryOptions.d.ts +0 -0
  349. /package/dist/{src/types → types}/search-results/ResultsLayout.d.ts +0 -0
  350. /package/dist/{src/types → types}/search-results/RoutingBehavior.d.ts +0 -0
  351. /package/dist/{src/types → types}/search-results/SearchResultsPagination.d.ts +0 -0
  352. /package/dist/{src/utils → utils}/api.utils.d.ts +0 -0
  353. /package/dist/{src/utils → utils}/document.utils.d.ts +0 -0
  354. /package/dist/{src/utils → utils}/event.utils.d.ts +0 -0
  355. /package/dist/{src/utils → utils}/extraction.utils.d.ts +0 -0
  356. /package/dist/{src/utils → utils}/grid.utils.d.ts +0 -0
  357. /package/dist/{src/utils → utils}/history.utils.d.ts +0 -0
  358. /package/dist/{src/utils → utils}/image.utils.d.ts +0 -0
  359. /package/dist/{src/utils → utils}/redirectionSuggest.utils.d.ts +0 -0
  360. /package/dist/{src/utils → utils}/render.utils.d.ts +0 -0
  361. /package/dist/{src/utils → utils}/scroll.utils.d.ts +0 -0
  362. /package/dist/{src/utils → utils}/stream.utils.d.ts +0 -0
  363. /package/dist/{src/utils → utils}/translation.utils.d.ts +0 -0
  364. /package/dist/{src/utils → utils}/url.utils.d.ts +0 -0
  365. /package/{vite.config.ts → vite.config.mts} +0 -0
@@ -0,0 +1,125 @@
1
+ import { ProductListOptions } from '../../types/product-list/ProductListOptions';
2
+ type __VLS_Props = {
3
+ options: ProductListOptions;
4
+ };
5
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {
6
+ fetch: () => void;
7
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
8
+ searchResults: {
9
+ $: import('vue').ComponentInternalInstance;
10
+ $data: {};
11
+ $props: {
12
+ readonly options: import('../..').SearchResultsOptions;
13
+ readonly initialFilters?: import('@getlupa/client-sdk/Types').FilterGroup;
14
+ readonly isProductList?: boolean;
15
+ readonly isContainer?: boolean;
16
+ readonly initialData?: import('@getlupa/client-sdk/Types').SearchQueryResult;
17
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
18
+ $attrs: {
19
+ [x: string]: unknown;
20
+ };
21
+ $refs: {
22
+ [x: string]: unknown;
23
+ } & {
24
+ searchResultsFilters: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
25
+ options: import('../..').SearchResultsFilterOptions;
26
+ expandable?: boolean;
27
+ }> & Readonly<{
28
+ onFilter?: (...args: any[]) => any;
29
+ }>, {
30
+ fetch: () => void;
31
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
32
+ filter: (...args: any[]) => void;
33
+ }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
34
+ categoryFilters: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
35
+ options: import('../../types/product-list/ProductListOptions').CategoryFilterOptions;
36
+ }> & Readonly<{}>, {
37
+ fetch: () => Promise<void>;
38
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
39
+ P: {};
40
+ B: {};
41
+ D: {};
42
+ C: {};
43
+ M: {};
44
+ Defaults: {};
45
+ }, Readonly<{
46
+ options: import('../../types/product-list/ProductListOptions').CategoryFilterOptions;
47
+ }> & Readonly<{}>, {
48
+ fetch: () => Promise<void>;
49
+ }, {}, {}, {}, {}>;
50
+ }, any, import('vue').ComponentProvideOptions, {
51
+ P: {};
52
+ B: {};
53
+ D: {};
54
+ C: {};
55
+ M: {};
56
+ Defaults: {};
57
+ }, Readonly<{
58
+ options: import('../..').SearchResultsFilterOptions;
59
+ expandable?: boolean;
60
+ }> & Readonly<{
61
+ onFilter?: (...args: any[]) => any;
62
+ }>, {
63
+ fetch: () => void;
64
+ }, {}, {}, {}, {}>;
65
+ };
66
+ $slots: Readonly<{
67
+ [name: string]: import('vue').Slot<any>;
68
+ }>;
69
+ $root: import('vue').ComponentPublicInstance | null;
70
+ $parent: import('vue').ComponentPublicInstance | null;
71
+ $host: Element | null;
72
+ $emit: (event: string, ...args: any[]) => void;
73
+ $el: HTMLDivElement;
74
+ $options: import('vue').ComponentOptionsBase<Readonly<{
75
+ options: import('../..').SearchResultsOptions;
76
+ initialFilters?: import('@getlupa/client-sdk/Types').FilterGroup;
77
+ isProductList?: boolean;
78
+ isContainer?: boolean;
79
+ initialData?: import('@getlupa/client-sdk/Types').SearchQueryResult;
80
+ }> & Readonly<{}>, {
81
+ handleMounted: () => void;
82
+ handleUrlChange: (params?: URLSearchParams) => void;
83
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
84
+ beforeCreate?: (() => void) | (() => void)[];
85
+ created?: (() => void) | (() => void)[];
86
+ beforeMount?: (() => void) | (() => void)[];
87
+ mounted?: (() => void) | (() => void)[];
88
+ beforeUpdate?: (() => void) | (() => void)[];
89
+ updated?: (() => void) | (() => void)[];
90
+ activated?: (() => void) | (() => void)[];
91
+ deactivated?: (() => void) | (() => void)[];
92
+ beforeDestroy?: (() => void) | (() => void)[];
93
+ beforeUnmount?: (() => void) | (() => void)[];
94
+ destroyed?: (() => void) | (() => void)[];
95
+ unmounted?: (() => void) | (() => void)[];
96
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
97
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
98
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
99
+ };
100
+ $forceUpdate: () => void;
101
+ $nextTick: typeof import('vue').nextTick;
102
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
103
+ } & Readonly<{}> & Omit<Readonly<{
104
+ options: import('../..').SearchResultsOptions;
105
+ initialFilters?: import('@getlupa/client-sdk/Types').FilterGroup;
106
+ isProductList?: boolean;
107
+ isContainer?: boolean;
108
+ initialData?: import('@getlupa/client-sdk/Types').SearchQueryResult;
109
+ }> & Readonly<{}>, "handleMounted" | "handleUrlChange"> & import('vue').ShallowUnwrapRef<{
110
+ handleMounted: () => void;
111
+ handleUrlChange: (params?: URLSearchParams) => void;
112
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
113
+ $slots: {
114
+ default?(_: {}): any;
115
+ default?(_: {}): any;
116
+ productCard?(_: {
117
+ key: string;
118
+ product: import('@getlupa/client-sdk/Types').Document;
119
+ options: import('../../types/search-results/SearchResultsProductCardOptions').SearchResultsProductCardOptions;
120
+ style: string;
121
+ }): any;
122
+ };
123
+ };
124
+ }, HTMLDivElement>;
125
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import { ProductRecommendationOptions } from '../../types/recommendations/RecommendationsOptions';
2
+ type __VLS_Props = {
3
+ options: ProductRecommendationOptions;
4
+ };
5
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {
6
+ fetch: () => void;
7
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
8
+ rootElement: HTMLDivElement;
9
+ }, HTMLDivElement>;
10
+ export default _default;
@@ -0,0 +1,230 @@
1
+ import { SearchBoxInputOptions, SearchBoxOptionLabels, SearchBoxOptions } from '../../types/search-box/SearchBoxOptions';
2
+ import { InputSuggestion } from '../../types/search-box/Common';
3
+ import { DocumentSearchBoxPanel } from '../../types/search-box/SearchBoxPanel';
4
+ import { Document } from '@getlupa/client-sdk/Types';
5
+ type __VLS_Props = {
6
+ options: SearchBoxOptions;
7
+ isSearchContainer?: boolean;
8
+ };
9
+ declare function __VLS_template(): {
10
+ attrs: Partial<{}>;
11
+ slots: {
12
+ productCard?(_: {
13
+ key: string;
14
+ item: Document;
15
+ labels?: SearchBoxOptionLabels;
16
+ highlighted: boolean;
17
+ panelOptions: DocumentSearchBoxPanel;
18
+ itemClicked: (props: {
19
+ item: Document;
20
+ eventType?: "itemClick" | "addToCart";
21
+ event?: Event;
22
+ }) => void;
23
+ }): any;
24
+ };
25
+ refs: {
26
+ searchBoxInput: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
27
+ options: SearchBoxInputOptions;
28
+ canClose?: boolean;
29
+ emitInputOnFocus?: boolean;
30
+ suggestedValue: InputSuggestion;
31
+ }> & Readonly<{
32
+ onSearch?: (...args: any[]) => any;
33
+ onClose?: (...args: any[]) => any;
34
+ onInput?: (...args: any[]) => any;
35
+ onFocus?: (...args: any[]) => any;
36
+ }>, {
37
+ focus: () => void;
38
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
39
+ search: (...args: any[]) => void;
40
+ close: (...args: any[]) => void;
41
+ input: (...args: any[]) => void;
42
+ focus: (...args: any[]) => void;
43
+ }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
44
+ mainInput: HTMLInputElement;
45
+ voiceDialogOverlay: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
46
+ isOpen: boolean;
47
+ options: import('../../types/search-box/SearchBoxOptions').VoiceSearchOptions;
48
+ }> & Readonly<{
49
+ onClose?: (...args: any[]) => any;
50
+ "onTranscript-update"?: (...args: any[]) => any;
51
+ "onStop-recognize"?: (...args: any[]) => any;
52
+ }>, {
53
+ handleRecordingButtonClick: () => void;
54
+ reset: () => void;
55
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
56
+ close: (...args: any[]) => void;
57
+ "transcript-update": (...args: any[]) => void;
58
+ "stop-recognize": (...args: any[]) => void;
59
+ }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
60
+ voiceSearchProgressBar: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
61
+ isRecording: boolean;
62
+ timesliceLimit: number;
63
+ timeSliceLength: number;
64
+ }> & Readonly<{}>, {
65
+ startProgressBar: () => void;
66
+ stopProgressBar: () => void;
67
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
68
+ progressBar: HTMLDivElement;
69
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
70
+ P: {};
71
+ B: {};
72
+ D: {};
73
+ C: {};
74
+ M: {};
75
+ Defaults: {};
76
+ }, Readonly<{
77
+ isRecording: boolean;
78
+ timesliceLimit: number;
79
+ timeSliceLength: number;
80
+ }> & Readonly<{}>, {
81
+ startProgressBar: () => void;
82
+ stopProgressBar: () => void;
83
+ }, {}, {}, {}, {}>;
84
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
85
+ P: {};
86
+ B: {};
87
+ D: {};
88
+ C: {};
89
+ M: {};
90
+ Defaults: {};
91
+ }, Readonly<{
92
+ isOpen: boolean;
93
+ options: import('../../types/search-box/SearchBoxOptions').VoiceSearchOptions;
94
+ }> & Readonly<{
95
+ onClose?: (...args: any[]) => any;
96
+ "onTranscript-update"?: (...args: any[]) => any;
97
+ "onStop-recognize"?: (...args: any[]) => any;
98
+ }>, {
99
+ handleRecordingButtonClick: () => void;
100
+ reset: () => void;
101
+ }, {}, {}, {}, {}>;
102
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
103
+ P: {};
104
+ B: {};
105
+ D: {};
106
+ C: {};
107
+ M: {};
108
+ Defaults: {};
109
+ }, Readonly<{
110
+ options: SearchBoxInputOptions;
111
+ canClose?: boolean;
112
+ emitInputOnFocus?: boolean;
113
+ suggestedValue: InputSuggestion;
114
+ }> & Readonly<{
115
+ onSearch?: (...args: any[]) => any;
116
+ onClose?: (...args: any[]) => any;
117
+ onInput?: (...args: any[]) => any;
118
+ onFocus?: (...args: any[]) => any;
119
+ }>, {
120
+ focus: () => void;
121
+ }, {}, {}, {}, {}>;
122
+ };
123
+ rootEl: HTMLDivElement;
124
+ };
125
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
126
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
127
+ searchBoxInput: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
128
+ options: SearchBoxInputOptions;
129
+ canClose?: boolean;
130
+ emitInputOnFocus?: boolean;
131
+ suggestedValue: InputSuggestion;
132
+ }> & Readonly<{
133
+ onSearch?: (...args: any[]) => any;
134
+ onClose?: (...args: any[]) => any;
135
+ onInput?: (...args: any[]) => any;
136
+ onFocus?: (...args: any[]) => any;
137
+ }>, {
138
+ focus: () => void;
139
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
140
+ search: (...args: any[]) => void;
141
+ close: (...args: any[]) => void;
142
+ input: (...args: any[]) => void;
143
+ focus: (...args: any[]) => void;
144
+ }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
145
+ mainInput: HTMLInputElement;
146
+ voiceDialogOverlay: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
147
+ isOpen: boolean;
148
+ options: import('../../types/search-box/SearchBoxOptions').VoiceSearchOptions;
149
+ }> & Readonly<{
150
+ onClose?: (...args: any[]) => any;
151
+ "onTranscript-update"?: (...args: any[]) => any;
152
+ "onStop-recognize"?: (...args: any[]) => any;
153
+ }>, {
154
+ handleRecordingButtonClick: () => void;
155
+ reset: () => void;
156
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
157
+ close: (...args: any[]) => void;
158
+ "transcript-update": (...args: any[]) => void;
159
+ "stop-recognize": (...args: any[]) => void;
160
+ }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
161
+ voiceSearchProgressBar: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
162
+ isRecording: boolean;
163
+ timesliceLimit: number;
164
+ timeSliceLength: number;
165
+ }> & Readonly<{}>, {
166
+ startProgressBar: () => void;
167
+ stopProgressBar: () => void;
168
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
169
+ progressBar: HTMLDivElement;
170
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
171
+ P: {};
172
+ B: {};
173
+ D: {};
174
+ C: {};
175
+ M: {};
176
+ Defaults: {};
177
+ }, Readonly<{
178
+ isRecording: boolean;
179
+ timesliceLimit: number;
180
+ timeSliceLength: number;
181
+ }> & Readonly<{}>, {
182
+ startProgressBar: () => void;
183
+ stopProgressBar: () => void;
184
+ }, {}, {}, {}, {}>;
185
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
186
+ P: {};
187
+ B: {};
188
+ D: {};
189
+ C: {};
190
+ M: {};
191
+ Defaults: {};
192
+ }, Readonly<{
193
+ isOpen: boolean;
194
+ options: import('../../types/search-box/SearchBoxOptions').VoiceSearchOptions;
195
+ }> & Readonly<{
196
+ onClose?: (...args: any[]) => any;
197
+ "onTranscript-update"?: (...args: any[]) => any;
198
+ "onStop-recognize"?: (...args: any[]) => any;
199
+ }>, {
200
+ handleRecordingButtonClick: () => void;
201
+ reset: () => void;
202
+ }, {}, {}, {}, {}>;
203
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
204
+ P: {};
205
+ B: {};
206
+ D: {};
207
+ C: {};
208
+ M: {};
209
+ Defaults: {};
210
+ }, Readonly<{
211
+ options: SearchBoxInputOptions;
212
+ canClose?: boolean;
213
+ emitInputOnFocus?: boolean;
214
+ suggestedValue: InputSuggestion;
215
+ }> & Readonly<{
216
+ onSearch?: (...args: any[]) => any;
217
+ onClose?: (...args: any[]) => any;
218
+ onInput?: (...args: any[]) => any;
219
+ onFocus?: (...args: any[]) => any;
220
+ }>, {
221
+ focus: () => void;
222
+ }, {}, {}, {}, {}>;
223
+ }, HTMLDivElement>;
224
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
225
+ export default _default;
226
+ type __VLS_WithTemplateSlots<T, S> = T & {
227
+ new (): {
228
+ $slots: S;
229
+ };
230
+ };
@@ -0,0 +1,81 @@
1
+ import { InputSuggestion } from '../../types/search-box/Common';
2
+ import { SearchBoxInputOptions } from '../../types/search-box/SearchBoxOptions';
3
+ type __VLS_Props = {
4
+ options: SearchBoxInputOptions;
5
+ canClose?: boolean;
6
+ emitInputOnFocus?: boolean;
7
+ suggestedValue: InputSuggestion;
8
+ };
9
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {
10
+ focus: () => void;
11
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ search: (...args: any[]) => void;
13
+ close: (...args: any[]) => void;
14
+ input: (...args: any[]) => void;
15
+ focus: (...args: any[]) => void;
16
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
17
+ onSearch?: (...args: any[]) => any;
18
+ onClose?: (...args: any[]) => any;
19
+ onInput?: (...args: any[]) => any;
20
+ onFocus?: (...args: any[]) => any;
21
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
22
+ mainInput: HTMLInputElement;
23
+ voiceDialogOverlay: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
24
+ isOpen: boolean;
25
+ options: import('../../types/search-box/SearchBoxOptions').VoiceSearchOptions;
26
+ }> & Readonly<{
27
+ onClose?: (...args: any[]) => any;
28
+ "onTranscript-update"?: (...args: any[]) => any;
29
+ "onStop-recognize"?: (...args: any[]) => any;
30
+ }>, {
31
+ handleRecordingButtonClick: () => void;
32
+ reset: () => void;
33
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
34
+ close: (...args: any[]) => void;
35
+ "transcript-update": (...args: any[]) => void;
36
+ "stop-recognize": (...args: any[]) => void;
37
+ }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
38
+ voiceSearchProgressBar: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
39
+ isRecording: boolean;
40
+ timesliceLimit: number;
41
+ timeSliceLength: number;
42
+ }> & Readonly<{}>, {
43
+ startProgressBar: () => void;
44
+ stopProgressBar: () => void;
45
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
46
+ progressBar: HTMLDivElement;
47
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
48
+ P: {};
49
+ B: {};
50
+ D: {};
51
+ C: {};
52
+ M: {};
53
+ Defaults: {};
54
+ }, Readonly<{
55
+ isRecording: boolean;
56
+ timesliceLimit: number;
57
+ timeSliceLength: number;
58
+ }> & Readonly<{}>, {
59
+ startProgressBar: () => void;
60
+ stopProgressBar: () => void;
61
+ }, {}, {}, {}, {}>;
62
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
63
+ P: {};
64
+ B: {};
65
+ D: {};
66
+ C: {};
67
+ M: {};
68
+ Defaults: {};
69
+ }, Readonly<{
70
+ isOpen: boolean;
71
+ options: import('../../types/search-box/SearchBoxOptions').VoiceSearchOptions;
72
+ }> & Readonly<{
73
+ onClose?: (...args: any[]) => any;
74
+ "onTranscript-update"?: (...args: any[]) => any;
75
+ "onStop-recognize"?: (...args: any[]) => any;
76
+ }>, {
77
+ handleRecordingButtonClick: () => void;
78
+ reset: () => void;
79
+ }, {}, {}, {}, {}>;
80
+ }, HTMLDivElement>;
81
+ export default _default;
@@ -0,0 +1,192 @@
1
+ import { SearchBoxPanelOptions } from '../../types/search-box/SearchBoxOptions';
2
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
3
+ options: SearchBoxPanelOptions;
4
+ inputValue: string;
5
+ isSearchContainer?: boolean;
6
+ focused?: boolean;
7
+ history?: string[];
8
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ close: (...args: any[]) => void;
10
+ "go-to-results": (...args: any[]) => void;
11
+ fetched: (...args: any[]) => void;
12
+ itemSelect: (...args: any[]) => void;
13
+ "product-click": (...args: any[]) => void;
14
+ "clear-history-item": (...args: any[]) => void;
15
+ "clear-history": (...args: any[]) => void;
16
+ }, string, import('vue').PublicProps, Readonly<{
17
+ options: SearchBoxPanelOptions;
18
+ inputValue: string;
19
+ isSearchContainer?: boolean;
20
+ focused?: boolean;
21
+ history?: string[];
22
+ }> & Readonly<{
23
+ onClose?: (...args: any[]) => any;
24
+ "onGo-to-results"?: (...args: any[]) => any;
25
+ onFetched?: (...args: any[]) => any;
26
+ onItemSelect?: (...args: any[]) => any;
27
+ "onProduct-click"?: (...args: any[]) => any;
28
+ "onClear-history-item"?: (...args: any[]) => any;
29
+ "onClear-history"?: (...args: any[]) => any;
30
+ }>, {}, {}, {
31
+ SearchBoxSuggestionsWrapper: import('vue').DefineComponent<{
32
+ panel: import('../../types/search-box/SearchBoxPanel').SuggestionSearchBoxPanel;
33
+ options: import('../..').SdkOptions;
34
+ inputValue: string;
35
+ debounce?: number;
36
+ labels: import('../../types/search-box/SearchBoxOptions').SearchBoxOptionLabels;
37
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
38
+ fetched: (...args: any[]) => void;
39
+ itemSelect: (...args: any[]) => void;
40
+ }, string, import('vue').PublicProps, Readonly<{
41
+ panel: import('../../types/search-box/SearchBoxPanel').SuggestionSearchBoxPanel;
42
+ options: import('../..').SdkOptions;
43
+ inputValue: string;
44
+ debounce?: number;
45
+ labels: import('../../types/search-box/SearchBoxOptions').SearchBoxOptionLabels;
46
+ }> & Readonly<{
47
+ onFetched?: (...args: any[]) => any;
48
+ onItemSelect?: (...args: any[]) => any;
49
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
50
+ SearchBoxProductsWrapper: {
51
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
52
+ panel: import('../../types/search-box/SearchBoxPanel').DocumentSearchBoxPanel;
53
+ searchBoxOptions: SearchBoxPanelOptions;
54
+ inputValue: string;
55
+ options: import('../..').SdkOptions;
56
+ labels?: import('../../types/search-box/SearchBoxOptions').SearchBoxOptionLabels;
57
+ debounce?: number;
58
+ }> & Readonly<{
59
+ "onGo-to-results"?: (...args: any[]) => any;
60
+ onFetched?: (...args: any[]) => any;
61
+ "onProduct-click"?: (...args: any[]) => any;
62
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
63
+ "go-to-results": (...args: any[]) => void;
64
+ fetched: (...args: any[]) => void;
65
+ "product-click": (...args: any[]) => void;
66
+ }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
67
+ P: {};
68
+ B: {};
69
+ D: {};
70
+ C: {};
71
+ M: {};
72
+ Defaults: {};
73
+ }, Readonly<{
74
+ panel: import('../../types/search-box/SearchBoxPanel').DocumentSearchBoxPanel;
75
+ searchBoxOptions: SearchBoxPanelOptions;
76
+ inputValue: string;
77
+ options: import('../..').SdkOptions;
78
+ labels?: import('../../types/search-box/SearchBoxOptions').SearchBoxOptionLabels;
79
+ debounce?: number;
80
+ }> & Readonly<{
81
+ "onGo-to-results"?: (...args: any[]) => any;
82
+ onFetched?: (...args: any[]) => any;
83
+ "onProduct-click"?: (...args: any[]) => any;
84
+ }>, {}, {}, {}, {}, {}>;
85
+ __isFragment?: never;
86
+ __isTeleport?: never;
87
+ __isSuspense?: never;
88
+ } & import('vue').ComponentOptionsBase<Readonly<{
89
+ panel: import('../../types/search-box/SearchBoxPanel').DocumentSearchBoxPanel;
90
+ searchBoxOptions: SearchBoxPanelOptions;
91
+ inputValue: string;
92
+ options: import('../..').SdkOptions;
93
+ labels?: import('../../types/search-box/SearchBoxOptions').SearchBoxOptionLabels;
94
+ debounce?: number;
95
+ }> & Readonly<{
96
+ "onGo-to-results"?: (...args: any[]) => any;
97
+ onFetched?: (...args: any[]) => any;
98
+ "onProduct-click"?: (...args: any[]) => any;
99
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
100
+ "go-to-results": (...args: any[]) => void;
101
+ fetched: (...args: any[]) => void;
102
+ "product-click": (...args: any[]) => void;
103
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
104
+ $slots: {
105
+ productCard?(_: {
106
+ key: number;
107
+ item: import('@getlupa/client-sdk/Types').Document;
108
+ panelOptions: import('../../types/search-box/SearchBoxPanel').DocumentSearchBoxPanel;
109
+ labels: import('../../types/search-box/SearchBoxOptions').SearchBoxOptionLabels;
110
+ highlighted: boolean;
111
+ inputValue: string;
112
+ itemClicked: ({ item, eventType, event }: {
113
+ item: import('@getlupa/client-sdk/Types').Document;
114
+ eventType?: "itemClick" | "addToCart";
115
+ event?: Event;
116
+ }) => void;
117
+ }): any;
118
+ };
119
+ });
120
+ SearchBoxRelatedSourceWrapper: {
121
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
122
+ panel: import('../../types/search-box/SearchBoxPanel').RelatedSourcePanel;
123
+ inputValue: string;
124
+ options: import('../..').SdkOptions;
125
+ labels?: import('../../types/search-box/SearchBoxOptions').SearchBoxOptionLabels;
126
+ debounce?: number;
127
+ }> & Readonly<{
128
+ onFetched?: (...args: any[]) => any;
129
+ "onProduct-click"?: (...args: any[]) => any;
130
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
131
+ fetched: (...args: any[]) => void;
132
+ "product-click": (...args: any[]) => void;
133
+ }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
134
+ P: {};
135
+ B: {};
136
+ D: {};
137
+ C: {};
138
+ M: {};
139
+ Defaults: {};
140
+ }, Readonly<{
141
+ panel: import('../../types/search-box/SearchBoxPanel').RelatedSourcePanel;
142
+ inputValue: string;
143
+ options: import('../..').SdkOptions;
144
+ labels?: import('../../types/search-box/SearchBoxOptions').SearchBoxOptionLabels;
145
+ debounce?: number;
146
+ }> & Readonly<{
147
+ onFetched?: (...args: any[]) => any;
148
+ "onProduct-click"?: (...args: any[]) => any;
149
+ }>, {}, {}, {}, {}, {}>;
150
+ __isFragment?: never;
151
+ __isTeleport?: never;
152
+ __isSuspense?: never;
153
+ } & import('vue').ComponentOptionsBase<Readonly<{
154
+ panel: import('../../types/search-box/SearchBoxPanel').RelatedSourcePanel;
155
+ inputValue: string;
156
+ options: import('../..').SdkOptions;
157
+ labels?: import('../../types/search-box/SearchBoxOptions').SearchBoxOptionLabels;
158
+ debounce?: number;
159
+ }> & Readonly<{
160
+ onFetched?: (...args: any[]) => any;
161
+ "onProduct-click"?: (...args: any[]) => any;
162
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
163
+ fetched: (...args: any[]) => void;
164
+ "product-click": (...args: any[]) => void;
165
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
166
+ $slots: {
167
+ productCard?(_: {
168
+ key: number;
169
+ item: import('@getlupa/client-sdk/Types').Document;
170
+ panelOptions: import('../../types/search-box/SearchBoxPanel').DocumentSearchBoxPanel;
171
+ labels: import('../../types/search-box/SearchBoxOptions').SearchBoxOptionLabels;
172
+ highlighted: boolean;
173
+ inputValue: string;
174
+ itemClicked: ({ item, eventType, event }: {
175
+ item: import('@getlupa/client-sdk/Types').Document;
176
+ eventType?: "itemClick" | "addToCart";
177
+ event?: Event;
178
+ }) => void;
179
+ }): any;
180
+ };
181
+ });
182
+ }, {}, string, import('vue').ComponentProvideOptions, false, {
183
+ panelContainer: HTMLDivElement;
184
+ }, HTMLDivElement>, {
185
+ productCard?(_: any): any;
186
+ }>;
187
+ export default _default;
188
+ type __VLS_WithTemplateSlots<T, S> = T & {
189
+ new (): {
190
+ $slots: S;
191
+ };
192
+ };
@@ -0,0 +1,11 @@
1
+ import { SearchBoxOptionLabels, SearchBoxPanelOptions } from '../../types/search-box/SearchBoxOptions';
2
+ type __VLS_Props = {
3
+ labels: SearchBoxOptionLabels;
4
+ options: SearchBoxPanelOptions;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ "go-to-results": (...args: any[]) => void;
8
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
9
+ "onGo-to-results"?: (...args: any[]) => any;
10
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { SearchBoxOptionLabels } from '../../types/search-box/SearchBoxOptions';
2
+ type __VLS_Props = {
3
+ labels: SearchBoxOptionLabels;
4
+ };
5
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLParagraphElement>;
6
+ export default _default;