import{Eb as d,Fb as c,Gc as C,Sa as o,eb as a,ga as l,ob as u,pb as p,ta as r,tc as m}from"./chunk-GKQGDBUU.js";import{i as n}from"./chunk-QVFSZZWQ.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:42345378061bf3c93df67acfa161b751a7b03cc91f3ede7c1f1cdf2bba62fe26*/
//# sourceMappingURL=chunk-PBWCQDPD.js.map
