@empathyco/x-components 3.0.0-alpha.52 → 3.0.0-alpha.53

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 (1421) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/core/index.js +50 -50
  3. package/design-system/.-mixins.css +0 -1
  4. package/design-system/badge-default.css +13 -7
  5. package/design-system/base.css +9 -8
  6. package/design-system/button-card.css +4 -2
  7. package/design-system/button-default.css +36 -16
  8. package/design-system/button-ghost.css +8 -4
  9. package/design-system/button-pill.css +4 -2
  10. package/design-system/button-primary.css +4 -2
  11. package/design-system/button-round.css +4 -2
  12. package/design-system/button-secondary.css +4 -2
  13. package/design-system/button-tertiary.css +4 -2
  14. package/design-system/default-theme.css +1306 -940
  15. package/design-system/dropdown-card.css +4 -2
  16. package/design-system/dropdown-default.css +162 -125
  17. package/design-system/dropdown-l.css +4 -2
  18. package/design-system/dropdown-line.css +4 -2
  19. package/design-system/dropdown-m.css +4 -2
  20. package/design-system/dropdown-pill.css +4 -2
  21. package/design-system/dropdown-s.css +4 -2
  22. package/design-system/dropdown-xl.css +4 -2
  23. package/design-system/facet-card.css +4 -2
  24. package/design-system/facet-default.css +80 -55
  25. package/design-system/facet-line.css +4 -2
  26. package/design-system/facet-outlined.css +4 -2
  27. package/design-system/filter-default.css +54 -30
  28. package/design-system/filter-hierarchical.css +25 -17
  29. package/design-system/filter-justified.css +2 -1
  30. package/design-system/full-theme.css +4580 -3882
  31. package/design-system/grid-default.css +14 -9
  32. package/design-system/icon-default.css +4 -2
  33. package/design-system/icon-l.css +4 -2
  34. package/design-system/icon-m.css +4 -2
  35. package/design-system/icon-s.css +4 -2
  36. package/design-system/icon-xl.css +4 -2
  37. package/design-system/input-card.css +4 -2
  38. package/design-system/input-default.css +43 -22
  39. package/design-system/input-group-card.css +14 -10
  40. package/design-system/input-group-default.css +116 -80
  41. package/design-system/input-group-line.css +34 -22
  42. package/design-system/input-group-pill.css +4 -2
  43. package/design-system/input-line.css +4 -2
  44. package/design-system/input-pill.css +4 -2
  45. package/design-system/list-default.css +91 -67
  46. package/design-system/list-gap.css +542 -342
  47. package/design-system/list-padding.css +298 -193
  48. package/design-system/message-default.css +31 -17
  49. package/design-system/option-list-bottom.css +51 -47
  50. package/design-system/option-list-default.css +106 -93
  51. package/design-system/picture-card.css +4 -2
  52. package/design-system/picture-colored.css +13 -8
  53. package/design-system/picture-cover.css +7 -4
  54. package/design-system/picture-default.css +31 -22
  55. package/design-system/picture-fixed-ratio.css +17 -10
  56. package/design-system/progress-bar-progress-bar.css +10 -8
  57. package/design-system/result-card.css +4 -2
  58. package/design-system/result-default.css +41 -32
  59. package/design-system/row-default.css +97 -62
  60. package/design-system/row-gap.css +42 -21
  61. package/design-system/row-padding.css +12 -6
  62. package/design-system/scroll-default.css +27 -19
  63. package/design-system/sliding-panel-default.css +48 -34
  64. package/design-system/sliding-panel-default.token.css +2 -1
  65. package/design-system/suggestion-default.css +65 -37
  66. package/design-system/suggestion-group-default.css +50 -28
  67. package/design-system/tag-card.css +4 -2
  68. package/design-system/tag-default.css +132 -105
  69. package/design-system/tag-ghost.css +4 -2
  70. package/design-system/tag-pill.css +4 -2
  71. package/design-system/typography-accent.css +2 -1
  72. package/design-system/typography-accent.token.css +2 -1
  73. package/design-system/typography-bold.css +10 -9
  74. package/design-system/typography-default.css +14 -7
  75. package/design-system/typography-light.css +10 -9
  76. package/design-system/typography-secondary.css +2 -1
  77. package/design-system/typography-secondary.token.css +2 -1
  78. package/design-system/typography-stroke.css +10 -9
  79. package/design-system/utilities-background-color.css +22 -11
  80. package/design-system/utilities-border-color.css +22 -11
  81. package/design-system/utilities-border-radius.css +1004 -1001
  82. package/design-system/utilities-border-width.css +245 -244
  83. package/design-system/utilities-box-shadow.css +44 -42
  84. package/design-system/utilities-dev-mode.css +2 -1
  85. package/design-system/utilities-flex.css +22 -11
  86. package/design-system/utilities-font-color.css +22 -11
  87. package/design-system/utilities-font-size.css +40 -39
  88. package/design-system/utilities-font-weight.css +6 -5
  89. package/design-system/utilities-line-clamp.css +10 -5
  90. package/design-system/utilities-line-height.css +12 -6
  91. package/design-system/utilities-margin.css +308 -307
  92. package/design-system/utilities-padding.css +294 -293
  93. package/design-system/utilities-position.css +10 -5
  94. package/design-system/utilities-text-decoration.css +8 -4
  95. package/design-system/utilities-text-transform.css +8 -4
  96. package/device/index.js +3 -3
  97. package/empathize/index.js +3 -3
  98. package/extra-params/index.js +5 -5
  99. package/facets/index.js +10 -10
  100. package/history-queries/index.js +6 -6
  101. package/identifier-results/index.js +4 -4
  102. package/js/components/animations/animate-width.vue.js +11 -11
  103. package/js/components/animations/animate-width.vue.js.map +1 -1
  104. package/js/components/animations/animate-width.vue_rollup-plugin-vue_script.vue.js +18 -0
  105. package/js/components/animations/animate-width.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  106. package/js/components/animations/animations.mixin.js +6 -6
  107. package/js/components/animations/animations.mixin.js.map +1 -1
  108. package/js/components/animations/collapse-from-top.vue.js +12 -12
  109. package/js/components/animations/collapse-from-top.vue.js.map +1 -1
  110. package/js/components/animations/collapse-from-top.vue_rollup-plugin-vue_script.vue.js +19 -0
  111. package/js/components/animations/collapse-from-top.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  112. package/js/components/animations/collapse-height.vue.js +11 -11
  113. package/js/components/animations/collapse-height.vue.js.map +1 -1
  114. package/js/components/animations/collapse-height.vue_rollup-plugin-vue_script.vue.js +22 -0
  115. package/js/components/animations/collapse-height.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  116. package/js/components/animations/collapse-width.vue.js +11 -11
  117. package/js/components/animations/collapse-width.vue.js.map +1 -1
  118. package/js/components/animations/collapse-width.vue_rollup-plugin-vue_script.vue.js +22 -0
  119. package/js/components/animations/collapse-width.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  120. package/js/components/animations/cross-fade.vue.js +11 -11
  121. package/js/components/animations/cross-fade.vue.js.map +1 -1
  122. package/js/components/animations/cross-fade.vue_rollup-plugin-vue_script.vue.js +19 -0
  123. package/js/components/animations/cross-fade.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  124. package/js/components/animations/fade-and-slide.vue.js +11 -11
  125. package/js/components/animations/fade-and-slide.vue.js.map +1 -1
  126. package/js/components/animations/fade-and-slide.vue_rollup-plugin-vue_script.vue.js +22 -0
  127. package/js/components/animations/fade-and-slide.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  128. package/js/components/animations/staggered-fade-and-slide.vue.js +11 -11
  129. package/js/components/animations/staggered-fade-and-slide.vue.js.map +1 -1
  130. package/js/components/animations/staggered-fade-and-slide.vue_rollup-plugin-vue_script.vue.js +22 -0
  131. package/js/components/animations/staggered-fade-and-slide.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  132. package/js/components/animations/staggering-transition-group.vue.js +11 -11
  133. package/js/components/animations/staggering-transition-group.vue.js.map +1 -1
  134. package/js/components/animations/staggering-transition-group.vue_rollup-plugin-vue_script.vue.js +319 -0
  135. package/js/components/animations/staggering-transition-group.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  136. package/js/components/animations/translate-from-left.vue.js +11 -11
  137. package/js/components/animations/translate-from-left.vue.js.map +1 -1
  138. package/js/components/animations/translate-from-left.vue_rollup-plugin-vue_script.vue.js +19 -0
  139. package/js/components/animations/translate-from-left.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  140. package/js/components/animations/translate-from-right.vue.js +11 -11
  141. package/js/components/animations/translate-from-right.vue.js.map +1 -1
  142. package/js/components/animations/translate-from-right.vue_rollup-plugin-vue_script.vue.js +19 -0
  143. package/js/components/animations/translate-from-right.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  144. package/js/components/auto-progress-bar.vue.js +13 -12
  145. package/js/components/auto-progress-bar.vue.js.map +1 -1
  146. package/js/components/auto-progress-bar.vue_rollup-plugin-vue_script.vue.js +34 -0
  147. package/js/components/auto-progress-bar.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  148. package/js/components/base-dropdown.vue.js +34 -22
  149. package/js/components/base-dropdown.vue.js.map +1 -1
  150. package/js/components/{base-dropdown.vue_rollup-plugin-vue=script.js → base-dropdown.vue_rollup-plugin-vue_script.vue.js} +125 -139
  151. package/js/components/base-dropdown.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  152. package/js/components/base-event-button.vue.js +9 -9
  153. package/js/components/base-event-button.vue.js.map +1 -1
  154. package/js/components/base-event-button.vue_rollup-plugin-vue_script.vue.js +30 -0
  155. package/js/components/base-event-button.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  156. package/js/components/base-grid.vue.js +15 -13
  157. package/js/components/base-grid.vue.js.map +1 -1
  158. package/js/components/base-grid.vue_rollup-plugin-vue_script.vue.js +95 -0
  159. package/js/components/base-grid.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  160. package/js/components/base-keyboard-navigation.vue.js +15 -12
  161. package/js/components/base-keyboard-navigation.vue.js.map +1 -1
  162. package/js/components/base-keyboard-navigation.vue_rollup-plugin-vue_script.vue.js +110 -0
  163. package/js/components/base-keyboard-navigation.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  164. package/js/components/base-rating.vue.js +21 -16
  165. package/js/components/base-rating.vue.js.map +1 -1
  166. package/js/components/base-rating.vue_rollup-plugin-vue_script.vue.js +50 -0
  167. package/js/components/base-rating.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  168. package/js/components/base-variable-column-grid.vue.js +11 -10
  169. package/js/components/base-variable-column-grid.vue.js.map +1 -1
  170. package/js/components/base-variable-column-grid.vue_rollup-plugin-vue_script.vue.js +55 -0
  171. package/js/components/base-variable-column-grid.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  172. package/js/components/column-picker/base-column-picker-dropdown.vue.js +15 -12
  173. package/js/components/column-picker/base-column-picker-dropdown.vue.js.map +1 -1
  174. package/js/components/column-picker/base-column-picker-dropdown.vue_rollup-plugin-vue_script.vue.js +42 -0
  175. package/js/components/column-picker/base-column-picker-dropdown.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  176. package/js/components/column-picker/base-column-picker-list.vue.js +15 -13
  177. package/js/components/column-picker/base-column-picker-list.vue.js.map +1 -1
  178. package/js/components/column-picker/base-column-picker-list.vue_rollup-plugin-vue_script.vue.js +48 -0
  179. package/js/components/column-picker/base-column-picker-list.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  180. package/js/components/column-picker/column-picker.mixin.js +46 -53
  181. package/js/components/column-picker/column-picker.mixin.js.map +1 -1
  182. package/js/components/currency/base-currency.vue.js +9 -9
  183. package/js/components/currency/base-currency.vue.js.map +1 -1
  184. package/js/components/currency/{base-currency.vue_rollup-plugin-vue=script.js → base-currency.vue_rollup-plugin-vue_script.vue.js} +39 -51
  185. package/js/components/currency/base-currency.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  186. package/js/components/decorators/bus.decorators.js +30 -41
  187. package/js/components/decorators/bus.decorators.js.map +1 -1
  188. package/js/components/decorators/debounce.decorators.js +6 -12
  189. package/js/components/decorators/debounce.decorators.js.map +1 -1
  190. package/js/components/decorators/injection.consts.js +1 -1
  191. package/js/components/decorators/injection.consts.js.map +1 -1
  192. package/js/components/decorators/injection.decorators.js +22 -26
  193. package/js/components/decorators/injection.decorators.js.map +1 -1
  194. package/js/components/decorators/store.decorators.js +11 -13
  195. package/js/components/decorators/store.decorators.js.map +1 -1
  196. package/js/components/filters/labels/base-price-filter-label.vue.js +9 -9
  197. package/js/components/filters/labels/base-price-filter-label.vue.js.map +1 -1
  198. package/js/components/filters/labels/base-price-filter-label.vue_rollup-plugin-vue_script.vue.js +73 -0
  199. package/js/components/filters/labels/base-price-filter-label.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  200. package/js/components/filters/labels/base-rating-filter-label.vue.js +11 -10
  201. package/js/components/filters/labels/base-rating-filter-label.vue.js.map +1 -1
  202. package/js/components/filters/labels/base-rating-filter-label.vue_rollup-plugin-vue_script.vue.js +41 -0
  203. package/js/components/filters/labels/base-rating-filter-label.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  204. package/js/components/global-x-bus.vue.js +9 -9
  205. package/js/components/global-x-bus.vue.js.map +1 -1
  206. package/js/components/global-x-bus.vue_rollup-plugin-vue_script.vue.js +41 -0
  207. package/js/components/global-x-bus.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  208. package/js/components/icons/arrow-down.vue.js +12 -10
  209. package/js/components/icons/arrow-down.vue.js.map +1 -1
  210. package/js/components/icons/arrow-down.vue_rollup-plugin-vue_script.vue.js +4 -0
  211. package/js/components/icons/arrow-down.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  212. package/js/components/icons/arrow-left.vue.js +12 -10
  213. package/js/components/icons/arrow-left.vue.js.map +1 -1
  214. package/js/components/icons/arrow-left.vue_rollup-plugin-vue_script.vue.js +4 -0
  215. package/js/components/icons/arrow-left.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  216. package/js/components/icons/arrow-right.vue.js +12 -10
  217. package/js/components/icons/arrow-right.vue.js.map +1 -1
  218. package/js/components/icons/arrow-right.vue_rollup-plugin-vue_script.vue.js +4 -0
  219. package/js/components/icons/arrow-right.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  220. package/js/components/icons/arrow-up.vue.js +12 -10
  221. package/js/components/icons/arrow-up.vue.js.map +1 -1
  222. package/js/components/icons/arrow-up.vue_rollup-plugin-vue_script.vue.js +4 -0
  223. package/js/components/icons/arrow-up.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  224. package/js/components/icons/bag.vue.js +12 -10
  225. package/js/components/icons/bag.vue.js.map +1 -1
  226. package/js/components/icons/bag.vue_rollup-plugin-vue_script.vue.js +4 -0
  227. package/js/components/icons/bag.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  228. package/js/components/icons/bar-code.vue.js +12 -10
  229. package/js/components/icons/bar-code.vue.js.map +1 -1
  230. package/js/components/icons/bar-code.vue_rollup-plugin-vue_script.vue.js +4 -0
  231. package/js/components/icons/bar-code.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  232. package/js/components/icons/barcode-tiny.vue.js +12 -10
  233. package/js/components/icons/barcode-tiny.vue.js.map +1 -1
  234. package/js/components/icons/barcode-tiny.vue_rollup-plugin-vue_script.vue.js +4 -0
  235. package/js/components/icons/barcode-tiny.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  236. package/js/components/icons/cart.vue.js +12 -10
  237. package/js/components/icons/cart.vue.js.map +1 -1
  238. package/js/components/icons/cart.vue_rollup-plugin-vue_script.vue.js +4 -0
  239. package/js/components/icons/cart.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  240. package/js/components/icons/check-tiny.vue.js +12 -10
  241. package/js/components/icons/check-tiny.vue.js.map +1 -1
  242. package/js/components/icons/check-tiny.vue_rollup-plugin-vue_script.vue.js +4 -0
  243. package/js/components/icons/check-tiny.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  244. package/js/components/icons/check.vue.js +12 -10
  245. package/js/components/icons/check.vue.js.map +1 -1
  246. package/js/components/icons/check.vue_rollup-plugin-vue_script.vue.js +4 -0
  247. package/js/components/icons/check.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  248. package/js/components/icons/checkbox-card-selected.vue.js +12 -10
  249. package/js/components/icons/checkbox-card-selected.vue.js.map +1 -1
  250. package/js/components/icons/{checkbox-card-selected.vue_rollup-plugin-vue=script.js → checkbox-card-selected.vue_rollup-plugin-vue_script.vue.js} +2 -2
  251. package/js/components/icons/checkbox-card-selected.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  252. package/js/components/icons/checkbox-card-unselected.vue.js +12 -10
  253. package/js/components/icons/checkbox-card-unselected.vue.js.map +1 -1
  254. package/js/components/icons/{checkbox-card-unselected.vue_rollup-plugin-vue=script.js → checkbox-card-unselected.vue_rollup-plugin-vue_script.vue.js} +2 -2
  255. package/js/components/icons/checkbox-card-unselected.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  256. package/js/components/icons/checkbox-selected.vue.js +12 -10
  257. package/js/components/icons/checkbox-selected.vue.js.map +1 -1
  258. package/js/components/icons/checkbox-selected.vue_rollup-plugin-vue_script.vue.js +4 -0
  259. package/js/components/icons/checkbox-selected.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  260. package/js/components/icons/checkbox-unselected.vue.js +12 -10
  261. package/js/components/icons/checkbox-unselected.vue.js.map +1 -1
  262. package/js/components/icons/checkbox-unselected.vue_rollup-plugin-vue_script.vue.js +4 -0
  263. package/js/components/icons/checkbox-unselected.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  264. package/js/components/icons/chevron-down.vue.js +12 -10
  265. package/js/components/icons/chevron-down.vue.js.map +1 -1
  266. package/js/components/icons/chevron-down.vue_rollup-plugin-vue_script.vue.js +4 -0
  267. package/js/components/icons/chevron-down.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  268. package/js/components/icons/chevron-left.vue.js +12 -10
  269. package/js/components/icons/chevron-left.vue.js.map +1 -1
  270. package/js/components/icons/chevron-left.vue_rollup-plugin-vue_script.vue.js +4 -0
  271. package/js/components/icons/chevron-left.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  272. package/js/components/icons/chevron-right.vue.js +12 -10
  273. package/js/components/icons/chevron-right.vue.js.map +1 -1
  274. package/js/components/icons/chevron-right.vue_rollup-plugin-vue_script.vue.js +4 -0
  275. package/js/components/icons/chevron-right.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  276. package/js/components/icons/chevron-tiny-down.vue.js +12 -10
  277. package/js/components/icons/chevron-tiny-down.vue.js.map +1 -1
  278. package/js/components/icons/chevron-tiny-down.vue_rollup-plugin-vue_script.vue.js +4 -0
  279. package/js/components/icons/chevron-tiny-down.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  280. package/js/components/icons/chevron-tiny-left.vue.js +12 -10
  281. package/js/components/icons/chevron-tiny-left.vue.js.map +1 -1
  282. package/js/components/icons/chevron-tiny-left.vue_rollup-plugin-vue_script.vue.js +4 -0
  283. package/js/components/icons/chevron-tiny-left.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  284. package/js/components/icons/chevron-tiny-right.vue.js +12 -10
  285. package/js/components/icons/chevron-tiny-right.vue.js.map +1 -1
  286. package/js/components/icons/chevron-tiny-right.vue_rollup-plugin-vue_script.vue.js +4 -0
  287. package/js/components/icons/chevron-tiny-right.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  288. package/js/components/icons/chevron-tiny-up.vue.js +12 -10
  289. package/js/components/icons/chevron-tiny-up.vue.js.map +1 -1
  290. package/js/components/icons/chevron-tiny-up.vue_rollup-plugin-vue_script.vue.js +4 -0
  291. package/js/components/icons/chevron-tiny-up.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  292. package/js/components/icons/chevron-up.vue.js +12 -10
  293. package/js/components/icons/chevron-up.vue.js.map +1 -1
  294. package/js/components/icons/chevron-up.vue_rollup-plugin-vue_script.vue.js +4 -0
  295. package/js/components/icons/chevron-up.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  296. package/js/components/icons/cross-tiny.vue.js +12 -10
  297. package/js/components/icons/cross-tiny.vue.js.map +1 -1
  298. package/js/components/icons/cross-tiny.vue_rollup-plugin-vue_script.vue.js +4 -0
  299. package/js/components/icons/cross-tiny.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  300. package/js/components/icons/cross.vue.js +12 -10
  301. package/js/components/icons/cross.vue.js.map +1 -1
  302. package/js/components/icons/cross.vue_rollup-plugin-vue_script.vue.js +4 -0
  303. package/js/components/icons/cross.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  304. package/js/components/icons/curated-check.vue.js +12 -10
  305. package/js/components/icons/curated-check.vue.js.map +1 -1
  306. package/js/components/icons/curated-check.vue_rollup-plugin-vue_script.vue.js +4 -0
  307. package/js/components/icons/curated-check.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  308. package/js/components/icons/filters.vue.js +12 -10
  309. package/js/components/icons/filters.vue.js.map +1 -1
  310. package/js/components/icons/filters.vue_rollup-plugin-vue_script.vue.js +4 -0
  311. package/js/components/icons/filters.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  312. package/js/components/icons/grid-1-col.vue.js +12 -10
  313. package/js/components/icons/grid-1-col.vue.js.map +1 -1
  314. package/js/components/icons/grid-1-col.vue_rollup-plugin-vue_script.vue.js +4 -0
  315. package/js/components/icons/grid-1-col.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  316. package/js/components/icons/grid-2-col.vue.js +12 -10
  317. package/js/components/icons/grid-2-col.vue.js.map +1 -1
  318. package/js/components/icons/grid-2-col.vue_rollup-plugin-vue_script.vue.js +4 -0
  319. package/js/components/icons/grid-2-col.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  320. package/js/components/icons/grid-2-rows.vue.js +12 -10
  321. package/js/components/icons/grid-2-rows.vue.js.map +1 -1
  322. package/js/components/icons/grid-2-rows.vue_rollup-plugin-vue_script.vue.js +4 -0
  323. package/js/components/icons/grid-2-rows.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  324. package/js/components/icons/hide.vue.js +12 -10
  325. package/js/components/icons/hide.vue.js.map +1 -1
  326. package/js/components/icons/hide.vue_rollup-plugin-vue_script.vue.js +4 -0
  327. package/js/components/icons/hide.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  328. package/js/components/icons/history-tiny.vue.js +12 -10
  329. package/js/components/icons/history-tiny.vue.js.map +1 -1
  330. package/js/components/icons/history-tiny.vue_rollup-plugin-vue_script.vue.js +4 -0
  331. package/js/components/icons/history-tiny.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  332. package/js/components/icons/history.vue.js +12 -10
  333. package/js/components/icons/history.vue.js.map +1 -1
  334. package/js/components/icons/history.vue_rollup-plugin-vue_script.vue.js +4 -0
  335. package/js/components/icons/history.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  336. package/js/components/icons/light-bulb-off.vue.js +12 -10
  337. package/js/components/icons/light-bulb-off.vue.js.map +1 -1
  338. package/js/components/icons/light-bulb-off.vue_rollup-plugin-vue_script.vue.js +4 -0
  339. package/js/components/icons/light-bulb-off.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  340. package/js/components/icons/light-bulb-on.vue.js +13 -11
  341. package/js/components/icons/light-bulb-on.vue.js.map +1 -1
  342. package/js/components/icons/light-bulb-on.vue_rollup-plugin-vue_script.vue.js +4 -0
  343. package/js/components/icons/light-bulb-on.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  344. package/js/components/icons/menu.vue.js +12 -10
  345. package/js/components/icons/menu.vue.js.map +1 -1
  346. package/js/components/icons/menu.vue_rollup-plugin-vue_script.vue.js +4 -0
  347. package/js/components/icons/menu.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  348. package/js/components/icons/minus-tiny.vue.js +12 -10
  349. package/js/components/icons/minus-tiny.vue.js.map +1 -1
  350. package/js/components/icons/minus-tiny.vue_rollup-plugin-vue_script.vue.js +4 -0
  351. package/js/components/icons/minus-tiny.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  352. package/js/components/icons/minus.vue.js +12 -10
  353. package/js/components/icons/minus.vue.js.map +1 -1
  354. package/js/components/icons/minus.vue_rollup-plugin-vue_script.vue.js +4 -0
  355. package/js/components/icons/minus.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  356. package/js/components/icons/nq-1.vue.js +12 -10
  357. package/js/components/icons/nq-1.vue.js.map +1 -1
  358. package/js/components/icons/nq-1.vue_rollup-plugin-vue_script.vue.js +4 -0
  359. package/js/components/icons/nq-1.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  360. package/js/components/icons/nq-2.vue.js +12 -10
  361. package/js/components/icons/nq-2.vue.js.map +1 -1
  362. package/js/components/icons/nq-2.vue_rollup-plugin-vue_script.vue.js +4 -0
  363. package/js/components/icons/nq-2.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  364. package/js/components/icons/nq-3.vue.js +12 -10
  365. package/js/components/icons/nq-3.vue.js.map +1 -1
  366. package/js/components/icons/nq-3.vue_rollup-plugin-vue_script.vue.js +4 -0
  367. package/js/components/icons/nq-3.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  368. package/js/components/icons/nq-4.vue.js +12 -10
  369. package/js/components/icons/nq-4.vue.js.map +1 -1
  370. package/js/components/icons/nq-4.vue_rollup-plugin-vue_script.vue.js +4 -0
  371. package/js/components/icons/nq-4.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  372. package/js/components/icons/plus.vue.js +12 -10
  373. package/js/components/icons/plus.vue.js.map +1 -1
  374. package/js/components/icons/plus.vue_rollup-plugin-vue_script.vue.js +4 -0
  375. package/js/components/icons/plus.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  376. package/js/components/icons/search-tiny.vue.js +12 -10
  377. package/js/components/icons/search-tiny.vue.js.map +1 -1
  378. package/js/components/icons/search-tiny.vue_rollup-plugin-vue_script.vue.js +4 -0
  379. package/js/components/icons/search-tiny.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  380. package/js/components/icons/search.vue.js +12 -10
  381. package/js/components/icons/search.vue.js.map +1 -1
  382. package/js/components/icons/search.vue_rollup-plugin-vue_script.vue.js +4 -0
  383. package/js/components/icons/search.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  384. package/js/components/icons/show.vue.js +12 -10
  385. package/js/components/icons/show.vue.js.map +1 -1
  386. package/js/components/icons/show.vue_rollup-plugin-vue_script.vue.js +4 -0
  387. package/js/components/icons/show.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  388. package/js/components/icons/star.vue.js +12 -10
  389. package/js/components/icons/star.vue.js.map +1 -1
  390. package/js/components/icons/star.vue_rollup-plugin-vue_script.vue.js +4 -0
  391. package/js/components/icons/star.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  392. package/js/components/icons/tag.vue.js +11 -10
  393. package/js/components/icons/tag.vue.js.map +1 -1
  394. package/js/components/icons/tag.vue_rollup-plugin-vue_script.vue.js +4 -0
  395. package/js/components/icons/tag.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  396. package/js/components/icons/trash-open.vue.js +12 -10
  397. package/js/components/icons/trash-open.vue.js.map +1 -1
  398. package/js/components/icons/trash-open.vue_rollup-plugin-vue_script.vue.js +4 -0
  399. package/js/components/icons/trash-open.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  400. package/js/components/icons/trash.vue.js +12 -10
  401. package/js/components/icons/trash.vue.js.map +1 -1
  402. package/js/components/icons/trash.vue_rollup-plugin-vue_script.vue.js +4 -0
  403. package/js/components/icons/trash.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  404. package/js/components/icons/trending-tiny.vue.js +12 -10
  405. package/js/components/icons/trending-tiny.vue.js.map +1 -1
  406. package/js/components/icons/trending-tiny.vue_rollup-plugin-vue_script.vue.js +4 -0
  407. package/js/components/icons/trending-tiny.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  408. package/js/components/icons/trending.vue.js +12 -10
  409. package/js/components/icons/trending.vue.js.map +1 -1
  410. package/js/components/icons/trending.vue_rollup-plugin-vue_script.vue.js +4 -0
  411. package/js/components/icons/trending.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  412. package/js/components/icons/user.vue.js +12 -10
  413. package/js/components/icons/user.vue.js.map +1 -1
  414. package/js/components/icons/user.vue_rollup-plugin-vue_script.vue.js +4 -0
  415. package/js/components/icons/user.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  416. package/js/components/items-list-injection.mixin.js +22 -31
  417. package/js/components/items-list-injection.mixin.js.map +1 -1
  418. package/js/components/items-list.vue.js +11 -10
  419. package/js/components/items-list.vue.js.map +1 -1
  420. package/js/components/items-list.vue_rollup-plugin-vue_script.vue.js +44 -0
  421. package/js/components/items-list.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  422. package/js/components/layouts/fixed-header-and-asides-layout.vue.js +59 -35
  423. package/js/components/layouts/fixed-header-and-asides-layout.vue.js.map +1 -1
  424. package/js/components/layouts/fixed-header-and-asides-layout.vue_rollup-plugin-vue_script.vue.js +52 -0
  425. package/js/components/layouts/fixed-header-and-asides-layout.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  426. package/js/components/layouts/layouts.mixin.js +16 -25
  427. package/js/components/layouts/layouts.mixin.js.map +1 -1
  428. package/js/components/layouts/multi-column-max-width-layout.vue.js +80 -46
  429. package/js/components/layouts/multi-column-max-width-layout.vue.js.map +1 -1
  430. package/js/components/layouts/multi-column-max-width-layout.vue_rollup-plugin-vue_script.vue.js +28 -0
  431. package/js/components/layouts/multi-column-max-width-layout.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  432. package/js/components/layouts/single-column-layout.vue.js +67 -39
  433. package/js/components/layouts/single-column-layout.vue.js.map +1 -1
  434. package/js/components/layouts/single-column-layout.vue_rollup-plugin-vue_script.vue.js +29 -0
  435. package/js/components/layouts/single-column-layout.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  436. package/js/components/location-provider.vue.js +9 -9
  437. package/js/components/location-provider.vue.js.map +1 -1
  438. package/js/components/location-provider.vue_rollup-plugin-vue_script.vue.js +23 -0
  439. package/js/components/location-provider.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  440. package/js/components/modals/base-events-modal-close.vue.js +9 -9
  441. package/js/components/modals/base-events-modal-close.vue.js.map +1 -1
  442. package/js/components/modals/base-events-modal-close.vue_rollup-plugin-vue_script.vue.js +28 -0
  443. package/js/components/modals/base-events-modal-close.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  444. package/js/components/modals/base-events-modal-open.vue.js +9 -9
  445. package/js/components/modals/base-events-modal-open.vue.js.map +1 -1
  446. package/js/components/modals/base-events-modal-open.vue_rollup-plugin-vue_script.vue.js +28 -0
  447. package/js/components/modals/base-events-modal-open.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  448. package/js/components/modals/base-events-modal.vue.js +9 -9
  449. package/js/components/modals/base-events-modal.vue.js.map +1 -1
  450. package/js/components/modals/{base-events-modal.vue_rollup-plugin-vue=script.js → base-events-modal.vue_rollup-plugin-vue_script.vue.js} +42 -44
  451. package/js/components/modals/base-events-modal.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  452. package/js/components/modals/base-id-modal-close.vue.js +9 -9
  453. package/js/components/modals/base-id-modal-close.vue.js.map +1 -1
  454. package/js/components/modals/base-id-modal-close.vue_rollup-plugin-vue_script.vue.js +28 -0
  455. package/js/components/modals/base-id-modal-close.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  456. package/js/components/modals/base-id-modal-open.vue.js +9 -9
  457. package/js/components/modals/base-id-modal-open.vue.js.map +1 -1
  458. package/js/components/modals/base-id-modal-open.vue_rollup-plugin-vue_script.vue.js +28 -0
  459. package/js/components/modals/base-id-modal-open.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  460. package/js/components/modals/base-id-modal.vue.js +9 -9
  461. package/js/components/modals/base-id-modal.vue.js.map +1 -1
  462. package/js/components/modals/{base-id-modal.vue_rollup-plugin-vue=script.js → base-id-modal.vue_rollup-plugin-vue_script.vue.js} +34 -36
  463. package/js/components/modals/base-id-modal.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  464. package/js/components/modals/base-modal.vue.js +15 -13
  465. package/js/components/modals/base-modal.vue.js.map +1 -1
  466. package/js/components/modals/{base-modal.vue_rollup-plugin-vue=script.js → base-modal.vue_rollup-plugin-vue_script.vue.js} +36 -38
  467. package/js/components/modals/base-modal.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  468. package/js/components/no-element.js +3 -4
  469. package/js/components/no-element.js.map +1 -1
  470. package/js/components/panels/base-header-toggle-panel.vue.js +15 -13
  471. package/js/components/panels/base-header-toggle-panel.vue.js.map +1 -1
  472. package/js/components/panels/base-header-toggle-panel.vue_rollup-plugin-vue_script.vue.js +55 -0
  473. package/js/components/panels/base-header-toggle-panel.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  474. package/js/components/panels/base-id-toggle-panel-button.vue.js +9 -9
  475. package/js/components/panels/base-id-toggle-panel-button.vue.js.map +1 -1
  476. package/js/components/panels/base-id-toggle-panel-button.vue_rollup-plugin-vue_script.vue.js +61 -0
  477. package/js/components/panels/base-id-toggle-panel-button.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  478. package/js/components/panels/base-id-toggle-panel.vue.js +9 -9
  479. package/js/components/panels/base-id-toggle-panel.vue.js.map +1 -1
  480. package/js/components/panels/base-id-toggle-panel.vue_rollup-plugin-vue_script.vue.js +78 -0
  481. package/js/components/panels/base-id-toggle-panel.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  482. package/js/components/panels/base-toggle-panel.vue.js +11 -10
  483. package/js/components/panels/base-toggle-panel.vue.js.map +1 -1
  484. package/js/components/panels/base-toggle-panel.vue_rollup-plugin-vue_script.vue.js +25 -0
  485. package/js/components/panels/base-toggle-panel.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  486. package/js/components/result/base-result-add-to-cart.vue.js +9 -9
  487. package/js/components/result/base-result-add-to-cart.vue.js.map +1 -1
  488. package/js/components/result/base-result-add-to-cart.vue_rollup-plugin-vue_script.vue.js +35 -0
  489. package/js/components/result/base-result-add-to-cart.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  490. package/js/components/result/base-result-current-price.vue.js +13 -11
  491. package/js/components/result/base-result-current-price.vue.js.map +1 -1
  492. package/js/components/result/base-result-current-price.vue_rollup-plugin-vue_script.vue.js +40 -0
  493. package/js/components/result/base-result-current-price.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  494. package/js/components/result/base-result-fallback-image.vue.js +11 -10
  495. package/js/components/result/base-result-fallback-image.vue.js.map +1 -1
  496. package/js/components/result/{base-result-fallback-image.vue_rollup-plugin-vue=script.js → base-result-fallback-image.vue_rollup-plugin-vue_script.vue.js} +2 -2
  497. package/js/components/result/base-result-fallback-image.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  498. package/js/components/result/base-result-image.vue.js +17 -14
  499. package/js/components/result/base-result-image.vue.js.map +1 -1
  500. package/js/components/result/base-result-image.vue_rollup-plugin-vue_script.vue.js +132 -0
  501. package/js/components/result/base-result-image.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  502. package/js/components/result/base-result-link.vue.js +11 -11
  503. package/js/components/result/base-result-link.vue.js.map +1 -1
  504. package/js/components/result/base-result-link.vue_rollup-plugin-vue_script.vue.js +41 -0
  505. package/js/components/result/base-result-link.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  506. package/js/components/result/base-result-placeholder-image.vue.js +11 -10
  507. package/js/components/result/base-result-placeholder-image.vue.js.map +1 -1
  508. package/js/components/result/{base-result-placeholder-image.vue_rollup-plugin-vue=script.js → base-result-placeholder-image.vue_rollup-plugin-vue_script.vue.js} +2 -2
  509. package/js/components/result/base-result-placeholder-image.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  510. package/js/components/result/base-result-previous-price.vue.js +13 -11
  511. package/js/components/result/base-result-previous-price.vue.js.map +1 -1
  512. package/js/components/result/base-result-previous-price.vue_rollup-plugin-vue_script.vue.js +27 -0
  513. package/js/components/result/base-result-previous-price.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  514. package/js/components/result/base-result-rating.vue.js +17 -14
  515. package/js/components/result/base-result-rating.vue.js.map +1 -1
  516. package/js/components/result/base-result-rating.vue_rollup-plugin-vue_script.vue.js +38 -0
  517. package/js/components/result/base-result-rating.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  518. package/js/components/scroll/base-scroll.vue.js +11 -11
  519. package/js/components/scroll/base-scroll.vue.js.map +1 -1
  520. package/js/components/scroll/base-scroll.vue_rollup-plugin-vue_script.vue.js +20 -0
  521. package/js/components/scroll/base-scroll.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  522. package/js/components/scroll/scroll.mixin.js +146 -177
  523. package/js/components/scroll/scroll.mixin.js.map +1 -1
  524. package/js/components/sliding-panel.vue.js +17 -14
  525. package/js/components/sliding-panel.vue.js.map +1 -1
  526. package/js/components/{sliding-panel.vue_rollup-plugin-vue=script.js → sliding-panel.vue_rollup-plugin-vue_script.vue.js} +64 -71
  527. package/js/components/sliding-panel.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  528. package/js/components/snippet-callbacks.vue.js +9 -9
  529. package/js/components/snippet-callbacks.vue.js.map +1 -1
  530. package/js/components/snippet-callbacks.vue_rollup-plugin-vue_script.vue.js +51 -0
  531. package/js/components/snippet-callbacks.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  532. package/js/components/suggestions/base-suggestion.vue.js +13 -11
  533. package/js/components/suggestions/base-suggestion.vue.js.map +1 -1
  534. package/js/components/suggestions/base-suggestion.vue_rollup-plugin-vue_script.vue.js +127 -0
  535. package/js/components/suggestions/base-suggestion.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  536. package/js/components/suggestions/base-suggestions.vue.js +13 -12
  537. package/js/components/suggestions/base-suggestions.vue.js.map +1 -1
  538. package/js/components/suggestions/base-suggestions.vue_rollup-plugin-vue_script.vue.js +72 -0
  539. package/js/components/suggestions/base-suggestions.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  540. package/js/components/x-component.utils.js +1 -2
  541. package/js/components/x-component.utils.js.map +1 -1
  542. package/js/directives/infinite-scroll/infinite-scroll.js +15 -20
  543. package/js/directives/infinite-scroll/infinite-scroll.js.map +1 -1
  544. package/js/filters/compile-message.filter.js +1 -4
  545. package/js/filters/compile-message.filter.js.map +1 -1
  546. package/js/filters/filters.registry.js +1 -1
  547. package/js/filters/filters.registry.js.map +1 -1
  548. package/js/index.js +119 -119
  549. package/js/plugins/x-bus.js +16 -19
  550. package/js/plugins/x-bus.js.map +1 -1
  551. package/js/plugins/x-emitters.js +32 -29
  552. package/js/plugins/x-emitters.js.map +1 -1
  553. package/js/plugins/x-plugin.alias.js +27 -46
  554. package/js/plugins/x-plugin.alias.js.map +1 -1
  555. package/js/plugins/x-plugin.js +110 -148
  556. package/js/plugins/x-plugin.js.map +1 -1
  557. package/js/plugins/x-plugin.mixin.js +13 -12
  558. package/js/plugins/x-plugin.mixin.js.map +1 -1
  559. package/js/plugins/x-plugin.utils.js +1 -1
  560. package/js/plugins/x-plugin.utils.js.map +1 -1
  561. package/js/services/directional-focus-navigation.service.js +72 -78
  562. package/js/services/directional-focus-navigation.service.js.map +1 -1
  563. package/js/store/utils/fetch-and-save-action.utils.js +12 -13
  564. package/js/store/utils/fetch-and-save-action.utils.js.map +1 -1
  565. package/js/store/utils/getters-proxy.utils.js +10 -14
  566. package/js/store/utils/getters-proxy.utils.js.map +1 -1
  567. package/js/store/x.module.js +3 -3
  568. package/js/store/x.module.js.map +1 -1
  569. package/js/utils/array.js +8 -9
  570. package/js/utils/array.js.map +1 -1
  571. package/js/utils/cancellable-promise.js +6 -6
  572. package/js/utils/cancellable-promise.js.map +1 -1
  573. package/js/utils/currency-formatter.js +18 -21
  574. package/js/utils/currency-formatter.js.map +1 -1
  575. package/js/utils/debounce.js +9 -14
  576. package/js/utils/debounce.js.map +1 -1
  577. package/js/utils/filters.js +2 -2
  578. package/js/utils/filters.js.map +1 -1
  579. package/js/utils/get-url-parameters.js +3 -3
  580. package/js/utils/get-url-parameters.js.map +1 -1
  581. package/js/utils/normalize.js +4 -5
  582. package/js/utils/normalize.js.map +1 -1
  583. package/js/utils/number.js +1 -2
  584. package/js/utils/number.js.map +1 -1
  585. package/js/utils/object.js +8 -8
  586. package/js/utils/object.js.map +1 -1
  587. package/js/utils/origin.js +2 -3
  588. package/js/utils/origin.js.map +1 -1
  589. package/js/utils/sanitize.js +3 -3
  590. package/js/utils/sanitize.js.map +1 -1
  591. package/js/utils/storage.js +2 -2
  592. package/js/utils/storage.js.map +1 -1
  593. package/js/utils/throttle.js +6 -10
  594. package/js/utils/throttle.js.map +1 -1
  595. package/js/wiring/namespaced-wires.factory.js +9 -13
  596. package/js/wiring/namespaced-wires.factory.js.map +1 -1
  597. package/js/wiring/namespaced-wires.operators.js +2 -7
  598. package/js/wiring/namespaced-wires.operators.js.map +1 -1
  599. package/js/wiring/wires-operators.utils.js +5 -6
  600. package/js/wiring/wires-operators.utils.js.map +1 -1
  601. package/js/wiring/wires.factory.js +22 -29
  602. package/js/wiring/wires.factory.js.map +1 -1
  603. package/js/wiring/wires.operators.js +17 -40
  604. package/js/wiring/wires.operators.js.map +1 -1
  605. package/js/x-installer/api/base-api.js +17 -20
  606. package/js/x-installer/api/base-api.js.map +1 -1
  607. package/js/x-installer/x-installer/x-installer.js +74 -87
  608. package/js/x-installer/x-installer/x-installer.js.map +1 -1
  609. package/js/x-modules/device/components/device-detector.vue.js +9 -9
  610. package/js/x-modules/device/components/device-detector.vue.js.map +1 -1
  611. package/js/x-modules/device/components/device-detector.vue_rollup-plugin-vue_script.vue.js +122 -0
  612. package/js/x-modules/device/components/device-detector.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  613. package/js/x-modules/device/store/emitters.js +1 -4
  614. package/js/x-modules/device/store/emitters.js.map +1 -1
  615. package/js/x-modules/device/store/module.js +4 -4
  616. package/js/x-modules/device/store/module.js.map +1 -1
  617. package/js/x-modules/device/wiring.js +5 -5
  618. package/js/x-modules/device/wiring.js.map +1 -1
  619. package/js/x-modules/device/x-module.js +2 -2
  620. package/js/x-modules/device/x-module.js.map +1 -1
  621. package/js/x-modules/empathize/components/empathize.vue.js +11 -10
  622. package/js/x-modules/empathize/components/empathize.vue.js.map +1 -1
  623. package/js/x-modules/empathize/components/{empathize.vue_rollup-plugin-vue=script.js → empathize.vue_rollup-plugin-vue_script.vue.js} +49 -51
  624. package/js/x-modules/empathize/components/empathize.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  625. package/js/x-modules/empathize/store/emitters.js +1 -4
  626. package/js/x-modules/empathize/store/emitters.js.map +1 -1
  627. package/js/x-modules/empathize/store/module.js +4 -4
  628. package/js/x-modules/empathize/store/module.js.map +1 -1
  629. package/js/x-modules/empathize/wiring.js +6 -6
  630. package/js/x-modules/empathize/wiring.js.map +1 -1
  631. package/js/x-modules/empathize/x-module.js +2 -2
  632. package/js/x-modules/empathize/x-module.js.map +1 -1
  633. package/js/x-modules/extra-params/components/extra-params.vue.js +9 -9
  634. package/js/x-modules/extra-params/components/extra-params.vue.js.map +1 -1
  635. package/js/x-modules/extra-params/components/{extra-params.vue_rollup-plugin-vue=script.js → extra-params.vue_rollup-plugin-vue_script.vue.js} +44 -50
  636. package/js/x-modules/extra-params/components/extra-params.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  637. package/js/x-modules/extra-params/components/renderless-extra-param.vue.js +11 -10
  638. package/js/x-modules/extra-params/components/renderless-extra-param.vue.js.map +1 -1
  639. package/js/x-modules/extra-params/components/{renderless-extra-param.vue_rollup-plugin-vue=script.js → renderless-extra-param.vue_rollup-plugin-vue_script.vue.js} +55 -65
  640. package/js/x-modules/extra-params/components/renderless-extra-param.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  641. package/js/x-modules/extra-params/components/snippet-config-extra-params.vue.js +9 -9
  642. package/js/x-modules/extra-params/components/snippet-config-extra-params.vue.js.map +1 -1
  643. package/js/x-modules/extra-params/components/{snippet-config-extra-params.vue_rollup-plugin-vue=script.js → snippet-config-extra-params.vue_rollup-plugin-vue_script.vue.js} +55 -75
  644. package/js/x-modules/extra-params/components/snippet-config-extra-params.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  645. package/js/x-modules/extra-params/store/emitters.js +2 -5
  646. package/js/x-modules/extra-params/store/emitters.js.map +1 -1
  647. package/js/x-modules/extra-params/store/module.js +5 -7
  648. package/js/x-modules/extra-params/store/module.js.map +1 -1
  649. package/js/x-modules/extra-params/wiring.js +9 -10
  650. package/js/x-modules/extra-params/wiring.js.map +1 -1
  651. package/js/x-modules/extra-params/x-module.js +2 -2
  652. package/js/x-modules/extra-params/x-module.js.map +1 -1
  653. package/js/x-modules/facets/components/clear-filters.vue.js +13 -11
  654. package/js/x-modules/facets/components/clear-filters.vue.js.map +1 -1
  655. package/js/x-modules/facets/components/clear-filters.vue_rollup-plugin-vue_script.vue.js +213 -0
  656. package/js/x-modules/facets/components/clear-filters.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  657. package/js/x-modules/facets/components/facets/facets-provider.vue.js +11 -11
  658. package/js/x-modules/facets/components/facets/facets-provider.vue.js.map +1 -1
  659. package/js/x-modules/facets/components/facets/{facets-provider.vue_rollup-plugin-vue=script.js → facets-provider.vue_rollup-plugin-vue_script.vue.js} +67 -76
  660. package/js/x-modules/facets/components/facets/facets-provider.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  661. package/js/x-modules/facets/components/facets/facets.vue.js +15 -13
  662. package/js/x-modules/facets/components/facets/facets.vue.js.map +1 -1
  663. package/js/x-modules/facets/components/facets/facets.vue_rollup-plugin-vue_script.vue.js +108 -0
  664. package/js/x-modules/facets/components/facets/facets.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  665. package/js/x-modules/facets/components/filters/all-filter.vue.js +11 -10
  666. package/js/x-modules/facets/components/filters/all-filter.vue.js.map +1 -1
  667. package/js/x-modules/facets/components/filters/{all-filter.vue_rollup-plugin-vue=script.js → all-filter.vue_rollup-plugin-vue_script.vue.js} +75 -93
  668. package/js/x-modules/facets/components/filters/all-filter.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  669. package/js/x-modules/facets/components/filters/editable-number-range-filter.vue.js +19 -15
  670. package/js/x-modules/facets/components/filters/editable-number-range-filter.vue.js.map +1 -1
  671. package/js/x-modules/facets/components/filters/editable-number-range-filter.vue_rollup-plugin-vue_script.vue.js +191 -0
  672. package/js/x-modules/facets/components/filters/editable-number-range-filter.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  673. package/js/x-modules/facets/components/filters/hierarchical-filter.vue.js +27 -18
  674. package/js/x-modules/facets/components/filters/hierarchical-filter.vue.js.map +1 -1
  675. package/js/x-modules/facets/components/filters/hierarchical-filter.vue_rollup-plugin-vue_script.vue.js +205 -0
  676. package/js/x-modules/facets/components/filters/hierarchical-filter.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  677. package/js/x-modules/facets/components/filters/number-range-filter.vue.js +17 -13
  678. package/js/x-modules/facets/components/filters/number-range-filter.vue.js.map +1 -1
  679. package/js/x-modules/facets/components/filters/{number-range-filter.vue_rollup-plugin-vue=script.js → number-range-filter.vue_rollup-plugin-vue_script.vue.js} +60 -74
  680. package/js/x-modules/facets/components/filters/number-range-filter.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  681. package/js/x-modules/facets/components/filters/renderless-filter.vue.js +9 -9
  682. package/js/x-modules/facets/components/filters/renderless-filter.vue.js.map +1 -1
  683. package/js/x-modules/facets/components/filters/{renderless-filter.vue_rollup-plugin-vue=script.js → renderless-filter.vue_rollup-plugin-vue_script.vue.js} +82 -100
  684. package/js/x-modules/facets/components/filters/renderless-filter.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  685. package/js/x-modules/facets/components/filters/simple-filter.vue.js +17 -13
  686. package/js/x-modules/facets/components/filters/simple-filter.vue.js.map +1 -1
  687. package/js/x-modules/facets/components/filters/{simple-filter.vue_rollup-plugin-vue=script.js → simple-filter.vue_rollup-plugin-vue_script.vue.js} +60 -74
  688. package/js/x-modules/facets/components/filters/simple-filter.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  689. package/js/x-modules/facets/components/lists/exclude-filters-with-no-results.vue.js +9 -9
  690. package/js/x-modules/facets/components/lists/exclude-filters-with-no-results.vue.js.map +1 -1
  691. package/js/x-modules/facets/components/lists/{exclude-filters-with-no-results.vue_rollup-plugin-vue=script.js → exclude-filters-with-no-results.vue_rollup-plugin-vue_script.vue.js} +49 -60
  692. package/js/x-modules/facets/components/lists/exclude-filters-with-no-results.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  693. package/js/x-modules/facets/components/lists/filters-injection.mixin.js +44 -57
  694. package/js/x-modules/facets/components/lists/filters-injection.mixin.js.map +1 -1
  695. package/js/x-modules/facets/components/lists/filters-list.vue.js +11 -11
  696. package/js/x-modules/facets/components/lists/filters-list.vue.js.map +1 -1
  697. package/js/x-modules/facets/components/lists/{filters-list.vue_rollup-plugin-vue=script.js → filters-list.vue_rollup-plugin-vue_script.vue.js} +65 -86
  698. package/js/x-modules/facets/components/lists/filters-list.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  699. package/js/x-modules/facets/components/lists/filters-search.vue.js +15 -13
  700. package/js/x-modules/facets/components/lists/filters-search.vue.js.map +1 -1
  701. package/js/x-modules/facets/components/lists/{filters-search.vue_rollup-plugin-vue=script.js → filters-search.vue_rollup-plugin-vue_script.vue.js} +78 -91
  702. package/js/x-modules/facets/components/lists/filters-search.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  703. package/js/x-modules/facets/components/lists/selected-filters-list.vue.js +20 -14
  704. package/js/x-modules/facets/components/lists/selected-filters-list.vue.js.map +1 -1
  705. package/js/x-modules/facets/components/lists/{selected-filters-list.vue_rollup-plugin-vue=script.js → selected-filters-list.vue_rollup-plugin-vue_script.vue.js} +28 -32
  706. package/js/x-modules/facets/components/lists/selected-filters-list.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  707. package/js/x-modules/facets/components/lists/selected-filters.vue.js +11 -10
  708. package/js/x-modules/facets/components/lists/selected-filters.vue.js.map +1 -1
  709. package/js/x-modules/facets/components/lists/{selected-filters.vue_rollup-plugin-vue=script.js → selected-filters.vue_rollup-plugin-vue_script.vue.js} +75 -89
  710. package/js/x-modules/facets/components/lists/selected-filters.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  711. package/js/x-modules/facets/components/lists/sliced-filters.vue.js +21 -15
  712. package/js/x-modules/facets/components/lists/sliced-filters.vue.js.map +1 -1
  713. package/js/x-modules/facets/components/lists/{sliced-filters.vue_rollup-plugin-vue=script.js → sliced-filters.vue_rollup-plugin-vue_script.vue.js} +83 -103
  714. package/js/x-modules/facets/components/lists/sliced-filters.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  715. package/js/x-modules/facets/components/lists/sorted-filters.vue.js +9 -9
  716. package/js/x-modules/facets/components/lists/sorted-filters.vue.js.map +1 -1
  717. package/js/x-modules/facets/components/lists/{sorted-filters.vue_rollup-plugin-vue=script.js → sorted-filters.vue_rollup-plugin-vue_script.vue.js} +56 -83
  718. package/js/x-modules/facets/components/lists/sorted-filters.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  719. package/js/x-modules/facets/entities/editable-number-range-filter.entity.js +31 -26
  720. package/js/x-modules/facets/entities/editable-number-range-filter.entity.js.map +1 -1
  721. package/js/x-modules/facets/entities/filter-entity.factory.js +28 -31
  722. package/js/x-modules/facets/entities/filter-entity.factory.js.map +1 -1
  723. package/js/x-modules/facets/entities/hierarchical-filter.entity.js +26 -29
  724. package/js/x-modules/facets/entities/hierarchical-filter.entity.js.map +1 -1
  725. package/js/x-modules/facets/entities/number-range-filter.entity.js +10 -12
  726. package/js/x-modules/facets/entities/number-range-filter.entity.js.map +1 -1
  727. package/js/x-modules/facets/entities/raw-filter.entity.js +8 -9
  728. package/js/x-modules/facets/entities/raw-filter.entity.js.map +1 -1
  729. package/js/x-modules/facets/entities/simple-filter.entity.js +10 -12
  730. package/js/x-modules/facets/entities/simple-filter.entity.js.map +1 -1
  731. package/js/x-modules/facets/entities/single-select.modifier.js +22 -35
  732. package/js/x-modules/facets/entities/single-select.modifier.js.map +1 -1
  733. package/js/x-modules/facets/entities/types.js +7 -8
  734. package/js/x-modules/facets/entities/types.js.map +1 -1
  735. package/js/x-modules/facets/service/facets.service.js +71 -104
  736. package/js/x-modules/facets/service/facets.service.js.map +1 -1
  737. package/js/x-modules/facets/store/emitters.js +3 -3
  738. package/js/x-modules/facets/store/emitters.js.map +1 -1
  739. package/js/x-modules/facets/store/getters/facets.getter.js +7 -10
  740. package/js/x-modules/facets/store/getters/facets.getter.js.map +1 -1
  741. package/js/x-modules/facets/store/getters/selected-filters-by-facet.getter.js +4 -6
  742. package/js/x-modules/facets/store/getters/selected-filters-by-facet.getter.js.map +1 -1
  743. package/js/x-modules/facets/store/getters/selected-filters.getter.js +1 -3
  744. package/js/x-modules/facets/store/getters/selected-filters.getter.js.map +1 -1
  745. package/js/x-modules/facets/store/module.js +15 -21
  746. package/js/x-modules/facets/store/module.js.map +1 -1
  747. package/js/x-modules/facets/utils.js +5 -9
  748. package/js/x-modules/facets/utils.js.map +1 -1
  749. package/js/x-modules/facets/wiring.js +23 -26
  750. package/js/x-modules/facets/wiring.js.map +1 -1
  751. package/js/x-modules/facets/x-module.js +2 -2
  752. package/js/x-modules/facets/x-module.js.map +1 -1
  753. package/js/x-modules/history-queries/components/clear-history-queries.vue.js +11 -10
  754. package/js/x-modules/history-queries/components/clear-history-queries.vue.js.map +1 -1
  755. package/js/x-modules/history-queries/components/clear-history-queries.vue_rollup-plugin-vue_script.vue.js +62 -0
  756. package/js/x-modules/history-queries/components/clear-history-queries.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  757. package/js/x-modules/history-queries/components/history-queries.vue.js +21 -15
  758. package/js/x-modules/history-queries/components/history-queries.vue.js.map +1 -1
  759. package/js/x-modules/history-queries/components/history-queries.vue_rollup-plugin-vue_script.vue.js +41 -0
  760. package/js/x-modules/history-queries/components/history-queries.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  761. package/js/x-modules/history-queries/components/history-query.vue.js +17 -13
  762. package/js/x-modules/history-queries/components/history-query.vue.js.map +1 -1
  763. package/js/x-modules/history-queries/components/history-query.vue_rollup-plugin-vue_script.vue.js +45 -0
  764. package/js/x-modules/history-queries/components/history-query.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  765. package/js/x-modules/history-queries/components/remove-history-query.vue.js +9 -9
  766. package/js/x-modules/history-queries/components/remove-history-query.vue.js.map +1 -1
  767. package/js/x-modules/history-queries/components/remove-history-query.vue_rollup-plugin-vue_script.vue.js +41 -0
  768. package/js/x-modules/history-queries/components/remove-history-query.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  769. package/js/x-modules/history-queries/store/actions/add-query-to-history.action.js +30 -38
  770. package/js/x-modules/history-queries/store/actions/add-query-to-history.action.js.map +1 -1
  771. package/js/x-modules/history-queries/store/actions/load-history-queries-from-browser-storage.action.js +2 -4
  772. package/js/x-modules/history-queries/store/actions/load-history-queries-from-browser-storage.action.js.map +1 -1
  773. package/js/x-modules/history-queries/store/actions/refresh-session.action.js +2 -4
  774. package/js/x-modules/history-queries/store/actions/refresh-session.action.js.map +1 -1
  775. package/js/x-modules/history-queries/store/actions/remove-query-from-history.action.js +2 -3
  776. package/js/x-modules/history-queries/store/actions/remove-query-from-history.action.js.map +1 -1
  777. package/js/x-modules/history-queries/store/actions/set-history-queries.action.js +1 -2
  778. package/js/x-modules/history-queries/store/actions/set-history-queries.action.js.map +1 -1
  779. package/js/x-modules/history-queries/store/actions/set-url-params.action.js +1 -3
  780. package/js/x-modules/history-queries/store/actions/set-url-params.action.js.map +1 -1
  781. package/js/x-modules/history-queries/store/constants.js +2 -2
  782. package/js/x-modules/history-queries/store/constants.js.map +1 -1
  783. package/js/x-modules/history-queries/store/emitters.js +4 -7
  784. package/js/x-modules/history-queries/store/emitters.js.map +1 -1
  785. package/js/x-modules/history-queries/store/getters/history-queries.getter.js +11 -15
  786. package/js/x-modules/history-queries/store/getters/history-queries.getter.js.map +1 -1
  787. package/js/x-modules/history-queries/store/getters/normalized-query.getter.js +1 -4
  788. package/js/x-modules/history-queries/store/getters/normalized-query.getter.js.map +1 -1
  789. package/js/x-modules/history-queries/store/getters/session-history-queries.getter.js +2 -3
  790. package/js/x-modules/history-queries/store/getters/session-history-queries.getter.js.map +1 -1
  791. package/js/x-modules/history-queries/store/getters/storage-key.getter.js +1 -1
  792. package/js/x-modules/history-queries/store/getters/storage-key.getter.js.map +1 -1
  793. package/js/x-modules/history-queries/store/module.js +16 -16
  794. package/js/x-modules/history-queries/store/module.js.map +1 -1
  795. package/js/x-modules/history-queries/wiring.js +24 -27
  796. package/js/x-modules/history-queries/wiring.js.map +1 -1
  797. package/js/x-modules/history-queries/x-module.js +2 -2
  798. package/js/x-modules/history-queries/x-module.js.map +1 -1
  799. package/js/x-modules/identifier-results/components/identifier-result.vue.js +9 -9
  800. package/js/x-modules/identifier-results/components/identifier-result.vue.js.map +1 -1
  801. package/js/x-modules/identifier-results/components/identifier-result.vue_rollup-plugin-vue_script.vue.js +46 -0
  802. package/js/x-modules/identifier-results/components/identifier-result.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  803. package/js/x-modules/identifier-results/components/identifier-results.vue.js +9 -9
  804. package/js/x-modules/identifier-results/components/identifier-results.vue.js.map +1 -1
  805. package/js/x-modules/identifier-results/components/identifier-results.vue_rollup-plugin-vue_script.vue.js +45 -0
  806. package/js/x-modules/identifier-results/components/identifier-results.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  807. package/js/x-modules/identifier-results/store/actions/fetch-and-save-identifier-results.action.js +6 -8
  808. package/js/x-modules/identifier-results/store/actions/fetch-and-save-identifier-results.action.js.map +1 -1
  809. package/js/x-modules/identifier-results/store/actions/fetch-identifier-results.action.js +2 -5
  810. package/js/x-modules/identifier-results/store/actions/fetch-identifier-results.action.js.map +1 -1
  811. package/js/x-modules/identifier-results/store/actions/save-origin.action.js +1 -2
  812. package/js/x-modules/identifier-results/store/actions/save-origin.action.js.map +1 -1
  813. package/js/x-modules/identifier-results/store/actions/save-query.action.js +1 -2
  814. package/js/x-modules/identifier-results/store/actions/save-query.action.js.map +1 -1
  815. package/js/x-modules/identifier-results/store/emitters.js +4 -7
  816. package/js/x-modules/identifier-results/store/emitters.js.map +1 -1
  817. package/js/x-modules/identifier-results/store/getters/identifier-detection-regexp.getter.js +1 -2
  818. package/js/x-modules/identifier-results/store/getters/identifier-detection-regexp.getter.js.map +1 -1
  819. package/js/x-modules/identifier-results/store/getters/identifier-highlight-regexp.getter.js +6 -7
  820. package/js/x-modules/identifier-results/store/getters/identifier-highlight-regexp.getter.js.map +1 -1
  821. package/js/x-modules/identifier-results/store/getters/identifier-results-request.getter.js +8 -5
  822. package/js/x-modules/identifier-results/store/getters/identifier-results-request.getter.js.map +1 -1
  823. package/js/x-modules/identifier-results/store/module.js +16 -17
  824. package/js/x-modules/identifier-results/store/module.js.map +1 -1
  825. package/js/x-modules/identifier-results/wiring.js +23 -32
  826. package/js/x-modules/identifier-results/wiring.js.map +1 -1
  827. package/js/x-modules/identifier-results/x-module.js +2 -2
  828. package/js/x-modules/identifier-results/x-module.js.map +1 -1
  829. package/js/x-modules/next-queries/components/next-queries-list.vue.js +15 -12
  830. package/js/x-modules/next-queries/components/next-queries-list.vue.js.map +1 -1
  831. package/js/x-modules/next-queries/components/next-queries-list.vue_rollup-plugin-vue_script.vue.js +85 -0
  832. package/js/x-modules/next-queries/components/next-queries-list.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  833. package/js/x-modules/next-queries/components/next-queries.vue.js +19 -14
  834. package/js/x-modules/next-queries/components/next-queries.vue.js.map +1 -1
  835. package/js/x-modules/next-queries/components/next-queries.vue_rollup-plugin-vue_script.vue.js +42 -0
  836. package/js/x-modules/next-queries/components/next-queries.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  837. package/js/x-modules/next-queries/components/next-query.vue.js +13 -11
  838. package/js/x-modules/next-queries/components/next-query.vue.js.map +1 -1
  839. package/js/x-modules/next-queries/components/next-query.vue_rollup-plugin-vue_script.vue.js +53 -0
  840. package/js/x-modules/next-queries/components/next-query.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  841. package/js/x-modules/next-queries/store/actions/fetch-and-save-next-queries.action.js +6 -8
  842. package/js/x-modules/next-queries/store/actions/fetch-and-save-next-queries.action.js.map +1 -1
  843. package/js/x-modules/next-queries/store/actions/fetch-next-queries.action.js +2 -5
  844. package/js/x-modules/next-queries/store/actions/fetch-next-queries.action.js.map +1 -1
  845. package/js/x-modules/next-queries/store/actions/set-query-from-last-history-query.action.js +1 -2
  846. package/js/x-modules/next-queries/store/actions/set-query-from-last-history-query.action.js.map +1 -1
  847. package/js/x-modules/next-queries/store/actions/set-url-params.action.js +1 -3
  848. package/js/x-modules/next-queries/store/actions/set-url-params.action.js.map +1 -1
  849. package/js/x-modules/next-queries/store/emitters.js +4 -7
  850. package/js/x-modules/next-queries/store/emitters.js.map +1 -1
  851. package/js/x-modules/next-queries/store/getters/next-queries.getter.js +3 -7
  852. package/js/x-modules/next-queries/store/getters/next-queries.getter.js.map +1 -1
  853. package/js/x-modules/next-queries/store/getters/request.getter.js +8 -5
  854. package/js/x-modules/next-queries/store/getters/request.getter.js.map +1 -1
  855. package/js/x-modules/next-queries/store/module.js +15 -15
  856. package/js/x-modules/next-queries/store/module.js.map +1 -1
  857. package/js/x-modules/next-queries/wiring.js +17 -17
  858. package/js/x-modules/next-queries/wiring.js.map +1 -1
  859. package/js/x-modules/next-queries/x-module.js +2 -2
  860. package/js/x-modules/next-queries/x-module.js.map +1 -1
  861. package/js/x-modules/popular-searches/components/popular-search.vue.js +13 -11
  862. package/js/x-modules/popular-searches/components/popular-search.vue.js.map +1 -1
  863. package/js/x-modules/popular-searches/components/popular-search.vue_rollup-plugin-vue_script.vue.js +40 -0
  864. package/js/x-modules/popular-searches/components/popular-search.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  865. package/js/x-modules/popular-searches/components/popular-searches.vue.js +19 -14
  866. package/js/x-modules/popular-searches/components/popular-searches.vue.js.map +1 -1
  867. package/js/x-modules/popular-searches/components/popular-searches.vue_rollup-plugin-vue_script.vue.js +38 -0
  868. package/js/x-modules/popular-searches/components/popular-searches.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  869. package/js/x-modules/popular-searches/store/actions/fetch-and-save-suggestions.action.js +6 -8
  870. package/js/x-modules/popular-searches/store/actions/fetch-and-save-suggestions.action.js.map +1 -1
  871. package/js/x-modules/popular-searches/store/actions/fetch-suggestions.action.js +2 -5
  872. package/js/x-modules/popular-searches/store/actions/fetch-suggestions.action.js.map +1 -1
  873. package/js/x-modules/popular-searches/store/emitters.js +2 -2
  874. package/js/x-modules/popular-searches/store/emitters.js.map +1 -1
  875. package/js/x-modules/popular-searches/store/getters/popular-searches.getter.js +3 -7
  876. package/js/x-modules/popular-searches/store/getters/popular-searches.getter.js.map +1 -1
  877. package/js/x-modules/popular-searches/store/getters/request.getter.js +6 -5
  878. package/js/x-modules/popular-searches/store/getters/request.getter.js.map +1 -1
  879. package/js/x-modules/popular-searches/store/module.js +12 -12
  880. package/js/x-modules/popular-searches/store/module.js.map +1 -1
  881. package/js/x-modules/popular-searches/wiring.js +11 -11
  882. package/js/x-modules/popular-searches/wiring.js.map +1 -1
  883. package/js/x-modules/popular-searches/x-module.js +2 -2
  884. package/js/x-modules/popular-searches/x-module.js.map +1 -1
  885. package/js/x-modules/query-suggestions/components/query-suggestion.vue.js +13 -11
  886. package/js/x-modules/query-suggestions/components/query-suggestion.vue.js.map +1 -1
  887. package/js/x-modules/query-suggestions/components/query-suggestion.vue_rollup-plugin-vue_script.vue.js +44 -0
  888. package/js/x-modules/query-suggestions/components/query-suggestion.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  889. package/js/x-modules/query-suggestions/components/query-suggestions.vue.js +19 -14
  890. package/js/x-modules/query-suggestions/components/query-suggestions.vue.js.map +1 -1
  891. package/js/x-modules/query-suggestions/components/query-suggestions.vue_rollup-plugin-vue_script.vue.js +37 -0
  892. package/js/x-modules/query-suggestions/components/query-suggestions.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  893. package/js/x-modules/query-suggestions/store/actions/fetch-and-save-suggestions.action.js +6 -8
  894. package/js/x-modules/query-suggestions/store/actions/fetch-and-save-suggestions.action.js.map +1 -1
  895. package/js/x-modules/query-suggestions/store/actions/fetch-suggestions.action.js +2 -6
  896. package/js/x-modules/query-suggestions/store/actions/fetch-suggestions.action.js.map +1 -1
  897. package/js/x-modules/query-suggestions/store/actions/set-url-params.action.js +1 -3
  898. package/js/x-modules/query-suggestions/store/actions/set-url-params.action.js.map +1 -1
  899. package/js/x-modules/query-suggestions/store/emitters.js +3 -6
  900. package/js/x-modules/query-suggestions/store/emitters.js.map +1 -1
  901. package/js/x-modules/query-suggestions/store/getters/normalized-query.getter.js +1 -4
  902. package/js/x-modules/query-suggestions/store/getters/normalized-query.getter.js.map +1 -1
  903. package/js/x-modules/query-suggestions/store/getters/query-suggestions.getter.js +10 -14
  904. package/js/x-modules/query-suggestions/store/getters/query-suggestions.getter.js.map +1 -1
  905. package/js/x-modules/query-suggestions/store/getters/request.getter.js +8 -5
  906. package/js/x-modules/query-suggestions/store/getters/request.getter.js.map +1 -1
  907. package/js/x-modules/query-suggestions/store/module.js +14 -14
  908. package/js/x-modules/query-suggestions/store/module.js.map +1 -1
  909. package/js/x-modules/query-suggestions/wiring.js +20 -23
  910. package/js/x-modules/query-suggestions/wiring.js.map +1 -1
  911. package/js/x-modules/query-suggestions/x-module.js +2 -2
  912. package/js/x-modules/query-suggestions/x-module.js.map +1 -1
  913. package/js/x-modules/recommendations/components/recommendations.vue.js +17 -14
  914. package/js/x-modules/recommendations/components/recommendations.vue.js.map +1 -1
  915. package/js/x-modules/recommendations/components/recommendations.vue_rollup-plugin-vue_script.vue.js +65 -0
  916. package/js/x-modules/recommendations/components/recommendations.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  917. package/js/x-modules/recommendations/store/actions/fetch-and-save-recommendations.action.js +6 -8
  918. package/js/x-modules/recommendations/store/actions/fetch-and-save-recommendations.action.js.map +1 -1
  919. package/js/x-modules/recommendations/store/actions/fetch-recommendations.action.js +2 -6
  920. package/js/x-modules/recommendations/store/actions/fetch-recommendations.action.js.map +1 -1
  921. package/js/x-modules/recommendations/store/constants.js +1 -1
  922. package/js/x-modules/recommendations/store/constants.js.map +1 -1
  923. package/js/x-modules/recommendations/store/emitters.js +2 -5
  924. package/js/x-modules/recommendations/store/emitters.js.map +1 -1
  925. package/js/x-modules/recommendations/store/getters/request.getter.js +7 -5
  926. package/js/x-modules/recommendations/store/getters/request.getter.js.map +1 -1
  927. package/js/x-modules/recommendations/store/module.js +10 -10
  928. package/js/x-modules/recommendations/store/module.js.map +1 -1
  929. package/js/x-modules/recommendations/wiring.js +9 -9
  930. package/js/x-modules/recommendations/wiring.js.map +1 -1
  931. package/js/x-modules/recommendations/x-module.js +2 -2
  932. package/js/x-modules/recommendations/x-module.js.map +1 -1
  933. package/js/x-modules/related-tags/components/related-tag.vue.js +13 -12
  934. package/js/x-modules/related-tags/components/related-tag.vue.js.map +1 -1
  935. package/js/x-modules/related-tags/components/related-tag.vue_rollup-plugin-vue_script.vue.js +92 -0
  936. package/js/x-modules/related-tags/components/related-tag.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  937. package/js/x-modules/related-tags/components/related-tags.vue.js +19 -15
  938. package/js/x-modules/related-tags/components/related-tags.vue.js.map +1 -1
  939. package/js/x-modules/related-tags/components/related-tags.vue_rollup-plugin-vue_script.vue.js +44 -0
  940. package/js/x-modules/related-tags/components/related-tags.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  941. package/js/x-modules/related-tags/store/actions/fetch-and-save-related-tags.action.js +6 -8
  942. package/js/x-modules/related-tags/store/actions/fetch-and-save-related-tags.action.js.map +1 -1
  943. package/js/x-modules/related-tags/store/actions/fetch-related-tags.action.js +2 -5
  944. package/js/x-modules/related-tags/store/actions/fetch-related-tags.action.js.map +1 -1
  945. package/js/x-modules/related-tags/store/actions/set-url-params.action.js +5 -7
  946. package/js/x-modules/related-tags/store/actions/set-url-params.action.js.map +1 -1
  947. package/js/x-modules/related-tags/store/actions/toggle-related-tag.action.js +4 -7
  948. package/js/x-modules/related-tags/store/actions/toggle-related-tag.action.js.map +1 -1
  949. package/js/x-modules/related-tags/store/emitters.js +5 -8
  950. package/js/x-modules/related-tags/store/emitters.js.map +1 -1
  951. package/js/x-modules/related-tags/store/getters/related-tags.getter.js +1 -6
  952. package/js/x-modules/related-tags/store/getters/related-tags.getter.js.map +1 -1
  953. package/js/x-modules/related-tags/store/getters/request.getter.js +9 -5
  954. package/js/x-modules/related-tags/store/getters/request.getter.js.map +1 -1
  955. package/js/x-modules/related-tags/store/module.js +15 -15
  956. package/js/x-modules/related-tags/store/module.js.map +1 -1
  957. package/js/x-modules/related-tags/wiring.js +24 -24
  958. package/js/x-modules/related-tags/wiring.js.map +1 -1
  959. package/js/x-modules/related-tags/x-module.js +2 -2
  960. package/js/x-modules/related-tags/x-module.js.map +1 -1
  961. package/js/x-modules/scroll/components/main-scroll-item.vue.js +9 -9
  962. package/js/x-modules/scroll/components/main-scroll-item.vue.js.map +1 -1
  963. package/js/x-modules/scroll/components/{main-scroll-item.vue_rollup-plugin-vue=script.js → main-scroll-item.vue_rollup-plugin-vue_script.vue.js} +61 -75
  964. package/js/x-modules/scroll/components/main-scroll-item.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  965. package/js/x-modules/scroll/components/main-scroll.vue.js +11 -11
  966. package/js/x-modules/scroll/components/main-scroll.vue.js.map +1 -1
  967. package/js/x-modules/scroll/components/main-scroll.vue_rollup-plugin-vue_script.vue.js +205 -0
  968. package/js/x-modules/scroll/components/main-scroll.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  969. package/js/x-modules/scroll/components/scroll-to-top.vue.js +11 -10
  970. package/js/x-modules/scroll/components/scroll-to-top.vue.js.map +1 -1
  971. package/js/x-modules/scroll/components/scroll-to-top.vue_rollup-plugin-vue_script.vue.js +214 -0
  972. package/js/x-modules/scroll/components/scroll-to-top.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  973. package/js/x-modules/scroll/components/scroll.const.js +2 -2
  974. package/js/x-modules/scroll/components/scroll.const.js.map +1 -1
  975. package/js/x-modules/scroll/components/scroll.vue.js +9 -9
  976. package/js/x-modules/scroll/components/scroll.vue.js.map +1 -1
  977. package/js/x-modules/scroll/components/{scroll.vue_rollup-plugin-vue=script.js → scroll.vue_rollup-plugin-vue_script.vue.js} +35 -40
  978. package/js/x-modules/scroll/components/scroll.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  979. package/js/x-modules/scroll/components/window-scroll.vue.js +9 -9
  980. package/js/x-modules/scroll/components/window-scroll.vue.js.map +1 -1
  981. package/js/x-modules/scroll/components/{window-scroll.vue_rollup-plugin-vue=script.js → window-scroll.vue_rollup-plugin-vue_script.vue.js} +60 -68
  982. package/js/x-modules/scroll/components/window-scroll.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  983. package/js/x-modules/scroll/store/emitters.js +1 -4
  984. package/js/x-modules/scroll/store/emitters.js.map +1 -1
  985. package/js/x-modules/scroll/store/module.js +5 -6
  986. package/js/x-modules/scroll/store/module.js.map +1 -1
  987. package/js/x-modules/scroll/wiring.js +34 -52
  988. package/js/x-modules/scroll/wiring.js.map +1 -1
  989. package/js/x-modules/scroll/x-module.js +2 -2
  990. package/js/x-modules/scroll/x-module.js.map +1 -1
  991. package/js/x-modules/search/components/banner.vue.js +14 -12
  992. package/js/x-modules/search/components/banner.vue.js.map +1 -1
  993. package/js/x-modules/search/components/{banner.vue_rollup-plugin-vue=script.js → banner.vue_rollup-plugin-vue_script.vue.js} +16 -20
  994. package/js/x-modules/search/components/banner.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  995. package/js/x-modules/search/components/banners-list.vue.js +15 -12
  996. package/js/x-modules/search/components/banners-list.vue.js.map +1 -1
  997. package/js/x-modules/search/components/banners-list.vue_rollup-plugin-vue_script.vue.js +57 -0
  998. package/js/x-modules/search/components/banners-list.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  999. package/js/x-modules/search/components/partial-query-button.vue.js +11 -10
  1000. package/js/x-modules/search/components/partial-query-button.vue.js.map +1 -1
  1001. package/js/x-modules/search/components/{partial-query-button.vue_rollup-plugin-vue=script.js → partial-query-button.vue_rollup-plugin-vue_script.vue.js} +18 -22
  1002. package/js/x-modules/search/components/partial-query-button.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  1003. package/js/x-modules/search/components/partial-results-list.vue.js +11 -11
  1004. package/js/x-modules/search/components/partial-results-list.vue.js.map +1 -1
  1005. package/js/x-modules/search/components/partial-results-list.vue_rollup-plugin-vue_script.vue.js +43 -0
  1006. package/js/x-modules/search/components/partial-results-list.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  1007. package/js/x-modules/search/components/promoted.vue.js +14 -12
  1008. package/js/x-modules/search/components/promoted.vue.js.map +1 -1
  1009. package/js/x-modules/search/components/promoted.vue_rollup-plugin-vue_script.vue.js +35 -0
  1010. package/js/x-modules/search/components/promoted.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  1011. package/js/x-modules/search/components/promoteds-list.vue.js +15 -12
  1012. package/js/x-modules/search/components/promoteds-list.vue.js.map +1 -1
  1013. package/js/x-modules/search/components/promoteds-list.vue_rollup-plugin-vue_script.vue.js +57 -0
  1014. package/js/x-modules/search/components/promoteds-list.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  1015. package/js/x-modules/search/components/redirection.vue.js +11 -10
  1016. package/js/x-modules/search/components/redirection.vue.js.map +1 -1
  1017. package/js/x-modules/search/components/redirection.vue_rollup-plugin-vue_script.vue.js +101 -0
  1018. package/js/x-modules/search/components/redirection.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  1019. package/js/x-modules/search/components/results-list.vue.js +15 -12
  1020. package/js/x-modules/search/components/results-list.vue.js.map +1 -1
  1021. package/js/x-modules/search/components/{results-list.vue_rollup-plugin-vue=script.js → results-list.vue_rollup-plugin-vue_script.vue.js} +27 -31
  1022. package/js/x-modules/search/components/results-list.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  1023. package/js/x-modules/search/components/sort-dropdown.vue.js +15 -12
  1024. package/js/x-modules/search/components/sort-dropdown.vue.js.map +1 -1
  1025. package/js/x-modules/search/components/sort-dropdown.vue_rollup-plugin-vue_script.vue.js +44 -0
  1026. package/js/x-modules/search/components/sort-dropdown.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  1027. package/js/x-modules/search/components/sort-list.vue.js +15 -13
  1028. package/js/x-modules/search/components/sort-list.vue.js.map +1 -1
  1029. package/js/x-modules/search/components/{sort-list.vue_rollup-plugin-vue=script.js → sort-list.vue_rollup-plugin-vue_script.vue.js} +57 -69
  1030. package/js/x-modules/search/components/sort-list.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  1031. package/js/x-modules/search/components/sort.mixin.js +50 -61
  1032. package/js/x-modules/search/components/sort.mixin.js.map +1 -1
  1033. package/js/x-modules/search/components/spellcheck-button.vue.js +11 -10
  1034. package/js/x-modules/search/components/spellcheck-button.vue.js.map +1 -1
  1035. package/js/x-modules/search/components/{spellcheck-button.vue_rollup-plugin-vue=script.js → spellcheck-button.vue_rollup-plugin-vue_script.vue.js} +18 -22
  1036. package/js/x-modules/search/components/spellcheck-button.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  1037. package/js/x-modules/search/components/spellcheck.vue.js +13 -11
  1038. package/js/x-modules/search/components/spellcheck.vue.js.map +1 -1
  1039. package/js/x-modules/search/components/{spellcheck.vue_rollup-plugin-vue=script.js → spellcheck.vue_rollup-plugin-vue_script.vue.js} +40 -45
  1040. package/js/x-modules/search/components/spellcheck.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  1041. package/js/x-modules/search/store/actions/fetch-and-save-search-response.action.js +18 -16
  1042. package/js/x-modules/search/store/actions/fetch-and-save-search-response.action.js.map +1 -1
  1043. package/js/x-modules/search/store/actions/fetch-search-response.action.js +1 -1
  1044. package/js/x-modules/search/store/actions/fetch-search-response.action.js.map +1 -1
  1045. package/js/x-modules/search/store/actions/increase-page-apending-results.action.js +2 -3
  1046. package/js/x-modules/search/store/actions/increase-page-apending-results.action.js.map +1 -1
  1047. package/js/x-modules/search/store/actions/reset-state.action.js +3 -5
  1048. package/js/x-modules/search/store/actions/reset-state.action.js.map +1 -1
  1049. package/js/x-modules/search/store/actions/save-origin.action.js +1 -2
  1050. package/js/x-modules/search/store/actions/save-origin.action.js.map +1 -1
  1051. package/js/x-modules/search/store/actions/set-url-params.action.js +1 -3
  1052. package/js/x-modules/search/store/actions/set-url-params.action.js.map +1 -1
  1053. package/js/x-modules/search/store/emitters.js +13 -19
  1054. package/js/x-modules/search/store/emitters.js.map +1 -1
  1055. package/js/x-modules/search/store/getters/request.getter.js +10 -5
  1056. package/js/x-modules/search/store/getters/request.getter.js.map +1 -1
  1057. package/js/x-modules/search/store/module.js +35 -39
  1058. package/js/x-modules/search/store/module.js.map +1 -1
  1059. package/js/x-modules/search/wiring.js +41 -47
  1060. package/js/x-modules/search/wiring.js.map +1 -1
  1061. package/js/x-modules/search/x-module.js +2 -2
  1062. package/js/x-modules/search/x-module.js.map +1 -1
  1063. package/js/x-modules/search-box/components/clear-search-input.vue.js +11 -10
  1064. package/js/x-modules/search-box/components/clear-search-input.vue.js.map +1 -1
  1065. package/js/x-modules/search-box/components/clear-search-input.vue_rollup-plugin-vue_script.vue.js +53 -0
  1066. package/js/x-modules/search-box/components/clear-search-input.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  1067. package/js/x-modules/search-box/components/search-button.vue.js +11 -10
  1068. package/js/x-modules/search-box/components/search-button.vue.js.map +1 -1
  1069. package/js/x-modules/search-box/components/search-button.vue_rollup-plugin-vue_script.vue.js +62 -0
  1070. package/js/x-modules/search-box/components/search-button.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  1071. package/js/x-modules/search-box/components/search-input.vue.js +15 -13
  1072. package/js/x-modules/search-box/components/search-input.vue.js.map +1 -1
  1073. package/js/x-modules/search-box/components/{search-input.vue_rollup-plugin-vue=script.js → search-input.vue_rollup-plugin-vue_script.vue.js} +68 -75
  1074. package/js/x-modules/search-box/components/search-input.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  1075. package/js/x-modules/search-box/store/actions/set-url-params.action.js +1 -3
  1076. package/js/x-modules/search-box/store/actions/set-url-params.action.js.map +1 -1
  1077. package/js/x-modules/search-box/store/emitters.js +4 -7
  1078. package/js/x-modules/search-box/store/emitters.js.map +1 -1
  1079. package/js/x-modules/search-box/store/module.js +6 -6
  1080. package/js/x-modules/search-box/store/module.js.map +1 -1
  1081. package/js/x-modules/search-box/wiring.js +12 -12
  1082. package/js/x-modules/search-box/wiring.js.map +1 -1
  1083. package/js/x-modules/search-box/x-module.js +2 -2
  1084. package/js/x-modules/search-box/x-module.js.map +1 -1
  1085. package/js/x-modules/tagging/components/tagging.vue.js +9 -9
  1086. package/js/x-modules/tagging/components/tagging.vue.js.map +1 -1
  1087. package/js/x-modules/tagging/components/tagging.vue_rollup-plugin-vue_script.vue.js +89 -0
  1088. package/js/x-modules/tagging/components/tagging.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  1089. package/js/x-modules/tagging/service/pdp-add-to-cart.service.js +47 -64
  1090. package/js/x-modules/tagging/service/pdp-add-to-cart.service.js.map +1 -1
  1091. package/js/x-modules/tagging/service/session.service.js +19 -23
  1092. package/js/x-modules/tagging/service/session.service.js.map +1 -1
  1093. package/js/x-modules/tagging/store/actions/track.action.js +11 -11
  1094. package/js/x-modules/tagging/store/actions/track.action.js.map +1 -1
  1095. package/js/x-modules/tagging/store/emitters.js +5 -5
  1096. package/js/x-modules/tagging/store/emitters.js.map +1 -1
  1097. package/js/x-modules/tagging/store/module.js +7 -7
  1098. package/js/x-modules/tagging/store/module.js.map +1 -1
  1099. package/js/x-modules/tagging/wiring.js +35 -45
  1100. package/js/x-modules/tagging/wiring.js.map +1 -1
  1101. package/js/x-modules/tagging/x-module.js +2 -2
  1102. package/js/x-modules/tagging/x-module.js.map +1 -1
  1103. package/js/x-modules/url/components/url-handler.vue.js +9 -9
  1104. package/js/x-modules/url/components/url-handler.vue.js.map +1 -1
  1105. package/js/x-modules/url/components/{url-handler.vue_rollup-plugin-vue=script.js → url-handler.vue_rollup-plugin-vue_script.vue.js} +125 -145
  1106. package/js/x-modules/url/components/url-handler.vue_rollup-plugin-vue_script.vue.js.map +1 -0
  1107. package/js/x-modules/url/store/emitters.js +10 -18
  1108. package/js/x-modules/url/store/emitters.js.map +1 -1
  1109. package/js/x-modules/url/store/getters/url-params.getter.js +5 -9
  1110. package/js/x-modules/url/store/getters/url-params.getter.js.map +1 -1
  1111. package/js/x-modules/url/store/initial-state.js +1 -1
  1112. package/js/x-modules/url/store/initial-state.js.map +1 -1
  1113. package/js/x-modules/url/store/module.js +17 -15
  1114. package/js/x-modules/url/store/module.js.map +1 -1
  1115. package/js/x-modules/url/store/mutations/set-params.mutation.js +2 -2
  1116. package/js/x-modules/url/store/mutations/set-params.mutation.js.map +1 -1
  1117. package/js/x-modules/url/wiring.js +21 -21
  1118. package/js/x-modules/url/wiring.js.map +1 -1
  1119. package/js/x-modules/url/x-module.js +2 -2
  1120. package/js/x-modules/url/x-module.js.map +1 -1
  1121. package/next-queries/index.js +6 -6
  1122. package/package.json +12 -15
  1123. package/popular-searches/index.js +6 -6
  1124. package/query-suggestions/index.js +5 -5
  1125. package/recommendations/index.js +3 -3
  1126. package/related-tags/index.js +4 -4
  1127. package/scroll/index.js +7 -7
  1128. package/search/index.js +10 -10
  1129. package/search-box/index.js +5 -5
  1130. package/tagging/index.js +3 -3
  1131. package/url/index.js +3 -3
  1132. package/design-system/.-variables.css +0 -0
  1133. package/js/components/animations/animate-width.vue_rollup-plugin-vue=script.js +0 -22
  1134. package/js/components/animations/animate-width.vue_rollup-plugin-vue=script.js.map +0 -1
  1135. package/js/components/animations/collapse-from-top.vue_rollup-plugin-vue=script.js +0 -23
  1136. package/js/components/animations/collapse-from-top.vue_rollup-plugin-vue=script.js.map +0 -1
  1137. package/js/components/animations/collapse-height.vue_rollup-plugin-vue=script.js +0 -26
  1138. package/js/components/animations/collapse-height.vue_rollup-plugin-vue=script.js.map +0 -1
  1139. package/js/components/animations/collapse-width.vue_rollup-plugin-vue=script.js +0 -26
  1140. package/js/components/animations/collapse-width.vue_rollup-plugin-vue=script.js.map +0 -1
  1141. package/js/components/animations/cross-fade.vue_rollup-plugin-vue=script.js +0 -23
  1142. package/js/components/animations/cross-fade.vue_rollup-plugin-vue=script.js.map +0 -1
  1143. package/js/components/animations/fade-and-slide.vue_rollup-plugin-vue=script.js +0 -26
  1144. package/js/components/animations/fade-and-slide.vue_rollup-plugin-vue=script.js.map +0 -1
  1145. package/js/components/animations/staggered-fade-and-slide.vue_rollup-plugin-vue=script.js +0 -26
  1146. package/js/components/animations/staggered-fade-and-slide.vue_rollup-plugin-vue=script.js.map +0 -1
  1147. package/js/components/animations/staggering-transition-group.vue_rollup-plugin-vue=script.js +0 -354
  1148. package/js/components/animations/staggering-transition-group.vue_rollup-plugin-vue=script.js.map +0 -1
  1149. package/js/components/animations/translate-from-left.vue_rollup-plugin-vue=script.js +0 -23
  1150. package/js/components/animations/translate-from-left.vue_rollup-plugin-vue=script.js.map +0 -1
  1151. package/js/components/animations/translate-from-right.vue_rollup-plugin-vue=script.js +0 -23
  1152. package/js/components/animations/translate-from-right.vue_rollup-plugin-vue=script.js.map +0 -1
  1153. package/js/components/auto-progress-bar.vue_rollup-plugin-vue=script.js +0 -42
  1154. package/js/components/auto-progress-bar.vue_rollup-plugin-vue=script.js.map +0 -1
  1155. package/js/components/base-dropdown.vue_rollup-plugin-vue=script.js.map +0 -1
  1156. package/js/components/base-event-button.vue_rollup-plugin-vue=script.js +0 -36
  1157. package/js/components/base-event-button.vue_rollup-plugin-vue=script.js.map +0 -1
  1158. package/js/components/base-grid.vue_rollup-plugin-vue=script.js +0 -115
  1159. package/js/components/base-grid.vue_rollup-plugin-vue=script.js.map +0 -1
  1160. package/js/components/base-keyboard-navigation.vue_rollup-plugin-vue=script.js +0 -126
  1161. package/js/components/base-keyboard-navigation.vue_rollup-plugin-vue=script.js.map +0 -1
  1162. package/js/components/base-rating.vue_rollup-plugin-vue=script.js +0 -62
  1163. package/js/components/base-rating.vue_rollup-plugin-vue=script.js.map +0 -1
  1164. package/js/components/base-variable-column-grid.vue_rollup-plugin-vue=script.js +0 -57
  1165. package/js/components/base-variable-column-grid.vue_rollup-plugin-vue=script.js.map +0 -1
  1166. package/js/components/column-picker/base-column-picker-dropdown.vue_rollup-plugin-vue=script.js +0 -46
  1167. package/js/components/column-picker/base-column-picker-dropdown.vue_rollup-plugin-vue=script.js.map +0 -1
  1168. package/js/components/column-picker/base-column-picker-list.vue_rollup-plugin-vue=script.js +0 -57
  1169. package/js/components/column-picker/base-column-picker-list.vue_rollup-plugin-vue=script.js.map +0 -1
  1170. package/js/components/currency/base-currency.vue_rollup-plugin-vue=script.js.map +0 -1
  1171. package/js/components/filters/labels/base-price-filter-label.vue_rollup-plugin-vue=script.js +0 -82
  1172. package/js/components/filters/labels/base-price-filter-label.vue_rollup-plugin-vue=script.js.map +0 -1
  1173. package/js/components/filters/labels/base-rating-filter-label.vue_rollup-plugin-vue=script.js +0 -50
  1174. package/js/components/filters/labels/base-rating-filter-label.vue_rollup-plugin-vue=script.js.map +0 -1
  1175. package/js/components/global-x-bus.vue_rollup-plugin-vue=script.js +0 -47
  1176. package/js/components/global-x-bus.vue_rollup-plugin-vue=script.js.map +0 -1
  1177. package/js/components/icons/arrow-down.vue_rollup-plugin-vue=script.js +0 -4
  1178. package/js/components/icons/arrow-down.vue_rollup-plugin-vue=script.js.map +0 -1
  1179. package/js/components/icons/arrow-left.vue_rollup-plugin-vue=script.js +0 -4
  1180. package/js/components/icons/arrow-left.vue_rollup-plugin-vue=script.js.map +0 -1
  1181. package/js/components/icons/arrow-right.vue_rollup-plugin-vue=script.js +0 -4
  1182. package/js/components/icons/arrow-right.vue_rollup-plugin-vue=script.js.map +0 -1
  1183. package/js/components/icons/arrow-up.vue_rollup-plugin-vue=script.js +0 -4
  1184. package/js/components/icons/arrow-up.vue_rollup-plugin-vue=script.js.map +0 -1
  1185. package/js/components/icons/bag.vue_rollup-plugin-vue=script.js +0 -4
  1186. package/js/components/icons/bag.vue_rollup-plugin-vue=script.js.map +0 -1
  1187. package/js/components/icons/bar-code.vue_rollup-plugin-vue=script.js +0 -4
  1188. package/js/components/icons/bar-code.vue_rollup-plugin-vue=script.js.map +0 -1
  1189. package/js/components/icons/barcode-tiny.vue_rollup-plugin-vue=script.js +0 -4
  1190. package/js/components/icons/barcode-tiny.vue_rollup-plugin-vue=script.js.map +0 -1
  1191. package/js/components/icons/cart.vue_rollup-plugin-vue=script.js +0 -4
  1192. package/js/components/icons/cart.vue_rollup-plugin-vue=script.js.map +0 -1
  1193. package/js/components/icons/check-tiny.vue_rollup-plugin-vue=script.js +0 -4
  1194. package/js/components/icons/check-tiny.vue_rollup-plugin-vue=script.js.map +0 -1
  1195. package/js/components/icons/check.vue_rollup-plugin-vue=script.js +0 -4
  1196. package/js/components/icons/check.vue_rollup-plugin-vue=script.js.map +0 -1
  1197. package/js/components/icons/checkbox-card-selected.vue_rollup-plugin-vue=script.js.map +0 -1
  1198. package/js/components/icons/checkbox-card-unselected.vue_rollup-plugin-vue=script.js.map +0 -1
  1199. package/js/components/icons/checkbox-selected.vue_rollup-plugin-vue=script.js +0 -4
  1200. package/js/components/icons/checkbox-selected.vue_rollup-plugin-vue=script.js.map +0 -1
  1201. package/js/components/icons/checkbox-unselected.vue_rollup-plugin-vue=script.js +0 -4
  1202. package/js/components/icons/checkbox-unselected.vue_rollup-plugin-vue=script.js.map +0 -1
  1203. package/js/components/icons/chevron-down.vue_rollup-plugin-vue=script.js +0 -4
  1204. package/js/components/icons/chevron-down.vue_rollup-plugin-vue=script.js.map +0 -1
  1205. package/js/components/icons/chevron-left.vue_rollup-plugin-vue=script.js +0 -4
  1206. package/js/components/icons/chevron-left.vue_rollup-plugin-vue=script.js.map +0 -1
  1207. package/js/components/icons/chevron-right.vue_rollup-plugin-vue=script.js +0 -4
  1208. package/js/components/icons/chevron-right.vue_rollup-plugin-vue=script.js.map +0 -1
  1209. package/js/components/icons/chevron-tiny-down.vue_rollup-plugin-vue=script.js +0 -4
  1210. package/js/components/icons/chevron-tiny-down.vue_rollup-plugin-vue=script.js.map +0 -1
  1211. package/js/components/icons/chevron-tiny-left.vue_rollup-plugin-vue=script.js +0 -4
  1212. package/js/components/icons/chevron-tiny-left.vue_rollup-plugin-vue=script.js.map +0 -1
  1213. package/js/components/icons/chevron-tiny-right.vue_rollup-plugin-vue=script.js +0 -4
  1214. package/js/components/icons/chevron-tiny-right.vue_rollup-plugin-vue=script.js.map +0 -1
  1215. package/js/components/icons/chevron-tiny-up.vue_rollup-plugin-vue=script.js +0 -4
  1216. package/js/components/icons/chevron-tiny-up.vue_rollup-plugin-vue=script.js.map +0 -1
  1217. package/js/components/icons/chevron-up.vue_rollup-plugin-vue=script.js +0 -4
  1218. package/js/components/icons/chevron-up.vue_rollup-plugin-vue=script.js.map +0 -1
  1219. package/js/components/icons/cross-tiny.vue_rollup-plugin-vue=script.js +0 -4
  1220. package/js/components/icons/cross-tiny.vue_rollup-plugin-vue=script.js.map +0 -1
  1221. package/js/components/icons/cross.vue_rollup-plugin-vue=script.js +0 -4
  1222. package/js/components/icons/cross.vue_rollup-plugin-vue=script.js.map +0 -1
  1223. package/js/components/icons/curated-check.vue_rollup-plugin-vue=script.js +0 -4
  1224. package/js/components/icons/curated-check.vue_rollup-plugin-vue=script.js.map +0 -1
  1225. package/js/components/icons/filters.vue_rollup-plugin-vue=script.js +0 -4
  1226. package/js/components/icons/filters.vue_rollup-plugin-vue=script.js.map +0 -1
  1227. package/js/components/icons/grid-1-col.vue_rollup-plugin-vue=script.js +0 -4
  1228. package/js/components/icons/grid-1-col.vue_rollup-plugin-vue=script.js.map +0 -1
  1229. package/js/components/icons/grid-2-col.vue_rollup-plugin-vue=script.js +0 -4
  1230. package/js/components/icons/grid-2-col.vue_rollup-plugin-vue=script.js.map +0 -1
  1231. package/js/components/icons/grid-2-rows.vue_rollup-plugin-vue=script.js +0 -4
  1232. package/js/components/icons/grid-2-rows.vue_rollup-plugin-vue=script.js.map +0 -1
  1233. package/js/components/icons/hide.vue_rollup-plugin-vue=script.js +0 -4
  1234. package/js/components/icons/hide.vue_rollup-plugin-vue=script.js.map +0 -1
  1235. package/js/components/icons/history-tiny.vue_rollup-plugin-vue=script.js +0 -4
  1236. package/js/components/icons/history-tiny.vue_rollup-plugin-vue=script.js.map +0 -1
  1237. package/js/components/icons/history.vue_rollup-plugin-vue=script.js +0 -4
  1238. package/js/components/icons/history.vue_rollup-plugin-vue=script.js.map +0 -1
  1239. package/js/components/icons/light-bulb-off.vue_rollup-plugin-vue=script.js +0 -4
  1240. package/js/components/icons/light-bulb-off.vue_rollup-plugin-vue=script.js.map +0 -1
  1241. package/js/components/icons/light-bulb-on.vue_rollup-plugin-vue=script.js +0 -4
  1242. package/js/components/icons/light-bulb-on.vue_rollup-plugin-vue=script.js.map +0 -1
  1243. package/js/components/icons/menu.vue_rollup-plugin-vue=script.js +0 -4
  1244. package/js/components/icons/menu.vue_rollup-plugin-vue=script.js.map +0 -1
  1245. package/js/components/icons/minus-tiny.vue_rollup-plugin-vue=script.js +0 -4
  1246. package/js/components/icons/minus-tiny.vue_rollup-plugin-vue=script.js.map +0 -1
  1247. package/js/components/icons/minus.vue_rollup-plugin-vue=script.js +0 -4
  1248. package/js/components/icons/minus.vue_rollup-plugin-vue=script.js.map +0 -1
  1249. package/js/components/icons/nq-1.vue_rollup-plugin-vue=script.js +0 -4
  1250. package/js/components/icons/nq-1.vue_rollup-plugin-vue=script.js.map +0 -1
  1251. package/js/components/icons/nq-2.vue_rollup-plugin-vue=script.js +0 -4
  1252. package/js/components/icons/nq-2.vue_rollup-plugin-vue=script.js.map +0 -1
  1253. package/js/components/icons/nq-3.vue_rollup-plugin-vue=script.js +0 -4
  1254. package/js/components/icons/nq-3.vue_rollup-plugin-vue=script.js.map +0 -1
  1255. package/js/components/icons/nq-4.vue_rollup-plugin-vue=script.js +0 -4
  1256. package/js/components/icons/nq-4.vue_rollup-plugin-vue=script.js.map +0 -1
  1257. package/js/components/icons/plus.vue_rollup-plugin-vue=script.js +0 -4
  1258. package/js/components/icons/plus.vue_rollup-plugin-vue=script.js.map +0 -1
  1259. package/js/components/icons/search-tiny.vue_rollup-plugin-vue=script.js +0 -4
  1260. package/js/components/icons/search-tiny.vue_rollup-plugin-vue=script.js.map +0 -1
  1261. package/js/components/icons/search.vue_rollup-plugin-vue=script.js +0 -4
  1262. package/js/components/icons/search.vue_rollup-plugin-vue=script.js.map +0 -1
  1263. package/js/components/icons/show.vue_rollup-plugin-vue=script.js +0 -4
  1264. package/js/components/icons/show.vue_rollup-plugin-vue=script.js.map +0 -1
  1265. package/js/components/icons/star.vue_rollup-plugin-vue=script.js +0 -4
  1266. package/js/components/icons/star.vue_rollup-plugin-vue=script.js.map +0 -1
  1267. package/js/components/icons/tag.vue_rollup-plugin-vue=script.js +0 -4
  1268. package/js/components/icons/tag.vue_rollup-plugin-vue=script.js.map +0 -1
  1269. package/js/components/icons/trash-open.vue_rollup-plugin-vue=script.js +0 -4
  1270. package/js/components/icons/trash-open.vue_rollup-plugin-vue=script.js.map +0 -1
  1271. package/js/components/icons/trash.vue_rollup-plugin-vue=script.js +0 -4
  1272. package/js/components/icons/trash.vue_rollup-plugin-vue=script.js.map +0 -1
  1273. package/js/components/icons/trending-tiny.vue_rollup-plugin-vue=script.js +0 -4
  1274. package/js/components/icons/trending-tiny.vue_rollup-plugin-vue=script.js.map +0 -1
  1275. package/js/components/icons/trending.vue_rollup-plugin-vue=script.js +0 -4
  1276. package/js/components/icons/trending.vue_rollup-plugin-vue=script.js.map +0 -1
  1277. package/js/components/icons/user.vue_rollup-plugin-vue=script.js +0 -4
  1278. package/js/components/icons/user.vue_rollup-plugin-vue=script.js.map +0 -1
  1279. package/js/components/items-list.vue_rollup-plugin-vue=script.js +0 -47
  1280. package/js/components/items-list.vue_rollup-plugin-vue=script.js.map +0 -1
  1281. package/js/components/layouts/fixed-header-and-asides-layout.vue_rollup-plugin-vue=script.js +0 -57
  1282. package/js/components/layouts/fixed-header-and-asides-layout.vue_rollup-plugin-vue=script.js.map +0 -1
  1283. package/js/components/layouts/multi-column-max-width-layout.vue_rollup-plugin-vue=script.js +0 -32
  1284. package/js/components/layouts/multi-column-max-width-layout.vue_rollup-plugin-vue=script.js.map +0 -1
  1285. package/js/components/layouts/single-column-layout.vue_rollup-plugin-vue=script.js +0 -33
  1286. package/js/components/layouts/single-column-layout.vue_rollup-plugin-vue=script.js.map +0 -1
  1287. package/js/components/location-provider.vue_rollup-plugin-vue=script.js +0 -27
  1288. package/js/components/location-provider.vue_rollup-plugin-vue=script.js.map +0 -1
  1289. package/js/components/modals/base-events-modal-close.vue_rollup-plugin-vue=script.js +0 -37
  1290. package/js/components/modals/base-events-modal-close.vue_rollup-plugin-vue=script.js.map +0 -1
  1291. package/js/components/modals/base-events-modal-open.vue_rollup-plugin-vue=script.js +0 -37
  1292. package/js/components/modals/base-events-modal-open.vue_rollup-plugin-vue=script.js.map +0 -1
  1293. package/js/components/modals/base-events-modal.vue_rollup-plugin-vue=script.js.map +0 -1
  1294. package/js/components/modals/base-id-modal-close.vue_rollup-plugin-vue=script.js +0 -36
  1295. package/js/components/modals/base-id-modal-close.vue_rollup-plugin-vue=script.js.map +0 -1
  1296. package/js/components/modals/base-id-modal-open.vue_rollup-plugin-vue=script.js +0 -36
  1297. package/js/components/modals/base-id-modal-open.vue_rollup-plugin-vue=script.js.map +0 -1
  1298. package/js/components/modals/base-id-modal.vue_rollup-plugin-vue=script.js.map +0 -1
  1299. package/js/components/modals/base-modal.vue_rollup-plugin-vue=script.js.map +0 -1
  1300. package/js/components/panels/base-header-toggle-panel.vue_rollup-plugin-vue=script.js +0 -57
  1301. package/js/components/panels/base-header-toggle-panel.vue_rollup-plugin-vue=script.js.map +0 -1
  1302. package/js/components/panels/base-id-toggle-panel-button.vue_rollup-plugin-vue=script.js +0 -68
  1303. package/js/components/panels/base-id-toggle-panel-button.vue_rollup-plugin-vue=script.js.map +0 -1
  1304. package/js/components/panels/base-id-toggle-panel.vue_rollup-plugin-vue=script.js +0 -80
  1305. package/js/components/panels/base-id-toggle-panel.vue_rollup-plugin-vue=script.js.map +0 -1
  1306. package/js/components/panels/base-toggle-panel.vue_rollup-plugin-vue=script.js +0 -29
  1307. package/js/components/panels/base-toggle-panel.vue_rollup-plugin-vue=script.js.map +0 -1
  1308. package/js/components/result/base-result-add-to-cart.vue_rollup-plugin-vue=script.js +0 -43
  1309. package/js/components/result/base-result-add-to-cart.vue_rollup-plugin-vue=script.js.map +0 -1
  1310. package/js/components/result/base-result-current-price.vue_rollup-plugin-vue=script.js +0 -48
  1311. package/js/components/result/base-result-current-price.vue_rollup-plugin-vue=script.js.map +0 -1
  1312. package/js/components/result/base-result-fallback-image.vue_rollup-plugin-vue=script.js.map +0 -1
  1313. package/js/components/result/base-result-image.vue_rollup-plugin-vue=script.js +0 -148
  1314. package/js/components/result/base-result-image.vue_rollup-plugin-vue=script.js.map +0 -1
  1315. package/js/components/result/base-result-link.vue_rollup-plugin-vue=script.js +0 -46
  1316. package/js/components/result/base-result-link.vue_rollup-plugin-vue=script.js.map +0 -1
  1317. package/js/components/result/base-result-placeholder-image.vue_rollup-plugin-vue=script.js.map +0 -1
  1318. package/js/components/result/base-result-previous-price.vue_rollup-plugin-vue=script.js +0 -31
  1319. package/js/components/result/base-result-previous-price.vue_rollup-plugin-vue=script.js.map +0 -1
  1320. package/js/components/result/base-result-rating.vue_rollup-plugin-vue=script.js +0 -42
  1321. package/js/components/result/base-result-rating.vue_rollup-plugin-vue=script.js.map +0 -1
  1322. package/js/components/scroll/base-scroll.vue_rollup-plugin-vue=script.js +0 -24
  1323. package/js/components/scroll/base-scroll.vue_rollup-plugin-vue=script.js.map +0 -1
  1324. package/js/components/sliding-panel.vue_rollup-plugin-vue=script.js.map +0 -1
  1325. package/js/components/snippet-callbacks.vue_rollup-plugin-vue=script.js +0 -60
  1326. package/js/components/snippet-callbacks.vue_rollup-plugin-vue=script.js.map +0 -1
  1327. package/js/components/suggestions/base-suggestion.vue_rollup-plugin-vue=script.js +0 -144
  1328. package/js/components/suggestions/base-suggestion.vue_rollup-plugin-vue=script.js.map +0 -1
  1329. package/js/components/suggestions/base-suggestions.vue_rollup-plugin-vue=script.js +0 -87
  1330. package/js/components/suggestions/base-suggestions.vue_rollup-plugin-vue=script.js.map +0 -1
  1331. package/js/x-modules/device/components/device-detector.vue_rollup-plugin-vue=script.js +0 -141
  1332. package/js/x-modules/device/components/device-detector.vue_rollup-plugin-vue=script.js.map +0 -1
  1333. package/js/x-modules/empathize/components/empathize.vue_rollup-plugin-vue=script.js.map +0 -1
  1334. package/js/x-modules/extra-params/components/extra-params.vue_rollup-plugin-vue=script.js.map +0 -1
  1335. package/js/x-modules/extra-params/components/renderless-extra-param.vue_rollup-plugin-vue=script.js.map +0 -1
  1336. package/js/x-modules/extra-params/components/snippet-config-extra-params.vue_rollup-plugin-vue=script.js.map +0 -1
  1337. package/js/x-modules/facets/components/clear-filters.vue_rollup-plugin-vue=script.js +0 -239
  1338. package/js/x-modules/facets/components/clear-filters.vue_rollup-plugin-vue=script.js.map +0 -1
  1339. package/js/x-modules/facets/components/facets/facets-provider.vue_rollup-plugin-vue=script.js.map +0 -1
  1340. package/js/x-modules/facets/components/facets/facets.vue_rollup-plugin-vue=script.js +0 -124
  1341. package/js/x-modules/facets/components/facets/facets.vue_rollup-plugin-vue=script.js.map +0 -1
  1342. package/js/x-modules/facets/components/filters/all-filter.vue_rollup-plugin-vue=script.js.map +0 -1
  1343. package/js/x-modules/facets/components/filters/editable-number-range-filter.vue_rollup-plugin-vue=script.js +0 -210
  1344. package/js/x-modules/facets/components/filters/editable-number-range-filter.vue_rollup-plugin-vue=script.js.map +0 -1
  1345. package/js/x-modules/facets/components/filters/hierarchical-filter.vue_rollup-plugin-vue=script.js +0 -228
  1346. package/js/x-modules/facets/components/filters/hierarchical-filter.vue_rollup-plugin-vue=script.js.map +0 -1
  1347. package/js/x-modules/facets/components/filters/number-range-filter.vue_rollup-plugin-vue=script.js.map +0 -1
  1348. package/js/x-modules/facets/components/filters/renderless-filter.vue_rollup-plugin-vue=script.js.map +0 -1
  1349. package/js/x-modules/facets/components/filters/simple-filter.vue_rollup-plugin-vue=script.js.map +0 -1
  1350. package/js/x-modules/facets/components/lists/exclude-filters-with-no-results.vue_rollup-plugin-vue=script.js.map +0 -1
  1351. package/js/x-modules/facets/components/lists/filters-list.vue_rollup-plugin-vue=script.js.map +0 -1
  1352. package/js/x-modules/facets/components/lists/filters-search.vue_rollup-plugin-vue=script.js.map +0 -1
  1353. package/js/x-modules/facets/components/lists/selected-filters-list.vue_rollup-plugin-vue=script.js.map +0 -1
  1354. package/js/x-modules/facets/components/lists/selected-filters.vue_rollup-plugin-vue=script.js.map +0 -1
  1355. package/js/x-modules/facets/components/lists/sliced-filters.vue_rollup-plugin-vue=script.js.map +0 -1
  1356. package/js/x-modules/facets/components/lists/sorted-filters.vue_rollup-plugin-vue=script.js.map +0 -1
  1357. package/js/x-modules/history-queries/components/clear-history-queries.vue_rollup-plugin-vue=script.js +0 -72
  1358. package/js/x-modules/history-queries/components/clear-history-queries.vue_rollup-plugin-vue=script.js.map +0 -1
  1359. package/js/x-modules/history-queries/components/history-queries.vue_rollup-plugin-vue=script.js +0 -45
  1360. package/js/x-modules/history-queries/components/history-queries.vue_rollup-plugin-vue=script.js.map +0 -1
  1361. package/js/x-modules/history-queries/components/history-query.vue_rollup-plugin-vue=script.js +0 -53
  1362. package/js/x-modules/history-queries/components/history-query.vue_rollup-plugin-vue=script.js.map +0 -1
  1363. package/js/x-modules/history-queries/components/remove-history-query.vue_rollup-plugin-vue=script.js +0 -49
  1364. package/js/x-modules/history-queries/components/remove-history-query.vue_rollup-plugin-vue=script.js.map +0 -1
  1365. package/js/x-modules/identifier-results/components/identifier-result.vue_rollup-plugin-vue=script.js +0 -54
  1366. package/js/x-modules/identifier-results/components/identifier-result.vue_rollup-plugin-vue=script.js.map +0 -1
  1367. package/js/x-modules/identifier-results/components/identifier-results.vue_rollup-plugin-vue=script.js +0 -47
  1368. package/js/x-modules/identifier-results/components/identifier-results.vue_rollup-plugin-vue=script.js.map +0 -1
  1369. package/js/x-modules/next-queries/components/next-queries-list.vue_rollup-plugin-vue=script.js +0 -101
  1370. package/js/x-modules/next-queries/components/next-queries-list.vue_rollup-plugin-vue=script.js.map +0 -1
  1371. package/js/x-modules/next-queries/components/next-queries.vue_rollup-plugin-vue=script.js +0 -46
  1372. package/js/x-modules/next-queries/components/next-queries.vue_rollup-plugin-vue=script.js.map +0 -1
  1373. package/js/x-modules/next-queries/components/next-query.vue_rollup-plugin-vue=script.js +0 -66
  1374. package/js/x-modules/next-queries/components/next-query.vue_rollup-plugin-vue=script.js.map +0 -1
  1375. package/js/x-modules/popular-searches/components/popular-search.vue_rollup-plugin-vue=script.js +0 -48
  1376. package/js/x-modules/popular-searches/components/popular-search.vue_rollup-plugin-vue=script.js.map +0 -1
  1377. package/js/x-modules/popular-searches/components/popular-searches.vue_rollup-plugin-vue=script.js +0 -42
  1378. package/js/x-modules/popular-searches/components/popular-searches.vue_rollup-plugin-vue=script.js.map +0 -1
  1379. package/js/x-modules/query-suggestions/components/query-suggestion.vue_rollup-plugin-vue=script.js +0 -46
  1380. package/js/x-modules/query-suggestions/components/query-suggestion.vue_rollup-plugin-vue=script.js.map +0 -1
  1381. package/js/x-modules/query-suggestions/components/query-suggestions.vue_rollup-plugin-vue=script.js +0 -41
  1382. package/js/x-modules/query-suggestions/components/query-suggestions.vue_rollup-plugin-vue=script.js.map +0 -1
  1383. package/js/x-modules/recommendations/components/recommendations.vue_rollup-plugin-vue=script.js +0 -71
  1384. package/js/x-modules/recommendations/components/recommendations.vue_rollup-plugin-vue=script.js.map +0 -1
  1385. package/js/x-modules/related-tags/components/related-tag.vue_rollup-plugin-vue=script.js +0 -109
  1386. package/js/x-modules/related-tags/components/related-tag.vue_rollup-plugin-vue=script.js.map +0 -1
  1387. package/js/x-modules/related-tags/components/related-tags.vue_rollup-plugin-vue=script.js +0 -52
  1388. package/js/x-modules/related-tags/components/related-tags.vue_rollup-plugin-vue=script.js.map +0 -1
  1389. package/js/x-modules/scroll/components/main-scroll-item.vue_rollup-plugin-vue=script.js.map +0 -1
  1390. package/js/x-modules/scroll/components/main-scroll.vue_rollup-plugin-vue=script.js +0 -222
  1391. package/js/x-modules/scroll/components/main-scroll.vue_rollup-plugin-vue=script.js.map +0 -1
  1392. package/js/x-modules/scroll/components/scroll-to-top.vue_rollup-plugin-vue=script.js +0 -243
  1393. package/js/x-modules/scroll/components/scroll-to-top.vue_rollup-plugin-vue=script.js.map +0 -1
  1394. package/js/x-modules/scroll/components/scroll.vue_rollup-plugin-vue=script.js.map +0 -1
  1395. package/js/x-modules/scroll/components/window-scroll.vue_rollup-plugin-vue=script.js.map +0 -1
  1396. package/js/x-modules/search/components/banner.vue_rollup-plugin-vue=script.js.map +0 -1
  1397. package/js/x-modules/search/components/banners-list.vue_rollup-plugin-vue=script.js +0 -64
  1398. package/js/x-modules/search/components/banners-list.vue_rollup-plugin-vue=script.js.map +0 -1
  1399. package/js/x-modules/search/components/partial-query-button.vue_rollup-plugin-vue=script.js.map +0 -1
  1400. package/js/x-modules/search/components/partial-results-list.vue_rollup-plugin-vue=script.js +0 -51
  1401. package/js/x-modules/search/components/partial-results-list.vue_rollup-plugin-vue=script.js.map +0 -1
  1402. package/js/x-modules/search/components/promoted.vue_rollup-plugin-vue=script.js +0 -39
  1403. package/js/x-modules/search/components/promoted.vue_rollup-plugin-vue=script.js.map +0 -1
  1404. package/js/x-modules/search/components/promoteds-list.vue_rollup-plugin-vue=script.js +0 -64
  1405. package/js/x-modules/search/components/promoteds-list.vue_rollup-plugin-vue=script.js.map +0 -1
  1406. package/js/x-modules/search/components/redirection.vue_rollup-plugin-vue=script.js +0 -108
  1407. package/js/x-modules/search/components/redirection.vue_rollup-plugin-vue=script.js.map +0 -1
  1408. package/js/x-modules/search/components/results-list.vue_rollup-plugin-vue=script.js.map +0 -1
  1409. package/js/x-modules/search/components/sort-dropdown.vue_rollup-plugin-vue=script.js +0 -48
  1410. package/js/x-modules/search/components/sort-dropdown.vue_rollup-plugin-vue=script.js.map +0 -1
  1411. package/js/x-modules/search/components/sort-list.vue_rollup-plugin-vue=script.js.map +0 -1
  1412. package/js/x-modules/search/components/spellcheck-button.vue_rollup-plugin-vue=script.js.map +0 -1
  1413. package/js/x-modules/search/components/spellcheck.vue_rollup-plugin-vue=script.js.map +0 -1
  1414. package/js/x-modules/search-box/components/clear-search-input.vue_rollup-plugin-vue=script.js +0 -63
  1415. package/js/x-modules/search-box/components/clear-search-input.vue_rollup-plugin-vue=script.js.map +0 -1
  1416. package/js/x-modules/search-box/components/search-button.vue_rollup-plugin-vue=script.js +0 -74
  1417. package/js/x-modules/search-box/components/search-button.vue_rollup-plugin-vue=script.js.map +0 -1
  1418. package/js/x-modules/search-box/components/search-input.vue_rollup-plugin-vue=script.js.map +0 -1
  1419. package/js/x-modules/tagging/components/tagging.vue_rollup-plugin-vue=script.js +0 -103
  1420. package/js/x-modules/tagging/components/tagging.vue_rollup-plugin-vue=script.js.map +0 -1
  1421. package/js/x-modules/url/components/url-handler.vue_rollup-plugin-vue=script.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"base-grid.vue.js","sources":["../../../src/components/base-grid.vue"],"sourcesContent":["<template>\n <component\n :is=\"animation\"\n :style=\"style\"\n class=\"x-grid x-base-grid\"\n :class=\"cssClasses\"\n tag=\"ul\"\n data-test=\"grid\"\n >\n <li\n v-for=\"{ slotName, item, cssClass } in gridItems\"\n :key=\"item.id\"\n :class=\"cssClass\"\n class=\"x-grid__item x-base-grid__item\"\n >\n <!--\n @slot Customized item rendering. Specifying a slot with the item's modelName will result in\n the item using that slot composition to render.\n @binding {item} item - Item to render\n -->\n <slot v-if=\"$scopedSlots[slotName]\" :name=\"slotName\" :item=\"item\" />\n <!--\n @slot (required) Default item rendering. This slot will be used by default for rendering\n the item without an specific slot implementation.\n @binding {item} item - Item to render\n -->\n <slot v-else :item=\"item\">{{ item.name || item.modelName || item.id || item }}</slot>\n </li>\n </component>\n</template>\n\n<script lang=\"ts\">\n import Vue from 'vue';\n import { Component, Prop } from 'vue-property-decorator';\n import { toKebabCase } from '../utils/string';\n import { ListItem, VueCSSClasses } from '../utils/types';\n import { XInject } from './decorators/injection.decorators';\n import { LIST_ITEMS_KEY } from './decorators/injection.consts';\n\n /**\n * The type returned by the gridItems function. Basically it's a list of items with its CSS\n * classes and a slotName.\n *\n * @internal\n */\n interface GridItem {\n slotName: string;\n item: ListItem;\n cssClass: VueCSSClasses;\n }\n\n /**\n * Grid component that is able to render different items based on their modelName value. In order\n * to achieve this, it exposes a scopedSlot for each different modelName. In case the items used\n * do not have modelName property, the default slot is used instead. It has a required property:\n * the `items` to render; and an optional one: the number `columns` the grid is divided in. If the\n * number of columns is not specified, the grid automatically fills the rows with as many columns\n * as it can fit.\n *\n * @public\n */\n @Component({})\n export default class BaseGrid extends Vue {\n /**\n * Animation component that will be used to animate the base grid.\n *\n * @public\n */\n @Prop({ default: 'ul' })\n protected animation!: Vue | string;\n\n /**\n * Number of columns the grid is divided into. By default, its value is 0, setting the grid\n * columns mode to auto-fill.\n *\n * @public\n */\n @Prop({ default: 0 })\n protected columns!: number;\n\n /**\n * The list of items to be rendered.\n *\n * @remarks The items must have an id property.\n *\n * @public\n */\n @Prop()\n protected items!: ListItem[];\n\n /**\n * It injects {@link ListItem} provided by an ancestor.\n *\n * @internal\n */\n @XInject(LIST_ITEMS_KEY)\n public injectedListItems!: ListItem[];\n\n /**\n * It returns the items passed as props or the injected ones.\n *\n * @returns List of grid items.\n *\n * @public\n */\n protected get computedItems(): ListItem[] {\n return (\n this.items ??\n this.injectedListItems ??\n //TODO: add here logger\n //eslint-disable-next-line no-console\n console.warn('It is necessary to pass a prop or inject the list of filters')\n );\n }\n\n /**\n * CSS class based on the column property value so items inside the grid can fill different\n * amount of columns or rows based on how many columns the grid is divided into.\n *\n * @returns CSS class with the column property value.\n *\n * @internal\n */\n protected get cssClasses(): VueCSSClasses {\n return this.columns ? `x-grid--cols-${this.columns}` : 'x-grid--cols-auto';\n }\n\n /**\n * CSSStyleDeclaration object specifying the number of columns the grid is divided into based on\n * the column property value.\n *\n * @returns A CSSStyleDeclaration to use as the style attribute.\n *\n * @internal\n */\n protected get style(): Partial<CSSStyleDeclaration> {\n return {\n gridTemplateColumns: this.columns\n ? `repeat(${this.columns}, minmax(0, 1fr))`\n : 'repeat(auto-fill, minmax(var(--x-size-min-width-grid-item, 150px), 1fr))'\n };\n }\n\n /**\n * Maps the item to an object containing: the `item`, its `CSS class` and its slot name.\n *\n * @returns An array of objects containing the item and its CSS class.\n *\n * @internal\n */\n protected get gridItems(): GridItem[] {\n return this.computedItems.map(item => {\n const slotName = toKebabCase(item.modelName);\n return {\n slotName,\n item,\n cssClass: `x-base-grid__${slotName}`\n };\n });\n }\n }\n</script>\n\n<style lang=\"scss\" scoped>\n .x-base-grid {\n padding: var(--x-size-padding-grid, 0);\n margin: 0;\n display: grid;\n grid-auto-flow: dense;\n list-style: none;\n\n &__banner {\n grid-column-start: 1;\n grid-column-end: -1;\n }\n }\n</style>\n\n<docs lang=\"mdx\">\n## Examples\n\nThis component renders a list of elements in different slots depending on their modelName. In order\nto achieve this, it exposes a scopedSlot for each different modelName. In case the items used do not\nhave modelName property, the default slot is used instead. It has a required property, the `items`\nto render, and an optional one, the number of `columns` the grid is divided in. If the number of\ncolumns is not specified, the grid automatically fills the rows with as many columns as it can fit.\n\n### Basic example\n\nIt renders a list of items using the default slot:\n\n```vue\n<template>\n <BaseGrid :items=\"items\">\n <template #default=\"{ item }\">\n {{ `Default slot content: ${item.id}` }}\n </template>\n </BaseGrid>\n</template>\n```\n\n### Configuring the number of columns\n\nIt renders a grid with 12 columns instead of 6, which is the default value:\n\n```vue\n<template>\n <BaseGrid :items=\"items\" :columns=\"12\">\n <template #default=\"{ item }\">\n {{ `Default slot content: ${item.id}` }}\n </template>\n </BaseGrid>\n</template>\n```\n\n### Rendering usage\n\nConfiguring the number of columns.\n\nIt renders a list of items using the different scopedSlots created by the item's modelName. For\nexample, if you want to use this component as the search grid, you pass the search results (results,\nbanners, promoted, next queries...etc) as items. Each of these results have a different modelName\nand are rendered in different slots.\n\n```vue\n<template>\n <BaseGrid :animation=\"animation\" :items=\"items\">\n <template #banner=\"{ item }\">\n <span class=\"banner\">\n {{ `${item.title} banner` }}\n </span>\n </template>\n <template #next-queries=\"{ item }\">\n <span>\n {{ `${item.totalResults} next queries` }}\n </span>\n </template>\n <template #promoted=\"{ item }\">\n <span class=\"promoted\">\n {{ `${item.title} promoted` }}\n </span>\n </template>\n <template #result=\"{ item }\">\n <BaseResultLink :result=\"item\">\n {{ item.name }}\n </BaseResultLink>\n </template>\n </BaseGrid>\n</template>\n```\n</docs>\n"],"names":["const"],"mappings":";;;;;AAEAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"base-grid.vue.js","sources":["../../../src/components/base-grid.vue"],"sourcesContent":["<template>\n <component\n :is=\"animation\"\n :style=\"style\"\n class=\"x-grid x-base-grid\"\n :class=\"cssClasses\"\n tag=\"ul\"\n data-test=\"grid\"\n >\n <li\n v-for=\"{ slotName, item, cssClass } in gridItems\"\n :key=\"item.id\"\n :class=\"cssClass\"\n class=\"x-grid__item x-base-grid__item\"\n >\n <!--\n @slot Customized item rendering. Specifying a slot with the item's modelName will result in\n the item using that slot composition to render.\n @binding {item} item - Item to render\n -->\n <slot v-if=\"$scopedSlots[slotName]\" :name=\"slotName\" :item=\"item\" />\n <!--\n @slot (required) Default item rendering. This slot will be used by default for rendering\n the item without an specific slot implementation.\n @binding {item} item - Item to render\n -->\n <slot v-else :item=\"item\">{{ item.name || item.modelName || item.id || item }}</slot>\n </li>\n </component>\n</template>\n\n<script lang=\"ts\">\n import Vue from 'vue';\n import { Component, Prop } from 'vue-property-decorator';\n import { toKebabCase } from '../utils/string';\n import { ListItem, VueCSSClasses } from '../utils/types';\n import { XInject } from './decorators/injection.decorators';\n import { LIST_ITEMS_KEY } from './decorators/injection.consts';\n\n /**\n * The type returned by the gridItems function. Basically it's a list of items with its CSS\n * classes and a slotName.\n *\n * @internal\n */\n interface GridItem {\n slotName: string;\n item: ListItem;\n cssClass: VueCSSClasses;\n }\n\n /**\n * Grid component that is able to render different items based on their modelName value. In order\n * to achieve this, it exposes a scopedSlot for each different modelName. In case the items used\n * do not have modelName property, the default slot is used instead. It has a required property:\n * the `items` to render; and an optional one: the number `columns` the grid is divided in. If the\n * number of columns is not specified, the grid automatically fills the rows with as many columns\n * as it can fit.\n *\n * @public\n */\n @Component({})\n export default class BaseGrid extends Vue {\n /**\n * Animation component that will be used to animate the base grid.\n *\n * @public\n */\n @Prop({ default: 'ul' })\n protected animation!: Vue | string;\n\n /**\n * Number of columns the grid is divided into. By default, its value is 0, setting the grid\n * columns mode to auto-fill.\n *\n * @public\n */\n @Prop({ default: 0 })\n protected columns!: number;\n\n /**\n * The list of items to be rendered.\n *\n * @remarks The items must have an id property.\n *\n * @public\n */\n @Prop()\n protected items!: ListItem[];\n\n /**\n * It injects {@link ListItem} provided by an ancestor.\n *\n * @internal\n */\n @XInject(LIST_ITEMS_KEY)\n public injectedListItems!: ListItem[];\n\n /**\n * It returns the items passed as props or the injected ones.\n *\n * @returns List of grid items.\n *\n * @public\n */\n protected get computedItems(): ListItem[] {\n return (\n this.items ??\n this.injectedListItems ??\n //TODO: add here logger\n //eslint-disable-next-line no-console\n console.warn('It is necessary to pass a prop or inject the list of filters')\n );\n }\n\n /**\n * CSS class based on the column property value so items inside the grid can fill different\n * amount of columns or rows based on how many columns the grid is divided into.\n *\n * @returns CSS class with the column property value.\n *\n * @internal\n */\n protected get cssClasses(): VueCSSClasses {\n return this.columns ? `x-grid--cols-${this.columns}` : 'x-grid--cols-auto';\n }\n\n /**\n * CSSStyleDeclaration object specifying the number of columns the grid is divided into based on\n * the column property value.\n *\n * @returns A CSSStyleDeclaration to use as the style attribute.\n *\n * @internal\n */\n protected get style(): Partial<CSSStyleDeclaration> {\n return {\n gridTemplateColumns: this.columns\n ? `repeat(${this.columns}, minmax(0, 1fr))`\n : 'repeat(auto-fill, minmax(var(--x-size-min-width-grid-item, 150px), 1fr))'\n };\n }\n\n /**\n * Maps the item to an object containing: the `item`, its `CSS class` and its slot name.\n *\n * @returns An array of objects containing the item and its CSS class.\n *\n * @internal\n */\n protected get gridItems(): GridItem[] {\n return this.computedItems.map(item => {\n const slotName = toKebabCase(item.modelName);\n return {\n slotName,\n item,\n cssClass: `x-base-grid__${slotName}`\n };\n });\n }\n }\n</script>\n\n<style lang=\"scss\" scoped>\n .x-base-grid {\n padding: var(--x-size-padding-grid, 0);\n margin: 0;\n display: grid;\n grid-auto-flow: dense;\n list-style: none;\n\n &__banner {\n grid-column-start: 1;\n grid-column-end: -1;\n }\n }\n</style>\n\n<docs lang=\"mdx\">\n## Examples\n\nThis component renders a list of elements in different slots depending on their modelName. In order\nto achieve this, it exposes a scopedSlot for each different modelName. In case the items used do not\nhave modelName property, the default slot is used instead. It has a required property, the `items`\nto render, and an optional one, the number of `columns` the grid is divided in. If the number of\ncolumns is not specified, the grid automatically fills the rows with as many columns as it can fit.\n\n### Basic example\n\nIt renders a list of items using the default slot:\n\n```vue\n<template>\n <BaseGrid :items=\"items\">\n <template #default=\"{ item }\">\n {{ `Default slot content: ${item.id}` }}\n </template>\n </BaseGrid>\n</template>\n```\n\n### Configuring the number of columns\n\nIt renders a grid with 12 columns instead of 6, which is the default value:\n\n```vue\n<template>\n <BaseGrid :items=\"items\" :columns=\"12\">\n <template #default=\"{ item }\">\n {{ `Default slot content: ${item.id}` }}\n </template>\n </BaseGrid>\n</template>\n```\n\n### Rendering usage\n\nConfiguring the number of columns.\n\nIt renders a list of items using the different scopedSlots created by the item's modelName. For\nexample, if you want to use this component as the search grid, you pass the search results (results,\nbanners, promoted, next queries...etc) as items. Each of these results have a different modelName\nand are rendered in different slots.\n\n```vue\n<template>\n <BaseGrid :animation=\"animation\" :items=\"items\">\n <template #banner=\"{ item }\">\n <span class=\"banner\">\n {{ `${item.title} banner` }}\n </span>\n </template>\n <template #next-queries=\"{ item }\">\n <span>\n {{ `${item.totalResults} next queries` }}\n </span>\n </template>\n <template #promoted=\"{ item }\">\n <span class=\"promoted\">\n {{ `${item.title} promoted` }}\n </span>\n </template>\n <template #result=\"{ item }\">\n <BaseResultLink :result=\"item\">\n {{ item.name }}\n </BaseResultLink>\n </template>\n </BaseGrid>\n</template>\n```\n</docs>\n"],"names":[],"mappings":";;;;;AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,95 @@
