@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.
- package/CHANGELOG.md +13 -0
- package/core/index.js +50 -50
- package/design-system/.-mixins.css +0 -1
- package/design-system/badge-default.css +13 -7
- package/design-system/base.css +9 -8
- package/design-system/button-card.css +4 -2
- package/design-system/button-default.css +36 -16
- package/design-system/button-ghost.css +8 -4
- package/design-system/button-pill.css +4 -2
- package/design-system/button-primary.css +4 -2
- package/design-system/button-round.css +4 -2
- package/design-system/button-secondary.css +4 -2
- package/design-system/button-tertiary.css +4 -2
- package/design-system/default-theme.css +1306 -940
- package/design-system/dropdown-card.css +4 -2
- package/design-system/dropdown-default.css +162 -125
- package/design-system/dropdown-l.css +4 -2
- package/design-system/dropdown-line.css +4 -2
- package/design-system/dropdown-m.css +4 -2
- package/design-system/dropdown-pill.css +4 -2
- package/design-system/dropdown-s.css +4 -2
- package/design-system/dropdown-xl.css +4 -2
- package/design-system/facet-card.css +4 -2
- package/design-system/facet-default.css +80 -55
- package/design-system/facet-line.css +4 -2
- package/design-system/facet-outlined.css +4 -2
- package/design-system/filter-default.css +54 -30
- package/design-system/filter-hierarchical.css +25 -17
- package/design-system/filter-justified.css +2 -1
- package/design-system/full-theme.css +4580 -3882
- package/design-system/grid-default.css +14 -9
- package/design-system/icon-default.css +4 -2
- package/design-system/icon-l.css +4 -2
- package/design-system/icon-m.css +4 -2
- package/design-system/icon-s.css +4 -2
- package/design-system/icon-xl.css +4 -2
- package/design-system/input-card.css +4 -2
- package/design-system/input-default.css +43 -22
- package/design-system/input-group-card.css +14 -10
- package/design-system/input-group-default.css +116 -80
- package/design-system/input-group-line.css +34 -22
- package/design-system/input-group-pill.css +4 -2
- package/design-system/input-line.css +4 -2
- package/design-system/input-pill.css +4 -2
- package/design-system/list-default.css +91 -67
- package/design-system/list-gap.css +542 -342
- package/design-system/list-padding.css +298 -193
- package/design-system/message-default.css +31 -17
- package/design-system/option-list-bottom.css +51 -47
- package/design-system/option-list-default.css +106 -93
- package/design-system/picture-card.css +4 -2
- package/design-system/picture-colored.css +13 -8
- package/design-system/picture-cover.css +7 -4
- package/design-system/picture-default.css +31 -22
- package/design-system/picture-fixed-ratio.css +17 -10
- package/design-system/progress-bar-progress-bar.css +10 -8
- package/design-system/result-card.css +4 -2
- package/design-system/result-default.css +41 -32
- package/design-system/row-default.css +97 -62
- package/design-system/row-gap.css +42 -21
- package/design-system/row-padding.css +12 -6
- package/design-system/scroll-default.css +27 -19
- package/design-system/sliding-panel-default.css +48 -34
- package/design-system/sliding-panel-default.token.css +2 -1
- package/design-system/suggestion-default.css +65 -37
- package/design-system/suggestion-group-default.css +50 -28
- package/design-system/tag-card.css +4 -2
- package/design-system/tag-default.css +132 -105
- package/design-system/tag-ghost.css +4 -2
- package/design-system/tag-pill.css +4 -2
- package/design-system/typography-accent.css +2 -1
- package/design-system/typography-accent.token.css +2 -1
- package/design-system/typography-bold.css +10 -9
- package/design-system/typography-default.css +14 -7
- package/design-system/typography-light.css +10 -9
- package/design-system/typography-secondary.css +2 -1
- package/design-system/typography-secondary.token.css +2 -1
- package/design-system/typography-stroke.css +10 -9
- package/design-system/utilities-background-color.css +22 -11
- package/design-system/utilities-border-color.css +22 -11
- package/design-system/utilities-border-radius.css +1004 -1001
- package/design-system/utilities-border-width.css +245 -244
- package/design-system/utilities-box-shadow.css +44 -42
- package/design-system/utilities-dev-mode.css +2 -1
- package/design-system/utilities-flex.css +22 -11
- package/design-system/utilities-font-color.css +22 -11
- package/design-system/utilities-font-size.css +40 -39
- package/design-system/utilities-font-weight.css +6 -5
- package/design-system/utilities-line-clamp.css +10 -5
- package/design-system/utilities-line-height.css +12 -6
- package/design-system/utilities-margin.css +308 -307
- package/design-system/utilities-padding.css +294 -293
- package/design-system/utilities-position.css +10 -5
- package/design-system/utilities-text-decoration.css +8 -4
- package/design-system/utilities-text-transform.css +8 -4
- package/device/index.js +3 -3
- package/empathize/index.js +3 -3
- package/extra-params/index.js +5 -5
- package/facets/index.js +10 -10
- package/history-queries/index.js +6 -6
- package/identifier-results/index.js +4 -4
- package/js/components/animations/animate-width.vue.js +11 -11
- package/js/components/animations/animate-width.vue.js.map +1 -1
- package/js/components/animations/animate-width.vue_rollup-plugin-vue_script.vue.js +18 -0
- package/js/components/animations/animate-width.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/animations/animations.mixin.js +6 -6
- package/js/components/animations/animations.mixin.js.map +1 -1
- package/js/components/animations/collapse-from-top.vue.js +12 -12
- package/js/components/animations/collapse-from-top.vue.js.map +1 -1
- package/js/components/animations/collapse-from-top.vue_rollup-plugin-vue_script.vue.js +19 -0
- package/js/components/animations/collapse-from-top.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/animations/collapse-height.vue.js +11 -11
- package/js/components/animations/collapse-height.vue.js.map +1 -1
- package/js/components/animations/collapse-height.vue_rollup-plugin-vue_script.vue.js +22 -0
- package/js/components/animations/collapse-height.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/animations/collapse-width.vue.js +11 -11
- package/js/components/animations/collapse-width.vue.js.map +1 -1
- package/js/components/animations/collapse-width.vue_rollup-plugin-vue_script.vue.js +22 -0
- package/js/components/animations/collapse-width.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/animations/cross-fade.vue.js +11 -11
- package/js/components/animations/cross-fade.vue.js.map +1 -1
- package/js/components/animations/cross-fade.vue_rollup-plugin-vue_script.vue.js +19 -0
- package/js/components/animations/cross-fade.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/animations/fade-and-slide.vue.js +11 -11
- package/js/components/animations/fade-and-slide.vue.js.map +1 -1
- package/js/components/animations/fade-and-slide.vue_rollup-plugin-vue_script.vue.js +22 -0
- package/js/components/animations/fade-and-slide.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/animations/staggered-fade-and-slide.vue.js +11 -11
- package/js/components/animations/staggered-fade-and-slide.vue.js.map +1 -1
- package/js/components/animations/staggered-fade-and-slide.vue_rollup-plugin-vue_script.vue.js +22 -0
- package/js/components/animations/staggered-fade-and-slide.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/animations/staggering-transition-group.vue.js +11 -11
- package/js/components/animations/staggering-transition-group.vue.js.map +1 -1
- package/js/components/animations/staggering-transition-group.vue_rollup-plugin-vue_script.vue.js +319 -0
- package/js/components/animations/staggering-transition-group.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/animations/translate-from-left.vue.js +11 -11
- package/js/components/animations/translate-from-left.vue.js.map +1 -1
- package/js/components/animations/translate-from-left.vue_rollup-plugin-vue_script.vue.js +19 -0
- package/js/components/animations/translate-from-left.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/animations/translate-from-right.vue.js +11 -11
- package/js/components/animations/translate-from-right.vue.js.map +1 -1
- package/js/components/animations/translate-from-right.vue_rollup-plugin-vue_script.vue.js +19 -0
- package/js/components/animations/translate-from-right.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/auto-progress-bar.vue.js +13 -12
- package/js/components/auto-progress-bar.vue.js.map +1 -1
- package/js/components/auto-progress-bar.vue_rollup-plugin-vue_script.vue.js +34 -0
- package/js/components/auto-progress-bar.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/base-dropdown.vue.js +34 -22
- package/js/components/base-dropdown.vue.js.map +1 -1
- package/js/components/{base-dropdown.vue_rollup-plugin-vue=script.js → base-dropdown.vue_rollup-plugin-vue_script.vue.js} +125 -139
- package/js/components/base-dropdown.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/base-event-button.vue.js +9 -9
- package/js/components/base-event-button.vue.js.map +1 -1
- package/js/components/base-event-button.vue_rollup-plugin-vue_script.vue.js +30 -0
- package/js/components/base-event-button.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/base-grid.vue.js +15 -13
- package/js/components/base-grid.vue.js.map +1 -1
- package/js/components/base-grid.vue_rollup-plugin-vue_script.vue.js +95 -0
- package/js/components/base-grid.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/base-keyboard-navigation.vue.js +15 -12
- package/js/components/base-keyboard-navigation.vue.js.map +1 -1
- package/js/components/base-keyboard-navigation.vue_rollup-plugin-vue_script.vue.js +110 -0
- package/js/components/base-keyboard-navigation.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/base-rating.vue.js +21 -16
- package/js/components/base-rating.vue.js.map +1 -1
- package/js/components/base-rating.vue_rollup-plugin-vue_script.vue.js +50 -0
- package/js/components/base-rating.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/base-variable-column-grid.vue.js +11 -10
- package/js/components/base-variable-column-grid.vue.js.map +1 -1
- package/js/components/base-variable-column-grid.vue_rollup-plugin-vue_script.vue.js +55 -0
- package/js/components/base-variable-column-grid.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/column-picker/base-column-picker-dropdown.vue.js +15 -12
- package/js/components/column-picker/base-column-picker-dropdown.vue.js.map +1 -1
- package/js/components/column-picker/base-column-picker-dropdown.vue_rollup-plugin-vue_script.vue.js +42 -0
- package/js/components/column-picker/base-column-picker-dropdown.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/column-picker/base-column-picker-list.vue.js +15 -13
- package/js/components/column-picker/base-column-picker-list.vue.js.map +1 -1
- package/js/components/column-picker/base-column-picker-list.vue_rollup-plugin-vue_script.vue.js +48 -0
- package/js/components/column-picker/base-column-picker-list.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/column-picker/column-picker.mixin.js +46 -53
- package/js/components/column-picker/column-picker.mixin.js.map +1 -1
- package/js/components/currency/base-currency.vue.js +9 -9
- package/js/components/currency/base-currency.vue.js.map +1 -1
- package/js/components/currency/{base-currency.vue_rollup-plugin-vue=script.js → base-currency.vue_rollup-plugin-vue_script.vue.js} +39 -51
- package/js/components/currency/base-currency.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/decorators/bus.decorators.js +30 -41
- package/js/components/decorators/bus.decorators.js.map +1 -1
- package/js/components/decorators/debounce.decorators.js +6 -12
- package/js/components/decorators/debounce.decorators.js.map +1 -1
- package/js/components/decorators/injection.consts.js +1 -1
- package/js/components/decorators/injection.consts.js.map +1 -1
- package/js/components/decorators/injection.decorators.js +22 -26
- package/js/components/decorators/injection.decorators.js.map +1 -1
- package/js/components/decorators/store.decorators.js +11 -13
- package/js/components/decorators/store.decorators.js.map +1 -1
- package/js/components/filters/labels/base-price-filter-label.vue.js +9 -9
- package/js/components/filters/labels/base-price-filter-label.vue.js.map +1 -1
- package/js/components/filters/labels/base-price-filter-label.vue_rollup-plugin-vue_script.vue.js +73 -0
- package/js/components/filters/labels/base-price-filter-label.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/filters/labels/base-rating-filter-label.vue.js +11 -10
- package/js/components/filters/labels/base-rating-filter-label.vue.js.map +1 -1
- package/js/components/filters/labels/base-rating-filter-label.vue_rollup-plugin-vue_script.vue.js +41 -0
- package/js/components/filters/labels/base-rating-filter-label.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/global-x-bus.vue.js +9 -9
- package/js/components/global-x-bus.vue.js.map +1 -1
- package/js/components/global-x-bus.vue_rollup-plugin-vue_script.vue.js +41 -0
- package/js/components/global-x-bus.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/arrow-down.vue.js +12 -10
- package/js/components/icons/arrow-down.vue.js.map +1 -1
- package/js/components/icons/arrow-down.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/arrow-down.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/arrow-left.vue.js +12 -10
- package/js/components/icons/arrow-left.vue.js.map +1 -1
- package/js/components/icons/arrow-left.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/arrow-left.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/arrow-right.vue.js +12 -10
- package/js/components/icons/arrow-right.vue.js.map +1 -1
- package/js/components/icons/arrow-right.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/arrow-right.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/arrow-up.vue.js +12 -10
- package/js/components/icons/arrow-up.vue.js.map +1 -1
- package/js/components/icons/arrow-up.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/arrow-up.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/bag.vue.js +12 -10
- package/js/components/icons/bag.vue.js.map +1 -1
- package/js/components/icons/bag.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/bag.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/bar-code.vue.js +12 -10
- package/js/components/icons/bar-code.vue.js.map +1 -1
- package/js/components/icons/bar-code.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/bar-code.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/barcode-tiny.vue.js +12 -10
- package/js/components/icons/barcode-tiny.vue.js.map +1 -1
- package/js/components/icons/barcode-tiny.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/barcode-tiny.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/cart.vue.js +12 -10
- package/js/components/icons/cart.vue.js.map +1 -1
- package/js/components/icons/cart.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/cart.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/check-tiny.vue.js +12 -10
- package/js/components/icons/check-tiny.vue.js.map +1 -1
- package/js/components/icons/check-tiny.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/check-tiny.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/check.vue.js +12 -10
- package/js/components/icons/check.vue.js.map +1 -1
- package/js/components/icons/check.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/check.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/checkbox-card-selected.vue.js +12 -10
- package/js/components/icons/checkbox-card-selected.vue.js.map +1 -1
- 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
- package/js/components/icons/checkbox-card-selected.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/checkbox-card-unselected.vue.js +12 -10
- package/js/components/icons/checkbox-card-unselected.vue.js.map +1 -1
- 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
- package/js/components/icons/checkbox-card-unselected.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/checkbox-selected.vue.js +12 -10
- package/js/components/icons/checkbox-selected.vue.js.map +1 -1
- package/js/components/icons/checkbox-selected.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/checkbox-selected.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/checkbox-unselected.vue.js +12 -10
- package/js/components/icons/checkbox-unselected.vue.js.map +1 -1
- package/js/components/icons/checkbox-unselected.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/checkbox-unselected.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/chevron-down.vue.js +12 -10
- package/js/components/icons/chevron-down.vue.js.map +1 -1
- package/js/components/icons/chevron-down.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/chevron-down.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/chevron-left.vue.js +12 -10
- package/js/components/icons/chevron-left.vue.js.map +1 -1
- package/js/components/icons/chevron-left.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/chevron-left.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/chevron-right.vue.js +12 -10
- package/js/components/icons/chevron-right.vue.js.map +1 -1
- package/js/components/icons/chevron-right.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/chevron-right.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/chevron-tiny-down.vue.js +12 -10
- package/js/components/icons/chevron-tiny-down.vue.js.map +1 -1
- package/js/components/icons/chevron-tiny-down.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/chevron-tiny-down.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/chevron-tiny-left.vue.js +12 -10
- package/js/components/icons/chevron-tiny-left.vue.js.map +1 -1
- package/js/components/icons/chevron-tiny-left.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/chevron-tiny-left.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/chevron-tiny-right.vue.js +12 -10
- package/js/components/icons/chevron-tiny-right.vue.js.map +1 -1
- package/js/components/icons/chevron-tiny-right.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/chevron-tiny-right.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/chevron-tiny-up.vue.js +12 -10
- package/js/components/icons/chevron-tiny-up.vue.js.map +1 -1
- package/js/components/icons/chevron-tiny-up.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/chevron-tiny-up.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/chevron-up.vue.js +12 -10
- package/js/components/icons/chevron-up.vue.js.map +1 -1
- package/js/components/icons/chevron-up.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/chevron-up.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/cross-tiny.vue.js +12 -10
- package/js/components/icons/cross-tiny.vue.js.map +1 -1
- package/js/components/icons/cross-tiny.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/cross-tiny.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/cross.vue.js +12 -10
- package/js/components/icons/cross.vue.js.map +1 -1
- package/js/components/icons/cross.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/cross.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/curated-check.vue.js +12 -10
- package/js/components/icons/curated-check.vue.js.map +1 -1
- package/js/components/icons/curated-check.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/curated-check.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/filters.vue.js +12 -10
- package/js/components/icons/filters.vue.js.map +1 -1
- package/js/components/icons/filters.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/filters.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/grid-1-col.vue.js +12 -10
- package/js/components/icons/grid-1-col.vue.js.map +1 -1
- package/js/components/icons/grid-1-col.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/grid-1-col.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/grid-2-col.vue.js +12 -10
- package/js/components/icons/grid-2-col.vue.js.map +1 -1
- package/js/components/icons/grid-2-col.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/grid-2-col.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/grid-2-rows.vue.js +12 -10
- package/js/components/icons/grid-2-rows.vue.js.map +1 -1
- package/js/components/icons/grid-2-rows.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/grid-2-rows.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/hide.vue.js +12 -10
- package/js/components/icons/hide.vue.js.map +1 -1
- package/js/components/icons/hide.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/hide.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/history-tiny.vue.js +12 -10
- package/js/components/icons/history-tiny.vue.js.map +1 -1
- package/js/components/icons/history-tiny.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/history-tiny.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/history.vue.js +12 -10
- package/js/components/icons/history.vue.js.map +1 -1
- package/js/components/icons/history.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/history.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/light-bulb-off.vue.js +12 -10
- package/js/components/icons/light-bulb-off.vue.js.map +1 -1
- package/js/components/icons/light-bulb-off.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/light-bulb-off.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/light-bulb-on.vue.js +13 -11
- package/js/components/icons/light-bulb-on.vue.js.map +1 -1
- package/js/components/icons/light-bulb-on.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/light-bulb-on.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/menu.vue.js +12 -10
- package/js/components/icons/menu.vue.js.map +1 -1
- package/js/components/icons/menu.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/menu.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/minus-tiny.vue.js +12 -10
- package/js/components/icons/minus-tiny.vue.js.map +1 -1
- package/js/components/icons/minus-tiny.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/minus-tiny.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/minus.vue.js +12 -10
- package/js/components/icons/minus.vue.js.map +1 -1
- package/js/components/icons/minus.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/minus.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/nq-1.vue.js +12 -10
- package/js/components/icons/nq-1.vue.js.map +1 -1
- package/js/components/icons/nq-1.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/nq-1.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/nq-2.vue.js +12 -10
- package/js/components/icons/nq-2.vue.js.map +1 -1
- package/js/components/icons/nq-2.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/nq-2.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/nq-3.vue.js +12 -10
- package/js/components/icons/nq-3.vue.js.map +1 -1
- package/js/components/icons/nq-3.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/nq-3.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/nq-4.vue.js +12 -10
- package/js/components/icons/nq-4.vue.js.map +1 -1
- package/js/components/icons/nq-4.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/nq-4.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/plus.vue.js +12 -10
- package/js/components/icons/plus.vue.js.map +1 -1
- package/js/components/icons/plus.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/plus.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/search-tiny.vue.js +12 -10
- package/js/components/icons/search-tiny.vue.js.map +1 -1
- package/js/components/icons/search-tiny.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/search-tiny.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/search.vue.js +12 -10
- package/js/components/icons/search.vue.js.map +1 -1
- package/js/components/icons/search.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/search.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/show.vue.js +12 -10
- package/js/components/icons/show.vue.js.map +1 -1
- package/js/components/icons/show.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/show.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/star.vue.js +12 -10
- package/js/components/icons/star.vue.js.map +1 -1
- package/js/components/icons/star.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/star.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/tag.vue.js +11 -10
- package/js/components/icons/tag.vue.js.map +1 -1
- package/js/components/icons/tag.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/tag.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/trash-open.vue.js +12 -10
- package/js/components/icons/trash-open.vue.js.map +1 -1
- package/js/components/icons/trash-open.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/trash-open.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/trash.vue.js +12 -10
- package/js/components/icons/trash.vue.js.map +1 -1
- package/js/components/icons/trash.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/trash.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/trending-tiny.vue.js +12 -10
- package/js/components/icons/trending-tiny.vue.js.map +1 -1
- package/js/components/icons/trending-tiny.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/trending-tiny.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/trending.vue.js +12 -10
- package/js/components/icons/trending.vue.js.map +1 -1
- package/js/components/icons/trending.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/trending.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/icons/user.vue.js +12 -10
- package/js/components/icons/user.vue.js.map +1 -1
- package/js/components/icons/user.vue_rollup-plugin-vue_script.vue.js +4 -0
- package/js/components/icons/user.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/items-list-injection.mixin.js +22 -31
- package/js/components/items-list-injection.mixin.js.map +1 -1
- package/js/components/items-list.vue.js +11 -10
- package/js/components/items-list.vue.js.map +1 -1
- package/js/components/items-list.vue_rollup-plugin-vue_script.vue.js +44 -0
- package/js/components/items-list.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/layouts/fixed-header-and-asides-layout.vue.js +59 -35
- package/js/components/layouts/fixed-header-and-asides-layout.vue.js.map +1 -1
- package/js/components/layouts/fixed-header-and-asides-layout.vue_rollup-plugin-vue_script.vue.js +52 -0
- package/js/components/layouts/fixed-header-and-asides-layout.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/layouts/layouts.mixin.js +16 -25
- package/js/components/layouts/layouts.mixin.js.map +1 -1
- package/js/components/layouts/multi-column-max-width-layout.vue.js +80 -46
- package/js/components/layouts/multi-column-max-width-layout.vue.js.map +1 -1
- package/js/components/layouts/multi-column-max-width-layout.vue_rollup-plugin-vue_script.vue.js +28 -0
- package/js/components/layouts/multi-column-max-width-layout.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/layouts/single-column-layout.vue.js +67 -39
- package/js/components/layouts/single-column-layout.vue.js.map +1 -1
- package/js/components/layouts/single-column-layout.vue_rollup-plugin-vue_script.vue.js +29 -0
- package/js/components/layouts/single-column-layout.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/location-provider.vue.js +9 -9
- package/js/components/location-provider.vue.js.map +1 -1
- package/js/components/location-provider.vue_rollup-plugin-vue_script.vue.js +23 -0
- package/js/components/location-provider.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/modals/base-events-modal-close.vue.js +9 -9
- package/js/components/modals/base-events-modal-close.vue.js.map +1 -1
- package/js/components/modals/base-events-modal-close.vue_rollup-plugin-vue_script.vue.js +28 -0
- package/js/components/modals/base-events-modal-close.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/modals/base-events-modal-open.vue.js +9 -9
- package/js/components/modals/base-events-modal-open.vue.js.map +1 -1
- package/js/components/modals/base-events-modal-open.vue_rollup-plugin-vue_script.vue.js +28 -0
- package/js/components/modals/base-events-modal-open.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/modals/base-events-modal.vue.js +9 -9
- package/js/components/modals/base-events-modal.vue.js.map +1 -1
- 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
- package/js/components/modals/base-events-modal.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/modals/base-id-modal-close.vue.js +9 -9
- package/js/components/modals/base-id-modal-close.vue.js.map +1 -1
- package/js/components/modals/base-id-modal-close.vue_rollup-plugin-vue_script.vue.js +28 -0
- package/js/components/modals/base-id-modal-close.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/modals/base-id-modal-open.vue.js +9 -9
- package/js/components/modals/base-id-modal-open.vue.js.map +1 -1
- package/js/components/modals/base-id-modal-open.vue_rollup-plugin-vue_script.vue.js +28 -0
- package/js/components/modals/base-id-modal-open.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/modals/base-id-modal.vue.js +9 -9
- package/js/components/modals/base-id-modal.vue.js.map +1 -1
- 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
- package/js/components/modals/base-id-modal.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/modals/base-modal.vue.js +15 -13
- package/js/components/modals/base-modal.vue.js.map +1 -1
- package/js/components/modals/{base-modal.vue_rollup-plugin-vue=script.js → base-modal.vue_rollup-plugin-vue_script.vue.js} +36 -38
- package/js/components/modals/base-modal.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/no-element.js +3 -4
- package/js/components/no-element.js.map +1 -1
- package/js/components/panels/base-header-toggle-panel.vue.js +15 -13
- package/js/components/panels/base-header-toggle-panel.vue.js.map +1 -1
- package/js/components/panels/base-header-toggle-panel.vue_rollup-plugin-vue_script.vue.js +55 -0
- package/js/components/panels/base-header-toggle-panel.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/panels/base-id-toggle-panel-button.vue.js +9 -9
- package/js/components/panels/base-id-toggle-panel-button.vue.js.map +1 -1
- package/js/components/panels/base-id-toggle-panel-button.vue_rollup-plugin-vue_script.vue.js +61 -0
- package/js/components/panels/base-id-toggle-panel-button.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/panels/base-id-toggle-panel.vue.js +9 -9
- package/js/components/panels/base-id-toggle-panel.vue.js.map +1 -1
- package/js/components/panels/base-id-toggle-panel.vue_rollup-plugin-vue_script.vue.js +78 -0
- package/js/components/panels/base-id-toggle-panel.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/panels/base-toggle-panel.vue.js +11 -10
- package/js/components/panels/base-toggle-panel.vue.js.map +1 -1
- package/js/components/panels/base-toggle-panel.vue_rollup-plugin-vue_script.vue.js +25 -0
- package/js/components/panels/base-toggle-panel.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/result/base-result-add-to-cart.vue.js +9 -9
- package/js/components/result/base-result-add-to-cart.vue.js.map +1 -1
- package/js/components/result/base-result-add-to-cart.vue_rollup-plugin-vue_script.vue.js +35 -0
- package/js/components/result/base-result-add-to-cart.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/result/base-result-current-price.vue.js +13 -11
- package/js/components/result/base-result-current-price.vue.js.map +1 -1
- package/js/components/result/base-result-current-price.vue_rollup-plugin-vue_script.vue.js +40 -0
- package/js/components/result/base-result-current-price.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/result/base-result-fallback-image.vue.js +11 -10
- package/js/components/result/base-result-fallback-image.vue.js.map +1 -1
- 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
- package/js/components/result/base-result-fallback-image.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/result/base-result-image.vue.js +17 -14
- package/js/components/result/base-result-image.vue.js.map +1 -1
- package/js/components/result/base-result-image.vue_rollup-plugin-vue_script.vue.js +132 -0
- package/js/components/result/base-result-image.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/result/base-result-link.vue.js +11 -11
- package/js/components/result/base-result-link.vue.js.map +1 -1
- package/js/components/result/base-result-link.vue_rollup-plugin-vue_script.vue.js +41 -0
- package/js/components/result/base-result-link.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/result/base-result-placeholder-image.vue.js +11 -10
- package/js/components/result/base-result-placeholder-image.vue.js.map +1 -1
- 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
- package/js/components/result/base-result-placeholder-image.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/result/base-result-previous-price.vue.js +13 -11
- package/js/components/result/base-result-previous-price.vue.js.map +1 -1
- package/js/components/result/base-result-previous-price.vue_rollup-plugin-vue_script.vue.js +27 -0
- package/js/components/result/base-result-previous-price.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/result/base-result-rating.vue.js +17 -14
- package/js/components/result/base-result-rating.vue.js.map +1 -1
- package/js/components/result/base-result-rating.vue_rollup-plugin-vue_script.vue.js +38 -0
- package/js/components/result/base-result-rating.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/scroll/base-scroll.vue.js +11 -11
- package/js/components/scroll/base-scroll.vue.js.map +1 -1
- package/js/components/scroll/base-scroll.vue_rollup-plugin-vue_script.vue.js +20 -0
- package/js/components/scroll/base-scroll.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/scroll/scroll.mixin.js +146 -177
- package/js/components/scroll/scroll.mixin.js.map +1 -1
- package/js/components/sliding-panel.vue.js +17 -14
- package/js/components/sliding-panel.vue.js.map +1 -1
- package/js/components/{sliding-panel.vue_rollup-plugin-vue=script.js → sliding-panel.vue_rollup-plugin-vue_script.vue.js} +64 -71
- package/js/components/sliding-panel.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/snippet-callbacks.vue.js +9 -9
- package/js/components/snippet-callbacks.vue.js.map +1 -1
- package/js/components/snippet-callbacks.vue_rollup-plugin-vue_script.vue.js +51 -0
- package/js/components/snippet-callbacks.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/suggestions/base-suggestion.vue.js +13 -11
- package/js/components/suggestions/base-suggestion.vue.js.map +1 -1
- package/js/components/suggestions/base-suggestion.vue_rollup-plugin-vue_script.vue.js +127 -0
- package/js/components/suggestions/base-suggestion.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/suggestions/base-suggestions.vue.js +13 -12
- package/js/components/suggestions/base-suggestions.vue.js.map +1 -1
- package/js/components/suggestions/base-suggestions.vue_rollup-plugin-vue_script.vue.js +72 -0
- package/js/components/suggestions/base-suggestions.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/components/x-component.utils.js +1 -2
- package/js/components/x-component.utils.js.map +1 -1
- package/js/directives/infinite-scroll/infinite-scroll.js +15 -20
- package/js/directives/infinite-scroll/infinite-scroll.js.map +1 -1
- package/js/filters/compile-message.filter.js +1 -4
- package/js/filters/compile-message.filter.js.map +1 -1
- package/js/filters/filters.registry.js +1 -1
- package/js/filters/filters.registry.js.map +1 -1
- package/js/index.js +119 -119
- package/js/plugins/x-bus.js +16 -19
- package/js/plugins/x-bus.js.map +1 -1
- package/js/plugins/x-emitters.js +32 -29
- package/js/plugins/x-emitters.js.map +1 -1
- package/js/plugins/x-plugin.alias.js +27 -46
- package/js/plugins/x-plugin.alias.js.map +1 -1
- package/js/plugins/x-plugin.js +110 -148
- package/js/plugins/x-plugin.js.map +1 -1
- package/js/plugins/x-plugin.mixin.js +13 -12
- package/js/plugins/x-plugin.mixin.js.map +1 -1
- package/js/plugins/x-plugin.utils.js +1 -1
- package/js/plugins/x-plugin.utils.js.map +1 -1
- package/js/services/directional-focus-navigation.service.js +72 -78
- package/js/services/directional-focus-navigation.service.js.map +1 -1
- package/js/store/utils/fetch-and-save-action.utils.js +12 -13
- package/js/store/utils/fetch-and-save-action.utils.js.map +1 -1
- package/js/store/utils/getters-proxy.utils.js +10 -14
- package/js/store/utils/getters-proxy.utils.js.map +1 -1
- package/js/store/x.module.js +3 -3
- package/js/store/x.module.js.map +1 -1
- package/js/utils/array.js +8 -9
- package/js/utils/array.js.map +1 -1
- package/js/utils/cancellable-promise.js +6 -6
- package/js/utils/cancellable-promise.js.map +1 -1
- package/js/utils/currency-formatter.js +18 -21
- package/js/utils/currency-formatter.js.map +1 -1
- package/js/utils/debounce.js +9 -14
- package/js/utils/debounce.js.map +1 -1
- package/js/utils/filters.js +2 -2
- package/js/utils/filters.js.map +1 -1
- package/js/utils/get-url-parameters.js +3 -3
- package/js/utils/get-url-parameters.js.map +1 -1
- package/js/utils/normalize.js +4 -5
- package/js/utils/normalize.js.map +1 -1
- package/js/utils/number.js +1 -2
- package/js/utils/number.js.map +1 -1
- package/js/utils/object.js +8 -8
- package/js/utils/object.js.map +1 -1
- package/js/utils/origin.js +2 -3
- package/js/utils/origin.js.map +1 -1
- package/js/utils/sanitize.js +3 -3
- package/js/utils/sanitize.js.map +1 -1
- package/js/utils/storage.js +2 -2
- package/js/utils/storage.js.map +1 -1
- package/js/utils/throttle.js +6 -10
- package/js/utils/throttle.js.map +1 -1
- package/js/wiring/namespaced-wires.factory.js +9 -13
- package/js/wiring/namespaced-wires.factory.js.map +1 -1
- package/js/wiring/namespaced-wires.operators.js +2 -7
- package/js/wiring/namespaced-wires.operators.js.map +1 -1
- package/js/wiring/wires-operators.utils.js +5 -6
- package/js/wiring/wires-operators.utils.js.map +1 -1
- package/js/wiring/wires.factory.js +22 -29
- package/js/wiring/wires.factory.js.map +1 -1
- package/js/wiring/wires.operators.js +17 -40
- package/js/wiring/wires.operators.js.map +1 -1
- package/js/x-installer/api/base-api.js +17 -20
- package/js/x-installer/api/base-api.js.map +1 -1
- package/js/x-installer/x-installer/x-installer.js +74 -87
- package/js/x-installer/x-installer/x-installer.js.map +1 -1
- package/js/x-modules/device/components/device-detector.vue.js +9 -9
- package/js/x-modules/device/components/device-detector.vue.js.map +1 -1
- package/js/x-modules/device/components/device-detector.vue_rollup-plugin-vue_script.vue.js +122 -0
- package/js/x-modules/device/components/device-detector.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/device/store/emitters.js +1 -4
- package/js/x-modules/device/store/emitters.js.map +1 -1
- package/js/x-modules/device/store/module.js +4 -4
- package/js/x-modules/device/store/module.js.map +1 -1
- package/js/x-modules/device/wiring.js +5 -5
- package/js/x-modules/device/wiring.js.map +1 -1
- package/js/x-modules/device/x-module.js +2 -2
- package/js/x-modules/device/x-module.js.map +1 -1
- package/js/x-modules/empathize/components/empathize.vue.js +11 -10
- package/js/x-modules/empathize/components/empathize.vue.js.map +1 -1
- package/js/x-modules/empathize/components/{empathize.vue_rollup-plugin-vue=script.js → empathize.vue_rollup-plugin-vue_script.vue.js} +49 -51
- package/js/x-modules/empathize/components/empathize.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/empathize/store/emitters.js +1 -4
- package/js/x-modules/empathize/store/emitters.js.map +1 -1
- package/js/x-modules/empathize/store/module.js +4 -4
- package/js/x-modules/empathize/store/module.js.map +1 -1
- package/js/x-modules/empathize/wiring.js +6 -6
- package/js/x-modules/empathize/wiring.js.map +1 -1
- package/js/x-modules/empathize/x-module.js +2 -2
- package/js/x-modules/empathize/x-module.js.map +1 -1
- package/js/x-modules/extra-params/components/extra-params.vue.js +9 -9
- package/js/x-modules/extra-params/components/extra-params.vue.js.map +1 -1
- 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
- package/js/x-modules/extra-params/components/extra-params.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/extra-params/components/renderless-extra-param.vue.js +11 -10
- package/js/x-modules/extra-params/components/renderless-extra-param.vue.js.map +1 -1
- 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
- package/js/x-modules/extra-params/components/renderless-extra-param.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/extra-params/components/snippet-config-extra-params.vue.js +9 -9
- package/js/x-modules/extra-params/components/snippet-config-extra-params.vue.js.map +1 -1
- 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
- package/js/x-modules/extra-params/components/snippet-config-extra-params.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/extra-params/store/emitters.js +2 -5
- package/js/x-modules/extra-params/store/emitters.js.map +1 -1
- package/js/x-modules/extra-params/store/module.js +5 -7
- package/js/x-modules/extra-params/store/module.js.map +1 -1
- package/js/x-modules/extra-params/wiring.js +9 -10
- package/js/x-modules/extra-params/wiring.js.map +1 -1
- package/js/x-modules/extra-params/x-module.js +2 -2
- package/js/x-modules/extra-params/x-module.js.map +1 -1
- package/js/x-modules/facets/components/clear-filters.vue.js +13 -11
- package/js/x-modules/facets/components/clear-filters.vue.js.map +1 -1
- package/js/x-modules/facets/components/clear-filters.vue_rollup-plugin-vue_script.vue.js +213 -0
- package/js/x-modules/facets/components/clear-filters.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/facets/components/facets/facets-provider.vue.js +11 -11
- package/js/x-modules/facets/components/facets/facets-provider.vue.js.map +1 -1
- 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
- package/js/x-modules/facets/components/facets/facets-provider.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/facets/components/facets/facets.vue.js +15 -13
- package/js/x-modules/facets/components/facets/facets.vue.js.map +1 -1
- package/js/x-modules/facets/components/facets/facets.vue_rollup-plugin-vue_script.vue.js +108 -0
- package/js/x-modules/facets/components/facets/facets.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/facets/components/filters/all-filter.vue.js +11 -10
- package/js/x-modules/facets/components/filters/all-filter.vue.js.map +1 -1
- 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
- package/js/x-modules/facets/components/filters/all-filter.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/facets/components/filters/editable-number-range-filter.vue.js +19 -15
- package/js/x-modules/facets/components/filters/editable-number-range-filter.vue.js.map +1 -1
- package/js/x-modules/facets/components/filters/editable-number-range-filter.vue_rollup-plugin-vue_script.vue.js +191 -0
- package/js/x-modules/facets/components/filters/editable-number-range-filter.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/facets/components/filters/hierarchical-filter.vue.js +27 -18
- package/js/x-modules/facets/components/filters/hierarchical-filter.vue.js.map +1 -1
- package/js/x-modules/facets/components/filters/hierarchical-filter.vue_rollup-plugin-vue_script.vue.js +205 -0
- package/js/x-modules/facets/components/filters/hierarchical-filter.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/facets/components/filters/number-range-filter.vue.js +17 -13
- package/js/x-modules/facets/components/filters/number-range-filter.vue.js.map +1 -1
- 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
- package/js/x-modules/facets/components/filters/number-range-filter.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/facets/components/filters/renderless-filter.vue.js +9 -9
- package/js/x-modules/facets/components/filters/renderless-filter.vue.js.map +1 -1
- 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
- package/js/x-modules/facets/components/filters/renderless-filter.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/facets/components/filters/simple-filter.vue.js +17 -13
- package/js/x-modules/facets/components/filters/simple-filter.vue.js.map +1 -1
- 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
- package/js/x-modules/facets/components/filters/simple-filter.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/facets/components/lists/exclude-filters-with-no-results.vue.js +9 -9
- package/js/x-modules/facets/components/lists/exclude-filters-with-no-results.vue.js.map +1 -1
- 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
- package/js/x-modules/facets/components/lists/exclude-filters-with-no-results.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/facets/components/lists/filters-injection.mixin.js +44 -57
- package/js/x-modules/facets/components/lists/filters-injection.mixin.js.map +1 -1
- package/js/x-modules/facets/components/lists/filters-list.vue.js +11 -11
- package/js/x-modules/facets/components/lists/filters-list.vue.js.map +1 -1
- 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
- package/js/x-modules/facets/components/lists/filters-list.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/facets/components/lists/filters-search.vue.js +15 -13
- package/js/x-modules/facets/components/lists/filters-search.vue.js.map +1 -1
- 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
- package/js/x-modules/facets/components/lists/filters-search.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/facets/components/lists/selected-filters-list.vue.js +20 -14
- package/js/x-modules/facets/components/lists/selected-filters-list.vue.js.map +1 -1
- 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
- package/js/x-modules/facets/components/lists/selected-filters-list.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/facets/components/lists/selected-filters.vue.js +11 -10
- package/js/x-modules/facets/components/lists/selected-filters.vue.js.map +1 -1
- 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
- package/js/x-modules/facets/components/lists/selected-filters.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/facets/components/lists/sliced-filters.vue.js +21 -15
- package/js/x-modules/facets/components/lists/sliced-filters.vue.js.map +1 -1
- 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
- package/js/x-modules/facets/components/lists/sliced-filters.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/facets/components/lists/sorted-filters.vue.js +9 -9
- package/js/x-modules/facets/components/lists/sorted-filters.vue.js.map +1 -1
- 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
- package/js/x-modules/facets/components/lists/sorted-filters.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/facets/entities/editable-number-range-filter.entity.js +31 -26
- package/js/x-modules/facets/entities/editable-number-range-filter.entity.js.map +1 -1
- package/js/x-modules/facets/entities/filter-entity.factory.js +28 -31
- package/js/x-modules/facets/entities/filter-entity.factory.js.map +1 -1
- package/js/x-modules/facets/entities/hierarchical-filter.entity.js +26 -29
- package/js/x-modules/facets/entities/hierarchical-filter.entity.js.map +1 -1
- package/js/x-modules/facets/entities/number-range-filter.entity.js +10 -12
- package/js/x-modules/facets/entities/number-range-filter.entity.js.map +1 -1
- package/js/x-modules/facets/entities/raw-filter.entity.js +8 -9
- package/js/x-modules/facets/entities/raw-filter.entity.js.map +1 -1
- package/js/x-modules/facets/entities/simple-filter.entity.js +10 -12
- package/js/x-modules/facets/entities/simple-filter.entity.js.map +1 -1
- package/js/x-modules/facets/entities/single-select.modifier.js +22 -35
- package/js/x-modules/facets/entities/single-select.modifier.js.map +1 -1
- package/js/x-modules/facets/entities/types.js +7 -8
- package/js/x-modules/facets/entities/types.js.map +1 -1
- package/js/x-modules/facets/service/facets.service.js +71 -104
- package/js/x-modules/facets/service/facets.service.js.map +1 -1
- package/js/x-modules/facets/store/emitters.js +3 -3
- package/js/x-modules/facets/store/emitters.js.map +1 -1
- package/js/x-modules/facets/store/getters/facets.getter.js +7 -10
- package/js/x-modules/facets/store/getters/facets.getter.js.map +1 -1
- package/js/x-modules/facets/store/getters/selected-filters-by-facet.getter.js +4 -6
- package/js/x-modules/facets/store/getters/selected-filters-by-facet.getter.js.map +1 -1
- package/js/x-modules/facets/store/getters/selected-filters.getter.js +1 -3
- package/js/x-modules/facets/store/getters/selected-filters.getter.js.map +1 -1
- package/js/x-modules/facets/store/module.js +15 -21
- package/js/x-modules/facets/store/module.js.map +1 -1
- package/js/x-modules/facets/utils.js +5 -9
- package/js/x-modules/facets/utils.js.map +1 -1
- package/js/x-modules/facets/wiring.js +23 -26
- package/js/x-modules/facets/wiring.js.map +1 -1
- package/js/x-modules/facets/x-module.js +2 -2
- package/js/x-modules/facets/x-module.js.map +1 -1
- package/js/x-modules/history-queries/components/clear-history-queries.vue.js +11 -10
- package/js/x-modules/history-queries/components/clear-history-queries.vue.js.map +1 -1
- package/js/x-modules/history-queries/components/clear-history-queries.vue_rollup-plugin-vue_script.vue.js +62 -0
- package/js/x-modules/history-queries/components/clear-history-queries.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/history-queries/components/history-queries.vue.js +21 -15
- package/js/x-modules/history-queries/components/history-queries.vue.js.map +1 -1
- package/js/x-modules/history-queries/components/history-queries.vue_rollup-plugin-vue_script.vue.js +41 -0
- package/js/x-modules/history-queries/components/history-queries.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/history-queries/components/history-query.vue.js +17 -13
- package/js/x-modules/history-queries/components/history-query.vue.js.map +1 -1
- package/js/x-modules/history-queries/components/history-query.vue_rollup-plugin-vue_script.vue.js +45 -0
- package/js/x-modules/history-queries/components/history-query.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/history-queries/components/remove-history-query.vue.js +9 -9
- package/js/x-modules/history-queries/components/remove-history-query.vue.js.map +1 -1
- package/js/x-modules/history-queries/components/remove-history-query.vue_rollup-plugin-vue_script.vue.js +41 -0
- package/js/x-modules/history-queries/components/remove-history-query.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/history-queries/store/actions/add-query-to-history.action.js +30 -38
- package/js/x-modules/history-queries/store/actions/add-query-to-history.action.js.map +1 -1
- package/js/x-modules/history-queries/store/actions/load-history-queries-from-browser-storage.action.js +2 -4
- package/js/x-modules/history-queries/store/actions/load-history-queries-from-browser-storage.action.js.map +1 -1
- package/js/x-modules/history-queries/store/actions/refresh-session.action.js +2 -4
- package/js/x-modules/history-queries/store/actions/refresh-session.action.js.map +1 -1
- package/js/x-modules/history-queries/store/actions/remove-query-from-history.action.js +2 -3
- package/js/x-modules/history-queries/store/actions/remove-query-from-history.action.js.map +1 -1
- package/js/x-modules/history-queries/store/actions/set-history-queries.action.js +1 -2
- package/js/x-modules/history-queries/store/actions/set-history-queries.action.js.map +1 -1
- package/js/x-modules/history-queries/store/actions/set-url-params.action.js +1 -3
- package/js/x-modules/history-queries/store/actions/set-url-params.action.js.map +1 -1
- package/js/x-modules/history-queries/store/constants.js +2 -2
- package/js/x-modules/history-queries/store/constants.js.map +1 -1
- package/js/x-modules/history-queries/store/emitters.js +4 -7
- package/js/x-modules/history-queries/store/emitters.js.map +1 -1
- package/js/x-modules/history-queries/store/getters/history-queries.getter.js +11 -15
- package/js/x-modules/history-queries/store/getters/history-queries.getter.js.map +1 -1
- package/js/x-modules/history-queries/store/getters/normalized-query.getter.js +1 -4
- package/js/x-modules/history-queries/store/getters/normalized-query.getter.js.map +1 -1
- package/js/x-modules/history-queries/store/getters/session-history-queries.getter.js +2 -3
- package/js/x-modules/history-queries/store/getters/session-history-queries.getter.js.map +1 -1
- package/js/x-modules/history-queries/store/getters/storage-key.getter.js +1 -1
- package/js/x-modules/history-queries/store/getters/storage-key.getter.js.map +1 -1
- package/js/x-modules/history-queries/store/module.js +16 -16
- package/js/x-modules/history-queries/store/module.js.map +1 -1
- package/js/x-modules/history-queries/wiring.js +24 -27
- package/js/x-modules/history-queries/wiring.js.map +1 -1
- package/js/x-modules/history-queries/x-module.js +2 -2
- package/js/x-modules/history-queries/x-module.js.map +1 -1
- package/js/x-modules/identifier-results/components/identifier-result.vue.js +9 -9
- package/js/x-modules/identifier-results/components/identifier-result.vue.js.map +1 -1
- package/js/x-modules/identifier-results/components/identifier-result.vue_rollup-plugin-vue_script.vue.js +46 -0
- package/js/x-modules/identifier-results/components/identifier-result.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/identifier-results/components/identifier-results.vue.js +9 -9
- package/js/x-modules/identifier-results/components/identifier-results.vue.js.map +1 -1
- package/js/x-modules/identifier-results/components/identifier-results.vue_rollup-plugin-vue_script.vue.js +45 -0
- package/js/x-modules/identifier-results/components/identifier-results.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/identifier-results/store/actions/fetch-and-save-identifier-results.action.js +6 -8
- package/js/x-modules/identifier-results/store/actions/fetch-and-save-identifier-results.action.js.map +1 -1
- package/js/x-modules/identifier-results/store/actions/fetch-identifier-results.action.js +2 -5
- package/js/x-modules/identifier-results/store/actions/fetch-identifier-results.action.js.map +1 -1
- package/js/x-modules/identifier-results/store/actions/save-origin.action.js +1 -2
- package/js/x-modules/identifier-results/store/actions/save-origin.action.js.map +1 -1
- package/js/x-modules/identifier-results/store/actions/save-query.action.js +1 -2
- package/js/x-modules/identifier-results/store/actions/save-query.action.js.map +1 -1
- package/js/x-modules/identifier-results/store/emitters.js +4 -7
- package/js/x-modules/identifier-results/store/emitters.js.map +1 -1
- package/js/x-modules/identifier-results/store/getters/identifier-detection-regexp.getter.js +1 -2
- package/js/x-modules/identifier-results/store/getters/identifier-detection-regexp.getter.js.map +1 -1
- package/js/x-modules/identifier-results/store/getters/identifier-highlight-regexp.getter.js +6 -7
- package/js/x-modules/identifier-results/store/getters/identifier-highlight-regexp.getter.js.map +1 -1
- package/js/x-modules/identifier-results/store/getters/identifier-results-request.getter.js +8 -5
- package/js/x-modules/identifier-results/store/getters/identifier-results-request.getter.js.map +1 -1
- package/js/x-modules/identifier-results/store/module.js +16 -17
- package/js/x-modules/identifier-results/store/module.js.map +1 -1
- package/js/x-modules/identifier-results/wiring.js +23 -32
- package/js/x-modules/identifier-results/wiring.js.map +1 -1
- package/js/x-modules/identifier-results/x-module.js +2 -2
- package/js/x-modules/identifier-results/x-module.js.map +1 -1
- package/js/x-modules/next-queries/components/next-queries-list.vue.js +15 -12
- package/js/x-modules/next-queries/components/next-queries-list.vue.js.map +1 -1
- package/js/x-modules/next-queries/components/next-queries-list.vue_rollup-plugin-vue_script.vue.js +85 -0
- package/js/x-modules/next-queries/components/next-queries-list.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/next-queries/components/next-queries.vue.js +19 -14
- package/js/x-modules/next-queries/components/next-queries.vue.js.map +1 -1
- package/js/x-modules/next-queries/components/next-queries.vue_rollup-plugin-vue_script.vue.js +42 -0
- package/js/x-modules/next-queries/components/next-queries.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/next-queries/components/next-query.vue.js +13 -11
- package/js/x-modules/next-queries/components/next-query.vue.js.map +1 -1
- package/js/x-modules/next-queries/components/next-query.vue_rollup-plugin-vue_script.vue.js +53 -0
- package/js/x-modules/next-queries/components/next-query.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/next-queries/store/actions/fetch-and-save-next-queries.action.js +6 -8
- package/js/x-modules/next-queries/store/actions/fetch-and-save-next-queries.action.js.map +1 -1
- package/js/x-modules/next-queries/store/actions/fetch-next-queries.action.js +2 -5
- package/js/x-modules/next-queries/store/actions/fetch-next-queries.action.js.map +1 -1
- package/js/x-modules/next-queries/store/actions/set-query-from-last-history-query.action.js +1 -2
- package/js/x-modules/next-queries/store/actions/set-query-from-last-history-query.action.js.map +1 -1
- package/js/x-modules/next-queries/store/actions/set-url-params.action.js +1 -3
- package/js/x-modules/next-queries/store/actions/set-url-params.action.js.map +1 -1
- package/js/x-modules/next-queries/store/emitters.js +4 -7
- package/js/x-modules/next-queries/store/emitters.js.map +1 -1
- package/js/x-modules/next-queries/store/getters/next-queries.getter.js +3 -7
- package/js/x-modules/next-queries/store/getters/next-queries.getter.js.map +1 -1
- package/js/x-modules/next-queries/store/getters/request.getter.js +8 -5
- package/js/x-modules/next-queries/store/getters/request.getter.js.map +1 -1
- package/js/x-modules/next-queries/store/module.js +15 -15
- package/js/x-modules/next-queries/store/module.js.map +1 -1
- package/js/x-modules/next-queries/wiring.js +17 -17
- package/js/x-modules/next-queries/wiring.js.map +1 -1
- package/js/x-modules/next-queries/x-module.js +2 -2
- package/js/x-modules/next-queries/x-module.js.map +1 -1
- package/js/x-modules/popular-searches/components/popular-search.vue.js +13 -11
- package/js/x-modules/popular-searches/components/popular-search.vue.js.map +1 -1
- package/js/x-modules/popular-searches/components/popular-search.vue_rollup-plugin-vue_script.vue.js +40 -0
- package/js/x-modules/popular-searches/components/popular-search.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/popular-searches/components/popular-searches.vue.js +19 -14
- package/js/x-modules/popular-searches/components/popular-searches.vue.js.map +1 -1
- package/js/x-modules/popular-searches/components/popular-searches.vue_rollup-plugin-vue_script.vue.js +38 -0
- package/js/x-modules/popular-searches/components/popular-searches.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/popular-searches/store/actions/fetch-and-save-suggestions.action.js +6 -8
- package/js/x-modules/popular-searches/store/actions/fetch-and-save-suggestions.action.js.map +1 -1
- package/js/x-modules/popular-searches/store/actions/fetch-suggestions.action.js +2 -5
- package/js/x-modules/popular-searches/store/actions/fetch-suggestions.action.js.map +1 -1
- package/js/x-modules/popular-searches/store/emitters.js +2 -2
- package/js/x-modules/popular-searches/store/emitters.js.map +1 -1
- package/js/x-modules/popular-searches/store/getters/popular-searches.getter.js +3 -7
- package/js/x-modules/popular-searches/store/getters/popular-searches.getter.js.map +1 -1
- package/js/x-modules/popular-searches/store/getters/request.getter.js +6 -5
- package/js/x-modules/popular-searches/store/getters/request.getter.js.map +1 -1
- package/js/x-modules/popular-searches/store/module.js +12 -12
- package/js/x-modules/popular-searches/store/module.js.map +1 -1
- package/js/x-modules/popular-searches/wiring.js +11 -11
- package/js/x-modules/popular-searches/wiring.js.map +1 -1
- package/js/x-modules/popular-searches/x-module.js +2 -2
- package/js/x-modules/popular-searches/x-module.js.map +1 -1
- package/js/x-modules/query-suggestions/components/query-suggestion.vue.js +13 -11
- package/js/x-modules/query-suggestions/components/query-suggestion.vue.js.map +1 -1
- package/js/x-modules/query-suggestions/components/query-suggestion.vue_rollup-plugin-vue_script.vue.js +44 -0
- package/js/x-modules/query-suggestions/components/query-suggestion.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/query-suggestions/components/query-suggestions.vue.js +19 -14
- package/js/x-modules/query-suggestions/components/query-suggestions.vue.js.map +1 -1
- package/js/x-modules/query-suggestions/components/query-suggestions.vue_rollup-plugin-vue_script.vue.js +37 -0
- package/js/x-modules/query-suggestions/components/query-suggestions.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/query-suggestions/store/actions/fetch-and-save-suggestions.action.js +6 -8
- package/js/x-modules/query-suggestions/store/actions/fetch-and-save-suggestions.action.js.map +1 -1
- package/js/x-modules/query-suggestions/store/actions/fetch-suggestions.action.js +2 -6
- package/js/x-modules/query-suggestions/store/actions/fetch-suggestions.action.js.map +1 -1
- package/js/x-modules/query-suggestions/store/actions/set-url-params.action.js +1 -3
- package/js/x-modules/query-suggestions/store/actions/set-url-params.action.js.map +1 -1
- package/js/x-modules/query-suggestions/store/emitters.js +3 -6
- package/js/x-modules/query-suggestions/store/emitters.js.map +1 -1
- package/js/x-modules/query-suggestions/store/getters/normalized-query.getter.js +1 -4
- package/js/x-modules/query-suggestions/store/getters/normalized-query.getter.js.map +1 -1
- package/js/x-modules/query-suggestions/store/getters/query-suggestions.getter.js +10 -14
- package/js/x-modules/query-suggestions/store/getters/query-suggestions.getter.js.map +1 -1
- package/js/x-modules/query-suggestions/store/getters/request.getter.js +8 -5
- package/js/x-modules/query-suggestions/store/getters/request.getter.js.map +1 -1
- package/js/x-modules/query-suggestions/store/module.js +14 -14
- package/js/x-modules/query-suggestions/store/module.js.map +1 -1
- package/js/x-modules/query-suggestions/wiring.js +20 -23
- package/js/x-modules/query-suggestions/wiring.js.map +1 -1
- package/js/x-modules/query-suggestions/x-module.js +2 -2
- package/js/x-modules/query-suggestions/x-module.js.map +1 -1
- package/js/x-modules/recommendations/components/recommendations.vue.js +17 -14
- package/js/x-modules/recommendations/components/recommendations.vue.js.map +1 -1
- package/js/x-modules/recommendations/components/recommendations.vue_rollup-plugin-vue_script.vue.js +65 -0
- package/js/x-modules/recommendations/components/recommendations.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/recommendations/store/actions/fetch-and-save-recommendations.action.js +6 -8
- package/js/x-modules/recommendations/store/actions/fetch-and-save-recommendations.action.js.map +1 -1
- package/js/x-modules/recommendations/store/actions/fetch-recommendations.action.js +2 -6
- package/js/x-modules/recommendations/store/actions/fetch-recommendations.action.js.map +1 -1
- package/js/x-modules/recommendations/store/constants.js +1 -1
- package/js/x-modules/recommendations/store/constants.js.map +1 -1
- package/js/x-modules/recommendations/store/emitters.js +2 -5
- package/js/x-modules/recommendations/store/emitters.js.map +1 -1
- package/js/x-modules/recommendations/store/getters/request.getter.js +7 -5
- package/js/x-modules/recommendations/store/getters/request.getter.js.map +1 -1
- package/js/x-modules/recommendations/store/module.js +10 -10
- package/js/x-modules/recommendations/store/module.js.map +1 -1
- package/js/x-modules/recommendations/wiring.js +9 -9
- package/js/x-modules/recommendations/wiring.js.map +1 -1
- package/js/x-modules/recommendations/x-module.js +2 -2
- package/js/x-modules/recommendations/x-module.js.map +1 -1
- package/js/x-modules/related-tags/components/related-tag.vue.js +13 -12
- package/js/x-modules/related-tags/components/related-tag.vue.js.map +1 -1
- package/js/x-modules/related-tags/components/related-tag.vue_rollup-plugin-vue_script.vue.js +92 -0
- package/js/x-modules/related-tags/components/related-tag.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/related-tags/components/related-tags.vue.js +19 -15
- package/js/x-modules/related-tags/components/related-tags.vue.js.map +1 -1
- package/js/x-modules/related-tags/components/related-tags.vue_rollup-plugin-vue_script.vue.js +44 -0
- package/js/x-modules/related-tags/components/related-tags.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/related-tags/store/actions/fetch-and-save-related-tags.action.js +6 -8
- package/js/x-modules/related-tags/store/actions/fetch-and-save-related-tags.action.js.map +1 -1
- package/js/x-modules/related-tags/store/actions/fetch-related-tags.action.js +2 -5
- package/js/x-modules/related-tags/store/actions/fetch-related-tags.action.js.map +1 -1
- package/js/x-modules/related-tags/store/actions/set-url-params.action.js +5 -7
- package/js/x-modules/related-tags/store/actions/set-url-params.action.js.map +1 -1
- package/js/x-modules/related-tags/store/actions/toggle-related-tag.action.js +4 -7
- package/js/x-modules/related-tags/store/actions/toggle-related-tag.action.js.map +1 -1
- package/js/x-modules/related-tags/store/emitters.js +5 -8
- package/js/x-modules/related-tags/store/emitters.js.map +1 -1
- package/js/x-modules/related-tags/store/getters/related-tags.getter.js +1 -6
- package/js/x-modules/related-tags/store/getters/related-tags.getter.js.map +1 -1
- package/js/x-modules/related-tags/store/getters/request.getter.js +9 -5
- package/js/x-modules/related-tags/store/getters/request.getter.js.map +1 -1
- package/js/x-modules/related-tags/store/module.js +15 -15
- package/js/x-modules/related-tags/store/module.js.map +1 -1
- package/js/x-modules/related-tags/wiring.js +24 -24
- package/js/x-modules/related-tags/wiring.js.map +1 -1
- package/js/x-modules/related-tags/x-module.js +2 -2
- package/js/x-modules/related-tags/x-module.js.map +1 -1
- package/js/x-modules/scroll/components/main-scroll-item.vue.js +9 -9
- package/js/x-modules/scroll/components/main-scroll-item.vue.js.map +1 -1
- 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
- package/js/x-modules/scroll/components/main-scroll-item.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/scroll/components/main-scroll.vue.js +11 -11
- package/js/x-modules/scroll/components/main-scroll.vue.js.map +1 -1
- package/js/x-modules/scroll/components/main-scroll.vue_rollup-plugin-vue_script.vue.js +205 -0
- package/js/x-modules/scroll/components/main-scroll.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/scroll/components/scroll-to-top.vue.js +11 -10
- package/js/x-modules/scroll/components/scroll-to-top.vue.js.map +1 -1
- package/js/x-modules/scroll/components/scroll-to-top.vue_rollup-plugin-vue_script.vue.js +214 -0
- package/js/x-modules/scroll/components/scroll-to-top.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/scroll/components/scroll.const.js +2 -2
- package/js/x-modules/scroll/components/scroll.const.js.map +1 -1
- package/js/x-modules/scroll/components/scroll.vue.js +9 -9
- package/js/x-modules/scroll/components/scroll.vue.js.map +1 -1
- package/js/x-modules/scroll/components/{scroll.vue_rollup-plugin-vue=script.js → scroll.vue_rollup-plugin-vue_script.vue.js} +35 -40
- package/js/x-modules/scroll/components/scroll.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/scroll/components/window-scroll.vue.js +9 -9
- package/js/x-modules/scroll/components/window-scroll.vue.js.map +1 -1
- 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
- package/js/x-modules/scroll/components/window-scroll.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/scroll/store/emitters.js +1 -4
- package/js/x-modules/scroll/store/emitters.js.map +1 -1
- package/js/x-modules/scroll/store/module.js +5 -6
- package/js/x-modules/scroll/store/module.js.map +1 -1
- package/js/x-modules/scroll/wiring.js +34 -52
- package/js/x-modules/scroll/wiring.js.map +1 -1
- package/js/x-modules/scroll/x-module.js +2 -2
- package/js/x-modules/scroll/x-module.js.map +1 -1
- package/js/x-modules/search/components/banner.vue.js +14 -12
- package/js/x-modules/search/components/banner.vue.js.map +1 -1
- package/js/x-modules/search/components/{banner.vue_rollup-plugin-vue=script.js → banner.vue_rollup-plugin-vue_script.vue.js} +16 -20
- package/js/x-modules/search/components/banner.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/search/components/banners-list.vue.js +15 -12
- package/js/x-modules/search/components/banners-list.vue.js.map +1 -1
- package/js/x-modules/search/components/banners-list.vue_rollup-plugin-vue_script.vue.js +57 -0
- package/js/x-modules/search/components/banners-list.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/search/components/partial-query-button.vue.js +11 -10
- package/js/x-modules/search/components/partial-query-button.vue.js.map +1 -1
- 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
- package/js/x-modules/search/components/partial-query-button.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/search/components/partial-results-list.vue.js +11 -11
- package/js/x-modules/search/components/partial-results-list.vue.js.map +1 -1
- package/js/x-modules/search/components/partial-results-list.vue_rollup-plugin-vue_script.vue.js +43 -0
- package/js/x-modules/search/components/partial-results-list.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/search/components/promoted.vue.js +14 -12
- package/js/x-modules/search/components/promoted.vue.js.map +1 -1
- package/js/x-modules/search/components/promoted.vue_rollup-plugin-vue_script.vue.js +35 -0
- package/js/x-modules/search/components/promoted.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/search/components/promoteds-list.vue.js +15 -12
- package/js/x-modules/search/components/promoteds-list.vue.js.map +1 -1
- package/js/x-modules/search/components/promoteds-list.vue_rollup-plugin-vue_script.vue.js +57 -0
- package/js/x-modules/search/components/promoteds-list.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/search/components/redirection.vue.js +11 -10
- package/js/x-modules/search/components/redirection.vue.js.map +1 -1
- package/js/x-modules/search/components/redirection.vue_rollup-plugin-vue_script.vue.js +101 -0
- package/js/x-modules/search/components/redirection.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/search/components/results-list.vue.js +15 -12
- package/js/x-modules/search/components/results-list.vue.js.map +1 -1
- 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
- package/js/x-modules/search/components/results-list.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/search/components/sort-dropdown.vue.js +15 -12
- package/js/x-modules/search/components/sort-dropdown.vue.js.map +1 -1
- package/js/x-modules/search/components/sort-dropdown.vue_rollup-plugin-vue_script.vue.js +44 -0
- package/js/x-modules/search/components/sort-dropdown.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/search/components/sort-list.vue.js +15 -13
- package/js/x-modules/search/components/sort-list.vue.js.map +1 -1
- 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
- package/js/x-modules/search/components/sort-list.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/search/components/sort.mixin.js +50 -61
- package/js/x-modules/search/components/sort.mixin.js.map +1 -1
- package/js/x-modules/search/components/spellcheck-button.vue.js +11 -10
- package/js/x-modules/search/components/spellcheck-button.vue.js.map +1 -1
- 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
- package/js/x-modules/search/components/spellcheck-button.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/search/components/spellcheck.vue.js +13 -11
- package/js/x-modules/search/components/spellcheck.vue.js.map +1 -1
- package/js/x-modules/search/components/{spellcheck.vue_rollup-plugin-vue=script.js → spellcheck.vue_rollup-plugin-vue_script.vue.js} +40 -45
- package/js/x-modules/search/components/spellcheck.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/search/store/actions/fetch-and-save-search-response.action.js +18 -16
- package/js/x-modules/search/store/actions/fetch-and-save-search-response.action.js.map +1 -1
- package/js/x-modules/search/store/actions/fetch-search-response.action.js +1 -1
- package/js/x-modules/search/store/actions/fetch-search-response.action.js.map +1 -1
- package/js/x-modules/search/store/actions/increase-page-apending-results.action.js +2 -3
- package/js/x-modules/search/store/actions/increase-page-apending-results.action.js.map +1 -1
- package/js/x-modules/search/store/actions/reset-state.action.js +3 -5
- package/js/x-modules/search/store/actions/reset-state.action.js.map +1 -1
- package/js/x-modules/search/store/actions/save-origin.action.js +1 -2
- package/js/x-modules/search/store/actions/save-origin.action.js.map +1 -1
- package/js/x-modules/search/store/actions/set-url-params.action.js +1 -3
- package/js/x-modules/search/store/actions/set-url-params.action.js.map +1 -1
- package/js/x-modules/search/store/emitters.js +13 -19
- package/js/x-modules/search/store/emitters.js.map +1 -1
- package/js/x-modules/search/store/getters/request.getter.js +10 -5
- package/js/x-modules/search/store/getters/request.getter.js.map +1 -1
- package/js/x-modules/search/store/module.js +35 -39
- package/js/x-modules/search/store/module.js.map +1 -1
- package/js/x-modules/search/wiring.js +41 -47
- package/js/x-modules/search/wiring.js.map +1 -1
- package/js/x-modules/search/x-module.js +2 -2
- package/js/x-modules/search/x-module.js.map +1 -1
- package/js/x-modules/search-box/components/clear-search-input.vue.js +11 -10
- package/js/x-modules/search-box/components/clear-search-input.vue.js.map +1 -1
- package/js/x-modules/search-box/components/clear-search-input.vue_rollup-plugin-vue_script.vue.js +53 -0
- package/js/x-modules/search-box/components/clear-search-input.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/search-box/components/search-button.vue.js +11 -10
- package/js/x-modules/search-box/components/search-button.vue.js.map +1 -1
- package/js/x-modules/search-box/components/search-button.vue_rollup-plugin-vue_script.vue.js +62 -0
- package/js/x-modules/search-box/components/search-button.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/search-box/components/search-input.vue.js +15 -13
- package/js/x-modules/search-box/components/search-input.vue.js.map +1 -1
- 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
- package/js/x-modules/search-box/components/search-input.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/search-box/store/actions/set-url-params.action.js +1 -3
- package/js/x-modules/search-box/store/actions/set-url-params.action.js.map +1 -1
- package/js/x-modules/search-box/store/emitters.js +4 -7
- package/js/x-modules/search-box/store/emitters.js.map +1 -1
- package/js/x-modules/search-box/store/module.js +6 -6
- package/js/x-modules/search-box/store/module.js.map +1 -1
- package/js/x-modules/search-box/wiring.js +12 -12
- package/js/x-modules/search-box/wiring.js.map +1 -1
- package/js/x-modules/search-box/x-module.js +2 -2
- package/js/x-modules/search-box/x-module.js.map +1 -1
- package/js/x-modules/tagging/components/tagging.vue.js +9 -9
- package/js/x-modules/tagging/components/tagging.vue.js.map +1 -1
- package/js/x-modules/tagging/components/tagging.vue_rollup-plugin-vue_script.vue.js +89 -0
- package/js/x-modules/tagging/components/tagging.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/tagging/service/pdp-add-to-cart.service.js +47 -64
- package/js/x-modules/tagging/service/pdp-add-to-cart.service.js.map +1 -1
- package/js/x-modules/tagging/service/session.service.js +19 -23
- package/js/x-modules/tagging/service/session.service.js.map +1 -1
- package/js/x-modules/tagging/store/actions/track.action.js +11 -11
- package/js/x-modules/tagging/store/actions/track.action.js.map +1 -1
- package/js/x-modules/tagging/store/emitters.js +5 -5
- package/js/x-modules/tagging/store/emitters.js.map +1 -1
- package/js/x-modules/tagging/store/module.js +7 -7
- package/js/x-modules/tagging/store/module.js.map +1 -1
- package/js/x-modules/tagging/wiring.js +35 -45
- package/js/x-modules/tagging/wiring.js.map +1 -1
- package/js/x-modules/tagging/x-module.js +2 -2
- package/js/x-modules/tagging/x-module.js.map +1 -1
- package/js/x-modules/url/components/url-handler.vue.js +9 -9
- package/js/x-modules/url/components/url-handler.vue.js.map +1 -1
- 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
- package/js/x-modules/url/components/url-handler.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/url/store/emitters.js +10 -18
- package/js/x-modules/url/store/emitters.js.map +1 -1
- package/js/x-modules/url/store/getters/url-params.getter.js +5 -9
- package/js/x-modules/url/store/getters/url-params.getter.js.map +1 -1
- package/js/x-modules/url/store/initial-state.js +1 -1
- package/js/x-modules/url/store/initial-state.js.map +1 -1
- package/js/x-modules/url/store/module.js +17 -15
- package/js/x-modules/url/store/module.js.map +1 -1
- package/js/x-modules/url/store/mutations/set-params.mutation.js +2 -2
- package/js/x-modules/url/store/mutations/set-params.mutation.js.map +1 -1
- package/js/x-modules/url/wiring.js +21 -21
- package/js/x-modules/url/wiring.js.map +1 -1
- package/js/x-modules/url/x-module.js +2 -2
- package/js/x-modules/url/x-module.js.map +1 -1
- package/next-queries/index.js +6 -6
- package/package.json +12 -15
- package/popular-searches/index.js +6 -6
- package/query-suggestions/index.js +5 -5
- package/recommendations/index.js +3 -3
- package/related-tags/index.js +4 -4
- package/scroll/index.js +7 -7
- package/search/index.js +10 -10
- package/search-box/index.js +5 -5
- package/tagging/index.js +3 -3
- package/url/index.js +3 -3
- package/design-system/.-variables.css +0 -0
- package/js/components/animations/animate-width.vue_rollup-plugin-vue=script.js +0 -22
- package/js/components/animations/animate-width.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/animations/collapse-from-top.vue_rollup-plugin-vue=script.js +0 -23
- package/js/components/animations/collapse-from-top.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/animations/collapse-height.vue_rollup-plugin-vue=script.js +0 -26
- package/js/components/animations/collapse-height.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/animations/collapse-width.vue_rollup-plugin-vue=script.js +0 -26
- package/js/components/animations/collapse-width.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/animations/cross-fade.vue_rollup-plugin-vue=script.js +0 -23
- package/js/components/animations/cross-fade.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/animations/fade-and-slide.vue_rollup-plugin-vue=script.js +0 -26
- package/js/components/animations/fade-and-slide.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/animations/staggered-fade-and-slide.vue_rollup-plugin-vue=script.js +0 -26
- package/js/components/animations/staggered-fade-and-slide.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/animations/staggering-transition-group.vue_rollup-plugin-vue=script.js +0 -354
- package/js/components/animations/staggering-transition-group.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/animations/translate-from-left.vue_rollup-plugin-vue=script.js +0 -23
- package/js/components/animations/translate-from-left.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/animations/translate-from-right.vue_rollup-plugin-vue=script.js +0 -23
- package/js/components/animations/translate-from-right.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/auto-progress-bar.vue_rollup-plugin-vue=script.js +0 -42
- package/js/components/auto-progress-bar.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/base-dropdown.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/base-event-button.vue_rollup-plugin-vue=script.js +0 -36
- package/js/components/base-event-button.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/base-grid.vue_rollup-plugin-vue=script.js +0 -115
- package/js/components/base-grid.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/base-keyboard-navigation.vue_rollup-plugin-vue=script.js +0 -126
- package/js/components/base-keyboard-navigation.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/base-rating.vue_rollup-plugin-vue=script.js +0 -62
- package/js/components/base-rating.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/base-variable-column-grid.vue_rollup-plugin-vue=script.js +0 -57
- package/js/components/base-variable-column-grid.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/column-picker/base-column-picker-dropdown.vue_rollup-plugin-vue=script.js +0 -46
- package/js/components/column-picker/base-column-picker-dropdown.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/column-picker/base-column-picker-list.vue_rollup-plugin-vue=script.js +0 -57
- package/js/components/column-picker/base-column-picker-list.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/currency/base-currency.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/filters/labels/base-price-filter-label.vue_rollup-plugin-vue=script.js +0 -82
- package/js/components/filters/labels/base-price-filter-label.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/filters/labels/base-rating-filter-label.vue_rollup-plugin-vue=script.js +0 -50
- package/js/components/filters/labels/base-rating-filter-label.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/global-x-bus.vue_rollup-plugin-vue=script.js +0 -47
- package/js/components/global-x-bus.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/arrow-down.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/arrow-down.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/arrow-left.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/arrow-left.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/arrow-right.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/arrow-right.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/arrow-up.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/arrow-up.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/bag.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/bag.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/bar-code.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/bar-code.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/barcode-tiny.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/barcode-tiny.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/cart.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/cart.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/check-tiny.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/check-tiny.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/check.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/check.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/checkbox-card-selected.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/checkbox-card-unselected.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/checkbox-selected.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/checkbox-selected.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/checkbox-unselected.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/checkbox-unselected.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/chevron-down.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/chevron-down.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/chevron-left.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/chevron-left.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/chevron-right.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/chevron-right.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/chevron-tiny-down.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/chevron-tiny-down.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/chevron-tiny-left.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/chevron-tiny-left.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/chevron-tiny-right.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/chevron-tiny-right.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/chevron-tiny-up.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/chevron-tiny-up.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/chevron-up.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/chevron-up.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/cross-tiny.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/cross-tiny.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/cross.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/cross.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/curated-check.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/curated-check.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/filters.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/filters.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/grid-1-col.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/grid-1-col.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/grid-2-col.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/grid-2-col.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/grid-2-rows.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/grid-2-rows.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/hide.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/hide.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/history-tiny.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/history-tiny.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/history.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/history.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/light-bulb-off.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/light-bulb-off.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/light-bulb-on.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/light-bulb-on.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/menu.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/menu.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/minus-tiny.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/minus-tiny.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/minus.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/minus.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/nq-1.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/nq-1.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/nq-2.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/nq-2.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/nq-3.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/nq-3.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/nq-4.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/nq-4.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/plus.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/plus.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/search-tiny.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/search-tiny.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/search.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/search.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/show.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/show.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/star.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/star.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/tag.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/tag.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/trash-open.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/trash-open.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/trash.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/trash.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/trending-tiny.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/trending-tiny.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/trending.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/trending.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/icons/user.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/user.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/items-list.vue_rollup-plugin-vue=script.js +0 -47
- package/js/components/items-list.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/layouts/fixed-header-and-asides-layout.vue_rollup-plugin-vue=script.js +0 -57
- package/js/components/layouts/fixed-header-and-asides-layout.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/layouts/multi-column-max-width-layout.vue_rollup-plugin-vue=script.js +0 -32
- package/js/components/layouts/multi-column-max-width-layout.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/layouts/single-column-layout.vue_rollup-plugin-vue=script.js +0 -33
- package/js/components/layouts/single-column-layout.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/location-provider.vue_rollup-plugin-vue=script.js +0 -27
- package/js/components/location-provider.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/modals/base-events-modal-close.vue_rollup-plugin-vue=script.js +0 -37
- package/js/components/modals/base-events-modal-close.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/modals/base-events-modal-open.vue_rollup-plugin-vue=script.js +0 -37
- package/js/components/modals/base-events-modal-open.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/modals/base-events-modal.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/modals/base-id-modal-close.vue_rollup-plugin-vue=script.js +0 -36
- package/js/components/modals/base-id-modal-close.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/modals/base-id-modal-open.vue_rollup-plugin-vue=script.js +0 -36
- package/js/components/modals/base-id-modal-open.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/modals/base-id-modal.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/modals/base-modal.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/panels/base-header-toggle-panel.vue_rollup-plugin-vue=script.js +0 -57
- package/js/components/panels/base-header-toggle-panel.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/panels/base-id-toggle-panel-button.vue_rollup-plugin-vue=script.js +0 -68
- package/js/components/panels/base-id-toggle-panel-button.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/panels/base-id-toggle-panel.vue_rollup-plugin-vue=script.js +0 -80
- package/js/components/panels/base-id-toggle-panel.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/panels/base-toggle-panel.vue_rollup-plugin-vue=script.js +0 -29
- package/js/components/panels/base-toggle-panel.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/result/base-result-add-to-cart.vue_rollup-plugin-vue=script.js +0 -43
- package/js/components/result/base-result-add-to-cart.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/result/base-result-current-price.vue_rollup-plugin-vue=script.js +0 -48
- package/js/components/result/base-result-current-price.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/result/base-result-fallback-image.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/result/base-result-image.vue_rollup-plugin-vue=script.js +0 -148
- package/js/components/result/base-result-image.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/result/base-result-link.vue_rollup-plugin-vue=script.js +0 -46
- package/js/components/result/base-result-link.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/result/base-result-placeholder-image.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/result/base-result-previous-price.vue_rollup-plugin-vue=script.js +0 -31
- package/js/components/result/base-result-previous-price.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/result/base-result-rating.vue_rollup-plugin-vue=script.js +0 -42
- package/js/components/result/base-result-rating.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/scroll/base-scroll.vue_rollup-plugin-vue=script.js +0 -24
- package/js/components/scroll/base-scroll.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/sliding-panel.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/snippet-callbacks.vue_rollup-plugin-vue=script.js +0 -60
- package/js/components/snippet-callbacks.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/suggestions/base-suggestion.vue_rollup-plugin-vue=script.js +0 -144
- package/js/components/suggestions/base-suggestion.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/suggestions/base-suggestions.vue_rollup-plugin-vue=script.js +0 -87
- package/js/components/suggestions/base-suggestions.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/device/components/device-detector.vue_rollup-plugin-vue=script.js +0 -141
- package/js/x-modules/device/components/device-detector.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/empathize/components/empathize.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/extra-params/components/extra-params.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/extra-params/components/renderless-extra-param.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/extra-params/components/snippet-config-extra-params.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/facets/components/clear-filters.vue_rollup-plugin-vue=script.js +0 -239
- package/js/x-modules/facets/components/clear-filters.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/facets/components/facets/facets-provider.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/facets/components/facets/facets.vue_rollup-plugin-vue=script.js +0 -124
- package/js/x-modules/facets/components/facets/facets.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/facets/components/filters/all-filter.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/facets/components/filters/editable-number-range-filter.vue_rollup-plugin-vue=script.js +0 -210
- package/js/x-modules/facets/components/filters/editable-number-range-filter.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/facets/components/filters/hierarchical-filter.vue_rollup-plugin-vue=script.js +0 -228
- package/js/x-modules/facets/components/filters/hierarchical-filter.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/facets/components/filters/number-range-filter.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/facets/components/filters/renderless-filter.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/facets/components/filters/simple-filter.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/facets/components/lists/exclude-filters-with-no-results.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/facets/components/lists/filters-list.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/facets/components/lists/filters-search.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/facets/components/lists/selected-filters-list.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/facets/components/lists/selected-filters.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/facets/components/lists/sliced-filters.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/facets/components/lists/sorted-filters.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/history-queries/components/clear-history-queries.vue_rollup-plugin-vue=script.js +0 -72
- package/js/x-modules/history-queries/components/clear-history-queries.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/history-queries/components/history-queries.vue_rollup-plugin-vue=script.js +0 -45
- package/js/x-modules/history-queries/components/history-queries.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/history-queries/components/history-query.vue_rollup-plugin-vue=script.js +0 -53
- package/js/x-modules/history-queries/components/history-query.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/history-queries/components/remove-history-query.vue_rollup-plugin-vue=script.js +0 -49
- package/js/x-modules/history-queries/components/remove-history-query.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/identifier-results/components/identifier-result.vue_rollup-plugin-vue=script.js +0 -54
- package/js/x-modules/identifier-results/components/identifier-result.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/identifier-results/components/identifier-results.vue_rollup-plugin-vue=script.js +0 -47
- package/js/x-modules/identifier-results/components/identifier-results.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/next-queries/components/next-queries-list.vue_rollup-plugin-vue=script.js +0 -101
- package/js/x-modules/next-queries/components/next-queries-list.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/next-queries/components/next-queries.vue_rollup-plugin-vue=script.js +0 -46
- package/js/x-modules/next-queries/components/next-queries.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/next-queries/components/next-query.vue_rollup-plugin-vue=script.js +0 -66
- package/js/x-modules/next-queries/components/next-query.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/popular-searches/components/popular-search.vue_rollup-plugin-vue=script.js +0 -48
- package/js/x-modules/popular-searches/components/popular-search.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/popular-searches/components/popular-searches.vue_rollup-plugin-vue=script.js +0 -42
- package/js/x-modules/popular-searches/components/popular-searches.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/query-suggestions/components/query-suggestion.vue_rollup-plugin-vue=script.js +0 -46
- package/js/x-modules/query-suggestions/components/query-suggestion.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/query-suggestions/components/query-suggestions.vue_rollup-plugin-vue=script.js +0 -41
- package/js/x-modules/query-suggestions/components/query-suggestions.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/recommendations/components/recommendations.vue_rollup-plugin-vue=script.js +0 -71
- package/js/x-modules/recommendations/components/recommendations.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/related-tags/components/related-tag.vue_rollup-plugin-vue=script.js +0 -109
- package/js/x-modules/related-tags/components/related-tag.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/related-tags/components/related-tags.vue_rollup-plugin-vue=script.js +0 -52
- package/js/x-modules/related-tags/components/related-tags.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/scroll/components/main-scroll-item.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/scroll/components/main-scroll.vue_rollup-plugin-vue=script.js +0 -222
- package/js/x-modules/scroll/components/main-scroll.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/scroll/components/scroll-to-top.vue_rollup-plugin-vue=script.js +0 -243
- package/js/x-modules/scroll/components/scroll-to-top.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/scroll/components/scroll.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/scroll/components/window-scroll.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/search/components/banner.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/search/components/banners-list.vue_rollup-plugin-vue=script.js +0 -64
- package/js/x-modules/search/components/banners-list.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/search/components/partial-query-button.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/search/components/partial-results-list.vue_rollup-plugin-vue=script.js +0 -51
- package/js/x-modules/search/components/partial-results-list.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/search/components/promoted.vue_rollup-plugin-vue=script.js +0 -39
- package/js/x-modules/search/components/promoted.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/search/components/promoteds-list.vue_rollup-plugin-vue=script.js +0 -64
- package/js/x-modules/search/components/promoteds-list.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/search/components/redirection.vue_rollup-plugin-vue=script.js +0 -108
- package/js/x-modules/search/components/redirection.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/search/components/results-list.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/search/components/sort-dropdown.vue_rollup-plugin-vue=script.js +0 -48
- package/js/x-modules/search/components/sort-dropdown.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/search/components/sort-list.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/search/components/spellcheck-button.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/search/components/spellcheck.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/search-box/components/clear-search-input.vue_rollup-plugin-vue=script.js +0 -63
- package/js/x-modules/search-box/components/clear-search-input.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/search-box/components/search-button.vue_rollup-plugin-vue=script.js +0 -74
- package/js/x-modules/search-box/components/search-button.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/search-box/components/search-input.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/tagging/components/tagging.vue_rollup-plugin-vue=script.js +0 -103
- package/js/x-modules/tagging/components/tagging.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/url/components/url-handler.vue_rollup-plugin-vue=script.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"history-query.vue_rollup-plugin-vue_script.vue.js","sources":["../../../../../src/x-modules/history-queries/components/history-query.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\n\n\nimport { HistoryQuery as HistoryQueryModel } from '@empathyco/x-types';\nimport Vue from 'vue';\nimport { Component, Prop } from 'vue-property-decorator';\nimport { Getter } from '../../../components/decorators/store.decorators';\nimport BaseSuggestion from '../../../components/suggestions/base-suggestion.vue';\nimport { xComponentMixin } from '../../../components/x-component.mixin';\nimport { XEventsTypes } from '../../../wiring/events.types';\nimport { historyQueriesXModule } from '../x-module';\nimport RemoveHistoryQuery from './remove-history-query.vue';\n\n/**\n * This component renders a history query suggestion combining two buttons: one for selecting this\n * suggestion as the search query, and another one to remove this query suggestion from the\n * history queries.\n *\n * @public\n */\n@Component({\n mixins: [xComponentMixin(historyQueriesXModule)],\n components: { RemoveHistoryQuery, BaseSuggestion }\n})\nexport default class HistoryQuery extends Vue {\n /**\n * The history query suggestion to render.\n *\n * @public\n */\n @Prop({ required: true })\n protected suggestion!: HistoryQueryModel;\n\n /**\n * The normalized query of the history-queries module.\n *\n * @internal\n */\n @Getter('historyQueries', 'normalizedQuery')\n public query!: string;\n\n /**\n * The list of events that are going to be emitted when the suggestion button is pressed.\n *\n * @internal\n * @returns The {@link XEvent | XEvents} to emit.\n */\n protected get suggestionSelectedEvents(): Partial<XEventsTypes> {\n return {\n UserSelectedAHistoryQuery: this.suggestion\n };\n }\n}\n"],"names":["RemoveHistoryQuery","BaseSuggestion"],"mappings":";;;;;;;;;AA4CA;;;;;;;AAWA,IAAqB,YAAY,GAAjC,MAAqB,YAAa,SAAQ,GAAG;;;;;;;IAuB3C,IAAc,wBAAwB;QACpC,OAAO;YACL,yBAAyB,EAAE,IAAI,CAAC,UAAU;SAC3C,CAAC;KACH;CACF,CAAA;AArBC;IADC,IAAI,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;gDACgB;AAQzC;IADC,MAAM,CAAC,gBAAgB,EAAE,iBAAiB,CAAC;2CACtB;AAfH,YAAY;IAJhC,SAAS,CAAC;QACT,MAAM,EAAE,CAAC,eAAe,CAAC,qBAAqB,CAAC,CAAC;QAChD,UAAU,EAAE,sBAAEA,iBAAkB,kBAAEC,mBAAc,EAAE;KACnD,CAAC;GACmB,YAAY,CA4BhC;aA5BoB,YAAY;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import script from './remove-history-query.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
|
-
|
|
5
|
+
const __vue_script__ = script;
|
|
6
6
|
|
|
7
7
|
/* template */
|
|
8
8
|
var __vue_render__ = function () {
|
|
@@ -23,13 +23,13 @@ var __vue_staticRenderFns__ = [];
|
|
|
23
23
|
__vue_render__._withStripped = true;
|
|
24
24
|
|
|
25
25
|
/* style */
|
|
26
|
-
|
|
26
|
+
const __vue_inject_styles__ = undefined;
|
|
27
27
|
/* scoped */
|
|
28
|
-
|
|
28
|
+
const __vue_scope_id__ = undefined;
|
|
29
29
|
/* module identifier */
|
|
30
|
-
|
|
30
|
+
const __vue_module_identifier__ = undefined;
|
|
31
31
|
/* functional template */
|
|
32
|
-
|
|
32
|
+
const __vue_is_functional_template__ = false;
|
|
33
33
|
/* style inject */
|
|
34
34
|
|
|
35
35
|
/* style inject SSR */
|
|
@@ -38,7 +38,7 @@ __vue_render__._withStripped = true;
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
const __vue_component__ = /*#__PURE__*/__vue_normalize__(
|
|
42
42
|
{ render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
|
|
43
43
|
__vue_inject_styles__,
|
|
44
44
|
__vue_script__,
|
|
@@ -51,5 +51,5 @@ __vue_render__._withStripped = true;
|
|
|
51
51
|
undefined
|
|
52
52
|
);
|
|
53
53
|
|
|
54
|
-
export default
|
|
54
|
+
export { __vue_component__ as default };
|
|
55
55
|
//# sourceMappingURL=remove-history-query.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-history-query.vue.js","sources":["../../../../../src/x-modules/history-queries/components/remove-history-query.vue"],"sourcesContent":["<template>\n <BaseEventButton class=\"x-button x-remove-history-query\" :events=\"removeHistoryQueryEvent\">\n <!-- @slot (Required) Button content with a text, an icon or both -->\n <slot />\n </BaseEventButton>\n</template>\n\n<script lang=\"ts\">\n import { HistoryQuery } from '@empathyco/x-types';\n import Vue from 'vue';\n import { Component, Prop } from 'vue-property-decorator';\n import BaseEventButton from '../../../components/base-event-button.vue';\n import { xComponentMixin } from '../../../components/x-component.mixin';\n import { XEventsTypes } from '../../../wiring/events.types';\n import { historyQueriesXModule } from '../x-module';\n\n /**\n * Button that when it is pressed emits the\n * {@link HistoryQueriesXEvents.UserPressedRemoveHistoryQuery} event, expressing the user\n * intention to remove a query in the history.\n *\n * @public\n */\n @Component({\n components: { BaseEventButton },\n mixins: [xComponentMixin(historyQueriesXModule)]\n })\n export default class RemoveHistoryQuery extends Vue {\n /**\n * The historyQuery that will be removed when clicking the clear button.\n *\n * @public\n */\n @Prop({ required: true })\n protected historyQuery!: HistoryQuery;\n\n /**\n * The event handler that will be triggered when clicking on the clear history query button.\n *\n * @remarks\n * * {@link HistoryQueriesXEvents.UserPressedRemoveHistoryQuery}: historyQuery\n *\n * @returns The {@link XEvent | XEvents} to emit.\n * @public\n */\n protected get removeHistoryQueryEvent(): Partial<XEventsTypes> {\n return { UserPressedRemoveHistoryQuery: this.historyQuery };\n }\n }\n</script>\n\n<docs lang=\"mdx\">\n## Examples\n\n### Basic Example\n\nYou can customize the content that this component renders. To do so, simply use the default slot.\n\n```vue\n<RemoveHistoryQuery :historyQuery=\"historyQuery\">\n <img class=\"x-history-query__icon\" src=\"./my-awesome-clear-icon.svg\"/>\n</RemoveHistoryQuery>\n```\n\n## Events\n\nA list of events that the component will emit:\n\n- `UserPressedRemoveHistoryQuery`: the event is emitted after the user clicks the button. The event\n payload is the history query data.\n</docs>\n"],"names":[
|
|
1
|
+
{"version":3,"file":"remove-history-query.vue.js","sources":["../../../../../src/x-modules/history-queries/components/remove-history-query.vue"],"sourcesContent":["<template>\n <BaseEventButton class=\"x-button x-remove-history-query\" :events=\"removeHistoryQueryEvent\">\n <!-- @slot (Required) Button content with a text, an icon or both -->\n <slot />\n </BaseEventButton>\n</template>\n\n<script lang=\"ts\">\n import { HistoryQuery } from '@empathyco/x-types';\n import Vue from 'vue';\n import { Component, Prop } from 'vue-property-decorator';\n import BaseEventButton from '../../../components/base-event-button.vue';\n import { xComponentMixin } from '../../../components/x-component.mixin';\n import { XEventsTypes } from '../../../wiring/events.types';\n import { historyQueriesXModule } from '../x-module';\n\n /**\n * Button that when it is pressed emits the\n * {@link HistoryQueriesXEvents.UserPressedRemoveHistoryQuery} event, expressing the user\n * intention to remove a query in the history.\n *\n * @public\n */\n @Component({\n components: { BaseEventButton },\n mixins: [xComponentMixin(historyQueriesXModule)]\n })\n export default class RemoveHistoryQuery extends Vue {\n /**\n * The historyQuery that will be removed when clicking the clear button.\n *\n * @public\n */\n @Prop({ required: true })\n protected historyQuery!: HistoryQuery;\n\n /**\n * The event handler that will be triggered when clicking on the clear history query button.\n *\n * @remarks\n * * {@link HistoryQueriesXEvents.UserPressedRemoveHistoryQuery}: historyQuery\n *\n * @returns The {@link XEvent | XEvents} to emit.\n * @public\n */\n protected get removeHistoryQueryEvent(): Partial<XEventsTypes> {\n return { UserPressedRemoveHistoryQuery: this.historyQuery };\n }\n }\n</script>\n\n<docs lang=\"mdx\">\n## Examples\n\n### Basic Example\n\nYou can customize the content that this component renders. To do so, simply use the default slot.\n\n```vue\n<RemoveHistoryQuery :historyQuery=\"historyQuery\">\n <img class=\"x-history-query__icon\" src=\"./my-awesome-clear-icon.svg\"/>\n</RemoveHistoryQuery>\n```\n\n## Events\n\nA list of events that the component will emit:\n\n- `UserPressedRemoveHistoryQuery`: the event is emitted after the user clicks the button. The event\n payload is the history query data.\n</docs>\n"],"names":[],"mappings":";;;;AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { __decorate } from 'tslib';
|
|
2
|
+
import Vue from 'vue';
|
|
3
|
+
import { Prop, Component } from 'vue-property-decorator';
|
|
4
|
+
import __vue_component__ from '../../../components/base-event-button.vue.js';
|
|
5
|
+
import { xComponentMixin } from '../../../components/x-component.mixin.js';
|
|
6
|
+
import { historyQueriesXModule } from '../x-module.js';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Button that when it is pressed emits the
|
|
10
|
+
* {@link HistoryQueriesXEvents.UserPressedRemoveHistoryQuery} event, expressing the user
|
|
11
|
+
* intention to remove a query in the history.
|
|
12
|
+
*
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
let RemoveHistoryQuery = class RemoveHistoryQuery extends Vue {
|
|
16
|
+
/**
|
|
17
|
+
* The event handler that will be triggered when clicking on the clear history query button.
|
|
18
|
+
*
|
|
19
|
+
* @remarks
|
|
20
|
+
* * {@link HistoryQueriesXEvents.UserPressedRemoveHistoryQuery}: historyQuery
|
|
21
|
+
*
|
|
22
|
+
* @returns The {@link XEvent | XEvents} to emit.
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
get removeHistoryQueryEvent() {
|
|
26
|
+
return { UserPressedRemoveHistoryQuery: this.historyQuery };
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
__decorate([
|
|
30
|
+
Prop({ required: true })
|
|
31
|
+
], RemoveHistoryQuery.prototype, "historyQuery", void 0);
|
|
32
|
+
RemoveHistoryQuery = __decorate([
|
|
33
|
+
Component({
|
|
34
|
+
components: { BaseEventButton: __vue_component__ },
|
|
35
|
+
mixins: [xComponentMixin(historyQueriesXModule)]
|
|
36
|
+
})
|
|
37
|
+
], RemoveHistoryQuery);
|
|
38
|
+
var script = RemoveHistoryQuery;
|
|
39
|
+
|
|
40
|
+
export { script as default };
|
|
41
|
+
//# sourceMappingURL=remove-history-query.vue_rollup-plugin-vue_script.vue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remove-history-query.vue_rollup-plugin-vue_script.vue.js","sources":["../../../../../src/x-modules/history-queries/components/remove-history-query.vue?rollup-plugin-vue=script.ts"],"sourcesContent":["\n\n\n\n\n\n\n\nimport { HistoryQuery } from '@empathyco/x-types';\nimport Vue from 'vue';\nimport { Component, Prop } from 'vue-property-decorator';\nimport BaseEventButton from '../../../components/base-event-button.vue';\nimport { xComponentMixin } from '../../../components/x-component.mixin';\nimport { XEventsTypes } from '../../../wiring/events.types';\nimport { historyQueriesXModule } from '../x-module';\n\n/**\n * Button that when it is pressed emits the\n * {@link HistoryQueriesXEvents.UserPressedRemoveHistoryQuery} event, expressing the user\n * intention to remove a query in the history.\n *\n * @public\n */\n@Component({\n components: { BaseEventButton },\n mixins: [xComponentMixin(historyQueriesXModule)]\n})\nexport default class RemoveHistoryQuery extends Vue {\n /**\n * The historyQuery that will be removed when clicking the clear button.\n *\n * @public\n */\n @Prop({ required: true })\n protected historyQuery!: HistoryQuery;\n\n /**\n * The event handler that will be triggered when clicking on the clear history query button.\n *\n * @remarks\n * * {@link HistoryQueriesXEvents.UserPressedRemoveHistoryQuery}: historyQuery\n *\n * @returns The {@link XEvent | XEvents} to emit.\n * @public\n */\n protected get removeHistoryQueryEvent(): Partial<XEventsTypes> {\n return { UserPressedRemoveHistoryQuery: this.historyQuery };\n }\n}\n"],"names":["BaseEventButton"],"mappings":";;;;;;;AAgBA;;;;;;;AAWA,IAAqB,kBAAkB,GAAvC,MAAqB,kBAAmB,SAAQ,GAAG;;;;;;;;;;IAkBjD,IAAc,uBAAuB;QACnC,OAAO,EAAE,6BAA6B,EAAE,IAAI,CAAC,YAAY,EAAE,CAAC;KAC7D;CACF,CAAA;AAdC;IADC,IAAI,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;wDACa;AAPnB,kBAAkB;IAJtC,SAAS,CAAC;QACT,UAAU,EAAE,mBAAEA,iBAAe,EAAE;QAC/B,MAAM,EAAE,CAAC,eAAe,CAAC,qBAAqB,CAAC,CAAC;KACjD,CAAC;GACmB,kBAAkB,CAqBtC;aArBoB,kBAAkB;;;;"}
|
|
@@ -2,15 +2,13 @@ import { isArrayEmpty } from '../../../../utils/array.js';
|
|
|
2
2
|
import { normalizeString } from '../../../../utils/normalize.js';
|
|
3
3
|
|
|
4
4
|
/** Regex for splitting a query into its words. */
|
|
5
|
-
|
|
5
|
+
const SPLIT_WORDS_REGEX = /[\s-]/;
|
|
6
6
|
/**
|
|
7
7
|
* Class implementation for the {@link HistoryQueriesActions.addQueryToHistory} action.
|
|
8
8
|
*
|
|
9
9
|
* @public
|
|
10
10
|
*/
|
|
11
|
-
|
|
12
|
-
function AddQueryToHistoryAction() {
|
|
13
|
-
}
|
|
11
|
+
class AddQueryToHistoryAction {
|
|
14
12
|
/**
|
|
15
13
|
* Default implementation for the {@link HistoryQueriesActions.addQueryToHistory}.
|
|
16
14
|
*
|
|
@@ -19,21 +17,20 @@ var AddQueryToHistoryAction = /** @class */ (function () {
|
|
|
19
17
|
* @param query - The query to try to add to the history.
|
|
20
18
|
* @returns A `void` promise that resolves when the history queries finishes updating.
|
|
21
19
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
var normalizedQuery = normalizeString(query);
|
|
20
|
+
addQueryToHistory({ state, dispatch }, query) {
|
|
21
|
+
const normalizedQuery = normalizeString(query);
|
|
25
22
|
if (!normalizedQuery) {
|
|
26
23
|
return;
|
|
27
24
|
}
|
|
28
25
|
if (isArrayEmpty(state.historyQueries)) {
|
|
29
26
|
return dispatch('setHistoryQueries', [this.createHistoryQuery(query)]);
|
|
30
27
|
}
|
|
31
|
-
|
|
28
|
+
const newHistory = this.createNewHistory(state.historyQueries, normalizedQuery);
|
|
32
29
|
if (newHistory) {
|
|
33
30
|
newHistory.unshift(this.createHistoryQuery(query));
|
|
34
31
|
return dispatch('setHistoryQueries', newHistory);
|
|
35
32
|
}
|
|
36
|
-
}
|
|
33
|
+
}
|
|
37
34
|
/**
|
|
38
35
|
* Creates a new `HistoryQuery`.
|
|
39
36
|
*
|
|
@@ -41,13 +38,13 @@ var AddQueryToHistoryAction = /** @class */ (function () {
|
|
|
41
38
|
* @returns A new `HistoryQuery`.
|
|
42
39
|
* @internal
|
|
43
40
|
*/
|
|
44
|
-
|
|
41
|
+
createHistoryQuery(query) {
|
|
45
42
|
return {
|
|
46
43
|
query: query.trim(),
|
|
47
44
|
timestamp: Date.now(),
|
|
48
45
|
modelName: 'HistoryQuery'
|
|
49
46
|
};
|
|
50
|
-
}
|
|
47
|
+
}
|
|
51
48
|
/**
|
|
52
49
|
* Creates a new history from the old one to store the new query. Depending on the comparison
|
|
53
50
|
* between the new query, and the last one in the history, it can return three different things:
|
|
@@ -65,19 +62,19 @@ var AddQueryToHistoryAction = /** @class */ (function () {
|
|
|
65
62
|
* null if the new query shouldn't be saved.
|
|
66
63
|
* @internal
|
|
67
64
|
*/
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
65
|
+
createNewHistory(currentHistory, normalizedQuery) {
|
|
66
|
+
const normalizedLastQuery = normalizeString(currentHistory[0].query);
|
|
67
|
+
const queriesTuple = [normalizedLastQuery, normalizedQuery];
|
|
68
|
+
const newWords = normalizedQuery.split(SPLIT_WORDS_REGEX);
|
|
69
|
+
const lastWords = normalizedLastQuery.split(SPLIT_WORDS_REGEX);
|
|
70
|
+
const wordsTuple = [lastWords, newWords];
|
|
74
71
|
return this.isReplaceAction(wordsTuple, queriesTuple)
|
|
75
72
|
? // TODO EX-1815 This replace does not take into account yet queries that end in numbers
|
|
76
73
|
this.removeNewQueryFromHistory(currentHistory.slice(1), normalizedQuery)
|
|
77
74
|
: this.isAddAction(wordsTuple, queriesTuple)
|
|
78
75
|
? this.removeNewQueryFromHistory(currentHistory, normalizedQuery)
|
|
79
76
|
: null;
|
|
80
|
-
}
|
|
77
|
+
}
|
|
81
78
|
/**
|
|
82
79
|
* Creates a copy of the current history, but removing the new query to store from it. It uses a
|
|
83
80
|
* normalized version of the queries for comparing.
|
|
@@ -87,9 +84,9 @@ var AddQueryToHistoryAction = /** @class */ (function () {
|
|
|
87
84
|
* @returns A copy of the current history but without the new query into it.
|
|
88
85
|
* @internal
|
|
89
86
|
*/
|
|
90
|
-
|
|
91
|
-
return currentHistory.filter(
|
|
92
|
-
}
|
|
87
|
+
removeNewQueryFromHistory(currentHistory, normalizedQuery) {
|
|
88
|
+
return currentHistory.filter(historyQuery => normalizeString(historyQuery.query) !== normalizedQuery);
|
|
89
|
+
}
|
|
93
90
|
/**
|
|
94
91
|
* Calculates if the new query should be added to the history.
|
|
95
92
|
*
|
|
@@ -98,11 +95,9 @@ var AddQueryToHistoryAction = /** @class */ (function () {
|
|
|
98
95
|
* @returns `true` when the new query should be added. `false` otherwise.
|
|
99
96
|
* @internal
|
|
100
97
|
*/
|
|
101
|
-
|
|
102
|
-
var lastWords = _a[0], newWords = _a[1];
|
|
103
|
-
var lastQuery = _b[0], newQuery = _b[1];
|
|
98
|
+
isAddAction([lastWords, newWords], [lastQuery, newQuery]) {
|
|
104
99
|
return newWords.length !== lastWords.length || !lastQuery.includes(newQuery);
|
|
105
|
-
}
|
|
100
|
+
}
|
|
106
101
|
/**
|
|
107
102
|
* Calculates if the new query should replace the last query in the history.
|
|
108
103
|
*
|
|
@@ -111,11 +106,9 @@ var AddQueryToHistoryAction = /** @class */ (function () {
|
|
|
111
106
|
* @returns `true` when the new query should replace the last one. `false` otherwise.
|
|
112
107
|
* @internal
|
|
113
108
|
*/
|
|
114
|
-
|
|
115
|
-
var lastWords = _a[0], newWords = _a[1];
|
|
116
|
-
var lastQuery = _b[0], newQuery = _b[1];
|
|
109
|
+
isReplaceAction([lastWords, newWords], [lastQuery, newQuery]) {
|
|
117
110
|
return lastQuery === newQuery || this.isQueryBeingRefined(lastWords, newWords);
|
|
118
|
-
}
|
|
111
|
+
}
|
|
119
112
|
/**
|
|
120
113
|
* Returns if the new query is a refined version of the last one. A refined version means to be
|
|
121
114
|
* more specific. I.e. `shoes` is a refined query of `shoe`, `lego star wars` is a refined query
|
|
@@ -126,25 +119,24 @@ var AddQueryToHistoryAction = /** @class */ (function () {
|
|
|
126
119
|
* @returns `true` if the new query is refining the old one. `false` otherwise.
|
|
127
120
|
* @internal
|
|
128
121
|
*/
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
122
|
+
isQueryBeingRefined(lastWords, newWords) {
|
|
123
|
+
const refinedWordIndex = lastWords.length - 1;
|
|
124
|
+
const lastRefinedWord = lastWords[refinedWordIndex];
|
|
125
|
+
const newRefinedWord = newWords[refinedWordIndex];
|
|
133
126
|
return (!!lastRefinedWord &&
|
|
134
127
|
!!newRefinedWord &&
|
|
135
128
|
newRefinedWord !== lastRefinedWord &&
|
|
136
129
|
newRefinedWord.includes(lastRefinedWord));
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
var addQueryToHistoryAction = new AddQueryToHistoryAction();
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
const addQueryToHistoryAction = new AddQueryToHistoryAction();
|
|
141
133
|
// eslint-disable-next-line jsdoc/require-description-complete-sentence
|
|
142
134
|
/**
|
|
143
135
|
* {@inheritDoc AddQueryToHistoryAction.addQueryToHistory}
|
|
144
136
|
*
|
|
145
137
|
* @public
|
|
146
138
|
*/
|
|
147
|
-
|
|
139
|
+
const addQueryToHistory = addQueryToHistoryAction.addQueryToHistory.bind(addQueryToHistoryAction);
|
|
148
140
|
|
|
149
141
|
export { AddQueryToHistoryAction, addQueryToHistory };
|
|
150
142
|
//# sourceMappingURL=add-query-to-history.action.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-query-to-history.action.js","sources":["../../../../../../src/x-modules/history-queries/store/actions/add-query-to-history.action.ts"],"sourcesContent":["import { HistoryQuery } from '@empathyco/x-types';\nimport { ActionsClass } from '../../../../store/actions.types';\nimport { isArrayEmpty } from '../../../../utils/array';\nimport { normalizeString } from '../../../../utils/normalize';\nimport { Pair } from '../../../../utils/types';\nimport { HistoryQueriesActionContext, HistoryQueriesXStoreModule } from '../types';\n\n/** Regex for splitting a query into its words. */\nconst SPLIT_WORDS_REGEX = /[\\s-]/;\n\n/**\n * Class implementation for the {@link HistoryQueriesActions.addQueryToHistory} action.\n *\n * @public\n */\nexport class AddQueryToHistoryAction implements ActionsClass<HistoryQueriesXStoreModule> {\n /**\n * Default implementation for the {@link HistoryQueriesActions.addQueryToHistory}.\n *\n * @param context - The {@link https://vuex.vuejs.org/guide/actions.html | context} of the\n * actions, provided by Vuex.\n * @param query - The query to try to add to the history.\n * @returns A `void` promise that resolves when the history queries finishes updating.\n */\n addQueryToHistory(\n { state, dispatch }: HistoryQueriesActionContext,\n query: string\n ): void | Promise<void> {\n const normalizedQuery = normalizeString(query);\n if (!normalizedQuery) {\n return;\n }\n\n if (isArrayEmpty(state.historyQueries)) {\n return dispatch('setHistoryQueries', [this.createHistoryQuery(query)]);\n }\n\n const newHistory = this.createNewHistory(state.historyQueries, normalizedQuery);\n if (newHistory) {\n newHistory.unshift(this.createHistoryQuery(query));\n return dispatch('setHistoryQueries', newHistory);\n }\n }\n\n /**\n * Creates a new `HistoryQuery`.\n *\n * @param query - The query for the new `HistoryQuery`.\n * @returns A new `HistoryQuery`.\n * @internal\n */\n protected createHistoryQuery(query: string): HistoryQuery {\n return {\n query: query.trim(),\n timestamp: Date.now(),\n modelName: 'HistoryQuery'\n };\n }\n\n /**\n * Creates a new history from the old one to store the new query. Depending on the comparison\n * between the new query, and the last one in the history, it can return three different things:\n * - If it the last stored query should be replaced with the new one\n * ({@link AddQueryToHistoryAction.isReplaceAction} returns true), it returns a copy of the old\n * history, without the new query and the first item.\n * - If the new query should be simply added to the history\n * ({@link AddQueryToHistoryAction.isAddAction} returns true), It returns a copy of the old\n * history but without the new query if it was present.\n * - In any other case, the query shouldn't be saved, so this method returns `null`.\n *\n * @param currentHistory - The current history of queries.\n * @param normalizedQuery - The normalized version of the new query, to be stored on the history.\n * @returns A subset of the current history of queries ready to add the new `HistoryQuery`, or\n * null if the new query shouldn't be saved.\n * @internal\n */\n protected createNewHistory(\n currentHistory: HistoryQuery[],\n normalizedQuery: string\n ): HistoryQuery[] | null {\n const normalizedLastQuery = normalizeString(currentHistory[0].query);\n const queriesTuple: Pair<string> = [normalizedLastQuery, normalizedQuery];\n\n const newWords = normalizedQuery.split(SPLIT_WORDS_REGEX);\n const lastWords = normalizedLastQuery.split(SPLIT_WORDS_REGEX);\n const wordsTuple: Pair<string[]> = [lastWords, newWords];\n\n return this.isReplaceAction(wordsTuple, queriesTuple)\n ? // TODO EX-1815 This replace does not take into account yet queries that end in numbers\n this.removeNewQueryFromHistory(currentHistory.slice(1), normalizedQuery)\n : this.isAddAction(wordsTuple, queriesTuple)\n ? this.removeNewQueryFromHistory(currentHistory, normalizedQuery)\n : null;\n }\n\n /**\n * Creates a copy of the current history, but removing the new query to store from it. It uses a\n * normalized version of the queries for comparing.\n *\n * @param currentHistory - The current history queries.\n * @param normalizedQuery - The normalized version of the new query to add to the history.\n * @returns A copy of the current history but without the new query into it.\n * @internal\n */\n protected removeNewQueryFromHistory(\n currentHistory: HistoryQuery[],\n normalizedQuery: string\n ): HistoryQuery[] {\n return currentHistory.filter(\n historyQuery => normalizeString(historyQuery.query) !== normalizedQuery\n );\n }\n\n /**\n * Calculates if the new query should be added to the history.\n *\n * @param wordsTuple - A tuple containing the old, and the new words arrays.\n * @param queriesTuple - A tuple containing the old and the new queries.\n * @returns `true` when the new query should be added. `false` otherwise.\n * @internal\n */\n protected isAddAction(\n [lastWords, newWords]: Pair<string[]>,\n [lastQuery, newQuery]: Pair<string>\n ): boolean {\n return newWords.length !== lastWords.length || !lastQuery.includes(newQuery);\n }\n\n /**\n * Calculates if the new query should replace the last query in the history.\n *\n * @param wordsTuple - A tuple containing the old, and the new words arrays.\n * @param queriesTuple - A tuple containing the old and the new queries.\n * @returns `true` when the new query should replace the last one. `false` otherwise.\n * @internal\n */\n protected isReplaceAction(\n [lastWords, newWords]: Pair<string[]>,\n [lastQuery, newQuery]: Pair<string>\n ): boolean {\n return lastQuery === newQuery || this.isQueryBeingRefined(lastWords, newWords);\n }\n\n /**\n * Returns if the new query is a refined version of the last one. A refined version means to be\n * more specific. I.e. `shoes` is a refined query of `shoe`, `lego star wars` is a refined query\n * of `lego st`.\n *\n * @param lastWords - An array containing the words of the last query.\n * @param newWords - An array containing the words of the new query.\n * @returns `true` if the new query is refining the old one. `false` otherwise.\n * @internal\n */\n protected isQueryBeingRefined(lastWords: string[], newWords: string[]): boolean {\n const refinedWordIndex = lastWords.length - 1;\n const lastRefinedWord = lastWords[refinedWordIndex];\n const newRefinedWord = newWords[refinedWordIndex];\n return (\n !!lastRefinedWord &&\n !!newRefinedWord &&\n newRefinedWord !== lastRefinedWord &&\n newRefinedWord.includes(lastRefinedWord)\n );\n }\n}\n\nconst addQueryToHistoryAction = new AddQueryToHistoryAction();\n\n// eslint-disable-next-line jsdoc/require-description-complete-sentence\n/**\n * {@inheritDoc AddQueryToHistoryAction.addQueryToHistory}\n *\n * @public\n */\nexport const addQueryToHistory =\n addQueryToHistoryAction.addQueryToHistory.bind(addQueryToHistoryAction);\n"],"names":[],"mappings":";;;AAOA;AACA,
|
|
1
|
+
{"version":3,"file":"add-query-to-history.action.js","sources":["../../../../../../src/x-modules/history-queries/store/actions/add-query-to-history.action.ts"],"sourcesContent":["import { HistoryQuery } from '@empathyco/x-types';\nimport { ActionsClass } from '../../../../store/actions.types';\nimport { isArrayEmpty } from '../../../../utils/array';\nimport { normalizeString } from '../../../../utils/normalize';\nimport { Pair } from '../../../../utils/types';\nimport { HistoryQueriesActionContext, HistoryQueriesXStoreModule } from '../types';\n\n/** Regex for splitting a query into its words. */\nconst SPLIT_WORDS_REGEX = /[\\s-]/;\n\n/**\n * Class implementation for the {@link HistoryQueriesActions.addQueryToHistory} action.\n *\n * @public\n */\nexport class AddQueryToHistoryAction implements ActionsClass<HistoryQueriesXStoreModule> {\n /**\n * Default implementation for the {@link HistoryQueriesActions.addQueryToHistory}.\n *\n * @param context - The {@link https://vuex.vuejs.org/guide/actions.html | context} of the\n * actions, provided by Vuex.\n * @param query - The query to try to add to the history.\n * @returns A `void` promise that resolves when the history queries finishes updating.\n */\n addQueryToHistory(\n { state, dispatch }: HistoryQueriesActionContext,\n query: string\n ): void | Promise<void> {\n const normalizedQuery = normalizeString(query);\n if (!normalizedQuery) {\n return;\n }\n\n if (isArrayEmpty(state.historyQueries)) {\n return dispatch('setHistoryQueries', [this.createHistoryQuery(query)]);\n }\n\n const newHistory = this.createNewHistory(state.historyQueries, normalizedQuery);\n if (newHistory) {\n newHistory.unshift(this.createHistoryQuery(query));\n return dispatch('setHistoryQueries', newHistory);\n }\n }\n\n /**\n * Creates a new `HistoryQuery`.\n *\n * @param query - The query for the new `HistoryQuery`.\n * @returns A new `HistoryQuery`.\n * @internal\n */\n protected createHistoryQuery(query: string): HistoryQuery {\n return {\n query: query.trim(),\n timestamp: Date.now(),\n modelName: 'HistoryQuery'\n };\n }\n\n /**\n * Creates a new history from the old one to store the new query. Depending on the comparison\n * between the new query, and the last one in the history, it can return three different things:\n * - If it the last stored query should be replaced with the new one\n * ({@link AddQueryToHistoryAction.isReplaceAction} returns true), it returns a copy of the old\n * history, without the new query and the first item.\n * - If the new query should be simply added to the history\n * ({@link AddQueryToHistoryAction.isAddAction} returns true), It returns a copy of the old\n * history but without the new query if it was present.\n * - In any other case, the query shouldn't be saved, so this method returns `null`.\n *\n * @param currentHistory - The current history of queries.\n * @param normalizedQuery - The normalized version of the new query, to be stored on the history.\n * @returns A subset of the current history of queries ready to add the new `HistoryQuery`, or\n * null if the new query shouldn't be saved.\n * @internal\n */\n protected createNewHistory(\n currentHistory: HistoryQuery[],\n normalizedQuery: string\n ): HistoryQuery[] | null {\n const normalizedLastQuery = normalizeString(currentHistory[0].query);\n const queriesTuple: Pair<string> = [normalizedLastQuery, normalizedQuery];\n\n const newWords = normalizedQuery.split(SPLIT_WORDS_REGEX);\n const lastWords = normalizedLastQuery.split(SPLIT_WORDS_REGEX);\n const wordsTuple: Pair<string[]> = [lastWords, newWords];\n\n return this.isReplaceAction(wordsTuple, queriesTuple)\n ? // TODO EX-1815 This replace does not take into account yet queries that end in numbers\n this.removeNewQueryFromHistory(currentHistory.slice(1), normalizedQuery)\n : this.isAddAction(wordsTuple, queriesTuple)\n ? this.removeNewQueryFromHistory(currentHistory, normalizedQuery)\n : null;\n }\n\n /**\n * Creates a copy of the current history, but removing the new query to store from it. It uses a\n * normalized version of the queries for comparing.\n *\n * @param currentHistory - The current history queries.\n * @param normalizedQuery - The normalized version of the new query to add to the history.\n * @returns A copy of the current history but without the new query into it.\n * @internal\n */\n protected removeNewQueryFromHistory(\n currentHistory: HistoryQuery[],\n normalizedQuery: string\n ): HistoryQuery[] {\n return currentHistory.filter(\n historyQuery => normalizeString(historyQuery.query) !== normalizedQuery\n );\n }\n\n /**\n * Calculates if the new query should be added to the history.\n *\n * @param wordsTuple - A tuple containing the old, and the new words arrays.\n * @param queriesTuple - A tuple containing the old and the new queries.\n * @returns `true` when the new query should be added. `false` otherwise.\n * @internal\n */\n protected isAddAction(\n [lastWords, newWords]: Pair<string[]>,\n [lastQuery, newQuery]: Pair<string>\n ): boolean {\n return newWords.length !== lastWords.length || !lastQuery.includes(newQuery);\n }\n\n /**\n * Calculates if the new query should replace the last query in the history.\n *\n * @param wordsTuple - A tuple containing the old, and the new words arrays.\n * @param queriesTuple - A tuple containing the old and the new queries.\n * @returns `true` when the new query should replace the last one. `false` otherwise.\n * @internal\n */\n protected isReplaceAction(\n [lastWords, newWords]: Pair<string[]>,\n [lastQuery, newQuery]: Pair<string>\n ): boolean {\n return lastQuery === newQuery || this.isQueryBeingRefined(lastWords, newWords);\n }\n\n /**\n * Returns if the new query is a refined version of the last one. A refined version means to be\n * more specific. I.e. `shoes` is a refined query of `shoe`, `lego star wars` is a refined query\n * of `lego st`.\n *\n * @param lastWords - An array containing the words of the last query.\n * @param newWords - An array containing the words of the new query.\n * @returns `true` if the new query is refining the old one. `false` otherwise.\n * @internal\n */\n protected isQueryBeingRefined(lastWords: string[], newWords: string[]): boolean {\n const refinedWordIndex = lastWords.length - 1;\n const lastRefinedWord = lastWords[refinedWordIndex];\n const newRefinedWord = newWords[refinedWordIndex];\n return (\n !!lastRefinedWord &&\n !!newRefinedWord &&\n newRefinedWord !== lastRefinedWord &&\n newRefinedWord.includes(lastRefinedWord)\n );\n }\n}\n\nconst addQueryToHistoryAction = new AddQueryToHistoryAction();\n\n// eslint-disable-next-line jsdoc/require-description-complete-sentence\n/**\n * {@inheritDoc AddQueryToHistoryAction.addQueryToHistory}\n *\n * @public\n */\nexport const addQueryToHistory =\n addQueryToHistoryAction.addQueryToHistory.bind(addQueryToHistoryAction);\n"],"names":[],"mappings":";;;AAOA;AACA,MAAM,iBAAiB,GAAG,OAAO,CAAC;AAElC;;;;;MAKa,uBAAuB;;;;;;;;;IASlC,iBAAiB,CACf,EAAE,KAAK,EAAE,QAAQ,EAA+B,EAChD,KAAa;QAEb,MAAM,eAAe,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC;QAC/C,IAAI,CAAC,eAAe,EAAE;YACpB,OAAO;SACR;QAED,IAAI,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,EAAE;YACtC,OAAO,QAAQ,CAAC,mBAAmB,EAAE,CAAC,IAAI,CAAC,kBAAkB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;SACxE;QAED,MAAM,UAAU,GAAG,IAAI,CAAC,gBAAgB,CAAC,KAAK,CAAC,cAAc,EAAE,eAAe,CAAC,CAAC;QAChF,IAAI,UAAU,EAAE;YACd,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,CAAC,KAAK,CAAC,CAAC,CAAC;YACnD,OAAO,QAAQ,CAAC,mBAAmB,EAAE,UAAU,CAAC,CAAC;SAClD;KACF;;;;;;;;IASS,kBAAkB,CAAC,KAAa;QACxC,OAAO;YACL,KAAK,EAAE,KAAK,CAAC,IAAI,EAAE;YACnB,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE;YACrB,SAAS,EAAE,cAAc;SAC1B,CAAC;KACH;;;;;;;;;;;;;;;;;;IAmBS,gBAAgB,CACxB,cAA8B,EAC9B,eAAuB;QAEvB,MAAM,mBAAmB,GAAG,eAAe,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;QACrE,MAAM,YAAY,GAAiB,CAAC,mBAAmB,EAAE,eAAe,CAAC,CAAC;QAE1E,MAAM,QAAQ,GAAG,eAAe,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;QAC1D,MAAM,SAAS,GAAG,mBAAmB,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;QAC/D,MAAM,UAAU,GAAmB,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;QAEzD,OAAO,IAAI,CAAC,eAAe,CAAC,UAAU,EAAE,YAAY,CAAC;;gBAEjD,IAAI,CAAC,yBAAyB,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,eAAe,CAAC;cACxE,IAAI,CAAC,WAAW,CAAC,UAAU,EAAE,YAAY,CAAC;kBAC1C,IAAI,CAAC,yBAAyB,CAAC,cAAc,EAAE,eAAe,CAAC;kBAC/D,IAAI,CAAC;KACV;;;;;;;;;;IAWS,yBAAyB,CACjC,cAA8B,EAC9B,eAAuB;QAEvB,OAAO,cAAc,CAAC,MAAM,CAC1B,YAAY,IAAI,eAAe,CAAC,YAAY,CAAC,KAAK,CAAC,KAAK,eAAe,CACxE,CAAC;KACH;;;;;;;;;IAUS,WAAW,CACnB,CAAC,SAAS,EAAE,QAAQ,CAAiB,EACrC,CAAC,SAAS,EAAE,QAAQ,CAAe;QAEnC,OAAO,QAAQ,CAAC,MAAM,KAAK,SAAS,CAAC,MAAM,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;KAC9E;;;;;;;;;IAUS,eAAe,CACvB,CAAC,SAAS,EAAE,QAAQ,CAAiB,EACrC,CAAC,SAAS,EAAE,QAAQ,CAAe;QAEnC,OAAO,SAAS,KAAK,QAAQ,IAAI,IAAI,CAAC,mBAAmB,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;KAChF;;;;;;;;;;;IAYS,mBAAmB,CAAC,SAAmB,EAAE,QAAkB;QACnE,MAAM,gBAAgB,GAAG,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC;QAC9C,MAAM,eAAe,GAAG,SAAS,CAAC,gBAAgB,CAAC,CAAC;QACpD,MAAM,cAAc,GAAG,QAAQ,CAAC,gBAAgB,CAAC,CAAC;QAClD,QACE,CAAC,CAAC,eAAe;YACjB,CAAC,CAAC,cAAc;YAChB,cAAc,KAAK,eAAe;YAClC,cAAc,CAAC,QAAQ,CAAC,eAAe,CAAC,EACxC;KACH;CACF;AAED,MAAM,uBAAuB,GAAG,IAAI,uBAAuB,EAAE,CAAC;AAE9D;AACA;;;;;MAKa,iBAAiB,GAC5B,uBAAuB,CAAC,iBAAiB,CAAC,IAAI,CAAC,uBAAuB;;;;"}
|
|
@@ -9,10 +9,8 @@ import { localStorageService } from '../../../../utils/storage.js';
|
|
|
9
9
|
* @public
|
|
10
10
|
*/
|
|
11
11
|
// eslint-disable-next-line max-len
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
var commit = _a.commit, getters = _a.getters;
|
|
15
|
-
var historyQueries = (_b = localStorageService.getItem(getters.storageKey)) !== null && _b !== void 0 ? _b : [];
|
|
12
|
+
const loadHistoryQueriesFromBrowserStorage = ({ commit, getters }) => {
|
|
13
|
+
const historyQueries = localStorageService.getItem(getters.storageKey) ?? [];
|
|
16
14
|
commit('setHistoryQueries', historyQueries);
|
|
17
15
|
};
|
|
18
16
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"load-history-queries-from-browser-storage.action.js","sources":["../../../../../../src/x-modules/history-queries/store/actions/load-history-queries-from-browser-storage.action.ts"],"sourcesContent":["import { HistoryQuery } from '@empathyco/x-types';\nimport { localStorageService } from '../../../../utils/storage';\nimport { HistoryQueriesXStoreModule } from '../types';\n\n/**\n * Default implementation for the\n * {@link HistoryQueriesActions.loadHistoryQueriesFromBrowserStorage} action.\n *\n * @param context - The {@link https://vuex.vuejs.org/guide/actions.html | context} of the actions,\n * provided by Vuex.\n * @public\n */\n// eslint-disable-next-line max-len\nexport const loadHistoryQueriesFromBrowserStorage: HistoryQueriesXStoreModule['actions']['loadHistoryQueriesFromBrowserStorage'] =\n ({ commit, getters }) => {\n const historyQueries = localStorageService.getItem<HistoryQuery[]>(getters.storageKey) ?? [];\n commit('setHistoryQueries', historyQueries);\n };\n"],"names":[],"mappings":";;AAIA;;;;;;;;AAQA;
|
|
1
|
+
{"version":3,"file":"load-history-queries-from-browser-storage.action.js","sources":["../../../../../../src/x-modules/history-queries/store/actions/load-history-queries-from-browser-storage.action.ts"],"sourcesContent":["import { HistoryQuery } from '@empathyco/x-types';\nimport { localStorageService } from '../../../../utils/storage';\nimport { HistoryQueriesXStoreModule } from '../types';\n\n/**\n * Default implementation for the\n * {@link HistoryQueriesActions.loadHistoryQueriesFromBrowserStorage} action.\n *\n * @param context - The {@link https://vuex.vuejs.org/guide/actions.html | context} of the actions,\n * provided by Vuex.\n * @public\n */\n// eslint-disable-next-line max-len\nexport const loadHistoryQueriesFromBrowserStorage: HistoryQueriesXStoreModule['actions']['loadHistoryQueriesFromBrowserStorage'] =\n ({ commit, getters }) => {\n const historyQueries = localStorageService.getItem<HistoryQuery[]>(getters.storageKey) ?? [];\n commit('setHistoryQueries', historyQueries);\n };\n"],"names":[],"mappings":";;AAIA;;;;;;;;AAQA;MACa,oCAAoC,GAC/C,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE;IAClB,MAAM,cAAc,GAAG,mBAAmB,CAAC,OAAO,CAAiB,OAAO,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC;IAC7F,MAAM,CAAC,mBAAmB,EAAE,cAAc,CAAC,CAAC;AAC9C;;;;"}
|
|
@@ -8,10 +8,8 @@ import { SESSION_TIME_STAMP_STORAGE_KEY } from '../constants.js';
|
|
|
8
8
|
* provided by Vuex.
|
|
9
9
|
* @public
|
|
10
10
|
*/
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
var state = _a.state, commit = _a.commit;
|
|
14
|
-
var sessionTimeStampInMs = (_b = localStorageService.getItem(SESSION_TIME_STAMP_STORAGE_KEY)) !== null && _b !== void 0 ? _b : Date.now();
|
|
11
|
+
const refreshSession = ({ state, commit }) => {
|
|
12
|
+
const sessionTimeStampInMs = localStorageService.getItem(SESSION_TIME_STAMP_STORAGE_KEY) ?? Date.now();
|
|
15
13
|
localStorageService.setItem(SESSION_TIME_STAMP_STORAGE_KEY, sessionTimeStampInMs, state.config.sessionTTLInMs);
|
|
16
14
|
commit('setSessionTimeStamp', sessionTimeStampInMs);
|
|
17
15
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"refresh-session.action.js","sources":["../../../../../../src/x-modules/history-queries/store/actions/refresh-session.action.ts"],"sourcesContent":["import { localStorageService } from '../../../../utils/storage';\nimport { SESSION_TIME_STAMP_STORAGE_KEY } from '../constants';\nimport { HistoryQueriesXStoreModule } from '../types';\n\n/**\n * Default implementation for the {@link HistoryQueriesActions.refreshSession}.\n *\n * @param context - The {@link https://vuex.vuejs.org/guide/actions.html | context} of the actions,\n * provided by Vuex.\n * @public\n */\nexport const refreshSession: HistoryQueriesXStoreModule['actions']['refreshSession'] = ({\n state,\n commit\n}) => {\n const sessionTimeStampInMs =\n localStorageService.getItem<number>(SESSION_TIME_STAMP_STORAGE_KEY) ?? Date.now();\n localStorageService.setItem(\n SESSION_TIME_STAMP_STORAGE_KEY,\n sessionTimeStampInMs,\n state.config.sessionTTLInMs\n );\n commit('setSessionTimeStamp', sessionTimeStampInMs);\n};\n"],"names":[],"mappings":";;;AAIA;;;;;;;
|
|
1
|
+
{"version":3,"file":"refresh-session.action.js","sources":["../../../../../../src/x-modules/history-queries/store/actions/refresh-session.action.ts"],"sourcesContent":["import { localStorageService } from '../../../../utils/storage';\nimport { SESSION_TIME_STAMP_STORAGE_KEY } from '../constants';\nimport { HistoryQueriesXStoreModule } from '../types';\n\n/**\n * Default implementation for the {@link HistoryQueriesActions.refreshSession}.\n *\n * @param context - The {@link https://vuex.vuejs.org/guide/actions.html | context} of the actions,\n * provided by Vuex.\n * @public\n */\nexport const refreshSession: HistoryQueriesXStoreModule['actions']['refreshSession'] = ({\n state,\n commit\n}) => {\n const sessionTimeStampInMs =\n localStorageService.getItem<number>(SESSION_TIME_STAMP_STORAGE_KEY) ?? Date.now();\n localStorageService.setItem(\n SESSION_TIME_STAMP_STORAGE_KEY,\n sessionTimeStampInMs,\n state.config.sessionTTLInMs\n );\n commit('setSessionTimeStamp', sessionTimeStampInMs);\n};\n"],"names":[],"mappings":";;;AAIA;;;;;;;MAOa,cAAc,GAA4D,CAAC,EACtF,KAAK,EACL,MAAM,EACP;IACC,MAAM,oBAAoB,GACxB,mBAAmB,CAAC,OAAO,CAAS,8BAA8B,CAAC,IAAI,IAAI,CAAC,GAAG,EAAE,CAAC;IACpF,mBAAmB,CAAC,OAAO,CACzB,8BAA8B,EAC9B,oBAAoB,EACpB,KAAK,CAAC,MAAM,CAAC,cAAc,CAC5B,CAAC;IACF,MAAM,CAAC,qBAAqB,EAAE,oBAAoB,CAAC,CAAC;AACtD;;;;"}
|
|
@@ -7,9 +7,8 @@
|
|
|
7
7
|
* @returns A `void` promise that resolves when the history queries finishes updating.
|
|
8
8
|
* @public
|
|
9
9
|
*/
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
var newHistoryQueries = state.historyQueries.filter(function (historyQuery) { return historyQuery.query !== historyQueryToRemove.query; });
|
|
10
|
+
const removeFromHistory = ({ state, dispatch }, historyQueryToRemove) => {
|
|
11
|
+
const newHistoryQueries = state.historyQueries.filter(historyQuery => historyQuery.query !== historyQueryToRemove.query);
|
|
13
12
|
return dispatch('setHistoryQueries', newHistoryQueries);
|
|
14
13
|
};
|
|
15
14
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-query-from-history.action.js","sources":["../../../../../../src/x-modules/history-queries/store/actions/remove-query-from-history.action.ts"],"sourcesContent":["import { HistoryQueriesXStoreModule } from '../types';\n\n/**\n * Default implementation for the {@link HistoryQueriesActions.removeFromHistory}.\n *\n * @param context - The {@link https://vuex.vuejs.org/guide/actions.html | context} of the actions,\n * provided by Vuex.\n * @param historyQueryToRemove - The `HistoryQuery` to remove from the history.\n * @returns A `void` promise that resolves when the history queries finishes updating.\n * @public\n */\nexport const removeFromHistory: HistoryQueriesXStoreModule['actions']['removeFromHistory'] = (\n { state, dispatch },\n historyQueryToRemove\n) => {\n const newHistoryQueries = state.historyQueries.filter(\n historyQuery => historyQuery.query !== historyQueryToRemove.query\n );\n return dispatch('setHistoryQueries', newHistoryQueries);\n};\n"],"names":[],"mappings":"AAEA;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"remove-query-from-history.action.js","sources":["../../../../../../src/x-modules/history-queries/store/actions/remove-query-from-history.action.ts"],"sourcesContent":["import { HistoryQueriesXStoreModule } from '../types';\n\n/**\n * Default implementation for the {@link HistoryQueriesActions.removeFromHistory}.\n *\n * @param context - The {@link https://vuex.vuejs.org/guide/actions.html | context} of the actions,\n * provided by Vuex.\n * @param historyQueryToRemove - The `HistoryQuery` to remove from the history.\n * @returns A `void` promise that resolves when the history queries finishes updating.\n * @public\n */\nexport const removeFromHistory: HistoryQueriesXStoreModule['actions']['removeFromHistory'] = (\n { state, dispatch },\n historyQueryToRemove\n) => {\n const newHistoryQueries = state.historyQueries.filter(\n historyQuery => historyQuery.query !== historyQueryToRemove.query\n );\n return dispatch('setHistoryQueries', newHistoryQueries);\n};\n"],"names":[],"mappings":"AAEA;;;;;;;;;MASa,iBAAiB,GAA+D,CAC3F,EAAE,KAAK,EAAE,QAAQ,EAAE,EACnB,oBAAoB;IAEpB,MAAM,iBAAiB,GAAG,KAAK,CAAC,cAAc,CAAC,MAAM,CACnD,YAAY,IAAI,YAAY,CAAC,KAAK,KAAK,oBAAoB,CAAC,KAAK,CAClE,CAAC;IACF,OAAO,QAAQ,CAAC,mBAAmB,EAAE,iBAAiB,CAAC,CAAC;AAC1D;;;;"}
|
|
@@ -8,8 +8,7 @@ import { localStorageService } from '../../../../utils/storage.js';
|
|
|
8
8
|
* @param historyQueries - The new history queries to save to the store and browser storage.
|
|
9
9
|
* @public
|
|
10
10
|
*/
|
|
11
|
-
|
|
12
|
-
var commit = _a.commit, state = _a.state, getters = _a.getters;
|
|
11
|
+
const setHistoryQueries = ({ commit, state, getters }, historyQueries) => {
|
|
13
12
|
if (historyQueries.length > state.config.maxItemsToStore) {
|
|
14
13
|
historyQueries = historyQueries.slice(0, state.config.maxItemsToStore);
|
|
15
14
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-history-queries.action.js","sources":["../../../../../../src/x-modules/history-queries/store/actions/set-history-queries.action.ts"],"sourcesContent":["import { localStorageService } from '../../../../utils/storage';\nimport { HistoryQueriesXStoreModule } from '../types';\n\n/**\n * Default implementation for the {@link HistoryQueriesActions.setHistoryQueries}.\n *\n * @param context - The {@link https://vuex.vuejs.org/guide/actions.html | context} of the actions,\n * provided by Vuex.\n * @param historyQueries - The new history queries to save to the store and browser storage.\n * @public\n */\nexport const setHistoryQueries: HistoryQueriesXStoreModule['actions']['setHistoryQueries'] = (\n { commit, state, getters },\n historyQueries\n) => {\n if (historyQueries.length > state.config.maxItemsToStore) {\n historyQueries = historyQueries.slice(0, state.config.maxItemsToStore);\n }\n commit('setHistoryQueries', historyQueries);\n localStorageService.setItem(getters.storageKey, historyQueries);\n};\n"],"names":[],"mappings":";;AAGA;;;;;;;;
|
|
1
|
+
{"version":3,"file":"set-history-queries.action.js","sources":["../../../../../../src/x-modules/history-queries/store/actions/set-history-queries.action.ts"],"sourcesContent":["import { localStorageService } from '../../../../utils/storage';\nimport { HistoryQueriesXStoreModule } from '../types';\n\n/**\n * Default implementation for the {@link HistoryQueriesActions.setHistoryQueries}.\n *\n * @param context - The {@link https://vuex.vuejs.org/guide/actions.html | context} of the actions,\n * provided by Vuex.\n * @param historyQueries - The new history queries to save to the store and browser storage.\n * @public\n */\nexport const setHistoryQueries: HistoryQueriesXStoreModule['actions']['setHistoryQueries'] = (\n { commit, state, getters },\n historyQueries\n) => {\n if (historyQueries.length > state.config.maxItemsToStore) {\n historyQueries = historyQueries.slice(0, state.config.maxItemsToStore);\n }\n commit('setHistoryQueries', historyQueries);\n localStorageService.setItem(getters.storageKey, historyQueries);\n};\n"],"names":[],"mappings":";;AAGA;;;;;;;;MAQa,iBAAiB,GAA+D,CAC3F,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,EAC1B,cAAc;IAEd,IAAI,cAAc,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,eAAe,EAAE;QACxD,cAAc,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC;KACxE;IACD,MAAM,CAAC,mBAAmB,EAAE,cAAc,CAAC,CAAC;IAC5C,mBAAmB,CAAC,OAAO,CAAC,OAAO,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;AAClE;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-url-params.action.js","sources":["../../../../../../src/x-modules/history-queries/store/actions/set-url-params.action.ts"],"sourcesContent":["import { HistoryQueriesXStoreModule } from '../types';\n\n/**\n * Default implementation for the {@link HistoryQueriesActions.setUrlParams}.\n *\n * @param context - The {@link https://vuex.vuejs.org/guide/actions.html | context} of the actions,\n * provided by Vuex.\n *\n * @param urlParams - List of params from the url.\n * @public\n */\nexport const setUrlParams: HistoryQueriesXStoreModule['actions']['setUrlParams'] = (\n { commit },\n { query }\n) => {\n commit('setQuery', query);\n};\n"],"names":[],"mappings":"AAEA;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"set-url-params.action.js","sources":["../../../../../../src/x-modules/history-queries/store/actions/set-url-params.action.ts"],"sourcesContent":["import { HistoryQueriesXStoreModule } from '../types';\n\n/**\n * Default implementation for the {@link HistoryQueriesActions.setUrlParams}.\n *\n * @param context - The {@link https://vuex.vuejs.org/guide/actions.html | context} of the actions,\n * provided by Vuex.\n *\n * @param urlParams - List of params from the url.\n * @public\n */\nexport const setUrlParams: HistoryQueriesXStoreModule['actions']['setUrlParams'] = (\n { commit },\n { query }\n) => {\n commit('setQuery', query);\n};\n"],"names":[],"mappings":"AAEA;;;;;;;;;MASa,YAAY,GAA0D,CACjF,EAAE,MAAM,EAAE,EACV,EAAE,KAAK,EAAE;IAET,MAAM,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC;AAC5B;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
const HISTORY_QUERIES_STORAGE_KEY = 'history-queries';
|
|
2
|
+
const SESSION_TIME_STAMP_STORAGE_KEY = 'session-time-stamp';
|
|
3
3
|
|
|
4
4
|
export { HISTORY_QUERIES_STORAGE_KEY, SESSION_TIME_STAMP_STORAGE_KEY };
|
|
5
5
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sources":["../../../../../src/x-modules/history-queries/store/constants.ts"],"sourcesContent":["export const HISTORY_QUERIES_STORAGE_KEY = 'history-queries';\nexport const SESSION_TIME_STAMP_STORAGE_KEY = 'session-time-stamp';\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.js","sources":["../../../../../src/x-modules/history-queries/store/constants.ts"],"sourcesContent":["export const HISTORY_QUERIES_STORAGE_KEY = 'history-queries';\nexport const SESSION_TIME_STAMP_STORAGE_KEY = 'session-time-stamp';\n"],"names":[],"mappings":"MAAa,2BAA2B,GAAG,kBAAkB;MAChD,8BAA8B,GAAG;;;;"}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import '../../../store/x.module.js';
|
|
2
|
-
import '../../../store/utils/fetch-and-save-action.utils.js';
|
|
3
|
-
import '../../../store/utils/status-store.utils.js';
|
|
4
1
|
import { createStoreEmitters } from '../../../store/utils/store-emitters.utils.js';
|
|
5
2
|
import { historyQueriesXStoreModule } from './module.js';
|
|
6
3
|
|
|
@@ -9,15 +6,15 @@ import { historyQueriesXStoreModule } from './module.js';
|
|
|
9
6
|
*
|
|
10
7
|
* @internal
|
|
11
8
|
*/
|
|
12
|
-
|
|
9
|
+
const historyQueriesEmitters = createStoreEmitters(historyQueriesXStoreModule, {
|
|
13
10
|
// Used for filtering next-queries with the session history queries
|
|
14
|
-
SessionHistoryQueriesChanged:
|
|
11
|
+
SessionHistoryQueriesChanged: (_state, getters) => getters.sessionHistoryQueries,
|
|
15
12
|
// Used for refreshing the session until it is extracted from the history queries module
|
|
16
|
-
HistoryQueriesQueryChanged: { immediate: true, selector:
|
|
13
|
+
HistoryQueriesQueryChanged: { immediate: true, selector: state => state.query },
|
|
17
14
|
// Used to load history-queries from the browser storage
|
|
18
15
|
HistoryQueriesStorageKeyChanged: {
|
|
19
16
|
immediate: true,
|
|
20
|
-
selector:
|
|
17
|
+
selector: (_state, getters) => getters.storageKey
|
|
21
18
|
}
|
|
22
19
|
});
|
|
23
20
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emitters.js","sources":["../../../../../src/x-modules/history-queries/store/emitters.ts"],"sourcesContent":["import { createStoreEmitters } from '../../../store';\nimport { historyQueriesXStoreModule } from './module';\n\n/**\n * {@link StoreEmitters} For the history-queries module.\n *\n * @internal\n */\nexport const historyQueriesEmitters = createStoreEmitters(historyQueriesXStoreModule, {\n // Used for filtering next-queries with the session history queries\n SessionHistoryQueriesChanged: (_state, getters) => getters.sessionHistoryQueries,\n // Used for refreshing the session until it is extracted from the history queries module\n HistoryQueriesQueryChanged: { immediate: true, selector: state => state.query },\n // Used to load history-queries from the browser storage\n HistoryQueriesStorageKeyChanged: {\n immediate: true,\n selector: (_state, getters) => getters.storageKey\n }\n});\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"emitters.js","sources":["../../../../../src/x-modules/history-queries/store/emitters.ts"],"sourcesContent":["import { createStoreEmitters } from '../../../store';\nimport { historyQueriesXStoreModule } from './module';\n\n/**\n * {@link StoreEmitters} For the history-queries module.\n *\n * @internal\n */\nexport const historyQueriesEmitters = createStoreEmitters(historyQueriesXStoreModule, {\n // Used for filtering next-queries with the session history queries\n SessionHistoryQueriesChanged: (_state, getters) => getters.sessionHistoryQueries,\n // Used for refreshing the session until it is extracted from the history queries module\n HistoryQueriesQueryChanged: { immediate: true, selector: state => state.query },\n // Used to load history-queries from the browser storage\n HistoryQueriesStorageKeyChanged: {\n immediate: true,\n selector: (_state, getters) => getters.storageKey\n }\n});\n"],"names":[],"mappings":";;;AAGA;;;;;MAKa,sBAAsB,GAAG,mBAAmB,CAAC,0BAA0B,EAAE;;IAEpF,4BAA4B,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,OAAO,CAAC,qBAAqB;;IAEhF,0BAA0B,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,IAAI,KAAK,CAAC,KAAK,EAAE;;IAE/E,+BAA+B,EAAE;QAC/B,SAAS,EAAE,IAAI;QACf,QAAQ,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,OAAO,CAAC,UAAU;KAClD;CACF;;;;"}
|
|
@@ -5,9 +5,7 @@ import { normalizeString } from '../../../../utils/normalize.js';
|
|
|
5
5
|
*
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
function HistoryQueriesGetter() {
|
|
10
|
-
}
|
|
8
|
+
class HistoryQueriesGetter {
|
|
11
9
|
/**
|
|
12
10
|
* Default implementation for the {@link HistoryQueriesGetters.historyQueries} getter.
|
|
13
11
|
*
|
|
@@ -15,12 +13,11 @@ var HistoryQueriesGetter = /** @class */ (function () {
|
|
|
15
13
|
* queries module.
|
|
16
14
|
* @returns The filtered subset of queries, matching with the current query.
|
|
17
15
|
*/
|
|
18
|
-
|
|
19
|
-
var query = _a.query, historyQueries = _a.historyQueries, config = _a.config;
|
|
16
|
+
historyQueries({ query, historyQueries, config }) {
|
|
20
17
|
return query
|
|
21
18
|
? historyQueries.filter(this.searchInHistoryQueries(normalizeString(query), config.hideIfEqualsQuery))
|
|
22
19
|
: historyQueries;
|
|
23
|
-
}
|
|
20
|
+
}
|
|
24
21
|
/**
|
|
25
22
|
* Creates a function for searching in the history queries array the items that match the current
|
|
26
23
|
* query.
|
|
@@ -31,25 +28,24 @@ var HistoryQueriesGetter = /** @class */ (function () {
|
|
|
31
28
|
* params.
|
|
32
29
|
* @internal
|
|
33
30
|
*/
|
|
34
|
-
|
|
35
|
-
return
|
|
36
|
-
|
|
37
|
-
|
|
31
|
+
searchInHistoryQueries(normalizedQuery, hideIfEqualsQuery) {
|
|
32
|
+
return (historyQuery) => {
|
|
33
|
+
const normalizedHistoryQuery = normalizeString(historyQuery.query);
|
|
34
|
+
const matchesQuery = normalizedHistoryQuery.includes(normalizedQuery);
|
|
38
35
|
return hideIfEqualsQuery
|
|
39
36
|
? matchesQuery && normalizedHistoryQuery !== normalizedQuery
|
|
40
37
|
: matchesQuery;
|
|
41
38
|
};
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
var historyQueriesGetter = new HistoryQueriesGetter();
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
const historyQueriesGetter = new HistoryQueriesGetter();
|
|
46
42
|
// eslint-disable-next-line jsdoc/require-description-complete-sentence
|
|
47
43
|
/**
|
|
48
44
|
* {@inheritDoc HistoryQueriesGetter.historyQueries}
|
|
49
45
|
*
|
|
50
46
|
* @public
|
|
51
47
|
*/
|
|
52
|
-
|
|
48
|
+
const historyQueries = historyQueriesGetter.historyQueries.bind(historyQueriesGetter);
|
|
53
49
|
|
|
54
50
|
export { HistoryQueriesGetter, historyQueries };
|
|
55
51
|
//# sourceMappingURL=history-queries.getter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"history-queries.getter.js","sources":["../../../../../../src/x-modules/history-queries/store/getters/history-queries.getter.ts"],"sourcesContent":["import { HistoryQuery } from '@empathyco/x-types';\nimport { GettersClass } from '../../../../store/getters.types';\nimport { normalizeString } from '../../../../utils/normalize';\nimport { HistoryQueriesState, HistoryQueriesXStoreModule } from '../types';\n\n/**\n * Class implementation for the {@link HistoryQueriesGetters.historyQueries} getter.\n *\n * @public\n */\nexport class HistoryQueriesGetter implements GettersClass<HistoryQueriesXStoreModule> {\n /**\n * Default implementation for the {@link HistoryQueriesGetters.historyQueries} getter.\n *\n * @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the history\n * queries module.\n * @returns The filtered subset of queries, matching with the current query.\n */\n historyQueries({ query, historyQueries, config }: HistoryQueriesState): HistoryQuery[] {\n return query\n ? historyQueries.filter(\n this.searchInHistoryQueries(normalizeString(query), config.hideIfEqualsQuery)\n )\n : historyQueries;\n }\n\n /**\n * Creates a function for searching in the history queries array the items that match the current\n * query.\n *\n * @param normalizedQuery - The normalized query for search into the array.\n * @param hideIfEqualsQuery - If `true`, removes items that are exactly like the current query.\n * @returns A filter function for searching into the array of history queries with the provided\n * params.\n * @internal\n */\n protected searchInHistoryQueries(\n normalizedQuery: string,\n hideIfEqualsQuery: boolean\n ): (historyQuery: HistoryQuery) => boolean {\n return (historyQuery: HistoryQuery) => {\n const normalizedHistoryQuery = normalizeString(historyQuery.query);\n const matchesQuery = normalizedHistoryQuery.includes(normalizedQuery);\n return hideIfEqualsQuery\n ? matchesQuery && normalizedHistoryQuery !== normalizedQuery\n : matchesQuery;\n };\n }\n}\n\nconst historyQueriesGetter = new HistoryQueriesGetter();\n\n// eslint-disable-next-line jsdoc/require-description-complete-sentence\n/**\n * {@inheritDoc HistoryQueriesGetter.historyQueries}\n *\n * @public\n */\nexport const historyQueries = historyQueriesGetter.historyQueries.bind(historyQueriesGetter);\n"],"names":[],"mappings":";;AAKA
|
|
1
|
+
{"version":3,"file":"history-queries.getter.js","sources":["../../../../../../src/x-modules/history-queries/store/getters/history-queries.getter.ts"],"sourcesContent":["import { HistoryQuery } from '@empathyco/x-types';\nimport { GettersClass } from '../../../../store/getters.types';\nimport { normalizeString } from '../../../../utils/normalize';\nimport { HistoryQueriesState, HistoryQueriesXStoreModule } from '../types';\n\n/**\n * Class implementation for the {@link HistoryQueriesGetters.historyQueries} getter.\n *\n * @public\n */\nexport class HistoryQueriesGetter implements GettersClass<HistoryQueriesXStoreModule> {\n /**\n * Default implementation for the {@link HistoryQueriesGetters.historyQueries} getter.\n *\n * @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the history\n * queries module.\n * @returns The filtered subset of queries, matching with the current query.\n */\n historyQueries({ query, historyQueries, config }: HistoryQueriesState): HistoryQuery[] {\n return query\n ? historyQueries.filter(\n this.searchInHistoryQueries(normalizeString(query), config.hideIfEqualsQuery)\n )\n : historyQueries;\n }\n\n /**\n * Creates a function for searching in the history queries array the items that match the current\n * query.\n *\n * @param normalizedQuery - The normalized query for search into the array.\n * @param hideIfEqualsQuery - If `true`, removes items that are exactly like the current query.\n * @returns A filter function for searching into the array of history queries with the provided\n * params.\n * @internal\n */\n protected searchInHistoryQueries(\n normalizedQuery: string,\n hideIfEqualsQuery: boolean\n ): (historyQuery: HistoryQuery) => boolean {\n return (historyQuery: HistoryQuery) => {\n const normalizedHistoryQuery = normalizeString(historyQuery.query);\n const matchesQuery = normalizedHistoryQuery.includes(normalizedQuery);\n return hideIfEqualsQuery\n ? matchesQuery && normalizedHistoryQuery !== normalizedQuery\n : matchesQuery;\n };\n }\n}\n\nconst historyQueriesGetter = new HistoryQueriesGetter();\n\n// eslint-disable-next-line jsdoc/require-description-complete-sentence\n/**\n * {@inheritDoc HistoryQueriesGetter.historyQueries}\n *\n * @public\n */\nexport const historyQueries = historyQueriesGetter.historyQueries.bind(historyQueriesGetter);\n"],"names":[],"mappings":";;AAKA;;;;;MAKa,oBAAoB;;;;;;;;IAQ/B,cAAc,CAAC,EAAE,KAAK,EAAE,cAAc,EAAE,MAAM,EAAuB;QACnE,OAAO,KAAK;cACR,cAAc,CAAC,MAAM,CACnB,IAAI,CAAC,sBAAsB,CAAC,eAAe,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,iBAAiB,CAAC,CAC9E;cACD,cAAc,CAAC;KACpB;;;;;;;;;;;IAYS,sBAAsB,CAC9B,eAAuB,EACvB,iBAA0B;QAE1B,OAAO,CAAC,YAA0B;YAChC,MAAM,sBAAsB,GAAG,eAAe,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;YACnE,MAAM,YAAY,GAAG,sBAAsB,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;YACtE,OAAO,iBAAiB;kBACpB,YAAY,IAAI,sBAAsB,KAAK,eAAe;kBAC1D,YAAY,CAAC;SAClB,CAAC;KACH;CACF;AAED,MAAM,oBAAoB,GAAG,IAAI,oBAAoB,EAAE,CAAC;AAExD;AACA;;;;;MAKa,cAAc,GAAG,oBAAoB,CAAC,cAAc,CAAC,IAAI,CAAC,oBAAoB;;;;"}
|
|
@@ -10,10 +10,7 @@ import { normalizeString } from '../../../../utils/normalize.js';
|
|
|
10
10
|
*
|
|
11
11
|
* @public
|
|
12
12
|
*/
|
|
13
|
-
|
|
14
|
-
var query = _a.query;
|
|
15
|
-
return normalizeString(query);
|
|
16
|
-
};
|
|
13
|
+
const normalizedQuery = ({ query }) => normalizeString(query);
|
|
17
14
|
|
|
18
15
|
export { normalizedQuery };
|
|
19
16
|
//# sourceMappingURL=normalized-query.getter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"normalized-query.getter.js","sources":["../../../../../../src/x-modules/history-queries/store/getters/normalized-query.getter.ts"],"sourcesContent":["import { normalizeString } from '../../../../utils/normalize';\nimport { HistoryQueriesXStoreModule } from '../types';\n\n/**\n * Default implementation for the {@link HistoryQueriesGetters.normalizedQuery} getter.\n *\n * @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the history\n * queries module.\n *\n * @returns The normalized query.\n *\n * @public\n */\nexport const normalizedQuery: HistoryQueriesXStoreModule['getters']['normalizedQuery'] = ({\n query\n}) => normalizeString(query);\n"],"names":[],"mappings":";;AAGA;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"normalized-query.getter.js","sources":["../../../../../../src/x-modules/history-queries/store/getters/normalized-query.getter.ts"],"sourcesContent":["import { normalizeString } from '../../../../utils/normalize';\nimport { HistoryQueriesXStoreModule } from '../types';\n\n/**\n * Default implementation for the {@link HistoryQueriesGetters.normalizedQuery} getter.\n *\n * @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the history\n * queries module.\n *\n * @returns The normalized query.\n *\n * @public\n */\nexport const normalizedQuery: HistoryQueriesXStoreModule['getters']['normalizedQuery'] = ({\n query\n}) => normalizeString(query);\n"],"names":[],"mappings":";;AAGA;;;;;;;;;;MAUa,eAAe,GAA6D,CAAC,EACxF,KAAK,EACN,KAAK,eAAe,CAAC,KAAK;;;;"}
|
|
@@ -6,9 +6,8 @@
|
|
|
6
6
|
* @returns The history queries that have been made in the current session.
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
return historyQueries.filter(function (historyQuery) { return historyQuery.timestamp > sessionTimeStampInMs; });
|
|
9
|
+
const sessionHistoryQueries = ({ sessionTimeStampInMs, historyQueries }) => {
|
|
10
|
+
return historyQueries.filter(historyQuery => historyQuery.timestamp > sessionTimeStampInMs);
|
|
12
11
|
};
|
|
13
12
|
|
|
14
13
|
export { sessionHistoryQueries };
|