@getlupa/client 0.16.2 → 1.0.3

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
package/dist/es/main.d.ts DELETED
@@ -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,2 +0,0 @@
1
- declare const _default: import("vuex").Store<any>;
2
- export default _default;
@@ -1,22 +0,0 @@
1
- import { SearchBoxOptions } from "@/types/search-box/SearchBoxOptions";
2
- import { DynamicData, SearchResultsOptions } from "@/types/search-results/SearchResultsOptions";
3
- import { Document, SearchQueryResult } from "@getlupa/client-sdk/Types";
4
- import { VuexModule } from "vuex-module-decorators";
5
- export default class DynamicDataModule extends VuexModule {
6
- loading: boolean;
7
- dynamicDataIdMap: Record<string, Document>;
8
- get loadedIds(): string[];
9
- get searchResultOptions(): SearchResultsOptions;
10
- get searchBoxOptions(): SearchBoxOptions;
11
- get dynamicSearchResultData(): DynamicData | undefined;
12
- get dynamicSearchBoxData(): DynamicData | undefined;
13
- get isDynamicDataEnabledForSearchResults(): boolean;
14
- get isDynamicDataEnabledForSearchBox(): boolean;
15
- get isCacheEnabled(): boolean;
16
- enhanceSearchResultsWithDynamicData({ result, mode, }: {
17
- result?: SearchQueryResult;
18
- mode?: "searchBox" | "searchResults";
19
- }): Promise<Record<string, Document>>;
20
- save(newData: Record<string, Document>): void;
21
- setLoading(state: boolean): void;
22
- }
@@ -1,13 +0,0 @@
1
- import { VuexModule } from "vuex-module-decorators";
2
- export default class HistoryModule extends VuexModule {
3
- items: string[];
4
- get count(): number;
5
- save(items: string[]): void;
6
- add({ item }: {
7
- item?: string;
8
- }): string[];
9
- remove({ item }: {
10
- item: string;
11
- }): string[];
12
- clear(): string[];
13
- }
@@ -1,31 +0,0 @@
1
- import { TrackingOptions } from "@/types/General";
2
- import { SearchBoxOptions } from "@/types/search-box/SearchBoxOptions";
3
- import { RoutingBehavior } from "@/types/search-results/RoutingBehavior";
4
- import { SearchResultsOptions } from "@/types/search-results/SearchResultsOptions";
5
- import { FilterGroup, Options } from "@getlupa/client-sdk/Types";
6
- import { VuexModule } from "vuex-module-decorators";
7
- export default class OptionsModule extends VuexModule {
8
- searchBoxOptions: SearchBoxOptions;
9
- searchResultOptions: SearchResultsOptions;
10
- trackingOptions: TrackingOptions;
11
- searchResultInitialFilters: FilterGroup;
12
- get envOptions(): Options;
13
- get classMap(): Record<string, string>;
14
- get initialFilters(): FilterGroup;
15
- get boxRoutingBehavior(): RoutingBehavior;
16
- get searchResultsRoutingBehavior(): RoutingBehavior;
17
- get defaultSearchResultPageSize(): number;
18
- get currentResolutionPageSizes(): number[];
19
- setSearchBoxOptions({ options }: {
20
- options: SearchBoxOptions;
21
- }): void;
22
- setTrackingOptions({ options }: {
23
- options: TrackingOptions;
24
- }): void;
25
- setSearchResultOptions({ options }: {
26
- options: SearchResultsOptions;
27
- }): void;
28
- setInitialFilters({ initialFilters }: {
29
- initialFilters: FilterGroup;
30
- }): void;
31
- }
@@ -1,63 +0,0 @@
1
- import { InputSuggestionFacet } from "@/types/search-box/Common";
2
- import { QueryParams } from "@/types/search-results/QueryParams";
3
- import { FilterGroup } from "@getlupa/client-sdk/Types";
4
- import { VuexModule } from "vuex-module-decorators";
5
- export default class ParamsModule extends VuexModule {
6
- params: QueryParams;
7
- defaultLimit: number;
8
- searchResultsLink: string;
9
- searchString: string;
10
- get query(): string;
11
- get page(): number;
12
- get limit(): number;
13
- get sort(): string | string[];
14
- get filters(): FilterGroup;
15
- save({ params, defaultLimit, searchResultsLink, searchString, }: {
16
- params?: QueryParams;
17
- defaultLimit?: number;
18
- searchResultsLink?: string;
19
- searchString?: string;
20
- }): void;
21
- add(params: QueryParams): {
22
- params: QueryParams;
23
- searchString?: string;
24
- };
25
- removeAllFilters(): {
26
- params: QueryParams;
27
- searchString: string;
28
- };
29
- removeParams({ paramsToRemove, save, }: {
30
- paramsToRemove?: "all" | string[];
31
- save: boolean;
32
- }): {
33
- params?: QueryParams;
34
- searchString?: string;
35
- };
36
- handleNoResultsFlag({ resultCount, noResultsParam, }: {
37
- resultCount: number;
38
- noResultsParam?: string;
39
- }): void;
40
- goToResults({ searchText, facet, }: {
41
- searchText: string;
42
- facet?: InputSuggestionFacet;
43
- }): void;
44
- appendParams({ params, paramsToRemove, encode, save, searchResultsLink, }: {
45
- params: {
46
- name: string;
47
- value: string;
48
- }[];
49
- paramsToRemove?: "all" | string[];
50
- encode?: boolean;
51
- save?: boolean;
52
- searchResultsLink?: string;
53
- }): {
54
- params?: QueryParams;
55
- searchString?: string;
56
- };
57
- setDefaultLimit(defaultLimit: number): {
58
- defaultLimit: number;
59
- };
60
- setSearchResultsLink(searchResultsLink: string): {
61
- searchResultsLink: string;
62
- };
63
- }
@@ -1,66 +0,0 @@
1
- import { SearchBoxOptions } from "@/types/search-box/SearchBoxOptions";
2
- import { PublicQuery, SearchQueryResult, Suggestion } from "@getlupa/client-sdk/Types";
3
- import { VuexModule } from "vuex-module-decorators";
4
- import { DisplaySuggestion, HighlightedDocInfo } from "@/types/search-box/Common";
5
- import { SearchBoxPanel } from "@/types/search-box/SearchBoxPanel";
6
- import { SdkOptions } from "@/types/General";
7
- export default class SearchBoxModule extends VuexModule {
8
- options: SearchBoxOptions;
9
- docResults: Record<string, SearchQueryResult>;
10
- suggestionResults: Record<string, DisplaySuggestion[]>;
11
- highlightedIndex: number;
12
- inputValue: string;
13
- saveOptions({ options }: {
14
- options: SearchBoxOptions;
15
- }): void;
16
- saveInputValue({ input }: {
17
- input: string;
18
- }): void;
19
- get resultsVisible(): boolean;
20
- get panelItemCounts(): {
21
- queryKey: string;
22
- count: number;
23
- panel: SearchBoxPanel;
24
- }[];
25
- get totalCount(): number;
26
- get highlightedItem(): {
27
- queryKey: string;
28
- index: number;
29
- panel: SearchBoxPanel;
30
- } | undefined;
31
- get highlightedDocument(): HighlightedDocInfo;
32
- saveSuggestions({ queryKey, suggestions, inputValue, }: {
33
- queryKey: string;
34
- suggestions?: Suggestion[];
35
- inputValue?: string;
36
- }): void;
37
- saveResults({ queryKey, result, }: {
38
- queryKey: string;
39
- result?: SearchQueryResult;
40
- }): void;
41
- saveHighlight({ highlightIndex }: {
42
- highlightIndex: number;
43
- }): void;
44
- querySuggestions({ queryKey, publicQuery, options, }: {
45
- queryKey: string;
46
- publicQuery: PublicQuery;
47
- options?: SdkOptions;
48
- }): Promise<{
49
- queryKey: string;
50
- suggestions?: Suggestion[];
51
- inputValue?: string;
52
- }>;
53
- queryDocuments({ queryKey, publicQuery, options, }: {
54
- queryKey: string;
55
- publicQuery: PublicQuery;
56
- options?: SdkOptions;
57
- }): Promise<{
58
- queryKey: string;
59
- result?: SearchQueryResult;
60
- }>;
61
- highlightChange({ action }: {
62
- action: "down" | "up" | "clear";
63
- }): {
64
- highlightIndex: number;
65
- };
66
- }
@@ -1,69 +0,0 @@
1
- import { ScreenSize } from "@/types/General";
2
- import { LabeledFilter } from "@/types/search-results/Filters";
3
- import { ResultsLayout } from "@/types/search-results/ResultsLayout";
4
- import { ProductGrid } from "@/types/search-results/SearchResultsOptions";
5
- import { FacetResult, FilterGroup, SearchQueryResult } from "@getlupa/client-sdk/Types";
6
- import { VuexModule } from "vuex-module-decorators";
7
- export default class SearchResultModule extends VuexModule {
8
- searchResult: SearchQueryResult;
9
- columnCount: number;
10
- addToCartAmount: number;
11
- layout: ResultsLayout;
12
- loading: boolean;
13
- isMobileSidebarVisible: boolean;
14
- screenWidth: number;
15
- get facets(): FacetResult[] | undefined;
16
- get currentFilters(): FilterGroup | undefined;
17
- get filters(): FilterGroup;
18
- get currentQueryText(): string;
19
- get totalItems(): number;
20
- get hasResults(): boolean;
21
- get labeledFilters(): LabeledFilter[];
22
- get displayFilters(): LabeledFilter[];
23
- get currentFilterCount(): number;
24
- get currentFilterKeys(): string[];
25
- get hasAnyFilter(): boolean;
26
- get itemRange(): number[];
27
- get isMobileWidth(): boolean;
28
- get currentScreenWidth(): ScreenSize;
29
- get isPageEmpty(): boolean;
30
- setSidebarState({ visible }: {
31
- visible: boolean;
32
- }): {
33
- visible: boolean;
34
- };
35
- setSidebarVisibility({ visible }: {
36
- visible: boolean;
37
- }): void;
38
- save({ searchResult, columnCount, addToCartAmount, layout, }: {
39
- searchResult?: SearchQueryResult;
40
- columnCount?: number;
41
- addToCartAmount?: number;
42
- layout?: ResultsLayout;
43
- }): void;
44
- queryFacet({ queryKey, facetKey, }: {
45
- queryKey: string;
46
- facetKey: string;
47
- }): Promise<void>;
48
- load(loading: boolean): void;
49
- setScreenWidth({ width }: {
50
- width: number;
51
- }): void;
52
- add(searchResult: SearchQueryResult): {
53
- searchResult: SearchQueryResult;
54
- pageSize: number;
55
- };
56
- setColumnCount({ width, grid }: {
57
- width: number;
58
- grid: ProductGrid;
59
- }): {
60
- columnCount: number;
61
- };
62
- setAddToCartAmount(addToCartAmount: number): {
63
- addToCartAmount: number;
64
- };
65
- setLayout(layout: ResultsLayout): {
66
- layout: ResultsLayout;
67
- };
68
- setLoading(loading: boolean): boolean;
69
- }
@@ -1,19 +0,0 @@
1
- import { AnalyticsEventType } from "@/types/AnalyticsOptions";
2
- import { TrackableEventData } from "@/types/search-box/Common";
3
- import { PublicQuery, SearchQueryResult } from "@getlupa/client-sdk/Types";
4
- import { VuexModule } from "vuex-module-decorators";
5
- export default class TrackingModule extends VuexModule {
6
- trackSearch({ queryKey, query, type, }: {
7
- queryKey: string;
8
- query: PublicQuery;
9
- type?: AnalyticsEventType;
10
- }): void;
11
- trackResults({ queryKey, results, }: {
12
- queryKey: string;
13
- results: SearchQueryResult;
14
- }): void;
15
- track({ queryKey, data, }: {
16
- queryKey: string;
17
- data: TrackableEventData;
18
- }): void;
19
- }
@@ -1,38 +0,0 @@
1
- import { SearchBoxOptions } from "@/types/search-box/SearchBoxOptions";
2
- import { QueryParams } from "@/types/search-results/QueryParams";
3
- import { SearchBoxPanelOptions } from "@/types/search-box/SearchBoxOptions";
4
- import { SearchQueryResult, Suggestion } from "@getlupa/client-sdk/Types";
5
- import { SearchResultsOptions } from "@/types/search-results/SearchResultsOptions";
6
- import { ResultsLayout } from "@/types/search-results/ResultsLayout";
7
- export declare type HistoryState = {
8
- items: string[];
9
- };
10
- export declare type SearchResultState = {
11
- searchResult: SearchQueryResult;
12
- columnCount: number;
13
- addToCartAmount: number;
14
- layout: ResultsLayout;
15
- loading: boolean;
16
- };
17
- export declare type ParamsState = {
18
- params: QueryParams;
19
- defaultLimit: number;
20
- };
21
- export declare type SearchBoxState = {
22
- docResults: Record<string, SearchQueryResult>;
23
- suggestionResults: Record<string, Suggestion[]>;
24
- options: SearchBoxPanelOptions;
25
- highlightedIndex: number;
26
- inputValue: string;
27
- };
28
- export declare type OptionsState = {
29
- searchBoxOptions: SearchBoxOptions;
30
- searchResultOptions: SearchResultsOptions;
31
- };
32
- export declare type RootState = {
33
- history: HistoryState;
34
- searchResult: SearchResultState;
35
- params: ParamsState;
36
- searchBox: SearchBoxState;
37
- options: OptionsState;
38
- };
@@ -1,14 +0,0 @@
1
- export declare const PARENT_EVENT_NAME = "GetLupa";
2
- export declare type AnalyticsEventType = "search_query" | "search_form_submit" | "autocomplete_suggestion_click" | "autocomplete_product_click" | "search_product_click" | "search_zero_results" | "search_filters" | "search_add_to_cart" | "view_item_list" | "select_item" | "product_recommendation_click";
3
- export declare type AnalyticsOptions = {
4
- type: "ua" | "ga4" | "debug";
5
- enabled: boolean;
6
- parentEventName: string;
7
- ignoreEvents?: AnalyticsEventType[];
8
- itemMap?: (item: Record<string, unknown>) => Record<string, unknown>;
9
- };
10
- export declare type ProductClickTrackingSettings = {
11
- eventType?: AnalyticsEventType;
12
- eventLabel?: string;
13
- listLabel?: string;
14
- };
@@ -1,91 +0,0 @@
1
- export declare enum DocumentElementType {
2
- IMAGE = "image",
3
- TITLE = "title",
4
- CUSTOM = "custom",
5
- DESCRIPTION = "description",
6
- PRICE = "price",
7
- REGULARPRICE = "regularPrice",
8
- RATING = "rating",
9
- SINGLE_STAR_RATING = "singleStarRating",
10
- ADDTOCART = "addToCart",
11
- CUSTOM_HTML = "customHtml"
12
- }
13
- export declare type DocumentElementBase<T = any> = {
14
- type: DocumentElementType;
15
- key?: string;
16
- display?: (document: T) => boolean;
17
- isHtml?: boolean;
18
- group?: string;
19
- dynamic?: boolean;
20
- };
21
- export declare type ImageDocumentElement<T = any> = DocumentElementBase<T> & {
22
- type: DocumentElementType.IMAGE;
23
- placeholder: string;
24
- baseUrl?: string;
25
- key: string;
26
- customUrl?: (document: T) => string;
27
- };
28
- export declare type TitleDocumentElement<T = any> = DocumentElementBase<T> & {
29
- type: DocumentElementType.TITLE;
30
- maxLines: number;
31
- link?: boolean;
32
- key: string;
33
- };
34
- export declare type DescriptionDocumentElement<T = any> = DocumentElementBase<T> & {
35
- type: DocumentElementType.DESCRIPTION;
36
- maxLines: number;
37
- key: string;
38
- className: string;
39
- };
40
- export declare type CustomDocumentElement<T = any> = DocumentElementBase<T> & {
41
- type: DocumentElementType.CUSTOM;
42
- maxLines?: number;
43
- className: string;
44
- key: string;
45
- label?: string;
46
- action?: (document: T) => Promise<unknown> | undefined;
47
- };
48
- export declare type PriceElement<T = any> = DocumentElementBase<T> & {
49
- type: DocumentElementType.PRICE;
50
- key: string;
51
- };
52
- export declare type RegularPriceDocumentElement<T = any> = DocumentElementBase<T> & {
53
- type: DocumentElementType.REGULARPRICE;
54
- key: string;
55
- };
56
- export declare type RatingElement<T = any> = DocumentElementBase<T> & {
57
- type: DocumentElementType.RATING;
58
- labels: RatingLabels;
59
- links: RatingLinks;
60
- totalKey: string;
61
- getRatingPercentage?: (doc: T) => number;
62
- key: string;
63
- };
64
- export declare type SingleStarRatingElement<T = any> = DocumentElementBase<T> & {
65
- type: DocumentElementType.SINGLE_STAR_RATING;
66
- labels: RatingLabels;
67
- links: RatingLinks;
68
- key: string;
69
- totalKey: string;
70
- displayRating: (doc: T) => string;
71
- };
72
- export declare type RatingLabels = {
73
- numberOfRatings: string;
74
- };
75
- export declare type RatingLinks = {
76
- ratingDetails?: string;
77
- };
78
- export declare type AddToCartElement<T = any> = DocumentElementBase<T> & {
79
- type: DocumentElementType.ADDTOCART;
80
- action: (document: T, amount: number) => Promise<unknown> | undefined;
81
- labels: {
82
- addToCart: string;
83
- };
84
- };
85
- export declare type CustomHtmlElement<T = any> = DocumentElementBase<T> & {
86
- type: DocumentElementType.CUSTOM_HTML;
87
- html: (document: T) => string;
88
- className: string;
89
- action?: (document: T) => Promise<unknown> | undefined;
90
- };
91
- export declare type DocumentElement = ImageDocumentElement | TitleDocumentElement | DescriptionDocumentElement | CustomDocumentElement | PriceElement | RegularPriceDocumentElement | RatingElement | SingleStarRatingElement | AddToCartElement | CustomHtmlElement;
@@ -1,20 +0,0 @@
1
- import { AnalyticsOptions } from "./AnalyticsOptions";
2
- import { Environment as SdkEnvironment } from "@getlupa/client-sdk/Types";
3
- export declare type SdkOptions = {
4
- environment: SdkEnvironment;
5
- customBaseUrl?: string;
6
- customUrl?: string;
7
- customPayload?: Record<string, unknown>;
8
- customHeaders?: Record<string, string>;
9
- onError?: (err: unknown) => unknown;
10
- };
11
- export declare type TrackingOptions = {
12
- trackBase?: boolean;
13
- trackSession?: boolean;
14
- trackUser?: boolean;
15
- userKey?: string;
16
- analytics?: AnalyticsOptions;
17
- };
18
- export declare type Environment = SdkEnvironment;
19
- export declare type SortDirection = "asc" | "desc";
20
- export declare type ScreenSize = "xs" | "sm" | "md" | "l" | "xl";
@@ -1,29 +0,0 @@
1
- import { FilterGroup } from "@getlupa/client-sdk/Types";
2
- import { RoutingBehavior } from "../search-results/RoutingBehavior";
3
- import { SearchResultsOptions } from "../search-results/SearchResultsOptions";
4
- export declare type CategoryFilterOptions = {
5
- queryKey?: string;
6
- routingBehavior?: RoutingBehavior;
7
- keys: {
8
- titleKey?: string;
9
- urlKey?: string;
10
- };
11
- filters?: Record<string, string[]>;
12
- back?: {
13
- url: string;
14
- title: string;
15
- };
16
- parent?: {
17
- url?: string;
18
- title?: string;
19
- };
20
- current?: {
21
- title?: string;
22
- description?: string;
23
- descriptionTop?: string;
24
- };
25
- };
26
- export declare type ProductListOptions = SearchResultsOptions & {
27
- initialFilters?: FilterGroup;
28
- categories?: CategoryFilterOptions;
29
- };
@@ -1,25 +0,0 @@
1
- import { SdkOptions } from "../General";
2
- import { SearchResultsProductCardOptions } from "../search-results/SearchResultsProductCardOptions";
3
- export declare type ProductRecommendationOptions = SearchResultsProductCardOptions & {
4
- options: SdkOptions;
5
- } & {
6
- containerSelector: string;
7
- queryKey: string;
8
- itemId: string;
9
- abTesting?: RecommendationABTestingOptions;
10
- carousel?: {
11
- pageSizes: number[][];
12
- nextLabel?: string;
13
- prevLabel?: string;
14
- scrollPerPage?: boolean;
15
- };
16
- };
17
- export declare type RecommendationABTestingOptions = {
18
- enabled: boolean;
19
- originalIds?: string[];
20
- events?: {
21
- lupaSearchEventName: string;
22
- originalEventName: string;
23
- };
24
- oldRecommenderDisplayRatio?: number;
25
- };
@@ -1,51 +0,0 @@
1
- import { Document, Suggestion, ReportableEventType } from "@getlupa/client-sdk/Types";
2
- import { AnalyticsEventType } from "../AnalyticsOptions";
3
- import { SearchBoxPanelType } from "./SearchBoxPanel";
4
- export declare type FetchedData = {
5
- items: Document[] | Suggestion[];
6
- type: SearchBoxPanelType;
7
- };
8
- export declare type InputSuggestion = {
9
- item: Suggestion;
10
- queryKey: string;
11
- override: boolean;
12
- facet?: InputSuggestionFacet;
13
- };
14
- export declare type InputSuggestionFacet = {
15
- label?: string;
16
- count?: number;
17
- key: string;
18
- title: string;
19
- };
20
- export declare type DisplaySuggestion = {
21
- suggestion: Suggestion;
22
- display: string;
23
- displayHighlight: string;
24
- facet?: InputSuggestionFacet;
25
- };
26
- export declare type SelectedData = {
27
- item: Document | InputSuggestion;
28
- type: SearchBoxPanelType;
29
- };
30
- export declare type TrackableEventData = {
31
- type?: ReportableEventType;
32
- searchQuery?: string;
33
- itemId?: string;
34
- analytics?: {
35
- type: AnalyticsEventType;
36
- label: string;
37
- listLabel?: string;
38
- items?: Record<string, unknown>[];
39
- itemId?: string;
40
- };
41
- options?: {
42
- allowEmptySearchQuery: boolean;
43
- };
44
- };
45
- export declare type HighlightedDocInfo = {
46
- doc?: Document;
47
- link?: string;
48
- queryKey?: string;
49
- id?: unknown;
50
- title?: string;
51
- };
@@ -1,6 +0,0 @@
1
- export declare type SearchBoxHistory = {
2
- labels: HistoryLabel;
3
- };
4
- export declare type HistoryLabel = {
5
- clear: string;
6
- };
@@ -1,36 +0,0 @@
1
- import { SdkOptions } from "../General";
2
- import { RoutingBehavior } from "../search-results/RoutingBehavior";
3
- import { DynamicData } from "../search-results/SearchResultsOptions";
4
- import { SearchBoxHistory } from "./SearchBoxHistory";
5
- import { SearchBoxPanel } from "./SearchBoxPanel";
6
- export declare type SearchBoxOptions = SearchBoxPanelOptions & {
7
- inputSelector: string;
8
- searchTriggers?: string[];
9
- routingBehavior?: RoutingBehavior;
10
- dynamicData?: DynamicData;
11
- };
12
- export declare type SearchBoxOptionLabels = {
13
- placeholder: string;
14
- noResults: string;
15
- moreResults: string;
16
- currency: string;
17
- priceSeparator?: string;
18
- defaultFacetLabel?: string;
19
- close?: string;
20
- };
21
- export declare type SearchBoxOptionLinks = {
22
- searchResults: string;
23
- };
24
- export declare type SearchBoxInputOptions = {
25
- minInputLength: number;
26
- labels: SearchBoxOptionLabels;
27
- links: SearchBoxOptionLinks;
28
- inputAttributes?: Record<string, string>;
29
- };
30
- export declare type SearchBoxPanelOptions = SearchBoxInputOptions & {
31
- history: SearchBoxHistory;
32
- panels: SearchBoxPanel[];
33
- options: SdkOptions;
34
- debounce?: number;
35
- showTotalCount?: boolean;
36
- };
@@ -1,28 +0,0 @@
1
- import { DocumentElement } from "../DocumentElement";
2
- export declare enum SearchBoxPanelType {
3
- SUGGESTION = "suggestion",
4
- DOCUMENT = "document"
5
- }
6
- export declare type SearchBoxPanelLinks = {
7
- details: string;
8
- };
9
- export declare type SearchBoxPanelBase = {
10
- type: SearchBoxPanelType;
11
- queryKey: string;
12
- limit: number;
13
- };
14
- export declare type DocumentSearchBoxPanel = SearchBoxPanelBase & {
15
- type: SearchBoxPanelType.DOCUMENT;
16
- links: SearchBoxPanelLinks;
17
- elements: DocumentElement[];
18
- titleKey?: string;
19
- idKey?: string;
20
- customClassName?: string;
21
- searchBySuggestion?: boolean;
22
- };
23
- export declare type SuggestionSearchBoxPanel = SearchBoxPanelBase & {
24
- type: SearchBoxPanelType.SUGGESTION;
25
- highlight: boolean;
26
- customClassName?: string;
27
- };
28
- export declare type SearchBoxPanel = DocumentSearchBoxPanel | SuggestionSearchBoxPanel;
@@ -1,15 +0,0 @@
1
- import { SearchBoxOptions } from "../search-box/SearchBoxOptions";
2
- import { SearchResultsOptions } from "../search-results/SearchResultsOptions";
3
- export declare type SearchContainerConfigOptions = {
4
- isOpenInitially?: boolean;
5
- styleLink?: string;
6
- layout?: {
7
- marginLeft?: number;
8
- };
9
- };
10
- export declare type SearchContainerOptions = {
11
- trigger: string;
12
- searchBox: SearchBoxOptions;
13
- searchResults: SearchResultsOptions;
14
- options?: SearchContainerConfigOptions;
15
- };