1
+ import { __decorate } from 'tslib';
2
+ import Vue from 'vue';
3
+ import { Prop, Component } from 'vue-property-decorator';
4
+ import { toKebabCase } from '../utils/string.js';
5
+ import { XInject } from './decorators/injection.decorators.js';
6
+ import { LIST_ITEMS_KEY } from './decorators/injection.consts.js';
7
+
8
+ /**
9
+ * Grid component that is able to render different items based on their modelName value. In order
10
+ * to achieve this, it exposes a scopedSlot for each different modelName. In case the items used
11
+ * do not have modelName property, the default slot is used instead. It has a required property:
12
+ * the `items` to render; and an optional one: the number `columns` the grid is divided in. If the
13
+ * number of columns is not specified, the grid automatically fills the rows with as many columns
14
+ * as it can fit.
15
+ *
16
+ * @public
17
+ */
18
+ let BaseGrid = class BaseGrid extends Vue {
19
+ /**
20
+ * It returns the items passed as props or the injected ones.
21
+ *
22
+ * @returns List of grid items.
23
+ *
24
+ * @public
25
+ */
26
+ get computedItems() {
27
+ return (this.items ??
28
+ this.injectedListItems ??
29
+ //TODO: add here logger
30
+ //eslint-disable-next-line no-console
31
+ console.warn('It is necessary to pass a prop or inject the list of filters'));
32
+ }
33
+ /**
34
+ * CSS class based on the column property value so items inside the grid can fill different
35
+ * amount of columns or rows based on how many columns the grid is divided into.
36
+ *
37
+ * @returns CSS class with the column property value.
38
+ *
39
+ * @internal
40
+ */
41
+ get cssClasses() {
42
+ return this.columns ? `x-grid--cols-${this.columns}` : 'x-grid--cols-auto';
43
+ }
44
+ /**
45
+ * CSSStyleDeclaration object specifying the number of columns the grid is divided into based on
46
+ * the column property value.
47
+ *
48
+ * @returns A CSSStyleDeclaration to use as the style attribute.
49
+ *
50
+ * @internal
51
+ */
52
+ get style() {
53
+ return {
54
+ gridTemplateColumns: this.columns
55
+ ? `repeat(${this.columns}, minmax(0, 1fr))`
56
+ : 'repeat(auto-fill, minmax(var(--x-size-min-width-grid-item, 150px), 1fr))'
57
+ };
58
+ }
59
+ /**
60
+ * Maps the item to an object containing: the `item`, its `CSS class` and its slot name.
61
+ *
62
+ * @returns An array of objects containing the item and its CSS class.
63
+ *
64
+ * @internal
65
+ */
66
+ get gridItems() {
67
+ return this.computedItems.map(item => {
68
+ const slotName = toKebabCase(item.modelName);
69
+ return {
70
+ slotName,
71
+ item,
72
+ cssClass: `x-base-grid__${slotName}`
73
+ };
74
+ });
75
+ }
76
+ };
77
+ __decorate([
78
+ Prop({ default: 'ul' })
79
+ ], BaseGrid.prototype, "animation", void 0);
80
+ __decorate([
81
+ Prop({ default: 0 })
82
+ ], BaseGrid.prototype, "columns", void 0);
83
+ __decorate([
84
+ Prop()
85
+ ], BaseGrid.prototype, "items", void 0);
86
+ __decorate([
87
+ XInject(LIST_ITEMS_KEY)
88
+ ], BaseGrid.prototype, "injectedListItems", void 0);
89
+ BaseGrid = __decorate([
90
+ Component({})
91
+ ], BaseGrid);
92
+ var script = BaseGrid;
93
+
94
+ export { script as default };
95
+ //# sourceMappingURL=base-grid.vue_rollup-plugin-vue_script.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-grid.vue_rollup-plugin-vue_script.vue.js","sources":["../../../src/components/base-grid.vue?rollup-plugin-vue=script.ts"],"sourcesContent":["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from 'vue';\nimport { Component, Prop } from 'vue-property-decorator';\nimport { toKebabCase } from '../utils/string';\nimport { ListItem, VueCSSClasses } from '../utils/types';\nimport { XInject } from './decorators/injection.decorators';\nimport { LIST_ITEMS_KEY } from './decorators/injection.consts';\n\n/**\n * The type returned by the gridItems function. Basically it's a list of items with its CSS\n * classes and a slotName.\n *\n * @internal\n */\ninterface GridItem {\n slotName: string;\n item: ListItem;\n cssClass: VueCSSClasses;\n}\n\n/**\n * Grid component that is able to render different items based on their modelName value. In order\n * to achieve this, it exposes a scopedSlot for each different modelName. In case the items used\n * do not have modelName property, the default slot is used instead. It has a required property:\n * the `items` to render; and an optional one: the number `columns` the grid is divided in. If the\n * number of columns is not specified, the grid automatically fills the rows with as many columns\n * as it can fit.\n *\n * @public\n */\n@Component({})\nexport default class BaseGrid extends Vue {\n /**\n * Animation component that will be used to animate the base grid.\n *\n * @public\n */\n @Prop({ default: 'ul' })\n protected animation!: Vue | string;\n\n /**\n * Number of columns the grid is divided into. By default, its value is 0, setting the grid\n * columns mode to auto-fill.\n *\n * @public\n */\n @Prop({ default: 0 })\n protected columns!: number;\n\n /**\n * The list of items to be rendered.\n *\n * @remarks The items must have an id property.\n *\n * @public\n */\n @Prop()\n protected items!: ListItem[];\n\n /**\n * It injects {@link ListItem} provided by an ancestor.\n *\n * @internal\n */\n @XInject(LIST_ITEMS_KEY)\n public injectedListItems!: ListItem[];\n\n /**\n * It returns the items passed as props or the injected ones.\n *\n * @returns List of grid items.\n *\n * @public\n */\n protected get computedItems(): ListItem[] {\n return (\n this.items ??\n this.injectedListItems ??\n //TODO: add here logger\n //eslint-disable-next-line no-console\n console.warn('It is necessary to pass a prop or inject the list of filters')\n );\n }\n\n /**\n * CSS class based on the column property value so items inside the grid can fill different\n * amount of columns or rows based on how many columns the grid is divided into.\n *\n * @returns CSS class with the column property value.\n *\n * @internal\n */\n protected get cssClasses(): VueCSSClasses {\n return this.columns ? `x-grid--cols-${this.columns}` : 'x-grid--cols-auto';\n }\n\n /**\n * CSSStyleDeclaration object specifying the number of columns the grid is divided into based on\n * the column property value.\n *\n * @returns A CSSStyleDeclaration to use as the style attribute.\n *\n * @internal\n */\n protected get style(): Partial<CSSStyleDeclaration> {\n return {\n gridTemplateColumns: this.columns\n ? `repeat(${this.columns}, minmax(0, 1fr))`\n : 'repeat(auto-fill, minmax(var(--x-size-min-width-grid-item, 150px), 1fr))'\n };\n }\n\n /**\n * Maps the item to an object containing: the `item`, its `CSS class` and its slot name.\n *\n * @returns An array of objects containing the item and its CSS class.\n *\n * @internal\n */\n protected get gridItems(): GridItem[] {\n return this.computedItems.map(item => {\n const slotName = toKebabCase(item.modelName);\n return {\n slotName,\n item,\n cssClass: `x-base-grid__${slotName}`\n };\n });\n }\n}\n"],"names":[],"mappings":";;;;;;;AAmDA;;;;;;;;;;AAWA,IAAqB,QAAQ,GAA7B,MAAqB,QAAS,SAAQ,GAAG;;;;;;;;IA2CvC,IAAc,aAAa;QACzB,QACE,IAAI,CAAC,KAAK;YACV,IAAI,CAAC,iBAAiB;;;YAGtB,OAAO,CAAC,IAAI,CAAC,8DAA8D,CAAC,EAC5E;KACH;;;;;;;;;IAUD,IAAc,UAAU;QACtB,OAAO,IAAI,CAAC,OAAO,GAAG,gBAAgB,IAAI,CAAC,OAAO,EAAE,GAAG,mBAAmB,CAAC;KAC5E;;;;;;;;;IAUD,IAAc,KAAK;QACjB,OAAO;YACL,mBAAmB,EAAE,IAAI,CAAC,OAAO;kBAC7B,UAAU,IAAI,CAAC,OAAO,mBAAmB;kBACzC,0EAA0E;SAC/E,CAAC;KACH;;;;;;;;IASD,IAAc,SAAS;QACrB,OAAO,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI;YAChC,MAAM,QAAQ,GAAG,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YAC7C,OAAO;gBACL,QAAQ;gBACR,IAAI;gBACJ,QAAQ,EAAE,gBAAgB,QAAQ,EAAE;aACrC,CAAC;SACH,CAAC,CAAC;KACJ;CACF,CAAA;AA3FC;IADC,IAAI,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;2CACW;AASnC;IADC,IAAI,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;yCACM;AAU3B;IADC,IAAI,EAAE;uCACsB;AAQ7B;IADC,OAAO,CAAC,cAAc,CAAC;mDACc;AAlCnB,QAAQ;IAD5B,SAAS,CAAC,EAAE,CAAC;GACO,QAAQ,CAkG5B;aAlGoB,QAAQ;;;;"}
@@ -1,8 +1,8 @@
1
- import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
2
- import script from './base-keyboard-navigation.vue_rollup-plugin-vue=script.js';
1
+ import script from './base-keyboard-navigation.vue_rollup-plugin-vue_script.vue.js';
2
+ import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.mjs';
3
3
 
