@getlupa/client 0.16.2 → 1.0.2

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 (622) hide show
  1. package/.eslintrc.cjs +15 -0
  2. package/.prettierrc.json +8 -0
  3. package/dist/containerStyle.css +1 -0
  4. package/dist/favicon.ico +0 -0
  5. package/dist/index.html +17 -0
  6. package/dist/lupaSearch.iife.js +26672 -0
  7. package/dist/lupaSearch.js +26669 -0
  8. package/dist/lupaSearch.mjs +26669 -0
  9. package/dist/lupaSearch.umd.js +26673 -0
  10. package/dist/src/components/ProductListEntry.vue.d.ts +14 -0
  11. package/dist/src/components/RecommendationsEntry.vue.d.ts +14 -0
  12. package/dist/src/components/SearchBoxEntry.vue.d.ts +14 -0
  13. package/dist/src/components/SearchContainerEntry.vue.d.ts +14 -0
  14. package/dist/src/components/SearchResultsEntry.vue.d.ts +14 -0
  15. package/dist/src/constants/global.const.d.ts +1 -0
  16. package/dist/{es → src}/constants/queryParams.const.d.ts +26 -26
  17. package/dist/{iife → src}/constants/searchBox.const.d.ts +48 -48
  18. package/dist/{iife → src}/constants/searchResults.const.d.ts +106 -107
  19. package/dist/src/index.d.ts +43 -0
  20. package/dist/{iife → src}/utils/shadowDom.utils.d.ts +11 -11
  21. package/dist/style.css +1 -1
  22. package/env.d.ts +1 -0
  23. package/index.html +28 -0
  24. package/package.json +44 -64
  25. package/tsconfig.app.json +18 -0
  26. package/tsconfig.node.json +15 -0
  27. package/vite.config.ts +26 -0
  28. package/.browserslistrc +0 -3
  29. package/.eslintrc.js +0 -37
  30. package/README.md +0 -81
  31. package/babel.config.js +0 -3
  32. package/dist/cjs/ProductListEntry.vue.d.ts +0 -7
  33. package/dist/cjs/RecommendationsEntry.vue.d.ts +0 -6
  34. package/dist/cjs/SearchBoxEntry.vue.d.ts +0 -7
  35. package/dist/cjs/SearchContainerEntry.vue.d.ts +0 -18
  36. package/dist/cjs/SearchResultsEntry.vue.d.ts +0 -7
  37. package/dist/cjs/components/common/ProductImage.vue.d.ts +0 -17
  38. package/dist/cjs/components/common/Spinner.vue.d.ts +0 -3
  39. package/dist/cjs/components/product-list/CategoryDescription.vue.d.ts +0 -7
  40. package/dist/cjs/components/product-list/CategoryFilter.vue.d.ts +0 -23
  41. package/dist/cjs/components/product-list/CategoryFilterItem.vue.d.ts +0 -11
  42. package/dist/cjs/components/product-list/CategoryTopFilters.vue.d.ts +0 -10
  43. package/dist/cjs/components/product-list/ProductList.vue.d.ts +0 -7
  44. package/dist/cjs/components/recommendations/Recommendations.vue.d.ts +0 -25
  45. package/dist/cjs/components/search-box/SearchBox.vue.d.ts +0 -75
  46. package/dist/cjs/components/search-box/SearchBoxInput.vue.d.ts +0 -25
  47. package/dist/cjs/components/search-box/SearchBoxMainPanel.vue.d.ts +0 -33
  48. package/dist/cjs/components/search-box/SearchBoxMoreResults.vue.d.ts +0 -11
  49. package/dist/cjs/components/search-box/__tests__/SearchBox.spec.d.ts +0 -1
  50. package/dist/cjs/components/search-box/__tests__/SearchBoxInput.spec.d.ts +0 -1
  51. package/dist/cjs/components/search-box/__tests__/SearchBoxMainPanel.spec.d.ts +0 -1
  52. package/dist/cjs/components/search-box/history/SearchBoxHistoryItem.vue.d.ts +0 -7
  53. package/dist/cjs/components/search-box/history/SearchBoxHistoryPanel.vue.d.ts +0 -23
  54. package/dist/cjs/components/search-box/history/__tests__/SearchBoxHistoryPanel.vue.spec.d.ts +0 -1
  55. package/dist/cjs/components/search-box/products/SearchBoxProduct.vue.d.ts +0 -28
  56. package/dist/cjs/components/search-box/products/SearchBoxProducts.vue.d.ts +0 -15
  57. package/dist/cjs/components/search-box/products/SearchBoxProductsWrapper.vue.d.ts +0 -32
  58. package/dist/cjs/components/search-box/products/__tests__/SearchBoxProduct.vue.spec.d.ts +0 -1
  59. package/dist/cjs/components/search-box/products/elements/SearchBoxProductCustom.vue.d.ts +0 -12
  60. package/dist/cjs/components/search-box/products/elements/SearchBoxProductDescription.vue.d.ts +0 -9
  61. package/dist/cjs/components/search-box/products/elements/SearchBoxProductElement.vue.d.ts +0 -15
  62. package/dist/cjs/components/search-box/products/elements/SearchBoxProductImage.vue.d.ts +0 -7
  63. package/dist/cjs/components/search-box/products/elements/SearchBoxProductPrice.vue.d.ts +0 -10
  64. package/dist/cjs/components/search-box/products/elements/SearchBoxProductRegularPrice.vue.d.ts +0 -10
  65. package/dist/cjs/components/search-box/products/elements/SearchBoxProductTitle.vue.d.ts +0 -9
  66. package/dist/cjs/components/search-box/products/elements/__tests__/SearchBoxProductCustom.vue.spec.d.ts +0 -1
  67. package/dist/cjs/components/search-box/products/elements/__tests__/SearchBoxProductElement.vue.spec.d.ts +0 -1
  68. package/dist/cjs/components/search-box/products/elements/__tests__/SearchBoxProductImage.spec.d.ts +0 -1
  69. package/dist/cjs/components/search-box/products/elements/__tests__/SearchBoxProductPrice.vue.spec.d.ts +0 -1
  70. package/dist/cjs/components/search-box/products/elements/__tests__/SearchBoxProductTitle.vue.spec.d.ts +0 -1
  71. package/dist/cjs/components/search-box/products/elements/custom/SearchBoxProductCustomHtml.vue.d.ts +0 -10
  72. package/dist/cjs/components/search-box/suggestions/SearchBoxSuggestion.vue.d.ts +0 -12
  73. package/dist/cjs/components/search-box/suggestions/SearchBoxSuggestions.vue.d.ts +0 -22
  74. package/dist/cjs/components/search-box/suggestions/SearchBoxSuggestionsWrapper.vue.d.ts +0 -28
  75. package/dist/cjs/components/search-box/suggestions/__tests__/Suggestions.spec.d.ts +0 -1
  76. package/dist/cjs/components/search-container/SearchContainer.vue.d.ts +0 -19
  77. package/dist/cjs/components/search-results/SearchResults.vue.d.ts +0 -85
  78. package/dist/cjs/components/search-results/SearchResultsBreadcrumbs.vue.d.ts +0 -10
  79. package/dist/cjs/components/search-results/SearchResultsDidYouMean.vue.d.ts +0 -19
  80. package/dist/cjs/components/search-results/SearchResultsTitle.vue.d.ts +0 -16
  81. package/dist/cjs/components/search-results/__tests__/SearchResults.spec.d.ts +0 -1
  82. package/dist/cjs/components/search-results/__tests__/SearchResultsBreadcrumbs.spec.d.ts +0 -1
  83. package/dist/cjs/components/search-results/additional-panels/AdditionalPanel.vue.d.ts +0 -25
  84. package/dist/cjs/components/search-results/additional-panels/AdditionalPanels.vue.d.ts +0 -11
  85. package/dist/cjs/components/search-results/additional-panels/__tests__/AdditionalPanels.vue.spec.d.ts +0 -1
  86. package/dist/cjs/components/search-results/filters/CurrentFilterDisplay.vue.d.ts +0 -6
  87. package/dist/cjs/components/search-results/filters/CurrentFilters.vue.d.ts +0 -37
  88. package/dist/cjs/components/search-results/filters/FiltersTopDropdown.vue.d.ts +0 -5
  89. package/dist/cjs/components/search-results/filters/MobileFilterSidebar.vue.d.ts +0 -14
  90. package/dist/cjs/components/search-results/filters/SearchResultsFilters.vue.d.ts +0 -10
  91. package/dist/cjs/components/search-results/filters/__tests__/CurrentFilterDisplay.vue.spec.d.ts +0 -1
  92. package/dist/cjs/components/search-results/filters/__tests__/CurrentFilters.vue.spec.d.ts +0 -1
  93. package/dist/cjs/components/search-results/filters/facets/FacetDisplay.vue.d.ts +0 -29
  94. package/dist/cjs/components/search-results/filters/facets/FacetList.vue.d.ts +0 -14
  95. package/dist/cjs/components/search-results/filters/facets/Facets.vue.d.ts +0 -31
  96. package/dist/cjs/components/search-results/filters/facets/HierarchyFacet.vue.d.ts +0 -21
  97. package/dist/cjs/components/search-results/filters/facets/HierarchyFacetLevel.vue.d.ts +0 -12
  98. package/dist/cjs/components/search-results/filters/facets/StatsFacet.vue.d.ts +0 -38
  99. package/dist/cjs/components/search-results/filters/facets/TermFacet.vue.d.ts +0 -20
  100. package/dist/cjs/components/search-results/filters/facets/__tests__/FacetDisplay.vue.spec.d.ts +0 -1
  101. package/dist/cjs/components/search-results/filters/facets/__tests__/FacetList.vue.spec.d.ts +0 -1
  102. package/dist/cjs/components/search-results/filters/facets/__tests__/HierarchyFacet.vue.spec.d.ts +0 -1
  103. package/dist/cjs/components/search-results/filters/facets/__tests__/StatsFacet.vue.spec.d.ts +0 -1
  104. package/dist/cjs/components/search-results/filters/facets/__tests__/TermFacet.vue.spec.d.ts +0 -1
  105. package/dist/cjs/components/search-results/products/SearchResultsLayoutSelection.vue.d.ts +0 -8
  106. package/dist/cjs/components/search-results/products/SearchResultsMobileToggle.vue.d.ts +0 -10
  107. package/dist/cjs/components/search-results/products/SearchResultsProducts.vue.d.ts +0 -35
  108. package/dist/cjs/components/search-results/products/SearchResultsSummary.vue.d.ts +0 -8
  109. package/dist/cjs/components/search-results/products/SearchResultsToolbar.vue.d.ts +0 -30
  110. package/dist/cjs/components/search-results/products/__tests__/SearchResultsLayoutSelection.spec.d.ts +0 -1
  111. package/dist/cjs/components/search-results/products/__tests__/SearchResultsProducts.spec.d.ts +0 -1
  112. package/dist/cjs/components/search-results/products/__tests__/SearchResultsToolbar.spec.d.ts +0 -1
  113. package/dist/cjs/components/search-results/products/pagination/SearchResultsPageSelect.vue.d.ts +0 -28
  114. package/dist/cjs/components/search-results/products/pagination/SearchResultsPageSize.vue.d.ts +0 -19
  115. package/dist/cjs/components/search-results/products/pagination/__tests__/SearchResultsPageSelect.spec.d.ts +0 -1
  116. package/dist/cjs/components/search-results/products/pagination/__tests__/SearchResultsPageSize.spec.d.ts +0 -1
  117. package/dist/cjs/components/search-results/products/product-card/SearchResultsProductCard.vue.d.ts +0 -48
  118. package/dist/cjs/components/search-results/products/product-card/__tests__/SearchResultsBadgeWrapper.spec.d.ts +0 -1
  119. package/dist/cjs/components/search-results/products/product-card/__tests__/SearchResultsProductCard.spec.d.ts +0 -1
  120. package/dist/cjs/components/search-results/products/product-card/badges/CustomBadge.vue.d.ts +0 -7
  121. package/dist/cjs/components/search-results/products/product-card/badges/ImageBadge.vue.d.ts +0 -8
  122. package/dist/cjs/components/search-results/products/product-card/badges/SearchResultGeneratedBadge.vue.d.ts +0 -11
  123. package/dist/cjs/components/search-results/products/product-card/badges/SearchResultGeneratedBadges.vue.d.ts +0 -9
  124. package/dist/cjs/components/search-results/products/product-card/badges/SearchResultsBadgeWrapper.vue.d.ts +0 -11
  125. package/dist/cjs/components/search-results/products/product-card/badges/TextBadge.vue.d.ts +0 -7
  126. package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductAddToCart.vue.d.ts +0 -12
  127. package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductCardElement.vue.d.ts +0 -20
  128. package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductCustom.vue.d.ts +0 -14
  129. package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductDescription.vue.d.ts +0 -10
  130. package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductImage.vue.d.ts +0 -7
  131. package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductPrice.vue.d.ts +0 -10
  132. package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductRating.vue.d.ts +0 -13
  133. package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductRegularPrice.vue.d.ts +0 -10
  134. package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductSingleStarRating.vue.d.ts +0 -11
  135. package/dist/cjs/components/search-results/products/product-card/elements/SearchResultsProductTitle.vue.d.ts +0 -15
  136. package/dist/cjs/components/search-results/products/product-card/elements/__tests__/SearchResultsProductAddToCart.spec.d.ts +0 -1
  137. package/dist/cjs/components/search-results/products/product-card/elements/__tests__/SearchResultsProductCustom.spec.d.ts +0 -1
  138. package/dist/cjs/components/search-results/products/product-card/elements/__tests__/SearchResultsProductCustomHtmlElement.spec.d.ts +0 -1
  139. package/dist/cjs/components/search-results/products/product-card/elements/__tests__/SearchResultsProductDescription.spec.d.ts +0 -1
  140. package/dist/cjs/components/search-results/products/product-card/elements/__tests__/SearchResultsProductImage.spec.d.ts +0 -1
  141. package/dist/cjs/components/search-results/products/product-card/elements/__tests__/SearchResultsProductPrice.spec.d.ts +0 -1
  142. package/dist/cjs/components/search-results/products/product-card/elements/__tests__/SearchResultsProductRating.spec.d.ts +0 -1
  143. package/dist/cjs/components/search-results/products/product-card/elements/__tests__/SearchResultsProductTitle.spec.d.ts +0 -1
  144. package/dist/cjs/components/search-results/products/product-card/elements/custom/SearchResultsProductCustomHtmlElement.vue.d.ts +0 -10
  145. package/dist/cjs/components/search-results/products/similar-queries/SearchResultsSimilarQueries.vue.d.ts +0 -19
  146. package/dist/cjs/components/search-results/products/similar-queries/SimilarQueryText.vue.d.ts +0 -10
  147. package/dist/cjs/components/search-results/products/sort/SearchResultsSort.vue.d.ts +0 -23
  148. package/dist/cjs/components/search-results/products/sort/__tests__/SearchResultsSort.spec.d.ts +0 -1
  149. package/dist/cjs/constants/development/recommendations.example.const.d.ts +0 -2
  150. package/dist/cjs/constants/development/searchBoxDev.example.const.d.ts +0 -30
  151. package/dist/cjs/constants/development/searchContainerDev.example.d.ts +0 -2
  152. package/dist/cjs/constants/development/searchProductListDev.example.d.ts +0 -28
  153. package/dist/cjs/constants/development/searchResultsDev.example.const.d.ts +0 -117
  154. package/dist/cjs/constants/global.const.d.ts +0 -17
  155. package/dist/cjs/constants/mockData..const.d.ts +0 -4
  156. package/dist/cjs/constants/queryParams.const.d.ts +0 -26
  157. package/dist/cjs/constants/searchBox.const.d.ts +0 -48
  158. package/dist/cjs/constants/searchResults.const.d.ts +0 -107
  159. package/dist/cjs/index-iife.d.ts +0 -26
  160. package/dist/cjs/index.d.ts +0 -30
  161. package/dist/cjs/index.min.js +0 -41377
  162. package/dist/cjs/main.d.ts +0 -1
  163. package/dist/cjs/store/__tests__/history.spec.d.ts +0 -1
  164. package/dist/cjs/store/__tests__/params.spec.d.ts +0 -1
  165. package/dist/cjs/store/__tests__/searchBox.spec.d.ts +0 -1
  166. package/dist/cjs/store/__tests__/searchResult.spec.d.ts +0 -1
  167. package/dist/cjs/store/index.d.ts +0 -2
  168. package/dist/cjs/store/modules/dynamicData.d.ts +0 -22
  169. package/dist/cjs/store/modules/history.d.ts +0 -13
  170. package/dist/cjs/store/modules/options.d.ts +0 -31
  171. package/dist/cjs/store/modules/params.d.ts +0 -63
  172. package/dist/cjs/store/modules/searchBox.d.ts +0 -66
  173. package/dist/cjs/store/modules/searchResult.d.ts +0 -69
  174. package/dist/cjs/store/modules/tracking.d.ts +0 -19
  175. package/dist/cjs/store/types/State.d.ts +0 -38
  176. package/dist/cjs/types/AnalyticsOptions.d.ts +0 -14
  177. package/dist/cjs/types/DocumentElement.d.ts +0 -91
  178. package/dist/cjs/types/General.d.ts +0 -20
  179. package/dist/cjs/types/product-list/ProductListOptions.d.ts +0 -29
  180. package/dist/cjs/types/recommendations/RecommendationsOptions.d.ts +0 -25
  181. package/dist/cjs/types/search-box/Common.d.ts +0 -51
  182. package/dist/cjs/types/search-box/SearchBoxHistory.d.ts +0 -6
  183. package/dist/cjs/types/search-box/SearchBoxOptions.d.ts +0 -36
  184. package/dist/cjs/types/search-box/SearchBoxPanel.d.ts +0 -28
  185. package/dist/cjs/types/search-container/SearchContainerOptions.d.ts +0 -15
  186. package/dist/cjs/types/search-results/BadgeOptions.d.ts +0 -61
  187. package/dist/cjs/types/search-results/FacetAction.d.ts +0 -16
  188. package/dist/cjs/types/search-results/Filters.d.ts +0 -9
  189. package/dist/cjs/types/search-results/PaginationOptions.d.ts +0 -20
  190. package/dist/cjs/types/search-results/QueryParams.d.ts +0 -4
  191. package/dist/cjs/types/search-results/ResultsLayout.d.ts +0 -5
  192. package/dist/cjs/types/search-results/RoutingBehavior.d.ts +0 -1
  193. package/dist/cjs/types/search-results/SearchResultsAdditionalPanelOptions.d.ts +0 -15
  194. package/dist/cjs/types/search-results/SearchResultsOptions.d.ts +0 -177
  195. package/dist/cjs/types/search-results/SearchResultsPagination.d.ts +0 -21
  196. package/dist/cjs/types/search-results/SearchResultsProductCardOptions.d.ts +0 -24
  197. package/dist/cjs/types/search-results/SearchResultsSort.d.ts +0 -11
  198. package/dist/cjs/utils/__tests__/debounce.utils.spec.d.ts +0 -1
  199. package/dist/cjs/utils/__tests__/event.utils.spec.d.ts +0 -1
  200. package/dist/cjs/utils/__tests__/filter.toggle.utils.spec.d.ts +0 -1
  201. package/dist/cjs/utils/__tests__/filter.utils.spec.d.ts +0 -1
  202. package/dist/cjs/utils/__tests__/history.utils.spec.d.ts +0 -1
  203. package/dist/cjs/utils/__tests__/link.utils.spec.d.ts +0 -1
  204. package/dist/cjs/utils/__tests__/params.utils.spec.d.ts +0 -1
  205. package/dist/cjs/utils/__tests__/picker.utils.spec.d.ts +0 -1
  206. package/dist/cjs/utils/__tests__/price.utils.spec.d.ts +0 -1
  207. package/dist/cjs/utils/__tests__/query.utils.spec.d.ts +0 -1
  208. package/dist/cjs/utils/__tests__/string.utils.spec.d.ts +0 -1
  209. package/dist/cjs/utils/__tests__/suggestion.utils.spec.d.ts +0 -1
  210. package/dist/cjs/utils/__tests__/tracking.utils.spec.d.ts +0 -1
  211. package/dist/cjs/utils/debounce.utils.d.ts +0 -1
  212. package/dist/cjs/utils/document.utils.d.ts +0 -1
  213. package/dist/cjs/utils/event.utils.d.ts +0 -2
  214. package/dist/cjs/utils/filter.toggle.utils.d.ts +0 -23
  215. package/dist/cjs/utils/filter.utils.d.ts +0 -11
  216. package/dist/cjs/utils/history.utils.d.ts +0 -2
  217. package/dist/cjs/utils/link.utils.d.ts +0 -6
  218. package/dist/cjs/utils/merger.utils.d.ts +0 -1
  219. package/dist/cjs/utils/params.utils.d.ts +0 -9
  220. package/dist/cjs/utils/picker.utils.d.ts +0 -5
  221. package/dist/cjs/utils/price.utils.d.ts +0 -2
  222. package/dist/cjs/utils/query.utils.d.ts +0 -5
  223. package/dist/cjs/utils/routing.utils.d.ts +0 -6
  224. package/dist/cjs/utils/scroll.utils.d.ts +0 -4
  225. package/dist/cjs/utils/shadowDom.utils.d.ts +0 -11
  226. package/dist/cjs/utils/string.utils.d.ts +0 -9
  227. package/dist/cjs/utils/suggestion.utils.d.ts +0 -3
  228. package/dist/cjs/utils/tracking.utils.d.ts +0 -9
  229. package/dist/containerStyle.js +0 -1
  230. package/dist/es/ProductListEntry.vue.d.ts +0 -7
  231. package/dist/es/RecommendationsEntry.vue.d.ts +0 -6
  232. package/dist/es/SearchBoxEntry.vue.d.ts +0 -7
  233. package/dist/es/SearchContainerEntry.vue.d.ts +0 -18
  234. package/dist/es/SearchResultsEntry.vue.d.ts +0 -7
  235. package/dist/es/components/common/ProductImage.vue.d.ts +0 -17
  236. package/dist/es/components/common/Spinner.vue.d.ts +0 -3
  237. package/dist/es/components/product-list/CategoryDescription.vue.d.ts +0 -7
  238. package/dist/es/components/product-list/CategoryFilter.vue.d.ts +0 -23
  239. package/dist/es/components/product-list/CategoryFilterItem.vue.d.ts +0 -11
  240. package/dist/es/components/product-list/CategoryTopFilters.vue.d.ts +0 -10
  241. package/dist/es/components/product-list/ProductList.vue.d.ts +0 -7
  242. package/dist/es/components/recommendations/Recommendations.vue.d.ts +0 -25
  243. package/dist/es/components/search-box/SearchBox.vue.d.ts +0 -75
  244. package/dist/es/components/search-box/SearchBoxInput.vue.d.ts +0 -25
  245. package/dist/es/components/search-box/SearchBoxMainPanel.vue.d.ts +0 -33
  246. package/dist/es/components/search-box/SearchBoxMoreResults.vue.d.ts +0 -11
  247. package/dist/es/components/search-box/__tests__/SearchBox.spec.d.ts +0 -1
  248. package/dist/es/components/search-box/__tests__/SearchBoxInput.spec.d.ts +0 -1
  249. package/dist/es/components/search-box/__tests__/SearchBoxMainPanel.spec.d.ts +0 -1
  250. package/dist/es/components/search-box/history/SearchBoxHistoryItem.vue.d.ts +0 -7
  251. package/dist/es/components/search-box/history/SearchBoxHistoryPanel.vue.d.ts +0 -23
  252. package/dist/es/components/search-box/history/__tests__/SearchBoxHistoryPanel.vue.spec.d.ts +0 -1
  253. package/dist/es/components/search-box/products/SearchBoxProduct.vue.d.ts +0 -28
  254. package/dist/es/components/search-box/products/SearchBoxProducts.vue.d.ts +0 -15
  255. package/dist/es/components/search-box/products/SearchBoxProductsWrapper.vue.d.ts +0 -32
  256. package/dist/es/components/search-box/products/__tests__/SearchBoxProduct.vue.spec.d.ts +0 -1
  257. package/dist/es/components/search-box/products/elements/SearchBoxProductCustom.vue.d.ts +0 -12
  258. package/dist/es/components/search-box/products/elements/SearchBoxProductDescription.vue.d.ts +0 -9
  259. package/dist/es/components/search-box/products/elements/SearchBoxProductElement.vue.d.ts +0 -15
  260. package/dist/es/components/search-box/products/elements/SearchBoxProductImage.vue.d.ts +0 -7
  261. package/dist/es/components/search-box/products/elements/SearchBoxProductPrice.vue.d.ts +0 -10
  262. package/dist/es/components/search-box/products/elements/SearchBoxProductRegularPrice.vue.d.ts +0 -10
  263. package/dist/es/components/search-box/products/elements/SearchBoxProductTitle.vue.d.ts +0 -9
  264. package/dist/es/components/search-box/products/elements/__tests__/SearchBoxProductCustom.vue.spec.d.ts +0 -1
  265. package/dist/es/components/search-box/products/elements/__tests__/SearchBoxProductElement.vue.spec.d.ts +0 -1
  266. package/dist/es/components/search-box/products/elements/__tests__/SearchBoxProductImage.spec.d.ts +0 -1
  267. package/dist/es/components/search-box/products/elements/__tests__/SearchBoxProductPrice.vue.spec.d.ts +0 -1
  268. package/dist/es/components/search-box/products/elements/__tests__/SearchBoxProductTitle.vue.spec.d.ts +0 -1
  269. package/dist/es/components/search-box/products/elements/custom/SearchBoxProductCustomHtml.vue.d.ts +0 -10
  270. package/dist/es/components/search-box/suggestions/SearchBoxSuggestion.vue.d.ts +0 -12
  271. package/dist/es/components/search-box/suggestions/SearchBoxSuggestions.vue.d.ts +0 -22
  272. package/dist/es/components/search-box/suggestions/SearchBoxSuggestionsWrapper.vue.d.ts +0 -28
  273. package/dist/es/components/search-box/suggestions/__tests__/Suggestions.spec.d.ts +0 -1
  274. package/dist/es/components/search-container/SearchContainer.vue.d.ts +0 -19
  275. package/dist/es/components/search-results/SearchResults.vue.d.ts +0 -85
  276. package/dist/es/components/search-results/SearchResultsBreadcrumbs.vue.d.ts +0 -10
  277. package/dist/es/components/search-results/SearchResultsDidYouMean.vue.d.ts +0 -19
  278. package/dist/es/components/search-results/SearchResultsTitle.vue.d.ts +0 -16
  279. package/dist/es/components/search-results/__tests__/SearchResults.spec.d.ts +0 -1
  280. package/dist/es/components/search-results/__tests__/SearchResultsBreadcrumbs.spec.d.ts +0 -1
  281. package/dist/es/components/search-results/additional-panels/AdditionalPanel.vue.d.ts +0 -25
  282. package/dist/es/components/search-results/additional-panels/AdditionalPanels.vue.d.ts +0 -11
  283. package/dist/es/components/search-results/additional-panels/__tests__/AdditionalPanels.vue.spec.d.ts +0 -1
  284. package/dist/es/components/search-results/filters/CurrentFilterDisplay.vue.d.ts +0 -6
  285. package/dist/es/components/search-results/filters/CurrentFilters.vue.d.ts +0 -37
  286. package/dist/es/components/search-results/filters/FiltersTopDropdown.vue.d.ts +0 -5
  287. package/dist/es/components/search-results/filters/MobileFilterSidebar.vue.d.ts +0 -14
  288. package/dist/es/components/search-results/filters/SearchResultsFilters.vue.d.ts +0 -10
  289. package/dist/es/components/search-results/filters/__tests__/CurrentFilterDisplay.vue.spec.d.ts +0 -1
  290. package/dist/es/components/search-results/filters/__tests__/CurrentFilters.vue.spec.d.ts +0 -1
  291. package/dist/es/components/search-results/filters/facets/FacetDisplay.vue.d.ts +0 -29
  292. package/dist/es/components/search-results/filters/facets/FacetList.vue.d.ts +0 -14
  293. package/dist/es/components/search-results/filters/facets/Facets.vue.d.ts +0 -31
  294. package/dist/es/components/search-results/filters/facets/HierarchyFacet.vue.d.ts +0 -21
  295. package/dist/es/components/search-results/filters/facets/HierarchyFacetLevel.vue.d.ts +0 -12
  296. package/dist/es/components/search-results/filters/facets/StatsFacet.vue.d.ts +0 -38
  297. package/dist/es/components/search-results/filters/facets/TermFacet.vue.d.ts +0 -20
  298. package/dist/es/components/search-results/filters/facets/__tests__/FacetDisplay.vue.spec.d.ts +0 -1
  299. package/dist/es/components/search-results/filters/facets/__tests__/FacetList.vue.spec.d.ts +0 -1
  300. package/dist/es/components/search-results/filters/facets/__tests__/HierarchyFacet.vue.spec.d.ts +0 -1
  301. package/dist/es/components/search-results/filters/facets/__tests__/StatsFacet.vue.spec.d.ts +0 -1
  302. package/dist/es/components/search-results/filters/facets/__tests__/TermFacet.vue.spec.d.ts +0 -1
  303. package/dist/es/components/search-results/products/SearchResultsLayoutSelection.vue.d.ts +0 -8
  304. package/dist/es/components/search-results/products/SearchResultsMobileToggle.vue.d.ts +0 -10
  305. package/dist/es/components/search-results/products/SearchResultsProducts.vue.d.ts +0 -35
  306. package/dist/es/components/search-results/products/SearchResultsSummary.vue.d.ts +0 -8
  307. package/dist/es/components/search-results/products/SearchResultsToolbar.vue.d.ts +0 -30
  308. package/dist/es/components/search-results/products/__tests__/SearchResultsLayoutSelection.spec.d.ts +0 -1
  309. package/dist/es/components/search-results/products/__tests__/SearchResultsProducts.spec.d.ts +0 -1
  310. package/dist/es/components/search-results/products/__tests__/SearchResultsToolbar.spec.d.ts +0 -1
  311. package/dist/es/components/search-results/products/pagination/SearchResultsPageSelect.vue.d.ts +0 -28
  312. package/dist/es/components/search-results/products/pagination/SearchResultsPageSize.vue.d.ts +0 -19
  313. package/dist/es/components/search-results/products/pagination/__tests__/SearchResultsPageSelect.spec.d.ts +0 -1
  314. package/dist/es/components/search-results/products/pagination/__tests__/SearchResultsPageSize.spec.d.ts +0 -1
  315. package/dist/es/components/search-results/products/product-card/SearchResultsProductCard.vue.d.ts +0 -48
  316. package/dist/es/components/search-results/products/product-card/__tests__/SearchResultsBadgeWrapper.spec.d.ts +0 -1
  317. package/dist/es/components/search-results/products/product-card/__tests__/SearchResultsProductCard.spec.d.ts +0 -1
  318. package/dist/es/components/search-results/products/product-card/badges/CustomBadge.vue.d.ts +0 -7
  319. package/dist/es/components/search-results/products/product-card/badges/ImageBadge.vue.d.ts +0 -8
  320. package/dist/es/components/search-results/products/product-card/badges/SearchResultGeneratedBadge.vue.d.ts +0 -11
  321. package/dist/es/components/search-results/products/product-card/badges/SearchResultGeneratedBadges.vue.d.ts +0 -9
  322. package/dist/es/components/search-results/products/product-card/badges/SearchResultsBadgeWrapper.vue.d.ts +0 -11
  323. package/dist/es/components/search-results/products/product-card/badges/TextBadge.vue.d.ts +0 -7
  324. package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductAddToCart.vue.d.ts +0 -12
  325. package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductCardElement.vue.d.ts +0 -20
  326. package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductCustom.vue.d.ts +0 -14
  327. package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductDescription.vue.d.ts +0 -10
  328. package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductImage.vue.d.ts +0 -7
  329. package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductPrice.vue.d.ts +0 -10
  330. package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductRating.vue.d.ts +0 -13
  331. package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductRegularPrice.vue.d.ts +0 -10
  332. package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductSingleStarRating.vue.d.ts +0 -11
  333. package/dist/es/components/search-results/products/product-card/elements/SearchResultsProductTitle.vue.d.ts +0 -15
  334. package/dist/es/components/search-results/products/product-card/elements/__tests__/SearchResultsProductAddToCart.spec.d.ts +0 -1
  335. package/dist/es/components/search-results/products/product-card/elements/__tests__/SearchResultsProductCustom.spec.d.ts +0 -1
  336. package/dist/es/components/search-results/products/product-card/elements/__tests__/SearchResultsProductCustomHtmlElement.spec.d.ts +0 -1
  337. package/dist/es/components/search-results/products/product-card/elements/__tests__/SearchResultsProductDescription.spec.d.ts +0 -1
  338. package/dist/es/components/search-results/products/product-card/elements/__tests__/SearchResultsProductImage.spec.d.ts +0 -1
  339. package/dist/es/components/search-results/products/product-card/elements/__tests__/SearchResultsProductPrice.spec.d.ts +0 -1
  340. package/dist/es/components/search-results/products/product-card/elements/__tests__/SearchResultsProductRating.spec.d.ts +0 -1
  341. package/dist/es/components/search-results/products/product-card/elements/__tests__/SearchResultsProductTitle.spec.d.ts +0 -1
  342. package/dist/es/components/search-results/products/product-card/elements/custom/SearchResultsProductCustomHtmlElement.vue.d.ts +0 -10
  343. package/dist/es/components/search-results/products/similar-queries/SearchResultsSimilarQueries.vue.d.ts +0 -19
  344. package/dist/es/components/search-results/products/similar-queries/SimilarQueryText.vue.d.ts +0 -10
  345. package/dist/es/components/search-results/products/sort/SearchResultsSort.vue.d.ts +0 -23
  346. package/dist/es/components/search-results/products/sort/__tests__/SearchResultsSort.spec.d.ts +0 -1
  347. package/dist/es/constants/development/recommendations.example.const.d.ts +0 -2
  348. package/dist/es/constants/development/searchBoxDev.example.const.d.ts +0 -30
  349. package/dist/es/constants/development/searchContainerDev.example.d.ts +0 -2
  350. package/dist/es/constants/development/searchProductListDev.example.d.ts +0 -28
  351. package/dist/es/constants/development/searchResultsDev.example.const.d.ts +0 -117
  352. package/dist/es/constants/global.const.d.ts +0 -17
  353. package/dist/es/constants/mockData..const.d.ts +0 -4
  354. package/dist/es/constants/searchBox.const.d.ts +0 -48
  355. package/dist/es/constants/searchResults.const.d.ts +0 -107
  356. package/dist/es/index-iife.d.ts +0 -26
  357. package/dist/es/index.d.ts +0 -30
  358. package/dist/es/index.min.js +0 -41373
  359. package/dist/es/main.d.ts +0 -1
  360. package/dist/es/store/__tests__/history.spec.d.ts +0 -1
  361. package/dist/es/store/__tests__/params.spec.d.ts +0 -1
  362. package/dist/es/store/__tests__/searchBox.spec.d.ts +0 -1
  363. package/dist/es/store/__tests__/searchResult.spec.d.ts +0 -1
  364. package/dist/es/store/index.d.ts +0 -2
  365. package/dist/es/store/modules/dynamicData.d.ts +0 -22
  366. package/dist/es/store/modules/history.d.ts +0 -13
  367. package/dist/es/store/modules/options.d.ts +0 -31
  368. package/dist/es/store/modules/params.d.ts +0 -63
  369. package/dist/es/store/modules/searchBox.d.ts +0 -66
  370. package/dist/es/store/modules/searchResult.d.ts +0 -69
  371. package/dist/es/store/modules/tracking.d.ts +0 -19
  372. package/dist/es/store/types/State.d.ts +0 -38
  373. package/dist/es/types/AnalyticsOptions.d.ts +0 -14
  374. package/dist/es/types/DocumentElement.d.ts +0 -91
  375. package/dist/es/types/General.d.ts +0 -20
  376. package/dist/es/types/product-list/ProductListOptions.d.ts +0 -29
  377. package/dist/es/types/recommendations/RecommendationsOptions.d.ts +0 -25
  378. package/dist/es/types/search-box/Common.d.ts +0 -51
  379. package/dist/es/types/search-box/SearchBoxHistory.d.ts +0 -6
  380. package/dist/es/types/search-box/SearchBoxOptions.d.ts +0 -36
  381. package/dist/es/types/search-box/SearchBoxPanel.d.ts +0 -28
  382. package/dist/es/types/search-container/SearchContainerOptions.d.ts +0 -15
  383. package/dist/es/types/search-results/BadgeOptions.d.ts +0 -61
  384. package/dist/es/types/search-results/FacetAction.d.ts +0 -16
  385. package/dist/es/types/search-results/Filters.d.ts +0 -9
  386. package/dist/es/types/search-results/PaginationOptions.d.ts +0 -20
  387. package/dist/es/types/search-results/QueryParams.d.ts +0 -4
  388. package/dist/es/types/search-results/ResultsLayout.d.ts +0 -5
  389. package/dist/es/types/search-results/RoutingBehavior.d.ts +0 -1
  390. package/dist/es/types/search-results/SearchResultsAdditionalPanelOptions.d.ts +0 -15
  391. package/dist/es/types/search-results/SearchResultsOptions.d.ts +0 -177
  392. package/dist/es/types/search-results/SearchResultsPagination.d.ts +0 -21
  393. package/dist/es/types/search-results/SearchResultsProductCardOptions.d.ts +0 -24
  394. package/dist/es/types/search-results/SearchResultsSort.d.ts +0 -11
  395. package/dist/es/utils/__tests__/debounce.utils.spec.d.ts +0 -1
  396. package/dist/es/utils/__tests__/event.utils.spec.d.ts +0 -1
  397. package/dist/es/utils/__tests__/filter.toggle.utils.spec.d.ts +0 -1
  398. package/dist/es/utils/__tests__/filter.utils.spec.d.ts +0 -1
  399. package/dist/es/utils/__tests__/history.utils.spec.d.ts +0 -1
  400. package/dist/es/utils/__tests__/link.utils.spec.d.ts +0 -1
  401. package/dist/es/utils/__tests__/params.utils.spec.d.ts +0 -1
  402. package/dist/es/utils/__tests__/picker.utils.spec.d.ts +0 -1
  403. package/dist/es/utils/__tests__/price.utils.spec.d.ts +0 -1
  404. package/dist/es/utils/__tests__/query.utils.spec.d.ts +0 -1
  405. package/dist/es/utils/__tests__/string.utils.spec.d.ts +0 -1
  406. package/dist/es/utils/__tests__/suggestion.utils.spec.d.ts +0 -1
  407. package/dist/es/utils/__tests__/tracking.utils.spec.d.ts +0 -1
  408. package/dist/es/utils/debounce.utils.d.ts +0 -1
  409. package/dist/es/utils/document.utils.d.ts +0 -1
  410. package/dist/es/utils/event.utils.d.ts +0 -2
  411. package/dist/es/utils/filter.toggle.utils.d.ts +0 -23
  412. package/dist/es/utils/filter.utils.d.ts +0 -11
  413. package/dist/es/utils/history.utils.d.ts +0 -2
  414. package/dist/es/utils/link.utils.d.ts +0 -6
  415. package/dist/es/utils/merger.utils.d.ts +0 -1
  416. package/dist/es/utils/params.utils.d.ts +0 -9
  417. package/dist/es/utils/picker.utils.d.ts +0 -5
  418. package/dist/es/utils/price.utils.d.ts +0 -2
  419. package/dist/es/utils/query.utils.d.ts +0 -5
  420. package/dist/es/utils/routing.utils.d.ts +0 -6
  421. package/dist/es/utils/scroll.utils.d.ts +0 -4
  422. package/dist/es/utils/shadowDom.utils.d.ts +0 -11
  423. package/dist/es/utils/string.utils.d.ts +0 -9
  424. package/dist/es/utils/suggestion.utils.d.ts +0 -3
  425. package/dist/es/utils/tracking.utils.d.ts +0 -9
  426. package/dist/iife/ProductListEntry.vue.d.ts +0 -7
  427. package/dist/iife/RecommendationsEntry.vue.d.ts +0 -6
  428. package/dist/iife/SearchBoxEntry.vue.d.ts +0 -7
  429. package/dist/iife/SearchContainerEntry.vue.d.ts +0 -18
  430. package/dist/iife/SearchResultsEntry.vue.d.ts +0 -7
  431. package/dist/iife/components/common/ProductImage.vue.d.ts +0 -17
  432. package/dist/iife/components/common/Spinner.vue.d.ts +0 -3
  433. package/dist/iife/components/product-list/CategoryDescription.vue.d.ts +0 -7
  434. package/dist/iife/components/product-list/CategoryFilter.vue.d.ts +0 -23
  435. package/dist/iife/components/product-list/CategoryFilterItem.vue.d.ts +0 -11
  436. package/dist/iife/components/product-list/CategoryTopFilters.vue.d.ts +0 -10
  437. package/dist/iife/components/product-list/ProductList.vue.d.ts +0 -7
  438. package/dist/iife/components/recommendations/Recommendations.vue.d.ts +0 -25
  439. package/dist/iife/components/search-box/SearchBox.vue.d.ts +0 -75
  440. package/dist/iife/components/search-box/SearchBoxInput.vue.d.ts +0 -25
  441. package/dist/iife/components/search-box/SearchBoxMainPanel.vue.d.ts +0 -33
  442. package/dist/iife/components/search-box/SearchBoxMoreResults.vue.d.ts +0 -11
  443. package/dist/iife/components/search-box/__tests__/SearchBox.spec.d.ts +0 -1
  444. package/dist/iife/components/search-box/__tests__/SearchBoxInput.spec.d.ts +0 -1
  445. package/dist/iife/components/search-box/__tests__/SearchBoxMainPanel.spec.d.ts +0 -1
  446. package/dist/iife/components/search-box/history/SearchBoxHistoryItem.vue.d.ts +0 -7
  447. package/dist/iife/components/search-box/history/SearchBoxHistoryPanel.vue.d.ts +0 -23
  448. package/dist/iife/components/search-box/history/__tests__/SearchBoxHistoryPanel.vue.spec.d.ts +0 -1
  449. package/dist/iife/components/search-box/products/SearchBoxProduct.vue.d.ts +0 -28
  450. package/dist/iife/components/search-box/products/SearchBoxProducts.vue.d.ts +0 -15
  451. package/dist/iife/components/search-box/products/SearchBoxProductsWrapper.vue.d.ts +0 -32
  452. package/dist/iife/components/search-box/products/__tests__/SearchBoxProduct.vue.spec.d.ts +0 -1
  453. package/dist/iife/components/search-box/products/elements/SearchBoxProductCustom.vue.d.ts +0 -12
  454. package/dist/iife/components/search-box/products/elements/SearchBoxProductDescription.vue.d.ts +0 -9
  455. package/dist/iife/components/search-box/products/elements/SearchBoxProductElement.vue.d.ts +0 -15
  456. package/dist/iife/components/search-box/products/elements/SearchBoxProductImage.vue.d.ts +0 -7
  457. package/dist/iife/components/search-box/products/elements/SearchBoxProductPrice.vue.d.ts +0 -10
  458. package/dist/iife/components/search-box/products/elements/SearchBoxProductRegularPrice.vue.d.ts +0 -10
  459. package/dist/iife/components/search-box/products/elements/SearchBoxProductTitle.vue.d.ts +0 -9
  460. package/dist/iife/components/search-box/products/elements/__tests__/SearchBoxProductCustom.vue.spec.d.ts +0 -1
  461. package/dist/iife/components/search-box/products/elements/__tests__/SearchBoxProductElement.vue.spec.d.ts +0 -1
  462. package/dist/iife/components/search-box/products/elements/__tests__/SearchBoxProductImage.spec.d.ts +0 -1
  463. package/dist/iife/components/search-box/products/elements/__tests__/SearchBoxProductPrice.vue.spec.d.ts +0 -1
  464. package/dist/iife/components/search-box/products/elements/__tests__/SearchBoxProductTitle.vue.spec.d.ts +0 -1
  465. package/dist/iife/components/search-box/products/elements/custom/SearchBoxProductCustomHtml.vue.d.ts +0 -10
  466. package/dist/iife/components/search-box/suggestions/SearchBoxSuggestion.vue.d.ts +0 -12
  467. package/dist/iife/components/search-box/suggestions/SearchBoxSuggestions.vue.d.ts +0 -22
  468. package/dist/iife/components/search-box/suggestions/SearchBoxSuggestionsWrapper.vue.d.ts +0 -28
  469. package/dist/iife/components/search-box/suggestions/__tests__/Suggestions.spec.d.ts +0 -1
  470. package/dist/iife/components/search-container/SearchContainer.vue.d.ts +0 -19
  471. package/dist/iife/components/search-results/SearchResults.vue.d.ts +0 -85
  472. package/dist/iife/components/search-results/SearchResultsBreadcrumbs.vue.d.ts +0 -10
  473. package/dist/iife/components/search-results/SearchResultsDidYouMean.vue.d.ts +0 -19
  474. package/dist/iife/components/search-results/SearchResultsTitle.vue.d.ts +0 -16
  475. package/dist/iife/components/search-results/__tests__/SearchResults.spec.d.ts +0 -1
  476. package/dist/iife/components/search-results/__tests__/SearchResultsBreadcrumbs.spec.d.ts +0 -1
  477. package/dist/iife/components/search-results/additional-panels/AdditionalPanel.vue.d.ts +0 -25
  478. package/dist/iife/components/search-results/additional-panels/AdditionalPanels.vue.d.ts +0 -11
  479. package/dist/iife/components/search-results/additional-panels/__tests__/AdditionalPanels.vue.spec.d.ts +0 -1
  480. package/dist/iife/components/search-results/filters/CurrentFilterDisplay.vue.d.ts +0 -6
  481. package/dist/iife/components/search-results/filters/CurrentFilters.vue.d.ts +0 -37
  482. package/dist/iife/components/search-results/filters/FiltersTopDropdown.vue.d.ts +0 -5
  483. package/dist/iife/components/search-results/filters/MobileFilterSidebar.vue.d.ts +0 -14
  484. package/dist/iife/components/search-results/filters/SearchResultsFilters.vue.d.ts +0 -10
  485. package/dist/iife/components/search-results/filters/__tests__/CurrentFilterDisplay.vue.spec.d.ts +0 -1
  486. package/dist/iife/components/search-results/filters/__tests__/CurrentFilters.vue.spec.d.ts +0 -1
  487. package/dist/iife/components/search-results/filters/facets/FacetDisplay.vue.d.ts +0 -29
  488. package/dist/iife/components/search-results/filters/facets/FacetList.vue.d.ts +0 -14
  489. package/dist/iife/components/search-results/filters/facets/Facets.vue.d.ts +0 -31
  490. package/dist/iife/components/search-results/filters/facets/HierarchyFacet.vue.d.ts +0 -21
  491. package/dist/iife/components/search-results/filters/facets/HierarchyFacetLevel.vue.d.ts +0 -12
  492. package/dist/iife/components/search-results/filters/facets/StatsFacet.vue.d.ts +0 -38
  493. package/dist/iife/components/search-results/filters/facets/TermFacet.vue.d.ts +0 -20
  494. package/dist/iife/components/search-results/filters/facets/__tests__/FacetDisplay.vue.spec.d.ts +0 -1
  495. package/dist/iife/components/search-results/filters/facets/__tests__/FacetList.vue.spec.d.ts +0 -1
  496. package/dist/iife/components/search-results/filters/facets/__tests__/HierarchyFacet.vue.spec.d.ts +0 -1
  497. package/dist/iife/components/search-results/filters/facets/__tests__/StatsFacet.vue.spec.d.ts +0 -1
  498. package/dist/iife/components/search-results/filters/facets/__tests__/TermFacet.vue.spec.d.ts +0 -1
  499. package/dist/iife/components/search-results/products/SearchResultsLayoutSelection.vue.d.ts +0 -8
  500. package/dist/iife/components/search-results/products/SearchResultsMobileToggle.vue.d.ts +0 -10
  501. package/dist/iife/components/search-results/products/SearchResultsProducts.vue.d.ts +0 -35
  502. package/dist/iife/components/search-results/products/SearchResultsSummary.vue.d.ts +0 -8
  503. package/dist/iife/components/search-results/products/SearchResultsToolbar.vue.d.ts +0 -30
  504. package/dist/iife/components/search-results/products/__tests__/SearchResultsLayoutSelection.spec.d.ts +0 -1
  505. package/dist/iife/components/search-results/products/__tests__/SearchResultsProducts.spec.d.ts +0 -1
  506. package/dist/iife/components/search-results/products/__tests__/SearchResultsToolbar.spec.d.ts +0 -1
  507. package/dist/iife/components/search-results/products/pagination/SearchResultsPageSelect.vue.d.ts +0 -28
  508. package/dist/iife/components/search-results/products/pagination/SearchResultsPageSize.vue.d.ts +0 -19
  509. package/dist/iife/components/search-results/products/pagination/__tests__/SearchResultsPageSelect.spec.d.ts +0 -1
  510. package/dist/iife/components/search-results/products/pagination/__tests__/SearchResultsPageSize.spec.d.ts +0 -1
  511. package/dist/iife/components/search-results/products/product-card/SearchResultsProductCard.vue.d.ts +0 -48
  512. package/dist/iife/components/search-results/products/product-card/__tests__/SearchResultsBadgeWrapper.spec.d.ts +0 -1
  513. package/dist/iife/components/search-results/products/product-card/__tests__/SearchResultsProductCard.spec.d.ts +0 -1
  514. package/dist/iife/components/search-results/products/product-card/badges/CustomBadge.vue.d.ts +0 -7
  515. package/dist/iife/components/search-results/products/product-card/badges/ImageBadge.vue.d.ts +0 -8
  516. package/dist/iife/components/search-results/products/product-card/badges/SearchResultGeneratedBadge.vue.d.ts +0 -11
  517. package/dist/iife/components/search-results/products/product-card/badges/SearchResultGeneratedBadges.vue.d.ts +0 -9
  518. package/dist/iife/components/search-results/products/product-card/badges/SearchResultsBadgeWrapper.vue.d.ts +0 -11
  519. package/dist/iife/components/search-results/products/product-card/badges/TextBadge.vue.d.ts +0 -7
  520. package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductAddToCart.vue.d.ts +0 -12
  521. package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductCardElement.vue.d.ts +0 -20
  522. package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductCustom.vue.d.ts +0 -14
  523. package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductDescription.vue.d.ts +0 -10
  524. package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductImage.vue.d.ts +0 -7
  525. package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductPrice.vue.d.ts +0 -10
  526. package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductRating.vue.d.ts +0 -13
  527. package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductRegularPrice.vue.d.ts +0 -10
  528. package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductSingleStarRating.vue.d.ts +0 -11
  529. package/dist/iife/components/search-results/products/product-card/elements/SearchResultsProductTitle.vue.d.ts +0 -15
  530. package/dist/iife/components/search-results/products/product-card/elements/__tests__/SearchResultsProductAddToCart.spec.d.ts +0 -1
  531. package/dist/iife/components/search-results/products/product-card/elements/__tests__/SearchResultsProductCustom.spec.d.ts +0 -1
  532. package/dist/iife/components/search-results/products/product-card/elements/__tests__/SearchResultsProductCustomHtmlElement.spec.d.ts +0 -1
  533. package/dist/iife/components/search-results/products/product-card/elements/__tests__/SearchResultsProductDescription.spec.d.ts +0 -1
  534. package/dist/iife/components/search-results/products/product-card/elements/__tests__/SearchResultsProductImage.spec.d.ts +0 -1
  535. package/dist/iife/components/search-results/products/product-card/elements/__tests__/SearchResultsProductPrice.spec.d.ts +0 -1
  536. package/dist/iife/components/search-results/products/product-card/elements/__tests__/SearchResultsProductRating.spec.d.ts +0 -1
  537. package/dist/iife/components/search-results/products/product-card/elements/__tests__/SearchResultsProductTitle.spec.d.ts +0 -1
  538. package/dist/iife/components/search-results/products/product-card/elements/custom/SearchResultsProductCustomHtmlElement.vue.d.ts +0 -10
  539. package/dist/iife/components/search-results/products/similar-queries/SearchResultsSimilarQueries.vue.d.ts +0 -19
  540. package/dist/iife/components/search-results/products/similar-queries/SimilarQueryText.vue.d.ts +0 -10
  541. package/dist/iife/components/search-results/products/sort/SearchResultsSort.vue.d.ts +0 -23
  542. package/dist/iife/components/search-results/products/sort/__tests__/SearchResultsSort.spec.d.ts +0 -1
  543. package/dist/iife/constants/development/recommendations.example.const.d.ts +0 -2
  544. package/dist/iife/constants/development/searchBoxDev.example.const.d.ts +0 -30
  545. package/dist/iife/constants/development/searchContainerDev.example.d.ts +0 -2
  546. package/dist/iife/constants/development/searchProductListDev.example.d.ts +0 -28
  547. package/dist/iife/constants/development/searchResultsDev.example.const.d.ts +0 -117
  548. package/dist/iife/constants/global.const.d.ts +0 -17
  549. package/dist/iife/constants/mockData..const.d.ts +0 -4
  550. package/dist/iife/constants/queryParams.const.d.ts +0 -26
  551. package/dist/iife/index-iife.d.ts +0 -26
  552. package/dist/iife/index.d.ts +0 -30
  553. package/dist/iife/index.min.js +0 -1
  554. package/dist/iife/main.d.ts +0 -1
  555. package/dist/iife/store/__tests__/history.spec.d.ts +0 -1
  556. package/dist/iife/store/__tests__/params.spec.d.ts +0 -1
  557. package/dist/iife/store/__tests__/searchBox.spec.d.ts +0 -1
  558. package/dist/iife/store/__tests__/searchResult.spec.d.ts +0 -1
  559. package/dist/iife/store/index.d.ts +0 -2
  560. package/dist/iife/store/modules/dynamicData.d.ts +0 -22
  561. package/dist/iife/store/modules/history.d.ts +0 -13
  562. package/dist/iife/store/modules/options.d.ts +0 -31
  563. package/dist/iife/store/modules/params.d.ts +0 -63
  564. package/dist/iife/store/modules/searchBox.d.ts +0 -66
  565. package/dist/iife/store/modules/searchResult.d.ts +0 -69
  566. package/dist/iife/store/modules/tracking.d.ts +0 -19
  567. package/dist/iife/store/types/State.d.ts +0 -38
  568. package/dist/iife/types/AnalyticsOptions.d.ts +0 -14
  569. package/dist/iife/types/DocumentElement.d.ts +0 -91
  570. package/dist/iife/types/General.d.ts +0 -20
  571. package/dist/iife/types/product-list/ProductListOptions.d.ts +0 -29
  572. package/dist/iife/types/recommendations/RecommendationsOptions.d.ts +0 -25
  573. package/dist/iife/types/search-box/Common.d.ts +0 -51
  574. package/dist/iife/types/search-box/SearchBoxHistory.d.ts +0 -6
  575. package/dist/iife/types/search-box/SearchBoxOptions.d.ts +0 -36
  576. package/dist/iife/types/search-box/SearchBoxPanel.d.ts +0 -28
  577. package/dist/iife/types/search-container/SearchContainerOptions.d.ts +0 -15
  578. package/dist/iife/types/search-results/BadgeOptions.d.ts +0 -61
  579. package/dist/iife/types/search-results/FacetAction.d.ts +0 -16
  580. package/dist/iife/types/search-results/Filters.d.ts +0 -9
  581. package/dist/iife/types/search-results/PaginationOptions.d.ts +0 -20
  582. package/dist/iife/types/search-results/QueryParams.d.ts +0 -4
  583. package/dist/iife/types/search-results/ResultsLayout.d.ts +0 -5
  584. package/dist/iife/types/search-results/RoutingBehavior.d.ts +0 -1
  585. package/dist/iife/types/search-results/SearchResultsAdditionalPanelOptions.d.ts +0 -15
  586. package/dist/iife/types/search-results/SearchResultsOptions.d.ts +0 -177
  587. package/dist/iife/types/search-results/SearchResultsPagination.d.ts +0 -21
  588. package/dist/iife/types/search-results/SearchResultsProductCardOptions.d.ts +0 -24
  589. package/dist/iife/types/search-results/SearchResultsSort.d.ts +0 -11
  590. package/dist/iife/utils/__tests__/debounce.utils.spec.d.ts +0 -1
  591. package/dist/iife/utils/__tests__/event.utils.spec.d.ts +0 -1
  592. package/dist/iife/utils/__tests__/filter.toggle.utils.spec.d.ts +0 -1
  593. package/dist/iife/utils/__tests__/filter.utils.spec.d.ts +0 -1
  594. package/dist/iife/utils/__tests__/history.utils.spec.d.ts +0 -1
  595. package/dist/iife/utils/__tests__/link.utils.spec.d.ts +0 -1
  596. package/dist/iife/utils/__tests__/params.utils.spec.d.ts +0 -1
  597. package/dist/iife/utils/__tests__/picker.utils.spec.d.ts +0 -1
  598. package/dist/iife/utils/__tests__/price.utils.spec.d.ts +0 -1
  599. package/dist/iife/utils/__tests__/query.utils.spec.d.ts +0 -1
  600. package/dist/iife/utils/__tests__/string.utils.spec.d.ts +0 -1
  601. package/dist/iife/utils/__tests__/suggestion.utils.spec.d.ts +0 -1
  602. package/dist/iife/utils/__tests__/tracking.utils.spec.d.ts +0 -1
  603. package/dist/iife/utils/debounce.utils.d.ts +0 -1
  604. package/dist/iife/utils/document.utils.d.ts +0 -1
  605. package/dist/iife/utils/event.utils.d.ts +0 -2
  606. package/dist/iife/utils/filter.toggle.utils.d.ts +0 -23
  607. package/dist/iife/utils/filter.utils.d.ts +0 -11
  608. package/dist/iife/utils/history.utils.d.ts +0 -2
  609. package/dist/iife/utils/link.utils.d.ts +0 -6
  610. package/dist/iife/utils/merger.utils.d.ts +0 -1
  611. package/dist/iife/utils/params.utils.d.ts +0 -9
  612. package/dist/iife/utils/picker.utils.d.ts +0 -5
  613. package/dist/iife/utils/price.utils.d.ts +0 -2
  614. package/dist/iife/utils/query.utils.d.ts +0 -5
  615. package/dist/iife/utils/routing.utils.d.ts +0 -6
  616. package/dist/iife/utils/scroll.utils.d.ts +0 -4
  617. package/dist/iife/utils/string.utils.d.ts +0 -9
  618. package/dist/iife/utils/suggestion.utils.d.ts +0 -3
  619. package/dist/iife/utils/tracking.utils.d.ts +0 -9
  620. package/dist/lupaContainerStyle.css +0 -1
  621. package/jest.config.js +0 -22
  622. package/vue-carousel.d.ts +0 -1
