@empathyco/x-components 6.0.0-alpha.60 → 6.0.0-alpha.62
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 +24 -1
- package/core/index.js +46 -45
- package/core/index.js.map +1 -1
- package/design-system/deprecated-full-theme.css +368 -308
- package/docs/API-reference/api/x-components.addquerytohistory.md +1 -1
- package/docs/API-reference/api/x-components.addquerytohistoryaction.addquerytohistory.md +1 -1
- package/docs/API-reference/api/x-components.addquerytohistoryaction.md +2 -2
- package/docs/API-reference/api/x-components.basecolumnpickerdropdown.md +4 -4
- package/docs/API-reference/api/x-components.baseresultlink.md +1 -0
- package/docs/API-reference/api/x-components.baseresultrating.md +1 -0
- package/docs/API-reference/api/x-components.baseteleport.md +21 -0
- package/docs/API-reference/api/x-components.bus.md +1 -1
- package/docs/API-reference/api/x-components.cancelfetchandsaveidentifierresults.md +1 -1
- package/docs/API-reference/api/x-components.cancelfetchandsaveidentifierresultswire.md +1 -1
- package/docs/API-reference/api/x-components.cancelfetchandsavenextqueries.md +1 -1
- package/docs/API-reference/api/x-components.cancelfetchandsavepopularsearches.md +1 -1
- package/docs/API-reference/api/x-components.cancelfetchandsavequerysuggestions.md +1 -1
- package/docs/API-reference/api/x-components.cancelfetchandsaverecommendations.md +1 -1
- package/docs/API-reference/api/x-components.cancelfetchandsaverelatedprompts.md +1 -1
- package/docs/API-reference/api/x-components.cancelfetchandsaverelatedtags.md +1 -1
- package/docs/API-reference/api/x-components.cancelfetchandsaverelatedtagswire.md +1 -1
- package/docs/API-reference/api/x-components.cancelfetchandsavesearchresponse.md +1 -1
- package/docs/API-reference/api/x-components.cancelfetchandsavesearchresponsewire.md +1 -1
- package/docs/API-reference/api/x-components.cancelfetchandsavesuggestionswire.md +1 -1
- package/docs/API-reference/api/x-components.configmutations.md +2 -7
- package/docs/API-reference/api/x-components.configmutations.mergeconfig.md +2 -13
- package/docs/API-reference/api/x-components.configmutations.setconfig.md +2 -13
- package/docs/API-reference/api/x-components.createfetchandsaveactions.md +2 -2
- package/docs/API-reference/api/x-components.createrelatedtagsquerygetter.md +2 -2
- package/docs/API-reference/api/x-components.createstoreemitters.md +2 -2
- package/docs/API-reference/api/x-components.debouncedfunction.cancel.md +2 -6
- package/docs/API-reference/api/x-components.debouncedfunction.md +4 -4
- package/docs/API-reference/api/x-components.defaultfacetsservice.clearfilterswithmetadata.md +2 -2
- package/docs/API-reference/api/x-components.defaultfacetsservice.md +1 -1
- package/docs/API-reference/api/x-components.devicemutations.md +4 -4
- package/docs/API-reference/api/x-components.devicemutations.setname.md +2 -13
- package/docs/API-reference/api/x-components.devicexevents.deviceprovided.md +1 -1
- package/docs/API-reference/api/x-components.devicexevents.md +1 -1
- package/docs/API-reference/api/x-components.empathizemutations.md +4 -4
- package/docs/API-reference/api/x-components.empathizemutations.setisopen.md +2 -13
- package/docs/API-reference/api/x-components.empathizexevents.empathizeclosed.md +1 -1
- package/docs/API-reference/api/x-components.empathizexevents.empathizeopened.md +1 -1
- package/docs/API-reference/api/x-components.empathizexevents.md +3 -3
- package/docs/API-reference/api/x-components.empathizexevents.userclosedempathize.md +1 -1
- package/docs/API-reference/api/x-components.experiencecontrolsactions.cancelfetchandsavecontrols.md +1 -1
- package/docs/API-reference/api/x-components.experiencecontrolsactions.fetchandsaveexperiencecontrolsresponse.md +2 -13
- package/docs/API-reference/api/x-components.experiencecontrolsactions.fetchexperiencecontrolsresponse.md +2 -15
- package/docs/API-reference/api/x-components.experiencecontrolsactions.md +3 -8
- package/docs/API-reference/api/x-components.experiencecontrolsmutations.md +6 -6
- package/docs/API-reference/api/x-components.experiencecontrolsmutations.setcontrols.md +2 -13
- package/docs/API-reference/api/x-components.experiencecontrolsmutations.setevents.md +2 -13
- package/docs/API-reference/api/x-components.experiencecontrolsmutations.setparams.md +2 -13
- package/docs/API-reference/api/x-components.externaltaggingservice.md +8 -8
- package/docs/API-reference/api/x-components.externaltaggingservice.movetosessionstorage.md +2 -13
- package/docs/API-reference/api/x-components.externaltaggingservice.storeaddtocart.md +2 -13
- package/docs/API-reference/api/x-components.externaltaggingservice.storeresultclicked.md +2 -13
- package/docs/API-reference/api/x-components.externaltaggingservice.trackaddtocart.md +2 -13
- package/docs/API-reference/api/x-components.extraparamsmutations.md +4 -4
- package/docs/API-reference/api/x-components.extraparamsmutations.setparams.md +2 -13
- package/docs/API-reference/api/x-components.extraparamsxevents.extraparamschanged.md +1 -1
- package/docs/API-reference/api/x-components.extraparamsxevents.extraparamsinitialized.md +1 -1
- package/docs/API-reference/api/x-components.extraparamsxevents.extraparamsprovided.md +1 -1
- package/docs/API-reference/api/x-components.extraparamsxevents.md +4 -4
- package/docs/API-reference/api/x-components.extraparamsxevents.userchangedextraparams.md +1 -1
- package/docs/API-reference/api/x-components.facetsmutations.clearstickyfilters.md +2 -6
- package/docs/API-reference/api/x-components.facetsmutations.md +15 -15
- package/docs/API-reference/api/x-components.facetsmutations.mutatefilter.md +2 -13
- package/docs/API-reference/api/x-components.facetsmutations.removefacet.md +2 -13
- package/docs/API-reference/api/x-components.facetsmutations.removefilter.md +2 -13
- package/docs/API-reference/api/x-components.facetsmutations.removefilters.md +2 -13
- package/docs/API-reference/api/x-components.facetsmutations.removestickyfilter.md +2 -13
- package/docs/API-reference/api/x-components.facetsmutations.setfacet.md +2 -13
- package/docs/API-reference/api/x-components.facetsmutations.setfacetgroup.md +2 -13
- package/docs/API-reference/api/x-components.facetsmutations.setfilters.md +2 -13
- package/docs/API-reference/api/x-components.facetsmutations.setpreselectedfilters.md +2 -13
- package/docs/API-reference/api/x-components.facetsmutations.setstickyfilter.md +2 -13
- package/docs/API-reference/api/x-components.facetsservice.clearfilters.md +2 -14
- package/docs/API-reference/api/x-components.facetsservice.clearfilterswithmetadata.md +3 -14
- package/docs/API-reference/api/x-components.facetsservice.deselect.md +2 -14
- package/docs/API-reference/api/x-components.facetsservice.md +14 -14
- package/docs/API-reference/api/x-components.facetsservice.select.md +2 -13
- package/docs/API-reference/api/x-components.facetsservice.selectpreselectedfilters.md +2 -6
- package/docs/API-reference/api/x-components.facetsservice.setfacets.md +2 -13
- package/docs/API-reference/api/x-components.facetsservice.setquery.md +2 -13
- package/docs/API-reference/api/x-components.facetsservice.toggle.md +2 -13
- package/docs/API-reference/api/x-components.facetsservice.updatefacets.md +2 -13
- package/docs/API-reference/api/x-components.facetsservice.updatepreselectedfilters.md +2 -13
- package/docs/API-reference/api/x-components.fetchandsavehooks.fetch.md +2 -16
- package/docs/API-reference/api/x-components.fetchandsavehooks.md +8 -8
- package/docs/API-reference/api/x-components.fetchandsavehooks.oncancel.md +2 -6
- package/docs/API-reference/api/x-components.fetchandsavehooks.onerror.md +3 -14
- package/docs/API-reference/api/x-components.fetchandsavehooks.onsuccess.md +3 -15
- package/docs/API-reference/api/x-components.fetchandsaveidentifierresults.md +1 -1
- package/docs/API-reference/api/x-components.fetchandsavenextqueries.md +1 -1
- package/docs/API-reference/api/x-components.fetchandsavepopularsearches.md +1 -1
- package/docs/API-reference/api/x-components.fetchandsavequerypreview.md +1 -1
- package/docs/API-reference/api/x-components.fetchandsavequerysuggestions.md +1 -1
- package/docs/API-reference/api/x-components.fetchandsaverecommendations.md +1 -1
- package/docs/API-reference/api/x-components.fetchandsaverelatedprompts.md +1 -1
- package/docs/API-reference/api/x-components.fetchandsaverelatedtags.md +1 -1
- package/docs/API-reference/api/x-components.fetchandsavesearchresponse.md +1 -1
- package/docs/API-reference/api/x-components.fetchandsavesemanticquery.md +1 -1
- package/docs/API-reference/api/x-components.fetchexperiencecontrolsresponse.md +1 -1
- package/docs/API-reference/api/x-components.fetchidentifierresults.md +1 -1
- package/docs/API-reference/api/x-components.fetchnextqueries.md +1 -1
- package/docs/API-reference/api/x-components.fetchpopularsearches.md +1 -1
- package/docs/API-reference/api/x-components.fetchquerypreview.md +1 -1
- package/docs/API-reference/api/x-components.fetchquerysuggestions.md +1 -1
- package/docs/API-reference/api/x-components.fetchrecommendations.md +1 -1
- package/docs/API-reference/api/x-components.fetchrelatedprompts.md +1 -1
- package/docs/API-reference/api/x-components.fetchrelatedtags.md +1 -1
- package/docs/API-reference/api/x-components.fetchsearchresponse.md +1 -1
- package/docs/API-reference/api/x-components.fetchsemanticquery.md +1 -1
- package/docs/API-reference/api/x-components.historyqueriesactions.addquerytohistory.md +2 -12
- package/docs/API-reference/api/x-components.historyqueriesactions.loadhistoryqueriesfrombrowserstorage.md +2 -6
- package/docs/API-reference/api/x-components.historyqueriesactions.md +12 -12
- package/docs/API-reference/api/x-components.historyqueriesactions.refreshsession.md +2 -6
- package/docs/API-reference/api/x-components.historyqueriesactions.removefromhistory.md +2 -13
- package/docs/API-reference/api/x-components.historyqueriesactions.sethistoryqueries.md +2 -13
- package/docs/API-reference/api/x-components.historyqueriesactions.seturlparams.md +2 -13
- package/docs/API-reference/api/x-components.historyqueriesactions.togglehistoryqueries.md +2 -13
- package/docs/API-reference/api/x-components.historyqueriesactions.updatehistoryquerieswithsearchresponse.md +2 -13
- package/docs/API-reference/api/x-components.historyqueriesmutations.md +8 -8
- package/docs/API-reference/api/x-components.historyqueriesmutations.sethistoryqueries.md +2 -13
- package/docs/API-reference/api/x-components.historyqueriesmutations.setisenabled.md +2 -13
- package/docs/API-reference/api/x-components.historyqueriesmutations.setsearchselectedfilters.md +2 -13
- package/docs/API-reference/api/x-components.historyqueriesmutations.setsessiontimestamp.md +2 -13
- package/docs/API-reference/api/x-components.identifierresultsactions.cancelfetchandsaveidentifierresults.md +3 -7
- package/docs/API-reference/api/x-components.identifierresultsactions.fetchandsaveidentifierresults.md +2 -13
- package/docs/API-reference/api/x-components.identifierresultsactions.fetchidentifierresults.md +2 -15
- package/docs/API-reference/api/x-components.identifierresultsactions.md +9 -9
- package/docs/API-reference/api/x-components.identifierresultsactions.saveorigin.md +2 -13
- package/docs/API-reference/api/x-components.identifierresultsactions.savequery.md +2 -13
- package/docs/API-reference/api/x-components.identifierresultsmutations.md +6 -6
- package/docs/API-reference/api/x-components.identifierresultsmutations.setidentifierresults.md +2 -13
- package/docs/API-reference/api/x-components.identifierresultsmutations.setorigin.md +2 -13
- package/docs/API-reference/api/x-components.identifierresultsmutations.setparams.md +2 -13
- package/docs/API-reference/api/x-components.increasepageappendingresults.md +1 -1
- package/docs/API-reference/api/x-components.initwrapper.bus.md +1 -1
- package/docs/API-reference/api/x-components.initwrapper.md +1 -1
- package/docs/API-reference/api/x-components.installxoptions.bus.md +1 -1
- package/docs/API-reference/api/x-components.installxoptions.installextraplugins.md +3 -14
- package/docs/API-reference/api/x-components.installxoptions.md +2 -7
- package/docs/API-reference/api/x-components.loadhistoryqueriesfrombrowserstorage.md +1 -1
- package/docs/API-reference/api/x-components.md +62 -61
- package/docs/API-reference/api/x-components.nextqueriesactions.cancelfetchandsavenextqueries.md +3 -7
- package/docs/API-reference/api/x-components.nextqueriesactions.fetchandsavenextqueries.md +2 -13
- package/docs/API-reference/api/x-components.nextqueriesactions.fetchandsavenextquerypreview.md +3 -14
- package/docs/API-reference/api/x-components.nextqueriesactions.fetchnextqueries.md +2 -15
- package/docs/API-reference/api/x-components.nextqueriesactions.fetchnextquerypreview.md +3 -16
- package/docs/API-reference/api/x-components.nextqueriesactions.md +11 -11
- package/docs/API-reference/api/x-components.nextqueriesactions.setqueryfromlasthistoryquery.md +2 -13
- package/docs/API-reference/api/x-components.nextqueriesactions.seturlparams.md +2 -13
- package/docs/API-reference/api/x-components.nextqueriesmutations.md +10 -10
- package/docs/API-reference/api/x-components.nextqueriesmutations.resetresultspreview.md +2 -6
- package/docs/API-reference/api/x-components.nextqueriesmutations.setnextqueries.md +2 -13
- package/docs/API-reference/api/x-components.nextqueriesmutations.setparams.md +2 -13
- package/docs/API-reference/api/x-components.nextqueriesmutations.setrelatedtags.md +2 -13
- package/docs/API-reference/api/x-components.nextqueriesmutations.setresultspreview.md +2 -13
- package/docs/API-reference/api/x-components.nextqueriesmutations.setsearchedqueries.md +2 -13
- package/docs/API-reference/api/x-components.popularsearchesactions.cancelfetchandsavesuggestions.md +3 -7
- package/docs/API-reference/api/x-components.popularsearchesactions.fetchandsavesuggestions.md +2 -13
- package/docs/API-reference/api/x-components.popularsearchesactions.fetchsuggestions.md +2 -15
- package/docs/API-reference/api/x-components.popularsearchesactions.md +6 -6
- package/docs/API-reference/api/x-components.popularsearchesmutations.md +6 -6
- package/docs/API-reference/api/x-components.popularsearchesmutations.setparams.md +2 -13
- package/docs/API-reference/api/x-components.popularsearchesmutations.setsearchedqueries.md +2 -13
- package/docs/API-reference/api/x-components.popularsearchesmutations.setsuggestions.md +2 -13
- package/docs/API-reference/api/x-components.queriespreviewactions.fetchandsavequerypreview.md +2 -13
- package/docs/API-reference/api/x-components.queriespreviewactions.fetchquerypreview.md +2 -15
- package/docs/API-reference/api/x-components.queriespreviewactions.md +5 -5
- package/docs/API-reference/api/x-components.queriespreviewmutations.addquerypreviewinstance.md +2 -13
- package/docs/API-reference/api/x-components.queriespreviewmutations.clearquerypreview.md +2 -13
- package/docs/API-reference/api/x-components.queriespreviewmutations.md +12 -12
- package/docs/API-reference/api/x-components.queriespreviewmutations.removequerypreviewinstance.md +3 -14
- package/docs/API-reference/api/x-components.queriespreviewmutations.setparams.md +2 -13
- package/docs/API-reference/api/x-components.queriespreviewmutations.setquerypreviewcached.md +2 -13
- package/docs/API-reference/api/x-components.queriespreviewmutations.setselectedquerypreview.md +2 -13
- package/docs/API-reference/api/x-components.queriespreviewmutations.setstatus.md +2 -13
- package/docs/API-reference/api/x-components.queriespreviewmutations.updateaquerypreviewresult.md +3 -14
- package/docs/API-reference/api/x-components.querymutations.md +4 -4
- package/docs/API-reference/api/x-components.querymutations.setquery.md +2 -13
- package/docs/API-reference/api/x-components.querysuggestionsactions.cancelfetchandsavesuggestions.md +3 -7
- package/docs/API-reference/api/x-components.querysuggestionsactions.fetchandsavesuggestions.md +2 -13
- package/docs/API-reference/api/x-components.querysuggestionsactions.fetchsuggestions.md +2 -15
- package/docs/API-reference/api/x-components.querysuggestionsactions.md +8 -8
- package/docs/API-reference/api/x-components.querysuggestionsactions.seturlparams.md +2 -13
- package/docs/API-reference/api/x-components.querysuggestionsgetter.md +1 -1
- package/docs/API-reference/api/x-components.querysuggestionsgetter.querysuggestions.md +2 -2
- package/docs/API-reference/api/x-components.querysuggestionsmutations.md +6 -6
- package/docs/API-reference/api/x-components.querysuggestionsmutations.setparams.md +2 -13
- package/docs/API-reference/api/x-components.querysuggestionsmutations.setsearchedqueries.md +2 -13
- package/docs/API-reference/api/x-components.querysuggestionsmutations.setsuggestions.md +2 -13
- package/docs/API-reference/api/x-components.recommendationsactions.cancelfetchandsaverecommendations.md +3 -7
- package/docs/API-reference/api/x-components.recommendationsactions.fetchandsaverecommendations.md +2 -13
- package/docs/API-reference/api/x-components.recommendationsactions.fetchrecommendations.md +2 -15
- package/docs/API-reference/api/x-components.recommendationsactions.md +6 -6
- package/docs/API-reference/api/x-components.recommendationsmutations.md +6 -6
- package/docs/API-reference/api/x-components.recommendationsmutations.setparams.md +2 -13
- package/docs/API-reference/api/x-components.recommendationsmutations.setrecommendations.md +2 -13
- package/docs/API-reference/api/x-components.recommendationsmutations.updaterecommendation.md +2 -13
- package/docs/API-reference/api/x-components.refreshsession.md +1 -1
- package/docs/API-reference/api/x-components.relatedpromptsactions.cancelfetchandsaverelatedprompts.md +3 -7
- package/docs/API-reference/api/x-components.relatedpromptsactions.fetchandsaverelatedprompts.md +2 -13
- package/docs/API-reference/api/x-components.relatedpromptsactions.fetchrelatedprompts.md +2 -13
- package/docs/API-reference/api/x-components.relatedpromptsactions.md +8 -8
- package/docs/API-reference/api/x-components.relatedpromptsactions.seturlparams.md +2 -13
- package/docs/API-reference/api/x-components.relatedpromptsmutations.md +11 -11
- package/docs/API-reference/api/x-components.relatedpromptsmutations.resetrelatedpromptsstate.md +2 -6
- package/docs/API-reference/api/x-components.relatedpromptsmutations.resetselectedprompt.md +2 -6
- package/docs/API-reference/api/x-components.relatedpromptsmutations.setparams.md +2 -13
- package/docs/API-reference/api/x-components.relatedpromptsmutations.setrelatedpromptsproducts.md +2 -13
- package/docs/API-reference/api/x-components.relatedpromptsmutations.setrelatedpromptsrelatedtags.md +2 -13
- package/docs/API-reference/api/x-components.relatedpromptsmutations.setselectedprompt.md +2 -13
- package/docs/API-reference/api/x-components.relatedpromptsmutations.setselectedquery.md +2 -13
- package/docs/API-reference/api/x-components.relatedtags.md +1 -1
- package/docs/API-reference/api/x-components.relatedtagsactions.cancelfetchandsaverelatedtags.md +3 -7
- package/docs/API-reference/api/x-components.relatedtagsactions.fetchandsaverelatedtags.md +2 -13
- package/docs/API-reference/api/x-components.relatedtagsactions.fetchrelatedtags.md +2 -15
- package/docs/API-reference/api/x-components.relatedtagsactions.md +9 -9
- package/docs/API-reference/api/x-components.relatedtagsactions.seturlparams.md +2 -13
- package/docs/API-reference/api/x-components.relatedtagsactions.togglerelatedtag.md +2 -13
- package/docs/API-reference/api/x-components.relatedtagsmutations.md +6 -6
- package/docs/API-reference/api/x-components.relatedtagsmutations.setparams.md +2 -13
- package/docs/API-reference/api/x-components.relatedtagsmutations.setrelatedtags.md +2 -13
- package/docs/API-reference/api/x-components.relatedtagsmutations.setselectedrelatedtags.md +2 -13
- package/docs/API-reference/api/x-components.removefromhistory.md +1 -1
- package/docs/API-reference/api/x-components.resetrequestonrefinement.md +1 -1
- package/docs/API-reference/api/x-components.resetstateifnorequestwire.md +1 -1
- package/docs/API-reference/api/x-components.saveidentifierresultsorigin.md +1 -1
- package/docs/API-reference/api/x-components.savequery.md +1 -1
- package/docs/API-reference/api/x-components.savesearchorigin.md +1 -1
- package/docs/API-reference/api/x-components.savesearchresponse.md +1 -1
- package/docs/API-reference/api/x-components.scrollmutations.md +5 -5
- package/docs/API-reference/api/x-components.scrollmutations.setpendingscrollto.md +2 -13
- package/docs/API-reference/api/x-components.scrollmutations.setscrollcomponentstate.md +2 -13
- package/docs/API-reference/api/x-components.scrollvisibilityobserver.md +5 -5
- package/docs/API-reference/api/x-components.scrollvisibilityobserver.observe.md +2 -13
- package/docs/API-reference/api/x-components.scrollvisibilityobserver.unobserve.md +2 -13
- package/docs/API-reference/api/x-components.scrollxevents.md +8 -8
- package/docs/API-reference/api/x-components.scrollxevents.scrollrestorefailed.md +1 -1
- package/docs/API-reference/api/x-components.scrollxevents.scrollrestoresucceeded.md +1 -1
- package/docs/API-reference/api/x-components.scrollxevents.useralmostreachedscrollend.md +1 -1
- package/docs/API-reference/api/x-components.scrollxevents.userchangedscrolldirection.md +1 -1
- package/docs/API-reference/api/x-components.scrollxevents.userreachedscrollend.md +1 -1
- package/docs/API-reference/api/x-components.scrollxevents.userreachedscrollstart.md +1 -1
- package/docs/API-reference/api/x-components.scrollxevents.userscrolled.md +1 -1
- package/docs/API-reference/api/x-components.scrollxevents.userscrolledtoelement.md +1 -1
- package/docs/API-reference/api/x-components.searchactions.cancelfetchandsavesearchresponse.md +3 -7
- package/docs/API-reference/api/x-components.searchactions.fetchandsavesearchresponse.md +2 -13
- package/docs/API-reference/api/x-components.searchactions.fetchsearchresponse.md +2 -15
- package/docs/API-reference/api/x-components.searchactions.increasepageappendingresults.md +3 -6
- package/docs/API-reference/api/x-components.searchactions.md +12 -12
- package/docs/API-reference/api/x-components.searchactions.resetrequestonrefinement.md +2 -13
- package/docs/API-reference/api/x-components.searchactions.saveorigin.md +2 -13
- package/docs/API-reference/api/x-components.searchactions.savesearchresponse.md +2 -13
- package/docs/API-reference/api/x-components.searchactions.seturlparams.md +2 -13
- package/docs/API-reference/api/x-components.searchboxactions.md +5 -5
- package/docs/API-reference/api/x-components.searchboxactions.setinputstatus.md +2 -13
- package/docs/API-reference/api/x-components.searchboxactions.seturlparams.md +2 -13
- package/docs/API-reference/api/x-components.searchboxmutations.md +4 -4
- package/docs/API-reference/api/x-components.searchboxmutations.setinputstatus.md +2 -13
- package/docs/API-reference/api/x-components.searchboxxevents.md +12 -12
- package/docs/API-reference/api/x-components.searchboxxevents.searchboxquerychanged.md +1 -1
- package/docs/API-reference/api/x-components.searchboxxevents.userblurredsearchbox.md +1 -1
- package/docs/API-reference/api/x-components.searchboxxevents.userclearedquery.md +1 -1
- package/docs/API-reference/api/x-components.searchboxxevents.userclickedsearchbox.md +1 -1
- package/docs/API-reference/api/x-components.searchboxxevents.userfocusedsearchbox.md +1 -1
- package/docs/API-reference/api/x-components.searchboxxevents.userhoveredinsearchbox.md +1 -1
- package/docs/API-reference/api/x-components.searchboxxevents.userhoveredoutsearchbox.md +1 -1
- package/docs/API-reference/api/x-components.searchboxxevents.useristypingaquery.md +1 -1
- package/docs/API-reference/api/x-components.searchboxxevents.userpressedclearsearchboxbutton.md +1 -1
- package/docs/API-reference/api/x-components.searchboxxevents.userpressedenterkey.md +1 -1
- package/docs/API-reference/api/x-components.searchboxxevents.userpressedsearchbutton.md +1 -1
- package/docs/API-reference/api/x-components.searchboxxevents.usertalked.md +1 -1
- package/docs/API-reference/api/x-components.searchmutations.appendresults.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.md +28 -28
- package/docs/API-reference/api/x-components.searchmutations.resetstate.md +3 -7
- package/docs/API-reference/api/x-components.searchmutations.resetstateforreload.md +3 -7
- package/docs/API-reference/api/x-components.searchmutations.setbanners.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setdisplaytagging.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setfacets.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setfromnoresultswithfilters.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setisappendresults.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setisnoresults.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setorigin.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setpage.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setparams.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setpartialresults.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setpromoteds.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setquerytagging.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setredirections.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setrelatedtags.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setresults.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setselectedfilters.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setsort.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setspellcheck.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setstats.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.settotalresults.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.updateresult.md +2 -13
- package/docs/API-reference/api/x-components.semanticqueriesactions.fetchandsavesemanticquery.md +2 -13
- package/docs/API-reference/api/x-components.semanticqueriesactions.fetchsemanticquery.md +2 -15
- package/docs/API-reference/api/x-components.semanticqueriesactions.md +5 -5
- package/docs/API-reference/api/x-components.semanticqueriesmutations.md +8 -8
- package/docs/API-reference/api/x-components.semanticqueriesmutations.setparams.md +2 -13
- package/docs/API-reference/api/x-components.semanticqueriesmutations.setsemanticqueries.md +2 -13
- package/docs/API-reference/api/x-components.semanticqueriesmutations.setsemanticqueriesrelatedtags.md +2 -13
- package/docs/API-reference/api/x-components.semanticqueriesmutations.settotalresults.md +2 -13
- package/docs/API-reference/api/x-components.sethistoryqueries.md +1 -1
- package/docs/API-reference/api/x-components.setqueryfromlasthistoryquery.md +1 -1
- package/docs/API-reference/api/x-components.setsearchurlparams.md +1 -1
- package/docs/API-reference/api/x-components.sortdropdown.md +4 -4
- package/docs/API-reference/api/x-components.sortlist.md +4 -4
- package/docs/API-reference/api/x-components.sortpickerlist.md +4 -4
- package/docs/API-reference/api/x-components.spatialnavigation.md +4 -4
- package/docs/API-reference/api/x-components.spatialnavigation.navigateto.md +2 -15
- package/docs/API-reference/api/x-components.stateselector.filter.md +2 -16
- package/docs/API-reference/api/x-components.stateselector.md +1 -6
- package/docs/API-reference/api/x-components.statusmutations.md +4 -4
- package/docs/API-reference/api/x-components.statusmutations.setstatus.md +2 -13
- package/docs/API-reference/api/x-components.storemodulestateandgetters.getters.md +11 -0
- package/docs/API-reference/api/x-components.storemodulestateandgetters.md +9 -6
- package/docs/API-reference/api/x-components.storemodulestateandgetters.state.md +11 -0
- package/docs/API-reference/api/x-components.taggingactions.md +4 -4
- package/docs/API-reference/api/x-components.taggingactions.track.md +2 -13
- package/docs/API-reference/api/x-components.taggingmutations.md +6 -6
- package/docs/API-reference/api/x-components.taggingmutations.setconsent.md +2 -13
- package/docs/API-reference/api/x-components.taggingmutations.setnoresultstaggingenabled.md +2 -13
- package/docs/API-reference/api/x-components.taggingmutations.setquerytagginginfo.md +2 -13
- package/docs/API-reference/api/x-components.takenavigationcontrol.direction.md +11 -0
- package/docs/API-reference/api/x-components.takenavigationcontrol.md +10 -7
- package/docs/API-reference/api/x-components.takenavigationcontrol.modulename.md +11 -0
- package/docs/API-reference/api/x-components.takenavigationcontrol.xevent.md +11 -0
- package/docs/API-reference/api/x-components.togglerelatedtag.md +1 -1
- package/docs/API-reference/api/x-components.track.md +1 -1
- package/docs/API-reference/api/x-components.urlmutations.md +12 -12
- package/docs/API-reference/api/x-components.urlmutations.setfilters.md +2 -13
- package/docs/API-reference/api/x-components.urlmutations.setinitialextraparams.md +2 -13
- package/docs/API-reference/api/x-components.urlmutations.setpage.md +2 -13
- package/docs/API-reference/api/x-components.urlmutations.setparams.md +2 -13
- package/docs/API-reference/api/x-components.urlmutations.setprompt.md +2 -13
- package/docs/API-reference/api/x-components.urlmutations.setrelatedtags.md +2 -13
- package/docs/API-reference/api/x-components.urlmutations.setscroll.md +2 -13
- package/docs/API-reference/api/x-components.urlmutations.setsort.md +2 -13
- package/docs/API-reference/api/x-components.urlxevents.extraparamsloadedfromurl.md +1 -1
- package/docs/API-reference/api/x-components.urlxevents.md +4 -4
- package/docs/API-reference/api/x-components.urlxevents.paramsloadedfromurl.md +1 -1
- package/docs/API-reference/api/x-components.urlxevents.pushableurlstateupdated.md +1 -1
- package/docs/API-reference/api/x-components.urlxevents.replaceableurlstateupdated.md +1 -1
- package/docs/API-reference/api/x-components.useemitdisplayevent.md +2 -2
- package/docs/API-reference/api/x-components.useondisplay.md +2 -2
- package/docs/API-reference/api/x-components.xactioncontext.commit.md +2 -13
- package/docs/API-reference/api/x-components.xactioncontext.dispatch.md +2 -13
- package/docs/API-reference/api/x-components.xactioncontext.md +2 -9
- package/docs/API-reference/api/x-components.xapi.addproducttocart.md +2 -12
- package/docs/API-reference/api/x-components.xapi.getsnippetconfig.md +2 -8
- package/docs/API-reference/api/x-components.xapi.init.md +2 -13
- package/docs/API-reference/api/x-components.xapi.md +9 -9
- package/docs/API-reference/api/x-components.xapi.search.md +2 -13
- package/docs/API-reference/api/x-components.xapi.setsnippetconfig.md +2 -13
- package/docs/API-reference/api/x-components.xcomponentapi.md +1 -1
- package/docs/API-reference/api/x-components.xcomponentbusapi.emit.md +2 -13
- package/docs/API-reference/api/x-components.xcomponentbusapi.md +2 -8
- package/docs/API-reference/api/x-components.xinstaller.init.md +1 -1
- package/docs/API-reference/api/x-components.xplugin._constructor_.md +1 -1
- package/docs/API-reference/api/x-components.xplugin.adapter.md +1 -1
- package/docs/API-reference/api/x-components.xplugin.bus.md +1 -1
- package/docs/API-reference/components/common/animations/x-components.animate-width.md +14 -14
- package/docs/API-reference/components/common/animations/x-components.collapse-height.md +2 -2
- package/docs/API-reference/components/common/animations/x-components.collapse-width.md +2 -2
- package/docs/API-reference/components/common/animations/x-components.cross-fade.md +2 -2
- package/docs/API-reference/components/common/animations/x-components.fade-and-slide.md +2 -2
- package/docs/API-reference/components/common/animations/x-components.fade.md +11 -11
- package/docs/API-reference/components/common/animations/x-components.staggered-fade-and-slide.md +2 -2
- package/docs/API-reference/components/common/column-picker/x-components.base-column-picker-dropdown.md +36 -35
- package/docs/API-reference/components/common/column-picker/x-components.base-column-picker-list.md +53 -53
- package/docs/API-reference/components/common/currency/x-components.base-currency.md +130 -129
- package/docs/API-reference/components/common/filters/labels/x-components.base-price-filter-label.md +13 -13
- package/docs/API-reference/components/common/filters/labels/x-components.base-rating-filter-label.md +2 -1
- package/docs/API-reference/components/common/modals/x-components.base-events-modal-close.md +18 -18
- package/docs/API-reference/components/common/modals/x-components.base-events-modal-open.md +18 -18
- package/docs/API-reference/components/common/modals/x-components.base-events-modal.md +33 -36
- package/docs/API-reference/components/common/modals/x-components.base-id-modal-close.md +20 -18
- package/docs/API-reference/components/common/modals/x-components.base-id-modal-open.md +19 -19
- package/docs/API-reference/components/common/modals/x-components.base-id-modal.md +22 -22
- package/docs/API-reference/components/common/modals/x-components.base-modal.md +44 -44
- package/docs/API-reference/components/common/modals/x-components.close-main-modal.md +10 -10
- package/docs/API-reference/components/common/modals/x-components.main-modal.md +30 -30
- package/docs/API-reference/components/common/modals/x-components.open-main-modal.md +10 -10
- package/docs/API-reference/components/common/panels/x-components.base-header-toggle-panel.md +2 -2
- package/docs/API-reference/components/common/panels/x-components.base-id-toggle-panel-button.md +18 -17
- package/docs/API-reference/components/common/panels/x-components.base-id-toggle-panel.md +18 -18
- package/docs/API-reference/components/common/panels/x-components.base-tabs-panel.md +70 -70
- package/docs/API-reference/components/common/panels/x-components.base-toggle-panel.md +2 -2
- package/docs/API-reference/components/common/result/x-components.base-result-current-price.md +2 -1
- package/docs/API-reference/components/common/result/x-components.base-result-image.md +18 -18
- package/docs/API-reference/components/common/result/x-components.base-result-previous-price.md +16 -16
- package/docs/API-reference/components/common/result/x-components.base-result-rating.md +118 -118
- package/docs/API-reference/components/common/result/x-components.result-variant-selector.md +149 -149
- package/docs/API-reference/components/common/result/x-components.result-variants-provider.md +102 -102
- package/docs/API-reference/components/common/scroll/x-components.base-scroll.md +62 -62
- package/docs/API-reference/components/common/suggestions/x-components.base-suggestion.md +50 -49
- package/docs/API-reference/components/common/suggestions/x-components.base-suggestions.md +84 -84
- package/docs/API-reference/components/common/x-components.auto-progress-bar.md +21 -21
- package/docs/API-reference/components/common/x-components.base-dropdown.md +19 -19
- package/docs/API-reference/components/common/x-components.base-event-button.md +5 -4
- package/docs/API-reference/components/common/x-components.base-grid.md +6 -5
- package/docs/API-reference/components/common/x-components.base-keyboard-navigation.md +10 -10
- package/docs/API-reference/components/common/x-components.base-rating.md +2 -1
- package/docs/API-reference/components/common/x-components.base-slider.md +70 -69
- package/docs/API-reference/components/common/x-components.base-switch.md +27 -26
- package/docs/API-reference/components/common/x-components.base-teleport.md +19 -0
- package/docs/API-reference/components/common/x-components.base-variable-column-grid.md +86 -85
- package/docs/API-reference/components/common/x-components.display-emitter.md +7 -7
- package/docs/API-reference/components/common/x-components.global-x-bus.md +14 -13
- package/docs/API-reference/components/common/x-components.highlight.md +26 -26
- package/docs/API-reference/components/common/x-components.items-list.md +2 -2
- package/docs/API-reference/components/common/x-components.location-provider.md +11 -10
- package/docs/API-reference/components/common/x-components.page-loader-button.md +39 -39
- package/docs/API-reference/components/common/x-components.page-selector.md +43 -42
- package/docs/API-reference/components/common/x-components.sliding-panel.md +106 -105
- package/docs/API-reference/components/common/x-components.snippet-callbacks.md +7 -7
- package/docs/API-reference/components/device/x-components.device-detector.md +57 -57
- package/docs/API-reference/components/empathize/x-components.empathize.md +7 -7
- package/docs/API-reference/components/experience-controls/x-components.experience-controls.md +8 -8
- package/docs/API-reference/components/extra-params/x-components.extra-params.md +16 -15
- package/docs/API-reference/components/extra-params/x-components.renderless-extra-param.md +17 -16
- package/docs/API-reference/components/extra-params/x-components.snippet-config-extra-params.md +23 -23
- package/docs/API-reference/components/facets/x-components.facets/facets-provider.md +40 -39
- package/docs/API-reference/components/facets/x-components.facets/facets.md +46 -46
- package/docs/API-reference/components/facets/x-components.filters/all-filter.md +5 -4
- package/docs/API-reference/components/facets/x-components.filters/editable-number-range-filter.md +87 -87
- package/docs/API-reference/components/facets/x-components.filters/hierarchical-filter.md +105 -105
- package/docs/API-reference/components/facets/x-components.filters/number-range-filter.md +66 -66
- package/docs/API-reference/components/facets/x-components.filters/renderless-filter.md +15 -14
- package/docs/API-reference/components/facets/x-components.filters/simple-filter.md +78 -78
- package/docs/API-reference/components/facets/x-components.lists/exclude-filters-with-no-results.md +84 -84
- package/docs/API-reference/components/facets/x-components.lists/filters-list.md +2 -1
- package/docs/API-reference/components/facets/x-components.lists/filters-search.md +1 -1
- package/docs/API-reference/components/facets/x-components.lists/selected-filters-list.md +22 -22
- package/docs/API-reference/components/facets/x-components.lists/selected-filters.md +4 -4
- package/docs/API-reference/components/facets/x-components.lists/sliced-filters.md +15 -14
- package/docs/API-reference/components/facets/x-components.lists/sorted-filters.md +19 -19
- package/docs/API-reference/components/facets/x-components.preselected-filters.md +24 -24
- package/docs/API-reference/components/history-queries/x-components.clear-history-queries.md +18 -17
- package/docs/API-reference/components/history-queries/x-components.history-queries-switch.md +35 -35
- package/docs/API-reference/components/history-queries/x-components.history-queries.md +70 -70
- package/docs/API-reference/components/history-queries/x-components.history-query.md +67 -67
- package/docs/API-reference/components/history-queries/x-components.my-history.md +74 -74
- package/docs/API-reference/components/history-queries/x-components.remove-history-query.md +3 -2
- package/docs/API-reference/components/identifier-results/x-components.identifier-result.md +2 -2
- package/docs/API-reference/components/identifier-results/x-components.identifier-results.md +14 -13
- package/docs/API-reference/components/next-queries/x-components.next-queries-list.md +52 -52
- package/docs/API-reference/components/next-queries/x-components.next-queries.md +53 -53
- package/docs/API-reference/components/next-queries/x-components.next-query-preview.md +80 -80
- package/docs/API-reference/components/next-queries/x-components.next-query.md +37 -37
- package/docs/API-reference/components/popular-searches/x-components.popular-search.md +35 -35
- package/docs/API-reference/components/popular-searches/x-components.popular-searches.md +45 -44
- package/docs/API-reference/components/queries-preview/x-components.query-preview-button.md +29 -28
- package/docs/API-reference/components/queries-preview/x-components.query-preview-list.md +43 -42
- package/docs/API-reference/components/queries-preview/x-components.query-preview.md +60 -60
- package/docs/API-reference/components/query-suggestions/x-components.query-suggestion.md +53 -53
- package/docs/API-reference/components/query-suggestions/x-components.query-suggestions.md +58 -58
- package/docs/API-reference/components/recommendations/x-components.recommendations.md +41 -40
- package/docs/API-reference/components/related-prompts/x-components.related-prompts-list.md +52 -52
- package/docs/API-reference/components/related-prompts/x-components.related-prompts-tag-list.md +2 -2
- package/docs/API-reference/components/related-tags/x-components.related-tag.md +59 -59
- package/docs/API-reference/components/related-tags/x-components.related-tags.md +72 -71
- package/docs/API-reference/components/scroll/x-components.main-scroll-item.md +18 -17
- package/docs/API-reference/components/scroll/x-components.main-scroll.md +49 -48
- package/docs/API-reference/components/scroll/x-components.scroll-to-top.md +10 -10
- package/docs/API-reference/components/scroll/x-components.scroll.md +59 -59
- package/docs/API-reference/components/search/x-components.banner.md +36 -36
- package/docs/API-reference/components/search/x-components.banners-list.md +59 -58
- package/docs/API-reference/components/search/x-components.fallback-disclaimer.md +8 -8
- package/docs/API-reference/components/search/x-components.partial-query-button.md +9 -9
- package/docs/API-reference/components/search/x-components.partial-results-list.md +5 -5
- package/docs/API-reference/components/search/x-components.promoted.md +42 -42
- package/docs/API-reference/components/search/x-components.promoteds-list.md +61 -60
- package/docs/API-reference/components/search/x-components.redirection.md +21 -21
- package/docs/API-reference/components/search/x-components.results-list.md +62 -61
- package/docs/API-reference/components/search/x-components.sort-dropdown.md +24 -24
- package/docs/API-reference/components/search/x-components.sort-list.md +24 -24
- package/docs/API-reference/components/search/x-components.sort-picker-list.md +34 -34
- package/docs/API-reference/components/search/x-components.spellcheck-button.md +3 -3
- package/docs/API-reference/components/search/x-components.spellcheck.md +10 -10
- package/docs/API-reference/components/search-box/x-components.clear-search-input.md +38 -38
- package/docs/API-reference/components/search-box/x-components.search-button.md +43 -43
- package/docs/API-reference/components/search-box/x-components.search-input-placeholder.md +36 -36
- package/docs/API-reference/components/search-box/x-components.search-input.md +43 -43
- package/docs/API-reference/components/semantic-queries/x-components.semantic-queries.md +52 -52
- package/docs/API-reference/components/semantic-queries/x-components.semantic-query.md +36 -35
- package/docs/API-reference/components/tagging/x-components.tagging.md +24 -24
- package/docs/API-reference/components/url/x-components.url-handler.md +18 -18
- package/extra-params/index.js +1 -1
- package/facets/index.js +23 -23
- package/history-queries/index.js +1 -1
- package/js/components/animations/animate-clip-path/animate-clip-path.factory.js +1 -1
- package/js/components/animations/animate-clip-path/animate-clip-path.factory.js.map +1 -1
- package/js/components/animations/animate-scale/animate-scale.factory.js +1 -1
- package/js/components/animations/animate-scale/animate-scale.factory.js.map +1 -1
- package/js/components/animations/animate-translate/animate-translate.factory.js +1 -1
- package/js/components/animations/animate-translate/animate-translate.factory.js.map +1 -1
- package/js/components/animations/animate-width.vue.js.map +1 -1
- package/js/components/animations/animate-width.vue2.js +1 -1
- package/js/components/animations/animate-width.vue2.js.map +1 -1
- package/js/components/animations/collapse-height.vue.js +4 -4
- package/js/components/animations/collapse-height.vue.js.map +1 -1
- package/js/components/animations/collapse-height.vue2.js +4 -4
- package/js/components/animations/collapse-height.vue2.js.map +1 -1
- package/js/components/animations/collapse-width.vue.js +4 -4
- package/js/components/animations/collapse-width.vue.js.map +1 -1
- package/js/components/animations/collapse-width.vue2.js +4 -4
- package/js/components/animations/collapse-width.vue2.js.map +1 -1
- package/js/components/animations/create-directional-animation-factory.js +2 -2
- package/js/components/animations/create-directional-animation-factory.js.map +1 -1
- package/js/components/animations/cross-fade.vue.js.map +1 -1
- package/js/components/animations/cross-fade.vue2.js +3 -3
- package/js/components/animations/cross-fade.vue2.js.map +1 -1
- package/js/components/animations/fade-and-slide.vue.js.map +1 -1
- package/js/components/animations/fade-and-slide.vue2.js +4 -4
- package/js/components/animations/fade-and-slide.vue2.js.map +1 -1
- package/js/components/animations/fade.vue.js.map +1 -1
- package/js/components/animations/fade.vue2.js +3 -3
- package/js/components/animations/fade.vue2.js.map +1 -1
- package/js/components/animations/no-animation.vue.js +1 -1
- package/js/components/animations/no-animation.vue.js.map +1 -1
- package/js/components/animations/staggered-fade-and-slide.vue.js +4 -4
- package/js/components/animations/staggered-fade-and-slide.vue.js.map +1 -1
- package/js/components/animations/staggered-fade-and-slide.vue2.js +6 -6
- package/js/components/animations/staggered-fade-and-slide.vue2.js.map +1 -1
- package/js/components/animations/use-collapse-animation.js +3 -1
- package/js/components/animations/use-collapse-animation.js.map +1 -1
- package/js/components/animations/use-disable-animation.js.map +1 -1
- package/js/components/auto-progress-bar.vue.js.map +1 -1
- package/js/components/auto-progress-bar.vue2.js +6 -6
- package/js/components/auto-progress-bar.vue2.js.map +1 -1
- package/js/components/base-dropdown.vue.js +15 -15
- package/js/components/base-dropdown.vue.js.map +1 -1
- package/js/components/base-dropdown.vue2.js +14 -14
- package/js/components/base-dropdown.vue2.js.map +1 -1
- package/js/components/base-event-button.vue.js +2 -2
- package/js/components/base-event-button.vue.js.map +1 -1
- package/js/components/base-event-button.vue2.js +5 -5
- package/js/components/base-event-button.vue2.js.map +1 -1
- package/js/components/base-grid.vue.js.map +1 -1
- package/js/components/base-grid.vue2.js +12 -13
- package/js/components/base-grid.vue2.js.map +1 -1
- package/js/components/base-keyboard-navigation.vue.js +2 -2
- package/js/components/base-keyboard-navigation.vue.js.map +1 -1
- package/js/components/base-keyboard-navigation.vue2.js +7 -7
- package/js/components/base-keyboard-navigation.vue2.js.map +1 -1
- package/js/components/base-rating.vue.js.map +1 -1
- package/js/components/base-rating.vue2.js +6 -6
- package/js/components/base-rating.vue2.js.map +1 -1
- package/js/components/base-slider.vue.js.map +1 -1
- package/js/components/base-slider.vue2.js +7 -7
- package/js/components/base-slider.vue2.js.map +1 -1
- package/js/components/base-switch.vue.js +2 -2
- package/js/components/base-switch.vue.js.map +1 -1
- package/js/components/base-switch.vue2.js +5 -5
- package/js/components/base-switch.vue2.js.map +1 -1
- package/js/components/base-teleport.vue.js +17 -0
- package/js/components/base-teleport.vue.js.map +1 -0
- package/js/components/base-teleport.vue2.js +14 -0
- package/js/components/base-teleport.vue2.js.map +1 -0
- package/js/components/base-teleport.vue3.js +7 -0
- package/js/components/base-teleport.vue3.js.map +1 -0
- package/js/components/base-variable-column-grid.vue.js.map +1 -1
- package/js/components/base-variable-column-grid.vue2.js +7 -7
- package/js/components/base-variable-column-grid.vue2.js.map +1 -1
- package/js/components/column-picker/base-column-picker-dropdown.vue.js +4 -4
- package/js/components/column-picker/base-column-picker-dropdown.vue.js.map +1 -1
- package/js/components/column-picker/base-column-picker-dropdown.vue2.js +4 -4
- package/js/components/column-picker/base-column-picker-dropdown.vue2.js.map +1 -1
- package/js/components/column-picker/base-column-picker-list.vue.js.map +1 -1
- package/js/components/column-picker/base-column-picker-list.vue2.js +6 -6
- package/js/components/column-picker/base-column-picker-list.vue2.js.map +1 -1
- package/js/components/currency/base-currency.vue.js.map +1 -1
- package/js/components/currency/base-currency.vue2.js +5 -5
- package/js/components/currency/base-currency.vue2.js.map +1 -1
- package/js/components/decorators/injection.consts.js.map +1 -1
- package/js/components/display-click-provider.vue.js +13 -14
- package/js/components/display-click-provider.vue.js.map +1 -1
- package/js/components/display-emitter.vue.js +5 -5
- package/js/components/display-emitter.vue.js.map +1 -1
- package/js/components/filters/labels/base-price-filter-label.vue.js +10 -10
- 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/filters/labels/base-rating-filter-label.vue2.js +7 -7
- package/js/components/filters/labels/base-rating-filter-label.vue2.js.map +1 -1
- package/js/components/global-x-bus.vue.js +3 -3
- package/js/components/global-x-bus.vue.js.map +1 -1
- package/js/components/highlight.vue.js +6 -6
- package/js/components/highlight.vue.js.map +1 -1
- package/js/components/highlight.vue2.js +11 -11
- package/js/components/highlight.vue2.js.map +1 -1
- package/js/components/items-list.vue.js.map +1 -1
- package/js/components/items-list.vue2.js +6 -6
- package/js/components/items-list.vue2.js.map +1 -1
- package/js/components/layouts/fixed-header-and-asides-layout.vue.js +8 -8
- package/js/components/layouts/fixed-header-and-asides-layout.vue.js.map +1 -1
- package/js/components/layouts/fixed-header-and-asides-layout.vue2.js +5 -5
- package/js/components/layouts/fixed-header-and-asides-layout.vue2.js.map +1 -1
- package/js/components/layouts/fixed-header-and-asides-layout.vue3.js +1 -1
- package/js/components/layouts/multi-column-max-width-layout.vue.js +1 -1
- package/js/components/layouts/multi-column-max-width-layout.vue.js.map +1 -1
- package/js/components/layouts/multi-column-max-width-layout.vue2.js +5 -5
- package/js/components/layouts/multi-column-max-width-layout.vue2.js.map +1 -1
- package/js/components/layouts/single-column-layout.vue.js +8 -8
- package/js/components/layouts/single-column-layout.vue.js.map +1 -1
- package/js/components/layouts/single-column-layout.vue2.js +5 -5
- package/js/components/layouts/single-column-layout.vue2.js.map +1 -1
- package/js/components/location-provider.vue.js +3 -3
- package/js/components/location-provider.vue.js.map +1 -1
- package/js/components/modals/base-events-modal-close.vue.js.map +1 -1
- package/js/components/modals/base-events-modal-close.vue2.js +5 -5
- package/js/components/modals/base-events-modal-close.vue2.js.map +1 -1
- package/js/components/modals/base-events-modal-open.vue.js.map +1 -1
- package/js/components/modals/base-events-modal-open.vue2.js +5 -5
- package/js/components/modals/base-events-modal-open.vue2.js.map +1 -1
- package/js/components/modals/base-events-modal.vue.js +4 -4
- package/js/components/modals/base-events-modal.vue.js.map +1 -1
- package/js/components/modals/base-events-modal.vue2.js +9 -9
- package/js/components/modals/base-events-modal.vue2.js.map +1 -1
- package/js/components/modals/base-id-modal-close.vue.js +2 -2
- package/js/components/modals/base-id-modal-close.vue.js.map +1 -1
- package/js/components/modals/base-id-modal-close.vue2.js +5 -4
- package/js/components/modals/base-id-modal-close.vue2.js.map +1 -1
- package/js/components/modals/base-id-modal-open.vue.js +2 -2
- package/js/components/modals/base-id-modal-open.vue.js.map +1 -1
- package/js/components/modals/base-id-modal-open.vue2.js +5 -4
- package/js/components/modals/base-id-modal-open.vue2.js.map +1 -1
- package/js/components/modals/base-id-modal.vue.js +4 -4
- package/js/components/modals/base-id-modal.vue.js.map +1 -1
- package/js/components/modals/base-id-modal.vue2.js +6 -6
- package/js/components/modals/base-id-modal.vue2.js.map +1 -1
- package/js/components/modals/base-modal.vue.js +3 -3
- package/js/components/modals/base-modal.vue.js.map +1 -1
- package/js/components/modals/base-modal.vue2.js +13 -11
- package/js/components/modals/base-modal.vue2.js.map +1 -1
- package/js/components/modals/close-main-modal.vue.js +2 -2
- package/js/components/modals/close-main-modal.vue.js.map +1 -1
- package/js/components/modals/close-main-modal.vue2.js +3 -3
- package/js/components/modals/close-main-modal.vue2.js.map +1 -1
- package/js/components/modals/main-modal.vue.js +5 -5
- package/js/components/modals/main-modal.vue.js.map +1 -1
- package/js/components/modals/main-modal.vue2.js +8 -8
- package/js/components/modals/main-modal.vue2.js.map +1 -1
- package/js/components/modals/open-main-modal.vue.js +2 -2
- package/js/components/modals/open-main-modal.vue.js.map +1 -1
- package/js/components/modals/open-main-modal.vue2.js +3 -3
- package/js/components/modals/open-main-modal.vue2.js.map +1 -1
- package/js/components/page-loader-button.vue.js.map +1 -1
- package/js/components/page-loader-button.vue2.js +5 -5
- package/js/components/page-loader-button.vue2.js.map +1 -1
- package/js/components/page-selector.vue.js +7 -7
- package/js/components/page-selector.vue.js.map +1 -1
- package/js/components/page-selector.vue2.js +12 -12
- package/js/components/page-selector.vue2.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-header-toggle-panel.vue2.js +10 -10
- package/js/components/panels/base-header-toggle-panel.vue2.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-button.vue2.js +7 -6
- package/js/components/panels/base-id-toggle-panel-button.vue2.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.vue2.js +13 -13
- package/js/components/panels/base-id-toggle-panel.vue2.js.map +1 -1
- package/js/components/panels/base-tabs-panel.vue.js +4 -4
- package/js/components/panels/base-tabs-panel.vue.js.map +1 -1
- package/js/components/panels/base-tabs-panel.vue2.js +13 -13
- package/js/components/panels/base-tabs-panel.vue2.js.map +1 -1
- package/js/components/panels/base-toggle-panel.vue.js.map +1 -1
- package/js/components/panels/base-toggle-panel.vue2.js +4 -4
- package/js/components/panels/base-toggle-panel.vue2.js.map +1 -1
- package/js/components/result/base-result-add-to-cart.vue.js.map +1 -1
- package/js/components/result/base-result-add-to-cart.vue2.js +4 -4
- package/js/components/result/base-result-add-to-cart.vue2.js.map +1 -1
- package/js/components/result/base-result-current-price.vue.js.map +1 -1
- package/js/components/result/base-result-current-price.vue2.js +6 -6
- package/js/components/result/base-result-current-price.vue2.js.map +1 -1
- package/js/components/result/base-result-image.vue.js +6 -6
- package/js/components/result/base-result-image.vue.js.map +1 -1
- package/js/components/result/base-result-image.vue2.js +15 -15
- package/js/components/result/base-result-image.vue2.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.vue2.js +6 -5
- package/js/components/result/base-result-link.vue2.js.map +1 -1
- package/js/components/result/base-result-previous-price.vue.js.map +1 -1
- package/js/components/result/base-result-previous-price.vue2.js +4 -4
- package/js/components/result/base-result-previous-price.vue2.js.map +1 -1
- package/js/components/result/base-result-rating.vue.js +4 -4
- package/js/components/result/base-result-rating.vue.js.map +1 -1
- package/js/components/result/base-result-rating.vue2.js +10 -9
- package/js/components/result/base-result-rating.vue2.js.map +1 -1
- package/js/components/result/result-variant-selector.vue.js +2 -2
- package/js/components/result/result-variant-selector.vue.js.map +1 -1
- package/js/components/result/result-variant-selector.vue2.js +5 -5
- package/js/components/result/result-variant-selector.vue2.js.map +1 -1
- package/js/components/result/result-variants-provider.vue.js +7 -7
- package/js/components/result/result-variants-provider.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/scroll/base-scroll.vue2.js +10 -10
- package/js/components/scroll/base-scroll.vue2.js.map +1 -1
- package/js/components/scroll/use-scroll.js +7 -7
- package/js/components/scroll/use-scroll.js.map +1 -1
- package/js/components/sliding-panel.vue.js +7 -7
- package/js/components/sliding-panel.vue.js.map +1 -1
- package/js/components/sliding-panel.vue2.js +9 -9
- package/js/components/sliding-panel.vue2.js.map +1 -1
- package/js/components/snippet-callbacks.vue.js.map +1 -1
- package/js/components/snippet-callbacks.vue2.js +2 -2
- package/js/components/snippet-callbacks.vue2.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.vue2.js +12 -12
- package/js/components/suggestions/base-suggestion.vue2.js.map +1 -1
- package/js/components/suggestions/base-suggestions.vue.js.map +1 -1
- package/js/components/suggestions/base-suggestions.vue2.js +9 -9
- package/js/components/suggestions/base-suggestions.vue2.js.map +1 -1
- package/js/components/x-component.utils.js +1 -0
- package/js/components/x-component.utils.js.map +1 -1
- package/js/composables/create-use-device.js +2 -2
- package/js/composables/create-use-device.js.map +1 -1
- package/js/composables/use-_x.js.map +1 -1
- package/js/composables/use-alias-api.js +8 -6
- package/js/composables/use-alias-api.js.map +1 -1
- package/js/composables/use-debounce.js.map +1 -1
- package/js/composables/use-getter.js +1 -0
- package/js/composables/use-getter.js.map +1 -1
- package/js/composables/use-on-display.js +7 -11
- package/js/composables/use-on-display.js.map +1 -1
- package/js/composables/use-state.js +1 -0
- package/js/composables/use-state.js.map +1 -1
- package/js/composables/use-x-bus.js +9 -11
- package/js/composables/use-x-bus.js.map +1 -1
- package/js/directives/infinite-scroll.js +3 -3
- package/js/directives/infinite-scroll.js.map +1 -1
- package/js/directives/typing.js +1 -2
- package/js/directives/typing.js.map +1 -1
- package/js/index.js +95 -94
- package/js/index.js.map +1 -1
- package/js/plugins/devtools/colors.utils.js +2 -2
- package/js/plugins/devtools/colors.utils.js.map +1 -1
- package/js/plugins/devtools/devtools.plugin.js +2 -1
- package/js/plugins/devtools/devtools.plugin.js.map +1 -1
- package/js/plugins/devtools/timeline.devtools.js +14 -13
- package/js/plugins/devtools/timeline.devtools.js.map +1 -1
- package/js/plugins/devtools/wiring.devtools.js +14 -10
- package/js/plugins/devtools/wiring.devtools.js.map +1 -1
- package/js/plugins/x-bus.js +3 -3
- package/js/plugins/x-bus.js.map +1 -1
- package/js/plugins/x-emitters.js +8 -6
- package/js/plugins/x-emitters.js.map +1 -1
- package/js/plugins/x-plugin.js +15 -15
- package/js/plugins/x-plugin.js.map +1 -1
- package/js/plugins/x-plugin.utils.js +2 -6
- package/js/plugins/x-plugin.utils.js.map +1 -1
- package/js/services/directional-focus-navigation.service.js +7 -9
- package/js/services/directional-focus-navigation.service.js.map +1 -1
- package/js/services/state-machine.service.js.map +1 -1
- package/js/store/utils/config-store.utils.js.map +1 -1
- package/js/store/utils/fetch-and-save-action.utils.js +5 -9
- package/js/store/utils/fetch-and-save-action.utils.js.map +1 -1
- package/js/store/utils/getters-proxy.utils.js +2 -1
- package/js/store/utils/getters-proxy.utils.js.map +1 -1
- package/js/store/utils/query.utils.js +1 -1
- package/js/store/utils/query.utils.js.map +1 -1
- package/js/store/utils/status-store.utils.js.map +1 -1
- package/js/store/utils/store-emitters.utils.js +2 -2
- package/js/store/utils/store-emitters.utils.js.map +1 -1
- package/js/store/x.module.js +1 -1
- package/js/store/x.module.js.map +1 -1
- package/js/types/animation-prop.js.map +1 -1
- package/js/utils/array.js +1 -0
- package/js/utils/array.js.map +1 -1
- package/js/utils/cancellable-promise.js +1 -1
- package/js/utils/cancellable-promise.js.map +1 -1
- package/js/utils/clone.js +1 -0
- package/js/utils/clone.js.map +1 -1
- package/js/utils/currency-formatter.js +8 -5
- package/js/utils/currency-formatter.js.map +1 -1
- package/js/utils/debounce.js +0 -2
- package/js/utils/debounce.js.map +1 -1
- package/js/utils/filters.js +1 -1
- package/js/utils/filters.js.map +1 -1
- package/js/utils/focus.js +1 -3
- package/js/utils/focus.js.map +1 -1
- package/js/utils/function.js +0 -1
- package/js/utils/function.js.map +1 -1
- package/js/utils/get-url-parameters.js.map +1 -1
- package/js/utils/html.js.map +1 -1
- package/js/utils/is-new-query.js.map +1 -1
- package/js/utils/normalize.js +1 -1
- package/js/utils/normalize.js.map +1 -1
- package/js/utils/number.js +0 -1
- package/js/utils/number.js.map +1 -1
- package/js/utils/origin.js +1 -3
- package/js/utils/origin.js.map +1 -1
- package/js/utils/sanitize.js.map +1 -1
- package/js/utils/storage.js +1 -1
- package/js/utils/storage.js.map +1 -1
- package/js/utils/string.js.map +1 -1
- package/js/utils/throttle.js.map +1 -1
- package/js/wiring/namespaced-wires.factory.js +4 -2
- package/js/wiring/namespaced-wires.factory.js.map +1 -1
- package/js/wiring/namespaced-wires.operators.js.map +1 -1
- package/js/wiring/wires-operators.utils.js +3 -1
- package/js/wiring/wires-operators.utils.js.map +1 -1
- package/js/wiring/wires.factory.js +17 -10
- package/js/wiring/wires.factory.js.map +1 -1
- package/js/wiring/wires.operators.js +2 -2
- package/js/wiring/wires.operators.js.map +1 -1
- package/js/wiring/wiring.utils.js +1 -1
- package/js/wiring/wiring.utils.js.map +1 -1
- package/js/x-installer/api/base-api.js +6 -7
- package/js/x-installer/api/base-api.js.map +1 -1
- package/js/x-installer/x-installer/x-installer.js +7 -6
- package/js/x-installer/x-installer/x-installer.js.map +1 -1
- package/js/x-modules/device/components/device-detector.vue.js +2 -2
- package/js/x-modules/device/components/device-detector.vue.js.map +1 -1
- package/js/x-modules/device/components/device-detector.vue2.js +6 -6
- package/js/x-modules/device/components/device-detector.vue2.js.map +1 -1
- package/js/x-modules/device/store/emitters.js.map +1 -1
- package/js/x-modules/device/store/module.js +3 -3
- package/js/x-modules/device/store/module.js.map +1 -1
- package/js/x-modules/device/wiring.js +2 -2
- package/js/x-modules/device/wiring.js.map +1 -1
- package/js/x-modules/device/x-module.js +1 -1
- package/js/x-modules/device/x-module.js.map +1 -1
- package/js/x-modules/empathize/components/empathize.vue.js +3 -3
- package/js/x-modules/empathize/components/empathize.vue.js.map +1 -1
- package/js/x-modules/empathize/components/empathize.vue2.js +50 -48
- package/js/x-modules/empathize/components/empathize.vue2.js.map +1 -1
- package/js/x-modules/empathize/store/emitters.js.map +1 -1
- package/js/x-modules/empathize/store/module.js +3 -3
- package/js/x-modules/empathize/store/module.js.map +1 -1
- package/js/x-modules/empathize/wiring.js +3 -3
- package/js/x-modules/empathize/wiring.js.map +1 -1
- package/js/x-modules/empathize/x-module.js +1 -1
- package/js/x-modules/empathize/x-module.js.map +1 -1
- package/js/x-modules/experience-controls/components/experience-controls.vue.js +2 -3
- package/js/x-modules/experience-controls/components/experience-controls.vue.js.map +1 -1
- package/js/x-modules/experience-controls/store/actions/fetch-and-save-experience-controls.action.js +2 -2
- package/js/x-modules/experience-controls/store/actions/fetch-and-save-experience-controls.action.js.map +1 -1
- package/js/x-modules/experience-controls/store/actions/fetch-experience-controls.action.js +1 -2
- package/js/x-modules/experience-controls/store/actions/fetch-experience-controls.action.js.map +1 -1
- package/js/x-modules/experience-controls/store/emitters.js +2 -2
- package/js/x-modules/experience-controls/store/emitters.js.map +1 -1
- package/js/x-modules/experience-controls/store/getters/experience-controls-results-request.getter.js +1 -2
- package/js/x-modules/experience-controls/store/getters/experience-controls-results-request.getter.js.map +1 -1
- package/js/x-modules/experience-controls/store/module.js +5 -7
- package/js/x-modules/experience-controls/store/module.js.map +1 -1
- package/js/x-modules/experience-controls/wiring.js +3 -3
- package/js/x-modules/experience-controls/wiring.js.map +1 -1
- package/js/x-modules/experience-controls/x-module.js +1 -1
- package/js/x-modules/experience-controls/x-module.js.map +1 -1
- package/js/x-modules/extra-params/components/extra-params.vue.js +4 -5
- package/js/x-modules/extra-params/components/extra-params.vue.js.map +1 -1
- package/js/x-modules/extra-params/components/renderless-extra-param.vue.js +4 -4
- package/js/x-modules/extra-params/components/renderless-extra-param.vue.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.vue2.js +8 -8
- package/js/x-modules/extra-params/components/snippet-config-extra-params.vue2.js.map +1 -1
- package/js/x-modules/extra-params/store/emitters.js +2 -2
- package/js/x-modules/extra-params/store/emitters.js.map +1 -1
- package/js/x-modules/extra-params/store/module.js +3 -3
- package/js/x-modules/extra-params/store/module.js.map +1 -1
- package/js/x-modules/extra-params/wiring.js +4 -4
- package/js/x-modules/extra-params/wiring.js.map +1 -1
- package/js/x-modules/extra-params/x-module.js +1 -1
- package/js/x-modules/extra-params/x-module.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.vue2.js +6 -6
- package/js/x-modules/facets/components/clear-filters.vue2.js.map +1 -1
- package/js/x-modules/facets/components/facets/facets-provider.vue2.js +6 -6
- package/js/x-modules/facets/components/facets/facets-provider.vue2.js.map +1 -1
- package/js/x-modules/facets/components/facets/facets.vue.js.map +1 -1
- package/js/x-modules/facets/components/facets/facets.vue2.js +8 -10
- package/js/x-modules/facets/components/facets/facets.vue2.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.vue2.js +7 -7
- package/js/x-modules/facets/components/filters/all-filter.vue2.js.map +1 -1
- package/js/x-modules/facets/components/filters/editable-number-range-filter.vue.js +8 -8
- package/js/x-modules/facets/components/filters/editable-number-range-filter.vue.js.map +1 -1
- package/js/x-modules/facets/components/filters/editable-number-range-filter.vue2.js +9 -9
- package/js/x-modules/facets/components/filters/editable-number-range-filter.vue2.js.map +1 -1
- package/js/x-modules/facets/components/filters/hierarchical-filter.vue.js +31 -21
- package/js/x-modules/facets/components/filters/hierarchical-filter.vue.js.map +1 -1
- package/js/x-modules/facets/components/filters/hierarchical-filter.vue2.js +10 -11
- package/js/x-modules/facets/components/filters/hierarchical-filter.vue2.js.map +1 -1
- package/js/x-modules/facets/components/filters/number-range-filter.vue.js +12 -13
- package/js/x-modules/facets/components/filters/number-range-filter.vue.js.map +1 -1
- package/js/x-modules/facets/components/filters/number-range-filter.vue2.js +8 -8
- package/js/x-modules/facets/components/filters/number-range-filter.vue2.js.map +1 -1
- package/js/x-modules/facets/components/filters/renderless-filter.vue.js +7 -7
- package/js/x-modules/facets/components/filters/renderless-filter.vue.js.map +1 -1
- package/js/x-modules/facets/components/filters/simple-filter.vue.js +12 -13
- package/js/x-modules/facets/components/filters/simple-filter.vue.js.map +1 -1
- package/js/x-modules/facets/components/filters/simple-filter.vue2.js +7 -7
- package/js/x-modules/facets/components/filters/simple-filter.vue2.js.map +1 -1
- package/js/x-modules/facets/components/lists/exclude-filters-with-no-results.vue.js +4 -4
- package/js/x-modules/facets/components/lists/exclude-filters-with-no-results.vue.js.map +1 -1
- package/js/x-modules/facets/components/lists/filters-list.vue.js.map +1 -1
- package/js/x-modules/facets/components/lists/filters-list.vue2.js +7 -7
- package/js/x-modules/facets/components/lists/filters-list.vue2.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.vue2.js +7 -7
- package/js/x-modules/facets/components/lists/filters-search.vue2.js.map +1 -1
- package/js/x-modules/facets/components/lists/selected-filters-list.vue.js +49 -55
- package/js/x-modules/facets/components/lists/selected-filters-list.vue.js.map +1 -1
- package/js/x-modules/facets/components/lists/selected-filters-list.vue2.js +7 -7
- package/js/x-modules/facets/components/lists/selected-filters-list.vue2.js.map +1 -1
- package/js/x-modules/facets/components/lists/selected-filters.vue.js +5 -5
- package/js/x-modules/facets/components/lists/selected-filters.vue.js.map +1 -1
- package/js/x-modules/facets/components/lists/sliced-filters.vue.js +4 -4
- package/js/x-modules/facets/components/lists/sliced-filters.vue.js.map +1 -1
- package/js/x-modules/facets/components/lists/sliced-filters.vue2.js +8 -8
- package/js/x-modules/facets/components/lists/sliced-filters.vue2.js.map +1 -1
- package/js/x-modules/facets/components/lists/sorted-filters.vue.js +4 -4
- package/js/x-modules/facets/components/lists/sorted-filters.vue.js.map +1 -1
- package/js/x-modules/facets/components/preselected-filters.vue.js +5 -5
- package/js/x-modules/facets/components/preselected-filters.vue.js.map +1 -1
- package/js/x-modules/facets/composables/use-facets.js +3 -4
- package/js/x-modules/facets/composables/use-facets.js.map +1 -1
- package/js/x-modules/facets/composables/use-filters-injection.js +0 -2
- package/js/x-modules/facets/composables/use-filters-injection.js.map +1 -1
- package/js/x-modules/facets/entities/add-facet-if-not-present.js +1 -1
- package/js/x-modules/facets/entities/add-facet-if-not-present.js.map +1 -1
- package/js/x-modules/facets/entities/editable-number-range-filter.entity.js +11 -8
- package/js/x-modules/facets/entities/editable-number-range-filter.entity.js.map +1 -1
- package/js/x-modules/facets/entities/filter-entity.factory.js +7 -4
- package/js/x-modules/facets/entities/filter-entity.factory.js.map +1 -1
- package/js/x-modules/facets/entities/hierarchical-filter.entity.js +6 -4
- package/js/x-modules/facets/entities/hierarchical-filter.entity.js.map +1 -1
- package/js/x-modules/facets/entities/number-range-filter.entity.js +6 -4
- package/js/x-modules/facets/entities/number-range-filter.entity.js.map +1 -1
- package/js/x-modules/facets/entities/raw-filter.entity.js +6 -4
- package/js/x-modules/facets/entities/raw-filter.entity.js.map +1 -1
- package/js/x-modules/facets/entities/simple-filter.entity.js +6 -4
- package/js/x-modules/facets/entities/simple-filter.entity.js.map +1 -1
- package/js/x-modules/facets/entities/single-select.modifier.js +3 -1
- package/js/x-modules/facets/entities/single-select.modifier.js.map +1 -1
- package/js/x-modules/facets/entities/sticky.modifier.js.map +1 -1
- package/js/x-modules/facets/entities/types.js.map +1 -1
- package/js/x-modules/facets/service/facets.service.js +2 -2
- package/js/x-modules/facets/service/facets.service.js.map +1 -1
- package/js/x-modules/facets/store/constants.js.map +1 -1
- package/js/x-modules/facets/store/emitters.js +6 -6
- package/js/x-modules/facets/store/emitters.js.map +1 -1
- package/js/x-modules/facets/store/getters/facets.getter.js +1 -1
- package/js/x-modules/facets/store/getters/facets.getter.js.map +1 -1
- package/js/x-modules/facets/store/getters/selected-filters-by-facet.getter.js.map +1 -1
- package/js/x-modules/facets/store/getters/selected-filters-for-request.getter.js.map +1 -1
- package/js/x-modules/facets/store/getters/selected-filters.getter.js.map +1 -1
- package/js/x-modules/facets/store/module.js +6 -6
- package/js/x-modules/facets/store/module.js.map +1 -1
- package/js/x-modules/facets/utils.js.map +1 -1
- package/js/x-modules/facets/wiring.js +22 -22
- package/js/x-modules/facets/wiring.js.map +1 -1
- package/js/x-modules/facets/x-module.js +1 -1
- package/js/x-modules/facets/x-module.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/clear-history-queries.vue2.js +6 -6
- package/js/x-modules/history-queries/components/clear-history-queries.vue2.js.map +1 -1
- package/js/x-modules/history-queries/components/history-queries-switch.vue.js +4 -4
- package/js/x-modules/history-queries/components/history-queries-switch.vue.js.map +1 -1
- package/js/x-modules/history-queries/components/history-queries-switch.vue2.js +6 -6
- package/js/x-modules/history-queries/components/history-queries-switch.vue2.js.map +1 -1
- package/js/x-modules/history-queries/components/history-queries.vue.js +1 -1
- package/js/x-modules/history-queries/components/history-queries.vue.js.map +1 -1
- package/js/x-modules/history-queries/components/history-queries.vue2.js +5 -7
- package/js/x-modules/history-queries/components/history-queries.vue2.js.map +1 -1
- package/js/x-modules/history-queries/components/history-query.vue.js +4 -4
- package/js/x-modules/history-queries/components/history-query.vue.js.map +1 -1
- package/js/x-modules/history-queries/components/history-query.vue2.js +6 -6
- package/js/x-modules/history-queries/components/history-query.vue2.js.map +1 -1
- package/js/x-modules/history-queries/components/my-history.vue.js +2 -2
- package/js/x-modules/history-queries/components/my-history.vue.js.map +1 -1
- package/js/x-modules/history-queries/components/my-history.vue2.js +10 -10
- package/js/x-modules/history-queries/components/my-history.vue2.js.map +1 -1
- package/js/x-modules/history-queries/components/remove-history-query.vue.js.map +1 -1
- package/js/x-modules/history-queries/components/remove-history-query.vue2.js +5 -5
- package/js/x-modules/history-queries/components/remove-history-query.vue2.js.map +1 -1
- package/js/x-modules/history-queries/store/actions/add-query-to-history.action.js +2 -4
- package/js/x-modules/history-queries/store/actions/add-query-to-history.action.js.map +1 -1
- package/js/x-modules/history-queries/store/actions/load-history-queries-from-browser-storage.action.js +0 -1
- package/js/x-modules/history-queries/store/actions/load-history-queries-from-browser-storage.action.js.map +1 -1
- package/js/x-modules/history-queries/store/actions/refresh-session.action.js +1 -1
- package/js/x-modules/history-queries/store/actions/refresh-session.action.js.map +1 -1
- package/js/x-modules/history-queries/store/actions/remove-query-from-history.action.js +1 -1
- package/js/x-modules/history-queries/store/actions/remove-query-from-history.action.js.map +1 -1
- package/js/x-modules/history-queries/store/actions/set-history-queries.action.js.map +1 -1
- package/js/x-modules/history-queries/store/actions/set-url-params.action.js +0 -1
- package/js/x-modules/history-queries/store/actions/set-url-params.action.js.map +1 -1
- package/js/x-modules/history-queries/store/actions/toggle-history-queries.action.js.map +1 -1
- package/js/x-modules/history-queries/store/actions/update-history-queries-with-search-response.action.js +2 -6
- package/js/x-modules/history-queries/store/actions/update-history-queries-with-search-response.action.js.map +1 -1
- package/js/x-modules/history-queries/store/constants.js.map +1 -1
- package/js/x-modules/history-queries/store/emitters.js +2 -2
- package/js/x-modules/history-queries/store/emitters.js.map +1 -1
- package/js/x-modules/history-queries/store/getters/history-queries-with-results.getter.js +0 -4
- package/js/x-modules/history-queries/store/getters/history-queries-with-results.getter.js.map +1 -1
- package/js/x-modules/history-queries/store/getters/history-queries.getter.js.map +1 -1
- package/js/x-modules/history-queries/store/getters/normalized-query.getter.js +2 -1
- package/js/x-modules/history-queries/store/getters/normalized-query.getter.js.map +1 -1
- package/js/x-modules/history-queries/store/getters/session-history-queries.getter.js.map +1 -1
- package/js/x-modules/history-queries/store/getters/storage-key.getter.js.map +1 -1
- package/js/x-modules/history-queries/store/module.js +8 -8
- package/js/x-modules/history-queries/store/module.js.map +1 -1
- package/js/x-modules/history-queries/wiring.js +16 -16
- package/js/x-modules/history-queries/wiring.js.map +1 -1
- package/js/x-modules/history-queries/x-module.js +1 -1
- package/js/x-modules/history-queries/x-module.js.map +1 -1
- package/js/x-modules/identifier-results/components/identifier-result.vue.js +2 -2
- package/js/x-modules/identifier-results/components/identifier-result.vue.js.map +1 -1
- package/js/x-modules/identifier-results/components/identifier-result.vue2.js +7 -7
- package/js/x-modules/identifier-results/components/identifier-result.vue2.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.vue2.js +8 -8
- package/js/x-modules/identifier-results/components/identifier-results.vue2.js.map +1 -1
- package/js/x-modules/identifier-results/store/actions/fetch-and-save-identifier-results.action.js +2 -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/actions/fetch-identifier-results.action.js +1 -2
- package/js/x-modules/identifier-results/store/actions/fetch-identifier-results.action.js.map +1 -1
- package/js/x-modules/identifier-results/store/actions/save-origin.action.js +0 -1
- package/js/x-modules/identifier-results/store/actions/save-origin.action.js.map +1 -1
- package/js/x-modules/identifier-results/store/actions/save-query.action.js +0 -1
- package/js/x-modules/identifier-results/store/actions/save-query.action.js.map +1 -1
- package/js/x-modules/identifier-results/store/emitters.js +2 -2
- package/js/x-modules/identifier-results/store/emitters.js.map +1 -1
- package/js/x-modules/identifier-results/store/getters/identifier-detection-regexp.getter.js +0 -1
- package/js/x-modules/identifier-results/store/getters/identifier-detection-regexp.getter.js.map +1 -1
- package/js/x-modules/identifier-results/store/getters/identifier-highlight-regexp.getter.js +0 -1
- package/js/x-modules/identifier-results/store/getters/identifier-highlight-regexp.getter.js.map +1 -1
- package/js/x-modules/identifier-results/store/getters/identifier-results-request.getter.js +1 -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 +7 -7
- package/js/x-modules/identifier-results/store/module.js.map +1 -1
- package/js/x-modules/identifier-results/wiring.js +10 -10
- package/js/x-modules/identifier-results/wiring.js.map +1 -1
- package/js/x-modules/identifier-results/x-module.js +1 -1
- package/js/x-modules/identifier-results/x-module.js.map +1 -1
- package/js/x-modules/next-queries/components/next-queries-list.vue.js +12 -12
- package/js/x-modules/next-queries/components/next-queries-list.vue.js.map +1 -1
- package/js/x-modules/next-queries/components/next-queries.vue.js +2 -2
- package/js/x-modules/next-queries/components/next-queries.vue.js.map +1 -1
- package/js/x-modules/next-queries/components/next-queries.vue2.js +5 -5
- package/js/x-modules/next-queries/components/next-queries.vue2.js.map +1 -1
- package/js/x-modules/next-queries/components/next-query-preview.vue.js.map +1 -1
- package/js/x-modules/next-queries/components/next-query-preview.vue2.js +5 -5
- package/js/x-modules/next-queries/components/next-query-preview.vue2.js.map +1 -1
- package/js/x-modules/next-queries/components/next-query.vue.js +2 -2
- package/js/x-modules/next-queries/components/next-query.vue.js.map +1 -1
- package/js/x-modules/next-queries/components/next-query.vue2.js +5 -5
- package/js/x-modules/next-queries/components/next-query.vue2.js.map +1 -1
- package/js/x-modules/next-queries/store/actions/fetch-and-save-next-queries.action.js +2 -3
- package/js/x-modules/next-queries/store/actions/fetch-and-save-next-queries.action.js.map +1 -1
- package/js/x-modules/next-queries/store/actions/fetch-and-save-next-query-preview.action.js +3 -5
- package/js/x-modules/next-queries/store/actions/fetch-and-save-next-query-preview.action.js.map +1 -1
- package/js/x-modules/next-queries/store/actions/fetch-next-queries.action.js +1 -1
- package/js/x-modules/next-queries/store/actions/fetch-next-queries.action.js.map +1 -1
- package/js/x-modules/next-queries/store/actions/fetch-next-query-preview.action.js +6 -3
- package/js/x-modules/next-queries/store/actions/fetch-next-query-preview.action.js.map +1 -1
- package/js/x-modules/next-queries/store/actions/set-query-from-last-history-query.action.js +0 -1
- package/js/x-modules/next-queries/store/actions/set-query-from-last-history-query.action.js.map +1 -1
- package/js/x-modules/next-queries/store/actions/set-url-params.action.js +0 -1
- 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/getters/next-queries-query.getter.js +1 -3
- package/js/x-modules/next-queries/store/getters/next-queries-query.getter.js.map +1 -1
- package/js/x-modules/next-queries/store/getters/next-queries.getter.js +1 -2
- package/js/x-modules/next-queries/store/getters/next-queries.getter.js.map +1 -1
- package/js/x-modules/next-queries/store/getters/request.getter.js +1 -3
- package/js/x-modules/next-queries/store/getters/request.getter.js.map +1 -1
- package/js/x-modules/next-queries/store/module.js +10 -10
- package/js/x-modules/next-queries/store/module.js.map +1 -1
- package/js/x-modules/next-queries/wiring.js +11 -11
- package/js/x-modules/next-queries/wiring.js.map +1 -1
- package/js/x-modules/next-queries/x-module.js +1 -1
- package/js/x-modules/next-queries/x-module.js.map +1 -1
- package/js/x-modules/popular-searches/components/popular-search.vue.js +2 -2
- package/js/x-modules/popular-searches/components/popular-search.vue.js.map +1 -1
- package/js/x-modules/popular-searches/components/popular-search.vue2.js +3 -3
- package/js/x-modules/popular-searches/components/popular-search.vue2.js.map +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.vue2.js +3 -3
- package/js/x-modules/popular-searches/components/popular-searches.vue2.js.map +1 -1
- package/js/x-modules/popular-searches/store/actions/fetch-and-save-suggestions.action.js +2 -3
- package/js/x-modules/popular-searches/store/actions/fetch-and-save-suggestions.action.js.map +1 -1
- package/js/x-modules/popular-searches/store/actions/fetch-suggestions.action.js +1 -1
- package/js/x-modules/popular-searches/store/actions/fetch-suggestions.action.js.map +1 -1
- package/js/x-modules/popular-searches/store/emitters.js +2 -2
- package/js/x-modules/popular-searches/store/emitters.js.map +1 -1
- package/js/x-modules/popular-searches/store/getters/popular-searches.getter.js +1 -2
- package/js/x-modules/popular-searches/store/getters/popular-searches.getter.js.map +1 -1
- package/js/x-modules/popular-searches/store/getters/request.getter.js +1 -3
- package/js/x-modules/popular-searches/store/getters/request.getter.js.map +1 -1
- package/js/x-modules/popular-searches/store/module.js +7 -7
- package/js/x-modules/popular-searches/store/module.js.map +1 -1
- package/js/x-modules/popular-searches/wiring.js +4 -4
- package/js/x-modules/popular-searches/wiring.js.map +1 -1
- package/js/x-modules/popular-searches/x-module.js +1 -1
- package/js/x-modules/popular-searches/x-module.js.map +1 -1
- package/js/x-modules/queries-preview/components/query-preview-button.vue.js.map +1 -1
- package/js/x-modules/queries-preview/components/query-preview-button.vue2.js +50 -48
- package/js/x-modules/queries-preview/components/query-preview-button.vue2.js.map +1 -1
- package/js/x-modules/queries-preview/components/query-preview-list.vue.js +7 -7
- package/js/x-modules/queries-preview/components/query-preview-list.vue.js.map +1 -1
- package/js/x-modules/queries-preview/components/query-preview-list.vue2.js +12 -12
- package/js/x-modules/queries-preview/components/query-preview-list.vue2.js.map +1 -1
- package/js/x-modules/queries-preview/components/query-preview.vue.js.map +1 -1
- package/js/x-modules/queries-preview/components/query-preview.vue2.js +64 -66
- package/js/x-modules/queries-preview/components/query-preview.vue2.js.map +1 -1
- package/js/x-modules/queries-preview/composables/use-queries-preview.composable.js +4 -2
- package/js/x-modules/queries-preview/composables/use-queries-preview.composable.js.map +1 -1
- package/js/x-modules/queries-preview/store/actions/fetch-and-save-query-preview.action.js +3 -5
- package/js/x-modules/queries-preview/store/actions/fetch-and-save-query-preview.action.js.map +1 -1
- package/js/x-modules/queries-preview/store/actions/fetch-query-preview.action.js +2 -2
- package/js/x-modules/queries-preview/store/actions/fetch-query-preview.action.js.map +1 -1
- package/js/x-modules/queries-preview/store/emitters.js +2 -2
- package/js/x-modules/queries-preview/store/emitters.js.map +1 -1
- package/js/x-modules/queries-preview/store/getters/loaded-queries-preview.getter.js +0 -1
- package/js/x-modules/queries-preview/store/getters/loaded-queries-preview.getter.js.map +1 -1
- package/js/x-modules/queries-preview/store/module.js +7 -7
- package/js/x-modules/queries-preview/store/module.js.map +1 -1
- package/js/x-modules/queries-preview/utils/get-hash-from-query-preview.js.map +1 -1
- package/js/x-modules/queries-preview/wiring.js +11 -11
- package/js/x-modules/queries-preview/wiring.js.map +1 -1
- package/js/x-modules/queries-preview/x-module.js +1 -1
- package/js/x-modules/queries-preview/x-module.js.map +1 -1
- package/js/x-modules/query-suggestions/components/query-suggestion.vue.js.map +1 -1
- package/js/x-modules/query-suggestions/components/query-suggestion.vue2.js +6 -6
- package/js/x-modules/query-suggestions/components/query-suggestion.vue2.js.map +1 -1
- package/js/x-modules/query-suggestions/components/query-suggestions.vue.js.map +1 -1
- package/js/x-modules/query-suggestions/components/query-suggestions.vue2.js +1 -1
- package/js/x-modules/query-suggestions/components/query-suggestions.vue2.js.map +1 -1
- package/js/x-modules/query-suggestions/store/actions/fetch-and-save-suggestions.action.js +2 -3
- package/js/x-modules/query-suggestions/store/actions/fetch-and-save-suggestions.action.js.map +1 -1
- package/js/x-modules/query-suggestions/store/actions/fetch-suggestions.action.js +1 -1
- package/js/x-modules/query-suggestions/store/actions/fetch-suggestions.action.js.map +1 -1
- package/js/x-modules/query-suggestions/store/actions/set-url-params.action.js +0 -1
- package/js/x-modules/query-suggestions/store/actions/set-url-params.action.js.map +1 -1
- package/js/x-modules/query-suggestions/store/emitters.js +1 -1
- package/js/x-modules/query-suggestions/store/emitters.js.map +1 -1
- package/js/x-modules/query-suggestions/store/getters/normalized-query.getter.js +1 -3
- package/js/x-modules/query-suggestions/store/getters/normalized-query.getter.js.map +1 -1
- package/js/x-modules/query-suggestions/store/getters/query-suggestions.getter.js +1 -1
- package/js/x-modules/query-suggestions/store/getters/query-suggestions.getter.js.map +1 -1
- package/js/x-modules/query-suggestions/store/getters/request.getter.js +2 -4
- package/js/x-modules/query-suggestions/store/getters/request.getter.js.map +1 -1
- package/js/x-modules/query-suggestions/store/module.js +7 -7
- package/js/x-modules/query-suggestions/store/module.js.map +1 -1
- package/js/x-modules/query-suggestions/wiring.js +12 -12
- package/js/x-modules/query-suggestions/wiring.js.map +1 -1
- package/js/x-modules/query-suggestions/x-module.js +1 -1
- package/js/x-modules/query-suggestions/x-module.js.map +1 -1
- package/js/x-modules/recommendations/components/recommendations.vue.js.map +1 -1
- package/js/x-modules/recommendations/components/recommendations.vue2.js +8 -8
- package/js/x-modules/recommendations/components/recommendations.vue2.js.map +1 -1
- package/js/x-modules/recommendations/store/actions/fetch-and-save-recommendations.action.js +2 -3
- package/js/x-modules/recommendations/store/actions/fetch-and-save-recommendations.action.js.map +1 -1
- package/js/x-modules/recommendations/store/actions/fetch-recommendations.action.js +1 -1
- package/js/x-modules/recommendations/store/actions/fetch-recommendations.action.js.map +1 -1
- package/js/x-modules/recommendations/store/constants.js.map +1 -1
- package/js/x-modules/recommendations/store/emitters.js +2 -2
- package/js/x-modules/recommendations/store/emitters.js.map +1 -1
- package/js/x-modules/recommendations/store/getters/request.getter.js +2 -2
- package/js/x-modules/recommendations/store/getters/request.getter.js.map +1 -1
- package/js/x-modules/recommendations/store/module.js +7 -7
- package/js/x-modules/recommendations/store/module.js.map +1 -1
- package/js/x-modules/recommendations/wiring.js +3 -3
- package/js/x-modules/recommendations/wiring.js.map +1 -1
- package/js/x-modules/recommendations/x-module.js +1 -1
- package/js/x-modules/recommendations/x-module.js.map +1 -1
- package/js/x-modules/related-prompts/components/related-prompt.vue.js.map +1 -1
- package/js/x-modules/related-prompts/components/related-prompt.vue2.js +6 -6
- package/js/x-modules/related-prompts/components/related-prompt.vue2.js.map +1 -1
- package/js/x-modules/related-prompts/components/related-prompts-list.vue.js +13 -13
- package/js/x-modules/related-prompts/components/related-prompts-list.vue.js.map +1 -1
- package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue.js +9 -9
- package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue.js.map +1 -1
- package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue2.js +9 -9
- package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue2.js.map +1 -1
- package/js/x-modules/related-prompts/store/actions/fetch-and-save-related-prompts.action.js +2 -2
- package/js/x-modules/related-prompts/store/actions/fetch-and-save-related-prompts.action.js.map +1 -1
- package/js/x-modules/related-prompts/store/actions/fetch-related-prompts.action.js +1 -1
- package/js/x-modules/related-prompts/store/actions/fetch-related-prompts.action.js.map +1 -1
- package/js/x-modules/related-prompts/store/actions/set-url-params.action.js +0 -1
- package/js/x-modules/related-prompts/store/actions/set-url-params.action.js.map +1 -1
- package/js/x-modules/related-prompts/store/emitters.js +1 -1
- package/js/x-modules/related-prompts/store/emitters.js.map +1 -1
- package/js/x-modules/related-prompts/store/getters/related-prompts-query.getter.js +1 -1
- package/js/x-modules/related-prompts/store/getters/related-prompts-query.getter.js.map +1 -1
- package/js/x-modules/related-prompts/store/getters/request.getter.js.map +1 -1
- package/js/x-modules/related-prompts/store/module.js +7 -7
- package/js/x-modules/related-prompts/store/module.js.map +1 -1
- package/js/x-modules/related-prompts/wiring.js +12 -12
- package/js/x-modules/related-prompts/wiring.js.map +1 -1
- package/js/x-modules/related-prompts/x-module.js +2 -2
- package/js/x-modules/related-prompts/x-module.js.map +1 -1
- package/js/x-modules/related-tags/components/related-tag.vue.js +2 -2
- package/js/x-modules/related-tags/components/related-tag.vue.js.map +1 -1
- package/js/x-modules/related-tags/components/related-tag.vue2.js +8 -8
- package/js/x-modules/related-tags/components/related-tag.vue2.js.map +1 -1
- package/js/x-modules/related-tags/components/related-tags.vue.js +5 -5
- package/js/x-modules/related-tags/components/related-tags.vue.js.map +1 -1
- package/js/x-modules/related-tags/components/related-tags.vue2.js +10 -10
- package/js/x-modules/related-tags/components/related-tags.vue2.js.map +1 -1
- package/js/x-modules/related-tags/store/actions/fetch-and-save-related-tags.action.js +2 -3
- package/js/x-modules/related-tags/store/actions/fetch-and-save-related-tags.action.js.map +1 -1
- package/js/x-modules/related-tags/store/actions/fetch-related-tags.action.js +1 -1
- package/js/x-modules/related-tags/store/actions/fetch-related-tags.action.js.map +1 -1
- package/js/x-modules/related-tags/store/actions/set-url-params.action.js +4 -1
- package/js/x-modules/related-tags/store/actions/set-url-params.action.js.map +1 -1
- package/js/x-modules/related-tags/store/actions/toggle-related-tag.action.js +0 -1
- package/js/x-modules/related-tags/store/actions/toggle-related-tag.action.js.map +1 -1
- package/js/x-modules/related-tags/store/emitters.js +2 -2
- package/js/x-modules/related-tags/store/emitters.js.map +1 -1
- package/js/x-modules/related-tags/store/getters/query.getter.js +1 -3
- package/js/x-modules/related-tags/store/getters/query.getter.js.map +1 -1
- package/js/x-modules/related-tags/store/getters/related-tags.getter.js +1 -2
- package/js/x-modules/related-tags/store/getters/related-tags.getter.js.map +1 -1
- package/js/x-modules/related-tags/store/getters/request.getter.js +1 -3
- package/js/x-modules/related-tags/store/getters/request.getter.js.map +1 -1
- package/js/x-modules/related-tags/store/module.js +7 -7
- package/js/x-modules/related-tags/store/module.js.map +1 -1
- package/js/x-modules/related-tags/wiring.js +12 -12
- package/js/x-modules/related-tags/wiring.js.map +1 -1
- package/js/x-modules/related-tags/x-module.js +1 -1
- package/js/x-modules/related-tags/x-module.js.map +1 -1
- package/js/x-modules/scroll/components/main-scroll-item.vue.js.map +1 -1
- package/js/x-modules/scroll/components/main-scroll-item.vue2.js +14 -16
- package/js/x-modules/scroll/components/main-scroll-item.vue2.js.map +1 -1
- package/js/x-modules/scroll/components/main-scroll.vue.js +10 -10
- package/js/x-modules/scroll/components/main-scroll.vue.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.vue2.js +50 -48
- package/js/x-modules/scroll/components/scroll-to-top.vue2.js.map +1 -1
- package/js/x-modules/scroll/components/scroll.const.js.map +1 -1
- package/js/x-modules/scroll/components/scroll.vue.js +3 -3
- package/js/x-modules/scroll/components/scroll.vue.js.map +1 -1
- package/js/x-modules/scroll/components/scroll.vue2.js +6 -6
- package/js/x-modules/scroll/components/scroll.vue2.js.map +1 -1
- package/js/x-modules/scroll/store/emitters.js.map +1 -1
- package/js/x-modules/scroll/store/module.js +4 -4
- package/js/x-modules/scroll/store/module.js.map +1 -1
- package/js/x-modules/scroll/wiring.js +14 -14
- package/js/x-modules/scroll/wiring.js.map +1 -1
- package/js/x-modules/scroll/x-module.js +1 -1
- package/js/x-modules/scroll/x-module.js.map +1 -1
- package/js/x-modules/search/components/banner.vue.js +5 -4
- package/js/x-modules/search/components/banner.vue.js.map +1 -1
- package/js/x-modules/search/components/banner.vue2.js +5 -5
- package/js/x-modules/search/components/banner.vue2.js.map +1 -1
- package/js/x-modules/search/components/banners-list.vue.js +9 -8
- package/js/x-modules/search/components/banners-list.vue.js.map +1 -1
- package/js/x-modules/search/components/fallback-disclaimer.vue.js.map +1 -1
- package/js/x-modules/search/components/fallback-disclaimer.vue2.js +3 -3
- package/js/x-modules/search/components/fallback-disclaimer.vue2.js.map +1 -1
- package/js/x-modules/search/components/partial-query-button.vue.js +2 -2
- package/js/x-modules/search/components/partial-query-button.vue.js.map +1 -1
- package/js/x-modules/search/components/partial-query-button.vue2.js +6 -6
- package/js/x-modules/search/components/partial-query-button.vue2.js.map +1 -1
- package/js/x-modules/search/components/partial-results-list.vue.js.map +1 -1
- package/js/x-modules/search/components/partial-results-list.vue2.js +8 -8
- package/js/x-modules/search/components/partial-results-list.vue2.js.map +1 -1
- package/js/x-modules/search/components/promoted.vue.js +2 -2
- package/js/x-modules/search/components/promoted.vue.js.map +1 -1
- package/js/x-modules/search/components/promoted.vue2.js +5 -5
- package/js/x-modules/search/components/promoted.vue2.js.map +1 -1
- package/js/x-modules/search/components/promoteds-list.vue.js +6 -6
- package/js/x-modules/search/components/promoteds-list.vue.js.map +1 -1
- package/js/x-modules/search/components/redirection.vue.js.map +1 -1
- package/js/x-modules/search/components/redirection.vue2.js +7 -8
- package/js/x-modules/search/components/redirection.vue2.js.map +1 -1
- package/js/x-modules/search/components/results-list.vue.js +5 -5
- package/js/x-modules/search/components/results-list.vue.js.map +1 -1
- package/js/x-modules/search/components/sort-dropdown.vue.js +4 -4
- package/js/x-modules/search/components/sort-dropdown.vue.js.map +1 -1
- package/js/x-modules/search/components/sort-dropdown.vue2.js +5 -5
- package/js/x-modules/search/components/sort-dropdown.vue2.js.map +1 -1
- package/js/x-modules/search/components/sort-list.vue.js.map +1 -1
- package/js/x-modules/search/components/sort-list.vue2.js +8 -8
- package/js/x-modules/search/components/sort-list.vue2.js.map +1 -1
- package/js/x-modules/search/components/sort-picker-list.vue.js.map +1 -1
- package/js/x-modules/search/components/sort-picker-list.vue2.js +8 -8
- package/js/x-modules/search/components/sort-picker-list.vue2.js.map +1 -1
- package/js/x-modules/search/components/spellcheck-button.vue.js +2 -2
- package/js/x-modules/search/components/spellcheck-button.vue.js.map +1 -1
- package/js/x-modules/search/components/spellcheck-button.vue2.js +4 -4
- package/js/x-modules/search/components/spellcheck-button.vue2.js.map +1 -1
- package/js/x-modules/search/components/spellcheck.vue.js.map +1 -1
- package/js/x-modules/search/components/spellcheck.vue2.js +3 -3
- package/js/x-modules/search/components/spellcheck.vue2.js.map +1 -1
- package/js/x-modules/search/store/actions/fetch-and-save-search-response.action.js +5 -5
- package/js/x-modules/search/store/actions/fetch-and-save-search-response.action.js.map +1 -1
- package/js/x-modules/search/store/actions/fetch-search-response.action.js +1 -1
- package/js/x-modules/search/store/actions/fetch-search-response.action.js.map +1 -1
- package/js/x-modules/search/store/actions/increase-page-apending-results.action.js +0 -1
- package/js/x-modules/search/store/actions/increase-page-apending-results.action.js.map +1 -1
- package/js/x-modules/search/store/actions/reset-request-on-refinement.action.js +0 -1
- package/js/x-modules/search/store/actions/reset-request-on-refinement.action.js.map +1 -1
- package/js/x-modules/search/store/actions/save-origin.action.js +0 -1
- package/js/x-modules/search/store/actions/save-origin.action.js.map +1 -1
- package/js/x-modules/search/store/actions/save-search-response.action.js +1 -2
- package/js/x-modules/search/store/actions/save-search-response.action.js.map +1 -1
- package/js/x-modules/search/store/actions/set-url-params.action.js +0 -2
- package/js/x-modules/search/store/actions/set-url-params.action.js.map +1 -1
- package/js/x-modules/search/store/emitters.js +5 -5
- package/js/x-modules/search/store/emitters.js.map +1 -1
- package/js/x-modules/search/store/getters/query.getter.js +1 -1
- package/js/x-modules/search/store/getters/query.getter.js.map +1 -1
- package/js/x-modules/search/store/getters/request.getter.js +1 -2
- package/js/x-modules/search/store/getters/request.getter.js.map +1 -1
- package/js/x-modules/search/store/module.js +10 -10
- package/js/x-modules/search/store/module.js.map +1 -1
- package/js/x-modules/search/wiring.js +26 -26
- package/js/x-modules/search/wiring.js.map +1 -1
- package/js/x-modules/search/x-module.js +1 -1
- package/js/x-modules/search/x-module.js.map +1 -1
- package/js/x-modules/search-box/components/clear-search-input.vue.js.map +1 -1
- package/js/x-modules/search-box/components/clear-search-input.vue2.js +5 -5
- package/js/x-modules/search-box/components/clear-search-input.vue2.js.map +1 -1
- package/js/x-modules/search-box/components/search-button.vue.js +2 -2
- package/js/x-modules/search-box/components/search-button.vue.js.map +1 -1
- package/js/x-modules/search-box/components/search-button.vue2.js +5 -5
- package/js/x-modules/search-box/components/search-button.vue2.js.map +1 -1
- package/js/x-modules/search-box/components/search-input-placeholder.vue.js.map +1 -1
- package/js/x-modules/search-box/components/search-input-placeholder.vue2.js +8 -8
- package/js/x-modules/search-box/components/search-input-placeholder.vue2.js.map +1 -1
- package/js/x-modules/search-box/components/search-input.vue.js +10 -10
- package/js/x-modules/search-box/components/search-input.vue.js.map +1 -1
- package/js/x-modules/search-box/components/search-input.vue2.js +10 -10
- package/js/x-modules/search-box/components/search-input.vue2.js.map +1 -1
- package/js/x-modules/search-box/store/actions/set-input-status.action.js +8 -8
- package/js/x-modules/search-box/store/actions/set-input-status.action.js.map +1 -1
- package/js/x-modules/search-box/store/actions/set-url-params.action.js +0 -1
- package/js/x-modules/search-box/store/actions/set-url-params.action.js.map +1 -1
- package/js/x-modules/search-box/store/emitters.js +1 -1
- package/js/x-modules/search-box/store/emitters.js.map +1 -1
- package/js/x-modules/search-box/store/module.js +6 -6
- package/js/x-modules/search-box/store/module.js.map +1 -1
- package/js/x-modules/search-box/wiring.js +13 -12
- package/js/x-modules/search-box/wiring.js.map +1 -1
- package/js/x-modules/search-box/x-module.js +1 -1
- package/js/x-modules/search-box/x-module.js.map +1 -1
- package/js/x-modules/semantic-queries/components/semantic-queries.vue.js.map +1 -1
- package/js/x-modules/semantic-queries/components/semantic-queries.vue2.js +5 -5
- package/js/x-modules/semantic-queries/components/semantic-queries.vue2.js.map +1 -1
- package/js/x-modules/semantic-queries/components/semantic-query.vue.js +2 -2
- package/js/x-modules/semantic-queries/components/semantic-query.vue.js.map +1 -1
- package/js/x-modules/semantic-queries/components/semantic-query.vue2.js +6 -6
- package/js/x-modules/semantic-queries/components/semantic-query.vue2.js.map +1 -1
- package/js/x-modules/semantic-queries/store/actions/fetch-and-save-semantic-query.action.js +1 -3
- package/js/x-modules/semantic-queries/store/actions/fetch-and-save-semantic-query.action.js.map +1 -1
- package/js/x-modules/semantic-queries/store/actions/fetch-semantic-query.action.js +1 -1
- package/js/x-modules/semantic-queries/store/actions/fetch-semantic-query.action.js.map +1 -1
- package/js/x-modules/semantic-queries/store/emitters.js +1 -1
- package/js/x-modules/semantic-queries/store/emitters.js.map +1 -1
- package/js/x-modules/semantic-queries/store/getters/normalized-query.getter.js +1 -1
- package/js/x-modules/semantic-queries/store/getters/normalized-query.getter.js.map +1 -1
- package/js/x-modules/semantic-queries/store/getters/request.getter.js +2 -2
- package/js/x-modules/semantic-queries/store/getters/request.getter.js.map +1 -1
- package/js/x-modules/semantic-queries/store/getters/semanti-queries-query.getter.js +1 -1
- package/js/x-modules/semantic-queries/store/getters/semanti-queries-query.getter.js.map +1 -1
- package/js/x-modules/semantic-queries/store/module.js +8 -8
- package/js/x-modules/semantic-queries/store/module.js.map +1 -1
- package/js/x-modules/semantic-queries/wiring.js +7 -7
- package/js/x-modules/semantic-queries/wiring.js.map +1 -1
- package/js/x-modules/semantic-queries/x-module.js +1 -1
- package/js/x-modules/semantic-queries/x-module.js.map +1 -1
- package/js/x-modules/tagging/components/tagging.vue.js +10 -11
- package/js/x-modules/tagging/components/tagging.vue.js.map +1 -1
- package/js/x-modules/tagging/service/external-tagging.service.js +5 -4
- package/js/x-modules/tagging/service/external-tagging.service.js.map +1 -1
- package/js/x-modules/tagging/store/actions/track.action.js +3 -4
- package/js/x-modules/tagging/store/actions/track.action.js.map +1 -1
- package/js/x-modules/tagging/store/emitters.js +2 -2
- package/js/x-modules/tagging/store/emitters.js.map +1 -1
- package/js/x-modules/tagging/store/module.js +6 -6
- package/js/x-modules/tagging/store/module.js.map +1 -1
- package/js/x-modules/tagging/wiring.js +31 -27
- package/js/x-modules/tagging/wiring.js.map +1 -1
- package/js/x-modules/tagging/x-module.js +1 -1
- package/js/x-modules/tagging/x-module.js.map +1 -1
- package/js/x-modules/url/components/url-handler.vue.js +2 -2
- package/js/x-modules/url/components/url-handler.vue.js.map +1 -1
- package/js/x-modules/url/components/url-handler.vue2.js +8 -9
- package/js/x-modules/url/components/url-handler.vue2.js.map +1 -1
- package/js/x-modules/url/store/emitters.js +3 -3
- package/js/x-modules/url/store/emitters.js.map +1 -1
- package/js/x-modules/url/store/getters/url-params.getter.js +0 -1
- package/js/x-modules/url/store/getters/url-params.getter.js.map +1 -1
- package/js/x-modules/url/store/initial-state.js +1 -1
- package/js/x-modules/url/store/initial-state.js.map +1 -1
- package/js/x-modules/url/store/module.js +4 -4
- package/js/x-modules/url/store/module.js.map +1 -1
- package/js/x-modules/url/store/mutations/set-params.mutation.js.map +1 -1
- package/js/x-modules/url/wiring.js +14 -14
- package/js/x-modules/url/wiring.js.map +1 -1
- package/js/x-modules/url/x-module.js +1 -1
- package/js/x-modules/url/x-module.js.map +1 -1
- package/next-queries/index.js +4 -4
- package/package.json +30 -25
- package/popular-searches/index.js +2 -2
- package/queries-preview/index.js +4 -4
- package/query-suggestions/index.js +1 -1
- package/related-tags/index.js +1 -1
- package/report/x-components.api.json +2828 -5263
- package/report/x-components.api.md +297 -281
- package/scroll/index.js +2 -2
- package/search/index.js +2 -2
- package/search-box/index.js +1 -1
- package/semantic-queries/index.js +2 -2
- package/tools/inject-css.js +4 -4
- package/types/adapter/e2e-adapter.d.ts +4 -2
- package/types/adapter/e2e-adapter.d.ts.map +1 -1
- package/types/adapter/mocked-responses.d.ts +1 -1
- package/types/adapter/mocked-responses.d.ts.map +1 -1
- package/types/components/animations/animate-clip-path/animate-clip-path.factory.d.ts.map +1 -1
- package/types/components/animations/animate-scale/animate-scale.factory.d.ts.map +1 -1
- package/types/components/animations/animate-translate/animate-translate.factory.d.ts.map +1 -1
- package/types/components/animations/animate-width.vue.d.ts.map +1 -1
- package/types/components/animations/collapse-height.vue.d.ts.map +1 -1
- package/types/components/animations/collapse-width.vue.d.ts.map +1 -1
- package/types/components/animations/create-directional-animation-factory.d.ts +1 -1
- package/types/components/animations/create-directional-animation-factory.d.ts.map +1 -1
- package/types/components/animations/cross-fade.vue.d.ts.map +1 -1
- package/types/components/animations/fade-and-slide.vue.d.ts.map +1 -1
- package/types/components/animations/fade.vue.d.ts.map +1 -1
- package/types/components/animations/index.d.ts +5 -5
- package/types/components/animations/index.d.ts.map +1 -1
- package/types/components/animations/no-animation.vue.d.ts.map +1 -1
- package/types/components/animations/staggered-fade-and-slide.vue.d.ts.map +1 -1
- package/types/components/animations/use-collapse-animation.d.ts.map +1 -1
- package/types/components/auto-progress-bar.vue.d.ts +1 -1
- package/types/components/auto-progress-bar.vue.d.ts.map +1 -1
- package/types/components/base-dropdown.vue.d.ts +2 -2
- package/types/components/base-dropdown.vue.d.ts.map +1 -1
- package/types/components/base-event-button.vue.d.ts +3 -3
- package/types/components/base-event-button.vue.d.ts.map +1 -1
- package/types/components/base-grid.vue.d.ts +2 -2
- package/types/components/base-grid.vue.d.ts.map +1 -1
- package/types/components/base-keyboard-navigation.vue.d.ts +2 -2
- package/types/components/base-keyboard-navigation.vue.d.ts.map +1 -1
- package/types/components/base-rating.vue.d.ts.map +1 -1
- package/types/components/base-slider.vue.d.ts +1 -1
- package/types/components/base-slider.vue.d.ts.map +1 -1
- package/types/components/base-switch.vue.d.ts +1 -1
- package/types/components/base-switch.vue.d.ts.map +1 -1
- package/types/components/base-teleport.vue.d.ts +13 -0
- package/types/components/base-teleport.vue.d.ts.map +1 -0
- package/types/components/base-variable-column-grid.vue.d.ts +2 -2
- package/types/components/base-variable-column-grid.vue.d.ts.map +1 -1
- package/types/components/column-picker/base-column-picker-dropdown.vue.d.ts +6 -5
- package/types/components/column-picker/base-column-picker-dropdown.vue.d.ts.map +1 -1
- package/types/components/column-picker/base-column-picker-list.vue.d.ts +3 -3
- package/types/components/column-picker/base-column-picker-list.vue.d.ts.map +1 -1
- package/types/components/column-picker/index.d.ts.map +1 -1
- package/types/components/currency/base-currency.vue.d.ts.map +1 -1
- package/types/components/currency/index.d.ts.map +1 -1
- package/types/components/decorators/injection.consts.d.ts +2 -2
- package/types/components/decorators/injection.consts.d.ts.map +1 -1
- package/types/components/display-click-provider.vue.d.ts.map +1 -1
- package/types/components/display-emitter.vue.d.ts +3 -3
- package/types/components/display-emitter.vue.d.ts.map +1 -1
- package/types/components/filters/index.d.ts.map +1 -1
- package/types/components/filters/labels/base-price-filter-label.vue.d.ts +2 -2
- package/types/components/filters/labels/base-price-filter-label.vue.d.ts.map +1 -1
- package/types/components/filters/labels/base-rating-filter-label.vue.d.ts +2 -2
- package/types/components/filters/labels/base-rating-filter-label.vue.d.ts.map +1 -1
- package/types/components/global-x-bus.vue.d.ts +1 -1
- package/types/components/global-x-bus.vue.d.ts.map +1 -1
- package/types/components/highlight.vue.d.ts.map +1 -1
- package/types/components/icons/index.d.ts +12 -12
- package/types/components/icons/index.d.ts.map +1 -1
- package/types/components/index.d.ts +15 -14
- package/types/components/index.d.ts.map +1 -1
- package/types/components/items-list.vue.d.ts +2 -2
- package/types/components/items-list.vue.d.ts.map +1 -1
- package/types/components/layouts/fixed-header-and-asides-layout.vue.d.ts.map +1 -1
- package/types/components/layouts/index.d.ts.map +1 -1
- 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.map +1 -1
- package/types/components/location-provider.vue.d.ts +2 -2
- package/types/components/location-provider.vue.d.ts.map +1 -1
- package/types/components/modals/base-events-modal-close.vue.d.ts +2 -2
- package/types/components/modals/base-events-modal-close.vue.d.ts.map +1 -1
- package/types/components/modals/base-events-modal-open.vue.d.ts +2 -2
- package/types/components/modals/base-events-modal-open.vue.d.ts.map +1 -1
- package/types/components/modals/base-events-modal.vue.d.ts +2 -2
- package/types/components/modals/base-events-modal.vue.d.ts.map +1 -1
- package/types/components/modals/base-id-modal-close.vue.d.ts.map +1 -1
- package/types/components/modals/base-id-modal-open.vue.d.ts.map +1 -1
- package/types/components/modals/base-id-modal.vue.d.ts.map +1 -1
- package/types/components/modals/base-modal.vue.d.ts.map +1 -1
- package/types/components/modals/close-main-modal.vue.d.ts.map +1 -1
- package/types/components/modals/index.d.ts +3 -3
- package/types/components/modals/index.d.ts.map +1 -1
- package/types/components/modals/main-modal.vue.d.ts +1 -1
- package/types/components/modals/main-modal.vue.d.ts.map +1 -1
- package/types/components/modals/open-main-modal.vue.d.ts.map +1 -1
- package/types/components/page-loader-button.vue.d.ts +3 -3
- package/types/components/page-loader-button.vue.d.ts.map +1 -1
- package/types/components/page-selector.vue.d.ts +2 -2
- package/types/components/page-selector.vue.d.ts.map +1 -1
- package/types/components/panels/base-header-toggle-panel.vue.d.ts.map +1 -1
- package/types/components/panels/base-id-toggle-panel-button.vue.d.ts +1 -1
- package/types/components/panels/base-id-toggle-panel-button.vue.d.ts.map +1 -1
- package/types/components/panels/base-id-toggle-panel.vue.d.ts.map +1 -1
- package/types/components/panels/base-tabs-panel.vue.d.ts.map +1 -1
- package/types/components/panels/base-toggle-panel.vue.d.ts.map +1 -1
- package/types/components/panels/index.d.ts +2 -2
- package/types/components/panels/index.d.ts.map +1 -1
- package/types/components/result/base-result-add-to-cart.vue.d.ts +4 -4
- package/types/components/result/base-result-add-to-cart.vue.d.ts.map +1 -1
- package/types/components/result/base-result-current-price.vue.d.ts +3 -3
- package/types/components/result/base-result-current-price.vue.d.ts.map +1 -1
- package/types/components/result/base-result-image.vue.d.ts +2 -2
- package/types/components/result/base-result-image.vue.d.ts.map +1 -1
- package/types/components/result/base-result-link.vue.d.ts +3 -2
- package/types/components/result/base-result-link.vue.d.ts.map +1 -1
- package/types/components/result/base-result-previous-price.vue.d.ts +2 -2
- package/types/components/result/base-result-previous-price.vue.d.ts.map +1 -1
- package/types/components/result/base-result-rating.vue.d.ts +3 -2
- package/types/components/result/base-result-rating.vue.d.ts.map +1 -1
- package/types/components/result/index.d.ts +3 -3
- package/types/components/result/index.d.ts.map +1 -1
- package/types/components/result/result-variant-selector.vue.d.ts +2 -2
- package/types/components/result/result-variant-selector.vue.d.ts.map +1 -1
- package/types/components/result/result-variants-provider.vue.d.ts +2 -2
- package/types/components/result/result-variants-provider.vue.d.ts.map +1 -1
- package/types/components/scroll/base-scroll.vue.d.ts +1 -1
- package/types/components/scroll/base-scroll.vue.d.ts.map +1 -1
- package/types/components/scroll/index.d.ts.map +1 -1
- package/types/components/scroll/scroll.types.d.ts.map +1 -1
- package/types/components/scroll/use-scroll.d.ts +2 -2
- package/types/components/scroll/use-scroll.d.ts.map +1 -1
- package/types/components/sliding-panel.vue.d.ts +2 -2
- package/types/components/sliding-panel.vue.d.ts.map +1 -1
- package/types/components/snippet-callbacks.vue.d.ts +1 -1
- package/types/components/snippet-callbacks.vue.d.ts.map +1 -1
- package/types/components/suggestions/base-suggestion.vue.d.ts +5 -5
- package/types/components/suggestions/base-suggestion.vue.d.ts.map +1 -1
- package/types/components/suggestions/base-suggestions.vue.d.ts +2 -2
- package/types/components/suggestions/base-suggestions.vue.d.ts.map +1 -1
- package/types/components/suggestions/index.d.ts.map +1 -1
- package/types/components/x-component.utils.d.ts +2 -2
- package/types/components/x-component.utils.d.ts.map +1 -1
- package/types/composables/create-use-device.d.ts +1 -1
- package/types/composables/create-use-device.d.ts.map +1 -1
- package/types/composables/index.d.ts.map +1 -1
- package/types/composables/use-alias-api.d.ts +4 -4
- package/types/composables/use-alias-api.d.ts.map +1 -1
- package/types/composables/use-debounce.d.ts +1 -1
- package/types/composables/use-debounce.d.ts.map +1 -1
- package/types/composables/use-getter.d.ts +3 -3
- package/types/composables/use-getter.d.ts.map +1 -1
- package/types/composables/use-on-display.d.ts +11 -15
- package/types/composables/use-on-display.d.ts.map +1 -1
- package/types/composables/use-state.d.ts +3 -3
- package/types/composables/use-state.d.ts.map +1 -1
- package/types/composables/use-store.d.ts.map +1 -1
- package/types/composables/use-x-bus.d.ts +3 -3
- package/types/composables/use-x-bus.d.ts.map +1 -1
- package/types/directives/index.d.ts.map +1 -1
- package/types/directives/infinite-scroll.d.ts +1 -1
- package/types/directives/infinite-scroll.d.ts.map +1 -1
- package/types/directives/typing.d.ts.map +1 -1
- package/types/index.d.ts +1 -1
- package/types/index.d.ts.map +1 -1
- package/types/plugins/devtools/colors.utils.d.ts +2 -2
- package/types/plugins/devtools/colors.utils.d.ts.map +1 -1
- package/types/plugins/devtools/devtools.plugin.d.ts +1 -1
- package/types/plugins/devtools/devtools.plugin.d.ts.map +1 -1
- package/types/plugins/devtools/timeline.devtools.d.ts +4 -4
- package/types/plugins/devtools/timeline.devtools.d.ts.map +1 -1
- package/types/plugins/devtools/wiring.devtools.d.ts +4 -4
- package/types/plugins/devtools/wiring.devtools.d.ts.map +1 -1
- package/types/plugins/index.d.ts.map +1 -1
- package/types/plugins/x-bus.d.ts +3 -3
- package/types/plugins/x-bus.d.ts.map +1 -1
- package/types/plugins/x-emitters.d.ts +7 -8
- package/types/plugins/x-emitters.d.ts.map +1 -1
- package/types/plugins/x-plugin.d.ts +16 -21
- package/types/plugins/x-plugin.d.ts.map +1 -1
- package/types/plugins/x-plugin.types.d.ts +19 -21
- package/types/plugins/x-plugin.types.d.ts.map +1 -1
- package/types/plugins/x-plugin.utils.d.ts +2 -2
- package/types/plugins/x-plugin.utils.d.ts.map +1 -1
- package/types/router.d.ts.map +1 -1
- package/types/services/directional-focus-navigation.service.d.ts +3 -5
- package/types/services/directional-focus-navigation.service.d.ts.map +1 -1
- package/types/services/index.d.ts.map +1 -1
- package/types/services/services.types.d.ts +4 -4
- package/types/services/services.types.d.ts.map +1 -1
- package/types/services/state-machine.service.d.ts +1 -1
- package/types/services/state-machine.service.d.ts.map +1 -1
- package/types/store/actions.types.d.ts +7 -9
- package/types/store/actions.types.d.ts.map +1 -1
- package/types/store/getters.types.d.ts +2 -2
- package/types/store/getters.types.d.ts.map +1 -1
- package/types/store/index.d.ts +1 -1
- package/types/store/index.d.ts.map +1 -1
- package/types/store/mutations.types.d.ts +2 -2
- package/types/store/mutations.types.d.ts.map +1 -1
- package/types/store/store.types.d.ts +8 -8
- package/types/store/store.types.d.ts.map +1 -1
- package/types/store/utils/config-store.utils.d.ts +2 -2
- package/types/store/utils/config-store.utils.d.ts.map +1 -1
- package/types/store/utils/fetch-and-save-action.utils.d.ts +7 -8
- package/types/store/utils/fetch-and-save-action.utils.d.ts.map +1 -1
- package/types/store/utils/getters-proxy.utils.d.ts +3 -3
- package/types/store/utils/getters-proxy.utils.d.ts.map +1 -1
- package/types/store/utils/query.utils.d.ts +3 -3
- package/types/store/utils/query.utils.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/utils/store-emitters.utils.d.ts +9 -9
- package/types/store/utils/store-emitters.utils.d.ts.map +1 -1
- package/types/store/x.module.d.ts +2 -2
- package/types/store/x.module.d.ts.map +1 -1
- package/types/tailwind/plugin-options.d.ts.map +1 -1
- package/types/types/animation-prop.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 +1 -1
- package/types/types/origin.d.ts.map +1 -1
- package/types/types/page-mode.d.ts.map +1 -1
- package/types/types/url-params.d.ts.map +1 -1
- package/types/utils/array.d.ts +1 -1
- package/types/utils/array.d.ts.map +1 -1
- package/types/utils/cancellable-promise.d.ts.map +1 -1
- package/types/utils/clone.d.ts.map +1 -1
- package/types/utils/debounce.d.ts +1 -3
- package/types/utils/debounce.d.ts.map +1 -1
- package/types/utils/filters.d.ts +1 -1
- package/types/utils/filters.d.ts.map +1 -1
- package/types/utils/focus.d.ts.map +1 -1
- package/types/utils/function.d.ts.map +1 -1
- package/types/utils/get-url-parameters.d.ts.map +1 -1
- package/types/utils/index.d.ts.map +1 -1
- package/types/utils/is-new-query.d.ts.map +1 -1
- package/types/utils/number.d.ts +0 -1
- package/types/utils/number.d.ts.map +1 -1
- package/types/utils/origin.d.ts +2 -4
- package/types/utils/origin.d.ts.map +1 -1
- package/types/utils/sanitize.d.ts.map +1 -1
- package/types/utils/storage.d.ts +1 -1
- package/types/utils/storage.d.ts.map +1 -1
- package/types/utils/throttle.d.ts +1 -1
- package/types/utils/throttle.d.ts.map +1 -1
- package/types/utils/types.d.ts +7 -7
- package/types/utils/types.d.ts.map +1 -1
- package/types/views/adapter.d.ts +1 -1
- package/types/views/adapter.d.ts.map +1 -1
- package/types/views/base-config.d.ts +2 -2
- package/types/views/base-config.d.ts.map +1 -1
- package/types/views/home/types.d.ts.map +1 -1
- package/types/wiring/events.types.d.ts +26 -26
- package/types/wiring/events.types.d.ts.map +1 -1
- package/types/wiring/index.d.ts.map +1 -1
- package/types/wiring/namespaced-wires.factory.d.ts +2 -2
- package/types/wiring/namespaced-wires.factory.d.ts.map +1 -1
- package/types/wiring/namespaced-wires.operators.d.ts +2 -2
- package/types/wiring/namespaced-wires.operators.d.ts.map +1 -1
- package/types/wiring/namespaced-wiring.types.d.ts +4 -4
- package/types/wiring/namespaced-wiring.types.d.ts.map +1 -1
- package/types/wiring/wires-operators.utils.d.ts +10 -8
- package/types/wiring/wires-operators.utils.d.ts.map +1 -1
- package/types/wiring/wires.factory.d.ts +2 -2
- package/types/wiring/wires.factory.d.ts.map +1 -1
- package/types/wiring/wires.operators.d.ts +2 -2
- package/types/wiring/wires.operators.d.ts.map +1 -1
- package/types/wiring/wiring.types.d.ts +10 -10
- package/types/wiring/wiring.types.d.ts.map +1 -1
- package/types/wiring/wiring.utils.d.ts +4 -4
- package/types/wiring/wiring.utils.d.ts.map +1 -1
- package/types/x-installer/api/api.types.d.ts +16 -17
- package/types/x-installer/api/api.types.d.ts.map +1 -1
- package/types/x-installer/api/base-api.d.ts +5 -5
- package/types/x-installer/api/base-api.d.ts.map +1 -1
- package/types/x-installer/api/index.d.ts.map +1 -1
- package/types/x-installer/index.d.ts.map +1 -1
- package/types/x-installer/x-installer/index.d.ts.map +1 -1
- package/types/x-installer/x-installer/types.d.ts +10 -10
- package/types/x-installer/x-installer/types.d.ts.map +1 -1
- package/types/x-installer/x-installer/x-installer.d.ts +8 -8
- package/types/x-installer/x-installer/x-installer.d.ts.map +1 -1
- package/types/x-modules/device/components/device-detector.vue.d.ts +1 -1
- package/types/x-modules/device/components/device-detector.vue.d.ts.map +1 -1
- package/types/x-modules/device/components/index.d.ts.map +1 -1
- package/types/x-modules/device/events.types.d.ts +1 -1
- package/types/x-modules/device/events.types.d.ts.map +1 -1
- package/types/x-modules/device/index.d.ts.map +1 -1
- package/types/x-modules/device/store/emitters.d.ts.map +1 -1
- package/types/x-modules/device/store/index.d.ts.map +1 -1
- package/types/x-modules/device/store/module.d.ts +1 -1
- package/types/x-modules/device/store/module.d.ts.map +1 -1
- package/types/x-modules/device/store/types.d.ts +2 -2
- package/types/x-modules/device/store/types.d.ts.map +1 -1
- package/types/x-modules/device/wiring.d.ts.map +1 -1
- package/types/x-modules/device/x-module.d.ts +2 -2
- package/types/x-modules/device/x-module.d.ts.map +1 -1
- package/types/x-modules/empathize/components/empathize.vue.d.ts +1 -1
- package/types/x-modules/empathize/components/empathize.vue.d.ts.map +1 -1
- package/types/x-modules/empathize/components/index.d.ts.map +1 -1
- package/types/x-modules/empathize/events.types.d.ts +3 -3
- package/types/x-modules/empathize/events.types.d.ts.map +1 -1
- package/types/x-modules/empathize/index.d.ts.map +1 -1
- package/types/x-modules/empathize/store/emitters.d.ts.map +1 -1
- package/types/x-modules/empathize/store/index.d.ts.map +1 -1
- package/types/x-modules/empathize/store/module.d.ts +1 -1
- package/types/x-modules/empathize/store/module.d.ts.map +1 -1
- package/types/x-modules/empathize/store/types.d.ts +4 -4
- package/types/x-modules/empathize/store/types.d.ts.map +1 -1
- package/types/x-modules/empathize/wiring.d.ts.map +1 -1
- package/types/x-modules/empathize/x-module.d.ts +2 -2
- package/types/x-modules/empathize/x-module.d.ts.map +1 -1
- package/types/x-modules/experience-controls/components/experience-controls.vue.d.ts.map +1 -1
- package/types/x-modules/experience-controls/components/index.d.ts.map +1 -1
- package/types/x-modules/experience-controls/events.types.d.ts +2 -2
- package/types/x-modules/experience-controls/events.types.d.ts.map +1 -1
- package/types/x-modules/experience-controls/index.d.ts.map +1 -1
- package/types/x-modules/experience-controls/store/actions/fetch-and-save-experience-controls.action.d.ts +2 -2
- package/types/x-modules/experience-controls/store/actions/fetch-and-save-experience-controls.action.d.ts.map +1 -1
- package/types/x-modules/experience-controls/store/actions/fetch-experience-controls.action.d.ts +1 -1
- package/types/x-modules/experience-controls/store/actions/fetch-experience-controls.action.d.ts.map +1 -1
- package/types/x-modules/experience-controls/store/actions/index.d.ts.map +1 -1
- package/types/x-modules/experience-controls/store/emitters.d.ts.map +1 -1
- package/types/x-modules/experience-controls/store/getters/experience-controls-results-request.getter.d.ts +1 -1
- package/types/x-modules/experience-controls/store/getters/experience-controls-results-request.getter.d.ts.map +1 -1
- package/types/x-modules/experience-controls/store/getters/index.d.ts.map +1 -1
- package/types/x-modules/experience-controls/store/index.d.ts.map +1 -1
- package/types/x-modules/experience-controls/store/module.d.ts +1 -1
- package/types/x-modules/experience-controls/store/module.d.ts.map +1 -1
- package/types/x-modules/experience-controls/store/types.d.ts +10 -10
- package/types/x-modules/experience-controls/store/types.d.ts.map +1 -1
- package/types/x-modules/experience-controls/wiring.d.ts.map +1 -1
- package/types/x-modules/experience-controls/x-module.d.ts +2 -2
- package/types/x-modules/experience-controls/x-module.d.ts.map +1 -1
- package/types/x-modules/extra-params/components/extra-params.vue.d.ts +2 -2
- package/types/x-modules/extra-params/components/extra-params.vue.d.ts.map +1 -1
- package/types/x-modules/extra-params/components/index.d.ts +1 -1
- package/types/x-modules/extra-params/components/index.d.ts.map +1 -1
- 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 +3 -3
- 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 +5 -5
- package/types/x-modules/extra-params/events.types.d.ts.map +1 -1
- package/types/x-modules/extra-params/index.d.ts.map +1 -1
- package/types/x-modules/extra-params/store/emitters.d.ts.map +1 -1
- package/types/x-modules/extra-params/store/index.d.ts.map +1 -1
- package/types/x-modules/extra-params/store/module.d.ts +1 -1
- package/types/x-modules/extra-params/store/module.d.ts.map +1 -1
- package/types/x-modules/extra-params/store/types.d.ts +3 -3
- package/types/x-modules/extra-params/store/types.d.ts.map +1 -1
- package/types/x-modules/extra-params/wiring.d.ts.map +1 -1
- package/types/x-modules/extra-params/x-module.d.ts +2 -2
- package/types/x-modules/extra-params/x-module.d.ts.map +1 -1
- package/types/x-modules/facets/components/clear-filters.vue.d.ts +3 -3
- package/types/x-modules/facets/components/clear-filters.vue.d.ts.map +1 -1
- package/types/x-modules/facets/components/facets/facets-provider.vue.d.ts +2 -2
- package/types/x-modules/facets/components/facets/facets-provider.vue.d.ts.map +1 -1
- package/types/x-modules/facets/components/facets/facets.vue.d.ts +3 -3
- package/types/x-modules/facets/components/facets/facets.vue.d.ts.map +1 -1
- package/types/x-modules/facets/components/filters/all-filter.vue.d.ts +3 -3
- package/types/x-modules/facets/components/filters/all-filter.vue.d.ts.map +1 -1
- package/types/x-modules/facets/components/filters/editable-number-range-filter.vue.d.ts +2 -2
- package/types/x-modules/facets/components/filters/editable-number-range-filter.vue.d.ts.map +1 -1
- package/types/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts +4 -4
- package/types/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts.map +1 -1
- package/types/x-modules/facets/components/filters/number-range-filter.vue.d.ts +4 -4
- package/types/x-modules/facets/components/filters/number-range-filter.vue.d.ts.map +1 -1
- package/types/x-modules/facets/components/filters/renderless-filter.vue.d.ts +4 -4
- package/types/x-modules/facets/components/filters/renderless-filter.vue.d.ts.map +1 -1
- package/types/x-modules/facets/components/filters/simple-filter.vue.d.ts +4 -4
- package/types/x-modules/facets/components/filters/simple-filter.vue.d.ts.map +1 -1
- package/types/x-modules/facets/components/index.d.ts +5 -5
- package/types/x-modules/facets/components/index.d.ts.map +1 -1
- package/types/x-modules/facets/components/lists/exclude-filters-with-no-results.vue.d.ts +2 -2
- package/types/x-modules/facets/components/lists/exclude-filters-with-no-results.vue.d.ts.map +1 -1
- package/types/x-modules/facets/components/lists/filters-list.vue.d.ts +3 -3
- package/types/x-modules/facets/components/lists/filters-list.vue.d.ts.map +1 -1
- package/types/x-modules/facets/components/lists/filters-search.vue.d.ts +3 -3
- package/types/x-modules/facets/components/lists/filters-search.vue.d.ts.map +1 -1
- package/types/x-modules/facets/components/lists/selected-filters-list.vue.d.ts +2 -2
- package/types/x-modules/facets/components/lists/selected-filters-list.vue.d.ts.map +1 -1
- package/types/x-modules/facets/components/lists/selected-filters.vue.d.ts +1 -1
- package/types/x-modules/facets/components/lists/selected-filters.vue.d.ts.map +1 -1
- package/types/x-modules/facets/components/lists/sliced-filters.vue.d.ts +3 -3
- package/types/x-modules/facets/components/lists/sliced-filters.vue.d.ts.map +1 -1
- package/types/x-modules/facets/components/lists/sorted-filters.vue.d.ts +2 -2
- package/types/x-modules/facets/components/lists/sorted-filters.vue.d.ts.map +1 -1
- package/types/x-modules/facets/components/preselected-filters.vue.d.ts +1 -1
- package/types/x-modules/facets/components/preselected-filters.vue.d.ts.map +1 -1
- package/types/x-modules/facets/composables/index.d.ts.map +1 -1
- package/types/x-modules/facets/composables/use-facets.d.ts +3 -4
- package/types/x-modules/facets/composables/use-facets.d.ts.map +1 -1
- package/types/x-modules/facets/composables/use-filters-injection.d.ts +1 -2
- package/types/x-modules/facets/composables/use-filters-injection.d.ts.map +1 -1
- package/types/x-modules/facets/entities/add-facet-if-not-present.d.ts +3 -3
- package/types/x-modules/facets/entities/add-facet-if-not-present.d.ts.map +1 -1
- package/types/x-modules/facets/entities/editable-number-range-filter.entity.d.ts +8 -8
- package/types/x-modules/facets/entities/editable-number-range-filter.entity.d.ts.map +1 -1
- package/types/x-modules/facets/entities/filter-entity.factory.d.ts +4 -4
- package/types/x-modules/facets/entities/filter-entity.factory.d.ts.map +1 -1
- package/types/x-modules/facets/entities/hierarchical-filter.entity.d.ts +9 -8
- package/types/x-modules/facets/entities/hierarchical-filter.entity.d.ts.map +1 -1
- package/types/x-modules/facets/entities/index.d.ts.map +1 -1
- package/types/x-modules/facets/entities/number-range-filter.entity.d.ts +9 -8
- package/types/x-modules/facets/entities/number-range-filter.entity.d.ts.map +1 -1
- package/types/x-modules/facets/entities/raw-filter.entity.d.ts +8 -7
- package/types/x-modules/facets/entities/raw-filter.entity.d.ts.map +1 -1
- package/types/x-modules/facets/entities/simple-filter.entity.d.ts +9 -8
- package/types/x-modules/facets/entities/simple-filter.entity.d.ts.map +1 -1
- package/types/x-modules/facets/entities/single-select.modifier.d.ts +1 -1
- package/types/x-modules/facets/entities/single-select.modifier.d.ts.map +1 -1
- package/types/x-modules/facets/entities/sticky.modifier.d.ts +1 -1
- package/types/x-modules/facets/entities/sticky.modifier.d.ts.map +1 -1
- package/types/x-modules/facets/entities/types.d.ts +7 -7
- package/types/x-modules/facets/entities/types.d.ts.map +1 -1
- package/types/x-modules/facets/events.types.d.ts +2 -2
- package/types/x-modules/facets/events.types.d.ts.map +1 -1
- package/types/x-modules/facets/index.d.ts +5 -5
- package/types/x-modules/facets/index.d.ts.map +1 -1
- package/types/x-modules/facets/service/facets.service.d.ts +8 -9
- package/types/x-modules/facets/service/facets.service.d.ts.map +1 -1
- package/types/x-modules/facets/service/index.d.ts.map +1 -1
- package/types/x-modules/facets/service/types.d.ts +12 -12
- package/types/x-modules/facets/service/types.d.ts.map +1 -1
- package/types/x-modules/facets/store/constants.d.ts.map +1 -1
- package/types/x-modules/facets/store/emitters.d.ts.map +1 -1
- package/types/x-modules/facets/store/getters/facets.getter.d.ts +1 -1
- package/types/x-modules/facets/store/getters/facets.getter.d.ts.map +1 -1
- package/types/x-modules/facets/store/getters/index.d.ts +1 -1
- package/types/x-modules/facets/store/getters/index.d.ts.map +1 -1
- package/types/x-modules/facets/store/getters/selected-filters-by-facet.getter.d.ts +1 -1
- package/types/x-modules/facets/store/getters/selected-filters-by-facet.getter.d.ts.map +1 -1
- package/types/x-modules/facets/store/getters/selected-filters-for-request.getter.d.ts +1 -1
- package/types/x-modules/facets/store/getters/selected-filters-for-request.getter.d.ts.map +1 -1
- package/types/x-modules/facets/store/getters/selected-filters.getter.d.ts +1 -1
- package/types/x-modules/facets/store/getters/selected-filters.getter.d.ts.map +1 -1
- package/types/x-modules/facets/store/index.d.ts +1 -1
- package/types/x-modules/facets/store/index.d.ts.map +1 -1
- package/types/x-modules/facets/store/module.d.ts +1 -1
- package/types/x-modules/facets/store/module.d.ts.map +1 -1
- package/types/x-modules/facets/store/types.d.ts +15 -15
- package/types/x-modules/facets/store/types.d.ts.map +1 -1
- package/types/x-modules/facets/utils.d.ts +1 -1
- package/types/x-modules/facets/utils.d.ts.map +1 -1
- package/types/x-modules/facets/wiring.d.ts +2 -2
- package/types/x-modules/facets/wiring.d.ts.map +1 -1
- package/types/x-modules/facets/x-module.d.ts +2 -2
- package/types/x-modules/facets/x-module.d.ts.map +1 -1
- package/types/x-modules/history-queries/components/clear-history-queries.vue.d.ts +2 -2
- package/types/x-modules/history-queries/components/clear-history-queries.vue.d.ts.map +1 -1
- package/types/x-modules/history-queries/components/history-queries-switch.vue.d.ts.map +1 -1
- package/types/x-modules/history-queries/components/history-queries.vue.d.ts.map +1 -1
- package/types/x-modules/history-queries/components/history-query.vue.d.ts +3 -3
- package/types/x-modules/history-queries/components/history-query.vue.d.ts.map +1 -1
- package/types/x-modules/history-queries/components/index.d.ts +1 -1
- package/types/x-modules/history-queries/components/index.d.ts.map +1 -1
- package/types/x-modules/history-queries/components/my-history.vue.d.ts +2 -2
- package/types/x-modules/history-queries/components/my-history.vue.d.ts.map +1 -1
- package/types/x-modules/history-queries/components/remove-history-query.vue.d.ts +3 -3
- package/types/x-modules/history-queries/components/remove-history-query.vue.d.ts.map +1 -1
- package/types/x-modules/history-queries/config.types.d.ts.map +1 -1
- package/types/x-modules/history-queries/events.types.d.ts +1 -1
- package/types/x-modules/history-queries/events.types.d.ts.map +1 -1
- package/types/x-modules/history-queries/index.d.ts.map +1 -1
- package/types/x-modules/history-queries/store/actions/add-query-to-history.action.d.ts +4 -4
- package/types/x-modules/history-queries/store/actions/add-query-to-history.action.d.ts.map +1 -1
- package/types/x-modules/history-queries/store/actions/load-history-queries-from-browser-storage.action.d.ts +1 -1
- package/types/x-modules/history-queries/store/actions/load-history-queries-from-browser-storage.action.d.ts.map +1 -1
- package/types/x-modules/history-queries/store/actions/refresh-session.action.d.ts +1 -1
- package/types/x-modules/history-queries/store/actions/refresh-session.action.d.ts.map +1 -1
- package/types/x-modules/history-queries/store/actions/remove-query-from-history.action.d.ts +1 -1
- package/types/x-modules/history-queries/store/actions/remove-query-from-history.action.d.ts.map +1 -1
- package/types/x-modules/history-queries/store/actions/set-history-queries.action.d.ts +1 -1
- package/types/x-modules/history-queries/store/actions/set-history-queries.action.d.ts.map +1 -1
- package/types/x-modules/history-queries/store/actions/set-url-params.action.d.ts +1 -2
- package/types/x-modules/history-queries/store/actions/set-url-params.action.d.ts.map +1 -1
- package/types/x-modules/history-queries/store/actions/toggle-history-queries.action.d.ts +1 -1
- package/types/x-modules/history-queries/store/actions/toggle-history-queries.action.d.ts.map +1 -1
- package/types/x-modules/history-queries/store/actions/update-history-queries-with-search-response.action.d.ts +1 -4
- package/types/x-modules/history-queries/store/actions/update-history-queries-with-search-response.action.d.ts.map +1 -1
- package/types/x-modules/history-queries/store/constants.d.ts.map +1 -1
- package/types/x-modules/history-queries/store/emitters.d.ts.map +1 -1
- package/types/x-modules/history-queries/store/getters/history-queries-with-results.getter.d.ts +1 -4
- package/types/x-modules/history-queries/store/getters/history-queries-with-results.getter.d.ts.map +1 -1
- package/types/x-modules/history-queries/store/getters/history-queries.getter.d.ts +3 -3
- package/types/x-modules/history-queries/store/getters/history-queries.getter.d.ts.map +1 -1
- package/types/x-modules/history-queries/store/getters/normalized-query.getter.d.ts +2 -1
- package/types/x-modules/history-queries/store/getters/normalized-query.getter.d.ts.map +1 -1
- package/types/x-modules/history-queries/store/getters/session-history-queries.getter.d.ts +1 -1
- package/types/x-modules/history-queries/store/getters/session-history-queries.getter.d.ts.map +1 -1
- package/types/x-modules/history-queries/store/getters/storage-key.getter.d.ts +1 -1
- package/types/x-modules/history-queries/store/getters/storage-key.getter.d.ts.map +1 -1
- package/types/x-modules/history-queries/store/index.d.ts.map +1 -1
- package/types/x-modules/history-queries/store/module.d.ts +1 -1
- package/types/x-modules/history-queries/store/module.d.ts.map +1 -1
- package/types/x-modules/history-queries/store/types.d.ts +19 -19
- package/types/x-modules/history-queries/store/types.d.ts.map +1 -1
- package/types/x-modules/history-queries/wiring.d.ts.map +1 -1
- package/types/x-modules/history-queries/x-module.d.ts +2 -2
- package/types/x-modules/history-queries/x-module.d.ts.map +1 -1
- package/types/x-modules/identifier-results/components/identifier-result.vue.d.ts +2 -2
- package/types/x-modules/identifier-results/components/identifier-result.vue.d.ts.map +1 -1
- package/types/x-modules/identifier-results/components/identifier-results.vue.d.ts +1 -1
- package/types/x-modules/identifier-results/components/identifier-results.vue.d.ts.map +1 -1
- package/types/x-modules/identifier-results/components/index.d.ts.map +1 -1
- package/types/x-modules/identifier-results/config.types.d.ts.map +1 -1
- package/types/x-modules/identifier-results/events.types.d.ts +1 -1
- package/types/x-modules/identifier-results/events.types.d.ts.map +1 -1
- package/types/x-modules/identifier-results/index.d.ts.map +1 -1
- package/types/x-modules/identifier-results/store/actions/fetch-and-save-identifier-results.action.d.ts +2 -2
- 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/actions/fetch-identifier-results.action.d.ts +1 -1
- package/types/x-modules/identifier-results/store/actions/fetch-identifier-results.action.d.ts.map +1 -1
- package/types/x-modules/identifier-results/store/actions/index.d.ts.map +1 -1
- package/types/x-modules/identifier-results/store/actions/save-origin.action.d.ts +1 -2
- package/types/x-modules/identifier-results/store/actions/save-origin.action.d.ts.map +1 -1
- package/types/x-modules/identifier-results/store/actions/save-query.action.d.ts +1 -2
- package/types/x-modules/identifier-results/store/actions/save-query.action.d.ts.map +1 -1
- package/types/x-modules/identifier-results/store/emitters.d.ts.map +1 -1
- package/types/x-modules/identifier-results/store/getters/identifier-detection-regexp.getter.d.ts +1 -1
- package/types/x-modules/identifier-results/store/getters/identifier-detection-regexp.getter.d.ts.map +1 -1
- package/types/x-modules/identifier-results/store/getters/identifier-highlight-regexp.getter.d.ts +1 -1
- package/types/x-modules/identifier-results/store/getters/identifier-highlight-regexp.getter.d.ts.map +1 -1
- package/types/x-modules/identifier-results/store/getters/identifier-results-request.getter.d.ts +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.map +1 -1
- package/types/x-modules/identifier-results/store/module.d.ts +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 +16 -16
- package/types/x-modules/identifier-results/store/types.d.ts.map +1 -1
- package/types/x-modules/identifier-results/wiring.d.ts.map +1 -1
- package/types/x-modules/identifier-results/x-module.d.ts +2 -2
- package/types/x-modules/identifier-results/x-module.d.ts.map +1 -1
- package/types/x-modules/next-queries/components/index.d.ts +2 -2
- package/types/x-modules/next-queries/components/index.d.ts.map +1 -1
- package/types/x-modules/next-queries/components/next-queries-list.vue.d.ts.map +1 -1
- package/types/x-modules/next-queries/components/next-queries.vue.d.ts +2 -2
- package/types/x-modules/next-queries/components/next-queries.vue.d.ts.map +1 -1
- package/types/x-modules/next-queries/components/next-query-preview.vue.d.ts +2 -2
- package/types/x-modules/next-queries/components/next-query-preview.vue.d.ts.map +1 -1
- package/types/x-modules/next-queries/components/next-query.vue.d.ts +3 -3
- package/types/x-modules/next-queries/components/next-query.vue.d.ts.map +1 -1
- package/types/x-modules/next-queries/config.types.d.ts.map +1 -1
- package/types/x-modules/next-queries/events.types.d.ts +1 -1
- package/types/x-modules/next-queries/events.types.d.ts.map +1 -1
- package/types/x-modules/next-queries/index.d.ts +1 -1
- package/types/x-modules/next-queries/index.d.ts.map +1 -1
- package/types/x-modules/next-queries/store/actions/fetch-and-save-next-queries.action.d.ts +2 -2
- package/types/x-modules/next-queries/store/actions/fetch-and-save-next-queries.action.d.ts.map +1 -1
- package/types/x-modules/next-queries/store/actions/fetch-and-save-next-query-preview.action.d.ts +1 -1
- package/types/x-modules/next-queries/store/actions/fetch-and-save-next-query-preview.action.d.ts.map +1 -1
- package/types/x-modules/next-queries/store/actions/fetch-next-queries.action.d.ts +1 -1
- package/types/x-modules/next-queries/store/actions/fetch-next-queries.action.d.ts.map +1 -1
- package/types/x-modules/next-queries/store/actions/fetch-next-query-preview.action.d.ts +4 -1
- package/types/x-modules/next-queries/store/actions/fetch-next-query-preview.action.d.ts.map +1 -1
- package/types/x-modules/next-queries/store/actions/set-query-from-last-history-query.action.d.ts +1 -1
- package/types/x-modules/next-queries/store/actions/set-query-from-last-history-query.action.d.ts.map +1 -1
- package/types/x-modules/next-queries/store/actions/set-url-params.action.d.ts +1 -2
- 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.map +1 -1
- package/types/x-modules/next-queries/store/getters/next-queries-query.getter.d.ts +1 -3
- package/types/x-modules/next-queries/store/getters/next-queries-query.getter.d.ts.map +1 -1
- package/types/x-modules/next-queries/store/getters/next-queries.getter.d.ts +1 -2
- package/types/x-modules/next-queries/store/getters/next-queries.getter.d.ts.map +1 -1
- package/types/x-modules/next-queries/store/getters/request.getter.d.ts +1 -3
- package/types/x-modules/next-queries/store/getters/request.getter.d.ts.map +1 -1
- package/types/x-modules/next-queries/store/index.d.ts +2 -2
- package/types/x-modules/next-queries/store/index.d.ts.map +1 -1
- package/types/x-modules/next-queries/store/module.d.ts +1 -1
- package/types/x-modules/next-queries/store/module.d.ts.map +1 -1
- package/types/x-modules/next-queries/store/types.d.ts +24 -24
- package/types/x-modules/next-queries/store/types.d.ts.map +1 -1
- package/types/x-modules/next-queries/types.d.ts +2 -2
- package/types/x-modules/next-queries/types.d.ts.map +1 -1
- package/types/x-modules/next-queries/wiring.d.ts.map +1 -1
- package/types/x-modules/next-queries/x-module.d.ts +2 -2
- package/types/x-modules/next-queries/x-module.d.ts.map +1 -1
- package/types/x-modules/popular-searches/components/index.d.ts.map +1 -1
- package/types/x-modules/popular-searches/components/popular-search.vue.d.ts +3 -3
- package/types/x-modules/popular-searches/components/popular-search.vue.d.ts.map +1 -1
- package/types/x-modules/popular-searches/components/popular-searches.vue.d.ts.map +1 -1
- package/types/x-modules/popular-searches/config.types.d.ts.map +1 -1
- package/types/x-modules/popular-searches/events.types.d.ts +1 -1
- package/types/x-modules/popular-searches/events.types.d.ts.map +1 -1
- package/types/x-modules/popular-searches/index.d.ts.map +1 -1
- package/types/x-modules/popular-searches/store/actions/fetch-and-save-suggestions.action.d.ts +2 -2
- package/types/x-modules/popular-searches/store/actions/fetch-and-save-suggestions.action.d.ts.map +1 -1
- package/types/x-modules/popular-searches/store/actions/fetch-suggestions.action.d.ts +1 -1
- package/types/x-modules/popular-searches/store/actions/fetch-suggestions.action.d.ts.map +1 -1
- package/types/x-modules/popular-searches/store/emitters.d.ts.map +1 -1
- package/types/x-modules/popular-searches/store/getters/popular-searches.getter.d.ts +1 -2
- package/types/x-modules/popular-searches/store/getters/popular-searches.getter.d.ts.map +1 -1
- package/types/x-modules/popular-searches/store/getters/request.getter.d.ts +1 -3
- package/types/x-modules/popular-searches/store/getters/request.getter.d.ts.map +1 -1
- package/types/x-modules/popular-searches/store/index.d.ts +2 -2
- package/types/x-modules/popular-searches/store/index.d.ts.map +1 -1
- package/types/x-modules/popular-searches/store/module.d.ts +1 -1
- package/types/x-modules/popular-searches/store/module.d.ts.map +1 -1
- package/types/x-modules/popular-searches/store/types.d.ts +12 -12
- package/types/x-modules/popular-searches/store/types.d.ts.map +1 -1
- package/types/x-modules/popular-searches/wiring.d.ts.map +1 -1
- package/types/x-modules/popular-searches/x-module.d.ts +2 -2
- package/types/x-modules/popular-searches/x-module.d.ts.map +1 -1
- package/types/x-modules/queries-preview/components/index.d.ts +1 -1
- package/types/x-modules/queries-preview/components/index.d.ts.map +1 -1
- package/types/x-modules/queries-preview/components/query-preview-button.vue.d.ts +4 -4
- package/types/x-modules/queries-preview/components/query-preview-button.vue.d.ts.map +1 -1
- package/types/x-modules/queries-preview/components/query-preview-list.vue.d.ts +3 -3
- package/types/x-modules/queries-preview/components/query-preview-list.vue.d.ts.map +1 -1
- package/types/x-modules/queries-preview/components/query-preview.vue.d.ts +4 -4
- package/types/x-modules/queries-preview/components/query-preview.vue.d.ts.map +1 -1
- package/types/x-modules/queries-preview/composables/index.d.ts.map +1 -1
- package/types/x-modules/queries-preview/composables/use-queries-preview.composable.d.ts.map +1 -1
- package/types/x-modules/queries-preview/config.types.d.ts.map +1 -1
- package/types/x-modules/queries-preview/events.types.d.ts +3 -3
- package/types/x-modules/queries-preview/events.types.d.ts.map +1 -1
- package/types/x-modules/queries-preview/index.d.ts +1 -1
- package/types/x-modules/queries-preview/index.d.ts.map +1 -1
- package/types/x-modules/queries-preview/store/actions/fetch-and-save-query-preview.action.d.ts +1 -1
- package/types/x-modules/queries-preview/store/actions/fetch-and-save-query-preview.action.d.ts.map +1 -1
- package/types/x-modules/queries-preview/store/actions/fetch-query-preview.action.d.ts +1 -1
- package/types/x-modules/queries-preview/store/actions/fetch-query-preview.action.d.ts.map +1 -1
- package/types/x-modules/queries-preview/store/emitters.d.ts.map +1 -1
- package/types/x-modules/queries-preview/store/getters/loaded-queries-preview.getter.d.ts +1 -2
- package/types/x-modules/queries-preview/store/getters/loaded-queries-preview.getter.d.ts.map +1 -1
- package/types/x-modules/queries-preview/store/index.d.ts +1 -1
- package/types/x-modules/queries-preview/store/index.d.ts.map +1 -1
- package/types/x-modules/queries-preview/store/module.d.ts +1 -1
- package/types/x-modules/queries-preview/store/module.d.ts.map +1 -1
- package/types/x-modules/queries-preview/store/types.d.ts +20 -20
- package/types/x-modules/queries-preview/store/types.d.ts.map +1 -1
- package/types/x-modules/queries-preview/utils/get-hash-from-query-preview.d.ts +1 -1
- package/types/x-modules/queries-preview/utils/get-hash-from-query-preview.d.ts.map +1 -1
- package/types/x-modules/queries-preview/wiring.d.ts.map +1 -1
- package/types/x-modules/queries-preview/x-module.d.ts +2 -2
- package/types/x-modules/queries-preview/x-module.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/components/index.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/components/query-suggestion.vue.d.ts +2 -2
- package/types/x-modules/query-suggestions/components/query-suggestion.vue.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/components/query-suggestions.vue.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/config.types.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/events.types.d.ts +1 -1
- package/types/x-modules/query-suggestions/events.types.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/index.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/store/actions/fetch-and-save-suggestions.action.d.ts +2 -2
- package/types/x-modules/query-suggestions/store/actions/fetch-and-save-suggestions.action.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/store/actions/fetch-suggestions.action.d.ts +1 -1
- package/types/x-modules/query-suggestions/store/actions/fetch-suggestions.action.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/store/actions/set-url-params.action.d.ts +1 -2
- package/types/x-modules/query-suggestions/store/actions/set-url-params.action.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/store/emitters.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/store/getters/normalized-query.getter.d.ts +1 -3
- package/types/x-modules/query-suggestions/store/getters/normalized-query.getter.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/store/getters/query-suggestions.getter.d.ts +5 -5
- package/types/x-modules/query-suggestions/store/getters/query-suggestions.getter.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/store/getters/request.getter.d.ts +1 -3
- package/types/x-modules/query-suggestions/store/getters/request.getter.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/store/index.d.ts +2 -2
- package/types/x-modules/query-suggestions/store/index.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/store/module.d.ts +1 -1
- package/types/x-modules/query-suggestions/store/module.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/store/types.d.ts +15 -15
- package/types/x-modules/query-suggestions/store/types.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/wiring.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/x-module.d.ts +2 -2
- package/types/x-modules/query-suggestions/x-module.d.ts.map +1 -1
- package/types/x-modules/recommendations/components/index.d.ts.map +1 -1
- package/types/x-modules/recommendations/components/recommendations.vue.d.ts +2 -2
- package/types/x-modules/recommendations/components/recommendations.vue.d.ts.map +1 -1
- package/types/x-modules/recommendations/config.types.d.ts.map +1 -1
- package/types/x-modules/recommendations/events.types.d.ts +1 -1
- package/types/x-modules/recommendations/events.types.d.ts.map +1 -1
- package/types/x-modules/recommendations/index.d.ts.map +1 -1
- package/types/x-modules/recommendations/store/actions/fetch-and-save-recommendations.action.d.ts +2 -2
- package/types/x-modules/recommendations/store/actions/fetch-and-save-recommendations.action.d.ts.map +1 -1
- package/types/x-modules/recommendations/store/actions/fetch-recommendations.action.d.ts +1 -1
- package/types/x-modules/recommendations/store/actions/fetch-recommendations.action.d.ts.map +1 -1
- package/types/x-modules/recommendations/store/constants.d.ts.map +1 -1
- package/types/x-modules/recommendations/store/emitters.d.ts.map +1 -1
- package/types/x-modules/recommendations/store/getters/request.getter.d.ts +1 -1
- package/types/x-modules/recommendations/store/getters/request.getter.d.ts.map +1 -1
- package/types/x-modules/recommendations/store/index.d.ts.map +1 -1
- package/types/x-modules/recommendations/store/module.d.ts +1 -1
- package/types/x-modules/recommendations/store/module.d.ts.map +1 -1
- package/types/x-modules/recommendations/store/types.d.ts +12 -12
- package/types/x-modules/recommendations/store/types.d.ts.map +1 -1
- package/types/x-modules/recommendations/wiring.d.ts.map +1 -1
- package/types/x-modules/recommendations/x-module.d.ts +2 -2
- package/types/x-modules/recommendations/x-module.d.ts.map +1 -1
- package/types/x-modules/related-prompts/components/index.d.ts.map +1 -1
- package/types/x-modules/related-prompts/components/related-prompt.vue.d.ts +2 -2
- package/types/x-modules/related-prompts/components/related-prompt.vue.d.ts.map +1 -1
- package/types/x-modules/related-prompts/components/related-prompts-list.vue.d.ts.map +1 -1
- package/types/x-modules/related-prompts/components/related-prompts-tag-list.vue.d.ts +1 -1
- package/types/x-modules/related-prompts/components/related-prompts-tag-list.vue.d.ts.map +1 -1
- package/types/x-modules/related-prompts/events.types.d.ts +1 -1
- package/types/x-modules/related-prompts/events.types.d.ts.map +1 -1
- package/types/x-modules/related-prompts/index.d.ts.map +1 -1
- package/types/x-modules/related-prompts/store/actions/fetch-and-save-related-prompts.action.d.ts +2 -2
- package/types/x-modules/related-prompts/store/actions/fetch-and-save-related-prompts.action.d.ts.map +1 -1
- package/types/x-modules/related-prompts/store/actions/fetch-related-prompts.action.d.ts +1 -1
- package/types/x-modules/related-prompts/store/actions/fetch-related-prompts.action.d.ts.map +1 -1
- package/types/x-modules/related-prompts/store/actions/set-url-params.action.d.ts +1 -2
- package/types/x-modules/related-prompts/store/actions/set-url-params.action.d.ts.map +1 -1
- package/types/x-modules/related-prompts/store/emitters.d.ts.map +1 -1
- package/types/x-modules/related-prompts/store/getters/index.d.ts +1 -1
- package/types/x-modules/related-prompts/store/getters/index.d.ts.map +1 -1
- package/types/x-modules/related-prompts/store/getters/related-prompts-query.getter.d.ts +1 -1
- package/types/x-modules/related-prompts/store/getters/related-prompts-query.getter.d.ts.map +1 -1
- package/types/x-modules/related-prompts/store/getters/request.getter.d.ts +1 -1
- package/types/x-modules/related-prompts/store/getters/request.getter.d.ts.map +1 -1
- package/types/x-modules/related-prompts/store/index.d.ts.map +1 -1
- package/types/x-modules/related-prompts/store/module.d.ts +1 -1
- package/types/x-modules/related-prompts/store/module.d.ts.map +1 -1
- package/types/x-modules/related-prompts/store/types.d.ts +17 -17
- package/types/x-modules/related-prompts/store/types.d.ts.map +1 -1
- package/types/x-modules/related-prompts/types.d.ts +2 -2
- package/types/x-modules/related-prompts/types.d.ts.map +1 -1
- package/types/x-modules/related-prompts/wiring.d.ts.map +1 -1
- package/types/x-modules/related-prompts/x-module.d.ts +2 -2
- package/types/x-modules/related-prompts/x-module.d.ts.map +1 -1
- package/types/x-modules/related-tags/components/index.d.ts.map +1 -1
- package/types/x-modules/related-tags/components/related-tag.vue.d.ts +3 -3
- 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 +3 -3
- package/types/x-modules/related-tags/components/related-tags.vue.d.ts.map +1 -1
- package/types/x-modules/related-tags/config.types.d.ts.map +1 -1
- package/types/x-modules/related-tags/events.types.d.ts +1 -1
- package/types/x-modules/related-tags/events.types.d.ts.map +1 -1
- package/types/x-modules/related-tags/index.d.ts.map +1 -1
- package/types/x-modules/related-tags/store/actions/fetch-and-save-related-tags.action.d.ts +2 -2
- package/types/x-modules/related-tags/store/actions/fetch-and-save-related-tags.action.d.ts.map +1 -1
- package/types/x-modules/related-tags/store/actions/fetch-related-tags.action.d.ts +1 -1
- package/types/x-modules/related-tags/store/actions/fetch-related-tags.action.d.ts.map +1 -1
- package/types/x-modules/related-tags/store/actions/set-url-params.action.d.ts +4 -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/actions/toggle-related-tag.action.d.ts +1 -2
- package/types/x-modules/related-tags/store/actions/toggle-related-tag.action.d.ts.map +1 -1
- package/types/x-modules/related-tags/store/emitters.d.ts.map +1 -1
- package/types/x-modules/related-tags/store/getters/query.getter.d.ts +1 -3
- package/types/x-modules/related-tags/store/getters/query.getter.d.ts.map +1 -1
- package/types/x-modules/related-tags/store/getters/related-tags.getter.d.ts +1 -2
- package/types/x-modules/related-tags/store/getters/related-tags.getter.d.ts.map +1 -1
- package/types/x-modules/related-tags/store/getters/request.getter.d.ts +1 -3
- package/types/x-modules/related-tags/store/getters/request.getter.d.ts.map +1 -1
- package/types/x-modules/related-tags/store/index.d.ts +1 -1
- package/types/x-modules/related-tags/store/index.d.ts.map +1 -1
- package/types/x-modules/related-tags/store/module.d.ts +1 -1
- package/types/x-modules/related-tags/store/module.d.ts.map +1 -1
- package/types/x-modules/related-tags/store/types.d.ts +16 -16
- package/types/x-modules/related-tags/store/types.d.ts.map +1 -1
- package/types/x-modules/related-tags/wiring.d.ts.map +1 -1
- package/types/x-modules/related-tags/x-module.d.ts +2 -2
- package/types/x-modules/related-tags/x-module.d.ts.map +1 -1
- package/types/x-modules/scroll/components/index.d.ts +2 -2
- package/types/x-modules/scroll/components/index.d.ts.map +1 -1
- package/types/x-modules/scroll/components/main-scroll-item.vue.d.ts +2 -2
- package/types/x-modules/scroll/components/main-scroll-item.vue.d.ts.map +1 -1
- package/types/x-modules/scroll/components/main-scroll.vue.d.ts.map +1 -1
- package/types/x-modules/scroll/components/scroll-to-top.vue.d.ts +1 -1
- package/types/x-modules/scroll/components/scroll-to-top.vue.d.ts.map +1 -1
- package/types/x-modules/scroll/components/scroll.const.d.ts +2 -2
- package/types/x-modules/scroll/components/scroll.const.d.ts.map +1 -1
- package/types/x-modules/scroll/components/scroll.types.d.ts +2 -2
- package/types/x-modules/scroll/components/scroll.types.d.ts.map +1 -1
- package/types/x-modules/scroll/components/scroll.vue.d.ts +2 -2
- package/types/x-modules/scroll/components/scroll.vue.d.ts.map +1 -1
- package/types/x-modules/scroll/events.types.d.ts +9 -9
- package/types/x-modules/scroll/events.types.d.ts.map +1 -1
- package/types/x-modules/scroll/index.d.ts +1 -1
- package/types/x-modules/scroll/index.d.ts.map +1 -1
- package/types/x-modules/scroll/store/emitters.d.ts.map +1 -1
- package/types/x-modules/scroll/store/index.d.ts.map +1 -1
- package/types/x-modules/scroll/store/module.d.ts +1 -1
- package/types/x-modules/scroll/store/module.d.ts.map +1 -1
- package/types/x-modules/scroll/store/types.d.ts +6 -6
- package/types/x-modules/scroll/store/types.d.ts.map +1 -1
- package/types/x-modules/scroll/wiring.d.ts.map +1 -1
- package/types/x-modules/scroll/x-module.d.ts +2 -2
- package/types/x-modules/scroll/x-module.d.ts.map +1 -1
- package/types/x-modules/search/components/banner.vue.d.ts +2 -2
- package/types/x-modules/search/components/banner.vue.d.ts.map +1 -1
- package/types/x-modules/search/components/banners-list.vue.d.ts.map +1 -1
- package/types/x-modules/search/components/fallback-disclaimer.vue.d.ts.map +1 -1
- package/types/x-modules/search/components/index.d.ts +1 -1
- package/types/x-modules/search/components/index.d.ts.map +1 -1
- package/types/x-modules/search/components/partial-query-button.vue.d.ts.map +1 -1
- package/types/x-modules/search/components/partial-results-list.vue.d.ts +2 -2
- package/types/x-modules/search/components/partial-results-list.vue.d.ts.map +1 -1
- package/types/x-modules/search/components/promoted.vue.d.ts +2 -2
- package/types/x-modules/search/components/promoted.vue.d.ts.map +1 -1
- package/types/x-modules/search/components/promoteds-list.vue.d.ts.map +1 -1
- package/types/x-modules/search/components/redirection.vue.d.ts +2 -2
- package/types/x-modules/search/components/redirection.vue.d.ts.map +1 -1
- package/types/x-modules/search/components/results-list.vue.d.ts.map +1 -1
- package/types/x-modules/search/components/sort-dropdown.vue.d.ts +7 -6
- package/types/x-modules/search/components/sort-dropdown.vue.d.ts.map +1 -1
- package/types/x-modules/search/components/sort-list.vue.d.ts +9 -8
- package/types/x-modules/search/components/sort-list.vue.d.ts.map +1 -1
- package/types/x-modules/search/components/sort-picker-list.vue.d.ts +9 -8
- package/types/x-modules/search/components/sort-picker-list.vue.d.ts.map +1 -1
- package/types/x-modules/search/components/spellcheck-button.vue.d.ts.map +1 -1
- package/types/x-modules/search/components/spellcheck.vue.d.ts.map +1 -1
- package/types/x-modules/search/config.types.d.ts +1 -1
- package/types/x-modules/search/config.types.d.ts.map +1 -1
- package/types/x-modules/search/events.types.d.ts +2 -2
- package/types/x-modules/search/events.types.d.ts.map +1 -1
- package/types/x-modules/search/index.d.ts.map +1 -1
- package/types/x-modules/search/store/actions/fetch-and-save-search-response.action.d.ts +2 -2
- 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/fetch-search-response.action.d.ts +1 -1
- package/types/x-modules/search/store/actions/fetch-search-response.action.d.ts.map +1 -1
- package/types/x-modules/search/store/actions/increase-page-apending-results.action.d.ts +1 -1
- package/types/x-modules/search/store/actions/increase-page-apending-results.action.d.ts.map +1 -1
- package/types/x-modules/search/store/actions/index.d.ts.map +1 -1
- package/types/x-modules/search/store/actions/reset-request-on-refinement.action.d.ts +1 -2
- package/types/x-modules/search/store/actions/reset-request-on-refinement.action.d.ts.map +1 -1
- package/types/x-modules/search/store/actions/save-origin.action.d.ts +1 -2
- package/types/x-modules/search/store/actions/save-origin.action.d.ts.map +1 -1
- package/types/x-modules/search/store/actions/save-search-response.action.d.ts +1 -2
- package/types/x-modules/search/store/actions/save-search-response.action.d.ts.map +1 -1
- package/types/x-modules/search/store/actions/set-url-params.action.d.ts +1 -3
- 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.map +1 -1
- package/types/x-modules/search/store/getters/index.d.ts +1 -1
- package/types/x-modules/search/store/getters/index.d.ts.map +1 -1
- package/types/x-modules/search/store/getters/query.getter.d.ts +1 -1
- package/types/x-modules/search/store/getters/query.getter.d.ts.map +1 -1
- package/types/x-modules/search/store/getters/request.getter.d.ts +1 -2
- package/types/x-modules/search/store/getters/request.getter.d.ts.map +1 -1
- package/types/x-modules/search/store/index.d.ts.map +1 -1
- package/types/x-modules/search/store/module.d.ts +2 -2
- package/types/x-modules/search/store/module.d.ts.map +1 -1
- package/types/x-modules/search/store/types.d.ts +41 -41
- package/types/x-modules/search/store/types.d.ts.map +1 -1
- package/types/x-modules/search/types.d.ts +2 -2
- package/types/x-modules/search/types.d.ts.map +1 -1
- package/types/x-modules/search/wiring.d.ts +2 -2
- package/types/x-modules/search/wiring.d.ts.map +1 -1
- package/types/x-modules/search/x-module.d.ts +2 -2
- package/types/x-modules/search/x-module.d.ts.map +1 -1
- package/types/x-modules/search-box/components/clear-search-input.vue.d.ts +1 -1
- package/types/x-modules/search-box/components/clear-search-input.vue.d.ts.map +1 -1
- package/types/x-modules/search-box/components/index.d.ts +1 -1
- package/types/x-modules/search-box/components/index.d.ts.map +1 -1
- package/types/x-modules/search-box/components/search-button.vue.d.ts +2 -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-placeholder.vue.d.ts +1 -1
- package/types/x-modules/search-box/components/search-input-placeholder.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/events.types.d.ts +13 -13
- package/types/x-modules/search-box/events.types.d.ts.map +1 -1
- package/types/x-modules/search-box/index.d.ts.map +1 -1
- package/types/x-modules/search-box/store/actions/set-input-status.action.d.ts +2 -2
- package/types/x-modules/search-box/store/actions/set-input-status.action.d.ts.map +1 -1
- package/types/x-modules/search-box/store/actions/set-url-params.action.d.ts +1 -2
- package/types/x-modules/search-box/store/actions/set-url-params.action.d.ts.map +1 -1
- package/types/x-modules/search-box/store/emitters.d.ts.map +1 -1
- package/types/x-modules/search-box/store/index.d.ts.map +1 -1
- package/types/x-modules/search-box/store/module.d.ts +1 -1
- package/types/x-modules/search-box/store/module.d.ts.map +1 -1
- package/types/x-modules/search-box/store/types.d.ts +7 -7
- package/types/x-modules/search-box/store/types.d.ts.map +1 -1
- package/types/x-modules/search-box/wiring.d.ts +1 -1
- package/types/x-modules/search-box/wiring.d.ts.map +1 -1
- package/types/x-modules/search-box/x-module.d.ts +2 -2
- package/types/x-modules/search-box/x-module.d.ts.map +1 -1
- package/types/x-modules/semantic-queries/components/index.d.ts.map +1 -1
- package/types/x-modules/semantic-queries/components/semantic-queries.vue.d.ts +2 -2
- package/types/x-modules/semantic-queries/components/semantic-queries.vue.d.ts.map +1 -1
- package/types/x-modules/semantic-queries/components/semantic-query.vue.d.ts +2 -2
- package/types/x-modules/semantic-queries/components/semantic-query.vue.d.ts.map +1 -1
- package/types/x-modules/semantic-queries/config.types.d.ts.map +1 -1
- package/types/x-modules/semantic-queries/events.types.d.ts +1 -1
- package/types/x-modules/semantic-queries/events.types.d.ts.map +1 -1
- package/types/x-modules/semantic-queries/index.d.ts +1 -1
- package/types/x-modules/semantic-queries/index.d.ts.map +1 -1
- package/types/x-modules/semantic-queries/store/actions/fetch-and-save-semantic-query.action.d.ts +1 -1
- package/types/x-modules/semantic-queries/store/actions/fetch-and-save-semantic-query.action.d.ts.map +1 -1
- package/types/x-modules/semantic-queries/store/actions/fetch-semantic-query.action.d.ts +1 -1
- package/types/x-modules/semantic-queries/store/actions/fetch-semantic-query.action.d.ts.map +1 -1
- package/types/x-modules/semantic-queries/store/actions/index.d.ts.map +1 -1
- package/types/x-modules/semantic-queries/store/emitters.d.ts.map +1 -1
- package/types/x-modules/semantic-queries/store/getters/index.d.ts +1 -1
- package/types/x-modules/semantic-queries/store/getters/index.d.ts.map +1 -1
- package/types/x-modules/semantic-queries/store/getters/normalized-query.getter.d.ts +1 -1
- package/types/x-modules/semantic-queries/store/getters/normalized-query.getter.d.ts.map +1 -1
- package/types/x-modules/semantic-queries/store/getters/request.getter.d.ts +1 -1
- package/types/x-modules/semantic-queries/store/getters/request.getter.d.ts.map +1 -1
- package/types/x-modules/semantic-queries/store/getters/semanti-queries-query.getter.d.ts +1 -1
- package/types/x-modules/semantic-queries/store/getters/semanti-queries-query.getter.d.ts.map +1 -1
- package/types/x-modules/semantic-queries/store/index.d.ts.map +1 -1
- package/types/x-modules/semantic-queries/store/module.d.ts +1 -1
- package/types/x-modules/semantic-queries/store/module.d.ts.map +1 -1
- package/types/x-modules/semantic-queries/store/types.d.ts +13 -13
- package/types/x-modules/semantic-queries/store/types.d.ts.map +1 -1
- package/types/x-modules/semantic-queries/wiring.d.ts.map +1 -1
- package/types/x-modules/semantic-queries/x-module.d.ts +2 -2
- package/types/x-modules/semantic-queries/x-module.d.ts.map +1 -1
- package/types/x-modules/tagging/components/index.d.ts.map +1 -1
- package/types/x-modules/tagging/components/tagging.vue.d.ts.map +1 -1
- package/types/x-modules/tagging/config.types.d.ts.map +1 -1
- package/types/x-modules/tagging/events.types.d.ts +2 -2
- package/types/x-modules/tagging/events.types.d.ts.map +1 -1
- package/types/x-modules/tagging/index.d.ts.map +1 -1
- package/types/x-modules/tagging/service/external-tagging.service.d.ts +5 -5
- package/types/x-modules/tagging/service/external-tagging.service.d.ts.map +1 -1
- package/types/x-modules/tagging/service/index.d.ts.map +1 -1
- package/types/x-modules/tagging/service/types.d.ts +5 -5
- package/types/x-modules/tagging/service/types.d.ts.map +1 -1
- package/types/x-modules/tagging/store/actions/index.d.ts.map +1 -1
- package/types/x-modules/tagging/store/actions/track.action.d.ts +1 -2
- package/types/x-modules/tagging/store/actions/track.action.d.ts.map +1 -1
- package/types/x-modules/tagging/store/emitters.d.ts.map +1 -1
- package/types/x-modules/tagging/store/index.d.ts.map +1 -1
- package/types/x-modules/tagging/store/module.d.ts +1 -1
- package/types/x-modules/tagging/store/module.d.ts.map +1 -1
- package/types/x-modules/tagging/store/types.d.ts +9 -9
- package/types/x-modules/tagging/store/types.d.ts.map +1 -1
- package/types/x-modules/tagging/wiring.d.ts +2 -2
- package/types/x-modules/tagging/wiring.d.ts.map +1 -1
- package/types/x-modules/tagging/x-module.d.ts +2 -2
- package/types/x-modules/tagging/x-module.d.ts.map +1 -1
- package/types/x-modules/url/components/index.d.ts.map +1 -1
- package/types/x-modules/url/components/url-handler.vue.d.ts.map +1 -1
- package/types/x-modules/url/events.types.d.ts +6 -7
- package/types/x-modules/url/events.types.d.ts.map +1 -1
- package/types/x-modules/url/index.d.ts.map +1 -1
- package/types/x-modules/url/store/emitters.d.ts +2 -2
- package/types/x-modules/url/store/emitters.d.ts.map +1 -1
- package/types/x-modules/url/store/getters/url-params.getter.d.ts +1 -2
- package/types/x-modules/url/store/getters/url-params.getter.d.ts.map +1 -1
- package/types/x-modules/url/store/index.d.ts.map +1 -1
- package/types/x-modules/url/store/initial-state.d.ts +1 -1
- package/types/x-modules/url/store/initial-state.d.ts.map +1 -1
- package/types/x-modules/url/store/module.d.ts +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 +1 -1
- package/types/x-modules/url/store/mutations/set-params.mutation.d.ts.map +1 -1
- package/types/x-modules/url/store/types.d.ts +13 -13
- package/types/x-modules/url/store/types.d.ts.map +1 -1
- package/types/x-modules/url/wiring.d.ts.map +1 -1
- package/types/x-modules/url/x-module.d.ts +2 -2
- package/types/x-modules/url/x-module.d.ts.map +1 -1
- package/types/x-modules/x-modules.types.d.ts +23 -23
- package/types/x-modules/x-modules.types.d.ts.map +1 -1
- package/docs/API-reference/api/x-components.xactioncontext.commit_1.md +0 -23
- package/docs/API-reference/api/x-components.xactioncontext.dispatch_1.md +0 -23
- package/docs/API-reference/api/x-components.xcomponentbusapi.emit_1.md +0 -25
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main-scroll.vue.js","sources":["../../../../../src/x-modules/scroll/components/main-scroll.vue"],"sourcesContent":["<script lang=\"ts\">\n import {\n computed,\n defineComponent,\n getCurrentInstance,\n onBeforeUnmount,\n onMounted,\n provide,\n ref,\n watch\n } from 'vue';\n import { scrollXModule } from '../x-module';\n import { DISABLE_ANIMATIONS_KEY } from '../../../components/decorators/injection.consts';\n import { useState } from '../../../composables/use-state';\n import { useXBus } from '../../../composables/use-x-bus';\n import { ScrollObserverKey } from './scroll.const';\n import { ScrollVisibilityObserver } from './scroll.types';\n\n /**\n * Extends the scroll making it able to sync the first visible element, and allowing\n * the children position to be restored.\n *\n * Each child element that wants to have this support must be wrapped in a {@link MainScrollItem}\n * component.\n *\n * @public\n */\n export default defineComponent({\n name: 'MainScroll',\n xModule: scrollXModule.name,\n props: {\n /**\n * If `true`, sets this scroll instance to the main of the application. Being the main\n * scroll implies that features like restoring the scroll when the query changes, or storing\n * the scroll position in the URL will be enabled for this container.\n */\n useWindow: {\n type: Boolean,\n default: false\n },\n /**\n * Timeout in milliseconds to abort trying to restore the scroll position to the target\n * element.\n */\n restoreScrollTimeoutMs: {\n type: Number,\n default: 5000\n },\n /** Intersection percentage to consider an element visible. */\n threshold: {\n type: Number,\n default: 0.3\n },\n /** Adjusts the size of the scroll container bounds. */\n margin: {\n type: String,\n default: '0px'\n }\n },\n setup(props, { slots }) {\n const xBus = useXBus();\n\n /** The reference to the root element of the component. */\n const rootRef = ref<Element>();\n /** The elements that are currently considered visible. */\n const intersectingElements = ref<HTMLElement[]>([]);\n\n /** Intersection observer to determine visibility of the elements. */\n let intersectionObserver = ref<IntersectionObserver | null>(null);\n\n /**\n * Pending identifier scroll position to restore. If it matches the {@link MainScrollItem} item\n * `id` property, this component should be scrolled into view.\n */\n const { pendingScrollTo } = useState('scroll', ['pendingScrollTo']);\n\n /** Disables the animations. */\n const disableAnimations = computed((): boolean => !!pendingScrollTo.value);\n provide(DISABLE_ANIMATIONS_KEY as string, disableAnimations);\n\n /**\n * Removes an element from the {@link MainScroll.intersectingElements} list.\n *\n * @param element - The element to remove from the visible elements.\n */\n const removeVisibleElement = (element: HTMLElement) => {\n const index = intersectingElements.value.indexOf(element);\n if (index !== -1) {\n intersectingElements.value.splice(index, 1);\n }\n };\n\n /**\n * Creates an `IntersectionObserver` to detect the first visible elements. Children of this\n * component should register themselves if they want to be observed.\n *\n * @returns The intersection observer.\n */\n const visibleElementsObserver = computed((): ScrollVisibilityObserver | null => {\n const observer = intersectionObserver.value;\n return observer\n ? {\n observe: observer.observe.bind(observer),\n unobserve: element => {\n removeVisibleElement(element);\n observer.unobserve(element);\n }\n }\n : null;\n });\n provide(ScrollObserverKey as string, visibleElementsObserver);\n\n /**\n * Updates the visible elements given a list of intersection observer entries.\n *\n * @param entries - The entries from whom update the visibility.\n */\n const updateVisibleElements = (entries: IntersectionObserverEntry[]) => {\n entries.forEach(entry => {\n const target = entry.target as HTMLElement;\n if (entry.isIntersecting) {\n intersectingElements.value.push(target);\n } else {\n removeVisibleElement(target);\n }\n });\n };\n\n /** Stores the root element and initialise the observer after mounting the component. */\n onMounted(() => {\n rootRef.value = getCurrentInstance()?.proxy?.$el;\n if (rootRef.value) {\n intersectionObserver.value = new IntersectionObserver(updateVisibleElements, {\n root: props.useWindow ? document : rootRef.value,\n threshold: props.threshold,\n rootMargin: props.margin\n });\n }\n });\n\n /** Disconnects the intersection observer. */\n onBeforeUnmount(() => {\n intersectionObserver.value?.disconnect();\n xBus.emit('UserScrolledToElement', '');\n });\n\n /** Disconnects the previous observer. */\n watch(intersectionObserver, (_new, old) => old?.disconnect());\n\n /** Stores the identifier of the timeout that will consider the scroll failed to restore. */\n let restoreScrollFailTimeoutId: number;\n\n /**\n * If there is a pending scroll, starts a countdown to stop trying to restore the scroll.\n *\n * @param pendingScrollTo - The position the scroll should be restored to.\n */\n watch(pendingScrollTo, () => {\n // TODO Move this logic to the wiring. A cancelable delay operator is needed\n clearTimeout(restoreScrollFailTimeoutId);\n if (pendingScrollTo.value) {\n restoreScrollFailTimeoutId = window.setTimeout(() => {\n xBus.emit('ScrollRestoreFailed');\n }, props.restoreScrollTimeoutMs);\n }\n });\n\n /**\n * The first visible element contained in this component.\n *\n * @returns The first visible element in this component.\n */\n const firstVisibleElement = computed(() => {\n if (intersectingElements.value.length === 0) {\n return '';\n }\n const firstVisibleElement = intersectingElements.value.reduce(\n (firstVisibleElement, anotherElement) => {\n // FIXME: This algorithm only takes into account LTR layouts\n const firstVisibleElementBounds = firstVisibleElement.getBoundingClientRect();\n const anotherElementBounds = anotherElement.getBoundingClientRect();\n return anotherElementBounds.left <= firstVisibleElementBounds.left &&\n anotherElementBounds.top <= firstVisibleElementBounds.top\n ? anotherElement\n : firstVisibleElement;\n }\n );\n return firstVisibleElement === rootRef.value?.querySelector('[data-scroll]')\n ? ''\n : firstVisibleElement.dataset.scroll!;\n });\n\n watch(\n firstVisibleElement,\n () => xBus.emit('UserScrolledToElement', firstVisibleElement.value),\n { immediate: true }\n );\n\n /*\n * Obtains the vNodes array of the default slot and renders only the first one.\n * It avoids to render a `Fragment` with the vNodes in Vue3 and the same behaviour in Vue2\n * because Vue2 only allows a single root node. Then, `getCurrentInstance()?.proxy?.$el` to\n * retrieve the HTML element in both versions.\n */\n return () => slots.default?.()[0] ?? '';\n }\n });\n</script>\n\n<docs lang=\"mdx\">\n## Events\n\nThis component emits the following events:\n\n- [`UserScrolledToElement`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts)\n- [`ScrollRestoreFailed`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts)\n\n## See it in action\n\nThe `MainScroll` component must be an ancestor of the `MainScrollItem` components. This is because\nit injects the needed utilities to determine the first visible item.\n\n```vue\n<template>\n <MainScroll>\n <ul>\n <MainScrollItem v-for=\"item in 24\" tag=\"li\">Item {{ item }}</MainScrollItem>\n </ul>\n </MainScroll>\n</template>\n\n<script>\n import { MainScroll, MainScrollItem } from '@empathyco/x-components/scroll';\n\n export default {\n name: 'MainScrollDemo',\n components: {\n MainScroll,\n MainScrollItem\n }\n };\n</script>\n\n<style lang=\"css\" scoped>\n ul {\n overflow: auto;\n max-height: 200px;\n }\n\n li {\n height: 50px;\n line-height: 50px;\n }\n</style>\n```\n\n### Play with props\n\n#### Window scroll\n\nIn case you aren't using a custom scrolling element like the `Scroll` panel, and want to use the\ndefault browser scroll, you can do so by using the `useWindow` prop:\n\n```vue\n<template>\n <MainScroll useWindow>\n <ul>\n <MainScrollItem v-for=\"item in 24\" tag=\"li\">Item {{ item }}</MainScrollItem>\n </ul>\n </MainScroll>\n</template>\n\n<script>\n import { MainScroll, MainScrollItem } from '@empathyco/x-components/scroll';\n\n export default {\n name: 'MainScrollDemo',\n components: {\n MainScroll,\n MainScrollItem\n }\n };\n</script>\n```\n\n#### Timeout for restoring scroll\n\nWhen your application is loaded, this component, together with the `MainScrollItem` will try to\nrestore the scroll to the provided position (if available). Because of the dynamic nature of\nJavaScript applications, the element that it tries to restore the scroll to might not be available\nanymore. For this reason after a defined time, the scroll restoration will be considered failed.\n\nThis time can be configured through the `restore-scroll-timeout-ms` prop. This is specially useful\nwhen combined with the URL X Module.\n\n```vue\n<template>\n <MainScroll :restoreScrollTimeoutMs=\"1000\">\n <ul>\n <MainScrollItem v-for=\"item in 24\" tag=\"li\">Item {{ item }}</MainScrollItem>\n </ul>\n </MainScroll>\n</template>\n\n<script>\n import { MainScroll, MainScrollItem } from '@empathyco/x-components/scroll';\n\n export default {\n name: 'MainScrollDemo',\n components: {\n MainScroll,\n MainScrollItem\n }\n };\n</script>\n```\n\n#### Adjust first visible item\n\nBy default this component will consider the first visible item, the first element that is at least\nintersecting a 50% with its container. However this arbitrary number might not always be the best.\n\nTo configure this, you can use the `margin` and `threshold` props, which work exactly like in the\n`IntersectionObserver` API. In this example we are reducing the bounds of the intersection by 50px,\nand adjusting the element to be at least 75% intersecting.\n\n```vue\n<template>\n <MainScroll :threshold=\"0.75\" margin=\"-50px\">\n <ul>\n <MainScrollItem v-for=\"item in 24\" tag=\"li\">Item {{ item }}</MainScrollItem>\n </ul>\n </MainScroll>\n</template>\n\n<script>\n import { MainScroll, MainScrollItem } from '@empathyco/x-components/scroll';\n\n export default {\n name: 'MainScrollDemo',\n components: {\n MainScroll,\n MainScrollItem\n }\n };\n</script>\n```\n</docs>\n"],"names":[],"mappings":";;;;;;;AAkBE;;;;;;;;AAQE;AACF,gBAAe,eAAe,CAAC;AAC7B,IAAA,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,aAAa,CAAC,IAAI;AAC3B,IAAA,KAAK,EAAE;AACL;;;;AAIE;AACF,QAAA,SAAS,EAAE;AACT,YAAA,IAAI,EAAE,OAAO;AACb,YAAA,OAAO,EAAE,KAAI;AACd,SAAA;AACD;;;AAGE;AACF,QAAA,sBAAsB,EAAE;AACtB,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,OAAO,EAAE,IAAG;AACb,SAAA;;AAED,QAAA,SAAS,EAAE;AACT,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,OAAO,EAAE,GAAE;AACZ,SAAA;;AAED,QAAA,MAAM,EAAE;AACN,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,OAAO,EAAE,KAAI;AACf,SAAA;AACD,KAAA;AACD,IAAA,KAAK,CAAC,KAAK,EAAE,EAAE,KAAI,EAAG,EAAA;AACpB,QAAA,MAAM,IAAG,GAAI,OAAO,EAAE,CAAA;;AAGtB,QAAA,MAAM,OAAQ,GAAE,GAAG,EAAW,CAAA;;AAE9B,QAAA,MAAM,uBAAuB,GAAG,CAAgB,EAAE,CAAC,CAAA;;AAGnD,QAAA,IAAI,oBAAqB,GAAE,GAAG,CAA8B,IAAI,CAAC,CAAA;AAEjE;;;AAGE;AACF,QAAA,MAAM,EAAE,eAAgB,EAAA,GAAI,QAAQ,CAAC,QAAQ,EAAE,CAAC,iBAAiB,CAAC,CAAC,CAAA;;AAGnE,QAAA,MAAM,iBAAgB,GAAI,QAAQ,CAAC,MAAe,CAAC,CAAC,eAAe,CAAC,KAAK,CAAC,CAAA;AAC1E,QAAA,OAAO,CAAC,sBAAgC,EAAE,iBAAiB,CAAC,CAAA;AAE5D;;;;AAIE;AACF,QAAA,MAAM,uBAAuB,CAAC,OAAoB,KAAK;YACrD,MAAM,KAAM,GAAE,oBAAoB,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;AACzD,YAAA,IAAI,KAAM,KAAI,CAAC,CAAC,EAAE;gBAChB,oBAAoB,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAA;AAC7C,aAAA;AACF,SAAC,CAAA;AAED;;;;;AAKE;AACF,QAAA,MAAM,uBAAsB,GAAI,QAAQ,CAAC,MAAuC;AAC9E,YAAA,MAAM,QAAS,GAAE,oBAAoB,CAAC,KAAK,CAAA;AAC3C,YAAA,OAAO,QAAO;AACZ,kBAAE;oBACE,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC;oBACxC,SAAS,EAAE,OAAM,IAAK;wBACpB,oBAAoB,CAAC,OAAO,CAAC,CAAA;AAC7B,wBAAA,QAAQ,CAAC,SAAS,CAAC,OAAO,CAAC,CAAA;qBAC7B;AACF,iBAAA;kBACA,IAAI,CAAA;AACV,SAAC,CAAC,CAAA;AACF,QAAA,OAAO,CAAC,iBAA2B,EAAE,uBAAuB,CAAC,CAAA;AAE7D;;;;AAIE;AACF,QAAA,MAAM,qBAAoB,GAAI,CAAC,OAAoC,KAAK;AACtE,YAAA,OAAO,CAAC,OAAO,CAAC,KAAM,IAAG;AACvB,gBAAA,MAAM,SAAS,KAAK,CAAC,MAAqB,CAAA;gBAC1C,IAAI,KAAK,CAAC,cAAc,EAAE;AACxB,oBAAA,oBAAoB,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;AACvC,iBAAA;AAAK,qBAAA;oBACL,oBAAoB,CAAC,MAAM,CAAC,CAAA;AAC9B,iBAAA;AACF,aAAC,CAAC,CAAA;AACJ,SAAC,CAAA;;QAGD,SAAS,CAAC,MAAM;YACd,OAAO,CAAC,KAAM,GAAE,kBAAkB,EAAE,EAAE,KAAK,EAAE,GAAG,CAAA;YAChD,IAAI,OAAO,CAAC,KAAK,EAAE;AACjB,gBAAA,oBAAoB,CAAC,KAAI,GAAI,IAAI,oBAAoB,CAAC,qBAAqB,EAAE;AAC3E,oBAAA,IAAI,EAAE,KAAK,CAAC,SAAU,GAAE,QAAO,GAAI,OAAO,CAAC,KAAK;oBAChD,SAAS,EAAE,KAAK,CAAC,SAAS;oBAC1B,UAAU,EAAE,KAAK,CAAC,MAAK;AACxB,iBAAA,CAAC,CAAA;AACJ,aAAA;AACF,SAAC,CAAC,CAAA;;QAGF,eAAe,CAAC,MAAM;AACpB,YAAA,oBAAoB,CAAC,KAAK,EAAE,UAAU,EAAE,CAAA;AACxC,YAAA,IAAI,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,CAAC,CAAA;AACxC,SAAC,CAAC,CAAA;;AAGF,QAAA,KAAK,CAAC,oBAAoB,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,GAAG,EAAE,UAAU,EAAE,CAAC,CAAA;;AAG7D,QAAA,IAAI,0BAAkC,CAAA;AAEtC;;;;AAIE;AACF,QAAA,KAAK,CAAC,eAAe,EAAE,MAAM;;YAE3B,YAAY,CAAC,0BAA0B,CAAC,CAAA;YACxC,IAAI,eAAe,CAAC,KAAK,EAAE;AACzB,gBAAA,0BAA2B,GAAE,MAAM,CAAC,UAAU,CAAC,MAAM;AACnD,oBAAA,IAAI,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAA;AAClC,iBAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAA;AAClC,aAAA;AACF,SAAC,CAAC,CAAA;AAEF;;;;AAIE;AACF,QAAA,MAAM,mBAAkB,GAAI,QAAQ,CAAC,MAAM;AACzC,YAAA,IAAI,oBAAoB,CAAC,KAAK,CAAC,MAAK,KAAM,CAAC,EAAE;AAC3C,gBAAA,OAAO,EAAE,CAAA;AACX,aAAA;AACA,YAAA,MAAM,mBAAoB,GAAE,oBAAoB,CAAC,KAAK,CAAC,MAAM,CAC3D,CAAC,mBAAmB,EAAE,cAAc,KAAK;;AAEvC,gBAAA,MAAM,4BAA4B,mBAAmB,CAAC,qBAAqB,EAAE,CAAA;AAC7E,gBAAA,MAAM,oBAAmB,GAAI,cAAc,CAAC,qBAAqB,EAAE,CAAA;AACnE,gBAAA,OAAO,oBAAoB,CAAC,IAAK,IAAG,yBAAyB,CAAC;AAC5D,oBAAA,oBAAoB,CAAC,GAAI,IAAG,yBAAyB,CAAC,GAAE;AACxD,sBAAE,cAAa;sBACb,mBAAmB,CAAA;AACzB,aAAA,CACD,CAAA;YACD,OAAO,mBAAoB,KAAI,OAAO,CAAC,KAAK,EAAE,aAAa,CAAC,eAAe,CAAA;AACzE,kBAAE,EAAC;AACH,kBAAE,mBAAmB,CAAC,OAAO,CAAC,MAAO,CAAA;AACzC,SAAC,CAAC,CAAA;QAEF,KAAK,CACH,mBAAmB,EACnB,MAAM,IAAI,CAAC,IAAI,CAAC,uBAAuB,EAAE,mBAAmB,CAAC,KAAK,CAAC,EACnE,EAAE,SAAS,EAAE,IAAK,EAAA,CACnB,CAAA;AAED;;;;;AAKE;AACF,QAAA,OAAO,MAAM,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAA,IAAK,EAAE,CAAA;KACzC;AACD,CAAA,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"main-scroll.vue.js","sources":["../../../../../src/x-modules/scroll/components/main-scroll.vue"],"sourcesContent":["<script lang=\"ts\">\nimport type { ScrollVisibilityObserver } from './scroll.types'\nimport {\n computed,\n defineComponent,\n getCurrentInstance,\n onBeforeUnmount,\n onMounted,\n provide,\n ref,\n watch,\n} from 'vue'\nimport { DISABLE_ANIMATIONS_KEY } from '../../../components/decorators/injection.consts'\nimport { useState } from '../../../composables/use-state'\nimport { useXBus } from '../../../composables/use-x-bus'\nimport { scrollXModule } from '../x-module'\nimport { ScrollObserverKey } from './scroll.const'\n\n/**\n * Extends the scroll making it able to sync the first visible element, and allowing\n * the children position to be restored.\n *\n * Each child element that wants to have this support must be wrapped in a {@link MainScrollItem}\n * component.\n *\n * @public\n */\nexport default defineComponent({\n name: 'MainScroll',\n xModule: scrollXModule.name,\n props: {\n /**\n * If `true`, sets this scroll instance to the main of the application. Being the main\n * scroll implies that features like restoring the scroll when the query changes, or storing\n * the scroll position in the URL will be enabled for this container.\n */\n useWindow: {\n type: Boolean,\n default: false,\n },\n /**\n * Timeout in milliseconds to abort trying to restore the scroll position to the target\n * element.\n */\n restoreScrollTimeoutMs: {\n type: Number,\n default: 5000,\n },\n /** Intersection percentage to consider an element visible. */\n threshold: {\n type: Number,\n default: 0.3,\n },\n /** Adjusts the size of the scroll container bounds. */\n margin: {\n type: String,\n default: '0px',\n },\n },\n setup(props, { slots }) {\n const xBus = useXBus()\n\n /** The reference to the root element of the component. */\n const rootRef = ref<Element>()\n /** The elements that are currently considered visible. */\n const intersectingElements = ref<HTMLElement[]>([])\n\n /** Intersection observer to determine visibility of the elements. */\n const intersectionObserver = ref<IntersectionObserver | null>(null)\n\n /**\n * Pending identifier scroll position to restore. If it matches the {@link MainScrollItem} item\n * `id` property, this component should be scrolled into view.\n */\n const { pendingScrollTo } = useState('scroll', ['pendingScrollTo'])\n\n /** Disables the animations. */\n const disableAnimations = computed((): boolean => !!pendingScrollTo.value)\n provide(DISABLE_ANIMATIONS_KEY as string, disableAnimations)\n\n /**\n * Removes an element from the {@link MainScroll.intersectingElements} list.\n *\n * @param element - The element to remove from the visible elements.\n */\n const removeVisibleElement = (element: HTMLElement) => {\n const index = intersectingElements.value.indexOf(element)\n if (index !== -1) {\n intersectingElements.value.splice(index, 1)\n }\n }\n\n /**\n * Creates an `IntersectionObserver` to detect the first visible elements. Children of this\n * component should register themselves if they want to be observed.\n *\n * @returns The intersection observer.\n */\n const visibleElementsObserver = computed((): ScrollVisibilityObserver | null => {\n const observer = intersectionObserver.value\n return observer\n ? {\n observe: observer.observe.bind(observer),\n unobserve: element => {\n removeVisibleElement(element)\n observer.unobserve(element)\n },\n }\n : null\n })\n provide(ScrollObserverKey as string, visibleElementsObserver)\n\n /**\n * Updates the visible elements given a list of intersection observer entries.\n *\n * @param entries - The entries from whom update the visibility.\n */\n const updateVisibleElements = (entries: IntersectionObserverEntry[]) => {\n entries.forEach(entry => {\n const target = entry.target as HTMLElement\n if (entry.isIntersecting) {\n intersectingElements.value.push(target)\n } else {\n removeVisibleElement(target)\n }\n })\n }\n\n /** Stores the root element and initialise the observer after mounting the component. */\n onMounted(() => {\n rootRef.value = getCurrentInstance()?.proxy?.$el\n if (rootRef.value) {\n intersectionObserver.value = new IntersectionObserver(updateVisibleElements, {\n root: props.useWindow ? document : rootRef.value,\n threshold: props.threshold,\n rootMargin: props.margin,\n })\n }\n })\n\n /** Disconnects the intersection observer. */\n onBeforeUnmount(() => {\n intersectionObserver.value?.disconnect()\n xBus.emit('UserScrolledToElement', '')\n })\n\n /** Disconnects the previous observer. */\n watch(intersectionObserver, (_new, old) => old?.disconnect())\n\n /** Stores the identifier of the timeout that will consider the scroll failed to restore. */\n let restoreScrollFailTimeoutId: number\n\n /**\n * If there is a pending scroll, starts a countdown to stop trying to restore the scroll.\n *\n * @param pendingScrollTo - The position the scroll should be restored to.\n */\n watch(pendingScrollTo, () => {\n // TODO Move this logic to the wiring. A cancelable delay operator is needed\n clearTimeout(restoreScrollFailTimeoutId)\n if (pendingScrollTo.value) {\n restoreScrollFailTimeoutId = window.setTimeout(() => {\n xBus.emit('ScrollRestoreFailed')\n }, props.restoreScrollTimeoutMs)\n }\n })\n\n /**\n * The first visible element contained in this component.\n *\n * @returns The first visible element in this component.\n */\n const firstVisibleElement = computed(() => {\n if (intersectingElements.value.length === 0) {\n return ''\n }\n const firstVisibleElement = intersectingElements.value.reduce(\n (firstVisibleElement, anotherElement) => {\n // FIXME: This algorithm only takes into account LTR layouts\n const firstVisibleElementBounds = firstVisibleElement.getBoundingClientRect()\n const anotherElementBounds = anotherElement.getBoundingClientRect()\n return anotherElementBounds.left <= firstVisibleElementBounds.left &&\n anotherElementBounds.top <= firstVisibleElementBounds.top\n ? anotherElement\n : firstVisibleElement\n },\n )\n return firstVisibleElement === rootRef.value?.querySelector('[data-scroll]')\n ? ''\n : firstVisibleElement.dataset.scroll!\n })\n\n watch(\n firstVisibleElement,\n () => xBus.emit('UserScrolledToElement', firstVisibleElement.value),\n { immediate: true },\n )\n\n /*\n * Obtains the vNodes array of the default slot and renders only the first one.\n * It avoids to render a `Fragment` with the vNodes in Vue3 and the same behaviour in Vue2\n * because Vue2 only allows a single root node. Then, `getCurrentInstance()?.proxy?.$el` to\n * retrieve the HTML element in both versions.\n */\n return () => slots.default?.()[0] ?? ''\n },\n})\n</script>\n\n<docs lang=\"mdx\">\n## Events\n\nThis component emits the following events:\n\n- [`UserScrolledToElement`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts)\n- [`ScrollRestoreFailed`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts)\n\n## See it in action\n\nThe `MainScroll` component must be an ancestor of the `MainScrollItem` components. This is because\nit injects the needed utilities to determine the first visible item.\n\n```vue\n<template>\n <MainScroll>\n <ul>\n <MainScrollItem v-for=\"item in 24\" tag=\"li\">Item {{ item }}</MainScrollItem>\n </ul>\n </MainScroll>\n</template>\n\n<script>\nimport { MainScroll, MainScrollItem } from '@empathyco/x-components/scroll'\n\nexport default {\n name: 'MainScrollDemo',\n components: {\n MainScroll,\n MainScrollItem,\n },\n}\n</script>\n\n<style lang=\"css\" scoped>\nul {\n overflow: auto;\n max-height: 200px;\n}\n\nli {\n height: 50px;\n line-height: 50px;\n}\n</style>\n```\n\n### Play with props\n\n#### Window scroll\n\nIn case you aren't using a custom scrolling element like the `Scroll` panel, and want to use the\ndefault browser scroll, you can do so by using the `useWindow` prop:\n\n```vue\n<template>\n <MainScroll useWindow>\n <ul>\n <MainScrollItem v-for=\"item in 24\" tag=\"li\">Item {{ item }}</MainScrollItem>\n </ul>\n </MainScroll>\n</template>\n\n<script>\nimport { MainScroll, MainScrollItem } from '@empathyco/x-components/scroll'\n\nexport default {\n name: 'MainScrollDemo',\n components: {\n MainScroll,\n MainScrollItem,\n },\n}\n</script>\n```\n\n#### Timeout for restoring scroll\n\nWhen your application is loaded, this component, together with the `MainScrollItem` will try to\nrestore the scroll to the provided position (if available). Because of the dynamic nature of\nJavaScript applications, the element that it tries to restore the scroll to might not be available\nanymore. For this reason after a defined time, the scroll restoration will be considered failed.\n\nThis time can be configured through the `restore-scroll-timeout-ms` prop. This is specially useful\nwhen combined with the URL X Module.\n\n```vue\n<template>\n <MainScroll :restoreScrollTimeoutMs=\"1000\">\n <ul>\n <MainScrollItem v-for=\"item in 24\" tag=\"li\">Item {{ item }}</MainScrollItem>\n </ul>\n </MainScroll>\n</template>\n\n<script>\nimport { MainScroll, MainScrollItem } from '@empathyco/x-components/scroll'\n\nexport default {\n name: 'MainScrollDemo',\n components: {\n MainScroll,\n MainScrollItem,\n },\n}\n</script>\n```\n\n#### Adjust first visible item\n\nBy default this component will consider the first visible item, the first element that is at least\nintersecting a 50% with its container. However this arbitrary number might not always be the best.\n\nTo configure this, you can use the `margin` and `threshold` props, which work exactly like in the\n`IntersectionObserver` API. In this example we are reducing the bounds of the intersection by 50px,\nand adjusting the element to be at least 75% intersecting.\n\n```vue\n<template>\n <MainScroll :threshold=\"0.75\" margin=\"-50px\">\n <ul>\n <MainScrollItem v-for=\"item in 24\" tag=\"li\">Item {{ item }}</MainScrollItem>\n </ul>\n </MainScroll>\n</template>\n\n<script>\nimport { MainScroll, MainScrollItem } from '@empathyco/x-components/scroll'\n\nexport default {\n name: 'MainScrollDemo',\n components: {\n MainScroll,\n MainScrollItem,\n },\n}\n</script>\n```\n</docs>\n"],"names":[],"mappings":";;;;;;;AAkBA;;;;;;;;AAQE;AACF,gBAAe,eAAe,CAAC;AAC7B,IAAA,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,aAAa,CAAC,IAAI;AAC3B,IAAA,KAAK,EAAE;AACL;;;;AAIE;AACF,QAAA,SAAS,EAAE;AACT,YAAA,IAAI,EAAE,OAAO;AACb,YAAA,OAAO,EAAE,KAAK;AACf,SAAA;AACD;;;AAGE;AACF,QAAA,sBAAsB,EAAE;AACtB,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,OAAO,EAAE,IAAI;AACd,SAAA;;AAED,QAAA,SAAS,EAAE;AACT,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,OAAO,EAAE,GAAG;AACb,SAAA;;AAED,QAAA,MAAM,EAAE;AACN,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,OAAO,EAAE,KAAK;AACf,SAAA;AACF,KAAA;AACD,IAAA,KAAK,CAAC,KAAK,EAAE,EAAE,KAAI,EAAG,EAAA;AACpB,QAAA,MAAM,IAAG,GAAI,OAAO,EAAC,CAAA;;AAGrB,QAAA,MAAM,OAAQ,GAAE,GAAG,EAAU,CAAA;;AAE7B,QAAA,MAAM,oBAAqB,GAAE,GAAG,CAAgB,EAAE,CAAA,CAAA;;AAGlD,QAAA,MAAM,oBAAqB,GAAE,GAAG,CAA8B,IAAI,CAAA,CAAA;AAElE;;;AAGE;AACF,QAAA,MAAM,EAAE,eAAgB,EAAA,GAAI,QAAQ,CAAC,QAAQ,EAAE,CAAC,iBAAiB,CAAC,CAAA,CAAA;;AAGlE,QAAA,MAAM,iBAAgB,GAAI,QAAQ,CAAC,MAAe,CAAC,CAAC,eAAe,CAAC,KAAK,CAAA,CAAA;AACzE,QAAA,OAAO,CAAC,sBAAgC,EAAE,iBAAiB,CAAA,CAAA;AAE3D;;;;AAIE;AACF,QAAA,MAAM,uBAAuB,CAAC,OAAoB,KAAK;YACrD,MAAM,KAAI,GAAI,oBAAoB,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAA,CAAA;AACxD,YAAA,IAAI,KAAM,KAAI,CAAC,CAAC,EAAE;gBAChB,oBAAoB,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAA,CAAA;AAC5C,aAAA;AACF,SAAA,CAAA;AAEA;;;;;AAKE;AACF,QAAA,MAAM,uBAAsB,GAAI,QAAQ,CAAC,MAAuC;AAC9E,YAAA,MAAM,QAAS,GAAE,oBAAoB,CAAC,KAAI,CAAA;AAC1C,YAAA,OAAO,QAAO;AACZ,kBAAE;oBACE,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC;oBACxC,SAAS,EAAE,OAAM,IAAK;wBACpB,oBAAoB,CAAC,OAAO,CAAA,CAAA;AAC5B,wBAAA,QAAQ,CAAC,SAAS,CAAC,OAAO,CAAA,CAAA;qBAC3B;AACH,iBAAA;kBACA,IAAG,CAAA;AACT,SAAC,CAAA,CAAA;AACD,QAAA,OAAO,CAAC,iBAA2B,EAAE,uBAAuB,CAAA,CAAA;AAE5D;;;;AAIE;AACF,QAAA,MAAM,qBAAoB,GAAI,CAAC,OAAoC,KAAK;AACtE,YAAA,OAAO,CAAC,OAAO,CAAC,KAAM,IAAG;AACvB,gBAAA,MAAM,SAAS,KAAK,CAAC,MAAoB,CAAA;gBACzC,IAAI,KAAK,CAAC,cAAc,EAAE;AACxB,oBAAA,oBAAoB,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAA,CAAA;AACtC,iBAAA;AAAK,qBAAA;oBACL,oBAAoB,CAAC,MAAM,CAAA,CAAA;AAC7B,iBAAA;AACF,aAAC,CAAA,CAAA;AACH,SAAA,CAAA;;QAGA,SAAS,CAAC,MAAM;YACd,OAAO,CAAC,KAAI,GAAI,kBAAkB,EAAE,EAAE,KAAK,EAAE,GAAE,CAAA;YAC/C,IAAI,OAAO,CAAC,KAAK,EAAE;AACjB,gBAAA,oBAAoB,CAAC,KAAI,GAAI,IAAI,oBAAoB,CAAC,qBAAqB,EAAE;AAC3E,oBAAA,IAAI,EAAE,KAAK,CAAC,SAAU,GAAE,QAAO,GAAI,OAAO,CAAC,KAAK;oBAChD,SAAS,EAAE,KAAK,CAAC,SAAS;oBAC1B,UAAU,EAAE,KAAK,CAAC,MAAM;AACzB,iBAAA,CAAA,CAAA;AACH,aAAA;AACF,SAAC,CAAA,CAAA;;QAGD,eAAe,CAAC,MAAM;AACpB,YAAA,oBAAoB,CAAC,KAAK,EAAE,UAAU,EAAC,CAAA;AACvC,YAAA,IAAI,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,CAAA,CAAA;AACvC,SAAC,CAAA,CAAA;;AAGD,QAAA,KAAK,CAAC,oBAAoB,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,GAAG,EAAE,UAAU,EAAE,CAAA,CAAA;;AAG5D,QAAA,IAAI,0BAAiC,CAAA;AAErC;;;;AAIE;AACF,QAAA,KAAK,CAAC,eAAe,EAAE,MAAM;;YAE3B,YAAY,CAAC,0BAA0B,CAAA,CAAA;YACvC,IAAI,eAAe,CAAC,KAAK,EAAE;AACzB,gBAAA,0BAA2B,GAAE,MAAM,CAAC,UAAU,CAAC,MAAM;AACnD,oBAAA,IAAI,CAAC,IAAI,CAAC,qBAAqB,CAAA,CAAA;AACjC,iBAAC,EAAE,KAAK,CAAC,sBAAsB,CAAA,CAAA;AACjC,aAAA;AACF,SAAC,CAAA,CAAA;AAED;;;;AAIE;AACF,QAAA,MAAM,mBAAkB,GAAI,QAAQ,CAAC,MAAM;AACzC,YAAA,IAAI,oBAAoB,CAAC,KAAK,CAAC,MAAK,KAAM,CAAC,EAAE;AAC3C,gBAAA,OAAO,EAAC,CAAA;AACV,aAAA;AACA,YAAA,MAAM,mBAAoB,GAAE,oBAAoB,CAAC,KAAK,CAAC,MAAM,CAC3D,CAAC,mBAAmB,EAAE,cAAc,KAAK;;AAEvC,gBAAA,MAAM,yBAA0B,GAAE,mBAAmB,CAAC,qBAAqB,EAAC,CAAA;AAC5E,gBAAA,MAAM,oBAAmB,GAAI,cAAc,CAAC,qBAAqB,EAAC,CAAA;AAClE,gBAAA,OAAO,oBAAoB,CAAC,IAAK,IAAG,yBAAyB,CAAC;AAC5D,oBAAA,oBAAoB,CAAC,GAAI,IAAG,yBAAyB,CAAC,GAAE;AACxD,sBAAE,cAAa;sBACb,mBAAkB,CAAA;AACxB,aAAC,CACH,CAAA;YACA,OAAO,mBAAoB,KAAI,OAAO,CAAC,KAAK,EAAE,aAAa,CAAC,eAAe,CAAA;AACzE,kBAAE,EAAC;AACH,kBAAE,mBAAmB,CAAC,OAAO,CAAC,MAAM,CAAA;AACxC,SAAC,CAAA,CAAA;QAED,KAAK,CACH,mBAAmB,EACnB,MAAM,IAAI,CAAC,IAAI,CAAC,uBAAuB,EAAE,mBAAmB,CAAC,KAAK,CAAC,EACnE,EAAE,SAAS,EAAE,MAAM,CACrB,CAAA;AAEA;;;;;AAKE;AACF,QAAA,OAAO,MAAM,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAE,IAAG,EAAC,CAAA;KACvC;AACF,CAAA,CAAA;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scroll-to-top.vue.js","sources":["../../../../../src/x-modules/scroll/components/scroll-to-top.vue"],"sourcesContent":["<template>\n <component :is=\"animation\">\n <BaseEventButton\n v-if=\"isVisible\"\n class=\"x-scroll-to-top x-button\"\n data-test=\"scroll-to-top\"\n aria-label=\"Scroll to top\"\n :events=\"events\"\n >\n <!-- @slot (Required) Button content with a text, an icon or both -->\n <slot />\n </BaseEventButton>\n </component>\n</template>\n\n<script lang=\"ts\">\
|
|
1
|
+
{"version":3,"file":"scroll-to-top.vue.js","sources":["../../../../../src/x-modules/scroll/components/scroll-to-top.vue"],"sourcesContent":["<template>\n <component :is=\"animation\">\n <BaseEventButton\n v-if=\"isVisible\"\n class=\"x-scroll-to-top x-button\"\n data-test=\"scroll-to-top\"\n aria-label=\"Scroll to top\"\n :events=\"events\"\n >\n <!-- @slot (Required) Button content with a text, an icon or both -->\n <slot />\n </BaseEventButton>\n </component>\n</template>\n\n<script lang=\"ts\">\nimport type { XEventsTypes } from '../../../wiring'\nimport { computed, defineComponent } from 'vue'\nimport { BaseEventButton, NoAnimation } from '../../../components'\nimport { useState } from '../../../composables'\nimport { AnimationProp } from '../../../types'\nimport { scrollXModule } from '../x-module'\nimport { MainScrollId } from './scroll.const'\n\n/**\n * The `ScrollToTop` component is a button that the user can click to make a container scroll\n * up to its initial position.\n *\n * @public\n */\nexport default defineComponent({\n name: 'ScrollToTop',\n xModule: scrollXModule.name,\n components: { BaseEventButton },\n props: {\n /**\n * Animation to use for showing/hiding the button.\n *\n * @public\n */\n animation: {\n type: AnimationProp,\n default: () => NoAnimation,\n },\n /**\n * Threshold in pixels from the top to show the button.\n *\n * @public\n */\n thresholdPx: Number,\n /**\n * Id of the target scroll component.\n *\n * @public\n */\n scrollId: {\n type: String,\n default: MainScrollId,\n },\n },\n setup(props) {\n /**\n * State of all the scroll components in this module.\n *\n * @internal\n */\n // TODO: Directly retrieve the needed data in this computed property\n const { data } = useState('scroll', ['data'])\n\n /**\n * The scroll data retrieved for this component.\n *\n * @returns The scroll data for this component if a valid {@link ScrollToTop.scrollId} has been\n * passed. Otherwise it returns `null`.\n * @internal\n */\n const scrollData = computed(() => {\n return props.scrollId && data.value[props.scrollId]\n ? data.value[props.scrollId]\n : {\n position: 0,\n direction: 'UP',\n hasReachedStart: false,\n hasAlmostReachedEnd: false,\n hasReachedEnd: false,\n }\n })\n\n /**\n * Event that will be emitted when the scroll to top is clicked.\n *\n * @returns The event to be emitted when the scroll to top is clicked. The id as a payload.\n * @internal\n */\n const events = computed(\n (): Partial<XEventsTypes> => ({ UserClickedScrollToTop: props.scrollId }),\n )\n\n /**\n * Checks if the thresholdPx prop has been provided and if it is a number.\n *\n * @returns If the thresholdPx is a number or not.\n * @internal\n */\n const useThresholdStrategy = computed(() => typeof props.thresholdPx === 'number')\n\n /**\n * Checks if the threshold has been reached in case the threshold strategy is in use.\n *\n * @returns If the scrollTop is bigger than the thresholdPx.\n * @internal\n */\n const isThresholdReached = computed(\n () => useThresholdStrategy.value && scrollData.value.position > props.thresholdPx!,\n )\n\n /**\n * Returns if the scroll has almost reached its end or not.\n *\n * @returns True if the scroll has almost reached the end and the user is still scrolling down.\n * @internal\n */\n const hasAlmostReachedScrollEnd = computed(\n () => scrollData.value.hasAlmostReachedEnd && scrollData.value.direction === 'DOWN',\n )\n\n /**\n * Whether if the button is visible or not depending on the strategy being used.\n *\n * @returns If the button should be visible or not.\n * @internal\n */\n const isVisible = computed(() =>\n useThresholdStrategy.value ? isThresholdReached.value : hasAlmostReachedScrollEnd.value,\n )\n\n return {\n events,\n isVisible,\n }\n },\n})\n</script>\n\n<docs lang=\"mdx\">\n## Events\n\nA list of events that the component will emit:\n\n- [`UserClickedScrollToTop`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts):\n the event is emitted after the user clicks the button. The event payload is the id of the scroll\n that it going to be scrolled.\n\n## Examples\n\n### Basic example\n\nThe component renders whatever is passed to it in the default slot and scrolls to top the scroll\nwith an id `scrollId`.\n\nIt also receives an optional threshold in pixels. When the threshold is reached from the top, the\ncomponent will be shown once the user scrolls `UP`.\n\nIf this parameter is not provided the button will be visible when the user almost reaches the end of\nthe scroll.\n\n```vue\n<template>\n <div>\n <ScrollToTop scroll-id=\"scrollId\" :threshold-px=\"1000\">\n <span>Scroll to top</span>\n </ScrollToTop>\n </div>\n</template>\n\n<script>\nimport { ScrollToTop } from '@empathyco/x-components/scroll'\n\nexport default {\n name: 'ScrollToTopTest',\n components: {\n ScrollToTop,\n },\n}\n</script>\n```\n</docs>\n"],"names":["_resolveComponent","animation","isVisible","_createBlock","_resolveDynamicComponent","_withCtx","events","_renderSlot","_createCommentVNode"],"mappings":";;;;;AAYc,EAAA,MAAA,0BAAA,GAAAA,gBAAA,CAZd,iBACkBC,CAAAA,CAAAA;SAENC,SAAS,EAAA,EAAAC,WAAA,CAAAC,uBAAA,CAAA,IAAA,CAAA,SAAA,CAAA,EAAA,IAAA,EAAA;AAAA,IADjB,OAAA,EAAAC,OAAA,CAAA,MAAA;AAAA,MAAA,IAAA,CAFJ,wBAIsC,EAAAF,WAAA,CAAA,0BAAA,EAAA;AAAA,QAChC,GAAA,EAAA,CAAA;AAAA,QACA,KAAA,EAAA,0BAAA;AAAA,QACC,WAAQG,EAAAA,eAAAA;AAAAA,QAAAA,YAAAA,EAAAA,eAAAA;AAPf,QAAA,MAAA,EAAA,IAAA,CAAA,MAAA;AAAA,OAAA,EAAA;;AAAA,UAAAC,UAAA,CAAA,IAAA,CAAA,MAAA,EAAA,SAAA,CAAA;AAAA,SAAA,CAAA;AAAA,QAAA,CAAA,EAAA,CAAA;AAAA;AAAA,OAAA,EAAA,CAAA,EAAA,CAAA,QAAA,CAAA,CAAA,IAAAC,kBAAA,CAAA,MAAA,EAAA,IAAA,CAAA;AAAA,KAAA,CAAA;;;;;;;;;"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed } from 'vue';
|
|
2
|
+
import '../../../components/animations/animate-clip-path/animate-clip-path.style.scss.js';
|
|
3
|
+
import '../../../components/animations/animate-scale/animate-scale.style.scss.js';
|
|
4
|
+
import '../../../components/animations/animate-translate/animate-translate.style.scss.js';
|
|
2
5
|
import '../../../components/animations/animate-width.vue2.js';
|
|
3
6
|
import '../../../components/animations/animate-width.vue3.js';
|
|
4
7
|
import '../../../components/animations/collapse-height.vue2.js';
|
|
@@ -7,21 +10,40 @@ import '../../../components/animations/collapse-width.vue2.js';
|
|
|
7
10
|
import '../../../components/animations/collapse-width.vue3.js';
|
|
8
11
|
import '../../../components/animations/cross-fade.vue2.js';
|
|
9
12
|
import '../../../components/animations/cross-fade.vue3.js';
|
|
10
|
-
import '../../../components/animations/fade.vue2.js';
|
|
11
|
-
import '../../../components/animations/fade.vue3.js';
|
|
12
13
|
import '../../../components/animations/fade-and-slide.vue2.js';
|
|
13
14
|
import '../../../components/animations/fade-and-slide.vue3.js';
|
|
15
|
+
import '../../../components/animations/fade.vue2.js';
|
|
16
|
+
import '../../../components/animations/fade.vue3.js';
|
|
14
17
|
import _sfc_main$1 from '../../../components/animations/no-animation.vue.js';
|
|
15
18
|
import '../../../components/animations/staggered-fade-and-slide.vue2.js';
|
|
16
19
|
import '../../../components/animations/staggered-fade-and-slide.vue3.js';
|
|
17
|
-
import '../../../components/
|
|
18
|
-
import '../../../components/
|
|
19
|
-
import '../../../components/
|
|
20
|
+
import '../../../components/auto-progress-bar.vue2.js';
|
|
21
|
+
import '../../../components/auto-progress-bar.vue3.js';
|
|
22
|
+
import '../../../components/base-dropdown.vue2.js';
|
|
23
|
+
import '../../../components/base-dropdown.vue3.js';
|
|
24
|
+
import BaseEventButton from '../../../components/base-event-button.vue.js';
|
|
25
|
+
import '../../../components/base-grid.vue2.js';
|
|
26
|
+
import '../../../components/base-grid.vue3.js';
|
|
27
|
+
import '../../../components/base-keyboard-navigation.vue2.js';
|
|
28
|
+
import '../../../components/base-rating.vue2.js';
|
|
29
|
+
import '../../../components/base-rating.vue3.js';
|
|
30
|
+
import '../../../components/base-slider.vue2.js';
|
|
31
|
+
import '../../../components/base-slider.vue3.js';
|
|
32
|
+
import '../../../components/base-switch.vue2.js';
|
|
33
|
+
import '../../../components/base-switch.vue3.js';
|
|
34
|
+
import '../../../components/base-teleport.vue2.js';
|
|
35
|
+
import '../../../components/base-teleport.vue3.js';
|
|
36
|
+
import '../../../components/base-variable-column-grid.vue2.js';
|
|
20
37
|
import '../../../components/column-picker/base-column-picker-dropdown.vue2.js';
|
|
21
38
|
import '../../../components/column-picker/base-column-picker-list.vue2.js';
|
|
22
39
|
import '../../../components/currency/base-currency.vue2.js';
|
|
40
|
+
import '../../../components/display-click-provider.vue.js';
|
|
41
|
+
import '../../../components/display-emitter.vue.js';
|
|
23
42
|
import '../../../components/filters/labels/base-price-filter-label.vue.js';
|
|
24
43
|
import '../../../components/filters/labels/base-rating-filter-label.vue2.js';
|
|
44
|
+
import '../../../components/global-x-bus.vue.js';
|
|
45
|
+
import '../../../components/highlight.vue2.js';
|
|
46
|
+
import '../../../components/items-list.vue2.js';
|
|
25
47
|
import '../../../components/layouts/fixed-header-and-asides-layout.vue2.js';
|
|
26
48
|
import '../../../components/layouts/fixed-header-and-asides-layout.vue3.js';
|
|
27
49
|
import '../../../components/layouts/multi-column-max-width-layout.vue2.js';
|
|
@@ -29,24 +51,29 @@ import '../../../components/layouts/multi-column-max-width-layout.vue3.js';
|
|
|
29
51
|
import '../../../components/layouts/multi-column-max-width-layout.vue4.js';
|
|
30
52
|
import '../../../components/layouts/single-column-layout.vue2.js';
|
|
31
53
|
import '../../../components/layouts/single-column-layout.vue3.js';
|
|
54
|
+
import '../../../components/location-provider.vue.js';
|
|
32
55
|
import '../../../components/modals/base-events-modal-close.vue2.js';
|
|
33
|
-
import '../../../components/modals/base-events-modal.vue2.js';
|
|
34
56
|
import '../../../components/modals/base-events-modal-open.vue2.js';
|
|
35
|
-
import '../../../components/modals/base-modal.vue2.js';
|
|
36
|
-
import '../../../components/modals/base-modal.vue3.js';
|
|
37
|
-
import '../../../components/modals/base-id-modal.vue2.js';
|
|
57
|
+
import '../../../components/modals/base-events-modal.vue2.js';
|
|
38
58
|
import '../../../components/modals/base-id-modal-close.vue2.js';
|
|
39
59
|
import '../../../components/modals/base-id-modal-open.vue2.js';
|
|
60
|
+
import '../../../components/modals/base-id-modal.vue2.js';
|
|
61
|
+
import '../../../components/modals/base-modal.vue2.js';
|
|
62
|
+
import '../../../components/modals/base-modal.vue3.js';
|
|
40
63
|
import '../../../components/modals/close-main-modal.vue2.js';
|
|
41
64
|
import '../../../components/modals/main-modal.vue2.js';
|
|
42
65
|
import '../../../components/modals/open-main-modal.vue2.js';
|
|
66
|
+
import '../../../components/page-loader-button.vue2.js';
|
|
67
|
+
import '../../../components/page-loader-button.vue3.js';
|
|
68
|
+
import '../../../components/page-selector.vue2.js';
|
|
69
|
+
import '../../../components/page-selector.vue3.js';
|
|
43
70
|
import '../../../components/panels/base-header-toggle-panel.vue2.js';
|
|
44
71
|
import '../../../components/panels/base-header-toggle-panel.vue3.js';
|
|
45
|
-
import '../../../components/panels/base-toggle-panel.vue2.js';
|
|
46
|
-
import '../../../components/panels/base-id-toggle-panel.vue2.js';
|
|
47
72
|
import '../../../components/panels/base-id-toggle-panel-button.vue2.js';
|
|
73
|
+
import '../../../components/panels/base-id-toggle-panel.vue2.js';
|
|
48
74
|
import '../../../components/panels/base-tabs-panel.vue2.js';
|
|
49
75
|
import '../../../components/panels/base-tabs-panel.vue3.js';
|
|
76
|
+
import '../../../components/panels/base-toggle-panel.vue2.js';
|
|
50
77
|
import '../../../components/result/base-result-add-to-cart.vue2.js';
|
|
51
78
|
import '../../../components/result/base-result-current-price.vue2.js';
|
|
52
79
|
import '../../../components/result/base-result-image.vue2.js';
|
|
@@ -56,9 +83,9 @@ import '../../../components/result/base-result-link.vue3.js';
|
|
|
56
83
|
import '../../../components/result/base-result-previous-price.vue2.js';
|
|
57
84
|
import '../../../components/result/base-result-rating.vue2.js';
|
|
58
85
|
import '../../../components/result/base-result-rating.vue3.js';
|
|
59
|
-
import '../../../components/result/result-variants-provider.vue.js';
|
|
60
86
|
import '../../../components/result/result-variant-selector.vue2.js';
|
|
61
87
|
import '../../../components/result/result-variant-selector.vue3.js';
|
|
88
|
+
import '../../../components/result/result-variants-provider.vue.js';
|
|
62
89
|
import '../../../components/scroll/base-scroll.vue2.js';
|
|
63
90
|
import '@empathyco/x-utils';
|
|
64
91
|
import '@vue/devtools-api';
|
|
@@ -69,42 +96,17 @@ import '../../../plugins/devtools/colors.utils.js';
|
|
|
69
96
|
import '../../../plugins/x-bus.js';
|
|
70
97
|
import '../../../plugins/x-plugin.js';
|
|
71
98
|
import 'vuex';
|
|
72
|
-
import '../../../components/suggestions/base-suggestion.vue2.js';
|
|
73
|
-
import '../../../components/suggestions/base-suggestions.vue2.js';
|
|
74
|
-
import '../../../components/suggestions/base-suggestions.vue3.js';
|
|
75
|
-
import '../../../components/auto-progress-bar.vue2.js';
|
|
76
|
-
import '../../../components/auto-progress-bar.vue3.js';
|
|
77
|
-
import '../../../components/base-dropdown.vue2.js';
|
|
78
|
-
import '../../../components/base-dropdown.vue3.js';
|
|
79
|
-
import BaseEventButton from '../../../components/base-event-button.vue.js';
|
|
80
|
-
import '../../../components/base-grid.vue2.js';
|
|
81
|
-
import '../../../components/base-grid.vue3.js';
|
|
82
|
-
import '../../../components/base-keyboard-navigation.vue2.js';
|
|
83
|
-
import '../../../components/base-rating.vue2.js';
|
|
84
|
-
import '../../../components/base-rating.vue3.js';
|
|
85
|
-
import '../../../components/base-slider.vue2.js';
|
|
86
|
-
import '../../../components/base-slider.vue3.js';
|
|
87
|
-
import '../../../components/base-switch.vue2.js';
|
|
88
|
-
import '../../../components/base-switch.vue3.js';
|
|
89
|
-
import '../../../components/base-variable-column-grid.vue2.js';
|
|
90
|
-
import '../../../components/display-emitter.vue.js';
|
|
91
|
-
import '../../../components/global-x-bus.vue.js';
|
|
92
|
-
import '../../../components/highlight.vue2.js';
|
|
93
|
-
import '../../../components/items-list.vue2.js';
|
|
94
|
-
import '../../../components/location-provider.vue.js';
|
|
95
99
|
import '../../../components/sliding-panel.vue2.js';
|
|
96
100
|
import '../../../components/sliding-panel.vue3.js';
|
|
97
101
|
import '../../../components/snippet-callbacks.vue2.js';
|
|
98
|
-
import '../../../components/
|
|
99
|
-
import '../../../components/
|
|
100
|
-
import '../../../components/
|
|
101
|
-
import '../../../components/page-selector.vue3.js';
|
|
102
|
-
import '../../../components/display-click-provider.vue.js';
|
|
103
|
-
import { scrollXModule } from '../x-module.js';
|
|
104
|
-
import { AnimationProp } from '../../../types/animation-prop.js';
|
|
102
|
+
import '../../../components/suggestions/base-suggestion.vue2.js';
|
|
103
|
+
import '../../../components/suggestions/base-suggestions.vue2.js';
|
|
104
|
+
import '../../../components/suggestions/base-suggestions.vue3.js';
|
|
105
105
|
import '../../../composables/create-use-device.js';
|
|
106
106
|
import '@vueuse/core';
|
|
107
107
|
import { useState } from '../../../composables/use-state.js';
|
|
108
|
+
import { AnimationProp } from '../../../types/animation-prop.js';
|
|
109
|
+
import { scrollXModule } from '../x-module.js';
|
|
108
110
|
import { MainScrollId } from './scroll.const.js';
|
|
109
111
|
|
|
110
112
|
/**
|
|
@@ -125,7 +127,7 @@ var _sfc_main = defineComponent({
|
|
|
125
127
|
*/
|
|
126
128
|
animation: {
|
|
127
129
|
type: AnimationProp,
|
|
128
|
-
default: () => _sfc_main$1
|
|
130
|
+
default: () => _sfc_main$1,
|
|
129
131
|
},
|
|
130
132
|
/**
|
|
131
133
|
* Threshold in pixels from the top to show the button.
|
|
@@ -140,8 +142,8 @@ var _sfc_main = defineComponent({
|
|
|
140
142
|
*/
|
|
141
143
|
scrollId: {
|
|
142
144
|
type: String,
|
|
143
|
-
default: MainScrollId
|
|
144
|
-
}
|
|
145
|
+
default: MainScrollId,
|
|
146
|
+
},
|
|
145
147
|
},
|
|
146
148
|
setup(props) {
|
|
147
149
|
/**
|
|
@@ -166,7 +168,7 @@ var _sfc_main = defineComponent({
|
|
|
166
168
|
direction: 'UP',
|
|
167
169
|
hasReachedStart: false,
|
|
168
170
|
hasAlmostReachedEnd: false,
|
|
169
|
-
hasReachedEnd: false
|
|
171
|
+
hasReachedEnd: false,
|
|
170
172
|
};
|
|
171
173
|
});
|
|
172
174
|
/**
|
|
@@ -206,9 +208,9 @@ var _sfc_main = defineComponent({
|
|
|
206
208
|
const isVisible = computed(() => useThresholdStrategy.value ? isThresholdReached.value : hasAlmostReachedScrollEnd.value);
|
|
207
209
|
return {
|
|
208
210
|
events,
|
|
209
|
-
isVisible
|
|
211
|
+
isVisible,
|
|
210
212
|
};
|
|
211
|
-
}
|
|
213
|
+
},
|
|
212
214
|
});
|
|
213
215
|
|
|
214
216
|
export { _sfc_main as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scroll-to-top.vue2.js","sources":["../../../../../src/x-modules/scroll/components/scroll-to-top.vue"],"sourcesContent":["<template>\n <component :is=\"animation\">\n <BaseEventButton\n v-if=\"isVisible\"\n class=\"x-scroll-to-top x-button\"\n data-test=\"scroll-to-top\"\n aria-label=\"Scroll to top\"\n :events=\"events\"\n >\n <!-- @slot (Required) Button content with a text, an icon or both -->\n <slot />\n </BaseEventButton>\n </component>\n</template>\n\n<script lang=\"ts\">\
|
|
1
|
+
{"version":3,"file":"scroll-to-top.vue2.js","sources":["../../../../../src/x-modules/scroll/components/scroll-to-top.vue"],"sourcesContent":["<template>\n <component :is=\"animation\">\n <BaseEventButton\n v-if=\"isVisible\"\n class=\"x-scroll-to-top x-button\"\n data-test=\"scroll-to-top\"\n aria-label=\"Scroll to top\"\n :events=\"events\"\n >\n <!-- @slot (Required) Button content with a text, an icon or both -->\n <slot />\n </BaseEventButton>\n </component>\n</template>\n\n<script lang=\"ts\">\nimport type { XEventsTypes } from '../../../wiring'\nimport { computed, defineComponent } from 'vue'\nimport { BaseEventButton, NoAnimation } from '../../../components'\nimport { useState } from '../../../composables'\nimport { AnimationProp } from '../../../types'\nimport { scrollXModule } from '../x-module'\nimport { MainScrollId } from './scroll.const'\n\n/**\n * The `ScrollToTop` component is a button that the user can click to make a container scroll\n * up to its initial position.\n *\n * @public\n */\nexport default defineComponent({\n name: 'ScrollToTop',\n xModule: scrollXModule.name,\n components: { BaseEventButton },\n props: {\n /**\n * Animation to use for showing/hiding the button.\n *\n * @public\n */\n animation: {\n type: AnimationProp,\n default: () => NoAnimation,\n },\n /**\n * Threshold in pixels from the top to show the button.\n *\n * @public\n */\n thresholdPx: Number,\n /**\n * Id of the target scroll component.\n *\n * @public\n */\n scrollId: {\n type: String,\n default: MainScrollId,\n },\n },\n setup(props) {\n /**\n * State of all the scroll components in this module.\n *\n * @internal\n */\n // TODO: Directly retrieve the needed data in this computed property\n const { data } = useState('scroll', ['data'])\n\n /**\n * The scroll data retrieved for this component.\n *\n * @returns The scroll data for this component if a valid {@link ScrollToTop.scrollId} has been\n * passed. Otherwise it returns `null`.\n * @internal\n */\n const scrollData = computed(() => {\n return props.scrollId && data.value[props.scrollId]\n ? data.value[props.scrollId]\n : {\n position: 0,\n direction: 'UP',\n hasReachedStart: false,\n hasAlmostReachedEnd: false,\n hasReachedEnd: false,\n }\n })\n\n /**\n * Event that will be emitted when the scroll to top is clicked.\n *\n * @returns The event to be emitted when the scroll to top is clicked. The id as a payload.\n * @internal\n */\n const events = computed(\n (): Partial<XEventsTypes> => ({ UserClickedScrollToTop: props.scrollId }),\n )\n\n /**\n * Checks if the thresholdPx prop has been provided and if it is a number.\n *\n * @returns If the thresholdPx is a number or not.\n * @internal\n */\n const useThresholdStrategy = computed(() => typeof props.thresholdPx === 'number')\n\n /**\n * Checks if the threshold has been reached in case the threshold strategy is in use.\n *\n * @returns If the scrollTop is bigger than the thresholdPx.\n * @internal\n */\n const isThresholdReached = computed(\n () => useThresholdStrategy.value && scrollData.value.position > props.thresholdPx!,\n )\n\n /**\n * Returns if the scroll has almost reached its end or not.\n *\n * @returns True if the scroll has almost reached the end and the user is still scrolling down.\n * @internal\n */\n const hasAlmostReachedScrollEnd = computed(\n () => scrollData.value.hasAlmostReachedEnd && scrollData.value.direction === 'DOWN',\n )\n\n /**\n * Whether if the button is visible or not depending on the strategy being used.\n *\n * @returns If the button should be visible or not.\n * @internal\n */\n const isVisible = computed(() =>\n useThresholdStrategy.value ? isThresholdReached.value : hasAlmostReachedScrollEnd.value,\n )\n\n return {\n events,\n isVisible,\n }\n },\n})\n</script>\n\n<docs lang=\"mdx\">\n## Events\n\nA list of events that the component will emit:\n\n- [`UserClickedScrollToTop`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts):\n the event is emitted after the user clicks the button. The event payload is the id of the scroll\n that it going to be scrolled.\n\n## Examples\n\n### Basic example\n\nThe component renders whatever is passed to it in the default slot and scrolls to top the scroll\nwith an id `scrollId`.\n\nIt also receives an optional threshold in pixels. When the threshold is reached from the top, the\ncomponent will be shown once the user scrolls `UP`.\n\nIf this parameter is not provided the button will be visible when the user almost reaches the end of\nthe scroll.\n\n```vue\n<template>\n <div>\n <ScrollToTop scroll-id=\"scrollId\" :threshold-px=\"1000\">\n <span>Scroll to top</span>\n </ScrollToTop>\n </div>\n</template>\n\n<script>\nimport { ScrollToTop } from '@empathyco/x-components/scroll'\n\nexport default {\n name: 'ScrollToTopTest',\n components: {\n ScrollToTop,\n },\n}\n</script>\n```\n</docs>\n"],"names":["NoAnimation"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBA;;;;;AAKE;AACF,gBAAe,eAAe,CAAC;AAC7B,IAAA,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,aAAa,CAAC,IAAI;IAC3B,UAAU,EAAE,EAAE,eAAc,EAAG;AAC/B,IAAA,KAAK,EAAE;AACL;;;;AAIE;AACF,QAAA,SAAS,EAAE;AACT,YAAA,IAAI,EAAE,aAAa;AACnB,YAAA,OAAO,EAAE,MAAMA,WAAW;AAC3B,SAAA;AACD;;;;AAIE;AACF,QAAA,WAAW,EAAE,MAAM;AACnB;;;;AAIE;AACF,QAAA,QAAQ,EAAE;AACR,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,OAAO,EAAE,YAAY;AACtB,SAAA;AACF,KAAA;AACD,IAAA,KAAK,CAAC,KAAK,EAAA;AACT;;;;AAIE;;AAEF,QAAA,MAAM,EAAE,IAAK,EAAA,GAAI,QAAQ,CAAC,QAAQ,EAAE,CAAC,MAAM,CAAC,CAAA,CAAA;AAE5C;;;;;;AAME;AACF,QAAA,MAAM,UAAW,GAAE,QAAQ,CAAC,MAAM;YAChC,OAAO,KAAK,CAAC,QAAO,IAAK,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAA;kBAC9C,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAA;AAC3B,kBAAE;AACE,oBAAA,QAAQ,EAAE,CAAC;AACX,oBAAA,SAAS,EAAE,IAAI;AACf,oBAAA,eAAe,EAAE,KAAK;AACtB,oBAAA,mBAAmB,EAAE,KAAK;AAC1B,oBAAA,aAAa,EAAE,KAAK;iBACtB,CAAA;AACN,SAAC,CAAA,CAAA;AAED;;;;;AAKE;AACF,QAAA,MAAM,MAAO,GAAE,QAAQ,CACrB,OAA8B,EAAE,sBAAsB,EAAE,KAAK,CAAC,QAAO,EAAG,CAAC,CAC3E,CAAA;AAEA;;;;;AAKE;AACF,QAAA,MAAM,oBAAqB,GAAE,QAAQ,CAAC,MAAM,OAAO,KAAK,CAAC,gBAAgB,QAAQ,CAAA,CAAA;AAEjF;;;;;AAKE;QACF,MAAM,kBAAmB,GAAE,QAAQ,CACjC,MAAM,oBAAoB,CAAC,KAAI,IAAK,UAAU,CAAC,KAAK,CAAC,QAAO,GAAI,KAAK,CAAC,WAAY,CACpF,CAAA;AAEA;;;;;AAKE;QACF,MAAM,yBAA0B,GAAE,QAAQ,CACxC,MAAM,UAAU,CAAC,KAAK,CAAC,mBAAkB,IAAK,UAAU,CAAC,KAAK,CAAC,SAAQ,KAAM,MAAM,CACrF,CAAA;AAEA;;;;;AAKE;QACF,MAAM,YAAY,QAAQ,CAAC,MACzB,oBAAoB,CAAC,KAAM,GAAE,kBAAkB,CAAC,KAAI,GAAI,yBAAyB,CAAC,KAAK,CACzF,CAAA;QAEA,OAAO;YACL,MAAM;YACN,SAAS;SACX,CAAA;KACD;AACF,CAAA,CAAA;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scroll.const.js","sources":["../../../../../src/x-modules/scroll/components/scroll.const.ts"],"sourcesContent":["import { XInjectKey } from '../../../components/decorators/injection.consts'
|
|
1
|
+
{"version":3,"file":"scroll.const.js","sources":["../../../../../src/x-modules/scroll/components/scroll.const.ts"],"sourcesContent":["import type { XInjectKey } from '../../../components/decorators/injection.consts'\nimport type { ScrollVisibilityObserver } from './scroll.types'\n\n/**\n * Constant to inject the first visible item observer.\n *\n * @internal\n */\nexport const ScrollObserverKey: XInjectKey<ScrollVisibilityObserver | null> = 'ScrollObserverKey'\n/**\n * The default scroll id for all the scroll components.\n *\n * @internal\n */\nexport const MainScrollId = 'main-scroll'\n"],"names":[],"mappings":"AAGA;;;;AAIG;AACI,MAAM,iBAAiB,GAAgD,oBAAmB;AACjG;;;;AAIG;AACI,MAAM,YAAY,GAAG;;;;"}
|
|
@@ -5,20 +5,20 @@ import _export_sfc from '../../../_virtual/_plugin-vue_export-helper.js';
|
|
|
5
5
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6
6
|
const _component_BaseScroll = resolveComponent("BaseScroll");
|
|
7
7
|
return openBlock(), createBlock(_component_BaseScroll, {
|
|
8
|
+
id: _ctx.id,
|
|
8
9
|
ref: "scrollRef",
|
|
9
10
|
onScroll: _ctx.emitScroll,
|
|
10
11
|
"onScroll:directionChange": _ctx.emitScrollDirectionChange,
|
|
11
12
|
"onScroll:atStart": _ctx.emitScrollAtStart,
|
|
12
13
|
"onScroll:almostAtEnd": _ctx.emitScrollAlmostAtEnd,
|
|
13
|
-
"onScroll:atEnd": _ctx.emitScrollAtEnd
|
|
14
|
-
id: _ctx.id
|
|
14
|
+
"onScroll:atEnd": _ctx.emitScrollAtEnd
|
|
15
15
|
}, {
|
|
16
16
|
default: withCtx(() => [
|
|
17
17
|
renderSlot(_ctx.$slots, "default")
|
|
18
18
|
]),
|
|
19
19
|
_: 3
|
|
20
20
|
/* FORWARDED */
|
|
21
|
-
}, 8, ["onScroll", "onScroll:directionChange", "onScroll:atStart", "onScroll:almostAtEnd", "onScroll:atEnd"
|
|
21
|
+
}, 8, ["id", "onScroll", "onScroll:directionChange", "onScroll:atStart", "onScroll:almostAtEnd", "onScroll:atEnd"]);
|
|
22
22
|
}
|
|
23
23
|
var Scroll = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
24
24
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scroll.vue.js","sources":["../../../../../src/x-modules/scroll/components/scroll.vue"],"sourcesContent":["<template>\n <BaseScroll\n ref=\"scrollRef\"\n @scroll=\"emitScroll\"\n @scroll:direction-change=\"emitScrollDirectionChange\"\n @scroll:at-start=\"emitScrollAtStart\"\n @scroll:almost-at-end=\"emitScrollAlmostAtEnd\"\n @scroll:at-end=\"emitScrollAtEnd\"\n
|
|
1
|
+
{"version":3,"file":"scroll.vue.js","sources":["../../../../../src/x-modules/scroll/components/scroll.vue"],"sourcesContent":["<template>\n <BaseScroll\n :id=\"id\"\n ref=\"scrollRef\"\n @scroll=\"emitScroll\"\n @scroll:direction-change=\"emitScrollDirectionChange\"\n @scroll:at-start=\"emitScrollAtStart\"\n @scroll:almost-at-end=\"emitScrollAlmostAtEnd\"\n @scroll:at-end=\"emitScrollAtEnd\"\n >\n <slot />\n </BaseScroll>\n</template>\n\n<script lang=\"ts\">\nimport type { ComponentPublicInstance } from 'vue'\nimport type { ScrollDirection } from '../../../components/scroll/scroll.types'\nimport type { WireMetadata } from '../../../wiring/wiring.types'\nimport { defineComponent, ref } from 'vue'\nimport BaseScroll from '../../../components/scroll/base-scroll.vue'\nimport { use$x } from '../../../composables/use-$x'\nimport { scrollXModule } from '../x-module'\nimport { MainScrollId } from './scroll.const'\n\n/**\n * Scrollable container that emits scroll related X Events. It exposes all the listeners\n * and props from the {@link BaseScroll} component.\n *\n * @public\n */\nexport default defineComponent({\n name: 'Scroll',\n xModule: scrollXModule.name,\n components: { BaseScroll },\n props: {\n /**\n * Id to identify the component.\n *\n * @public\n */\n id: {\n type: String,\n default: MainScrollId,\n },\n },\n setup(props) {\n const $x = use$x()\n\n const scrollRef = ref<ComponentPublicInstance>()\n\n /**\n * Creates a {@link WireMetadata} metadata object for all the emitted events.\n *\n * @internal\n * @returns A new {@link WireMetadata} object.\n */\n const createEventMetadata = (): Partial<WireMetadata> => {\n return {\n target: scrollRef.value?.$el as HTMLElement,\n id: props.id,\n }\n }\n\n /**\n * Emits the `UserScrolled` event.\n *\n * @param position - The new position of scroll.\n * @internal\n */\n const emitScroll = (position: number) => {\n $x.emit('UserScrolled', position, createEventMetadata())\n }\n\n /**\n * Emits the `UserChangedScrollDirection` event when the scrolling direction has changed.\n *\n * @param direction - The new direction of scroll.\n * @internal\n */\n const emitScrollDirectionChange = (direction: ScrollDirection) => {\n $x.emit('UserChangedScrollDirection', direction, createEventMetadata())\n }\n\n /**\n * Emits the 'UserReachedScrollStart' event when the user reaches the start.\n *\n * @param isAtStart - A boolean indicating if the scroll is at the ending position.\n * @internal\n */\n const emitScrollAtStart = (isAtStart: boolean) => {\n $x.emit('UserReachedScrollStart', isAtStart, createEventMetadata())\n }\n\n /**\n * Emits the 'UserAlmostReachedScrollEnd' event when the user is about to reach to end.\n *\n * @param isAlmostAtEnd - A boolean indicating if the scroll is almost at its ending position.\n * @internal\n */\n const emitScrollAlmostAtEnd = (isAlmostAtEnd: boolean) => {\n $x.emit('UserAlmostReachedScrollEnd', isAlmostAtEnd, createEventMetadata())\n }\n\n /**\n * Emits the 'UserReachedScrollEnd' event when the user is about to reach to end.\n *\n * @param isAtEnd - A boolean indicating if the scroll is at the ending position.\n * @internal\n */\n const emitScrollAtEnd = (isAtEnd: boolean) => {\n $x.emit('UserReachedScrollEnd', isAtEnd, createEventMetadata())\n }\n\n /**\n * Scrolls to initial position when the user has clicked the scroll to top button.\n *\n * @param scrollId - {@link XEventsTypes.UserClickedScrollToTop}.\n * @internal\n */\n $x.on('UserClickedScrollToTop', false).subscribe((scrollId: string) => {\n if (scrollId === props.id && scrollRef.value) {\n ;(scrollRef.value.$el as HTMLElement).scrollTo({ top: 0, behavior: 'smooth' })\n }\n })\n\n return {\n scrollRef,\n emitScrollAtEnd,\n emitScrollAlmostAtEnd,\n emitScrollAtStart,\n emitScrollDirectionChange,\n emitScroll,\n }\n },\n})\n</script>\n\n<docs lang=\"mdx\">\n## Events\n\nA list of events that the component will emit:\n\n- [`UserScrolled`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts):\n emitted after the user scrolls in this container. The payload is the scroll top distance in\n pixels.\n- [`UserChangedScrollDirection`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts):\n emitted when the user changes the scroll direction. The payload is the new scrolling direction.\n- [`UserReachedScrollStart`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts):\n emitted when the user scrolls up to the initial position of the scroll.\n- [`UserAlmostReachedScrollEnd`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts):\n emitted when the user is about to reach the bottom part of the scroll.\n- [`UserReachedScrollEnd`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts):\n emitted when the user has reached the bottom part of the scroll.\n\n## Example\n\nThe Scroll is a component that wraps the BaseScroll and provides it for a unique id.\n\n### Customized usage\n\n#### Overriding the properties\n\nIt renders an element with scroll, with the content passed in the `default slot`.\n\n```vue\n<template>\n <Scroll id=\"exampleScrollId\" throttleMs=\"50\" distanceToBottom=\"300\">\n <div class=\"content-scroll\">\n <span>content1</span>\n <span>content1</span>\n </div>\n </Scroll>\n</template>\n\n<script>\nimport { Scroll } from '@empathyco/x-components/scroll'\n\nexport default {\n name: 'ScrollIdTest',\n components: {\n Scroll,\n },\n}\n</script>\n```\n\n#### Using scroll events.\n\n```vue\n<template>\n <Scroll\n @scroll=\"scroll\"\n @scroll:direction-change=\"scrollDirectionChange\"\n @scroll:at-start=\"scrollAtStart\"\n @scroll:almost-at-end=\"scrollAlmostAtEnd\"\n @scroll:at-end=\"scrollAtEnd\"\n id=\"exampleScrollId\"\n throttleMs=\"50\"\n distanceToBottom=\"300\"\n >\n <div class=\"content-scroll\">\n <span>content1</span>\n <span>content1</span>\n </div>\n </Scroll>\n</template>\n\n<script>\nimport { Scroll } from '@empathyco/x-components/scroll'\n\nexport default {\n name: 'ScrollIdTest',\n components: {\n Scroll,\n },\n methods: {\n scroll(position) {\n console.log('scroll', position)\n },\n scrollDirectionChange(direction) {\n console.log('scroll:direction-change', direction)\n },\n scrollAtStart(isAtStart) {\n console.log('scroll:at-start', isAtStart)\n },\n scrollAlmostAtEnd(isAlmostAtEnd) {\n console.log('scroll:almost-at-end', isAlmostAtEnd)\n },\n scrollAtEnd(isAtEnd) {\n console.log('scroll:at-end', isAtEnd)\n },\n },\n}\n</script>\n```\n\n#### Using XEvents.\n\nYou can use the XEvents subscribing to them.\n\n```vue\n<template>\n <Scroll throttleMs=\"50\" distanceToBottom=\"300\">\n <div class=\"content-scroll\">\n <span>content1</span>\n <span>content1</span>\n </div>\n </Scroll>\n</template>\n\n<script>\nimport { Scroll } from '@empathyco/x-components/scroll'\n\nexport default {\n name: 'ScrollIdTest',\n components: {\n Scroll,\n },\n mounted() {\n this.$x.on('UserScrolled').subscribe(distance => {\n console.log(distance)\n })\n this.$x.on('UserChangedScrollDirection').subscribe(direction => {\n console.log(direction)\n })\n this.$x.on('UserReachedScrollStart').subscribe(isAtStart => {\n console.log(isAtStart)\n })\n this.$x.on('UserAlmostReachedScrollEnd').subscribe(isAlmostAtEnd => {\n console.log(isAlmostAtEnd)\n })\n this.$x.on('UserReachedScrollEnd').subscribe(isAtEnd => {\n console.log(isAtEnd)\n })\n },\n}\n</script>\n```\n</docs>\n"],"names":["_resolveComponent","_openBlock","_createBlock","emitScrollAlmostAtEnd","emitScrollAtEnd","_renderSlot"],"mappings":";;;;;gCACEA,gBAUa,CAAA,YAAA,CAAA,CAAA;SARPC,SAAW,EAAA,EAAAC,WAAA,CAAA,qBAAA,EAAA;AAAA,IACd,EAAM,EAAA,IAAA,CAAA,EAAA;AAAA,IACN,GAAA,EAAA,WAAA;AAAA,IACA,QAAA,EAAA,IAAA,CAAA,UAAA;AAAA,IACA,0BAAsBC,EAAAA,IAAAA,CAAAA,yBAAAA;AAAAA,IACtB,kBAAeC,EAAAA,IAAAA,CAAAA,iBAAAA;AAAAA,IAAAA,sBAAAA,EAAAA,IAAAA,CAAAA,qBAAAA;AARpB,IAAA,gBAAA,EAUI,IAAQ,CAAA,eAAA;AAAA,GAAA,EAAA;;AAVZ,MAAAC,UAAA,CAAA,IAAA,CAAA,MAAA,EAAA,SAAA,CAAA;AAAA,KAAA,CAAA;;;;;;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref } from 'vue';
|
|
2
2
|
import BaseScroll from '../../../components/scroll/base-scroll.vue.js';
|
|
3
|
-
import { scrollXModule } from '../x-module.js';
|
|
4
3
|
import { use$x } from '../../../composables/use-_x.js';
|
|
4
|
+
import { scrollXModule } from '../x-module.js';
|
|
5
5
|
import { MainScrollId } from './scroll.const.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -22,8 +22,8 @@ var _sfc_main = defineComponent({
|
|
|
22
22
|
*/
|
|
23
23
|
id: {
|
|
24
24
|
type: String,
|
|
25
|
-
default: MainScrollId
|
|
26
|
-
}
|
|
25
|
+
default: MainScrollId,
|
|
26
|
+
},
|
|
27
27
|
},
|
|
28
28
|
setup(props) {
|
|
29
29
|
const $x = use$x();
|
|
@@ -37,7 +37,7 @@ var _sfc_main = defineComponent({
|
|
|
37
37
|
const createEventMetadata = () => {
|
|
38
38
|
return {
|
|
39
39
|
target: scrollRef.value?.$el,
|
|
40
|
-
id: props.id
|
|
40
|
+
id: props.id,
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
43
|
/**
|
|
@@ -102,9 +102,9 @@ var _sfc_main = defineComponent({
|
|
|
102
102
|
emitScrollAlmostAtEnd,
|
|
103
103
|
emitScrollAtStart,
|
|
104
104
|
emitScrollDirectionChange,
|
|
105
|
-
emitScroll
|
|
105
|
+
emitScroll,
|
|
106
106
|
};
|
|
107
|
-
}
|
|
107
|
+
},
|
|
108
108
|
});
|
|
109
109
|
|
|
110
110
|
export { _sfc_main as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scroll.vue2.js","sources":["../../../../../src/x-modules/scroll/components/scroll.vue"],"sourcesContent":["<template>\n <BaseScroll\n ref=\"scrollRef\"\n @scroll=\"emitScroll\"\n @scroll:direction-change=\"emitScrollDirectionChange\"\n @scroll:at-start=\"emitScrollAtStart\"\n @scroll:almost-at-end=\"emitScrollAlmostAtEnd\"\n @scroll:at-end=\"emitScrollAtEnd\"\n :id=\"id\"\n >\n <slot />\n </BaseScroll>\n</template>\n\n<script lang=\"ts\">\n import { ComponentPublicInstance, defineComponent, ref } from 'vue';\n import { WireMetadata } from '../../../wiring/wiring.types';\n import BaseScroll from '../../../components/scroll/base-scroll.vue';\n import { ScrollDirection } from '../../../components/scroll/scroll.types';\n import { scrollXModule } from '../x-module';\n import { use$x } from '../../../composables/use-$x';\n import { MainScrollId } from './scroll.const';\n\n /**\n * Scrollable container that emits scroll related X Events. It exposes all the listeners\n * and props from the {@link BaseScroll} component.\n *\n * @public\n */\n export default defineComponent({\n name: 'Scroll',\n xModule: scrollXModule.name,\n components: { BaseScroll },\n props: {\n /**\n * Id to identify the component.\n *\n * @public\n */\n id: {\n type: String,\n default: MainScrollId\n }\n },\n setup(props) {\n const $x = use$x();\n\n const scrollRef = ref<ComponentPublicInstance>();\n\n /**\n * Creates a {@link WireMetadata} metadata object for all the emitted events.\n *\n * @internal\n * @returns A new {@link WireMetadata} object.\n */\n const createEventMetadata = (): Partial<WireMetadata> => {\n return {\n target: scrollRef.value?.$el as HTMLElement,\n id: props.id\n };\n };\n\n /**\n * Emits the `UserScrolled` event.\n *\n * @param position - The new position of scroll.\n * @internal\n */\n const emitScroll = (position: number) => {\n $x.emit('UserScrolled', position, createEventMetadata());\n };\n\n /**\n * Emits the `UserChangedScrollDirection` event when the scrolling direction has changed.\n *\n * @param direction - The new direction of scroll.\n * @internal\n */\n const emitScrollDirectionChange = (direction: ScrollDirection) => {\n $x.emit('UserChangedScrollDirection', direction, createEventMetadata());\n };\n\n /**\n * Emits the 'UserReachedScrollStart' event when the user reaches the start.\n *\n * @param isAtStart - A boolean indicating if the scroll is at the ending position.\n * @internal\n */\n const emitScrollAtStart = (isAtStart: boolean) => {\n $x.emit('UserReachedScrollStart', isAtStart, createEventMetadata());\n };\n\n /**\n * Emits the 'UserAlmostReachedScrollEnd' event when the user is about to reach to end.\n *\n * @param isAlmostAtEnd - A boolean indicating if the scroll is almost at its ending position.\n * @internal\n */\n const emitScrollAlmostAtEnd = (isAlmostAtEnd: boolean) => {\n $x.emit('UserAlmostReachedScrollEnd', isAlmostAtEnd, createEventMetadata());\n };\n\n /**\n * Emits the 'UserReachedScrollEnd' event when the user is about to reach to end.\n *\n * @param isAtEnd - A boolean indicating if the scroll is at the ending position.\n * @internal\n */\n const emitScrollAtEnd = (isAtEnd: boolean) => {\n $x.emit('UserReachedScrollEnd', isAtEnd, createEventMetadata());\n };\n\n /**\n * Scrolls to initial position when the user has clicked the scroll to top button.\n *\n * @param scrollId - {@link XEventsTypes.UserClickedScrollToTop}.\n * @internal\n */\n $x.on('UserClickedScrollToTop', false).subscribe((scrollId: string) => {\n if (scrollId === props.id && scrollRef.value) {\n (scrollRef.value.$el as HTMLElement).scrollTo({ top: 0, behavior: 'smooth' });\n }\n });\n\n return {\n scrollRef,\n emitScrollAtEnd,\n emitScrollAlmostAtEnd,\n emitScrollAtStart,\n emitScrollDirectionChange,\n emitScroll\n };\n }\n });\n</script>\n\n<docs lang=\"mdx\">\n## Events\n\nA list of events that the component will emit:\n\n- [`UserScrolled`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts):\n emitted after the user scrolls in this container. The payload is the scroll top distance in\n pixels.\n- [`UserChangedScrollDirection`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts):\n emitted when the user changes the scroll direction. The payload is the new scrolling direction.\n- [`UserReachedScrollStart`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts):\n emitted when the user scrolls up to the initial position of the scroll.\n- [`UserAlmostReachedScrollEnd`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts):\n emitted when the user is about to reach the bottom part of the scroll.\n- [`UserReachedScrollEnd`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts):\n emitted when the user has reached the bottom part of the scroll.\n\n## Example\n\nThe Scroll is a component that wraps the BaseScroll and provides it for a unique id.\n\n### Customized usage\n\n#### Overriding the properties\n\nIt renders an element with scroll, with the content passed in the `default slot`.\n\n```vue\n<template>\n <Scroll id=\"exampleScrollId\" throttleMs=\"50\" distanceToBottom=\"300\">\n <div class=\"content-scroll\">\n <span>content1</span>\n <span>content1</span>\n </div>\n </Scroll>\n</template>\n\n<script>\n import { Scroll } from '@empathyco/x-components/scroll';\n\n export default {\n name: 'ScrollIdTest',\n components: {\n Scroll\n }\n };\n</script>\n```\n\n#### Using scroll events.\n\n```vue\n<template>\n <Scroll\n @scroll=\"scroll\"\n @scroll:direction-change=\"scrollDirectionChange\"\n @scroll:at-start=\"scrollAtStart\"\n @scroll:almost-at-end=\"scrollAlmostAtEnd\"\n @scroll:at-end=\"scrollAtEnd\"\n id=\"exampleScrollId\"\n throttleMs=\"50\"\n distanceToBottom=\"300\"\n >\n <div class=\"content-scroll\">\n <span>content1</span>\n <span>content1</span>\n </div>\n </Scroll>\n</template>\n\n<script>\n import { Scroll } from '@empathyco/x-components/scroll';\n\n export default {\n name: 'ScrollIdTest',\n components: {\n Scroll\n },\n methods: {\n scroll(position) {\n console.log('scroll', position);\n },\n scrollDirectionChange(direction) {\n console.log('scroll:direction-change', direction);\n },\n scrollAtStart(isAtStart) {\n console.log('scroll:at-start', isAtStart);\n },\n scrollAlmostAtEnd(isAlmostAtEnd) {\n console.log('scroll:almost-at-end', isAlmostAtEnd);\n },\n scrollAtEnd(isAtEnd) {\n console.log('scroll:at-end', isAtEnd);\n }\n }\n };\n</script>\n```\n\n#### Using XEvents.\n\nYou can use the XEvents subscribing to them.\n\n```vue\n<template>\n <Scroll throttleMs=\"50\" distanceToBottom=\"300\">\n <div class=\"content-scroll\">\n <span>content1</span>\n <span>content1</span>\n </div>\n </Scroll>\n</template>\n\n<script>\n import { Scroll } from '@empathyco/x-components/scroll';\n\n export default {\n name: 'ScrollIdTest',\n components: {\n Scroll\n },\n mounted() {\n this.$x.on('UserScrolled').subscribe(distance => {\n console.log(distance);\n });\n this.$x.on('UserChangedScrollDirection').subscribe(direction => {\n console.log(direction);\n });\n this.$x.on('UserReachedScrollStart').subscribe(isAtStart => {\n console.log(isAtStart);\n });\n this.$x.on('UserAlmostReachedScrollEnd').subscribe(isAlmostAtEnd => {\n console.log(isAlmostAtEnd);\n });\n this.$x.on('UserReachedScrollEnd').subscribe(isAtEnd => {\n console.log(isAtEnd);\n });\n }\n };\n</script>\n```\n</docs>\n"],"names":[],"mappings":";;;;;;AAuBE;;;;;AAKE;AACF,gBAAe,eAAe,CAAC;AAC7B,IAAA,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE,aAAa,CAAC,IAAI;IAC3B,UAAU,EAAE,EAAE,UAAS,EAAG;AAC1B,IAAA,KAAK,EAAE;AACL;;;;AAIE;AACF,QAAA,EAAE,EAAE;AACF,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,OAAO,EAAE,YAAW;AACtB,SAAA;AACD,KAAA;AACD,IAAA,KAAK,CAAC,KAAK,EAAA;AACT,QAAA,MAAM,EAAC,GAAI,KAAK,EAAE,CAAA;AAElB,QAAA,MAAM,YAAY,GAAG,EAA2B,CAAA;AAEhD;;;;;AAKE;QACF,MAAM,mBAAoB,GAAE,MAA6B;YACvD,OAAO;AACL,gBAAA,MAAM,EAAE,SAAS,CAAC,KAAK,EAAE,GAAkB;gBAC3C,EAAE,EAAE,KAAK,CAAC,EAAC;aACZ,CAAA;AACH,SAAC,CAAA;AAED;;;;;AAKE;AACF,QAAA,MAAM,aAAa,CAAC,QAAgB,KAAK;YACvC,EAAE,CAAC,IAAI,CAAC,cAAc,EAAE,QAAQ,EAAE,mBAAmB,EAAE,CAAC,CAAA;AAC1D,SAAC,CAAA;AAED;;;;;AAKE;AACF,QAAA,MAAM,yBAAwB,GAAI,CAAC,SAA0B,KAAK;YAChE,EAAE,CAAC,IAAI,CAAC,4BAA4B,EAAE,SAAS,EAAE,mBAAmB,EAAE,CAAC,CAAA;AACzE,SAAC,CAAA;AAED;;;;;AAKE;AACF,QAAA,MAAM,iBAAgB,GAAI,CAAC,SAAkB,KAAK;YAChD,EAAE,CAAC,IAAI,CAAC,wBAAwB,EAAE,SAAS,EAAE,mBAAmB,EAAE,CAAC,CAAA;AACrE,SAAC,CAAA;AAED;;;;;AAKE;AACF,QAAA,MAAM,qBAAoB,GAAI,CAAC,aAAsB,KAAK;YACxD,EAAE,CAAC,IAAI,CAAC,4BAA4B,EAAE,aAAa,EAAE,mBAAmB,EAAE,CAAC,CAAA;AAC7E,SAAC,CAAA;AAED;;;;;AAKE;AACF,QAAA,MAAM,eAAc,GAAI,CAAC,OAAgB,KAAK;YAC5C,EAAE,CAAC,IAAI,CAAC,sBAAsB,EAAE,OAAO,EAAE,mBAAmB,EAAE,CAAC,CAAA;AACjE,SAAC,CAAA;AAED;;;;;AAKE;AACF,QAAA,EAAE,CAAC,EAAE,CAAC,wBAAwB,EAAE,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,QAAgB,KAAK;YACrE,IAAI,QAAO,KAAM,KAAK,CAAC,EAAC,IAAK,SAAS,CAAC,KAAK,EAAE;AAC3C,gBAAA,SAAS,CAAC,KAAK,CAAC,GAAmB,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,QAAQ,EAAE,QAAO,EAAG,CAAC,CAAA;AAC/E,aAAA;AACF,SAAC,CAAC,CAAA;QAEF,OAAO;YACL,SAAS;YACT,eAAe;YACf,qBAAqB;YACrB,iBAAiB;YACjB,yBAAyB;YACzB,UAAS;SACV,CAAA;KACH;AACD,CAAA,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"scroll.vue2.js","sources":["../../../../../src/x-modules/scroll/components/scroll.vue"],"sourcesContent":["<template>\n <BaseScroll\n :id=\"id\"\n ref=\"scrollRef\"\n @scroll=\"emitScroll\"\n @scroll:direction-change=\"emitScrollDirectionChange\"\n @scroll:at-start=\"emitScrollAtStart\"\n @scroll:almost-at-end=\"emitScrollAlmostAtEnd\"\n @scroll:at-end=\"emitScrollAtEnd\"\n >\n <slot />\n </BaseScroll>\n</template>\n\n<script lang=\"ts\">\nimport type { ComponentPublicInstance } from 'vue'\nimport type { ScrollDirection } from '../../../components/scroll/scroll.types'\nimport type { WireMetadata } from '../../../wiring/wiring.types'\nimport { defineComponent, ref } from 'vue'\nimport BaseScroll from '../../../components/scroll/base-scroll.vue'\nimport { use$x } from '../../../composables/use-$x'\nimport { scrollXModule } from '../x-module'\nimport { MainScrollId } from './scroll.const'\n\n/**\n * Scrollable container that emits scroll related X Events. It exposes all the listeners\n * and props from the {@link BaseScroll} component.\n *\n * @public\n */\nexport default defineComponent({\n name: 'Scroll',\n xModule: scrollXModule.name,\n components: { BaseScroll },\n props: {\n /**\n * Id to identify the component.\n *\n * @public\n */\n id: {\n type: String,\n default: MainScrollId,\n },\n },\n setup(props) {\n const $x = use$x()\n\n const scrollRef = ref<ComponentPublicInstance>()\n\n /**\n * Creates a {@link WireMetadata} metadata object for all the emitted events.\n *\n * @internal\n * @returns A new {@link WireMetadata} object.\n */\n const createEventMetadata = (): Partial<WireMetadata> => {\n return {\n target: scrollRef.value?.$el as HTMLElement,\n id: props.id,\n }\n }\n\n /**\n * Emits the `UserScrolled` event.\n *\n * @param position - The new position of scroll.\n * @internal\n */\n const emitScroll = (position: number) => {\n $x.emit('UserScrolled', position, createEventMetadata())\n }\n\n /**\n * Emits the `UserChangedScrollDirection` event when the scrolling direction has changed.\n *\n * @param direction - The new direction of scroll.\n * @internal\n */\n const emitScrollDirectionChange = (direction: ScrollDirection) => {\n $x.emit('UserChangedScrollDirection', direction, createEventMetadata())\n }\n\n /**\n * Emits the 'UserReachedScrollStart' event when the user reaches the start.\n *\n * @param isAtStart - A boolean indicating if the scroll is at the ending position.\n * @internal\n */\n const emitScrollAtStart = (isAtStart: boolean) => {\n $x.emit('UserReachedScrollStart', isAtStart, createEventMetadata())\n }\n\n /**\n * Emits the 'UserAlmostReachedScrollEnd' event when the user is about to reach to end.\n *\n * @param isAlmostAtEnd - A boolean indicating if the scroll is almost at its ending position.\n * @internal\n */\n const emitScrollAlmostAtEnd = (isAlmostAtEnd: boolean) => {\n $x.emit('UserAlmostReachedScrollEnd', isAlmostAtEnd, createEventMetadata())\n }\n\n /**\n * Emits the 'UserReachedScrollEnd' event when the user is about to reach to end.\n *\n * @param isAtEnd - A boolean indicating if the scroll is at the ending position.\n * @internal\n */\n const emitScrollAtEnd = (isAtEnd: boolean) => {\n $x.emit('UserReachedScrollEnd', isAtEnd, createEventMetadata())\n }\n\n /**\n * Scrolls to initial position when the user has clicked the scroll to top button.\n *\n * @param scrollId - {@link XEventsTypes.UserClickedScrollToTop}.\n * @internal\n */\n $x.on('UserClickedScrollToTop', false).subscribe((scrollId: string) => {\n if (scrollId === props.id && scrollRef.value) {\n ;(scrollRef.value.$el as HTMLElement).scrollTo({ top: 0, behavior: 'smooth' })\n }\n })\n\n return {\n scrollRef,\n emitScrollAtEnd,\n emitScrollAlmostAtEnd,\n emitScrollAtStart,\n emitScrollDirectionChange,\n emitScroll,\n }\n },\n})\n</script>\n\n<docs lang=\"mdx\">\n## Events\n\nA list of events that the component will emit:\n\n- [`UserScrolled`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts):\n emitted after the user scrolls in this container. The payload is the scroll top distance in\n pixels.\n- [`UserChangedScrollDirection`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts):\n emitted when the user changes the scroll direction. The payload is the new scrolling direction.\n- [`UserReachedScrollStart`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts):\n emitted when the user scrolls up to the initial position of the scroll.\n- [`UserAlmostReachedScrollEnd`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts):\n emitted when the user is about to reach the bottom part of the scroll.\n- [`UserReachedScrollEnd`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts):\n emitted when the user has reached the bottom part of the scroll.\n\n## Example\n\nThe Scroll is a component that wraps the BaseScroll and provides it for a unique id.\n\n### Customized usage\n\n#### Overriding the properties\n\nIt renders an element with scroll, with the content passed in the `default slot`.\n\n```vue\n<template>\n <Scroll id=\"exampleScrollId\" throttleMs=\"50\" distanceToBottom=\"300\">\n <div class=\"content-scroll\">\n <span>content1</span>\n <span>content1</span>\n </div>\n </Scroll>\n</template>\n\n<script>\nimport { Scroll } from '@empathyco/x-components/scroll'\n\nexport default {\n name: 'ScrollIdTest',\n components: {\n Scroll,\n },\n}\n</script>\n```\n\n#### Using scroll events.\n\n```vue\n<template>\n <Scroll\n @scroll=\"scroll\"\n @scroll:direction-change=\"scrollDirectionChange\"\n @scroll:at-start=\"scrollAtStart\"\n @scroll:almost-at-end=\"scrollAlmostAtEnd\"\n @scroll:at-end=\"scrollAtEnd\"\n id=\"exampleScrollId\"\n throttleMs=\"50\"\n distanceToBottom=\"300\"\n >\n <div class=\"content-scroll\">\n <span>content1</span>\n <span>content1</span>\n </div>\n </Scroll>\n</template>\n\n<script>\nimport { Scroll } from '@empathyco/x-components/scroll'\n\nexport default {\n name: 'ScrollIdTest',\n components: {\n Scroll,\n },\n methods: {\n scroll(position) {\n console.log('scroll', position)\n },\n scrollDirectionChange(direction) {\n console.log('scroll:direction-change', direction)\n },\n scrollAtStart(isAtStart) {\n console.log('scroll:at-start', isAtStart)\n },\n scrollAlmostAtEnd(isAlmostAtEnd) {\n console.log('scroll:almost-at-end', isAlmostAtEnd)\n },\n scrollAtEnd(isAtEnd) {\n console.log('scroll:at-end', isAtEnd)\n },\n },\n}\n</script>\n```\n\n#### Using XEvents.\n\nYou can use the XEvents subscribing to them.\n\n```vue\n<template>\n <Scroll throttleMs=\"50\" distanceToBottom=\"300\">\n <div class=\"content-scroll\">\n <span>content1</span>\n <span>content1</span>\n </div>\n </Scroll>\n</template>\n\n<script>\nimport { Scroll } from '@empathyco/x-components/scroll'\n\nexport default {\n name: 'ScrollIdTest',\n components: {\n Scroll,\n },\n mounted() {\n this.$x.on('UserScrolled').subscribe(distance => {\n console.log(distance)\n })\n this.$x.on('UserChangedScrollDirection').subscribe(direction => {\n console.log(direction)\n })\n this.$x.on('UserReachedScrollStart').subscribe(isAtStart => {\n console.log(isAtStart)\n })\n this.$x.on('UserAlmostReachedScrollEnd').subscribe(isAlmostAtEnd => {\n console.log(isAlmostAtEnd)\n })\n this.$x.on('UserReachedScrollEnd').subscribe(isAtEnd => {\n console.log(isAtEnd)\n })\n },\n}\n</script>\n```\n</docs>\n"],"names":[],"mappings":";;;;;;AAwBA;;;;;AAKE;AACF,gBAAe,eAAe,CAAC;AAC7B,IAAA,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE,aAAa,CAAC,IAAI;IAC3B,UAAU,EAAE,EAAE,UAAS,EAAG;AAC1B,IAAA,KAAK,EAAE;AACL;;;;AAIE;AACF,QAAA,EAAE,EAAE;AACF,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,OAAO,EAAE,YAAY;AACtB,SAAA;AACF,KAAA;AACD,IAAA,KAAK,CAAC,KAAK,EAAA;AACT,QAAA,MAAM,EAAC,GAAI,KAAK,EAAC,CAAA;AAEjB,QAAA,MAAM,YAAY,GAAG,EAA0B,CAAA;AAE/C;;;;;AAKE;QACF,MAAM,mBAAoB,GAAE,MAA6B;YACvD,OAAO;AACL,gBAAA,MAAM,EAAE,SAAS,CAAC,KAAK,EAAE,GAAkB;gBAC3C,EAAE,EAAE,KAAK,CAAC,EAAE;aACd,CAAA;AACF,SAAA,CAAA;AAEA;;;;;AAKE;AACF,QAAA,MAAM,aAAa,CAAC,QAAgB,KAAK;YACvC,EAAE,CAAC,IAAI,CAAC,cAAc,EAAE,QAAQ,EAAE,mBAAmB,EAAE,CAAA,CAAA;AACzD,SAAA,CAAA;AAEA;;;;;AAKE;AACF,QAAA,MAAM,yBAAwB,GAAI,CAAC,SAA0B,KAAK;YAChE,EAAE,CAAC,IAAI,CAAC,4BAA4B,EAAE,SAAS,EAAE,mBAAmB,EAAE,CAAA,CAAA;AACxE,SAAA,CAAA;AAEA;;;;;AAKE;AACF,QAAA,MAAM,iBAAgB,GAAI,CAAC,SAAkB,KAAK;YAChD,EAAE,CAAC,IAAI,CAAC,wBAAwB,EAAE,SAAS,EAAE,mBAAmB,EAAE,CAAA,CAAA;AACpE,SAAA,CAAA;AAEA;;;;;AAKE;AACF,QAAA,MAAM,qBAAoB,GAAI,CAAC,aAAsB,KAAK;YACxD,EAAE,CAAC,IAAI,CAAC,4BAA4B,EAAE,aAAa,EAAE,mBAAmB,EAAE,CAAA,CAAA;AAC5E,SAAA,CAAA;AAEA;;;;;AAKE;AACF,QAAA,MAAM,eAAc,GAAI,CAAC,OAAgB,KAAK;YAC5C,EAAE,CAAC,IAAI,CAAC,sBAAsB,EAAE,OAAO,EAAE,mBAAmB,EAAE,CAAA,CAAA;AAChE,SAAA,CAAA;AAEA;;;;;AAKE;AACF,QAAA,EAAE,CAAC,EAAE,CAAC,wBAAwB,EAAE,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,QAAgB,KAAK;YACrE,IAAI,QAAO,KAAM,KAAK,CAAC,EAAC,IAAK,SAAS,CAAC,KAAK,EAAE;AAC1C,gBAAA,SAAS,CAAC,KAAK,CAAC,GAAmB,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,QAAQ,EAAE,UAAU,CAAA,CAAA;AAC/E,aAAA;AACF,SAAC,CAAA,CAAA;QAED,OAAO;YACL,SAAS;YACT,eAAe;YACf,qBAAqB;YACrB,iBAAiB;YACjB,yBAAyB;YACzB,UAAU;SACZ,CAAA;KACD;AACF,CAAA,CAAA;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emitters.js","sources":["../../../../../src/x-modules/scroll/store/emitters.ts"],"sourcesContent":["import { createStoreEmitters } from '../../../store'
|
|
1
|
+
{"version":3,"file":"emitters.js","sources":["../../../../../src/x-modules/scroll/store/emitters.ts"],"sourcesContent":["import { createStoreEmitters } from '../../../store'\nimport { scrollXStoreModule } from './module'\n\n/**\n * {@link StoreEmitters} For the scroll module.\n *\n * @internal\n */\nexport const scrollEmitters = createStoreEmitters(scrollXStoreModule, {})\n"],"names":[],"mappings":";;;;AAGA;;;;AAIG;AACU,MAAA,cAAc,GAAG,mBAAmB,CAAC,kBAAkB,EAAE,EAAE;;;;"}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
const scrollXStoreModule = {
|
|
7
7
|
state: () => ({
|
|
8
8
|
data: {},
|
|
9
|
-
pendingScrollTo: ''
|
|
9
|
+
pendingScrollTo: '',
|
|
10
10
|
}),
|
|
11
11
|
getters: {},
|
|
12
12
|
mutations: {
|
|
@@ -17,16 +17,16 @@ const scrollXStoreModule = {
|
|
|
17
17
|
hasAlmostReachedEnd: false,
|
|
18
18
|
hasReachedEnd: false,
|
|
19
19
|
position: 0,
|
|
20
|
-
direction: 'UP'
|
|
20
|
+
direction: 'UP',
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
23
|
Object.assign(state.data[id], newState);
|
|
24
24
|
},
|
|
25
25
|
setPendingScrollTo(state, pendingScrollTo) {
|
|
26
26
|
state.pendingScrollTo = pendingScrollTo;
|
|
27
|
-
}
|
|
27
|
+
},
|
|
28
28
|
},
|
|
29
|
-
actions: {}
|
|
29
|
+
actions: {},
|
|
30
30
|
};
|
|
31
31
|
|
|
32
32
|
export { scrollXStoreModule };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.js","sources":["../../../../../src/x-modules/scroll/store/module.ts"],"sourcesContent":["import { ScrollXStoreModule } from './types'
|
|
1
|
+
{"version":3,"file":"module.js","sources":["../../../../../src/x-modules/scroll/store/module.ts"],"sourcesContent":["import type { ScrollXStoreModule } from './types'\n\n/**\n * {@link XStoreModule} For the scroll module.\n *\n * @internal\n */\nexport const scrollXStoreModule: ScrollXStoreModule = {\n state: () => ({\n data: {},\n pendingScrollTo: '',\n }),\n getters: {},\n mutations: {\n setScrollComponentState(state, { id, newState }) {\n if (!state.data[id]) {\n state.data[id] = {\n hasReachedStart: false,\n hasAlmostReachedEnd: false,\n hasReachedEnd: false,\n position: 0,\n direction: 'UP',\n }\n }\n Object.assign(state.data[id], newState)\n },\n setPendingScrollTo(state, pendingScrollTo) {\n state.pendingScrollTo = pendingScrollTo\n },\n },\n actions: {},\n}\n"],"names":[],"mappings":"AAEA;;;;AAIG;AACU,MAAA,kBAAkB,GAAuB;AACpD,IAAA,KAAK,EAAE,OAAO;AACZ,QAAA,IAAI,EAAE,EAAE;AACR,QAAA,eAAe,EAAE,EAAE;KACpB,CAAC;AACF,IAAA,OAAO,EAAE,EAAE;AACX,IAAA,SAAS,EAAE;AACT,QAAA,uBAAuB,CAAC,KAAK,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAA;AAC7C,YAAA,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE;AACnB,gBAAA,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG;AACf,oBAAA,eAAe,EAAE,KAAK;AACtB,oBAAA,mBAAmB,EAAE,KAAK;AAC1B,oBAAA,aAAa,EAAE,KAAK;AACpB,oBAAA,QAAQ,EAAE,CAAC;AACX,oBAAA,SAAS,EAAE,IAAI;iBAChB,CAAA;AACF,aAAA;AACD,YAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,QAAQ,CAAC,CAAA;SACxC;QACD,kBAAkB,CAAC,KAAK,EAAE,eAAe,EAAA;AACvC,YAAA,KAAK,CAAC,eAAe,GAAG,eAAe,CAAA;SACxC;AACF,KAAA;AACD,IAAA,OAAO,EAAE,EAAE;;;;;"}
|