import{Tc as F,Uc as E,d as A,nd as L,pd as Q}from"./chunk-ATD4AEXQ.js";import{$a as b,Bb as a,Ec as w,Fb as I,Gb as y,Hb as B,Ka as l,Kc as h,Qb as r,Rb as k,Sb as x,Ta as f,Ua as C,da as u,hb as S,ib as v,ja as p,ka as d,nb as m,ob as c,pb as s,qb as _,xb as g,zb as M}from"./chunk-BXH3QC5E.js";var N=["button"];function R(t,T){if(t&1&&(c(0,"mat-icon"),r(1),s()),t&2){let n=a();l(),k(n.customIcon)}}function j(t,T){if(t&1&&_(0,"mat-icon",2),t&2){let n=a();m("svgIcon",n.customSvg)}}var D=(()=>{class t{disabled=!1;color=A.PRIMARY;customIcon;customSvg;customLabel;customClass;clickAction=new b;button;onClick(){this.clickAction.emit()}setFocus(){this.button.focus()}static \u0275fac=function(o){return new(o||t)};static \u0275cmp=f({type:t,selectors:[["abs-button-small"]],viewQuery:function(o,e){if(o&1&&I(N,5),o&2){let i;y(i=B())&&(e.button=i.first)}},inputs:{disabled:"disabled",color:"color",customIcon:"customIcon",customSvg:"customSvg",customLabel:"customLabel",customClass:"customClass"},outputs:{clickAction:"clickAction"},standalone:!1,decls:5,vars:5,consts:[["button",""],["mat-stroked-button","","type","button",1,"abs-button-small-inner-button",3,"click","color","disabled","ngClass"],[3,"svgIcon"]],template:function(o,e){if(o&1){let i=g();c(0,"button",1,0),M("click",function(){return p(i),d(e.onClick())}),S(2,R,2,1,"mat-icon")(3,j,1,1,"mat-icon",2),r(4),s()}o&2&&(m("color",e.color)("disabled",e.disabled)("ngClass",e.customClass),l(2),v(e.customIcon?2:e.customSvg?3:-1),l(2),x(" ",e.customLabel,`
`))},dependencies:[w,L,F],encapsulation:2})}return t})();var q=(()=>{class t{static \u0275fac=function(o){return new(o||t)};static \u0275mod=C({type:t});static \u0275inj=u({imports:[h,Q,E]})}return t})();export{D as a,q as b};
