@getlupa/client 0.4.3-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 (527) hide show
  1. package/.browserslistrc +3 -0
  2. package/.eslintrc.js +37 -0
  3. package/.github/workflows/build-test.yml +23 -0
  4. package/.github/workflows/npm-publish.yml +24 -0
  5. package/README.md +71 -0
  6. package/babel.config.js +3 -0
  7. package/cypress.json +1 -0
  8. package/dist/cjs/SearchBoxEntry.vue.d.ts +6 -0
  9. package/dist/cjs/SearchResultsEntry.vue.d.ts +6 -0
  10. package/dist/cjs/components/common/Spinner.vue.d.ts +3 -0
  11. package/dist/cjs/components/search-box/SearchBox.vue.d.ts +60 -0
  12. package/dist/cjs/components/search-box/SearchBoxInput.vue.d.ts +21 -0
  13. package/dist/cjs/components/search-box/SearchBoxMainPanel.vue.d.ts +33 -0
  14. package/dist/cjs/components/search-box/SearchBoxMoreResults.vue.d.ts +11 -0
  15. package/dist/cjs/components/search-box/__tests__/SearchBox.spec.d.ts +1 -0
  16. package/dist/cjs/components/search-box/__tests__/SearchBoxInput.spec.d.ts +1 -0
  17. package/dist/cjs/components/search-box/__tests__/SearchBoxMainPanel.spec.d.ts +1 -0
  18. package/dist/cjs/components/search-box/history/SearchBoxHistoryItem.vue.d.ts +7 -0
  19. package/dist/cjs/components/search-box/history/SearchBoxHistoryPanel.vue.d.ts +23 -0
  20. package/dist/cjs/components/search-box/history/__tests__/SearchBoxHistoryPanel.vue.spec.d.ts +1 -0
  21. package/dist/cjs/components/search-box/products/SearchBoxProduct.vue.d.ts +25 -0
  22. package/dist/cjs/components/search-box/products/SearchBoxProducts.vue.d.ts +15 -0
  23. package/dist/cjs/components/search-box/products/SearchBoxProductsWrapper.vue.d.ts +26 -0
  24. package/dist/cjs/components/search-box/products/__tests__/SearchBoxProduct.vue.spec.d.ts +1 -0
  25. package/dist/cjs/components/search-box/products/elements/SearchBoxProductCustom.vue.d.ts +10 -0
  26. package/dist/cjs/components/search-box/products/elements/SearchBoxProductDescription.vue.d.ts +9 -0
  27. package/dist/cjs/components/search-box/products/elements/SearchBoxProductElement.vue.d.ts +11 -0
  28. package/dist/cjs/components/search-box/products/elements/SearchBoxProductImage.vue.d.ts +14 -0
  29. package/dist/cjs/components/search-box/products/elements/SearchBoxProductPrice.vue.d.ts +10 -0
  30. package/dist/cjs/components/search-box/products/elements/SearchBoxProductRegularPrice.vue.d.ts +10 -0
  31. package/dist/cjs/components/search-box/products/elements/SearchBoxProductTitle.vue.d.ts +9 -0
  32. package/dist/cjs/components/search-box/products/elements/__tests__/SearchBoxProductCustom.vue.spec.d.ts +1 -0
  33. package/dist/cjs/components/search-box/products/elements/__tests__/SearchBoxProductElement.vue.spec.d.ts +1 -0
  34. package/dist/cjs/components/search-box/products/elements/__tests__/SearchBoxProductImage.spec.d.ts +1 -0
  35. package/dist/cjs/components/search-box/products/elements/__tests__/SearchBoxProductPrice.vue.spec.d.ts +1 -0
  36. package/dist/cjs/components/search-box/products/elements/__tests__/SearchBoxProductTitle.vue.spec.d.ts +1 -0
  37. package/dist/cjs/components/search-box/products/elements/custom/SearchBoxProductCustomHtml.vue.d.ts +9 -0
  38. package/dist/cjs/components/search-box/suggestions/SearchBoxSuggestion.vue.d.ts +10 -0
  39. package/dist/cjs/components/search-box/suggestions/SearchBoxSuggestions.vue.d.ts +22 -0
  40. package/dist/cjs/components/search-box/suggestions/SearchBoxSuggestionsWrapper.vue.d.ts +28 -0
  41. package/dist/cjs/components/search-box/suggestions/__tests__/Suggestions.spec.d.ts +1 -0
  42. package/dist/cjs/components/search-results/SearchResults.vue.d.ts +48 -0
  43. package/dist/cjs/components/search-results/SearchResultsBreadcrumbs.vue.d.ts +7 -0
  44. package/dist/cjs/components/search-results/SearchResultsDidYouMean.vue.d.ts +19 -0
  45. package/dist/cjs/components/search-results/__tests__/SearchResults.spec.d.ts +1 -0
  46. package/dist/cjs/components/search-results/__tests__/SearchResultsBreadcrumbs.spec.d.ts +1 -0
  47. package/dist/cjs/components/search-results/additional-panels/AdditionalPanel.vue.d.ts +21 -0
  48. package/dist/cjs/components/search-results/additional-panels/AdditionalPanels.vue.d.ts +11 -0
  49. package/dist/cjs/components/search-results/additional-panels/__tests__/AdditionalPanels.vue.spec.d.ts +1 -0
  50. package/dist/cjs/components/search-results/filters/CurrentFilterDisplay.vue.d.ts +6 -0
  51. package/dist/cjs/components/search-results/filters/CurrentFilters.vue.d.ts +36 -0
  52. package/dist/cjs/components/search-results/filters/FiltersTopDropdown.vue.d.ts +5 -0
  53. package/dist/cjs/components/search-results/filters/MobileFilterSidebar.vue.d.ts +10 -0
  54. package/dist/cjs/components/search-results/filters/SearchResultsFilters.vue.d.ts +7 -0
  55. package/dist/cjs/components/search-results/filters/__tests__/CurrentFilterDisplay.vue.spec.d.ts +1 -0
  56. package/dist/cjs/components/search-results/filters/__tests__/CurrentFilters.vue.spec.d.ts +1 -0
  57. package/dist/cjs/components/search-results/filters/facets/FacetDisplay.vue.d.ts +20 -0
  58. package/dist/cjs/components/search-results/filters/facets/FacetList.vue.d.ts +13 -0
  59. package/dist/cjs/components/search-results/filters/facets/Facets.vue.d.ts +31 -0
  60. package/dist/cjs/components/search-results/filters/facets/HierarchyFacet.vue.d.ts +21 -0
  61. package/dist/cjs/components/search-results/filters/facets/HierarchyFacetLevel.vue.d.ts +12 -0
  62. package/dist/cjs/components/search-results/filters/facets/StatsFacet.vue.d.ts +23 -0
  63. package/dist/cjs/components/search-results/filters/facets/TermFacet.vue.d.ts +18 -0
  64. package/dist/cjs/components/search-results/filters/facets/__tests__/FacetDisplay.vue.spec.d.ts +1 -0
  65. package/dist/cjs/components/search-results/filters/facets/__tests__/FacetList.vue.spec.d.ts +1 -0
  66. package/dist/cjs/components/search-results/filters/facets/__tests__/HierarchyFacet.vue.spec.d.ts +1 -0
  67. package/dist/cjs/components/search-results/filters/facets/__tests__/StatsFacet.vue.spec.d.ts +1 -0
  68. package/dist/cjs/components/search-results/filters/facets/__tests__/TermFacet.vue.spec.d.ts +1 -0
  69. package/dist/cjs/components/search-results/products/SearchResultsLayoutSelection.vue.d.ts +8 -0
  70. package/dist/cjs/components/search-results/products/SearchResultsMobileToggle.vue.d.ts +8 -0
  71. package/dist/cjs/components/search-results/products/SearchResultsProducts.vue.d.ts +29 -0
  72. package/dist/cjs/components/search-results/products/SearchResultsSummary.vue.d.ts +8 -0
  73. package/dist/cjs/components/search-results/products/SearchResultsToolbar.vue.d.ts +21 -0
  74. package/dist/cjs/components/search-results/products/__tests__/SearchResultsLayoutSelection.spec.d.ts +1 -0
  75. package/dist/cjs/components/search-results/products/__tests__/SearchResultsProducts.spec.d.ts +1 -0
  76. package/dist/cjs/components/search-results/products/__tests__/SearchResultsToolbar.spec.d.ts +1 -0
  77. package/dist/cjs/components/search-results/products/pagination/SearchResultsPageSelect.vue.d.ts +18 -0
  78. package/dist/cjs/components/search-results/products/pagination/SearchResultsPageSize.vue.d.ts +19 -0
  79. package/dist/cjs/components/search-results/products/pagination/__tests__/SearchResultsPageSelect.spec.d.ts +1 -0
  80. package/dist/cjs/components/search-results/products/pagination/__tests__/SearchResultsPageSize.spec.d.ts +1 -0
  81. package/dist/cjs/components/search-results/products/product-card/SearchResultsProductCard.vue.d.ts +33 -0
  82. package/dist/cjs/components/search-results/products/product-card/__tests__/SearchResultsBadgeWrapper.spec.d.ts +1 -0
  83. package/dist/cjs/components/search-results/products/product-card/__tests__/SearchResultsProductCard.spec.d.ts +1 -0
  84. package/dist/cjs/components/search-results/products/product-card/badges/CustomBadge.vue.d.ts +7 -0
  85. package/dist/cjs/components/search-results/products/product-card/badges/ImageBadge.vue.d.ts +8 -0
  86. package/dist/cjs/components/search-results/products/product-card/badges/SearchResultsBadgeWrapper.vue.d.ts +9 -0
  87. package/dist/cjs/components/search-results/products/product-card/badges/TextBadge.vue.d.ts +7 -0
  88. package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductAddToCart.vue.d.ts +12 -0
  89. package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductCardElement.vue.d.ts +16 -0
  90. package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductCustom.vue.d.ts +10 -0
  91. package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductDescription.vue.d.ts +10 -0
  92. package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductImage.vue.d.ts +14 -0
  93. package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductPrice.vue.d.ts +10 -0
  94. package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductRating.vue.d.ts +13 -0
  95. package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductRegularPrice.vue.d.ts +10 -0
  96. package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductTitle.vue.d.ts +11 -0
  97. package/dist/cjs/components/search-results/products/product-card/elements/__tests__/SearchResultsProductAddToCart.spec.d.ts +1 -0
  98. package/dist/cjs/components/search-results/products/product-card/elements/__tests__/SearchResultsProductCustom.spec.d.ts +1 -0
  99. package/dist/cjs/components/search-results/products/product-card/elements/__tests__/SearchResultsProductCustomHtmlElement.spec.d.ts +1 -0
  100. package/dist/cjs/components/search-results/products/product-card/elements/__tests__/SearchResultsProductDescription.spec.d.ts +1 -0
  101. package/dist/cjs/components/search-results/products/product-card/elements/__tests__/SearchResultsProductImage.spec.d.ts +1 -0
  102. package/dist/cjs/components/search-results/products/product-card/elements/__tests__/SearchResultsProductPrice.spec.d.ts +1 -0
  103. package/dist/cjs/components/search-results/products/product-card/elements/__tests__/SearchResultsProductRating.spec.d.ts +1 -0
  104. package/dist/cjs/components/search-results/products/product-card/elements/__tests__/SearchResultsProductTitle.spec.d.ts +1 -0
  105. package/dist/cjs/components/search-results/products/product-card/elements/custom/SearchResultsProductCustomHtmlElement.vue.d.ts +9 -0
  106. package/dist/cjs/components/search-results/products/similar-queries/SearchResultsSimilarQueries.vue.d.ts +19 -0
  107. package/dist/cjs/components/search-results/products/similar-queries/SimilarQueryText.vue.d.ts +10 -0
  108. package/dist/cjs/components/search-results/products/sort/SearchResultsSort.vue.d.ts +23 -0
  109. package/dist/cjs/components/search-results/products/sort/__tests__/SearchResultsSort.spec.d.ts +1 -0
  110. package/dist/cjs/constants/development/searchBoxDev.example.const.d.ts +27 -0
  111. package/dist/cjs/constants/development/searchResultsDev.example.const.d.ts +91 -0
  112. package/dist/cjs/constants/global.const.d.ts +13 -0
  113. package/dist/cjs/constants/mockData..const.d.ts +4 -0
  114. package/dist/cjs/constants/queryParams.const.d.ts +25 -0
  115. package/dist/cjs/constants/searchBox.const.d.ts +48 -0
  116. package/dist/cjs/constants/searchResults.const.d.ts +105 -0
  117. package/dist/cjs/index-iife.d.ts +21 -0
  118. package/dist/cjs/index.d.ts +11 -0
  119. package/dist/cjs/index.min.js +33183 -0
  120. package/dist/cjs/main.d.ts +1 -0
  121. package/dist/cjs/store/__tests__/history.spec.d.ts +1 -0
  122. package/dist/cjs/store/__tests__/params.spec.d.ts +1 -0
  123. package/dist/cjs/store/__tests__/searchBox.spec.d.ts +1 -0
  124. package/dist/cjs/store/__tests__/searchResult.spec.d.ts +1 -0
  125. package/dist/cjs/store/index.d.ts +2 -0
  126. package/dist/cjs/store/modules/history.d.ts +13 -0
  127. package/dist/cjs/store/modules/options.d.ts +16 -0
  128. package/dist/cjs/store/modules/params.d.ts +55 -0
  129. package/dist/cjs/store/modules/searchBox.d.ts +65 -0
  130. package/dist/cjs/store/modules/searchResult.d.ts +47 -0
  131. package/dist/cjs/store/modules/tracking.d.ts +17 -0
  132. package/dist/cjs/store/types/State.d.ts +38 -0
  133. package/dist/cjs/types/AnalyticsOptions.d.ts +7 -0
  134. package/dist/cjs/types/DocumentElement.d.ts +68 -0
  135. package/dist/cjs/types/General.d.ts +12 -0
  136. package/dist/cjs/types/search-box/Common.d.ts +44 -0
  137. package/dist/cjs/types/search-box/SearchBoxHistory.d.ts +6 -0
  138. package/dist/cjs/types/search-box/SearchBoxOptions.d.ts +30 -0
  139. package/dist/cjs/types/search-box/SearchBoxPanel.d.ts +28 -0
  140. package/dist/cjs/types/search-results/BadgeOptions.d.ts +42 -0
  141. package/dist/cjs/types/search-results/FacetAction.d.ts +16 -0
  142. package/dist/cjs/types/search-results/Filters.d.ts +9 -0
  143. package/dist/cjs/types/search-results/PaginationOptions.d.ts +19 -0
  144. package/dist/cjs/types/search-results/QueryParams.d.ts +4 -0
  145. package/dist/cjs/types/search-results/ResultsLayout.d.ts +5 -0
  146. package/dist/cjs/types/search-results/SearchResultsAdditionalPanelOptions.d.ts +15 -0
  147. package/dist/cjs/types/search-results/SearchResultsOptions.d.ts +109 -0
  148. package/dist/cjs/types/search-results/SearchResultsPagination.d.ts +20 -0
  149. package/dist/cjs/types/search-results/SearchResultsProductCardOptions.d.ts +20 -0
  150. package/dist/cjs/types/search-results/SearchResultsSort.d.ts +11 -0
  151. package/dist/cjs/utils/__tests__/debounce.utils.spec.d.ts +1 -0
  152. package/dist/cjs/utils/__tests__/event.utils.spec.d.ts +1 -0
  153. package/dist/cjs/utils/__tests__/filter.toggle.utils.spec.d.ts +1 -0
  154. package/dist/cjs/utils/__tests__/filter.utils.spec.d.ts +1 -0
  155. package/dist/cjs/utils/__tests__/history.utils.spec.d.ts +1 -0
  156. package/dist/cjs/utils/__tests__/link.utils.spec.d.ts +1 -0
  157. package/dist/cjs/utils/__tests__/params.utils.spec.d.ts +1 -0
  158. package/dist/cjs/utils/__tests__/picker.utils.spec.d.ts +1 -0
  159. package/dist/cjs/utils/__tests__/price.utils.spec.d.ts +1 -0
  160. package/dist/cjs/utils/__tests__/query.utils.spec.d.ts +1 -0
  161. package/dist/cjs/utils/__tests__/string.utils.spec.d.ts +1 -0
  162. package/dist/cjs/utils/__tests__/suggestion.utils.spec.d.ts +1 -0
  163. package/dist/cjs/utils/__tests__/tracking.utils.spec.d.ts +1 -0
  164. package/dist/cjs/utils/debounce.utils.d.ts +1 -0
  165. package/dist/cjs/utils/document.utils.d.ts +1 -0
  166. package/dist/cjs/utils/event.utils.d.ts +2 -0
  167. package/dist/cjs/utils/filter.toggle.utils.d.ts +23 -0
  168. package/dist/cjs/utils/filter.utils.d.ts +10 -0
  169. package/dist/cjs/utils/history.utils.d.ts +2 -0
  170. package/dist/cjs/utils/link.utils.d.ts +4 -0
  171. package/dist/cjs/utils/merger.utils.d.ts +1 -0
  172. package/dist/cjs/utils/params.utils.d.ts +9 -0
  173. package/dist/cjs/utils/picker.utils.d.ts +5 -0
  174. package/dist/cjs/utils/price.utils.d.ts +2 -0
  175. package/dist/cjs/utils/query.utils.d.ts +4 -0
  176. package/dist/cjs/utils/scroll.utils.d.ts +2 -0
  177. package/dist/cjs/utils/string.utils.d.ts +7 -0
  178. package/dist/cjs/utils/suggestion.utils.d.ts +3 -0
  179. package/dist/cjs/utils/tracking.utils.d.ts +5 -0
  180. package/dist/es/SearchBoxEntry.vue.d.ts +6 -0
  181. package/dist/es/SearchResultsEntry.vue.d.ts +6 -0
  182. package/dist/es/components/common/Spinner.vue.d.ts +3 -0
  183. package/dist/es/components/search-box/SearchBox.vue.d.ts +60 -0
  184. package/dist/es/components/search-box/SearchBoxInput.vue.d.ts +21 -0
  185. package/dist/es/components/search-box/SearchBoxMainPanel.vue.d.ts +33 -0
  186. package/dist/es/components/search-box/SearchBoxMoreResults.vue.d.ts +11 -0
  187. package/dist/es/components/search-box/__tests__/SearchBox.spec.d.ts +1 -0
  188. package/dist/es/components/search-box/__tests__/SearchBoxInput.spec.d.ts +1 -0
  189. package/dist/es/components/search-box/__tests__/SearchBoxMainPanel.spec.d.ts +1 -0
  190. package/dist/es/components/search-box/history/SearchBoxHistoryItem.vue.d.ts +7 -0
  191. package/dist/es/components/search-box/history/SearchBoxHistoryPanel.vue.d.ts +23 -0
  192. package/dist/es/components/search-box/history/__tests__/SearchBoxHistoryPanel.vue.spec.d.ts +1 -0
  193. package/dist/es/components/search-box/products/SearchBoxProduct.vue.d.ts +25 -0
  194. package/dist/es/components/search-box/products/SearchBoxProducts.vue.d.ts +15 -0
  195. package/dist/es/components/search-box/products/SearchBoxProductsWrapper.vue.d.ts +26 -0
  196. package/dist/es/components/search-box/products/__tests__/SearchBoxProduct.vue.spec.d.ts +1 -0
  197. package/dist/es/components/search-box/products/elements/SearchBoxProductCustom.vue.d.ts +10 -0
  198. package/dist/es/components/search-box/products/elements/SearchBoxProductDescription.vue.d.ts +9 -0
  199. package/dist/es/components/search-box/products/elements/SearchBoxProductElement.vue.d.ts +11 -0
  200. package/dist/es/components/search-box/products/elements/SearchBoxProductImage.vue.d.ts +14 -0
  201. package/dist/es/components/search-box/products/elements/SearchBoxProductPrice.vue.d.ts +10 -0
  202. package/dist/es/components/search-box/products/elements/SearchBoxProductRegularPrice.vue.d.ts +10 -0
  203. package/dist/es/components/search-box/products/elements/SearchBoxProductTitle.vue.d.ts +9 -0
  204. package/dist/es/components/search-box/products/elements/__tests__/SearchBoxProductCustom.vue.spec.d.ts +1 -0
  205. package/dist/es/components/search-box/products/elements/__tests__/SearchBoxProductElement.vue.spec.d.ts +1 -0
  206. package/dist/es/components/search-box/products/elements/__tests__/SearchBoxProductImage.spec.d.ts +1 -0
  207. package/dist/es/components/search-box/products/elements/__tests__/SearchBoxProductPrice.vue.spec.d.ts +1 -0
  208. package/dist/es/components/search-box/products/elements/__tests__/SearchBoxProductTitle.vue.spec.d.ts +1 -0
  209. package/dist/es/components/search-box/products/elements/custom/SearchBoxProductCustomHtml.vue.d.ts +9 -0
  210. package/dist/es/components/search-box/suggestions/SearchBoxSuggestion.vue.d.ts +10 -0
  211. package/dist/es/components/search-box/suggestions/SearchBoxSuggestions.vue.d.ts +22 -0
  212. package/dist/es/components/search-box/suggestions/SearchBoxSuggestionsWrapper.vue.d.ts +28 -0
  213. package/dist/es/components/search-box/suggestions/__tests__/Suggestions.spec.d.ts +1 -0
  214. package/dist/es/components/search-results/SearchResults.vue.d.ts +48 -0
  215. package/dist/es/components/search-results/SearchResultsBreadcrumbs.vue.d.ts +7 -0
  216. package/dist/es/components/search-results/SearchResultsDidYouMean.vue.d.ts +19 -0
  217. package/dist/es/components/search-results/__tests__/SearchResults.spec.d.ts +1 -0
  218. package/dist/es/components/search-results/__tests__/SearchResultsBreadcrumbs.spec.d.ts +1 -0
  219. package/dist/es/components/search-results/additional-panels/AdditionalPanel.vue.d.ts +21 -0
  220. package/dist/es/components/search-results/additional-panels/AdditionalPanels.vue.d.ts +11 -0
  221. package/dist/es/components/search-results/additional-panels/__tests__/AdditionalPanels.vue.spec.d.ts +1 -0
  222. package/dist/es/components/search-results/filters/CurrentFilterDisplay.vue.d.ts +6 -0
  223. package/dist/es/components/search-results/filters/CurrentFilters.vue.d.ts +36 -0
  224. package/dist/es/components/search-results/filters/FiltersTopDropdown.vue.d.ts +5 -0
  225. package/dist/es/components/search-results/filters/MobileFilterSidebar.vue.d.ts +10 -0
  226. package/dist/es/components/search-results/filters/SearchResultsFilters.vue.d.ts +7 -0
  227. package/dist/es/components/search-results/filters/__tests__/CurrentFilterDisplay.vue.spec.d.ts +1 -0
  228. package/dist/es/components/search-results/filters/__tests__/CurrentFilters.vue.spec.d.ts +1 -0
  229. package/dist/es/components/search-results/filters/facets/FacetDisplay.vue.d.ts +20 -0
  230. package/dist/es/components/search-results/filters/facets/FacetList.vue.d.ts +13 -0
  231. package/dist/es/components/search-results/filters/facets/Facets.vue.d.ts +31 -0
  232. package/dist/es/components/search-results/filters/facets/HierarchyFacet.vue.d.ts +21 -0
  233. package/dist/es/components/search-results/filters/facets/HierarchyFacetLevel.vue.d.ts +12 -0
  234. package/dist/es/components/search-results/filters/facets/StatsFacet.vue.d.ts +23 -0
  235. package/dist/es/components/search-results/filters/facets/TermFacet.vue.d.ts +18 -0
  236. package/dist/es/components/search-results/filters/facets/__tests__/FacetDisplay.vue.spec.d.ts +1 -0
  237. package/dist/es/components/search-results/filters/facets/__tests__/FacetList.vue.spec.d.ts +1 -0
  238. package/dist/es/components/search-results/filters/facets/__tests__/HierarchyFacet.vue.spec.d.ts +1 -0
  239. package/dist/es/components/search-results/filters/facets/__tests__/StatsFacet.vue.spec.d.ts +1 -0
  240. package/dist/es/components/search-results/filters/facets/__tests__/TermFacet.vue.spec.d.ts +1 -0
  241. package/dist/es/components/search-results/products/SearchResultsLayoutSelection.vue.d.ts +8 -0
  242. package/dist/es/components/search-results/products/SearchResultsMobileToggle.vue.d.ts +8 -0
  243. package/dist/es/components/search-results/products/SearchResultsProducts.vue.d.ts +29 -0
  244. package/dist/es/components/search-results/products/SearchResultsSummary.vue.d.ts +8 -0
  245. package/dist/es/components/search-results/products/SearchResultsToolbar.vue.d.ts +21 -0
  246. package/dist/es/components/search-results/products/__tests__/SearchResultsLayoutSelection.spec.d.ts +1 -0
  247. package/dist/es/components/search-results/products/__tests__/SearchResultsProducts.spec.d.ts +1 -0
  248. package/dist/es/components/search-results/products/__tests__/SearchResultsToolbar.spec.d.ts +1 -0
  249. package/dist/es/components/search-results/products/pagination/SearchResultsPageSelect.vue.d.ts +18 -0
  250. package/dist/es/components/search-results/products/pagination/SearchResultsPageSize.vue.d.ts +19 -0
  251. package/dist/es/components/search-results/products/pagination/__tests__/SearchResultsPageSelect.spec.d.ts +1 -0
  252. package/dist/es/components/search-results/products/pagination/__tests__/SearchResultsPageSize.spec.d.ts +1 -0
  253. package/dist/es/components/search-results/products/product-card/SearchResultsProductCard.vue.d.ts +33 -0
  254. package/dist/es/components/search-results/products/product-card/__tests__/SearchResultsBadgeWrapper.spec.d.ts +1 -0
  255. package/dist/es/components/search-results/products/product-card/__tests__/SearchResultsProductCard.spec.d.ts +1 -0
  256. package/dist/es/components/search-results/products/product-card/badges/CustomBadge.vue.d.ts +7 -0
  257. package/dist/es/components/search-results/products/product-card/badges/ImageBadge.vue.d.ts +8 -0
  258. package/dist/es/components/search-results/products/product-card/badges/SearchResultsBadgeWrapper.vue.d.ts +9 -0
  259. package/dist/es/components/search-results/products/product-card/badges/TextBadge.vue.d.ts +7 -0
  260. package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductAddToCart.vue.d.ts +12 -0
  261. package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductCardElement.vue.d.ts +16 -0
  262. package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductCustom.vue.d.ts +10 -0
  263. package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductDescription.vue.d.ts +10 -0
  264. package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductImage.vue.d.ts +14 -0
  265. package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductPrice.vue.d.ts +10 -0
  266. package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductRating.vue.d.ts +13 -0
  267. package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductRegularPrice.vue.d.ts +10 -0
  268. package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductTitle.vue.d.ts +11 -0
  269. package/dist/es/components/search-results/products/product-card/elements/__tests__/SearchResultsProductAddToCart.spec.d.ts +1 -0
  270. package/dist/es/components/search-results/products/product-card/elements/__tests__/SearchResultsProductCustom.spec.d.ts +1 -0
  271. package/dist/es/components/search-results/products/product-card/elements/__tests__/SearchResultsProductCustomHtmlElement.spec.d.ts +1 -0
  272. package/dist/es/components/search-results/products/product-card/elements/__tests__/SearchResultsProductDescription.spec.d.ts +1 -0
  273. package/dist/es/components/search-results/products/product-card/elements/__tests__/SearchResultsProductImage.spec.d.ts +1 -0
  274. package/dist/es/components/search-results/products/product-card/elements/__tests__/SearchResultsProductPrice.spec.d.ts +1 -0
  275. package/dist/es/components/search-results/products/product-card/elements/__tests__/SearchResultsProductRating.spec.d.ts +1 -0
  276. package/dist/es/components/search-results/products/product-card/elements/__tests__/SearchResultsProductTitle.spec.d.ts +1 -0
  277. package/dist/es/components/search-results/products/product-card/elements/custom/SearchResultsProductCustomHtmlElement.vue.d.ts +9 -0
  278. package/dist/es/components/search-results/products/similar-queries/SearchResultsSimilarQueries.vue.d.ts +19 -0
  279. package/dist/es/components/search-results/products/similar-queries/SimilarQueryText.vue.d.ts +10 -0
  280. package/dist/es/components/search-results/products/sort/SearchResultsSort.vue.d.ts +23 -0
  281. package/dist/es/components/search-results/products/sort/__tests__/SearchResultsSort.spec.d.ts +1 -0
  282. package/dist/es/constants/development/searchBoxDev.example.const.d.ts +27 -0
  283. package/dist/es/constants/development/searchResultsDev.example.const.d.ts +91 -0
  284. package/dist/es/constants/global.const.d.ts +13 -0
  285. package/dist/es/constants/mockData..const.d.ts +4 -0
  286. package/dist/es/constants/queryParams.const.d.ts +25 -0
  287. package/dist/es/constants/searchBox.const.d.ts +48 -0
  288. package/dist/es/constants/searchResults.const.d.ts +105 -0
  289. package/dist/es/index-iife.d.ts +21 -0
  290. package/dist/es/index.d.ts +11 -0
  291. package/dist/es/index.min.js +33179 -0
  292. package/dist/es/main.d.ts +1 -0
  293. package/dist/es/store/__tests__/history.spec.d.ts +1 -0
  294. package/dist/es/store/__tests__/params.spec.d.ts +1 -0
  295. package/dist/es/store/__tests__/searchBox.spec.d.ts +1 -0
  296. package/dist/es/store/__tests__/searchResult.spec.d.ts +1 -0
  297. package/dist/es/store/index.d.ts +2 -0
  298. package/dist/es/store/modules/history.d.ts +13 -0
  299. package/dist/es/store/modules/options.d.ts +16 -0
  300. package/dist/es/store/modules/params.d.ts +55 -0
  301. package/dist/es/store/modules/searchBox.d.ts +65 -0
  302. package/dist/es/store/modules/searchResult.d.ts +47 -0
  303. package/dist/es/store/modules/tracking.d.ts +17 -0
  304. package/dist/es/store/types/State.d.ts +38 -0
  305. package/dist/es/types/AnalyticsOptions.d.ts +7 -0
  306. package/dist/es/types/DocumentElement.d.ts +68 -0
  307. package/dist/es/types/General.d.ts +12 -0
  308. package/dist/es/types/search-box/Common.d.ts +44 -0
  309. package/dist/es/types/search-box/SearchBoxHistory.d.ts +6 -0
  310. package/dist/es/types/search-box/SearchBoxOptions.d.ts +30 -0
  311. package/dist/es/types/search-box/SearchBoxPanel.d.ts +28 -0
  312. package/dist/es/types/search-results/BadgeOptions.d.ts +42 -0
  313. package/dist/es/types/search-results/FacetAction.d.ts +16 -0
  314. package/dist/es/types/search-results/Filters.d.ts +9 -0
  315. package/dist/es/types/search-results/PaginationOptions.d.ts +19 -0
  316. package/dist/es/types/search-results/QueryParams.d.ts +4 -0
  317. package/dist/es/types/search-results/ResultsLayout.d.ts +5 -0
  318. package/dist/es/types/search-results/SearchResultsAdditionalPanelOptions.d.ts +15 -0
  319. package/dist/es/types/search-results/SearchResultsOptions.d.ts +109 -0
  320. package/dist/es/types/search-results/SearchResultsPagination.d.ts +20 -0
  321. package/dist/es/types/search-results/SearchResultsProductCardOptions.d.ts +20 -0
  322. package/dist/es/types/search-results/SearchResultsSort.d.ts +11 -0
  323. package/dist/es/utils/__tests__/debounce.utils.spec.d.ts +1 -0
  324. package/dist/es/utils/__tests__/event.utils.spec.d.ts +1 -0
  325. package/dist/es/utils/__tests__/filter.toggle.utils.spec.d.ts +1 -0
  326. package/dist/es/utils/__tests__/filter.utils.spec.d.ts +1 -0
  327. package/dist/es/utils/__tests__/history.utils.spec.d.ts +1 -0
  328. package/dist/es/utils/__tests__/link.utils.spec.d.ts +1 -0
  329. package/dist/es/utils/__tests__/params.utils.spec.d.ts +1 -0
  330. package/dist/es/utils/__tests__/picker.utils.spec.d.ts +1 -0
  331. package/dist/es/utils/__tests__/price.utils.spec.d.ts +1 -0
  332. package/dist/es/utils/__tests__/query.utils.spec.d.ts +1 -0
  333. package/dist/es/utils/__tests__/string.utils.spec.d.ts +1 -0
  334. package/dist/es/utils/__tests__/suggestion.utils.spec.d.ts +1 -0
  335. package/dist/es/utils/__tests__/tracking.utils.spec.d.ts +1 -0
  336. package/dist/es/utils/debounce.utils.d.ts +1 -0
  337. package/dist/es/utils/document.utils.d.ts +1 -0
  338. package/dist/es/utils/event.utils.d.ts +2 -0
  339. package/dist/es/utils/filter.toggle.utils.d.ts +23 -0
  340. package/dist/es/utils/filter.utils.d.ts +10 -0
  341. package/dist/es/utils/history.utils.d.ts +2 -0
  342. package/dist/es/utils/link.utils.d.ts +4 -0
  343. package/dist/es/utils/merger.utils.d.ts +1 -0
  344. package/dist/es/utils/params.utils.d.ts +9 -0
  345. package/dist/es/utils/picker.utils.d.ts +5 -0
  346. package/dist/es/utils/price.utils.d.ts +2 -0
  347. package/dist/es/utils/query.utils.d.ts +4 -0
  348. package/dist/es/utils/scroll.utils.d.ts +2 -0
  349. package/dist/es/utils/string.utils.d.ts +7 -0
  350. package/dist/es/utils/suggestion.utils.d.ts +3 -0
  351. package/dist/es/utils/tracking.utils.d.ts +5 -0
  352. package/dist/iife/SearchBoxEntry.vue.d.ts +6 -0
  353. package/dist/iife/SearchResultsEntry.vue.d.ts +6 -0
  354. package/dist/iife/components/common/Spinner.vue.d.ts +3 -0
  355. package/dist/iife/components/search-box/SearchBox.vue.d.ts +60 -0
  356. package/dist/iife/components/search-box/SearchBoxInput.vue.d.ts +21 -0
  357. package/dist/iife/components/search-box/SearchBoxMainPanel.vue.d.ts +33 -0
  358. package/dist/iife/components/search-box/SearchBoxMoreResults.vue.d.ts +11 -0
  359. package/dist/iife/components/search-box/__tests__/SearchBox.spec.d.ts +1 -0
  360. package/dist/iife/components/search-box/__tests__/SearchBoxInput.spec.d.ts +1 -0
  361. package/dist/iife/components/search-box/__tests__/SearchBoxMainPanel.spec.d.ts +1 -0
  362. package/dist/iife/components/search-box/history/SearchBoxHistoryItem.vue.d.ts +7 -0
  363. package/dist/iife/components/search-box/history/SearchBoxHistoryPanel.vue.d.ts +23 -0
  364. package/dist/iife/components/search-box/history/__tests__/SearchBoxHistoryPanel.vue.spec.d.ts +1 -0
  365. package/dist/iife/components/search-box/products/SearchBoxProduct.vue.d.ts +25 -0
  366. package/dist/iife/components/search-box/products/SearchBoxProducts.vue.d.ts +15 -0
  367. package/dist/iife/components/search-box/products/SearchBoxProductsWrapper.vue.d.ts +26 -0
  368. package/dist/iife/components/search-box/products/__tests__/SearchBoxProduct.vue.spec.d.ts +1 -0
  369. package/dist/iife/components/search-box/products/elements/SearchBoxProductCustom.vue.d.ts +10 -0
  370. package/dist/iife/components/search-box/products/elements/SearchBoxProductDescription.vue.d.ts +9 -0
  371. package/dist/iife/components/search-box/products/elements/SearchBoxProductElement.vue.d.ts +11 -0
  372. package/dist/iife/components/search-box/products/elements/SearchBoxProductImage.vue.d.ts +14 -0
  373. package/dist/iife/components/search-box/products/elements/SearchBoxProductPrice.vue.d.ts +10 -0
  374. package/dist/iife/components/search-box/products/elements/SearchBoxProductRegularPrice.vue.d.ts +10 -0
  375. package/dist/iife/components/search-box/products/elements/SearchBoxProductTitle.vue.d.ts +9 -0
  376. package/dist/iife/components/search-box/products/elements/__tests__/SearchBoxProductCustom.vue.spec.d.ts +1 -0
  377. package/dist/iife/components/search-box/products/elements/__tests__/SearchBoxProductElement.vue.spec.d.ts +1 -0
  378. package/dist/iife/components/search-box/products/elements/__tests__/SearchBoxProductImage.spec.d.ts +1 -0
  379. package/dist/iife/components/search-box/products/elements/__tests__/SearchBoxProductPrice.vue.spec.d.ts +1 -0
  380. package/dist/iife/components/search-box/products/elements/__tests__/SearchBoxProductTitle.vue.spec.d.ts +1 -0
  381. package/dist/iife/components/search-box/products/elements/custom/SearchBoxProductCustomHtml.vue.d.ts +9 -0
  382. package/dist/iife/components/search-box/suggestions/SearchBoxSuggestion.vue.d.ts +10 -0
  383. package/dist/iife/components/search-box/suggestions/SearchBoxSuggestions.vue.d.ts +22 -0
  384. package/dist/iife/components/search-box/suggestions/SearchBoxSuggestionsWrapper.vue.d.ts +28 -0
  385. package/dist/iife/components/search-box/suggestions/__tests__/Suggestions.spec.d.ts +1 -0
  386. package/dist/iife/components/search-results/SearchResults.vue.d.ts +48 -0
  387. package/dist/iife/components/search-results/SearchResultsBreadcrumbs.vue.d.ts +7 -0
  388. package/dist/iife/components/search-results/SearchResultsDidYouMean.vue.d.ts +19 -0
  389. package/dist/iife/components/search-results/__tests__/SearchResults.spec.d.ts +1 -0
  390. package/dist/iife/components/search-results/__tests__/SearchResultsBreadcrumbs.spec.d.ts +1 -0
  391. package/dist/iife/components/search-results/additional-panels/AdditionalPanel.vue.d.ts +21 -0
  392. package/dist/iife/components/search-results/additional-panels/AdditionalPanels.vue.d.ts +11 -0
  393. package/dist/iife/components/search-results/additional-panels/__tests__/AdditionalPanels.vue.spec.d.ts +1 -0
  394. package/dist/iife/components/search-results/filters/CurrentFilterDisplay.vue.d.ts +6 -0
  395. package/dist/iife/components/search-results/filters/CurrentFilters.vue.d.ts +36 -0
  396. package/dist/iife/components/search-results/filters/FiltersTopDropdown.vue.d.ts +5 -0
  397. package/dist/iife/components/search-results/filters/MobileFilterSidebar.vue.d.ts +10 -0
  398. package/dist/iife/components/search-results/filters/SearchResultsFilters.vue.d.ts +7 -0
  399. package/dist/iife/components/search-results/filters/__tests__/CurrentFilterDisplay.vue.spec.d.ts +1 -0
  400. package/dist/iife/components/search-results/filters/__tests__/CurrentFilters.vue.spec.d.ts +1 -0
  401. package/dist/iife/components/search-results/filters/facets/FacetDisplay.vue.d.ts +20 -0
  402. package/dist/iife/components/search-results/filters/facets/FacetList.vue.d.ts +13 -0
  403. package/dist/iife/components/search-results/filters/facets/Facets.vue.d.ts +31 -0
  404. package/dist/iife/components/search-results/filters/facets/HierarchyFacet.vue.d.ts +21 -0
  405. package/dist/iife/components/search-results/filters/facets/HierarchyFacetLevel.vue.d.ts +12 -0
  406. package/dist/iife/components/search-results/filters/facets/StatsFacet.vue.d.ts +23 -0
  407. package/dist/iife/components/search-results/filters/facets/TermFacet.vue.d.ts +18 -0
  408. package/dist/iife/components/search-results/filters/facets/__tests__/FacetDisplay.vue.spec.d.ts +1 -0
  409. package/dist/iife/components/search-results/filters/facets/__tests__/FacetList.vue.spec.d.ts +1 -0
  410. package/dist/iife/components/search-results/filters/facets/__tests__/HierarchyFacet.vue.spec.d.ts +1 -0
  411. package/dist/iife/components/search-results/filters/facets/__tests__/StatsFacet.vue.spec.d.ts +1 -0
  412. package/dist/iife/components/search-results/filters/facets/__tests__/TermFacet.vue.spec.d.ts +1 -0
  413. package/dist/iife/components/search-results/products/SearchResultsLayoutSelection.vue.d.ts +8 -0
  414. package/dist/iife/components/search-results/products/SearchResultsMobileToggle.vue.d.ts +8 -0
  415. package/dist/iife/components/search-results/products/SearchResultsProducts.vue.d.ts +29 -0
  416. package/dist/iife/components/search-results/products/SearchResultsSummary.vue.d.ts +8 -0
  417. package/dist/iife/components/search-results/products/SearchResultsToolbar.vue.d.ts +21 -0
  418. package/dist/iife/components/search-results/products/__tests__/SearchResultsLayoutSelection.spec.d.ts +1 -0
  419. package/dist/iife/components/search-results/products/__tests__/SearchResultsProducts.spec.d.ts +1 -0
  420. package/dist/iife/components/search-results/products/__tests__/SearchResultsToolbar.spec.d.ts +1 -0
  421. package/dist/iife/components/search-results/products/pagination/SearchResultsPageSelect.vue.d.ts +18 -0
  422. package/dist/iife/components/search-results/products/pagination/SearchResultsPageSize.vue.d.ts +19 -0
  423. package/dist/iife/components/search-results/products/pagination/__tests__/SearchResultsPageSelect.spec.d.ts +1 -0
  424. package/dist/iife/components/search-results/products/pagination/__tests__/SearchResultsPageSize.spec.d.ts +1 -0
  425. package/dist/iife/components/search-results/products/product-card/SearchResultsProductCard.vue.d.ts +33 -0
  426. package/dist/iife/components/search-results/products/product-card/__tests__/SearchResultsBadgeWrapper.spec.d.ts +1 -0
  427. package/dist/iife/components/search-results/products/product-card/__tests__/SearchResultsProductCard.spec.d.ts +1 -0
  428. package/dist/iife/components/search-results/products/product-card/badges/CustomBadge.vue.d.ts +7 -0
  429. package/dist/iife/components/search-results/products/product-card/badges/ImageBadge.vue.d.ts +8 -0
  430. package/dist/iife/components/search-results/products/product-card/badges/SearchResultsBadgeWrapper.vue.d.ts +9 -0
  431. package/dist/iife/components/search-results/products/product-card/badges/TextBadge.vue.d.ts +7 -0
  432. package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductAddToCart.vue.d.ts +12 -0
  433. package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductCardElement.vue.d.ts +16 -0
  434. package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductCustom.vue.d.ts +10 -0
  435. package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductDescription.vue.d.ts +10 -0
  436. package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductImage.vue.d.ts +14 -0
  437. package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductPrice.vue.d.ts +10 -0
  438. package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductRating.vue.d.ts +13 -0
  439. package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductRegularPrice.vue.d.ts +10 -0
  440. package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductTitle.vue.d.ts +11 -0
  441. package/dist/iife/components/search-results/products/product-card/elements/__tests__/SearchResultsProductAddToCart.spec.d.ts +1 -0
  442. package/dist/iife/components/search-results/products/product-card/elements/__tests__/SearchResultsProductCustom.spec.d.ts +1 -0
  443. package/dist/iife/components/search-results/products/product-card/elements/__tests__/SearchResultsProductCustomHtmlElement.spec.d.ts +1 -0
  444. package/dist/iife/components/search-results/products/product-card/elements/__tests__/SearchResultsProductDescription.spec.d.ts +1 -0
  445. package/dist/iife/components/search-results/products/product-card/elements/__tests__/SearchResultsProductImage.spec.d.ts +1 -0
  446. package/dist/iife/components/search-results/products/product-card/elements/__tests__/SearchResultsProductPrice.spec.d.ts +1 -0
  447. package/dist/iife/components/search-results/products/product-card/elements/__tests__/SearchResultsProductRating.spec.d.ts +1 -0
  448. package/dist/iife/components/search-results/products/product-card/elements/__tests__/SearchResultsProductTitle.spec.d.ts +1 -0
  449. package/dist/iife/components/search-results/products/product-card/elements/custom/SearchResultsProductCustomHtmlElement.vue.d.ts +9 -0
  450. package/dist/iife/components/search-results/products/similar-queries/SearchResultsSimilarQueries.vue.d.ts +19 -0
  451. package/dist/iife/components/search-results/products/similar-queries/SimilarQueryText.vue.d.ts +10 -0
  452. package/dist/iife/components/search-results/products/sort/SearchResultsSort.vue.d.ts +23 -0
  453. package/dist/iife/components/search-results/products/sort/__tests__/SearchResultsSort.spec.d.ts +1 -0
  454. package/dist/iife/constants/development/searchBoxDev.example.const.d.ts +27 -0
  455. package/dist/iife/constants/development/searchResultsDev.example.const.d.ts +91 -0
  456. package/dist/iife/constants/global.const.d.ts +13 -0
  457. package/dist/iife/constants/mockData..const.d.ts +4 -0
  458. package/dist/iife/constants/queryParams.const.d.ts +25 -0
  459. package/dist/iife/constants/searchBox.const.d.ts +48 -0
  460. package/dist/iife/constants/searchResults.const.d.ts +105 -0
  461. package/dist/iife/index-iife.d.ts +21 -0
  462. package/dist/iife/index.d.ts +11 -0
  463. package/dist/iife/index.min.js +1 -0
  464. package/dist/iife/main.d.ts +1 -0
  465. package/dist/iife/store/__tests__/history.spec.d.ts +1 -0
  466. package/dist/iife/store/__tests__/params.spec.d.ts +1 -0
  467. package/dist/iife/store/__tests__/searchBox.spec.d.ts +1 -0
  468. package/dist/iife/store/__tests__/searchResult.spec.d.ts +1 -0
  469. package/dist/iife/store/index.d.ts +2 -0
  470. package/dist/iife/store/modules/history.d.ts +13 -0
  471. package/dist/iife/store/modules/options.d.ts +16 -0
  472. package/dist/iife/store/modules/params.d.ts +55 -0
  473. package/dist/iife/store/modules/searchBox.d.ts +65 -0
  474. package/dist/iife/store/modules/searchResult.d.ts +47 -0
  475. package/dist/iife/store/modules/tracking.d.ts +17 -0
  476. package/dist/iife/store/types/State.d.ts +38 -0
  477. package/dist/iife/types/AnalyticsOptions.d.ts +7 -0
  478. package/dist/iife/types/DocumentElement.d.ts +68 -0
  479. package/dist/iife/types/General.d.ts +12 -0
  480. package/dist/iife/types/search-box/Common.d.ts +44 -0
  481. package/dist/iife/types/search-box/SearchBoxHistory.d.ts +6 -0
  482. package/dist/iife/types/search-box/SearchBoxOptions.d.ts +30 -0
  483. package/dist/iife/types/search-box/SearchBoxPanel.d.ts +28 -0
  484. package/dist/iife/types/search-results/BadgeOptions.d.ts +42 -0
  485. package/dist/iife/types/search-results/FacetAction.d.ts +16 -0
  486. package/dist/iife/types/search-results/Filters.d.ts +9 -0
  487. package/dist/iife/types/search-results/PaginationOptions.d.ts +19 -0
  488. package/dist/iife/types/search-results/QueryParams.d.ts +4 -0
  489. package/dist/iife/types/search-results/ResultsLayout.d.ts +5 -0
  490. package/dist/iife/types/search-results/SearchResultsAdditionalPanelOptions.d.ts +15 -0
  491. package/dist/iife/types/search-results/SearchResultsOptions.d.ts +109 -0
  492. package/dist/iife/types/search-results/SearchResultsPagination.d.ts +20 -0
  493. package/dist/iife/types/search-results/SearchResultsProductCardOptions.d.ts +20 -0
  494. package/dist/iife/types/search-results/SearchResultsSort.d.ts +11 -0
  495. package/dist/iife/utils/__tests__/debounce.utils.spec.d.ts +1 -0
  496. package/dist/iife/utils/__tests__/event.utils.spec.d.ts +1 -0
  497. package/dist/iife/utils/__tests__/filter.toggle.utils.spec.d.ts +1 -0
  498. package/dist/iife/utils/__tests__/filter.utils.spec.d.ts +1 -0
  499. package/dist/iife/utils/__tests__/history.utils.spec.d.ts +1 -0
  500. package/dist/iife/utils/__tests__/link.utils.spec.d.ts +1 -0
  501. package/dist/iife/utils/__tests__/params.utils.spec.d.ts +1 -0
  502. package/dist/iife/utils/__tests__/picker.utils.spec.d.ts +1 -0
  503. package/dist/iife/utils/__tests__/price.utils.spec.d.ts +1 -0
  504. package/dist/iife/utils/__tests__/query.utils.spec.d.ts +1 -0
  505. package/dist/iife/utils/__tests__/string.utils.spec.d.ts +1 -0
  506. package/dist/iife/utils/__tests__/suggestion.utils.spec.d.ts +1 -0
  507. package/dist/iife/utils/__tests__/tracking.utils.spec.d.ts +1 -0
  508. package/dist/iife/utils/debounce.utils.d.ts +1 -0
  509. package/dist/iife/utils/document.utils.d.ts +1 -0
  510. package/dist/iife/utils/event.utils.d.ts +2 -0
  511. package/dist/iife/utils/filter.toggle.utils.d.ts +23 -0
  512. package/dist/iife/utils/filter.utils.d.ts +10 -0
  513. package/dist/iife/utils/history.utils.d.ts +2 -0
  514. package/dist/iife/utils/link.utils.d.ts +4 -0
  515. package/dist/iife/utils/merger.utils.d.ts +1 -0
  516. package/dist/iife/utils/params.utils.d.ts +9 -0
  517. package/dist/iife/utils/picker.utils.d.ts +5 -0
  518. package/dist/iife/utils/price.utils.d.ts +2 -0
  519. package/dist/iife/utils/query.utils.d.ts +4 -0
  520. package/dist/iife/utils/scroll.utils.d.ts +2 -0
  521. package/dist/iife/utils/string.utils.d.ts +7 -0
  522. package/dist/iife/utils/suggestion.utils.d.ts +3 -0
  523. package/dist/iife/utils/tracking.utils.d.ts +5 -0
  524. package/dist/style.css +1 -0
  525. package/dist/style.js +1 -0
  526. package/jest.config.js +22 -0
  527. package/package.json +72 -0
