1import{oa as k}from"./chunk-53C2BKEB.js";import{Ba as b,Db as o,Gc as x,Ic as u,Vc as l,Wc as d,dc as m,ed as y,hc as C,ic as f,lc as v,qc as p,ua as h,vc as s,wc as a}from"./chunk-3UDGN2PZ.js";function w(t,i){if(t&1&&(s(0,"mat-icon",2),l(1),a()),t&2){let c=u();o(),d(c.icon)}}function _(t,i){if(t&1&&(s(0,"mat-icon",2),l(1),a()),t&2){let c=u();o(),d(c.icon)}}var T=(()=>{let i=class i{constructor(){this.label="Button",this.icon="",this.iconPosition="start",this.primary=!0,this.disabled=!1,this.customColor="",this.btnClick=new h}get buttonClasses(){let n="flex items-center gap-2 px-[25px] py-[5px] rounded font-semibold transition-colors zoom-on-hover h-[50px]";return this.customColor?`${n} ${this.customColor} text-white shadow-sm hover:shadow-md border-2 py-2`:this.primary?`${n} bg-[#1394db] hover:bg-[#1394db]/90 text-white shadow-sm hover:shadow-md border-2 border-[#1394db]`:`${n} text-red-600 hover:bg-red-50 shadow-sm hover:shadow-md border-2 border-gray-200`}handleClick(){this.disabled||this.btnClick.emit()}};i.\u0275fac=function(r){return new(r||i)},i.\u0275cmp=b({type:i,selectors:[["app-shared-button"]],inputs:{label:"label",icon:"icon",iconPosition:"iconPosition",primary:"primary",disabled:"disabled",customColor:"customColor"},outputs:{btnClick:"btnClick"},standalone:!0,features:[y],decls:5,vars:8,consts:[[3,"disabled","click"],["class","shrink-0"],[1,"shrink-0"]],template:function(r,e){r&1&&(s(0,"button",0),x("click",function(){return e.handleClick()}),m(1,w,2,1,"mat-icon",1),s(2,"span"),l(3),a(),m(4,_,2,1,"mat-icon",1),a()),r&2&&(v(e.buttonClasses),f("cursor",e.disabled?"not-allowed":"pointer"),C("disabled",e.disabled),o(),p(1,e.icon&&e.iconPosition==="start"?1:-1),o(2),d(e.label),o(),p(4,e.icon&&e.iconPosition==="end"?4:-1))},dependencies:[k]});let t=i;return t})();export{T as a};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.