@empathyco/x-components 6.0.0-alpha.222 → 6.0.0-alpha.224

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 (1969) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/ai/index.d.ts +1 -1
  3. package/core/index.d.ts +12 -13
  4. package/core/index.js +2 -3
  5. package/core/index.js.map +1 -1
  6. package/device/index.d.ts +1 -1
  7. package/docs/API-reference/api/x-components.md +11 -11
  8. package/docs/API-reference/api/x-components.pagemode.md +13 -0
  9. package/docs/API-reference/api/x-components.searchconfig.md +1 -1
  10. package/empathize/index.d.ts +1 -1
  11. package/experience-controls/index.d.ts +1 -1
  12. package/extra-params/index.d.ts +1 -1
  13. package/facets/index.d.ts +1 -1
  14. package/history-queries/index.d.ts +1 -1
  15. package/identifier-results/index.d.ts +1 -1
  16. package/js/components/base-keyboard-navigation.vue2.js +1 -6
  17. package/js/components/base-keyboard-navigation.vue2.js.map +1 -1
  18. package/js/components/display-click-provider.vue.js +2 -6
  19. package/js/components/display-click-provider.vue.js.map +1 -1
  20. package/js/components/layouts/fixed-header-and-asides-layout.vue.js.map +1 -1
  21. package/js/components/layouts/fixed-header-and-asides-layout.vue2.js.map +1 -1
  22. package/js/components/layouts/fixed-header-and-asides-layout.vue3.js +1 -1
  23. package/js/components/layouts/multi-column-max-width-layout.vue.js.map +1 -1
  24. package/js/components/layouts/multi-column-max-width-layout.vue2.js.map +1 -1
  25. package/js/components/layouts/multi-column-max-width-layout.vue4.js +1 -1
  26. package/js/components/layouts/single-column-layout.vue.js.map +1 -1
  27. package/js/components/layouts/single-column-layout.vue2.js.map +1 -1
  28. package/js/components/layouts/single-column-layout.vue3.js +1 -1
  29. package/js/components/modals/base-id-modal-close.vue2.js +2 -6
  30. package/js/components/modals/base-id-modal-close.vue2.js.map +1 -1
  31. package/js/components/modals/base-id-modal-open.vue2.js +2 -6
  32. package/js/components/modals/base-id-modal-open.vue2.js.map +1 -1
  33. package/js/components/modals/base-id-modal.vue2.js +1 -6
  34. package/js/components/modals/base-id-modal.vue2.js.map +1 -1
  35. package/js/components/modals/base-modal.vue2.js +2 -6
  36. package/js/components/modals/base-modal.vue2.js.map +1 -1
  37. package/js/components/page-loader-button.vue2.js +2 -6
  38. package/js/components/page-loader-button.vue2.js.map +1 -1
  39. package/js/components/page-selector.vue2.js +1 -6
  40. package/js/components/page-selector.vue2.js.map +1 -1
  41. package/js/components/panels/base-id-toggle-panel-button.vue2.js +1 -6
  42. package/js/components/panels/base-id-toggle-panel-button.vue2.js.map +1 -1
  43. package/js/components/panels/base-id-toggle-panel.vue2.js +2 -6
  44. package/js/components/panels/base-id-toggle-panel.vue2.js.map +1 -1
  45. package/js/components/result/base-result-link.vue2.js +2 -6
  46. package/js/components/result/base-result-link.vue2.js.map +1 -1
  47. package/js/components/result/base-result-rating.vue2.js +2 -6
  48. package/js/components/result/base-result-rating.vue2.js.map +1 -1
  49. package/js/components/suggestions/base-suggestion.vue2.js +1 -5
  50. package/js/components/suggestions/base-suggestion.vue2.js.map +1 -1
  51. package/js/composables/use-alias-api.js +1 -6
  52. package/js/composables/use-alias-api.js.map +1 -1
  53. package/js/composables/use-getter.js +1 -6
  54. package/js/composables/use-getter.js.map +1 -1
  55. package/js/directives/infinite-scroll.js +1 -6
  56. package/js/directives/infinite-scroll.js.map +1 -1
  57. package/js/index.js +2 -3
  58. package/js/index.js.map +1 -1
  59. package/js/plugins/x-bus.js +0 -2
  60. package/js/plugins/x-bus.js.map +1 -1
  61. package/js/plugins/x-plugin.js +1 -3
  62. package/js/plugins/x-plugin.js.map +1 -1
  63. package/js/x-bus/x-bus.js +1 -1
  64. package/js/x-bus/x-bus.js.map +1 -1
  65. package/js/x-bus/x-priority-queue.js.map +1 -0
  66. package/js/x-installer/x-installer.js +285 -0
  67. package/js/x-installer/x-installer.js.map +1 -0
  68. package/js/x-modules/ai/components/ai-carousel.vue2.js +1 -5
  69. package/js/x-modules/ai/components/ai-carousel.vue2.js.map +1 -1
  70. package/js/x-modules/ai/components/ai-overview.vue2.js +1 -5
  71. package/js/x-modules/ai/components/ai-overview.vue2.js.map +1 -1
  72. package/js/x-modules/ai/store/actions/fetch-and-save-ai-suggestions-search.action.js +1 -6
  73. package/js/x-modules/ai/store/actions/fetch-and-save-ai-suggestions-search.action.js.map +1 -1
  74. package/js/x-modules/ai/store/actions/fetch-and-save-ai-suggestions.action.js +1 -6
  75. package/js/x-modules/ai/store/actions/fetch-and-save-ai-suggestions.action.js.map +1 -1
  76. package/js/x-modules/ai/x-module.js +1 -6
  77. package/js/x-modules/ai/x-module.js.map +1 -1
  78. package/js/x-modules/empathize/components/empathize.vue2.js +1 -5
  79. package/js/x-modules/empathize/components/empathize.vue2.js.map +1 -1
  80. package/js/x-modules/experience-controls/x-module.js +1 -6
  81. package/js/x-modules/experience-controls/x-module.js.map +1 -1
  82. package/js/x-modules/extra-params/x-module.js +1 -6
  83. package/js/x-modules/extra-params/x-module.js.map +1 -1
  84. package/js/x-modules/facets/components/filters/editable-number-range-filter.vue2.js +2 -6
  85. package/js/x-modules/facets/components/filters/editable-number-range-filter.vue2.js.map +1 -1
  86. package/js/x-modules/facets/service/facets.service.js +1 -6
  87. package/js/x-modules/facets/service/facets.service.js.map +1 -1
  88. package/js/x-modules/queries-preview/components/query-preview-button.vue2.js +1 -5
  89. package/js/x-modules/queries-preview/components/query-preview-button.vue2.js.map +1 -1
  90. package/js/x-modules/queries-preview/components/query-preview-list.vue2.js +2 -6
  91. package/js/x-modules/queries-preview/components/query-preview-list.vue2.js.map +1 -1
  92. package/js/x-modules/queries-preview/components/query-preview.vue2.js +0 -5
  93. package/js/x-modules/queries-preview/components/query-preview.vue2.js.map +1 -1
  94. package/js/x-modules/query-suggestions/components/query-suggestion.vue2.js +2 -6
  95. package/js/x-modules/query-suggestions/components/query-suggestion.vue2.js.map +1 -1
  96. package/js/x-modules/query-suggestions/components/query-suggestions.vue2.js +2 -6
  97. package/js/x-modules/query-suggestions/components/query-suggestions.vue2.js.map +1 -1
  98. package/js/x-modules/query-suggestions/store/actions/fetch-suggestions.action.js +1 -6
  99. package/js/x-modules/query-suggestions/store/actions/fetch-suggestions.action.js.map +1 -1
  100. package/js/x-modules/recommendations/components/recommendations.vue2.js +2 -6
  101. package/js/x-modules/recommendations/components/recommendations.vue2.js.map +1 -1
  102. package/js/x-modules/recommendations/store/actions/fetch-recommendations.action.js +1 -6
  103. package/js/x-modules/recommendations/store/actions/fetch-recommendations.action.js.map +1 -1
  104. package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue2.js +2 -6
  105. package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue2.js.map +1 -1
  106. package/js/x-modules/scroll/components/scroll-to-top.vue2.js +1 -5
  107. package/js/x-modules/scroll/components/scroll-to-top.vue2.js.map +1 -1
  108. package/js/x-modules/semantic-queries/components/semantic-queries.vue2.js +2 -6
  109. package/js/x-modules/semantic-queries/components/semantic-queries.vue2.js.map +1 -1
  110. package/js/x-modules/tagging/service/external-tagging.service.js +0 -5
  111. package/js/x-modules/tagging/service/external-tagging.service.js.map +1 -1
  112. package/js/x-modules/url/x-module.js +1 -6
  113. package/js/x-modules/url/x-module.js.map +1 -1
  114. package/next-queries/index.d.ts +1 -1
  115. package/package.json +25 -25
  116. package/popular-searches/index.d.ts +1 -1
  117. package/queries-preview/index.d.ts +1 -1
  118. package/query-suggestions/index.d.ts +1 -1
  119. package/recommendations/index.d.ts +1 -1
  120. package/related-prompts/index.d.ts +1 -1
  121. package/related-tags/index.d.ts +1 -1
  122. package/report/tsdoc-metadata.json +1 -1
  123. package/report/x-adapter-platform.api.json +1 -1
  124. package/report/x-components.api.json +176 -196
  125. package/report/x-components.api.md +37 -40
  126. package/report/x-types.api.json +1 -1
  127. package/scroll/index.d.ts +1 -1
  128. package/search/index.d.ts +1 -1
  129. package/search-box/index.d.ts +1 -1
  130. package/semantic-queries/index.d.ts +1 -1
  131. package/tagging/index.d.ts +1 -1
  132. package/types/demo/main.d.ts +2 -0
  133. package/types/demo/main.d.ts.map +1 -0
  134. package/types/demo/plugins/devtools/colors.utils.d.ts +22 -0
  135. package/types/demo/plugins/devtools/colors.utils.d.ts.map +1 -0
  136. package/types/demo/plugins/devtools/devtools.plugin.d.ts.map +1 -0
  137. package/types/demo/plugins/devtools/timeline.devtools.d.ts +19 -0
  138. package/types/demo/plugins/devtools/timeline.devtools.d.ts.map +1 -0
  139. package/types/demo/plugins/devtools/wiring.devtools.d.ts +21 -0
  140. package/types/demo/plugins/devtools/wiring.devtools.d.ts.map +1 -0
  141. package/types/demo/router.d.ts.map +1 -0
  142. package/types/demo/views/adapter.d.ts.map +1 -0
  143. package/types/demo/views/base-config.d.ts +4 -0
  144. package/types/demo/views/base-config.d.ts.map +1 -0
  145. package/types/demo/views/home/types.d.ts.map +1 -0
  146. package/types/demo/vite.config.d.ts +7 -0
  147. package/types/demo/vite.config.d.ts.map +1 -0
  148. package/types/src/components/animations/animate-clip-path/animate-clip-path.factory.d.ts.map +1 -0
  149. package/types/src/components/animations/animate-scale/animate-scale.factory.d.ts.map +1 -0
  150. package/types/src/components/animations/animate-translate/animate-translate.factory.d.ts.map +1 -0
  151. package/types/src/components/animations/animate-width.vue.d.ts.map +1 -0
  152. package/types/src/components/animations/change-height.vue.d.ts.map +1 -0
  153. package/types/src/components/animations/collapse-height.vue.d.ts.map +1 -0
  154. package/types/src/components/animations/collapse-width.vue.d.ts.map +1 -0
  155. package/types/src/components/animations/create-directional-animation-factory.d.ts.map +1 -0
  156. package/types/src/components/animations/cross-fade.vue.d.ts.map +1 -0
  157. package/types/src/components/animations/fade-and-slide.vue.d.ts.map +1 -0
  158. package/types/src/components/animations/fade.vue.d.ts.map +1 -0
  159. package/types/src/components/animations/index.d.ts.map +1 -0
  160. package/types/src/components/animations/no-animation.vue.d.ts.map +1 -0
  161. package/types/src/components/animations/staggered-fade-and-slide.vue.d.ts.map +1 -0
  162. package/types/src/components/animations/use-collapse-animation.d.ts.map +1 -0
  163. package/types/src/components/animations/use-disable-animation.d.ts.map +1 -0
  164. package/types/src/components/auto-progress-bar.vue.d.ts.map +1 -0
  165. package/types/src/components/base-dropdown.vue.d.ts.map +1 -0
  166. package/types/src/components/base-event-button.vue.d.ts.map +1 -0
  167. package/types/src/components/base-grid.types.d.ts.map +1 -0
  168. package/types/src/components/base-grid.vue.d.ts.map +1 -0
  169. package/types/src/components/base-keyboard-navigation.vue.d.ts.map +1 -0
  170. package/types/src/components/base-rating.vue.d.ts.map +1 -0
  171. package/types/src/components/base-slider.vue.d.ts.map +1 -0
  172. package/types/src/components/base-switch.vue.d.ts.map +1 -0
  173. package/types/src/components/base-teleport.vue.d.ts.map +1 -0
  174. package/types/src/components/base-variable-column-grid.vue.d.ts.map +1 -0
  175. package/types/src/components/column-picker/base-column-picker-dropdown.vue.d.ts.map +1 -0
  176. package/types/src/components/column-picker/base-column-picker-list.types.d.ts.map +1 -0
  177. package/types/src/components/column-picker/base-column-picker-list.vue.d.ts.map +1 -0
  178. package/types/src/components/column-picker/index.d.ts.map +1 -0
  179. package/types/src/components/currency/base-currency.vue.d.ts.map +1 -0
  180. package/types/src/components/currency/index.d.ts.map +1 -0
  181. package/types/src/components/decorators/injection.consts.d.ts.map +1 -0
  182. package/types/src/components/display-click-provider.vue.d.ts.map +1 -0
  183. package/types/src/components/display-emitter.vue.d.ts.map +1 -0
  184. package/types/src/components/filters/index.d.ts.map +1 -0
  185. package/types/src/components/filters/labels/base-price-filter-label.vue.d.ts.map +1 -0
  186. package/types/src/components/filters/labels/base-rating-filter-label.vue.d.ts.map +1 -0
  187. package/types/src/components/global-x-bus.vue.d.ts.map +1 -0
  188. package/types/src/components/highlight.vue.d.ts.map +1 -0
  189. package/types/src/components/icons/index.d.ts.map +1 -0
  190. package/types/src/components/index.d.ts.map +1 -0
  191. package/types/src/components/items-list.vue.d.ts.map +1 -0
  192. package/types/src/components/layouts/fixed-header-and-asides-layout.vue.d.ts.map +1 -0
  193. package/types/src/components/layouts/index.d.ts.map +1 -0
  194. package/types/src/components/layouts/multi-column-max-width-layout.vue.d.ts.map +1 -0
  195. package/types/src/components/layouts/single-column-layout.vue.d.ts.map +1 -0
  196. package/types/src/components/location-provider.vue.d.ts.map +1 -0
  197. package/types/src/components/modals/base-events-modal-close.vue.d.ts.map +1 -0
  198. package/types/src/components/modals/base-events-modal-open.vue.d.ts.map +1 -0
  199. package/types/src/components/modals/base-events-modal.vue.d.ts.map +1 -0
  200. package/types/src/components/modals/base-id-modal-close.vue.d.ts.map +1 -0
  201. package/types/src/components/modals/base-id-modal-open.vue.d.ts.map +1 -0
  202. package/types/src/components/modals/base-id-modal.vue.d.ts.map +1 -0
  203. package/types/src/components/modals/base-modal.vue.d.ts.map +1 -0
  204. package/types/src/components/modals/close-main-modal.vue.d.ts.map +1 -0
  205. package/types/src/components/modals/index.d.ts.map +1 -0
  206. package/types/src/components/modals/main-modal.vue.d.ts.map +1 -0
  207. package/types/src/components/modals/open-main-modal.vue.d.ts.map +1 -0
  208. package/types/src/components/page-loader-button.vue.d.ts.map +1 -0
  209. package/types/src/components/page-selector.vue.d.ts.map +1 -0
  210. package/types/src/components/panels/base-header-toggle-panel.vue.d.ts.map +1 -0
  211. package/types/src/components/panels/base-id-toggle-panel-button.vue.d.ts.map +1 -0
  212. package/types/src/components/panels/base-id-toggle-panel.vue.d.ts.map +1 -0
  213. package/types/src/components/panels/base-tabs-panel.vue.d.ts.map +1 -0
  214. package/types/src/components/panels/base-toggle-panel.vue.d.ts.map +1 -0
  215. package/types/src/components/panels/index.d.ts.map +1 -0
  216. package/types/src/components/result/base-result-add-to-cart.vue.d.ts.map +1 -0
  217. package/types/src/components/result/base-result-current-price.vue.d.ts.map +1 -0
  218. package/types/src/components/result/base-result-image.vue.d.ts.map +1 -0
  219. package/types/src/components/result/base-result-link.vue.d.ts.map +1 -0
  220. package/types/src/components/result/base-result-previous-price.vue.d.ts.map +1 -0
  221. package/types/src/components/result/base-result-rating.vue.d.ts.map +1 -0
  222. package/types/src/components/result/index.d.ts.map +1 -0
  223. package/types/src/components/result/result-variant-selector.vue.d.ts.map +1 -0
  224. package/types/src/components/result/result-variants-provider.vue.d.ts.map +1 -0
  225. package/types/src/components/scroll/base-scroll.vue.d.ts.map +1 -0
  226. package/types/src/components/scroll/index.d.ts.map +1 -0
  227. package/types/src/components/scroll/scroll.types.d.ts.map +1 -0
  228. package/types/src/components/scroll/use-scroll.d.ts.map +1 -0
  229. package/types/src/components/sliding-panel.vue.d.ts.map +1 -0
  230. package/types/src/components/snippet-callbacks.vue.d.ts.map +1 -0
  231. package/types/src/components/suggestions/base-suggestion.vue.d.ts.map +1 -0
  232. package/types/src/components/suggestions/base-suggestions.vue.d.ts.map +1 -0
  233. package/types/src/components/suggestions/index.d.ts.map +1 -0
  234. package/types/src/components/x-component.utils.d.ts.map +1 -0
  235. package/types/src/composables/create-use-device.d.ts.map +1 -0
  236. package/types/src/composables/index.d.ts.map +1 -0
  237. package/types/src/composables/use-$x.d.ts.map +1 -0
  238. package/types/src/composables/use-alias-api.d.ts.map +1 -0
  239. package/types/src/composables/use-debounce.d.ts.map +1 -0
  240. package/types/src/composables/use-getter.d.ts.map +1 -0
  241. package/types/src/composables/use-on-display.d.ts.map +1 -0
  242. package/types/src/composables/use-state.d.ts.map +1 -0
  243. package/types/src/composables/use-x-bus.d.ts.map +1 -0
  244. package/types/src/directives/index.d.ts.map +1 -0
  245. package/types/src/directives/infinite-scroll.d.ts.map +1 -0
  246. package/types/src/directives/typing.d.ts.map +1 -0
  247. package/types/src/index.d.ts +39 -0
  248. package/types/src/index.d.ts.map +1 -0
  249. package/types/src/plugins/index.d.ts +6 -0
  250. package/types/src/plugins/index.d.ts.map +1 -0
  251. package/types/src/plugins/x-bus.d.ts.map +1 -0
  252. package/types/src/plugins/x-emitters.d.ts.map +1 -0
  253. package/types/src/plugins/x-plugin.d.ts +260 -0
  254. package/types/src/plugins/x-plugin.d.ts.map +1 -0
  255. package/types/src/plugins/x-plugin.types.d.ts.map +1 -0
  256. package/types/src/plugins/x-plugin.utils.d.ts.map +1 -0
  257. package/types/src/services/directional-focus-navigation.service.d.ts.map +1 -0
  258. package/types/src/services/index.d.ts.map +1 -0
  259. package/types/src/services/services.types.d.ts.map +1 -0
  260. package/types/src/services/state-machine.service.d.ts.map +1 -0
  261. package/types/src/store/actions.types.d.ts.map +1 -0
  262. package/types/src/store/getters.types.d.ts.map +1 -0
  263. package/types/src/store/index.d.ts.map +1 -0
  264. package/types/src/store/mutations.types.d.ts.map +1 -0
  265. package/types/src/store/store.types.d.ts.map +1 -0
  266. package/types/src/store/utils/config-store.utils.d.ts.map +1 -0
  267. package/types/src/store/utils/fetch-and-save-action.utils.d.ts.map +1 -0
  268. package/types/src/store/utils/getters-proxy.utils.d.ts.map +1 -0
  269. package/types/src/store/utils/query.utils.d.ts.map +1 -0
  270. package/types/src/store/utils/status-store.utils.d.ts.map +1 -0
  271. package/types/src/store/utils/store-emitters.utils.d.ts.map +1 -0
  272. package/types/src/store/x.module.d.ts.map +1 -0
  273. package/types/src/types/animation-prop.d.ts.map +1 -0
  274. package/types/src/types/index.d.ts +5 -0
  275. package/types/src/types/index.d.ts.map +1 -0
  276. package/types/src/types/origin.d.ts.map +1 -0
  277. package/types/src/types/page-mode.d.ts +6 -0
  278. package/types/src/types/page-mode.d.ts.map +1 -0
  279. package/types/src/types/url-params.d.ts.map +1 -0
  280. package/types/src/utils/array.d.ts.map +1 -0
  281. package/types/src/utils/cancellable-promise.d.ts.map +1 -0
  282. package/types/src/utils/clone.d.ts.map +1 -0
  283. package/types/src/utils/currency-formatter.d.ts.map +1 -0
  284. package/types/src/utils/debounce.d.ts.map +1 -0
  285. package/types/src/utils/filters.d.ts.map +1 -0
  286. package/types/src/utils/focus.d.ts.map +1 -0
  287. package/types/src/utils/function.d.ts.map +1 -0
  288. package/types/src/utils/get-url-parameters.d.ts.map +1 -0
  289. package/types/src/utils/html.d.ts.map +1 -0
  290. package/types/src/utils/index.d.ts.map +1 -0
  291. package/types/src/utils/ios-utils.d.ts.map +1 -0
  292. package/types/src/utils/is-new-query.d.ts.map +1 -0
  293. package/types/src/utils/normalize.d.ts.map +1 -0
  294. package/types/src/utils/number.d.ts.map +1 -0
  295. package/types/src/utils/origin.d.ts.map +1 -0
  296. package/types/src/utils/sanitize.d.ts.map +1 -0
  297. package/types/src/utils/storage.d.ts.map +1 -0
  298. package/types/src/utils/string.d.ts.map +1 -0
  299. package/types/src/utils/throttle.d.ts.map +1 -0
  300. package/types/src/utils/types.d.ts.map +1 -0
  301. package/types/src/wiring/events.types.d.ts.map +1 -0
  302. package/types/src/wiring/index.d.ts.map +1 -0
  303. package/types/src/wiring/namespaced-wires.factory.d.ts.map +1 -0
  304. package/types/src/wiring/namespaced-wires.operators.d.ts.map +1 -0
  305. package/types/src/wiring/namespaced-wiring.types.d.ts.map +1 -0
  306. package/types/src/wiring/wires-operators.utils.d.ts.map +1 -0
  307. package/types/src/wiring/wires.factory.d.ts.map +1 -0
  308. package/types/src/wiring/wires.operators.d.ts.map +1 -0
  309. package/types/src/wiring/wiring.types.d.ts.map +1 -0
  310. package/types/src/wiring/wiring.utils.d.ts.map +1 -0
  311. package/types/src/x-bus/index.d.ts +5 -0
  312. package/types/src/x-bus/index.d.ts.map +1 -0
  313. package/types/src/x-bus/x-bus.d.ts +154 -0
  314. package/types/src/x-bus/x-bus.d.ts.map +1 -0
  315. package/types/src/x-bus/x-bus.types.d.ts.map +1 -0
  316. package/types/src/x-bus/x-priority-queue.d.ts.map +1 -0
  317. package/types/src/x-bus/x-priority-queue.types.d.ts.map +1 -0
  318. package/types/src/x-installer/api/api.types.d.ts.map +1 -0
  319. package/types/src/x-installer/api/base-api.d.ts.map +1 -0
  320. package/types/src/x-installer/api/index.d.ts.map +1 -0
  321. package/types/src/x-installer/index.d.ts +4 -0
  322. package/types/src/x-installer/index.d.ts.map +1 -0
  323. package/types/src/x-installer/types.d.ts +84 -0
  324. package/types/src/x-installer/types.d.ts.map +1 -0
  325. package/types/src/x-installer/x-installer.d.ts +217 -0
  326. package/types/src/x-installer/x-installer.d.ts.map +1 -0
  327. package/types/src/x-modules/ai/components/ai-carousel.vue.d.ts.map +1 -0
  328. package/types/src/x-modules/ai/components/ai-overview.vue.d.ts.map +1 -0
  329. package/types/src/x-modules/ai/components/index.d.ts.map +1 -0
  330. package/types/src/x-modules/ai/config.types.d.ts.map +1 -0
  331. package/types/src/x-modules/ai/events.types.d.ts.map +1 -0
  332. package/types/src/x-modules/ai/index.d.ts.map +1 -0
  333. package/types/src/x-modules/ai/store/actions/fetch-and-save-ai-suggestions-search.action.d.ts.map +1 -0
  334. package/types/src/x-modules/ai/store/actions/fetch-and-save-ai-suggestions.action.d.ts.map +1 -0
  335. package/types/src/x-modules/ai/store/actions/index.d.ts.map +1 -0
  336. package/types/src/x-modules/ai/store/actions/save-origin.action.d.ts.map +1 -0
  337. package/types/src/x-modules/ai/store/actions/set-url-params.action.d.ts.map +1 -0
  338. package/types/src/x-modules/ai/store/emitters.d.ts.map +1 -0
  339. package/types/src/x-modules/ai/store/getters/ai-query.getter.d.ts.map +1 -0
  340. package/types/src/x-modules/ai/store/getters/index.d.ts.map +1 -0
  341. package/types/src/x-modules/ai/store/getters/suggestions-request.getter.d.ts.map +1 -0
  342. package/types/src/x-modules/ai/store/getters/suggestions-search-request.getter.d.ts.map +1 -0
  343. package/types/src/x-modules/ai/store/index.d.ts.map +1 -0
  344. package/types/src/x-modules/ai/store/module.d.ts.map +1 -0
  345. package/types/src/x-modules/ai/store/types.d.ts.map +1 -0
  346. package/types/src/x-modules/ai/wiring.d.ts.map +1 -0
  347. package/types/src/x-modules/ai/x-module.d.ts.map +1 -0
  348. package/types/src/x-modules/device/components/device-detector.vue.d.ts.map +1 -0
  349. package/types/src/x-modules/device/components/index.d.ts.map +1 -0
  350. package/types/src/x-modules/device/events.types.d.ts.map +1 -0
  351. package/types/src/x-modules/device/index.d.ts.map +1 -0
  352. package/types/src/x-modules/device/store/emitters.d.ts.map +1 -0
  353. package/types/src/x-modules/device/store/index.d.ts.map +1 -0
  354. package/types/src/x-modules/device/store/module.d.ts.map +1 -0
  355. package/types/src/x-modules/device/store/types.d.ts.map +1 -0
  356. package/types/src/x-modules/device/wiring.d.ts.map +1 -0
  357. package/types/src/x-modules/device/x-module.d.ts.map +1 -0
  358. package/types/src/x-modules/empathize/components/empathize.vue.d.ts.map +1 -0
  359. package/types/src/x-modules/empathize/components/index.d.ts.map +1 -0
  360. package/types/src/x-modules/empathize/config.types.d.ts.map +1 -0
  361. package/types/src/x-modules/empathize/events.types.d.ts.map +1 -0
  362. package/types/src/x-modules/empathize/index.d.ts.map +1 -0
  363. package/types/src/x-modules/empathize/store/emitters.d.ts.map +1 -0
  364. package/types/src/x-modules/empathize/store/index.d.ts.map +1 -0
  365. package/types/src/x-modules/empathize/store/module.d.ts.map +1 -0
  366. package/types/src/x-modules/empathize/store/types.d.ts.map +1 -0
  367. package/types/src/x-modules/empathize/wiring.d.ts.map +1 -0
  368. package/types/src/x-modules/empathize/x-module.d.ts.map +1 -0
  369. package/types/src/x-modules/experience-controls/components/experience-controls.vue.d.ts.map +1 -0
  370. package/types/src/x-modules/experience-controls/components/index.d.ts.map +1 -0
  371. package/types/src/x-modules/experience-controls/events.types.d.ts.map +1 -0
  372. package/types/src/x-modules/experience-controls/index.d.ts.map +1 -0
  373. package/types/src/x-modules/experience-controls/store/actions/fetch-and-save-experience-controls.action.d.ts.map +1 -0
  374. package/types/src/x-modules/experience-controls/store/actions/fetch-experience-controls.action.d.ts.map +1 -0
  375. package/types/src/x-modules/experience-controls/store/actions/index.d.ts.map +1 -0
  376. package/types/src/x-modules/experience-controls/store/emitters.d.ts.map +1 -0
  377. package/types/src/x-modules/experience-controls/store/getters/experience-controls-results-request.getter.d.ts.map +1 -0
  378. package/types/src/x-modules/experience-controls/store/getters/index.d.ts.map +1 -0
  379. package/types/src/x-modules/experience-controls/store/index.d.ts.map +1 -0
  380. package/types/src/x-modules/experience-controls/store/module.d.ts.map +1 -0
  381. package/types/src/x-modules/experience-controls/store/types.d.ts.map +1 -0
  382. package/types/src/x-modules/experience-controls/wiring.d.ts.map +1 -0
  383. package/types/src/x-modules/experience-controls/x-module.d.ts.map +1 -0
  384. package/types/src/x-modules/extra-params/components/extra-params.vue.d.ts.map +1 -0
  385. package/types/src/x-modules/extra-params/components/index.d.ts.map +1 -0
  386. package/types/src/x-modules/extra-params/components/renderless-extra-param.vue.d.ts.map +1 -0
  387. package/types/src/x-modules/extra-params/components/snippet-config-extra-params.vue.d.ts.map +1 -0
  388. package/types/src/x-modules/extra-params/events.types.d.ts.map +1 -0
  389. package/types/src/x-modules/extra-params/index.d.ts.map +1 -0
  390. package/types/src/x-modules/extra-params/store/emitters.d.ts.map +1 -0
  391. package/types/src/x-modules/extra-params/store/index.d.ts.map +1 -0
  392. package/types/src/x-modules/extra-params/store/module.d.ts.map +1 -0
  393. package/types/src/x-modules/extra-params/store/types.d.ts.map +1 -0
  394. package/types/src/x-modules/extra-params/wiring.d.ts.map +1 -0
  395. package/types/src/x-modules/extra-params/x-module.d.ts.map +1 -0
  396. package/types/src/x-modules/facets/components/clear-filters.vue.d.ts.map +1 -0
  397. package/types/src/x-modules/facets/components/facets/facets-provider.vue.d.ts.map +1 -0
  398. package/types/src/x-modules/facets/components/facets/facets.types.d.ts.map +1 -0
  399. package/types/src/x-modules/facets/components/facets/facets.vue.d.ts.map +1 -0
  400. package/types/src/x-modules/facets/components/filters/all-filter.vue.d.ts.map +1 -0
  401. package/types/src/x-modules/facets/components/filters/editable-number-range-filter.vue.d.ts.map +1 -0
  402. package/types/src/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts.map +1 -0
  403. package/types/src/x-modules/facets/components/filters/number-range-filter.vue.d.ts.map +1 -0
  404. package/types/src/x-modules/facets/components/filters/renderless-filter.vue.d.ts.map +1 -0
  405. package/types/src/x-modules/facets/components/filters/simple-filter.vue.d.ts.map +1 -0
  406. package/types/src/x-modules/facets/components/index.d.ts.map +1 -0
  407. package/types/src/x-modules/facets/components/lists/exclude-filters-with-no-results.vue.d.ts.map +1 -0
  408. package/types/src/x-modules/facets/components/lists/filters-list.vue.d.ts.map +1 -0
  409. package/types/src/x-modules/facets/components/lists/filters-search.vue.d.ts.map +1 -0
  410. package/types/src/x-modules/facets/components/lists/selected-filters-list.types.d.ts.map +1 -0
  411. package/types/src/x-modules/facets/components/lists/selected-filters-list.vue.d.ts.map +1 -0
  412. package/types/src/x-modules/facets/components/lists/selected-filters.vue.d.ts.map +1 -0
  413. package/types/src/x-modules/facets/components/lists/sliced-filters.vue.d.ts.map +1 -0
  414. package/types/src/x-modules/facets/components/lists/sorted-filters.vue.d.ts.map +1 -0
  415. package/types/src/x-modules/facets/components/preselected-filters.vue.d.ts.map +1 -0
  416. package/types/src/x-modules/facets/composables/index.d.ts.map +1 -0
  417. package/types/src/x-modules/facets/composables/use-facets.d.ts.map +1 -0
  418. package/types/src/x-modules/facets/composables/use-filters-injection.d.ts.map +1 -0
  419. package/types/src/x-modules/facets/entities/add-facet-if-not-present.d.ts.map +1 -0
  420. package/types/src/x-modules/facets/entities/editable-number-range-filter.entity.d.ts.map +1 -0
  421. package/types/src/x-modules/facets/entities/filter-entity.factory.d.ts.map +1 -0
  422. package/types/src/x-modules/facets/entities/hierarchical-filter.entity.d.ts.map +1 -0
  423. package/types/src/x-modules/facets/entities/index.d.ts.map +1 -0
  424. package/types/src/x-modules/facets/entities/number-range-filter.entity.d.ts.map +1 -0
  425. package/types/src/x-modules/facets/entities/raw-filter.entity.d.ts.map +1 -0
  426. package/types/src/x-modules/facets/entities/simple-filter.entity.d.ts.map +1 -0
  427. package/types/src/x-modules/facets/entities/single-select.modifier.d.ts.map +1 -0
  428. package/types/src/x-modules/facets/entities/sticky.modifier.d.ts.map +1 -0
  429. package/types/src/x-modules/facets/entities/types.d.ts.map +1 -0
  430. package/types/src/x-modules/facets/events.types.d.ts.map +1 -0
  431. package/types/src/x-modules/facets/index.d.ts.map +1 -0
  432. package/types/src/x-modules/facets/service/facets.service.d.ts.map +1 -0
  433. package/types/src/x-modules/facets/service/index.d.ts.map +1 -0
  434. package/types/src/x-modules/facets/service/types.d.ts.map +1 -0
  435. package/types/src/x-modules/facets/store/actions/fetch-and-save-facets-response.action.d.ts.map +1 -0
  436. package/types/src/x-modules/facets/store/actions/fetch-facets-response.action.d.ts.map +1 -0
  437. package/types/src/x-modules/facets/store/actions/save-origin.action.d.ts.map +1 -0
  438. package/types/src/x-modules/facets/store/constants.d.ts.map +1 -0
  439. package/types/src/x-modules/facets/store/emitters.d.ts.map +1 -0
  440. package/types/src/x-modules/facets/store/getters/facets.getter.d.ts.map +1 -0
  441. package/types/src/x-modules/facets/store/getters/index.d.ts.map +1 -0
  442. package/types/src/x-modules/facets/store/getters/request.getter.d.ts.map +1 -0
  443. package/types/src/x-modules/facets/store/getters/selected-filters-by-facet.getter.d.ts.map +1 -0
  444. package/types/src/x-modules/facets/store/getters/selected-filters-for-request.getter.d.ts.map +1 -0
  445. package/types/src/x-modules/facets/store/getters/selected-filters.getter.d.ts.map +1 -0
  446. package/types/src/x-modules/facets/store/index.d.ts.map +1 -0
  447. package/types/src/x-modules/facets/store/module.d.ts.map +1 -0
  448. package/types/src/x-modules/facets/store/types.d.ts.map +1 -0
  449. package/types/src/x-modules/facets/utils.d.ts.map +1 -0
  450. package/types/src/x-modules/facets/wiring.d.ts.map +1 -0
  451. package/types/src/x-modules/facets/x-module.d.ts.map +1 -0
  452. package/types/src/x-modules/history-queries/components/clear-history-queries.vue.d.ts.map +1 -0
  453. package/types/src/x-modules/history-queries/components/history-queries-switch.vue.d.ts.map +1 -0
  454. package/types/src/x-modules/history-queries/components/history-queries.vue.d.ts.map +1 -0
  455. package/types/src/x-modules/history-queries/components/history-query.vue.d.ts.map +1 -0
  456. package/types/src/x-modules/history-queries/components/index.d.ts.map +1 -0
  457. package/types/src/x-modules/history-queries/components/my-history.vue.d.ts.map +1 -0
  458. package/types/src/x-modules/history-queries/components/remove-history-query.vue.d.ts.map +1 -0
  459. package/types/src/x-modules/history-queries/config.types.d.ts.map +1 -0
  460. package/types/src/x-modules/history-queries/events.types.d.ts.map +1 -0
  461. package/types/src/x-modules/history-queries/index.d.ts.map +1 -0
  462. package/types/src/x-modules/history-queries/store/actions/add-query-to-history.action.d.ts.map +1 -0
  463. package/types/src/x-modules/history-queries/store/actions/load-history-queries-from-browser-storage.action.d.ts.map +1 -0
  464. package/types/src/x-modules/history-queries/store/actions/refresh-session.action.d.ts.map +1 -0
  465. package/types/src/x-modules/history-queries/store/actions/remove-query-from-history.action.d.ts.map +1 -0
  466. package/types/src/x-modules/history-queries/store/actions/set-history-queries.action.d.ts.map +1 -0
  467. package/types/src/x-modules/history-queries/store/actions/set-url-params.action.d.ts.map +1 -0
  468. package/types/src/x-modules/history-queries/store/actions/toggle-history-queries.action.d.ts.map +1 -0
  469. package/types/src/x-modules/history-queries/store/actions/update-history-queries-with-search-response.action.d.ts.map +1 -0
  470. package/types/src/x-modules/history-queries/store/constants.d.ts.map +1 -0
  471. package/types/src/x-modules/history-queries/store/emitters.d.ts.map +1 -0
  472. package/types/src/x-modules/history-queries/store/getters/history-queries-with-results.getter.d.ts.map +1 -0
  473. package/types/src/x-modules/history-queries/store/getters/history-queries.getter.d.ts.map +1 -0
  474. package/types/src/x-modules/history-queries/store/getters/normalized-query.getter.d.ts.map +1 -0
  475. package/types/src/x-modules/history-queries/store/getters/session-history-queries.getter.d.ts.map +1 -0
  476. package/types/src/x-modules/history-queries/store/getters/storage-key.getter.d.ts.map +1 -0
  477. package/types/src/x-modules/history-queries/store/index.d.ts.map +1 -0
  478. package/types/src/x-modules/history-queries/store/module.d.ts.map +1 -0
  479. package/types/src/x-modules/history-queries/store/types.d.ts.map +1 -0
  480. package/types/src/x-modules/history-queries/wiring.d.ts.map +1 -0
  481. package/types/src/x-modules/history-queries/x-module.d.ts.map +1 -0
  482. package/types/src/x-modules/identifier-results/components/identifier-result.vue.d.ts.map +1 -0
  483. package/types/src/x-modules/identifier-results/components/identifier-results.vue.d.ts.map +1 -0
  484. package/types/src/x-modules/identifier-results/components/index.d.ts.map +1 -0
  485. package/types/src/x-modules/identifier-results/config.types.d.ts.map +1 -0
  486. package/types/src/x-modules/identifier-results/events.types.d.ts.map +1 -0
  487. package/types/src/x-modules/identifier-results/index.d.ts.map +1 -0
  488. package/types/src/x-modules/identifier-results/store/actions/fetch-and-save-identifier-results.action.d.ts.map +1 -0
  489. package/types/src/x-modules/identifier-results/store/actions/fetch-identifier-results.action.d.ts.map +1 -0
  490. package/types/src/x-modules/identifier-results/store/actions/index.d.ts.map +1 -0
  491. package/types/src/x-modules/identifier-results/store/actions/save-origin.action.d.ts.map +1 -0
  492. package/types/src/x-modules/identifier-results/store/actions/save-query.action.d.ts.map +1 -0
  493. package/types/src/x-modules/identifier-results/store/emitters.d.ts.map +1 -0
  494. package/types/src/x-modules/identifier-results/store/getters/identifier-detection-regexp.getter.d.ts.map +1 -0
  495. package/types/src/x-modules/identifier-results/store/getters/identifier-highlight-regexp.getter.d.ts.map +1 -0
  496. package/types/src/x-modules/identifier-results/store/getters/identifier-results-request.getter.d.ts.map +1 -0
  497. package/types/src/x-modules/identifier-results/store/index.d.ts.map +1 -0
  498. package/types/src/x-modules/identifier-results/store/module.d.ts.map +1 -0
  499. package/types/src/x-modules/identifier-results/store/types.d.ts.map +1 -0
  500. package/types/src/x-modules/identifier-results/wiring.d.ts.map +1 -0
  501. package/types/src/x-modules/identifier-results/x-module.d.ts.map +1 -0
  502. package/types/src/x-modules/next-queries/components/index.d.ts.map +1 -0
  503. package/types/src/x-modules/next-queries/components/next-queries-list.vue.d.ts.map +1 -0
  504. package/types/src/x-modules/next-queries/components/next-queries.vue.d.ts.map +1 -0
  505. package/types/src/x-modules/next-queries/components/next-query-preview.vue.d.ts.map +1 -0
  506. package/types/src/x-modules/next-queries/components/next-query.vue.d.ts.map +1 -0
  507. package/types/src/x-modules/next-queries/config.types.d.ts.map +1 -0
  508. package/types/src/x-modules/next-queries/events.types.d.ts.map +1 -0
  509. package/types/src/x-modules/next-queries/index.d.ts.map +1 -0
  510. package/types/src/x-modules/next-queries/store/actions/fetch-and-save-next-queries.action.d.ts.map +1 -0
  511. package/types/src/x-modules/next-queries/store/actions/fetch-and-save-next-query-preview.action.d.ts.map +1 -0
  512. package/types/src/x-modules/next-queries/store/actions/fetch-next-queries.action.d.ts.map +1 -0
  513. package/types/src/x-modules/next-queries/store/actions/fetch-next-query-preview.action.d.ts.map +1 -0
  514. package/types/src/x-modules/next-queries/store/actions/set-query-from-last-history-query.action.d.ts.map +1 -0
  515. package/types/src/x-modules/next-queries/store/actions/set-url-params.action.d.ts.map +1 -0
  516. package/types/src/x-modules/next-queries/store/emitters.d.ts.map +1 -0
  517. package/types/src/x-modules/next-queries/store/getters/next-queries-query.getter.d.ts.map +1 -0
  518. package/types/src/x-modules/next-queries/store/getters/next-queries.getter.d.ts.map +1 -0
  519. package/types/src/x-modules/next-queries/store/getters/request.getter.d.ts.map +1 -0
  520. package/types/src/x-modules/next-queries/store/index.d.ts.map +1 -0
  521. package/types/src/x-modules/next-queries/store/module.d.ts.map +1 -0
  522. package/types/src/x-modules/next-queries/store/types.d.ts.map +1 -0
  523. package/types/src/x-modules/next-queries/types.d.ts.map +1 -0
  524. package/types/src/x-modules/next-queries/wiring.d.ts.map +1 -0
  525. package/types/src/x-modules/next-queries/x-module.d.ts.map +1 -0
  526. package/types/src/x-modules/popular-searches/components/index.d.ts.map +1 -0
  527. package/types/src/x-modules/popular-searches/components/popular-search.vue.d.ts.map +1 -0
  528. package/types/src/x-modules/popular-searches/components/popular-searches.vue.d.ts.map +1 -0
  529. package/types/src/x-modules/popular-searches/config.types.d.ts.map +1 -0
  530. package/types/src/x-modules/popular-searches/events.types.d.ts.map +1 -0
  531. package/types/src/x-modules/popular-searches/index.d.ts.map +1 -0
  532. package/types/src/x-modules/popular-searches/store/actions/fetch-and-save-suggestions.action.d.ts.map +1 -0
  533. package/types/src/x-modules/popular-searches/store/actions/fetch-suggestions.action.d.ts.map +1 -0
  534. package/types/src/x-modules/popular-searches/store/emitters.d.ts.map +1 -0
  535. package/types/src/x-modules/popular-searches/store/getters/popular-searches.getter.d.ts.map +1 -0
  536. package/types/src/x-modules/popular-searches/store/getters/request.getter.d.ts.map +1 -0
  537. package/types/src/x-modules/popular-searches/store/index.d.ts.map +1 -0
  538. package/types/src/x-modules/popular-searches/store/module.d.ts.map +1 -0
  539. package/types/src/x-modules/popular-searches/store/types.d.ts.map +1 -0
  540. package/types/src/x-modules/popular-searches/wiring.d.ts.map +1 -0
  541. package/types/src/x-modules/popular-searches/x-module.d.ts.map +1 -0
  542. package/types/src/x-modules/queries-preview/components/index.d.ts.map +1 -0
  543. package/types/src/x-modules/queries-preview/components/query-preview-button.vue.d.ts.map +1 -0
  544. package/types/src/x-modules/queries-preview/components/query-preview-list.vue.d.ts.map +1 -0
  545. package/types/src/x-modules/queries-preview/components/query-preview.vue.d.ts.map +1 -0
  546. package/types/src/x-modules/queries-preview/composables/index.d.ts.map +1 -0
  547. package/types/src/x-modules/queries-preview/composables/use-queries-preview.composable.d.ts.map +1 -0
  548. package/types/src/x-modules/queries-preview/config.types.d.ts.map +1 -0
  549. package/types/src/x-modules/queries-preview/events.types.d.ts.map +1 -0
  550. package/types/src/x-modules/queries-preview/index.d.ts.map +1 -0
  551. package/types/src/x-modules/queries-preview/store/actions/fetch-and-save-query-preview.action.d.ts.map +1 -0
  552. package/types/src/x-modules/queries-preview/store/actions/fetch-query-preview.action.d.ts.map +1 -0
  553. package/types/src/x-modules/queries-preview/store/emitters.d.ts.map +1 -0
  554. package/types/src/x-modules/queries-preview/store/getters/loaded-queries-preview.getter.d.ts.map +1 -0
  555. package/types/src/x-modules/queries-preview/store/index.d.ts.map +1 -0
  556. package/types/src/x-modules/queries-preview/store/module.d.ts.map +1 -0
  557. package/types/src/x-modules/queries-preview/store/types.d.ts.map +1 -0
  558. package/types/src/x-modules/queries-preview/utils/get-hash-from-query-preview.d.ts.map +1 -0
  559. package/types/src/x-modules/queries-preview/wiring.d.ts.map +1 -0
  560. package/types/src/x-modules/queries-preview/x-module.d.ts.map +1 -0
  561. package/types/src/x-modules/query-suggestions/components/index.d.ts.map +1 -0
  562. package/types/src/x-modules/query-suggestions/components/query-suggestion.vue.d.ts.map +1 -0
  563. package/types/src/x-modules/query-suggestions/components/query-suggestions.vue.d.ts.map +1 -0
  564. package/types/src/x-modules/query-suggestions/config.types.d.ts.map +1 -0
  565. package/types/src/x-modules/query-suggestions/events.types.d.ts.map +1 -0
  566. package/types/src/x-modules/query-suggestions/index.d.ts.map +1 -0
  567. package/types/src/x-modules/query-suggestions/store/actions/fetch-and-save-suggestions.action.d.ts.map +1 -0
  568. package/types/src/x-modules/query-suggestions/store/actions/fetch-suggestions.action.d.ts.map +1 -0
  569. package/types/src/x-modules/query-suggestions/store/actions/set-url-params.action.d.ts.map +1 -0
  570. package/types/src/x-modules/query-suggestions/store/emitters.d.ts.map +1 -0
  571. package/types/src/x-modules/query-suggestions/store/getters/normalized-query.getter.d.ts.map +1 -0
  572. package/types/src/x-modules/query-suggestions/store/getters/query-suggestions.getter.d.ts.map +1 -0
  573. package/types/src/x-modules/query-suggestions/store/getters/request.getter.d.ts.map +1 -0
  574. package/types/src/x-modules/query-suggestions/store/index.d.ts.map +1 -0
  575. package/types/src/x-modules/query-suggestions/store/module.d.ts.map +1 -0
  576. package/types/src/x-modules/query-suggestions/store/types.d.ts.map +1 -0
  577. package/types/src/x-modules/query-suggestions/wiring.d.ts.map +1 -0
  578. package/types/src/x-modules/query-suggestions/x-module.d.ts.map +1 -0
  579. package/types/src/x-modules/recommendations/components/index.d.ts.map +1 -0
  580. package/types/src/x-modules/recommendations/components/recommendations.vue.d.ts.map +1 -0
  581. package/types/src/x-modules/recommendations/config.types.d.ts.map +1 -0
  582. package/types/src/x-modules/recommendations/events.types.d.ts.map +1 -0
  583. package/types/src/x-modules/recommendations/index.d.ts.map +1 -0
  584. package/types/src/x-modules/recommendations/store/actions/fetch-and-save-recommendations.action.d.ts.map +1 -0
  585. package/types/src/x-modules/recommendations/store/actions/fetch-recommendations.action.d.ts.map +1 -0
  586. package/types/src/x-modules/recommendations/store/constants.d.ts.map +1 -0
  587. package/types/src/x-modules/recommendations/store/emitters.d.ts.map +1 -0
  588. package/types/src/x-modules/recommendations/store/getters/request.getter.d.ts.map +1 -0
  589. package/types/src/x-modules/recommendations/store/index.d.ts.map +1 -0
  590. package/types/src/x-modules/recommendations/store/module.d.ts.map +1 -0
  591. package/types/src/x-modules/recommendations/store/types.d.ts.map +1 -0
  592. package/types/src/x-modules/recommendations/wiring.d.ts.map +1 -0
  593. package/types/src/x-modules/recommendations/x-module.d.ts.map +1 -0
  594. package/types/src/x-modules/related-prompts/components/index.d.ts.map +1 -0
  595. package/types/src/x-modules/related-prompts/components/related-prompt.vue.d.ts.map +1 -0
  596. package/types/src/x-modules/related-prompts/components/related-prompts-list.vue.d.ts.map +1 -0
  597. package/types/src/x-modules/related-prompts/components/related-prompts-tag-list.vue.d.ts.map +1 -0
  598. package/types/src/x-modules/related-prompts/events.types.d.ts.map +1 -0
  599. package/types/src/x-modules/related-prompts/index.d.ts.map +1 -0
  600. package/types/src/x-modules/related-prompts/store/actions/fetch-and-save-related-prompts.action.d.ts.map +1 -0
  601. package/types/src/x-modules/related-prompts/store/actions/fetch-related-prompts.action.d.ts.map +1 -0
  602. package/types/src/x-modules/related-prompts/store/actions/set-url-params.action.d.ts.map +1 -0
  603. package/types/src/x-modules/related-prompts/store/emitters.d.ts.map +1 -0
  604. package/types/src/x-modules/related-prompts/store/getters/index.d.ts.map +1 -0
  605. package/types/src/x-modules/related-prompts/store/getters/related-prompts-query.getter.d.ts.map +1 -0
  606. package/types/src/x-modules/related-prompts/store/getters/request.getter.d.ts.map +1 -0
  607. package/types/src/x-modules/related-prompts/store/index.d.ts.map +1 -0
  608. package/types/src/x-modules/related-prompts/store/module.d.ts.map +1 -0
  609. package/types/src/x-modules/related-prompts/store/types.d.ts.map +1 -0
  610. package/types/src/x-modules/related-prompts/types.d.ts.map +1 -0
  611. package/types/src/x-modules/related-prompts/wiring.d.ts.map +1 -0
  612. package/types/src/x-modules/related-prompts/x-module.d.ts.map +1 -0
  613. package/types/src/x-modules/related-tags/components/index.d.ts.map +1 -0
  614. package/types/src/x-modules/related-tags/components/related-tag.vue.d.ts.map +1 -0
  615. package/types/src/x-modules/related-tags/components/related-tags.vue.d.ts.map +1 -0
  616. package/types/src/x-modules/related-tags/config.types.d.ts.map +1 -0
  617. package/types/src/x-modules/related-tags/events.types.d.ts.map +1 -0
  618. package/types/src/x-modules/related-tags/index.d.ts.map +1 -0
  619. package/types/src/x-modules/related-tags/store/actions/fetch-and-save-related-tags.action.d.ts.map +1 -0
  620. package/types/src/x-modules/related-tags/store/actions/fetch-related-tags.action.d.ts.map +1 -0
  621. package/types/src/x-modules/related-tags/store/actions/set-url-params.action.d.ts.map +1 -0
  622. package/types/src/x-modules/related-tags/store/actions/toggle-related-tag.action.d.ts.map +1 -0
  623. package/types/src/x-modules/related-tags/store/emitters.d.ts.map +1 -0
  624. package/types/src/x-modules/related-tags/store/getters/query.getter.d.ts.map +1 -0
  625. package/types/src/x-modules/related-tags/store/getters/related-tags.getter.d.ts.map +1 -0
  626. package/types/src/x-modules/related-tags/store/getters/request.getter.d.ts.map +1 -0
  627. package/types/src/x-modules/related-tags/store/index.d.ts.map +1 -0
  628. package/types/src/x-modules/related-tags/store/module.d.ts.map +1 -0
  629. package/types/src/x-modules/related-tags/store/types.d.ts.map +1 -0
  630. package/types/src/x-modules/related-tags/wiring.d.ts.map +1 -0
  631. package/types/src/x-modules/related-tags/x-module.d.ts.map +1 -0
  632. package/types/src/x-modules/scroll/components/index.d.ts.map +1 -0
  633. package/types/src/x-modules/scroll/components/main-scroll-item.vue.d.ts.map +1 -0
  634. package/types/src/x-modules/scroll/components/main-scroll.vue.d.ts.map +1 -0
  635. package/types/src/x-modules/scroll/components/scroll-to-top.vue.d.ts.map +1 -0
  636. package/types/src/x-modules/scroll/components/scroll.const.d.ts.map +1 -0
  637. package/types/src/x-modules/scroll/components/scroll.types.d.ts.map +1 -0
  638. package/types/src/x-modules/scroll/components/scroll.vue.d.ts.map +1 -0
  639. package/types/src/x-modules/scroll/events.types.d.ts.map +1 -0
  640. package/types/src/x-modules/scroll/index.d.ts.map +1 -0
  641. package/types/src/x-modules/scroll/store/emitters.d.ts.map +1 -0
  642. package/types/src/x-modules/scroll/store/index.d.ts.map +1 -0
  643. package/types/src/x-modules/scroll/store/module.d.ts.map +1 -0
  644. package/types/src/x-modules/scroll/store/types.d.ts.map +1 -0
  645. package/types/src/x-modules/scroll/wiring.d.ts.map +1 -0
  646. package/types/src/x-modules/scroll/x-module.d.ts.map +1 -0
  647. package/types/src/x-modules/search/components/banner.vue.d.ts.map +1 -0
  648. package/types/src/x-modules/search/components/banners-list.vue.d.ts.map +1 -0
  649. package/types/src/x-modules/search/components/fallback-disclaimer.vue.d.ts.map +1 -0
  650. package/types/src/x-modules/search/components/index.d.ts.map +1 -0
  651. package/types/src/x-modules/search/components/partial-query-button.vue.d.ts.map +1 -0
  652. package/types/src/x-modules/search/components/partial-results-list.vue.d.ts.map +1 -0
  653. package/types/src/x-modules/search/components/promoted.vue.d.ts.map +1 -0
  654. package/types/src/x-modules/search/components/promoteds-list.vue.d.ts.map +1 -0
  655. package/types/src/x-modules/search/components/redirection.vue.d.ts.map +1 -0
  656. package/types/src/x-modules/search/components/results-list.vue.d.ts.map +1 -0
  657. package/types/src/x-modules/search/components/sort-dropdown.vue.d.ts.map +1 -0
  658. package/types/src/x-modules/search/components/sort-list.vue.d.ts.map +1 -0
  659. package/types/src/x-modules/search/components/sort-picker-list.types.d.ts.map +1 -0
  660. package/types/src/x-modules/search/components/sort-picker-list.vue.d.ts.map +1 -0
  661. package/types/src/x-modules/search/components/spellcheck-button.vue.d.ts.map +1 -0
  662. package/types/src/x-modules/search/components/spellcheck.vue.d.ts.map +1 -0
  663. package/types/src/x-modules/search/config.types.d.ts.map +1 -0
  664. package/types/src/x-modules/search/events.types.d.ts.map +1 -0
  665. package/types/src/x-modules/search/index.d.ts.map +1 -0
  666. package/types/src/x-modules/search/store/actions/fetch-and-save-search-response.action.d.ts.map +1 -0
  667. package/types/src/x-modules/search/store/actions/fetch-search-response.action.d.ts.map +1 -0
  668. package/types/src/x-modules/search/store/actions/increase-page-apending-results.action.d.ts.map +1 -0
  669. package/types/src/x-modules/search/store/actions/index.d.ts.map +1 -0
  670. package/types/src/x-modules/search/store/actions/reset-request-on-refinement.action.d.ts.map +1 -0
  671. package/types/src/x-modules/search/store/actions/save-origin.action.d.ts.map +1 -0
  672. package/types/src/x-modules/search/store/actions/save-search-response.action.d.ts.map +1 -0
  673. package/types/src/x-modules/search/store/actions/set-url-params.action.d.ts.map +1 -0
  674. package/types/src/x-modules/search/store/emitters.d.ts.map +1 -0
  675. package/types/src/x-modules/search/store/getters/index.d.ts.map +1 -0
  676. package/types/src/x-modules/search/store/getters/query.getter.d.ts.map +1 -0
  677. package/types/src/x-modules/search/store/getters/request.getter.d.ts.map +1 -0
  678. package/types/src/x-modules/search/store/index.d.ts.map +1 -0
  679. package/types/src/x-modules/search/store/module.d.ts.map +1 -0
  680. package/types/src/x-modules/search/store/types.d.ts.map +1 -0
  681. package/types/src/x-modules/search/types.d.ts.map +1 -0
  682. package/types/src/x-modules/search/wiring.d.ts.map +1 -0
  683. package/types/src/x-modules/search/x-module.d.ts.map +1 -0
  684. package/types/src/x-modules/search-box/components/clear-search-input.vue.d.ts.map +1 -0
  685. package/types/src/x-modules/search-box/components/index.d.ts.map +1 -0
  686. package/types/src/x-modules/search-box/components/search-button.vue.d.ts.map +1 -0
  687. package/types/src/x-modules/search-box/components/search-input-placeholder.vue.d.ts.map +1 -0
  688. package/types/src/x-modules/search-box/components/search-input.vue.d.ts.map +1 -0
  689. package/types/src/x-modules/search-box/events.types.d.ts.map +1 -0
  690. package/types/src/x-modules/search-box/index.d.ts.map +1 -0
  691. package/types/src/x-modules/search-box/store/actions/set-input-status.action.d.ts.map +1 -0
  692. package/types/src/x-modules/search-box/store/actions/set-url-params.action.d.ts.map +1 -0
  693. package/types/src/x-modules/search-box/store/emitters.d.ts.map +1 -0
  694. package/types/src/x-modules/search-box/store/index.d.ts.map +1 -0
  695. package/types/src/x-modules/search-box/store/module.d.ts.map +1 -0
  696. package/types/src/x-modules/search-box/store/types.d.ts.map +1 -0
  697. package/types/src/x-modules/search-box/wiring.d.ts.map +1 -0
  698. package/types/src/x-modules/search-box/x-module.d.ts.map +1 -0
  699. package/types/src/x-modules/semantic-queries/components/index.d.ts.map +1 -0
  700. package/types/src/x-modules/semantic-queries/components/semantic-queries.vue.d.ts.map +1 -0
  701. package/types/src/x-modules/semantic-queries/components/semantic-query.vue.d.ts.map +1 -0
  702. package/types/src/x-modules/semantic-queries/config.types.d.ts.map +1 -0
  703. package/types/src/x-modules/semantic-queries/events.types.d.ts.map +1 -0
  704. package/types/src/x-modules/semantic-queries/index.d.ts.map +1 -0
  705. package/types/src/x-modules/semantic-queries/store/actions/fetch-and-save-semantic-query.action.d.ts.map +1 -0
  706. package/types/src/x-modules/semantic-queries/store/actions/fetch-semantic-query.action.d.ts.map +1 -0
  707. package/types/src/x-modules/semantic-queries/store/actions/index.d.ts.map +1 -0
  708. package/types/src/x-modules/semantic-queries/store/emitters.d.ts.map +1 -0
  709. package/types/src/x-modules/semantic-queries/store/getters/index.d.ts.map +1 -0
  710. package/types/src/x-modules/semantic-queries/store/getters/normalized-query.getter.d.ts.map +1 -0
  711. package/types/src/x-modules/semantic-queries/store/getters/request.getter.d.ts.map +1 -0
  712. package/types/src/x-modules/semantic-queries/store/getters/semanti-queries-query.getter.d.ts.map +1 -0
  713. package/types/src/x-modules/semantic-queries/store/index.d.ts.map +1 -0
  714. package/types/src/x-modules/semantic-queries/store/module.d.ts.map +1 -0
  715. package/types/src/x-modules/semantic-queries/store/types.d.ts.map +1 -0
  716. package/types/src/x-modules/semantic-queries/wiring.d.ts.map +1 -0
  717. package/types/src/x-modules/semantic-queries/x-module.d.ts.map +1 -0
  718. package/types/src/x-modules/tagging/components/index.d.ts.map +1 -0
  719. package/types/src/x-modules/tagging/components/tagging.vue.d.ts.map +1 -0
  720. package/types/src/x-modules/tagging/config.types.d.ts.map +1 -0
  721. package/types/src/x-modules/tagging/events.types.d.ts.map +1 -0
  722. package/types/src/x-modules/tagging/index.d.ts.map +1 -0
  723. package/types/src/x-modules/tagging/service/external-tagging.service.d.ts.map +1 -0
  724. package/types/src/x-modules/tagging/service/index.d.ts.map +1 -0
  725. package/types/src/x-modules/tagging/service/types.d.ts.map +1 -0
  726. package/types/src/x-modules/tagging/store/actions/index.d.ts.map +1 -0
  727. package/types/src/x-modules/tagging/store/actions/track.action.d.ts.map +1 -0
  728. package/types/src/x-modules/tagging/store/emitters.d.ts.map +1 -0
  729. package/types/src/x-modules/tagging/store/index.d.ts.map +1 -0
  730. package/types/src/x-modules/tagging/store/module.d.ts.map +1 -0
  731. package/types/src/x-modules/tagging/store/types.d.ts.map +1 -0
  732. package/types/src/x-modules/tagging/wiring.d.ts.map +1 -0
  733. package/types/src/x-modules/tagging/x-module.d.ts.map +1 -0
  734. package/types/src/x-modules/url/components/index.d.ts.map +1 -0
  735. package/types/src/x-modules/url/components/url-handler.vue.d.ts.map +1 -0
  736. package/types/src/x-modules/url/events.types.d.ts.map +1 -0
  737. package/types/src/x-modules/url/index.d.ts.map +1 -0
  738. package/types/src/x-modules/url/store/emitters.d.ts.map +1 -0
  739. package/types/src/x-modules/url/store/getters/url-params.getter.d.ts.map +1 -0
  740. package/types/src/x-modules/url/store/index.d.ts.map +1 -0
  741. package/types/src/x-modules/url/store/initial-state.d.ts.map +1 -0
  742. package/types/src/x-modules/url/store/module.d.ts.map +1 -0
  743. package/types/src/x-modules/url/store/mutations/set-params.mutation.d.ts.map +1 -0
  744. package/types/src/x-modules/url/store/types.d.ts.map +1 -0
  745. package/types/src/x-modules/url/wiring.d.ts.map +1 -0
  746. package/types/src/x-modules/url/x-module.d.ts.map +1 -0
  747. package/types/src/x-modules/x-modules.types.d.ts.map +1 -0
  748. package/url/index.d.ts +1 -1
  749. package/docs/API-reference/api/x-components.setupdevtools.md +0 -57
  750. package/js/plugins/devtools/colors.utils.js +0 -49
  751. package/js/plugins/devtools/colors.utils.js.map +0 -1
  752. package/js/plugins/devtools/devtools.plugin.js +0 -32
  753. package/js/plugins/devtools/devtools.plugin.js.map +0 -1
  754. package/js/plugins/devtools/timeline.devtools.js +0 -109
  755. package/js/plugins/devtools/timeline.devtools.js.map +0 -1
  756. package/js/plugins/devtools/wiring.devtools.js +0 -122
  757. package/js/plugins/devtools/wiring.devtools.js.map +0 -1
  758. package/js/x-bus/x-priority-queue/x-priority-queue.js.map +0 -1
  759. package/js/x-installer/x-installer/x-installer.js +0 -285
  760. package/js/x-installer/x-installer/x-installer.js.map +0 -1
  761. package/types/adapter/mocked-responses.d.ts +0 -47
  762. package/types/adapter/mocked-responses.d.ts.map +0 -1
  763. package/types/components/animations/animate-clip-path/animate-clip-path.factory.d.ts.map +0 -1
  764. package/types/components/animations/animate-scale/animate-scale.factory.d.ts.map +0 -1
  765. package/types/components/animations/animate-translate/animate-translate.factory.d.ts.map +0 -1
  766. package/types/components/animations/animate-width.vue.d.ts.map +0 -1
  767. package/types/components/animations/change-height.vue.d.ts.map +0 -1
  768. package/types/components/animations/collapse-height.vue.d.ts.map +0 -1
  769. package/types/components/animations/collapse-width.vue.d.ts.map +0 -1
  770. package/types/components/animations/create-directional-animation-factory.d.ts.map +0 -1
  771. package/types/components/animations/cross-fade.vue.d.ts.map +0 -1
  772. package/types/components/animations/fade-and-slide.vue.d.ts.map +0 -1
  773. package/types/components/animations/fade.vue.d.ts.map +0 -1
  774. package/types/components/animations/index.d.ts.map +0 -1
  775. package/types/components/animations/no-animation.vue.d.ts.map +0 -1
  776. package/types/components/animations/staggered-fade-and-slide.vue.d.ts.map +0 -1
  777. package/types/components/animations/use-collapse-animation.d.ts.map +0 -1
  778. package/types/components/animations/use-disable-animation.d.ts.map +0 -1
  779. package/types/components/auto-progress-bar.vue.d.ts.map +0 -1
  780. package/types/components/base-dropdown.vue.d.ts.map +0 -1
  781. package/types/components/base-event-button.vue.d.ts.map +0 -1
  782. package/types/components/base-grid.types.d.ts.map +0 -1
  783. package/types/components/base-grid.vue.d.ts.map +0 -1
  784. package/types/components/base-keyboard-navigation.vue.d.ts.map +0 -1
  785. package/types/components/base-rating.vue.d.ts.map +0 -1
  786. package/types/components/base-slider.vue.d.ts.map +0 -1
  787. package/types/components/base-switch.vue.d.ts.map +0 -1
  788. package/types/components/base-teleport.vue.d.ts.map +0 -1
  789. package/types/components/base-variable-column-grid.vue.d.ts.map +0 -1
  790. package/types/components/column-picker/base-column-picker-dropdown.vue.d.ts.map +0 -1
  791. package/types/components/column-picker/base-column-picker-list.types.d.ts.map +0 -1
  792. package/types/components/column-picker/base-column-picker-list.vue.d.ts.map +0 -1
  793. package/types/components/column-picker/index.d.ts.map +0 -1
  794. package/types/components/currency/base-currency.vue.d.ts.map +0 -1
  795. package/types/components/currency/index.d.ts.map +0 -1
  796. package/types/components/decorators/injection.consts.d.ts.map +0 -1
  797. package/types/components/display-click-provider.vue.d.ts.map +0 -1
  798. package/types/components/display-emitter.vue.d.ts.map +0 -1
  799. package/types/components/filters/index.d.ts.map +0 -1
  800. package/types/components/filters/labels/base-price-filter-label.vue.d.ts.map +0 -1
  801. package/types/components/filters/labels/base-rating-filter-label.vue.d.ts.map +0 -1
  802. package/types/components/global-x-bus.vue.d.ts.map +0 -1
  803. package/types/components/highlight.vue.d.ts.map +0 -1
  804. package/types/components/icons/index.d.ts.map +0 -1
  805. package/types/components/index.d.ts.map +0 -1
  806. package/types/components/items-list.vue.d.ts.map +0 -1
  807. package/types/components/layouts/fixed-header-and-asides-layout.vue.d.ts.map +0 -1
  808. package/types/components/layouts/index.d.ts.map +0 -1
  809. package/types/components/layouts/multi-column-max-width-layout.vue.d.ts.map +0 -1
  810. package/types/components/layouts/single-column-layout.vue.d.ts.map +0 -1
  811. package/types/components/location-provider.vue.d.ts.map +0 -1
  812. package/types/components/modals/base-events-modal-close.vue.d.ts.map +0 -1
  813. package/types/components/modals/base-events-modal-open.vue.d.ts.map +0 -1
  814. package/types/components/modals/base-events-modal.vue.d.ts.map +0 -1
  815. package/types/components/modals/base-id-modal-close.vue.d.ts.map +0 -1
  816. package/types/components/modals/base-id-modal-open.vue.d.ts.map +0 -1
  817. package/types/components/modals/base-id-modal.vue.d.ts.map +0 -1
  818. package/types/components/modals/base-modal.vue.d.ts.map +0 -1
  819. package/types/components/modals/close-main-modal.vue.d.ts.map +0 -1
  820. package/types/components/modals/index.d.ts.map +0 -1
  821. package/types/components/modals/main-modal.vue.d.ts.map +0 -1
  822. package/types/components/modals/open-main-modal.vue.d.ts.map +0 -1
  823. package/types/components/page-loader-button.vue.d.ts.map +0 -1
  824. package/types/components/page-selector.vue.d.ts.map +0 -1
  825. package/types/components/panels/base-header-toggle-panel.vue.d.ts.map +0 -1
  826. package/types/components/panels/base-id-toggle-panel-button.vue.d.ts.map +0 -1
  827. package/types/components/panels/base-id-toggle-panel.vue.d.ts.map +0 -1
  828. package/types/components/panels/base-tabs-panel.vue.d.ts.map +0 -1
  829. package/types/components/panels/base-toggle-panel.vue.d.ts.map +0 -1
  830. package/types/components/panels/index.d.ts.map +0 -1
  831. package/types/components/result/base-result-add-to-cart.vue.d.ts.map +0 -1
  832. package/types/components/result/base-result-current-price.vue.d.ts.map +0 -1
  833. package/types/components/result/base-result-image.vue.d.ts.map +0 -1
  834. package/types/components/result/base-result-link.vue.d.ts.map +0 -1
  835. package/types/components/result/base-result-previous-price.vue.d.ts.map +0 -1
  836. package/types/components/result/base-result-rating.vue.d.ts.map +0 -1
  837. package/types/components/result/index.d.ts.map +0 -1
  838. package/types/components/result/result-variant-selector.vue.d.ts.map +0 -1
  839. package/types/components/result/result-variants-provider.vue.d.ts.map +0 -1
  840. package/types/components/scroll/base-scroll.vue.d.ts.map +0 -1
  841. package/types/components/scroll/index.d.ts.map +0 -1
  842. package/types/components/scroll/scroll.types.d.ts.map +0 -1
  843. package/types/components/scroll/use-scroll.d.ts.map +0 -1
  844. package/types/components/sliding-panel.vue.d.ts.map +0 -1
  845. package/types/components/snippet-callbacks.vue.d.ts.map +0 -1
  846. package/types/components/suggestions/base-suggestion.vue.d.ts.map +0 -1
  847. package/types/components/suggestions/base-suggestions.vue.d.ts.map +0 -1
  848. package/types/components/suggestions/index.d.ts.map +0 -1
  849. package/types/components/x-component.utils.d.ts.map +0 -1
  850. package/types/composables/create-use-device.d.ts.map +0 -1
  851. package/types/composables/index.d.ts.map +0 -1
  852. package/types/composables/use-$x.d.ts.map +0 -1
  853. package/types/composables/use-alias-api.d.ts.map +0 -1
  854. package/types/composables/use-debounce.d.ts.map +0 -1
  855. package/types/composables/use-getter.d.ts.map +0 -1
  856. package/types/composables/use-on-display.d.ts.map +0 -1
  857. package/types/composables/use-state.d.ts.map +0 -1
  858. package/types/composables/use-x-bus.d.ts.map +0 -1
  859. package/types/directives/index.d.ts.map +0 -1
  860. package/types/directives/infinite-scroll.d.ts.map +0 -1
  861. package/types/directives/typing.d.ts.map +0 -1
  862. package/types/index.d.ts +0 -40
  863. package/types/index.d.ts.map +0 -1
  864. package/types/plugins/devtools/colors.utils.d.ts +0 -22
  865. package/types/plugins/devtools/colors.utils.d.ts.map +0 -1
  866. package/types/plugins/devtools/devtools.plugin.d.ts.map +0 -1
  867. package/types/plugins/devtools/timeline.devtools.d.ts +0 -20
  868. package/types/plugins/devtools/timeline.devtools.d.ts.map +0 -1
  869. package/types/plugins/devtools/wiring.devtools.d.ts +0 -21
  870. package/types/plugins/devtools/wiring.devtools.d.ts.map +0 -1
  871. package/types/plugins/index.d.ts +0 -7
  872. package/types/plugins/index.d.ts.map +0 -1
  873. package/types/plugins/x-bus.d.ts.map +0 -1
  874. package/types/plugins/x-emitters.d.ts.map +0 -1
  875. package/types/plugins/x-plugin.d.ts +0 -260
  876. package/types/plugins/x-plugin.d.ts.map +0 -1
  877. package/types/plugins/x-plugin.types.d.ts.map +0 -1
  878. package/types/plugins/x-plugin.utils.d.ts.map +0 -1
  879. package/types/router.d.ts.map +0 -1
  880. package/types/services/directional-focus-navigation.service.d.ts.map +0 -1
  881. package/types/services/index.d.ts.map +0 -1
  882. package/types/services/services.types.d.ts.map +0 -1
  883. package/types/services/state-machine.service.d.ts.map +0 -1
  884. package/types/store/actions.types.d.ts.map +0 -1
  885. package/types/store/getters.types.d.ts.map +0 -1
  886. package/types/store/index.d.ts.map +0 -1
  887. package/types/store/mutations.types.d.ts.map +0 -1
  888. package/types/store/store.types.d.ts.map +0 -1
  889. package/types/store/utils/config-store.utils.d.ts.map +0 -1
  890. package/types/store/utils/fetch-and-save-action.utils.d.ts.map +0 -1
  891. package/types/store/utils/getters-proxy.utils.d.ts.map +0 -1
  892. package/types/store/utils/query.utils.d.ts.map +0 -1
  893. package/types/store/utils/status-store.utils.d.ts.map +0 -1
  894. package/types/store/utils/store-emitters.utils.d.ts.map +0 -1
  895. package/types/store/x.module.d.ts.map +0 -1
  896. package/types/tailwind/plugin-options.d.ts +0 -3
  897. package/types/tailwind/plugin-options.d.ts.map +0 -1
  898. package/types/types/animation-prop.d.ts.map +0 -1
  899. package/types/types/index.d.ts +0 -4
  900. package/types/types/index.d.ts.map +0 -1
  901. package/types/types/origin.d.ts.map +0 -1
  902. package/types/types/page-mode.d.ts +0 -2
  903. package/types/types/page-mode.d.ts.map +0 -1
  904. package/types/types/url-params.d.ts.map +0 -1
  905. package/types/utils/array.d.ts.map +0 -1
  906. package/types/utils/cancellable-promise.d.ts.map +0 -1
  907. package/types/utils/clone.d.ts.map +0 -1
  908. package/types/utils/currency-formatter.d.ts.map +0 -1
  909. package/types/utils/debounce.d.ts.map +0 -1
  910. package/types/utils/filters.d.ts.map +0 -1
  911. package/types/utils/focus.d.ts.map +0 -1
  912. package/types/utils/function.d.ts.map +0 -1
  913. package/types/utils/get-url-parameters.d.ts.map +0 -1
  914. package/types/utils/html.d.ts.map +0 -1
  915. package/types/utils/index.d.ts.map +0 -1
  916. package/types/utils/ios-utils.d.ts.map +0 -1
  917. package/types/utils/is-new-query.d.ts.map +0 -1
  918. package/types/utils/normalize.d.ts.map +0 -1
  919. package/types/utils/number.d.ts.map +0 -1
  920. package/types/utils/origin.d.ts.map +0 -1
  921. package/types/utils/sanitize.d.ts.map +0 -1
  922. package/types/utils/storage.d.ts.map +0 -1
  923. package/types/utils/string.d.ts.map +0 -1
  924. package/types/utils/throttle.d.ts.map +0 -1
  925. package/types/utils/types.d.ts.map +0 -1
  926. package/types/views/adapter.d.ts.map +0 -1
  927. package/types/views/base-config.d.ts +0 -5
  928. package/types/views/base-config.d.ts.map +0 -1
  929. package/types/views/home/types.d.ts.map +0 -1
  930. package/types/wiring/events.types.d.ts.map +0 -1
  931. package/types/wiring/index.d.ts.map +0 -1
  932. package/types/wiring/namespaced-wires.factory.d.ts.map +0 -1
  933. package/types/wiring/namespaced-wires.operators.d.ts.map +0 -1
  934. package/types/wiring/namespaced-wiring.types.d.ts.map +0 -1
  935. package/types/wiring/wires-operators.utils.d.ts.map +0 -1
  936. package/types/wiring/wires.factory.d.ts.map +0 -1
  937. package/types/wiring/wires.operators.d.ts.map +0 -1
  938. package/types/wiring/wiring.types.d.ts.map +0 -1
  939. package/types/wiring/wiring.utils.d.ts.map +0 -1
  940. package/types/x-bus/index.d.ts +0 -3
  941. package/types/x-bus/index.d.ts.map +0 -1
  942. package/types/x-bus/x-bus.d.ts +0 -154
  943. package/types/x-bus/x-bus.d.ts.map +0 -1
  944. package/types/x-bus/x-bus.spec.d.ts +0 -2
  945. package/types/x-bus/x-bus.spec.d.ts.map +0 -1
  946. package/types/x-bus/x-bus.types.d.ts.map +0 -1
  947. package/types/x-bus/x-priority-queue/index.d.ts +0 -3
  948. package/types/x-bus/x-priority-queue/index.d.ts.map +0 -1
  949. package/types/x-bus/x-priority-queue/x-priority-queue.d.ts.map +0 -1
  950. package/types/x-bus/x-priority-queue/x-priority-queue.spec.d.ts +0 -2
  951. package/types/x-bus/x-priority-queue/x-priority-queue.spec.d.ts.map +0 -1
  952. package/types/x-bus/x-priority-queue/x-priority-queue.types.d.ts.map +0 -1
  953. package/types/x-installer/api/api.types.d.ts.map +0 -1
  954. package/types/x-installer/api/base-api.d.ts.map +0 -1
  955. package/types/x-installer/api/index.d.ts.map +0 -1
  956. package/types/x-installer/index.d.ts +0 -3
  957. package/types/x-installer/index.d.ts.map +0 -1
  958. package/types/x-installer/x-installer/index.d.ts +0 -3
  959. package/types/x-installer/x-installer/index.d.ts.map +0 -1
  960. package/types/x-installer/x-installer/types.d.ts +0 -84
  961. package/types/x-installer/x-installer/types.d.ts.map +0 -1
  962. package/types/x-installer/x-installer/x-installer.d.ts +0 -217
  963. package/types/x-installer/x-installer/x-installer.d.ts.map +0 -1
  964. package/types/x-modules/ai/components/ai-carousel.vue.d.ts.map +0 -1
  965. package/types/x-modules/ai/components/ai-overview.vue.d.ts.map +0 -1
  966. package/types/x-modules/ai/components/index.d.ts.map +0 -1
  967. package/types/x-modules/ai/config.types.d.ts.map +0 -1
  968. package/types/x-modules/ai/events.types.d.ts.map +0 -1
  969. package/types/x-modules/ai/index.d.ts.map +0 -1
  970. package/types/x-modules/ai/store/actions/fetch-and-save-ai-suggestions-search.action.d.ts.map +0 -1
  971. package/types/x-modules/ai/store/actions/fetch-and-save-ai-suggestions.action.d.ts.map +0 -1
  972. package/types/x-modules/ai/store/actions/index.d.ts.map +0 -1
  973. package/types/x-modules/ai/store/actions/save-origin.action.d.ts.map +0 -1
  974. package/types/x-modules/ai/store/actions/set-url-params.action.d.ts.map +0 -1
  975. package/types/x-modules/ai/store/emitters.d.ts.map +0 -1
  976. package/types/x-modules/ai/store/getters/ai-query.getter.d.ts.map +0 -1
  977. package/types/x-modules/ai/store/getters/index.d.ts.map +0 -1
  978. package/types/x-modules/ai/store/getters/suggestions-request.getter.d.ts.map +0 -1
  979. package/types/x-modules/ai/store/getters/suggestions-search-request.getter.d.ts.map +0 -1
  980. package/types/x-modules/ai/store/index.d.ts.map +0 -1
  981. package/types/x-modules/ai/store/module.d.ts.map +0 -1
  982. package/types/x-modules/ai/store/types.d.ts.map +0 -1
  983. package/types/x-modules/ai/wiring.d.ts.map +0 -1
  984. package/types/x-modules/ai/x-module.d.ts.map +0 -1
  985. package/types/x-modules/device/components/device-detector.vue.d.ts.map +0 -1
  986. package/types/x-modules/device/components/index.d.ts.map +0 -1
  987. package/types/x-modules/device/events.types.d.ts.map +0 -1
  988. package/types/x-modules/device/index.d.ts.map +0 -1
  989. package/types/x-modules/device/store/emitters.d.ts.map +0 -1
  990. package/types/x-modules/device/store/index.d.ts.map +0 -1
  991. package/types/x-modules/device/store/module.d.ts.map +0 -1
  992. package/types/x-modules/device/store/types.d.ts.map +0 -1
  993. package/types/x-modules/device/wiring.d.ts.map +0 -1
  994. package/types/x-modules/device/x-module.d.ts.map +0 -1
  995. package/types/x-modules/empathize/components/empathize.vue.d.ts.map +0 -1
  996. package/types/x-modules/empathize/components/index.d.ts.map +0 -1
  997. package/types/x-modules/empathize/config.types.d.ts.map +0 -1
  998. package/types/x-modules/empathize/events.types.d.ts.map +0 -1
  999. package/types/x-modules/empathize/index.d.ts.map +0 -1
  1000. package/types/x-modules/empathize/store/emitters.d.ts.map +0 -1
  1001. package/types/x-modules/empathize/store/index.d.ts.map +0 -1
  1002. package/types/x-modules/empathize/store/module.d.ts.map +0 -1
  1003. package/types/x-modules/empathize/store/types.d.ts.map +0 -1
  1004. package/types/x-modules/empathize/wiring.d.ts.map +0 -1
  1005. package/types/x-modules/empathize/x-module.d.ts.map +0 -1
  1006. package/types/x-modules/experience-controls/components/experience-controls.vue.d.ts.map +0 -1
  1007. package/types/x-modules/experience-controls/components/index.d.ts.map +0 -1
  1008. package/types/x-modules/experience-controls/events.types.d.ts.map +0 -1
  1009. package/types/x-modules/experience-controls/index.d.ts.map +0 -1
  1010. package/types/x-modules/experience-controls/store/actions/fetch-and-save-experience-controls.action.d.ts.map +0 -1
  1011. package/types/x-modules/experience-controls/store/actions/fetch-experience-controls.action.d.ts.map +0 -1
  1012. package/types/x-modules/experience-controls/store/actions/index.d.ts.map +0 -1
  1013. package/types/x-modules/experience-controls/store/emitters.d.ts.map +0 -1
  1014. package/types/x-modules/experience-controls/store/getters/experience-controls-results-request.getter.d.ts.map +0 -1
  1015. package/types/x-modules/experience-controls/store/getters/index.d.ts.map +0 -1
  1016. package/types/x-modules/experience-controls/store/index.d.ts.map +0 -1
  1017. package/types/x-modules/experience-controls/store/module.d.ts.map +0 -1
  1018. package/types/x-modules/experience-controls/store/types.d.ts.map +0 -1
  1019. package/types/x-modules/experience-controls/wiring.d.ts.map +0 -1
  1020. package/types/x-modules/experience-controls/x-module.d.ts.map +0 -1
  1021. package/types/x-modules/extra-params/components/extra-params.vue.d.ts.map +0 -1
  1022. package/types/x-modules/extra-params/components/index.d.ts.map +0 -1
  1023. package/types/x-modules/extra-params/components/renderless-extra-param.vue.d.ts.map +0 -1
  1024. package/types/x-modules/extra-params/components/snippet-config-extra-params.vue.d.ts.map +0 -1
  1025. package/types/x-modules/extra-params/events.types.d.ts.map +0 -1
  1026. package/types/x-modules/extra-params/index.d.ts.map +0 -1
  1027. package/types/x-modules/extra-params/store/emitters.d.ts.map +0 -1
  1028. package/types/x-modules/extra-params/store/index.d.ts.map +0 -1
  1029. package/types/x-modules/extra-params/store/module.d.ts.map +0 -1
  1030. package/types/x-modules/extra-params/store/types.d.ts.map +0 -1
  1031. package/types/x-modules/extra-params/wiring.d.ts.map +0 -1
  1032. package/types/x-modules/extra-params/x-module.d.ts.map +0 -1
  1033. package/types/x-modules/facets/components/clear-filters.vue.d.ts.map +0 -1
  1034. package/types/x-modules/facets/components/facets/facets-provider.vue.d.ts.map +0 -1
  1035. package/types/x-modules/facets/components/facets/facets.types.d.ts.map +0 -1
  1036. package/types/x-modules/facets/components/facets/facets.vue.d.ts.map +0 -1
  1037. package/types/x-modules/facets/components/filters/all-filter.vue.d.ts.map +0 -1
  1038. package/types/x-modules/facets/components/filters/editable-number-range-filter.vue.d.ts.map +0 -1
  1039. package/types/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts.map +0 -1
  1040. package/types/x-modules/facets/components/filters/number-range-filter.vue.d.ts.map +0 -1
  1041. package/types/x-modules/facets/components/filters/renderless-filter.vue.d.ts.map +0 -1
  1042. package/types/x-modules/facets/components/filters/simple-filter.vue.d.ts.map +0 -1
  1043. package/types/x-modules/facets/components/index.d.ts.map +0 -1
  1044. package/types/x-modules/facets/components/lists/exclude-filters-with-no-results.vue.d.ts.map +0 -1
  1045. package/types/x-modules/facets/components/lists/filters-list.vue.d.ts.map +0 -1
  1046. package/types/x-modules/facets/components/lists/filters-search.vue.d.ts.map +0 -1
  1047. package/types/x-modules/facets/components/lists/selected-filters-list.types.d.ts.map +0 -1
  1048. package/types/x-modules/facets/components/lists/selected-filters-list.vue.d.ts.map +0 -1
  1049. package/types/x-modules/facets/components/lists/selected-filters.vue.d.ts.map +0 -1
  1050. package/types/x-modules/facets/components/lists/sliced-filters.vue.d.ts.map +0 -1
  1051. package/types/x-modules/facets/components/lists/sorted-filters.vue.d.ts.map +0 -1
  1052. package/types/x-modules/facets/components/preselected-filters.vue.d.ts.map +0 -1
  1053. package/types/x-modules/facets/composables/index.d.ts.map +0 -1
  1054. package/types/x-modules/facets/composables/use-facets.d.ts.map +0 -1
  1055. package/types/x-modules/facets/composables/use-filters-injection.d.ts.map +0 -1
  1056. package/types/x-modules/facets/entities/add-facet-if-not-present.d.ts.map +0 -1
  1057. package/types/x-modules/facets/entities/editable-number-range-filter.entity.d.ts.map +0 -1
  1058. package/types/x-modules/facets/entities/filter-entity.factory.d.ts.map +0 -1
  1059. package/types/x-modules/facets/entities/hierarchical-filter.entity.d.ts.map +0 -1
  1060. package/types/x-modules/facets/entities/index.d.ts.map +0 -1
  1061. package/types/x-modules/facets/entities/number-range-filter.entity.d.ts.map +0 -1
  1062. package/types/x-modules/facets/entities/raw-filter.entity.d.ts.map +0 -1
  1063. package/types/x-modules/facets/entities/simple-filter.entity.d.ts.map +0 -1
  1064. package/types/x-modules/facets/entities/single-select.modifier.d.ts.map +0 -1
  1065. package/types/x-modules/facets/entities/sticky.modifier.d.ts.map +0 -1
  1066. package/types/x-modules/facets/entities/types.d.ts.map +0 -1
  1067. package/types/x-modules/facets/events.types.d.ts.map +0 -1
  1068. package/types/x-modules/facets/index.d.ts.map +0 -1
  1069. package/types/x-modules/facets/service/facets.service.d.ts.map +0 -1
  1070. package/types/x-modules/facets/service/index.d.ts.map +0 -1
  1071. package/types/x-modules/facets/service/types.d.ts.map +0 -1
  1072. package/types/x-modules/facets/store/actions/fetch-and-save-facets-response.action.d.ts.map +0 -1
  1073. package/types/x-modules/facets/store/actions/fetch-facets-response.action.d.ts.map +0 -1
  1074. package/types/x-modules/facets/store/actions/save-origin.action.d.ts.map +0 -1
  1075. package/types/x-modules/facets/store/constants.d.ts.map +0 -1
  1076. package/types/x-modules/facets/store/emitters.d.ts.map +0 -1
  1077. package/types/x-modules/facets/store/getters/facets.getter.d.ts.map +0 -1
  1078. package/types/x-modules/facets/store/getters/index.d.ts.map +0 -1
  1079. package/types/x-modules/facets/store/getters/request.getter.d.ts.map +0 -1
  1080. package/types/x-modules/facets/store/getters/selected-filters-by-facet.getter.d.ts.map +0 -1
  1081. package/types/x-modules/facets/store/getters/selected-filters-for-request.getter.d.ts.map +0 -1
  1082. package/types/x-modules/facets/store/getters/selected-filters.getter.d.ts.map +0 -1
  1083. package/types/x-modules/facets/store/index.d.ts.map +0 -1
  1084. package/types/x-modules/facets/store/module.d.ts.map +0 -1
  1085. package/types/x-modules/facets/store/types.d.ts.map +0 -1
  1086. package/types/x-modules/facets/utils.d.ts.map +0 -1
  1087. package/types/x-modules/facets/wiring.d.ts.map +0 -1
  1088. package/types/x-modules/facets/x-module.d.ts.map +0 -1
  1089. package/types/x-modules/history-queries/components/clear-history-queries.vue.d.ts.map +0 -1
  1090. package/types/x-modules/history-queries/components/history-queries-switch.vue.d.ts.map +0 -1
  1091. package/types/x-modules/history-queries/components/history-queries.vue.d.ts.map +0 -1
  1092. package/types/x-modules/history-queries/components/history-query.vue.d.ts.map +0 -1
  1093. package/types/x-modules/history-queries/components/index.d.ts.map +0 -1
  1094. package/types/x-modules/history-queries/components/my-history.vue.d.ts.map +0 -1
  1095. package/types/x-modules/history-queries/components/remove-history-query.vue.d.ts.map +0 -1
  1096. package/types/x-modules/history-queries/config.types.d.ts.map +0 -1
  1097. package/types/x-modules/history-queries/events.types.d.ts.map +0 -1
  1098. package/types/x-modules/history-queries/index.d.ts.map +0 -1
  1099. package/types/x-modules/history-queries/store/actions/add-query-to-history.action.d.ts.map +0 -1
  1100. package/types/x-modules/history-queries/store/actions/load-history-queries-from-browser-storage.action.d.ts.map +0 -1
  1101. package/types/x-modules/history-queries/store/actions/refresh-session.action.d.ts.map +0 -1
  1102. package/types/x-modules/history-queries/store/actions/remove-query-from-history.action.d.ts.map +0 -1
  1103. package/types/x-modules/history-queries/store/actions/set-history-queries.action.d.ts.map +0 -1
  1104. package/types/x-modules/history-queries/store/actions/set-url-params.action.d.ts.map +0 -1
  1105. package/types/x-modules/history-queries/store/actions/toggle-history-queries.action.d.ts.map +0 -1
  1106. package/types/x-modules/history-queries/store/actions/update-history-queries-with-search-response.action.d.ts.map +0 -1
  1107. package/types/x-modules/history-queries/store/constants.d.ts.map +0 -1
  1108. package/types/x-modules/history-queries/store/emitters.d.ts.map +0 -1
  1109. package/types/x-modules/history-queries/store/getters/history-queries-with-results.getter.d.ts.map +0 -1
  1110. package/types/x-modules/history-queries/store/getters/history-queries.getter.d.ts.map +0 -1
  1111. package/types/x-modules/history-queries/store/getters/normalized-query.getter.d.ts.map +0 -1
  1112. package/types/x-modules/history-queries/store/getters/session-history-queries.getter.d.ts.map +0 -1
  1113. package/types/x-modules/history-queries/store/getters/storage-key.getter.d.ts.map +0 -1
  1114. package/types/x-modules/history-queries/store/index.d.ts.map +0 -1
  1115. package/types/x-modules/history-queries/store/module.d.ts.map +0 -1
  1116. package/types/x-modules/history-queries/store/types.d.ts.map +0 -1
  1117. package/types/x-modules/history-queries/wiring.d.ts.map +0 -1
  1118. package/types/x-modules/history-queries/x-module.d.ts.map +0 -1
  1119. package/types/x-modules/identifier-results/components/identifier-result.vue.d.ts.map +0 -1
  1120. package/types/x-modules/identifier-results/components/identifier-results.vue.d.ts.map +0 -1
  1121. package/types/x-modules/identifier-results/components/index.d.ts.map +0 -1
  1122. package/types/x-modules/identifier-results/config.types.d.ts.map +0 -1
  1123. package/types/x-modules/identifier-results/events.types.d.ts.map +0 -1
  1124. package/types/x-modules/identifier-results/index.d.ts.map +0 -1
  1125. package/types/x-modules/identifier-results/store/actions/fetch-and-save-identifier-results.action.d.ts.map +0 -1
  1126. package/types/x-modules/identifier-results/store/actions/fetch-identifier-results.action.d.ts.map +0 -1
  1127. package/types/x-modules/identifier-results/store/actions/index.d.ts.map +0 -1
  1128. package/types/x-modules/identifier-results/store/actions/save-origin.action.d.ts.map +0 -1
  1129. package/types/x-modules/identifier-results/store/actions/save-query.action.d.ts.map +0 -1
  1130. package/types/x-modules/identifier-results/store/emitters.d.ts.map +0 -1
  1131. package/types/x-modules/identifier-results/store/getters/identifier-detection-regexp.getter.d.ts.map +0 -1
  1132. package/types/x-modules/identifier-results/store/getters/identifier-highlight-regexp.getter.d.ts.map +0 -1
  1133. package/types/x-modules/identifier-results/store/getters/identifier-results-request.getter.d.ts.map +0 -1
  1134. package/types/x-modules/identifier-results/store/index.d.ts.map +0 -1
  1135. package/types/x-modules/identifier-results/store/module.d.ts.map +0 -1
  1136. package/types/x-modules/identifier-results/store/types.d.ts.map +0 -1
  1137. package/types/x-modules/identifier-results/wiring.d.ts.map +0 -1
  1138. package/types/x-modules/identifier-results/x-module.d.ts.map +0 -1
  1139. package/types/x-modules/next-queries/components/index.d.ts.map +0 -1
  1140. package/types/x-modules/next-queries/components/next-queries-list.vue.d.ts.map +0 -1
  1141. package/types/x-modules/next-queries/components/next-queries.vue.d.ts.map +0 -1
  1142. package/types/x-modules/next-queries/components/next-query-preview.vue.d.ts.map +0 -1
  1143. package/types/x-modules/next-queries/components/next-query.vue.d.ts.map +0 -1
  1144. package/types/x-modules/next-queries/config.types.d.ts.map +0 -1
  1145. package/types/x-modules/next-queries/events.types.d.ts.map +0 -1
  1146. package/types/x-modules/next-queries/index.d.ts.map +0 -1
  1147. package/types/x-modules/next-queries/store/actions/fetch-and-save-next-queries.action.d.ts.map +0 -1
  1148. package/types/x-modules/next-queries/store/actions/fetch-and-save-next-query-preview.action.d.ts.map +0 -1
  1149. package/types/x-modules/next-queries/store/actions/fetch-next-queries.action.d.ts.map +0 -1
  1150. package/types/x-modules/next-queries/store/actions/fetch-next-query-preview.action.d.ts.map +0 -1
  1151. package/types/x-modules/next-queries/store/actions/set-query-from-last-history-query.action.d.ts.map +0 -1
  1152. package/types/x-modules/next-queries/store/actions/set-url-params.action.d.ts.map +0 -1
  1153. package/types/x-modules/next-queries/store/emitters.d.ts.map +0 -1
  1154. package/types/x-modules/next-queries/store/getters/next-queries-query.getter.d.ts.map +0 -1
  1155. package/types/x-modules/next-queries/store/getters/next-queries.getter.d.ts.map +0 -1
  1156. package/types/x-modules/next-queries/store/getters/request.getter.d.ts.map +0 -1
  1157. package/types/x-modules/next-queries/store/index.d.ts.map +0 -1
  1158. package/types/x-modules/next-queries/store/module.d.ts.map +0 -1
  1159. package/types/x-modules/next-queries/store/types.d.ts.map +0 -1
  1160. package/types/x-modules/next-queries/types.d.ts.map +0 -1
  1161. package/types/x-modules/next-queries/wiring.d.ts.map +0 -1
  1162. package/types/x-modules/next-queries/x-module.d.ts.map +0 -1
  1163. package/types/x-modules/popular-searches/components/index.d.ts.map +0 -1
  1164. package/types/x-modules/popular-searches/components/popular-search.vue.d.ts.map +0 -1
  1165. package/types/x-modules/popular-searches/components/popular-searches.vue.d.ts.map +0 -1
  1166. package/types/x-modules/popular-searches/config.types.d.ts.map +0 -1
  1167. package/types/x-modules/popular-searches/events.types.d.ts.map +0 -1
  1168. package/types/x-modules/popular-searches/index.d.ts.map +0 -1
  1169. package/types/x-modules/popular-searches/store/actions/fetch-and-save-suggestions.action.d.ts.map +0 -1
  1170. package/types/x-modules/popular-searches/store/actions/fetch-suggestions.action.d.ts.map +0 -1
  1171. package/types/x-modules/popular-searches/store/emitters.d.ts.map +0 -1
  1172. package/types/x-modules/popular-searches/store/getters/popular-searches.getter.d.ts.map +0 -1
  1173. package/types/x-modules/popular-searches/store/getters/request.getter.d.ts.map +0 -1
  1174. package/types/x-modules/popular-searches/store/index.d.ts.map +0 -1
  1175. package/types/x-modules/popular-searches/store/module.d.ts.map +0 -1
  1176. package/types/x-modules/popular-searches/store/types.d.ts.map +0 -1
  1177. package/types/x-modules/popular-searches/wiring.d.ts.map +0 -1
  1178. package/types/x-modules/popular-searches/x-module.d.ts.map +0 -1
  1179. package/types/x-modules/queries-preview/components/index.d.ts.map +0 -1
  1180. package/types/x-modules/queries-preview/components/query-preview-button.vue.d.ts.map +0 -1
  1181. package/types/x-modules/queries-preview/components/query-preview-list.vue.d.ts.map +0 -1
  1182. package/types/x-modules/queries-preview/components/query-preview.vue.d.ts.map +0 -1
  1183. package/types/x-modules/queries-preview/composables/index.d.ts.map +0 -1
  1184. package/types/x-modules/queries-preview/composables/use-queries-preview.composable.d.ts.map +0 -1
  1185. package/types/x-modules/queries-preview/config.types.d.ts.map +0 -1
  1186. package/types/x-modules/queries-preview/events.types.d.ts.map +0 -1
  1187. package/types/x-modules/queries-preview/index.d.ts.map +0 -1
  1188. package/types/x-modules/queries-preview/store/actions/fetch-and-save-query-preview.action.d.ts.map +0 -1
  1189. package/types/x-modules/queries-preview/store/actions/fetch-query-preview.action.d.ts.map +0 -1
  1190. package/types/x-modules/queries-preview/store/emitters.d.ts.map +0 -1
  1191. package/types/x-modules/queries-preview/store/getters/loaded-queries-preview.getter.d.ts.map +0 -1
  1192. package/types/x-modules/queries-preview/store/index.d.ts.map +0 -1
  1193. package/types/x-modules/queries-preview/store/module.d.ts.map +0 -1
  1194. package/types/x-modules/queries-preview/store/types.d.ts.map +0 -1
  1195. package/types/x-modules/queries-preview/utils/get-hash-from-query-preview.d.ts.map +0 -1
  1196. package/types/x-modules/queries-preview/wiring.d.ts.map +0 -1
  1197. package/types/x-modules/queries-preview/x-module.d.ts.map +0 -1
  1198. package/types/x-modules/query-suggestions/components/index.d.ts.map +0 -1
  1199. package/types/x-modules/query-suggestions/components/query-suggestion.vue.d.ts.map +0 -1
  1200. package/types/x-modules/query-suggestions/components/query-suggestions.vue.d.ts.map +0 -1
  1201. package/types/x-modules/query-suggestions/config.types.d.ts.map +0 -1
  1202. package/types/x-modules/query-suggestions/events.types.d.ts.map +0 -1
  1203. package/types/x-modules/query-suggestions/index.d.ts.map +0 -1
  1204. package/types/x-modules/query-suggestions/store/actions/fetch-and-save-suggestions.action.d.ts.map +0 -1
  1205. package/types/x-modules/query-suggestions/store/actions/fetch-suggestions.action.d.ts.map +0 -1
  1206. package/types/x-modules/query-suggestions/store/actions/set-url-params.action.d.ts.map +0 -1
  1207. package/types/x-modules/query-suggestions/store/emitters.d.ts.map +0 -1
  1208. package/types/x-modules/query-suggestions/store/getters/normalized-query.getter.d.ts.map +0 -1
  1209. package/types/x-modules/query-suggestions/store/getters/query-suggestions.getter.d.ts.map +0 -1
  1210. package/types/x-modules/query-suggestions/store/getters/request.getter.d.ts.map +0 -1
  1211. package/types/x-modules/query-suggestions/store/index.d.ts.map +0 -1
  1212. package/types/x-modules/query-suggestions/store/module.d.ts.map +0 -1
  1213. package/types/x-modules/query-suggestions/store/types.d.ts.map +0 -1
  1214. package/types/x-modules/query-suggestions/wiring.d.ts.map +0 -1
  1215. package/types/x-modules/query-suggestions/x-module.d.ts.map +0 -1
  1216. package/types/x-modules/recommendations/components/index.d.ts.map +0 -1
  1217. package/types/x-modules/recommendations/components/recommendations.vue.d.ts.map +0 -1
  1218. package/types/x-modules/recommendations/config.types.d.ts.map +0 -1
  1219. package/types/x-modules/recommendations/events.types.d.ts.map +0 -1
  1220. package/types/x-modules/recommendations/index.d.ts.map +0 -1
  1221. package/types/x-modules/recommendations/store/actions/fetch-and-save-recommendations.action.d.ts.map +0 -1
  1222. package/types/x-modules/recommendations/store/actions/fetch-recommendations.action.d.ts.map +0 -1
  1223. package/types/x-modules/recommendations/store/constants.d.ts.map +0 -1
  1224. package/types/x-modules/recommendations/store/emitters.d.ts.map +0 -1
  1225. package/types/x-modules/recommendations/store/getters/request.getter.d.ts.map +0 -1
  1226. package/types/x-modules/recommendations/store/index.d.ts.map +0 -1
  1227. package/types/x-modules/recommendations/store/module.d.ts.map +0 -1
  1228. package/types/x-modules/recommendations/store/types.d.ts.map +0 -1
  1229. package/types/x-modules/recommendations/wiring.d.ts.map +0 -1
  1230. package/types/x-modules/recommendations/x-module.d.ts.map +0 -1
  1231. package/types/x-modules/related-prompts/components/index.d.ts.map +0 -1
  1232. package/types/x-modules/related-prompts/components/related-prompt.vue.d.ts.map +0 -1
  1233. package/types/x-modules/related-prompts/components/related-prompts-list.vue.d.ts.map +0 -1
  1234. package/types/x-modules/related-prompts/components/related-prompts-tag-list.vue.d.ts.map +0 -1
  1235. package/types/x-modules/related-prompts/events.types.d.ts.map +0 -1
  1236. package/types/x-modules/related-prompts/index.d.ts.map +0 -1
  1237. package/types/x-modules/related-prompts/store/actions/fetch-and-save-related-prompts.action.d.ts.map +0 -1
  1238. package/types/x-modules/related-prompts/store/actions/fetch-related-prompts.action.d.ts.map +0 -1
  1239. package/types/x-modules/related-prompts/store/actions/set-url-params.action.d.ts.map +0 -1
  1240. package/types/x-modules/related-prompts/store/emitters.d.ts.map +0 -1
  1241. package/types/x-modules/related-prompts/store/getters/index.d.ts.map +0 -1
  1242. package/types/x-modules/related-prompts/store/getters/related-prompts-query.getter.d.ts.map +0 -1
  1243. package/types/x-modules/related-prompts/store/getters/request.getter.d.ts.map +0 -1
  1244. package/types/x-modules/related-prompts/store/index.d.ts.map +0 -1
  1245. package/types/x-modules/related-prompts/store/module.d.ts.map +0 -1
  1246. package/types/x-modules/related-prompts/store/types.d.ts.map +0 -1
  1247. package/types/x-modules/related-prompts/types.d.ts.map +0 -1
  1248. package/types/x-modules/related-prompts/wiring.d.ts.map +0 -1
  1249. package/types/x-modules/related-prompts/x-module.d.ts.map +0 -1
  1250. package/types/x-modules/related-tags/components/index.d.ts.map +0 -1
  1251. package/types/x-modules/related-tags/components/related-tag.vue.d.ts.map +0 -1
  1252. package/types/x-modules/related-tags/components/related-tags.vue.d.ts.map +0 -1
  1253. package/types/x-modules/related-tags/config.types.d.ts.map +0 -1
  1254. package/types/x-modules/related-tags/events.types.d.ts.map +0 -1
  1255. package/types/x-modules/related-tags/index.d.ts.map +0 -1
  1256. package/types/x-modules/related-tags/store/actions/fetch-and-save-related-tags.action.d.ts.map +0 -1
  1257. package/types/x-modules/related-tags/store/actions/fetch-related-tags.action.d.ts.map +0 -1
  1258. package/types/x-modules/related-tags/store/actions/set-url-params.action.d.ts.map +0 -1
  1259. package/types/x-modules/related-tags/store/actions/toggle-related-tag.action.d.ts.map +0 -1
  1260. package/types/x-modules/related-tags/store/emitters.d.ts.map +0 -1
  1261. package/types/x-modules/related-tags/store/getters/query.getter.d.ts.map +0 -1
  1262. package/types/x-modules/related-tags/store/getters/related-tags.getter.d.ts.map +0 -1
  1263. package/types/x-modules/related-tags/store/getters/request.getter.d.ts.map +0 -1
  1264. package/types/x-modules/related-tags/store/index.d.ts.map +0 -1
  1265. package/types/x-modules/related-tags/store/module.d.ts.map +0 -1
  1266. package/types/x-modules/related-tags/store/types.d.ts.map +0 -1
  1267. package/types/x-modules/related-tags/wiring.d.ts.map +0 -1
  1268. package/types/x-modules/related-tags/x-module.d.ts.map +0 -1
  1269. package/types/x-modules/scroll/components/index.d.ts.map +0 -1
  1270. package/types/x-modules/scroll/components/main-scroll-item.vue.d.ts.map +0 -1
  1271. package/types/x-modules/scroll/components/main-scroll.vue.d.ts.map +0 -1
  1272. package/types/x-modules/scroll/components/scroll-to-top.vue.d.ts.map +0 -1
  1273. package/types/x-modules/scroll/components/scroll.const.d.ts.map +0 -1
  1274. package/types/x-modules/scroll/components/scroll.types.d.ts.map +0 -1
  1275. package/types/x-modules/scroll/components/scroll.vue.d.ts.map +0 -1
  1276. package/types/x-modules/scroll/events.types.d.ts.map +0 -1
  1277. package/types/x-modules/scroll/index.d.ts.map +0 -1
  1278. package/types/x-modules/scroll/store/emitters.d.ts.map +0 -1
  1279. package/types/x-modules/scroll/store/index.d.ts.map +0 -1
  1280. package/types/x-modules/scroll/store/module.d.ts.map +0 -1
  1281. package/types/x-modules/scroll/store/types.d.ts.map +0 -1
  1282. package/types/x-modules/scroll/wiring.d.ts.map +0 -1
  1283. package/types/x-modules/scroll/x-module.d.ts.map +0 -1
  1284. package/types/x-modules/search/components/banner.vue.d.ts.map +0 -1
  1285. package/types/x-modules/search/components/banners-list.vue.d.ts.map +0 -1
  1286. package/types/x-modules/search/components/fallback-disclaimer.vue.d.ts.map +0 -1
  1287. package/types/x-modules/search/components/index.d.ts.map +0 -1
  1288. package/types/x-modules/search/components/partial-query-button.vue.d.ts.map +0 -1
  1289. package/types/x-modules/search/components/partial-results-list.vue.d.ts.map +0 -1
  1290. package/types/x-modules/search/components/promoted.vue.d.ts.map +0 -1
  1291. package/types/x-modules/search/components/promoteds-list.vue.d.ts.map +0 -1
  1292. package/types/x-modules/search/components/redirection.vue.d.ts.map +0 -1
  1293. package/types/x-modules/search/components/results-list.vue.d.ts.map +0 -1
  1294. package/types/x-modules/search/components/sort-dropdown.vue.d.ts.map +0 -1
  1295. package/types/x-modules/search/components/sort-list.vue.d.ts.map +0 -1
  1296. package/types/x-modules/search/components/sort-picker-list.types.d.ts.map +0 -1
  1297. package/types/x-modules/search/components/sort-picker-list.vue.d.ts.map +0 -1
  1298. package/types/x-modules/search/components/spellcheck-button.vue.d.ts.map +0 -1
  1299. package/types/x-modules/search/components/spellcheck.vue.d.ts.map +0 -1
  1300. package/types/x-modules/search/config.types.d.ts.map +0 -1
  1301. package/types/x-modules/search/events.types.d.ts.map +0 -1
  1302. package/types/x-modules/search/index.d.ts.map +0 -1
  1303. package/types/x-modules/search/store/actions/fetch-and-save-search-response.action.d.ts.map +0 -1
  1304. package/types/x-modules/search/store/actions/fetch-search-response.action.d.ts.map +0 -1
  1305. package/types/x-modules/search/store/actions/increase-page-apending-results.action.d.ts.map +0 -1
  1306. package/types/x-modules/search/store/actions/index.d.ts.map +0 -1
  1307. package/types/x-modules/search/store/actions/reset-request-on-refinement.action.d.ts.map +0 -1
  1308. package/types/x-modules/search/store/actions/save-origin.action.d.ts.map +0 -1
  1309. package/types/x-modules/search/store/actions/save-search-response.action.d.ts.map +0 -1
  1310. package/types/x-modules/search/store/actions/set-url-params.action.d.ts.map +0 -1
  1311. package/types/x-modules/search/store/emitters.d.ts.map +0 -1
  1312. package/types/x-modules/search/store/getters/index.d.ts.map +0 -1
  1313. package/types/x-modules/search/store/getters/query.getter.d.ts.map +0 -1
  1314. package/types/x-modules/search/store/getters/request.getter.d.ts.map +0 -1
  1315. package/types/x-modules/search/store/index.d.ts.map +0 -1
  1316. package/types/x-modules/search/store/module.d.ts.map +0 -1
  1317. package/types/x-modules/search/store/types.d.ts.map +0 -1
  1318. package/types/x-modules/search/types.d.ts.map +0 -1
  1319. package/types/x-modules/search/wiring.d.ts.map +0 -1
  1320. package/types/x-modules/search/x-module.d.ts.map +0 -1
  1321. package/types/x-modules/search-box/components/clear-search-input.vue.d.ts.map +0 -1
  1322. package/types/x-modules/search-box/components/index.d.ts.map +0 -1
  1323. package/types/x-modules/search-box/components/search-button.vue.d.ts.map +0 -1
  1324. package/types/x-modules/search-box/components/search-input-placeholder.vue.d.ts.map +0 -1
  1325. package/types/x-modules/search-box/components/search-input.vue.d.ts.map +0 -1
  1326. package/types/x-modules/search-box/events.types.d.ts.map +0 -1
  1327. package/types/x-modules/search-box/index.d.ts.map +0 -1
  1328. package/types/x-modules/search-box/store/actions/set-input-status.action.d.ts.map +0 -1
  1329. package/types/x-modules/search-box/store/actions/set-url-params.action.d.ts.map +0 -1
  1330. package/types/x-modules/search-box/store/emitters.d.ts.map +0 -1
  1331. package/types/x-modules/search-box/store/index.d.ts.map +0 -1
  1332. package/types/x-modules/search-box/store/module.d.ts.map +0 -1
  1333. package/types/x-modules/search-box/store/types.d.ts.map +0 -1
  1334. package/types/x-modules/search-box/wiring.d.ts.map +0 -1
  1335. package/types/x-modules/search-box/x-module.d.ts.map +0 -1
  1336. package/types/x-modules/semantic-queries/components/index.d.ts.map +0 -1
  1337. package/types/x-modules/semantic-queries/components/semantic-queries.vue.d.ts.map +0 -1
  1338. package/types/x-modules/semantic-queries/components/semantic-query.vue.d.ts.map +0 -1
  1339. package/types/x-modules/semantic-queries/config.types.d.ts.map +0 -1
  1340. package/types/x-modules/semantic-queries/events.types.d.ts.map +0 -1
  1341. package/types/x-modules/semantic-queries/index.d.ts.map +0 -1
  1342. package/types/x-modules/semantic-queries/store/actions/fetch-and-save-semantic-query.action.d.ts.map +0 -1
  1343. package/types/x-modules/semantic-queries/store/actions/fetch-semantic-query.action.d.ts.map +0 -1
  1344. package/types/x-modules/semantic-queries/store/actions/index.d.ts.map +0 -1
  1345. package/types/x-modules/semantic-queries/store/emitters.d.ts.map +0 -1
  1346. package/types/x-modules/semantic-queries/store/getters/index.d.ts.map +0 -1
  1347. package/types/x-modules/semantic-queries/store/getters/normalized-query.getter.d.ts.map +0 -1
  1348. package/types/x-modules/semantic-queries/store/getters/request.getter.d.ts.map +0 -1
  1349. package/types/x-modules/semantic-queries/store/getters/semanti-queries-query.getter.d.ts.map +0 -1
  1350. package/types/x-modules/semantic-queries/store/index.d.ts.map +0 -1
  1351. package/types/x-modules/semantic-queries/store/module.d.ts.map +0 -1
  1352. package/types/x-modules/semantic-queries/store/types.d.ts.map +0 -1
  1353. package/types/x-modules/semantic-queries/wiring.d.ts.map +0 -1
  1354. package/types/x-modules/semantic-queries/x-module.d.ts.map +0 -1
  1355. package/types/x-modules/tagging/components/index.d.ts.map +0 -1
  1356. package/types/x-modules/tagging/components/tagging.vue.d.ts.map +0 -1
  1357. package/types/x-modules/tagging/config.types.d.ts.map +0 -1
  1358. package/types/x-modules/tagging/events.types.d.ts.map +0 -1
  1359. package/types/x-modules/tagging/index.d.ts.map +0 -1
  1360. package/types/x-modules/tagging/service/external-tagging.service.d.ts.map +0 -1
  1361. package/types/x-modules/tagging/service/index.d.ts.map +0 -1
  1362. package/types/x-modules/tagging/service/types.d.ts.map +0 -1
  1363. package/types/x-modules/tagging/store/actions/index.d.ts.map +0 -1
  1364. package/types/x-modules/tagging/store/actions/track.action.d.ts.map +0 -1
  1365. package/types/x-modules/tagging/store/emitters.d.ts.map +0 -1
  1366. package/types/x-modules/tagging/store/index.d.ts.map +0 -1
  1367. package/types/x-modules/tagging/store/module.d.ts.map +0 -1
  1368. package/types/x-modules/tagging/store/types.d.ts.map +0 -1
  1369. package/types/x-modules/tagging/wiring.d.ts.map +0 -1
  1370. package/types/x-modules/tagging/x-module.d.ts.map +0 -1
  1371. package/types/x-modules/url/components/index.d.ts.map +0 -1
  1372. package/types/x-modules/url/components/url-handler.vue.d.ts.map +0 -1
  1373. package/types/x-modules/url/events.types.d.ts.map +0 -1
  1374. package/types/x-modules/url/index.d.ts.map +0 -1
  1375. package/types/x-modules/url/store/emitters.d.ts.map +0 -1
  1376. package/types/x-modules/url/store/getters/url-params.getter.d.ts.map +0 -1
  1377. package/types/x-modules/url/store/index.d.ts.map +0 -1
  1378. package/types/x-modules/url/store/initial-state.d.ts.map +0 -1
  1379. package/types/x-modules/url/store/module.d.ts.map +0 -1
  1380. package/types/x-modules/url/store/mutations/set-params.mutation.d.ts.map +0 -1
  1381. package/types/x-modules/url/store/types.d.ts.map +0 -1
  1382. package/types/x-modules/url/wiring.d.ts.map +0 -1
  1383. package/types/x-modules/url/x-module.d.ts.map +0 -1
  1384. package/types/x-modules/x-modules.types.d.ts.map +0 -1
  1385. /package/js/x-bus/{x-priority-queue/x-priority-queue.js → x-priority-queue.js} +0 -0
  1386. /package/types/{plugins → demo/plugins}/devtools/devtools.plugin.d.ts +0 -0
  1387. /package/types/{router.d.ts → demo/router.d.ts} +0 -0
  1388. /package/types/{views → demo/views}/adapter.d.ts +0 -0
  1389. /package/types/{views → demo/views}/home/types.d.ts +0 -0
  1390. /package/types/{components → src/components}/animations/animate-clip-path/animate-clip-path.factory.d.ts +0 -0
  1391. /package/types/{components → src/components}/animations/animate-scale/animate-scale.factory.d.ts +0 -0
  1392. /package/types/{components → src/components}/animations/animate-translate/animate-translate.factory.d.ts +0 -0
  1393. /package/types/{components → src/components}/animations/animate-width.vue.d.ts +0 -0
  1394. /package/types/{components → src/components}/animations/change-height.vue.d.ts +0 -0
  1395. /package/types/{components → src/components}/animations/collapse-height.vue.d.ts +0 -0
  1396. /package/types/{components → src/components}/animations/collapse-width.vue.d.ts +0 -0
  1397. /package/types/{components → src/components}/animations/create-directional-animation-factory.d.ts +0 -0
  1398. /package/types/{components → src/components}/animations/cross-fade.vue.d.ts +0 -0
  1399. /package/types/{components → src/components}/animations/fade-and-slide.vue.d.ts +0 -0
  1400. /package/types/{components → src/components}/animations/fade.vue.d.ts +0 -0
  1401. /package/types/{components → src/components}/animations/index.d.ts +0 -0
  1402. /package/types/{components → src/components}/animations/no-animation.vue.d.ts +0 -0
  1403. /package/types/{components → src/components}/animations/staggered-fade-and-slide.vue.d.ts +0 -0
  1404. /package/types/{components → src/components}/animations/use-collapse-animation.d.ts +0 -0
  1405. /package/types/{components → src/components}/animations/use-disable-animation.d.ts +0 -0
  1406. /package/types/{components → src/components}/auto-progress-bar.vue.d.ts +0 -0
  1407. /package/types/{components → src/components}/base-dropdown.vue.d.ts +0 -0
  1408. /package/types/{components → src/components}/base-event-button.vue.d.ts +0 -0
  1409. /package/types/{components → src/components}/base-grid.types.d.ts +0 -0
  1410. /package/types/{components → src/components}/base-grid.vue.d.ts +0 -0
  1411. /package/types/{components → src/components}/base-keyboard-navigation.vue.d.ts +0 -0
  1412. /package/types/{components → src/components}/base-rating.vue.d.ts +0 -0
  1413. /package/types/{components → src/components}/base-slider.vue.d.ts +0 -0
  1414. /package/types/{components → src/components}/base-switch.vue.d.ts +0 -0
  1415. /package/types/{components → src/components}/base-teleport.vue.d.ts +0 -0
  1416. /package/types/{components → src/components}/base-variable-column-grid.vue.d.ts +0 -0
  1417. /package/types/{components → src/components}/column-picker/base-column-picker-dropdown.vue.d.ts +0 -0
  1418. /package/types/{components → src/components}/column-picker/base-column-picker-list.types.d.ts +0 -0
  1419. /package/types/{components → src/components}/column-picker/base-column-picker-list.vue.d.ts +0 -0
  1420. /package/types/{components → src/components}/column-picker/index.d.ts +0 -0
  1421. /package/types/{components → src/components}/currency/base-currency.vue.d.ts +0 -0
  1422. /package/types/{components → src/components}/currency/index.d.ts +0 -0
  1423. /package/types/{components → src/components}/decorators/injection.consts.d.ts +0 -0
  1424. /package/types/{components → src/components}/display-click-provider.vue.d.ts +0 -0
  1425. /package/types/{components → src/components}/display-emitter.vue.d.ts +0 -0
  1426. /package/types/{components → src/components}/filters/index.d.ts +0 -0
  1427. /package/types/{components → src/components}/filters/labels/base-price-filter-label.vue.d.ts +0 -0
  1428. /package/types/{components → src/components}/filters/labels/base-rating-filter-label.vue.d.ts +0 -0
  1429. /package/types/{components → src/components}/global-x-bus.vue.d.ts +0 -0
  1430. /package/types/{components → src/components}/highlight.vue.d.ts +0 -0
  1431. /package/types/{components → src/components}/icons/index.d.ts +0 -0
  1432. /package/types/{components → src/components}/index.d.ts +0 -0
  1433. /package/types/{components → src/components}/items-list.vue.d.ts +0 -0
  1434. /package/types/{components → src/components}/layouts/fixed-header-and-asides-layout.vue.d.ts +0 -0
  1435. /package/types/{components → src/components}/layouts/index.d.ts +0 -0
  1436. /package/types/{components → src/components}/layouts/multi-column-max-width-layout.vue.d.ts +0 -0
  1437. /package/types/{components → src/components}/layouts/single-column-layout.vue.d.ts +0 -0
  1438. /package/types/{components → src/components}/location-provider.vue.d.ts +0 -0
  1439. /package/types/{components → src/components}/modals/base-events-modal-close.vue.d.ts +0 -0
  1440. /package/types/{components → src/components}/modals/base-events-modal-open.vue.d.ts +0 -0
  1441. /package/types/{components → src/components}/modals/base-events-modal.vue.d.ts +0 -0
  1442. /package/types/{components → src/components}/modals/base-id-modal-close.vue.d.ts +0 -0
  1443. /package/types/{components → src/components}/modals/base-id-modal-open.vue.d.ts +0 -0
  1444. /package/types/{components → src/components}/modals/base-id-modal.vue.d.ts +0 -0
  1445. /package/types/{components → src/components}/modals/base-modal.vue.d.ts +0 -0
  1446. /package/types/{components → src/components}/modals/close-main-modal.vue.d.ts +0 -0
  1447. /package/types/{components → src/components}/modals/index.d.ts +0 -0
  1448. /package/types/{components → src/components}/modals/main-modal.vue.d.ts +0 -0
  1449. /package/types/{components → src/components}/modals/open-main-modal.vue.d.ts +0 -0
  1450. /package/types/{components → src/components}/page-loader-button.vue.d.ts +0 -0
  1451. /package/types/{components → src/components}/page-selector.vue.d.ts +0 -0
  1452. /package/types/{components → src/components}/panels/base-header-toggle-panel.vue.d.ts +0 -0
  1453. /package/types/{components → src/components}/panels/base-id-toggle-panel-button.vue.d.ts +0 -0
  1454. /package/types/{components → src/components}/panels/base-id-toggle-panel.vue.d.ts +0 -0
  1455. /package/types/{components → src/components}/panels/base-tabs-panel.vue.d.ts +0 -0
  1456. /package/types/{components → src/components}/panels/base-toggle-panel.vue.d.ts +0 -0
  1457. /package/types/{components → src/components}/panels/index.d.ts +0 -0
  1458. /package/types/{components → src/components}/result/base-result-add-to-cart.vue.d.ts +0 -0
  1459. /package/types/{components → src/components}/result/base-result-current-price.vue.d.ts +0 -0
  1460. /package/types/{components → src/components}/result/base-result-image.vue.d.ts +0 -0
  1461. /package/types/{components → src/components}/result/base-result-link.vue.d.ts +0 -0
  1462. /package/types/{components → src/components}/result/base-result-previous-price.vue.d.ts +0 -0
  1463. /package/types/{components → src/components}/result/base-result-rating.vue.d.ts +0 -0
  1464. /package/types/{components → src/components}/result/index.d.ts +0 -0
  1465. /package/types/{components → src/components}/result/result-variant-selector.vue.d.ts +0 -0
  1466. /package/types/{components → src/components}/result/result-variants-provider.vue.d.ts +0 -0
  1467. /package/types/{components → src/components}/scroll/base-scroll.vue.d.ts +0 -0
  1468. /package/types/{components → src/components}/scroll/index.d.ts +0 -0
  1469. /package/types/{components → src/components}/scroll/scroll.types.d.ts +0 -0
  1470. /package/types/{components → src/components}/scroll/use-scroll.d.ts +0 -0
  1471. /package/types/{components → src/components}/sliding-panel.vue.d.ts +0 -0
  1472. /package/types/{components → src/components}/snippet-callbacks.vue.d.ts +0 -0
  1473. /package/types/{components → src/components}/suggestions/base-suggestion.vue.d.ts +0 -0
  1474. /package/types/{components → src/components}/suggestions/base-suggestions.vue.d.ts +0 -0
  1475. /package/types/{components → src/components}/suggestions/index.d.ts +0 -0
  1476. /package/types/{components → src/components}/x-component.utils.d.ts +0 -0
  1477. /package/types/{composables → src/composables}/create-use-device.d.ts +0 -0
  1478. /package/types/{composables → src/composables}/index.d.ts +0 -0
  1479. /package/types/{composables → src/composables}/use-$x.d.ts +0 -0
  1480. /package/types/{composables → src/composables}/use-alias-api.d.ts +0 -0
  1481. /package/types/{composables → src/composables}/use-debounce.d.ts +0 -0
  1482. /package/types/{composables → src/composables}/use-getter.d.ts +0 -0
  1483. /package/types/{composables → src/composables}/use-on-display.d.ts +0 -0
  1484. /package/types/{composables → src/composables}/use-state.d.ts +0 -0
  1485. /package/types/{composables → src/composables}/use-x-bus.d.ts +0 -0
  1486. /package/types/{directives → src/directives}/index.d.ts +0 -0
  1487. /package/types/{directives → src/directives}/infinite-scroll.d.ts +0 -0
  1488. /package/types/{directives → src/directives}/typing.d.ts +0 -0
  1489. /package/types/{plugins → src/plugins}/x-bus.d.ts +0 -0
  1490. /package/types/{plugins → src/plugins}/x-emitters.d.ts +0 -0
  1491. /package/types/{plugins → src/plugins}/x-plugin.types.d.ts +0 -0
  1492. /package/types/{plugins → src/plugins}/x-plugin.utils.d.ts +0 -0
  1493. /package/types/{services → src/services}/directional-focus-navigation.service.d.ts +0 -0
  1494. /package/types/{services → src/services}/index.d.ts +0 -0
  1495. /package/types/{services → src/services}/services.types.d.ts +0 -0
  1496. /package/types/{services → src/services}/state-machine.service.d.ts +0 -0
  1497. /package/types/{store → src/store}/actions.types.d.ts +0 -0
  1498. /package/types/{store → src/store}/getters.types.d.ts +0 -0
  1499. /package/types/{store → src/store}/index.d.ts +0 -0
  1500. /package/types/{store → src/store}/mutations.types.d.ts +0 -0
  1501. /package/types/{store → src/store}/store.types.d.ts +0 -0
  1502. /package/types/{store → src/store}/utils/config-store.utils.d.ts +0 -0
  1503. /package/types/{store → src/store}/utils/fetch-and-save-action.utils.d.ts +0 -0
  1504. /package/types/{store → src/store}/utils/getters-proxy.utils.d.ts +0 -0
  1505. /package/types/{store → src/store}/utils/query.utils.d.ts +0 -0
  1506. /package/types/{store → src/store}/utils/status-store.utils.d.ts +0 -0
  1507. /package/types/{store → src/store}/utils/store-emitters.utils.d.ts +0 -0
  1508. /package/types/{store → src/store}/x.module.d.ts +0 -0
  1509. /package/types/{types → src/types}/animation-prop.d.ts +0 -0
  1510. /package/types/{types → src/types}/origin.d.ts +0 -0
  1511. /package/types/{types → src/types}/url-params.d.ts +0 -0
  1512. /package/types/{utils → src/utils}/array.d.ts +0 -0
  1513. /package/types/{utils → src/utils}/cancellable-promise.d.ts +0 -0
  1514. /package/types/{utils → src/utils}/clone.d.ts +0 -0
  1515. /package/types/{utils → src/utils}/currency-formatter.d.ts +0 -0
  1516. /package/types/{utils → src/utils}/debounce.d.ts +0 -0
  1517. /package/types/{utils → src/utils}/filters.d.ts +0 -0
  1518. /package/types/{utils → src/utils}/focus.d.ts +0 -0
  1519. /package/types/{utils → src/utils}/function.d.ts +0 -0
  1520. /package/types/{utils → src/utils}/get-url-parameters.d.ts +0 -0
  1521. /package/types/{utils → src/utils}/html.d.ts +0 -0
  1522. /package/types/{utils → src/utils}/index.d.ts +0 -0
  1523. /package/types/{utils → src/utils}/ios-utils.d.ts +0 -0
  1524. /package/types/{utils → src/utils}/is-new-query.d.ts +0 -0
  1525. /package/types/{utils → src/utils}/normalize.d.ts +0 -0
  1526. /package/types/{utils → src/utils}/number.d.ts +0 -0
  1527. /package/types/{utils → src/utils}/origin.d.ts +0 -0
  1528. /package/types/{utils → src/utils}/sanitize.d.ts +0 -0
  1529. /package/types/{utils → src/utils}/storage.d.ts +0 -0
  1530. /package/types/{utils → src/utils}/string.d.ts +0 -0
  1531. /package/types/{utils → src/utils}/throttle.d.ts +0 -0
  1532. /package/types/{utils → src/utils}/types.d.ts +0 -0
  1533. /package/types/{wiring → src/wiring}/events.types.d.ts +0 -0
  1534. /package/types/{wiring → src/wiring}/index.d.ts +0 -0
  1535. /package/types/{wiring → src/wiring}/namespaced-wires.factory.d.ts +0 -0
  1536. /package/types/{wiring → src/wiring}/namespaced-wires.operators.d.ts +0 -0
  1537. /package/types/{wiring → src/wiring}/namespaced-wiring.types.d.ts +0 -0
  1538. /package/types/{wiring → src/wiring}/wires-operators.utils.d.ts +0 -0
  1539. /package/types/{wiring → src/wiring}/wires.factory.d.ts +0 -0
  1540. /package/types/{wiring → src/wiring}/wires.operators.d.ts +0 -0
  1541. /package/types/{wiring → src/wiring}/wiring.types.d.ts +0 -0
  1542. /package/types/{wiring → src/wiring}/wiring.utils.d.ts +0 -0
  1543. /package/types/{x-bus → src/x-bus}/x-bus.types.d.ts +0 -0
  1544. /package/types/{x-bus/x-priority-queue → src/x-bus}/x-priority-queue.d.ts +0 -0
  1545. /package/types/{x-bus/x-priority-queue → src/x-bus}/x-priority-queue.types.d.ts +0 -0
  1546. /package/types/{x-installer → src/x-installer}/api/api.types.d.ts +0 -0
  1547. /package/types/{x-installer → src/x-installer}/api/base-api.d.ts +0 -0
  1548. /package/types/{x-installer → src/x-installer}/api/index.d.ts +0 -0
  1549. /package/types/{x-modules → src/x-modules}/ai/components/ai-carousel.vue.d.ts +0 -0
  1550. /package/types/{x-modules → src/x-modules}/ai/components/ai-overview.vue.d.ts +0 -0
  1551. /package/types/{x-modules → src/x-modules}/ai/components/index.d.ts +0 -0
  1552. /package/types/{x-modules → src/x-modules}/ai/config.types.d.ts +0 -0
  1553. /package/types/{x-modules → src/x-modules}/ai/events.types.d.ts +0 -0
  1554. /package/types/{x-modules → src/x-modules}/ai/index.d.ts +0 -0
  1555. /package/types/{x-modules → src/x-modules}/ai/store/actions/fetch-and-save-ai-suggestions-search.action.d.ts +0 -0
  1556. /package/types/{x-modules → src/x-modules}/ai/store/actions/fetch-and-save-ai-suggestions.action.d.ts +0 -0
  1557. /package/types/{x-modules → src/x-modules}/ai/store/actions/index.d.ts +0 -0
  1558. /package/types/{x-modules → src/x-modules}/ai/store/actions/save-origin.action.d.ts +0 -0
  1559. /package/types/{x-modules → src/x-modules}/ai/store/actions/set-url-params.action.d.ts +0 -0
  1560. /package/types/{x-modules → src/x-modules}/ai/store/emitters.d.ts +0 -0
  1561. /package/types/{x-modules → src/x-modules}/ai/store/getters/ai-query.getter.d.ts +0 -0
  1562. /package/types/{x-modules → src/x-modules}/ai/store/getters/index.d.ts +0 -0
  1563. /package/types/{x-modules → src/x-modules}/ai/store/getters/suggestions-request.getter.d.ts +0 -0
  1564. /package/types/{x-modules → src/x-modules}/ai/store/getters/suggestions-search-request.getter.d.ts +0 -0
  1565. /package/types/{x-modules → src/x-modules}/ai/store/index.d.ts +0 -0
  1566. /package/types/{x-modules → src/x-modules}/ai/store/module.d.ts +0 -0
  1567. /package/types/{x-modules → src/x-modules}/ai/store/types.d.ts +0 -0
  1568. /package/types/{x-modules → src/x-modules}/ai/wiring.d.ts +0 -0
  1569. /package/types/{x-modules → src/x-modules}/ai/x-module.d.ts +0 -0
  1570. /package/types/{x-modules → src/x-modules}/device/components/device-detector.vue.d.ts +0 -0
  1571. /package/types/{x-modules → src/x-modules}/device/components/index.d.ts +0 -0
  1572. /package/types/{x-modules → src/x-modules}/device/events.types.d.ts +0 -0
  1573. /package/types/{x-modules → src/x-modules}/device/index.d.ts +0 -0
  1574. /package/types/{x-modules → src/x-modules}/device/store/emitters.d.ts +0 -0
  1575. /package/types/{x-modules → src/x-modules}/device/store/index.d.ts +0 -0
  1576. /package/types/{x-modules → src/x-modules}/device/store/module.d.ts +0 -0
  1577. /package/types/{x-modules → src/x-modules}/device/store/types.d.ts +0 -0
  1578. /package/types/{x-modules → src/x-modules}/device/wiring.d.ts +0 -0
  1579. /package/types/{x-modules → src/x-modules}/device/x-module.d.ts +0 -0
  1580. /package/types/{x-modules → src/x-modules}/empathize/components/empathize.vue.d.ts +0 -0
  1581. /package/types/{x-modules → src/x-modules}/empathize/components/index.d.ts +0 -0
  1582. /package/types/{x-modules → src/x-modules}/empathize/config.types.d.ts +0 -0
  1583. /package/types/{x-modules → src/x-modules}/empathize/events.types.d.ts +0 -0
  1584. /package/types/{x-modules → src/x-modules}/empathize/index.d.ts +0 -0
  1585. /package/types/{x-modules → src/x-modules}/empathize/store/emitters.d.ts +0 -0
  1586. /package/types/{x-modules → src/x-modules}/empathize/store/index.d.ts +0 -0
  1587. /package/types/{x-modules → src/x-modules}/empathize/store/module.d.ts +0 -0
  1588. /package/types/{x-modules → src/x-modules}/empathize/store/types.d.ts +0 -0
  1589. /package/types/{x-modules → src/x-modules}/empathize/wiring.d.ts +0 -0
  1590. /package/types/{x-modules → src/x-modules}/empathize/x-module.d.ts +0 -0
  1591. /package/types/{x-modules → src/x-modules}/experience-controls/components/experience-controls.vue.d.ts +0 -0
  1592. /package/types/{x-modules → src/x-modules}/experience-controls/components/index.d.ts +0 -0
  1593. /package/types/{x-modules → src/x-modules}/experience-controls/events.types.d.ts +0 -0
  1594. /package/types/{x-modules → src/x-modules}/experience-controls/index.d.ts +0 -0
  1595. /package/types/{x-modules → src/x-modules}/experience-controls/store/actions/fetch-and-save-experience-controls.action.d.ts +0 -0
  1596. /package/types/{x-modules → src/x-modules}/experience-controls/store/actions/fetch-experience-controls.action.d.ts +0 -0
  1597. /package/types/{x-modules → src/x-modules}/experience-controls/store/actions/index.d.ts +0 -0
  1598. /package/types/{x-modules → src/x-modules}/experience-controls/store/emitters.d.ts +0 -0
  1599. /package/types/{x-modules → src/x-modules}/experience-controls/store/getters/experience-controls-results-request.getter.d.ts +0 -0
  1600. /package/types/{x-modules → src/x-modules}/experience-controls/store/getters/index.d.ts +0 -0
  1601. /package/types/{x-modules → src/x-modules}/experience-controls/store/index.d.ts +0 -0
  1602. /package/types/{x-modules → src/x-modules}/experience-controls/store/module.d.ts +0 -0
  1603. /package/types/{x-modules → src/x-modules}/experience-controls/store/types.d.ts +0 -0
  1604. /package/types/{x-modules → src/x-modules}/experience-controls/wiring.d.ts +0 -0
  1605. /package/types/{x-modules → src/x-modules}/experience-controls/x-module.d.ts +0 -0
  1606. /package/types/{x-modules → src/x-modules}/extra-params/components/extra-params.vue.d.ts +0 -0
  1607. /package/types/{x-modules → src/x-modules}/extra-params/components/index.d.ts +0 -0
  1608. /package/types/{x-modules → src/x-modules}/extra-params/components/renderless-extra-param.vue.d.ts +0 -0
  1609. /package/types/{x-modules → src/x-modules}/extra-params/components/snippet-config-extra-params.vue.d.ts +0 -0
  1610. /package/types/{x-modules → src/x-modules}/extra-params/events.types.d.ts +0 -0
  1611. /package/types/{x-modules → src/x-modules}/extra-params/index.d.ts +0 -0
  1612. /package/types/{x-modules → src/x-modules}/extra-params/store/emitters.d.ts +0 -0
  1613. /package/types/{x-modules → src/x-modules}/extra-params/store/index.d.ts +0 -0
  1614. /package/types/{x-modules → src/x-modules}/extra-params/store/module.d.ts +0 -0
  1615. /package/types/{x-modules → src/x-modules}/extra-params/store/types.d.ts +0 -0
  1616. /package/types/{x-modules → src/x-modules}/extra-params/wiring.d.ts +0 -0
  1617. /package/types/{x-modules → src/x-modules}/extra-params/x-module.d.ts +0 -0
  1618. /package/types/{x-modules → src/x-modules}/facets/components/clear-filters.vue.d.ts +0 -0
  1619. /package/types/{x-modules → src/x-modules}/facets/components/facets/facets-provider.vue.d.ts +0 -0
  1620. /package/types/{x-modules → src/x-modules}/facets/components/facets/facets.types.d.ts +0 -0
  1621. /package/types/{x-modules → src/x-modules}/facets/components/facets/facets.vue.d.ts +0 -0
  1622. /package/types/{x-modules → src/x-modules}/facets/components/filters/all-filter.vue.d.ts +0 -0
  1623. /package/types/{x-modules → src/x-modules}/facets/components/filters/editable-number-range-filter.vue.d.ts +0 -0
  1624. /package/types/{x-modules → src/x-modules}/facets/components/filters/hierarchical-filter.vue.d.ts +0 -0
  1625. /package/types/{x-modules → src/x-modules}/facets/components/filters/number-range-filter.vue.d.ts +0 -0
  1626. /package/types/{x-modules → src/x-modules}/facets/components/filters/renderless-filter.vue.d.ts +0 -0
  1627. /package/types/{x-modules → src/x-modules}/facets/components/filters/simple-filter.vue.d.ts +0 -0
  1628. /package/types/{x-modules → src/x-modules}/facets/components/index.d.ts +0 -0
  1629. /package/types/{x-modules → src/x-modules}/facets/components/lists/exclude-filters-with-no-results.vue.d.ts +0 -0
  1630. /package/types/{x-modules → src/x-modules}/facets/components/lists/filters-list.vue.d.ts +0 -0
  1631. /package/types/{x-modules → src/x-modules}/facets/components/lists/filters-search.vue.d.ts +0 -0
  1632. /package/types/{x-modules → src/x-modules}/facets/components/lists/selected-filters-list.types.d.ts +0 -0
  1633. /package/types/{x-modules → src/x-modules}/facets/components/lists/selected-filters-list.vue.d.ts +0 -0
  1634. /package/types/{x-modules → src/x-modules}/facets/components/lists/selected-filters.vue.d.ts +0 -0
  1635. /package/types/{x-modules → src/x-modules}/facets/components/lists/sliced-filters.vue.d.ts +0 -0
  1636. /package/types/{x-modules → src/x-modules}/facets/components/lists/sorted-filters.vue.d.ts +0 -0
  1637. /package/types/{x-modules → src/x-modules}/facets/components/preselected-filters.vue.d.ts +0 -0
  1638. /package/types/{x-modules → src/x-modules}/facets/composables/index.d.ts +0 -0
  1639. /package/types/{x-modules → src/x-modules}/facets/composables/use-facets.d.ts +0 -0
  1640. /package/types/{x-modules → src/x-modules}/facets/composables/use-filters-injection.d.ts +0 -0
  1641. /package/types/{x-modules → src/x-modules}/facets/entities/add-facet-if-not-present.d.ts +0 -0
  1642. /package/types/{x-modules → src/x-modules}/facets/entities/editable-number-range-filter.entity.d.ts +0 -0
  1643. /package/types/{x-modules → src/x-modules}/facets/entities/filter-entity.factory.d.ts +0 -0
  1644. /package/types/{x-modules → src/x-modules}/facets/entities/hierarchical-filter.entity.d.ts +0 -0
  1645. /package/types/{x-modules → src/x-modules}/facets/entities/index.d.ts +0 -0
  1646. /package/types/{x-modules → src/x-modules}/facets/entities/number-range-filter.entity.d.ts +0 -0
  1647. /package/types/{x-modules → src/x-modules}/facets/entities/raw-filter.entity.d.ts +0 -0
  1648. /package/types/{x-modules → src/x-modules}/facets/entities/simple-filter.entity.d.ts +0 -0
  1649. /package/types/{x-modules → src/x-modules}/facets/entities/single-select.modifier.d.ts +0 -0
  1650. /package/types/{x-modules → src/x-modules}/facets/entities/sticky.modifier.d.ts +0 -0
  1651. /package/types/{x-modules → src/x-modules}/facets/entities/types.d.ts +0 -0
  1652. /package/types/{x-modules → src/x-modules}/facets/events.types.d.ts +0 -0
  1653. /package/types/{x-modules → src/x-modules}/facets/index.d.ts +0 -0
  1654. /package/types/{x-modules → src/x-modules}/facets/service/facets.service.d.ts +0 -0
  1655. /package/types/{x-modules → src/x-modules}/facets/service/index.d.ts +0 -0
  1656. /package/types/{x-modules → src/x-modules}/facets/service/types.d.ts +0 -0
  1657. /package/types/{x-modules → src/x-modules}/facets/store/actions/fetch-and-save-facets-response.action.d.ts +0 -0
  1658. /package/types/{x-modules → src/x-modules}/facets/store/actions/fetch-facets-response.action.d.ts +0 -0
  1659. /package/types/{x-modules → src/x-modules}/facets/store/actions/save-origin.action.d.ts +0 -0
  1660. /package/types/{x-modules → src/x-modules}/facets/store/constants.d.ts +0 -0
  1661. /package/types/{x-modules → src/x-modules}/facets/store/emitters.d.ts +0 -0
  1662. /package/types/{x-modules → src/x-modules}/facets/store/getters/facets.getter.d.ts +0 -0
  1663. /package/types/{x-modules → src/x-modules}/facets/store/getters/index.d.ts +0 -0
  1664. /package/types/{x-modules → src/x-modules}/facets/store/getters/request.getter.d.ts +0 -0
  1665. /package/types/{x-modules → src/x-modules}/facets/store/getters/selected-filters-by-facet.getter.d.ts +0 -0
  1666. /package/types/{x-modules → src/x-modules}/facets/store/getters/selected-filters-for-request.getter.d.ts +0 -0
  1667. /package/types/{x-modules → src/x-modules}/facets/store/getters/selected-filters.getter.d.ts +0 -0
  1668. /package/types/{x-modules → src/x-modules}/facets/store/index.d.ts +0 -0
  1669. /package/types/{x-modules → src/x-modules}/facets/store/module.d.ts +0 -0
  1670. /package/types/{x-modules → src/x-modules}/facets/store/types.d.ts +0 -0
  1671. /package/types/{x-modules → src/x-modules}/facets/utils.d.ts +0 -0
  1672. /package/types/{x-modules → src/x-modules}/facets/wiring.d.ts +0 -0
  1673. /package/types/{x-modules → src/x-modules}/facets/x-module.d.ts +0 -0
  1674. /package/types/{x-modules → src/x-modules}/history-queries/components/clear-history-queries.vue.d.ts +0 -0
  1675. /package/types/{x-modules → src/x-modules}/history-queries/components/history-queries-switch.vue.d.ts +0 -0
  1676. /package/types/{x-modules → src/x-modules}/history-queries/components/history-queries.vue.d.ts +0 -0
  1677. /package/types/{x-modules → src/x-modules}/history-queries/components/history-query.vue.d.ts +0 -0
  1678. /package/types/{x-modules → src/x-modules}/history-queries/components/index.d.ts +0 -0
  1679. /package/types/{x-modules → src/x-modules}/history-queries/components/my-history.vue.d.ts +0 -0
  1680. /package/types/{x-modules → src/x-modules}/history-queries/components/remove-history-query.vue.d.ts +0 -0
  1681. /package/types/{x-modules → src/x-modules}/history-queries/config.types.d.ts +0 -0
  1682. /package/types/{x-modules → src/x-modules}/history-queries/events.types.d.ts +0 -0
  1683. /package/types/{x-modules → src/x-modules}/history-queries/index.d.ts +0 -0
  1684. /package/types/{x-modules → src/x-modules}/history-queries/store/actions/add-query-to-history.action.d.ts +0 -0
  1685. /package/types/{x-modules → src/x-modules}/history-queries/store/actions/load-history-queries-from-browser-storage.action.d.ts +0 -0
  1686. /package/types/{x-modules → src/x-modules}/history-queries/store/actions/refresh-session.action.d.ts +0 -0
  1687. /package/types/{x-modules → src/x-modules}/history-queries/store/actions/remove-query-from-history.action.d.ts +0 -0
  1688. /package/types/{x-modules → src/x-modules}/history-queries/store/actions/set-history-queries.action.d.ts +0 -0
  1689. /package/types/{x-modules → src/x-modules}/history-queries/store/actions/set-url-params.action.d.ts +0 -0
  1690. /package/types/{x-modules → src/x-modules}/history-queries/store/actions/toggle-history-queries.action.d.ts +0 -0
  1691. /package/types/{x-modules → src/x-modules}/history-queries/store/actions/update-history-queries-with-search-response.action.d.ts +0 -0
  1692. /package/types/{x-modules → src/x-modules}/history-queries/store/constants.d.ts +0 -0
  1693. /package/types/{x-modules → src/x-modules}/history-queries/store/emitters.d.ts +0 -0
  1694. /package/types/{x-modules → src/x-modules}/history-queries/store/getters/history-queries-with-results.getter.d.ts +0 -0
  1695. /package/types/{x-modules → src/x-modules}/history-queries/store/getters/history-queries.getter.d.ts +0 -0
  1696. /package/types/{x-modules → src/x-modules}/history-queries/store/getters/normalized-query.getter.d.ts +0 -0
  1697. /package/types/{x-modules → src/x-modules}/history-queries/store/getters/session-history-queries.getter.d.ts +0 -0
  1698. /package/types/{x-modules → src/x-modules}/history-queries/store/getters/storage-key.getter.d.ts +0 -0
  1699. /package/types/{x-modules → src/x-modules}/history-queries/store/index.d.ts +0 -0
  1700. /package/types/{x-modules → src/x-modules}/history-queries/store/module.d.ts +0 -0
  1701. /package/types/{x-modules → src/x-modules}/history-queries/store/types.d.ts +0 -0
  1702. /package/types/{x-modules → src/x-modules}/history-queries/wiring.d.ts +0 -0
  1703. /package/types/{x-modules → src/x-modules}/history-queries/x-module.d.ts +0 -0
  1704. /package/types/{x-modules → src/x-modules}/identifier-results/components/identifier-result.vue.d.ts +0 -0
  1705. /package/types/{x-modules → src/x-modules}/identifier-results/components/identifier-results.vue.d.ts +0 -0
  1706. /package/types/{x-modules → src/x-modules}/identifier-results/components/index.d.ts +0 -0
  1707. /package/types/{x-modules → src/x-modules}/identifier-results/config.types.d.ts +0 -0
  1708. /package/types/{x-modules → src/x-modules}/identifier-results/events.types.d.ts +0 -0
  1709. /package/types/{x-modules → src/x-modules}/identifier-results/index.d.ts +0 -0
  1710. /package/types/{x-modules → src/x-modules}/identifier-results/store/actions/fetch-and-save-identifier-results.action.d.ts +0 -0
  1711. /package/types/{x-modules → src/x-modules}/identifier-results/store/actions/fetch-identifier-results.action.d.ts +0 -0
  1712. /package/types/{x-modules → src/x-modules}/identifier-results/store/actions/index.d.ts +0 -0
  1713. /package/types/{x-modules → src/x-modules}/identifier-results/store/actions/save-origin.action.d.ts +0 -0
  1714. /package/types/{x-modules → src/x-modules}/identifier-results/store/actions/save-query.action.d.ts +0 -0
  1715. /package/types/{x-modules → src/x-modules}/identifier-results/store/emitters.d.ts +0 -0
  1716. /package/types/{x-modules → src/x-modules}/identifier-results/store/getters/identifier-detection-regexp.getter.d.ts +0 -0
  1717. /package/types/{x-modules → src/x-modules}/identifier-results/store/getters/identifier-highlight-regexp.getter.d.ts +0 -0
  1718. /package/types/{x-modules → src/x-modules}/identifier-results/store/getters/identifier-results-request.getter.d.ts +0 -0
  1719. /package/types/{x-modules → src/x-modules}/identifier-results/store/index.d.ts +0 -0
  1720. /package/types/{x-modules → src/x-modules}/identifier-results/store/module.d.ts +0 -0
  1721. /package/types/{x-modules → src/x-modules}/identifier-results/store/types.d.ts +0 -0
  1722. /package/types/{x-modules → src/x-modules}/identifier-results/wiring.d.ts +0 -0
  1723. /package/types/{x-modules → src/x-modules}/identifier-results/x-module.d.ts +0 -0
  1724. /package/types/{x-modules → src/x-modules}/next-queries/components/index.d.ts +0 -0
  1725. /package/types/{x-modules → src/x-modules}/next-queries/components/next-queries-list.vue.d.ts +0 -0
  1726. /package/types/{x-modules → src/x-modules}/next-queries/components/next-queries.vue.d.ts +0 -0
  1727. /package/types/{x-modules → src/x-modules}/next-queries/components/next-query-preview.vue.d.ts +0 -0
  1728. /package/types/{x-modules → src/x-modules}/next-queries/components/next-query.vue.d.ts +0 -0
  1729. /package/types/{x-modules → src/x-modules}/next-queries/config.types.d.ts +0 -0
  1730. /package/types/{x-modules → src/x-modules}/next-queries/events.types.d.ts +0 -0
  1731. /package/types/{x-modules → src/x-modules}/next-queries/index.d.ts +0 -0
  1732. /package/types/{x-modules → src/x-modules}/next-queries/store/actions/fetch-and-save-next-queries.action.d.ts +0 -0
  1733. /package/types/{x-modules → src/x-modules}/next-queries/store/actions/fetch-and-save-next-query-preview.action.d.ts +0 -0
  1734. /package/types/{x-modules → src/x-modules}/next-queries/store/actions/fetch-next-queries.action.d.ts +0 -0
  1735. /package/types/{x-modules → src/x-modules}/next-queries/store/actions/fetch-next-query-preview.action.d.ts +0 -0
  1736. /package/types/{x-modules → src/x-modules}/next-queries/store/actions/set-query-from-last-history-query.action.d.ts +0 -0
  1737. /package/types/{x-modules → src/x-modules}/next-queries/store/actions/set-url-params.action.d.ts +0 -0
  1738. /package/types/{x-modules → src/x-modules}/next-queries/store/emitters.d.ts +0 -0
  1739. /package/types/{x-modules → src/x-modules}/next-queries/store/getters/next-queries-query.getter.d.ts +0 -0
  1740. /package/types/{x-modules → src/x-modules}/next-queries/store/getters/next-queries.getter.d.ts +0 -0
  1741. /package/types/{x-modules → src/x-modules}/next-queries/store/getters/request.getter.d.ts +0 -0
  1742. /package/types/{x-modules → src/x-modules}/next-queries/store/index.d.ts +0 -0
  1743. /package/types/{x-modules → src/x-modules}/next-queries/store/module.d.ts +0 -0
  1744. /package/types/{x-modules → src/x-modules}/next-queries/store/types.d.ts +0 -0
  1745. /package/types/{x-modules → src/x-modules}/next-queries/types.d.ts +0 -0
  1746. /package/types/{x-modules → src/x-modules}/next-queries/wiring.d.ts +0 -0
  1747. /package/types/{x-modules → src/x-modules}/next-queries/x-module.d.ts +0 -0
  1748. /package/types/{x-modules → src/x-modules}/popular-searches/components/index.d.ts +0 -0
  1749. /package/types/{x-modules → src/x-modules}/popular-searches/components/popular-search.vue.d.ts +0 -0
  1750. /package/types/{x-modules → src/x-modules}/popular-searches/components/popular-searches.vue.d.ts +0 -0
  1751. /package/types/{x-modules → src/x-modules}/popular-searches/config.types.d.ts +0 -0
  1752. /package/types/{x-modules → src/x-modules}/popular-searches/events.types.d.ts +0 -0
  1753. /package/types/{x-modules → src/x-modules}/popular-searches/index.d.ts +0 -0
  1754. /package/types/{x-modules → src/x-modules}/popular-searches/store/actions/fetch-and-save-suggestions.action.d.ts +0 -0
  1755. /package/types/{x-modules → src/x-modules}/popular-searches/store/actions/fetch-suggestions.action.d.ts +0 -0
  1756. /package/types/{x-modules → src/x-modules}/popular-searches/store/emitters.d.ts +0 -0
  1757. /package/types/{x-modules → src/x-modules}/popular-searches/store/getters/popular-searches.getter.d.ts +0 -0
  1758. /package/types/{x-modules → src/x-modules}/popular-searches/store/getters/request.getter.d.ts +0 -0
  1759. /package/types/{x-modules → src/x-modules}/popular-searches/store/index.d.ts +0 -0
  1760. /package/types/{x-modules → src/x-modules}/popular-searches/store/module.d.ts +0 -0
  1761. /package/types/{x-modules → src/x-modules}/popular-searches/store/types.d.ts +0 -0
  1762. /package/types/{x-modules → src/x-modules}/popular-searches/wiring.d.ts +0 -0
  1763. /package/types/{x-modules → src/x-modules}/popular-searches/x-module.d.ts +0 -0
  1764. /package/types/{x-modules → src/x-modules}/queries-preview/components/index.d.ts +0 -0
  1765. /package/types/{x-modules → src/x-modules}/queries-preview/components/query-preview-button.vue.d.ts +0 -0
  1766. /package/types/{x-modules → src/x-modules}/queries-preview/components/query-preview-list.vue.d.ts +0 -0
  1767. /package/types/{x-modules → src/x-modules}/queries-preview/components/query-preview.vue.d.ts +0 -0
  1768. /package/types/{x-modules → src/x-modules}/queries-preview/composables/index.d.ts +0 -0
  1769. /package/types/{x-modules → src/x-modules}/queries-preview/composables/use-queries-preview.composable.d.ts +0 -0
  1770. /package/types/{x-modules → src/x-modules}/queries-preview/config.types.d.ts +0 -0
  1771. /package/types/{x-modules → src/x-modules}/queries-preview/events.types.d.ts +0 -0
  1772. /package/types/{x-modules → src/x-modules}/queries-preview/index.d.ts +0 -0
  1773. /package/types/{x-modules → src/x-modules}/queries-preview/store/actions/fetch-and-save-query-preview.action.d.ts +0 -0
  1774. /package/types/{x-modules → src/x-modules}/queries-preview/store/actions/fetch-query-preview.action.d.ts +0 -0
  1775. /package/types/{x-modules → src/x-modules}/queries-preview/store/emitters.d.ts +0 -0
  1776. /package/types/{x-modules → src/x-modules}/queries-preview/store/getters/loaded-queries-preview.getter.d.ts +0 -0
  1777. /package/types/{x-modules → src/x-modules}/queries-preview/store/index.d.ts +0 -0
  1778. /package/types/{x-modules → src/x-modules}/queries-preview/store/module.d.ts +0 -0
  1779. /package/types/{x-modules → src/x-modules}/queries-preview/store/types.d.ts +0 -0
  1780. /package/types/{x-modules → src/x-modules}/queries-preview/utils/get-hash-from-query-preview.d.ts +0 -0
  1781. /package/types/{x-modules → src/x-modules}/queries-preview/wiring.d.ts +0 -0
  1782. /package/types/{x-modules → src/x-modules}/queries-preview/x-module.d.ts +0 -0
  1783. /package/types/{x-modules → src/x-modules}/query-suggestions/components/index.d.ts +0 -0
  1784. /package/types/{x-modules → src/x-modules}/query-suggestions/components/query-suggestion.vue.d.ts +0 -0
  1785. /package/types/{x-modules → src/x-modules}/query-suggestions/components/query-suggestions.vue.d.ts +0 -0
  1786. /package/types/{x-modules → src/x-modules}/query-suggestions/config.types.d.ts +0 -0
  1787. /package/types/{x-modules → src/x-modules}/query-suggestions/events.types.d.ts +0 -0
  1788. /package/types/{x-modules → src/x-modules}/query-suggestions/index.d.ts +0 -0
  1789. /package/types/{x-modules → src/x-modules}/query-suggestions/store/actions/fetch-and-save-suggestions.action.d.ts +0 -0
  1790. /package/types/{x-modules → src/x-modules}/query-suggestions/store/actions/fetch-suggestions.action.d.ts +0 -0
  1791. /package/types/{x-modules → src/x-modules}/query-suggestions/store/actions/set-url-params.action.d.ts +0 -0
  1792. /package/types/{x-modules → src/x-modules}/query-suggestions/store/emitters.d.ts +0 -0
  1793. /package/types/{x-modules → src/x-modules}/query-suggestions/store/getters/normalized-query.getter.d.ts +0 -0
  1794. /package/types/{x-modules → src/x-modules}/query-suggestions/store/getters/query-suggestions.getter.d.ts +0 -0
  1795. /package/types/{x-modules → src/x-modules}/query-suggestions/store/getters/request.getter.d.ts +0 -0
  1796. /package/types/{x-modules → src/x-modules}/query-suggestions/store/index.d.ts +0 -0
  1797. /package/types/{x-modules → src/x-modules}/query-suggestions/store/module.d.ts +0 -0
  1798. /package/types/{x-modules → src/x-modules}/query-suggestions/store/types.d.ts +0 -0
  1799. /package/types/{x-modules → src/x-modules}/query-suggestions/wiring.d.ts +0 -0
  1800. /package/types/{x-modules → src/x-modules}/query-suggestions/x-module.d.ts +0 -0
  1801. /package/types/{x-modules → src/x-modules}/recommendations/components/index.d.ts +0 -0
  1802. /package/types/{x-modules → src/x-modules}/recommendations/components/recommendations.vue.d.ts +0 -0
  1803. /package/types/{x-modules → src/x-modules}/recommendations/config.types.d.ts +0 -0
  1804. /package/types/{x-modules → src/x-modules}/recommendations/events.types.d.ts +0 -0
  1805. /package/types/{x-modules → src/x-modules}/recommendations/index.d.ts +0 -0
  1806. /package/types/{x-modules → src/x-modules}/recommendations/store/actions/fetch-and-save-recommendations.action.d.ts +0 -0
  1807. /package/types/{x-modules → src/x-modules}/recommendations/store/actions/fetch-recommendations.action.d.ts +0 -0
  1808. /package/types/{x-modules → src/x-modules}/recommendations/store/constants.d.ts +0 -0
  1809. /package/types/{x-modules → src/x-modules}/recommendations/store/emitters.d.ts +0 -0
  1810. /package/types/{x-modules → src/x-modules}/recommendations/store/getters/request.getter.d.ts +0 -0
  1811. /package/types/{x-modules → src/x-modules}/recommendations/store/index.d.ts +0 -0
  1812. /package/types/{x-modules → src/x-modules}/recommendations/store/module.d.ts +0 -0
  1813. /package/types/{x-modules → src/x-modules}/recommendations/store/types.d.ts +0 -0
  1814. /package/types/{x-modules → src/x-modules}/recommendations/wiring.d.ts +0 -0
  1815. /package/types/{x-modules → src/x-modules}/recommendations/x-module.d.ts +0 -0
  1816. /package/types/{x-modules → src/x-modules}/related-prompts/components/index.d.ts +0 -0
  1817. /package/types/{x-modules → src/x-modules}/related-prompts/components/related-prompt.vue.d.ts +0 -0
  1818. /package/types/{x-modules → src/x-modules}/related-prompts/components/related-prompts-list.vue.d.ts +0 -0
  1819. /package/types/{x-modules → src/x-modules}/related-prompts/components/related-prompts-tag-list.vue.d.ts +0 -0
  1820. /package/types/{x-modules → src/x-modules}/related-prompts/events.types.d.ts +0 -0
  1821. /package/types/{x-modules → src/x-modules}/related-prompts/index.d.ts +0 -0
  1822. /package/types/{x-modules → src/x-modules}/related-prompts/store/actions/fetch-and-save-related-prompts.action.d.ts +0 -0
  1823. /package/types/{x-modules → src/x-modules}/related-prompts/store/actions/fetch-related-prompts.action.d.ts +0 -0
  1824. /package/types/{x-modules → src/x-modules}/related-prompts/store/actions/set-url-params.action.d.ts +0 -0
  1825. /package/types/{x-modules → src/x-modules}/related-prompts/store/emitters.d.ts +0 -0
  1826. /package/types/{x-modules → src/x-modules}/related-prompts/store/getters/index.d.ts +0 -0
  1827. /package/types/{x-modules → src/x-modules}/related-prompts/store/getters/related-prompts-query.getter.d.ts +0 -0
  1828. /package/types/{x-modules → src/x-modules}/related-prompts/store/getters/request.getter.d.ts +0 -0
  1829. /package/types/{x-modules → src/x-modules}/related-prompts/store/index.d.ts +0 -0
  1830. /package/types/{x-modules → src/x-modules}/related-prompts/store/module.d.ts +0 -0
  1831. /package/types/{x-modules → src/x-modules}/related-prompts/store/types.d.ts +0 -0
  1832. /package/types/{x-modules → src/x-modules}/related-prompts/types.d.ts +0 -0
  1833. /package/types/{x-modules → src/x-modules}/related-prompts/wiring.d.ts +0 -0
  1834. /package/types/{x-modules → src/x-modules}/related-prompts/x-module.d.ts +0 -0
  1835. /package/types/{x-modules → src/x-modules}/related-tags/components/index.d.ts +0 -0
  1836. /package/types/{x-modules → src/x-modules}/related-tags/components/related-tag.vue.d.ts +0 -0
  1837. /package/types/{x-modules → src/x-modules}/related-tags/components/related-tags.vue.d.ts +0 -0
  1838. /package/types/{x-modules → src/x-modules}/related-tags/config.types.d.ts +0 -0
  1839. /package/types/{x-modules → src/x-modules}/related-tags/events.types.d.ts +0 -0
  1840. /package/types/{x-modules → src/x-modules}/related-tags/index.d.ts +0 -0
  1841. /package/types/{x-modules → src/x-modules}/related-tags/store/actions/fetch-and-save-related-tags.action.d.ts +0 -0
  1842. /package/types/{x-modules → src/x-modules}/related-tags/store/actions/fetch-related-tags.action.d.ts +0 -0
  1843. /package/types/{x-modules → src/x-modules}/related-tags/store/actions/set-url-params.action.d.ts +0 -0
  1844. /package/types/{x-modules → src/x-modules}/related-tags/store/actions/toggle-related-tag.action.d.ts +0 -0
  1845. /package/types/{x-modules → src/x-modules}/related-tags/store/emitters.d.ts +0 -0
  1846. /package/types/{x-modules → src/x-modules}/related-tags/store/getters/query.getter.d.ts +0 -0
  1847. /package/types/{x-modules → src/x-modules}/related-tags/store/getters/related-tags.getter.d.ts +0 -0
  1848. /package/types/{x-modules → src/x-modules}/related-tags/store/getters/request.getter.d.ts +0 -0
  1849. /package/types/{x-modules → src/x-modules}/related-tags/store/index.d.ts +0 -0
  1850. /package/types/{x-modules → src/x-modules}/related-tags/store/module.d.ts +0 -0
  1851. /package/types/{x-modules → src/x-modules}/related-tags/store/types.d.ts +0 -0
  1852. /package/types/{x-modules → src/x-modules}/related-tags/wiring.d.ts +0 -0
  1853. /package/types/{x-modules → src/x-modules}/related-tags/x-module.d.ts +0 -0
  1854. /package/types/{x-modules → src/x-modules}/scroll/components/index.d.ts +0 -0
  1855. /package/types/{x-modules → src/x-modules}/scroll/components/main-scroll-item.vue.d.ts +0 -0
  1856. /package/types/{x-modules → src/x-modules}/scroll/components/main-scroll.vue.d.ts +0 -0
  1857. /package/types/{x-modules → src/x-modules}/scroll/components/scroll-to-top.vue.d.ts +0 -0
  1858. /package/types/{x-modules → src/x-modules}/scroll/components/scroll.const.d.ts +0 -0
  1859. /package/types/{x-modules → src/x-modules}/scroll/components/scroll.types.d.ts +0 -0
  1860. /package/types/{x-modules → src/x-modules}/scroll/components/scroll.vue.d.ts +0 -0
  1861. /package/types/{x-modules → src/x-modules}/scroll/events.types.d.ts +0 -0
  1862. /package/types/{x-modules → src/x-modules}/scroll/index.d.ts +0 -0
  1863. /package/types/{x-modules → src/x-modules}/scroll/store/emitters.d.ts +0 -0
  1864. /package/types/{x-modules → src/x-modules}/scroll/store/index.d.ts +0 -0
  1865. /package/types/{x-modules → src/x-modules}/scroll/store/module.d.ts +0 -0
  1866. /package/types/{x-modules → src/x-modules}/scroll/store/types.d.ts +0 -0
  1867. /package/types/{x-modules → src/x-modules}/scroll/wiring.d.ts +0 -0
  1868. /package/types/{x-modules → src/x-modules}/scroll/x-module.d.ts +0 -0
  1869. /package/types/{x-modules → src/x-modules}/search/components/banner.vue.d.ts +0 -0
  1870. /package/types/{x-modules → src/x-modules}/search/components/banners-list.vue.d.ts +0 -0
  1871. /package/types/{x-modules → src/x-modules}/search/components/fallback-disclaimer.vue.d.ts +0 -0
  1872. /package/types/{x-modules → src/x-modules}/search/components/index.d.ts +0 -0
  1873. /package/types/{x-modules → src/x-modules}/search/components/partial-query-button.vue.d.ts +0 -0
  1874. /package/types/{x-modules → src/x-modules}/search/components/partial-results-list.vue.d.ts +0 -0
  1875. /package/types/{x-modules → src/x-modules}/search/components/promoted.vue.d.ts +0 -0
  1876. /package/types/{x-modules → src/x-modules}/search/components/promoteds-list.vue.d.ts +0 -0
  1877. /package/types/{x-modules → src/x-modules}/search/components/redirection.vue.d.ts +0 -0
  1878. /package/types/{x-modules → src/x-modules}/search/components/results-list.vue.d.ts +0 -0
  1879. /package/types/{x-modules → src/x-modules}/search/components/sort-dropdown.vue.d.ts +0 -0
  1880. /package/types/{x-modules → src/x-modules}/search/components/sort-list.vue.d.ts +0 -0
  1881. /package/types/{x-modules → src/x-modules}/search/components/sort-picker-list.types.d.ts +0 -0
  1882. /package/types/{x-modules → src/x-modules}/search/components/sort-picker-list.vue.d.ts +0 -0
  1883. /package/types/{x-modules → src/x-modules}/search/components/spellcheck-button.vue.d.ts +0 -0
  1884. /package/types/{x-modules → src/x-modules}/search/components/spellcheck.vue.d.ts +0 -0
  1885. /package/types/{x-modules → src/x-modules}/search/config.types.d.ts +0 -0
  1886. /package/types/{x-modules → src/x-modules}/search/events.types.d.ts +0 -0
  1887. /package/types/{x-modules → src/x-modules}/search/index.d.ts +0 -0
  1888. /package/types/{x-modules → src/x-modules}/search/store/actions/fetch-and-save-search-response.action.d.ts +0 -0
  1889. /package/types/{x-modules → src/x-modules}/search/store/actions/fetch-search-response.action.d.ts +0 -0
  1890. /package/types/{x-modules → src/x-modules}/search/store/actions/increase-page-apending-results.action.d.ts +0 -0
  1891. /package/types/{x-modules → src/x-modules}/search/store/actions/index.d.ts +0 -0
  1892. /package/types/{x-modules → src/x-modules}/search/store/actions/reset-request-on-refinement.action.d.ts +0 -0
  1893. /package/types/{x-modules → src/x-modules}/search/store/actions/save-origin.action.d.ts +0 -0
  1894. /package/types/{x-modules → src/x-modules}/search/store/actions/save-search-response.action.d.ts +0 -0
  1895. /package/types/{x-modules → src/x-modules}/search/store/actions/set-url-params.action.d.ts +0 -0
  1896. /package/types/{x-modules → src/x-modules}/search/store/emitters.d.ts +0 -0
  1897. /package/types/{x-modules → src/x-modules}/search/store/getters/index.d.ts +0 -0
  1898. /package/types/{x-modules → src/x-modules}/search/store/getters/query.getter.d.ts +0 -0
  1899. /package/types/{x-modules → src/x-modules}/search/store/getters/request.getter.d.ts +0 -0
  1900. /package/types/{x-modules → src/x-modules}/search/store/index.d.ts +0 -0
  1901. /package/types/{x-modules → src/x-modules}/search/store/module.d.ts +0 -0
  1902. /package/types/{x-modules → src/x-modules}/search/store/types.d.ts +0 -0
  1903. /package/types/{x-modules → src/x-modules}/search/types.d.ts +0 -0
  1904. /package/types/{x-modules → src/x-modules}/search/wiring.d.ts +0 -0
  1905. /package/types/{x-modules → src/x-modules}/search/x-module.d.ts +0 -0
  1906. /package/types/{x-modules → src/x-modules}/search-box/components/clear-search-input.vue.d.ts +0 -0
  1907. /package/types/{x-modules → src/x-modules}/search-box/components/index.d.ts +0 -0
  1908. /package/types/{x-modules → src/x-modules}/search-box/components/search-button.vue.d.ts +0 -0
  1909. /package/types/{x-modules → src/x-modules}/search-box/components/search-input-placeholder.vue.d.ts +0 -0
  1910. /package/types/{x-modules → src/x-modules}/search-box/components/search-input.vue.d.ts +0 -0
  1911. /package/types/{x-modules → src/x-modules}/search-box/events.types.d.ts +0 -0
  1912. /package/types/{x-modules → src/x-modules}/search-box/index.d.ts +0 -0
  1913. /package/types/{x-modules → src/x-modules}/search-box/store/actions/set-input-status.action.d.ts +0 -0
  1914. /package/types/{x-modules → src/x-modules}/search-box/store/actions/set-url-params.action.d.ts +0 -0
  1915. /package/types/{x-modules → src/x-modules}/search-box/store/emitters.d.ts +0 -0
  1916. /package/types/{x-modules → src/x-modules}/search-box/store/index.d.ts +0 -0
  1917. /package/types/{x-modules → src/x-modules}/search-box/store/module.d.ts +0 -0
  1918. /package/types/{x-modules → src/x-modules}/search-box/store/types.d.ts +0 -0
  1919. /package/types/{x-modules → src/x-modules}/search-box/wiring.d.ts +0 -0
  1920. /package/types/{x-modules → src/x-modules}/search-box/x-module.d.ts +0 -0
  1921. /package/types/{x-modules → src/x-modules}/semantic-queries/components/index.d.ts +0 -0
  1922. /package/types/{x-modules → src/x-modules}/semantic-queries/components/semantic-queries.vue.d.ts +0 -0
  1923. /package/types/{x-modules → src/x-modules}/semantic-queries/components/semantic-query.vue.d.ts +0 -0
  1924. /package/types/{x-modules → src/x-modules}/semantic-queries/config.types.d.ts +0 -0
  1925. /package/types/{x-modules → src/x-modules}/semantic-queries/events.types.d.ts +0 -0
  1926. /package/types/{x-modules → src/x-modules}/semantic-queries/index.d.ts +0 -0
  1927. /package/types/{x-modules → src/x-modules}/semantic-queries/store/actions/fetch-and-save-semantic-query.action.d.ts +0 -0
  1928. /package/types/{x-modules → src/x-modules}/semantic-queries/store/actions/fetch-semantic-query.action.d.ts +0 -0
  1929. /package/types/{x-modules → src/x-modules}/semantic-queries/store/actions/index.d.ts +0 -0
  1930. /package/types/{x-modules → src/x-modules}/semantic-queries/store/emitters.d.ts +0 -0
  1931. /package/types/{x-modules → src/x-modules}/semantic-queries/store/getters/index.d.ts +0 -0
  1932. /package/types/{x-modules → src/x-modules}/semantic-queries/store/getters/normalized-query.getter.d.ts +0 -0
  1933. /package/types/{x-modules → src/x-modules}/semantic-queries/store/getters/request.getter.d.ts +0 -0
  1934. /package/types/{x-modules → src/x-modules}/semantic-queries/store/getters/semanti-queries-query.getter.d.ts +0 -0
  1935. /package/types/{x-modules → src/x-modules}/semantic-queries/store/index.d.ts +0 -0
  1936. /package/types/{x-modules → src/x-modules}/semantic-queries/store/module.d.ts +0 -0
  1937. /package/types/{x-modules → src/x-modules}/semantic-queries/store/types.d.ts +0 -0
  1938. /package/types/{x-modules → src/x-modules}/semantic-queries/wiring.d.ts +0 -0
  1939. /package/types/{x-modules → src/x-modules}/semantic-queries/x-module.d.ts +0 -0
  1940. /package/types/{x-modules → src/x-modules}/tagging/components/index.d.ts +0 -0
  1941. /package/types/{x-modules → src/x-modules}/tagging/components/tagging.vue.d.ts +0 -0
  1942. /package/types/{x-modules → src/x-modules}/tagging/config.types.d.ts +0 -0
  1943. /package/types/{x-modules → src/x-modules}/tagging/events.types.d.ts +0 -0
  1944. /package/types/{x-modules → src/x-modules}/tagging/index.d.ts +0 -0
  1945. /package/types/{x-modules → src/x-modules}/tagging/service/external-tagging.service.d.ts +0 -0
  1946. /package/types/{x-modules → src/x-modules}/tagging/service/index.d.ts +0 -0
  1947. /package/types/{x-modules → src/x-modules}/tagging/service/types.d.ts +0 -0
  1948. /package/types/{x-modules → src/x-modules}/tagging/store/actions/index.d.ts +0 -0
  1949. /package/types/{x-modules → src/x-modules}/tagging/store/actions/track.action.d.ts +0 -0
  1950. /package/types/{x-modules → src/x-modules}/tagging/store/emitters.d.ts +0 -0
  1951. /package/types/{x-modules → src/x-modules}/tagging/store/index.d.ts +0 -0
  1952. /package/types/{x-modules → src/x-modules}/tagging/store/module.d.ts +0 -0
  1953. /package/types/{x-modules → src/x-modules}/tagging/store/types.d.ts +0 -0
  1954. /package/types/{x-modules → src/x-modules}/tagging/wiring.d.ts +0 -0
  1955. /package/types/{x-modules → src/x-modules}/tagging/x-module.d.ts +0 -0
  1956. /package/types/{x-modules → src/x-modules}/url/components/index.d.ts +0 -0
  1957. /package/types/{x-modules → src/x-modules}/url/components/url-handler.vue.d.ts +0 -0
  1958. /package/types/{x-modules → src/x-modules}/url/events.types.d.ts +0 -0
  1959. /package/types/{x-modules → src/x-modules}/url/index.d.ts +0 -0
  1960. /package/types/{x-modules → src/x-modules}/url/store/emitters.d.ts +0 -0
  1961. /package/types/{x-modules → src/x-modules}/url/store/getters/url-params.getter.d.ts +0 -0
  1962. /package/types/{x-modules → src/x-modules}/url/store/index.d.ts +0 -0
  1963. /package/types/{x-modules → src/x-modules}/url/store/initial-state.d.ts +0 -0
  1964. /package/types/{x-modules → src/x-modules}/url/store/module.d.ts +0 -0
  1965. /package/types/{x-modules → src/x-modules}/url/store/mutations/set-params.mutation.d.ts +0 -0
  1966. /package/types/{x-modules → src/x-modules}/url/store/types.d.ts +0 -0
  1967. /package/types/{x-modules → src/x-modules}/url/wiring.d.ts +0 -0
  1968. /package/types/{x-modules → src/x-modules}/url/x-module.d.ts +0 -0
  1969. /package/types/{x-modules → src/x-modules}/x-modules.types.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"use-alias-api.js","sources":["../../../src/composables/use-alias-api.ts"],"sourcesContent":["import type {\n Facet,\n Filter,\n HistoryQuery,\n NextQuery,\n PartialResult,\n Redirection,\n RelatedTag,\n Result,\n SemanticQuery,\n Suggestion,\n} from '@empathyco/x-types'\nimport type { RequestStatus } from '../store/utils/status-store.utils'\nimport type { ScrollComponentState } from '../x-modules/scroll/store/types'\nimport type { InputStatus } from '../x-modules/search-box/store/types'\nimport { useStore } from 'vuex'\nimport { getGetterPath } from '../plugins/index'\n\n/* eslint-disable ts/no-unsafe-return,ts/no-unsafe-member-access,ts/no-unsafe-assignment */\n\n/**\n * Creates an object containing the alias part of {@link XComponentAPI}.\n *\n * @returns An object containing the alias part of the {@link XComponentAPI}.\n *\n * @internal\n */\nexport function useAliasApi(): UseAliasAPI {\n const queryModules = [\n 'facets',\n 'searchBox',\n 'nextQueries',\n 'querySuggestions',\n 'relatedTags',\n 'search',\n ] as const\n const statusModules = [\n 'identifierResults',\n 'nextQueries',\n 'popularSearches',\n 'querySuggestions',\n 'recommendations',\n 'relatedTags',\n 'search',\n ] as const\n\n const store = useStore()\n\n const query = queryModules.reduce((acc, moduleName) => {\n return Object.defineProperty(acc, moduleName, {\n get(): string {\n return store.state.x[moduleName]?.query ?? ''\n },\n enumerable: true,\n })\n }, {} as UseAliasQueryAPI)\n\n const status = statusModules.reduce((acc, moduleName) => {\n return Object.defineProperty(acc, moduleName, {\n get(): RequestStatus | undefined {\n return store.state.x[moduleName]?.status\n },\n enumerable: true,\n })\n }, {} as UseAliasStatusAPI)\n\n return {\n query,\n status,\n get device() {\n return store.state.x.device?.name ?? null\n },\n get facets() {\n return store.getters[getGetterPath('facets', 'facets')] ?? {}\n },\n get historyQueries() {\n return store.getters[getGetterPath('historyQueries', 'historyQueries')] ?? []\n },\n get historyQueriesWithResults() {\n return store.getters[getGetterPath('historyQueries', 'historyQueriesWithResults')] ?? []\n },\n get fullHistoryQueries() {\n return store.state.x.historyQueries?.historyQueries ?? []\n },\n get isHistoryQueriesEnabled() {\n return store.state.x.historyQueries?.isEnabled ?? false\n },\n get fromNoResultsWithFilters() {\n return store.state.x.search?.fromNoResultsWithFilters ?? false\n },\n get identifierResults() {\n return store.state.x.identifierResults?.identifierResults ?? []\n },\n get searchBoxStatus() {\n return store.state.x.searchBox?.inputStatus ?? undefined\n },\n get isEmpathizeOpen() {\n return store.state.x.empathize?.isOpen ?? false\n },\n get nextQueries() {\n return store.getters[getGetterPath('nextQueries', 'nextQueries')] ?? []\n },\n get noResults() {\n return store.state.x.search?.isNoResults ?? false\n },\n get partialResults() {\n return store.state.x.search?.partialResults ?? []\n },\n get popularSearches() {\n return store.state.x.popularSearches?.popularSearches ?? []\n },\n get querySuggestions() {\n return store.getters[getGetterPath('querySuggestions', 'querySuggestions')] ?? []\n },\n get fullQuerySuggestions() {\n return store.state.x.querySuggestions?.suggestions ?? []\n },\n get recommendations() {\n return store.state.x.recommendations?.recommendations ?? []\n },\n get redirections() {\n return store.state.x.search?.redirections ?? []\n },\n get relatedTags() {\n return store.getters[getGetterPath('relatedTags', 'relatedTags')] ?? []\n },\n get results() {\n return store.state.x.search?.results ?? []\n },\n get scroll() {\n return store.state.x.scroll?.data ?? {}\n },\n get selectedFilters() {\n return store.getters[getGetterPath('facets', 'selectedFilters')] ?? []\n },\n get selectedRelatedTags() {\n return store.state.x.relatedTags?.selectedRelatedTags ?? []\n },\n get semanticQueries() {\n return store.state.x.semanticQueries?.semanticQueries ?? []\n },\n get spellcheckedQuery() {\n return store.state.x.search?.spellcheckedQuery ?? null\n },\n get totalResults() {\n return store.state.x.search?.totalResults ?? 0\n },\n get selectedSort() {\n return store.state.x.search?.sort ?? ''\n },\n get priceStats() {\n return store.state.x.search?.stats?.price ?? {}\n },\n }\n}\n\n/**\n * Alias to facilitate retrieving values from the store.\n *\n * @public\n */\nexport interface UseAliasAPI {\n /** The {@link DeviceXModule} detected device. */\n readonly device: string | null\n /** The {@link FacetsXModule} facets. */\n readonly facets: Record<Facet['id'], Facet>\n /** The {@link HistoryQueriesXModule} history queries matching the query. */\n readonly historyQueries: ReadonlyArray<HistoryQuery>\n /** The {@link HistoryQueriesXModule} history queries with 1 or more results. */\n readonly historyQueriesWithResults: ReadonlyArray<HistoryQuery>\n /** The {@link HistoryQueriesXModule} history queries. */\n readonly fullHistoryQueries: ReadonlyArray<HistoryQuery>\n /** The {@link HistoryQueriesXModule} history queries enabled flag. */\n readonly isHistoryQueriesEnabled: Readonly<boolean>\n /** The {@link SearchXModule} no results with filters flag. */\n readonly fromNoResultsWithFilters: Readonly<boolean>\n /** The {@link IdentifierResultsXModule} results. */\n readonly identifierResults: ReadonlyArray<Result>\n /** The {@link SearchBoxXModule } input status. */\n readonly searchBoxStatus: InputStatus | undefined\n /** The {@link Empathize} is open state. */\n readonly isEmpathizeOpen: boolean\n /** The {@link NextQueriesXModule} next queries. */\n readonly nextQueries: ReadonlyArray<NextQuery>\n /** The {@link SearchXModule} no results situation. */\n readonly noResults: boolean\n /** The {@link SearchXModule} partial results. */\n readonly partialResults: ReadonlyArray<PartialResult>\n /** The {@link PopularSearchesXModule} popular searches. */\n readonly popularSearches: ReadonlyArray<Suggestion>\n /** The query value of the different modules. */\n readonly query: UseAliasQueryAPI\n /** The {@link QuerySuggestionsXModule} query suggestions that should be displayed. */\n readonly querySuggestions: ReadonlyArray<Suggestion>\n /** The {@link QuerySuggestionsXModule} query suggestions. */\n readonly fullQuerySuggestions: ReadonlyArray<Suggestion>\n /** The {@link RecommendationsXModule} recommendations. */\n readonly recommendations: ReadonlyArray<Result>\n /** The {@link SearchXModule} redirections. */\n readonly redirections: ReadonlyArray<Redirection>\n /** The {@link RelatedTagsXModule} related tags (Both selected and deselected). */\n readonly relatedTags: ReadonlyArray<RelatedTag>\n /** The {@link SearchXModule} search results. */\n readonly results: ReadonlyArray<Result>\n /** The {@link ScrollXModule} data state. */\n readonly scroll: Record<string, ScrollComponentState>\n /** The {@link FacetsXModule} selected filters. */\n readonly selectedFilters: Filter[]\n /** The {@link RelatedTagsXModule} selected related tags. */\n readonly selectedRelatedTags: ReadonlyArray<RelatedTag>\n /** The {@link SemanticQueriesXModule} queries. */\n readonly semanticQueries: ReadonlyArray<SemanticQuery>\n /** The {@link SearchXModule} spellchecked query. */\n readonly spellcheckedQuery: string | null\n /** The status value of the different modules. */\n readonly status: UseAliasStatusAPI\n /** The {@link SearchXModule} total results. */\n readonly totalResults: number\n /** The {@link SearchXModule} selected sort. */\n readonly selectedSort: string\n /** The {@link SearchXModule} price specific stats. */\n readonly priceStats: { min: number; max: number }\n}\n\n/**\n * Alias to facilitate retrieving the modules with query.\n *\n * @public\n */\nexport interface UseAliasQueryAPI {\n /** The {@link FacetsXModule} query. */\n readonly facets: string\n /** The {@link SearchBoxXModule} query. */\n readonly searchBox: string\n /** The {@link NextQueriesXModule} query. */\n readonly nextQueries: string\n /** The {@link QuerySuggestionsXModule} query. */\n readonly querySuggestions: string\n /** The {@link RelatedTagsXModule} query. */\n readonly relatedTags: string\n /** The {@link SearchXModule} query. */\n readonly search: string\n}\n\n/**\n * Alias to facilitate retrieving the modules with status.\n *\n * @public\n */\nexport interface UseAliasStatusAPI {\n /** The {@link IdentifierResultsXModule} status. */\n readonly identifierResults: RequestStatus | undefined\n /** The {@link NextQueriesXModule} status. */\n readonly nextQueries: RequestStatus | undefined\n /** The {@link PopularSearchesXModule} status. */\n readonly popularSearches: RequestStatus | undefined\n /** The {@link QuerySuggestionsXModule} status. */\n readonly querySuggestions: RequestStatus | undefined\n /** The {@link RecommendationsXModule} status. */\n readonly recommendations: RequestStatus | undefined\n /** The {@link RelatedTagsXModule} status. */\n readonly relatedTags: RequestStatus | undefined\n /** The {@link SearchXModule} status. */\n readonly search: RequestStatus | undefined\n}\n\n/* eslint-enable ts/no-unsafe-return,ts/no-unsafe-member-access,ts/no-unsafe-assignment */\n"],"names":[],"mappings":";;;;;;;;;;;AAkBA;AAEA;;;;;;AAMG;SACa,WAAW,GAAA;AACzB,IAAA,MAAM,YAAY,GAAG;QACnB,QAAQ;QACR,WAAW;QACX,aAAa;QACb,kBAAkB;QAClB,aAAa;QACb,QAAQ;KACA;AACV,IAAA,MAAM,aAAa,GAAG;QACpB,mBAAmB;QACnB,aAAa;QACb,iBAAiB;QACjB,kBAAkB;QAClB,iBAAiB;QACjB,aAAa;QACb,QAAQ;KACA;AAEV,IAAA,MAAM,KAAK,GAAG,QAAQ,EAAE;IAExB,MAAM,KAAK,GAAG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E,eAAe,IAAI,EAAE;QAC7D,CAAC;AACD,QAAA,IAAI,iBAAiB,GAAA;YACnB,OAAO,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,iBAAiB,IAAI,IAAI;QACxD,CAAC;AACD,QAAA,IAAI,YAAY,GAAA;YACd,OAAO,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,YAAY,IAAI,CAAC;QAChD,CAAC;AACD,QAAA,IAAI,YAAY,GAAA;YACd,OAAO,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,IAAI,IAAI,EAAE;QACzC,CAAC;AACD,QAAA,IAAI,UAAU,GAAA;AACZ,YAAA,OAAO,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,KAAK,IAAI,EAAE;QACjD,CAAC;KACF;AACH;AAgHA;;;;"}
