@empathyco/x-components 6.0.0-alpha.9 → 6.0.0-alpha.90
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 +679 -544
- package/core/index.js +52 -43
- package/core/index.js.map +1 -1
- package/design-system/deprecated-full-theme.css +6740 -6681
- package/docs/API-reference/api/x-adapter-platform.md +3 -0
- package/docs/API-reference/api/x-adapter-platform.nextqueriesrelatedpromptsschema.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.platformrelatedprompt.md +2 -0
- package/docs/API-reference/api/x-adapter-platform.platformrelatedprompt.suggestionimageurl.md +11 -0
- package/docs/API-reference/api/x-adapter-platform.platformrelatedprompt.tagging.md +11 -0
- package/docs/API-reference/api/x-adapter-platform.platformrelatedpromptnextqueriestagging.md +22 -0
- package/docs/API-reference/api/x-adapter-platform.platformrelatedpromptnextqueriestagging.toolingdisplay.md +11 -0
- package/docs/API-reference/api/x-adapter-platform.platformrelatedpromptnextqueriestagging.toolingdisplayadd2cart.md +11 -0
- package/docs/API-reference/api/x-adapter-platform.platformrelatedpromptnextqueriestagging.toolingdisplayclick.md +11 -0
- package/docs/API-reference/api/x-adapter-platform.platformrelatedprompttagging.md +22 -0
- package/docs/API-reference/api/x-adapter-platform.platformrelatedprompttagging.nextqueries.md +11 -0
- package/docs/API-reference/api/x-adapter-platform.platformrelatedprompttagging.toolingdisplay.md +11 -0
- package/docs/API-reference/api/x-adapter-platform.platformrelatedprompttagging.toolingdisplayclick.md +11 -0
- package/docs/API-reference/api/x-adapter-platform.platformsearchresponse.catalog.md +6 -0
- package/docs/API-reference/api/x-adapter-platform.platformsearchresponse.md +1 -1
- 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.allfilter.md +3 -3
- package/docs/API-reference/api/x-components.animationprop.md +6 -1
- package/docs/API-reference/api/x-components.bannerslist.md +3 -3
- package/docs/API-reference/api/x-components.baseaddtocart.md +1 -0
- package/docs/API-reference/api/x-components.basecolumnpickerdropdown.md +4 -4
- package/docs/API-reference/api/x-components.basedropdown.md +5 -5
- package/docs/API-reference/api/x-components.baseeventsmodal.md +2 -2
- package/docs/API-reference/api/x-components.baseeventsmodalclose.md +3 -3
- package/docs/API-reference/api/x-components.baseeventsmodalopen.md +3 -3
- package/docs/API-reference/api/x-components.basegrid.md +3 -3
- package/docs/API-reference/api/x-components.baseheadertogglepanel.md +5 -5
- package/docs/API-reference/api/x-components.baseidmodal.md +2 -2
- package/docs/API-reference/api/x-components.baseidtogglepanel.md +5 -5
- package/docs/API-reference/api/x-components.basemodal.md +10 -10
- package/docs/API-reference/api/x-components.baseresultimage.md +9 -9
- 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.baseslider.md +70 -0
- package/docs/API-reference/api/x-components.basesuggestions.md +3 -3
- package/docs/API-reference/api/x-components.baseswitch.md +1 -1
- package/docs/API-reference/api/x-components.basetabspanel.md +8 -8
- package/docs/API-reference/api/x-components.baseteleport.md +42 -0
- package/docs/API-reference/api/x-components.basetogglepanel.md +3 -3
- package/docs/API-reference/api/x-components.basevariablecolumngrid.md +3 -3
- 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 +13 -0
- 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.config.md +11 -0
- package/docs/API-reference/api/x-components.configmutations.md +24 -0
- package/docs/API-reference/api/x-components.configmutations.mergeconfig.md +13 -0
- package/docs/API-reference/api/x-components.configmutations.setconfig.md +13 -0
- package/docs/API-reference/api/x-components.createfetchandsaveactions.md +2 -2
- package/docs/API-reference/api/x-components.createrelatedtagsquerygetter.md +26 -0
- package/docs/API-reference/api/x-components.createrelatedtagsquerygetteroptions.getrelatedtags.md +13 -0
- package/docs/API-reference/api/x-components.createrelatedtagsquerygetteroptions.md +20 -0
- package/docs/API-reference/api/x-components.createstoreemitters.md +2 -2
- package/docs/API-reference/api/x-components.createtrackrelatedprompttoolingdisplayclickwire.md +19 -0
- package/docs/API-reference/api/x-components.createtracktoolingadd2cartwire.md +19 -0
- package/docs/API-reference/api/x-components.createtracktoolingdisplaywire.md +19 -0
- 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.defaultpdpaddtocartservice._constructor_.md → x-components.defaultexternaltaggingservice._constructor_.md} +3 -3
- package/docs/API-reference/api/x-components.defaultexternaltaggingservice.add_to_cart_id_key.md +13 -0
- package/docs/API-reference/api/x-components.defaultexternaltaggingservice.instance.md +13 -0
- package/docs/API-reference/api/x-components.defaultexternaltaggingservice.localstorageservice.md +11 -0
- package/docs/API-reference/api/x-components.defaultexternaltaggingservice.md +43 -0
- package/docs/API-reference/api/{x-components.pdpaddtocartservice.movetosessionstorage.md → x-components.defaultexternaltaggingservice.movetosessionstorage.md} +2 -2
- package/docs/API-reference/api/x-components.defaultexternaltaggingservice.result_clicked_id_key.md +13 -0
- package/docs/API-reference/api/x-components.defaultexternaltaggingservice.sessionstorageservice.md +11 -0
- package/docs/API-reference/api/x-components.defaultexternaltaggingservice.storagekey.md +11 -0
- package/docs/API-reference/api/x-components.defaultexternaltaggingservice.storagettlms.md +11 -0
- package/docs/API-reference/api/{x-components.defaultpdpaddtocartservice.store.md → x-components.defaultexternaltaggingservice.store.md} +2 -2
- package/docs/API-reference/api/x-components.defaultexternaltaggingservice.storeaddtocart.md +24 -0
- package/docs/API-reference/api/{x-components.pdpaddtocartservice.storeresultclicked.md → x-components.defaultexternaltaggingservice.storeresultclicked.md} +3 -3
- package/docs/API-reference/api/{x-components.pdpaddtocartservice.trackaddtocart.md → x-components.defaultexternaltaggingservice.trackaddtocart.md} +3 -3
- 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.displayclickprovider.md +66 -0
- package/docs/API-reference/api/x-components.empathize.md +6 -6
- package/docs/API-reference/api/x-components.empathizemutations.md +5 -5
- 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 +23 -0
- package/docs/API-reference/api/x-components.externaltaggingservice.movetosessionstorage.md +13 -0
- package/docs/API-reference/api/x-components.externaltaggingservice.storeaddtocart.md +13 -0
- package/docs/API-reference/api/x-components.externaltaggingservice.storeresultclicked.md +13 -0
- package/docs/API-reference/api/x-components.externaltaggingservice.trackaddtocart.md +13 -0
- 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.facets.md +6 -6
- package/docs/API-reference/api/x-components.facetsmutations.clearstickyfilters.md +2 -6
- package/docs/API-reference/api/x-components.facetsmutations.md +17 -17
- 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.fallbackdisclaimer.md +2 -2
- package/docs/API-reference/api/x-components.featurelocation.md +1 -1
- 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 +13 -0
- 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 +13 -0
- 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.filterslist.md +3 -3
- package/docs/API-reference/api/x-components.globalxbus.md +18 -2
- package/docs/API-reference/api/x-components.hierarchicalfilter.md +11 -3
- package/docs/API-reference/api/x-components.historyqueries.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.historyqueriesstate.md +1 -1
- package/docs/API-reference/api/x-components.historyqueriesswitch.md +1 -1
- package/docs/API-reference/api/x-components.historyquery.md +1 -1
- package/docs/API-reference/api/x-components.identifierresult.md +2 -2
- package/docs/API-reference/api/x-components.identifierresults.md +4 -4
- 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 +7 -7
- 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.identifierresultsstate.md +1 -1
- 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.domelement.md +1 -1
- package/docs/API-reference/api/x-components.installxoptions.installextraplugins.md +3 -14
- package/docs/API-reference/api/x-components.installxoptions.md +3 -8
- package/docs/API-reference/api/x-components.isios.md +13 -0
- package/docs/API-reference/api/x-components.itemslist.md +3 -3
- package/docs/API-reference/api/x-components.loadhistoryqueriesfrombrowserstorage.md +1 -1
- package/docs/API-reference/api/x-components.mainmodal.md +2 -2
- package/docs/API-reference/api/x-components.md +104 -64
- package/docs/API-reference/api/x-components.mergeconfig.md +27 -0
- package/docs/API-reference/api/x-components.multicolumnmaxwidthlayout.md +5 -5
- package/docs/API-reference/api/x-components.myhistory.md +4 -4
- package/docs/API-reference/api/x-components.nextqueries.md +1 -1
- 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.nextqueriesgroup.md +22 -0
- package/docs/API-reference/api/x-components.nextqueriesgroup.modelname.md +11 -0
- package/docs/API-reference/api/x-components.nextqueriesgroup.nextqueries.md +11 -0
- package/docs/API-reference/api/x-components.nextquerieslist.md +3 -3
- package/docs/API-reference/api/x-components.nextqueriesmutations.md +12 -12
- 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.nextqueriesstate.md +1 -1
- package/docs/API-reference/api/x-components.pageselector.md +80 -0
- package/docs/API-reference/api/x-components.partialresultslist.md +4 -4
- package/docs/API-reference/api/x-components.popularsearches.md +1 -1
- 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 +7 -7
- 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.promotedslist.md +3 -3
- 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 +14 -14
- 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.queryfeature.md +1 -1
- package/docs/API-reference/api/x-components.querymutations.md +20 -0
- package/docs/API-reference/api/x-components.querymutations.setquery.md +13 -0
- package/docs/API-reference/api/x-components.querypreview.md +2 -2
- package/docs/API-reference/api/x-components.querypreviewlist.md +3 -3
- package/docs/API-reference/api/x-components.querystate.md +20 -0
- package/docs/API-reference/api/x-components.querystate.query.md +13 -0
- package/docs/API-reference/api/x-components.querysuggestion.md +1 -1
- package/docs/API-reference/api/x-components.querysuggestions.md +1 -1
- 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 +7 -7
- 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.querysuggestionsstate.md +1 -1
- package/docs/API-reference/api/x-components.querysuggestionsxevents.md +0 -1
- package/docs/API-reference/api/x-components.recommendations.md +4 -4
- 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 +7 -7
- 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.relatedprompt.md +33 -0
- package/docs/API-reference/api/x-components.relatedpromptsactioncontext.md +15 -0
- package/docs/API-reference/api/x-components.relatedpromptsactions.cancelfetchandsaverelatedprompts.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptsactions.fetchandsaverelatedprompts.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptsactions.fetchrelatedprompts.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptsactions.md +23 -0
- package/docs/API-reference/api/x-components.relatedpromptsactions.seturlparams.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptsgetters.md +21 -0
- package/docs/API-reference/api/x-components.relatedpromptsgetters.query.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptsgetters.request.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptslist.md +72 -0
- package/docs/API-reference/api/x-components.relatedpromptsmutations.md +27 -0
- package/docs/API-reference/api/x-components.relatedpromptsmutations.resetrelatedpromptsstate.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptsmutations.resetselectedprompt.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptsmutations.setparams.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptsmutations.setrelatedpromptsproducts.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptsmutations.setrelatedpromptsrelatedtags.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptsmutations.setselectedprompt.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptsmutations.setselectedquery.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptsstate.md +25 -0
- package/docs/API-reference/api/x-components.relatedpromptsstate.params.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptsstate.relatedprompts.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptsstate.relatedtags.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptsstate.selectedprompt.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptsstate.selectedquery.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptstaglist.md +73 -0
- package/docs/API-reference/api/x-components.relatedpromptsxevents.md +27 -0
- package/docs/API-reference/api/x-components.relatedpromptsxevents.relatedpromptsrequestupdated.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptsxevents.relatedpromptsresponsechanged.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptsxevents.relatedpromptsunmounted.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptsxevents.selectedrelatedpromptchanged.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptsxevents.userclickedarelatedpromptadd2cart.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptsxevents.userclickedarelatedpromptresult.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptsxevents.userselectedarelatedprompt.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptsxevents.userselectedarelatedpromptquery.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptsxmodule.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptsxstoremodule.md +15 -0
- package/docs/API-reference/api/x-components.relatedtag.md +3 -3
- package/docs/API-reference/api/x-components.relatedtags.md +4 -4
- 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 +7 -7
- 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.relatedtagsstate.md +1 -1
- package/docs/API-reference/api/x-components.removefromhistory.md +1 -1
- package/docs/API-reference/api/x-components.removesearchinputfocus.md +13 -0
- 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.resultfeature.md +1 -1
- package/docs/API-reference/api/x-components.resultslist.md +3 -3
- 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.scrolltotop.md +6 -6
- 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 +5 -5
- package/docs/API-reference/api/x-components.searchboxmutations.setinputstatus.md +2 -13
- package/docs/API-reference/api/x-components.searchboxstate.md +1 -1
- 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.searchbutton.md +1 -1
- package/docs/API-reference/api/x-components.searchconfig.md +1 -0
- package/docs/API-reference/api/x-components.searchconfig.pagemode.md +11 -0
- package/docs/API-reference/api/x-components.searchinput.md +1 -1
- package/docs/API-reference/api/x-components.searchinputplaceholder.md +3 -3
- package/docs/API-reference/api/x-components.searchmutations.appendresults.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.md +30 -29
- 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 +13 -0
- 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.searchstate.md +2 -1
- package/docs/API-reference/api/x-components.searchstate.stats.md +13 -0
- package/docs/API-reference/api/x-components.searchxevents.md +1 -0
- package/docs/API-reference/api/x-components.searchxevents.userselectedapage.md +13 -0
- package/docs/API-reference/api/x-components.selectedfilterslist.md +3 -3
- package/docs/API-reference/api/x-components.semanticqueries.md +1 -1
- 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.semanticqueriesgetters.md +1 -0
- package/docs/API-reference/api/x-components.semanticqueriesgetters.query.md +13 -0
- package/docs/API-reference/api/x-components.semanticqueriesmutations.md +8 -7
- 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 +13 -0
- package/docs/API-reference/api/x-components.semanticqueriesmutations.settotalresults.md +2 -13
- package/docs/API-reference/api/x-components.semanticqueriesstate.md +2 -1
- package/docs/API-reference/api/x-components.semanticqueriesstate.relatedtags.md +13 -0
- package/docs/API-reference/api/x-components.semanticquery.md +1 -1
- package/docs/API-reference/api/x-components.setconfig.md +27 -0
- package/docs/API-reference/api/x-components.sethistoryqueries.md +1 -1
- package/docs/API-reference/api/x-components.setquery.md +25 -0
- 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.seturlprompt.md +13 -0
- package/docs/API-reference/api/x-components.simplefilter.md +9 -1
- package/docs/API-reference/api/x-components.singlecolumnlayout.md +3 -3
- package/docs/API-reference/api/x-components.slidingpanel.md +13 -5
- package/docs/API-reference/api/x-components.snippetcallbacks.md +9 -1
- package/docs/API-reference/api/x-components.sortdropdown.md +6 -6
- package/docs/API-reference/api/x-components.sortlist.md +5 -5
- package/docs/API-reference/api/x-components.sortpickerlist.md +5 -5
- 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.spellcheck.md +2 -2
- package/docs/API-reference/api/x-components.spellcheckbutton.md +1 -1
- 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.tagging.md +6 -6
- 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.taggingconfig.md +2 -2
- package/docs/API-reference/api/{x-components.taggingconfig.clickedresultstoragekey.md → x-components.taggingconfig.storagekey.md} +3 -3
- package/docs/API-reference/api/x-components.taggingconfig.storagettlms.md +13 -0
- package/docs/API-reference/api/x-components.taggingmutations.md +7 -7
- 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.taggingxevents.md +1 -1
- package/docs/API-reference/api/x-components.taggingxevents.resulturltrackingenabled.md +1 -1
- 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.tracknoresultsquerywithfallbackwire.md +13 -0
- package/docs/API-reference/api/x-components.tracknoresultsquerywithfallbackwiredebounced.md +13 -0
- package/docs/API-reference/api/x-components.tracknoresultsquerywithsemanticswire.md +6 -1
- package/docs/API-reference/api/x-components.tracknoresultsquerywithsemanticswiredebounced.md +6 -1
- package/docs/API-reference/api/x-components.trackrelatedprompttoolingdisplayclickwire.md +13 -0
- package/docs/API-reference/api/x-components.tracktoolingadd2cartwire.md +13 -0
- package/docs/API-reference/api/x-components.tracktoolingdisplayclickedwire.md +13 -0
- package/docs/API-reference/api/x-components.typing.md +13 -0
- package/docs/API-reference/api/x-components.typingoptions.md +22 -0
- package/docs/API-reference/api/x-components.typingoptions.speed.md +13 -0
- package/docs/API-reference/api/x-components.typingoptions.targetattr.md +18 -0
- package/docs/API-reference/api/x-components.typingoptions.text.md +13 -0
- package/docs/API-reference/api/x-components.urlmutations.md +14 -13
- 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 +13 -0
- 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.urlparams.md +1 -0
- package/docs/API-reference/api/x-components.urlparams.prompt.md +11 -0
- package/docs/API-reference/api/x-components.urlstate.md +1 -1
- 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.usealiasapi.md +1 -0
- package/docs/API-reference/api/x-components.usealiasapi.pricestats.md +16 -0
- package/docs/API-reference/api/x-components.useemitdisplayevent.md +2 -2
- package/docs/API-reference/api/x-components.usegetter.md +3 -17
- package/docs/API-reference/api/x-components.useondisplay.md +2 -2
- package/docs/API-reference/api/x-components.usestate.md +5 -4
- 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.xeventstypes.md +3 -3
- package/docs/API-reference/api/x-components.xinstaller.init.md +1 -1
- package/docs/API-reference/api/x-components.xmodulestree.md +1 -0
- package/docs/API-reference/api/x-components.xmodulestree.relatedprompts.md +11 -0
- 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/api/x-types.md +2 -1
- package/docs/API-reference/api/x-types.relatedprompt.md +5 -1
- package/docs/API-reference/api/x-types.relatedprompt.nextqueries.md +1 -1
- package/docs/API-reference/api/x-types.relatedprompt.relatedpromptnextqueries.md +13 -0
- package/docs/API-reference/api/x-types.relatedprompt.suggestionimageurl.md +13 -0
- package/docs/API-reference/api/x-types.relatedprompt.tagging.md +17 -0
- package/docs/API-reference/api/x-types.relatedprompt.toolingdisplaytagging.md +13 -0
- package/docs/API-reference/api/x-types.relatedpromptnextquery.md +23 -0
- package/docs/API-reference/api/x-types.relatedpromptnextquery.query.md +13 -0
- package/docs/API-reference/api/x-types.relatedpromptnextquery.toolingdisplayadd2carttagging.md +13 -0
- package/docs/API-reference/api/x-types.relatedpromptnextquery.toolingdisplayclicktagging.md +13 -0
- package/docs/API-reference/api/x-types.relatedpromptnextquery.toolingdisplaytagging.md +13 -0
- package/docs/API-reference/api/x-types.stats.md +1 -1
- package/docs/API-reference/api/x-types.stats.price.md +2 -2
- package/docs/API-reference/api/x-types.xcomponentsadapter.md +2 -0
- 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 +20 -20
- 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 +190 -0
- package/docs/API-reference/components/common/x-components.base-switch.md +27 -26
- package/docs/API-reference/components/common/x-components.base-teleport.md +21 -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-click-provider.md +17 -0
- 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 +3 -3
- 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 +137 -0
- package/docs/API-reference/components/common/x-components.sliding-panel.md +113 -112
- 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 +47 -47
- 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 +23 -23
- 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-prompt.md +22 -0
- package/docs/API-reference/components/related-prompts/x-components.related-prompts-list.md +196 -0
- package/docs/API-reference/components/related-prompts/x-components.related-prompts-tag-list.md +32 -0
- 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 +63 -62
- 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 +39 -40
- 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 +1 -2
- 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 -17
- package/js/components/base-dropdown.vue.js.map +1 -1
- package/js/components/base-dropdown.vue2.js +15 -21
- package/js/components/base-dropdown.vue2.js.map +1 -1
- package/js/components/base-event-button.vue.js +3 -4
- 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 +11 -18
- 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-grid.vue3.js +1 -1
- package/js/components/base-keyboard-navigation.vue.js +3 -4
- 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 +1 -3
- 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 +65 -0
- package/js/components/base-slider.vue.js.map +1 -0
- package/js/components/base-slider.vue2.js +109 -0
- package/js/components/base-slider.vue2.js.map +1 -0
- package/js/components/base-slider.vue3.js +7 -0
- package/js/components/base-slider.vue3.js.map +1 -0
- 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 +8 -12
- 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 +132 -0
- package/js/components/base-teleport.vue2.js.map +1 -0
- package/js/components/base-variable-column-grid.vue.js +1 -2
- 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 +5 -7
- 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 +1 -3
- 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 +73 -0
- package/js/components/display-click-provider.vue.js.map +1 -0
- package/js/components/display-click-provider.vue2.js +6 -0
- package/js/components/display-click-provider.vue2.js.map +1 -0
- 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 +1 -3
- 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/icons/cross-tiny.vue.js +2 -2
- package/js/components/icons/plus.vue.js +2 -2
- package/js/components/items-list.vue.js +1 -2
- package/js/components/items-list.vue.js.map +1 -1
- package/js/components/items-list.vue2.js +7 -7
- package/js/components/items-list.vue2.js.map +1 -1
- package/js/components/layouts/fixed-header-and-asides-layout.vue.js +9 -15
- 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 +2 -10
- 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 +9 -17
- 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 +1 -2
- 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 +1 -2
- 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 +3 -4
- 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 +3 -4
- 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 +4 -5
- package/js/components/modals/base-modal.vue.js.map +1 -1
- package/js/components/modals/base-modal.vue2.js +26 -17
- 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 +8 -10
- 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-loader-button.vue3.js +7 -0
- package/js/components/page-loader-button.vue3.js.map +1 -0
- package/js/components/page-selector.vue.js +78 -0
- package/js/components/page-selector.vue.js.map +1 -0
- package/js/components/page-selector.vue2.js +128 -0
- package/js/components/page-selector.vue2.js.map +1 -0
- package/js/components/page-selector.vue3.js +7 -0
- package/js/components/page-selector.vue3.js.map +1 -0
- package/js/components/panels/base-header-toggle-panel.vue.js +3 -7
- 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 +1 -2
- 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 +1 -2
- 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 +5 -8
- 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 +1 -2
- 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 +3 -3
- 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 +22 -8
- package/js/components/result/base-result-add-to-cart.vue2.js.map +1 -1
- package/js/components/result/base-result-current-price.vue.js +1 -2
- 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 +39 -59
- package/js/components/result/base-result-image.vue.js.map +1 -1
- package/js/components/result/base-result-image.vue2.js +18 -18
- package/js/components/result/base-result-image.vue2.js.map +1 -1
- package/js/components/result/base-result-link.vue.js +6 -7
- 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 +1 -2
- 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 +5 -8
- 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 +3 -5
- 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 +10 -13
- package/js/components/sliding-panel.vue.js.map +1 -1
- package/js/components/sliding-panel.vue2.js +10 -10
- 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 +3 -4
- 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 +1 -2
- 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 +12 -7
- 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 +11 -10
- 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 +8 -9
- 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 +57 -0
- package/js/directives/typing.js.map +1 -0
- package/js/index.js +113 -95
- 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 +5 -0
- 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/ios-utils.js +30 -0
- package/js/utils/ios-utils.js.map +1 -0
- 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 +10 -9
- 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 +1 -0
- 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 +4 -5
- package/js/x-modules/empathize/components/empathize.vue.js.map +1 -1
- package/js/x-modules/empathize/components/empathize.vue2.js +51 -45
- package/js/x-modules/empathize/components/empathize.vue2.js.map +1 -1
- package/js/x-modules/empathize/store/emitters.js +1 -0
- 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 +3 -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 +6 -7
- 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 +5 -5
- 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 +3 -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 +20 -33
- package/js/x-modules/facets/components/facets/facets.vue.js.map +1 -1
- package/js/x-modules/facets/components/facets/facets.vue2.js +10 -12
- package/js/x-modules/facets/components/facets/facets.vue2.js.map +1 -1
- package/js/x-modules/facets/components/filters/all-filter.vue.js +1 -2
- 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 +8 -8
- 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 +9 -14
- 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 +32 -24
- 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 +13 -16
- 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 +13 -16
- 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 +1 -2
- 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 +3 -5
- 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 +50 -63
- 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 +8 -8
- 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 +5 -8
- 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 -7
- 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 +1 -2
- 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 +7 -7
- 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 -9
- 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 +2 -11
- 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 +5 -10
- 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 +7 -7
- 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 +3 -6
- 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 +11 -11
- 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 +1 -2
- 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 +3 -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 +8 -10
- 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 +1 -2
- 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 +9 -9
- 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 +3 -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 +13 -15
- 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 +3 -9
- 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 +6 -6
- 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 +1 -3
- 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 +6 -6
- 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 +3 -6
- 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 +3 -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 +3 -6
- 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 +1 -7
- 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 +4 -4
- 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 +1 -2
- 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 -43
- 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 +26 -13
- 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 +1 -2
- 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 +69 -71
- 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 +5 -6
- 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 +3 -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 +8 -8
- 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 +6 -4
- 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 +1 -4
- 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 +7 -7
- 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 +1 -7
- 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 +2 -2
- 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 +2 -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 +1 -2
- package/js/x-modules/recommendations/components/recommendations.vue.js.map +1 -1
- package/js/x-modules/recommendations/components/recommendations.vue2.js +8 -10
- 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 +3 -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 +28 -0
- package/js/x-modules/related-prompts/components/related-prompt.vue.js.map +1 -0
- package/js/x-modules/related-prompts/components/related-prompt.vue2.js +31 -0
- package/js/x-modules/related-prompts/components/related-prompt.vue2.js.map +1 -0
- package/js/x-modules/related-prompts/components/related-prompt.vue3.js +7 -0
- package/js/x-modules/related-prompts/components/related-prompt.vue3.js.map +1 -0
- package/js/x-modules/related-prompts/components/related-prompts-list.vue.js +151 -0
- package/js/x-modules/related-prompts/components/related-prompts-list.vue.js.map +1 -0
- package/js/x-modules/related-prompts/components/related-prompts-list.vue2.js +6 -0
- package/js/x-modules/related-prompts/components/related-prompts-list.vue2.js.map +1 -0
- package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue.js +101 -0
- package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue.js.map +1 -0
- package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue2.js +219 -0
- package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue2.js.map +1 -0
- package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue3.js +7 -0
- package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue3.js.map +1 -0
- package/js/x-modules/related-prompts/store/actions/fetch-and-save-related-prompts.action.js +29 -0
- package/js/x-modules/related-prompts/store/actions/fetch-and-save-related-prompts.action.js.map +1 -0
- package/js/x-modules/related-prompts/store/actions/fetch-related-prompts.action.js +20 -0
- package/js/x-modules/related-prompts/store/actions/fetch-related-prompts.action.js.map +1 -0
- package/js/x-modules/related-prompts/store/actions/set-url-params.action.js +14 -0
- package/js/x-modules/related-prompts/store/actions/set-url-params.action.js.map +1 -0
- package/js/x-modules/related-prompts/store/emitters.js +17 -0
- package/js/x-modules/related-prompts/store/emitters.js.map +1 -0
- package/js/x-modules/related-prompts/store/getters/related-prompts-query.getter.js +18 -0
- package/js/x-modules/related-prompts/store/getters/related-prompts-query.getter.js.map +1 -0
- package/js/x-modules/related-prompts/store/getters/request.getter.js +17 -0
- package/js/x-modules/related-prompts/store/getters/request.getter.js.map +1 -0
- package/js/x-modules/related-prompts/store/module.js +64 -0
- package/js/x-modules/related-prompts/store/module.js.map +1 -0
- package/js/x-modules/related-prompts/wiring.js +82 -0
- package/js/x-modules/related-prompts/wiring.js.map +1 -0
- package/js/x-modules/related-prompts/x-module.js +21 -0
- package/js/x-modules/related-prompts/x-module.js.map +1 -0
- package/js/x-modules/related-tags/components/related-tag.vue.js +3 -4
- 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 +9 -9
- 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 +6 -9
- 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 -12
- 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 +3 -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 +15 -17
- package/js/x-modules/scroll/components/main-scroll-item.vue2.js.map +1 -1
- package/js/x-modules/scroll/components/main-scroll.vue.js +11 -11
- package/js/x-modules/scroll/components/main-scroll.vue.js.map +1 -1
- package/js/x-modules/scroll/components/scroll-to-top.vue.js +1 -2
- 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 -43
- 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 +1 -0
- 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 +10 -9
- 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 -6
- 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 +1 -2
- 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 -10
- 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 +7 -7
- 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 +8 -9
- package/js/x-modules/search/components/redirection.vue2.js.map +1 -1
- package/js/x-modules/search/components/results-list.vue.js +7 -13
- package/js/x-modules/search/components/results-list.vue.js.map +1 -1
- package/js/x-modules/search/components/sort-dropdown.vue.js +5 -7
- package/js/x-modules/search/components/sort-dropdown.vue.js.map +1 -1
- package/js/x-modules/search/components/sort-dropdown.vue2.js +6 -6
- 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 +9 -9
- 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 +9 -9
- 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 +5 -5
- 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 +4 -4
- 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 +13 -6
- 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 +3 -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 +6 -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 +16 -10
- package/js/x-modules/search/store/module.js.map +1 -1
- package/js/x-modules/search/wiring.js +29 -25
- 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 +1 -2
- 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 +6 -6
- 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 +3 -4
- 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 +6 -6
- 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 +9 -9
- 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 +11 -11
- 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 +2 -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 +1 -3
- 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 -7
- 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 +3 -6
- 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 +8 -8
- 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 +2 -2
- 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 +7 -6
- 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 +18 -0
- package/js/x-modules/semantic-queries/store/getters/semanti-queries-query.getter.js.map +1 -0
- package/js/x-modules/semantic-queries/store/module.js +14 -8
- package/js/x-modules/semantic-queries/store/module.js.map +1 -1
- package/js/x-modules/semantic-queries/wiring.js +11 -6
- 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 +17 -17
- package/js/x-modules/tagging/components/tagging.vue.js.map +1 -1
- package/js/x-modules/tagging/service/{pdp-add-to-cart.service.js → external-tagging.service.js} +61 -29
- package/js/x-modules/tagging/service/external-tagging.service.js.map +1 -0
- 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 +3 -3
- package/js/x-modules/tagging/store/emitters.js.map +1 -1
- package/js/x-modules/tagging/store/module.js +11 -7
- package/js/x-modules/tagging/store/module.js.map +1 -1
- package/js/x-modules/tagging/wiring.js +161 -37
- 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 +12 -14
- package/js/x-modules/url/components/url-handler.vue2.js.map +1 -1
- package/js/x-modules/url/store/emitters.js +4 -3
- package/js/x-modules/url/store/emitters.js.map +1 -1
- package/js/x-modules/url/store/getters/url-params.getter.js +2 -4
- package/js/x-modules/url/store/getters/url-params.getter.js.map +1 -1
- package/js/x-modules/url/store/initial-state.js +2 -1
- package/js/x-modules/url/store/initial-state.js.map +1 -1
- package/js/x-modules/url/store/module.js +7 -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 +23 -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 +70 -64
- package/popular-searches/index.js +2 -2
- package/queries-preview/index.js +4 -4
- package/query-suggestions/index.js +1 -1
- package/related-prompts/index.d.ts +1 -0
- package/related-prompts/index.js +9 -0
- package/related-tags/index.js +1 -1
- package/report/x-adapter-platform.api.json +317 -9
- package/report/x-components.api.json +18144 -21189
- package/report/x-components.api.md +1212 -529
- package/report/x-types.api.json +278 -8
- 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/tagging/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 +4 -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 +7 -7
- 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 +5 -5
- 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 +74 -0
- package/types/components/base-slider.vue.d.ts.map +1 -0
- package/types/components/base-switch.vue.d.ts +2 -1
- package/types/components/base-switch.vue.d.ts.map +1 -1
- package/types/components/base-teleport.vue.d.ts +55 -0
- package/types/components/base-teleport.vue.d.ts.map +1 -0
- package/types/components/base-variable-column-grid.vue.d.ts +5 -5
- 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 +61 -0
- package/types/components/display-click-provider.vue.d.ts.map +1 -0
- 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 +19 -3
- 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 +16 -12
- package/types/components/index.d.ts.map +1 -1
- package/types/components/items-list.vue.d.ts +5 -5
- 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 +5 -5
- 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 +3 -3
- 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 +5 -5
- 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 +5 -5
- package/types/components/modals/base-events-modal-open.vue.d.ts.map +1 -1
- package/types/components/modals/base-events-modal.vue.d.ts +4 -4
- 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 +2 -2
- package/types/components/modals/base-id-modal.vue.d.ts.map +1 -1
- package/types/components/modals/base-modal.vue.d.ts +10 -10
- 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 +3 -3
- 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 +125 -0
- package/types/components/page-selector.vue.d.ts.map +1 -0
- package/types/components/panels/base-header-toggle-panel.vue.d.ts +5 -5
- 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 +5 -5
- package/types/components/panels/base-id-toggle-panel.vue.d.ts.map +1 -1
- package/types/components/panels/base-tabs-panel.vue.d.ts +8 -8
- package/types/components/panels/base-tabs-panel.vue.d.ts.map +1 -1
- package/types/components/panels/base-toggle-panel.vue.d.ts +3 -3
- 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 +5 -3
- 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 +11 -11
- 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 +15 -5
- package/types/components/sliding-panel.vue.d.ts.map +1 -1
- package/types/components/snippet-callbacks.vue.d.ts +10 -2
- 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 +5 -5
- 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 +9 -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 +16 -6
- 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 +6 -7
- package/types/composables/use-state.d.ts.map +1 -1
- package/types/composables/use-store.d.ts +2 -2
- 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 +1 -0
- 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 +35 -0
- package/types/directives/typing.d.ts.map +1 -0
- package/types/index.d.ts +2 -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 +5 -2
- 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 +1 -2
- package/types/tailwind/plugin-options.d.ts.map +1 -1
- package/types/types/animation-prop.d.ts +6 -2
- 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 +4 -4
- package/types/types/origin.d.ts.map +1 -1
- package/types/types/page-mode.d.ts +2 -0
- package/types/types/page-mode.d.ts.map +1 -0
- package/types/types/url-params.d.ts +1 -0
- 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 +1 -0
- package/types/utils/index.d.ts.map +1 -1
- package/types/utils/ios-utils.d.ts +17 -0
- package/types/utils/ios-utils.d.ts.map +1 -0
- 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 +3 -0
- package/types/views/home/types.d.ts.map +1 -1
- package/types/wiring/events.types.d.ts +28 -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 +11 -11
- package/types/x-installer/x-installer/types.d.ts.map +1 -1
- package/types/x-installer/x-installer/x-installer.d.ts +12 -12
- 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 +7 -7
- 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 +9 -9
- 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 +6 -6
- 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 +15 -7
- 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 +13 -5
- 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 +6 -6
- 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 +5 -5
- 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 +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 +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 +4 -4
- 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 +6 -6
- 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 +4 -4
- 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 +5 -5
- 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 +3 -3
- 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 +3 -3
- 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 -0
- 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 +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 +6 -6
- 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 +6 -6
- 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 +5 -3
- 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 +3 -3
- 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 +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 -6
- 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 +5 -6
- 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 +4 -0
- package/types/x-modules/related-prompts/components/index.d.ts.map +1 -0
- package/types/x-modules/related-prompts/components/related-prompt.vue.d.ts +28 -0
- package/types/x-modules/related-prompts/components/related-prompt.vue.d.ts.map +1 -0
- package/types/x-modules/related-prompts/components/related-prompts-list.vue.d.ts +106 -0
- package/types/x-modules/related-prompts/components/related-prompts-list.vue.d.ts.map +1 -0
- package/types/x-modules/related-prompts/components/related-prompts-tag-list.vue.d.ts +132 -0
- package/types/x-modules/related-prompts/components/related-prompts-tag-list.vue.d.ts.map +1 -0
- package/types/x-modules/related-prompts/events.types.d.ts +50 -0
- package/types/x-modules/related-prompts/events.types.d.ts.map +1 -0
- package/types/x-modules/related-prompts/index.d.ts +6 -0
- package/types/x-modules/related-prompts/index.d.ts.map +1 -0
- package/types/x-modules/related-prompts/store/actions/fetch-and-save-related-prompts.action.d.ts +17 -0
- package/types/x-modules/related-prompts/store/actions/fetch-and-save-related-prompts.action.d.ts.map +1 -0
- package/types/x-modules/related-prompts/store/actions/fetch-related-prompts.action.d.ts +13 -0
- package/types/x-modules/related-prompts/store/actions/fetch-related-prompts.action.d.ts.map +1 -0
- package/types/x-modules/related-prompts/store/actions/set-url-params.action.d.ts +10 -0
- package/types/x-modules/related-prompts/store/actions/set-url-params.action.d.ts.map +1 -0
- package/types/x-modules/related-prompts/store/emitters.d.ts +11 -0
- package/types/x-modules/related-prompts/store/emitters.d.ts.map +1 -0
- package/types/x-modules/related-prompts/store/getters/index.d.ts +3 -0
- package/types/x-modules/related-prompts/store/getters/index.d.ts.map +1 -0
- package/types/x-modules/related-prompts/store/getters/related-prompts-query.getter.d.ts +13 -0
- package/types/x-modules/related-prompts/store/getters/related-prompts-query.getter.d.ts.map +1 -0
- package/types/x-modules/related-prompts/store/getters/request.getter.d.ts +14 -0
- package/types/x-modules/related-prompts/store/getters/request.getter.d.ts.map +1 -0
- package/types/x-modules/related-prompts/store/index.d.ts +6 -0
- package/types/x-modules/related-prompts/store/index.d.ts.map +1 -0
- package/types/x-modules/related-prompts/store/module.d.ts +8 -0
- package/types/x-modules/related-prompts/store/module.d.ts.map +1 -0
- package/types/x-modules/related-prompts/store/types.d.ts +125 -0
- package/types/x-modules/related-prompts/store/types.d.ts.map +1 -0
- package/types/x-modules/related-prompts/types.d.ts +10 -0
- package/types/x-modules/related-prompts/types.d.ts.map +1 -0
- package/types/x-modules/related-prompts/wiring.d.ts +42 -0
- package/types/x-modules/related-prompts/wiring.d.ts.map +1 -0
- package/types/x-modules/related-prompts/x-module.d.ts +16 -0
- package/types/x-modules/related-prompts/x-module.d.ts.map +1 -0
- 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 +6 -6
- package/types/x-modules/related-tags/components/related-tag.vue.d.ts.map +1 -1
- package/types/x-modules/related-tags/components/related-tags.vue.d.ts +6 -6
- 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 +7 -7
- 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 +3 -3
- 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 +2 -2
- 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 +4 -6
- 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 +3 -3
- 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 +3 -3
- 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 +9 -8
- 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 +10 -9
- 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 +10 -9
- 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 +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 +2 -2
- package/types/x-modules/search/components/spellcheck.vue.d.ts.map +1 -1
- package/types/x-modules/search/config.types.d.ts +2 -0
- package/types/x-modules/search/config.types.d.ts.map +1 -1
- package/types/x-modules/search/events.types.d.ts +6 -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 +3 -1
- package/types/x-modules/search/store/module.d.ts.map +1 -1
- package/types/x-modules/search/store/types.d.ts +48 -40
- 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 +6 -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 -3
- 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 +4 -4
- 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 +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 +1 -3
- 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 +3 -3
- 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 +2 -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 +2 -2
- 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 +3 -2
- 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 +13 -0
- package/types/x-modules/semantic-queries/store/getters/semanti-queries-query.getter.d.ts.map +1 -0
- 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 +24 -12
- package/types/x-modules/semantic-queries/store/types.d.ts.map +1 -1
- package/types/x-modules/semantic-queries/wiring.d.ts +3 -0
- 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 +14 -12
- package/types/x-modules/tagging/components/tagging.vue.d.ts.map +1 -1
- package/types/x-modules/tagging/config.types.d.ts +3 -3
- package/types/x-modules/tagging/config.types.d.ts.map +1 -1
- package/types/x-modules/tagging/events.types.d.ts +4 -4
- 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/{pdp-add-to-cart.service.d.ts → external-tagging.service.d.ts} +35 -17
- package/types/x-modules/tagging/service/external-tagging.service.d.ts.map +1 -0
- package/types/x-modules/tagging/service/index.d.ts +1 -1
- package/types/x-modules/tagging/service/index.d.ts.map +1 -1
- package/types/x-modules/tagging/service/types.d.ts +17 -8
- 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 +78 -7
- 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 +3 -5
- 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 +18 -12
- package/types/x-modules/url/store/types.d.ts.map +1 -1
- package/types/x-modules/url/wiring.d.ts +9 -0
- 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 +24 -22
- package/types/x-modules/x-modules.types.d.ts.map +1 -1
- package/url/index.js +1 -1
- package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.clickedresultstoragekey.md +0 -11
- package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.clickedresultstoragettlms.md +0 -11
- package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.instance.md +0 -13
- package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.localstorageservice.md +0 -11
- package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.md +0 -41
- package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.movetosessionstorage.md +0 -24
- package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.result_clicked_id_key.md +0 -13
- package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.sessionstorageservice.md +0 -11
- package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.storeresultclicked.md +0 -24
- package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.trackaddtocart.md +0 -24
- package/docs/API-reference/api/x-components.pdpaddtocartservice.md +0 -22
- package/docs/API-reference/api/x-components.querysuggestionsxevents.querysuggestionsdisplayed.md +0 -13
- package/docs/API-reference/api/x-components.taggingconfig.clickedresultstoragettlms.md +0 -13
- package/docs/API-reference/api/x-components.usestore.md +0 -19
- 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
- package/docs/assets/features/overview-my-history.svg +0 -279
- package/docs/assets/features/overview-product-results-card.svg +0 -128
- package/docs/assets/interface/build-search-ui.svg +0 -167
- package/docs/assets/interface/experience-search-intro.svg +0 -1
- package/docs/assets/interface/integration-guide.svg +0 -1
- package/docs/assets/interface/integration-video.png +0 -0
- package/docs/assets/interface/x-architecture.svg +0 -1
- package/docs/assets/interface/x-empathize.gif +0 -0
- package/docs/assets/interface/x-facets.gif +0 -0
- package/docs/assets/interface/x-facets.svg +0 -189
- package/docs/assets/interface/x-history-queries.gif +0 -0
- package/docs/assets/interface/x-id-results.gif +0 -0
- package/docs/assets/interface/x-next-queries.gif +0 -0
- package/docs/assets/interface/x-popular-searches.gif +0 -0
- package/docs/assets/interface/x-query-suggestions.gif +0 -0
- package/docs/assets/interface/x-recommendations.gif +0 -0
- package/docs/assets/interface/x-recommendations.svg +0 -472
- package/docs/assets/interface/x-related-tags.gif +0 -0
- package/docs/assets/interface/x-results-layout.svg +0 -259
- package/docs/assets/interface/x-search-box-elements.svg +0 -1
- package/docs/assets/interface/x-search-box.svg +0 -60
- package/docs/build-search-ui/README.md +0 -127
- package/docs/build-search-ui/sidebar.js +0 -7
- package/docs/build-search-ui/web-archetype-development-guide.md +0 -186
- package/docs/build-search-ui/web-archetype-integration-guide.md +0 -458
- package/docs/build-search-ui/web-how-to-use-x-components-guide.md +0 -200
- package/docs/build-search-ui/web-x-architecture.md +0 -83
- package/docs/build-search-ui/web-x-components-development-guide.md +0 -157
- package/docs/experience-search-and-discovery/README.md +0 -132
- package/docs/experience-search-and-discovery/empathize.md +0 -119
- package/docs/experience-search-and-discovery/facets-and-filters.md +0 -154
- package/docs/experience-search-and-discovery/history-queries.md +0 -70
- package/docs/experience-search-and-discovery/id-results.md +0 -49
- package/docs/experience-search-and-discovery/my-history.md +0 -60
- package/docs/experience-search-and-discovery/next-queries.md +0 -72
- package/docs/experience-search-and-discovery/popular-searches.md +0 -50
- package/docs/experience-search-and-discovery/product-results-ui.md +0 -82
- package/docs/experience-search-and-discovery/query-suggestions.md +0 -48
- package/docs/experience-search-and-discovery/recommendations.md +0 -134
- package/docs/experience-search-and-discovery/related-tags.md +0 -66
- package/docs/experience-search-and-discovery/search-box.md +0 -99
- package/docs/experience-search-and-discovery/serp-ui.md +0 -125
- package/docs/experience-search-and-discovery/sidebar.js +0 -17
- package/docs/experience-search-and-discovery/web-local-storage.md +0 -30
- package/docs/input-status-machine-state.png +0 -0
- package/js/composables/use-store.js +0 -15
- package/js/composables/use-store.js.map +0 -1
- package/js/utils/options-api.js +0 -4
- package/js/utils/options-api.js.map +0 -1
- package/js/x-modules/tagging/service/pdp-add-to-cart.service.js.map +0 -1
- package/types/utils/options-api.d.ts +0 -3
- package/types/utils/options-api.d.ts.map +0 -1
- package/types/x-modules/tagging/service/pdp-add-to-cart.service.d.ts.map +0 -1
|
@@ -21,7 +21,7 @@ class FilterEntityFactory {
|
|
|
21
21
|
HierarchicalFilterEntity,
|
|
22
22
|
NumberRangeFilterEntity,
|
|
23
23
|
EditableNumberRangeFilterEntity,
|
|
24
|
-
RawFilterEntity
|
|
24
|
+
RawFilterEntity,
|
|
25
25
|
];
|
|
26
26
|
/**
|
|
27
27
|
* The registered modifiers grouped by the facetId to be applied.
|
|
@@ -65,13 +65,16 @@ class FilterEntityFactory {
|
|
|
65
65
|
if (!filterEntityConstructor) {
|
|
66
66
|
throw new Error(`Entity configuration for ${filter.modelName} not registered.`);
|
|
67
67
|
}
|
|
68
|
+
// eslint-disable-next-line new-cap
|
|
68
69
|
const entity = new filterEntityConstructor(store);
|
|
69
70
|
const modifiers = isFacetFilter(filter)
|
|
70
|
-
? this.modifiersByFacetId[filter.facetId] ??
|
|
71
|
+
? (this.modifiersByFacetId[filter.facetId] ??
|
|
71
72
|
this.modifiersByFilterModelName[filter.modelName] ??
|
|
72
|
-
[]
|
|
73
|
+
[])
|
|
73
74
|
: [];
|
|
74
|
-
return modifiers.reduce(
|
|
75
|
+
return modifiers.reduce(
|
|
76
|
+
// eslint-disable-next-line new-cap
|
|
77
|
+
(modifiedEntity, modifier) => new modifier(store, modifiedEntity), entity);
|
|
75
78
|
}
|
|
76
79
|
/**
|
|
77
80
|
* Registers a new {@link FilterEntity} to be used by the factory.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter-entity.factory.js","sources":["../../../../../src/x-modules/facets/entities/filter-entity.factory.ts"],"sourcesContent":["import { Facet,
|
|
1
|
+
{"version":3,"file":"filter-entity.factory.js","sources":["../../../../../src/x-modules/facets/entities/filter-entity.factory.ts"],"sourcesContent":["import type { Facet, Filter, FilterModelName } from '@empathyco/x-types'\nimport type { Store } from 'vuex'\nimport type { RootXStoreState } from '../../../store/store.types'\nimport type { FilterEntity, FilterEntityConstructor, FilterEntityModifier } from './types'\nimport { isFacetFilter } from '@empathyco/x-types'\nimport { UNKNOWN_FACET_KEY } from '../store/constants'\nimport { EditableNumberRangeFilterEntity } from './editable-number-range-filter.entity'\nimport { HierarchicalFilterEntity } from './hierarchical-filter.entity'\nimport { NumberRangeFilterEntity } from './number-range-filter.entity'\nimport { RawFilterEntity } from './raw-filter.entity'\nimport { SimpleFilterEntity } from './simple-filter.entity'\n\n/**\n * Creates {@link FilterEntity | FilterEntities} based on the provided configs.\n *\n * @internal\n */\nexport class FilterEntityFactory {\n /**\n * The public global instance of the Singleton.\n *\n * @remarks The constructor is not private, so it's possible to create more instances,\n * to simplify the testing.\n */\n public static instance = new FilterEntityFactory()\n\n /**\n * The registered entities by default to be used by the Factory.\n */\n protected entities = [\n SimpleFilterEntity,\n HierarchicalFilterEntity,\n NumberRangeFilterEntity,\n EditableNumberRangeFilterEntity,\n RawFilterEntity,\n ] as FilterEntityConstructor[]\n\n /**\n * The registered modifiers grouped by the facetId to be applied.\n */\n protected modifiersByFacetId: Record<Facet['id'], FilterEntityModifier[]> = {}\n\n /**\n * The registered modifiers grouped by the filter `ModelName` to be applied.\n */\n protected modifiersByFilterModelName: Partial<Record<FilterModelName, FilterEntityModifier[]>> =\n {}\n\n /**\n * Contains the instantiated entities for each facet.\n *\n * @internal\n */\n protected cache: Record<Facet['id'] | typeof UNKNOWN_FACET_KEY, FilterEntity> = {}\n\n /**\n * Creates a new FilterEntity from a filter.\n *\n * @param store - The {@link https://vuex.vuejs.org/guide/ | Vuex Store} that the entity will\n * use.\n * @param filter - The {@link @empathyco/x-types#Filter | Filter} necessary to know what\n * {@link FilterEntity} to create.\n * @returns The {@link FilterEntity} created by the factory.\n */\n getFilterEntity(store: Store<RootXStoreState>, filter: Filter): FilterEntity {\n const cacheKey = isFacetFilter(filter) ? filter.facetId : UNKNOWN_FACET_KEY\n return this.cache[cacheKey] ?? (this.cache[cacheKey] = this.createFilterEntity(store, filter))\n }\n\n /**\n * Creates a brand new {@link FilterEntity} for the given\n * {@link @empathyco/x-types#Filter | Filter}.\n *\n * @param store - The store which should be mutated through the entity.\n * @param filter - The filter to create the entity for.\n * @returns A new {@link FilterEntity} for the given {@link @empathyco/x-types#Filter | Filter}.\n * @internal\n */\n protected createFilterEntity(store: Store<RootXStoreState>, filter: Filter): FilterEntity {\n const filterEntityConstructor = this.entities.find(entity => entity.accepts(filter))\n if (!filterEntityConstructor) {\n throw new Error(`Entity configuration for ${filter.modelName} not registered.`)\n }\n // eslint-disable-next-line new-cap\n const entity = new filterEntityConstructor(store)\n const modifiers = isFacetFilter(filter)\n ? (this.modifiersByFacetId[filter.facetId] ??\n this.modifiersByFilterModelName[filter.modelName] ??\n [])\n : []\n return modifiers.reduce(\n // eslint-disable-next-line new-cap\n (modifiedEntity, modifier) => new modifier(store, modifiedEntity),\n entity,\n )\n }\n\n /**\n * Registers a new {@link FilterEntity} to be used by the factory.\n *\n * @param entity - The new {@link FilterEntity} to be registered in the factory.\n */\n registerFilterEntity(entity: FilterEntityConstructor): void {\n if (!this.entities.includes(entity)) {\n this.entities.push(entity)\n }\n }\n\n /**\n * Registers a list of modifiers to be used with the {@link FilterEntity | FilterEntities} of a\n * particular facet.\n *\n * @param facetId - The facet id whose Entities will be modified.\n * @param modifiers - The list of modifiers to be registered.\n */\n registerModifierByFacetId(facetId: Facet['id'], ...modifiers: FilterEntityModifier[]): void {\n this.updateModifiers(this.modifiersByFacetId, facetId, modifiers)\n }\n\n /**\n * Registers a list of modifiers to be used with the {@link FilterEntity | FilterEntities} of a\n * particular facet.\n *\n * @param filterModelName - The facet ModelName whose Entities will be modified.\n * @param modifiers - The list of modifiers to be registered.\n */\n registerModifierByFilterModelName(\n filterModelName: FilterModelName,\n ...modifiers: FilterEntityModifier[]\n ): void {\n this.updateModifiers(this.modifiersByFilterModelName, filterModelName, modifiers)\n }\n\n /**\n * Updates the modifiers for a particular facet.\n *\n * @param modifiersRecord - The map of modifiers to be updated.\n * @param modifierKey - The id whose modifiers will be updated.\n * @param modifiers - The list of new modifiers to be registered.\n */\n protected updateModifiers(\n modifiersRecord: Record<string, FilterEntityModifier[]>,\n modifierKey: string | number,\n modifiers: FilterEntityModifier[],\n ): void {\n if (!modifiersRecord[modifierKey]) {\n modifiersRecord[modifierKey] = []\n }\n const facetModifiers = modifiersRecord[modifierKey]\n const newModifiers = modifiers.filter(modifier => !facetModifiers.includes(modifier))\n facetModifiers.push(...newModifiers)\n }\n}\n"],"names":[],"mappings":"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"}
|
|
@@ -14,9 +14,10 @@ class HierarchicalFilterEntity {
|
|
|
14
14
|
/**
|
|
15
15
|
* Deselects the hierarchical filter and all of its descendants.
|
|
16
16
|
*
|
|
17
|
-
* @param
|
|
17
|
+
* @param filterParam - The filter to deselect.
|
|
18
18
|
*/
|
|
19
|
-
deselect(
|
|
19
|
+
deselect(filterParam) {
|
|
20
|
+
const filter = filterParam;
|
|
20
21
|
this.saveFilter(filter, { selected: false });
|
|
21
22
|
this.deselectDescendants(filter);
|
|
22
23
|
addFacetIfNotPresent(this.store, filter.facetId, 'HierarchicalFacet');
|
|
@@ -24,9 +25,10 @@ class HierarchicalFilterEntity {
|
|
|
24
25
|
/**
|
|
25
26
|
* Selects the hierarchical filter and its ancestors.
|
|
26
27
|
*
|
|
27
|
-
* @param
|
|
28
|
+
* @param filterParam - The filter to select.
|
|
28
29
|
*/
|
|
29
|
-
select(
|
|
30
|
+
select(filterParam) {
|
|
31
|
+
const filter = filterParam;
|
|
30
32
|
this.saveFilter(filter, { selected: true });
|
|
31
33
|
this.selectAncestors(filter);
|
|
32
34
|
addFacetIfNotPresent(this.store, filter.facetId, 'HierarchicalFacet');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hierarchical-filter.entity.js","sources":["../../../../../src/x-modules/facets/entities/hierarchical-filter.entity.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"hierarchical-filter.entity.js","sources":["../../../../../src/x-modules/facets/entities/hierarchical-filter.entity.ts"],"sourcesContent":["import type { Filter, HierarchicalFilter } from '@empathyco/x-types'\nimport type { Store } from 'vuex'\nimport type { RootXStoreState } from '../../../store/store.types'\nimport type { FilterEntity } from './types'\nimport { isHierarchicalFilter } from '@empathyco/x-types'\nimport { addFacetIfNotPresent } from './add-facet-if-not-present'\n\n/**\n * Allows selecting and deselecting a filter of {@link @empathyco/x-types#HierarchicalFilter\n * | HierarchicalFilter}.\n *\n * @internal\n */\nexport class HierarchicalFilterEntity implements FilterEntity {\n public static accepts = isHierarchicalFilter\n\n public constructor(protected store: Store<RootXStoreState>) {}\n\n /**\n * Deselects the hierarchical filter and all of its descendants.\n *\n * @param filterParam - The filter to deselect.\n */\n deselect(filterParam: Filter): void {\n const filter = filterParam as HierarchicalFilter\n this.saveFilter(filter, { selected: false })\n this.deselectDescendants(filter)\n addFacetIfNotPresent(this.store, filter.facetId, 'HierarchicalFacet')\n }\n\n /**\n * Selects the hierarchical filter and its ancestors.\n *\n * @param filterParam - The filter to select.\n */\n select(filterParam: Filter): void {\n const filter = filterParam as HierarchicalFilter\n this.saveFilter(filter, { selected: true })\n this.selectAncestors(filter)\n addFacetIfNotPresent(this.store, filter.facetId, 'HierarchicalFacet')\n }\n\n /**\n * Deselects all the descendants of the given filter, saving them to the store.\n *\n * @remarks The descendants hierarchy is retrieved from the store.\n * @param filter - The filter to deselect its descendants.\n * @internal\n */\n protected deselectDescendants(filter: HierarchicalFilter): void {\n if (filter.children) {\n filter.children.forEach(child => {\n this.saveFilter(child, { selected: false })\n this.deselectDescendants(child)\n })\n }\n }\n\n /**\n * Selects all the ancestors of the given filter, saving them to the store.\n *\n * @remarks The ancestors hierarchy is retrieved from the store.\n * @param filter - The filter to select its ancestors.\n * @internal\n */\n protected selectAncestors(filter: HierarchicalFilter): void {\n if (filter.parentId) {\n const parent = this.getFilterById(filter.parentId)\n if (parent) {\n this.saveFilter(parent, { selected: true })\n this.selectAncestors(parent)\n }\n }\n }\n\n /**\n * Retrieves a hierarchical filter from the store by its id.\n *\n * @param id - The id of the filter to retrieve.\n * @returns The hierarchical filter retrieved from the store.\n * @internal\n */\n protected getFilterById(id: HierarchicalFilter['id']): HierarchicalFilter {\n return this.store.state.x.facets.filters[id] as HierarchicalFilter\n }\n\n /**\n * Saves the given filter to the store.\n *\n * @param filter - The filter to save to the store.\n * @param newFilterState - The new partial state of the filter.\n * @internal\n */\n protected saveFilter(\n filter: HierarchicalFilter,\n newFilterState: Partial<HierarchicalFilter> = {},\n ): void {\n this.store.commit('x/facets/mutateFilter', { filter, newFilterState })\n }\n}\n"],"names":[],"mappings":";;;AAOA;;;;;AAKG;MACU,wBAAwB,CAAA;AAGnC,IAAA,WAAA,CAA6B,KAA6B,EAAA;QAA7B,IAAK,CAAA,KAAA,GAAL,KAAK,CAAwB;KAAI;AAE9D;;;;AAIG;AACH,IAAA,QAAQ,CAAC,WAAmB,EAAA;QAC1B,MAAM,MAAM,GAAG,WAAiC,CAAA;QAChD,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,CAAA;AAC5C,QAAA,IAAI,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAA;QAChC,oBAAoB,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,OAAO,EAAE,mBAAmB,CAAC,CAAA;KACtE;AAED;;;;AAIG;AACH,IAAA,MAAM,CAAC,WAAmB,EAAA;QACxB,MAAM,MAAM,GAAG,WAAiC,CAAA;QAChD,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAA;AAC3C,QAAA,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,CAAA;QAC5B,oBAAoB,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,OAAO,EAAE,mBAAmB,CAAC,CAAA;KACtE;AAED;;;;;;AAMG;AACO,IAAA,mBAAmB,CAAC,MAA0B,EAAA;QACtD,IAAI,MAAM,CAAC,QAAQ,EAAE;AACnB,YAAA,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,KAAK,IAAG;gBAC9B,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,CAAA;AAC3C,gBAAA,IAAI,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAA;AACjC,aAAC,CAAC,CAAA;AACH,SAAA;KACF;AAED;;;;;;AAMG;AACO,IAAA,eAAe,CAAC,MAA0B,EAAA;QAClD,IAAI,MAAM,CAAC,QAAQ,EAAE;YACnB,MAAM,MAAM,GAAG,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAA;AAClD,YAAA,IAAI,MAAM,EAAE;gBACV,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAA;AAC3C,gBAAA,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,CAAA;AAC7B,aAAA;AACF,SAAA;KACF;AAED;;;;;;AAMG;AACO,IAAA,aAAa,CAAC,EAA4B,EAAA;AAClD,QAAA,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,CAAuB,CAAA;KACnE;AAED;;;;;;AAMG;AACO,IAAA,UAAU,CAClB,MAA0B,EAC1B,cAAA,GAA8C,EAAE,EAAA;AAEhD,QAAA,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,uBAAuB,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC,CAAA;KACvE;;AApFa,wBAAO,CAAA,OAAA,GAAG,oBAAoB;;;;"}
|
|
@@ -13,18 +13,20 @@ class NumberRangeFilterEntity {
|
|
|
13
13
|
/**
|
|
14
14
|
* Deselects and saves to the store the given filter.
|
|
15
15
|
*
|
|
16
|
-
* @param
|
|
16
|
+
* @param filterParam - The filter to deselect.
|
|
17
17
|
*/
|
|
18
|
-
deselect(
|
|
18
|
+
deselect(filterParam) {
|
|
19
|
+
const filter = filterParam;
|
|
19
20
|
this.store.commit('x/facets/mutateFilter', { filter, newFilterState: { selected: false } });
|
|
20
21
|
addFacetIfNotPresent(this.store, filter.facetId, 'NumberRangeFacet');
|
|
21
22
|
}
|
|
22
23
|
/**
|
|
23
24
|
* Selects and saves to the store the given filter.
|
|
24
25
|
*
|
|
25
|
-
* @param
|
|
26
|
+
* @param filterParam - The filter to select.
|
|
26
27
|
*/
|
|
27
|
-
select(
|
|
28
|
+
select(filterParam) {
|
|
29
|
+
const filter = filterParam;
|
|
28
30
|
this.store.commit('x/facets/mutateFilter', { filter, newFilterState: { selected: true } });
|
|
29
31
|
addFacetIfNotPresent(this.store, filter.facetId, 'NumberRangeFacet');
|
|
30
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"number-range-filter.entity.js","sources":["../../../../../src/x-modules/facets/entities/number-range-filter.entity.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"number-range-filter.entity.js","sources":["../../../../../src/x-modules/facets/entities/number-range-filter.entity.ts"],"sourcesContent":["import type { Filter, NumberRangeFilter } from '@empathyco/x-types'\nimport type { Store } from 'vuex'\nimport type { RootXStoreState } from '../../../store/store.types'\nimport type { FilterEntity } from './types'\nimport { isNumberRangeFilter } from '@empathyco/x-types'\nimport { addFacetIfNotPresent } from './add-facet-if-not-present'\n\n/**\n * Allows selecting and deselecting a filter of {@link NumberRangeFilter}.\n *\n * @internal\n */\nexport class NumberRangeFilterEntity implements FilterEntity {\n public static accepts = isNumberRangeFilter\n\n public constructor(protected store: Store<RootXStoreState>) {}\n\n /**\n * Deselects and saves to the store the given filter.\n *\n * @param filterParam - The filter to deselect.\n */\n deselect(filterParam: Filter): void {\n const filter = filterParam as NumberRangeFilter\n this.store.commit('x/facets/mutateFilter', { filter, newFilterState: { selected: false } })\n addFacetIfNotPresent(this.store, filter.facetId, 'NumberRangeFacet')\n }\n\n /**\n * Selects and saves to the store the given filter.\n *\n * @param filterParam - The filter to select.\n */\n select(filterParam: Filter): void {\n const filter = filterParam as NumberRangeFilter\n this.store.commit('x/facets/mutateFilter', { filter, newFilterState: { selected: true } })\n addFacetIfNotPresent(this.store, filter.facetId, 'NumberRangeFacet')\n }\n}\n"],"names":[],"mappings":";;;AAOA;;;;AAIG;MACU,uBAAuB,CAAA;AAGlC,IAAA,WAAA,CAA6B,KAA6B,EAAA;QAA7B,IAAK,CAAA,KAAA,GAAL,KAAK,CAAwB;KAAI;AAE9D;;;;AAIG;AACH,IAAA,QAAQ,CAAC,WAAmB,EAAA;QAC1B,MAAM,MAAM,GAAG,WAAgC,CAAA;AAC/C,QAAA,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,uBAAuB,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,CAAC,CAAA;QAC3F,oBAAoB,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,OAAO,EAAE,kBAAkB,CAAC,CAAA;KACrE;AAED;;;;AAIG;AACH,IAAA,MAAM,CAAC,WAAmB,EAAA;QACxB,MAAM,MAAM,GAAG,WAAgC,CAAA;AAC/C,QAAA,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,uBAAuB,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,CAAC,CAAA;QAC1F,oBAAoB,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,OAAO,EAAE,kBAAkB,CAAC,CAAA;KACrE;;AAxBa,uBAAO,CAAA,OAAA,GAAG,mBAAmB;;;;"}
|
|
@@ -12,21 +12,23 @@ class RawFilterEntity {
|
|
|
12
12
|
/**
|
|
13
13
|
* It deselects the {@link @empathyco/x-types#RawFilter | RawFilter}.
|
|
14
14
|
*
|
|
15
|
-
* @param
|
|
15
|
+
* @param filterParam - The filter to deselect.
|
|
16
16
|
* @remarks As the {@link @empathyco/x-types#RawFilter.selected} is always true,
|
|
17
17
|
* the deselection just removes the filter from the store.
|
|
18
18
|
*/
|
|
19
|
-
deselect(
|
|
19
|
+
deselect(filterParam) {
|
|
20
|
+
const filter = filterParam;
|
|
20
21
|
this.store.commit('x/facets/removeFilter', filter);
|
|
21
22
|
}
|
|
22
23
|
/**
|
|
23
24
|
* It selects the {@link @empathyco/x-types#RawFilter | RawFilter}.
|
|
24
25
|
*
|
|
25
|
-
* @param
|
|
26
|
+
* @param filterParam - The filter to select.
|
|
26
27
|
* @remarks As the {@link @empathyco/x-types#RawFilter.selected} is always true,
|
|
27
28
|
* there is no need to set this property.
|
|
28
29
|
*/
|
|
29
|
-
select(
|
|
30
|
+
select(filterParam) {
|
|
31
|
+
const filter = filterParam;
|
|
30
32
|
this.store.commit('x/facets/mutateFilter', { filter, newFilterState: { selected: true } });
|
|
31
33
|
}
|
|
32
34
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"raw-filter.entity.js","sources":["../../../../../src/x-modules/facets/entities/raw-filter.entity.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"raw-filter.entity.js","sources":["../../../../../src/x-modules/facets/entities/raw-filter.entity.ts"],"sourcesContent":["import type { Filter, RawFilter } from '@empathyco/x-types'\nimport type { Store } from 'vuex'\nimport type { FilterEntity } from './types'\nimport { isRawFilter } from '@empathyco/x-types'\n\n/**\n * Allows selecting and deselecting a filter of {@link @empathyco/x-types#RawFilter | RawFilter}.\n *\n * @internal\n */\nexport class RawFilterEntity implements FilterEntity {\n public static accepts = isRawFilter\n\n public constructor(protected store: Store<unknown>) {}\n\n /**\n * It deselects the {@link @empathyco/x-types#RawFilter | RawFilter}.\n *\n * @param filterParam - The filter to deselect.\n * @remarks As the {@link @empathyco/x-types#RawFilter.selected} is always true,\n * the deselection just removes the filter from the store.\n */\n deselect(filterParam: Filter): void {\n const filter = filterParam as RawFilter\n this.store.commit('x/facets/removeFilter', filter)\n }\n\n /**\n * It selects the {@link @empathyco/x-types#RawFilter | RawFilter}.\n *\n * @param filterParam - The filter to select.\n * @remarks As the {@link @empathyco/x-types#RawFilter.selected} is always true,\n * there is no need to set this property.\n */\n select(filterParam: Filter): void {\n const filter = filterParam as RawFilter\n this.store.commit('x/facets/mutateFilter', { filter, newFilterState: { selected: true } })\n }\n}\n"],"names":[],"mappings":";;AAKA;;;;AAIG;MACU,eAAe,CAAA;AAG1B,IAAA,WAAA,CAA6B,KAAqB,EAAA;QAArB,IAAK,CAAA,KAAA,GAAL,KAAK,CAAgB;KAAI;AAEtD;;;;;;AAMG;AACH,IAAA,QAAQ,CAAC,WAAmB,EAAA;QAC1B,MAAM,MAAM,GAAG,WAAwB,CAAA;QACvC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,uBAAuB,EAAE,MAAM,CAAC,CAAA;KACnD;AAED;;;;;;AAMG;AACH,IAAA,MAAM,CAAC,WAAmB,EAAA;QACxB,MAAM,MAAM,GAAG,WAAwB,CAAA;AACvC,QAAA,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,uBAAuB,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,CAAC,CAAA;KAC3F;;AA1Ba,eAAO,CAAA,OAAA,GAAG,WAAW;;;;"}
|
|
@@ -13,18 +13,20 @@ class SimpleFilterEntity {
|
|
|
13
13
|
/**
|
|
14
14
|
* Deselects and saves to the store the given filter.
|
|
15
15
|
*
|
|
16
|
-
* @param
|
|
16
|
+
* @param filterParam - The filter to deselect.
|
|
17
17
|
*/
|
|
18
|
-
deselect(
|
|
18
|
+
deselect(filterParam) {
|
|
19
|
+
const filter = filterParam;
|
|
19
20
|
this.store.commit('x/facets/mutateFilter', { filter, newFilterState: { selected: false } });
|
|
20
21
|
addFacetIfNotPresent(this.store, filter.facetId, 'SimpleFacet');
|
|
21
22
|
}
|
|
22
23
|
/**
|
|
23
24
|
* Selects and saves to the store the given filter.
|
|
24
25
|
*
|
|
25
|
-
* @param
|
|
26
|
+
* @param filterParam - The filter to select.
|
|
26
27
|
*/
|
|
27
|
-
select(
|
|
28
|
+
select(filterParam) {
|
|
29
|
+
const filter = filterParam;
|
|
28
30
|
this.store.commit('x/facets/mutateFilter', { filter, newFilterState: { selected: true } });
|
|
29
31
|
addFacetIfNotPresent(this.store, filter.facetId, 'SimpleFacet');
|
|
30
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simple-filter.entity.js","sources":["../../../../../src/x-modules/facets/entities/simple-filter.entity.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"simple-filter.entity.js","sources":["../../../../../src/x-modules/facets/entities/simple-filter.entity.ts"],"sourcesContent":["import type { Filter, SimpleFilter } from '@empathyco/x-types'\nimport type { Store } from 'vuex'\nimport type { RootXStoreState } from '../../../store/store.types'\nimport type { FilterEntity } from './types'\nimport { isSimpleFilter } from '@empathyco/x-types'\nimport { addFacetIfNotPresent } from './add-facet-if-not-present'\n\n/**\n * Allows selecting and deselecting a filter of {@link SimpleFilter}.\n *\n * @internal\n */\nexport class SimpleFilterEntity implements FilterEntity {\n public static accepts = isSimpleFilter\n\n public constructor(protected store: Store<RootXStoreState>) {}\n\n /**\n * Deselects and saves to the store the given filter.\n *\n * @param filterParam - The filter to deselect.\n */\n deselect(filterParam: Filter): void {\n const filter = filterParam as SimpleFilter\n this.store.commit('x/facets/mutateFilter', { filter, newFilterState: { selected: false } })\n addFacetIfNotPresent(this.store, filter.facetId, 'SimpleFacet')\n }\n\n /**\n * Selects and saves to the store the given filter.\n *\n * @param filterParam - The filter to select.\n */\n select(filterParam: Filter): void {\n const filter = filterParam as SimpleFilter\n this.store.commit('x/facets/mutateFilter', { filter, newFilterState: { selected: true } })\n addFacetIfNotPresent(this.store, filter.facetId, 'SimpleFacet')\n }\n}\n"],"names":[],"mappings":";;;AAOA;;;;AAIG;MACU,kBAAkB,CAAA;AAG7B,IAAA,WAAA,CAA6B,KAA6B,EAAA;QAA7B,IAAK,CAAA,KAAA,GAAL,KAAK,CAAwB;KAAI;AAE9D;;;;AAIG;AACH,IAAA,QAAQ,CAAC,WAAmB,EAAA;QAC1B,MAAM,MAAM,GAAG,WAA2B,CAAA;AAC1C,QAAA,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,uBAAuB,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,CAAC,CAAA;QAC3F,oBAAoB,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,OAAO,EAAE,aAAa,CAAC,CAAA;KAChE;AAED;;;;AAIG;AACH,IAAA,MAAM,CAAC,WAAmB,EAAA;QACxB,MAAM,MAAM,GAAG,WAA2B,CAAA;AAC1C,QAAA,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,uBAAuB,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,CAAC,CAAA;QAC1F,oBAAoB,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,OAAO,EAAE,aAAa,CAAC,CAAA;KAChE;;AAxBa,kBAAO,CAAA,OAAA,GAAG,cAAc;;;;"}
|
|
@@ -79,7 +79,9 @@ class SingleSelectModifier extends BaseFilterEntityModifier {
|
|
|
79
79
|
* @internal
|
|
80
80
|
*/
|
|
81
81
|
getFacetFilters(facetId) {
|
|
82
|
-
return (
|
|
82
|
+
return (
|
|
83
|
+
// eslint-disable-next-line ts/no-unsafe-member-access
|
|
84
|
+
this.store.getters['x/facets/facets'][facetId]
|
|
83
85
|
?.filters ?? []);
|
|
84
86
|
}
|
|
85
87
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"single-select.modifier.js","sources":["../../../../../src/x-modules/facets/entities/single-select.modifier.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"single-select.modifier.js","sources":["../../../../../src/x-modules/facets/entities/single-select.modifier.ts"],"sourcesContent":["import type { Facet, FacetFilter, Filter, HierarchicalFilter } from '@empathyco/x-types'\nimport { isFacetFilter, isHierarchicalFilter } from '@empathyco/x-types'\nimport { BaseFilterEntityModifier } from './types'\n\n/**\n * Allows only to select only one filter from the same facet at the same time.\n *\n * @internal\n */\nexport class SingleSelectModifier extends BaseFilterEntityModifier {\n /**\n * Selects the passed filter, and then deselects any other filter of the same facet.\n *\n * @param filter - The filter to select.\n */\n select(filter: FacetFilter): void {\n this.getOtherFilters(filter).forEach(filter => this.deselect.bind(this)(filter))\n this.entity.select(filter)\n }\n\n /**\n * Retrieves the rest of selected filters of the same facet than the one given.\n *\n * @param filter - The filter to find its relatives.\n * @returns A list of selected filters that belong to the same facet than the filter passed.\n * @remarks It takes into account if the passed filter is an\n * {@link @empathyco/x-types#HierarchicalFilter | HierarchicalFilter} to exclude the ancestors and\n * descendants.\n *\n * @internal\n */\n protected getOtherFilters(filter: FacetFilter): FacetFilter[] {\n /* This check seems dumb, but when you instantiate this modifier using the factory, the types\n `FacetFilter` parameter type is lost, so we should check it to avoid unexpected crashes\n due to a wrong configuration. */\n if (isHierarchicalFilter(filter)) {\n const ancestorsIds = this.getAncestorsIds(filter)\n const descendantsIds = this.getDescendantsIds(filter)\n return this.getFacetFilters(filter.facetId).filter(\n storeFilter =>\n !ancestorsIds.includes(storeFilter.id) && !descendantsIds.includes(storeFilter.id),\n )\n } else if (isFacetFilter(filter)) {\n return this.getFacetFilters(filter.facetId).filter(\n storeFilter => storeFilter.id !== filter.id && storeFilter.selected,\n )\n } else {\n // TODO Add a warning in case a non facet filter is passed here.\n return []\n }\n }\n\n /**\n * Returns the ancestors Filters Ids of the passed filter.\n *\n * @param filter - The {@link @empathyco/x-types#Filter | Filter} which obtain the ancestors from.\n * @param ids - (Optional) an Array with the Ids used to execute the method recursively.\n * @returns An Array with the ancestors ids.\n * @internal\n */\n protected getAncestorsIds(\n filter: HierarchicalFilter,\n ids: Array<Filter['id']> = [filter.id],\n ): Array<Filter['id']> {\n return filter?.parentId\n ? this.getAncestorsIds(\n this.store.state.x.facets.filters[filter.parentId] as HierarchicalFilter,\n [filter.parentId, ...ids],\n )\n : ids\n }\n\n /**\n * Returns the descendants Filters Ids of the passed filter.\n *\n * @param filter - The {@link @empathyco/x-types#Filter | Filter} which obtain the descendants\n * from.\n * @param ids - (Optional) an Array with the Ids used to execute the method recursively.\n * @returns An Array with the descendants ids.\n * @internal\n */\n protected getDescendantsIds(\n filter: HierarchicalFilter,\n ids: Array<Filter['id']> = [filter.id],\n ): Array<Filter['id']> {\n return filter?.children?.length\n ? filter?.children.reduce(\n (descendantIdsList, descendant) =>\n this.getDescendantsIds(descendant, [descendant.id, ...descendantIdsList]),\n ids,\n )\n : ids\n }\n\n /**\n * Retrieves All the filters from the given facet.\n *\n * @param facetId - The facet id to retrieve its filters.\n * @returns The filters from the given facet.\n * @internal\n */\n protected getFacetFilters(facetId: Facet['id']): FacetFilter[] {\n return (\n // eslint-disable-next-line ts/no-unsafe-member-access\n ((this.store.getters['x/facets/facets'] as Record<Facet['id'], Facet>)[facetId]\n ?.filters as FacetFilter[]) ?? []\n )\n }\n}\n"],"names":[],"mappings":";;;AAIA;;;;AAIG;AACG,MAAO,oBAAqB,SAAQ,wBAAwB,CAAA;AAChE;;;;AAIG;AACH,IAAA,MAAM,CAAC,MAAmB,EAAA;QACxB,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,MAAM,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAA;AAChF,QAAA,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAA;KAC3B;AAED;;;;;;;;;;AAUG;AACO,IAAA,eAAe,CAAC,MAAmB,EAAA;AAC3C;;AAEkC;AAClC,QAAA,IAAI,oBAAoB,CAAC,MAAM,CAAC,EAAE;YAChC,MAAM,YAAY,GAAG,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,CAAA;YACjD,MAAM,cAAc,GAAG,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAA;AACrD,YAAA,OAAO,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,CAChD,WAAW,IACT,CAAC,YAAY,CAAC,QAAQ,CAAC,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,WAAW,CAAC,EAAE,CAAC,CACrF,CAAA;AACF,SAAA;AAAM,aAAA,IAAI,aAAa,CAAC,MAAM,CAAC,EAAE;YAChC,OAAO,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,CAChD,WAAW,IAAI,WAAW,CAAC,EAAE,KAAK,MAAM,CAAC,EAAE,IAAI,WAAW,CAAC,QAAQ,CACpE,CAAA;AACF,SAAA;AAAM,aAAA;;AAEL,YAAA,OAAO,EAAE,CAAA;AACV,SAAA;KACF;AAED;;;;;;;AAOG;IACO,eAAe,CACvB,MAA0B,EAC1B,GAAA,GAA2B,CAAC,MAAM,CAAC,EAAE,CAAC,EAAA;QAEtC,OAAO,MAAM,EAAE,QAAQ;AACrB,cAAE,IAAI,CAAC,eAAe,CAClB,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAuB,EACxE,CAAC,MAAM,CAAC,QAAQ,EAAE,GAAG,GAAG,CAAC,CAC1B;cACD,GAAG,CAAA;KACR;AAED;;;;;;;;AAQG;IACO,iBAAiB,CACzB,MAA0B,EAC1B,GAAA,GAA2B,CAAC,MAAM,CAAC,EAAE,CAAC,EAAA;AAEtC,QAAA,OAAO,MAAM,EAAE,QAAQ,EAAE,MAAM;AAC7B,cAAE,MAAM,EAAE,QAAQ,CAAC,MAAM,CACrB,CAAC,iBAAiB,EAAE,UAAU,KAC5B,IAAI,CAAC,iBAAiB,CAAC,UAAU,EAAE,CAAC,UAAU,CAAC,EAAE,EAAE,GAAG,iBAAiB,CAAC,CAAC,EAC3E,GAAG,CACJ;cACD,GAAG,CAAA;KACR;AAED;;;;;;AAMG;AACO,IAAA,eAAe,CAAC,OAAoB,EAAA;QAC5C;;QAEI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,iBAAiB,CAAgC,CAAC,OAAO,CAAC;AAC7E,cAAE,OAAyB,IAAI,EAAE,EACpC;KACF;AACF;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sticky.modifier.js","sources":["../../../../../src/x-modules/facets/entities/sticky.modifier.ts"],"sourcesContent":["import { Filter } from '@empathyco/x-types'
|
|
1
|
+
{"version":3,"file":"sticky.modifier.js","sources":["../../../../../src/x-modules/facets/entities/sticky.modifier.ts"],"sourcesContent":["import type { Filter } from '@empathyco/x-types'\nimport { BaseFilterEntityModifier } from './types'\n\n/**\n * A dictionary with information about whether to keep or remove sticky filters.\n */\ninterface Metadata {\n keepSticky: boolean\n}\n\n/**\n * Allows to persist a filter between different queries.\n *\n * @remarks when using this modifier along with others, make sure this is the first one defined.\n *\n * @internal\n */\nexport class StickyModifier extends BaseFilterEntityModifier<Metadata> {\n /**\n * Deselects the passed filter unless the metadata has the `keepSticky` flag enabled.\n *\n * @param filter - The filter to deselect.\n * @param metadata - Additional information to prevent a filter from being deselected.\n */\n deselect(filter: Filter, metadata?: Metadata): void {\n if (!metadata?.keepSticky) {\n super.deselect(filter, metadata)\n this.store.commit('x/facets/removeStickyFilter', filter)\n }\n }\n\n /**\n * Selects the passed filter and stores it as sticky.\n *\n * @param filter - The filter to select.\n */\n select(filter: Filter): void {\n super.select(filter)\n this.store.commit('x/facets/setStickyFilter', filter)\n }\n}\n"],"names":[],"mappings":";;AAUA;;;;;;AAMG;AACG,MAAO,cAAe,SAAQ,wBAAkC,CAAA;AACpE;;;;;AAKG;IACH,QAAQ,CAAC,MAAc,EAAE,QAAmB,EAAA;AAC1C,QAAA,IAAI,CAAC,QAAQ,EAAE,UAAU,EAAE;AACzB,YAAA,KAAK,CAAC,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;YAChC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,6BAA6B,EAAE,MAAM,CAAC,CAAA;AACzD,SAAA;KACF;AAED;;;;AAIG;AACH,IAAA,MAAM,CAAC,MAAc,EAAA;AACnB,QAAA,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAA;QACpB,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,0BAA0B,EAAE,MAAM,CAAC,CAAA;KACtD;AACF;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sources":["../../../../../src/x-modules/facets/entities/types.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"types.js","sources":["../../../../../src/x-modules/facets/entities/types.ts"],"sourcesContent":["import type { Filter } from '@empathyco/x-types'\nimport type { Dictionary } from '@empathyco/x-utils'\nimport type { Store } from 'vuex'\nimport type { RootXStoreState } from '../../../store/store.types'\n\n/**\n * Contains business logic to select or deselect a filter of a certain type.\n *\n * @internal\n */\nexport interface FilterEntity<Metadata extends Dictionary = Dictionary<unknown>> {\n /** Selects the filter. */\n select: (filter: Filter) => void\n /** Deselects the filter. */\n deselect: (filter: Filter, metadata?: Metadata) => void\n}\n\n/**\n * Constructor of a {@link FilterEntity}.\n *\n * @internal\n */\nexport interface FilterEntityConstructor {\n new (store: Store<RootXStoreState>): FilterEntity\n /**\n * Checks if this class can create an instance with the passed filter DTO.\n *\n * @param filter - The filter to check if this class can create an instance with it.\n * @returns True if this class can create an instance with it. False otherwise.\n */\n accepts: (filter: Filter) => boolean\n}\n\n/**\n * The FilterEntityModifier constructor.\n *\n * @param store - The {@link https://vuex.vuejs.org/api/#vuex-store | Vuex Store} that modifier\n * uses.\n * @param entity - The {@link FilterEntity } that the modifier modifies.\n *\n * @internal\n */\nexport interface FilterEntityModifier<Metadata extends Dictionary = Dictionary> {\n new (store: Store<RootXStoreState>, entity: FilterEntity<Metadata>): FilterEntity<Metadata>\n}\n\n/**\n * The base class for any Modifier. It delegates to the `entity` methods by default.\n *\n * @internal\n */\nexport abstract class BaseFilterEntityModifier<Metadata extends Dictionary = Dictionary>\n implements FilterEntity<Metadata>\n{\n public constructor(\n protected store: Store<RootXStoreState>,\n protected entity: FilterEntity,\n ) {}\n\n /**\n * Selects the filter passed by parameter.\n *\n * @param filter - The filter to select.\n */\n select(filter: Filter): void {\n this.entity.select(filter)\n }\n\n /**\n * Deselects the filter passed by parameter.\n *\n * @param filter - The filter to deselect.\n * @param metadata - The event metadata.\n */\n deselect(filter: Filter, metadata?: Metadata): void {\n this.entity.deselect(filter, metadata)\n }\n}\n"],"names":[],"mappings":"AA8CA;;;;AAIG;MACmB,wBAAwB,CAAA;IAG5C,WACY,CAAA,KAA6B,EAC7B,MAAoB,EAAA;QADpB,IAAK,CAAA,KAAA,GAAL,KAAK,CAAwB;QAC7B,IAAM,CAAA,MAAA,GAAN,MAAM,CAAc;KAC5B;AAEJ;;;;AAIG;AACH,IAAA,MAAM,CAAC,MAAc,EAAA;AACnB,QAAA,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAA;KAC3B;AAED;;;;;AAKG;IACH,QAAQ,CAAC,MAAc,EAAE,QAAmB,EAAA;QAC1C,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;KACvC;AACF;;;;"}
|
|
@@ -52,7 +52,7 @@ class DefaultFacetsService {
|
|
|
52
52
|
.filter(filter => !facetIds || (isFacetFilter(filter) && facetIds.includes(filter.facetId)))
|
|
53
53
|
.forEach(filter => this.deselect.bind(this)(filter, metadata));
|
|
54
54
|
}
|
|
55
|
-
clearFiltersWithMetadata({ facetIds, metadata } = {}) {
|
|
55
|
+
clearFiltersWithMetadata({ facetIds, metadata, } = {}) {
|
|
56
56
|
this.clearFilters(facetIds, metadata);
|
|
57
57
|
}
|
|
58
58
|
deselect(filter, metadata) {
|
|
@@ -130,6 +130,7 @@ class DefaultFacetsService {
|
|
|
130
130
|
* @internal
|
|
131
131
|
*/
|
|
132
132
|
getSelectedFilters() {
|
|
133
|
+
// eslint-disable-next-line ts/no-unsafe-member-access,ts/no-unsafe-return
|
|
133
134
|
return this.store.getters['x/facets/selectedFilters'];
|
|
134
135
|
}
|
|
135
136
|
/**
|
|
@@ -194,7 +195,6 @@ class DefaultFacetsService {
|
|
|
194
195
|
* Sets the Facet to the store facets record.
|
|
195
196
|
*
|
|
196
197
|
* @param facet - The facet to store.
|
|
197
|
-
*
|
|
198
198
|
* @internal
|
|
199
199
|
*/
|
|
200
200
|
setFacet({ filters, ...restFacet }) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"facets.service.js","sources":["../../../../../src/x-modules/facets/service/facets.service.ts"],"sourcesContent":["import { Facet, Filter, isFacetFilter, isHierarchicalFacet } from '@empathyco/x-types';\nimport { Store } from 'vuex';\nimport { Dictionary } from '@empathyco/x-utils';\nimport { XPlugin } from '../../../plugins/index';\nimport { RootXStoreState } from '../../../store/index';\nimport { arrayToObject, groupItemsBy, isArrayEmpty } from '../../../utils/index';\nimport { FilterEntityFactory } from '../entities/filter-entity.factory';\nimport { FilterEntity } from '../entities/types';\nimport { FacetGroupEntry, FacetsGetters } from '../store/types';\nimport { flatHierarchicalFilters } from '../utils';\nimport { FacetsGroup, FacetsService, FiltersMetadata } from './types';\n\n/**\n * Default implementation for the {@link FacetsService}.\n *\n * @public\n */\nexport class DefaultFacetsService implements FacetsService {\n /**\n * Global instance of the {@link FacetsService}.\n */\n public static instance: FacetsService = new DefaultFacetsService();\n\n public constructor(\n protected filterEntityFactory: FilterEntityFactory = FilterEntityFactory.instance\n ) {}\n\n /**\n * The {@link https://vuex.vuejs.org/ | Vuex} store to use in the service.\n *\n * @returns The store.\n * @internal\n */\n protected get store(): Store<RootXStoreState> {\n return XPlugin.store;\n }\n\n setFacets(facetsGroup: FacetsGroup): void {\n const newFilters = this.updateStore(facetsGroup);\n /* Ensures that filters are selected with valid values. For example, you can't set a single\n select facet with 2 or more selected filters */\n this.updateFiltersSelectedState(newFilters);\n }\n\n updateFacets(facetsGroup: FacetsGroup): void {\n const selectedFilters = this.getSelectedFilters();\n const newFilters = this.updateStore(facetsGroup);\n this.updateFiltersSelectedState(newFilters, selectedFilters);\n }\n\n updatePreselectedFilters(filters: Filter[]): void {\n this.setPreselectedFilter(filters);\n }\n\n selectPreselectedFilters(): void {\n this.select(this.store.state.x.facets.preselectedFilters);\n }\n\n clearFilters(facetIds?: Array<Facet['id']>, metadata?: FiltersMetadata): void {\n this.getSelectedFilters()\n .filter(filter => !facetIds || (isFacetFilter(filter) && facetIds.includes(filter.facetId)))\n .forEach(filter => this.deselect.bind(this)(filter, metadata));\n }\n\n clearFiltersWithMetadata({\n facetIds,\n metadata\n }: { facetIds?: Array<Facet['id']>; metadata?: FiltersMetadata } = {}): void {\n this.clearFilters(facetIds, metadata);\n }\n\n deselect(filter: Filter, metadata?: Dictionary): void {\n this.getFilterEntity(filter).deselect(filter, metadata);\n }\n\n select(filterOrFilters: Filter | Filter[]): void {\n const filters = Array.isArray(filterOrFilters) ? filterOrFilters : [filterOrFilters];\n filters.forEach(filter => this.getFilterEntity(filter).select(filter));\n }\n\n toggle(filter: Filter): void {\n if (filter.selected) {\n this.deselect(filter);\n } else {\n this.select(filter);\n }\n }\n\n /**\n * Sets the query.\n *\n * @param query - The query searched.\n * @internal\n */\n setQuery(query: string): void {\n this.store.commit('x/facets/setQuery', query);\n }\n\n /**\n * Creates an entity from a filter DTO.\n *\n * @param filter - The filter to create an entity from.\n * @returns The filter entity.\n * @internal\n */\n protected getFilterEntity(filter: Filter): FilterEntity {\n return this.filterEntityFactory.getFilterEntity(this.store, filter);\n }\n\n /**\n * Sets in the store the Facets, the Filters and the FacetsGroup, without applying any logic\n * to the selected state.\n *\n * @param facetsGroup - The {@link FacetsGroup} to set into the store state.\n * @returns An array with the new filters.\n * @internal\n */\n protected updateStore(facetsGroup: FacetsGroup): Filter[] {\n this.removeGroupFacets(facetsGroup.id);\n this.removeGroupFilters(facetsGroup.id);\n facetsGroup.facets.forEach(facet => {\n this.setFacetGroup({ facetId: facet.id, groupId: facetsGroup.id });\n this.setFacet(facet);\n });\n const newFilters = this.flatFilters(facetsGroup);\n this.setFilters(newFilters);\n return newFilters;\n }\n\n /**\n * This function returns the filters of the facets group flattened in an array. It keeps the\n * relations between the filters (parent--children).\n *\n * @privateRemarks If it is necessary to deal with more cases than the hierarchical, we need to\n * refactor this logic and maybe move it to the entities, to not make this service dependant of\n * the facet type. At the moment it is only one `if`, and is ok as long as no more `if`s are\n * needed.\n * @param facetsGroup - The facets group from where extract the filters to flat.\n * @returns An array with the filters flattened.\n * @internal\n */\n protected flatFilters(facetsGroup: FacetsGroup): Filter[] {\n return facetsGroup.facets.flatMap(facet =>\n isHierarchicalFacet(facet) ? flatHierarchicalFilters(facet.filters) : facet.filters\n );\n }\n\n /**\n * Retrieves the selected filters from the store.\n *\n * @returns The list of selected filters of the store.\n * @internal\n */\n protected getSelectedFilters(): FacetsGetters['selectedFilters'] {\n return this.store.getters['x/facets/selectedFilters'];\n }\n\n /**\n * Changes the filters selection state to match the store.\n *\n * @param newFilters - The list of filters to save.\n * @param previousFilters - (Optional) The list of old filters, used to set the `newFilters`\n * selected state.\n */\n protected updateFiltersSelectedState(newFilters: Filter[], previousFilters?: Filter[]): void {\n if (!isArrayEmpty(newFilters)) {\n const newStateFiltersMap = arrayToObject(previousFilters ?? newFilters, 'id');\n newFilters.forEach(filter => {\n const filterEntity = this.getFilterEntity(filter);\n if (newStateFiltersMap[filter.id]?.selected) {\n filterEntity.select(filter);\n } else {\n filterEntity.deselect(filter);\n }\n });\n }\n }\n\n /**\n * Removes the filters that belong to the given group.\n *\n * @param groupId - The id of the group from whom remove the filters that are in the store.\n *\n * @returns The removed filters.\n *\n * @internal\n */\n protected removeGroupFilters(groupId: FacetsGroup['id']): Filter[] {\n const filtersToRemove =\n groupItemsBy(Object.values(this.store.state.x.facets.filters), filter =>\n isFacetFilter(filter)\n ? this.store.state.x.facets.groups[filter.facetId]\n : '__unknown-group__'\n )[groupId] ?? [];\n this.removeFilters(filtersToRemove);\n return filtersToRemove;\n }\n\n /**\n * Removes the facets that belong to the given group.\n *\n * @param groupId - The id of the group from whom remove the facets that are in the store.\n * @returns The removed facets.\n * @internal\n */\n protected removeGroupFacets(groupId: FacetsGroup['id']): Omit<Facet, 'filters'>[] {\n const facetsToRemove = Object.values(this.store.state.x.facets.facets).filter(\n facet => this.store.state.x.facets.groups[facet.id] === groupId\n );\n facetsToRemove.forEach(this.removeFacet.bind(this));\n return facetsToRemove;\n }\n\n /**\n * Sets the group that a facet belongs to.\n *\n * @param facetGroup - The id of the facet, and the group it belongs to.\n * @internal\n */\n protected setFacetGroup(facetGroup: FacetGroupEntry): void {\n this.store.commit('x/facets/setFacetGroup', facetGroup);\n }\n\n /**\n * Sets the Facet to the store facets record.\n *\n * @param facet - The facet to store.\n *\n * @internal\n */\n protected setFacet({ filters, ...restFacet }: Facet): void {\n this.store.commit('x/facets/setFacet', restFacet);\n }\n\n /**\n * Removes a facet from the store.\n *\n * @param facet - The facet to remove.\n * @internal\n */\n protected removeFacet(facet: Omit<Facet, 'filters'>): void {\n this.store.commit('x/facets/removeFacet', facet);\n }\n\n /**\n * Saves a list of filters to the store without any state change logic applied.\n *\n * @param filters - The filters to save.\n * @internal\n */\n protected setFilters(filters: Filter[]): void {\n this.store.commit('x/facets/setFilters', filters);\n }\n\n /**\n * Saves a list of preselected filters to the store without any state change logic applied.\n *\n * @param filters - The filters to save.\n * @internal\n */\n protected setPreselectedFilter(filters: Filter[]): void {\n this.store.commit('x/facets/setPreselectedFilters', filters);\n }\n\n /**\n * Removes a list of filters from the store.\n *\n * @param filters - The filters to remove.\n * @internal\n */\n protected removeFilters(filters: Filter[]): void {\n this.store.commit('x/facets/removeFilters', filters);\n }\n}\n"],"names":[],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"facets.service.js","sources":["../../../../../src/x-modules/facets/service/facets.service.ts"],"sourcesContent":["import type { Facet, Filter } from '@empathyco/x-types'\nimport type { Dictionary } from '@empathyco/x-utils'\nimport type { Store } from 'vuex'\nimport type { RootXStoreState } from '../../../store/index'\nimport type { FilterEntity } from '../entities/types'\nimport type { FacetGroupEntry, FacetsGetters } from '../store/types'\nimport type { FacetsGroup, FacetsService, FiltersMetadata } from './types'\nimport { isFacetFilter, isHierarchicalFacet } from '@empathyco/x-types'\nimport { XPlugin } from '../../../plugins/index'\nimport { arrayToObject, groupItemsBy, isArrayEmpty } from '../../../utils/index'\nimport { FilterEntityFactory } from '../entities/filter-entity.factory'\nimport { flatHierarchicalFilters } from '../utils'\n\n/**\n * Default implementation for the {@link FacetsService}.\n *\n * @public\n */\nexport class DefaultFacetsService implements FacetsService {\n /**\n * Global instance of the {@link FacetsService}.\n */\n public static instance: FacetsService = new DefaultFacetsService()\n\n public constructor(\n protected filterEntityFactory: FilterEntityFactory = FilterEntityFactory.instance,\n ) {}\n\n /**\n * The {@link https://vuex.vuejs.org/ | Vuex} store to use in the service.\n *\n * @returns The store.\n * @internal\n */\n protected get store(): Store<RootXStoreState> {\n return XPlugin.store\n }\n\n setFacets(facetsGroup: FacetsGroup): void {\n const newFilters = this.updateStore(facetsGroup)\n /* Ensures that filters are selected with valid values. For example, you can't set a single\n select facet with 2 or more selected filters */\n this.updateFiltersSelectedState(newFilters)\n }\n\n updateFacets(facetsGroup: FacetsGroup): void {\n const selectedFilters = this.getSelectedFilters()\n const newFilters = this.updateStore(facetsGroup)\n this.updateFiltersSelectedState(newFilters, selectedFilters)\n }\n\n updatePreselectedFilters(filters: Filter[]): void {\n this.setPreselectedFilter(filters)\n }\n\n selectPreselectedFilters(): void {\n this.select(this.store.state.x.facets.preselectedFilters)\n }\n\n clearFilters(facetIds?: Array<Facet['id']>, metadata?: FiltersMetadata): void {\n this.getSelectedFilters()\n .filter(filter => !facetIds || (isFacetFilter(filter) && facetIds.includes(filter.facetId)))\n .forEach(filter => this.deselect.bind(this)(filter, metadata))\n }\n\n clearFiltersWithMetadata({\n facetIds,\n metadata,\n }: { facetIds?: Array<Facet['id']>; metadata?: FiltersMetadata } = {}): void {\n this.clearFilters(facetIds, metadata)\n }\n\n deselect(filter: Filter, metadata?: Dictionary): void {\n this.getFilterEntity(filter).deselect(filter, metadata)\n }\n\n select(filterOrFilters: Filter | Filter[]): void {\n const filters = Array.isArray(filterOrFilters) ? filterOrFilters : [filterOrFilters]\n filters.forEach(filter => this.getFilterEntity(filter).select(filter))\n }\n\n toggle(filter: Filter): void {\n if (filter.selected) {\n this.deselect(filter)\n } else {\n this.select(filter)\n }\n }\n\n /**\n * Sets the query.\n *\n * @param query - The query searched.\n * @internal\n */\n setQuery(query: string): void {\n this.store.commit('x/facets/setQuery', query)\n }\n\n /**\n * Creates an entity from a filter DTO.\n *\n * @param filter - The filter to create an entity from.\n * @returns The filter entity.\n * @internal\n */\n protected getFilterEntity(filter: Filter): FilterEntity {\n return this.filterEntityFactory.getFilterEntity(this.store, filter)\n }\n\n /**\n * Sets in the store the Facets, the Filters and the FacetsGroup, without applying any logic\n * to the selected state.\n *\n * @param facetsGroup - The {@link FacetsGroup} to set into the store state.\n * @returns An array with the new filters.\n * @internal\n */\n protected updateStore(facetsGroup: FacetsGroup): Filter[] {\n this.removeGroupFacets(facetsGroup.id)\n this.removeGroupFilters(facetsGroup.id)\n facetsGroup.facets.forEach(facet => {\n this.setFacetGroup({ facetId: facet.id, groupId: facetsGroup.id })\n this.setFacet(facet)\n })\n const newFilters = this.flatFilters(facetsGroup)\n this.setFilters(newFilters)\n return newFilters\n }\n\n /**\n * This function returns the filters of the facets group flattened in an array. It keeps the\n * relations between the filters (parent--children).\n *\n * @privateRemarks If it is necessary to deal with more cases than the hierarchical, we need to\n * refactor this logic and maybe move it to the entities, to not make this service dependant of\n * the facet type. At the moment it is only one `if`, and is ok as long as no more `if`s are\n * needed.\n * @param facetsGroup - The facets group from where extract the filters to flat.\n * @returns An array with the filters flattened.\n * @internal\n */\n protected flatFilters(facetsGroup: FacetsGroup): Filter[] {\n return facetsGroup.facets.flatMap(facet =>\n isHierarchicalFacet(facet) ? flatHierarchicalFilters(facet.filters) : facet.filters,\n )\n }\n\n /**\n * Retrieves the selected filters from the store.\n *\n * @returns The list of selected filters of the store.\n * @internal\n */\n protected getSelectedFilters(): FacetsGetters['selectedFilters'] {\n // eslint-disable-next-line ts/no-unsafe-member-access,ts/no-unsafe-return\n return this.store.getters['x/facets/selectedFilters']\n }\n\n /**\n * Changes the filters selection state to match the store.\n *\n * @param newFilters - The list of filters to save.\n * @param previousFilters - (Optional) The list of old filters, used to set the `newFilters`\n * selected state.\n */\n protected updateFiltersSelectedState(newFilters: Filter[], previousFilters?: Filter[]): void {\n if (!isArrayEmpty(newFilters)) {\n const newStateFiltersMap = arrayToObject(previousFilters ?? newFilters, 'id')\n newFilters.forEach(filter => {\n const filterEntity = this.getFilterEntity(filter)\n if (newStateFiltersMap[filter.id]?.selected) {\n filterEntity.select(filter)\n } else {\n filterEntity.deselect(filter)\n }\n })\n }\n }\n\n /**\n * Removes the filters that belong to the given group.\n *\n * @param groupId - The id of the group from whom remove the filters that are in the store.\n *\n * @returns The removed filters.\n *\n * @internal\n */\n protected removeGroupFilters(groupId: FacetsGroup['id']): Filter[] {\n const filtersToRemove =\n groupItemsBy(Object.values(this.store.state.x.facets.filters), filter =>\n isFacetFilter(filter)\n ? this.store.state.x.facets.groups[filter.facetId]\n : '__unknown-group__',\n )[groupId] ?? []\n this.removeFilters(filtersToRemove)\n return filtersToRemove\n }\n\n /**\n * Removes the facets that belong to the given group.\n *\n * @param groupId - The id of the group from whom remove the facets that are in the store.\n * @returns The removed facets.\n * @internal\n */\n protected removeGroupFacets(groupId: FacetsGroup['id']): Omit<Facet, 'filters'>[] {\n const facetsToRemove = Object.values(this.store.state.x.facets.facets).filter(\n facet => this.store.state.x.facets.groups[facet.id] === groupId,\n )\n facetsToRemove.forEach(this.removeFacet.bind(this))\n return facetsToRemove\n }\n\n /**\n * Sets the group that a facet belongs to.\n *\n * @param facetGroup - The id of the facet, and the group it belongs to.\n * @internal\n */\n protected setFacetGroup(facetGroup: FacetGroupEntry): void {\n this.store.commit('x/facets/setFacetGroup', facetGroup)\n }\n\n /**\n * Sets the Facet to the store facets record.\n *\n * @param facet - The facet to store.\n * @internal\n */\n protected setFacet({ filters, ...restFacet }: Facet): void {\n this.store.commit('x/facets/setFacet', restFacet)\n }\n\n /**\n * Removes a facet from the store.\n *\n * @param facet - The facet to remove.\n * @internal\n */\n protected removeFacet(facet: Omit<Facet, 'filters'>): void {\n this.store.commit('x/facets/removeFacet', facet)\n }\n\n /**\n * Saves a list of filters to the store without any state change logic applied.\n *\n * @param filters - The filters to save.\n * @internal\n */\n protected setFilters(filters: Filter[]): void {\n this.store.commit('x/facets/setFilters', filters)\n }\n\n /**\n * Saves a list of preselected filters to the store without any state change logic applied.\n *\n * @param filters - The filters to save.\n * @internal\n */\n protected setPreselectedFilter(filters: Filter[]): void {\n this.store.commit('x/facets/setPreselectedFilters', filters)\n }\n\n /**\n * Removes a list of filters from the store.\n *\n * @param filters - The filters to remove.\n * @internal\n */\n protected removeFilters(filters: Filter[]): void {\n this.store.commit('x/facets/removeFilters', filters)\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAaA;;;;AAIG;MACU,oBAAoB,CAAA;IAM/B,WACY,CAAA,mBAAA,GAA2C,mBAAmB,CAAC,QAAQ,EAAA;QAAvE,IAAmB,CAAA,mBAAA,GAAnB,mBAAmB,CAAoD;KAC/E;AAEJ;;;;;AAKG;AACH,IAAA,IAAc,KAAK,GAAA;QACjB,OAAO,OAAO,CAAC,KAAK,CAAA;KACrB;AAED,IAAA,SAAS,CAAC,WAAwB,EAAA;QAChC,MAAM,UAAU,GAAG,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,CAAA;AAChD;AACgD;AAChD,QAAA,IAAI,CAAC,0BAA0B,CAAC,UAAU,CAAC,CAAA;KAC5C;AAED,IAAA,YAAY,CAAC,WAAwB,EAAA;AACnC,QAAA,MAAM,eAAe,GAAG,IAAI,CAAC,kBAAkB,EAAE,CAAA;QACjD,MAAM,UAAU,GAAG,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,CAAA;AAChD,QAAA,IAAI,CAAC,0BAA0B,CAAC,UAAU,EAAE,eAAe,CAAC,CAAA;KAC7D;AAED,IAAA,wBAAwB,CAAC,OAAiB,EAAA;AACxC,QAAA,IAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAA;KACnC;IAED,wBAAwB,GAAA;AACtB,QAAA,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAA;KAC1D;IAED,YAAY,CAAC,QAA6B,EAAE,QAA0B,EAAA;QACpE,IAAI,CAAC,kBAAkB,EAAE;aACtB,MAAM,CAAC,MAAM,IAAI,CAAC,QAAQ,KAAK,aAAa,CAAC,MAAM,CAAC,IAAI,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC;AAC3F,aAAA,OAAO,CAAC,MAAM,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAA;KACjE;AAED,IAAA,wBAAwB,CAAC,EACvB,QAAQ,EACR,QAAQ,MACyD,EAAE,EAAA;AACnE,QAAA,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAA;KACtC;IAED,QAAQ,CAAC,MAAc,EAAE,QAAqB,EAAA;AAC5C,QAAA,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;KACxD;AAED,IAAA,MAAM,CAAC,eAAkC,EAAA;AACvC,QAAA,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,eAAe,CAAC,GAAG,eAAe,GAAG,CAAC,eAAe,CAAC,CAAA;AACpF,QAAA,OAAO,CAAC,OAAO,CAAC,MAAM,IAAI,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAA;KACvE;AAED,IAAA,MAAM,CAAC,MAAc,EAAA;QACnB,IAAI,MAAM,CAAC,QAAQ,EAAE;AACnB,YAAA,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAA;AACtB,SAAA;AAAM,aAAA;AACL,YAAA,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAA;AACpB,SAAA;KACF;AAED;;;;;AAKG;AACH,IAAA,QAAQ,CAAC,KAAa,EAAA;QACpB,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,mBAAmB,EAAE,KAAK,CAAC,CAAA;KAC9C;AAED;;;;;;AAMG;AACO,IAAA,eAAe,CAAC,MAAc,EAAA;AACtC,QAAA,OAAO,IAAI,CAAC,mBAAmB,CAAC,eAAe,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,CAAA;KACpE;AAED;;;;;;;AAOG;AACO,IAAA,WAAW,CAAC,WAAwB,EAAA;AAC5C,QAAA,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAAE,CAAC,CAAA;AACtC,QAAA,IAAI,CAAC,kBAAkB,CAAC,WAAW,CAAC,EAAE,CAAC,CAAA;AACvC,QAAA,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,IAAG;AACjC,YAAA,IAAI,CAAC,aAAa,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE,EAAE,OAAO,EAAE,WAAW,CAAC,EAAE,EAAE,CAAC,CAAA;AAClE,YAAA,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;AACtB,SAAC,CAAC,CAAA;QACF,MAAM,UAAU,GAAG,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,CAAA;AAChD,QAAA,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,CAAA;AAC3B,QAAA,OAAO,UAAU,CAAA;KAClB;AAED;;;;;;;;;;;AAWG;AACO,IAAA,WAAW,CAAC,WAAwB,EAAA;AAC5C,QAAA,OAAO,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,IACrC,mBAAmB,CAAC,KAAK,CAAC,GAAG,uBAAuB,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,OAAO,CACpF,CAAA;KACF;AAED;;;;;AAKG;IACO,kBAAkB,GAAA;;QAE1B,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,0BAA0B,CAAC,CAAA;KACtD;AAED;;;;;;AAMG;IACO,0BAA0B,CAAC,UAAoB,EAAE,eAA0B,EAAA;AACnF,QAAA,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,EAAE;YAC7B,MAAM,kBAAkB,GAAG,aAAa,CAAC,eAAe,IAAI,UAAU,EAAE,IAAI,CAAC,CAAA;AAC7E,YAAA,UAAU,CAAC,OAAO,CAAC,MAAM,IAAG;gBAC1B,MAAM,YAAY,GAAG,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,CAAA;gBACjD,IAAI,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,QAAQ,EAAE;AAC3C,oBAAA,YAAY,CAAC,MAAM,CAAC,MAAM,CAAC,CAAA;AAC5B,iBAAA;AAAM,qBAAA;AACL,oBAAA,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAA;AAC9B,iBAAA;AACH,aAAC,CAAC,CAAA;AACH,SAAA;KACF;AAED;;;;;;;;AAQG;AACO,IAAA,kBAAkB,CAAC,OAA0B,EAAA;AACrD,QAAA,MAAM,eAAe,GACnB,YAAY,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,IACnE,aAAa,CAAC,MAAM,CAAC;AACnB,cAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC;cAChD,mBAAmB,CACxB,CAAC,OAAO,CAAC,IAAI,EAAE,CAAA;AAClB,QAAA,IAAI,CAAC,aAAa,CAAC,eAAe,CAAC,CAAA;AACnC,QAAA,OAAO,eAAe,CAAA;KACvB;AAED;;;;;;AAMG;AACO,IAAA,iBAAiB,CAAC,OAA0B,EAAA;QACpD,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,MAAM,CAC3E,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,OAAO,CAChE,CAAA;AACD,QAAA,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAA;AACnD,QAAA,OAAO,cAAc,CAAA;KACtB;AAED;;;;;AAKG;AACO,IAAA,aAAa,CAAC,UAA2B,EAAA;QACjD,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,wBAAwB,EAAE,UAAU,CAAC,CAAA;KACxD;AAED;;;;;AAKG;AACO,IAAA,QAAQ,CAAC,EAAE,OAAO,EAAE,GAAG,SAAS,EAAS,EAAA;QACjD,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,mBAAmB,EAAE,SAAS,CAAC,CAAA;KAClD;AAED;;;;;AAKG;AACO,IAAA,WAAW,CAAC,KAA6B,EAAA;QACjD,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,sBAAsB,EAAE,KAAK,CAAC,CAAA;KACjD;AAED;;;;;AAKG;AACO,IAAA,UAAU,CAAC,OAAiB,EAAA;QACpC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,qBAAqB,EAAE,OAAO,CAAC,CAAA;KAClD;AAED;;;;;AAKG;AACO,IAAA,oBAAoB,CAAC,OAAiB,EAAA;QAC9C,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,gCAAgC,EAAE,OAAO,CAAC,CAAA;KAC7D;AAED;;;;;AAKG;AACO,IAAA,aAAa,CAAC,OAAiB,EAAA;QACvC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,wBAAwB,EAAE,OAAO,CAAC,CAAA;KACrD;;AA9PD;;AAEG;AACW,oBAAA,CAAA,QAAQ,GAAkB,IAAI,oBAAoB,EAAE;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sources":["../../../../../src/x-modules/facets/store/constants.ts"],"sourcesContent":["export const UNKNOWN_FACET_KEY = '__unknown__'
|
|
1
|
+
{"version":3,"file":"constants.js","sources":["../../../../../src/x-modules/facets/store/constants.ts"],"sourcesContent":["export const UNKNOWN_FACET_KEY = '__unknown__'\n"],"names":[],"mappings":"AAAO,MAAM,iBAAiB,GAAG;;;;"}
|
|
@@ -13,20 +13,20 @@ const facetsEmitters = createStoreEmitters(facetsXStoreModule, {
|
|
|
13
13
|
selector: (_, getters) => getters.selectedFilters,
|
|
14
14
|
filter: areFiltersDifferent,
|
|
15
15
|
metadata: {
|
|
16
|
-
priority: 12
|
|
17
|
-
}
|
|
16
|
+
priority: 12,
|
|
17
|
+
},
|
|
18
18
|
},
|
|
19
19
|
SelectedFiltersForRequestChanged: {
|
|
20
20
|
selector: (_, getters) => getters.selectedFiltersForRequest,
|
|
21
21
|
filter: areFiltersDifferent,
|
|
22
22
|
metadata: {
|
|
23
|
-
priority: 12
|
|
24
|
-
}
|
|
23
|
+
priority: 12,
|
|
24
|
+
},
|
|
25
25
|
},
|
|
26
26
|
FacetsQueryChanged: {
|
|
27
27
|
selector: state => state.query,
|
|
28
|
-
filter: isNewQuery
|
|
29
|
-
}
|
|
28
|
+
filter: isNewQuery,
|
|
29
|
+
},
|
|
30
30
|
});
|
|
31
31
|
|
|
32
32
|
export { facetsEmitters };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emitters.js","sources":["../../../../../src/x-modules/facets/store/emitters.ts"],"sourcesContent":["import { createStoreEmitters } from '../../../store/utils/store-emitters.utils'
|
|
1
|
+
{"version":3,"file":"emitters.js","sources":["../../../../../src/x-modules/facets/store/emitters.ts"],"sourcesContent":["import { createStoreEmitters } from '../../../store/utils/store-emitters.utils'\nimport { areFiltersDifferent } from '../../../utils/filters'\nimport { isNewQuery } from '../../../utils/is-new-query'\nimport { facetsXStoreModule } from './module'\n\n/**\n * {@link StoreEmitters} For the facets module.\n *\n * @internal\n */\nexport const facetsEmitters = createStoreEmitters(facetsXStoreModule, {\n SelectedFiltersChanged: {\n selector: (_, getters) => getters.selectedFilters,\n filter: areFiltersDifferent,\n metadata: {\n priority: 12,\n },\n },\n SelectedFiltersForRequestChanged: {\n selector: (_, getters) => getters.selectedFiltersForRequest,\n filter: areFiltersDifferent,\n metadata: {\n priority: 12,\n },\n },\n FacetsQueryChanged: {\n selector: state => state.query,\n filter: isNewQuery,\n },\n})\n"],"names":[],"mappings":";;;;;AAKA;;;;AAIG;AACU,MAAA,cAAc,GAAG,mBAAmB,CAAC,kBAAkB,EAAE;AACpE,IAAA,sBAAsB,EAAE;QACtB,QAAQ,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,eAAe;AACjD,QAAA,MAAM,EAAE,mBAAmB;AAC3B,QAAA,QAAQ,EAAE;AACR,YAAA,QAAQ,EAAE,EAAE;AACb,SAAA;AACF,KAAA;AACD,IAAA,gCAAgC,EAAE;QAChC,QAAQ,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,yBAAyB;AAC3D,QAAA,MAAM,EAAE,mBAAmB;AAC3B,QAAA,QAAQ,EAAE;AACR,YAAA,QAAQ,EAAE,EAAE;AACb,SAAA;AACF,KAAA;AACD,IAAA,kBAAkB,EAAE;AAClB,QAAA,QAAQ,EAAE,KAAK,IAAI,KAAK,CAAC,KAAK;AAC9B,QAAA,MAAM,EAAE,UAAU;AACnB,KAAA;AACF,CAAA;;;;"}
|
|
@@ -16,7 +16,7 @@ const facets = state => {
|
|
|
16
16
|
const filtersByFacet = groupItemsBy(Object.values(state.filters), filter => isFacetFilter(filter) ? filter.facetId : UNKNOWN_FACET_KEY);
|
|
17
17
|
return map(state.facets, (_id, facet) => ({
|
|
18
18
|
...facet,
|
|
19
|
-
filters: filtersByFacet[facet.id] ?? []
|
|
19
|
+
filters: filtersByFacet[facet.id] ?? [],
|
|
20
20
|
}));
|
|
21
21
|
};
|
|
22
22
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"facets.getter.js","sources":["../../../../../../src/x-modules/facets/store/getters/facets.getter.ts"],"sourcesContent":["import { isFacetFilter } from '@empathyco/x-types'
|
|
1
|
+
{"version":3,"file":"facets.getter.js","sources":["../../../../../../src/x-modules/facets/store/getters/facets.getter.ts"],"sourcesContent":["import type { FacetsXStoreModule } from '../types'\nimport { isFacetFilter } from '@empathyco/x-types'\nimport { map } from '@empathyco/x-utils'\nimport { groupItemsBy } from '../../../../utils/array'\nimport { UNKNOWN_FACET_KEY } from '../constants'\n\n/**\n * Default implementation for the {@link FacetsGetters.facets} getter.\n *\n * @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the facets'\n * module.\n * @returns An array containing the facets with the filters.\n *\n * @public\n */\nexport const facets: FacetsXStoreModule['getters']['facets'] = state => {\n const filtersByFacet = groupItemsBy(Object.values(state.filters), filter =>\n isFacetFilter(filter) ? filter.facetId : UNKNOWN_FACET_KEY,\n )\n return map(state.facets, (_id, facet) => ({\n ...facet,\n filters: filtersByFacet[facet.id] ?? [],\n }))\n}\n"],"names":[],"mappings":";;;;;AAMA;;;;;;;;AAQG;AACU,MAAA,MAAM,GAA4C,KAAK,IAAG;AACrE,IAAA,MAAM,cAAc,GAAG,YAAY,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,MAAM,IACtE,aAAa,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,OAAO,GAAG,iBAAiB,CAC3D,CAAA;AACD,IAAA,OAAO,GAAG,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,KAAK,MAAM;AACxC,QAAA,GAAG,KAAK;QACR,OAAO,EAAE,cAAc,CAAC,KAAK,CAAC,EAAE,CAAC,IAAI,EAAE;AACxC,KAAA,CAAC,CAAC,CAAA;AACL;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selected-filters-by-facet.getter.js","sources":["../../../../../../src/x-modules/facets/store/getters/selected-filters-by-facet.getter.ts"],"sourcesContent":["import { isFacetFilter } from '@empathyco/x-types'
|
|
1
|
+
{"version":3,"file":"selected-filters-by-facet.getter.js","sources":["../../../../../../src/x-modules/facets/store/getters/selected-filters-by-facet.getter.ts"],"sourcesContent":["import type { FacetsXStoreModule, FiltersByFacet } from '../types'\nimport { isFacetFilter } from '@empathyco/x-types'\nimport { map } from '@empathyco/x-utils'\nimport { groupItemsBy } from '../../../../utils/array'\nimport { UNKNOWN_FACET_KEY } from '../constants'\n\n/**\n * Default implementation for the {@link FacetsGetters.selectedFiltersByFacet} getter.\n *\n * @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the facets\n * module.\n * @param getters - Current {@link https://vuex.vuejs.org/guide/getters.html | getters} of the\n * facets' module.\n *\n * @returns A record containing the selected filters indexed by its facet id.\n * @remarks If there are filters without facetId (RawFilter), they will be grouped under\n * the UNKNOWN_FACET_KEY constant.\n *\n * @public\n */\nexport const selectedFiltersByFacet: FacetsXStoreModule['getters']['selectedFiltersByFacet'] = (\n state,\n getters,\n): FiltersByFacet => {\n // The `emptyRecord` is to return an empty array for those facets that haven't selected filters.\n const emptyRecord: FiltersByFacet = map(state.facets, () => [])\n const filtersByFacet = groupItemsBy(getters.selectedFilters, filter =>\n isFacetFilter(filter) ? filter.facetId : UNKNOWN_FACET_KEY,\n )\n return Object.assign(emptyRecord, filtersByFacet)\n}\n"],"names":[],"mappings":";;;;;AAMA;;;;;;;;;;;;;AAaG;MACU,sBAAsB,GAA4D,CAC7F,KAAK,EACL,OAAO,KACW;;AAElB,IAAA,MAAM,WAAW,GAAmB,GAAG,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAA;IAC/D,MAAM,cAAc,GAAG,YAAY,CAAC,OAAO,CAAC,eAAe,EAAE,MAAM,IACjE,aAAa,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,OAAO,GAAG,iBAAiB,CAC3D,CAAA;IACD,OAAO,MAAM,CAAC,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,CAAA;AACnD;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selected-filters-for-request.getter.js","sources":["../../../../../../src/x-modules/facets/store/getters/selected-filters-for-request.getter.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"selected-filters-for-request.getter.js","sources":["../../../../../../src/x-modules/facets/store/getters/selected-filters-for-request.getter.ts"],"sourcesContent":["import type { FacetsXStoreModule } from '../types'\nimport { isHierarchicalFilter } from '@empathyco/x-types'\n\n/**\n * Default implementation for the {@link FacetsGetters.selectedFiltersForRequest} getter.\n *\n * @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the facets'\n * module.\n *\n * @returns A list containing the selected filters that conform to the filters for request strategy.\n *\n * @public\n */\nexport const selectedFiltersForRequest: FacetsXStoreModule['getters']['selectedFiltersForRequest'] =\n state => {\n const selectedFilters = Object.values(state.filters).filter(filter => filter.selected)\n\n if (state.config.filtersStrategyForRequest === 'leaves-only') {\n return selectedFilters.filter((filter, _, filters) => {\n if (isHierarchicalFilter(filter)) {\n const childrenIds = filter.children?.map(child => child.id)\n\n return !filters.some(newFilter => childrenIds?.includes(newFilter.id))\n }\n\n return true\n })\n }\n\n return selectedFilters\n }\n"],"names":[],"mappings":";;AAGA;;;;;;;;;AASG;AACU,MAAA,yBAAyB,GACpC,KAAK,IAAG;IACN,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,MAAM,IAAI,MAAM,CAAC,QAAQ,CAAC,CAAA;AAEtF,IAAA,IAAI,KAAK,CAAC,MAAM,CAAC,yBAAyB,KAAK,aAAa,EAAE;QAC5D,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,OAAO,KAAI;AACnD,YAAA,IAAI,oBAAoB,CAAC,MAAM,CAAC,EAAE;AAChC,gBAAA,MAAM,WAAW,GAAG,MAAM,CAAC,QAAQ,EAAE,GAAG,CAAC,KAAK,IAAI,KAAK,CAAC,EAAE,CAAC,CAAA;AAE3D,gBAAA,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,IAAI,WAAW,EAAE,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,CAAA;AACvE,aAAA;AAED,YAAA,OAAO,IAAI,CAAA;AACb,SAAC,CAAC,CAAA;AACH,KAAA;AAED,IAAA,OAAO,eAAe,CAAA;AACxB;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selected-filters.getter.js","sources":["../../../../../../src/x-modules/facets/store/getters/selected-filters.getter.ts"],"sourcesContent":["import { FacetsXStoreModule } from '../types'
|
|
1
|
+
{"version":3,"file":"selected-filters.getter.js","sources":["../../../../../../src/x-modules/facets/store/getters/selected-filters.getter.ts"],"sourcesContent":["import type { FacetsXStoreModule } from '../types'\n\n/**\n * Default implementation for the {@link FacetsGetters.selectedFilters} getter.\n *\n * @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the facets'\n * module.\n *\n * @returns A list containing the selected filters.\n *\n * @public\n */\nexport const selectedFilters: FacetsXStoreModule['getters']['selectedFilters'] = state => {\n const selectedFilters = Object.values(state.filters).filter(filter => filter.selected)\n Object.keys(state.stickyFilters).forEach(stickyFilterId => {\n const isSelected = selectedFilters.some(selectedFilter => selectedFilter.id === stickyFilterId)\n if (!isSelected) {\n selectedFilters.push(state.stickyFilters[stickyFilterId])\n }\n })\n return selectedFilters\n}\n"],"names":[],"mappings":"AAEA;;;;;;;;;AASG;AACU,MAAA,eAAe,GAAqD,KAAK,IAAG;IACvF,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,MAAM,IAAI,MAAM,CAAC,QAAQ,CAAC,CAAA;AACtF,IAAA,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,OAAO,CAAC,cAAc,IAAG;AACxD,QAAA,MAAM,UAAU,GAAG,eAAe,CAAC,IAAI,CAAC,cAAc,IAAI,cAAc,CAAC,EAAE,KAAK,cAAc,CAAC,CAAA;QAC/F,IAAI,CAAC,UAAU,EAAE;YACf,eAAe,CAAC,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC,CAAA;AAC1D,SAAA;AACH,KAAC,CAAC,CAAA;AACF,IAAA,OAAO,eAAe,CAAA;AACxB;;;;"}
|
|
@@ -2,8 +2,8 @@ import { setConfig, mergeConfig } from '../../../store/utils/config-store.utils.
|
|
|
2
2
|
import { setQuery } from '../../../store/utils/query.utils.js';
|
|
3
3
|
import { facets } from './getters/facets.getter.js';
|
|
4
4
|
import { selectedFiltersByFacet } from './getters/selected-filters-by-facet.getter.js';
|
|
5
|
-
import { selectedFilters } from './getters/selected-filters.getter.js';
|
|
6
5
|
import { selectedFiltersForRequest } from './getters/selected-filters-for-request.getter.js';
|
|
6
|
+
import { selectedFilters } from './getters/selected-filters.getter.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* {@link XStoreModule} For the facets' module.
|
|
@@ -19,14 +19,14 @@ const facetsXStoreModule = {
|
|
|
19
19
|
preselectedFilters: [],
|
|
20
20
|
stickyFilters: {},
|
|
21
21
|
config: {
|
|
22
|
-
filtersStrategyForRequest: 'all'
|
|
23
|
-
}
|
|
22
|
+
filtersStrategyForRequest: 'all',
|
|
23
|
+
},
|
|
24
24
|
}),
|
|
25
25
|
getters: {
|
|
26
26
|
selectedFilters,
|
|
27
27
|
selectedFiltersForRequest,
|
|
28
28
|
selectedFiltersByFacet,
|
|
29
|
-
facets
|
|
29
|
+
facets,
|
|
30
30
|
},
|
|
31
31
|
mutations: {
|
|
32
32
|
mutateFilter(state, { filter, newFilterState }) {
|
|
@@ -67,9 +67,9 @@ const facetsXStoreModule = {
|
|
|
67
67
|
},
|
|
68
68
|
clearStickyFilters(state) {
|
|
69
69
|
state.stickyFilters = {};
|
|
70
|
-
}
|
|
70
|
+
},
|
|
71
71
|
},
|
|
72
|
-
actions: {}
|
|
72
|
+
actions: {},
|
|
73
73
|
};
|
|
74
74
|
|
|
75
75
|
export { facetsXStoreModule };
|