@@ -1,61 +0,0 @@
1
- import { AnchorPosition } from "./SearchResultsProductCardOptions";
2
- export declare type SearchResultBadgeType = "text" | "image" | "customHtml";
3
- export declare type BadgeGenerateSeed = {
4
- id?: string;
5
- backgroundColor?: string;
6
- color?: string;
7
- titleText?: string;
8
- additionalText?: string;
9
- };
10
- export declare type BadgeGenerateOptions<T = Record<string, any>> = {
11
- key?: string;
12
- keyMap?: Record<keyof BadgeGenerateSeed, keyof T>;
13
- image?: (field: BadgeGenerateSeed) => string | undefined;
14
- showTitle?: (field: BadgeGenerateSeed) => boolean;
15
- customClass?: (field: BadgeGenerateSeed) => string | undefined;
16
- };
17
- export declare type BadgeOptions = {
18
- anchor: AnchorPosition;
19
- elements: BadgeElement[];
20
- generate?: BadgeGenerateOptions;
21
- product?: any;
22
- };
23
- export declare type SearchResultBadgeElement<T = any> = {
24
- type: SearchResultBadgeType;
25
- key: string;
26
- isHtml?: boolean;
27
- className?: string;
28
- product?: T;
29
- display?: (document: T) => boolean;
30
- rootImageUrl?: string;
31
- maxItems?: number;
32
- html?: (doc: T) => string;
33
- position?: "card" | "image";
34
- };
35
- export declare type BaseBadgeElement<T = any> = SearchResultBadgeElement<T> & {
36
- value?: string;
37
- };
38
- export declare type TextBadgeElement<T = any> = BaseBadgeElement<T> & {
39
- type: "text";
40
- prefix?: string;
41
- maxItems?: number;
42
- };
43
- export declare type ImageBadgeElement<T = any> = BaseBadgeElement<T> & {
44
- type: "image";
45
- rootImageUrl?: string;
46
- maxItems?: number;
47
- };
48
- export declare type CustomHtmlBadgeElement<T = any> = BaseBadgeElement<T> & {
49
- type: "customHtml";
50
- className?: string;
51
- html: (doc: T) => string;
52
- };
53
- export declare type BadgeElement = BaseBadgeElement | TextBadgeElement;
54
- export declare enum BadgeType {
55
- DISCOUNTPERCENTAGE = "discountPercentage",
56
- DISCOUNTAMOUNT = "discountAmount",
57
- NEWITEM = "newItem",
58
- TEXT = "text",
59
- IMAGE = "image",
60
- CUSTOM_HTML = "customHtml"
61
- }
@@ -1,16 +0,0 @@
1
- export declare type TermFacetAction = {
2
- type: "terms";
3
- value: string;
4
- key: string;
5
- };
6
- export declare type HierarchyFacetAction = {
7
- type: "hierarchy";
8
- value: string;
9
- key: string;
10
- };
11
- export declare type RangeFacetAction = {
12
- type: "range";
13
- value: string[];
14
- key: string;
15
- };
16
- export declare type FacetAction = TermFacetAction | RangeFacetAction | HierarchyFacetAction;
@@ -1,9 +0,0 @@
1
- export declare type UnfoldedFilter = {
2
- key: string;
3
- value: string;
4
- type: FilterType;
5
- };
6
- export declare type LabeledFilter = UnfoldedFilter & {
7
- label: string;
8
- };
9
- export declare type FilterType = "terms" | "range" | "hierarchy";
@@ -1,20 +0,0 @@
1
- import { SearchResultsPaginationLabels } from "./SearchResultsPagination";
2
- export declare type PaginationOptions = {
3
- pageSize: PaginationPageSize;
4
- pageSelect: PaginationPageSelect;
5
- labels: SearchResultsPaginationLabels;
6
- };
7
- export declare type PaginationPageSize = {
8
- sizes: number[];
9
- selectedSize: number;
10
- };
11
- export declare type PaginationPageSelect = {
12
- count: number;
13
- selectedPage: number;
14
- display: number;
15
- displayMobile: number;
16
- };
17
- export declare type PaginationDisplay = {
18
- pageSize: boolean;
19
- pageSelect: boolean;
20
- };
@@ -1,4 +0,0 @@
1
- import { FilterGroup } from "@getlupa/client-sdk/Types";
2
- export declare type QueryParams = {
3
- filters?: FilterGroup;
4
- } & Record<string, string>;
@@ -1,5 +0,0 @@
1
- export declare type ResultsLayout = "Grid" | "List";
2
- export declare enum ResultsLayoutEnum {
3
- GRID = "Grid",
4
- LIST = "List"
5
- }
@@ -1 +0,0 @@
1
- export declare type RoutingBehavior = "direct-link" | "event";
@@ -1,15 +0,0 @@
1
- import { DocumentElement } from "../DocumentElement";
2
- export declare type SearchResultsAdditionalPanelOptions = {
3
- location: "top" | "bottom";
4
- queryKey: string;
5
- initialCountLimit: number;
6
- totalCountLimit: number;
7
- links?: {
8
- details: string;
9
- };
10
- labels: {
11
- showMore: string;
12
- showLess: string;
13
- };
14
- elements: DocumentElement[];
15
- };
@@ -1,177 +0,0 @@
1
- import { SdkOptions } from "../General";
2
- import { CategoryFilterOptions } from "../product-list/ProductListOptions";
3
- import { SearchResultsAdditionalPanelOptions } from "./SearchResultsAdditionalPanelOptions";
4
- import { SearchResultsProductCardOptions } from "./SearchResultsProductCardOptions";
5
- import { SearchResultsSortOptions } from "./SearchResultsSort";
6
- export declare type SearchResultsOptions = SearchResultsProductOptions & SearchResultsAdditionalPanels & {
7
- containerSelector: string;
8
- breadcrumbs: SearchResultsBreadcrumb[];
9
- classMap?: Record<string, string>;
10
- disallowEmptyQuery?: boolean;
11
- callbacks?: SearchResultEventCallbacks;
12
- categories?: CategoryFilterOptions;
13
- dynamicData?: DynamicData;
14
- };
15
- export declare type SearchTitlePosition = "page-top" | "search-results-top";
16
- export declare type SearchResultsDidYouMeanLabels = {
17
- noResultsSuggestion: string;
18
- didYouMean: string;
19
- };
20
- export declare type SearchResultsSimilarQueriesLabels = {
21
- similarQuery: string;
22
- similarQueries: string;
23
- aiSuggestions?: string;
24
- };
25
- export declare type CallbackContext = {
26
- queryKey: string;
27
- hasResults?: boolean;
28
- urlQueryString?: string;
29
- productId?: string;
30
- };
31
- export declare type SearchResultEventCallbacks = {
32
- onSearchResults?: (context: CallbackContext) => unknown;
33
- onAdditionalPanelResults?: (context: CallbackContext) => unknown;
34
- onCategoryFilterResults?: (context: CallbackContext) => unknown;
35
- onProductClick?: (context: CallbackContext) => unknown;
36
- onUrlQueryChange?: (context: CallbackContext) => unknown;
37
- onMounted?: () => unknown;
38
- };
39
- export declare type SearchResultsOptionLabels = SearchResultsPaginationLabels & SearchResultsDidYouMeanLabels & SearchResultsSimilarQueriesLabels & {
40
- sortBy: string;
41
- currency: string;
42
- priceSeparator?: string;
43
- searchResults?: string;
44
- itemCount: string;
45
- emptyResults: string;
46
- mobileFilterButton: string;
47
- htmlTitleTemplate: string;
48
- outOfStock?: string;
49
- noItemsInPage?: string;
50
- backToFirstPage?: string;
51
- };
52
- export declare type SearchResultsAdditionalPanels = {
53
- additionalPanels?: SearchResultsAdditionalPanelOptions[];
54
- };
55
- export declare type SearchResultsProductOptions = SearchResultsProductCardOptions & SearchResultsAdditionalPanels & {
56
- grid: ProductGrid;
57
- options: SdkOptions;
58
- queryKey: string;
59
- pagination: SearchResultsPagination;
60
- sort: SearchResultsSortOptions[];
61
- filters?: SearchResultsFilterOptions;
62
- searchTitlePosition?: string;
63
- toolbar?: {
64
- layoutSelector?: boolean;
65
- itemSummary?: boolean;
66
- clearFilters?: boolean;
67
- totalCount?: boolean;
68
- };
69
- };
70
- export declare type ProductGrid = {
71
- columns: {
72
- xl: number;
73
- l: number;
74
- md: number;
75
- sm: number;
76
- xs: number;
77
- };
78
- };
79
- export declare type SearchResultsPaginationLabels = {
80
- pageSize: string;
81
- showMore: string;
82
- showLess?: string;
83
- };
84
- export declare type ResponsiveSearchResultPageSizes = {
85
- xs: number[];
86
- sm: number[];
87
- md: number[];
88
- l: number[];
89
- xl: number[];
90
- };
91
- export declare type SearchResultPageSizes = number[] | ResponsiveSearchResultPageSizes;
92
- export declare type SearchResultsPagination = {
93
- sizeSelection: {
94
- sizes: SearchResultPageSizes;
95
- position: SearchResultsPaginationPosition;
96
- };
97
- pageSelection: {
98
- position: SearchResultsPaginationPosition;
99
- display: number;
100
- displayMobile: number;
101
- };
102
- };
103
- export declare type SearchResultsPaginationPosition = {
104
- top: boolean;
105
- bottom: boolean;
106
- };
107
- export declare type ResultCurrentFilterOptions = {
108
- labels: {
109
- title: string;
110
- clearAll: string;
111
- };
112
- visibility?: {
113
- mobileSidebar?: boolean;
114
- mobileToolbar?: boolean;
115
- desktopSidebar?: boolean;
116
- desktopToolbar?: boolean;
117
- };
118
- mobileSidebar?: {
119
- showFilterCount?: boolean;
120
- activeFiltersExpanded?: boolean;
121
- };
122
- desktopToolbar?: {
123
- activeFiltersExpanded?: boolean;
124
- };
125
- };
126
- export declare type FacetStyle = "sidebar" | "top-dropdown";
127
- export declare type FacetFilterQuery = {
128
- queryKey: string;
129
- };
130
- export declare type ResultFacetOptions = {
131
- labels: {
132
- title: string;
133
- showAll: string;
134
- showLess?: string;
135
- facetFilter: string;
136
- facetClear?: string;
137
- };
138
- promotedFacets?: string[];
139
- filterable?: {
140
- minValues: number;
141
- };
142
- hierarchy?: {
143
- maxInitialLevel: number;
144
- topLevelValueCountLimit?: number;
145
- filterable?: boolean;
146
- };
147
- stats?: {
148
- slider?: boolean;
149
- inputs?: boolean;
150
- labels?: {
151
- from?: string;
152
- to?: string;
153
- };
154
- };
155
- facetValueCountLimit?: number;
156
- showDocumentCount?: boolean;
157
- style?: {
158
- type: FacetStyle;
159
- };
160
- exclude?: string[];
161
- expand?: string[];
162
- facetFilterQueries?: Record<string, FacetFilterQuery>;
163
- };
164
- export declare type SearchResultsFilterOptions = {
165
- currentFilters?: ResultCurrentFilterOptions;
166
- facets?: ResultFacetOptions;
167
- categories?: CategoryFilterOptions;
168
- };
169
- export declare type SearchResultsBreadcrumb = {
170
- label: string;
171
- link?: string;
172
- };
173
- export declare type DynamicData = {
174
- enabled?: boolean;
175
- cache?: boolean;
176
- handler?: (documentIds: string[]) => Promise<Record<"id" | string, unknown>[]>;
177
- };
@@ -1,21 +0,0 @@
1
- export declare type SearchResultsPaginationLabels = {
2
- pageSize: string;
3
- showMore?: string;
4
- showLess?: string;
5
- itemCount: string;
6
- filteredItemCount?: string;
7
- };
8
- export declare type SearchResultsPagination = {
9
- sizeSelection: {
10
- sizes: number[];
11
- position: SearchResultsPaginationPosition;
12
- };
13
- pageSelection: {
14
- position: SearchResultsPaginationPosition;
15
- display: number;
16
- };
17
- };
18
- export declare type SearchResultsPaginationPosition = {
19
- top: boolean;
20
- bottom: boolean;
21
- };
@@ -1,24 +0,0 @@
1
- import { Document } from "@getlupa/client-sdk/Types";
2
- import { DocumentElement } from "../DocumentElement";
3
- import { BadgeElement, BadgeGenerateOptions } from "./BadgeOptions";
4
- import { RoutingBehavior } from "./RoutingBehavior";
5
- import { SearchResultsOptionLabels } from "./SearchResultsOptions";
6
- export declare type SearchResultsProductCardOptions = {
7
- labels: SearchResultsOptionLabels;
8
- routingBehavior?: RoutingBehavior;
9
- isInStock: (doc: Document) => boolean;
10
- badges: SearchResultBadgeOptions;
11
- links: {
12
- details: string;
13
- };
14
- elements: DocumentElement[];
15
- queryKey: string;
16
- idKey?: string;
17
- titleKey?: string;
18
- };
19
- export declare type SearchResultBadgeOptions = {
20
- anchor: AnchorPosition;
21
- elements: BadgeElement[];
22
- generate?: BadgeGenerateOptions;
23
- };
24
- export declare type AnchorPosition = "tr" | "tl";
@@ -1,11 +0,0 @@
1
- import { SortDirection } from "../General";
2
- export declare type SearchResultsSortOptions = {
3
- key: string;
4
- label: string;
5
- config: Record<string, SortDirection>[];
6
- default?: boolean;
7
- };
8
- export declare type SortOptions = {
9
- label: string;
10
- options: SearchResultsSortOptions[];
11
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export declare const debounce: (func: (...args: unknown[]) => unknown, timeout?: number | undefined) => (() => unknown);
@@ -1 +0,0 @@
1
- export declare const setDocumentTitle: (template: string, textToInsert?: string) => void;
@@ -1,2 +0,0 @@
1
- export declare const bindSearchTriggers: (triggers: string[] | undefined, event: () => unknown) => void;
2
- export declare const unbindSearchTriggers: (triggers: string[] | undefined, event: () => unknown) => void;
@@ -1,23 +0,0 @@
1
- import { HierarchyFacetAction, RangeFacetAction, TermFacetAction } from "@/types/search-results/FacetAction";
2
- import { FilterType } from "@/types/search-results/Filters";
3
- import { FilterGroup } from "@getlupa/client-sdk/Types";
4
- declare type AppendParams = ({ params, paramsToRemove, encode, }: {
5
- params: {
6
- name: string;
7
- value: string | string[];
8
- }[];
9
- paramsToRemove?: string[];
10
- encode?: boolean;
11
- }) => unknown;
12
- export declare const getFacetKey: (key: string, type: FilterType) => string;
13
- export declare const getFacetParam: (key: string, value: string[] | string, type?: string) => {
14
- name: string;
15
- value: string[] | string;
16
- };
17
- export declare const toggleTermFilter: (appendParams: AppendParams, facetAction: TermFacetAction, currentFilters?: FilterGroup | undefined) => void;
18
- export declare const toggleHierarchyFilter: (appendParams: AppendParams, facetAction: HierarchyFacetAction, currentFilters?: FilterGroup | undefined, removeAllLevels?: boolean) => void;
19
- export declare const toggleRangeFilter: (appendParams: AppendParams, facetAction: RangeFacetAction, currentFilters?: FilterGroup | undefined) => void;
20
- export declare const toggleTermParam: (params?: string[], param?: string) => string[];
21
- export declare const toggleLastPram: (params?: string[], param?: string) => string[];
22
- export declare const toggleHierarchyParam: (params?: string[], param?: string, removeAllLevels?: boolean) => string[];
23
- export {};
@@ -1,11 +0,0 @@
1
- import { LabeledFilter, UnfoldedFilter } from "@/types/search-results/Filters";
2
- import { FacetResult, FilterGroup, FilterGroupItemTypeRange, HierarchyTree } from "@getlupa/client-sdk/Types";
3
- export declare const formatRange: (filter: FilterGroupItemTypeRange) => string;
4
- export declare const unfoldFilters: (filters?: FilterGroup | undefined) => UnfoldedFilter[];
5
- export declare const getLabeledFilters: (filters: UnfoldedFilter[], facets?: FacetResult[] | undefined) => LabeledFilter[];
6
- export declare const isFacetKey: (key: string) => boolean;
7
- export declare const isArrayKey: (key: string) => boolean;
8
- export declare const getMostSpecificHierarchyTerms: (terms: string[]) => string[];
9
- export declare const recursiveFilter: (items: HierarchyTree[], query?: string) => HierarchyTree[];
10
- export declare const recursiveFilterItem: (item: HierarchyTree, query?: string) => HierarchyTree | undefined;
11
- export declare const rangeFilterToString: (rangeFilter: FilterGroupItemTypeRange, separator?: string | undefined) => string;
@@ -1,2 +0,0 @@
1
- export declare const retrieveHistory: () => string[];
2
- export declare const saveHistory: (items: string[]) => void;
@@ -1,6 +0,0 @@
1
- import { InputSuggestionFacet } from "@/types/search-box/Common";
2
- export declare const generateLink: (linkPattern: string, document: Record<string, unknown>) => string;
3
- export declare const generateResultLink: (link: string, searchText?: string | undefined, facet?: InputSuggestionFacet | undefined) => string;
4
- export declare const getPathName: (resultPageLink: string) => string;
5
- export declare const getRelativePath: (link: string) => string;
6
- export declare const linksMatch: (link1?: string | undefined, link2?: string | undefined) => boolean;
@@ -1 +0,0 @@
1
- export declare const merge: <A extends Record<string, any>, B extends Record<string, any>>(target: A, source: B) => A & B;
@@ -1,9 +0,0 @@
1
- import { QueryParams } from "@/types/search-results/QueryParams";
2
- export declare const parseParams: (searchParams?: URLSearchParams | undefined) => QueryParams;
3
- export declare const appendParam: (url: URL, { name, value }: {
4
- name: string;
5
- value: string | string[];
6
- }, encode?: boolean) => void;
7
- export declare const getRemovableParams: (url: URL, paramsToRemove?: string[] | "all" | undefined) => string[] | undefined;
8
- export declare const removeParams: (url: URL, params?: string[]) => void;
9
- export declare const encodeParam: (param: string) => string;
@@ -1,5 +0,0 @@
1
- export declare const pick: <T extends Record<string, unknown>, U extends keyof T>(obj: T, keys: U[]) => Pick<T, U>;
2
- export declare const getHint: (suggestion: string, inputValue: string) => string;
3
- export declare const reverseKeyValue: (obj: Record<string, string>) => Record<string, string>;
4
- export declare const pickClosestNumber: (numbers: number[], closestTo: number) => number;
5
- export declare const getPageCount: (total: number, limit: number) => number;
@@ -1,2 +0,0 @@
1
- export declare const formatPrice: (price?: string | number | undefined, currency?: string, separator?: string) => string;
2
- export declare const formatPriceSummary: ([min, max]: [min?: string | number | undefined, max?: string | number | undefined], currency?: string | undefined, separator?: string) => string;
@@ -1,5 +0,0 @@
1
- import { QueryParams } from "@/types/search-results/QueryParams";
2
- import { SearchResultsSortOptions } from "@/types/search-results/SearchResultsSort";
3
- import { FilterGroup, PublicQuery } from "@getlupa/client-sdk/Types";
4
- export declare const createPublicQuery: (queryParams: QueryParams, sortOptions?: SearchResultsSortOptions[] | undefined, defaultPageSize?: number | undefined) => PublicQuery;
5
- export declare const getPublicQuery: (publicQuery: PublicQuery, initialFilters: FilterGroup, isProductList: boolean) => PublicQuery;
@@ -1,6 +0,0 @@
1
- import { InputSuggestionFacet } from "@/types/search-box/Common";
2
- import { RoutingBehavior } from "..";
3
- export declare const emitRoutingEvent: (url: string) => void;
4
- export declare const handleRoutingEvent: (link: string, event?: Event | undefined, hasEventRouting?: boolean) => void;
5
- export declare const redirectToResultsPage: (link: string, searchText: string, facet?: InputSuggestionFacet | undefined, routingBehavior?: RoutingBehavior) => void;
6
- export declare const getPageUrl: (pathnameOverride?: string | undefined) => URL;
@@ -1,4 +0,0 @@
1
- export declare const scrollToSearchResults: (timeout?: number) => void;
2
- export declare const scrollTo: (elementId: string) => void;
3
- export declare const disableBodyScroll: () => void;
4
- export declare const enableBodyScroll: () => void;
@@ -1,9 +0,0 @@
1
- import { Document } from "@getlupa/client-sdk/Types";
2
- export declare const getNormalizedString: (str?: string | number | undefined) => string;
3
- export declare const capitalize: (str?: string | undefined) => string;
4
- export declare const addParamsToLabel: (label: string, ...params: unknown[]) => string;
5
- export declare const getRandomString: (length: number) => string;
6
- export declare const getDisplayValue: (value?: string | number | undefined) => string;
7
- export declare const getProductKey: (index: string, product: Document, idKey: string | undefined) => string;
8
- export declare const normalizeFloat: (value?: string | undefined) => number;
9
- export declare const escapeHtml: (value?: string | undefined) => string;
@@ -1,3 +0,0 @@
1
- import { DisplaySuggestion } from "@/types/search-box/Common";
2
- import { Suggestion } from "@getlupa/client-sdk/Types";
3
- export declare const flattenSuggestions: (suggestions: Suggestion[], inputValue: string) => DisplaySuggestion[];
@@ -1,9 +0,0 @@
1
- import { TrackingOptions } from "@/types/General";
2
- import { TrackableEventData } from "@/types/search-box/Common";
3
- import { Options } from "@getlupa/client-sdk/Types";
4
- export declare const initTracking: (options: TrackingOptions) => void;
5
- export declare const getLupaTrackingContext: () => {
6
- userId?: string;
7
- sessionId?: string;
8
- };
9
- export declare const track: (queryKey?: string | undefined, data?: TrackableEventData, options?: Options | undefined) => void;