1
+ {"version":3,"file":"use-alias-api.js","sources":["../../../src/composables/use-alias-api.ts"],"sourcesContent":["import type {\n Facet,\n Filter,\n HistoryQuery,\n NextQuery,\n PartialResult,\n Redirection,\n RelatedTag,\n Result,\n SemanticQuery,\n Suggestion,\n} from '@empathyco/x-types'\nimport type { RequestStatus } from '../store/utils/status-store.utils'\nimport type { ScrollComponentState } from '../x-modules/scroll/store/types'\nimport type { InputStatus } from '../x-modules/search-box/store/types'\nimport { useStore } from 'vuex'\nimport { getGetterPath } from '../plugins/index'\n\n/* eslint-disable ts/no-unsafe-return,ts/no-unsafe-member-access,ts/no-unsafe-assignment */\n\n/**\n * Creates an object containing the alias part of {@link XComponentAPI}.\n *\n * @returns An object containing the alias part of the {@link XComponentAPI}.\n *\n * @internal\n */\nexport function useAliasApi(): UseAliasAPI {\n const queryModules = [\n 'facets',\n 'searchBox',\n 'nextQueries',\n 'querySuggestions',\n 'relatedTags',\n 'search',\n ] as const\n const statusModules = [\n 'identifierResults',\n 'nextQueries',\n 'popularSearches',\n 'querySuggestions',\n 'recommendations',\n 'relatedTags',\n 'search',\n ] as const\n\n const store = useStore()\n\n const query = queryModules.reduce((acc, moduleName) => {\n return Object.defineProperty(acc, moduleName, {\n get(): string {\n return store.state.x[moduleName]?.query ?? ''\n },\n enumerable: true,\n })\n }, {} as UseAliasQueryAPI)\n\n const status = statusModules.reduce((acc, moduleName) => {\n return Object.defineProperty(acc, moduleName, {\n get(): RequestStatus | undefined {\n return store.state.x[moduleName]?.status\n },\n enumerable: true,\n })\n }, {} as UseAliasStatusAPI)\n\n return {\n query,\n status,\n get device() {\n return store.state.x.device?.name ?? null\n },\n get facets() {\n return store.getters[getGetterPath('facets', 'facets')] ?? {}\n },\n get historyQueries() {\n return store.getters[getGetterPath('historyQueries', 'historyQueries')] ?? []\n },\n get historyQueriesWithResults() {\n return store.getters[getGetterPath('historyQueries', 'historyQueriesWithResults')] ?? []\n },\n get fullHistoryQueries() {\n return store.state.x.historyQueries?.historyQueries ?? []\n },\n get isHistoryQueriesEnabled() {\n return store.state.x.historyQueries?.isEnabled ?? false\n },\n get fromNoResultsWithFilters() {\n return store.state.x.search?.fromNoResultsWithFilters ?? false\n },\n get identifierResults() {\n return store.state.x.identifierResults?.identifierResults ?? []\n },\n get searchBoxStatus() {\n return store.state.x.searchBox?.inputStatus ?? undefined\n },\n get isEmpathizeOpen() {\n return store.state.x.empathize?.isOpen ?? false\n },\n get nextQueries() {\n return store.getters[getGetterPath('nextQueries', 'nextQueries')] ?? []\n },\n get noResults() {\n return store.state.x.search?.isNoResults ?? false\n },\n get partialResults() {\n return store.state.x.search?.partialResults ?? []\n },\n get popularSearches() {\n return store.state.x.popularSearches?.popularSearches ?? []\n },\n get querySuggestions() {\n return store.getters[getGetterPath('querySuggestions', 'querySuggestions')] ?? []\n },\n get fullQuerySuggestions() {\n return store.state.x.querySuggestions?.suggestions ?? []\n },\n get recommendations() {\n return store.state.x.recommendations?.recommendations ?? []\n },\n get redirections() {\n return store.state.x.search?.redirections ?? []\n },\n get relatedTags() {\n return store.getters[getGetterPath('relatedTags', 'relatedTags')] ?? []\n },\n get results() {\n return store.state.x.search?.results ?? []\n },\n get scroll() {\n return store.state.x.scroll?.data ?? {}\n },\n get selectedFilters() {\n return store.getters[getGetterPath('facets', 'selectedFilters')] ?? []\n },\n get selectedRelatedTags() {\n return store.state.x.relatedTags?.selectedRelatedTags ?? []\n },\n get semanticQueries() {\n return store.state.x.semanticQueries?.semanticQueries ?? []\n },\n get spellcheckedQuery() {\n return store.state.x.search?.spellcheckedQuery ?? null\n },\n get totalResults() {\n return store.state.x.search?.totalResults ?? 0\n },\n get selectedSort() {\n return store.state.x.search?.sort ?? ''\n },\n get priceStats() {\n return store.state.x.search?.stats?.price ?? {}\n },\n }\n}\n\n/**\n * Alias to facilitate retrieving values from the store.\n *\n * @public\n */\nexport interface UseAliasAPI {\n /** The {@link DeviceXModule} detected device. */\n readonly device: string | null\n /** The {@link FacetsXModule} facets. */\n readonly facets: Record<Facet['id'], Facet>\n /** The {@link HistoryQueriesXModule} history queries matching the query. */\n readonly historyQueries: ReadonlyArray<HistoryQuery>\n /** The {@link HistoryQueriesXModule} history queries with 1 or more results. */\n readonly historyQueriesWithResults: ReadonlyArray<HistoryQuery>\n /** The {@link HistoryQueriesXModule} history queries. */\n readonly fullHistoryQueries: ReadonlyArray<HistoryQuery>\n /** The {@link HistoryQueriesXModule} history queries enabled flag. */\n readonly isHistoryQueriesEnabled: Readonly<boolean>\n /** The {@link SearchXModule} no results with filters flag. */\n readonly fromNoResultsWithFilters: Readonly<boolean>\n /** The {@link IdentifierResultsXModule} results. */\n readonly identifierResults: ReadonlyArray<Result>\n /** The {@link SearchBoxXModule } input status. */\n readonly searchBoxStatus: InputStatus | undefined\n /** The {@link Empathize} is open state. */\n readonly isEmpathizeOpen: boolean\n /** The {@link NextQueriesXModule} next queries. */\n readonly nextQueries: ReadonlyArray<NextQuery>\n /** The {@link SearchXModule} no results situation. */\n readonly noResults: boolean\n /** The {@link SearchXModule} partial results. */\n readonly partialResults: ReadonlyArray<PartialResult>\n /** The {@link PopularSearchesXModule} popular searches. */\n readonly popularSearches: ReadonlyArray<Suggestion>\n /** The query value of the different modules. */\n readonly query: UseAliasQueryAPI\n /** The {@link QuerySuggestionsXModule} query suggestions that should be displayed. */\n readonly querySuggestions: ReadonlyArray<Suggestion>\n /** The {@link QuerySuggestionsXModule} query suggestions. */\n readonly fullQuerySuggestions: ReadonlyArray<Suggestion>\n /** The {@link RecommendationsXModule} recommendations. */\n readonly recommendations: ReadonlyArray<Result>\n /** The {@link SearchXModule} redirections. */\n readonly redirections: ReadonlyArray<Redirection>\n /** The {@link RelatedTagsXModule} related tags (Both selected and deselected). */\n readonly relatedTags: ReadonlyArray<RelatedTag>\n /** The {@link SearchXModule} search results. */\n readonly results: ReadonlyArray<Result>\n /** The {@link ScrollXModule} data state. */\n readonly scroll: Record<string, ScrollComponentState>\n /** The {@link FacetsXModule} selected filters. */\n readonly selectedFilters: Filter[]\n /** The {@link RelatedTagsXModule} selected related tags. */\n readonly selectedRelatedTags: ReadonlyArray<RelatedTag>\n /** The {@link SemanticQueriesXModule} queries. */\n readonly semanticQueries: ReadonlyArray<SemanticQuery>\n /** The {@link SearchXModule} spellchecked query. */\n readonly spellcheckedQuery: string | null\n /** The status value of the different modules. */\n readonly status: UseAliasStatusAPI\n /** The {@link SearchXModule} total results. */\n readonly totalResults: number\n /** The {@link SearchXModule} selected sort. */\n readonly selectedSort: string\n /** The {@link SearchXModule} price specific stats. */\n readonly priceStats: { min: number; max: number }\n}\n\n/**\n * Alias to facilitate retrieving the modules with query.\n *\n * @public\n */\nexport interface UseAliasQueryAPI {\n /** The {@link FacetsXModule} query. */\n readonly facets: string\n /** The {@link SearchBoxXModule} query. */\n readonly searchBox: string\n /** The {@link NextQueriesXModule} query. */\n readonly nextQueries: string\n /** The {@link QuerySuggestionsXModule} query. */\n readonly querySuggestions: string\n /** The {@link RelatedTagsXModule} query. */\n readonly relatedTags: string\n /** The {@link SearchXModule} query. */\n readonly search: string\n}\n\n/**\n * Alias to facilitate retrieving the modules with status.\n *\n * @public\n */\nexport interface UseAliasStatusAPI {\n /** The {@link IdentifierResultsXModule} status. */\n readonly identifierResults: RequestStatus | undefined\n /** The {@link NextQueriesXModule} status. */\n readonly nextQueries: RequestStatus | undefined\n /** The {@link PopularSearchesXModule} status. */\n readonly popularSearches: RequestStatus | undefined\n /** The {@link QuerySuggestionsXModule} status. */\n readonly querySuggestions: RequestStatus | undefined\n /** The {@link RecommendationsXModule} status. */\n readonly recommendations: RequestStatus | undefined\n /** The {@link RelatedTagsXModule} status. */\n readonly relatedTags: RequestStatus | undefined\n /** The {@link SearchXModule} status. */\n readonly search: RequestStatus | undefined\n}\n\n/* eslint-enable ts/no-unsafe-return,ts/no-unsafe-member-access,ts/no-unsafe-assignment */\n"],"names":[],"mappings":";;;;;;AAkBA;AAEA;;;;;;AAMG;SACa,WAAW,GAAA;AACzB,IAAA,MAAM,YAAY,GAAG;QACnB,QAAQ;QACR,WAAW;QACX,aAAa;QACb,kBAAkB;QAClB,aAAa;QACb,QAAQ;KACA;AACV,IAAA,MAAM,aAAa,GAAG;QACpB,mBAAmB;QACnB,aAAa;QACb,iBAAiB;QACjB,kBAAkB;QAClB,iBAAiB;QACjB,aAAa;QACb,QAAQ;KACA;AAEV,IAAA,MAAM,KAAK,GAAG,QAAQ,EAAE;IAExB,MAAM,KAAK,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,UAAU,KAAI;AACpD,QAAA,OAAO,MAAM,CAAC,cAAc,CAAC,GAAG,EAAE,UAAU,EAAE;YAC5C,GAAG,GAAA;AACD,gBAAA,OAAO,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,UAAU,CAAC,EAAE,KAAK,IAAI,EAAE;YAC/C,CAAC;AACD,YAAA,UAAU,EAAE,IAAI;AACjB,SAAA,CAAC;IACJ,CAAC,EAAE,EAAsB,CAAC;IAE1B,MAAM,MAAM,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,UAAU,KAAI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AA,IAAI,UAAU,GAAA;AACZ,YAAA,OAAO,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,KAAK,IAAI,EAAE;QACjD,CAAC;KACF;AACH;AAgHA;;;;"}
@@ -1,12 +1,7 @@
1
1
  import { computed } from 'vue';
