import{Cb as d,Db as c,Dc as C,Ra as o,db as a,fa as l,mb as u,nb as p,qc as m,sa as r}from"./chunk-2GYONVCW.js";import{i as n}from"./chunk-6PUAHDUH.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:7c691147a9ded88b46d9cd2285c6afa220006ce26eb0d02eb4522192723b6cd8*/
//# sourceMappingURL=chunk-BEGTVY6X.js.map
