import{Db as d,Eb as c,Fc as C,Sa as o,eb as a,ga as l,nb as u,ob as p,sc as m,ta as r}from"./chunk-EWB56PWF.js";import{i as n}from"./chunk-2T7OYDCL.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:85d030b7fdd36d163c6d41dcef9178681a6baa573eb199e8b12fe27dbb057a98*/
//# sourceMappingURL=chunk-MH4MFR45.js.map
