@empathyco/x-components 6.0.0-alpha.2 → 6.0.0-alpha.20

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 (335) hide show
  1. package/CHANGELOG.md +202 -1
  2. package/core/index.js +1 -0
  3. package/core/index.js.map +1 -1
  4. package/design-system/deprecated-full-theme.css +1555 -1555
  5. package/docs/API-reference/api/x-adapter-platform.md +9 -0
  6. package/docs/API-reference/api/x-adapter-platform.platformadapter.relatedprompts.md +11 -0
  7. package/docs/API-reference/api/x-adapter-platform.platformrelatedprompt.md +22 -0
  8. package/docs/API-reference/api/x-adapter-platform.platformrelatedprompt.nextqueries.md +11 -0
  9. package/docs/API-reference/api/x-adapter-platform.platformrelatedprompt.suggestiontext.md +11 -0
  10. package/docs/API-reference/api/x-adapter-platform.platformrelatedprompt.type.md +11 -0
  11. package/docs/API-reference/api/x-adapter-platform.platformrelatedpromptsrequest.md +15 -0
  12. package/docs/API-reference/api/x-adapter-platform.platformrelatedpromptsresponse.data.md +13 -0
  13. package/docs/API-reference/api/x-adapter-platform.platformrelatedpromptsresponse.md +21 -0
  14. package/docs/API-reference/api/x-adapter-platform.platformrelatedpromptsresponse.status.md +11 -0
  15. package/docs/API-reference/api/x-adapter-platform.platformsearchresponse.catalog.md +6 -0
  16. package/docs/API-reference/api/x-adapter-platform.platformsearchresponse.md +1 -1
  17. package/docs/API-reference/api/x-adapter-platform.relatedpromptschema.md +13 -0
  18. package/docs/API-reference/api/x-adapter-platform.relatedpromptsendpointadapter.md +13 -0
  19. package/docs/API-reference/api/x-adapter-platform.relatedpromptsrequestmapper.md +13 -0
  20. package/docs/API-reference/api/x-adapter-platform.relatedpromptsrequestschema.md +13 -0
  21. package/docs/API-reference/api/x-adapter-platform.relatedpromptsresponsemapper.md +13 -0
  22. package/docs/API-reference/api/x-adapter-platform.relatedpromptsresponseschema.md +13 -0
  23. package/docs/API-reference/api/x-components.animationprop.md +6 -1
  24. package/docs/API-reference/api/x-components.bannerslist.md +3 -3
  25. package/docs/API-reference/api/x-components.basedropdown.md +5 -5
  26. package/docs/API-reference/api/x-components.baseeventsmodal.md +2 -2
  27. package/docs/API-reference/api/x-components.basegrid.md +3 -3
  28. package/docs/API-reference/api/x-components.baseheadertogglepanel.md +5 -5
  29. package/docs/API-reference/api/x-components.baseidmodal.md +2 -2
  30. package/docs/API-reference/api/x-components.baseidtogglepanel.md +5 -5
  31. package/docs/API-reference/api/x-components.basemodal.md +10 -10
  32. package/docs/API-reference/api/x-components.baseresultimage.md +9 -9
  33. package/docs/API-reference/api/x-components.baseslider.md +70 -0
  34. package/docs/API-reference/api/x-components.basesuggestions.md +3 -3
  35. package/docs/API-reference/api/x-components.basetabspanel.md +8 -8
  36. package/docs/API-reference/api/x-components.basetogglepanel.md +3 -3
  37. package/docs/API-reference/api/x-components.basevariablecolumngrid.md +3 -3
  38. package/docs/API-reference/api/x-components.cancelfetchandsaverelatedprompts.md +13 -0
  39. package/docs/API-reference/api/x-components.empathize.md +5 -5
  40. package/docs/API-reference/api/x-components.facets.md +3 -3
  41. package/docs/API-reference/api/x-components.fetchandsaverelatedprompts.md +13 -0
  42. package/docs/API-reference/api/x-components.fetchrelatedprompts.md +13 -0
  43. package/docs/API-reference/api/x-components.filterslist.md +3 -3
  44. package/docs/API-reference/api/x-components.globalxbus.md +6 -0
  45. package/docs/API-reference/api/x-components.hierarchicalfilter.md +5 -2
  46. package/docs/API-reference/api/x-components.identifierresults.md +3 -3
  47. package/docs/API-reference/api/x-components.itemslist.md +3 -3
  48. package/docs/API-reference/api/x-components.mainmodal.md +2 -2
  49. package/docs/API-reference/api/x-components.md +17 -0
  50. package/docs/API-reference/api/x-components.multicolumnmaxwidthlayout.md +5 -5
  51. package/docs/API-reference/api/x-components.myhistory.md +3 -3
  52. package/docs/API-reference/api/x-components.nextqueriesgroup.md +22 -0
  53. package/docs/API-reference/api/x-components.nextqueriesgroup.modelname.md +11 -0
  54. package/docs/API-reference/api/x-components.nextqueriesgroup.nextqueries.md +11 -0
  55. package/docs/API-reference/api/x-components.nextquerieslist.md +3 -3
  56. package/docs/API-reference/api/x-components.partialresultslist.md +3 -3
  57. package/docs/API-reference/api/x-components.promotedslist.md +3 -3
  58. package/docs/API-reference/api/x-components.querypreviewlist.md +3 -3
  59. package/docs/API-reference/api/x-components.recommendations.md +3 -3
  60. package/docs/API-reference/api/x-components.relatedprompt.md +38 -0
  61. package/docs/API-reference/api/x-components.relatedpromptrequest.md +13 -0
  62. package/docs/API-reference/api/x-components.relatedpromptsactioncontext.md +15 -0
  63. package/docs/API-reference/api/x-components.relatedpromptsactions.cancelfetchandsaverelatedprompts.md +17 -0
  64. package/docs/API-reference/api/x-components.relatedpromptsactions.fetchandsaverelatedprompts.md +24 -0
  65. package/docs/API-reference/api/x-components.relatedpromptsactions.fetchrelatedprompts.md +24 -0
  66. package/docs/API-reference/api/x-components.relatedpromptsactions.md +22 -0
  67. package/docs/API-reference/api/x-components.relatedpromptsgetters.md +20 -0
  68. package/docs/API-reference/api/x-components.relatedpromptsgetters.request.md +13 -0
  69. package/docs/API-reference/api/x-components.relatedpromptslist.md +72 -0
  70. package/docs/API-reference/api/x-components.relatedpromptsmutations.md +25 -0
  71. package/docs/API-reference/api/x-components.relatedpromptsmutations.resetrelatedpromptsstate.md +17 -0
  72. package/docs/API-reference/api/x-components.relatedpromptsmutations.setparams.md +24 -0
  73. package/docs/API-reference/api/x-components.relatedpromptsmutations.setrelatedpromptsproducts.md +24 -0
  74. package/docs/API-reference/api/x-components.relatedpromptsmutations.setselectedprompt.md +24 -0
  75. package/docs/API-reference/api/x-components.relatedpromptsmutations.setselectedquery.md +24 -0
  76. package/docs/API-reference/api/x-components.relatedpromptsstate.md +24 -0
  77. package/docs/API-reference/api/x-components.relatedpromptsstate.params.md +13 -0
  78. package/docs/API-reference/api/x-components.relatedpromptsstate.relatedprompts.md +13 -0
  79. package/docs/API-reference/api/x-components.relatedpromptsstate.selectedprompt.md +13 -0
  80. package/docs/API-reference/api/x-components.relatedpromptsstate.selectedquery.md +13 -0
  81. package/docs/API-reference/api/x-components.relatedpromptsxevents.md +22 -0
  82. package/docs/API-reference/api/x-components.relatedpromptsxevents.relatedpromptsrequestupdated.md +13 -0
  83. package/docs/API-reference/api/x-components.relatedpromptsxevents.userselectedarelatedprompt.md +13 -0
  84. package/docs/API-reference/api/x-components.relatedpromptsxevents.userselectedarelatedpromptquery.md +13 -0
  85. package/docs/API-reference/api/x-components.relatedpromptsxmodule.md +13 -0
  86. package/docs/API-reference/api/x-components.relatedpromptsxstoremodule.md +15 -0
  87. package/docs/API-reference/api/x-components.relatedtags.md +3 -3
  88. package/docs/API-reference/api/x-components.resultslist.md +3 -3
  89. package/docs/API-reference/api/x-components.scrolltotop.md +5 -5
  90. package/docs/API-reference/api/x-components.searchinputplaceholder.md +3 -3
  91. package/docs/API-reference/api/x-components.searchmutations.md +1 -0
  92. package/docs/API-reference/api/x-components.searchmutations.setstats.md +24 -0
  93. package/docs/API-reference/api/x-components.searchstate.md +1 -0
  94. package/docs/API-reference/api/x-components.searchstate.stats.md +13 -0
  95. package/docs/API-reference/api/x-components.selectedfilterslist.md +3 -3
  96. package/docs/API-reference/api/x-components.simplefilter.md +3 -0
  97. package/docs/API-reference/api/x-components.singlecolumnlayout.md +3 -3
  98. package/docs/API-reference/api/x-components.snippetcallbacks.md +3 -0
  99. package/docs/API-reference/api/x-components.snippetconfigextraparams.md +1 -1
  100. package/docs/API-reference/api/x-components.sortdropdown.md +1 -1
  101. package/docs/API-reference/api/x-components.tagging.md +17 -4
  102. package/docs/API-reference/api/x-components.usealiasapi.md +1 -0
  103. package/docs/API-reference/api/x-components.usealiasapi.pricestats.md +16 -0
  104. package/docs/API-reference/api/x-components.xeventstypes.md +3 -3
  105. package/docs/API-reference/api/x-components.xmodulestree.md +1 -0
  106. package/docs/API-reference/api/x-components.xmodulestree.relatedprompts.md +11 -0
  107. package/docs/API-reference/api/x-types.md +4 -0
  108. package/docs/API-reference/api/x-types.relatedprompt.md +23 -0
  109. package/docs/API-reference/api/x-types.relatedprompt.nextqueries.md +13 -0
  110. package/docs/API-reference/api/x-types.relatedprompt.suggestiontext.md +13 -0
  111. package/docs/API-reference/api/x-types.relatedprompt.type.md +13 -0
  112. package/docs/API-reference/api/x-types.relatedpromptsrequest.md +15 -0
  113. package/docs/API-reference/api/x-types.relatedpromptsresponse.md +20 -0
  114. package/docs/API-reference/api/x-types.relatedpromptsresponse.relatedprompts.md +11 -0
  115. package/docs/API-reference/api/x-types.searchresponse.md +1 -0
  116. package/docs/API-reference/api/x-types.searchresponse.stats.md +11 -0
  117. package/docs/API-reference/api/x-types.stats.md +22 -0
  118. package/docs/API-reference/api/x-types.stats.price.md +14 -0
  119. package/docs/API-reference/api/x-types.xcomponentsadapter.md +1 -0
  120. package/docs/API-reference/api/x-types.xcomponentsadapter.relatedprompts.md +11 -0
  121. package/docs/API-reference/components/common/result/x-components.base-result-image.md +2 -2
  122. package/docs/API-reference/components/common/x-components.base-slider.md +189 -0
  123. package/docs/API-reference/components/common/x-components.items-list.md +1 -1
  124. package/docs/API-reference/components/facets/x-components.facets/facets.md +1 -1
  125. package/docs/API-reference/components/facets/x-components.lists/selected-filters-list.md +1 -1
  126. package/docs/API-reference/components/related-prompts/x-components.related-prompt.md +29 -0
  127. package/docs/API-reference/components/related-prompts/x-components.related-prompts-list.md +196 -0
  128. package/docs/API-reference/components/search/x-components.results-list.md +1 -1
  129. package/docs/API-reference/components/tagging/x-components.tagging.md +2 -2
  130. package/js/components/base-grid.vue.js.map +1 -1
  131. package/js/components/base-grid.vue2.js.map +1 -1
  132. package/js/components/base-grid.vue3.js +1 -1
  133. package/js/components/base-slider.vue.js +66 -0
  134. package/js/components/base-slider.vue.js.map +1 -0
  135. package/js/components/base-slider.vue2.js +109 -0
  136. package/js/components/base-slider.vue2.js.map +1 -0
  137. package/js/components/base-slider.vue3.js +7 -0
  138. package/js/components/base-slider.vue3.js.map +1 -0
  139. package/js/components/icons/cross-tiny.vue.js +2 -2
  140. package/js/components/icons/plus.vue.js +2 -2
  141. package/js/components/items-list.vue.js.map +1 -1
  142. package/js/components/items-list.vue2.js +2 -2
  143. package/js/components/items-list.vue2.js.map +1 -1
  144. package/js/components/result/base-result-image.vue.js.map +1 -1
  145. package/js/components/result/base-result-image.vue2.js +3 -3
  146. package/js/components/result/base-result-image.vue2.js.map +1 -1
  147. package/js/components/scroll/use-scroll.js +1 -1
  148. package/js/components/scroll/use-scroll.js.map +1 -1
  149. package/js/components/sliding-panel.vue.js +2 -2
  150. package/js/composables/use-alias-api.js +3 -0
  151. package/js/composables/use-alias-api.js.map +1 -1
  152. package/js/index.js +10 -0
  153. package/js/index.js.map +1 -1
  154. package/js/types/animation-prop.js +5 -0
  155. package/js/types/animation-prop.js.map +1 -1
  156. package/js/x-modules/empathize/components/empathize.vue2.js +2 -0
  157. package/js/x-modules/empathize/components/empathize.vue2.js.map +1 -1
  158. package/js/x-modules/extra-params/components/snippet-config-extra-params.vue.js.map +1 -1
  159. package/js/x-modules/extra-params/components/snippet-config-extra-params.vue2.js +1 -1
  160. package/js/x-modules/extra-params/components/snippet-config-extra-params.vue2.js.map +1 -1
  161. package/js/x-modules/facets/components/facets/facets.vue.js.map +1 -1
  162. package/js/x-modules/facets/components/facets/facets.vue2.js +2 -2
  163. package/js/x-modules/facets/components/facets/facets.vue2.js.map +1 -1
  164. package/js/x-modules/facets/components/lists/selected-filters-list.vue.js.map +1 -1
  165. package/js/x-modules/facets/components/lists/selected-filters-list.vue2.js +2 -2
  166. package/js/x-modules/facets/components/lists/selected-filters-list.vue2.js.map +1 -1
  167. package/js/x-modules/queries-preview/components/query-preview-button.vue2.js +2 -0
  168. package/js/x-modules/queries-preview/components/query-preview-button.vue2.js.map +1 -1
  169. package/js/x-modules/queries-preview/components/query-preview-list.vue.js.map +1 -1
  170. package/js/x-modules/queries-preview/components/query-preview-list.vue2.js +15 -2
  171. package/js/x-modules/queries-preview/components/query-preview-list.vue2.js.map +1 -1
  172. package/js/x-modules/queries-preview/components/query-preview.vue.js.map +1 -1
  173. package/js/x-modules/queries-preview/components/query-preview.vue2.js +3 -1
  174. package/js/x-modules/queries-preview/components/query-preview.vue2.js.map +1 -1
  175. package/js/x-modules/queries-preview/store/actions/fetch-and-save-query-preview.action.js +2 -1
  176. package/js/x-modules/queries-preview/store/actions/fetch-and-save-query-preview.action.js.map +1 -1
  177. package/js/x-modules/queries-preview/store/module.js +1 -1
  178. package/js/x-modules/queries-preview/store/module.js.map +1 -1
  179. package/js/x-modules/queries-preview/utils/get-hash-from-query-preview.js +6 -4
  180. package/js/x-modules/queries-preview/utils/get-hash-from-query-preview.js.map +1 -1
  181. package/js/x-modules/related-prompts/components/related-prompt.vue.js +90 -0
  182. package/js/x-modules/related-prompts/components/related-prompt.vue.js.map +1 -0
  183. package/js/x-modules/related-prompts/components/related-prompt.vue2.js +54 -0
  184. package/js/x-modules/related-prompts/components/related-prompt.vue2.js.map +1 -0
  185. package/js/x-modules/related-prompts/components/related-prompt.vue3.js +7 -0
  186. package/js/x-modules/related-prompts/components/related-prompt.vue3.js.map +1 -0
  187. package/js/x-modules/related-prompts/components/related-prompts-list.vue.js +154 -0
  188. package/js/x-modules/related-prompts/components/related-prompts-list.vue.js.map +1 -0
  189. package/js/x-modules/related-prompts/components/related-prompts-list.vue2.js +6 -0
  190. package/js/x-modules/related-prompts/components/related-prompts-list.vue2.js.map +1 -0
  191. package/js/x-modules/related-prompts/store/actions/fetch-and-save-related-prompts.action.js +29 -0
  192. package/js/x-modules/related-prompts/store/actions/fetch-and-save-related-prompts.action.js.map +1 -0
  193. package/js/x-modules/related-prompts/store/actions/fetch-related-prompts.action.js +20 -0
  194. package/js/x-modules/related-prompts/store/actions/fetch-related-prompts.action.js.map +1 -0
  195. package/js/x-modules/related-prompts/store/emitters.js +14 -0
  196. package/js/x-modules/related-prompts/store/emitters.js.map +1 -0
  197. package/js/x-modules/related-prompts/store/getters/request.getter.js +16 -0
  198. package/js/x-modules/related-prompts/store/getters/request.getter.js.map +1 -0
  199. package/js/x-modules/related-prompts/store/module.js +53 -0
  200. package/js/x-modules/related-prompts/store/module.js.map +1 -0
  201. package/js/x-modules/related-prompts/wiring.js +88 -0
  202. package/js/x-modules/related-prompts/wiring.js.map +1 -0
  203. package/js/x-modules/related-prompts/x-module.js +21 -0
  204. package/js/x-modules/related-prompts/x-module.js.map +1 -0
  205. package/js/x-modules/scroll/components/scroll-to-top.vue2.js +2 -0
  206. package/js/x-modules/scroll/components/scroll-to-top.vue2.js.map +1 -1
  207. package/js/x-modules/search/components/results-list.vue.js +2 -2
  208. package/js/x-modules/search/components/results-list.vue.js.map +1 -1
  209. package/js/x-modules/search/store/actions/save-search-response.action.js +2 -1
  210. package/js/x-modules/search/store/actions/save-search-response.action.js.map +1 -1
  211. package/js/x-modules/search/store/module.js +5 -1
  212. package/js/x-modules/search/store/module.js.map +1 -1
  213. package/js/x-modules/tagging/components/tagging.vue.js +8 -2
  214. package/js/x-modules/tagging/components/tagging.vue.js.map +1 -1
  215. package/package.json +7 -6
  216. package/related-prompts/index.d.ts +1 -0
  217. package/related-prompts/index.js +9 -0
  218. package/report/x-adapter-platform.api.json +575 -1
  219. package/report/x-components.api.json +4236 -7917
  220. package/report/x-components.api.md +445 -155
  221. package/report/x-types.api.json +334 -0
  222. package/tools/inject-css.js +5 -3
  223. package/types/adapter/e2e-adapter.d.ts.map +1 -1
  224. package/types/adapter/mocked-responses.d.ts +3 -0
  225. package/types/adapter/mocked-responses.d.ts.map +1 -1
  226. package/types/components/base-dropdown.vue.d.ts +5 -5
  227. package/types/components/base-grid.vue.d.ts +3 -3
  228. package/types/components/base-slider.vue.d.ts +74 -0
  229. package/types/components/base-slider.vue.d.ts.map +1 -0
  230. package/types/components/base-variable-column-grid.vue.d.ts +3 -3
  231. package/types/components/global-x-bus.vue.d.ts +6 -0
  232. package/types/components/global-x-bus.vue.d.ts.map +1 -1
  233. package/types/components/index.d.ts +1 -0
  234. package/types/components/index.d.ts.map +1 -1
  235. package/types/components/items-list.vue.d.ts +3 -3
  236. package/types/components/layouts/multi-column-max-width-layout.vue.d.ts +5 -5
  237. package/types/components/layouts/single-column-layout.vue.d.ts +3 -3
  238. package/types/components/modals/base-events-modal.vue.d.ts +2 -2
  239. package/types/components/modals/base-id-modal.vue.d.ts +2 -2
  240. package/types/components/modals/base-modal.vue.d.ts +10 -10
  241. package/types/components/modals/main-modal.vue.d.ts +2 -2
  242. package/types/components/panels/base-header-toggle-panel.vue.d.ts +5 -5
  243. package/types/components/panels/base-id-toggle-panel.vue.d.ts +5 -5
  244. package/types/components/panels/base-tabs-panel.vue.d.ts +8 -8
  245. package/types/components/panels/base-toggle-panel.vue.d.ts +3 -3
  246. package/types/components/result/base-result-image.vue.d.ts +10 -10
  247. package/types/components/result/base-result-image.vue.d.ts.map +1 -1
  248. package/types/components/snippet-callbacks.vue.d.ts +3 -0
  249. package/types/components/snippet-callbacks.vue.d.ts.map +1 -1
  250. package/types/components/suggestions/base-suggestions.vue.d.ts +3 -3
  251. package/types/composables/use-alias-api.d.ts +5 -0
  252. package/types/composables/use-alias-api.d.ts.map +1 -1
  253. package/types/index.d.ts +1 -0
  254. package/types/index.d.ts.map +1 -1
  255. package/types/tailwind/plugin-options.d.ts +1 -2
  256. package/types/tailwind/plugin-options.d.ts.map +1 -1
  257. package/types/types/animation-prop.d.ts +6 -2
  258. package/types/types/animation-prop.d.ts.map +1 -1
  259. package/types/views/home/types.d.ts +3 -0
  260. package/types/views/home/types.d.ts.map +1 -1
  261. package/types/wiring/events.types.d.ts +3 -1
  262. package/types/wiring/events.types.d.ts.map +1 -1
  263. package/types/x-modules/empathize/components/empathize.vue.d.ts +5 -5
  264. package/types/x-modules/extra-params/components/snippet-config-extra-params.vue.d.ts +1 -1
  265. package/types/x-modules/facets/components/facets/facets.vue.d.ts +3 -3
  266. package/types/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts +5 -2
  267. package/types/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts.map +1 -1
  268. package/types/x-modules/facets/components/filters/simple-filter.vue.d.ts +3 -0
  269. package/types/x-modules/facets/components/filters/simple-filter.vue.d.ts.map +1 -1
  270. package/types/x-modules/facets/components/lists/filters-list.vue.d.ts +3 -3
  271. package/types/x-modules/facets/components/lists/selected-filters-list.vue.d.ts +3 -3
  272. package/types/x-modules/history-queries/components/my-history.vue.d.ts +3 -3
  273. package/types/x-modules/identifier-results/components/identifier-results.vue.d.ts +3 -3
  274. package/types/x-modules/next-queries/components/next-queries-list.vue.d.ts +3 -3
  275. package/types/x-modules/next-queries/index.d.ts +1 -0
  276. package/types/x-modules/next-queries/index.d.ts.map +1 -1
  277. package/types/x-modules/queries-preview/components/query-preview-list.vue.d.ts +3 -3
  278. package/types/x-modules/queries-preview/components/query-preview-list.vue.d.ts.map +1 -1
  279. package/types/x-modules/queries-preview/components/query-preview.vue.d.ts.map +1 -1
  280. package/types/x-modules/queries-preview/store/actions/fetch-and-save-query-preview.action.d.ts.map +1 -1
  281. package/types/x-modules/queries-preview/store/module.d.ts.map +1 -1
  282. package/types/x-modules/queries-preview/utils/get-hash-from-query-preview.d.ts +4 -2
  283. package/types/x-modules/queries-preview/utils/get-hash-from-query-preview.d.ts.map +1 -1
  284. package/types/x-modules/recommendations/components/recommendations.vue.d.ts +3 -3
  285. package/types/x-modules/related-prompts/components/index.d.ts +3 -0
  286. package/types/x-modules/related-prompts/components/index.d.ts.map +1 -0
  287. package/types/x-modules/related-prompts/components/related-prompt.vue.d.ts +37 -0
  288. package/types/x-modules/related-prompts/components/related-prompt.vue.d.ts.map +1 -0
  289. package/types/x-modules/related-prompts/components/related-prompts-list.vue.d.ts +106 -0
  290. package/types/x-modules/related-prompts/components/related-prompts-list.vue.d.ts.map +1 -0
  291. package/types/x-modules/related-prompts/events.types.d.ts +26 -0
  292. package/types/x-modules/related-prompts/events.types.d.ts.map +1 -0
  293. package/types/x-modules/related-prompts/index.d.ts +6 -0
  294. package/types/x-modules/related-prompts/index.d.ts.map +1 -0
  295. package/types/x-modules/related-prompts/store/actions/fetch-and-save-related-prompts.action.d.ts +17 -0
  296. package/types/x-modules/related-prompts/store/actions/fetch-and-save-related-prompts.action.d.ts.map +1 -0
  297. package/types/x-modules/related-prompts/store/actions/fetch-related-prompts.action.d.ts +13 -0
  298. package/types/x-modules/related-prompts/store/actions/fetch-related-prompts.action.d.ts.map +1 -0
  299. package/types/x-modules/related-prompts/store/emitters.d.ts +9 -0
  300. package/types/x-modules/related-prompts/store/emitters.d.ts.map +1 -0
  301. package/types/x-modules/related-prompts/store/getters/request.getter.d.ts +13 -0
  302. package/types/x-modules/related-prompts/store/getters/request.getter.d.ts.map +1 -0
  303. package/types/x-modules/related-prompts/store/index.d.ts +7 -0
  304. package/types/x-modules/related-prompts/store/index.d.ts.map +1 -0
  305. package/types/x-modules/related-prompts/store/module.d.ts +8 -0
  306. package/types/x-modules/related-prompts/store/module.d.ts.map +1 -0
  307. package/types/x-modules/related-prompts/store/types.d.ts +104 -0
  308. package/types/x-modules/related-prompts/store/types.d.ts.map +1 -0
  309. package/types/x-modules/related-prompts/types.d.ts +10 -0
  310. package/types/x-modules/related-prompts/types.d.ts.map +1 -0
  311. package/types/x-modules/related-prompts/wiring.d.ts +31 -0
  312. package/types/x-modules/related-prompts/wiring.d.ts.map +1 -0
  313. package/types/x-modules/related-prompts/x-module.d.ts +16 -0
  314. package/types/x-modules/related-prompts/x-module.d.ts.map +1 -0
  315. package/types/x-modules/related-tags/components/related-tags.vue.d.ts +3 -3
  316. package/types/x-modules/scroll/components/scroll-to-top.vue.d.ts +5 -5
  317. package/types/x-modules/search/components/banners-list.vue.d.ts +3 -3
  318. package/types/x-modules/search/components/partial-results-list.vue.d.ts +3 -3
  319. package/types/x-modules/search/components/promoteds-list.vue.d.ts +3 -3
  320. package/types/x-modules/search/components/results-list.vue.d.ts +3 -3
  321. package/types/x-modules/search/components/sort-dropdown.vue.d.ts +1 -1
  322. package/types/x-modules/search/store/actions/save-search-response.action.d.ts.map +1 -1
  323. package/types/x-modules/search/store/module.d.ts +2 -0
  324. package/types/x-modules/search/store/module.d.ts.map +1 -1
  325. package/types/x-modules/search/store/types.d.ts +9 -1
  326. package/types/x-modules/search/store/types.d.ts.map +1 -1
  327. package/types/x-modules/search-box/components/search-input-placeholder.vue.d.ts +3 -3
  328. package/types/x-modules/tagging/components/tagging.vue.d.ts +17 -4
  329. package/types/x-modules/tagging/components/tagging.vue.d.ts.map +1 -1
  330. package/types/x-modules/x-modules.types.d.ts +2 -0
  331. package/types/x-modules/x-modules.types.d.ts.map +1 -1
  332. package/js/utils/options-api.js +0 -4
  333. package/js/utils/options-api.js.map +0 -1
  334. package/types/utils/options-api.d.ts +0 -3
  335. package/types/utils/options-api.d.ts.map +0 -1
