import{t as y}from"./chunk-5LNVJOPW.js";import"./chunk-EH6BMKEM.js";import"./chunk-UCNYMQO5.js";import"./chunk-5HGRIELQ.js";import{Dc as b,Ea as p,X as s,ca as a,la as r,ma as l,rb as c,ta as u,ua as m,va as d,vb as f,wb as n}from"./chunk-KJR5XMLG.js";import"./chunk-WNQ4N7RJ.js";import"./chunk-J3L46KAS.js";var g=class i{closeEmitter=f();swipeThreshold=500;buttons=n(new Set(["1","2","3","4","5","6","7","8","9","10"]));mode=n("blacklist");extraButtons=n([]);overlayId=n("");extraButtonsAll=c(()=>[...this.extraButtons(),{Boton:"CLOSEMENU",Descripcion:$localize`:@@close:Close`,fontIcon:"close",ariaLabel:"close icon",loading:!1}]);closeFn(o){this.closeEmitter.emit(o)}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=a({type:i,selectors:[["app-button-menu-component"]],hostBindings:function(e,t){e&1&&(r("animate-slideInY"),l("animate-slideOutY"))},inputs:{buttons:[1,"buttons"],mode:[1,"mode"],extraButtons:[1,"extraButtons"],overlayId:[1,"overlayId"]},outputs:{closeEmitter:"closeEmitter"},decls:4,vars:4,consts:[[1,"fixed","inset-0","flex","items-center","justify-center"],[1,"bg-primary-900","border-secondary-500","desktop:max-h-9/12","desktop:max-w-5/12","flex","h-auto","max-h-[70vh]","w-10/12","max-w-[400px]","flex-col","items-center","overflow-y-auto","rounded-2xl","border-2","p-2"],[1,"h-auto","w-full"],["containerClass","product-grid !pb-0 desktop:min-h-70","buttonClass","product-grid-item","iconClass","flex h-[8vh] max-h-16 aspect-square items-center justify-center desktop:rounded-3xl rounded-2xl bg-primary-700 mb-1",3,"clickFinished","mode","showDescription","inputButtons","extraButtons"]],template:function(e,t){e&1&&(m(0,"div",0)(1,"div",1)(2,"div",2)(3,"app-buttons-component",3),p("clickFinished",function(v){return t.closeFn(v)}),d()()()()),e&2&&(s(3),u("mode",t.mode())("showDescription",!0)("inputButtons",t.buttons())("extraButtons",t.extraButtonsAll()))},dependencies:[b,y],encapsulation:2,changeDetection:0})};export{g as ButtonMenuComponent};
