import{$ as d,Fb as w,Ha as s,Ja as l,Pb as E,Pf as N,Qf as Q,Rb as A,Ta as r,Ua as a,V as f,Va as I,Za as S,Zb as F,aa as C,ab as v,cb as c,da as g,ea as _,jb as y,jg as R,kb as x,la as b,lb as M,mc as T,mg as V,ob as h,pb as u,qb as B,rb as k,ta as m}from"./chunk-PAINK2EC.js";var j=["button"];function D(t,p){if(t&1&&(r(0,"mat-icon"),u(1),a()),t&2){let o=c();m(),B(o.customIcon)}}function q(t,p){if(t&1&&I(0,"mat-icon",5),t&2){let o=c(2);l("svgIcon",o.customSvg)}}function O(t,p){if(t&1&&s(0,q,1,1,"mat-icon",4),t&2){let o=c();l("ngIf",o.customSvg)}}var P=(()=>{class t{constructor(){this.disabled=!1,this.color=T.PRIMARY,this.clickAction=new b}onClick(){this.clickAction.emit()}setFocus(){this.button.focus()}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275cmp=d({type:t,selectors:[["abs-button-small"]],viewQuery:function(e,n){if(e&1&&y(j,5),e&2){let i;x(i=M())&&(n.button=i.first)}},inputs:{disabled:"disabled",color:"color",customIcon:"customIcon",customSvg:"customSvg",customLabel:"customLabel",customClass:"customClass"},outputs:{clickAction:"clickAction"},decls:6,vars:6,consts:[["button",""],["displaySvg",""],["mat-stroked-button","","type","button",1,"abs-button-small-inner-button",3,"click","color","disabled","ngClass"],[4,"ngIf","ngIfElse"],[3,"svgIcon",4,"ngIf"],[3,"svgIcon"]],template:function(e,n){if(e&1){let i=S();r(0,"button",2,0),v("click",function(){return g(i),_(n.onClick())}),s(2,D,2,1,"mat-icon",3)(3,O,1,1,"ng-template",null,1,w),u(5),a()}if(e&2){let i=h(4);l("color",n.color)("disabled",n.disabled)("ngClass",n.customClass),m(2),l("ngIf",n.customIcon)("ngIfElse",i),m(3),k(" ",n.customLabel,`
`)}},dependencies:[E,A,R,N],encapsulation:2})}}return t})();var Y=(()=>{class t{static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275mod=C({type:t})}static{this.\u0275inj=f({imports:[F,V,Q]})}}return t})();export{P as a,Y as b};