2
2
  import { useStore } from 'vuex';
3
- import '@vue/devtools-api';
4
- import '../plugins/devtools/timeline.devtools.js';
5
- import '@empathyco/x-utils';
6
- import 'rxjs/operators';
7
- import 'rxjs';
8
- import '../plugins/devtools/colors.utils.js';
9
3
  import '../plugins/x-bus.js';
4
+ import '@empathyco/x-utils';
10
5
  import '../plugins/x-plugin.js';
11
6
  import { getGetterPath } from '../plugins/x-plugin.utils.js';
12
7
 
@@ -1 +1 @@
1
- {"version":3,"file":"use-getter.js","sources":["../../../src/composables/use-getter.ts"],"sourcesContent":["import type { Dictionary } from '@empathyco/x-utils'\nimport type { ComputedRef } from 'vue'\nimport type { RootXStoreState } from '../store/index'\nimport type { ExtractGetters, XModuleName } from '../x-modules/x-modules.types'\nimport { computed } from 'vue'\nimport { useStore } from 'vuex'\nimport { getGetterPath } from '../plugins/index'\n\ninterface UseGetter {\n /** @deprecated Use the single-argument overload instead. */\n <Module extends XModuleName, Getters = keyof ExtractGetters<Module> & string[]>(\n module: Module,\n getters: Getters,\n ): Dictionary<ComputedRef>\n\n /**\n * Preferred. Use this signature for better type inference and future compatibility.\n */\n <Module extends XModuleName, Getters = ExtractGetters<Module>>(\n module: Module,\n ): { [P in keyof Getters]: ComputedRef<Getters[P]> }\n}\n\n/**\n * Function which returns the requested getter's properties as a dictionary.\n *\n * @param module - The {@link XModuleName} of the getter.\n * @returns The requested getters from the module.\n * @public\n */\nexport const useGetter: UseGetter = function useGetter<\n Module extends XModuleName,\n Getters = ExtractGetters<Module>,\n>(module: Module): { [P in keyof Getters]: ComputedRef<Getters[P]> } {\n const store = useStore<RootXStoreState>()\n return new Proxy({} as { [P in keyof Getters]: ComputedRef<Getters[P]> }, {\n get(_obj, getterName) {\n const path = getGetterPath(module, getterName as keyof ExtractGetters<Module>)\n // eslint-disable-next-line ts/no-unsafe-member-access,ts/no-unsafe-return\n return computed(() => store.getters[path as typeof getterName])\n },\n })\n}\n"],"names":[],"mappings":";;;;;;;;;;;;AAuBA;;;;;;AAMG;AACI,MAAM,SAAS,GAAc,SAAS,SAAS,CAGpD,MAAc,EAAA;AACd,IAAA,MAAM,KAAK,GAAG,QAAQ,EAAmB;AACzC,IAAA,OAAO,IAAI,KAAK,CAAC,EAAuD,EAAE;QACxE,GAAG,CAAC,IAAI,EAAE,UAAU,EAAA;YAClB,MAAM,IAAI,GAAG,aAAa,CAAC,MAAM,EAAE,UAA0C,CAAC;;AAE9E,YAAA,OAAO,QAAQ,CAAC,MAAM,KAAK,CAAC,OAAO,CAAC,IAAyB,CAAC,CAAC;QACjE,CAAC;AACF,KAAA,CAAC;AACJ;;;;"}
1
+ {"version":3,"file":"use-getter.js","sources":["../../../src/composables/use-getter.ts"],"sourcesContent":["import type { Dictionary } from '@empathyco/x-utils'\nimport type { ComputedRef } from 'vue'\nimport type { RootXStoreState } from '../store/index'\nimport type { ExtractGetters, XModuleName } from '../x-modules/x-modules.types'\nimport { computed } from 'vue'\nimport { useStore } from 'vuex'\nimport { getGetterPath } from '../plugins/index'\n\ninterface UseGetter {\n /** @deprecated Use the single-argument overload instead. */\n <Module extends XModuleName, Getters = keyof ExtractGetters<Module> & string[]>(\n module: Module,\n getters: Getters,\n ): Dictionary<ComputedRef>\n\n /**\n * Preferred. Use this signature for better type inference and future compatibility.\n */\n <Module extends XModuleName, Getters = ExtractGetters<Module>>(\n module: Module,\n ): { [P in keyof Getters]: ComputedRef<Getters[P]> }\n}\n\n/**\n * Function which returns the requested getter's properties as a dictionary.\n *\n * @param module - The {@link XModuleName} of the getter.\n * @returns The requested getters from the module.\n * @public\n */\nexport const useGetter: UseGetter = function useGetter<\n Module extends XModuleName,\n Getters = ExtractGetters<Module>,\n>(module: Module): { [P in keyof Getters]: ComputedRef<Getters[P]> } {\n const store = useStore<RootXStoreState>()\n return new Proxy({} as { [P in keyof Getters]: ComputedRef<Getters[P]> }, {\n get(_obj, getterName) {\n const path = getGetterPath(module, getterName as keyof ExtractGetters<Module>)\n // eslint-disable-next-line ts/no-unsafe-member-access,ts/no-unsafe-return\n return computed(() => store.getters[path as typeof getterName])\n },\n })\n}\n"],"names":[],"mappings":";;;;;;;AAuBA;;;;;;AAMG;AACI,MAAM,SAAS,GAAc,SAAS,SAAS,CAGpD,MAAc,EAAA;AACd,IAAA,MAAM,KAAK,GAAG,QAAQ,EAAmB;AACzC,IAAA,OAAO,IAAI,KAAK,CAAC,EAAuD,EAAE;QACxE,GAAG,CAAC,IAAI,EAAE,UAAU,EAAA;YAClB,MAAM,IAAI,GAAG,aAAa,CAAC,MAAM,EAAE,UAA0C,CAAC;;AAE9E,YAAA,OAAO,QAAQ,CAAC,MAAM,KAAK,CAAC,OAAO,CAAC,IAAyB,CAAC,CAAC;QACjE,CAAC;AACF,KAAA,CAAC;AACJ;;;;"}
@@ -1,10 +1,5 @@
1
- import '@vue/devtools-api';
2
- import '../plugins/devtools/timeline.devtools.js';
3
- import '@empathyco/x-utils';
4
- import 'rxjs/operators';
5
- import 'rxjs';
6
- import '../plugins/devtools/colors.utils.js';
7
1
  import '../plugins/x-bus.js';
