import{Ar as Tu,Eo as kb,Gr as Va,Za as gx,_s as ph,fo as ih,ga as ci,pr as S3,ss as oh,vc as wp}from"./chunk-B_pj7Jpm.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=Va({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),kb()),t&2&&gx(`ngClass`,C.builtClasses)},dependencies:[S3],encapsulation:2,changeDetection:1})};export{c as t};
//# debugId=5b71e43e-5beb-5787-9793-800b0cc0b103
//# sourceMappingURL=chunk-D7eF6KoS2.js.map