{"version":3,"sources":["webpack:///./node_modules/moment/locale sync ^\\.\\/.*$","webpack:///./src/$_lazy_route_resource lazy namespace object","webpack:///./src/app/Classes/ErrorLog.ts","webpack:///./src/app/DatePicker/NgbDateCustomParserFormatter.ts","webpack:///./src/app/DatePicker/datepicker-popup.component.css","webpack:///./src/app/DatePicker/datepicker-popup.component.html","webpack:///./src/app/DatePicker/datepicker-popup.component.ts","webpack:///./src/app/ErrorComponent/GenericErrorHandler.ts","webpack:///./src/app/ErrorComponent/errorlogger.service.ts","webpack:///./src/app/ErrorComponent/errorpopup.component.css","webpack:///./src/app/ErrorComponent/errorpopup.component.html","webpack:///./src/app/ErrorComponent/errorpopup.component.ts","webpack:///./src/app/ErrorComponent/errorpopup.service.ts","webpack:///./src/app/Form/form.component.css","webpack:///./src/app/Form/form.component.html","webpack:///./src/app/Form/form.component.ts","webpack:///./src/app/Form/form.service.ts","webpack:///./src/app/FormControl/formcontrol.component.css","webpack:///./src/app/FormControl/formcontrol.component.html","webpack:///./src/app/FormControl/formcontrol.component.ts","webpack:///./src/app/Login/auth.service.ts","webpack:///./src/app/Login/login.component.css","webpack:///./src/app/Login/login.component.html","webpack:///./src/app/Login/login.component.ts","webpack:///./src/app/app-load/app-load.service.ts","webpack:///./src/app/app.component.css","webpack:///./src/app/app.component.html","webpack:///./src/app/app.component.ts","webpack:///./src/app/app.module.ts","webpack:///./src/app/modal/modal.component.css","webpack:///./src/app/modal/modal.component.html","webpack:///./src/app/modal/modal.component.ts","webpack:///./src/app/settings/applicationsettings.ts","webpack:///./src/environments/environment.ts","webpack:///./src/main.ts"],"names":[],"mappings":";;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6E;;;;;;;;;;;ACnSA;AACA;AACA;AACA;AACA;AACA;AACA;A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E9B;AACY;AAEzD,IAAI,qEAAW,CAAC,UAAU,EAAE;IAC1B,oEAAc,EAAE,CAAC;CAClB;AAED,gGAAsB,EAAE,CAAC,eAAe,CAAC,yDAAS,CAAC;KAChD,KAAK,CAAC,aAAG,IAAI,cAAO,CAAC,KAAK,CAAC,GAAG,CAAC,EAAlB,CAAkB,CAAC,CAAC","file":"main.js","sourcesContent":["var map = {\n\t\"./af\": \"./node_modules/moment/locale/af.js\",\n\t\"./af.js\": \"./node_modules/moment/locale/af.js\",\n\t\"./ar\": \"./node_modules/moment/locale/ar.js\",\n\t\"./ar-dz\": \"./node_modules/moment/locale/ar-dz.js\",\n\t\"./ar-dz.js\": \"./node_modules/moment/locale/ar-dz.js\",\n\t\"./ar-kw\": \"./node_modules/moment/locale/ar-kw.js\",\n\t\"./ar-kw.js\": \"./node_modules/moment/locale/ar-kw.js\",\n\t\"./ar-ly\": \"./node_modules/moment/locale/ar-ly.js\",\n\t\"./ar-ly.js\": \"./node_modules/moment/locale/ar-ly.js\",\n\t\"./ar-ma\": \"./node_modules/moment/locale/ar-ma.js\",\n\t\"./ar-ma.js\": \"./node_modules/moment/locale/ar-ma.js\",\n\t\"./ar-sa\": \"./node_modules/moment/locale/ar-sa.js\",\n\t\"./ar-sa.js\": \"./node_modules/moment/locale/ar-sa.js\",\n\t\"./ar-tn\": \"./node_modules/moment/locale/ar-tn.js\",\n\t\"./ar-tn.js\": \"./node_modules/moment/locale/ar-tn.js\",\n\t\"./ar.js\": \"./node_modules/moment/locale/ar.js\",\n\t\"./az\": \"./node_modules/moment/locale/az.js\",\n\t\"./az.js\": \"./node_modules/moment/locale/az.js\",\n\t\"./be\": \"./node_modules/moment/locale/be.js\",\n\t\"./be.js\": \"./node_modules/moment/locale/be.js\",\n\t\"./bg\": \"./node_modules/moment/locale/bg.js\",\n\t\"./bg.js\": \"./node_modules/moment/locale/bg.js\",\n\t\"./bm\": \"./node_modules/moment/locale/bm.js\",\n\t\"./bm.js\": \"./node_modules/moment/locale/bm.js\",\n\t\"./bn\": \"./node_modules/moment/locale/bn.js\",\n\t\"./bn-bd\": \"./node_modules/moment/locale/bn-bd.js\",\n\t\"./bn-bd.js\": \"./node_modules/moment/locale/bn-bd.js\",\n\t\"./bn.js\": \"./node_modules/moment/locale/bn.js\",\n\t\"./bo\": \"./node_modules/moment/locale/bo.js\",\n\t\"./bo.js\": \"./node_modules/moment/locale/bo.js\",\n\t\"./br\": \"./node_modules/moment/locale/br.js\",\n\t\"./br.js\": \"./node_modules/moment/locale/br.js\",\n\t\"./bs\": \"./node_modules/moment/locale/bs.js\",\n\t\"./bs.js\": \"./node_modules/moment/locale/bs.js\",\n\t\"./ca\": \"./node_modules/moment/locale/ca.js\",\n\t\"./ca.js\": \"./node_modules/moment/locale/ca.js\",\n\t\"./cs\": \"./node_modules/moment/locale/cs.js\",\n\t\"./cs.js\": \"./node_modules/moment/locale/cs.js\",\n\t\"./cv\": \"./node_modules/moment/locale/cv.js\",\n\t\"./cv.js\": \"./node_modules/moment/locale/cv.js\",\n\t\"./cy\": \"./node_modules/moment/locale/cy.js\",\n\t\"./cy.js\": \"./node_modules/moment/locale/cy.js\",\n\t\"./da\": \"./node_modules/moment/locale/da.js\",\n\t\"./da.js\": \"./node_modules/moment/locale/da.js\",\n\t\"./de\": \"./node_modules/moment/locale/de.js\",\n\t\"./de-at\": \"./node_modules/moment/locale/de-at.js\",\n\t\"./de-at.js\": \"./node_modules/moment/locale/de-at.js\",\n\t\"./de-ch\": \"./node_modules/moment/locale/de-ch.js\",\n\t\"./de-ch.js\": \"./node_modules/moment/locale/de-ch.js\",\n\t\"./de.js\": \"./node_modules/moment/locale/de.js\",\n\t\"./dv\": \"./node_modules/moment/locale/dv.js\",\n\t\"./dv.js\": \"./node_modules/moment/locale/dv.js\",\n\t\"./el\": \"./node_modules/moment/locale/el.js\",\n\t\"./el.js\": \"./node_modules/moment/locale/el.js\",\n\t\"./en-au\": \"./node_modules/moment/locale/en-au.js\",\n\t\"./en-au.js\": \"./node_modules/moment/locale/en-au.js\",\n\t\"./en-ca\": \"./node_modules/moment/locale/en-ca.js\",\n\t\"./en-ca.js\": \"./node_modules/moment/locale/en-ca.js\",\n\t\"./en-gb\": \"./node_modules/moment/locale/en-gb.js\",\n\t\"./en-gb.js\": \"./node_modules/moment/locale/en-gb.js\",\n\t\"./en-ie\": \"./node_modules/moment/locale/en-ie.js\",\n\t\"./en-ie.js\": \"./node_modules/moment/locale/en-ie.js\",\n\t\"./en-il\": \"./node_modules/moment/locale/en-il.js\",\n\t\"./en-il.js\": \"./node_modules/moment/locale/en-il.js\",\n\t\"./en-in\": \"./node_modules/moment/locale/en-in.js\",\n\t\"./en-in.js\": \"./node_modules/moment/locale/en-in.js\",\n\t\"./en-nz\": \"./node_modules/moment/locale/en-nz.js\",\n\t\"./en-nz.js\": \"./node_modules/moment/locale/en-nz.js\",\n\t\"./en-sg\": \"./node_modules/moment/locale/en-sg.js\",\n\t\"./en-sg.js\": \"./node_modules/moment/locale/en-sg.js\",\n\t\"./eo\": \"./node_modules/moment/locale/eo.js\",\n\t\"./eo.js\": \"./node_modules/moment/locale/eo.js\",\n\t\"./es\": \"./node_modules/moment/locale/es.js\",\n\t\"./es-do\": \"./node_modules/moment/locale/es-do.js\",\n\t\"./es-do.js\": \"./node_modules/moment/locale/es-do.js\",\n\t\"./es-mx\": \"./node_modules/moment/locale/es-mx.js\",\n\t\"./es-mx.js\": \"./node_modules/moment/locale/es-mx.js\",\n\t\"./es-us\": \"./node_modules/moment/locale/es-us.js\",\n\t\"./es-us.js\": \"./node_modules/moment/locale/es-us.js\",\n\t\"./es.js\": \"./node_modules/moment/locale/es.js\",\n\t\"./et\": \"./node_modules/moment/locale/et.js\",\n\t\"./et.js\": \"./node_modules/moment/locale/et.js\",\n\t\"./eu\": \"./node_modules/moment/locale/eu.js\",\n\t\"./eu.js\": \"./node_modules/moment/locale/eu.js\",\n\t\"./fa\": \"./node_modules/moment/locale/fa.js\",\n\t\"./fa.js\": \"./node_modules/moment/locale/fa.js\",\n\t\"./fi\": \"./node_modules/moment/locale/fi.js\",\n\t\"./fi.js\": \"./node_modules/moment/locale/fi.js\",\n\t\"./fil\": \"./node_modules/moment/locale/fil.js\",\n\t\"./fil.js\": \"./node_modules/moment/locale/fil.js\",\n\t\"./fo\": \"./node_modules/moment/locale/fo.js\",\n\t\"./fo.js\": \"./node_modules/moment/locale/fo.js\",\n\t\"./fr\": \"./node_modules/moment/locale/fr.js\",\n\t\"./fr-ca\": \"./node_modules/moment/locale/fr-ca.js\",\n\t\"./fr-ca.js\": \"./node_modules/moment/locale/fr-ca.js\",\n\t\"./fr-ch\": \"./node_modules/moment/locale/fr-ch.js\",\n\t\"./fr-ch.js\": \"./node_modules/moment/locale/fr-ch.js\",\n\t\"./fr.js\": \"./node_modules/moment/locale/fr.js\",\n\t\"./fy\": \"./node_modules/moment/locale/fy.js\",\n\t\"./fy.js\": \"./node_modules/moment/locale/fy.js\",\n\t\"./ga\": \"./node_modules/moment/locale/ga.js\",\n\t\"./ga.js\": \"./node_modules/moment/locale/ga.js\",\n\t\"./gd\": \"./node_modules/moment/locale/gd.js\",\n\t\"./gd.js\": \"./node_modules/moment/locale/gd.js\",\n\t\"./gl\": \"./node_modules/moment/locale/gl.js\",\n\t\"./gl.js\": \"./node_modules/moment/locale/gl.js\",\n\t\"./gom-deva\": \"./node_modules/moment/locale/gom-deva.js\",\n\t\"./gom-deva.js\": \"./node_modules/moment/locale/gom-deva.js\",\n\t\"./gom-latn\": \"./node_modules/moment/locale/gom-latn.js\",\n\t\"./gom-latn.js\": \"./node_modules/moment/locale/gom-latn.js\",\n\t\"./gu\": \"./node_modules/moment/locale/gu.js\",\n\t\"./gu.js\": \"./node_modules/moment/locale/gu.js\",\n\t\"./he\": \"./node_modules/moment/locale/he.js\",\n\t\"./he.js\": \"./node_modules/moment/locale/he.js\",\n\t\"./hi\": \"./node_modules/moment/locale/hi.js\",\n\t\"./hi.js\": \"./node_modules/moment/locale/hi.js\",\n\t\"./hr\": \"./node_modules/moment/locale/hr.js\",\n\t\"./hr.js\": \"./node_modules/moment/locale/hr.js\",\n\t\"./hu\": \"./node_modules/moment/locale/hu.js\",\n\t\"./hu.js\": \"./node_modules/moment/locale/hu.js\",\n\t\"./hy-am\": \"./node_modules/moment/locale/hy-am.js\",\n\t\"./hy-am.js\": \"./node_modules/moment/locale/hy-am.js\",\n\t\"./id\": \"./node_modules/moment/locale/id.js\",\n\t\"./id.js\": \"./node_modules/moment/locale/id.js\",\n\t\"./is\": \"./node_modules/moment/locale/is.js\",\n\t\"./is.js\": \"./node_modules/moment/locale/is.js\",\n\t\"./it\": \"./node_modules/moment/locale/it.js\",\n\t\"./it-ch\": \"./node_modules/moment/locale/it-ch.js\",\n\t\"./it-ch.js\": \"./node_modules/moment/locale/it-ch.js\",\n\t\"./it.js\": \"./node_modules/moment/locale/it.js\",\n\t\"./ja\": \"./node_modules/moment/locale/ja.js\",\n\t\"./ja.js\": \"./node_modules/moment/locale/ja.js\",\n\t\"./jv\": \"./node_modules/moment/locale/jv.js\",\n\t\"./jv.js\": \"./node_modules/moment/locale/jv.js\",\n\t\"./ka\": \"./node_modules/moment/locale/ka.js\",\n\t\"./ka.js\": \"./node_modules/moment/locale/ka.js\",\n\t\"./kk\": \"./node_modules/moment/locale/kk.js\",\n\t\"./kk.js\": \"./node_modules/moment/locale/kk.js\",\n\t\"./km\": \"./node_modules/moment/locale/km.js\",\n\t\"./km.js\": \"./node_modules/moment/locale/km.js\",\n\t\"./kn\": \"./node_modules/moment/locale/kn.js\",\n\t\"./kn.js\": \"./node_modules/moment/locale/kn.js\",\n\t\"./ko\": \"./node_modules/moment/locale/ko.js\",\n\t\"./ko.js\": \"./node_modules/moment/locale/ko.js\",\n\t\"./ku\": \"./node_modules/moment/locale/ku.js\",\n\t\"./ku.js\": \"./node_modules/moment/locale/ku.js\",\n\t\"./ky\": \"./node_modules/moment/locale/ky.js\",\n\t\"./ky.js\": \"./node_modules/moment/locale/ky.js\",\n\t\"./lb\": \"./node_modules/moment/locale/lb.js\",\n\t\"./lb.js\": \"./node_modules/moment/locale/lb.js\",\n\t\"./lo\": \"./node_modules/moment/locale/lo.js\",\n\t\"./lo.js\": \"./node_modules/moment/locale/lo.js\",\n\t\"./lt\": \"./node_modules/moment/locale/lt.js\",\n\t\"./lt.js\": \"./node_modules/moment/locale/lt.js\",\n\t\"./lv\": \"./node_modules/moment/locale/lv.js\",\n\t\"./lv.js\": \"./node_modules/moment/locale/lv.js\",\n\t\"./me\": \"./node_modules/moment/locale/me.js\",\n\t\"./me.js\": \"./node_modules/moment/locale/me.js\",\n\t\"./mi\": \"./node_modules/moment/locale/mi.js\",\n\t\"./mi.js\": \"./node_modules/moment/locale/mi.js\",\n\t\"./mk\": \"./node_modules/moment/locale/mk.js\",\n\t\"./mk.js\": \"./node_modules/moment/locale/mk.js\",\n\t\"./ml\": \"./node_modules/moment/locale/ml.js\",\n\t\"./ml.js\": \"./node_modules/moment/locale/ml.js\",\n\t\"./mn\": \"./node_modules/moment/locale/mn.js\",\n\t\"./mn.js\": \"./node_modules/moment/locale/mn.js\",\n\t\"./mr\": \"./node_modules/moment/locale/mr.js\",\n\t\"./mr.js\": \"./node_modules/moment/locale/mr.js\",\n\t\"./ms\": \"./node_modules/moment/locale/ms.js\",\n\t\"./ms-my\": \"./node_modules/moment/locale/ms-my.js\",\n\t\"./ms-my.js\": \"./node_modules/moment/locale/ms-my.js\",\n\t\"./ms.js\": \"./node_modules/moment/locale/ms.js\",\n\t\"./mt\": \"./node_modules/moment/locale/mt.js\",\n\t\"./mt.js\": \"./node_modules/moment/locale/mt.js\",\n\t\"./my\": \"./node_modules/moment/locale/my.js\",\n\t\"./my.js\": \"./node_modules/moment/locale/my.js\",\n\t\"./nb\": \"./node_modules/moment/locale/nb.js\",\n\t\"./nb.js\": \"./node_modules/moment/locale/nb.js\",\n\t\"./ne\": \"./node_modules/moment/locale/ne.js\",\n\t\"./ne.js\": \"./node_modules/moment/locale/ne.js\",\n\t\"./nl\": \"./node_modules/moment/locale/nl.js\",\n\t\"./nl-be\": \"./node_modules/moment/locale/nl-be.js\",\n\t\"./nl-be.js\": \"./node_modules/moment/locale/nl-be.js\",\n\t\"./nl.js\": \"./node_modules/moment/locale/nl.js\",\n\t\"./nn\": \"./node_modules/moment/locale/nn.js\",\n\t\"./nn.js\": \"./node_modules/moment/locale/nn.js\",\n\t\"./oc-lnc\": \"./node_modules/moment/locale/oc-lnc.js\",\n\t\"./oc-lnc.js\": \"./node_modules/moment/locale/oc-lnc.js\",\n\t\"./pa-in\": \"./node_modules/moment/locale/pa-in.js\",\n\t\"./pa-in.js\": \"./node_modules/moment/locale/pa-in.js\",\n\t\"./pl\": \"./node_modules/moment/locale/pl.js\",\n\t\"./pl.js\": \"./node_modules/moment/locale/pl.js\",\n\t\"./pt\": \"./node_modules/moment/locale/pt.js\",\n\t\"./pt-br\": \"./node_modules/moment/locale/pt-br.js\",\n\t\"./pt-br.js\": \"./node_modules/moment/locale/pt-br.js\",\n\t\"./pt.js\": \"./node_modules/moment/locale/pt.js\",\n\t\"./ro\": \"./node_modules/moment/locale/ro.js\",\n\t\"./ro.js\": \"./node_modules/moment/locale/ro.js\",\n\t\"./ru\": \"./node_modules/moment/locale/ru.js\",\n\t\"./ru.js\": \"./node_modules/moment/locale/ru.js\",\n\t\"./sd\": \"./node_modules/moment/locale/sd.js\",\n\t\"./sd.js\": \"./node_modules/moment/locale/sd.js\",\n\t\"./se\": \"./node_modules/moment/locale/se.js\",\n\t\"./se.js\": \"./node_modules/moment/locale/se.js\",\n\t\"./si\": \"./node_modules/moment/locale/si.js\",\n\t\"./si.js\": \"./node_modules/moment/locale/si.js\",\n\t\"./sk\": \"./node_modules/moment/locale/sk.js\",\n\t\"./sk.js\": \"./node_modules/moment/locale/sk.js\",\n\t\"./sl\": \"./node_modules/moment/locale/sl.js\",\n\t\"./sl.js\": \"./node_modules/moment/locale/sl.js\",\n\t\"./sq\": \"./node_modules/moment/locale/sq.js\",\n\t\"./sq.js\": \"./node_modules/moment/locale/sq.js\",\n\t\"./sr\": \"./node_modules/moment/locale/sr.js\",\n\t\"./sr-cyrl\": \"./node_modules/moment/locale/sr-cyrl.js\",\n\t\"./sr-cyrl.js\": \"./node_modules/moment/locale/sr-cyrl.js\",\n\t\"./sr.js\": \"./node_modules/moment/locale/sr.js\",\n\t\"./ss\": \"./node_modules/moment/locale/ss.js\",\n\t\"./ss.js\": \"./node_modules/moment/locale/ss.js\",\n\t\"./sv\": \"./node_modules/moment/locale/sv.js\",\n\t\"./sv.js\": \"./node_modules/moment/locale/sv.js\",\n\t\"./sw\": \"./node_modules/moment/locale/sw.js\",\n\t\"./sw.js\": \"./node_modules/moment/locale/sw.js\",\n\t\"./ta\": \"./node_modules/moment/locale/ta.js\",\n\t\"./ta.js\": \"./node_modules/moment/locale/ta.js\",\n\t\"./te\": \"./node_modules/moment/locale/te.js\",\n\t\"./te.js\": \"./node_modules/moment/locale/te.js\",\n\t\"./tet\": \"./node_modules/moment/locale/tet.js\",\n\t\"./tet.js\": \"./node_modules/moment/locale/tet.js\",\n\t\"./tg\": \"./node_modules/moment/locale/tg.js\",\n\t\"./tg.js\": \"./node_modules/moment/locale/tg.js\",\n\t\"./th\": \"./node_modules/moment/locale/th.js\",\n\t\"./th.js\": \"./node_modules/moment/locale/th.js\",\n\t\"./tk\": \"./node_modules/moment/locale/tk.js\",\n\t\"./tk.js\": \"./node_modules/moment/locale/tk.js\",\n\t\"./tl-ph\": \"./node_modules/moment/locale/tl-ph.js\",\n\t\"./tl-ph.js\": \"./node_modules/moment/locale/tl-ph.js\",\n\t\"./tlh\": \"./node_modules/moment/locale/tlh.js\",\n\t\"./tlh.js\": \"./node_modules/moment/locale/tlh.js\",\n\t\"./tr\": \"./node_modules/moment/locale/tr.js\",\n\t\"./tr.js\": \"./node_modules/moment/locale/tr.js\",\n\t\"./tzl\": \"./node_modules/moment/locale/tzl.js\",\n\t\"./tzl.js\": \"./node_modules/moment/locale/tzl.js\",\n\t\"./tzm\": \"./node_modules/moment/locale/tzm.js\",\n\t\"./tzm-latn\": \"./node_modules/moment/locale/tzm-latn.js\",\n\t\"./tzm-latn.js\": \"./node_modules/moment/locale/tzm-latn.js\",\n\t\"./tzm.js\": \"./node_modules/moment/locale/tzm.js\",\n\t\"./ug-cn\": \"./node_modules/moment/locale/ug-cn.js\",\n\t\"./ug-cn.js\": \"./node_modules/moment/locale/ug-cn.js\",\n\t\"./uk\": \"./node_modules/moment/locale/uk.js\",\n\t\"./uk.js\": \"./node_modules/moment/locale/uk.js\",\n\t\"./ur\": \"./node_modules/moment/locale/ur.js\",\n\t\"./ur.js\": \"./node_modules/moment/locale/ur.js\",\n\t\"./uz\": \"./node_modules/moment/locale/uz.js\",\n\t\"./uz-latn\": \"./node_modules/moment/locale/uz-latn.js\",\n\t\"./uz-latn.js\": \"./node_modules/moment/locale/uz-latn.js\",\n\t\"./uz.js\": \"./node_modules/moment/locale/uz.js\",\n\t\"./vi\": \"./node_modules/moment/locale/vi.js\",\n\t\"./vi.js\": \"./node_modules/moment/locale/vi.js\",\n\t\"./x-pseudo\": \"./node_modules/moment/locale/x-pseudo.js\",\n\t\"./x-pseudo.js\": \"./node_modules/moment/locale/x-pseudo.js\",\n\t\"./yo\": \"./node_modules/moment/locale/yo.js\",\n\t\"./yo.js\": \"./node_modules/moment/locale/yo.js\",\n\t\"./zh-cn\": \"./node_modules/moment/locale/zh-cn.js\",\n\t\"./zh-cn.js\": \"./node_modules/moment/locale/zh-cn.js\",\n\t\"./zh-hk\": \"./node_modules/moment/locale/zh-hk.js\",\n\t\"./zh-hk.js\": \"./node_modules/moment/locale/zh-hk.js\",\n\t\"./zh-mo\": \"./node_modules/moment/locale/zh-mo.js\",\n\t\"./zh-mo.js\": \"./node_modules/moment/locale/zh-mo.js\",\n\t\"./zh-tw\": \"./node_modules/moment/locale/zh-tw.js\",\n\t\"./zh-tw.js\": \"./node_modules/moment/locale/zh-tw.js\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"./node_modules/moment/locale sync recursive ^\\\\.\\\\/.*$\";","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = \"./src/$$_lazy_route_resource lazy recursive\";","export class ErrorLog {\r\n UserID: string;\r\n ToolName: string;\r\n MethodName: string;\r\n ErrorLevel: string;\r\n LogException: string;\r\n LogMessage: string;\r\n}\r\n","import { NgbDateParserFormatter, NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';\r\nimport { Injectable } from '@angular/core';\r\nimport * as moment from 'moment';\r\n@Injectable()\r\nexport class NgbDateCustomParserFormatter extends NgbDateParserFormatter {\r\n parse(value: string): NgbDateStruct {\r\n if (value && value.length>0) {\r\n const dateParts = value.trim().split('/');\r\n if (dateParts.length === 1 && this.isNumber(dateParts[0])) {\r\n return { day:null, month: this.toInteger(dateParts[0]), year: null};\r\n } else if (dateParts.length === 2 && this.isNumber(dateParts[0]) && this.isNumber(dateParts[1])) {\r\n return {day: this.toInteger(dateParts[1]), month: this.toInteger(dateParts[0]), year: null};\r\n } else if (dateParts.length === 3 && this.isNumber(dateParts[0]) && this.isNumber(dateParts[1]) && this.isNumber(dateParts[2]) && dateParts[2].length==4) {\r\n return {day: this.toInteger(dateParts[1]), month: this.toInteger(dateParts[0]), year: this.toInteger(dateParts[2])};\r\n }\r\n }\r\n return null;\r\n }\r\n\r\n format(date: NgbDateStruct): string {\r\n return date ?\r\n //moment(date).format('MM/DD/YYYY') : '';\r\n `${this.isNumber(date.month) ? this.padNumber(date.month) : ''}/${this.isNumber(date.day) ? this.padNumber(date.day) : ''}/${date.year}` :\r\n '';\r\n }\r\n\r\npadNumber(value: number) {\r\n if (this.isNumber(value)) {\r\n return `0${value}`.slice(-2);\r\n } else {\r\n return '';\r\n }\r\n}\r\nisNumber(value: any): value is number {\r\n return !isNaN(this.toInteger(value));\r\n}\r\ntoInteger(value: any): number {\r\n return parseInt(`${value}`, 10);\r\n}\r\n}\r\n","module.exports = \"input.ng-dirty.ng-invalid {\\r\\n border-color: red;\\r\\n border-width: 5px;\\r\\n}\\r\\n.FullWidth{\\r\\n width:100%;\\r\\n}\\r\\n.form-control {\\r\\n font-size: 17px;\\r\\n color: black;\\r\\n /*background-color: #ABB4BA;*/\\r\\n background-image: none;\\r\\n border: 1px solid black;\\r\\n border-radius: 0;\\r\\n box-shadow: none !important;\\r\\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\\r\\n transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\\r\\n}\\r\\n/* Special css for input placeholder text needed for Google Chrome \\r\\n::-webkit-input-placeholder {\\r\\n color: #99c9ff;\\r\\n}\\r\\n\\r\\n::-moz-placeholder {\\r\\n color: #99c9ff;\\r\\n}*/\\r\\n::-webkit-input-placeholder {\\r\\n color: black;\\r\\nfont-weight:bold;\\r\\n}\\r\\n::-moz-placeholder {\\r\\n color: black;\\r\\n font-weight: bold;\\r\\n}\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvRGF0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IC13ZWJraXQtdHJhbnNpdGlvbjogYm9yZGVyLWNvbG9yIGVhc2UtaW4tb3V0IC4xNXMsIC13ZWJraXQtYm94LXNoYWRvdyBlYXNlLWluLW91dCAuMTVzO1xyXG4gIC1vLXRyYW5zaXRpb246IGJvcmRlci1jb2xvciBlYXNlLWluLW91dCAuMTVzLCBib3gtc2hhZG93IGVhc2UtaW4tb3V0IC4xNXM7XHJcbiAgdHJhbnNpdGlvbjogYm9yZGVyLWNvbG9yIGVhc2UtaW4tb3V0IC4xNXMsIGJveC1zaGFkb3cgZWFzZS1pbi1vdXQgLjE1cztcclxufVxyXG4vKiBTcGVjaWFsIGNzcyBmb3IgaW5wdXQgcGxhY2Vob2xkZXIgdGV4dCBuZWVkZWQgZm9yIEdvb2dsZSBDaHJvbWUgXHJcbjo6LXdlYmtpdC1pbnB1dC1wbGFjZWhvbGRlciB7XHJcbiAgY29sb3I6ICM5OWM5ZmY7XHJcbn1cclxuXHJcbjo6LW1vei1wbGFjZWhvbGRlciB7XHJcbiAgY29sb3I6ICM5OWM5ZmY7XHJcbn0qL1xyXG46Oi13ZWJraXQtaW5wdXQtcGxhY2Vob2xkZXIge1xyXG4gIGNvbG9yOiBibGFjaztcclxuZm9udC13ZWlnaHQ6Ym9sZDtcclxufVxyXG5cclxuOjotbW96LXBsYWNlaG9sZGVyIHtcclxuICBjb2xvcjogYmxhY2s7XHJcbiAgZm9udC13ZWlnaHQ6IGJvbGQ7XHJcbn1cclxuIl19 */\"","module.exports = \"
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\"","import { Component, Input, OnInit, forwardRef } from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\nimport { FormGroup } from '@angular/forms';\r\nimport * as moment from 'moment'\r\n@Component({\r\n selector: 'comp-datepicker',\r\n templateUrl: './datepicker-popup.component.html',\r\n styleUrls: ['./datepicker-popup.component.css'],\r\n providers: [\r\n {\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: forwardRef(() => DatePickerComponent),\r\n multi: true\r\n }\r\n ]\r\n})\r\nexport class DatePickerComponent implements OnInit, ControlValueAccessor {\r\n public model;\r\n @Input() setting;\r\n @Input() IsDirty: false;\r\n @Input('value') _value: any;// = new Date();\r\n onChange: any = () => { };\r\n onTouched: any = () => { };\r\n \r\n constructor() {\r\n \r\n }\r\n get value() {\r\n return this._value;\r\n }\r\n\r\n set value(val) {\r\n this._value = val;\r\n this.onChange(val);\r\n this.onTouched();\r\n }\r\n ngOnInit() {\r\n \r\n }\r\n registerOnChange(fn) {\r\n this.onChange = fn;\r\n }\r\n\r\n registerOnTouched(fn) {\r\n this.onTouched = fn;\r\n }\r\n\r\n writeValue(value) {\r\n try{\r\n //if (value) {\r\n this.value = value;\r\n // }\r\n }\r\n catch (er) {\r\n console.log(\"writeValue\" + er);\r\n }\r\n }\r\n //onDateChange(e: any) {\r\n // try {\r\n // if (e.target.value != undefined && e.target.value!=\"\") {\r\n // this.value = e.target.value;\r\n // this.value = moment(e.target.value).format('MM/DD/YYYY');\r\n // }\r\n // }\r\n // catch (er) {\r\n // console.log(\"onDateChange\"+er);\r\n // }\r\n //}\r\n onModelChange(e: any) {\r\n try{\r\n if (e != null && e.month != null && e.day != null && e.year!=null) {\r\n //this.value = e.month + \"-\" + e.day + \"-\" + e.year;\r\n //this.value = moment(e).format('MM/DD/YYYY');\r\n this.value = e.month + \"/\" + e.day + \"/\" + e.year;\r\n }\r\n /*else if (e != \"\" && e != null && Date.parse(e)>0) {\r\n var Dd = new Date(e);\r\n if (Dd != null) {\r\n this.model = { year: Dd.getFullYear(), month: Dd.getMonth(), day: Dd.getDate() };\r\n this.value = moment(this.model).format('MM/DD/YYYY');\r\n //this.onModelChange(this.model);\r\n }\r\n }*/\r\n \r\n }\r\n catch (er) {\r\n console.log(\"onModelChange\" + er);\r\n }\r\n }\r\n}\r\n","import { Component, ViewChild, EventEmitter, Input, Output, ErrorHandler } from \"@angular/core\"\r\nimport { ErrorLoggerService } from './errorlogger.service'\r\nimport { ErrorPopupService } from './errorpopup.service';\r\n\r\n@Component({\r\n selector: 'my-err',\r\n template: ''\r\n})\r\n\r\nexport class GenericErrorHandler {\r\n\r\n constructor(private errorloggerservice: ErrorLoggerService, private errorpopupservice: ErrorPopupService) {\r\n\r\n }\r\n\r\n public handleError(error: any): void {\r\n //Show the error in popup\r\n this.errorpopupservice.confirmError(error.message);\r\n\r\n //Save the error to log4net error log file\r\n var err: any = {};\r\n err.ErrorMessage = error.message;\r\n err.LoggedOn = new Date();\r\n this.errorloggerservice.handleErrors(err);\r\n\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpHandler,HttpHeaders,HttpErrorResponse } from '@angular/common/http';\r\nimport { AppLoadService } from '../../app/app-load/app-load.service';\r\nimport { Component, Inject } from '@angular/core';\r\nimport { ErrorLog } from '../Classes/ErrorLog';\r\nimport { ErrorPopupService } from './errorpopup.service';\r\nimport { Observable } from 'rxjs/Observable';\r\nconst httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Access-Control-Allow-Origin': '*' })\r\n};\r\n@Injectable()\r\nexport class ErrorLoggerService {\r\n apiEndpoint: string;\r\n apiError: string = \"\";\r\n logs: string[] = [];\r\n bHeadersUpdated: boolean = false;\r\n //private headers = new Headers({ 'Content-Type': 'application/json', 'Access-Control-Allow-Origin': '*' });\r\n\r\n constructor(private config: AppLoadService, private http: HttpClient, private errService: ErrorPopupService) {\r\n }\r\n\r\n logError(msg: any) {\r\n if (!this.bHeadersUpdated) {\r\n this.bHeadersUpdated = true; \r\n }\r\n // this.log(`ERROR: ${msg}`, true);\r\n this.SavetoDB(msg)\r\n }\r\n\r\n //private log(msg: any, isErr = false) {\r\n // this.logs.push(msg);\r\n // isErr ? console.error(msg) : console.log(msg);\r\n //}\r\n\r\n SavetoDB(msg: any) {\r\n this.apiEndpoint = this.config.applicationsettings.API_Endpoint;\r\n if (this.apiError == \"\") {\r\n var errorItem: ErrorLog = new ErrorLog();\r\n errorItem.ToolName = \"Angular\";\r\n errorItem.MethodName = \"TBD\";\r\n errorItem.ErrorLevel = \"3\";\r\n errorItem.LogException = \"Angular Exception\";\r\n errorItem.LogMessage = msg;\r\n\r\n var indata = JSON.stringify(errorItem);\r\n return this.http\r\n .post(this.apiEndpoint + \"Log/\", indata, httpOptions)\r\n .toPromise()\r\n .then(this.onSuccess.bind(this))\r\n .catch(this.onError.bind(this));\r\n }\r\n }\r\n\r\n SaveErrortoDB(msg: any, toolname: any, methodname: any, logException: any) {\r\n this.apiEndpoint = this.config.applicationsettings.API_Endpoint;\r\n if (this.apiError == \"\") {\r\n var errorItem: ErrorLog = new ErrorLog();\r\n errorItem.ToolName = toolname;\r\n errorItem.MethodName = methodname;\r\n errorItem.ErrorLevel = \"3\";\r\n errorItem.LogException = logException;\r\n errorItem.LogMessage = msg;\r\n\r\n var indata = JSON.stringify(errorItem);\r\n return this.http\r\n .post(this.apiEndpoint + \"Log/\", indata, httpOptions)\r\n .toPromise()\r\n .then(this.onSuccess.bind(this))\r\n .catch(this.onError.bind(this));\r\n }\r\n }\r\n\r\n private onSuccess(msg: any) {\r\n this.apiError = \"\";\r\n }\r\n\r\n private onError(error: any): Promise {\r\n console.error('An error occurred in logger api call', error); // for demo purposes only\r\n this.apiError = \"error\";\r\n return Promise.resolve(\"Error\");\r\n }\r\n\r\n public handleErrors(error: any): void {\r\n if (error.message != \"Unable to get property '_getInfo' of undefined or null reference\") {\r\n //Most of the errors should be handled in try-catch so 1 and 5 are the major blocks.\r\n let errMsg: string;\r\n //API Errors------------------------------------------------------------start\r\n //Handle server down error and redirect to login-------------------------------------start\r\n //if ((error != null && error.status >= 500) || (error.rejection != null && error.rejection.status >= 500)) {\r\n // this.errService.raiseUnAuthError();\r\n //}\r\n //Handle server down error and redirect to login-------------------------------------end\r\n //Handle unauthrized error and redirect to login-------------------------------------start\r\n if ((error != null && error.status == 401) || (error.rejection != null && error.rejection.status == 401)) {\r\n this.errService.raiseUnAuthError();\r\n }\r\n //Handle unauthrized error and redirect to login-------------------------------------end\r\n //1.If the error already handled by component and calling this method to savetoDb/Show\r\n else if (error.showError != null && error.status != null) {\r\n\r\n //Show error in popup\r\n if (error.showError == true) {\r\n this.errService.confirmError(error.usermessage ? error.usermessage : error.message);\r\n }\r\n //save the error to DB \r\n //for http error toolname=type, methodname=url\r\n this.SaveErrortoDB(error.usermessage ? error.usermessage : error.message, error.toolname ? error.toolname : error.type, error.methodname ? error.methodname : error.url, \"HTTP Exception\");\r\n }\r\n //2.If the error already handled by component and throw\r\n else if (error != null && error.rejection != null && error.rejection.showError != null) {\r\n //Show error in popup\r\n if (error.rejection.showError == true) {\r\n this.errService.confirmError(error.rejection.message);\r\n }\r\n //save the error to DB \r\n this.SaveErrortoDB(error.rejection.message, error.rejection.toolname, error.rejection.methodname, \"HTTP Exception\");\r\n }\r\n //3.If the error NOT handled by component and handled by service and throw\r\n else if (error != null && error.rejection != null) {\r\n //Show error in popup \r\n this.errService.confirmError(error.rejection.usermessage ? error.rejection.usermessage : error.rejection.message);\r\n //save the error to DB \r\n this.SaveErrortoDB(error.rejection.message, error.rejection.type, error.rejection.url, \"HTTP Exception\");\r\n }\r\n //4.If the error NOT handled by component and service and throw\r\n else if (error instanceof HttpErrorResponse) {\r\n //const body = error.json() || '';\r\n const err = error.error || JSON.stringify(error);\r\n errMsg = `${error.status} - ${error.statusText || ''} ${err}`;\r\n //Show error in popup\r\n this.errService.confirmError(errMsg);\r\n //save the error to DB \r\n //for http error toolname=type, methodname=url\r\n this.SaveErrortoDB(errMsg, error.type, error.url, \"HTTP Exception\");\r\n }\r\n //API Errors------------------------------------------------------------end\r\n //5.Custom error Object handled from component and calling this method to savetoDb/Show\r\n else if (error.showError != null) {\r\n //Show error in popup\r\n if (error.showError == true) {\r\n this.errService.confirmError(error.usermessage ? error.usermessage : error.message);\r\n }\r\n //save the error to DB \r\n this.SaveErrortoDB(error.message, error.toolname, error.methodname, \"Angular Exception\");\r\n }\r\n\r\n //Other Errors------------------------------------------------------------start\r\n //6.If the error already handled by component and throw\r\n else if (error != null && error.originalError != null && error.originalError.showError != null) {\r\n //Show error in popup\r\n if (error.originalError.showError == true) {\r\n this.errService.confirmError(error.originalError.usermessage ? error.originalError.usermessage : error.originalError.message);\r\n }\r\n //save the error to DB \r\n this.SaveErrortoDB(error.originalError.message, error.originalError.toolname, error.originalError.methodname, \"Angular Exception\");\r\n }\r\n //7.If the error NOT handled by component \r\n else {\r\n errMsg = error.message ? error.message : error.toString();\r\n if (error.originalError != null && error.originalError.stack != null) {\r\n let oerrst = error.originalError.stack;\r\n let toolname = \"\", methodname = \"\";\r\n if (oerrst.split(\"\\n\").length > 1) {\r\n if (oerrst.split(\"\\n\")[1] != null && oerrst.split(\"\\n\")[1].split(\"(\")[0] != null) {\r\n let tm = oerrst.split(\"\\n\")[1].split(\"(\")[0].replace(\" at\", \"\");\r\n if (tm != null && tm.split(\".\").length > 2) {\r\n toolname = tm.split(\".\")[0];\r\n methodname = tm.split(\".\")[2];\r\n }\r\n }\r\n }\r\n if (toolname != \"\" && methodname != \"\") {\r\n this.SaveErrortoDB(error.message, toolname, methodname, \"Angular Exception\");\r\n }\r\n }\r\n //save the error to DB \r\n this.SavetoDB(error.message);\r\n }\r\n //Other Errors------------------------------------------------------------end\r\n\r\n }\r\n }\r\n}\r\n\r\n//export class UploadService {}\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0Vycm9yQ29tcG9uZW50L2Vycm9ycG9wdXAuY29tcG9uZW50LmNzcyJ9 */\"","module.exports = \"
\\r\\n

{{title}}

\\r\\n \\r\\n
\\r\\n
\\r\\n

{{ErrorMsg}}

\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n\"","import { Component, OnInit, Input } from \"@angular/core\";\r\n\r\nimport { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';\r\n\r\nimport { AppLoadService } from '../../app/app-load/app-load.service';\r\n\r\n@Component({\r\n selector: \"error-popup\",\r\n templateUrl: './errorpopup.component.html',\r\n styleUrls: ['./errorpopup.component.css']\r\n})\r\nexport class ErrorPopupComponent implements OnInit {\r\n @Input() title: string;\r\n @Input() ErrorMsg: string = \"\";\r\n\r\n constructor(private config: AppLoadService, public activeModal: NgbActiveModal) {\r\n }\r\n\r\n showErrorMessage(msg: string) {\r\n let genericErrorMessage = this.config.applicationsettings.GenericErrorMessage_WebApp_Issues;\r\n\r\n //if multiple error occur in single user acion then combine in one popup and show.\r\n //if (this.myModal.isOpened == true) {\r\n // if (this.ErrorMsg.indexOf(msg) <= 0) {\r\n // this.ErrorMsg = this.ErrorMsg.replace(genericmessage, \"\");\r\n // this.ErrorMsg = this.ErrorMsg + \"\\n\" + msg + \"\\n\" + genericmessage;\r\n // }\r\n //}\r\n //else {\r\n // this.ErrorMsg = msg + \"\\n\" + genericmessage;\r\n // this.myModal.open();\r\n //}\r\n if (this.ErrorMsg.length == 0) {\r\n this.ErrorMsg = this.ErrorMsg.replace(genericErrorMessage, \"\");\r\n this.ErrorMsg = this.ErrorMsg + \"\\n\" + msg + \"\\n\" + genericErrorMessage;\r\n }\r\n else {\r\n this.ErrorMsg = msg + \"\\n\" + genericErrorMessage;\r\n\r\n }\r\n }\r\n\r\n hideErrorMsg() {\r\n //this.ErrorMsg = \"\";\r\n //this.myModal.close();\r\n }\r\n\r\n ngOnInit() { }\r\n\r\n}\r\n\r\n","import { Injectable } from '@angular/core';\r\nimport { Subject } from 'rxjs/Subject';\r\n\r\n@Injectable()\r\nexport class ErrorPopupService {\r\n public isUnAuth: boolean;\r\n\r\n constructor() {\r\n this.isUnAuth = false;\r\n }\r\n\r\n // Observable string sources\r\n private UnAuthErrorSource = new Subject();\r\n private ShowPopupSource = new Subject();\r\n\r\n // Observable string streams \r\n public ShowPopup$ = this.ShowPopupSource.asObservable();\r\n public UnAuthError$ = this.UnAuthErrorSource.asObservable();\r\n\r\n // Service message commands\r\n raiseUnAuthError() {\r\n this.isUnAuth = true;\r\n this.UnAuthErrorSource.next(false);\r\n }\r\n\r\n confirmError(err: string) {\r\n this.ShowPopupSource.next(err);\r\n }\r\n}\r\n","module.exports = \"/*h4 {\\r\\n color: #003876;\\r\\n font-weight: bold;\\r\\n padding-top: 30px;\\r\\n}\\r\\nh5 {\\r\\n background-color: rgba(155, 193, 228, 1);\\r\\n font-size: 18px;\\r\\n font-weight: bold;\\r\\n margin-left: -30px;\\r\\n margin-right: -30px;\\r\\n margin-bottom: 0px;\\r\\n}\\r\\n\\r\\n.buttonStyle {\\r\\n width: 170px;\\r\\n background-color: #ffa500;\\r\\n font-size: 17px;\\r\\n border: 1px solid #003876;\\r\\n}\\r\\n.container {\\r\\n border: 2px solid #003876;\\r\\n}\\r\\n.form {\\r\\n margin-left:-15px;\\r\\n margin-right:-15px;\\r\\n}\\r\\n*/\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvRm9ybS9mb3JtLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztDQTJCQyIsImZpbGUiOiJzcmMvYXBwL0Zvcm0vZm9ybS5jb21wb25lbnQuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLypoNCB7XHJcbiAgY29sb3I6ICMwMDM4NzY7XHJcbiAgZm9udC13ZWlnaHQ6IGJvbGQ7XHJcbiAgcGFkZGluZy10b3A6IDMwcHg7XHJcbn1cclxuaDUge1xyXG4gIGJhY2tncm91bmQtY29sb3I6IHJnYmEoMTU1LCAxOTMsIDIyOCwgMSk7XHJcbiAgZm9udC1zaXplOiAxOHB4O1xyXG4gIGZvbnQtd2VpZ2h0OiBib2xkO1xyXG4gIG1hcmdpbi1sZWZ0OiAtMzBweDtcclxuICBtYXJnaW4tcmlnaHQ6IC0zMHB4O1xyXG4gIG1hcmdpbi1ib3R0b206IDBweDtcclxufVxyXG5cclxuLmJ1dHRvblN0eWxlIHtcclxuICB3aWR0aDogMTcwcHg7XHJcbiAgYmFja2dyb3VuZC1jb2xvcjogI2ZmYTUwMDtcclxuICBmb250LXNpemU6IDE3cHg7XHJcbiAgYm9yZGVyOiAxcHggc29saWQgIzAwMzg3NjtcclxufVxyXG4uY29udGFpbmVyIHtcclxuICBib3JkZXI6IDJweCBzb2xpZCAjMDAzODc2O1xyXG59XHJcbi5mb3JtIHtcclxuICBtYXJnaW4tbGVmdDotMTVweDtcclxuICBtYXJnaW4tcmlnaHQ6LTE1cHg7XHJcbn1cclxuKi9cclxuIl19 */\"","module.exports = \"\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
TO BE COMPLETED BY REQUESTOR
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n\"","import { Component, ViewChild, Input, Output, EventEmitter, OnInit } from '@angular/core';\r\nimport { FormGroup, FormControl, Validators,FormArray } from '@angular/forms';\r\nimport { AppLoadService } from '../app-load/app-load.service';\r\nimport { FormService } from './form.service';\r\nimport { NgbModal } from '@ng-bootstrap/ng-bootstrap';\r\nimport { ModalComponent } from '../modal/modal.component';\r\nimport { ErrorLoggerService } from '../ErrorComponent/errorlogger.service';\r\nimport { Ng4LoadingSpinnerService } from 'ng4-loading-spinner';\r\n@Component({\r\n selector: 'comp-form',\r\n templateUrl: './form.component.html',\r\n styleUrls: ['./form.component.css']\r\n})\r\nexport class FormComponent implements OnInit {\r\n\r\n public isNavigation: boolean = true;\r\n @Input() formData: any = null;\r\n title: string = \"\";\r\n form: FormGroup;\r\n \r\n constructor(private appLoad: AppLoadService, private modalService: NgbModal, private formService: FormService, private errorloggerservice: ErrorLoggerService, private spinnerService: Ng4LoadingSpinnerService) {\r\n this.title = \"Security Information Request Form\";\r\n }\r\n\r\n ngOnInit() {\r\n //this.isNavigation = true;\r\n //get form settings\r\n try {\r\n var group: any = {};\r\n this.formData.forEach(setting => {\r\n if(setting.DataType==\"checkboxgroup\"){\r\n group[setting.FieldId] = this.createFormArray(setting.DataSource);\r\n }\r\n else if (setting.DataType == \"radiogroup\") {\r\n group[setting.FieldId] = new FormControl('');\r\n }\r\n else if (setting.value == null) {\r\n group[setting.FieldId] = new FormControl('', this.getValidators(setting));\r\n }\r\n else{\r\n group[setting.FieldId] = new FormControl(setting.value, this.getValidators(setting));\r\n }\r\n });\r\n this.form = new FormGroup(group);\r\n // console.log(\"form\", this.form);\r\n }\r\n catch (er) {\r\n // log and show error\r\n er.showError = false;\r\n er.toolname = \"FormComponent\";\r\n er.methodname = \"Init\";\r\n this.errorloggerservice.handleErrors(er);\r\n }\r\n }\r\ncreateFormArray(datasource:[]){\r\n var farray=new FormArray([]);\r\n if(datasource.length>0){\r\n datasource.forEach(ds => {\r\n farray.push(new FormControl(''));\r\n });\r\n }\r\nreturn farray;\r\n}\r\n getValidators(setting) {\r\n try{\r\n let vals = [];\r\n if (setting.Required == true) {\r\n vals.push(Validators.required);\r\n }\r\n if (setting.Maxlength != null) {\r\n vals.push(Validators.maxLength(setting.Maxlength));\r\n }\r\n if (setting.Format != null && setting.Format != \"\") {\r\n vals.push(Validators.pattern(setting.Format));\r\n }\r\n return vals;\r\n }\r\n catch (er) {\r\n // log and show error\r\n er.showError = false;\r\n er.toolname = \"FormComponent\";\r\n er.methodname = \"getValidators\";\r\n this.errorloggerservice.handleErrors(er);\r\n }\r\n }\r\n getControlPlaceHolderValue(Id: string): string{\r\n let fieldName = \"\";\r\n this.formData.forEach(setting => {\r\n if (setting.FieldId == Id) {\r\n fieldName = setting.FieldName;\r\n return fieldName;\r\n }\r\n });\r\n return fieldName;\r\n } \r\n public WhiteListFields(): string {\r\n try{\r\n //Validate with whitelist chars and allow based on that\r\n //var indata = this.getFormatedDate(newComment);\r\n //var validChars = /^[a-z][a-z\\d .-,\\\"!?@#&]+$/i;\r\n // var validChars = new RegExp(\"[a-z0-9/. -%]+$\");--working fine\r\n // var validChars = new RegExp(\"[a-z0-9\" + this.WhiteListChars+\"]+$\",\"i\");\r\n var validChars = new RegExp(this.appLoad.applicationsettings.WhiteListCharacters);\r\n let FieldList = \"\";\r\n //var validChars = /^[A-Za-z0-9\\s.-/,/\\\"!@?#&]*$/;\r\n Object.keys(this.form.controls).forEach(field => {\r\n const control = this.form.get(field);\r\n if (!validChars.test(control.value)) {\r\n control.markAsDirty({ onlySelf: true });\r\n let fname = this.getControlPlaceHolderValue(field);\r\n FieldList = fname != \"\" ? FieldList + \",\" + fname : FieldList;\r\n }\r\n });\r\n return FieldList;\r\n }\r\n catch (er) {\r\n // log and show error\r\n er.showError = false;\r\n er.toolname = \"FormComponent\";\r\n er.methodname = \"WhiteListFields\";\r\n this.errorloggerservice.handleErrors(er);\r\n return \"\";\r\n }\r\n }\r\n setDate(): void {\r\n // Set today date using the patchValue function\r\n let date = new Date();\r\n //this.form.patchValue({\r\n // IdDate: {\r\n // date: {\r\n // year: date.getFullYear(),\r\n // month: date.getMonth() + 1,\r\n // day: date.getDate()\r\n // }\r\n // }\r\n //});\r\n this.form.patchValue({\r\n IdDate: {\r\n jsdate: null\r\n }\r\n });\r\n }\r\n onSubmit(): void {\r\n try{\r\n if (this.form.valid) {\r\n this.spinnerService.show();\r\n let FieldList = this.WhiteListFields();\r\n //Validate whitelist characters\r\n if (FieldList != \"\") {\r\n this.spinnerService.hide();\r\n FieldList = FieldList.substring(1);\r\n //alert(this.appLoad.applicationsettings.WhiteListValidation_Error.replace(\"()\", \"(\"+FieldList+\")\"));\r\n this.openMessageModal(\"Error\", this.appLoad.applicationsettings.WhiteListValidation_Error.replace(\"()\", \"(\" + FieldList + \")\"), \"Ok\");\r\n }\r\n else {\r\n console.log(this.form.value);\r\n this.formService.SubmitRequest(this.form.value).then(function(res:any) {\r\n this.spinnerService.hide(); \r\n if (res.message.toLocaleLowerCase() == \"success\") {\r\n this.openMessageModal(\"Confirmation\", this.appLoad.applicationsettings.SuccessRequestMessage.replace(\"()\", res.RequestID), \"Ok\");\r\n //this.form.reset();\r\n }\r\n else {\r\n this.openMessageModal(\"Error\", this.appLoad.applicationsettings.FailureRequestMessage, \"Ok\");\r\n }\r\n \r\n }.bind(this))\r\n .catch(err => {\r\n this.spinnerService.hide();\r\n err.showError = true;\r\n err.usermessage = this.appLoad.applicationsettings.FailureRequestMessage;\r\n this.errorloggerservice.handleErrors(err);\r\n \r\n });\r\n \r\n }\r\n }\r\n else { \r\n Object.keys(this.form.controls).forEach(field => { \r\n const control = this.form.get(field);\r\n if (!control.valid) {\r\n control.markAsTouched();\r\n control.markAsDirty();\r\n //control.updateValueAndValidity();\r\n }\r\n });\r\n //this.setDate();\r\n // alert(this.appLoad.applicationsettings.FormValidation_Error);\r\n this.openMessageModal(\"Validation Error\", this.appLoad.applicationsettings.FormValidation_Error, \"Ok\");\r\n // this.form.reset();\r\n }\r\n \r\n //{\r\n // \"detail\": {\r\n // \"DescriptionOfEvent\": \"test1\",\r\n // \"LocationOfEvent\": \"test2*\",\r\n // \"SubjectInvolved\": \"test3\",\r\n // \"AdditionalInfo\": \"test4\"\r\n // },\r\n // \"customFields\": [\r\n // { \"Custfieldid\": 5, \"Fieldname\": \"Submitter\", \"Fieldvalue\": \"test5\" },\r\n // { \"Custfieldid\": 6, \"Fieldname\": \"Phone1\", \"Fieldvalue\": \"test6\" },\r\n // { \"Custfieldid\": 7, \"Fieldname\": \"Email\", \"Fieldvalue\": \"test7\" },\r\n // { \"Custfieldid\": 8, \"Fieldname\": \"EventDateTime\", \"Fieldvalue\": \"test8\" },\r\n // { \"Custfieldid\": 9, \"Fieldname\": \"EventTime\", \"Fieldvalue\": \"test9\" },\r\n // { \"Custfieldid\": 10, \"Fieldname\": \"CameraNames\", \"Fieldvalue\": \"test10\" }\r\n // ]\r\n //}\r\n }\r\n catch (er) {\r\n // log and show error\r\n this.spinnerService.hide();\r\n er.showError = true;\r\n er.usermessage = this.appLoad.applicationsettings.FailureRequestMessage;\r\n er.toolname = \"FormComponent\";\r\n er.methodname = \"onSubmit\";\r\n this.errorloggerservice.handleErrors(er);\r\n \r\n }\r\n }\r\n openMessageModal(title: string, msg: string, btnString: string) {\r\n try{\r\n const modalRef = this.modalService.open(ModalComponent);\r\n modalRef.componentInstance.showErrorMessage(title, msg, btnString);\r\n }\r\n catch (er) {\r\n // log and show error\r\n er.showError = false; \r\n er.toolname = \"FormComponent\";\r\n er.methodname = \"openMessageModal\";\r\n this.errorloggerservice.handleErrors(er);\r\n }\r\n }\r\n}\r\n","// auth.service.ts\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpHandler,HttpHeaders } from '@angular/common/http';\r\nimport 'rxjs/Rx';\r\nimport 'rxjs/add/operator/toPromise';\r\nimport 'isomorphic-fetch';\r\nimport 'rxjs/add/operator/map';\r\nimport { Observable } from 'rxjs';\r\nimport { AppLoadService } from '../app-load/app-load.service';\r\nimport { Component, Inject } from '@angular/core';\r\nimport { ErrorLoggerService } from '../ErrorComponent/errorlogger.service'\r\nimport { AuthService } from '../Login/auth.service'\r\nimport * as moment from 'moment'\r\n\r\n//interface Credentials {\r\n// username: string,\r\n// password: string\r\n//}\r\n\r\n \r\n@Injectable()\r\nexport class FormService {\r\n public formData: any=null;\r\n //private headers = new Headers({ 'Content-Type': 'application/json', 'Access-Control-Allow-Origin': '*' });\r\n //private headers = new Headers({ 'Content-Type': 'application/x-www-form-urlencoded' });\r\nprivate headers = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Access-Control-Allow-Origin': '*' })\r\n };\r\n constructor(private appLoad: AppLoadService, private http: HttpClient, private logService: ErrorLoggerService, private authService: AuthService) {\r\n \r\n }\r\n\r\n async getFormSettings(): Promise {\r\n try {\r\n //Get the for settings\r\n let response = await fetch('./assets/form.settings.json');\r\n let responseasjson = await response.json();\r\n this.formData=responseasjson;\r\n return responseasjson;\r\n }\r\n catch (er) {\r\n // log and show error\r\n er.showError = true;\r\n er.usermessage = \"An error occurred in getting form Settings.\";\r\n er.toolname = \"FormComponent\";\r\n er.methodname = \"getFormSettings\";\r\n this.logService.handleErrors(er);\r\n }\r\n }\r\n public getFormatedData(newRequest: any) {\r\n let data: any = {};\r\n //let detail: any = {};\r\n //data.Location = newRequest.IdLocofIncident; \r\n data.Details = newRequest.IdAddInfo;\r\n \r\n let customFields: any = {};\r\n let customField1: any = {};\r\n this.formData.forEach(setting => {\r\n if(setting.CityworksFieldId!=null){\r\n if(setting.DataType==\"checkboxgroup\"){\r\n //customFields[setting.CityworksFieldId] =newRequest[setting.FieldId].toString();\r\n setting.DataSource.forEach(ds => {\r\n if(setting.FieldId==\"IdCategory\"){\r\n if(newRequest[setting.FieldId][ds.id-1]==true){\r\n customFields[ds.DBVal]=\"YES\";\r\n }\r\n else{\r\n customFields[ds.DBVal]=\"NO\";\r\n }\r\n }\r\n else if(newRequest[setting.FieldId][ds.id-1]==true){\r\n customFields[setting.CityworksFieldId]=ds.DBVal;\r\n }\r\n \r\n });\r\n }\r\n else if(setting.DataType==\"date\" || setting.DataType ==\"owl\"){ \r\n customFields[setting.CityworksFieldId] =newRequest[setting.FieldId]!=null?moment(newRequest[setting.FieldId]).format('MM/DD/YYYY h:mm a'):null;\r\n }\r\n else{\r\n customFields[setting.CityworksFieldId] =newRequest[setting.FieldId].toString();\r\n }\r\n }\r\n });\r\n //data.detail = detail;\r\n data.customFields = customFields;\r\n var indata = JSON.stringify(data);\r\n return indata;\r\n }\r\n SubmitRequest(newRequest: any) {\r\n //new formatted data for cityworks api \r\n \r\n this.headers = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': 'Bearer ' + this.authService.token })\r\n };\r\n var indata = this.getFormatedData(newRequest);\r\n return this.http\r\n .post(this.appLoad.applicationsettings.API_Endpoint + \"SecurityForm/\", indata, this.headers)\r\n .toPromise();\r\n //.then(this.extractPost)\r\n //.catch(this.handleError);\r\n // let responseasjson = await response.json();\r\n // return responseasjson;\r\n }\r\n private extractPost(res: Response) {\r\n let body = res.json();\r\n return body;\r\n }\r\n private handleError(error: any): any {\r\n error.showError = true;\r\n error.usermessage = \"Form Post API Failed.\";\r\n this.logService.handleErrors(error);\r\n return null;\r\n } \r\n\r\n}\r\n","module.exports = \"input.ng-dirty.ng-invalid {\\r\\n border-color: red;\\r\\n border-width:5px;\\r\\n}\\r\\ntextarea.ng-dirty.ng-invalid {\\r\\n border-color: red;\\r\\n border-width: 5px;\\r\\n }\\r\\n/*.form-control {\\r\\n font-size: 17px;\\r\\n color: black;*/\\r\\n/*background-color: #ABB4BA;*/\\r\\n/*background-image: none;\\r\\n border-top: 0px !important;\\r\\n border-left: 0px !important;\\r\\n border-right: 0px !important;\\r\\n border-bottom: 1px solid black;\\r\\n border-radius: 0 !important;\\r\\n box-shadow: none !important;\\r\\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\\r\\n -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;\\r\\n -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\\r\\n transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\\r\\n}\\r\\n.form-group {\\r\\n margin-bottom: -1px !important;\\r\\n border:1px solid !important;\\r\\n}*/\\r\\n/* Special css for input placeholder text needed for Google Chrome \\r\\n::-webkit-input-placeholder {\\r\\n color: black;\\r\\n font-weight: bold;\\r\\n}\\r\\n\\r\\n::-moz-placeholder {\\r\\n color: black;\\r\\n font-weight: bold;\\r\\n}*/\\r\\n.checkboxgroupdiv {\\r\\n height: 100%;\\r\\n}\\r\\n/*.checkboxgroupCntrl {\\r\\n width:25%;\\r\\n}\\r\\n.checkboxgroupCntrlHeading {\\r\\n width: 25%;\\r\\n font-weight: bold;\\r\\n}\\r\\n.form-controllabel {\\r\\n width: 100%;\\r\\n font-weight: bold;\\r\\n background-image: none;\\r\\n border: 0px !important;\\r\\n border-radius: 0 !important;\\r\\n box-shadow: none !important;\\r\\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\\r\\n -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;\\r\\n -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\\r\\n transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\\r\\n}*/\\r\\n.datetimelabel {\\r\\n margin-bottom:0px !important;\\r\\n}\\r\\n.datetimeipnput {\\r\\n width: 98%;\\r\\n border:none !important;\\r\\n}\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvRm9ybUNvbnRyb2wvZm9ybWNvbnRyb2wuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLGlCQUFpQjtFQUNqQixnQkFBZ0I7QUFDbEI7QUFDQTtJQUNJLGlCQUFpQjtJQUNqQixpQkFBaUI7RUFDbkI7QUFDRjs7Z0JBRWdCO0FBQ2QsNkJBQTZCO0FBQzdCOzs7Ozs7Ozs7Ozs7Ozs7RUFlQTtBQUNGOzs7Ozs7Ozs7RUFTRTtBQUNGO0VBQ0UsWUFBWTtBQUNkO0FBQ0E7Ozs7Ozs7Ozs7Ozs7Ozs7OztFQWtCRTtBQUNGO0VBQ0UsNEJBQTRCO0FBQzlCO0FBQ0E7RUFDRSxVQUFVO0VBQ1Ysc0JBQXNCO0FBQ3hCIiwiZmlsZSI6InNyYy9hcHAvRm9ybUNvbnRyb2wvZm9ybWNvbnRyb2wuY29t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taW4tb3V0IC4xNXMsIC13ZWJraXQtYm94LXNoYWRvdyBlYXNlLWluLW91dCAuMTVzO1xyXG4gIC1vLXRyYW5zaXRpb246IGJvcmRlci1jb2xvciBlYXNlLWluLW91dCAuMTVzLCBib3gtc2hhZG93IGVhc2UtaW4tb3V0IC4xNXM7XHJcbiAgdHJhbnNpdGlvbjogYm9yZGVyLWNvbG9yIGVhc2UtaW4tb3V0IC4xNXMsIGJveC1zaGFkb3cgZWFzZS1pbi1vdXQgLjE1cztcclxufSovXHJcbi5kYXRldGltZWxhYmVsIHtcclxuICBtYXJnaW4tYm90dG9tOjBweCAhaW1wb3J0YW50O1xyXG59XHJcbi5kYXRldGltZWlwbnB1dCB7XHJcbiAgd2lkdGg6IDk4JTtcclxuICBib3JkZXI6bm9uZSAhaW1wb3J0YW50O1xyXG59XHJcbiJdfQ== */\"","module.exports = \"
\\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n\"","import { Component, OnInit, Input,ChangeDetectionStrategy } from '@angular/core';\r\nimport { FormGroup, FormControl } from '@angular/forms';\r\n\r\nimport { OwlDateTimeModule, OwlNativeDateTimeModule } from 'ng-pick-datetime';\r\n@Component({\r\n selector: 'comp-form-control',\r\n templateUrl: './formcontrol.component.html',\r\n styleUrls: ['./formcontrol.component.css'],\r\n//changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormControlComponent implements OnInit {\r\n @Input() setting;\r\n @Input() form: FormGroup;\r\n \r\n get isValid() { \r\n if (this.form.controls[this.setting.FieldId] != null) {\r\n return this.form.controls[this.setting.FieldId].valid;\r\n }\r\n else {\r\n return true;\r\n } \r\n }\r\n get isDirty() {\r\n if (this.form.controls[this.setting.FieldId] != null) {\r\n return this.form.controls[this.setting.FieldId].dirty;\r\n }\r\n else {\r\n return true;\r\n }\r\n }\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n OnPhoneChange(evt: any) {\r\n try {\r\n var val = evt.target.value;\r\n var tel = val.replace(/[^0-9]/g, '');\r\n if (!tel) { evt.target.value= ''; }\r\n\r\n var value = tel.toString().trim().replace(/^\\+/, '');\r\n\r\n if (value.match(/[^0-9]/)) {\r\n evt.target.value= tel;\r\n }\r\n\r\n var country, city, number;\r\n\r\n switch (value.length) {\r\n case 1:\r\n case 2:\r\n case 3:\r\n city = value;\r\n break;\r\n\r\n default:\r\n city = value.slice(0, 3);\r\n number = value.slice(3);\r\n }\r\n\r\n if (number) {\r\n if (number.length > 3) {\r\n number = number.slice(0, 3) + '-' + number.slice(3, 7);\r\n }\r\n else {\r\n number = number;\r\n }\r\n\r\n evt.target.value= (\"(\" + city + \") \" + number).trim();\r\n }\r\n else {\r\n evt.target.value= \"(\" + city;\r\n }\r\n }\r\n catch (er) {\r\n console.log(\"OnPhoneChnage\" + er);\r\n }\r\n }\r\n OnPhoneKeyUp(evt: any) {\r\n try {\r\n var key = evt.keyCode;\r\n // If the keys include the CTRL, SHIFT, ALT, or META keys, or the arrow keys, do nothing.\r\n // This lets us support copy and paste too\r\n if (key == 91 || (15 < key && key < 19) || (37 <= key && key <= 40)) {\r\n return;\r\n //var regexObj = /^(?:\\+?1[-. ]?)?(?:\\(?([0-9]{3})\\)?[-. ]?)?([0-9]{3})[-. ]?([0-9]{4})$/;\r\n //if (regexObj.test(val)) {\r\n // var parts = val.match(regexObj);\r\n // var phone = \"\";\r\n // if (parts[1]) {\r\n // phone += \"(\" + parts[1] + \") \";\r\n // }\r\n // phone += parts[2] + \"-\" + parts[3];\r\n // evt.target.value = phone;\r\n // return;\r\n //} else {\r\n // //invalid phone number\r\n // evt.target.value = val;\r\n // return;\r\n //}\r\n }\r\n this.OnPhoneChange(evt);\r\n }\r\n catch (er) {\r\n console.log(\"OnPhoneKeyUp\" + er);\r\n }\r\n }\r\n}\r\n\r\n","// auth.service.ts\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpHandler,HttpHeaders } from '@angular/common/http';\r\nimport 'rxjs/add/operator/map';\r\nimport { Observable } from 'rxjs';\r\nimport { AppLoadService } from '../app-load/app-load.service';\r\nimport { Component, Inject } from '@angular/core';\r\nimport { ErrorLoggerService } from '../ErrorComponent/errorlogger.service'\r\n\r\n//interface Credentials {\r\n// username: string,\r\n// password: string\r\n//}\r\nconst httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/x-www-form-urlencoded', 'Access-Control-Allow-Origin': '*' })\r\n};\r\n\r\n\r\n@Injectable()\r\nexport class AuthService {\r\n apiEndpoint: string;\r\n public token: string = \"\";\r\n\r\n //private headers = new Headers({ 'Content-Type': 'application/json', 'Access-Control-Allow-Origin': '*' });\r\n //private headers = new Headers({ 'Content-Type': 'application/x-www-form-urlencoded' });\r\n constructor(private appLoad: AppLoadService, private http: HttpClient, private logService: ErrorLoggerService) {\r\n //this.apiEndpoint = config.getConfig('apiEndpoint');\r\n }\r\n\r\n login(username: string, password: string) {\r\n try {\r\n this.apiEndpoint = this.appLoad.applicationsettings.API_Endpoint;\r\n \r\n var indata = \"grant_type=password&username=\" + username + \"&password=\" + password;\r\n var querystring = this.apiEndpoint + \"token\";\r\n return this.http\r\n .post(querystring, indata, httpOptions)\r\n .toPromise()\r\n .then(this.extractTokenData.bind(this))\r\n .catch(this.handleError.bind(this));\r\n\r\n\r\n\r\n //.map(res => res.json())\r\n //.subscribe(\r\n //// We're assuming the response will be an object\r\n //// with the JWT on an id_token key\r\n //data => localStorage.setItem('id_token', data.id_token),\r\n //error => console.log(error)\r\n //);\r\n //.map((response: Response) => {\r\n // // login successful if there's a jwt token in the response\r\n // let token = response.json();\r\n // if (token) {\r\n // // set token property\r\n // this.token = token;\r\n\r\n // // store username and jwt token in local storage to keep user logged in between page refreshes\r\n // localStorage.setItem('id_token', token);\r\n\r\n // // return true to indicate successful login\r\n // return true;\r\n // } else {\r\n // // return false to indicate failed login\r\n // return false;\r\n // }\r\n //}).subscribe({ return true;}); \r\n }\r\n catch (er) {\r\n // log and show error\r\n er.showError = true;\r\n er.usermessage = \"An error occurred in Login.\";\r\n er.toolname = \"LoginComponent\";\r\n er.methodname = \"login\";\r\n this.logService.handleErrors(er);\r\n }\r\n }\r\n\r\n private extractTokenData(res: any): boolean {\r\n let Valid: boolean = false;\r\n try {\r\n //let token = res.text();\r\n let token = res;//.json();\r\n if (token) {\r\n // set token property\r\n this.token = token.access_token;\r\n\r\n // store username and jwt token in local storage to keep user logged in between page refreshes\r\n localStorage.setItem('id_token', token);\r\n\r\n // return true to indicate successful login\r\n Valid = true;\r\n return Valid;\r\n } else {\r\n // return false to indicate failed login\r\n return Valid;\r\n }\r\n }\r\n catch (er) {\r\n er.showError = false;\r\n er.toolname = \"LoginComponent\";\r\n er.methodname = \"extractTokenData\";\r\n this.logService.handleErrors(er);\r\n }\r\n return Valid;\r\n }\r\n\r\n private handleError(error: any): boolean {\r\n error.showError = false;\r\n error.usermessage = \"Login API Failed.\";\r\n error.toolname = \"AuthService\";\r\n error.methodname = \"login\";\r\n this.logService.handleErrors(error);\r\n return false;\r\n }\r\n\r\n logout(): void {\r\n // clear token remove user from local storage to log user out\r\n this.token = null;\r\n localStorage.removeItem('id_token');\r\n }\r\n\r\n}\r\n","module.exports = \".center-this {\\r\\n display: flex;\\r\\n align-items: center;\\r\\n justify-content: center;\\r\\n padding-top: 10px;\\r\\n /*height: 50vh;*/\\r\\n /*background-color: #ABB4BA;*/\\r\\n}\\r\\n\\r\\nh4 {\\r\\n color: #003876;\\r\\n font-weight: bold;\\r\\n padding-top: 30px;\\r\\n}\\r\\n\\r\\n.LoginIntro {\\r\\n padding-left: 5%;\\r\\n padding-right: 5%;\\r\\n color: #003876;\\r\\n}\\r\\n\\r\\n.LoginIntro a {\\r\\n font-weight: bold;\\r\\n color: #ffa500;\\r\\n }\\r\\n\\r\\n.login {\\r\\n color: #003876;\\r\\n}\\r\\n\\r\\n.login form {\\r\\n width: 100%;\\r\\n background-color: #ABB4BA;\\r\\n padding: 20px;\\r\\n border-radius: 5px;\\r\\n color: #003876;\\r\\n border: 3px solid #003876;\\r\\n /*box-shadow: 3px 3px 4px rgba(0,0,0,0.2);\\r\\n border:solid 1px lightgray;*/\\r\\n }\\r\\n\\r\\n.login form .form-control {\\r\\n font-size: 17px;\\r\\n font-style: italic;\\r\\n color: #0077ff;\\r\\n /*background-color: #ABB4BA;*/\\r\\n background-image: none;\\r\\n border: 2px solid #003876;\\r\\n border-radius: 0;\\r\\n box-shadow: none !important;\\r\\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\\r\\n transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\\r\\n }\\r\\n\\r\\n/* Special css for input placeholder text needed for Google Chrome */\\r\\n\\r\\n::-webkit-input-placeholder {\\r\\n color: #99c9ff;\\r\\n}\\r\\n\\r\\n::-moz-placeholder {\\r\\n color: #99c9ff;\\r\\n}\\r\\n\\r\\n.login .link-text {\\r\\n text-decoration: underline !important;\\r\\n color: #0a6ebd;\\r\\n}\\r\\n\\r\\n.login .link-text:active {\\r\\n text-decoration: underline !important;\\r\\n }\\r\\n\\r\\n.login .center {\\r\\n text-align: center;\\r\\n}\\r\\n\\r\\n.login .buttonStyle {\\r\\n width: 170px;\\r\\n background-color: #ffa500;\\r\\n font-size: 17px;\\r\\n border: 1px solid #003876;\\r\\n}\\r\\n\\r\\n.login .italic {\\r\\n font-style: italic;\\r\\n}\\r\\n\\r\\n.copywrite {\\r\\n font-style: italic;\\r\\n font-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b2dsZSBDaHJvbWUgKi9cclxuOjotd2Via2l0LWlucHV0LXBsYWNlaG9sZGVyIHtcclxuICBjb2xvcjogIzk5YzlmZjtcclxufVxyXG5cclxuOjotbW96LXBsYWNlaG9sZGVyIHtcclxuICBjb2xvcjogIzk5YzlmZjtcclxufVxyXG5cclxuXHJcblxyXG4ubG9naW4gLmxpbmstdGV4dCB7XHJcbiAgdGV4dC1kZWNvcmF0aW9uOiB1bmRlcmxpbmUgIWltcG9ydGFudDtcclxuICBjb2xvcjogIzBhNmViZDtcclxufVxyXG5cclxuICAubG9naW4gLmxpbmstdGV4dDphY3RpdmUge1xyXG4gICAgdGV4dC1kZWNvcmF0aW9uOiB1bmRlcmxpbmUgIWltcG9ydGFudDtcclxuICB9XHJcblxyXG4ubG9naW4gLmNlbnRlciB7XHJcbiAgdGV4dC1hbGlnbjogY2VudGVyO1xyXG59XHJcblxyXG4ubG9naW4gLmJ1dHRvblN0eWxlIHtcclxuICB3aWR0aDogMTcwcHg7XHJcbiAgYmFja2dyb3VuZC1jb2xvcjogI2ZmYTUwMDtcclxuICBmb250LXNpemU6IDE3cHg7XHJcbiAgYm9yZGVyOiAxcHggc29saWQgIzAwMzg3NjtcclxufVxyXG5cclxuLmxvZ2luIC5pdGFsaWMge1xyXG4gIGZvbnQtc3R5bGU6IGl0YWxpYztcclxufVxyXG5cclxuLmNvcHl3cml0ZSB7XHJcbiAgZm9udC1zdHlsZTogaXRhbGljO1xyXG4gIGZvbnQtc2l6ZTogMTBweDtcclxuICB0ZXh0LWFsaWduOiByaWdodDtcclxuICBwYWRkaW5nLXJpZ2h0OiAxMHB4O1xyXG4gIHBhZGRpbmctdG9wOjQwcHg7XHJcbn1cclxuIl19 */\"","module.exports = \"
\\r\\n

Security Information Request Form Login

\\r\\n
Please enter your provider User Name and Password.
\\r\\n
If you do not have the login information, please contact Airport Security (414-747-4537).
\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n Invalid Login Credentials\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n \\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n @2023 - Mitchell General International Airport\\r\\n
\\r\\n\"","import { Component, ViewChild, Input, Output, EventEmitter, OnInit, Inject } from '@angular/core';\r\nimport { AuthService } from './auth.service';\r\n\r\nimport { AppLoadService } from '../app-load/app-load.service';\r\nimport { ErrorLoggerService } from '../ErrorComponent/errorlogger.service';\r\nimport { NgForm } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'comp-login',\r\n templateUrl: './login.component.html',\r\n styleUrls: ['./login.component.css']\r\n})\r\n\r\nexport class LoginComponent implements OnInit {\r\n @Input() public loginSuccess: boolean;\r\n @Output() loginSuccessChange: EventEmitter = new EventEmitter();\r\n public username: string = \"\";\r\n public password: string = \"\";\r\n @Input() public loginFailure: boolean;\r\n pubUsr: string = \"\";\r\n pubPW: string = \"\";\r\n public pattern: RegExp;\r\n constructor(private appLoad: AppLoadService, private Auth: AuthService, private errorloggerservice: ErrorLoggerService) {\r\n //this.pubUsr = config.pubUsr;\r\n ////this.pubPW = config.pubPW; \r\n }\r\n ngOnInit() {\r\n this.loginSuccess = false;\r\n this.loginFailure = false;\r\n }\r\n public onSubmit(f: NgForm) {\r\n // Debug code commented out below\r\n //this.loginSuccess = true;\r\n //this.loginSuccessChange.emit(this.loginSuccess);\r\n try {\r\n // Verify no improper characters inputted\r\n var loginpattern: string = this.appLoad.applicationsettings.WhiteListCharacters;\r\n //this.pattern = new RegExp(\"[\" + loginpattern + \"]+$\", \"i\");\r\n this.pattern = new RegExp(loginpattern, \"i\");\r\n if (!this.pattern.test(this.username) || !this.pattern.test(this.password)) {\r\n // invalid character, prevent input\r\n this.loginFailure = true;\r\n }\r\n else {\r\n let logResult = this.Auth.login(this.username, this.password).then((value: any) => {\r\n this.loginSuccess = value;\r\n if (!this.loginSuccess) {\r\n this.loginFailure = true;\r\n }\r\n this.loginSuccessChange.emit(this.loginSuccess);\r\n }).catch(err => {\r\n // log and show error \r\n err.showError = false;\r\n err.usermessage = \"Login API Failed.\";\r\n err.toolname = \"LoginComponent\";\r\n err.methodname = \"processlogin\";\r\n this.errorloggerservice.handleErrors(err);\r\n\r\n this.loginSuccess = false;\r\n if (!this.loginSuccess) {\r\n this.loginFailure = true;\r\n }\r\n this.loginSuccessChange.emit(this.loginSuccess);\r\n });\r\n }\r\n }\r\n catch (er) {\r\n // log and show error\r\n er.showError = false;\r\n er.toolname = \"LoginComponent\";\r\n er.methodname = \"processlogin\";\r\n this.errorloggerservice.handleErrors(er);\r\n }\r\n }\r\n\r\n //public pubAcc() {\r\n // try {\r\n // //this.pubUsr = this.config.getConfig('pubUsr');\r\n // //this.pubPW = this.config.getConfig('pubPW');\r\n // let logResult = this.Auth.login(\"\", \"\").then((value: boolean) => {\r\n // this.loginSuccess = value;\r\n // if (!this.loginSuccess) {\r\n // this.loginFailure = true;\r\n // }\r\n // this.loginSuccessChange.emit(this.loginSuccess);\r\n // });\r\n // }\r\n // catch (er) {\r\n // // log and show error\r\n // er.showError = true;\r\n // er.usermessage = \"An error occurred in public access\";\r\n // er.toolname = \"LoginComponent\";\r\n // er.methodname = \"pubAcc\";\r\n // this.errorloggerservice.handleErrors(er);\r\n // }\r\n //}\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\n\r\nimport { HttpClient, HttpHeaders, HttpResponse } from '@angular/common/http';\r\nimport 'rxjs/Rx';\r\nimport 'rxjs/add/operator/toPromise';\r\nimport 'isomorphic-fetch';\r\n\r\nimport { ApplicationSettings } from '../../app/settings/applicationsettings';\r\n\r\n@Injectable()\r\nexport class AppLoadService {\r\n\r\n public applicationsettings: ApplicationSettings;\r\n\r\n constructor(private httpClient: HttpClient) {\r\n\r\n this.applicationsettings = new ApplicationSettings();\r\n }\r\n\r\n async getSettings(): Promise {\r\n //Get the web application settings\r\n let response = await fetch('./assets/app.settings.json');\r\n let responseasjson = await response.json();\r\n\r\n //Populate the application settings object\r\n for (var x = 0; x < Object.keys(responseasjson).length; x++) {\r\n switch (responseasjson[x].setting) {\r\n case 'API_Endpoint':\r\n {\r\n this.applicationsettings.API_Endpoint = responseasjson[x].value;\r\n break;\r\n }\r\n case 'Site_Title':\r\n {\r\n this.applicationsettings.Site_Title = responseasjson[x].value;\r\n break;\r\n }\r\n case 'Site_Logo':\r\n {\r\n this.applicationsettings.Site_Logo = responseasjson[x].value;\r\n break;\r\n }\r\n case 'GenericErrorMessage_WebApp_Issues':\r\n {\r\n this.applicationsettings.GenericErrorMessage_WebApp_Issues = responseasjson[x].value;\r\n break;\r\n }\r\n case 'GenericErrorMessage_WebAPI_Issues':\r\n {\r\n this.applicationsettings.GenericErrorMessage_WebAPI_Issues = responseasjson[x].value;\r\n break;\r\n }\r\n case 'FormValidation_Error':\r\n {\r\n this.applicationsettings.FormValidation_Error = responseasjson[x].value;\r\n break;\r\n }\r\n case 'WhiteListValidation_Error':\r\n {\r\n this.applicationsettings.WhiteListValidation_Error = responseasjson[x].value;\r\n break;\r\n }\r\n case 'SuccessRequestMessage':\r\n {\r\n this.applicationsettings.SuccessRequestMessage = responseasjson[x].value;\r\n break;\r\n }\r\n case 'FailureRequestMessage':\r\n {\r\n this.applicationsettings.FailureRequestMessage = responseasjson[x].value;\r\n break;\r\n }\r\n case 'SubmitterFieldId':\r\n {\r\n this.applicationsettings.SubmitterFieldId = responseasjson[x].value;\r\n break;\r\n }\r\n case 'PhoneFieldId':\r\n {\r\n this.applicationsettings.PhoneFieldId = responseasjson[x].value;\r\n break;\r\n }\r\n case 'EmailFieldId':\r\n {\r\n this.applicationsettings.EmailFieldId = responseasjson[x].value;\r\n break;\r\n }\r\n case 'EventDateTimeFieldId':\r\n {\r\n this.applicationsettings.EventDateTimeFieldId = responseasjson[x].value;\r\n break;\r\n }\r\n case 'EventTimeFieldId':\r\n {\r\n this.applicationsettings.EventTimeFieldId = responseasjson[x].value;\r\n break;\r\n }\r\n case 'CameraNamesFieldId':\r\n {\r\n this.applicationsettings.CameraNamesFieldId = responseasjson[x].value;\r\n break;\r\n }\r\n case 'UploadFileSize_Height':\r\n {\r\n this.applicationsettings.UploadFileSize_Height = responseasjson[x].value;\r\n break;\r\n }\r\n case 'UploadFileSize_Width':\r\n {\r\n this.applicationsettings.UploadFileSize_Width = responseasjson[x].value;\r\n break;\r\n }\r\n case 'Allowed_File_Types':\r\n {\r\n this.applicationsettings.Allowed_File_Types = responseasjson[x].value;\r\n break;\r\n }\r\n case 'WhiteListCharacters':\r\n {\r\n this.applicationsettings.WhiteListCharacters = responseasjson[x].value;\r\n break;\r\n }\r\n case 'WhiteListCharacters_Popup':\r\n {\r\n this.applicationsettings.WhiteListCharacters_Popup = responseasjson[x].value;\r\n break;\r\n }\r\n default:\r\n {\r\n console.log(`Setting ---`, responseasjson[x].setting, '--- Value--- ', responseasjson[x].value, '--- is not configured for this web application');\r\n break;\r\n }\r\n }\r\n }\r\n\r\n ////////////////////////////////////////////////////////////////////////////////////////////////\r\n // THE BELOW IS FOR DEMONSTRATION PURPOSES ONLY AND CAN BE DELETED\r\n // -- Description\r\n // ---- Simply using values retrieved from previous fetch() calls in subsequent fetch() calls\r\n ////////////////////////////////////////////////////////////////////////////////////////////////\r\n //Use the application settings\r\n //Get the integration server settings\r\n //let integrationsettings = await fetch(this.applicationsettings.API_Endpoint + \"integration\");\r\n //let integrationsettingsasjson = await integrationsettings.json();\r\n ////console.log(integrationsettingsasjson);\r\n //if (integrationsettingsasjson[0].setting == 'API_Endpoint_Integration_Server') {\r\n // var API_Error_Logger = integrationsettingsasjson[0].value;\r\n //}\r\n\r\n ////Use the integration server settins\r\n ////Get the error logs\r\n //let errorlogs = await fetch(API_Error_Logger + \"errorlogs\");\r\n //let errorlogsasjson = await errorlogs.json();\r\n //console.log(errorlogsasjson);\r\n\r\n\r\n return response;\r\n }\r\n\r\n}\r\n","module.exports = \"#jumboid {\\r\\n width: 100%;\\r\\n}\\r\\n\\r\\n.bg-image {\\r\\n position: relative;\\r\\n /*background: url(\\\"../assets/sms-header.jpg\\\") no-repeat center center /cover;*/\\r\\n background-attachment: fixed;\\r\\n}\\r\\n\\r\\n.bg-image img {\\r\\n display: block;\\r\\n width: auto;\\r\\n margin: 0 auto;\\r\\n height:90px;\\r\\n }\\r\\n\\r\\nheader {\\r\\n width: 100%;\\r\\n height: 100%;\\r\\n height: calc(100% - 1px);\\r\\n /*background-image: url('../assets/sms-header.jpg');*/\\r\\n background-size: cover;\\r\\n}\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvYXBwLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSxXQUFXO0FBQ2I7O0FBRUE7RUFDRSxrQkFBa0I7RUFDbEIsOEVBQThFO0VBQzlFLDRCQUE0QjtBQUM5Qjs7QUFFRTtJQUNFLGNBQWM7SUFDZCxXQUFXO0lBQ1gsY0FBYztJQUNkLFdBQVc7RUFDYjs7QUFFRjtFQUNFLFdBQVc7RUFDWCxZQUFZO0VBQ1osd0JBQXdCO0VBQ3hCLHFEQUFxRDtFQUNyRCxzQkFBc0I7QUFDeEIiLCJmaWxlIjoic3JjL2FwcC9hcHAuY29tcG9uZW50LmNzcyIsInNvdXJjZXNDb250ZW50IjpbIiNqdW1ib2lkIHtcclxuICB3aWR0aDogMTAwJTtcclxufVxyXG5cclxuLmJnLWltYWdlIHtcclxuICBwb3NpdGlvbjogcmVsYXRpdmU7XHJcbiAgLypiYWNrZ3JvdW5kOiB1cmwoXCIuLi9hc3NldHMvc21zLWhlYWRlci5qcGdcIikgbm8tcmVwZWF0IGNlbnRlciBjZW50ZXIgL2NvdmVyOyovXHJcbiAgYmFja2dyb3VuZC1hdHRhY2htZW50OiBmaXhlZDtcclxufVxyXG5cclxuICAuYmctaW1hZ2UgaW1nIHtcclxuICAgIGRpc3BsYXk6IGJsb2NrO1xyXG4gICAgd2lkdGg6IGF1dG87XHJcbiAgICBtYXJnaW46IDAgYXV0bztcclxuICAgIGhlaWdodDo5MHB4O1xyXG4gIH1cclxuXHJcbmhlYWRlciB7XHJcbiAgd2lkdGg6IDEwMCU7XHJcbiAgaGVpZ2h0OiAxMDAlO1xyXG4gIGhlaWdodDogY2FsYygxMDAlIC0gMXB4KTtcclxuICAvKmJhY2tncm91bmQtaW1hZ2U6IHVybCgnLi4vYXNzZXRzL3Ntcy1oZWFkZXIuanBnJyk7Ki9cclxuICBiYWNrZ3JvdW5kLXNpemU6IGNvdmVyO1xyXG59XHJcbiJdfQ== */\"","module.exports = \"
\\r\\n
\\r\\n\\r\\n \\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\"","import { Component, ViewChild } from '@angular/core';\r\nimport { AppLoadService } from '../app/app-load/app-load.service';\r\nimport { Subscription } from 'rxjs/Subscription';\r\n\r\n// modal popup\r\nimport { NgbModal } from '@ng-bootstrap/ng-bootstrap';\r\nimport { ModalComponent } from '../app/modal/modal.component';\r\nimport { ErrorPopupComponent } from '../app/ErrorComponent/errorpopup.component';\r\n\r\n// Error Logging\r\nimport { ErrorLoggerService } from '../app/ErrorComponent/errorlogger.service';\r\n\r\nimport { ErrorPopupService } from '../app/ErrorComponent/errorpopup.service';\r\n\r\nimport { LoginComponent } from '../app/Login/login.component';\r\nimport { FormComponent } from '../app/Form/form.component';\r\nimport { FormService } from '../app/Form/form.service';\r\n\r\n@Component({\r\n selector: 'app-root',\r\n templateUrl: './app.component.html',\r\n styleUrls: ['./app.component.css']\r\n})\r\n\r\nexport class AppComponent {\r\n public isLoginSuccess: boolean = false;\r\n public ShowFailureMessage: boolean = false;\r\n @ViewChild('errpopup') public errpopup: any;\r\n @ViewChild('loginComponent') public loginComponent: LoginComponent;\r\n title: string = 'my app';\r\n apiEndpoint: string;\r\n subscription: Subscription;\r\n unauthsubscription: Subscription;\r\n\r\nformData: any= null\r\n constructor(private errService: ErrorPopupService, private appLoad: AppLoadService, private modalService: NgbModal, private errorloggerservice: ErrorLoggerService,private formService: FormService) {\r\n this.apiEndpoint = appLoad.applicationsettings.API_Endpoint;\r\n try {\r\n this.isLoginSuccess = false;\r\n this.unauthsubscription = errService.UnAuthError$.subscribe(\r\n this._setUnAuthMessage.bind(this));\r\n //this.subscription = errService.ShowPopup$.subscribe(\r\n // err => {\r\n // this.errpopup.showErrorMessage(`${err}`);\r\n // });\r\n this.subscription = errService.ShowPopup$.subscribe(\r\n err => {\r\n this.open(err);\r\n });\r\n\r\n this.formService.getFormSettings().then(this.extractFormData.bind(this));\r\n }\r\n catch (er) {\r\n er.showError = true;\r\n er.usermessage = \"An error occured in loading the application\";\r\n er.toolname = \"AppComponent\";\r\n er.methodname = \"constructor\";\r\n this.errorloggerservice.handleErrors(er);\r\n }\r\n }\r\n private extractFormData(result: any): void {\r\n this.formData=result;\r\n }\r\n private _setUnAuthMessage(data) {\r\n this.isLoginSuccess = data;\r\n this.ShowFailureMessage = true;\r\n }\r\n public changeloginSuccess(data) {\r\n this.isLoginSuccess = data;\r\n }\r\n\r\n open(err: any) {\r\n const modalRef = this.modalService.open(ErrorPopupComponent);\r\n modalRef.componentInstance.title = 'Warning';\r\n modalRef.componentInstance.ErrorMsg = err;\r\n }\r\n\r\n ngOnDestroy() {\r\n //this.errpopup.hideErrorMsg();\r\n // prevent memory leak when component destroyed\r\n if (this.subscription != null) {\r\n this.subscription.unsubscribe();\r\n this.subscription = null;\r\n }\r\n if (this.unauthsubscription != null) {\r\n this.unauthsubscription.unsubscribe();\r\n this.unauthsubscription = null;\r\n }\r\n }\r\n}\r\n","import { BrowserModule } from '@angular/platform-browser';\r\nimport { NgModule } from '@angular/core';\r\nimport { FormsModule,ReactiveFormsModule } from '@angular/forms';\r\n\r\nimport { HttpClientModule } from '@angular/common/http';\r\n\r\nimport { APP_INITIALIZER } from '@angular/core';\r\n\r\nimport { AppLoadService } from './app-load/app-load.service';\r\nimport { FormService } from './Form/form.service';\r\n// UI Component Library\r\nimport { NgbModule, NgbDateParserFormatter, NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';\r\n\r\n// Modal\r\nimport { ModalComponent } from './modal/modal.component';\r\n\r\n// Error Handling\r\nimport { ErrorPopupComponent } from './ErrorComponent/errorpopup.component';\r\nimport { ErrorLoggerService } from '../app/ErrorComponent/errorlogger.service';\r\nimport { ErrorPopupService } from '../app/ErrorComponent/errorpopup.service';\r\nimport { GenericErrorHandler } from '../app/ErrorComponent/GenericErrorHandler';\r\n\r\nimport { AppComponent } from './app.component';\r\n\r\nimport { LoginComponent } from './Login/login.component';\r\nimport { AuthService } from './Login/auth.service';\r\n\r\nimport { FormComponent } from './Form/form.component';\r\nimport { FormControlComponent } from './FormControl/formcontrol.component';\r\nimport { DatePickerComponent } from './DatePicker/datepicker-popup.component';\r\nimport { NgbDateCustomParserFormatter } from './DatePicker/NgbDateCustomParserFormatter';\r\nimport { Ng4LoadingSpinnerModule } from 'ng4-loading-spinner';\r\n\r\n// DateTime Picker\r\nimport { OwlDateTimeModule, OwlNativeDateTimeModule, OWL_DATE_TIME_FORMATS } from 'ng-pick-datetime';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\n\r\n// learn more about this from\r\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\r\nexport const MY_NATIVE_FORMATS = {\r\n fullPickerInput: { year: 'numeric', month: 'numeric', day: 'numeric', hour: 'numeric', minute: 'numeric' },\r\n datePickerInput: { year: 'numeric', month: 'numeric', day: 'numeric' },\r\n timePickerInput: { hour: 'numeric', minute: 'numeric' },\r\n monthYearLabel: { year: 'numeric', month: 'short' },\r\n dateA11yLabel: { year: 'numeric', month: 'long', day: 'numeric' },\r\n monthYearA11yLabel: { year: 'numeric', month: 'long' },\r\n};\r\n\r\nexport function ApplicationInitialization(applicationinitialization: AppLoadService) {\r\n return () => applicationinitialization.getSettings();\r\n}\r\n\r\n@NgModule({\r\n declarations: [\r\n AppComponent,\r\n LoginComponent,\r\n FormComponent,\r\n FormControlComponent,\r\n DatePickerComponent,\r\n ModalComponent,\r\n ErrorPopupComponent,\r\n GenericErrorHandler\r\n \r\n ],\r\n imports: [\r\n BrowserModule, \r\n FormsModule,\r\n ReactiveFormsModule,\r\n HttpClientModule, \r\n NgbModule.forRoot(),\r\n Ng4LoadingSpinnerModule.forRoot(),\r\n OwlDateTimeModule,\r\n OwlNativeDateTimeModule,\r\n BrowserAnimationsModule\r\n ],\r\n entryComponents: [\r\n ModalComponent,\r\n ErrorPopupComponent\r\n ],\r\n providers: [\r\n AppLoadService,\r\n AuthService,\r\n FormService,\r\n ErrorLoggerService,\r\n ErrorPopupService,\r\n {\r\n provide: APP_INITIALIZER,\r\n useFactory: ApplicationInitialization,\r\n deps: [AppLoadService],\r\n multi: true\r\n },\r\n {\r\n provide: OWL_DATE_TIME_FORMATS, useValue: MY_NATIVE_FORMATS\r\n },\r\n {provide: NgbDateParserFormatter, useClass: NgbDateCustomParserFormatter }\r\n ],\r\n bootstrap: [AppComponent]\r\n})\r\nexport class AppModule { }\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21vZGFsL21vZGFsLmNvbXBvbmVudC5jc3MifQ== */\"","module.exports = \"
\\r\\n

{{title}}

\\r\\n \\r\\n
\\r\\n
\\r\\n

{{message}}

\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n\"","import { Component, Input, OnInit } from '@angular/core';\r\nimport { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';\r\n\r\n\r\n@Component({\r\n selector: 'app-modal',\r\n templateUrl: './modal.component.html',\r\n styleUrls: ['./modal.component.css']\r\n})\r\nexport class ModalComponent implements OnInit {\r\n @Input() title:string=\"\";\r\n @Input() message: string = \"\";\r\n @Input() buttonString: string = \"\";\r\n\r\n constructor(public activeModal: NgbActiveModal) {\r\n\r\n }\r\n showErrorMessage(title: string, msg: string, buttonString: string) {\r\n this.title = title;\r\n this.message = msg;\r\n this.buttonString = buttonString;\r\n \r\n } \r\n ngOnInit() {\r\n }\r\n}\r\n","export class ApplicationSettings {\r\n public API_Endpoint: string;\r\n public Site_Title: string;\r\n public Site_Logo: string;\r\n public GenericErrorMessage_WebApp_Issues: string;\r\n public GenericErrorMessage_WebAPI_Issues: string;\r\n public FormValidation_Error: string;\r\n public WhiteListValidation_Error: string;\r\n public SuccessRequestMessage: string;\r\n public FailureRequestMessage: string;\r\n public UploadFileSize_Height: string;\r\n public SubmitterFieldId: string;\r\n public PhoneFieldId: string;\r\n public EmailFieldId: string;\r\n public EventDateTimeFieldId: string;\r\n public EventTimeFieldId: string;\r\n public CameraNamesFieldId: string;\r\n public UploadFileSize_Width: string;\r\n public Allowed_File_Types: string;\r\n public WhiteListCharacters: string;\r\n public WhiteListCharacters_Popup: string;\r\n}\r\n","// This file can be replaced during build by using the `fileReplacements` array.\r\n// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.\r\n// The list of file replacements can be found in `angular.json`.\r\n\r\nexport const environment = {\r\n production: false\r\n};\r\n\r\n/*\r\n * For easier debugging in development mode, you can import the following file\r\n * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.\r\n *\r\n * This import should be commented out in production mode because it will have a negative impact\r\n * on performance if an error is thrown.\r\n */\r\n// import 'zone.js/dist/zone-error'; // Included with Angular CLI.\r\n","import { enableProdMode } from '@angular/core';\r\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\n\r\nimport { AppModule } from './app/app.module';\r\nimport { environment } from './environments/environment';\r\n\r\nif (environment.production) {\r\n enableProdMode();\r\n}\r\n\r\nplatformBrowserDynamic().bootstrapModule(AppModule)\r\n .catch(err => console.error(err));\r\n"],"sourceRoot":""}