import{a as C}from"./chunk-72HORKXP.js";import{a as _}from"./chunk-F6AHCJAP.js";import{a as h}from"./chunk-WJLIXXN3.js";import"./chunk-3PTVMOA6.js";import"./chunk-JLQUTBFH.js";import"./chunk-JEKS3WOF.js";import"./chunk-GAOYV53E.js";import"./chunk-W6JPMHYE.js";import"./chunk-VPS35GPI.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 D,h as y,o as M}from"./chunk-MDIMQ3H3.js";import"./chunk-MWDJTJ3O.js";import"./chunk-3DEA4WWC.js";import"./chunk-TKVDP62Z.js";import{Ib as i,Jb as o,Kb as a,Sd as g,Tc as l,Za as n,ib as c,ra as s,rc as m,sc as r,tc as u}from"./chunk-GJDGQISV.js";import"./chunk-WFMAM73Y.js";import"./chunk-SNAKHGZS.js";var S=class f{activatedRoute=s(g);settings=s(h);formData=l(()=>this.settings.formData());options=l(()=>this.settings.options());configDefault=l(()=>this.settings.configDefault());constructor(){this.settings.initFormData(this.activatedRoute)}static \u0275fac=function(d){return new(d||f)};static \u0275cmp=c({type:f,selectors:[["POS-fraction"]],decls:12,vars:26,consts:[["cardTitle","Quantity Fraction Digits","id","quantityFractionDigits",3,"description"],[1,"row"],[1,"col-6"],[3,"ngModelChange","label","tooltip","type","minValue","maxValue","ngModel"],["cardTitle","Amount Fraction Digits","id","amountFractionDigits",3,"description"]],template:function(d,e){d&1&&(o(0,"POS-card",0)(1,"div",1)(2,"div",2)(3,"POS-input-field",3),u("ngModelChange",function(t){return r(e.formData().Quantity.Minimum,t)||(e.formData().Quantity.Minimum=t),t}),a()(),o(4,"div",2)(5,"POS-input-field",3),u("ngModelChange",function(t){return r(e.formData().Quantity.Maximum,t)||(e.formData().Quantity.Maximum=t),t}),a()()()(),o(6,"POS-card",4)(7,"div",1)(8,"div",2)(9,"POS-input-field",3),u("ngModelChange",function(t){return r(e.formData().Amount.Minimum,t)||(e.formData().Amount.Minimum=t),t}),a()(),o(10,"div",2)(11,"POS-input-field",3),u("ngModelChange",function(t){return r(e.formData().Amount.Maximum,t)||(e.formData().Amount.Maximum=t),t}),a()()()()),d&2&&(i("description","The minimum and maximum number of digits after the decimal point for quantity"),n(3),i("label","Minimum Fraction Digit")("tooltip","The minimum number of digits after the decimal point for quantity, should not exceed 4")("type","number")("minValue",0)("maxValue",4),m("ngModel",e.formData().Quantity.Minimum),n(2),i("label","Maximum Fraction Digit")("tooltip","The maximum number of digits after the decimal point for quantity, should not exceed 4")("type","number")("minValue",0)("maxValue",4),m("ngModel",e.formData().Quantity.Maximum),n(),i("description","The number of digits after the decimal poin for amounts, such as cost, sales, profit, tax, etc"),n(3),i("label","Minimum Fraction Digit")("tooltip","The minimum number of digits after the decimal point for amount, should not exceed 4")("type","number")("minValue",0)("maxValue",4),m("ngModel",e.formData().Amount.Minimum),n(2),i("label","Maximum Fraction Digit")("tooltip","The maximum number of digits after the decimal point for amount, should not exceed 4")("type","number")("minValue",0)("maxValue",4),m("ngModel",e.formData().Amount.Maximum))},dependencies:[_,C,D,y,M],encapsulation:2,changeDetection:0})};export{S as FractionComponent};
