@empathyco/x-components 6.0.0-alpha.17 → 6.0.0-alpha.170
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 +1368 -581
- package/ai/index.d.ts +1 -0
- package/ai/index.js +12 -0
- package/core/index.d.ts +2 -0
- package/core/index.js +56 -44
- package/core/index.js.map +1 -1
- package/docs/API-reference/api/x-adapter-platform.aiquestionsendpointadapter.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.aiquestionsrequestmapper.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.aiquestionsrequestschema.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.aiquestionsresponsemapper.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.aiquestionsresponseschema.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.aiquestionsschema.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.aisuggestionsearchschema.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.aisuggestionsendpointadapter.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.aisuggestionsrequestmapper.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.aisuggestionssearchendpointadapter.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.aisuggestionssearchrequestmapper.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.aisuggestionssearchrequestschema.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.aisuggestionssearchresponsemapper.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.aisuggestionssearchresponseschema.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.aisuggestionssearchschema.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.aitasksendpointadapter.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.aitasksrequestmapper.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.aitasksrequestschema.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.aitasksresponsemapper.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.aitasksresponseschema.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.aitasksschema.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.mapfilters.md +80 -0
- package/docs/API-reference/api/x-adapter-platform.md +33 -0
- package/docs/API-reference/api/x-adapter-platform.nextqueriesrelatedpromptsschema.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.platformadapter.aiquestions.md +11 -0
- package/docs/API-reference/api/x-adapter-platform.platformadapter.aisuggestions.md +11 -0
- package/docs/API-reference/api/x-adapter-platform.platformadapter.aisuggestionssearch.md +11 -0
- package/docs/API-reference/api/x-adapter-platform.platformadapter.aitasks.md +11 -0
- package/docs/API-reference/api/x-adapter-platform.platformaiquestionsrequest.context.md +16 -0
- package/docs/API-reference/api/x-adapter-platform.platformaiquestionsrequest.md +20 -0
- package/docs/API-reference/api/x-adapter-platform.platformaiquestionsresponse.md +15 -0
- package/docs/API-reference/api/x-adapter-platform.platformaisuggestionsearch.md +23 -0
- package/docs/API-reference/api/x-adapter-platform.platformaisuggestionsearch.numfound.md +11 -0
- package/docs/API-reference/api/x-adapter-platform.platformaisuggestionsearch.query.md +11 -0
- package/docs/API-reference/api/x-adapter-platform.platformaisuggestionsearch.results.md +11 -0
- package/docs/API-reference/api/x-adapter-platform.platformaisuggestionsearch.tagging.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.platformaisuggestionsrequest.context.md +16 -0
- package/docs/API-reference/api/x-adapter-platform.platformaisuggestionsrequest.md +20 -0
- package/docs/API-reference/api/x-adapter-platform.platformaisuggestionssearchrequest.context.md +15 -0
- package/docs/API-reference/api/x-adapter-platform.platformaisuggestionssearchrequest.md +21 -0
- package/docs/API-reference/api/x-adapter-platform.platformaisuggestionssearchrequest.queries.md +14 -0
- package/docs/API-reference/api/x-adapter-platform.platformaisuggestionssearchresponse.items.md +11 -0
- package/docs/API-reference/api/x-adapter-platform.platformaisuggestionssearchresponse.md +20 -0
- package/docs/API-reference/api/x-adapter-platform.platformaitasksrequest.md +20 -0
- package/docs/API-reference/api/x-adapter-platform.platformaitasksrequest.taskid.md +11 -0
- package/docs/API-reference/api/x-adapter-platform.platformaitasksresponse.md +15 -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-components.addquerytohistory.md +16 -2
- 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.aiactioncontext.md +15 -0
- package/docs/API-reference/api/x-components.aiactions.fetchandsaveaisuggestions.md +13 -0
- package/docs/API-reference/api/x-components.aiactions.fetchandsaveaisuggestionssearch.md +13 -0
- package/docs/API-reference/api/x-components.aiactions.md +23 -0
- package/docs/API-reference/api/x-components.aiactions.saveorigin.md +13 -0
- package/docs/API-reference/api/x-components.aiactions.seturlparams.md +13 -0
- package/docs/API-reference/api/x-components.aiconfig.md +13 -0
- package/docs/API-reference/api/x-components.aigetters.md +22 -0
- package/docs/API-reference/api/x-components.aigetters.query.md +13 -0
- package/docs/API-reference/api/x-components.aigetters.suggestionsrequest.md +13 -0
- package/docs/API-reference/api/x-components.aigetters.suggestionssearchrequest.md +13 -0
- package/docs/API-reference/api/x-components.aimutations.md +33 -0
- package/docs/API-reference/api/x-components.aimutations.resetaistate.md +13 -0
- package/docs/API-reference/api/x-components.aimutations.setairelatedtags.md +13 -0
- package/docs/API-reference/api/x-components.aimutations.setisnoresults.md +13 -0
- package/docs/API-reference/api/x-components.aimutations.setorigin.md +13 -0
- package/docs/API-reference/api/x-components.aimutations.setparams.md +13 -0
- package/docs/API-reference/api/x-components.aimutations.setqueries.md +13 -0
- package/docs/API-reference/api/x-components.aimutations.setresponsetext.md +13 -0
- package/docs/API-reference/api/x-components.aimutations.setselectedfilters.md +13 -0
- package/docs/API-reference/api/x-components.aimutations.setsuggestionsloading.md +13 -0
- package/docs/API-reference/api/x-components.aimutations.setsuggestionssearch.md +13 -0
- package/docs/API-reference/api/x-components.aimutations.setsuggestionssearchloading.md +13 -0
- package/docs/API-reference/api/x-components.aimutations.setsuggestiontext.md +13 -0
- package/docs/API-reference/api/x-components.aimutations.settagging.md +13 -0
- package/docs/API-reference/api/x-components.aioverview.md +89 -0
- package/docs/API-reference/api/x-components.aiquery.md +13 -0
- package/docs/API-reference/api/x-components.aistate.config.md +11 -0
- package/docs/API-reference/api/x-components.aistate.isnoresults.md +13 -0
- package/docs/API-reference/api/x-components.aistate.md +33 -0
- package/docs/API-reference/api/x-components.aistate.origin.md +13 -0
- package/docs/API-reference/api/x-components.aistate.params.md +13 -0
- package/docs/API-reference/api/x-components.aistate.queries.md +11 -0
- package/docs/API-reference/api/x-components.aistate.relatedtags.md +13 -0
- package/docs/API-reference/api/x-components.aistate.responsetext.md +13 -0
- package/docs/API-reference/api/x-components.aistate.selectedfilters.md +13 -0
- package/docs/API-reference/api/x-components.aistate.suggestionsloading.md +13 -0
- package/docs/API-reference/api/x-components.aistate.suggestionssearch.md +13 -0
- package/docs/API-reference/api/x-components.aistate.suggestionssearchloading.md +13 -0
- package/docs/API-reference/api/x-components.aistate.suggestiontext.md +11 -0
- package/docs/API-reference/api/x-components.aistate.tagging.md +11 -0
- package/docs/API-reference/api/x-components.aisuggestionsrequest.md +13 -0
- package/docs/API-reference/api/x-components.aisuggestionssearchrequest.md +13 -0
- package/docs/API-reference/api/x-components.aixevents.aioverviewmounted.md +11 -0
- package/docs/API-reference/api/x-components.aixevents.aisuggestionsrequestupdated.md +11 -0
- package/docs/API-reference/api/x-components.aixevents.aisuggestionssearchchanged.md +11 -0
- package/docs/API-reference/api/x-components.aixevents.aisuggestionssearchrequestupdated.md +11 -0
- package/docs/API-reference/api/x-components.aixevents.md +25 -0
- package/docs/API-reference/api/x-components.aixevents.userclickedaioverviewexpandbutton.md +11 -0
- package/docs/API-reference/api/x-components.aixevents.userclickedanaioverviewresult.md +11 -0
- package/docs/API-reference/api/x-components.aixmodule.md +13 -0
- package/docs/API-reference/api/x-components.aixstoremodule.md +15 -0
- package/docs/API-reference/api/x-components.allfilter.md +3 -3
- package/docs/API-reference/api/x-components.animateclippath.md +15 -2
- package/docs/API-reference/api/x-components.animatescale.md +15 -2
- package/docs/API-reference/api/x-components.animatetranslate.md +15 -2
- package/docs/API-reference/api/x-components.banner.md +1 -98
- 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 +2 -2
- package/docs/API-reference/api/x-components.baseeventsmodal.md +6 -6
- 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.baseheadertogglepanel.md +2 -2
- package/docs/API-reference/api/x-components.baseidtogglepanel.md +2 -2
- package/docs/API-reference/api/x-components.basemodal.md +4 -4
- package/docs/API-reference/api/x-components.baseresultimage.md +3 -3
- 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.basescroll.md +2 -2
- package/docs/API-reference/api/x-components.baseslider.md +9 -0
- package/docs/API-reference/api/x-components.baseswitch.md +1 -1
- package/docs/API-reference/api/x-components.basetabspanel.md +2 -2
- package/docs/API-reference/api/x-components.baseteleport.md +44 -0
- package/docs/API-reference/api/x-components.basexpriorityqueue._constructor_.md +20 -0
- package/docs/API-reference/api/x-components.basexpriorityqueue.at.md +26 -0
- package/docs/API-reference/api/x-components.basexpriorityqueue.clear.md +17 -0
- package/docs/API-reference/api/x-components.basexpriorityqueue.isempty.md +19 -0
- package/docs/API-reference/api/x-components.basexpriorityqueue.keys.md +13 -0
- package/docs/API-reference/api/x-components.basexpriorityqueue.md +42 -0
- package/docs/API-reference/api/x-components.basexpriorityqueue.peek.md +19 -0
- package/docs/API-reference/api/x-components.basexpriorityqueue.pop.md +19 -0
- package/docs/API-reference/api/x-components.basexpriorityqueue.push.md +30 -0
- package/docs/API-reference/api/x-components.basexpriorityqueue.size.md +19 -0
- package/docs/API-reference/api/x-components.basexpriorityqueue.tostring.md +28 -0
- package/docs/API-reference/api/x-components.basexpriorityqueuenode._constructor_.md +22 -0
- package/docs/API-reference/api/x-components.basexpriorityqueuenode.data.md +11 -0
- package/docs/API-reference/api/x-components.basexpriorityqueuenode.key.md +11 -0
- package/docs/API-reference/api/x-components.basexpriorityqueuenode.md +35 -0
- package/docs/API-reference/api/x-components.basexpriorityqueuenode.priority.md +11 -0
- package/docs/API-reference/api/x-components.basexpriorityqueuenode.tostring.md +26 -0
- package/docs/API-reference/api/x-components.bus.md +1 -1
- package/docs/API-reference/api/x-components.cancelfetchandsavecontrols.md +5 -1
- package/docs/API-reference/api/x-components.cancelfetchandsaveidentifierresults.md +6 -2
- package/docs/API-reference/api/x-components.cancelfetchandsaveidentifierresultswire.md +1 -1
- package/docs/API-reference/api/x-components.cancelfetchandsavenextqueries.md +6 -2
- package/docs/API-reference/api/x-components.cancelfetchandsavepopularsearches.md +6 -2
- package/docs/API-reference/api/x-components.cancelfetchandsavequerysuggestions.md +6 -2
- package/docs/API-reference/api/x-components.cancelfetchandsaverecommendations.md +6 -2
- package/docs/API-reference/api/x-components.cancelfetchandsaverelatedprompts.md +6 -2
- package/docs/API-reference/api/x-components.cancelfetchandsaverelatedtags.md +6 -2
- package/docs/API-reference/api/x-components.cancelfetchandsaverelatedtagswire.md +1 -1
- package/docs/API-reference/api/x-components.cancelfetchandsavesearchresponse.md +6 -2
- 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.changeheight.md +13 -0
- package/docs/API-reference/api/x-components.clearfilters.md +2 -2
- 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.debouncefunction.md +15 -1
- 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.defaultpdpaddtocartservice.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.devicedetector.md +4 -4
- 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.emitteddata.event.md +13 -0
- package/docs/API-reference/api/x-components.emitteddata.eventpayload.md +13 -0
- package/docs/API-reference/api/x-components.emitteddata.md +22 -0
- package/docs/API-reference/api/x-components.emitteddata.metadata.md +13 -0
- package/docs/API-reference/api/x-components.emitter.md +15 -0
- package/docs/API-reference/api/x-components.emitters.md +17 -0
- package/docs/API-reference/api/x-components.empathize.md +37 -11
- 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.eventpayload.md +18 -0
- package/docs/API-reference/api/x-components.excludefilterswithnoresults.md +2 -2
- 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.extrapluginsoptions.md +1 -1
- package/docs/API-reference/api/x-components.facets.md +5 -5
- 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.facetsprovider.md +2 -2
- 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.fetchandsaveaisuggestions.md +13 -0
- package/docs/API-reference/api/x-components.fetchandsaveaisuggestionssearch.md +13 -0
- package/docs/API-reference/api/x-components.fetchandsaveexperiencecontrolsresponse.md +13 -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 +14 -2
- package/docs/API-reference/api/x-components.fetchandsavenextqueries.md +14 -2
- package/docs/API-reference/api/x-components.fetchandsavepopularsearches.md +14 -2
- package/docs/API-reference/api/x-components.fetchandsavequerypreview.md +1 -1
- package/docs/API-reference/api/x-components.fetchandsavequerysuggestions.md +14 -2
- package/docs/API-reference/api/x-components.fetchandsaverecommendations.md +14 -2
- package/docs/API-reference/api/x-components.fetchandsaverelatedprompts.md +14 -2
- package/docs/API-reference/api/x-components.fetchandsaverelatedtags.md +14 -2
- package/docs/API-reference/api/x-components.fetchandsavesearchresponse.md +14 -2
- package/docs/API-reference/api/x-components.fetchandsavesemanticquery.md +1 -1
- package/docs/API-reference/api/x-components.fetchexperiencecontrolsresponse.md +1 -1
- package/docs/API-reference/api/x-components.fetchidentifierresults.md +1 -1
- package/docs/API-reference/api/x-components.fetchnextqueries.md +1 -1
- package/docs/API-reference/api/x-components.fetchpopularsearches.md +1 -1
- package/docs/API-reference/api/x-components.fetchquerypreview.md +1 -1
- package/docs/API-reference/api/x-components.fetchquerysuggestions.md +1 -1
- package/docs/API-reference/api/x-components.fetchrecommendations.md +1 -1
- package/docs/API-reference/api/x-components.fetchrelatedprompts.md +1 -1
- package/docs/API-reference/api/x-components.fetchrelatedtags.md +1 -1
- package/docs/API-reference/api/x-components.fetchsearchresponse.md +1 -1
- package/docs/API-reference/api/x-components.fetchsemanticquery.md +1 -1
- package/docs/API-reference/api/x-components.filterslist.md +2 -2
- package/docs/API-reference/api/x-components.filterssearch.md +2 -2
- package/docs/API-reference/api/x-components.fixedheaderandasideslayout.md +2 -2
- package/docs/API-reference/api/x-components.geturlparameter.md +14 -1
- package/docs/API-reference/api/x-components.globalxbus.md +2 -324
- package/docs/API-reference/api/x-components.hierarchicalfilter.md +19 -4
- package/docs/API-reference/api/{x-components.highlight.md → x-components.highlight_2.md} +2 -2
- 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 +1 -1
- 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 +19 -0
- package/docs/API-reference/api/x-components.loadhistoryqueriesfrombrowserstorage.md +1 -1
- package/docs/API-reference/api/x-components.mainmodal.md +4 -4
- package/docs/API-reference/api/x-components.mainscrollitem.md +5 -5
- package/docs/API-reference/api/x-components.md +143 -84
- package/docs/API-reference/api/x-components.mergeconfig.md +27 -0
- package/docs/API-reference/api/x-components.multicolumnmaxwidthlayout.md +2 -2
- package/docs/API-reference/api/x-components.myhistory.md +1 -1
- 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.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.numbercomparatorfn.md +13 -0
- package/docs/API-reference/api/x-components.pageselector.md +80 -0
- package/docs/API-reference/api/x-components.partialresultslist.md +1 -1
- 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.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 +4 -15
- package/docs/API-reference/api/x-components.queriespreviewxevents.md +1 -0
- package/docs/API-reference/api/x-components.queriespreviewxevents.queriespreviewchanged.md +13 -0
- 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 +4 -4
- 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 +1 -1
- 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 +9 -14
- package/docs/API-reference/api/x-components.relatedpromptsactions.cancelfetchandsaverelatedprompts.md +3 -7
- package/docs/API-reference/api/x-components.relatedpromptsactions.fetchandsaverelatedprompts.md +2 -13
- package/docs/API-reference/api/x-components.relatedpromptsactions.fetchrelatedprompts.md +2 -13
- package/docs/API-reference/api/x-components.relatedpromptsactions.md +8 -7
- package/docs/API-reference/api/x-components.relatedpromptsactions.seturlparams.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptsgetters.md +1 -0
- package/docs/API-reference/api/x-components.relatedpromptsgetters.query.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptsmutations.md +13 -11
- package/docs/API-reference/api/x-components.relatedpromptsmutations.resetrelatedpromptsstate.md +2 -6
- package/docs/API-reference/api/x-components.relatedpromptsmutations.resetselectedprompt.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptsmutations.setparams.md +2 -13
- package/docs/API-reference/api/x-components.relatedpromptsmutations.setrelatedpromptsproducts.md +2 -13
- package/docs/API-reference/api/x-components.relatedpromptsmutations.setrelatedpromptsrelatedtags.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptsmutations.setselectedprompt.md +2 -13
- package/docs/API-reference/api/x-components.relatedpromptsmutations.setselectedquery.md +2 -13
- package/docs/API-reference/api/x-components.relatedpromptsstate.md +2 -1
- package/docs/API-reference/api/x-components.relatedpromptsstate.relatedtags.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptstaglist.md +73 -0
- package/docs/API-reference/api/x-components.relatedpromptsxevents.md +8 -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.reloadrelatedpromptsrequested.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.relatedtag.md +3 -3
- package/docs/API-reference/api/x-components.relatedtags.md +1 -1
- package/docs/API-reference/api/x-components.relatedtagsactions.cancelfetchandsaverelatedtags.md +3 -7
- package/docs/API-reference/api/x-components.relatedtagsactions.fetchandsaverelatedtags.md +2 -13
- package/docs/API-reference/api/x-components.relatedtagsactions.fetchrelatedtags.md +2 -15
- package/docs/API-reference/api/x-components.relatedtagsactions.md +9 -9
- package/docs/API-reference/api/x-components.relatedtagsactions.seturlparams.md +2 -13
- package/docs/API-reference/api/x-components.relatedtagsactions.togglerelatedtag.md +2 -13
- package/docs/API-reference/api/x-components.relatedtagsmutations.md +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 +17 -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.resultvariantselector.md +1 -1
- package/docs/API-reference/api/x-components.sanitize.md +14 -1
- package/docs/API-reference/api/x-components.saveaiorigin.md +13 -0
- 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.scroll.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 +3 -3
- 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 +2 -2
- package/docs/API-reference/api/x-components.searchmutations.appendresults.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.md +30 -30
- package/docs/API-reference/api/x-components.searchmutations.resetstate.md +3 -7
- package/docs/API-reference/api/x-components.searchmutations.resetstateforreload.md +3 -7
- package/docs/API-reference/api/x-components.searchmutations.setbanners.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setdisplaytagging.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setfacets.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setfromnoresultswithfilters.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setisappendresults.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setisnoresults.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setorigin.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setpage.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setparams.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setpartialresults.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setpromoteds.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setquerytagging.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setredirections.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setrelatedtags.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setresults.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setselectedfilters.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setsort.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setspellcheck.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.setstats.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.settotalresults.md +2 -13
- package/docs/API-reference/api/x-components.searchmutations.updateresult.md +2 -13
- package/docs/API-reference/api/x-components.searchstate.md +1 -1
- 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.selectedfilters.md +2 -2
- package/docs/API-reference/api/x-components.selectedfilterslist.md +2 -2
- 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.setaiurlparams.md +13 -0
- 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 +19 -4
- package/docs/API-reference/api/x-components.singlecolumnlayout.md +2 -2
- package/docs/API-reference/api/x-components.slicedfilters.md +2 -2
- package/docs/API-reference/api/x-components.slidingpanel.md +20 -7
- package/docs/API-reference/api/x-components.snippetcallbacks.md +18 -3
- package/docs/API-reference/api/x-components.snippetconfigextraparams.md +2 -2
- package/docs/API-reference/api/x-components.sortdropdown.md +6 -6
- package/docs/API-reference/api/x-components.sortedfilters.md +2 -2
- 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.subjectpayload.eventpayload.md +13 -0
- package/docs/API-reference/api/x-components.subjectpayload.md +21 -0
- package/docs/API-reference/api/x-components.subjectpayload.metadata.md +13 -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.throttlefunction.md +4 -4
- 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.trackaioverviewbuttonclickedwire.md +13 -0
- package/docs/API-reference/api/x-components.trackaisuggestionssearchwire.md +13 -0
- 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.use_x.md +4 -4
- 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.usequeriespreview.md +7 -1
- package/docs/API-reference/api/x-components.usestate.md +5 -4
- package/docs/API-reference/api/x-components.usexbus.md +4 -4
- package/docs/API-reference/api/x-components.wire.md +1 -1
- package/docs/API-reference/api/x-components.wirepayload.md +1 -1
- 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.xbus.emit.md +13 -0
- package/docs/API-reference/api/x-components.xbus.md +21 -0
- package/docs/API-reference/api/x-components.xbus.on.md +13 -0
- package/docs/API-reference/api/x-components.xcomponentapi.md +1 -1
- package/docs/API-reference/api/x-components.xcomponentbusapi.emit.md +3 -13
- package/docs/API-reference/api/x-components.xcomponentbusapi.md +3 -9
- package/docs/API-reference/api/x-components.xcomponentbusapi.on.md +1 -0
- package/docs/API-reference/api/x-components.xeventstypes.md +2 -2
- package/docs/API-reference/api/x-components.xinstaller.init.md +1 -1
- package/docs/API-reference/api/x-components.xmodulestree.ai.md +11 -0
- package/docs/API-reference/api/x-components.xmodulestree.md +1 -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-components.xprioritybus._constructor_.md +25 -0
- package/docs/API-reference/api/x-components.xprioritybus.emit.md +28 -0
- package/docs/API-reference/api/x-components.xprioritybus.md +28 -0
- package/docs/API-reference/api/x-components.xprioritybus.on.md +27 -0
- package/docs/API-reference/api/x-components.xprioritybuseventmetadata.md +22 -0
- package/docs/API-reference/api/x-components.xprioritybuseventmetadata.priority.md +11 -0
- package/docs/API-reference/api/x-components.xprioritybuseventmetadata.replaceable.md +11 -0
- package/docs/API-reference/api/x-components.xpriorityqueue.md +22 -0
- package/docs/API-reference/api/x-components.xpriorityqueue.pop.md +13 -0
- package/docs/API-reference/api/x-components.xpriorityqueue.push.md +13 -0
- package/docs/API-reference/api/x-components.xpriorityqueue.size.md +13 -0
- package/docs/API-reference/api/x-components.xpriorityqueuenode.data.md +13 -0
- package/docs/API-reference/api/x-components.xpriorityqueuenode.key.md +13 -0
- package/docs/API-reference/api/x-components.xpriorityqueuenode.md +22 -0
- package/docs/API-reference/api/x-components.xpriorityqueuenode.priority.md +13 -0
- package/docs/API-reference/api/x-components.xpriorityqueuenodedata.eventmetadata.md +13 -0
- package/docs/API-reference/api/x-components.xpriorityqueuenodedata.eventpayload.md +13 -0
- package/docs/API-reference/api/x-components.xpriorityqueuenodedata.md +23 -0
- package/docs/API-reference/api/x-components.xpriorityqueuenodedata.replaceable.md +13 -0
- package/docs/API-reference/api/x-components.xpriorityqueuenodedata.resolve.md +13 -0
- package/docs/API-reference/api/x-types.aiquestion.content.md +14 -0
- package/docs/API-reference/api/x-types.aiquestion.expanded.md +11 -0
- package/docs/API-reference/api/x-types.aiquestion.id.md +11 -0
- package/docs/API-reference/api/x-types.aiquestion.md +28 -0
- package/docs/API-reference/api/x-types.aiquestion.metadata.md +17 -0
- package/docs/API-reference/api/x-types.aiquestion.responsetext.md +11 -0
- package/docs/API-reference/api/x-types.aiquestion.suggestionimageurl.md +11 -0
- package/docs/API-reference/api/x-types.aiquestion.suggestiontext.md +11 -0
- package/docs/API-reference/api/x-types.aiquestion.tagging.md +19 -0
- package/docs/API-reference/api/x-types.aiquestion.type.md +11 -0
- package/docs/API-reference/api/x-types.aiquestionsrequest.lang.md +11 -0
- package/docs/API-reference/api/x-types.aiquestionsrequest.md +22 -0
- package/docs/API-reference/api/x-types.aiquestionsrequest.query.md +11 -0
- package/docs/API-reference/api/x-types.aiquestionsresponse.context.md +16 -0
- package/docs/API-reference/api/x-types.aiquestionsresponse.items.md +11 -0
- package/docs/API-reference/api/x-types.aiquestionsresponse.md +25 -0
- package/docs/API-reference/api/x-types.aiquestionsresponse.numitems.md +11 -0
- package/docs/API-reference/api/x-types.aiquestionsresponse.resolved.md +11 -0
- package/docs/API-reference/api/x-types.aiquestionsresponse.taskid.md +11 -0
- package/docs/API-reference/api/x-types.aiquestionsresponse.totalitems.md +11 -0
- package/docs/API-reference/api/x-types.aisuggestionsearch.md +23 -0
- package/docs/API-reference/api/x-types.aisuggestionsearch.numfound.md +11 -0
- package/docs/API-reference/api/x-types.aisuggestionsearch.query.md +11 -0
- package/docs/API-reference/api/x-types.aisuggestionsearch.results.md +11 -0
- package/docs/API-reference/api/x-types.aisuggestionsearch.tagging.md +13 -0
- package/docs/API-reference/api/x-types.aisuggestionsrequest.md +21 -0
- package/docs/API-reference/api/x-types.aisuggestionsrequest.query.md +11 -0
- package/docs/API-reference/api/x-types.aisuggestionssearchrequest.md +21 -0
- package/docs/API-reference/api/x-types.aisuggestionssearchrequest.queries.md +14 -0
- package/docs/API-reference/api/x-types.aisuggestionssearchresponse.md +20 -0
- package/docs/API-reference/api/x-types.aisuggestionssearchresponse.suggestions.md +11 -0
- package/docs/API-reference/api/x-types.aitasksrequest.md +21 -0
- package/docs/API-reference/api/x-types.aitasksrequest.taskid.md +11 -0
- package/docs/API-reference/api/x-types.aitasksresponse.md +21 -0
- package/docs/API-reference/api/x-types.aitasksresponse.result.md +11 -0
- package/docs/API-reference/api/x-types.aitasksresponse.steps.md +11 -0
- package/docs/API-reference/api/x-types.md +12 -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.stepempathising.md +21 -0
- package/docs/API-reference/api/x-types.stepempathising.stepdescription.md +11 -0
- package/docs/API-reference/api/x-types.stepempathising.stepname.md +11 -0
- package/docs/API-reference/api/x-types.xcomponentsadapter.aiquestions.md +11 -0
- package/docs/API-reference/api/x-types.xcomponentsadapter.aisuggestions.md +11 -0
- package/docs/API-reference/api/x-types.xcomponentsadapter.aisuggestionssearch.md +11 -0
- package/docs/API-reference/api/x-types.xcomponentsadapter.aitasks.md +11 -0
- package/docs/API-reference/api/x-types.xcomponentsadapter.md +6 -0
- package/docs/API-reference/components/ai/x-components.ai-overview.md +33 -0
- package/docs/API-reference/components/common/animations/x-components.animate-width.md +14 -14
- package/docs/API-reference/components/common/animations/x-components.change-height.md +13 -0
- 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/icons/x-components.ai-star.md +7 -0
- package/docs/API-reference/components/common/icons/x-components.spinner.md +7 -0
- package/docs/API-reference/components/common/modals/x-components.base-events-modal-close.md +18 -18
- package/docs/API-reference/components/common/modals/x-components.base-events-modal-open.md +18 -18
- package/docs/API-reference/components/common/modals/x-components.base-events-modal.md +33 -36
- package/docs/API-reference/components/common/modals/x-components.base-id-modal-close.md +20 -18
- package/docs/API-reference/components/common/modals/x-components.base-id-modal-open.md +19 -19
- package/docs/API-reference/components/common/modals/x-components.base-id-modal.md +22 -22
- package/docs/API-reference/components/common/modals/x-components.base-modal.md +44 -44
- package/docs/API-reference/components/common/modals/x-components.close-main-modal.md +10 -10
- package/docs/API-reference/components/common/modals/x-components.main-modal.md +30 -30
- package/docs/API-reference/components/common/modals/x-components.open-main-modal.md +10 -10
- package/docs/API-reference/components/common/panels/x-components.base-header-toggle-panel.md +2 -2
- package/docs/API-reference/components/common/panels/x-components.base-id-toggle-panel-button.md +18 -17
- package/docs/API-reference/components/common/panels/x-components.base-id-toggle-panel.md +18 -18
- package/docs/API-reference/components/common/panels/x-components.base-tabs-panel.md +70 -70
- package/docs/API-reference/components/common/panels/x-components.base-toggle-panel.md +2 -2
- package/docs/API-reference/components/common/result/x-components.base-result-current-price.md +2 -1
- package/docs/API-reference/components/common/result/x-components.base-result-image.md +18 -18
- package/docs/API-reference/components/common/result/x-components.base-result-previous-price.md +16 -16
- package/docs/API-reference/components/common/result/x-components.base-result-rating.md +118 -118
- package/docs/API-reference/components/common/result/x-components.result-variant-selector.md +149 -149
- package/docs/API-reference/components/common/result/x-components.result-variants-provider.md +102 -102
- package/docs/API-reference/components/common/scroll/x-components.base-scroll.md +62 -62
- package/docs/API-reference/components/common/suggestions/x-components.base-suggestion.md +50 -49
- package/docs/API-reference/components/common/suggestions/x-components.base-suggestions.md +84 -84
- package/docs/API-reference/components/common/x-components.auto-progress-bar.md +21 -21
- package/docs/API-reference/components/common/x-components.base-dropdown.md +19 -19
- package/docs/API-reference/components/common/x-components.base-event-button.md +5 -4
- package/docs/API-reference/components/common/x-components.base-grid.md +6 -5
- package/docs/API-reference/components/common/x-components.base-keyboard-navigation.md +10 -10
- package/docs/API-reference/components/common/x-components.base-rating.md +2 -1
- package/docs/API-reference/components/common/x-components.base-slider.md +75 -73
- package/docs/API-reference/components/common/x-components.base-switch.md +27 -26
- package/docs/API-reference/components/common/x-components.base-teleport.md +70 -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 +2 -2
- package/docs/API-reference/components/common/x-components.location-provider.md +11 -10
- package/docs/API-reference/components/common/x-components.page-loader-button.md +39 -39
- package/docs/API-reference/components/common/x-components.page-selector.md +137 -0
- package/docs/API-reference/components/common/x-components.sliding-panel.md +115 -113
- 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 +40 -14
- package/docs/API-reference/components/experience-controls/x-components.experience-controls.md +8 -8
- package/docs/API-reference/components/extra-params/x-components.extra-params.md +16 -15
- package/docs/API-reference/components/extra-params/x-components.renderless-extra-param.md +17 -16
- package/docs/API-reference/components/extra-params/x-components.snippet-config-extra-params.md +23 -23
- package/docs/API-reference/components/facets/x-components.facets/facets-provider.md +40 -39
- package/docs/API-reference/components/facets/x-components.facets/facets.md +46 -46
- package/docs/API-reference/components/facets/x-components.filters/all-filter.md +5 -4
- package/docs/API-reference/components/facets/x-components.filters/editable-number-range-filter.md +87 -87
- package/docs/API-reference/components/facets/x-components.filters/hierarchical-filter.md +105 -105
- package/docs/API-reference/components/facets/x-components.filters/number-range-filter.md +66 -66
- package/docs/API-reference/components/facets/x-components.filters/renderless-filter.md +15 -14
- package/docs/API-reference/components/facets/x-components.filters/simple-filter.md +78 -78
- package/docs/API-reference/components/facets/x-components.lists/exclude-filters-with-no-results.md +84 -84
- package/docs/API-reference/components/facets/x-components.lists/filters-list.md +2 -1
- package/docs/API-reference/components/facets/x-components.lists/filters-search.md +1 -1
- package/docs/API-reference/components/facets/x-components.lists/selected-filters-list.md +22 -22
- package/docs/API-reference/components/facets/x-components.lists/selected-filters.md +4 -4
- package/docs/API-reference/components/facets/x-components.lists/sliced-filters.md +15 -14
- package/docs/API-reference/components/facets/x-components.lists/sorted-filters.md +19 -19
- package/docs/API-reference/components/facets/x-components.preselected-filters.md +24 -24
- package/docs/API-reference/components/history-queries/x-components.clear-history-queries.md +18 -17
- package/docs/API-reference/components/history-queries/x-components.history-queries-switch.md +35 -35
- package/docs/API-reference/components/history-queries/x-components.history-queries.md +70 -70
- package/docs/API-reference/components/history-queries/x-components.history-query.md +67 -67
- package/docs/API-reference/components/history-queries/x-components.my-history.md +74 -74
- package/docs/API-reference/components/history-queries/x-components.remove-history-query.md +3 -2
- package/docs/API-reference/components/identifier-results/x-components.identifier-result.md +2 -2
- package/docs/API-reference/components/identifier-results/x-components.identifier-results.md +14 -13
- package/docs/API-reference/components/next-queries/x-components.next-queries-list.md +52 -52
- package/docs/API-reference/components/next-queries/x-components.next-queries.md +53 -53
- package/docs/API-reference/components/next-queries/x-components.next-query-preview.md +80 -80
- package/docs/API-reference/components/next-queries/x-components.next-query.md +37 -37
- package/docs/API-reference/components/popular-searches/x-components.popular-search.md +35 -35
- package/docs/API-reference/components/popular-searches/x-components.popular-searches.md +45 -44
- package/docs/API-reference/components/queries-preview/x-components.query-preview-button.md +29 -28
- package/docs/API-reference/components/queries-preview/x-components.query-preview-list.md +43 -42
- package/docs/API-reference/components/queries-preview/x-components.query-preview.md +60 -60
- package/docs/API-reference/components/query-suggestions/x-components.query-suggestion.md +53 -53
- package/docs/API-reference/components/query-suggestions/x-components.query-suggestions.md +58 -58
- package/docs/API-reference/components/recommendations/x-components.recommendations.md +41 -40
- package/docs/API-reference/components/related-prompts/x-components.related-prompt.md +8 -15
- package/docs/API-reference/components/related-prompts/x-components.related-prompts-list.md +67 -74
- 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 +62 -61
- package/docs/API-reference/components/search/x-components.sort-dropdown.md +24 -24
- package/docs/API-reference/components/search/x-components.sort-list.md +24 -24
- package/docs/API-reference/components/search/x-components.sort-picker-list.md +34 -34
- package/docs/API-reference/components/search/x-components.spellcheck-button.md +3 -3
- package/docs/API-reference/components/search/x-components.spellcheck.md +10 -10
- package/docs/API-reference/components/search-box/x-components.clear-search-input.md +38 -38
- package/docs/API-reference/components/search-box/x-components.search-button.md +43 -43
- package/docs/API-reference/components/search-box/x-components.search-input-placeholder.md +36 -36
- package/docs/API-reference/components/search-box/x-components.search-input.md +43 -43
- package/docs/API-reference/components/semantic-queries/x-components.semantic-queries.md +52 -52
- package/docs/API-reference/components/semantic-queries/x-components.semantic-query.md +36 -35
- package/docs/API-reference/components/tagging/x-components.tagging.md +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 +12 -12
- 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 +12 -12
- package/js/components/animations/animate-scale/animate-scale.factory.js.map +1 -1
- package/js/components/animations/animate-translate/animate-translate.factory.js +12 -12
- 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 +7 -7
- package/js/components/animations/animate-width.vue2.js.map +1 -1
- package/js/components/animations/change-height.vue.js +23 -0
- package/js/components/animations/change-height.vue.js.map +1 -0
- package/js/components/animations/change-height.vue2.js +32 -0
- package/js/components/animations/change-height.vue2.js.map +1 -0
- package/js/components/animations/collapse-height.vue.js +6 -6
- package/js/components/animations/collapse-height.vue.js.map +1 -1
- package/js/components/animations/collapse-height.vue2.js +21 -21
- package/js/components/animations/collapse-height.vue2.js.map +1 -1
- package/js/components/animations/collapse-height.vue3.js +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 +21 -21
- package/js/components/animations/collapse-width.vue2.js.map +1 -1
- package/js/components/animations/create-directional-animation-factory.js +20 -20
- 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 +17 -17
- 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 +29 -29
- 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 +15 -15
- package/js/components/animations/fade.vue2.js.map +1 -1
- package/js/components/animations/no-animation.vue.js +9 -9
- 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 +97 -97
- package/js/components/animations/staggered-fade-and-slide.vue2.js.map +1 -1
- package/js/components/animations/use-collapse-animation.js +54 -54
- package/js/components/animations/use-collapse-animation.js.map +1 -1
- package/js/components/animations/use-disable-animation.js +20 -20
- 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 +43 -43
- 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 +273 -278
- 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 +40 -40
- 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 +118 -120
- 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 +121 -121
- 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 +57 -57
- package/js/components/base-rating.vue2.js.map +1 -1
- package/js/components/base-rating.vue3.js +1 -1
- package/js/components/base-slider.vue.js +17 -19
- package/js/components/base-slider.vue.js.map +1 -1
- package/js/components/base-slider.vue2.js +102 -97
- package/js/components/base-slider.vue2.js.map +1 -1
- package/js/components/base-slider.vue3.js +1 -1
- package/js/components/base-switch.vue.js +2 -2
- package/js/components/base-switch.vue.js.map +1 -1
- package/js/components/base-switch.vue2.js +47 -51
- 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 +148 -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 +74 -74
- 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 +80 -80
- 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 +82 -82
- 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 +87 -87
- package/js/components/currency/base-currency.vue2.js.map +1 -1
- package/js/components/decorators/injection.consts.js +41 -41
- package/js/components/decorators/injection.consts.js.map +1 -1
- package/js/components/display-click-provider.vue.js +82 -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 +37 -37
- package/js/components/display-emitter.vue.js.map +1 -1
- package/js/components/filters/labels/base-price-filter-label.vue.js +80 -80
- 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 +46 -46
- package/js/components/filters/labels/base-rating-filter-label.vue2.js.map +1 -1
- package/js/components/global-x-bus.vue.js +27 -27
- 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 +115 -115
- package/js/components/highlight.vue2.js.map +1 -1
- package/js/components/icons/ai-star.vue.js +38 -0
- package/js/components/icons/ai-star.vue.js.map +1 -0
- package/js/components/icons/arrow-down.vue.js +1 -1
- package/js/components/icons/arrow-down.vue.js.map +1 -1
- package/js/components/icons/arrow-left.vue.js +1 -1
- package/js/components/icons/arrow-left.vue.js.map +1 -1
- package/js/components/icons/arrow-right.vue.js +3 -3
- package/js/components/icons/arrow-right.vue.js.map +1 -1
- package/js/components/icons/arrow-up.vue.js +1 -1
- package/js/components/icons/arrow-up.vue.js.map +1 -1
- package/js/components/icons/bag.vue.js +1 -1
- package/js/components/icons/bag.vue.js.map +1 -1
- package/js/components/icons/bar-code.vue.js +1 -1
- package/js/components/icons/bar-code.vue.js.map +1 -1
- package/js/components/icons/barcode-tiny.vue.js +1 -1
- package/js/components/icons/barcode-tiny.vue.js.map +1 -1
- package/js/components/icons/cart-filled.vue.js +1 -1
- package/js/components/icons/cart-filled.vue.js.map +1 -1
- package/js/components/icons/cart.vue.js +1 -1
- package/js/components/icons/cart.vue.js.map +1 -1
- package/js/components/icons/check-tiny.vue.js +1 -1
- package/js/components/icons/check-tiny.vue.js.map +1 -1
- package/js/components/icons/check.vue.js +1 -1
- package/js/components/icons/check.vue.js.map +1 -1
- package/js/components/icons/checkbox-selected-filled.vue.js +1 -1
- package/js/components/icons/checkbox-selected-filled.vue.js.map +1 -1
- package/js/components/icons/checkbox-selected.vue.js +1 -1
- package/js/components/icons/checkbox-selected.vue.js.map +1 -1
- package/js/components/icons/checkbox-unselected-filled.vue.js +1 -1
- package/js/components/icons/checkbox-unselected-filled.vue.js.map +1 -1
- package/js/components/icons/checkbox-unselected.vue.js +1 -1
- package/js/components/icons/checkbox-unselected.vue.js.map +1 -1
- package/js/components/icons/chevron-down.vue.js +3 -3
- package/js/components/icons/chevron-down.vue.js.map +1 -1
- package/js/components/icons/chevron-left.vue.js +1 -1
- package/js/components/icons/chevron-left.vue.js.map +1 -1
- package/js/components/icons/chevron-right.vue.js +1 -1
- package/js/components/icons/chevron-right.vue.js.map +1 -1
- package/js/components/icons/chevron-tiny-down.vue.js +1 -1
- package/js/components/icons/chevron-tiny-down.vue.js.map +1 -1
- package/js/components/icons/chevron-tiny-left.vue.js +1 -1
- package/js/components/icons/chevron-tiny-left.vue.js.map +1 -1
- package/js/components/icons/chevron-tiny-right.vue.js +1 -1
- package/js/components/icons/chevron-tiny-right.vue.js.map +1 -1
- package/js/components/icons/chevron-tiny-up.vue.js +1 -1
- package/js/components/icons/chevron-tiny-up.vue.js.map +1 -1
- package/js/components/icons/chevron-up.vue.js +1 -1
- package/js/components/icons/chevron-up.vue.js.map +1 -1
- package/js/components/icons/corner-arrow-left.vue.js +1 -1
- package/js/components/icons/corner-arrow-left.vue.js.map +1 -1
- package/js/components/icons/corner-arrow-right.vue.js +1 -1
- package/js/components/icons/corner-arrow-right.vue.js.map +1 -1
- package/js/components/icons/cross-tiny.vue.js +1 -1
- package/js/components/icons/cross-tiny.vue.js.map +1 -1
- package/js/components/icons/cross.vue.js +1 -1
- package/js/components/icons/cross.vue.js.map +1 -1
- package/js/components/icons/curated-check-filled.vue.js +1 -1
- package/js/components/icons/curated-check-filled.vue.js.map +1 -1
- package/js/components/icons/curated-check-tiny-filled.vue.js +1 -1
- package/js/components/icons/curated-check-tiny-filled.vue.js.map +1 -1
- package/js/components/icons/curated-check-tiny.vue.js +1 -1
- package/js/components/icons/curated-check-tiny.vue.js.map +1 -1
- package/js/components/icons/curated-check.vue.js +1 -1
- package/js/components/icons/curated-check.vue.js.map +1 -1
- package/js/components/icons/diagonal-arrow-left-down.vue.js +1 -1
- package/js/components/icons/diagonal-arrow-left-down.vue.js.map +1 -1
- package/js/components/icons/diagonal-arrow-left-top.vue.js +1 -1
- package/js/components/icons/diagonal-arrow-left-top.vue.js.map +1 -1
- package/js/components/icons/diagonal-arrow-right-down.vue.js +1 -1
- package/js/components/icons/diagonal-arrow-right-down.vue.js.map +1 -1
- package/js/components/icons/diagonal-arrow-right-top.vue.js +1 -1
- package/js/components/icons/diagonal-arrow-right-top.vue.js.map +1 -1
- package/js/components/icons/filters.vue.js +1 -1
- package/js/components/icons/filters.vue.js.map +1 -1
- package/js/components/icons/grid-1-col.vue.js +1 -1
- package/js/components/icons/grid-1-col.vue.js.map +1 -1
- package/js/components/icons/grid-2-col.vue.js +1 -1
- package/js/components/icons/grid-2-col.vue.js.map +1 -1
- package/js/components/icons/grid-2-rows.vue.js +1 -1
- package/js/components/icons/grid-2-rows.vue.js.map +1 -1
- package/js/components/icons/grid-4-col.vue.js +1 -1
- package/js/components/icons/grid-4-col.vue.js.map +1 -1
- package/js/components/icons/heart-filled.vue.js +1 -1
- package/js/components/icons/heart-filled.vue.js.map +1 -1
- package/js/components/icons/heart.vue.js +1 -1
- package/js/components/icons/heart.vue.js.map +1 -1
- package/js/components/icons/hide.vue.js +1 -1
- package/js/components/icons/hide.vue.js.map +1 -1
- package/js/components/icons/history-tiny.vue.js +1 -1
- package/js/components/icons/history-tiny.vue.js.map +1 -1
- package/js/components/icons/history.vue.js +1 -1
- package/js/components/icons/history.vue.js.map +1 -1
- package/js/components/icons/light-bulb-off.vue.js +1 -1
- package/js/components/icons/light-bulb-off.vue.js.map +1 -1
- package/js/components/icons/light-bulb-on.vue.js +1 -1
- package/js/components/icons/light-bulb-on.vue.js.map +1 -1
- package/js/components/icons/menu.vue.js +1 -1
- package/js/components/icons/menu.vue.js.map +1 -1
- package/js/components/icons/minus-tiny.vue.js +1 -1
- package/js/components/icons/minus-tiny.vue.js.map +1 -1
- package/js/components/icons/minus.vue.js +1 -1
- package/js/components/icons/minus.vue.js.map +1 -1
- package/js/components/icons/plus-tiny.vue.js +1 -1
- package/js/components/icons/plus-tiny.vue.js.map +1 -1
- package/js/components/icons/plus.vue.js +1 -1
- package/js/components/icons/plus.vue.js.map +1 -1
- package/js/components/icons/radiobutton-selected.vue.js +1 -1
- package/js/components/icons/radiobutton-selected.vue.js.map +1 -1
- package/js/components/icons/radiobutton-unselected.vue.js +1 -1
- package/js/components/icons/radiobutton-unselected.vue.js.map +1 -1
- package/js/components/icons/search-tiny.vue.js +1 -1
- package/js/components/icons/search-tiny.vue.js.map +1 -1
- package/js/components/icons/search.vue.js +1 -1
- package/js/components/icons/search.vue.js.map +1 -1
- package/js/components/icons/settings.vue.js +1 -1
- package/js/components/icons/settings.vue.js.map +1 -1
- package/js/components/icons/show.vue.js +1 -1
- package/js/components/icons/show.vue.js.map +1 -1
- package/js/components/icons/sort-az.vue.js +1 -1
- package/js/components/icons/sort-az.vue.js.map +1 -1
- package/js/components/icons/sort-price-down.vue.js +1 -1
- package/js/components/icons/sort-price-down.vue.js.map +1 -1
- package/js/components/icons/sort-price-up.vue.js +1 -1
- package/js/components/icons/sort-price-up.vue.js.map +1 -1
- package/js/components/icons/sort-relevancy.vue.js +1 -1
- package/js/components/icons/sort-relevancy.vue.js.map +1 -1
- package/js/components/icons/sort-za.vue.js +1 -1
- package/js/components/icons/sort-za.vue.js.map +1 -1
- package/js/components/icons/spinner.vue.js +22 -0
- package/js/components/icons/spinner.vue.js.map +1 -0
- package/js/components/icons/star-filled.vue.js +1 -1
- package/js/components/icons/star-filled.vue.js.map +1 -1
- package/js/components/icons/star.vue.js +1 -1
- package/js/components/icons/star.vue.js.map +1 -1
- package/js/components/icons/tag-filled.vue.js +1 -1
- package/js/components/icons/tag-filled.vue.js.map +1 -1
- package/js/components/icons/tag.vue.js +1 -1
- package/js/components/icons/tag.vue.js.map +1 -1
- package/js/components/icons/trash-open.vue.js +1 -1
- package/js/components/icons/trash-open.vue.js.map +1 -1
- package/js/components/icons/trash.vue.js +1 -1
- package/js/components/icons/trash.vue.js.map +1 -1
- package/js/components/icons/trending-tiny.vue.js +1 -1
- package/js/components/icons/trending-tiny.vue.js.map +1 -1
- package/js/components/icons/trending.vue.js +1 -1
- package/js/components/icons/trending.vue.js.map +1 -1
- package/js/components/icons/user-filled.vue.js +1 -1
- package/js/components/icons/user-filled.vue.js.map +1 -1
- package/js/components/icons/user.vue.js +1 -1
- package/js/components/icons/user.vue.js.map +1 -1
- 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 +40 -40
- 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 +31 -31
- 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 +21 -21
- package/js/components/layouts/multi-column-max-width-layout.vue2.js.map +1 -1
- package/js/components/layouts/multi-column-max-width-layout.vue4.js +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 +21 -21
- package/js/components/layouts/single-column-layout.vue2.js.map +1 -1
- package/js/components/location-provider.vue.js +24 -24
- 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 +27 -27
- 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 +27 -27
- 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 +82 -82
- 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 +34 -33
- 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 +33 -32
- 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 +87 -87
- package/js/components/modals/base-id-modal.vue2.js.map +1 -1
- package/js/components/modals/base-modal.vue.js +6 -6
- package/js/components/modals/base-modal.vue.js.map +1 -1
- package/js/components/modals/base-modal.vue2.js +192 -182
- 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 +20 -20
- 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 +48 -48
- 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 +20 -20
- 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 +49 -49
- 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 +55 -54
- 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 +58 -57
- 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 +76 -75
- 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 +107 -106
- 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 +28 -28
- 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 +49 -35
- 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 +54 -54
- package/js/components/result/base-result-current-price.vue2.js.map +1 -1
- package/js/components/result/base-result-fallback-image.vue.js +1 -1
- package/js/components/result/base-result-fallback-image.vue.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 +158 -157
- 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 +62 -61
- package/js/components/result/base-result-link.vue2.js.map +1 -1
- package/js/components/result/base-result-placeholder-image.vue.js +1 -1
- package/js/components/result/base-result-placeholder-image.vue.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 +37 -37
- 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 +50 -49
- 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 +85 -85
- package/js/components/result/result-variant-selector.vue2.js.map +1 -1
- package/js/components/result/result-variants-provider.vue.js +118 -118
- 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 +79 -79
- package/js/components/scroll/base-scroll.vue2.js.map +1 -1
- package/js/components/scroll/use-scroll.js +211 -212
- package/js/components/scroll/use-scroll.js.map +1 -1
- package/js/components/sliding-panel.vue.js +41 -37
- package/js/components/sliding-panel.vue.js.map +1 -1
- package/js/components/sliding-panel.vue2.js +73 -131
- package/js/components/sliding-panel.vue2.js.map +1 -1
- package/js/components/sliding-panel.vue3.js +1 -1
- package/js/components/snippet-callbacks.vue.js.map +1 -1
- package/js/components/snippet-callbacks.vue2.js +44 -44
- 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 +135 -135
- 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 +120 -120
- package/js/components/suggestions/base-suggestions.vue2.js.map +1 -1
- package/js/components/x-component.utils.js +40 -39
- package/js/components/x-component.utils.js.map +1 -1
- package/js/composables/create-use-device.js +150 -150
- package/js/composables/create-use-device.js.map +1 -1
- package/js/composables/use-_x.js +11 -11
- package/js/composables/use-_x.js.map +1 -1
- package/js/composables/use-alias-api.js +133 -131
- package/js/composables/use-alias-api.js.map +1 -1
- package/js/composables/use-debounce.js +16 -16
- package/js/composables/use-debounce.js.map +1 -1
- package/js/composables/use-getter.js +18 -17
- package/js/composables/use-getter.js.map +1 -1
- package/js/composables/use-on-display.js +47 -51
- package/js/composables/use-on-display.js.map +1 -1
- package/js/composables/use-state.js +15 -16
- package/js/composables/use-state.js.map +1 -1
- package/js/composables/use-x-bus.js +68 -70
- package/js/composables/use-x-bus.js.map +1 -1
- package/js/directives/infinite-scroll.js +96 -96
- 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 +121 -97
- package/js/index.js.map +1 -1
- package/js/plugins/devtools/colors.utils.js +42 -42
- package/js/plugins/devtools/colors.utils.js.map +1 -1
- package/js/plugins/devtools/devtools.plugin.js +24 -23
- package/js/plugins/devtools/devtools.plugin.js.map +1 -1
- package/js/plugins/devtools/timeline.devtools.js +103 -102
- package/js/plugins/devtools/timeline.devtools.js.map +1 -1
- package/js/plugins/devtools/wiring.devtools.js +114 -110
- package/js/plugins/devtools/wiring.devtools.js.map +1 -1
- package/js/plugins/x-bus.js +19 -19
- package/js/plugins/x-bus.js.map +1 -1
- package/js/plugins/x-emitters.js +62 -60
- package/js/plugins/x-emitters.js.map +1 -1
- package/js/plugins/x-plugin.js +310 -310
- package/js/plugins/x-plugin.js.map +1 -1
- package/js/plugins/x-plugin.utils.js +24 -28
- package/js/plugins/x-plugin.utils.js.map +1 -1
- package/js/services/directional-focus-navigation.service.js +408 -410
- package/js/services/directional-focus-navigation.service.js.map +1 -1
- package/js/services/state-machine.service.js +26 -26
- package/js/services/state-machine.service.js.map +1 -1
- package/js/store/utils/config-store.utils.js +21 -21
- package/js/store/utils/config-store.utils.js.map +1 -1
- package/js/store/utils/fetch-and-save-action.utils.js +68 -74
- package/js/store/utils/fetch-and-save-action.utils.js.map +1 -1
- package/js/store/utils/getters-proxy.utils.js +96 -95
- package/js/store/utils/getters-proxy.utils.js.map +1 -1
- package/js/store/utils/query.utils.js +33 -33
- package/js/store/utils/query.utils.js.map +1 -1
- package/js/store/utils/status-store.utils.js +9 -9
- package/js/store/utils/status-store.utils.js.map +1 -1
- package/js/store/utils/store-emitters.utils.js +10 -10
- package/js/store/utils/store-emitters.utils.js.map +1 -1
- package/js/store/x.module.js +9 -9
- package/js/store/x.module.js.map +1 -1
- package/js/types/animation-prop.js +10 -10
- package/js/types/animation-prop.js.map +1 -1
- package/js/utils/array.js +183 -182
- package/js/utils/array.js.map +1 -1
- package/js/utils/cancellable-promise.js +38 -38
- package/js/utils/cancellable-promise.js.map +1 -1
- package/js/utils/clone.js +11 -10
- package/js/utils/clone.js.map +1 -1
- package/js/utils/currency-formatter.js +117 -114
- package/js/utils/currency-formatter.js.map +1 -1
- package/js/utils/debounce.js +58 -60
- package/js/utils/debounce.js.map +1 -1
- package/js/utils/filters.js +32 -32
- package/js/utils/filters.js.map +1 -1
- package/js/utils/focus.js +6 -8
- package/js/utils/focus.js.map +1 -1
- package/js/utils/function.js +6 -7
- package/js/utils/function.js.map +1 -1
- package/js/utils/get-url-parameters.js +11 -11
- package/js/utils/get-url-parameters.js.map +1 -1
- package/js/utils/html.js +48 -48
- 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 +42 -42
- package/js/utils/is-new-query.js.map +1 -1
- package/js/utils/normalize.js +25 -25
- package/js/utils/normalize.js.map +1 -1
- package/js/utils/number.js +11 -12
- package/js/utils/number.js.map +1 -1
- package/js/utils/origin.js +15 -17
- package/js/utils/origin.js.map +1 -1
- package/js/utils/sanitize.js +10 -10
- package/js/utils/sanitize.js.map +1 -1
- package/js/utils/storage.js +15 -15
- package/js/utils/storage.js.map +1 -1
- package/js/utils/string.js +44 -44
- package/js/utils/string.js.map +1 -1
- package/js/utils/throttle.js +22 -22
- package/js/utils/throttle.js.map +1 -1
- package/js/wiring/namespaced-wires.factory.js +65 -63
- package/js/wiring/namespaced-wires.factory.js.map +1 -1
- package/js/wiring/namespaced-wires.operators.js +40 -40
- package/js/wiring/namespaced-wires.operators.js.map +1 -1
- package/js/wiring/wires-operators.utils.js +49 -47
- package/js/wiring/wires-operators.utils.js.map +1 -1
- package/js/wiring/wires.factory.js +108 -101
- package/js/wiring/wires.factory.js.map +1 -1
- package/js/wiring/wires.operators.js +120 -120
- package/js/wiring/wires.operators.js.map +1 -1
- package/js/wiring/wiring.utils.js +29 -29
- package/js/wiring/wiring.utils.js.map +1 -1
- package/js/x-bus/x-bus.js +181 -0
- package/js/x-bus/x-bus.js.map +1 -0
- package/js/x-bus/x-priority-queue/x-priority-queue.js +177 -0
- package/js/x-bus/x-priority-queue/x-priority-queue.js.map +1 -0
- package/js/x-installer/api/base-api.js +109 -110
- package/js/x-installer/api/base-api.js.map +1 -1
- package/js/x-installer/x-installer/x-installer.js +276 -275
- package/js/x-installer/x-installer/x-installer.js.map +1 -1
- package/js/x-modules/ai/components/ai-overview.vue.js +323 -0
- package/js/x-modules/ai/components/ai-overview.vue.js.map +1 -0
- package/js/x-modules/ai/components/ai-overview.vue2.js +227 -0
- package/js/x-modules/ai/components/ai-overview.vue2.js.map +1 -0
- package/js/x-modules/ai/components/ai-overview.vue3.js +7 -0
- package/js/x-modules/ai/components/ai-overview.vue3.js.map +1 -0
- package/js/x-modules/ai/store/actions/fetch-and-save-ai-suggestions-search.action.js +40 -0
- package/js/x-modules/ai/store/actions/fetch-and-save-ai-suggestions-search.action.js.map +1 -0
- package/js/x-modules/ai/store/actions/fetch-and-save-ai-suggestions.action.js +97 -0
- package/js/x-modules/ai/store/actions/fetch-and-save-ai-suggestions.action.js.map +1 -0
- package/js/x-modules/ai/store/actions/save-origin.action.js +16 -0
- package/js/x-modules/ai/store/actions/save-origin.action.js.map +1 -0
- package/js/x-modules/ai/store/actions/set-url-params.action.js +13 -0
- package/js/x-modules/ai/store/actions/set-url-params.action.js.map +1 -0
- package/js/x-modules/ai/store/emitters.js +17 -0
- package/js/x-modules/ai/store/emitters.js.map +1 -0
- package/js/x-modules/ai/store/getters/ai-query.getter.js +19 -0
- package/js/x-modules/ai/store/getters/ai-query.getter.js.map +1 -0
- package/js/x-modules/ai/store/getters/suggestions-request.getter.js +17 -0
- package/js/x-modules/ai/store/getters/suggestions-request.getter.js.map +1 -0
- package/js/x-modules/ai/store/getters/suggestions-search-request.getter.js +16 -0
- package/js/x-modules/ai/store/getters/suggestions-search-request.getter.js.map +1 -0
- package/js/x-modules/ai/store/module.js +110 -0
- package/js/x-modules/ai/store/module.js.map +1 -0
- package/js/x-modules/ai/wiring.js +74 -0
- package/js/x-modules/ai/wiring.js.map +1 -0
- package/js/x-modules/ai/x-module.js +28 -0
- package/js/x-modules/ai/x-module.js.map +1 -0
- 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 +118 -118
- package/js/x-modules/device/components/device-detector.vue2.js.map +1 -1
- package/js/x-modules/device/store/emitters.js +6 -5
- package/js/x-modules/device/store/emitters.js.map +1 -1
- package/js/x-modules/device/store/module.js +16 -16
- package/js/x-modules/device/store/module.js.map +1 -1
- package/js/x-modules/device/wiring.js +21 -21
- package/js/x-modules/device/wiring.js.map +1 -1
- package/js/x-modules/device/x-module.js +12 -12
- package/js/x-modules/device/x-module.js.map +1 -1
- package/js/x-modules/empathize/components/empathize.vue.js +5 -6
- package/js/x-modules/empathize/components/empathize.vue.js.map +1 -1
- package/js/x-modules/empathize/components/empathize.vue2.js +156 -121
- package/js/x-modules/empathize/components/empathize.vue2.js.map +1 -1
- package/js/x-modules/empathize/store/emitters.js +6 -5
- package/js/x-modules/empathize/store/emitters.js.map +1 -1
- package/js/x-modules/empathize/store/module.js +19 -19
- package/js/x-modules/empathize/store/module.js.map +1 -1
- package/js/x-modules/empathize/wiring.js +24 -24
- package/js/x-modules/empathize/wiring.js.map +1 -1
- package/js/x-modules/empathize/x-module.js +12 -12
- package/js/x-modules/empathize/x-module.js.map +1 -1
- package/js/x-modules/experience-controls/components/experience-controls.vue.js +25 -26
- 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 +20 -20
- 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 +14 -15
- 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 +11 -10
- 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 +14 -15
- 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 +32 -34
- package/js/x-modules/experience-controls/store/module.js.map +1 -1
- package/js/x-modules/experience-controls/wiring.js +37 -37
- package/js/x-modules/experience-controls/wiring.js.map +1 -1
- package/js/x-modules/experience-controls/x-module.js +12 -12
- package/js/x-modules/experience-controls/x-module.js.map +1 -1
- package/js/x-modules/extra-params/components/extra-params.vue.js +26 -27
- 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 +32 -32
- 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 +41 -41
- 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 +11 -10
- package/js/x-modules/extra-params/store/emitters.js.map +1 -1
- package/js/x-modules/extra-params/store/module.js +16 -16
- package/js/x-modules/extra-params/store/module.js.map +1 -1
- package/js/x-modules/extra-params/wiring.js +27 -27
- package/js/x-modules/extra-params/wiring.js.map +1 -1
- package/js/x-modules/extra-params/x-module.js +12 -12
- 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 +42 -42
- package/js/x-modules/facets/components/clear-filters.vue2.js.map +1 -1
- package/js/x-modules/facets/components/facets/facets-provider.vue2.js +91 -91
- 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 +124 -126
- 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 +63 -63
- 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 +11 -16
- 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 +221 -221
- 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 +108 -109
- 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 +55 -55
- 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 +57 -57
- 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 +41 -41
- 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 +36 -36
- 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 +76 -76
- 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 +93 -93
- 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 +58 -58
- 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 +25 -25
- 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 +95 -95
- 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 +46 -46
- package/js/x-modules/facets/components/lists/sorted-filters.vue.js.map +1 -1
- package/js/x-modules/facets/components/preselected-filters.vue.js +62 -62
- package/js/x-modules/facets/components/preselected-filters.vue.js.map +1 -1
- package/js/x-modules/facets/composables/use-facets.js +46 -50
- package/js/x-modules/facets/composables/use-facets.js.map +1 -1
- package/js/x-modules/facets/composables/use-filters-injection.js +54 -57
- 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 +16 -16
- 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 +98 -95
- 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 +122 -119
- package/js/x-modules/facets/entities/filter-entity.factory.js.map +1 -1
- package/js/x-modules/facets/entities/hierarchical-filter.entity.js +84 -82
- package/js/x-modules/facets/entities/hierarchical-filter.entity.js.map +1 -1
- package/js/x-modules/facets/entities/number-range-filter.entity.js +30 -28
- package/js/x-modules/facets/entities/number-range-filter.entity.js.map +1 -1
- package/js/x-modules/facets/entities/raw-filter.entity.js +32 -30
- package/js/x-modules/facets/entities/raw-filter.entity.js.map +1 -1
- package/js/x-modules/facets/entities/simple-filter.entity.js +30 -28
- package/js/x-modules/facets/entities/simple-filter.entity.js.map +1 -1
- package/js/x-modules/facets/entities/single-select.modifier.js +83 -81
- package/js/x-modules/facets/entities/single-select.modifier.js.map +1 -1
- package/js/x-modules/facets/entities/sticky.modifier.js +29 -29
- package/js/x-modules/facets/entities/sticky.modifier.js.map +1 -1
- package/js/x-modules/facets/entities/types.js +27 -27
- package/js/x-modules/facets/entities/types.js.map +1 -1
- package/js/x-modules/facets/service/facets.service.js +228 -228
- 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 +24 -24
- package/js/x-modules/facets/store/emitters.js.map +1 -1
- package/js/x-modules/facets/store/getters/facets.getter.js +15 -15
- 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 +19 -19
- 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 +22 -22
- 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 +19 -19
- package/js/x-modules/facets/store/getters/selected-filters.getter.js.map +1 -1
- package/js/x-modules/facets/store/module.js +66 -66
- package/js/x-modules/facets/store/module.js.map +1 -1
- package/js/x-modules/facets/utils.js +14 -14
- package/js/x-modules/facets/utils.js.map +1 -1
- package/js/x-modules/facets/wiring.js +194 -194
- package/js/x-modules/facets/wiring.js.map +1 -1
- package/js/x-modules/facets/x-module.js +12 -12
- package/js/x-modules/facets/x-module.js.map +1 -1
- package/js/x-modules/history-queries/components/clear-history-queries.vue.js +2 -3
- 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 +52 -52
- 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 +44 -47
- 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 +26 -28
- 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 +6 -11
- 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 +49 -49
- 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 +128 -128
- 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 +39 -39
- 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 +135 -137
- 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 +11 -12
- 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 +11 -11
- 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 +12 -12
- 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 +16 -16
- 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 +10 -11
- 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 +6 -6
- 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 +64 -68
- 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 +2 -2
- package/js/x-modules/history-queries/store/constants.js.map +1 -1
- package/js/x-modules/history-queries/store/emitters.js +16 -15
- 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 +10 -14
- 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 +44 -44
- 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 +12 -11
- 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 +10 -10
- 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 +8 -8
- package/js/x-modules/history-queries/store/getters/storage-key.getter.js.map +1 -1
- package/js/x-modules/history-queries/store/module.js +54 -54
- package/js/x-modules/history-queries/store/module.js.map +1 -1
- package/js/x-modules/history-queries/wiring.js +168 -168
- package/js/x-modules/history-queries/wiring.js.map +1 -1
- package/js/x-modules/history-queries/x-module.js +12 -12
- 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 +53 -55
- 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 +57 -57
- 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 +23 -23
- 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 +13 -14
- 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 +10 -11
- 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 +16 -17
- package/js/x-modules/identifier-results/store/actions/save-query.action.js.map +1 -1
- package/js/x-modules/identifier-results/store/emitters.js +12 -11
- 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 +11 -12
- 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 +19 -20
- 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 +18 -19
- 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 +47 -47
- package/js/x-modules/identifier-results/store/module.js.map +1 -1
- package/js/x-modules/identifier-results/wiring.js +113 -113
- package/js/x-modules/identifier-results/wiring.js.map +1 -1
- package/js/x-modules/identifier-results/x-module.js +12 -12
- package/js/x-modules/identifier-results/x-module.js.map +1 -1
- package/js/x-modules/next-queries/components/next-queries-list.vue.js +121 -123
- 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 +49 -49
- 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 +56 -56
- 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 +52 -52
- 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 +21 -22
- 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 +16 -18
- 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 +15 -15
- 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 +26 -23
- 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 +12 -13
- 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 +10 -11
- 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 +12 -11
- 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 +10 -12
- 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 +13 -14
- 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 +19 -21
- package/js/x-modules/next-queries/store/getters/request.getter.js.map +1 -1
- package/js/x-modules/next-queries/store/module.js +63 -63
- package/js/x-modules/next-queries/store/module.js.map +1 -1
- package/js/x-modules/next-queries/wiring.js +129 -129
- package/js/x-modules/next-queries/wiring.js.map +1 -1
- package/js/x-modules/next-queries/x-module.js +12 -12
- 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 +32 -32
- 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 +25 -25
- 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 +19 -20
- 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 +12 -12
- package/js/x-modules/popular-searches/store/actions/fetch-suggestions.action.js.map +1 -1
- package/js/x-modules/popular-searches/store/emitters.js +9 -9
- package/js/x-modules/popular-searches/store/emitters.js.map +1 -1
- package/js/x-modules/popular-searches/store/getters/popular-searches.getter.js +14 -15
- 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 +14 -16
- package/js/x-modules/popular-searches/store/getters/request.getter.js.map +1 -1
- package/js/x-modules/popular-searches/store/module.js +40 -40
- package/js/x-modules/popular-searches/store/module.js.map +1 -1
- package/js/x-modules/popular-searches/wiring.js +51 -51
- package/js/x-modules/popular-searches/wiring.js.map +1 -1
- package/js/x-modules/popular-searches/x-module.js +12 -12
- 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 +108 -102
- 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 +148 -148
- 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 +269 -272
- 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 +37 -35
- 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 +41 -43
- 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 +18 -18
- 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 +12 -10
- 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 +11 -12
- 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 +62 -62
- 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 +27 -27
- package/js/x-modules/queries-preview/utils/get-hash-from-query-preview.js.map +1 -1
- package/js/x-modules/queries-preview/wiring.js +96 -96
- package/js/x-modules/queries-preview/wiring.js.map +1 -1
- package/js/x-modules/queries-preview/x-module.js +12 -12
- 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 +35 -35
- 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 +17 -17
- 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 +19 -20
- 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 +15 -15
- 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 +10 -11
- 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 +9 -8
- package/js/x-modules/query-suggestions/store/emitters.js.map +1 -1
- package/js/x-modules/query-suggestions/store/getters/normalized-query.getter.js +9 -11
- 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 +50 -50
- 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 +17 -19
- package/js/x-modules/query-suggestions/store/getters/request.getter.js.map +1 -1
- package/js/x-modules/query-suggestions/store/module.js +46 -46
- package/js/x-modules/query-suggestions/store/module.js.map +1 -1
- package/js/x-modules/query-suggestions/wiring.js +123 -123
- package/js/x-modules/query-suggestions/wiring.js.map +1 -1
- package/js/x-modules/query-suggestions/x-module.js +12 -12
- 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 +60 -62
- 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 +21 -22
- 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 +12 -12
- package/js/x-modules/recommendations/store/actions/fetch-recommendations.action.js.map +1 -1
- package/js/x-modules/recommendations/store/constants.js +5 -5
- package/js/x-modules/recommendations/store/constants.js.map +1 -1
- package/js/x-modules/recommendations/store/emitters.js +11 -10
- package/js/x-modules/recommendations/store/emitters.js.map +1 -1
- package/js/x-modules/recommendations/store/getters/request.getter.js +16 -16
- package/js/x-modules/recommendations/store/getters/request.getter.js.map +1 -1
- package/js/x-modules/recommendations/store/module.js +41 -41
- package/js/x-modules/recommendations/store/module.js.map +1 -1
- package/js/x-modules/recommendations/wiring.js +43 -43
- package/js/x-modules/recommendations/wiring.js.map +1 -1
- package/js/x-modules/recommendations/x-module.js +12 -12
- package/js/x-modules/recommendations/x-module.js.map +1 -1
- package/js/x-modules/related-prompts/components/related-prompt.vue.js +28 -80
- package/js/x-modules/related-prompts/components/related-prompt.vue.js.map +1 -1
- package/js/x-modules/related-prompts/components/related-prompt.vue2.js +34 -47
- package/js/x-modules/related-prompts/components/related-prompt.vue2.js.map +1 -1
- package/js/x-modules/related-prompts/components/related-prompt.vue3.js +1 -1
- package/js/x-modules/related-prompts/components/related-prompts-list.vue.js +142 -145
- package/js/x-modules/related-prompts/components/related-prompts-list.vue.js.map +1 -1
- package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue.js +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 +23 -23
- package/js/x-modules/related-prompts/store/actions/fetch-and-save-related-prompts.action.js.map +1 -1
- package/js/x-modules/related-prompts/store/actions/fetch-related-prompts.action.js +14 -14
- package/js/x-modules/related-prompts/store/actions/fetch-related-prompts.action.js.map +1 -1
- package/js/x-modules/related-prompts/store/actions/set-url-params.action.js +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 +10 -7
- package/js/x-modules/related-prompts/store/emitters.js.map +1 -1
- package/js/x-modules/related-prompts/store/getters/related-prompts-query.getter.js +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 +13 -12
- package/js/x-modules/related-prompts/store/getters/request.getter.js.map +1 -1
- package/js/x-modules/related-prompts/store/module.js +55 -44
- package/js/x-modules/related-prompts/store/module.js.map +1 -1
- package/js/x-modules/related-prompts/wiring.js +81 -81
- package/js/x-modules/related-prompts/wiring.js.map +1 -1
- package/js/x-modules/related-prompts/x-module.js +13 -13
- package/js/x-modules/related-prompts/x-module.js.map +1 -1
- 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 +115 -115
- 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 +52 -54
- 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 +19 -20
- 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 +12 -12
- 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 +30 -27
- 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 +18 -19
- 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 +13 -12
- package/js/x-modules/related-tags/store/emitters.js.map +1 -1
- package/js/x-modules/related-tags/store/getters/query.getter.js +10 -12
- 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 +9 -10
- 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 +19 -21
- package/js/x-modules/related-tags/store/getters/request.getter.js.map +1 -1
- package/js/x-modules/related-tags/store/module.js +44 -44
- package/js/x-modules/related-tags/store/module.js.map +1 -1
- package/js/x-modules/related-tags/wiring.js +128 -128
- package/js/x-modules/related-tags/wiring.js.map +1 -1
- package/js/x-modules/related-tags/x-module.js +12 -12
- 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 +75 -77
- package/js/x-modules/scroll/components/main-scroll-item.vue2.js.map +1 -1
- package/js/x-modules/scroll/components/main-scroll.vue.js +169 -169
- 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 +147 -141
- package/js/x-modules/scroll/components/scroll-to-top.vue2.js.map +1 -1
- package/js/x-modules/scroll/components/scroll.const.js +11 -11
- 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 +102 -102
- package/js/x-modules/scroll/components/scroll.vue2.js.map +1 -1
- package/js/x-modules/scroll/store/emitters.js +6 -5
- package/js/x-modules/scroll/store/emitters.js.map +1 -1
- package/js/x-modules/scroll/store/module.js +29 -29
- package/js/x-modules/scroll/store/module.js.map +1 -1
- package/js/x-modules/scroll/wiring.js +89 -89
- package/js/x-modules/scroll/wiring.js.map +1 -1
- package/js/x-modules/scroll/x-module.js +12 -12
- 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 +61 -61
- package/js/x-modules/search/components/banner.vue2.js.map +1 -1
- package/js/x-modules/search/components/banners-list.vue.js +96 -95
- 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 +14 -17
- 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 +49 -49
- 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 +50 -52
- 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 +40 -40
- package/js/x-modules/search/components/promoted.vue2.js.map +1 -1
- package/js/x-modules/search/components/promoteds-list.vue.js +72 -72
- 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 +113 -114
- package/js/x-modules/search/components/redirection.vue2.js.map +1 -1
- package/js/x-modules/search/components/results-list.vue.js +63 -69
- 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 +43 -43
- 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 +44 -44
- 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 +45 -45
- 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 +45 -45
- 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 +26 -26
- 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 +51 -44
- 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 +11 -11
- 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 +14 -15
- 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 +29 -30
- 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 +10 -11
- 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 +41 -41
- 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 +13 -15
- package/js/x-modules/search/store/actions/set-url-params.action.js.map +1 -1
- package/js/x-modules/search/store/emitters.js +44 -43
- package/js/x-modules/search/store/emitters.js.map +1 -1
- package/js/x-modules/search/store/getters/query.getter.js +12 -12
- package/js/x-modules/search/store/getters/query.getter.js.map +1 -1
- package/js/x-modules/search/store/getters/request.getter.js +20 -21
- package/js/x-modules/search/store/getters/request.getter.js.map +1 -1
- package/js/x-modules/search/store/module.js +151 -149
- package/js/x-modules/search/store/module.js.map +1 -1
- package/js/x-modules/search/wiring.js +254 -250
- package/js/x-modules/search/wiring.js.map +1 -1
- package/js/x-modules/search/x-module.js +12 -12
- package/js/x-modules/search/x-module.js.map +1 -1
- package/js/x-modules/search-box/components/clear-search-input.vue.js +2 -3
- 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 +34 -34
- 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 +4 -5
- 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 +50 -50
- 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 +175 -175
- 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 +219 -219
- 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 +43 -43
- 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 +10 -11
- 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 +9 -8
- package/js/x-modules/search-box/store/emitters.js.map +1 -1
- package/js/x-modules/search-box/store/module.js +26 -26
- package/js/x-modules/search-box/store/module.js.map +1 -1
- package/js/x-modules/search-box/wiring.js +96 -95
- package/js/x-modules/search-box/wiring.js.map +1 -1
- package/js/x-modules/search-box/x-module.js +12 -12
- 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 +52 -54
- 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 +32 -32
- 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 +18 -20
- 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 +12 -12
- 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 +8 -8
- package/js/x-modules/semantic-queries/store/emitters.js.map +1 -1
- package/js/x-modules/semantic-queries/store/getters/normalized-query.getter.js +11 -11
- 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 +21 -20
- 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 +46 -40
- package/js/x-modules/semantic-queries/store/module.js.map +1 -1
- package/js/x-modules/semantic-queries/wiring.js +85 -80
- package/js/x-modules/semantic-queries/wiring.js.map +1 -1
- package/js/x-modules/semantic-queries/x-module.js +12 -12
- package/js/x-modules/semantic-queries/x-module.js.map +1 -1
- package/js/x-modules/tagging/components/tagging.vue.js +97 -97
- 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} +176 -146
- package/js/x-modules/tagging/service/external-tagging.service.js.map +1 -0
- package/js/x-modules/tagging/store/actions/track.action.js +35 -36
- package/js/x-modules/tagging/store/actions/track.action.js.map +1 -1
- package/js/x-modules/tagging/store/emitters.js +12 -12
- package/js/x-modules/tagging/store/emitters.js.map +1 -1
- package/js/x-modules/tagging/store/module.js +40 -36
- package/js/x-modules/tagging/store/module.js.map +1 -1
- package/js/x-modules/tagging/wiring.js +426 -259
- package/js/x-modules/tagging/wiring.js.map +1 -1
- package/js/x-modules/tagging/x-module.js +12 -12
- 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 +316 -317
- package/js/x-modules/url/components/url-handler.vue2.js.map +1 -1
- package/js/x-modules/url/store/emitters.js +49 -48
- package/js/x-modules/url/store/emitters.js.map +1 -1
- package/js/x-modules/url/store/getters/url-params.getter.js +33 -35
- package/js/x-modules/url/store/getters/url-params.getter.js.map +1 -1
- package/js/x-modules/url/store/initial-state.js +14 -13
- package/js/x-modules/url/store/initial-state.js.map +1 -1
- package/js/x-modules/url/store/module.js +39 -36
- package/js/x-modules/url/store/module.js.map +1 -1
- package/js/x-modules/url/store/mutations/set-params.mutation.js +14 -14
- package/js/x-modules/url/store/mutations/set-params.mutation.js.map +1 -1
- package/js/x-modules/url/wiring.js +124 -115
- package/js/x-modules/url/wiring.js.map +1 -1
- package/js/x-modules/url/x-module.js +12 -12
- package/js/x-modules/url/x-module.js.map +1 -1
- package/next-queries/index.js +4 -4
- package/package.json +75 -71
- 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.js +1 -1
- package/related-tags/index.js +1 -1
- package/report/tsdoc-metadata.json +1 -1
- package/report/x-adapter-platform.api.json +2728 -634
- package/report/x-components.api.json +19703 -18918
- package/report/x-components.api.md +1417 -967
- package/report/x-types.api.json +1614 -25
- 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 +20 -18
- package/types/adapter/e2e-adapter.d.ts.map +1 -1
- package/types/adapter/mocked-responses.d.ts +46 -46
- package/types/adapter/mocked-responses.d.ts.map +1 -1
- package/types/components/animations/animate-clip-path/animate-clip-path.factory.d.ts +13 -13
- 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 +13 -13
- 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 +13 -13
- package/types/components/animations/animate-translate/animate-translate.factory.d.ts.map +1 -1
- package/types/components/animations/animate-width.vue.d.ts +7 -7
- package/types/components/animations/animate-width.vue.d.ts.map +1 -1
- package/types/components/animations/change-height.vue.d.ts +5 -0
- package/types/components/animations/change-height.vue.d.ts.map +1 -0
- package/types/components/animations/collapse-height.vue.d.ts +30 -30
- package/types/components/animations/collapse-height.vue.d.ts.map +1 -1
- package/types/components/animations/collapse-width.vue.d.ts +30 -30
- package/types/components/animations/collapse-width.vue.d.ts.map +1 -1
- package/types/components/animations/create-directional-animation-factory.d.ts +12 -12
- package/types/components/animations/create-directional-animation-factory.d.ts.map +1 -1
- package/types/components/animations/cross-fade.vue.d.ts +26 -26
- package/types/components/animations/cross-fade.vue.d.ts.map +1 -1
- package/types/components/animations/fade-and-slide.vue.d.ts +36 -36
- package/types/components/animations/fade-and-slide.vue.d.ts.map +1 -1
- package/types/components/animations/fade.vue.d.ts +22 -22
- package/types/components/animations/fade.vue.d.ts.map +1 -1
- package/types/components/animations/index.d.ts +15 -14
- package/types/components/animations/index.d.ts.map +1 -1
- package/types/components/animations/no-animation.vue.d.ts +8 -8
- package/types/components/animations/no-animation.vue.d.ts.map +1 -1
- package/types/components/animations/staggered-fade-and-slide.vue.d.ts +49 -49
- package/types/components/animations/staggered-fade-and-slide.vue.d.ts.map +1 -1
- package/types/components/animations/use-collapse-animation.d.ts +18 -18
- package/types/components/animations/use-collapse-animation.d.ts.map +1 -1
- package/types/components/animations/use-disable-animation.d.ts +11 -11
- package/types/components/auto-progress-bar.vue.d.ts +52 -52
- package/types/components/auto-progress-bar.vue.d.ts.map +1 -1
- package/types/components/base-dropdown.vue.d.ts +92 -92
- package/types/components/base-dropdown.vue.d.ts.map +1 -1
- package/types/components/base-event-button.vue.d.ts +45 -45
- package/types/components/base-event-button.vue.d.ts.map +1 -1
- package/types/components/base-grid.vue.d.ts +80 -80
- package/types/components/base-grid.vue.d.ts.map +1 -1
- package/types/components/base-keyboard-navigation.vue.d.ts +68 -68
- package/types/components/base-keyboard-navigation.vue.d.ts.map +1 -1
- package/types/components/base-rating.vue.d.ts +51 -51
- package/types/components/base-rating.vue.d.ts.map +1 -1
- package/types/components/base-slider.vue.d.ts +73 -62
- package/types/components/base-slider.vue.d.ts.map +1 -1
- package/types/components/base-switch.vue.d.ts +27 -26
- package/types/components/base-switch.vue.d.ts.map +1 -1
- package/types/components/base-teleport.vue.d.ts +59 -0
- package/types/components/base-teleport.vue.d.ts.map +1 -0
- package/types/components/base-variable-column-grid.vue.d.ts +76 -76
- 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 +39 -38
- 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 +43 -43
- package/types/components/column-picker/base-column-picker-list.vue.d.ts.map +1 -1
- package/types/components/column-picker/index.d.ts +2 -2
- package/types/components/column-picker/index.d.ts.map +1 -1
- package/types/components/currency/base-currency.vue.d.ts +83 -83
- package/types/components/currency/base-currency.vue.d.ts.map +1 -1
- package/types/components/currency/index.d.ts +1 -1
- package/types/components/currency/index.d.ts.map +1 -1
- package/types/components/decorators/injection.consts.d.ts +56 -56
- 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 +28 -28
- package/types/components/display-emitter.vue.d.ts.map +1 -1
- package/types/components/filters/index.d.ts +2 -2
- package/types/components/filters/index.d.ts.map +1 -1
- package/types/components/filters/labels/base-price-filter-label.vue.d.ts +90 -90
- 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 +52 -52
- package/types/components/filters/labels/base-rating-filter-label.vue.d.ts.map +1 -1
- package/types/components/global-x-bus.vue.d.ts +20 -341
- package/types/components/global-x-bus.vue.d.ts.map +1 -1
- package/types/components/highlight.vue.d.ts +78 -78
- package/types/components/highlight.vue.d.ts.map +1 -1
- package/types/components/icons/index.d.ts +75 -73
- package/types/components/icons/index.d.ts.map +1 -1
- package/types/components/index.d.ts +33 -30
- package/types/components/index.d.ts.map +1 -1
- package/types/components/items-list.vue.d.ts +46 -46
- package/types/components/items-list.vue.d.ts.map +1 -1
- package/types/components/layouts/fixed-header-and-asides-layout.vue.d.ts +22 -22
- package/types/components/layouts/fixed-header-and-asides-layout.vue.d.ts.map +1 -1
- package/types/components/layouts/index.d.ts +3 -3
- package/types/components/layouts/index.d.ts.map +1 -1
- package/types/components/layouts/multi-column-max-width-layout.vue.d.ts +28 -28
- 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 +28 -28
- package/types/components/layouts/single-column-layout.vue.d.ts.map +1 -1
- package/types/components/location-provider.vue.d.ts +32 -32
- package/types/components/location-provider.vue.d.ts.map +1 -1
- package/types/components/modals/base-events-modal-close.vue.d.ts +35 -34
- 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 +35 -34
- package/types/components/modals/base-events-modal-open.vue.d.ts.map +1 -1
- package/types/components/modals/base-events-modal.vue.d.ts +60 -60
- package/types/components/modals/base-events-modal.vue.d.ts.map +1 -1
- package/types/components/modals/base-id-modal-close.vue.d.ts +24 -24
- 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 +23 -23
- package/types/components/modals/base-id-modal-open.vue.d.ts.map +1 -1
- package/types/components/modals/base-id-modal.vue.d.ts +42 -42
- package/types/components/modals/base-id-modal.vue.d.ts.map +1 -1
- package/types/components/modals/base-modal.vue.d.ts +94 -94
- package/types/components/modals/base-modal.vue.d.ts.map +1 -1
- package/types/components/modals/close-main-modal.vue.d.ts +9 -9
- package/types/components/modals/close-main-modal.vue.d.ts.map +1 -1
- package/types/components/modals/index.d.ts +10 -10
- package/types/components/modals/index.d.ts.map +1 -1
- package/types/components/modals/main-modal.vue.d.ts +90 -89
- package/types/components/modals/main-modal.vue.d.ts.map +1 -1
- package/types/components/modals/open-main-modal.vue.d.ts +9 -9
- package/types/components/modals/open-main-modal.vue.d.ts.map +1 -1
- package/types/components/page-loader-button.vue.d.ts +54 -54
- 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 +34 -34
- 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 +31 -31
- 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 +57 -57
- package/types/components/panels/base-id-toggle-panel.vue.d.ts.map +1 -1
- package/types/components/panels/base-tabs-panel.vue.d.ts +110 -110
- package/types/components/panels/base-tabs-panel.vue.d.ts.map +1 -1
- package/types/components/panels/base-toggle-panel.vue.d.ts +50 -50
- package/types/components/panels/base-toggle-panel.vue.d.ts.map +1 -1
- package/types/components/panels/index.d.ts +5 -5
- package/types/components/panels/index.d.ts.map +1 -1
- package/types/components/result/base-result-add-to-cart.vue.d.ts +35 -33
- 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 +73 -73
- package/types/components/result/base-result-current-price.vue.d.ts.map +1 -1
- package/types/components/result/base-result-image.vue.d.ts +77 -77
- package/types/components/result/base-result-image.vue.d.ts.map +1 -1
- package/types/components/result/base-result-link.vue.d.ts +37 -36
- package/types/components/result/base-result-link.vue.d.ts.map +1 -1
- package/types/components/result/base-result-previous-price.vue.d.ts +67 -67
- package/types/components/result/base-result-previous-price.vue.d.ts.map +1 -1
- package/types/components/result/base-result-rating.vue.d.ts +48 -47
- package/types/components/result/base-result-rating.vue.d.ts.map +1 -1
- package/types/components/result/index.d.ts +10 -10
- package/types/components/result/index.d.ts.map +1 -1
- package/types/components/result/result-variant-selector.vue.d.ts +29 -29
- package/types/components/result/result-variant-selector.vue.d.ts.map +1 -1
- package/types/components/result/result-variants-provider.vue.d.ts +52 -52
- package/types/components/result/result-variants-provider.vue.d.ts.map +1 -1
- package/types/components/scroll/base-scroll.vue.d.ts +121 -120
- package/types/components/scroll/base-scroll.vue.d.ts.map +1 -1
- package/types/components/scroll/index.d.ts +3 -3
- package/types/components/scroll/index.d.ts.map +1 -1
- package/types/components/scroll/scroll.types.d.ts +6 -6
- package/types/components/scroll/scroll.types.d.ts.map +1 -1
- package/types/components/scroll/use-scroll.d.ts +47 -47
- package/types/components/scroll/use-scroll.d.ts.map +1 -1
- package/types/components/sliding-panel.vue.d.ts +89 -74
- package/types/components/sliding-panel.vue.d.ts.map +1 -1
- package/types/components/snippet-callbacks.vue.d.ts +187 -172
- package/types/components/snippet-callbacks.vue.d.ts.map +1 -1
- package/types/components/suggestions/base-suggestion.vue.d.ts +112 -112
- package/types/components/suggestions/base-suggestion.vue.d.ts.map +1 -1
- package/types/components/suggestions/base-suggestions.vue.d.ts +110 -110
- package/types/components/suggestions/base-suggestions.vue.d.ts.map +1 -1
- package/types/components/suggestions/index.d.ts +2 -2
- package/types/components/suggestions/index.d.ts.map +1 -1
- package/types/components/x-component.utils.d.ts +28 -28
- package/types/components/x-component.utils.d.ts.map +1 -1
- package/types/composables/create-use-device.d.ts +50 -50
- package/types/composables/create-use-device.d.ts.map +1 -1
- package/types/composables/index.d.ts +8 -9
- package/types/composables/index.d.ts.map +1 -1
- package/types/composables/use-$x.d.ts +13 -13
- package/types/composables/use-alias-api.d.ts +122 -122
- package/types/composables/use-alias-api.d.ts.map +1 -1
- package/types/composables/use-debounce.d.ts +12 -12
- package/types/composables/use-debounce.d.ts.map +1 -1
- package/types/composables/use-getter.d.ts +22 -12
- package/types/composables/use-getter.d.ts.map +1 -1
- package/types/composables/use-on-display.d.ts +48 -52
- package/types/composables/use-on-display.d.ts.map +1 -1
- package/types/composables/use-state.d.ts +12 -13
- package/types/composables/use-state.d.ts.map +1 -1
- package/types/composables/use-x-bus.d.ts +20 -20
- package/types/composables/use-x-bus.d.ts.map +1 -1
- package/types/directives/index.d.ts +2 -1
- package/types/directives/index.d.ts.map +1 -1
- package/types/directives/infinite-scroll.d.ts +49 -49
- 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 +39 -36
- package/types/index.d.ts.map +1 -1
- package/types/plugins/devtools/colors.utils.d.ts +21 -21
- package/types/plugins/devtools/colors.utils.d.ts.map +1 -1
- package/types/plugins/devtools/devtools.plugin.d.ts +11 -11
- package/types/plugins/devtools/devtools.plugin.d.ts.map +1 -1
- package/types/plugins/devtools/timeline.devtools.d.ts +19 -19
- package/types/plugins/devtools/timeline.devtools.d.ts.map +1 -1
- package/types/plugins/devtools/wiring.devtools.d.ts +20 -20
- package/types/plugins/devtools/wiring.devtools.d.ts.map +1 -1
- package/types/plugins/index.d.ts +6 -6
- package/types/plugins/index.d.ts.map +1 -1
- package/types/plugins/x-bus.d.ts +9 -9
- package/types/plugins/x-bus.d.ts.map +1 -1
- package/types/plugins/x-emitters.d.ts +26 -27
- package/types/plugins/x-emitters.d.ts.map +1 -1
- package/types/plugins/x-plugin.d.ts +259 -264
- package/types/plugins/x-plugin.d.ts.map +1 -1
- package/types/plugins/x-plugin.types.d.ts +244 -246
- package/types/plugins/x-plugin.types.d.ts.map +1 -1
- package/types/plugins/x-plugin.utils.d.ts +18 -18
- package/types/plugins/x-plugin.utils.d.ts.map +1 -1
- package/types/router.d.ts +2 -2
- package/types/router.d.ts.map +1 -1
- package/types/services/directional-focus-navigation.service.d.ts +249 -251
- package/types/services/directional-focus-navigation.service.d.ts.map +1 -1
- package/types/services/index.d.ts +2 -2
- package/types/services/index.d.ts.map +1 -1
- package/types/services/services.types.d.ts +91 -91
- package/types/services/services.types.d.ts.map +1 -1
- package/types/services/state-machine.service.d.ts +30 -30
- package/types/services/state-machine.service.d.ts.map +1 -1
- package/types/store/actions.types.d.ts +66 -68
- package/types/store/actions.types.d.ts.map +1 -1
- package/types/store/getters.types.d.ts +26 -26
- package/types/store/getters.types.d.ts.map +1 -1
- package/types/store/index.d.ts +11 -8
- package/types/store/index.d.ts.map +1 -1
- package/types/store/mutations.types.d.ts +33 -33
- package/types/store/mutations.types.d.ts.map +1 -1
- package/types/store/store.types.d.ts +151 -151
- package/types/store/store.types.d.ts.map +1 -1
- package/types/store/utils/config-store.utils.d.ts +44 -44
- package/types/store/utils/config-store.utils.d.ts.map +1 -1
- package/types/store/utils/fetch-and-save-action.utils.d.ts +71 -72
- package/types/store/utils/fetch-and-save-action.utils.d.ts.map +1 -1
- package/types/store/utils/getters-proxy.utils.d.ts +41 -41
- package/types/store/utils/getters-proxy.utils.d.ts.map +1 -1
- package/types/store/utils/query.utils.d.ts +54 -54
- package/types/store/utils/query.utils.d.ts.map +1 -1
- package/types/store/utils/status-store.utils.d.ts +42 -42
- package/types/store/utils/status-store.utils.d.ts.map +1 -1
- package/types/store/utils/store-emitters.utils.d.ts +85 -85
- package/types/store/utils/store-emitters.utils.d.ts.map +1 -1
- package/types/store/x.module.d.ts +19 -19
- package/types/store/x.module.d.ts.map +1 -1
- package/types/tailwind/plugin-options.d.ts +2 -3
- package/types/tailwind/plugin-options.d.ts.map +1 -1
- package/types/types/animation-prop.d.ts +11 -11
- package/types/types/animation-prop.d.ts.map +1 -1
- package/types/types/index.d.ts +3 -3
- package/types/types/index.d.ts.map +1 -1
- package/types/types/origin.d.ts +45 -45
- 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 +15 -14
- package/types/types/url-params.d.ts.map +1 -1
- package/types/utils/array.d.ts +158 -158
- package/types/utils/array.d.ts.map +1 -1
- package/types/utils/cancellable-promise.d.ts +44 -44
- package/types/utils/cancellable-promise.d.ts.map +1 -1
- package/types/utils/clone.d.ts +9 -9
- package/types/utils/clone.d.ts.map +1 -1
- package/types/utils/currency-formatter.d.ts +29 -29
- package/types/utils/debounce.d.ts +36 -38
- package/types/utils/debounce.d.ts.map +1 -1
- package/types/utils/filters.d.ts +23 -23
- package/types/utils/filters.d.ts.map +1 -1
- package/types/utils/focus.d.ts +6 -6
- package/types/utils/focus.d.ts.map +1 -1
- package/types/utils/function.d.ts +7 -7
- package/types/utils/function.d.ts.map +1 -1
- package/types/utils/get-url-parameters.d.ts +8 -8
- package/types/utils/get-url-parameters.d.ts.map +1 -1
- package/types/utils/html.d.ts +39 -39
- package/types/utils/index.d.ts +20 -19
- 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 +35 -35
- package/types/utils/is-new-query.d.ts.map +1 -1
- package/types/utils/normalize.d.ts +10 -10
- package/types/utils/number.d.ts +10 -11
- package/types/utils/number.d.ts.map +1 -1
- package/types/utils/origin.d.ts +12 -14
- package/types/utils/origin.d.ts.map +1 -1
- package/types/utils/sanitize.d.ts +8 -8
- package/types/utils/sanitize.d.ts.map +1 -1
- package/types/utils/storage.d.ts +10 -10
- package/types/utils/storage.d.ts.map +1 -1
- package/types/utils/string.d.ts +36 -36
- package/types/utils/throttle.d.ts +11 -11
- package/types/utils/throttle.d.ts.map +1 -1
- package/types/utils/types.d.ts +162 -162
- package/types/utils/types.d.ts.map +1 -1
- package/types/views/adapter.d.ts +5 -5
- package/types/views/adapter.d.ts.map +1 -1
- package/types/views/base-config.d.ts +4 -4
- package/types/views/base-config.d.ts.map +1 -1
- package/types/views/home/types.d.ts +27 -27
- package/types/views/home/types.d.ts.map +1 -1
- package/types/wiring/events.types.d.ts +237 -236
- package/types/wiring/events.types.d.ts.map +1 -1
- package/types/wiring/index.d.ts +8 -8
- package/types/wiring/index.d.ts.map +1 -1
- package/types/wiring/namespaced-wires.factory.d.ts +38 -38
- package/types/wiring/namespaced-wires.factory.d.ts.map +1 -1
- package/types/wiring/namespaced-wires.operators.d.ts +26 -26
- package/types/wiring/namespaced-wires.operators.d.ts.map +1 -1
- package/types/wiring/namespaced-wiring.types.d.ts +111 -111
- package/types/wiring/namespaced-wiring.types.d.ts.map +1 -1
- package/types/wiring/wires-operators.utils.d.ts +37 -35
- package/types/wiring/wires-operators.utils.d.ts.map +1 -1
- package/types/wiring/wires.factory.d.ts +114 -114
- package/types/wiring/wires.factory.d.ts.map +1 -1
- package/types/wiring/wires.operators.d.ts +95 -95
- package/types/wiring/wires.operators.d.ts.map +1 -1
- package/types/wiring/wiring.types.d.ts +172 -172
- package/types/wiring/wiring.types.d.ts.map +1 -1
- package/types/wiring/wiring.utils.d.ts +27 -27
- package/types/wiring/wiring.utils.d.ts.map +1 -1
- package/types/x-bus/index.d.ts +3 -0
- package/types/x-bus/index.d.ts.map +1 -0
- package/types/x-bus/x-bus.d.ts +154 -0
- package/types/x-bus/x-bus.d.ts.map +1 -0
- package/types/x-bus/x-bus.spec.d.ts +2 -0
- package/types/x-bus/x-bus.spec.d.ts.map +1 -0
- package/types/x-bus/x-bus.types.d.ts +130 -0
- package/types/x-bus/x-bus.types.d.ts.map +1 -0
- package/types/x-bus/x-priority-queue/index.d.ts +3 -0
- package/types/x-bus/x-priority-queue/index.d.ts.map +1 -0
- package/types/x-bus/x-priority-queue/x-priority-queue.d.ts +142 -0
- package/types/x-bus/x-priority-queue/x-priority-queue.d.ts.map +1 -0
- package/types/x-bus/x-priority-queue/x-priority-queue.spec.d.ts +2 -0
- package/types/x-bus/x-priority-queue/x-priority-queue.spec.d.ts.map +1 -0
- package/types/x-bus/x-priority-queue/x-priority-queue.types.d.ts +62 -0
- package/types/x-bus/x-priority-queue/x-priority-queue.types.d.ts.map +1 -0
- package/types/x-installer/api/api.types.d.ts +135 -136
- package/types/x-installer/api/api.types.d.ts.map +1 -1
- package/types/x-installer/api/base-api.d.ts +112 -112
- package/types/x-installer/api/base-api.d.ts.map +1 -1
- package/types/x-installer/api/index.d.ts +2 -2
- package/types/x-installer/api/index.d.ts.map +1 -1
- package/types/x-installer/index.d.ts +2 -2
- package/types/x-installer/index.d.ts.map +1 -1
- package/types/x-installer/x-installer/index.d.ts +2 -2
- package/types/x-installer/x-installer/index.d.ts.map +1 -1
- package/types/x-installer/x-installer/types.d.ts +83 -83
- package/types/x-installer/x-installer/types.d.ts.map +1 -1
- package/types/x-installer/x-installer/x-installer.d.ts +216 -216
- package/types/x-installer/x-installer/x-installer.d.ts.map +1 -1
- package/types/x-modules/ai/components/ai-overview.vue.d.ts +82 -0
- package/types/x-modules/ai/components/ai-overview.vue.d.ts.map +1 -0
- package/types/x-modules/ai/components/index.d.ts +2 -0
- package/types/x-modules/ai/components/index.d.ts.map +1 -0
- package/types/x-modules/ai/config.types.d.ts +8 -0
- package/types/x-modules/ai/config.types.d.ts.map +1 -0
- package/types/x-modules/ai/events.types.d.ts +16 -0
- package/types/x-modules/ai/events.types.d.ts.map +1 -0
- package/types/x-modules/ai/index.d.ts +7 -0
- package/types/x-modules/ai/index.d.ts.map +1 -0
- package/types/x-modules/ai/store/actions/fetch-and-save-ai-suggestions-search.action.d.ts +11 -0
- package/types/x-modules/ai/store/actions/fetch-and-save-ai-suggestions-search.action.d.ts.map +1 -0
- package/types/x-modules/ai/store/actions/fetch-and-save-ai-suggestions.action.d.ts +12 -0
- package/types/x-modules/ai/store/actions/fetch-and-save-ai-suggestions.action.d.ts.map +1 -0
- package/types/x-modules/ai/store/actions/index.d.ts +5 -0
- package/types/x-modules/ai/store/actions/index.d.ts.map +1 -0
- package/types/x-modules/ai/store/actions/save-origin.action.d.ts +11 -0
- package/types/x-modules/ai/store/actions/save-origin.action.d.ts.map +1 -0
- package/types/x-modules/ai/store/actions/set-url-params.action.d.ts +10 -0
- package/types/x-modules/ai/store/actions/set-url-params.action.d.ts.map +1 -0
- package/types/x-modules/ai/store/emitters.d.ts +11 -0
- package/types/x-modules/ai/store/emitters.d.ts.map +1 -0
- package/types/x-modules/ai/store/getters/ai-query.getter.d.ts +13 -0
- package/types/x-modules/ai/store/getters/ai-query.getter.d.ts.map +1 -0
- package/types/x-modules/ai/store/getters/index.d.ts +4 -0
- package/types/x-modules/ai/store/getters/index.d.ts.map +1 -0
- package/types/x-modules/ai/store/getters/suggestions-request.getter.d.ts +14 -0
- package/types/x-modules/ai/store/getters/suggestions-request.getter.d.ts.map +1 -0
- package/types/x-modules/ai/store/getters/suggestions-search-request.getter.d.ts +13 -0
- package/types/x-modules/ai/store/getters/suggestions-search-request.getter.d.ts.map +1 -0
- package/types/x-modules/ai/store/index.d.ts +6 -0
- package/types/x-modules/ai/store/index.d.ts.map +1 -0
- package/types/x-modules/ai/store/module.d.ts +8 -0
- package/types/x-modules/ai/store/module.d.ts.map +1 -0
- package/types/x-modules/ai/store/types.d.ts +182 -0
- package/types/x-modules/ai/store/types.d.ts.map +1 -0
- package/types/x-modules/ai/wiring.d.ts +39 -0
- package/types/x-modules/ai/wiring.d.ts.map +1 -0
- package/types/x-modules/ai/x-module.d.ts +16 -0
- package/types/x-modules/ai/x-module.d.ts.map +1 -0
- package/types/x-modules/device/components/device-detector.vue.d.ts +71 -67
- package/types/x-modules/device/components/device-detector.vue.d.ts.map +1 -1
- package/types/x-modules/device/components/index.d.ts +1 -1
- package/types/x-modules/device/components/index.d.ts.map +1 -1
- package/types/x-modules/device/events.types.d.ts +13 -13
- package/types/x-modules/device/events.types.d.ts.map +1 -1
- package/types/x-modules/device/index.d.ts +5 -5
- package/types/x-modules/device/index.d.ts.map +1 -1
- package/types/x-modules/device/store/emitters.d.ts +6 -6
- package/types/x-modules/device/store/emitters.d.ts.map +1 -1
- package/types/x-modules/device/store/index.d.ts +3 -3
- package/types/x-modules/device/store/index.d.ts.map +1 -1
- package/types/x-modules/device/store/module.d.ts +7 -7
- package/types/x-modules/device/store/module.d.ts.map +1 -1
- package/types/x-modules/device/store/types.d.ts +47 -47
- package/types/x-modules/device/store/types.d.ts.map +1 -1
- package/types/x-modules/device/wiring.d.ts +16 -16
- package/types/x-modules/device/wiring.d.ts.map +1 -1
- package/types/x-modules/device/x-module.d.ts +15 -15
- package/types/x-modules/device/x-module.d.ts.map +1 -1
- package/types/x-modules/empathize/components/empathize.vue.d.ts +83 -51
- package/types/x-modules/empathize/components/empathize.vue.d.ts.map +1 -1
- package/types/x-modules/empathize/components/index.d.ts +1 -1
- package/types/x-modules/empathize/components/index.d.ts.map +1 -1
- package/types/x-modules/empathize/config.types.d.ts +7 -7
- package/types/x-modules/empathize/events.types.d.ts +23 -23
- package/types/x-modules/empathize/events.types.d.ts.map +1 -1
- package/types/x-modules/empathize/index.d.ts +6 -6
- package/types/x-modules/empathize/index.d.ts.map +1 -1
- package/types/x-modules/empathize/store/emitters.d.ts +6 -6
- package/types/x-modules/empathize/store/emitters.d.ts.map +1 -1
- package/types/x-modules/empathize/store/index.d.ts +3 -3
- package/types/x-modules/empathize/store/index.d.ts.map +1 -1
- package/types/x-modules/empathize/store/module.d.ts +7 -7
- package/types/x-modules/empathize/store/module.d.ts.map +1 -1
- package/types/x-modules/empathize/store/types.d.ts +55 -55
- package/types/x-modules/empathize/store/types.d.ts.map +1 -1
- package/types/x-modules/empathize/wiring.d.ts +13 -13
- package/types/x-modules/empathize/wiring.d.ts.map +1 -1
- package/types/x-modules/empathize/x-module.d.ts +15 -15
- package/types/x-modules/empathize/x-module.d.ts.map +1 -1
- package/types/x-modules/experience-controls/components/experience-controls.vue.d.ts +8 -8
- 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 +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 +11 -11
- package/types/x-modules/experience-controls/events.types.d.ts.map +1 -1
- package/types/x-modules/experience-controls/index.d.ts +5 -5
- 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 +14 -14
- 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 +12 -12
- 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 +2 -2
- package/types/x-modules/experience-controls/store/actions/index.d.ts.map +1 -1
- package/types/x-modules/experience-controls/store/emitters.d.ts +11 -11
- 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 +12 -12
- 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 +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 +5 -5
- package/types/x-modules/experience-controls/store/index.d.ts.map +1 -1
- package/types/x-modules/experience-controls/store/module.d.ts +7 -7
- package/types/x-modules/experience-controls/store/module.d.ts.map +1 -1
- package/types/x-modules/experience-controls/store/types.d.ts +92 -92
- package/types/x-modules/experience-controls/store/types.d.ts.map +1 -1
- package/types/x-modules/experience-controls/wiring.d.ts +25 -25
- package/types/x-modules/experience-controls/wiring.d.ts.map +1 -1
- package/types/x-modules/experience-controls/x-module.d.ts +15 -15
- 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 +20 -20
- 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 +3 -3
- 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 +20 -20
- 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 +25 -25
- 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 +29 -29
- package/types/x-modules/extra-params/events.types.d.ts.map +1 -1
- package/types/x-modules/extra-params/index.d.ts +5 -5
- package/types/x-modules/extra-params/index.d.ts.map +1 -1
- package/types/x-modules/extra-params/store/emitters.d.ts +13 -13
- package/types/x-modules/extra-params/store/emitters.d.ts.map +1 -1
- package/types/x-modules/extra-params/store/index.d.ts +3 -3
- package/types/x-modules/extra-params/store/index.d.ts.map +1 -1
- package/types/x-modules/extra-params/store/module.d.ts +7 -7
- package/types/x-modules/extra-params/store/module.d.ts.map +1 -1
- package/types/x-modules/extra-params/store/types.d.ts +38 -38
- package/types/x-modules/extra-params/store/types.d.ts.map +1 -1
- package/types/x-modules/extra-params/wiring.d.ts +22 -22
- package/types/x-modules/extra-params/wiring.d.ts.map +1 -1
- package/types/x-modules/extra-params/x-module.d.ts +15 -15
- package/types/x-modules/extra-params/x-module.d.ts.map +1 -1
- package/types/x-modules/facets/components/clear-filters.vue.d.ts +29 -28
- 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 +57 -56
- 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 +92 -92
- 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 +32 -32
- 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 +99 -99
- 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 +240 -225
- 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 +50 -50
- 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 +47 -47
- 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 +218 -203
- package/types/x-modules/facets/components/filters/simple-filter.vue.d.ts.map +1 -1
- package/types/x-modules/facets/components/index.d.ts +17 -17
- 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 +36 -36
- 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 +70 -70
- 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 +62 -62
- 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 +51 -51
- 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 +27 -26
- 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 +64 -64
- 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 +45 -45
- 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 +39 -39
- package/types/x-modules/facets/components/preselected-filters.vue.d.ts.map +1 -1
- package/types/x-modules/facets/composables/index.d.ts +2 -2
- package/types/x-modules/facets/composables/index.d.ts.map +1 -1
- package/types/x-modules/facets/composables/use-facets.d.ts +21 -22
- package/types/x-modules/facets/composables/use-facets.d.ts.map +1 -1
- package/types/x-modules/facets/composables/use-filters-injection.d.ts +17 -18
- 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 +12 -12
- 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 +63 -63
- 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 +87 -87
- 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 +60 -59
- package/types/x-modules/facets/entities/hierarchical-filter.entity.d.ts.map +1 -1
- package/types/x-modules/facets/entities/index.d.ts +9 -9
- package/types/x-modules/facets/entities/index.d.ts.map +1 -1
- package/types/x-modules/facets/entities/number-range-filter.entity.d.ts +27 -26
- 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 +30 -29
- 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 +27 -26
- 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 +54 -54
- package/types/x-modules/facets/entities/single-select.modifier.d.ts.map +1 -1
- package/types/x-modules/facets/entities/sticky.modifier.d.ts +31 -31
- package/types/x-modules/facets/entities/sticky.modifier.d.ts.map +1 -1
- package/types/x-modules/facets/entities/types.d.ts +65 -65
- package/types/x-modules/facets/entities/types.d.ts.map +1 -1
- package/types/x-modules/facets/events.types.d.ts +92 -92
- package/types/x-modules/facets/events.types.d.ts.map +1 -1
- package/types/x-modules/facets/index.d.ts +9 -9
- package/types/x-modules/facets/index.d.ts.map +1 -1
- package/types/x-modules/facets/service/facets.service.d.ts +152 -153
- package/types/x-modules/facets/service/facets.service.d.ts.map +1 -1
- package/types/x-modules/facets/service/index.d.ts +2 -2
- package/types/x-modules/facets/service/index.d.ts.map +1 -1
- package/types/x-modules/facets/service/types.d.ts +106 -106
- package/types/x-modules/facets/service/types.d.ts.map +1 -1
- package/types/x-modules/facets/store/constants.d.ts +1 -1
- package/types/x-modules/facets/store/constants.d.ts.map +1 -1
- package/types/x-modules/facets/store/emitters.d.ts +27 -27
- package/types/x-modules/facets/store/emitters.d.ts.map +1 -1
- package/types/x-modules/facets/store/getters/facets.getter.d.ts +11 -11
- package/types/x-modules/facets/store/getters/facets.getter.d.ts.map +1 -1
- package/types/x-modules/facets/store/getters/index.d.ts +3 -3
- 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 +16 -16
- 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 +12 -12
- 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 +12 -12
- package/types/x-modules/facets/store/getters/selected-filters.getter.d.ts.map +1 -1
- package/types/x-modules/facets/store/index.d.ts +4 -4
- package/types/x-modules/facets/store/index.d.ts.map +1 -1
- package/types/x-modules/facets/store/module.d.ts +7 -7
- package/types/x-modules/facets/store/module.d.ts.map +1 -1
- package/types/x-modules/facets/store/types.d.ts +195 -195
- package/types/x-modules/facets/store/types.d.ts.map +1 -1
- package/types/x-modules/facets/utils.d.ts +11 -11
- package/types/x-modules/facets/utils.d.ts.map +1 -1
- package/types/x-modules/facets/wiring.d.ts +78 -78
- package/types/x-modules/facets/wiring.d.ts.map +1 -1
- package/types/x-modules/facets/x-module.d.ts +15 -15
- 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 +15 -15
- 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 +11 -11
- 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 +11 -11
- 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 +45 -45
- 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 +6 -6
- 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 +65 -65
- 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 +34 -34
- 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 +33 -33
- package/types/x-modules/history-queries/config.types.d.ts.map +1 -1
- package/types/x-modules/history-queries/events.types.d.ts +65 -65
- package/types/x-modules/history-queries/events.types.d.ts.map +1 -1
- package/types/x-modules/history-queries/index.d.ts +6 -6
- 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 +91 -91
- 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 +10 -10
- 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 +9 -9
- 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 +11 -11
- 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 +10 -10
- 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 +10 -11
- 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 +2 -2
- 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 +17 -20
- 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 +3 -3
- package/types/x-modules/history-queries/store/constants.d.ts.map +1 -1
- package/types/x-modules/history-queries/store/emitters.d.ts +16 -16
- 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 +12 -15
- 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 +35 -35
- 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 +13 -12
- 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 +10 -10
- 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 +8 -8
- 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 +11 -11
- package/types/x-modules/history-queries/store/index.d.ts.map +1 -1
- package/types/x-modules/history-queries/store/module.d.ts +7 -7
- package/types/x-modules/history-queries/store/module.d.ts.map +1 -1
- package/types/x-modules/history-queries/store/types.d.ts +197 -197
- package/types/x-modules/history-queries/store/types.d.ts.map +1 -1
- package/types/x-modules/history-queries/wiring.d.ts +135 -135
- package/types/x-modules/history-queries/wiring.d.ts.map +1 -1
- package/types/x-modules/history-queries/x-module.d.ts +15 -15
- 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 +33 -33
- 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 +47 -47
- 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 +2 -2
- package/types/x-modules/identifier-results/components/index.d.ts.map +1 -1
- package/types/x-modules/identifier-results/config.types.d.ts +25 -25
- package/types/x-modules/identifier-results/config.types.d.ts.map +1 -1
- package/types/x-modules/identifier-results/events.types.d.ts +25 -25
- package/types/x-modules/identifier-results/events.types.d.ts.map +1 -1
- package/types/x-modules/identifier-results/index.d.ts +6 -6
- 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 +15 -15
- 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 +13 -13
- 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 +4 -4
- 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 +10 -11
- 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 +10 -11
- 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 +12 -12
- 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 +11 -11
- 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 +11 -11
- 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 +11 -11
- 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 +7 -7
- package/types/x-modules/identifier-results/store/index.d.ts.map +1 -1
- package/types/x-modules/identifier-results/store/module.d.ts +7 -7
- package/types/x-modules/identifier-results/store/module.d.ts.map +1 -1
- package/types/x-modules/identifier-results/store/types.d.ts +112 -112
- package/types/x-modules/identifier-results/store/types.d.ts.map +1 -1
- package/types/x-modules/identifier-results/wiring.d.ts +80 -80
- package/types/x-modules/identifier-results/wiring.d.ts.map +1 -1
- package/types/x-modules/identifier-results/x-module.d.ts +15 -15
- package/types/x-modules/identifier-results/x-module.d.ts.map +1 -1
- package/types/x-modules/next-queries/components/index.d.ts +4 -4
- 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 +78 -78
- 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 +49 -49
- 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 +45 -45
- 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 +55 -55
- 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 +41 -41
- package/types/x-modules/next-queries/config.types.d.ts.map +1 -1
- package/types/x-modules/next-queries/events.types.d.ts +35 -35
- package/types/x-modules/next-queries/events.types.d.ts.map +1 -1
- package/types/x-modules/next-queries/index.d.ts +7 -7
- 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 +14 -14
- 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 +2 -2
- 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 +13 -13
- 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 +15 -12
- 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 +10 -10
- 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 +10 -11
- 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 +12 -12
- 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 +10 -12
- 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 +10 -11
- 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 +12 -14
- 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 +9 -9
- package/types/x-modules/next-queries/store/index.d.ts.map +1 -1
- package/types/x-modules/next-queries/store/module.d.ts +7 -7
- package/types/x-modules/next-queries/store/module.d.ts.map +1 -1
- package/types/x-modules/next-queries/store/types.d.ts +149 -149
- package/types/x-modules/next-queries/store/types.d.ts.map +1 -1
- package/types/x-modules/next-queries/types.d.ts +11 -11
- package/types/x-modules/next-queries/types.d.ts.map +1 -1
- package/types/x-modules/next-queries/wiring.d.ts +96 -96
- package/types/x-modules/next-queries/wiring.d.ts.map +1 -1
- package/types/x-modules/next-queries/x-module.d.ts +15 -15
- package/types/x-modules/next-queries/x-module.d.ts.map +1 -1
- package/types/x-modules/popular-searches/components/index.d.ts +2 -2
- 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 +34 -34
- 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 +12 -12
- 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 +33 -33
- package/types/x-modules/popular-searches/config.types.d.ts.map +1 -1
- package/types/x-modules/popular-searches/events.types.d.ts +24 -24
- package/types/x-modules/popular-searches/events.types.d.ts.map +1 -1
- package/types/x-modules/popular-searches/index.d.ts +6 -6
- 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 +14 -14
- 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 +12 -12
- 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 +10 -10
- 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 +11 -12
- 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 +10 -12
- 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 +7 -7
- package/types/x-modules/popular-searches/store/index.d.ts.map +1 -1
- package/types/x-modules/popular-searches/store/module.d.ts +7 -7
- package/types/x-modules/popular-searches/store/module.d.ts.map +1 -1
- package/types/x-modules/popular-searches/store/types.d.ts +90 -90
- package/types/x-modules/popular-searches/store/types.d.ts.map +1 -1
- package/types/x-modules/popular-searches/wiring.d.ts +28 -28
- package/types/x-modules/popular-searches/wiring.d.ts.map +1 -1
- package/types/x-modules/popular-searches/x-module.d.ts +15 -15
- package/types/x-modules/popular-searches/x-module.d.ts.map +1 -1
- package/types/x-modules/queries-preview/components/index.d.ts +3 -3
- 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 +54 -54
- 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 +124 -124
- 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 +92 -92
- 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 +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 +28 -28
- 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 +11 -11
- package/types/x-modules/queries-preview/config.types.d.ts.map +1 -1
- package/types/x-modules/queries-preview/events.types.d.ts +46 -41
- package/types/x-modules/queries-preview/events.types.d.ts.map +1 -1
- package/types/x-modules/queries-preview/index.d.ts +7 -7
- 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 +12 -12
- 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 +12 -12
- 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 +12 -11
- 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 +9 -10
- 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 +5 -5
- package/types/x-modules/queries-preview/store/index.d.ts.map +1 -1
- package/types/x-modules/queries-preview/store/module.d.ts +7 -7
- package/types/x-modules/queries-preview/store/module.d.ts.map +1 -1
- package/types/x-modules/queries-preview/store/types.d.ts +188 -189
- 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 +18 -18
- 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 +85 -85
- package/types/x-modules/queries-preview/wiring.d.ts.map +1 -1
- package/types/x-modules/queries-preview/x-module.d.ts +15 -15
- package/types/x-modules/queries-preview/x-module.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/components/index.d.ts +2 -2
- 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 +28 -28
- 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 +11 -11
- 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 +58 -58
- package/types/x-modules/query-suggestions/config.types.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/events.types.d.ts +26 -31
- package/types/x-modules/query-suggestions/events.types.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/index.d.ts +6 -6
- 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 +14 -14
- 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 +13 -13
- 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 +10 -11
- 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 +9 -9
- 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 +10 -12
- 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 +34 -34
- 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 +10 -12
- 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 +8 -8
- package/types/x-modules/query-suggestions/store/index.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/store/module.d.ts +7 -7
- package/types/x-modules/query-suggestions/store/module.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/store/types.d.ts +104 -104
- package/types/x-modules/query-suggestions/store/types.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/wiring.d.ts +90 -90
- package/types/x-modules/query-suggestions/wiring.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/x-module.d.ts +15 -15
- package/types/x-modules/query-suggestions/x-module.d.ts.map +1 -1
- package/types/x-modules/recommendations/components/index.d.ts +1 -1
- package/types/x-modules/recommendations/components/index.d.ts.map +1 -1
- package/types/x-modules/recommendations/components/recommendations.vue.d.ts +33 -34
- package/types/x-modules/recommendations/components/recommendations.vue.d.ts.map +1 -1
- package/types/x-modules/recommendations/config.types.d.ts +11 -11
- package/types/x-modules/recommendations/config.types.d.ts.map +1 -1
- package/types/x-modules/recommendations/events.types.d.ts +25 -25
- package/types/x-modules/recommendations/events.types.d.ts.map +1 -1
- package/types/x-modules/recommendations/index.d.ts +6 -6
- 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 +16 -16
- 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 +12 -12
- package/types/x-modules/recommendations/store/actions/fetch-recommendations.action.d.ts.map +1 -1
- package/types/x-modules/recommendations/store/constants.d.ts +6 -6
- package/types/x-modules/recommendations/store/constants.d.ts.map +1 -1
- package/types/x-modules/recommendations/store/emitters.d.ts +11 -11
- package/types/x-modules/recommendations/store/emitters.d.ts.map +1 -1
- package/types/x-modules/recommendations/store/getters/request.getter.d.ts +11 -11
- package/types/x-modules/recommendations/store/getters/request.getter.d.ts.map +1 -1
- package/types/x-modules/recommendations/store/index.d.ts +7 -7
- package/types/x-modules/recommendations/store/index.d.ts.map +1 -1
- package/types/x-modules/recommendations/store/module.d.ts +7 -7
- package/types/x-modules/recommendations/store/module.d.ts.map +1 -1
- package/types/x-modules/recommendations/store/types.d.ts +90 -90
- package/types/x-modules/recommendations/store/types.d.ts.map +1 -1
- package/types/x-modules/recommendations/wiring.d.ts +20 -20
- package/types/x-modules/recommendations/wiring.d.ts.map +1 -1
- package/types/x-modules/recommendations/x-module.d.ts +15 -15
- package/types/x-modules/recommendations/x-module.d.ts.map +1 -1
- package/types/x-modules/related-prompts/components/index.d.ts +3 -2
- package/types/x-modules/related-prompts/components/index.d.ts.map +1 -1
- package/types/x-modules/related-prompts/components/related-prompt.vue.d.ts +47 -36
- package/types/x-modules/related-prompts/components/related-prompt.vue.d.ts.map +1 -1
- package/types/x-modules/related-prompts/components/related-prompts-list.vue.d.ts +105 -105
- package/types/x-modules/related-prompts/components/related-prompts-list.vue.d.ts.map +1 -1
- package/types/x-modules/related-prompts/components/related-prompts-tag-list.vue.d.ts +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 +53 -15
- package/types/x-modules/related-prompts/events.types.d.ts.map +1 -1
- package/types/x-modules/related-prompts/index.d.ts +5 -5
- package/types/x-modules/related-prompts/index.d.ts.map +1 -1
- package/types/x-modules/related-prompts/store/actions/fetch-and-save-related-prompts.action.d.ts +16 -16
- package/types/x-modules/related-prompts/store/actions/fetch-and-save-related-prompts.action.d.ts.map +1 -1
- package/types/x-modules/related-prompts/store/actions/fetch-related-prompts.action.d.ts +12 -12
- package/types/x-modules/related-prompts/store/actions/fetch-related-prompts.action.d.ts.map +1 -1
- package/types/x-modules/related-prompts/store/actions/set-url-params.action.d.ts +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 +10 -8
- package/types/x-modules/related-prompts/store/emitters.d.ts.map +1 -1
- 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 +13 -12
- package/types/x-modules/related-prompts/store/getters/request.getter.d.ts.map +1 -1
- package/types/x-modules/related-prompts/store/index.d.ts +5 -6
- package/types/x-modules/related-prompts/store/index.d.ts.map +1 -1
- package/types/x-modules/related-prompts/store/module.d.ts +7 -7
- package/types/x-modules/related-prompts/store/module.d.ts.map +1 -1
- package/types/x-modules/related-prompts/store/types.d.ts +124 -103
- package/types/x-modules/related-prompts/store/types.d.ts.map +1 -1
- package/types/x-modules/related-prompts/types.d.ts +9 -9
- package/types/x-modules/related-prompts/types.d.ts.map +1 -1
- package/types/x-modules/related-prompts/wiring.d.ts +45 -30
- package/types/x-modules/related-prompts/wiring.d.ts.map +1 -1
- package/types/x-modules/related-prompts/x-module.d.ts +15 -15
- package/types/x-modules/related-prompts/x-module.d.ts.map +1 -1
- package/types/x-modules/related-tags/components/index.d.ts +2 -2
- 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 +58 -58
- 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 +72 -72
- 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 +11 -11
- package/types/x-modules/related-tags/config.types.d.ts.map +1 -1
- package/types/x-modules/related-tags/events.types.d.ts +43 -43
- package/types/x-modules/related-tags/events.types.d.ts.map +1 -1
- package/types/x-modules/related-tags/index.d.ts +6 -6
- 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 +14 -14
- 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 +12 -12
- 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 +14 -11
- 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 +10 -11
- 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 +13 -13
- 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 +10 -12
- 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 +10 -11
- 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 +12 -14
- 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 +9 -9
- package/types/x-modules/related-tags/store/index.d.ts.map +1 -1
- package/types/x-modules/related-tags/store/module.d.ts +7 -7
- package/types/x-modules/related-tags/store/module.d.ts.map +1 -1
- package/types/x-modules/related-tags/store/types.d.ts +109 -109
- package/types/x-modules/related-tags/store/types.d.ts.map +1 -1
- package/types/x-modules/related-tags/wiring.d.ts +105 -105
- package/types/x-modules/related-tags/wiring.d.ts.map +1 -1
- package/types/x-modules/related-tags/x-module.d.ts +15 -15
- package/types/x-modules/related-tags/x-module.d.ts.map +1 -1
- package/types/x-modules/scroll/components/index.d.ts +6 -6
- package/types/x-modules/scroll/components/index.d.ts.map +1 -1
- package/types/x-modules/scroll/components/main-scroll-item.vue.d.ts +36 -36
- 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 +74 -74
- 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 +65 -65
- 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 +14 -14
- package/types/x-modules/scroll/components/scroll.const.d.ts.map +1 -1
- package/types/x-modules/scroll/components/scroll.types.d.ts +19 -19
- package/types/x-modules/scroll/components/scroll.types.d.ts.map +1 -1
- package/types/x-modules/scroll/components/scroll.vue.d.ts +39 -39
- package/types/x-modules/scroll/components/scroll.vue.d.ts.map +1 -1
- package/types/x-modules/scroll/events.types.d.ts +52 -52
- package/types/x-modules/scroll/events.types.d.ts.map +1 -1
- package/types/x-modules/scroll/index.d.ts +5 -5
- package/types/x-modules/scroll/index.d.ts.map +1 -1
- package/types/x-modules/scroll/store/emitters.d.ts +6 -6
- package/types/x-modules/scroll/store/emitters.d.ts.map +1 -1
- package/types/x-modules/scroll/store/index.d.ts +3 -3
- package/types/x-modules/scroll/store/index.d.ts.map +1 -1
- package/types/x-modules/scroll/store/module.d.ts +7 -7
- package/types/x-modules/scroll/store/module.d.ts.map +1 -1
- package/types/x-modules/scroll/store/types.d.ts +97 -97
- package/types/x-modules/scroll/store/types.d.ts.map +1 -1
- package/types/x-modules/scroll/wiring.d.ts +73 -73
- package/types/x-modules/scroll/wiring.d.ts.map +1 -1
- package/types/x-modules/scroll/x-module.d.ts +15 -15
- package/types/x-modules/scroll/x-module.d.ts.map +1 -1
- package/types/x-modules/search/components/banner.vue.d.ts +42 -139
- package/types/x-modules/search/components/banner.vue.d.ts.map +1 -1
- package/types/x-modules/search/components/banners-list.vue.d.ts +29 -29
- 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 +11 -11
- package/types/x-modules/search/components/fallback-disclaimer.vue.d.ts.map +1 -1
- package/types/x-modules/search/components/index.d.ts +14 -14
- package/types/x-modules/search/components/index.d.ts.map +1 -1
- package/types/x-modules/search/components/partial-query-button.vue.d.ts +32 -32
- 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 +51 -53
- 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 +38 -38
- package/types/x-modules/search/components/promoted.vue.d.ts.map +1 -1
- package/types/x-modules/search/components/promoteds-list.vue.d.ts +29 -29
- package/types/x-modules/search/components/promoteds-list.vue.d.ts.map +1 -1
- package/types/x-modules/search/components/redirection.vue.d.ts +64 -64
- package/types/x-modules/search/components/redirection.vue.d.ts.map +1 -1
- package/types/x-modules/search/components/results-list.vue.d.ts +31 -31
- 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 +31 -30
- 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 +46 -45
- 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 +50 -49
- 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 +13 -13
- package/types/x-modules/search/components/spellcheck-button.vue.d.ts.map +1 -1
- package/types/x-modules/search/components/spellcheck.vue.d.ts +15 -15
- package/types/x-modules/search/components/spellcheck.vue.d.ts.map +1 -1
- package/types/x-modules/search/config.types.d.ts +13 -11
- package/types/x-modules/search/config.types.d.ts.map +1 -1
- package/types/x-modules/search/events.types.d.ts +110 -106
- package/types/x-modules/search/events.types.d.ts.map +1 -1
- package/types/x-modules/search/index.d.ts +7 -7
- 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 +14 -14
- 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 +12 -12
- 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 +10 -10
- 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 +7 -7
- 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 +10 -11
- 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 +10 -11
- 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 +10 -11
- 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 +10 -12
- 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 +38 -38
- package/types/x-modules/search/store/emitters.d.ts.map +1 -1
- package/types/x-modules/search/store/getters/index.d.ts +2 -2
- package/types/x-modules/search/store/getters/index.d.ts.map +1 -1
- package/types/x-modules/search/store/getters/query.getter.d.ts +12 -12
- 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 +12 -13
- package/types/x-modules/search/store/getters/request.getter.d.ts.map +1 -1
- package/types/x-modules/search/store/index.d.ts +5 -5
- package/types/x-modules/search/store/index.d.ts.map +1 -1
- package/types/x-modules/search/store/module.d.ts +41 -41
- package/types/x-modules/search/store/module.d.ts.map +1 -1
- package/types/x-modules/search/store/types.d.ts +288 -288
- package/types/x-modules/search/store/types.d.ts.map +1 -1
- package/types/x-modules/search/types.d.ts +34 -34
- package/types/x-modules/search/types.d.ts.map +1 -1
- package/types/x-modules/search/wiring.d.ts +221 -217
- package/types/x-modules/search/wiring.d.ts.map +1 -1
- package/types/x-modules/search/x-module.d.ts +15 -15
- 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 +19 -19
- 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 +4 -4
- 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 +17 -18
- 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 +84 -84
- 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 +83 -83
- 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 +73 -73
- package/types/x-modules/search-box/events.types.d.ts.map +1 -1
- package/types/x-modules/search-box/index.d.ts +5 -5
- 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 +11 -11
- 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 +10 -11
- 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 +13 -13
- package/types/x-modules/search-box/store/emitters.d.ts.map +1 -1
- package/types/x-modules/search-box/store/index.d.ts +3 -3
- package/types/x-modules/search-box/store/index.d.ts.map +1 -1
- package/types/x-modules/search-box/store/module.d.ts +7 -7
- package/types/x-modules/search-box/store/module.d.ts.map +1 -1
- package/types/x-modules/search-box/store/types.d.ts +69 -69
- package/types/x-modules/search-box/store/types.d.ts.map +1 -1
- package/types/x-modules/search-box/wiring.d.ts +42 -42
- package/types/x-modules/search-box/wiring.d.ts.map +1 -1
- package/types/x-modules/search-box/x-module.d.ts +15 -15
- package/types/x-modules/search-box/x-module.d.ts.map +1 -1
- package/types/x-modules/semantic-queries/components/index.d.ts +2 -2
- 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 +9 -11
- 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 +29 -29
- 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 +15 -15
- package/types/x-modules/semantic-queries/config.types.d.ts.map +1 -1
- package/types/x-modules/semantic-queries/events.types.d.ts +24 -24
- package/types/x-modules/semantic-queries/events.types.d.ts.map +1 -1
- package/types/x-modules/semantic-queries/index.d.ts +6 -6
- 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 +12 -12
- 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 +12 -12
- 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 +2 -2
- package/types/x-modules/semantic-queries/store/actions/index.d.ts.map +1 -1
- package/types/x-modules/semantic-queries/store/emitters.d.ts +9 -9
- package/types/x-modules/semantic-queries/store/emitters.d.ts.map +1 -1
- package/types/x-modules/semantic-queries/store/getters/index.d.ts +3 -2
- 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 +12 -12
- 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 +13 -12
- 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 +4 -4
- package/types/x-modules/semantic-queries/store/index.d.ts.map +1 -1
- package/types/x-modules/semantic-queries/store/module.d.ts +7 -7
- package/types/x-modules/semantic-queries/store/module.d.ts.map +1 -1
- package/types/x-modules/semantic-queries/store/types.d.ts +102 -90
- package/types/x-modules/semantic-queries/store/types.d.ts.map +1 -1
- package/types/x-modules/semantic-queries/wiring.d.ts +65 -62
- package/types/x-modules/semantic-queries/wiring.d.ts.map +1 -1
- package/types/x-modules/semantic-queries/x-module.d.ts +15 -15
- package/types/x-modules/semantic-queries/x-module.d.ts.map +1 -1
- package/types/x-modules/tagging/components/index.d.ts +1 -1
- package/types/x-modules/tagging/components/index.d.ts.map +1 -1
- package/types/x-modules/tagging/components/tagging.vue.d.ts +84 -82
- package/types/x-modules/tagging/components/tagging.vue.d.ts.map +1 -1
- package/types/x-modules/tagging/config.types.d.ts +25 -25
- package/types/x-modules/tagging/config.types.d.ts.map +1 -1
- package/types/x-modules/tagging/events.types.d.ts +51 -51
- package/types/x-modules/tagging/events.types.d.ts.map +1 -1
- package/types/x-modules/tagging/index.d.ts +7 -7
- 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} +100 -82
- package/types/x-modules/tagging/service/external-tagging.service.d.ts.map +1 -0
- package/types/x-modules/tagging/service/index.d.ts +2 -2
- package/types/x-modules/tagging/service/index.d.ts.map +1 -1
- package/types/x-modules/tagging/service/types.d.ts +38 -29
- package/types/x-modules/tagging/service/types.d.ts.map +1 -1
- package/types/x-modules/tagging/store/actions/index.d.ts +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 +10 -11
- package/types/x-modules/tagging/store/actions/track.action.d.ts.map +1 -1
- package/types/x-modules/tagging/store/emitters.d.ts +13 -13
- package/types/x-modules/tagging/store/emitters.d.ts.map +1 -1
- package/types/x-modules/tagging/store/index.d.ts +4 -4
- package/types/x-modules/tagging/store/index.d.ts.map +1 -1
- package/types/x-modules/tagging/store/module.d.ts +7 -7
- package/types/x-modules/tagging/store/module.d.ts.map +1 -1
- package/types/x-modules/tagging/store/types.d.ts +80 -80
- package/types/x-modules/tagging/store/types.d.ts.map +1 -1
- package/types/x-modules/tagging/wiring.d.ts +267 -164
- package/types/x-modules/tagging/wiring.d.ts.map +1 -1
- package/types/x-modules/tagging/x-module.d.ts +15 -15
- package/types/x-modules/tagging/x-module.d.ts.map +1 -1
- package/types/x-modules/url/components/index.d.ts +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 +12 -12
- package/types/x-modules/url/components/url-handler.vue.d.ts.map +1 -1
- package/types/x-modules/url/events.types.d.ts +30 -31
- package/types/x-modules/url/events.types.d.ts.map +1 -1
- package/types/x-modules/url/index.d.ts +5 -5
- package/types/x-modules/url/index.d.ts.map +1 -1
- package/types/x-modules/url/store/emitters.d.ts +49 -49
- package/types/x-modules/url/store/emitters.d.ts.map +1 -1
- package/types/x-modules/url/store/getters/url-params.getter.d.ts +9 -11
- package/types/x-modules/url/store/getters/url-params.getter.d.ts.map +1 -1
- package/types/x-modules/url/store/index.d.ts +3 -3
- package/types/x-modules/url/store/index.d.ts.map +1 -1
- package/types/x-modules/url/store/initial-state.d.ts +8 -8
- package/types/x-modules/url/store/initial-state.d.ts.map +1 -1
- package/types/x-modules/url/store/module.d.ts +7 -7
- package/types/x-modules/url/store/module.d.ts.map +1 -1
- package/types/x-modules/url/store/mutations/set-params.mutation.d.ts +12 -12
- package/types/x-modules/url/store/mutations/set-params.mutation.d.ts.map +1 -1
- package/types/x-modules/url/store/types.d.ts +108 -102
- package/types/x-modules/url/store/types.d.ts.map +1 -1
- package/types/x-modules/url/wiring.d.ts +117 -108
- package/types/x-modules/url/wiring.d.ts.map +1 -1
- package/types/x-modules/url/x-module.d.ts +15 -15
- package/types/x-modules/url/x-module.d.ts.map +1 -1
- package/types/x-modules/x-modules.types.d.ts +97 -95
- package/types/x-modules/x-modules.types.d.ts.map +1 -1
- package/url/index.js +1 -1
- package/design-system/deprecated-full-theme.css +0 -8828
- 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.trackaddtocart.md +0 -24
- package/docs/API-reference/api/x-components.pdpaddtocartservice.md +0 -22
- package/docs/API-reference/api/x-components.pdpaddtocartservice.storeresultclicked.md +0 -24
- package/docs/API-reference/api/x-components.querysuggestionsxevents.querysuggestionsdisplayed.md +0 -13
- package/docs/API-reference/api/x-components.relatedpromptrequest.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/x-modules/tagging/service/pdp-add-to-cart.service.js.map +0 -1
- package/types/composables/use-store.d.ts +0 -10
- package/types/composables/use-store.d.ts.map +0 -1
- package/types/x-modules/tagging/service/pdp-add-to-cart.service.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-scroll.js","sources":["../../../../src/components/scroll/use-scroll.ts"],"sourcesContent":["import { computed, nextTick, onMounted, Ref, ref, SetupContext, watch } from 'vue';\nimport { isArray } from '@empathyco/x-utils';\nimport { XEvent } from '../../wiring/events.types';\nimport { throttle } from '../../utils/throttle';\nimport { use$x } from '../../composables/use-$x';\nimport { ScrollDirection } from './scroll.types';\n\n/**\n * Composable to share Scroll logic.\n *\n * @param props - Composable props.\n * @param context - Component setup context.\n * @param scrollEl - The scrolling container reference.\n * @returns A throttled version of the function to store the scroll data.\n * @public\n */\nexport function useScroll(\n props: {\n /**\n * Distance to the end of the scroll that when reached will emit the\n * `scroll:about-to-end` event.\n *\n * @public\n */\n distanceToBottom: number;\n /**\n * Positive vertical distance to still consider that the element is the first one visible.\n * For example, if set to 100, after scrolling 100 pixels, the first rendered element\n * will still be considered the first one.\n */\n firstElementThresholdPx: number;\n /**\n * Time duration to ignore the subsequent scroll events after an emission.\n * Higher values will decrease events precision but can prevent performance issues.\n *\n * @public\n */\n throttleMs: number;\n /**\n * If true (default), sets the scroll position to the top when certain events are emitted.\n *\n * @public\n */\n resetOnChange: boolean;\n /**\n * List of events that should reset the scroll when emitted.\n *\n * @public\n */\n resetOn: XEvent | XEvent[];\n },\n { emit }: SetupContext<any>,\n scrollEl: Ref<HTMLElement | undefined>\n) {\n /**\n * Property for getting the client height of scroll.\n *\n * @internal\n */\n const clientHeight = ref(0);\n\n /**\n * Property for getting the current position of scroll.\n *\n * @internal\n */\n const currentPosition = ref(0);\n\n /**\n * Property for getting the previous position of scroll.\n *\n * @internal\n */\n const previousPosition = ref(0);\n\n /**\n * Property for getting the scroll height.\n *\n * @internal\n */\n const scrollHeight = ref(0);\n /**\n * Flag to know if the property clientHeight is changing or gets the final value.\n *\n * @internal\n */\n const isClientHeightChanging = ref(false);\n\n /**\n * Property for setting the direction of scroll.\n *\n * @internal\n */\n const scrollDirection: Ref<ScrollDirection> = ref('UP');\n\n /**\n * Restores the clientHeight flag when clientHeight property stops changing.\n * Also sets a new previous position, before update the current one.\n *\n * @internal\n */\n const restoreClientHeightFlag = (): void => {\n isClientHeightChanging.value = false;\n previousPosition.value = currentPosition.value;\n };\n\n const throtteledCall = throttle(restoreClientHeightFlag, 100);\n\n /**\n * Updates scroll related properties.\n *\n * @internal\n */\n const storeScrollData = () => {\n if (scrollEl.value) {\n scrollHeight.value = scrollEl.value.scrollHeight;\n clientHeight.value = scrollEl.value.clientHeight;\n currentPosition.value = scrollEl.value.scrollTop;\n }\n };\n\n /**\n * Throttled version of the function that stores the DOM scroll related properties.\n * The duration of the throttle is configured through the `throttleMs` prop passed as parameter.\n *\n * @returns A throttled version of the function to store the scroll data.\n * @internal\n */\n const throttledStoreScrollData = computed(() => throttle(storeScrollData, props.throttleMs));\n\n /**\n * Returns end position of scroll.\n *\n * @returns A number for knowing end position of scroll.\n * @internal\n */\n const scrollEndPosition = computed(() => scrollHeight.value - clientHeight.value);\n\n /**\n * Returns distance missing to endPosition position.\n *\n * @returns A number for knowing the distance missing to endPosition position.\n * @internal\n */\n const distanceToEnd = computed(() => scrollEndPosition.value - currentPosition.value);\n\n /**\n * Returns `true` when there is no more content to scroll.\n *\n * @returns A boolean for knowing if the user scrolls to the end.\n * @internal\n */\n const hasScrollReachedEnd = computed(() => currentPosition.value === scrollEndPosition.value);\n\n /**\n * Returns `true` when the scroll is at the initial position.\n *\n * @returns A boolean for knowing if the user scrolls to the start.\n * @internal\n */\n const hasScrollReachedStart = computed(() => currentPosition.value === 0);\n\n /**\n * Returns `true` when the amount of pixels scrolled is greater than\n * the `distanceToBottom` prop passed as parameter.\n *\n * @returns A boolean for knowing if the user is about to reaching to the end.\n * @internal\n */\n const hasScrollAlmostReachedEnd = computed(\n () => !hasScrollReachedStart.value && props.distanceToBottom > distanceToEnd.value\n );\n\n onMounted(() => {\n nextTick().then(() => {\n if (!scrollEl.value) {\n // TODO Replace with Empathy's logger\n // eslint-disable-next-line no-console\n console.warn(\n '[useScroll]',\n // eslint-disable-next-line max-len\n 'Components using this composable must pass `scrollEl` as the HTML node that is scrolling.'\n );\n } else {\n storeScrollData();\n }\n });\n });\n\n /**\n * Change the isClientHeightChanging flag when the property clientHeight is changing and\n * calls throttleledCall method.\n *\n * @internal\n */\n watch(\n clientHeight,\n () => {\n isClientHeightChanging.value = true;\n\n throtteledCall();\n },\n { immediate: true }\n );\n\n /**\n * Emits the `scroll` event.\n *\n * @param _newScrollPosition - The new position of scroll.\n * @param oldScrollPosition - The old position of scroll.\n * @internal\n */\n watch(currentPosition, (_newScrollPosition: number, oldScrollPosition: number) => {\n emit('scroll', currentPosition.value);\n previousPosition.value = oldScrollPosition;\n });\n\n /**\n * Sets direction of scroll based in {@link ScrollDirection} when the current position\n * has changed.\n *\n * @internal\n */\n watch(currentPosition, () => {\n if (!isClientHeightChanging.value && currentPosition.value !== previousPosition.value) {\n scrollDirection.value = currentPosition.value > previousPosition.value ? 'DOWN' : 'UP';\n }\n });\n\n /**\n * Emits the 'scroll:almost-at-end' event when the user is about to reach to end.\n *\n * @param isScrollAlmostAtEnd - For knowing if the user is about to reach to end.\n * @internal\n */\n watch(hasScrollReachedStart, (isScrollAtStart: boolean) => {\n emit('scroll:at-start', isScrollAtStart);\n });\n\n /**\n * Sets direction of scroll based in {@link ScrollDirection} when the current position\n * has changed.\n *\n * @internal\n */\n watch(hasScrollAlmostReachedEnd, (isScrollAlmostAtEnd: boolean) => {\n emit('scroll:almost-at-end', isScrollAlmostAtEnd);\n });\n\n /**\n * Emits the 'scroll:at-end' event when the user reaches the end.\n *\n * @param isScrollAtEnd - For knowing if the user reaches at end.\n * @internal\n */\n watch(hasScrollReachedEnd, (isScrollAtEnd: boolean) => {\n emit('scroll:at-end', isScrollAtEnd);\n });\n\n /**\n * Emits the `scroll:direction-change` event when the scrolling direction has changed.\n *\n * @param direction - The new direction of scroll.\n * @internal\n */\n watch(scrollDirection, (direction: ScrollDirection) => {\n if (!isClientHeightChanging.value) {\n emit('scroll:direction-change', direction);\n }\n });\n\n /**\n * Resets the scroll position.\n *\n * @internal\n */\n const $x = use$x();\n const resetOnEvents = isArray(props.resetOn) ? props.resetOn : [props.resetOn];\n resetOnEvents.forEach(event =>\n $x.on(event, false).subscribe(() =>\n nextTick().then(() => {\n if (props.resetOnChange) {\n scrollEl.value?.scrollTo({ top: 0 });\n }\n })\n )\n );\n\n return { throttledStoreScrollData };\n}\n"],"names":[],"mappings":";;;;;AAOA;;;;;;;;AAQG;AACG,SAAU,SAAS,CACvB,KAiCC,EACD,EAAE,IAAI,EAAqB,EAC3B,QAAsC,EAAA;AAEtC;;;;AAIG;AACH,IAAA,MAAM,YAAY,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC;AAE5B;;;;AAIG;AACH,IAAA,MAAM,eAAe,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC;AAE/B;;;;AAIG;AACH,IAAA,MAAM,gBAAgB,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC;AAEhC;;;;AAIG;AACH,IAAA,MAAM,YAAY,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC;AAC5B;;;;AAIG;AACH,IAAA,MAAM,sBAAsB,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC;AAE1C;;;;AAIG;AACH,IAAA,MAAM,eAAe,GAAyB,GAAG,CAAC,IAAI,CAAC,CAAC;AAExD;;;;;AAKG;IACH,MAAM,uBAAuB,GAAG,MAAW;AACzC,QAAA,sBAAsB,CAAC,KAAK,GAAG,KAAK,CAAC;AACrC,QAAA,gBAAgB,CAAC,KAAK,GAAG,eAAe,CAAC,KAAK,CAAC;AACjD,KAAC,CAAC;IAEF,MAAM,cAAc,GAAG,QAAQ,CAAC,uBAAuB,EAAE,GAAG,CAAC,CAAC;AAE9D;;;;AAIG;IACH,MAAM,eAAe,GAAG,MAAK;QAC3B,IAAI,QAAQ,CAAC,KAAK,EAAE;YAClB,YAAY,CAAC,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,YAAY,CAAC;YACjD,YAAY,CAAC,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,YAAY,CAAC;YACjD,eAAe,CAAC,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,SAAS,CAAC;AAClD,SAAA;AACH,KAAC,CAAC;AAEF;;;;;;AAMG;AACH,IAAA,MAAM,wBAAwB,GAAG,QAAQ,CAAC,MAAM,QAAQ,CAAC,eAAe,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC;AAE7F;;;;;AAKG;AACH,IAAA,MAAM,iBAAiB,GAAG,QAAQ,CAAC,MAAM,YAAY,CAAC,KAAK,GAAG,YAAY,CAAC,KAAK,CAAC,CAAC;AAElF;;;;;AAKG;AACH,IAAA,MAAM,aAAa,GAAG,QAAQ,CAAC,MAAM,iBAAiB,CAAC,KAAK,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC;AAEtF;;;;;AAKG;AACH,IAAA,MAAM,mBAAmB,GAAG,QAAQ,CAAC,MAAM,eAAe,CAAC,KAAK,KAAK,iBAAiB,CAAC,KAAK,CAAC,CAAC;AAE9F;;;;;AAKG;AACH,IAAA,MAAM,qBAAqB,GAAG,QAAQ,CAAC,MAAM,eAAe,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC;AAE1E;;;;;;AAMG;IACH,MAAM,yBAAyB,GAAG,QAAQ,CACxC,MAAM,CAAC,qBAAqB,CAAC,KAAK,IAAI,KAAK,CAAC,gBAAgB,GAAG,aAAa,CAAC,KAAK,CACnF,CAAC;IAEF,SAAS,CAAC,MAAK;AACb,QAAA,QAAQ,EAAE,CAAC,IAAI,CAAC,MAAK;AACnB,YAAA,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE;;;gBAGnB,OAAO,CAAC,IAAI,CACV,aAAa;;AAEb,gBAAA,2FAA2F,CAC5F,CAAC;AACH,aAAA;AAAM,iBAAA;AACL,gBAAA,eAAe,EAAE,CAAC;AACnB,aAAA;AACH,SAAC,CAAC,CAAC;AACL,KAAC,CAAC,CAAC;AAEH;;;;;AAKG;AACH,IAAA,KAAK,CACH,YAAY,EACZ,MAAK;AACH,QAAA,sBAAsB,CAAC,KAAK,GAAG,IAAI,CAAC;AAEpC,QAAA,cAAc,EAAE,CAAC;AACnB,KAAC,EACD,EAAE,SAAS,EAAE,IAAI,EAAE,CACpB,CAAC;AAEF;;;;;;AAMG;IACH,KAAK,CAAC,eAAe,EAAE,CAAC,kBAA0B,EAAE,iBAAyB,KAAI;AAC/E,QAAA,IAAI,CAAC,QAAQ,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC;AACtC,QAAA,gBAAgB,CAAC,KAAK,GAAG,iBAAiB,CAAC;AAC7C,KAAC,CAAC,CAAC;AAEH;;;;;AAKG;AACH,IAAA,KAAK,CAAC,eAAe,EAAE,MAAK;AAC1B,QAAA,IAAI,CAAC,sBAAsB,CAAC,KAAK,IAAI,eAAe,CAAC,KAAK,KAAK,gBAAgB,CAAC,KAAK,EAAE;AACrF,YAAA,eAAe,CAAC,KAAK,GAAG,eAAe,CAAC,KAAK,GAAG,gBAAgB,CAAC,KAAK,GAAG,MAAM,GAAG,IAAI,CAAC;AACxF,SAAA;AACH,KAAC,CAAC,CAAC;AAEH;;;;;AAKG;AACH,IAAA,KAAK,CAAC,qBAAqB,EAAE,CAAC,eAAwB,KAAI;AACxD,QAAA,IAAI,CAAC,iBAAiB,EAAE,eAAe,CAAC,CAAC;AAC3C,KAAC,CAAC,CAAC;AAEH;;;;;AAKG;AACH,IAAA,KAAK,CAAC,yBAAyB,EAAE,CAAC,mBAA4B,KAAI;AAChE,QAAA,IAAI,CAAC,sBAAsB,EAAE,mBAAmB,CAAC,CAAC;AACpD,KAAC,CAAC,CAAC;AAEH;;;;;AAKG;AACH,IAAA,KAAK,CAAC,mBAAmB,EAAE,CAAC,aAAsB,KAAI;AACpD,QAAA,IAAI,CAAC,eAAe,EAAE,aAAa,CAAC,CAAC;AACvC,KAAC,CAAC,CAAC;AAEH;;;;;AAKG;AACH,IAAA,KAAK,CAAC,eAAe,EAAE,CAAC,SAA0B,KAAI;AACpD,QAAA,IAAI,CAAC,sBAAsB,CAAC,KAAK,EAAE;AACjC,YAAA,IAAI,CAAC,yBAAyB,EAAE,SAAS,CAAC,CAAC;AAC5C,SAAA;AACH,KAAC,CAAC,CAAC;AAEH;;;;AAIG;AACH,IAAA,MAAM,EAAE,GAAG,KAAK,EAAE,CAAC;IACnB,MAAM,aAAa,GAAG,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,OAAO,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAC/E,aAAa,CAAC,OAAO,CAAC,KAAK,IACzB,EAAE,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,SAAS,CAAC,MAC5B,QAAQ,EAAE,CAAC,IAAI,CAAC,MAAK;QACnB,IAAI,KAAK,CAAC,aAAa,EAAE;YACvB,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC;AACtC,SAAA;KACF,CAAC,CACH,CACF,CAAC;IAEF,OAAO,EAAE,wBAAwB,EAAE,CAAC;AACtC;;;;"}
|
|
1
|
+
{"version":3,"file":"use-scroll.js","sources":["../../../../src/components/scroll/use-scroll.ts"],"sourcesContent":["import type { Ref, SetupContext } from 'vue'\nimport type { XEvent } from '../../wiring/events.types'\nimport type { ScrollDirection } from './scroll.types'\nimport { isArray } from '@empathyco/x-utils'\nimport { computed, nextTick, onMounted, ref, watch } from 'vue'\nimport { use$x } from '../../composables/use-$x'\nimport { throttle } from '../../utils/throttle'\n\n/**\n * Composable to share Scroll logic.\n *\n * @param props - Composable props.\n * @param context - Component setup context.\n * @param scrollEl - The scrolling container reference.\n * @returns A throttled version of the function to store the scroll data.\n * @public\n */\nexport function useScroll(\n props: {\n /**\n * Distance to the end of the scroll that when reached will emit the\n * `scroll:about-to-end` event.\n *\n * @public\n */\n distanceToBottom: number\n /**\n * Positive vertical distance to still consider that the element is the first one visible.\n * For example, if set to 100, after scrolling 100 pixels, the first rendered element\n * will still be considered the first one.\n */\n firstElementThresholdPx: number\n /**\n * Time duration to ignore the subsequent scroll events after an emission.\n * Higher values will decrease events precision but can prevent performance issues.\n *\n * @public\n */\n throttleMs: number\n /**\n * If true (default), sets the scroll position to the top when certain events are emitted.\n *\n * @public\n */\n resetOnChange: boolean\n /**\n * List of events that should reset the scroll when emitted.\n *\n * @public\n */\n resetOn: XEvent | XEvent[]\n },\n { emit }: SetupContext<any>,\n scrollEl: Ref<HTMLElement | undefined>,\n) {\n /**\n * Property for getting the client height of scroll.\n *\n * @internal\n */\n const clientHeight = ref(0)\n\n /**\n * Property for getting the current position of scroll.\n *\n * @internal\n */\n const currentPosition = ref(0)\n\n /**\n * Property for getting the previous position of scroll.\n *\n * @internal\n */\n const previousPosition = ref(0)\n\n /**\n * Property for getting the scroll height.\n *\n * @internal\n */\n const scrollHeight = ref(0)\n /**\n * Flag to know if the property clientHeight is changing or gets the final value.\n *\n * @internal\n */\n const isClientHeightChanging = ref(false)\n\n /**\n * Property for setting the direction of scroll.\n *\n * @internal\n */\n const scrollDirection: Ref<ScrollDirection> = ref('UP')\n\n /**\n * Restores the clientHeight flag when clientHeight property stops changing.\n * Also sets a new previous position, before update the current one.\n *\n * @internal\n */\n const restoreClientHeightFlag = (): void => {\n isClientHeightChanging.value = false\n previousPosition.value = currentPosition.value\n }\n\n const throtteledCall = throttle(restoreClientHeightFlag, 100)\n\n /**\n * Updates scroll related properties.\n *\n * @internal\n */\n const storeScrollData = () => {\n if (scrollEl.value) {\n scrollHeight.value = scrollEl.value.scrollHeight\n clientHeight.value = scrollEl.value.clientHeight\n currentPosition.value = scrollEl.value.scrollTop\n }\n }\n\n /**\n * Throttled version of the function that stores the DOM scroll related properties.\n * The duration of the throttle is configured through the `throttleMs` prop passed as parameter.\n *\n * @returns A throttled version of the function to store the scroll data.\n * @internal\n */\n const throttledStoreScrollData = computed(() => throttle(storeScrollData, props.throttleMs))\n\n /**\n * Returns end position of scroll.\n *\n * @returns A number for knowing end position of scroll.\n * @internal\n */\n const scrollEndPosition = computed(() => scrollHeight.value - clientHeight.value)\n\n /**\n * Returns distance missing to endPosition position.\n *\n * @returns A number for knowing the distance missing to endPosition position.\n * @internal\n */\n const distanceToEnd = computed(() => scrollEndPosition.value - currentPosition.value)\n\n /**\n * Returns `true` when there is no more content to scroll.\n *\n * @returns A boolean for knowing if the user scrolls to the end.\n * @internal\n */\n const hasScrollReachedEnd = computed(() => currentPosition.value === scrollEndPosition.value)\n\n /**\n * Returns `true` when the scroll is at the initial position.\n *\n * @returns A boolean for knowing if the user scrolls to the start.\n * @internal\n */\n const hasScrollReachedStart = computed(() => currentPosition.value === 0)\n\n /**\n * Returns `true` when the amount of pixels scrolled is greater than\n * the `distanceToBottom` prop passed as parameter.\n *\n * @returns A boolean for knowing if the user is about to reaching to the end.\n * @internal\n */\n const hasScrollAlmostReachedEnd = computed(\n () => !hasScrollReachedStart.value && props.distanceToBottom > distanceToEnd.value,\n )\n\n onMounted(() => {\n // eslint-disable-next-line ts/no-floating-promises\n nextTick().then(() => {\n if (!scrollEl.value) {\n console.warn(\n '[useScroll]',\n 'Components using this composable must pass `scrollEl` as the HTML node that is scrolling.',\n )\n } else {\n storeScrollData()\n }\n })\n })\n\n /**\n * Change the isClientHeightChanging flag when the property clientHeight is changing and\n * calls throttleledCall method.\n *\n * @internal\n */\n watch(\n clientHeight,\n () => {\n isClientHeightChanging.value = true\n\n throtteledCall()\n },\n { immediate: true },\n )\n\n /**\n * Emits the `scroll` event.\n *\n * @param _newScrollPosition - The new position of scroll.\n * @param oldScrollPosition - The old position of scroll.\n * @internal\n */\n watch(currentPosition, (_newScrollPosition: number, oldScrollPosition: number) => {\n emit('scroll', currentPosition.value)\n previousPosition.value = oldScrollPosition\n })\n\n /**\n * Sets direction of scroll based in {@link ScrollDirection} when the current position\n * has changed.\n *\n * @internal\n */\n watch(currentPosition, () => {\n if (!isClientHeightChanging.value && currentPosition.value !== previousPosition.value) {\n scrollDirection.value = currentPosition.value > previousPosition.value ? 'DOWN' : 'UP'\n }\n })\n\n /**\n * Emits the 'scroll:almost-at-end' event when the user is about to reach to end.\n *\n * @param isScrollAlmostAtEnd - For knowing if the user is about to reach to end.\n * @internal\n */\n watch(hasScrollReachedStart, (isScrollAtStart: boolean) => {\n emit('scroll:at-start', isScrollAtStart)\n })\n\n /**\n * Sets direction of scroll based in {@link ScrollDirection} when the current position\n * has changed.\n *\n * @internal\n */\n watch(hasScrollAlmostReachedEnd, (isScrollAlmostAtEnd: boolean) => {\n emit('scroll:almost-at-end', isScrollAlmostAtEnd)\n })\n\n /**\n * Emits the 'scroll:at-end' event when the user reaches the end.\n *\n * @param isScrollAtEnd - For knowing if the user reaches at end.\n * @internal\n */\n watch(hasScrollReachedEnd, (isScrollAtEnd: boolean) => {\n emit('scroll:at-end', isScrollAtEnd)\n })\n\n /**\n * Emits the `scroll:direction-change` event when the scrolling direction has changed.\n *\n * @param direction - The new direction of scroll.\n * @internal\n */\n watch(scrollDirection, (direction: ScrollDirection) => {\n if (!isClientHeightChanging.value) {\n emit('scroll:direction-change', direction)\n }\n })\n\n /**\n * Resets the scroll position.\n *\n * @internal\n */\n const $x = use$x()\n const resetOnEvents = isArray(props.resetOn) ? props.resetOn : [props.resetOn]\n resetOnEvents.forEach(event =>\n // eslint-disable-next-line ts/no-misused-promises\n $x.on(event, false).subscribe(async () =>\n nextTick().then(() => {\n if (props.resetOnChange) {\n scrollEl.value?.scrollTo({ top: 0 })\n }\n }),\n ),\n )\n\n return { throttledStoreScrollData }\n}\n"],"names":[],"mappings":";;;;;AAQA;;;;;;;;AAQG;AACG,SAAU,SAAS,CACvB,KAiCC,EACD,EAAE,IAAI,EAAqB,EAC3B,QAAsC,EAAA;AAEtC;;;;AAIG;AACH,IAAA,MAAM,YAAY,GAAG,GAAG,CAAC,CAAC,CAAC,CAAA;AAE3B;;;;AAIG;AACH,IAAA,MAAM,eAAe,GAAG,GAAG,CAAC,CAAC,CAAC,CAAA;AAE9B;;;;AAIG;AACH,IAAA,MAAM,gBAAgB,GAAG,GAAG,CAAC,CAAC,CAAC,CAAA;AAE/B;;;;AAIG;AACH,IAAA,MAAM,YAAY,GAAG,GAAG,CAAC,CAAC,CAAC,CAAA;AAC3B;;;;AAIG;AACH,IAAA,MAAM,sBAAsB,GAAG,GAAG,CAAC,KAAK,CAAC,CAAA;AAEzC;;;;AAIG;AACH,IAAA,MAAM,eAAe,GAAyB,GAAG,CAAC,IAAI,CAAC,CAAA;AAEvD;;;;;AAKG;IACH,MAAM,uBAAuB,GAAG,MAAW;AACzC,QAAA,sBAAsB,CAAC,KAAK,GAAG,KAAK,CAAA;AACpC,QAAA,gBAAgB,CAAC,KAAK,GAAG,eAAe,CAAC,KAAK,CAAA;AAChD,KAAC,CAAA;IAED,MAAM,cAAc,GAAG,QAAQ,CAAC,uBAAuB,EAAE,GAAG,CAAC,CAAA;AAE7D;;;;AAIG;IACH,MAAM,eAAe,GAAG,MAAK;AAC3B,QAAA,IAAI,QAAQ,CAAC,KAAK,EAAE;YAClB,YAAY,CAAC,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,YAAY,CAAA;YAChD,YAAY,CAAC,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,YAAY,CAAA;YAChD,eAAe,CAAC,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,SAAS,CAAA;SACjD;AACH,KAAC,CAAA;AAED;;;;;;AAMG;AACH,IAAA,MAAM,wBAAwB,GAAG,QAAQ,CAAC,MAAM,QAAQ,CAAC,eAAe,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC,CAAA;AAE5F;;;;;AAKG;AACH,IAAA,MAAM,iBAAiB,GAAG,QAAQ,CAAC,MAAM,YAAY,CAAC,KAAK,GAAG,YAAY,CAAC,KAAK,CAAC,CAAA;AAEjF;;;;;AAKG;AACH,IAAA,MAAM,aAAa,GAAG,QAAQ,CAAC,MAAM,iBAAiB,CAAC,KAAK,GAAG,eAAe,CAAC,KAAK,CAAC,CAAA;AAErF;;;;;AAKG;AACH,IAAA,MAAM,mBAAmB,GAAG,QAAQ,CAAC,MAAM,eAAe,CAAC,KAAK,KAAK,iBAAiB,CAAC,KAAK,CAAC,CAAA;AAE7F;;;;;AAKG;AACH,IAAA,MAAM,qBAAqB,GAAG,QAAQ,CAAC,MAAM,eAAe,CAAC,KAAK,KAAK,CAAC,CAAC,CAAA;AAEzE;;;;;;AAMG;IACH,MAAM,yBAAyB,GAAG,QAAQ,CACxC,MAAM,CAAC,qBAAqB,CAAC,KAAK,IAAI,KAAK,CAAC,gBAAgB,GAAG,aAAa,CAAC,KAAK,CACnF,CAAA;IAED,SAAS,CAAC,MAAK;;AAEb,QAAA,QAAQ,EAAE,CAAC,IAAI,CAAC,MAAK;AACnB,YAAA,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE;AACnB,gBAAA,OAAO,CAAC,IAAI,CACV,aAAa,EACb,2FAA2F,CAC5F,CAAA;aACF;iBAAM;AACL,gBAAA,eAAe,EAAE,CAAA;aAClB;AACH,SAAC,CAAC,CAAA;AACJ,KAAC,CAAC,CAAA;AAEF;;;;;AAKG;AACH,IAAA,KAAK,CACH,YAAY,EACZ,MAAK;AACH,QAAA,sBAAsB,CAAC,KAAK,GAAG,IAAI,CAAA;AAEnC,QAAA,cAAc,EAAE,CAAA;AAClB,KAAC,EACD,EAAE,SAAS,EAAE,IAAI,EAAE,CACpB,CAAA;AAED;;;;;;AAMG;IACH,KAAK,CAAC,eAAe,EAAE,CAAC,kBAA0B,EAAE,iBAAyB,KAAI;AAC/E,QAAA,IAAI,CAAC,QAAQ,EAAE,eAAe,CAAC,KAAK,CAAC,CAAA;AACrC,QAAA,gBAAgB,CAAC,KAAK,GAAG,iBAAiB,CAAA;AAC5C,KAAC,CAAC,CAAA;AAEF;;;;;AAKG;AACH,IAAA,KAAK,CAAC,eAAe,EAAE,MAAK;AAC1B,QAAA,IAAI,CAAC,sBAAsB,CAAC,KAAK,IAAI,eAAe,CAAC,KAAK,KAAK,gBAAgB,CAAC,KAAK,EAAE;AACrF,YAAA,eAAe,CAAC,KAAK,GAAG,eAAe,CAAC,KAAK,GAAG,gBAAgB,CAAC,KAAK,GAAG,MAAM,GAAG,IAAI,CAAA;SACvF;AACH,KAAC,CAAC,CAAA;AAEF;;;;;AAKG;AACH,IAAA,KAAK,CAAC,qBAAqB,EAAE,CAAC,eAAwB,KAAI;AACxD,QAAA,IAAI,CAAC,iBAAiB,EAAE,eAAe,CAAC,CAAA;AAC1C,KAAC,CAAC,CAAA;AAEF;;;;;AAKG;AACH,IAAA,KAAK,CAAC,yBAAyB,EAAE,CAAC,mBAA4B,KAAI;AAChE,QAAA,IAAI,CAAC,sBAAsB,EAAE,mBAAmB,CAAC,CAAA;AACnD,KAAC,CAAC,CAAA;AAEF;;;;;AAKG;AACH,IAAA,KAAK,CAAC,mBAAmB,EAAE,CAAC,aAAsB,KAAI;AACpD,QAAA,IAAI,CAAC,eAAe,EAAE,aAAa,CAAC,CAAA;AACtC,KAAC,CAAC,CAAA;AAEF;;;;;AAKG;AACH,IAAA,KAAK,CAAC,eAAe,EAAE,CAAC,SAA0B,KAAI;AACpD,QAAA,IAAI,CAAC,sBAAsB,CAAC,KAAK,EAAE;AACjC,YAAA,IAAI,CAAC,yBAAyB,EAAE,SAAS,CAAC,CAAA;SAC3C;AACH,KAAC,CAAC,CAAA;AAEF;;;;AAIG;AACH,IAAA,MAAM,EAAE,GAAG,KAAK,EAAE,CAAA;IAClB,MAAM,aAAa,GAAG,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,OAAO,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA;AAC9E,IAAA,aAAa,CAAC,OAAO,CAAC,KAAK;;IAEzB,EAAE,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,SAAS,CAAC,YAC5B,QAAQ,EAAE,CAAC,IAAI,CAAC,MAAK;AACnB,QAAA,IAAI,KAAK,CAAC,aAAa,EAAE;YACvB,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC,CAAA;SACrC;KACF,CAAC,CACH,CACF,CAAA;IAED,OAAO,EAAE,wBAAwB,EAAE,CAAA;AACrC;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from './sliding-panel.vue2.js';
|
|
2
|
-
import { openBlock, createElementBlock, normalizeClass,
|
|
2
|
+
import { openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, Fragment, createTextVNode, createCommentVNode } from 'vue';
|
|
3
3
|
import './sliding-panel.vue3.js';
|
|
4
4
|
import _export_sfc from '../_virtual/_plugin-vue_export-helper.js';
|
|
5
5
|
|
|
@@ -12,56 +12,60 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12
12
|
"data-test": "sliding-panel"
|
|
13
13
|
},
|
|
14
14
|
[
|
|
15
|
-
_ctx.showButtons ? (openBlock(), createElementBlock(
|
|
16
|
-
"button",
|
|
17
|
-
{
|
|
18
|
-
key: 0,
|
|
19
|
-
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.scrollLeft && _ctx.scrollLeft(...args)),
|
|
20
|
-
class: normalizeClass(["x-sliding-panel__button x-button x-sliding-panel-button-left", _ctx.buttonClass]),
|
|
21
|
-
"data-test": "sliding-panel-left-button"
|
|
22
|
-
},
|
|
23
|
-
[
|
|
24
|
-
createCommentVNode(" @slot Left button content "),
|
|
25
|
-
renderSlot(_ctx.$slots, "sliding-panel-left-button", {}, () => [
|
|
26
|
-
createTextVNode("\u1438")
|
|
27
|
-
], true)
|
|
28
|
-
],
|
|
29
|
-
2
|
|
30
|
-
/* CLASS */
|
|
31
|
-
)) : createCommentVNode("v-if", true),
|
|
32
15
|
createElementVNode(
|
|
33
16
|
"div",
|
|
34
17
|
{
|
|
35
18
|
ref: "scrollContainerRef",
|
|
36
|
-
onScroll: _cache[1] || (_cache[1] = (...args) => _ctx.debouncedUpdateScroll && _ctx.debouncedUpdateScroll(...args)),
|
|
37
|
-
onTransitionend: _cache[2] || (_cache[2] = (...args) => _ctx.debouncedUpdateScroll && _ctx.debouncedUpdateScroll(...args)),
|
|
38
|
-
onAnimationend: _cache[3] || (_cache[3] = (...args) => _ctx.debouncedUpdateScroll && _ctx.debouncedUpdateScroll(...args)),
|
|
39
19
|
class: normalizeClass([_ctx.scrollContainerClass, "x-sliding-panel__scroll"]),
|
|
40
20
|
"data-test": "sliding-panel-scroll"
|
|
41
21
|
},
|
|
42
22
|
[
|
|
43
|
-
createCommentVNode(" @slot (Required) Sliding panel content "),
|
|
44
23
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
45
24
|
],
|
|
46
|
-
|
|
47
|
-
/* CLASS
|
|
25
|
+
2
|
|
26
|
+
/* CLASS */
|
|
48
27
|
),
|
|
28
|
+
renderSlot(_ctx.$slots, "sliding-panel-addons", {
|
|
29
|
+
arrivedState: _ctx.arrivedState,
|
|
30
|
+
scroll: _ctx.xScroll
|
|
31
|
+
}, void 0, true),
|
|
49
32
|
_ctx.showButtons ? (openBlock(), createElementBlock(
|
|
50
|
-
|
|
51
|
-
{
|
|
52
|
-
key: 1,
|
|
53
|
-
onClick: _cache[4] || (_cache[4] = (...args) => _ctx.scrollRight && _ctx.scrollRight(...args)),
|
|
54
|
-
class: normalizeClass(["x-sliding-panel__button x-button x-sliding-panel-button-right", _ctx.buttonClass]),
|
|
55
|
-
"data-test": "sliding-panel-right-button"
|
|
56
|
-
},
|
|
33
|
+
Fragment,
|
|
34
|
+
{ key: 0 },
|
|
57
35
|
[
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
36
|
+
createElementVNode(
|
|
37
|
+
"button",
|
|
38
|
+
{
|
|
39
|
+
class: normalizeClass(["x-sliding-panel__button x-button x-sliding-panel-button-left", _ctx.buttonClass]),
|
|
40
|
+
"data-test": "sliding-panel-left-button",
|
|
41
|
+
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.xScroll -= _ctx.slotContainerWidth * _ctx.scrollFactor)
|
|
42
|
+
},
|
|
43
|
+
[
|
|
44
|
+
renderSlot(_ctx.$slots, "sliding-panel-left-button", {}, () => [
|
|
45
|
+
createTextVNode("ᐸ")
|
|
46
|
+
], true)
|
|
47
|
+
],
|
|
48
|
+
2
|
|
49
|
+
/* CLASS */
|
|
50
|
+
),
|
|
51
|
+
createElementVNode(
|
|
52
|
+
"button",
|
|
53
|
+
{
|
|
54
|
+
class: normalizeClass(["x-sliding-panel__button x-button x-sliding-panel-button-right", _ctx.buttonClass]),
|
|
55
|
+
"data-test": "sliding-panel-right-button",
|
|
56
|
+
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.xScroll += _ctx.slotContainerWidth * _ctx.scrollFactor)
|
|
57
|
+
},
|
|
58
|
+
[
|
|
59
|
+
renderSlot(_ctx.$slots, "sliding-panel-right-button", {}, () => [
|
|
60
|
+
createTextVNode("ᐳ")
|
|
61
|
+
], true)
|
|
62
|
+
],
|
|
63
|
+
2
|
|
64
|
+
/* CLASS */
|
|
65
|
+
)
|
|
62
66
|
],
|
|
63
|
-
|
|
64
|
-
/*
|
|
67
|
+
64
|
|
68
|
+
/* STABLE_FRAGMENT */
|
|
65
69
|
)) : createCommentVNode("v-if", true)
|
|
66
70
|
],
|
|
67
71
|
2
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sliding-panel.vue.js","sources":["../../../src/components/sliding-panel.vue"],"sourcesContent":["<template>\n <div v-if=\"slots.default\" class=\"x-sliding-panel\" :class=\"cssClasses\" data-test=\"sliding-panel\">\n <button\n v-if=\"showButtons\"\n @click=\"scrollLeft\"\n class=\"x-sliding-panel__button x-button x-sliding-panel-button-left\"\n :class=\"buttonClass\"\n data-test=\"sliding-panel-left-button\"\n >\n <!-- @slot Left button content -->\n <slot name=\"sliding-panel-left-button\">ᐸ</slot>\n </button>\n <div\n ref=\"scrollContainerRef\"\n @scroll=\"debouncedUpdateScroll\"\n @transitionend=\"debouncedUpdateScroll\"\n @animationend=\"debouncedUpdateScroll\"\n :class=\"scrollContainerClass\"\n class=\"x-sliding-panel__scroll\"\n data-test=\"sliding-panel-scroll\"\n >\n <!-- @slot (Required) Sliding panel content -->\n <slot />\n </div>\n <button\n v-if=\"showButtons\"\n @click=\"scrollRight\"\n class=\"x-sliding-panel__button x-button x-sliding-panel-button-right\"\n :class=\"buttonClass\"\n data-test=\"sliding-panel-right-button\"\n >\n <!-- @slot Right button content -->\n <slot name=\"sliding-panel-right-button\">ᐳ</slot>\n </button>\n </div>\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent, onBeforeUnmount, onMounted, ref, watch } from 'vue';\n import { useDebounce } from '../composables/use-debounce';\n\n /**\n * This component allows for any other component or element inside it to be horizontally\n * navigable. It also implements customizable buttons as well as other minor customizations to its\n * general behavior.\n *\n * Additionally, this component exposes the following props to modify the classes of the\n * elements: `buttonClass`.\n *\n * @public\n */\n export default defineComponent({\n name: 'SlidingPanel',\n props: {\n /**\n * Scroll factor that will dictate how much the scroll moves when pressing a navigation button.\n */\n scrollFactor: {\n type: Number,\n default: 0.7\n },\n /** Would make the navigation buttons visible when they're needed or always hide them. */\n showButtons: {\n type: Boolean,\n default: true\n },\n /**\n * When true, whenever the DOM content in the sliding panel slot changes, it will reset\n * the scroll position to 0.\n */\n resetOnContentChange: {\n type: Boolean,\n default: true\n },\n buttonClass: String,\n scrollContainerClass: String\n },\n setup(props, { slots }) {\n /** Indicates if the scroll is at the start of the sliding panel. */\n const isScrollAtStart = ref(true);\n /** Indicates if the scroll is at the end of the sliding panel. */\n const isScrollAtEnd = ref(true);\n const scrollContainerRef = ref<HTMLDivElement>();\n\n /**\n * Updates the values of the scroll positions to show or hide the buttons depending on it.\n *\n * @remarks The 2px extra is to fix some cases in some resolutions where the scroll + client\n * size is less than the scroll width even when the scroll is at the end.\n */\n function updateScrollPosition() {\n if (scrollContainerRef.value) {\n const { scrollLeft, clientWidth, scrollWidth } = scrollContainerRef.value;\n isScrollAtStart.value = !scrollLeft;\n isScrollAtEnd.value = scrollLeft + clientWidth + 2 >= scrollWidth;\n }\n }\n\n /**\n * Debounced version of the {@link SlidingPanel.updateScrollPosition} method.\n */\n const debouncedUpdateScroll = useDebounce(updateScrollPosition, 50, { leading: true });\n\n /**\n * Resets the scroll and updates the values of the scroll for the buttons to react.\n */\n const debouncedRestoreAndUpdateScroll = useDebounce(\n () => {\n scrollContainerRef.value!.scroll({ left: 0, behavior: 'smooth' });\n updateScrollPosition();\n },\n 50,\n { leading: true }\n );\n\n /**\n * Scrolls the wrapper element towards the provided scroll value.\n *\n * @param scrollValue - The value the scroll will go towards.\n */\n function scrollTo(scrollValue: number) {\n scrollContainerRef.value!.scrollBy({\n left: scrollValue * props.scrollFactor,\n behavior: 'smooth'\n });\n }\n\n /** Scrolls the wrapper element to the left. */\n function scrollLeft() {\n scrollTo(-scrollContainerRef.value!.clientWidth);\n }\n\n /** Scrolls the wrapper element to the right. */\n function scrollRight() {\n scrollTo(scrollContainerRef.value!.clientWidth);\n }\n\n /** CSS classes to apply based on the scroll position. */\n const cssClasses = computed(() => ({\n 'x-sliding-panel-at-start': isScrollAtStart.value,\n 'x-sliding-panel-at-end': isScrollAtEnd.value\n }));\n\n let resizeObserver: ResizeObserver;\n let contentChangedObserver: MutationObserver;\n\n /**\n * Initialises browser platform code:\n * - Creates a mutation observer to detect content changes and reset scroll position.\n * - Stores initial size and scroll position values.\n */\n onMounted(() => {\n resizeObserver = new ResizeObserver(debouncedUpdateScroll);\n resizeObserver.observe(scrollContainerRef.value!);\n contentChangedObserver = new MutationObserver(debouncedRestoreAndUpdateScroll);\n\n watch(\n () => props.resetOnContentChange,\n shouldReset => {\n if (shouldReset) {\n contentChangedObserver.observe(scrollContainerRef.value!, {\n subtree: true,\n childList: true,\n attributes: false,\n characterData: false\n });\n } else {\n contentChangedObserver.disconnect();\n }\n },\n { immediate: true }\n );\n\n updateScrollPosition();\n });\n\n onBeforeUnmount(() => {\n contentChangedObserver.disconnect();\n resizeObserver.disconnect();\n });\n\n return {\n cssClasses,\n debouncedUpdateScroll,\n scrollContainerRef,\n scrollLeft,\n scrollRight,\n slots\n };\n }\n });\n</script>\n\n<style lang=\"css\" scoped>\n .x-sliding-panel {\n align-items: center;\n display: flex;\n flex-flow: row nowrap;\n position: relative;\n }\n\n .x-sliding-panel__button {\n opacity: 0;\n pointer-events: none;\n position: absolute;\n transition: all ease-out 0.2s;\n z-index: 2; /* To overlay the design system gradient with z-index:1 */\n }\n .x-sliding-panel-button-left {\n left: 0;\n }\n .x-sliding-panel-button-right {\n right: 0;\n }\n\n .x-sliding-panel__scroll {\n display: flex;\n flex: 100%;\n flex-flow: row nowrap;\n overflow-x: auto;\n overflow-y: hidden;\n scrollbar-width: none; /* Firefox */\n -ms-overflow-style: none; /* IE */\n }\n\n /* Chrome, Edge & Safari */\n .x-sliding-panel__scroll::-webkit-scrollbar {\n display: none;\n }\n\n .x-sliding-panel__scroll > * {\n flex: 0 0 auto;\n }\n\n /* prettier-ignore */\n .x-sliding-panel:not(.x-sliding-panel-show-buttons-on-hover):not(.x-sliding-panel-at-start) .x-sliding-panel-button-left {\n opacity: 1;\n pointer-events: all;\n }\n\n /* prettier-ignore */\n .x-sliding-panel:not(.x-sliding-panel-show-buttons-on-hover):not(.x-sliding-panel-at-end) .x-sliding-panel-button-right {\n opacity: 1;\n pointer-events: all;\n }\n</style>\n\n<docs lang=\"mdx\">\n## Events\n\nThis component emits no events.\n\n## See it in action\n\nSimplest implementation of the component, just a list-based component inside its slot.\n\n```vue\n<template>\n <SlidingPanel>\n <div class=\"item\">Item 1</div>\n <div class=\"item\">Item 2</div>\n <div class=\"item\">Item 3</div>\n <div class=\"item\">Item 4</div>\n </SlidingPanel>\n</template>\n\n<script>\n import { SlidingPanel } from '@empathyco/x-components';\n\n export default {\n name: 'SlidingPanelDemo',\n components: {\n SlidingPanel\n }\n };\n</script>\n\n<style>\n .x-sliding-panel {\n width: 200px;\n }\n\n .item {\n display: inline-block;\n width: 100px;\n }\n</style>\n```\n\n### Play with props\n\n#### Modifying scroll buttons travel distance\n\nEdit how much the scroll travels when navigating with the buttons by changing the `scrollFactor`\nprop.\n\n```vue\n<template>\n <SlidingPanel :scrollFactor=\"1.5\">\n <div class=\"item\">Item 1</div>\n <div class=\"item\">Item 2</div>\n <div class=\"item\">Item 3</div>\n <div class=\"item\">Item 4</div>\n </SlidingPanel>\n</template>\n\n<script>\n import { SlidingPanel } from '@empathyco/x-components';\n\n export default {\n name: 'SlidingPanelDemo',\n components: {\n SlidingPanel\n }\n };\n</script>\n\n<style>\n .x-sliding-panel {\n width: 200px;\n }\n\n .item {\n display: inline-block;\n width: 100px;\n }\n</style>\n```\n\n#### Hiding scroll buttons\n\nHide the navigational buttons completely by setting the `showButtons` prop to `false`. This is\nintended to be used when other scrolling options are available, like in mobile, where you can scroll\njust by swiping.\n\n```vue\n<template>\n <SlidingPanel :showButtons=\"false\">\n <div class=\"item\">Item 1</div>\n <div class=\"item\">Item 2</div>\n <div class=\"item\">Item 3</div>\n <div class=\"item\">Item 4</div>\n </SlidingPanel>\n</template>\n\n<script>\n import { SlidingPanel } from '@empathyco/x-components';\n\n export default {\n name: 'SlidingPanelDemo',\n components: {\n SlidingPanel\n }\n };\n</script>\n\n<style>\n .x-sliding-panel {\n width: 200px;\n }\n\n .item {\n display: inline-block;\n width: 100px;\n }\n</style>\n```\n\n#### Customizing the content with classes\n\nThe `buttonClass` prop can be used to add classes to the buttons.\n\nThe `scrollContainerClass` prop can be used to add classes to the scroll content.\n\n```vue\n<template>\n <SlidingPanel buttonClass=\"x-button--round\" scrollContainerClass=\"x-sliding-panel-fade\">\n <div class=\"item\">Item 1</div>\n <div class=\"item\">Item 2</div>\n <div class=\"item\">Item 3</div>\n <div class=\"item\">Item 4</div>\n </SlidingPanel>\n</template>\n\n<script>\n import { SlidingPanel } from '@empathyco/x-components';\n\n export default {\n name: 'SlidingPanelDemo',\n components: {\n SlidingPanel\n }\n };\n</script>\n\n<style>\n .x-sliding-panel {\n width: 200px;\n }\n\n .item {\n display: inline-block;\n width: 100px;\n }\n</style>\n```\n\n#### Disabling reset the scroll when content changes\n\nBy default, whenever the content of the sliding panel changes, it auto resets its scroll position.\nYou can disable this behavior setting the `resetOnContentChange` prop to `false`.\n\n```vue\n<template>\n <div>\n <button @click=\"items++\">Add item</button>\n <label>\n <input type=\"checkbox\" v-model=\"resetOnContentChange\" />\n Reset content onchange\n </label>\n <SlidingPanel :resetOnContentChange=\"resetOnContentChange\">\n <div class=\"item\" v-for=\"item in items\" :key=\"item\">Item {{ item }}</div>\n </SlidingPanel>\n </div>\n</template>\n\n<script>\n import { SlidingPanel } from '@empathyco/x-components';\n\n export default {\n name: 'SlidingPanelDemo',\n components: {\n SlidingPanel\n },\n data() {\n return {\n items: 4,\n resetOnContentChange: false\n };\n }\n };\n</script>\n\n<style>\n .x-sliding-panel {\n width: 200px;\n }\n\n .item {\n display: inline-block;\n width: 100px;\n }\n</style>\n```\n\n## Extending the component\n\n### Overriding Button content\n\nBy default the buttons show an arrow depicting the direction the scroll would go to when clicked,\nbut this content can be customized with anything, from characters to SVG and images.\n\n```vue\n<template>\n <SlidingPanel>\n <template #sliding-panel-left-button>Left</template>\n <template #default>\n <div class=\"item\">Item 1</div>\n <div class=\"item\">Item 2</div>\n <div class=\"item\">Item 3</div>\n <div class=\"item\">Item 4</div>\n </template>\n <template #sliding-panel-right-button>Right</template>\n </SlidingPanel>\n</template>\n\n<script>\n import { SlidingPanel } from '@empathyco/x-components';\n\n export default {\n name: 'SlidingPanelDemo',\n components: {\n SlidingPanel\n }\n };\n</script>\n\n<style>\n .x-sliding-panel {\n width: 200px;\n }\n\n .item {\n display: inline-block;\n width: 100px;\n }\n</style>\n```\n</docs>\n"],"names":["_openBlock","_createElementBlock","_normalizeClass","showButtons","_createCommentVNode","_renderSlot","_createElementVNode","scrollContainerClass"],"mappings":";;;;;qBACE,IAiCM,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,KAAA,EAAA,QAAA,EAAA;AAlCR,EAAA,OAAA,IAAA,CAAA,KAAA,CAAA,OAAA,IAAAA,SAAA,EAAA,EAAAC,kBAAA;AAAA,IACkC,KAAA;AAAA,IAAA;AAAA,MAAsC,GAAA,EAAA,CAAA;AAAA,MAAA,KAAA,EAAAC,cAAA,CAAA,CAAA,iBAAA,EAAA,IAAA,CAAA,UAAA,CAAA,CAAA;AAE5DC,MAAAA,WAAAA,EAAAA,eAAAA;AAAAA,KAAAA;;WAHZ,WAIY,IAAAH,SAAA,EAAA,EAAAC,kBAAA;AAAA,QAAA,QAAA;AAAA,QAAA;AAAA,UACN,GAAK,EAAA,CAAA;AAAA,UAEL,gBAAU,CAA2B,CAAA,KAAA,MAAA,CAAA,CAAA,CAAA,GAAA,CAAA,GAAA,IAAA,KAAA,IAAA,CAAA,UAAA,IAAA,IAAA,CAAA,UAAA,CAAA,GAAA,IAAA,CAAA,CAAA;AAAA,UAAA,KAAA,EAAAC,cAAA,CAAA,CAAA,8DAAA,EAAA,IAAA,CAAA,WAAA,CAAA,CAAA;AAErC,UAAA,WAAA,EAAA,2BAAA;AAAA,SAAA;AACA,QAAA;AAAA,UAAAE,kBAAA,CAAuC,6BAAC,CAAA;AAAA,UAAAC,UAAA,CAAA,IAAA,CAAA,MAAA,EAAA,2BAAA,EAAA,EAAA,EAAA,MAAA;;AAV9C,WAAA,EAAA,IAAA,CAAA;AAAA,SAYI;AAAA,QAAA,CAAA;AAAA;AAAA,OAWM,IAVJD,mBAAI,MAAoB,EAAA,IAAA,CAAA;AAAA,MAAAE,kBAAA;AACjB,QAAA,KAAA;AAAA,QAAA;AAAA,UACN,GAAA,EAAA,oBAAA;AAAA,UACA,iBAAY,CAAE,CAAA,KAAA,MAAA,CAAA,CAAA,CAAA,GAAA,CAAA,GAAA,IAAA,KAAA,IAAA,CAAA,qBAAA,IAAA,IAAA,CAAA,qBAAA,CAAA,GAAA,IAAA,CAAA,CAAA;AAAA,UACd,eAAA,EAjBP,MAiBcC,CAAAA,CAAAA,CAAAA,KAAAA,MAAAA,CAAAA,CAAAA,CAAAA,GAAAA,CAAAA,GAAAA,IAAAA,KACF,IAAyB,CAAA,qBAAA,IAAA,IAAA,CAAA,qBAAA,CAAA,GAAA,IAAA,CAAA,CAAA;AAAA,UAC/B,gBAAU,MAAsB,CAAA,CAAA,CAAA,KAAA,MAAA,CAAA,CAAA,CAAA,GAAA,CAAA,GAAA,IAAA,KAAA,IAAA,CAAA,qBAAA,IAAA,IAAA,CAAA,qBAAA,CAAA,GAAA,IAAA,CAAA,CAAA;AAAA,UAAA,KAAA,EAAAL,cAAA,CAAA,CAAA,IAAA,CAAA,oBAAA,EAAA,yBAAA,CAAA,CAAA;AAEhC,UAAA,WAAA,EAAA,sBAAA;AAAA,SAAA;AACA,QAAA;AAAA,UAAAE,kBAAA,CAAA,0CAAA,CAAA;UAGMD,UAAW,CAAA,IAAA,CAAA,MAAA,EAAA,SAAA,EAAA,EAAA,EAAA,KAAA,CAAA,EAAA,IAAA,CAAA;AAAA,SAAA;;;AADnB,OAAA;AAAA,MAAA,IAAA,CAxBJ,WA0BY,IAAAH,SAAA,EAAA,EAAAC,kBAAA;AAAA,QAAA,QAAA;AAAA,QAAA;AAAA,UACN,GAAK,EAAA,CAAA;AAAA,UAEL,gBAAU,CAA4B,CAAA,KAAA,MAAA,CAAA,CAAA,CAAA,GAAA,CAAA,GAAA,IAAA,KAAA,IAAA,CAAA,WAAA,IAAA,IAAA,CAAA,WAAA,CAAA,GAAA,IAAA,CAAA,CAAA;AAAA,UAAA,KAAA,EAAAC,cAAA,CAAA,CAAA,+DAAA,EAAA,IAAA,CAAA,WAAA,CAAA,CAAA;AAEtC,UAAA,WAAA,EAAA,4BAAA;AAAA,SAAA;AACA,QAAA;AAAA,UAAAE,kBAAA,CAAwC,8BAAC,CAAA;AAAA,UAAAC,UAAA,CAAA,IAAA,CAAA,MAAA,EAAA,4BAAA,EAAA,EAAA,EAAA,MAAA;;AAhC/C,WAAA,EAAA,IAAA,CAAA;AAAA,SAAA;;;AAAA,OAAA,IAAAD,kBAAA,CAAA,MAAA,EAAA,IAAA,CAAA;AAAA,KAAA;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"sliding-panel.vue.js","sources":["../../../src/components/sliding-panel.vue"],"sourcesContent":["<template>\n <div v-if=\"slots.default\" class=\"x-sliding-panel\" :class=\"cssClasses\" data-test=\"sliding-panel\">\n <div\n ref=\"scrollContainerRef\"\n :class=\"scrollContainerClass\"\n class=\"x-sliding-panel__scroll\"\n data-test=\"sliding-panel-scroll\"\n >\n <!-- @slot (Required) Sliding panel content -->\n <slot />\n </div>\n <slot name=\"sliding-panel-addons\" :arrived-state=\"arrivedState\" :scroll=\"xScroll\" />\n <template v-if=\"showButtons\">\n <button\n class=\"x-sliding-panel__button x-button x-sliding-panel-button-left\"\n :class=\"buttonClass\"\n data-test=\"sliding-panel-left-button\"\n @click=\"xScroll -= slotContainerWidth * scrollFactor\"\n >\n <!-- @slot Left button content -->\n <slot name=\"sliding-panel-left-button\">ᐸ</slot>\n </button>\n <button\n class=\"x-sliding-panel__button x-button x-sliding-panel-button-right\"\n :class=\"buttonClass\"\n data-test=\"sliding-panel-right-button\"\n @click=\"xScroll += slotContainerWidth * scrollFactor\"\n >\n <!-- @slot Right button content -->\n <slot name=\"sliding-panel-right-button\">ᐳ</slot>\n </button>\n </template>\n </div>\n</template>\n\n<script lang=\"ts\">\nimport type { PropType } from 'vue'\nimport type { VueCSSClasses } from '../utils/types'\nimport {\n useElementBounding,\n useElementVisibility,\n useMutationObserver,\n useScroll,\n whenever,\n} from '@vueuse/core'\nimport { computed, defineComponent, ref } from 'vue'\n\n/**\n * This component allows for any other component or element inside it to be horizontally\n * navigable. It also implements customizable buttons as well as other minor customizations to its\n * general behavior.\n *\n * Additionally, this component exposes the following props to modify the classes of the\n * elements: `buttonClass`.\n *\n * @public\n */\nexport default defineComponent({\n name: 'SlidingPanel',\n props: {\n /**\n * Scroll factor that will dictate how much the scroll moves when pressing a navigation button.\n */\n scrollFactor: {\n type: Number,\n default: 0.7,\n },\n /** Would make the navigation buttons visible when they're needed or always hide them. */\n showButtons: {\n type: Boolean,\n default: true,\n },\n /**\n * When true, whenever the DOM content in the sliding panel slot changes, it will reset\n * the scroll position to 0.\n */\n resetOnContentChange: {\n type: Boolean,\n default: true,\n },\n buttonClass: { type: [String, Object, Array] as PropType<VueCSSClasses> },\n scrollContainerClass: { type: [String, Object, Array] as PropType<VueCSSClasses> },\n },\n setup(props, { slots }) {\n const scrollContainerRef = ref<HTMLDivElement>()\n\n const { width: slotContainerWidth } = useElementBounding(scrollContainerRef)\n const isVisible = useElementVisibility(scrollContainerRef)\n\n const {\n x: xScroll,\n arrivedState,\n measure,\n } = useScroll(scrollContainerRef, {\n behavior: 'smooth',\n })\n\n /** CSS classes to apply based on the scroll position. */\n const cssClasses = computed(() => ({\n 'x-sliding-panel-at-start': arrivedState.left,\n 'x-sliding-panel-at-end': arrivedState.right,\n }))\n\n if (props.resetOnContentChange) {\n useMutationObserver(\n scrollContainerRef,\n mutations => {\n if (mutations.length > 0) {\n xScroll.value = 0\n }\n },\n {\n subtree: true,\n childList: true,\n attributes: false,\n characterData: false,\n },\n )\n }\n //ensure positions are right calculated as soon as the sliding panel is shown\n whenever(isVisible, measure)\n\n return {\n arrivedState,\n cssClasses,\n scrollContainerRef,\n slotContainerWidth,\n xScroll,\n slots,\n }\n },\n})\n</script>\n\n<style lang=\"css\" scoped>\n.x-sliding-panel {\n align-items: center;\n display: flex;\n flex-flow: row nowrap;\n position: relative;\n}\n\n.x-sliding-panel__button {\n opacity: 0;\n pointer-events: none;\n position: absolute;\n transition: all ease-out 0.2s;\n z-index: 2; /* To overlay the design system gradient with z-index:1 */\n}\n.x-sliding-panel-button-left {\n left: var(--x-sliding-panel-buttons-distance, 0);\n}\n.x-sliding-panel-button-right {\n right: var(--x-sliding-panel-buttons-distance, 0);\n}\n\n.x-sliding-panel__scroll {\n display: flex;\n flex: 100%;\n flex-flow: row nowrap;\n overflow-x: auto;\n overflow-y: hidden;\n scrollbar-width: none; /* Firefox */\n -ms-overflow-style: none; /* IE */\n}\n\n/* Chrome, Edge & Safari */\n.x-sliding-panel__scroll::-webkit-scrollbar {\n display: none;\n}\n\n.x-sliding-panel__scroll > * {\n flex: 0 0 auto;\n}\n\n/* prettier-ignore */\n.x-sliding-panel:not(.x-sliding-panel-show-buttons-on-hover):not(.x-sliding-panel-at-start) .x-sliding-panel-button-left {\n opacity: 1;\n pointer-events: all;\n }\n\n/* prettier-ignore */\n.x-sliding-panel:not(.x-sliding-panel-show-buttons-on-hover):not(.x-sliding-panel-at-end) .x-sliding-panel-button-right {\n opacity: 1;\n pointer-events: all;\n }\n</style>\n\n<docs lang=\"mdx\">\n## Events\n\nThis component emits no events.\n\n## See it in action\n\nSimplest implementation of the component, just a list-based component inside its slot.\n\n```vue\n<template>\n <SlidingPanel>\n <div class=\"item\">Item 1</div>\n <div class=\"item\">Item 2</div>\n <div class=\"item\">Item 3</div>\n <div class=\"item\">Item 4</div>\n </SlidingPanel>\n</template>\n\n<script>\nimport { SlidingPanel } from '@empathyco/x-components'\n\nexport default {\n name: 'SlidingPanelDemo',\n components: {\n SlidingPanel,\n },\n}\n</script>\n\n<style>\n.x-sliding-panel {\n width: 200px;\n}\n\n.item {\n display: inline-block;\n width: 100px;\n}\n</style>\n```\n\n### Play with props\n\n#### Modifying scroll buttons travel distance\n\nEdit how much the scroll travels when navigating with the buttons by changing the `scrollFactor`\nprop.\n\n```vue\n<template>\n <SlidingPanel :scrollFactor=\"1.5\">\n <div class=\"item\">Item 1</div>\n <div class=\"item\">Item 2</div>\n <div class=\"item\">Item 3</div>\n <div class=\"item\">Item 4</div>\n </SlidingPanel>\n</template>\n\n<script>\nimport { SlidingPanel } from '@empathyco/x-components'\n\nexport default {\n name: 'SlidingPanelDemo',\n components: {\n SlidingPanel,\n },\n}\n</script>\n\n<style>\n.x-sliding-panel {\n width: 200px;\n}\n\n.item {\n display: inline-block;\n width: 100px;\n}\n</style>\n```\n\n#### Hiding scroll buttons\n\nHide the navigational buttons completely by setting the `showButtons` prop to `false`. This is\nintended to be used when other scrolling options are available, like in mobile, where you can scroll\njust by swiping.\n\n```vue\n<template>\n <SlidingPanel :showButtons=\"false\">\n <div class=\"item\">Item 1</div>\n <div class=\"item\">Item 2</div>\n <div class=\"item\">Item 3</div>\n <div class=\"item\">Item 4</div>\n </SlidingPanel>\n</template>\n\n<script>\nimport { SlidingPanel } from '@empathyco/x-components'\n\nexport default {\n name: 'SlidingPanelDemo',\n components: {\n SlidingPanel,\n },\n}\n</script>\n\n<style>\n.x-sliding-panel {\n width: 200px;\n}\n\n.item {\n display: inline-block;\n width: 100px;\n}\n</style>\n```\n\n#### Customizing the content with classes\n\nThe `buttonClass` prop can be used to add classes to the buttons.\n\nThe `scrollContainerClass` prop can be used to add classes to the scroll content.\n\n```vue\n<template>\n <SlidingPanel buttonClass=\"x-button--round\" scrollContainerClass=\"x-sliding-panel-fade\">\n <div class=\"item\">Item 1</div>\n <div class=\"item\">Item 2</div>\n <div class=\"item\">Item 3</div>\n <div class=\"item\">Item 4</div>\n </SlidingPanel>\n</template>\n\n<script>\nimport { SlidingPanel } from '@empathyco/x-components'\n\nexport default {\n name: 'SlidingPanelDemo',\n components: {\n SlidingPanel,\n },\n}\n</script>\n\n<style>\n.x-sliding-panel {\n width: 200px;\n}\n\n.item {\n display: inline-block;\n width: 100px;\n}\n</style>\n```\n\n#### Disabling reset the scroll when content changes\n\nBy default, whenever the content of the sliding panel changes, it auto resets its scroll position.\nYou can disable this behavior setting the `resetOnContentChange` prop to `false`.\n\n```vue\n<template>\n <div>\n <button @click=\"items++\">Add item</button>\n <label>\n <input type=\"checkbox\" v-model=\"resetOnContentChange\" />\n Reset content onchange\n </label>\n <SlidingPanel :resetOnContentChange=\"resetOnContentChange\">\n <div class=\"item\" v-for=\"item in items\" :key=\"item\">Item {{ item }}</div>\n </SlidingPanel>\n </div>\n</template>\n\n<script>\nimport { SlidingPanel } from '@empathyco/x-components'\n\nexport default {\n name: 'SlidingPanelDemo',\n components: {\n SlidingPanel,\n },\n data() {\n return {\n items: 4,\n resetOnContentChange: false,\n }\n },\n}\n</script>\n\n<style>\n.x-sliding-panel {\n width: 200px;\n}\n\n.item {\n display: inline-block;\n width: 100px;\n}\n</style>\n```\n\n## Extending the component\n\n### Overriding Button content\n\nBy default the buttons show an arrow depicting the direction the scroll would go to when clicked,\nbut this content can be customized with anything, from characters to SVG and images.\n\n```vue\n<template>\n <SlidingPanel>\n <template #sliding-panel-left-button>Left</template>\n <template #default>\n <div class=\"item\">Item 1</div>\n <div class=\"item\">Item 2</div>\n <div class=\"item\">Item 3</div>\n <div class=\"item\">Item 4</div>\n </template>\n <template #sliding-panel-right-button>Right</template>\n </SlidingPanel>\n</template>\n\n<script>\nimport { SlidingPanel } from '@empathyco/x-components'\n\nexport default {\n name: 'SlidingPanelDemo',\n components: {\n SlidingPanel,\n },\n}\n</script>\n\n<style>\n.x-sliding-panel {\n width: 200px;\n}\n\n.item {\n display: inline-block;\n width: 100px;\n}\n</style>\n```\n</docs>\n"],"names":["_openBlock","_createElementBlock","_normalizeClass","_createElementVNode","_renderSlot","_Fragment","_createTextVNode","_createCommentVNode"],"mappings":";;;;;;AACa,EAAA,OAAA,IAAA,CAAA,KAAA,CAAM,OAAjB,IAAAA,SAAA,EAAA,EAAAC,kBAAA;AAAA,IA+BM,KAAA;AAAA,IAAA;AAAA,MAhCR,GAAA,EAAA,CAAA;AAAA,MAC4B,KAAA,EAD5BC,cACkC,CAAA,CAAA,iBAAA,EAA0B,IAAU,CAAA,UAAA,CAAA,CAAA;AAAA,MAAE,WAAU,EAAA,eAAA;AAAA,KAAA;;AAC9E,MAAAC,kBAAA;AAAA,QAQM,KAAA;AAAA,QAAA;AAAA,UAPJ,GAAI,EAAA,oBAAA;AAAA,UACH,KAAA,EAJPD,cAIc,CAAA,CAAA,IAAA,CAAA,oBAAA,EACF,yBAAyB,CAAA,CAAA;AAAA,UAC/B,WAAU,EAAA,sBAAA;AAAA,SAAA;;UAGVE,UAAQ,CAAA,IAAA,CAAA,MAAA,EAAA,SAAA,EAAA,EAAA,EAAA,KAAA,CAAA,EAAA,IAAA,CAAA;AAAA,SAAA;;;;MAEVA,UAAoF,CAAA,IAAA,CAAA,MAAA,EAAA,sBAAA,EAAA;AAAA,QAAjD,YAAe,EAAA,IAAA,CAAA,YAAA;AAAA,QAAe,MAAQ,EAAA,IAAA,CAAA,OAAA;AAAA,OAAA,EAAA,KAAA,CAAA,EAAA,IAAA,CAAA;MACzD,IAAhB,CAAA,WAAA,IAAAJ,SAAA,EAAA,EAAAC,kBAAA;AAAA,QAmBWI,QAAA;AAAA,QA/Bf,EAAA,GAAA,EAAA,CAAA,EAAA;AAAA,QAAA;AAAA,UAaMF,kBAAA;AAAA,YAQS,QAAA;AAAA,YAAA;AAAA,cAPP,KAAA,EAdRD,cAcc,CAAA,CAAA,8DAAA,EACE,IAAW,CAAA,WAAA,CAAA,CAAA;AAAA,cACnB,WAAU,EAAA,2BAAA;AAAA,cACT,OAAA,EAAK,MAAE,CAAA,CAAA,CAAA,KAAA,MAAA,CAAA,CAAA,CAAA,GAAA,CAAA,MAAA,KAAA,IAAA,CAAA,OAAA,IAAW,IAAqB,CAAA,kBAAA,GAAA,IAAA,CAAA,YAAA,CAAA;AAAA,aAAA;;AAGxC,cAAAE,UAAA,CAA+C,8CAA/C,MAA+C;AAAA,gBApBvDE,gBAoB+C,GAAC,CAAA;AAAA,eAAA,EAAA,IAAA,CAAA;;;;;AAE1C,UAAAH,kBAAA;AAAA,YAQS,QAAA;AAAA,YAAA;AAAA,cAPP,KAAA,EAvBRD,cAuBc,CAAA,CAAA,+DAAA,EACE,IAAW,CAAA,WAAA,CAAA,CAAA;AAAA,cACnB,WAAU,EAAA,4BAAA;AAAA,cACT,OAAA,EAAK,MAAE,CAAA,CAAA,CAAA,KAAA,MAAA,CAAA,CAAA,CAAA,GAAA,CAAA,MAAA,KAAA,IAAA,CAAA,OAAA,IAAW,IAAqB,CAAA,kBAAA,GAAA,IAAA,CAAA,YAAA,CAAA;AAAA,aAAA;;AAGxC,cAAAE,UAAA,CAAgD,+CAAhD,MAAgD;AAAA,gBA7BxDE,gBA6BgD,GAAC,CAAA;AAAA,eAAA,EAAA,IAAA,CAAA;;;;;;;;AA7BjD,OAAA,IAAAC,kBAAA,CAAA,MAAA,EAAA,IAAA,CAAA;AAAA,KAAA;;;AAAA,GAAA,IAAAA,kBAAA,CAAA,MAAA,EAAA,IAAA,CAAA,CAAA;;;;;;"}
|
|
@@ -1,135 +1,77 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { useElementBounding, useElementVisibility, useScroll, useMutationObserver, whenever } from '@vueuse/core';
|
|
2
|
+
import { defineComponent, ref, computed } from 'vue';
|
|
3
3
|
|
|
4
|
-
/**
|
|
5
|
-
* This component allows for any other component or element inside it to be horizontally
|
|
6
|
-
* navigable. It also implements customizable buttons as well as other minor customizations to its
|
|
7
|
-
* general behavior.
|
|
8
|
-
*
|
|
9
|
-
* Additionally, this component exposes the following props to modify the classes of the
|
|
10
|
-
* elements: `buttonClass`.
|
|
11
|
-
*
|
|
12
|
-
* @public
|
|
13
|
-
*/
|
|
14
|
-
var _sfc_main = defineComponent({
|
|
15
|
-
name: 'SlidingPanel',
|
|
16
|
-
props: {
|
|
17
|
-
/**
|
|
18
|
-
* Scroll factor that will dictate how much the scroll moves when pressing a navigation button.
|
|
19
|
-
*/
|
|
20
|
-
scrollFactor: {
|
|
21
|
-
type: Number,
|
|
22
|
-
default: 0.7
|
|
23
|
-
},
|
|
24
|
-
/** Would make the navigation buttons visible when they're needed or always hide them. */
|
|
25
|
-
showButtons: {
|
|
26
|
-
type: Boolean,
|
|
27
|
-
default: true
|
|
28
|
-
},
|
|
29
|
-
/**
|
|
30
|
-
* When true, whenever the DOM content in the sliding panel slot changes, it will reset
|
|
31
|
-
* the scroll position to 0.
|
|
32
|
-
*/
|
|
33
|
-
resetOnContentChange: {
|
|
34
|
-
type: Boolean,
|
|
35
|
-
default: true
|
|
36
|
-
},
|
|
37
|
-
buttonClass: String,
|
|
38
|
-
scrollContainerClass: String
|
|
39
|
-
},
|
|
40
|
-
setup(props, { slots }) {
|
|
41
|
-
|
|
42
|
-
const
|
|
43
|
-
|
|
44
|
-
const
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
function scrollTo(scrollValue) {
|
|
76
|
-
scrollContainerRef.value.scrollBy({
|
|
77
|
-
left: scrollValue * props.scrollFactor,
|
|
78
|
-
behavior: 'smooth'
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
/** Scrolls the wrapper element to the left. */
|
|
82
|
-
function scrollLeft() {
|
|
83
|
-
scrollTo(-scrollContainerRef.value.clientWidth);
|
|
84
|
-
}
|
|
85
|
-
/** Scrolls the wrapper element to the right. */
|
|
86
|
-
function scrollRight() {
|
|
87
|
-
scrollTo(scrollContainerRef.value.clientWidth);
|
|
88
|
-
}
|
|
89
|
-
/** CSS classes to apply based on the scroll position. */
|
|
90
|
-
const cssClasses = computed(() => ({
|
|
91
|
-
'x-sliding-panel-at-start': isScrollAtStart.value,
|
|
92
|
-
'x-sliding-panel-at-end': isScrollAtEnd.value
|
|
93
|
-
}));
|
|
94
|
-
let resizeObserver;
|
|
95
|
-
let contentChangedObserver;
|
|
96
|
-
/**
|
|
97
|
-
* Initialises browser platform code:
|
|
98
|
-
* - Creates a mutation observer to detect content changes and reset scroll position.
|
|
99
|
-
* - Stores initial size and scroll position values.
|
|
100
|
-
*/
|
|
101
|
-
onMounted(() => {
|
|
102
|
-
resizeObserver = new ResizeObserver(debouncedUpdateScroll);
|
|
103
|
-
resizeObserver.observe(scrollContainerRef.value);
|
|
104
|
-
contentChangedObserver = new MutationObserver(debouncedRestoreAndUpdateScroll);
|
|
105
|
-
watch(() => props.resetOnContentChange, shouldReset => {
|
|
106
|
-
if (shouldReset) {
|
|
107
|
-
contentChangedObserver.observe(scrollContainerRef.value, {
|
|
108
|
-
subtree: true,
|
|
109
|
-
childList: true,
|
|
110
|
-
attributes: false,
|
|
111
|
-
characterData: false
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
else {
|
|
115
|
-
contentChangedObserver.disconnect();
|
|
116
|
-
}
|
|
117
|
-
}, { immediate: true });
|
|
118
|
-
updateScrollPosition();
|
|
119
|
-
});
|
|
120
|
-
onBeforeUnmount(() => {
|
|
121
|
-
contentChangedObserver.disconnect();
|
|
122
|
-
resizeObserver.disconnect();
|
|
123
|
-
});
|
|
124
|
-
return {
|
|
125
|
-
cssClasses,
|
|
126
|
-
debouncedUpdateScroll,
|
|
127
|
-
scrollContainerRef,
|
|
128
|
-
scrollLeft,
|
|
129
|
-
scrollRight,
|
|
130
|
-
slots
|
|
131
|
-
};
|
|
132
|
-
}
|
|
4
|
+
/**
|
|
5
|
+
* This component allows for any other component or element inside it to be horizontally
|
|
6
|
+
* navigable. It also implements customizable buttons as well as other minor customizations to its
|
|
7
|
+
* general behavior.
|
|
8
|
+
*
|
|
9
|
+
* Additionally, this component exposes the following props to modify the classes of the
|
|
10
|
+
* elements: `buttonClass`.
|
|
11
|
+
*
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
var _sfc_main = defineComponent({
|
|
15
|
+
name: 'SlidingPanel',
|
|
16
|
+
props: {
|
|
17
|
+
/**
|
|
18
|
+
* Scroll factor that will dictate how much the scroll moves when pressing a navigation button.
|
|
19
|
+
*/
|
|
20
|
+
scrollFactor: {
|
|
21
|
+
type: Number,
|
|
22
|
+
default: 0.7,
|
|
23
|
+
},
|
|
24
|
+
/** Would make the navigation buttons visible when they're needed or always hide them. */
|
|
25
|
+
showButtons: {
|
|
26
|
+
type: Boolean,
|
|
27
|
+
default: true,
|
|
28
|
+
},
|
|
29
|
+
/**
|
|
30
|
+
* When true, whenever the DOM content in the sliding panel slot changes, it will reset
|
|
31
|
+
* the scroll position to 0.
|
|
32
|
+
*/
|
|
33
|
+
resetOnContentChange: {
|
|
34
|
+
type: Boolean,
|
|
35
|
+
default: true,
|
|
36
|
+
},
|
|
37
|
+
buttonClass: { type: [String, Object, Array] },
|
|
38
|
+
scrollContainerClass: { type: [String, Object, Array] },
|
|
39
|
+
},
|
|
40
|
+
setup(props, { slots }) {
|
|
41
|
+
const scrollContainerRef = ref();
|
|
42
|
+
const { width: slotContainerWidth } = useElementBounding(scrollContainerRef);
|
|
43
|
+
const isVisible = useElementVisibility(scrollContainerRef);
|
|
44
|
+
const { x: xScroll, arrivedState, measure, } = useScroll(scrollContainerRef, {
|
|
45
|
+
behavior: 'smooth',
|
|
46
|
+
});
|
|
47
|
+
/** CSS classes to apply based on the scroll position. */
|
|
48
|
+
const cssClasses = computed(() => ({
|
|
49
|
+
'x-sliding-panel-at-start': arrivedState.left,
|
|
50
|
+
'x-sliding-panel-at-end': arrivedState.right,
|
|
51
|
+
}));
|
|
52
|
+
if (props.resetOnContentChange) {
|
|
53
|
+
useMutationObserver(scrollContainerRef, mutations => {
|
|
54
|
+
if (mutations.length > 0) {
|
|
55
|
+
xScroll.value = 0;
|
|
56
|
+
}
|
|
57
|
+
}, {
|
|
58
|
+
subtree: true,
|
|
59
|
+
childList: true,
|
|
60
|
+
attributes: false,
|
|
61
|
+
characterData: false,
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
//ensure positions are right calculated as soon as the sliding panel is shown
|
|
65
|
+
whenever(isVisible, measure);
|
|
66
|
+
return {
|
|
67
|
+
arrivedState,
|
|
68
|
+
cssClasses,
|
|
69
|
+
scrollContainerRef,
|
|
70
|
+
slotContainerWidth,
|
|
71
|
+
xScroll,
|
|
72
|
+
slots,
|
|
73
|
+
};
|
|
74
|
+
},
|
|
133
75
|
});
|
|
134
76
|
|
|
135
77
|
export { _sfc_main as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sliding-panel.vue2.js","sources":["../../../src/components/sliding-panel.vue"],"sourcesContent":["<template>\n <div v-if=\"slots.default\" class=\"x-sliding-panel\" :class=\"cssClasses\" data-test=\"sliding-panel\">\n <button\n v-if=\"showButtons\"\n @click=\"scrollLeft\"\n class=\"x-sliding-panel__button x-button x-sliding-panel-button-left\"\n :class=\"buttonClass\"\n data-test=\"sliding-panel-left-button\"\n >\n <!-- @slot Left button content -->\n <slot name=\"sliding-panel-left-button\">ᐸ</slot>\n </button>\n <div\n ref=\"scrollContainerRef\"\n @scroll=\"debouncedUpdateScroll\"\n @transitionend=\"debouncedUpdateScroll\"\n @animationend=\"debouncedUpdateScroll\"\n :class=\"scrollContainerClass\"\n class=\"x-sliding-panel__scroll\"\n data-test=\"sliding-panel-scroll\"\n >\n <!-- @slot (Required) Sliding panel content -->\n <slot />\n </div>\n <button\n v-if=\"showButtons\"\n @click=\"scrollRight\"\n class=\"x-sliding-panel__button x-button x-sliding-panel-button-right\"\n :class=\"buttonClass\"\n data-test=\"sliding-panel-right-button\"\n >\n <!-- @slot Right button content -->\n <slot name=\"sliding-panel-right-button\">ᐳ</slot>\n </button>\n </div>\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent, onBeforeUnmount, onMounted, ref, watch } from 'vue';\n import { useDebounce } from '../composables/use-debounce';\n\n /**\n * This component allows for any other component or element inside it to be horizontally\n * navigable. It also implements customizable buttons as well as other minor customizations to its\n * general behavior.\n *\n * Additionally, this component exposes the following props to modify the classes of the\n * elements: `buttonClass`.\n *\n * @public\n */\n export default defineComponent({\n name: 'SlidingPanel',\n props: {\n /**\n * Scroll factor that will dictate how much the scroll moves when pressing a navigation button.\n */\n scrollFactor: {\n type: Number,\n default: 0.7\n },\n /** Would make the navigation buttons visible when they're needed or always hide them. */\n showButtons: {\n type: Boolean,\n default: true\n },\n /**\n * When true, whenever the DOM content in the sliding panel slot changes, it will reset\n * the scroll position to 0.\n */\n resetOnContentChange: {\n type: Boolean,\n default: true\n },\n buttonClass: String,\n scrollContainerClass: String\n },\n setup(props, { slots }) {\n /** Indicates if the scroll is at the start of the sliding panel. */\n const isScrollAtStart = ref(true);\n /** Indicates if the scroll is at the end of the sliding panel. */\n const isScrollAtEnd = ref(true);\n const scrollContainerRef = ref<HTMLDivElement>();\n\n /**\n * Updates the values of the scroll positions to show or hide the buttons depending on it.\n *\n * @remarks The 2px extra is to fix some cases in some resolutions where the scroll + client\n * size is less than the scroll width even when the scroll is at the end.\n */\n function updateScrollPosition() {\n if (scrollContainerRef.value) {\n const { scrollLeft, clientWidth, scrollWidth } = scrollContainerRef.value;\n isScrollAtStart.value = !scrollLeft;\n isScrollAtEnd.value = scrollLeft + clientWidth + 2 >= scrollWidth;\n }\n }\n\n /**\n * Debounced version of the {@link SlidingPanel.updateScrollPosition} method.\n */\n const debouncedUpdateScroll = useDebounce(updateScrollPosition, 50, { leading: true });\n\n /**\n * Resets the scroll and updates the values of the scroll for the buttons to react.\n */\n const debouncedRestoreAndUpdateScroll = useDebounce(\n () => {\n scrollContainerRef.value!.scroll({ left: 0, behavior: 'smooth' });\n updateScrollPosition();\n },\n 50,\n { leading: true }\n );\n\n /**\n * Scrolls the wrapper element towards the provided scroll value.\n *\n * @param scrollValue - The value the scroll will go towards.\n */\n function scrollTo(scrollValue: number) {\n scrollContainerRef.value!.scrollBy({\n left: scrollValue * props.scrollFactor,\n behavior: 'smooth'\n });\n }\n\n /** Scrolls the wrapper element to the left. */\n function scrollLeft() {\n scrollTo(-scrollContainerRef.value!.clientWidth);\n }\n\n /** Scrolls the wrapper element to the right. */\n function scrollRight() {\n scrollTo(scrollContainerRef.value!.clientWidth);\n }\n\n /** CSS classes to apply based on the scroll position. */\n const cssClasses = computed(() => ({\n 'x-sliding-panel-at-start': isScrollAtStart.value,\n 'x-sliding-panel-at-end': isScrollAtEnd.value\n }));\n\n let resizeObserver: ResizeObserver;\n let contentChangedObserver: MutationObserver;\n\n /**\n * Initialises browser platform code:\n * - Creates a mutation observer to detect content changes and reset scroll position.\n * - Stores initial size and scroll position values.\n */\n onMounted(() => {\n resizeObserver = new ResizeObserver(debouncedUpdateScroll);\n resizeObserver.observe(scrollContainerRef.value!);\n contentChangedObserver = new MutationObserver(debouncedRestoreAndUpdateScroll);\n\n watch(\n () => props.resetOnContentChange,\n shouldReset => {\n if (shouldReset) {\n contentChangedObserver.observe(scrollContainerRef.value!, {\n subtree: true,\n childList: true,\n attributes: false,\n characterData: false\n });\n } else {\n contentChangedObserver.disconnect();\n }\n },\n { immediate: true }\n );\n\n updateScrollPosition();\n });\n\n onBeforeUnmount(() => {\n contentChangedObserver.disconnect();\n resizeObserver.disconnect();\n });\n\n return {\n cssClasses,\n debouncedUpdateScroll,\n scrollContainerRef,\n scrollLeft,\n scrollRight,\n slots\n };\n }\n });\n</script>\n\n<style lang=\"css\" scoped>\n .x-sliding-panel {\n align-items: center;\n display: flex;\n flex-flow: row nowrap;\n position: relative;\n }\n\n .x-sliding-panel__button {\n opacity: 0;\n pointer-events: none;\n position: absolute;\n transition: all ease-out 0.2s;\n z-index: 2; /* To overlay the design system gradient with z-index:1 */\n }\n .x-sliding-panel-button-left {\n left: 0;\n }\n .x-sliding-panel-button-right {\n right: 0;\n }\n\n .x-sliding-panel__scroll {\n display: flex;\n flex: 100%;\n flex-flow: row nowrap;\n overflow-x: auto;\n overflow-y: hidden;\n scrollbar-width: none; /* Firefox */\n -ms-overflow-style: none; /* IE */\n }\n\n /* Chrome, Edge & Safari */\n .x-sliding-panel__scroll::-webkit-scrollbar {\n display: none;\n }\n\n .x-sliding-panel__scroll > * {\n flex: 0 0 auto;\n }\n\n /* prettier-ignore */\n .x-sliding-panel:not(.x-sliding-panel-show-buttons-on-hover):not(.x-sliding-panel-at-start) .x-sliding-panel-button-left {\n opacity: 1;\n pointer-events: all;\n }\n\n /* prettier-ignore */\n .x-sliding-panel:not(.x-sliding-panel-show-buttons-on-hover):not(.x-sliding-panel-at-end) .x-sliding-panel-button-right {\n opacity: 1;\n pointer-events: all;\n }\n</style>\n\n<docs lang=\"mdx\">\n## Events\n\nThis component emits no events.\n\n## See it in action\n\nSimplest implementation of the component, just a list-based component inside its slot.\n\n```vue\n<template>\n <SlidingPanel>\n <div class=\"item\">Item 1</div>\n <div class=\"item\">Item 2</div>\n <div class=\"item\">Item 3</div>\n <div class=\"item\">Item 4</div>\n </SlidingPanel>\n</template>\n\n<script>\n import { SlidingPanel } from '@empathyco/x-components';\n\n export default {\n name: 'SlidingPanelDemo',\n components: {\n SlidingPanel\n }\n };\n</script>\n\n<style>\n .x-sliding-panel {\n width: 200px;\n }\n\n .item {\n display: inline-block;\n width: 100px;\n }\n</style>\n```\n\n### Play with props\n\n#### Modifying scroll buttons travel distance\n\nEdit how much the scroll travels when navigating with the buttons by changing the `scrollFactor`\nprop.\n\n```vue\n<template>\n <SlidingPanel :scrollFactor=\"1.5\">\n <div class=\"item\">Item 1</div>\n <div class=\"item\">Item 2</div>\n <div class=\"item\">Item 3</div>\n <div class=\"item\">Item 4</div>\n </SlidingPanel>\n</template>\n\n<script>\n import { SlidingPanel } from '@empathyco/x-components';\n\n export default {\n name: 'SlidingPanelDemo',\n components: {\n SlidingPanel\n }\n };\n</script>\n\n<style>\n .x-sliding-panel {\n width: 200px;\n }\n\n .item {\n display: inline-block;\n width: 100px;\n }\n</style>\n```\n\n#### Hiding scroll buttons\n\nHide the navigational buttons completely by setting the `showButtons` prop to `false`. This is\nintended to be used when other scrolling options are available, like in mobile, where you can scroll\njust by swiping.\n\n```vue\n<template>\n <SlidingPanel :showButtons=\"false\">\n <div class=\"item\">Item 1</div>\n <div class=\"item\">Item 2</div>\n <div class=\"item\">Item 3</div>\n <div class=\"item\">Item 4</div>\n </SlidingPanel>\n</template>\n\n<script>\n import { SlidingPanel } from '@empathyco/x-components';\n\n export default {\n name: 'SlidingPanelDemo',\n components: {\n SlidingPanel\n }\n };\n</script>\n\n<style>\n .x-sliding-panel {\n width: 200px;\n }\n\n .item {\n display: inline-block;\n width: 100px;\n }\n</style>\n```\n\n#### Customizing the content with classes\n\nThe `buttonClass` prop can be used to add classes to the buttons.\n\nThe `scrollContainerClass` prop can be used to add classes to the scroll content.\n\n```vue\n<template>\n <SlidingPanel buttonClass=\"x-button--round\" scrollContainerClass=\"x-sliding-panel-fade\">\n <div class=\"item\">Item 1</div>\n <div class=\"item\">Item 2</div>\n <div class=\"item\">Item 3</div>\n <div class=\"item\">Item 4</div>\n </SlidingPanel>\n</template>\n\n<script>\n import { SlidingPanel } from '@empathyco/x-components';\n\n export default {\n name: 'SlidingPanelDemo',\n components: {\n SlidingPanel\n }\n };\n</script>\n\n<style>\n .x-sliding-panel {\n width: 200px;\n }\n\n .item {\n display: inline-block;\n width: 100px;\n }\n</style>\n```\n\n#### Disabling reset the scroll when content changes\n\nBy default, whenever the content of the sliding panel changes, it auto resets its scroll position.\nYou can disable this behavior setting the `resetOnContentChange` prop to `false`.\n\n```vue\n<template>\n <div>\n <button @click=\"items++\">Add item</button>\n <label>\n <input type=\"checkbox\" v-model=\"resetOnContentChange\" />\n Reset content onchange\n </label>\n <SlidingPanel :resetOnContentChange=\"resetOnContentChange\">\n <div class=\"item\" v-for=\"item in items\" :key=\"item\">Item {{ item }}</div>\n </SlidingPanel>\n </div>\n</template>\n\n<script>\n import { SlidingPanel } from '@empathyco/x-components';\n\n export default {\n name: 'SlidingPanelDemo',\n components: {\n SlidingPanel\n },\n data() {\n return {\n items: 4,\n resetOnContentChange: false\n };\n }\n };\n</script>\n\n<style>\n .x-sliding-panel {\n width: 200px;\n }\n\n .item {\n display: inline-block;\n width: 100px;\n }\n</style>\n```\n\n## Extending the component\n\n### Overriding Button content\n\nBy default the buttons show an arrow depicting the direction the scroll would go to when clicked,\nbut this content can be customized with anything, from characters to SVG and images.\n\n```vue\n<template>\n <SlidingPanel>\n <template #sliding-panel-left-button>Left</template>\n <template #default>\n <div class=\"item\">Item 1</div>\n <div class=\"item\">Item 2</div>\n <div class=\"item\">Item 3</div>\n <div class=\"item\">Item 4</div>\n </template>\n <template #sliding-panel-right-button>Right</template>\n </SlidingPanel>\n</template>\n\n<script>\n import { SlidingPanel } from '@empathyco/x-components';\n\n export default {\n name: 'SlidingPanelDemo',\n components: {\n SlidingPanel\n }\n };\n</script>\n\n<style>\n .x-sliding-panel {\n width: 200px;\n }\n\n .item {\n display: inline-block;\n width: 100px;\n }\n</style>\n```\n</docs>\n"],"names":[],"mappings":";;;AAyCE;;;;;;;;;AASE;AACF,gBAAe,eAAe,CAAC;AAC7B,IAAA,IAAI,EAAE,cAAc;AACpB,IAAA,KAAK,EAAE;AACL;;AAEE;AACF,QAAA,YAAY,EAAE;AACZ,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,OAAO,EAAE,GAAE;AACZ,SAAA;;AAED,QAAA,WAAW,EAAE;AACX,YAAA,IAAI,EAAE,OAAO;AACb,YAAA,OAAO,EAAE,IAAG;AACb,SAAA;AACD;;;AAGE;AACF,QAAA,oBAAoB,EAAE;AACpB,YAAA,IAAI,EAAE,OAAO;AACb,YAAA,OAAO,EAAE,IAAG;AACb,SAAA;AACD,QAAA,WAAW,EAAE,MAAM;AACnB,QAAA,oBAAoB,EAAE,MAAK;AAC5B,KAAA;AACD,IAAA,KAAK,CAAC,KAAK,EAAE,EAAE,KAAI,EAAG,EAAA;;AAEpB,QAAA,MAAM,eAAgB,GAAE,GAAG,CAAC,IAAI,CAAC,CAAA;;AAEjC,QAAA,MAAM,aAAc,GAAE,GAAG,CAAC,IAAI,CAAC,CAAA;AAC/B,QAAA,MAAM,qBAAqB,GAAG,EAAkB,CAAA;AAEhD;;;;;AAKE;AACF,QAAA,SAAS,oBAAoB,GAAA;YAC3B,IAAI,kBAAkB,CAAC,KAAK,EAAE;gBAC5B,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,WAAY,EAAA,GAAI,kBAAkB,CAAC,KAAK,CAAA;AACzE,gBAAA,eAAe,CAAC,KAAM,GAAE,CAAC,UAAU,CAAA;gBACnC,aAAa,CAAC,KAAM,GAAE,UAAW,GAAE,WAAY,GAAE,KAAK,WAAW,CAAA;AACnE,aAAA;SACF;AAEA;;AAEE;AACF,QAAA,MAAM,qBAAoB,GAAI,WAAW,CAAC,oBAAoB,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,IAAG,EAAG,CAAC,CAAA;AAEtF;;AAEE;AACF,QAAA,MAAM,+BAA8B,GAAI,WAAW,CACjD,MAAM;AACJ,YAAA,kBAAkB,CAAC,KAAM,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,QAAS,EAAC,CAAC,CAAA;AACjE,YAAA,oBAAoB,EAAE,CAAA;SACvB,EACD,EAAE,EACF,EAAE,OAAO,EAAE,IAAK,EAAA,CACjB,CAAA;AAED;;;;AAIE;QACF,SAAS,QAAQ,CAAC,WAAmB,EAAA;AACnC,YAAA,kBAAkB,CAAC,KAAM,CAAC,QAAQ,CAAC;AACjC,gBAAA,IAAI,EAAE,WAAY,GAAE,KAAK,CAAC,YAAY;AACtC,gBAAA,QAAQ,EAAE,QAAO;AAClB,aAAA,CAAC,CAAA;SACJ;;AAGA,QAAA,SAAS,UAAU,GAAA;YACjB,QAAQ,CAAC,CAAC,kBAAkB,CAAC,KAAM,CAAC,WAAW,CAAC,CAAA;SAClD;;AAGA,QAAA,SAAS,WAAW,GAAA;AAClB,YAAA,QAAQ,CAAC,kBAAkB,CAAC,KAAM,CAAC,WAAW,CAAC,CAAA;SACjD;;AAGA,QAAA,MAAM,UAAS,GAAI,QAAQ,CAAC,OAAO;YACjC,0BAA0B,EAAE,eAAe,CAAC,KAAK;YACjD,wBAAwB,EAAE,aAAa,CAAC,KAAI;AAC7C,SAAA,CAAC,CAAC,CAAA;AAEH,QAAA,IAAI,cAA8B,CAAA;AAClC,QAAA,IAAI,sBAAwC,CAAA;AAE5C;;;;AAIE;QACF,SAAS,CAAC,MAAM;AACd,YAAA,iBAAiB,IAAI,cAAc,CAAC,qBAAqB,CAAC,CAAA;AAC1D,YAAA,cAAc,CAAC,OAAO,CAAC,kBAAkB,CAAC,KAAM,CAAC,CAAA;AACjD,YAAA,sBAAqB,GAAI,IAAI,gBAAgB,CAAC,+BAA+B,CAAC,CAAA;YAE9E,KAAK,CACH,MAAM,KAAK,CAAC,oBAAoB,EAChC,WAAY,IAAG;AACb,gBAAA,IAAI,WAAW,EAAE;AACf,oBAAA,sBAAsB,CAAC,OAAO,CAAC,kBAAkB,CAAC,KAAM,EAAE;AACxD,wBAAA,OAAO,EAAE,IAAI;AACb,wBAAA,SAAS,EAAE,IAAI;AACf,wBAAA,UAAU,EAAE,KAAK;AACjB,wBAAA,aAAa,EAAE,KAAI;AACpB,qBAAA,CAAC,CAAA;AACF,iBAAA;AAAK,qBAAA;oBACL,sBAAsB,CAAC,UAAU,EAAE,CAAA;AACrC,iBAAA;AACF,aAAC,EACD,EAAE,SAAS,EAAE,IAAK,EAAA,CACnB,CAAA;AAED,YAAA,oBAAoB,EAAE,CAAA;AACxB,SAAC,CAAC,CAAA;QAEF,eAAe,CAAC,MAAM;YACpB,sBAAsB,CAAC,UAAU,EAAE,CAAA;YACnC,cAAc,CAAC,UAAU,EAAE,CAAA;AAC7B,SAAC,CAAC,CAAA;QAEF,OAAO;YACL,UAAU;YACV,qBAAqB;YACrB,kBAAkB;YAClB,UAAU;YACV,WAAW;YACX,KAAI;SACL,CAAA;KACH;AACD,CAAA,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"sliding-panel.vue2.js","sources":["../../../src/components/sliding-panel.vue"],"sourcesContent":["<template>\n <div v-if=\"slots.default\" class=\"x-sliding-panel\" :class=\"cssClasses\" data-test=\"sliding-panel\">\n <div\n ref=\"scrollContainerRef\"\n :class=\"scrollContainerClass\"\n class=\"x-sliding-panel__scroll\"\n data-test=\"sliding-panel-scroll\"\n >\n <!-- @slot (Required) Sliding panel content -->\n <slot />\n </div>\n <slot name=\"sliding-panel-addons\" :arrived-state=\"arrivedState\" :scroll=\"xScroll\" />\n <template v-if=\"showButtons\">\n <button\n class=\"x-sliding-panel__button x-button x-sliding-panel-button-left\"\n :class=\"buttonClass\"\n data-test=\"sliding-panel-left-button\"\n @click=\"xScroll -= slotContainerWidth * scrollFactor\"\n >\n <!-- @slot Left button content -->\n <slot name=\"sliding-panel-left-button\">ᐸ</slot>\n </button>\n <button\n class=\"x-sliding-panel__button x-button x-sliding-panel-button-right\"\n :class=\"buttonClass\"\n data-test=\"sliding-panel-right-button\"\n @click=\"xScroll += slotContainerWidth * scrollFactor\"\n >\n <!-- @slot Right button content -->\n <slot name=\"sliding-panel-right-button\">ᐳ</slot>\n </button>\n </template>\n </div>\n</template>\n\n<script lang=\"ts\">\nimport type { PropType } from 'vue'\nimport type { VueCSSClasses } from '../utils/types'\nimport {\n useElementBounding,\n useElementVisibility,\n useMutationObserver,\n useScroll,\n whenever,\n} from '@vueuse/core'\nimport { computed, defineComponent, ref } from 'vue'\n\n/**\n * This component allows for any other component or element inside it to be horizontally\n * navigable. It also implements customizable buttons as well as other minor customizations to its\n * general behavior.\n *\n * Additionally, this component exposes the following props to modify the classes of the\n * elements: `buttonClass`.\n *\n * @public\n */\nexport default defineComponent({\n name: 'SlidingPanel',\n props: {\n /**\n * Scroll factor that will dictate how much the scroll moves when pressing a navigation button.\n */\n scrollFactor: {\n type: Number,\n default: 0.7,\n },\n /** Would make the navigation buttons visible when they're needed or always hide them. */\n showButtons: {\n type: Boolean,\n default: true,\n },\n /**\n * When true, whenever the DOM content in the sliding panel slot changes, it will reset\n * the scroll position to 0.\n */\n resetOnContentChange: {\n type: Boolean,\n default: true,\n },\n buttonClass: { type: [String, Object, Array] as PropType<VueCSSClasses> },\n scrollContainerClass: { type: [String, Object, Array] as PropType<VueCSSClasses> },\n },\n setup(props, { slots }) {\n const scrollContainerRef = ref<HTMLDivElement>()\n\n const { width: slotContainerWidth } = useElementBounding(scrollContainerRef)\n const isVisible = useElementVisibility(scrollContainerRef)\n\n const {\n x: xScroll,\n arrivedState,\n measure,\n } = useScroll(scrollContainerRef, {\n behavior: 'smooth',\n })\n\n /** CSS classes to apply based on the scroll position. */\n const cssClasses = computed(() => ({\n 'x-sliding-panel-at-start': arrivedState.left,\n 'x-sliding-panel-at-end': arrivedState.right,\n }))\n\n if (props.resetOnContentChange) {\n useMutationObserver(\n scrollContainerRef,\n mutations => {\n if (mutations.length > 0) {\n xScroll.value = 0\n }\n },\n {\n subtree: true,\n childList: true,\n attributes: false,\n characterData: false,\n },\n )\n }\n //ensure positions are right calculated as soon as the sliding panel is shown\n whenever(isVisible, measure)\n\n return {\n arrivedState,\n cssClasses,\n scrollContainerRef,\n slotContainerWidth,\n xScroll,\n slots,\n }\n },\n})\n</script>\n\n<style lang=\"css\" scoped>\n.x-sliding-panel {\n align-items: center;\n display: flex;\n flex-flow: row nowrap;\n position: relative;\n}\n\n.x-sliding-panel__button {\n opacity: 0;\n pointer-events: none;\n position: absolute;\n transition: all ease-out 0.2s;\n z-index: 2; /* To overlay the design system gradient with z-index:1 */\n}\n.x-sliding-panel-button-left {\n left: var(--x-sliding-panel-buttons-distance, 0);\n}\n.x-sliding-panel-button-right {\n right: var(--x-sliding-panel-buttons-distance, 0);\n}\n\n.x-sliding-panel__scroll {\n display: flex;\n flex: 100%;\n flex-flow: row nowrap;\n overflow-x: auto;\n overflow-y: hidden;\n scrollbar-width: none; /* Firefox */\n -ms-overflow-style: none; /* IE */\n}\n\n/* Chrome, Edge & Safari */\n.x-sliding-panel__scroll::-webkit-scrollbar {\n display: none;\n}\n\n.x-sliding-panel__scroll > * {\n flex: 0 0 auto;\n}\n\n/* prettier-ignore */\n.x-sliding-panel:not(.x-sliding-panel-show-buttons-on-hover):not(.x-sliding-panel-at-start) .x-sliding-panel-button-left {\n opacity: 1;\n pointer-events: all;\n }\n\n/* prettier-ignore */\n.x-sliding-panel:not(.x-sliding-panel-show-buttons-on-hover):not(.x-sliding-panel-at-end) .x-sliding-panel-button-right {\n opacity: 1;\n pointer-events: all;\n }\n</style>\n\n<docs lang=\"mdx\">\n## Events\n\nThis component emits no events.\n\n## See it in action\n\nSimplest implementation of the component, just a list-based component inside its slot.\n\n```vue\n<template>\n <SlidingPanel>\n <div class=\"item\">Item 1</div>\n <div class=\"item\">Item 2</div>\n <div class=\"item\">Item 3</div>\n <div class=\"item\">Item 4</div>\n </SlidingPanel>\n</template>\n\n<script>\nimport { SlidingPanel } from '@empathyco/x-components'\n\nexport default {\n name: 'SlidingPanelDemo',\n components: {\n SlidingPanel,\n },\n}\n</script>\n\n<style>\n.x-sliding-panel {\n width: 200px;\n}\n\n.item {\n display: inline-block;\n width: 100px;\n}\n</style>\n```\n\n### Play with props\n\n#### Modifying scroll buttons travel distance\n\nEdit how much the scroll travels when navigating with the buttons by changing the `scrollFactor`\nprop.\n\n```vue\n<template>\n <SlidingPanel :scrollFactor=\"1.5\">\n <div class=\"item\">Item 1</div>\n <div class=\"item\">Item 2</div>\n <div class=\"item\">Item 3</div>\n <div class=\"item\">Item 4</div>\n </SlidingPanel>\n</template>\n\n<script>\nimport { SlidingPanel } from '@empathyco/x-components'\n\nexport default {\n name: 'SlidingPanelDemo',\n components: {\n SlidingPanel,\n },\n}\n</script>\n\n<style>\n.x-sliding-panel {\n width: 200px;\n}\n\n.item {\n display: inline-block;\n width: 100px;\n}\n</style>\n```\n\n#### Hiding scroll buttons\n\nHide the navigational buttons completely by setting the `showButtons` prop to `false`. This is\nintended to be used when other scrolling options are available, like in mobile, where you can scroll\njust by swiping.\n\n```vue\n<template>\n <SlidingPanel :showButtons=\"false\">\n <div class=\"item\">Item 1</div>\n <div class=\"item\">Item 2</div>\n <div class=\"item\">Item 3</div>\n <div class=\"item\">Item 4</div>\n </SlidingPanel>\n</template>\n\n<script>\nimport { SlidingPanel } from '@empathyco/x-components'\n\nexport default {\n name: 'SlidingPanelDemo',\n components: {\n SlidingPanel,\n },\n}\n</script>\n\n<style>\n.x-sliding-panel {\n width: 200px;\n}\n\n.item {\n display: inline-block;\n width: 100px;\n}\n</style>\n```\n\n#### Customizing the content with classes\n\nThe `buttonClass` prop can be used to add classes to the buttons.\n\nThe `scrollContainerClass` prop can be used to add classes to the scroll content.\n\n```vue\n<template>\n <SlidingPanel buttonClass=\"x-button--round\" scrollContainerClass=\"x-sliding-panel-fade\">\n <div class=\"item\">Item 1</div>\n <div class=\"item\">Item 2</div>\n <div class=\"item\">Item 3</div>\n <div class=\"item\">Item 4</div>\n </SlidingPanel>\n</template>\n\n<script>\nimport { SlidingPanel } from '@empathyco/x-components'\n\nexport default {\n name: 'SlidingPanelDemo',\n components: {\n SlidingPanel,\n },\n}\n</script>\n\n<style>\n.x-sliding-panel {\n width: 200px;\n}\n\n.item {\n display: inline-block;\n width: 100px;\n}\n</style>\n```\n\n#### Disabling reset the scroll when content changes\n\nBy default, whenever the content of the sliding panel changes, it auto resets its scroll position.\nYou can disable this behavior setting the `resetOnContentChange` prop to `false`.\n\n```vue\n<template>\n <div>\n <button @click=\"items++\">Add item</button>\n <label>\n <input type=\"checkbox\" v-model=\"resetOnContentChange\" />\n Reset content onchange\n </label>\n <SlidingPanel :resetOnContentChange=\"resetOnContentChange\">\n <div class=\"item\" v-for=\"item in items\" :key=\"item\">Item {{ item }}</div>\n </SlidingPanel>\n </div>\n</template>\n\n<script>\nimport { SlidingPanel } from '@empathyco/x-components'\n\nexport default {\n name: 'SlidingPanelDemo',\n components: {\n SlidingPanel,\n },\n data() {\n return {\n items: 4,\n resetOnContentChange: false,\n }\n },\n}\n</script>\n\n<style>\n.x-sliding-panel {\n width: 200px;\n}\n\n.item {\n display: inline-block;\n width: 100px;\n}\n</style>\n```\n\n## Extending the component\n\n### Overriding Button content\n\nBy default the buttons show an arrow depicting the direction the scroll would go to when clicked,\nbut this content can be customized with anything, from characters to SVG and images.\n\n```vue\n<template>\n <SlidingPanel>\n <template #sliding-panel-left-button>Left</template>\n <template #default>\n <div class=\"item\">Item 1</div>\n <div class=\"item\">Item 2</div>\n <div class=\"item\">Item 3</div>\n <div class=\"item\">Item 4</div>\n </template>\n <template #sliding-panel-right-button>Right</template>\n </SlidingPanel>\n</template>\n\n<script>\nimport { SlidingPanel } from '@empathyco/x-components'\n\nexport default {\n name: 'SlidingPanelDemo',\n components: {\n SlidingPanel,\n },\n}\n</script>\n\n<style>\n.x-sliding-panel {\n width: 200px;\n}\n\n.item {\n display: inline-block;\n width: 100px;\n}\n</style>\n```\n</docs>\n"],"names":[],"mappings":";;;AA+CA;;;;;;;;;AASE;AACF,gBAAe,eAAe,CAAC;AAC7B,IAAA,IAAI,EAAE,cAAc;AACpB,IAAA,KAAK,EAAE;AACL;;AAEE;AACF,QAAA,YAAY,EAAE;AACZ,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,OAAO,EAAE,GAAG;AACb,SAAA;;AAED,QAAA,WAAW,EAAE;AACX,YAAA,IAAI,EAAE,OAAO;AACb,YAAA,OAAO,EAAE,IAAI;AACd,SAAA;AACD;;;AAGE;AACF,QAAA,oBAAoB,EAAE;AACpB,YAAA,IAAI,EAAE,OAAO;AACb,YAAA,OAAO,EAAE,IAAI;AACd,SAAA;QACD,WAAW,EAAE,EAAE,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,GAA8B;QACzE,oBAAoB,EAAE,EAAE,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,GAA8B;AACnF,KAAA;AACD,IAAA,KAAK,CAAC,KAAK,EAAE,EAAE,KAAI,EAAG,EAAA;AACpB,QAAA,MAAM,kBAAmB,GAAE,GAAG,EAAiB,CAAA;QAE/C,MAAM,EAAE,KAAK,EAAE,kBAAmB,EAAA,GAAI,kBAAkB,CAAC,kBAAkB,CAAA,CAAA;AAC3E,QAAA,MAAM,YAAY,oBAAoB,CAAC,kBAAkB,CAAA,CAAA;AAEzD,QAAA,MAAM,EACJ,CAAC,EAAE,OAAO,EACV,YAAY,EACZ,OAAO,GACT,GAAI,SAAS,CAAC,kBAAkB,EAAE;AAChC,YAAA,QAAQ,EAAE,QAAQ;AACnB,SAAA,CAAA,CAAA;;AAGD,QAAA,MAAM,UAAS,GAAI,QAAQ,CAAC,OAAO;YACjC,0BAA0B,EAAE,YAAY,CAAC,IAAI;YAC7C,wBAAwB,EAAE,YAAY,CAAC,KAAK;AAC7C,SAAA,CAAC,CAAA,CAAA;AAEF,QAAA,IAAI,KAAK,CAAC,oBAAoB,EAAE;AAC9B,YAAA,mBAAmB,CACjB,kBAAkB,EAClB,SAAU,IAAG;AACX,gBAAA,IAAI,SAAS,CAAC,MAAO,GAAE,CAAC,EAAE;AACxB,oBAAA,OAAO,CAAC,KAAI,GAAI,CAAA,CAAA;iBAClB;AACF,aAAC,EACD;AACE,gBAAA,OAAO,EAAE,IAAI;AACb,gBAAA,SAAS,EAAE,IAAI;AACf,gBAAA,UAAU,EAAE,KAAK;AACjB,gBAAA,aAAa,EAAE,KAAK;AACrB,aAAA,CACH,CAAA;SACF;;AAEA,QAAA,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAA,CAAA;QAE3B,OAAO;YACL,YAAY;YACZ,UAAU;YACV,kBAAkB;YAClB,kBAAkB;YAClB,OAAO;YACP,KAAK;SACP,CAAA;KACD;AACF,CAAA,CAAA;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import injectCss from '../../tools/inject-css.js';
|
|
2
2
|
|
|
3
|
-
var css = ".x-sliding-panel[data-v-9402d5ce]{align-items:center;display:flex;flex-flow:row nowrap;position:relative}.x-sliding-panel__button[data-v-9402d5ce]{opacity:0;pointer-events:none;position:absolute;transition:all .2s ease-out;z-index:2}.x-sliding-panel-button-left[data-v-9402d5ce]{left:0}.x-sliding-panel-button-right[data-v-9402d5ce]{right:0}.x-sliding-panel__scroll[data-v-9402d5ce]{-ms-overflow-style:none;display:flex;flex:100%;flex-flow:row nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.x-sliding-panel__scroll[data-v-9402d5ce]::-webkit-scrollbar{display:none}.x-sliding-panel__scroll[data-v-9402d5ce]>*{flex:0 0 auto}.x-sliding-panel:not(.x-sliding-panel-show-buttons-on-hover):not(.x-sliding-panel-at-end) .x-sliding-panel-button-right[data-v-9402d5ce],.x-sliding-panel:not(.x-sliding-panel-show-buttons-on-hover):not(.x-sliding-panel-at-start) .x-sliding-panel-button-left[data-v-9402d5ce]{opacity:1;pointer-events:all}";
|
|
3
|
+
var css = ".x-sliding-panel[data-v-9402d5ce]{align-items:center;display:flex;flex-flow:row nowrap;position:relative}.x-sliding-panel__button[data-v-9402d5ce]{opacity:0;pointer-events:none;position:absolute;transition:all .2s ease-out;z-index:2}.x-sliding-panel-button-left[data-v-9402d5ce]{left:var(--x-sliding-panel-buttons-distance,0)}.x-sliding-panel-button-right[data-v-9402d5ce]{right:var(--x-sliding-panel-buttons-distance,0)}.x-sliding-panel__scroll[data-v-9402d5ce]{-ms-overflow-style:none;display:flex;flex:100%;flex-flow:row nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.x-sliding-panel__scroll[data-v-9402d5ce]::-webkit-scrollbar{display:none}.x-sliding-panel__scroll[data-v-9402d5ce]>*{flex:0 0 auto}.x-sliding-panel:not(.x-sliding-panel-show-buttons-on-hover):not(.x-sliding-panel-at-end) .x-sliding-panel-button-right[data-v-9402d5ce],.x-sliding-panel:not(.x-sliding-panel-show-buttons-on-hover):not(.x-sliding-panel-at-start) .x-sliding-panel-button-left[data-v-9402d5ce]{opacity:1;pointer-events:all}";
|
|
4
4
|
injectCss(css);
|
|
5
5
|
|
|
6
6
|
export { css, css as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snippet-callbacks.vue.js","sources":["../../../src/components/snippet-callbacks.vue"],"sourcesContent":["<template>\n <GlobalXBus :listeners=\"eventListeners\" />\n</template>\n\n<script lang=\"ts\">\
|
|
1
|
+
{"version":3,"file":"snippet-callbacks.vue.js","sources":["../../../src/components/snippet-callbacks.vue"],"sourcesContent":["<template>\n <GlobalXBus :listeners=\"eventListeners\" />\n</template>\n\n<script lang=\"ts\">\nimport type { WireMetadata } from '../wiring'\nimport type { SnippetConfig, XEventListeners } from '../x-installer/api/api.types'\nimport { map } from '@empathyco/x-utils'\nimport { computed, defineComponent, inject } from 'vue'\nimport { useXBus } from '../composables/use-x-bus'\nimport GlobalXBus from './global-x-bus.vue'\n\n/**\n * This component subscribes to any {@link XEvent} with a custom callbacks provided by the snippet\n * configuration.\n *\n * @public\n */\nexport default defineComponent({\n name: 'SnippetCallbacks',\n components: { GlobalXBus },\n setup() {\n const xBus = useXBus()\n\n /**\n * Injects {@link SnippetConfig} provided by an ancestor as snippetConfig.\n *\n * @internal\n */\n const snippetConfig = inject<SnippetConfig>('snippetConfig')\n\n /**\n * It maps all the callbacks provided by the snippetConfig and adds an emit to each one.\n *\n * @returns The event listeners with the {@link XEventsTypes.SnippetCallbackExecuted} emit in\n * the callback.\n *\n * @internal\n *\n */\n const eventListeners = computed<XEventListeners>(() => {\n const callbacks = snippetConfig?.callbacks\n\n return callbacks\n ? map(callbacks, (eventName, callback) => {\n return (payload: unknown, metadata: WireMetadata) => {\n const callbackReturn = callback(payload as never, metadata)\n xBus.emit('SnippetCallbackExecuted', {\n event: eventName,\n callbackReturn,\n payload: payload as never,\n metadata,\n })\n }\n })\n : ({} as XEventListeners)\n })\n\n return { eventListeners }\n },\n})\n</script>\n\n<docs lang=\"mdx\">\n## Events\n\nThe `SnippetCallbacks` will emit these events:\n\n- [`SnippetCallbackExecuted`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts):\n each time a callback provided by the snippetConfig is fired.\n\n## See it in action\n\nThis component does not render anything. Its only responsibility is to receive any callback that\nwill be triggered once its listened event is emitted.\n\n```vue\n<template>\n <SnippetCallbacks />\n</template>\n\n<script>\nimport { SnippetCallbacks } from '@empathyco/x-components'\nexport default {\n name: 'SnippetCallbacksTest',\n components: {\n SnippetCallbacks,\n },\n}\n</script>\n```\n</docs>\n"],"names":["_createBlock"],"mappings":";;;;;;sBACEA,WAA0C,CAAA,qBAAA,EAAA,EAA7B,WAAW,IAAc,CAAA,cAAA,EAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,WAAA,CAAA,CAAA,CAAA;;;;;;"}
|