import{Ec as r,Kb as p,Lb as c,Mc as m,Na as a,Wc as C,mb as l,nb as d,ob as u,ra as o}from"./chunk-OTZZLUAJ.js";import{i}from"./chunk-XYZYVFXE.js";var g=["*"],D=(()=>{let e=class e{type=r.required();rounded=r(!0,{transform:m});builtClasses="";ngOnInit(){this.buildClasses()}ngOnChanges(){this.buildClasses()}buildClasses(){this.builtClasses="alert";let t=this.type();t==="primary"?this.builtClasses+=" pt-alert-primary":this.builtClasses+=" alert-"+t,this.rounded()!==!0&&(this.builtClasses+=" rounded-0")}};i(e,"\u0275fac",function(s){return new(s||e)}),i(e,"\u0275cmp",a({type:e,selectors:[["my-alert"]],inputs:{type:[1,"type"],rounded:[1,"rounded"]},features:[o],ngContentSelectors:g,decls:2,vars:1,consts:[["role","alert",1,"w-100",3,"ngClass"]],template:function(s,f){s&1&&(p(),d(0,"div",0),c(1),u()),s&2&&l("ngClass",f.builtClasses)},dependencies:[C],encapsulation:2}));let n=e;return n})();export{D as a};
/**i18n:4caeb8e7a09648a9cf35d6229af8a685b503a6e2123779e5b0c4fb7602981338*/
//# sourceMappingURL=chunk-KKQXMHTD.js.map