@@ -0,0 +1,33 @@
1
+ import { DocumentElement } from "@/types/DocumentElement";
2
+ import { TrackableEventData } from "@/types/search-box/Common";
3
+ import { BadgeOptions } from "@/types/search-results/BadgeOptions";
4
+ import { ResultsLayout } from "@/types/search-results/ResultsLayout";
5
+ import { SearchResultsOptionLabels } from "@/types/search-results/SearchResultsOptions";
6
+ import { SearchResultsProductCardOptions } from "@/types/search-results/SearchResultsProductCardOptions";
7
+ import { Document, ReportableEventType } from "@getlupa/client-sdk/Types";
8
+ import Vue from "vue";
9
+ export default class SearchResultsProductCard extends Vue {
10
+ product: Document;
11
+ options: SearchResultsProductCardOptions;
12
+ isAdditionalPanel: boolean;
13
+ layout: ResultsLayout;
14
+ query: string;
15
+ trackClick: ({ queryKey, data, }: {
16
+ queryKey: string;
17
+ data: TrackableEventData;
18
+ }) => void;
19
+ get listLayoutClass(): string;
20
+ get badgesOptions(): BadgeOptions;
21
+ get imageElements(): DocumentElement[];
22
+ get detailElements(): DocumentElement[];
23
+ get labels(): SearchResultsOptionLabels;
24
+ get link(): string;
25
+ isInStock: boolean;
26
+ mounted(): void;
27
+ checkIfIsInStock(): Promise<void>;
28
+ get id(): string;
29
+ handleClick(): void;
30
+ handleProductEvent(item: {
31
+ type: ReportableEventType;
32
+ }): void;
33
+ }
@@ -0,0 +1,7 @@
1
+ import { CustomHtmlBadgeElement } from "@/types/search-results/BadgeOptions";
2
+ import Vue from "vue";
3
+ export default class CustomBadge extends Vue {
4
+ badge: CustomHtmlBadgeElement;
5
+ get text(): string;
6
+ get className(): string;
7
+ }
@@ -0,0 +1,8 @@
1
+ import { ImageBadgeElement } from "@/types/search-results/BadgeOptions";
2
+ import Vue from "vue";
3
+ export default class ImageBadge extends Vue {
4
+ badge: ImageBadgeElement;
5
+ get badges(): string[];
6
+ getImageUrl(src: string): string;
7
+ get displayBadges(): string[];
8
+ }
@@ -0,0 +1,9 @@
1
+ import { BadgeElement, BadgeOptions } from "@/types/search-results/BadgeOptions";
2
+ import { AnchorPosition } from "@/types/search-results/SearchResultsProductCardOptions";
3
+ import Vue from "vue";
4
+ export default class SearchResultsBadgeWrapper extends Vue {
5
+ options: BadgeOptions;
6
+ get anchorPosition(): AnchorPosition;
7
+ get badges(): BadgeElement[];
8
+ getBadgeComponent(type: string): string;
9
+ }
@@ -0,0 +1,7 @@
1
+ import { TextBadgeElement } from "@/types/search-results/BadgeOptions";
2
+ import Vue from "vue";
3
+ export default class TextBadge extends Vue {
4
+ badge: TextBadgeElement;
5
+ get badges(): string[];
6
+ get displayBadges(): string[];
7
+ }
@@ -0,0 +1,12 @@
1
+ import Vue from "vue";
2
+ import { Document } from "@getlupa/client-sdk/Types";
3
+ import { AddToCartElement } from "@/types/DocumentElement";
4
+ export default class SearchResultsProductAddToCart extends Vue {
5
+ item: Document;
6
+ options: AddToCartElement;
7
+ inStock: boolean;
8
+ addToCartAmount: number;
9
+ loading: boolean;
10
+ get label(): string;
11
+ handleClick(): Promise<void>;
12
+ }
@@ -0,0 +1,16 @@
1
+ import Vue from "vue";
2
+ import { Document } from "@getlupa/client-sdk/Types";
3
+ import { SearchBoxOptionLabels } from "@/types/search-box/SearchBoxOptions";
4
+ import { DocumentElement } from "@/types/DocumentElement";
5
+ export default class SearchResultsProductCardElement extends Vue {
6
+ item: Document;
7
+ element: DocumentElement;
8
+ labels?: SearchBoxOptionLabels;
9
+ inStock?: boolean;
10
+ link: string;
11
+ get elementComponent(): string;
12
+ get displayElement(): boolean;
13
+ handleProductEvent(item: {
14
+ type: string;
15
+ }): void;
16
+ }
@@ -0,0 +1,10 @@
1
+ import Vue from "vue";
2
+ import { Document } from "@getlupa/client-sdk/Types";
3
+ import { CustomDocumentElement } from "@/types/DocumentElement";
4
+ export default class SearchResultsProductCustom extends Vue {
5
+ item: Document;
6
+ options: CustomDocumentElement;
7
+ get text(): string;
8
+ get className(): string;
9
+ get isHtml(): boolean;
10
+ }
@@ -0,0 +1,10 @@
1
+ import Vue from "vue";
2
+ import { Document } from "@getlupa/client-sdk/Types";
3
+ import { DescriptionDocumentElement } from "@/types/DocumentElement";
4
+ export default class SearchResultsProductDescription extends Vue {
5
+ item: Document;
6
+ options: DescriptionDocumentElement;
7
+ get description(): unknown;
8
+ get isHtml(): boolean;
9
+ get maxLines(): number;
10
+ }
@@ -0,0 +1,14 @@
1
+ import Vue from "vue";
2
+ import { Document } from "@getlupa/client-sdk/Types";
3
+ import { ImageDocumentElement } from "@/types/DocumentElement";
4
+ export default class SearchResultsProductImage extends Vue {
5
+ item: Document;
6
+ options: ImageDocumentElement;
7
+ get hasFullImageUrl(): boolean;
8
+ get rootImageUrl(): string | undefined;
9
+ get image(): string;
10
+ get imageUrl(): string;
11
+ get hasImage(): boolean;
12
+ get placeholder(): string;
13
+ replaceWithPlaceholder(e: Event): void;
14
+ }
@@ -0,0 +1,10 @@
1
+ import Vue from "vue";
2
+ import { Document } from "@getlupa/client-sdk/Types";
3
+ import { RegularPriceDocumentElement } from "@/types/DocumentElement";
4
+ import { SearchResultsOptionLabels } from "@/types/search-results/SearchResultsOptions";
5
+ export default class SearchResultsProductPrice extends Vue {
6
+ item: Document;
7
+ options: RegularPriceDocumentElement;
8
+ labels?: SearchResultsOptionLabels;
9
+ get price(): string;
10
+ }
@@ -0,0 +1,13 @@
1
+ import Vue from "vue";
2
+ import { Document } from "@getlupa/client-sdk/Types";
3
+ import { RatingElement } from "@/types/DocumentElement";
4
+ export default class SearchResultsProductRating extends Vue {
5
+ item: Document;
6
+ options: RatingElement;
7
+ get totalRatings(): string;
8
+ get currentRating(): number;
9
+ get baseStars(): string[];
10
+ get highlightedStars(): string[];
11
+ get ratingPercentage(): number;
12
+ get ratingLink(): string;
13
+ }
@@ -0,0 +1,10 @@
1
+ import Vue from "vue";
2
+ import { Document } from "@getlupa/client-sdk/Types";
3
+ import { RegularPriceDocumentElement } from "@/types/DocumentElement";
4
+ import { SearchResultsOptionLabels } from "@/types/search-results/SearchResultsOptions";
5
+ export default class SearchResultsProductRegularPrice extends Vue {
6
+ item: Document;
7
+ options: RegularPriceDocumentElement;
8
+ labels: SearchResultsOptionLabels;
9
+ get price(): string;
10
+ }
@@ -0,0 +1,11 @@
1
+ import Vue from "vue";
2
+ import { Document } from "@getlupa/client-sdk/Types";
3
+ import { TitleDocumentElement } from "@/types/DocumentElement";
4
+ export default class SearchResultsProductTitle extends Vue {
5
+ item: Document;
6
+ options: TitleDocumentElement;
7
+ link: string;
8
+ get title(): unknown;
9
+ get isHtml(): boolean;
10
+ get maxLines(): number;
11
+ }
@@ -0,0 +1,9 @@
1
+ import Vue from "vue";
2
+ import { Document } from "@getlupa/client-sdk/Types";
3
+ import { CustomHtmlElement } from "@/types/DocumentElement";
4
+ export default class SearchResultsProductCustomHtmlElement extends Vue {
5
+ item: Document;
6
+ options: CustomHtmlElement;
7
+ get text(): string;
8
+ get className(): string;
9
+ }
@@ -0,0 +1,19 @@
1
+ import { InputSuggestionFacet } from "@/types/search-box/Common";
2
+ import { QueryParams } from "@/types/search-results/QueryParams";
3
+ import { SearchResultsSimilarQueriesLabels } from "@/types/search-results/SearchResultsOptions";
4
+ import { SearchResultsProductCardOptions } from "@/types/search-results/SearchResultsProductCardOptions";
5
+ import { Document, SimilarQueryResult } from "@getlupa/client-sdk/Types";
6
+ import Vue from "vue";
7
+ export default class SearchResultsSimilarQueries extends Vue {
8
+ labels: SearchResultsSimilarQueriesLabels;
9
+ columnSize: string;
10
+ productCardOptions: SearchResultsProductCardOptions;
11
+ similarQueries: SimilarQueryResult[];
12
+ getProductKey(index: string, product: Document): string;
13
+ goToResults: ({ searchText, facet, }: {
14
+ searchText: string;
15
+ facet?: InputSuggestionFacet;
16
+ }) => {
17
+ params: QueryParams;
18
+ };
19
+ }
@@ -0,0 +1,10 @@
1
+ import { SimilarQueryResult } from "@getlupa/client-sdk/Types";
2
+ import Vue from "vue";
3
+ export default class SimilarQueryText extends Vue {
4
+ similarQuery: SimilarQueryResult;
5
+ label: string;
6
+ searchText: string;
7
+ get count(): number;
8
+ insertValue(text: string, query: string): string[];
9
+ getStyle(text: string): string;
10
+ }
@@ -0,0 +1,23 @@
1
+ import { QueryParams } from "@/types/search-results/QueryParams";
2
+ import { SearchResultsSortOptions, SortOptions } from "@/types/search-results/SearchResultsSort";
3
+ import Vue from "vue";
4
+ export default class SearchResultsSort extends Vue {
5
+ options: SortOptions;
6
+ selectedKey: string;
7
+ sort: string;
8
+ get sortItems(): SearchResultsSortOptions[];
9
+ get defaultSortValue(): SearchResultsSortOptions;
10
+ mounted(): void;
11
+ handleSortChange(): void;
12
+ setSortValue(): void;
13
+ appendParams: ({ params, paramsToRemove, }: {
14
+ params: {
15
+ name: string;
16
+ value: string;
17
+ }[];
18
+ paramsToRemove?: string[];
19
+ }) => {
20
+ params: QueryParams;
21
+ };
22
+ handleSelect(): void;
23
+ }
@@ -0,0 +1,27 @@
1
+ import { SdkOptions } from "@/types/General";
2
+ import { SearchBoxPanel } from "@/types/search-box/SearchBoxPanel";
3
+ export declare const SEARCH_BOX_CONFIGURATION: {
4
+ options: SdkOptions;
5
+ minInputLength: number;
6
+ showTotalCount: boolean;
7
+ inputAttributes: {
8
+ name: string;
9
+ };
10
+ debounce: number;
11
+ labels: {
12
+ placeholder: string;
13
+ noResults: string;
14
+ moreResults: string;
15
+ currency: string;
16
+ defaultFacetLabel: string;
17
+ };
18
+ links: {
19
+ searchResults: string;
20
+ };
21
+ panels: SearchBoxPanel[];
22
+ history: {
23
+ labels: {
24
+ clear: string;
25
+ };
26
+ };
27
+ };
@@ -0,0 +1,91 @@
1
+ import { SdkOptions } from "@/types/General";
2
+ import { DocumentElement } from "@/types/DocumentElement";
3
+ import { SearchResultBadgeOptions } from "@/types/search-results/SearchResultsProductCardOptions";
4
+ import { SearchResultsSortOptions } from "@/types/search-results/SearchResultsSort";
5
+ export declare const SEARCH_RESULTS_CONFIGURATION: {
6
+ options: SdkOptions;
7
+ queryKey: string;
8
+ labels: {
9
+ pageSize: string;
10
+ sortBy: string;
11
+ itemCount: string;
12
+ currency: string;
13
+ showMore: string;
14
+ emptyResults: string;
15
+ mobileFilterButton: string;
16
+ htmlTitleTemplate: string;
17
+ noResultsSuggestion: string;
18
+ didYouMean: string;
19
+ similarQuery: string;
20
+ similarQueries: string;
21
+ };
22
+ grid: {
23
+ columns: {
24
+ xl: number;
25
+ l: number;
26
+ md: number;
27
+ sm: number;
28
+ xs: number;
29
+ };
30
+ };
31
+ pagination: {
32
+ sizeSelection: {
33
+ position: {
34
+ top: boolean;
35
+ bottom: boolean;
36
+ };
37
+ sizes: number[];
38
+ };
39
+ pageSelection: {
40
+ position: {
41
+ top: boolean;
42
+ bottom: boolean;
43
+ };
44
+ display: number;
45
+ };
46
+ };
47
+ sort: SearchResultsSortOptions[];
48
+ filters: {
49
+ currentFilters: {
50
+ visibility: {
51
+ mobileSidebar: boolean;
52
+ mobileToolbar: boolean;
53
+ };
54
+ labels: {
55
+ title: string;
56
+ clearAll: string;
57
+ };
58
+ };
59
+ facets: {
60
+ labels: {
61
+ title: string;
62
+ showAll: string;
63
+ facetFilter: string;
64
+ };
65
+ hierarchy: {
66
+ maxInitialLevel: number;
67
+ topLevelValueCountLimit: number;
68
+ filterable: boolean;
69
+ };
70
+ filterable: {
71
+ minValues: number;
72
+ };
73
+ facetValueCountLimit: number;
74
+ showDocumentCount: boolean;
75
+ };
76
+ };
77
+ isInStock: () => boolean;
78
+ badges: SearchResultBadgeOptions;
79
+ links: {
80
+ details: string;
81
+ };
82
+ idKey: string;
83
+ elements: DocumentElement[];
84
+ breadcrumbs: ({
85
+ label: string;
86
+ link: string;
87
+ } | {
88
+ label: string;
89
+ link?: undefined;
90
+ })[];
91
+ };
@@ -0,0 +1,13 @@
1
+ export declare const HISTORY_LOCAL_STORAGE_KEY = "LUPA_HISTORY";
2
+ export declare const TRACKING_STORAGE_KEY = "LUPA_STATS";
3
+ export declare const TRACKING_STORAGE_KEY_BASE = "LUPA_STATS_BASE";
4
+ export declare const TRACKING_ANALYTICS_KEY = "LUPA_ANALYTICS";
5
+ export declare const TRACKING_KEY_LENGTH = 10;
6
+ export declare const HISTORY_MAX_ITEMS = 7;
7
+ export declare const S_MIN_WIDTH = 575;
8
+ export declare const MD_MIN_WIDTH = 767;
9
+ export declare const L_MIN_WIDTH = 991;
10
+ export declare const XL_MIN_WIDTH = 1199;
11
+ export declare const MAX_FACET_VALUES = 1000;
12
+ export declare const CURRENCY_KEY_INDICATOR = "price";
13
+ export declare const DEFAULT_PAGE_SIZE = 12;
@@ -0,0 +1,4 @@
1
+ import { DisplaySuggestion } from "@/types/search-box/Common";
2
+ import { SuggestionQueryResult } from "@getlupa/client-sdk/Types";
3
+ export declare const SuggestionsMockData: SuggestionQueryResult;
4
+ export declare const DisplaySuggestionsMockData: (input: string) => DisplaySuggestion[];
@@ -0,0 +1,25 @@
1
+ export declare const QUERY_PARAMS: {
2
+ QUERY: string;
3
+ PAGE: string;
4
+ LIMIT: string;
5
+ SORT: string;
6
+ };
7
+ export declare const QUERY_PARAMS_PARSED: {
8
+ QUERY: string;
9
+ PAGE: string;
10
+ LIMIT: string;
11
+ SORT: string;
12
+ };
13
+ export declare const FACET_PARAMS_TYPE: {
14
+ TERMS: string;
15
+ RANGE: string;
16
+ HIERARCHY: string;
17
+ };
18
+ export declare const FACET_FILTER_MAP: {
19
+ terms: string;
20
+ range: string;
21
+ hierarchy: string;
22
+ };
23
+ export declare const FACET_KEY_SEPARATOR = ".";
24
+ export declare const FACET_RANGE_SEPARATOR = ":";
25
+ export declare const HIERARCHY_SEPARATOR = ">";
@@ -0,0 +1,48 @@
1
+ export declare const DEFAULT_SEARCH_BOX_OPTIONS: {
2
+ inputSelector: string;
3
+ options: {
4
+ environment: string;
5
+ };
6
+ showTotalCount: boolean;
7
+ minInputLength: number;
8
+ inputAttributes: {
9
+ name: string;
10
+ };
11
+ debounce: number;
12
+ labels: {
13
+ placeholder: string;
14
+ noResults: string;
15
+ moreResults: string;
16
+ currency: string;
17
+ defaultFacetLabel: string;
18
+ };
19
+ links: {
20
+ searchResults: string;
21
+ };
22
+ panels: ({
23
+ type: string;
24
+ queryKey: string;
25
+ highlight: boolean;
26
+ limit: number;
27
+ searchBySuggestion?: undefined;
28
+ links?: undefined;
29
+ titleKey?: undefined;
30
+ elements?: undefined;
31
+ } | {
32
+ type: string;
33
+ queryKey: string;
34
+ limit: number;
35
+ searchBySuggestion: boolean;
36
+ links: {
37
+ details: string;
38
+ };
39
+ titleKey: string;
40
+ elements: never[];
41
+ highlight?: undefined;
42
+ })[];
43
+ history: {
44
+ labels: {
45
+ clear: string;
46
+ };
47
+ };
48
+ };
@@ -0,0 +1,105 @@
1
+ import { AnchorPosition } from "@/types/search-results/SearchResultsProductCardOptions";
2
+ import { FacetStyle } from "@/types/search-results/SearchResultsOptions";
3
+ export declare const DEFAULT_OPTIONS_RESULTS: {
4
+ options: {
5
+ environment: string;
6
+ };
7
+ queryKey: string;
8
+ containerSelector: string;
9
+ labels: {
10
+ pageSize: string;
11
+ sortBy: string;
12
+ itemCount: string;
13
+ filteredItemCount: string;
14
+ currency: string;
15
+ showMore: string;
16
+ searchResults: string;
17
+ emptyResults: string;
18
+ mobileFilterButton: string;
19
+ htmlTitleTemplate: string;
20
+ noResultsSuggestion: string;
21
+ didYouMean: string;
22
+ similarQuery: string;
23
+ similarQueries: string;
24
+ };
25
+ grid: {
26
+ columns: {
27
+ xl: number;
28
+ l: number;
29
+ md: number;
30
+ sm: number;
31
+ xs: number;
32
+ };
33
+ };
34
+ pagination: {
35
+ sizeSelection: {
36
+ position: {
37
+ top: boolean;
38
+ bottom: boolean;
39
+ };
40
+ sizes: number[];
41
+ };
42
+ pageSelection: {
43
+ position: {
44
+ top: boolean;
45
+ bottom: boolean;
46
+ };
47
+ display: number;
48
+ };
49
+ };
50
+ sort: never[];
51
+ filters: {
52
+ currentFilters: {
53
+ visibility: {
54
+ mobileSidebar: boolean;
55
+ mobileToolbar: boolean;
56
+ };
57
+ labels: {
58
+ title: string;
59
+ clearAll: string;
60
+ };
61
+ };
62
+ facets: {
63
+ labels: {
64
+ title: string;
65
+ showAll: string;
66
+ facetFilter: string;
67
+ facetClear: string;
68
+ };
69
+ filterable: {
70
+ minValues: number;
71
+ };
72
+ hierarchy: {
73
+ maxInitialLevel: number;
74
+ topLevelValueCountLimit: number;
75
+ filterable: boolean;
76
+ };
77
+ facetValueCountLimit: number;
78
+ showDocumentCount: boolean;
79
+ style: {
80
+ type: FacetStyle;
81
+ };
82
+ };
83
+ };
84
+ toolbar: {
85
+ layoutSelector: boolean;
86
+ itemSummary: boolean;
87
+ clearFilters: boolean;
88
+ };
89
+ isInStock: () => boolean;
90
+ badges: {
91
+ anchor: AnchorPosition;
92
+ elements: never[];
93
+ };
94
+ links: {
95
+ details: string;
96
+ };
97
+ elements: never[];
98
+ breadcrumbs: ({
99
+ label: string;
100
+ link: string;
101
+ } | {
102
+ label: string;
103
+ link?: undefined;
104
+ })[];
105
+ };
@@ -0,0 +1,21 @@
1
+ import { TrackingOptions } from "./types/General";
2
+ import { SearchBoxOptions } from "./types/search-box/SearchBoxOptions";
3
+ import { SearchResultsOptions } from "./types/search-results/SearchResultsOptions";
4
+ declare global {
5
+ interface Window {
6
+ getLupa: {
7
+ searchBox: (options: SearchBoxOptions) => void;
8
+ searchResults: (options: SearchResultsOptions) => void;
9
+ tracking: (options: TrackingOptions) => void;
10
+ clearSearchBox: () => void;
11
+ clearSearchResults: () => void;
12
+ };
13
+ lupaSearch: {
14
+ searchBox: (options: SearchBoxOptions) => void;
15
+ searchResults: (options: SearchResultsOptions) => void;
16
+ tracking: (options: TrackingOptions) => void;
17
+ clearSearchBox: () => void;
18
+ clearSearchResults: () => void;
19
+ };
20
+ }
21
+ }
@@ -0,0 +1,11 @@
1
+ import { SearchBoxOptions } from "./types/search-box/SearchBoxOptions";
2
+ import { SearchResultsOptions } from "./types/search-results/SearchResultsOptions";
3
+ import { TrackingOptions } from "./types/General";
4
+ declare const lupaSearch: {
5
+ searchBox: (options: SearchBoxOptions) => void;
6
+ searchResults: (options: SearchResultsOptions) => void;
7
+ tracking: (options: TrackingOptions) => void;
8
+ clearSearchBox: () => void;
9
+ clearSearchResults: () => void;
10
+ };
11
+ export default lupaSearch;