@@ -0,0 +1,13 @@
1
+ import { RelatedPromptsXStoreModule } from '../types';
2
+ /**
3
+ * Default implementation for the {@link RelatedPromptsActions.fetchRelatedPrompts}.
4
+ *
5
+ * @param _ - The {@link https://vuex.vuejs.org/guide/actions.html | context} of the actions,
6
+ * provided by Vuex.
7
+ * @param request - The related prompts request to make.
8
+ * @returns The related prompts response.
9
+ *
10
+ * @public
11
+ */
12
+ export declare const fetchRelatedPrompts: RelatedPromptsXStoreModule['actions']['fetchRelatedPrompts'];
13
+ //# sourceMappingURL=fetch-related-prompts.action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetch-related-prompts.action.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/related-prompts/store/actions/fetch-related-prompts.action.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAEtD;;;;;;;;;GASG;AACH,eAAO,MAAM,mBAAmB,EAAE,0BAA0B,CAAC,SAAS,CAAC,CAAC,qBAAqB,CAO5F,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * {@link StoreEmitters} For the related-prompts module.
3
+ *
4
+ * @internal
5
+ */
6
+ export declare const relatedPromptsStoreEmitters: {
7
+ RelatedPromptsRequestUpdated: (_: import("./types").RelatedPromptsState, getters: import("../../..").Returns<import("../../../store").GettersTree<import("./types").RelatedPromptsState, import("./types").RelatedPromptsGetters>>) => import("@empathyco/x-types").RelatedPromptsRequest | null;
8
+ };
9
+ //# sourceMappingURL=emitters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"emitters.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-prompts/store/emitters.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,eAAO,MAAM,2BAA2B;;CAEtC,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { RelatedPromptsXStoreModule } from '../types';
2
+ /**
3
+ * Default implementation for the {@link RelatedPromptsGetters.request} getter.
4
+ *
5
+ * @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the related
6
+ * prompts module.
7
+ *
8
+ * @returns The related prompts request to fetch data from the API.
9
+ *
10
+ * @public
11
+ */
12
+ export declare const request: RelatedPromptsXStoreModule['getters']['request'];
13
+ //# sourceMappingURL=request.getter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request.getter.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/related-prompts/store/getters/request.getter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAEtD;;;;;;;;;GASG;AACH,eAAO,MAAM,OAAO,EAAE,0BAA0B,CAAC,SAAS,CAAC,CAAC,SAAS,CAEpE,CAAC"}
@@ -0,0 +1,7 @@
1
+ export * from './actions/fetch-and-save-related-prompts.action';
2
+ export * from './actions/fetch-related-prompts.action';
3
+ export { request as relatedPromptRequest } from './getters/request.getter';
4
+ export * from './emitters';
5
+ export * from './module';
6
+ export * from './types';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-prompts/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,iDAAiD,CAAC;AAChE,cAAc,wCAAwC,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAC3E,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { RelatedPromptsXStoreModule } from './types';
2
+ /**
3
+ * {@link XStoreModule} For the related prompt module.
4
+ *
5
+ * @internal
6
+ */
7
+ export declare const relatedPromptsXStoreModule: RelatedPromptsXStoreModule;
8
+ //# sourceMappingURL=module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-prompts/store/module.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAQrD;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,EAAE,0BAsCxC,CAAC"}
@@ -0,0 +1,104 @@
1
+ import { RelatedPrompt, RelatedPromptsRequest } from '@empathyco/x-types';
2
+ import { Dictionary } from '@empathyco/x-utils';
3
+ import { QueryMutations, QueryState } from '../../../store/utils/query.utils';
4
+ import { StatusMutations, StatusState } from '../../../store/utils/status-store.utils';
5
+ import { XActionContext, XStoreModule } from '../../../store';
6
+ /**
7
+ * Related prompts module state.
8
+ *
9
+ * @public
10
+ */
11
+ export interface RelatedPromptsState extends StatusState, QueryState {
12
+ /** The list of the related-prompts, related to the `query` property of the state. */
13
+ relatedPrompts: RelatedPrompt[];
14
+ /** The index of the selected related-prompt. */
15
+ selectedPrompt: number;
16
+ /** The index of the selected next query. */
17
+ selectedQuery: number;
18
+ /** The extra params property of the state. */
19
+ params: Dictionary<unknown>;
20
+ }
21
+ /**
22
+ * Related prompts module getters.
23
+ *
24
+ * @public
25
+ */
26
+ export interface RelatedPromptsGetters {
27
+ /**
28
+ * Request object to retrieve the related prompts using the search adapter, or null if there is
29
+ * no valid data to conform a valid request.
30
+ */
31
+ request: RelatedPromptsRequest | null;
32
+ }
33
+ /**
34
+ * Related prompts module mutations.
35
+ *
36
+ * @public
37
+ */
38
+ export interface RelatedPromptsMutations extends StatusMutations, QueryMutations {
39
+ /**
40
+ * Sets the extra params of the module.
41
+ *
42
+ * @param params - The new extra params.
43
+ */
44
+ setParams(params: Dictionary<unknown>): void;
45
+ /**
46
+ * Sets the related prompts of the module.
47
+ *
48
+ * @param relatedPrompts - The new related prompts to save to the state.
49
+ */
50
+ setRelatedPromptsProducts(products: RelatedPrompt[]): void;
51
+ /**
52
+ * Sets the selected related prompt.
53
+ *
54
+ * @param index - The new selected related prompt.
55
+ */
56
+ setSelectedPrompt(index: number): void;
57
+ /**
58
+ * Sets the selected next query.
59
+ *
60
+ * @param index - The new selected next query.
61
+ */
62
+ setSelectedQuery(index: number): void;
63
+ /**
64
+ * Resets the related prompts state.
65
+ */
66
+ resetRelatedPromptsState(): void;
67
+ }
68
+ /**
69
+ * Related prompts module actions.
70
+ *
71
+ * @public
72
+ */
73
+ export interface RelatedPromptsActions {
74
+ /**
75
+ * Requests a new set of related prompts for the module query, and returns them.
76
+ *
77
+ * @param request - The related prompts request.
78
+ */
79
+ fetchRelatedPrompts(request: RelatedPromptsRequest | null): RelatedPrompt[] | null;
80
+ /**
81
+ * Requests a new set of related prompts and stores them in the module.
82
+ *
83
+ * @param request - The related prompts request.
84
+ */
85
+ fetchAndSaveRelatedPrompts(request: RelatedPromptsRequest | null): void;
86
+ /**
87
+ * Cancels / interrupt {@link RelatedPromptsActions.fetchAndSaveRelatedPrompts}
88
+ * synchronous promise.
89
+ */
90
+ cancelFetchAndSaveRelatedPrompts(): void;
91
+ }
92
+ /**
93
+ * Related prompts store module.
94
+ *
95
+ * @public
96
+ */
97
+ export type RelatedPromptsXStoreModule = XStoreModule<RelatedPromptsState, RelatedPromptsGetters, RelatedPromptsMutations, RelatedPromptsActions>;
98
+ /**
99
+ * Alias type for actions context of the {@link RelatedPromptsXStoreModule}.
100
+ *
101
+ * @public
102
+ */
103
+ export type RelatedPromptsActionContext = XActionContext<RelatedPromptsState, RelatedPromptsGetters, RelatedPromptsMutations, RelatedPromptsActions>;
104
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-prompts/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AACvF,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9D;;;;GAIG;AACH,MAAM,WAAW,mBAAoB,SAAQ,WAAW,EAAE,UAAU;IAClE,qFAAqF;IACrF,cAAc,EAAE,aAAa,EAAE,CAAC;IAChC,gDAAgD;IAChD,cAAc,EAAE,MAAM,CAAC;IACvB,4CAA4C;IAC5C,aAAa,EAAE,MAAM,CAAC;IACtB,8CAA8C;IAC9C,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;CAC7B;AAED;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,OAAO,EAAE,qBAAqB,GAAG,IAAI,CAAC;CACvC;AAED;;;;GAIG;AACH,MAAM,WAAW,uBAAwB,SAAQ,eAAe,EAAE,cAAc;IAC9E;;;;OAIG;IACH,SAAS,CAAC,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;IAC7C;;;;OAIG;IACH,yBAAyB,CAAC,QAAQ,EAAE,aAAa,EAAE,GAAG,IAAI,CAAC;IAC3D;;;;OAIG;IACH,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC;;;;OAIG;IACH,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC;;OAEG;IACH,wBAAwB,IAAI,IAAI,CAAC;CAClC;AAED;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC;;;;OAIG;IACH,mBAAmB,CAAC,OAAO,EAAE,qBAAqB,GAAG,IAAI,GAAG,aAAa,EAAE,GAAG,IAAI,CAAC;IACnF;;;;OAIG;IACH,0BAA0B,CAAC,OAAO,EAAE,qBAAqB,GAAG,IAAI,GAAG,IAAI,CAAC;IACxE;;;OAGG;IACH,gCAAgC,IAAI,IAAI,CAAC;CAC1C;AAED;;;;GAIG;AACH,MAAM,MAAM,0BAA0B,GAAG,YAAY,CACnD,mBAAmB,EACnB,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,CACtB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,2BAA2B,GAAG,cAAc,CACtD,mBAAmB,EACnB,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,CACtB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { RelatedPrompt } from '@empathyco/x-types';
2
+ import { ListItem } from '../../utils';
3
+ /**
4
+ * Related promts group interface for the RelatedPrompts.
5
+ */
6
+ export interface RelatedPromptsGroup extends ListItem {
7
+ modelName: 'RelatedPromptsGroup';
8
+ relatedPrompts: RelatedPrompt[];
9
+ }
10
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/related-prompts/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,QAAQ;IACnD,SAAS,EAAE,qBAAqB,CAAC;IACjC,cAAc,EAAE,aAAa,EAAE,CAAC;CACjC"}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Wiring configuration for the {@link RelatedPromptsXModule | related prompts module}.
3
+ *
4
+ * @internal
5
+ */
6
+ export declare const relatedPromptsWiring: {
7
+ ParamsLoadedFromUrl: {
8
+ setRelatedPromptsQueryFromUrl: import("../..").AnyWire;
9
+ };
10
+ UserAcceptedAQuery: {
11
+ setRelatedPromptsQuery: import("../..").Wire<string>;
12
+ };
13
+ UserClearedQuery: {
14
+ cancelFetchAndSaveSearchResponseWire: import("../..").AnyWire;
15
+ resetRelatedPromptsStateWire: import("../..").AnyWire;
16
+ setRelatedPromptsQuery: import("../..").Wire<string>;
17
+ };
18
+ RelatedPromptsRequestUpdated: {
19
+ fetchAndSaveRelatedPromptsResponseWire: import("../..").Wire<import("@empathyco/x-types").RelatedPromptsRequest | null>;
20
+ };
21
+ ExtraParamsChanged: {
22
+ setRelatedPromptsExtraParams: import("../..").Wire<import("@empathyco/x-utils").Dictionary<unknown>>;
23
+ };
24
+ UserSelectedARelatedPrompt: {
25
+ setSelectedPromptWire: import("../..").Wire<number>;
26
+ };
27
+ UserSelectedARelatedPromptQuery: {
28
+ setSelectedQueryWire: import("../..").Wire<number>;
29
+ };
30
+ };
31
+ //# sourceMappingURL=wiring.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/related-prompts/wiring.ts"],"names":[],"mappings":"AAmFA;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;CAwB/B,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { XModule } from '../x-modules.types';
2
+ import { RelatedPromptsXStoreModule } from './store/types';
3
+ /**
4
+ * RelatedPrompts {@link XModule} alias.
5
+ *
6
+ * @public
7
+ */
8
+ export type RelatedPromptsXModule = XModule<RelatedPromptsXStoreModule>;
9
+ /**
10
+ * Related Prompts {@link XModule} implementation. This module is auto-registered as soon as you
11
+ * import any component from the `related-prompts` entry point.
12
+ *
13
+ * @public
14
+ */
15
+ export declare const relatedPromptsXModule: RelatedPromptsXModule;
16
+ //# sourceMappingURL=x-module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-module.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/related-prompts/x-module.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAC;AAK3D;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAAC;AAExE;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,EAAE,qBAKnC,CAAC"}
@@ -16,7 +16,7 @@ declare const _default: import("vue").DefineComponent<{
16
16
  * @public
17
17
  */
18
18
  animation: {
19
- type: import("vue").PropType<string | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>>;
19
+ type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
20
20
  default: string;
21
21
  };
22
22
  /**
@@ -45,7 +45,7 @@ declare const _default: import("vue").DefineComponent<{
45
45
  * @public
46
46
  */
47
47
  animation: {
48
- type: import("vue").PropType<string | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>>;
48
+ type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
49
49
  default: string;
50
50
  };
51
51
  /**
@@ -66,7 +66,7 @@ declare const _default: import("vue").DefineComponent<{
66
66
  /** Class inherited by content element. */
67
67
  itemClass: StringConstructor;
68
68
  }>>, {
69
- animation: string | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
69
+ animation: string | Function | Record<string, any>;
70
70
  highlightCurated: boolean;
71
71
  }, {}>;
