@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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { __decorate } from 'tslib';
|
|
2
2
|
import Vue from 'vue';
|
|
3
3
|
import { Prop, Component } from 'vue-property-decorator';
|
|
4
4
|
import { currencyFormatter } from '../../utils/currency-formatter.js';
|
|
@@ -42,57 +42,45 @@ import { XInject } from '../decorators/injection.decorators.js';
|
|
|
42
42
|
*
|
|
43
43
|
* @public
|
|
44
44
|
*/
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
get: function () {
|
|
59
|
-
var _a, _b;
|
|
60
|
-
return ((_b = (_a = this.format) !== null && _a !== void 0 ? _a : this.injectedFormat) !== null && _b !== void 0 ? _b :
|
|
45
|
+
let BaseCurrency = class BaseCurrency extends Vue {
|
|
46
|
+
/**
|
|
47
|
+
* A format which can be passed through prop or injected.
|
|
48
|
+
*
|
|
49
|
+
* @returns A format as string.
|
|
50
|
+
*
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
get renderedFormat() {
|
|
54
|
+
return (this.format ??
|
|
55
|
+
this.injectedFormat ??
|
|
61
56
|
//TODO: add here logger
|
|
62
57
|
//eslint-disable-next-line no-console
|
|
63
58
|
console.warn('It is necessary to pass a prop or inject the format'));
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
XInject('currencyFormat')
|
|
90
|
-
], BaseCurrency.prototype, "injectedFormat", void 0);
|
|
91
|
-
BaseCurrency = __decorate([
|
|
92
|
-
Component
|
|
93
|
-
], BaseCurrency);
|
|
94
|
-
return BaseCurrency;
|
|
95
|
-
}(Vue));
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Returns the formatted result as string.
|
|
62
|
+
*
|
|
63
|
+
* @returns Formatted number.
|
|
64
|
+
*
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
get currency() {
|
|
68
|
+
return currencyFormatter(this.value, this.renderedFormat);
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
__decorate([
|
|
72
|
+
Prop({ required: true })
|
|
73
|
+
], BaseCurrency.prototype, "value", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
Prop()
|
|
76
|
+
], BaseCurrency.prototype, "format", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
XInject('currencyFormat')
|
|
79
|
+
], BaseCurrency.prototype, "injectedFormat", void 0);
|
|
80
|
+
BaseCurrency = __decorate([
|
|
81
|
+
Component
|
|
82
|
+
], BaseCurrency);
|
|
83
|
+
var script = BaseCurrency;
|
|
96
84
|
|
|
97
|
-
export default
|
|
98
|
-
//# sourceMappingURL=base-currency.vue_rollup-plugin-vue
|
|
85
|
+
export { script as default };
|
|
86
|
+
//# sourceMappingURL=base-currency.vue_rollup-plugin-vue_script.vue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-currency.vue_rollup-plugin-vue_script.vue.js","sources":["../../../../src/components/currency/base-currency.vue?rollup-plugin-vue=script.ts"],"sourcesContent":["\n\n\n\n\nimport Vue from 'vue';\nimport { Component, Prop } from 'vue-property-decorator';\nimport { currencyFormatter } from '../../utils/currency-formatter';\nimport { XInject } from '../decorators/injection.decorators';\n\n/**\n * Renders the value received as a property which always must be a JavaScript number, with the\n * proper format provided as a string property or by injection. The rendered tag is a span in\n * order to render a default inline HTML element.\n *\n * Regarding the format or mask to be defined as string:\n * - Use 'i' to define integer numbers.\n * - Use 'd' to define decimal numbers. You can define the length of the decimal part. If the\n * format doesn't include decimals, it is filled with zeros until reach the length defined with\n * 'd's.\n * - Integer separator must be defined between the 3rd and the 4th integer 'i' of a group.\n * - Decimal separator must be defined between the last 'i' and the first 'd'. It can be more\n * than one character.\n * - If you want to hide the decimal part if it's zero, you can add the `?` symbol after the\n * decimal characters (e.g. 'i.iii,dd?', for `1234` you would get `1.234` instead of `1.234,00`).\n * - Set whatever you need around the integers and decimals marks.\n * - Default mask: 'i.iii,dd' which returns '1.345,67'.\n *\n * @remarks The number of 'd', which is the maximum decimal length, MUST matches with the length\n * of decimals provided from the adapter. Otherwise, when the component truncate the decimal\n * part, it deletes significant digits.\n *\n * @example\n * Basic example:\n *\n * ```vue\n * <BaseCurrency\n * :value=\"123456.789\"\n * format=\"i.iiii,dddd €\"\n * />\n * ```\n *\n * It will render: `123.456,7890 €`.\n *\n * See docs below for more examples.\n *\n * @public\n */\n@Component\nexport default class BaseCurrency extends Vue {\n /**\n * Numeric value to be formatted.\n *\n * @remarks Pass the value with 'v-bind:value' (or ':value' shortcut) instead of plain string.\n * @remarks Be careful using numbers under Number.MAX_SAFE_INTEGER to avoid unexpected errors.\n *\n * @public\n */\n @Prop({ required: true })\n protected value!: number;\n\n /**\n * The format as string.\n *\n * @public\n */\n @Prop()\n protected format?: string;\n\n /**\n * The injected format as string.\n *\n * @public\n */\n @XInject('currencyFormat')\n public injectedFormat!: string;\n\n /**\n * A format which can be passed through prop or injected.\n *\n * @returns A format as string.\n *\n * @internal\n */\n protected get renderedFormat(): string {\n return (\n this.format ??\n this.injectedFormat ??\n //TODO: add here logger\n //eslint-disable-next-line no-console\n console.warn('It is necessary to pass a prop or inject the format')\n );\n }\n\n /**\n * Returns the formatted result as string.\n *\n * @returns Formatted number.\n *\n * @internal\n */\n protected get currency(): string {\n return currencyFormatter(this.value, this.renderedFormat);\n }\n}\n"],"names":[],"mappings":";;;;;;AAUA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCA,IAAqB,YAAY,GAAjC,MAAqB,YAAa,SAAQ,GAAG;;;;;;;;IAmC3C,IAAc,cAAc;QAC1B,QACE,IAAI,CAAC,MAAM;YACX,IAAI,CAAC,cAAc;;;YAGnB,OAAO,CAAC,IAAI,CAAC,qDAAqD,CAAC,EACnE;KACH;;;;;;;;IASD,IAAc,QAAQ;QACpB,OAAO,iBAAiB,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC;KAC3D;CACF,CAAA;AA7CC;IADC,IAAI,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;2CACA;AAQzB;IADC,IAAI,EAAE;4CACmB;AAQ1B;IADC,OAAO,CAAC,gBAAgB,CAAC;oDACK;AA1BZ,YAAY;IADhC,SAAS;GACW,YAAY,CAuDhC;aAvDoB,YAAY;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { clone } from '../../utils/clone.js';
|
|
2
|
-
import { createDecorator } from 'vue-class-component';
|
|
3
1
|
import { Subscription } from 'rxjs';
|
|
4
2
|
import { filter } from 'rxjs/operators';
|
|
3
|
+
import { createDecorator } from 'vue-class-component';
|
|
4
|
+
import { clone } from '../../utils/clone.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Creates a subscription to an {@link XEvent}, an array of {@link XEvent} or a component property (
|
|
@@ -18,25 +18,23 @@ import { filter } from 'rxjs/operators';
|
|
|
18
18
|
* beforeDestroy hook.
|
|
19
19
|
* @public
|
|
20
20
|
*/
|
|
21
|
-
function XOn(xEvent, metadataFilteringOptions) {
|
|
22
|
-
|
|
23
|
-
return createDecorator(function (options, key) {
|
|
21
|
+
function XOn(xEvent, metadataFilteringOptions = {}) {
|
|
22
|
+
return createDecorator((options, key) => {
|
|
24
23
|
// eslint-disable-next-line @typescript-eslint/unbound-method
|
|
25
|
-
|
|
24
|
+
const originalCreated = options.created;
|
|
26
25
|
Object.assign(options, {
|
|
27
|
-
created
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
var subscriptionMetadata = {
|
|
26
|
+
created() {
|
|
27
|
+
originalCreated?.apply(this);
|
|
28
|
+
const componentCreateSubscription = createSubscription.bind(this);
|
|
29
|
+
const subscriptionMetadata = {
|
|
32
30
|
event: [],
|
|
33
31
|
callback: this[key],
|
|
34
|
-
metadataFilteringOptions
|
|
32
|
+
metadataFilteringOptions
|
|
35
33
|
};
|
|
36
|
-
|
|
34
|
+
let subscription;
|
|
37
35
|
if (typeof xEvent === 'function') {
|
|
38
|
-
this.$watch(
|
|
39
|
-
subscription
|
|
36
|
+
this.$watch(() => xEvent(this), newEvents => {
|
|
37
|
+
subscription?.unsubscribe();
|
|
40
38
|
subscriptionMetadata.event = newEvents;
|
|
41
39
|
subscription = componentCreateSubscription(subscriptionMetadata);
|
|
42
40
|
}, { immediate: true });
|
|
@@ -45,7 +43,7 @@ function XOn(xEvent, metadataFilteringOptions) {
|
|
|
45
43
|
subscriptionMetadata.event = xEvent;
|
|
46
44
|
subscription = componentCreateSubscription(subscriptionMetadata);
|
|
47
45
|
}
|
|
48
|
-
this.$on('hook:beforeDestroy',
|
|
46
|
+
this.$on('hook:beforeDestroy', () => subscription.unsubscribe()); // Using Vue
|
|
49
47
|
// bus to subscribe to the lifecycle hook 'beforeDestroy' instead of 'capturing' the
|
|
50
48
|
// original component's 'beforeDestroy' method to override it plus calling
|
|
51
49
|
// originalBeforeDestroy.apply(this) to preserve the existing original hook functionality
|
|
@@ -64,21 +62,14 @@ function XOn(xEvent, metadataFilteringOptions) {
|
|
|
64
62
|
* @internal
|
|
65
63
|
*/
|
|
66
64
|
function createSubscription(subscriptionMetadata) {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
subscription.add(_this.$x
|
|
65
|
+
const { event, callback, metadataFilteringOptions } = subscriptionMetadata;
|
|
66
|
+
const eventArray = Array.isArray(event) ? event : [event];
|
|
67
|
+
const subscription = new Subscription();
|
|
68
|
+
eventArray.forEach(xEvent => {
|
|
69
|
+
subscription.add(this.$x
|
|
73
70
|
.on(xEvent, true)
|
|
74
|
-
.pipe(filter(
|
|
75
|
-
|
|
76
|
-
return filterMetadataOptions(metadataFilteringOptions, metadata);
|
|
77
|
-
}))
|
|
78
|
-
.subscribe(function (_a) {
|
|
79
|
-
var eventPayload = _a.eventPayload, metadata = _a.metadata;
|
|
80
|
-
return callback(eventPayload, metadata);
|
|
81
|
-
}));
|
|
71
|
+
.pipe(filter(({ metadata }) => filterMetadataOptions(metadataFilteringOptions, metadata)))
|
|
72
|
+
.subscribe(({ eventPayload, metadata }) => callback(eventPayload, metadata)));
|
|
82
73
|
});
|
|
83
74
|
return subscription;
|
|
84
75
|
}
|
|
@@ -92,8 +83,8 @@ function createSubscription(subscriptionMetadata) {
|
|
|
92
83
|
*/
|
|
93
84
|
function filterMetadataOptions(filteringOptions, eventOptions) {
|
|
94
85
|
return Object.keys(filteringOptions)
|
|
95
|
-
.filter(
|
|
96
|
-
.every(
|
|
86
|
+
.filter(key => filteringOptions[key] !== undefined)
|
|
87
|
+
.every(key => filteringOptions[key] === eventOptions[key]);
|
|
97
88
|
}
|
|
98
89
|
/**
|
|
99
90
|
* Emits the provided event whenever the decorated property changes.
|
|
@@ -103,18 +94,16 @@ function filterMetadataOptions(filteringOptions, eventOptions) {
|
|
|
103
94
|
* @returns Decorator that makes the component emit an event when the decorated property changes.
|
|
104
95
|
* @public
|
|
105
96
|
*/
|
|
106
|
-
function XEmit(xEvent,
|
|
107
|
-
|
|
108
|
-
return createDecorator(function (options, key) {
|
|
97
|
+
function XEmit(xEvent, { immediate = true, deep = false } = {}) {
|
|
98
|
+
return createDecorator((options, key) => {
|
|
109
99
|
// eslint-disable-next-line @typescript-eslint/unbound-method
|
|
110
|
-
|
|
100
|
+
const originalCreated = options.created;
|
|
111
101
|
options.created = function () {
|
|
112
|
-
|
|
113
|
-
originalCreated === null || originalCreated === void 0 ? void 0 : originalCreated.apply(this);
|
|
102
|
+
originalCreated?.apply(this);
|
|
114
103
|
if (this[key] !== undefined) {
|
|
115
|
-
this.$watch(key,
|
|
116
|
-
|
|
117
|
-
}, { immediate
|
|
104
|
+
this.$watch(key, newValue => {
|
|
105
|
+
this.$x.emit(xEvent, typeof newValue === 'object' && newValue !== null ? clone(newValue) : newValue);
|
|
106
|
+
}, { immediate, deep });
|
|
118
107
|
}
|
|
119
108
|
};
|
|
120
109
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bus.decorators.js","sources":["../../../../src/components/decorators/bus.decorators.ts"],"sourcesContent":["import { Subscription } from 'rxjs';\nimport { filter } from 'rxjs/operators';\nimport Vue, { WatchOptions } from 'vue';\nimport { createDecorator } from 'vue-class-component';\nimport { clone } from '../../utils/clone';\nimport { AnyFunction, DecoratorFor } from '../../utils/types';\nimport { XEvent, XEventPayload } from '../../wiring/events.types';\nimport { WireMetadata } from '../../wiring/wiring.types';\n\n/**\n * Creates a subscription to an {@link XEvent}, an array of {@link XEvent} or a component property (\n * reacting to its changes via a watcher) filtering out the passed metadata, if any, and\n * un-subscribes on the beforeDestroy hook.\n *\n * @remarks\n * The decorated property needs to be public for type inference to work.\n *\n * @param xEvent - The {@link XEvent}, an array of {@link XEvent} or a component property.\n * @param metadataFilteringOptions - The {@link WireMetadata} options to filter out a callback\n * execution.\n * @returns Decorator that creates a subscription to an {@link XEvent} and un-subscribes on the\n * beforeDestroy hook.\n * @public\n */\nexport function XOn<Event extends XEvent>(\n xEvent: Event | Event[] | ((component: Vue) => Event | Event[]),\n metadataFilteringOptions: Partial<WireMetadata> = {}\n): DecoratorFor<(payload: XEventPayload<Event>, metadata: WireMetadata) => void> {\n return createDecorator((options, key) => {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const originalCreated = options.created;\n Object.assign(options, {\n created(this: Vue) {\n originalCreated?.apply(this);\n const componentCreateSubscription = createSubscription.bind(this);\n const subscriptionMetadata: SubscriptionMetadata<Event> = {\n event: [],\n callback: (this as any)[key], // `this` isn't correctly typed here\n metadataFilteringOptions\n };\n\n let subscription: Subscription;\n if (typeof xEvent === 'function') {\n this.$watch(\n () => xEvent(this),\n newEvents => {\n subscription?.unsubscribe();\n subscriptionMetadata.event = newEvents;\n subscription = componentCreateSubscription(subscriptionMetadata);\n },\n { immediate: true }\n );\n } else {\n subscriptionMetadata.event = xEvent;\n subscription = componentCreateSubscription(subscriptionMetadata);\n }\n\n this.$on('hook:beforeDestroy', () => subscription.unsubscribe()); // Using Vue\n // bus to subscribe to the lifecycle hook 'beforeDestroy' instead of 'capturing' the\n // original component's 'beforeDestroy' method to override it plus calling\n // originalBeforeDestroy.apply(this) to preserve the existing original hook functionality\n }\n });\n });\n}\n\n/**\n * Create a subscription for the given events executing the passed callback and filtering out based\n * on the passed metadata options.\n *\n * @param this - The vue component.\n * @param subscriptionMetadata - The {@link SubscriptionMetadata}.\n * @returns A\n * {@link https://www.learnrxjs.io/learn-rxjs/concepts/rxjs-primer#subscription | subscription}.\n * @internal\n */\nfunction createSubscription<Event extends XEvent>(\n this: Vue,\n subscriptionMetadata: SubscriptionMetadata<Event>\n): Subscription {\n const { event, callback, metadataFilteringOptions } = subscriptionMetadata;\n const eventArray = Array.isArray(event) ? event : [event];\n const subscription = new Subscription();\n eventArray.forEach(xEvent => {\n subscription.add(\n this.$x\n .on(xEvent, true)\n .pipe(filter(({ metadata }) => filterMetadataOptions(metadataFilteringOptions, metadata)))\n .subscribe(({ eventPayload, metadata }) => callback(eventPayload, metadata))\n );\n });\n return subscription;\n}\n\n/**\n * Checks if the metadata options passed to the decorator match the metadata of the emitted event.\n *\n * @param filteringOptions - The decorator options.\n * @param eventOptions - The emitted event metadata.\n * @returns True if options are empty or match the metadata.\n * @internal\n */\nfunction filterMetadataOptions<WireMetadataKey extends keyof WireMetadata>(\n filteringOptions: Partial<WireMetadata>,\n eventOptions: WireMetadata\n): boolean {\n return (Object.keys(filteringOptions) as WireMetadataKey[])\n .filter(key => filteringOptions[key] !== undefined)\n .every(key => filteringOptions[key] === eventOptions[key]);\n}\n\n/**\n * The subscription metadata containing an/a list of {@link XEvent}, the callback function to\n * execute and the metadataOptions to filter out the execution of the callback.\n *\n * @internal\n */\ninterface SubscriptionMetadata<Event extends XEvent> {\n /**\n * An {@link XEvent} or a list of them.\n */\n event: Event | Event[];\n /**\n * A callback function to execute in the subscription.\n */\n callback: AnyFunction;\n /**\n * The metadataFilteringOptions to filter out the execution of the callback.\n */\n metadataFilteringOptions: Partial<WireMetadata>;\n}\n\n/**\n * Emits the provided event whenever the decorated property changes.\n *\n * @param xEvent - The event to emit.\n * @param watcherOptions - Options for Vue's watcher.\n * @returns Decorator that makes the component emit an event when the decorated property changes.\n * @public\n */\nexport function XEmit<Event extends XEvent>(\n xEvent: Event,\n { immediate = true, deep = false }: WatchOptions = {}\n): DecoratorFor<XEventPayload<Event> | undefined> {\n return createDecorator((options, key) => {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const originalCreated = options.created;\n options.created = function (this: Vue) {\n originalCreated?.apply(this);\n if ((this as any)[key] !== undefined) {\n this.$watch(\n key,\n newValue => {\n this.$x.emit(\n xEvent,\n typeof newValue === 'object' && newValue !== null ? clone(newValue) : newValue\n );\n },\n { immediate, deep }\n );\n }\n };\n });\n}\n"],"names":[],"mappings":";;;;;AASA;;;;;;;;;;;;;;;SAegB,GAAG,CACjB,MAA+D,EAC/D,
|
|
1
|
+
{"version":3,"file":"bus.decorators.js","sources":["../../../../src/components/decorators/bus.decorators.ts"],"sourcesContent":["import { Subscription } from 'rxjs';\nimport { filter } from 'rxjs/operators';\nimport Vue, { WatchOptions } from 'vue';\nimport { createDecorator } from 'vue-class-component';\nimport { clone } from '../../utils/clone';\nimport { AnyFunction, DecoratorFor } from '../../utils/types';\nimport { XEvent, XEventPayload } from '../../wiring/events.types';\nimport { WireMetadata } from '../../wiring/wiring.types';\n\n/**\n * Creates a subscription to an {@link XEvent}, an array of {@link XEvent} or a component property (\n * reacting to its changes via a watcher) filtering out the passed metadata, if any, and\n * un-subscribes on the beforeDestroy hook.\n *\n * @remarks\n * The decorated property needs to be public for type inference to work.\n *\n * @param xEvent - The {@link XEvent}, an array of {@link XEvent} or a component property.\n * @param metadataFilteringOptions - The {@link WireMetadata} options to filter out a callback\n * execution.\n * @returns Decorator that creates a subscription to an {@link XEvent} and un-subscribes on the\n * beforeDestroy hook.\n * @public\n */\nexport function XOn<Event extends XEvent>(\n xEvent: Event | Event[] | ((component: Vue) => Event | Event[]),\n metadataFilteringOptions: Partial<WireMetadata> = {}\n): DecoratorFor<(payload: XEventPayload<Event>, metadata: WireMetadata) => void> {\n return createDecorator((options, key) => {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const originalCreated = options.created;\n Object.assign(options, {\n created(this: Vue) {\n originalCreated?.apply(this);\n const componentCreateSubscription = createSubscription.bind(this);\n const subscriptionMetadata: SubscriptionMetadata<Event> = {\n event: [],\n callback: (this as any)[key], // `this` isn't correctly typed here\n metadataFilteringOptions\n };\n\n let subscription: Subscription;\n if (typeof xEvent === 'function') {\n this.$watch(\n () => xEvent(this),\n newEvents => {\n subscription?.unsubscribe();\n subscriptionMetadata.event = newEvents;\n subscription = componentCreateSubscription(subscriptionMetadata);\n },\n { immediate: true }\n );\n } else {\n subscriptionMetadata.event = xEvent;\n subscription = componentCreateSubscription(subscriptionMetadata);\n }\n\n this.$on('hook:beforeDestroy', () => subscription.unsubscribe()); // Using Vue\n // bus to subscribe to the lifecycle hook 'beforeDestroy' instead of 'capturing' the\n // original component's 'beforeDestroy' method to override it plus calling\n // originalBeforeDestroy.apply(this) to preserve the existing original hook functionality\n }\n });\n });\n}\n\n/**\n * Create a subscription for the given events executing the passed callback and filtering out based\n * on the passed metadata options.\n *\n * @param this - The vue component.\n * @param subscriptionMetadata - The {@link SubscriptionMetadata}.\n * @returns A\n * {@link https://www.learnrxjs.io/learn-rxjs/concepts/rxjs-primer#subscription | subscription}.\n * @internal\n */\nfunction createSubscription<Event extends XEvent>(\n this: Vue,\n subscriptionMetadata: SubscriptionMetadata<Event>\n): Subscription {\n const { event, callback, metadataFilteringOptions } = subscriptionMetadata;\n const eventArray = Array.isArray(event) ? event : [event];\n const subscription = new Subscription();\n eventArray.forEach(xEvent => {\n subscription.add(\n this.$x\n .on(xEvent, true)\n .pipe(filter(({ metadata }) => filterMetadataOptions(metadataFilteringOptions, metadata)))\n .subscribe(({ eventPayload, metadata }) => callback(eventPayload, metadata))\n );\n });\n return subscription;\n}\n\n/**\n * Checks if the metadata options passed to the decorator match the metadata of the emitted event.\n *\n * @param filteringOptions - The decorator options.\n * @param eventOptions - The emitted event metadata.\n * @returns True if options are empty or match the metadata.\n * @internal\n */\nfunction filterMetadataOptions<WireMetadataKey extends keyof WireMetadata>(\n filteringOptions: Partial<WireMetadata>,\n eventOptions: WireMetadata\n): boolean {\n return (Object.keys(filteringOptions) as WireMetadataKey[])\n .filter(key => filteringOptions[key] !== undefined)\n .every(key => filteringOptions[key] === eventOptions[key]);\n}\n\n/**\n * The subscription metadata containing an/a list of {@link XEvent}, the callback function to\n * execute and the metadataOptions to filter out the execution of the callback.\n *\n * @internal\n */\ninterface SubscriptionMetadata<Event extends XEvent> {\n /**\n * An {@link XEvent} or a list of them.\n */\n event: Event | Event[];\n /**\n * A callback function to execute in the subscription.\n */\n callback: AnyFunction;\n /**\n * The metadataFilteringOptions to filter out the execution of the callback.\n */\n metadataFilteringOptions: Partial<WireMetadata>;\n}\n\n/**\n * Emits the provided event whenever the decorated property changes.\n *\n * @param xEvent - The event to emit.\n * @param watcherOptions - Options for Vue's watcher.\n * @returns Decorator that makes the component emit an event when the decorated property changes.\n * @public\n */\nexport function XEmit<Event extends XEvent>(\n xEvent: Event,\n { immediate = true, deep = false }: WatchOptions = {}\n): DecoratorFor<XEventPayload<Event> | undefined> {\n return createDecorator((options, key) => {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const originalCreated = options.created;\n options.created = function (this: Vue) {\n originalCreated?.apply(this);\n if ((this as any)[key] !== undefined) {\n this.$watch(\n key,\n newValue => {\n this.$x.emit(\n xEvent,\n typeof newValue === 'object' && newValue !== null ? clone(newValue) : newValue\n );\n },\n { immediate, deep }\n );\n }\n };\n });\n}\n"],"names":[],"mappings":";;;;;AASA;;;;;;;;;;;;;;;SAegB,GAAG,CACjB,MAA+D,EAC/D,2BAAkD,EAAE;IAEpD,OAAO,eAAe,CAAC,CAAC,OAAO,EAAE,GAAG;;QAElC,MAAM,eAAe,GAAG,OAAO,CAAC,OAAO,CAAC;QACxC,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE;YACrB,OAAO;gBACL,eAAe,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;gBAC7B,MAAM,2BAA2B,GAAG,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBAClE,MAAM,oBAAoB,GAAgC;oBACxD,KAAK,EAAE,EAAE;oBACT,QAAQ,EAAG,IAAY,CAAC,GAAG,CAAC;oBAC5B,wBAAwB;iBACzB,CAAC;gBAEF,IAAI,YAA0B,CAAC;gBAC/B,IAAI,OAAO,MAAM,KAAK,UAAU,EAAE;oBAChC,IAAI,CAAC,MAAM,CACT,MAAM,MAAM,CAAC,IAAI,CAAC,EAClB,SAAS;wBACP,YAAY,EAAE,WAAW,EAAE,CAAC;wBAC5B,oBAAoB,CAAC,KAAK,GAAG,SAAS,CAAC;wBACvC,YAAY,GAAG,2BAA2B,CAAC,oBAAoB,CAAC,CAAC;qBAClE,EACD,EAAE,SAAS,EAAE,IAAI,EAAE,CACpB,CAAC;iBACH;qBAAM;oBACL,oBAAoB,CAAC,KAAK,GAAG,MAAM,CAAC;oBACpC,YAAY,GAAG,2BAA2B,CAAC,oBAAoB,CAAC,CAAC;iBAClE;gBAED,IAAI,CAAC,GAAG,CAAC,oBAAoB,EAAE,MAAM,YAAY,CAAC,WAAW,EAAE,CAAC,CAAC;;;;aAIlE;SACF,CAAC,CAAC;KACJ,CAAC,CAAC;AACL,CAAC;AAED;;;;;;;;;;AAUA,SAAS,kBAAkB,CAEzB,oBAAiD;IAEjD,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,wBAAwB,EAAE,GAAG,oBAAoB,CAAC;IAC3E,MAAM,UAAU,GAAG,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,KAAK,GAAG,CAAC,KAAK,CAAC,CAAC;IAC1D,MAAM,YAAY,GAAG,IAAI,YAAY,EAAE,CAAC;IACxC,UAAU,CAAC,OAAO,CAAC,MAAM;QACvB,YAAY,CAAC,GAAG,CACd,IAAI,CAAC,EAAE;aACJ,EAAE,CAAC,MAAM,EAAE,IAAI,CAAC;aAChB,IAAI,CAAC,MAAM,CAAC,CAAC,EAAE,QAAQ,EAAE,KAAK,qBAAqB,CAAC,wBAAwB,EAAE,QAAQ,CAAC,CAAC,CAAC;aACzF,SAAS,CAAC,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAE,KAAK,QAAQ,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC,CAC/E,CAAC;KACH,CAAC,CAAC;IACH,OAAO,YAAY,CAAC;AACtB,CAAC;AAED;;;;;;;;AAQA,SAAS,qBAAqB,CAC5B,gBAAuC,EACvC,YAA0B;IAE1B,OAAQ,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAuB;SACxD,MAAM,CAAC,GAAG,IAAI,gBAAgB,CAAC,GAAG,CAAC,KAAK,SAAS,CAAC;SAClD,KAAK,CAAC,GAAG,IAAI,gBAAgB,CAAC,GAAG,CAAC,KAAK,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC;AAC/D,CAAC;AAuBD;;;;;;;;SAQgB,KAAK,CACnB,MAAa,EACb,EAAE,SAAS,GAAG,IAAI,EAAE,IAAI,GAAG,KAAK,KAAmB,EAAE;IAErD,OAAO,eAAe,CAAC,CAAC,OAAO,EAAE,GAAG;;QAElC,MAAM,eAAe,GAAG,OAAO,CAAC,OAAO,CAAC;QACxC,OAAO,CAAC,OAAO,GAAG;YAChB,eAAe,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;YAC7B,IAAK,IAAY,CAAC,GAAG,CAAC,KAAK,SAAS,EAAE;gBACpC,IAAI,CAAC,MAAM,CACT,GAAG,EACH,QAAQ;oBACN,IAAI,CAAC,EAAE,CAAC,IAAI,CACV,MAAM,EACN,OAAO,QAAQ,KAAK,QAAQ,IAAI,QAAQ,KAAK,IAAI,GAAG,KAAK,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAC/E,CAAC;iBACH,EACD,EAAE,SAAS,EAAE,IAAI,EAAE,CACpB,CAAC;aACH;SACF,CAAC;KACH,CAAC,CAAC;AACL;;;;"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { __spreadArray } from 'tslib';
|
|
2
|
-
import { debounce } from '../../utils/debounce.js';
|
|
3
1
|
import { createDecorator } from 'vue-class-component';
|
|
2
|
+
import { debounce } from '../../utils/debounce.js';
|
|
4
3
|
|
|
5
4
|
/**
|
|
6
5
|
* Adds debounce to the method that the decorator is applied to.
|
|
@@ -12,16 +11,11 @@ import { createDecorator } from 'vue-class-component';
|
|
|
12
11
|
*
|
|
13
12
|
* @public
|
|
14
13
|
*/
|
|
15
|
-
function Debounce(debounceTimeInMs, debounceOptions) {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
options.methods[key] = function debouncedWrapper() {
|
|
21
|
-
var args = [];
|
|
22
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
23
|
-
args[_i] = arguments[_i];
|
|
24
|
-
}
|
|
14
|
+
function Debounce(debounceTimeInMs, debounceOptions = {}) {
|
|
15
|
+
return createDecorator((options, key) => {
|
|
16
|
+
const originalMethod = options.methods[key];
|
|
17
|
+
const debouncedMethod = debounce((context, args) => originalMethod.call(context, ...args), debounceTimeInMs, debounceOptions);
|
|
18
|
+
options.methods[key] = function debouncedWrapper(...args) {
|
|
25
19
|
debouncedMethod(this, args);
|
|
26
20
|
};
|
|
27
21
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debounce.decorators.js","sources":["../../../../src/components/decorators/debounce.decorators.ts"],"sourcesContent":["import { createDecorator } from 'vue-class-component';\nimport { debounce } from '../../utils/debounce';\nimport { AnyFunction, DebounceOptions, DecoratorFor } from '../../utils/types';\n\n/**\n * Adds debounce to the method that the decorator is applied to.\n *\n * @param debounceTimeInMs - The time of debounce in ms.\n * @param debounceOptions - The options for the debounce strategy.\n *\n * @returns Decorator that applies debounce.\n *\n * @public\n */\nexport function Debounce(\n debounceTimeInMs: number,\n debounceOptions: DebounceOptions = {}\n): DecoratorFor<AnyFunction> {\n return createDecorator((options, key) => {\n const originalMethod = options.methods![key];\n const debouncedMethod = debounce(\n (context: Vue, args: unknown[]) => originalMethod.call(context, ...args),\n debounceTimeInMs,\n debounceOptions\n );\n\n options.methods![key] = function debouncedWrapper(...args: unknown[]) {\n debouncedMethod(this, args);\n };\n });\n}\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"debounce.decorators.js","sources":["../../../../src/components/decorators/debounce.decorators.ts"],"sourcesContent":["import { createDecorator } from 'vue-class-component';\nimport { debounce } from '../../utils/debounce';\nimport { AnyFunction, DebounceOptions, DecoratorFor } from '../../utils/types';\n\n/**\n * Adds debounce to the method that the decorator is applied to.\n *\n * @param debounceTimeInMs - The time of debounce in ms.\n * @param debounceOptions - The options for the debounce strategy.\n *\n * @returns Decorator that applies debounce.\n *\n * @public\n */\nexport function Debounce(\n debounceTimeInMs: number,\n debounceOptions: DebounceOptions = {}\n): DecoratorFor<AnyFunction> {\n return createDecorator((options, key) => {\n const originalMethod = options.methods![key];\n const debouncedMethod = debounce(\n (context: Vue, args: unknown[]) => originalMethod.call(context, ...args),\n debounceTimeInMs,\n debounceOptions\n );\n\n options.methods![key] = function debouncedWrapper(...args: unknown[]) {\n debouncedMethod(this, args);\n };\n });\n}\n"],"names":[],"mappings":";;;AAIA;;;;;;;;;;SAUgB,QAAQ,CACtB,gBAAwB,EACxB,kBAAmC,EAAE;IAErC,OAAO,eAAe,CAAC,CAAC,OAAO,EAAE,GAAG;QAClC,MAAM,cAAc,GAAG,OAAO,CAAC,OAAQ,CAAC,GAAG,CAAC,CAAC;QAC7C,MAAM,eAAe,GAAG,QAAQ,CAC9B,CAAC,OAAY,EAAE,IAAe,KAAK,cAAc,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,EACxE,gBAAgB,EAChB,eAAe,CAChB,CAAC;QAEF,OAAO,CAAC,OAAQ,CAAC,GAAG,CAAC,GAAG,SAAS,gBAAgB,CAAC,GAAG,IAAe;YAClE,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;SAC7B,CAAC;KACH,CAAC,CAAC;AACL;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"injection.consts.js","sources":["../../../../src/components/decorators/injection.consts.ts"],"sourcesContent":["import { ListItem } from '../../utils/types';\nimport { XInjectKey } from './injection.decorators';\n\n/**\n * It's used to identify the provided and injected `items`.\n *\n * @internal\n */\nexport const LIST_ITEMS_KEY: XInjectKey<ListItem[] | undefined> = 'listItems';\n"],"names":[],"mappings":"AAGA;;;;;
|
|
1
|
+
{"version":3,"file":"injection.consts.js","sources":["../../../../src/components/decorators/injection.consts.ts"],"sourcesContent":["import { ListItem } from '../../utils/types';\nimport { XInjectKey } from './injection.decorators';\n\n/**\n * It's used to identify the provided and injected `items`.\n *\n * @internal\n */\nexport const LIST_ITEMS_KEY: XInjectKey<ListItem[] | undefined> = 'listItems';\n"],"names":[],"mappings":"AAGA;;;;;MAKa,cAAc,GAAuC;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { arrayToObject } from '../../utils/array.js';
|
|
2
1
|
import { createDecorator } from 'vue-class-component';
|
|
2
|
+
import { arrayToObject } from '../../utils/array.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Generates a provide function that returns an object with the injectable value returned in a
|
|
@@ -28,11 +28,11 @@ import { createDecorator } from 'vue-class-component';
|
|
|
28
28
|
* @public
|
|
29
29
|
*/
|
|
30
30
|
function XProvide(provideKey) {
|
|
31
|
-
return createDecorator(
|
|
32
|
-
|
|
31
|
+
return createDecorator((options, componentKey) => {
|
|
32
|
+
const previousProvide = options.provide;
|
|
33
33
|
options.provide = function () {
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
const previousProvideObject = getPreviousProvideObject(previousProvide, this);
|
|
35
|
+
const newProvideObject = getNewProvideObject(provideKey, componentKey, this);
|
|
36
36
|
return Object.assign(previousProvideObject, newProvideObject);
|
|
37
37
|
};
|
|
38
38
|
});
|
|
@@ -72,14 +72,13 @@ function XProvide(provideKey) {
|
|
|
72
72
|
* @public
|
|
73
73
|
*/
|
|
74
74
|
function XInject(injectKey, defaultValue) {
|
|
75
|
-
return createDecorator(
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
var newInjectObject = getNewInjectObject(injectKey, privateComponentKey, defaultValue);
|
|
75
|
+
return createDecorator((options, componentKey) => {
|
|
76
|
+
const privateComponentKey = `_x-inject_${componentKey}`;
|
|
77
|
+
const previousInjectObject = getPreviousInjectObject(options.inject);
|
|
78
|
+
const newInjectObject = getNewInjectObject(injectKey, privateComponentKey, defaultValue);
|
|
80
79
|
options.inject = Object.assign(previousInjectObject, newInjectObject);
|
|
81
|
-
|
|
82
|
-
options.computed = Object.assign(
|
|
80
|
+
const computedToPrivateProperty = getComputedProperty(componentKey, privateComponentKey);
|
|
81
|
+
options.computed = Object.assign(options.computed ?? {}, computedToPrivateProperty);
|
|
83
82
|
});
|
|
84
83
|
}
|
|
85
84
|
/**
|
|
@@ -100,7 +99,7 @@ function getPreviousProvideObject(previousProvide, componentInstance) {
|
|
|
100
99
|
return previousProvide.call(componentInstance);
|
|
101
100
|
}
|
|
102
101
|
else {
|
|
103
|
-
return previousProvide
|
|
102
|
+
return previousProvide ?? {};
|
|
104
103
|
}
|
|
105
104
|
}
|
|
106
105
|
/**
|
|
@@ -116,14 +115,13 @@ function getPreviousProvideObject(previousProvide, componentInstance) {
|
|
|
116
115
|
* getter.
|
|
117
116
|
*/
|
|
118
117
|
function getNewProvideObject(provideKey, componentKey, componentInstance) {
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
_a[provideKey] = {
|
|
118
|
+
return {
|
|
119
|
+
[provideKey]: {
|
|
122
120
|
get value() {
|
|
123
121
|
return componentInstance[componentKey];
|
|
124
122
|
}
|
|
125
|
-
}
|
|
126
|
-
|
|
123
|
+
}
|
|
124
|
+
};
|
|
127
125
|
}
|
|
128
126
|
/**
|
|
129
127
|
* This function returns the previous inject config as an object. This will be used to merge it with
|
|
@@ -144,7 +142,7 @@ function getPreviousInjectObject(previousInject) {
|
|
|
144
142
|
return arrayToObject(previousInject);
|
|
145
143
|
}
|
|
146
144
|
else {
|
|
147
|
-
return previousInject
|
|
145
|
+
return previousInject ?? {};
|
|
148
146
|
}
|
|
149
147
|
}
|
|
150
148
|
/**
|
|
@@ -160,8 +158,7 @@ function getPreviousInjectObject(previousInject) {
|
|
|
160
158
|
* @returns The object with the inject configuration.
|
|
161
159
|
*/
|
|
162
160
|
function getNewInjectObject(injectKey, componentKey, defaultValue) {
|
|
163
|
-
|
|
164
|
-
return _a = {}, _a[componentKey] = { from: injectKey, default: { value: defaultValue } }, _a;
|
|
161
|
+
return { [componentKey]: { from: injectKey, default: { value: defaultValue } } };
|
|
165
162
|
}
|
|
166
163
|
/**
|
|
167
164
|
* This function returns the computed configuration for bypass the `value` of the provide
|
|
@@ -175,12 +172,11 @@ function getNewInjectObject(injectKey, componentKey, defaultValue) {
|
|
|
175
172
|
* @returns The computed config to assign/merge with the component options.
|
|
176
173
|
*/
|
|
177
174
|
function getComputedProperty(computedKey, privateComponentKey) {
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
_a[computedKey] = function () {
|
|
175
|
+
return {
|
|
176
|
+
[computedKey]: function () {
|
|
181
177
|
return this[privateComponentKey].value;
|
|
182
|
-
}
|
|
183
|
-
|
|
178
|
+
}
|
|
179
|
+
};
|
|
184
180
|
}
|
|
185
181
|
/**
|
|
186
182
|
* Type guard to check if a provide configuration is a function.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"injection.decorators.js","sources":["../../../../src/components/decorators/injection.decorators.ts"],"sourcesContent":["import Vue, { ComponentOptions } from 'vue';\nimport { createDecorator } from 'vue-class-component';\nimport { arrayToObject } from '../../utils/array';\nimport { DecoratorFor } from '../../utils/types';\n\n/**\n * The type of the Vue Component provide configuration, narrowed to the object type.\n *\n * @internal\n */\n// eslint-disable-next-line @typescript-eslint/ban-types\ntype ProvideObjectConfig = Exclude<ComponentOptions<Vue>['provide'], (() => object) | undefined>;\n\n/**\n * The type of the Vue Component inject configuration, narrowed to the object type.\n *\n * @internal\n */\ntype InjectObjectConfig = Exclude<ComponentOptions<Vue>['inject'], string[] | undefined>;\n\n/**\n * Type of the key passed to {@link XProvide} and {@link XInject} to be type-safe. With this type\n * you can declare the type of the injected value directly in the injection key.\n *\n * @example\n * `const myKey: XInjectKey<Filter> = 'myFilter';`\n * `@XInject(myKey)`\n *\n * @public\n */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars-experimental\nexport interface XInjectKey<Type> extends String {}\n\n/**\n * The union type for the different functions in this module.\n *\n * @internal\n */\ntype AnyInjectKey<Type> = XInjectKey<Type> | string;\n\n/**\n * Generates a provide function that returns an object with the injectable value returned in a\n * getter to keep its reactivity, using the default\n * {@link https://vuejs.org/v2/api/#provide-inject | Vue inject}. It overrides the provide key if\n * the parent provides the same key.\n *\n * @remarks The decorated property needs to be public for type inference to work.\n *\n * @param provideKey - The key used to provide. This key can be a 'string' or a 'XInject<Type>'.\n * This last type is to support type-safe injection. When this decorator is used, it is possible\n * to specify the type of the injected value. Take a look to the example below.\n * @returns Decorator with the provide configuration.\n *\n * @example\n * Type unsafe injection (but allowed):\n * \\@XProvide('myKey')\n *\n * Type safe injection (recommended):\n * const myKey: XInjectKey<Date> = 'myKey';\n * \\@XProvide(myKey)\n *\n * This last one, you are specifying that the injected value with the key 'myKey' has the Date\n * type.\n *\n * @public\n */\nexport function XProvide<Type>(provideKey: AnyInjectKey<Type>): DecoratorFor<Type> {\n return createDecorator((options, componentKey) => {\n const previousProvide = options.provide;\n options.provide = function <ComponentInstance extends Vue>(this: ComponentInstance) {\n const previousProvideObject = getPreviousProvideObject(previousProvide, this);\n const newProvideObject = getNewProvideObject(provideKey, componentKey, this);\n return Object.assign(previousProvideObject, newProvideObject);\n };\n });\n}\n\n/**\n * Generates an inject configuration object to inject a value provided by {@link XProvide}.\n * This function injects the value into a private property of the component instance using the\n * default {@link https://vuejs.org/v2/api/#provide-inject | Vue inject}. This private property\n * is named as the decorated property but prefixed with `_x-inject_`.\n *\n * Why is this private property necessary? Well, the {@link XProvide} decorator, provides an object\n * with the shape \\{ value: any \\} being that value a getter to keep reactivity of the injected\n * value. This private property is to \"shortcut\" that object and directly inject the value itself.\n * Otherwise, you should access to the actual value using `.value`.\n *\n * The final step is done by a computed property. This has the same name as the decorated property.\n * This computed returns the inner value getter of the injected object. This way the decorated\n * property has finally the initial injected value.\n *\n * @remarks The decorated property needs to be public for type inference to work.\n *\n * @param injectKey - The key used to inject. This key can be a 'string' or a 'XInject<Type>'.\n * This last type is to support type-safe injection. When this decorator is used, it is possible\n * to specify the type of the injected value. Take a look to the example below.\n * @returns Decorator with the provide configuration.\n *\n * @param defaultValue - The default value to use if there is not value provided.\n *\n * @example\n * Type unsafe injection (but allowed):\n * \\@XInject('myKey')\n *\n * Type safe injection (recommended):\n * const myKey: XInjectKey<Date> = 'myKey';\n * \\@XInject(myKey)\n *\n * @public\n */\nexport function XInject<Type>(\n injectKey: AnyInjectKey<Type>,\n defaultValue?: Type\n): DecoratorFor<Type> {\n return createDecorator((options, componentKey) => {\n const privateComponentKey = `_x-inject_${componentKey}`;\n const previousInjectObject = getPreviousInjectObject(options.inject);\n const newInjectObject = getNewInjectObject(injectKey, privateComponentKey, defaultValue);\n options.inject = Object.assign(previousInjectObject, newInjectObject);\n const computedToPrivateProperty = getComputedProperty(componentKey, privateComponentKey);\n options.computed = Object.assign(options.computed ?? {}, computedToPrivateProperty);\n });\n}\n\n/**\n * This function receives the previous provide of the component instance.\n * If the provide is a function, then returns it as an object invoking it with the component\n * instance.\n * If the provide is an object then it is returned directly.\n * If the provide is undefined, then an empty object returned.\n *\n * @param previousProvide - The {@link ComponentOptions.provide } configuration that exist before\n * applying this decorator.\n * @param componentInstance - A Vue Component instance to invoke the provide function.\n *\n * @returns {@link ProvideObjectConfig} With the provide configuration as an object.\n */\nfunction getPreviousProvideObject<ComponentInstance extends Vue>(\n previousProvide: ComponentOptions<Vue>['provide'],\n componentInstance: ComponentInstance\n): ProvideObjectConfig {\n if (isProvideFunction(previousProvide)) {\n return previousProvide.call(componentInstance);\n } else {\n return previousProvide ?? {};\n }\n}\n\n/**\n * This function creates a new provide configuration, wrapping the value to provide inside a getter\n * called `value`. This is done to keep the reactivity of the injected value.\n *\n * @param provideKey - The key of the provide value.\n * @param componentKey - The name of the property decorated with {@link XProvide}.\n * @param componentInstance - The {@link Vue} instance of the component to invoke the provide\n * function.\n *\n * @returns {@link ProvideObjectConfig} The object with the key of the provideKey and the `value`\n * getter.\n */\nfunction getNewProvideObject<ComponentInstance extends Vue>(\n provideKey: AnyInjectKey<unknown>,\n componentKey: string,\n componentInstance: ComponentInstance\n): ProvideObjectConfig {\n return {\n [provideKey as string]: {\n get value() {\n return componentInstance[componentKey as keyof ComponentInstance];\n }\n }\n };\n}\n\n/**\n * This function returns the previous inject config as an object. This will be used to merge it with\n * the new inject configuration.\n * If the previous inject config of the component instance is an Array, then it converts it into an\n * object.\n * If the previous inject config of the component instance is an object, then it returns it\n * directly.\n * If the previous inject config of the component instance is undefined, then an empty object is\n * returned.\n *\n * @param previousInject - The previous inject configuration of the component instance.\n *\n * @returns {@link InjectObjectConfig} The object with the previous inject config in form of object.\n */\nfunction getPreviousInjectObject(\n previousInject: ComponentOptions<Vue>['inject']\n): InjectObjectConfig {\n if (Array.isArray(previousInject)) {\n return arrayToObject(previousInject);\n } else {\n return previousInject ?? {};\n }\n}\n\n/**\n * This function returns the new inject configuration. This will be merged with the previous inject\n * configuration.\n * It returns an object with the key and a string if no `defaultValue` is passed. Otherwise it\n * returns an object with `from` and `default` keys.\n *\n * @param injectKey - The key of the injected value.\n * @param componentKey - The name of the component key where the value will be injected.\n * @param defaultValue - The default value of the injection if the `injectKey` has no provide.\n *\n * @returns The object with the inject configuration.\n */\nfunction getNewInjectObject<DefaultValue>(\n injectKey: AnyInjectKey<unknown>,\n componentKey: string,\n defaultValue?: DefaultValue\n): InjectObjectConfig {\n return { [componentKey]: { from: injectKey as string, default: { value: defaultValue } } };\n}\n\n/**\n * This function returns the computed configuration for bypass the `value` of the provide\n * of {@link XProvide}. This will be used to override the property decorated with {@link XInject}\n * with the computed.\n *\n * @param computedKey - The key used for the computed.\n * @param privateComponentKey - The \"private\" component property where the value is actually\n * injected.\n *\n * @returns The computed config to assign/merge with the component options.\n */\nfunction getComputedProperty(\n computedKey: string,\n privateComponentKey: string\n): ComponentOptions<Vue>['computed'] {\n return {\n [computedKey]: function (): unknown {\n return (this as unknown as Record<string, { value: unknown }>)[privateComponentKey].value;\n }\n };\n}\n\n/**\n * Type guard to check if a provide configuration is a function.\n *\n * @param provide - The provide configuration.\n * @returns A boolean indicating if the passed provide is a function.\n */\nfunction isProvideFunction(\n provide: ComponentOptions<Vue>['provide']\n): provide is (this: Vue) => ProvideObjectConfig {\n return typeof provide === 'function';\n}\n"],"names":[],"mappings":";;;AAwCA;;;;;;;;;;;;;;;;;;;;;;;;;;SA0BgB,QAAQ,CAAO,UAA8B;IAC3D,OAAO,eAAe,CAAC,UAAC,OAAO,EAAE,YAAY;QAC3C,IAAM,eAAe,GAAG,OAAO,CAAC,OAAO,CAAC;QACxC,OAAO,CAAC,OAAO,GAAG;YAChB,IAAM,qBAAqB,GAAG,wBAAwB,CAAC,eAAe,EAAE,IAAI,CAAC,CAAC;YAC9E,IAAM,gBAAgB,GAAG,mBAAmB,CAAC,UAAU,EAAE,YAAY,EAAE,IAAI,CAAC,CAAC;YAC7E,OAAO,MAAM,CAAC,MAAM,CAAC,qBAAqB,EAAE,gBAAgB,CAAC,CAAC;SAC/D,CAAC;KACH,CAAC,CAAC;AACL,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAkCgB,OAAO,CACrB,SAA6B,EAC7B,YAAmB;IAEnB,OAAO,eAAe,CAAC,UAAC,OAAO,EAAE,YAAY;;QAC3C,IAAM,mBAAmB,GAAG,eAAa,YAAc,CAAC;QACxD,IAAM,oBAAoB,GAAG,uBAAuB,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QACrE,IAAM,eAAe,GAAG,kBAAkB,CAAC,SAAS,EAAE,mBAAmB,EAAE,YAAY,CAAC,CAAC;QACzF,OAAO,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,oBAAoB,EAAE,eAAe,CAAC,CAAC;QACtE,IAAM,yBAAyB,GAAG,mBAAmB,CAAC,YAAY,EAAE,mBAAmB,CAAC,CAAC;QACzF,OAAO,CAAC,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,MAAA,OAAO,CAAC,QAAQ,mCAAI,EAAE,EAAE,yBAAyB,CAAC,CAAC;KACrF,CAAC,CAAC;AACL,CAAC;AAED;;;;;;;;;;;;;AAaA,SAAS,wBAAwB,CAC/B,eAAiD,EACjD,iBAAoC;IAEpC,IAAI,iBAAiB,CAAC,eAAe,CAAC,EAAE;QACtC,OAAO,eAAe,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;KAChD;SAAM;QACL,OAAO,eAAe,aAAf,eAAe,cAAf,eAAe,GAAI,EAAE,CAAC;KAC9B;AACH,CAAC;AAED;;;;;;;;;;;;AAYA,SAAS,mBAAmB,CAC1B,UAAiC,EACjC,YAAoB,EACpB,iBAAoC;;IAEpC;QACE,GAAC,UAAoB,IAAG;YACtB,IAAI,KAAK;gBACP,OAAO,iBAAiB,CAAC,YAAuC,CAAC,CAAC;aACnE;SACF;WACD;AACJ,CAAC;AAED;;;;;;;;;;;;;;AAcA,SAAS,uBAAuB,CAC9B,cAA+C;IAE/C,IAAI,KAAK,CAAC,OAAO,CAAC,cAAc,CAAC,EAAE;QACjC,OAAO,aAAa,CAAC,cAAc,CAAC,CAAC;KACtC;SAAM;QACL,OAAO,cAAc,aAAd,cAAc,cAAd,cAAc,GAAI,EAAE,CAAC;KAC7B;AACH,CAAC;AAED;;;;;;;;;;;;AAYA,SAAS,kBAAkB,CACzB,SAAgC,EAChC,YAAoB,EACpB,YAA2B;;IAE3B,gBAAS,GAAC,YAAY,IAAG,EAAE,IAAI,EAAE,SAAmB,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE,EAAE,KAAG;AAC7F,CAAC;AAED;;;;;;;;;;;AAWA,SAAS,mBAAmB,CAC1B,WAAmB,EACnB,mBAA2B;;IAE3B;QACE,GAAC,WAAW,IAAG;YACb,OAAQ,IAAsD,CAAC,mBAAmB,CAAC,CAAC,KAAK,CAAC;SAC3F;WACD;AACJ,CAAC;AAED;;;;;;AAMA,SAAS,iBAAiB,CACxB,OAAyC;IAEzC,OAAO,OAAO,OAAO,KAAK,UAAU,CAAC;AACvC;;;;"}
|
|
1
|
+
{"version":3,"file":"injection.decorators.js","sources":["../../../../src/components/decorators/injection.decorators.ts"],"sourcesContent":["import Vue, { ComponentOptions } from 'vue';\nimport { createDecorator } from 'vue-class-component';\nimport { arrayToObject } from '../../utils/array';\nimport { DecoratorFor } from '../../utils/types';\n\n/**\n * The type of the Vue Component provide configuration, narrowed to the object type.\n *\n * @internal\n */\n// eslint-disable-next-line @typescript-eslint/ban-types\ntype ProvideObjectConfig = Exclude<ComponentOptions<Vue>['provide'], (() => object) | undefined>;\n\n/**\n * The type of the Vue Component inject configuration, narrowed to the object type.\n *\n * @internal\n */\ntype InjectObjectConfig = Exclude<ComponentOptions<Vue>['inject'], string[] | undefined>;\n\n/**\n * Type of the key passed to {@link XProvide} and {@link XInject} to be type-safe. With this type\n * you can declare the type of the injected value directly in the injection key.\n *\n * @example\n * `const myKey: XInjectKey<Filter> = 'myFilter';`\n * `@XInject(myKey)`\n *\n * @public\n */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars-experimental\nexport interface XInjectKey<Type> extends String {}\n\n/**\n * The union type for the different functions in this module.\n *\n * @internal\n */\ntype AnyInjectKey<Type> = XInjectKey<Type> | string;\n\n/**\n * Generates a provide function that returns an object with the injectable value returned in a\n * getter to keep its reactivity, using the default\n * {@link https://vuejs.org/v2/api/#provide-inject | Vue inject}. It overrides the provide key if\n * the parent provides the same key.\n *\n * @remarks The decorated property needs to be public for type inference to work.\n *\n * @param provideKey - The key used to provide. This key can be a 'string' or a 'XInject<Type>'.\n * This last type is to support type-safe injection. When this decorator is used, it is possible\n * to specify the type of the injected value. Take a look to the example below.\n * @returns Decorator with the provide configuration.\n *\n * @example\n * Type unsafe injection (but allowed):\n * \\@XProvide('myKey')\n *\n * Type safe injection (recommended):\n * const myKey: XInjectKey<Date> = 'myKey';\n * \\@XProvide(myKey)\n *\n * This last one, you are specifying that the injected value with the key 'myKey' has the Date\n * type.\n *\n * @public\n */\nexport function XProvide<Type>(provideKey: AnyInjectKey<Type>): DecoratorFor<Type> {\n return createDecorator((options, componentKey) => {\n const previousProvide = options.provide;\n options.provide = function <ComponentInstance extends Vue>(this: ComponentInstance) {\n const previousProvideObject = getPreviousProvideObject(previousProvide, this);\n const newProvideObject = getNewProvideObject(provideKey, componentKey, this);\n return Object.assign(previousProvideObject, newProvideObject);\n };\n });\n}\n\n/**\n * Generates an inject configuration object to inject a value provided by {@link XProvide}.\n * This function injects the value into a private property of the component instance using the\n * default {@link https://vuejs.org/v2/api/#provide-inject | Vue inject}. This private property\n * is named as the decorated property but prefixed with `_x-inject_`.\n *\n * Why is this private property necessary? Well, the {@link XProvide} decorator, provides an object\n * with the shape \\{ value: any \\} being that value a getter to keep reactivity of the injected\n * value. This private property is to \"shortcut\" that object and directly inject the value itself.\n * Otherwise, you should access to the actual value using `.value`.\n *\n * The final step is done by a computed property. This has the same name as the decorated property.\n * This computed returns the inner value getter of the injected object. This way the decorated\n * property has finally the initial injected value.\n *\n * @remarks The decorated property needs to be public for type inference to work.\n *\n * @param injectKey - The key used to inject. This key can be a 'string' or a 'XInject<Type>'.\n * This last type is to support type-safe injection. When this decorator is used, it is possible\n * to specify the type of the injected value. Take a look to the example below.\n * @returns Decorator with the provide configuration.\n *\n * @param defaultValue - The default value to use if there is not value provided.\n *\n * @example\n * Type unsafe injection (but allowed):\n * \\@XInject('myKey')\n *\n * Type safe injection (recommended):\n * const myKey: XInjectKey<Date> = 'myKey';\n * \\@XInject(myKey)\n *\n * @public\n */\nexport function XInject<Type>(\n injectKey: AnyInjectKey<Type>,\n defaultValue?: Type\n): DecoratorFor<Type> {\n return createDecorator((options, componentKey) => {\n const privateComponentKey = `_x-inject_${componentKey}`;\n const previousInjectObject = getPreviousInjectObject(options.inject);\n const newInjectObject = getNewInjectObject(injectKey, privateComponentKey, defaultValue);\n options.inject = Object.assign(previousInjectObject, newInjectObject);\n const computedToPrivateProperty = getComputedProperty(componentKey, privateComponentKey);\n options.computed = Object.assign(options.computed ?? {}, computedToPrivateProperty);\n });\n}\n\n/**\n * This function receives the previous provide of the component instance.\n * If the provide is a function, then returns it as an object invoking it with the component\n * instance.\n * If the provide is an object then it is returned directly.\n * If the provide is undefined, then an empty object returned.\n *\n * @param previousProvide - The {@link ComponentOptions.provide } configuration that exist before\n * applying this decorator.\n * @param componentInstance - A Vue Component instance to invoke the provide function.\n *\n * @returns {@link ProvideObjectConfig} With the provide configuration as an object.\n */\nfunction getPreviousProvideObject<ComponentInstance extends Vue>(\n previousProvide: ComponentOptions<Vue>['provide'],\n componentInstance: ComponentInstance\n): ProvideObjectConfig {\n if (isProvideFunction(previousProvide)) {\n return previousProvide.call(componentInstance);\n } else {\n return previousProvide ?? {};\n }\n}\n\n/**\n * This function creates a new provide configuration, wrapping the value to provide inside a getter\n * called `value`. This is done to keep the reactivity of the injected value.\n *\n * @param provideKey - The key of the provide value.\n * @param componentKey - The name of the property decorated with {@link XProvide}.\n * @param componentInstance - The {@link Vue} instance of the component to invoke the provide\n * function.\n *\n * @returns {@link ProvideObjectConfig} The object with the key of the provideKey and the `value`\n * getter.\n */\nfunction getNewProvideObject<ComponentInstance extends Vue>(\n provideKey: AnyInjectKey<unknown>,\n componentKey: string,\n componentInstance: ComponentInstance\n): ProvideObjectConfig {\n return {\n [provideKey as string]: {\n get value() {\n return componentInstance[componentKey as keyof ComponentInstance];\n }\n }\n };\n}\n\n/**\n * This function returns the previous inject config as an object. This will be used to merge it with\n * the new inject configuration.\n * If the previous inject config of the component instance is an Array, then it converts it into an\n * object.\n * If the previous inject config of the component instance is an object, then it returns it\n * directly.\n * If the previous inject config of the component instance is undefined, then an empty object is\n * returned.\n *\n * @param previousInject - The previous inject configuration of the component instance.\n *\n * @returns {@link InjectObjectConfig} The object with the previous inject config in form of object.\n */\nfunction getPreviousInjectObject(\n previousInject: ComponentOptions<Vue>['inject']\n): InjectObjectConfig {\n if (Array.isArray(previousInject)) {\n return arrayToObject(previousInject);\n } else {\n return previousInject ?? {};\n }\n}\n\n/**\n * This function returns the new inject configuration. This will be merged with the previous inject\n * configuration.\n * It returns an object with the key and a string if no `defaultValue` is passed. Otherwise it\n * returns an object with `from` and `default` keys.\n *\n * @param injectKey - The key of the injected value.\n * @param componentKey - The name of the component key where the value will be injected.\n * @param defaultValue - The default value of the injection if the `injectKey` has no provide.\n *\n * @returns The object with the inject configuration.\n */\nfunction getNewInjectObject<DefaultValue>(\n injectKey: AnyInjectKey<unknown>,\n componentKey: string,\n defaultValue?: DefaultValue\n): InjectObjectConfig {\n return { [componentKey]: { from: injectKey as string, default: { value: defaultValue } } };\n}\n\n/**\n * This function returns the computed configuration for bypass the `value` of the provide\n * of {@link XProvide}. This will be used to override the property decorated with {@link XInject}\n * with the computed.\n *\n * @param computedKey - The key used for the computed.\n * @param privateComponentKey - The \"private\" component property where the value is actually\n * injected.\n *\n * @returns The computed config to assign/merge with the component options.\n */\nfunction getComputedProperty(\n computedKey: string,\n privateComponentKey: string\n): ComponentOptions<Vue>['computed'] {\n return {\n [computedKey]: function (): unknown {\n return (this as unknown as Record<string, { value: unknown }>)[privateComponentKey].value;\n }\n };\n}\n\n/**\n * Type guard to check if a provide configuration is a function.\n *\n * @param provide - The provide configuration.\n * @returns A boolean indicating if the passed provide is a function.\n */\nfunction isProvideFunction(\n provide: ComponentOptions<Vue>['provide']\n): provide is (this: Vue) => ProvideObjectConfig {\n return typeof provide === 'function';\n}\n"],"names":[],"mappings":";;;AAwCA;;;;;;;;;;;;;;;;;;;;;;;;;;SA0BgB,QAAQ,CAAO,UAA8B;IAC3D,OAAO,eAAe,CAAC,CAAC,OAAO,EAAE,YAAY;QAC3C,MAAM,eAAe,GAAG,OAAO,CAAC,OAAO,CAAC;QACxC,OAAO,CAAC,OAAO,GAAG;YAChB,MAAM,qBAAqB,GAAG,wBAAwB,CAAC,eAAe,EAAE,IAAI,CAAC,CAAC;YAC9E,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,UAAU,EAAE,YAAY,EAAE,IAAI,CAAC,CAAC;YAC7E,OAAO,MAAM,CAAC,MAAM,CAAC,qBAAqB,EAAE,gBAAgB,CAAC,CAAC;SAC/D,CAAC;KACH,CAAC,CAAC;AACL,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAkCgB,OAAO,CACrB,SAA6B,EAC7B,YAAmB;IAEnB,OAAO,eAAe,CAAC,CAAC,OAAO,EAAE,YAAY;QAC3C,MAAM,mBAAmB,GAAG,aAAa,YAAY,EAAE,CAAC;QACxD,MAAM,oBAAoB,GAAG,uBAAuB,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QACrE,MAAM,eAAe,GAAG,kBAAkB,CAAC,SAAS,EAAE,mBAAmB,EAAE,YAAY,CAAC,CAAC;QACzF,OAAO,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,oBAAoB,EAAE,eAAe,CAAC,CAAC;QACtE,MAAM,yBAAyB,GAAG,mBAAmB,CAAC,YAAY,EAAE,mBAAmB,CAAC,CAAC;QACzF,OAAO,CAAC,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,QAAQ,IAAI,EAAE,EAAE,yBAAyB,CAAC,CAAC;KACrF,CAAC,CAAC;AACL,CAAC;AAED;;;;;;;;;;;;;AAaA,SAAS,wBAAwB,CAC/B,eAAiD,EACjD,iBAAoC;IAEpC,IAAI,iBAAiB,CAAC,eAAe,CAAC,EAAE;QACtC,OAAO,eAAe,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;KAChD;SAAM;QACL,OAAO,eAAe,IAAI,EAAE,CAAC;KAC9B;AACH,CAAC;AAED;;;;;;;;;;;;AAYA,SAAS,mBAAmB,CAC1B,UAAiC,EACjC,YAAoB,EACpB,iBAAoC;IAEpC,OAAO;QACL,CAAC,UAAoB,GAAG;YACtB,IAAI,KAAK;gBACP,OAAO,iBAAiB,CAAC,YAAuC,CAAC,CAAC;aACnE;SACF;KACF,CAAC;AACJ,CAAC;AAED;;;;;;;;;;;;;;AAcA,SAAS,uBAAuB,CAC9B,cAA+C;IAE/C,IAAI,KAAK,CAAC,OAAO,CAAC,cAAc,CAAC,EAAE;QACjC,OAAO,aAAa,CAAC,cAAc,CAAC,CAAC;KACtC;SAAM;QACL,OAAO,cAAc,IAAI,EAAE,CAAC;KAC7B;AACH,CAAC;AAED;;;;;;;;;;;;AAYA,SAAS,kBAAkB,CACzB,SAAgC,EAChC,YAAoB,EACpB,YAA2B;IAE3B,OAAO,EAAE,CAAC,YAAY,GAAG,EAAE,IAAI,EAAE,SAAmB,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE,EAAE,EAAE,CAAC;AAC7F,CAAC;AAED;;;;;;;;;;;AAWA,SAAS,mBAAmB,CAC1B,WAAmB,EACnB,mBAA2B;IAE3B,OAAO;QACL,CAAC,WAAW,GAAG;YACb,OAAQ,IAAsD,CAAC,mBAAmB,CAAC,CAAC,KAAK,CAAC;SAC3F;KACF,CAAC;AACJ,CAAC;AAED;;;;;;AAMA,SAAS,iBAAiB,CACxB,OAAyC;IAEzC,OAAO,OAAO,OAAO,KAAK,UAAU,CAAC;AACvC;;;;"}
|
|
@@ -12,16 +12,15 @@ import { getGetterPath } from '../../plugins/x-plugin.utils.js';
|
|
|
12
12
|
* @public
|
|
13
13
|
*/
|
|
14
14
|
function State(module, path) {
|
|
15
|
-
return createDecorator(
|
|
16
|
-
var _a;
|
|
15
|
+
return createDecorator((options, key) => {
|
|
17
16
|
if (!options.computed) {
|
|
18
17
|
options.computed = {};
|
|
19
18
|
}
|
|
20
|
-
Object.assign(options.computed,
|
|
21
|
-
|
|
19
|
+
Object.assign(options.computed, {
|
|
20
|
+
[key]() {
|
|
22
21
|
return this.$store.state.x[module][path];
|
|
23
|
-
}
|
|
24
|
-
|
|
22
|
+
}
|
|
23
|
+
});
|
|
25
24
|
});
|
|
26
25
|
}
|
|
27
26
|
/**
|
|
@@ -35,17 +34,16 @@ function State(module, path) {
|
|
|
35
34
|
* @public
|
|
36
35
|
*/
|
|
37
36
|
function Getter(module, getter) {
|
|
38
|
-
return createDecorator(
|
|
39
|
-
var _a;
|
|
37
|
+
return createDecorator((options, key) => {
|
|
40
38
|
if (!options.computed) {
|
|
41
39
|
options.computed = {};
|
|
42
40
|
}
|
|
43
|
-
|
|
44
|
-
Object.assign(options.computed,
|
|
45
|
-
|
|
41
|
+
const getterPath = getGetterPath(module, getter);
|
|
42
|
+
Object.assign(options.computed, {
|
|
43
|
+
[key]() {
|
|
46
44
|
return this.$store.getters[getterPath];
|
|
47
|
-
}
|
|
48
|
-
|
|
45
|
+
}
|
|
46
|
+
});
|
|
49
47
|
});
|
|
50
48
|
}
|
|
51
49
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.decorators.js","sources":["../../../../src/components/decorators/store.decorators.ts"],"sourcesContent":["import Vue, { ComponentOptions } from 'vue';\nimport { createDecorator } from 'vue-class-component';\nimport { getGetterPath } from '../../plugins/x-plugin.utils';\nimport { DecoratorFor } from '../../utils/index';\nimport { ExtractGetters, ExtractState, XModuleName } from '../../x-modules/x-modules.types';\n\n/**\n * Generates a computed property which returns the selected state.\n *\n * The decorated property needs to be public for type inference to work.\n *\n * @param module - The {@link XModuleName} of the getter.\n * @param path - The state path.\n * @returns Decorator with the state properties of the module.\n * @public\n */\nexport function State<Module extends XModuleName, Path extends keyof ExtractState<Module>>(\n module: Module,\n path: Path\n): DecoratorFor<ExtractState<Module>[Path]> {\n return createDecorator((options, key) => {\n if (!options.computed) {\n options.computed = {};\n }\n Object.assign(options.computed, {\n [key]() {\n return this.$store.state.x[module][path];\n }\n } as ThisType<Vue>);\n });\n}\n\n/**\n * Generates a computed property which returns the selected getter value.\n *\n * The decorated property needs to be public for type inference to work.\n *\n * @param module - The {@link XModuleName} of the getter.\n * @param getter - The getter name.\n * @returns Decorator with the getters of the module.\n * @public\n */\nexport function Getter<Module extends XModuleName, GetterName extends keyof ExtractGetters<Module>>(\n module: Module,\n getter: GetterName\n): DecoratorFor<ExtractGetters<Module>[GetterName]> {\n return createDecorator((options: ComponentOptions<Vue>, key: string) => {\n if (!options.computed) {\n options.computed = {};\n }\n const getterPath = getGetterPath(module, getter);\n Object.assign(options.computed, {\n [key]() {\n return this.$store.getters[getterPath];\n }\n } as ThisType<Vue>);\n });\n}\n"],"names":[],"mappings":";;;AAMA;;;;;;;;;;SAUgB,KAAK,CACnB,MAAc,EACd,IAAU;IAEV,OAAO,eAAe,CAAC,
|
|
1
|
+
{"version":3,"file":"store.decorators.js","sources":["../../../../src/components/decorators/store.decorators.ts"],"sourcesContent":["import Vue, { ComponentOptions } from 'vue';\nimport { createDecorator } from 'vue-class-component';\nimport { getGetterPath } from '../../plugins/x-plugin.utils';\nimport { DecoratorFor } from '../../utils/index';\nimport { ExtractGetters, ExtractState, XModuleName } from '../../x-modules/x-modules.types';\n\n/**\n * Generates a computed property which returns the selected state.\n *\n * The decorated property needs to be public for type inference to work.\n *\n * @param module - The {@link XModuleName} of the getter.\n * @param path - The state path.\n * @returns Decorator with the state properties of the module.\n * @public\n */\nexport function State<Module extends XModuleName, Path extends keyof ExtractState<Module>>(\n module: Module,\n path: Path\n): DecoratorFor<ExtractState<Module>[Path]> {\n return createDecorator((options, key) => {\n if (!options.computed) {\n options.computed = {};\n }\n Object.assign(options.computed, {\n [key]() {\n return this.$store.state.x[module][path];\n }\n } as ThisType<Vue>);\n });\n}\n\n/**\n * Generates a computed property which returns the selected getter value.\n *\n * The decorated property needs to be public for type inference to work.\n *\n * @param module - The {@link XModuleName} of the getter.\n * @param getter - The getter name.\n * @returns Decorator with the getters of the module.\n * @public\n */\nexport function Getter<Module extends XModuleName, GetterName extends keyof ExtractGetters<Module>>(\n module: Module,\n getter: GetterName\n): DecoratorFor<ExtractGetters<Module>[GetterName]> {\n return createDecorator((options: ComponentOptions<Vue>, key: string) => {\n if (!options.computed) {\n options.computed = {};\n }\n const getterPath = getGetterPath(module, getter);\n Object.assign(options.computed, {\n [key]() {\n return this.$store.getters[getterPath];\n }\n } as ThisType<Vue>);\n });\n}\n"],"names":[],"mappings":";;;AAMA;;;;;;;;;;SAUgB,KAAK,CACnB,MAAc,EACd,IAAU;IAEV,OAAO,eAAe,CAAC,CAAC,OAAO,EAAE,GAAG;QAClC,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE;YACrB,OAAO,CAAC,QAAQ,GAAG,EAAE,CAAC;SACvB;QACD,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,QAAQ,EAAE;YAC9B,CAAC,GAAG,CAAC;gBACH,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC;aAC1C;SACe,CAAC,CAAC;KACrB,CAAC,CAAC;AACL,CAAC;AAED;;;;;;;;;;SAUgB,MAAM,CACpB,MAAc,EACd,MAAkB;IAElB,OAAO,eAAe,CAAC,CAAC,OAA8B,EAAE,GAAW;QACjE,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE;YACrB,OAAO,CAAC,QAAQ,GAAG,EAAE,CAAC;SACvB;QACD,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACjD,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,QAAQ,EAAE;YAC9B,CAAC,GAAG,CAAC;gBACH,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;aACxC;SACe,CAAC,CAAC;KACrB,CAAC,CAAC;AACL;;;;"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import script from './base-price-filter-label.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
|
|
|
9
9
|
/* style */
|
|
10
|
-
|
|
10
|
+
const __vue_inject_styles__ = undefined;
|
|
11
11
|
/* scoped */
|
|
12
|
-
|
|
12
|
+
const __vue_scope_id__ = undefined;
|
|
13
13
|
/* module identifier */
|
|
14
|
-
|
|
14
|
+
const __vue_module_identifier__ = undefined;
|
|
15
15
|
/* functional template */
|
|
16
|
-
|
|
16
|
+
const __vue_is_functional_template__ = undefined;
|
|
17
17
|
/* style inject */
|
|
18
18
|
|
|
19
19
|
/* style inject SSR */
|
|
@@ -22,7 +22,7 @@ var __vue_script__ = script;
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
const __vue_component__ = /*#__PURE__*/__vue_normalize__(
|
|
26
26
|
{},
|
|
27
27
|
__vue_inject_styles__,
|
|
28
28
|
__vue_script__,
|
|
@@ -35,5 +35,5 @@ var __vue_script__ = script;
|
|
|
35
35
|
undefined
|
|
36
36
|
);
|
|
37
37
|
|
|
38
|
-
export default
|
|
38
|
+
export { __vue_component__ as default };
|
|
39
39
|
//# sourceMappingURL=base-price-filter-label.vue.js.map
|