import{Dc as C,Fb as d,Gb as c,Sa as o,ga as l,gb as a,pb as u,pc as m,qb as p,ta as r}from"./chunk-7W5IJG57.js";import{i as n}from"./chunk-RB5FWREQ.js";var y=["*"],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")}};n(e,"\u0275fac",function(s){return new(s||e)}),n(e,"\u0275cmp",o({type:e,selectors:[["my-alert"]],inputs:{type:[1,"type"],rounded:[1,"rounded"]},features:[l],ngContentSelectors:y,decls:2,vars:1,consts:[["role","alert",1,"w-100",3,"ngClass"]],template:function(s,f){s&1&&(d(),u(0,"div",0),c(1),p()),s&2&&a("ngClass",f.builtClasses)},dependencies:[C],encapsulation:2}));let i=e;return i})();export{D as a};
/**i18n:3558f4fa3a6acf6a8a484a0589828971efacd00f9f89386e64ec00a5fc269cc5*/
//# sourceMappingURL=chunk-P6IZY6NM.js.map