4
4
  /* script */
5
- var __vue_script__ = script;
5
+ const __vue_script__ = script;
6
6
 
7
7
  /* template */
8
8
  var __vue_render__ = function () {
@@ -21,13 +21,16 @@ var __vue_render__ = function () {
21
21
  _vm._k($event.keyCode, "up", 38, $event.key, ["Up", "ArrowUp"]) &&
22
22
  _vm._k($event.keyCode, "down", 40, $event.key, [
23
23
  "Down",
24
- "ArrowDown" ]) &&
24
+ "ArrowDown",
25
+ ]) &&
25
26
  _vm._k($event.keyCode, "right", 39, $event.key, [
26
27
  "Right",
27
- "ArrowRight" ]) &&
28
+ "ArrowRight",
29
+ ]) &&
28
30
  _vm._k($event.keyCode, "left", 37, $event.key, [
29
31
  "Left",
30
- "ArrowLeft" ])
32
+ "ArrowLeft",
33
+ ])
31
34
  ) {
32
35
  return null
33
36
  }
@@ -50,13 +53,13 @@ var __vue_staticRenderFns__ = [];
50
53
  __vue_render__._withStripped = true;
51
54
 
52
55
  /* style */
53
- var __vue_inject_styles__ = undefined;
56
+ const __vue_inject_styles__ = undefined;
54
57
  /* scoped */
