import{Cb as p,Db as m,Fc as c,Ka as a,Oc as C,eb as l,fb as u,gb as d,oa as o,yc as r}from"./chunk-CUA2BO3S.js";import{i}from"./chunk-75J4RO44.js";var b=["*"],D=(()=>{let e=class e{type=r.required();rounded=r(!0,{transform:c});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")}};i(e,"\u0275fac",function(s){return new(s||e)}),i(e,"\u0275cmp",a({type:e,selectors:[["my-alert"]],inputs:{type:[1,"type"],rounded:[1,"rounded"]},features:[o],ngContentSelectors:b,decls:2,vars:1,consts:[["role","alert",1,"w-100",3,"ngClass"]],template:function(s,f){s&1&&(p(),u(0,"div",0),m(1),d()),s&2&&l("ngClass",f.builtClasses)},dependencies:[C],encapsulation:2}));let n=e;return n})();export{D as a};
/**i18n:42440f0a8726af1836b15b193adfd3f46a3ecd983a1ed2a1e05982c4f600c8a1*/
//# sourceMappingURL=chunk-HLOOXAIQ.js.map