72
72
  export default _default;
@@ -12,8 +12,8 @@ declare const _default: import("vue").DefineComponent<{
12
12
  * @public
13
13
  */
14
14
  animation: {
15
- type: import("vue").PropType<string | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>>;
16
- default: () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
15
+ type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
16
+ default: () => import("vue").DefineComponent<{}, {}, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
17
17
  };
18
18
  /**
19
19
  * Threshold in pixels from the top to show the button.
@@ -40,8 +40,8 @@ declare const _default: import("vue").DefineComponent<{
40
40
  * @public
41
41
  */
42
42
  animation: {
43
- type: import("vue").PropType<string | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>>;
44
- default: () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
43
+ type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
44
+ default: () => import("vue").DefineComponent<{}, {}, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
45
45
  };
46
46
  /**
47
47
  * Threshold in pixels from the top to show the button.
@@ -59,7 +59,7 @@ declare const _default: import("vue").DefineComponent<{
59
59
  default: string;
60
60
  };
61
61
  }>>, {
62
- animation: string | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
62
+ animation: string | Function | Record<string, any>;
63
63
  scrollId: string;
64
64
  }, {}>;
65
65
  export default _default;
@@ -12,7 +12,7 @@
12
12
  declare const _default: import("vue").DefineComponent<{
13
13
  /** Animation component that will be used to animate the banners. */
14
14
  animation: {
15
- type: import("vue").PropType<string | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>>;
15
+ type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
16
16
  default: string;
17
17
  };
18
18
  }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -20,11 +20,11 @@ declare const _default: import("vue").DefineComponent<{
20
20
  }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
