@empathyco/x-components 3.0.0-alpha.27 → 3.0.0-alpha.30
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 +133 -0
- package/core/index.js +9 -9
- package/core/index.js.map +1 -1
- package/design-system/badge-default.css +2 -5
- package/design-system/base.css +10 -1
- package/design-system/button-default.css +6 -11
- package/design-system/default-theme.css +229 -291
- package/design-system/dropdown-default.css +21 -38
- package/design-system/dropdown-line.css +10 -0
- package/design-system/facet-default.css +11 -22
- package/design-system/filter-default.css +10 -19
- package/design-system/filter-hierarchical.css +6 -10
- package/design-system/full-theme.css +1767 -1171
- package/design-system/grid-default.css +2 -1
- package/design-system/icon-default.css +3 -7
- package/design-system/input-default.css +6 -22
- package/design-system/input-group-default.css +18 -46
- package/design-system/input-group-line.css +6 -10
- package/design-system/list-default.css +31 -63
- package/design-system/message-default.css +57 -0
- package/design-system/option-list-default.css +3 -5
- package/design-system/picture-default.css +1 -2
- package/design-system/picture-fixed-ratio.css +6 -10
- package/design-system/progress-bar-progress-bar.css +23 -0
- package/design-system/row-default.css +1 -2
- package/design-system/sliding-panel-default.css +1 -2
- package/design-system/suggestion-default.css +9 -17
- package/design-system/suggestion-group-default.css +9 -17
- package/design-system/tag-default.css +6 -11
- package/design-system/utilities-border-radius.css +860 -312
- package/design-system/utilities-dev-mode.css +11 -0
- package/design-system/utilities-font-weight.css +8 -0
- package/design-system/utilities-margin.css +318 -268
- package/design-system/utilities-padding.css +308 -250
- package/docs/API-reference/api/x-adapter.empathybannermapper._constructor_.md +2 -2
- package/docs/API-reference/api/x-adapter.empathypromotedmapper._constructor_.md +2 -2
- package/docs/API-reference/api/x-adapter.empathyredirectionmapper._constructor_.md +2 -2
- package/docs/API-reference/api/x-adapter.empathyresultmapper._constructor_.md +2 -2
- package/docs/API-reference/api/x-adapter.empathytaggingmapper.map.md +3 -3
- package/docs/API-reference/api/x-adapter.empathytaggingmapper.md +2 -2
- package/docs/API-reference/api/x-adapter.searchresponse.md +1 -1
- package/docs/API-reference/api/x-adapter.searchresponse.querytagging.md +1 -1
- package/docs/API-reference/api/x-adapter.trackableshowresponse.md +1 -1
- package/docs/API-reference/api/x-adapter.trackableshowresponse.showtagging.md +1 -1
- package/docs/API-reference/api/x-components.autoprogressbar.durationinseconds.md +13 -0
- package/docs/API-reference/api/x-components.autoprogressbar.isloading.md +13 -0
- package/docs/API-reference/api/x-components.autoprogressbar.md +22 -0
- package/docs/API-reference/api/x-components.baseresultlink.md +0 -11
- package/docs/API-reference/api/x-components.basescroll.md +0 -12
- package/docs/API-reference/api/x-components.basesuggestion.emitevents.md +17 -0
- package/docs/API-reference/api/x-components.basesuggestion.feature.md +13 -0
- package/docs/API-reference/api/x-components.basesuggestion.md +8 -1
- package/docs/API-reference/api/x-components.clearpendingscrolltowire.md +13 -0
- package/docs/API-reference/api/x-components.defaultfacetsservice.updatefiltersselectedstate.md +1 -1
- package/docs/API-reference/api/x-components.defaultsessionservice._constructor_.md +21 -0
- package/docs/API-reference/api/x-components.defaultsessionservice.clearsessionid.md +15 -0
- package/docs/API-reference/api/x-components.defaultsessionservice.getsessionid.md +15 -0
- package/docs/API-reference/api/x-components.defaultsessionservice.instance.md +13 -0
- package/docs/API-reference/api/x-components.defaultsessionservice.md +37 -0
- package/docs/API-reference/api/x-components.defaultsessionservice.session_id_key.md +11 -0
- package/docs/API-reference/api/x-components.defaultsessionservice.storageservice.md +11 -0
- package/docs/API-reference/api/x-components.defaultsessionservice.ttlms.md +11 -0
- package/docs/API-reference/api/x-components.extraparams.md +2 -0
- package/docs/API-reference/api/x-components.extraparams.mounted.md +17 -0
- package/docs/API-reference/api/x-components.extraparams.storeextraparams.md +13 -0
- package/docs/API-reference/api/x-components.extraparamsxevents.extraparamschanged.md +2 -0
- package/docs/API-reference/api/x-components.extraparamsxevents.extraparamsinitialized.md +13 -0
- package/docs/API-reference/api/x-components.extraparamsxevents.extraparamsprovided.md +2 -0
- package/docs/API-reference/api/x-components.extraparamsxevents.md +4 -3
- package/docs/API-reference/api/x-components.extraparamsxevents.userchangedextraparams.md +2 -0
- package/docs/API-reference/api/x-components.featurelocation.md +22 -0
- package/docs/API-reference/api/x-components.identifierresults.md +1 -0
- package/docs/API-reference/api/x-components.identifierresults.resultclickextraevents.md +13 -0
- package/docs/API-reference/api/x-components.identifierresultsactions.md +1 -0
- package/docs/API-reference/api/x-components.identifierresultsactions.saveorigin.md +24 -0
- package/docs/API-reference/api/x-components.identifierresultsmutations.md +1 -0
- package/docs/API-reference/api/x-components.identifierresultsmutations.setorigin.md +24 -0
- package/docs/API-reference/api/x-components.identifierresultsstate.md +1 -0
- package/docs/API-reference/api/x-components.identifierresultsstate.origin.md +13 -0
- package/docs/API-reference/api/x-components.locationprovider.location.md +13 -0
- package/docs/API-reference/api/x-components.locationprovider.md +21 -0
- package/docs/API-reference/api/x-components.mainscroll.margin.md +13 -0
- package/docs/API-reference/api/x-components.mainscroll.md +33 -0
- package/docs/API-reference/api/{x-components.basemainscroll.mounted.md → x-components.mainscroll.mounted.md} +4 -2
- package/docs/API-reference/api/x-components.mainscroll.restorescrolltimeoutms.md +13 -0
- package/docs/API-reference/api/x-components.mainscroll.threshold.md +13 -0
- package/docs/API-reference/api/x-components.mainscroll.usewindow.md +13 -0
- package/docs/API-reference/api/x-components.mainscroll.visibleelementsobserver.md +13 -0
- package/docs/API-reference/api/x-components.mainscrollitem._el.md +13 -0
- package/docs/API-reference/api/x-components.mainscrollitem.item.md +13 -0
- package/docs/API-reference/api/x-components.mainscrollitem.md +29 -0
- package/docs/API-reference/api/x-components.mainscrollitem.observeitem.md +25 -0
- package/docs/API-reference/api/x-components.mainscrollitem.tag.md +13 -0
- package/docs/API-reference/api/x-components.md +48 -11
- package/docs/API-reference/api/x-components.multicolumnmaxwidthlayout.md +2 -3
- package/docs/API-reference/api/{x-components.partialquerybutton.events.md → x-components.partialquerybutton.emitevents.md} +8 -4
- package/docs/API-reference/api/x-components.partialquerybutton.md +6 -1
- package/docs/API-reference/api/x-components.queryfeature.md +13 -0
- package/docs/API-reference/api/x-components.queryorigin.md +4 -2
- package/docs/API-reference/api/x-components.queryorigininit.md +15 -0
- package/docs/API-reference/api/x-components.redirection.abortredirect.md +17 -0
- package/docs/API-reference/api/x-components.redirection.delayinseconds.md +18 -0
- package/docs/API-reference/api/x-components.redirection.isredirecting.md +13 -0
- package/docs/API-reference/api/x-components.redirection.md +31 -0
- package/docs/API-reference/api/x-components.redirection.mode.md +13 -0
- package/docs/API-reference/api/x-components.redirection.redirect.md +17 -0
- package/docs/API-reference/api/x-components.redirection.redirections.md +11 -0
- package/docs/API-reference/api/x-components.relatedtag.emitevents.md +17 -0
- package/docs/API-reference/api/x-components.relatedtag.md +6 -0
- package/docs/API-reference/api/x-components.renderlessextraparams.md +2 -3
- package/docs/API-reference/api/{x-components.renderlessextraparams.defaultvalue.md → x-components.renderlessextraparams.stateparams.md} +4 -4
- package/docs/API-reference/api/x-components.requeststatus.md +1 -1
- package/docs/API-reference/api/x-components.resultfeature.md +13 -0
- package/docs/API-reference/api/x-components.resultorigin.md +15 -0
- package/docs/API-reference/api/x-components.saveidentifierresultsoriginwire.md +13 -0
- package/docs/API-reference/api/x-components.saveorigin.md +13 -0
- package/docs/API-reference/api/{x-components.setorigin.md → x-components.saveoriginwire.md} +3 -3
- package/docs/API-reference/api/{x-components.baseidscroll.distancetobottom.md → x-components.scroll.distancetobottom.md} +2 -2
- package/docs/API-reference/api/{x-components.baseidscroll.id.md → x-components.scroll.id.md} +2 -2
- package/docs/API-reference/api/x-components.scroll.md +23 -0
- package/docs/API-reference/api/{x-components.baseidscroll.throttlems.md → x-components.scroll.throttlems.md} +2 -2
- package/docs/API-reference/api/{x-components.urlstate.params.md → x-components.scrollactions.md} +5 -3
- package/docs/API-reference/api/x-components.scrollcomponentstate.direction.md +13 -0
- package/docs/API-reference/api/x-components.scrollcomponentstate.hasalmostreachedend.md +13 -0
- package/docs/API-reference/api/x-components.scrollcomponentstate.hasreachedend.md +13 -0
- package/docs/API-reference/api/x-components.scrollcomponentstate.hasreachedstart.md +13 -0
- package/docs/API-reference/api/x-components.scrollcomponentstate.md +24 -0
- package/docs/API-reference/api/x-components.scrollcomponentstate.position.md +13 -0
- package/docs/API-reference/api/x-components.scrollgetters.md +13 -0
- package/docs/API-reference/api/x-components.scrollmixin._el.md +13 -0
- package/docs/API-reference/api/x-components.scrollmixin.firstelementthresholdpx.md +13 -0
- package/docs/API-reference/api/x-components.scrollmixin.md +3 -0
- package/docs/API-reference/api/x-components.scrollmixin.resetonchange.md +13 -0
- package/docs/API-reference/api/x-components.scrollmutations.md +21 -0
- package/docs/API-reference/api/x-components.scrollmutations.setpendingscrollto.md +24 -0
- package/docs/API-reference/api/x-components.scrollmutations.setscrollcomponentstate.md +24 -0
- package/docs/API-reference/api/x-components.scrollstate.data.md +13 -0
- package/docs/API-reference/api/x-components.scrollstate.md +21 -0
- package/docs/API-reference/api/x-components.scrollstate.pendingscrollto.md +13 -0
- package/docs/API-reference/api/x-components.scrollstatepayload.md +21 -0
- package/docs/API-reference/api/x-components.scrollstatepayload.newstate.md +13 -0
- package/docs/API-reference/api/{x-components.basescrolltotop.animation.md → x-components.scrolltotop.animation.md} +2 -2
- package/docs/API-reference/api/x-components.scrolltotop.md +23 -0
- package/docs/API-reference/api/{x-components.basescrolltotop.scrollid.md → x-components.scrolltotop.scrollid.md} +3 -3
- package/docs/API-reference/api/{x-components.basescrolltotop.thresholdpx.md → x-components.scrolltotop.thresholdpx.md} +2 -2
- package/docs/API-reference/api/x-components.scrollvisibilityobserver.md +21 -0
- package/docs/API-reference/api/x-components.scrollvisibilityobserver.observe.md +24 -0
- package/docs/API-reference/api/x-components.scrollvisibilityobserver.unobserve.md +24 -0
- package/docs/API-reference/api/x-components.scrollxevents.md +27 -0
- package/docs/API-reference/api/x-components.scrollxevents.scrollrestorefailed.md +13 -0
- package/docs/API-reference/api/x-components.scrollxevents.scrollrestoresucceeded.md +13 -0
- package/docs/API-reference/api/x-components.scrollxevents.useralmostreachedscrollend.md +13 -0
- package/docs/API-reference/api/{x-components.xeventstypes.userchangedscrolldirection.md → x-components.scrollxevents.userchangedscrolldirection.md} +2 -2
- package/docs/API-reference/api/x-components.scrollxevents.userreachedscrollend.md +13 -0
- package/docs/API-reference/api/x-components.scrollxevents.userreachedscrollstart.md +13 -0
- package/docs/API-reference/api/{x-components.xeventstypes.userscrolled.md → x-components.scrollxevents.userscrolled.md} +2 -2
- package/docs/API-reference/api/x-components.scrollxevents.userscrolledtoelement.md +13 -0
- package/docs/API-reference/api/x-components.scrollxmodule.md +13 -0
- package/docs/API-reference/api/x-components.scrollxstoremodule.md +15 -0
- package/docs/API-reference/api/x-components.searchactions.md +1 -0
- package/docs/API-reference/api/x-components.searchactions.saveorigin.md +24 -0
- package/docs/API-reference/api/{x-components.searchbutton.events.md → x-components.searchbutton.emitevents.md} +9 -3
- package/docs/API-reference/api/x-components.searchbutton.md +6 -1
- package/docs/API-reference/api/x-components.searchmutations.md +1 -0
- package/docs/API-reference/api/x-components.searchmutations.setorigin.md +2 -2
- package/docs/API-reference/api/x-components.searchmutations.setquerytagging.md +24 -0
- package/docs/API-reference/api/x-components.searchstate.md +1 -0
- package/docs/API-reference/api/x-components.searchstate.querytagging.md +13 -0
- package/docs/API-reference/api/x-components.searchxevents.md +3 -0
- package/docs/API-reference/api/x-components.searchxevents.searchtaggingchanged.md +13 -0
- package/docs/API-reference/api/x-components.searchxevents.userclickedabortaredirection.md +13 -0
- package/docs/API-reference/api/x-components.searchxevents.userclickedaredirection.md +13 -0
- package/docs/API-reference/api/x-components.sessionservice.clearsessionid.md +17 -0
- package/docs/API-reference/api/x-components.sessionservice.getsessionid.md +23 -0
- package/docs/API-reference/api/x-components.sessionservice.md +21 -0
- package/docs/API-reference/api/x-components.setconsent.md +13 -0
- package/docs/API-reference/api/x-components.setinitialextraparams.md +13 -0
- package/docs/API-reference/api/{x-components.seturlextraparams.md → x-components.setparams.md} +3 -3
- package/docs/API-reference/api/x-components.setpendingscrolltowire.md +13 -0
- package/docs/API-reference/api/x-components.setquerytaggingdebounce.md +13 -0
- package/docs/API-reference/api/x-components.setscrolldirectionwire.md +13 -0
- package/docs/API-reference/api/x-components.setscrollhasalmostreachedendwire.md +13 -0
- package/docs/API-reference/api/x-components.setscrollhasreachedendwire.md +13 -0
- package/docs/API-reference/api/x-components.setscrollhasreachedstartwire.md +13 -0
- package/docs/API-reference/api/x-components.setscrollpositionwire.md +13 -0
- package/docs/API-reference/api/x-components.setsessionduration.md +13 -0
- package/docs/API-reference/api/x-components.seturlfilters.md +1 -1
- package/docs/API-reference/api/x-components.seturlpage.md +1 -1
- package/docs/API-reference/api/x-components.seturlquery.md +1 -1
- package/docs/API-reference/api/x-components.seturlrelatedtags.md +1 -1
- package/docs/API-reference/api/x-components.seturlscroll.md +13 -0
- package/docs/API-reference/api/x-components.seturlsort.md +13 -0
- package/docs/API-reference/api/x-components.singlecolumnlayout.md +2 -3
- package/docs/API-reference/api/x-components.sortmixin.items.md +1 -1
- package/docs/API-reference/api/x-components.sortmixin.md +2 -3
- package/docs/API-reference/api/x-components.sortmixin.providedselectedsort.md +1 -1
- package/docs/API-reference/api/{x-components.spellcheckbutton.events.md → x-components.spellcheckbutton.emitevents.md} +8 -4
- package/docs/API-reference/api/x-components.spellcheckbutton.md +6 -1
- package/docs/API-reference/api/x-components.taggingconfig.md +8 -0
- package/docs/API-reference/api/x-components.taggingconfig.querytaggingdebouncems.md +13 -0
- package/docs/API-reference/api/x-components.taggingconfig.sessionttlms.md +13 -0
- package/docs/API-reference/api/x-components.taggingmutations.md +9 -0
- package/docs/API-reference/api/x-components.taggingmutations.setconsent.md +24 -0
- package/docs/API-reference/api/x-components.taggingmutations.setquerytaggingdebounce.md +24 -0
- package/docs/API-reference/api/x-components.taggingmutations.setsessionduration.md +24 -0
- package/docs/API-reference/api/x-components.taggingstate.config.md +13 -0
- package/docs/API-reference/api/x-components.taggingstate.consent.md +13 -0
- package/docs/API-reference/api/x-components.taggingstate.md +8 -0
- package/docs/API-reference/api/x-components.taggingxevents.consentchanged.md +13 -0
- package/docs/API-reference/api/x-components.taggingxevents.consentprovided.md +13 -0
- package/docs/API-reference/api/x-components.taggingxevents.md +10 -0
- package/docs/API-reference/api/x-components.taggingxevents.querytaggingdebounceprovided.md +13 -0
- package/docs/API-reference/api/x-components.taggingxevents.sessiondurationprovided.md +13 -0
- package/docs/API-reference/api/x-components.urlactions.md +0 -7
- package/docs/API-reference/api/x-components.urlhandler.created.md +17 -0
- package/docs/API-reference/api/x-components.urlhandler.md +23 -0
- package/docs/API-reference/api/x-components.urlhandler.updateurlwithpush.md +24 -0
- package/docs/API-reference/api/x-components.urlhandler.updateurlwithreplace.md +24 -0
- package/docs/API-reference/api/x-components.urlmutations.md +3 -1
- package/docs/API-reference/api/{x-components.urlmutations.setextraparams.md → x-components.urlmutations.setinitialextraparams.md} +5 -5
- package/docs/API-reference/api/x-components.urlmutations.setparams.md +2 -2
- package/docs/API-reference/api/x-components.urlmutations.setscroll.md +24 -0
- package/docs/API-reference/api/x-components.urlmutations.setsort.md +24 -0
- package/docs/API-reference/api/x-components.urlparams.md +1 -1
- package/docs/API-reference/api/x-components.urlparams.scroll.md +1 -1
- package/docs/API-reference/api/x-components.urlstate.md +5 -9
- package/docs/API-reference/api/x-components.urlxevents.extraparamsloadedfromurl.md +13 -0
- package/docs/API-reference/api/x-components.urlxevents.md +2 -1
- package/docs/API-reference/api/x-components.urlxevents.paramsloadedfromurl.md +1 -1
- package/docs/API-reference/api/{x-components.basemainscroll.beforedestroy.md → x-components.windowscroll.beforedestroy.md} +4 -2
- package/docs/API-reference/api/{x-components.basemainscroll.id.md → x-components.windowscroll.id.md} +2 -2
- package/docs/API-reference/api/x-components.windowscroll.md +30 -0
- package/docs/API-reference/api/{x-components.basescroll.mounted.md → x-components.windowscroll.mounted.md} +2 -2
- package/docs/API-reference/api/{x-components.basemainscroll.render.md → x-components.windowscroll.render.md} +2 -2
- package/docs/API-reference/api/x-components.windowscroll.scrollableelement.md +13 -0
- package/docs/API-reference/api/x-components.wiremetadata.feature.md +13 -0
- package/docs/API-reference/api/x-components.wiremetadata.location.md +13 -0
- package/docs/API-reference/api/x-components.wiremetadata.md +2 -1
- package/docs/API-reference/api/x-components.xcomponentaliasapi.md +3 -0
- package/docs/API-reference/api/x-components.xcomponentaliasapi.noresults.md +13 -0
- package/docs/API-reference/api/x-components.xcomponentaliasapi.partialresults.md +13 -0
- package/docs/API-reference/api/x-components.xcomponentaliasapi.redirections.md +13 -0
- package/docs/API-reference/api/x-components.xcomponentbusapi.emit_1.md +2 -2
- package/docs/API-reference/api/x-components.xeventstypes.md +3 -8
- package/docs/API-reference/api/x-components.xmodulestree.md +1 -0
- package/docs/API-reference/api/x-components.xmodulestree.scroll.md +11 -0
- package/docs/API-reference/api/x-types.banner.md +2 -3
- package/docs/API-reference/api/x-types.identifiable.id.md +1 -1
- package/docs/API-reference/api/x-types.identifiable.md +2 -2
- package/docs/API-reference/api/x-types.md +5 -2
- package/docs/API-reference/api/x-types.promoted.md +2 -3
- package/docs/API-reference/api/x-types.redirection.md +2 -3
- package/docs/API-reference/api/x-types.result.md +2 -3
- package/docs/API-reference/api/x-types.taggable.md +20 -0
- package/docs/API-reference/api/x-types.taggable.tagging.md +13 -0
- package/docs/API-reference/api/{x-types.banner.tagging.md → x-types.taggableschema.md} +4 -6
- package/docs/API-reference/api/x-types.tagging.add2cart.md +13 -0
- package/docs/API-reference/api/x-types.tagging.checkout.md +13 -0
- package/docs/API-reference/api/{x-types.promoted.tagging.md → x-types.tagging.click.md} +4 -6
- package/docs/API-reference/api/x-types.tagging.md +6 -3
- package/docs/API-reference/api/x-types.tagging.query.md +13 -0
- package/docs/API-reference/api/x-types.tagging.wishlist.md +13 -0
- package/docs/API-reference/api/x-types.tagginginfo.md +21 -0
- package/docs/API-reference/api/{x-types.tagging.params.md → x-types.tagginginfo.params.md} +3 -3
- package/docs/API-reference/api/{x-types.tagging.url.md → x-types.tagginginfo.url.md} +2 -2
- package/docs/API-reference/api/x-types.tagginginfoschema.md +13 -0
- package/docs/API-reference/components/common/layouts/x-components.fixed-header-and-asides-layout.md +73 -0
- package/docs/API-reference/components/common/layouts/x-components.multi-column-max-width-layout.md +133 -0
- package/docs/API-reference/components/common/result/x-components.base-result-image.md +2 -2
- package/docs/API-reference/components/common/result/x-components.base-result-link.md +2 -3
- package/docs/API-reference/components/common/scroll/x-components.base-scroll.md +9 -9
- package/docs/API-reference/components/common/suggestions/x-components.base-suggestion.md +9 -8
- package/docs/API-reference/components/common/x-components.auto-progress-bar.md +63 -0
- package/docs/API-reference/components/common/x-components.location-provider.md +54 -0
- package/docs/API-reference/components/extra-params/x-components.renderless-extra-param.md +7 -13
- package/docs/API-reference/components/facets/x-components.lists/sliced-filters.md +10 -6
- package/docs/API-reference/components/scroll/x-components.main-scroll-item.md +84 -0
- package/docs/API-reference/components/scroll/x-components.main-scroll.md +175 -0
- package/docs/API-reference/components/{common/scroll/x-components.base-scroll-to-top.md → scroll/x-components.scroll-to-top.md} +11 -14
- package/docs/API-reference/components/scroll/x-components.scroll.md +168 -0
- package/docs/API-reference/components/scroll/x-components.window-scroll.md +158 -0
- package/docs/API-reference/components/search/x-components.redirection.md +99 -0
- package/docs/API-reference/components/search/x-components.sort-dropdown.md +4 -5
- package/docs/API-reference/components/search/x-components.sort-list.md +4 -5
- package/docs/API-reference/components/tagging/x-components.tagging.md +84 -0
- package/docs/API-reference/components/url/x-components.url-handler.md +14 -2
- package/docs/sidebar.json +1 -1
- package/identifier-results/index.js +2 -1
- package/js/components/auto-progress-bar.vue.js +65 -0
- package/js/components/auto-progress-bar.vue.js.map +1 -0
- package/js/components/auto-progress-bar.vue_rollup-plugin-vue=script.js +42 -0
- package/js/components/auto-progress-bar.vue_rollup-plugin-vue=script.js.map +1 -0
- package/js/components/base-dropdown.vue.js +31 -9
- package/js/components/base-dropdown.vue.js.map +1 -1
- package/js/components/base-dropdown.vue_rollup-plugin-vue=script.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-grid.vue_rollup-plugin-vue=script.js +1 -1
- package/js/components/base-grid.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/components/layouts/layouts.mixin.js +44 -0
- package/js/components/layouts/layouts.mixin.js.map +1 -0
- package/js/components/layouts/multi-column-max-width-layout.vue.js +64 -54
- 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 +6 -26
- package/js/components/layouts/multi-column-max-width-layout.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/components/layouts/single-column-layout.vue.js +20 -14
- package/js/components/layouts/single-column-layout.vue.js.map +1 -1
- package/js/components/layouts/single-column-layout.vue_rollup-plugin-vue=script.js +6 -25
- package/js/components/layouts/single-column-layout.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/components/location-provider.vue.js +39 -0
- package/js/components/location-provider.vue.js.map +1 -0
- package/js/components/location-provider.vue_rollup-plugin-vue=script.js +27 -0
- package/js/components/location-provider.vue_rollup-plugin-vue=script.js.map +1 -0
- package/js/components/result/base-result-image.vue.js +4 -4
- package/js/components/result/base-result-image.vue.js.map +1 -1
- package/js/components/result/base-result-link.vue.js +2 -2
- 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 +5 -14
- package/js/components/result/base-result-link.vue_rollup-plugin-vue=script.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/scroll/base-scroll.vue_rollup-plugin-vue=script.js +2 -49
- package/js/components/scroll/base-scroll.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/components/scroll/scroll.mixin.js +122 -52
- package/js/components/scroll/scroll.mixin.js.map +1 -1
- package/js/components/staggering-transition-group.vue_rollup-plugin-vue=script.js +1 -0
- package/js/components/staggering-transition-group.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/components/suggestions/base-suggestion.vue.js +2 -2
- package/js/components/suggestions/base-suggestion.vue.js.map +1 -1
- package/js/components/suggestions/base-suggestion.vue_rollup-plugin-vue=script.js +21 -6
- package/js/components/suggestions/base-suggestion.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/components/x-component.utils.js +2 -2
- package/js/components/x-component.utils.js.map +1 -1
- package/js/index.js +27 -14
- package/js/index.js.map +1 -1
- package/js/plugins/x-emitters.js +92 -21
- package/js/plugins/x-emitters.js.map +1 -1
- package/js/plugins/x-plugin.alias.js +37 -26
- package/js/plugins/x-plugin.alias.js.map +1 -1
- package/js/plugins/x-plugin.js +1 -0
- package/js/plugins/x-plugin.js.map +1 -1
- package/js/plugins/x-plugin.mixin.js +16 -6
- package/js/plugins/x-plugin.mixin.js.map +1 -1
- package/js/store/utils/status-store.utils.js.map +1 -1
- package/js/store/x.module.js +7 -6
- package/js/store/x.module.js.map +1 -1
- package/js/utils/array.js +19 -1
- package/js/utils/array.js.map +1 -1
- package/js/utils/origin.js +20 -0
- package/js/utils/origin.js.map +1 -0
- package/js/x-installer/x-installer/x-installer.js +7 -4
- package/js/x-installer/x-installer/x-installer.js.map +1 -1
- package/js/x-modules/extra-params/components/extra-params.vue.js.map +1 -1
- package/js/x-modules/extra-params/components/extra-params.vue_rollup-plugin-vue=script.js +18 -8
- 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 +9 -39
- 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 +10 -10
- package/js/x-modules/extra-params/components/snippet-config-extra-params.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/extra-params/wiring.js +3 -0
- package/js/x-modules/extra-params/wiring.js.map +1 -1
- package/js/x-modules/facets/components/clear-filters.vue.js +7 -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 +5 -6
- 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_rollup-plugin-vue=script.js +5 -6
- package/js/x-modules/facets/components/facets/facets-provider.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/filters/all-filter.vue_rollup-plugin-vue=script.js +5 -6
- 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_rollup-plugin-vue=script.js +5 -6
- 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/hierarchical-filter.vue_rollup-plugin-vue=script.js +5 -6
- 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_rollup-plugin-vue=script.js +5 -6
- 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_rollup-plugin-vue=script.js +5 -6
- 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_rollup-plugin-vue=script.js +5 -6
- 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_rollup-plugin-vue=script.js +5 -6
- 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_rollup-plugin-vue=script.js +5 -6
- 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_rollup-plugin-vue=script.js +5 -6
- 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.vue_rollup-plugin-vue=script.js +5 -6
- 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 +14 -6
- 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 +5 -6
- 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_rollup-plugin-vue=script.js +6 -6
- package/js/x-modules/facets/entities/filter-entity.factory.js +22 -1
- package/js/x-modules/facets/entities/filter-entity.factory.js.map +1 -1
- package/js/x-modules/facets/service/facets.service.js +17 -15
- package/js/x-modules/facets/service/facets.service.js.map +1 -1
- package/js/x-modules/facets/wiring.js +2 -0
- package/js/x-modules/facets/wiring.js.map +1 -1
- package/js/x-modules/history-queries/store/actions/set-url-params.action.js +1 -3
- package/js/x-modules/history-queries/store/actions/set-url-params.action.js.map +1 -1
- package/js/x-modules/identifier-results/components/identifier-results.vue.js.map +1 -1
- package/js/x-modules/identifier-results/components/identifier-results.vue_rollup-plugin-vue=script.js +14 -2
- package/js/x-modules/identifier-results/components/identifier-results.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/identifier-results/store/actions/save-origin.action.js +18 -0
- package/js/x-modules/identifier-results/store/actions/save-origin.action.js.map +1 -0
- package/js/x-modules/identifier-results/store/actions/set-url-params.action.js +1 -3
- package/js/x-modules/identifier-results/store/actions/set-url-params.action.js.map +1 -1
- package/js/x-modules/identifier-results/store/emitters.js +5 -1
- package/js/x-modules/identifier-results/store/emitters.js.map +1 -1
- package/js/x-modules/identifier-results/store/getters/identifier-results-request.getter.js +3 -2
- package/js/x-modules/identifier-results/store/getters/identifier-results-request.getter.js.map +1 -1
- package/js/x-modules/identifier-results/store/module.js +11 -4
- package/js/x-modules/identifier-results/store/module.js.map +1 -1
- package/js/x-modules/identifier-results/wiring.js +12 -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/store/actions/set-url-params.action.js +1 -3
- package/js/x-modules/next-queries/store/actions/set-url-params.action.js.map +1 -1
- package/js/x-modules/next-queries/store/emitters.js +2 -2
- package/js/x-modules/next-queries/store/emitters.js.map +1 -1
- package/js/x-modules/next-queries/store/module.js +1 -1
- package/js/x-modules/next-queries/store/module.js.map +1 -1
- package/js/x-modules/popular-searches/store/module.js +1 -1
- package/js/x-modules/popular-searches/store/module.js.map +1 -1
- package/js/x-modules/query-suggestions/store/actions/set-url-params.action.js +1 -3
- package/js/x-modules/query-suggestions/store/actions/set-url-params.action.js.map +1 -1
- package/js/x-modules/query-suggestions/store/module.js +1 -1
- package/js/x-modules/query-suggestions/store/module.js.map +1 -1
- package/js/x-modules/recommendations/store/module.js +1 -1
- package/js/x-modules/recommendations/store/module.js.map +1 -1
- package/js/x-modules/related-tags/components/related-tag.vue.js +5 -4
- 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 +15 -24
- package/js/x-modules/related-tags/components/related-tag.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/related-tags/store/actions/set-url-params.action.js +14 -20
- package/js/x-modules/related-tags/store/actions/set-url-params.action.js.map +1 -1
- package/js/x-modules/related-tags/store/emitters.js +5 -1
- package/js/x-modules/related-tags/store/emitters.js.map +1 -1
- package/js/x-modules/related-tags/store/module.js +1 -1
- package/js/x-modules/related-tags/store/module.js.map +1 -1
- package/js/x-modules/scroll/components/main-scroll-item.vue.js +52 -0
- package/js/x-modules/scroll/components/main-scroll-item.vue.js.map +1 -0
- package/js/x-modules/scroll/components/main-scroll-item.vue_rollup-plugin-vue=script.js +188 -0
- package/js/x-modules/scroll/components/main-scroll-item.vue_rollup-plugin-vue=script.js.map +1 -0
- package/js/{components/scroll/base-main-scroll.vue.js → x-modules/scroll/components/main-scroll.vue.js} +2 -2
- package/js/x-modules/scroll/components/main-scroll.vue.js.map +1 -0
- package/js/x-modules/scroll/components/main-scroll.vue_rollup-plugin-vue=script.js +204 -0
- package/js/x-modules/scroll/components/main-scroll.vue_rollup-plugin-vue=script.js.map +1 -0
- package/js/{components/scroll/base-scroll-to-top.vue.js → x-modules/scroll/components/scroll-to-top.vue.js} +2 -2
- package/js/x-modules/scroll/components/scroll-to-top.vue.js.map +1 -0
- package/js/x-modules/scroll/components/scroll-to-top.vue_rollup-plugin-vue=script.js +231 -0
- package/js/x-modules/scroll/components/scroll-to-top.vue_rollup-plugin-vue=script.js.map +1 -0
- package/js/x-modules/scroll/components/scroll.const.js +15 -0
- package/js/x-modules/scroll/components/scroll.const.js.map +1 -0
- package/js/{components/scroll/base-id-scroll.vue.js → x-modules/scroll/components/scroll.vue.js} +8 -9
- package/js/x-modules/scroll/components/scroll.vue.js.map +1 -0
- package/js/x-modules/scroll/components/scroll.vue_rollup-plugin-vue=script.js +110 -0
- package/js/x-modules/scroll/components/scroll.vue_rollup-plugin-vue=script.js.map +1 -0
- package/js/x-modules/scroll/components/window-scroll.vue.js +39 -0
- package/js/x-modules/scroll/components/window-scroll.vue.js.map +1 -0
- package/js/x-modules/scroll/components/window-scroll.vue_rollup-plugin-vue=script.js +186 -0
- package/js/x-modules/scroll/components/window-scroll.vue_rollup-plugin-vue=script.js.map +1 -0
- package/js/x-modules/scroll/store/emitters.js +15 -0
- package/js/x-modules/scroll/store/emitters.js.map +1 -0
- package/js/x-modules/scroll/store/module.js +36 -0
- package/js/x-modules/scroll/store/module.js.map +1 -0
- package/js/x-modules/scroll/wiring.js +114 -0
- package/js/x-modules/scroll/wiring.js.map +1 -0
- package/js/x-modules/scroll/x-module.js +19 -0
- package/js/x-modules/scroll/x-module.js.map +1 -0
- 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 +3 -2
- package/js/x-modules/search/components/partial-query-button.vue.js.map +1 -1
- package/js/x-modules/search/components/partial-query-button.vue_rollup-plugin-vue=script.js +13 -122
- package/js/x-modules/search/components/partial-query-button.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 +65 -0
- package/js/x-modules/search/components/redirection.vue.js.map +1 -0
- package/js/x-modules/search/components/redirection.vue_rollup-plugin-vue=script.js +108 -0
- package/js/x-modules/search/components/redirection.vue_rollup-plugin-vue=script.js.map +1 -0
- package/js/x-modules/search/components/sort-list.vue_rollup-plugin-vue=script.js +5 -6
- 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 +7 -12
- package/js/x-modules/search/components/sort.mixin.js.map +1 -1
- package/js/x-modules/search/components/spellcheck-button.vue.js +3 -2
- package/js/x-modules/search/components/spellcheck-button.vue.js.map +1 -1
- package/js/x-modules/search/components/spellcheck-button.vue_rollup-plugin-vue=script.js +13 -121
- package/js/x-modules/search/components/spellcheck-button.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/search/components/spellcheck.vue_rollup-plugin-vue=script.js +5 -6
- 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 +2 -1
- package/js/x-modules/search/store/actions/fetch-and-save-search-response.action.js.map +1 -1
- package/js/x-modules/search/store/actions/save-origin.action.js +18 -0
- package/js/x-modules/search/store/actions/save-origin.action.js.map +1 -0
- package/js/x-modules/search/store/actions/set-url-params.action.js +4 -7
- package/js/x-modules/search/store/actions/set-url-params.action.js.map +1 -1
- package/js/x-modules/search/store/emitters.js +7 -1
- package/js/x-modules/search/store/emitters.js.map +1 -1
- package/js/x-modules/search/store/module.js +17 -4
- package/js/x-modules/search/store/module.js.map +1 -1
- package/js/x-modules/search/wiring.js +25 -23
- package/js/x-modules/search/wiring.js.map +1 -1
- package/js/x-modules/search-box/components/search-button.vue.js +3 -2
- package/js/x-modules/search-box/components/search-button.vue.js.map +1 -1
- package/js/x-modules/search-box/components/search-button.vue_rollup-plugin-vue=script.js +16 -15
- package/js/x-modules/search-box/components/search-button.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/search-box/components/search-input.vue.js +3 -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.map +1 -1
- package/js/x-modules/search-box/store/actions/set-url-params.action.js +1 -3
- package/js/x-modules/search-box/store/actions/set-url-params.action.js.map +1 -1
- package/js/x-modules/tagging/service/session.service.js +35 -0
- package/js/x-modules/tagging/service/session.service.js.map +1 -0
- package/js/x-modules/tagging/store/emitters.js +3 -1
- package/js/x-modules/tagging/store/emitters.js.map +1 -1
- package/js/x-modules/tagging/store/module.js +16 -2
- package/js/x-modules/tagging/store/module.js.map +1 -1
- package/js/x-modules/tagging/wiring.js +59 -2
- package/js/x-modules/tagging/wiring.js.map +1 -1
- package/js/x-modules/url/components/url-handler.vue.js +50 -0
- package/js/x-modules/url/components/url-handler.vue.js.map +1 -0
- package/js/x-modules/url/components/url-handler.vue_rollup-plugin-vue=script.js +243 -0
- package/js/x-modules/url/components/url-handler.vue_rollup-plugin-vue=script.js.map +1 -0
- package/js/x-modules/url/store/emitters.js +24 -7
- package/js/x-modules/url/store/emitters.js.map +1 -1
- package/js/x-modules/url/store/getters/url-params.getter.js +11 -7
- package/js/x-modules/url/store/getters/url-params.getter.js.map +1 -1
- package/js/x-modules/url/store/initial-state.js +6 -9
- package/js/x-modules/url/store/initial-state.js.map +1 -1
- package/js/x-modules/url/store/module.js +17 -15
- package/js/x-modules/url/store/module.js.map +1 -1
- package/js/x-modules/url/store/mutations/set-params.mutation.js +21 -0
- package/js/x-modules/url/store/mutations/set-params.mutation.js.map +1 -0
- package/js/x-modules/url/wiring.js +32 -23
- package/js/x-modules/url/wiring.js.map +1 -1
- package/next-queries/index.js +0 -1
- package/package.json +6 -4
- package/report/x-adapter.api.json +18 -18
- package/report/x-components.api.json +4829 -1625
- package/report/x-components.api.md +534 -207
- package/report/x-types.api.json +396 -310
- package/scroll/index.d.ts +1 -0
- package/scroll/index.js +10 -0
- package/search/index.js +2 -1
- package/tagging/index.js +2 -1
- package/types/adapter/real-adapter.d.ts.map +1 -1
- package/types/adapter/util.d.ts +1 -1
- package/types/adapter/util.d.ts.map +1 -1
- package/types/components/auto-progress-bar.vue.d.ts +29 -0
- package/types/components/auto-progress-bar.vue.d.ts.map +1 -0
- package/types/components/base-dropdown.vue.d.ts.map +1 -1
- package/types/components/index.d.ts +2 -0
- package/types/components/index.d.ts.map +1 -1
- package/types/components/layouts/layouts.mixin.d.ts +24 -0
- package/types/components/layouts/layouts.mixin.d.ts.map +1 -0
- package/types/components/layouts/multi-column-max-width-layout.vue.d.ts +4 -16
- package/types/components/layouts/multi-column-max-width-layout.vue.d.ts.map +1 -1
- package/types/components/layouts/single-column-layout.vue.d.ts +4 -16
- package/types/components/layouts/single-column-layout.vue.d.ts.map +1 -1
- package/types/components/location-provider.vue.d.ts +17 -0
- package/types/components/location-provider.vue.d.ts.map +1 -0
- package/types/components/result/base-result-link.vue.d.ts +8 -18
- package/types/components/result/base-result-link.vue.d.ts.map +1 -1
- package/types/components/scroll/base-scroll.vue.d.ts +0 -28
- package/types/components/scroll/base-scroll.vue.d.ts.map +1 -1
- package/types/components/scroll/index.d.ts +0 -3
- package/types/components/scroll/index.d.ts.map +1 -1
- package/types/components/scroll/scroll.mixin.d.ts +75 -30
- package/types/components/scroll/scroll.mixin.d.ts.map +1 -1
- package/types/components/suggestions/base-suggestion.vue.d.ts +15 -2
- package/types/components/suggestions/base-suggestion.vue.d.ts.map +1 -1
- package/types/components/x-component.utils.d.ts +1 -1
- package/types/components/x-component.utils.d.ts.map +1 -1
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -1
- package/types/plugins/x-emitters.d.ts.map +1 -1
- package/types/plugins/x-plugin.alias.d.ts.map +1 -1
- package/types/plugins/x-plugin.d.ts +1 -1
- package/types/plugins/x-plugin.d.ts.map +1 -1
- package/types/plugins/x-plugin.mixin.d.ts +2 -2
- package/types/plugins/x-plugin.mixin.d.ts.map +1 -1
- package/types/plugins/x-plugin.types.d.ts +8 -2
- package/types/plugins/x-plugin.types.d.ts.map +1 -1
- package/types/router.d.ts.map +1 -1
- package/types/store/utils/status-store.utils.d.ts +1 -1
- package/types/store/utils/status-store.utils.d.ts.map +1 -1
- package/types/store/x.module.d.ts.map +1 -1
- package/types/types/index.d.ts +1 -1
- package/types/types/index.d.ts.map +1 -1
- package/types/types/origin.d.ts +46 -0
- package/types/types/origin.d.ts.map +1 -0
- package/types/types/url-params.d.ts +1 -1
- package/types/utils/array.d.ts +10 -0
- package/types/utils/array.d.ts.map +1 -1
- package/types/utils/index.d.ts +1 -0
- package/types/utils/index.d.ts.map +1 -1
- package/types/utils/origin.d.ts +13 -0
- package/types/utils/origin.d.ts.map +1 -0
- package/types/views/base-config.d.ts.map +1 -1
- package/types/wiring/events.types.d.ts +18 -40
- package/types/wiring/events.types.d.ts.map +1 -1
- package/types/wiring/wiring.types.d.ts +9 -10
- package/types/wiring/wiring.types.d.ts.map +1 -1
- package/types/x-installer/x-installer/x-installer.d.ts +1 -1
- package/types/x-installer/x-installer/x-installer.d.ts.map +1 -1
- package/types/x-modules/extra-params/components/extra-params.vue.d.ts +9 -0
- package/types/x-modules/extra-params/components/extra-params.vue.d.ts.map +1 -1
- package/types/x-modules/extra-params/components/renderless-extra-param.vue.d.ts +3 -27
- package/types/x-modules/extra-params/components/renderless-extra-param.vue.d.ts.map +1 -1
- package/types/x-modules/extra-params/components/snippet-config-extra-params.vue.d.ts +1 -1
- package/types/x-modules/extra-params/components/snippet-config-extra-params.vue.d.ts.map +1 -1
- package/types/x-modules/extra-params/events.types.d.ts +17 -0
- package/types/x-modules/extra-params/events.types.d.ts.map +1 -1
- package/types/x-modules/extra-params/wiring.d.ts +3 -0
- package/types/x-modules/extra-params/wiring.d.ts.map +1 -1
- package/types/x-modules/facets/components/clear-filters.vue.d.ts.map +1 -1
- package/types/x-modules/facets/components/lists/sliced-filters.vue.d.ts.map +1 -1
- package/types/x-modules/facets/entities/filter-entity.factory.d.ts +19 -2
- package/types/x-modules/facets/entities/filter-entity.factory.d.ts.map +1 -1
- package/types/x-modules/facets/service/facets.service.d.ts +4 -9
- package/types/x-modules/facets/service/facets.service.d.ts.map +1 -1
- package/types/x-modules/facets/wiring.d.ts +1 -0
- package/types/x-modules/facets/wiring.d.ts.map +1 -1
- package/types/x-modules/history-queries/store/actions/set-url-params.action.d.ts.map +1 -1
- package/types/x-modules/identifier-results/components/identifier-results.vue.d.ts +8 -0
- package/types/x-modules/identifier-results/components/identifier-results.vue.d.ts.map +1 -1
- package/types/x-modules/identifier-results/store/actions/save-origin.action.d.ts +12 -0
- package/types/x-modules/identifier-results/store/actions/save-origin.action.d.ts.map +1 -0
- package/types/x-modules/identifier-results/store/actions/set-url-params.action.d.ts.map +1 -1
- package/types/x-modules/identifier-results/store/emitters.d.ts +4 -1
- package/types/x-modules/identifier-results/store/emitters.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/store/index.d.ts +1 -0
- package/types/x-modules/identifier-results/store/index.d.ts.map +1 -1
- package/types/x-modules/identifier-results/store/module.d.ts.map +1 -1
- package/types/x-modules/identifier-results/store/types.d.ts +26 -10
- package/types/x-modules/identifier-results/store/types.d.ts.map +1 -1
- package/types/x-modules/identifier-results/wiring.d.ts +7 -0
- package/types/x-modules/identifier-results/wiring.d.ts.map +1 -1
- package/types/x-modules/next-queries/index.d.ts +0 -1
- package/types/x-modules/next-queries/index.d.ts.map +1 -1
- package/types/x-modules/next-queries/store/actions/set-url-params.action.d.ts.map +1 -1
- package/types/x-modules/next-queries/store/emitters.d.ts +1 -2
- package/types/x-modules/next-queries/store/emitters.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/store/actions/set-url-params.action.d.ts.map +1 -1
- package/types/x-modules/related-tags/components/related-tag.vue.d.ts +3 -6
- package/types/x-modules/related-tags/components/related-tag.vue.d.ts.map +1 -1
- package/types/x-modules/related-tags/store/actions/set-url-params.action.d.ts.map +1 -1
- package/types/x-modules/related-tags/store/emitters.d.ts +4 -1
- package/types/x-modules/related-tags/store/emitters.d.ts.map +1 -1
- package/types/x-modules/scroll/components/index.d.ts +8 -0
- package/types/x-modules/scroll/components/index.d.ts.map +1 -0
- package/types/x-modules/scroll/components/main-scroll-item.vue.d.ts +65 -0
- package/types/x-modules/scroll/components/main-scroll-item.vue.d.ts.map +1 -0
- package/types/x-modules/scroll/components/main-scroll.vue.d.ts +121 -0
- package/types/x-modules/scroll/components/main-scroll.vue.d.ts.map +1 -0
- package/types/x-modules/scroll/components/scroll-to-top.vue.d.ts +80 -0
- package/types/x-modules/scroll/components/scroll-to-top.vue.d.ts.map +1 -0
- package/types/x-modules/scroll/components/scroll.const.d.ts +15 -0
- package/types/x-modules/scroll/components/scroll.const.d.ts.map +1 -0
- package/types/x-modules/scroll/components/scroll.types.d.ts +20 -0
- package/types/x-modules/scroll/components/scroll.types.d.ts.map +1 -0
- package/types/{components/scroll/base-id-scroll.vue.d.ts → x-modules/scroll/components/scroll.vue.d.ts} +17 -30
- package/types/x-modules/scroll/components/scroll.vue.d.ts.map +1 -0
- package/types/x-modules/scroll/components/window-scroll.vue.d.ts +47 -0
- package/types/x-modules/scroll/components/window-scroll.vue.d.ts.map +1 -0
- package/types/x-modules/scroll/events.types.d.ts +53 -0
- package/types/x-modules/scroll/events.types.d.ts.map +1 -0
- package/types/x-modules/scroll/index.d.ts +6 -0
- package/types/x-modules/scroll/index.d.ts.map +1 -0
- package/types/x-modules/scroll/store/emitters.d.ts +7 -0
- package/types/x-modules/scroll/store/emitters.d.ts.map +1 -0
- package/types/x-modules/scroll/store/index.d.ts +4 -0
- package/types/x-modules/scroll/store/index.d.ts.map +1 -0
- package/types/x-modules/scroll/store/module.d.ts +8 -0
- package/types/x-modules/scroll/store/module.d.ts.map +1 -0
- package/types/x-modules/scroll/store/types.d.ts +98 -0
- package/types/x-modules/scroll/store/types.d.ts.map +1 -0
- package/types/x-modules/scroll/wiring.d.ts +74 -0
- package/types/x-modules/scroll/wiring.d.ts.map +1 -0
- package/types/x-modules/scroll/x-module.d.ts +16 -0
- package/types/x-modules/scroll/x-module.d.ts.map +1 -0
- package/types/x-modules/search/components/index.d.ts +1 -0
- package/types/x-modules/search/components/index.d.ts.map +1 -1
- package/types/x-modules/search/components/partial-query-button.vue.d.ts +2 -5
- package/types/x-modules/search/components/partial-query-button.vue.d.ts.map +1 -1
- package/types/x-modules/search/components/redirection.vue.d.ts +72 -0
- package/types/x-modules/search/components/redirection.vue.d.ts.map +1 -0
- package/types/x-modules/search/components/sort.mixin.d.ts +3 -11
- package/types/x-modules/search/components/sort.mixin.d.ts.map +1 -1
- package/types/x-modules/search/components/spellcheck-button.vue.d.ts +2 -5
- package/types/x-modules/search/components/spellcheck-button.vue.d.ts.map +1 -1
- package/types/x-modules/search/events.types.d.ts +15 -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/actions/save-origin.action.d.ts +12 -0
- package/types/x-modules/search/store/actions/save-origin.action.d.ts.map +1 -0
- package/types/x-modules/search/store/actions/set-url-params.action.d.ts.map +1 -1
- package/types/x-modules/search/store/emitters.d.ts +5 -1
- package/types/x-modules/search/store/emitters.d.ts.map +1 -1
- package/types/x-modules/search/store/module.d.ts.map +1 -1
- package/types/x-modules/search/store/types.d.ts +17 -3
- package/types/x-modules/search/store/types.d.ts.map +1 -1
- package/types/x-modules/search/wiring.d.ts +21 -19
- package/types/x-modules/search/wiring.d.ts.map +1 -1
- package/types/x-modules/search-box/components/search-button.vue.d.ts +6 -2
- package/types/x-modules/search-box/components/search-button.vue.d.ts.map +1 -1
- package/types/x-modules/search-box/components/search-input.vue.d.ts.map +1 -1
- package/types/x-modules/search-box/store/actions/set-url-params.action.d.ts.map +1 -1
- package/types/x-modules/tagging/components/index.d.ts +2 -0
- package/types/x-modules/tagging/components/index.d.ts.map +1 -0
- package/types/x-modules/tagging/config.types.d.ts +9 -0
- package/types/x-modules/tagging/config.types.d.ts.map +1 -1
- package/types/x-modules/tagging/events.types.d.ts +20 -0
- package/types/x-modules/tagging/events.types.d.ts.map +1 -1
- package/types/x-modules/tagging/index.d.ts +1 -0
- package/types/x-modules/tagging/index.d.ts.map +1 -1
- package/types/x-modules/tagging/service/index.d.ts +3 -0
- package/types/x-modules/tagging/service/index.d.ts.map +1 -0
- package/types/x-modules/tagging/service/session.service.d.ts +20 -0
- package/types/x-modules/tagging/service/session.service.d.ts.map +1 -0
- package/types/x-modules/tagging/service/types.d.ts +21 -0
- package/types/x-modules/tagging/service/types.d.ts.map +1 -0
- package/types/x-modules/tagging/store/emitters.d.ts +3 -1
- package/types/x-modules/tagging/store/emitters.d.ts.map +1 -1
- package/types/x-modules/tagging/store/module.d.ts.map +1 -1
- package/types/x-modules/tagging/store/types.d.ts +27 -0
- package/types/x-modules/tagging/store/types.d.ts.map +1 -1
- package/types/x-modules/tagging/wiring.d.ts +32 -1
- package/types/x-modules/tagging/wiring.d.ts.map +1 -1
- package/types/x-modules/url/components/url-handler.vue.d.ts +130 -0
- package/types/x-modules/url/components/url-handler.vue.d.ts.map +1 -0
- package/types/x-modules/url/events.types.d.ts +8 -2
- package/types/x-modules/url/events.types.d.ts.map +1 -1
- package/types/x-modules/url/index.d.ts +1 -0
- package/types/x-modules/url/index.d.ts.map +1 -1
- package/types/x-modules/url/store/emitters.d.ts +13 -6
- package/types/x-modules/url/store/emitters.d.ts.map +1 -1
- package/types/x-modules/url/store/getters/url-params.getter.d.ts.map +1 -1
- package/types/x-modules/url/store/initial-state.d.ts +2 -2
- package/types/x-modules/url/store/initial-state.d.ts.map +1 -1
- package/types/x-modules/url/store/module.d.ts.map +1 -1
- package/types/x-modules/url/store/mutations/set-params.mutation.d.ts +13 -0
- package/types/x-modules/url/store/mutations/set-params.mutation.d.ts.map +1 -0
- package/types/x-modules/url/store/types.d.ts +22 -17
- package/types/x-modules/url/store/types.d.ts.map +1 -1
- package/types/x-modules/url/wiring.d.ts +37 -19
- package/types/x-modules/url/wiring.d.ts.map +1 -1
- package/types/x-modules/x-modules.types.d.ts +3 -1
- package/types/x-modules/x-modules.types.d.ts.map +1 -1
- package/url/index.js +3 -2
- package/docs/API-reference/api/x-components.arenextqueriesdifferent.md +0 -27
- package/docs/API-reference/api/x-components.baseidscroll.md +0 -24
- package/docs/API-reference/api/x-components.baseidscroll.resetonquerychange.md +0 -13
- package/docs/API-reference/api/x-components.basemainscroll.element.md +0 -13
- package/docs/API-reference/api/x-components.basemainscroll.md +0 -31
- package/docs/API-reference/api/x-components.basemainscroll.tag.md +0 -13
- package/docs/API-reference/api/x-components.baseresultlink.emituserclickedaresult.md +0 -17
- package/docs/API-reference/api/x-components.baseresultlink.emituserrightclickedaresult.md +0 -17
- package/docs/API-reference/api/x-components.baseresultlink.metadata.md +0 -13
- package/docs/API-reference/api/x-components.baseresultlink.mounted.md +0 -15
- package/docs/API-reference/api/x-components.baseresultlink.origin.md +0 -13
- package/docs/API-reference/api/x-components.baseresultlink.resultclickextraevents.md +0 -13
- package/docs/API-reference/api/x-components.basescroll.resetonquerychange.md +0 -13
- package/docs/API-reference/api/x-components.basescrolltotop.md +0 -23
- package/docs/API-reference/api/x-components.multicolumnmaxwidthlayout.devmode.md +0 -13
- package/docs/API-reference/api/x-components.renderlessextraparams.extraparams.md +0 -13
- package/docs/API-reference/api/x-components.singlecolumnlayout.devmode.md +0 -13
- package/docs/API-reference/api/x-components.sortmixin.value.md +0 -13
- package/docs/API-reference/api/x-components.updatestorefromurl.md +0 -13
- package/docs/API-reference/api/x-components.urlactions.updatestorefromurl.md +0 -24
- package/docs/API-reference/api/x-components.urlstate.extraparams.md +0 -11
- package/docs/API-reference/api/x-components.wiremetadata.origin.md +0 -13
- package/docs/API-reference/api/x-components.xeventstypes.useralmostreachedscrollend.md +0 -13
- package/docs/API-reference/api/x-components.xeventstypes.userreachedscrollend.md +0 -13
- package/docs/API-reference/api/x-components.xeventstypes.userreachedscrollstart.md +0 -13
- package/docs/API-reference/api/x-types.redirection.tagging.md +0 -15
- package/docs/API-reference/api/x-types.result.tagging.md +0 -13
- package/docs/API-reference/api/x-types.resulttagging.add2cart.md +0 -13
- package/docs/API-reference/api/x-types.resulttagging.checkout.md +0 -13
- package/docs/API-reference/api/x-types.resulttagging.click.md +0 -13
- package/docs/API-reference/api/x-types.resulttagging.md +0 -22
- package/docs/API-reference/components/common/scroll/x-components.base-id-scroll.md +0 -216
- package/docs/API-reference/components/common/scroll/x-components.base-main-scroll.md +0 -170
- package/js/components/scroll/base-id-scroll.vue.js.map +0 -1
- package/js/components/scroll/base-id-scroll.vue_rollup-plugin-vue=script.js +0 -110
- package/js/components/scroll/base-id-scroll.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/scroll/base-main-scroll.vue.js.map +0 -1
- package/js/components/scroll/base-main-scroll.vue_rollup-plugin-vue=script.js +0 -105
- package/js/components/scroll/base-main-scroll.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/components/scroll/base-scroll-to-top.vue.js.map +0 -1
- package/js/components/scroll/base-scroll-to-top.vue_rollup-plugin-vue=script.js +0 -179
- package/js/components/scroll/base-scroll-to-top.vue_rollup-plugin-vue=script.js.map +0 -1
- package/js/x-modules/next-queries/utils.js +0 -15
- package/js/x-modules/next-queries/utils.js.map +0 -1
- package/js/x-modules/url/store/actions/update-store-from-url.action.js +0 -29
- package/js/x-modules/url/store/actions/update-store-from-url.action.js.map +0 -1
- package/types/components/scroll/base-id-scroll.vue.d.ts.map +0 -1
- package/types/components/scroll/base-main-scroll.vue.d.ts +0 -78
- package/types/components/scroll/base-main-scroll.vue.d.ts.map +0 -1
- package/types/components/scroll/base-scroll-to-top.vue.d.ts +0 -119
- package/types/components/scroll/base-scroll-to-top.vue.d.ts.map +0 -1
- package/types/types/query-origin.d.ts +0 -7
- package/types/types/query-origin.d.ts.map +0 -1
- package/types/x-modules/next-queries/utils.d.ts +0 -12
- package/types/x-modules/next-queries/utils.d.ts.map +0 -1
- package/types/x-modules/url/store/actions/update-store-from-url.action.d.ts +0 -12
- package/types/x-modules/url/store/actions/update-store-from-url.action.d.ts.map +0 -1
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: x-components.x-components.scroll
|
|
3
|
+
title: Scroll
|
|
4
|
+
sidebar_label: Scroll
|
|
5
|
+
---
|
|
6
|
+
# scroll
|
|
7
|
+
|
|
8
|
+
> Base scroll component that depending on base scroll component and the user interaction emits
|
|
9
|
+
> different x events for knowing when the user scrolls, the direction of scroll and if user
|
|
10
|
+
> reaches the start or end.
|
|
11
|
+
|
|
12
|
+
## Props
|
|
13
|
+
|
|
14
|
+
| Name | Description | Type | Default |
|
|
15
|
+
| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | ------------------------- |
|
|
16
|
+
| <code>throttleMs</code> | Time duration to ignore the subsequent scroll events after an emission.<br />Higher values will decrease events precision but can prevent performance issues. | <code>number</code> | <code></code> |
|
|
17
|
+
| <code>distanceToBottom</code> | Distance to the end of the scroll that when reached will emit the<br />`scroll:about-to-end` event. | <code>number</code> | <code></code> |
|
|
18
|
+
| <code>id</code> | Id to identify the component. | <code>string</code> | <code>MainScrollId</code> |
|
|
19
|
+
|
|
20
|
+
## Slots
|
|
21
|
+
|
|
22
|
+
| Name | Description | Bindings<br />(name - type - description) |
|
|
23
|
+
| -------------------- | ----------- | ----------------------------------------- |
|
|
24
|
+
| <code>default</code> | | None |
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
# Example
|
|
29
|
+
|
|
30
|
+
The Scroll is a component that wraps the BaseScroll and provides it for a unique id.
|
|
31
|
+
|
|
32
|
+
## Events
|
|
33
|
+
|
|
34
|
+
A list of events that the component will emit:
|
|
35
|
+
|
|
36
|
+
- `UserScrolled`: emitted after the user scrolls in this container. The payload is the scroll top
|
|
37
|
+
distance in pixels.
|
|
38
|
+
- `UserChangedScrollDirection`: emitted when the user changes the scroll direction. The payload is
|
|
39
|
+
the new scrolling direction.
|
|
40
|
+
- `UserReachedScrollStart`: emitted when the user scrolls up to the initial position of the scroll.
|
|
41
|
+
- `UserAlmostReachedScrollEnd`: emitted when the user is about to reach the bottom part of the
|
|
42
|
+
scroll.
|
|
43
|
+
- `UserReachedScrollEnd`: emitted when the user has reached the bottom part of the scroll.
|
|
44
|
+
|
|
45
|
+
## Customized usage
|
|
46
|
+
|
|
47
|
+
### Overriding the properties
|
|
48
|
+
|
|
49
|
+
It renders an element with scroll, with the content passed in the `default slot`.
|
|
50
|
+
|
|
51
|
+
```vue
|
|
52
|
+
<template>
|
|
53
|
+
<Scroll id="exampleScrollId" throttleMs="50" distanceToBottom="300">
|
|
54
|
+
<div class="content-scroll">
|
|
55
|
+
<span>content1</span>
|
|
56
|
+
<span>content1</span>
|
|
57
|
+
</div>
|
|
58
|
+
</Scroll>
|
|
59
|
+
</template>
|
|
60
|
+
|
|
61
|
+
<script>
|
|
62
|
+
import { Scroll } from "@empathyco/x-components/scroll";
|
|
63
|
+
|
|
64
|
+
export default {
|
|
65
|
+
name: "ScrollIdTest",
|
|
66
|
+
components: {
|
|
67
|
+
Scroll
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
</script>
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## Customized usage
|
|
74
|
+
|
|
75
|
+
### Using scroll events.
|
|
76
|
+
|
|
77
|
+
```vue
|
|
78
|
+
<template>
|
|
79
|
+
<Scroll
|
|
80
|
+
@scroll="scroll"
|
|
81
|
+
@scroll:direction-change="scrollDirectionChange"
|
|
82
|
+
@scroll:at-start="scrollAtStart"
|
|
83
|
+
@scroll:almost-at-end="scrollAlmostAtEnd"
|
|
84
|
+
@scroll:at-end="scrollAtEnd"
|
|
85
|
+
id="exampleScrollId"
|
|
86
|
+
throttleMs="50"
|
|
87
|
+
distanceToBottom="300"
|
|
88
|
+
>
|
|
89
|
+
<div class="content-scroll">
|
|
90
|
+
<span>content1</span>
|
|
91
|
+
<span>content1</span>
|
|
92
|
+
</div>
|
|
93
|
+
</Scroll>
|
|
94
|
+
</template>
|
|
95
|
+
|
|
96
|
+
<script>
|
|
97
|
+
import { Scroll } from "@empathyco/x-components/scroll";
|
|
98
|
+
|
|
99
|
+
export default {
|
|
100
|
+
name: "ScrollIdTest",
|
|
101
|
+
components: {
|
|
102
|
+
Scroll
|
|
103
|
+
},
|
|
104
|
+
methods: {
|
|
105
|
+
scroll(position) {
|
|
106
|
+
console.log("scroll", position);
|
|
107
|
+
},
|
|
108
|
+
scrollDirectionChange(direction) {
|
|
109
|
+
console.log("scroll:direction-change", direction);
|
|
110
|
+
},
|
|
111
|
+
scrollAtStart(isAtStart) {
|
|
112
|
+
console.log("scroll:at-start", isAtStart);
|
|
113
|
+
},
|
|
114
|
+
scrollAlmostAtEnd(isAlmostAtEnd) {
|
|
115
|
+
console.log("scroll:almost-at-end", isAlmostAtEnd);
|
|
116
|
+
},
|
|
117
|
+
scrollAtEnd(isAtEnd) {
|
|
118
|
+
console.log("scroll:at-end", isAtEnd);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
</script>
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
## Customized usage
|
|
126
|
+
|
|
127
|
+
### Using XEvents.
|
|
128
|
+
|
|
129
|
+
You can use the XEvents subscribing to them.
|
|
130
|
+
|
|
131
|
+
```vue
|
|
132
|
+
<template>
|
|
133
|
+
<Scroll throttleMs="50" distanceToBottom="300">
|
|
134
|
+
<div class="content-scroll">
|
|
135
|
+
<span>content1</span>
|
|
136
|
+
<span>content1</span>
|
|
137
|
+
</div>
|
|
138
|
+
</Scroll>
|
|
139
|
+
</template>
|
|
140
|
+
|
|
141
|
+
<script>
|
|
142
|
+
import { Scroll } from "@empathyco/x-components/scroll";
|
|
143
|
+
|
|
144
|
+
export default {
|
|
145
|
+
name: "ScrollIdTest",
|
|
146
|
+
components: {
|
|
147
|
+
Scroll
|
|
148
|
+
},
|
|
149
|
+
mounted() {
|
|
150
|
+
this.$x.on("UserScrolled").subscribe(distance => {
|
|
151
|
+
console.log(distance);
|
|
152
|
+
});
|
|
153
|
+
this.$x.on("UserChangedScrollDirection").subscribe(direction => {
|
|
154
|
+
console.log(direction);
|
|
155
|
+
});
|
|
156
|
+
this.$x.on("UserReachedScrollStart").subscribe(isAtStart => {
|
|
157
|
+
console.log(isAtStart);
|
|
158
|
+
});
|
|
159
|
+
this.$x.on("UserAlmostReachedScrollEnd").subscribe(isAlmostAtEnd => {
|
|
160
|
+
console.log(isAlmostAtEnd);
|
|
161
|
+
});
|
|
162
|
+
this.$x.on("UserReachedScrollEnd").subscribe(isAtEnd => {
|
|
163
|
+
console.log(isAtEnd);
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
</script>
|
|
168
|
+
```
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: x-components.x-components.window-scroll
|
|
3
|
+
title: Window Scroll
|
|
4
|
+
sidebar_label: Window Scroll
|
|
5
|
+
---
|
|
6
|
+
# window-scroll
|
|
7
|
+
|
|
8
|
+
> The `WindowScroll` component listens to either the `html` or `body` DOM scroll events, and
|
|
9
|
+
> re-emits them as X Events. Additionally it also emits events related to the direction or
|
|
10
|
+
> current position of these elements scroll.
|
|
11
|
+
|
|
12
|
+
## Props
|
|
13
|
+
|
|
14
|
+
| Name | Description | Type | Default |
|
|
15
|
+
| ------------------------------ | -------------------------------------------- | ------------------------------ | ------------------------- |
|
|
16
|
+
| <code>scrollableElement</code> | Tag to identify the main scrollable element. | <code>ScrollableElement</code> | <code>'html'</code> |
|
|
17
|
+
| <code>id</code> | Id to identify the component. | <code>string</code> | <code>MainScrollId</code> |
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
# Example
|
|
22
|
+
|
|
23
|
+
The `WindowScroll` component manages the scroll state of the `body` or `html` elements. It does the
|
|
24
|
+
necessary calculations for knowing the direction of scroll, if the scroll has reached its starting
|
|
25
|
+
position, if it is about to reach its ending position or if it has already reached it end. Whenever
|
|
26
|
+
this state changes, it emits the appropiate X Event to the rest of the application
|
|
27
|
+
|
|
28
|
+
## Custom usage
|
|
29
|
+
|
|
30
|
+
### Overriding the properties and using document scroll events.
|
|
31
|
+
|
|
32
|
+
```vue
|
|
33
|
+
<template>
|
|
34
|
+
<WindowScroll
|
|
35
|
+
@scroll="scroll"
|
|
36
|
+
@scroll:direction-change="scrollDirectionChange"
|
|
37
|
+
@scroll:at-start="scrollAtStart"
|
|
38
|
+
@scroll:almost-at-end="scrollAlmostAtEnd"
|
|
39
|
+
@scroll:at-end="scrollAtEnd"
|
|
40
|
+
id="example-main-scroll"
|
|
41
|
+
throttleMs="100"
|
|
42
|
+
distanceToBottom="300"
|
|
43
|
+
scrollableElement="body"
|
|
44
|
+
/>
|
|
45
|
+
</template>
|
|
46
|
+
|
|
47
|
+
<script>
|
|
48
|
+
import { WindowScroll } from "@empathyco/x-components/scroll";
|
|
49
|
+
|
|
50
|
+
export default {
|
|
51
|
+
name: "ScrollIdTest",
|
|
52
|
+
components: {
|
|
53
|
+
WindowScroll
|
|
54
|
+
},
|
|
55
|
+
methods: {
|
|
56
|
+
scroll(position) {
|
|
57
|
+
console.log("scroll", position);
|
|
58
|
+
},
|
|
59
|
+
scrollDirectionChange(direction) {
|
|
60
|
+
console.log("scroll:direction-change", direction);
|
|
61
|
+
},
|
|
62
|
+
scrollAtStart() {
|
|
63
|
+
console.log("scroll:at-start", isAtStart);
|
|
64
|
+
},
|
|
65
|
+
scrollAlmostAtEnd(isAlmostAtEnd) {
|
|
66
|
+
console.log("scroll:almost-at-end", isAlmostAtEnd);
|
|
67
|
+
},
|
|
68
|
+
scrollAtEnd(isAtEnd) {
|
|
69
|
+
console.log("scroll:at-end", isAtEnd);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
</script>
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## Customized usage
|
|
77
|
+
|
|
78
|
+
### Using body and XEvents.
|
|
79
|
+
|
|
80
|
+
If we want to listen scroll body we should do some changes in css for body. This is an example, so
|
|
81
|
+
therefore the height of body can be get any value that you want. The template style should have a
|
|
82
|
+
similar styles the corresponding style for tag body like in the next example.
|
|
83
|
+
|
|
84
|
+
```vue
|
|
85
|
+
<template>
|
|
86
|
+
<WindowScroll
|
|
87
|
+
id="example-main-scroll"
|
|
88
|
+
throttleMs="100"
|
|
89
|
+
distanceToBottom="300"
|
|
90
|
+
scrollableElement="body"
|
|
91
|
+
/>
|
|
92
|
+
</template>
|
|
93
|
+
|
|
94
|
+
<script>
|
|
95
|
+
import { WindowScroll } from "@empathyco/x-components/scroll";
|
|
96
|
+
|
|
97
|
+
export default {
|
|
98
|
+
name: "MainComponent",
|
|
99
|
+
components: {
|
|
100
|
+
WindowScroll
|
|
101
|
+
},
|
|
102
|
+
mounted() {
|
|
103
|
+
this.$x.on("UserScrolled").subscribe(distance => {
|
|
104
|
+
console.log(distance);
|
|
105
|
+
});
|
|
106
|
+
this.$x.on("UserChangedScrollDirection").subscribe(direction => {
|
|
107
|
+
console.log(direction);
|
|
108
|
+
});
|
|
109
|
+
this.$x.on("UserReachedScrollStart").subscribe(isAtStart => {
|
|
110
|
+
console.log(isAtStart);
|
|
111
|
+
});
|
|
112
|
+
this.$x.on("UserAlmostReachedScrollEnd").subscribe(isAlmostAtEnd => {
|
|
113
|
+
console.log(isAlmostAtEnd);
|
|
114
|
+
});
|
|
115
|
+
this.$x.on("UserReachedScrollEnd").subscribe(isAtEnd => {
|
|
116
|
+
console.log(isAtEnd);
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
</script>
|
|
121
|
+
<style lang="scss">
|
|
122
|
+
html {
|
|
123
|
+
overflow: hidden;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
body {
|
|
127
|
+
overflow-y: auto;
|
|
128
|
+
height: 100vh;
|
|
129
|
+
}
|
|
130
|
+
</style>
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
## Vue Events:
|
|
134
|
+
|
|
135
|
+
- `scroll`: the event is emitted after the user scrolls in this container. The payload is the scroll
|
|
136
|
+
top distance in pixels.
|
|
137
|
+
- `scroll:direction-change`: the event is emitted when the user changes the scroll direction. The
|
|
138
|
+
payload is the new scrolling direction.
|
|
139
|
+
- `scroll:at-start`: the event is emitted when the user scrolls up to the initial position of the
|
|
140
|
+
scroll.
|
|
141
|
+
- `scroll:almost-at-end`: the event is emitted when the user is about to reach the bottom part of
|
|
142
|
+
the scroll.
|
|
143
|
+
- `scroll:at-end`: the event is emitted when the user has reached the bottom part of the scroll.
|
|
144
|
+
|
|
145
|
+
## Events
|
|
146
|
+
|
|
147
|
+
A list of events that the component will emit:
|
|
148
|
+
|
|
149
|
+
- `UserScrolled`: the event is emitted after the user scrolls in this container. The payload is the
|
|
150
|
+
scroll top distance in pixels.
|
|
151
|
+
- `UserChangedScrollDirection`: the event is emitted when the user changes the scroll direction. The
|
|
152
|
+
payload is the new scrolling direction.
|
|
153
|
+
- `UserReachedScrollStart`: the event is emitted when the user scrolls up to the initial position of
|
|
154
|
+
the scroll.
|
|
155
|
+
- `UserAlmostReachedScrollEnd`: the event is emitted when the user is about to reach the bottom part
|
|
156
|
+
of the scroll.
|
|
157
|
+
- `UserReachedScrollEnd`: the event is emitted when the user has reached the bottom part of the
|
|
158
|
+
scroll.
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: x-components.x-components.redirection
|
|
3
|
+
title: Redirection
|
|
4
|
+
sidebar_label: Redirection
|
|
5
|
+
---
|
|
6
|
+
# redirection
|
|
7
|
+
|
|
8
|
+
> A redirection is a component that sends the user to a link in the website. It is helpful when
|
|
9
|
+
> there are queries like `help`, `shipping costs`, `my account`, where a link to a section in the
|
|
10
|
+
> website will be more helpful than the set of results returned.
|
|
11
|
+
|
|
12
|
+
## Props
|
|
13
|
+
|
|
14
|
+
| Name | Description | Type | Default |
|
|
15
|
+
| --------------------------- | ----------------------------------------------------------------------------------- | ------------------- | ------------------- |
|
|
16
|
+
| <code>mode</code> | The redirection mode. Auto for auto redirection and manual for an user interaction. | <code>string</code> | <code>'auto'</code> |
|
|
17
|
+
| <code>delayInSeconds</code> | The waiting time in seconds until the redirection is made. | <code>number</code> | <code>0</code> |
|
|
18
|
+
|
|
19
|
+
## Slots
|
|
20
|
+
|
|
21
|
+
| Name | Description | Bindings<br />(name - type - description) |
|
|
22
|
+
| -------------------- | ----------- | ----------------------------------------- |
|
|
23
|
+
| <code>default</code> | | <br /><br /><br /><br /> |
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
### Play with the component
|
|
28
|
+
|
|
29
|
+
In this example, a query has been searched in the search input resulting in a case where the
|
|
30
|
+
response has a redirection.
|
|
31
|
+
|
|
32
|
+
A text box appears bellow the search box indicating that you're going to be redirected to another
|
|
33
|
+
web page.
|
|
34
|
+
|
|
35
|
+
This component has two modes:
|
|
36
|
+
|
|
37
|
+
- Auto mode means that the redirection will occur after a certain number of seconds passed as a
|
|
38
|
+
property.
|
|
39
|
+
- If the value is 0 the redirection will be instantly.
|
|
40
|
+
- Manual mode means that the user have to click the redirect button or nothing will happen.
|
|
41
|
+
|
|
42
|
+
_Type any term in the input field to try it out!_
|
|
43
|
+
|
|
44
|
+
```vue
|
|
45
|
+
<template>
|
|
46
|
+
<Redirection #default="{ redirection, redirect, abortRedirect }">
|
|
47
|
+
<span>In a few seconds you're going to be redirected!</span>
|
|
48
|
+
<span>{{ redirection.url }}</span>
|
|
49
|
+
<button @click="redirection">Redirect now!</button>
|
|
50
|
+
<button @click="abortRedirect">Abort redirection!</button>
|
|
51
|
+
</Redirection>
|
|
52
|
+
</template>
|
|
53
|
+
|
|
54
|
+
<script>
|
|
55
|
+
import { Redirection } from "@empathyco/x-components/search";
|
|
56
|
+
export default {
|
|
57
|
+
name: "RedirectionDemo",
|
|
58
|
+
components: {
|
|
59
|
+
Redirection
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
</script>
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## Extending the component
|
|
66
|
+
|
|
67
|
+
Components behaviour can be changed, in this example the mode of the component will be manual
|
|
68
|
+
forcing the user to accept the redirection
|
|
69
|
+
|
|
70
|
+
```vue
|
|
71
|
+
<template>
|
|
72
|
+
<Redirection #default="{ redirection, redirect }">
|
|
73
|
+
<span>{{ redirection.url }}</span>
|
|
74
|
+
<button @click="redirect">Redirect now!</button>
|
|
75
|
+
</Redirection>
|
|
76
|
+
</template>
|
|
77
|
+
|
|
78
|
+
<script>
|
|
79
|
+
import { Redirection } from "@empathyco/x-components/search";
|
|
80
|
+
export default {
|
|
81
|
+
name: "RedirectionDemo",
|
|
82
|
+
components: {
|
|
83
|
+
Redirection
|
|
84
|
+
},
|
|
85
|
+
data() {
|
|
86
|
+
return {
|
|
87
|
+
mode: "manual"
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
</script>
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
## Events
|
|
95
|
+
|
|
96
|
+
This component emits the following events:
|
|
97
|
+
|
|
98
|
+
- `UserClickedARedirection` after the user clicks the redirection button.
|
|
99
|
+
- `UserClickedAbortARedirection` after the user clicks the abort redirection button.
|
|
@@ -10,11 +10,10 @@ sidebar_label: Sort Dropdown
|
|
|
10
10
|
|
|
11
11
|
## Props
|
|
12
12
|
|
|
13
|
-
| Name | Description
|
|
14
|
-
| ---------------------- |
|
|
15
|
-
| <code>items</code> | The list of possible sort values. If
|
|
16
|
-
| <code>
|
|
17
|
-
| <code>animation</code> | The transition to use for opening and closing the dropdown. | <code>union</code> | <code></code> |
|
|
13
|
+
| Name | Description | Type | Default |
|
|
14
|
+
| ---------------------- | --------------------------------------------------------------------------------------------------------------------- | ------------------ | ------------- |
|
|
15
|
+
| <code>items</code> | The list of possible sort values. If there are no values selected, the first item of<br />this list will be selected. | <code>Array</code> | <code></code> |
|
|
16
|
+
| <code>animation</code> | The transition to use for opening and closing the dropdown. | <code>union</code> | <code></code> |
|
|
18
17
|
|
|
19
18
|
## Events
|
|
20
19
|
|
|
@@ -10,11 +10,10 @@ sidebar_label: Sort List
|
|
|
10
10
|
|
|
11
11
|
## Props
|
|
12
12
|
|
|
13
|
-
| Name | Description
|
|
14
|
-
| ---------------------- |
|
|
15
|
-
| <code>items</code> | The list of possible sort values. If
|
|
16
|
-
| <code>
|
|
17
|
-
| <code>animation</code> | The transition to use for rendering the list. | <code>union</code> | <code>'ul'</code> |
|
|
13
|
+
| Name | Description | Type | Default |
|
|
14
|
+
| ---------------------- | --------------------------------------------------------------------------------------------------------------------- | ------------------ | ----------------- |
|
|
15
|
+
| <code>items</code> | The list of possible sort values. If there are no values selected, the first item of<br />this list will be selected. | <code>Array</code> | <code></code> |
|
|
16
|
+
| <code>animation</code> | The transition to use for rendering the list. | <code>union</code> | <code>'ul'</code> |
|
|
18
17
|
|
|
19
18
|
## Slots
|
|
20
19
|
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: x-components.x-components.tagging
|
|
3
|
+
title: Tagging
|
|
4
|
+
sidebar_label: Tagging
|
|
5
|
+
---
|
|
6
|
+
# tagging
|
|
7
|
+
|
|
8
|
+
## Props
|
|
9
|
+
|
|
10
|
+
| Name | Description | Type | Default |
|
|
11
|
+
| ----------------------------------- | ----------------------------------------------------- | -------------------- | ------------- |
|
|
12
|
+
| <code>sessionTTLMs</code> | The session TTL in milliseconds. | <code>union</code> | <code></code> |
|
|
13
|
+
| <code>queryTaggingDebounceMs</code> | The debounce time in milliseconds to track the query. | <code>union</code> | <code></code> |
|
|
14
|
+
| <code>consent</code> | The consent to be emitted. | <code>boolean</code> | <code></code> |
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## Events
|
|
19
|
+
|
|
20
|
+
This component emits the following events:
|
|
21
|
+
|
|
22
|
+
- [`ConsentProvided`](./../../api/x-components.taggingxevents.consentprovided.md)
|
|
23
|
+
- [`SessionDurationProvided`](./../../api/x-components.taggingxevents.sessiondurationprovided.md)
|
|
24
|
+
- `QueryTaggingDebounceProvided`[1][1](./../../api/x-components.taggingxevents.querytaggingdebounceprovided.md)
|
|
25
|
+
|
|
26
|
+
## See it in action
|
|
27
|
+
|
|
28
|
+
This component manages the tagging of the API to track the different features. This component
|
|
29
|
+
doesn't render elements to the DOM.
|
|
30
|
+
|
|
31
|
+
```vue
|
|
32
|
+
<template>
|
|
33
|
+
<Tagging />
|
|
34
|
+
</template>
|
|
35
|
+
|
|
36
|
+
<script>
|
|
37
|
+
import { Tagging } from "@empathyco/x-components/tagging";
|
|
38
|
+
|
|
39
|
+
export default {
|
|
40
|
+
name: "TaggingDemo",
|
|
41
|
+
components: {
|
|
42
|
+
Tagging
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
</script>
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### Play with props
|
|
49
|
+
|
|
50
|
+
In this example, the `Tagging` component will emit `ConsentProvided` with payload false by default
|
|
51
|
+
if the consent is not provided, the `SessionDurationProvided` and `QueryTaggingDebounceProvided`
|
|
52
|
+
events will be emitted only if the props are defined.
|
|
53
|
+
|
|
54
|
+
```vue
|
|
55
|
+
<template>
|
|
56
|
+
<Tagging
|
|
57
|
+
:consent="true"
|
|
58
|
+
:queryTaggingDebounceMs="300"
|
|
59
|
+
:sessionDurationMs="30000"
|
|
60
|
+
/>
|
|
61
|
+
</template>
|
|
62
|
+
|
|
63
|
+
<script>
|
|
64
|
+
import { Tagging } from "@empathyco/x-components/tagging";
|
|
65
|
+
|
|
66
|
+
export default {
|
|
67
|
+
name: "TaggingDemo",
|
|
68
|
+
components: {
|
|
69
|
+
Tagging
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
</script>
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### Play with events
|
|
76
|
+
|
|
77
|
+
The `Tagging` will emit the `ConsentProvided` when the component is loaded and the consent is set by
|
|
78
|
+
the prop or getting the value from the snippet config.
|
|
79
|
+
|
|
80
|
+
The `Tagging` will emit the `SessionDurationProvided` when the component is loaded with a session
|
|
81
|
+
duration using the prop.
|
|
82
|
+
|
|
83
|
+
The `Tagging` will emit the `QueryTaggingDebounceProvided` when the component is loaded with query
|
|
84
|
+
debounce using the prop.
|
|
@@ -5,6 +5,10 @@ sidebar_label: Url Handler
|
|
|
5
5
|
---
|
|
6
6
|
# url-handler
|
|
7
7
|
|
|
8
|
+
> This component manage the browser URL parameters to perserve them through reloads and browser
|
|
9
|
+
> history navigation. It allow to configure the default url parameter names using its attributes.
|
|
10
|
+
> This component doesn't render elements to the DOM.
|
|
11
|
+
|
|
8
12
|
---
|
|
9
13
|
|
|
10
14
|
## Events
|
|
@@ -12,12 +16,14 @@ sidebar_label: Url Handler
|
|
|
12
16
|
This component emits the following events:
|
|
13
17
|
|
|
14
18
|
- [`ParamsLoadedFromUrl`](./../../api/x-components.urlxevents.paramsloadedfromurl.md)
|
|
19
|
+
- [`ExtraParamsLoadedFromUrl`](./../../api/x-components.urlxevents.extraparamsloadedfromurl.md)
|
|
15
20
|
- [`UserOpenXProgrammatically`](./../../api/x-components.xeventstypes.useropenxprogrammatically.md)
|
|
16
21
|
|
|
17
22
|
## See it in action
|
|
18
23
|
|
|
19
|
-
This component
|
|
20
|
-
url parameter names.
|
|
24
|
+
This component manages the browser URL parameters to preserve them through reloads and browser
|
|
25
|
+
history navigation. It allow to configure the default url parameter names using its attributes. This
|
|
26
|
+
component doesn't render elements to the DOM.
|
|
21
27
|
|
|
22
28
|
_Try to make some requests and take a look to the url!_
|
|
23
29
|
|
|
@@ -69,3 +75,9 @@ export default {
|
|
|
69
75
|
### Play with events
|
|
70
76
|
|
|
71
77
|
The `UrlHandler` will emit the `ParamsLoadedFromUrl` when the page is loaded.
|
|
78
|
+
|
|
79
|
+
The `UrlHandler` will emit the `ExtraParamsLoadedFromUrl` when the page is loaded with an extra
|
|
80
|
+
param configured and with a value in URL.
|
|
81
|
+
|
|
82
|
+
The `UrlHandler` will emit the `UserOpenXProgrammatically` when the page is loaded with a query in
|
|
83
|
+
the URL.
|