@empathyco/x-components 6.0.0-alpha.60 → 6.0.0-alpha.62

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 (2363) hide show
  1. package/CHANGELOG.md +24 -1
  2. package/core/index.js +46 -45
  3. package/core/index.js.map +1 -1
  4. package/design-system/deprecated-full-theme.css +368 -308
  5. package/docs/API-reference/api/x-components.addquerytohistory.md +1 -1
  6. package/docs/API-reference/api/x-components.addquerytohistoryaction.addquerytohistory.md +1 -1
  7. package/docs/API-reference/api/x-components.addquerytohistoryaction.md +2 -2
  8. package/docs/API-reference/api/x-components.basecolumnpickerdropdown.md +4 -4
  9. package/docs/API-reference/api/x-components.baseresultlink.md +1 -0
  10. package/docs/API-reference/api/x-components.baseresultrating.md +1 -0
  11. package/docs/API-reference/api/x-components.baseteleport.md +21 -0
  12. package/docs/API-reference/api/x-components.bus.md +1 -1
  13. package/docs/API-reference/api/x-components.cancelfetchandsaveidentifierresults.md +1 -1
  14. package/docs/API-reference/api/x-components.cancelfetchandsaveidentifierresultswire.md +1 -1
  15. package/docs/API-reference/api/x-components.cancelfetchandsavenextqueries.md +1 -1
  16. package/docs/API-reference/api/x-components.cancelfetchandsavepopularsearches.md +1 -1
  17. package/docs/API-reference/api/x-components.cancelfetchandsavequerysuggestions.md +1 -1
  18. package/docs/API-reference/api/x-components.cancelfetchandsaverecommendations.md +1 -1
  19. package/docs/API-reference/api/x-components.cancelfetchandsaverelatedprompts.md +1 -1
  20. package/docs/API-reference/api/x-components.cancelfetchandsaverelatedtags.md +1 -1
  21. package/docs/API-reference/api/x-components.cancelfetchandsaverelatedtagswire.md +1 -1
  22. package/docs/API-reference/api/x-components.cancelfetchandsavesearchresponse.md +1 -1
  23. package/docs/API-reference/api/x-components.cancelfetchandsavesearchresponsewire.md +1 -1
  24. package/docs/API-reference/api/x-components.cancelfetchandsavesuggestionswire.md +1 -1
  25. package/docs/API-reference/api/x-components.configmutations.md +2 -7
  26. package/docs/API-reference/api/x-components.configmutations.mergeconfig.md +2 -13
  27. package/docs/API-reference/api/x-components.configmutations.setconfig.md +2 -13
  28. package/docs/API-reference/api/x-components.createfetchandsaveactions.md +2 -2
  29. package/docs/API-reference/api/x-components.createrelatedtagsquerygetter.md +2 -2
  30. package/docs/API-reference/api/x-components.createstoreemitters.md +2 -2
  31. package/docs/API-reference/api/x-components.debouncedfunction.cancel.md +2 -6
  32. package/docs/API-reference/api/x-components.debouncedfunction.md +4 -4
  33. package/docs/API-reference/api/x-components.defaultfacetsservice.clearfilterswithmetadata.md +2 -2
  34. package/docs/API-reference/api/x-components.defaultfacetsservice.md +1 -1
  35. package/docs/API-reference/api/x-components.devicemutations.md +4 -4
  36. package/docs/API-reference/api/x-components.devicemutations.setname.md +2 -13
  37. package/docs/API-reference/api/x-components.devicexevents.deviceprovided.md +1 -1
  38. package/docs/API-reference/api/x-components.devicexevents.md +1 -1
  39. package/docs/API-reference/api/x-components.empathizemutations.md +4 -4
  40. package/docs/API-reference/api/x-components.empathizemutations.setisopen.md +2 -13
  41. package/docs/API-reference/api/x-components.empathizexevents.empathizeclosed.md +1 -1
  42. package/docs/API-reference/api/x-components.empathizexevents.empathizeopened.md +1 -1
  43. package/docs/API-reference/api/x-components.empathizexevents.md +3 -3
  44. package/docs/API-reference/api/x-components.empathizexevents.userclosedempathize.md +1 -1
  45. package/docs/API-reference/api/x-components.experiencecontrolsactions.cancelfetchandsavecontrols.md +1 -1
  46. package/docs/API-reference/api/x-components.experiencecontrolsactions.fetchandsaveexperiencecontrolsresponse.md +2 -13
  47. package/docs/API-reference/api/x-components.experiencecontrolsactions.fetchexperiencecontrolsresponse.md +2 -15
  48. package/docs/API-reference/api/x-components.experiencecontrolsactions.md +3 -8
  49. package/docs/API-reference/api/x-components.experiencecontrolsmutations.md +6 -6
  50. package/docs/API-reference/api/x-components.experiencecontrolsmutations.setcontrols.md +2 -13
  51. package/docs/API-reference/api/x-components.experiencecontrolsmutations.setevents.md +2 -13
  52. package/docs/API-reference/api/x-components.experiencecontrolsmutations.setparams.md +2 -13
  53. package/docs/API-reference/api/x-components.externaltaggingservice.md +8 -8
  54. package/docs/API-reference/api/x-components.externaltaggingservice.movetosessionstorage.md +2 -13
  55. package/docs/API-reference/api/x-components.externaltaggingservice.storeaddtocart.md +2 -13
  56. package/docs/API-reference/api/x-components.externaltaggingservice.storeresultclicked.md +2 -13
  57. package/docs/API-reference/api/x-components.externaltaggingservice.trackaddtocart.md +2 -13
  58. package/docs/API-reference/api/x-components.extraparamsmutations.md +4 -4
  59. package/docs/API-reference/api/x-components.extraparamsmutations.setparams.md +2 -13
  60. package/docs/API-reference/api/x-components.extraparamsxevents.extraparamschanged.md +1 -1
  61. package/docs/API-reference/api/x-components.extraparamsxevents.extraparamsinitialized.md +1 -1
  62. package/docs/API-reference/api/x-components.extraparamsxevents.extraparamsprovided.md +1 -1
  63. package/docs/API-reference/api/x-components.extraparamsxevents.md +4 -4
  64. package/docs/API-reference/api/x-components.extraparamsxevents.userchangedextraparams.md +1 -1
  65. package/docs/API-reference/api/x-components.facetsmutations.clearstickyfilters.md +2 -6
  66. package/docs/API-reference/api/x-components.facetsmutations.md +15 -15
  67. package/docs/API-reference/api/x-components.facetsmutations.mutatefilter.md +2 -13
  68. package/docs/API-reference/api/x-components.facetsmutations.removefacet.md +2 -13
  69. package/docs/API-reference/api/x-components.facetsmutations.removefilter.md +2 -13
  70. package/docs/API-reference/api/x-components.facetsmutations.removefilters.md +2 -13
  71. package/docs/API-reference/api/x-components.facetsmutations.removestickyfilter.md +2 -13
  72. package/docs/API-reference/api/x-components.facetsmutations.setfacet.md +2 -13
  73. package/docs/API-reference/api/x-components.facetsmutations.setfacetgroup.md +2 -13
  74. package/docs/API-reference/api/x-components.facetsmutations.setfilters.md +2 -13
  75. package/docs/API-reference/api/x-components.facetsmutations.setpreselectedfilters.md +2 -13
  76. package/docs/API-reference/api/x-components.facetsmutations.setstickyfilter.md +2 -13
  77. package/docs/API-reference/api/x-components.facetsservice.clearfilters.md +2 -14
  78. package/docs/API-reference/api/x-components.facetsservice.clearfilterswithmetadata.md +3 -14
  79. package/docs/API-reference/api/x-components.facetsservice.deselect.md +2 -14
  80. package/docs/API-reference/api/x-components.facetsservice.md +14 -14
  81. package/docs/API-reference/api/x-components.facetsservice.select.md +2 -13
  82. package/docs/API-reference/api/x-components.facetsservice.selectpreselectedfilters.md +2 -6
  83. package/docs/API-reference/api/x-components.facetsservice.setfacets.md +2 -13
  84. package/docs/API-reference/api/x-components.facetsservice.setquery.md +2 -13
  85. package/docs/API-reference/api/x-components.facetsservice.toggle.md +2 -13
  86. package/docs/API-reference/api/x-components.facetsservice.updatefacets.md +2 -13
  87. package/docs/API-reference/api/x-components.facetsservice.updatepreselectedfilters.md +2 -13
  88. package/docs/API-reference/api/x-components.fetchandsavehooks.fetch.md +2 -16
  89. package/docs/API-reference/api/x-components.fetchandsavehooks.md +8 -8
  90. package/docs/API-reference/api/x-components.fetchandsavehooks.oncancel.md +2 -6
  91. package/docs/API-reference/api/x-components.fetchandsavehooks.onerror.md +3 -14
  92. package/docs/API-reference/api/x-components.fetchandsavehooks.onsuccess.md +3 -15
  93. package/docs/API-reference/api/x-components.fetchandsaveidentifierresults.md +1 -1
  94. package/docs/API-reference/api/x-components.fetchandsavenextqueries.md +1 -1
  95. package/docs/API-reference/api/x-components.fetchandsavepopularsearches.md +1 -1
  96. package/docs/API-reference/api/x-components.fetchandsavequerypreview.md +1 -1
  97. package/docs/API-reference/api/x-components.fetchandsavequerysuggestions.md +1 -1
  98. package/docs/API-reference/api/x-components.fetchandsaverecommendations.md +1 -1
  99. package/docs/API-reference/api/x-components.fetchandsaverelatedprompts.md +1 -1
  100. package/docs/API-reference/api/x-components.fetchandsaverelatedtags.md +1 -1
  101. package/docs/API-reference/api/x-components.fetchandsavesearchresponse.md +1 -1
  102. package/docs/API-reference/api/x-components.fetchandsavesemanticquery.md +1 -1
  103. package/docs/API-reference/api/x-components.fetchexperiencecontrolsresponse.md +1 -1
  104. package/docs/API-reference/api/x-components.fetchidentifierresults.md +1 -1
  105. package/docs/API-reference/api/x-components.fetchnextqueries.md +1 -1
  106. package/docs/API-reference/api/x-components.fetchpopularsearches.md +1 -1
  107. package/docs/API-reference/api/x-components.fetchquerypreview.md +1 -1
  108. package/docs/API-reference/api/x-components.fetchquerysuggestions.md +1 -1
  109. package/docs/API-reference/api/x-components.fetchrecommendations.md +1 -1
  110. package/docs/API-reference/api/x-components.fetchrelatedprompts.md +1 -1
  111. package/docs/API-reference/api/x-components.fetchrelatedtags.md +1 -1
  112. package/docs/API-reference/api/x-components.fetchsearchresponse.md +1 -1
  113. package/docs/API-reference/api/x-components.fetchsemanticquery.md +1 -1
  114. package/docs/API-reference/api/x-components.historyqueriesactions.addquerytohistory.md +2 -12
  115. package/docs/API-reference/api/x-components.historyqueriesactions.loadhistoryqueriesfrombrowserstorage.md +2 -6
  116. package/docs/API-reference/api/x-components.historyqueriesactions.md +12 -12
  117. package/docs/API-reference/api/x-components.historyqueriesactions.refreshsession.md +2 -6
  118. package/docs/API-reference/api/x-components.historyqueriesactions.removefromhistory.md +2 -13
  119. package/docs/API-reference/api/x-components.historyqueriesactions.sethistoryqueries.md +2 -13
  120. package/docs/API-reference/api/x-components.historyqueriesactions.seturlparams.md +2 -13
  121. package/docs/API-reference/api/x-components.historyqueriesactions.togglehistoryqueries.md +2 -13
  122. package/docs/API-reference/api/x-components.historyqueriesactions.updatehistoryquerieswithsearchresponse.md +2 -13
  123. package/docs/API-reference/api/x-components.historyqueriesmutations.md +8 -8
  124. package/docs/API-reference/api/x-components.historyqueriesmutations.sethistoryqueries.md +2 -13
  125. package/docs/API-reference/api/x-components.historyqueriesmutations.setisenabled.md +2 -13
  126. package/docs/API-reference/api/x-components.historyqueriesmutations.setsearchselectedfilters.md +2 -13
  127. package/docs/API-reference/api/x-components.historyqueriesmutations.setsessiontimestamp.md +2 -13
  128. package/docs/API-reference/api/x-components.identifierresultsactions.cancelfetchandsaveidentifierresults.md +3 -7
  129. package/docs/API-reference/api/x-components.identifierresultsactions.fetchandsaveidentifierresults.md +2 -13
  130. package/docs/API-reference/api/x-components.identifierresultsactions.fetchidentifierresults.md +2 -15
  131. package/docs/API-reference/api/x-components.identifierresultsactions.md +9 -9
  132. package/docs/API-reference/api/x-components.identifierresultsactions.saveorigin.md +2 -13
  133. package/docs/API-reference/api/x-components.identifierresultsactions.savequery.md +2 -13
  134. package/docs/API-reference/api/x-components.identifierresultsmutations.md +6 -6
  135. package/docs/API-reference/api/x-components.identifierresultsmutations.setidentifierresults.md +2 -13
  136. package/docs/API-reference/api/x-components.identifierresultsmutations.setorigin.md +2 -13
  137. package/docs/API-reference/api/x-components.identifierresultsmutations.setparams.md +2 -13
  138. package/docs/API-reference/api/x-components.increasepageappendingresults.md +1 -1
  139. package/docs/API-reference/api/x-components.initwrapper.bus.md +1 -1
  140. package/docs/API-reference/api/x-components.initwrapper.md +1 -1
  141. package/docs/API-reference/api/x-components.installxoptions.bus.md +1 -1
  142. package/docs/API-reference/api/x-components.installxoptions.installextraplugins.md +3 -14
  143. package/docs/API-reference/api/x-components.installxoptions.md +2 -7
  144. package/docs/API-reference/api/x-components.loadhistoryqueriesfrombrowserstorage.md +1 -1
  145. package/docs/API-reference/api/x-components.md +62 -61
  146. package/docs/API-reference/api/x-components.nextqueriesactions.cancelfetchandsavenextqueries.md +3 -7
  147. package/docs/API-reference/api/x-components.nextqueriesactions.fetchandsavenextqueries.md +2 -13
  148. package/docs/API-reference/api/x-components.nextqueriesactions.fetchandsavenextquerypreview.md +3 -14
  149. package/docs/API-reference/api/x-components.nextqueriesactions.fetchnextqueries.md +2 -15
  150. package/docs/API-reference/api/x-components.nextqueriesactions.fetchnextquerypreview.md +3 -16
  151. package/docs/API-reference/api/x-components.nextqueriesactions.md +11 -11
  152. package/docs/API-reference/api/x-components.nextqueriesactions.setqueryfromlasthistoryquery.md +2 -13
  153. package/docs/API-reference/api/x-components.nextqueriesactions.seturlparams.md +2 -13
  154. package/docs/API-reference/api/x-components.nextqueriesmutations.md +10 -10
  155. package/docs/API-reference/api/x-components.nextqueriesmutations.resetresultspreview.md +2 -6
  156. package/docs/API-reference/api/x-components.nextqueriesmutations.setnextqueries.md +2 -13
  157. package/docs/API-reference/api/x-components.nextqueriesmutations.setparams.md +2 -13
  158. package/docs/API-reference/api/x-components.nextqueriesmutations.setrelatedtags.md +2 -13
  159. package/docs/API-reference/api/x-components.nextqueriesmutations.setresultspreview.md +2 -13
  160. package/docs/API-reference/api/x-components.nextqueriesmutations.setsearchedqueries.md +2 -13
  161. package/docs/API-reference/api/x-components.popularsearchesactions.cancelfetchandsavesuggestions.md +3 -7
  162. package/docs/API-reference/api/x-components.popularsearchesactions.fetchandsavesuggestions.md +2 -13
  163. package/docs/API-reference/api/x-components.popularsearchesactions.fetchsuggestions.md +2 -15
  164. package/docs/API-reference/api/x-components.popularsearchesactions.md +6 -6
  165. package/docs/API-reference/api/x-components.popularsearchesmutations.md +6 -6
  166. package/docs/API-reference/api/x-components.popularsearchesmutations.setparams.md +2 -13
  167. package/docs/API-reference/api/x-components.popularsearchesmutations.setsearchedqueries.md +2 -13
  168. package/docs/API-reference/api/x-components.popularsearchesmutations.setsuggestions.md +2 -13
  169. package/docs/API-reference/api/x-components.queriespreviewactions.fetchandsavequerypreview.md +2 -13
  170. package/docs/API-reference/api/x-components.queriespreviewactions.fetchquerypreview.md +2 -15
  171. package/docs/API-reference/api/x-components.queriespreviewactions.md +5 -5
  172. package/docs/API-reference/api/x-components.queriespreviewmutations.addquerypreviewinstance.md +2 -13
  173. package/docs/API-reference/api/x-components.queriespreviewmutations.clearquerypreview.md +2 -13
  174. package/docs/API-reference/api/x-components.queriespreviewmutations.md +12 -12
  175. package/docs/API-reference/api/x-components.queriespreviewmutations.removequerypreviewinstance.md +3 -14
  176. package/docs/API-reference/api/x-components.queriespreviewmutations.setparams.md +2 -13
  177. package/docs/API-reference/api/x-components.queriespreviewmutations.setquerypreviewcached.md +2 -13
  178. package/docs/API-reference/api/x-components.queriespreviewmutations.setselectedquerypreview.md +2 -13
  179. package/docs/API-reference/api/x-components.queriespreviewmutations.setstatus.md +2 -13
  180. package/docs/API-reference/api/x-components.queriespreviewmutations.updateaquerypreviewresult.md +3 -14
  181. package/docs/API-reference/api/x-components.querymutations.md +4 -4
  182. package/docs/API-reference/api/x-components.querymutations.setquery.md +2 -13
  183. package/docs/API-reference/api/x-components.querysuggestionsactions.cancelfetchandsavesuggestions.md +3 -7
  184. package/docs/API-reference/api/x-components.querysuggestionsactions.fetchandsavesuggestions.md +2 -13
  185. package/docs/API-reference/api/x-components.querysuggestionsactions.fetchsuggestions.md +2 -15
  186. package/docs/API-reference/api/x-components.querysuggestionsactions.md +8 -8
  187. package/docs/API-reference/api/x-components.querysuggestionsactions.seturlparams.md +2 -13
  188. package/docs/API-reference/api/x-components.querysuggestionsgetter.md +1 -1
  189. package/docs/API-reference/api/x-components.querysuggestionsgetter.querysuggestions.md +2 -2
  190. package/docs/API-reference/api/x-components.querysuggestionsmutations.md +6 -6
  191. package/docs/API-reference/api/x-components.querysuggestionsmutations.setparams.md +2 -13
  192. package/docs/API-reference/api/x-components.querysuggestionsmutations.setsearchedqueries.md +2 -13
  193. package/docs/API-reference/api/x-components.querysuggestionsmutations.setsuggestions.md +2 -13
  194. package/docs/API-reference/api/x-components.recommendationsactions.cancelfetchandsaverecommendations.md +3 -7
  195. package/docs/API-reference/api/x-components.recommendationsactions.fetchandsaverecommendations.md +2 -13
  196. package/docs/API-reference/api/x-components.recommendationsactions.fetchrecommendations.md +2 -15
  197. package/docs/API-reference/api/x-components.recommendationsactions.md +6 -6
  198. package/docs/API-reference/api/x-components.recommendationsmutations.md +6 -6
  199. package/docs/API-reference/api/x-components.recommendationsmutations.setparams.md +2 -13
  200. package/docs/API-reference/api/x-components.recommendationsmutations.setrecommendations.md +2 -13
  201. package/docs/API-reference/api/x-components.recommendationsmutations.updaterecommendation.md +2 -13
  202. package/docs/API-reference/api/x-components.refreshsession.md +1 -1
  203. package/docs/API-reference/api/x-components.relatedpromptsactions.cancelfetchandsaverelatedprompts.md +3 -7
  204. package/docs/API-reference/api/x-components.relatedpromptsactions.fetchandsaverelatedprompts.md +2 -13
  205. package/docs/API-reference/api/x-components.relatedpromptsactions.fetchrelatedprompts.md +2 -13
  206. package/docs/API-reference/api/x-components.relatedpromptsactions.md +8 -8
  207. package/docs/API-reference/api/x-components.relatedpromptsactions.seturlparams.md +2 -13
  208. package/docs/API-reference/api/x-components.relatedpromptsmutations.md +11 -11
  209. package/docs/API-reference/api/x-components.relatedpromptsmutations.resetrelatedpromptsstate.md +2 -6
  210. package/docs/API-reference/api/x-components.relatedpromptsmutations.resetselectedprompt.md +2 -6
  211. package/docs/API-reference/api/x-components.relatedpromptsmutations.setparams.md +2 -13
  212. package/docs/API-reference/api/x-components.relatedpromptsmutations.setrelatedpromptsproducts.md +2 -13
  213. package/docs/API-reference/api/x-components.relatedpromptsmutations.setrelatedpromptsrelatedtags.md +2 -13
  214. package/docs/API-reference/api/x-components.relatedpromptsmutations.setselectedprompt.md +2 -13
  215. package/docs/API-reference/api/x-components.relatedpromptsmutations.setselectedquery.md +2 -13
  216. package/docs/API-reference/api/x-components.relatedtags.md +1 -1
  217. package/docs/API-reference/api/x-components.relatedtagsactions.cancelfetchandsaverelatedtags.md +3 -7
  218. package/docs/API-reference/api/x-components.relatedtagsactions.fetchandsaverelatedtags.md +2 -13
  219. package/docs/API-reference/api/x-components.relatedtagsactions.fetchrelatedtags.md +2 -15
  220. package/docs/API-reference/api/x-components.relatedtagsactions.md +9 -9
  221. package/docs/API-reference/api/x-components.relatedtagsactions.seturlparams.md +2 -13
  222. package/docs/API-reference/api/x-components.relatedtagsactions.togglerelatedtag.md +2 -13
  223. package/docs/API-reference/api/x-components.relatedtagsmutations.md +6 -6
  224. package/docs/API-reference/api/x-components.relatedtagsmutations.setparams.md +2 -13
  225. package/docs/API-reference/api/x-components.relatedtagsmutations.setrelatedtags.md +2 -13
  226. package/docs/API-reference/api/x-components.relatedtagsmutations.setselectedrelatedtags.md +2 -13
  227. package/docs/API-reference/api/x-components.removefromhistory.md +1 -1
  228. package/docs/API-reference/api/x-components.resetrequestonrefinement.md +1 -1
  229. package/docs/API-reference/api/x-components.resetstateifnorequestwire.md +1 -1
  230. package/docs/API-reference/api/x-components.saveidentifierresultsorigin.md +1 -1
  231. package/docs/API-reference/api/x-components.savequery.md +1 -1
  232. package/docs/API-reference/api/x-components.savesearchorigin.md +1 -1
  233. package/docs/API-reference/api/x-components.savesearchresponse.md +1 -1
  234. package/docs/API-reference/api/x-components.scrollmutations.md +5 -5
  235. package/docs/API-reference/api/x-components.scrollmutations.setpendingscrollto.md +2 -13
  236. package/docs/API-reference/api/x-components.scrollmutations.setscrollcomponentstate.md +2 -13
  237. package/docs/API-reference/api/x-components.scrollvisibilityobserver.md +5 -5
  238. package/docs/API-reference/api/x-components.scrollvisibilityobserver.observe.md +2 -13
  239. package/docs/API-reference/api/x-components.scrollvisibilityobserver.unobserve.md +2 -13
  240. package/docs/API-reference/api/x-components.scrollxevents.md +8 -8
  241. package/docs/API-reference/api/x-components.scrollxevents.scrollrestorefailed.md +1 -1
  242. package/docs/API-reference/api/x-components.scrollxevents.scrollrestoresucceeded.md +1 -1
  243. package/docs/API-reference/api/x-components.scrollxevents.useralmostreachedscrollend.md +1 -1
  244. package/docs/API-reference/api/x-components.scrollxevents.userchangedscrolldirection.md +1 -1
  245. package/docs/API-reference/api/x-components.scrollxevents.userreachedscrollend.md +1 -1
  246. package/docs/API-reference/api/x-components.scrollxevents.userreachedscrollstart.md +1 -1
  247. package/docs/API-reference/api/x-components.scrollxevents.userscrolled.md +1 -1
  248. package/docs/API-reference/api/x-components.scrollxevents.userscrolledtoelement.md +1 -1
  249. package/docs/API-reference/api/x-components.searchactions.cancelfetchandsavesearchresponse.md +3 -7
  250. package/docs/API-reference/api/x-components.searchactions.fetchandsavesearchresponse.md +2 -13
  251. package/docs/API-reference/api/x-components.searchactions.fetchsearchresponse.md +2 -15
  252. package/docs/API-reference/api/x-components.searchactions.increasepageappendingresults.md +3 -6
  253. package/docs/API-reference/api/x-components.searchactions.md +12 -12
  254. package/docs/API-reference/api/x-components.searchactions.resetrequestonrefinement.md +2 -13
  255. package/docs/API-reference/api/x-components.searchactions.saveorigin.md +2 -13
  256. package/docs/API-reference/api/x-components.searchactions.savesearchresponse.md +2 -13
  257. package/docs/API-reference/api/x-components.searchactions.seturlparams.md +2 -13
  258. package/docs/API-reference/api/x-components.searchboxactions.md +5 -5
  259. package/docs/API-reference/api/x-components.searchboxactions.setinputstatus.md +2 -13
  260. package/docs/API-reference/api/x-components.searchboxactions.seturlparams.md +2 -13
  261. package/docs/API-reference/api/x-components.searchboxmutations.md +4 -4
  262. package/docs/API-reference/api/x-components.searchboxmutations.setinputstatus.md +2 -13
  263. package/docs/API-reference/api/x-components.searchboxxevents.md +12 -12
  264. package/docs/API-reference/api/x-components.searchboxxevents.searchboxquerychanged.md +1 -1
  265. package/docs/API-reference/api/x-components.searchboxxevents.userblurredsearchbox.md +1 -1
  266. package/docs/API-reference/api/x-components.searchboxxevents.userclearedquery.md +1 -1
  267. package/docs/API-reference/api/x-components.searchboxxevents.userclickedsearchbox.md +1 -1
  268. package/docs/API-reference/api/x-components.searchboxxevents.userfocusedsearchbox.md +1 -1
  269. package/docs/API-reference/api/x-components.searchboxxevents.userhoveredinsearchbox.md +1 -1
  270. package/docs/API-reference/api/x-components.searchboxxevents.userhoveredoutsearchbox.md +1 -1
  271. package/docs/API-reference/api/x-components.searchboxxevents.useristypingaquery.md +1 -1
  272. package/docs/API-reference/api/x-components.searchboxxevents.userpressedclearsearchboxbutton.md +1 -1
  273. package/docs/API-reference/api/x-components.searchboxxevents.userpressedenterkey.md +1 -1
  274. package/docs/API-reference/api/x-components.searchboxxevents.userpressedsearchbutton.md +1 -1
  275. package/docs/API-reference/api/x-components.searchboxxevents.usertalked.md +1 -1
  276. package/docs/API-reference/api/x-components.searchmutations.appendresults.md +2 -13
  277. package/docs/API-reference/api/x-components.searchmutations.md +28 -28
  278. package/docs/API-reference/api/x-components.searchmutations.resetstate.md +3 -7
  279. package/docs/API-reference/api/x-components.searchmutations.resetstateforreload.md +3 -7
  280. package/docs/API-reference/api/x-components.searchmutations.setbanners.md +2 -13
  281. package/docs/API-reference/api/x-components.searchmutations.setdisplaytagging.md +2 -13
  282. package/docs/API-reference/api/x-components.searchmutations.setfacets.md +2 -13
  283. package/docs/API-reference/api/x-components.searchmutations.setfromnoresultswithfilters.md +2 -13
  284. package/docs/API-reference/api/x-components.searchmutations.setisappendresults.md +2 -13
  285. package/docs/API-reference/api/x-components.searchmutations.setisnoresults.md +2 -13
  286. package/docs/API-reference/api/x-components.searchmutations.setorigin.md +2 -13
  287. package/docs/API-reference/api/x-components.searchmutations.setpage.md +2 -13
  288. package/docs/API-reference/api/x-components.searchmutations.setparams.md +2 -13
  289. package/docs/API-reference/api/x-components.searchmutations.setpartialresults.md +2 -13
  290. package/docs/API-reference/api/x-components.searchmutations.setpromoteds.md +2 -13
  291. package/docs/API-reference/api/x-components.searchmutations.setquerytagging.md +2 -13
  292. package/docs/API-reference/api/x-components.searchmutations.setredirections.md +2 -13
  293. package/docs/API-reference/api/x-components.searchmutations.setrelatedtags.md +2 -13
  294. package/docs/API-reference/api/x-components.searchmutations.setresults.md +2 -13
  295. package/docs/API-reference/api/x-components.searchmutations.setselectedfilters.md +2 -13
  296. package/docs/API-reference/api/x-components.searchmutations.setsort.md +2 -13
  297. package/docs/API-reference/api/x-components.searchmutations.setspellcheck.md +2 -13
  298. package/docs/API-reference/api/x-components.searchmutations.setstats.md +2 -13
  299. package/docs/API-reference/api/x-components.searchmutations.settotalresults.md +2 -13
  300. package/docs/API-reference/api/x-components.searchmutations.updateresult.md +2 -13
  301. package/docs/API-reference/api/x-components.semanticqueriesactions.fetchandsavesemanticquery.md +2 -13
  302. package/docs/API-reference/api/x-components.semanticqueriesactions.fetchsemanticquery.md +2 -15
  303. package/docs/API-reference/api/x-components.semanticqueriesactions.md +5 -5
  304. package/docs/API-reference/api/x-components.semanticqueriesmutations.md +8 -8
  305. package/docs/API-reference/api/x-components.semanticqueriesmutations.setparams.md +2 -13
  306. package/docs/API-reference/api/x-components.semanticqueriesmutations.setsemanticqueries.md +2 -13
  307. package/docs/API-reference/api/x-components.semanticqueriesmutations.setsemanticqueriesrelatedtags.md +2 -13
  308. package/docs/API-reference/api/x-components.semanticqueriesmutations.settotalresults.md +2 -13
  309. package/docs/API-reference/api/x-components.sethistoryqueries.md +1 -1
  310. package/docs/API-reference/api/x-components.setqueryfromlasthistoryquery.md +1 -1
  311. package/docs/API-reference/api/x-components.setsearchurlparams.md +1 -1
  312. package/docs/API-reference/api/x-components.sortdropdown.md +4 -4
  313. package/docs/API-reference/api/x-components.sortlist.md +4 -4
  314. package/docs/API-reference/api/x-components.sortpickerlist.md +4 -4
  315. package/docs/API-reference/api/x-components.spatialnavigation.md +4 -4
  316. package/docs/API-reference/api/x-components.spatialnavigation.navigateto.md +2 -15
  317. package/docs/API-reference/api/x-components.stateselector.filter.md +2 -16
  318. package/docs/API-reference/api/x-components.stateselector.md +1 -6
  319. package/docs/API-reference/api/x-components.statusmutations.md +4 -4
  320. package/docs/API-reference/api/x-components.statusmutations.setstatus.md +2 -13
  321. package/docs/API-reference/api/x-components.storemodulestateandgetters.getters.md +11 -0
  322. package/docs/API-reference/api/x-components.storemodulestateandgetters.md +9 -6
  323. package/docs/API-reference/api/x-components.storemodulestateandgetters.state.md +11 -0
  324. package/docs/API-reference/api/x-components.taggingactions.md +4 -4
  325. package/docs/API-reference/api/x-components.taggingactions.track.md +2 -13
  326. package/docs/API-reference/api/x-components.taggingmutations.md +6 -6
  327. package/docs/API-reference/api/x-components.taggingmutations.setconsent.md +2 -13
  328. package/docs/API-reference/api/x-components.taggingmutations.setnoresultstaggingenabled.md +2 -13
  329. package/docs/API-reference/api/x-components.taggingmutations.setquerytagginginfo.md +2 -13
  330. package/docs/API-reference/api/x-components.takenavigationcontrol.direction.md +11 -0
  331. package/docs/API-reference/api/x-components.takenavigationcontrol.md +10 -7
  332. package/docs/API-reference/api/x-components.takenavigationcontrol.modulename.md +11 -0
  333. package/docs/API-reference/api/x-components.takenavigationcontrol.xevent.md +11 -0
  334. package/docs/API-reference/api/x-components.togglerelatedtag.md +1 -1
  335. package/docs/API-reference/api/x-components.track.md +1 -1
  336. package/docs/API-reference/api/x-components.urlmutations.md +12 -12
  337. package/docs/API-reference/api/x-components.urlmutations.setfilters.md +2 -13
  338. package/docs/API-reference/api/x-components.urlmutations.setinitialextraparams.md +2 -13
  339. package/docs/API-reference/api/x-components.urlmutations.setpage.md +2 -13
  340. package/docs/API-reference/api/x-components.urlmutations.setparams.md +2 -13
  341. package/docs/API-reference/api/x-components.urlmutations.setprompt.md +2 -13
  342. package/docs/API-reference/api/x-components.urlmutations.setrelatedtags.md +2 -13
  343. package/docs/API-reference/api/x-components.urlmutations.setscroll.md +2 -13
  344. package/docs/API-reference/api/x-components.urlmutations.setsort.md +2 -13
  345. package/docs/API-reference/api/x-components.urlxevents.extraparamsloadedfromurl.md +1 -1
  346. package/docs/API-reference/api/x-components.urlxevents.md +4 -4
  347. package/docs/API-reference/api/x-components.urlxevents.paramsloadedfromurl.md +1 -1
  348. package/docs/API-reference/api/x-components.urlxevents.pushableurlstateupdated.md +1 -1
  349. package/docs/API-reference/api/x-components.urlxevents.replaceableurlstateupdated.md +1 -1
  350. package/docs/API-reference/api/x-components.useemitdisplayevent.md +2 -2
  351. package/docs/API-reference/api/x-components.useondisplay.md +2 -2
  352. package/docs/API-reference/api/x-components.xactioncontext.commit.md +2 -13
  353. package/docs/API-reference/api/x-components.xactioncontext.dispatch.md +2 -13
  354. package/docs/API-reference/api/x-components.xactioncontext.md +2 -9
  355. package/docs/API-reference/api/x-components.xapi.addproducttocart.md +2 -12
  356. package/docs/API-reference/api/x-components.xapi.getsnippetconfig.md +2 -8
  357. package/docs/API-reference/api/x-components.xapi.init.md +2 -13
  358. package/docs/API-reference/api/x-components.xapi.md +9 -9
  359. package/docs/API-reference/api/x-components.xapi.search.md +2 -13
  360. package/docs/API-reference/api/x-components.xapi.setsnippetconfig.md +2 -13
  361. package/docs/API-reference/api/x-components.xcomponentapi.md +1 -1
  362. package/docs/API-reference/api/x-components.xcomponentbusapi.emit.md +2 -13
  363. package/docs/API-reference/api/x-components.xcomponentbusapi.md +2 -8
  364. package/docs/API-reference/api/x-components.xinstaller.init.md +1 -1
  365. package/docs/API-reference/api/x-components.xplugin._constructor_.md +1 -1
  366. package/docs/API-reference/api/x-components.xplugin.adapter.md +1 -1
  367. package/docs/API-reference/api/x-components.xplugin.bus.md +1 -1
  368. package/docs/API-reference/components/common/animations/x-components.animate-width.md +14 -14
  369. package/docs/API-reference/components/common/animations/x-components.collapse-height.md +2 -2
  370. package/docs/API-reference/components/common/animations/x-components.collapse-width.md +2 -2
  371. package/docs/API-reference/components/common/animations/x-components.cross-fade.md +2 -2
  372. package/docs/API-reference/components/common/animations/x-components.fade-and-slide.md +2 -2
  373. package/docs/API-reference/components/common/animations/x-components.fade.md +11 -11
  374. package/docs/API-reference/components/common/animations/x-components.staggered-fade-and-slide.md +2 -2
  375. package/docs/API-reference/components/common/column-picker/x-components.base-column-picker-dropdown.md +36 -35
  376. package/docs/API-reference/components/common/column-picker/x-components.base-column-picker-list.md +53 -53
  377. package/docs/API-reference/components/common/currency/x-components.base-currency.md +130 -129
  378. package/docs/API-reference/components/common/filters/labels/x-components.base-price-filter-label.md +13 -13
  379. package/docs/API-reference/components/common/filters/labels/x-components.base-rating-filter-label.md +2 -1
  380. package/docs/API-reference/components/common/modals/x-components.base-events-modal-close.md +18 -18
  381. package/docs/API-reference/components/common/modals/x-components.base-events-modal-open.md +18 -18
  382. package/docs/API-reference/components/common/modals/x-components.base-events-modal.md +33 -36
  383. package/docs/API-reference/components/common/modals/x-components.base-id-modal-close.md +20 -18
  384. package/docs/API-reference/components/common/modals/x-components.base-id-modal-open.md +19 -19
  385. package/docs/API-reference/components/common/modals/x-components.base-id-modal.md +22 -22
  386. package/docs/API-reference/components/common/modals/x-components.base-modal.md +44 -44
  387. package/docs/API-reference/components/common/modals/x-components.close-main-modal.md +10 -10
  388. package/docs/API-reference/components/common/modals/x-components.main-modal.md +30 -30
  389. package/docs/API-reference/components/common/modals/x-components.open-main-modal.md +10 -10
  390. package/docs/API-reference/components/common/panels/x-components.base-header-toggle-panel.md +2 -2
  391. package/docs/API-reference/components/common/panels/x-components.base-id-toggle-panel-button.md +18 -17
  392. package/docs/API-reference/components/common/panels/x-components.base-id-toggle-panel.md +18 -18
  393. package/docs/API-reference/components/common/panels/x-components.base-tabs-panel.md +70 -70
  394. package/docs/API-reference/components/common/panels/x-components.base-toggle-panel.md +2 -2
  395. package/docs/API-reference/components/common/result/x-components.base-result-current-price.md +2 -1
  396. package/docs/API-reference/components/common/result/x-components.base-result-image.md +18 -18
  397. package/docs/API-reference/components/common/result/x-components.base-result-previous-price.md +16 -16
  398. package/docs/API-reference/components/common/result/x-components.base-result-rating.md +118 -118
  399. package/docs/API-reference/components/common/result/x-components.result-variant-selector.md +149 -149
  400. package/docs/API-reference/components/common/result/x-components.result-variants-provider.md +102 -102
  401. package/docs/API-reference/components/common/scroll/x-components.base-scroll.md +62 -62
  402. package/docs/API-reference/components/common/suggestions/x-components.base-suggestion.md +50 -49
  403. package/docs/API-reference/components/common/suggestions/x-components.base-suggestions.md +84 -84
  404. package/docs/API-reference/components/common/x-components.auto-progress-bar.md +21 -21
  405. package/docs/API-reference/components/common/x-components.base-dropdown.md +19 -19
  406. package/docs/API-reference/components/common/x-components.base-event-button.md +5 -4
  407. package/docs/API-reference/components/common/x-components.base-grid.md +6 -5
  408. package/docs/API-reference/components/common/x-components.base-keyboard-navigation.md +10 -10
  409. package/docs/API-reference/components/common/x-components.base-rating.md +2 -1
  410. package/docs/API-reference/components/common/x-components.base-slider.md +70 -69
  411. package/docs/API-reference/components/common/x-components.base-switch.md +27 -26
  412. package/docs/API-reference/components/common/x-components.base-teleport.md +19 -0
  413. package/docs/API-reference/components/common/x-components.base-variable-column-grid.md +86 -85
  414. package/docs/API-reference/components/common/x-components.display-emitter.md +7 -7
  415. package/docs/API-reference/components/common/x-components.global-x-bus.md +14 -13
  416. package/docs/API-reference/components/common/x-components.highlight.md +26 -26
  417. package/docs/API-reference/components/common/x-components.items-list.md +2 -2
  418. package/docs/API-reference/components/common/x-components.location-provider.md +11 -10
  419. package/docs/API-reference/components/common/x-components.page-loader-button.md +39 -39
  420. package/docs/API-reference/components/common/x-components.page-selector.md +43 -42
  421. package/docs/API-reference/components/common/x-components.sliding-panel.md +106 -105
  422. package/docs/API-reference/components/common/x-components.snippet-callbacks.md +7 -7
  423. package/docs/API-reference/components/device/x-components.device-detector.md +57 -57
  424. package/docs/API-reference/components/empathize/x-components.empathize.md +7 -7
  425. package/docs/API-reference/components/experience-controls/x-components.experience-controls.md +8 -8
  426. package/docs/API-reference/components/extra-params/x-components.extra-params.md +16 -15
  427. package/docs/API-reference/components/extra-params/x-components.renderless-extra-param.md +17 -16
  428. package/docs/API-reference/components/extra-params/x-components.snippet-config-extra-params.md +23 -23
  429. package/docs/API-reference/components/facets/x-components.facets/facets-provider.md +40 -39
  430. package/docs/API-reference/components/facets/x-components.facets/facets.md +46 -46
  431. package/docs/API-reference/components/facets/x-components.filters/all-filter.md +5 -4
  432. package/docs/API-reference/components/facets/x-components.filters/editable-number-range-filter.md +87 -87
  433. package/docs/API-reference/components/facets/x-components.filters/hierarchical-filter.md +105 -105
  434. package/docs/API-reference/components/facets/x-components.filters/number-range-filter.md +66 -66
  435. package/docs/API-reference/components/facets/x-components.filters/renderless-filter.md +15 -14
  436. package/docs/API-reference/components/facets/x-components.filters/simple-filter.md +78 -78
  437. package/docs/API-reference/components/facets/x-components.lists/exclude-filters-with-no-results.md +84 -84
  438. package/docs/API-reference/components/facets/x-components.lists/filters-list.md +2 -1
  439. package/docs/API-reference/components/facets/x-components.lists/filters-search.md +1 -1
  440. package/docs/API-reference/components/facets/x-components.lists/selected-filters-list.md +22 -22
  441. package/docs/API-reference/components/facets/x-components.lists/selected-filters.md +4 -4
  442. package/docs/API-reference/components/facets/x-components.lists/sliced-filters.md +15 -14
  443. package/docs/API-reference/components/facets/x-components.lists/sorted-filters.md +19 -19
  444. package/docs/API-reference/components/facets/x-components.preselected-filters.md +24 -24
  445. package/docs/API-reference/components/history-queries/x-components.clear-history-queries.md +18 -17
  446. package/docs/API-reference/components/history-queries/x-components.history-queries-switch.md +35 -35
  447. package/docs/API-reference/components/history-queries/x-components.history-queries.md +70 -70
  448. package/docs/API-reference/components/history-queries/x-components.history-query.md +67 -67
  449. package/docs/API-reference/components/history-queries/x-components.my-history.md +74 -74
  450. package/docs/API-reference/components/history-queries/x-components.remove-history-query.md +3 -2
  451. package/docs/API-reference/components/identifier-results/x-components.identifier-result.md +2 -2
  452. package/docs/API-reference/components/identifier-results/x-components.identifier-results.md +14 -13
  453. package/docs/API-reference/components/next-queries/x-components.next-queries-list.md +52 -52
  454. package/docs/API-reference/components/next-queries/x-components.next-queries.md +53 -53
  455. package/docs/API-reference/components/next-queries/x-components.next-query-preview.md +80 -80
  456. package/docs/API-reference/components/next-queries/x-components.next-query.md +37 -37
  457. package/docs/API-reference/components/popular-searches/x-components.popular-search.md +35 -35
  458. package/docs/API-reference/components/popular-searches/x-components.popular-searches.md +45 -44
  459. package/docs/API-reference/components/queries-preview/x-components.query-preview-button.md +29 -28
  460. package/docs/API-reference/components/queries-preview/x-components.query-preview-list.md +43 -42
  461. package/docs/API-reference/components/queries-preview/x-components.query-preview.md +60 -60
  462. package/docs/API-reference/components/query-suggestions/x-components.query-suggestion.md +53 -53
  463. package/docs/API-reference/components/query-suggestions/x-components.query-suggestions.md +58 -58
  464. package/docs/API-reference/components/recommendations/x-components.recommendations.md +41 -40
  465. package/docs/API-reference/components/related-prompts/x-components.related-prompts-list.md +52 -52
  466. package/docs/API-reference/components/related-prompts/x-components.related-prompts-tag-list.md +2 -2
  467. package/docs/API-reference/components/related-tags/x-components.related-tag.md +59 -59
  468. package/docs/API-reference/components/related-tags/x-components.related-tags.md +72 -71
  469. package/docs/API-reference/components/scroll/x-components.main-scroll-item.md +18 -17
  470. package/docs/API-reference/components/scroll/x-components.main-scroll.md +49 -48
  471. package/docs/API-reference/components/scroll/x-components.scroll-to-top.md +10 -10
  472. package/docs/API-reference/components/scroll/x-components.scroll.md +59 -59
  473. package/docs/API-reference/components/search/x-components.banner.md +36 -36
  474. package/docs/API-reference/components/search/x-components.banners-list.md +59 -58
  475. package/docs/API-reference/components/search/x-components.fallback-disclaimer.md +8 -8
  476. package/docs/API-reference/components/search/x-components.partial-query-button.md +9 -9
  477. package/docs/API-reference/components/search/x-components.partial-results-list.md +5 -5
  478. package/docs/API-reference/components/search/x-components.promoted.md +42 -42
  479. package/docs/API-reference/components/search/x-components.promoteds-list.md +61 -60
  480. package/docs/API-reference/components/search/x-components.redirection.md +21 -21
  481. package/docs/API-reference/components/search/x-components.results-list.md +62 -61
  482. package/docs/API-reference/components/search/x-components.sort-dropdown.md +24 -24
  483. package/docs/API-reference/components/search/x-components.sort-list.md +24 -24
  484. package/docs/API-reference/components/search/x-components.sort-picker-list.md +34 -34
  485. package/docs/API-reference/components/search/x-components.spellcheck-button.md +3 -3
  486. package/docs/API-reference/components/search/x-components.spellcheck.md +10 -10
  487. package/docs/API-reference/components/search-box/x-components.clear-search-input.md +38 -38
  488. package/docs/API-reference/components/search-box/x-components.search-button.md +43 -43
  489. package/docs/API-reference/components/search-box/x-components.search-input-placeholder.md +36 -36
  490. package/docs/API-reference/components/search-box/x-components.search-input.md +43 -43
  491. package/docs/API-reference/components/semantic-queries/x-components.semantic-queries.md +52 -52
  492. package/docs/API-reference/components/semantic-queries/x-components.semantic-query.md +36 -35
  493. package/docs/API-reference/components/tagging/x-components.tagging.md +24 -24
  494. package/docs/API-reference/components/url/x-components.url-handler.md +18 -18
  495. package/extra-params/index.js +1 -1
  496. package/facets/index.js +23 -23
  497. package/history-queries/index.js +1 -1
  498. package/js/components/animations/animate-clip-path/animate-clip-path.factory.js +1 -1
  499. package/js/components/animations/animate-clip-path/animate-clip-path.factory.js.map +1 -1
  500. package/js/components/animations/animate-scale/animate-scale.factory.js +1 -1
  501. package/js/components/animations/animate-scale/animate-scale.factory.js.map +1 -1
  502. package/js/components/animations/animate-translate/animate-translate.factory.js +1 -1
  503. package/js/components/animations/animate-translate/animate-translate.factory.js.map +1 -1
  504. package/js/components/animations/animate-width.vue.js.map +1 -1
  505. package/js/components/animations/animate-width.vue2.js +1 -1
  506. package/js/components/animations/animate-width.vue2.js.map +1 -1
  507. package/js/components/animations/collapse-height.vue.js +4 -4
  508. package/js/components/animations/collapse-height.vue.js.map +1 -1
  509. package/js/components/animations/collapse-height.vue2.js +4 -4
  510. package/js/components/animations/collapse-height.vue2.js.map +1 -1
  511. package/js/components/animations/collapse-width.vue.js +4 -4
  512. package/js/components/animations/collapse-width.vue.js.map +1 -1
  513. package/js/components/animations/collapse-width.vue2.js +4 -4
  514. package/js/components/animations/collapse-width.vue2.js.map +1 -1
  515. package/js/components/animations/create-directional-animation-factory.js +2 -2
  516. package/js/components/animations/create-directional-animation-factory.js.map +1 -1
  517. package/js/components/animations/cross-fade.vue.js.map +1 -1
  518. package/js/components/animations/cross-fade.vue2.js +3 -3
  519. package/js/components/animations/cross-fade.vue2.js.map +1 -1
  520. package/js/components/animations/fade-and-slide.vue.js.map +1 -1
  521. package/js/components/animations/fade-and-slide.vue2.js +4 -4
  522. package/js/components/animations/fade-and-slide.vue2.js.map +1 -1
  523. package/js/components/animations/fade.vue.js.map +1 -1
  524. package/js/components/animations/fade.vue2.js +3 -3
  525. package/js/components/animations/fade.vue2.js.map +1 -1
  526. package/js/components/animations/no-animation.vue.js +1 -1
  527. package/js/components/animations/no-animation.vue.js.map +1 -1
  528. package/js/components/animations/staggered-fade-and-slide.vue.js +4 -4
  529. package/js/components/animations/staggered-fade-and-slide.vue.js.map +1 -1
  530. package/js/components/animations/staggered-fade-and-slide.vue2.js +6 -6
  531. package/js/components/animations/staggered-fade-and-slide.vue2.js.map +1 -1
  532. package/js/components/animations/use-collapse-animation.js +3 -1
  533. package/js/components/animations/use-collapse-animation.js.map +1 -1
  534. package/js/components/animations/use-disable-animation.js.map +1 -1
  535. package/js/components/auto-progress-bar.vue.js.map +1 -1
  536. package/js/components/auto-progress-bar.vue2.js +6 -6
  537. package/js/components/auto-progress-bar.vue2.js.map +1 -1
  538. package/js/components/base-dropdown.vue.js +15 -15
  539. package/js/components/base-dropdown.vue.js.map +1 -1
  540. package/js/components/base-dropdown.vue2.js +14 -14
  541. package/js/components/base-dropdown.vue2.js.map +1 -1
  542. package/js/components/base-event-button.vue.js +2 -2
  543. package/js/components/base-event-button.vue.js.map +1 -1
  544. package/js/components/base-event-button.vue2.js +5 -5
  545. package/js/components/base-event-button.vue2.js.map +1 -1
  546. package/js/components/base-grid.vue.js.map +1 -1
  547. package/js/components/base-grid.vue2.js +12 -13
  548. package/js/components/base-grid.vue2.js.map +1 -1
  549. package/js/components/base-keyboard-navigation.vue.js +2 -2
  550. package/js/components/base-keyboard-navigation.vue.js.map +1 -1
  551. package/js/components/base-keyboard-navigation.vue2.js +7 -7
  552. package/js/components/base-keyboard-navigation.vue2.js.map +1 -1
  553. package/js/components/base-rating.vue.js.map +1 -1
  554. package/js/components/base-rating.vue2.js +6 -6
  555. package/js/components/base-rating.vue2.js.map +1 -1
  556. package/js/components/base-slider.vue.js.map +1 -1
  557. package/js/components/base-slider.vue2.js +7 -7
  558. package/js/components/base-slider.vue2.js.map +1 -1
  559. package/js/components/base-switch.vue.js +2 -2
  560. package/js/components/base-switch.vue.js.map +1 -1
  561. package/js/components/base-switch.vue2.js +5 -5
  562. package/js/components/base-switch.vue2.js.map +1 -1
  563. package/js/components/base-teleport.vue.js +17 -0
  564. package/js/components/base-teleport.vue.js.map +1 -0
  565. package/js/components/base-teleport.vue2.js +14 -0
  566. package/js/components/base-teleport.vue2.js.map +1 -0
  567. package/js/components/base-teleport.vue3.js +7 -0
  568. package/js/components/base-teleport.vue3.js.map +1 -0
  569. package/js/components/base-variable-column-grid.vue.js.map +1 -1
  570. package/js/components/base-variable-column-grid.vue2.js +7 -7
  571. package/js/components/base-variable-column-grid.vue2.js.map +1 -1
  572. package/js/components/column-picker/base-column-picker-dropdown.vue.js +4 -4
  573. package/js/components/column-picker/base-column-picker-dropdown.vue.js.map +1 -1
  574. package/js/components/column-picker/base-column-picker-dropdown.vue2.js +4 -4
  575. package/js/components/column-picker/base-column-picker-dropdown.vue2.js.map +1 -1
  576. package/js/components/column-picker/base-column-picker-list.vue.js.map +1 -1
  577. package/js/components/column-picker/base-column-picker-list.vue2.js +6 -6
  578. package/js/components/column-picker/base-column-picker-list.vue2.js.map +1 -1
  579. package/js/components/currency/base-currency.vue.js.map +1 -1
  580. package/js/components/currency/base-currency.vue2.js +5 -5
  581. package/js/components/currency/base-currency.vue2.js.map +1 -1
  582. package/js/components/decorators/injection.consts.js.map +1 -1
  583. package/js/components/display-click-provider.vue.js +13 -14
  584. package/js/components/display-click-provider.vue.js.map +1 -1
  585. package/js/components/display-emitter.vue.js +5 -5
  586. package/js/components/display-emitter.vue.js.map +1 -1
  587. package/js/components/filters/labels/base-price-filter-label.vue.js +10 -10
  588. package/js/components/filters/labels/base-price-filter-label.vue.js.map +1 -1
  589. package/js/components/filters/labels/base-rating-filter-label.vue.js.map +1 -1
  590. package/js/components/filters/labels/base-rating-filter-label.vue2.js +7 -7
  591. package/js/components/filters/labels/base-rating-filter-label.vue2.js.map +1 -1
  592. package/js/components/global-x-bus.vue.js +3 -3
  593. package/js/components/global-x-bus.vue.js.map +1 -1
  594. package/js/components/highlight.vue.js +6 -6
  595. package/js/components/highlight.vue.js.map +1 -1
  596. package/js/components/highlight.vue2.js +11 -11
  597. package/js/components/highlight.vue2.js.map +1 -1
  598. package/js/components/items-list.vue.js.map +1 -1
  599. package/js/components/items-list.vue2.js +6 -6
  600. package/js/components/items-list.vue2.js.map +1 -1
  601. package/js/components/layouts/fixed-header-and-asides-layout.vue.js +8 -8
  602. package/js/components/layouts/fixed-header-and-asides-layout.vue.js.map +1 -1
  603. package/js/components/layouts/fixed-header-and-asides-layout.vue2.js +5 -5
  604. package/js/components/layouts/fixed-header-and-asides-layout.vue2.js.map +1 -1
  605. package/js/components/layouts/fixed-header-and-asides-layout.vue3.js +1 -1
  606. package/js/components/layouts/multi-column-max-width-layout.vue.js +1 -1
  607. package/js/components/layouts/multi-column-max-width-layout.vue.js.map +1 -1
  608. package/js/components/layouts/multi-column-max-width-layout.vue2.js +5 -5
  609. package/js/components/layouts/multi-column-max-width-layout.vue2.js.map +1 -1
  610. package/js/components/layouts/single-column-layout.vue.js +8 -8
  611. package/js/components/layouts/single-column-layout.vue.js.map +1 -1
  612. package/js/components/layouts/single-column-layout.vue2.js +5 -5
  613. package/js/components/layouts/single-column-layout.vue2.js.map +1 -1
  614. package/js/components/location-provider.vue.js +3 -3
  615. package/js/components/location-provider.vue.js.map +1 -1
  616. package/js/components/modals/base-events-modal-close.vue.js.map +1 -1
  617. package/js/components/modals/base-events-modal-close.vue2.js +5 -5
  618. package/js/components/modals/base-events-modal-close.vue2.js.map +1 -1
  619. package/js/components/modals/base-events-modal-open.vue.js.map +1 -1
  620. package/js/components/modals/base-events-modal-open.vue2.js +5 -5
  621. package/js/components/modals/base-events-modal-open.vue2.js.map +1 -1
  622. package/js/components/modals/base-events-modal.vue.js +4 -4
  623. package/js/components/modals/base-events-modal.vue.js.map +1 -1
  624. package/js/components/modals/base-events-modal.vue2.js +9 -9
  625. package/js/components/modals/base-events-modal.vue2.js.map +1 -1
  626. package/js/components/modals/base-id-modal-close.vue.js +2 -2
  627. package/js/components/modals/base-id-modal-close.vue.js.map +1 -1
  628. package/js/components/modals/base-id-modal-close.vue2.js +5 -4
  629. package/js/components/modals/base-id-modal-close.vue2.js.map +1 -1
  630. package/js/components/modals/base-id-modal-open.vue.js +2 -2
  631. package/js/components/modals/base-id-modal-open.vue.js.map +1 -1
  632. package/js/components/modals/base-id-modal-open.vue2.js +5 -4
  633. package/js/components/modals/base-id-modal-open.vue2.js.map +1 -1
  634. package/js/components/modals/base-id-modal.vue.js +4 -4
  635. package/js/components/modals/base-id-modal.vue.js.map +1 -1
  636. package/js/components/modals/base-id-modal.vue2.js +6 -6
  637. package/js/components/modals/base-id-modal.vue2.js.map +1 -1
  638. package/js/components/modals/base-modal.vue.js +3 -3
  639. package/js/components/modals/base-modal.vue.js.map +1 -1
  640. package/js/components/modals/base-modal.vue2.js +13 -11
  641. package/js/components/modals/base-modal.vue2.js.map +1 -1
  642. package/js/components/modals/close-main-modal.vue.js +2 -2
  643. package/js/components/modals/close-main-modal.vue.js.map +1 -1
  644. package/js/components/modals/close-main-modal.vue2.js +3 -3
  645. package/js/components/modals/close-main-modal.vue2.js.map +1 -1
  646. package/js/components/modals/main-modal.vue.js +5 -5
  647. package/js/components/modals/main-modal.vue.js.map +1 -1
  648. package/js/components/modals/main-modal.vue2.js +8 -8
  649. package/js/components/modals/main-modal.vue2.js.map +1 -1
  650. package/js/components/modals/open-main-modal.vue.js +2 -2
  651. package/js/components/modals/open-main-modal.vue.js.map +1 -1
  652. package/js/components/modals/open-main-modal.vue2.js +3 -3
  653. package/js/components/modals/open-main-modal.vue2.js.map +1 -1
  654. package/js/components/page-loader-button.vue.js.map +1 -1
  655. package/js/components/page-loader-button.vue2.js +5 -5
  656. package/js/components/page-loader-button.vue2.js.map +1 -1
  657. package/js/components/page-selector.vue.js +7 -7
  658. package/js/components/page-selector.vue.js.map +1 -1
  659. package/js/components/page-selector.vue2.js +12 -12
  660. package/js/components/page-selector.vue2.js.map +1 -1
  661. package/js/components/panels/base-header-toggle-panel.vue.js +2 -2
  662. package/js/components/panels/base-header-toggle-panel.vue.js.map +1 -1
  663. package/js/components/panels/base-header-toggle-panel.vue2.js +10 -10
  664. package/js/components/panels/base-header-toggle-panel.vue2.js.map +1 -1
  665. package/js/components/panels/base-id-toggle-panel-button.vue.js.map +1 -1
  666. package/js/components/panels/base-id-toggle-panel-button.vue2.js +7 -6
  667. package/js/components/panels/base-id-toggle-panel-button.vue2.js.map +1 -1
  668. package/js/components/panels/base-id-toggle-panel.vue.js.map +1 -1
  669. package/js/components/panels/base-id-toggle-panel.vue2.js +13 -13
  670. package/js/components/panels/base-id-toggle-panel.vue2.js.map +1 -1
  671. package/js/components/panels/base-tabs-panel.vue.js +4 -4
  672. package/js/components/panels/base-tabs-panel.vue.js.map +1 -1
  673. package/js/components/panels/base-tabs-panel.vue2.js +13 -13
  674. package/js/components/panels/base-tabs-panel.vue2.js.map +1 -1
  675. package/js/components/panels/base-toggle-panel.vue.js.map +1 -1
  676. package/js/components/panels/base-toggle-panel.vue2.js +4 -4
  677. package/js/components/panels/base-toggle-panel.vue2.js.map +1 -1
  678. package/js/components/result/base-result-add-to-cart.vue.js.map +1 -1
  679. package/js/components/result/base-result-add-to-cart.vue2.js +4 -4
  680. package/js/components/result/base-result-add-to-cart.vue2.js.map +1 -1
  681. package/js/components/result/base-result-current-price.vue.js.map +1 -1
  682. package/js/components/result/base-result-current-price.vue2.js +6 -6
  683. package/js/components/result/base-result-current-price.vue2.js.map +1 -1
  684. package/js/components/result/base-result-image.vue.js +6 -6
  685. package/js/components/result/base-result-image.vue.js.map +1 -1
  686. package/js/components/result/base-result-image.vue2.js +15 -15
  687. package/js/components/result/base-result-image.vue2.js.map +1 -1
  688. package/js/components/result/base-result-link.vue.js +5 -5
  689. package/js/components/result/base-result-link.vue.js.map +1 -1
  690. package/js/components/result/base-result-link.vue2.js +6 -5
  691. package/js/components/result/base-result-link.vue2.js.map +1 -1
  692. package/js/components/result/base-result-previous-price.vue.js.map +1 -1
  693. package/js/components/result/base-result-previous-price.vue2.js +4 -4
  694. package/js/components/result/base-result-previous-price.vue2.js.map +1 -1
  695. package/js/components/result/base-result-rating.vue.js +4 -4
  696. package/js/components/result/base-result-rating.vue.js.map +1 -1
  697. package/js/components/result/base-result-rating.vue2.js +10 -9
  698. package/js/components/result/base-result-rating.vue2.js.map +1 -1
  699. package/js/components/result/result-variant-selector.vue.js +2 -2
  700. package/js/components/result/result-variant-selector.vue.js.map +1 -1
  701. package/js/components/result/result-variant-selector.vue2.js +5 -5
  702. package/js/components/result/result-variant-selector.vue2.js.map +1 -1
  703. package/js/components/result/result-variants-provider.vue.js +7 -7
  704. package/js/components/result/result-variants-provider.vue.js.map +1 -1
  705. package/js/components/scroll/base-scroll.vue.js +2 -2
  706. package/js/components/scroll/base-scroll.vue.js.map +1 -1
  707. package/js/components/scroll/base-scroll.vue2.js +10 -10
  708. package/js/components/scroll/base-scroll.vue2.js.map +1 -1
  709. package/js/components/scroll/use-scroll.js +7 -7
  710. package/js/components/scroll/use-scroll.js.map +1 -1
  711. package/js/components/sliding-panel.vue.js +7 -7
  712. package/js/components/sliding-panel.vue.js.map +1 -1
  713. package/js/components/sliding-panel.vue2.js +9 -9
  714. package/js/components/sliding-panel.vue2.js.map +1 -1
  715. package/js/components/snippet-callbacks.vue.js.map +1 -1
  716. package/js/components/snippet-callbacks.vue2.js +2 -2
  717. package/js/components/snippet-callbacks.vue2.js.map +1 -1
  718. package/js/components/suggestions/base-suggestion.vue.js +2 -2
  719. package/js/components/suggestions/base-suggestion.vue.js.map +1 -1
  720. package/js/components/suggestions/base-suggestion.vue2.js +12 -12
  721. package/js/components/suggestions/base-suggestion.vue2.js.map +1 -1
  722. package/js/components/suggestions/base-suggestions.vue.js.map +1 -1
  723. package/js/components/suggestions/base-suggestions.vue2.js +9 -9
  724. package/js/components/suggestions/base-suggestions.vue2.js.map +1 -1
  725. package/js/components/x-component.utils.js +1 -0
  726. package/js/components/x-component.utils.js.map +1 -1
  727. package/js/composables/create-use-device.js +2 -2
  728. package/js/composables/create-use-device.js.map +1 -1
  729. package/js/composables/use-_x.js.map +1 -1
  730. package/js/composables/use-alias-api.js +8 -6
  731. package/js/composables/use-alias-api.js.map +1 -1
  732. package/js/composables/use-debounce.js.map +1 -1
  733. package/js/composables/use-getter.js +1 -0
  734. package/js/composables/use-getter.js.map +1 -1
  735. package/js/composables/use-on-display.js +7 -11
  736. package/js/composables/use-on-display.js.map +1 -1
  737. package/js/composables/use-state.js +1 -0
  738. package/js/composables/use-state.js.map +1 -1
  739. package/js/composables/use-x-bus.js +9 -11
  740. package/js/composables/use-x-bus.js.map +1 -1
  741. package/js/directives/infinite-scroll.js +3 -3
  742. package/js/directives/infinite-scroll.js.map +1 -1
  743. package/js/directives/typing.js +1 -2
  744. package/js/directives/typing.js.map +1 -1
  745. package/js/index.js +95 -94
  746. package/js/index.js.map +1 -1
  747. package/js/plugins/devtools/colors.utils.js +2 -2
  748. package/js/plugins/devtools/colors.utils.js.map +1 -1
  749. package/js/plugins/devtools/devtools.plugin.js +2 -1
  750. package/js/plugins/devtools/devtools.plugin.js.map +1 -1
  751. package/js/plugins/devtools/timeline.devtools.js +14 -13
  752. package/js/plugins/devtools/timeline.devtools.js.map +1 -1
  753. package/js/plugins/devtools/wiring.devtools.js +14 -10
  754. package/js/plugins/devtools/wiring.devtools.js.map +1 -1
  755. package/js/plugins/x-bus.js +3 -3
  756. package/js/plugins/x-bus.js.map +1 -1
  757. package/js/plugins/x-emitters.js +8 -6
  758. package/js/plugins/x-emitters.js.map +1 -1
  759. package/js/plugins/x-plugin.js +15 -15
  760. package/js/plugins/x-plugin.js.map +1 -1
  761. package/js/plugins/x-plugin.utils.js +2 -6
  762. package/js/plugins/x-plugin.utils.js.map +1 -1
  763. package/js/services/directional-focus-navigation.service.js +7 -9
  764. package/js/services/directional-focus-navigation.service.js.map +1 -1
  765. package/js/services/state-machine.service.js.map +1 -1
  766. package/js/store/utils/config-store.utils.js.map +1 -1
  767. package/js/store/utils/fetch-and-save-action.utils.js +5 -9
  768. package/js/store/utils/fetch-and-save-action.utils.js.map +1 -1
  769. package/js/store/utils/getters-proxy.utils.js +2 -1
  770. package/js/store/utils/getters-proxy.utils.js.map +1 -1
  771. package/js/store/utils/query.utils.js +1 -1
  772. package/js/store/utils/query.utils.js.map +1 -1
  773. package/js/store/utils/status-store.utils.js.map +1 -1
  774. package/js/store/utils/store-emitters.utils.js +2 -2
  775. package/js/store/utils/store-emitters.utils.js.map +1 -1
  776. package/js/store/x.module.js +1 -1
  777. package/js/store/x.module.js.map +1 -1
  778. package/js/types/animation-prop.js.map +1 -1
  779. package/js/utils/array.js +1 -0
  780. package/js/utils/array.js.map +1 -1
  781. package/js/utils/cancellable-promise.js +1 -1
  782. package/js/utils/cancellable-promise.js.map +1 -1
  783. package/js/utils/clone.js +1 -0
  784. package/js/utils/clone.js.map +1 -1
  785. package/js/utils/currency-formatter.js +8 -5
  786. package/js/utils/currency-formatter.js.map +1 -1
  787. package/js/utils/debounce.js +0 -2
  788. package/js/utils/debounce.js.map +1 -1
  789. package/js/utils/filters.js +1 -1
  790. package/js/utils/filters.js.map +1 -1
  791. package/js/utils/focus.js +1 -3
  792. package/js/utils/focus.js.map +1 -1
  793. package/js/utils/function.js +0 -1
  794. package/js/utils/function.js.map +1 -1
  795. package/js/utils/get-url-parameters.js.map +1 -1
  796. package/js/utils/html.js.map +1 -1
  797. package/js/utils/is-new-query.js.map +1 -1
  798. package/js/utils/normalize.js +1 -1
  799. package/js/utils/normalize.js.map +1 -1
  800. package/js/utils/number.js +0 -1
  801. package/js/utils/number.js.map +1 -1
  802. package/js/utils/origin.js +1 -3
  803. package/js/utils/origin.js.map +1 -1
  804. package/js/utils/sanitize.js.map +1 -1
  805. package/js/utils/storage.js +1 -1
  806. package/js/utils/storage.js.map +1 -1
  807. package/js/utils/string.js.map +1 -1
  808. package/js/utils/throttle.js.map +1 -1
  809. package/js/wiring/namespaced-wires.factory.js +4 -2
  810. package/js/wiring/namespaced-wires.factory.js.map +1 -1
  811. package/js/wiring/namespaced-wires.operators.js.map +1 -1
  812. package/js/wiring/wires-operators.utils.js +3 -1
  813. package/js/wiring/wires-operators.utils.js.map +1 -1
  814. package/js/wiring/wires.factory.js +17 -10
  815. package/js/wiring/wires.factory.js.map +1 -1
  816. package/js/wiring/wires.operators.js +2 -2
  817. package/js/wiring/wires.operators.js.map +1 -1
  818. package/js/wiring/wiring.utils.js +1 -1
  819. package/js/wiring/wiring.utils.js.map +1 -1
  820. package/js/x-installer/api/base-api.js +6 -7
  821. package/js/x-installer/api/base-api.js.map +1 -1
  822. package/js/x-installer/x-installer/x-installer.js +7 -6
  823. package/js/x-installer/x-installer/x-installer.js.map +1 -1
  824. package/js/x-modules/device/components/device-detector.vue.js +2 -2
  825. package/js/x-modules/device/components/device-detector.vue.js.map +1 -1
  826. package/js/x-modules/device/components/device-detector.vue2.js +6 -6
  827. package/js/x-modules/device/components/device-detector.vue2.js.map +1 -1
  828. package/js/x-modules/device/store/emitters.js.map +1 -1
  829. package/js/x-modules/device/store/module.js +3 -3
  830. package/js/x-modules/device/store/module.js.map +1 -1
  831. package/js/x-modules/device/wiring.js +2 -2
  832. package/js/x-modules/device/wiring.js.map +1 -1
  833. package/js/x-modules/device/x-module.js +1 -1
  834. package/js/x-modules/device/x-module.js.map +1 -1
  835. package/js/x-modules/empathize/components/empathize.vue.js +3 -3
  836. package/js/x-modules/empathize/components/empathize.vue.js.map +1 -1
  837. package/js/x-modules/empathize/components/empathize.vue2.js +50 -48
  838. package/js/x-modules/empathize/components/empathize.vue2.js.map +1 -1
  839. package/js/x-modules/empathize/store/emitters.js.map +1 -1
  840. package/js/x-modules/empathize/store/module.js +3 -3
  841. package/js/x-modules/empathize/store/module.js.map +1 -1
  842. package/js/x-modules/empathize/wiring.js +3 -3
  843. package/js/x-modules/empathize/wiring.js.map +1 -1
  844. package/js/x-modules/empathize/x-module.js +1 -1
  845. package/js/x-modules/empathize/x-module.js.map +1 -1
  846. package/js/x-modules/experience-controls/components/experience-controls.vue.js +2 -3
  847. package/js/x-modules/experience-controls/components/experience-controls.vue.js.map +1 -1
  848. package/js/x-modules/experience-controls/store/actions/fetch-and-save-experience-controls.action.js +2 -2
  849. package/js/x-modules/experience-controls/store/actions/fetch-and-save-experience-controls.action.js.map +1 -1
  850. package/js/x-modules/experience-controls/store/actions/fetch-experience-controls.action.js +1 -2
  851. package/js/x-modules/experience-controls/store/actions/fetch-experience-controls.action.js.map +1 -1
  852. package/js/x-modules/experience-controls/store/emitters.js +2 -2
  853. package/js/x-modules/experience-controls/store/emitters.js.map +1 -1
  854. package/js/x-modules/experience-controls/store/getters/experience-controls-results-request.getter.js +1 -2
  855. package/js/x-modules/experience-controls/store/getters/experience-controls-results-request.getter.js.map +1 -1
  856. package/js/x-modules/experience-controls/store/module.js +5 -7
  857. package/js/x-modules/experience-controls/store/module.js.map +1 -1
  858. package/js/x-modules/experience-controls/wiring.js +3 -3
  859. package/js/x-modules/experience-controls/wiring.js.map +1 -1
  860. package/js/x-modules/experience-controls/x-module.js +1 -1
  861. package/js/x-modules/experience-controls/x-module.js.map +1 -1
  862. package/js/x-modules/extra-params/components/extra-params.vue.js +4 -5
  863. package/js/x-modules/extra-params/components/extra-params.vue.js.map +1 -1
  864. package/js/x-modules/extra-params/components/renderless-extra-param.vue.js +4 -4
  865. package/js/x-modules/extra-params/components/renderless-extra-param.vue.js.map +1 -1
  866. package/js/x-modules/extra-params/components/snippet-config-extra-params.vue.js.map +1 -1
  867. package/js/x-modules/extra-params/components/snippet-config-extra-params.vue2.js +8 -8
  868. package/js/x-modules/extra-params/components/snippet-config-extra-params.vue2.js.map +1 -1
  869. package/js/x-modules/extra-params/store/emitters.js +2 -2
  870. package/js/x-modules/extra-params/store/emitters.js.map +1 -1
  871. package/js/x-modules/extra-params/store/module.js +3 -3
  872. package/js/x-modules/extra-params/store/module.js.map +1 -1
  873. package/js/x-modules/extra-params/wiring.js +4 -4
  874. package/js/x-modules/extra-params/wiring.js.map +1 -1
  875. package/js/x-modules/extra-params/x-module.js +1 -1
  876. package/js/x-modules/extra-params/x-module.js.map +1 -1
  877. package/js/x-modules/facets/components/clear-filters.vue.js.map +1 -1
  878. package/js/x-modules/facets/components/clear-filters.vue2.js +6 -6
  879. package/js/x-modules/facets/components/clear-filters.vue2.js.map +1 -1
  880. package/js/x-modules/facets/components/facets/facets-provider.vue2.js +6 -6
  881. package/js/x-modules/facets/components/facets/facets-provider.vue2.js.map +1 -1
  882. package/js/x-modules/facets/components/facets/facets.vue.js.map +1 -1
  883. package/js/x-modules/facets/components/facets/facets.vue2.js +8 -10
  884. package/js/x-modules/facets/components/facets/facets.vue2.js.map +1 -1
  885. package/js/x-modules/facets/components/filters/all-filter.vue.js.map +1 -1
  886. package/js/x-modules/facets/components/filters/all-filter.vue2.js +7 -7
  887. package/js/x-modules/facets/components/filters/all-filter.vue2.js.map +1 -1
  888. package/js/x-modules/facets/components/filters/editable-number-range-filter.vue.js +8 -8
  889. package/js/x-modules/facets/components/filters/editable-number-range-filter.vue.js.map +1 -1
  890. package/js/x-modules/facets/components/filters/editable-number-range-filter.vue2.js +9 -9
  891. package/js/x-modules/facets/components/filters/editable-number-range-filter.vue2.js.map +1 -1
  892. package/js/x-modules/facets/components/filters/hierarchical-filter.vue.js +31 -21
  893. package/js/x-modules/facets/components/filters/hierarchical-filter.vue.js.map +1 -1
  894. package/js/x-modules/facets/components/filters/hierarchical-filter.vue2.js +10 -11
  895. package/js/x-modules/facets/components/filters/hierarchical-filter.vue2.js.map +1 -1
  896. package/js/x-modules/facets/components/filters/number-range-filter.vue.js +12 -13
  897. package/js/x-modules/facets/components/filters/number-range-filter.vue.js.map +1 -1
  898. package/js/x-modules/facets/components/filters/number-range-filter.vue2.js +8 -8
  899. package/js/x-modules/facets/components/filters/number-range-filter.vue2.js.map +1 -1
  900. package/js/x-modules/facets/components/filters/renderless-filter.vue.js +7 -7
  901. package/js/x-modules/facets/components/filters/renderless-filter.vue.js.map +1 -1
  902. package/js/x-modules/facets/components/filters/simple-filter.vue.js +12 -13
  903. package/js/x-modules/facets/components/filters/simple-filter.vue.js.map +1 -1
  904. package/js/x-modules/facets/components/filters/simple-filter.vue2.js +7 -7
  905. package/js/x-modules/facets/components/filters/simple-filter.vue2.js.map +1 -1
  906. package/js/x-modules/facets/components/lists/exclude-filters-with-no-results.vue.js +4 -4
  907. package/js/x-modules/facets/components/lists/exclude-filters-with-no-results.vue.js.map +1 -1
  908. package/js/x-modules/facets/components/lists/filters-list.vue.js.map +1 -1
  909. package/js/x-modules/facets/components/lists/filters-list.vue2.js +7 -7
  910. package/js/x-modules/facets/components/lists/filters-list.vue2.js.map +1 -1
  911. package/js/x-modules/facets/components/lists/filters-search.vue.js +2 -2
  912. package/js/x-modules/facets/components/lists/filters-search.vue.js.map +1 -1
  913. package/js/x-modules/facets/components/lists/filters-search.vue2.js +7 -7
  914. package/js/x-modules/facets/components/lists/filters-search.vue2.js.map +1 -1
  915. package/js/x-modules/facets/components/lists/selected-filters-list.vue.js +49 -55
  916. package/js/x-modules/facets/components/lists/selected-filters-list.vue.js.map +1 -1
  917. package/js/x-modules/facets/components/lists/selected-filters-list.vue2.js +7 -7
  918. package/js/x-modules/facets/components/lists/selected-filters-list.vue2.js.map +1 -1
  919. package/js/x-modules/facets/components/lists/selected-filters.vue.js +5 -5
  920. package/js/x-modules/facets/components/lists/selected-filters.vue.js.map +1 -1
  921. package/js/x-modules/facets/components/lists/sliced-filters.vue.js +4 -4
  922. package/js/x-modules/facets/components/lists/sliced-filters.vue.js.map +1 -1
  923. package/js/x-modules/facets/components/lists/sliced-filters.vue2.js +8 -8
  924. package/js/x-modules/facets/components/lists/sliced-filters.vue2.js.map +1 -1
  925. package/js/x-modules/facets/components/lists/sorted-filters.vue.js +4 -4
  926. package/js/x-modules/facets/components/lists/sorted-filters.vue.js.map +1 -1
  927. package/js/x-modules/facets/components/preselected-filters.vue.js +5 -5
  928. package/js/x-modules/facets/components/preselected-filters.vue.js.map +1 -1
  929. package/js/x-modules/facets/composables/use-facets.js +3 -4
  930. package/js/x-modules/facets/composables/use-facets.js.map +1 -1
  931. package/js/x-modules/facets/composables/use-filters-injection.js +0 -2
  932. package/js/x-modules/facets/composables/use-filters-injection.js.map +1 -1
  933. package/js/x-modules/facets/entities/add-facet-if-not-present.js +1 -1
  934. package/js/x-modules/facets/entities/add-facet-if-not-present.js.map +1 -1
  935. package/js/x-modules/facets/entities/editable-number-range-filter.entity.js +11 -8
  936. package/js/x-modules/facets/entities/editable-number-range-filter.entity.js.map +1 -1
  937. package/js/x-modules/facets/entities/filter-entity.factory.js +7 -4
  938. package/js/x-modules/facets/entities/filter-entity.factory.js.map +1 -1
  939. package/js/x-modules/facets/entities/hierarchical-filter.entity.js +6 -4
  940. package/js/x-modules/facets/entities/hierarchical-filter.entity.js.map +1 -1
  941. package/js/x-modules/facets/entities/number-range-filter.entity.js +6 -4
  942. package/js/x-modules/facets/entities/number-range-filter.entity.js.map +1 -1
  943. package/js/x-modules/facets/entities/raw-filter.entity.js +6 -4
  944. package/js/x-modules/facets/entities/raw-filter.entity.js.map +1 -1
  945. package/js/x-modules/facets/entities/simple-filter.entity.js +6 -4
  946. package/js/x-modules/facets/entities/simple-filter.entity.js.map +1 -1
  947. package/js/x-modules/facets/entities/single-select.modifier.js +3 -1
  948. package/js/x-modules/facets/entities/single-select.modifier.js.map +1 -1
  949. package/js/x-modules/facets/entities/sticky.modifier.js.map +1 -1
  950. package/js/x-modules/facets/entities/types.js.map +1 -1
  951. package/js/x-modules/facets/service/facets.service.js +2 -2
  952. package/js/x-modules/facets/service/facets.service.js.map +1 -1
  953. package/js/x-modules/facets/store/constants.js.map +1 -1
  954. package/js/x-modules/facets/store/emitters.js +6 -6
  955. package/js/x-modules/facets/store/emitters.js.map +1 -1
  956. package/js/x-modules/facets/store/getters/facets.getter.js +1 -1
  957. package/js/x-modules/facets/store/getters/facets.getter.js.map +1 -1
  958. package/js/x-modules/facets/store/getters/selected-filters-by-facet.getter.js.map +1 -1
  959. package/js/x-modules/facets/store/getters/selected-filters-for-request.getter.js.map +1 -1
  960. package/js/x-modules/facets/store/getters/selected-filters.getter.js.map +1 -1
  961. package/js/x-modules/facets/store/module.js +6 -6
  962. package/js/x-modules/facets/store/module.js.map +1 -1
  963. package/js/x-modules/facets/utils.js.map +1 -1
  964. package/js/x-modules/facets/wiring.js +22 -22
  965. package/js/x-modules/facets/wiring.js.map +1 -1
  966. package/js/x-modules/facets/x-module.js +1 -1
  967. package/js/x-modules/facets/x-module.js.map +1 -1
  968. package/js/x-modules/history-queries/components/clear-history-queries.vue.js.map +1 -1
  969. package/js/x-modules/history-queries/components/clear-history-queries.vue2.js +6 -6
  970. package/js/x-modules/history-queries/components/clear-history-queries.vue2.js.map +1 -1
  971. package/js/x-modules/history-queries/components/history-queries-switch.vue.js +4 -4
  972. package/js/x-modules/history-queries/components/history-queries-switch.vue.js.map +1 -1
  973. package/js/x-modules/history-queries/components/history-queries-switch.vue2.js +6 -6
  974. package/js/x-modules/history-queries/components/history-queries-switch.vue2.js.map +1 -1
  975. package/js/x-modules/history-queries/components/history-queries.vue.js +1 -1
  976. package/js/x-modules/history-queries/components/history-queries.vue.js.map +1 -1
  977. package/js/x-modules/history-queries/components/history-queries.vue2.js +5 -7
  978. package/js/x-modules/history-queries/components/history-queries.vue2.js.map +1 -1
  979. package/js/x-modules/history-queries/components/history-query.vue.js +4 -4
  980. package/js/x-modules/history-queries/components/history-query.vue.js.map +1 -1
  981. package/js/x-modules/history-queries/components/history-query.vue2.js +6 -6
  982. package/js/x-modules/history-queries/components/history-query.vue2.js.map +1 -1
  983. package/js/x-modules/history-queries/components/my-history.vue.js +2 -2
  984. package/js/x-modules/history-queries/components/my-history.vue.js.map +1 -1
  985. package/js/x-modules/history-queries/components/my-history.vue2.js +10 -10
  986. package/js/x-modules/history-queries/components/my-history.vue2.js.map +1 -1
  987. package/js/x-modules/history-queries/components/remove-history-query.vue.js.map +1 -1
  988. package/js/x-modules/history-queries/components/remove-history-query.vue2.js +5 -5
  989. package/js/x-modules/history-queries/components/remove-history-query.vue2.js.map +1 -1
  990. package/js/x-modules/history-queries/store/actions/add-query-to-history.action.js +2 -4
  991. package/js/x-modules/history-queries/store/actions/add-query-to-history.action.js.map +1 -1
  992. package/js/x-modules/history-queries/store/actions/load-history-queries-from-browser-storage.action.js +0 -1
  993. package/js/x-modules/history-queries/store/actions/load-history-queries-from-browser-storage.action.js.map +1 -1
  994. package/js/x-modules/history-queries/store/actions/refresh-session.action.js +1 -1
  995. package/js/x-modules/history-queries/store/actions/refresh-session.action.js.map +1 -1
  996. package/js/x-modules/history-queries/store/actions/remove-query-from-history.action.js +1 -1
  997. package/js/x-modules/history-queries/store/actions/remove-query-from-history.action.js.map +1 -1
  998. package/js/x-modules/history-queries/store/actions/set-history-queries.action.js.map +1 -1
  999. package/js/x-modules/history-queries/store/actions/set-url-params.action.js +0 -1
  1000. package/js/x-modules/history-queries/store/actions/set-url-params.action.js.map +1 -1
  1001. package/js/x-modules/history-queries/store/actions/toggle-history-queries.action.js.map +1 -1
  1002. package/js/x-modules/history-queries/store/actions/update-history-queries-with-search-response.action.js +2 -6
  1003. package/js/x-modules/history-queries/store/actions/update-history-queries-with-search-response.action.js.map +1 -1
  1004. package/js/x-modules/history-queries/store/constants.js.map +1 -1
  1005. package/js/x-modules/history-queries/store/emitters.js +2 -2
  1006. package/js/x-modules/history-queries/store/emitters.js.map +1 -1
  1007. package/js/x-modules/history-queries/store/getters/history-queries-with-results.getter.js +0 -4
  1008. package/js/x-modules/history-queries/store/getters/history-queries-with-results.getter.js.map +1 -1
  1009. package/js/x-modules/history-queries/store/getters/history-queries.getter.js.map +1 -1
  1010. package/js/x-modules/history-queries/store/getters/normalized-query.getter.js +2 -1
  1011. package/js/x-modules/history-queries/store/getters/normalized-query.getter.js.map +1 -1
  1012. package/js/x-modules/history-queries/store/getters/session-history-queries.getter.js.map +1 -1
  1013. package/js/x-modules/history-queries/store/getters/storage-key.getter.js.map +1 -1
  1014. package/js/x-modules/history-queries/store/module.js +8 -8
  1015. package/js/x-modules/history-queries/store/module.js.map +1 -1
  1016. package/js/x-modules/history-queries/wiring.js +16 -16
  1017. package/js/x-modules/history-queries/wiring.js.map +1 -1
  1018. package/js/x-modules/history-queries/x-module.js +1 -1
  1019. package/js/x-modules/history-queries/x-module.js.map +1 -1
  1020. package/js/x-modules/identifier-results/components/identifier-result.vue.js +2 -2
  1021. package/js/x-modules/identifier-results/components/identifier-result.vue.js.map +1 -1
  1022. package/js/x-modules/identifier-results/components/identifier-result.vue2.js +7 -7
  1023. package/js/x-modules/identifier-results/components/identifier-result.vue2.js.map +1 -1
  1024. package/js/x-modules/identifier-results/components/identifier-results.vue.js.map +1 -1
  1025. package/js/x-modules/identifier-results/components/identifier-results.vue2.js +8 -8
  1026. package/js/x-modules/identifier-results/components/identifier-results.vue2.js.map +1 -1
  1027. package/js/x-modules/identifier-results/store/actions/fetch-and-save-identifier-results.action.js +2 -2
  1028. package/js/x-modules/identifier-results/store/actions/fetch-and-save-identifier-results.action.js.map +1 -1
  1029. package/js/x-modules/identifier-results/store/actions/fetch-identifier-results.action.js +1 -2
  1030. package/js/x-modules/identifier-results/store/actions/fetch-identifier-results.action.js.map +1 -1
  1031. package/js/x-modules/identifier-results/store/actions/save-origin.action.js +0 -1
  1032. package/js/x-modules/identifier-results/store/actions/save-origin.action.js.map +1 -1
  1033. package/js/x-modules/identifier-results/store/actions/save-query.action.js +0 -1
  1034. package/js/x-modules/identifier-results/store/actions/save-query.action.js.map +1 -1
  1035. package/js/x-modules/identifier-results/store/emitters.js +2 -2
  1036. package/js/x-modules/identifier-results/store/emitters.js.map +1 -1
  1037. package/js/x-modules/identifier-results/store/getters/identifier-detection-regexp.getter.js +0 -1
  1038. package/js/x-modules/identifier-results/store/getters/identifier-detection-regexp.getter.js.map +1 -1
  1039. package/js/x-modules/identifier-results/store/getters/identifier-highlight-regexp.getter.js +0 -1
  1040. package/js/x-modules/identifier-results/store/getters/identifier-highlight-regexp.getter.js.map +1 -1
  1041. package/js/x-modules/identifier-results/store/getters/identifier-results-request.getter.js +1 -2
  1042. package/js/x-modules/identifier-results/store/getters/identifier-results-request.getter.js.map +1 -1
  1043. package/js/x-modules/identifier-results/store/module.js +7 -7
  1044. package/js/x-modules/identifier-results/store/module.js.map +1 -1
  1045. package/js/x-modules/identifier-results/wiring.js +10 -10
  1046. package/js/x-modules/identifier-results/wiring.js.map +1 -1
  1047. package/js/x-modules/identifier-results/x-module.js +1 -1
  1048. package/js/x-modules/identifier-results/x-module.js.map +1 -1
  1049. package/js/x-modules/next-queries/components/next-queries-list.vue.js +12 -12
  1050. package/js/x-modules/next-queries/components/next-queries-list.vue.js.map +1 -1
  1051. package/js/x-modules/next-queries/components/next-queries.vue.js +2 -2
  1052. package/js/x-modules/next-queries/components/next-queries.vue.js.map +1 -1
  1053. package/js/x-modules/next-queries/components/next-queries.vue2.js +5 -5
  1054. package/js/x-modules/next-queries/components/next-queries.vue2.js.map +1 -1
  1055. package/js/x-modules/next-queries/components/next-query-preview.vue.js.map +1 -1
  1056. package/js/x-modules/next-queries/components/next-query-preview.vue2.js +5 -5
  1057. package/js/x-modules/next-queries/components/next-query-preview.vue2.js.map +1 -1
  1058. package/js/x-modules/next-queries/components/next-query.vue.js +2 -2
  1059. package/js/x-modules/next-queries/components/next-query.vue.js.map +1 -1
  1060. package/js/x-modules/next-queries/components/next-query.vue2.js +5 -5
  1061. package/js/x-modules/next-queries/components/next-query.vue2.js.map +1 -1
  1062. package/js/x-modules/next-queries/store/actions/fetch-and-save-next-queries.action.js +2 -3
  1063. package/js/x-modules/next-queries/store/actions/fetch-and-save-next-queries.action.js.map +1 -1
  1064. package/js/x-modules/next-queries/store/actions/fetch-and-save-next-query-preview.action.js +3 -5
  1065. package/js/x-modules/next-queries/store/actions/fetch-and-save-next-query-preview.action.js.map +1 -1
  1066. package/js/x-modules/next-queries/store/actions/fetch-next-queries.action.js +1 -1
  1067. package/js/x-modules/next-queries/store/actions/fetch-next-queries.action.js.map +1 -1
  1068. package/js/x-modules/next-queries/store/actions/fetch-next-query-preview.action.js +6 -3
  1069. package/js/x-modules/next-queries/store/actions/fetch-next-query-preview.action.js.map +1 -1
  1070. package/js/x-modules/next-queries/store/actions/set-query-from-last-history-query.action.js +0 -1
  1071. package/js/x-modules/next-queries/store/actions/set-query-from-last-history-query.action.js.map +1 -1
  1072. package/js/x-modules/next-queries/store/actions/set-url-params.action.js +0 -1
  1073. package/js/x-modules/next-queries/store/actions/set-url-params.action.js.map +1 -1
  1074. package/js/x-modules/next-queries/store/emitters.js +2 -2
  1075. package/js/x-modules/next-queries/store/emitters.js.map +1 -1
  1076. package/js/x-modules/next-queries/store/getters/next-queries-query.getter.js +1 -3
  1077. package/js/x-modules/next-queries/store/getters/next-queries-query.getter.js.map +1 -1
  1078. package/js/x-modules/next-queries/store/getters/next-queries.getter.js +1 -2
  1079. package/js/x-modules/next-queries/store/getters/next-queries.getter.js.map +1 -1
  1080. package/js/x-modules/next-queries/store/getters/request.getter.js +1 -3
  1081. package/js/x-modules/next-queries/store/getters/request.getter.js.map +1 -1
  1082. package/js/x-modules/next-queries/store/module.js +10 -10
  1083. package/js/x-modules/next-queries/store/module.js.map +1 -1
  1084. package/js/x-modules/next-queries/wiring.js +11 -11
  1085. package/js/x-modules/next-queries/wiring.js.map +1 -1
  1086. package/js/x-modules/next-queries/x-module.js +1 -1
  1087. package/js/x-modules/next-queries/x-module.js.map +1 -1
  1088. package/js/x-modules/popular-searches/components/popular-search.vue.js +2 -2
  1089. package/js/x-modules/popular-searches/components/popular-search.vue.js.map +1 -1
  1090. package/js/x-modules/popular-searches/components/popular-search.vue2.js +3 -3
  1091. package/js/x-modules/popular-searches/components/popular-search.vue2.js.map +1 -1
  1092. package/js/x-modules/popular-searches/components/popular-searches.vue.js.map +1 -1
  1093. package/js/x-modules/popular-searches/components/popular-searches.vue2.js +3 -3
  1094. package/js/x-modules/popular-searches/components/popular-searches.vue2.js.map +1 -1
  1095. package/js/x-modules/popular-searches/store/actions/fetch-and-save-suggestions.action.js +2 -3
  1096. package/js/x-modules/popular-searches/store/actions/fetch-and-save-suggestions.action.js.map +1 -1
  1097. package/js/x-modules/popular-searches/store/actions/fetch-suggestions.action.js +1 -1
  1098. package/js/x-modules/popular-searches/store/actions/fetch-suggestions.action.js.map +1 -1
  1099. package/js/x-modules/popular-searches/store/emitters.js +2 -2
  1100. package/js/x-modules/popular-searches/store/emitters.js.map +1 -1
  1101. package/js/x-modules/popular-searches/store/getters/popular-searches.getter.js +1 -2
  1102. package/js/x-modules/popular-searches/store/getters/popular-searches.getter.js.map +1 -1
  1103. package/js/x-modules/popular-searches/store/getters/request.getter.js +1 -3
  1104. package/js/x-modules/popular-searches/store/getters/request.getter.js.map +1 -1
  1105. package/js/x-modules/popular-searches/store/module.js +7 -7
  1106. package/js/x-modules/popular-searches/store/module.js.map +1 -1
  1107. package/js/x-modules/popular-searches/wiring.js +4 -4
  1108. package/js/x-modules/popular-searches/wiring.js.map +1 -1
  1109. package/js/x-modules/popular-searches/x-module.js +1 -1
  1110. package/js/x-modules/popular-searches/x-module.js.map +1 -1
  1111. package/js/x-modules/queries-preview/components/query-preview-button.vue.js.map +1 -1
  1112. package/js/x-modules/queries-preview/components/query-preview-button.vue2.js +50 -48
  1113. package/js/x-modules/queries-preview/components/query-preview-button.vue2.js.map +1 -1
  1114. package/js/x-modules/queries-preview/components/query-preview-list.vue.js +7 -7
  1115. package/js/x-modules/queries-preview/components/query-preview-list.vue.js.map +1 -1
  1116. package/js/x-modules/queries-preview/components/query-preview-list.vue2.js +12 -12
  1117. package/js/x-modules/queries-preview/components/query-preview-list.vue2.js.map +1 -1
  1118. package/js/x-modules/queries-preview/components/query-preview.vue.js.map +1 -1
  1119. package/js/x-modules/queries-preview/components/query-preview.vue2.js +64 -66
  1120. package/js/x-modules/queries-preview/components/query-preview.vue2.js.map +1 -1
  1121. package/js/x-modules/queries-preview/composables/use-queries-preview.composable.js +4 -2
  1122. package/js/x-modules/queries-preview/composables/use-queries-preview.composable.js.map +1 -1
  1123. package/js/x-modules/queries-preview/store/actions/fetch-and-save-query-preview.action.js +3 -5
  1124. package/js/x-modules/queries-preview/store/actions/fetch-and-save-query-preview.action.js.map +1 -1
  1125. package/js/x-modules/queries-preview/store/actions/fetch-query-preview.action.js +2 -2
  1126. package/js/x-modules/queries-preview/store/actions/fetch-query-preview.action.js.map +1 -1
  1127. package/js/x-modules/queries-preview/store/emitters.js +2 -2
  1128. package/js/x-modules/queries-preview/store/emitters.js.map +1 -1
  1129. package/js/x-modules/queries-preview/store/getters/loaded-queries-preview.getter.js +0 -1
  1130. package/js/x-modules/queries-preview/store/getters/loaded-queries-preview.getter.js.map +1 -1
  1131. package/js/x-modules/queries-preview/store/module.js +7 -7
  1132. package/js/x-modules/queries-preview/store/module.js.map +1 -1
  1133. package/js/x-modules/queries-preview/utils/get-hash-from-query-preview.js.map +1 -1
  1134. package/js/x-modules/queries-preview/wiring.js +11 -11
  1135. package/js/x-modules/queries-preview/wiring.js.map +1 -1
  1136. package/js/x-modules/queries-preview/x-module.js +1 -1
  1137. package/js/x-modules/queries-preview/x-module.js.map +1 -1
  1138. package/js/x-modules/query-suggestions/components/query-suggestion.vue.js.map +1 -1
  1139. package/js/x-modules/query-suggestions/components/query-suggestion.vue2.js +6 -6
  1140. package/js/x-modules/query-suggestions/components/query-suggestion.vue2.js.map +1 -1
  1141. package/js/x-modules/query-suggestions/components/query-suggestions.vue.js.map +1 -1
  1142. package/js/x-modules/query-suggestions/components/query-suggestions.vue2.js +1 -1
  1143. package/js/x-modules/query-suggestions/components/query-suggestions.vue2.js.map +1 -1
  1144. package/js/x-modules/query-suggestions/store/actions/fetch-and-save-suggestions.action.js +2 -3
  1145. package/js/x-modules/query-suggestions/store/actions/fetch-and-save-suggestions.action.js.map +1 -1
  1146. package/js/x-modules/query-suggestions/store/actions/fetch-suggestions.action.js +1 -1
  1147. package/js/x-modules/query-suggestions/store/actions/fetch-suggestions.action.js.map +1 -1
  1148. package/js/x-modules/query-suggestions/store/actions/set-url-params.action.js +0 -1
  1149. package/js/x-modules/query-suggestions/store/actions/set-url-params.action.js.map +1 -1
  1150. package/js/x-modules/query-suggestions/store/emitters.js +1 -1
  1151. package/js/x-modules/query-suggestions/store/emitters.js.map +1 -1
  1152. package/js/x-modules/query-suggestions/store/getters/normalized-query.getter.js +1 -3
  1153. package/js/x-modules/query-suggestions/store/getters/normalized-query.getter.js.map +1 -1
  1154. package/js/x-modules/query-suggestions/store/getters/query-suggestions.getter.js +1 -1
  1155. package/js/x-modules/query-suggestions/store/getters/query-suggestions.getter.js.map +1 -1
  1156. package/js/x-modules/query-suggestions/store/getters/request.getter.js +2 -4
  1157. package/js/x-modules/query-suggestions/store/getters/request.getter.js.map +1 -1
  1158. package/js/x-modules/query-suggestions/store/module.js +7 -7
  1159. package/js/x-modules/query-suggestions/store/module.js.map +1 -1
  1160. package/js/x-modules/query-suggestions/wiring.js +12 -12
  1161. package/js/x-modules/query-suggestions/wiring.js.map +1 -1
  1162. package/js/x-modules/query-suggestions/x-module.js +1 -1
  1163. package/js/x-modules/query-suggestions/x-module.js.map +1 -1
  1164. package/js/x-modules/recommendations/components/recommendations.vue.js.map +1 -1
  1165. package/js/x-modules/recommendations/components/recommendations.vue2.js +8 -8
  1166. package/js/x-modules/recommendations/components/recommendations.vue2.js.map +1 -1
  1167. package/js/x-modules/recommendations/store/actions/fetch-and-save-recommendations.action.js +2 -3
  1168. package/js/x-modules/recommendations/store/actions/fetch-and-save-recommendations.action.js.map +1 -1
  1169. package/js/x-modules/recommendations/store/actions/fetch-recommendations.action.js +1 -1
  1170. package/js/x-modules/recommendations/store/actions/fetch-recommendations.action.js.map +1 -1
  1171. package/js/x-modules/recommendations/store/constants.js.map +1 -1
  1172. package/js/x-modules/recommendations/store/emitters.js +2 -2
  1173. package/js/x-modules/recommendations/store/emitters.js.map +1 -1
  1174. package/js/x-modules/recommendations/store/getters/request.getter.js +2 -2
  1175. package/js/x-modules/recommendations/store/getters/request.getter.js.map +1 -1
  1176. package/js/x-modules/recommendations/store/module.js +7 -7
  1177. package/js/x-modules/recommendations/store/module.js.map +1 -1
  1178. package/js/x-modules/recommendations/wiring.js +3 -3
  1179. package/js/x-modules/recommendations/wiring.js.map +1 -1
  1180. package/js/x-modules/recommendations/x-module.js +1 -1
  1181. package/js/x-modules/recommendations/x-module.js.map +1 -1
  1182. package/js/x-modules/related-prompts/components/related-prompt.vue.js.map +1 -1
  1183. package/js/x-modules/related-prompts/components/related-prompt.vue2.js +6 -6
  1184. package/js/x-modules/related-prompts/components/related-prompt.vue2.js.map +1 -1
  1185. package/js/x-modules/related-prompts/components/related-prompts-list.vue.js +13 -13
  1186. package/js/x-modules/related-prompts/components/related-prompts-list.vue.js.map +1 -1
  1187. package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue.js +9 -9
  1188. package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue.js.map +1 -1
  1189. package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue2.js +9 -9
  1190. package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue2.js.map +1 -1
  1191. package/js/x-modules/related-prompts/store/actions/fetch-and-save-related-prompts.action.js +2 -2
  1192. package/js/x-modules/related-prompts/store/actions/fetch-and-save-related-prompts.action.js.map +1 -1
  1193. package/js/x-modules/related-prompts/store/actions/fetch-related-prompts.action.js +1 -1
  1194. package/js/x-modules/related-prompts/store/actions/fetch-related-prompts.action.js.map +1 -1
  1195. package/js/x-modules/related-prompts/store/actions/set-url-params.action.js +0 -1
  1196. package/js/x-modules/related-prompts/store/actions/set-url-params.action.js.map +1 -1
  1197. package/js/x-modules/related-prompts/store/emitters.js +1 -1
  1198. package/js/x-modules/related-prompts/store/emitters.js.map +1 -1
  1199. package/js/x-modules/related-prompts/store/getters/related-prompts-query.getter.js +1 -1
  1200. package/js/x-modules/related-prompts/store/getters/related-prompts-query.getter.js.map +1 -1
  1201. package/js/x-modules/related-prompts/store/getters/request.getter.js.map +1 -1
  1202. package/js/x-modules/related-prompts/store/module.js +7 -7
  1203. package/js/x-modules/related-prompts/store/module.js.map +1 -1
  1204. package/js/x-modules/related-prompts/wiring.js +12 -12
  1205. package/js/x-modules/related-prompts/wiring.js.map +1 -1
  1206. package/js/x-modules/related-prompts/x-module.js +2 -2
  1207. package/js/x-modules/related-prompts/x-module.js.map +1 -1
  1208. package/js/x-modules/related-tags/components/related-tag.vue.js +2 -2
  1209. package/js/x-modules/related-tags/components/related-tag.vue.js.map +1 -1
  1210. package/js/x-modules/related-tags/components/related-tag.vue2.js +8 -8
  1211. package/js/x-modules/related-tags/components/related-tag.vue2.js.map +1 -1
  1212. package/js/x-modules/related-tags/components/related-tags.vue.js +5 -5
  1213. package/js/x-modules/related-tags/components/related-tags.vue.js.map +1 -1
  1214. package/js/x-modules/related-tags/components/related-tags.vue2.js +10 -10
  1215. package/js/x-modules/related-tags/components/related-tags.vue2.js.map +1 -1
  1216. package/js/x-modules/related-tags/store/actions/fetch-and-save-related-tags.action.js +2 -3
  1217. package/js/x-modules/related-tags/store/actions/fetch-and-save-related-tags.action.js.map +1 -1
  1218. package/js/x-modules/related-tags/store/actions/fetch-related-tags.action.js +1 -1
  1219. package/js/x-modules/related-tags/store/actions/fetch-related-tags.action.js.map +1 -1
  1220. package/js/x-modules/related-tags/store/actions/set-url-params.action.js +4 -1
  1221. package/js/x-modules/related-tags/store/actions/set-url-params.action.js.map +1 -1
  1222. package/js/x-modules/related-tags/store/actions/toggle-related-tag.action.js +0 -1
  1223. package/js/x-modules/related-tags/store/actions/toggle-related-tag.action.js.map +1 -1
  1224. package/js/x-modules/related-tags/store/emitters.js +2 -2
  1225. package/js/x-modules/related-tags/store/emitters.js.map +1 -1
  1226. package/js/x-modules/related-tags/store/getters/query.getter.js +1 -3
  1227. package/js/x-modules/related-tags/store/getters/query.getter.js.map +1 -1
  1228. package/js/x-modules/related-tags/store/getters/related-tags.getter.js +1 -2
  1229. package/js/x-modules/related-tags/store/getters/related-tags.getter.js.map +1 -1
  1230. package/js/x-modules/related-tags/store/getters/request.getter.js +1 -3
  1231. package/js/x-modules/related-tags/store/getters/request.getter.js.map +1 -1
  1232. package/js/x-modules/related-tags/store/module.js +7 -7
  1233. package/js/x-modules/related-tags/store/module.js.map +1 -1
  1234. package/js/x-modules/related-tags/wiring.js +12 -12
  1235. package/js/x-modules/related-tags/wiring.js.map +1 -1
  1236. package/js/x-modules/related-tags/x-module.js +1 -1
  1237. package/js/x-modules/related-tags/x-module.js.map +1 -1
  1238. package/js/x-modules/scroll/components/main-scroll-item.vue.js.map +1 -1
  1239. package/js/x-modules/scroll/components/main-scroll-item.vue2.js +14 -16
  1240. package/js/x-modules/scroll/components/main-scroll-item.vue2.js.map +1 -1
  1241. package/js/x-modules/scroll/components/main-scroll.vue.js +10 -10
  1242. package/js/x-modules/scroll/components/main-scroll.vue.js.map +1 -1
  1243. package/js/x-modules/scroll/components/scroll-to-top.vue.js.map +1 -1
  1244. package/js/x-modules/scroll/components/scroll-to-top.vue2.js +50 -48
  1245. package/js/x-modules/scroll/components/scroll-to-top.vue2.js.map +1 -1
  1246. package/js/x-modules/scroll/components/scroll.const.js.map +1 -1
  1247. package/js/x-modules/scroll/components/scroll.vue.js +3 -3
  1248. package/js/x-modules/scroll/components/scroll.vue.js.map +1 -1
  1249. package/js/x-modules/scroll/components/scroll.vue2.js +6 -6
  1250. package/js/x-modules/scroll/components/scroll.vue2.js.map +1 -1
  1251. package/js/x-modules/scroll/store/emitters.js.map +1 -1
  1252. package/js/x-modules/scroll/store/module.js +4 -4
  1253. package/js/x-modules/scroll/store/module.js.map +1 -1
  1254. package/js/x-modules/scroll/wiring.js +14 -14
  1255. package/js/x-modules/scroll/wiring.js.map +1 -1
  1256. package/js/x-modules/scroll/x-module.js +1 -1
  1257. package/js/x-modules/scroll/x-module.js.map +1 -1
  1258. package/js/x-modules/search/components/banner.vue.js +5 -4
  1259. package/js/x-modules/search/components/banner.vue.js.map +1 -1
  1260. package/js/x-modules/search/components/banner.vue2.js +5 -5
  1261. package/js/x-modules/search/components/banner.vue2.js.map +1 -1
  1262. package/js/x-modules/search/components/banners-list.vue.js +9 -8
  1263. package/js/x-modules/search/components/banners-list.vue.js.map +1 -1
  1264. package/js/x-modules/search/components/fallback-disclaimer.vue.js.map +1 -1
  1265. package/js/x-modules/search/components/fallback-disclaimer.vue2.js +3 -3
  1266. package/js/x-modules/search/components/fallback-disclaimer.vue2.js.map +1 -1
  1267. package/js/x-modules/search/components/partial-query-button.vue.js +2 -2
  1268. package/js/x-modules/search/components/partial-query-button.vue.js.map +1 -1
  1269. package/js/x-modules/search/components/partial-query-button.vue2.js +6 -6
  1270. package/js/x-modules/search/components/partial-query-button.vue2.js.map +1 -1
  1271. package/js/x-modules/search/components/partial-results-list.vue.js.map +1 -1
  1272. package/js/x-modules/search/components/partial-results-list.vue2.js +8 -8
  1273. package/js/x-modules/search/components/partial-results-list.vue2.js.map +1 -1
  1274. package/js/x-modules/search/components/promoted.vue.js +2 -2
  1275. package/js/x-modules/search/components/promoted.vue.js.map +1 -1
  1276. package/js/x-modules/search/components/promoted.vue2.js +5 -5
  1277. package/js/x-modules/search/components/promoted.vue2.js.map +1 -1
  1278. package/js/x-modules/search/components/promoteds-list.vue.js +6 -6
  1279. package/js/x-modules/search/components/promoteds-list.vue.js.map +1 -1
  1280. package/js/x-modules/search/components/redirection.vue.js.map +1 -1
  1281. package/js/x-modules/search/components/redirection.vue2.js +7 -8
  1282. package/js/x-modules/search/components/redirection.vue2.js.map +1 -1
  1283. package/js/x-modules/search/components/results-list.vue.js +5 -5
  1284. package/js/x-modules/search/components/results-list.vue.js.map +1 -1
  1285. package/js/x-modules/search/components/sort-dropdown.vue.js +4 -4
  1286. package/js/x-modules/search/components/sort-dropdown.vue.js.map +1 -1
  1287. package/js/x-modules/search/components/sort-dropdown.vue2.js +5 -5
  1288. package/js/x-modules/search/components/sort-dropdown.vue2.js.map +1 -1
  1289. package/js/x-modules/search/components/sort-list.vue.js.map +1 -1
  1290. package/js/x-modules/search/components/sort-list.vue2.js +8 -8
  1291. package/js/x-modules/search/components/sort-list.vue2.js.map +1 -1
  1292. package/js/x-modules/search/components/sort-picker-list.vue.js.map +1 -1
  1293. package/js/x-modules/search/components/sort-picker-list.vue2.js +8 -8
  1294. package/js/x-modules/search/components/sort-picker-list.vue2.js.map +1 -1
  1295. package/js/x-modules/search/components/spellcheck-button.vue.js +2 -2
  1296. package/js/x-modules/search/components/spellcheck-button.vue.js.map +1 -1
  1297. package/js/x-modules/search/components/spellcheck-button.vue2.js +4 -4
  1298. package/js/x-modules/search/components/spellcheck-button.vue2.js.map +1 -1
  1299. package/js/x-modules/search/components/spellcheck.vue.js.map +1 -1
  1300. package/js/x-modules/search/components/spellcheck.vue2.js +3 -3
  1301. package/js/x-modules/search/components/spellcheck.vue2.js.map +1 -1
  1302. package/js/x-modules/search/store/actions/fetch-and-save-search-response.action.js +5 -5
  1303. package/js/x-modules/search/store/actions/fetch-and-save-search-response.action.js.map +1 -1
  1304. package/js/x-modules/search/store/actions/fetch-search-response.action.js +1 -1
  1305. package/js/x-modules/search/store/actions/fetch-search-response.action.js.map +1 -1
  1306. package/js/x-modules/search/store/actions/increase-page-apending-results.action.js +0 -1
  1307. package/js/x-modules/search/store/actions/increase-page-apending-results.action.js.map +1 -1
  1308. package/js/x-modules/search/store/actions/reset-request-on-refinement.action.js +0 -1
  1309. package/js/x-modules/search/store/actions/reset-request-on-refinement.action.js.map +1 -1
  1310. package/js/x-modules/search/store/actions/save-origin.action.js +0 -1
  1311. package/js/x-modules/search/store/actions/save-origin.action.js.map +1 -1
  1312. package/js/x-modules/search/store/actions/save-search-response.action.js +1 -2
  1313. package/js/x-modules/search/store/actions/save-search-response.action.js.map +1 -1
  1314. package/js/x-modules/search/store/actions/set-url-params.action.js +0 -2
  1315. package/js/x-modules/search/store/actions/set-url-params.action.js.map +1 -1
  1316. package/js/x-modules/search/store/emitters.js +5 -5
  1317. package/js/x-modules/search/store/emitters.js.map +1 -1
  1318. package/js/x-modules/search/store/getters/query.getter.js +1 -1
  1319. package/js/x-modules/search/store/getters/query.getter.js.map +1 -1
  1320. package/js/x-modules/search/store/getters/request.getter.js +1 -2
  1321. package/js/x-modules/search/store/getters/request.getter.js.map +1 -1
  1322. package/js/x-modules/search/store/module.js +10 -10
  1323. package/js/x-modules/search/store/module.js.map +1 -1
  1324. package/js/x-modules/search/wiring.js +26 -26
  1325. package/js/x-modules/search/wiring.js.map +1 -1
  1326. package/js/x-modules/search/x-module.js +1 -1
  1327. package/js/x-modules/search/x-module.js.map +1 -1
  1328. package/js/x-modules/search-box/components/clear-search-input.vue.js.map +1 -1
  1329. package/js/x-modules/search-box/components/clear-search-input.vue2.js +5 -5
  1330. package/js/x-modules/search-box/components/clear-search-input.vue2.js.map +1 -1
  1331. package/js/x-modules/search-box/components/search-button.vue.js +2 -2
  1332. package/js/x-modules/search-box/components/search-button.vue.js.map +1 -1
  1333. package/js/x-modules/search-box/components/search-button.vue2.js +5 -5
  1334. package/js/x-modules/search-box/components/search-button.vue2.js.map +1 -1
  1335. package/js/x-modules/search-box/components/search-input-placeholder.vue.js.map +1 -1
  1336. package/js/x-modules/search-box/components/search-input-placeholder.vue2.js +8 -8
  1337. package/js/x-modules/search-box/components/search-input-placeholder.vue2.js.map +1 -1
  1338. package/js/x-modules/search-box/components/search-input.vue.js +10 -10
  1339. package/js/x-modules/search-box/components/search-input.vue.js.map +1 -1
  1340. package/js/x-modules/search-box/components/search-input.vue2.js +10 -10
  1341. package/js/x-modules/search-box/components/search-input.vue2.js.map +1 -1
  1342. package/js/x-modules/search-box/store/actions/set-input-status.action.js +8 -8
  1343. package/js/x-modules/search-box/store/actions/set-input-status.action.js.map +1 -1
  1344. package/js/x-modules/search-box/store/actions/set-url-params.action.js +0 -1
  1345. package/js/x-modules/search-box/store/actions/set-url-params.action.js.map +1 -1
  1346. package/js/x-modules/search-box/store/emitters.js +1 -1
  1347. package/js/x-modules/search-box/store/emitters.js.map +1 -1
  1348. package/js/x-modules/search-box/store/module.js +6 -6
  1349. package/js/x-modules/search-box/store/module.js.map +1 -1
  1350. package/js/x-modules/search-box/wiring.js +13 -12
  1351. package/js/x-modules/search-box/wiring.js.map +1 -1
  1352. package/js/x-modules/search-box/x-module.js +1 -1
  1353. package/js/x-modules/search-box/x-module.js.map +1 -1
  1354. package/js/x-modules/semantic-queries/components/semantic-queries.vue.js.map +1 -1
  1355. package/js/x-modules/semantic-queries/components/semantic-queries.vue2.js +5 -5
  1356. package/js/x-modules/semantic-queries/components/semantic-queries.vue2.js.map +1 -1
  1357. package/js/x-modules/semantic-queries/components/semantic-query.vue.js +2 -2
  1358. package/js/x-modules/semantic-queries/components/semantic-query.vue.js.map +1 -1
  1359. package/js/x-modules/semantic-queries/components/semantic-query.vue2.js +6 -6
  1360. package/js/x-modules/semantic-queries/components/semantic-query.vue2.js.map +1 -1
  1361. package/js/x-modules/semantic-queries/store/actions/fetch-and-save-semantic-query.action.js +1 -3
  1362. package/js/x-modules/semantic-queries/store/actions/fetch-and-save-semantic-query.action.js.map +1 -1
  1363. package/js/x-modules/semantic-queries/store/actions/fetch-semantic-query.action.js +1 -1
  1364. package/js/x-modules/semantic-queries/store/actions/fetch-semantic-query.action.js.map +1 -1
  1365. package/js/x-modules/semantic-queries/store/emitters.js +1 -1
  1366. package/js/x-modules/semantic-queries/store/emitters.js.map +1 -1
  1367. package/js/x-modules/semantic-queries/store/getters/normalized-query.getter.js +1 -1
  1368. package/js/x-modules/semantic-queries/store/getters/normalized-query.getter.js.map +1 -1
  1369. package/js/x-modules/semantic-queries/store/getters/request.getter.js +2 -2
  1370. package/js/x-modules/semantic-queries/store/getters/request.getter.js.map +1 -1
  1371. package/js/x-modules/semantic-queries/store/getters/semanti-queries-query.getter.js +1 -1
  1372. package/js/x-modules/semantic-queries/store/getters/semanti-queries-query.getter.js.map +1 -1
  1373. package/js/x-modules/semantic-queries/store/module.js +8 -8
  1374. package/js/x-modules/semantic-queries/store/module.js.map +1 -1
  1375. package/js/x-modules/semantic-queries/wiring.js +7 -7
  1376. package/js/x-modules/semantic-queries/wiring.js.map +1 -1
  1377. package/js/x-modules/semantic-queries/x-module.js +1 -1
  1378. package/js/x-modules/semantic-queries/x-module.js.map +1 -1
  1379. package/js/x-modules/tagging/components/tagging.vue.js +10 -11
  1380. package/js/x-modules/tagging/components/tagging.vue.js.map +1 -1
  1381. package/js/x-modules/tagging/service/external-tagging.service.js +5 -4
  1382. package/js/x-modules/tagging/service/external-tagging.service.js.map +1 -1
  1383. package/js/x-modules/tagging/store/actions/track.action.js +3 -4
  1384. package/js/x-modules/tagging/store/actions/track.action.js.map +1 -1
  1385. package/js/x-modules/tagging/store/emitters.js +2 -2
  1386. package/js/x-modules/tagging/store/emitters.js.map +1 -1
  1387. package/js/x-modules/tagging/store/module.js +6 -6
  1388. package/js/x-modules/tagging/store/module.js.map +1 -1
  1389. package/js/x-modules/tagging/wiring.js +31 -27
  1390. package/js/x-modules/tagging/wiring.js.map +1 -1
  1391. package/js/x-modules/tagging/x-module.js +1 -1
  1392. package/js/x-modules/tagging/x-module.js.map +1 -1
  1393. package/js/x-modules/url/components/url-handler.vue.js +2 -2
  1394. package/js/x-modules/url/components/url-handler.vue.js.map +1 -1
  1395. package/js/x-modules/url/components/url-handler.vue2.js +8 -9
  1396. package/js/x-modules/url/components/url-handler.vue2.js.map +1 -1
  1397. package/js/x-modules/url/store/emitters.js +3 -3
  1398. package/js/x-modules/url/store/emitters.js.map +1 -1
  1399. package/js/x-modules/url/store/getters/url-params.getter.js +0 -1
  1400. package/js/x-modules/url/store/getters/url-params.getter.js.map +1 -1
  1401. package/js/x-modules/url/store/initial-state.js +1 -1
  1402. package/js/x-modules/url/store/initial-state.js.map +1 -1
  1403. package/js/x-modules/url/store/module.js +4 -4
  1404. package/js/x-modules/url/store/module.js.map +1 -1
  1405. package/js/x-modules/url/store/mutations/set-params.mutation.js.map +1 -1
  1406. package/js/x-modules/url/wiring.js +14 -14
  1407. package/js/x-modules/url/wiring.js.map +1 -1
  1408. package/js/x-modules/url/x-module.js +1 -1
  1409. package/js/x-modules/url/x-module.js.map +1 -1
  1410. package/next-queries/index.js +4 -4
  1411. package/package.json +30 -25
  1412. package/popular-searches/index.js +2 -2
  1413. package/queries-preview/index.js +4 -4
  1414. package/query-suggestions/index.js +1 -1
  1415. package/related-tags/index.js +1 -1
  1416. package/report/x-components.api.json +2828 -5263
  1417. package/report/x-components.api.md +297 -281
  1418. package/scroll/index.js +2 -2
  1419. package/search/index.js +2 -2
  1420. package/search-box/index.js +1 -1
  1421. package/semantic-queries/index.js +2 -2
  1422. package/tools/inject-css.js +4 -4
  1423. package/types/adapter/e2e-adapter.d.ts +4 -2
  1424. package/types/adapter/e2e-adapter.d.ts.map +1 -1
  1425. package/types/adapter/mocked-responses.d.ts +1 -1
  1426. package/types/adapter/mocked-responses.d.ts.map +1 -1
  1427. package/types/components/animations/animate-clip-path/animate-clip-path.factory.d.ts.map +1 -1
  1428. package/types/components/animations/animate-scale/animate-scale.factory.d.ts.map +1 -1
  1429. package/types/components/animations/animate-translate/animate-translate.factory.d.ts.map +1 -1
  1430. package/types/components/animations/animate-width.vue.d.ts.map +1 -1
  1431. package/types/components/animations/collapse-height.vue.d.ts.map +1 -1
  1432. package/types/components/animations/collapse-width.vue.d.ts.map +1 -1
  1433. package/types/components/animations/create-directional-animation-factory.d.ts +1 -1
  1434. package/types/components/animations/create-directional-animation-factory.d.ts.map +1 -1
  1435. package/types/components/animations/cross-fade.vue.d.ts.map +1 -1
  1436. package/types/components/animations/fade-and-slide.vue.d.ts.map +1 -1
  1437. package/types/components/animations/fade.vue.d.ts.map +1 -1
  1438. package/types/components/animations/index.d.ts +5 -5
  1439. package/types/components/animations/index.d.ts.map +1 -1
  1440. package/types/components/animations/no-animation.vue.d.ts.map +1 -1
  1441. package/types/components/animations/staggered-fade-and-slide.vue.d.ts.map +1 -1
  1442. package/types/components/animations/use-collapse-animation.d.ts.map +1 -1
  1443. package/types/components/auto-progress-bar.vue.d.ts +1 -1
  1444. package/types/components/auto-progress-bar.vue.d.ts.map +1 -1
  1445. package/types/components/base-dropdown.vue.d.ts +2 -2
  1446. package/types/components/base-dropdown.vue.d.ts.map +1 -1
  1447. package/types/components/base-event-button.vue.d.ts +3 -3
  1448. package/types/components/base-event-button.vue.d.ts.map +1 -1
  1449. package/types/components/base-grid.vue.d.ts +2 -2
  1450. package/types/components/base-grid.vue.d.ts.map +1 -1
  1451. package/types/components/base-keyboard-navigation.vue.d.ts +2 -2
  1452. package/types/components/base-keyboard-navigation.vue.d.ts.map +1 -1
  1453. package/types/components/base-rating.vue.d.ts.map +1 -1
  1454. package/types/components/base-slider.vue.d.ts +1 -1
  1455. package/types/components/base-slider.vue.d.ts.map +1 -1
  1456. package/types/components/base-switch.vue.d.ts +1 -1
  1457. package/types/components/base-switch.vue.d.ts.map +1 -1
  1458. package/types/components/base-teleport.vue.d.ts +13 -0
  1459. package/types/components/base-teleport.vue.d.ts.map +1 -0
  1460. package/types/components/base-variable-column-grid.vue.d.ts +2 -2
  1461. package/types/components/base-variable-column-grid.vue.d.ts.map +1 -1
  1462. package/types/components/column-picker/base-column-picker-dropdown.vue.d.ts +6 -5
  1463. package/types/components/column-picker/base-column-picker-dropdown.vue.d.ts.map +1 -1
  1464. package/types/components/column-picker/base-column-picker-list.vue.d.ts +3 -3
  1465. package/types/components/column-picker/base-column-picker-list.vue.d.ts.map +1 -1
  1466. package/types/components/column-picker/index.d.ts.map +1 -1
  1467. package/types/components/currency/base-currency.vue.d.ts.map +1 -1
  1468. package/types/components/currency/index.d.ts.map +1 -1
  1469. package/types/components/decorators/injection.consts.d.ts +2 -2
  1470. package/types/components/decorators/injection.consts.d.ts.map +1 -1
  1471. package/types/components/display-click-provider.vue.d.ts.map +1 -1
  1472. package/types/components/display-emitter.vue.d.ts +3 -3
  1473. package/types/components/display-emitter.vue.d.ts.map +1 -1
  1474. package/types/components/filters/index.d.ts.map +1 -1
  1475. package/types/components/filters/labels/base-price-filter-label.vue.d.ts +2 -2
  1476. package/types/components/filters/labels/base-price-filter-label.vue.d.ts.map +1 -1
  1477. package/types/components/filters/labels/base-rating-filter-label.vue.d.ts +2 -2
  1478. package/types/components/filters/labels/base-rating-filter-label.vue.d.ts.map +1 -1
  1479. package/types/components/global-x-bus.vue.d.ts +1 -1
  1480. package/types/components/global-x-bus.vue.d.ts.map +1 -1
  1481. package/types/components/highlight.vue.d.ts.map +1 -1
  1482. package/types/components/icons/index.d.ts +12 -12
  1483. package/types/components/icons/index.d.ts.map +1 -1
  1484. package/types/components/index.d.ts +15 -14
  1485. package/types/components/index.d.ts.map +1 -1
  1486. package/types/components/items-list.vue.d.ts +2 -2
  1487. package/types/components/items-list.vue.d.ts.map +1 -1
  1488. package/types/components/layouts/fixed-header-and-asides-layout.vue.d.ts.map +1 -1
  1489. package/types/components/layouts/index.d.ts.map +1 -1
  1490. package/types/components/layouts/multi-column-max-width-layout.vue.d.ts.map +1 -1
  1491. package/types/components/layouts/single-column-layout.vue.d.ts.map +1 -1
  1492. package/types/components/location-provider.vue.d.ts +2 -2
  1493. package/types/components/location-provider.vue.d.ts.map +1 -1
  1494. package/types/components/modals/base-events-modal-close.vue.d.ts +2 -2
  1495. package/types/components/modals/base-events-modal-close.vue.d.ts.map +1 -1
  1496. package/types/components/modals/base-events-modal-open.vue.d.ts +2 -2
  1497. package/types/components/modals/base-events-modal-open.vue.d.ts.map +1 -1
  1498. package/types/components/modals/base-events-modal.vue.d.ts +2 -2
  1499. package/types/components/modals/base-events-modal.vue.d.ts.map +1 -1
  1500. package/types/components/modals/base-id-modal-close.vue.d.ts.map +1 -1
  1501. package/types/components/modals/base-id-modal-open.vue.d.ts.map +1 -1
  1502. package/types/components/modals/base-id-modal.vue.d.ts.map +1 -1
  1503. package/types/components/modals/base-modal.vue.d.ts.map +1 -1
  1504. package/types/components/modals/close-main-modal.vue.d.ts.map +1 -1
  1505. package/types/components/modals/index.d.ts +3 -3
  1506. package/types/components/modals/index.d.ts.map +1 -1
  1507. package/types/components/modals/main-modal.vue.d.ts +1 -1
  1508. package/types/components/modals/main-modal.vue.d.ts.map +1 -1
  1509. package/types/components/modals/open-main-modal.vue.d.ts.map +1 -1
  1510. package/types/components/page-loader-button.vue.d.ts +3 -3
  1511. package/types/components/page-loader-button.vue.d.ts.map +1 -1
  1512. package/types/components/page-selector.vue.d.ts +2 -2
  1513. package/types/components/page-selector.vue.d.ts.map +1 -1
  1514. package/types/components/panels/base-header-toggle-panel.vue.d.ts.map +1 -1
  1515. package/types/components/panels/base-id-toggle-panel-button.vue.d.ts +1 -1
  1516. package/types/components/panels/base-id-toggle-panel-button.vue.d.ts.map +1 -1
  1517. package/types/components/panels/base-id-toggle-panel.vue.d.ts.map +1 -1
  1518. package/types/components/panels/base-tabs-panel.vue.d.ts.map +1 -1
  1519. package/types/components/panels/base-toggle-panel.vue.d.ts.map +1 -1
  1520. package/types/components/panels/index.d.ts +2 -2
  1521. package/types/components/panels/index.d.ts.map +1 -1
  1522. package/types/components/result/base-result-add-to-cart.vue.d.ts +4 -4
  1523. package/types/components/result/base-result-add-to-cart.vue.d.ts.map +1 -1
  1524. package/types/components/result/base-result-current-price.vue.d.ts +3 -3
  1525. package/types/components/result/base-result-current-price.vue.d.ts.map +1 -1
  1526. package/types/components/result/base-result-image.vue.d.ts +2 -2
  1527. package/types/components/result/base-result-image.vue.d.ts.map +1 -1
  1528. package/types/components/result/base-result-link.vue.d.ts +3 -2
  1529. package/types/components/result/base-result-link.vue.d.ts.map +1 -1
  1530. package/types/components/result/base-result-previous-price.vue.d.ts +2 -2
  1531. package/types/components/result/base-result-previous-price.vue.d.ts.map +1 -1
  1532. package/types/components/result/base-result-rating.vue.d.ts +3 -2
  1533. package/types/components/result/base-result-rating.vue.d.ts.map +1 -1
  1534. package/types/components/result/index.d.ts +3 -3
  1535. package/types/components/result/index.d.ts.map +1 -1
  1536. package/types/components/result/result-variant-selector.vue.d.ts +2 -2
  1537. package/types/components/result/result-variant-selector.vue.d.ts.map +1 -1
  1538. package/types/components/result/result-variants-provider.vue.d.ts +2 -2
  1539. package/types/components/result/result-variants-provider.vue.d.ts.map +1 -1
  1540. package/types/components/scroll/base-scroll.vue.d.ts +1 -1
  1541. package/types/components/scroll/base-scroll.vue.d.ts.map +1 -1
  1542. package/types/components/scroll/index.d.ts.map +1 -1
  1543. package/types/components/scroll/scroll.types.d.ts.map +1 -1
  1544. package/types/components/scroll/use-scroll.d.ts +2 -2
  1545. package/types/components/scroll/use-scroll.d.ts.map +1 -1
  1546. package/types/components/sliding-panel.vue.d.ts +2 -2
  1547. package/types/components/sliding-panel.vue.d.ts.map +1 -1
  1548. package/types/components/snippet-callbacks.vue.d.ts +1 -1
  1549. package/types/components/snippet-callbacks.vue.d.ts.map +1 -1
  1550. package/types/components/suggestions/base-suggestion.vue.d.ts +5 -5
  1551. package/types/components/suggestions/base-suggestion.vue.d.ts.map +1 -1
  1552. package/types/components/suggestions/base-suggestions.vue.d.ts +2 -2
  1553. package/types/components/suggestions/base-suggestions.vue.d.ts.map +1 -1
  1554. package/types/components/suggestions/index.d.ts.map +1 -1
  1555. package/types/components/x-component.utils.d.ts +2 -2
  1556. package/types/components/x-component.utils.d.ts.map +1 -1
  1557. package/types/composables/create-use-device.d.ts +1 -1
  1558. package/types/composables/create-use-device.d.ts.map +1 -1
  1559. package/types/composables/index.d.ts.map +1 -1
  1560. package/types/composables/use-alias-api.d.ts +4 -4
  1561. package/types/composables/use-alias-api.d.ts.map +1 -1
  1562. package/types/composables/use-debounce.d.ts +1 -1
  1563. package/types/composables/use-debounce.d.ts.map +1 -1
  1564. package/types/composables/use-getter.d.ts +3 -3
  1565. package/types/composables/use-getter.d.ts.map +1 -1
  1566. package/types/composables/use-on-display.d.ts +11 -15
  1567. package/types/composables/use-on-display.d.ts.map +1 -1
  1568. package/types/composables/use-state.d.ts +3 -3
  1569. package/types/composables/use-state.d.ts.map +1 -1
  1570. package/types/composables/use-store.d.ts.map +1 -1
  1571. package/types/composables/use-x-bus.d.ts +3 -3
  1572. package/types/composables/use-x-bus.d.ts.map +1 -1
  1573. package/types/directives/index.d.ts.map +1 -1
  1574. package/types/directives/infinite-scroll.d.ts +1 -1
  1575. package/types/directives/infinite-scroll.d.ts.map +1 -1
  1576. package/types/directives/typing.d.ts.map +1 -1
  1577. package/types/index.d.ts +1 -1
  1578. package/types/index.d.ts.map +1 -1
  1579. package/types/plugins/devtools/colors.utils.d.ts +2 -2
  1580. package/types/plugins/devtools/colors.utils.d.ts.map +1 -1
  1581. package/types/plugins/devtools/devtools.plugin.d.ts +1 -1
  1582. package/types/plugins/devtools/devtools.plugin.d.ts.map +1 -1
  1583. package/types/plugins/devtools/timeline.devtools.d.ts +4 -4
  1584. package/types/plugins/devtools/timeline.devtools.d.ts.map +1 -1
  1585. package/types/plugins/devtools/wiring.devtools.d.ts +4 -4
  1586. package/types/plugins/devtools/wiring.devtools.d.ts.map +1 -1
  1587. package/types/plugins/index.d.ts.map +1 -1
  1588. package/types/plugins/x-bus.d.ts +3 -3
  1589. package/types/plugins/x-bus.d.ts.map +1 -1
  1590. package/types/plugins/x-emitters.d.ts +7 -8
  1591. package/types/plugins/x-emitters.d.ts.map +1 -1
  1592. package/types/plugins/x-plugin.d.ts +16 -21
  1593. package/types/plugins/x-plugin.d.ts.map +1 -1
  1594. package/types/plugins/x-plugin.types.d.ts +19 -21
  1595. package/types/plugins/x-plugin.types.d.ts.map +1 -1
  1596. package/types/plugins/x-plugin.utils.d.ts +2 -2
  1597. package/types/plugins/x-plugin.utils.d.ts.map +1 -1
  1598. package/types/router.d.ts.map +1 -1
  1599. package/types/services/directional-focus-navigation.service.d.ts +3 -5
  1600. package/types/services/directional-focus-navigation.service.d.ts.map +1 -1
  1601. package/types/services/index.d.ts.map +1 -1
  1602. package/types/services/services.types.d.ts +4 -4
  1603. package/types/services/services.types.d.ts.map +1 -1
  1604. package/types/services/state-machine.service.d.ts +1 -1
  1605. package/types/services/state-machine.service.d.ts.map +1 -1
  1606. package/types/store/actions.types.d.ts +7 -9
  1607. package/types/store/actions.types.d.ts.map +1 -1
  1608. package/types/store/getters.types.d.ts +2 -2
  1609. package/types/store/getters.types.d.ts.map +1 -1
  1610. package/types/store/index.d.ts +1 -1
  1611. package/types/store/index.d.ts.map +1 -1
  1612. package/types/store/mutations.types.d.ts +2 -2
  1613. package/types/store/mutations.types.d.ts.map +1 -1
  1614. package/types/store/store.types.d.ts +8 -8
  1615. package/types/store/store.types.d.ts.map +1 -1
  1616. package/types/store/utils/config-store.utils.d.ts +2 -2
  1617. package/types/store/utils/config-store.utils.d.ts.map +1 -1
  1618. package/types/store/utils/fetch-and-save-action.utils.d.ts +7 -8
  1619. package/types/store/utils/fetch-and-save-action.utils.d.ts.map +1 -1
  1620. package/types/store/utils/getters-proxy.utils.d.ts +3 -3
  1621. package/types/store/utils/getters-proxy.utils.d.ts.map +1 -1
  1622. package/types/store/utils/query.utils.d.ts +3 -3
  1623. package/types/store/utils/query.utils.d.ts.map +1 -1
  1624. package/types/store/utils/status-store.utils.d.ts +1 -1
  1625. package/types/store/utils/status-store.utils.d.ts.map +1 -1
  1626. package/types/store/utils/store-emitters.utils.d.ts +9 -9
  1627. package/types/store/utils/store-emitters.utils.d.ts.map +1 -1
  1628. package/types/store/x.module.d.ts +2 -2
  1629. package/types/store/x.module.d.ts.map +1 -1
  1630. package/types/tailwind/plugin-options.d.ts.map +1 -1
  1631. package/types/types/animation-prop.d.ts.map +1 -1
  1632. package/types/types/index.d.ts +1 -1
  1633. package/types/types/index.d.ts.map +1 -1
  1634. package/types/types/origin.d.ts +1 -1
  1635. package/types/types/origin.d.ts.map +1 -1
  1636. package/types/types/page-mode.d.ts.map +1 -1
  1637. package/types/types/url-params.d.ts.map +1 -1
  1638. package/types/utils/array.d.ts +1 -1
  1639. package/types/utils/array.d.ts.map +1 -1
  1640. package/types/utils/cancellable-promise.d.ts.map +1 -1
  1641. package/types/utils/clone.d.ts.map +1 -1
  1642. package/types/utils/debounce.d.ts +1 -3
  1643. package/types/utils/debounce.d.ts.map +1 -1
  1644. package/types/utils/filters.d.ts +1 -1
  1645. package/types/utils/filters.d.ts.map +1 -1
  1646. package/types/utils/focus.d.ts.map +1 -1
  1647. package/types/utils/function.d.ts.map +1 -1
  1648. package/types/utils/get-url-parameters.d.ts.map +1 -1
  1649. package/types/utils/index.d.ts.map +1 -1
  1650. package/types/utils/is-new-query.d.ts.map +1 -1
  1651. package/types/utils/number.d.ts +0 -1
  1652. package/types/utils/number.d.ts.map +1 -1
  1653. package/types/utils/origin.d.ts +2 -4
  1654. package/types/utils/origin.d.ts.map +1 -1
  1655. package/types/utils/sanitize.d.ts.map +1 -1
  1656. package/types/utils/storage.d.ts +1 -1
  1657. package/types/utils/storage.d.ts.map +1 -1
  1658. package/types/utils/throttle.d.ts +1 -1
  1659. package/types/utils/throttle.d.ts.map +1 -1
  1660. package/types/utils/types.d.ts +7 -7
  1661. package/types/utils/types.d.ts.map +1 -1
  1662. package/types/views/adapter.d.ts +1 -1
  1663. package/types/views/adapter.d.ts.map +1 -1
  1664. package/types/views/base-config.d.ts +2 -2
  1665. package/types/views/base-config.d.ts.map +1 -1
  1666. package/types/views/home/types.d.ts.map +1 -1
  1667. package/types/wiring/events.types.d.ts +26 -26
  1668. package/types/wiring/events.types.d.ts.map +1 -1
  1669. package/types/wiring/index.d.ts.map +1 -1
  1670. package/types/wiring/namespaced-wires.factory.d.ts +2 -2
  1671. package/types/wiring/namespaced-wires.factory.d.ts.map +1 -1
  1672. package/types/wiring/namespaced-wires.operators.d.ts +2 -2
  1673. package/types/wiring/namespaced-wires.operators.d.ts.map +1 -1
  1674. package/types/wiring/namespaced-wiring.types.d.ts +4 -4
  1675. package/types/wiring/namespaced-wiring.types.d.ts.map +1 -1
  1676. package/types/wiring/wires-operators.utils.d.ts +10 -8
  1677. package/types/wiring/wires-operators.utils.d.ts.map +1 -1
  1678. package/types/wiring/wires.factory.d.ts +2 -2
  1679. package/types/wiring/wires.factory.d.ts.map +1 -1
  1680. package/types/wiring/wires.operators.d.ts +2 -2
  1681. package/types/wiring/wires.operators.d.ts.map +1 -1
  1682. package/types/wiring/wiring.types.d.ts +10 -10
  1683. package/types/wiring/wiring.types.d.ts.map +1 -1
  1684. package/types/wiring/wiring.utils.d.ts +4 -4
  1685. package/types/wiring/wiring.utils.d.ts.map +1 -1
  1686. package/types/x-installer/api/api.types.d.ts +16 -17
  1687. package/types/x-installer/api/api.types.d.ts.map +1 -1
  1688. package/types/x-installer/api/base-api.d.ts +5 -5
  1689. package/types/x-installer/api/base-api.d.ts.map +1 -1
  1690. package/types/x-installer/api/index.d.ts.map +1 -1
  1691. package/types/x-installer/index.d.ts.map +1 -1
  1692. package/types/x-installer/x-installer/index.d.ts.map +1 -1
  1693. package/types/x-installer/x-installer/types.d.ts +10 -10
  1694. package/types/x-installer/x-installer/types.d.ts.map +1 -1
  1695. package/types/x-installer/x-installer/x-installer.d.ts +8 -8
  1696. package/types/x-installer/x-installer/x-installer.d.ts.map +1 -1
  1697. package/types/x-modules/device/components/device-detector.vue.d.ts +1 -1
  1698. package/types/x-modules/device/components/device-detector.vue.d.ts.map +1 -1
  1699. package/types/x-modules/device/components/index.d.ts.map +1 -1
  1700. package/types/x-modules/device/events.types.d.ts +1 -1
  1701. package/types/x-modules/device/events.types.d.ts.map +1 -1
  1702. package/types/x-modules/device/index.d.ts.map +1 -1
  1703. package/types/x-modules/device/store/emitters.d.ts.map +1 -1
  1704. package/types/x-modules/device/store/index.d.ts.map +1 -1
  1705. package/types/x-modules/device/store/module.d.ts +1 -1
  1706. package/types/x-modules/device/store/module.d.ts.map +1 -1
  1707. package/types/x-modules/device/store/types.d.ts +2 -2
  1708. package/types/x-modules/device/store/types.d.ts.map +1 -1
  1709. package/types/x-modules/device/wiring.d.ts.map +1 -1
  1710. package/types/x-modules/device/x-module.d.ts +2 -2
  1711. package/types/x-modules/device/x-module.d.ts.map +1 -1
  1712. package/types/x-modules/empathize/components/empathize.vue.d.ts +1 -1
  1713. package/types/x-modules/empathize/components/empathize.vue.d.ts.map +1 -1
  1714. package/types/x-modules/empathize/components/index.d.ts.map +1 -1
  1715. package/types/x-modules/empathize/events.types.d.ts +3 -3
  1716. package/types/x-modules/empathize/events.types.d.ts.map +1 -1
  1717. package/types/x-modules/empathize/index.d.ts.map +1 -1
  1718. package/types/x-modules/empathize/store/emitters.d.ts.map +1 -1
  1719. package/types/x-modules/empathize/store/index.d.ts.map +1 -1
  1720. package/types/x-modules/empathize/store/module.d.ts +1 -1
  1721. package/types/x-modules/empathize/store/module.d.ts.map +1 -1
  1722. package/types/x-modules/empathize/store/types.d.ts +4 -4
  1723. package/types/x-modules/empathize/store/types.d.ts.map +1 -1
  1724. package/types/x-modules/empathize/wiring.d.ts.map +1 -1
  1725. package/types/x-modules/empathize/x-module.d.ts +2 -2
  1726. package/types/x-modules/empathize/x-module.d.ts.map +1 -1
  1727. package/types/x-modules/experience-controls/components/experience-controls.vue.d.ts.map +1 -1
  1728. package/types/x-modules/experience-controls/components/index.d.ts.map +1 -1
  1729. package/types/x-modules/experience-controls/events.types.d.ts +2 -2
  1730. package/types/x-modules/experience-controls/events.types.d.ts.map +1 -1
  1731. package/types/x-modules/experience-controls/index.d.ts.map +1 -1
  1732. package/types/x-modules/experience-controls/store/actions/fetch-and-save-experience-controls.action.d.ts +2 -2
  1733. package/types/x-modules/experience-controls/store/actions/fetch-and-save-experience-controls.action.d.ts.map +1 -1
  1734. package/types/x-modules/experience-controls/store/actions/fetch-experience-controls.action.d.ts +1 -1
  1735. package/types/x-modules/experience-controls/store/actions/fetch-experience-controls.action.d.ts.map +1 -1
  1736. package/types/x-modules/experience-controls/store/actions/index.d.ts.map +1 -1
  1737. package/types/x-modules/experience-controls/store/emitters.d.ts.map +1 -1
  1738. package/types/x-modules/experience-controls/store/getters/experience-controls-results-request.getter.d.ts +1 -1
  1739. package/types/x-modules/experience-controls/store/getters/experience-controls-results-request.getter.d.ts.map +1 -1
  1740. package/types/x-modules/experience-controls/store/getters/index.d.ts.map +1 -1
  1741. package/types/x-modules/experience-controls/store/index.d.ts.map +1 -1
  1742. package/types/x-modules/experience-controls/store/module.d.ts +1 -1
  1743. package/types/x-modules/experience-controls/store/module.d.ts.map +1 -1
  1744. package/types/x-modules/experience-controls/store/types.d.ts +10 -10
  1745. package/types/x-modules/experience-controls/store/types.d.ts.map +1 -1
  1746. package/types/x-modules/experience-controls/wiring.d.ts.map +1 -1
  1747. package/types/x-modules/experience-controls/x-module.d.ts +2 -2
  1748. package/types/x-modules/experience-controls/x-module.d.ts.map +1 -1
  1749. package/types/x-modules/extra-params/components/extra-params.vue.d.ts +2 -2
  1750. package/types/x-modules/extra-params/components/extra-params.vue.d.ts.map +1 -1
  1751. package/types/x-modules/extra-params/components/index.d.ts +1 -1
  1752. package/types/x-modules/extra-params/components/index.d.ts.map +1 -1
  1753. package/types/x-modules/extra-params/components/renderless-extra-param.vue.d.ts.map +1 -1
  1754. package/types/x-modules/extra-params/components/snippet-config-extra-params.vue.d.ts +3 -3
  1755. package/types/x-modules/extra-params/components/snippet-config-extra-params.vue.d.ts.map +1 -1
  1756. package/types/x-modules/extra-params/events.types.d.ts +5 -5
  1757. package/types/x-modules/extra-params/events.types.d.ts.map +1 -1
  1758. package/types/x-modules/extra-params/index.d.ts.map +1 -1
  1759. package/types/x-modules/extra-params/store/emitters.d.ts.map +1 -1
  1760. package/types/x-modules/extra-params/store/index.d.ts.map +1 -1
  1761. package/types/x-modules/extra-params/store/module.d.ts +1 -1
  1762. package/types/x-modules/extra-params/store/module.d.ts.map +1 -1
  1763. package/types/x-modules/extra-params/store/types.d.ts +3 -3
  1764. package/types/x-modules/extra-params/store/types.d.ts.map +1 -1
  1765. package/types/x-modules/extra-params/wiring.d.ts.map +1 -1
  1766. package/types/x-modules/extra-params/x-module.d.ts +2 -2
  1767. package/types/x-modules/extra-params/x-module.d.ts.map +1 -1
  1768. package/types/x-modules/facets/components/clear-filters.vue.d.ts +3 -3
  1769. package/types/x-modules/facets/components/clear-filters.vue.d.ts.map +1 -1
  1770. package/types/x-modules/facets/components/facets/facets-provider.vue.d.ts +2 -2
  1771. package/types/x-modules/facets/components/facets/facets-provider.vue.d.ts.map +1 -1
  1772. package/types/x-modules/facets/components/facets/facets.vue.d.ts +3 -3
  1773. package/types/x-modules/facets/components/facets/facets.vue.d.ts.map +1 -1
  1774. package/types/x-modules/facets/components/filters/all-filter.vue.d.ts +3 -3
  1775. package/types/x-modules/facets/components/filters/all-filter.vue.d.ts.map +1 -1
  1776. package/types/x-modules/facets/components/filters/editable-number-range-filter.vue.d.ts +2 -2
  1777. package/types/x-modules/facets/components/filters/editable-number-range-filter.vue.d.ts.map +1 -1
  1778. package/types/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts +4 -4
  1779. package/types/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts.map +1 -1
  1780. package/types/x-modules/facets/components/filters/number-range-filter.vue.d.ts +4 -4
  1781. package/types/x-modules/facets/components/filters/number-range-filter.vue.d.ts.map +1 -1
  1782. package/types/x-modules/facets/components/filters/renderless-filter.vue.d.ts +4 -4
  1783. package/types/x-modules/facets/components/filters/renderless-filter.vue.d.ts.map +1 -1
  1784. package/types/x-modules/facets/components/filters/simple-filter.vue.d.ts +4 -4
  1785. package/types/x-modules/facets/components/filters/simple-filter.vue.d.ts.map +1 -1
  1786. package/types/x-modules/facets/components/index.d.ts +5 -5
  1787. package/types/x-modules/facets/components/index.d.ts.map +1 -1
  1788. package/types/x-modules/facets/components/lists/exclude-filters-with-no-results.vue.d.ts +2 -2
  1789. package/types/x-modules/facets/components/lists/exclude-filters-with-no-results.vue.d.ts.map +1 -1
  1790. package/types/x-modules/facets/components/lists/filters-list.vue.d.ts +3 -3
  1791. package/types/x-modules/facets/components/lists/filters-list.vue.d.ts.map +1 -1
  1792. package/types/x-modules/facets/components/lists/filters-search.vue.d.ts +3 -3
  1793. package/types/x-modules/facets/components/lists/filters-search.vue.d.ts.map +1 -1
  1794. package/types/x-modules/facets/components/lists/selected-filters-list.vue.d.ts +2 -2
  1795. package/types/x-modules/facets/components/lists/selected-filters-list.vue.d.ts.map +1 -1
  1796. package/types/x-modules/facets/components/lists/selected-filters.vue.d.ts +1 -1
  1797. package/types/x-modules/facets/components/lists/selected-filters.vue.d.ts.map +1 -1
  1798. package/types/x-modules/facets/components/lists/sliced-filters.vue.d.ts +3 -3
  1799. package/types/x-modules/facets/components/lists/sliced-filters.vue.d.ts.map +1 -1
  1800. package/types/x-modules/facets/components/lists/sorted-filters.vue.d.ts +2 -2
  1801. package/types/x-modules/facets/components/lists/sorted-filters.vue.d.ts.map +1 -1
  1802. package/types/x-modules/facets/components/preselected-filters.vue.d.ts +1 -1
  1803. package/types/x-modules/facets/components/preselected-filters.vue.d.ts.map +1 -1
  1804. package/types/x-modules/facets/composables/index.d.ts.map +1 -1
  1805. package/types/x-modules/facets/composables/use-facets.d.ts +3 -4
  1806. package/types/x-modules/facets/composables/use-facets.d.ts.map +1 -1
  1807. package/types/x-modules/facets/composables/use-filters-injection.d.ts +1 -2
  1808. package/types/x-modules/facets/composables/use-filters-injection.d.ts.map +1 -1
  1809. package/types/x-modules/facets/entities/add-facet-if-not-present.d.ts +3 -3
  1810. package/types/x-modules/facets/entities/add-facet-if-not-present.d.ts.map +1 -1
  1811. package/types/x-modules/facets/entities/editable-number-range-filter.entity.d.ts +8 -8
  1812. package/types/x-modules/facets/entities/editable-number-range-filter.entity.d.ts.map +1 -1
  1813. package/types/x-modules/facets/entities/filter-entity.factory.d.ts +4 -4
  1814. package/types/x-modules/facets/entities/filter-entity.factory.d.ts.map +1 -1
  1815. package/types/x-modules/facets/entities/hierarchical-filter.entity.d.ts +9 -8
  1816. package/types/x-modules/facets/entities/hierarchical-filter.entity.d.ts.map +1 -1
  1817. package/types/x-modules/facets/entities/index.d.ts.map +1 -1
  1818. package/types/x-modules/facets/entities/number-range-filter.entity.d.ts +9 -8
  1819. package/types/x-modules/facets/entities/number-range-filter.entity.d.ts.map +1 -1
  1820. package/types/x-modules/facets/entities/raw-filter.entity.d.ts +8 -7
  1821. package/types/x-modules/facets/entities/raw-filter.entity.d.ts.map +1 -1
  1822. package/types/x-modules/facets/entities/simple-filter.entity.d.ts +9 -8
  1823. package/types/x-modules/facets/entities/simple-filter.entity.d.ts.map +1 -1
  1824. package/types/x-modules/facets/entities/single-select.modifier.d.ts +1 -1
  1825. package/types/x-modules/facets/entities/single-select.modifier.d.ts.map +1 -1
  1826. package/types/x-modules/facets/entities/sticky.modifier.d.ts +1 -1
  1827. package/types/x-modules/facets/entities/sticky.modifier.d.ts.map +1 -1
  1828. package/types/x-modules/facets/entities/types.d.ts +7 -7
  1829. package/types/x-modules/facets/entities/types.d.ts.map +1 -1
  1830. package/types/x-modules/facets/events.types.d.ts +2 -2
  1831. package/types/x-modules/facets/events.types.d.ts.map +1 -1
  1832. package/types/x-modules/facets/index.d.ts +5 -5
  1833. package/types/x-modules/facets/index.d.ts.map +1 -1
  1834. package/types/x-modules/facets/service/facets.service.d.ts +8 -9
  1835. package/types/x-modules/facets/service/facets.service.d.ts.map +1 -1
  1836. package/types/x-modules/facets/service/index.d.ts.map +1 -1
  1837. package/types/x-modules/facets/service/types.d.ts +12 -12
  1838. package/types/x-modules/facets/service/types.d.ts.map +1 -1
  1839. package/types/x-modules/facets/store/constants.d.ts.map +1 -1
  1840. package/types/x-modules/facets/store/emitters.d.ts.map +1 -1
  1841. package/types/x-modules/facets/store/getters/facets.getter.d.ts +1 -1
  1842. package/types/x-modules/facets/store/getters/facets.getter.d.ts.map +1 -1
  1843. package/types/x-modules/facets/store/getters/index.d.ts +1 -1
  1844. package/types/x-modules/facets/store/getters/index.d.ts.map +1 -1
  1845. package/types/x-modules/facets/store/getters/selected-filters-by-facet.getter.d.ts +1 -1
  1846. package/types/x-modules/facets/store/getters/selected-filters-by-facet.getter.d.ts.map +1 -1
  1847. package/types/x-modules/facets/store/getters/selected-filters-for-request.getter.d.ts +1 -1
  1848. package/types/x-modules/facets/store/getters/selected-filters-for-request.getter.d.ts.map +1 -1
  1849. package/types/x-modules/facets/store/getters/selected-filters.getter.d.ts +1 -1
  1850. package/types/x-modules/facets/store/getters/selected-filters.getter.d.ts.map +1 -1
  1851. package/types/x-modules/facets/store/index.d.ts +1 -1
  1852. package/types/x-modules/facets/store/index.d.ts.map +1 -1
  1853. package/types/x-modules/facets/store/module.d.ts +1 -1
  1854. package/types/x-modules/facets/store/module.d.ts.map +1 -1
  1855. package/types/x-modules/facets/store/types.d.ts +15 -15
  1856. package/types/x-modules/facets/store/types.d.ts.map +1 -1
  1857. package/types/x-modules/facets/utils.d.ts +1 -1
  1858. package/types/x-modules/facets/utils.d.ts.map +1 -1
  1859. package/types/x-modules/facets/wiring.d.ts +2 -2
  1860. package/types/x-modules/facets/wiring.d.ts.map +1 -1
  1861. package/types/x-modules/facets/x-module.d.ts +2 -2
  1862. package/types/x-modules/facets/x-module.d.ts.map +1 -1
  1863. package/types/x-modules/history-queries/components/clear-history-queries.vue.d.ts +2 -2
  1864. package/types/x-modules/history-queries/components/clear-history-queries.vue.d.ts.map +1 -1
  1865. package/types/x-modules/history-queries/components/history-queries-switch.vue.d.ts.map +1 -1
  1866. package/types/x-modules/history-queries/components/history-queries.vue.d.ts.map +1 -1
  1867. package/types/x-modules/history-queries/components/history-query.vue.d.ts +3 -3
  1868. package/types/x-modules/history-queries/components/history-query.vue.d.ts.map +1 -1
  1869. package/types/x-modules/history-queries/components/index.d.ts +1 -1
  1870. package/types/x-modules/history-queries/components/index.d.ts.map +1 -1
  1871. package/types/x-modules/history-queries/components/my-history.vue.d.ts +2 -2
  1872. package/types/x-modules/history-queries/components/my-history.vue.d.ts.map +1 -1
  1873. package/types/x-modules/history-queries/components/remove-history-query.vue.d.ts +3 -3
  1874. package/types/x-modules/history-queries/components/remove-history-query.vue.d.ts.map +1 -1
  1875. package/types/x-modules/history-queries/config.types.d.ts.map +1 -1
  1876. package/types/x-modules/history-queries/events.types.d.ts +1 -1
  1877. package/types/x-modules/history-queries/events.types.d.ts.map +1 -1
  1878. package/types/x-modules/history-queries/index.d.ts.map +1 -1
  1879. package/types/x-modules/history-queries/store/actions/add-query-to-history.action.d.ts +4 -4
  1880. package/types/x-modules/history-queries/store/actions/add-query-to-history.action.d.ts.map +1 -1
  1881. package/types/x-modules/history-queries/store/actions/load-history-queries-from-browser-storage.action.d.ts +1 -1
  1882. package/types/x-modules/history-queries/store/actions/load-history-queries-from-browser-storage.action.d.ts.map +1 -1
  1883. package/types/x-modules/history-queries/store/actions/refresh-session.action.d.ts +1 -1
  1884. package/types/x-modules/history-queries/store/actions/refresh-session.action.d.ts.map +1 -1
  1885. package/types/x-modules/history-queries/store/actions/remove-query-from-history.action.d.ts +1 -1
  1886. package/types/x-modules/history-queries/store/actions/remove-query-from-history.action.d.ts.map +1 -1
  1887. package/types/x-modules/history-queries/store/actions/set-history-queries.action.d.ts +1 -1
  1888. package/types/x-modules/history-queries/store/actions/set-history-queries.action.d.ts.map +1 -1
  1889. package/types/x-modules/history-queries/store/actions/set-url-params.action.d.ts +1 -2
  1890. package/types/x-modules/history-queries/store/actions/set-url-params.action.d.ts.map +1 -1
  1891. package/types/x-modules/history-queries/store/actions/toggle-history-queries.action.d.ts +1 -1
  1892. package/types/x-modules/history-queries/store/actions/toggle-history-queries.action.d.ts.map +1 -1
  1893. package/types/x-modules/history-queries/store/actions/update-history-queries-with-search-response.action.d.ts +1 -4
  1894. package/types/x-modules/history-queries/store/actions/update-history-queries-with-search-response.action.d.ts.map +1 -1
  1895. package/types/x-modules/history-queries/store/constants.d.ts.map +1 -1
  1896. package/types/x-modules/history-queries/store/emitters.d.ts.map +1 -1
  1897. package/types/x-modules/history-queries/store/getters/history-queries-with-results.getter.d.ts +1 -4
  1898. package/types/x-modules/history-queries/store/getters/history-queries-with-results.getter.d.ts.map +1 -1
  1899. package/types/x-modules/history-queries/store/getters/history-queries.getter.d.ts +3 -3
  1900. package/types/x-modules/history-queries/store/getters/history-queries.getter.d.ts.map +1 -1
  1901. package/types/x-modules/history-queries/store/getters/normalized-query.getter.d.ts +2 -1
  1902. package/types/x-modules/history-queries/store/getters/normalized-query.getter.d.ts.map +1 -1
  1903. package/types/x-modules/history-queries/store/getters/session-history-queries.getter.d.ts +1 -1
  1904. package/types/x-modules/history-queries/store/getters/session-history-queries.getter.d.ts.map +1 -1
  1905. package/types/x-modules/history-queries/store/getters/storage-key.getter.d.ts +1 -1
  1906. package/types/x-modules/history-queries/store/getters/storage-key.getter.d.ts.map +1 -1
  1907. package/types/x-modules/history-queries/store/index.d.ts.map +1 -1
  1908. package/types/x-modules/history-queries/store/module.d.ts +1 -1
  1909. package/types/x-modules/history-queries/store/module.d.ts.map +1 -1
  1910. package/types/x-modules/history-queries/store/types.d.ts +19 -19
  1911. package/types/x-modules/history-queries/store/types.d.ts.map +1 -1
  1912. package/types/x-modules/history-queries/wiring.d.ts.map +1 -1
  1913. package/types/x-modules/history-queries/x-module.d.ts +2 -2
  1914. package/types/x-modules/history-queries/x-module.d.ts.map +1 -1
  1915. package/types/x-modules/identifier-results/components/identifier-result.vue.d.ts +2 -2
  1916. package/types/x-modules/identifier-results/components/identifier-result.vue.d.ts.map +1 -1
  1917. package/types/x-modules/identifier-results/components/identifier-results.vue.d.ts +1 -1
  1918. package/types/x-modules/identifier-results/components/identifier-results.vue.d.ts.map +1 -1
  1919. package/types/x-modules/identifier-results/components/index.d.ts.map +1 -1
  1920. package/types/x-modules/identifier-results/config.types.d.ts.map +1 -1
  1921. package/types/x-modules/identifier-results/events.types.d.ts +1 -1
  1922. package/types/x-modules/identifier-results/events.types.d.ts.map +1 -1
  1923. package/types/x-modules/identifier-results/index.d.ts.map +1 -1
  1924. package/types/x-modules/identifier-results/store/actions/fetch-and-save-identifier-results.action.d.ts +2 -2
  1925. package/types/x-modules/identifier-results/store/actions/fetch-and-save-identifier-results.action.d.ts.map +1 -1
  1926. package/types/x-modules/identifier-results/store/actions/fetch-identifier-results.action.d.ts +1 -1
  1927. package/types/x-modules/identifier-results/store/actions/fetch-identifier-results.action.d.ts.map +1 -1
  1928. package/types/x-modules/identifier-results/store/actions/index.d.ts.map +1 -1
  1929. package/types/x-modules/identifier-results/store/actions/save-origin.action.d.ts +1 -2
  1930. package/types/x-modules/identifier-results/store/actions/save-origin.action.d.ts.map +1 -1
  1931. package/types/x-modules/identifier-results/store/actions/save-query.action.d.ts +1 -2
  1932. package/types/x-modules/identifier-results/store/actions/save-query.action.d.ts.map +1 -1
  1933. package/types/x-modules/identifier-results/store/emitters.d.ts.map +1 -1
  1934. package/types/x-modules/identifier-results/store/getters/identifier-detection-regexp.getter.d.ts +1 -1
  1935. package/types/x-modules/identifier-results/store/getters/identifier-detection-regexp.getter.d.ts.map +1 -1
  1936. package/types/x-modules/identifier-results/store/getters/identifier-highlight-regexp.getter.d.ts +1 -1
  1937. package/types/x-modules/identifier-results/store/getters/identifier-highlight-regexp.getter.d.ts.map +1 -1
  1938. package/types/x-modules/identifier-results/store/getters/identifier-results-request.getter.d.ts +1 -1
  1939. package/types/x-modules/identifier-results/store/getters/identifier-results-request.getter.d.ts.map +1 -1
  1940. package/types/x-modules/identifier-results/store/index.d.ts.map +1 -1
  1941. package/types/x-modules/identifier-results/store/module.d.ts +1 -1
  1942. package/types/x-modules/identifier-results/store/module.d.ts.map +1 -1
  1943. package/types/x-modules/identifier-results/store/types.d.ts +16 -16
  1944. package/types/x-modules/identifier-results/store/types.d.ts.map +1 -1
  1945. package/types/x-modules/identifier-results/wiring.d.ts.map +1 -1
  1946. package/types/x-modules/identifier-results/x-module.d.ts +2 -2
  1947. package/types/x-modules/identifier-results/x-module.d.ts.map +1 -1
  1948. package/types/x-modules/next-queries/components/index.d.ts +2 -2
  1949. package/types/x-modules/next-queries/components/index.d.ts.map +1 -1
  1950. package/types/x-modules/next-queries/components/next-queries-list.vue.d.ts.map +1 -1
  1951. package/types/x-modules/next-queries/components/next-queries.vue.d.ts +2 -2
  1952. package/types/x-modules/next-queries/components/next-queries.vue.d.ts.map +1 -1
  1953. package/types/x-modules/next-queries/components/next-query-preview.vue.d.ts +2 -2
  1954. package/types/x-modules/next-queries/components/next-query-preview.vue.d.ts.map +1 -1
  1955. package/types/x-modules/next-queries/components/next-query.vue.d.ts +3 -3
  1956. package/types/x-modules/next-queries/components/next-query.vue.d.ts.map +1 -1
  1957. package/types/x-modules/next-queries/config.types.d.ts.map +1 -1
  1958. package/types/x-modules/next-queries/events.types.d.ts +1 -1
  1959. package/types/x-modules/next-queries/events.types.d.ts.map +1 -1
  1960. package/types/x-modules/next-queries/index.d.ts +1 -1
  1961. package/types/x-modules/next-queries/index.d.ts.map +1 -1
  1962. package/types/x-modules/next-queries/store/actions/fetch-and-save-next-queries.action.d.ts +2 -2
  1963. package/types/x-modules/next-queries/store/actions/fetch-and-save-next-queries.action.d.ts.map +1 -1
  1964. package/types/x-modules/next-queries/store/actions/fetch-and-save-next-query-preview.action.d.ts +1 -1
  1965. package/types/x-modules/next-queries/store/actions/fetch-and-save-next-query-preview.action.d.ts.map +1 -1
  1966. package/types/x-modules/next-queries/store/actions/fetch-next-queries.action.d.ts +1 -1
  1967. package/types/x-modules/next-queries/store/actions/fetch-next-queries.action.d.ts.map +1 -1
  1968. package/types/x-modules/next-queries/store/actions/fetch-next-query-preview.action.d.ts +4 -1
  1969. package/types/x-modules/next-queries/store/actions/fetch-next-query-preview.action.d.ts.map +1 -1
  1970. package/types/x-modules/next-queries/store/actions/set-query-from-last-history-query.action.d.ts +1 -1
  1971. package/types/x-modules/next-queries/store/actions/set-query-from-last-history-query.action.d.ts.map +1 -1
  1972. package/types/x-modules/next-queries/store/actions/set-url-params.action.d.ts +1 -2
  1973. package/types/x-modules/next-queries/store/actions/set-url-params.action.d.ts.map +1 -1
  1974. package/types/x-modules/next-queries/store/emitters.d.ts.map +1 -1
  1975. package/types/x-modules/next-queries/store/getters/next-queries-query.getter.d.ts +1 -3
  1976. package/types/x-modules/next-queries/store/getters/next-queries-query.getter.d.ts.map +1 -1
  1977. package/types/x-modules/next-queries/store/getters/next-queries.getter.d.ts +1 -2
  1978. package/types/x-modules/next-queries/store/getters/next-queries.getter.d.ts.map +1 -1
  1979. package/types/x-modules/next-queries/store/getters/request.getter.d.ts +1 -3
  1980. package/types/x-modules/next-queries/store/getters/request.getter.d.ts.map +1 -1
  1981. package/types/x-modules/next-queries/store/index.d.ts +2 -2
  1982. package/types/x-modules/next-queries/store/index.d.ts.map +1 -1
  1983. package/types/x-modules/next-queries/store/module.d.ts +1 -1
  1984. package/types/x-modules/next-queries/store/module.d.ts.map +1 -1
  1985. package/types/x-modules/next-queries/store/types.d.ts +24 -24
  1986. package/types/x-modules/next-queries/store/types.d.ts.map +1 -1
  1987. package/types/x-modules/next-queries/types.d.ts +2 -2
  1988. package/types/x-modules/next-queries/types.d.ts.map +1 -1
  1989. package/types/x-modules/next-queries/wiring.d.ts.map +1 -1
  1990. package/types/x-modules/next-queries/x-module.d.ts +2 -2
  1991. package/types/x-modules/next-queries/x-module.d.ts.map +1 -1
  1992. package/types/x-modules/popular-searches/components/index.d.ts.map +1 -1
  1993. package/types/x-modules/popular-searches/components/popular-search.vue.d.ts +3 -3
  1994. package/types/x-modules/popular-searches/components/popular-search.vue.d.ts.map +1 -1
  1995. package/types/x-modules/popular-searches/components/popular-searches.vue.d.ts.map +1 -1
  1996. package/types/x-modules/popular-searches/config.types.d.ts.map +1 -1
  1997. package/types/x-modules/popular-searches/events.types.d.ts +1 -1
  1998. package/types/x-modules/popular-searches/events.types.d.ts.map +1 -1
  1999. package/types/x-modules/popular-searches/index.d.ts.map +1 -1
  2000. package/types/x-modules/popular-searches/store/actions/fetch-and-save-suggestions.action.d.ts +2 -2
  2001. package/types/x-modules/popular-searches/store/actions/fetch-and-save-suggestions.action.d.ts.map +1 -1
  2002. package/types/x-modules/popular-searches/store/actions/fetch-suggestions.action.d.ts +1 -1
  2003. package/types/x-modules/popular-searches/store/actions/fetch-suggestions.action.d.ts.map +1 -1
  2004. package/types/x-modules/popular-searches/store/emitters.d.ts.map +1 -1
  2005. package/types/x-modules/popular-searches/store/getters/popular-searches.getter.d.ts +1 -2
  2006. package/types/x-modules/popular-searches/store/getters/popular-searches.getter.d.ts.map +1 -1
  2007. package/types/x-modules/popular-searches/store/getters/request.getter.d.ts +1 -3
  2008. package/types/x-modules/popular-searches/store/getters/request.getter.d.ts.map +1 -1
  2009. package/types/x-modules/popular-searches/store/index.d.ts +2 -2
  2010. package/types/x-modules/popular-searches/store/index.d.ts.map +1 -1
  2011. package/types/x-modules/popular-searches/store/module.d.ts +1 -1
  2012. package/types/x-modules/popular-searches/store/module.d.ts.map +1 -1
  2013. package/types/x-modules/popular-searches/store/types.d.ts +12 -12
  2014. package/types/x-modules/popular-searches/store/types.d.ts.map +1 -1
  2015. package/types/x-modules/popular-searches/wiring.d.ts.map +1 -1
  2016. package/types/x-modules/popular-searches/x-module.d.ts +2 -2
  2017. package/types/x-modules/popular-searches/x-module.d.ts.map +1 -1
  2018. package/types/x-modules/queries-preview/components/index.d.ts +1 -1
  2019. package/types/x-modules/queries-preview/components/index.d.ts.map +1 -1
  2020. package/types/x-modules/queries-preview/components/query-preview-button.vue.d.ts +4 -4
  2021. package/types/x-modules/queries-preview/components/query-preview-button.vue.d.ts.map +1 -1
  2022. package/types/x-modules/queries-preview/components/query-preview-list.vue.d.ts +3 -3
  2023. package/types/x-modules/queries-preview/components/query-preview-list.vue.d.ts.map +1 -1
  2024. package/types/x-modules/queries-preview/components/query-preview.vue.d.ts +4 -4
  2025. package/types/x-modules/queries-preview/components/query-preview.vue.d.ts.map +1 -1
  2026. package/types/x-modules/queries-preview/composables/index.d.ts.map +1 -1
  2027. package/types/x-modules/queries-preview/composables/use-queries-preview.composable.d.ts.map +1 -1
  2028. package/types/x-modules/queries-preview/config.types.d.ts.map +1 -1
  2029. package/types/x-modules/queries-preview/events.types.d.ts +3 -3
  2030. package/types/x-modules/queries-preview/events.types.d.ts.map +1 -1
  2031. package/types/x-modules/queries-preview/index.d.ts +1 -1
  2032. package/types/x-modules/queries-preview/index.d.ts.map +1 -1
  2033. package/types/x-modules/queries-preview/store/actions/fetch-and-save-query-preview.action.d.ts +1 -1
  2034. package/types/x-modules/queries-preview/store/actions/fetch-and-save-query-preview.action.d.ts.map +1 -1
  2035. package/types/x-modules/queries-preview/store/actions/fetch-query-preview.action.d.ts +1 -1
  2036. package/types/x-modules/queries-preview/store/actions/fetch-query-preview.action.d.ts.map +1 -1
  2037. package/types/x-modules/queries-preview/store/emitters.d.ts.map +1 -1
  2038. package/types/x-modules/queries-preview/store/getters/loaded-queries-preview.getter.d.ts +1 -2
  2039. package/types/x-modules/queries-preview/store/getters/loaded-queries-preview.getter.d.ts.map +1 -1
  2040. package/types/x-modules/queries-preview/store/index.d.ts +1 -1
  2041. package/types/x-modules/queries-preview/store/index.d.ts.map +1 -1
  2042. package/types/x-modules/queries-preview/store/module.d.ts +1 -1
  2043. package/types/x-modules/queries-preview/store/module.d.ts.map +1 -1
  2044. package/types/x-modules/queries-preview/store/types.d.ts +20 -20
  2045. package/types/x-modules/queries-preview/store/types.d.ts.map +1 -1
  2046. package/types/x-modules/queries-preview/utils/get-hash-from-query-preview.d.ts +1 -1
  2047. package/types/x-modules/queries-preview/utils/get-hash-from-query-preview.d.ts.map +1 -1
  2048. package/types/x-modules/queries-preview/wiring.d.ts.map +1 -1
  2049. package/types/x-modules/queries-preview/x-module.d.ts +2 -2
  2050. package/types/x-modules/queries-preview/x-module.d.ts.map +1 -1
  2051. package/types/x-modules/query-suggestions/components/index.d.ts.map +1 -1
  2052. package/types/x-modules/query-suggestions/components/query-suggestion.vue.d.ts +2 -2
  2053. package/types/x-modules/query-suggestions/components/query-suggestion.vue.d.ts.map +1 -1
  2054. package/types/x-modules/query-suggestions/components/query-suggestions.vue.d.ts.map +1 -1
  2055. package/types/x-modules/query-suggestions/config.types.d.ts.map +1 -1
  2056. package/types/x-modules/query-suggestions/events.types.d.ts +1 -1
  2057. package/types/x-modules/query-suggestions/events.types.d.ts.map +1 -1
  2058. package/types/x-modules/query-suggestions/index.d.ts.map +1 -1
  2059. package/types/x-modules/query-suggestions/store/actions/fetch-and-save-suggestions.action.d.ts +2 -2
  2060. package/types/x-modules/query-suggestions/store/actions/fetch-and-save-suggestions.action.d.ts.map +1 -1
  2061. package/types/x-modules/query-suggestions/store/actions/fetch-suggestions.action.d.ts +1 -1
  2062. package/types/x-modules/query-suggestions/store/actions/fetch-suggestions.action.d.ts.map +1 -1
  2063. package/types/x-modules/query-suggestions/store/actions/set-url-params.action.d.ts +1 -2
  2064. package/types/x-modules/query-suggestions/store/actions/set-url-params.action.d.ts.map +1 -1
  2065. package/types/x-modules/query-suggestions/store/emitters.d.ts.map +1 -1
  2066. package/types/x-modules/query-suggestions/store/getters/normalized-query.getter.d.ts +1 -3
  2067. package/types/x-modules/query-suggestions/store/getters/normalized-query.getter.d.ts.map +1 -1
  2068. package/types/x-modules/query-suggestions/store/getters/query-suggestions.getter.d.ts +5 -5
  2069. package/types/x-modules/query-suggestions/store/getters/query-suggestions.getter.d.ts.map +1 -1
  2070. package/types/x-modules/query-suggestions/store/getters/request.getter.d.ts +1 -3
  2071. package/types/x-modules/query-suggestions/store/getters/request.getter.d.ts.map +1 -1
  2072. package/types/x-modules/query-suggestions/store/index.d.ts +2 -2
  2073. package/types/x-modules/query-suggestions/store/index.d.ts.map +1 -1
  2074. package/types/x-modules/query-suggestions/store/module.d.ts +1 -1
  2075. package/types/x-modules/query-suggestions/store/module.d.ts.map +1 -1
  2076. package/types/x-modules/query-suggestions/store/types.d.ts +15 -15
  2077. package/types/x-modules/query-suggestions/store/types.d.ts.map +1 -1
  2078. package/types/x-modules/query-suggestions/wiring.d.ts.map +1 -1
  2079. package/types/x-modules/query-suggestions/x-module.d.ts +2 -2
  2080. package/types/x-modules/query-suggestions/x-module.d.ts.map +1 -1
  2081. package/types/x-modules/recommendations/components/index.d.ts.map +1 -1
  2082. package/types/x-modules/recommendations/components/recommendations.vue.d.ts +2 -2
  2083. package/types/x-modules/recommendations/components/recommendations.vue.d.ts.map +1 -1
  2084. package/types/x-modules/recommendations/config.types.d.ts.map +1 -1
  2085. package/types/x-modules/recommendations/events.types.d.ts +1 -1
  2086. package/types/x-modules/recommendations/events.types.d.ts.map +1 -1
  2087. package/types/x-modules/recommendations/index.d.ts.map +1 -1
  2088. package/types/x-modules/recommendations/store/actions/fetch-and-save-recommendations.action.d.ts +2 -2
  2089. package/types/x-modules/recommendations/store/actions/fetch-and-save-recommendations.action.d.ts.map +1 -1
  2090. package/types/x-modules/recommendations/store/actions/fetch-recommendations.action.d.ts +1 -1
  2091. package/types/x-modules/recommendations/store/actions/fetch-recommendations.action.d.ts.map +1 -1
  2092. package/types/x-modules/recommendations/store/constants.d.ts.map +1 -1
  2093. package/types/x-modules/recommendations/store/emitters.d.ts.map +1 -1
  2094. package/types/x-modules/recommendations/store/getters/request.getter.d.ts +1 -1
  2095. package/types/x-modules/recommendations/store/getters/request.getter.d.ts.map +1 -1
  2096. package/types/x-modules/recommendations/store/index.d.ts.map +1 -1
  2097. package/types/x-modules/recommendations/store/module.d.ts +1 -1
  2098. package/types/x-modules/recommendations/store/module.d.ts.map +1 -1
  2099. package/types/x-modules/recommendations/store/types.d.ts +12 -12
  2100. package/types/x-modules/recommendations/store/types.d.ts.map +1 -1
  2101. package/types/x-modules/recommendations/wiring.d.ts.map +1 -1
  2102. package/types/x-modules/recommendations/x-module.d.ts +2 -2
  2103. package/types/x-modules/recommendations/x-module.d.ts.map +1 -1
  2104. package/types/x-modules/related-prompts/components/index.d.ts.map +1 -1
  2105. package/types/x-modules/related-prompts/components/related-prompt.vue.d.ts +2 -2
  2106. package/types/x-modules/related-prompts/components/related-prompt.vue.d.ts.map +1 -1
  2107. package/types/x-modules/related-prompts/components/related-prompts-list.vue.d.ts.map +1 -1
  2108. package/types/x-modules/related-prompts/components/related-prompts-tag-list.vue.d.ts +1 -1
  2109. package/types/x-modules/related-prompts/components/related-prompts-tag-list.vue.d.ts.map +1 -1
  2110. package/types/x-modules/related-prompts/events.types.d.ts +1 -1
  2111. package/types/x-modules/related-prompts/events.types.d.ts.map +1 -1
  2112. package/types/x-modules/related-prompts/index.d.ts.map +1 -1
  2113. package/types/x-modules/related-prompts/store/actions/fetch-and-save-related-prompts.action.d.ts +2 -2
  2114. package/types/x-modules/related-prompts/store/actions/fetch-and-save-related-prompts.action.d.ts.map +1 -1
  2115. package/types/x-modules/related-prompts/store/actions/fetch-related-prompts.action.d.ts +1 -1
  2116. package/types/x-modules/related-prompts/store/actions/fetch-related-prompts.action.d.ts.map +1 -1
  2117. package/types/x-modules/related-prompts/store/actions/set-url-params.action.d.ts +1 -2
  2118. package/types/x-modules/related-prompts/store/actions/set-url-params.action.d.ts.map +1 -1
  2119. package/types/x-modules/related-prompts/store/emitters.d.ts.map +1 -1
  2120. package/types/x-modules/related-prompts/store/getters/index.d.ts +1 -1
  2121. package/types/x-modules/related-prompts/store/getters/index.d.ts.map +1 -1
  2122. package/types/x-modules/related-prompts/store/getters/related-prompts-query.getter.d.ts +1 -1
  2123. package/types/x-modules/related-prompts/store/getters/related-prompts-query.getter.d.ts.map +1 -1
  2124. package/types/x-modules/related-prompts/store/getters/request.getter.d.ts +1 -1
  2125. package/types/x-modules/related-prompts/store/getters/request.getter.d.ts.map +1 -1
  2126. package/types/x-modules/related-prompts/store/index.d.ts.map +1 -1
  2127. package/types/x-modules/related-prompts/store/module.d.ts +1 -1
  2128. package/types/x-modules/related-prompts/store/module.d.ts.map +1 -1
  2129. package/types/x-modules/related-prompts/store/types.d.ts +17 -17
  2130. package/types/x-modules/related-prompts/store/types.d.ts.map +1 -1
  2131. package/types/x-modules/related-prompts/types.d.ts +2 -2
  2132. package/types/x-modules/related-prompts/types.d.ts.map +1 -1
  2133. package/types/x-modules/related-prompts/wiring.d.ts.map +1 -1
  2134. package/types/x-modules/related-prompts/x-module.d.ts +2 -2
  2135. package/types/x-modules/related-prompts/x-module.d.ts.map +1 -1
  2136. package/types/x-modules/related-tags/components/index.d.ts.map +1 -1
  2137. package/types/x-modules/related-tags/components/related-tag.vue.d.ts +3 -3
  2138. package/types/x-modules/related-tags/components/related-tag.vue.d.ts.map +1 -1
  2139. package/types/x-modules/related-tags/components/related-tags.vue.d.ts +3 -3
  2140. package/types/x-modules/related-tags/components/related-tags.vue.d.ts.map +1 -1
  2141. package/types/x-modules/related-tags/config.types.d.ts.map +1 -1
  2142. package/types/x-modules/related-tags/events.types.d.ts +1 -1
  2143. package/types/x-modules/related-tags/events.types.d.ts.map +1 -1
  2144. package/types/x-modules/related-tags/index.d.ts.map +1 -1
  2145. package/types/x-modules/related-tags/store/actions/fetch-and-save-related-tags.action.d.ts +2 -2
  2146. package/types/x-modules/related-tags/store/actions/fetch-and-save-related-tags.action.d.ts.map +1 -1
  2147. package/types/x-modules/related-tags/store/actions/fetch-related-tags.action.d.ts +1 -1
  2148. package/types/x-modules/related-tags/store/actions/fetch-related-tags.action.d.ts.map +1 -1
  2149. package/types/x-modules/related-tags/store/actions/set-url-params.action.d.ts +4 -1
  2150. package/types/x-modules/related-tags/store/actions/set-url-params.action.d.ts.map +1 -1
  2151. package/types/x-modules/related-tags/store/actions/toggle-related-tag.action.d.ts +1 -2
  2152. package/types/x-modules/related-tags/store/actions/toggle-related-tag.action.d.ts.map +1 -1
  2153. package/types/x-modules/related-tags/store/emitters.d.ts.map +1 -1
  2154. package/types/x-modules/related-tags/store/getters/query.getter.d.ts +1 -3
  2155. package/types/x-modules/related-tags/store/getters/query.getter.d.ts.map +1 -1
  2156. package/types/x-modules/related-tags/store/getters/related-tags.getter.d.ts +1 -2
  2157. package/types/x-modules/related-tags/store/getters/related-tags.getter.d.ts.map +1 -1
  2158. package/types/x-modules/related-tags/store/getters/request.getter.d.ts +1 -3
  2159. package/types/x-modules/related-tags/store/getters/request.getter.d.ts.map +1 -1
  2160. package/types/x-modules/related-tags/store/index.d.ts +1 -1
  2161. package/types/x-modules/related-tags/store/index.d.ts.map +1 -1
  2162. package/types/x-modules/related-tags/store/module.d.ts +1 -1
  2163. package/types/x-modules/related-tags/store/module.d.ts.map +1 -1
  2164. package/types/x-modules/related-tags/store/types.d.ts +16 -16
  2165. package/types/x-modules/related-tags/store/types.d.ts.map +1 -1
  2166. package/types/x-modules/related-tags/wiring.d.ts.map +1 -1
  2167. package/types/x-modules/related-tags/x-module.d.ts +2 -2
  2168. package/types/x-modules/related-tags/x-module.d.ts.map +1 -1
  2169. package/types/x-modules/scroll/components/index.d.ts +2 -2
  2170. package/types/x-modules/scroll/components/index.d.ts.map +1 -1
  2171. package/types/x-modules/scroll/components/main-scroll-item.vue.d.ts +2 -2
  2172. package/types/x-modules/scroll/components/main-scroll-item.vue.d.ts.map +1 -1
  2173. package/types/x-modules/scroll/components/main-scroll.vue.d.ts.map +1 -1
  2174. package/types/x-modules/scroll/components/scroll-to-top.vue.d.ts +1 -1
  2175. package/types/x-modules/scroll/components/scroll-to-top.vue.d.ts.map +1 -1
  2176. package/types/x-modules/scroll/components/scroll.const.d.ts +2 -2
  2177. package/types/x-modules/scroll/components/scroll.const.d.ts.map +1 -1
  2178. package/types/x-modules/scroll/components/scroll.types.d.ts +2 -2
  2179. package/types/x-modules/scroll/components/scroll.types.d.ts.map +1 -1
  2180. package/types/x-modules/scroll/components/scroll.vue.d.ts +2 -2
  2181. package/types/x-modules/scroll/components/scroll.vue.d.ts.map +1 -1
  2182. package/types/x-modules/scroll/events.types.d.ts +9 -9
  2183. package/types/x-modules/scroll/events.types.d.ts.map +1 -1
  2184. package/types/x-modules/scroll/index.d.ts +1 -1
  2185. package/types/x-modules/scroll/index.d.ts.map +1 -1
  2186. package/types/x-modules/scroll/store/emitters.d.ts.map +1 -1
  2187. package/types/x-modules/scroll/store/index.d.ts.map +1 -1
  2188. package/types/x-modules/scroll/store/module.d.ts +1 -1
  2189. package/types/x-modules/scroll/store/module.d.ts.map +1 -1
  2190. package/types/x-modules/scroll/store/types.d.ts +6 -6
  2191. package/types/x-modules/scroll/store/types.d.ts.map +1 -1
  2192. package/types/x-modules/scroll/wiring.d.ts.map +1 -1
  2193. package/types/x-modules/scroll/x-module.d.ts +2 -2
  2194. package/types/x-modules/scroll/x-module.d.ts.map +1 -1
  2195. package/types/x-modules/search/components/banner.vue.d.ts +2 -2
  2196. package/types/x-modules/search/components/banner.vue.d.ts.map +1 -1
  2197. package/types/x-modules/search/components/banners-list.vue.d.ts.map +1 -1
  2198. package/types/x-modules/search/components/fallback-disclaimer.vue.d.ts.map +1 -1
  2199. package/types/x-modules/search/components/index.d.ts +1 -1
  2200. package/types/x-modules/search/components/index.d.ts.map +1 -1
  2201. package/types/x-modules/search/components/partial-query-button.vue.d.ts.map +1 -1
  2202. package/types/x-modules/search/components/partial-results-list.vue.d.ts +2 -2
  2203. package/types/x-modules/search/components/partial-results-list.vue.d.ts.map +1 -1
  2204. package/types/x-modules/search/components/promoted.vue.d.ts +2 -2
  2205. package/types/x-modules/search/components/promoted.vue.d.ts.map +1 -1
  2206. package/types/x-modules/search/components/promoteds-list.vue.d.ts.map +1 -1
  2207. package/types/x-modules/search/components/redirection.vue.d.ts +2 -2
  2208. package/types/x-modules/search/components/redirection.vue.d.ts.map +1 -1
  2209. package/types/x-modules/search/components/results-list.vue.d.ts.map +1 -1
  2210. package/types/x-modules/search/components/sort-dropdown.vue.d.ts +7 -6
  2211. package/types/x-modules/search/components/sort-dropdown.vue.d.ts.map +1 -1
  2212. package/types/x-modules/search/components/sort-list.vue.d.ts +9 -8
  2213. package/types/x-modules/search/components/sort-list.vue.d.ts.map +1 -1
  2214. package/types/x-modules/search/components/sort-picker-list.vue.d.ts +9 -8
  2215. package/types/x-modules/search/components/sort-picker-list.vue.d.ts.map +1 -1
  2216. package/types/x-modules/search/components/spellcheck-button.vue.d.ts.map +1 -1
  2217. package/types/x-modules/search/components/spellcheck.vue.d.ts.map +1 -1
  2218. package/types/x-modules/search/config.types.d.ts +1 -1
  2219. package/types/x-modules/search/config.types.d.ts.map +1 -1
  2220. package/types/x-modules/search/events.types.d.ts +2 -2
  2221. package/types/x-modules/search/events.types.d.ts.map +1 -1
  2222. package/types/x-modules/search/index.d.ts.map +1 -1
  2223. package/types/x-modules/search/store/actions/fetch-and-save-search-response.action.d.ts +2 -2
  2224. package/types/x-modules/search/store/actions/fetch-and-save-search-response.action.d.ts.map +1 -1
  2225. package/types/x-modules/search/store/actions/fetch-search-response.action.d.ts +1 -1
  2226. package/types/x-modules/search/store/actions/fetch-search-response.action.d.ts.map +1 -1
  2227. package/types/x-modules/search/store/actions/increase-page-apending-results.action.d.ts +1 -1
  2228. package/types/x-modules/search/store/actions/increase-page-apending-results.action.d.ts.map +1 -1
  2229. package/types/x-modules/search/store/actions/index.d.ts.map +1 -1
  2230. package/types/x-modules/search/store/actions/reset-request-on-refinement.action.d.ts +1 -2
  2231. package/types/x-modules/search/store/actions/reset-request-on-refinement.action.d.ts.map +1 -1
  2232. package/types/x-modules/search/store/actions/save-origin.action.d.ts +1 -2
  2233. package/types/x-modules/search/store/actions/save-origin.action.d.ts.map +1 -1
  2234. package/types/x-modules/search/store/actions/save-search-response.action.d.ts +1 -2
  2235. package/types/x-modules/search/store/actions/save-search-response.action.d.ts.map +1 -1
  2236. package/types/x-modules/search/store/actions/set-url-params.action.d.ts +1 -3
  2237. package/types/x-modules/search/store/actions/set-url-params.action.d.ts.map +1 -1
  2238. package/types/x-modules/search/store/emitters.d.ts.map +1 -1
  2239. package/types/x-modules/search/store/getters/index.d.ts +1 -1
  2240. package/types/x-modules/search/store/getters/index.d.ts.map +1 -1
  2241. package/types/x-modules/search/store/getters/query.getter.d.ts +1 -1
  2242. package/types/x-modules/search/store/getters/query.getter.d.ts.map +1 -1
  2243. package/types/x-modules/search/store/getters/request.getter.d.ts +1 -2
  2244. package/types/x-modules/search/store/getters/request.getter.d.ts.map +1 -1
  2245. package/types/x-modules/search/store/index.d.ts.map +1 -1
  2246. package/types/x-modules/search/store/module.d.ts +2 -2
  2247. package/types/x-modules/search/store/module.d.ts.map +1 -1
  2248. package/types/x-modules/search/store/types.d.ts +41 -41
  2249. package/types/x-modules/search/store/types.d.ts.map +1 -1
  2250. package/types/x-modules/search/types.d.ts +2 -2
  2251. package/types/x-modules/search/types.d.ts.map +1 -1
  2252. package/types/x-modules/search/wiring.d.ts +2 -2
  2253. package/types/x-modules/search/wiring.d.ts.map +1 -1
  2254. package/types/x-modules/search/x-module.d.ts +2 -2
  2255. package/types/x-modules/search/x-module.d.ts.map +1 -1
  2256. package/types/x-modules/search-box/components/clear-search-input.vue.d.ts +1 -1
  2257. package/types/x-modules/search-box/components/clear-search-input.vue.d.ts.map +1 -1
  2258. package/types/x-modules/search-box/components/index.d.ts +1 -1
  2259. package/types/x-modules/search-box/components/index.d.ts.map +1 -1
  2260. package/types/x-modules/search-box/components/search-button.vue.d.ts +2 -2
  2261. package/types/x-modules/search-box/components/search-button.vue.d.ts.map +1 -1
  2262. package/types/x-modules/search-box/components/search-input-placeholder.vue.d.ts +1 -1
  2263. package/types/x-modules/search-box/components/search-input-placeholder.vue.d.ts.map +1 -1
  2264. package/types/x-modules/search-box/components/search-input.vue.d.ts.map +1 -1
  2265. package/types/x-modules/search-box/events.types.d.ts +13 -13
  2266. package/types/x-modules/search-box/events.types.d.ts.map +1 -1
  2267. package/types/x-modules/search-box/index.d.ts.map +1 -1
  2268. package/types/x-modules/search-box/store/actions/set-input-status.action.d.ts +2 -2
  2269. package/types/x-modules/search-box/store/actions/set-input-status.action.d.ts.map +1 -1
  2270. package/types/x-modules/search-box/store/actions/set-url-params.action.d.ts +1 -2
  2271. package/types/x-modules/search-box/store/actions/set-url-params.action.d.ts.map +1 -1
  2272. package/types/x-modules/search-box/store/emitters.d.ts.map +1 -1
  2273. package/types/x-modules/search-box/store/index.d.ts.map +1 -1
  2274. package/types/x-modules/search-box/store/module.d.ts +1 -1
  2275. package/types/x-modules/search-box/store/module.d.ts.map +1 -1
  2276. package/types/x-modules/search-box/store/types.d.ts +7 -7
  2277. package/types/x-modules/search-box/store/types.d.ts.map +1 -1
  2278. package/types/x-modules/search-box/wiring.d.ts +1 -1
  2279. package/types/x-modules/search-box/wiring.d.ts.map +1 -1
  2280. package/types/x-modules/search-box/x-module.d.ts +2 -2
  2281. package/types/x-modules/search-box/x-module.d.ts.map +1 -1
  2282. package/types/x-modules/semantic-queries/components/index.d.ts.map +1 -1
  2283. package/types/x-modules/semantic-queries/components/semantic-queries.vue.d.ts +2 -2
  2284. package/types/x-modules/semantic-queries/components/semantic-queries.vue.d.ts.map +1 -1
  2285. package/types/x-modules/semantic-queries/components/semantic-query.vue.d.ts +2 -2
  2286. package/types/x-modules/semantic-queries/components/semantic-query.vue.d.ts.map +1 -1
  2287. package/types/x-modules/semantic-queries/config.types.d.ts.map +1 -1
  2288. package/types/x-modules/semantic-queries/events.types.d.ts +1 -1
  2289. package/types/x-modules/semantic-queries/events.types.d.ts.map +1 -1
  2290. package/types/x-modules/semantic-queries/index.d.ts +1 -1
  2291. package/types/x-modules/semantic-queries/index.d.ts.map +1 -1
  2292. package/types/x-modules/semantic-queries/store/actions/fetch-and-save-semantic-query.action.d.ts +1 -1
  2293. package/types/x-modules/semantic-queries/store/actions/fetch-and-save-semantic-query.action.d.ts.map +1 -1
  2294. package/types/x-modules/semantic-queries/store/actions/fetch-semantic-query.action.d.ts +1 -1
  2295. package/types/x-modules/semantic-queries/store/actions/fetch-semantic-query.action.d.ts.map +1 -1
  2296. package/types/x-modules/semantic-queries/store/actions/index.d.ts.map +1 -1
  2297. package/types/x-modules/semantic-queries/store/emitters.d.ts.map +1 -1
  2298. package/types/x-modules/semantic-queries/store/getters/index.d.ts +1 -1
  2299. package/types/x-modules/semantic-queries/store/getters/index.d.ts.map +1 -1
  2300. package/types/x-modules/semantic-queries/store/getters/normalized-query.getter.d.ts +1 -1
  2301. package/types/x-modules/semantic-queries/store/getters/normalized-query.getter.d.ts.map +1 -1
  2302. package/types/x-modules/semantic-queries/store/getters/request.getter.d.ts +1 -1
  2303. package/types/x-modules/semantic-queries/store/getters/request.getter.d.ts.map +1 -1
  2304. package/types/x-modules/semantic-queries/store/getters/semanti-queries-query.getter.d.ts +1 -1
  2305. package/types/x-modules/semantic-queries/store/getters/semanti-queries-query.getter.d.ts.map +1 -1
  2306. package/types/x-modules/semantic-queries/store/index.d.ts.map +1 -1
  2307. package/types/x-modules/semantic-queries/store/module.d.ts +1 -1
  2308. package/types/x-modules/semantic-queries/store/module.d.ts.map +1 -1
  2309. package/types/x-modules/semantic-queries/store/types.d.ts +13 -13
  2310. package/types/x-modules/semantic-queries/store/types.d.ts.map +1 -1
  2311. package/types/x-modules/semantic-queries/wiring.d.ts.map +1 -1
  2312. package/types/x-modules/semantic-queries/x-module.d.ts +2 -2
  2313. package/types/x-modules/semantic-queries/x-module.d.ts.map +1 -1
  2314. package/types/x-modules/tagging/components/index.d.ts.map +1 -1
  2315. package/types/x-modules/tagging/components/tagging.vue.d.ts.map +1 -1
  2316. package/types/x-modules/tagging/config.types.d.ts.map +1 -1
  2317. package/types/x-modules/tagging/events.types.d.ts +2 -2
  2318. package/types/x-modules/tagging/events.types.d.ts.map +1 -1
  2319. package/types/x-modules/tagging/index.d.ts.map +1 -1
  2320. package/types/x-modules/tagging/service/external-tagging.service.d.ts +5 -5
  2321. package/types/x-modules/tagging/service/external-tagging.service.d.ts.map +1 -1
  2322. package/types/x-modules/tagging/service/index.d.ts.map +1 -1
  2323. package/types/x-modules/tagging/service/types.d.ts +5 -5
  2324. package/types/x-modules/tagging/service/types.d.ts.map +1 -1
  2325. package/types/x-modules/tagging/store/actions/index.d.ts.map +1 -1
  2326. package/types/x-modules/tagging/store/actions/track.action.d.ts +1 -2
  2327. package/types/x-modules/tagging/store/actions/track.action.d.ts.map +1 -1
  2328. package/types/x-modules/tagging/store/emitters.d.ts.map +1 -1
  2329. package/types/x-modules/tagging/store/index.d.ts.map +1 -1
  2330. package/types/x-modules/tagging/store/module.d.ts +1 -1
  2331. package/types/x-modules/tagging/store/module.d.ts.map +1 -1
  2332. package/types/x-modules/tagging/store/types.d.ts +9 -9
  2333. package/types/x-modules/tagging/store/types.d.ts.map +1 -1
  2334. package/types/x-modules/tagging/wiring.d.ts +2 -2
  2335. package/types/x-modules/tagging/wiring.d.ts.map +1 -1
  2336. package/types/x-modules/tagging/x-module.d.ts +2 -2
  2337. package/types/x-modules/tagging/x-module.d.ts.map +1 -1
  2338. package/types/x-modules/url/components/index.d.ts.map +1 -1
  2339. package/types/x-modules/url/components/url-handler.vue.d.ts.map +1 -1
  2340. package/types/x-modules/url/events.types.d.ts +6 -7
  2341. package/types/x-modules/url/events.types.d.ts.map +1 -1
  2342. package/types/x-modules/url/index.d.ts.map +1 -1
  2343. package/types/x-modules/url/store/emitters.d.ts +2 -2
  2344. package/types/x-modules/url/store/emitters.d.ts.map +1 -1
  2345. package/types/x-modules/url/store/getters/url-params.getter.d.ts +1 -2
  2346. package/types/x-modules/url/store/getters/url-params.getter.d.ts.map +1 -1
  2347. package/types/x-modules/url/store/index.d.ts.map +1 -1
  2348. package/types/x-modules/url/store/initial-state.d.ts +1 -1
  2349. package/types/x-modules/url/store/initial-state.d.ts.map +1 -1
  2350. package/types/x-modules/url/store/module.d.ts +1 -1
  2351. package/types/x-modules/url/store/module.d.ts.map +1 -1
  2352. package/types/x-modules/url/store/mutations/set-params.mutation.d.ts +1 -1
  2353. package/types/x-modules/url/store/mutations/set-params.mutation.d.ts.map +1 -1
  2354. package/types/x-modules/url/store/types.d.ts +13 -13
  2355. package/types/x-modules/url/store/types.d.ts.map +1 -1
  2356. package/types/x-modules/url/wiring.d.ts.map +1 -1
  2357. package/types/x-modules/url/x-module.d.ts +2 -2
  2358. package/types/x-modules/url/x-module.d.ts.map +1 -1
  2359. package/types/x-modules/x-modules.types.d.ts +23 -23
  2360. package/types/x-modules/x-modules.types.d.ts.map +1 -1
  2361. package/docs/API-reference/api/x-components.xactioncontext.commit_1.md +0 -23
  2362. package/docs/API-reference/api/x-components.xactioncontext.dispatch_1.md +0 -23
  2363. package/docs/API-reference/api/x-components.xcomponentbusapi.emit_1.md +0 -25
