import{Ac as C,Cb as d,Db as c,Ra as o,db as a,fa as l,mb as u,nb as p,nc as m,sa as r}from"./chunk-WVVK4EBY.js";import{i as n}from"./chunk-LV2JZWXA.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:b046b42d3b2db5c4a6153f28081b96130c38e9218feb7118271ff63b274934c4*/
//# sourceMappingURL=chunk-L6E3ZWM6.js.map
