import{a as M}from"./chunk-72HORKXP.js";import{a as P}from"./chunk-OIB33BTV.js";import{a as D}from"./chunk-F6AHCJAP.js";import{a as _}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 S,h as C,o as y}from"./chunk-MDIMQ3H3.js";import"./chunk-MWDJTJ3O.js";import"./chunk-3DEA4WWC.js";import"./chunk-TKVDP62Z.js";import{Ib as n,Jb as o,Kb as a,Sd as c,Tc as s,Za as i,ib as f,ra as u,rc as r,sc as l,tc as d}from"./chunk-GJDGQISV.js";import"./chunk-WFMAM73Y.js";import"./chunk-SNAKHGZS.js";var b=class g{activatedRoute=u(c);settings=u(_);formData=s(()=>this.settings.formData());options=s(()=>this.settings.options());configDefault=s(()=>this.settings.configDefault());constructor(){this.settings.initFormData(this.activatedRoute)}static \u0275fac=function(m){return new(m||g)};static \u0275cmp=f({type:g,selectors:[["POS-adjustment"]],decls:14,vars:17,consts:[["cardTitle","Header","id","headerPrintingAdjustment"],[1,"row"],[1,"col-12"],[3,"ngModelChange","label","type","ngModel","isHorizontalLayout","description"],["cardTitle","Signature","id","signaturePrintingAdjustment"],[1,"col-6"],[3,"ngModelChange","label","tooltip","type","ngModel"],["cardTitle","Items Table","id","itemsTablePrintingAdjustment"],[3,"ngModelChange","label","description","ngModel","defaultConfig"]],template:function(m,t){m&1&&(o(0,"POS-card",0)(1,"div",1)(2,"div",2)(3,"POS-input-field",3),d("ngModelChange",function(e){return l(t.formData().HeaderTitle,e)||(t.formData().HeaderTitle=e),e}),a()()()(),o(4,"POS-card",4)(5,"div",1)(6,"div",5)(7,"POS-input-field",6),d("ngModelChange",function(e){return l(t.formData().Signature.Column1,e)||(t.formData().Signature.Column1=e),e}),a()(),o(8,"div",5)(9,"POS-input-field",6),d("ngModelChange",function(e){return l(t.formData().Signature.Column2,e)||(t.formData().Signature.Column2=e),e}),a()()()(),o(10,"POS-card",7)(11,"div",1)(12,"div",2)(13,"POS-input-toggle",8),d("ngModelChange",function(e){return l(t.formData().Items.UnitPriceVisible,e)||(t.formData().Items.UnitPriceVisible=e),e}),a()()()()),m&2&&(i(3),n("label","Adjustment Title")("type","text"),r("ngModel",t.formData().HeaderTitle),n("isHorizontalLayout",!0)("description","Customize default label for adjustment header."),i(4),n("label","Column 1")("tooltip","Adjustment Signature - First Column")("type","text"),r("ngModel",t.formData().Signature.Column1),i(2),n("label","Column 2")("tooltip","Adjustment Signature - Second Column")("type","text"),r("ngModel",t.formData().Signature.Column2),i(4),n("label","Unit Price")("description","Show unit price in items table"),r("ngModel",t.formData().Items.UnitPriceVisible),n("defaultConfig",t.configDefault().Items.UnitPriceVisible))},dependencies:[D,M,P,S,C,y],encapsulation:2})};export{b as AdjustmentComponent};