@@ -1,10 +1,10 @@
1
1
  import { defineComponent, inject, computed, provide, h } from 'vue';
2
+ import { QUERY_KEY, HAS_MORE_ITEMS_KEY, LIST_ITEMS_KEY } from '../../../components/decorators/injection.consts.js';
3
+ import ItemsList from '../../../components/items-list.vue.js';
4
+ import { useState } from '../../../composables/use-state.js';
2
5
  import { AnimationProp } from '../../../types/animation-prop.js';
3
6
  import { groupItemsBy } from '../../../utils/array.js';
4
- import ItemsList from '../../../components/items-list.vue.js';
5
- import { QUERY_KEY, HAS_MORE_ITEMS_KEY, LIST_ITEMS_KEY } from '../../../components/decorators/injection.consts.js';
6
7
  import { relatedPromptsXModule } from '../x-module.js';
7
- import { useState } from '../../../composables/use-state.js';
8
8
 
9
9
  /**
10
10
  * Component that inserts groups of related prompts in different positions of the injected search
@@ -21,35 +21,35 @@ var _sfc_main = defineComponent({
21
21
  */
22
22
  animation: {
23
23
  type: AnimationProp,
24
- default: 'ul'
24
+ default: 'ul',
25
25
  },
26
26
  /**
27
27
  * The first index to insert a group of related prompts at.
28
28
  */