55
- var __vue_scope_id__ = undefined;
58
+ const __vue_scope_id__ = undefined;
56
59
  /* module identifier */
57
- var __vue_module_identifier__ = undefined;
60
+ const __vue_module_identifier__ = undefined;
58
61
  /* functional template */
59
- var __vue_is_functional_template__ = false;
62
+ const __vue_is_functional_template__ = false;
60
63
  /* style inject */
61
64
 
62
65
  /* style inject SSR */
@@ -65,7 +68,7 @@ __vue_render__._withStripped = true;
65
68
 
66
69
 
67
70
 
68
- var __vue_component__ = /*#__PURE__*/__vue_normalize__(
71
+ const __vue_component__ = /*#__PURE__*/__vue_normalize__(
69
72
  { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
70
73
  __vue_inject_styles__,
71
74
  __vue_script__,
@@ -78,5 +81,5 @@ __vue_render__._withStripped = true;
78
81
  undefined
79
82
  );
80
83
 
81
- export default __vue_component__;
84
+ export { __vue_component__ as default };
82
85
  //# sourceMappingURL=base-keyboard-navigation.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"base-keyboard-navigation.vue.js","sources":["../../../src/components/base-keyboard-navigation.vue"],"sourcesContent":["<template>\n <div\n @keydown.up.down.right.left.prevent=\"focusNextNavigableElement\"\n class=\"x-keyboard-navigation\"\n data-test=\"keyboard-navigation\"\n >\n <!-- @slot (Required) Container content -->\n <slot />\n </div>\n</template>\n\n<script lang=\"ts\">\n import Vue from 'vue';\n import { Component, Prop } from 'vue-property-decorator';\n // eslint-disable-next-line max-len\n import { DirectionalFocusNavigationService } from '../services/directional-focus-navigation.service';\n import { SpatialNavigation } from '../services/services.types';\n import { ArrowKey, EventsForDirectionLimit, TakeNavigationControl } from '../utils/types';\n import { XEventsOf } from '../wiring/events.types';\n import { WireMetadata } from '../wiring/wiring.types';\n import { XOn } from './decorators/bus.decorators';\n\n /**\n * Base component to handle keyboard navigation for elements inside it. It has a required slot to\n * include the navigable elements.\n *\n * @remarks\n * The component can be customized through props: an array of navigationHijacker objects, which\n * contains: the xEvent to listen to, the moduleName in charge of emitting the event and to which\n * direction it should react to; to take control of the navigation and eventsForDirectionLimit, to\n * emit an xEvent when reaching the navigation limit in any direction.\n *\n * @public\n */\n @Component\n export default class BaseKeyboardNavigation extends Vue {\n /**\n * An array of {@link TakeNavigationControl | navigation hijacker} objects defining when to\n * take control of the keyboard navigation.\n */\n @Prop({\n default: () => [\n { xEvent: 'UserPressedArrowKey', moduleName: 'searchBox', direction: 'ArrowDown' }\n ]\n })\n protected navigationHijacker!: TakeNavigationControl[];\n\n /**\n * An {@link EventsForDirectionLimit} to emit when the user is already at the furthest element\n * in a direction and tries to keep going on the same direction.\n */\n @Prop({ default: () => ({ ArrowUp: 'UserReachedEmpathizeTop' }) })\n protected eventsForDirectionLimit!: Partial<EventsForDirectionLimit>;\n\n /**\n * The {@link SpatialNavigation | navigation service} to use.\n */\n protected navigationService!: SpatialNavigation;\n\n /**\n * The element to focus.\n */\n protected elementToFocus: HTMLElement | undefined;\n\n mounted(): void {\n // TODO Replace this with injection\n this.navigationService = new DirectionalFocusNavigationService(this.$el as HTMLElement);\n }\n\n /**\n * Get the navigation hijacker events.\n *\n * @remarks\n * If the same {@link XEvent} is defined multiple times it is only inserted once.\n *\n * @returns The events to hijack the navigation.\n */\n protected get navigationHijackerEvents(): XEventsOf<ArrowKey>[] {\n const eventsSet = this.navigationHijacker.map(({ xEvent }) => xEvent);\n return Array.from(new Set(eventsSet));\n }\n\n /**\n * Trigger navigation if this component is in control of it.\n *\n * @param eventPayload - The {@link WirePayload.eventPayload}.\n * @param metadata - The {@link WirePayload.metadata}.\n * @public\n */\n @XOn(component => (component as BaseKeyboardNavigation).navigationHijackerEvents)\n triggerNavigation(eventPayload: ArrowKey, metadata: WireMetadata): void {\n if (this.hasToTakeNavigationControl(eventPayload, metadata)) {\n this.focusNextNavigableElement(eventPayload);\n }\n }\n\n /**\n * Checks if the component has to take control of the keyboard navigation.\n *\n * @param eventPayload - The {@link ArrowKey}.\n * @param metadata - The {@link WireMetadata}.\n *\n * @returns Whether the component needs to take control of the keyboard navigation or not.\n * @internal\n */\n private hasToTakeNavigationControl(eventPayload: ArrowKey, metadata: WireMetadata): boolean {\n return this.navigationHijacker.some(\n ({ moduleName, direction }) =>\n moduleName === metadata.moduleName && direction === eventPayload\n );\n }\n\n /**\n * Focus the next navigable element returned by the navigation service.\n *\n * @param direction - The navigation direction.\n * @internal\n */\n protected focusNextNavigableElement(direction: ArrowKey | KeyboardEvent): void {\n const dir = typeof direction === 'object' ? (direction.key as ArrowKey) : direction;\n const nextElementToFocus = this.navigationService?.navigateTo(dir);\n\n if (this.elementToFocus !== nextElementToFocus) {\n this.elementToFocus = nextElementToFocus;\n this.elementToFocus.focus();\n } else {\n this.emitDirectionalLimitReached(dir);\n this.elementToFocus = undefined;\n }\n }\n\n /**\n * Emit the {@link XEvent} associated to the navigation's direction when reaching its limit.\n *\n * @param direction - The navigation direction.\n * @internal\n */\n private emitDirectionalLimitReached(direction: ArrowKey): void {\n const xEvent = this.eventsForDirectionLimit?.[direction];\n if (xEvent) {\n this.$x.emit(xEvent, undefined, { target: this.elementToFocus });\n }\n }\n }\n</script>\n\n<docs lang=\"mdx\">\n## Examples\n\nThis component has a slot to inject other components inside it. The component expects a required\nprop, navigationHijacker, which is an array of objects containing: the xEvent to listen to, the\nmoduleName in charge of emitting the event and to which direction it should react to; to take\ncontrol of the navigation. It has another prop, optional in this case, to emit an xEvent when\nreaching the navigation limit in any direction.\n\n### Basic Usage\n\n```vue\n<KeyboardNavigation>\n <QuerySuggestions/>\n</KeyboardNavigation>\n```\n\n### Defining multiple conditions to take navigation's control\n\n```vue\n<KeyboardNavigation\n :navigationHijacker=\"[\n {\n xEvent: 'UserPressedArrowKey',\n moduleName: 'searchBox',\n direction: 'ArrowDown'\n },\n {\n xEvent: 'UserPressedArrowKey',\n moduleName: 'facets',\n direction: 'ArrowRight'\n }\n ]\"\n>\n <QuerySuggestions/>\n</KeyboardNavigation>\n```\n\n### Defining events to emit when reaching a navigation limit\n\n```vue\n<KeyboardNavigation\n :navigationHijacker=\"[\n {\n xEvent: 'UserPressedArrowKey',\n moduleName: 'searchBox',\n direction: 'ArrowDown'\n }\n ]\"\n :eventsForDirectionLimit=\"{\n ArrowUp: 'UserReachedEmpathizeTop'\n }\"\n>\n <QuerySuggestions/>\n</KeyboardNavigation>\n```\n\n## Events\n\nAn event that the component will emit:\n\n- `UserReachedEmpathizeTop`: the event emitted by default when the container reaches its top\n navigation, but more events can be emitted for each direction using the `eventsForDirectionLimit`\n prop.\n</docs>\n"],"names":["const"],"mappings":";;;;AAEAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"base-keyboard-navigation.vue.js","sources":["../../../src/components/base-keyboard-navigation.vue"],"sourcesContent":["<template>\n <div\n @keydown.up.down.right.left.prevent=\"focusNextNavigableElement\"\n class=\"x-keyboard-navigation\"\n data-test=\"keyboard-navigation\"\n >\n <!-- @slot (Required) Container content -->\n <slot />\n </div>\n</template>\n\n<script lang=\"ts\">\n import Vue from 'vue';\n import { Component, Prop } from 'vue-property-decorator';\n // eslint-disable-next-line max-len\n import { DirectionalFocusNavigationService } from '../services/directional-focus-navigation.service';\n import { SpatialNavigation } from '../services/services.types';\n import { ArrowKey, EventsForDirectionLimit, TakeNavigationControl } from '../utils/types';\n import { XEventsOf } from '../wiring/events.types';\n import { WireMetadata } from '../wiring/wiring.types';\n import { XOn } from './decorators/bus.decorators';\n\n /**\n * Base component to handle keyboard navigation for elements inside it. It has a required slot to\n * include the navigable elements.\n *\n * @remarks\n * The component can be customized through props: an array of navigationHijacker objects, which\n * contains: the xEvent to listen to, the moduleName in charge of emitting the event and to which\n * direction it should react to; to take control of the navigation and eventsForDirectionLimit, to\n * emit an xEvent when reaching the navigation limit in any direction.\n *\n * @public\n */\n @Component\n export default class BaseKeyboardNavigation extends Vue {\n /**\n * An array of {@link TakeNavigationControl | navigation hijacker} objects defining when to\n * take control of the keyboard navigation.\n */\n @Prop({\n default: () => [\n { xEvent: 'UserPressedArrowKey', moduleName: 'searchBox', direction: 'ArrowDown' }\n ]\n })\n protected navigationHijacker!: TakeNavigationControl[];\n\n /**\n * An {@link EventsForDirectionLimit} to emit when the user is already at the furthest element\n * in a direction and tries to keep going on the same direction.\n */\n @Prop({ default: () => ({ ArrowUp: 'UserReachedEmpathizeTop' }) })\n protected eventsForDirectionLimit!: Partial<EventsForDirectionLimit>;\n\n /**\n * The {@link SpatialNavigation | navigation service} to use.\n */\n protected navigationService!: SpatialNavigation;\n\n /**\n * The element to focus.\n */\n protected elementToFocus: HTMLElement | undefined;\n\n mounted(): void {\n // TODO Replace this with injection\n this.navigationService = new DirectionalFocusNavigationService(this.$el as HTMLElement);\n }\n\n /**\n * Get the navigation hijacker events.\n *\n * @remarks\n * If the same {@link XEvent} is defined multiple times it is only inserted once.\n *\n * @returns The events to hijack the navigation.\n */\n protected get navigationHijackerEvents(): XEventsOf<ArrowKey>[] {\n const eventsSet = this.navigationHijacker.map(({ xEvent }) => xEvent);\n return Array.from(new Set(eventsSet));\n }\n\n /**\n * Trigger navigation if this component is in control of it.\n *\n * @param eventPayload - The {@link WirePayload.eventPayload}.\n * @param metadata - The {@link WirePayload.metadata}.\n * @public\n */\n @XOn(component => (component as BaseKeyboardNavigation).navigationHijackerEvents)\n triggerNavigation(eventPayload: ArrowKey, metadata: WireMetadata): void {\n if (this.hasToTakeNavigationControl(eventPayload, metadata)) {\n this.focusNextNavigableElement(eventPayload);\n }\n }\n\n /**\n * Checks if the component has to take control of the keyboard navigation.\n *\n * @param eventPayload - The {@link ArrowKey}.\n * @param metadata - The {@link WireMetadata}.\n *\n * @returns Whether the component needs to take control of the keyboard navigation or not.\n * @internal\n */\n private hasToTakeNavigationControl(eventPayload: ArrowKey, metadata: WireMetadata): boolean {\n return this.navigationHijacker.some(\n ({ moduleName, direction }) =>\n moduleName === metadata.moduleName && direction === eventPayload\n );\n }\n\n /**\n * Focus the next navigable element returned by the navigation service.\n *\n * @param direction - The navigation direction.\n * @internal\n */\n protected focusNextNavigableElement(direction: ArrowKey | KeyboardEvent): void {\n const dir = typeof direction === 'object' ? (direction.key as ArrowKey) : direction;\n const nextElementToFocus = this.navigationService?.navigateTo(dir);\n\n if (this.elementToFocus !== nextElementToFocus) {\n this.elementToFocus = nextElementToFocus;\n this.elementToFocus.focus();\n } else {\n this.emitDirectionalLimitReached(dir);\n this.elementToFocus = undefined;\n }\n }\n\n /**\n * Emit the {@link XEvent} associated to the navigation's direction when reaching its limit.\n *\n * @param direction - The navigation direction.\n * @internal\n */\n private emitDirectionalLimitReached(direction: ArrowKey): void {\n const xEvent = this.eventsForDirectionLimit?.[direction];\n if (xEvent) {\n this.$x.emit(xEvent, undefined, { target: this.elementToFocus });\n }\n }\n }\n</script>\n\n<docs lang=\"mdx\">\n## Examples\n\nThis component has a slot to inject other components inside it. The component expects a required\nprop, navigationHijacker, which is an array of objects containing: the xEvent to listen to, the\nmoduleName in charge of emitting the event and to which direction it should react to; to take\ncontrol of the navigation. It has another prop, optional in this case, to emit an xEvent when\nreaching the navigation limit in any direction.\n\n### Basic Usage\n\n```vue\n<KeyboardNavigation>\n <QuerySuggestions/>\n</KeyboardNavigation>\n```\n\n### Defining multiple conditions to take navigation's control\n\n```vue\n<KeyboardNavigation\n :navigationHijacker=\"[\n {\n xEvent: 'UserPressedArrowKey',\n moduleName: 'searchBox',\n direction: 'ArrowDown'\n },\n {\n xEvent: 'UserPressedArrowKey',\n moduleName: 'facets',\n direction: 'ArrowRight'\n }\n ]\"\n>\n <QuerySuggestions/>\n</KeyboardNavigation>\n```\n\n### Defining events to emit when reaching a navigation limit\n\n```vue\n<KeyboardNavigation\n :navigationHijacker=\"[\n {\n xEvent: 'UserPressedArrowKey',\n moduleName: 'searchBox',\n direction: 'ArrowDown'\n }\n ]\"\n :eventsForDirectionLimit=\"{\n ArrowUp: 'UserReachedEmpathizeTop'\n }\"\n>\n <QuerySuggestions/>\n</KeyboardNavigation>\n```\n\n## Events\n\nAn event that the component will emit:\n\n- `UserReachedEmpathizeTop`: the event emitted by default when the container reaches its top\n navigation, but more events can be emitted for each direction using the `eventsForDirectionLimit`\n prop.\n</docs>\n"],"names":[],"mappings":";;;;AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,110 @@
1
+ import { __decorate } from 'tslib';
2
+ import Vue from 'vue';
3
+ import { Prop, Component } from 'vue-property-decorator';
4
+ import { DirectionalFocusNavigationService } from '../services/directional-focus-navigation.service.js';
5
+ import { XOn } from './decorators/bus.decorators.js';
6
+
7
+ /**
8
+ * Base component to handle keyboard navigation for elements inside it. It has a required slot to
9
+ * include the navigable elements.
10
+ *
11
+ * @remarks
12
+ * The component can be customized through props: an array of navigationHijacker objects, which
13
+ * contains: the xEvent to listen to, the moduleName in charge of emitting the event and to which
14
+ * direction it should react to; to take control of the navigation and eventsForDirectionLimit, to
15
+ * emit an xEvent when reaching the navigation limit in any direction.
16
+ *
17
+ * @public
18
+ */
19
+ let BaseKeyboardNavigation = class BaseKeyboardNavigation extends Vue {
20
+ mounted() {
21
+ // TODO Replace this with injection
22
+ this.navigationService = new DirectionalFocusNavigationService(this.$el);
23
+ }
24
+ /**
25
+ * Get the navigation hijacker events.
26
+ *
27
+ * @remarks
28
+ * If the same {@link XEvent} is defined multiple times it is only inserted once.
29
+ *
30
+ * @returns The events to hijack the navigation.
31
+ */
32
+ get navigationHijackerEvents() {
33
+ const eventsSet = this.navigationHijacker.map(({ xEvent }) => xEvent);
34
+ return Array.from(new Set(eventsSet));
35
+ }
36
+ /**
37
+ * Trigger navigation if this component is in control of it.
38
+ *
39
+ * @param eventPayload - The {@link WirePayload.eventPayload}.
40
+ * @param metadata - The {@link WirePayload.metadata}.
41
+ * @public
42
+ */
43
+ triggerNavigation(eventPayload, metadata) {
44
+ if (this.hasToTakeNavigationControl(eventPayload, metadata)) {
45
+ this.focusNextNavigableElement(eventPayload);
46
+ }
47
+ }
48
+ /**
49
+ * Checks if the component has to take control of the keyboard navigation.
50
+ *
51
+ * @param eventPayload - The {@link ArrowKey}.
52
+ * @param metadata - The {@link WireMetadata}.
53
+ *
54
+ * @returns Whether the component needs to take control of the keyboard navigation or not.
55
+ * @internal
56
+ */
57
+ hasToTakeNavigationControl(eventPayload, metadata) {
58
+ return this.navigationHijacker.some(({ moduleName, direction }) => moduleName === metadata.moduleName && direction === eventPayload);
59
+ }
60
+ /**
61
+ * Focus the next navigable element returned by the navigation service.
62
+ *
63
+ * @param direction - The navigation direction.
64
+ * @internal
65
+ */
66
+ focusNextNavigableElement(direction) {
67
+ const dir = typeof direction === 'object' ? direction.key : direction;
68
+ const nextElementToFocus = this.navigationService?.navigateTo(dir);
69
+ if (this.elementToFocus !== nextElementToFocus) {
70
+ this.elementToFocus = nextElementToFocus;
71
+ this.elementToFocus.focus();
72
+ }
73
+ else {
74
+ this.emitDirectionalLimitReached(dir);
75
+ this.elementToFocus = undefined;
76
+ }
77
+ }
78
+ /**
79
+ * Emit the {@link XEvent} associated to the navigation's direction when reaching its limit.
80
+ *
81
+ * @param direction - The navigation direction.
82
+ * @internal
83
+ */
84
+ emitDirectionalLimitReached(direction) {
85
+ const xEvent = this.eventsForDirectionLimit?.[direction];
86
+ if (xEvent) {
87
+ this.$x.emit(xEvent, undefined, { target: this.elementToFocus });
88
+ }
89
+ }
90
+ };
91
+ __decorate([
92
+ Prop({
93
+ default: () => [
94
+ { xEvent: 'UserPressedArrowKey', moduleName: 'searchBox', direction: 'ArrowDown' }
95
+ ]
96
+ })
97
+ ], BaseKeyboardNavigation.prototype, "navigationHijacker", void 0);
98
+ __decorate([
99
+ Prop({ default: () => ({ ArrowUp: 'UserReachedEmpathizeTop' }) })
100
+ ], BaseKeyboardNavigation.prototype, "eventsForDirectionLimit", void 0);
101
+ __decorate([
102
+ XOn(component => component.navigationHijackerEvents)
103
+ ], BaseKeyboardNavigation.prototype, "triggerNavigation", null);
104
+ BaseKeyboardNavigation = __decorate([
105
+ Component
106
+ ], BaseKeyboardNavigation);
107
+ var script = BaseKeyboardNavigation;
108
+
109
+ export { script as default };
110
+ //# sourceMappingURL=base-keyboard-navigation.vue_rollup-plugin-vue_script.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-keyboard-navigation.vue_rollup-plugin-vue_script.vue.js","sources":["../../../src/components/base-keyboard-navigation.vue?rollup-plugin-vue=script.ts"],"sourcesContent":["\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from 'vue';\nimport { Component, Prop } from 'vue-property-decorator';\n// eslint-disable-next-line max-len\nimport { DirectionalFocusNavigationService } from '../services/directional-focus-navigation.service';\nimport { SpatialNavigation } from '../services/services.types';\nimport { ArrowKey, EventsForDirectionLimit, TakeNavigationControl } from '../utils/types';\nimport { XEventsOf } from '../wiring/events.types';\nimport { WireMetadata } from '../wiring/wiring.types';\nimport { XOn } from './decorators/bus.decorators';\n\n/**\n * Base component to handle keyboard navigation for elements inside it. It has a required slot to\n * include the navigable elements.\n *\n * @remarks\n * The component can be customized through props: an array of navigationHijacker objects, which\n * contains: the xEvent to listen to, the moduleName in charge of emitting the event and to which\n * direction it should react to; to take control of the navigation and eventsForDirectionLimit, to\n * emit an xEvent when reaching the navigation limit in any direction.\n *\n * @public\n */\n@Component\nexport default class BaseKeyboardNavigation extends Vue {\n /**\n * An array of {@link TakeNavigationControl | navigation hijacker} objects defining when to\n * take control of the keyboard navigation.\n */\n @Prop({\n default: () => [\n { xEvent: 'UserPressedArrowKey', moduleName: 'searchBox', direction: 'ArrowDown' }\n ]\n })\n protected navigationHijacker!: TakeNavigationControl[];\n\n /**\n * An {@link EventsForDirectionLimit} to emit when the user is already at the furthest element\n * in a direction and tries to keep going on the same direction.\n */\n @Prop({ default: () => ({ ArrowUp: 'UserReachedEmpathizeTop' }) })\n protected eventsForDirectionLimit!: Partial<EventsForDirectionLimit>;\n\n /**\n * The {@link SpatialNavigation | navigation service} to use.\n */\n protected navigationService!: SpatialNavigation;\n\n /**\n * The element to focus.\n */\n protected elementToFocus: HTMLElement | undefined;\n\n mounted(): void {\n // TODO Replace this with injection\n this.navigationService = new DirectionalFocusNavigationService(this.$el as HTMLElement);\n }\n\n /**\n * Get the navigation hijacker events.\n *\n * @remarks\n * If the same {@link XEvent} is defined multiple times it is only inserted once.\n *\n * @returns The events to hijack the navigation.\n */\n protected get navigationHijackerEvents(): XEventsOf<ArrowKey>[] {\n const eventsSet = this.navigationHijacker.map(({ xEvent }) => xEvent);\n return Array.from(new Set(eventsSet));\n }\n\n /**\n * Trigger navigation if this component is in control of it.\n *\n * @param eventPayload - The {@link WirePayload.eventPayload}.\n * @param metadata - The {@link WirePayload.metadata}.\n * @public\n */\n @XOn(component => (component as BaseKeyboardNavigation).navigationHijackerEvents)\n triggerNavigation(eventPayload: ArrowKey, metadata: WireMetadata): void {\n if (this.hasToTakeNavigationControl(eventPayload, metadata)) {\n this.focusNextNavigableElement(eventPayload);\n }\n }\n\n /**\n * Checks if the component has to take control of the keyboard navigation.\n *\n * @param eventPayload - The {@link ArrowKey}.\n * @param metadata - The {@link WireMetadata}.\n *\n * @returns Whether the component needs to take control of the keyboard navigation or not.\n * @internal\n */\n private hasToTakeNavigationControl(eventPayload: ArrowKey, metadata: WireMetadata): boolean {\n return this.navigationHijacker.some(\n ({ moduleName, direction }) =>\n moduleName === metadata.moduleName && direction === eventPayload\n );\n }\n\n /**\n * Focus the next navigable element returned by the navigation service.\n *\n * @param direction - The navigation direction.\n * @internal\n */\n protected focusNextNavigableElement(direction: ArrowKey | KeyboardEvent): void {\n const dir = typeof direction === 'object' ? (direction.key as ArrowKey) : direction;\n const nextElementToFocus = this.navigationService?.navigateTo(dir);\n\n if (this.elementToFocus !== nextElementToFocus) {\n this.elementToFocus = nextElementToFocus;\n this.elementToFocus.focus();\n } else {\n this.emitDirectionalLimitReached(dir);\n this.elementToFocus = undefined;\n }\n }\n\n /**\n * Emit the {@link XEvent} associated to the navigation's direction when reaching its limit.\n *\n * @param direction - The navigation direction.\n * @internal\n */\n private emitDirectionalLimitReached(direction: ArrowKey): void {\n const xEvent = this.eventsForDirectionLimit?.[direction];\n if (xEvent) {\n this.$x.emit(xEvent, undefined, { target: this.elementToFocus });\n }\n }\n}\n"],"names":[],"mappings":";;;;;;AAsBA;;;;;;;;;;;;AAaA,IAAqB,sBAAsB,GAA3C,MAAqB,sBAAuB,SAAQ,GAAG;IA6BrD,OAAO;;QAEL,IAAI,CAAC,iBAAiB,GAAG,IAAI,iCAAiC,CAAC,IAAI,CAAC,GAAkB,CAAC,CAAC;KACzF;;;;;;;;;IAUD,IAAc,wBAAwB;QACpC,MAAM,SAAS,GAAG,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,MAAM,CAAC,CAAC;QACtE,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC;KACvC;;;;;;;;IAUD,iBAAiB,CAAC,YAAsB,EAAE,QAAsB;QAC9D,IAAI,IAAI,CAAC,0BAA0B,CAAC,YAAY,EAAE,QAAQ,CAAC,EAAE;YAC3D,IAAI,CAAC,yBAAyB,CAAC,YAAY,CAAC,CAAC;SAC9C;KACF;;;;;;;;;;IAWO,0BAA0B,CAAC,YAAsB,EAAE,QAAsB;QAC/E,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CACjC,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,KACxB,UAAU,KAAK,QAAQ,CAAC,UAAU,IAAI,SAAS,KAAK,YAAY,CACnE,CAAC;KACH;;;;;;;IAQS,yBAAyB,CAAC,SAAmC;QACrE,MAAM,GAAG,GAAG,OAAO,SAAS,KAAK,QAAQ,GAAI,SAAS,CAAC,GAAgB,GAAG,SAAS,CAAC;QACpF,MAAM,kBAAkB,GAAG,IAAI,CAAC,iBAAiB,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC;QAEnE,IAAI,IAAI,CAAC,cAAc,KAAK,kBAAkB,EAAE;YAC9C,IAAI,CAAC,cAAc,GAAG,kBAAkB,CAAC;YACzC,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE,CAAC;SAC7B;aAAM;YACL,IAAI,CAAC,2BAA2B,CAAC,GAAG,CAAC,CAAC;YACtC,IAAI,CAAC,cAAc,GAAG,SAAS,CAAC;SACjC;KACF;;;;;;;IAQO,2BAA2B,CAAC,SAAmB;QACrD,MAAM,MAAM,GAAG,IAAI,CAAC,uBAAuB,GAAG,SAAS,CAAC,CAAC;QACzD,IAAI,MAAM,EAAE;YACV,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE,SAAS,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,cAAc,EAAE,CAAC,CAAC;SAClE;KACF;CACF,CAAA;AAlGC;IALC,IAAI,CAAC;QACJ,OAAO,EAAE,MAAM;YACb,EAAE,MAAM,EAAE,qBAAqB,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,WAAW,EAAE;SACnF;KACF,CAAC;kEACqD;AAOvD;IADC,IAAI,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,yBAAyB,EAAE,CAAC,EAAE,CAAC;uEACG;AAsCrE;IADC,GAAG,CAAC,SAAS,IAAK,SAAoC,CAAC,wBAAwB,CAAC;+DAKhF;AA3DkB,sBAAsB;IAD1C,SAAS;GACW,sBAAsB,CA4G1C;aA5GoB,sBAAsB;;;;"}
@@ -1,9 +1,9 @@
1
- import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
2
- import __vue_create_injector__ from 'vue-runtime-helpers/dist/inject-style/browser.js';
3
- import script from './base-rating.vue_rollup-plugin-vue=script.js';
1
+ import script from './base-rating.vue_rollup-plugin-vue_script.vue.js';
2
+ import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.mjs';
3
+ import __vue_create_injector__ from 'vue-runtime-helpers/dist/inject-style/browser.mjs';
4
4
 
5
5
  /* script */
6
- var __vue_script__ = script;
6
+ const __vue_script__ = script;
7
7
 
8
8
  /* template */
9
9
  var __vue_render__ = function () {
@@ -35,9 +35,11 @@ var __vue_render__ = function () {
35
35
  key: i,
36
36
  staticClass:
37
37
  "x-rating__default-icon x-rating__default-icon--empty",
38
- }) ]
38
+ }),
39
+ ]
39
40
  })
