import{a as E}from"./chunk-72HORKXP.js";import{a as O}from"./chunk-SQMWYYIH.js";import{a as S}from"./chunk-OIB33BTV.js";import{a as C}from"./chunk-F6AHCJAP.js";import{a as D}from"./chunk-WJLIXXN3.js";import"./chunk-IOKWCZEB.js";import"./chunk-3PTVMOA6.js";import"./chunk-BLIS2XXD.js";import"./chunk-3S3T7QLT.js";import"./chunk-JLQUTBFH.js";import"./chunk-JEKS3WOF.js";import"./chunk-GAOYV53E.js";import"./chunk-W6JPMHYE.js";import"./chunk-VPS35GPI.js";import"./chunk-UGBMCXS6.js";import"./chunk-5TTXT2K2.js";import"./chunk-YNQPX5G6.js";import"./chunk-IEJVBN5K.js";import"./chunk-HLLBCLO6.js";import"./chunk-4P6SOZDY.js";import"./chunk-XN7T54IM.js";import"./chunk-RULWGB4E.js";import"./chunk-2HIDUY57.js";import"./chunk-HY3IUHOC.js";import"./chunk-4AEX2WLA.js";import"./chunk-2MELUOYA.js";import"./chunk-WOPE6PPO.js";import{E as y,h as M,o as h}from"./chunk-MDIMQ3H3.js";import"./chunk-MWDJTJ3O.js";import"./chunk-3DEA4WWC.js";import"./chunk-TKVDP62Z.js";import{Ib as o,Jb as r,Kb as a,Sd as c,Tc as f,Za as i,ib as g,ra as m,rc as d,sc as l,tc as p}from"./chunk-GJDGQISV.js";import"./chunk-WFMAM73Y.js";import"./chunk-SNAKHGZS.js";var v=class s{activatedRoute=m(c);settings=m(D);formData=f(()=>this.settings.formData());options=f(()=>this.settings.options());configDefault=f(()=>this.settings.configDefault());constructor(){this.settings.initFormData(this.activatedRoute)}static \u0275fac=function(n){return new(n||s)};static \u0275cmp=g({type:s,selectors:[["POS-end-of-month-report"]],decls:8,vars:14,consts:[["cardTitle","Basic Settings","id","basicSettingsEndOfMonthReport"],[1,"row"],[1,"col-12"],["bindLabel","Name","bindValue","ID",3,"ngModelChange","label","options","ngModel","isHorizontalLayout","description"],[3,"ngModelChange","label","type","ngModel","isHorizontalLayout","description"],[3,"ngModelChange","label","description","ngModel","defaultConfig"]],template:function(n,e){n&1&&(r(0,"POS-card",0)(1,"div",1)(2,"div",2)(3,"POS-input-select",3),p("ngModelChange",function(t){return l(e.formData().EndOfMonthMail.ReceiverGroup,t)||(e.formData().EndOfMonthMail.ReceiverGroup=t),t}),a()(),r(4,"div",2)(5,"POS-input-field",4),p("ngModelChange",function(t){return l(e.formData().EndOfMonthMail.EmailSubject,t)||(e.formData().EndOfMonthMail.EmailSubject=t),t}),a()(),r(6,"div",2)(7,"POS-input-toggle",5),p("ngModelChange",function(t){return l(e.formData().EndOfMonthMail.AttachDeferredRevenue,t)||(e.formData().EndOfMonthMail.AttachDeferredRevenue=t),t}),a()()()()),n&2&&(i(3),o("label","Group to Receive EoM Mail")("options",e.options().Groups),d("ngModel",e.formData().EndOfMonthMail.ReceiverGroup),o("isHorizontalLayout",!0)("description","Configure the group of users to which the end-of-month report email will be sent."),i(2),o("label","Email Subject")("type","text"),d("ngModel",e.formData().EndOfMonthMail.EmailSubject),o("isHorizontalLayout",!0)("description","Configure the default subject line for the end-of-month report email."),i(2),o("label","Attach Deferred Revenue")("description","Attach deferred revenue in EOM Report"),d("ngModel",e.formData().EndOfMonthMail.AttachDeferredRevenue),o("defaultConfig",e.configDefault().EndOfMonthMail.AttachDeferredRevenue))},dependencies:[C,E,y,M,h,O,S],encapsulation:2})};export{v as EndOfMonthReportComponent};