29
29
  offset: {
30
30
  type: Number,
31
- default: 24
31
+ default: 24,
32
32
  },
33
33
  /**
34
34
  * The items cycle size to keep inserting related prompts groups at.
35
35
  */
36
36
  frequency: {
37
37
  type: Number,
38
- default: 24
38
+ default: 24,
39
39
  },
40
40
  /**
41
41
  * The maximum amount of related prompts to add in a single group.
42
42
  */
43
43
  maxRelatedPromptsPerGroup: {
44
44
  type: Number,
45
- default: 4
45
+ default: 4,
46
46
  },
47
47
  /**
48
48
  * The maximum number of groups to insert into the injected list items list.
49
49
  */
50
50
  maxGroups: {
51
51
  type: Number,
52
- default: undefined
52
+ default: undefined,
53
53
  },
54
54
  /**
55
55
  * Determines if a group is added to the injected items list in case the number
@@ -57,8 +57,8 @@ var _sfc_main = defineComponent({
57
57
  */
58
58
  showOnlyAfterOffset: {
59
59
  type: Boolean,
60
- default: false
61
- }
60
+ default: false,
61
+ },
62
62
  },
63
63
  setup(props, { slots }) {
64
64
  const { query, status } = useState('relatedPrompts', ['query', 'status']);
@@ -66,7 +66,7 @@ var _sfc_main = defineComponent({
66
66
  * The state related prompts.
67
67
  */
68
68
  const relatedPrompts = useState('relatedPrompts', [
69
- 'relatedPrompts'
69
+ 'relatedPrompts',
70
70
  ]).relatedPrompts;
71
71
  /**
72
72
  * Injected query, updated when the related request(s) have succeeded.
@@ -86,7 +86,7 @@ var _sfc_main = defineComponent({
86
86
  .map((relatedPrompts, index) => ({
87
87
  modelName: 'RelatedPromptsGroup',
88
88
  id: `related-prompts-group-${index}`,
89
- relatedPrompts
89
+ relatedPrompts,
90
90
  })));
91
91
  /**
92
92
  * It injects {@link ListItem} provided by an ancestor as injectedListItems.
@@ -147,7 +147,7 @@ var _sfc_main = defineComponent({
147
147
  // https://vue-land.github.io/faq/forwarding-slots#passing-all-slots
148
148
  return slots.default?.(innerProps)[0] ?? h(ItemsList, innerProps, slots);
149
149
  };
150
- }
150
+ },
151
151
  });
152
152
 
153
153
  export { _sfc_main as default };
@@ -1 +1 @@
1
- {"version":3,"file":"related-prompts-list.vue.js","sources":["../../../../../src/x-modules/related-prompts/components/related-prompts-list.vue"],"sourcesContent":["<script lang=\"ts\">\n import { computed, ComputedRef, defineComponent, h, inject, provide, Ref } from 'vue';\n import { RelatedPrompt } from '@empathyco/x-types';\n import { AnimationProp } from '../../../types/animation-prop';\n import { groupItemsBy } from '../../../utils/array';\n import ItemsList from '../../../components/items-list.vue';\n import { ListItem } from '../../../utils/types';\n import {\n HAS_MORE_ITEMS_KEY,\n LIST_ITEMS_KEY,\n QUERY_KEY\n } from '../../../components/decorators/injection.consts';\n import { relatedPromptsXModule } from '../x-module';\n import { useState } from '../../../composables/use-state';\n import { RelatedPromptsGroup } from '../types';\n\n /**\n * Component that inserts groups of related prompts in different positions of the injected search\n * items list, based on the provided configuration.\n *\n * @public\n */\n export default defineComponent({\n name: 'RelatedPromptsList',\n xModule: relatedPromptsXModule.name,\n props: {\n /**\n * Animation component that will be used to animate the related prompts groups.\n */\n animation: {\n type: AnimationProp,\n default: 'ul'\n },\n /**\n * The first index to insert a group of related prompts at.\n */\n offset: {\n type: Number,\n default: 24\n },\n /**\n * The items cycle size to keep inserting related prompts groups at.\n */\n frequency: {\n type: Number,\n default: 24\n },\n /**\n * The maximum amount of related prompts to add in a single group.\n */\n maxRelatedPromptsPerGroup: {\n type: Number,\n default: 4\n },\n /**\n * The maximum number of groups to insert into the injected list items list.\n */\n maxGroups: {\n type: Number,\n default: undefined\n },\n /**\n * Determines if a group is added to the injected items list in case the number\n * of items is smaller than the offset.\n */\n showOnlyAfterOffset: {\n type: Boolean,\n default: false\n }\n },\n setup(props, { slots }) {\n const { query, status } = useState('relatedPrompts', ['query', 'status']);\n\n /**\n * The state related prompts.\n */\n const relatedPrompts: ComputedRef<RelatedPrompt[]> = useState('relatedPrompts', [\n 'relatedPrompts'\n ]).relatedPrompts;\n\n /**\n * Injected query, updated when the related request(s) have succeeded.\n */\n const injectedQuery = inject<Ref<string | undefined>>(QUERY_KEY as string);\n\n /**\n * Indicates if there are more available results than the injected.\n */\n const hasMoreItems = inject<Ref<boolean | undefined>>(HAS_MORE_ITEMS_KEY as string);\n\n /**\n * The grouped related prompts based on the given config.\n *\n * @returns A list of related prompts groups.\n */\n const relatedPromptsGroups = computed<RelatedPromptsGroup[]>(() =>\n Object.values(\n groupItemsBy(relatedPrompts.value, (_, index) =>\n Math.floor(index / props.maxRelatedPromptsPerGroup)\n )\n )\n .slice(0, props.maxGroups)\n .map((relatedPrompts, index) => ({\n modelName: 'RelatedPromptsGroup' as const,\n id: `related-prompts-group-${index}`,\n relatedPrompts\n }))\n );\n\n /**\n * It injects {@link ListItem} provided by an ancestor as injectedListItems.\n */\n const injectedListItems = inject<Ref<ListItem[]>>(LIST_ITEMS_KEY as string);\n\n /**\n * Checks if the related prompts are outdated taking into account the injected query.\n *\n * @returns True if the related prompts are outdated, false if not.\n */\n const relatedPromptsAreOutdated = computed(\n () =>\n !!injectedQuery?.value &&\n (query.value !== injectedQuery.value || status.value !== 'success')\n );\n\n /**\n * Checks if the number of items is smaller than the offset so a group\n * should be added to the injected items list.\n *\n * @returns True if a group should be added, false if not.\n */\n const hasNotEnoughListItems = computed(\n () =>\n !props.showOnlyAfterOffset &&\n !hasMoreItems?.value &&\n injectedListItems !== undefined &&\n injectedListItems.value.length > 0 &&\n props.offset > injectedListItems.value.length\n );\n\n /**\n * New list of {@link ListItem}s to render.\n *\n * @returns The new list of {@link ListItem}s with the related prompts groups inserted.\n */\n const items = computed((): ListItem[] => {\n if (!injectedListItems?.value) {\n return relatedPromptsGroups.value;\n }\n if (relatedPromptsAreOutdated.value) {\n return injectedListItems.value;\n }\n if (hasNotEnoughListItems.value) {\n return injectedListItems.value.concat(relatedPromptsGroups.value[0] ?? []);\n }\n return relatedPromptsGroups?.value.reduce(\n (items, relatedPromptsGroup, index) => {\n const targetIndex = props.offset + props.frequency * index;\n if (targetIndex <= items.length) {\n items.splice(targetIndex, 0, relatedPromptsGroup);\n }\n return items;\n },\n [...injectedListItems.value]\n );\n });\n\n /**\n * The computed list items of the entity that uses the mixin.\n *\n * @remarks It should be overridden in the component that uses the mixin and\n * it's intended to be filled with items from the state. Vue doesn't allow\n * mixins as abstract classes.\n * @returns An empty array as fallback in case it is not overridden.\n */\n provide(LIST_ITEMS_KEY as string, items);\n\n return () => {\n const innerProps = { items: items.value, animation: props.animation };\n // https://vue-land.github.io/faq/forwarding-slots#passing-all-slots\n return slots.default?.(innerProps)[0] ?? h(ItemsList, innerProps, slots);\n };\n }\n });\n</script>\n\n<docs lang=\"mdx\">\n## Events\n\nThis component emits no events.\n\n## See it in action\n\n <!-- prettier-ignore-start -->\n\n:::warning Backend microservice required To use this component, the <b>QuerySignals</b> microservice\nmust be implemented. :::\n\n <!-- prettier-ignore-end -->\n\nUsually, this component is going to be used together with the `ResultsList` one. Related prompts\ngroups will be inserted between the results, guiding users to discover new searches directly from\nthe results list.\n\n```vue live\n<template>\n <div>\n <SearchInput />\n <ResultsList>\n <RelatedPromptsList />\n </ResultsList>\n </div>\n</template>\n\n<script>\n import { RelatedPromptsList } from '@empathyco/x-components/related-prompts';\n import { ResultsList } from '@empathyco/x-components/search';\n import { SearchInput } from '@empathyco/x-components/search-box';\n\n export default {\n name: 'RelatedPromptsListDemo',\n components: {\n RelatedPromptsList,\n ResultsList,\n SearchInput\n }\n };\n</script>\n```\n\n### Play with the index that related prompts groups are inserted at\n\nThe component allows to customise where are the related prompts groups inserted. In the following\nexample, the first group of related prompts will be inserted at the index `48` (`offset`), and then\na second group will be inserted at index `120` because of the `frequency` prop configured to `72`.\nFinally, a third group will be inserted at index `192`. Because `maxGroups` is configured to `3`, no\nmore groups will be inserted. Each one of this groups will have up to `6` related prompts\n(`maxRelatedPromptsPerGroup`).\n\n```vue live\n<template>\n <div>\n <SearchInput />\n <ResultsList>\n <RelatedPromptsList\n :offset=\"48\"\n :frequency=\"72\"\n :maxRelatedPromptsPerGroup=\"6\"\n :maxGroups=\"3\"\n />\n </ResultsList>\n </div>\n</template>\n\n<script>\n import { RelatedPromptsList } from '@empathyco/x-components/related-prompts';\n import { ResultsList } from '@empathyco/x-components/search';\n import { SearchInput } from '@empathyco/x-components/search-box';\n\n export default {\n name: 'RelatedPromptsListDemo',\n components: {\n RelatedPromptsList,\n ResultsList,\n SearchInput\n }\n };\n</script>\n```\n\n### Showing/hiding first related prompts group when no more items\n\nBy default, the first related prompts group will be inserted when the total number of results is\nsmaller than the offset, but this behavior can be deactivated by setting the `showOnlyAfterOffset`\nto `true`.\n\n```vue live\n<template>\n <div>\n <SearchInput />\n <ResultsList>\n <RelatedPromptsList\n :offset=\"48\"\n :frequency=\"72\"\n :maxRelatedPromptsPerGroup=\"1\"\n :showOnlyAfterOffset=\"true\"\n />\n </ResultsList>\n </div>\n</template>\n\n<script>\n import { RelatedPromptsList } from '@empathyco/x-components/related-prompts';\n import { ResultsList } from '@empathyco/x-components/search';\n import { SearchInput } from '@empathyco/x-components/search-box';\n\n export default {\n name: 'RelatedPromptsListDemo',\n components: {\n RelatedPromptsList,\n ResultsList,\n SearchInput\n }\n };\n</script>\n```\n\n### Customise the layout of the component\n\nThis component will render by default the `id` of each search item, both the injected, and for the\ngroups of related prompts generated, but the common case is to integrate it with another layout\ncomponent, for example the `BaseGrid`. To do so, you can use the `default` slot\n\n```vue\n<template>\n <div>\n <SearchInput />\n <ResultsList>\n <RelatedPromptsList\n :offset=\"48\"\n :frequency=\"72\"\n :maxRelatedPromptsPerGroup=\"6\"\n :maxGroups=\"3\"\n #default=\"{ items }\"\n >\n <BaseGrid :items=\"items\" :animation=\"animation\">\n <template #related-prompts-group=\"{ item }\">\n <span v-for=\"const prompt of items.relatedPrompts\">\n RelatedPromptsGroup:\n <pre>{{ prompt }}</pre>\n </span>\n </template>\n <template #result=\"{ item }\">\n <span>Result: {{ item.name }}</span>\n </template>\n <template #default=\"{ item }\">\n <span>Default: {{ item }}</span>\n </template>\n </BaseGrid>\n </RelatedPromptsList>\n </ResultsList>\n </div>\n</template>\n\n<script>\n import { RelatedPromptsList } from '@empathyco/x-components/related-prompts';\n import { ResultsList } from '@empathyco/x-components/search';\n import { SearchInput } from '@empathyco/x-components/search-box';\n import { BaseGrid } from '@empathyco/x-components';\n\n export default {\n name: 'RelatedPromptsListDemo',\n components: {\n RelatedPromptsLis,\n ResultsList,\n BaseGrid,\n SearchInput\n }\n };\n</script>\n```\n</docs>\n"],"names":[],"mappings":";;;;;;;;AAgBE;;;;;AAKE;AACF,gBAAe,eAAe,CAAC;AAC7B,IAAA,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,qBAAqB,CAAC,IAAI;AACnC,IAAA,KAAK,EAAE;AACL;;AAEE;AACF,QAAA,SAAS,EAAE;AACT,YAAA,IAAI,EAAE,aAAa;AACnB,YAAA,OAAO,EAAE,IAAG;AACb,SAAA;AACD;;AAEE;AACF,QAAA,MAAM,EAAE;AACN,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,OAAO,EAAE,EAAC;AACX,SAAA;AACD;;AAEE;AACF,QAAA,SAAS,EAAE;AACT,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,OAAO,EAAE,EAAC;AACX,SAAA;AACD;;AAEE;AACF,QAAA,yBAAyB,EAAE;AACzB,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,OAAO,EAAE,CAAA;AACV,SAAA;AACD;;AAEE;AACF,QAAA,SAAS,EAAE;AACT,YAAA,IAAI,EAAE,MAAM;AAC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AAA;AACH,SAAC,CAAC,CAAA;AAEF;;;;;;;AAOE;AACF,QAAA,OAAO,CAAC,cAAwB,EAAE,KAAK,CAAC,CAAA;AAExC,QAAA,OAAO,MAAM;AACX,YAAA,MAAM,UAAW,GAAE,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,CAAC,SAAQ,EAAG,CAAA;;AAErE,YAAA,OAAO,KAAK,CAAC,OAAO,GAAG,UAAU,CAAC,CAAC,CAAC,CAAE,IAAG,CAAC,CAAC,SAAS,EAAE,UAAU,EAAE,KAAK,CAAC,CAAA;AAC1E,SAAC,CAAA;KACH;AACD,CAAA,CAAC;;;;"}
1
+ {"version":3,"file":"related-prompts-list.vue.js","sources":["../../../../../src/x-modules/related-prompts/components/related-prompts-list.vue"],"sourcesContent":["<script lang=\"ts\">\nimport type { RelatedPrompt } from '@empathyco/x-types'\nimport type { ComputedRef, Ref } from 'vue'\nimport type { ListItem } from '../../../utils/types'\nimport type { RelatedPromptsGroup } from '../types'\nimport { computed, defineComponent, h, inject, provide } from 'vue'\nimport {\n HAS_MORE_ITEMS_KEY,\n LIST_ITEMS_KEY,\n QUERY_KEY,\n} from '../../../components/decorators/injection.consts'\nimport ItemsList from '../../../components/items-list.vue'\nimport { useState } from '../../../composables/use-state'\nimport { AnimationProp } from '../../../types/animation-prop'\nimport { groupItemsBy } from '../../../utils/array'\nimport { relatedPromptsXModule } from '../x-module'\n\n/**\n * Component that inserts groups of related prompts in different positions of the injected search\n * items list, based on the provided configuration.\n *\n * @public\n */\nexport default defineComponent({\n name: 'RelatedPromptsList',\n xModule: relatedPromptsXModule.name,\n props: {\n /**\n * Animation component that will be used to animate the related prompts groups.\n */\n animation: {\n type: AnimationProp,\n default: 'ul',\n },\n /**\n * The first index to insert a group of related prompts at.\n */\n offset: {\n type: Number,\n default: 24,\n },\n /**\n * The items cycle size to keep inserting related prompts groups at.\n */\n frequency: {\n type: Number,\n default: 24,\n },\n /**\n * The maximum amount of related prompts to add in a single group.\n */\n maxRelatedPromptsPerGroup: {\n type: Number,\n default: 4,\n },\n /**\n * The maximum number of groups to insert into the injected list items list.\n */\n maxGroups: {\n type: Number,\n default: undefined,\n },\n /**\n * Determines if a group is added to the injected items list in case the number\n * of items is smaller than the offset.\n */\n showOnlyAfterOffset: {\n type: Boolean,\n default: false,\n },\n },\n setup(props, { slots }) {\n const { query, status } = useState('relatedPrompts', ['query', 'status'])\n\n /**\n * The state related prompts.\n */\n const relatedPrompts: ComputedRef<RelatedPrompt[]> = useState('relatedPrompts', [\n 'relatedPrompts',\n ]).relatedPrompts\n\n /**\n * Injected query, updated when the related request(s) have succeeded.\n */\n const injectedQuery = inject<Ref<string | undefined>>(QUERY_KEY as string)\n\n /**\n * Indicates if there are more available results than the injected.\n */\n const hasMoreItems = inject<Ref<boolean | undefined>>(HAS_MORE_ITEMS_KEY as string)\n\n /**\n * The grouped related prompts based on the given config.\n *\n * @returns A list of related prompts groups.\n */\n const relatedPromptsGroups = computed<RelatedPromptsGroup[]>(() =>\n Object.values(\n groupItemsBy(relatedPrompts.value, (_, index) =>\n Math.floor(index / props.maxRelatedPromptsPerGroup),\n ),\n )\n .slice(0, props.maxGroups)\n .map((relatedPrompts, index) => ({\n modelName: 'RelatedPromptsGroup' as const,\n id: `related-prompts-group-${index}`,\n relatedPrompts,\n })),\n )\n\n /**\n * It injects {@link ListItem} provided by an ancestor as injectedListItems.\n */\n const injectedListItems = inject<Ref<ListItem[]>>(LIST_ITEMS_KEY as string)\n\n /**\n * Checks if the related prompts are outdated taking into account the injected query.\n *\n * @returns True if the related prompts are outdated, false if not.\n */\n const relatedPromptsAreOutdated = computed(\n () =>\n !!injectedQuery?.value &&\n (query.value !== injectedQuery.value || status.value !== 'success'),\n )\n\n /**\n * Checks if the number of items is smaller than the offset so a group\n * should be added to the injected items list.\n *\n * @returns True if a group should be added, false if not.\n */\n const hasNotEnoughListItems = computed(\n () =>\n !props.showOnlyAfterOffset &&\n !hasMoreItems?.value &&\n injectedListItems !== undefined &&\n injectedListItems.value.length > 0 &&\n props.offset > injectedListItems.value.length,\n )\n\n /**\n * New list of {@link ListItem}s to render.\n *\n * @returns The new list of {@link ListItem}s with the related prompts groups inserted.\n */\n const items = computed((): ListItem[] => {\n if (!injectedListItems?.value) {\n return relatedPromptsGroups.value\n }\n if (relatedPromptsAreOutdated.value) {\n return injectedListItems.value\n }\n if (hasNotEnoughListItems.value) {\n return injectedListItems.value.concat(relatedPromptsGroups.value[0] ?? [])\n }\n return relatedPromptsGroups?.value.reduce(\n (items, relatedPromptsGroup, index) => {\n const targetIndex = props.offset + props.frequency * index\n if (targetIndex <= items.length) {\n items.splice(targetIndex, 0, relatedPromptsGroup)\n }\n return items\n },\n [...injectedListItems.value],\n )\n })\n\n /**\n * The computed list items of the entity that uses the mixin.\n *\n * @remarks It should be overridden in the component that uses the mixin and\n * it's intended to be filled with items from the state. Vue doesn't allow\n * mixins as abstract classes.\n * @returns An empty array as fallback in case it is not overridden.\n */\n provide(LIST_ITEMS_KEY as string, items)\n\n return () => {\n const innerProps = { items: items.value, animation: props.animation }\n // https://vue-land.github.io/faq/forwarding-slots#passing-all-slots\n return slots.default?.(innerProps)[0] ?? h(ItemsList, innerProps, slots)\n }\n },\n})\n</script>\n\n<docs lang=\"mdx\">\n## Events\n\nThis component emits no events.\n\n## See it in action\n\n <!-- prettier-ignore-start -->\n\n:::warning Backend microservice required To use this component, the <b>QuerySignals</b> microservice\nmust be implemented. :::\n\n <!-- prettier-ignore-end -->\n\nUsually, this component is going to be used together with the `ResultsList` one. Related prompts\ngroups will be inserted between the results, guiding users to discover new searches directly from\nthe results list.\n\n```vue live\n<template>\n <div>\n <SearchInput />\n <ResultsList>\n <RelatedPromptsList />\n </ResultsList>\n </div>\n</template>\n\n<script>\nimport { RelatedPromptsList } from '@empathyco/x-components/related-prompts'\nimport { ResultsList } from '@empathyco/x-components/search'\nimport { SearchInput } from '@empathyco/x-components/search-box'\n\nexport default {\n name: 'RelatedPromptsListDemo',\n components: {\n RelatedPromptsList,\n ResultsList,\n SearchInput,\n },\n}\n</script>\n```\n\n### Play with the index that related prompts groups are inserted at\n\nThe component allows to customise where are the related prompts groups inserted. In the following\nexample, the first group of related prompts will be inserted at the index `48` (`offset`), and then\na second group will be inserted at index `120` because of the `frequency` prop configured to `72`.\nFinally, a third group will be inserted at index `192`. Because `maxGroups` is configured to `3`, no\nmore groups will be inserted. Each one of this groups will have up to `6` related prompts\n(`maxRelatedPromptsPerGroup`).\n\n```vue live\n<template>\n <div>\n <SearchInput />\n <ResultsList>\n <RelatedPromptsList\n :offset=\"48\"\n :frequency=\"72\"\n :maxRelatedPromptsPerGroup=\"6\"\n :maxGroups=\"3\"\n />\n </ResultsList>\n </div>\n</template>\n\n<script>\nimport { RelatedPromptsList } from '@empathyco/x-components/related-prompts'\nimport { ResultsList } from '@empathyco/x-components/search'\nimport { SearchInput } from '@empathyco/x-components/search-box'\n\nexport default {\n name: 'RelatedPromptsListDemo',\n components: {\n RelatedPromptsList,\n ResultsList,\n SearchInput,\n },\n}\n</script>\n```\n\n### Showing/hiding first related prompts group when no more items\n\nBy default, the first related prompts group will be inserted when the total number of results is\nsmaller than the offset, but this behavior can be deactivated by setting the `showOnlyAfterOffset`\nto `true`.\n\n```vue live\n<template>\n <div>\n <SearchInput />\n <ResultsList>\n <RelatedPromptsList\n :offset=\"48\"\n :frequency=\"72\"\n :maxRelatedPromptsPerGroup=\"1\"\n :showOnlyAfterOffset=\"true\"\n />\n </ResultsList>\n </div>\n</template>\n\n<script>\nimport { RelatedPromptsList } from '@empathyco/x-components/related-prompts'\nimport { ResultsList } from '@empathyco/x-components/search'\nimport { SearchInput } from '@empathyco/x-components/search-box'\n\nexport default {\n name: 'RelatedPromptsListDemo',\n components: {\n RelatedPromptsList,\n ResultsList,\n SearchInput,\n },\n}\n</script>\n```\n\n### Customise the layout of the component\n\nThis component will render by default the `id` of each search item, both the injected, and for the\ngroups of related prompts generated, but the common case is to integrate it with another layout\ncomponent, for example the `BaseGrid`. To do so, you can use the `default` slot\n\n```vue\n<template>\n <div>\n <SearchInput />\n <ResultsList>\n <RelatedPromptsList\n :offset=\"48\"\n :frequency=\"72\"\n :maxRelatedPromptsPerGroup=\"6\"\n :maxGroups=\"3\"\n #default=\"{ items }\"\n >\n <BaseGrid :items=\"items\" :animation=\"animation\">\n <template #related-prompts-group=\"{ item }\">\n <span v-for=\"const prompt of items.relatedPrompts\">\n RelatedPromptsGroup:\n <pre>{{ prompt }}</pre>\n </span>\n </template>\n <template #result=\"{ item }\">\n <span>Result: {{ item.name }}</span>\n </template>\n <template #default=\"{ item }\">\n <span>Default: {{ item }}</span>\n </template>\n </BaseGrid>\n </RelatedPromptsList>\n </ResultsList>\n </div>\n</template>\n\n<script>\nimport { RelatedPromptsList } from '@empathyco/x-components/related-prompts'\nimport { ResultsList } from '@empathyco/x-components/search'\nimport { SearchInput } from '@empathyco/x-components/search-box'\nimport { BaseGrid } from '@empathyco/x-components'\n\nexport default {\n name: 'RelatedPromptsListDemo',\n components: {\n RelatedPromptsLis,\n ResultsList,\n BaseGrid,\n SearchInput,\n },\n}\n</script>\n```\n</docs>\n"],"names":[],"mappings":";;;;;;;;AAiBA;;;;;AAKE;AACF,gBAAe,eAAe,CAAC;AAC7B,IAAA,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,qBAAqB,CAAC,IAAI;AACnC,IAAA,KAAK,EAAE;AACL;;AAEE;AACF,QAAA,SAAS,EAAE;AACT,YAAA,IAAI,EAAE,aAAa;AACnB,YAAA,OAAO,EAAE,IAAI;AACd,SAAA;AACD;;AAEE;AACF,QAAA,MAAM,EAAE;AACN,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,OAAO,EAAE,EAAE;AACZ,SAAA;AACD;;AAEE;AACF,QAAA,SAAS,EAAE;AACT,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,OAAO,EAAE,EAAE;AACZ,SAAA;AACD;;AAEE;AACF,QAAA,yBAAyB,EAAE;AAC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,EAAE,mBAAmB,CAAA,CAAA;AAClD,iBAAA;AACA,gBAAA,OAAO,KAAI,CAAA;aACZ,EACD,CAAC,GAAG,iBAAiB,CAAC,KAAK,CAAC,CAC9B,CAAA;AACF,SAAC,CAAA,CAAA;AAED;;;;;;;AAOE;AACF,QAAA,OAAO,CAAC,cAAwB,EAAE,KAAK,CAAA,CAAA;AAEvC,QAAA,OAAO,MAAM;AACX,YAAA,MAAM,UAAW,GAAE,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,CAAC,SAAU,EAAA,CAAA;;AAEpE,YAAA,OAAO,KAAK,CAAC,OAAO,GAAG,UAAU,CAAC,CAAC,CAAC,CAAE,IAAG,CAAC,CAAC,SAAS,EAAE,UAAU,EAAE,KAAK,CAAA,CAAA;AACzE,SAAA,CAAA;KACD;AACF,CAAA,CAAA;;;;"}
@@ -26,13 +26,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
26
26
  ]),
27
27
  default: withCtx(() => [
28
28
  createVNode(TransitionGroup, {
29
- onBeforeEnter: _ctx.onBeforeEnter,
30
- onEnter: _ctx.onEnter,
31
- onLeave: _ctx.onLeave,
32
29
  class: "x-related-prompts-tag-list",
33
30
  css: false,
34
31
  tag: "ul",
35
- appear: ""
32
+ appear: "",
33
+ onBeforeEnter: _ctx.onBeforeEnter,
34
+ onEnter: _ctx.onEnter,
35
+ onLeave: _ctx.onLeave
36
36
  }, {
37
37
  default: withCtx(() => [
38
38
  (openBlock(true), createElementBlock(
@@ -58,7 +58,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
58
58
  }, () => [
59
59
  createVNode(_component_DisplayEmitter, {
60
60
  payload: relatedPrompt.tagging?.toolingDisplayTagging,
61
- eventMetadata: {
61
+ "event-metadata": {
62
62
  feature: "related-prompts",
63
63
  displayOriginalQuery: _ctx.x.query.searchBox,
64
64
  replaceable: false
@@ -66,20 +66,20 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
66
66
  }, {
67
67
  default: withCtx(() => [
68
68
  createVNode(_component_RelatedPrompt, {
69
- onClick: ($event) => _ctx.onSelect(index),
70
69
  "related-prompt": relatedPrompt,
71
- selected: _ctx.selectedPromptIndex === index
70
+ selected: _ctx.selectedPromptIndex === index,
71
+ onClick: ($event) => _ctx.onSelect(index)
72
72
  }, {
73
73
  "related-prompt-extra-content": withCtx(() => [
74
74
  renderSlot(_ctx.$slots, "related-prompt-extra-content", { relatedPrompt })
75
75
  ]),
76
76
  _: 2
77
77
  /* DYNAMIC */
78
- }, 1032, ["onClick", "related-prompt", "selected"])
78
+ }, 1032, ["related-prompt", "selected", "onClick"])
79
79
  ]),
80
80
  _: 2
81
81
  /* DYNAMIC */
82
- }, 1032, ["payload", "eventMetadata"])
82
+ }, 1032, ["payload", "event-metadata"])
83
83
  ])
84
84
  ], 14, _hoisted_1);
85
85
  }),
@@ -1 +1 @@
1
- {"version":3,"file":"related-prompts-tag-list.vue.js","sources":["../../../../../src/x-modules/related-prompts/components/related-prompts-tag-list.vue"],"sourcesContent":["<template>\n <SlidingPanel\n :key=\"x.query.search\"\n :reset-on-content-change=\"false\"\n :button-class=\"buttonClass\"\n :show-buttons=\"showButtons && selectedPromptIndex === -1\"\n :scroll-container-class=\"[\n 'x-related-prompts-tag-list-scroll-container',\n scrollContainerClass || ''\n ]\"\n >\n <template #sliding-panel-left-button>\n <!--\n @slot sliding-panel-left-button - The button to be displayed on the left side of the sliding panel.\n -->\n <slot name=\"sliding-panel-left-button\" />\n </template>\n <transition-group\n @before-enter=\"onBeforeEnter\"\n @enter=\"onEnter\"\n @leave=\"onLeave\"\n class=\"x-related-prompts-tag-list\"\n :css=\"false\"\n tag=\"ul\"\n appear\n >\n <li\n v-for=\"{ index, ...relatedPrompt } in visibleRelatedPrompts\"\n ref=\"listItems\"\n :key=\"relatedPrompt.suggestionText\"\n class=\"x-related-prompts-tag-list-item\"\n :class=\"[tagClass, tagColors && tagColors[index % tagColors.length]]\"\n :data-index=\"index\"\n :style=\"{\n ...(selectedPromptIndex === index && { width: '100%' }),\n ...(isAnimating && { pointerEvents: 'none' })\n }\"\n data-test=\"related-prompts-tag-list-item\"\n >\n <!--\n @slot - The slot to render related prompt information.\n @prop {Object} relatedPrompt - The related prompt object.\n @prop {Function} onSelect - The function to select the related prompt.\n @prop {Boolean} isSelected - Indicates if the related prompt is currently selected.\n -->\n <slot\n :relatedPrompt=\"relatedPrompt\"\n :onSelect=\"() => onSelect(index)\"\n :isSelected=\"selectedPromptIndex === index\"\n >\n <DisplayEmitter\n :payload=\"relatedPrompt.tagging?.toolingDisplayTagging\"\n :eventMetadata=\"{\n feature: 'related-prompts',\n displayOriginalQuery: x.query.searchBox,\n replaceable: false\n }\"\n >\n <RelatedPrompt\n @click=\"onSelect(index)\"\n :related-prompt=\"relatedPrompt\"\n :selected=\"selectedPromptIndex === index\"\n >\n <template #related-prompt-extra-content>\n <slot name=\"related-prompt-extra-content\" :relatedPrompt=\"relatedPrompt\" />\n </template>\n </RelatedPrompt>\n </DisplayEmitter>\n </slot>\n </li>\n </transition-group>\n <template #sliding-panel-right-button>\n <!--\n @slot sliding-panel-right-button - The button to be displayed on the right side of the sliding panel.\n -->\n <slot name=\"sliding-panel-right-button\" />\n </template>\n </SlidingPanel>\n</template>\n\n<script lang=\"ts\">\n import { RelatedPrompt as RelatedPromptModel } from '@empathyco/x-types';\n import { computed, ComputedRef, defineComponent, PropType, ref } from 'vue';\n import SlidingPanel from '../../../components/sliding-panel.vue';\n import { relatedPromptsXModule } from '../x-module';\n import { use$x, useState } from '../../../composables';\n import DisplayEmitter from '../../../components/display-emitter.vue';\n import RelatedPrompt from './related-prompt.vue';\n\n /**\n * This component shows the list of `RelatedPrompts` components.\n *\n * If the default slot is reimplemented in the consumer, `onSelect` function will be\n * necessary to handle the selection of the related prompt and to trigger the stagger-fade-slide animation.\n *\n * @public\n */\n export default defineComponent({\n name: 'RelatedPromptsTagList',\n xModule: relatedPromptsXModule.name,\n components: { DisplayEmitter, RelatedPrompt, SlidingPanel },\n props: {\n /**\n * The CSS class for the left and right button of the sliding panel.\n *\n * @public\n */\n buttonClass: String,\n /**\n * The boolean prop to handle the visiblity of sliding pannel buttons.\n *\n * @public\n */\n showButtons: { type: Boolean, default: true },\n /**\n * The CSS class for the wrapper of all the related prompt wrapper elements.\n *\n * @public\n */\n scrollContainerClass: String,\n /**\n * The CSS class for all the related prompt wrapper elements.\n *\n * @public\n */\n tagClass: String,\n /**\n * Array of colors to apply to the related prompts. It will be applied to tag\n * elements cyclically according to their index in the nex way: `tagColors[index % tagColors.length]`.\n *\n * @public\n */\n tagColors: Array as PropType<string[]>,\n /**\n * The duration of the total animation in milliseconds.\n *\n * @public\n */\n animationDurationInMs: {\n type: Number,\n default: 700\n }\n },\n setup(props) {\n const x = use$x();\n const relatedPrompts: ComputedRef<RelatedPromptModel[]> = useState('relatedPrompts', [\n 'relatedPrompts'\n ]).relatedPrompts;\n const selectedPromptIndex: ComputedRef<number> = useState('relatedPrompts', [\n 'selectedPrompt'\n ]).selectedPrompt;\n\n const clickedListItemIndex = ref<number | null>(null);\n const initialOffsetLefts: Record<number, number> = {};\n const isAnimating = ref(false);\n const listItems = ref<HTMLElement[]>([]);\n\n const sortedListItems = computed<HTMLElement[]>(() =>\n [...listItems.value].sort(\n (a: HTMLElement, b: HTMLElement) =>\n Number.parseInt(b.getAttribute('data-index')!) -\n Number.parseInt(a.getAttribute('data-index')!)\n )\n );\n\n // The duration of a single animation (enter or leave) in milliseconds\n // if a related prompt is clicked (clickedListItemIndex.value !== null), the duration is divided by the number of related\n // prompts -1 (the clicked one is synchronized with the last one to leave or the first one to enter)\n const singleAnimationDurationInMs = computed(\n () =>\n props.animationDurationInMs /\n (clickedListItemIndex.value !== null\n ? relatedPrompts.value.length - 1\n : relatedPrompts.value.length)\n );\n\n const indexRelatedPrompts = computed(() =>\n relatedPrompts.value.map((relatedPrompt, index) => ({ ...relatedPrompt, index }))\n );\n\n const visibleRelatedPrompts = computed(() =>\n selectedPromptIndex.value !== -1\n ? [indexRelatedPrompts.value[selectedPromptIndex.value]]\n : indexRelatedPrompts.value\n );\n\n let timeOutId: number;\n const resetTransitionStyle = (excludedProperties: Array<string> = ['width']) => {\n if (timeOutId) {\n clearTimeout(timeOutId);\n }\n\n isAnimating.value = true;\n timeOutId = +setTimeout(() => {\n isAnimating.value = false;\n clickedListItemIndex.value = null;\n\n sortedListItems.value.forEach(element => {\n element.style.cssText\n .split(';')\n .map(rule => rule.split(':')[0]?.trim())\n .forEach(property => {\n if (!excludedProperties.includes(property)) {\n element.style.removeProperty(property);\n }\n });\n });\n }, props.animationDurationInMs);\n };\n\n const onSelect = (selectedIndex: number): void => {\n resetTransitionStyle();\n\n clickedListItemIndex.value = selectedIndex;\n const selected: HTMLElement = sortedListItems.value.find(\n element => Number.parseInt(element.getAttribute('data-index')!) === selectedIndex\n )!;\n\n // selectedPromptIndex.value === -1 ? 'SELECTING' : 'DESELECTING'\n if (selectedPromptIndex.value === -1) {\n // Prepare all the elements for the leave animation (~ 'beforeLeave' hook). Remember the elements are\n // sorted in descending order by index.\n sortedListItems.value.forEach(element => {\n const index = Number.parseInt(element.getAttribute('data-index')!);\n\n initialOffsetLefts[index] = element.offsetLeft;\n element.style.left = `${element.offsetLeft}px`;\n element.style.position = 'absolute';\n element.style.transitionDuration = `${singleAnimationDurationInMs.value}ms`;\n\n if (index !== selectedIndex) {\n element.style.opacity = '1';\n element.style.transitionDelay = `${\n (index < selectedIndex ? index : index - 1) * singleAnimationDurationInMs.value\n }ms`;\n }\n });\n\n // Synchronize the transition delay of the selected element with the last\n // element to leave\n selected.style.transitionDelay = `${\n (relatedPrompts.value.length > 1 ? relatedPrompts.value.length - 2 : 0) *\n singleAnimationDurationInMs.value\n }ms`;\n\n // Trigger the animation (selecting) for the selected element\n requestAnimationFrame(() => {\n const maxWidth = getComputedStyle(selected).maxWidth;\n\n selected.style.left = '0px';\n selected.style.setProperty(\n 'width',\n `${maxWidth !== 'none' ? maxWidth : '100%'}`,\n 'important'\n );\n });\n } else {\n // Prepare the selected element for the deselecting animation\n selected.style.transitionDuration = `${singleAnimationDurationInMs.value}ms`;\n selected.style.left = '0px';\n selected.style.position = 'absolute';\n\n // Trigger the animation (deselecting) for the selected element\n selected.style.removeProperty('width');\n requestAnimationFrame(() => {\n selected.style.left = `${initialOffsetLefts[selectedIndex]}px`;\n });\n }\n\n x.emit('UserSelectedARelatedPrompt', selectedIndex, {\n relatedPrompt: relatedPrompts.value[selectedIndex],\n selectedPrompt: selectedPromptIndex.value\n });\n };\n\n const onBeforeEnter = (el: Element) => {\n const element = el as HTMLElement;\n const index = Number.parseInt(element.getAttribute('data-index')!);\n\n // Prepare the element for the enter animation\n element.style.opacity = '0';\n element.style.transform = 'translateY(5px)';\n element.style.transitionDelay = `${\n (clickedListItemIndex.value !== null && index > clickedListItemIndex.value\n ? index - 1\n : index) * singleAnimationDurationInMs.value\n }ms`;\n element.style.transitionDuration = `${singleAnimationDurationInMs.value}ms`;\n };\n\n const onEnter = (el: Element, done: () => void) => {\n const element = el as HTMLElement;\n const index = Number.parseInt(element.getAttribute('data-index')!);\n\n // Also part of the preparation for the enter animation, but it needs to be done\n // once the element is inserted in DOM (if not the offsetLeft will be always 0)\n element.style.left = `${initialOffsetLefts[index] ?? element.offsetLeft}px`;\n\n // trigger enter animation\n requestAnimationFrame(() => {\n element.style.opacity = '1';\n element.style.position = 'absolute';\n element.style.transform = 'translateY(0)';\n });\n\n done();\n };\n\n const onLeave = (el: Element, done: () => void) => {\n const element = el as HTMLElement;\n\n // trigger leave animation\n requestAnimationFrame(() => {\n element.style.opacity = '0';\n element.style.transform = 'translateY(5px)';\n });\n\n // Wait for the animation to finish (done() exectution extracts the element from the DOM)\n setTimeout(done, props.animationDurationInMs);\n };\n\n // Changing the request will trigger the appear animation, so we need to reset the\n // style after it finishes\n x.on('SearchRequestChanged', false).subscribe(() => {\n resetTransitionStyle([]);\n });\n\n return {\n onSelect,\n onBeforeEnter,\n onEnter,\n onLeave,\n selectedPromptIndex,\n visibleRelatedPrompts,\n listItems,\n isAnimating,\n x\n };\n }\n });\n</script>\n\n<style lang=\"css\">\n .x-related-prompts-tag-list-scroll-container {\n height: 100%;\n position: relative;\n }\n .x-related-prompts-tag-list {\n display: flex;\n gap: 16px;\n min-width: 100%;\n width: 100%;\n }\n .x-related-prompts-tag-list-item {\n height: 100%;\n flex-shrink: 0;\n }\n</style>\n"],"names":["_resolveComponent","_openBlock","_createBlock","buttonClass","showButtons","scrollContainerClass","_renderSlot","_withCtx","onBeforeEnter","onEnter","onLeave","_createElementBlock","_Fragment","_renderList","_normalizeClass","selectedPromptIndex","isAnimating","_normalizeStyle","onSelect","_createVNode"],"mappings":";;;;;;;;;kCACEA,gBA4Ee,CAAA,cAAA,CAAA,CAAA;SA1EZC,SAA8B,EAAA,EAAAC,WAAA,CAAA,uBAAA,EAAA;AAAA,IAC9B,GAAcC,EAAAA,IAAAA,CAAAA,CAAAA,CAAAA,KAAAA,CAAAA,MAAAA;AAAAA,IACd,yBAAcC,EAAAA,KAAAA;AAAAA,IACd,cAAA,EAAA,IAAA,CAAA,WAAA;AAAA,IAAA,cAAA,EAAA,IAAA,CAAA,WAAA,IAAA,IAAA,CAAA,mBAAA,KAAA,CAAA,CAAA;AAAqFC,IAAAA,wBAAAA,EAAAA;AAAAA,MAAAA,6CAAAA;;AAK3E,KAAA;AAAA,GAAA,EAAA;;MA4DAC,UAIiC,CAAA,IAAA,CAAA,MAAA,EAAA,2BAAA,CAAA;AAAA,KAAA,CAAA;;MA3EhDA,UAsEuB,CAAA,IAAA,CAAA,MAAA,EAAA,4BAAA,CAAA;AAAA,KAAA,CAAA;AApDhB,IAAA,OAAA,EAAAC,OAAA,CAAY,MAAEC;AAAAA,MAAAA,WAAAA,CACPC,eAAO,EAAA;AAAA,QACd,aAAOC,EAAAA,IAAAA,CAAAA,aAAAA;AAAAA,QACR,OAAM,EAAA,IAAA,CAAA,OAAA;AAAA,QACL,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AAA;AAAA,iBAhBd,EAAA,MAAA;AAAA,kBAAAC,WAAA,CACA,yBAAa,EAAA;AAAA,oBAAA,OAAA,EAAA,aAAA,CAAA,OAAA,EAAA,qBAAA;;;;;;;AAOX,oBAAA,OAAA,EAAAZ,OAAA,CAAK,MAAEW;AAAAA,sBAAAA,WAAAA,CACP,wBAA6B,EAAA;AAAA,wBAC7B,OAAA,EAAQ,CAAEH,MAAAA,KAAAA,IAAAA,CAAAA,QAAAA,CAAmB,KAAK,CAAA;AAAA,wBAAA,gBAAA,EAAA,aAAA;wBAExB,QAA4B,EAAA,IAAA,CAAA,mBAAA,KAAA,KAAA;AAAA,uBAAA,EAAA;;AA/DrD,0BAAAT,UAAA,CAAA,IAAA,CAAA,MAAA,EAAA,8BAAA,EAAA,EAAA,aAAA,EAAA,CAAA;AAAA,yBAAA,CAAA;;;AAAA,uBAAA,EAAA,IAAA,EAAA,CAAA,SAAA,EAAA,gBAAA,EAAA,UAAA,CAAA,CAAA;AAAA,qBAAA,CAAA;;;AAAA,mBAAA,EAAA,IAAA,EAAA,CAAA,SAAA,EAAA,eAAA,CAAA,CAAA;AAAA,iBAAA,CAAA;;AAAA,aAAA,CAAA;AAAA,YAAA,GAAA;AAAA;AAAA,WAAA;AAAA,SAAA,CAAA;;;AAAA,OAAA,EAAA,CAAA,EAAA,CAAA,eAAA,EAAA,SAAA,EAAA,SAAA,CAAA,CAAA;AAAA,KAAA,CAAA;;;;;;;;;"}
1
+ {"version":3,"file":"related-prompts-tag-list.vue.js","sources":["../../../../../src/x-modules/related-prompts/components/related-prompts-tag-list.vue"],"sourcesContent":["<template>\n <SlidingPanel\n :key=\"x.query.search\"\n :reset-on-content-change=\"false\"\n :button-class=\"buttonClass\"\n :show-buttons=\"showButtons && selectedPromptIndex === -1\"\n :scroll-container-class=\"[\n 'x-related-prompts-tag-list-scroll-container',\n scrollContainerClass || '',\n ]\"\n >\n <template #sliding-panel-left-button>\n <!--\n @slot sliding-panel-left-button - The button to be displayed on the left side of the sliding panel.\n -->\n <slot name=\"sliding-panel-left-button\" />\n </template>\n <transition-group\n class=\"x-related-prompts-tag-list\"\n :css=\"false\"\n tag=\"ul\"\n appear\n @before-enter=\"onBeforeEnter\"\n @enter=\"onEnter\"\n @leave=\"onLeave\"\n >\n <li\n v-for=\"{ index, ...relatedPrompt } in visibleRelatedPrompts\"\n ref=\"listItems\"\n :key=\"relatedPrompt.suggestionText\"\n class=\"x-related-prompts-tag-list-item\"\n :class=\"[tagClass, tagColors && tagColors[index % tagColors.length]]\"\n :data-index=\"index\"\n :style=\"{\n ...(selectedPromptIndex === index && { width: '100%' }),\n ...(isAnimating && { pointerEvents: 'none' }),\n }\"\n data-test=\"related-prompts-tag-list-item\"\n >\n <!--\n @slot - The slot to render related prompt information.\n @prop {Object} relatedPrompt - The related prompt object.\n @prop {Function} onSelect - The function to select the related prompt.\n @prop {Boolean} isSelected - Indicates if the related prompt is currently selected.\n -->\n <slot\n :related-prompt=\"relatedPrompt\"\n :on-select=\"() => onSelect(index)\"\n :is-selected=\"selectedPromptIndex === index\"\n >\n <DisplayEmitter\n :payload=\"relatedPrompt.tagging?.toolingDisplayTagging\"\n :event-metadata=\"{\n feature: 'related-prompts',\n displayOriginalQuery: x.query.searchBox,\n replaceable: false,\n }\"\n >\n <RelatedPrompt\n :related-prompt=\"relatedPrompt\"\n :selected=\"selectedPromptIndex === index\"\n @click=\"onSelect(index)\"\n >\n <template #related-prompt-extra-content>\n <slot name=\"related-prompt-extra-content\" :related-prompt=\"relatedPrompt\" />\n </template>\n </RelatedPrompt>\n </DisplayEmitter>\n </slot>\n </li>\n </transition-group>\n <template #sliding-panel-right-button>\n <!--\n @slot sliding-panel-right-button - The button to be displayed on the right side of the sliding panel.\n -->\n <slot name=\"sliding-panel-right-button\" />\n </template>\n </SlidingPanel>\n</template>\n\n<script lang=\"ts\">\nimport type { RelatedPrompt as RelatedPromptModel } from '@empathyco/x-types'\nimport type { ComputedRef, PropType } from 'vue'\nimport { computed, defineComponent, ref } from 'vue'\nimport DisplayEmitter from '../../../components/display-emitter.vue'\nimport SlidingPanel from '../../../components/sliding-panel.vue'\nimport { use$x, useState } from '../../../composables'\nimport { relatedPromptsXModule } from '../x-module'\nimport RelatedPrompt from './related-prompt.vue'\n\n/**\n * This component shows the list of `RelatedPrompts` components.\n *\n * If the default slot is reimplemented in the consumer, `onSelect` function will be\n * necessary to handle the selection of the related prompt and to trigger the stagger-fade-slide animation.\n *\n * @public\n */\nexport default defineComponent({\n name: 'RelatedPromptsTagList',\n xModule: relatedPromptsXModule.name,\n components: { DisplayEmitter, RelatedPrompt, SlidingPanel },\n props: {\n /**\n * The CSS class for the left and right button of the sliding panel.\n *\n * @public\n */\n buttonClass: String,\n /**\n * The boolean prop to handle the visiblity of sliding pannel buttons.\n *\n * @public\n */\n showButtons: { type: Boolean, default: true },\n /**\n * The CSS class for the wrapper of all the related prompt wrapper elements.\n *\n * @public\n */\n scrollContainerClass: String,\n /**\n * The CSS class for all the related prompt wrapper elements.\n *\n * @public\n */\n tagClass: String,\n /**\n * Array of colors to apply to the related prompts. It will be applied to tag\n * elements cyclically according to their index in the nex way: `tagColors[index % tagColors.length]`.\n *\n * @public\n */\n tagColors: Array as PropType<string[]>,\n /**\n * The duration of the total animation in milliseconds.\n *\n * @public\n */\n animationDurationInMs: {\n type: Number,\n default: 700,\n },\n },\n setup(props) {\n const x = use$x()\n const relatedPrompts: ComputedRef<RelatedPromptModel[]> = useState('relatedPrompts', [\n 'relatedPrompts',\n ]).relatedPrompts\n const selectedPromptIndex: ComputedRef<number> = useState('relatedPrompts', [\n 'selectedPrompt',\n ]).selectedPrompt\n\n const clickedListItemIndex = ref<number | null>(null)\n const initialOffsetLefts: Record<number, number> = {}\n const isAnimating = ref(false)\n const listItems = ref<HTMLElement[]>([])\n\n const sortedListItems = computed<HTMLElement[]>(() =>\n [...listItems.value].sort(\n (a: HTMLElement, b: HTMLElement) =>\n Number.parseInt(b.getAttribute('data-index')!) -\n Number.parseInt(a.getAttribute('data-index')!),\n ),\n )\n\n // The duration of a single animation (enter or leave) in milliseconds\n // if a related prompt is clicked (clickedListItemIndex.value !== null), the duration is divided by the number of related\n // prompts -1 (the clicked one is synchronized with the last one to leave or the first one to enter)\n const singleAnimationDurationInMs = computed(\n () =>\n props.animationDurationInMs /\n (clickedListItemIndex.value !== null\n ? relatedPrompts.value.length - 1\n : relatedPrompts.value.length),\n )\n\n const indexRelatedPrompts = computed(() =>\n relatedPrompts.value.map((relatedPrompt, index) => ({ ...relatedPrompt, index })),\n )\n\n const visibleRelatedPrompts = computed(() =>\n selectedPromptIndex.value !== -1\n ? [indexRelatedPrompts.value[selectedPromptIndex.value]]\n : indexRelatedPrompts.value,\n )\n\n let timeOutId: number\n const resetTransitionStyle = (excludedProperties: Array<string> = ['width']) => {\n if (timeOutId) {\n clearTimeout(timeOutId)\n }\n\n isAnimating.value = true\n timeOutId = +setTimeout(() => {\n isAnimating.value = false\n clickedListItemIndex.value = null\n\n sortedListItems.value.forEach(element => {\n element.style.cssText\n .split(';')\n .map(rule => rule.split(':')[0]?.trim())\n .forEach(property => {\n if (!excludedProperties.includes(property)) {\n element.style.removeProperty(property)\n }\n })\n })\n }, props.animationDurationInMs)\n }\n\n const onSelect = (selectedIndex: number): void => {\n resetTransitionStyle()\n\n clickedListItemIndex.value = selectedIndex\n const selected: HTMLElement = sortedListItems.value.find(\n element => Number.parseInt(element.getAttribute('data-index')!) === selectedIndex,\n )!\n\n // selectedPromptIndex.value === -1 ? 'SELECTING' : 'DESELECTING'\n if (selectedPromptIndex.value === -1) {\n // Prepare all the elements for the leave animation (~ 'beforeLeave' hook). Remember the elements are\n // sorted in descending order by index.\n sortedListItems.value.forEach(element => {\n const index = Number.parseInt(element.getAttribute('data-index')!)\n\n initialOffsetLefts[index] = element.offsetLeft\n element.style.left = `${element.offsetLeft}px`\n element.style.position = 'absolute'\n element.style.transitionDuration = `${singleAnimationDurationInMs.value}ms`\n\n if (index !== selectedIndex) {\n element.style.opacity = '1'\n element.style.transitionDelay = `${\n (index < selectedIndex ? index : index - 1) * singleAnimationDurationInMs.value\n }ms`\n }\n })\n\n // Synchronize the transition delay of the selected element with the last\n // element to leave\n selected.style.transitionDelay = `${\n (relatedPrompts.value.length > 1 ? relatedPrompts.value.length - 2 : 0) *\n singleAnimationDurationInMs.value\n }ms`\n\n // Trigger the animation (selecting) for the selected element\n requestAnimationFrame(() => {\n const maxWidth = getComputedStyle(selected).maxWidth\n\n selected.style.left = '0px'\n selected.style.setProperty(\n 'width',\n `${maxWidth !== 'none' ? maxWidth : '100%'}`,\n 'important',\n )\n })\n } else {\n // Prepare the selected element for the deselecting animation\n selected.style.transitionDuration = `${singleAnimationDurationInMs.value}ms`\n selected.style.left = '0px'\n selected.style.position = 'absolute'\n\n // Trigger the animation (deselecting) for the selected element\n selected.style.removeProperty('width')\n requestAnimationFrame(() => {\n selected.style.left = `${initialOffsetLefts[selectedIndex]}px`\n })\n }\n\n x.emit('UserSelectedARelatedPrompt', selectedIndex, {\n relatedPrompt: relatedPrompts.value[selectedIndex],\n selectedPrompt: selectedPromptIndex.value,\n })\n }\n\n const onBeforeEnter = (el: Element) => {\n const element = el as HTMLElement\n const index = Number.parseInt(element.getAttribute('data-index')!)\n\n // Prepare the element for the enter animation\n element.style.opacity = '0'\n element.style.transform = 'translateY(5px)'\n element.style.transitionDelay = `${\n (clickedListItemIndex.value !== null && index > clickedListItemIndex.value\n ? index - 1\n : index) * singleAnimationDurationInMs.value\n }ms`\n element.style.transitionDuration = `${singleAnimationDurationInMs.value}ms`\n }\n\n const onEnter = (el: Element, done: () => void) => {\n const element = el as HTMLElement\n const index = Number.parseInt(element.getAttribute('data-index')!)\n\n // Also part of the preparation for the enter animation, but it needs to be done\n // once the element is inserted in DOM (if not the offsetLeft will be always 0)\n element.style.left = `${initialOffsetLefts[index] ?? element.offsetLeft}px`\n\n // trigger enter animation\n requestAnimationFrame(() => {\n element.style.opacity = '1'\n element.style.position = 'absolute'\n element.style.transform = 'translateY(0)'\n })\n\n done()\n }\n\n const onLeave = (el: Element, done: () => void) => {\n const element = el as HTMLElement\n\n // trigger leave animation\n requestAnimationFrame(() => {\n element.style.opacity = '0'\n element.style.transform = 'translateY(5px)'\n })\n\n // Wait for the animation to finish (done() exectution extracts the element from the DOM)\n setTimeout(done, props.animationDurationInMs)\n }\n\n // Changing the request will trigger the appear animation, so we need to reset the\n // style after it finishes\n x.on('SearchRequestChanged', false).subscribe(() => {\n resetTransitionStyle([])\n })\n\n return {\n onSelect,\n onBeforeEnter,\n onEnter,\n onLeave,\n selectedPromptIndex,\n visibleRelatedPrompts,\n listItems,\n isAnimating,\n x,\n }\n },\n})\n</script>\n\n<style lang=\"css\">\n.x-related-prompts-tag-list-scroll-container {\n height: 100%;\n position: relative;\n}\n.x-related-prompts-tag-list {\n display: flex;\n gap: 16px;\n min-width: 100%;\n width: 100%;\n}\n.x-related-prompts-tag-list-item {\n height: 100%;\n flex-shrink: 0;\n}\n</style>\n"],"names":["_resolveComponent","_openBlock","_createBlock","buttonClass","showButtons","scrollContainerClass","_renderSlot","_withCtx","_createVNode","_TransitionGroup","onLeave","_createElementBlock","_Fragment","_renderList","_normalizeClass","selectedPromptIndex","isAnimating","_normalizeStyle","onSelect","x"],"mappings":";;;;;;;;;kCACEA,gBA4Ee,CAAA,cAAA,CAAA,CAAA;SA1EZC,SAA8B,EAAA,EAAAC,WAAA,CAAA,uBAAA,EAAA;AAAA,IAC9B,GAAcC,EAAAA,IAAAA,CAAAA,CAAAA,CAAAA,KAAAA,CAAAA,MAAAA;AAAAA,IACd,yBAAcC,EAAAA,KAAAA;AAAAA,IACd,cAAA,EAAA,IAAA,CAAA,WAAA;AAAA,IAAA,cAAA,EAAA,IAAA,CAAA,WAAA,IAAA,IAAA,CAAA,mBAAA,KAAA,CAAA,CAAA;AAAqFC,IAAAA,wBAAAA,EAAAA;AAAAA,MAAAA,6CAAAA;;AAK3E,KAAA;AAAA,GAAA,EAAA;;MA4DAC,UAIiC,CAAA,I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KAAA,CAAA;;;;;;;;;"}
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, computed } from 'vue';
2
+ import _sfc_main$1 from '../../../components/display-emitter.vue.js';
2
3
  import SlidingPanel from '../../../components/sliding-panel.vue.js';
3
- import { relatedPromptsXModule } from '../x-module.js';
4
4
  import '../../../composables/create-use-device.js';
5
5
  import { use$x } from '../../../composables/use-_x.js';
6
6
  import '@vue/devtools-api';
@@ -14,7 +14,7 @@ import '../../../plugins/x-plugin.js';
14
14
  import 'vuex';
15
15
  import '@vueuse/core';
16
16
  import { useState } from '../../../composables/use-state.js';
17
- import _sfc_main$1 from '../../../components/display-emitter.vue.js';
17
+ import { relatedPromptsXModule } from '../x-module.js';
18
18
  import RelatedPrompt from './related-prompt.vue.js';
19
19
 
20
20
  /**
@@ -68,16 +68,16 @@ var _sfc_main = defineComponent({
68
68
  */
69
69
  animationDurationInMs: {
70
70
  type: Number,
71
- default: 700
72
- }
71
+ default: 700,
72
+ },
73
73
  },
74
74
  setup(props) {
75
75
  const x = use$x();
76
76
  const relatedPrompts = useState('relatedPrompts', [
77
- 'relatedPrompts'
77
+ 'relatedPrompts',
78
78
  ]).relatedPrompts;
79
79
  const selectedPromptIndex = useState('relatedPrompts', [
80
- 'selectedPrompt'
80
+ 'selectedPrompt',
81
81
  ]).selectedPrompt;
82
82
  const clickedListItemIndex = ref(null);
83
83
  const initialOffsetLefts = {};
@@ -160,7 +160,7 @@ var _sfc_main = defineComponent({
160
160
  }
161
161
  x.emit('UserSelectedARelatedPrompt', selectedIndex, {
162
162
  relatedPrompt: relatedPrompts.value[selectedIndex],
163
- selectedPrompt: selectedPromptIndex.value
163
+ selectedPrompt: selectedPromptIndex.value,
164
164
  });
165
165
  };
166
166
  const onBeforeEnter = (el) => {
@@ -212,9 +212,9 @@ var _sfc_main = defineComponent({
212
212
  visibleRelatedPrompts,
213
213
  listItems,
214
214
  isAnimating,
215
- x
215
+ x,
216
216
  };
217
- }
217
+ },
218
218
  });
219
219
 
220
220
  export { _sfc_main as default };
@@ -1 +1 @@
1
- {"version":3,"file":"related-prompts-tag-list.vue2.js","sources":["../../../../../src/x-modules/related-prompts/components/related-prompts-tag-list.vue"],"sourcesContent":["<template>\n <SlidingPanel\n :key=\"x.query.search\"\n :reset-on-content-change=\"false\"\n :button-class=\"buttonClass\"\n :show-buttons=\"showButtons && selectedPromptIndex === -1\"\n :scroll-container-class=\"[\n 'x-related-prompts-tag-list-scroll-container',\n scrollContainerClass || ''\n ]\"\n >\n <template #sliding-panel-left-button>\n <!--\n @slot sliding-panel-left-button - The button to be displayed on the left side of the sliding panel.\n -->\n <slot name=\"sliding-panel-left-button\" />\n </template>\n <transition-group\n @before-enter=\"onBeforeEnter\"\n @enter=\"onEnter\"\n @leave=\"onLeave\"\n class=\"x-related-prompts-tag-list\"\n :css=\"false\"\n tag=\"ul\"\n appear\n >\n <li\n v-for=\"{ index, ...relatedPrompt } in visibleRelatedPrompts\"\n ref=\"listItems\"\n :key=\"relatedPrompt.suggestionText\"\n class=\"x-related-prompts-tag-list-item\"\n :class=\"[tagClass, tagColors && tagColors[index % tagColors.length]]\"\n :data-index=\"index\"\n :style=\"{\n ...(selectedPromptIndex === index && { width: '100%' }),\n ...(isAnimating && { pointerEvents: 'none' })\n }\"\n data-test=\"related-prompts-tag-list-item\"\n >\n <!--\n @slot - The slot to render related prompt information.\n @prop {Object} relatedPrompt - The related prompt object.\n @prop {Function} onSelect - The function to select the related prompt.\n @prop {Boolean} isSelected - Indicates if the related prompt is currently selected.\n -->\n <slot\n :relatedPrompt=\"relatedPrompt\"\n :onSelect=\"() => onSelect(index)\"\n :isSelected=\"selectedPromptIndex === index\"\n >\n <DisplayEmitter\n :payload=\"relatedPrompt.tagging?.toolingDisplayTagging\"\n :eventMetadata=\"{\n feature: 'related-prompts',\n displayOriginalQuery: x.query.searchBox,\n replaceable: false\n }\"\n >\n <RelatedPrompt\n @click=\"onSelect(index)\"\n :related-prompt=\"relatedPrompt\"\n :selected=\"selectedPromptIndex === index\"\n >\n <template #related-prompt-extra-content>\n <slot name=\"related-prompt-extra-content\" :relatedPrompt=\"relatedPrompt\" />\n </template>\n </RelatedPrompt>\n </DisplayEmitter>\n </slot>\n </li>\n </transition-group>\n <template #sliding-panel-right-button>\n <!--\n @slot sliding-panel-right-button - The button to be displayed on the right side of the sliding panel.\n -->\n <slot name=\"sliding-panel-right-button\" />\n </template>\n </SlidingPanel>\n</template>\n\n<script lang=\"ts\">\n import { RelatedPrompt as RelatedPromptModel } from '@empathyco/x-types';\n import { computed, ComputedRef, defineComponent, PropType, ref } from 'vue';\n import SlidingPanel from '../../../components/sliding-panel.vue';\n import { relatedPromptsXModule } from '../x-module';\n import { use$x, useState } from '../../../composables';\n import DisplayEmitter from '../../../components/display-emitter.vue';\n import RelatedPrompt from './related-prompt.vue';\n\n /**\n * This component shows the list of `RelatedPrompts` components.\n *\n * If the default slot is reimplemented in the consumer, `onSelect` function will be\n * necessary to handle the selection of the related prompt and to trigger the stagger-fade-slide animation.\n *\n * @public\n */\n export default defineComponent({\n name: 'RelatedPromptsTagList',\n xModule: relatedPromptsXModule.name,\n components: { DisplayEmitter, RelatedPrompt, SlidingPanel },\n props: {\n /**\n * The CSS class for the left and right button of the sliding panel.\n *\n * @public\n */\n buttonClass: String,\n /**\n * The boolean prop to handle the visiblity of sliding pannel buttons.\n *\n * @public\n */\n showButtons: { type: Boolean, default: true },\n /**\n * The CSS class for the wrapper of all the related prompt wrapper elements.\n *\n * @public\n */\n scrollContainerClass: String,\n /**\n * The CSS class for all the related prompt wrapper elements.\n *\n * @public\n */\n tagClass: String,\n /**\n * Array of colors to apply to the related prompts. It will be applied to tag\n * elements cyclically according to their index in the nex way: `tagColors[index % tagColors.length]`.\n *\n * @public\n */\n tagColors: Array as PropType<string[]>,\n /**\n * The duration of the total animation in milliseconds.\n *\n * @public\n */\n animationDurationInMs: {\n type: Number,\n default: 700\n }\n },\n setup(props) {\n const x = use$x();\n const relatedPrompts: ComputedRef<RelatedPromptModel[]> = useState('relatedPrompts', [\n 'relatedPrompts'\n ]).relatedPrompts;\n const selectedPromptIndex: ComputedRef<number> = useState('relatedPrompts', [\n 'selectedPrompt'\n ]).selectedPrompt;\n\n const clickedListItemIndex = ref<number | null>(null);\n const initialOffsetLefts: Record<number, number> = {};\n const isAnimating = ref(false);\n const listItems = ref<HTMLElement[]>([]);\n\n const sortedListItems = computed<HTMLElement[]>(() =>\n [...listItems.value].sort(\n (a: HTMLElement, b: HTMLElement) =>\n Number.parseInt(b.getAttribute('data-index')!) -\n Number.parseInt(a.getAttribute('data-index')!)\n )\n );\n\n // The duration of a single animation (enter or leave) in milliseconds\n // if a related prompt is clicked (clickedListItemIndex.value !== null), the duration is divided by the number of related\n // prompts -1 (the clicked one is synchronized with the last one to leave or the first one to enter)\n const singleAnimationDurationInMs = computed(\n () =>\n props.animationDurationInMs /\n (clickedListItemIndex.value !== null\n ? relatedPrompts.value.length - 1\n : relatedPrompts.value.length)\n );\n\n const indexRelatedPrompts = computed(() =>\n relatedPrompts.value.map((relatedPrompt, index) => ({ ...relatedPrompt, index }))\n );\n\n const visibleRelatedPrompts = computed(() =>\n selectedPromptIndex.value !== -1\n ? [indexRelatedPrompts.value[selectedPromptIndex.value]]\n : indexRelatedPrompts.value\n );\n\n let timeOutId: number;\n const resetTransitionStyle = (excludedProperties: Array<string> = ['width']) => {\n if (timeOutId) {\n clearTimeout(timeOutId);\n }\n\n isAnimating.value = true;\n timeOutId = +setTimeout(() => {\n isAnimating.value = false;\n clickedListItemIndex.value = null;\n\n sortedListItems.value.forEach(element => {\n element.style.cssText\n .split(';')\n .map(rule => rule.split(':')[0]?.trim())\n .forEach(property => {\n if (!excludedProperties.includes(property)) {\n element.style.removeProperty(property);\n }\n });\n });\n }, props.animationDurationInMs);\n };\n\n const onSelect = (selectedIndex: number): void => {\n resetTransitionStyle();\n\n clickedListItemIndex.value = selectedIndex;\n const selected: HTMLElement = sortedListItems.value.find(\n element => Number.parseInt(element.getAttribute('data-index')!) === selectedIndex\n )!;\n\n // selectedPromptIndex.value === -1 ? 'SELECTING' : 'DESELECTING'\n if (selectedPromptIndex.value === -1) {\n // Prepare all the elements for the leave animation (~ 'beforeLeave' hook). Remember the elements are\n // sorted in descending order by index.\n sortedListItems.value.forEach(element => {\n const index = Number.parseInt(element.getAttribute('data-index')!);\n\n initialOffsetLefts[index] = element.offsetLeft;\n element.style.left = `${element.offsetLeft}px`;\n element.style.position = 'absolute';\n element.style.transitionDuration = `${singleAnimationDurationInMs.value}ms`;\n\n if (index !== selectedIndex) {\n element.style.opacity = '1';\n element.style.transitionDelay = `${\n (index < selectedIndex ? index : index - 1) * singleAnimationDurationInMs.value\n }ms`;\n }\n });\n\n // Synchronize the transition delay of the selected element with the last\n // element to leave\n selected.style.transitionDelay = `${\n (relatedPrompts.value.length > 1 ? relatedPrompts.value.length - 2 : 0) *\n singleAnimationDurationInMs.value\n }ms`;\n\n // Trigger the animation (selecting) for the selected element\n requestAnimationFrame(() => {\n const maxWidth = getComputedStyle(selected).maxWidth;\n\n selected.style.left = '0px';\n selected.style.setProperty(\n 'width',\n `${maxWidth !== 'none' ? maxWidth : '100%'}`,\n 'important'\n );\n });\n } else {\n // Prepare the selected element for the deselecting animation\n selected.style.transitionDuration = `${singleAnimationDurationInMs.value}ms`;\n selected.style.left = '0px';\n selected.style.position = 'absolute';\n\n // Trigger the animation (deselecting) for the selected element\n selected.style.removeProperty('width');\n requestAnimationFrame(() => {\n selected.style.left = `${initialOffsetLefts[selectedIndex]}px`;\n });\n }\n\n x.emit('UserSelectedARelatedPrompt', selectedIndex, {\n relatedPrompt: relatedPrompts.value[selectedIndex],\n selectedPrompt: selectedPromptIndex.value\n });\n };\n\n const onBeforeEnter = (el: Element) => {\n const element = el as HTMLElement;\n const index = Number.parseInt(element.getAttribute('data-index')!);\n\n // Prepare the element for the enter animation\n element.style.opacity = '0';\n element.style.transform = 'translateY(5px)';\n element.style.transitionDelay = `${\n (clickedListItemIndex.value !== null && index > clickedListItemIndex.value\n ? index - 1\n : index) * singleAnimationDurationInMs.value\n }ms`;\n element.style.transitionDuration = `${singleAnimationDurationInMs.value}ms`;\n };\n\n const onEnter = (el: Element, done: () => void) => {\n const element = el as HTMLElement;\n const index = Number.parseInt(element.getAttribute('data-index')!);\n\n // Also part of the preparation for the enter animation, but it needs to be done\n // once the element is inserted in DOM (if not the offsetLeft will be always 0)\n element.style.left = `${initialOffsetLefts[index] ?? element.offsetLeft}px`;\n\n // trigger enter animation\n requestAnimationFrame(() => {\n element.style.opacity = '1';\n element.style.position = 'absolute';\n element.style.transform = 'translateY(0)';\n });\n\n done();\n };\n\n const onLeave = (el: Element, done: () => void) => {\n const element = el as HTMLElement;\n\n // trigger leave animation\n requestAnimationFrame(() => {\n element.style.opacity = '0';\n element.style.transform = 'translateY(5px)';\n });\n\n // Wait for the animation to finish (done() exectution extracts the element from the DOM)\n setTimeout(done, props.animationDurationInMs);\n };\n\n // Changing the request will trigger the appear animation, so we need to reset the\n // style after it finishes\n x.on('SearchRequestChanged', false).subscribe(() => {\n resetTransitionStyle([]);\n });\n\n return {\n onSelect,\n onBeforeEnter,\n onEnter,\n onLeave,\n selectedPromptIndex,\n visibleRelatedPrompts,\n listItems,\n isAnimating,\n x\n };\n }\n });\n</script>\n\n<style lang=\"css\">\n .x-related-prompts-tag-list-scroll-container {\n height: 100%;\n position: relative;\n }\n .x-related-prompts-tag-list {\n display: flex;\n gap: 16px;\n min-width: 100%;\n width: 100%;\n }\n .x-related-prompts-tag-list-item {\n height: 100%;\n flex-shrink: 0;\n }\n</style>\n"],"names":["DisplayEmitter"],"mappings":";;;;;;;;;;;;;;;;;;;AAyFE;;;;;;;AAOE;AACF,gBAAe,eAAe,CAAC;AAC7B,IAAA,IAAI,EAAE,uBAAuB;IAC7B,OAAO,EAAE,qBAAqB,CAAC,IAAI;AACnC,IAAA,UAAU,EAAE,kBAAEA,WAAc,EAAE,aAAa,EAAE,YAAW,EAAG;AAC3D,IAAA,KAAK,EAAE;AACL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KAAK,CAAC,OAAQ,GAAE,GAAG,CAAA;AAC3B,gBAAA,OAAO,CAAC,KAAK,CAAC,QAAO,GAAI,UAAU,CAAA;AACnC,gBAAA,OAAO,CAAC,KAAK,CAAC,SAAU,GAAE,eAAe,CAAA;AAC3C,aAAC,CAAC,CAAA;AAEF,YAAA,IAAI,EAAE,CAAA;AACR,SAAC,CAAA;AAED,QAAA,MAAM,UAAU,CAAC,EAAW,EAAE,IAAgB,KAAK;YACjD,MAAM,OAAM,GAAI,EAAiB,CAAA;;YAGjC,qBAAqB,CAAC,MAAM;AAC1B,gBAAA,OAAO,CAAC,KAAK,CAAC,OAAQ,GAAE,GAAG,CAAA;AAC3B,gBAAA,OAAO,CAAC,KAAK,CAAC,YAAY,iBAAiB,CAAA;AAC7C,aAAC,CAAC,CAAA;;AAGF,YAAA,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAA;AAC/C,SAAC,CAAA;;;QAID,CAAC,CAAC,EAAE,CAAC,sBAAsB,EAAE,KAAK,CAAC,CAAC,SAAS,CAAC,MAAM;YAClD,oBAAoB,CAAC,EAAE,CAAC,CAAA;AAC1B,SAAC,CAAC,CAAA;QAEF,OAAO;YACL,QAAQ;YACR,aAAa;YACb,OAAO;YACP,OAAO;YACP,mBAAmB;YACnB,qBAAqB;YACrB,SAAS;YACT,WAAW;YACX,CAAA;SACD,CAAA;KACH;AACD,CAAA,CAAC;;;;"}
1
+ {"version":3,"file":"related-prompts-tag-list.vue2.js","sources":["../../../../../src/x-modules/related-prompts/components/related-prompts-tag-list.vue"],"sourcesContent":["<template>\n <SlidingPanel\n :key=\"x.query.search\"\n :reset-on-content-change=\"false\"\n :button-class=\"buttonClass\"\n :show-buttons=\"showButtons && selectedPromptIndex === -1\"\n :scroll-container-class=\"[\n 'x-related-prompts-tag-list-scroll-container',\n scrollContainerClass || '',\n ]\"\n >\n <template #sliding-panel-left-button>\n <!--\n @slot sliding-panel-left-button - The button to be displayed on the left side of the sliding panel.\n -->\n <slot name=\"sliding-panel-left-button\" />\n </template>\n <transition-group\n class=\"x-related-prompts-tag-list\"\n :css=\"false\"\n tag=\"ul\"\n appear\n @before-enter=\"onBeforeEnter\"\n @enter=\"onEnter\"\n @leave=\"onLeave\"\n >\n <li\n v-for=\"{ index, ...relatedPrompt } in visibleRelatedPrompts\"\n ref=\"listItems\"\n :key=\"relatedPrompt.suggestionText\"\n class=\"x-related-prompts-tag-list-item\"\n :class=\"[tagClass, tagColors && tagColors[index % tagColors.length]]\"\n :data-index=\"index\"\n :style=\"{\n ...(selectedPromptIndex === index && { width: '100%' }),\n ...(isAnimating && { pointerEvents: 'none' }),\n }\"\n data-test=\"related-prompts-tag-list-item\"\n >\n <!--\n @slot - The slot to render related prompt information.\n @prop {Object} relatedPrompt - The related prompt object.\n @prop {Function} onSelect - The function to select the related prompt.\n @prop {Boolean} isSelected - Indicates if the related prompt is currently selected.\n -->\n <slot\n :related-prompt=\"relatedPrompt\"\n :on-select=\"() => onSelect(index)\"\n :is-selected=\"selectedPromptIndex === index\"\n >\n <DisplayEmitter\n :payload=\"relatedPrompt.tagging?.toolingDisplayTagging\"\n :event-metadata=\"{\n feature: 'related-prompts',\n displayOriginalQuery: x.query.searchBox,\n replaceable: false,\n }\"\n >\n <RelatedPrompt\n :related-prompt=\"relatedPrompt\"\n :selected=\"selectedPromptIndex === index\"\n @click=\"onSelect(index)\"\n >\n <template #related-prompt-extra-content>\n <slot name=\"related-prompt-extra-content\" :related-prompt=\"relatedPrompt\" />\n </template>\n </RelatedPrompt>\n </DisplayEmitter>\n </slot>\n </li>\n </transition-group>\n <template #sliding-panel-right-button>\n <!--\n @slot sliding-panel-right-button - The button to be displayed on the right side of the sliding panel.\n -->\n <slot name=\"sliding-panel-right-button\" />\n </template>\n </SlidingPanel>\n</template>\n\n<script lang=\"ts\">\nimport type { RelatedPrompt as RelatedPromptModel } from '@empathyco/x-types'\nimport type { ComputedRef, PropType } from 'vue'\nimport { computed, defineComponent, ref } from 'vue'\nimport DisplayEmitter from '../../../components/display-emitter.vue'\nimport SlidingPanel from '../../../components/sliding-panel.vue'\nimport { use$x, useState } from '../../../composables'\nimport { relatedPromptsXModule } from '../x-module'\nimport RelatedPrompt from './related-prompt.vue'\n\n/**\n * This component shows the list of `RelatedPrompts` components.\n *\n * If the default slot is reimplemented in the consumer, `onSelect` function will be\n * necessary to handle the selection of the related prompt and to trigger the stagger-fade-slide animation.\n *\n * @public\n */\nexport default defineComponent({\n name: 'RelatedPromptsTagList',\n xModule: relatedPromptsXModule.name,\n components: { DisplayEmitter, RelatedPrompt, SlidingPanel },\n props: {\n /**\n * The CSS class for the left and right button of the sliding panel.\n *\n * @public\n */\n buttonClass: String,\n /**\n * The boolean prop to handle the visiblity of sliding pannel buttons.\n *\n * @public\n */\n showButtons: { type: Boolean, default: true },\n /**\n * The CSS class for the wrapper of all the related prompt wrapper elements.\n *\n * @public\n */\n scrollContainerClass: String,\n /**\n * The CSS class for all the related prompt wrapper elements.\n *\n * @public\n */\n tagClass: String,\n /**\n * Array of colors to apply to the related prompts. It will be applied to tag\n * elements cyclically according to their index in the nex way: `tagColors[index % tagColors.length]`.\n *\n * @public\n */\n tagColors: Array as PropType<string[]>,\n /**\n * The duration of the total animation in milliseconds.\n *\n * @public\n */\n animationDurationInMs: {\n type: Number,\n default: 700,\n },\n },\n setup(props) {\n const x = use$x()\n const relatedPrompts: ComputedRef<RelatedPromptModel[]> = useState('relatedPrompts', [\n 'relatedPrompts',\n ]).relatedPrompts\n const selectedPromptIndex: ComputedRef<number> = useState('relatedPrompts', [\n 'selectedPrompt',\n ]).selectedPrompt\n\n const clickedListItemIndex = ref<number | null>(null)\n const initialOffsetLefts: Record<number, number> = {}\n const isAnimating = ref(false)\n const listItems = ref<HTMLElement[]>([])\n\n const sortedListItems = computed<HTMLElement[]>(() =>\n [...listItems.value].sort(\n (a: HTMLElement, b: HTMLElement) =>\n Number.parseInt(b.getAttribute('data-index')!) -\n Number.parseInt(a.getAttribute('data-index')!),\n ),\n )\n\n // The duration of a single animation (enter or leave) in milliseconds\n // if a related prompt is clicked (clickedListItemIndex.value !== null), the duration is divided by the number of related\n // prompts -1 (the clicked one is synchronized with the last one to leave or the first one to enter)\n const singleAnimationDurationInMs = computed(\n () =>\n props.animationDurationInMs /\n (clickedListItemIndex.value !== null\n ? relatedPrompts.value.length - 1\n : relatedPrompts.value.length),\n )\n\n const indexRelatedPrompts = computed(() =>\n relatedPrompts.value.map((relatedPrompt, index) => ({ ...relatedPrompt, index })),\n )\n\n const visibleRelatedPrompts = computed(() =>\n selectedPromptIndex.value !== -1\n ? [indexRelatedPrompts.value[selectedPromptIndex.value]]\n : indexRelatedPrompts.value,\n )\n\n let timeOutId: number\n const resetTransitionStyle = (excludedProperties: Array<string> = ['width']) => {\n if (timeOutId) {\n clearTimeout(timeOutId)\n }\n\n isAnimating.value = true\n timeOutId = +setTimeout(() => {\n isAnimating.value = false\n clickedListItemIndex.value = null\n\n sortedListItems.value.forEach(element => {\n element.style.cssText\n .split(';')\n .map(rule => rule.split(':')[0]?.trim())\n .forEach(property => {\n if (!excludedProperties.includes(property)) {\n element.style.removeProperty(property)\n }\n })\n })\n }, props.animationDurationInMs)\n }\n\n const onSelect = (selectedIndex: number): void => {\n resetTransitionStyle()\n\n clickedListItemIndex.value = selectedIndex\n const selected: HTMLElement = sortedListItems.value.find(\n element => Number.parseInt(element.getAttribute('data-index')!) === selectedIndex,\n )!\n\n // selectedPromptIndex.value === -1 ? 'SELECTING' : 'DESELECTING'\n if (selectedPromptIndex.value === -1) {\n // Prepare all the elements for the leave animation (~ 'beforeLeave' hook). Remember the elements are\n // sorted in descending order by index.\n sortedListItems.value.forEach(element => {\n const index = Number.parseInt(element.getAttribute('data-index')!)\n\n initialOffsetLefts[index] = element.offsetLeft\n element.style.left = `${element.offsetLeft}px`\n element.style.position = 'absolute'\n element.style.transitionDuration = `${singleAnimationDurationInMs.value}ms`\n\n if (index !== selectedIndex) {\n element.style.opacity = '1'\n element.style.transitionDelay = `${\n (index < selectedIndex ? index : index - 1) * singleAnimationDurationInMs.value\n }ms`\n }\n })\n\n // Synchronize the transition delay of the selected element with the last\n // element to leave\n selected.style.transitionDelay = `${\n (relatedPrompts.value.length > 1 ? relatedPrompts.value.length - 2 : 0) *\n singleAnimationDurationInMs.value\n }ms`\n\n // Trigger the animation (selecting) for the selected element\n requestAnimationFrame(() => {\n const maxWidth = getComputedStyle(selected).maxWidth\n\n selected.style.left = '0px'\n selected.style.setProperty(\n 'width',\n `${maxWidth !== 'none' ? maxWidth : '100%'}`,\n 'important',\n )\n })\n } else {\n // Prepare the selected element for the deselecting animation\n selected.style.transitionDuration = `${singleAnimationDurationInMs.value}ms`\n selected.style.left = '0px'\n selected.style.position = 'absolute'\n\n // Trigger the animation (deselecting) for the selected element\n selected.style.removeProperty('width')\n requestAnimationFrame(() => {\n selected.style.left = `${initialOffsetLefts[selectedIndex]}px`\n })\n }\n\n x.emit('UserSelectedARelatedPrompt', selectedIndex, {\n relatedPrompt: relatedPrompts.value[selectedIndex],\n selectedPrompt: selectedPromptIndex.value,\n })\n }\n\n const onBeforeEnter = (el: Element) => {\n const element = el as HTMLElement\n const index = Number.parseInt(element.getAttribute('data-index')!)\n\n // Prepare the element for the enter animation\n element.style.opacity = '0'\n element.style.transform = 'translateY(5px)'\n element.style.transitionDelay = `${\n (clickedListItemIndex.value !== null && index > clickedListItemIndex.value\n ? index - 1\n : index) * singleAnimationDurationInMs.value\n }ms`\n element.style.transitionDuration = `${singleAnimationDurationInMs.value}ms`\n }\n\n const onEnter = (el: Element, done: () => void) => {\n const element = el as HTMLElement\n const index = Number.parseInt(element.getAttribute('data-index')!)\n\n // Also part of the preparation for the enter animation, but it needs to be done\n // once the element is inserted in DOM (if not the offsetLeft will be always 0)\n element.style.left = `${initialOffsetLefts[index] ?? element.offsetLeft}px`\n\n // trigger enter animation\n requestAnimationFrame(() => {\n element.style.opacity = '1'\n element.style.position = 'absolute'\n element.style.transform = 'translateY(0)'\n })\n\n done()\n }\n\n const onLeave = (el: Element, done: () => void) => {\n const element = el as HTMLElement\n\n // trigger leave animation\n requestAnimationFrame(() => {\n element.style.opacity = '0'\n element.style.transform = 'translateY(5px)'\n })\n\n // Wait for the animation to finish (done() exectution extracts the element from the DOM)\n setTimeout(done, props.animationDurationInMs)\n }\n\n // Changing the request will trigger the appear animation, so we need to reset the\n // style after it finishes\n x.on('SearchRequestChanged', false).subscribe(() => {\n resetTransitionStyle([])\n })\n\n return {\n onSelect,\n onBeforeEnter,\n onEnter,\n onLeave,\n selectedPromptIndex,\n visibleRelatedPrompts,\n listItems,\n isAnimating,\n x,\n }\n },\n})\n</script>\n\n<style lang=\"css\">\n.x-related-prompts-tag-list-scroll-container {\n height: 100%;\n position: relative;\n}\n.x-related-prompts-tag-list {\n display: flex;\n gap: 16px;\n min-width: 100%;\n width: 100%;\n}\n.x-related-prompts-tag-list-item {\n height: 100%;\n flex-shrink: 0;\n}\n</style>\n"],"names":["DisplayEmitter"],"mappings":";;;;;;;;;;;;;;;;;;;AA0FA;;;;;;;AAOE;AACF,gBAAe,eAAe,CAAC;AAC7B,IAAA,IAAI,EAAE,uBAAuB;IAC7B,OAAO,EAAE,qBAAqB,CAAC,IAAI;AACnC,IAAA,UAAU,EAAE,kBAAEA,WAAc,EAAE,aAAa,EAAE,YAAW,EAAG;AAC3D,IAAA,KAAK,EAAE;AACL;;;;AAIE;AACF,QAAA,WAAW,EAAE,MAAM;AACnB;;;;AAIE;QACF,WAAW,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM;AAC7C;;;;AAIE;AACF,QAAA,oBAAoB,EAAE,MAAM;AAC5B;;;;AAIE;AACF,QAAA,QAAQ,EAAE,MAAM;AAChB;;;;;AAKE;AACF,QAAA,SAAS,EAAE,KAA2B;AACtC;;;;AAIE;AACF,QAAA,qBAAqB,EAAE;AACrB,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,OAAO,EAAE,GAAG;AACb,SAAA;A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AC,OAAM,GAAI,GAAE,CAAA;AAC1B,gBAAA,OAAO,CAAC,KAAK,CAAC,YAAY,iBAAgB,CAAA;AAC5C,aAAC,CAAA,CAAA;;AAGD,YAAA,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,qBAAqB,CAAA,CAAA;AAC9C,SAAA,CAAA;;;QAIA,CAAC,CAAC,EAAE,CAAC,sBAAsB,EAAE,KAAK,CAAC,CAAC,SAAS,CAAC,MAAM;YAClD,oBAAoB,CAAC,EAAE,CAAA,CAAA;AACzB,SAAC,CAAA,CAAA;QAED,OAAO;YACL,QAAQ;YACR,aAAa;YACb,OAAO;YACP,OAAO;YACP,mBAAmB;YACnB,qBAAqB;YACrB,SAAS;YACT,WAAW;YACX,CAAC;SACH,CAAA;KACD;AACF,CAAA,CAAA;;;;"}
@@ -1,14 +1,14 @@
1
1
  import { createFetchAndSaveActions } from '../../../../store/utils/fetch-and-save-action.utils.js';
2
2
 
3
3
  const { fetchAndSave, cancelPrevious } = createFetchAndSaveActions({
4
- fetch({ dispatch }, request) {
4
+ async fetch({ dispatch }, request) {
5
5
  return dispatch('fetchRelatedPrompts', request);
6
6
  },
7
7
  onSuccess({ commit }, relatedPrompts) {
8
8
  if (relatedPrompts) {
9
9
  commit('setRelatedPromptsProducts', relatedPrompts);
10
10
  }
11
- }
11
+ },
12
12
  });
13
13
  /**
14
14
  * Default implementation for
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-and-save-related-prompts.action.js","sources":["../../../../../../src/x-modules/related-prompts/store/actions/fetch-and-save-related-prompts.action.ts"],"sourcesContent":["import { RelatedPrompt, RelatedPromptsRequest } from '@empathyco/x-types';\nimport { createFetchAndSaveActions } from '../../../../store/utils/fetch-and-save-action.utils';\nimport { RelatedPromptsActionContext } from '../types';\n\nconst { fetchAndSave, cancelPrevious } = createFetchAndSaveActions<\n RelatedPromptsActionContext,\n RelatedPromptsRequest | null,\n RelatedPrompt[] | null\n>({\n fetch({ dispatch }, request) {\n return dispatch('fetchRelatedPrompts', request);\n },\n onSuccess({ commit }, relatedPrompts) {\n if (relatedPrompts) {\n commit('setRelatedPromptsProducts', relatedPrompts);\n }\n }\n});\n\n/**\n * Default implementation for\n * {@link RelatedPromptsActions.fetchAndSaveRelatedPrompts} action.\n *\n * @public\n */\nexport const fetchAndSaveRelatedPrompts = fetchAndSave;\n\n/**\n * Default implementation for\n * {@link RelatedPromptsActions.cancelFetchAndSaveRelatedPrompts} action.\n *\n * @public\n */\nexport const cancelFetchAndSaveRelatedPrompts = cancelPrevious;\n"],"names":[],"mappings":";;AAIA,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,GAAG,yBAAyB,CAIhE;AACA,IAAA,KAAK,CAAC,EAAE,QAAQ,EAAE,EAAE,OAAO,EAAA;AACzB,QAAA,OAAO,QAAQ,CAAC,qBAAqB,EAAE,OAAO,CAAC,CAAC;KACjD;AACD,IAAA,SAAS,CAAC,EAAE,MAAM,EAAE,EAAE,cAAc,EAAA;AAClC,QAAA,IAAI,cAAc,EAAE;AAClB,YAAA,MAAM,CAAC,2BAA2B,EAAE,cAAc,CAAC,CAAC;AACrD,SAAA;KACF;AACF,CAAA,CAAC,CAAC;AAEH;;;;;AAKG;AACI,MAAM,0BAA0B,GAAG,aAAa;AAEvD;;;;;AAKG;AACI,MAAM,gCAAgC,GAAG;;;;"}
1
+ {"version":3,"file":"fetch-and-save-related-prompts.action.js","sources":["../../../../../../src/x-modules/related-prompts/store/actions/fetch-and-save-related-prompts.action.ts"],"sourcesContent":["import type { RelatedPrompt, RelatedPromptsRequest } from '@empathyco/x-types'\nimport type { RelatedPromptsActionContext } from '../types'\nimport { createFetchAndSaveActions } from '../../../../store/utils/fetch-and-save-action.utils'\n\nconst { fetchAndSave, cancelPrevious } = createFetchAndSaveActions<\n RelatedPromptsActionContext,\n RelatedPromptsRequest | null,\n RelatedPrompt[] | null\n>({\n async fetch({ dispatch }, request) {\n return dispatch('fetchRelatedPrompts', request)\n },\n onSuccess({ commit }, relatedPrompts) {\n if (relatedPrompts) {\n commit('setRelatedPromptsProducts', relatedPrompts)\n }\n },\n})\n\n/**\n * Default implementation for\n * {@link RelatedPromptsActions.fetchAndSaveRelatedPrompts} action.\n *\n * @public\n */\nexport const fetchAndSaveRelatedPrompts = fetchAndSave\n\n/**\n * Default implementation for\n * {@link RelatedPromptsActions.cancelFetchAndSaveRelatedPrompts} action.\n *\n * @public\n */\nexport const cancelFetchAndSaveRelatedPrompts = cancelPrevious\n"],"names":[],"mappings":";;AAIA,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,GAAG,yBAAyB,CAIhE;AACA,IAAA,MAAM,KAAK,CAAC,EAAE,QAAQ,EAAE,EAAE,OAAO,EAAA;AAC/B,QAAA,OAAO,QAAQ,CAAC,qBAAqB,EAAE,OAAO,CAAC,CAAA;KAChD;AACD,IAAA,SAAS,CAAC,EAAE,MAAM,EAAE,EAAE,cAAc,EAAA;AAClC,QAAA,IAAI,cAAc,EAAE;AAClB,YAAA,MAAM,CAAC,2BAA2B,EAAE,cAAc,CAAC,CAAA;AACpD,SAAA;KACF;AACF,CAAA,CAAC,CAAA;AAEF;;;;;AAKG;AACI,MAAM,0BAA0B,GAAG,aAAY;AAEtD;;;;;AAKG;AACI,MAAM,gCAAgC,GAAG;;;;"}
@@ -10,7 +10,7 @@ import { XPlugin } from '../../../../plugins/x-plugin.js';
10
10
  *
11
11
  * @public
12
12
  */
13
- const fetchRelatedPrompts = (_, request) => {
13
+ const fetchRelatedPrompts = async (_, request) => {
14
14
  return request
15
15
  ? XPlugin.adapter.relatedPrompts(request).then(({ relatedPrompts }) => relatedPrompts)
16
16
  : null;
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-related-prompts.action.js","sources":["../../../../../../src/x-modules/related-prompts/store/actions/fetch-related-prompts.action.ts"],"sourcesContent":["import { XPlugin } from '../../../../plugins/x-plugin';\nimport { RelatedPromptsXStoreModule } from '../types';\n\n/**\n * Default implementation for the {@link RelatedPromptsActions.fetchRelatedPrompts}.\n *\n * @param _ - The {@link https://vuex.vuejs.org/guide/actions.html | context} of the actions,\n * provided by Vuex.\n * @param request - The related prompts request to make.\n * @returns The related prompts response.\n *\n * @public\n */\nexport const fetchRelatedPrompts: RelatedPromptsXStoreModule['actions']['fetchRelatedPrompts'] = (\n _,\n request\n) => {\n return request\n ? XPlugin.adapter.relatedPrompts(request).then(({ relatedPrompts }) => relatedPrompts)\n : null;\n};\n"],"names":[],"mappings":";;AAGA;;;;;;;;;AASG;MACU,mBAAmB,GAAiE,CAC/F,CAAC,EACD,OAAO,KACL;AACF,IAAA,OAAO,OAAO;UACV,OAAO,CAAC,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,cAAc,EAAE,KAAK,cAAc,CAAC;UACpF,IAAI,CAAC;AACX;;;;"}
1
+ {"version":3,"file":"fetch-related-prompts.action.js","sources":["../../../../../../src/x-modules/related-prompts/store/actions/fetch-related-prompts.action.ts"],"sourcesContent":["import type { RelatedPromptsXStoreModule } from '../types'\nimport { XPlugin } from '../../../../plugins/x-plugin'\n\n/**\n * Default implementation for the {@link RelatedPromptsActions.fetchRelatedPrompts}.\n *\n * @param _ - The {@link https://vuex.vuejs.org/guide/actions.html | context} of the actions,\n * provided by Vuex.\n * @param request - The related prompts request to make.\n * @returns The related prompts response.\n *\n * @public\n */\nexport const fetchRelatedPrompts: RelatedPromptsXStoreModule['actions']['fetchRelatedPrompts'] =\n async (_, request) => {\n return request\n ? XPlugin.adapter.relatedPrompts(request).then(({ relatedPrompts }) => relatedPrompts)\n : null\n }\n"],"names":[],"mappings":";;AAGA;;;;;;;;;AASG;AACU,MAAA,mBAAmB,GAC9B,OAAO,CAAC,EAAE,OAAO,KAAI;AACnB,IAAA,OAAO,OAAO;UACV,OAAO,CAAC,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,cAAc,EAAE,KAAK,cAAc,CAAC;UACpF,IAAI,CAAA;AACV;;;;"}
@@ -2,7 +2,6 @@
2
2
  * Default implementation setUrlParams.
3
3
  *
4
4
  * @param context - The context of the actions, provided by Vuex.
5
- *
6
5
  * @param urlParams - List of params from the url.
7
6
  * @public
8
7
  */
@@ -1 +1 @@
1
- {"version":3,"file":"set-url-params.action.js","sources":["../../../../../../src/x-modules/related-prompts/store/actions/set-url-params.action.ts"],"sourcesContent":["import { RelatedPromptsXStoreModule } from '../types';\n\n/**\n * Default implementation setUrlParams.\n *\n * @param context - The context of the actions, provided by Vuex.\n *\n * @param urlParams - List of params from the url.\n * @public\n */\nexport const setUrlParams: RelatedPromptsXStoreModule['actions']['setUrlParams'] = (\n { commit },\n { query, prompt }\n) => {\n commit('setQuery', query);\n commit('setSelectedPrompt', prompt);\n};\n"],"names":[],"mappings":"AAEA;;;;;;;AAOG;AACI,MAAM,YAAY,GAA0D,CACjF,EAAE,MAAM,EAAE,EACV,EAAE,KAAK,EAAE,MAAM,EAAE,KACf;AACF,IAAA,MAAM,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC;AAC1B,IAAA,MAAM,CAAC,mBAAmB,EAAE,MAAM,CAAC,CAAC;AACtC;;;;"}
1
+ {"version":3,"file":"set-url-params.action.js","sources":["../../../../../../src/x-modules/related-prompts/store/actions/set-url-params.action.ts"],"sourcesContent":["import type { RelatedPromptsXStoreModule } from '../types'\n\n/**\n * Default implementation setUrlParams.\n *\n * @param context - The context of the actions, provided by Vuex.\n * @param urlParams - List of params from the url.\n * @public\n */\nexport const setUrlParams: RelatedPromptsXStoreModule['actions']['setUrlParams'] = (\n { commit },\n { query, prompt },\n) => {\n commit('setQuery', query)\n commit('setSelectedPrompt', prompt)\n}\n"],"names":[],"mappings":"AAEA;;;;;;AAMG;AACI,MAAM,YAAY,GAA0D,CACjF,EAAE,MAAM,EAAE,EACV,EAAE,KAAK,EAAE,MAAM,EAAE,KACf;AACF,IAAA,MAAM,CAAC,UAAU,EAAE,KAAK,CAAC,CAAA;AACzB,IAAA,MAAM,CAAC,mBAAmB,EAAE,MAAM,CAAC,CAAA;AACrC;;;;"}
@@ -9,7 +9,7 @@ import { relatedPromptsXStoreModule } from './module.js';
9
9
  */
10
10
  const relatedPromptsStoreEmitters = createStoreEmitters(relatedPromptsXStoreModule, {
11
11
  RelatedPromptsRequestUpdated: (_, getters) => getters.request,
12
- SelectedRelatedPromptChanged: state => state.selectedPrompt
12
+ SelectedRelatedPromptChanged: state => state.selectedPrompt,
13
13
  });
14
14
 
15
15
  export { relatedPromptsStoreEmitters };
@@ -1 +1 @@
1
- {"version":3,"file":"emitters.js","sources":["../../../../../src/x-modules/related-prompts/store/emitters.ts"],"sourcesContent":["import { createStoreEmitters } from '../../../store';\nimport { relatedPromptsXStoreModule } from './module';\n\n/**\n * {@link StoreEmitters} For the related-prompts module.\n *\n * @internal\n */\nexport const relatedPromptsStoreEmitters = createStoreEmitters(relatedPromptsXStoreModule, {\n RelatedPromptsRequestUpdated: (_, getters) => getters.request,\n SelectedRelatedPromptChanged: state => state.selectedPrompt\n});\n"],"names":[],"mappings":";;;;AAGA;;;;AAIG;AACU,MAAA,2BAA2B,GAAG,mBAAmB,CAAC,0BAA0B,EAAE;IACzF,4BAA4B,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,OAAO;AAC7D,IAAA,4BAA4B,EAAE,KAAK,IAAI,KAAK,CAAC,cAAc;AAC5D,CAAA;;;;"}
1
+ {"version":3,"file":"emitters.js","sources":["../../../../../src/x-modules/related-prompts/store/emitters.ts"],"sourcesContent":["import { createStoreEmitters } from '../../../store'\nimport { relatedPromptsXStoreModule } from './module'\n\n/**\n * {@link StoreEmitters} For the related-prompts module.\n *\n * @internal\n */\nexport const relatedPromptsStoreEmitters = createStoreEmitters(relatedPromptsXStoreModule, {\n RelatedPromptsRequestUpdated: (_, getters) => getters.request,\n SelectedRelatedPromptChanged: state => state.selectedPrompt,\n})\n"],"names":[],"mappings":";;;;AAGA;;;;AAIG;AACU,MAAA,2BAA2B,GAAG,mBAAmB,CAAC,0BAA0B,EAAE;IACzF,4BAA4B,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,OAAO;AAC7D,IAAA,4BAA4B,EAAE,KAAK,IAAI,KAAK,CAAC,cAAc;AAC5D,CAAA;;;;"}
@@ -11,7 +11,7 @@ import { createRelatedTagsQueryGetter } from '../../../../store/utils/query.util
11
11
  * @public
12
12
  */
13
13
  const query = createRelatedTagsQueryGetter({
14
- getRelatedTags: state => state.relatedTags
14
+ getRelatedTags: state => state.relatedTags,
15
15
  });
16
16
 
17
17
  export { query };
@@ -1 +1 @@
1
- {"version":3,"file":"related-prompts-query.getter.js","sources":["../../../../../../src/x-modules/related-prompts/store/getters/related-prompts-query.getter.ts"],"sourcesContent":["import { createRelatedTagsQueryGetter } from '../../../../store/utils/query.utils';\nimport { RelatedPromptsXStoreModule } from '../types';\n\n/**\n * Default implementation for the related prompts query getter.\n *\n * @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the related\n * prompts' module.\n *\n * @returns The query with the selected related tags concatenated.\n *\n * @public\n */\nexport const query: RelatedPromptsXStoreModule['getters']['query'] = createRelatedTagsQueryGetter({\n getRelatedTags: state => state.relatedTags\n});\n"],"names":[],"mappings":";;AAGA;;;;;;;;;AASG;AACI,MAAM,KAAK,GAAmD,4BAA4B,CAAC;AAChG,IAAA,cAAc,EAAE,KAAK,IAAI,KAAK,CAAC,WAAW;AAC3C,CAAA;;;;"}
1
+ {"version":3,"file":"related-prompts-query.getter.js","sources":["../../../../../../src/x-modules/related-prompts/store/getters/related-prompts-query.getter.ts"],"sourcesContent":["import type { RelatedPromptsXStoreModule } from '../types'\nimport { createRelatedTagsQueryGetter } from '../../../../store/utils/query.utils'\n\n/**\n * Default implementation for the related prompts query getter.\n *\n * @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the related\n * prompts' module.\n *\n * @returns The query with the selected related tags concatenated.\n *\n * @public\n */\nexport const query: RelatedPromptsXStoreModule['getters']['query'] = createRelatedTagsQueryGetter({\n getRelatedTags: state => state.relatedTags,\n})\n"],"names":[],"mappings":";;AAGA;;;;;;;;;AASG;AACI,MAAM,KAAK,GAAmD,4BAA4B,CAAC;AAChG,IAAA,cAAc,EAAE,KAAK,IAAI,KAAK,CAAC,WAAW;AAC3C,CAAA;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"request.getter.js","sources":["../../../../../../src/x-modules/related-prompts/store/getters/request.getter.ts"],"sourcesContent":["import { RelatedPromptsXStoreModule } from '../types';\n\n/**\n * Default implementation for the {@link RelatedPromptsGetters.request} getter.\n *\n * @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the related\n * prompts module.\n * @param getters - Current {@link https://vuex.vuejs.org/guide/getters.html | getters} of the\n * related prompts' module.\n * @returns The related prompts request to fetch data from the API.\n *\n * @public\n */\nexport const request: RelatedPromptsXStoreModule['getters']['request'] = (\n { params },\n { query }\n) => {\n return query ? { query, extraParams: params } : null;\n};\n"],"names":[],"mappings":"AAEA;;;;;;;;;;AAUG;AACI,MAAM,OAAO,GAAqD,CACvE,EAAE,MAAM,EAAE,EACV,EAAE,KAAK,EAAE,KACP;AACF,IAAA,OAAO,KAAK,GAAG,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;AACvD;;;;"}
1
+ {"version":3,"file":"request.getter.js","sources":["../../../../../../src/x-modules/related-prompts/store/getters/request.getter.ts"],"sourcesContent":["import type { RelatedPromptsXStoreModule } from '../types'\n\n/**\n * Default implementation for the {@link RelatedPromptsGetters.request} getter.\n *\n * @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the related\n * prompts module.\n * @param getters - Current {@link https://vuex.vuejs.org/guide/getters.html | getters} of the\n * related prompts' module.\n * @returns The related prompts request to fetch data from the API.\n *\n * @public\n */\nexport const request: RelatedPromptsXStoreModule['getters']['request'] = (\n { params },\n { query },\n) => {\n return query ? { query, extraParams: params } : null\n}\n"],"names":[],"mappings":"AAEA;;;;;;;;;;AAUG;AACI,MAAM,OAAO,GAAqD,CACvE,EAAE,MAAM,EAAE,EACV,EAAE,KAAK,EAAE,KACP;AACF,IAAA,OAAO,KAAK,GAAG,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,IAAI,CAAA;AACtD;;;;"}