@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session.service.js","sources":["../../../../../src/x-modules/tagging/service/session.service.ts"],"sourcesContent":["import { nanoid } from 'nanoid';\nimport { BrowserStorageService, StorageService } from '@empathyco/x-storage-service';\nimport { SessionService } from './types';\n\n/**\n * Default implementation for the {@link SessionService}.\n *\n * @public\n */\nexport class DefaultSessionService implements SessionService {\n /**\n * Session id key to use as key in the storage.\n *\n * @public\n */\n public static readonly SESSION_ID_KEY = 'session-id';\n\n /**\n * Global instance of the {@link SessionService}.\n */\n public static instance: SessionService = new DefaultSessionService();\n\n public constructor(\n protected storageService: StorageService = new BrowserStorageService(localStorage, 'x'),\n protected ttlMs = 1800000 // 30m * 60s * 1000 = 1800_000ms\n ) {}\n\n /**\n * Returns the session id of the storage.\n *\n * @returns The current session id.\n *\n * @public\n */\n getSessionId(): string {\n const sessionId = this.storageService.getItem(DefaultSessionService.SESSION_ID_KEY) ?? nanoid();\n this.storageService.setItem(\n DefaultSessionService.SESSION_ID_KEY,\n sessionId,\n Date.now() + this.ttlMs\n );\n return sessionId;\n }\n\n /**\n * Removes the session if from the storage.\n *\n * @public\n */\n clearSessionId(): void {\n this.storageService.removeItem(DefaultSessionService.SESSION_ID_KEY);\n }\n}\n"],"names":[],"mappings":";;;AAIA
|
|
1
|
+
{"version":3,"file":"session.service.js","sources":["../../../../../src/x-modules/tagging/service/session.service.ts"],"sourcesContent":["import { nanoid } from 'nanoid';\nimport { BrowserStorageService, StorageService } from '@empathyco/x-storage-service';\nimport { SessionService } from './types';\n\n/**\n * Default implementation for the {@link SessionService}.\n *\n * @public\n */\nexport class DefaultSessionService implements SessionService {\n /**\n * Session id key to use as key in the storage.\n *\n * @public\n */\n public static readonly SESSION_ID_KEY = 'session-id';\n\n /**\n * Global instance of the {@link SessionService}.\n */\n public static instance: SessionService = new DefaultSessionService();\n\n public constructor(\n protected storageService: StorageService = new BrowserStorageService(localStorage, 'x'),\n protected ttlMs = 1800000 // 30m * 60s * 1000 = 1800_000ms\n ) {}\n\n /**\n * Returns the session id of the storage.\n *\n * @returns The current session id.\n *\n * @public\n */\n getSessionId(): string {\n const sessionId = this.storageService.getItem(DefaultSessionService.SESSION_ID_KEY) ?? nanoid();\n this.storageService.setItem(\n DefaultSessionService.SESSION_ID_KEY,\n sessionId,\n Date.now() + this.ttlMs\n );\n return sessionId;\n }\n\n /**\n * Removes the session if from the storage.\n *\n * @public\n */\n clearSessionId(): void {\n this.storageService.removeItem(DefaultSessionService.SESSION_ID_KEY);\n }\n}\n"],"names":[],"mappings":";;;AAIA;;;;;MAKa,qBAAqB;IAahC,YACY,iBAAiC,IAAI,qBAAqB,CAAC,YAAY,EAAE,GAAG,CAAC,EAC7E,QAAQ,OAAO;;QADf,mBAAc,GAAd,cAAc,CAA+D;QAC7E,UAAK,GAAL,KAAK,CAAU;KACvB;;;;;;;;IASJ,YAAY;QACV,MAAM,SAAS,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,qBAAqB,CAAC,cAAc,CAAC,IAAI,MAAM,EAAE,CAAC;QAChG,IAAI,CAAC,cAAc,CAAC,OAAO,CACzB,qBAAqB,CAAC,cAAc,EACpC,SAAS,EACT,IAAI,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC,KAAK,CACxB,CAAC;QACF,OAAO,SAAS,CAAC;KAClB;;;;;;IAOD,cAAc;QACZ,IAAI,CAAC,cAAc,CAAC,UAAU,CAAC,qBAAqB,CAAC,cAAc,CAAC,CAAC;KACtE;;AAzCD;;;;;AAKuB,oCAAc,GAAG,YAAY,CAAC;AAErD;;;AAGc,8BAAQ,GAAmB,IAAI,qBAAqB,EAAE;;;;"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __assign } from 'tslib';
|
|
2
1
|
import { XPlugin } from '../../../../plugins/x-plugin.js';
|
|
3
2
|
import '../../service/pdp-add-to-cart.service.js';
|
|
4
3
|
import { DefaultSessionService } from '../../service/session.service.js';
|
|
@@ -12,18 +11,19 @@ import { DefaultSessionService } from '../../service/session.service.js';
|
|
|
12
11
|
*
|
|
13
12
|
* @public
|
|
14
13
|
*/
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
var sessionId = getSessionId(consent);
|
|
14
|
+
const track = ({ state }, taggingInfo) => {
|
|
15
|
+
const { consent } = state;
|
|
16
|
+
const taggingInfos = Array.isArray(taggingInfo) ? taggingInfo : [taggingInfo];
|
|
17
|
+
const sessionId = getSessionId(consent);
|
|
20
18
|
// TODO EX-5061 - Remove this validation when the adapter ignores undefined values.
|
|
21
|
-
|
|
22
|
-
taggingInfos.forEach(
|
|
23
|
-
var url = _a.url, params = _a.params;
|
|
19
|
+
const session = sessionId && { session: sessionId };
|
|
20
|
+
taggingInfos.forEach(({ url, params }) => {
|
|
24
21
|
XPlugin.adapter.track({
|
|
25
|
-
url
|
|
26
|
-
params:
|
|
22
|
+
url,
|
|
23
|
+
params: {
|
|
24
|
+
...params,
|
|
25
|
+
...session
|
|
26
|
+
}
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
29
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"track.action.js","sources":["../../../../../../src/x-modules/tagging/store/actions/track.action.ts"],"sourcesContent":["import { TaggingInfo } from '@empathyco/x-types';\nimport { XPlugin } from '../../../../plugins/x-plugin';\nimport { DefaultSessionService } from '../../service';\nimport { TaggingXStoreModule } from '../types';\n\n/**\n * Default implementation for the {@link TaggingActions.track}.\n *\n * @param context - The {@link https://vuex.vuejs.org/guide/actions.html | context} of the actions,\n * provided by Vuex.\n * @param taggingInfo - The information of the event to track.\n *\n * @public\n */\nexport const track: TaggingXStoreModule['actions']['track'] = ({ state }, taggingInfo) => {\n const { consent } = state;\n const taggingInfos = Array.isArray(taggingInfo) ? taggingInfo : [taggingInfo];\n const sessionId = getSessionId(consent);\n // TODO EX-5061 - Remove this validation when the adapter ignores undefined values.\n const session = sessionId && { session: sessionId };\n\n taggingInfos.forEach(({ url, params }: TaggingInfo) => {\n XPlugin.adapter.track({\n url,\n params: {\n ...params,\n ...session\n }\n });\n });\n};\n\n/**\n * Returns the session id if the consent is true.\n *\n * @param consent - User consent to retrieve the session id.\n *\n * @returns The user session id or undefined.\n *\n * @internal\n */\nfunction getSessionId(consent: boolean | null): string | undefined {\n return consent ? DefaultSessionService.instance.getSessionId() : undefined;\n}\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"track.action.js","sources":["../../../../../../src/x-modules/tagging/store/actions/track.action.ts"],"sourcesContent":["import { TaggingInfo } from '@empathyco/x-types';\nimport { XPlugin } from '../../../../plugins/x-plugin';\nimport { DefaultSessionService } from '../../service';\nimport { TaggingXStoreModule } from '../types';\n\n/**\n * Default implementation for the {@link TaggingActions.track}.\n *\n * @param context - The {@link https://vuex.vuejs.org/guide/actions.html | context} of the actions,\n * provided by Vuex.\n * @param taggingInfo - The information of the event to track.\n *\n * @public\n */\nexport const track: TaggingXStoreModule['actions']['track'] = ({ state }, taggingInfo) => {\n const { consent } = state;\n const taggingInfos = Array.isArray(taggingInfo) ? taggingInfo : [taggingInfo];\n const sessionId = getSessionId(consent);\n // TODO EX-5061 - Remove this validation when the adapter ignores undefined values.\n const session = sessionId && { session: sessionId };\n\n taggingInfos.forEach(({ url, params }: TaggingInfo) => {\n XPlugin.adapter.track({\n url,\n params: {\n ...params,\n ...session\n }\n });\n });\n};\n\n/**\n * Returns the session id if the consent is true.\n *\n * @param consent - User consent to retrieve the session id.\n *\n * @returns The user session id or undefined.\n *\n * @internal\n */\nfunction getSessionId(consent: boolean | null): string | undefined {\n return consent ? DefaultSessionService.instance.getSessionId() : undefined;\n}\n"],"names":[],"mappings":";;;;AAKA;;;;;;;;;MASa,KAAK,GAA4C,CAAC,EAAE,KAAK,EAAE,EAAE,WAAW;IACnF,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAC1B,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,CAAC,WAAW,CAAC,GAAG,WAAW,GAAG,CAAC,WAAW,CAAC,CAAC;IAC9E,MAAM,SAAS,GAAG,YAAY,CAAC,OAAO,CAAC,CAAC;;IAExC,MAAM,OAAO,GAAG,SAAS,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC;IAEpD,YAAY,CAAC,OAAO,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAe;QAChD,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC;YACpB,GAAG;YACH,MAAM,EAAE;gBACN,GAAG,MAAM;gBACT,GAAG,OAAO;aACX;SACF,CAAC,CAAC;KACJ,CAAC,CAAC;AACL,EAAE;AAEF;;;;;;;;;AASA,SAAS,YAAY,CAAC,OAAuB;IAC3C,OAAO,OAAO,GAAG,qBAAqB,CAAC,QAAQ,CAAC,YAAY,EAAE,GAAG,SAAS,CAAC;AAC7E;;;;"}
|
|
@@ -6,12 +6,12 @@ import { taggingXStoreModule } from './module.js';
|
|
|
6
6
|
*
|
|
7
7
|
* @internal
|
|
8
8
|
*/
|
|
9
|
-
|
|
10
|
-
ConsentChanged:
|
|
11
|
-
SearchTaggingReceived:
|
|
9
|
+
const taggingEmitters = createStoreEmitters(taggingXStoreModule, {
|
|
10
|
+
ConsentChanged: state => state.consent,
|
|
11
|
+
SearchTaggingReceived: state => state.queryTaggingInfo,
|
|
12
12
|
ResultURLTrackingEnabled: {
|
|
13
|
-
selector:
|
|
14
|
-
filter:
|
|
13
|
+
selector: state => state.config.clickedResultStorageKey,
|
|
14
|
+
filter: newValue => newValue === 'url'
|
|
15
15
|
}
|
|
16
16
|
});
|
|
17
17
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emitters.js","sources":["../../../../../src/x-modules/tagging/store/emitters.ts"],"sourcesContent":["import { createStoreEmitters } from '../../../store/utils/store-emitters.utils';\nimport { taggingXStoreModule } from './module';\n\n/**\n * {@link StoreEmitters} For the tagging module.\n *\n * @internal\n */\nexport const taggingEmitters = createStoreEmitters(taggingXStoreModule, {\n ConsentChanged: state => state.consent!,\n SearchTaggingReceived: state => state.queryTaggingInfo!,\n ResultURLTrackingEnabled: {\n selector: state => state.config.clickedResultStorageKey!,\n filter: newValue => newValue === 'url'\n }\n});\n"],"names":[],"mappings":";;;AAGA;;;;;
|
|
1
|
+
{"version":3,"file":"emitters.js","sources":["../../../../../src/x-modules/tagging/store/emitters.ts"],"sourcesContent":["import { createStoreEmitters } from '../../../store/utils/store-emitters.utils';\nimport { taggingXStoreModule } from './module';\n\n/**\n * {@link StoreEmitters} For the tagging module.\n *\n * @internal\n */\nexport const taggingEmitters = createStoreEmitters(taggingXStoreModule, {\n ConsentChanged: state => state.consent!,\n SearchTaggingReceived: state => state.queryTaggingInfo!,\n ResultURLTrackingEnabled: {\n selector: state => state.config.clickedResultStorageKey!,\n filter: newValue => newValue === 'url'\n }\n});\n"],"names":[],"mappings":";;;AAGA;;;;;MAKa,eAAe,GAAG,mBAAmB,CAAC,mBAAmB,EAAE;IACtE,cAAc,EAAE,KAAK,IAAI,KAAK,CAAC,OAAQ;IACvC,qBAAqB,EAAE,KAAK,IAAI,KAAK,CAAC,gBAAiB;IACvD,wBAAwB,EAAE;QACxB,QAAQ,EAAE,KAAK,IAAI,KAAK,CAAC,MAAM,CAAC,uBAAwB;QACxD,MAAM,EAAE,QAAQ,IAAI,QAAQ,KAAK,KAAK;KACvC;CACF;;;;"}
|
|
@@ -5,8 +5,8 @@ import { track } from './actions/track.action.js';
|
|
|
5
5
|
*
|
|
6
6
|
* @internal
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
state:
|
|
8
|
+
const taggingXStoreModule = {
|
|
9
|
+
state: () => ({
|
|
10
10
|
config: {
|
|
11
11
|
sessionTTLMs: 30 * 60 * 1000,
|
|
12
12
|
queryTaggingDebounceMs: 2000,
|
|
@@ -15,21 +15,21 @@ var taggingXStoreModule = {
|
|
|
15
15
|
},
|
|
16
16
|
consent: null,
|
|
17
17
|
queryTaggingInfo: null
|
|
18
|
-
})
|
|
18
|
+
}),
|
|
19
19
|
getters: {},
|
|
20
20
|
mutations: {
|
|
21
|
-
setConsent
|
|
21
|
+
setConsent(state, consent) {
|
|
22
22
|
state.consent = consent;
|
|
23
23
|
},
|
|
24
|
-
setQueryTaggingInfo
|
|
24
|
+
setQueryTaggingInfo(state, queryTaggingInfo) {
|
|
25
25
|
state.queryTaggingInfo = queryTaggingInfo;
|
|
26
26
|
},
|
|
27
|
-
setTaggingConfig
|
|
27
|
+
setTaggingConfig(state, taggingConfig) {
|
|
28
28
|
Object.assign(state.config, taggingConfig);
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
actions: {
|
|
32
|
-
track
|
|
32
|
+
track
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.js","sources":["../../../../../src/x-modules/tagging/store/module.ts"],"sourcesContent":["import { TaggingInfo } from '@empathyco/x-types';\nimport { track } from './actions/track.action';\nimport { TaggingXStoreModule } from './types';\n\n/**\n * {@link XStoreModule} For the tagging module.\n *\n * @internal\n */\nexport const taggingXStoreModule: TaggingXStoreModule = {\n state: () => ({\n config: {\n sessionTTLMs: 30 * 60 * 1000,\n queryTaggingDebounceMs: 2000,\n clickedResultStorageKey: null,\n clickedResultStorageTTLMs: null\n },\n consent: null,\n queryTaggingInfo: null\n }),\n getters: {},\n mutations: {\n setConsent(state, consent) {\n state.consent = consent;\n },\n setQueryTaggingInfo(state, queryTaggingInfo: TaggingInfo) {\n state.queryTaggingInfo = queryTaggingInfo;\n },\n setTaggingConfig(state, taggingConfig) {\n Object.assign(state.config, taggingConfig);\n }\n },\n actions: {\n track\n }\n};\n"],"names":[],"mappings":";;AAIA;;;;;
|
|
1
|
+
{"version":3,"file":"module.js","sources":["../../../../../src/x-modules/tagging/store/module.ts"],"sourcesContent":["import { TaggingInfo } from '@empathyco/x-types';\nimport { track } from './actions/track.action';\nimport { TaggingXStoreModule } from './types';\n\n/**\n * {@link XStoreModule} For the tagging module.\n *\n * @internal\n */\nexport const taggingXStoreModule: TaggingXStoreModule = {\n state: () => ({\n config: {\n sessionTTLMs: 30 * 60 * 1000,\n queryTaggingDebounceMs: 2000,\n clickedResultStorageKey: null,\n clickedResultStorageTTLMs: null\n },\n consent: null,\n queryTaggingInfo: null\n }),\n getters: {},\n mutations: {\n setConsent(state, consent) {\n state.consent = consent;\n },\n setQueryTaggingInfo(state, queryTaggingInfo: TaggingInfo) {\n state.queryTaggingInfo = queryTaggingInfo;\n },\n setTaggingConfig(state, taggingConfig) {\n Object.assign(state.config, taggingConfig);\n }\n },\n actions: {\n track\n }\n};\n"],"names":[],"mappings":";;AAIA;;;;;MAKa,mBAAmB,GAAwB;IACtD,KAAK,EAAE,OAAO;QACZ,MAAM,EAAE;YACN,YAAY,EAAE,EAAE,GAAG,EAAE,GAAG,IAAI;YAC5B,sBAAsB,EAAE,IAAI;YAC5B,uBAAuB,EAAE,IAAI;YAC7B,yBAAyB,EAAE,IAAI;SAChC;QACD,OAAO,EAAE,IAAI;QACb,gBAAgB,EAAE,IAAI;KACvB,CAAC;IACF,OAAO,EAAE,EAAE;IACX,SAAS,EAAE;QACT,UAAU,CAAC,KAAK,EAAE,OAAO;YACvB,KAAK,CAAC,OAAO,GAAG,OAAO,CAAC;SACzB;QACD,mBAAmB,CAAC,KAAK,EAAE,gBAA6B;YACtD,KAAK,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;SAC3C;QACD,gBAAgB,CAAC,KAAK,EAAE,aAAa;YACnC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;SAC5C;KACF;IACD,OAAO,EAAE;QACP,KAAK;KACN;;;;;"}
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
import { wireServiceWithoutPayload, wireService } from '../../wiring/wires.factory.js';
|
|
2
|
-
import { createWiring } from '../../wiring/wiring.utils.js';
|
|
3
1
|
import { namespacedWireCommit, namespacedWireDispatch } from '../../wiring/namespaced-wires.factory.js';
|
|
4
|
-
import { filter, mapWire } from '../../wiring/wires.operators.js';
|
|
5
2
|
import { namespacedDebounce } from '../../wiring/namespaced-wires.operators.js';
|
|
6
|
-
import {
|
|
3
|
+
import { wireServiceWithoutPayload, wireService } from '../../wiring/wires.factory.js';
|
|
4
|
+
import { filter, mapWire } from '../../wiring/wires.operators.js';
|
|
5
|
+
import { createWiring } from '../../wiring/wiring.utils.js';
|
|
7
6
|
import { DefaultSessionService } from './service/session.service.js';
|
|
7
|
+
import { DefaultPDPAddToCartService } from './service/pdp-add-to-cart.service.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* `tagging` {@link XModuleName | XModule name}.
|
|
11
11
|
*
|
|
12
12
|
* @internal
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
const moduleName = 'tagging';
|
|
15
15
|
/**
|
|
16
16
|
* Debounce function for the module.
|
|
17
17
|
*/
|
|
18
|
-
|
|
18
|
+
const moduleDebounce = namespacedDebounce(moduleName);
|
|
19
19
|
/**
|
|
20
20
|
* WireCommit for {@link TaggingXModule}.
|
|
21
21
|
*
|
|
22
22
|
* @internal
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
const wireCommit = namespacedWireCommit(moduleName);
|
|
25
25
|
/**
|
|
26
26
|
* WireDispatch for {@link TaggingXModule}.
|
|
27
27
|
*
|
|
28
28
|
* @internal
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
const wireDispatch = namespacedWireDispatch(moduleName);
|
|
31
31
|
/**
|
|
32
32
|
* Wires without payload factory for {@link DefaultSessionService}.
|
|
33
33
|
*/
|
|
34
|
-
|
|
34
|
+
const wireSessionServiceWithoutPayload = wireServiceWithoutPayload(DefaultSessionService.instance);
|
|
35
35
|
/**
|
|
36
36
|
* Wires factory for {@link DefaultPDPAddToCartService}.
|
|
37
37
|
*/
|
|
38
|
-
|
|
38
|
+
const wirePDPAddToCartService = wireService(DefaultPDPAddToCartService.instance);
|
|
39
39
|
/**
|
|
40
40
|
* Stores the given result on the local storage.
|
|
41
41
|
*
|
|
42
42
|
* @public
|
|
43
43
|
*/
|
|
44
|
-
|
|
44
|
+
const storeClickedResultWire = wirePDPAddToCartService('storeResultClicked');
|
|
45
45
|
/**
|
|
46
46
|
* Moves the result information from the local storage to session storage.
|
|
47
47
|
*
|
|
48
48
|
* @public
|
|
49
49
|
*/
|
|
50
|
-
|
|
50
|
+
const moveClickedResultToSessionWire = mapWire(wirePDPAddToCartService('moveToSessionStorage'), (payload) => {
|
|
51
51
|
return payload === 'url' ? undefined : payload;
|
|
52
52
|
});
|
|
53
53
|
/**
|
|
@@ -55,44 +55,38 @@ var moveClickedResultToSessionWire = mapWire(wirePDPAddToCartService('moveToSess
|
|
|
55
55
|
*
|
|
56
56
|
* @public
|
|
57
57
|
*/
|
|
58
|
-
|
|
58
|
+
const trackAddToCartFromSessionStorage = wirePDPAddToCartService('trackAddToCart');
|
|
59
59
|
/**
|
|
60
60
|
* Clears the session id.
|
|
61
61
|
*
|
|
62
62
|
* @public
|
|
63
63
|
*/
|
|
64
|
-
|
|
65
|
-
var consent = _a.eventPayload;
|
|
66
|
-
return !consent;
|
|
67
|
-
});
|
|
64
|
+
const clearSessionWire = filter(wireSessionServiceWithoutPayload('clearSessionId'), ({ eventPayload: consent }) => !consent);
|
|
68
65
|
/**
|
|
69
66
|
* Sets the tagging state `consent`.
|
|
70
67
|
*
|
|
71
68
|
* @public
|
|
72
69
|
*/
|
|
73
|
-
|
|
70
|
+
const setConsent = wireCommit('setConsent');
|
|
74
71
|
/**
|
|
75
72
|
* Sets the tagging config state.
|
|
76
73
|
*
|
|
77
74
|
* @public
|
|
78
75
|
*/
|
|
79
|
-
|
|
76
|
+
const setTaggingConfig = wireCommit('setTaggingConfig');
|
|
80
77
|
/**
|
|
81
78
|
* Tracks the tagging of the query.
|
|
82
79
|
*
|
|
83
80
|
* @public
|
|
84
81
|
*/
|
|
85
|
-
|
|
82
|
+
const trackQueryWire = wireDispatch('track');
|
|
86
83
|
/**
|
|
87
84
|
* Sets the tagging state of the query tagging info using a debounce which ends if the user
|
|
88
85
|
* accepts a query.
|
|
89
86
|
*
|
|
90
87
|
* @public
|
|
91
88
|
*/
|
|
92
|
-
|
|
93
|
-
var state = _a.state;
|
|
94
|
-
return state.config.queryTaggingDebounceMs;
|
|
95
|
-
}, {
|
|
89
|
+
const setQueryTaggingInfo = moduleDebounce(wireCommit('setQueryTaggingInfo'), ({ state }) => state.config.queryTaggingDebounceMs, {
|
|
96
90
|
cancelOn: 'UserClearedQuery',
|
|
97
91
|
forceOn: [
|
|
98
92
|
'UserClickedAResult',
|
|
@@ -107,13 +101,13 @@ var setQueryTaggingInfo = moduleDebounce(wireCommit('setQueryTaggingInfo'), func
|
|
|
107
101
|
*
|
|
108
102
|
* @public
|
|
109
103
|
*/
|
|
110
|
-
|
|
104
|
+
const trackResultClickedWire = createTrackResultWire('click');
|
|
111
105
|
/**
|
|
112
106
|
* Performs a track of a result added to the cart.
|
|
113
107
|
*
|
|
114
108
|
* @public
|
|
115
109
|
*/
|
|
116
|
-
|
|
110
|
+
const trackAddToCartWire = createTrackResultWire('add2cart');
|
|
117
111
|
/**
|
|
118
112
|
* Factory helper to create a wire for the track of a result.
|
|
119
113
|
*
|
|
@@ -123,52 +117,48 @@ var trackAddToCartWire = createTrackResultWire('add2cart');
|
|
|
123
117
|
* @internal
|
|
124
118
|
*/
|
|
125
119
|
function createTrackResultWire(property) {
|
|
126
|
-
return filter(wireDispatch('track',
|
|
127
|
-
|
|
128
|
-
var taggingInfo = tagging[property];
|
|
120
|
+
return filter(wireDispatch('track', ({ eventPayload: { tagging }, metadata: { location } }) => {
|
|
121
|
+
const taggingInfo = tagging[property];
|
|
129
122
|
taggingInfo.params.location = location;
|
|
130
123
|
return taggingInfo;
|
|
131
|
-
}),
|
|
132
|
-
var tagging = _a.eventPayload.tagging;
|
|
133
|
-
return !!(tagging === null || tagging === void 0 ? void 0 : tagging[property]);
|
|
134
|
-
});
|
|
124
|
+
}), ({ eventPayload: { tagging } }) => !!tagging?.[property]);
|
|
135
125
|
}
|
|
136
126
|
/**
|
|
137
127
|
* Wiring configuration for the {@link TaggingXModule | tagging module}.
|
|
138
128
|
*
|
|
139
129
|
* @internal
|
|
140
130
|
*/
|
|
141
|
-
|
|
131
|
+
const taggingWiring = createWiring({
|
|
142
132
|
ConsentProvided: {
|
|
143
|
-
setConsent
|
|
133
|
+
setConsent
|
|
144
134
|
},
|
|
145
135
|
ConsentChanged: {
|
|
146
|
-
clearSessionWire
|
|
136
|
+
clearSessionWire
|
|
147
137
|
},
|
|
148
138
|
PDPIsLoaded: {
|
|
149
|
-
moveClickedResultToSessionWire
|
|
139
|
+
moveClickedResultToSessionWire
|
|
150
140
|
},
|
|
151
141
|
ResultURLTrackingEnabled: {
|
|
152
|
-
moveClickedResultToSessionWire
|
|
142
|
+
moveClickedResultToSessionWire
|
|
153
143
|
},
|
|
154
144
|
SearchTaggingChanged: {
|
|
155
|
-
setQueryTaggingInfo
|
|
145
|
+
setQueryTaggingInfo
|
|
156
146
|
},
|
|
157
147
|
SearchTaggingReceived: {
|
|
158
|
-
trackQueryWire
|
|
148
|
+
trackQueryWire
|
|
159
149
|
},
|
|
160
150
|
TaggingConfigProvided: {
|
|
161
|
-
setTaggingConfig
|
|
151
|
+
setTaggingConfig
|
|
162
152
|
},
|
|
163
153
|
UserClickedAResult: {
|
|
164
|
-
trackResultClickedWire
|
|
165
|
-
storeClickedResultWire
|
|
154
|
+
trackResultClickedWire,
|
|
155
|
+
storeClickedResultWire
|
|
166
156
|
},
|
|
167
157
|
UserClickedResultAddToCart: {
|
|
168
|
-
trackAddToCartWire
|
|
158
|
+
trackAddToCartWire
|
|
169
159
|
},
|
|
170
160
|
UserClickedPDPAddToCart: {
|
|
171
|
-
trackAddToCartFromSessionStorage
|
|
161
|
+
trackAddToCartFromSessionStorage
|
|
172
162
|
}
|
|
173
163
|
});
|
|
174
164
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wiring.js","sources":["../../../../src/x-modules/tagging/wiring.ts"],"sourcesContent":["import { Result, TaggingInfo } from '@empathyco/x-types';\nimport {\n namespacedWireCommit,\n namespacedWireDispatch\n} from '../../wiring/namespaced-wires.factory';\nimport { namespacedDebounce } from '../../wiring/namespaced-wires.operators';\nimport { wireService, wireServiceWithoutPayload } from '../../wiring/wires.factory';\nimport { filter, mapWire } from '../../wiring/wires.operators';\nimport { Wire } from '../../wiring/wiring.types';\nimport { createWiring } from '../../wiring/wiring.utils';\nimport { DefaultSessionService } from './service/session.service';\nimport { DefaultPDPAddToCartService } from './service/index';\n\n/**\n * `tagging` {@link XModuleName | XModule name}.\n *\n * @internal\n */\nconst moduleName = 'tagging';\n\n/**\n * Debounce function for the module.\n */\nconst moduleDebounce = namespacedDebounce(moduleName);\n\n/**\n * WireCommit for {@link TaggingXModule}.\n *\n * @internal\n */\nconst wireCommit = namespacedWireCommit(moduleName);\n\n/**\n * WireDispatch for {@link TaggingXModule}.\n *\n * @internal\n */\nconst wireDispatch = namespacedWireDispatch(moduleName);\n\n/**\n * Wires without payload factory for {@link DefaultSessionService}.\n */\nconst wireSessionServiceWithoutPayload = wireServiceWithoutPayload(DefaultSessionService.instance);\n\n/**\n * Wires factory for {@link DefaultPDPAddToCartService}.\n */\nconst wirePDPAddToCartService = wireService(DefaultPDPAddToCartService.instance);\n\n/**\n * Stores the given result on the local storage.\n *\n * @public\n */\nconst storeClickedResultWire = wirePDPAddToCartService('storeResultClicked');\n\n/**\n * Moves the result information from the local storage to session storage.\n *\n * @public\n */\nconst moveClickedResultToSessionWire = mapWire(\n wirePDPAddToCartService('moveToSessionStorage'),\n (payload: string) => {\n return payload === 'url' ? undefined : payload;\n }\n);\n\n/**\n * Triggers the add to cart tracking.\n *\n * @public\n */\nconst trackAddToCartFromSessionStorage = wirePDPAddToCartService('trackAddToCart');\n\n/**\n * Clears the session id.\n *\n * @public\n */\nconst clearSessionWire = filter(\n wireSessionServiceWithoutPayload('clearSessionId'),\n ({ eventPayload: consent }) => !consent\n);\n\n/**\n * Sets the tagging state `consent`.\n *\n * @public\n */\nexport const setConsent = wireCommit('setConsent');\n\n/**\n * Sets the tagging config state.\n *\n * @public\n */\nexport const setTaggingConfig = wireCommit('setTaggingConfig');\n\n/**\n * Tracks the tagging of the query.\n *\n * @public\n */\nexport const trackQueryWire = wireDispatch('track');\n\n/**\n * Sets the tagging state of the query tagging info using a debounce which ends if the user\n * accepts a query.\n *\n * @public\n */\nexport const setQueryTaggingInfo = moduleDebounce(\n wireCommit('setQueryTaggingInfo'),\n ({ state }) => state.config.queryTaggingDebounceMs,\n {\n cancelOn: 'UserClearedQuery',\n forceOn: [\n 'UserClickedAResult',\n 'UserClickedAPromoted',\n 'UserClickedABanner',\n 'UserClickedARedirection',\n 'UserReachedResultsListEnd'\n ]\n }\n);\n\n/**\n * Tracks the tagging of the result.\n *\n * @public\n */\nexport const trackResultClickedWire = createTrackResultWire('click');\n\n/**\n * Performs a track of a result added to the cart.\n *\n * @public\n */\nexport const trackAddToCartWire = createTrackResultWire('add2cart');\n\n/**\n * Factory helper to create a wire for the track of a result.\n *\n * @param property - Key of the tagging object to track.\n * @returns A new wire for the given property of the result tagging.\n *\n * @internal\n */\nfunction createTrackResultWire(property: keyof Result['tagging']): Wire<Result> {\n return filter(\n wireDispatch('track', ({ eventPayload: { tagging }, metadata: { location } }) => {\n const taggingInfo: TaggingInfo = tagging[property];\n taggingInfo.params.location = location as string;\n return taggingInfo;\n }),\n ({ eventPayload: { tagging } }) => !!tagging?.[property]\n );\n}\n\n/**\n * Wiring configuration for the {@link TaggingXModule | tagging module}.\n *\n * @internal\n */\nexport const taggingWiring = createWiring({\n ConsentProvided: {\n setConsent\n },\n ConsentChanged: {\n clearSessionWire\n },\n PDPIsLoaded: {\n moveClickedResultToSessionWire\n },\n ResultURLTrackingEnabled: {\n moveClickedResultToSessionWire\n },\n SearchTaggingChanged: {\n setQueryTaggingInfo\n },\n SearchTaggingReceived: {\n trackQueryWire\n },\n TaggingConfigProvided: {\n setTaggingConfig\n },\n UserClickedAResult: {\n trackResultClickedWire,\n storeClickedResultWire\n },\n UserClickedResultAddToCart: {\n trackAddToCartWire\n },\n UserClickedPDPAddToCart: {\n trackAddToCartFromSessionStorage\n }\n});\n"],"names":[],"mappings":";;;;;;;;AAaA;;;;;AAKA,
|
|
1
|
+
{"version":3,"file":"wiring.js","sources":["../../../../src/x-modules/tagging/wiring.ts"],"sourcesContent":["import { Result, TaggingInfo } from '@empathyco/x-types';\nimport {\n namespacedWireCommit,\n namespacedWireDispatch\n} from '../../wiring/namespaced-wires.factory';\nimport { namespacedDebounce } from '../../wiring/namespaced-wires.operators';\nimport { wireService, wireServiceWithoutPayload } from '../../wiring/wires.factory';\nimport { filter, mapWire } from '../../wiring/wires.operators';\nimport { Wire } from '../../wiring/wiring.types';\nimport { createWiring } from '../../wiring/wiring.utils';\nimport { DefaultSessionService } from './service/session.service';\nimport { DefaultPDPAddToCartService } from './service/index';\n\n/**\n * `tagging` {@link XModuleName | XModule name}.\n *\n * @internal\n */\nconst moduleName = 'tagging';\n\n/**\n * Debounce function for the module.\n */\nconst moduleDebounce = namespacedDebounce(moduleName);\n\n/**\n * WireCommit for {@link TaggingXModule}.\n *\n * @internal\n */\nconst wireCommit = namespacedWireCommit(moduleName);\n\n/**\n * WireDispatch for {@link TaggingXModule}.\n *\n * @internal\n */\nconst wireDispatch = namespacedWireDispatch(moduleName);\n\n/**\n * Wires without payload factory for {@link DefaultSessionService}.\n */\nconst wireSessionServiceWithoutPayload = wireServiceWithoutPayload(DefaultSessionService.instance);\n\n/**\n * Wires factory for {@link DefaultPDPAddToCartService}.\n */\nconst wirePDPAddToCartService = wireService(DefaultPDPAddToCartService.instance);\n\n/**\n * Stores the given result on the local storage.\n *\n * @public\n */\nconst storeClickedResultWire = wirePDPAddToCartService('storeResultClicked');\n\n/**\n * Moves the result information from the local storage to session storage.\n *\n * @public\n */\nconst moveClickedResultToSessionWire = mapWire(\n wirePDPAddToCartService('moveToSessionStorage'),\n (payload: string) => {\n return payload === 'url' ? undefined : payload;\n }\n);\n\n/**\n * Triggers the add to cart tracking.\n *\n * @public\n */\nconst trackAddToCartFromSessionStorage = wirePDPAddToCartService('trackAddToCart');\n\n/**\n * Clears the session id.\n *\n * @public\n */\nconst clearSessionWire = filter(\n wireSessionServiceWithoutPayload('clearSessionId'),\n ({ eventPayload: consent }) => !consent\n);\n\n/**\n * Sets the tagging state `consent`.\n *\n * @public\n */\nexport const setConsent = wireCommit('setConsent');\n\n/**\n * Sets the tagging config state.\n *\n * @public\n */\nexport const setTaggingConfig = wireCommit('setTaggingConfig');\n\n/**\n * Tracks the tagging of the query.\n *\n * @public\n */\nexport const trackQueryWire = wireDispatch('track');\n\n/**\n * Sets the tagging state of the query tagging info using a debounce which ends if the user\n * accepts a query.\n *\n * @public\n */\nexport const setQueryTaggingInfo = moduleDebounce(\n wireCommit('setQueryTaggingInfo'),\n ({ state }) => state.config.queryTaggingDebounceMs,\n {\n cancelOn: 'UserClearedQuery',\n forceOn: [\n 'UserClickedAResult',\n 'UserClickedAPromoted',\n 'UserClickedABanner',\n 'UserClickedARedirection',\n 'UserReachedResultsListEnd'\n ]\n }\n);\n\n/**\n * Tracks the tagging of the result.\n *\n * @public\n */\nexport const trackResultClickedWire = createTrackResultWire('click');\n\n/**\n * Performs a track of a result added to the cart.\n *\n * @public\n */\nexport const trackAddToCartWire = createTrackResultWire('add2cart');\n\n/**\n * Factory helper to create a wire for the track of a result.\n *\n * @param property - Key of the tagging object to track.\n * @returns A new wire for the given property of the result tagging.\n *\n * @internal\n */\nfunction createTrackResultWire(property: keyof Result['tagging']): Wire<Result> {\n return filter(\n wireDispatch('track', ({ eventPayload: { tagging }, metadata: { location } }) => {\n const taggingInfo: TaggingInfo = tagging[property];\n taggingInfo.params.location = location as string;\n return taggingInfo;\n }),\n ({ eventPayload: { tagging } }) => !!tagging?.[property]\n );\n}\n\n/**\n * Wiring configuration for the {@link TaggingXModule | tagging module}.\n *\n * @internal\n */\nexport const taggingWiring = createWiring({\n ConsentProvided: {\n setConsent\n },\n ConsentChanged: {\n clearSessionWire\n },\n PDPIsLoaded: {\n moveClickedResultToSessionWire\n },\n ResultURLTrackingEnabled: {\n moveClickedResultToSessionWire\n },\n SearchTaggingChanged: {\n setQueryTaggingInfo\n },\n SearchTaggingReceived: {\n trackQueryWire\n },\n TaggingConfigProvided: {\n setTaggingConfig\n },\n UserClickedAResult: {\n trackResultClickedWire,\n storeClickedResultWire\n },\n UserClickedResultAddToCart: {\n trackAddToCartWire\n },\n UserClickedPDPAddToCart: {\n trackAddToCartFromSessionStorage\n }\n});\n"],"names":[],"mappings":";;;;;;;;AAaA;;;;;AAKA,MAAM,UAAU,GAAG,SAAS,CAAC;AAE7B;;;AAGA,MAAM,cAAc,GAAG,kBAAkB,CAAC,UAAU,CAAC,CAAC;AAEtD;;;;;AAKA,MAAM,UAAU,GAAG,oBAAoB,CAAC,UAAU,CAAC,CAAC;AAEpD;;;;;AAKA,MAAM,YAAY,GAAG,sBAAsB,CAAC,UAAU,CAAC,CAAC;AAExD;;;AAGA,MAAM,gCAAgC,GAAG,yBAAyB,CAAC,qBAAqB,CAAC,QAAQ,CAAC,CAAC;AAEnG;;;AAGA,MAAM,uBAAuB,GAAG,WAAW,CAAC,0BAA0B,CAAC,QAAQ,CAAC,CAAC;AAEjF;;;;;AAKA,MAAM,sBAAsB,GAAG,uBAAuB,CAAC,oBAAoB,CAAC,CAAC;AAE7E;;;;;AAKA,MAAM,8BAA8B,GAAG,OAAO,CAC5C,uBAAuB,CAAC,sBAAsB,CAAC,EAC/C,CAAC,OAAe;IACd,OAAO,OAAO,KAAK,KAAK,GAAG,SAAS,GAAG,OAAO,CAAC;AACjD,CAAC,CACF,CAAC;AAEF;;;;;AAKA,MAAM,gCAAgC,GAAG,uBAAuB,CAAC,gBAAgB,CAAC,CAAC;AAEnF;;;;;AAKA,MAAM,gBAAgB,GAAG,MAAM,CAC7B,gCAAgC,CAAC,gBAAgB,CAAC,EAClD,CAAC,EAAE,YAAY,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,CACxC,CAAC;AAEF;;;;;MAKa,UAAU,GAAG,UAAU,CAAC,YAAY,EAAE;AAEnD;;;;;MAKa,gBAAgB,GAAG,UAAU,CAAC,kBAAkB,EAAE;AAE/D;;;;;MAKa,cAAc,GAAG,YAAY,CAAC,OAAO,EAAE;AAEpD;;;;;;MAMa,mBAAmB,GAAG,cAAc,CAC/C,UAAU,CAAC,qBAAqB,CAAC,EACjC,CAAC,EAAE,KAAK,EAAE,KAAK,KAAK,CAAC,MAAM,CAAC,sBAAsB,EAClD;IACE,QAAQ,EAAE,kBAAkB;IAC5B,OAAO,EAAE;QACP,oBAAoB;QACpB,sBAAsB;QACtB,oBAAoB;QACpB,yBAAyB;QACzB,2BAA2B;KAC5B;CACF,EACD;AAEF;;;;;MAKa,sBAAsB,GAAG,qBAAqB,CAAC,OAAO,EAAE;AAErE;;;;;MAKa,kBAAkB,GAAG,qBAAqB,CAAC,UAAU,EAAE;AAEpE;;;;;;;;AAQA,SAAS,qBAAqB,CAAC,QAAiC;IAC9D,OAAO,MAAM,CACX,YAAY,CAAC,OAAO,EAAE,CAAC,EAAE,YAAY,EAAE,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,EAAE,QAAQ,EAAE,EAAE;QAC1E,MAAM,WAAW,GAAgB,OAAO,CAAC,QAAQ,CAAC,CAAC;QACnD,WAAW,CAAC,MAAM,CAAC,QAAQ,GAAG,QAAkB,CAAC;QACjD,OAAO,WAAW,CAAC;KACpB,CAAC,EACF,CAAC,EAAE,YAAY,EAAE,EAAE,OAAO,EAAE,EAAE,KAAK,CAAC,CAAC,OAAO,GAAG,QAAQ,CAAC,CACzD,CAAC;AACJ,CAAC;AAED;;;;;MAKa,aAAa,GAAG,YAAY,CAAC;IACxC,eAAe,EAAE;QACf,UAAU;KACX;IACD,cAAc,EAAE;QACd,gBAAgB;KACjB;IACD,WAAW,EAAE;QACX,8BAA8B;KAC/B;IACD,wBAAwB,EAAE;QACxB,8BAA8B;KAC/B;IACD,oBAAoB,EAAE;QACpB,mBAAmB;KACpB;IACD,qBAAqB,EAAE;QACrB,cAAc;KACf;IACD,qBAAqB,EAAE;QACrB,gBAAgB;KACjB;IACD,kBAAkB,EAAE;QAClB,sBAAsB;QACtB,sBAAsB;KACvB;IACD,0BAA0B,EAAE;QAC1B,kBAAkB;KACnB;IACD,uBAAuB,EAAE;QACvB,gCAAgC;KACjC;CACF;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { taggingXStoreModule } from './store/module.js';
|
|
2
1
|
import { taggingEmitters } from './store/emitters.js';
|
|
2
|
+
import { taggingXStoreModule } from './store/module.js';
|
|
3
3
|
import { taggingWiring } from './wiring.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -8,7 +8,7 @@ import { taggingWiring } from './wiring.js';
|
|
|
8
8
|
*
|
|
9
9
|
* @public
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
const taggingXModule = {
|
|
12
12
|
name: 'tagging',
|
|
13
13
|
storeModule: taggingXStoreModule,
|
|
14
14
|
storeEmitters: taggingEmitters,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"x-module.js","sources":["../../../../src/x-modules/tagging/x-module.ts"],"sourcesContent":["import { XModule } from '../x-modules.types';\nimport { taggingEmitters } from './store/emitters';\nimport { taggingXStoreModule } from './store/module';\nimport { TaggingXStoreModule } from './store/types';\nimport { taggingWiring } from './wiring';\n\n/**\n * Tagging {@link XModule} alias.\n *\n * @public\n */\nexport type TaggingXModule = XModule<TaggingXStoreModule>;\n\n/**\n * Tagging {@link XModule} implementation. This module is auto-registered as soon as you\n * import any component from the `empathize` entry point.\n *\n * @public\n */\nexport const taggingXModule: TaggingXModule = {\n name: 'tagging',\n storeModule: taggingXStoreModule,\n storeEmitters: taggingEmitters,\n wiring: taggingWiring\n};\n"],"names":[],"mappings":";;;;AAaA;;;;;;
|
|
1
|
+
{"version":3,"file":"x-module.js","sources":["../../../../src/x-modules/tagging/x-module.ts"],"sourcesContent":["import { XModule } from '../x-modules.types';\nimport { taggingEmitters } from './store/emitters';\nimport { taggingXStoreModule } from './store/module';\nimport { TaggingXStoreModule } from './store/types';\nimport { taggingWiring } from './wiring';\n\n/**\n * Tagging {@link XModule} alias.\n *\n * @public\n */\nexport type TaggingXModule = XModule<TaggingXStoreModule>;\n\n/**\n * Tagging {@link XModule} implementation. This module is auto-registered as soon as you\n * import any component from the `empathize` entry point.\n *\n * @public\n */\nexport const taggingXModule: TaggingXModule = {\n name: 'tagging',\n storeModule: taggingXStoreModule,\n storeEmitters: taggingEmitters,\n wiring: taggingWiring\n};\n"],"names":[],"mappings":";;;;AAaA;;;;;;MAMa,cAAc,GAAmB;IAC5C,IAAI,EAAE,SAAS;IACf,WAAW,EAAE,mBAAmB;IAChC,aAAa,EAAE,eAAe;IAC9B,MAAM,EAAE,aAAa;;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import script from './url-handler.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 () {
|
|
@@ -18,13 +18,13 @@ var __vue_staticRenderFns__ = [];
|
|
|
18
18
|
__vue_render__._withStripped = true;
|
|
19
19
|
|
|
20
20
|
/* style */
|
|
21
|
-
|
|
21
|
+
const __vue_inject_styles__ = undefined;
|
|
22
22
|
/* scoped */
|
|
23
|
-
|
|
23
|
+
const __vue_scope_id__ = undefined;
|
|
24
24
|
/* module identifier */
|
|
25
|
-
|
|
25
|
+
const __vue_module_identifier__ = undefined;
|
|
26
26
|
/* functional template */
|
|
27
|
-
|
|
27
|
+
const __vue_is_functional_template__ = false;
|
|
28
28
|
/* style inject */
|
|
29
29
|
|
|
30
30
|
/* style inject SSR */
|
|
@@ -33,7 +33,7 @@ __vue_render__._withStripped = true;
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
const __vue_component__ = /*#__PURE__*/__vue_normalize__(
|
|
37
37
|
{ render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
|
|
38
38
|
__vue_inject_styles__,
|
|
39
39
|
__vue_script__,
|
|
@@ -46,5 +46,5 @@ __vue_render__._withStripped = true;
|
|
|
46
46
|
undefined
|
|
47
47
|
);
|
|
48
48
|
|
|
49
|
-
export default
|
|
49
|
+
export { __vue_component__ as default };
|
|
50
50
|
//# sourceMappingURL=url-handler.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"url-handler.vue.js","sources":["../../../../../src/x-modules/url/components/url-handler.vue"],"sourcesContent":["<template>\n <GlobalEvents @pageshow=\"onPageShow\" @popstate=\"emitEvents\" target=\"window\" />\n</template>\n\n<script lang=\"ts\">\n import Vue from 'vue';\n import GlobalEvents from 'vue-global-events';\n import { Component, Inject } from 'vue-property-decorator';\n import { State } from '../../../components';\n import { XOn } from '../../../components/decorators/bus.decorators';\n import { xComponentMixin } from '../../../components/x-component.mixin';\n import { FeatureLocation } from '../../../types/origin';\n import { UrlParams } from '../../../types/url-params';\n import { isArrayEmpty } from '../../../utils/array';\n import { objectFilter } from '../../../utils/object';\n import { Dictionary } from '../../../utils/types';\n import { WireMetadata } from '../../../wiring/wiring.types';\n import { SnippetConfig } from '../../../x-installer/api/api.types';\n import { initialUrlState } from '../store/initial-state';\n import { UrlParamValue } from '../store/types';\n import { urlXModule } from '../x-module';\n\n interface ParsedUrlParams {\n all: UrlParams;\n extra: Dictionary<unknown>;\n }\n\n /**\n * This component manage the browser URL parameters to perserve them through reloads and browser\n * history navigation. It allow to configure the default url parameter names using its attributes.\n * This component doesn't render elements to the DOM.\n *\n * @public\n */\n @Component({\n components: {\n GlobalEvents\n },\n mixins: [xComponentMixin(urlXModule)]\n })\n export default class UrlHandler extends Vue {\n /**\n * The {@link SnippetConfig} provided by an ancestor.\n *\n * @internal\n */\n @Inject({ default: undefined })\n protected snippetConfig?: SnippetConfig;\n\n /**\n * Flag to know if the params were already loaded from the URL.\n *\n * @internal\n */\n protected urlLoaded = false;\n\n /**\n * The page URL. It is used to compare against the current URL to check navigation state.\n *\n * @internal\n */\n protected url?: URL;\n\n /**\n * Flag to know if the page has been persisted by the browser's back-forward cache.\n *\n * @internal\n */\n protected isPagePersisted = false;\n\n /**\n * Computed to know which params we must get from URL. It gets the params names from the initial\n * state, to get all default params names, and also from the `$attrs` to get the extra params\n * names to take into account.\n *\n * @returns An array with the name of the params.\n *\n * @internal\n */\n protected get managedParamsNames(): string[] {\n return Object.keys({ ...initialUrlState, ...this.$attrs });\n }\n\n @State('url', 'initialExtraParams')\n public initialExtraParams!: Dictionary<unknown>;\n\n /**\n * Returns the mapping of the param keys used in the URL is configured through $attrs. This way\n * we can support any param and extra param, no matters its name.\n *\n * @param paramName - The param name to get the Url key.\n * @returns The key used in the URL for the `paramName` passed.\n *\n * @internal\n */\n protected getUrlKey(paramName: string): string {\n return this.$attrs[paramName] ?? paramName;\n }\n\n /**\n * To emit the Url events just when the URL is load, and before the components mounted events\n * and state changes, we do it in the created of this component.\n */\n created(): void {\n this.emitEvents();\n }\n\n /**\n * Updates the browser URL with the new {@link UrlParams} using the history `pushState` method.\n *\n * @param newUrlParams - The new params to update browser URL.\n */\n @XOn('PushableUrlStateChanged')\n updateUrlWithPush(newUrlParams: UrlParams): void {\n this.updateUrl(newUrlParams, window.history.pushState.bind(window.history));\n }\n\n /**\n * Updates the browser URL with the new {@link UrlParams} using the history `replaceState`\n * method.\n *\n * @param newUrlParams - The new params to update browser URL.\n */\n @XOn('ReplaceableUrlStateChanged')\n updateUrlWithReplace(newUrlParams: UrlParams): void {\n this.updateUrl(newUrlParams, window.history.replaceState.bind(window.history));\n }\n\n /**\n * Handler of the\n * {@link https://developer.mozilla.org/en-US/docs/Web/API/Window/pageshow_event | pageshow }\n * event.\n *\n * @remarks The pageshow event is listened to check if the browser has performed a navigation\n * using the back-forward cache. This information is available in the\n * PageTransitionEvent.persisted property.\n *\n * @param event - The page transition event.\n * @internal\n */\n protected onPageShow(event: PageTransitionEvent): void {\n this.isPagePersisted = event.persisted;\n if (event.persisted) {\n // The internal url is reset due to the back-forward cache storing the previous value which\n // is no longer valid.\n this.url = undefined;\n }\n }\n\n /**\n * Emits the {@link UrlXEvents.ParamsLoadedFromUrl} XEvent,\n * the {@link UrlXEvents.ExtraParamsLoadedFromUrl} XEvent and, if there is query, also emits\n * the {@link XEventsTypes.UserOpenXProgrammatically}.\n *\n * @internal\n */\n protected emitEvents(): void {\n const { all, extra } = this.parseUrlParams();\n const metadata = this.createWireMetadata();\n this.$x.emit('ParamsLoadedFromUrl', all, metadata);\n this.$x.emit('ExtraParamsLoadedFromUrl', extra, metadata);\n // TODO: Move this logic from here.\n if (all.query) {\n this.$x.emit('UserOpenXProgrammatically', undefined, metadata);\n }\n this.urlLoaded = true;\n }\n\n /**\n * Creates the wire metadata to include in every emitted {@link XEvent | XEvents}.\n *\n * @returns The {@link WireMetadata | metadata}.\n * @internal\n */\n protected createWireMetadata(): Pick<WireMetadata, 'feature' | 'location'> {\n return {\n feature: 'url',\n location: this.detectLocation()\n };\n }\n\n /**\n * Detects the {@link FeatureLocation | location} used to build the\n * {@link QueryOriginInit | events metadata origin}.\n *\n * @returns The {@link FeatureLocation | location}.\n * @internal\n */\n protected detectLocation(): FeatureLocation {\n const currentUrl = new URL(window.location.href);\n const previousUrl = this.url;\n this.url = currentUrl;\n\n const isInternalNavigation =\n previousUrl?.search !== currentUrl.search && previousUrl?.pathname === currentUrl.pathname;\n if (isInternalNavigation) {\n return 'url_history';\n }\n\n if (this.isNavigatingFromPdp()) {\n return 'url_history_pdp';\n }\n\n return 'external';\n }\n\n /**\n * Check if the navigation is from a product page.\n *\n * @remarks Due to Safari 14 not supporting the new and standard PerformanceNavigationTiming\n * API, we are falling back to the deprecated one, PerformanceNavigation. We also fallback to\n * this API whenever we get a navigationType equal to reload, because Safari has a bug that the\n * navigationType is permanently set to reload after you have reload the page and it never\n * resets. As some browsers have a back-forward cache implemented, we also take into account if\n * the page is persisted.\n *\n * @returns True if the navigation is from a product page, false otherwise.\n * @internal\n */\n protected isNavigatingFromPdp(): boolean {\n const isPagePersisted = this.isPagePersisted;\n const navigationEntries = window.performance.getEntriesByType('navigation');\n const navigationType = (navigationEntries[0] as PerformanceNavigationTiming)?.type;\n const useFallbackStrategy =\n window.performance.navigation &&\n (isArrayEmpty(navigationEntries) || navigationType === 'reload');\n\n // Reset internal isPagePersisted property value\n this.isPagePersisted = false;\n\n if (useFallbackStrategy) {\n const {\n type: fallbackNavigationType,\n TYPE_BACK_FORWARD,\n TYPE_NAVIGATE\n } = window.performance.navigation;\n const isNavigatingInSpa =\n !!this.snippetConfig?.isSpa && fallbackNavigationType === TYPE_NAVIGATE;\n return fallbackNavigationType === TYPE_BACK_FORWARD || isNavigatingInSpa || isPagePersisted;\n } else {\n const isNavigatingInSpa = !!this.snippetConfig?.isSpa && navigationType === 'navigate';\n return navigationType === 'back_forward' || isNavigatingInSpa || isPagePersisted;\n }\n }\n\n /**\n * Gets the {@link UrlParams} from the URL, including only the params defined by `paramsNames`.\n *\n * @returns ParsedUrlParams obtained from URL.\n * @internal\n */\n protected parseUrlParams(): ParsedUrlParams {\n const urlSearchParams = new URL(window.location.href).searchParams;\n return this.managedParamsNames.reduce<ParsedUrlParams>(\n (params, name) => {\n const urlKey = this.getUrlKey(name);\n if (urlSearchParams.has(urlKey)) {\n if (name in initialUrlState) {\n const urlValue = urlSearchParams.getAll(urlKey);\n params.all[name] = this.parseUrlParam(name, urlValue);\n } else {\n params.all[name] = params.extra[name] = urlSearchParams.get(urlKey);\n }\n }\n return params;\n },\n { all: { ...initialUrlState }, extra: { ...this.initialExtraParams } }\n );\n }\n\n /**\n * Updates the browser URL with the passed `newUrlParams` and using the browser history method\n * passed as `historyMethod`. It only updates the browser history if the new URL is different\n * from the current.\n *\n * @param newUrlParams - The new params to add to the browser URL.\n * @param historyMethod - The browser history method used to add the new URL.\n *\n * @internal\n */\n protected updateUrl(\n newUrlParams: UrlParams,\n historyMethod: History['pushState'] | History['replaceState']\n ): void {\n if (this.urlLoaded) {\n const url = new URL(window.location.href);\n this.deleteUrlParameters(url);\n this.setUrlParameters(url, newUrlParams);\n if (url.href.replace(/\\+/g, '%20') !== window.location.href) {\n historyMethod({ ...window.history.state }, document.title, url.href);\n }\n this.url = url;\n }\n }\n\n /**\n * Deletes all the parameters in the passed URL.\n *\n * @param url - The URL to remove parameters from.\n * @internal\n * **/\n protected deleteUrlParameters(url: URL): void {\n this.managedParamsNames.forEach(paramName =>\n url.searchParams.delete(this.getUrlKey(paramName))\n );\n }\n\n /**\n * Set all the provided parameters to the url with the mapped key.\n *\n * @param url - The current URL.\n * @param urlParams - The list of parameters to add.\n * @remarks The params are filtered because there maybe received extra params which will not be\n * managed by URL. This is defined by the `managedParamsNames` computed. Also, the parameters\n * are sorted Alphabetically to produce always the same URL with the same parameters.This is\n * important for SEO purposes.\n *\n * @internal\n * **/\n protected setUrlParameters(url: URL, urlParams: UrlParams): void {\n const filteredParams = objectFilter(urlParams, paramName =>\n this.managedParamsNames.includes(paramName as string)\n );\n const sortedParameters = this.sortParams(filteredParams);\n sortedParameters.forEach(([paramName, paramValue]) => {\n const urlParamKey = this.getUrlKey(paramName);\n if (Array.isArray(paramValue)) {\n paramValue.forEach(value => {\n url.searchParams.append(urlParamKey, String(value));\n });\n } else {\n url.searchParams.set(urlParamKey, String(paramValue));\n }\n });\n }\n\n /**\n * Sorts the params in a tuple array [key,value] to generate always the same URL with the params\n * in the same order.\n *\n * @param urlParams - The {@link UrlParams} to sort.\n * @returns An array of tuples with the key-value of each paramter, sorted by key.\n * @internal\n */\n protected sortParams(urlParams: UrlParams): Array<[string, unknown]> {\n return Object.entries(urlParams).sort(([param1], [param2]) => {\n return param1 < param2 ? -1 : 1;\n });\n }\n\n /**\n * Returns the URL param value parsed depending on its type in the initial store state. As we\n * can not know what type can have an extra param, all extra params are parsed as strings. We\n * know if it is an extra param because it is not in the initial state.\n *\n * @param name - The name of the param in {@link UrlParams}.\n * @param value - The `URLSearchParams` value as an arry of strings.\n * @returns The parsed value.\n *\n * @internal\n */\n protected parseUrlParam(name: string, value: string[]): UrlParamValue {\n switch (typeof initialUrlState[name]) {\n case 'number':\n return Number(value[0]);\n case 'boolean':\n return value[0].toLowerCase() === 'true';\n case 'string':\n return value[0];\n default:\n // array\n return value;\n }\n }\n }\n</script>\n\n<docs lang=\"mdx\">\n## Events\n\nThis component emits the following events:\n\n- [`ParamsLoadedFromUrl`](./../../api/x-components.urlxevents.paramsloadedfromurl.md)\n- [`ExtraParamsLoadedFromUrl`](./../../api/x-components.urlxevents.extraparamsloadedfromurl.md)\n- [`UserOpenXProgrammatically`](./../../api/x-components.xeventstypes.useropenxprogrammatically.md)\n\n## See it in action\n\nThis component manages the browser URL parameters to preserve them through reloads and browser\nhistory navigation. It allow to configure the default url parameter names using its attributes. This\ncomponent doesn't render elements to the DOM.\n\n_Try to make some requests and take a look to the url!_\n\n```vue\n<template>\n <UrlHandler />\n</template>\n\n<script>\n import { UrlHandler } from '@empathyco/x-components/url-handler';\n\n export default {\n name: 'UrlHandlerDemo',\n components: {\n UrlHandler\n }\n };\n</script>\n```\n\n### Play with props\n\nIn this example, the `UrlHandler` component changes the following query parameter names:\n\n- `query` to be `q`.\n- `page` to be `p`.\n- `filter` to be `f`\n- `sort` to be `s`\n\n_Try to make some requests and take a look to the url!_\n\n```vue\n<template>\n <UrlHandler query=\"q\" page=\"p\" filter=\"f\" sort=\"s\" />\n</template>\n\n<script>\n import { UrlHandler } from '@empathyco/x-components/url-handler';\n\n export default {\n name: 'UrlHandlerDemo',\n components: {\n UrlHandler\n }\n };\n</script>\n```\n\n### Play with events\n\nThe `UrlHandler` will emit the `ParamsLoadedFromUrl` when the page is loaded.\n\nThe `UrlHandler` will emit the `ExtraParamsLoadedFromUrl` when the page is loaded with an extra\nparam configured and with a value in URL.\n\nThe `UrlHandler` will emit the `UserOpenXProgrammatically` when the page is loaded with a query in\nthe URL.\n</docs>\n"],"names":["const"],"mappings":";;;;AAEAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"url-handler.vue.js","sources":["../../../../../src/x-modules/url/components/url-handler.vue"],"sourcesContent":["<template>\n <GlobalEvents @pageshow=\"onPageShow\" @popstate=\"emitEvents\" target=\"window\" />\n</template>\n\n<script lang=\"ts\">\n import Vue from 'vue';\n import GlobalEvents from 'vue-global-events';\n import { Component, Inject } from 'vue-property-decorator';\n import { State } from '../../../components';\n import { XOn } from '../../../components/decorators/bus.decorators';\n import { xComponentMixin } from '../../../components/x-component.mixin';\n import { FeatureLocation } from '../../../types/origin';\n import { UrlParams } from '../../../types/url-params';\n import { isArrayEmpty } from '../../../utils/array';\n import { objectFilter } from '../../../utils/object';\n import { Dictionary } from '../../../utils/types';\n import { WireMetadata } from '../../../wiring/wiring.types';\n import { SnippetConfig } from '../../../x-installer/api/api.types';\n import { initialUrlState } from '../store/initial-state';\n import { UrlParamValue } from '../store/types';\n import { urlXModule } from '../x-module';\n\n interface ParsedUrlParams {\n all: UrlParams;\n extra: Dictionary<unknown>;\n }\n\n /**\n * This component manage the browser URL parameters to perserve them through reloads and browser\n * history navigation. It allow to configure the default url parameter names using its attributes.\n * This component doesn't render elements to the DOM.\n *\n * @public\n */\n @Component({\n components: {\n GlobalEvents\n },\n mixins: [xComponentMixin(urlXModule)]\n })\n export default class UrlHandler extends Vue {\n /**\n * The {@link SnippetConfig} provided by an ancestor.\n *\n * @internal\n */\n @Inject({ default: undefined })\n protected snippetConfig?: SnippetConfig;\n\n /**\n * Flag to know if the params were already loaded from the URL.\n *\n * @internal\n */\n protected urlLoaded = false;\n\n /**\n * The page URL. It is used to compare against the current URL to check navigation state.\n *\n * @internal\n */\n protected url?: URL;\n\n /**\n * Flag to know if the page has been persisted by the browser's back-forward cache.\n *\n * @internal\n */\n protected isPagePersisted = false;\n\n /**\n * Computed to know which params we must get from URL. It gets the params names from the initial\n * state, to get all default params names, and also from the `$attrs` to get the extra params\n * names to take into account.\n *\n * @returns An array with the name of the params.\n *\n * @internal\n */\n protected get managedParamsNames(): string[] {\n return Object.keys({ ...initialUrlState, ...this.$attrs });\n }\n\n @State('url', 'initialExtraParams')\n public initialExtraParams!: Dictionary<unknown>;\n\n /**\n * Returns the mapping of the param keys used in the URL is configured through $attrs. This way\n * we can support any param and extra param, no matters its name.\n *\n * @param paramName - The param name to get the Url key.\n * @returns The key used in the URL for the `paramName` passed.\n *\n * @internal\n */\n protected getUrlKey(paramName: string): string {\n return this.$attrs[paramName] ?? paramName;\n }\n\n /**\n * To emit the Url events just when the URL is load, and before the components mounted events\n * and state changes, we do it in the created of this component.\n */\n created(): void {\n this.emitEvents();\n }\n\n /**\n * Updates the browser URL with the new {@link UrlParams} using the history `pushState` method.\n *\n * @param newUrlParams - The new params to update browser URL.\n */\n @XOn('PushableUrlStateChanged')\n updateUrlWithPush(newUrlParams: UrlParams): void {\n this.updateUrl(newUrlParams, window.history.pushState.bind(window.history));\n }\n\n /**\n * Updates the browser URL with the new {@link UrlParams} using the history `replaceState`\n * method.\n *\n * @param newUrlParams - The new params to update browser URL.\n */\n @XOn('ReplaceableUrlStateChanged')\n updateUrlWithReplace(newUrlParams: UrlParams): void {\n this.updateUrl(newUrlParams, window.history.replaceState.bind(window.history));\n }\n\n /**\n * Handler of the\n * {@link https://developer.mozilla.org/en-US/docs/Web/API/Window/pageshow_event | pageshow }\n * event.\n *\n * @remarks The pageshow event is listened to check if the browser has performed a navigation\n * using the back-forward cache. This information is available in the\n * PageTransitionEvent.persisted property.\n *\n * @param event - The page transition event.\n * @internal\n */\n protected onPageShow(event: PageTransitionEvent): void {\n this.isPagePersisted = event.persisted;\n if (event.persisted) {\n // The internal url is reset due to the back-forward cache storing the previous value which\n // is no longer valid.\n this.url = undefined;\n }\n }\n\n /**\n * Emits the {@link UrlXEvents.ParamsLoadedFromUrl} XEvent,\n * the {@link UrlXEvents.ExtraParamsLoadedFromUrl} XEvent and, if there is query, also emits\n * the {@link XEventsTypes.UserOpenXProgrammatically}.\n *\n * @internal\n */\n protected emitEvents(): void {\n const { all, extra } = this.parseUrlParams();\n const metadata = this.createWireMetadata();\n this.$x.emit('ParamsLoadedFromUrl', all, metadata);\n this.$x.emit('ExtraParamsLoadedFromUrl', extra, metadata);\n // TODO: Move this logic from here.\n if (all.query) {\n this.$x.emit('UserOpenXProgrammatically', undefined, metadata);\n }\n this.urlLoaded = true;\n }\n\n /**\n * Creates the wire metadata to include in every emitted {@link XEvent | XEvents}.\n *\n * @returns The {@link WireMetadata | metadata}.\n * @internal\n */\n protected createWireMetadata(): Pick<WireMetadata, 'feature' | 'location'> {\n return {\n feature: 'url',\n location: this.detectLocation()\n };\n }\n\n /**\n * Detects the {@link FeatureLocation | location} used to build the\n * {@link QueryOriginInit | events metadata origin}.\n *\n * @returns The {@link FeatureLocation | location}.\n * @internal\n */\n protected detectLocation(): FeatureLocation {\n const currentUrl = new URL(window.location.href);\n const previousUrl = this.url;\n this.url = currentUrl;\n\n const isInternalNavigation =\n previousUrl?.search !== currentUrl.search && previousUrl?.pathname === currentUrl.pathname;\n if (isInternalNavigation) {\n return 'url_history';\n }\n\n if (this.isNavigatingFromPdp()) {\n return 'url_history_pdp';\n }\n\n return 'external';\n }\n\n /**\n * Check if the navigation is from a product page.\n *\n * @remarks Due to Safari 14 not supporting the new and standard PerformanceNavigationTiming\n * API, we are falling back to the deprecated one, PerformanceNavigation. We also fallback to\n * this API whenever we get a navigationType equal to reload, because Safari has a bug that the\n * navigationType is permanently set to reload after you have reload the page and it never\n * resets. As some browsers have a back-forward cache implemented, we also take into account if\n * the page is persisted.\n *\n * @returns True if the navigation is from a product page, false otherwise.\n * @internal\n */\n protected isNavigatingFromPdp(): boolean {\n const isPagePersisted = this.isPagePersisted;\n const navigationEntries = window.performance.getEntriesByType('navigation');\n const navigationType = (navigationEntries[0] as PerformanceNavigationTiming)?.type;\n const useFallbackStrategy =\n window.performance.navigation &&\n (isArrayEmpty(navigationEntries) || navigationType === 'reload');\n\n // Reset internal isPagePersisted property value\n this.isPagePersisted = false;\n\n if (useFallbackStrategy) {\n const {\n type: fallbackNavigationType,\n TYPE_BACK_FORWARD,\n TYPE_NAVIGATE\n } = window.performance.navigation;\n const isNavigatingInSpa =\n !!this.snippetConfig?.isSpa && fallbackNavigationType === TYPE_NAVIGATE;\n return fallbackNavigationType === TYPE_BACK_FORWARD || isNavigatingInSpa || isPagePersisted;\n } else {\n const isNavigatingInSpa = !!this.snippetConfig?.isSpa && navigationType === 'navigate';\n return navigationType === 'back_forward' || isNavigatingInSpa || isPagePersisted;\n }\n }\n\n /**\n * Gets the {@link UrlParams} from the URL, including only the params defined by `paramsNames`.\n *\n * @returns ParsedUrlParams obtained from URL.\n * @internal\n */\n protected parseUrlParams(): ParsedUrlParams {\n const urlSearchParams = new URL(window.location.href).searchParams;\n return this.managedParamsNames.reduce<ParsedUrlParams>(\n (params, name) => {\n const urlKey = this.getUrlKey(name);\n if (urlSearchParams.has(urlKey)) {\n if (name in initialUrlState) {\n const urlValue = urlSearchParams.getAll(urlKey);\n params.all[name] = this.parseUrlParam(name, urlValue);\n } else {\n params.all[name] = params.extra[name] = urlSearchParams.get(urlKey);\n }\n }\n return params;\n },\n { all: { ...initialUrlState }, extra: { ...this.initialExtraParams } }\n );\n }\n\n /**\n * Updates the browser URL with the passed `newUrlParams` and using the browser history method\n * passed as `historyMethod`. It only updates the browser history if the new URL is different\n * from the current.\n *\n * @param newUrlParams - The new params to add to the browser URL.\n * @param historyMethod - The browser history method used to add the new URL.\n *\n * @internal\n */\n protected updateUrl(\n newUrlParams: UrlParams,\n historyMethod: History['pushState'] | History['replaceState']\n ): void {\n if (this.urlLoaded) {\n const url = new URL(window.location.href);\n this.deleteUrlParameters(url);\n this.setUrlParameters(url, newUrlParams);\n if (url.href.replace(/\\+/g, '%20') !== window.location.href) {\n historyMethod({ ...window.history.state }, document.title, url.href);\n }\n this.url = url;\n }\n }\n\n /**\n * Deletes all the parameters in the passed URL.\n *\n * @param url - The URL to remove parameters from.\n * @internal\n * **/\n protected deleteUrlParameters(url: URL): void {\n this.managedParamsNames.forEach(paramName =>\n url.searchParams.delete(this.getUrlKey(paramName))\n );\n }\n\n /**\n * Set all the provided parameters to the url with the mapped key.\n *\n * @param url - The current URL.\n * @param urlParams - The list of parameters to add.\n * @remarks The params are filtered because there maybe received extra params which will not be\n * managed by URL. This is defined by the `managedParamsNames` computed. Also, the parameters\n * are sorted Alphabetically to produce always the same URL with the same parameters.This is\n * important for SEO purposes.\n *\n * @internal\n * **/\n protected setUrlParameters(url: URL, urlParams: UrlParams): void {\n const filteredParams = objectFilter(urlParams, paramName =>\n this.managedParamsNames.includes(paramName as string)\n );\n const sortedParameters = this.sortParams(filteredParams);\n sortedParameters.forEach(([paramName, paramValue]) => {\n const urlParamKey = this.getUrlKey(paramName);\n if (Array.isArray(paramValue)) {\n paramValue.forEach(value => {\n url.searchParams.append(urlParamKey, String(value));\n });\n } else {\n url.searchParams.set(urlParamKey, String(paramValue));\n }\n });\n }\n\n /**\n * Sorts the params in a tuple array [key,value] to generate always the same URL with the params\n * in the same order.\n *\n * @param urlParams - The {@link UrlParams} to sort.\n * @returns An array of tuples with the key-value of each paramter, sorted by key.\n * @internal\n */\n protected sortParams(urlParams: UrlParams): Array<[string, unknown]> {\n return Object.entries(urlParams).sort(([param1], [param2]) => {\n return param1 < param2 ? -1 : 1;\n });\n }\n\n /**\n * Returns the URL param value parsed depending on its type in the initial store state. As we\n * can not know what type can have an extra param, all extra params are parsed as strings. We\n * know if it is an extra param because it is not in the initial state.\n *\n * @param name - The name of the param in {@link UrlParams}.\n * @param value - The `URLSearchParams` value as an arry of strings.\n * @returns The parsed value.\n *\n * @internal\n */\n protected parseUrlParam(name: string, value: string[]): UrlParamValue {\n switch (typeof initialUrlState[name]) {\n case 'number':\n return Number(value[0]);\n case 'boolean':\n return value[0].toLowerCase() === 'true';\n case 'string':\n return value[0];\n default:\n // array\n return value;\n }\n }\n }\n</script>\n\n<docs lang=\"mdx\">\n## Events\n\nThis component emits the following events:\n\n- [`ParamsLoadedFromUrl`](./../../api/x-components.urlxevents.paramsloadedfromurl.md)\n- [`ExtraParamsLoadedFromUrl`](./../../api/x-components.urlxevents.extraparamsloadedfromurl.md)\n- [`UserOpenXProgrammatically`](./../../api/x-components.xeventstypes.useropenxprogrammatically.md)\n\n## See it in action\n\nThis component manages the browser URL parameters to preserve them through reloads and browser\nhistory navigation. It allow to configure the default url parameter names using its attributes. This\ncomponent doesn't render elements to the DOM.\n\n_Try to make some requests and take a look to the url!_\n\n```vue\n<template>\n <UrlHandler />\n</template>\n\n<script>\n import { UrlHandler } from '@empathyco/x-components/url-handler';\n\n export default {\n name: 'UrlHandlerDemo',\n components: {\n UrlHandler\n }\n };\n</script>\n```\n\n### Play with props\n\nIn this example, the `UrlHandler` component changes the following query parameter names:\n\n- `query` to be `q`.\n- `page` to be `p`.\n- `filter` to be `f`\n- `sort` to be `s`\n\n_Try to make some requests and take a look to the url!_\n\n```vue\n<template>\n <UrlHandler query=\"q\" page=\"p\" filter=\"f\" sort=\"s\" />\n</template>\n\n<script>\n import { UrlHandler } from '@empathyco/x-components/url-handler';\n\n export default {\n name: 'UrlHandlerDemo',\n components: {\n UrlHandler\n }\n };\n</script>\n```\n\n### Play with events\n\nThe `UrlHandler` will emit the `ParamsLoadedFromUrl` when the page is loaded.\n\nThe `UrlHandler` will emit the `ExtraParamsLoadedFromUrl` when the page is loaded with an extra\nparam configured and with a value in URL.\n\nThe `UrlHandler` will emit the `UserOpenXProgrammatically` when the page is loaded with a query in\nthe URL.\n</docs>\n"],"names":[],"mappings":";;;;AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|