21
21
  /** Animation component that will be used to animate the banners. */
22
22
  animation: {
23
- type: import("vue").PropType<string | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>>;
23
+ type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
24
24
  default: string;
25
25
  };
26
26
  }>>, {
27
- animation: string | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
27
+ animation: string | Function | Record<string, any>;
28
28
  }, {}>;
29
29
  export default _default;
30
30
  //# sourceMappingURL=banners-list.vue?vue&type=script&lang.d.ts.map
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
13
13
  * @public
14
14
  */
15
15
  animation: {
16
- type: import("vue").PropType<string | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>>;
16
+ type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
17
17
  default: string;
18
18
  };
19
19
  /**
@@ -34,7 +34,7 @@ declare const _default: import("vue").DefineComponent<{
34
34
  * @public
35
35
  */
36
36
  animation: {
37
- type: import("vue").PropType<string | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>>;
37
+ type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
38
38
  default: string;
39
39
  };
40
40
  /**
@@ -47,7 +47,7 @@ declare const _default: import("vue").DefineComponent<{
47
47
  default: number;
48
48
  };
49
49
  }>>, {
50
- animation: string | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
50
+ animation: string | Function | Record<string, any>;
51
51
  maxItemsToRender: number;
52
52
  }, {}>;
53
53
  export default _default;
@@ -12,7 +12,7 @@
12
12
  declare const _default: import("vue").DefineComponent<{
13
13
  /** Animation component that will be used to animate the promoteds. */
