import{$a as l,La as r,Ra as o,fc as m,ha as n,ib as a,jb as u,tc as c,yb as p,zb as d}from"./chunk-4JM6MIZ5.js";import{i}from"./chunk-QJQRWPYR.js";var g=["*"],D=(()=>{let e=class e{type;rounded=!0;builtClasses="";ngOnInit(){this.buildClasses()}ngOnChanges(){this.buildClasses()}buildClasses(){this.builtClasses="alert",this.type==="primary"?this.builtClasses+=" pt-alert-primary":this.builtClasses+=" alert-"+this.type,this.rounded!==!0&&(this.builtClasses+=" rounded-0")}};i(e,"\u0275fac",function(t){return new(t||e)}),i(e,"\u0275cmp",r({type:e,selectors:[["my-alert"]],inputs:{type:"type",rounded:[2,"rounded","rounded",m]},features:[o,n],ngContentSelectors:g,decls:2,vars:1,consts:[["role","alert",1,"w-100",3,"ngClass"]],template:function(t,C){t&1&&(p(),a(0,"div",0),d(1),u()),t&2&&l("ngClass",C.builtClasses)},dependencies:[c],encapsulation:2}));let s=e;return s})();export{D as a};
/**i18n:68865f44f2a527c44cf5136a17c76a0ff8308c2bae5c7c8d50070a5fb9847c44*/
//# sourceMappingURL=chunk-YXDC36MS.js.map