40
- }) ],
41
+ }),
42
+ ],
41
43
  2
42
44
  ),
43
45
  _vm._v(" "),
@@ -56,35 +58,38 @@ var __vue_render__ = function () {
56
58
  key: i,
57
59
  staticClass:
58
60
  "x-rating__default-icon x-rating__default-icon--filled",
59
- }) ]
61
+ }),
62
+ ]
60
63
  })
61
- }) ],
64
+ }),
65
+ ],
62
66
  2
63
- ) ]
67
+ ),
68
+ ]
64
69
  )
65
70
  };
66
71
  var __vue_staticRenderFns__ = [];
67
72
  __vue_render__._withStripped = true;
68
73
 
69
74
  /* style */
70
- var __vue_inject_styles__ = function (inject) {
71
- if (!inject) { return }
75
+ const __vue_inject_styles__ = function (inject) {
76
+ if (!inject) return
72
77
  inject("data-v-01a5c2e2_0", { source: ".x-rating[data-v-01a5c2e2] {\n position: relative;\n display: inline-block;\n}\n.x-rating--empty[data-v-01a5c2e2] {\n overflow: hidden;\n display: flex;\n flex-flow: row nowrap;\n white-space: nowrap;\n}\n.x-rating--filled[data-v-01a5c2e2] {\n display: flex;\n flex-flow: row nowrap;\n white-space: nowrap;\n position: absolute;\n overflow: hidden;\n top: 0;\n left: 0;\n height: 100%;\n}\n.x-rating__default-icon[data-v-01a5c2e2] {\n fill: currentColor;\n stroke: currentColor;\n}\n.x-rating__default-icon--empty[data-v-01a5c2e2] {\n fill: none;\n}", map: undefined, media: undefined });
73
78
 
74
79
  };
75
80
  /* scoped */
76
- var __vue_scope_id__ = "data-v-01a5c2e2";
81
+ const __vue_scope_id__ = "data-v-01a5c2e2";
77
82
  /* module identifier */
78
- var __vue_module_identifier__ = undefined;
83
+ const __vue_module_identifier__ = undefined;
79
84
  /* functional template */
80
- var __vue_is_functional_template__ = false;
85
+ const __vue_is_functional_template__ = false;
81
86
  /* style inject SSR */
82
87
 
83
88
  /* style inject shadow dom */
84
89
 
85
90
 
86
91
 
87
- var __vue_component__ = /*#__PURE__*/__vue_normalize__(
92
+ const __vue_component__ = /*#__PURE__*/__vue_normalize__(
88
93
  { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
89
94
  __vue_inject_styles__,
90
95
  __vue_script__,
@@ -97,5 +102,5 @@ __vue_render__._withStripped = true;
97
102
  undefined
98
103
  );
99
104
 
100
- export default __vue_component__;
105
+ export { __vue_component__ as default };
101
106
  //# sourceMappingURL=base-rating.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"base-rating.vue.js","sources":["../../../src/components/base-rating.vue"],"sourcesContent":["<template>\n <span class=\"x-rating\" role=\"img\" :aria-label=\"ariaLabel\" data-test=\"rating\">\n <div class=\"x-rating--empty\" data-test=\"rating-empty\">\n <!--\n @slot The content to render as empty icon\n -->\n <slot v-for=\"i in max\" name=\"empty-icon\">\n <DefaultIcon :key=\"i\" class=\"x-rating__default-icon x-rating__default-icon--empty\" />\n </slot>\n </div>\n <div\n class=\"x-rating--filled\"\n :style=\"{ width: calculateFilledWrapperWidth }\"\n data-test=\"rating-filled\"\n >\n <!--\n @slot The content to render as filled icon\n -->\n <slot v-for=\"i in max\" name=\"filled-icon\">\n <DefaultIcon :key=\"i\" class=\"x-rating__default-icon x-rating__default-icon--filled\" />\n </slot>\n </div>\n </span>\n</template>\n\n<script lang=\"ts\">\n import Vue from 'vue';\n import { Component, Prop } from 'vue-property-decorator';\n import StarIcon from './icons/star.vue';\n\n /**\n * Rating component. This component renders a set of elements filled based on the value passed as\n * prop.\n *\n * @public\n */\n @Component({\n components: {\n DefaultIcon: StarIcon\n }\n })\n export default class BaseRating extends Vue {\n /**\n * Numeric value used to calculates the width of the filled elements.\n *\n * @public\n */\n @Prop({ required: true })\n protected value!: number;\n /**\n * Maximum number of elements to paint.\n *\n * @public\n */\n @Prop({ default: 5 })\n protected max!: number;\n\n /**\n * Calculates the width of the filled elements wrapper.\n *\n * @returns The % of the wrapper width.\n *\n * @internal\n */\n protected get calculateFilledWrapperWidth(): string {\n return this.value < 0 ? '0%' : `${(this.value * 100) / this.max}%`;\n }\n\n /**\n * Creates the aria label for accessibility purpose.\n *\n * @returns The aria label.\n *\n * @internal\n */\n protected get ariaLabel(): string {\n return `${this.value}/${this.max}`;\n }\n }\n</script>\n\n<style lang=\"scss\" scoped>\n .x-rating {\n position: relative;\n display: inline-block;\n\n &--empty {\n overflow: hidden;\n display: flex;\n flex-flow: row nowrap;\n white-space: nowrap;\n }\n\n &--filled {\n display: flex;\n flex-flow: row nowrap;\n white-space: nowrap;\n position: absolute;\n overflow: hidden;\n top: 0;\n left: 0;\n height: 100%;\n }\n\n &__default-icon {\n fill: currentColor;\n stroke: currentColor;\n\n &--empty {\n fill: none;\n }\n }\n }\n</style>\n\n<docs lang=\"mdx\">\n## Examples\n\nThis component receives a `value` as prop and renders a set of elements, which will be filled based\non this value.\n\n### Basic usage\n\n```vue\n<BaseRating :value=\"5.23\" />\n```\n\n### Customizing its contents\n\n```vue\n<BaseRating :value=\"7.15\" :max=\"10\">\n <template #filled-icon>\n <TestIcon/>\n </template>\n <template #empty-icon>\n <TestIcon/>\n </template>\n</BaseRating>\n```\n</docs>\n"],"names":["const"],"mappings":";;;;;AAEAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"base-rating.vue.js","sources":["../../../src/components/base-rating.vue"],"sourcesContent":["<template>\n <span class=\"x-rating\" role=\"img\" :aria-label=\"ariaLabel\" data-test=\"rating\">\n <div class=\"x-rating--empty\" data-test=\"rating-empty\">\n <!--\n @slot The content to render as empty icon\n -->\n <slot v-for=\"i in max\" name=\"empty-icon\">\n <DefaultIcon :key=\"i\" class=\"x-rating__default-icon x-rating__default-icon--empty\" />\n </slot>\n </div>\n <div\n class=\"x-rating--filled\"\n :style=\"{ width: calculateFilledWrapperWidth }\"\n data-test=\"rating-filled\"\n >\n <!--\n @slot The content to render as filled icon\n -->\n <slot v-for=\"i in max\" name=\"filled-icon\">\n <DefaultIcon :key=\"i\" class=\"x-rating__default-icon x-rating__default-icon--filled\" />\n </slot>\n </div>\n </span>\n</template>\n\n<script lang=\"ts\">\n import Vue from 'vue';\n import { Component, Prop } from 'vue-property-decorator';\n import StarIcon from './icons/star.vue';\n\n /**\n * Rating component. This component renders a set of elements filled based on the value passed as\n * prop.\n *\n * @public\n */\n @Component({\n components: {\n DefaultIcon: StarIcon\n }\n })\n export default class BaseRating extends Vue {\n /**\n * Numeric value used to calculates the width of the filled elements.\n *\n * @public\n */\n @Prop({ required: true })\n protected value!: number;\n /**\n * Maximum number of elements to paint.\n *\n * @public\n */\n @Prop({ default: 5 })\n protected max!: number;\n\n /**\n * Calculates the width of the filled elements wrapper.\n *\n * @returns The % of the wrapper width.\n *\n * @internal\n */\n protected get calculateFilledWrapperWidth(): string {\n return this.value < 0 ? '0%' : `${(this.value * 100) / this.max}%`;\n }\n\n /**\n * Creates the aria label for accessibility purpose.\n *\n * @returns The aria label.\n *\n * @internal\n */\n protected get ariaLabel(): string {\n return `${this.value}/${this.max}`;\n }\n }\n</script>\n\n<style lang=\"scss\" scoped>\n .x-rating {\n position: relative;\n display: inline-block;\n\n &--empty {\n overflow: hidden;\n display: flex;\n flex-flow: row nowrap;\n white-space: nowrap;\n }\n\n &--filled {\n display: flex;\n flex-flow: row nowrap;\n white-space: nowrap;\n position: absolute;\n overflow: hidden;\n top: 0;\n left: 0;\n height: 100%;\n }\n\n &__default-icon {\n fill: currentColor;\n stroke: currentColor;\n\n &--empty {\n fill: none;\n }\n }\n }\n</style>\n\n<docs lang=\"mdx\">\n## Examples\n\nThis component receives a `value` as prop and renders a set of elements, which will be filled based\non this value.\n\n### Basic usage\n\n```vue\n<BaseRating :value=\"5.23\" />\n```\n\n### Customizing its contents\n\n```vue\n<BaseRating :value=\"7.15\" :max=\"10\">\n <template #filled-icon>\n <TestIcon/>\n </template>\n <template #empty-icon>\n <TestIcon/>\n </template>\n</BaseRating>\n```\n</docs>\n"],"names":[],"mappings":";;;;;AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,50 @@
1
+ import { __decorate } from 'tslib';
2
+ import Vue from 'vue';
3
+ import { Prop, Component } from 'vue-property-decorator';
4
+ import __vue_component__ from './icons/star.vue.js';
5
+
6
+ /**
7
+ * Rating component. This component renders a set of elements filled based on the value passed as
8
+ * prop.
9
+ *
10
+ * @public
11
+ */
12
+ let BaseRating = class BaseRating extends Vue {
13
+ /**
14
+ * Calculates the width of the filled elements wrapper.
15
+ *
16
+ * @returns The % of the wrapper width.
17
+ *
18
+ * @internal
19
+ */
20
+ get calculateFilledWrapperWidth() {
21
+ return this.value < 0 ? '0%' : `${(this.value * 100) / this.max}%`;
22
+ }
23
+ /**
24
+ * Creates the aria label for accessibility purpose.
25
+ *
26
+ * @returns The aria label.
27
+ *
28
+ * @internal
29
+ */
30
+ get ariaLabel() {
31
+ return `${this.value}/${this.max}`;
32
+ }
33
+ };
34
+ __decorate([
35
+ Prop({ required: true })
36
+ ], BaseRating.prototype, "value", void 0);
37
+ __decorate([
38
+ Prop({ default: 5 })
39
+ ], BaseRating.prototype, "max", void 0);
40
+ BaseRating = __decorate([
41
+ Component({
42
+ components: {
43
+ DefaultIcon: __vue_component__
44
+ }
45
+ })
46
+ ], BaseRating);
47
+ var script = BaseRating;
48
+
49
+ export { script as default };
50
+ //# sourceMappingURL=base-rating.vue_rollup-plugin-vue_script.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-rating.vue_rollup-plugin-vue_script.vue.js","sources":["../../../src/components/base-rating.vue?rollup-plugin-vue=script.ts"],"sourcesContent":["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from 'vue';\nimport { Component, Prop } from 'vue-property-decorator';\nimport StarIcon from './icons/star.vue';\n\n/**\n * Rating component. This component renders a set of elements filled based on the value passed as\n * prop.\n *\n * @public\n */\n@Component({\n components: {\n DefaultIcon: StarIcon\n }\n})\nexport default class BaseRating extends Vue {\n /**\n * Numeric value used to calculates the width of the filled elements.\n *\n * @public\n */\n @Prop({ required: true })\n protected value!: number;\n /**\n * Maximum number of elements to paint.\n *\n * @public\n */\n @Prop({ default: 5 })\n protected max!: number;\n\n /**\n * Calculates the width of the filled elements wrapper.\n *\n * @returns The % of the wrapper width.\n *\n * @internal\n */\n protected get calculateFilledWrapperWidth(): string {\n return this.value < 0 ? '0%' : `${(this.value * 100) / this.max}%`;\n }\n\n /**\n * Creates the aria label for accessibility purpose.\n *\n * @returns The aria label.\n *\n * @internal\n */\n protected get ariaLabel(): string {\n return `${this.value}/${this.max}`;\n }\n}\n"],"names":["StarIcon"],"mappings":";;;;;AA8BA;;;;;;AAWA,IAAqB,UAAU,GAA/B,MAAqB,UAAW,SAAQ,GAAG;;;;;;;;IAuBzC,IAAc,2BAA2B;QACvC,OAAO,IAAI,CAAC,KAAK,GAAG,CAAC,GAAG,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC,KAAK,GAAG,GAAG,IAAI,IAAI,CAAC,GAAG,GAAG,CAAC;KACpE;;;;;;;;IASD,IAAc,SAAS;QACrB,OAAO,GAAG,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,GAAG,EAAE,CAAC;KACpC;CACF,CAAA;AA9BC;IADC,IAAI,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;yCACA;AAOzB;IADC,IAAI,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;uCACE;AAdJ,UAAU;IAL9B,SAAS,CAAC;QACT,UAAU,EAAE;YACV,WAAW,EAAEA,iBAAQ;SACtB;KACF,CAAC;GACmB,UAAU,CAqC9B;aArCoB,UAAU;;;;"}
@@ -1,8 +1,8 @@
1
- import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
2
- import script from './base-variable-column-grid.vue_rollup-plugin-vue=script.js';
1
+ import script from './base-variable-column-grid.vue_rollup-plugin-vue_script.vue.js';
2
+ import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.mjs';
3
3
 
4
4
  /* script */
5
- var __vue_script__ = script;
5
+ const __vue_script__ = script;
6
6
 
7
7
  /* template */
8
8
  var __vue_render__ = function () {
@@ -21,7 +21,8 @@ var __vue_render__ = function () {
21
21
  return [_vm._t(name, null, null, { item: item })]
22
22
  },
23
23
  }
24
- }) ],
24
+ }),
25
+ ],
25
26
  null,
