import{d as u}from"./chunk-33U2WDYB.js";import{Hc as l,Yb as s,Zb as n,fc as a,lb as r,oa as i,vc as c}from"./chunk-7RF4FE4V.js";var S=(()=>{class t{constructor(e){this.toastr=e}showOnSuccess(){this.toastr.success("Successfully Added....","Success")}static{this.\u0275fac=function(o){return new(o||t)(r(u))}}static{this.\u0275cmp=i({type:t,selectors:[["app-toastalert"]],standalone:!0,features:[l],decls:4,vars:0,consts:[["cButton","","color","success",1,"m-1",3,"click"]],template:function(o,m){o&1&&(s(0,"p"),c(1,"toastalert works!"),n(),s(2,"button",0),a("click",function(){return m.showOnSuccess()}),c(3," Add toast "),n())}})}}return t})();export{S as a};
