import{a as D}from"./chunk-72HORKXP.js";import{a as C}from"./chunk-F6AHCJAP.js";import{a as P}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 S,h as y,o as _}from"./chunk-MDIMQ3H3.js";import"./chunk-MWDJTJ3O.js";import"./chunk-3DEA4WWC.js";import"./chunk-TKVDP62Z.js";import{Ib as o,Jb as a,Kb as i,Sd as c,Tc as g,Za as n,ib as f,ra as m,rc as r,sc as l,tc as d}from"./chunk-GJDGQISV.js";import"./chunk-WFMAM73Y.js";import"./chunk-SNAKHGZS.js";var M=class u{activatedRoute=m(c);settings=m(P);formData=g(()=>this.settings.formData());options=g(()=>this.settings.options());configDefault=g(()=>this.settings.configDefault());constructor(){this.settings.initFormData(this.activatedRoute)}static \u0275fac=function(s){return new(s||u)};static \u0275cmp=f({type:u,selectors:[["POS-generator"]],decls:18,vars:21,consts:[["cardTitle","Product","id","productGenerator"],[1,"row"],[1,"col-6"],[3,"ngModelChange","label","type","disabled","ngModel"],[3,"ngModelChange","label","type","ngModel"],["cardTitle","Customer","id","customerGenerator"],["cardTitle","Sales Person","id","salesPersonGenerator"]],template:function(s,t){s&1&&(a(0,"POS-card",0)(1,"div",1)(2,"div",2)(3,"POS-input-field",3),d("ngModelChange",function(e){return l(t.configDefault().Product,e)||(t.configDefault().Product=e),e}),i()(),a(4,"div",2)(5,"POS-input-field",4),d("ngModelChange",function(e){return l(t.formData().Product,e)||(t.formData().Product=e),e}),i()()()(),a(6,"POS-card",5)(7,"div",1)(8,"div",2)(9,"POS-input-field",3),d("ngModelChange",function(e){return l(t.configDefault().Contact,e)||(t.configDefault().Contact=e),e}),i()(),a(10,"div",2)(11,"POS-input-field",4),d("ngModelChange",function(e){return l(t.formData().Contact,e)||(t.formData().Contact=e),e}),i()()()(),a(12,"POS-card",6)(13,"div",1)(14,"div",2)(15,"POS-input-field",3),d("ngModelChange",function(e){return l(t.configDefault().SalesPerson,e)||(t.configDefault().SalesPerson=e),e}),i()(),a(16,"div",2)(17,"POS-input-field",4),d("ngModelChange",function(e){return l(t.formData().SalesPerson,e)||(t.formData().SalesPerson=e),e}),i()()()()),s&2&&(n(3),o("label","Type")("type","text")("disabled",!0),r("ngModel",t.configDefault().Product),n(2),o("label","Starting Number")("type","number"),r("ngModel",t.formData().Product),n(4),o("label","Enabled")("type","text")("disabled",!0),r("ngModel",t.configDefault().Contact),n(2),o("label","Starting Number")("type","number"),r("ngModel",t.formData().Contact),n(4),o("label","Enabled")("type","text")("disabled",!0),r("ngModel",t.configDefault().SalesPerson),n(2),o("label","Starting Number")("type","number"),r("ngModel",t.formData().SalesPerson))},dependencies:[C,D,S,y,_],encapsulation:2})};export{M as GeneratorComponent};
