import{Kr as Tu,_s as ph,go as ih,gt as Ex,k as Bb,ls as oh,nr as O3,s as $a,ya as ci,yc as wp}from"./chunk-b0nJCs5_.js";var g=[`*`];var c=class s{type=ph.required();rounded=ph(!0,{transform:Tu});builtClasses=``;ngOnInit(){this.buildClasses()}ngOnChanges(){this.buildClasses()}buildClasses(){this.builtClasses=`alert`;let e=this.type();e===`primary`?this.builtClasses+=` pt-alert-primary`:this.builtClasses+=` alert-`+e,this.rounded()!==!0&&(this.builtClasses+=` rounded-0`)}static ɵfac=function(t){return new(t||s)};static ɵcmp=$a({type:s,selectors:[[`my-alert`]],inputs:{type:[1,`type`],rounded:[1,`rounded`]},features:[ci],ngContentSelectors:g,decls:2,vars:1,consts:[[`role`,`alert`,1,`w-100`,3,`ngClass`]],template:function(t,C){t&1&&(oh(),wp(0,`div`,0),ih(1),Bb()),t&2&&Ex(`ngClass`,C.builtClasses)},dependencies:[O3],encapsulation:2,changeDetection:1})};export{c as t};
//# debugId=3bb58ead-474c-52f4-866b-28365f89d1d7
//# sourceMappingURL=chunk-DNBjyHdz2.js.map