2
+ import '@empathyco/x-utils';
8
3
  import { XPlugin } from '../plugins/x-plugin.js';
9
4
 
10
5
  const VIEWPORT_ID = 'viewport';
@@ -1 +1 @@
1
- {"version":3,"file":"infinite-scroll.js","sources":["../../../src/directives/infinite-scroll.ts"],"sourcesContent":["import type { Directive } from 'vue'\nimport { XPlugin } from '../plugins'\n\nconst VIEWPORT_ID = 'viewport'\n\n/**\n * A record which contains {@link IntersectionObserver} objects indexed by the ID of the scrollable\n * container.\n */\nconst state: Record<string, IntersectionObserver> = {}\n\n/**\n * Retrieves the root element for the provided ID.\n *\n * @param element - Target element where directive is set.\n * @param id - String identifier.\n * @returns HTMLElement or null.\n */\nfunction getRoot(element: HTMLElement, id: string): HTMLElement | null {\n switch (id) {\n case 'html':\n return null\n case 'body':\n return document.body\n case VIEWPORT_ID:\n return null\n default:\n return element.closest(`#${id}`)!\n }\n}\n\n/**\n * Custom Vue directive for infinite scroll.\n *\n * This directive uses the IntersectionObserver API to handle the intersection between the\n * children and the scrollable container. The content of the children moves up on scroll and when it\n * reaches the end, the IntersectionObserver triggers that both elements are intersecting.\n *\n * How it works.\n *\n * As a summary, if the scroll reaches the end, `UserReachedResultsListEnd` event is emitted to the\n * xBus. If you provide a margin in the directive options, this function is triggered when the\n * scroll reaches the end minus that amount of pixels. A default margin of 200px is set.\n *\n * Usage.\n *\n * The directive has to be set in the target element. It can receive an argument which will be used\n * to determine the scrollable container. Possible values:\n * `html`: will set the <html> as the scrollable container.\n * `body`: will set the <body> as the scrollable container.\n * ID: will set the DOM element with the provided id as the scrollable container.\n *\n * If no argument is provided the scrollable container fallbacks to the viewport.\n *\n * @example How to use it.\n *\n * ```html\n * <ResultsList v-infinite-scroll:html>\n * ```\n *\n * ```html\n * <ResultsList v-infinite-scroll:body>\n * ```\n *\n * ```html\n * <BaseScroll id='scroll-test'>\n * <ResultsList v-infinite-scroll:scroll-test>\n * </BaseScroll>\n * ```\n *\n * ```html\n * <ResultsList v-infinite-scroll=\"{ margin: 40 }\">\n * ```\n *\n * @public\n */\nexport const infiniteScroll: Directive<HTMLElement, { margin: number }> = {\n mounted(\n element,\n {\n arg: id = VIEWPORT_ID,\n value: { margin = 200 } = {},\n }: { arg?: string; value?: { margin?: number } },\n ) {\n /*\n * This hack allows the root element to always contain the observed element.\n * Not overpass the top margin more than 1700000 because it doesn't work in Android chrome\n */\n const rootMargin = `1000000% 0px ${margin}px 0px`\n const root = getRoot(element, id)\n const xBus = XPlugin.bus\n\n state[id] = new IntersectionObserver(\n ([entry]) => {\n if (entry.isIntersecting) {\n void xBus.emit('UserReachedResultsListEnd', undefined)\n }\n },\n {\n threshold: 0.99,\n rootMargin,\n root,\n },\n )\n\n state[id].observe(element)\n },\n unmounted(_, { arg: id = VIEWPORT_ID }: { arg?: string }) {\n if (state[id]) {\n state[id].disconnect()\n delete state[id]\n }\n },\n}\n"],"names":[],"mappings":";;;;;;;;;AAGA,MAAM,WAAW,GAAG,UAAU;AAE9B;;;AAGG;AACH,MAAM,KAAK,GAAyC,EAAE;AAEtD;;;;;;AAMG;AACH,SAAS,OAAO,CAAC,OAAoB,EAAE,EAAU,EAAA;IAC/C,QAAQ,EAAE;AACR,QAAA,KAAK,MAAM;AACT,YAAA,OAAO,IAAI;AACb,QAAA,KAAK,MAAM;YACT,OAAO,QAAQ,CAAC,IAAI;AACtB,QAAA,KAAK,WAAW;AACd,YAAA,OAAO,IAAI;AACb,QAAA;YACE,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,CAAA,CAAE,CAAE;;AAEvC;AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4CG;AACI,MAAM,cAAc,GAA+C;AACxE,IAAA,OAAO,CACL,OAAO,EACP,EACE,GAAG,EAAE,EAAE,GAAG,WAAW,EACrB,KAAK,EAAE,EAAE,MAAM,GAAG,GAAG,EAAE,GAAG,EAAE,GACkB,EAAA;AAEhD;;;AAGG;AACH,QAAA,MAAM,UAAU,GAAG,CAAA,aAAA,EAAgB,MAAM,QAAQ;QACjD,MAAM,IAAI,GAAG,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC;AACjC,QAAA,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG;AAExB,QAAA,KAAK,CAAC,EAAE,CAAC,GAAG,IAAI,oBAAoB,CAClC,CAAC,CAAC,KAAK,CAAC,KAAI;AACV,YAAA,IAAI,KAAK,CAAC,cAAc,EAAE;gBACxB,KAAK,IAAI,CAAC,IAAI,CAAC,2BAA2B,EAAE,SAAS,CAAC;YACxD;AACF,QAAA,CAAC,EACD;AACE,YAAA,SAAS,EAAE,IAAI;YACf,UAAU;YACV,IAAI;AACL,SAAA,CACF;QAED,KAAK,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC;IAC5B,CAAC;IACD,SAAS,CAAC,CAAC,EAAE,EAAE,GAAG,EAAE,EAAE,GAAG,WAAW,EAAoB,EAAA;AACtD,QAAA,IAAI,KAAK,CAAC,EAAE,CAAC,EAAE;AACb,YAAA,KAAK,CAAC,EAAE,CAAC,CAAC,UAAU,EAAE;AACtB,YAAA,OAAO,KAAK,CAAC,EAAE,CAAC;QAClB;IACF,CAAC;;;;;"}
1
+ {"version":3,"file":"infinite-scroll.js","sources":["../../../src/directives/infinite-scroll.ts"],"sourcesContent":["import type { Directive } from 'vue'\nimport { XPlugin } from '../plugins'\n\nconst VIEWPORT_ID = 'viewport'\n\n/**\n * A record which contains {@link IntersectionObserver} objects indexed by the ID of the scrollable\n * container.\n */\nconst state: Record<string, IntersectionObserver> = {}\n\n/**\n * Retrieves the root element for the provided ID.\n *\n * @param element - Target element where directive is set.\n * @param id - String identifier.\n * @returns HTMLElement or null.\n */\nfunction getRoot(element: HTMLElement, id: string): HTMLElement | null {\n switch (id) {\n case 'html':\n return null\n case 'body':\n return document.body\n case VIEWPORT_ID:\n return null\n default:\n return element.closest(`#${id}`)!\n }\n}\n\n/**\n * Custom Vue directive for infinite scroll.\n *\n * This directive uses the IntersectionObserver API to handle the intersection between the\n * children and the scrollable container. The content of the children moves up on scroll and when it\n * reaches the end, the IntersectionObserver triggers that both elements are intersecting.\n *\n * How it works.\n *\n * As a summary, if the scroll reaches the end, `UserReachedResultsListEnd` event is emitted to the\n * xBus. If you provide a margin in the directive options, this function is triggered when the\n * scroll reaches the end minus that amount of pixels. A default margin of 200px is set.\n *\n * Usage.\n *\n * The directive has to be set in the target element. It can receive an argument which will be used\n * to determine the scrollable container. Possible values:\n * `html`: will set the <html> as the scrollable container.\n * `body`: will set the <body> as the scrollable container.\n * ID: will set the DOM element with the provided id as the scrollable container.\n *\n * If no argument is provided the scrollable container fallbacks to the viewport.\n *\n * @example How to use it.\n *\n * ```html\n * <ResultsList v-infinite-scroll:html>\n * ```\n *\n * ```html\n * <ResultsList v-infinite-scroll:body>\n * ```\n *\n * ```html\n * <BaseScroll id='scroll-test'>\n * <ResultsList v-infinite-scroll:scroll-test>\n * </BaseScroll>\n * ```\n *\n * ```html\n * <ResultsList v-infinite-scroll=\"{ margin: 40 }\">\n * ```\n *\n * @public\n */\nexport const infiniteScroll: Directive<HTMLElement, { margin: number }> = {\n mounted(\n element,\n {\n arg: id = VIEWPORT_ID,\n value: { margin = 200 } = {},\n }: { arg?: string; value?: { margin?: number } },\n ) {\n /*\n * This hack allows the root element to always contain the observed element.\n * Not overpass the top margin more than 1700000 because it doesn't work in Android chrome\n */\n const rootMargin = `1000000% 0px ${margin}px 0px`\n const root = getRoot(element, id)\n const xBus = XPlugin.bus\n\n state[id] = new IntersectionObserver(\n ([entry]) => {\n if (entry.isIntersecting) {\n void xBus.emit('UserReachedResultsListEnd', undefined)\n }\n },\n {\n threshold: 0.99,\n rootMargin,\n root,\n },\n )\n\n state[id].observe(element)\n },\n unmounted(_, { arg: id = VIEWPORT_ID }: { arg?: string }) {\n if (state[id]) {\n state[id].disconnect()\n delete state[id]\n }\n },\n}\n"],"names":[],"mappings":";;;;AAGA,MAAM,WAAW,GAAG,UAAU;AAE9B;;;AAGG;AACH,MAAM,KAAK,GAAyC,EAAE;AAEtD;;;;;;AAMG;AACH,SAAS,OAAO,CAAC,OAAoB,EAAE,EAAU,EAAA;IAC/C,QAAQ,EAAE;AACR,QAAA,KAAK,MAAM;AACT,YAAA,OAAO,IAAI;AACb,QAAA,KAAK,MAAM;YACT,OAAO,QAAQ,CAAC,IAAI;AACtB,QAAA,KAAK,WAAW;AACd,YAAA,OAAO,IAAI;AACb,QAAA;YACE,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,CAAA,CAAE,CAAE;;AAEvC;AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4CG;AACI,MAAM,cAAc,GAA+C;AACxE,IAAA,OAAO,CACL,OAAO,EACP,EACE,GAAG,EAAE,EAAE,GAAG,WAAW,EACrB,KAAK,EAAE,EAAE,MAAM,GAAG,GAAG,EAAE,GAAG,EAAE,GACkB,EAAA;AAEhD;;;AAGG;AACH,QAAA,MAAM,UAAU,GAAG,CAAA,aAAA,EAAgB,MAAM,QAAQ;QACjD,MAAM,IAAI,GAAG,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC;AACjC,QAAA,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG;AAExB,QAAA,KAAK,CAAC,EAAE,CAAC,GAAG,IAAI,oBAAoB,CAClC,CAAC,CAAC,KAAK,CAAC,KAAI;AACV,YAAA,IAAI,KAAK,CAAC,cAAc,EAAE;gBACxB,KAAK,IAAI,CAAC,IAAI,CAAC,2BAA2B,EAAE,SAAS,CAAC;YACxD;AACF,QAAA,CAAC,EACD;AACE,YAAA,SAAS,EAAE,IAAI;YACf,UAAU;YACV,IAAI;AACL,SAAA,CACF;QAED,KAAK,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC;IAC5B,CAAC;IACD,SAAS,CAAC,CAAC,EAAE,EAAE,GAAG,EAAE,EAAE,GAAG,WAAW,EAAoB,EAAA;AACtD,QAAA,IAAI,KAAK,CAAC,EAAE,CAAC,EAAE;AACb,YAAA,KAAK,CAAC,EAAE,CAAC,CAAC,UAAU,EAAE;AACtB,YAAA,OAAO,KAAK,CAAC,EAAE,CAAC;QAClB;IACF,CAAC;;;;;"}
package/js/index.js CHANGED
@@ -157,7 +157,6 @@ export { useState } from './composables/use-state.js';
157
157
  export { useXBus } from './composables/use-x-bus.js';