14
14
  animation: {
15
- type: import("vue").PropType<string | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>>;
15
+ type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
16
16
  default: string;
17
17
  };
18
18
  }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -20,11 +20,11 @@ declare const _default: import("vue").DefineComponent<{
20
20
  }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
21
21
  /** Animation component that will be used to animate the promoteds. */
22
22
  animation: {
23
- type: import("vue").PropType<string | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>>;
23
+ type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
24
24
  default: string;
25
25
  };
26
26
  }>>, {
27
- animation: string | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
27
+ animation: string | Function | Record<string, any>;
28
28
  }, {}>;
29
29
  export default _default;
30
30
  //# sourceMappingURL=promoteds-list.vue?vue&type=script&lang.d.ts.map
@@ -12,7 +12,7 @@
12
12
  declare const _default: import("vue").DefineComponent<{
13
13
  /** Animation component that will be used to animate the results. */
14
14
  animation: {
15
- type: import("vue").PropType<string | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>>;
15
+ type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
16
16
  default: string;
17
17
  };
18
18
  }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -20,13 +20,13 @@ declare const _default: import("vue").DefineComponent<{
20
20
  }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "UserReachedResultsListEnd"[], "UserReachedResultsListEnd", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
21
21
  /** Animation component that will be used to animate the results. */
