import{a as M}from"./chunk-OIB33BTV.js";import{a as S}from"./chunk-F6AHCJAP.js";import{a as C}from"./chunk-WJLIXXN3.js";import"./chunk-IOKWCZEB.js";import"./chunk-BLIS2XXD.js";import"./chunk-3S3T7QLT.js";import"./chunk-UGBMCXS6.js";import"./chunk-5TTXT2K2.js";import"./chunk-YNQPX5G6.js";import"./chunk-4P6SOZDY.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 c,o as D}from"./chunk-MDIMQ3H3.js";import"./chunk-MWDJTJ3O.js";import"./chunk-TKVDP62Z.js";import{Ib as o,Jb as r,Kb as s,Sd as u,Tc as d,Za as n,ib as f,ra as i,rc as l,sc as g,tc as m}from"./chunk-GJDGQISV.js";import"./chunk-WFMAM73Y.js";import"./chunk-SNAKHGZS.js";var U=class p{activatedRoute=i(u);settings=i(C);formData=d(()=>this.settings.formData());configDefault=d(()=>this.settings.configDefault());constructor(){this.settings.initFormData(this.activatedRoute)}static \u0275fac=function(a){return new(a||p)};static \u0275cmp=f({type:p,selectors:[["POS-user"]],decls:6,vars:8,consts:[["cardTitle","User Login","id","userLogin"],[1,"row"],[1,"col-12"],[3,"ngModelChange","label","ngModel","defaultConfig","description"]],template:function(a,e){a&1&&(r(0,"POS-card",0)(1,"div",1)(2,"div",2)(3,"POS-input-toggle",3),m("ngModelChange",function(t){return g(e.formData().User.LogToDatabase,t)||(e.formData().User.LogToDatabase=t),t}),s()(),r(4,"div",2)(5,"POS-input-toggle",3),m("ngModelChange",function(t){return g(e.formData().User.RequireEmail,t)||(e.formData().User.RequireEmail=t),t}),s()()()()),a&2&&(n(3),o("label","Log Activity"),l("ngModel",e.formData().User.LogToDatabase),o("defaultConfig",e.configDefault().User.LogToDatabase)("description","Send user login log to database"),n(2),o("label","Required Email"),l("ngModel",e.formData().User.RequireEmail),o("defaultConfig",e.configDefault().User.RequireEmail)("description","Set default user email is not mandatory"))},dependencies:[S,M,y,c,D],encapsulation:2,changeDetection:0})};export{U as UserComponent};
