@empathyco/x-components 7.2.1 → 7.2.3
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 +16 -0
- package/core/index.js +3 -3
- package/docs/API-reference/api/x-adapter-platform.browseendpointadapter.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.browserequestmapper.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.browserequestschema.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.browseresponsemapper.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.browseresponseschema.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.md +55 -0
- package/docs/API-reference/api/x-types.browsablerequest.browsefield.md +11 -0
- package/docs/API-reference/api/x-types.browsablerequest.browsevalue.md +11 -0
- package/docs/API-reference/api/x-types.browsablerequest.md +73 -0
- package/docs/API-reference/api/x-types.browserequest.md +15 -0
- package/docs/API-reference/api/x-types.browseresponse.banners.md +11 -0
- package/docs/API-reference/api/x-types.browseresponse.browsetagging.md +11 -0
- package/docs/API-reference/api/x-types.browseresponse.displaybrowsetagging.md +11 -0
- package/docs/API-reference/api/x-types.browseresponse.facets.md +11 -0
- package/docs/API-reference/api/x-types.browseresponse.md +187 -0
- package/docs/API-reference/api/x-types.browseresponse.promoteds.md +11 -0
- package/docs/API-reference/api/x-types.browseresponse.results.md +11 -0
- package/docs/API-reference/api/x-types.browseresponse.stats.md +11 -0
- package/docs/API-reference/api/x-types.browseresponse.totalresults.md +11 -0
- package/docs/API-reference/api/x-types.md +33 -0
- package/js/components/animations/{animate-clip-path.vue2.js → animate-clip-path2.vue.js} +1 -1
- package/js/components/animations/animate-clip-path2.vue.js.map +1 -0
- package/js/components/animations/animate-clip-path3.vue.js +7 -0
- package/js/components/animations/animate-clip-path3.vue.js.map +1 -0
- package/js/components/animations/{animate-scale.vue2.js → animate-scale2.vue.js} +1 -1
- package/js/components/animations/animate-scale2.vue.js.map +1 -0
- package/js/components/animations/{animate-scale.vue3.js → animate-scale3.vue.js} +2 -2
- package/js/components/animations/animate-scale3.vue.js.map +1 -0
- package/js/components/animations/{animate-translate.vue2.js → animate-translate2.vue.js} +1 -1
- package/js/components/animations/animate-translate2.vue.js.map +1 -0
- package/js/components/animations/animate-translate3.vue.js +7 -0
- package/js/components/animations/animate-translate3.vue.js.map +1 -0
- package/js/components/animations/animate-width.vue.js +2 -2
- package/js/components/animations/{animate-width.vue2.js → animate-width2.vue.js} +1 -1
- package/js/components/animations/{animate-width.vue2.js.map → animate-width2.vue.js.map} +1 -1
- package/js/components/animations/{animate-width.vue3.js → animate-width3.vue.js} +1 -1
- package/js/components/animations/animate-width3.vue.js.map +1 -0
- package/js/components/animations/change-height.vue.js +2 -2
- package/js/components/animations/{change-height.vue2.js → change-height2.vue.js} +1 -1
- package/js/components/animations/{change-height.vue2.js.map → change-height2.vue.js.map} +1 -1
- package/js/components/animations/{change-height.vue3.js → change-height3.vue.js} +1 -1
- package/js/components/animations/change-height3.vue.js.map +1 -0
- package/js/components/animations/collapse-height.vue.js +2 -2
- package/js/components/animations/{collapse-height.vue2.js → collapse-height2.vue.js} +1 -1
- package/js/components/animations/{collapse-height.vue2.js.map → collapse-height2.vue.js.map} +1 -1
- package/js/components/animations/{collapse-height.vue3.js → collapse-height3.vue.js} +1 -1
- package/js/components/animations/collapse-height3.vue.js.map +1 -0
- package/js/components/animations/collapse-width.vue.js +2 -2
- package/js/components/animations/{collapse-width.vue2.js → collapse-width2.vue.js} +1 -1
- package/js/components/animations/{collapse-width.vue2.js.map → collapse-width2.vue.js.map} +1 -1
- package/js/components/animations/{collapse-width.vue3.js → collapse-width3.vue.js} +1 -1
- package/js/components/animations/collapse-width3.vue.js.map +1 -0
- package/js/components/animations/cross-fade.vue.js +2 -2
- package/js/components/animations/{cross-fade.vue2.js → cross-fade2.vue.js} +1 -1
- package/js/components/animations/{cross-fade.vue2.js.map → cross-fade2.vue.js.map} +1 -1
- package/js/components/animations/{cross-fade.vue3.js → cross-fade3.vue.js} +1 -1
- package/js/components/animations/cross-fade3.vue.js.map +1 -0
- package/js/components/animations/fade-and-slide.vue.js +2 -2
- package/js/components/animations/{fade-and-slide.vue2.js → fade-and-slide2.vue.js} +1 -1
- package/js/components/animations/{fade-and-slide.vue2.js.map → fade-and-slide2.vue.js.map} +1 -1
- package/js/components/animations/{fade-and-slide.vue3.js → fade-and-slide3.vue.js} +1 -1
- package/js/components/animations/fade-and-slide3.vue.js.map +1 -0
- package/js/components/animations/fade.vue.js +2 -2
- package/js/components/animations/{fade.vue2.js → fade2.vue.js} +1 -1
- package/js/components/animations/{fade.vue2.js.map → fade2.vue.js.map} +1 -1
- package/js/components/animations/{fade.vue3.js → fade3.vue.js} +1 -1
- package/js/components/animations/fade3.vue.js.map +1 -0
- package/js/components/animations/{no-animation.vue2.js → no-animation2.vue.js} +1 -1
- package/js/components/animations/no-animation2.vue.js.map +1 -0
- package/js/components/animations/staggered-fade-and-slide.vue.js +2 -2
- package/js/components/animations/{staggered-fade-and-slide.vue2.js → staggered-fade-and-slide2.vue.js} +1 -1
- package/js/components/animations/{staggered-fade-and-slide.vue2.js.map → staggered-fade-and-slide2.vue.js.map} +1 -1
- package/js/components/animations/{staggered-fade-and-slide.vue3.js → staggered-fade-and-slide3.vue.js} +1 -1
- package/js/components/animations/staggered-fade-and-slide3.vue.js.map +1 -0
- package/js/components/auto-progress-bar.vue.js +2 -2
- package/js/components/{auto-progress-bar.vue2.js → auto-progress-bar2.vue.js} +1 -1
- package/js/components/{auto-progress-bar.vue2.js.map → auto-progress-bar2.vue.js.map} +1 -1
- package/js/components/{auto-progress-bar.vue3.js → auto-progress-bar3.vue.js} +1 -1
- package/js/components/auto-progress-bar3.vue.js.map +1 -0
- package/js/components/base-dropdown.vue.js +2 -2
- package/js/components/{base-dropdown.vue2.js → base-dropdown2.vue.js} +20 -20
- package/js/components/{base-dropdown.vue2.js.map → base-dropdown2.vue.js.map} +1 -1
- package/js/components/{base-dropdown.vue3.js → base-dropdown3.vue.js} +1 -1
- package/js/components/base-dropdown3.vue.js.map +1 -0
- package/js/components/base-event-button.vue.js +1 -1
- package/js/components/{base-event-button.vue2.js → base-event-button2.vue.js} +1 -1
- package/js/components/{base-event-button.vue2.js.map → base-event-button2.vue.js.map} +1 -1
- package/js/components/base-grid.vue.js +2 -2
- package/js/components/{base-grid.vue2.js → base-grid2.vue.js} +1 -1
- package/js/components/{base-grid.vue2.js.map → base-grid2.vue.js.map} +1 -1
- package/js/components/{base-grid.vue3.js → base-grid3.vue.js} +1 -1
- package/js/components/base-grid3.vue.js.map +1 -0
- package/js/components/base-keyboard-navigation.vue.js +1 -1
- package/js/components/{base-keyboard-navigation.vue2.js → base-keyboard-navigation2.vue.js} +1 -1
- package/js/components/{base-keyboard-navigation.vue2.js.map → base-keyboard-navigation2.vue.js.map} +1 -1
- package/js/components/base-rating.vue.js +2 -2
- package/js/components/{base-rating.vue2.js → base-rating2.vue.js} +1 -1
- package/js/components/{base-rating.vue2.js.map → base-rating2.vue.js.map} +1 -1
- package/js/components/{base-rating.vue3.js → base-rating3.vue.js} +1 -1
- package/js/components/base-rating3.vue.js.map +1 -0
- package/js/components/base-slider.vue.js +2 -2
- package/js/components/{base-slider.vue2.js → base-slider2.vue.js} +1 -1
- package/js/components/{base-slider.vue2.js.map → base-slider2.vue.js.map} +1 -1
- package/js/components/{base-slider.vue3.js → base-slider3.vue.js} +1 -1
- package/js/components/base-slider3.vue.js.map +1 -0
- package/js/components/base-switch.vue.js +2 -2
- package/js/components/{base-switch.vue2.js → base-switch2.vue.js} +1 -1
- package/js/components/{base-switch.vue2.js.map → base-switch2.vue.js.map} +1 -1
- package/js/components/{base-switch.vue3.js → base-switch3.vue.js} +1 -1
- package/js/components/base-switch3.vue.js.map +1 -0
- package/js/components/base-teleport.vue.js +1 -1
- package/js/components/{base-teleport.vue2.js → base-teleport2.vue.js} +1 -1
- package/js/components/{base-teleport.vue2.js.map → base-teleport2.vue.js.map} +1 -1
- package/js/components/base-variable-column-grid.vue.js +1 -1
- package/js/components/{base-variable-column-grid.vue2.js → base-variable-column-grid2.vue.js} +1 -1
- package/js/components/{base-variable-column-grid.vue2.js.map → base-variable-column-grid2.vue.js.map} +1 -1
- package/js/components/column-picker/base-column-picker-dropdown.vue.js +1 -1
- package/js/components/column-picker/{base-column-picker-dropdown.vue2.js → base-column-picker-dropdown2.vue.js} +1 -1
- package/js/components/column-picker/{base-column-picker-dropdown.vue2.js.map → base-column-picker-dropdown2.vue.js.map} +1 -1
- package/js/components/column-picker/base-column-picker-list.vue.js +1 -1
- package/js/components/column-picker/{base-column-picker-list.vue2.js → base-column-picker-list2.vue.js} +1 -1
- package/js/components/column-picker/{base-column-picker-list.vue2.js.map → base-column-picker-list2.vue.js.map} +1 -1
- package/js/components/currency/base-currency.vue.js +1 -1
- package/js/components/currency/{base-currency.vue2.js → base-currency2.vue.js} +1 -1
- package/js/components/currency/{base-currency.vue2.js.map → base-currency2.vue.js.map} +1 -1
- package/js/components/{display-click-provider.vue2.js → display-click-provider2.vue.js} +1 -1
- package/js/components/display-click-provider2.vue.js.map +1 -0
- package/js/components/{display-emitter.vue2.js → display-emitter2.vue.js} +1 -1
- package/js/components/display-emitter2.vue.js.map +1 -0
- package/js/components/filters/labels/{base-price-filter-label.vue2.js → base-price-filter-label2.vue.js} +1 -1
- package/js/components/filters/labels/base-price-filter-label2.vue.js.map +1 -0
- package/js/components/filters/labels/base-rating-filter-label.vue.js +1 -1
- package/js/components/filters/labels/{base-rating-filter-label.vue2.js → base-rating-filter-label2.vue.js} +1 -1
- package/js/components/filters/labels/{base-rating-filter-label.vue2.js.map → base-rating-filter-label2.vue.js.map} +1 -1
- package/js/components/{global-x-bus.vue2.js → global-x-bus2.vue.js} +1 -1
- package/js/components/global-x-bus2.vue.js.map +1 -0
- package/js/components/highlight.vue.js +1 -1
- package/js/components/{highlight.vue2.js → highlight2.vue.js} +1 -1
- package/js/components/{highlight.vue2.js.map → highlight2.vue.js.map} +1 -1
- package/js/components/items-list.vue.js +1 -1
- package/js/components/{items-list.vue2.js → items-list2.vue.js} +1 -1
- package/js/components/{items-list.vue2.js.map → items-list2.vue.js.map} +1 -1
- package/js/components/{location-provider.vue2.js → location-provider2.vue.js} +1 -1
- package/js/components/location-provider2.vue.js.map +1 -0
- package/js/components/message.vue.js +17 -17
- package/js/components/{message.vue2.js → message2.vue.js} +1 -1
- package/js/components/message2.vue.js.map +1 -0
- package/js/components/modals/base-events-modal-close.vue.js +1 -1
- package/js/components/modals/{base-events-modal-close.vue2.js → base-events-modal-close2.vue.js} +1 -1
- package/js/components/modals/{base-events-modal-close.vue2.js.map → base-events-modal-close2.vue.js.map} +1 -1
- package/js/components/modals/base-events-modal-open.vue.js +1 -1
- package/js/components/modals/{base-events-modal-open.vue2.js → base-events-modal-open2.vue.js} +1 -1
- package/js/components/modals/{base-events-modal-open.vue2.js.map → base-events-modal-open2.vue.js.map} +1 -1
- package/js/components/modals/base-events-modal.vue.js +1 -1
- package/js/components/modals/{base-events-modal.vue2.js → base-events-modal2.vue.js} +1 -1
- package/js/components/modals/{base-events-modal.vue2.js.map → base-events-modal2.vue.js.map} +1 -1
- package/js/components/modals/base-id-modal-close.vue.js +1 -1
- package/js/components/modals/{base-id-modal-close.vue2.js → base-id-modal-close2.vue.js} +1 -1
- package/js/components/modals/{base-id-modal-close.vue2.js.map → base-id-modal-close2.vue.js.map} +1 -1
- package/js/components/modals/base-id-modal-open.vue.js +1 -1
- package/js/components/modals/{base-id-modal-open.vue2.js → base-id-modal-open2.vue.js} +1 -1
- package/js/components/modals/{base-id-modal-open.vue2.js.map → base-id-modal-open2.vue.js.map} +1 -1
- package/js/components/modals/base-id-modal.vue.js +1 -1
- package/js/components/modals/{base-id-modal.vue2.js → base-id-modal2.vue.js} +1 -1
- package/js/components/modals/{base-id-modal.vue2.js.map → base-id-modal2.vue.js.map} +1 -1
- package/js/components/modals/base-modal.vue.js +2 -2
- package/js/components/modals/{base-modal.vue2.js → base-modal2.vue.js} +18 -18
- package/js/components/modals/{base-modal.vue2.js.map → base-modal2.vue.js.map} +1 -1
- package/js/components/modals/{base-modal.vue3.js → base-modal3.vue.js} +1 -1
- package/js/components/modals/base-modal3.vue.js.map +1 -0
- package/js/components/modals/close-main-modal.vue.js +1 -1
- package/js/components/modals/{close-main-modal.vue2.js → close-main-modal2.vue.js} +1 -1
- package/js/components/modals/{close-main-modal.vue2.js.map → close-main-modal2.vue.js.map} +1 -1
- package/js/components/modals/main-modal.vue.js +1 -1
- package/js/components/modals/{main-modal.vue2.js → main-modal2.vue.js} +1 -1
- package/js/components/modals/{main-modal.vue2.js.map → main-modal2.vue.js.map} +1 -1
- package/js/components/modals/open-main-modal.vue.js +1 -1
- package/js/components/modals/{open-main-modal.vue2.js → open-main-modal2.vue.js} +1 -1
- package/js/components/modals/{open-main-modal.vue2.js.map → open-main-modal2.vue.js.map} +1 -1
- package/js/components/page-loader-button.vue.js +2 -2
- package/js/components/{page-loader-button.vue2.js → page-loader-button2.vue.js} +1 -1
- package/js/components/{page-loader-button.vue2.js.map → page-loader-button2.vue.js.map} +1 -1
- package/js/components/{page-loader-button.vue3.js → page-loader-button3.vue.js} +1 -1
- package/js/components/page-loader-button3.vue.js.map +1 -0
- package/js/components/page-selector.vue.js +2 -2
- package/js/components/{page-selector.vue2.js → page-selector2.vue.js} +1 -1
- package/js/components/{page-selector.vue2.js.map → page-selector2.vue.js.map} +1 -1
- package/js/components/{page-selector.vue3.js → page-selector3.vue.js} +1 -1
- package/js/components/page-selector3.vue.js.map +1 -0
- package/js/components/panels/base-header-toggle-panel.vue.js +2 -2
- package/js/components/panels/{base-header-toggle-panel.vue2.js → base-header-toggle-panel2.vue.js} +20 -20
- package/js/components/panels/{base-header-toggle-panel.vue2.js.map → base-header-toggle-panel2.vue.js.map} +1 -1
- package/js/components/panels/{base-header-toggle-panel.vue3.js → base-header-toggle-panel3.vue.js} +1 -1
- package/js/components/panels/base-header-toggle-panel3.vue.js.map +1 -0
- package/js/components/panels/base-id-toggle-panel-button.vue.js +1 -1
- package/js/components/panels/{base-id-toggle-panel-button.vue2.js → base-id-toggle-panel-button2.vue.js} +1 -1
- package/js/components/panels/{base-id-toggle-panel-button.vue2.js.map → base-id-toggle-panel-button2.vue.js.map} +1 -1
- package/js/components/panels/base-id-toggle-panel.vue.js +1 -1
- package/js/components/panels/{base-id-toggle-panel.vue2.js → base-id-toggle-panel2.vue.js} +20 -20
- package/js/components/panels/{base-id-toggle-panel.vue2.js.map → base-id-toggle-panel2.vue.js.map} +1 -1
- package/js/components/panels/base-tabs-panel.vue.js +2 -2
- package/js/components/panels/{base-tabs-panel.vue2.js → base-tabs-panel2.vue.js} +20 -20
- package/js/components/panels/{base-tabs-panel.vue2.js.map → base-tabs-panel2.vue.js.map} +1 -1
- package/js/components/panels/{base-tabs-panel.vue3.js → base-tabs-panel3.vue.js} +1 -1
- package/js/components/panels/base-tabs-panel3.vue.js.map +1 -0
- package/js/components/panels/base-toggle-panel.vue.js +1 -1
- package/js/components/panels/{base-toggle-panel.vue2.js → base-toggle-panel2.vue.js} +1 -1
- package/js/components/panels/{base-toggle-panel.vue2.js.map → base-toggle-panel2.vue.js.map} +1 -1
- package/js/components/result/base-result-add-to-cart.vue.js +1 -1
- package/js/components/result/{base-result-add-to-cart.vue2.js → base-result-add-to-cart2.vue.js} +1 -1
- package/js/components/result/{base-result-add-to-cart.vue2.js.map → base-result-add-to-cart2.vue.js.map} +1 -1
- package/js/components/result/base-result-current-price.vue.js +1 -1
- package/js/components/result/{base-result-current-price.vue2.js → base-result-current-price2.vue.js} +1 -1
- package/js/components/result/{base-result-current-price.vue2.js.map → base-result-current-price2.vue.js.map} +1 -1
- package/js/components/result/base-result-image.vue.js +2 -2
- package/js/components/result/{base-result-image.vue2.js → base-result-image2.vue.js} +20 -20
- package/js/components/result/{base-result-image.vue2.js.map → base-result-image2.vue.js.map} +1 -1
- package/js/components/result/{base-result-image.vue3.js → base-result-image3.vue.js} +1 -1
- package/js/components/result/base-result-image3.vue.js.map +1 -0
- package/js/components/result/base-result-link.vue.js +2 -2
- package/js/components/result/{base-result-link.vue2.js → base-result-link2.vue.js} +1 -1
- package/js/components/result/{base-result-link.vue2.js.map → base-result-link2.vue.js.map} +1 -1
- package/js/components/result/{base-result-link.vue3.js → base-result-link3.vue.js} +1 -1
- package/js/components/result/base-result-link3.vue.js.map +1 -0
- package/js/components/result/base-result-previous-price.vue.js +1 -1
- package/js/components/result/{base-result-previous-price.vue2.js → base-result-previous-price2.vue.js} +1 -1
- package/js/components/result/{base-result-previous-price.vue2.js.map → base-result-previous-price2.vue.js.map} +1 -1
- package/js/components/result/base-result-rating.vue.js +2 -2
- package/js/components/result/{base-result-rating.vue2.js → base-result-rating2.vue.js} +1 -1
- package/js/components/result/{base-result-rating.vue2.js.map → base-result-rating2.vue.js.map} +1 -1
- package/js/components/result/{base-result-rating.vue3.js → base-result-rating3.vue.js} +1 -1
- package/js/components/result/base-result-rating3.vue.js.map +1 -0
- package/js/components/result/result-variant-selector.vue.js +2 -2
- package/js/components/result/{result-variant-selector.vue2.js → result-variant-selector2.vue.js} +1 -1
- package/js/components/result/{result-variant-selector.vue2.js.map → result-variant-selector2.vue.js.map} +1 -1
- package/js/components/result/{result-variant-selector.vue3.js → result-variant-selector3.vue.js} +1 -1
- package/js/components/result/result-variant-selector3.vue.js.map +1 -0
- package/js/components/result/{result-variants-provider.vue2.js → result-variants-provider2.vue.js} +1 -1
- package/js/components/result/result-variants-provider2.vue.js.map +1 -0
- package/js/components/scroll/base-scroll.vue.js +1 -1
- package/js/components/scroll/{base-scroll.vue2.js → base-scroll2.vue.js} +1 -1
- package/js/components/scroll/{base-scroll.vue2.js.map → base-scroll2.vue.js.map} +1 -1
- package/js/components/sliding-panel.vue.js +2 -2
- package/js/components/{sliding-panel.vue2.js → sliding-panel2.vue.js} +1 -1
- package/js/components/{sliding-panel.vue2.js.map → sliding-panel2.vue.js.map} +1 -1
- package/js/components/{sliding-panel.vue3.js → sliding-panel3.vue.js} +1 -1
- package/js/components/sliding-panel3.vue.js.map +1 -0
- package/js/components/snippet-callbacks.vue.js +1 -1
- package/js/components/{snippet-callbacks.vue2.js → snippet-callbacks2.vue.js} +1 -1
- package/js/components/{snippet-callbacks.vue2.js.map → snippet-callbacks2.vue.js.map} +1 -1
- package/js/components/suggestions/base-suggestion.vue.js +1 -1
- package/js/components/suggestions/{base-suggestion.vue2.js → base-suggestion2.vue.js} +1 -1
- package/js/components/suggestions/{base-suggestion.vue2.js.map → base-suggestion2.vue.js.map} +1 -1
- package/js/components/suggestions/base-suggestions.vue.js +2 -2
- package/js/components/suggestions/{base-suggestions.vue2.js → base-suggestions2.vue.js} +1 -1
- package/js/components/suggestions/{base-suggestions.vue2.js.map → base-suggestions2.vue.js.map} +1 -1
- package/js/components/suggestions/{base-suggestions.vue3.js → base-suggestions3.vue.js} +1 -1
- package/js/components/suggestions/base-suggestions3.vue.js.map +1 -0
- package/js/index.js +3 -3
- package/js/x-modules/ai/components/ai-carousel.vue.js +2 -2
- package/js/x-modules/ai/components/{ai-carousel.vue2.js → ai-carousel2.vue.js} +75 -75
- package/js/x-modules/ai/components/{ai-carousel.vue2.js.map → ai-carousel2.vue.js.map} +1 -1
- package/js/x-modules/ai/components/{ai-carousel.vue3.js → ai-carousel3.vue.js} +1 -1
- package/js/x-modules/ai/components/ai-carousel3.vue.js.map +1 -0
- package/js/x-modules/ai/components/ai-grouped-carousel.vue.js +1 -1
- package/js/x-modules/ai/components/ai-grouped-carousel2.vue.js +123 -0
- package/js/x-modules/ai/components/{ai-grouped-carousel.vue2.js.map → ai-grouped-carousel2.vue.js.map} +1 -1
- package/js/x-modules/device/components/device-detector.vue.js +1 -1
- package/js/x-modules/device/components/{device-detector.vue2.js → device-detector2.vue.js} +1 -1
- package/js/x-modules/device/components/{device-detector.vue2.js.map → device-detector2.vue.js.map} +1 -1
- package/js/x-modules/empathize/components/empathize.vue.js +1 -1
- package/js/x-modules/empathize/components/{empathize.vue2.js → empathize2.vue.js} +82 -82
- package/js/x-modules/empathize/components/{empathize.vue2.js.map → empathize2.vue.js.map} +1 -1
- package/js/x-modules/experience-controls/components/{experience-controls.vue2.js → experience-controls2.vue.js} +1 -1
- package/js/x-modules/experience-controls/components/experience-controls2.vue.js.map +1 -0
- package/js/x-modules/extra-params/components/{extra-params.vue2.js → extra-params2.vue.js} +1 -1
- package/js/x-modules/{facets/components/facets/facets.vue3.js.map → extra-params/components/extra-params2.vue.js.map} +1 -1
- package/js/x-modules/extra-params/components/{renderless-extra-param.vue2.js → renderless-extra-param2.vue.js} +1 -1
- package/js/x-modules/extra-params/components/renderless-extra-param2.vue.js.map +1 -0
- package/js/x-modules/extra-params/components/snippet-config-extra-params.vue.js +1 -1
- package/js/x-modules/extra-params/components/{snippet-config-extra-params.vue2.js → snippet-config-extra-params2.vue.js} +1 -1
- package/js/x-modules/extra-params/components/{snippet-config-extra-params.vue2.js.map → snippet-config-extra-params2.vue.js.map} +1 -1
- package/js/x-modules/facets/components/clear-filters.vue.js +1 -1
- package/js/x-modules/facets/components/{clear-filters.vue2.js → clear-filters2.vue.js} +1 -1
- package/js/x-modules/facets/components/{clear-filters.vue2.js.map → clear-filters2.vue.js.map} +1 -1
- package/js/x-modules/facets/components/facets/facets-provider.vue.js +2 -2
- package/js/x-modules/facets/components/facets/{facets-provider.vue2.js → facets-provider2.vue.js} +1 -1
- package/js/x-modules/facets/components/facets/{facets-provider.vue2.js.map → facets-provider2.vue.js.map} +1 -1
- package/js/x-modules/facets/components/facets/{facets-provider.vue3.js → facets-provider3.vue.js} +1 -1
- package/js/x-modules/facets/components/facets/facets-provider3.vue.js.map +1 -0
- package/js/x-modules/facets/components/facets/facets.vue.js +2 -2
- package/js/x-modules/facets/components/facets/{facets.vue2.js → facets2.vue.js} +1 -1
- package/js/x-modules/facets/components/facets/{facets.vue2.js.map → facets2.vue.js.map} +1 -1
- package/js/x-modules/facets/components/facets/{facets.vue3.js → facets3.vue.js} +1 -1
- package/js/x-modules/facets/components/facets/facets3.vue.js.map +1 -0
- package/js/x-modules/facets/components/filters/all-filter.vue.js +1 -1
- package/js/x-modules/facets/components/filters/{all-filter.vue2.js → all-filter2.vue.js} +1 -1
- package/js/x-modules/facets/components/filters/{all-filter.vue2.js.map → all-filter2.vue.js.map} +1 -1
- package/js/x-modules/facets/components/filters/editable-number-range-filter.vue.js +2 -2
- package/js/x-modules/facets/components/filters/{editable-number-range-filter.vue2.js → editable-number-range-filter2.vue.js} +1 -1
- package/js/x-modules/facets/components/filters/{editable-number-range-filter.vue2.js.map → editable-number-range-filter2.vue.js.map} +1 -1
- package/js/x-modules/facets/components/filters/{editable-number-range-filter.vue3.js → editable-number-range-filter3.vue.js} +1 -1
- package/js/x-modules/facets/components/filters/editable-number-range-filter3.vue.js.map +1 -0
- package/js/x-modules/facets/components/filters/hierarchical-filter.vue.js +1 -1
- package/js/x-modules/facets/components/filters/{hierarchical-filter.vue2.js → hierarchical-filter2.vue.js} +1 -1
- package/js/x-modules/facets/components/filters/{hierarchical-filter.vue2.js.map → hierarchical-filter2.vue.js.map} +1 -1
- package/js/x-modules/facets/components/filters/number-range-filter.vue.js +1 -1
- package/js/x-modules/facets/components/filters/{number-range-filter.vue2.js → number-range-filter2.vue.js} +1 -1
- package/js/x-modules/facets/components/filters/{number-range-filter.vue2.js.map → number-range-filter2.vue.js.map} +1 -1
- package/js/x-modules/facets/components/filters/{renderless-filter.vue2.js → renderless-filter2.vue.js} +1 -1
- package/js/x-modules/facets/components/filters/renderless-filter2.vue.js.map +1 -0
- package/js/x-modules/facets/components/filters/simple-filter.vue.js +1 -1
- package/js/x-modules/facets/components/filters/{simple-filter.vue2.js → simple-filter2.vue.js} +1 -1
- package/js/x-modules/facets/components/filters/{simple-filter.vue2.js.map → simple-filter2.vue.js.map} +1 -1
- package/js/x-modules/facets/components/lists/{exclude-filters-with-no-results.vue2.js → exclude-filters-with-no-results2.vue.js} +1 -1
- package/js/x-modules/facets/components/lists/exclude-filters-with-no-results2.vue.js.map +1 -0
- package/js/x-modules/facets/components/lists/filters-list.vue.js +2 -2
- package/js/x-modules/facets/components/lists/{filters-list.vue2.js → filters-list2.vue.js} +1 -1
- package/js/x-modules/facets/components/lists/{filters-list.vue2.js.map → filters-list2.vue.js.map} +1 -1
- package/js/x-modules/facets/components/lists/{filters-list.vue3.js → filters-list3.vue.js} +1 -1
- package/js/x-modules/facets/components/lists/filters-list3.vue.js.map +1 -0
- package/js/x-modules/facets/components/lists/filters-search.vue.js +2 -2
- package/js/x-modules/facets/components/lists/{filters-search.vue2.js → filters-search2.vue.js} +1 -1
- package/js/x-modules/facets/components/lists/{filters-search.vue2.js.map → filters-search2.vue.js.map} +1 -1
- package/js/x-modules/facets/components/lists/{filters-search.vue3.js → filters-search3.vue.js} +1 -1
- package/js/x-modules/facets/components/lists/filters-search3.vue.js.map +1 -0
- package/js/x-modules/facets/components/lists/selected-filters-list.vue.js +1 -1
- package/js/x-modules/facets/components/lists/{selected-filters-list.vue2.js → selected-filters-list2.vue.js} +1 -1
- package/js/x-modules/facets/components/lists/{selected-filters-list.vue2.js.map → selected-filters-list2.vue.js.map} +1 -1
- package/js/x-modules/facets/components/lists/{selected-filters.vue2.js → selected-filters2.vue.js} +1 -1
- package/js/x-modules/facets/components/lists/selected-filters2.vue.js.map +1 -0
- package/js/x-modules/facets/components/lists/sliced-filters.vue.js +1 -1
- package/js/x-modules/facets/components/lists/{sliced-filters.vue2.js → sliced-filters2.vue.js} +1 -1
- package/js/x-modules/facets/components/lists/{sliced-filters.vue2.js.map → sliced-filters2.vue.js.map} +1 -1
- package/js/x-modules/facets/components/lists/{sorted-filters.vue2.js → sorted-filters2.vue.js} +1 -1
- package/js/x-modules/facets/components/lists/sorted-filters2.vue.js.map +1 -0
- package/js/x-modules/facets/components/{preselected-filters.vue2.js → preselected-filters2.vue.js} +1 -1
- package/js/x-modules/facets/components/preselected-filters2.vue.js.map +1 -0
- package/js/x-modules/history-queries/components/clear-history-queries.vue.js +1 -1
- package/js/x-modules/history-queries/components/{clear-history-queries.vue2.js → clear-history-queries2.vue.js} +1 -1
- package/js/x-modules/history-queries/components/{clear-history-queries.vue2.js.map → clear-history-queries2.vue.js.map} +1 -1
- package/js/x-modules/history-queries/components/history-queries-switch.vue.js +1 -1
- package/js/x-modules/history-queries/components/{history-queries-switch.vue2.js → history-queries-switch2.vue.js} +1 -1
- package/js/x-modules/history-queries/components/{history-queries-switch.vue2.js.map → history-queries-switch2.vue.js.map} +1 -1
- package/js/x-modules/history-queries/components/history-queries.vue.js +1 -1
- package/js/x-modules/history-queries/components/{history-queries.vue2.js → history-queries2.vue.js} +1 -1
- package/js/x-modules/history-queries/components/{history-queries.vue2.js.map → history-queries2.vue.js.map} +1 -1
- package/js/x-modules/history-queries/components/history-query.vue.js +1 -1
- package/js/x-modules/history-queries/components/{history-query.vue2.js → history-query2.vue.js} +1 -1
- package/js/x-modules/history-queries/components/{history-query.vue2.js.map → history-query2.vue.js.map} +1 -1
- package/js/x-modules/history-queries/components/my-history.vue.js +2 -2
- package/js/x-modules/history-queries/components/{my-history.vue2.js → my-history2.vue.js} +1 -1
- package/js/x-modules/history-queries/components/{my-history.vue2.js.map → my-history2.vue.js.map} +1 -1
- package/js/x-modules/history-queries/components/{my-history.vue3.js → my-history3.vue.js} +1 -1
- package/js/x-modules/history-queries/components/my-history3.vue.js.map +1 -0
- package/js/x-modules/history-queries/components/remove-history-query.vue.js +1 -1
- package/js/x-modules/history-queries/components/{remove-history-query.vue2.js → remove-history-query2.vue.js} +1 -1
- package/js/x-modules/history-queries/components/{remove-history-query.vue2.js.map → remove-history-query2.vue.js.map} +1 -1
- package/js/x-modules/identifier-results/components/identifier-result.vue.js +1 -1
- package/js/x-modules/identifier-results/components/{identifier-result.vue2.js → identifier-result2.vue.js} +1 -1
- package/js/x-modules/identifier-results/components/{identifier-result.vue2.js.map → identifier-result2.vue.js.map} +1 -1
- package/js/x-modules/identifier-results/components/identifier-results.vue.js +2 -2
- package/js/x-modules/identifier-results/components/{identifier-results.vue2.js → identifier-results2.vue.js} +1 -1
- package/js/x-modules/identifier-results/components/{identifier-results.vue2.js.map → identifier-results2.vue.js.map} +1 -1
- package/js/x-modules/identifier-results/components/{identifier-results.vue3.js → identifier-results3.vue.js} +1 -1
- package/js/x-modules/identifier-results/components/identifier-results3.vue.js.map +1 -0
- package/js/x-modules/next-queries/components/{next-queries-list.vue2.js → next-queries-list2.vue.js} +1 -1
- package/js/x-modules/next-queries/components/next-queries-list2.vue.js.map +1 -0
- package/js/x-modules/next-queries/components/next-queries.vue.js +1 -1
- package/js/x-modules/next-queries/components/{next-queries.vue2.js → next-queries2.vue.js} +1 -1
- package/js/x-modules/next-queries/components/{next-queries.vue2.js.map → next-queries2.vue.js.map} +1 -1
- package/js/x-modules/next-queries/components/next-query-preview.vue.js +1 -1
- package/js/x-modules/next-queries/components/{next-query-preview.vue2.js → next-query-preview2.vue.js} +1 -1
- package/js/x-modules/next-queries/components/{next-query-preview.vue2.js.map → next-query-preview2.vue.js.map} +1 -1
- package/js/x-modules/next-queries/components/next-query.vue.js +1 -1
- package/js/x-modules/next-queries/components/{next-query.vue2.js → next-query2.vue.js} +1 -1
- package/js/x-modules/next-queries/components/{next-query.vue2.js.map → next-query2.vue.js.map} +1 -1
- package/js/x-modules/popular-searches/components/popular-search.vue.js +1 -1
- package/js/x-modules/popular-searches/components/{popular-search.vue2.js → popular-search2.vue.js} +1 -1
- package/js/x-modules/popular-searches/components/{popular-search.vue2.js.map → popular-search2.vue.js.map} +1 -1
- package/js/x-modules/popular-searches/components/popular-searches.vue.js +1 -1
- package/js/x-modules/popular-searches/components/{popular-searches.vue2.js → popular-searches2.vue.js} +1 -1
- package/js/x-modules/popular-searches/components/{popular-searches.vue2.js.map → popular-searches2.vue.js.map} +1 -1
- package/js/x-modules/queries-preview/components/query-preview-button.vue.js +1 -1
- package/js/x-modules/queries-preview/components/query-preview-button2.vue.js +165 -0
- package/js/x-modules/queries-preview/components/{query-preview-button.vue2.js.map → query-preview-button2.vue.js.map} +1 -1
- package/js/x-modules/queries-preview/components/query-preview-list.vue.js +2 -2
- package/js/x-modules/queries-preview/components/{query-preview-list.vue2.js → query-preview-list2.vue.js} +1 -1
- package/js/x-modules/queries-preview/components/{query-preview-list.vue2.js.map → query-preview-list2.vue.js.map} +1 -1
- package/js/x-modules/queries-preview/components/{query-preview-list.vue3.js → query-preview-list3.vue.js} +1 -1
- package/js/x-modules/queries-preview/components/query-preview-list3.vue.js.map +1 -0
- package/js/x-modules/queries-preview/components/query-preview.vue.js +1 -1
- package/js/x-modules/queries-preview/components/{query-preview.vue2.js → query-preview2.vue.js} +82 -82
- package/js/x-modules/queries-preview/components/{query-preview.vue2.js.map → query-preview2.vue.js.map} +1 -1
- package/js/x-modules/query-suggestions/components/query-suggestion.vue.js +1 -1
- package/js/x-modules/query-suggestions/components/{query-suggestion.vue2.js → query-suggestion2.vue.js} +1 -1
- package/js/x-modules/query-suggestions/components/{query-suggestion.vue2.js.map → query-suggestion2.vue.js.map} +1 -1
- package/js/x-modules/query-suggestions/components/query-suggestions.vue.js +1 -1
- package/js/x-modules/query-suggestions/components/{query-suggestions.vue2.js → query-suggestions2.vue.js} +1 -1
- package/js/x-modules/query-suggestions/components/{query-suggestions.vue2.js.map → query-suggestions2.vue.js.map} +1 -1
- package/js/x-modules/recommendations/components/recommendations.vue.js +2 -2
- package/js/x-modules/recommendations/components/{recommendations.vue2.js → recommendations2.vue.js} +1 -1
- package/js/x-modules/recommendations/components/{recommendations.vue2.js.map → recommendations2.vue.js.map} +1 -1
- package/js/x-modules/recommendations/components/{recommendations.vue3.js → recommendations3.vue.js} +1 -1
- package/js/x-modules/recommendations/components/recommendations3.vue.js.map +1 -0
- package/js/x-modules/related-prompts/components/related-prompt.vue.js +2 -2
- package/js/x-modules/related-prompts/components/{related-prompt.vue2.js → related-prompt2.vue.js} +1 -1
- package/js/x-modules/related-prompts/components/{related-prompt.vue2.js.map → related-prompt2.vue.js.map} +1 -1
- package/js/x-modules/related-prompts/components/{related-prompt.vue3.js → related-prompt3.vue.js} +1 -1
- package/js/x-modules/related-prompts/components/related-prompt3.vue.js.map +1 -0
- package/js/x-modules/related-prompts/components/{related-prompts-list.vue2.js → related-prompts-list2.vue.js} +1 -1
- package/js/x-modules/related-prompts/components/related-prompts-list2.vue.js.map +1 -0
- package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue.js +2 -2
- package/js/x-modules/related-prompts/components/{related-prompts-tag-list.vue2.js → related-prompts-tag-list2.vue.js} +1 -1
- package/js/x-modules/related-prompts/components/{related-prompts-tag-list.vue2.js.map → related-prompts-tag-list2.vue.js.map} +1 -1
- package/js/x-modules/related-prompts/components/{related-prompts-tag-list.vue3.js → related-prompts-tag-list3.vue.js} +1 -1
- package/js/x-modules/related-prompts/components/related-prompts-tag-list3.vue.js.map +1 -0
- package/js/x-modules/related-tags/components/related-tag.vue.js +1 -1
- package/js/x-modules/related-tags/components/{related-tag.vue2.js → related-tag2.vue.js} +1 -1
- package/js/x-modules/related-tags/components/{related-tag.vue2.js.map → related-tag2.vue.js.map} +1 -1
- package/js/x-modules/related-tags/components/related-tags.vue.js +2 -2
- package/js/x-modules/related-tags/components/{related-tags.vue2.js → related-tags2.vue.js} +1 -1
- package/js/x-modules/related-tags/components/{related-tags.vue2.js.map → related-tags2.vue.js.map} +1 -1
- package/js/x-modules/related-tags/components/{related-tags.vue3.js → related-tags3.vue.js} +1 -1
- package/js/x-modules/related-tags/components/related-tags3.vue.js.map +1 -0
- package/js/x-modules/scroll/components/main-scroll-item.vue.js +1 -1
- package/js/x-modules/scroll/components/{main-scroll-item.vue2.js → main-scroll-item2.vue.js} +1 -1
- package/js/x-modules/scroll/components/{main-scroll-item.vue2.js.map → main-scroll-item2.vue.js.map} +1 -1
- package/js/x-modules/scroll/components/{main-scroll.vue2.js → main-scroll2.vue.js} +1 -1
- package/js/x-modules/scroll/components/main-scroll2.vue.js.map +1 -0
- package/js/x-modules/scroll/components/scroll-to-top.vue.js +1 -1
- package/js/x-modules/scroll/components/{scroll-to-top.vue2.js → scroll-to-top2.vue.js} +81 -81
- package/js/x-modules/scroll/components/{scroll-to-top.vue2.js.map → scroll-to-top2.vue.js.map} +1 -1
- package/js/x-modules/scroll/components/scroll.vue.js +1 -1
- package/js/x-modules/scroll/components/{scroll.vue2.js → scroll2.vue.js} +1 -1
- package/js/x-modules/scroll/components/{scroll.vue2.js.map → scroll2.vue.js.map} +1 -1
- package/js/x-modules/search/components/banner.vue.js +2 -2
- package/js/x-modules/search/components/{banner.vue2.js → banner2.vue.js} +1 -1
- package/js/x-modules/search/components/{banner.vue2.js.map → banner2.vue.js.map} +1 -1
- package/js/x-modules/search/components/{banner.vue3.js → banner3.vue.js} +1 -1
- package/js/x-modules/search/components/banner3.vue.js.map +1 -0
- package/js/x-modules/search/components/{banners-list.vue2.js → banners-list2.vue.js} +1 -1
- package/js/x-modules/search/components/banners-list2.vue.js.map +1 -0
- package/js/x-modules/search/components/fallback-disclaimer.vue.js +1 -1
- package/js/x-modules/search/components/{fallback-disclaimer.vue2.js → fallback-disclaimer2.vue.js} +1 -1
- package/js/x-modules/search/components/{fallback-disclaimer.vue2.js.map → fallback-disclaimer2.vue.js.map} +1 -1
- package/js/x-modules/search/components/partial-query-button.vue.js +1 -1
- package/js/x-modules/search/components/{partial-query-button.vue2.js → partial-query-button2.vue.js} +1 -1
- package/js/x-modules/search/components/{partial-query-button.vue2.js.map → partial-query-button2.vue.js.map} +1 -1
- package/js/x-modules/search/components/partial-results-list.vue.js +2 -2
- package/js/x-modules/search/components/{partial-results-list.vue2.js → partial-results-list2.vue.js} +1 -1
- package/js/x-modules/search/components/{partial-results-list.vue2.js.map → partial-results-list2.vue.js.map} +1 -1
- package/js/x-modules/search/components/{partial-results-list.vue3.js → partial-results-list3.vue.js} +1 -1
- package/js/x-modules/search/components/partial-results-list3.vue.js.map +1 -0
- package/js/x-modules/search/components/promoted.vue.js +2 -2
- package/js/x-modules/search/components/{promoted.vue2.js → promoted2.vue.js} +1 -1
- package/js/x-modules/search/components/{promoted.vue2.js.map → promoted2.vue.js.map} +1 -1
- package/js/x-modules/search/components/{promoted.vue3.js → promoted3.vue.js} +1 -1
- package/js/x-modules/search/components/promoted3.vue.js.map +1 -0
- package/js/x-modules/search/components/{promoteds-list.vue2.js → promoteds-list2.vue.js} +1 -1
- package/js/x-modules/search/components/promoteds-list2.vue.js.map +1 -0
- package/js/x-modules/search/components/redirection.vue.js +1 -1
- package/js/x-modules/search/components/{redirection.vue2.js → redirection2.vue.js} +1 -1
- package/js/x-modules/search/components/{redirection.vue2.js.map → redirection2.vue.js.map} +1 -1
- package/js/x-modules/search/components/{results-list.vue2.js → results-list2.vue.js} +1 -1
- package/js/x-modules/search/components/results-list2.vue.js.map +1 -0
- package/js/x-modules/search/components/sort-dropdown.vue.js +1 -1
- package/js/x-modules/search/components/{sort-dropdown.vue2.js → sort-dropdown2.vue.js} +1 -1
- package/js/x-modules/search/components/{sort-dropdown.vue2.js.map → sort-dropdown2.vue.js.map} +1 -1
- package/js/x-modules/search/components/sort-list.vue.js +2 -2
- package/js/x-modules/search/components/{sort-list.vue2.js → sort-list2.vue.js} +1 -1
- package/js/x-modules/search/components/{sort-list.vue2.js.map → sort-list2.vue.js.map} +1 -1
- package/js/x-modules/search/components/{sort-list.vue3.js → sort-list3.vue.js} +1 -1
- package/js/x-modules/search/components/sort-list3.vue.js.map +1 -0
- package/js/x-modules/search/components/sort-picker-list.vue.js +1 -1
- package/js/x-modules/search/components/{sort-picker-list.vue2.js → sort-picker-list2.vue.js} +1 -1
- package/js/x-modules/search/components/{sort-picker-list.vue2.js.map → sort-picker-list2.vue.js.map} +1 -1
- package/js/x-modules/search/components/spellcheck-button.vue.js +1 -1
- package/js/x-modules/search/components/{spellcheck-button.vue2.js → spellcheck-button2.vue.js} +1 -1
- package/js/x-modules/search/components/{spellcheck-button.vue2.js.map → spellcheck-button2.vue.js.map} +1 -1
- package/js/x-modules/search/components/spellcheck.vue.js +1 -1
- package/js/x-modules/search/components/{spellcheck.vue2.js → spellcheck2.vue.js} +1 -1
- package/js/x-modules/search/components/{spellcheck.vue2.js.map → spellcheck2.vue.js.map} +1 -1
- package/js/x-modules/search-box/components/clear-search-input.vue.js +1 -1
- package/js/x-modules/search-box/components/{clear-search-input.vue2.js → clear-search-input2.vue.js} +1 -1
- package/js/x-modules/search-box/components/{clear-search-input.vue2.js.map → clear-search-input2.vue.js.map} +1 -1
- package/js/x-modules/search-box/components/search-button.vue.js +1 -1
- package/js/x-modules/search-box/components/{search-button.vue2.js → search-button2.vue.js} +1 -1
- package/js/x-modules/search-box/components/{search-button.vue2.js.map → search-button2.vue.js.map} +1 -1
- package/js/x-modules/search-box/components/search-input-placeholder.vue.js +3 -3
- package/js/x-modules/search-box/components/{search-input-placeholder.vue2.js → search-input-placeholder2.vue.js} +2 -2
- package/js/x-modules/search-box/components/{search-input-placeholder.vue2.js.map → search-input-placeholder2.vue.js.map} +1 -1
- package/js/x-modules/search-box/components/{search-input-placeholder.vue3.js → search-input-placeholder3.vue.js} +1 -1
- package/js/x-modules/search-box/components/search-input-placeholder3.vue.js.map +1 -0
- package/js/x-modules/search-box/components/{search-input-placeholder.vue4.js → search-input-placeholder4.vue.js} +1 -1
- package/js/x-modules/search-box/components/search-input-placeholder4.vue.js.map +1 -0
- package/js/x-modules/search-box/components/search-input.vue.js +2 -2
- package/js/x-modules/search-box/components/{search-input.vue2.js → search-input2.vue.js} +1 -1
- package/js/x-modules/search-box/components/{search-input.vue2.js.map → search-input2.vue.js.map} +1 -1
- package/js/x-modules/search-box/components/{search-input.vue3.js → search-input3.vue.js} +1 -1
- package/js/x-modules/search-box/components/search-input3.vue.js.map +1 -0
- package/js/x-modules/semantic-queries/components/semantic-queries.vue.js +1 -1
- package/js/x-modules/semantic-queries/components/{semantic-queries.vue2.js → semantic-queries2.vue.js} +1 -1
- package/js/x-modules/semantic-queries/components/{semantic-queries.vue2.js.map → semantic-queries2.vue.js.map} +1 -1
- package/js/x-modules/semantic-queries/components/semantic-query.vue.js +1 -1
- package/js/x-modules/semantic-queries/components/{semantic-query.vue2.js → semantic-query2.vue.js} +1 -1
- package/js/x-modules/semantic-queries/components/{semantic-query.vue2.js.map → semantic-query2.vue.js.map} +1 -1
- package/js/x-modules/tagging/components/{tagging.vue2.js → tagging2.vue.js} +1 -1
- package/js/x-modules/tagging/components/tagging2.vue.js.map +1 -0
- package/js/x-modules/url/components/url-handler.vue.js +1 -1
- package/js/x-modules/url/components/{url-handler.vue2.js → url-handler2.vue.js} +1 -1
- package/js/x-modules/url/components/{url-handler.vue2.js.map → url-handler2.vue.js.map} +1 -1
- package/package.json +23 -23
- package/report/tsdoc-metadata.json +1 -1
- package/report/x-adapter-platform.api.json +251 -1
- package/report/x-components.api.json +1 -1
- package/report/x-types.api.json +426 -1
- package/types/src/x-modules/related-prompts/components/related-prompts-tag-list.vue.d.ts.map +1 -1
- package/js/components/animations/animate-clip-path.vue2.js.map +0 -1
- package/js/components/animations/animate-clip-path.vue3.js +0 -7
- package/js/components/animations/animate-clip-path.vue3.js.map +0 -1
- package/js/components/animations/animate-scale.vue2.js.map +0 -1
- package/js/components/animations/animate-scale.vue3.js.map +0 -1
- package/js/components/animations/animate-translate.vue2.js.map +0 -1
- package/js/components/animations/animate-translate.vue3.js +0 -7
- package/js/components/animations/animate-translate.vue3.js.map +0 -1
- package/js/components/animations/animate-width.vue3.js.map +0 -1
- package/js/components/animations/change-height.vue3.js.map +0 -1
- package/js/components/animations/collapse-height.vue3.js.map +0 -1
- package/js/components/animations/collapse-width.vue3.js.map +0 -1
- package/js/components/animations/cross-fade.vue3.js.map +0 -1
- package/js/components/animations/fade-and-slide.vue3.js.map +0 -1
- package/js/components/animations/fade.vue3.js.map +0 -1
- package/js/components/animations/no-animation.vue2.js.map +0 -1
- package/js/components/animations/staggered-fade-and-slide.vue3.js.map +0 -1
- package/js/components/auto-progress-bar.vue3.js.map +0 -1
- package/js/components/base-dropdown.vue3.js.map +0 -1
- package/js/components/base-grid.vue3.js.map +0 -1
- package/js/components/base-rating.vue3.js.map +0 -1
- package/js/components/base-slider.vue3.js.map +0 -1
- package/js/components/base-switch.vue3.js.map +0 -1
- package/js/components/display-click-provider.vue2.js.map +0 -1
- package/js/components/display-emitter.vue2.js.map +0 -1
- package/js/components/filters/labels/base-price-filter-label.vue2.js.map +0 -1
- package/js/components/global-x-bus.vue2.js.map +0 -1
- package/js/components/location-provider.vue2.js.map +0 -1
- package/js/components/message.vue2.js.map +0 -1
- package/js/components/modals/base-modal.vue3.js.map +0 -1
- package/js/components/page-loader-button.vue3.js.map +0 -1
- package/js/components/page-selector.vue3.js.map +0 -1
- package/js/components/panels/base-header-toggle-panel.vue3.js.map +0 -1
- package/js/components/panels/base-tabs-panel.vue3.js.map +0 -1
- package/js/components/result/base-result-image.vue3.js.map +0 -1
- package/js/components/result/base-result-link.vue3.js.map +0 -1
- package/js/components/result/base-result-rating.vue3.js.map +0 -1
- package/js/components/result/result-variant-selector.vue3.js.map +0 -1
- package/js/components/result/result-variants-provider.vue2.js.map +0 -1
- package/js/components/sliding-panel.vue3.js.map +0 -1
- package/js/components/suggestions/base-suggestions.vue3.js.map +0 -1
- package/js/x-modules/ai/components/ai-carousel.vue3.js.map +0 -1
- package/js/x-modules/ai/components/ai-grouped-carousel.vue2.js +0 -123
- package/js/x-modules/experience-controls/components/experience-controls.vue2.js.map +0 -1
- package/js/x-modules/extra-params/components/extra-params.vue2.js.map +0 -1
- package/js/x-modules/extra-params/components/renderless-extra-param.vue2.js.map +0 -1
- package/js/x-modules/facets/components/facets/facets-provider.vue3.js.map +0 -1
- package/js/x-modules/facets/components/filters/editable-number-range-filter.vue3.js.map +0 -1
- package/js/x-modules/facets/components/filters/renderless-filter.vue2.js.map +0 -1
- package/js/x-modules/facets/components/lists/exclude-filters-with-no-results.vue2.js.map +0 -1
- package/js/x-modules/facets/components/lists/filters-list.vue3.js.map +0 -1
- package/js/x-modules/facets/components/lists/filters-search.vue3.js.map +0 -1
- package/js/x-modules/facets/components/lists/selected-filters.vue2.js.map +0 -1
- package/js/x-modules/facets/components/lists/sorted-filters.vue2.js.map +0 -1
- package/js/x-modules/facets/components/preselected-filters.vue2.js.map +0 -1
- package/js/x-modules/history-queries/components/my-history.vue3.js.map +0 -1
- package/js/x-modules/identifier-results/components/identifier-results.vue3.js.map +0 -1
- package/js/x-modules/next-queries/components/next-queries-list.vue2.js.map +0 -1
- package/js/x-modules/queries-preview/components/query-preview-button.vue2.js +0 -165
- package/js/x-modules/queries-preview/components/query-preview-list.vue3.js.map +0 -1
- package/js/x-modules/recommendations/components/recommendations.vue3.js.map +0 -1
- package/js/x-modules/related-prompts/components/related-prompt.vue3.js.map +0 -1
- package/js/x-modules/related-prompts/components/related-prompts-list.vue2.js.map +0 -1
- package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue3.js.map +0 -1
- package/js/x-modules/related-tags/components/related-tags.vue3.js.map +0 -1
- package/js/x-modules/scroll/components/main-scroll.vue2.js.map +0 -1
- package/js/x-modules/search/components/banner.vue3.js.map +0 -1
- package/js/x-modules/search/components/banners-list.vue2.js.map +0 -1
- package/js/x-modules/search/components/partial-results-list.vue3.js.map +0 -1
- package/js/x-modules/search/components/promoted.vue3.js.map +0 -1
- package/js/x-modules/search/components/promoteds-list.vue2.js.map +0 -1
- package/js/x-modules/search/components/results-list.vue2.js.map +0 -1
- package/js/x-modules/search/components/sort-list.vue3.js.map +0 -1
- package/js/x-modules/search-box/components/search-input-placeholder.vue3.js.map +0 -1
- package/js/x-modules/search-box/components/search-input-placeholder.vue4.js.map +0 -1
- package/js/x-modules/search-box/components/search-input.vue3.js.map +0 -1
- package/js/x-modules/tagging/components/tagging.vue2.js.map +0 -1
|
@@ -1,98 +1,98 @@
|
|
|
1
1
|
import { defineComponent, computed } from 'vue';
|
|
2
|
-
import '../../../components/animations/animate-clip-
|
|
3
|
-
import '../../../components/animations/animate-
|
|
4
|
-
import '../../../components/animations/animate-
|
|
5
|
-
import '../../../components/animations/animate-
|
|
6
|
-
import '../../../components/animations/animate-
|
|
7
|
-
import '../../../components/animations/change-
|
|
8
|
-
import '../../../components/animations/change-
|
|
9
|
-
import '../../../components/animations/collapse-
|
|
10
|
-
import '../../../components/animations/collapse-
|
|
11
|
-
import '../../../components/animations/collapse-
|
|
12
|
-
import '../../../components/animations/collapse-
|
|
13
|
-
import '../../../components/animations/cross-
|
|
14
|
-
import '../../../components/animations/cross-
|
|
15
|
-
import '../../../components/animations/fade-and-
|
|
16
|
-
import '../../../components/animations/fade-and-
|
|
17
|
-
import '../../../components/animations/
|
|
18
|
-
import '../../../components/animations/
|
|
2
|
+
import '../../../components/animations/animate-clip-path2.vue.js';
|
|
3
|
+
import '../../../components/animations/animate-scale2.vue.js';
|
|
4
|
+
import '../../../components/animations/animate-translate2.vue.js';
|
|
5
|
+
import '../../../components/animations/animate-width2.vue.js';
|
|
6
|
+
import '../../../components/animations/animate-width3.vue.js';
|
|
7
|
+
import '../../../components/animations/change-height2.vue.js';
|
|
8
|
+
import '../../../components/animations/change-height3.vue.js';
|
|
9
|
+
import '../../../components/animations/collapse-height2.vue.js';
|
|
10
|
+
import '../../../components/animations/collapse-height3.vue.js';
|
|
11
|
+
import '../../../components/animations/collapse-width2.vue.js';
|
|
12
|
+
import '../../../components/animations/collapse-width3.vue.js';
|
|
13
|
+
import '../../../components/animations/cross-fade2.vue.js';
|
|
14
|
+
import '../../../components/animations/cross-fade3.vue.js';
|
|
15
|
+
import '../../../components/animations/fade-and-slide2.vue.js';
|
|
16
|
+
import '../../../components/animations/fade-and-slide3.vue.js';
|
|
17
|
+
import '../../../components/animations/fade2.vue.js';
|
|
18
|
+
import '../../../components/animations/fade3.vue.js';
|
|
19
19
|
import _sfc_main$1 from '../../../components/animations/no-animation.vue.js';
|
|
20
|
-
import '../../../components/animations/staggered-fade-and-
|
|
21
|
-
import '../../../components/animations/staggered-fade-and-
|
|
22
|
-
import '../../../components/auto-progress-
|
|
23
|
-
import '../../../components/auto-progress-
|
|
24
|
-
import '../../../components/base-
|
|
25
|
-
import '../../../components/base-
|
|
20
|
+
import '../../../components/animations/staggered-fade-and-slide2.vue.js';
|
|
21
|
+
import '../../../components/animations/staggered-fade-and-slide3.vue.js';
|
|
22
|
+
import '../../../components/auto-progress-bar2.vue.js';
|
|
23
|
+
import '../../../components/auto-progress-bar3.vue.js';
|
|
24
|
+
import '../../../components/base-dropdown2.vue.js';
|
|
25
|
+
import '../../../components/base-dropdown3.vue.js';
|
|
26
26
|
import BaseEventButton from '../../../components/base-event-button.vue.js';
|
|
27
|
-
import '../../../components/base-
|
|
28
|
-
import '../../../components/base-
|
|
29
|
-
import '../../../components/base-keyboard-
|
|
30
|
-
import '../../../components/base-
|
|
31
|
-
import '../../../components/base-
|
|
32
|
-
import '../../../components/base-
|
|
33
|
-
import '../../../components/base-
|
|
34
|
-
import '../../../components/base-
|
|
35
|
-
import '../../../components/base-
|
|
36
|
-
import '../../../components/base-
|
|
37
|
-
import '../../../components/base-variable-column-
|
|
38
|
-
import '../../../components/column-picker/base-column-picker-
|
|
39
|
-
import '../../../components/column-picker/base-column-picker-
|
|
40
|
-
import '../../../components/currency/base-
|
|
27
|
+
import '../../../components/base-grid2.vue.js';
|
|
28
|
+
import '../../../components/base-grid3.vue.js';
|
|
29
|
+
import '../../../components/base-keyboard-navigation2.vue.js';
|
|
30
|
+
import '../../../components/base-rating2.vue.js';
|
|
31
|
+
import '../../../components/base-rating3.vue.js';
|
|
32
|
+
import '../../../components/base-slider2.vue.js';
|
|
33
|
+
import '../../../components/base-slider3.vue.js';
|
|
34
|
+
import '../../../components/base-switch2.vue.js';
|
|
35
|
+
import '../../../components/base-switch3.vue.js';
|
|
36
|
+
import '../../../components/base-teleport2.vue.js';
|
|
37
|
+
import '../../../components/base-variable-column-grid2.vue.js';
|
|
38
|
+
import '../../../components/column-picker/base-column-picker-dropdown2.vue.js';
|
|
39
|
+
import '../../../components/column-picker/base-column-picker-list2.vue.js';
|
|
40
|
+
import '../../../components/currency/base-currency2.vue.js';
|
|
41
41
|
import '../../../components/display-click-provider.vue.js';
|
|
42
42
|
import '../../../components/display-emitter.vue.js';
|
|
43
43
|
import '../../../components/filters/labels/base-price-filter-label.vue.js';
|
|
44
|
-
import '../../../components/filters/labels/base-rating-filter-
|
|
44
|
+
import '../../../components/filters/labels/base-rating-filter-label2.vue.js';
|
|
45
45
|
import '../../../components/global-x-bus.vue.js';
|
|
46
|
-
import '../../../components/
|
|
47
|
-
import '../../../components/items-
|
|
46
|
+
import '../../../components/highlight2.vue.js';
|
|
47
|
+
import '../../../components/items-list2.vue.js';
|
|
48
48
|
import '../../../components/location-provider.vue.js';
|
|
49
49
|
import { AnimationProp } from '../../../types/animation-prop.js';
|
|
50
|
-
import '../../../components/modals/base-events-modal-
|
|
51
|
-
import '../../../components/modals/base-events-modal-
|
|
52
|
-
import '../../../components/modals/base-events-
|
|
53
|
-
import '../../../components/modals/base-id-modal-
|
|
54
|
-
import '../../../components/modals/base-id-modal-
|
|
55
|
-
import '../../../components/modals/base-id-
|
|
56
|
-
import '../../../components/modals/base-
|
|
57
|
-
import '../../../components/modals/base-
|
|
58
|
-
import '../../../components/modals/close-main-
|
|
59
|
-
import '../../../components/modals/main-
|
|
60
|
-
import '../../../components/modals/open-main-
|
|
61
|
-
import '../../../components/page-loader-
|
|
62
|
-
import '../../../components/page-loader-
|
|
63
|
-
import '../../../components/page-
|
|
64
|
-
import '../../../components/page-
|
|
65
|
-
import '../../../components/panels/base-header-toggle-
|
|
66
|
-
import '../../../components/panels/base-header-toggle-
|
|
67
|
-
import '../../../components/panels/base-id-toggle-panel-
|
|
68
|
-
import '../../../components/panels/base-id-toggle-
|
|
69
|
-
import '../../../components/panels/base-tabs-
|
|
70
|
-
import '../../../components/panels/base-tabs-
|
|
71
|
-
import '../../../components/panels/base-toggle-
|
|
72
|
-
import '../../../components/result/base-result-add-to-
|
|
73
|
-
import '../../../components/result/base-result-current-
|
|
74
|
-
import '../../../components/result/base-result-
|
|
75
|
-
import '../../../components/result/base-result-
|
|
76
|
-
import '../../../components/result/base-result-
|
|
77
|
-
import '../../../components/result/base-result-
|
|
78
|
-
import '../../../components/result/base-result-previous-
|
|
79
|
-
import '../../../components/result/base-result-
|
|
80
|
-
import '../../../components/result/base-result-
|
|
81
|
-
import '../../../components/result/result-variant-
|
|
82
|
-
import '../../../components/result/result-variant-
|
|
50
|
+
import '../../../components/modals/base-events-modal-close2.vue.js';
|
|
51
|
+
import '../../../components/modals/base-events-modal-open2.vue.js';
|
|
52
|
+
import '../../../components/modals/base-events-modal2.vue.js';
|
|
53
|
+
import '../../../components/modals/base-id-modal-close2.vue.js';
|
|
54
|
+
import '../../../components/modals/base-id-modal-open2.vue.js';
|
|
55
|
+
import '../../../components/modals/base-id-modal2.vue.js';
|
|
56
|
+
import '../../../components/modals/base-modal2.vue.js';
|
|
57
|
+
import '../../../components/modals/base-modal3.vue.js';
|
|
58
|
+
import '../../../components/modals/close-main-modal2.vue.js';
|
|
59
|
+
import '../../../components/modals/main-modal2.vue.js';
|
|
60
|
+
import '../../../components/modals/open-main-modal2.vue.js';
|
|
61
|
+
import '../../../components/page-loader-button2.vue.js';
|
|
62
|
+
import '../../../components/page-loader-button3.vue.js';
|
|
63
|
+
import '../../../components/page-selector2.vue.js';
|
|
64
|
+
import '../../../components/page-selector3.vue.js';
|
|
65
|
+
import '../../../components/panels/base-header-toggle-panel2.vue.js';
|
|
66
|
+
import '../../../components/panels/base-header-toggle-panel3.vue.js';
|
|
67
|
+
import '../../../components/panels/base-id-toggle-panel-button2.vue.js';
|
|
68
|
+
import '../../../components/panels/base-id-toggle-panel2.vue.js';
|
|
69
|
+
import '../../../components/panels/base-tabs-panel2.vue.js';
|
|
70
|
+
import '../../../components/panels/base-tabs-panel3.vue.js';
|
|
71
|
+
import '../../../components/panels/base-toggle-panel2.vue.js';
|
|
72
|
+
import '../../../components/result/base-result-add-to-cart2.vue.js';
|
|
73
|
+
import '../../../components/result/base-result-current-price2.vue.js';
|
|
74
|
+
import '../../../components/result/base-result-image2.vue.js';
|
|
75
|
+
import '../../../components/result/base-result-image3.vue.js';
|
|
76
|
+
import '../../../components/result/base-result-link2.vue.js';
|
|
77
|
+
import '../../../components/result/base-result-link3.vue.js';
|
|
78
|
+
import '../../../components/result/base-result-previous-price2.vue.js';
|
|
79
|
+
import '../../../components/result/base-result-rating2.vue.js';
|
|
80
|
+
import '../../../components/result/base-result-rating3.vue.js';
|
|
81
|
+
import '../../../components/result/result-variant-selector2.vue.js';
|
|
82
|
+
import '../../../components/result/result-variant-selector3.vue.js';
|
|
83
83
|
import '../../../components/result/result-variants-provider.vue.js';
|
|
84
|
-
import '../../../components/scroll/base-
|
|
84
|
+
import '../../../components/scroll/base-scroll2.vue.js';
|
|
85
85
|
import '@empathyco/x-utils';
|
|
86
86
|
import 'vuex';
|
|
87
87
|
import '../../../plugins/x-bus.js';
|
|
88
88
|
import '../../../plugins/x-plugin.js';
|
|
89
89
|
import 'rxjs';
|
|
90
|
-
import '../../../components/sliding-
|
|
91
|
-
import '../../../components/sliding-
|
|
92
|
-
import '../../../components/snippet-
|
|
93
|
-
import '../../../components/suggestions/base-
|
|
94
|
-
import '../../../components/suggestions/base-
|
|
95
|
-
import '../../../components/suggestions/base-
|
|
90
|
+
import '../../../components/sliding-panel2.vue.js';
|
|
91
|
+
import '../../../components/sliding-panel3.vue.js';
|
|
92
|
+
import '../../../components/snippet-callbacks2.vue.js';
|
|
93
|
+
import '../../../components/suggestions/base-suggestion2.vue.js';
|
|
94
|
+
import '../../../components/suggestions/base-suggestions2.vue.js';
|
|
95
|
+
import '../../../components/suggestions/base-suggestions3.vue.js';
|
|
96
96
|
import '../../../composables/create-use-device.js';
|
|
97
97
|
import '@vueuse/core';
|
|
98
98
|
import { useState } from '../../../composables/use-state.js';
|
|
@@ -204,4 +204,4 @@ var _sfc_main = defineComponent({
|
|
|
204
204
|
});
|
|
205
205
|
|
|
206
206
|
export { _sfc_main as default };
|
|
207
|
-
//# sourceMappingURL=scroll-to-
|
|
207
|
+
//# sourceMappingURL=scroll-to-top2.vue.js.map
|
package/js/x-modules/scroll/components/{scroll-to-top.vue2.js.map → scroll-to-top2.vue.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scroll-to-
|
|
1
|
+
{"version":3,"file":"scroll-to-top2.vue.js","sources":["../../../../../src/x-modules/scroll/components/scroll-to-top.vue"],"sourcesContent":["<template>\n <component :is=\"animation\">\n <BaseEventButton\n v-if=\"isVisible\"\n class=\"x-scroll-to-top xds:button\"\n data-test=\"scroll-to-top\"\n aria-label=\"Scroll to top\"\n :events=\"events\"\n >\n <!-- @slot (Required) Button content with a text, an icon or both -->\n <slot />\n </BaseEventButton>\n </component>\n</template>\n\n<script lang=\"ts\">\nimport type { XEventsTypes } from '../../../wiring'\nimport { computed, defineComponent } from 'vue'\nimport { BaseEventButton, NoAnimation } from '../../../components'\nimport { useState } from '../../../composables'\nimport { AnimationProp } from '../../../types'\nimport { scrollXModule } from '../x-module'\nimport { MainScrollId } from './scroll.const'\n\n/**\n * The `ScrollToTop` component is a button that the user can click to make a container scroll\n * up to its initial position.\n *\n * @public\n */\nexport default defineComponent({\n name: 'ScrollToTop',\n xModule: scrollXModule.name,\n components: { BaseEventButton },\n props: {\n /**\n * Animation to use for showing/hiding the button.\n *\n * @public\n */\n animation: {\n type: AnimationProp,\n default: () => NoAnimation,\n },\n /**\n * Threshold in pixels from the top to show the button.\n *\n * @public\n */\n thresholdPx: Number,\n /**\n * Id of the target scroll component.\n *\n * @public\n */\n scrollId: {\n type: String,\n default: MainScrollId,\n },\n },\n setup(props) {\n /**\n * State of all the scroll components in this module.\n *\n * @internal\n */\n // TODO: Directly retrieve the needed data in this computed property\n const { data } = useState('scroll')\n\n /**\n * The scroll data retrieved for this component.\n *\n * @returns The scroll data for this component if a valid {@link ScrollToTop.scrollId} has been\n * passed. Otherwise it returns `null`.\n * @internal\n */\n const scrollData = computed(() => {\n return props.scrollId && data.value[props.scrollId]\n ? data.value[props.scrollId]\n : {\n position: 0,\n direction: 'UP',\n hasReachedStart: false,\n hasAlmostReachedEnd: false,\n hasReachedEnd: false,\n }\n })\n\n /**\n * Event that will be emitted when the scroll to top is clicked.\n *\n * @returns The event to be emitted when the scroll to top is clicked. The id as a payload.\n * @internal\n */\n const events = computed(\n (): Partial<XEventsTypes> => ({ UserClickedScrollToTop: props.scrollId }),\n )\n\n /**\n * Checks if the thresholdPx prop has been provided and if it is a number.\n *\n * @returns If the thresholdPx is a number or not.\n * @internal\n */\n const useThresholdStrategy = computed(() => typeof props.thresholdPx === 'number')\n\n /**\n * Checks if the threshold has been reached in case the threshold strategy is in use.\n *\n * @returns If the scrollTop is bigger than the thresholdPx.\n * @internal\n */\n const isThresholdReached = computed(\n () => useThresholdStrategy.value && scrollData.value.position > props.thresholdPx!,\n )\n\n /**\n * Returns if the scroll has almost reached its end or not.\n *\n * @returns True if the scroll has almost reached the end and the user is still scrolling down.\n * @internal\n */\n const hasAlmostReachedScrollEnd = computed(\n () => scrollData.value.hasAlmostReachedEnd && scrollData.value.direction === 'DOWN',\n )\n\n /**\n * Whether if the button is visible or not depending on the strategy being used.\n *\n * @returns If the button should be visible or not.\n * @internal\n */\n const isVisible = computed(() =>\n useThresholdStrategy.value ? isThresholdReached.value : hasAlmostReachedScrollEnd.value,\n )\n\n return {\n events,\n isVisible,\n }\n },\n})\n</script>\n\n<docs lang=\"mdx\">\n## Events\n\nA list of events that the component will emit:\n\n- [`UserClickedScrollToTop`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts):\n the event is emitted after the user clicks the button. The event payload is the id of the scroll\n that is going to be scrolled.\n\n## Examples\n\n### Basic example\n\nThe component renders whatever is passed to it in the default slot and scrolls to top the scroll\nwith an id `scrollId`.\n\nIt also receives an optional threshold in pixels. When the threshold is reached from the top, the\ncomponent will be shown once the user scrolls `UP`.\n\nIf this parameter is not provided the button will be visible when the user almost reaches the end of\nthe scroll.\n\n```vue\n<template>\n <div>\n <ScrollToTop scroll-id=\"scrollId\" :threshold-px=\"1000\">\n <span>Scroll to top</span>\n </ScrollToTop>\n </div>\n</template>\n\n<script setup>\nimport { ScrollToTop } from '@empathyco/x-components/scroll'\n</script>\n```\n</docs>\n"],"names":["NoAnimation"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBA;;;;;AAKE;AACF,gBAAe,eAAe,CAAC;AAC7B,IAAA,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,aAAa,CAAC,IAAI;IAC3B,UAAU,EAAE,EAAE,eAAc,EAAG;AAC/B,IAAA,KAAK,EAAE;AACL;;;;AAIE;AACF,QAAA,SAAS,EAAE;AACT,YAAA,IAAI,EAAE,aAAa;AACnB,YAAA,OAAO,EAAE,MAAMA,WAAW;AAC3B,SAAA;AACD;;;;AAIE;AACF,QAAA,WAAW,EAAE,MAAM;AACnB;;;;AAIE;AACF,QAAA,QAAQ,EAAE;AACR,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,OAAO,EAAE,YAAY;AACtB,SAAA;AACF,KAAA;AACD,IAAA,KAAK,CAAC,KAAK,EAAA;AACT;;;;AAIE;;QAEF,MAAM,EAAE,IAAG,EAAE,GAAI,QAAQ,CAAC,QAAQ,CAAA;AAElC;;;;;;AAME;AACF,QAAA,MAAM,UAAS,GAAI,QAAQ,CAAC,MAAI;YAC9B,OAAO,KAAK,CAAC,QAAO,IAAK,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ;kBAC9C,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ;AAC3B,kBAAE;AACE,oBAAA,QAAQ,EAAE,CAAC;AACX,oBAAA,SAAS,EAAE,IAAI;AACf,oBAAA,eAAe,EAAE,KAAK;AACtB,oBAAA,mBAAmB,EAAE,KAAK;AAC1B,oBAAA,aAAa,EAAE,KAAK;iBACtB;AACN,QAAA,CAAC,CAAA;AAED;;;;;AAKE;AACF,QAAA,MAAM,MAAK,GAAI,QAAQ,CACrB,OAA8B,EAAE,sBAAsB,EAAE,KAAK,CAAC,QAAO,EAAG,CAAC,CAC3E;AAEA;;;;;AAKE;AACF,QAAA,MAAM,oBAAmB,GAAI,QAAQ,CAAC,MAAM,OAAO,KAAK,CAAC,gBAAgB,QAAQ,CAAA;AAEjF;;;;;AAKE;QACF,MAAM,kBAAiB,GAAI,QAAQ,CACjC,MAAM,oBAAoB,CAAC,KAAI,IAAK,UAAU,CAAC,KAAK,CAAC,QAAO,GAAI,KAAK,CAAC,WAAY,CACpF;AAEA;;;;;AAKE;QACF,MAAM,yBAAwB,GAAI,QAAQ,CACxC,MAAM,UAAU,CAAC,KAAK,CAAC,mBAAkB,IAAK,UAAU,CAAC,KAAK,CAAC,SAAQ,KAAM,MAAM,CACrF;AAEA;;;;;AAKE;QACF,MAAM,YAAY,QAAQ,CAAC,MACzB,oBAAoB,CAAC,KAAI,GAAI,kBAAkB,CAAC,KAAI,GAAI,yBAAyB,CAAC,KAAK,CACzF;QAEA,OAAO;YACL,MAAM;YACN,SAAS;SACX;IACF,CAAC;AACF,CAAA,CAAA;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"scroll2.vue.js","sources":["../../../../../src/x-modules/scroll/components/scroll.vue"],"sourcesContent":["<template>\n <BaseScroll\n :id=\"id\"\n ref=\"scrollRef\"\n @scroll=\"emitScroll\"\n @scroll:direction-change=\"emitScrollDirectionChange\"\n @scroll:at-start=\"emitScrollAtStart\"\n @scroll:almost-at-end=\"emitScrollAlmostAtEnd\"\n @scroll:at-end=\"emitScrollAtEnd\"\n >\n <slot />\n </BaseScroll>\n</template>\n\n<script lang=\"ts\">\nimport type { ComponentPublicInstance } from 'vue'\nimport type { ScrollDirection } from '../../../components/scroll/scroll.types'\nimport type { WireMetadata } from '../../../wiring/wiring.types'\nimport { defineComponent, ref } from 'vue'\nimport BaseScroll from '../../../components/scroll/base-scroll.vue'\nimport { use$x } from '../../../composables/use-$x'\nimport { scrollXModule } from '../x-module'\nimport { MainScrollId } from './scroll.const'\n\n/**\n * Scrollable container that emits scroll related X Events. It exposes all the listeners\n * and props from the {@link BaseScroll} component.\n *\n * @public\n */\nexport default defineComponent({\n name: 'Scroll',\n xModule: scrollXModule.name,\n components: { BaseScroll },\n props: {\n /**\n * Id to identify the component.\n *\n * @public\n */\n id: {\n type: String,\n default: MainScrollId,\n },\n },\n setup(props) {\n const $x = use$x()\n\n const scrollRef = ref<ComponentPublicInstance>()\n\n /**\n * Creates a {@link WireMetadata} metadata object for all the emitted events.\n *\n * @internal\n * @returns A new {@link WireMetadata} object.\n */\n const createEventMetadata = (): Partial<WireMetadata> => {\n return {\n target: scrollRef.value?.$el as HTMLElement,\n id: props.id,\n }\n }\n\n /**\n * Emits the `UserScrolled` event.\n *\n * @param position - The new position of scroll.\n * @internal\n */\n const emitScroll = (position: number) => {\n $x.emit('UserScrolled', position, createEventMetadata())\n }\n\n /**\n * Emits the `UserChangedScrollDirection` event when the scrolling direction has changed.\n *\n * @param direction - The new direction of scroll.\n * @internal\n */\n const emitScrollDirectionChange = (direction: ScrollDirection) => {\n $x.emit('UserChangedScrollDirection', direction, createEventMetadata())\n }\n\n /**\n * Emits the 'UserReachedScrollStart' event when the user reaches the start.\n *\n * @param isAtStart - A boolean indicating if the scroll is at the ending position.\n * @internal\n */\n const emitScrollAtStart = (isAtStart: boolean) => {\n $x.emit('UserReachedScrollStart', isAtStart, createEventMetadata())\n }\n\n /**\n * Emits the 'UserAlmostReachedScrollEnd' event when the user is about to reach to end.\n *\n * @param isAlmostAtEnd - A boolean indicating if the scroll is almost at its ending position.\n * @internal\n */\n const emitScrollAlmostAtEnd = (isAlmostAtEnd: boolean) => {\n $x.emit('UserAlmostReachedScrollEnd', isAlmostAtEnd, createEventMetadata())\n }\n\n /**\n * Emits the 'UserReachedScrollEnd' event when the user is about to reach to end.\n *\n * @param isAtEnd - A boolean indicating if the scroll is at the ending position.\n * @internal\n */\n const emitScrollAtEnd = (isAtEnd: boolean) => {\n $x.emit('UserReachedScrollEnd', isAtEnd, createEventMetadata())\n }\n\n /**\n * Scrolls to initial position when the user has clicked the scroll to top button.\n *\n * @param scrollId - {@link XEventsTypes.UserClickedScrollToTop}.\n * @internal\n */\n $x.on('UserClickedScrollToTop', false).subscribe((scrollId: string) => {\n if (scrollId === props.id && scrollRef.value) {\n ;(scrollRef.value.$el as HTMLElement).scrollTo({ top: 0, behavior: 'smooth' })\n }\n })\n\n return {\n scrollRef,\n emitScrollAtEnd,\n emitScrollAlmostAtEnd,\n emitScrollAtStart,\n emitScrollDirectionChange,\n emitScroll,\n }\n },\n})\n</script>\n\n<docs lang=\"mdx\">\n## Events\n\nA list of events that the component will emit:\n\n- [`UserScrolled`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts):\n emitted after the user scrolls in this container. The payload is the scroll top distance in\n pixels.\n- [`UserChangedScrollDirection`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts):\n emitted when the user changes the scroll direction. The payload is the new scrolling direction.\n- [`UserReachedScrollStart`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts):\n emitted when the user scrolls up to the initial position of the scroll.\n- [`UserAlmostReachedScrollEnd`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts):\n emitted when the user is about to reach the bottom part of the scroll.\n- [`UserReachedScrollEnd`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts):\n emitted when the user has reached the bottom part of the scroll.\n\n## Examples\n\nThe Scroll is a component that wraps the BaseScroll and provides it for a unique id.\n\n### Basic usage\n\n#### Overriding the properties\n\nIt renders an element with scroll, with the content passed in the `default slot`.\n\n```vue\n<template>\n <Scroll id=\"exampleScrollId\" :throttleMs=\"50\" :distanceToBottom=\"300\">\n <div class=\"content-scroll\">\n <span>content1</span>\n <span>content2</span>\n </div>\n </Scroll>\n</template>\n\n<script setup>\nimport { Scroll } from '@empathyco/x-components/scroll'\n</script>\n```\n\n#### Using scroll events.\n\n```vue\n<template>\n <Scroll\n @scroll=\"scroll\"\n @scroll:direction-change=\"scrollDirectionChange\"\n @scroll:at-start=\"scrollAtStart\"\n @scroll:almost-at-end=\"scrollAlmostAtEnd\"\n @scroll:at-end=\"scrollAtEnd\"\n id=\"exampleScrollId\"\n throttleMs=\"50\"\n distanceToBottom=\"300\"\n >\n <div class=\"content-scroll\">\n <span>content1</span>\n <span>content2</span>\n </div>\n </Scroll>\n</template>\n\n<script setup>\nimport { Scroll } from '@empathyco/x-components/scroll'\n\nfunction scroll(position) {\n console.log('scroll', position)\n}\nfunction scrollDirectionChange(direction) {\n console.log('scroll:direction-change', direction)\n}\nfunction scrollAtStart(isAtStart) {\n console.log('scroll:at-start', isAtStart)\n}\nfunction scrollAlmostAtEnd(isAlmostAtEnd) {\n console.log('scroll:almost-at-end', isAlmostAtEnd)\n}\nfunction scrollAtEnd(isAtEnd) {\n console.log('scroll:at-end', isAtEnd)\n}\n</script>\n```\n\n#### Using XEvents.\n\nYou can use the XEvents API to subscribe to events programmatically:\n\n```vue\n<template>\n <Scroll throttleMs=\"50\" distanceToBottom=\"300\">\n <div class=\"content-scroll\">\n <span>content1</span>\n <span>content2</span>\n </div>\n </Scroll>\n</template>\n\n<script setup>\nimport { onMounted } from 'vue'\nimport { Scroll } from '@empathyco/x-components/scroll'\nimport { use$x } from '../../../composables'\n\nconst x = use$x()\n\nonMounted(() => {\n x.on('UserScrolled').subscribe(distance => {\n console.log(distance)\n })\n x.on('UserChangedScrollDirection').subscribe(direction => {\n console.log(direction)\n })\n x.on('UserReachedScrollStart').subscribe(isAtStart => {\n console.log(isAtStart)\n })\n x.on('UserAlmostReachedScrollEnd').subscribe(isAlmostAtEnd => {\n console.log(isAlmostAtEnd)\n })\n x.on('UserReachedScrollEnd').subscribe(isAtEnd => {\n console.log(isAtEnd)\n })\n})\n</script>\n```\n</docs>\n"],"names":[],"mappings":";;;;;;AAwBA;;;;;AAKE;AACF,gBAAe,eAAe,CAAC;AAC7B,IAAA,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE,aAAa,CAAC,IAAI;IAC3B,UAAU,EAAE,EAAE,UAAS,EAAG;AAC1B,IAAA,KAAK,EAAE;AACL;;;;AAIE;AACF,QAAA,EAAE,EAAE;AACF,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,OAAO,EAAE,YAAY;AACtB,SAAA;AACF,KAAA;AACD,IAAA,KAAK,CAAC,KAAK,EAAA;AACT,QAAA,MAAM,EAAC,GAAI,KAAK,EAAC;AAEjB,QAAA,MAAM,YAAY,GAAG,EAA0B;AAE/C;;;;;AAKE;QACF,MAAM,mBAAkB,GAAI,MAA2B;YACrD,OAAO;AACL,gBAAA,MAAM,EAAE,SAAS,CAAC,KAAK,EAAE,GAAkB;gBAC3C,EAAE,EAAE,KAAK,CAAC,EAAE;aACd;AACF,QAAA,CAAA;AAEA;;;;;AAKE;AACF,QAAA,MAAM,aAAa,CAAC,QAAgB,KAAG;YACrC,EAAE,CAAC,IAAI,CAAC,cAAc,EAAE,QAAQ,EAAE,mBAAmB,EAAE,CAAA;AACzD,QAAA,CAAA;AAEA;;;;;AAKE;AACF,QAAA,MAAM,yBAAwB,GAAI,CAAC,SAA0B,KAAG;YAC9D,EAAE,CAAC,IAAI,CAAC,4BAA4B,EAAE,SAAS,EAAE,mBAAmB,EAAE,CAAA;AACxE,QAAA,CAAA;AAEA;;;;;AAKE;AACF,QAAA,MAAM,iBAAgB,GAAI,CAAC,SAAkB,KAAG;YAC9C,EAAE,CAAC,IAAI,CAAC,wBAAwB,EAAE,SAAS,EAAE,mBAAmB,EAAE,CAAA;AACpE,QAAA,CAAA;AAEA;;;;;AAKE;AACF,QAAA,MAAM,qBAAoB,GAAI,CAAC,aAAsB,KAAG;YACtD,EAAE,CAAC,IAAI,CAAC,4BAA4B,EAAE,aAAa,EAAE,mBAAmB,EAAE,CAAA;AAC5E,QAAA,CAAA;AAEA;;;;;AAKE;AACF,QAAA,MAAM,eAAc,GAAI,CAAC,OAAgB,KAAG;YAC1C,EAAE,CAAC,IAAI,CAAC,sBAAsB,EAAE,OAAO,EAAE,mBAAmB,EAAE,CAAA;AAChE,QAAA,CAAA;AAEA;;;;;AAKE;AACF,QAAA,EAAE,CAAC,EAAE,CAAC,wBAAwB,EAAE,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,QAAgB,KAAG;YACnE,IAAI,QAAO,KAAM,KAAK,CAAC,EAAC,IAAK,SAAS,CAAC,KAAK,EAAE;AAC1C,gBAAA,SAAS,CAAC,KAAK,CAAC,GAAmB,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,QAAQ,EAAE,UAAU,CAAA;YAC/E;AACF,QAAA,CAAC,CAAA;QAED,OAAO;YACL,SAAS;YACT,eAAe;YACf,qBAAqB;YACrB,iBAAiB;YACjB,yBAAyB;YACzB,UAAU;SACZ;IACF,CAAC;AACF,CAAA,CAAA;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import _sfc_main from './
|
|
1
|
+
import _sfc_main from './banner2.vue.js';
|
|
2
2
|
import { openBlock, createBlock, resolveDynamicComponent, mergeProps, toHandlers, withCtx, createElementVNode, createElementBlock, normalizeClass, toDisplayString, createCommentVNode } from 'vue';
|
|
3
|
-
import './
|
|
3
|
+
import './banner3.vue.js';
|
|
4
4
|
import _export_sfc from '../../../_virtual/_plugin-vue_export-helper.js';
|
|
5
5
|
|
|
6
6
|
const _hoisted_1 = ["src", "alt"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"banner2.vue.js","sources":["../../../../../src/x-modules/search/components/banner.vue"],"sourcesContent":["<template>\n <component\n :is=\"banner.url ? 'a' : 'figure'\"\n v-if=\"!imageFailed\"\n :href=\"banner.url\"\n class=\"x-banner\"\n data-test=\"banner\"\n v-on=\"banner.url ? anchorEvents() : {}\"\n >\n <img\n :src=\"banner.image\"\n :alt=\"banner.title ? banner.title : 'Banner'\"\n class=\"x-banner__image\"\n data-test=\"banner-image\"\n @error=\"imageFailed = true\"\n />\n <h2 v-if=\"banner.title\" class=\"x-banner__title\" :class=\"titleClass\" data-test=\"banner-title\">\n {{ banner.title }}\n </h2>\n </component>\n</template>\n\n<script lang=\"ts\">\nimport type { Banner as BannerModel } from '@empathyco/x-types'\nimport type { PropType } from 'vue'\nimport { defineComponent, ref } from 'vue'\nimport { useXBus } from '../../../composables/use-x-bus'\nimport { searchXModule } from '../x-module'\n\n/**.\n * A banner result is just an item that has been inserted into the search results to advertise\n * something. Usually it is the first item in the grid or it can be placed in the middle of them\n * and fill the whole row where appears.\n * The banner may be clickable or non-clickable depending on whether it has an associated URL\n * or not. It contains an image and, optionally, a title. In case the image does not\n * load due to an error the banner will not be rendered.\n *\n * Additionally, this component exposes the following props to modify the classes of the\n * elements: `titleClass`.\n *\n * @public\n */\nexport default defineComponent({\n name: 'Banner',\n xModule: searchXModule.name,\n props: {\n /**\n * The banner data.\n *\n * @public\n */\n banner: {\n type: Object as PropType<BannerModel>,\n required: true,\n },\n titleClass: String,\n },\n setup(props) {\n const xBus = useXBus()\n\n /**\n * Flag to handle banner image errors.\n *\n * @public\n */\n const imageFailed = ref(false)\n\n /**\n * Emits the banner click event.\n *\n * @internal\n */\n const emitClickEvent = (): void => {\n xBus.emit('UserClickedABanner', props.banner)\n }\n\n /**\n * Returns the events supported by the anchor.\n *\n * @returns Events supported by the anchor.\n *\n * @internal\n */\n const anchorEvents = (): Partial<{\n [key in keyof GlobalEventHandlersEventMap]: () => void\n }> => ({\n click: () => emitClickEvent(),\n auxclick: () => emitClickEvent(),\n contextmenu: () => emitClickEvent(),\n })\n\n return {\n imageFailed,\n anchorEvents,\n }\n },\n})\n</script>\n\n<style lang=\"css\" scoped>\n.x-banner {\n display: flex;\n flex-flow: column nowrap;\n text-decoration: none;\n}\n\n.x-banner__image {\n width: 100%;\n object-fit: contain;\n}\n</style>\n\n<docs lang=\"mdx\">\n## Events\n\nThis component emits the following event:\n\n- [`UserClickedABanner`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts):\n emitted when the user clicks the banner (if it has a URL).\n\n## See it in action\n\nIn this example, banner data is passed as a prop.\n\n_Here you can see how the `Banner` component is rendered._\n\n```vue\n<template>\n <Banner :banner=\"banner\" />\n</template>\n\n<script setup>\nimport { Banner } from '@empathyco/x-components/search'\nimport { ref } from 'vue'\n\nconst banner = ref({\n modelName: 'Banner',\n id: 'banner-example',\n url: 'https://my-website.com/summer-shirts',\n image: 'https://my-website.com/images/summer-shirts.jpg',\n title: 'Trendy summer shirts',\n position: 1,\n})\n</script>\n```\n\n### Customizing the items with classes\n\nThe `titleClass` prop can be used to add classes to the banner title.\n\n```vue\n<template>\n <Banner :banner=\"banner\" titleClass=\"x-bg-neutral-50\" />\n</template>\n\n<script setup>\nimport { Banner } from '@empathyco/x-components/search'\nimport { ref } from 'vue'\n\nconst banner = ref({\n modelName: 'Banner',\n id: 'banner-example',\n url: 'https://my-website.com/summer-shirts',\n image: 'https://my-website.com/images/summer-shirts.jpg',\n title: 'Trendy summer shirts',\n position: 1,\n})\n</script>\n```\n</docs>\n"],"names":[],"mappings":";;;;AA6BA;;;;;;;;;;;;AAYE;AACF,gBAAe,eAAe,CAAC;AAC7B,IAAA,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE,aAAa,CAAC,IAAI;AAC3B,IAAA,KAAK,EAAE;AACL;;;;AAIE;AACF,QAAA,MAAM,EAAE;AACN,YAAA,IAAI,EAAE,MAA+B;AACrC,YAAA,QAAQ,EAAE,IAAI;AACf,SAAA;AACD,QAAA,UAAU,EAAE,MAAM;AACnB,KAAA;AACD,IAAA,KAAK,CAAC,KAAK,EAAA;AACT,QAAA,MAAM,IAAG,GAAI,OAAO,EAAC;AAErB;;;;AAIE;AACF,QAAA,MAAM,WAAU,GAAI,GAAG,CAAC,KAAK,CAAA;AAE7B;;;;AAIE;QACF,MAAM,cAAa,GAAI,MAAU;YAC/B,IAAI,CAAC,IAAI,CAAC,oBAAoB,EAAE,KAAK,CAAC,MAAM,CAAA;AAC9C,QAAA,CAAA;AAEA;;;;;;AAME;AACF,QAAA,MAAM,YAAW,GAAI,OAEd;AACL,YAAA,KAAK,EAAE,MAAM,cAAc,EAAE;AAC7B,YAAA,QAAQ,EAAE,MAAM,cAAc,EAAE;AAChC,YAAA,WAAW,EAAE,MAAM,cAAc,EAAE;AACpC,SAAA,CAAA;QAED,OAAO;YACL,WAAW;YACX,YAAY;SACd;IACF,CAAC;AACF,CAAA,CAAA;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"banner3.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"banners-list2.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _sfc_main from './fallback-
|
|
1
|
+
import _sfc_main from './fallback-disclaimer2.vue.js';
|
|
2
2
|
import { openBlock, createElementBlock, renderSlot, normalizeProps, guardReactiveProps, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
3
3
|
import _export_sfc from '../../../_virtual/_plugin-vue_export-helper.js';
|
|
4
4
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fallback-
|
|
1
|
+
{"version":3,"file":"fallback-disclaimer2.vue.js","sources":["../../../../../src/x-modules/search/components/fallback-disclaimer.vue"],"sourcesContent":["<template>\n <div\n v-if=\"fromNoResultsWithFilters\"\n class=\"x-fallback-disclaimer\"\n data-test=\"fallback-disclaimer\"\n >\n <slot v-bind=\"{ query }\">\n No results found for {{ query }} with the selected filters. The filters have been unselected.\n </slot>\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent } from 'vue'\nimport { useState } from '../../../composables/use-state'\nimport { searchXModule } from '../x-module'\n\n/**\n * The `FallbackDisclaimer` component shows a message if the filters have been removed\n * from the current search because there were no results.\n *\n * @public\n */\nexport default defineComponent({\n name: 'FallbackDisclaimer',\n xModule: searchXModule.name,\n setup() {\n const { query, fromNoResultsWithFilters } = useState('search')\n\n return { query, fromNoResultsWithFilters }\n },\n})\n</script>\n\n<docs lang=\"mdx\">\n## Examples\n\nThis default fallback disclaimer component reads the query from the search state and passes it to\nits default slot. This component will be rendered if there is a no results with filters situation.\n\n### Basic usage\n\n```vue\n<template>\n <FallbackDisclaimer />\n</template>\n\n<script setup>\nimport { FallbackDisclaimer } from '@empathyco/x-components/search'\n</script>\n```\n\n### Customizing its contents\n\n```vue\n<template>\n <FallbackDisclaimer>\n <template #default=\"{ query }\">\n No results found for '{{ query }}' with the selected filters. The filters have been\n unselected.\n </template>\n </FallbackDisclaimer>\n</template>\n\n<script setup>\nimport { FallbackDisclaimer } from '@empathyco/x-components/search'\n</script>\n```\n</docs>\n"],"names":[],"mappings":";;;;AAiBA;;;;;AAKE;AACF,gBAAe,eAAe,CAAC;AAC7B,IAAA,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,aAAa,CAAC,IAAI;IAC3B,KAAK,GAAA;QACH,MAAM,EAAE,KAAK,EAAE,wBAAuB,EAAE,GAAI,QAAQ,CAAC,QAAQ,CAAA;AAE7D,QAAA,OAAO,EAAE,KAAK,EAAE,wBAAuB,EAAE;IAC3C,CAAC;AACF,CAAA,CAAA;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _sfc_main from './partial-query-
|
|
1
|
+
import _sfc_main from './partial-query-button2.vue.js';
|
|
2
2
|
import { openBlock, createElementBlock, renderSlot, normalizeProps, guardReactiveProps, createTextVNode, toDisplayString } from 'vue';
|
|
3
3
|
import _export_sfc from '../../../_virtual/_plugin-vue_export-helper.js';
|
|
4
4
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"partial-query-
|
|
1
|
+
{"version":3,"file":"partial-query-button2.vue.js","sources":["../../../../../src/x-modules/search/components/partial-query-button.vue"],"sourcesContent":["<template>\n <button\n ref=\"partialButtonEl\"\n class=\"x-partial-query-button xds:button\"\n data-test=\"partial-query-button\"\n @click=\"emitEvents\"\n >\n <slot v-bind=\"{ query }\">{{ query }}</slot>\n </button>\n</template>\n\n<script lang=\"ts\">\nimport type { WireMetadata } from '../../../wiring/wiring.types'\nimport { defineComponent, ref } from 'vue'\nimport { use$x } from '../../../composables/use-$x'\nimport { searchXModule } from '../x-module'\n\n/**\n * A button that when pressed emits the {@link XEventsTypes.UserAcceptedAQuery}\n * and {@link SearchXEvents.UserClickedPartialQuery} events, expressing the user\n * intention to set the partial query.\n *\n * @public\n */\nexport default defineComponent({\n name: 'PartialQueryButton',\n xModule: searchXModule.name,\n props: {\n /**\n * The query property.\n *\n * @public\n */\n query: {\n type: String,\n required: true,\n },\n },\n setup(props) {\n const $x = use$x()\n\n const partialButtonEl = ref<HTMLElement>()\n\n /**\n * Generates the {@link WireMetadata} object omitting the moduleName.\n *\n * @returns The {@link WireMetadata} object omitting the moduleName.\n * @internal\n */\n const createEventMetadata = (): Omit<WireMetadata, 'moduleName'> => ({\n target: partialButtonEl.value,\n feature: 'partial_result',\n })\n\n /**\n * Emits events when the button is clicked.\n *\n * @public\n */\n const emitEvents = () => {\n $x.emit('UserAcceptedAQuery', props.query, createEventMetadata())\n $x.emit('UserClickedPartialQuery', props.query, createEventMetadata())\n }\n\n return {\n partialButtonEl,\n emitEvents,\n }\n },\n})\n</script>\n\n<docs lang=\"mdx\">\n## Events\n\nThis component emits 2 different events:\n\n- [`UserAcceptedAQuery`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts):\n the event is emitted after the user clicks the partial query. The event payload is the partial\n query data.\n- [`UserClickedPartialQuery`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts):\n the event is emitted after the user clicks the partial query. The event payload is the partial\n query data.\n\n## Examples\n\n### Basic example\n\nA button that when pressed emits the `XEventsTypes.UserAcceptedAQuery` and\n`SearchXEvents.UserClickedPartialQuery` events, expressing the user intention to set the partial\nquery.\n\nThe component sets the current query as the new query and emits the `UserAcceptedAQuery` and\n`UserClickedPartialQuery` events when is clicked.\n\n```vue\n<template>\n <PartialQueryButton :query=\"query\" />\n</template>\n\n<script setup>\nimport { PartialQueryButton } from '@empathyco/x-components/search'\nimport { ref } from 'vue'\n\nconst query = ref('shoes')\n</script>\n```\n\n### Customizing its contents\n\n```vue\n<template>\n <PartialQueryButton :query=\"query\">\n <template #default=\"{ query }\">\n <span class=\"x-partial-query-button__text\">\n Set the Partial query as the new query: {{ query }}!\n </span>\n </template>\n </PartialQueryButton>\n</template>\n\n<script setup>\nimport { PartialQueryButton } from '@empathyco/x-components/search'\nimport { ref } from 'vue'\n\nconst query = ref('bags')\n</script>\n```\n</docs>\n"],"names":[],"mappings":";;;;AAiBA;;;;;;AAME;AACF,gBAAe,eAAe,CAAC;AAC7B,IAAA,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,aAAa,CAAC,IAAI;AAC3B,IAAA,KAAK,EAAE;AACL;;;;AAIE;AACF,QAAA,KAAK,EAAE;AACL,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,QAAQ,EAAE,IAAI;AACf,SAAA;AACF,KAAA;AACD,IAAA,KAAK,CAAC,KAAK,EAAA;AACT,QAAA,MAAM,EAAC,GAAI,KAAK,EAAC;AAEjB,QAAA,MAAM,eAAc,GAAI,GAAG,EAAc;AAEzC;;;;;AAKE;AACF,QAAA,MAAM,mBAAkB,GAAI,OAAyC;YACnE,MAAM,EAAE,eAAe,CAAC,KAAK;AAC7B,YAAA,OAAO,EAAE,gBAAgB;AAC1B,SAAA,CAAA;AAED;;;;AAIE;QACF,MAAM,UAAS,GAAI,MAAI;AACrB,YAAA,EAAE,CAAC,IAAI,CAAC,oBAAoB,EAAE,KAAK,CAAC,KAAK,EAAE,mBAAmB,EAAE,CAAA;AAChE,YAAA,EAAE,CAAC,IAAI,CAAC,yBAAyB,EAAE,KAAK,CAAC,KAAK,EAAE,mBAAmB,EAAE,CAAA;AACvE,QAAA,CAAA;QAEA,OAAO;YACL,eAAe;YACf,UAAU;SACZ;IACF,CAAC;AACF,CAAA,CAAA;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import _sfc_main from './partial-results-
|
|
1
|
+
import _sfc_main from './partial-results-list2.vue.js';
|
|
2
2
|
import { openBlock, createBlock, resolveDynamicComponent, withCtx, createElementBlock, Fragment, renderList, renderSlot, createCommentVNode } from 'vue';
|
|
3
|
-
import './partial-results-
|
|
3
|
+
import './partial-results-list3.vue.js';
|
|
4
4
|
import _export_sfc from '../../../_virtual/_plugin-vue_export-helper.js';
|
|
5
5
|
|
|
6
6
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"partial-results-
|
|
1
|
+
{"version":3,"file":"partial-results-list2.vue.js","sources":["../../../../../src/x-modules/search/components/partial-results-list.vue"],"sourcesContent":["<template>\n <component\n :is=\"animation\"\n v-if=\"partialResults.length\"\n class=\"x-partial-results-list\"\n data-test=\"partial-results\"\n tag=\"ul\"\n >\n <li\n v-for=\"(partialResult, index) in partialResults\"\n :key=\"`${partialResult.query}-${index}`\"\n class=\"x-partial-result\"\n data-test=\"partial-result\"\n >\n <!--\n @slot (Required) Partial results item content\n @binding {Partial} partialResult - Partial Result data\n -->\n <slot :partial-result=\"partialResult\" />\n </li>\n </component>\n</template>\n\n<script lang=\"ts\">\nimport { computed, defineComponent } from 'vue'\nimport { useState } from '../../../composables/use-state'\nimport { AnimationProp } from '../../../types/animation-prop'\nimport { searchXModule } from '../x-module'\n\n/**\n * It renders a list of partial results from {@link SearchState.partialResults} by default.\n * It also provides the partial result slot to customize the item with the partial result bound.\n *\n * @public\n */\nexport default defineComponent({\n name: 'PartialResultsList',\n xModule: searchXModule.name,\n props: {\n /**\n * Animation component that will be used to animate the partial results.\n *\n * @public\n */\n animation: {\n type: AnimationProp,\n default: 'ul',\n },\n\n /**\n * Maximum number of partial results to show.\n *\n * @public\n */\n maxItemsToRender: {\n type: Number,\n default: 5,\n },\n },\n setup(props) {\n /**\n * The partials results from the search state.\n *\n * @public\n */\n const items = useState('search').partialResults\n\n /**\n * A limited number of partial results.\n *\n * @returns The partial results sliced by the maxItemsToRender.\n *\n * @internal\n */\n const partialResults = computed(() => items.value.slice(0, props.maxItemsToRender))\n\n return {\n partialResults,\n }\n },\n})\n</script>\n\n<style lang=\"css\" scoped>\n.x-partial-results-list {\n display: flex;\n flex-flow: column nowrap;\n list-style-type: none;\n padding: 0;\n}\n</style>\n\n<docs lang=\"mdx\">\n## Examples\n\nThis component loops through an array of partials and exposes a slot to customize each partial.\n\n### Basic example\n\nIt renders a list of partial results using the default slot:\n\n```vue\n<template>\n <PartialResultsList>\n <template #default=\"{ partialResult }\">\n <ResultsList :results=\"partialResult.results\" />\n </template>\n </PartialResultsList>\n</template>\n\n<script setup>\nimport { PartialResultsList } from '@empathyco/x-components/search'\nimport { ResultsList } from '@empathyco/x-components/search'\n</script>\n```\n\n### Configuring the number of partials\n\nSet the maximum partials to show to 3.\n\n```vue\n<template>\n <PartialResultsList :maxItemsToRender=\"3\">\n <template #default=\"{ partialResult }\">\n <ResultsList :results=\"partialResult.results\" />\n </template>\n </PartialResultsList>\n</template>\n\n<script setup>\nimport { PartialResultsList } from '@empathyco/x-components/search'\nimport { ResultsList } from '@empathyco/x-components/search'\n</script>\n```\n\n### Rendering usage\n\nIt renders a list of partial results using the default slot. It will show the query, the partial\nresults and a button to update the query with the partial one.\n\n```vue\n<template>\n <PartialResultsList>\n <template #default=\"{ partialResult }\">\n <span>{{ partialResult.query }}</span>\n <BaseGrid :columns=\"4\" :items=\"partialResult.results\">\n <template #result=\"{ item }\">\n <BaseResultLink :result=\"item\">\n <template #default=\"{ item }\">\n <BaseResultImage :result=\"item\" />\n <span class=\"x-result__title\">{{ item.name }}</span>\n </template>\n </BaseResultLink>\n </template>\n </BaseGrid>\n <PartialQueryButton :query=\"partialResult.query\">\n <template #default=\"{ query }\">Ver todos {{ query }}</template>\n </PartialQueryButton>\n </template>\n </PartialResultsList>\n</template>\n\n<script setup>\nimport { PartialResultsList } from '@empathyco/x-components/search'\nimport { BaseGrid, BaseResultLink, BaseResultImage } from '@empathyco/x-components'\nimport { PartialQueryButton } from '@empathyco/x-components/search'\n</script>\n```\n</docs>\n"],"names":[],"mappings":";;;;;AA6BA;;;;;AAKE;AACF,gBAAe,eAAe,CAAC;AAC7B,IAAA,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,aAAa,CAAC,IAAI;AAC3B,IAAA,KAAK,EAAE;AACL;;;;AAIE;AACF,QAAA,SAAS,EAAE;AACT,YAAA,IAAI,EAAE,aAAa;AACnB,YAAA,OAAO,EAAE,IAAI;AACd,SAAA;AAED;;;;AAIE;AACF,QAAA,gBAAgB,EAAE;AAChB,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,OAAO,EAAE,CAAC;AACX,SAAA;AACF,KAAA;AACD,IAAA,KAAK,CAAC,KAAK,EAAA;AACT;;;;AAIE;QACF,MAAM,KAAI,GAAI,QAAQ,CAAC,QAAQ,CAAC,CAAC,cAAa;AAE9C;;;;;;AAME;QACF,MAAM,cAAa,GAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAA;QAElF,OAAO;YACL,cAAc;SAChB;IACF,CAAC;AACF,CAAA,CAAA;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"partial-results-list3.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import _sfc_main from './
|
|
1
|
+
import _sfc_main from './promoted2.vue.js';
|
|
2
2
|
import { openBlock, createElementBlock, withModifiers, createElementVNode, normalizeClass, toDisplayString } from 'vue';
|
|
3
|
-
import './
|
|
3
|
+
import './promoted3.vue.js';
|
|
4
4
|
import _export_sfc from '../../../_virtual/_plugin-vue_export-helper.js';
|
|
5
5
|
|
|
6
6
|
const _hoisted_1 = ["href"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"promoted2.vue.js","sources":["../../../../../src/x-modules/search/components/promoted.vue"],"sourcesContent":["<template>\n <a\n :href=\"promoted.url\"\n class=\"x-promoted\"\n data-test=\"promoted\"\n @click=\"emitUserClickedAPromoted\"\n @click.right=\"emitUserClickedAPromoted\"\n @click.middle=\"emitUserClickedAPromoted\"\n >\n <img :src=\"promoted.image\" class=\"x-promoted__image\" :alt=\"promoted.title\" />\n <h2 class=\"x-promoted__title\" :class=\"titleClass\" data-test=\"promoted-title\">\n {{ promoted.title }}\n </h2>\n </a>\n</template>\n\n<script lang=\"ts\">\nimport type { Promoted as PromotedModel } from '@empathyco/x-types'\nimport type { PropType } from 'vue'\nimport { defineComponent } from 'vue'\nimport { useXBus } from '../../../composables/use-x-bus'\nimport { searchXModule } from '../x-module'\n\n/**\n * A promoted result is just an item that has been inserted into the search results to advertise\n * something. Usually it is one of the first items in the grid, and has the same shape as a\n * result. It just contains a link to the promoted content, an image, and a title.\n *\n * Additionally, this component exposes the following props to modify the classes of the\n * elements: `titleClass`.\n *\n * @public\n */\nexport default defineComponent({\n name: 'Promoted',\n xModule: searchXModule.name,\n props: {\n /**\n * The promoted data.\n *\n * @public\n */\n promoted: {\n type: Object as PropType<PromotedModel>,\n required: true,\n },\n titleClass: String,\n },\n setup(props) {\n const xBus = useXBus()\n\n /**\n * Emits the promoted click event.\n *\n * @internal\n */\n const emitUserClickedAPromoted = () => {\n xBus.emit('UserClickedAPromoted', props.promoted)\n }\n\n return {\n emitUserClickedAPromoted,\n }\n },\n})\n</script>\n\n<style lang=\"css\" scoped>\n.x-promoted {\n display: flex;\n flex-flow: column nowrap;\n text-decoration: none;\n}\n\n.x-promoted__image {\n width: 100%;\n object-fit: contain;\n}\n</style>\n\n<docs lang=\"mdx\">\n## Events\n\nThis component emits the following event:\n\n- [`UserClickedAPromoted`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts):\n emitted when the user clicks the promoted item (if it has a URL).\n\n## See it in action\n\nIn this example, promoted data is passed as a prop.\n\n_Here you can see how the `Promoted` component is rendered._\n\n```vue\n<template>\n <Promoted :promoted=\"promoted\" />\n</template>\n\n<script setup>\nimport { Promoted } from '@empathyco/x-components/search'\nimport { ref } from 'vue'\n\nconst promoted = ref({\n modelName: 'Promoted',\n id: 'promoted-example',\n url: 'https://my-website.com/summer-shirts',\n image: 'https://my-website.com/images/summer-shirts.jpg',\n title: 'Trendy summer shirts',\n position: 1,\n})\n</script>\n```\n\n### Customizing the items with classes\n\nThe `titleClass` prop can be used to add classes to the promoted title.\n\n```vue\n<template>\n <Promoted :promoted=\"promoted\" titleClass=\"x-bg-neutral-50\" />\n</template>\n\n<script setup>\nimport { Promoted } from '@empathyco/x-components/search'\nimport { ref } from 'vue'\n\nconst promoted = ref({\n modelName: 'Promoted',\n id: 'promoted-example',\n url: 'https://my-website.com/summer-shirts',\n image: 'https://my-website.com/images/summer-shirts.jpg',\n title: 'Trendy summer shirts',\n position: 1,\n})\n</script>\n```\n</docs>\n"],"names":[],"mappings":";;;;AAuBA;;;;;;;;;AASE;AACF,gBAAe,eAAe,CAAC;AAC7B,IAAA,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,aAAa,CAAC,IAAI;AAC3B,IAAA,KAAK,EAAE;AACL;;;;AAIE;AACF,QAAA,QAAQ,EAAE;AACR,YAAA,IAAI,EAAE,MAAiC;AACvC,YAAA,QAAQ,EAAE,IAAI;AACf,SAAA;AACD,QAAA,UAAU,EAAE,MAAM;AACnB,KAAA;AACD,IAAA,KAAK,CAAC,KAAK,EAAA;AACT,QAAA,MAAM,IAAG,GAAI,OAAO,EAAC;AAErB;;;;AAIE;QACF,MAAM,wBAAuB,GAAI,MAAI;YACnC,IAAI,CAAC,IAAI,CAAC,sBAAsB,EAAE,KAAK,CAAC,QAAQ,CAAA;AAClD,QAAA,CAAA;QAEA,OAAO;YACL,wBAAwB;SAC1B;IACF,CAAC;AACF,CAAA,CAAA;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"promoted3.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"promoteds-list2.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _sfc_main from './
|
|
1
|
+
import _sfc_main from './redirection2.vue.js';
|
|
2
2
|
import { openBlock, createElementBlock, renderSlot, normalizeProps, guardReactiveProps, createCommentVNode } from 'vue';
|
|
3
3
|
import _export_sfc from '../../../_virtual/_plugin-vue_export-helper.js';
|
|
4
4
|
|