@empathyco/x-components 3.0.0-alpha.32 → 3.0.0-alpha.36
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 +116 -0
- package/core/index.js +24 -22
- package/core/index.js.map +1 -1
- package/docs/API-reference/api/x-adapter.empathyrelatedtag.md +1 -0
- package/docs/API-reference/api/x-adapter.empathyrelatedtag.source.md +11 -0
- package/docs/API-reference/api/x-components.baseidtogglepanel.md +0 -1
- package/docs/API-reference/api/x-components.baseresultlink.md +1 -1
- package/docs/API-reference/api/x-components.featurelocation.md +1 -1
- package/docs/API-reference/api/x-components.fixedheaderandasideslayout.isbackdropvisible.md +11 -0
- package/docs/API-reference/api/x-components.fixedheaderandasideslayout.leftasideanimation.md +11 -0
- package/docs/API-reference/api/x-components.fixedheaderandasideslayout.md +30 -0
- package/docs/API-reference/api/x-components.fixedheaderandasideslayout.rightasideanimation.md +11 -0
- package/docs/API-reference/api/x-components.fixedheaderandasideslayout.scrollposition.md +11 -0
- package/docs/API-reference/api/x-components.fixedheaderandasideslayout.setposition.md +22 -0
- package/docs/API-reference/api/x-components.getrootxcomponent.md +2 -2
- package/docs/API-reference/api/x-components.isxcomponent.md +2 -2
- package/docs/API-reference/api/x-components.maybearray.md +13 -0
- package/docs/API-reference/api/x-components.md +12 -7
- package/docs/API-reference/api/x-components.namespaceddebounce.md +2 -2
- package/docs/API-reference/api/x-components.namespacedthrottle.md +2 -2
- package/docs/API-reference/api/{x-components.namespacedtimeretrieving.md → x-components.namespacedtimeselector.md} +3 -3
- package/docs/API-reference/api/x-components.namespacedtimewireoperator.md +3 -3
- package/docs/API-reference/api/x-components.relatedtag.highlightcurated.md +13 -0
- package/docs/API-reference/api/x-components.relatedtag.md +1 -0
- package/docs/API-reference/api/x-components.relatedtags.highlightcurated.md +13 -0
- package/docs/API-reference/api/x-components.searchxevents.md +2 -0
- package/docs/API-reference/api/x-components.searchxevents.userclickedabanner.md +13 -0
- package/docs/API-reference/api/x-components.searchxevents.userclickedapromoted.md +13 -0
- package/docs/API-reference/api/x-components.setconsent.md +1 -1
- package/docs/API-reference/api/x-components.setquerytaggingdebounce.md +1 -1
- package/docs/API-reference/api/x-components.setsessionduration.md +1 -1
- package/docs/API-reference/api/x-components.snippetconfig.isspa.md +13 -0
- package/docs/API-reference/api/x-components.snippetconfig.md +1 -0
- package/docs/API-reference/api/x-components.tagicon.md +11 -0
- package/docs/API-reference/api/x-components.throttle.md +3 -3
- package/docs/API-reference/api/x-components.timedwireoperatoroptions.cancelon.md +13 -0
- package/docs/API-reference/api/x-components.timedwireoperatoroptions.forceon.md +13 -0
- package/docs/API-reference/api/x-components.timedwireoperatoroptions.md +21 -0
- package/docs/API-reference/api/{x-components.timeretrieving.md → x-components.timeselector.md} +3 -3
- package/docs/API-reference/api/x-components.trackaddtocartwire.md +13 -0
- package/docs/API-reference/api/{x-components.trackwire.md → x-components.trackquerywire.md} +3 -3
- package/docs/API-reference/api/x-components.trackresultclickedwire.md +13 -0
- package/docs/API-reference/api/x-components.xeventstypes.md +0 -1
- package/docs/API-reference/api/x-components.xinstaller.md +1 -1
- package/docs/API-reference/api/x-types.relatedtag.iscurated.md +13 -0
- package/docs/API-reference/api/x-types.relatedtag.md +1 -0
- package/docs/API-reference/components/common/animations/x-components.animate-width.md +6 -7
- package/docs/API-reference/components/common/animations/x-components.collapse-from-top.md +7 -8
- package/docs/API-reference/components/common/animations/x-components.collapse-height.md +8 -9
- package/docs/API-reference/components/common/animations/x-components.collapse-width.md +8 -9
- package/docs/API-reference/components/common/animations/x-components.cross-fade.md +7 -8
- package/docs/API-reference/components/common/animations/x-components.fade-and-slide.md +7 -8
- package/docs/API-reference/components/common/animations/x-components.staggered-fade-and-slide.md +7 -8
- package/docs/API-reference/components/common/{x-components.staggering-transition-group.md → animations/x-components.staggering-transition-group.md} +8 -9
- package/docs/API-reference/components/common/animations/x-components.translate-from-left.md +7 -8
- package/docs/API-reference/components/common/animations/x-components.translate-from-right.md +7 -8
- package/docs/API-reference/components/common/column-picker/x-components.base-column-picker-dropdown.md +12 -13
- package/docs/API-reference/components/common/column-picker/x-components.base-column-picker-list.md +11 -12
- package/docs/API-reference/components/common/currency/x-components.base-currency.md +9 -12
- package/docs/API-reference/components/common/filters/labels/x-components.base-price-filter-label.md +9 -10
- package/docs/API-reference/components/common/filters/labels/x-components.base-rating-filter-label.md +11 -12
- package/docs/API-reference/components/common/icons/x-components.arrow.md +3 -4
- package/docs/API-reference/components/common/icons/x-components.bag.md +3 -4
- package/docs/API-reference/components/common/icons/x-components.bar-code.md +4 -5
- package/docs/API-reference/components/common/icons/x-components.barcode-tiny.md +4 -5
- package/docs/API-reference/components/common/icons/x-components.cart.md +3 -4
- package/docs/API-reference/components/common/icons/x-components.check-tiny.md +4 -5
- package/docs/API-reference/components/common/icons/x-components.check.md +3 -4
- package/docs/API-reference/components/common/icons/x-components.checkbox-card-selected.md +4 -5
- package/docs/API-reference/components/common/icons/x-components.checkbox-card-unselected.md +4 -5
- package/docs/API-reference/components/common/icons/x-components.checkbox-selected.md +4 -5
- package/docs/API-reference/components/common/icons/x-components.checkbox-unselected.md +4 -5
- package/docs/API-reference/components/common/icons/x-components.chevron-down.md +4 -5
- package/docs/API-reference/components/common/icons/x-components.chevron-left.md +4 -5
- package/docs/API-reference/components/common/icons/x-components.chevron-right.md +4 -5
- package/docs/API-reference/components/common/icons/x-components.chevron-tiny-down.md +4 -5
- package/docs/API-reference/components/common/icons/x-components.chevron-tiny-left.md +4 -5
- package/docs/API-reference/components/common/icons/x-components.chevron-tiny-right.md +4 -5
- package/docs/API-reference/components/common/icons/x-components.chevron-tiny-up.md +4 -5
- package/docs/API-reference/components/common/icons/x-components.chevron-up.md +4 -5
- package/docs/API-reference/components/common/icons/x-components.cross-tiny.md +4 -5
- package/docs/API-reference/components/common/icons/x-components.cross.md +3 -4
- package/docs/API-reference/components/common/icons/x-components.filters.md +3 -4
- package/docs/API-reference/components/common/icons/x-components.grid-1-col.md +4 -5
- package/docs/API-reference/components/common/icons/x-components.grid-2-col.md +4 -5
- package/docs/API-reference/components/common/icons/x-components.hide.md +3 -4
- package/docs/API-reference/components/common/icons/x-components.history-tiny.md +4 -5
- package/docs/API-reference/components/common/icons/x-components.history.md +3 -4
- package/docs/API-reference/components/common/icons/x-components.menu.md +3 -4
- package/docs/API-reference/components/common/icons/x-components.minus-tiny.md +4 -5
- package/docs/API-reference/components/common/icons/x-components.minus.md +3 -4
- package/docs/API-reference/components/common/icons/x-components.nq-1.md +4 -5
- package/docs/API-reference/components/common/icons/x-components.nq-2.md +4 -5
- package/docs/API-reference/components/common/icons/x-components.nq-3.md +4 -5
- package/docs/API-reference/components/common/icons/x-components.nq-4.md +4 -5
- package/docs/API-reference/components/common/icons/x-components.plus.md +3 -4
- package/docs/API-reference/components/common/icons/x-components.search-tiny.md +4 -5
- package/docs/API-reference/components/common/icons/x-components.search.md +3 -4
- package/docs/API-reference/components/common/icons/x-components.show.md +3 -4
- package/docs/API-reference/components/common/icons/x-components.star.md +3 -4
- package/docs/API-reference/components/common/icons/x-components.tag.md +7 -0
- package/docs/API-reference/components/common/icons/x-components.trash-open.md +4 -5
- package/docs/API-reference/components/common/icons/x-components.trash.md +3 -4
- package/docs/API-reference/components/common/icons/x-components.trending-tiny.md +4 -5
- package/docs/API-reference/components/common/icons/x-components.trending.md +3 -4
- package/docs/API-reference/components/common/icons/x-components.user.md +3 -4
- package/docs/API-reference/components/common/layouts/x-components.fixed-header-and-asides-layout.md +8 -9
- package/docs/API-reference/components/common/layouts/x-components.multi-column-max-width-layout.md +8 -9
- package/docs/API-reference/components/common/layouts/x-components.single-column-layout.md +6 -5
- package/docs/API-reference/components/common/modals/x-components.base-events-modal-close.md +10 -11
- package/docs/API-reference/components/common/modals/x-components.base-events-modal-open.md +10 -11
- package/docs/API-reference/components/common/modals/x-components.base-events-modal.md +15 -16
- package/docs/API-reference/components/common/modals/x-components.base-id-modal-close.md +9 -10
- package/docs/API-reference/components/common/modals/x-components.base-id-modal-open.md +9 -10
- package/docs/API-reference/components/common/modals/x-components.base-id-modal.md +11 -12
- package/docs/API-reference/components/common/modals/x-components.base-modal.md +7 -8
- package/docs/API-reference/components/common/panels/x-components.base-header-toggle-panel.md +11 -12
- package/docs/API-reference/components/common/panels/x-components.base-id-toggle-panel-button.md +10 -11
- package/docs/API-reference/components/common/panels/x-components.base-id-toggle-panel.md +10 -11
- package/docs/API-reference/components/common/panels/x-components.base-toggle-panel.md +8 -9
- package/docs/API-reference/components/common/result/x-components.base-result-add-to-cart.md +9 -10
- package/docs/API-reference/components/common/result/x-components.base-result-current-price.md +10 -11
- package/docs/API-reference/components/common/result/x-components.base-result-fallback-image.md +4 -5
- package/docs/API-reference/components/common/result/x-components.base-result-image.md +9 -10
- package/docs/API-reference/components/common/result/x-components.base-result-link.md +15 -24
- package/docs/API-reference/components/common/result/x-components.base-result-placeholder-image.md +4 -5
- package/docs/API-reference/components/common/result/x-components.base-result-previous-price.md +9 -10
- package/docs/API-reference/components/common/scroll/x-components.base-scroll.md +8 -9
- package/docs/API-reference/components/common/suggestions/x-components.base-suggestion.md +10 -11
- package/docs/API-reference/components/common/suggestions/x-components.base-suggestions.md +7 -8
- package/docs/API-reference/components/common/x-components.auto-progress-bar.md +5 -6
- package/docs/API-reference/components/common/x-components.base-dropdown.md +8 -9
- package/docs/API-reference/components/common/x-components.base-event-button.md +11 -12
- package/docs/API-reference/components/common/x-components.base-grid.md +15 -16
- package/docs/API-reference/components/common/x-components.base-keyboard-navigation.md +10 -11
- package/docs/API-reference/components/common/x-components.base-rating.md +10 -11
- package/docs/API-reference/components/common/x-components.base-variable-column-grid.md +10 -11
- package/docs/API-reference/components/common/x-components.global-x-bus.md +6 -7
- package/docs/API-reference/components/common/x-components.items-list.md +6 -5
- package/docs/API-reference/components/common/x-components.location-provider.md +6 -7
- package/docs/API-reference/components/common/x-components.sliding-panel.md +10 -11
- package/docs/API-reference/components/common/x-components.snippet-callbacks.md +6 -7
- package/docs/API-reference/components/device/x-components.device-detector.md +8 -9
- package/docs/API-reference/components/empathize/x-components.empathize.md +8 -9
- package/docs/API-reference/components/extra-params/x-components.extra-params.md +7 -8
- package/docs/API-reference/components/extra-params/x-components.renderless-extra-param.md +9 -10
- package/docs/API-reference/components/extra-params/x-components.snippet-config-extra-params.md +6 -7
- package/docs/API-reference/components/facets/x-components.clear-filters.md +9 -10
- package/docs/API-reference/components/facets/x-components.facets/facets-provider.md +10 -11
- package/docs/API-reference/components/facets/x-components.facets/facets.md +12 -13
- package/docs/API-reference/components/facets/x-components.filters/all-filter.md +15 -16
- package/docs/API-reference/components/facets/x-components.filters/base-filter.md +12 -13
- package/docs/API-reference/components/facets/x-components.filters/editable-number-range-filter.md +12 -13
- package/docs/API-reference/components/facets/x-components.filters/hierarchical-filter.md +9 -10
- package/docs/API-reference/components/facets/x-components.filters/number-range-filter.md +9 -10
- package/docs/API-reference/components/facets/x-components.filters/renderless-filter.md +12 -13
- package/docs/API-reference/components/facets/x-components.filters/simple-filter.md +10 -11
- package/docs/API-reference/components/facets/x-components.lists/exclude-filters-with-no-results.md +11 -12
- package/docs/API-reference/components/facets/x-components.lists/filters-list.md +11 -12
- package/docs/API-reference/components/facets/x-components.lists/filters-search.md +9 -10
- package/docs/API-reference/components/facets/x-components.lists/selected-filters-list.md +12 -13
- package/docs/API-reference/components/facets/x-components.lists/selected-filters.md +11 -12
- package/docs/API-reference/components/facets/x-components.lists/sliced-filters.md +11 -12
- package/docs/API-reference/components/facets/x-components.lists/sorted-filters.md +11 -12
- package/docs/API-reference/components/history-queries/x-components.clear-history-queries.md +10 -11
- package/docs/API-reference/components/history-queries/x-components.history-queries.md +10 -11
- package/docs/API-reference/components/history-queries/x-components.history-query.md +11 -12
- package/docs/API-reference/components/history-queries/x-components.remove-history-query.md +10 -11
- package/docs/API-reference/components/identifier-results/x-components.identifier-result.md +9 -10
- package/docs/API-reference/components/identifier-results/x-components.identifier-results.md +10 -11
- package/docs/API-reference/components/next-queries/x-components.next-queries-list.md +7 -8
- package/docs/API-reference/components/next-queries/x-components.next-queries.md +14 -15
- package/docs/API-reference/components/next-queries/x-components.next-query.md +11 -12
- package/docs/API-reference/components/popular-searches/x-components.popular-search.md +11 -12
- package/docs/API-reference/components/popular-searches/x-components.popular-searches.md +13 -14
- package/docs/API-reference/components/query-suggestions/x-components.query-suggestion.md +8 -9
- package/docs/API-reference/components/query-suggestions/x-components.query-suggestions.md +8 -9
- package/docs/API-reference/components/recommendations/x-components.recommendations.md +14 -15
- package/docs/API-reference/components/related-tags/x-components.related-tag.md +19 -17
- package/docs/API-reference/components/related-tags/x-components.related-tags.md +19 -19
- package/docs/API-reference/components/scroll/x-components.main-scroll-item.md +7 -8
- package/docs/API-reference/components/scroll/x-components.main-scroll.md +7 -8
- package/docs/API-reference/components/scroll/x-components.scroll-to-top.md +9 -10
- package/docs/API-reference/components/scroll/x-components.scroll.md +25 -30
- package/docs/API-reference/components/scroll/x-components.window-scroll.md +13 -16
- package/docs/API-reference/components/search/x-components.banner.md +8 -9
- package/docs/API-reference/components/search/x-components.banners-list.md +7 -8
- package/docs/API-reference/components/search/x-components.partial-query-button.md +11 -12
- package/docs/API-reference/components/search/x-components.partial-results-list.md +11 -12
- package/docs/API-reference/components/search/x-components.promoted.md +7 -8
- package/docs/API-reference/components/search/x-components.promoteds-list.md +7 -8
- package/docs/API-reference/components/search/x-components.redirection.md +8 -9
- package/docs/API-reference/components/search/x-components.results-list.md +7 -8
- package/docs/API-reference/components/search/x-components.sort-dropdown.md +8 -9
- package/docs/API-reference/components/search/x-components.sort-list.md +8 -9
- package/docs/API-reference/components/search/x-components.spellcheck-button.md +11 -12
- package/docs/API-reference/components/search/x-components.spellcheck.md +11 -12
- package/docs/API-reference/components/search-box/x-components.clear-search-input.md +6 -7
- package/docs/API-reference/components/search-box/x-components.search-button.md +6 -7
- package/docs/API-reference/components/search-box/x-components.search-input.md +7 -8
- package/docs/API-reference/components/tagging/x-components.tagging.md +7 -8
- package/docs/API-reference/components/url/x-components.url-handler.md +7 -8
- package/docs/build-search-ui/README.md +0 -5
- package/docs/build-search-ui/web-archetype-development-guide.md +178 -0
- package/docs/build-search-ui/web-archetype-integration-guide.md +146 -143
- package/docs/build-search-ui/web-use-x-components-guide.md +0 -5
- package/docs/build-search-ui/web-x-components-integration-guide.md +3 -8
- package/docs/build-search-ui/x-architecture/README.md +0 -5
- package/js/components/animations/animate-width.vue.js +2 -2
- package/js/components/animations/animate-width.vue.js.map +1 -1
- package/js/components/animations/collapse-from-top.vue.js +2 -2
- package/js/components/animations/collapse-from-top.vue.js.map +1 -1
- package/js/components/animations/collapse-height.vue.js +2 -2
- package/js/components/animations/collapse-height.vue.js.map +1 -1
- package/js/components/animations/collapse-width.vue.js +2 -2
- package/js/components/animations/collapse-width.vue.js.map +1 -1
- package/js/components/animations/cross-fade.vue.js +2 -2
- package/js/components/animations/cross-fade.vue.js.map +1 -1
- package/js/components/animations/fade-and-slide.vue.js +2 -2
- package/js/components/animations/fade-and-slide.vue.js.map +1 -1
- package/js/components/animations/staggered-fade-and-slide.vue.js +2 -2
- package/js/components/animations/staggered-fade-and-slide.vue.js.map +1 -1
- package/js/components/animations/staggered-fade-and-slide.vue_rollup-plugin-vue=script.js +1 -1
- package/js/components/animations/staggered-fade-and-slide.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/components/{staggering-transition-group.vue.js → animations/staggering-transition-group.vue.js} +2 -2
- package/js/components/animations/staggering-transition-group.vue.js.map +1 -0
- package/js/components/{staggering-transition-group.vue_rollup-plugin-vue=script.js → animations/staggering-transition-group.vue_rollup-plugin-vue=script.js} +17 -17
- package/js/components/animations/staggering-transition-group.vue_rollup-plugin-vue=script.js.map +1 -0
- package/js/components/animations/translate-from-left.vue.js +2 -2
- package/js/components/animations/translate-from-left.vue.js.map +1 -1
- package/js/components/animations/translate-from-right.vue.js +2 -2
- package/js/components/animations/translate-from-right.vue.js.map +1 -1
- package/js/components/base-dropdown.vue.js +2 -2
- package/js/components/base-dropdown.vue.js.map +1 -1
- package/js/components/base-event-button.vue.js.map +1 -1
- package/js/components/base-grid.vue.js +2 -2
- package/js/components/base-grid.vue.js.map +1 -1
- package/js/components/base-keyboard-navigation.vue.js.map +1 -1
- package/js/components/base-rating.vue.js +2 -2
- package/js/components/base-rating.vue.js.map +1 -1
- package/js/components/base-variable-column-grid.vue.js.map +1 -1
- package/js/components/column-picker/base-column-picker-dropdown.vue.js.map +1 -1
- package/js/components/column-picker/base-column-picker-list.vue.js +2 -2
- package/js/components/column-picker/base-column-picker-list.vue.js.map +1 -1
- package/js/components/currency/base-currency.vue.js.map +1 -1
- package/js/components/filters/labels/base-price-filter-label.vue.js.map +1 -1
- package/js/components/filters/labels/base-rating-filter-label.vue.js.map +1 -1
- package/js/components/global-x-bus.vue.js.map +1 -1
- package/js/components/global-x-bus.vue_rollup-plugin-vue=script.js +2 -1
- package/js/components/global-x-bus.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/components/icons/tag.vue.js +59 -0
- package/js/components/icons/tag.vue.js.map +1 -0
- package/js/components/icons/tag.vue_rollup-plugin-vue=script.js +4 -0
- package/js/components/icons/tag.vue_rollup-plugin-vue=script.js.map +1 -0
- package/js/components/layouts/fixed-header-and-asides-layout.vue.js +212 -0
- package/js/components/layouts/fixed-header-and-asides-layout.vue.js.map +1 -0
- package/js/components/layouts/fixed-header-and-asides-layout.vue_rollup-plugin-vue=script.js +57 -0
- package/js/components/layouts/fixed-header-and-asides-layout.vue_rollup-plugin-vue=script.js.map +1 -0
- package/js/components/layouts/multi-column-max-width-layout.vue.js +3 -3
- package/js/components/layouts/multi-column-max-width-layout.vue.js.map +1 -1
- package/js/components/layouts/multi-column-max-width-layout.vue_rollup-plugin-vue=script.js +1 -1
- package/js/components/layouts/single-column-layout.vue.js +1 -1
- package/js/components/layouts/single-column-layout.vue_rollup-plugin-vue=script.js +1 -1
- package/js/components/modals/base-events-modal-close.vue.js.map +1 -1
- package/js/components/modals/base-events-modal-open.vue.js.map +1 -1
- package/js/components/modals/base-events-modal.vue.js.map +1 -1
- package/js/components/modals/base-id-modal-close.vue.js.map +1 -1
- package/js/components/modals/base-id-modal-open.vue.js.map +1 -1
- package/js/components/modals/base-id-modal.vue.js.map +1 -1
- package/js/components/modals/base-modal.vue.js +2 -2
- package/js/components/modals/base-modal.vue.js.map +1 -1
- package/js/components/panels/base-header-toggle-panel.vue.js +2 -2
- package/js/components/panels/base-header-toggle-panel.vue.js.map +1 -1
- package/js/components/panels/base-id-toggle-panel-button.vue.js.map +1 -1
- package/js/components/panels/base-id-toggle-panel.vue.js.map +1 -1
- package/js/components/panels/base-id-toggle-panel.vue_rollup-plugin-vue=script.js +4 -9
- package/js/components/panels/base-id-toggle-panel.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/components/panels/base-toggle-panel.vue.js.map +1 -1
- package/js/components/result/base-result-add-to-cart.vue.js.map +1 -1
- package/js/components/result/base-result-current-price.vue.js.map +1 -1
- package/js/components/result/base-result-image.vue.js +2 -2
- package/js/components/result/base-result-image.vue.js.map +1 -1
- package/js/components/result/base-result-link.vue.js +5 -5
- package/js/components/result/base-result-link.vue.js.map +1 -1
- package/js/components/result/base-result-link.vue_rollup-plugin-vue=script.js +3 -12
- package/js/components/result/base-result-link.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/components/result/base-result-previous-price.vue.js.map +1 -1
- package/js/components/scroll/base-scroll.vue.js +2 -2
- package/js/components/scroll/base-scroll.vue.js.map +1 -1
- package/js/components/sliding-panel.vue.js +2 -2
- package/js/components/sliding-panel.vue.js.map +1 -1
- package/js/components/suggestions/base-suggestion.vue.js.map +1 -1
- package/js/components/suggestions/base-suggestions.vue.js +2 -2
- package/js/components/suggestions/base-suggestions.vue.js.map +1 -1
- package/js/components/x-component.mixin.js +1 -4
- package/js/components/x-component.mixin.js.map +1 -1
- package/js/components/x-component.utils.js +4 -20
- package/js/components/x-component.utils.js.map +1 -1
- package/js/index.js +32 -30
- package/js/index.js.map +1 -1
- package/js/plugins/x-plugin.alias.js +21 -20
- package/js/plugins/x-plugin.alias.js.map +1 -1
- package/js/plugins/x-plugin.mixin.js +2 -2
- package/js/plugins/x-plugin.mixin.js.map +1 -1
- package/js/utils/origin.js +5 -3
- package/js/utils/origin.js.map +1 -1
- package/js/wiring/namespaced-wires.operators.js +3 -4
- package/js/wiring/namespaced-wires.operators.js.map +1 -1
- package/js/wiring/wires-operators.utils.js +55 -0
- package/js/wiring/wires-operators.utils.js.map +1 -0
- package/js/wiring/wires.operators.js +17 -12
- package/js/wiring/wires.operators.js.map +1 -1
- package/js/x-installer/x-installer/x-installer.js +1 -1
- package/js/x-installer/x-installer/x-installer.js.map +1 -1
- package/js/x-modules/empathize/components/empathize.vue.js.map +1 -1
- package/js/x-modules/empathize/components/empathize.vue_rollup-plugin-vue=script.js +1 -1
- package/js/x-modules/extra-params/components/extra-params.vue_rollup-plugin-vue=script.js +14 -12
- package/js/x-modules/extra-params/components/extra-params.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/extra-params/components/renderless-extra-param.vue.js.map +1 -1
- package/js/x-modules/extra-params/components/renderless-extra-param.vue_rollup-plugin-vue=script.js +14 -12
- package/js/x-modules/extra-params/components/renderless-extra-param.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/extra-params/components/snippet-config-extra-params.vue.js.map +1 -1
- package/js/x-modules/extra-params/components/snippet-config-extra-params.vue_rollup-plugin-vue=script.js +23 -12
- package/js/x-modules/extra-params/components/snippet-config-extra-params.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/clear-filters.vue.js.map +1 -1
- package/js/x-modules/facets/components/clear-filters.vue_rollup-plugin-vue=script.js +14 -12
- package/js/x-modules/facets/components/clear-filters.vue_rollup-plugin-vue=script.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.vue.js.map +1 -1
- package/js/x-modules/facets/components/facets/facets-provider.vue_rollup-plugin-vue=script.js +18 -23
- package/js/x-modules/facets/components/facets/facets-provider.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/facets/facets.vue.js +2 -2
- package/js/x-modules/facets/components/facets/facets.vue.js.map +1 -1
- package/js/x-modules/facets/components/filters/all-filter.vue.js.map +1 -1
- package/js/x-modules/facets/components/filters/all-filter.vue_rollup-plugin-vue=script.js +14 -12
- package/js/x-modules/facets/components/filters/all-filter.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/filters/base-filter.vue.js.map +1 -1
- package/js/x-modules/facets/components/filters/base-filter.vue_rollup-plugin-vue=script.js +14 -12
- package/js/x-modules/facets/components/filters/base-filter.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/filters/editable-number-range-filter.vue.js +1 -1
- package/js/x-modules/facets/components/filters/editable-number-range-filter.vue.js.map +1 -1
- package/js/x-modules/facets/components/filters/hierarchical-filter.vue.js.map +1 -1
- package/js/x-modules/facets/components/filters/hierarchical-filter.vue_rollup-plugin-vue=script.js +14 -12
- package/js/x-modules/facets/components/filters/hierarchical-filter.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/filters/number-range-filter.vue.js.map +1 -1
- package/js/x-modules/facets/components/filters/number-range-filter.vue_rollup-plugin-vue=script.js +14 -12
- package/js/x-modules/facets/components/filters/number-range-filter.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/filters/renderless-filter.vue.js.map +1 -1
- package/js/x-modules/facets/components/filters/renderless-filter.vue_rollup-plugin-vue=script.js +14 -12
- package/js/x-modules/facets/components/filters/renderless-filter.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/filters/simple-filter.vue.js.map +1 -1
- package/js/x-modules/facets/components/filters/simple-filter.vue_rollup-plugin-vue=script.js +14 -12
- package/js/x-modules/facets/components/filters/simple-filter.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/lists/exclude-filters-with-no-results.vue.js.map +1 -1
- package/js/x-modules/facets/components/lists/exclude-filters-with-no-results.vue_rollup-plugin-vue=script.js +14 -12
- package/js/x-modules/facets/components/lists/exclude-filters-with-no-results.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/lists/filters-list.vue.js +2 -2
- package/js/x-modules/facets/components/lists/filters-list.vue.js.map +1 -1
- package/js/x-modules/facets/components/lists/filters-list.vue_rollup-plugin-vue=script.js +14 -12
- package/js/x-modules/facets/components/lists/filters-list.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/lists/filters-search.vue.js +2 -2
- package/js/x-modules/facets/components/lists/filters-search.vue.js.map +1 -1
- package/js/x-modules/facets/components/lists/filters-search.vue_rollup-plugin-vue=script.js +14 -12
- package/js/x-modules/facets/components/lists/filters-search.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/lists/selected-filters-list.vue.js.map +1 -1
- package/js/x-modules/facets/components/lists/selected-filters.vue.js.map +1 -1
- package/js/x-modules/facets/components/lists/selected-filters.vue_rollup-plugin-vue=script.js +14 -12
- package/js/x-modules/facets/components/lists/selected-filters.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/lists/sliced-filters.vue.js.map +1 -1
- package/js/x-modules/facets/components/lists/sliced-filters.vue_rollup-plugin-vue=script.js +14 -12
- package/js/x-modules/facets/components/lists/sliced-filters.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/lists/sorted-filters.vue.js.map +1 -1
- package/js/x-modules/facets/components/lists/sorted-filters.vue_rollup-plugin-vue=script.js +14 -12
- package/js/x-modules/facets/components/lists/sorted-filters.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/history-queries/components/clear-history-queries.vue.js.map +1 -1
- package/js/x-modules/history-queries/components/history-queries.vue.js.map +1 -1
- package/js/x-modules/history-queries/components/history-queries.vue_rollup-plugin-vue=script.js +1 -1
- package/js/x-modules/history-queries/components/history-query.vue.js.map +1 -1
- package/js/x-modules/history-queries/components/history-query.vue_rollup-plugin-vue=script.js +1 -1
- package/js/x-modules/history-queries/components/remove-history-query.vue.js.map +1 -1
- package/js/x-modules/history-queries/wiring.js +1 -1
- package/js/x-modules/history-queries/wiring.js.map +1 -1
- package/js/x-modules/identifier-results/components/identifier-result.vue.js.map +1 -1
- package/js/x-modules/identifier-results/components/identifier-results.vue.js.map +1 -1
- package/js/x-modules/identifier-results/store/actions/fetch-and-save-identifier-results.action.js +4 -2
- package/js/x-modules/identifier-results/store/actions/fetch-and-save-identifier-results.action.js.map +1 -1
- package/js/x-modules/identifier-results/store/getters/identifier-results-request.getter.js +2 -3
- package/js/x-modules/identifier-results/store/getters/identifier-results-request.getter.js.map +1 -1
- package/js/x-modules/identifier-results/wiring.js +3 -2
- package/js/x-modules/identifier-results/wiring.js.map +1 -1
- package/js/x-modules/next-queries/components/next-queries-list.vue_rollup-plugin-vue=script.js +1 -1
- package/js/x-modules/next-queries/components/next-queries.vue.js.map +1 -1
- package/js/x-modules/next-queries/components/next-queries.vue_rollup-plugin-vue=script.js +1 -1
- package/js/x-modules/next-queries/components/next-query.vue.js.map +1 -1
- package/js/x-modules/next-queries/components/next-query.vue_rollup-plugin-vue=script.js +1 -1
- package/js/x-modules/popular-searches/components/popular-search.vue.js.map +1 -1
- package/js/x-modules/popular-searches/components/popular-search.vue_rollup-plugin-vue=script.js +1 -1
- package/js/x-modules/popular-searches/components/popular-searches.vue.js.map +1 -1
- package/js/x-modules/popular-searches/components/popular-searches.vue_rollup-plugin-vue=script.js +1 -1
- package/js/x-modules/query-suggestions/components/query-suggestion.vue_rollup-plugin-vue=script.js +1 -1
- package/js/x-modules/query-suggestions/components/query-suggestions.vue_rollup-plugin-vue=script.js +1 -1
- package/js/x-modules/query-suggestions/wiring.js +1 -1
- package/js/x-modules/query-suggestions/wiring.js.map +1 -1
- package/js/x-modules/recommendations/components/recommendations.vue.js +2 -2
- package/js/x-modules/recommendations/components/recommendations.vue.js.map +1 -1
- package/js/x-modules/related-tags/components/related-tag.vue.js +7 -3
- package/js/x-modules/related-tags/components/related-tag.vue.js.map +1 -1
- package/js/x-modules/related-tags/components/related-tag.vue_rollup-plugin-vue=script.js +20 -0
- package/js/x-modules/related-tags/components/related-tag.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/related-tags/components/related-tags.vue.js +15 -4
- package/js/x-modules/related-tags/components/related-tags.vue.js.map +1 -1
- package/js/x-modules/related-tags/components/related-tags.vue_rollup-plugin-vue=script.js +3 -0
- package/js/x-modules/related-tags/components/related-tags.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/scroll/components/main-scroll-item.vue_rollup-plugin-vue=script.js +16 -14
- package/js/x-modules/scroll/components/main-scroll-item.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/scroll/components/scroll-to-top.vue.js.map +1 -1
- package/js/x-modules/scroll/components/scroll-to-top.vue_rollup-plugin-vue=script.js +16 -14
- package/js/x-modules/scroll/components/scroll-to-top.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/scroll/components/scroll.vue.js.map +1 -1
- package/js/x-modules/scroll/components/scroll.vue_rollup-plugin-vue=script.js +1 -1
- package/js/x-modules/scroll/components/window-scroll.vue.js.map +1 -1
- package/js/x-modules/scroll/components/window-scroll.vue_rollup-plugin-vue=script.js +16 -14
- package/js/x-modules/scroll/components/window-scroll.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/search/components/banner.vue.js +2 -1
- package/js/x-modules/search/components/banner.vue.js.map +1 -1
- package/js/x-modules/search/components/banner.vue_rollup-plugin-vue=script.js +8 -0
- package/js/x-modules/search/components/banner.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/search/components/banners-list.vue_rollup-plugin-vue=script.js +1 -1
- package/js/x-modules/search/components/partial-query-button.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.vue.js.map +1 -1
- package/js/x-modules/search/components/promoted.vue.js +2 -1
- package/js/x-modules/search/components/promoted.vue.js.map +1 -1
- package/js/x-modules/search/components/promoted.vue_rollup-plugin-vue=script.js +8 -0
- package/js/x-modules/search/components/promoted.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/search/components/promoteds-list.vue_rollup-plugin-vue=script.js +1 -1
- package/js/x-modules/search/components/redirection.vue.js.map +1 -1
- package/js/x-modules/search/components/redirection.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/search/components/results-list.vue_rollup-plugin-vue=script.js +2 -2
- package/js/x-modules/search/components/sort-dropdown.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.vue.js.map +1 -1
- package/js/x-modules/search/components/sort-list.vue_rollup-plugin-vue=script.js +14 -12
- package/js/x-modules/search/components/sort-list.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/search/components/sort.mixin.js +14 -12
- package/js/x-modules/search/components/sort.mixin.js.map +1 -1
- package/js/x-modules/search/components/spellcheck-button.vue.js.map +1 -1
- package/js/x-modules/search/components/spellcheck.vue.js.map +1 -1
- package/js/x-modules/search/components/spellcheck.vue_rollup-plugin-vue=script.js +14 -12
- package/js/x-modules/search/components/spellcheck.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/search/store/actions/fetch-and-save-search-response.action.js +4 -1
- package/js/x-modules/search/store/actions/fetch-and-save-search-response.action.js.map +1 -1
- package/js/x-modules/search/store/getters/request.getter.js +2 -3
- package/js/x-modules/search/store/getters/request.getter.js.map +1 -1
- package/js/x-modules/search/wiring.js +4 -3
- package/js/x-modules/search/wiring.js.map +1 -1
- package/js/x-modules/search-box/components/search-input.vue.js +2 -2
- package/js/x-modules/search-box/components/search-input.vue.js.map +1 -1
- package/js/x-modules/search-box/components/search-input.vue_rollup-plugin-vue=script.js +7 -5
- package/js/x-modules/search-box/components/search-input.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/tagging/store/actions/track.action.js +2 -2
- package/js/x-modules/tagging/store/actions/track.action.js.map +1 -1
- package/js/x-modules/tagging/wiring.js +48 -4
- package/js/x-modules/tagging/wiring.js.map +1 -1
- package/js/x-modules/url/components/url-handler.vue.js +1 -1
- package/js/x-modules/url/components/url-handler.vue.js.map +1 -1
- package/js/x-modules/url/components/url-handler.vue_rollup-plugin-vue=script.js +101 -5
- package/js/x-modules/url/components/url-handler.vue_rollup-plugin-vue=script.js.map +1 -1
- package/package.json +9 -10
- package/report/tsdoc-metadata.json +1 -1
- package/report/x-adapter.api.json +27 -1
- package/report/x-components.api.json +674 -223
- package/report/x-components.api.md +86 -35
- package/report/x-types.api.json +27 -1
- package/tagging/index.js +1 -1
- package/types/adapter/mocked-adapter.d.ts.map +1 -1
- package/types/components/animations/index.d.ts +1 -0
- package/types/components/animations/index.d.ts.map +1 -1
- package/types/components/{staggering-transition-group.vue.d.ts → animations/staggering-transition-group.vue.d.ts} +0 -0
- package/types/components/animations/staggering-transition-group.vue.d.ts.map +1 -0
- package/types/components/global-x-bus.vue.d.ts.map +1 -1
- package/types/components/icons/index.d.ts +1 -0
- package/types/components/icons/index.d.ts.map +1 -1
- package/types/components/icons/tag.vue.d.ts +3 -0
- package/types/components/icons/tag.vue.d.ts.map +1 -0
- package/types/components/index.d.ts +1 -4
- package/types/components/index.d.ts.map +1 -1
- package/types/components/layouts/fixed-header-and-asides-layout.vue.d.ts +17 -0
- package/types/components/layouts/fixed-header-and-asides-layout.vue.d.ts.map +1 -0
- package/types/components/layouts/index.d.ts +4 -0
- package/types/components/layouts/index.d.ts.map +1 -0
- package/types/components/panels/base-id-toggle-panel.vue.d.ts +0 -5
- package/types/components/panels/base-id-toggle-panel.vue.d.ts.map +1 -1
- package/types/components/result/base-result-link.vue.d.ts +3 -10
- package/types/components/result/base-result-link.vue.d.ts.map +1 -1
- package/types/components/x-component.mixin.d.ts.map +1 -1
- package/types/components/x-component.utils.d.ts +1 -16
- package/types/components/x-component.utils.d.ts.map +1 -1
- package/types/plugins/x-plugin.alias.d.ts +4 -6
- package/types/plugins/x-plugin.alias.d.ts.map +1 -1
- package/types/plugins/x-plugin.mixin.d.ts +13 -3
- package/types/plugins/x-plugin.mixin.d.ts.map +1 -1
- package/types/types/origin.d.ts +1 -1
- package/types/types/origin.d.ts.map +1 -1
- package/types/utils/origin.d.ts +3 -1
- package/types/utils/origin.d.ts.map +1 -1
- package/types/utils/types.d.ts +6 -0
- package/types/utils/types.d.ts.map +1 -1
- package/types/wiring/events.types.d.ts +0 -5
- package/types/wiring/events.types.d.ts.map +1 -1
- package/types/wiring/namespaced-wires.operators.d.ts +2 -3
- package/types/wiring/namespaced-wires.operators.d.ts.map +1 -1
- package/types/wiring/namespaced-wiring.types.d.ts +9 -10
- package/types/wiring/namespaced-wiring.types.d.ts.map +1 -1
- package/types/wiring/wires-operators.utils.d.ts +36 -0
- package/types/wiring/wires-operators.utils.d.ts.map +1 -0
- package/types/wiring/wires.operators.d.ts +5 -8
- package/types/wiring/wires.operators.d.ts.map +1 -1
- package/types/wiring/wiring.types.d.ts +17 -4
- package/types/wiring/wiring.types.d.ts.map +1 -1
- package/types/x-installer/api/api.types.d.ts +2 -0
- package/types/x-installer/api/api.types.d.ts.map +1 -1
- package/types/x-installer/x-installer/x-installer.d.ts +1 -1
- package/types/x-modules/extra-params/components/snippet-config-extra-params.vue.d.ts +6 -0
- package/types/x-modules/extra-params/components/snippet-config-extra-params.vue.d.ts.map +1 -1
- package/types/x-modules/facets/components/facets/facets-provider.vue.d.ts +0 -8
- package/types/x-modules/facets/components/facets/facets-provider.vue.d.ts.map +1 -1
- package/types/x-modules/history-queries/wiring.d.ts +1 -1
- package/types/x-modules/identifier-results/store/actions/fetch-and-save-identifier-results.action.d.ts.map +1 -1
- package/types/x-modules/identifier-results/store/getters/identifier-results-request.getter.d.ts.map +1 -1
- package/types/x-modules/identifier-results/wiring.d.ts +2 -1
- package/types/x-modules/identifier-results/wiring.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/wiring.d.ts +1 -1
- package/types/x-modules/related-tags/components/related-tag.vue.d.ts +14 -0
- package/types/x-modules/related-tags/components/related-tag.vue.d.ts.map +1 -1
- package/types/x-modules/related-tags/components/related-tags.vue.d.ts +6 -0
- package/types/x-modules/related-tags/components/related-tags.vue.d.ts.map +1 -1
- package/types/x-modules/search/components/banner.vue.d.ts +6 -0
- package/types/x-modules/search/components/banner.vue.d.ts.map +1 -1
- package/types/x-modules/search/components/promoted.vue.d.ts +6 -0
- package/types/x-modules/search/components/promoted.vue.d.ts.map +1 -1
- package/types/x-modules/search/components/redirection.vue.d.ts +1 -1
- package/types/x-modules/search/components/redirection.vue.d.ts.map +1 -1
- package/types/x-modules/search/events.types.d.ts +11 -1
- package/types/x-modules/search/events.types.d.ts.map +1 -1
- package/types/x-modules/search/store/actions/fetch-and-save-search-response.action.d.ts.map +1 -1
- package/types/x-modules/search/store/getters/request.getter.d.ts.map +1 -1
- package/types/x-modules/search/wiring.d.ts +2 -1
- package/types/x-modules/search/wiring.d.ts.map +1 -1
- package/types/x-modules/search-box/components/search-input.vue.d.ts +5 -2
- package/types/x-modules/search-box/components/search-input.vue.d.ts.map +1 -1
- package/types/x-modules/tagging/wiring.d.ts +29 -9
- package/types/x-modules/tagging/wiring.d.ts.map +1 -1
- package/types/x-modules/url/components/url-handler.vue.d.ts +70 -7
- package/types/x-modules/url/components/url-handler.vue.d.ts.map +1 -1
- package/docs/API-reference/api/x-components.baseidtogglepanel.created.md +0 -17
- package/docs/API-reference/api/x-components.xcomponent.md +0 -15
- package/docs/API-reference/api/x-components.xeventstypes.userrightclickedaresult.md +0 -13
- package/docs/sidebar.json +0 -1
- package/js/components/staggering-transition-group.vue.js.map +0 -1
- package/js/components/staggering-transition-group.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/wiring/utils/wire-racing-handling.js +0 -108
- package/js/wiring/utils/wire-racing-handling.js.map +0 -1
- package/types/components/staggering-transition-group.vue.d.ts.map +0 -1
- package/types/components/x-component.types.d.ts +0 -19
- package/types/components/x-component.types.d.ts.map +0 -1
- package/types/wiring/utils/wire-racing-handling.d.ts +0 -27
- package/types/wiring/utils/wire-racing-handling.d.ts.map +0 -1
package/docs/API-reference/components/common/panels/x-components.base-id-toggle-panel-button.md
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
title:
|
|
4
|
-
|
|
2
|
+
|
|
3
|
+
title: BaseIdTogglePanelButton
|
|
4
|
+
|
|
5
5
|
---
|
|
6
|
-
# base-id-toggle-panel-button
|
|
7
6
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
# BaseIdTogglePanelButton
|
|
8
|
+
|
|
9
|
+
Component containing an event button that emits
|
|
10
|
+
{@link XEventsTypes.UserClickedPanelToggleButton} when clicked with
|
|
11
|
+
the panelId as payload.
|
|
11
12
|
|
|
12
13
|
It has a default slot to customize its contents.
|
|
13
14
|
|
|
@@ -23,11 +24,9 @@ It has a default slot to customize its contents.
|
|
|
23
24
|
| -------------------- | ------------------------------------------------------ | ----------------------------------------- |
|
|
24
25
|
| <code>default</code> | (Required) Button content with a text, an icon or both | |
|
|
25
26
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
# Examples
|
|
27
|
+
## Examples
|
|
29
28
|
|
|
30
|
-
|
|
29
|
+
### Basic example
|
|
31
30
|
|
|
32
31
|
The component rendering content passed to the default slot and opening the panel toggle with panelId
|
|
33
32
|
`my-toggle`.
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
title:
|
|
4
|
-
|
|
2
|
+
|
|
3
|
+
title: BaseIdTogglePanel
|
|
4
|
+
|
|
5
5
|
---
|
|
6
|
-
# base-id-toggle-panel
|
|
7
6
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
# BaseIdTogglePanel
|
|
8
|
+
|
|
9
|
+
Simple panel that could receives its initial open state via prop, if not the default is opens
|
|
10
|
+
and a required prop, named `panelId`, which are responsible of rendering default slot
|
|
11
|
+
inside a configurable transition.
|
|
11
12
|
|
|
12
13
|
It reacts to `UserClickedPanelToggleButton` event, when their payload matches the component's
|
|
13
14
|
'panelId' prop, to handle its open/close state.
|
|
@@ -28,11 +29,9 @@ The default slot offers the possibility to customise the modal content.
|
|
|
28
29
|
| -------------------- | -------------------------- | ----------------------------------------- |
|
|
29
30
|
| <code>default</code> | (Required) Default content | None |
|
|
30
31
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
# Examples
|
|
32
|
+
## Examples
|
|
34
33
|
|
|
35
|
-
|
|
34
|
+
### Basic usage
|
|
36
35
|
|
|
37
36
|
Using default slot:
|
|
38
37
|
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
title:
|
|
4
|
-
|
|
2
|
+
|
|
3
|
+
title: BaseTogglePanel
|
|
4
|
+
|
|
5
5
|
---
|
|
6
|
+
|
|
6
7
|
# BaseTogglePanel
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
Simple panel that receives its open state via prop, which is responsible of rendering
|
|
10
|
+
default slot inside a configurable transition.
|
|
10
11
|
|
|
11
12
|
## Props
|
|
12
13
|
|
|
@@ -21,14 +22,12 @@ sidebar_label: Base Toggle Panel
|
|
|
21
22
|
| -------------------- | -------------------------- | ----------------------------------------- |
|
|
22
23
|
| <code>default</code> | (Required) Default content | None |
|
|
23
24
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
# Examples
|
|
25
|
+
## Examples
|
|
27
26
|
|
|
28
27
|
Simple panel that receives its open state via prop, which is responsible of rendering default slot
|
|
29
28
|
inside a configurable transition.
|
|
30
29
|
|
|
31
|
-
|
|
30
|
+
### Basic usage
|
|
32
31
|
|
|
33
32
|
Using default slot:
|
|
34
33
|
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
title:
|
|
4
|
-
|
|
2
|
+
|
|
3
|
+
title: BaseResultAddToCart
|
|
4
|
+
|
|
5
5
|
---
|
|
6
|
-
# base-result-add-to-cart
|
|
7
6
|
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
# BaseResultAddToCart
|
|
8
|
+
|
|
9
|
+
Renders a button with a default slot. It receives the result with the data and emits
|
|
10
|
+
{@link XEventsTypes.UserClickedResultAddToCart} to the bus on click mouse event.
|
|
10
11
|
|
|
11
12
|
## Props
|
|
12
13
|
|
|
@@ -20,14 +21,12 @@ sidebar_label: Base Result Add To Cart
|
|
|
20
21
|
| -------------------- | ------------------------------------------------------ | ----------------------------------------- |
|
|
21
22
|
| <code>default</code> | (Required) Button content with a text, an icon or both | None |
|
|
22
23
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
# Examples
|
|
24
|
+
## Examples
|
|
26
25
|
|
|
27
26
|
Renders a button with a default slot. It receives the result with the data and emits an event
|
|
28
27
|
`UserClickedResultAddToCart` to the bus on click mouse event.
|
|
29
28
|
|
|
30
|
-
|
|
29
|
+
### Basic example
|
|
31
30
|
|
|
32
31
|
This component is a button to emit `UserClickedResultAddToCart` whe clicked by the user
|
|
33
32
|
|
package/docs/API-reference/components/common/result/x-components.base-result-current-price.md
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
title:
|
|
4
|
-
|
|
2
|
+
|
|
3
|
+
title: BaseResultCurrentPrice
|
|
4
|
+
|
|
5
5
|
---
|
|
6
|
-
# base-result-current-price
|
|
7
6
|
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
# BaseResultCurrentPrice
|
|
8
|
+
|
|
9
|
+
Component that renders the {@link @empathyco/x-types#Result | result} current price
|
|
10
|
+
that may or may not be on sale.
|
|
10
11
|
|
|
11
12
|
## Props
|
|
12
13
|
|
|
@@ -21,11 +22,9 @@ sidebar_label: Base Result Current Price
|
|
|
21
22
|
| -------------------- | ------------------ | -------------------------------------------- |
|
|
22
23
|
| <code>default</code> | Base currency item | **result** <code>result</code> - Result data |
|
|
23
24
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
# Examples
|
|
25
|
+
## Examples
|
|
27
26
|
|
|
28
|
-
|
|
27
|
+
### Basic example
|
|
29
28
|
|
|
30
29
|
This component shows the current price formatted. You can provide the `format` by property or let
|
|
31
30
|
the `BaseCurrency` component use an injected one.
|
|
@@ -34,7 +33,7 @@ the `BaseCurrency` component use an injected one.
|
|
|
34
33
|
<BaseResultCurrentPrice :value="result" :format="'i.iii,ddd €'" />
|
|
35
34
|
```
|
|
36
35
|
|
|
37
|
-
|
|
36
|
+
### Overriding default slot
|
|
38
37
|
|
|
39
38
|
```vue
|
|
40
39
|
<BaseResultCurrentPrice :result="result">
|
package/docs/API-reference/components/common/result/x-components.base-result-fallback-image.md
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
title:
|
|
4
|
-
|
|
2
|
+
|
|
3
|
+
title: BaseResultFallbackImage
|
|
4
|
+
|
|
5
5
|
---
|
|
6
|
-
# base-result-fallback-image
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
# BaseResultFallbackImage
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
title:
|
|
4
|
-
|
|
2
|
+
|
|
3
|
+
title: BaseResultImage
|
|
4
|
+
|
|
5
5
|
---
|
|
6
|
-
# base-result-image
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
# BaseResultImage
|
|
8
|
+
|
|
9
|
+
Component to be reused that renders an `<img>`.
|
|
9
10
|
|
|
10
11
|
## Props
|
|
11
12
|
|
|
@@ -21,11 +22,9 @@ sidebar_label: Base Result Image
|
|
|
21
22
|
| <code>placeholder</code> | (Required) Loading image content. It will be rendered while the real image is not loaded | None |
|
|
22
23
|
| <code>fallback</code> | (Required) Fallback image content. It will be rendered when all the images failed | None |
|
|
23
24
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
# Examples
|
|
25
|
+
## Examples
|
|
27
26
|
|
|
28
|
-
|
|
27
|
+
### Basic example
|
|
29
28
|
|
|
30
29
|
This component is for the result image. It may be part of the search result page, recommendations or
|
|
31
30
|
other section which needs to include results.
|
|
@@ -36,7 +35,7 @@ The result prop is required. It will render a `<img/>` with the result image:
|
|
|
36
35
|
<BaseResultImage :result="result" />
|
|
37
36
|
```
|
|
38
37
|
|
|
39
|
-
|
|
38
|
+
### Customizing slots content
|
|
40
39
|
|
|
41
40
|
Fallback and placeholder contents can be customized.
|
|
42
41
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
title:
|
|
4
|
-
|
|
2
|
+
|
|
3
|
+
title: BaseResultLink
|
|
4
|
+
|
|
5
5
|
---
|
|
6
|
+
|
|
6
7
|
# BaseResultLink
|
|
7
8
|
|
|
8
|
-
|
|
9
|
+
Component to be reused that renders an `<a>` wrapping the result contents.
|
|
9
10
|
|
|
10
|
-
It has the logic to emit {@link XEventsTypes.UserClickedAResult}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
depending where it's used its father component may provide this events.
|
|
11
|
+
It has the logic to emit {@link XEventsTypes.UserClickedAResult} to the bus on click mouse
|
|
12
|
+
events. Additionally, this component may be injected other events to be emitted on click
|
|
13
|
+
event, so, depending where it's used its father component may provide this events.
|
|
14
14
|
|
|
15
15
|
## Props
|
|
16
16
|
|
|
@@ -24,18 +24,19 @@ depending where it's used its father component may provide this events.
|
|
|
24
24
|
| -------------------- | ------------------------------------------------------------------------ | -------------------------------------------- |
|
|
25
25
|
| <code>default</code> | (Required) Link content with a text, an image, another component or both | **result** <code>Result</code> - Result data |
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
## Events
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
This component emits the following event:
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
- [`UserClickedAResult`](x-components.xeventstypes.userclickedaresult.md)
|
|
32
|
+
|
|
33
|
+
The component can emit more events on click using the `resultClickExtraEvents` prop.
|
|
34
|
+
|
|
35
|
+
## See it in action
|
|
32
36
|
|
|
33
37
|
This component is a wrapper for the result contents (images, name, price...) It may be part of the
|
|
34
38
|
search result page, recommendations or other section which needs to include results.
|
|
35
39
|
|
|
36
|
-
This component will emit `UserClickedAResult` when clicked or middle clicked and
|
|
37
|
-
`UserRightClickedAResult` when right clicked.
|
|
38
|
-
|
|
39
40
|
Additionally, this component may be injected other events to be emitted on click event, so,
|
|
40
41
|
depending where it's used its father component may provide this events.
|
|
41
42
|
|
|
@@ -49,13 +50,3 @@ The result prop is required. It will render a `<a></a>` with the href to the res
|
|
|
49
50
|
</template>
|
|
50
51
|
</BaseResultLink>
|
|
51
52
|
```
|
|
52
|
-
|
|
53
|
-
## Events
|
|
54
|
-
|
|
55
|
-
A list of events that the component will emit:
|
|
56
|
-
|
|
57
|
-
- `UserClickedAResult`: the event is emitted after the user clicks the element. The event payload is
|
|
58
|
-
the result data.
|
|
59
|
-
- `UserRightClickedAResult`: the event is emitted after the user right clicks the element. The event
|
|
60
|
-
payload is the result data.
|
|
61
|
-
- The component can emit more events on click using the `resultClickExtraEvents` prop.
|
package/docs/API-reference/components/common/result/x-components.base-result-placeholder-image.md
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
title:
|
|
4
|
-
|
|
2
|
+
|
|
3
|
+
title: BaseResultPlaceholderImage
|
|
4
|
+
|
|
5
5
|
---
|
|
6
|
-
# base-result-placeholder-image
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
# BaseResultPlaceholderImage
|
package/docs/API-reference/components/common/result/x-components.base-result-previous-price.md
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
title:
|
|
4
|
-
|
|
2
|
+
|
|
3
|
+
title: BaseResultPreviousPrice
|
|
4
|
+
|
|
5
5
|
---
|
|
6
|
-
# base-result-previous-price
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
# BaseResultPreviousPrice
|
|
8
|
+
|
|
9
|
+
Component that renders the {@link @empathyco/x-types#Result | result} previous price.
|
|
9
10
|
|
|
10
11
|
## Props
|
|
11
12
|
|
|
@@ -20,11 +21,9 @@ sidebar_label: Base Result Previous Price
|
|
|
20
21
|
| -------------------- | ------------------ | -------------------------------------------- |
|
|
21
22
|
| <code>default</code> | Base currency item | **result** <code>result</code> - Result data |
|
|
22
23
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
# Examples
|
|
24
|
+
## Examples
|
|
26
25
|
|
|
27
|
-
|
|
26
|
+
### Basic example
|
|
28
27
|
|
|
29
28
|
This component shows the previous price formatted if it has discount. The component has two optional
|
|
30
29
|
props. `format` to select the currency format to be applied.
|
|
@@ -33,7 +32,7 @@ props. `format` to select the currency format to be applied.
|
|
|
33
32
|
<BaseResultPreviousPrice :value="result" :format="'i.iii,ddd €'" />
|
|
34
33
|
```
|
|
35
34
|
|
|
36
|
-
|
|
35
|
+
### Overriding default slot
|
|
37
36
|
|
|
38
37
|
```vue
|
|
39
38
|
<BaseResultPreviousPrice :result="result">
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
title:
|
|
4
|
-
|
|
2
|
+
|
|
3
|
+
title: BaseScroll
|
|
4
|
+
|
|
5
5
|
---
|
|
6
|
+
|
|
6
7
|
# BaseScroll
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
Base scroll component that depending on the user interactivity emits different events for
|
|
10
|
+
knowing when the user scrolls, the direction of scroll and if user reaches the start or end.
|
|
10
11
|
|
|
11
12
|
## Props
|
|
12
13
|
|
|
@@ -33,9 +34,7 @@ sidebar_label: Base Scroll
|
|
|
33
34
|
| -------------------- | ----------- | ----------------------------------------- |
|
|
34
35
|
| <code>default</code> | | None |
|
|
35
36
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
# Example
|
|
37
|
+
## Example
|
|
39
38
|
|
|
40
39
|
The BaseScroll is a component that manage the states of scroll of a specified element. The component
|
|
41
40
|
does the necessary calculations for knowing the direction of scroll, if the scroll has reached to
|
|
@@ -91,7 +90,7 @@ export default {
|
|
|
91
90
|
</script>
|
|
92
91
|
```
|
|
93
92
|
|
|
94
|
-
|
|
93
|
+
### Avoid reset scroll on query change
|
|
95
94
|
|
|
96
95
|
Set to false the reset scroll on query change feature which is true by default.
|
|
97
96
|
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
title:
|
|
4
|
-
|
|
2
|
+
|
|
3
|
+
title: BaseSuggestion
|
|
4
|
+
|
|
5
5
|
---
|
|
6
|
+
|
|
6
7
|
# BaseSuggestion
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
Renders a button with a default slot. It receives a query, which should be the query of the
|
|
10
|
+
module using this component, a suggestion, the {@link XEvent | XEvents} that will be emitted
|
|
11
|
+
on click with a given feature.
|
|
11
12
|
|
|
12
13
|
The default slot receives the suggestion and the matched query has props.
|
|
13
14
|
|
|
@@ -26,21 +27,19 @@ The default slot receives the suggestion and the matched query has props.
|
|
|
26
27
|
| -------------------- | -------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
27
28
|
| <code>default</code> | Button content | **suggestion** <code>Suggestion</code> - Suggestion data<br />**queryHTML** <code>string</code> - Suggestion's query with the matching part inside a `<span>` tag |
|
|
28
29
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
# Examples
|
|
30
|
+
## Examples
|
|
32
31
|
|
|
33
32
|
This default suggestion component expects a suggestion to render and pass to its default slot, a
|
|
34
33
|
normalized query to compare with the suggestion's query and highlight its matching parts and events
|
|
35
34
|
to emit when the suggestion is selected.
|
|
36
35
|
|
|
37
|
-
|
|
36
|
+
### Default usage
|
|
38
37
|
|
|
39
38
|
```vue
|
|
40
39
|
<BaseSuggestion v-bind="{ query, suggestion, suggestionSelectedEvents }" />
|
|
41
40
|
```
|
|
42
41
|
|
|
43
|
-
|
|
42
|
+
### Customized usage
|
|
44
43
|
|
|
45
44
|
```vue
|
|
46
45
|
<BaseSuggestion v-bind="{ query, suggestion, suggestionSelectedEvents }">
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
title:
|
|
4
|
-
|
|
2
|
+
|
|
3
|
+
title: BaseSuggestions
|
|
4
|
+
|
|
5
5
|
---
|
|
6
|
+
|
|
6
7
|
# BaseSuggestions
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
Paints a list of suggestions passed in by prop. Requires a component for a single suggestion
|
|
10
|
+
in the default slot for working.
|
|
10
11
|
|
|
11
12
|
## Props
|
|
12
13
|
|
|
@@ -22,9 +23,7 @@ sidebar_label: Base Suggestions
|
|
|
22
23
|
| -------------------- | ---------------------------- | -------------------------------------------------------------------------------------------------------------- |
|
|
23
24
|
| <code>default</code> | (Required) List item content | **suggestion** <code>Suggestion</code> - Suggestion data<br />**index** <code>number</code> - Suggestion index |
|
|
24
25
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
# Examples
|
|
26
|
+
## Examples
|
|
28
27
|
|
|
29
28
|
For this component to work, you will need to set a list of suggestions as prop, and also to
|
|
30
29
|
implement the component for single suggestion, which handles the click event. In the following
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
title:
|
|
4
|
-
|
|
2
|
+
|
|
3
|
+
title: AutoProgressBar
|
|
4
|
+
|
|
5
5
|
---
|
|
6
|
+
|
|
6
7
|
# AutoProgressBar
|
|
7
8
|
|
|
8
|
-
|
|
9
|
+
An auto progress bar component.
|
|
9
10
|
|
|
10
11
|
## Props
|
|
11
12
|
|
|
@@ -14,8 +15,6 @@ sidebar_label: Auto Progress Bar
|
|
|
14
15
|
| <code>isLoading</code> | A boolean flag indicating if the bar is loading. | <code>boolean</code> | <code>true</code> |
|
|
15
16
|
| <code>durationInSeconds</code> | The duration in seconds of the progress bar. | <code>number</code> | <code>5</code> |
|
|
16
17
|
|
|
17
|
-
---
|
|
18
|
-
|
|
19
18
|
## See it in action
|
|
20
19
|
|
|
21
20
|
Here you have a basic example of how the auto progress bar is rendered.
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
title:
|
|
4
|
-
|
|
2
|
+
|
|
3
|
+
title: BaseDropdown
|
|
4
|
+
|
|
5
5
|
---
|
|
6
|
-
# base-dropdown
|
|
7
6
|
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
# BaseDropdown
|
|
8
|
+
|
|
9
|
+
Dropdown component that mimics a Select element behavior, but with the option
|
|
10
|
+
to customize the toggle button and each item contents.
|
|
10
11
|
|
|
11
12
|
## Props
|
|
12
13
|
|
|
@@ -30,9 +31,7 @@ sidebar_label: Base Dropdown
|
|
|
30
31
|
| <code>toggle</code> | Used to render the contents of the dropdown toggle button. If not provided, it uses<br /> the item slot as fallback. | **isOpen** <code>boolean</code> - True if the dropdown is opened, and false if it is closed.<br />**item** <code>string | number | Identifiable</code> - The item data to render. |
|
|
31
32
|
| <code>item</code> | Used to render the contents of the dropdown toggle button. If not provided, it uses<br /> the item slot as fallback. | **isHighlighted** <code>boolean</code> - True when the item has the focus.<br />**isSelected** <code>boolean</code> - True when the item is selected.<br />**item** <code>string | number | Identifiable</code> - Item to render |
|
|
32
33
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
# Example
|
|
34
|
+
## Example
|
|
36
35
|
|
|
37
36
|
The `Dropdown` component is a simple yet customizable select component. The component needs to work
|
|
38
37
|
the list of items available to select, which are passed using the `items` prop, and the selected
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
title:
|
|
4
|
-
|
|
2
|
+
|
|
3
|
+
title: BaseEventButton
|
|
4
|
+
|
|
5
5
|
---
|
|
6
|
+
|
|
6
7
|
# BaseEventButton
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
Component to be reused that renders a `<button>` with the logic of emitting events to the bus
|
|
10
|
+
on click. The events are passed as an object to prop {@link XEventsTypes | events}.
|
|
11
|
+
The keys are the event name and the values are the payload of each event. All events are
|
|
12
|
+
emitted with its respective payload. If any event doesn't need payload a `undefined` must be
|
|
13
|
+
passed as value.
|
|
13
14
|
|
|
14
15
|
## Props
|
|
15
16
|
|
|
@@ -23,11 +24,9 @@ sidebar_label: Base Event Button
|
|
|
23
24
|
| -------------------- | ------------------------------------------------------ | ----------------------------------------- |
|
|
24
25
|
| <code>default</code> | (Required) Button content with a text, an icon or both | None |
|
|
25
26
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
# Examples
|
|
27
|
+
## Examples
|
|
29
28
|
|
|
30
|
-
|
|
29
|
+
### Basic example
|
|
31
30
|
|
|
32
31
|
The event prop is required. It will render a <button></button> that emits the event passed as prop
|
|
33
32
|
with the value as payload on click:
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
title:
|
|
4
|
-
|
|
2
|
+
|
|
3
|
+
title: BaseGrid
|
|
4
|
+
|
|
5
5
|
---
|
|
6
|
-
# base-grid
|
|
7
6
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
# BaseGrid
|
|
8
|
+
|
|
9
|
+
Grid component that is able to render different items based on their modelName value. In order
|
|
10
|
+
to achieve this, it exposes a scopedSlot for each different modelName. In case the items used
|
|
11
|
+
do not have modelName property, the default slot is used instead. It has a required property:
|
|
12
|
+
the `items` to render; and an optional one: the number `columns` the grid is divided in. If the
|
|
13
|
+
number of columns is not specified, the grid automatically fills the rows with as many columns
|
|
14
|
+
as it can fit.
|
|
14
15
|
|
|
15
16
|
## Props
|
|
16
17
|
|
|
@@ -26,9 +27,7 @@ sidebar_label: Base Grid
|
|
|
26
27
|
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------- |
|
|
27
28
|
| <code>default</code> | Customized item rendering. Specifying a slot with the item's modelName will result in<br /> the item using that slot composition to render. | **item** <code>item</code> - Item to render |
|
|
28
29
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
# Examples
|
|
30
|
+
## Examples
|
|
32
31
|
|
|
33
32
|
This component renders a list of elements in different slots depending on their modelName. In order
|
|
34
33
|
to achieve this, it exposes a scopedSlot for each different modelName. In case the items used do not
|
|
@@ -36,7 +35,7 @@ have modelName property, the default slot is used instead. It has a required pro
|
|
|
36
35
|
to render, and an optional one, the number of `columns` the grid is divided in. If the number of
|
|
37
36
|
columns is not specified, the grid automatically fills the rows with as many columns as it can fit.
|
|
38
37
|
|
|
39
|
-
|
|
38
|
+
### Basic example
|
|
40
39
|
|
|
41
40
|
It renders a list of items using the default slot:
|
|
42
41
|
|
|
@@ -50,7 +49,7 @@ It renders a list of items using the default slot:
|
|
|
50
49
|
</template>
|
|
51
50
|
```
|
|
52
51
|
|
|
53
|
-
|
|
52
|
+
### Configuring the number of columns
|
|
54
53
|
|
|
55
54
|
It renders a grid with 12 columns instead of 6, which is the default value:
|
|
56
55
|
|
|
@@ -64,7 +63,7 @@ It renders a grid with 12 columns instead of 6, which is the default value:
|
|
|
64
63
|
</template>
|
|
65
64
|
```
|
|
66
65
|
|
|
67
|
-
|
|
66
|
+
### Rendering usage
|
|
68
67
|
|
|
69
68
|
Configuring the number of columns.
|
|
70
69
|
|