@empathyco/x-components 6.0.0-alpha.9 → 6.0.0-alpha.91
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 +683 -539
- package/core/index.js +52 -43
- package/core/index.js.map +1 -1
- package/design-system/deprecated-full-theme.css +6732 -6673
- 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 +105 -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.promoted.md +1 -1
- 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.trackpromotedclickedwire.md +13 -0
- 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 +6 -4
- package/js/x-modules/search/components/promoted.vue.js.map +1 -1
- package/js/x-modules/search/components/promoted.vue2.js +6 -6
- 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 +170 -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 +18182 -21190
- package/report/x-components.api.md +1219 -530
- 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 +3 -3
- 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 +87 -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
|
@@ -11,33 +11,33 @@ const timelineLayers = [
|
|
|
11
11
|
{
|
|
12
12
|
id: 'x-components-all-events',
|
|
13
13
|
regex: /^$/,
|
|
14
|
-
label: 'X events'
|
|
14
|
+
label: 'X events',
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
id: 'x-components-module-registered-events',
|
|
18
18
|
regex: /^ModuleRegistered$/,
|
|
19
|
-
label: 'X registered modules'
|
|
19
|
+
label: 'X registered modules',
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
id: 'x-components-user-events',
|
|
23
23
|
regex: /^User/,
|
|
24
|
-
label: 'X user events'
|
|
24
|
+
label: 'X user events',
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
id: 'x-components-request-events',
|
|
28
28
|
regex: /Request(?:Changed|Updated)$/,
|
|
29
|
-
label: 'X request events'
|
|
29
|
+
label: 'X request events',
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
32
|
id: 'x-components-status-change-events',
|
|
33
33
|
regex: /Changed$/,
|
|
34
|
-
label: 'X status change events'
|
|
34
|
+
label: 'X status change events',
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
id: 'x-components-miscellanea-events',
|
|
38
38
|
regex: /.*/,
|
|
39
|
-
label: 'X miscellanea events'
|
|
40
|
-
}
|
|
39
|
+
label: 'X miscellanea events',
|
|
40
|
+
},
|
|
41
41
|
];
|
|
42
42
|
/** Set containing the different layer ids. */
|
|
43
43
|
const layerIds = new Set(timelineLayers.map(layer => layer.id));
|
|
@@ -61,7 +61,7 @@ function setupTimelinePlugin(api) {
|
|
|
61
61
|
timelineLayers.forEach(layer => api.addTimelineLayer({
|
|
62
62
|
id: layer.id,
|
|
63
63
|
label: layer.label,
|
|
64
|
-
color: hslToHex(329, 100, 50)
|
|
64
|
+
color: hslToHex(329, 100, 50),
|
|
65
65
|
}));
|
|
66
66
|
api.on.inspectTimelineEvent(payload => {
|
|
67
67
|
if (layerIds.has(payload.layerId)) {
|
|
@@ -80,6 +80,7 @@ function setupTimelinePlugin(api) {
|
|
|
80
80
|
* @internal
|
|
81
81
|
*/
|
|
82
82
|
function logDevtoolsXEvent(event, value) {
|
|
83
|
+
// eslint-disable-next-line node/prefer-global/process
|
|
83
84
|
if (process.env.NODE_ENV !== 'production' && devtoolsAPI) {
|
|
84
85
|
const timelineEvent = {
|
|
85
86
|
title: event,
|
|
@@ -88,18 +89,18 @@ function logDevtoolsXEvent(event, value) {
|
|
|
88
89
|
metadata: {
|
|
89
90
|
...value.metadata,
|
|
90
91
|
// FIX-ME: copying metadata.component as it is defined as a non-enumerable property.
|
|
91
|
-
component: value.metadata.component
|
|
92
|
-
}
|
|
92
|
+
component: value.metadata.component,
|
|
93
|
+
},
|
|
93
94
|
},
|
|
94
|
-
time: devtoolsAPI.now()
|
|
95
|
+
time: devtoolsAPI.now(),
|
|
95
96
|
};
|
|
96
97
|
devtoolsAPI.addTimelineEvent({
|
|
97
98
|
event: timelineEvent,
|
|
98
|
-
layerId: getTimelineLayer(event)
|
|
99
|
+
layerId: getTimelineLayer(event),
|
|
99
100
|
});
|
|
100
101
|
devtoolsAPI.addTimelineEvent({
|
|
101
102
|
event: timelineEvent,
|
|
102
|
-
layerId: 'x-components-all-events'
|
|
103
|
+
layerId: 'x-components-all-events',
|
|
103
104
|
});
|
|
104
105
|
}
|
|
105
106
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"timeline.devtools.js","sources":["../../../../src/plugins/devtools/timeline.devtools.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"timeline.devtools.js","sources":["../../../../src/plugins/devtools/timeline.devtools.ts"],"sourcesContent":["import type { Dictionary } from '@empathyco/x-utils'\nimport type { DevtoolsPluginApi } from '@vue/devtools-api'\nimport type { XEvent, XEventPayload } from '../../wiring/events.types'\nimport type { WirePayload } from '../../wiring/wiring.types'\nimport { hslToHex } from './colors.utils'\n\n/**\n * Contains the devtools API.\n */\nlet devtoolsAPI: DevtoolsPluginApi<Dictionary> | undefined\n\n/**\n * List of all the configured timeline layers for {@link XEvent}s.\n */\nconst timelineLayers = [\n {\n id: 'x-components-all-events',\n regex: /^$/,\n label: 'X events',\n },\n {\n id: 'x-components-module-registered-events',\n regex: /^ModuleRegistered$/,\n label: 'X registered modules',\n },\n {\n id: 'x-components-user-events',\n regex: /^User/,\n label: 'X user events',\n },\n\n {\n id: 'x-components-request-events',\n regex: /Request(?:Changed|Updated)$/,\n label: 'X request events',\n },\n {\n id: 'x-components-status-change-events',\n regex: /Changed$/,\n label: 'X status change events',\n },\n {\n id: 'x-components-miscellanea-events',\n regex: /.*/,\n label: 'X miscellanea events',\n },\n]\n\n/** Set containing the different layer ids. */\nconst layerIds = new Set(timelineLayers.map(layer => layer.id))\n\n/**\n * Retrieves the timeline layer that an {@link XEvent} belongs to.\n *\n * @param event - The {@link XEvent} to retrieve its layer id.\n * @returns The layer id for the {@link XEvent}.\n */\nfunction getTimelineLayer(event: XEvent): string {\n return timelineLayers.find(layer => layer.regex.test(event))!.id\n}\n\n/**\n * Configures Vue's devtools timeline with new rows for {@link XEvent}s.\n *\n * @param api - Vue's devtools API.\n * @internal\n */\nexport function setupTimelinePlugin(api: DevtoolsPluginApi<Dictionary>): void {\n devtoolsAPI = api\n timelineLayers.forEach(layer =>\n api.addTimelineLayer({\n id: layer.id,\n label: layer.label,\n color: hslToHex(329, 100, 50),\n }),\n )\n api.on.inspectTimelineEvent(payload => {\n if (layerIds.has(payload.layerId)) {\n const component = (<WirePayload<unknown>>payload.event.data).metadata.component\n if (component) {\n api.highlightElement(component)\n }\n }\n })\n}\n\n/**\n * Sends the emission of an {@link XEvent} to the devtools.\n *\n * @param event - The emitted {@link XEvent}.\n * @param value - An object containing both the event payload and its metadata.\n * @internal\n */\nexport function logDevtoolsXEvent<Event extends XEvent>(\n event: Event,\n value: WirePayload<XEventPayload<Event>>,\n): void {\n // eslint-disable-next-line node/prefer-global/process\n if (process.env.NODE_ENV !== 'production' && devtoolsAPI) {\n const timelineEvent = {\n title: event,\n data: {\n ...value,\n metadata: {\n ...value.metadata,\n // FIX-ME: copying metadata.component as it is defined as a non-enumerable property.\n component: value.metadata.component,\n },\n },\n time: devtoolsAPI.now(),\n }\n devtoolsAPI.addTimelineEvent({\n event: timelineEvent,\n layerId: getTimelineLayer(event),\n })\n devtoolsAPI.addTimelineEvent({\n event: timelineEvent,\n layerId: 'x-components-all-events',\n })\n }\n}\n"],"names":[],"mappings":"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"}
|
|
@@ -12,6 +12,8 @@ const wiresStatus = {};
|
|
|
12
12
|
* Creates tags given a node representing a wire.
|
|
13
13
|
*
|
|
14
14
|
* @param node - The inspector node representing a {@link Wire}.
|
|
15
|
+
* @param node.tags - tags node.
|
|
16
|
+
* @param node.id - id node.
|
|
15
17
|
* @returns A list of tags for the given node.
|
|
16
18
|
*/
|
|
17
19
|
function createWireTags({ tags = [], id }) {
|
|
@@ -20,7 +22,7 @@ function createWireTags({ tags = [], id }) {
|
|
|
20
22
|
newTags.push({
|
|
21
23
|
label: 'disabled',
|
|
22
24
|
backgroundColor: hslToHex(0, 88, 30),
|
|
23
|
-
textColor: hslToHex(0, 84, 90)
|
|
25
|
+
textColor: hslToHex(0, 84, 90),
|
|
24
26
|
});
|
|
25
27
|
}
|
|
26
28
|
return newTags;
|
|
@@ -35,7 +37,7 @@ function setupWiringDevtools(api) {
|
|
|
35
37
|
const inspectorId = 'wiring-inspector';
|
|
36
38
|
api.addInspector({
|
|
37
39
|
id: inspectorId,
|
|
38
|
-
label: 'X-Components Wiring'
|
|
40
|
+
label: 'X-Components Wiring',
|
|
39
41
|
});
|
|
40
42
|
api.on.getInspectorTree(payload => {
|
|
41
43
|
if (payload.inspectorId !== inspectorId) {
|
|
@@ -55,8 +57,8 @@ function setupWiringDevtools(api) {
|
|
|
55
57
|
label: event,
|
|
56
58
|
children: wiresNodes.map(wireNode => ({
|
|
57
59
|
...wireNode,
|
|
58
|
-
tags: createWireTags(wireNode)
|
|
59
|
-
}))
|
|
60
|
+
tags: createWireTags(wireNode),
|
|
61
|
+
})),
|
|
60
62
|
});
|
|
61
63
|
}
|
|
62
64
|
return nodes;
|
|
@@ -71,13 +73,14 @@ function setupWiringDevtools(api) {
|
|
|
71
73
|
{
|
|
72
74
|
key: 'enabled',
|
|
73
75
|
value: wiresStatus[payload.nodeId],
|
|
74
|
-
editable: true
|
|
75
|
-
}
|
|
76
|
-
]
|
|
76
|
+
editable: true,
|
|
77
|
+
},
|
|
78
|
+
],
|
|
77
79
|
};
|
|
78
80
|
});
|
|
79
81
|
api.on.editInspectorState(payload => {
|
|
80
82
|
if (payload.inspectorId === inspectorId) {
|
|
83
|
+
// eslint-disable-next-line ts/no-unsafe-assignment
|
|
81
84
|
wiresStatus[payload.nodeId] = payload.state.value;
|
|
82
85
|
api.sendInspectorTree(inspectorId);
|
|
83
86
|
}
|
|
@@ -92,6 +95,7 @@ function setupWiringDevtools(api) {
|
|
|
92
95
|
* @internal
|
|
93
96
|
*/
|
|
94
97
|
function sendWiringToDevtools(module, wiring) {
|
|
98
|
+
// eslint-disable-next-line node/prefer-global/process
|
|
95
99
|
if (process.env.NODE_ENV !== 'production') {
|
|
96
100
|
forEach(wiring, (event, wires) => {
|
|
97
101
|
const eventWiring = wiringNodes[event] ?? (wiringNodes[event] = []);
|
|
@@ -105,9 +109,9 @@ function sendWiringToDevtools(module, wiring) {
|
|
|
105
109
|
tags: [
|
|
106
110
|
{
|
|
107
111
|
label: module,
|
|
108
|
-
...moduleColors[module]
|
|
109
|
-
}
|
|
110
|
-
]
|
|
112
|
+
...moduleColors[module],
|
|
113
|
+
},
|
|
114
|
+
],
|
|
111
115
|
});
|
|
112
116
|
});
|
|
113
117
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wiring.devtools.js","sources":["../../../../src/plugins/devtools/wiring.devtools.ts"],"sourcesContent":["import { Dictionary
|
|
1
|
+
{"version":3,"file":"wiring.devtools.js","sources":["../../../../src/plugins/devtools/wiring.devtools.ts"],"sourcesContent":["import type { Dictionary } from '@empathyco/x-utils'\nimport type { CustomInspectorNode, DevtoolsPluginApi, InspectorNodeTag } from '@vue/devtools-api'\nimport type { XEvent } from '../../wiring/events.types'\nimport type { AnyWire, Wiring } from '../../wiring/wiring.types'\nimport type { XModuleName } from '../../x-modules/x-modules.types'\nimport { forEach, reduce } from '@empathyco/x-utils'\nimport { filter } from '../../wiring/wires.operators'\nimport { hslToHex, moduleColors } from './colors.utils'\n\n/** The full list of wiring nodes for the inspector. */\nconst wiringNodes: Partial<Record<XEvent, CustomInspectorNode[]>> = {}\n/**\n * Record of the wires enabled/disabled status.\n */\nconst wiresStatus: Record<string, boolean> = {}\n\n/**\n * Creates tags given a node representing a wire.\n *\n * @param node - The inspector node representing a {@link Wire}.\n * @param node.tags - tags node.\n * @param node.id - id node.\n * @returns A list of tags for the given node.\n */\nfunction createWireTags({ tags = [], id }: CustomInspectorNode): InspectorNodeTag[] {\n const newTags: InspectorNodeTag[] = [...tags]\n if (!wiresStatus[id]) {\n newTags.push({\n label: 'disabled',\n backgroundColor: hslToHex(0, 88, 30),\n textColor: hslToHex(0, 84, 90),\n })\n }\n return newTags\n}\n\n/**\n * Setups an inspector in Vue's devtools to show the wiring.\n *\n * @param api - Vue's devtools API.\n * @internal\n */\nexport function setupWiringDevtools(api: DevtoolsPluginApi<Dictionary<unknown>>): void {\n const inspectorId = 'wiring-inspector'\n api.addInspector({\n id: inspectorId,\n label: 'X-Components Wiring',\n })\n api.on.getInspectorTree(payload => {\n if (payload.inspectorId !== inspectorId) {\n return\n }\n const query = payload.filter.toLowerCase()\n payload.rootNodes = reduce(\n wiringNodes,\n (nodes, event, eventWires) => {\n const wiresNodes =\n /* If there is no active search, or the event name includes the query, we include all the\n available wires. */\n !query || event.toLowerCase().includes(query)\n ? eventWires\n : eventWires.filter(node =>\n node.label.toLowerCase().includes(payload.filter.toLowerCase()),\n )\n if (wiresNodes.length) {\n nodes.push({\n id: event,\n label: event,\n children: wiresNodes.map(wireNode => ({\n ...wireNode,\n tags: createWireTags(wireNode),\n })),\n })\n }\n return nodes\n },\n <CustomInspectorNode[]>[],\n )\n })\n\n api.on.getInspectorState(payload => {\n if (payload.inspectorId !== inspectorId) {\n return\n }\n payload.state = {\n status: [\n {\n key: 'enabled',\n value: wiresStatus[payload.nodeId],\n editable: true,\n },\n ],\n }\n })\n\n api.on.editInspectorState(payload => {\n if (payload.inspectorId === inspectorId) {\n // eslint-disable-next-line ts/no-unsafe-assignment\n wiresStatus[payload.nodeId] = payload.state.value\n api.sendInspectorTree(inspectorId)\n }\n })\n}\n\n/**\n * Sends the module wiring to Vue's devtools inspector. Additionally, it modifies each wire, adding\n * a filter function to let it be enabled/disabled from the devtools.\n *\n * @param module - The module name this wiring belongs too.\n * @param wiring - The wiring to save.\n * @internal\n */\nexport function sendWiringToDevtools(module: XModuleName, wiring: Partial<Wiring>): void {\n // eslint-disable-next-line node/prefer-global/process\n if (process.env.NODE_ENV !== 'production') {\n forEach(wiring, (event, wires: Dictionary<AnyWire>) => {\n const eventWiring = wiringNodes[event] ?? (wiringNodes[event] = [])\n forEach(wires, (wireName, wire) => {\n const id = `${module}-${event}-${wireName}`\n wiresStatus[id] = true\n wires[wireName] = filter(wire, () => wiresStatus[id])\n eventWiring.push({\n id,\n label: wireName,\n tags: [\n {\n label: module,\n ...moduleColors[module],\n },\n ],\n })\n })\n })\n }\n}\n"],"names":[],"mappings":"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"}
|
package/js/plugins/x-bus.js
CHANGED
|
@@ -2,7 +2,7 @@ import { XPriorityBus } from '@empathyco/x-bus';
|
|
|
2
2
|
import { logDevtoolsXEvent } from './devtools/timeline.devtools.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
* Default
|
|
5
|
+
* Default XBus implementation.
|
|
6
6
|
*
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -16,9 +16,9 @@ const bus = new XPriorityBus({
|
|
|
16
16
|
Initialized: 64,
|
|
17
17
|
Provided: 128,
|
|
18
18
|
DataReceived: 256,
|
|
19
|
-
ModuleRegistered: 512
|
|
19
|
+
ModuleRegistered: 512,
|
|
20
20
|
},
|
|
21
|
-
emitCallbacks: [logDevtoolsXEvent]
|
|
21
|
+
emitCallbacks: [logDevtoolsXEvent],
|
|
22
22
|
});
|
|
23
23
|
|
|
24
24
|
export { bus };
|
package/js/plugins/x-bus.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"x-bus.js","sources":["../../../src/plugins/x-bus.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"x-bus.js","sources":["../../../src/plugins/x-bus.ts"],"sourcesContent":["import type { XEventsTypes } from '../wiring/events.types'\nimport type { WireMetadata } from '../wiring/wiring.types'\nimport { XPriorityBus } from '@empathyco/x-bus'\nimport { logDevtoolsXEvent } from './devtools/timeline.devtools'\n\n/**\n * Default XBus implementation.\n *\n * @public\n */\nexport const bus = new XPriorityBus<XEventsTypes, WireMetadata>({\n priorities: {\n Updated: 2,\n Changed: 4,\n FromUrl: 8,\n User: 16,\n External: 32,\n Initialized: 64,\n Provided: 128,\n DataReceived: 256,\n ModuleRegistered: 512,\n },\n emitCallbacks: [logDevtoolsXEvent],\n})\n"],"names":[],"mappings":";;;AAKA;;;;AAIG;AACU,MAAA,GAAG,GAAG,IAAI,YAAY,CAA6B;AAC9D,IAAA,UAAU,EAAE;AACV,QAAA,OAAO,EAAE,CAAC;AACV,QAAA,OAAO,EAAE,CAAC;AACV,QAAA,OAAO,EAAE,CAAC;AACV,QAAA,IAAI,EAAE,EAAE;AACR,QAAA,QAAQ,EAAE,EAAE;AACZ,QAAA,WAAW,EAAE,EAAE;AACf,QAAA,QAAQ,EAAE,GAAG;AACb,QAAA,YAAY,EAAE,GAAG;AACjB,QAAA,gBAAgB,EAAE,GAAG;AACtB,KAAA;IACD,aAAa,EAAE,CAAC,iBAAiB,CAAC;AACnC,CAAA;;;;"}
|
package/js/plugins/x-emitters.js
CHANGED
|
@@ -6,19 +6,21 @@ import { getGettersProxyFromModule } from '../store/utils/getters-proxy.utils.js
|
|
|
6
6
|
* changes.
|
|
7
7
|
*
|
|
8
8
|
* @param xModule - The {@link XModule} to register its Store Emitters.
|
|
9
|
-
* @param bus - The
|
|
9
|
+
* @param bus - The XBus to emit the events by the Emitters.
|
|
10
10
|
* @param store - The Vuex store to access to state and getters to watch them.
|
|
11
|
-
*
|
|
12
11
|
* @internal
|
|
13
12
|
*/
|
|
14
13
|
function registerStoreEmitters({ name, storeEmitters, storeModule }, bus, store) {
|
|
15
14
|
const safeGettersProxy = getGettersProxyFromModule(store.getters, name, storeModule);
|
|
16
15
|
forEach(storeEmitters, (event, stateSelector) => {
|
|
17
16
|
const { selector, immediate, filter, metadata, ...options } = normalizeStateSelector(stateSelector);
|
|
18
|
-
const watcherSelector = () =>
|
|
17
|
+
const watcherSelector = () =>
|
|
18
|
+
// eslint-disable-next-line ts/no-unsafe-return,ts/no-unsafe-member-access
|
|
19
|
+
selector(store.state.x[name], safeGettersProxy);
|
|
19
20
|
const emit = (newValue, oldValue) => {
|
|
21
|
+
// eslint-disable-next-line ts/no-unsafe-member-access
|
|
20
22
|
if (filter(newValue, oldValue, store.state.x[name])) {
|
|
21
|
-
bus.emit(event, newValue, { ...metadata, moduleName: name, oldValue });
|
|
23
|
+
void bus.emit(event, newValue, { ...metadata, moduleName: name, oldValue });
|
|
22
24
|
}
|
|
23
25
|
};
|
|
24
26
|
store.watch(watcherSelector, emit, options);
|
|
@@ -45,9 +47,9 @@ function normalizeStateSelector(stateSelector) {
|
|
|
45
47
|
immediate: false,
|
|
46
48
|
filter: () => true,
|
|
47
49
|
metadata: {
|
|
48
|
-
replaceable: true
|
|
50
|
+
replaceable: true,
|
|
49
51
|
},
|
|
50
|
-
...selectorOptions
|
|
52
|
+
...selectorOptions,
|
|
51
53
|
};
|
|
52
54
|
}
|
|
53
55
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"x-emitters.js","sources":["../../../src/plugins/x-emitters.ts"],"sourcesContent":["import { XBus } from '@empathyco/x-bus'
|
|
1
|
+
{"version":3,"file":"x-emitters.js","sources":["../../../src/plugins/x-emitters.ts"],"sourcesContent":["import type { XBus } from '@empathyco/x-bus'\nimport type { Dictionary } from '@empathyco/x-utils'\nimport type { Store } from 'vuex'\nimport type { AnySimpleStateSelector, AnyStateSelector } from '../store/utils/store-emitters.utils'\nimport type { XEventPayload, XEventsTypes } from '../wiring/events.types'\nimport type { WireMetadata } from '../wiring/wiring.types'\nimport type { AnyXModule } from '../x-modules/x-modules.types'\nimport { forEach } from '@empathyco/x-utils'\nimport { getGettersProxyFromModule } from '../store/utils/getters-proxy.utils'\n\n/**\n * Registers the store emitters, making them emit the event when the part of the state selected\n * changes.\n *\n * @param xModule - The {@link XModule} to register its Store Emitters.\n * @param bus - The XBus to emit the events by the Emitters.\n * @param store - The Vuex store to access to state and getters to watch them.\n * @internal\n */\nexport function registerStoreEmitters(\n { name, storeEmitters, storeModule }: AnyXModule,\n bus: XBus<XEventsTypes, WireMetadata>,\n store: Store<any>,\n): void {\n const safeGettersProxy = getGettersProxyFromModule(store.getters as Dictionary, name, storeModule)\n forEach(storeEmitters, (event, stateSelector: AnySimpleStateSelector | AnyStateSelector) => {\n const { selector, immediate, filter, metadata, ...options } =\n normalizeStateSelector(stateSelector)\n\n const watcherSelector = (): XEventPayload<typeof event> =>\n // eslint-disable-next-line ts/no-unsafe-return,ts/no-unsafe-member-access\n selector(store.state.x[name], safeGettersProxy)\n const emit: (\n newValue: XEventPayload<typeof event>,\n oldValue?: XEventPayload<typeof event>,\n ) => void = (newValue, oldValue) => {\n // eslint-disable-next-line ts/no-unsafe-member-access\n if (filter(newValue, oldValue, store.state.x[name])) {\n void bus.emit(event, newValue, { ...metadata, moduleName: name, oldValue })\n }\n }\n\n store.watch(watcherSelector, emit, options)\n\n if (immediate) {\n emit(watcherSelector())\n }\n })\n}\n\n/**\n * Transforms a {@link AnySimpleStateSelector} into a {@link AnyStateSelector}, and sets\n * default values for its properties.\n *\n * @param stateSelector - The state selector to normalize.\n * @returns A {@link AnyStateSelector} with all the properties set.\n *\n * @internal\n */\nfunction normalizeStateSelector(stateSelector: AnySimpleStateSelector | AnyStateSelector) {\n const selectorOptions = isSimpleSelector(stateSelector)\n ? { selector: stateSelector }\n : stateSelector\n\n return {\n deep: false,\n immediate: false,\n filter: () => true,\n metadata: {\n replaceable: true,\n },\n ...selectorOptions,\n }\n}\n\n/**\n * Checks if the type of the store emitter selector is simple or complex. This selector can be\n * a function if it is simple or an object with the selector and other options if it is complex.\n *\n * @param stateSelector - The store emitter selector.\n * @returns A boolean which flags if the stateSelector is simple (function) or complex (object).\n *\n * @internal\n */\nexport function isSimpleSelector(\n stateSelector: AnySimpleStateSelector | AnyStateSelector,\n): stateSelector is AnySimpleStateSelector {\n return typeof stateSelector === 'function'\n}\n"],"names":[],"mappings":";;;AAUA;;;;;;;;AAQG;AACa,SAAA,qBAAqB,CACnC,EAAE,IAAI,EAAE,aAAa,EAAE,WAAW,EAAc,EAChD,GAAqC,EACrC,KAAiB,EAAA;AAEjB,IAAA,MAAM,gBAAgB,GAAG,yBAAyB,CAAC,KAAK,CAAC,OAAqB,EAAE,IAAI,EAAE,WAAW,CAAC,CAAA;IAClG,OAAO,CAAC,aAAa,EAAE,CAAC,KAAK,EAAE,aAAwD,KAAI;AACzF,QAAA,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,OAAO,EAAE,GACzD,sBAAsB,CAAC,aAAa,CAAC,CAAA;QAEvC,MAAM,eAAe,GAAG;;AAEtB,QAAA,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,gBAAgB,CAAC,CAAA;AACjD,QAAA,MAAM,IAAI,GAGE,CAAC,QAAQ,EAAE,QAAQ,KAAI;;AAEjC,YAAA,IAAI,MAAM,CAAC,QAAQ,EAAE,QAAQ,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE;AACnD,gBAAA,KAAK,GAAG,CAAC,IAAI,CAAC,KAAK,EAAE,QAAQ,EAAE,EAAE,GAAG,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAA;AAC5E,aAAA;AACH,SAAC,CAAA;QAED,KAAK,CAAC,KAAK,CAAC,eAAe,EAAE,IAAI,EAAE,OAAO,CAAC,CAAA;AAE3C,QAAA,IAAI,SAAS,EAAE;AACb,YAAA,IAAI,CAAC,eAAe,EAAE,CAAC,CAAA;AACxB,SAAA;AACH,KAAC,CAAC,CAAA;AACJ,CAAC;AAED;;;;;;;;AAQG;AACH,SAAS,sBAAsB,CAAC,aAAwD,EAAA;AACtF,IAAA,MAAM,eAAe,GAAG,gBAAgB,CAAC,aAAa,CAAC;AACrD,UAAE,EAAE,QAAQ,EAAE,aAAa,EAAE;UAC3B,aAAa,CAAA;IAEjB,OAAO;AACL,QAAA,IAAI,EAAE,KAAK;AACX,QAAA,SAAS,EAAE,KAAK;AAChB,QAAA,MAAM,EAAE,MAAM,IAAI;AAClB,QAAA,QAAQ,EAAE;AACR,YAAA,WAAW,EAAE,IAAI;AAClB,SAAA;AACD,QAAA,GAAG,eAAe;KACnB,CAAA;AACH,CAAC;AAED;;;;;;;;AAQG;AACG,SAAU,gBAAgB,CAC9B,aAAwD,EAAA;AAExD,IAAA,OAAO,OAAO,aAAa,KAAK,UAAU,CAAA;AAC5C;;;;"}
|
package/js/plugins/x-plugin.js
CHANGED
|
@@ -16,8 +16,8 @@ import { assertXPluginOptionsAreValid } from './x-plugin.utils.js';
|
|
|
16
16
|
*/
|
|
17
17
|
class XPlugin {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
20
|
-
*
|
|
19
|
+
* XComponentsAdapter Is the middleware between the components and our API where data can be
|
|
20
|
+
* mapped to client needs.
|
|
21
21
|
* This property is only available after installing the plugin.
|
|
22
22
|
*
|
|
23
23
|
* @returns The installed adapter.
|
|
@@ -28,7 +28,7 @@ class XPlugin {
|
|
|
28
28
|
return this.getInstance().adapter;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
* Exposed
|
|
31
|
+
* Exposed XBus, so any kind of application can subscribe to
|
|
32
32
|
* {@link XEventsTypes} without having to pass through a component.
|
|
33
33
|
* This property is only available after installing the plugin.
|
|
34
34
|
*
|
|
@@ -59,29 +59,29 @@ class XPlugin {
|
|
|
59
59
|
*/
|
|
60
60
|
static getInstance() {
|
|
61
61
|
if (!this.instance) {
|
|
62
|
-
throw Error("XPlugin must be installed before accessing it's API.");
|
|
62
|
+
throw new Error("XPlugin must be installed before accessing it's API.");
|
|
63
63
|
}
|
|
64
64
|
return this.instance;
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
67
|
* Creates a new instance of the XPlugin with the given bus passed as parameter.
|
|
68
68
|
*
|
|
69
|
-
* @param bus - The
|
|
69
|
+
* @param bus - The XBus implementation to use for the plugin.
|
|
70
70
|
*
|
|
71
71
|
* @public
|
|
72
72
|
*/
|
|
73
73
|
constructor(bus) {
|
|
74
74
|
this.wiring = {};
|
|
75
75
|
/**
|
|
76
|
-
* Set of the already installed
|
|
76
|
+
* Set of the already installed XModules to avoid re-registering them.
|
|
77
77
|
*
|
|
78
78
|
* @internal
|
|
79
79
|
*/
|
|
80
80
|
this.installedXModules = new Set();
|
|
81
81
|
/**
|
|
82
82
|
* True if the plugin has been installed in a Vue instance, in this case
|
|
83
|
-
*
|
|
84
|
-
*
|
|
83
|
+
* XModules will be installed immediately. False otherwise, in this case
|
|
84
|
+
* XModules will be installed lazily when the {@link XPlugin#install} method
|
|
85
85
|
* is called.
|
|
86
86
|
*
|
|
87
87
|
* @internal
|
|
@@ -166,7 +166,7 @@ class XPlugin {
|
|
|
166
166
|
// The wiring must be registered after the store emitters
|
|
167
167
|
// to allow lazy loaded modules work properly.
|
|
168
168
|
this.installedXModules.add(xModule.name);
|
|
169
|
-
this.bus.emit('ModuleRegistered', xModule.name);
|
|
169
|
+
void this.bus.emit('ModuleRegistered', xModule.name);
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
172
|
/**
|
|
@@ -174,7 +174,6 @@ class XPlugin {
|
|
|
174
174
|
*
|
|
175
175
|
* @param xModule - The module to customize.
|
|
176
176
|
* @returns The customized xModule.
|
|
177
|
-
*
|
|
178
177
|
* @internal
|
|
179
178
|
*/
|
|
180
179
|
customizeXModule({ name, wiring, storeModule, storeEmitters, ...restXModule }) {
|
|
@@ -182,12 +181,14 @@ class XPlugin {
|
|
|
182
181
|
const { storeModule: storeModuleOptions, storeEmitters: emittersOptions } = this.options.__PRIVATE__xModules?.[name] ?? {};
|
|
183
182
|
return {
|
|
184
183
|
name,
|
|
184
|
+
// eslint-disable-next-line ts/no-unsafe-assignment
|
|
185
185
|
wiring: wiringOptions ? deepMerge({}, wiring, wiringOptions) : wiring,
|
|
186
186
|
storeModule: this.customizeStoreModule(storeModule, storeModuleOptions ?? {}, config),
|
|
187
|
+
// eslint-disable-next-line ts/no-unsafe-assignment
|
|
187
188
|
storeEmitters: emittersOptions
|
|
188
189
|
? deepMerge({}, storeEmitters, emittersOptions)
|
|
189
190
|
: storeEmitters,
|
|
190
|
-
...restXModule
|
|
191
|
+
...restXModule,
|
|
191
192
|
};
|
|
192
193
|
}
|
|
193
194
|
/**
|
|
@@ -195,7 +196,6 @@ class XPlugin {
|
|
|
195
196
|
* executing each wire.
|
|
196
197
|
*
|
|
197
198
|
* @param xModule - The {@link XModule} to register its wiring.
|
|
198
|
-
*
|
|
199
199
|
* @internal
|
|
200
200
|
*/
|
|
201
201
|
registerWiring({ wiring, name }) {
|
|
@@ -213,7 +213,6 @@ class XPlugin {
|
|
|
213
213
|
* Registers a {@link https://vuex.vuejs.org/ | Vuex} store module under the 'x' module.
|
|
214
214
|
*
|
|
215
215
|
* @param xModule - The {@link XModule} to register its Store Module.
|
|
216
|
-
*
|
|
217
216
|
* @internal
|
|
218
217
|
*/
|
|
219
218
|
registerStoreModule({ name, storeModule }) {
|
|
@@ -232,13 +231,15 @@ class XPlugin {
|
|
|
232
231
|
* @param moduleOptions - The state, actions, mutations and getters to override the defaultModule.
|
|
233
232
|
* @param configOptions - The state config to override the moduleOptions.
|
|
234
233
|
* @returns The {@link XStoreModule} customized.
|
|
235
|
-
*
|
|
236
234
|
* @internal
|
|
237
235
|
*/
|
|
238
236
|
customizeStoreModule({ state: defaultState, ...actionsGettersMutations }, { state: xModuleState, ...newActionsGettersMutations }, configOptions) {
|
|
239
237
|
const configOptionsObject = configOptions ? { config: configOptions } : {};
|
|
238
|
+
// eslint-disable-next-line ts/no-unsafe-assignment
|
|
240
239
|
const customizedModule = deepMerge({}, actionsGettersMutations, newActionsGettersMutations);
|
|
240
|
+
// eslint-disable-next-line ts/no-unsafe-assignment,ts/no-unsafe-member-access
|
|
241
241
|
customizedModule.state = deepMerge(defaultState(), xModuleState, configOptionsObject);
|
|
242
|
+
// eslint-disable-next-line ts/no-unsafe-return
|
|
242
243
|
return customizedModule;
|
|
243
244
|
}
|
|
244
245
|
/**
|
|
@@ -246,7 +247,6 @@ class XPlugin {
|
|
|
246
247
|
* changes.
|
|
247
248
|
*
|
|
248
249
|
* @param xModule - The {@link XModule} to register its Store Emitters.
|
|
249
|
-
*
|
|
250
250
|
* @internal
|
|
251
251
|
*/
|
|
252
252
|
registerStoreEmitters(xModule) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"x-plugin.js","sources":["../../../src/plugins/x-plugin.ts"],"sourcesContent":["import { deepMerge } from '@empathyco/x-deep-merge';\nimport { forEach, Dictionary } from '@empathyco/x-utils';\nimport { App } from 'vue';\nimport { createStore, Module, Store } from 'vuex';\nimport { XComponentsAdapter } from '@empathyco/x-types';\nimport { EventPayload, SubjectPayload, XBus } from '@empathyco/x-bus';\nimport { Observable } from 'rxjs';\nimport { AnyXStoreModule, RootXStoreState } from '../store/store.types';\nimport { cleanGettersProxyCache } from '../store/utils/getters-proxy.utils';\nimport { RootXStoreModule } from '../store/x.module';\nimport { XEvent, XEventsTypes } from '../wiring/events.types';\nimport { AnyWire, WireMetadata } from '../wiring/wiring.types';\nimport { AnyXModule, XModuleName } from '../x-modules/x-modules.types';\nimport { sendWiringToDevtools } from './devtools/wiring.devtools';\nimport { bus } from './x-bus';\nimport { registerStoreEmitters } from './x-emitters';\nimport { AnyXStoreModuleOption, XModuleOptions, XPluginOptions } from './x-plugin.types';\nimport { assertXPluginOptionsAreValid } from './x-plugin.utils';\n\n/**\n * Vue plugin that initializes the properties needed by the x-components, and exposes the events bus\n * and the adapter after it has been installed.\n *\n * @public\n */\nexport class XPlugin {\n /**\n * {@link @empathyco/x-typesm#XComponentsAdapter | XComponentsAdapter} Is the middleware\n * between the components and our API where data can be mapped to client needs.\n * This property is only available after installing the plugin.\n *\n * @returns The installed adapter.\n * @throws If this property is accessed before calling `Vue.use(xPlugin)`.\n * @public\n */\n public static get adapter(): XComponentsAdapter {\n return this.getInstance().adapter;\n }\n\n /**\n * Exposed {@link @empathyco/x-bus#XBus}, so any kind of application can subscribe to\n * {@link XEventsTypes} without having to pass through a component.\n * This property is only available after installing the plugin.\n *\n * @returns The installed bus.\n * @throws If this property is accessed before calling `Vue.use(xPlugin)`.\n * @public\n */\n public static get bus(): XBus<XEventsTypes, WireMetadata> {\n return this.getInstance().bus;\n }\n\n /**\n * {@link https://vuex.vuejs.org | Vuex Store} Is the place where all shared data\n * is saved.\n *\n * @returns The installed store.\n * @throws If this property is accessed before calling `Vue.use(xPlugin)`.\n * @public\n */\n public static get store(): Store<RootXStoreState> {\n return this.getInstance().store;\n }\n\n /**\n * Safely retrieves the installed instance of the XPlugin.\n *\n * @returns The installed instance of the XPlugin.\n * @throws If this method is called before calling `Vue.use(xPlugin)`.\n * @internal\n */\n protected static getInstance(): XPlugin {\n if (!this.instance) {\n throw Error(\"XPlugin must be installed before accessing it's API.\");\n }\n return this.instance;\n }\n\n /**\n * Record of modules that have been tried to be installed before the installation of the plugin.\n *\n * @internal\n */\n protected static pendingXModules: Partial<Record<XModuleName, AnyXModule>> = {};\n\n /**\n * Instance of the installed plugin. Used to expose the bus and the adapter.\n *\n * @internal\n */\n protected static instance?: XPlugin;\n\n public wiring: Partial<Record<XModuleName, Partial<Record<XEvent, string[]>>>> = {};\n /**\n * Bus for retrieving the observables when registering the wiring.\n *\n * @internal\n */\n protected bus: XBus<XEventsTypes, WireMetadata>;\n\n /**\n * Adapter for the API, responsible for transforming requests and responses.\n *\n * @internal\n */\n protected adapter!: XComponentsAdapter;\n\n /**\n * Set of the already installed {@link XModule | XModules} to avoid re-registering them.\n *\n * @internal\n */\n protected installedXModules = new Set<string>();\n\n /**\n * True if the plugin has been installed in a Vue instance, in this case\n * {@link XModule |Xmodules} will be installed immediately. False otherwise, in this case\n * {@link XModule | XModules} will be installed lazily when the {@link XPlugin#install} method\n * is called.\n *\n * @internal\n */\n protected isInstalled = false;\n\n /**\n * The installation options of the plugin, where all the customization of\n * {@link XModule | XModules} is done.\n *\n * @internal\n */\n protected options!: XPluginOptions;\n\n /**\n * The Vuex store, to pass to the wires for its registration, and to register the store\n * modules on it.\n *\n * @internal\n */\n protected store!: Store<any>;\n\n /**\n * The Vue application instance, passed by the installation method.\n *\n * @internal\n */\n protected app!: App;\n\n /**\n * Creates a new instance of the XPlugin with the given bus passed as parameter.\n *\n * @param bus - The {@link @empathyco/x-bus#XBus} implementation to use for the plugin.\n *\n * @public\n */\n public constructor(bus: XBus<XEventsTypes, WireMetadata>) {\n this.bus = bus;\n }\n\n /**\n * If the plugin has already been installed, it immediately registers a {@link XModule}. If it\n * has not been installed yet, it stores the module in a list until the plugin is installed.\n *\n * @param xModule - The module to register.\n *\n * @public\n */\n static registerXModule(xModule: AnyXModule): void {\n if (this.instance) {\n this.instance.registerXModule(xModule);\n } else {\n this.lazyRegisterXModule(xModule);\n }\n }\n\n /**\n * Utility method for resetting the installed instance of the plugin.\n *\n * @remarks Use only for testing.\n *\n * @internal\n */\n static resetInstance(): void {\n cleanGettersProxyCache();\n this.instance = undefined;\n }\n\n /**\n * Stores the {@link XModule} in a dictionary, so it can be registered later in the installation\n * process.\n *\n * @param xModule - The module to register.\n *\n * @internal\n */\n protected static lazyRegisterXModule(xModule: AnyXModule): void {\n this.pendingXModules[xModule.name] = xModule;\n }\n\n /**\n * Installs the plugin into the Vue instance.\n *\n * @param app - The Vue application instance.\n * @param options - The options to install this plugin with.\n * @throws If the XPlugin has already been installed, or the options are not valid.\n *\n * @internal\n */\n install(app: App, options?: XPluginOptions): void {\n if (this.isInstalled) {\n throw new Error('XPlugin has already been installed');\n }\n assertXPluginOptionsAreValid(options);\n XPlugin.instance = this;\n this.app = app;\n this.options = options;\n this.adapter = options.adapter;\n this.registerStore();\n this.registerInitialModules();\n this.registerPendingXModules();\n this.isInstalled = true;\n }\n\n /**\n * Performs the registration of a {@link XModule}.\n *\n * @param xModule - The module to register.\n *\n * @internal\n */\n protected registerXModule(xModule: AnyXModule): void {\n if (!this.installedXModules.has(xModule.name)) {\n const customizedXModule = this.customizeXModule(xModule);\n this.registerStoreModule(customizedXModule);\n this.registerStoreEmitters(customizedXModule);\n this.registerWiring(customizedXModule);\n // The wiring must be registered after the store emitters\n // to allow lazy loaded modules work properly.\n this.installedXModules.add(xModule.name);\n this.bus.emit('ModuleRegistered', xModule.name);\n }\n }\n\n /**\n * Performs a customization of a {@link XModule} using the XPlugin public and private options.\n *\n * @param xModule - The module to customize.\n * @returns The customized xModule.\n *\n * @internal\n */\n protected customizeXModule({\n name,\n wiring,\n storeModule,\n storeEmitters,\n ...restXModule\n }: AnyXModule): AnyXModule {\n const { wiring: wiringOptions, config }: XModuleOptions<XModuleName> =\n this.options.xModules?.[name] ?? {};\n\n const { storeModule: storeModuleOptions, storeEmitters: emittersOptions } =\n this.options.__PRIVATE__xModules?.[name] ?? {};\n\n return {\n name,\n wiring: wiringOptions ? deepMerge({}, wiring, wiringOptions) : wiring,\n storeModule: this.customizeStoreModule(storeModule, storeModuleOptions ?? {}, config),\n storeEmitters: emittersOptions\n ? deepMerge({}, storeEmitters, emittersOptions)\n : storeEmitters,\n ...restXModule\n };\n }\n\n /**\n * Performs the registration of the wiring, retrieving the observable for each event, and\n * executing each wire.\n *\n * @param xModule - The {@link XModule} to register its wiring.\n *\n * @internal\n */\n protected registerWiring({ wiring, name }: AnyXModule): void {\n sendWiringToDevtools(name, wiring);\n forEach(wiring, (event, wires: Dictionary<AnyWire>) => {\n // Obtain the observable\n const observable = this.bus.on(event, true) as unknown as Observable<\n SubjectPayload<EventPayload<XEventsTypes, typeof event>, WireMetadata>\n >;\n // Register event wires\n forEach(wires, (_, wire) => {\n wire(observable, this.store as Store<RootXStoreState>, this.bus.on.bind(this.bus));\n });\n });\n }\n\n /**\n * Registers a {@link https://vuex.vuejs.org/ | Vuex} store module under the 'x' module.\n *\n * @param xModule - The {@link XModule} to register its Store Module.\n *\n * @internal\n */\n protected registerStoreModule({ name, storeModule }: AnyXModule): void {\n (storeModule as Module<any, any>).namespaced = true;\n this.store.registerModule(['x', name], storeModule);\n }\n\n /**\n * Overrides a {@link https://vuex.vuejs.org/ | Vuex} store module definition.\n *\n * Priority of configuration merging.\n * 1st {@link XPluginOptions.xModules | xModules XPlugin option}.\n * 2nd {@link XPluginOptions.__PRIVATE__xModules | Private xModules XPlugin option}.\n * 3rd {@link XStoreModule.state | Default state of the xModule}.\n *\n * @param defaultModule - The default store module to override.\n * @param moduleOptions - The state, actions, mutations and getters to override the defaultModule.\n * @param configOptions - The state config to override the moduleOptions.\n * @returns The {@link XStoreModule} customized.\n *\n * @internal\n */\n protected customizeStoreModule(\n { state: defaultState, ...actionsGettersMutations }: AnyXStoreModule,\n { state: xModuleState, ...newActionsGettersMutations }: AnyXStoreModuleOption,\n configOptions: unknown\n ): AnyXStoreModule {\n const configOptionsObject = configOptions ? { config: configOptions } : {};\n const customizedModule = deepMerge({}, actionsGettersMutations, newActionsGettersMutations);\n customizedModule.state = deepMerge(defaultState(), xModuleState, configOptionsObject);\n return customizedModule;\n }\n\n /**\n * Registers the store emitters, making them emit the event when the part of the state selected\n * changes.\n *\n * @param xModule - The {@link XModule} to register its Store Emitters.\n *\n * @internal\n */\n protected registerStoreEmitters(xModule: AnyXModule): void {\n registerStoreEmitters(xModule, this.bus, this.store);\n }\n\n /**\n * Registers the {@link https://vuex.vuejs.org/ | Vuex} store. If the store has not been passed\n * through the {@link XPluginOptions} object, it creates one, and injects it in the Vue\n * prototype. Then it registers an x module in the store, to safe scope all the\n * {@link XModule | XModules} dynamically installed.\n *\n * @internal\n */\n protected registerStore(): void {\n this.store = this.options.store ?? createStore({});\n this.app.use(this.store);\n this.store.registerModule('x', RootXStoreModule);\n }\n /**\n * Registers the initial {@link XModule | XModules} during the {@link XPlugin} installation.\n *\n * @internal\n */\n protected registerInitialModules(): void {\n this.options.initialXModules?.forEach(xModule => {\n this.registerXModule(xModule);\n });\n }\n\n /**\n * Registers the pending {@link XModule | XModules}, that requested to be registered before the\n * installation of the plugin.\n *\n * @internal\n */\n protected registerPendingXModules(): void {\n forEach(XPlugin.pendingXModules, (_, xModule) => {\n this.registerXModule(xModule);\n });\n XPlugin.pendingXModules = {};\n }\n}\n\n/**\n * Vue plugin that modifies each component instance, extending them with the\n * {@link XComponentAPI | X Component API }.\n *\n * @example\n * Minimal installation example. An API adapter is needed to connect the X Components with the\n * suggestions, search, or tagging APIs. In this example we are using the default Empathy's platform\n * adapter.\n *\n * ```typescript\n * import { platformAdapter } from '@empathyco/x-adapter-platform';\n * Vue.use(xPlugin, { adapter: platformAdapter });\n * ```\n *\n * @example\n * If you are using {@link https://vuex.vuejs.org/ | Vuex} in your project you must install its\n * plugin, and instantiate a store before installing the XPlugin:\n * ```typescript\n * Vue.use(Vuex);\n * const store = new Store({ ... });\n * Vue.use(xPlugin, { adapter, store });\n * ```\n * @public\n */\nexport const xPlugin = new XPlugin(bus);\n"],"names":[],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"x-plugin.js","sources":["../../../src/plugins/x-plugin.ts"],"sourcesContent":["import type { EventPayload, SubjectPayload, XBus } from '@empathyco/x-bus'\nimport type { XComponentsAdapter } from '@empathyco/x-types'\nimport type { Dictionary } from '@empathyco/x-utils'\nimport type { Observable } from 'rxjs'\nimport type { App } from 'vue'\nimport type { Module, Store } from 'vuex'\nimport type { AnyXStoreModule, RootXStoreState } from '../store/store.types'\nimport type { XEvent, XEventsTypes } from '../wiring/events.types'\nimport type { AnyWire, WireMetadata } from '../wiring/wiring.types'\nimport type { AnyXModule, XModuleName } from '../x-modules/x-modules.types'\nimport type { AnyXStoreModuleOption, XModuleOptions, XPluginOptions } from './x-plugin.types'\nimport { deepMerge } from '@empathyco/x-deep-merge'\nimport { forEach } from '@empathyco/x-utils'\nimport { createStore } from 'vuex'\nimport { cleanGettersProxyCache } from '../store/utils/getters-proxy.utils'\nimport { RootXStoreModule } from '../store/x.module'\nimport { sendWiringToDevtools } from './devtools/wiring.devtools'\nimport { bus } from './x-bus'\nimport { registerStoreEmitters } from './x-emitters'\nimport { assertXPluginOptionsAreValid } from './x-plugin.utils'\n\n/**\n * Vue plugin that initializes the properties needed by the x-components, and exposes the events bus\n * and the adapter after it has been installed.\n *\n * @public\n */\nexport class XPlugin {\n /**\n * XComponentsAdapter Is the middleware between the components and our API where data can be\n * mapped to client needs.\n * This property is only available after installing the plugin.\n *\n * @returns The installed adapter.\n * @throws If this property is accessed before calling `Vue.use(xPlugin)`.\n * @public\n */\n public static get adapter(): XComponentsAdapter {\n return this.getInstance().adapter\n }\n\n /**\n * Exposed XBus, so any kind of application can subscribe to\n * {@link XEventsTypes} without having to pass through a component.\n * This property is only available after installing the plugin.\n *\n * @returns The installed bus.\n * @throws If this property is accessed before calling `Vue.use(xPlugin)`.\n * @public\n */\n public static get bus(): XBus<XEventsTypes, WireMetadata> {\n return this.getInstance().bus\n }\n\n /**\n * {@link https://vuex.vuejs.org | Vuex Store} Is the place where all shared data\n * is saved.\n *\n * @returns The installed store.\n * @throws If this property is accessed before calling `Vue.use(xPlugin)`.\n * @public\n */\n public static get store(): Store<RootXStoreState> {\n return this.getInstance().store\n }\n\n /**\n * Safely retrieves the installed instance of the XPlugin.\n *\n * @returns The installed instance of the XPlugin.\n * @throws If this method is called before calling `Vue.use(xPlugin)`.\n * @internal\n */\n protected static getInstance(): XPlugin {\n if (!this.instance) {\n throw new Error(\"XPlugin must be installed before accessing it's API.\")\n }\n return this.instance\n }\n\n /**\n * Record of modules that have been tried to be installed before the installation of the plugin.\n *\n * @internal\n */\n protected static pendingXModules: Partial<Record<XModuleName, AnyXModule>> = {}\n\n /**\n * Instance of the installed plugin. Used to expose the bus and the adapter.\n *\n * @internal\n */\n protected static instance?: XPlugin\n\n public wiring: Partial<Record<XModuleName, Partial<Record<XEvent, string[]>>>> = {}\n /**\n * Bus for retrieving the observables when registering the wiring.\n *\n * @internal\n */\n protected bus: XBus<XEventsTypes, WireMetadata>\n\n /**\n * Adapter for the API, responsible for transforming requests and responses.\n *\n * @internal\n */\n protected adapter!: XComponentsAdapter\n\n /**\n * Set of the already installed XModules to avoid re-registering them.\n *\n * @internal\n */\n protected installedXModules = new Set<string>()\n\n /**\n * True if the plugin has been installed in a Vue instance, in this case\n * XModules will be installed immediately. False otherwise, in this case\n * XModules will be installed lazily when the {@link XPlugin#install} method\n * is called.\n *\n * @internal\n */\n protected isInstalled = false\n\n /**\n * The installation options of the plugin, where all the customization of\n * {@link XModule | XModules} is done.\n *\n * @internal\n */\n protected options!: XPluginOptions\n\n /**\n * The Vuex store, to pass to the wires for its registration, and to register the store\n * modules on it.\n *\n * @internal\n */\n protected store!: Store<any>\n\n /**\n * The Vue application instance, passed by the installation method.\n *\n * @internal\n */\n protected app!: App\n\n /**\n * Creates a new instance of the XPlugin with the given bus passed as parameter.\n *\n * @param bus - The XBus implementation to use for the plugin.\n *\n * @public\n */\n public constructor(bus: XBus<XEventsTypes, WireMetadata>) {\n this.bus = bus\n }\n\n /**\n * If the plugin has already been installed, it immediately registers a {@link XModule}. If it\n * has not been installed yet, it stores the module in a list until the plugin is installed.\n *\n * @param xModule - The module to register.\n *\n * @public\n */\n static registerXModule(xModule: AnyXModule): void {\n if (this.instance) {\n this.instance.registerXModule(xModule)\n } else {\n this.lazyRegisterXModule(xModule)\n }\n }\n\n /**\n * Utility method for resetting the installed instance of the plugin.\n *\n * @remarks Use only for testing.\n *\n * @internal\n */\n static resetInstance(): void {\n cleanGettersProxyCache()\n this.instance = undefined\n }\n\n /**\n * Stores the {@link XModule} in a dictionary, so it can be registered later in the installation\n * process.\n *\n * @param xModule - The module to register.\n *\n * @internal\n */\n protected static lazyRegisterXModule(xModule: AnyXModule): void {\n this.pendingXModules[xModule.name] = xModule\n }\n\n /**\n * Installs the plugin into the Vue instance.\n *\n * @param app - The Vue application instance.\n * @param options - The options to install this plugin with.\n * @throws If the XPlugin has already been installed, or the options are not valid.\n *\n * @internal\n */\n install(app: App, options?: XPluginOptions): void {\n if (this.isInstalled) {\n throw new Error('XPlugin has already been installed')\n }\n assertXPluginOptionsAreValid(options)\n XPlugin.instance = this\n this.app = app\n this.options = options\n this.adapter = options.adapter\n this.registerStore()\n this.registerInitialModules()\n this.registerPendingXModules()\n this.isInstalled = true\n }\n\n /**\n * Performs the registration of a {@link XModule}.\n *\n * @param xModule - The module to register.\n *\n * @internal\n */\n protected registerXModule(xModule: AnyXModule): void {\n if (!this.installedXModules.has(xModule.name)) {\n const customizedXModule = this.customizeXModule(xModule)\n this.registerStoreModule(customizedXModule)\n this.registerStoreEmitters(customizedXModule)\n this.registerWiring(customizedXModule)\n // The wiring must be registered after the store emitters\n // to allow lazy loaded modules work properly.\n this.installedXModules.add(xModule.name)\n void this.bus.emit('ModuleRegistered', xModule.name)\n }\n }\n\n /**\n * Performs a customization of a {@link XModule} using the XPlugin public and private options.\n *\n * @param xModule - The module to customize.\n * @returns The customized xModule.\n * @internal\n */\n protected customizeXModule({\n name,\n wiring,\n storeModule,\n storeEmitters,\n ...restXModule\n }: AnyXModule): AnyXModule {\n const { wiring: wiringOptions, config }: XModuleOptions<XModuleName> =\n this.options.xModules?.[name] ?? {}\n\n const { storeModule: storeModuleOptions, storeEmitters: emittersOptions } =\n this.options.__PRIVATE__xModules?.[name] ?? {}\n\n return {\n name,\n // eslint-disable-next-line ts/no-unsafe-assignment\n wiring: wiringOptions ? deepMerge({}, wiring, wiringOptions) : wiring,\n storeModule: this.customizeStoreModule(storeModule, storeModuleOptions ?? {}, config),\n // eslint-disable-next-line ts/no-unsafe-assignment\n storeEmitters: emittersOptions\n ? deepMerge({}, storeEmitters, emittersOptions)\n : storeEmitters,\n ...restXModule,\n }\n }\n\n /**\n * Performs the registration of the wiring, retrieving the observable for each event, and\n * executing each wire.\n *\n * @param xModule - The {@link XModule} to register its wiring.\n * @internal\n */\n protected registerWiring({ wiring, name }: AnyXModule): void {\n sendWiringToDevtools(name, wiring)\n forEach(wiring, (event, wires: Dictionary<AnyWire>) => {\n // Obtain the observable\n const observable = this.bus.on(event, true) as unknown as Observable<\n SubjectPayload<EventPayload<XEventsTypes, typeof event>, WireMetadata>\n >\n // Register event wires\n forEach(wires, (_, wire) => {\n wire(observable, this.store as Store<RootXStoreState>, this.bus.on.bind(this.bus))\n })\n })\n }\n\n /**\n * Registers a {@link https://vuex.vuejs.org/ | Vuex} store module under the 'x' module.\n *\n * @param xModule - The {@link XModule} to register its Store Module.\n * @internal\n */\n protected registerStoreModule({ name, storeModule }: AnyXModule): void {\n ;(storeModule as Module<any, any>).namespaced = true\n this.store.registerModule(['x', name], storeModule)\n }\n\n /**\n * Overrides a {@link https://vuex.vuejs.org/ | Vuex} store module definition.\n *\n * Priority of configuration merging.\n * 1st {@link XPluginOptions.xModules | xModules XPlugin option}.\n * 2nd {@link XPluginOptions.__PRIVATE__xModules | Private xModules XPlugin option}.\n * 3rd {@link XStoreModule.state | Default state of the xModule}.\n *\n * @param defaultModule - The default store module to override.\n * @param moduleOptions - The state, actions, mutations and getters to override the defaultModule.\n * @param configOptions - The state config to override the moduleOptions.\n * @returns The {@link XStoreModule} customized.\n * @internal\n */\n protected customizeStoreModule(\n { state: defaultState, ...actionsGettersMutations }: AnyXStoreModule,\n { state: xModuleState, ...newActionsGettersMutations }: AnyXStoreModuleOption,\n configOptions: unknown,\n ): AnyXStoreModule {\n const configOptionsObject = configOptions ? { config: configOptions } : {}\n // eslint-disable-next-line ts/no-unsafe-assignment\n const customizedModule = deepMerge({}, actionsGettersMutations, newActionsGettersMutations)\n // eslint-disable-next-line ts/no-unsafe-assignment,ts/no-unsafe-member-access\n customizedModule.state = deepMerge(defaultState(), xModuleState, configOptionsObject)\n // eslint-disable-next-line ts/no-unsafe-return\n return customizedModule\n }\n\n /**\n * Registers the store emitters, making them emit the event when the part of the state selected\n * changes.\n *\n * @param xModule - The {@link XModule} to register its Store Emitters.\n * @internal\n */\n protected registerStoreEmitters(xModule: AnyXModule): void {\n registerStoreEmitters(xModule, this.bus, this.store)\n }\n\n /**\n * Registers the {@link https://vuex.vuejs.org/ | Vuex} store. If the store has not been passed\n * through the {@link XPluginOptions} object, it creates one, and injects it in the Vue\n * prototype. Then it registers an x module in the store, to safe scope all the\n * {@link XModule | XModules} dynamically installed.\n *\n * @internal\n */\n protected registerStore(): void {\n this.store = this.options.store ?? createStore({})\n this.app.use(this.store)\n this.store.registerModule('x', RootXStoreModule)\n }\n /**\n * Registers the initial {@link XModule | XModules} during the {@link XPlugin} installation.\n *\n * @internal\n */\n protected registerInitialModules(): void {\n this.options.initialXModules?.forEach(xModule => {\n this.registerXModule(xModule)\n })\n }\n\n /**\n * Registers the pending {@link XModule | XModules}, that requested to be registered before the\n * installation of the plugin.\n *\n * @internal\n */\n protected registerPendingXModules(): void {\n forEach(XPlugin.pendingXModules, (_, xModule) => {\n this.registerXModule(xModule)\n })\n XPlugin.pendingXModules = {}\n }\n}\n\n/**\n * Vue plugin that modifies each component instance, extending them with the\n * {@link XComponentAPI | X Component API }.\n *\n * @example\n * Minimal installation example. An API adapter is needed to connect the X Components with the\n * suggestions, search, or tagging APIs. In this example we are using the default Empathy's platform\n * adapter.\n *\n * ```typescript\n * import { platformAdapter } from '@empathyco/x-adapter-platform';\n * Vue.use(xPlugin, { adapter: platformAdapter });\n * ```\n *\n * @example\n * If you are using {@link https://vuex.vuejs.org/ | Vuex} in your project you must install its\n * plugin, and instantiate a store before installing the XPlugin:\n * ```typescript\n * Vue.use(Vuex);\n * const store = new Store({ ... });\n * Vue.use(xPlugin, { adapter, store });\n * ```\n * @public\n */\nexport const xPlugin = new XPlugin(bus)\n"],"names":[],"mappings":"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"}
|
|
@@ -6,14 +6,10 @@
|
|
|
6
6
|
*/
|
|
7
7
|
function assertXPluginOptionsAreValid(options) {
|
|
8
8
|
if (!options) {
|
|
9
|
-
throw new Error(
|
|
10
|
-
// eslint-disable-next-line max-len
|
|
11
|
-
'XPlugin needs to be installed with an options object containing at least an adapter. Please provide a valid object');
|
|
9
|
+
throw new Error('XPlugin needs to be installed with an options object containing at least an adapter. Please provide a valid object');
|
|
12
10
|
}
|
|
13
11
|
if (options.adapter == null) {
|
|
14
|
-
throw new Error(
|
|
15
|
-
// eslint-disable-next-line max-len
|
|
16
|
-
"The options object doesn't seem to have an adapter. Please, create one and pass it through the options object");
|
|
12
|
+
throw new Error("The options object doesn't seem to have an adapter. Please, create one and pass it through the options object");
|
|
17
13
|
}
|
|
18
14
|
}
|
|
19
15
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"x-plugin.utils.js","sources":["../../../src/plugins/x-plugin.utils.ts"],"sourcesContent":["import { ExtractGetters, XModuleName } from '../x-modules/x-modules.types'
|
|
1
|
+
{"version":3,"file":"x-plugin.utils.js","sources":["../../../src/plugins/x-plugin.utils.ts"],"sourcesContent":["import type { ExtractGetters, XModuleName } from '../x-modules/x-modules.types'\nimport type { XPluginOptions } from './x-plugin.types'\n\n/**\n * Asserts that the passed options object is valid, providing helpful error messages.\n *\n * @param options - The options to check if they are valid.\n * @public\n */\nexport function assertXPluginOptionsAreValid(\n options: XPluginOptions | undefined,\n): asserts options is XPluginOptions {\n if (!options) {\n throw new Error(\n 'XPlugin needs to be installed with an options object containing at least an adapter. Please provide a valid object',\n )\n }\n\n if (options.adapter == null) {\n throw new Error(\n \"The options object doesn't seem to have an adapter. Please, create one and pass it through the options object\",\n )\n }\n}\n\n/**\n * Generates a getter path string with the module and getter name.\n *\n * @param moduleName - The module name the getter belongs to.\n * @param getterName - The getter name.\n * @returns A string representing the getter path.\n * @public\n */\nexport function getGetterPath<ModuleName extends XModuleName>(\n moduleName: ModuleName,\n getterName: keyof ExtractGetters<ModuleName>,\n): string {\n return `x/${moduleName}/${getterName as string}`\n}\n"],"names":[],"mappings":"AAGA;;;;;AAKG;AACG,SAAU,4BAA4B,CAC1C,OAAmC,EAAA;IAEnC,IAAI,CAAC,OAAO,EAAE;AACZ,QAAA,MAAM,IAAI,KAAK,CACb,oHAAoH,CACrH,CAAA;AACF,KAAA;AAED,IAAA,IAAI,OAAO,CAAC,OAAO,IAAI,IAAI,EAAE;AAC3B,QAAA,MAAM,IAAI,KAAK,CACb,+GAA+G,CAChH,CAAA;AACF,KAAA;AACH,CAAC;AAED;;;;;;;AAOG;AACa,SAAA,aAAa,CAC3B,UAAsB,EACtB,UAA4C,EAAA;AAE5C,IAAA,OAAO,CAAK,EAAA,EAAA,UAAU,CAAI,CAAA,EAAA,UAAoB,EAAE,CAAA;AAClD;;;;"}
|