import{a as _,b as u,h}from"./chunk-BQPO535K.js";import{b as g,c as M}from"./chunk-U5Y75IZ5.js";import{Ad as C,Ib as i,Jb as a,Kb as f,Lb as p,Sa as r,Xb as c,Za as d,eb as t,ib as s}from"./chunk-GJDGQISV.js";var O=class l{constructor(o,n){this.data=o;this.dialogRef=n;this.modalConfig=new g,this.modalConfig.title=o.title,this.modalConfig.headerType=o.headerType,this.modalConfig.okText=o.okText?o.okText:"OK",this.modalConfig.hideFooter=o.hideFooter?o.hideFooter:!1}modalConfig;onOk(){this.dialogRef.close(!0)}onClose(){this.dialogRef.close(!1)}static \u0275fac=function(n){return new(n||l)(t(u),t(_))};static \u0275cmp=s({type:l,selectors:[["app-confirmation-modal"]],decls:4,vars:2,consts:[[3,"onClose","onCancel","onOk","config"],[1,"container-fluid","modal-info"],[3,"innerHTML"]],template:function(n,e){n&1&&(a(0,"modal-material",0),c("onClose",function(){return e.onClose()})("onCancel",function(){return e.onClose()})("onOk",function(){return e.onOk()}),a(1,"content")(2,"div",1),p(3,"div",2),f()()()),n&2&&(i("config",e.modalConfig),d(3),i("innerHTML",e.data==null?null:e.data.message,r))},dependencies:[h,C,M],styles:[".modal-info[_ngcontent-%COMP%]   .empty-state-img[_ngcontent-%COMP%]{width:100px}.modal-info[_ngcontent-%COMP%]   .img-1x[_ngcontent-%COMP%]{width:12rem}.modal-info[_ngcontent-%COMP%]   .img-2x[_ngcontent-%COMP%]{width:10rem}.modal-info[_ngcontent-%COMP%]   .img-3x[_ngcontent-%COMP%]{width:8rem}"]})};export{O as a};