22
22
  animation: {
23
- type: import("vue").PropType<string | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>>;
23
+ type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
24
24
  default: string;
25
25
  };
26
26
  }>> & {
27
27
  onUserReachedResultsListEnd?: ((...args: any[]) => any) | undefined;
28
28
  }, {
29
- animation: string | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
29
+ animation: string | Function | Record<string, any>;
30
30
  }, {}>;
31
31
  export default _default;
32
32
  //# sourceMappingURL=results-list.vue?vue&type=script&lang.d.ts.map
@@ -14,7 +14,7 @@ declare const _default: Vue.DefineComponent<{
14
14
  animation: Vue.PropType<string | typeof Vue>;
15
15
  }, {
16
16
  emitUserClickedASort: (sort: Sort) => void;
17
- rootRef: Vue.Ref<Vue.DefineComponent<{}, {}, {}, Vue.ComputedOptions, Vue.MethodOptions, Vue.ComponentOptionsMixin, Vue.ComponentOptionsMixin, {}, string, Vue.PublicProps, Readonly<Vue.ExtractPropTypes<{}>>, {}, {}> | undefined>;
17
+ rootRef: Vue.Ref<Vue.DefineComponent<{}, {}, any, Vue.ComputedOptions, Vue.MethodOptions, Vue.ComponentOptionsMixin, Vue.ComponentOptionsMixin, {}, string, Vue.PublicProps, Readonly<Vue.ExtractPropTypes<{}>>, {}, {}> | undefined>;
18
18
  selectedSort: Vue.ComputedRef<any>;
19
19
  }, unknown, {}, {}, Vue.ComponentOptionsMixin, Vue.ComponentOptionsMixin, "change"[], "change", Vue.PublicProps, Readonly<Vue.ExtractPropTypes<{
20
20
  /** The list of possible sort values. */
@@ -1 +1 @@
1
- {"version":3,"file":"save-search-response.action.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/search/store/actions/save-search-response.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE9C;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC,oBAAoB,CAiDlF,CAAC"}
1
+ {"version":3,"file":"save-search-response.action.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/search/store/actions/save-search-response.action.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE9C;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC,oBAAoB,CAmDlF,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { Stats } from '@empathyco/x-types';
1
2
  import { SearchXStoreModule } from './types';
2
3
  /**
3
4
  * {@link XStoreModule} For the search module.
@@ -36,5 +37,6 @@ export declare function resettableState(): {
36
37
  url: string;
37
38
  params: {};
38
39
  };
40
+ stats: Stats;
39
41
  };
40
42
  //# sourceMappingURL=module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search/store/module.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE7C;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,kBA2GhC,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAgB,eAAe;;;;;;;;;;;;;;;;;;;;;;;EAyB9B"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search/store/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAkB1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE7C;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,kBA8GhC,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAgB,eAAe;;;;;;;;;;;;;;;;;;;;;;;;EA0B9B"}
@@ -1,4 +1,4 @@
1
- import { Banner, Facet, Filter, PartialResult, Promoted, Redirection, RelatedTag, Result, SearchRequest, SearchResponse, Sort, TaggingRequest } from '@empathyco/x-types';
1
+ import { Banner, Facet, Filter, PartialResult, Promoted, Redirection, RelatedTag, Result, SearchRequest, SearchResponse, Sort, Stats, TaggingRequest } from '@empathyco/x-types';
2
2
  import { Dictionary } from '@empathyco/x-utils';
3
3
  import { StatusMutations, StatusState, XActionContext, XStoreModule } from '../../../store';
4
4
  import { QueryMutations, QueryState } from '../../../store/utils/query.utils';
@@ -53,6 +53,8 @@ export interface SearchState extends StatusState, QueryState {
53
53
  sort: Sort;
54
54
  /** The spellcheckedQuery property of the state. */
55
55
  spellcheckedQuery: string;
56
+ /** The stats of the results. */
57
+ stats: Stats;
56
58
  /** The total number of results, related to the `query` property of the state. */
57
59
  totalResults: number;
58
60
  }
@@ -200,6 +202,12 @@ export interface SearchMutations extends StatusMutations, QueryMutations, Config
200
202
  * @param spellcheckedQuery - The new spellcheck string to save to the state.
201
203
  */
202
204
  setSpellcheck(spellcheckedQuery: string): void;
205
+ /**
206
+ * Sets the stats of the module.
207
+ *
208
+ * @param stats - The new stats to save to the state.
209
+ */
210
+ setStats(stats: Stats): void;
203
211
  /**
204
212
  * Sets the total results of the module.
205
213
  *
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,EACL,MAAM,EACN,aAAa,EACb,QAAQ,EACR,WAAW,EACX,UAAU,EACV,MAAM,EACN,aAAa,EACb,cAAc,EACd,IAAI,EACJ,cAAc,EACf,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC5F,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,qBAAqB,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAC;AAC/E,OAAO,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAE1E;;;;GAIG;AACH,MAAM,WAAW,WAAY,SAAQ,WAAW,EAAE,UAAU;IAC1D,6EAA6E;IAC7E,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,8CAA8C;IAC9C,MAAM,EAAE,YAAY,CAAC;IACrB,4EAA4E;IAC5E,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,6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AAC;IACpD;;;;OAIG;IACH,OAAO,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,aAAa,CAAC,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/C;;;;OAIG;IACH,eAAe,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5C;;;;OAIG;IACH,YAAY,CAAC,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,GAAG,IAAI,CAAC;CAClE;AAED;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,wBAAwB,CAAC,cAAc,EAAE,4BAA4B,GAAG,IAAI,CAAC;IAC7E;;OAEG;IACH,gCAAgC,IAAI,IAAI,CAAC;IACzC;;OAEG;IACH,0BAA0B,CAAC,OAAO,EAAE,qBAAqB,GAAG,IAAI,GAAG,IAAI,CAAC;IACxE;;;;OAIG;IACH,mBAAmB,CAAC,OAAO,EAAE,aAAa,GAAG,cAAc,CAAC;IAC5D;;;;;;OAMG;IACH,4BAA4B,IAAI,IAAI,CAAC;IACrC;;;;OAIG;IACH,YAAY,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC;IACzC;;;;OAIG;IACH,UAAU,CAAC,UAAU,EAAE,eAAe,GAAG,IAAI,CAAC;IAC9C;;;;OAIG;IACH,kBAAkB,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI,CAAC;CACpD;AAED;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAC3C,WAAW,EACX,aAAa,EACb,eAAe,EACf,aAAa,CACd,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAC9C,WAAW,EACX,aAAa,EACb,eAAe,EACf,aAAa,CACd,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search/store/types.ts"],"names":[],"mappings":"A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AC,MAAM,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,GAAG,IAAI,CAAC;CAClE;AAED;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,wBAAwB,CAAC,cAAc,EAAE,4BAA4B,GAAG,IAAI,CAAC;IAC7E;;OAEG;IACH,gCAAgC,IAAI,IAAI,CAAC;IACzC;;OAEG;IACH,0BAA0B,CAAC,OAAO,EAAE,qBAAqB,GAAG,IAAI,GAAG,IAAI,CAAC;IACxE;;;;OAIG;IACH,mBAAmB,CAAC,OAAO,EAAE,aAAa,GAAG,cAAc,CAAC;IAC5D;;;;;;OAMG;IACH,4BAA4B,IAAI,IAAI,CAAC;IACrC;;;;OAIG;IACH,YAAY,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC;IACzC;;;;OAIG;IACH,UAAU,CAAC,UAAU,EAAE,eAAe,GAAG,IAAI,CAAC;IAC9C;;;;OAIG;IACH,kBAAkB,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI,CAAC;CACpD;AAED;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAC3C,WAAW,EACX,aAAa,EACb,eAAe,EACf,aAAa,CACd,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAC9C,WAAW,EACX,aAAa,EACb,eAAe,EACf,aAAa,CACd,CAAC"}
@@ -21,7 +21,7 @@ declare const _default: import("vue").DefineComponent<{
21
21
  * @public
22
22
  */
23
23
  animation: {
24
- type: PropType<string | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>>;
24
+ type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
25
25
  default: () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
26
26
  };
27
27
  /**
@@ -58,7 +58,7 @@ declare const _default: import("vue").DefineComponent<{
58
58
  * @public
59
59
  */
60
60
  animation: {
61
- type: PropType<string | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>>;
61
+ type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
62
62
  default: () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
63
63
  };
64
64
  /**
@@ -77,7 +77,7 @@ declare const _default: import("vue").DefineComponent<{
77
77
  */
78
78
  animateOnlyOnHover: BooleanConstructor;
79
79
  }>>, {
80
- animation: string | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
80
+ animation: string | Function | Record<string, any>;
81
81
  animationIntervalMs: number;
82
82
  animateOnlyOnHover: boolean;
83
83
  }, {}>;