158
158
  export { infiniteScroll } from './directives/infinite-scroll.js';
159
159
  export { typing } from './directives/typing.js';
160
- export { setupDevtools } from './plugins/devtools/devtools.plugin.js';
161
160
  export { bus } from './plugins/x-bus.js';
162
161
  export { isSimpleSelector, registerStoreEmitters } from './plugins/x-emitters.js';
163
162
  export { XPlugin, xPlugin } from './plugins/x-plugin.js';
@@ -196,9 +195,9 @@ export { createWireFromFunction, wireCommit, wireCommitWithoutPayload, wireDispa
196
195
  export { debounce, filter, filterBlacklistedModules, filterFalsyPayload, filterTruthyPayload, filterWhitelistedModules, mapWire, throttle } from './wiring/wires.operators.js';
197
196
  export { createWiring, getStateAndGettersFromModule } from './wiring/wiring.utils.js';
198
197
  export { XPriorityBus } from './x-bus/x-bus.js';
199
- export { BaseXPriorityQueue, BaseXPriorityQueueNode } from './x-bus/x-priority-queue/x-priority-queue.js';
198
+ export { BaseXPriorityQueue, BaseXPriorityQueueNode } from './x-bus/x-priority-queue.js';
200
199
  export { BaseXAPI } from './x-installer/api/base-api.js';
201
- export { XInstaller } from './x-installer/x-installer/x-installer.js';
200
+ export { XInstaller } from './x-installer/x-installer.js';
202
201
  export { default as AiCarousel } from './x-modules/ai/components/ai-carousel.vue.js';
203
202
  export { default as AiOverview } from './x-modules/ai/components/ai-overview.vue.js';
204
203
  export { fetchAndSaveAiSuggestionsSearch } from './x-modules/ai/store/actions/fetch-and-save-ai-suggestions-search.action.js';
package/js/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,5 +1,4 @@
1
1
  import { XPriorityBus } from '../x-bus/x-bus.js';
2
- import { logDevtoolsXEvent } from './devtools/timeline.devtools.js';
3
2
 
4
3
  /**
5
4
  * Default XBus implementation.
@@ -18,7 +17,6 @@ const bus = new XPriorityBus({
18
17
  DataReceived: 256,
19
18
  ModuleRegistered: 512,
20
19
  },
21
- emitCallbacks: [logDevtoolsXEvent],
22
20
  });
23
21
 
24
22
  export { bus };
@@ -1 +1 @@
1
- {"version":3,"file":"x-bus.js","sources":["../../../src/plugins/x-bus.ts"],"sourcesContent":["import type { XEventsTypes } from '../wiring/events.types'\nimport type { WireMetadata } from '../wiring/wiring.types'\nimport { XPriorityBus } from '../x-bus'\nimport { logDevtoolsXEvent } from './devtools/timeline.devtools'\n\n/**\n * Default XBus implementation.\n *\n * @public\n */\nexport const bus = new XPriorityBus<XEventsTypes, WireMetadata>({\n priorities: {\n Updated: 2,\n Changed: 4,\n FromUrl: 8,\n User: 16,\n External: 32,\n Initialized: 64,\n Provided: 128,\n DataReceived: 256,\n ModuleRegistered: 512,\n },\n emitCallbacks: [logDevtoolsXEvent],\n})\n"],"names":[],"mappings":";;;AAKA;;;;AAIG;AACI,MAAM,GAAG,GAAG,IAAI,YAAY,CAA6B;AAC9D,IAAA,UAAU,EAAE;AACV,QAAA,OAAO,EAAE,CAAC;AACV,QAAA,OAAO,EAAE,CAAC;AACV,QAAA,OAAO,EAAE,CAAC;AACV,QAAA,IAAI,EAAE,EAAE;AACR,QAAA,QAAQ,EAAE,EAAE;AACZ,QAAA,WAAW,EAAE,EAAE;AACf,QAAA,QAAQ,EAAE,GAAG;AACb,QAAA,YAAY,EAAE,GAAG;AACjB,QAAA,gBAAgB,EAAE,GAAG;AACtB,KAAA;IACD,aAAa,EAAE,CAAC,iBAAiB,CAAC;AACnC,CAAA;;;;"}
1
+ {"version":3,"file":"x-bus.js","sources":["../../../src/plugins/x-bus.ts"],"sourcesContent":["import type { XEventsTypes } from '../wiring/events.types'\nimport type { WireMetadata } from '../wiring/wiring.types'\nimport { XPriorityBus } from '../x-bus'\n\n/**\n * Default XBus implementation.\n *\n * @public\n */\nexport const bus = new XPriorityBus<XEventsTypes, WireMetadata>({\n priorities: {\n Updated: 2,\n Changed: 4,\n FromUrl: 8,\n User: 16,\n External: 32,\n Initialized: 64,\n Provided: 128,\n DataReceived: 256,\n ModuleRegistered: 512,\n },\n})\n"],"names":[],"mappings":";;AAIA;;;;AAIG;AACI,MAAM,GAAG,GAAG,IAAI,YAAY,CAA6B;AAC9D,IAAA,UAAU,EAAE;AACV,QAAA,OAAO,EAAE,CAAC;AACV,QAAA,OAAO,EAAE,CAAC;AACV,QAAA,OAAO,EAAE,CAAC;AACV,QAAA,IAAI,EAAE,EAAE;AACR,QAAA,QAAQ,EAAE,EAAE;AACZ,QAAA,WAAW,EAAE,EAAE;AACf,QAAA,QAAQ,EAAE,GAAG;AACb,QAAA,YAAY,EAAE,GAAG;AACjB,QAAA,gBAAgB,EAAE,GAAG;AACtB,KAAA;AACF,CAAA;;;;"}
@@ -2,7 +2,6 @@ import { deepMerge, forEach } from '@empathyco/x-utils';
2
2
  import { createStore } from 'vuex';
3
3
  import { cleanGettersProxyCache } from '../store/utils/getters-proxy.utils.js';
4
4
  import { RootXStoreModule } from '../store/x.module.js';
5
- import { sendWiringToDevtools } from './devtools/wiring.devtools.js';
6
5
  import { bus } from './x-bus.js';
7
6
  import { registerStoreEmitters } from './x-emitters.js';
8
7
  import { assertXPluginOptionsAreValid } from './x-plugin.utils.js';
@@ -197,8 +196,7 @@ class XPlugin {
197
196
  * @param xModule - The {@link XModule} to register its wiring.
198
197
  * @internal
199
198
  */
200
- registerWiring({ wiring, name }) {
201
- sendWiringToDevtools(name, wiring);
199
+ registerWiring({ wiring }) {
202
200
  forEach(wiring, (event, wires) => {
203
201
  // Obtain the observable
204
202
  const observable = this.bus.on(event, true);
@@ -1 +1 @@
1
- {"version":3,"file":"x-plugin.js","sources":["../../../src/plugins/x-plugin.ts"],"sourcesContent":["import type { XComponentsAdapter } from '@empathyco/x-types'\nimport type { Dictionary } from '@empathyco/x-utils'\nimport type { Observable } from 'rxjs'\nimport type { App } from 'vue'\nimport type { Module, Store } from 'vuex'\nimport type { AnyXStoreModule, RootXStoreState } from '../store/store.types'\nimport type { XEvent, XEventsTypes } from '../wiring/events.types'\nimport type { AnyWire, WireMetadata } from '../wiring/wiring.types'\nimport type { EventPayload, SubjectPayload, XBus } from '../x-bus'\nimport type { AnyXModule, XModuleName } from '../x-modules/x-modules.types'\nimport type { AnyXStoreModuleOption, XModuleOptions, XPluginOptions } from './x-plugin.types'\nimport { deepMerge, forEach } from '@empathyco/x-utils'\nimport { createStore } from 'vuex'\nimport { cleanGettersProxyCache } from '../store/utils/getters-proxy.utils'\nimport { RootXStoreModule } from '../store/x.module'\nimport { sendWiringToDevtools } from './devtools/wiring.devtools'\nimport { bus } from './x-bus'\nimport { registerStoreEmitters } from './x-emitters'\nimport { assertXPluginOptionsAreValid } from './x-plugin.utils'\n\n/**\n * Vue plugin that initializes the properties needed by the x-components, and exposes the events bus\n * and the adapter after it has been installed.\n *\n * @public\n */\nexport class XPlugin {\n /**\n * XComponentsAdapter Is the middleware between the components and our API where data can be\n * mapped to client needs.\n * This property is only available after installing the plugin.\n *\n * @returns The installed adapter.\n * @throws If this property is accessed before calling `Vue.use(xPlugin)`.\n * @public\n */\n public static get adapter(): XComponentsAdapter {\n return this.getInstance().adapter\n }\n\n /**\n * Exposed XBus, so any kind of application can subscribe to\n * {@link XEventsTypes} without having to pass through a component.\n * This property is only available after installing the plugin.\n *\n * @returns The installed bus.\n * @throws If this property is accessed before calling `Vue.use(xPlugin)`.\n * @public\n */\n public static get bus(): XBus<XEventsTypes, WireMetadata> {\n return this.getInstance().bus\n }\n\n /**\n * {@link https://vuex.vuejs.org | Vuex Store} Is the place where all shared data\n * is saved.\n *\n * @returns The installed store.\n * @throws If this property is accessed before calling `Vue.use(xPlugin)`.\n * @public\n */\n public static get store(): Store<RootXStoreState> {\n return this.getInstance().store\n }\n\n /**\n * Safely retrieves the installed instance of the XPlugin.\n *\n * @returns The installed instance of the XPlugin.\n * @throws If this method is called before calling `Vue.use(xPlugin)`.\n * @internal\n */\n protected static getInstance(): XPlugin {\n if (!this.instance) {\n throw new Error(\"XPlugin must be installed before accessing it's API.\")\n }\n return this.instance\n }\n\n /**\n * Record of modules that have been tried to be installed before the installation of the plugin.\n *\n * @internal\n */\n protected static pendingXModules: Partial<Record<XModuleName, AnyXModule>> = {}\n\n /**\n * Instance of the installed plugin. Used to expose the bus and the adapter.\n *\n * @internal\n */\n protected static instance?: XPlugin\n\n public wiring: Partial<Record<XModuleName, Partial<Record<XEvent, string[]>>>> = {}\n /**\n * Bus for retrieving the observables when registering the wiring.\n *\n * @internal\n */\n protected bus: XBus<XEventsTypes, WireMetadata>\n\n /**\n * Adapter for the API, responsible for transforming requests and responses.\n *\n * @internal\n */\n protected adapter!: XComponentsAdapter\n\n /**\n * Set of the already installed XModules to avoid re-registering them.\n *\n * @internal\n */\n protected installedXModules = new Set<string>()\n\n /**\n * True if the plugin has been installed in a Vue instance, in this case\n * XModules will be installed immediately. False otherwise, in this case\n * XModules will be installed lazily when the {@link XPlugin#install} method\n * is called.\n *\n * @internal\n */\n protected isInstalled = false\n\n /**\n * The installation options of the plugin, where all the customization of\n * {@link XModule | XModules} is done.\n *\n * @internal\n */\n protected options!: XPluginOptions\n\n /**\n * The Vuex store, to pass to the wires for its registration, and to register the store\n * modules on it.\n *\n * @internal\n */\n protected store!: Store<any>\n\n /**\n * The Vue application instance, passed by the installation method.\n *\n * @internal\n */\n protected app!: App\n\n /**\n * Creates a new instance of the XPlugin with the given bus passed as parameter.\n *\n * @param bus - The XBus implementation to use for the plugin.\n *\n * @public\n */\n public constructor(bus: XBus<XEventsTypes, WireMetadata>) {\n this.bus = bus\n }\n\n /**\n * If the plugin has already been installed, it immediately registers a {@link XModule}. If it\n * has not been installed yet, it stores the module in a list until the plugin is installed.\n *\n * @param xModule - The module to register.\n *\n * @public\n */\n static registerXModule(xModule: AnyXModule): void {\n if (this.instance) {\n this.instance.registerXModule(xModule)\n } else {\n this.lazyRegisterXModule(xModule)\n }\n }\n\n /**\n * Utility method for resetting the installed instance of the plugin.\n *\n * @remarks Use only for testing.\n *\n * @internal\n */\n static resetInstance(): void {\n cleanGettersProxyCache()\n this.instance = undefined\n }\n\n /**\n * Stores the {@link XModule} in a dictionary, so it can be registered later in the installation\n * process.\n *\n * @param xModule - The module to register.\n *\n * @internal\n */\n protected static lazyRegisterXModule(xModule: AnyXModule): void {\n this.pendingXModules[xModule.name] = xModule\n }\n\n /**\n * Installs the plugin into the Vue instance.\n *\n * @param app - The Vue application instance.\n * @param options - The options to install this plugin with.\n * @throws If the XPlugin has already been installed, or the options are not valid.\n *\n * @internal\n */\n install(app: App, options?: XPluginOptions): void {\n if (this.isInstalled) {\n throw new Error('XPlugin has already been installed')\n }\n assertXPluginOptionsAreValid(options)\n XPlugin.instance = this\n this.app = app\n this.options = options\n this.adapter = options.adapter\n this.registerStore()\n this.registerInitialModules()\n this.registerPendingXModules()\n this.isInstalled = true\n }\n\n /**\n * Performs the registration of a {@link XModule}.\n *\n * @param xModule - The module to register.\n *\n * @internal\n */\n protected registerXModule(xModule: AnyXModule): void {\n if (!this.installedXModules.has(xModule.name)) {\n const customizedXModule = this.customizeXModule(xModule)\n this.registerStoreModule(customizedXModule)\n this.registerStoreEmitters(customizedXModule)\n this.registerWiring(customizedXModule)\n // The wiring must be registered after the store emitters\n // to allow lazy loaded modules work properly.\n this.installedXModules.add(xModule.name)\n void this.bus.emit('ModuleRegistered', xModule.name)\n }\n }\n\n /**\n * Performs a customization of a {@link XModule} using the XPlugin public and private options.\n *\n * @param xModule - The module to customize.\n * @returns The customized xModule.\n * @internal\n */\n protected customizeXModule({\n name,\n wiring,\n storeModule,\n storeEmitters,\n ...restXModule\n }: AnyXModule): AnyXModule {\n const { wiring: wiringOptions, config }: XModuleOptions<XModuleName> =\n this.options.xModules?.[name] ?? {}\n\n const { storeModule: storeModuleOptions, storeEmitters: emittersOptions } =\n this.options.__PRIVATE__xModules?.[name] ?? {}\n\n return {\n name,\n // eslint-disable-next-line ts/no-unsafe-assignment\n wiring: wiringOptions ? deepMerge({}, wiring, wiringOptions) : wiring,\n storeModule: this.customizeStoreModule(storeModule, storeModuleOptions ?? {}, config),\n // eslint-disable-next-line ts/no-unsafe-assignment\n storeEmitters: emittersOptions\n ? deepMerge({}, storeEmitters, emittersOptions)\n : storeEmitters,\n ...restXModule,\n }\n }\n\n /**\n * Performs the registration of the wiring, retrieving the observable for each event, and\n * executing each wire.\n *\n * @param xModule - The {@link XModule} to register its wiring.\n * @internal\n */\n protected registerWiring({ wiring, name }: AnyXModule): void {\n sendWiringToDevtools(name, wiring)\n forEach(wiring, (event, wires: Dictionary<AnyWire>) => {\n // Obtain the observable\n const observable = this.bus.on(event, true) as unknown as Observable<\n SubjectPayload<EventPayload<XEventsTypes, typeof event>, WireMetadata>\n >\n // Register event wires\n forEach(wires, (_, wire) => {\n wire(observable, this.store as Store<RootXStoreState>, this.bus.on.bind(this.bus))\n })\n })\n }\n\n /**\n * Registers a {@link https://vuex.vuejs.org/ | Vuex} store module under the 'x' module.\n *\n * @param xModule - The {@link XModule} to register its Store Module.\n * @internal\n */\n protected registerStoreModule({ name, storeModule }: AnyXModule): void {\n ;(storeModule as Module<any, any>).namespaced = true\n this.store.registerModule(['x', name], storeModule)\n }\n\n /**\n * Overrides a {@link https://vuex.vuejs.org/ | Vuex} store module definition.\n *\n * Priority of configuration merging.\n * 1st {@link XPluginOptions.xModules | xModules XPlugin option}.\n * 2nd {@link XPluginOptions.__PRIVATE__xModules | Private xModules XPlugin option}.\n * 3rd {@link XStoreModule.state | Default state of the xModule}.\n *\n * @param defaultModule - The default store module to override.\n * @param moduleOptions - The state, actions, mutations and getters to override the defaultModule.\n * @param configOptions - The state config to override the moduleOptions.\n * @returns The {@link XStoreModule} customized.\n * @internal\n */\n protected customizeStoreModule(\n { state: defaultState, ...actionsGettersMutations }: AnyXStoreModule,\n { state: xModuleState, ...newActionsGettersMutations }: AnyXStoreModuleOption,\n configOptions: unknown,\n ): AnyXStoreModule {\n const configOptionsObject = configOptions ? { config: configOptions } : {}\n // eslint-disable-next-line ts/no-unsafe-assignment\n const customizedModule = deepMerge({}, actionsGettersMutations, newActionsGettersMutations)\n // eslint-disable-next-line ts/no-unsafe-assignment,ts/no-unsafe-member-access\n customizedModule.state = deepMerge(defaultState(), xModuleState, configOptionsObject)\n // eslint-disable-next-line ts/no-unsafe-return\n return customizedModule\n }\n\n /**\n * Registers the store emitters, making them emit the event when the part of the state selected\n * changes.\n *\n * @param xModule - The {@link XModule} to register its Store Emitters.\n * @internal\n */\n protected registerStoreEmitters(xModule: AnyXModule): void {\n registerStoreEmitters(xModule, this.bus, this.store)\n }\n\n /**\n * Registers the {@link https://vuex.vuejs.org/ | Vuex} store. If the store has not been passed\n * through the {@link XPluginOptions} object, it creates one, and injects it in the Vue\n * prototype. Then it registers an x module in the store, to safe scope all the\n * {@link XModule | XModules} dynamically installed.\n *\n * @internal\n */\n protected registerStore(): void {\n this.store = this.options.store ?? createStore({})\n this.app.use(this.store)\n this.store.registerModule('x', RootXStoreModule)\n }\n /**\n * Registers the initial {@link XModule | XModules} during the {@link XPlugin} installation.\n *\n * @internal\n */\n protected registerInitialModules(): void {\n this.options.initialXModules?.forEach(xModule => {\n this.registerXModule(xModule)\n })\n }\n\n /**\n * Registers the pending {@link XModule | XModules}, that requested to be registered before the\n * installation of the plugin.\n *\n * @internal\n */\n protected registerPendingXModules(): void {\n forEach(XPlugin.pendingXModules, (_, xModule) => {\n this.registerXModule(xModule)\n })\n XPlugin.pendingXModules = {}\n }\n}\n\n/**\n * Vue plugin that modifies each component instance, extending them with the\n * {@link XComponentAPI | X Component API }.\n *\n * @example\n * Minimal installation example. An API adapter is needed to connect the X Components with the\n * suggestions, search, or tagging APIs. In this example we are using the default Empathy's platform\n * adapter.\n *\n * ```typescript\n * import { platformAdapter } from '@empathyco/x-adapter-platform';\n * Vue.use(xPlugin, { adapter: platformAdapter });\n * ```\n *\n * @example\n * If you are using {@link https://vuex.vuejs.org/ | Vuex} in your project you must install its\n * plugin, and instantiate a store before installing the XPlugin:\n * ```typescript\n * Vue.use(Vuex);\n * const store = new Store({ ... });\n * Vue.use(xPlugin, { adapter, store });\n * ```\n * @public\n */\nexport const xPlugin = new XPlugin(bus)\n"],"names":[],"mappings":";;;;;;;;;AAoBA;;;;;AAKG;MACU,OAAO,CAAA;AAClB;;;;;;;;AAQG;AACI,IAAA,WAAW,OAAO,GAAA;AACvB,QAAA,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC,OAAO;IACnC;AAEA;;;;;;;;AAQG;AACI,IAAA,WAAW,GAAG,GAAA;AACnB,QAAA,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC,GAAG;IAC/B;AAEA;;;;;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;;;AAIG;AACc,OAAA,CAAA,eAAe,GAA6C,EAA7C;AA6SlC;;;;;;;;;;;;;;;;;;;;;;;AAuBG;MACU,OAAO,GAAG,IAAI,OAAO,CAAC,GAAG;;;;"}
1
+ {"version":3,"file":"x-plugin.js","sources":["../../../src/plugins/x-plugin.ts"],"sourcesContent":["import type { XComponentsAdapter } from '@empathyco/x-types'\nimport type { Dictionary } from '@empathyco/x-utils'\nimport type { Observable } from 'rxjs'\nimport type { App } from 'vue'\nimport type { Module, Store } from 'vuex'\nimport type { AnyXStoreModule, RootXStoreState } from '../store/store.types'\nimport type { XEvent, XEventsTypes } from '../wiring/events.types'\nimport type { AnyWire, WireMetadata } from '../wiring/wiring.types'\nimport type { EventPayload, SubjectPayload, XBus } from '../x-bus'\nimport type { AnyXModule, XModuleName } from '../x-modules/x-modules.types'\nimport type { AnyXStoreModuleOption, XModuleOptions, XPluginOptions } from './x-plugin.types'\nimport { deepMerge, forEach } from '@empathyco/x-utils'\nimport { createStore } from 'vuex'\nimport { cleanGettersProxyCache } from '../store/utils/getters-proxy.utils'\nimport { RootXStoreModule } from '../store/x.module'\nimport { bus } from './x-bus'\nimport { registerStoreEmitters } from './x-emitters'\nimport { assertXPluginOptionsAreValid } from './x-plugin.utils'\n\n/**\n * Vue plugin that initializes the properties needed by the x-components, and exposes the events bus\n * and the adapter after it has been installed.\n *\n * @public\n */\nexport class XPlugin {\n /**\n * XComponentsAdapter Is the middleware between the components and our API where data can be\n * mapped to client needs.\n * This property is only available after installing the plugin.\n *\n * @returns The installed adapter.\n * @throws If this property is accessed before calling `Vue.use(xPlugin)`.\n * @public\n */\n public static get adapter(): XComponentsAdapter {\n return this.getInstance().adapter\n }\n\n /**\n * Exposed XBus, so any kind of application can subscribe to\n * {@link XEventsTypes} without having to pass through a component.\n * This property is only available after installing the plugin.\n *\n * @returns The installed bus.\n * @throws If this property is accessed before calling `Vue.use(xPlugin)`.\n * @public\n */\n public static get bus(): XBus<XEventsTypes, WireMetadata> {\n return this.getInstance().bus\n }\n\n /**\n * {@link https://vuex.vuejs.org | Vuex Store} Is the place where all shared data\n * is saved.\n *\n * @returns The installed store.\n * @throws If this property is accessed before calling `Vue.use(xPlugin)`.\n * @public\n */\n public static get store(): Store<RootXStoreState> {\n return this.getInstance().store\n }\n\n /**\n * Safely retrieves the installed instance of the XPlugin.\n *\n * @returns The installed instance of the XPlugin.\n * @throws If this method is called before calling `Vue.use(xPlugin)`.\n * @internal\n */\n protected static getInstance(): XPlugin {\n if (!this.instance) {\n throw new Error(\"XPlugin must be installed before accessing it's API.\")\n }\n return this.instance\n }\n\n /**\n * Record of modules that have been tried to be installed before the installation of the plugin.\n *\n * @internal\n */\n protected static pendingXModules: Partial<Record<XModuleName, AnyXModule>> = {}\n\n /**\n * Instance of the installed plugin. Used to expose the bus and the adapter.\n *\n * @internal\n */\n protected static instance?: XPlugin\n\n public wiring: Partial<Record<XModuleName, Partial<Record<XEvent, string[]>>>> = {}\n /**\n * Bus for retrieving the observables when registering the wiring.\n *\n * @internal\n */\n protected bus: XBus<XEventsTypes, WireMetadata>\n\n /**\n * Adapter for the API, responsible for transforming requests and responses.\n *\n * @internal\n */\n protected adapter!: XComponentsAdapter\n\n /**\n * Set of the already installed XModules to avoid re-registering them.\n *\n * @internal\n */\n protected installedXModules = new Set<string>()\n\n /**\n * True if the plugin has been installed in a Vue instance, in this case\n * XModules will be installed immediately. False otherwise, in this case\n * XModules will be installed lazily when the {@link XPlugin#install} method\n * is called.\n *\n * @internal\n */\n protected isInstalled = false\n\n /**\n * The installation options of the plugin, where all the customization of\n * {@link XModule | XModules} is done.\n *\n * @internal\n */\n protected options!: XPluginOptions\n\n /**\n * The Vuex store, to pass to the wires for its registration, and to register the store\n * modules on it.\n *\n * @internal\n */\n protected store!: Store<any>\n\n /**\n * The Vue application instance, passed by the installation method.\n *\n * @internal\n */\n protected app!: App\n\n /**\n * Creates a new instance of the XPlugin with the given bus passed as parameter.\n *\n * @param bus - The XBus implementation to use for the plugin.\n *\n * @public\n */\n public constructor(bus: XBus<XEventsTypes, WireMetadata>) {\n this.bus = bus\n }\n\n /**\n * If the plugin has already been installed, it immediately registers a {@link XModule}. If it\n * has not been installed yet, it stores the module in a list until the plugin is installed.\n *\n * @param xModule - The module to register.\n *\n * @public\n */\n static registerXModule(xModule: AnyXModule): void {\n if (this.instance) {\n this.instance.registerXModule(xModule)\n } else {\n this.lazyRegisterXModule(xModule)\n }\n }\n\n /**\n * Utility method for resetting the installed instance of the plugin.\n *\n * @remarks Use only for testing.\n *\n * @internal\n */\n static resetInstance(): void {\n cleanGettersProxyCache()\n this.instance = undefined\n }\n\n /**\n * Stores the {@link XModule} in a dictionary, so it can be registered later in the installation\n * process.\n *\n * @param xModule - The module to register.\n *\n * @internal\n */\n protected static lazyRegisterXModule(xModule: AnyXModule): void {\n this.pendingXModules[xModule.name] = xModule\n }\n\n /**\n * Installs the plugin into the Vue instance.\n *\n * @param app - The Vue application instance.\n * @param options - The options to install this plugin with.\n * @throws If the XPlugin has already been installed, or the options are not valid.\n *\n * @internal\n */\n install(app: App, options?: XPluginOptions): void {\n if (this.isInstalled) {\n throw new Error('XPlugin has already been installed')\n }\n assertXPluginOptionsAreValid(options)\n XPlugin.instance = this\n this.app = app\n this.options = options\n this.adapter = options.adapter\n this.registerStore()\n this.registerInitialModules()\n this.registerPendingXModules()\n this.isInstalled = true\n }\n\n /**\n * Performs the registration of a {@link XModule}.\n *\n * @param xModule - The module to register.\n *\n * @internal\n */\n protected registerXModule(xModule: AnyXModule): void {\n if (!this.installedXModules.has(xModule.name)) {\n const customizedXModule = this.customizeXModule(xModule)\n this.registerStoreModule(customizedXModule)\n this.registerStoreEmitters(customizedXModule)\n this.registerWiring(customizedXModule)\n // The wiring must be registered after the store emitters\n // to allow lazy loaded modules work properly.\n this.installedXModules.add(xModule.name)\n void this.bus.emit('ModuleRegistered', xModule.name)\n }\n }\n\n /**\n * Performs a customization of a {@link XModule} using the XPlugin public and private options.\n *\n * @param xModule - The module to customize.\n * @returns The customized xModule.\n * @internal\n */\n protected customizeXModule({\n name,\n wiring,\n storeModule,\n storeEmitters,\n ...restXModule\n }: AnyXModule): AnyXModule {\n const { wiring: wiringOptions, config }: XModuleOptions<XModuleName> =\n this.options.xModules?.[name] ?? {}\n\n const { storeModule: storeModuleOptions, storeEmitters: emittersOptions } =\n this.options.__PRIVATE__xModules?.[name] ?? {}\n\n return {\n name,\n // eslint-disable-next-line ts/no-unsafe-assignment\n wiring: wiringOptions ? deepMerge({}, wiring, wiringOptions) : wiring,\n storeModule: this.customizeStoreModule(storeModule, storeModuleOptions ?? {}, config),\n // eslint-disable-next-line ts/no-unsafe-assignment\n storeEmitters: emittersOptions\n ? deepMerge({}, storeEmitters, emittersOptions)\n : storeEmitters,\n ...restXModule,\n }\n }\n\n /**\n * Performs the registration of the wiring, retrieving the observable for each event, and\n * executing each wire.\n *\n * @param xModule - The {@link XModule} to register its wiring.\n * @internal\n */\n protected registerWiring({ wiring }: AnyXModule): void {\n forEach(wiring, (event, wires: Dictionary<AnyWire>) => {\n // Obtain the observable\n const observable = this.bus.on(event, true) as unknown as Observable<\n SubjectPayload<EventPayload<XEventsTypes, typeof event>, WireMetadata>\n >\n // Register event wires\n forEach(wires, (_, wire) => {\n wire(observable, this.store as Store<RootXStoreState>, this.bus.on.bind(this.bus))\n })\n })\n }\n\n /**\n * Registers a {@link https://vuex.vuejs.org/ | Vuex} store module under the 'x' module.\n *\n * @param xModule - The {@link XModule} to register its Store Module.\n * @internal\n */\n protected registerStoreModule({ name, storeModule }: AnyXModule): void {\n ;(storeModule as Module<any, any>).namespaced = true\n this.store.registerModule(['x', name], storeModule)\n }\n\n /**\n * Overrides a {@link https://vuex.vuejs.org/ | Vuex} store module definition.\n *\n * Priority of configuration merging.\n * 1st {@link XPluginOptions.xModules | xModules XPlugin option}.\n * 2nd {@link XPluginOptions.__PRIVATE__xModules | Private xModules XPlugin option}.\n * 3rd {@link XStoreModule.state | Default state of the xModule}.\n *\n * @param defaultModule - The default store module to override.\n * @param moduleOptions - The state, actions, mutations and getters to override the defaultModule.\n * @param configOptions - The state config to override the moduleOptions.\n * @returns The {@link XStoreModule} customized.\n * @internal\n */\n protected customizeStoreModule(\n { state: defaultState, ...actionsGettersMutations }: AnyXStoreModule,\n { state: xModuleState, ...newActionsGettersMutations }: AnyXStoreModuleOption,\n configOptions: unknown,\n ): AnyXStoreModule {\n const configOptionsObject = configOptions ? { config: configOptions } : {}\n // eslint-disable-next-line ts/no-unsafe-assignment\n const customizedModule = deepMerge({}, actionsGettersMutations, newActionsGettersMutations)\n // eslint-disable-next-line ts/no-unsafe-assignment,ts/no-unsafe-member-access\n customizedModule.state = deepMerge(defaultState(), xModuleState, configOptionsObject)\n // eslint-disable-next-line ts/no-unsafe-return\n return customizedModule\n }\n\n /**\n * Registers the store emitters, making them emit the event when the part of the state selected\n * changes.\n *\n * @param xModule - The {@link XModule} to register its Store Emitters.\n * @internal\n */\n protected registerStoreEmitters(xModule: AnyXModule): void {\n registerStoreEmitters(xModule, this.bus, this.store)\n }\n\n /**\n * Registers the {@link https://vuex.vuejs.org/ | Vuex} store. If the store has not been passed\n * through the {@link XPluginOptions} object, it creates one, and injects it in the Vue\n * prototype. Then it registers an x module in the store, to safe scope all the\n * {@link XModule | XModules} dynamically installed.\n *\n * @internal\n */\n protected registerStore(): void {\n this.store = this.options.store ?? createStore({})\n this.app.use(this.store)\n this.store.registerModule('x', RootXStoreModule)\n }\n /**\n * Registers the initial {@link XModule | XModules} during the {@link XPlugin} installation.\n *\n * @internal\n */\n protected registerInitialModules(): void {\n this.options.initialXModules?.forEach(xModule => {\n this.registerXModule(xModule)\n })\n }\n\n /**\n * Registers the pending {@link XModule | XModules}, that requested to be registered before the\n * installation of the plugin.\n *\n * @internal\n */\n protected registerPendingXModules(): void {\n forEach(XPlugin.pendingXModules, (_, xModule) => {\n this.registerXModule(xModule)\n })\n XPlugin.pendingXModules = {}\n }\n}\n\n/**\n * Vue plugin that modifies each component instance, extending them with the\n * {@link XComponentAPI | X Component API }.\n *\n * @example\n * Minimal installation example. An API adapter is needed to connect the X Components with the\n * suggestions, search, or tagging APIs. In this example we are using the default Empathy's platform\n * adapter.\n *\n * ```typescript\n * import { platformAdapter } from '@empathyco/x-adapter-platform';\n * Vue.use(xPlugin, { adapter: platformAdapter });\n * ```\n *\n * @example\n * If you are using {@link https://vuex.vuejs.org/ | Vuex} in your project you must install its\n * plugin, and instantiate a store before installing the XPlugin:\n * ```typescript\n * Vue.use(Vuex);\n * const store = new Store({ ... });\n * Vue.use(xPlugin, { adapter, store });\n * ```\n * @public\n */\nexport const xPlugin = new XPlugin(bus)\n"],"names":[],"mappings":";;;;;;;;AAmBA;;;;;AAKG;MACU,OAAO,CAAA;AAClB;;;;;;;;AAQG;AACI,IAAA,WAAW,OAAO,GAAA;AACvB,QAAA,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC,OAAO;IACnC;AAEA;;;;;;;;AAQG;AACI,IAAA,WAAW,GAAG,GAAA;AACnB,QAAA,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC,GAAG;IAC/B;AAEA;;;;;;;AAOG;AACI,IAAA,WAAW,KAAK,GAAA;AACrB,QAAA,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC,KAAK;IACjC;AAEA;;;;;;AAMG;AACO,IAAA,OAAO,WAAW,GAAA;AAC1B,QAAA,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;AAClB,YAAA,MAAM,IAAI,KAAK,CAAC,sDAAsD,CAAC;QACzE;QACA,OAAO,IAAI,CAAC,QAAQ;IACtB;AAuEA;;;;;;AAMG;AACH,IAAA,WAAA,CAAmB,GAAqC,EAAA;QA9DjD,IAAA,CAAA,MAAM,GAAoE,EAAE;AAenF;;;;AAIG;AACO,QAAA,IAAA,CAAA,iBAAiB,GAAG,IAAI,GAAG,EAAU;AAE/C;;;;;;;AAOG;QACO,IAAA,CAAA,WAAW,GAAG,KAAK;AAiC3B,QAAA,IAAI,CAAC,GAAG,GAAG,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AAC,OAAO,CAAC,KAAK,IAAI,WAAW,CAAC,EAAE,CAAC;QAClD,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC;QACxB,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,GAAG,EAAE,gBAAgB,CAAC;IAClD;AACA;;;;AAIG;IACO,sBAAsB,GAAA;QAC9B,IAAI,CAAC,OAAO,CAAC,eAAe,EAAE,OAAO,CAAC,OAAO,IAAG;AAC9C,YAAA,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC;AAC/B,QAAA,CAAC,CAAC;IACJ;AAEA;;;;;AAKG;IACO,uBAAuB,GAAA;QAC/B,OAAO,CAAC,OAAO,CAAC,eAAe,EAAE,CAAC,CAAC,EAAE,OAAO,KAAI;AAC9C,YAAA,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC;AAC/B,QAAA,CAAC,CAAC;AACF,QAAA,OAAO,CAAC,eAAe,GAAG,EAAE;IAC9B;;AA9SA;;;;AAIG;AACc,OAAA,CAAA,eAAe,GAA6C,EAA7C;AA4SlC;;;;;;;;;;;;;;;;;;;;;;;AAuBG;MACU,OAAO,GAAG,IAAI,OAAO,CAAC,GAAG;;;;"}
package/js/x-bus/x-bus.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ReplaySubject } from 'rxjs';
2
2
  import { map } from 'rxjs/operators';
3
- import { BaseXPriorityQueue } from './x-priority-queue/x-priority-queue.js';
3
+ import { BaseXPriorityQueue } from './x-priority-queue.js';
4
4
 
5
5
  /**
6
6
  * A default {@link XBus} implementation using a
@@ -1 +1 @@
1
- {"version":3,"file":"x-bus.js","sources":["../../../src/x-bus/x-bus.ts"],"sourcesContent":["import type { AnyFunction, Dictionary } from '@empathyco/x-utils'\nimport type { Observable } from 'rxjs'\nimport type {\n EmittedData,\n Emitter,\n Emitters,\n EventPayload,\n Priority,\n SubjectPayload,\n XBus,\n XPriorityBusEventMetadata,\n XPriorityQueueNodeData,\n} from './x-bus.types'\nimport type { XPriorityQueue } from './x-priority-queue'\nimport { ReplaySubject } from 'rxjs'\nimport { map } from 'rxjs/operators'\nimport { BaseXPriorityQueue } from './x-priority-queue'\n\n/**\n * A default {@link XBus} implementation using a\n * {@link XPriorityQueue | priority queue} as its data structure to\n * prioritise the emission of events. The priorities are preconfigured based on event naming.\n *\n * @public\n */\nexport class XPriorityBus<\n SomeEvents extends Dictionary,\n SomeEventMetadata extends XPriorityBusEventMetadata,\n> implements XBus<SomeEvents, SomeEventMetadata> {\n /**\n * A {@link XPriorityQueue | priority queue} to store the events to\n * emit.\n *\n * @internal\n */\n protected queue: XPriorityQueue<SomeEvents, XPriorityQueueNodeData<SomeEvents, SomeEventMetadata>>\n\n /**\n * A dictionary associating a priority to a key.\n *\n * @example\n * ```ts\n * const priorities: Dictionary<number> = {\n * '^StartsWith': 2,\n * Contains: 4,\n * EndWith$: 8\n * }\n * ```\n *\n * @internal\n */\n protected priorities: Dictionary<Priority>\n\n /**\n * The default value to use as priority for an event that doesn't have defined neither a custom\n * priority nor its name doesn't match any key of the {@link XPriorityBus.priorities | priorities} dictionary.\n *\n * @internal\n */\n protected defaultEventPriority: number\n\n /**\n * A list of functions to execute when an event is emitted.\n *\n * @internal\n */\n protected emitCallbacks: AnyFunction[]\n\n /**\n * A dictionary to store the created event emitters.\n *\n * @internal\n */\n protected emitters: Emitters<SomeEvents, SomeEventMetadata> = {}\n\n /**\n * A pending flush operation timeout identifier or undefined if there's none pending.\n *\n * @internal\n */\n protected pendingFlushId?: number\n\n /**\n * A list of pending pop operations timeout identifiers.\n *\n * @internal\n */\n protected pendingPopsIds: number[] = []\n\n /**\n * Creates a new instance of a {@link XPriorityBus}.\n *\n * @param config - A configuration object to initialise the bus.\n * - param config.queue - A {@link XPriorityQueue | priority queue} to store the events.\n * - param config.priorities - A Dictionary defining the priorities associated to a given string.\n * - param config.emitCallbacks - A list of functions to execute when an event is emitted.\n * - param config.defaultEventPriority - A default priority to assigned to an event.\n */\n public constructor(\n config: {\n queue?: XPriorityQueue<SomeEvents, XPriorityQueueNodeData<SomeEvents, SomeEventMetadata>>\n priorities?: Dictionary<number>\n emitCallbacks?: AnyFunction[]\n defaultEventPriority?: number\n } = {},\n ) {\n this.queue =\n config.queue ??\n new BaseXPriorityQueue<SomeEvents, XPriorityQueueNodeData<SomeEvents, SomeEventMetadata>>()\n this.priorities = config.priorities ?? {}\n this.emitCallbacks = config.emitCallbacks ?? []\n this.defaultEventPriority = config.defaultEventPriority ?? Number.MIN_SAFE_INTEGER\n }\n\n /**\n * Emits an event. See {@link XBus.emit}.\n *\n * @param event - Event to be emitted.\n * @param payload - Event payload.\n * @param metadata - Extra event data.\n *\n * @returns A promise that is resolved the moment the event is emitted.\n */\n // eslint-disable-next-line ts/promise-function-async\n emit<SomeEvent extends keyof SomeEvents>(\n event: SomeEvent,\n // TODO: Fix optional argument.\n payload?: EventPayload<SomeEvents, SomeEvent>,\n metadata = {} as SomeEventMetadata,\n ): Promise<EmittedData<SomeEvents, SomeEvent, SomeEventMetadata>> {\n return new Promise(resolve => {\n this.queue.push(event, this.getEventPriority(event, metadata), {\n // This type assertion is done because payload is optional.\n eventPayload: payload as EventPayload<SomeEvents, SomeEvent>,\n eventMetadata: metadata,\n replaceable: metadata.replaceable || false,\n // @ts-expect-error TODO: Fix type.\n resolve,\n })\n\n this.flushQueue()\n })\n }\n\n /**.\n * Retrieves the event priority based on:\n * - the defined event metadata priority\n * - the priority associated to the matching preconfigured priority key\n * - the configured {@link XPriorityBus.defaultEventPriority | defaultEventPriority} is assigned (by default, the min safe integer).\n *\n * @param event - The event to get the priority from.\n * @param metadata - The event metadata.\n *\n * @returns The priority for the given event.\n *\n * @internal\n */\n protected getEventPriority(event: keyof SomeEvents, metadata: SomeEventMetadata): Priority {\n if (metadata.priority != null) {\n return metadata.priority\n }\n\n const matchingKey = Object.keys(this.priorities).find(key => String(event).includes(key))\n if (matchingKey) {\n return this.priorities[matchingKey]\n }\n\n return this.defaultEventPriority\n }\n\n /**\n * Processes the events stored in the\n * {@link XPriorityQueue | priority queue} and resolves each event\n * whenever it is emitted.\n *\n * @remarks If another 'flushQueue' operation is running, it is discarded and a new one is\n * executed. The pending popping operations are also discarded.\n *\n * @internal\n */\n protected flushQueue(): void {\n clearTimeout(this.pendingFlushId)\n this.clearPendingPopsIds()\n\n this.pendingFlushId = window.setTimeout(() => {\n for (let i = 0; i < this.queue.size(); ++i) {\n const popTimeoutId = window.setTimeout(() => {\n const {\n key,\n data: { eventPayload, eventMetadata, resolve },\n } = this.queue.pop()!\n const emitter = this.getEmitter(key)\n const payloadObj = {\n eventPayload,\n metadata: eventMetadata,\n }\n\n emitter.next(payloadObj)\n\n this.emitCallbacks.forEach(callback => {\n callback(key, payloadObj)\n })\n resolve({ event: key, ...payloadObj })\n\n this.pendingPopsIds = this.pendingPopsIds.filter(timeoutId => timeoutId !== popTimeoutId)\n })\n\n this.pendingPopsIds.push(popTimeoutId)\n }\n })\n }\n\n /**\n * Discards existing pending pop operations and empties the array.\n *\n * @internal\n */\n private clearPendingPopsIds(): void {\n this.pendingPopsIds.forEach(clearTimeout)\n this.pendingPopsIds.length = 0\n }\n\n /**\n * Retrieves an observable for the event. See {@link XBus.on}.\n *\n * @param event - Event to retrieve the observable for.\n * @param withMetadata - Option to retrieve an observable with extra data about the event.\n *\n * @returns The emitter for the event passed.\n */\n on<SomeEvent extends keyof SomeEvents>(\n event: SomeEvent,\n withMetadata = false,\n ): typeof withMetadata extends true\n ? Observable<SubjectPayload<EventPayload<SomeEvents, SomeEvent>, SomeEventMetadata>>\n : Observable<EventPayload<SomeEvents, SomeEvent>> {\n // TODO: This type should work, but inference isn't working as expected. Check when updating ts.\n return withMetadata\n ? // @ts-expect-error Type is not assignable to type EventPayload<SomeEvents, SomeEvent\n this.getEmitter(event).asObservable()\n : this.getEmitter(event).pipe(\n map<\n SubjectPayload<EventPayload<SomeEvents, SomeEvent>, SomeEventMetadata>,\n EventPayload<SomeEvents, SomeEvent>\n >(\n // eslint-disable-next-line ts/no-unsafe-return\n value => value.eventPayload,\n ),\n )\n }\n\n /**\n * Retrieves an event {@link Emitter} for the given event.\n *\n * @param event - The event to retrieve the {@link Emitter} for.\n *\n * @returns The {@link Emitters} for the passed event.\n *\n * @internal\n */\n protected getEmitter<SomeEvent extends keyof SomeEvents>(\n event: SomeEvent,\n ): Emitter<SomeEvents, SomeEvent, SomeEventMetadata> {\n if (!this.emitters[event]) {\n this.createEmitter(event)\n }\n\n return this.emitters[event]!\n }\n\n /**\n * Creates an event {@link Emitter} for the given event.\n *\n * @remarks The emitter is implemented with a\n * {@Link https://www.learnrxjs.io/learn-rxjs/subjects/replaysubject | ReplaySubject} to allow any\n * new subscriber receive the last emitted value.\n *\n * @param event - The event to create the {@link Emitter} for.\n *\n * @internal\n */\n protected createEmitter<SomeEvent extends keyof SomeEvents>(event: SomeEvent): void {\n this.emitters[event] = new ReplaySubject<\n SubjectPayload<EventPayload<SomeEvents, SomeEvent>, SomeEventMetadata>\n >(1)\n }\n}\n"],"names":[],"mappings":";;;;AAkBA;;;;;;AAMG;MACU,YAAY,CAAA;AAgEvB;;;;;;;;AAQG;AACH,IAAA,WAAA,CACE,SAKI,EAAE,EAAA;AApCR;;;;AAIG;QACO,IAAA,CAAA,QAAQ,GAA4C,EAAE;AAShE;;;;AAIG;QACO,IAAA,CAAA,cAAc,GAAa,EAAE;AAmBrC,QAAA,IAAI,CAAC,KAAK;AACR,YAAA,MAAM,CAAC,KAAK;gBACZ,IAAI,kBAAkB,EAAqE;QAC7F,IAAI,CAAC,UAAU,GAAG,MAAM,CAAC,UAAU,IAAI,EAAE;QACzC,IAAI,CAAC,aAAa,GAAG,MAAM,CAAC,aAAa,IAAI,EAAE;QAC/C,IAAI,CAAC,oBAAoB,GAAG,MAAM,CAAC,oBAAoB,IAAI,MAAM,CAAC,gBAAgB;IACpF;AAEA;;;;;;;;AAQG;;AAEH,IAAA,IAAI,CACF,KAAgB;;IAEhB,OAA6C,EAC7C,WAAW,EAAuB,E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KAAgB,EAAA;QAEhB,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE;AACzB,YAAA,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC;QAC3B;AAEA,QAAA,OAAO,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAE;IAC9B;AAEA;;;;;;;;;;AAUG;AACO,IAAA,aAAa,CAAqC,KAAgB,EAAA;QAC1E,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,IAAI,aAAa,CAEtC,CAAC,CAAC;IACN;AACD;;;;"}
1
+ {"version":3,"file":"x-bus.js","sources":["../../../src/x-bus/x-bus.ts"],"sourcesContent":["import type { AnyFunction, Dictionary } from '@empathyco/x-utils'\nimport type { Observable } from 'rxjs'\nimport type {\n EmittedData,\n Emitter,\n Emitters,\n EventPayload,\n Priority,\n SubjectPayload,\n XBus,\n XPriorityBusEventMetadata,\n XPriorityQueueNodeData,\n} from './x-bus.types'\nimport type { XPriorityQueue } from './x-priority-queue.types'\nimport { ReplaySubject } from 'rxjs'\nimport { map } from 'rxjs/operators'\nimport { BaseXPriorityQueue } from './x-priority-queue'\n\n/**\n * A default {@link XBus} implementation using a\n * {@link XPriorityQueue | priority queue} as its data structure to\n * prioritise the emission of events. The priorities are preconfigured based on event naming.\n *\n * @public\n */\nexport class XPriorityBus<\n SomeEvents extends Dictionary,\n SomeEventMetadata extends XPriorityBusEventMetadata,\n> implements XBus<SomeEvents, SomeEventMetadata> {\n /**\n * A {@link XPriorityQueue | priority queue} to store the events to\n * emit.\n *\n * @internal\n */\n protected queue: XPriorityQueue<SomeEvents, XPriorityQueueNodeData<SomeEvents, SomeEventMetadata>>\n\n /**\n * A dictionary associating a priority to a key.\n *\n * @example\n * ```ts\n * const priorities: Dictionary<number> = {\n * '^StartsWith': 2,\n * Contains: 4,\n * EndWith$: 8\n * }\n * ```\n *\n * @internal\n */\n protected priorities: Dictionary<Priority>\n\n /**\n * The default value to use as priority for an event that doesn't have defined neither a custom\n * priority nor its name doesn't match any key of the {@link XPriorityBus.priorities | priorities} dictionary.\n *\n * @internal\n */\n protected defaultEventPriority: number\n\n /**\n * A list of functions to execute when an event is emitted.\n *\n * @internal\n */\n protected emitCallbacks: AnyFunction[]\n\n /**\n * A dictionary to store the created event emitters.\n *\n * @internal\n */\n protected emitters: Emitters<SomeEvents, SomeEventMetadata> = {}\n\n /**\n * A pending flush operation timeout identifier or undefined if there's none pending.\n *\n * @internal\n */\n protected pendingFlushId?: number\n\n /**\n * A list of pending pop operations timeout identifiers.\n *\n * @internal\n */\n protected pendingPopsIds: number[] = []\n\n /**\n * Creates a new instance of a {@link XPriorityBus}.\n *\n * @param config - A configuration object to initialise the bus.\n * - param config.queue - A {@link XPriorityQueue | priority queue} to store the events.\n * - param config.priorities - A Dictionary defining the priorities associated to a given string.\n * - param config.emitCallbacks - A list of functions to execute when an event is emitted.\n * - param config.defaultEventPriority - A default priority to assigned to an event.\n */\n public constructor(\n config: {\n queue?: XPriorityQueue<SomeEvents, XPriorityQueueNodeData<SomeEvents, SomeEventMetadata>>\n priorities?: Dictionary<number>\n emitCallbacks?: AnyFunction[]\n defaultEventPriority?: number\n } = {},\n ) {\n this.queue =\n config.queue ??\n new BaseXPriorityQueue<SomeEvents, XPriorityQueueNodeData<SomeEvents, SomeEventMetadata>>()\n this.priorities = config.priorities ?? {}\n this.emitCallbacks = config.emitCallbacks ?? []\n this.defaultEventPriority = config.defaultEventPriority ?? Number.MIN_SAFE_INTEGER\n }\n\n /**\n * Emits an event. See {@link XBus.emit}.\n *\n * @param event - Event to be emitted.\n * @param payload - Event payload.\n * @param metadata - Extra event data.\n *\n * @returns A promise that is resolved the moment the event is emitted.\n */\n // eslint-disable-next-line ts/promise-function-async\n emit<SomeEvent extends keyof SomeEvents>(\n event: SomeEvent,\n // TODO: Fix optional argument.\n payload?: EventPayload<SomeEvents, SomeEvent>,\n metadata = {} as SomeEventMetadata,\n ): Promise<EmittedData<SomeEvents, SomeEvent, SomeEventMetadata>> {\n return new Promise(resolve => {\n this.queue.push(event, this.getEventPriority(event, metadata), {\n // This type assertion is done because payload is optional.\n eventPayload: payload as EventPayload<SomeEvents, SomeEvent>,\n eventMetadata: metadata,\n replaceable: metadata.replaceable || false,\n // @ts-expect-error TODO: Fix type.\n resolve,\n })\n\n this.flushQueue()\n })\n }\n\n /**.\n * Retrieves the event priority based on:\n * - the defined event metadata priority\n * - the priority associated to the matching preconfigured priority key\n * - the configured {@link XPriorityBus.defaultEventPriority | defaultEventPriority} is assigned (by default, the min safe integer).\n *\n * @param event - The event to get the priority from.\n * @param metadata - The event metadata.\n *\n * @returns The priority for the given event.\n *\n * @internal\n */\n protected getEventPriority(event: keyof SomeEvents, metadata: SomeEventMetadata): Priority {\n if (metadata.priority != null) {\n return metadata.priority\n }\n\n const matchingKey = Object.keys(this.priorities).find(key => String(event).includes(key))\n if (matchingKey) {\n return this.priorities[matchingKey]\n }\n\n return this.defaultEventPriority\n }\n\n /**\n * Processes the events stored in the\n * {@link XPriorityQueue | priority queue} and resolves each event\n * whenever it is emitted.\n *\n * @remarks If another 'flushQueue' operation is running, it is discarded and a new one is\n * executed. The pending popping operations are also discarded.\n *\n * @internal\n */\n protected flushQueue(): void {\n clearTimeout(this.pendingFlushId)\n this.clearPendingPopsIds()\n\n this.pendingFlushId = window.setTimeout(() => {\n for (let i = 0; i < this.queue.size(); ++i) {\n const popTimeoutId = window.setTimeout(() => {\n const {\n key,\n data: { eventPayload, eventMetadata, resolve },\n } = this.queue.pop()!\n const emitter = this.getEmitter(key)\n const payloadObj = {\n eventPayload,\n metadata: eventMetadata,\n }\n\n emitter.next(payloadObj)\n\n this.emitCallbacks.forEach(callback => {\n callback(key, payloadObj)\n })\n resolve({ event: key, ...payloadObj })\n\n this.pendingPopsIds = this.pendingPopsIds.filter(timeoutId => timeoutId !== popTimeoutId)\n })\n\n this.pendingPopsIds.push(popTimeoutId)\n }\n })\n }\n\n /**\n * Discards existing pending pop operations and empties the array.\n *\n * @internal\n */\n private clearPendingPopsIds(): void {\n this.pendingPopsIds.forEach(clearTimeout)\n this.pendingPopsIds.length = 0\n }\n\n /**\n * Retrieves an observable for the event. See {@link XBus.on}.\n *\n * @param event - Event to retrieve the observable for.\n * @param withMetadata - Option to retrieve an observable with extra data about the event.\n *\n * @returns The emitter for the event passed.\n */\n on<SomeEvent extends keyof SomeEvents>(\n event: SomeEvent,\n withMetadata = false,\n ): typeof withMetadata extends true\n ? Observable<SubjectPayload<EventPayload<SomeEvents, SomeEvent>, SomeEventMetadata>>\n : Observable<EventPayload<SomeEvents, SomeEvent>> {\n // TODO: This type should work, but inference isn't working as expected. Check when updating ts.\n return withMetadata\n ? // @ts-expect-error Type is not assignable to type EventPayload<SomeEvents, SomeEvent\n this.getEmitter(event).asObservable()\n : this.getEmitter(event).pipe(\n map<\n SubjectPayload<EventPayload<SomeEvents, SomeEvent>, SomeEventMetadata>,\n EventPayload<SomeEvents, SomeEvent>\n >(\n // eslint-disable-next-line ts/no-unsafe-return\n value => value.eventPayload,\n ),\n )\n }\n\n /**\n * Retrieves an event {@link Emitter} for the given event.\n *\n * @param event - The event to retrieve the {@link Emitter} for.\n *\n * @returns The {@link Emitters} for the passed event.\n *\n * @internal\n */\n protected getEmitter<SomeEvent extends keyof SomeEvents>(\n event: SomeEvent,\n ): Emitter<SomeEvents, SomeEvent, SomeEventMetadata> {\n if (!this.emitters[event]) {\n this.createEmitter(event)\n }\n\n return this.emitters[event]!\n }\n\n /**\n * Creates an event {@link Emitter} for the given event.\n *\n * @remarks The emitter is implemented with a\n * {@Link https://www.learnrxjs.io/learn-rxjs/subjects/replaysubject | ReplaySubject} to allow any\n * new subscriber receive the last emitted value.\n *\n * @param event - The event to create the {@link Emitter} for.\n *\n * @internal\n */\n protected createEmitter<SomeEvent extends keyof SomeEvents>(event: SomeEvent): void {\n this.emitters[event] = new ReplaySubject<\n SubjectPayload<EventPayload<SomeEvents, SomeEvent>, SomeEventMetadata>\n >(1)\n }\n}\n"],"names":[],"mapp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BAAA,CAAC,CAAC;AAEF,gBAAA,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,YAAY,CAAC;YACxC;AACF,QAAA,CAAC,CAAC;IACJ;AAEA;;;;AAIG;IACK,mBAAmB,GAAA;AACzB,QAAA,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,YAAY,CAAC;AACzC,QAAA,IAAI,CAAC,cAAc,CAAC,MAAM,GAAG,CAAC;IAChC;AAEA;;;;;;;AAOG;AACH,IAAA,EAAE,CACA,KAAgB,EAChB,YAAY,GAAG,KAAK,EAAA;;AAKpB,QAAA,OAAO;AACL;AACE,gBAAA,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,YAAY;cACnC,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,IAAI,CACzB,GAAG;;YAKD,KAAK,IAAI,KAAK,CAAC,YAAY,CAC5B,CACF;IACP;AAEA;;;;;;;;AAQG;AACO,IAAA,UAAU,CAClB,KAAgB,EAAA;QAEhB,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE;AACzB,YAAA,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC;QAC3B;AAEA,QAAA,OAAO,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAE;IAC9B;AAEA;;;;;;;;;;AAUG;AACO,IAAA,aAAa,CAAqC,KAAgB,EAAA;QAC1E,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,IAAI,aAAa,CAEtC,CAAC,CAAC;IACN;AACD;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-priority-queue.js","sources":["../../../src/x-bus/x-priority-queue.ts"],"sourcesContent":["import type { Dictionary } from '@empathyco/x-utils'\nimport type {\n NumberComparatorFn,\n XPriorityQueue,\n XPriorityQueueNode,\n} from './x-priority-queue.types'\n\n/**\n * Default {@link XPriorityQueueNode} implementation.\n *\n * @public\n */\nexport class BaseXPriorityQueueNode<\n SomeRecord extends Dictionary,\n SomeData extends Dictionary,\n> implements XPriorityQueueNode<SomeRecord, SomeData> {\n public readonly key: keyof SomeRecord\n public readonly priority: number\n public readonly data: SomeData\n\n public constructor(key: keyof SomeRecord, priority: number, data = {} as SomeData) {\n this.key = key\n this.priority = priority\n this.data = data\n }\n\n /**\n * Returns a string representation of this object. The string representation consists of: its\n * priority, enclosed in square brackets (`[]`), followed by its key, an arrow `(->)` and the\n * data converted to a string using JSON.stringify.\n *\n * @example\n * ```\n * [10] 1 -> { replaceable: false, randomKey: randomValue }\n * ```\n *\n * @returns A string representation of this object.\n *\n * @public\n */\n toString(): string {\n return `[${this.priority}] ${String(this.key)} -> ${JSON.stringify(this.data)}`\n }\n}\n\n/**.\n * Default {@link XPriorityQueue} implementation.\n *\n * Method big-O\n * ---------------------------\n * - push O(n)\n * - pop O(1)\n * - peek O(1)\n * - at O(1)\n *\n * @public\n */\nexport class BaseXPriorityQueue<\n SomeRecord extends Dictionary,\n SomeData extends Dictionary = Dictionary,\n> implements XPriorityQueue<SomeRecord, SomeData> {\n /**\n * The list of stored {@link XPriorityQueueNode | nodes}.\n *\n * @internal\n */\n protected nodes: XPriorityQueueNode<SomeRecord, SomeData>[] = []\n\n /**\n * The comparator function to use for sorting.\n *\n * @internal\n */\n protected comparatorFn: NumberComparatorFn\n\n /**\n * Creates a new {@link XPriorityQueue}.\n *\n * @param comparatorFn - Comparator - the comparator that will be used to order this queue.\n * By default, the elements will be sorted in descending order (an element with priority 1 will\n * be higher in the queue than another with priority 0).\n */\n public constructor(comparatorFn: NumberComparatorFn = (a: number, b: number) => a < b) {\n this.comparatorFn = comparatorFn\n }\n\n /**\n * The `keys` property of a {@link XPriorityQueue} represents the keys of that queue. The value is\n * an array of the parametrized `Key` type.\n *\n * @returns The list of keys.\n */\n public get keys(): (keyof SomeRecord)[] {\n return this.nodes.map(({ key }) => key)\n }\n\n /**.\n * See {@link XPriorityQueue.push}.\n *\n * @remarks\n * If the optional data has a 'replaceable: true' and a similar key is already in the queue,\n * the previous key will be removed and the new one will be inserted to the queue at the\n * correct position based on its new priority.\n *\n * @param key - The key to insert.\n * @param priority - The priority to order the element in the queue.\n * @param data - The extra data associated to a key and priority pair.\n */\n push(key: keyof SomeRecord, priority: number, data?: SomeData): void {\n const node = new BaseXPriorityQueueNode<SomeRecord, SomeData>(key, priority, data)\n\n if (this.isEmpty()) {\n this.nodes.push(node)\n } else {\n this.pushAndSort(node)\n }\n }\n\n /**\n * Inserts the node into the queue in the correct position based on the comparator function.\n *\n * @param newNode - The node to be inserted.\n *\n * @internal\n */\n private pushAndSort(newNode: XPriorityQueueNode<SomeRecord, SomeData>): void {\n const replaceableIndex = this.nodes.findIndex(node => node.key === newNode.key)\n\n if (replaceableIndex > -1 && this.nodes[replaceableIndex].data.replaceable) {\n this.nodes.splice(replaceableIndex, 1)\n }\n\n const insertAtIndex = this.nodes.findIndex(node =>\n this.comparatorFn(node.priority, newNode.priority),\n )\n\n if (insertAtIndex === -1) {\n this.nodes.push(newNode)\n } else {\n this.nodes.splice(insertAtIndex, 0, newNode)\n }\n }\n\n /**\n * See {@link XPriorityQueue.pop}.\n *\n * @returns The head {@link XPriorityQueueNode | node} of the queue or undefined if it is empty.\n */\n pop(): XPriorityQueueNode<SomeRecord, SomeData> | undefined {\n return this.nodes.shift()\n }\n\n /**\n * Retrieves, but does not remove, the head {@link XPriorityQueueNode | node} of the queue.\n *\n * @returns The head {@link XPriorityQueueNode | node} of the queue.\n */\n peek(): XPriorityQueueNode<SomeRecord, SomeData> | undefined {\n return this.nodes[0]\n }\n\n /**\n * Retrieves the {@link XPriorityQueueNode | node} at a given position.\n *\n * @param index - The position to look at.\n *\n * @returns The {@link XPriorityQueueNode | node} at the passed position in the queue.\n */\n at(index: number): XPriorityQueueNode<SomeRecord, SomeData> | undefined {\n return this.nodes[index]\n }\n\n /**\n * Removes all the {@link XPriorityQueueNode | nodes} from the queue.\n */\n clear(): void {\n this.nodes.length = 0\n }\n\n /**\n * Checks if the queue is empty.\n *\n * @returns True if the queue is empty, false otherwise.\n */\n isEmpty(): boolean {\n return this.nodes.length === 0\n }\n\n /**\n * Retrieves the number of {@link XPriorityQueueNode | nodes} stored in the queue.\n *\n * @returns The number of {@link XPriorityQueueNode | nodes} stored in the queue.\n */\n size(): number {\n return this.nodes.length\n }\n\n /**\n * Returns a string representation of this collection. The string representation consists of a\n * list of the queue {@link XPriorityQueueNode | nodes} split in multiple lines, one for each\n * one. Nodes are converted to strings as by toString().\n *\n * @example\n * ```\n * [10] 1 -> { replaceable: false, a: 'b' }\n * [20] 2 -> { replaceable: false }\n * [30] 3 -> { replaceable: false, c: 1 }\n * ```\n *\n * @returns A string representation of the queue.\n */\n toString(): string {\n return this.nodes.reduce((output, node) => output.concat(node.toString(), '\\n'), '')\n }\n}\n"],"names":[],"mappings":"AAOA;;;;AAIG;MACU,sBAAsB,CAAA;AAQjC,IAAA,WAAA,CAAmB,GAAqB,EAAE,QAAgB,EAAE,OAAO,EAAc,EAAA;AAC/E,QAAA,IAAI,CAAC,GAAG,GAAG,GAAG;AACd,QAAA,IAAI,CAAC,QAAQ,GAAG,QAAQ;AACxB,QAAA,IAAI,CAAC,IAAI,GAAG,IAAI;IAClB;AAEA;;;;;;;;;;;;;AAaG;IACH,QAAQ,GAAA;QACN,OAAO,CAAA,CAAA,EAAI,IAAI,CAAC,QAAQ,KAAK,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA,IAAA,EAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA,CAAE;IACjF;AACD;AAED;;;;;;;;;;;AAWG;MACU,kBAAkB,CAAA;AAkB7B;;;;;;AAMG;IACH,WAAA,CAAmB,YAAA,GAAmC,CAAC,CAAS,EAAE,CAAS,KAAK,CAAC,GAAG,CAAC,EAAA;AArBrF;;;;AAIG;QACO,IAAA,CAAA,KAAK,GAA+C,EAAE;AAiB9D,QAAA,IAAI,CAAC,YAAY,GAAG,YAAY;IAClC;AAEA;;;;;AAKG;AACH,IAAA,IA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