import{a as M}from"./chunk-72HORKXP.js";import{a as v}from"./chunk-OIB33BTV.js";import{a as D}from"./chunk-F6AHCJAP.js";import{a as C}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-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 P,h as u,o as y}from"./chunk-MDIMQ3H3.js";import"./chunk-MWDJTJ3O.js";import"./chunk-3DEA4WWC.js";import"./chunk-TKVDP62Z.js";import{Ib as o,Jb as d,Kb as p,Sd as c,Tc as i,Za as r,ib as f,ra as a,rc as l,sc as m,tc as s}from"./chunk-GJDGQISV.js";import"./chunk-WFMAM73Y.js";import"./chunk-SNAKHGZS.js";var h=class g{activatedRoute=a(c);settings=a(C);formData=i(()=>this.settings.formData());options=i(()=>this.settings.options());configDefault=i(()=>this.settings.configDefault());constructor(){this.settings.initFormData(this.activatedRoute)}static \u0275fac=function(n){return new(n||g)};static \u0275cmp=f({type:g,selectors:[["POS-payment"]],decls:8,vars:9,consts:[["cardTitle","Header","id","headerPayment"],[1,"row"],[1,"col-12"],[3,"ngModelChange","label","type","ngModel","isHorizontalLayout","description"],["cardTitle","Body","id","bodyPayment"],[3,"ngModelChange","label","description","ngModel","defaultConfig"]],template:function(n,e){n&1&&(d(0,"POS-card",0)(1,"div",1)(2,"div",2)(3,"POS-input-field",3),s("ngModelChange",function(t){return m(e.formData().Header,t)||(e.formData().Header=t),t}),p()()()(),d(4,"POS-card",4)(5,"div",1)(6,"div",2)(7,"POS-input-toggle",5),s("ngModelChange",function(t){return m(e.formData().Products,t)||(e.formData().Products=t),t}),p()()()()),n&2&&(r(3),o("label","Title Invoice")("type","text"),l("ngModel",e.formData().Header),o("isHorizontalLayout",!0)("description","Configure default title for invoice header."),r(4),o("label","Products")("description","Products Visible when printing"),l("ngModel",e.formData().Products),o("defaultConfig",e.configDefault().Products))},dependencies:[D,M,v,P,u,y],encapsulation:2})};export{h as PaymentComponent};