@@ -28,11 +28,17 @@ declare const _default: import("vue").DefineComponent<{
28
28
  /**
29
29
  * The debounce time in milliseconds to track the query.
30
30
  */
31
- queryTaggingDebounceMs: NumberConstructor;
31
+ queryTaggingDebounceMs: {
32
+ type: NumberConstructor;
33
+ default: number;
34
+ };
32
35
  /**
33
36
  * The consent to be emitted.
34
37
  */
35
- consent: BooleanConstructor;
38
+ consent: {
39
+ type: BooleanConstructor;
40
+ default: null;
41
+ };
36
42
  }, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
37
43
  /**
38
44
  * The TTL in milliseconds for storing the clicked result info.
@@ -56,14 +62,21 @@ declare const _default: import("vue").DefineComponent<{
56
62
  /**
57
63
  * The debounce time in milliseconds to track the query.
58
64
  */
59
- queryTaggingDebounceMs: NumberConstructor;
65
+ queryTaggingDebounceMs: {
66
+ type: NumberConstructor;
67
+ default: number;
68
+ };
60
69
  /**
61
70
  * The consent to be emitted.
62
71
  */
63
- consent: BooleanConstructor;
72
+ consent: {
73
+ type: BooleanConstructor;
74
+ default: null;
75
+ };
64
76
  }>>, {
65
77
  clickedResultStorageTTLMs: number;
66
78
  clickedResultStorageKey: string;
79
+ queryTaggingDebounceMs: number;
67
80
  consent: boolean;
68
81
  }, {}>;