26
27
  true
27
28
  ),
@@ -31,13 +32,13 @@ var __vue_staticRenderFns__ = [];
31
32
  __vue_render__._withStripped = true;
32
33
 
33
34
  /* style */
34
- var __vue_inject_styles__ = undefined;
35
+ const __vue_inject_styles__ = undefined;
35
36
  /* scoped */
36
- var __vue_scope_id__ = undefined;
37
+ const __vue_scope_id__ = undefined;
37
38
  /* module identifier */
38
- var __vue_module_identifier__ = undefined;
39
+ const __vue_module_identifier__ = undefined;
39
40
  /* functional template */
40
- var __vue_is_functional_template__ = false;
41
+ const __vue_is_functional_template__ = false;
41
42
  /* style inject */
42
43
 
43
44
  /* style inject SSR */
@@ -46,7 +47,7 @@ __vue_render__._withStripped = true;
46
47
 
47
48
 
48
49
 
49
- var __vue_component__ = /*#__PURE__*/__vue_normalize__(
50
+ const __vue_component__ = /*#__PURE__*/__vue_normalize__(
50
51
  { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
51
52
  __vue_inject_styles__,
52
53
  __vue_script__,
@@ -59,5 +60,5 @@ __vue_render__._withStripped = true;
59
60
  undefined
60
61
  );
61
62
 
62
- export default __vue_component__;
63
+ export { __vue_component__ as default };
63
64
  //# sourceMappingURL=base-variable-column-grid.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"base-variable-column-grid.vue.js","sources":["../../../src/components/base-variable-column-grid.vue"],"sourcesContent":["<template>\n <BaseGrid :animation=\"animation\" :columns=\"columns\" :items=\"items\">\n <template v-for=\"(_, name) in $scopedSlots\" v-slot:[name]=\"{ item }\">\n <!--\n @slot Customized item rendering. The slot name can either be default or the item's model\n name.\n @binding {GridItem} item - Item to render.\n -->\n <slot :name=\"name\" v-bind=\"{ item }\" />\n </template>\n </BaseGrid>\n</template>\n\n<script lang=\"ts\">\n import Vue from 'vue';\n import { Component, Prop } from 'vue-property-decorator';\n import { ListItem } from '../utils/types';\n import BaseGrid from './base-grid.vue';\n import { XOn } from './decorators/bus.decorators';\n\n /**\n * The `BaseVariableColumnGrid` component is a wrapper of the `BaseGrid` component that listens to\n * the `UserClickedColumnPicker` and the `ColumnsNumberProvided` events and passes the\n * selected number of columns to the grid. It also allows to customize the grid items using the\n * available `scopedSlots`.\n *\n * @public\n */\n @Component({\n components: {\n BaseGrid\n }\n })\n export default class BaseVariableColumnGrid extends Vue {\n /**\n * Animation component that will be used to animate the grid.\n *\n * @public\n */\n @Prop({ default: 'ul' })\n protected animation!: Vue | string;\n\n /**\n * The list of items to be rendered.\n *\n * @remarks The items must have an id property.\n *\n * @public\n */\n @Prop()\n protected items?: ListItem[];\n\n /**\n * The columns to render in the grid.\n *\n * @internal\n */\n protected columns = 0;\n\n /**\n * Handler to update the number of columns when the user selects a new value.\n *\n * @param newColumns - The new columns value.\n *\n * @internal\n */\n @XOn(['ColumnsNumberProvided'])\n setColumns(newColumns: number): void {\n this.columns = newColumns;\n }\n }\n</script>\n\n<docs lang=\"mdx\">\n## Example\n\nThe `BaseVariableColumnGrid` component is a wrapper of the `BaseGrid` component that listens to the\n`ColumnsNumberProvided` events and passes the selected amount of columns to the grid. It also allows\nyou to customize the grid items using the available `scopedSlots`.\n\n```vue\n<template>\n <section class=\"results\">\n <button @click=\"setColumns(4)\" class=\"column-picker-selector\">\n <span class=\"column-picker-selector__text\">4 columns</span>\n </button>\n <BaseVariableColumnGrid :animation=\"animation\" :items=\"items\">\n <template #default=\"{ item }\">\n <span data-test=\"default-slot\">{{ item.id }}</span>\n </template>\n <template #result=\"{ item }\">\n <span data-test=\"result-slot\">{{ 'Result ' + item.id }}</span>\n </template>\n </BaseVariableColumnGrid>\n </section>\n</template>\n\n<script>\n import { BaseVariableColumnGrid, StaggeredFadeAndSlide } from '@empathyco/x-components';\n\n export default {\n name: 'ResultsSection',\n components: {\n BaseVariableColumnGrid\n },\n data() {\n return {\n animation: StaggeredFadeAndSlide,\n items: [\n {\n id: 'res-1',\n modelName: 'Result',\n name: 'Product 1'\n },\n {\n id: 'res-2',\n modelName: 'Result',\n name: 'Product 2'\n }\n ]\n };\n },\n methods: {\n setColumns(columns) {\n this.$x.emit('UserClickedColumnPicker', columns);\n }\n }\n };\n</script>\n```\n</docs>\n"],"names":["const"],"mappings":";;;;AAEAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"base-variable-column-grid.vue.js","sources":["../../../src/components/base-variable-column-grid.vue"],"sourcesContent":["<template>\n <BaseGrid :animation=\"animation\" :columns=\"columns\" :items=\"items\">\n <template v-for=\"(_, name) in $scopedSlots\" v-slot:[name]=\"{ item }\">\n <!--\n @slot Customized item rendering. The slot name can either be default or the item's model\n name.\n @binding {GridItem} item - Item to render.\n -->\n <slot :name=\"name\" v-bind=\"{ item }\" />\n </template>\n </BaseGrid>\n</template>\n\n<script lang=\"ts\">\n import Vue from 'vue';\n import { Component, Prop } from 'vue-property-decorator';\n import { ListItem } from '../utils/types';\n import BaseGrid from './base-grid.vue';\n import { XOn } from './decorators/bus.decorators';\n\n /**\n * The `BaseVariableColumnGrid` component is a wrapper of the `BaseGrid` component that listens to\n * the `UserClickedColumnPicker` and the `ColumnsNumberProvided` events and passes the\n * selected number of columns to the grid. It also allows to customize the grid items using the\n * available `scopedSlots`.\n *\n * @public\n */\n @Component({\n components: {\n BaseGrid\n }\n })\n export default class BaseVariableColumnGrid extends Vue {\n /**\n * Animation component that will be used to animate the grid.\n *\n * @public\n */\n @Prop({ default: 'ul' })\n protected animation!: Vue | string;\n\n /**\n * The list of items to be rendered.\n *\n * @remarks The items must have an id property.\n *\n * @public\n */\n @Prop()\n protected items?: ListItem[];\n\n /**\n * The columns to render in the grid.\n *\n * @internal\n */\n protected columns = 0;\n\n /**\n * Handler to update the number of columns when the user selects a new value.\n *\n * @param newColumns - The new columns value.\n *\n * @internal\n */\n @XOn(['ColumnsNumberProvided'])\n setColumns(newColumns: number): void {\n this.columns = newColumns;\n }\n }\n</script>\n\n<docs lang=\"mdx\">\n## Example\n\nThe `BaseVariableColumnGrid` component is a wrapper of the `BaseGrid` component that listens to the\n`ColumnsNumberProvided` events and passes the selected amount of columns to the grid. It also allows\nyou to customize the grid items using the available `scopedSlots`.\n\n```vue\n<template>\n <section class=\"results\">\n <button @click=\"setColumns(4)\" class=\"column-picker-selector\">\n <span class=\"column-picker-selector__text\">4 columns</span>\n </button>\n <BaseVariableColumnGrid :animation=\"animation\" :items=\"items\">\n <template #default=\"{ item }\">\n <span data-test=\"default-slot\">{{ item.id }}</span>\n </template>\n <template #result=\"{ item }\">\n <span data-test=\"result-slot\">{{ 'Result ' + item.id }}</span>\n </template>\n </BaseVariableColumnGrid>\n </section>\n</template>\n\n<script>\n import { BaseVariableColumnGrid, StaggeredFadeAndSlide } from '@empathyco/x-components';\n\n export default {\n name: 'ResultsSection',\n components: {\n BaseVariableColumnGrid\n },\n data() {\n return {\n animation: StaggeredFadeAndSlide,\n items: [\n {\n id: 'res-1',\n modelName: 'Result',\n name: 'Product 1'\n },\n {\n id: 'res-2',\n modelName: 'Result',\n name: 'Product 2'\n }\n ]\n };\n },\n methods: {\n setColumns(columns) {\n this.$x.emit('UserClickedColumnPicker', columns);\n }\n }\n };\n</script>\n```\n</docs>\n"],"names":[],"mappings":";;;;AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}