69
82
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"tagging.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/tagging/components/tagging.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AAME;;;;;;GAMG;;IAKC;;OAEG;;;;;IAKH;;;OAGG;;;;;IAKH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;;IAzBH;;OAEG;;;;;IAKH;;;OAGG;;;;;IAKH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;;;;;;AA7BP,wBA0FG"}
1
+ {"version":3,"file":"tagging.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/tagging/components/tagging.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AAME;;;;;;GAMG;;IAKC;;OAEG;;;;;IAKH;;;OAGG;;;;;IAKH;;OAEG;;IAEH;;OAEG;;;;;IAKH;;OAEG;;;;;;IA5BH;;OAEG;;;;;IAKH;;;OAGG;;;;;IAKH;;OAEG;;IAEH;;OAEG;;;;;IAKH;;OAEG;;;;;;;;;;;AAhCP,wBAgGG"}
@@ -20,6 +20,7 @@ import { SemanticQueriesXModule } from './semantic-queries/x-module';
20
20
  import { TaggingXModule } from './tagging';
21
21
  import { UrlXModule } from './url';
22
22
  import { ExperienceControlsXModule } from './experience-controls/x-module';
23
+ import { RelatedPromptsXModule } from './related-prompts/x-module';
23
24
  /**
24
25
  * Gives each {@link XModule} a name, that can be used to retrieve then its value.
25
26
  *
@@ -37,6 +38,7 @@ export interface XModulesTree {
37
38
  queriesPreview: QueriesPreviewXModule;
38
39
  querySuggestions: QuerySuggestionsXModule;
39
40
  recommendations: RecommendationsXModule;
41
+ relatedPrompts: RelatedPromptsXModule;
40
42
  relatedTags: RelatedTagsXModule;
41
43
  scroll: ScrollXModule;
42
44
  search: SearchXModule;