{"version":3,"sources":["webpack:///./$_lazy_route_resource lazy namespace object","webpack:///./src/app/Component/EFSR/Confirmation/confirmation-delete/confirmation-delete.component.html","webpack:///./src/app/Component/EFSR/confirmation-dialog-delete/confirmation-dialog-delete.component.html","webpack:///./src/app/Component/EFSR/create-efsr/create-efsr.component.html","webpack:///./src/app/Component/EFSR/upload-EFSR-docs/uploadefsrdocs/uploadefsrdocs.component.html","webpack:///./src/app/Component/EFSR/verifyincident/verifyincident.component.html","webpack:///./src/app/Component/EFSR/view-efsr/view-efsr.component.html","webpack:///./src/app/Component/ServiceEngineer/IncidentHistory/incidenthistory/incidenthistory.component.html","webpack:///./src/app/Component/ServiceEngineer/SE-Create/se-create.component.html","webpack:///./src/app/Component/ServiceEngineer/SE-Edit/se-edit.component.html","webpack:///./src/app/Component/ServiceEngineer/SeRemarkDialog/seremark-dialog/seremark-dialog.component.html","webpack:///./src/app/Component/ServiceEngineer/assign-ticketto-se/assign-ticketto-se.component.html","webpack:///./src/app/Component/ServiceEngineer/seincidentmanagement/se-incident-management.component.html","webpack:///./src/app/Component/ServiceEngineer/seuser-disable-dialog/seuser-disable-dialog.component.html","webpack:///./src/app/Component/ServiceEngineer/upload-docs/upload-docs.component.html","webpack:///./src/app/Component/UserHelp/UploadUserManual/upload-userdocs/upload-userdocs.component.html","webpack:///./src/app/Component/VendorSupervisor/reject/reject.component.html","webpack:///./src/app/Component/VendorSupervisor/vendorsubsupervisor/vendorsubsupervisor.component.html","webpack:///./src/app/Component/VendorSupervisor/vendorsupervisor-registration/vendorsupervisor-registration.component.html","webpack:///./src/app/Component/VendorSupervisor/vendorsupervisor-registration/vs-edit/vs-edit.component.html","webpack:///./src/app/Component/VendorSupervisor/vendorsupervisor.component.html","webpack:///./src/app/Component/VendorSupervisor/view-tickets/view-tickets.component.html","webpack:///./src/app/Component/alertpopup/alertpopup.component.html","webpack:///./src/app/Component/dashboard/dashboard.component.html","webpack:///./src/app/Component/forgotpassword/forgotpassword.component.html","webpack:///./src/app/Component/login/UserActivstion/ActivateUser/activate-login-user/activate-login-user.component.html","webpack:///./src/app/Component/login/UserActivstion/user-activationby-otp/user-activationby-otp.component.html","webpack:///./src/app/Component/login/firsttimelogin/firsttimelogin.component.html","webpack:///./src/app/Component/login/login.component.html","webpack:///./src/app/Component/master/activateuserlogin/activateuserlogin.component.html","webpack:///./src/app/Component/master/addvendor/addvendor.component.html","webpack:///./src/app/Component/master/editrocatmapp/editrocatmapp.component.html","webpack:///./src/app/Component/master/editvendor/editvendor.component.html","webpack:///./src/app/Component/master/rocategorymapping/rocategorymapping.component.html","webpack:///./src/app/Component/report/nonassignedim/nonassignedim.component.html","webpack:///./src/app/Component/report/roincidenthistory/roincidenthistory.component.html","webpack:///./src/app/Component/report/rorating/rorating.component.html","webpack:///./src/app/Component/report/rovendormappinglist/rovendormappinglist.component.html","webpack:///./src/app/Component/report/serating/serating.component.html","webpack:///./src/app/Component/report/userlist/userlist.component.html","webpack:///./src/app/Component/report/workingincidenthistory/workingincidenthistory.component.html","webpack:///./src/app/Component/ro/RejectSmmSMEDialog/close-incident-dialog/close-incident-dialog.component.html","webpack:///./src/app/Component/ro/ro-incident-management.component.html","webpack:///./src/app/Component/ro/view-se-details/view-se-details.component.html","webpack:///./src/app/Component/users/user-disable-dialog/user-disable-dialog.component.html","webpack:///./src/app/Component/users/user-verification/user-verification.component.html","webpack:///./src/app/app.component.html","webpack:///./src/app/shared/components/layout/footer/footer.component.html","webpack:///./src/app/shared/components/layout/header/header.component.html","webpack:///./src/app/shared/components/layout/subheader/subheader.component.html","webpack:///./src/app/Component/EFSR/Confirmation/confirmation-delete/confirmation-delete.component.scss","webpack:///./src/app/Component/EFSR/Confirmation/confirmation-delete/confirmation-delete.component.ts","webpack:///./src/app/Component/EFSR/confirmation-dialog-delete/confirmation-dialog-delete.component.scss","webpack:///./src/app/Component/EFSR/confirmation-dialog-delete/confirmation-dialog-delete.component.ts","webpack:///./src/app/Component/EFSR/create-efsr/create-efsr.component.scss","webpack:///./src/app/Component/EFSR/create-efsr/create-efsr.component.ts","webpack:///./src/app/Component/EFSR/upload-EFSR-docs/uploadefsrdocs/uploadefsrdocs.component.scss","webpack:///./src/app/Component/EFSR/upload-EFSR-docs/uploadefsrdocs/uploadefsrdocs.component.ts","webpack:///./src/app/Component/EFSR/verifyincident/verifyincident.component.scss","webpack:///./src/app/Component/EFSR/verifyincident/verifyincident.component.ts","webpack:///./src/app/Component/EFSR/view-efsr/view-efsr.component.scss","webpack:///./src/app/Component/EFSR/view-efsr/view-efsr.component.ts","webpack:///./src/app/Component/ServiceEngineer/IncidentHistory/incidenthistory/incidenthistory.component.scss","webpack:///./src/app/Component/ServiceEngineer/IncidentHistory/incidenthistory/incidenthistory.component.ts","webpack:///./src/app/Component/ServiceEngineer/SE-Create/se-create.component.scss","webpack:///./src/app/Component/ServiceEngineer/SE-Create/se-create.component.ts","webpack:///./src/app/Component/ServiceEngineer/SE-Edit/se-edit.component.scss","webpack:///./src/app/Component/ServiceEngineer/SE-Edit/se-edit.component.ts","webpack:///./src/app/Component/ServiceEngineer/SeRemarkDialog/seremark-dialog/seremark-dialog.component.scss","webpack:///./src/app/Component/ServiceEngineer/SeRemarkDialog/seremark-dialog/seremark-dialog.component.ts","webpack:///./src/app/Component/ServiceEngineer/assign-ticketto-se/assign-ticketto-se.component.scss","webpack:///./src/app/Component/ServiceEngineer/assign-ticketto-se/assign-ticketto-se.component.ts","webpack:///./src/app/Component/ServiceEngineer/seincidentmanagement/se-incident-management.component.scss","webpack:///./src/app/Component/ServiceEngineer/seincidentmanagement/se-incident-management.component.ts","webpack:///./src/app/Component/ServiceEngineer/seuser-disable-dialog/seuser-disable-dialog.component.scss","webpack:///./src/app/Component/ServiceEngineer/seuser-disable-dialog/seuser-disable-dialog.component.ts","webpack:///./src/app/Component/ServiceEngineer/upload-docs/upload-docs.component.scss","webpack:///./src/app/Component/ServiceEngineer/upload-docs/upload-docs.component.ts","webpack:///./src/app/Component/UserHelp/UploadUserManual/upload-userdocs/upload-userdocs.component.scss","webpack:///./src/app/Component/UserHelp/UploadUserManual/upload-userdocs/upload-userdocs.component.ts","webpack:///./src/app/Component/VendorSupervisor/reject/reject.component.scss","webpack:///./src/app/Component/VendorSupervisor/reject/reject.component.ts","webpack:///./src/app/Component/VendorSupervisor/vendorsubsupervisor/vendorsubsupervisor.component.scss","webpack:///./src/app/Component/VendorSupervisor/vendorsubsupervisor/vendorsubsupervisor.component.ts","webpack:///./src/app/Component/VendorSupervisor/vendorsupervisor-registration/vendorsupervisor-registration.component.scss","webpack:///./src/app/Component/VendorSupervisor/vendorsupervisor-registration/vendorsupervisor-registration.component.ts","webpack:///./src/app/Component/VendorSupervisor/vendorsupervisor-registration/vs-edit/vs-edit.component.scss","webpack:///./src/app/Component/VendorSupervisor/vendorsupervisor-registration/vs-edit/vs-edit.component.ts","webpack:///./src/app/Component/VendorSupervisor/vendorsupervisor.component.scss","webpack:///./src/app/Component/VendorSupervisor/vendorsupervisor.component.ts","webpack:///./src/app/Component/VendorSupervisor/view-tickets/view-tickets.component.scss","webpack:///./src/app/Component/VendorSupervisor/view-tickets/view-tickets.component.ts","webpack:///./src/app/Component/alertpopup/alertpopup.component.scss","webpack:///./src/app/Component/alertpopup/alertpopup.component.ts","webpack:///./src/app/Component/dashboard/dashboard.component.scss","webpack:///./src/app/Component/dashboard/dashboard.component.ts","webpack:///./src/app/Component/forgotpassword/forgotpassword.component.css","webpack:///./src/app/Component/forgotpassword/forgotpassword.component.ts","webpack:///./src/app/Component/login/UserActivstion/ActivateUser/activate-login-user/activate-login-user.component.scss","webpack:///./src/app/Component/login/UserActivstion/ActivateUser/activate-login-user/activate-login-user.component.ts","webpack:///./src/app/Component/login/UserActivstion/user-activationby-otp/user-activationby-otp.component.scss","webpack:///./src/app/Component/login/UserActivstion/user-activationby-otp/user-activationby-otp.component.ts","webpack:///./src/app/Component/login/firsttimelogin/firsttimelogin.component.scss","webpack:///./src/app/Component/login/firsttimelogin/firsttimelogin.component.ts","webpack:///./src/app/Component/login/login.component.scss","webpack:///./src/app/Component/login/login.component.ts","webpack:///./src/app/Component/master/activateuserlogin/activateuserlogin.component.scss","webpack:///./src/app/Component/master/activateuserlogin/activateuserlogin.component.ts","webpack:///./src/app/Component/master/addvendor/addvendor.component.scss","webpack:///./src/app/Component/master/addvendor/addvendor.component.ts","webpack:///./src/app/Component/master/editrocatmapp/editrocatmapp.component.scss","webpack:///./src/app/Component/master/editrocatmapp/editrocatmapp.component.ts","webpack:///./src/app/Component/master/editvendor/editvendor.component.scss","webpack:///./src/app/Component/master/editvendor/editvendor.component.ts","webpack:///./src/app/Component/master/rocategorymapping/rocategorymapping.component.scss","webpack:///./src/app/Component/master/rocategorymapping/rocategorymapping.component.ts","webpack:///./src/app/Component/report/nonassignedim/nonassignedim.component.scss","webpack:///./src/app/Component/report/nonassignedim/nonassignedim.component.ts","webpack:///./src/app/Component/report/roincidenthistory/roincidenthistory.component.scss","webpack:///./src/app/Component/report/roincidenthistory/roincidenthistory.component.ts","webpack:///./src/app/Component/report/rorating/rorating.component.scss","webpack:///./src/app/Component/report/rorating/rorating.component.ts","webpack:///./src/app/Component/report/rovendormappinglist/rovendormappinglist.component.scss","webpack:///./src/app/Component/report/rovendormappinglist/rovendormappinglist.component.ts","webpack:///./src/app/Component/report/serating/serating.component.scss","webpack:///./src/app/Component/report/serating/serating.component.ts","webpack:///./src/app/Component/report/userlist/userlist.component.scss","webpack:///./src/app/Component/report/userlist/userlist.component.ts","webpack:///./src/app/Component/report/workingincidenthistory/workingincidenthistory.component.scss","webpack:///./src/app/Component/report/workingincidenthistory/workingincidenthistory.component.ts","webpack:///./src/app/Component/ro/RejectSmmSMEDialog/close-incident-dialog/close-incident-dialog.component.scss","webpack:///./src/app/Component/ro/RejectSmmSMEDialog/close-incident-dialog/close-incident-dialog.component.ts","webpack:///./src/app/Component/ro/ro-incident-management.component.scss","webpack:///./src/app/Component/ro/ro-incident-management.component.ts","webpack:///./src/app/Component/ro/view-se-details/view-se-details.component.scss","webpack:///./src/app/Component/ro/view-se-details/view-se-details.component.ts","webpack:///./src/app/Component/users/user-disable-dialog/user-disable-dialog.component.scss","webpack:///./src/app/Component/users/user-disable-dialog/user-disable-dialog.component.ts","webpack:///./src/app/Component/users/user-verification/user-verification.component.css","webpack:///./src/app/Component/users/user-verification/user-verification.component.ts","webpack:///./src/app/Constants/constants.ts","webpack:///./src/app/Models/DropdownItemsGroup/applicationconstant.model.ts","webpack:///./src/app/Models/DropdownItemsGroup/dropdownitemsgroup.model.ts","webpack:///./src/app/Models/EFSR/efsrcreate.model.ts","webpack:///./src/app/Models/ForgotPassword/forgotPassword.model.ts","webpack:///./src/app/Models/Reports/roincidenthistory.model.ts","webpack:///./src/app/Models/Reports/rorating.model.ts","webpack:///./src/app/Models/Reports/rovendorpara.model.ts","webpack:///./src/app/Models/Reports/rovendorparaedit.model.ts","webpack:///./src/app/Models/Reports/serating.model.ts","webpack:///./src/app/Models/Reports/workingincidenthistory.model.ts","webpack:///./src/app/Models/ServiceEngineer/SECreate.model.ts","webpack:///./src/app/Models/ServiceEngineer/SETicketOTP.model.ts","webpack:///./src/app/Models/TicketsSE/AssignTicket.model.ts","webpack:///./src/app/Models/common/removeFile.model.ts","webpack:///./src/app/Models/common/search.model.ts","webpack:///./src/app/Models/firsttimelogin/firsttimelogin.model.ts","webpack:///./src/app/Models/master/romappingdetails.model.ts","webpack:///./src/app/Models/master/vendor.model.ts","webpack:///./src/app/Models/usermanagement/forgotPassword.model.ts","webpack:///./src/app/Models/vendorsupervisor/incident.model.ts","webpack:///./src/app/Models/vendorsupervisor/vendor-supervisor.model.ts","webpack:///./src/app/Services/EFSR/efsrcreate.service.ts","webpack:///./src/app/Services/Reports/roincidenthistory.service.ts","webpack:///./src/app/Services/Reports/rorating.service.ts","webpack:///./src/app/Services/Reports/serating.service.ts","webpack:///./src/app/Services/Reports/userlist.service.ts","webpack:///./src/app/Services/Reports/workingincidenthistory.service.ts","webpack:///./src/app/Services/RoleBasedAccess/role-based-access.service.ts","webpack:///./src/app/Services/ServiceEngineer/SECreate.service.ts","webpack:///./src/app/Services/ServiceEngineer/TicketsAssignedSE.service.ts","webpack:///./src/app/Services/Utilities/configuration.service.ts","webpack:///./src/app/Services/Utilities/menuitems.service.ts","webpack:///./src/app/Services/Utilities/orderby.pipe.ts","webpack:///./src/app/Services/auth/auth.guard.ts","webpack:///./src/app/Services/auth/auth.interceptor.ts","webpack:///./src/app/Services/error/error.service.ts","webpack:///./src/app/Services/globalerrorhandler/global-error-handler.service.ts","webpack:///./src/app/Services/header/header.service.ts","webpack:///./src/app/Services/httpverb/httpverb.service.ts","webpack:///./src/app/Services/loginmanagement/login.service.ts","webpack:///./src/app/Services/master/vendor.service.ts","webpack:///./src/app/Services/recaptcha/recaptcha.service.ts","webpack:///./src/app/Services/usermanagement/user.service.ts","webpack:///./src/app/Services/vendorsupervisor/VSSCreate.service.ts","webpack:///./src/app/Services/vendorsupervisor/vendorsupervisor.service.ts","webpack:///./src/app/Services/vendorsupervisor/vendorsupervisoredit.service.ts","webpack:///./src/app/Services/vendorsupervisor/vendorsupervisorregister.service.ts","webpack:///./src/app/app-routing.module.ts","webpack:///./src/app/app.component.scss","webpack:///./src/app/app.component.ts","webpack:///./src/app/app.module.ts","webpack:///./src/app/backspace.directive.ts","webpack:///./src/app/shared/bootstrap.module.ts","webpack:///./src/app/shared/components/layout/footer/footer.component.scss","webpack:///./src/app/shared/components/layout/footer/footer.component.ts","webpack:///./src/app/shared/components/layout/header/header.component.scss","webpack:///./src/app/shared/components/layout/header/header.component.ts","webpack:///./src/app/shared/components/layout/subheader/subheader.component.scss","webpack:///./src/app/shared/components/layout/subheader/subheader.component.ts","webpack:///./src/app/shared/directive/imagelazyload.directive.ts","webpack:///./src/app/shared/element-visibility.directive.ts","webpack:///./src/app/shared/material.module.ts","webpack:///./src/app/shared/shared.module.ts","webpack:///./src/app/shared/unique-username-validator.directive.ts","webpack:///./src/environments/environment.ts","webpack:///./src/main.ts","webpack:///fs (ignored)","web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;IACP,iDAAiD;IACjD,2CAA2C;IAE3C,OAAO,EAAE,sCAAsC;IAC/C,SAAS,EAAE,8BAA8B;IACzC,8DAA8D;IAC9D,gBAAgB,EAAE,yCAAyC;IAC3D,mBAAmB,EAAE,wBAAwB;CAC9C,CAAC;;;;;;;;;;;;;ACbF;AAAA;AAAA;AAAA;AAAA;AAA+C;AAC4B;AAE9B;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;;;;;;;;;;;;;;;;;;;;;;;;ACXpC,e;;;;;;;;;;;ACAA,e;;;;;;;;;;;ACAA,e","file":"main-es5.js","sourcesContent":["var map = {\n\t\"./Component/changepassword/changepassword.module\": [\n\t\t\"./src/app/Component/changepassword/changepassword.module.ts\",\n\t\t\"Component-changepassword-changepassword-module\"\n\t],\n\t\"./Component/roles/role-create/rolecreate.module\": [\n\t\t\"./src/app/Component/roles/role-create/rolecreate.module.ts\",\n\t\t\"Component-roles-role-create-rolecreate-module\"\n\t],\n\t\"./Component/users/user-create/usercreate.module\": [\n\t\t\"./src/app/Component/users/user-create/usercreate.module.ts\",\n\t\t\"Component-users-user-create-usercreate-module\"\n\t],\n\t\"./Component/users/user-edit/useredit.module\": [\n\t\t\"./src/app/Component/users/user-edit/useredit.module.ts\",\n\t\t\"Component-users-user-edit-useredit-module\"\n\t],\n\t\"./Component/users/user-password-reset/userpasswordreset.module\": [\n\t\t\"./src/app/Component/users/user-password-reset/userpasswordreset.module.ts\",\n\t\t\"Component-users-user-password-reset-userpasswordreset-module\"\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = \"./$$_lazy_route_resource lazy recursive\";\nmodule.exports = webpackAsyncContext;","module.exports = \"
\\r\\n
\\r\\n
\\r\\n
\\r\\n

Alert! Do you confirm the Approval?

\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.remarks }}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n\"","module.exports = \"
\\r\\n
\\r\\n
\\r\\n
\\r\\n

Alert! Do you confirm the rejection?

\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.remarks }}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\"","module.exports = \"\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

Filling EFSR

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
RO DETAILS AND INCIDENT DETAILS
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n RO Name\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n RO Location\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n RO Address\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n RO Contact No\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Visit Date\\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 Service Request No.\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n HPSM Incident No.\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Call Status\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n SLA In Hand\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
DETAILS OF SERVICING
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Type Of Vendor\\r\\n \\r\\n {{vendor.name}}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.vendor }}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Type Of Servicing\\r\\n \\r\\n {{service.name}}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.service }}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Type Of Device\\r\\n \\r\\n {{device.name}}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.device }}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n CheckList\\r\\n \\r\\n \\r\\n \\r\\n {{check.name}}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.checklistControl }}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Spares Consumed\\r\\n \\r\\n {{spare.name}}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.spare }}\\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 Quantity\\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.quantity }}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Name of Spare Used\\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.remark }}\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Service Summary\\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.servicesummary }}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
SERVICE ENGINEER DETAILS
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Engineer Name\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Mobile\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n\\r\\n \\r\\n
FEEDBACK BY SERVICE ENGINEER FOR RO
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n RO Key Person Name\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n RO Key Person Mobile\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n Rate RO by clicking on the Appropriate Circle\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n Very Poor\\r\\n Poor\\r\\n Satisfactory
\\r\\n
\\r\\n Good\\r\\n Excellent
\\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 Comment Required If Rating is Very Poor and Poor\\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.poorratingcomments }}\\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
\"","module.exports = \"\\n\\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n \\n
\\n \\n {{validation.message}}\\n \\n
\\n
\\n *\\n Either of PAN Card, ADHAAR Card or COMPANY ID is mandatory\\n

Please upload .jpg,.jpeg,.png,.pdf files size of less than 2MB TEST

\\n
\\n
\\n
\\n
\\n
\\n
\\n \\n
\\n \\n {{validation.message}}\\n \\n
\\n
\\n
\\n
\\n
\\n \\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
\\n \\n {{row.documentId}}\\n \\n \\n \\n \\n
\\n
\\n \\n \\n \\n
\\n \\n
\\n
\\n
\\n\\n \\n \\n\\n\\n \\n \\n\"","module.exports = \"
\\r\\n
\\r\\n
\\r\\n

Verify OTP

\\r\\n
\\r\\n
\\r\\n Alert! Please enter OTP which has been sent for verification on RO registered number.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Enter OTP\\r\\n \\r\\n \\r\\n {{ formErrors.mobileOTP }}\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \"","module.exports = \"\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

Verify EFSR

\\r\\n

View EFSR

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
RO DETAILS AND INCIDENT DETAILS
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n RO Name\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n RO Location\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n RO Address\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n RO Contact No\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Visit Date\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Service Request No.\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n HPSM Incident No.\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Call Status\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n SLA In Hand\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
DETAILS OF SERVICING
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Type Of Vendor\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.vendor }}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Type Of Servicing\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.service }}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Type Of Device\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.device }}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n CheckList\\r\\n \\r\\n \\r\\n \\r\\n {{check.name}}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.checklistControl }}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Spares Consumed\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.spare }}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Name of Spare Used\\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.remark }}\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Quantity\\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.quantity }}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Service Summary\\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.servicesummary }}\\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
SERVICE ENGINEER DETAILS
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Engineer Name\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Mobile Number\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n\\r\\n \\r\\n
FEEDBACK BY RO FOR Service Engineer
\\r\\n
DETAILS OF RO KEY PERSON
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n Rate Service Engineer by clicking on the Appropriate Circle\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n Very Poor\\r\\n Poor\\r\\n Satisfactory
\\r\\n
\\r\\n Good\\r\\n Excellent
\\r\\n
\\r\\n \\r\\n RO Key Person Name\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Comment Required If Rating is Very Poor and Poor\\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.poorratingcommentsbyRO }}\\r\\n \\r\\n \\r\\n RO Key Person Mobile\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
DOCUMENTS UPLOADED BY SERVICE ENGINEER
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Status Of EFSR\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Comments By RO for Approval/Rejection\\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 Rating Provided by Service Engineer For RO\\r\\n \\r\\n \\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Comments By Service Engineer\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Rating Provided by RO for Service Engineer\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Comments By RO\\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 Generate EFSR\\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
\"","module.exports = \"\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
View Incident History
\\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
Sr. No.Incident No.TitleResolutionDownload EFSR Documents
{{srNumber + 1}}{{ticket.interactionId}}{{ticket.title}}{{ticket.resolution}}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n\"","module.exports = \"\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

Service Engineer Creation

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n First Name\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Middle Name\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Last Name\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
SE
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n UserID\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
UserID already exists
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n Mobile\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
Mobile already exists
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Email\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
Email already exists
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n DOB\\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 PinCode\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Select State\\r\\n \\r\\n {{state.name}}\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n Select City\\r\\n \\r\\n {{city.name}}\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\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
\"","module.exports = \"\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n

Edit SE User Profile

\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Search Type\\r\\n \\r\\n Select Search Type\\r\\n {{searchtype}}\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Value\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\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
SE User Details
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n User ID\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n First Name\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Last Name\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Mobile\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
Mobile already exists
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Email\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
Email already exists
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n PinCode\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Select State\\r\\n \\r\\n {{state.name}}\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Select City\\r\\n \\r\\n {{city.name}}\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\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\"","module.exports = \"
\\n
\\n
\\n
\\n

Alert! Do you want to proceed without EFSR?

\\n
\\n
\\n \\n \\n \\n \\n \\n {{ formErrors.remarks }}\\n \\n \\n
\\n
\\n \\n \\n
\\n
\\n
\\n
\\n \\n\"","module.exports = \"\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

Incident Assignment

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Select Service Engineer\\r\\n \\r\\n {{serviceengineer.name}}\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n Incident No.\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n Remarks\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\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
\"","module.exports = \"\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
Incident Management
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n {{ formErrors.searchType }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n {{ formErrors.searchTerm }}\\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
Incident No.StatusPrioritySubcategoryLocationAction
{{ticket.interactionId}}{{ticket.status}}{{ticket.priorityCode}}{{ticket.subCategory}}{{ticket.city}}\\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\"","module.exports = \"

Warning

\\r\\n
\\r\\n \\r\\n {{data.WarningMessage}}\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\"","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 {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n *\\r\\n Either of PAN Card, ADHAAR Card or COMPANY ID is mandatory\\r\\n

Please upload .jpg,.jpeg,.png,.pdf files size of less than 2MB TEST

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\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 {{row.documentId}}\\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\"","module.exports = \"\\n\\n
\\n \\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n \\n
\\n \\n {{validation.message}}\\n \\n
\\n\\n
\\n
\\n
\\n
\\n \\n
\\n \\n {{validation.message}}\\n \\n
\\n
\\n
\\n
\\n
\\n \\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
\\n \\n \\n \\n {{row.documentId}}\\n \\n \\n \\n \\n
\\n
\\n \\n \\n \\n
\\n \\n
\\n
\\n
\\n \"","module.exports = \"
\\r\\n
\\r\\n
\\r\\n
\\r\\n

Alert! Do you confirm the rejection?

\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.remarks }}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n\"","module.exports = \"\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

Vendor Sub Supervisor Creation

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n First Name\\r\\n \\r\\n \\r\\n {{ formErrors.firstName }}\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Last Name\\r\\n \\r\\n \\r\\n {{ formErrors.lastName }}\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Organization\\r\\n \\r\\n \\r\\n {{ formErrors.Organization }}\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n UserID\\r\\n \\r\\n \\r\\n {{ formErrors.username }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Mobile\\r\\n \\r\\n \\r\\n {{ formErrors.mobile }}\\r\\n \\r\\n \\r\\n \\r\\n
Mobile already exists
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Alternate Mobile \\r\\n \\r\\n \\r\\n {{ formErrors.Amobile }}\\r\\n \\r\\n \\r\\n
Mobile already exists
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Email\\r\\n \\r\\n \\r\\n {{ formErrors.email }}\\r\\n \\r\\n \\r\\n \\r\\n
Email already exists
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Alternate Email\\r\\n \\r\\n \\r\\n {{ formErrors.Aemail }}\\r\\n \\r\\n \\r\\n
Email already exists
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Address\\r\\n \\r\\n \\r\\n {{ formErrors.Address }}\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n PinCode\\r\\n \\r\\n \\r\\n {{ formErrors.PIN }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Select State\\r\\n \\r\\n {{state.name}}\\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.State }}\\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Select State\\r\\n \\r\\n {{state.name}}\\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.State }}\\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Select City\\r\\n \\r\\n SelectAll\\r\\n {{city.name}}\\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.City }}\\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
\"","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

Vendor Supervisor Creation

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n * Fields are Mandatory\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n VendorID\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n First Name\\r\\n \\r\\n \\r\\n {{ formErrors.firstName }}\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Last Name\\r\\n \\r\\n \\r\\n {{ formErrors.lastName }}\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Organization\\r\\n \\r\\n \\r\\n {{ formErrors.Organization }}\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Mobile\\r\\n \\r\\n \\r\\n {{ formErrors.mobile }}\\r\\n \\r\\n
Mobile already exists
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Alternate Mobile \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Email\\r\\n \\r\\n \\r\\n {{ formErrors.email }}\\r\\n \\r\\n
Email already exists
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Alternate Email\\r\\n \\r\\n
Email already exists
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Address\\r\\n \\r\\n \\r\\n {{ formErrors.Address }}\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n PIN Code\\r\\n \\r\\n \\r\\n {{ formErrors.PIN }}\\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
\"","module.exports = \"\\r\\n\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

Edit Your Profile

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n VendorID\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n First Name\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Last Name\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Organization\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Mobile\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
Mobile already exists
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Alternate Mobile \\r\\n \\r\\n \\r\\n
Mobile already exists
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Email\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
Email already exists
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Alternate Email\\r\\n \\r\\n \\r\\n \\r\\n
Email already exists
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Address\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n\\r\\n
\\r\\n \\r\\n State\\r\\n \\r\\n Select State\\r\\n \\r\\n {{State.name}}\\r\\n \\r\\n \\r\\n\\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
1\\\">\\r\\n
\\r\\n \\r\\n City\\r\\n \\r\\n Select City\\r\\n \\r\\n {{city.name}}\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n PIN Code\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\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
\"","module.exports = \"\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
Incident Management
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n {{ formErrors.searchType }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n {{ formErrors.searchTerm }}\\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
Incident No.StatusPrioritySubcategoryLocationSE NameAction
{{ticket.interactionId}}{{ticket.status}}{{ticket.priorityCode}}{{ticket.subCategory}}{{ticket.city}}{{ticket.technicianName}}\\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\"","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
Incident Details
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Service Request No.\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n Incident No.\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Priority\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n Sub Category\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n Area\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n Sub Area\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n SLA\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Description\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Status\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Remarks\\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\"","module.exports = \"
\\r\\n
\\r\\n
\\r\\n
\\r\\n

Password Expiry Alert!!

\\r\\n
\\r\\n
\\r\\n Your password is going to expire in next {{numberOfDaysPending}} days.
\\r\\n To change your password click on Change Password button\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\"","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\"","module.exports = \"\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

\\r\\n
\\r\\n
\\r\\n
Forgot Password
\\r\\n \\r\\n
\\r\\n \\r\\n Please enter OTP\\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.otp }}\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n Enter new password\\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.password }}\\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n Confirm Password\\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.confirmPassword }}\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\"","module.exports = \"\\n\\n
\\n
\\n
\\n
\\n

\\n
\\n
\\n
User Activation
\\n \\n
\\n \\n Enter OTP\\n \\n \\n \\n {{ formErrors.userInput }}\\n \\n \\n
\\n \\n \\n \\n \\n \\n

\\n
\\n
\\n
\\n
\\n
\\n
\\n\"","module.exports = \"\\n\\n
\\n
\\n
\\n
\\n

\\n
\\n
\\n
User Activation
\\n \\n
\\n \\n User ID\\n \\n \\n \\n {{ formErrors.userInput }}\\n \\n \\n
\\n \\n \\n \\n \\n \\n \\n

\\n
\\n
\\n
\\n
\\n
\\n
\\n\"","module.exports = \"\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

\\r\\n
\\r\\n
\\r\\n
First Time Login
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Enter User ID\\r\\n \\r\\n \\r\\n {{ formErrors.userid }}\\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 Enter Mobile Number\\r\\n \\r\\n \\r\\n {{ formErrors.mobile }}\\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 Enter OTP received via SMS\\r\\n \\r\\n \\r\\n {{ formErrors.otp }}\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\"","module.exports = \"
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n {{errorMessage}}\\r\\n \\r\\n
\\r\\n \\r\\n Please Note: First Time Login is for Vendor Supervisor Users Only. For Other Users, Please Use the Default Login.\\r\\n \\r\\n
Login
\\r\\n \\r\\n
\\r\\n \\r\\n User ID\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.userid }}\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.password }}\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n PNOC Login\\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

Alert! User already logged in

\\r\\n
\\r\\n
\\r\\n User with same user name is already logged in.\\r\\n Do you want to continue or no?\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\"","module.exports = \"\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n

Active / Inactive User Status

\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Search Type\\r\\n \\r\\n Select Search Type\\r\\n {{searchtype}}\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Value\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\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
Vendor Details
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n User ID\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n First Name\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Email\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
Email already exists
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Last Name\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Mobile\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
Mobile already exists
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Status\\r\\n \\r\\n Select Search Type\\r\\n {{activeType}}\\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\"","module.exports = \"\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

Add Vendor

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n First Name\\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.firstName }}\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Middle Name\\r\\n \\r\\n \\r\\n {{ formErrors.middleName }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Last Name\\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.lastName }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n UserID\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n {{ formErrors.username }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
UserID already exists
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Organization\\r\\n \\r\\n \\r\\n {{ formErrors.Organization }}\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n Mobile\\r\\n \\r\\n\\r\\n \\r\\n {{ formErrors.mobile }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
Mobile already exists
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Email\\r\\n \\r\\n\\r\\n \\r\\n {{ formErrors.email }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
Email already exists
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n DOB\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.DOB }}\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n PinCode\\r\\n \\r\\n \\r\\n {{ formErrors.pincode }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Address\\r\\n \\r\\n \\r\\n {{ formErrors.address }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Select State\\r\\n \\r\\n {{state.name}}\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n {{ formErrors.state }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n Select City\\r\\n \\r\\n {{city.name}}\\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.city }}\\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
\"","module.exports = \"\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n

CTI Vendor Mapping

\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n SubCategory\\r\\n \\r\\n Select SubCategory\\r\\n {{subcategory.name}}\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Area Name\\r\\n \\r\\n Select Area Name\\r\\n {{areaname.name}}\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Sub Area Name\\r\\n \\r\\n Select Area Name\\r\\n {{subareaname.name}}\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n RO\\r\\n \\r\\n Select RO\\r\\n {{ro.name}}\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Vendor\\r\\n \\r\\n Select Vendor\\r\\n {{vendor.name}}\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\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 SubCategory\\r\\n \\r\\n Select SubCategory\\r\\n {{subcategory1.name}}\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Area Name\\r\\n \\r\\n Select Area Name\\r\\n {{areaname1.name}}\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Sub Area Name\\r\\n \\r\\n Select Area Name\\r\\n {{subareaname1.name}}\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n RO\\r\\n \\r\\n Select RO\\r\\n {{ro1.name}}\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Vendor\\r\\n \\r\\n Select Vendor\\r\\n {{vendor1.name}}\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\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\"","module.exports = \"\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n

Edit Vendor

\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Search Type\\r\\n \\r\\n Select Search Type\\r\\n {{searchtype}}\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Value\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\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
Vendor Details
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n User ID\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n First Name\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Middle Name\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Last Name\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Organization\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Mobile\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
Mobile already exists
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Email\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
Email already exists
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Address\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n PinCode\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Select State\\r\\n \\r\\n {{state.name}}\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Select City\\r\\n \\r\\n {{city.name}}\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\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\"","module.exports = \"\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n

CTI Vendor Mapping

\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n SubCategory\\r\\n \\r\\n Select SubCategory\\r\\n {{subcategory.name}}\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Area Name\\r\\n \\r\\n Select Area Name\\r\\n {{areaname.name}}\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Sub Area Name\\r\\n \\r\\n Select Area Name\\r\\n {{subareaname.name}}\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n RO\\r\\n \\r\\n Select RO\\r\\n {{ro.name}}\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Vendor\\r\\n \\r\\n Select Vendor\\r\\n {{vendor.name}}\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\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\"","module.exports = \"\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n

Report - Non Assigned IM List

\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Select SubCategory\\r\\n \\r\\n {{category.name}}\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n Select Area\\r\\n \\r\\n {{status.name}}\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n Select SubArea\\r\\n \\r\\n {{location.name}}\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n Select Location\\r\\n \\r\\n {{ro.name}}\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n Select State\\r\\n \\r\\n \\r\\n {{state.name}}\\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
SR.NO.Incident No.LocationSubCategoryAreaSubarea
{{srNumber + 1}}{{ticket.incidentNumber}}{{ticket.location}}{{ticket.subCategory}}{{ticket.area}}{{ticket.subArea}}
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\"","module.exports = \"\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n

Report - RO Incident History

\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Search By\\r\\n \\r\\n {{category.name}}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n Select Status\\r\\n \\r\\n {{status.name}}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n Select RO/ Location\\r\\n \\r\\n {{location.name}}\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n Select Priority\\r\\n \\r\\n Select Priority\\r\\n {{Priority}}\\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 \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
SR.NO.Service Request No.Incident No.StatusLocationCategorySubCategoryAreaSubareaPriorityState
{{srNumber + 1}}{{ticket.serviceRequestNumber}}{{ticket.incidentNumber}}{{ticket.status}}{{ticket.location}}{{ticket.category}}{{ticket.subCategory}}{{ticket.area}}{{ticket.subArea}}{{ticket.priorityCode}}{{ticket.state}}
\\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\"","module.exports = \"\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n

Report - RO Rating

\\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 Select Priority\\r\\n \\r\\n Select Priority\\r\\n {{Priority}}\\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
SR.NO.RO CodeRO NameIncident No.RatingComments For Service Engineer
{{srNumber + 1}}{{ticket.rocode}}{{ticket.roname}}{{ticket.incidentid}}{{ticket.rating}}{{ticket.ratingcomments}}
\\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\"","module.exports = \"\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n

Report - CTI Mapping

\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Search Type\\r\\n \\r\\n Select Search Type\\r\\n {{searchtype}}\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Value\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\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
SR.NO.SubCategoryArea NameSubArea NameVendorROCode & RONameStatus
{{srNumber + 1}}{{ticket.subcategory}}{{ticket.areaname}}{{ticket.subareaname}}{{ticket.vendor}}{{ticket.rocode}}{{ticket.isactive}}
\\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\"","module.exports = \"\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n

Report - SE Rating

\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n Select Priority\\r\\n \\r\\n Select Priority\\r\\n {{Priority}}\\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
SR.NO.User NameFirst NameLast NameINCIDENT No.PriorityRating Comments For RO
{{srNumber + 1}}{{ticket.userid}}{{ticket.firstname}}{{ticket.lastname}}{{ticket.incidentid}}{{ticket.rating}}{{ticket.ratingcomments}}
\\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\"","module.exports = \"\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n

Report - User List

\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Search Type\\r\\n \\r\\n Select Search Type\\r\\n {{searchtype}}\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Value\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n {{validation.message}}\\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
SR.NO.User IDFirst NameLast NameDesignationEmail IDMobile NO.Status
{{srNumber + 1}}{{ticket.username}}{{ticket.firstName}}{{ticket.lastName}}{{ticket.designation}}{{ticket.email}}{{ticket.mobile}}{{ticket.activeFlag}}
\\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\"","module.exports = \"\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n

Report - Working Incident History

\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Search By\\r\\n \\r\\n {{category.name}}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n Select Status\\r\\n \\r\\n {{status.name}}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n Select RO/ Location\\r\\n \\r\\n {{location.name}}\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n Select Priority\\r\\n \\r\\n Select Priority\\r\\n {{Priority}}\\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 \\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
SR.NO.Service Request No.Incident No.StatusLocationCategorySubCategoryAreaSub AreaIncident Creation Date(Open Date)PriorityCityStateRO NameRO CodeRO Contact No.Visit DateCall StatusRO Key Person NameService Engineer User IDService Engineer First NameService Engineer Last Name
{{srNumber + 1}}{{ticket.serviceRequestNumber}}{{ticket.incidentNumber}}{{ticket.status}}{{ticket.location}}{{ticket.category}}{{ticket.subCategory}}{{ticket.area}}{{ticket.subArea}}{{ticket.openDate}}{{ticket.priorityCode}}{{ticket.city}}{{ticket.state}}{{ticket.roname}}{{ticket.rocode}}{{ticket.rocontactno}}{{ticket.visitdate}}{{ticket.callstatus}}{{ticket.rokeypersonname}}{{ticket.seuserid}}{{ticket.sefirstname}}{{ticket.selastname}}
\\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\"","module.exports = \"
\\n
\\n
\\n
\\n

Alert! Do you confirm the rejection?

\\n
\\n
\\n \\n \\n \\n \\n \\n {{ formErrors.remarks }}\\n \\n \\n
\\n
\\n \\n \\n
\\n
\\n
\\n
\\n \\n\\n\"","module.exports = \"\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
Incident Management
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n {{ formErrors.searchType }}\\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 {{ formErrors.searchTerm }}\\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
Incident No.StatusPrioritySubcategoryLocationSE REMARK AGAINST EFSRAction
{{ticket.interactionId}}{{ticket.status}}{{ticket.priorityCode}}{{ticket.subCategory}}{{ticket.city}}{{ticket.sE_REMARK_AGAINST_EFSR}}\\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\"","module.exports = \"\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
Service Engineer Details
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Incident No.\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Service Engineer Name\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n Service Engineer Mobile\\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 {{row.documentId}}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\"","module.exports = \"

Warning

\\r\\n
\\r\\n \\r\\n {{data.WarningMessage}}\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\"","module.exports = \"\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

\\r\\n
\\r\\n
\\r\\n
Forgot Password
\\r\\n \\r\\n
\\r\\n \\r\\n User ID\\r\\n \\r\\n \\r\\n \\r\\n {{ formErrors.userInput }}\\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
\"","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\"","module.exports = \"\"","module.exports = \"
\\r\\n
\\r\\n \\r\\n \\\"\\\"\\r\\n Reliance\\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\"","module.exports = \"\\r\\n\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\"","module.exports = \".modal-dialog {\\n position: absolute;\\n top: 22%;\\n left: 0;\\n right: 0;\\n margin: 0 auto;\\n height: 300px;\\n width: auto;\\n position: relative;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvQ29tcG9uZW50L0VGU1IvQ29uZmlybWF0aW9uL2NvbmZpcm1hdGlvbi1kZWxldGUvQzpcXFVzZXJzXFxBamF5My5DaGF1aGFuXFxNeSBEYXRhXFxGaW5hbEFqYXlcXFJJTUFQXFxSSU1BUFN5c3RlbVdlYlxcQ2xpZW50QXBwL3NyY1xcYXBwXFxDb21wb25lbnRcXEVGU1JcXENvbmZpcm1hdGlvblxcY29uZmlybWF0aW9uLWRlbGV0ZVxcY29uZmlybWF0aW9uLWRlbGV0ZS5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvQ29tcG9uZW50L0VGU1IvQ29uZmlybWF0aW9uL2NvbmZpcm1hdGlvbi1kZWxldGUvY29uZmlybWF0aW9uLWRlbGV0ZS5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQTtFQUNJLGtCQUFBO0VBQ0EsUUFBQTtFQUNBLE9BQUE7RUFDQSxRQUFBO0VBQ0EsY0FBQTtFQUNBLGFBQUE7RUFDQSxXQUFBO0VBQ0Esa0JBQUE7QUNBSiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9FRlNSL0NvbmZpcm1hdGlvbi9jb25maXJtYXRpb24tZGVsZXRlL2NvbmZpcm1hdGlvbi1kZWxldGUuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyJcclxuLm1vZGFsLWRpYWxvZyB7XHJcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XHJcbiAgICB0b3A6IDIyJTtcclxuICAgIGxlZnQ6IDA7XHJcbiAgICByaWdodDogMDtcclxuICAgIG1hcmdpbjogMCBhdXRvO1xyXG4gICAgaGVpZ2h0OiAzMDBweDtcclxuICAgIHdpZHRoOiBhdXRvO1xyXG4gICAgcG9zaXRpb246IHJlbGF0aXZlO1xyXG4gIH1cclxuICAiLCIubW9kYWwtZGlhbG9nIHtcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICB0b3A6IDIyJTtcbiAgbGVmdDogMDtcbiAgcmlnaHQ6IDA7XG4gIG1hcmdpbjogMCBhdXRvO1xuICBoZWlnaHQ6IDMwMHB4O1xuICB3aWR0aDogYXV0bztcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xufSJdfQ== */\"","import { Component, OnInit } from '@angular/core';\r\nimport { Inject } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';\r\nimport { FormGroup, FormBuilder, FormControl, Validators } from '@angular/forms';\r\nimport { applicationconstant } from 'src/app/Models/DropdownItemsGroup/applicationconstant.model';\r\nimport { MatDialog, MatSnackBar, MatAutocompleteModule, MatInputModule } from '@angular/material';\r\nimport { efsrcreate, hpsmandsedetails,efsrDraft, CheckListSaveDto, patchefsrDraft, EFSRApproveReject } from 'src/app/Models/EFSR/efsrcreate.model';\r\nimport { Observable } from 'rxjs';\r\nimport { efsrService } from 'src/app/Services/EFSR/efsrcreate.service';\r\nimport{ViewEfsrComponent} from 'src/app/Component/EFSR/view-efsr/view-efsr.component';\r\n\r\n@Component({\r\n selector: 'app-confirmation-delete',\r\n templateUrl: './confirmation-delete.component.html',\r\n styleUrls: ['./confirmation-delete.component.scss']\r\n})\r\nexport class ConfirmationDeleteComponent implements OnInit {\r\n Approveform: FormGroup;\r\n description: string;\r\n submitted: boolean = false;\r\n close: boolean = false;\r\n\r\n validationMessages = {\r\n 'remarks': {\r\n 'required': 'Remarks for approval is required.',\r\n },\r\n \r\n };\r\n\r\n formErrors = {\r\n 'remarks': ''\r\n };\r\n\r\n constructor(private fb: FormBuilder, public snackBar: MatSnackBar,private efsrservice: efsrService,public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any\r\n ) {\r\n this.Approveform = this.fb.group({\r\n remarks: new FormControl(null, Validators.required)\r\n });\r\n }\r\n\r\n onNoClick(): void {\r\n this.dialogRef.close();\r\n }\r\n\r\n onYesClick(): void{\r\n if (this.Approveform.valid) {\r\n const remarks = this.Approveform.get('remarks').value;\r\n \r\n const approveRejectEFSR = new EFSRApproveReject();\r\n approveRejectEFSR.efsrId = this.data.efsrId;\r\n approveRejectEFSR.incidentId=this.data.incidentId;\r\n //approveRejectEFSR.seId = this.data.seId;\r\n //approveRejectEFSR.sEEmail=null;\r\n approveRejectEFSR.roKeyPersonName = this.data.roKeyPersonName;\r\n //approveRejectEFSR.seemail = this.data.seemail;\r\n approveRejectEFSR.approveReason = remarks;\r\n approveRejectEFSR.ratingByRO = Number(this.data.ratingcnt);\r\n approveRejectEFSR.ratingCommentsByRO = String(this.data.ratingremark);\r\n approveRejectEFSR.approvedFlag = 1;\r\n approveRejectEFSR.rejectFlag = 0;\r\n //approveRejectEFSR.rejectReason = null;\r\n\r\n this.efsrservice.approveRejectefsr(approveRejectEFSR)\r\n .subscribe(\r\n data => {\r\n if (data.flag === 'S') {\r\n this.openSnackBar(data.message, '');\r\n this.dialogRef.close(true);\r\n \r\n \r\n }\r\n else {\r\n this.openSnackBar(data.message, '');\r\n \r\n \r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, '')\r\n );\r\n }\r\n else {\r\n this.ValidateAllFields(this.Approveform);\r\n \r\n this.logValidationErrors(this.Approveform);\r\n }\r\n}\r\n\r\n ngOnInit() {\r\n \r\n this.Approveform.valueChanges.subscribe((data) => {\r\n this.logValidationErrors(this.Approveform);\r\n });\r\n }\r\n\r\n logValidationErrors(group: FormGroup = this.Approveform): void {\r\n Object.keys(group.controls).forEach((key: string) => {\r\n const abstractControl = group.get(key);\r\n if (abstractControl instanceof FormGroup) {\r\n this.logValidationErrors(abstractControl)\r\n } else {\r\n this.formErrors[key] = '';\r\n if (abstractControl && !abstractControl.valid && (abstractControl.touched || abstractControl.dirty)) {\r\n const messages = this.validationMessages[key];\r\n\r\n for (const errorKey in abstractControl.errors) {\r\n if (errorKey) {\r\n this.formErrors[key] += messages[errorKey] + '';\r\n }\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n ValidateAllFields(formGroup: FormGroup) {\r\n Object.keys(formGroup.controls).forEach(field => {\r\n const control = formGroup.get(field);\r\n if (control instanceof FormControl) {\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) {\r\n this.ValidateAllFields(control);\r\n }\r\n });\r\n }\r\n\r\n public openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n\r\n private handleError(error: any) {\r\n return Observable.throw(error);\r\n }\r\n}\r\n\r\n\r\n","module.exports = \".alertPopUp {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 90%;\\n height: 100%;\\n background-color: rgba(255, 255, 255, 0.356);\\n z-index: 10000;\\n}\\n\\n.modal-dialog {\\n position: absolute;\\n top: 22%;\\n left: 0;\\n right: 0;\\n margin: 0 auto;\\n height: 100px;\\n width: auto;\\n position: relative;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvQ29tcG9uZW50L0VGU1IvY29uZmlybWF0aW9uLWRpYWxvZy1kZWxldGUvQzpcXFVzZXJzXFxBamF5My5DaGF1aGFuXFxNeSBEYXRhXFxGaW5hbEFqYXlcXFJJTUFQXFxSSU1BUFN5c3RlbVdlYlxcQ2xpZW50QXBwL3NyY1xcYXBwXFxDb21wb25lbnRcXEVGU1JcXGNvbmZpcm1hdGlvbi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gIHBvc2l0aW9uOiByZWxhdGl2ZTtcclxufVxyXG4iLCIuYWxlcnRQb3BVcCB7XG4gIHBvc2l0aW9uOiBmaXhlZDtcbiAgdG9wOiAwO1xuICBsZWZ0OiAwO1xuICB3aWR0aDogOTAlO1xuICBoZWlnaHQ6IDEwMCU7XG4gIGJhY2tncm91bmQtY29sb3I6IHJnYmEoMjU1LCAyNTUsIDI1NSwgMC4zNTYpO1xuICB6LWluZGV4OiAxMDAwMDtcbn1cblxuLm1vZGFsLWRpYWxvZyB7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgdG9wOiAyMiU7XG4gIGxlZnQ6IDA7XG4gIHJpZ2h0OiAwO1xuICBtYXJnaW46IDAgYXV0bztcbiAgaGVpZ2h0OiAxMDBweDtcbiAgd2lkdGg6IGF1dG87XG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcbn0iXX0= */\"","import { Component, OnInit } from '@angular/core';\r\nimport { Inject } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';\r\nimport { FormGroup, FormBuilder, FormControl, Validators } from '@angular/forms';\r\nimport { applicationconstant } from '../../../Models/DropdownItemsGroup/applicationconstant.model';\r\nimport { MatDialog, MatSnackBar, MatAutocompleteModule, MatInputModule } from '@angular/material';\r\nimport { efsrcreate, hpsmandsedetails,efsrDraft, CheckListSaveDto, patchefsrDraft, EFSRApproveReject } from 'src/app/Models/EFSR/efsrcreate.model';\r\n//import{ SECreate} from 'src/app/Models/ServiceEngineer/SECreate.model';\r\nimport { Observable } from 'rxjs';\r\nimport { efsrService } from 'src/app/Services/EFSR/efsrcreate.service';\r\n\r\n@Component({\r\n selector: 'app-confirmation-dialog-delete',\r\n templateUrl: './confirmation-dialog-delete.component.html',\r\n styleUrls: ['./confirmation-dialog-delete.component.scss']\r\n})\r\nexport class ConfirmationDialogDeleteComponent implements OnInit {\r\n form: FormGroup;\r\n description: string;\r\n submitted: boolean = false;\r\n close: boolean = false;\r\n\r\n validationMessages = {\r\n 'remarks': {\r\n 'required': 'Reject remarks is required.',\r\n },\r\n };\r\n\r\n formErrors = {\r\n 'remarks': ''\r\n };\r\n\r\n constructor(private fb: FormBuilder, public snackBar: MatSnackBar,private efsrservice: efsrService,public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data:any) {\r\n this.form = this.fb.group({\r\n remarks: new FormControl(null, Validators.required)\r\n });\r\n }\r\n\r\n onNoClick(): void {\r\n this.dialogRef.close();\r\n }\r\n\r\n onYesClick(): void{\r\n if (this.form.valid) {\r\n const remarks = this.form.get('remarks').value;\r\n const rejectData = new EFSRApproveReject();\r\n rejectData.efsrId = this.data.efsrId;\r\n //rejectData.seId = this.data.seId;\r\n rejectData.incidentId=this.data.incidentId;\r\n //rejectData.sEEmail=null;\r\n rejectData.roKeyPersonName= this.data.roKeyPersonName;\r\n // rejectData.seemail= this.data.seemail;\r\n rejectData.rejectReason = remarks;\r\n rejectData.approveReason=null;\r\n //rejectData.sEEmail = this.data.sEEmail;\r\n rejectData.ratingByRO = null;\r\n rejectData.ratingCommentsByRO = null;\r\n rejectData.approvedFlag = 0;\r\n rejectData.rejectFlag = 1;\r\n\r\n //const seData= new SECreate();\r\n\r\n\r\n this.efsrservice.approveRejectefsr(rejectData)\r\n .subscribe(\r\n data => {\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.openSnackBar(data.message, '');\r\n this.dialogRef.close(true);\r\n }\r\n else {\r\n this.openSnackBar(data.message, '');\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, '')\r\n );\r\n }\r\n else {\r\n this.ValidateAllFields(this.form);\r\n this.logValidationErrors(this.form);\r\n }\r\n}\r\n\r\n ngOnInit() {\r\n \r\n this.form.valueChanges.subscribe((data) => {\r\n this.logValidationErrors(this.form);\r\n });\r\n }\r\n\r\n logValidationErrors(group: FormGroup = this.form): void {\r\n Object.keys(group.controls).forEach((key: string) => {\r\n const abstractControl = group.get(key);\r\n if (abstractControl instanceof FormGroup) {\r\n this.logValidationErrors(abstractControl)\r\n } else {\r\n this.formErrors[key] = '';\r\n if (abstractControl && !abstractControl.valid && (abstractControl.touched || abstractControl.dirty)) {\r\n const messages = this.validationMessages[key];\r\n\r\n for (const errorKey in abstractControl.errors) {\r\n if (errorKey) {\r\n this.formErrors[key] += messages[errorKey] + '';\r\n }\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n ValidateAllFields(formGroup: FormGroup) {\r\n Object.keys(formGroup.controls).forEach(field => {\r\n const control = formGroup.get(field);\r\n if (control instanceof FormControl) {\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) {\r\n this.ValidateAllFields(control);\r\n }\r\n });\r\n }\r\n\r\n public openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n\r\n private handleError(error: any) {\r\n return Observable.throw(error);\r\n }\r\n}\r\n","module.exports = \".hideChildren > div {\\n display: none;\\n}\\n\\n.mat-expansion-panel-header.mat-expanded,\\n.mat-expansion-panel-header.mat-expanded:hover {\\n background: lightblue;\\n}\\n\\n.mat-expansion-panel-header:not([aria-disabled=true]) {\\n cursor: pointer;\\n background: lightblue;\\n}\\n\\n.mat-slider {\\n display: -webkit-box;\\n position: relative;\\n left: 5px;\\n top: 10px;\\n right: 25px;\\n box-sizing: border-box;\\n padding: 8px;\\n outline: 0;\\n vertical-align: middle;\\n}\\n\\n.headerText:not {\\n border-color: #e01f1f;\\n}\\n\\n/* Show green borders when valid */\\n\\n.headerText:valid {\\n border-color: #1fe01f;\\n}\\n\\n.tp-section {\\n display: -webkit-box;\\n display: flex;\\n flex-wrap: wrap;\\n -webkit-box-pack: left;\\n justify-content: left;\\n -webkit-box-orient: horizontal;\\n -webkit-box-direction: normal;\\n flex-flow: row;\\n}\\n\\n.tp-margin {\\n margin: 0 10px;\\n}\\n\\n.cb-vertival {\\n -webkit-box-orient: vertical;\\n -webkit-box-direction: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ZzogOHB4O1xuICBvdXRsaW5lOiAwO1xuICB2ZXJ0aWNhbC1hbGlnbjogbWlkZGxlO1xufVxuXG4uaGVhZGVyVGV4dDpub3Qge1xuICBib3JkZXItY29sb3I6ICNlMDFmMWY7XG59XG5cbi8qIFNob3cgZ3JlZW4gYm9yZGVycyB3aGVuIHZhbGlkICovXG4uaGVhZGVyVGV4dDp2YWxpZCB7XG4gIGJvcmRlci1jb2xvcjogIzFmZTAxZjtcbn1cblxuLnRwLXNlY3Rpb24ge1xuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4LXdyYXA6IHdyYXA7XG4gIGp1c3RpZnktY29udGVudDogbGVmdDtcbiAgZmxleC1mbG93OiByb3c7XG59XG5cbi50cC1tYXJnaW4ge1xuICBtYXJnaW46IDAgMTBweDtcbn1cblxuLmNiLXZlcnRpdmFsIHtcbiAgZmxleC1mbG93OiBjb2x1bW47XG59Il19 */\"","import { Component, OnInit, ViewChild,Input } from '@angular/core';\r\nimport { FormBuilder, FormControl, FormGroup, Validators, NgForm } from '@angular/forms';\r\nimport { MatDialog, MatSnackBar, MatDialogConfig, MatCheckboxChange } from '@angular/material';\r\nimport { Observable } from 'rxjs';\r\nimport { catchError } from 'rxjs/operators';\r\nimport { ConfigurationService } from 'src/app/Services/Utilities/configuration.service';\r\nimport { Constants } from 'src/app/Constants/constants';\r\nimport { efsrService } from 'src/app/Services/EFSR/efsrcreate.service';\r\nimport { efsrcreate, hpsmandsedetails,efsrDraft, CheckListSaveDto, patchefsrDraft } from 'src/app/Models/EFSR/efsrcreate.model';\r\nimport { Ivendor, Irokeypersonlist } from 'src/app/Models/common/vendor.model';\r\nimport { Iservicing } from 'src/app/Models/common/vendor.model';\r\nimport { Idevice } from 'src/app/Models/common/vendor.model';\r\n//import { CheckListSaveDto } from 'src/app/Models/common/vendor.model';\r\nimport { TicketsAssginedSE } from 'src/app/Services/ServiceEngineer/TicketsAssignedSE.service';\r\nimport { VendorSupervisorService } from 'src/app/Services/vendorsupervisor/vendorsupervisor.service';\r\nimport { ValueConverter } from '@angular/compiler/src/render3/view/template';\r\nimport { SearchRODTO } from 'src/app/Models/common/search.model';\r\n\r\n\r\n\r\n\r\n\r\n@Component({\r\n selector: 'app-create-efsr',\r\n templateUrl: './create-efsr.component.html',\r\n styleUrls: ['./create-efsr.component.scss']\r\n})\r\n\r\nexport class CreateEfsrComponent implements OnInit {\r\n tmp : boolean = false;\r\n\r\n //public users = [{name : \" Alan\"} , {name : \"john\"}] ;\r\n public spare=[{name:\"Yes\"},{name:\"No\"}];\r\n public vendorList: Ivendor[];\r\n public serviceList: Iservicing[];\r\n public deviceList: Idevice[];\r\n public checklist: CheckListSaveDto[];\r\n //public ticksData01= [{name: \"No Rating\"}, {name:\"Very Poor\"}, {name:\"Poor\"}, {name:\"Satisfactory\"}, {name:\"Good\"}, {name:\"Excellent\"}];\r\n //public rokeyperson: Irokeypersonlist[];\r\n vendorDisabledMap: Map;\r\n serviceDisabledMap: Map;\r\n deviceDisabledMap: Map;\r\n checklistDisabledMap: Map;\r\n roketpersonlistDisabledMap: Map;\r\n createEFSRForm: FormGroup;\r\n public spareremark: boolean;\r\n public ratingremark: boolean;\r\n public ratingcnt: number=0;\r\n //rating:string;\r\n startdate : Date;\r\n incidentId : string\r\n roId : number\r\n ticketId: number\r\n isEfsrExists: boolean =false;\r\n isDocumentSectionVisiable: boolean = false;\r\n isFormSectionVisible: boolean = true;\r\n efsrId: number = 0;\r\n isEditForm: boolean = false;\r\n selectedchecklist: number[];\r\n \r\n //ratingcheck=[{name:'Very Poor', id:1},{name:'Poor', id:2},{name:'Satisfactory', id:3},{name:'Good', id:4},{name:'Excellent', id:5}];\r\n \r\n labelPosition=\"after\";\r\n\r\n\r\n\r\n \r\n validationMessages = {\r\n 'vendor': {\r\n 'required': 'Type Of Vendor is required'\r\n },\r\n 'service': {\r\n 'required': 'TypeOfServicing is required.'\r\n },\r\n 'rokeyperson': {\r\n 'required': 'RO Key Person is required.'\r\n },\r\n 'device': {\r\n 'required': 'Type Of Device is required.'\r\n },\r\n 'checklistControl': {\r\n 'required': 'Check List is required.'\r\n },\r\n 'spare': {\r\n 'required': 'Spares Consumed is required.'\r\n },\r\n 'visitdate': {\r\n 'required': 'Visit Date is required.'\r\n },\r\n 'quantity': {\r\n 'required': 'Quantity is required.',\r\n 'pattern': 'Quantity should be numeric.',\r\n },\r\n 'servicesummary': {\r\n 'required': 'Service Summary is required.'\r\n },\r\n 'remark': {\r\n 'required': 'Remark is required.'\r\n },\r\n 'poorratingcomments': {\r\n 'required': 'Please Provide Comment.'\r\n },\r\n \r\n 'ratingSlider': {\r\n 'required': 'Rating is required'\r\n },\r\n\r\n };\r\n\r\n formErrors = {\r\n 'vendor': '',\r\n //'rokeypersonmobile': '',\r\n 'service': '',\r\n //'rokeyperson': '',\r\n 'device': '',\r\n 'checklistControl': '',\r\n 'spare': '',\r\n //'visitdate': '',\r\n 'quantity': '',\r\n 'servicesummary': '',\r\n 'remark': '',\r\n 'poorratingcomments': '',\r\n 'ratingSlider': '',\r\n \r\n };\r\n\r\n public roaccount_validation_messages1 = {\r\n 'vendor': [\r\n { type: 'required', message: 'Type Of Vendor is required' }\r\n ], \r\n 'service': [\r\n { type: 'required', message: 'Type Of Servicing is required' }\r\n ],\r\n 'rokeyperson': [\r\n { type: 'required', message: 'RO Key Person is required' }\r\n ],\r\n 'device': [\r\n { type: 'required', message: 'Type Of Device is required' }\r\n ],\r\n 'checklist': [\r\n { type: 'required', message: 'CheckList is required' }\r\n ],\r\n 'spare': [\r\n { type: 'required', message: 'Spares Consumed is required' }\r\n ],\r\n 'visitdate': {\r\n 'required': 'Visit Date is required.',\r\n 'matDatepickerMin': 'Visit Date should be past date.'\r\n }, \r\n 'quantity': [\r\n { type: 'required', message: 'Quantity is required' },\r\n // { type: 'minlength', message: 'quantity must be of 6 digits' },\r\n // { type: 'pattern', message: 'Quantity is invalid' }\r\n ],\r\n 'servicesummary': [\r\n { type: 'required', message: 'Service Summary is required' }\r\n ],\r\n 'ratingSlider': [\r\n { type: 'required', message: 'Rating is required' }\r\n ],\r\n\r\n 'poorratingcomments': [\r\n { type: 'required', message: 'Please Provide Comment' }\r\n ], \r\n };\r\n\r\n constructor(private fb: FormBuilder,\r\n public snackBar: MatSnackBar,\r\n public dialog: MatDialog,\r\n private efsrservice: efsrService,\r\n private configurationService: ConfigurationService,private EngineerService: TicketsAssginedSE,private VendorService: VendorSupervisorService) {\r\n\r\n this.createEFSRForm = this.fb.group({\r\n });\r\n\r\n this.createEFSRForm = this.createFormGroupWithBuilderAndModel();\r\n this.vendorDisabledMap = new Map();\r\n this.serviceDisabledMap = new Map();\r\n this.deviceDisabledMap=new Map();\r\n this.checklistDisabledMap=new Map();\r\n this.roketpersonlistDisabledMap=new Map();\r\n this.spareremark = false;\r\n this.ratingremark=false;\r\n this.ratingcnt=0;\r\n//this.IsDisabled =false;\r\n }\r\n\r\n \r\n\r\n ngOnInit() {\r\n this.isEfsrExists = this.EngineerService.efsrExists;\r\n this.efsrId = this.EngineerService.getEFSRId();\r\n this.ticketId = this.VendorService.getTicketId();\r\n this.incidentId = this.EngineerService.geIncidentId();\r\n this.roId = this.EngineerService.getROId();\r\n this.startdate=new Date();\r\n this.startdate.setDate(this.startdate.getDate() - 0);\r\n\r\n this.efsrservice.getRODetails(this.roId)\r\n .subscribe(\r\n (data: any) => {\r\n if (data.flag === Constants.SUCCESS_FLAG) {\r\n if (data.result.rocode !== undefined) {\r\n //this.openSnackBar(data.result.rocode + ' details fetched', '');\r\n this.setEditFormValues(data.result);\r\n this.createEFSRForm.get('roname').enable();\r\n this.createEFSRForm.get('rocity').enable();\r\n this.createEFSRForm.get('rocode').enable();\r\n this.createEFSRForm.get('roaddress').enable();\r\n this.createEFSRForm.get('romobile').enable();\r\n \r\n } else {\r\n this.openSnackBar('RO City not found','');\r\n this.resetForm();\r\n }\r\n } else {\r\n this.openSnackBar(data.message, '');\r\n this.resetForm();\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n\r\n this.efsrservice.getSEandHPSMDetails(this.ticketId)\r\n .subscribe(\r\n (data: any) => {\r\n if (data.flag === Constants.SUCCESS_FLAG) {\r\n if (data.result.sename !== undefined) {\r\n this.setHPSMandSEEditFormValues(data.result);\r\n // this.createEFSRForm.get('rocity').enable();\r\n this.createEFSRForm.get('hpsmid').enable();\r\n this.createEFSRForm.get('semobile').enable();\r\n this.createEFSRForm.get('slainhand').enable();\r\n this.createEFSRForm.get('sename').enable();\r\n \r\n } else {\r\n this.openSnackBar('HPSM and SE not found', '');\r\n this.resetForm();\r\n }\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n\r\n // this.VendorService.getticket(this.ticketId)\r\n // .subscribe(\r\n // (data: any) => {\r\n // if (data.flag === Constants.SUCCESS_FLAG) {\r\n // if (data.result.incidentId !== undefined) {\r\n // this.incidentId=data.results;\r\n // this.createEFSRForm.get('rocity').enable();\r\n // //this.createEFSRForm.get('hpsmid').enable();\r\n // // this.createEFSRForm.get('semobile').enable();\r\n // // this.createEFSRForm.get('slainhand').enable();\r\n // // this.createEFSRForm.get('sename').enable();\r\n \r\n // } else {\r\n // this.openSnackBar('RO City not found', '');\r\n // this.resetForm();\r\n // }\r\n // }\r\n \r\n // },\r\n // (err: any) => this.openSnackBar(err.error.message, ''),\r\n // () => { }\r\n // );\r\n\r\n this.efsrservice.getTypeOfVendor()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.vendorList = data.results; \r\n });\r\n\r\n // this.efsrservice.getROKeyPersonList()\r\n // .pipe(catchError((err) => this.handleError(err)))\r\n // .subscribe((data: any) => {\r\n // this.rokeyperson = data.results; \r\n // });\r\n\r\n this.efsrservice.getTypeOfService()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.serviceList = data.results; \r\n });\r\n this.efsrservice.getTypeOfDevice()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.deviceList = data.results; \r\n });\r\n this.efsrservice.getTypeOfChcekList()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.checklist = data.results; \r\n });\r\n \r\n if (this.isEfsrExists)\r\n {\r\n this.efsrservice.getEFSRDetails(this.efsrId)\r\n .subscribe(\r\n (data: any) => {\r\n if (data.flag === Constants.SUCCESS_FLAG) \r\n {\r\n if (data.results[0].checklist != null)\r\n {\r\n this.selectedchecklist = [];\r\n data.results[0].checklist.forEach(check => {\r\n this.selectedchecklist.push(Number(check));\r\n });\r\n }\r\n this.setFormDraftValues(data.results);\r\n //this.createEFSRForm.get('roname').enable();\r\n // this.createEFSRForm.get('rocode').enable();\r\n // this.createEFSRForm.get('roaddress').enable();\r\n //this.createEFSRForm.get('mobile').enable();\r\n } \r\n else \r\n {\r\n this.openSnackBar(data.message, '');\r\n this.resetForm();\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n }\r\n\r\n this.createEFSRForm.valueChanges.subscribe((data) => {\r\n this.logValidationErrors(this.createEFSRForm);\r\n });\r\n }\r\n \r\n createFormGroupWithBuilderAndModel() {\r\n return this.fb.group({\r\n roname: new FormControl('', Validators.compose([\r\n ]),\r\n ),\r\n rocode: new FormControl('', Validators.compose([\r\n ]),\r\n ),\r\n rocity: new FormControl('', Validators.compose([\r\n ])),\r\n roaddress: new FormControl('', Validators.compose([\r\n ])),\r\n romobile: new FormControl('', Validators.compose([\r\n ])),\r\n rokeypersonmobile: new FormControl('', Validators.compose([\r\n //Validators.required,\r\n // Validators.minLength(10),\r\n // Validators.pattern('^[6-9][0-9]{9}$')\r\n ])),\r\n reference: new FormControl('', Validators.compose([\r\n //Validators.required,\r\n ])),\r\n hpsmid: new FormControl('', Validators.compose([\r\n ])),\r\n callstatus: new FormControl('', Validators.compose([\r\n Validators.required,\r\n ])),\r\n slainhand: new FormControl('', Validators.compose([\r\n //Validators.required,\r\n ])),\r\n \r\n visitdate: new FormControl('', Validators.compose([\r\n //Validators.required,\r\n ])),\r\n vendor: new FormControl('', Validators.compose([\r\n Validators.required\r\n ])),\r\n service: new FormControl('', Validators.compose([\r\n Validators.required\r\n ])),\r\n rokeyperson: new FormControl('', Validators.compose([\r\n //Validators.required\r\n ])),\r\n device: new FormControl('', Validators.compose([\r\n Validators.required\r\n ])),\r\n checklistControl: new FormControl('', Validators.compose([\r\n Validators.required\r\n ])),\r\n spare: new FormControl('', Validators.compose([\r\n Validators.required\r\n ])),\r\n remark: new FormControl({disabled:true,value:''},Validators.compose([\r\n ])),\r\n servicesummary: new FormControl('', Validators.compose([\r\n Validators.required\r\n ])),\r\n poorratingcomments: new FormControl('', Validators.compose([\r\n Validators.required\r\n ])),\r\n quantity: new FormControl({disabled:true,value:''}, Validators.compose([\r\n Validators.required,\r\n //Validators.minLength(10),\r\n //Validators.pattern('^[0-9]*$')\r\n ])),\r\n semobile: new FormControl('', Validators.compose([\r\n ])),\r\n sename: new FormControl('', Validators.compose([\r\n ])),\r\n ratingSlider: new FormControl('', Validators.compose([\r\n //Validators.required\r\n ])),\r\n });\r\n }\r\n\r\n setEditFormValues(user: efsrcreate) {\r\n this.createEFSRForm.patchValue({\r\n roname: user.roname,\r\n rocode: user.rocode,\r\n rocity:user.city,\r\n roaddress: user.roaddress1,\r\n romobile: user.rophone1,\r\n rokeyperson : user.dealername,\r\n rokeypersonmobile: user.dealerphone\r\n //reference: user.reference,\r\n //visitdate: user.visitdate,\r\n });\r\n }\r\n\r\n // setHPSMandSEEditFormValues(user: hpsmandsedetails) {\r\n setHPSMandSEEditFormValues(user: efsrcreate) {\r\n this.createEFSRForm.patchValue({\r\n //rocity:user.rocity,\r\n hpsmid: user.hpsmid,\r\n semobile: user.semobile,\r\n slainhand: user.sla,\r\n sename: user.sename,\r\n callstatus: user.callstatus,\r\n reference: user.reference\r\n });\r\n }\r\n\r\n setFormDraftValues(details: patchefsrDraft) {\r\n this.createEFSRForm.patchValue({\r\n //rokeypersonmobile: details[0].roKeyPersonMobileNo,\r\n //callstatus: details[0].callStatus,\r\n vendor: Number(details[0].typeOfVendor),\r\n service: Number(details[0].typeOfServicing),\r\n //: Number(details[0].roKeyPersonName),\r\n device: Number(details[0].typeOfDevice),\r\n spare: details[0].sparesConsumedFlag == 1? \"Yes\" :\"No\",\r\n remark: details[0].remarkOfSparesConsumed,\r\n servicesummary: details[0].serviceSummary,\r\n quantity: details[0].quantity,\r\n //reference: details[0].reference,\r\n visitdate: details[0].visitDate,\r\n poorratingcomments: details[0].ratingComments,\r\n // ratingSlider:details[0].rating,\r\n //checklist: this.selectedchecklist\r\n });\r\n if (details[0].sparesConsumedFlag == 1)\r\n {\r\n this.spareremark = true;\r\n this.createEFSRForm.controls['remark'].setValidators([Validators.required]);\r\n this.createEFSRForm.controls['remark'].enable();\r\n this.createEFSRForm.controls[\"remark\"].updateValueAndValidity();\r\n this.createEFSRForm.controls['quantity'].setValidators([Validators.required, Validators.pattern('^[0-9]*$')]);\r\n this.createEFSRForm.controls['quantity'].enable();\r\n this.createEFSRForm.controls[\"quantity\"].updateValueAndValidity();\r\n }\r\n else\r\n {\r\n this.spareremark = false;\r\n this.createEFSRForm.controls['remark'].clearValidators();\r\n this.createEFSRForm.controls['remark'].disable();\r\n this.createEFSRForm.controls['remark'].reset();\r\n this.createEFSRForm.controls['quantity'].clearValidators();\r\n this.createEFSRForm.controls['quantity'].reset();\r\n this.createEFSRForm.controls['quantity'].disable();\r\n }\r\n this.ratingcnt = Number(details[0].rating);\r\n \r\n //this.ratingremark= Boolean(details[0].ratingComments);\r\n //(details[0].ratingComments)= String(this.ratingremark);\r\n this.createEFSRForm.controls['ratingSlider'].setValue(this.ratingcnt);\r\n this.createEFSRForm.controls['poorratingcomments'].setValue(details[0].ratingComments);\r\n if(details[0].ratingComments==null && details[0].rating>2){\r\n this.createEFSRForm.controls['poorratingcomments'].disable();\r\n this.createEFSRForm.controls['poorratingcomments'].patchValue(details[0].ratingComments);\r\n }\r\n else{\r\n this.createEFSRForm.controls['poorratingcomments'].enable();\r\n this.createEFSRForm.controls['poorratingcomments'].patchValue(details[0].ratingComments);\r\n\r\n }\r\n\r\n this.createEFSRForm.controls['checklistControl'].setValue(this.selectedchecklist);\r\n this.onInputChange(this.ratingcnt);\r\n }\r\n\r\nSaveDraft() {\r\n const efsrDetails = Object.assign({}, this.createEFSRForm.value);\r\n var draftEfsr = new efsrDraft();\r\n draftEfsr.roCode = efsrDetails.rocode;\r\n draftEfsr.roName = efsrDetails.roname;\r\n draftEfsr.roCity = efsrDetails.rocity;\r\n draftEfsr.roContactNo = (efsrDetails.romobile);\r\n draftEfsr.roAddress = efsrDetails.roaddress;\r\n draftEfsr.reference = efsrDetails.reference==null?\"No Record\":efsrDetails.reference;\r\n if(typeof efsrDetails.visitdate == 'undefined' || efsrDetails.visitdate == \"\")\r\n {\r\n // draftEfsr.visitDate = null;\r\n const d = new Date()\r\n //this.startdate.getDate()\r\n draftEfsr.visitDate = new Date(Date.UTC((d.getFullYear()),d.getMonth(),d.getDate()));\r\n }\r\n else{\r\n const d = new Date(efsrDetails.visitdate)\r\n draftEfsr.visitDate = new Date(Date.UTC((d.getFullYear()),d.getMonth(),d.getDate()));\r\n }\r\n draftEfsr.hPSMId = efsrDetails.hpsmid;\r\n draftEfsr.callStatus = efsrDetails.callstatus;\r\n draftEfsr.slaInHand = Number(efsrDetails.slainhand)==0?0:Number(efsrDetails.slainhand);\r\n draftEfsr.typeOfVendor = efsrDetails.vendor;\r\n draftEfsr.typeOfServicing = efsrDetails.service;\r\n draftEfsr.typeOfDevice = efsrDetails.device;\r\n if (efsrDetails.spare == 'Yes')\r\n {\r\n draftEfsr.sparesConsumedFlag = 1;\r\n // this.createEFSRForm.get('efsrDetails.quantity').enable();\r\n draftEfsr.quantity = Number(efsrDetails.quantity);\r\n draftEfsr.remarkOfSparesConsumed = efsrDetails.remark;\r\n }\r\n else\r\n {\r\n draftEfsr.sparesConsumedFlag = 0;\r\n draftEfsr.quantity=0;\r\n draftEfsr.remarkOfSparesConsumed=null;\r\n // draftEfsr.quantity = 0;\r\n //this.createEFSRForm.get('efsrDetails.quantity').disable();\r\n }\r\n \r\n \r\n draftEfsr.serviceSummary = efsrDetails.servicesummary;\r\n draftEfsr.roKeyPersonName = efsrDetails.rokeyperson;\r\n //draftEfsr.roKeyPersonMobileNo = Number(efsrDetails.rokeypersonmobile);\r\n draftEfsr.roKeyPersonMobileNo = efsrDetails.rokeypersonmobile;\r\n draftEfsr.rating = Number(this.ratingcnt);\r\n draftEfsr.ratingComments = efsrDetails.poorratingcomments;\r\n if(efsrDetails.poorratingcomments != null || this.ratingcnt<=2 ){\r\n this.createEFSRForm.controls['poorratingcomments'].setValue(efsrDetails.poorratingcomments);\r\n }\r\n else{\r\n this.createEFSRForm.controls['poorratingcomments'].disable();\r\n }\r\n draftEfsr.incidentId = this.incidentId;\r\n //Checklist\r\n if(typeof efsrDetails.checklistControl == 'undefined' || efsrDetails.checklistControl == \"\" ||efsrDetails.checklistControl == null)\r\n {\r\n //do nothing\r\n }\r\n else\r\n {\r\n draftEfsr.checklist = [];\r\n efsrDetails.checklistControl.forEach(check => {\r\n draftEfsr.checklist.push(Number(check));\r\n });\r\n }\r\n draftEfsr.isSubmitted = 0;\r\n\r\n this.efsrservice.createefsr(draftEfsr)\r\n .subscribe(\r\n (data: any) => {\r\n //this.openSnackBar(data.message, '');\r\n if (data.flag === Constants.SUCCESS_FLAG) {\r\n this.efsrservice.setRequestFromEfsr(true);\r\n this.openSnackBar(data.message, '');\r\n //this.resetForm();\r\n //this.isFormSectionVisible = false;\r\n this.efsrId = data.returnId;\r\n //this.isDocumentSectionVisiable = true;\r\n }\r\n else\r\n {\r\n this.openSnackBar(data.message, '');\r\n }\r\n },\r\n (err: any) => {\r\n this.openSnackBar(err.error.message, '');\r\n },\r\n () => { }\r\n );\r\n}\r\n\r\nbackToList()\r\n{\r\n //this.isFormSectionVisible = false;\r\n //this.efsrId = data.returnId;\r\n //this.isDocumentSectionVisiable = true;\r\n}\r\n\r\nmovetoUploadDocument()\r\n{\r\n //this.isFormSectionVisible = false;\r\n //this.efsrId = data.returnId;\r\n //this.isDocumentSectionVisiable = true;\r\n}\r\n\r\n onSubmit() {\r\n \r\n if (true)\r\n { \r\n const efsrDetails = Object.assign({}, this.createEFSRForm.value);\r\n var draftEfsr = new efsrDraft();\r\n //draftEfsr.roCode = efsrDetails.rocode;\r\n draftEfsr.roCode=efsrDetails.rocode;\r\n draftEfsr.roName = efsrDetails.roname;\r\n draftEfsr.roCity = efsrDetails.rocity;\r\n draftEfsr.roContactNo = efsrDetails.romobile;\r\n draftEfsr.roAddress = efsrDetails.roaddress;\r\n draftEfsr.reference = efsrDetails.reference==null?\"No Record\":efsrDetails.reference;\r\n if(typeof efsrDetails.visitdate == 'undefined' || efsrDetails.visitdate == \"\")\r\n {\r\n const d = new Date()\r\n //this.startdate.getDate()\r\n draftEfsr.visitDate = new Date(Date.UTC((d.getFullYear()),d.getMonth(),d.getDate()));\r\n //draftEfsr.visitDate = null;\r\n }\r\n else{\r\n const d = new Date(efsrDetails.visitdate)\r\n draftEfsr.visitDate = new Date(Date.UTC((d.getFullYear()),d.getMonth(),d.getDate()));\r\n //draftEfsr.visitDate = new Date(Date.UTC((efsrDetails.visitdate.getFullYear()),efsrDetails.visitdate.getMonth(),efsrDetails.visitdate.getDate()));\r\n }\r\n draftEfsr.hPSMId = efsrDetails.hpsmid;\r\n draftEfsr.callStatus = efsrDetails.callstatus;\r\n draftEfsr.slaInHand = Number(efsrDetails.slainhand)==0?0:Number(efsrDetails.slainhand);\r\n draftEfsr.typeOfVendor = efsrDetails.vendor;\r\n draftEfsr.typeOfServicing = efsrDetails.service;\r\n draftEfsr.typeOfDevice = efsrDetails.device;\r\n if (efsrDetails.spare == 'Yes')\r\n {\r\n draftEfsr.sparesConsumedFlag = 1;\r\n // this.createEFSRForm.get('quantity').enable();\r\n draftEfsr.quantity = Number(efsrDetails.quantity);\r\n draftEfsr.remarkOfSparesConsumed = efsrDetails.remark;\r\n }\r\n else\r\n {\r\n draftEfsr.sparesConsumedFlag = 0;\r\n // this.createEFSRForm.get('quantity').reset();\r\n // this.createEFSRForm.get('quantity').disable();\r\n //draftEfsr.quantity = 0;\r\n }\r\n \r\n \r\n // draftEfsr.quantity = Number(efsrDetails.quantity);\r\n draftEfsr.serviceSummary = efsrDetails.servicesummary;\r\n draftEfsr.roKeyPersonName = efsrDetails.rokeyperson;\r\n //draftEfsr.roKeyPersonMobileNo = Number(efsrDetails.rokeypersonmobile);\r\n draftEfsr.roKeyPersonMobileNo = efsrDetails.rokeypersonmobile;\r\n draftEfsr.rating = Number(this.ratingcnt);\r\n \r\n draftEfsr.ratingComments = efsrDetails.poorratingcomments;\r\n\r\n // if(this.ratingcnt==0 && efsrDetails.poorratingcomments==''){\r\n // draftEfsr.rating = 0;\r\n \r\n // draftEfsr.ratingComments = null;\r\n // this.createEFSRForm.controls['ratingSlider'].setValidators([Validators.required]);\r\n // this.createEFSRForm.controls['poorratingcomments'].setValidators([Validators.required]);\r\n //this.createEFSRForm.disable();\r\n //this.openSnackBar('Please Provide Rating and Comments for RO','');\r\n\r\n // }\r\n // else if(this.ratingcnt<=2 && efsrDetails.poorratingcomments=='' ){\r\n\r\n // draftEfsr.rating = Number(this.ratingcnt);\r\n \r\n //draftEfsr.ratingComments = null;\r\n //this.createEFSRForm.controls['ratingSlider'].setValidators([Validators.required]);\r\n //this.createEFSRForm.controls['poorratingcomments'].setValidators([Validators.required]);\r\n // this.createEFSRForm.disable();\r\n //this.openSnackBar('Please Provide Rating and Comments for RO','');\r\n //}\r\n //else if(this.ratingcnt>=2 && efsrDetails.poorratingcomments==String){\r\n //draftEfsr.rating = Number(this.ratingcnt);\r\n \r\n //draftEfsr.ratingComments = efsrDetails.poorratingcomments;\r\n\r\n //this.createEFSRForm.controls[\"ratingSlider\"].updateValueAndValidity();\r\n //this.createEFSRForm.controls[\"poorratingcomments\"].updateValueAndValidity();\r\n //this.createEFSRForm.enable();\r\n\r\n //}\r\n\r\n draftEfsr.incidentId = this.incidentId;\r\n //Checklist\r\n if(typeof efsrDetails.checklistControl == 'undefined' || efsrDetails.checklistControl == \"\" ||efsrDetails.checklistControl == null)\r\n {\r\n //do nothing\r\n }\r\n else\r\n {\r\n draftEfsr.checklist = [];\r\n efsrDetails.checklistControl.forEach(check => {\r\n draftEfsr.checklist.push(Number(check));\r\n });\r\n }\r\n draftEfsr.isSubmitted = 1;\r\n\r\n //draftEfsr.seId = \r\n //draftEfsr.incidentId = \r\n\r\n this.efsrservice.createefsr(draftEfsr)\r\n .subscribe(\r\n (data: any) => {\r\n //this.openSnackBar(data.message, '');\r\n if (data.flag === Constants.SUCCESS_FLAG) {\r\n this.efsrservice.setRequestFromEfsr(true);\r\n this.openSnackBar(data.message, '');\r\n this.resetForm();\r\n this.isFormSectionVisible = false;\r\n this.efsrId = data.returnId;\r\n this.isDocumentSectionVisiable = true;\r\n }\r\n else\r\n {\r\n this.openSnackBar(data.message, '');\r\n }\r\n },\r\n (err: any) => {\r\n this.openSnackBar(err.error.message, '');\r\n },\r\n () => { }\r\n );\r\n }\r\n else\r\n {\r\n this.ValidateAllFields(this.createEFSRForm);\r\n this.logValidationErrors(this.createEFSRForm);\r\n }\r\n\r\n }\r\n\r\n\r\n resetForm() {\r\n this.createEFSRForm.reset();\r\n for (const i in this.createEFSRForm.controls) {\r\n if (this.createEFSRForm.controls[i]) {\r\n this.createEFSRForm.controls[i].setErrors(null);\r\n }\r\n }\r\n this.spareremark = false;\r\n this.ratingremark=false;\r\n this.ratingcnt=0;\r\n \r\n }\r\n\r\n selectInput(Slectedstate:any) {\r\n\r\n //var selected = this.checklist.filter(classification => classification.name === Slectedstate);\r\n\r\n if (Slectedstate.name == \"Yes\") {\r\n\r\n this.spareremark = true;\r\n this.createEFSRForm.controls['remark'].setValidators([Validators.required]);\r\n this.createEFSRForm.controls['remark'].enable();\r\n this.createEFSRForm.controls[\"remark\"].updateValueAndValidity();\r\n this.createEFSRForm.controls['quantity'].setValidators([Validators.required,Validators.pattern('^[0-9]*$')]);\r\n this.createEFSRForm.controls['quantity'].enable();\r\n this.createEFSRForm.controls[\"quantity\"].updateValueAndValidity();\r\n } else {\r\n this.spareremark = false;\r\n this.createEFSRForm.controls['remark'].clearValidators();\r\n this.createEFSRForm.controls['remark'].disable();\r\n this.createEFSRForm.controls['remark'].reset();\r\n this.createEFSRForm.controls['quantity'].clearValidators();\r\n this.createEFSRForm.controls['quantity'].reset();\r\n this.createEFSRForm.controls['quantity'].disable();\r\n // this.createEFSRForm.controls[\"quantity\"].updateValueAndValidity();\r\n }\r\n\r\n\r\n }\r\n onInputChange(value:number) {\r\n value=Number(this.ratingcnt);\r\n //rating1=String(this.ratingcnt);\r\n //this.ratingcnt=maxvalue;\r\n if(value<=2)\r\n {\r\n \r\n // this.formatLabel(slidervalue);\r\n // this.ticksData01=[];\r\n this.ratingremark=true;\r\n // this.createEFSRForm.controls['ratingSlider'].valid;\r\n // this.createEFSRForm.controls[\"ratingSlider\"].value.selected._multiple=false;\r\n this.createEFSRForm.controls['poorratingcomments'].setValidators([Validators.required]);\r\n this.createEFSRForm.controls['poorratingcomments'].enable();\r\n this.createEFSRForm.controls[\"poorratingcomments\"].updateValueAndValidity();\r\n \r\n }\r\n \r\n else {\r\n this.ratingremark=false;\r\n // this.createEFSRForm.controls['ratingSlider'].valid;\r\n // this.createEFSRForm.controls[\"ratingSlider\"].value.selected._multiple=false;\r\n this.createEFSRForm.controls['poorratingcomments'].clearValidators();\r\n this.createEFSRForm.controls['poorratingcomments'].reset();\r\n this.createEFSRForm.controls['poorratingcomments'].disable();\r\n }\r\n }\r\n //onRatingchange(){\r\n \r\n //if(this.createEFSRForm.controls['ratingSlider'].untouched==true){\r\n // this.openSnackBar('Please Provide Rating','');\r\n // }\r\n //}\r\n\r\n cancelEdit() {\r\n this.resetForm();\r\n }\r\n /**\r\n * Dialog is shown, when admin tries to disable a user.\r\n * This stops admin from to disable user accidentally\r\n *\r\n * @returns\r\n * @memberof UserEditComponent\r\n */\r\n openDeactivationDialog() {\r\n if (this.createEFSRForm.value.isactive !== false) {\r\n return;\r\n }\r\n\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.autoFocus = true;\r\n dialogConfig.disableClose = true;\r\n // dialogConfig.height = '30%';\r\n // dialogConfig.width = '30%';\r\n // dialogConfig.data = {\r\n // username: this.editSEUserForm.value.username,\r\n // isactive: this.editSEUserForm.value.isactive,\r\n // WarningMessage: 'User ' + this.editSEUserForm.value.username + ' will be disabled'\r\n // }\r\n\r\n //const dialogRef = this.dialog.open(SeuserDisableDialogComponent, dialogConfig);\r\n // dialogRef.afterClosed().subscribe(result => {\r\n\r\n // if (result !== undefined) {\r\n // // console.log(result);\r\n // } else {\r\n // this.editSEUserForm.patchValue({\r\n // isactive: true\r\n // });\r\n // }\r\n // });\r\n }\r\n \r\n openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n private handleError(error: any) {\r\n // this.errorReceived = true;\r\n return Observable.throw(error);\r\n }\r\n\r\n logValidationErrors(group: FormGroup = this.createEFSRForm): void {\r\n Object.keys(group.controls).forEach((key: string) => {\r\n const abstractControl = group.get(key);\r\n if (abstractControl instanceof FormGroup) {\r\n this.logValidationErrors(abstractControl)\r\n } else {\r\n this.formErrors[key] = '';\r\n if (abstractControl && !abstractControl.valid && (abstractControl.touched || abstractControl.dirty)) {\r\n const messages = this.validationMessages[key];\r\n\r\n for (const errorKey in abstractControl.errors) {\r\n if (errorKey) {\r\n this.formErrors[key] += messages[errorKey] + '';\r\n }\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n ValidateAllFields(formGroup: FormGroup) {\r\n Object.keys(formGroup.controls).forEach(field => {\r\n const control = formGroup.get(field);\r\n if (control instanceof FormControl) {\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) {\r\n this.ValidateAllFields(control);\r\n }\r\n });\r\n }\r\n \r\n //ormatLabel(slidervalue: number | null) {\r\n //if (!slidervalue) {\r\n // return 0;\r\n //}\r\n //if(slidervalue == 0)\r\n // {\r\n // return 'No Rating';\r\n \r\n //return this.ticks01= \"No Rating\";\r\n //}\r\n\r\n // if(slidervalue == 1)\r\n //{\r\n // return 'Very Poor';\r\n // }\r\n // else if(slidervalue ==2)\r\n // {\r\n // return 'Poor';\r\n // }\r\n // else if(slidervalue ==3)\r\n // {\r\n // return 'Satisfactory';\r\n // }\r\n // else if(slidervalue == 4)\r\n // {\r\n // return 'Good';\r\n // }\r\n // else if(slidervalue ==5)\r\n //{\r\n // return 'Excellent';\r\n // }\r\n\r\n // return slidervalue;\r\n // }\r\n \r\n}\r\n\r\n\r\n\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9FRlNSL3VwbG9hZC1FRlNSLWRvY3MvdXBsb2FkZWZzcmRvY3MvdXBsb2FkZWZzcmRvY3MuY29tcG9uZW50LnNjc3MifQ== */\"","\nimport { Component, OnInit, ViewChild, Input, Output, EventEmitter } from '@angular/core';\nimport { documentList } from 'src/app/Models/ServiceEngineer/documentList';\nimport { HttpEventType, HttpResponse } from '@angular/common/http';\nimport { FormGroup, FormBuilder, FormControl, Validators, PatternValidator } from '@angular/forms';\nimport { MatSnackBar } from '@angular/material';\nimport { ReturnResponse } from 'src/app/Models/ServiceEngineer/returnResponse.model';\nimport { Router } from '@angular/router';\nimport { VendorSupervisorService } from 'src/app/Services/vendorsupervisor/vendorsupervisor.service';\nimport { efsrService } from 'src/app/Services/EFSR/efsrcreate.service';\nimport { applicationconstant } from 'src/app/Models/DropdownItemsGroup/applicationconstant.model';\nimport { RemoveFile } from 'src/app/Models/common/removeFile.model';\nimport { TicketsAssginedSE } from 'src/app/Services/ServiceEngineer/TicketsAssignedSE.service';\n//import{IName} from 'src/app/Models/TicketsSE/engineername.model';\n//import { BindingFlags } from '@angular/compiler/src/core';\n//import { EFSR, efsrDoc } from 'src/app/Models/EFSR/efsr.model';\n//import { catchError } from 'rxjs/operators';\n//import { patchefsrDraft, EFSRApproveReject } from 'src/app/Models/EFSR/efsrcreate.model';\nimport { UserService } from 'src/app/Services/ServiceEngineer/SECreate.service';\nimport { IName } from 'src/app/Models/TicketsSE/engineername.model';\nimport { Observable } from 'rxjs';\nimport { SECreate } from 'src/app/Models/ServiceEngineer/SECreate.model';\nimport { Constants } from 'src/app/Constants/constants';\n@Component({\n selector: 'app-uploadefsrdocs',\n templateUrl: './uploadefsrdocs.component.html',\n styleUrls: ['./uploadefsrdocs.component.scss']\n})\nexport class UploadefsrdocsComponent implements OnInit {\n\n documents: documentList[]=[];\n file:File;\n userData:SECreate;\n //efsrDoc: efsrDoc[]=[];\n isDocRequired: boolean = false;\n //public efsr:EFSRApproveReject[];\n isAlldocumentsUploaded: boolean = false;\n //public ShowLoader: boolean;\n uploadStatus: string = '';\n percentDone: number = 0;\n @ViewChild('documentSelected',{static:false}) selectedDoc: any;\n @Input() isEditForm: boolean;\n @Input() seId: number;\n @Input() userId:number;\n //@Input() createdBy:number;\n //@Input() enggName:IName[];\n @Output() valueupdate = new EventEmitter();\n //@Output() submitTheResult: EventEmitter = new EventEmitter();\n // public imagePath;\n // imgURL: any;\n //approvedFlag:number;\n efsrId:number;\n //engId:number;\n alreadyLoggedIn: boolean = false;\n documetListValidation: boolean = false;\n documentFileValidation: boolean = false;\n requestFromEfsr : boolean = false;\n requestFromROEfsr : boolean = false;\n documentForm: FormGroup;\n //isDocumentSectionVisiable: boolean = true;\n //isFormSectionVisible: boolean = false;\n\n document_validation_messages = {\n 'documentfile': [\n { type: 'required', message: 'Please select document' }\n ],\n 'documetList': [\n { type: 'required', message: 'Plesae select document type' }\n ],\n 'documentNumber': [\n { type: 'required', message: 'Please enter document number' }\n ]\n\n }\n\n constructor(private vehicleService: VendorSupervisorService, private efsrservice: efsrService,private fb: FormBuilder, private snackbar: MatSnackBar, private router: Router,private EngineerService: TicketsAssginedSE,private SEservice:UserService)\n {\n this.documentForm = this.fb.group({\n documetList: new FormControl('0', Validators.compose([\n Validators.required\n ])),\n documentfile: new FormControl('', Validators.compose([\n Validators.required\n ])),\n documentNumber: new FormControl('', Validators.compose([\n Validators.required,\n Validators.pattern(\"^[0-9]{10}$\")\n ])),\n createdby:new FormControl('', Validators.compose([\n Validators.required,\n Validators.pattern(\"^[0-9]{10}$\")\n ]))\n })\n }\n\n ngOnInit() {\n this.requestFromEfsr = this.efsrservice.getRequestFromEfsr();\n this.requestFromROEfsr = this.efsrservice.getRequestFromROEfsr();\n this.efsrId= this.EngineerService.getEFSRId();\n \n if (this.requestFromEfsr || this.requestFromROEfsr)\n {\n this.getRequiredDocumentsForEfsr();\n }\n \n else{\n this.getRequiredDocuments();\n \n }\n \n \n }\n\n getRequiredDocuments() {\n this.vehicleService.getRequiredFilest(this.seId).subscribe((data: any) => {\n this.documents = data.results;\n if (this.isEditForm) {\n this.patchFiles();\n }\n });\n }\n\n getRequiredDocumentsForEfsr() {\n this.efsrservice.getRequiredFilest(this.seId).subscribe((data: any) => {\n this.documents = data.results;\n if (this.isEditForm) {\n this.patchFilesEFSR();\n }\n });\n }\n // getRequiredDocumentsForEfsrForm() {\n // this.efsrservice.getRequiredFilesEFSR().subscribe((data: any) => {\n // this.efsrDoc = data.results;\n // if (this.isEditForm) {\n // this.patchFilesEFSRForm();\n // }\n // });\n // }\n checkNumberRequired() {\n this.documentForm.get('documetList').markAsPristine();\n if (this.documentForm.get('documetList').value == applicationconstant.Vehicle_DOC_Registration_Certificate_Copy) {\n }\n else if (this.documentForm.get('documetList').value == applicationconstant.Vehicle_DOC_CommercialPermitCopy) {\n }\n\n this.documentForm.get('documentfile').reset();\n this.documentForm.get('documentNumber').reset();\n }\n\n UploadDocuments(event) {\n this.selectedDoc.nativeElement.value='EFSR Document Proof';\n if (this.selectedDoc.nativeElement.value == \"0\") {\n this.documetListValidation = true;\n this.documentForm.get('documentfile').reset();\n this.documentFileValidation = false;\n return;\n }\n if (event.target.files.length == 0) {\n this.documentFileValidation = true;\n this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].file = undefined;\n }\n else {\n this.documentFileValidation = false;\n }\n if (this.documentFileValidation == false) {\n const files = event.target.files[0];\n this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].file = files;\n }\n }\n \n private handleError(error: any) {\n // this.errorReceived = true;\n return Observable.throw(error);\n }\n onSubmit() {\n const doc = this.documentForm.get('documetList').value;\n //const crt=this.documentForm.get('createdby').value;\n //commented by ajay for multiple file upload changes\n // if (this.documents.filter((val) => val.documentId == doc && val.isUploaded == true).length > 0) {\n // this.openSnackBar(doc + ' is already uploaded ! You may remove old file and upload again.', '');\n // this.documentForm.get('documentfile').reset();\n // return;\n //}\n\n if (this.documentForm.get('documetList').value == \"0\") {\n this.documetListValidation = true;\n return;\n }\n else {\n this.documetListValidation = false;\n }\n if (this.documents.filter((val) => val.documentId == doc).map(x => x.file)[0] == undefined) {\n this.documentFileValidation = true;\n return;\n }\n\n const file = this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].file;\n const fileType = this.documentForm.get('documetList').value;\n const docNum = this.documentForm.get('documentNumber').value;\n //const crt= this.documentForm.get('createdby').value;\n if (this.requestFromEfsr)\n {\n this.efsrservice.uploadFile(file, fileType, docNum, this.seId)\n .subscribe(event => {\n if (event.type === HttpEventType.UploadProgress) {\n this.percentDone = Math.round(100 * event.loaded / event.total);\n this.uploadStatus = `File is ${this.percentDone}% uploaded.`;\n this.percentDone = 0;\n } else if (event instanceof HttpResponse) {\n this.openSnackBar(event.body.message, '');\n\n this.uploadStatus = 'File is completely uploaded!';\n if (event.body.flag == \"S\") {\n this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].isUploaded = true;\n this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].documentType = fileType;\n this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].documentName = event.body.fileName;\n //this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].createdBy = event.body.createdBy;\n \n }\n if (event.body.returnId == 1) {\n this.isAlldocumentsUploaded = true;\n }\n else {\n this.isAlldocumentsUploaded = false;\n }\n this.resetform();\n this.getRequiredDocumentsForEfsr();\n \n }\n });\n }\n else{\n this.vehicleService.uploadFile(file, fileType, docNum, this.seId)\n .subscribe(event => {\n if (event.type === HttpEventType.UploadProgress) {\n this.percentDone = Math.round(100 * event.loaded / event.total);\n this.uploadStatus = `File is ${this.percentDone}% uploaded.`;\n this.percentDone = 0;\n } else if (event instanceof HttpResponse) {\n this.openSnackBar(event.body.message, '');\n\n this.uploadStatus = 'File is completely uploaded!';\n if (event.body.flag == \"S\") {\n this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].isUploaded = true;\n this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].documentType = fileType;\n this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].documentName = event.body.fileName;\n //this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].createdBy = event.body.createdBy;\n }\n if (event.body.returnId == 1) {\n this.isAlldocumentsUploaded = true;\n }\n else {\n this.isAlldocumentsUploaded = false;\n }\n this.resetform();\n this.getRequiredDocumentsForEfsr();\n }\n });\n }\n }\n\n patchFiles() {\n this.vehicleService.getSEAllDocs(applicationconstant.SEDocument, 0, this.seId).subscribe(\n (data: any) => {\n if (data.flag == \"S\") {\n data.results.forEach(x => { \n if(x.isSuccess==true){ \n this.documents.filter((val) => val.documentId == x.fileType)[0].documentName = x.fileName;\n this.documents.filter((val) => val.documentId == x.fileType)[0].file = x.fileStream;\n this.documents.filter((val) => val.documentId == x.fileType)[0].isUploaded = true;\n //this.documents.filter((val) => val.documentId == x.fileType)[0].createdBy = x.createdBy;\n }\n });\n }\n if (data.returnId == 1) {\n this.isAlldocumentsUploaded = true;\n //this.openSnackBar('Submitted Successfully.Redirecting to Homepage..','');\n \n }\n else {\n this.isAlldocumentsUploaded = false;\n }\n }\n )\n }\n\n patchFilesEFSR() {\n this.vehicleService.getEFSRAllDocs(applicationconstant.EFSRDocument, 0, this.seId).subscribe(\n (data: any) => {\n if (data.flag == \"S\") {\n data.results.forEach(x => { \n if(x.isSuccess==true){ \n this.documents.filter((val) => val.documentId == x.fileType)[0].documentName = x.fileName;\n this.documents.filter((val) => val.documentId == x.fileType)[0].file = x.fileStream;\n this.documents.filter((val) => val.documentId == x.fileType)[0].isUploaded = true;\n //this.documents.filter((val) => val.documentId == x.fileType)[0].createdBy = x.createdBy;\n }\n });\n }\n if (data.returnId == 1) {\n this.isAlldocumentsUploaded = true;\n //this.openSnackBar('Submitted Successfully.Redirecting to Homepage..','');\n }\n else {\n this.isAlldocumentsUploaded = false;\n }\n }\n )\n }\n\n\n// patchFilesEFSRForm() {\n// this.vehicleService.getEFSRReportsList(applicationconstant.EFSRForm, 0, this.seId).subscribe(\n// (data: any) => {\n// if (data.flag == \"S\") {\n// data.results.forEach(x => { \n// if(x.isSuccess==true){ \n// this.efsrDoc.filter((val) => val.id == x.fileType)[0].docName = x.fileName;\n// this.efsrDoc.filter((val) => val.id == x.fileType)[0].file = x.fileStream;\n// this.efsrDoc.filter((val) => val.id == x.fileType)[0].docPath = x.filePath;\n \n// // this.documents.filter((val) => val.documentId == x.fileType)[0].isUploaded = undefined;\n// this.efsrDoc.filter((val) => val.id == x.fileType)[0].createdBy = x.createdBy;\n// }\n// });\n// }\n// if (data.returnId == 1) {\n// this.isAlldocumentsUploaded = true;\n// //this.openSnackBar('Submitted Successfully.Redirecting to Homepage..','');\n// }\n// else {\n// this.isAlldocumentsUploaded = false;\n// }\n// }\n// )\n// }\n removeFile(docType: string) {\n var removeFile = new RemoveFile();\n const docId = this.seId;\n if (this.requestFromEfsr)\n {\n removeFile.docId = docId;\n removeFile.docType = docType;\n this.efsrservice.removeFile(removeFile).subscribe(\n (data: ReturnResponse) => {\n this.openSnackBar(data.message, '');\n this.documents.filter((val) => val.documentId == docType)[0].file = null;\n this.documents.filter((val) => val.documentId == docType)[0].isUploaded = false;\n if (data.returnId == 1) {\n this.isAlldocumentsUploaded = true;\n }\n else {\n this.isAlldocumentsUploaded = false;\n }\n this.resetform();\n this.getRequiredDocumentsForEfsr();\n }\n )\n }\n else\n {\n this.vehicleService.removeFile(docType, docId).subscribe(\n (data: ReturnResponse) => {\n this.openSnackBar(data.message, '');\n this.documents.filter((val) => val.documentId == docType)[0].file = null;\n this.documents.filter((val) => val.documentId == docType)[0].isUploaded = false;\n if (data.returnId == 1) {\n this.isAlldocumentsUploaded = true;\n }\n else {\n this.isAlldocumentsUploaded = false;\n }\n this.resetform();\n this.getRequiredDocumentsForEfsr();\n }\n )\n }\n }\n\n SubmitValues() {\n this.valueupdate.emit(false);\n this.openSnackBar('Submitted Successfully.Redirecting to Homepage..','');\n //this.ShowLoader=true;\n this.router.navigate(['dashboard']);\n }\n\n \n public backToList()\n {\n if (this.requestFromROEfsr)\n {\n this.efsrservice.setRequestFromROEfsr(false);\n this.openSnackBar('Documents Verified Successfully.Going Back to Previous Page..','');\n this.valueupdate.emit(false);\n //this.ShowLoader=false;\n //this.ShowLoader=true;\n //this.efsrservice.setIsDocumentSectionVisibleFromROEfsr(false);\n //this.efsrservice.setIsFormSectionVisibleFromROEfsr(true);\n //this.isFormSectionVisible = true;\n //this.isDocumentSectionVisiable = false;\n }\n else if(this.requestFromEfsr)\n {\n this.efsrservice.setRequestFromEfsr(false);\n this.openSnackBar('Submitted Successfully.Redirecting to Homepage..','');\n this.router.navigate(['dashboard']);\n }\n else\n {\n //this.efsrservice.setRequestFromEfsr(false);\n \n var seProf=new SECreate();\n //const RoFormData: any = Object.assign({}, seProf);\n seProf.seId=this.seId;\n // seProf.userId=this.userId;\n //seProf.userId=this.userId;\n this.SEservice.submitSEDoc(seProf.seId).subscribe(\n (data: any) => {\n // //this.submitted = false;\n // //this.openSnackBar(data.message, '');\n if (data.flag === Constants.SUCCESS_FLAG) {\n //this.openSnackBar(data.message, '');\n this.openSnackBar(data.message, '');\n //this.openSnackBar('Submitted Successfully!','');\n this.router.navigate(['dashboard']);\n \n // //this.form.resetForm();\n }\n },\n (err: any) => {\n // //this.submitted = false;\n this.openSnackBar(err.error.message, '');\n },\n () => { }\n );\n \n //this.ShowLoader=true;\n }\n \n }\n\n ngOnDestroy() {\n this.requestFromEfsr = false;\n this.requestFromROEfsr = false;\n }\n\n public UpdateEFSRStatus()\n {\n this.efsrservice.UpdateEfsrStatus(this.seId)\n .subscribe(event => {\n // if (event.type === HttpEventType.UploadProgress) {\n // this.percentDone = Math.round(100 * event.loaded / event.total);\n // this.uploadStatus = `File is ${this.percentDone}% uploaded.`;\n // this.percentDone = 0;\n // } else if (event instanceof HttpResponse) {\n // this.openSnackBar(event.body.message, '');\n\n // this.uploadStatus = 'File is completely uploaded!';\n // if (event.body.flag == \"S\") {\n // this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].isUploaded = true;\n // this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].documentType = fileType;\n // this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].documentName = event.body.fileName;\n // }\n // if (event.body.returnId == 1) {\n // this.isAlldocumentsUploaded = true;\n // }\n // else {\n // this.isAlldocumentsUploaded = false;\n // }\n // this.resetform();\n // }\n });\n this.efsrservice.setRequestFromEfsr(false);\n this.router.navigate(['dashboard']);\n }\n\n preview(documentType: string, documentName: string) {\n if (this.requestFromEfsr || this.requestFromROEfsr )\n {\n var removeFile = new RemoveFile();\n removeFile.docId = this.seId;\n removeFile.docType = documentType;\n this.efsrservice.downloadDoc(removeFile).subscribe(result => {\n if (window.navigator.msSaveOrOpenBlob) {\n window.navigator.msSaveOrOpenBlob(result, documentName);\n } else {\n var url = window.URL.createObjectURL(result);\n \n let link = document.createElement('a');\n link.setAttribute('type', 'hidden');\n link.href = url;\n link.download = documentName;\n document.body.appendChild(link);\n link.click();\n link.remove();\n }\n this.resetform();\n } \n );\n }\n else{\n this.vehicleService.downloadDoc(this.seId, documentType).subscribe(result => {\n if (window.navigator.msSaveOrOpenBlob) {\n window.navigator.msSaveOrOpenBlob(result, documentName);\n } else {\n var url = window.URL.createObjectURL(result);\n \n let link = document.createElement('a');\n link.setAttribute('type', 'hidden');\n link.href = url;\n link.download = documentName;\n document.body.appendChild(link);\n link.click();\n link.remove();\n }\n this.resetform();\n } \n );\n }\n\n }\n\n public ClosePopUp(): void {\n this.alreadyLoggedIn = false;\n }\n\n public openSnackBar(message: string, action: string) {\n this.snackbar.open(message, action, {\n duration: 5000,\n verticalPosition: 'top'\n });\n }\n\n resetform(){\n this.documentForm.get('documentfile').reset();\n this.documentForm.get('documetList').patchValue('0');\n this.documentFileValidation=false;\n this.documetListValidation=false;\n }\n\n\n}","module.exports = \"/*.alertPopUp {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 90%;\\n height: 100%;\\n background-color: rgba(255, 255, 255, 0.356);\\n z-index: 10000;\\n}\\n\\n.modal-dialog {\\n position: absolute;\\n top: 22%;\\n left: 0;\\n right: 0;\\n margin: 0 auto;\\n height: 100px;\\n width: auto;\\n position: relative;\\n}*/\\n.alertPopUp {\\n display: inline-block;\\n position: absolute;\\n top: 0;\\n bottom: 0;\\n left: 0;\\n right: 0;\\n margin: 5em;\\n}\\na.registerU {\\n float: left;\\n font-weight: 300;\\n color: #212529;\\n font-size: 15px;\\n padding-top: 15px;\\n}\\na.registerU:hover {\\n text-decoration: underline;\\n}\\na.forgotP {\\n float: right;\\n font-weight: 300;\\n color: #212529;\\n font-size: 15px;\\n padding-top: 15px;\\n}\\na.forgotP:hover {\\n text-decoration: underline;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzI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W5nLXRvcDogMTVweDtcbn1cbmEuZm9yZ290UDpob3ZlciB7XG4gIHRleHQtZGVjb3JhdGlvbjogdW5kZXJsaW5lO1xufSJdfQ== */\"","import { Component, OnInit } from '@angular/core';\r\nimport { FormGroup, FormControl, FormBuilder, Validators, FormGroupDirective, NgForm } from '@angular/forms'\r\nimport { MatDialog, MatSnackBar } from '@angular/material';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { Router } from '@angular/router';\r\nimport { applicationconstant } from 'src/app/Models/DropdownItemsGroup/applicationconstant.model';\r\nimport { Observable } from 'rxjs';\r\nimport { TicketsAssginedSE } from 'src/app/Services/ServiceEngineer/TicketsAssignedSE.service';\r\n//import { CustomerService } from 'src/app/Services/customer.service';\r\n//import { ChangeMobile } from 'src/app/Models/ChangeMobile/changemobile.model';\r\n//import { LoginService } from 'src/app/Services/login.service';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';\r\nimport { Inject } from '@angular/core';\r\nimport { SETicketOTP } from 'src/app/Models/ServiceEngineer/SETicketOTP.model';\r\n\r\n@Component({\r\n selector: 'app-verifyincident',\r\n templateUrl: './verifyincident.component.html',\r\n styleUrls: ['./verifyincident.component.scss']\r\n})\r\nexport class VerifyincidentComponent implements OnInit {\r\n verifyIncidentForm: FormGroup;\r\n currentMobileNumber: number;\r\n redirectToDashboard: boolean;\r\n showverify: boolean = true;\r\n userMobile: number;\r\n userEmail: string;\r\n\r\n validationMessages = {\r\n 'currentmobileNo': {\r\n 'required': 'Mobile No. is required.',\r\n 'minlength': 'Mobile No. must be 10 digits.',\r\n 'maxlength': 'Mobile No. must be 10 digits.',\r\n 'pattern': 'Your Mobile number must contain only numbers.'\r\n },\r\n 'newmobileNo': {\r\n 'required': 'Mobile No. is required.',\r\n 'minlength': 'Mobile No. must be 10 digits.',\r\n 'maxlength': 'Mobile No. must be 10 digits.',\r\n 'pattern': 'Your Mobile number must contain only numbers.'\r\n },\r\n 'mobileOTP': {\r\n 'required': 'Mobile OTP is required.',\r\n 'maxlength': 'Mobile OTP cannot be more than 10 digits.',\r\n 'pattern': 'Your OTP must contain only numbers.'\r\n }\r\n };\r\n\r\n formErrors = {\r\n 'currentmobileNo': '',\r\n 'newmobileNo': '',\r\n 'mobileOTP': ''\r\n };\r\n constructor( private fb: FormBuilder, public snackBar: MatSnackBar,private EngineerService: TicketsAssginedSE,\r\n public dialogRef: MatDialogRef, @Inject(MAT_DIALOG_DATA) public ticketId: number ,private router: Router) \r\n { \r\n this.verifyIncidentForm = this.fb.group({\r\n mobileOTP: ['', [Validators.required, Validators.maxLength(10), Validators.pattern(\"^[0-9]*$\")]]\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n\r\n this.verifyIncidentForm = this.fb.group({\r\n mobileOTP: ['', [Validators.required, Validators.maxLength(10), Validators.pattern(\"^[0-9]*$\")]]\r\n });\r\n this.verifyIncidentForm.valueChanges.subscribe((data) => {\r\n this.logValidationErrors(this.verifyIncidentForm);\r\n });\r\n }\r\n\r\n ngOnDestroy() {\r\n // this.isMobileVerification = false;\r\n // this.isEmailVerification = false;\r\n }\r\n\r\n OnSubmit(): void {\r\n if (this.verifyIncidentForm.valid) {\r\n const details = this.verifyIncidentForm.value;\r\n var OtpDetails = new SETicketOTP();\r\n OtpDetails.TicketId = this.ticketId;\r\n OtpDetails.OTP = details.mobileOTP;\r\n this.EngineerService.VerifyOTPForEFSR(OtpDetails)\r\n .subscribe(\r\n data => {\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.openSnackBar(data.message, '');\r\n this.dialogRef.close(true);\r\n }\r\n else {\r\n this.openSnackBar(data.message, '');\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, '')\r\n );\r\n }\r\n else {\r\n this.ValidateAllFields(this.verifyIncidentForm);\r\n this.logValidationErrors(this.verifyIncidentForm);\r\n }\r\n }\r\n\r\n Skip(): void {\r\n this.dialogRef.close(false);\r\n }\r\n\r\n openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n\r\n logValidationErrors(group: FormGroup = this.verifyIncidentForm): void {\r\n Object.keys(group.controls).forEach((key: string) => {\r\n const abstractControl = group.get(key);\r\n if (abstractControl instanceof FormGroup) {\r\n this.logValidationErrors(abstractControl)\r\n } else {\r\n this.formErrors[key] = '';\r\n if (abstractControl && !abstractControl.valid && (abstractControl.touched || abstractControl.dirty)) {\r\n const messages = this.validationMessages[key];\r\n\r\n for (const errorKey in abstractControl.errors) {\r\n if (errorKey) {\r\n this.formErrors[key] += messages[errorKey] + '';\r\n }\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n ValidateAllFields(formGroup: FormGroup) {\r\n Object.keys(formGroup.controls).forEach(field => {\r\n const control = formGroup.get(field);\r\n if (control instanceof FormControl) {\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) {\r\n this.ValidateAllFields(control);\r\n }\r\n });\r\n }\r\n\r\n private handleError(error: any) {\r\n return Observable.throw(error);\r\n }\r\n\r\n ResetForm(): void {\r\n this.verifyIncidentForm.reset();\r\n this.verifyIncidentForm.clearValidators();\r\n for (let i in this.verifyIncidentForm.controls) {\r\n this.verifyIncidentForm.controls[i].setErrors(null);\r\n }\r\n } \r\n}\r\n","module.exports = \".hideChildren > div {\\n display: none;\\n}\\n\\n.mat-expansion-panel-header.mat-expanded,\\n.mat-expansion-panel-header.mat-expanded:hover {\\n background: lightblue;\\n}\\n\\n.mat-expansion-panel-header:not([aria-disabled=true]) {\\n cursor: pointer;\\n background: lightblue;\\n}\\n\\n.mat-slider {\\n display: -webkit-box;\\n position: relative;\\n box-sizing: border-box;\\n padding: 8px;\\n outline: 0;\\n vertical-align: middle;\\n /* width: 100px; */\\n}\\n\\n.tp-section {\\n display: -webkit-box;\\n display: flex;\\n flex-wrap: wrap;\\n -webkit-box-pack: left;\\n justify-content: left;\\n -webkit-box-orient: horizontal;\\n -webkit-box-direction: normal;\\n flex-flow: row;\\n}\\n\\n.tp-margin {\\n margin: 0 10px;\\n}\\n\\n.cb-vertival {\\n -webkit-box-orient: vertical;\\n -webkit-box-direction: normal;\\n flex-flow: column;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvQ29tcG9uZW50L0VGU1Ivdmlldy1lZnNyL0M6XFxVc2Vyc1xcQWpheTMuQ2hhdWhhblxcTXkgRGF0YVxcRmluYWxBamF5XFxSSU1BUFxcUklNQVBTeXN0ZW1XZWJcXENsaWVudEFwcC9zcmNcXGFwcFxcQ29tcG9uZW50XFxFRlNSXFx2aWV3LWVmc3JcXHZpZXctZWZzci5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvQ29tcG9uZW50L0VGU1Ivdmlldy1lZnNyL3ZpZXctZWZzci5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLGFBQUE7QUNDSjs7QURJSTs7RUFFRixxQkFBQTtBQ0RGOztBREdBO0VBQ0ksZUFBQTtFQUNBLHFCQUFBO0FDQUo7O0FERUE7RUFDSSxvQkFBQTtFQUNBLGtCQUFBO0VBQ0Esc0JBQUE7RUFDQSxZQUFBO0VBQ0EsVUFBQTtFQUNBLHNCQUFBO0VBQ0Esa0JBQUE7QUNDSjs7QURDQTtFQUNJLG9CQUFBO0VBQUEsYUFBQTtFQUlBLGVBQUE7RUFDRixzQkFBQTtVQUFBLHFCQUFBO0VBQ0EsOEJBQUE7RUFBQSw2QkFBQTtVQUFBLGNBQUE7QUNERjs7QURJQztFQUNHLGNBQUE7QUNESjs7QURHQztFQUNHLDRCQUFBO0VBQUEsNkJBQUE7VUFBQSxpQkFBQTtBQ0FKIiwiZmlsZSI6InNyYy9hcHAvQ29tcG9uZW50L0VGU1Ivdmlldy1lZnNyL3ZpZXctZWZzci5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5oaWRlQ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biAgICBtYXJnaW46IDAgMTBweDtcclxuIH1cclxuIC5jYi12ZXJ0aXZhbCB7XHJcbiAgICBmbGV4LWZsb3c6IGNvbHVtbjtcclxuICB9XHJcbiIsIi5oaWRlQ2hpbGRyZW4gPiBkaXYge1xuICBkaXNwbGF5OiBub25lO1xufVxuXG4ubWF0LWV4cGFuc2lvbi1wYW5lbC1oZWFkZXIubWF0LWV4cGFuZGVkLFxuLm1hdC1leHBhbnNpb24tcGFuZWwtaGVhZGVyLm1hdC1leHBhbmRlZDpob3ZlciB7XG4gIGJhY2tncm91bmQ6IGxpZ2h0Ymx1ZTtcbn1cblxuLm1hdC1leHBhbnNpb24tcGFuZWwtaGVhZGVyOm5vdChbYXJpYS1kaXNhYmxlZD10cnVlXSkge1xuICBjdXJzb3I6IHBvaW50ZXI7XG4gIGJhY2tncm91bmQ6IGxpZ2h0Ymx1ZTtcbn1cblxuLm1hdC1zbGlkZXIge1xuICBkaXNwbGF5OiAtd2Via2l0LWJveDtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xuICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICBwYWRkaW5nOiA4cHg7XG4gIG91dGxpbmU6IDA7XG4gIHZlcnRpY2FsLWFsaWduOiBtaWRkbGU7XG4gIC8qIHdpZHRoOiAxMDBweDsgKi9cbn1cblxuLnRwLXNlY3Rpb24ge1xuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4LXdyYXA6IHdyYXA7XG4gIGp1c3RpZnktY29udGVudDogbGVmdDtcbiAgZmxleC1mbG93OiByb3c7XG59XG5cbi50cC1tYXJnaW4ge1xuICBtYXJnaW46IDAgMTBweDtcbn1cblxuLmNiLXZlcnRpdmFsIHtcbiAgZmxleC1mbG93OiBjb2x1bW47XG59Il19 */\"","import { Component, OnInit, ViewChild,Input, ElementRef } from '@angular/core';\r\nimport { FormBuilder, FormControl, FormGroup, Validators, NgForm, Form, FormArray } from '@angular/forms';\r\nimport { MatDialog, MatSnackBar, MatDialogConfig } from '@angular/material';\r\nimport { Observable } from 'rxjs';\r\nimport { catchError } from 'rxjs/operators';\r\nimport { ConfigurationService } from 'src/app/Services/Utilities/configuration.service';\r\nimport { Constants } from 'src/app/Constants/constants';\r\nimport { efsrService } from 'src/app/Services/EFSR/efsrcreate.service';\r\nimport { efsrcreate, hpsmandsedetails,efsrDraft, CheckListSaveDto, patchefsrDraft, EFSRApproveReject } from 'src/app/Models/EFSR/efsrcreate.model';\r\nimport { Ivendor, Irokeypersonlist } from 'src/app/Models/common/vendor.model';\r\nimport { Iservicing } from 'src/app/Models/common/vendor.model';\r\nimport { Idevice } from 'src/app/Models/common/vendor.model';\r\n//import { CheckListSaveDto } from 'src/app/Models/common/vendor.model';\r\nimport { TicketsAssginedSE } from 'src/app/Services/ServiceEngineer/TicketsAssignedSE.service';\r\nimport { VendorSupervisorService } from 'src/app/Services/vendorsupervisor/vendorsupervisor.service';\r\nimport { applicationconstant } from 'src/app/Models/DropdownItemsGroup/applicationconstant.model';\r\nimport { ConfirmationDeleteComponent } from 'src/app/Component/EFSR/Confirmation/confirmation-delete/confirmation-delete.component';\r\nimport { ConfirmationDialogDeleteComponent } from '../confirmation-dialog-delete/confirmation-dialog-delete.component';\r\nimport { Router } from '@angular/router';\r\nimport { UserService } from 'src/app/Services/ServiceEngineer/SECreate.service';\r\n//import * as pdfMake from 'pdfmake/build/pdfmake';\r\n//import * as pdfFonts from 'pdfmake/build/vfs_fonts';\r\n//const pdf = pdfMake;\r\n//pdf.vfs = pdfFonts.pdfMake.vfs;\r\n//import 'rxjs/Rx' ;\r\nimport { SECreate } from 'src/app/Models/ServiceEngineer/SECreate.model';\r\n// import { createPdf } from 'pdfmake/build/pdfmake';\r\nimport { documentList } from 'src/app/Models/ServiceEngineer/documentList';\r\nimport { FileDownload } from 'src/app/Models/common/fileDownload.model';\r\nimport { Ticket } from 'src/app/Models/vendorsupervisor/ticket.model';\r\nimport { SearchRODTO } from 'src/app/Models/common/search.model';\r\nimport { Icity } from 'src/app/Models/common/city.model';\r\nimport { RemoveFile } from 'src/app/Models/common/removeFile.model';\r\nimport { efsrDoc } from 'src/app/Models/EFSR/efsr.model';\r\n//import{ SECreate} from 'src/app/Models/ServiceEngineer/SECreate.model';\r\n@Component({\r\n selector: 'app-view-efsr',\r\n templateUrl: './view-efsr.component.html',\r\n styleUrls: ['./view-efsr.component.scss']\r\n})\r\nexport class ViewEfsrComponent implements OnInit {\r\n //[x: string]: any;\r\n\r\n //public spare=[{name:\"Yes\"},{name:\"No\"}];\r\n public vendorList: Ivendor[];\r\n public serviceList: Iservicing[];\r\n public deviceList: Idevice[];\r\n public checklist: CheckListSaveDto[];\r\n public ratingcnt: number;\r\n//public remove:RemoveFile;\r\nefsrDoc: efsrDoc[]=[];\r\n // public imagePath;\r\n // imgURL: any;\r\n showRemark: boolean = false;\r\n showRatingRemark1:boolean = false;\r\n showQuantity: boolean = false;\r\n checklistSelected:number[];\r\n selected:number[];\r\n docId:number;\r\n createdBy:number;\r\n////sEEMAIL:string;\r\n viewEFSRForm: FormGroup;\r\n //public spareremark: boolean;\r\n showRating:boolean=false;\r\n public ratingremark: boolean;\r\n showRatingRemark:boolean=false;\r\n attachmentFileName:FormGroup;\r\n //public ratingcnt: number;\r\n //startdate : Date;\r\n incidentId : string\r\n roId : number\r\n roCity:string;\r\n //roCityList:Ticket[];\r\n //incident:Ticket[]=[];\r\n ticketId: number\r\n isEfsrExists: boolean =false;\r\n //seId:number = 0;\r\nApproveFlag:number;\r\n isDocumentSectionVisiable: boolean = false;\r\n isFormSectionVisible: boolean = true;\r\n efsrId: number = 0;\r\n public roKeyPersonName:string;\r\n isEditForm: boolean = true;\r\n requestFromSupervisor : boolean;\r\n requestFromRO : boolean;\r\n poorratingcomments:string;\r\n poorratingcommentsbyRO:string;\r\n validationMessages = {\r\n 'vendor': {\r\n 'required': 'Type Of Vendor is required'\r\n },\r\n 'rokeypersonmobile': {\r\n 'required': 'RO Key Person Mobile is required.',\r\n 'minlength': 'RO Key Person Mobile must be of 10 digits.',\r\n //'maxlength': 'Password can contain maximum 16 characters.',\r\n 'pattern': 'RO Key Person Mobile should contain numeric value.',\r\n //'notSame': 'Passwords do not match.',\r\n //'Same': 'Old Password and New Password Cannot be same.'\r\n },\r\n 'service': {\r\n 'required': 'Type Of Servicing is required.'\r\n },\r\n 'rokeyperson': {\r\n 'required': 'RO Key Person is required.'\r\n },\r\n 'device': {\r\n 'required': 'Type Of Device is required.'\r\n },\r\n 'checklistControl': {\r\n 'required': 'Check List is required.'\r\n },\r\n 'spare': {\r\n 'required': 'Spares Consumed is required.'\r\n },\r\n 'visitdate': {\r\n 'required': 'Visit Date is required.'\r\n },\r\n 'quantity': {\r\n 'required': 'Quantity is required.',\r\n 'pattern': 'Quantity is invalid.',\r\n },\r\n 'servicesummary': {\r\n 'required': 'Service Summary is required.'\r\n },\r\n 'remark': {\r\n 'required': 'Remark is required.'\r\n },\r\n 'ratingSlider': {\r\n 'required': 'Rating is required.'\r\n },\r\n 'poorratingcomments': {\r\n 'required': 'Please Provide Comment.'\r\n },\r\n 'poorratingcommentsbyRO': {\r\n 'required': 'Please Provide Comment.'\r\n },\r\n 'ratingSlider1': {\r\n 'required': 'Rating is required.'\r\n },\r\n };\r\n\r\n formErrors = {\r\n 'vendor': '',\r\n //'rokeypersonmobile': '',\r\n 'service': '',\r\n //'rokeyperson': '',\r\n 'device': '',\r\n 'checklistControl': '',\r\n 'spare': '',\r\n 'visitdate': '',\r\n 'quantity': '',\r\n 'servicesummary': '',\r\n 'remark': '',\r\n 'ratingSlider': '',\r\n 'ratingSlider1': '',\r\n 'poorratingcomments': '',\r\n 'poorratingcommentsbyRO': ''\r\n };\r\n //@ViewChild('View') content:ElementRef;\r\n\r\n constructor(private fb: FormBuilder,\r\n public snackBar: MatSnackBar,\r\n public dialog: MatDialog,\r\n private efsrservice: efsrService,\r\n private router: Router,\r\n private configurationService: ConfigurationService,private EngineerService: TicketsAssginedSE,private VendorService: VendorSupervisorService, private SEservice:UserService) \r\n { \r\n this.viewEFSRForm = this.fb.group({\r\n });\r\n \r\n this.viewEFSRForm = this.createFormGroupWithBuilderAndModel();\r\n // this.vendorDisabledMap = new Map();\r\n // this.serviceDisabledMap = new Map();\r\n // this.deviceDisabledMap=new Map();\r\n // this.checklistDisabledMap=new Map();\r\n // this.roketpersonlistDisabledMap=new Map();\r\n //this.spareremark = false;\r\n //this.seId=0;\r\n this.ratingremark=false;\r\n this.ratingcnt=0;\r\n\r\n }\r\n\r\n ngOnInit() {\r\n //this.isFormSectionVisible = this.efsrservice.getIsFormSectionVisibleFromROEfsr();\r\n //this.isEfsrExists = this.EngineerService.efsrExists;\r\n this.efsrId = this.EngineerService.getEFSRId();\r\n //const seDetails= new SECreate();\r\n //this.seId=Number(this.viewEFSRForm.get('sEId').value);\r\n // this.seId=this.efsrservice.getEFSRDetails(this.efsrId);\r\n this.ticketId = this.VendorService.getTicketId();\r\n this.incidentId = this.VendorService.getTicketInteractionId();\r\n this.requestFromSupervisor = this.VendorService.getRequestFromVendor();\r\n this.requestFromRO = this.VendorService.getRequestFromRO();\r\n \r\n this.roId = this.EngineerService.getROId();\r\n //this.roId = this.EngineerService.getROId();\r\n \r\n \r\n\r\n //this.startdate=new Date();\r\n //this.startdate.setDate(this.startdate.getDate() - 0);\r\n\r\n\r\n this.efsrservice.getTypeOfVendor()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.vendorList = data.results;\r\n this.efsrservice.getTypeOfService()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.serviceList = data.results;\r\n this.efsrservice.getTypeOfDevice()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.deviceList = data.results; \r\n this.efsrservice.getTypeOfChcekList()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.checklist = data.results; \r\n this.efsrservice.getEFSRDetails(this.efsrId)\r\n .subscribe(\r\n (data: any) => {\r\n if (data.flag === Constants.SUCCESS_FLAG) \r\n {\r\n if (data.results[0].checklist != null)\r\n {\r\n this.checklistSelected = [];\r\n data.results[0].checklist.forEach(check => {\r\n this.checklistSelected.push(Number(check));\r\n });\r\n }\r\n //this.selected = [11];\r\n this.setFormDraftValues(data.results);\r\n \r\n //data.results=this.PdfDownload(\"pdf\",\"\");\r\n } \r\n \r\n else \r\n {\r\n this.openSnackBar(data.message, '');\r\n this.resetForm();\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n });\r\n }); \r\n }); \r\n });\r\n\r\n // this.efsrservice.getROKeyPersonList()\r\n // .pipe(catchError((err) => this.handleError(err)))\r\n // .subscribe((data: any) => {\r\n // this.rokeyperson = data.results; \r\n // });\r\n this.viewEFSRForm.valueChanges.subscribe((data) => {\r\n this.logValidationErrors(this.viewEFSRForm);\r\n });\r\n\r\n \r\n \r\n }\r\n\r\n\r\n createFormGroupWithBuilderAndModel() {\r\n return this.fb.group({\r\n roname: new FormControl('', Validators.compose([\r\n ]),\r\n ),\r\n rocode: new FormControl('', Validators.compose([\r\n ]),\r\n ),\r\n rocity: new FormControl('', Validators.compose([\r\n ])),\r\n roaddress: new FormControl('', Validators.compose([\r\n ])),\r\n romobile: new FormControl('', Validators.compose([\r\n ])),\r\n rokeypersonmobile: new FormControl('', Validators.compose([\r\n ])),\r\n reference: new FormControl('', Validators.compose([\r\n ])),\r\n hpsmid: new FormControl('', Validators.compose([\r\n ])),\r\n callstatus: new FormControl('', Validators.compose([\r\n ])),\r\n slainhand: new FormControl('', Validators.compose([\r\n ])),\r\n visitdate: new FormControl('', Validators.compose([\r\n ])),\r\n vendor: new FormControl('', Validators.compose([\r\n ])),\r\n service: new FormControl('', Validators.compose([\r\n ])),\r\n rokeyperson: new FormControl('', Validators.compose([\r\n ])),\r\n device: new FormControl('', Validators.compose([\r\n ])),\r\n checklistControl: new FormControl('', Validators.compose([\r\n ])),\r\n spare: new FormControl('', Validators.compose([\r\n ])),\r\n remark: new FormControl('', Validators.compose([\r\n ])),\r\n servicesummary: new FormControl('', Validators.compose([\r\n ])),\r\n poorratingcomments: new FormControl('', Validators.compose([\r\n Validators.required \r\n ])),\r\n poorratingcommentsbyRO: new FormControl('', Validators.compose([\r\n Validators.required \r\n ])),\r\n quantity: new FormControl('', Validators.compose([\r\n ])),\r\n semobile: new FormControl('', Validators.compose([\r\n ])),\r\n\r\n sename: new FormControl('', Validators.compose([\r\n ])),\r\n // seemail: new FormControl('', Validators.compose([\r\n // ])),\r\n ratingSlider: new FormControl('', Validators.compose([\r\n Validators.required\r\n ])),\r\n ratingSlider1: new FormControl('', Validators.compose([\r\n Validators.required\r\n ])),\r\n commentsbyRO: new FormControl('',Validators.compose([\r\n\r\n ])),\r\n \r\n RejectFlag:new FormControl('',Validators.compose([\r\n\r\n ])), \r\n\r\n createdBy:new FormControl('',Validators.compose([\r\n\r\n ])), \r\n\r\n //sEId: new FormControl('', Validators.compose([\r\n // Validators.required\r\n //])),\r\n \r\n });\r\n }\r\n\r\n setFormDraftValues(details: patchefsrDraft) {\r\n const vendorDisplay = this.vendorList.find(ven => ven.id === Number(details[0].typeOfVendor));\r\n const serviceDisplay = this.serviceList.find(ven => ven.id === Number(details[0].typeOfServicing));\r\n const deviceDispaly = this.deviceList.find(ven => ven.id === Number(details[0].typeOfDevice));\r\n const visitDate = new Date(details[0].visitDate).toLocaleDateString();\r\n //const seId= details1[0].seId;\r\n //const sEEMAIL= details1[0].sEEMAIL;\r\n //const myFormattedDate = this.visitDate.transform(visitDate, 'short');\r\n this.viewEFSRForm.patchValue({\r\n roname: details[0].roName,\r\n rocode:details[0].roCode,\r\n rocity: details[0].roCity,\r\n roaddress: details[0].roAddress,\r\n romobile: details[0].roContactNo,\r\n rokeypersonmobile: details[0].roKeyPersonMobileNo,\r\n reference: details[0].reference,\r\n hpsmid: details[0].hpsmId,\r\n callstatus: details[0].callStatus,\r\n slainhand: details[0].slaInHand,\r\n //sEId: Number(details[0].seId),\r\n visitdate: visitDate,\r\n //vendor: Number(details[0].typeOfVendor),\r\n // array.find(i => i.id === 1);\r\n vendor: vendorDisplay.name,\r\n //service: Number(details[0].typeOfServicing),\r\n service: serviceDisplay.name,\r\n rokeyperson: details[0].roKeyPersonName,\r\n device: deviceDispaly.name,\r\n // checklistControl: this.checklistSelected,\r\n spare: details[0].sparesConsumedFlag == 1? \"Yes\" :\"No\",\r\n remark: details[0].remarkOfSparesConsumed,\r\n servicesummary: details[0].serviceSummary,\r\n poorratingcomments: details[0].ratingComments==null?\"NA\":details[0].ratingComments,\r\n poorratingcommentsbyRO: details[0].ratingCommentsByRO,\r\n quantity: details[0].quantity,\r\n semobile: details[0].semobile,\r\n sename: details[0].sename,\r\n //efsrstatus:details[0].callStatus,\r\n commentsbyRO:details[0].rejectReason,\r\n ApprovedFlag: details[0].approvedFlag,\r\n RejectFlag: details[0].rejectFlag==null?details[0].approvedFlag:details[0].rejectFlag,\r\n //seemail:details[0].seemail,\r\n ratingSlider: details[0].rating,\r\n createdBy:details[0].createdBy,\r\n ratingSlider1: details[0].ratingByRO,\r\n \r\n //reference: details[0].reference,\r\n //visitdate: details[0].visitDate,\r\n \r\n //checklist: this.selectedchecklist\r\n });\r\n const currentUser = JSON.parse(localStorage.getItem('currentUser'));\r\n if (currentUser.Role == \"VSROLE\")\r\n {\r\n \r\n //this.poorratingcomments = this.viewEFSRForm.get('poorratingcommentsbyRO').value ;\r\n //this.ratingcnt= this.viewEFSRForm.get('ratingSlider').value;\r\n this.showRatingRemark=true;\r\n const efsrDetails = Object.assign({}, this.viewEFSRForm.value);\r\n var draftEfsr = new patchefsrDraft();\r\n draftEfsr.rating= efsrDetails.ratingSlider;\r\n if(efsrDetails.ratingSlider==1){\r\n\r\n this.viewEFSRForm.controls['ratingSlider'].setValue(\"Very poor\");\r\n }\r\n\r\n else if(efsrDetails.ratingSlider ==2)\r\n {\r\n this.viewEFSRForm.controls['ratingSlider'].setValue(\"Poor\");\r\n }\r\n else if(efsrDetails.ratingSlider ==3)\r\n {\r\n this.viewEFSRForm.controls['ratingSlider'].setValue(\"Satisfactory\");\r\n }\r\n else if(efsrDetails.ratingSlider == 4)\r\n {\r\n this.viewEFSRForm.controls['ratingSlider'].setValue(\"Good\");\r\n }\r\n else if(efsrDetails.ratingSlider ==5)\r\n {\r\n this.viewEFSRForm.controls['ratingSlider'].setValue(\"Excellent\");\r\n }\r\n\r\n // return slidervalue;\r\n // }\r\n\r\n draftEfsr.ratingComments =efsrDetails.poorratingcomments;\r\n if(efsrDetails.poorratingcomments==null){\r\n\r\n this.viewEFSRForm.controls['poorratingcomments'].disable();\r\n }\r\n else{\r\n this.viewEFSRForm.controls['poorratingcomments'].enable();\r\n this.viewEFSRForm.controls[\"poorratingcomments\"].updateValueAndValidity();\r\n }\r\n \r\n //this.remarksFromVS=String(this.vendorservice.Remark);\r\n }\r\n\r\n else if(currentUser.Role==\"HOROLE\"){\r\n this.showRatingRemark1=true;\r\n const efsrDetails = Object.assign({}, this.viewEFSRForm.value);\r\n var draftEfsr = new patchefsrDraft();\r\n draftEfsr.rating= efsrDetails.ratingSlider;\r\n draftEfsr.ratingByRO=efsrDetails.ratingSlider1;\r\n\r\n if(efsrDetails.ratingSlider==1){\r\n\r\n this.viewEFSRForm.controls['ratingSlider'].setValue(\"Very poor\");\r\n //this.viewEFSRForm.controls['ratingSlider1'].setValue(\"Very poor\");\r\n }\r\n \r\n else if(efsrDetails.ratingSlider ==2)\r\n {\r\n this.viewEFSRForm.controls['ratingSlider'].setValue(\"Poor\");\r\n // this.viewEFSRForm.controls['ratingSlider1'].setValue(\"Poor\");\r\n }\r\n else if(efsrDetails.ratingSlider ==3)\r\n {\r\n this.viewEFSRForm.controls['ratingSlider'].setValue(\"Satisfactory\");\r\n //this.viewEFSRForm.controls['ratingSlider1'].setValue(\"Satisfactory\");\r\n }\r\n else if(efsrDetails.ratingSlider == 4)\r\n {\r\n this.viewEFSRForm.controls['ratingSlider'].setValue(\"Good\");\r\n //this.viewEFSRForm.controls['ratingSlider1'].setValue(\"Good\");\r\n }\r\n else if(efsrDetails.ratingSlider ==5)\r\n //this.viewEFSRForm.controls['ratingSlider1'].setValue(\"Very poor\");\r\n {\r\n this.viewEFSRForm.controls['ratingSlider'].setValue(\"Excellent\");\r\n //this.viewEFSRForm.controls['ratingSlider1'].setValue(\"Excellent\");\r\n }\r\n\r\n if(efsrDetails.ratingSlider1==1){\r\n\r\n //this.viewEFSRForm.controls['ratingSlider'].setValue(\"Very poor\");\r\n this.viewEFSRForm.controls['ratingSlider1'].setValue(\"Very poor\");\r\n }\r\n \r\n else if(efsrDetails.ratingSlider1 ==2)\r\n {\r\n //this.viewEFSRForm.controls['ratingSlider'].setValue(\"Poor\");\r\n this.viewEFSRForm.controls['ratingSlider1'].setValue(\"Poor\");\r\n }\r\n else if(efsrDetails.ratingSlider1 ==3)\r\n {\r\n //this.viewEFSRForm.controls['ratingSlider'].setValue(\"Satisfactory\");\r\n this.viewEFSRForm.controls['ratingSlider1'].setValue(\"Satisfactory\");\r\n }\r\n else if(efsrDetails.ratingSlider1 == 4)\r\n {\r\n //this.viewEFSRForm.controls['ratingSlider'].setValue(\"Good\");\r\n this.viewEFSRForm.controls['ratingSlider1'].setValue(\"Good\");\r\n }\r\n else if(efsrDetails.ratingSlider1 ==5)\r\n //this.viewEFSRForm.controls['ratingSlider1'].setValue(\"Very poor\");\r\n {\r\n //this.viewEFSRForm.controls['ratingSlider'].setValue(\"Excellent\");\r\n this.viewEFSRForm.controls['ratingSlider1'].setValue(\"Excellent\");\r\n }\r\n \r\n \r\n // return slidervalue;\r\n // }\r\n \r\n draftEfsr.ratingComments =efsrDetails.poorratingcomments;\r\n draftEfsr.ratingCommentsByRO= efsrDetails.poorratingcommentsbyRO;\r\n if(efsrDetails.poorratingcomments==null ){\r\n \r\n this.viewEFSRForm.controls['poorratingcomments'].disable();\r\n }\r\n else{\r\n this.viewEFSRForm.controls['poorratingcomments'].enable();\r\n this.viewEFSRForm.controls[\"poorratingcomments\"].updateValueAndValidity();\r\n }\r\n if(efsrDetails.poorratingcommentsbyRO==null ){\r\n \r\n this.viewEFSRForm.controls['poorratingcommentsbyRO'].disable();\r\n }\r\n else{\r\n this.viewEFSRForm.controls['poorratingcommentsbyRO'].enable();\r\n this.viewEFSRForm.controls[\"poorratingcommentsbyRO\"].updateValueAndValidity();\r\n }\r\n } \r\n\r\n \r\n\r\n this.viewEFSRForm.controls['checklistControl'].setValue(this.checklistSelected);\r\n this.createdBy=details[0].createdBy;\r\n this.viewEFSRForm.controls['createdBy'].setValue(this.createdBy);\r\nthis.roKeyPersonName= details[0].roKeyPersonName;\r\nthis.roCity=details[0].roCity;\r\nthis.viewEFSRForm.controls['rocity'].setValue(this.roCity);\r\nthis.viewEFSRForm.controls['rokeyperson'].setValue(this.roKeyPersonName);\r\nthis.ApproveFlag= this.viewEFSRForm.get('RejectFlag').value;\r\nif(details[0].rejectFlag==null){\r\n\r\n this.viewEFSRForm.controls['commentsbyRO'].setValue(details[0].rejectReason);\r\n}\r\n\r\nelse{\r\n\r\n this.viewEFSRForm.controls['commentsbyRO'].setValue(details[0].rejectReason);\r\n}\r\nthis.viewEFSRForm.controls['checklistControl'].setValue(this.checklistSelected);\r\n\r\n//this.seId = Number(details[0].seId);\r\n//this.viewEFSRForm.controls['seemail'].setValue(this.seemail);\r\n//this.viewEFSRForm.controls['sEId'].setValue(this.seId);\r\n if (details[0].sparesConsumedFlag == 1)\r\n {\r\n this.showQuantity = true;\r\n this.showRemark = true;\r\n }\r\n // if (details[0].rating != null || details[0].poorratingcomments!=null)\r\n // {\r\n //this.showRating = true;\r\n //this.showRatingRemark=true;\r\n //this.ratingremark= this.viewEFSRForm.get('poorratingcomments').value;\r\n //this.ratingcnt=this.viewEFSRForm.get('ratingSlider').value;\r\n // }\r\n \r\n // this.viewEFSRForm.get('ratingSlider').enable();\r\n // this.ratingcnt = details[0].rating;\r\n // this.viewEFSRForm.get('ratingSlider').disable();\r\n // if (details[0].checklist != null)\r\n // {\r\n // details[0].checklist.forEach(check => {\r\n // this.selectedchecklist.push(Number(check));\r\n // });\r\n // this.viewEFSRForm.controls['checklistControl'].setValue(this.selectedchecklist);\r\n // }\r\n //this.selectedchecklist = details[0].checklist;\r\n \r\n }\r\n\r\n onInputChange(value:number) {\r\n value=Number(this.ratingcnt);\r\n //rating1=String(this.ratingcnt);\r\n //this.ratingcnt=maxvalue;\r\n if(value<=2)\r\n {\r\n \r\n // this.formatLabel(slidervalue);\r\n // this.ticksData01=[];\r\n this.ratingremark=true;\r\n // this.createEFSRForm.controls['ratingSlider'].valid;\r\n // this.createEFSRForm.controls[\"ratingSlider\"].value.selected._multiple=false;\r\n this.viewEFSRForm.controls['poorratingcommentsbyRO'].setValidators([Validators.required]);\r\n this.viewEFSRForm.controls['poorratingcommentsbyRO'].enable();\r\n this.viewEFSRForm.controls[\"poorratingcommentsbyRO\"].updateValueAndValidity();\r\n }\r\n \r\n else {\r\n this.ratingremark=false;\r\n // this.createEFSRForm.controls['ratingSlider'].valid;\r\n // this.createEFSRForm.controls[\"ratingSlider\"].value.selected._multiple=false;\r\n this.viewEFSRForm.controls['poorratingcommentsbyRO'].clearValidators();\r\n this.viewEFSRForm.controls['poorratingcommentsbyRO'].reset();\r\n this.viewEFSRForm.controls['poorratingcommentsbyRO'].disable();\r\n }\r\n }\r\n\r\n onSubmit() {\r\n \r\n \r\n const dialogRef = this.dialog.open(ConfirmationDeleteComponent, {\r\n width: '500px',\r\n data: {efsrId : this.efsrId,ratingcnt:this.ratingcnt,ratingremark: this.ratingremark, roKeyPersonName: this.roKeyPersonName, incidentId:this.incidentId} //sEEMAIL:this.sEEMAIL}\r\n });\r\n dialogRef.afterClosed().subscribe(result => {\r\n if (result) {\r\n this.router.navigate(['RO/incidentsearch']);\r\n }\r\n \r\n });\r\n \r\n \r\n \r\n \r\n //const efsrDetails = this.viewEFSRForm.value;\r\n // var approveRejectEFSR = new EFSRApproveReject();\r\n //approveRejectEFSR.efsrId = this.efsrId;\r\n //approveRejectEFSR.ratingByRO = this.ratingcnt;\r\n //approveRejectEFSR.ratingCommentsByRO = efsrDetails.poorratingcomments;\r\n //approveRejectEFSR.rejectReason = null\r\n //approveRejectEFSR.approvedFlag =1;\r\n //approveRejectEFSR.rejectFlag = 0;\r\n\r\n //this.efsrservice.approveRejectefsr(approveRejectEFSR).subscribe((data: any) => {\r\n // if (data.flag === 'S') {\r\n //this.router.navigate(['RO/incidentsearch']);\r\n //this.openSnackBar(data.message, '');\r\n // } else {\r\n // this.openSnackBar(data.message, '');\r\n \r\n // }\r\n // },\r\n // (err: any) => {\r\n // this.openSnackBar(err.errormessage, '');\r\n \r\n // });\r\n // }\r\n\r\n \r\n}\r\n\r\n public PdfDownload(){\r\n\r\n this.efsrservice.setRequestFromROEfsr(true);\r\n this.isFormSectionVisible = true;\r\n this.isDocumentSectionVisiable=false;\r\n //const currentUser = JSON.parse(localStorage.getItem('currentUser'));\r\n this.efsrId= this.EngineerService.getEFSRId();\r\n //this.createdBy=currentUser.UserId;\r\n //this.createdBy=317;\r\n this.efsrservice.getEFSRAllReports(applicationconstant.EFSRForm, this.efsrId)\r\n .subscribe((data:any)=>{\r\n if (data.flag == \"S\") {\r\n data.results.forEach(x => { \r\n if(x.isSuccess==true){ \r\n this.efsrDoc.filter((val) => val.id == x.fileType)[0].docName = x.fileName;\r\n this.efsrDoc.filter((val) => val.id == x.fileType)[0].file = x.fileStream;\r\n this.efsrDoc.filter((val) => val.id == x.fileType)[0].docType = x.fileType;\r\n //this.efsrDoc.filter((val) => val.documentId == x.fileType)[0].isUploaded = true;\r\n this.efsrDoc.filter((val) => val.id == x.fileType)[0].docPath = x.filePath;\r\n }\r\n });\r\n }\r\n if (data.returnId == 0) {\r\n var removeFile = new RemoveFile();\r\n removeFile.docId = this.efsrId;\r\n removeFile.docType = data.results[0].docType;\r\n //this.isAlldocumentsUploaded = true;\r\n this.efsrservice.downloadEFSR(removeFile).subscribe(result => {\r\n if (window.navigator.msSaveOrOpenBlob) {\r\n window.navigator.msSaveOrOpenBlob(result);\r\n } else {\r\n var url = window.URL.createObjectURL(result);\r\n \r\n let link = document.createElement('a');\r\n link.setAttribute('type', 'hidden');\r\n link.href = url;\r\n link.download = data.results[0].docName;\r\n document.body.appendChild(link);\r\n link.click();\r\n link.remove();\r\n }\r\n this.openSnackBar('Downloading EFSR...','');\r\n //this.router.navigate['/incidentsearch'];\r\n }\r\n );\r\n }\r\n else {\r\n this.openSnackBar('No Document Found','');\r\n }\r\n })\r\n }\r\n \r\n//this.efsrDoc= data.results;\r\n\r\n\r\n //this.efsrservice.downloadDoc(this.remove);\r\n\r\n //this.VehicleId = this.vehicleService.getVehicleId();\r\n \r\n \r\n// this.efsrservice.getEFSRDetailsForReport(this.efsrId)\r\n// .subscribe((data1) => {\r\n// this.docId= data1.docId;\r\n// this.attachmentFileName=data1;\r\n// });\r\n\r\n// var efsr = new FileDownload();\r\n \r\n \r\n// efsr.trackingId=this.efsrId;\r\n// efsr.fileGroupName = fileGroupName;\r\n// efsr.docId = 561;\r\n// efsr.fileName=\"561_EFSR_REPORT.pdf\";\r\n// efsr.fileType=fileType;\r\n// var efsrDetails= new patchefsrDraft();\r\n// efsrDetails.efsrId=this.efsrId;\r\n// this.efsrservice.getSEAllDocs(fileGroupName,561,this.efsrId).subscribe(result => {\r\n// if (window.navigator.msSaveOrOpenBlob) {\r\n// window.navigator.msSaveOrOpenBlob(result, efsr.fileName);\r\n// } else {\r\n// var url = window.URL.createObjectURL(result);\r\n \r\n// let link = document.createElement('a');\r\n// link.setAttribute('type', 'hidden');\r\n// link.href = url;\r\n// link.download = efsr.fileName;\r\n// document.body.appendChild(link);\r\n// link.click();\r\n// link.remove();\r\n// }\r\n// //this.resetform();\r\n// }); \r\n \r\n\r\n \r\n// }\r\n\r\n // const efsr = new FileDownload();\r\n // efsr.filePath=\r\n // efsr.fileName=this.attachmentFileName;\r\n // efsr.fileType=this.attachmentFileName.split('.').pop();\r\n \r\n\r\n//let fileName = this.attachmentFileName;\r\n\r\n //file type extension\r\n\r\n// let checkFileType = efsr.fileType;\r\n\r\n// var fileType;\r\n\r\n// // //if(checkFileType == \".txt\")\r\n\r\n// // {\r\n\r\n// // fileType = \"text/plain\";\r\n\r\n// // }\r\n\r\n// if(checkFileType == \".pdf\")\r\n\r\n// {\r\n\r\n// fileType = \"application/pdf\";\r\n\r\n// }\r\n\r\n// // if(checkFileType == \".doc\")\r\n\r\n// // {\r\n\r\n// // fileType = \"application/vnd.ms-word\";\r\n\r\n// // }\r\n\r\n// // if(checkFileType == \".docx\")\r\n\r\n// // {\r\n\r\n// // fileType = \"application/vnd.ms-word\";\r\n\r\n// // }\r\n\r\n// // if(checkFileType == \".xls\")\r\n\r\n// // {\r\n\r\n// // fileType = \"application/vnd.ms-excel\";\r\n\r\n// // }\r\n\r\n// // if(checkFileType == \".png\")\r\n\r\n// // {\r\n\r\n// // fileType = \"image/png\";\r\n\r\n// // }\r\n\r\n// // if(checkFileType == \".jpg\")\r\n\r\n// // {\r\n\r\n// // fileType = \"image/jpeg\";\r\n\r\n// // }\r\n\r\n// // if(checkFileType == \".jpeg\")\r\n\r\n// // {\r\n\r\n// // fileType = \"image/jpeg\";\r\n\r\n// // }\r\n\r\n// // if(checkFileType == \".gif\")\r\n\r\n// // {\r\n\r\n// // fileType = \"image/gif\";\r\n\r\n// // }\r\n\r\n// // if(checkFileType == \".csv\")\r\n\r\n// // {\r\n\r\n// // fileType = \"text/csv\";\r\n\r\n// // }\r\n\r\n// this.efsrservice.downloadFile(efsr)\r\n\r\n// .subscribe(\r\n\r\n// success => {\r\n\r\n// saveAs(success, efsr.fileName); \r\n\r\n// },\r\n\r\n// err => {\r\n\r\n// alert(\"Server error while downloading file.\");\r\n\r\n// }\r\n\r\n// );\r\n\r\n// }\r\n\r\n hasToBeChecked(op: CheckListSaveDto): boolean {\r\n return this.checklist.indexOf(op) > -1;\r\n}\r\n\r\n openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n private handleError(error: any) {\r\n return Observable.throw(error);\r\n }\r\n\r\n logValidationErrors(group: FormGroup = this.viewEFSRForm): void {\r\n Object.keys(group.controls).forEach((key: string) => {\r\n const abstractControl = group.get(key);\r\n if (abstractControl instanceof FormGroup) {\r\n this.logValidationErrors(abstractControl)\r\n } else {\r\n this.formErrors[key] = '';\r\n if (abstractControl && !abstractControl.valid && (abstractControl.touched || abstractControl.dirty)) {\r\n const messages = this.validationMessages[key];\r\n\r\n for (const errorKey in abstractControl.errors) {\r\n if (errorKey) {\r\n this.formErrors[key] += messages[errorKey] + '';\r\n }\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n ValidateAllFields(formGroup: FormGroup) {\r\n Object.keys(formGroup.controls).forEach(field => {\r\n const control = formGroup.get(field);\r\n if (control instanceof FormControl) {\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) {\r\n this.ValidateAllFields(control);\r\n }\r\n });\r\n }\r\n\r\n public back() {\r\n if(this.requestFromSupervisor)\r\n {\r\n this.VendorService.setRequestFromVendor(false);\r\n this.router.navigate(['supervisor/ticketsearch']);\r\n }\r\n else if(this.requestFromRO==true)\r\n {\r\n this.VendorService.setRequestFromRO(false);\r\n this.router.navigate(['RO/incidentsearch']);\r\n }\r\n else{\r\n //this.vendorservice.setRequestFromVendor(false);\r\n this.router.navigate(['serviceengineer/incidentsearch']);\r\n }\r\n\r\n\r\n }\r\n backToList()\r\n {\r\n this.isFormSectionVisible = true;\r\n this.isDocumentSectionVisiable = false;\r\n }\r\n resetForm() {\r\n this.viewEFSRForm.reset();\r\n for (const i in this.viewEFSRForm.controls) {\r\n if (this.viewEFSRForm.controls[i]) {\r\n this.viewEFSRForm.controls[i].setErrors(null);\r\n }\r\n }\r\n // this.spareremark = false;\r\n // this.ratingremark=false;\r\n // this.ratingcnt=0;\r\n }\r\n\r\n \r\n\r\n ViewDocument() {\r\n this.efsrservice.setRequestFromROEfsr(true);\r\n this.isFormSectionVisible = false;\r\n //this.VehicleId = this.vehicleService.getVehicleId();\r\n this.isDocumentSectionVisiable = true;\r\n }\r\n RejectEFSR() {\r\n\r\n\r\n const dialogRef = this.dialog.open(ConfirmationDialogDeleteComponent, {\r\n width: '350px',\r\n data:{ efsrId:this.efsrId, roKeyPersonName: this.roKeyPersonName, incidentId:this.incidentId}\r\n });\r\n dialogRef.afterClosed().subscribe(result => {\r\n if (result) {\r\n this.router.navigate(['RO/incidentsearch']);\r\n }\r\n });\r\n \r\n }\r\n ngOnDestroy() {\r\n this.requestFromSupervisor = false;\r\n }\r\n}\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9TZXJ2aWNlRW5naW5lZXIvSW5jaWRlbnRIaXN0b3J5L2luY2lkZW50aGlzdG9yeS9pbmNpZGVudGhpc3RvcnkuY29tcG9uZW50LnNjc3MifQ== */\"","import { Component, OnInit } from '@angular/core';\r\nimport { FormGroup, FormControl, FormBuilder, Validators, FormGroupDirective, NgForm } from '@angular/forms'\r\nimport { MatDialog, MatSnackBar } from '@angular/material';\r\nimport { Router } from '@angular/router';\r\nimport { applicationconstant } from 'src/app/Models/DropdownItemsGroup/applicationconstant.model';\r\nimport { Ticket } from 'src/app/Models/vendorsupervisor/ticket.model';\r\nimport { DropdownItems } from 'src/app/Models/DropdownItemsGroup/dropdownitems.model';\r\nimport { DropdownItemsGroup } from 'src/app/Models/DropdownItemsGroup/dropdownitemsgroup.model';\r\nimport { VendorSupervisorService } from 'src/app/Services/vendorsupervisor/vendorsupervisor.service';\r\nimport { TicketsAssginedSE } from 'src/app/Services/ServiceEngineer/TicketsAssignedSE.service';\r\nimport { Incident } from 'src/app/Models/vendorsupervisor/incident.model';\r\n\r\n@Component({\r\n selector: 'app-incidenthistory',\r\n templateUrl: './incidenthistory.component.html',\r\n styleUrls: ['./incidenthistory.component.scss']\r\n})\r\nexport class IncidenthistoryComponent implements OnInit {\r\n \r\n IncidenHistoryForm: FormGroup;\r\n ticketList: Incident[];\r\n searched = false;\r\n ticketSearchType: DropdownItems[];\r\n ticketValues:string;\r\n closedTicketStatus: string;\r\n openTicketStatus: string;\r\n onholdTicketStatus: string;\r\n inprogressTicketStatus: string;\r\n searchTermStatus: string;\r\n ticketId : number;\r\n incidentIdToken : any;\r\n requestFromSupervisor : boolean;\r\n documetListValidation: boolean = false;\r\n documentFileValidation: boolean = false;\r\n\r\n validationMessages = {\r\n 'searchType': {\r\n 'required': 'Search type is required'\r\n },\r\n 'searchTerm': {\r\n 'required': 'Search Term is required'\r\n },\r\n };\r\n formErrors = {\r\n 'searchType': '',\r\n 'searchTerm': ''\r\n };\r\n\r\n\r\n constructor(private fb: FormBuilder, public snackBar: MatSnackBar, \r\n private router: Router,\r\n private vendorservice: VendorSupervisorService,\r\n private TicketAssService:\r\n TicketsAssginedSE,private dialog:MatDialog)\r\n {\r\n this.getStatusList();\r\n \r\n\r\n this.IncidenHistoryForm = this.fb.group({\r\n searchType: new FormControl(null, Validators.required),\r\n searchTerm: new FormControl(null, Validators.required),\r\n });\r\n }\r\n public getStatusList() {\r\n \r\n this.closedTicketStatus = applicationconstant.Ticket_Search_Closed;\r\n this.openTicketStatus = applicationconstant.Ticket_Search_Open;\r\n this.onholdTicketStatus = applicationconstant.Ticket_Search_OnHold;\r\n this.inprogressTicketStatus = applicationconstant.Ticket_Search_InProgress;\r\n\r\n }\r\n public backToList()\r\n {\r\n if(this.requestFromSupervisor)\r\n {\r\n this.router.navigate(['supervisor/ticketsearch']);\r\n }\r\n else{\r\n this.router.navigate(['serviceengineer/incidentsearch']);\r\n }\r\n \r\n }\r\n\r\n ngOnDestroy() {\r\n this.requestFromSupervisor = false;\r\n }\r\n ngOnInit() {\r\n this.ticketId = this.vendorservice.getTicketId();\r\n this.requestFromSupervisor = this.vendorservice.getRequestFromVendor();\r\n if (this.ticketId != null || this.ticketId != undefined)\r\n {\r\n this.incidentIdToken = this.ticketId;\r\n }\r\n if (localStorage.getItem('incidentIdToken') == null ||localStorage.getItem('incidentIdToken') == undefined) \r\n {\r\n localStorage.setItem('incidentIdToken', this.incidentIdToken);\r\n }\r\n if (this.ticketId == undefined)\r\n {\r\n this.ticketId = Number(localStorage.getItem('incidentIdToken'));\r\n }\r\n \r\n\r\n this.getTicketList(this.ticketId);\r\n \r\n }\r\n \r\n preview(documentType: string, documentName: string) {\r\n this.vendorservice.downloadDoc(this.ticketId, documentType).subscribe(result => {\r\n if (window.navigator.msSaveOrOpenBlob) {\r\n window.navigator.msSaveOrOpenBlob(result, documentName);\r\n } else {\r\n var url = window.URL.createObjectURL(result);\r\n\r\n let link = document.createElement('a');\r\n link.setAttribute('type', 'hidden');\r\n link.href = url;\r\n link.download = documentName;\r\n document.body.appendChild(link);\r\n link.click();\r\n link.remove();\r\n }\r\n this.resetform();\r\n } \r\n );\r\n }\r\n\r\n resetform(){\r\n this.IncidenHistoryForm.get('documentfile').reset();\r\n this.IncidenHistoryForm.get('documetList').patchValue('0');\r\n this.documentFileValidation=false;\r\n this.documetListValidation=false;\r\n }\r\n ValidateAllFields(formGroup: FormGroup) {\r\n Object.keys(formGroup.controls).forEach(field => {\r\n const control = formGroup.get(field);\r\n if (control instanceof FormControl) {\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) {\r\n this.ValidateAllFields(control);\r\n }\r\n });\r\n }\r\n\r\n \r\n logValidationErrors(group: FormGroup = this.IncidenHistoryForm): void {\r\n Object.keys(group.controls).forEach((key: string) => {\r\n const abstractControl = group.get(key);\r\n if (abstractControl instanceof FormGroup) {\r\n this.logValidationErrors(abstractControl)\r\n } else {\r\n this.formErrors[key] = '';\r\n if (abstractControl && !abstractControl.valid && (abstractControl.touched || abstractControl.dirty)) {\r\n const messages = this.validationMessages[key];\r\n\r\n for (const errorKey in abstractControl.errors) {\r\n if (errorKey) {\r\n this.formErrors[key] += messages[errorKey] + '';\r\n }\r\n }\r\n }\r\n }\r\n });\r\n }\r\n onSearchTicket() {\r\n if (this.IncidenHistoryForm.valid) {\r\n const searchFormData: any = Object.assign({}, this.IncidenHistoryForm.value);\r\n const searchType = searchFormData.searchType;\r\n const searchTerm = searchFormData.searchTerm;\r\n if (searchType == applicationconstant.Ticket_Search_Status && searchTerm.trim().toUpperCase() == applicationconstant.Ticket_Search_Open.toUpperCase()) {\r\n\r\n this.searchTermStatus = this.openTicketStatus;\r\n }\r\n if (searchType == applicationconstant.Ticket_Search_Status && searchTerm.replace(/\\s/g, \"\").toUpperCase() == applicationconstant.Ticket_Search_Closed.toUpperCase()) {\r\n\r\n this.searchTermStatus = this.closedTicketStatus;\r\n }\r\n if (searchType == applicationconstant.Ticket_Search_Status && searchTerm.replace(/\\s/g, \"\").toUpperCase() == applicationconstant.Ticket_Search_OnHold.toUpperCase()) {\r\n\r\n this.searchTermStatus = this.onholdTicketStatus;\r\n }\r\n if (searchType == applicationconstant.Ticket_Search_Status && searchTerm.replace(/\\s/g, \"\").toUpperCase() == applicationconstant.Ticket_Search_InProgress.toUpperCase()) {\r\n\r\n this.searchTermStatus = this.inprogressTicketStatus;\r\n }\r\n // if (searchType == applicationconstant.Ticket_Search_Status && (\r\n // searchTerm.trim().toUpperCase() == applicationconstant.Ticket_Search_Open.toUpperCase() ||\r\n // searchTerm.trim().toUpperCase() == applicationconstant.Ticket_Search_Closed.toUpperCase() ||\r\n // searchTerm.replace(/\\s/g, \"\").toUpperCase() == applicationconstant.Ticket_Search_OnHold.toUpperCase() ||\r\n // searchTerm.replace(/\\s/g, \"\").toUpperCase() == applicationconstant.Ticket_Search_InProgress.toUpperCase()\r\n // )) {\r\n // // this.getTicketList(searchType, this.searchTermStatus.toLocaleString());\r\n // }\r\n // else {\r\n // // this.getTicketList(searchType, searchTerm);\r\n // }\r\n }\r\n else {\r\n this.ValidateAllFields(this.IncidenHistoryForm);\r\n this.logValidationErrors(this.IncidenHistoryForm);\r\n }\r\n \r\n }\r\n \r\n public getTicketList(IncidentID: number) {\r\n this.TicketAssService.gethistoryticket(IncidentID)\r\n .subscribe((data) => {\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.ticketList = data.results;\r\n }\r\n else {\r\n this.openSnackBar(data.message, '');\r\n this.ticketList = [];\r\n }\r\n }),\r\n (err: any) => {\r\n this.openSnackBar(err.error.message, 'error');\r\n }\r\n }\r\n\r\n\r\n openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n}\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9TZXJ2aWNlRW5naW5lZXIvU0UtQ3JlYXRlL3NlLWNyZWF0ZS5jb21wb25lbnQuc2NzcyJ9 */\"","import { Component, OnInit,ChangeDetectorRef, ViewChild } from '@angular/core';\r\nimport { FormGroup, FormControl, Validators, FormBuilder, ValidatorFn, AbstractControl } from '@angular/forms';\r\nimport { MatDialog, MatSnackBar } from '@angular/material';\r\nimport { UserService } from 'src/app/Services/ServiceEngineer/SECreate.service';\r\nimport { SECreate } from 'src/app/Models/ServiceEngineer/SECreate.model';\r\nimport { Observable } from 'rxjs';\r\nimport { catchError } from 'rxjs/operators';\r\nimport { UniqueUsernameValidator } from 'src/app/shared/unique-username-validator.directive';\r\nimport { ConfigurationService } from 'src/app/Services/Utilities/configuration.service';\r\nimport { Constants } from 'src/app/Constants/constants';\r\nimport { IState } from 'src/app/Models/common/state.model';\r\nimport { Icity } from 'src/app/Models/common/city.model';\r\nimport { VSSCreateService } from 'src/app/Services/vendorsupervisor/VSSCreate.service';\r\nimport { applicationconstant } from 'src/app/Models/DropdownItemsGroup/applicationconstant.model';\r\nimport { VendorService } from 'src/app/Services/master/vendor.service';\r\n\r\n@Component({\r\n selector: 'app-se-create',\r\n templateUrl: './se-create.component.html',\r\n styleUrls: ['./se-create.component.scss']\r\n})\r\nexport class SECreateComponent implements OnInit {\r\n\r\n /**\r\n * Create User From Group\r\n *\r\n * @type {FormGroup}\r\n * @memberof SECreateComponent\r\n */\r\n \r\n\r\n /**\r\n * submitted variable to track if the form values\r\n * are being submitted\r\n *\r\n * @memberof SECreateComponent\r\n */\r\n public submitted: boolean;\r\n\r\n /**\r\n * Collection of user types to be filled in dropdown\r\n *\r\n * @type {IUserType[]}\r\n * @memberof SECreateComponent\r\n */\r\n // public userTypes: IUserType[];\r\n // public referenceTypes: IUserType[];\r\n public selectedReference: string;\r\n isUserTypeSelected:boolean=false;\r\n channelPartners = []; // TODO\r\n \r\n\r\n /**\r\n * Collection of roles to be filled in roles dropdown\r\n *\r\n * @type {IRole[]}\r\n * @memberof SECreateComponent\r\n */\r\n public state: IState[];\r\n public city: Icity[];\r\n\r\n public mobileExists: boolean;\r\n public emailExists: boolean;\r\n public userExists: boolean;\r\n // public addressExists: boolean;\r\n public pincodeExists: boolean;\r\n isDocumentSectionVisiable: boolean = false;\r\n isFormSectionVisible: boolean = true;\r\n seId: number = 0;\r\n isEditForm: boolean = false;\r\n\r\n startdate : Date;\r\n username:string;\r\n /**\r\n * it will help reset both the form data and submit status\r\n * https://stackoverflow.com/questions/49788215/angular-material-reseting-reactiveform-shows-validation-error\r\n * \r\n * @memberof SECreateComponent\r\n */\r\n @ViewChild('form', {static: false}) form;\r\n @ViewChild('referenceid', {static: false}) referenceElement: any;\r\n\r\n userTypesDisabledMap: Map;\r\n stateDisabledMap: Map;\r\n cityDisabledMap: Map;\r\n\r\n omit_special_char(event)\r\n{ \r\n var k; \r\n k = event.keyCode; // k = event.keyCode; (Both can be used)\r\n return((k > 64 && k < 91) || (k > 96 && k < 123) || k == 8 || k == 32 || (k >= 48 && k <= 57)||(k >= 96 && k <= 105)); \r\n \r\n}\r\n\r\n /**\r\n * Validation messages for user creation form\r\n *\r\n * @memberof SECreateComponent\r\n */\r\n public account_validation_messages = {\r\n 'username': [\r\n { type: 'required', message: 'UserID is required' },\r\n { type: 'minlength', message: 'UserID must be of 4 digits' },\r\n // { type: 'pattern', message: 'UserID must contain only numbers' }\r\n ],\r\n 'firstname': [\r\n { type: 'required', message: 'First name is required' },\r\n { type: 'maxlength', message: 'First name cannot be more than 250 characters long' },\r\n { type: 'pattern', message: 'Your first name must contain only alphabets' }\r\n ],\r\n 'middlename': [\r\n //{ type: 'required', message: 'Middle name is required' },\r\n { type: 'maxlength', message: 'Middle name cannot be more than 250 characters long' },\r\n { type: 'pattern', message: 'Your first name must contain only alphabets' }\r\n ],\r\n 'lastname': [\r\n { type: 'required', message: 'Last name is required' },\r\n { type: 'maxlength', message: 'Last name cannot be more than 250 characters long' },\r\n { type: 'pattern', message: 'Your last name must contain only alphabets' }\r\n ],\r\n 'mobile': [\r\n { type: 'required', message: 'Mobile is required' },\r\n { type: 'minlength', message: 'Mobile must be of 10 digits' },\r\n { type: 'pattern', message: 'Mobile is invalid' }\r\n ],\r\n 'email': [\r\n { type: 'required', message: 'Email is required' },\r\n { type: 'maxlength', message: 'Email cannot be more than 100 characters long' },\r\n { type: 'pattern', message: 'Email is invalid' }\r\n ],\r\n // 'usertype': [\r\n // { type: 'required', message: 'User type is required' }\r\n // ],\r\n 'channelPartner': [\r\n { type: 'required', message: 'Channel Partner is required' }\r\n ],\r\n // 'role': [\r\n // { type: 'required', message: 'Role is required' }\r\n // ],\r\n 'reference': [\r\n { type:'required',message:'Please select reference value'}\r\n ],\r\n 'DOB': {\r\n 'required': 'DOB is required.',\r\n 'matDatepickerMin': 'DOB should be past date.'\r\n }, \r\n // 'address': [\r\n // { type: 'required', message: 'address is required' },\r\n // { type: 'maxlength', message: 'address cannot be more than 250 characters long' },\r\n // { type: 'pattern', message: 'Your address must contain only numbers and alphabets' }\r\n // ],\r\n 'state': [\r\n { type: 'required', message: 'state is required' },\r\n //{ type: 'maxlength', message: 'state cannot be more than 250 characters long' },\r\n //{ type: 'pattern', message: 'Your state must contain only numbers and alphabets' }\r\n ],\r\n city: [\r\n { type: 'required', message: 'city is required' },\r\n //{ type: 'maxlength', message: 'city cannot be more than 250 characters long' },\r\n //{ type: 'pattern', message: 'Your city must contain only numbers and alphabets' }\r\n ],\r\n 'pincode': [\r\n { type: 'required', message: 'pincode is required' },\r\n { type: 'minlength', message: 'pincode must be of 6 digits' },\r\n { type: 'pattern', message: 'pincode is invalid' }\r\n ]\r\n };\r\n\r\n /**\r\n * Creates an instance of UserCreateComponent.\r\n * @param {UserService} userService\r\n * @param {FormBuilder} fb\r\n * @param {MatSnackBar} snackBar\r\n * @memberof SECreateComponent\r\n */\r\n constructor(private SEService: UserService,\r\n private fb: FormBuilder,\r\n public snackBar: MatSnackBar,\r\n private VSSService: VSSCreateService,\r\n private configurationService: ConfigurationService,\r\n private SEVService: VendorService,\r\n private cdr:ChangeDetectorRef) {\r\n this.createForm();\r\n\r\n this.submitted = false;\r\n\r\n this.mobileExists = false;\r\n this.emailExists = false;\r\n //this.addressExists = false;\r\n this.pincodeExists = false;\r\n this.userExists = false;\r\n\r\n // this.userTypesDisabledMap = new Map();\r\n this.stateDisabledMap = new Map();\r\n this.cityDisabledMap = new Map();\r\n }\r\n\r\n createForm() {\r\n this.createUserForm = this.fb.group({\r\n username: new FormControl('', Validators.compose([\r\n Validators.required,\r\n // Validators.minLength(4),\r\n // Validators.pattern('^[0-9]{1,4}(\\.[0-9][0-9])?$')\r\n \r\n ]),\r\n //UniqueUsernameValidator(this.SEService) // async validator\r\n ),\r\n firstName: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(250),\r\n Validators.pattern('^[A-Za-z]+(?:[A-Za-z]+)*$') \r\n ])),\r\n middleName: new FormControl('', Validators.compose([\r\n //Validators.required,\r\n Validators.maxLength(250),\r\n Validators.pattern('^[A-Za-z]+(?:[A-Za-z]+)*$') \r\n ])),\r\n lastName: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(250),\r\n Validators.pattern('^[A-Za-z]+(?:[A-Za-z]+)*$') \r\n ])),\r\n mobile: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.minLength(10),\r\n Validators.pattern('^[6-9][0-9]{9}$')\r\n ])),\r\n pincode: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.minLength(6),\r\n Validators.pattern('^[1-9][0-9]{5}$')\r\n ])),\r\n email: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(100),\r\n Validators.pattern('^([a-zA-Z0-9_\\.\\-])+\\@(([a-zA-Z0-9\\-])+\\.)+([a-zA-Z0-9]{2,4})+$')\r\n ])),\r\n // address: new FormControl('', Validators.compose([\r\n // Validators.required,\r\n // Validators.maxLength(250),\r\n // Validators.pattern('^[A-Za-z0-9]+(?:[A-Za-z0-9]+)*$')\r\n // ])),\r\n state: new FormControl('', Validators.compose([\r\n Validators.required,\r\n // Validators.maxLength(250),\r\n // Validators.pattern('^[A-Za-z0-9]+(?:[A-Za-z0-9]+)*$')\r\n ])),\r\n city: new FormControl('', Validators.compose([\r\n Validators.required,\r\n // Validators.maxLength(250),\r\n // Validators.pattern('^[A-Za-z0-9]+(?:[A-Za-z0-9]+)*$')\r\n ])),\r\n DOB: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(250),\r\n // Validators.pattern('^[A-Za-z0-9]+(?:[A-Za-z0-9]+)*$')\r\n ])),\r\n channelPartner: new FormControl(null),\r\n });\r\n }\r\n /**\r\n * Initializes the component and subscribes to the dropdown services\r\n * for usertypes and roles\r\n *\r\n * @memberof SECreateComponent\r\n */ \r\n public createUserForm: FormGroup;\r\n ngOnInit() {\r\n \r\n // this.userService.getUserTypes()\r\n // .pipe(catchError((err) => this.handleError(err)))\r\n // .subscribe((response: any) => {\r\n // this.userTypes = response.results;\r\n // });\r\n \r\nthis.startdate=new Date();\r\n this.startdate.setDate(this.startdate.getDate() - 7665);\r\n // this.SEService.getStates()\r\n // .pipe(catchError((err) => this.handleError(err)))\r\n // .subscribe((data: any) => {\r\n // this.state = data.results; \r\n // });\r\n this.VSSService.getVSSStates()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.state = data.results; \r\n });\r\n var NewSEID = this.SEService.getUniqueUserName()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n NewSEID = data; \r\n this.username = String(NewSEID); \r\n this.createUserForm.get('username').setValue(NewSEID); \r\n });\r\n \r\n //\r\n }\r\nFillCityDD(Slectedstate:any)\r\n{\r\n const currentUser = JSON.parse(localStorage.getItem('currentUser'));\r\n const loginUserId = currentUser.Username;\r\n var strfourthChar = loginUserId.substring(4,3);\r\n if (!isNaN(Number(strfourthChar)))\r\n {\r\n this.SEService.getCity(Slectedstate.name)\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.city = data.results; \r\n });\r\n }\r\n else\r\n {\r\n this.VSSService.getVSSCities()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.city = data.results; \r\n });\r\n }\r\n}\r\n\r\n /**\r\n * Build user creation form using form builder\r\n *\r\n * @memberof SECreateComponent\r\n */\r\n \r\n\r\n onSubmit(form: any) {\r\n this.submitted = true;\r\n\r\n if(this.mobileExists || this.emailExists)\r\n {\r\n this.submitted=false;\r\n return;\r\n }\r\n\r\n // stop here if form is invalid\r\n if (!this.createUserForm.valid) {\r\n this.submitted=false;\r\n return;\r\n }\r\n\r\n const userDetails = Object.assign({}, this.createUserForm.value);\r\n const newUser = new SECreate();\r\n newUser.username = userDetails.username;\r\n newUser.firstName = userDetails.firstName;\r\n newUser.lastName = userDetails.lastName;\r\n newUser.email = userDetails.email;\r\n newUser.mobile = userDetails.mobile;\r\n newUser.middleName = userDetails.middleName;\r\n newUser.DOB=new Date(Date.UTC((userDetails.DOB.getFullYear()),userDetails.DOB.getMonth(),userDetails.DOB.getDate()));\r\n // newUser.address=userDetails.address;\r\n newUser.state=userDetails.state;\r\n newUser.city=userDetails.city;\r\n newUser.pincode=userDetails.pincode;\r\n this.SEService.createUser(newUser)\r\n .subscribe(\r\n (data: any) => {\r\n this.submitted = false;\r\n this.openSnackBar(data.message, '');\r\n if (data.flag === Constants.SUCCESS_FLAG) {\r\n this.openSnackBar(data.message, '');\r\n this.form.resetForm();\r\n this.isFormSectionVisible = false;\r\n this.seId = data.returnId;\r\n this.isDocumentSectionVisiable = true;\r\n }\r\n },\r\n (err: any) => {\r\n this.submitted = false;\r\n this.openSnackBar(err.error.message, '');\r\n },\r\n () => { }\r\n );\r\n }\r\n\r\n /**\r\n * Reset form on clicking reset button.\r\n * Only resetting the does not reset form group validators\r\n * https://stackoverflow.com/questions/48216330/angular-5-formgroup-reset-doesnt-reset-validators\r\n *\r\n * @memberof SECreateComponent\r\n */\r\n resetForm() {\r\n this.form.reset();\r\n // clear validators and dont remove them\r\n this.createUserForm.clearValidators();\r\n\r\n this.createUserForm.markAsUntouched();\r\n this.createUserForm.markAsPristine();\r\n // let control: AbstractControl = null;\r\n // Object.keys(this.createUserForm.controls).forEach((name) => {\r\n // control = this.createUserForm.controls[name];\r\n // control.setErrors(null);\r\n // });\r\n\r\n this.mobileExists = false;\r\n this.emailExists = false;\r\n //this.addressExists = false;\r\n this.pincodeExists = false;\r\n this.userExists = false;\r\n // this.isUserTypeSelected=false;\r\n }\r\n\r\n /**\r\n * Check if the mobile is already taken, set mobile taken flag to true if so\r\n *\r\n * @memberof SECreateComponent\r\n */\r\n checkMobile() {\r\n if (this.createUserForm.get('mobile').valid) {\r\n const mobile = this.createUserForm.get('mobile').value;\r\n\r\n const searchType = 'mobile';\r\n\r\n this.SEVService.CheckMobileEmail(searchType, mobile).subscribe(\r\n (data: any) => {\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.mobileExists = false;\r\n } else {\r\n this.mobileExists = true;\r\n }\r\n },\r\n (err: any) => { },\r\n );\r\n }\r\n }\r\n\r\n /**\r\n * /**\r\n * Check if the mobile is already taken, set mobile taken flag to true if so\r\n *\r\n * @memberof SECreateComponent\r\n */\r\n checkUserID() {\r\n if (this.createUserForm.get('username').valid) {\r\n const useridsel = 'SE'+this.createUserForm.get('username').value;\r\n\r\n const searchType = 'username';\r\n\r\n this.SEService.searchUser(searchType, useridsel).subscribe(\r\n (data: any) => {\r\n if (data.result !== null) {\r\n this.userExists = true;\r\n } else {\r\n this.userExists = false;\r\n }\r\n },\r\n (err: any) => { },\r\n );\r\n }\r\n }\r\n // * *Check if the email is already taken, set email taken flag to true if so\r\n // *\r\n // * @memberof SECreateComponent\r\n // */\r\n checkEmail() {\r\n if (this.createUserForm.get('email').valid) {\r\n const email = String(this.createUserForm.get('email').value).toLocaleUpperCase() ;\r\n\r\n const searchType = 'email';\r\n\r\n this.SEVService.CheckMobileEmail(searchType, email).subscribe(\r\n (data: any) => {\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.emailExists = false;\r\n }\r\n else\r\n {\r\n this.emailExists = true;\r\n }\r\n },\r\n (err: any) => { },\r\n );\r\n }\r\n }\r\n\r\n openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n\r\n private handleError(error: any) {\r\n // this.errorReceived = true;\r\n return Observable.throw(error);\r\n }\r\n\r\n}\r\n","module.exports = \"/* .check-btn */\\n.check-btn {\\n display: inline-block;\\n vertical-align: top;\\n height: 24px;\\n}\\n.check-btn input[type=checkbox] {\\n display: none;\\n}\\n.check-btn input[type=checkbox] + label {\\n font-size: 12px;\\n color: #544f40;\\n font-weight: 700;\\n display: inline-block;\\n padding-left: 54px;\\n text-align: left;\\n position: relative;\\n line-height: 24px;\\n text-transform: none;\\n cursor: pointer;\\n min-width: 24px;\\n height: 24px;\\n}\\n.check-btn label::before {\\n content: \\\"\\\";\\n display: block;\\n width: 42px;\\n height: 24px;\\n vertical-align: middle;\\n margin-right: 5px;\\n background: #d5d1ce;\\n position: absolute;\\n left: 0;\\n top: 0;\\n border-radius: 12px;\\n}\\n.check-btn label::after {\\n content: \\\"\\\";\\n display: block;\\n width: 18px;\\n height: 18px;\\n background-color: #fff;\\n border-radius: 100%;\\n position: absolute;\\n left: 3px;\\n top: 3px;\\n -webkit-transition: left 0.2s ease;\\n transition: left 0.2s ease;\\n}\\n.check-btn input[type=checkbox]:checked + label::before {\\n background: #0ebc89;\\n}\\n.check-btn input[type=checkbox]:checked + label::after {\\n left: 20px;\\n}\\n.switch-btn {\\n border-color: #eee;\\n color: #ccc;\\n opacity: 0.5;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvQ29tcG9uZW50L1NlcnZpY2VFbmdpbmVlci9TRS1FZGl0L0M6XFxVc2Vyc1xcQWpheTMuQ2hhdWhhblxcTXkgRGF0YVxcRmluYWxBamF5XFxSSU1BUFxcUklNQVBTeXN0ZW1XZWJcXENsaWVudEFwcC9zcmNcXGFwcFxcQ29tcG9uZW50XFxTZXJ2aWNlRW5naW5lZXJcXFNFLUVkaXRcXHNlLWVkaXQuY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL0NvbXBvbmVudC9TZXJ2aWNlRW5naW5lZXIvU0UtRWRpdC9zZS1lZGl0LmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGVBQUE7QUFDQTtFQUNJLHFCQUFBO0VBQ0EsbUJBQUE7RUFDQSxZQUFBO0FDQ0o7QURDRTtFQUNFLGFBQUE7QUNFSjtBREFFO0VBQ0UsZUFBQTtFQUNBLGNBQUE7RUFDQSxnQkFBQTtFQUNBLHFCQUFBO0VBQ0Esa0JBQUE7RUFDQSxnQkFBQTtFQUNBLGtCQUFBO0VBQ0EsaUJBQUE7RUFDQSxvQkFBQTtFQUNBLGVBQU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VuZC1jb2xvcjogI2ZmZjtcbiAgYm9yZGVyLXJhZGl1czogMTAwJTtcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICBsZWZ0OiAzcHg7XG4gIHRvcDogM3B4O1xuICB0cmFuc2l0aW9uOiBsZWZ0IDAuMnMgZWFzZTtcbn1cblxuLmNoZWNrLWJ0biBpbnB1dFt0eXBlPWNoZWNrYm94XTpjaGVja2VkICsgbGFiZWw6OmJlZm9yZSB7XG4gIGJhY2tncm91bmQ6ICMwZWJjODk7XG59XG5cbi5jaGVjay1idG4gaW5wdXRbdHlwZT1jaGVja2JveF06Y2hlY2tlZCArIGxhYmVsOjphZnRlciB7XG4gIGxlZnQ6IDIwcHg7XG59XG5cbi5zd2l0Y2gtYnRuIHtcbiAgYm9yZGVyLWNvbG9yOiAjZWVlO1xuICBjb2xvcjogI2NjYztcbiAgb3BhY2l0eTogMC41O1xufSJdfQ== */\"","import { Component, OnInit, ViewChild, OnDestroy } from '@angular/core';\r\nimport { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';\r\nimport { MatDialog, MatSnackBar, MatDialogConfig } from '@angular/material';\r\nimport { Observable } from 'rxjs';\r\nimport { catchError } from 'rxjs/operators';\r\nimport { UserService } from 'src/app/Services/ServiceEngineer/SECreate.service';\r\nimport { SECreate } from 'src/app/Models/ServiceEngineer/SECreate.model';\r\nimport { documentList } from 'src/app/Models/ServiceEngineer/documentList';\r\nimport{SeuserDisableDialogComponent} from '../seuser-disable-dialog/seuser-disable-dialog.component'\r\nimport { ConfigurationService } from 'src/app/Services/Utilities/configuration.service';\r\nimport { Constants } from 'src/app/Constants/constants';\r\nimport { IState } from 'src/app/Models/common/state.model';\r\nimport { Icity } from 'src/app/Models/common/city.model';\r\nimport { Router, NavigationEnd } from '@angular/router';\r\nimport { applicationconstant } from 'src/app/Models/DropdownItemsGroup/applicationconstant.model';\r\nimport { VendorService } from 'src/app/Services/master/vendor.service';\r\n\r\n/**\r\n * Edit user page\r\n *\r\n * @export\r\n * @class UserEditComponent\r\n * @implements {OnInit}\r\n */\r\n\r\n@Component({\r\n selector: 'app-se-edit',\r\n templateUrl: './se-edit.component.html',\r\n styleUrls: ['./se-edit.component.scss']\r\n})\r\nexport class SEEditComponent implements OnInit,OnDestroy {\r\n\r\n /**\r\n * User Search form\r\n *\r\n * @type {FormGroup}\r\n * @memberof UserEditComponent\r\n */\r\n searchSEUserForm: FormGroup;\r\n navigationSubscription;\r\n /**\r\n * Update user form\r\n *\r\n * @type {FormGroup}\r\n * @memberof UserEditComponent\r\n */\r\n editSEUserForm: FormGroup;\r\n\r\n /**\r\n * User types or designation\r\n *\r\n * @type {IUserType[]}\r\n * @memberof UserEditComponent\r\n */\r\n //userTypes: IUserType[];\r\n\r\n channelPartners = []; // TODO\r\n\r\n public state: IState[];\r\n public city: Icity[];\r\n public tempemail:string;\r\n public intialMobile:string\r\n\r\n /**\r\n * Search input types\r\n *\r\n * @memberof UserEditComponent\r\n */\r\n searchTypes = ['User ID', 'Email', 'Mobile'];\r\n\r\n // default is false\r\n showSEUserDetails = false;\r\n\r\n public mobileExists: boolean;\r\n public emailExists: boolean;\r\n public ShowLoader:boolean=false;\r\n //public addressExists: boolean;\r\n public pincodeExists: boolean;\r\n seId: number = 0;\r\n isEditForm: boolean = true;\r\n isDocumentSectionVisiable: boolean = false;\r\n isFormSectionVisible: boolean = true;\r\n\r\n userTypesDisabledMap: Map;\r\n stateDisabledMap: Map;\r\n cityDisabledMap: Map;\r\n documents: documentList[]=[];\r\n\r\n // public selectedReference: string;\r\n // isUserTypeSelected:boolean=false;\r\n // public referenceTypes: IState[];\r\n // @ViewChild('referenceid',{static: false}) referenceElement: any;\r\n\r\n /**\r\n * User search validation messages\r\n *\r\n * @memberof UserEditComponent\r\n */\r\n user_search_validation_messages = {\r\n 'searchtype': [\r\n { type: 'required', message: 'Search type is required' }\r\n ],\r\n 'searchterm': [\r\n { type: 'required', message: 'Search value is required' },\r\n { type: 'maxlength', message: 'Search value is cannot be more than 100 characters' }\r\n ]\r\n };\r\n\r\n /**\r\n * User details validation messages\r\n *\r\n * @memberof UserEditComponent\r\n */\r\n public account_validation_messages = {\r\n // 'username': [\r\n // { type: 'required', message: 'UserID is required' },\r\n // { type: 'minlength', message: 'UserID must be of 4 digits' },\r\n // { type: 'pattern', message: 'UserID must contain only numbers' }\r\n // ],\r\n 'firstName': [\r\n { type: 'required', message: 'First name is required' },\r\n { type: 'maxlength', message: 'First name cannot be more than 250 characters long' },\r\n { type: 'pattern', message: 'Your first name must contain only alphabets' }\r\n ],\r\n 'middlename': [\r\n { type: 'required', message: 'Middle name is required' },\r\n { type: 'maxlength', message: 'Middle name cannot be more than 250 characters long' },\r\n { type: 'pattern', message: 'Your first name must contain only alphabets' }\r\n ],\r\n 'lastName': [\r\n { type: 'required', message: 'Last name is required' },\r\n { type: 'maxlength', message: 'Last name cannot be more than 250 characters long' },\r\n { type: 'pattern', message: 'Your last name must contain only alphabets' }\r\n ],\r\n 'mobile': [\r\n { type: 'required', message: 'Mobile is required' },\r\n { type: 'minlength', message: 'Mobile must be of 10 digits' },\r\n { type: 'pattern', message: 'Mobile is invalid' }\r\n ],\r\n 'email': [\r\n { type: 'required', message: 'Email is required' },\r\n { type: 'maxlength', message: 'Email cannot be more than 100 characters long' },\r\n { type: 'pattern', message: 'Email is invalid' }\r\n ],\r\n // 'usertype': [\r\n // { type: 'required', message: 'User type is required' }\r\n // ],\r\n 'channelPartner': [\r\n { type: 'required', message: 'Channel Partner is required' }\r\n ],\r\n // 'role': [\r\n // { type: 'required', message: 'Role is required' }\r\n // ],\r\n 'reference': [\r\n { type:'required',message:'Please select reference value'}\r\n ],\r\n 'DOB': {\r\n 'required': 'DOB is required.',\r\n 'matDatepickerMin': 'DOB should be future date.'\r\n }, \r\n // 'address': [\r\n // { type: 'required', message: 'address is required' },\r\n // { type: 'maxlength', message: 'address cannot be more than 250 characters long' },\r\n // { type: 'pattern', message: 'Your address must contain only numbers and alphabets' }\r\n // ],\r\n 'state': [\r\n { type: 'required', message: 'state is required' },\r\n // { type: 'maxlength', message: 'state cannot be more than 250 characters long' },\r\n //{ type: 'pattern', message: 'Your state must contain only numbers and alphabets' }\r\n ],\r\n city: [\r\n { type: 'required', message: 'city is required' },\r\n // { type: 'maxlength', message: 'city cannot be more than 250 characters long' },\r\n //{ type: 'pattern', message: 'Your city must contain only numbers and alphabets' }\r\n ],\r\n 'pincode': [\r\n { type: 'required', message: 'pincode is required' },\r\n { type: 'minlength', message: 'pincode must be of 6 digits' },\r\n { type: 'pattern', message: 'pincode is invalid' }\r\n ]\r\n };\r\n\r\n searched = false;\r\n userData: SECreate;\r\n userSoftDeleted: boolean;\r\n userDetailsSubmitted = false;\r\n disableSwitchBtn: boolean;\r\n \r\n /**\r\n * Creates an instance of UserEditComponent.\r\n * @param {FormBuilder} fb\r\n * @param {MatSnackBar} snackBar\r\n * @param {UserService} userService\r\n * @memberof UserEditComponent\r\n */\r\n constructor(private fb: FormBuilder,\r\n public snackBar: MatSnackBar,\r\n public dialog: MatDialog,\r\n private SEService: UserService,\r\n private VSSService: VendorService,\r\n private router: Router,\r\n private configurationService: ConfigurationService) {\r\n\r\n this.searchSEUserForm = this.fb.group({\r\n searchType: new FormControl(null, Validators.required),\r\n searchTerm: new FormControl(null, Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(100),\r\n ]))\r\n });\r\n\r\n this.editSEUserForm = this.createFormGroupWithBuilderAndModel();\r\n\r\n this.mobileExists = false;\r\n this.emailExists = false;\r\n //this.addressExists = false;\r\n this.pincodeExists = false;\r\n this.stateDisabledMap = new Map();\r\n this.cityDisabledMap = new Map();\r\n this.disableSwitchBtn = false;\r\n\r\n this.navigationSubscription = this.router.events.subscribe((e: any) => {\r\n // If it is a NavigationEnd event re-initalise the component\r\n if (e instanceof NavigationEnd) {\r\n this.resetForm();\r\n //this.searchSEUserForm.reset();\r\n this.isFormSectionVisible = true;\r\n this.isDocumentSectionVisiable = false;\r\n \r\n this.ResetSearch();\r\n // this.searchSEUserForm.controls['searchType'].markAsUntouched();\r\n // this.searchSEUserForm.controls['searchTerm'].markAsUntouched();\r\n }\r\n });\r\n\r\n }\r\n\r\n \r\n /**\r\n * Initialize component and subcribe to value to fill in\r\n * dropdowns of usertypes and roles\r\n *\r\n * @memberof UserEditComponent\r\n */\r\n ngOnInit() {\r\n this.SEService.getStates()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.state = data.results; \r\n });\r\n //this.FillCityDD('All');\r\n this.SEService.getCity('All')\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.city = data.results; \r\n });\r\n this.ShowLoader=false;\r\n }\r\n FillCityDD(Slectedstate:any)\r\n {\r\n this.SEService.getCity(Slectedstate.name)\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.city = data.results; \r\n });\r\n }\r\n /**\r\n * Create a reactive form for user update using form builder\r\n *\r\n * @returns\r\n * @memberof UserEditComponent\r\n */\r\n createFormGroupWithBuilderAndModel() {\r\n return this.fb.group({\r\n username: new FormControl('', Validators.compose([\r\n Validators.required,\r\n //Validators.minLength(4),\r\n //Validators.pattern('^[0-9]{1,4}(\\.[0-9][0-9])?$')\r\n \r\n ]),\r\n //UniqueUsernameValidator(this.SEService) // async validator\r\n ),\r\n firstName: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(250),\r\n Validators.pattern('^[A-Za-z]+(?:[A-Za-z]+)*$') \r\n ])),\r\n middleName: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(250),\r\n Validators.pattern('^[A-Za-z]+(?:[A-Za-z]+)*$') \r\n ])),\r\n lastName: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(250),\r\n Validators.pattern('^[A-Za-z]+(?:[A-Za-z]+)*$') \r\n ])),\r\n mobile: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.minLength(10),\r\n Validators.pattern('^[6-9][0-9]{9}$')\r\n ])),\r\n pincode: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.minLength(6),\r\n Validators.pattern('^[1-9][0-9]{5}$')\r\n ])),\r\n email: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(100),\r\n Validators.pattern('^([a-zA-Z0-9_\\.\\-])+\\@(([a-zA-Z0-9\\-])+\\.)+([a-zA-Z0-9]{2,4})+$')\r\n ])),\r\n // address: new FormControl('', Validators.compose([\r\n // Validators.required,\r\n // Validators.maxLength(250),\r\n // Validators.pattern('^[A-Za-z0-9]+(?:[A-Za-z0-9]+)*$')\r\n // ])),\r\n state: new FormControl('', Validators.compose([\r\n Validators.required,\r\n // Validators.maxLength(250),\r\n // Validators.pattern('^[A-Za-z0-9]+(?:[A-Za-z0-9]+)*$')\r\n ])),\r\n city: new FormControl('', Validators.compose([\r\n Validators.required,\r\n // Validators.maxLength(250),\r\n // Validators.pattern('^[A-Za-z0-9]+(?:[A-Za-z0-9]+)*$')\r\n ])),\r\n DOB: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(250),\r\n // Validators.pattern('^[A-Za-z0-9]+(?:[A-Za-z0-9]+)*$')\r\n ])),\r\n channelPartner: new FormControl(null),\r\n });\r\n }\r\n\r\n /**\r\n * Fill the form inputs with user details\r\n *\r\n * @param {User} user\r\n * @memberof UserEditComponent\r\n */\r\n setEditFormValues(user: SECreate) {\r\n this.editSEUserForm.patchValue({\r\n username : user.username,\r\n firstName : user.firstName,\r\n lastName : user.lastName,\r\n email : user.email,\r\n mobile : user.mobile,\r\n middlename : user.middleName,\r\n DOB:user.DOB,\r\n //address:user.address,\r\n state:user.state,\r\n city:user.city,\r\n pincode:user.pincode\r\n });\r\n this.tempemail=user.email;\r\n this.seId = user.seId;\r\n this.intialMobile = user.mobile;\r\n //this.FillCityDD(user.state);\r\n }\r\n\r\n /**\r\n * Submit the form details and pass data to web api\r\n *\r\n * @returns\r\n * @memberof UserEditComponent\r\n */\r\n onSubmit() {\r\n this.userDetailsSubmitted = true;\r\n\r\n // if (!this.editSEUserForm.valid) {\r\n // return;\r\n // }\r\n if(this.mobileExists || this.emailExists)\r\n {\r\n return;\r\n }\r\n const editSEUserFormData: any = Object.assign({}, this.editSEUserForm.value);\r\n\r\n let changed = false;\r\n\r\n if (editSEUserFormData.firstName !== this.userData.firstName) {\r\n this.userData.firstName = editSEUserFormData.firstName;\r\n changed = true;\r\n }\r\n if (editSEUserFormData.lastName !== this.userData.lastName) {\r\n this.userData.lastName = editSEUserFormData.lastName;\r\n changed = true;\r\n }\r\n if (editSEUserFormData.middlename !== this.userData.middleName) {\r\n this.userData.middleName = editSEUserFormData.middleName;\r\n changed = true;\r\n }\r\n if (editSEUserFormData.mobile !== this.userData.mobile) {\r\n this.userData.mobile = editSEUserFormData.mobile;\r\n changed = true;\r\n }\r\n if (editSEUserFormData.email !== this.userData.email) {\r\n this.userData.email = editSEUserFormData.email;\r\n changed = true;\r\n }\r\n if (editSEUserFormData.state !== this.userData.state) {\r\n this.userData.state = editSEUserFormData.state;\r\n changed = true;\r\n }\r\n if (editSEUserFormData.city !== this.userData.city) {\r\n this.userData.city = editSEUserFormData.city;\r\n changed = true;\r\n }\r\n // if (editSEUserFormData.address !== this.userData.address) {\r\n // this.userData.address = editSEUserFormData.address;\r\n // changed = true;\r\n // }\r\n if (editSEUserFormData.pincode !== this.userData.pincode) {\r\n this.userData.pincode = editSEUserFormData.pincode;\r\n changed = true;\r\n }\r\n //}\r\n \r\n // update user data to database\r\n if (changed) {\r\n this.SEService.updateUser(this.userData).subscribe(\r\n (data: any) => {\r\n this.openSnackBar(data.message, '');\r\n if(data.flag==\"F\"){\r\n this.showSEUserDetails=true;\r\n \r\n }\r\n else\r\n {\r\n this.showSEUserDetails = false;\r\n this.searchSEUserForm.get('searchTerm').patchValue('');\r\n this.searchSEUserForm.get('searchTerm').setErrors(null);\r\n this.searchSEUserForm.get('searchType').patchValue('null');\r\n this.resetForm();\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n }\r\n }\r\n\r\n /**\r\n * Reset edit user from, set all controls errors to null\r\n *\r\n * @memberof UserEditComponent\r\n */\r\n resetForm() {\r\n this.editSEUserForm.reset();\r\n\r\n for (const i in this.editSEUserForm.controls) {\r\n if (this.editSEUserForm.controls[i]) {\r\n this.editSEUserForm.controls[i].setErrors(null);\r\n }\r\n }\r\n\r\n this.showSEUserDetails = false;\r\n this.userData = null;\r\n\r\n this.mobileExists = false;\r\n this.emailExists = false;\r\n\r\n }\r\n\r\n ViewDocument() {\r\n this.isFormSectionVisible = false;\r\n this.isDocumentSectionVisiable = true;\r\n //this.ShowLoader=true;\r\n }\r\n\r\n cancelEdit() {\r\n this.resetForm();\r\n }\r\n\r\n /**\r\n * Search user based on either of three parameters:\r\n * 1. username; 2. email; 3. mobile;\r\n *\r\n * @returns\r\n * @memberof UserEditComponent\r\n */\r\n onSearch() {\r\n this.searched = true;\r\n\r\n // stop here if form is invalid\r\n if (!this.searchSEUserForm.valid) {\r\n return;\r\n }\r\n\r\n const searchFormData: any = Object.assign({}, this.searchSEUserForm.value);\r\n var searchType = searchFormData.searchType;\r\n const searchTerm = searchFormData.searchTerm;\r\n const checkVSID = searchTerm.substring(0,2); \r\n \r\n if(searchType==\"User ID\")\r\n {\r\n searchType=\"Username\";\r\n }\r\n\r\n this.SEService.searchSEUserForEdit(searchType, searchTerm)\r\n .subscribe(\r\n (data: any) => {\r\n if (data.flag === Constants.SUCCESS_FLAG) {\r\n if (data.result.userId !== undefined) {\r\n this.openSnackBar(data.result.username + ' details fetched', '');\r\n this.showSEUserDetails = true;\r\n this.userData = data.result; \r\n // this.populateReferences({value:this.userData.designation});\r\n this.setEditFormValues(data.result);\r\n \r\n // const userTypeMstKey = this.userTypeIdKeyMap.get(Number(this.userData.designation));\r\n\r\n // if (this.userTypesDisabledMap.get(userTypeMstKey)) {\r\n // this.editSEUserForm.get('username').disable();\r\n // this.editSEUserForm.get('firstName').disable();\r\n // this.editSEUserForm.get('lastName').disable();\r\n // this.editSEUserForm.get('mobile').disable();\r\n // this.editSEUserForm.get('email').disable();\r\n // this.editSEUserForm.get('userType').disable();\r\n // this.editSEUserForm.get('userrole').disable();\r\n // this.editSEUserForm.get('isactive').disable();\r\n // this.disableSwitchBtn = true;\r\n // } else {\r\n this.editSEUserForm.get('username').enable();\r\n this.editSEUserForm.get('firstName').enable();\r\n this.editSEUserForm.get('lastName').enable();\r\n this.editSEUserForm.get('mobile').enable();\r\n this.editSEUserForm.get('email').enable();\r\n //this.editSEUserForm.get('address').enable();\r\n this.editSEUserForm.get('pincode').enable();\r\n \r\n this.disableSwitchBtn = false;\r\n //}\r\n\r\n this.setUserSoftDeleted(data.result.activeFlag);\r\n } else {\r\n this.openSnackBar('User not found', '');\r\n this.resetForm();\r\n }\r\n } else {\r\n this.openSnackBar(data.message, '');\r\n this.resetForm();\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n }\r\n\r\n checkMobile() {\r\n if (this.editSEUserForm.get('mobile').valid) {\r\n const mobile = this.editSEUserForm.get('mobile').value;\r\n\r\n const searchType = 'mobile';\r\n if (mobile == this.intialMobile)\r\n {\r\n this.mobileExists = false;\r\n return;\r\n }\r\n this.VSSService.CheckMobileEmail(searchType, mobile).subscribe(\r\n (data: any) => {\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.mobileExists = false;\r\n } else {\r\n this.mobileExists = true;\r\n }\r\n },\r\n (err: any) => { },\r\n );\r\n }\r\n }\r\n\r\n checkEmail() {\r\n \r\n if (this.editSEUserForm.get('email').valid) {\r\n const email = this.editSEUserForm.get('email').value;\r\n const searchType = 'email';\r\n\r\n this.VSSService.CheckMobileEmail(searchType, email).subscribe(\r\n (data: any) => {\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.emailExists = false;\r\n } else {\r\n this.emailExists = true;\r\n }\r\n },\r\n (err: any) => { },\r\n );\r\n }\r\n }\r\n\r\n checkEmailForEdit() {\r\n \r\n if (this.editSEUserForm.get('email').valid) {\r\n const email = String(this.editSEUserForm.get('email').value).toLocaleUpperCase();\r\n if(this.tempemail==email)\r\n {\r\n this.emailExists = false;\r\n return;\r\n }\r\n const searchType = 'email';\r\n\r\n this.VSSService.CheckMobileEmail(searchType, email).subscribe(\r\n (data: any) => {\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.emailExists = false;\r\n } else {\r\n this.emailExists = true;\r\n }\r\n },\r\n (err: any) => { },\r\n );\r\n }\r\n }\r\n\r\n /**\r\n * Dialog is shown, when admin tries to disable a user.\r\n * This stops admin from to disable user accidentally\r\n *\r\n * @returns\r\n * @memberof UserEditComponent\r\n */\r\n openDeactivationDialog() {\r\n if (this.editSEUserForm.value.isactive !== false) {\r\n return;\r\n }\r\n\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.autoFocus = true;\r\n dialogConfig.disableClose = true;\r\n // dialogConfig.height = '30%';\r\n // dialogConfig.width = '30%';\r\n dialogConfig.data = {\r\n username: this.editSEUserForm.value.username,\r\n isactive: this.editSEUserForm.value.isactive,\r\n WarningMessage: 'User ' + this.editSEUserForm.value.username + ' will be disabled'\r\n }\r\n\r\n const dialogRef = this.dialog.open(SeuserDisableDialogComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(result => {\r\n\r\n if (result !== undefined) {\r\n // console.log(result);\r\n } else {\r\n this.editSEUserForm.patchValue({\r\n isactive: true\r\n });\r\n }\r\n });\r\n }\r\n \r\n openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n\r\n setUserSoftDeleted(activeFlag: string) {\r\n this.userSoftDeleted = (activeFlag === 'I') ? false : true;\r\n }\r\n\r\n private handleError(error: any) {\r\n // this.errorReceived = true;\r\n return Observable.throw(error);\r\n }\r\n\r\n ResetSearch(): void {\r\n this.searchSEUserForm.reset();\r\n this.searchSEUserForm.clearValidators();\r\n for (let i in this.searchSEUserForm.controls) {\r\n this.searchSEUserForm.controls[i].setErrors(null);\r\n }\r\n this.showSEUserDetails = false;\r\n }\r\n ngOnDestroy() {\r\n // avoid memory leaks here by cleaning up after ourselves. If we \r\n // don't then we will continue to run our initialiseInvites() \r\n // method on every navigationEnd event.\r\n if (this.navigationSubscription) { \r\n this.navigationSubscription.unsubscribe();\r\n }\r\n }\r\n\r\n}\r\n\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9TZXJ2aWNlRW5naW5lZXIvU2VSZW1hcmtEaWFsb2cvc2VyZW1hcmstZGlhbG9nL3NlcmVtYXJrLWRpYWxvZy5jb21wb25lbnQuc2NzcyJ9 */\"","import { Component, OnInit } from '@angular/core';\nimport { Inject } from '@angular/core';\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';\nimport { FormGroup, FormBuilder, FormControl, Validators } from '@angular/forms';\nimport { applicationconstant } from 'src/app/Models/DropdownItemsGroup/applicationconstant.model';\nimport { MatDialog, MatSnackBar, MatAutocompleteModule, MatInputModule } from '@angular/material';\nimport { efsrcreate, hpsmandsedetails,efsrDraft, CheckListSaveDto, patchefsrDraft, EFSRApproveReject } from 'src/app/Models/EFSR/efsrcreate.model';\n//import{ SECreate} from 'src/app/Models/ServiceEngineer/SECreate.model';\nimport { Observable } from 'rxjs';\nimport { efsrService } from 'src/app/Services/EFSR/efsrcreate.service';\nimport { TicketsAssginedSE } from 'src/app/Services/ServiceEngineer/TicketsAssignedSE.service';\n\n@Component({\n selector: 'app-seremark-dialog',\n templateUrl: './seremark-dialog.component.html',\n styleUrls: ['./seremark-dialog.component.scss']\n})\nexport class SERemarkDialogComponent implements OnInit {\n\n form: FormGroup;\n description: string;\n submitted: boolean = false;\n close: boolean = false;\n\n validationMessages = {\n 'remarks': {\n 'required': 'EFSR remarks is required.',\n },\n };\n\n formErrors = {\n 'remarks': ''\n };\n\n constructor(private fb: FormBuilder, public snackBar: MatSnackBar,private EngineerService: TicketsAssginedSE,public dialogRef: MatDialogRef,\n @Inject(MAT_DIALOG_DATA) public data:any) {\n this.form = this.fb.group({\n remarks: new FormControl(null, Validators.required)\n });\n }\n\n onNoClick(): void {\n this.dialogRef.close();\n }\n\n onYesClick(): void{\n if (this.form.valid) {\n const remarks = this.form.get('remarks').value;\n const rejectData = new EFSRApproveReject();\n rejectData.efsrId = this.data.efsrId;\n rejectData.incidentId=this.data.incidentId;\n rejectData.roKeyPersonName= this.data.roKeyPersonName;\n rejectData.rejectReason = remarks;\n rejectData.approveReason=null;\n rejectData.ratingByRO = null;\n rejectData.ratingCommentsByRO = null;\n rejectData.approvedFlag = 0;\n rejectData.rejectFlag = 1;\n this.EngineerService.updateefsrnotrequired(rejectData.incidentId,rejectData.rejectReason, this.data.roKeyPersonName).subscribe(\n data => {\n if (data.flag == applicationconstant.SuccessFlag) {\n this.openSnackBar(data.message, '');\n this.dialogRef.close(true);\n }\n else {\n this.openSnackBar(data.message, '');\n }\n },\n (err: any) => this.openSnackBar(err.error.message, '')\n );\n }\n}\n\n ngOnInit() {\n \n this.form.valueChanges.subscribe((data) => {\n this.logValidationErrors(this.form);\n });\n }\n\n logValidationErrors(group: FormGroup = this.form): void {\n Object.keys(group.controls).forEach((key: string) => {\n const abstractControl = group.get(key);\n if (abstractControl instanceof FormGroup) {\n this.logValidationErrors(abstractControl)\n } else {\n this.formErrors[key] = '';\n if (abstractControl && !abstractControl.valid && (abstractControl.touched || abstractControl.dirty)) {\n const messages = this.validationMessages[key];\n\n for (const errorKey in abstractControl.errors) {\n if (errorKey) {\n this.formErrors[key] += messages[errorKey] + '';\n }\n }\n }\n }\n });\n }\n\n ValidateAllFields(formGroup: FormGroup) {\n Object.keys(formGroup.controls).forEach(field => {\n const control = formGroup.get(field);\n if (control instanceof FormControl) {\n control.markAsTouched({ onlySelf: true });\n } else if (control instanceof FormGroup) {\n this.ValidateAllFields(control);\n }\n });\n }\n\n public openSnackBar(message: string, action: string) {\n this.snackBar.open(message, action, {\n duration: 5000,\n verticalPosition: 'top'\n });\n }\n\n private handleError(error: any) {\n return Observable.throw(error);\n }\n}\n","module.exports = \".btns {\\n text-align: center;\\n}\\n\\n.button {\\n position: absolute;\\n top: 50%;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvQ29tcG9uZW50L1NlcnZpY2VFbmdpbmVlci9hc3NpZ24tdGlja2V0dG8tc2UvQzpcXFVzZXJzXFxBamF5My5DaGF1aGFuXFxNeSBEYXRhXFxGaW5hbEFqYXlcXFJJTUFQXFxSSU1BUFN5c3RlbVdlYlxcQ2xpZW50QXBwL3NyY1xcYXBwXFxDb21wb25lbnRcXFNlcnZpY2VFbmdpbmVlclxcYXNzaWduLXRpY2tldHRvLXNlXFxhc3NpZ24tdGlja2V0dG8tc2UuY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL0NvbXBvbmVudC9TZXJ2aWNlRW5naW5lZXIvYXNzaWduLXRpY2tldHRvLXNlL2Fzc2lnbi10aWNrZXR0by1zZS5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLGtCQUFBO0FDQ0o7O0FERUE7RUFDSSxrQkFBQTtFQUNBLFFBQUE7QUNDSiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9TZXJ2aWNlRW5naW5lZXIvYXNzaWduLXRpY2tldHRvLXNlL2Fzc2lnbi10aWNrZXR0by1zZS5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5idG5zIHtcclxuICAgIHRleHQtYWxpZ246IGNlbnRlcjtcclxufVxyXG5cclxuLmJ1dHRvbiB7XHJcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XHJcbiAgICB0b3A6IDUwJTtcclxufSIsIi5idG5zIHtcbiAgdGV4dC1hbGlnbjogY2VudGVyO1xufVxuXG4uYnV0dG9uIHtcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICB0b3A6IDUwJTtcbn0iXX0= */\"","import { Component, OnInit,ChangeDetectorRef, ViewChild } from '@angular/core';\r\nimport { FormGroup, FormControl, Validators, FormBuilder, ValidatorFn, AbstractControl } from '@angular/forms';\r\nimport { MatDialog, MatSnackBar } from '@angular/material';\r\nimport { UserService } from 'src/app/Services/ServiceEngineer/SECreate.service';\r\nimport { SECreate } from 'src/app/Models/ServiceEngineer/SECreate.model';\r\nimport { AssignTicket } from 'src/app/Models/TicketsSE/AssignTicket.model';\r\nimport { Observable } from 'rxjs';\r\nimport { catchError } from 'rxjs/operators';\r\nimport { UniqueUsernameValidator } from 'src/app/shared/unique-username-validator.directive';\r\nimport { ConfigurationService } from 'src/app/Services/Utilities/configuration.service';\r\nimport { Constants } from 'src/app/Constants/constants';\r\nimport{ VendorSupervisorService } from 'src/app/Services/vendorsupervisor/vendorsupervisor.service'\r\nimport { Iserviceengineer } from 'src/app/Models/common/ServiceEngineer.model';\r\n\r\n@Component({\r\n   selector: 'app-assign-ticketto-se',\r\n   templateUrl: './assign-ticketto-se.component.html',\r\n   styleUrls: ['./assign-ticketto-se.component.scss']\r\n })\r\nexport class AssignTickettoSEComponent  implements OnInit {\r\n\r\n /**\r\n * Create User From Group\r\n *\r\n * @type {FormGroup}\r\n * @memberof SECreateComponent\r\n */\r\n public assigntickettoSEForm: FormGroup;\r\n ticketId : number;\r\n ticketInteractionId : string;\r\n \r\n\r\n /**\r\n * submitted variable to track if the form values\r\n * are being submitted\r\n *\r\n * @memberof SECreateComponent\r\n */\r\n public submitted: boolean;\r\n isFormSectionVisible: boolean = true;\r\n\r\n /**\r\n * Collection of user types to be filled in dropdown\r\n *\r\n * @type {IUserType[]}\r\n * @memberof SECreateComponent\r\n */\r\n /**\r\n * Collection of roles to be filled in roles dropdown\r\n *\r\n * @type {IRole[]}\r\n * @memberof SECreateComponent\r\n */\r\n public serviceengineer: Iserviceengineer[];\r\n /**\r\n * it will help reset both the form data and submit status\r\n * https://stackoverflow.com/questions/49788215/angular-material-reseting-reactiveform-shows-validation-error\r\n * \r\n * @memberof SECreateComponent\r\n */\r\n @ViewChild('form', {static: false}) form;\r\n\r\n ServiceEngineerDisabledMap: Map;\r\n /**\r\n * Validation messages for user creation form\r\n *\r\n * @memberof SECreateComponent\r\n */\r\n public account_validation_messages = {\r\n \r\n 'serviceengineer': [\r\n { type: 'required', message: 'Service Engineer selection is required' }\r\n ],\r\n 'remark': [\r\n { type: 'pattern', message: 'Avoid special character' }\r\n \r\n\r\n ]\r\n };\r\n\r\n /**\r\n * Creates an instance of UserCreateComponent.\r\n * @param {UserService} userService\r\n * @param {FormBuilder} fb\r\n * @param {MatSnackBar} snackBar\r\n * @memberof SECreateComponent\r\n */\r\n constructor(private vendorservice: VendorSupervisorService,private SEService: UserService,\r\n private fb: FormBuilder,\r\n public snackBar: MatSnackBar,\r\n private configurationService: ConfigurationService,\r\n private cdr:ChangeDetectorRef) {\r\n this.createForm();\r\n\r\n this.submitted = false;\r\n this.ServiceEngineerDisabledMap = new Map();\r\n }\r\n\r\n \r\n /**\r\n * Initializes the component and subscribes to the dropdown services\r\n * for usertypes and roles\r\n *\r\n * @memberof SECreateComponent\r\n */\r\n ngOnInit() {\r\n this.ticketId = this.vendorservice.getTicketId();\r\n this.ticketInteractionId = this.vendorservice.getTicketInteractionId();\r\n this.assigntickettoSEForm.get('ticket').setValue(this.ticketInteractionId);\r\n this.SEService.getNames()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.serviceengineer = data.results; \r\n });\r\n }\r\n\r\n /**\r\n * Build user creation form using form builder\r\n *\r\n * @memberof SECreateComponent\r\n */\r\n createForm() {\r\n this.assigntickettoSEForm = this.fb.group({\r\n \r\n serviceengineer: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(250),\r\n Validators.pattern('^[A-Za-z0-9]+(?:[A-Za-z0-9]+)*$')\r\n ]))\r\n ,\r\n ticket: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(250),\r\n Validators.pattern('^[A-Za-z0-9]+(?:[A-Za-z0-9]+)*$')\r\n ])),\r\n remark: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(250),\r\n Validators.pattern('^[A-Za-z0-9\\ , .]+$')\r\n ]))\r\n });\r\n \r\n }\r\n\r\n onSubmit(form: any) {\r\n this.submitted = true;\r\n\r\n // stop here if form is invalid\r\n if (!this.assigntickettoSEForm.valid) {\r\n this.submitted=false;\r\n return;\r\n }\r\n\r\n const userDetails = Object.assign({}, this.assigntickettoSEForm.value);\r\n const newUser = new AssignTicket();\r\n newUser.SEID = userDetails.serviceengineer;\r\n newUser.TckID = this.ticketId;\r\n newUser.Remark = userDetails.remark;\r\n this.SEService.AssignTicekToSE(newUser)\r\n .subscribe(\r\n (data: any) => {\r\n this.submitted = false;\r\n this.openSnackBar(data.message, '');\r\n if (data.flag === Constants.SUCCESS_FLAG) {\r\n this.openSnackBar(data.message, '');\r\n this.form.resetForm();\r\n }\r\n },\r\n (err: any) => {\r\n this.submitted = false;\r\n this.openSnackBar(err.error.message, '');\r\n },\r\n () => { }\r\n );\r\n }\r\n\r\n /**\r\n * Reset form on clicking reset button.\r\n * Only resetting the does not reset form group validators\r\n * https://stackoverflow.com/questions/48216330/angular-5-formgroup-reset-doesnt-reset-validators\r\n *\r\n * @memberof SECreateComponent\r\n */\r\n resetForm() {\r\n this.form.reset();\r\n // clear validators and dont remove them\r\n this.assigntickettoSEForm.clearValidators();\r\n\r\n this.assigntickettoSEForm.markAsUntouched();\r\n this.assigntickettoSEForm.markAsPristine();\r\n }\r\n\r\n openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n\r\n private handleError(error: any) {\r\n // this.errorReceived = true;\r\n return Observable.throw(error);\r\n }\r\n\r\n}\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9TZXJ2aWNlRW5naW5lZXIvc2VpbmNpZGVudG1hbmFnZW1lbnQvc2UtaW5jaWRlbnQtbWFuYWdlbWVudC5jb21wb25lbnQuc2NzcyJ9 */\"","import { Component, OnInit } from '@angular/core';\r\nimport { FormGroup, FormControl, FormBuilder, Validators, FormGroupDirective, NgForm } from '@angular/forms'\r\nimport { MatDialog, MatSnackBar } from '@angular/material';\r\nimport { Router } from '@angular/router';\r\nimport { applicationconstant } from 'src/app/Models/DropdownItemsGroup/applicationconstant.model';\r\nimport { Ticket } from 'src/app/Models/vendorsupervisor/ticket.model';\r\nimport { efsrService } from 'src/app/Services/EFSR/efsrcreate.service';\r\nimport { Incident } from 'src/app/Models/vendorsupervisor/incident.model';\r\nimport { DropdownItems } from 'src/app/Models/DropdownItemsGroup/dropdownitems.model';\r\nimport { DropdownItemsGroup } from 'src/app/Models/DropdownItemsGroup/dropdownitemsgroup.model';\r\nimport { VendorSupervisorService } from 'src/app/Services/vendorsupervisor/vendorsupervisor.service';\r\nimport { TicketsAssginedSE } from 'src/app/Services/ServiceEngineer/TicketsAssignedSE.service';\r\nimport { VerifyincidentComponent } from 'src/app/Component/EFSR/verifyincident/verifyincident.component';\r\nimport { SearchDTO } from 'src/app/Models/common/search.model';\r\nimport { ConfirmationDeleteComponent } from 'src/app/Component/EFSR/Confirmation/confirmation-delete/confirmation-delete.component';\r\nimport { ConfirmationDialogDeleteComponent } from 'src/app/Component/EFSR/confirmation-dialog-delete/confirmation-dialog-delete.component';\r\nimport { SERemarkDialogComponent } from '../SeRemarkDialog/seremark-dialog/seremark-dialog.component';\r\n\r\n@Component({\r\n selector: 'app-se-incident-management',\r\n templateUrl: './se-incident-management.component.html',\r\n styleUrls: ['./se-incident-management.component.scss']\r\n})\r\nexport class SeIncidentManagementComponent implements OnInit {\r\n\r\n engineerSearchForm: FormGroup;\r\n //ticketList: Ticket[];\r\n incidentList: Incident[];\r\n searched = false;\r\n ticketSearchType: DropdownItems[];\r\n ticketValues:string;\r\n\r\n assignedIncidentStatus: string;\r\n openIncidentStatus: string;\r\n workinprogressIncidentStatus: string;\r\n efsrWIPIncidentStatus: string;\r\n roapprovalIncidentStatus: string;\r\n workapprovedIncidentStatus: string;\r\n closedIncidentStatus: string;\r\n\r\n closedTicketStatus: string;\r\n openTicketStatus: string;\r\n onholdTicketStatus: string;\r\n inprogressTicketStatus: string;\r\n\r\n\r\n searchTermStatus: string;\r\n\r\n validationMessages = {\r\n 'searchType': {\r\n 'required': 'Search type is required'\r\n },\r\n 'searchTerm': {\r\n 'required': 'Search Term is required'\r\n },\r\n };\r\n formErrors = {\r\n 'searchType': '',\r\n 'searchTerm': ''\r\n };\r\n\r\n constructor(private fb: FormBuilder,private EngineerService: TicketsAssginedSE, private VendorService: VendorSupervisorService,public snackBar: MatSnackBar, private router: Router,private dialog:MatDialog,\r\n private efsrservice: efsrService)\r\n { \r\n this.getStatusList();\r\n this.getDropdownItems();\r\n\r\n this.engineerSearchForm = this.fb.group({\r\n searchType: new FormControl(null, Validators.required),\r\n searchTerm: new FormControl(null, Validators.required),\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n\r\n this.engineerSearchForm.valueChanges.subscribe((data) => {\r\n this.logValidationErrors(this.engineerSearchForm);\r\n });\r\n\r\n this.getTicketList('','');\r\n \r\n }\r\n\r\n public getStatusList() {\r\n // this.closedTicketStatus = applicationconstant.Ticket_Search_Closed;\r\n // this.openTicketStatus = applicationconstant.Ticket_Search_Open;\r\n // this.onholdTicketStatus = applicationconstant.Ticket_Search_OnHold;\r\n // this.inprogressTicketStatus = applicationconstant.Ticket_Search_InProgress;\r\n\r\n this.assignedIncidentStatus = applicationconstant.Incident_Assigned_Status;\r\n this.openIncidentStatus = applicationconstant.Incident_Open_Status;\r\n this.workinprogressIncidentStatus = applicationconstant.Incident_WIP_Status;\r\n this.efsrWIPIncidentStatus = applicationconstant.Incident_EFSRWIP_Status;\r\n this.roapprovalIncidentStatus = applicationconstant.Incident_ROApproval_Status;\r\n this.workapprovedIncidentStatus = applicationconstant.Incident_WorkApproved_Status;\r\n this.closedIncidentStatus = applicationconstant.Incident_Closed_Status;\r\n }\r\n\r\n onSearchTicket() {\r\n if (this.engineerSearchForm.valid) {\r\n const searchFormData: any = Object.assign({}, this.engineerSearchForm.value);\r\n const searchType = searchFormData.searchType;\r\n const searchTerm = searchFormData.searchTerm;\r\n\r\n if (searchType == applicationconstant.Ticket_Search_Status && searchTerm.trim().toUpperCase() == applicationconstant.Incident_Assigned_Status.toUpperCase()) {\r\n\r\n this.searchTermStatus = this.assignedIncidentStatus;\r\n }\r\n if (searchType == applicationconstant.Ticket_Search_Status && searchTerm.trim().toUpperCase() == applicationconstant.Incident_Open_Status.toUpperCase()) {\r\n\r\n this.searchTermStatus = this.openIncidentStatus;\r\n }\r\n if (searchType == applicationconstant.Ticket_Search_Status && searchTerm.trim().toUpperCase() == applicationconstant.Incident_WIP_Status.toUpperCase()) {\r\n\r\n this.searchTermStatus = this.workinprogressIncidentStatus;\r\n }\r\n if (searchType == applicationconstant.Ticket_Search_Status && searchTerm.trim().toUpperCase() == applicationconstant.Incident_EFSRWIP_Status.toUpperCase()) {\r\n\r\n this.searchTermStatus = this.efsrWIPIncidentStatus;\r\n }\r\n if (searchType == applicationconstant.Ticket_Search_Status && searchTerm.trim().toUpperCase() == applicationconstant.Incident_ROApproval_Status.toUpperCase()) {\r\n\r\n this.searchTermStatus = this.roapprovalIncidentStatus;\r\n }\r\n if (searchType == applicationconstant.Ticket_Search_Status && searchTerm.trim().toUpperCase() == applicationconstant.Incident_WorkApproved_Status.toUpperCase()) {\r\n\r\n this.searchTermStatus = this.workapprovedIncidentStatus;\r\n }\r\n if (searchType == applicationconstant.Ticket_Search_Status && searchTerm.trim().toUpperCase() == applicationconstant.Incident_Closed_Status.toUpperCase()) {\r\n\r\n this.searchTermStatus = this.closedIncidentStatus;\r\n }\r\n if (searchType == applicationconstant.Ticket_Search_Status && (\r\n searchTerm.trim().toUpperCase() == applicationconstant.Incident_Assigned_Status.toUpperCase() ||\r\n searchTerm.trim().toUpperCase() == applicationconstant.Incident_Open_Status.toUpperCase() ||\r\n searchTerm.trim().toUpperCase() == applicationconstant.Incident_WIP_Status.toUpperCase() ||\r\n searchTerm.trim().toUpperCase() == applicationconstant.Incident_ROApproval_Status.toUpperCase() ||\r\n searchTerm.trim().toUpperCase() == applicationconstant.Incident_WorkApproved_Status.toUpperCase() ||\r\n searchTerm.trim().toUpperCase() == applicationconstant.Incident_Closed_Status.toUpperCase() ||\r\n searchTerm.replace(/\\s/g, \"\").toUpperCase() == applicationconstant.Incident_EFSRWIP_Status.toUpperCase()\r\n )) {\r\n this.getTicketList(searchType, this.searchTermStatus.toLocaleString());\r\n }\r\n else {\r\n this.getTicketList(searchType, searchTerm);\r\n }\r\n\r\n }\r\n else {\r\n this.ValidateAllFields(this.engineerSearchForm);\r\n this.logValidationErrors(this.engineerSearchForm);\r\n }\r\n \r\n }\r\n\r\n ResetSearch()\r\n {\r\n this.engineerSearchForm.reset();\r\n this.ticketValues=this.ticketSearchType.map(x=>x.mstValue).join(' / ');\r\n this.getTicketList('','');\r\n }\r\n\r\n onSearchChange(value: any) {\r\n this.ticketValues=this.ticketSearchType.filter(x=>x.mstKey==value).map(x=>x.mstValue).toString();\r\n }\r\n\r\n public getTicketList(searchParam: string, searchValue: string) {\r\n var search = new SearchDTO();\r\n search.searchParam =searchParam;\r\n search.searchValue = searchValue;\r\n this.EngineerService.getIncidentList(search)\r\n .subscribe((data) => {\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.incidentList = data.results;\r\n }\r\n else {\r\n this.openSnackBar(data.message, '');\r\n this.incidentList = [];\r\n }\r\n }),\r\n (err: any) => {\r\n this.openSnackBar(err.error.message, 'error');\r\n }\r\n }\r\n\r\n public ViewDetails(ticketId: number) {\r\n this.VendorService.setTicketId(ticketId);\r\n this.VendorService.setRequestFromSE(true);\r\n this.router.navigate(['supervisor/viewticket']);\r\n }\r\n\r\n public FillEFSR(ticketId: number,incidentId: string,roId:number, status:string) {\r\n if (status == \"ASSIGNED\")\r\n {\r\n this.VendorService.setTicketId(ticketId);\r\n this.EngineerService.setROId(roId);\r\n this.EngineerService.setIncidentId(incidentId);\r\n this.EngineerService.checkEFSRExists(incidentId)\r\n .subscribe((data) => {\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.EngineerService.setEFSRId(data.returnId);\r\n this.EngineerService.setEFSRExists(true);\r\n //this.router.navigate(['EFSR/edit-efsr']);\r\n this.router.navigate(['EFSR/create-efsr']);\r\n }\r\n else {\r\n this.EngineerService.setEFSRExists(false);\r\n this.router.navigate(['EFSR/create-efsr']);\r\n }\r\n }),\r\n (err: any) => {\r\n this.openSnackBar(err.error.message, 'error');\r\n }\r\n }\r\n else\r\n {\r\n this.VendorService.setTicketId(ticketId);\r\n this.EngineerService.setROId(roId);\r\n this.EngineerService.setIncidentId(incidentId);\r\n this.EngineerService.checkEFSRExists(incidentId)\r\n .subscribe((data) => {\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.EngineerService.setEFSRId(data.returnId);\r\n this.EngineerService.setEFSRExists(true);\r\n //this.router.navigate(['EFSR/edit-efsr']);\r\n this.router.navigate(['EFSR/create-efsr']);\r\n }\r\n else {\r\n this.EngineerService.setEFSRExists(false);\r\n this.router.navigate(['EFSR/create-efsr']);\r\n }\r\n }),\r\n (err: any) => {\r\n this.openSnackBar(err.error.message, 'error');\r\n }\r\n }\r\n \r\n }\r\n\r\n public EFSRNotRequired(ticketId: number,incidentId: string,roId:number, status:string) {\r\n this.VendorService.setTicketId(ticketId);\r\n this.EngineerService.setROId(roId);\r\n this.EngineerService.setIncidentId(incidentId);\r\n const dialogRef = this.dialog.open(SERemarkDialogComponent, {\r\n width: '500px',\r\n data:{ incidentid:ticketId, roKeyPersonName: roId, incidentId:incidentId}\r\n });\r\n dialogRef.afterClosed().subscribe(result => {\r\n if (result) {\r\n this.router.navigate(['RO/incidentsearch']);\r\n }\r\n \r\n });\r\n\r\n \r\n \r\n\r\n }\r\n\r\n\r\n // public FillEFSR(ticketId: number,incidentId: string,roId:number, status:string) {\r\n // if (status == \"ASSIGNED\")\r\n // {\r\n // const dialogRef = this.dialog.open(VerifyincidentComponent, {\r\n // disableClose: true,\r\n // width: '350px',\r\n // data: ticketId\r\n // });\r\n // dialogRef.afterClosed().subscribe(result => {\r\n // if (result) {\r\n // this.VendorService.setTicketId(ticketId);\r\n // this.EngineerService.setROId(roId);\r\n // this.EngineerService.setIncidentId(incidentId);\r\n // this.EngineerService.checkEFSRExists(incidentId)\r\n // .subscribe((data) => {\r\n // if (data.flag == applicationconstant.SuccessFlag) {\r\n // this.EngineerService.setEFSRId(data.returnId);\r\n // this.EngineerService.setEFSRExists(true);\r\n // //this.router.navigate(['EFSR/edit-efsr']);\r\n // this.router.navigate(['EFSR/create-efsr']);\r\n // }\r\n // else {\r\n // this.EngineerService.setEFSRExists(false);\r\n // this.router.navigate(['EFSR/create-efsr']);\r\n // }\r\n // }),\r\n // (err: any) => {\r\n // this.openSnackBar(err.error.message, 'error');\r\n // }\r\n // }\r\n // });\r\n // }\r\n // else\r\n // {\r\n // this.VendorService.setTicketId(ticketId);\r\n // this.EngineerService.setROId(roId);\r\n // this.EngineerService.setIncidentId(incidentId);\r\n // this.EngineerService.checkEFSRExists(incidentId)\r\n // .subscribe((data) => {\r\n // if (data.flag == applicationconstant.SuccessFlag) {\r\n // this.EngineerService.setEFSRId(data.returnId);\r\n // this.EngineerService.setEFSRExists(true);\r\n // //this.router.navigate(['EFSR/edit-efsr']);\r\n // this.router.navigate(['EFSR/create-efsr']);\r\n // }\r\n // else {\r\n // this.EngineerService.setEFSRExists(false);\r\n // this.router.navigate(['EFSR/create-efsr']);\r\n // }\r\n // }),\r\n // (err: any) => {\r\n // this.openSnackBar(err.error.message, 'error');\r\n // }\r\n // }\r\n \r\n\r\n // // if (this.checkValiditiy(ticketId))\r\n // // {\r\n // // this.VendorService.setTicketId(ticketId);\r\n // // this.EngineerService.setROId(roId);\r\n // // this.EngineerService.setIncidentId(incidentId);\r\n // // this.EngineerService.checkEFSRExists(incidentId)\r\n // // .subscribe((data) => {\r\n // // if (data.flag == applicationconstant.SuccessFlag) {\r\n // // this.EngineerService.setEFSRId(data.returnId);\r\n // // this.EngineerService.setEFSRExists(true);\r\n // // //this.router.navigate(['EFSR/edit-efsr']);\r\n // // this.router.navigate(['EFSR/create-efsr']);\r\n // // }\r\n // // else {\r\n // // this.EngineerService.setEFSRExists(false);\r\n // // this.router.navigate(['EFSR/create-efsr']);\r\n // // }\r\n // // }),\r\n // // (err: any) => {\r\n // // this.openSnackBar(err.error.message, 'error');\r\n // // }\r\n // // }\r\n // // else\r\n // // {\r\n // // this.openSnackBar(\"Invalid OTP\", 'error');\r\n // // }\r\n // }\r\n\r\n public VIEWEFSR(ticketId: number,ticketInteractionId: string){\r\n\r\n \r\n this.VendorService.setTicketId(ticketId);\r\n this.VendorService.setTicketInteractionId(ticketInteractionId);\r\n this.EngineerService.checkEFSRForRO(ticketInteractionId)\r\n .subscribe((data) => {\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.EngineerService.setEFSRId(data.returnId);\r\n this.EngineerService.setIncidentId(ticketInteractionId);\r\n \r\n // this.VendorService.setTicketId(ticketId);\r\n // this.EngineerService.setIncidentId(ticketInteractionId);\r\n this.router.navigate(['serviceengineer/view-efsr']);\r\n \r\n }\r\n else{\r\n // this.EngineerService.setEFSRExists(false);\r\n this.openSnackBar(data.message, 'error');\r\n }\r\n }),\r\n (err: any) => {\r\n this.openSnackBar(err.error.message, 'error');\r\n }\r\n\r\n }\r\n \r\n\r\n public ViewHistoryDetails(ticketId: number) {\r\n this.VendorService.setTicketId(ticketId);\r\n this.router.navigate(['supervisor/Incidenthistory']);\r\n }\r\n public AssignTicket(ticketId: number,ticketInteractionId: string) {\r\n this.VendorService.setTicketId(ticketId);\r\n this.VendorService.setTicketInteractionId(ticketInteractionId);\r\n this.router.navigate(['ServiceEngineer/assign-ticketto-se']);\r\n }\r\n\r\n public getDropdownItems() {\r\n const params =\r\n `${DropdownItemsGroup.TICKET_SEARCH_PARAM}`;\r\n this.VendorService.getDropdownItems(JSON.stringify(params))\r\n .subscribe(items => {\r\n if (items.flag == applicationconstant.SuccessFlag) {\r\n this.setDropdownItemsAsPerGroup(items.results);\r\n }\r\n else {\r\n this.openSnackBar(items.message, '')\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, '')\r\n );\r\n }\r\n\r\n private setDropdownItemsAsPerGroup(itemsGrop: any) {\r\n if (itemsGrop.length > 0) {\r\n this.ticketSearchType = [];\r\n for (let item of itemsGrop) {\r\n if (item.mstGroup == DropdownItemsGroup.TICKET_SEARCH_PARAM) {\r\n this.ticketSearchType.push(item);\r\n }\r\n }\r\n }\r\n this.ticketValues=this.ticketSearchType.map(x=>x.mstValue).join(' / '); \r\n }\r\n\r\n\r\n logValidationErrors(group: FormGroup = this.engineerSearchForm): void {\r\n Object.keys(group.controls).forEach((key: string) => {\r\n const abstractControl = group.get(key);\r\n if (abstractControl instanceof FormGroup) {\r\n this.logValidationErrors(abstractControl)\r\n } else {\r\n this.formErrors[key] = '';\r\n if (abstractControl && !abstractControl.valid && (abstractControl.touched || abstractControl.dirty)) {\r\n const messages = this.validationMessages[key];\r\n\r\n for (const errorKey in abstractControl.errors) {\r\n if (errorKey) {\r\n this.formErrors[key] += messages[errorKey] + '';\r\n }\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n ValidateAllFields(formGroup: FormGroup) {\r\n Object.keys(formGroup.controls).forEach(field => {\r\n const control = formGroup.get(field);\r\n if (control instanceof FormControl) {\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) {\r\n this.ValidateAllFields(control);\r\n }\r\n });\r\n }\r\n\r\n openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n \r\n}\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9TZXJ2aWNlRW5naW5lZXIvc2V1c2VyLWRpc2FibGUtZGlhbG9nL3NldXNlci1kaXNhYmxlLWRpYWxvZy5jb21wb25lbnQuc2NzcyJ9 */\"","\r\nimport { Component, OnInit, Inject } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';\r\n\r\n@Component({\r\n selector: 'app-seuser-disable-dialog',\r\n templateUrl: './seuser-disable-dialog.component.html',\r\n styleUrls: ['./seuser-disable-dialog.component.scss']\r\n})\r\nexport class SeuserDisableDialogComponent implements OnInit {\r\n\r\n error: string;\r\n username: string;\r\n WarningMessage:string;\r\n\r\n constructor(\r\n public _dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any\r\n ) {\r\n // this.status = data.defaultStatus;\r\n }\r\n\r\n ngOnInit() { }\r\n\r\n cancel() {\r\n this._dialogRef.close();\r\n }\r\n\r\n deactivateUser() {\r\n if (this.username === this.data.username) {\r\n //console.log('username entered correctly');\r\n this._dialogRef.close(this.data);\r\n } else {\r\n this.error = 'Please enter the username.';\r\n }\r\n }\r\n}\r\n","module.exports = \".col-xs-6 {\\n padding: 10px;\\n}\\n\\n.fa.fa-check-circle {\\n font-size: 20px;\\n color: green;\\n}\\n\\n.fa.fa-times-circle {\\n font-size: 20px;\\n color: red;\\n}\\n\\n.alertPopUp {\\n position: fixed;\\n /* Stay in place */\\n z-index: 1;\\n /* Sit on top */\\n left: 0;\\n top: 0;\\n width: 100%;\\n /* Full width */\\n height: 100%;\\n /* Full height */\\n overflow: auto;\\n /* Enable scroll if needed */\\n background-color: black;\\n /* Fallback color */\\n background-color: rgba(0, 0, 0, 0.4);\\n /* Black w/ opacity */\\n padding-top: 100px;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvQ29tcG9uZW50L1NlcnZpY2VFbmdpbmVlci91cGxvYWQtZG9jcy9DOlxcVXNlcnNcXEFqYXkzLkNoYXVoYW5cXE15IERhdGFcXEZpbmFsQWpheVxcUklNQVBcXFJJTUFQU3lzdGVtV2ViXFxDbGllbnRBcHAvc3JjXFxhcHBcXENvbXBvbmVudFxcU2VydmljZUVuZ2luZWVyXFx1cGxvYWQtZG9jc1xcdXBsb2FkLWRvY3MuY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL0NvbXBvbmVudC9TZXJ2aWNlRW5naW5lZXIvdXBsb2FkLWRvY3MvdXBsb2FkLWRvY3MuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxhQUFBO0FDQ0o7O0FEQ0U7RUFDRSxlQUFBO0VBQ0EsWUFBQTtBQ0VKOztBREFFO0VBQ0UsZUFBQTtFQUNBLFVBQUE7QUNHSjs7QURBRTtFQUNFLGVBQUE7RUFBaUIsa0JBQUE7RUFDakIsVUFBQTtFQUFZLGVBQUE7RUFDWixPQUFBO0VBQ0EsTUFBQTtFQUNBLFdBQUE7RUFBYSxlQUFBO0VBQ2IsWUFBQTtFQUFjLGdCQUFBO0VBQ2QsY0FBQTtFQUFnQiw0QkFBQTtFQUNoQix1QkFBQTtFQUE4QixtQkFBQTtFQUM5QixvQ0FBQTtFQUFtQyxxQkFBQTtFQUNuQyxrQkFBQTtBQ1VKIiwiZmlsZSI6InNyYy9hcHAvQ29tcG9uZW50L1NlcnZpY2VFbmdpbmVlci91c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Bjb2xvcjogcmVkO1xufVxuXG4uYWxlcnRQb3BVcCB7XG4gIHBvc2l0aW9uOiBmaXhlZDtcbiAgLyogU3RheSBpbiBwbGFjZSAqL1xuICB6LWluZGV4OiAxO1xuICAvKiBTaXQgb24gdG9wICovXG4gIGxlZnQ6IDA7XG4gIHRvcDogMDtcbiAgd2lkdGg6IDEwMCU7XG4gIC8qIEZ1bGwgd2lkdGggKi9cbiAgaGVpZ2h0OiAxMDAlO1xuICAvKiBGdWxsIGhlaWdodCAqL1xuICBvdmVyZmxvdzogYXV0bztcbiAgLyogRW5hYmxlIHNjcm9sbCBpZiBuZWVkZWQgKi9cbiAgYmFja2dyb3VuZC1jb2xvcjogYmxhY2s7XG4gIC8qIEZhbGxiYWNrIGNvbG9yICovXG4gIGJhY2tncm91bmQtY29sb3I6IHJnYmEoMCwgMCwgMCwgMC40KTtcbiAgLyogQmxhY2sgdy8gb3BhY2l0eSAqL1xuICBwYWRkaW5nLXRvcDogMTAwcHg7XG59Il19 */\"","import { Component, OnInit, ViewChild, Input, Output, EventEmitter } from '@angular/core';\r\nimport { documentList } from 'src/app/Models/ServiceEngineer/documentList';\r\nimport { HttpEventType, HttpResponse } from '@angular/common/http';\r\nimport { FormGroup, FormBuilder, FormControl, Validators, PatternValidator } from '@angular/forms';\r\nimport { MatSnackBar } from '@angular/material';\r\nimport { ReturnResponse } from 'src/app/Models/ServiceEngineer/returnResponse.model';\r\nimport { Router } from '@angular/router';\r\nimport { VendorSupervisorService } from 'src/app/Services/vendorsupervisor/vendorsupervisor.service';\r\nimport { efsrService } from 'src/app/Services/EFSR/efsrcreate.service';\r\nimport { applicationconstant } from 'src/app/Models/DropdownItemsGroup/applicationconstant.model';\r\nimport { RemoveFile } from 'src/app/Models/common/removeFile.model';\r\nimport { TicketsAssginedSE } from 'src/app/Services/ServiceEngineer/TicketsAssignedSE.service';\r\n//import{IName} from 'src/app/Models/TicketsSE/engineername.model';\r\n//import { BindingFlags } from '@angular/compiler/src/core';\r\n//import { EFSR, efsrDoc } from 'src/app/Models/EFSR/efsr.model';\r\n//import { catchError } from 'rxjs/operators';\r\n//import { patchefsrDraft, EFSRApproveReject } from 'src/app/Models/EFSR/efsrcreate.model';\r\nimport { UserService } from 'src/app/Services/ServiceEngineer/SECreate.service';\r\nimport { IName } from 'src/app/Models/TicketsSE/engineername.model';\r\nimport { Observable } from 'rxjs';\r\nimport { SECreate } from 'src/app/Models/ServiceEngineer/SECreate.model';\r\nimport { Constants } from 'src/app/Constants/constants';\r\n\r\n\r\n\r\n\r\n@Component({\r\n selector: 'app-upload-docs',\r\n templateUrl: './upload-docs.component.html',\r\n styleUrls: ['./upload-docs.component.scss']\r\n})\r\nexport class UploadDocsComponent implements OnInit {\r\n \r\n documents: documentList[]=[];\r\n file:File;\r\n userData:SECreate;\r\n //efsrDoc: efsrDoc[]=[];\r\n isDocRequired: boolean = false;\r\n //public efsr:EFSRApproveReject[];\r\n isAlldocumentsUploaded: boolean = false;\r\n //public ShowLoader: boolean;\r\n uploadStatus: string = '';\r\n percentDone: number = 0;\r\n @ViewChild('documentSelected',{static:false}) selectedDoc: any;\r\n @Input() isEditForm: boolean;\r\n @Input() seId: number;\r\n @Input() userId:number;\r\n //@Input() createdBy:number;\r\n //@Input() enggName:IName[];\r\n @Output() valueupdate = new EventEmitter();\r\n //@Output() submitTheResult: EventEmitter = new EventEmitter();\r\n // public imagePath;\r\n // imgURL: any;\r\n //approvedFlag:number;\r\n efsrId:number;\r\n //engId:number;\r\n alreadyLoggedIn: boolean = false;\r\n documetListValidation: boolean = false;\r\n documentFileValidation: boolean = false;\r\n requestFromEfsr : boolean = false;\r\n requestFromROEfsr : boolean = false;\r\n documentForm: FormGroup;\r\n //isDocumentSectionVisiable: boolean = true;\r\n //isFormSectionVisible: boolean = false;\r\n\r\n document_validation_messages = {\r\n 'documentfile': [\r\n { type: 'required', message: 'Please select document' }\r\n ],\r\n 'documetList': [\r\n { type: 'required', message: 'Plesae select document type' }\r\n ],\r\n 'documentNumber': [\r\n { type: 'required', message: 'Please enter document number' }\r\n ]\r\n\r\n }\r\n\r\n constructor(private vehicleService: VendorSupervisorService, private efsrservice: efsrService,private fb: FormBuilder, private snackbar: MatSnackBar, private router: Router,private EngineerService: TicketsAssginedSE,private SEservice:UserService)\r\n {\r\n this.documentForm = this.fb.group({\r\n documetList: new FormControl('0', Validators.compose([\r\n Validators.required\r\n ])),\r\n documentfile: new FormControl('', Validators.compose([\r\n Validators.required\r\n ])),\r\n documentNumber: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.pattern(\"^[0-9]{10}$\")\r\n ])),\r\n createdby:new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.pattern(\"^[0-9]{10}$\")\r\n ]))\r\n })\r\n }\r\n\r\n ngOnInit() {\r\n this.requestFromEfsr = this.efsrservice.getRequestFromEfsr();\r\n this.requestFromROEfsr = this.efsrservice.getRequestFromROEfsr();\r\n this.efsrId= this.EngineerService.getEFSRId();\r\n //this.ShowLoader=false;\r\n\r\n //this.createdBy=this.documentForm.get('createdby').value;\r\n // this.SEservice.getNames().\r\n // pipe(catchError((err) => this.handleError(err)))\r\n // .subscribe((data:any)=>{\r\n\r\n // this.engId= Number(data.results);\r\n \r\n \r\n // });\r\n\r\n //this.approvedFlag=1;\r\n //this.efsrId=this.efsr.filter((data1) => data1.efsrId==this.efsrId);\r\n \r\n //this.approvedFlag=Number(this.efsr.filter((item) => item.rejectFlag));\r\n \r\n// var flag=this.efsr.filter((data1) => data1.rejectFlag===1);\r\n// if(flag!=null)\r\n// {\r\n\r\n// this.approvedFlag=flag[0].rejectFlag;\r\n// } \r\n // this.approvedFlag = data1;\r\n // this.attachmentFileName=data1.results;\r\n // });;\r\n\r\n if (this.requestFromEfsr || this.requestFromROEfsr)\r\n {\r\n this.getRequiredDocumentsForEfsr();\r\n }\r\n // else if (this.requestFromROEfsr && this.createdBy==187 ){\r\n\r\n // this.getRequiredDocumentsForEfsrForm();\r\n // }\r\n else{\r\n this.getRequiredDocuments();\r\n \r\n }\r\n \r\n }\r\n\r\n getRequiredDocuments() {\r\n this.vehicleService.getRequiredFiles().subscribe((data: any) => {\r\n this.documents = data.results;\r\n if (this.isEditForm) {\r\n this.patchFiles();\r\n }\r\n });\r\n }\r\n\r\n getRequiredDocumentsForEfsr() {\r\n this.efsrservice.getRequiredFiles().subscribe((data: any) => {\r\n this.documents = data.results;\r\n if (this.isEditForm) {\r\n this.patchFilesEFSR();\r\n }\r\n });\r\n }\r\n // getRequiredDocumentsForEfsrForm() {\r\n // this.efsrservice.getRequiredFilesEFSR().subscribe((data: any) => {\r\n // this.efsrDoc = data.results;\r\n // if (this.isEditForm) {\r\n // this.patchFilesEFSRForm();\r\n // }\r\n // });\r\n // }\r\n checkNumberRequired() {\r\n this.documentForm.get('documetList').markAsPristine();\r\n if (this.documentForm.get('documetList').value == applicationconstant.Vehicle_DOC_Registration_Certificate_Copy) {\r\n }\r\n else if (this.documentForm.get('documetList').value == applicationconstant.Vehicle_DOC_CommercialPermitCopy) {\r\n }\r\n\r\n this.documentForm.get('documentfile').reset();\r\n this.documentForm.get('documentNumber').reset();\r\n }\r\n\r\n UploadDocuments(event) {\r\n if (this.selectedDoc.nativeElement.value == \"0\") {\r\n this.documetListValidation = true;\r\n this.documentForm.get('documentfile').reset();\r\n this.documentFileValidation = false;\r\n return;\r\n }\r\n if (event.target.files.length == 0) {\r\n this.documentFileValidation = true;\r\n this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].file = undefined;\r\n }\r\n else {\r\n this.documentFileValidation = false;\r\n }\r\n if (this.documentFileValidation == false) {\r\n const files = event.target.files[0];\r\n this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].file = files;\r\n }\r\n }\r\n \r\n private handleError(error: any) {\r\n // this.errorReceived = true;\r\n return Observable.throw(error);\r\n }\r\n onSubmit() {\r\n const doc = this.documentForm.get('documetList').value;\r\n //const crt=this.documentForm.get('createdby').value;\r\n if (this.documents.filter((val) => val.documentId == doc && val.isUploaded == true).length > 0) {\r\n this.openSnackBar(doc + ' is already uploaded ! You may remove old file and upload again.', '');\r\n this.documentForm.get('documentfile').reset();\r\n return;\r\n }\r\n\r\n if (this.documentForm.get('documetList').value == \"0\") {\r\n this.documetListValidation = true;\r\n return;\r\n }\r\n else {\r\n this.documetListValidation = false;\r\n }\r\n if (this.documents.filter((val) => val.documentId == doc).map(x => x.file)[0] == undefined) {\r\n this.documentFileValidation = true;\r\n return;\r\n }\r\n\r\n const file = this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].file;\r\n const fileType = this.documentForm.get('documetList').value;\r\n const docNum = this.documentForm.get('documentNumber').value;\r\n //const crt= this.documentForm.get('createdby').value;\r\n if (this.requestFromEfsr)\r\n {\r\n this.efsrservice.uploadFile(file, fileType, docNum, this.seId)\r\n .subscribe(event => {\r\n if (event.type === HttpEventType.UploadProgress) {\r\n this.percentDone = Math.round(100 * event.loaded / event.total);\r\n this.uploadStatus = `File is ${this.percentDone}% uploaded.`;\r\n this.percentDone = 0;\r\n } else if (event instanceof HttpResponse) {\r\n this.openSnackBar(event.body.message, '');\r\n\r\n this.uploadStatus = 'File is completely uploaded!';\r\n if (event.body.flag == \"S\") {\r\n this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].isUploaded = true;\r\n this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].documentType = fileType;\r\n this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].documentName = event.body.fileName;\r\n //this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].createdBy = event.body.createdBy;\r\n \r\n }\r\n if (event.body.returnId == 1) {\r\n this.isAlldocumentsUploaded = true;\r\n }\r\n else {\r\n this.isAlldocumentsUploaded = false;\r\n }\r\n this.resetform();\r\n }\r\n });\r\n }\r\n else{\r\n this.vehicleService.uploadFile(file, fileType, docNum, this.seId)\r\n .subscribe(event => {\r\n if (event.type === HttpEventType.UploadProgress) {\r\n this.percentDone = Math.round(100 * event.loaded / event.total);\r\n this.uploadStatus = `File is ${this.percentDone}% uploaded.`;\r\n this.percentDone = 0;\r\n } else if (event instanceof HttpResponse) {\r\n this.openSnackBar(event.body.message, '');\r\n\r\n this.uploadStatus = 'File is completely uploaded!';\r\n if (event.body.flag == \"S\") {\r\n this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].isUploaded = true;\r\n this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].documentType = fileType;\r\n this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].documentName = event.body.fileName;\r\n //this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].createdBy = event.body.createdBy;\r\n }\r\n if (event.body.returnId == 1) {\r\n this.isAlldocumentsUploaded = true;\r\n }\r\n else {\r\n this.isAlldocumentsUploaded = false;\r\n }\r\n this.resetform();\r\n }\r\n });\r\n }\r\n }\r\n\r\n patchFiles() {\r\n this.vehicleService.getSEAllDocs(applicationconstant.SEDocument, 0, this.seId).subscribe(\r\n (data: any) => {\r\n if (data.flag == \"S\") {\r\n data.results.forEach(x => { \r\n if(x.isSuccess==true){ \r\n this.documents.filter((val) => val.documentId == x.fileType)[0].documentName = x.fileName;\r\n this.documents.filter((val) => val.documentId == x.fileType)[0].file = x.fileStream;\r\n this.documents.filter((val) => val.documentId == x.fileType)[0].isUploaded = true;\r\n //this.documents.filter((val) => val.documentId == x.fileType)[0].createdBy = x.createdBy;\r\n }\r\n });\r\n }\r\n if (data.returnId == 1) {\r\n this.isAlldocumentsUploaded = true;\r\n //this.openSnackBar('Submitted Successfully.Redirecting to Homepage..','');\r\n \r\n }\r\n else {\r\n this.isAlldocumentsUploaded = false;\r\n }\r\n }\r\n )\r\n }\r\n\r\n patchFilesEFSR() {\r\n this.vehicleService.getEFSRAllDocs(applicationconstant.EFSRDocument, 0, this.seId).subscribe(\r\n (data: any) => {\r\n if (data.flag == \"S\") {\r\n data.results.forEach(x => { \r\n if(x.isSuccess==true){ \r\n this.documents.filter((val) => val.documentId == x.fileType)[0].documentName = x.fileName;\r\n this.documents.filter((val) => val.documentId == x.fileType)[0].file = x.fileStream;\r\n this.documents.filter((val) => val.documentId == x.fileType)[0].isUploaded = true;\r\n //this.documents.filter((val) => val.documentId == x.fileType)[0].createdBy = x.createdBy;\r\n }\r\n });\r\n }\r\n if (data.returnId == 1) {\r\n this.isAlldocumentsUploaded = true;\r\n //this.openSnackBar('Submitted Successfully.Redirecting to Homepage..','');\r\n }\r\n else {\r\n this.isAlldocumentsUploaded = false;\r\n }\r\n }\r\n )\r\n }\r\n\r\n\r\n// patchFilesEFSRForm() {\r\n// this.vehicleService.getEFSRReportsList(applicationconstant.EFSRForm, 0, this.seId).subscribe(\r\n// (data: any) => {\r\n// if (data.flag == \"S\") {\r\n// data.results.forEach(x => { \r\n// if(x.isSuccess==true){ \r\n// this.efsrDoc.filter((val) => val.id == x.fileType)[0].docName = x.fileName;\r\n// this.efsrDoc.filter((val) => val.id == x.fileType)[0].file = x.fileStream;\r\n// this.efsrDoc.filter((val) => val.id == x.fileType)[0].docPath = x.filePath;\r\n \r\n// // this.documents.filter((val) => val.documentId == x.fileType)[0].isUploaded = undefined;\r\n// this.efsrDoc.filter((val) => val.id == x.fileType)[0].createdBy = x.createdBy;\r\n// }\r\n// });\r\n// }\r\n// if (data.returnId == 1) {\r\n// this.isAlldocumentsUploaded = true;\r\n// //this.openSnackBar('Submitted Successfully.Redirecting to Homepage..','');\r\n// }\r\n// else {\r\n// this.isAlldocumentsUploaded = false;\r\n// }\r\n// }\r\n// )\r\n// }\r\n removeFile(docType: string) {\r\n var removeFile = new RemoveFile();\r\n const docId = this.seId;\r\n if (this.requestFromEfsr)\r\n {\r\n removeFile.docId = docId;\r\n removeFile.docType = docType;\r\n this.efsrservice.removeFile(removeFile).subscribe(\r\n (data: ReturnResponse) => {\r\n this.openSnackBar(data.message, '');\r\n this.documents.filter((val) => val.documentId == docType)[0].file = null;\r\n this.documents.filter((val) => val.documentId == docType)[0].isUploaded = false;\r\n if (data.returnId == 1) {\r\n this.isAlldocumentsUploaded = true;\r\n }\r\n else {\r\n this.isAlldocumentsUploaded = false;\r\n }\r\n this.resetform();\r\n }\r\n )\r\n }\r\n else\r\n {\r\n this.vehicleService.removeFile(docType, docId).subscribe(\r\n (data: ReturnResponse) => {\r\n this.openSnackBar(data.message, '');\r\n this.documents.filter((val) => val.documentId == docType)[0].file = null;\r\n this.documents.filter((val) => val.documentId == docType)[0].isUploaded = false;\r\n if (data.returnId == 1) {\r\n this.isAlldocumentsUploaded = true;\r\n }\r\n else {\r\n this.isAlldocumentsUploaded = false;\r\n }\r\n this.resetform();\r\n }\r\n )\r\n }\r\n }\r\n\r\n SubmitValues() {\r\n this.valueupdate.emit(false);\r\n this.openSnackBar('Submitted Successfully.Redirecting to Homepage..','');\r\n //this.ShowLoader=true;\r\n this.router.navigate(['dashboard']);\r\n }\r\n\r\n \r\n public backToList()\r\n {\r\n if (this.requestFromROEfsr)\r\n {\r\n this.efsrservice.setRequestFromROEfsr(false);\r\n this.openSnackBar('Documents Verified Successfully.Going Back to Previous Page..','');\r\n this.valueupdate.emit(false);\r\n //this.ShowLoader=false;\r\n //this.ShowLoader=true;\r\n //this.efsrservice.setIsDocumentSectionVisibleFromROEfsr(false);\r\n //this.efsrservice.setIsFormSectionVisibleFromROEfsr(true);\r\n //this.isFormSectionVisible = true;\r\n //this.isDocumentSectionVisiable = false;\r\n }\r\n else if(this.requestFromEfsr)\r\n {\r\n this.efsrservice.setRequestFromEfsr(false);\r\n this.openSnackBar('Submitted Successfully.Redirecting to Homepage..','');\r\n this.router.navigate(['dashboard']);\r\n }\r\n else\r\n {\r\n //this.efsrservice.setRequestFromEfsr(false);\r\n \r\n var seProf=new SECreate();\r\n //const RoFormData: any = Object.assign({}, seProf);\r\n seProf.seId=this.seId;\r\n // seProf.userId=this.userId;\r\n //seProf.userId=this.userId;\r\n this.SEservice.submitSEDoc(seProf.seId).subscribe(\r\n (data: any) => {\r\n // //this.submitted = false;\r\n // //this.openSnackBar(data.message, '');\r\n if (data.flag === Constants.SUCCESS_FLAG) {\r\n //this.openSnackBar(data.message, '');\r\n this.openSnackBar(data.message, '');\r\n //this.openSnackBar('Submitted Successfully!','');\r\n this.router.navigate(['dashboard']);\r\n \r\n // //this.form.resetForm();\r\n }\r\n },\r\n (err: any) => {\r\n // //this.submitted = false;\r\n this.openSnackBar(err.error.message, '');\r\n },\r\n () => { }\r\n );\r\n \r\n //this.ShowLoader=true;\r\n }\r\n \r\n }\r\n\r\n ngOnDestroy() {\r\n this.requestFromEfsr = false;\r\n this.requestFromROEfsr = false;\r\n }\r\n\r\n public UpdateEFSRStatus()\r\n {\r\n this.efsrservice.UpdateEfsrStatus(this.seId)\r\n .subscribe(event => {\r\n // if (event.type === HttpEventType.UploadProgress) {\r\n // this.percentDone = Math.round(100 * event.loaded / event.total);\r\n // this.uploadStatus = `File is ${this.percentDone}% uploaded.`;\r\n // this.percentDone = 0;\r\n // } else if (event instanceof HttpResponse) {\r\n // this.openSnackBar(event.body.message, '');\r\n\r\n // this.uploadStatus = 'File is completely uploaded!';\r\n // if (event.body.flag == \"S\") {\r\n // this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].isUploaded = true;\r\n // this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].documentType = fileType;\r\n // this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].documentName = event.body.fileName;\r\n // }\r\n // if (event.body.returnId == 1) {\r\n // this.isAlldocumentsUploaded = true;\r\n // }\r\n // else {\r\n // this.isAlldocumentsUploaded = false;\r\n // }\r\n // this.resetform();\r\n // }\r\n });\r\n this.efsrservice.setRequestFromEfsr(false);\r\n this.router.navigate(['dashboard']);\r\n }\r\n\r\n preview(documentType: string, documentName: string) {\r\n if (this.requestFromEfsr || this.requestFromROEfsr )\r\n {\r\n var removeFile = new RemoveFile();\r\n removeFile.docId = this.seId;\r\n removeFile.docType = documentType;\r\n this.efsrservice.downloadDoc(removeFile).subscribe(result => {\r\n if (window.navigator.msSaveOrOpenBlob) {\r\n window.navigator.msSaveOrOpenBlob(result, documentName);\r\n } else {\r\n var url = window.URL.createObjectURL(result);\r\n \r\n let link = document.createElement('a');\r\n link.setAttribute('type', 'hidden');\r\n link.href = url;\r\n link.download = documentName;\r\n document.body.appendChild(link);\r\n link.click();\r\n link.remove();\r\n }\r\n this.resetform();\r\n } \r\n );\r\n }\r\n else{\r\n this.vehicleService.downloadDoc(this.seId, documentType).subscribe(result => {\r\n if (window.navigator.msSaveOrOpenBlob) {\r\n window.navigator.msSaveOrOpenBlob(result, documentName);\r\n } else {\r\n var url = window.URL.createObjectURL(result);\r\n \r\n let link = document.createElement('a');\r\n link.setAttribute('type', 'hidden');\r\n link.href = url;\r\n link.download = documentName;\r\n document.body.appendChild(link);\r\n link.click();\r\n link.remove();\r\n }\r\n this.resetform();\r\n } \r\n );\r\n }\r\n\r\n }\r\n\r\n public ClosePopUp(): void {\r\n this.alreadyLoggedIn = false;\r\n }\r\n\r\n public openSnackBar(message: string, action: string) {\r\n this.snackbar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n\r\n resetform(){\r\n this.documentForm.get('documentfile').reset();\r\n this.documentForm.get('documetList').patchValue('0');\r\n this.documentFileValidation=false;\r\n this.documetListValidation=false;\r\n }\r\n\r\n\r\n}\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9Vc2VySGVscC9VcGxvYWRVc2VyTWFudWFsL3VwbG9hZC11c2VyZG9jcy91cGxvYWQtdXNlcmRvY3MuY29tcG9uZW50LnNjc3MifQ== */\"","\nimport { Component, OnInit, ViewChild, Input, Output, EventEmitter } from '@angular/core';\nimport { documentList } from 'src/app/Models/ServiceEngineer/documentList';\nimport { HttpEventType, HttpResponse } from '@angular/common/http';\nimport { FormGroup, FormBuilder, FormControl, Validators, PatternValidator } from '@angular/forms';\nimport { MatSnackBar } from '@angular/material';\nimport { ReturnResponse } from 'src/app/Models/ServiceEngineer/returnResponse.model';\nimport { Router } from '@angular/router';\nimport { VendorSupervisorService } from 'src/app/Services/vendorsupervisor/vendorsupervisor.service';\nimport { efsrService } from 'src/app/Services/EFSR/efsrcreate.service';\nimport { applicationconstant } from 'src/app/Models/DropdownItemsGroup/applicationconstant.model';\nimport { RemoveFile } from 'src/app/Models/common/removeFile.model';\nimport { TicketsAssginedSE } from 'src/app/Services/ServiceEngineer/TicketsAssignedSE.service';\n//import{IName} from 'src/app/Models/TicketsSE/engineername.model';\n//import { BindingFlags } from '@angular/compiler/src/core';\n//import { EFSR, efsrDoc } from 'src/app/Models/EFSR/efsr.model';\n//import { catchError } from 'rxjs/operators';\n//import { patchefsrDraft, EFSRApproveReject } from 'src/app/Models/EFSR/efsrcreate.model';\nimport { UserService } from 'src/app/Services/ServiceEngineer/SECreate.service';\nimport { IName } from 'src/app/Models/TicketsSE/engineername.model';\nimport { Observable } from 'rxjs';\nimport { SECreate } from 'src/app/Models/ServiceEngineer/SECreate.model';\nimport { Constants } from 'src/app/Constants/constants';\n@Component({\n selector: 'app-upload-userdocs',\n templateUrl: './upload-userdocs.component.html',\n styleUrls: ['./upload-userdocs.component.scss']\n})\nexport class UploadUserdocsComponent implements OnInit {\n\n \n documents: documentList[]=[];\n file:File;\n userData:SECreate;\n //efsrDoc: efsrDoc[]=[];\n isDocRequired: boolean = false;\n //public efsr:EFSRApproveReject[];\n isAlldocumentsUploaded: boolean = false;\n //public ShowLoader: boolean;\n uploadStatus: string = '';\n percentDone: number = 0;\n @ViewChild('documentSelected',{static:false}) selectedDoc: any;\n @Input() isEditForm: boolean;\n @Input() seId: number;\n @Input() userId:number;\n //@Input() createdBy:number;\n //@Input() enggName:IName[];\n @Output() valueupdate = new EventEmitter();\n //@Output() submitTheResult: EventEmitter = new EventEmitter();\n // public imagePath;\n // imgURL: any;\n //approvedFlag:number;\n efsrId:number;\n //engId:number;\n alreadyLoggedIn: boolean = false;\n documetListValidation: boolean = false;\n documentFileValidation: boolean = false;\n requestFromEfsr : boolean = false;\n requestFromROEfsr : boolean = true;\n documentForm: FormGroup;\n //isDocumentSectionVisiable: boolean = true;\n //isFormSectionVisible: boolean = false;\n\n document_validation_messages = {\n \n 'documentNumber': [\n { type: 'required', message: 'Please enter document number' }\n ]\n\n }\n\n constructor(private vehicleService: VendorSupervisorService, private efsrservice: efsrService,private fb: FormBuilder, private snackbar: MatSnackBar, private router: Router,private EngineerService: TicketsAssginedSE,private SEservice:UserService)\n {\n this.documentForm = this.fb.group({\n documetList: new FormControl('0', Validators.compose([\n Validators.required\n ])),\n documentfile: new FormControl('', Validators.compose([\n Validators.required\n ])),\n documentNumber: new FormControl('', Validators.compose([\n Validators.required,\n Validators.pattern(\"^[0-9]{10}$\")\n ])),\n createdby:new FormControl('', Validators.compose([\n Validators.required,\n Validators.pattern(\"^[0-9]{10}$\")\n ]))\n })\n }\n\n ngOnInit() {\n this.requestFromEfsr = this.efsrservice.getRequestFromEfsr();\n this.requestFromROEfsr = this.efsrservice.getRequestFromROEfsr();\n this.efsrId= this.EngineerService.getEFSRId();\n \n if (this.requestFromEfsr || this.requestFromROEfsr)\n {\n this.getRequiredDocumentsForEfsr();\n }\n \n else{\n this.getRequiredDocuments();\n \n }\n \n \n }\n\n getRequiredDocuments() {\n this.vehicleService.getRequiredFilest(this.seId).subscribe((data: any) => {\n this.documents = data.results;\n if (this.isEditForm) {\n this.patchFiles();\n }\n });\n }\n\n getRequiredDocumentsForEfsr() {\n this.efsrservice.getRequiredFilest(this.seId).subscribe((data: any) => {\n this.documents = data.results;\n if (this.isEditForm) {\n this.patchFilesEFSR();\n }\n });\n }\n // getRequiredDocumentsForEfsrForm() {\n // this.efsrservice.getRequiredFilesEFSR().subscribe((data: any) => {\n // this.efsrDoc = data.results;\n // if (this.isEditForm) {\n // this.patchFilesEFSRForm();\n // }\n // });\n // }\n checkNumberRequired() {\n this.documentForm.get('documetList').markAsPristine();\n if (this.documentForm.get('documetList').value == applicationconstant.Vehicle_DOC_Registration_Certificate_Copy) {\n }\n else if (this.documentForm.get('documetList').value == applicationconstant.Vehicle_DOC_CommercialPermitCopy) {\n }\n\n this.documentForm.get('documentfile').reset();\n this.documentForm.get('documentNumber').reset();\n }\n\n UploadDocuments(event) {\n const files = event.target.files[0];\n this.documentFileValidation = false;\n // this.selectedDoc.nativeElement.value=event.target.files[0].name;\n this.documents[0].file=files;\n //this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].file = files;\n \n }\n \n private handleError(error: any) {\n // this.errorReceived = true;\n return Observable.throw(error);\n }\n onSubmit() {\n const doc = this.documentForm.get('documetList').value;\n\n if (this.documentForm.get('documetList').value == \"0\") {\n this.documetListValidation = false;\n }\n \n \n\n //const file = this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].file;\n const file=this.documents[0].file;\n const fileType = 'User Manual';\n const docNum = 'test';\n //const crt= this.documentForm.get('createdby').value;\n this.efsrservice.uploadFile(file, fileType, docNum, this.seId)\n .subscribe(event => {\n if (event.type === HttpEventType.UploadProgress) {\n this.percentDone = Math.round(100 * event.loaded / event.total);\n this.uploadStatus = `File is ${this.percentDone}% uploaded.`;\n this.percentDone = 0;\n } else if (event instanceof HttpResponse) {\n this.openSnackBar(event.body.message, '');\n\n this.uploadStatus = 'File is completely uploaded!';\n if (event.body.flag == \"S\") {\n this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].isUploaded = true;\n this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].documentType = fileType;\n this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].documentName = event.body.fileName;\n //this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].createdBy = event.body.createdBy;\n \n }\n if (event.body.returnId == 1) {\n this.isAlldocumentsUploaded = true;\n }\n else {\n this.isAlldocumentsUploaded = false;\n }\n this.resetform();\n this.getRequiredDocumentsForEfsr();\n \n }\n });\n \n }\n\n patchFiles() {\n this.vehicleService.getSEAllDocs(applicationconstant.SEDocument, 0, this.seId).subscribe(\n (data: any) => {\n if (data.flag == \"S\") {\n data.results.forEach(x => { \n if(x.isSuccess==true){ \n this.documents.filter((val) => val.documentId == x.fileType)[0].documentName = x.fileName;\n this.documents.filter((val) => val.documentId == x.fileType)[0].file = x.fileStream;\n this.documents.filter((val) => val.documentId == x.fileType)[0].isUploaded = true;\n //this.documents.filter((val) => val.documentId == x.fileType)[0].createdBy = x.createdBy;\n }\n });\n }\n if (data.returnId == 1) {\n this.isAlldocumentsUploaded = true;\n //this.openSnackBar('Submitted Successfully.Redirecting to Homepage..','');\n \n }\n else {\n this.isAlldocumentsUploaded = false;\n }\n }\n )\n }\n\n patchFilesEFSR() {\n this.vehicleService.getEFSRAllDocs(applicationconstant.EFSRDocument, 0, this.seId).subscribe(\n (data: any) => {\n if (data.flag == \"S\") {\n data.results.forEach(x => { \n if(x.isSuccess==true){ \n this.documents.filter((val) => val.documentId == x.fileType)[0].documentName = x.fileName;\n this.documents.filter((val) => val.documentId == x.fileType)[0].file = x.fileStream;\n this.documents.filter((val) => val.documentId == x.fileType)[0].isUploaded = true;\n //this.documents.filter((val) => val.documentId == x.fileType)[0].createdBy = x.createdBy;\n }\n });\n }\n if (data.returnId == 1) {\n this.isAlldocumentsUploaded = true;\n //this.openSnackBar('Submitted Successfully.Redirecting to Homepage..','');\n }\n else {\n this.isAlldocumentsUploaded = false;\n }\n }\n )\n }\n\n\n// patchFilesEFSRForm() {\n// this.vehicleService.getEFSRReportsList(applicationconstant.EFSRForm, 0, this.seId).subscribe(\n// (data: any) => {\n// if (data.flag == \"S\") {\n// data.results.forEach(x => { \n// if(x.isSuccess==true){ \n// this.efsrDoc.filter((val) => val.id == x.fileType)[0].docName = x.fileName;\n// this.efsrDoc.filter((val) => val.id == x.fileType)[0].file = x.fileStream;\n// this.efsrDoc.filter((val) => val.id == x.fileType)[0].docPath = x.filePath;\n \n// // this.documents.filter((val) => val.documentId == x.fileType)[0].isUploaded = undefined;\n// this.efsrDoc.filter((val) => val.id == x.fileType)[0].createdBy = x.createdBy;\n// }\n// });\n// }\n// if (data.returnId == 1) {\n// this.isAlldocumentsUploaded = true;\n// //this.openSnackBar('Submitted Successfully.Redirecting to Homepage..','');\n// }\n// else {\n// this.isAlldocumentsUploaded = false;\n// }\n// }\n// )\n// }\n removeFile(docType: string) {\n var removeFile = new RemoveFile();\n const docId = this.seId;\n if (this.requestFromEfsr)\n {\n removeFile.docId = docId;\n removeFile.docType = docType;\n this.efsrservice.removeFile(removeFile).subscribe(\n (data: ReturnResponse) => {\n this.openSnackBar(data.message, '');\n this.documents.filter((val) => val.documentId == docType)[0].file = null;\n this.documents.filter((val) => val.documentId == docType)[0].isUploaded = false;\n if (data.returnId == 1) {\n this.isAlldocumentsUploaded = true;\n }\n else {\n this.isAlldocumentsUploaded = false;\n }\n this.resetform();\n this.getRequiredDocumentsForEfsr();\n }\n )\n }\n else\n {\n this.vehicleService.removeFile(docType, docId).subscribe(\n (data: ReturnResponse) => {\n this.openSnackBar(data.message, '');\n this.documents.filter((val) => val.documentId == docType)[0].file = null;\n this.documents.filter((val) => val.documentId == docType)[0].isUploaded = false;\n if (data.returnId == 1) {\n this.isAlldocumentsUploaded = true;\n }\n else {\n this.isAlldocumentsUploaded = false;\n }\n this.resetform();\n this.getRequiredDocumentsForEfsr();\n }\n )\n }\n }\n\n SubmitValues() {\n this.valueupdate.emit(false);\n this.openSnackBar('Submitted Successfully.Redirecting to Homepage..','');\n //this.ShowLoader=true;\n this.router.navigate(['dashboard']);\n }\n\n \n public backToList()\n {\n if (this.requestFromROEfsr)\n {\n this.efsrservice.setRequestFromROEfsr(false);\n this.openSnackBar('Documents Verified Successfully.Going Back to Previous Page..','');\n this.valueupdate.emit(false);\n //this.ShowLoader=false;\n //this.ShowLoader=true;\n //this.efsrservice.setIsDocumentSectionVisibleFromROEfsr(false);\n //this.efsrservice.setIsFormSectionVisibleFromROEfsr(true);\n //this.isFormSectionVisible = true;\n //this.isDocumentSectionVisiable = false;\n }\n else if(this.requestFromEfsr)\n {\n this.efsrservice.setRequestFromEfsr(false);\n this.openSnackBar('Submitted Successfully.Redirecting to Homepage..','');\n this.router.navigate(['dashboard']);\n }\n else\n {\n //this.efsrservice.setRequestFromEfsr(false);\n \n var seProf=new SECreate();\n //const RoFormData: any = Object.assign({}, seProf);\n seProf.seId=this.seId;\n // seProf.userId=this.userId;\n //seProf.userId=this.userId;\n this.SEservice.submitSEDoc(seProf.seId).subscribe(\n (data: any) => {\n // //this.submitted = false;\n // //this.openSnackBar(data.message, '');\n if (data.flag === Constants.SUCCESS_FLAG) {\n //this.openSnackBar(data.message, '');\n this.openSnackBar(data.message, '');\n //this.openSnackBar('Submitted Successfully!','');\n this.router.navigate(['dashboard']);\n \n // //this.form.resetForm();\n }\n },\n (err: any) => {\n // //this.submitted = false;\n this.openSnackBar(err.error.message, '');\n },\n () => { }\n );\n \n //this.ShowLoader=true;\n }\n \n }\n\n ngOnDestroy() {\n this.requestFromEfsr = false;\n this.requestFromROEfsr = false;\n }\n\n public UpdateEFSRStatus()\n {\n this.efsrservice.UpdateEfsrStatus(this.seId)\n .subscribe(event => {\n // if (event.type === HttpEventType.UploadProgress) {\n // this.percentDone = Math.round(100 * event.loaded / event.total);\n // this.uploadStatus = `File is ${this.percentDone}% uploaded.`;\n // this.percentDone = 0;\n // } else if (event instanceof HttpResponse) {\n // this.openSnackBar(event.body.message, '');\n\n // this.uploadStatus = 'File is completely uploaded!';\n // if (event.body.flag == \"S\") {\n // this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].isUploaded = true;\n // this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].documentType = fileType;\n // this.documents.filter((value) => value.documentId == this.selectedDoc.nativeElement.value)[0].documentName = event.body.fileName;\n // }\n // if (event.body.returnId == 1) {\n // this.isAlldocumentsUploaded = true;\n // }\n // else {\n // this.isAlldocumentsUploaded = false;\n // }\n // this.resetform();\n // }\n });\n this.efsrservice.setRequestFromEfsr(false);\n this.router.navigate(['dashboard']);\n }\n\n preview(documentType: string, documentName: string) {\n if (this.requestFromEfsr || this.requestFromROEfsr )\n {\n var removeFile = new RemoveFile();\n removeFile.docId = this.seId;\n removeFile.docType = documentType;\n this.efsrservice.downloadDoc(removeFile).subscribe(result => {\n if (window.navigator.msSaveOrOpenBlob) {\n window.navigator.msSaveOrOpenBlob(result, documentName);\n } else {\n var url = window.URL.createObjectURL(result);\n \n let link = document.createElement('a');\n link.setAttribute('type', 'hidden');\n link.href = url;\n link.download = documentName;\n document.body.appendChild(link);\n link.click();\n link.remove();\n }\n this.resetform();\n } \n );\n }\n else{\n this.vehicleService.downloadDoc(this.seId, documentType).subscribe(result => {\n if (window.navigator.msSaveOrOpenBlob) {\n window.navigator.msSaveOrOpenBlob(result, documentName);\n } else {\n var url = window.URL.createObjectURL(result);\n \n let link = document.createElement('a');\n link.setAttribute('type', 'hidden');\n link.href = url;\n link.download = documentName;\n document.body.appendChild(link);\n link.click();\n link.remove();\n }\n this.resetform();\n } \n );\n }\n\n }\n\n public ClosePopUp(): void {\n this.alreadyLoggedIn = false;\n }\n\n public openSnackBar(message: string, action: string) {\n this.snackbar.open(message, action, {\n duration: 5000,\n verticalPosition: 'top'\n });\n }\n\n resetform(){\n this.documentForm.get('documentfile').reset();\n this.documentForm.get('documetList').patchValue('0');\n this.documentFileValidation=false;\n this.documetListValidation=false;\n }\n\n\n}\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9WZW5kb3JTdXBlcnZpc29yL3JlamVjdC9yZWplY3QuY29tcG9uZW50LnNjc3MifQ== */\"","import { Component, OnInit } from '@angular/core';\r\n//import { Component, OnInit } from '@angular/core';\r\nimport { Inject } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';\r\nimport { FormGroup, FormBuilder, FormControl, Validators } from '@angular/forms';\r\nimport { applicationconstant } from '../../../Models/DropdownItemsGroup/applicationconstant.model';\r\nimport { MatDialog, MatSnackBar, MatAutocompleteModule, MatInputModule } from '@angular/material';\r\nimport { Observable } from 'rxjs';\r\nimport { VendorSupervisorService } from 'src/app/Services/vendorsupervisor/vendorsupervisor.service';\r\nimport{Incident,IncidentReject} from 'src/app/Models/vendorsupervisor/incident.model';\r\n@Component({\r\n selector: 'app-reject',\r\n templateUrl: './reject.component.html',\r\n styleUrls: ['./reject.component.scss']\r\n})\r\nexport class RejectComponent implements OnInit {\r\n\r\n form: FormGroup;\r\n description: string;\r\n submitted: boolean = false;\r\n close: boolean = false;\r\n\r\n validationMessages = {\r\n 'remarks': {\r\n 'required': 'Remarks for Rejection Incident is required.',\r\n },\r\n };\r\n\r\n formErrors = {\r\n 'remarks': ''\r\n };\r\n\r\n constructor(private fb: FormBuilder, public snackBar: MatSnackBar,private vendorservice: VendorSupervisorService,public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data:any) {\r\n this.form = this.fb.group({\r\n remarks: new FormControl(null, Validators.required)\r\n });\r\n }\r\n\r\n onNoClick(): void {\r\n this.dialogRef.close();\r\n }\r\n\r\n onYesClick(): void{\r\n if (this.form.valid) {\r\n const remarks = this.form.get('remarks').value;\r\n const rejectData = new IncidentReject();\r\n rejectData.id = this.data.ticketId;\r\n //rejectData.seId = this.data.seId;\r\n rejectData.incidentId=this.data.incidentId;\r\n //rejectData.sEEmail=null;\r\n rejectData.interactionId= this.data.interactionId;\r\n // rejectData.seemail= this.data.seemail;\r\n rejectData.remarksByVS = remarks;\r\n //rejectData.approveReason=null;\r\n //rejectData.sEEmail = this.data.sEEmail;\r\n //rejectData.ratingByRO = null;\r\n // rejectData.ratingCommentsByRO = null;\r\n // rejectData.approvedFlag = 0;\r\n rejectData.rejectFlag = 1;\r\n\r\n //const seData= new SECreate();\r\n\r\n\r\n this.vendorservice.rejectIncident(rejectData)\r\n .subscribe(\r\n data => {\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.openSnackBar(data.message, '');\r\n this.dialogRef.close(true);\r\n }\r\n else {\r\n this.openSnackBar(data.message, '');\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, '')\r\n );\r\n }\r\n else {\r\n this.ValidateAllFields(this.form);\r\n this.logValidationErrors(this.form);\r\n }\r\n}\r\n\r\n ngOnInit() {\r\n \r\n this.form.valueChanges.subscribe((data) => {\r\n this.logValidationErrors(this.form);\r\n });\r\n }\r\n\r\n logValidationErrors(group: FormGroup = this.form): void {\r\n Object.keys(group.controls).forEach((key: string) => {\r\n const abstractControl = group.get(key);\r\n if (abstractControl instanceof FormGroup) {\r\n this.logValidationErrors(abstractControl)\r\n } else {\r\n this.formErrors[key] = '';\r\n if (abstractControl && !abstractControl.valid && (abstractControl.touched || abstractControl.dirty)) {\r\n const messages = this.validationMessages[key];\r\n\r\n for (const errorKey in abstractControl.errors) {\r\n if (errorKey) {\r\n this.formErrors[key] += messages[errorKey] + '';\r\n }\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n ValidateAllFields(formGroup: FormGroup) {\r\n Object.keys(formGroup.controls).forEach(field => {\r\n const control = formGroup.get(field);\r\n if (control instanceof FormControl) {\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) {\r\n this.ValidateAllFields(control);\r\n }\r\n });\r\n }\r\n\r\n public openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n\r\n private handleError(error: any) {\r\n return Observable.throw(error);\r\n }\r\n}\r\n\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9WZW5kb3JTdXBlcnZpc29yL3ZlbmRvcnN1YnN1cGVydmlzb3IvdmVuZG9yc3Vic3VwZXJ2aXNvci5jb21wb25lbnQuc2NzcyJ9 */\"","import { Component, OnInit,ChangeDetectorRef, ViewChild } from '@angular/core';\r\nimport { FormGroup, FormControl, Validators, FormBuilder, ValidatorFn, AbstractControl } from '@angular/forms';\r\nimport { MatDialog, MatSnackBar } from '@angular/material';\r\n//import { UserService } from 'src/app/Services/ServiceEngineer/SECreate.service';\r\nimport { VSSCreateService } from 'src/app/Services/vendorsupervisor/VSSCreate.service';\r\n//import { SECreate } from 'src/app/Models/ServiceEngineer/SECreate.model';\r\nimport { VSSCreate } from 'src/app/Models/vendorsupervisor/VSS-Create.model';\r\nimport { Observable } from 'rxjs';\r\nimport { catchError } from 'rxjs/operators';\r\nimport { UniqueUsernameValidator } from 'src/app/shared/unique-username-validator.directive';\r\nimport { ConfigurationService } from 'src/app/Services/Utilities/configuration.service';\r\nimport { Constants } from 'src/app/Constants/constants';\r\nimport { IState } from 'src/app/Models/common/state.model';\r\nimport { Icity } from 'src/app/Models/common/city.model';\r\nimport { VendorSupervisor, VendorSubSupervisor } from 'src/app/Models/vendorsupervisor/vendor-supervisor.model';\r\nimport { Router } from '@angular/router';\r\nimport { MatOption } from '@angular/material';\r\nimport { applicationconstant } from 'src/app/Models/DropdownItemsGroup/applicationconstant.model';\r\nimport { VendorService } from 'src/app/Services/master/vendor.service';\r\n\r\n@Component({\r\n selector: 'app-vendorsubsupervisor',\r\n templateUrl: './vendorsubsupervisor.component.html',\r\n styleUrls: ['./vendorsubsupervisor.component.scss']\r\n})\r\nexport class VendorsubsupervisorComponent implements OnInit {\r\n public submitted: boolean;\r\n public selectedReference: string;\r\n isUserTypeSelected:boolean=false;\r\n channelPartners = []; \r\n public state: IState[];\r\n public selectedState: string[]= [];\r\n public selectedCity: string[]= [];\r\n public city: Icity[];\r\n public mobileExists: boolean;\r\n public alternatemobileExists: boolean;\r\n public emailExists: boolean;\r\n public alternateemailExists: boolean;\r\n public userExists: boolean;\r\n public pincodeExists: boolean;\r\n isDocumentSectionVisiable: boolean = false;\r\n isFormSectionVisible: boolean = true;\r\n seId: number = 0;\r\n levelToCreate: number = 0;\r\n isEditForm: boolean = false;\r\n\r\n startdate : Date;\r\n username:string;\r\n @ViewChild('form', {static: false}) form;\r\n @ViewChild('referenceid', {static: false}) referenceElement: any;\r\n \r\n\r\n userTypesDisabledMap: Map;\r\n stateDisabledMap: Map;\r\n cityDisabledMap: Map;\r\n ShowLoader: boolean;\r\n\r\n omit_special_char(event)\r\n{ \r\n var k; \r\n k = event.keyCode; // k = event.keyCode; (Both can be used)\r\n return((k > 64 && k < 91) || (k > 96 && k < 123) || k == 8 || k == 32 || (k >= 48 && k <= 57)||(k >= 96 && k <= 105)); \r\n \r\n}\r\n\r\nvalidationMessages = {\r\n 'VendorID': {\r\n 'required': 'Vendor ID is required'\r\n },\r\n 'username': {\r\n 'required': 'Username is required.',\r\n 'minlength': 'Username must be at least 5 characters long.',\r\n 'maxlength': 'Username cannot be more than 100 characters long.',\r\n 'pattern': 'Your username must contain only numbers and alphabets.',\r\n 'usernameTaken': 'Username is already in use.'\r\n },\r\n 'firstName': {\r\n 'required': 'First name is required.',\r\n 'maxlength': 'First name cannot be more than 250 characters long.',\r\n 'pattern': 'Your first name must contain only alphabets.'\r\n },\r\n 'lastName': {\r\n 'required': 'Last name is required.',\r\n 'maxlength': 'Last name cannot be more than 250 characters long.',\r\n 'pattern': 'Your last name must contain only numbers and alphabets.'\r\n },\r\n 'mobile': {\r\n 'required': 'Mobile is required.',\r\n 'minlength': 'Mobile must be of 10 digits.',\r\n 'pattern': 'Mobile is invalid.'\r\n },\r\n 'Amobile': {\r\n 'minlength': 'Mobile must be of 10 digits.',\r\n 'pattern': 'Mobile is invalid.'\r\n },\r\n 'email': {\r\n 'required': 'Email is required.',\r\n 'maxlength': 'Email cannot be more than 100 characters long.',\r\n 'pattern': 'Email is invalid.'\r\n },\r\n 'Aemail': {\r\n 'maxlength': 'Email cannot be more than 100 characters long.',\r\n 'pattern': 'Email is invalid.'\r\n },\r\n 'Organization': {\r\n 'required': 'Organization is Required.'\r\n },\r\n 'Address': {\r\n 'maxlength': 'Address cannot be more than 100 characters long.'\r\n },\r\n 'PIN': {\r\n 'required': 'PIN is required.',\r\n 'pattern': 'PIN should be numeric.',\r\n 'minlength': 'PIN should be 6 digits long.'\r\n },\r\n 'State': {\r\n 'required': 'State is required.'\r\n },\r\n 'StatefirstLvl': {\r\n 'required': 'State is required.'\r\n },\r\n 'City': {\r\n 'required': 'City is required.'\r\n }\r\n};\r\n\r\nformErrors = {\r\n 'VendorID': '',\r\n 'username': '',\r\n 'firstName': '',\r\n 'lastName': '',\r\n 'mobile': '',\r\n 'Amobile': '',\r\n 'email': '',\r\n 'Aemail': '',\r\n 'Organization': '',\r\n 'Address': '',\r\n 'PIN': '',\r\n 'State': '',\r\n 'StatefirstLvl': '',\r\n 'City': ''\r\n};\r\n\r\n public account_validation_messages = {\r\n 'username': [\r\n { type: 'required', message: 'UserID is required' },\r\n { type: 'minlength', message: 'UserID must be of 4 digits' },\r\n ],\r\n 'firstname': [\r\n { type: 'required', message: 'First name is required' },\r\n { type: 'maxlength', message: 'First name cannot be more than 250 characters long' },\r\n { type: 'pattern', message: 'Your first name must contain only alphabets' }\r\n ],\r\n 'middlename': [\r\n { type: 'maxlength', message: 'Middle name cannot be more than 250 characters long' },\r\n { type: 'pattern', message: 'Your first name must contain only alphabets' }\r\n ],\r\n 'lastname': [\r\n { type: 'required', message: 'Last name is required' },\r\n { type: 'maxlength', message: 'Last name cannot be more than 250 characters long' },\r\n { type: 'pattern', message: 'Your last name must contain only alphabets' }\r\n ],\r\n 'mobile': [\r\n { type: 'required', message: 'Mobile is required' },\r\n { type: 'minlength', message: 'Mobile must be of 10 digits' },\r\n { type: 'pattern', message: 'Mobile is invalid' }\r\n ],\r\n 'email': [\r\n { type: 'required', message: 'Email is required' },\r\n { type: 'maxlength', message: 'Email cannot be more than 100 characters long' },\r\n { type: 'pattern', message: 'Email is invalid' }\r\n ],\r\n 'channelPartner': [\r\n { type: 'required', message: 'Channel Partner is required' }\r\n ],\r\n 'reference': [\r\n { type:'required',message:'Please select reference value'}\r\n ],\r\n 'DOB': {\r\n 'required': 'DOB is required.',\r\n 'matDatepickerMin': 'DOB should be past date.'\r\n }, \r\n 'state': [\r\n { type: 'required', message: 'state is required' },\r\n ],\r\n city: [\r\n { type: 'required', message: 'city is required' },\r\n ],\r\n 'pincode': [\r\n { type: 'required', message: 'pincode is required' },\r\n { type: 'minlength', message: 'pincode must be of 6 digits' },\r\n { type: 'pattern', message: 'pincode is invalid' }\r\n ]\r\n };\r\n\r\n constructor(private SEService: VSSCreateService,\r\n private fb: FormBuilder,\r\n public snackBar: MatSnackBar,\r\n private router: Router,\r\n private configurationService: ConfigurationService,\r\n private VSSService: VendorService,\r\n private cdr:ChangeDetectorRef) {\r\n this.createForm();\r\n\r\n this.submitted = false;\r\n\r\n this.mobileExists = false;\r\n this.emailExists = false;\r\n this.alternatemobileExists = false;\r\n this.alternateemailExists = false;\r\n this.pincodeExists = false;\r\n this.userExists = false;\r\n\r\n this.stateDisabledMap = new Map();\r\n this.cityDisabledMap = new Map();\r\n }\r\n\r\n\r\n createForm() {\r\n this.VSSRegisterForm = this.fb.group({\r\n username: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(100)\r\n \r\n ]),\r\n ),\r\n firstName: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(250),\r\n //Validators.pattern('^[A-Za-z]+(?:[A-Za-z]+)*$')\r\n //Validators.pattern('/^[a-zA-Z]+$/')\r\n Validators.pattern('^[A-Za-z]+(?:[A-Za-z]+)*$')\r\n ])),\r\n \r\n lastName: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(250),\r\n // Validators.pattern('^[A-Za-z]+(?:[A-Za-z]+)*$')\r\n Validators.pattern('^[a-zA-Z0-9 ]*$')\r\n ])),\r\n mobile: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.minLength(10),\r\n Validators.pattern('^[6-9][0-9]{9}$')\r\n ])),\r\n Amobile: new FormControl('', Validators.compose([\r\n Validators.minLength(10),\r\n Validators.pattern('^[6-9][0-9]{9}$')\r\n ])),\r\n email: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(100),\r\n Validators.pattern('^([a-zA-Z0-9_\\.\\-])+\\@(([a-zA-Z0-9\\-])+\\.)+([a-zA-Z0-9]{2,4})+$')\r\n ])),\r\n\r\n Aemail: new FormControl('', Validators.compose([\r\n \r\n Validators.maxLength(100),\r\n Validators.pattern('^([a-zA-Z0-9_\\.\\-])+\\@(([a-zA-Z0-9\\-])+\\.)+([a-zA-Z0-9]{2,4})+$')\r\n ])),\r\n Organization: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(100),\r\n //Validators.pattern('^([a-zA-Z0-9_\\.\\-])+\\@(([a-zA-Z0-9\\-])+\\.)+([a-zA-Z0-9]{2,4})+$')\r\n ])),\r\n \r\n Address: new FormControl('', Validators.compose([\r\n \r\n Validators.maxLength(100),\r\n //Validators.pattern('^([a-zA-Z0-9_\\.\\-])+\\@(([a-zA-Z0-9\\-])+\\.)+([a-zA-Z0-9]{2,4})+$')\r\n ])),\r\n PIN: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(6),\r\n Validators.minLength(6),\r\n Validators.pattern('^[0-9]*$')\r\n ])),\r\n State: new FormControl('', Validators.compose([\r\n ])),\r\n StatefirstLvl: new FormControl('', Validators.compose([\r\n ])),\r\n City: new FormControl('', Validators.compose([\r\n ])),\r\n \r\n\r\n // reference: new FormControl({ disabled: true, value: '' },[Validators.required]),\r\n \r\n });\r\n }\r\n\r\n // createForm() {\r\n // this.VSSRegisterForm = this.fb.group({\r\n // username: new FormControl('', Validators.compose([\r\n // Validators.required,\r\n \r\n // ]),\r\n // ),\r\n // firstName: new FormControl('', Validators.compose([\r\n // Validators.required,\r\n // Validators.maxLength(250),\r\n // Validators.pattern('^[A-Za-z]+(?:[A-Za-z]+)*$') \r\n // ])),\r\n // middleName: new FormControl('', Validators.compose([\r\n // Validators.maxLength(250),\r\n // Validators.pattern('^[A-Za-z]+(?:[A-Za-z]+)*$') \r\n // ])),\r\n // lastName: new FormControl('', Validators.compose([\r\n // Validators.required,\r\n // Validators.maxLength(250),\r\n // Validators.pattern('^[A-Za-z]+(?:[A-Za-z]+)*$') \r\n // ])),\r\n // mobile: new FormControl('', Validators.compose([\r\n // Validators.required,\r\n // Validators.minLength(10),\r\n // Validators.pattern('^[6-9][0-9]{9}$')\r\n // ])),\r\n // pincode: new FormControl('', Validators.compose([\r\n // Validators.required,\r\n // Validators.minLength(6),\r\n // Validators.pattern('^[1-9][0-9]{5}$')\r\n // ])),\r\n // email: new FormControl('', Validators.compose([\r\n // Validators.required,\r\n // Validators.maxLength(100),\r\n // Validators.pattern('^([a-zA-Z0-9_\\.\\-])+\\@(([a-zA-Z0-9\\-])+\\.)+([a-zA-Z0-9]{2,4})+$')\r\n // ])),\r\n // state: new FormControl('', Validators.compose([\r\n // Validators.required,\r\n // ])),\r\n // city: new FormControl('', Validators.compose([\r\n // Validators.required,\r\n // ])),\r\n // DOB: new FormControl('', Validators.compose([\r\n // Validators.required,\r\n // Validators.maxLength(250),\r\n // ])),\r\n // channelPartner: new FormControl(null),\r\n // });\r\n // }\r\n \r\n public VSSRegisterForm: FormGroup;\r\n ngOnInit() {\r\n this.startdate=new Date();\r\n this.startdate.setDate(this.startdate.getDate() - 7665);\r\n // this.SEService.getVSSStates()\r\n // .pipe(catchError((err) => this.handleError(err)))\r\n // .subscribe((data: any) => {\r\n // this.state = data.results; \r\n // });\r\n var NewSEID = this.SEService.getUniqueUserName()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n NewSEID = data.uniqueId; \r\n this.levelToCreate = data.level; \r\n if (this.levelToCreate == 1)\r\n {\r\n this.SEService.getStates()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.state = data.results; \r\n });\r\n this.VSSRegisterForm.controls['StatefirstLvl'].setValidators([Validators.required]);\r\n this.VSSRegisterForm.controls[\"StatefirstLvl\"].updateValueAndValidity();\r\n this.VSSRegisterForm.controls['State'].clearValidators();\r\n this.VSSRegisterForm.controls[\"State\"].updateValueAndValidity();\r\n this.VSSRegisterForm.controls['City'].clearValidators();\r\n this.VSSRegisterForm.controls[\"City\"].updateValueAndValidity();\r\n }\r\n else\r\n {\r\n this.SEService.getVSSStates()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.state = data.results; \r\n });\r\n this.VSSRegisterForm.controls['State'].setValidators([Validators.required]);\r\n this.VSSRegisterForm.controls[\"State\"].updateValueAndValidity();\r\n this.VSSRegisterForm.controls['StatefirstLvl'].clearValidators();\r\n this.VSSRegisterForm.controls[\"StatefirstLvl\"].updateValueAndValidity();\r\n this.VSSRegisterForm.controls['City'].setValidators([Validators.required]);\r\n this.VSSRegisterForm.controls[\"City\"].updateValueAndValidity();\r\n }\r\n this.username = String(NewSEID); \r\n this.VSSRegisterForm.get('username').setValue(NewSEID); \r\n });\r\n\r\n \r\n\r\n this.VSSRegisterForm.valueChanges.subscribe((data) => {\r\n this.logValidationErrors(this.VSSRegisterForm);\r\n });\r\n }\r\nFillCityDD(Slectedstate:any)\r\n{\r\n if (this.selectedState.length > 0) {\r\n var index_of_selected_option = this.selectedState.indexOf(Slectedstate.name);\r\n if (index_of_selected_option != -1) {\r\n this.selectedState.splice(index_of_selected_option, 1)\r\n }\r\n else {\r\n this.selectedState = this.selectedState.concat(Slectedstate.name);\r\n }\r\n }\r\n else {\r\n this.selectedState = this.selectedState.concat(Slectedstate.name);\r\n }\r\n\r\n if (this.selectedState.length ==1)\r\n {\r\n this.VSSRegisterForm.controls['City'].setValidators([Validators.required]);\r\n this.VSSRegisterForm.controls[\"City\"].updateValueAndValidity();\r\n }\r\n else\r\n {\r\n this.VSSRegisterForm.controls['City'].clearValidators();\r\n this.VSSRegisterForm.controls[\"City\"].updateValueAndValidity();\r\n }\r\n\r\n if (this.levelToCreate == 2)\r\n {\r\n this.SEService.getVSSCity(this.selectedState)\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.city = data.results; \r\n });\r\n }\r\n else\r\n {\r\n this.SEService.getVSSCities()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.city = data.results; \r\n });\r\n\r\n }\r\n\r\n}\r\n\r\nselectedStates(state :any): void {\r\n if (this.selectedState.length > 0) {\r\n var index_of_selected_option = this.selectedState.indexOf(state.name);\r\n if (index_of_selected_option != -1) {\r\n this.selectedState.splice(index_of_selected_option, 1)\r\n }\r\n else {\r\n this.selectedState = this.selectedState.concat(state.name);\r\n }\r\n }\r\n else {\r\n this.selectedState = this.selectedState.concat(state.name);\r\n }\r\n}\r\n\r\nselectedCities(city :any): void {\r\n if (this.selectedCity.length > 0) {\r\n var index_of_selected_option = this.selectedCity.indexOf(city.name);\r\n if (index_of_selected_option != -1) {\r\n this.selectedCity.splice(index_of_selected_option, 1)\r\n }\r\n else {\r\n this.selectedCity = this.selectedCity.concat(city.name);\r\n }\r\n }\r\n else {\r\n this.selectedCity = this.selectedCity.concat(city.name);\r\n }\r\n}\r\n\r\n\r\n\r\nselectAll(ev){\r\n \r\n if(ev._selected){\r\n this.city.forEach(x => {\r\n this.selectedCity = this.selectedCity.concat(x.name);\r\n });\r\n // this.VSSRegisterForm.controls.userType\r\n // .patchValue([...this.VSSRegisterForm.map(item => item.key), 0])\r\n this.VSSRegisterForm.controls['City'].setValue(this.selectedCity);\r\n ev._selected=true;\r\n }\r\n if(ev._selected==false){\r\n this.selectedCity = [];\r\n this.VSSRegisterForm.controls['City'].setValue([]);\r\n }\r\n \r\n}\r\n\r\n // onSubmit(form: any) {\r\n // this.submitted = true;\r\n\r\n // // stop here if form is invalid\r\n // if (!this.VSSRegisterForm.valid) {\r\n // this.submitted=false;\r\n // return;\r\n // }\r\n\r\n // const userDetails = Object.assign({}, this.VSSRegisterForm.value);\r\n // const newUser = new VSSCreate();\r\n // newUser.username = userDetails.username;\r\n // newUser.firstName = userDetails.firstName;\r\n // newUser.lastName = userDetails.lastName;\r\n // newUser.email = userDetails.email;\r\n // newUser.mobile = userDetails.mobile;\r\n // newUser.middleName = userDetails.middleName;\r\n // newUser.DOB=new Date(Date.UTC((userDetails.DOB.getFullYear()),userDetails.DOB.getMonth(),userDetails.DOB.getDate()));\r\n // // newUser.address=userDetails.address;\r\n // newUser.state=userDetails.state;\r\n // newUser.city=userDetails.city;\r\n // newUser.pincode=userDetails.pincode;\r\n // this.SEService.createVSSUser(newUser)\r\n // .subscribe(\r\n // (data: any) => {\r\n // this.submitted = false;\r\n // this.openSnackBar(data.message, '');\r\n // if (data.flag === Constants.SUCCESS_FLAG) {\r\n // this.openSnackBar(data.message, '');\r\n // this.form.resetForm();\r\n // this.isFormSectionVisible = false;\r\n // this.seId = data.returnId;\r\n // this.isDocumentSectionVisiable = true;\r\n // }\r\n // },\r\n // (err: any) => {\r\n // this.submitted = false;\r\n // this.openSnackBar(err.error.message, '');\r\n // },\r\n // () => { }\r\n // );\r\n // }\r\n\r\n\r\n  public backToList()\r\n        {\r\n           this.router.navigate(['dashboard']);\r\n        }\r\n\r\n onSubmit() {\r\n if(this.mobileExists || this.emailExists || this.alternateemailExists || this.alternatemobileExists)\r\n {\r\n this.submitted=false;\r\n return;\r\n }\r\n \r\n if (this.VSSRegisterForm.valid) {\r\n this.ShowLoader =true;\r\n const userDetails = Object.assign({}, this.VSSRegisterForm.value);\r\n const newUser = new VendorSubSupervisor();\r\n newUser.username = userDetails.username;\r\n newUser.VendorID = userDetails.username;\r\n newUser.firstName = userDetails.firstName;\r\n newUser.lastName = userDetails.lastName;\r\n newUser.email = userDetails.email;\r\n newUser.mobile = userDetails.mobile;\r\n newUser.Aemail = userDetails.Aemail;\r\n newUser.Amobile = userDetails.Amobile;\r\n newUser.State = this.selectedState;\r\n newUser.City = this.selectedCity;\r\n newUser.PIN = userDetails.PIN;\r\n newUser.Address = userDetails.Address;\r\n newUser.Organization = userDetails.Organization;\r\n newUser.level = this.levelToCreate;\r\n this.SEService.createVSSUser(newUser)\r\n .subscribe(\r\n (data: any) => {\r\n if (data.flag === Constants.SUCCESS_FLAG) {\r\n this.openSnackBar(data.message, '');\r\n this.router.navigate(['dashboard']);\r\n //this.ShowLoader =false;\r\n }\r\n else\r\n {\r\n this.openSnackBar(data.message, '');\r\n //this.ShowLoader =false;\r\n }\r\n },\r\n (err: any) => {\r\n if (err.error != null)\r\n {\r\n this.openSnackBar(err.error.message, '')\r\n }\r\n else\r\n {\r\n this.openSnackBar(err,'');\r\n }\r\n this.ShowLoader =false;\r\n });\r\n }\r\n else\r\n {\r\n this.ValidateAllFields(this.VSSRegisterForm);\r\n this.logValidationErrors(this.VSSRegisterForm);\r\n }\r\n\r\n \r\n }\r\n\r\n resetForm() {\r\n this.form.reset();\r\n this.VSSRegisterForm.clearValidators();\r\n\r\n this.VSSRegisterForm.markAsUntouched();\r\n this.VSSRegisterForm.markAsPristine();\r\n\r\n this.mobileExists = false;\r\n this.emailExists = false;\r\n this.alternateemailExists = false;\r\n this.alternatemobileExists = false;\r\n this.pincodeExists = false;\r\n this.userExists = false;\r\n }\r\n\r\n checkMobile() {\r\n if (this.VSSRegisterForm.get('mobile').valid) {\r\n const mobile = this.VSSRegisterForm.get('mobile').value;\r\n\r\n const searchType = 'mobile';\r\n\r\n this.VSSService.CheckMobileEmail(searchType, mobile).subscribe(\r\n (data: any) => {\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.mobileExists = false;\r\n } else {\r\n this.mobileExists = true;\r\n }\r\n },\r\n (err: any) => { },\r\n );\r\n }\r\n }\r\n\r\n checkUserID() {\r\n if (this.VSSRegisterForm.get('username').valid) {\r\n const useridsel = 'SE'+this.VSSRegisterForm.get('username').value;\r\n\r\n const searchType = 'username';\r\n\r\n this.SEService.searchUser(searchType, useridsel).subscribe(\r\n (data: any) => {\r\n if (data.result !== null) {\r\n this.userExists = true;\r\n } else {\r\n this.userExists = false;\r\n }\r\n },\r\n (err: any) => { },\r\n );\r\n }\r\n }\r\n \r\n checkEmail() {\r\n if (this.VSSRegisterForm.get('email').valid) {\r\n const email = this.VSSRegisterForm.get('email').value;\r\n\r\n const searchType = 'email';\r\n\r\n this.VSSService.CheckMobileEmail(searchType, email).subscribe(\r\n (data: any) => {\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.emailExists = false;\r\n } else {\r\n this.emailExists = true;\r\n }\r\n },\r\n (err: any) => { },\r\n );\r\n }\r\n }\r\n \r\n checkAMobile() {\r\n if (this.VSSRegisterForm.get('Amobile').valid) {\r\n const mobile = this.VSSRegisterForm.get('Amobile').value;\r\n\r\n const searchType = 'mobile';\r\n\r\n this.VSSService.CheckMobileEmail(searchType, mobile).subscribe(\r\n (data: any) => {\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.alternatemobileExists = false;\r\n } else {\r\n this.alternatemobileExists = true;\r\n }\r\n },\r\n (err: any) => { },\r\n );\r\n }\r\n }\r\n\r\n checkAlternateEmail() {\r\n if (this.VSSRegisterForm.get('Aemail').valid) {\r\n const email = this.VSSRegisterForm.get('Aemail').value;\r\n\r\n const searchType = 'email';\r\n\r\n this.VSSService.CheckMobileEmail(searchType, email).subscribe(\r\n (data: any) => {\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.alternateemailExists = false;\r\n } else {\r\n this.alternateemailExists = true;\r\n }\r\n },\r\n (err: any) => { },\r\n );\r\n }\r\n }\r\n\r\n\r\n\r\n openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n\r\n private handleError(error: any) {\r\n return Observable.throw(error);\r\n }\r\n\r\n logValidationErrors(group: FormGroup = this.VSSRegisterForm): void {\r\n Object.keys(group.controls).forEach((key: string) => {\r\n const abstractControl = group.get(key);\r\n if (abstractControl instanceof FormGroup) {\r\n this.logValidationErrors(abstractControl)\r\n } else {\r\n this.formErrors[key] = '';\r\n if (abstractControl && !abstractControl.valid && (abstractControl.touched || abstractControl.dirty)) {\r\n const messages = this.validationMessages[key];\r\n\r\n for (const errorKey in abstractControl.errors) {\r\n if (errorKey) {\r\n this.formErrors[key] += messages[errorKey] + '';\r\n }\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n ValidateAllFields(formGroup: FormGroup) {\r\n Object.keys(formGroup.controls).forEach(field => {\r\n const control = formGroup.get(field);\r\n if (control instanceof FormControl) {\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) {\r\n this.ValidateAllFields(control);\r\n }\r\n });\r\n }\r\n\r\n}\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9WZW5kb3JTdXBlcnZpc29yL3ZlbmRvcnN1cGVydmlzb3ItcmVnaXN0cmF0aW9uL3ZlbmRvcnN1cGVydmlzb3ItcmVnaXN0cmF0aW9uLmNvbXBvbmVudC5zY3NzIn0= */\"","import { Component, OnInit,ChangeDetectorRef,ViewChild } from '@angular/core';\r\nimport { FormGroup, FormControl, Validators, FormBuilder, ValidatorFn, AbstractControl } from '@angular/forms';\r\nimport { MatDialog, MatSnackBar } from '@angular/material';\r\nimport { VendorsupervisorregisterService } from 'src/app/Services/vendorsupervisor/vendorsupervisorregister.service';\r\nimport { VendorSupervisor } from 'src/app/Models/vendorsupervisor/vendor-supervisor.model';\r\nimport { LoginService } from 'src/app/Services/loginmanagement/login.service';\r\nimport { Router } from '@angular/router';\r\nimport { IRole } from 'src/app/Models/usermanagement/role.model';\r\nimport { Observable } from 'rxjs';\r\nimport { IUserType } from 'src/app/Models/usermanagement/usertype.model';\r\nimport { catchError } from 'rxjs/operators';\r\nimport { UniqueUsernameValidator } from 'src/app/shared/unique-username-validator.directive';\r\nimport { ConfigurationService } from 'src/app/Services/Utilities/configuration.service';\r\nimport { Constants } from 'src/app/Constants/constants';\r\nimport { IState } from 'src/app/Models/common/state.model';\r\nimport { Icity } from 'src/app/Models/common/city.model';\r\nimport { VendorsupervisoreditService } from 'src/app/Services/vendorsupervisor/vendorsupervisoredit.service';\r\nimport { VSSCreateService } from 'src/app/Services/vendorsupervisor/VSSCreate.service';\r\n@Component({\r\n selector: 'app-vendorsupervisor-registration',\r\n templateUrl: './vendorsupervisor-registration.component.html',\r\n styleUrls: ['./vendorsupervisor-registration.component.scss']\r\n})\r\nexport class VendorsupervisorRegistrationComponent implements OnInit {\r\n\r\n \r\n public submitted: boolean;\r\n public ShowLoader: boolean;\r\n \r\n public mobileExists: boolean;\r\n public emailExists: boolean;\r\n public alternateemailExists: boolean;\r\n public roles: IRole[];\r\n public State: IState[];\r\n public City: Icity[];\r\n public intialEmailId : string;\r\n \r\n @ViewChild('form', {static: false}) form;\r\n\r\n constructor(private SEService: VSSCreateService,private router: Router,\r\n private userService: VendorsupervisorregisterService,\r\n private userEditService: VendorsupervisoreditService,\r\n private userLoginService: LoginService,\r\n private fb: FormBuilder,\r\n public snackBar: MatSnackBar,\r\n private configurationService: ConfigurationService,\r\n private cdr:ChangeDetectorRef) {\r\n this.createForm();\r\n\r\n this.submitted = false;\r\n \r\n\r\n this.mobileExists = false;\r\n this.emailExists = false;\r\n\r\n }\r\n\r\n resetForm() {\r\n //this.form.reset();\r\n // this.form.control.controls['lastName','username','mobile'].reset();\r\n this.form.control.controls['lastName'].reset();\r\n this.form.control.controls['username'].reset();\r\n this.form.control.controls['mobile'].reset();\r\n this.form.control.controls['firstName'].reset();\r\n this.form.control.controls['Address'].reset();\r\n this.form.control.controls['Aemail'].reset();\r\n this.form.control.controls['email'].reset();\r\n this.form.control.controls['Amobile'].reset();\r\n this.form.control.controls['Organization'].reset();\r\n this.form.control.controls['State'].reset();\r\n this.form.control.controls['City'].reset();\r\n this.form.control.controls['PIN'].reset();\r\n var ExistVendorID = this.userLoginService.GetFirstTimeLoginUserInput();\r\n this.VendorSupervisorRegForm.get('VendorID').setValue(ExistVendorID); \r\n \r\n // clear validators and dont remove them\r\n this.VendorSupervisorRegForm.clearValidators();\r\n \r\n this.VendorSupervisorRegForm.markAsUntouched();\r\n this.VendorSupervisorRegForm.markAsPristine();\r\n // let control: AbstractControl = null;\r\n // Object.keys(this.createUserForm.controls).forEach((name) => {\r\n // control = this.createUserForm.controls[name];\r\n // control.setErrors(null);\r\n // });\r\n \r\n this.mobileExists = false;\r\n this.emailExists = false;\r\n \r\n \r\n }\r\n\r\n public account_validation_messages = {\r\n 'VendorID': [\r\n { type: 'required', message: 'Vendor ID is required' }\r\n ],\r\n 'username': [\r\n { type: 'required', message: 'Username is required' },\r\n { type: 'minlength', message: 'Username must be at least 5 characters long' },\r\n { type: 'maxlength', message: 'Username cannot be more than 100 characters long' },\r\n { type: 'pattern', message: 'Your username must contain only numbers and alphabets' },\r\n { type: 'usernameTaken', message: 'Username is already in use.' }\r\n ],\r\n 'firstname': [\r\n { type: 'required', message: 'First name is required' },\r\n { type: 'maxlength', message: 'First name cannot be more than 250 characters long' },\r\n { type: 'pattern', message: 'Your first name must contain only alphabets' }\r\n ],\r\n \r\n 'lastname': [\r\n { type: 'required', message: 'Last name is required' },\r\n { type: 'maxlength', message: 'Last name cannot be more than 250 characters long' },\r\n { type: 'pattern', message: 'Your last name must contain only numbers and alphabets' }\r\n ],\r\n 'mobile': [\r\n { type: 'required', message: 'Mobile is required' },\r\n { type: 'minlength', message: 'Mobile must be of 10 digits' },\r\n { type: 'pattern', message: 'Mobile is invalid' }\r\n ],\r\n 'Amobile': [\r\n // { type: 'required', message: 'Mobile is required' },\r\n { type: 'minlength', message: 'Mobile must be of 10 digits' },\r\n { type: 'pattern', message: 'Mobile is invalid' }\r\n ],\r\n 'email': [\r\n { type: 'required', message: 'Email is required' },\r\n { type: 'maxlength', message: 'Email cannot be more than 100 characters long' },\r\n { type: 'pattern', message: 'Email is invalid' }\r\n ],\r\n 'Aemail': [\r\n // { type: 'required', message: 'Email is required' },\r\n { type: 'maxlength', message: 'Email cannot be more than 100 characters long' },\r\n { type: 'pattern', message: 'Email is invalid' }\r\n ],\r\n 'Address': [\r\n //{ type: 'required', message: 'Address is required' },\r\n { type: 'maxlength', message: 'Address cannot be more than 100 characters long' },\r\n \r\n \r\n ],\r\n 'PIN': [\r\n { type: 'required', message: 'PIN is required' },\r\n // { type: 'pattern', message: 'PIN is invalid' }\r\n { type: 'pattern', message: 'PIN should be numeric' },\r\n { type: 'minlength', message: 'PIN should be 6 digits long' },\r\n ],\r\n 'State': [\r\n { type: 'required', message: 'State is required' },\r\n // { type: 'pattern', message: 'PIN is invalid' }\r\n ],\r\n 'City': [\r\n { type: 'required', message: 'City is required' },\r\n // { type: 'pattern', message: 'PIN is invalid' }\r\n ],\r\n 'Organization':[\r\n { type: 'required', message: 'Organization is Required'},\r\n ]\r\n \r\n };\r\n\r\n validationMessages = {\r\n 'VendorID': {\r\n 'required': 'Vendor ID is required'\r\n },\r\n 'username': {\r\n 'required': 'Username is required.',\r\n 'minlength': 'Username must be at least 5 characters long.',\r\n 'maxlength': 'Username cannot be more than 100 characters long.',\r\n 'pattern': 'Your username must contain only numbers and alphabets.',\r\n 'usernameTaken': 'Username is already in use.'\r\n },\r\n 'firstName': {\r\n 'required': 'First name is required.',\r\n 'maxlength': 'First name cannot be more than 250 characters long.',\r\n 'pattern': 'Your first name must contain only alphabets.'\r\n },\r\n 'lastName': {\r\n 'required': 'Last name is required.',\r\n 'maxlength': 'Last name cannot be more than 250 characters long.',\r\n 'pattern': 'Your last name must contain only numbers and alphabets.'\r\n },\r\n 'mobile': {\r\n 'required': 'Mobile is required.',\r\n 'minlength': 'Mobile must be of 10 digits.',\r\n 'pattern': 'Mobile is invalid.'\r\n },\r\n 'Amobile': {\r\n 'minlength': 'Mobile must be of 10 digits.',\r\n 'pattern': 'Mobile is invalid.'\r\n },\r\n 'email': {\r\n 'required': 'Email Id is required.',\r\n 'maxlength': 'Email Id cannot be more than 100 characters long.',\r\n 'pattern': 'Email Id is invalid.'\r\n },\r\n 'Aemail': {\r\n 'maxlength': 'Email Id cannot be more than 100 characters long.',\r\n 'pattern': 'Email Id is invalid.'\r\n },\r\n 'Organization': {\r\n 'required': 'Organization is Required.'\r\n },\r\n 'Address': {\r\n 'maxlength': 'Address cannot be more than 100 characters long.'\r\n },\r\n 'PIN': {\r\n 'required': 'PIN Code is required.',\r\n 'pattern': 'PIN Code should be numeric.',\r\n 'minlength': 'PIN Code should be 6 digits long.'\r\n },\r\n 'State': {\r\n 'required': 'State is required.'\r\n },\r\n 'City': {\r\n 'required': 'City is required.'\r\n }\r\n };\r\n \r\n formErrors = {\r\n 'VendorID': '',\r\n 'username': '',\r\n 'firstName': '',\r\n 'lastName': '',\r\n 'mobile': '',\r\n 'Amobile': '',\r\n 'email': '',\r\n 'Aemail': '',\r\n 'Organization': '',\r\n 'Address': '',\r\n 'PIN': '',\r\n 'State': '',\r\n 'City': ''\r\n };\r\n\r\n public VendorSupervisorRegForm: FormGroup;\r\n ngOnInit() {\r\n this.ShowLoader =true;\r\n var ExistVendorID = this.userLoginService.GetFirstTimeLoginUserInput();\r\n var VendorMobile = this.userLoginService.GetFirstTimeLoginUserMobile();\r\n this.VendorSupervisorRegForm.get('VendorID').setValue(ExistVendorID); \r\n this.VendorSupervisorRegForm.get('mobile').setValue(VendorMobile); \r\n\r\n // this.userService.getState()\r\n // .pipe(catchError((err) => this.handleError(err)))\r\n // .subscribe((data: any) => {\r\n // this.State = data.results; \r\n // this.ShowLoader =false; \r\n // });\r\n \r\n this.userEditService.getVSByVendorID(ExistVendorID)\r\n .subscribe((data: any) => {\r\n if (data != null)\r\n {\r\n this.SetVSIdDetails(data.results);\r\n }\r\n },\r\n (err: any) => {\r\n this.openSnackBar(err.error.message, 'error');\r\n });\r\n \r\n this.VendorSupervisorRegForm.valueChanges.subscribe((data) => {\r\n this.logValidationErrors(this.VendorSupervisorRegForm);\r\n });\r\n\r\n }\r\n\r\n\r\n\r\n FillCityDD(Slectedstate:any)\r\n{\r\n this.userService.getCity(Slectedstate.name)\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.City = data.results; \r\n this.ShowLoader =false; \r\n });\r\n}\r\n\r\n\r\npublic SetVSIdDetails(VSID: VendorSupervisor) {\r\nif (VSID != null)\r\n{\r\n this.VendorSupervisorRegForm.patchValue({\r\n username: VSID[0].vendorID ,\r\n VendorID: VSID[0].vendorID ,\r\n firstName: VSID[0].firstName,\r\n lastName: VSID[0].lastName,\r\n // mobile: VSID[0].mobile,\r\n email: VSID[0].email\r\n });\r\n this.intialEmailId = VSID[0].email;\r\n this.ShowLoader =false; \r\n }\r\n }\r\n createForm() {\r\n this.VendorSupervisorRegForm = this.fb.group({\r\n username: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(100)\r\n \r\n ]),\r\n //UniqueUsernameValidator(this.VendorSupervisorRegForm) // async validator\r\n ),\r\n firstName: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(250),\r\n //Validators.pattern('^[A-Za-z]+(?:[A-Za-z]+)*$')\r\n //Validators.pattern('/^[a-zA-Z]+$/')\r\n Validators.pattern('^[a-zA-Z0-9 ]*$')\r\n ])),\r\n \r\n lastName: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(250),\r\n // Validators.pattern('^[A-Za-z]+(?:[A-Za-z]+)*$')\r\n Validators.pattern('^[a-zA-Z0-9 ]*$')\r\n ])),\r\n mobile: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.minLength(10),\r\n Validators.pattern('^[6-9][0-9]{9}$')\r\n ])),\r\n Amobile: new FormControl('', Validators.compose([\r\n Validators.minLength(10),\r\n Validators.pattern('^[6-9][0-9]{9}$')\r\n ])),\r\n email: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(100),\r\n Validators.pattern('^([a-zA-Z0-9_\\.\\-])+\\@(([a-zA-Z0-9\\-])+\\.)+([a-zA-Z0-9]{2,4})+$')\r\n ])),\r\n\r\n Aemail: new FormControl('', Validators.compose([\r\n \r\n Validators.maxLength(100),\r\n Validators.pattern('^([a-zA-Z0-9_\\.\\-])+\\@(([a-zA-Z0-9\\-])+\\.)+([a-zA-Z0-9]{2,4})+$')\r\n ])),\r\n Organization: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(100),\r\n //Validators.pattern('^([a-zA-Z0-9_\\.\\-])+\\@(([a-zA-Z0-9\\-])+\\.)+([a-zA-Z0-9]{2,4})+$')\r\n ])),\r\n \r\n Address: new FormControl('', Validators.compose([\r\n \r\n Validators.maxLength(100),\r\n //Validators.pattern('^([a-zA-Z0-9_\\.\\-])+\\@(([a-zA-Z0-9\\-])+\\.)+([a-zA-Z0-9]{2,4})+$')\r\n ])),\r\n PIN: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(6),\r\n Validators.minLength(6),\r\n Validators.pattern('^[0-9]*$')\r\n ])),\r\n // State: new FormControl('', Validators.compose([\r\n // Validators.required,\r\n // ])),\r\n // City: new FormControl('', Validators.compose([\r\n // Validators.required,\r\n // ])),\r\n VendorID: new FormControl('', Validators.compose([\r\n Validators.required\r\n \r\n ])),\r\n\r\n // reference: new FormControl({ disabled: true, value: '' },[Validators.required]),\r\n \r\n });\r\n }\r\n\r\n checkEmail() {\r\n\r\n if (this.VendorSupervisorRegForm.get('email').valid) {\r\n const email = this.VendorSupervisorRegForm.get('email').value;\r\n const searchType = 'email';\r\n if ( this.intialEmailId == email)\r\n {\r\n this.emailExists = false;\r\n return;\r\n } \r\n\r\n this.SEService.searchUserVS(searchType, email).subscribe(\r\n (data: any) => {\r\n if (data.flag == 'S') {\r\n this.emailExists = true;\r\n } else {\r\n this.emailExists = false;\r\n }\r\n },\r\n (err: any) => { \r\n this.openSnackBar(err.error.message, '')\r\n },\r\n );\r\n }\r\n }\r\n\r\n checkAlternateEmail() {\r\n \r\n if (this.VendorSupervisorRegForm.get('Aemail').valid) {\r\n const email = this.VendorSupervisorRegForm.get('Aemail').value;\r\n if (email == \"\")\r\n {\r\n return;\r\n }\r\n\r\n const searchType = 'email';\r\n\r\n this.SEService.searchUserVS(searchType, email).subscribe(\r\n (data: any) => {\r\n if (data.flag == 'S') {\r\n this.alternateemailExists = true;\r\n } else {\r\n this.alternateemailExists = false;\r\n }\r\n },\r\n (err: any) => { \r\n this.openSnackBar(err.error.message, '')\r\n },\r\n );\r\n }\r\n }\r\n\r\n onSubmit() {\r\n if (this.VendorSupervisorRegForm.valid) {\r\n this.ShowLoader =true;\r\n const userDetails = Object.assign({}, this.VendorSupervisorRegForm.value);\r\n const newUser = new VendorSupervisor();\r\n newUser.username = userDetails.VendorID;\r\n newUser.VendorID = userDetails.VendorID;\r\n newUser.firstName = userDetails.firstName;\r\n newUser.lastName = userDetails.lastName;\r\n newUser.email = userDetails.email;\r\n newUser.mobile = userDetails.mobile;\r\n newUser.Aemail = userDetails.Aemail;\r\n newUser.Amobile = userDetails.Amobile;\r\n newUser.State = null;\r\n newUser.City = null;\r\n newUser.PIN = userDetails.PIN;\r\n newUser.Address = userDetails.Address;\r\n newUser.Organization = userDetails.Organization;\r\n newUser.level =0;\r\n this.userService.CreateVS(newUser)\r\n .subscribe(\r\n (data: any) => {\r\n if (data.flag === Constants.SUCCESS_FLAG) {\r\n this.openSnackBar(data.message, '');\r\n this.router.navigate(['/login']);\r\n this.ShowLoader =false;\r\n }\r\n else\r\n {\r\n this.openSnackBar(data.message, '');\r\n this.ShowLoader =false;\r\n }\r\n },\r\n (err: any) => {\r\n if (err.error != null)\r\n {\r\n this.openSnackBar(err.error.message, '')\r\n }\r\n else\r\n {\r\n this.openSnackBar(err,'');\r\n }\r\n this.ShowLoader =false;\r\n });\r\n }\r\n else\r\n {\r\n this.ValidateAllFields(this.VendorSupervisorRegForm);\r\n this.logValidationErrors(this.VendorSupervisorRegForm);\r\n }\r\n\r\n \r\n }\r\n\r\n openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n\r\n logValidationErrors(group: FormGroup = this.VendorSupervisorRegForm): void {\r\n Object.keys(group.controls).forEach((key: string) => {\r\n const abstractControl = group.get(key);\r\n if (abstractControl instanceof FormGroup) {\r\n this.logValidationErrors(abstractControl)\r\n } else {\r\n this.formErrors[key] = '';\r\n if (abstractControl && !abstractControl.valid && (abstractControl.touched || abstractControl.dirty)) {\r\n const messages = this.validationMessages[key];\r\n\r\n for (const errorKey in abstractControl.errors) {\r\n if (errorKey) {\r\n this.formErrors[key] += messages[errorKey] + '';\r\n }\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n ValidateAllFields(formGroup: FormGroup) {\r\n Object.keys(formGroup.controls).forEach(field => {\r\n const control = formGroup.get(field);\r\n if (control instanceof FormControl) {\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) {\r\n this.ValidateAllFields(control);\r\n }\r\n });\r\n }\r\n\r\n\r\n private handleError(error: any) {\r\n // this.errorReceived = true;\r\n return Observable.throw(error);\r\n }\r\n Back(): void\r\n {\r\n this.router.navigate(['/login']);\r\n }\r\n \r\n}\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9WZW5kb3JTdXBlcnZpc29yL3ZlbmRvcnN1cGVydmlzb3ItcmVnaXN0cmF0aW9uL3ZzLWVkaXQvdnMtZWRpdC5jb21wb25lbnQuc2NzcyJ9 */\"","import { Component, OnInit,ChangeDetectorRef,ViewChild } from '@angular/core';\r\nimport { FormGroup, FormControl, Validators, FormBuilder, ValidatorFn, AbstractControl } from '@angular/forms';\r\nimport { MatDialog, MatSnackBar } from '@angular/material';\r\nimport { VendorsupervisoreditService } from 'src/app/Services/vendorsupervisor/vendorsupervisoredit.service';\r\nimport { VendorSupervisor } from 'src/app/Models/vendorsupervisor/vendor-supervisor.model';\r\nimport { LoginService } from 'src/app/Services/loginmanagement/login.service';\r\nimport { Router } from '@angular/router';\r\nimport { IRole } from 'src/app/Models/usermanagement/role.model';\r\nimport { Observable } from 'rxjs';\r\nimport { IUserType } from 'src/app/Models/usermanagement/usertype.model';\r\nimport { catchError } from 'rxjs/operators';\r\nimport { UniqueUsernameValidator } from 'src/app/shared/unique-username-validator.directive';\r\nimport { ConfigurationService } from 'src/app/Services/Utilities/configuration.service';\r\nimport { Constants } from 'src/app/Constants/constants';\r\nimport { IState } from 'src/app/Models/common/state.model';\r\nimport { Icity } from 'src/app/Models/common/city.model';\r\nimport{ VendorSupervisorService } from 'src/app/Services/vendorsupervisor/vendorsupervisor.service'\r\nimport { VendorsupervisorregisterService } from 'src/app/Services/vendorsupervisor/vendorsupervisorregister.service';\r\nimport { UserService } from 'src/app/Services/usermanagement/user.service';\r\nimport { VSSCreateService } from 'src/app/Services/vendorsupervisor/VSSCreate.service';\r\nimport { applicationconstant } from 'src/app/Models/DropdownItemsGroup/applicationconstant.model';\r\nimport { VendorService } from 'src/app/Services/master/vendor.service';\r\n@Component({\r\n selector: 'app-vs-edit',\r\n templateUrl: './vs-edit.component.html',\r\n styleUrls: ['./vs-edit.component.scss']\r\n})\r\nexport class VSEditComponent implements OnInit {\r\n\r\n public State: IState[];\r\n public City: Icity[];\r\n \r\n public submitted: boolean;\r\n public mobileExists: boolean;\r\n public emailExists: boolean;\r\n public alternatemobileExists: boolean;\r\n public alternateemailExists: boolean; \r\n public userDetailsSubmitted = false;\r\n public levelOfVS = 0;\r\n public selectedState: string[]= [];\r\n public selectedCity: string[]= [];\r\n citylistSelected:string[];\r\n statelistSelected:string[];\r\n \r\n userSoftDeleted: boolean;\r\n showUserDetails = false;\r\n userData: VendorSupervisor;\r\n @ViewChild('form', {static: false}) form;\r\n\r\n constructor(private router: Router,private userService: VendorsupervisoreditService,\r\n private userLoginService: LoginService,\r\n private vendorservice: VendorsupervisorregisterService,\r\n private UserVSService : UserService,\r\n private SEService: VSSCreateService,\r\n private VSSService: VendorService,\r\n private fb: FormBuilder,\r\n public snackBar: MatSnackBar,\r\n private configurationService: ConfigurationService,\r\n private cdr:ChangeDetectorRef) {\r\n this.EditForm();\r\n\r\n this.submitted = false;\r\n \r\n\r\n this.mobileExists = false;\r\n this.emailExists = false;\r\n this.alternatemobileExists = false;\r\n this.alternateemailExists = false; \r\n\r\n }\r\n public VendorSupervisorEditForm: FormGroup;\r\n VendorSupID : string;\r\n ShowLoader : boolean;\r\n public account_validation_messages = {\r\n 'VendorID': [\r\n { type: 'required', message: 'Vendor ID is required' }\r\n ],\r\n 'username': [\r\n { type: 'required', message: 'Username is required' },\r\n { type: 'minlength', message: 'Username must be at least 5 characters long' },\r\n { type: 'maxlength', message: 'Username cannot be more than 100 characters long' },\r\n { type: 'pattern', message: 'Your username must contain only numbers and alphabets' },\r\n { type: 'usernameTaken', message: 'Username is already in use.' }\r\n ],\r\n 'firstname': [\r\n { type: 'required', message: 'First name is required' },\r\n { type: 'maxlength', message: 'First name cannot be more than 250 characters long' },\r\n { type: 'pattern', message: 'Your first name must contain only alphabets' }\r\n ],\r\n \r\n 'lastname': [\r\n { type: 'required', message: 'Last name is required' },\r\n { type: 'maxlength', message: 'Last name cannot be more than 250 characters long' },\r\n { type: 'pattern', message: 'Your last name must contain only numbers and alphabets' }\r\n ],\r\n 'mobile': [\r\n { type: 'required', message: 'Mobile is required' },\r\n { type: 'minlength', message: 'Mobile must be of 10 digits' },\r\n { type: 'pattern', message: 'Mobile is invalid' }\r\n ],\r\n 'Amobile': [\r\n { type: 'required', message: 'Mobile is required' },\r\n { type: 'minlength', message: 'Mobile must be of 10 digits' },\r\n { type: 'pattern', message: 'Mobile is invalid' }\r\n ],\r\n 'email': [\r\n { type: 'required', message: 'Email is required' },\r\n { type: 'maxlength', message: 'Email cannot be more than 100 characters long' },\r\n { type: 'pattern', message: 'Email is invalid' }\r\n ],\r\n 'Address': [\r\n { type: 'required', message: 'Address is required' },\r\n { type: 'maxlength', message: 'Address cannot be more than 100 characters long' },\r\n ],\r\n 'PIN': [\r\n { type: 'required', message: 'PIN is required' },\r\n // { type: 'pattern', message: 'PIN is invalid' }\r\n { type: 'pattern', message: 'PIN should be numeric' }\r\n ],\r\n 'State': [\r\n { type: 'required', message: 'State is required' },\r\n // { type: 'pattern', message: 'PIN is invalid' }\r\n ],\r\n 'StaterootLvl': [\r\n { type: 'required', message: 'State is required' },\r\n // { type: 'pattern', message: 'PIN is invalid' }\r\n ],\r\n 'City': [\r\n { type: 'required', message: 'City is required' },\r\n // { type: 'pattern', message: 'PIN is invalid' }\r\n ],\r\n 'Organization':[\r\n { type: 'required', message: 'Organization is Required'},\r\n ]\r\n\r\n };\r\n ngOnInit() {\r\n this.vendorservice.getStateEdit()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.State = data.results;\r\n this.vendorservice.getCityEdit('All')\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.City = data.results;\r\n this.userService.getVS()\r\n .subscribe((data: any) => {\r\n if (data != null)\r\n {\r\n // if (data.results[0].checklist != null)\r\n // {\r\n // this.citylistSelected = [];\r\n // data.results[0].checklist.forEach(check => {\r\n // this.citylistSelected.push(Number(check));\r\n // });\r\n // }\r\n\r\n this.levelOfVS = data.results[0].level;\r\n if (this.levelOfVS !=0)\r\n {\r\n\r\n this.VendorSupervisorEditForm.controls['State'].setValidators([Validators.required]);\r\n this.VendorSupervisorEditForm.controls[\"State\"].updateValueAndValidity();\r\n }\r\n else\r\n {\r\n this.VendorSupervisorEditForm.controls['State'].clearValidators();\r\n this.VendorSupervisorEditForm.controls[\"State\"].updateValueAndValidity();\r\n }\r\n if (this.levelOfVS >1)\r\n {\r\n this.VendorSupervisorEditForm.controls['City'].setValidators([Validators.required]);\r\n this.VendorSupervisorEditForm.controls[\"City\"].updateValueAndValidity();\r\n }\r\n else\r\n {\r\n this.VendorSupervisorEditForm.controls['City'].clearValidators();\r\n this.VendorSupervisorEditForm.controls[\"City\"].updateValueAndValidity();\r\n }\r\n\r\n // if (this.levelOfVS == 0)\r\n // {\r\n // this.VendorSupervisorEditForm.controls['StaterootLvl'].setValidators([Validators.required]);\r\n // this.VendorSupervisorEditForm.controls[\"StaterootLvl\"].updateValueAndValidity();\r\n // this.VendorSupervisorEditForm.controls['State'].clearValidators();\r\n // this.VendorSupervisorEditForm.controls[\"State\"].updateValueAndValidity();\r\n // // this.VendorSupervisorEditForm.controls['City'].clearValidators();\r\n // // this.VendorSupervisorEditForm.controls[\"City\"].updateValueAndValidity();\r\n // }\r\n // else\r\n // {\r\n // // this.SEService.getVSSStates()\r\n // // .pipe(catchError((err) => this.handleError(err)))\r\n // // .subscribe((data: any) => {\r\n // // this.State = data.results; \r\n // // });\r\n // this.VendorSupervisorEditForm.controls['State'].setValidators([Validators.required]);\r\n // this.VendorSupervisorEditForm.controls[\"State\"].updateValueAndValidity();\r\n // this.VendorSupervisorEditForm.controls['StaterootLvl'].clearValidators();\r\n // this.VendorSupervisorEditForm.controls[\"StaterootLvl\"].updateValueAndValidity();\r\n // // this.VendorSupervisorEditForm.controls['City'].setValidators([Validators.required]);\r\n // // this.VendorSupervisorEditForm.controls[\"City\"].updateValueAndValidity();\r\n // }\r\n \r\n this.SetVSIdDetails(data.results);\r\n }\r\n },\r\n (err: any) => {\r\n this.openSnackBar(err.error.message, 'error');\r\n }); \r\n }); \r\n });\r\n\r\n\r\n\r\n \r\n\r\n // this.vendorservice.getCityEdit('All')\r\n // .pipe(catchError((err) => this.handleError(err)))\r\n // .subscribe((data: any) => {\r\n // this.City = data.results; \r\n // // this.userService.getVS()\r\n // // .subscribe((data: any) => {\r\n // // if (data != null)\r\n // // {\r\n // // this.levelOfVS = data.results[0].level;\r\n // // this.SetVSIdDetails(data.results);\r\n // // }\r\n // // },\r\n // // (err: any) => {\r\n // // this.openSnackBar(err.error.message, 'error');\r\n // // }); \r\n // });\r\n\r\n }\r\n\r\n selectedStates(state :any): void {\r\n if (this.selectedState.length > 0) {\r\n var index_of_selected_option = this.selectedState.indexOf(state.name);\r\n if (index_of_selected_option != -1) {\r\n this.selectedState.splice(index_of_selected_option, 1)\r\n }\r\n else {\r\n this.selectedState = this.selectedState.concat(state.name);\r\n }\r\n }\r\n else {\r\n this.selectedState = this.selectedState.concat(state.name);\r\n }\r\n }\r\n\r\n// FillCityDD(Slectedstate:any,patchValue:boolean)\r\n// {\r\n// var stateName = \"\";\r\n// if (patchValue)\r\n// {\r\n// stateName = Slectedstate;\r\n// }\r\n// else\r\n// {\r\n// stateName = Slectedstate.name;\r\n// }\r\n// this.vendorservice.getCity(stateName)\r\n// .pipe(catchError((err) => this.handleError(err)))\r\n// .subscribe((data: any) => {\r\n// this.City = data.results; \r\n// });\r\n// }\r\n\r\n\r\nFillCityDD(Slectedstate:any,patchValue:boolean)\r\n{\r\n if (this.selectedState.length > 0) {\r\n var index_of_selected_option = this.selectedState.indexOf(Slectedstate.name);\r\n if (index_of_selected_option != -1) {\r\n this.selectedState.splice(index_of_selected_option, 1)\r\n }\r\n else {\r\n this.selectedState = this.selectedState.concat(Slectedstate.name);\r\n }\r\n }\r\n else {\r\n this.selectedState = this.selectedState.concat(Slectedstate.name);\r\n }\r\n\r\n if (this.levelOfVS == 0 || this.levelOfVS == 1)\r\n {\r\n this.SEService.getVSSCity(this.selectedState)\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.City = data.results; \r\n });\r\n }\r\n else\r\n {\r\n this.SEService.getVSSCities()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.City = data.results; \r\n });\r\n\r\n }\r\n}\r\n\r\nselectedCities(city :any): void {\r\n if (this.selectedCity.length > 0) {\r\n var index_of_selected_option = this.selectedCity.indexOf(city.name);\r\n if (index_of_selected_option != -1) {\r\n this.selectedCity.splice(index_of_selected_option, 1)\r\n }\r\n else {\r\n this.selectedCity = this.selectedCity.concat(city.name);\r\n }\r\n }\r\n else {\r\n this.selectedCity = this.selectedCity.concat(city.name);\r\n }\r\n}\r\n\r\n\r\n\r\n\r\n EditForm() {\r\n this.VendorSupervisorEditForm = this.fb.group({\r\n username: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.minLength(5),\r\n Validators.maxLength(100),\r\n Validators.pattern('^[A-Za-z0-9]+(?:[A-Za-z0-9]+)*$')\r\n ]),\r\n //UniqueUsernameValidator(this.VendorSupervisorEditForm) // async validator\r\n ),\r\n firstName: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(250),\r\n Validators.pattern('^[A-Za-z]+(?:[A-Za-z]+)*$')\r\n //Validators.pattern('/^[a-zA-Z]+$/')\r\n ])),\r\n \r\n lastName: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(250),\r\n Validators.pattern('^[A-Za-z]+(?:[A-Za-z]+)*$')\r\n ])),\r\n mobile: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.minLength(10),\r\n Validators.pattern('^[6-9][0-9]{9}$')\r\n ])),\r\n Amobile: new FormControl('', Validators.compose([\r\n Validators.minLength(10),\r\n Validators.pattern('^[6-9][0-9]{9}$')\r\n ])),\r\n email: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(100),\r\n Validators.pattern('^([a-zA-Z0-9_\\.\\-])+\\@(([a-zA-Z0-9\\-])+\\.)+([a-zA-Z0-9]{2,4})+$')\r\n ])),\r\n\r\n Aemail: new FormControl('', Validators.compose([\r\n // Validators.required,\r\n Validators.maxLength(100),\r\n Validators.pattern('^([a-zA-Z0-9_\\.\\-])+\\@(([a-zA-Z0-9\\-])+\\.)+([a-zA-Z0-9]{2,4})+$')\r\n ])),\r\n Organization: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(100),\r\n //Validators.pattern('^([a-zA-Z0-9_\\.\\-])+\\@(([a-zA-Z0-9\\-])+\\.)+([a-zA-Z0-9]{2,4})+$')\r\n ])),\r\n \r\n Address: new FormControl('', Validators.compose([\r\n //Validators.required,\r\n Validators.maxLength(100),\r\n //Validators.pattern('^([a-zA-Z0-9_\\.\\-])+\\@(([a-zA-Z0-9\\-])+\\.)+([a-zA-Z0-9]{2,4})+$')\r\n ])),\r\n PIN: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(6),\r\n Validators.pattern('^[0-9]*$')\r\n ])),\r\n State: new FormControl('', Validators.compose([\r\n \r\n ])),\r\n StaterootLvl: new FormControl('', Validators.compose([\r\n \r\n ])),\r\n City: new FormControl([], Validators.compose([\r\n \r\n ])),\r\n VendorID: new FormControl('', Validators.compose([\r\n Validators.required\r\n \r\n ])),\r\n\r\n // reference: new FormControl({ disabled: true, value: '' },[Validators.required]),\r\n \r\n });\r\n }\r\n onSubmit(form: any) {\r\n this.userDetailsSubmitted = true;\r\n \r\n\r\n // if (!this.VendorSupervisorEditForm.valid) {\r\n // return;\r\n // }\r\n\r\n if(this.mobileExists || this.emailExists || this.alternateemailExists || this.alternatemobileExists)\r\n {\r\n return;\r\n }\r\n const editUserFormData: any = Object.assign({}, this.VendorSupervisorEditForm.value);\r\n\r\n //let changed = false;\r\n let changed = true;\r\n\r\n \r\n // if (editUserFormData.username !== this.userData.username) {\r\n // this.userData.username = editUserFormData.username;\r\n // changed = true;\r\n // }\r\n // if (editUserFormData.firstName !== this.userData.firstName) {\r\n // this.userData.firstName = editUserFormData.firstName;\r\n // changed = true;\r\n // }\r\n // if (editUserFormData.lastName !== this.userData.lastName) {\r\n // this.userData.lastName = editUserFormData.lastName;\r\n // changed = true;\r\n // }\r\n // if (editUserFormData.mobile !== this.userData.mobile) {\r\n // this.userData.mobile = editUserFormData.mobile;\r\n // changed = true;\r\n // }\r\n // if (editUserFormData.email !== this.userData.email) {\r\n // this.userData.email = editUserFormData.email;\r\n // changed = true;\r\n // }\r\n // if (editUserFormData.Organization !== this.userData.Organization) {\r\n // this.userData.Organization = editUserFormData.userType;\r\n // changed = true;\r\n // }\r\n // if (editUserFormData.Address !== this.userData.Address) {\r\n // this.userData.Address = editUserFormData.Address;\r\n // changed = true;\r\n // }\r\n // if (editUserFormData.VendorID !== this.userData.VendorID) {\r\n // this.userData.VendorID = editUserFormData.VendorID;\r\n // changed = true;\r\n // }\r\n // if (editUserFormData.PIN !== this.userData.PIN) {\r\n // this.userData.PIN = editUserFormData.PIN;\r\n // changed = true;\r\n // }\r\n // if (editUserFormData.Aemail !== this.userData.Aemail) {\r\n // this.userData.Aemail = editUserFormData.Aemail;\r\n // changed = true;\r\n // }\r\n // if (editUserFormData.Amobile !== this.userData.Amobile) {\r\n // this.userData.Amobile = editUserFormData.Amobile;\r\n // changed = true;\r\n // }\r\n // if (editUserFormData.state !== this.userData.State) {\r\n // this.userData.State = editUserFormData.state;\r\n // changed = true;\r\n // }\r\n // if (editUserFormData.city !== this.userData.City) {\r\n // this.userData.City = editUserFormData.city;\r\n // changed = true;\r\n // }\r\n \r\n // if (editUserFormData.isactive !== this.userSoftDeleted) {\r\n // this.userData.activeFlag = editUserFormData.isactive ? 'A' : 'I';\r\n // changed = true;\r\n // }\r\n\r\n \r\n // update user data to database\r\n if (changed) {\r\n this.userService.updateUser(editUserFormData).subscribe(\r\n (data: any) => {\r\n this.openSnackBar(data.message, '');\r\n if(data.flag==\"F\"){\r\n this.showUserDetails=true;\r\n \r\n }\r\n else\r\n {\r\n this.showUserDetails = false;\r\n //this.resetForm();\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n }\r\n }\r\n\r\n resetForm() {\r\n //this.form.reset();\r\n this.form.control.controls['lastName'].reset();\r\n this.form.control.controls['username'].reset();\r\n this.form.control.controls['mobile'].reset();\r\n this.form.control.controls['firstName'].reset();\r\n this.form.control.controls['Address'].reset();\r\n this.form.control.controls['Aemail'].reset();\r\n this.form.control.controls['email'].reset();\r\n this.form.control.controls['Amobile'].reset();\r\n this.form.control.controls['Organization'].reset();\r\n this.form.control.controls['State'].reset();\r\n this.form.control.controls['City'].reset();\r\n this.form.control.controls['PIN'].reset();\r\n // clear validators and dont remove them\r\n this.VendorSupervisorEditForm.clearValidators();\r\n\r\n this.VendorSupervisorEditForm.markAsUntouched();\r\n this.VendorSupervisorEditForm.markAsPristine();\r\n this.mobileExists = false;\r\n this.emailExists = false;\r\n this.userService.getVS()\r\n .subscribe((data: any) => {\r\n if (data != null)\r\n {\r\n this.SetVSIdDetails(data.results);\r\n }\r\n },\r\n (err: any) => {\r\n this.openSnackBar(err.error.message, 'error');\r\n });\r\n \r\n }\r\n\r\n checkMobile() {\r\n if (this.VendorSupervisorEditForm.get('mobile').valid) {\r\n const mobile = this.VendorSupervisorEditForm.get('mobile').value;\r\n\r\n const searchType = 'mobile';\r\n\r\n this.VSSService.CheckMobileEmail(searchType, mobile).subscribe(\r\n (data: any) => {\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.mobileExists = false;\r\n } else {\r\n this.mobileExists = true;\r\n }\r\n },\r\n (err: any) => { },\r\n );\r\n }\r\n }\r\n\r\n \r\n checkEmail() {\r\n if (this.VendorSupervisorEditForm.get('email').valid) {\r\n const email = this.VendorSupervisorEditForm.get('email').value;\r\n\r\n const searchType = 'email';\r\n\r\n this.VSSService.CheckMobileEmail(searchType, email).subscribe(\r\n (data: any) => {\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.emailExists = false;\r\n } else {\r\n this.emailExists = true;\r\n }\r\n },\r\n (err: any) => { },\r\n );\r\n }\r\n }\r\n \r\n checkAMobile() {\r\n if (this.VendorSupervisorEditForm.get('Amobile').valid) {\r\n const mobile = this.VendorSupervisorEditForm.get('Amobile').value;\r\n\r\n const searchType = 'mobile';\r\n\r\n this.VSSService.CheckMobileEmail(searchType, mobile).subscribe(\r\n (data: any) => {\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.alternatemobileExists = false;\r\n } else {\r\n this.alternatemobileExists = true;\r\n }\r\n },\r\n (err: any) => { },\r\n );\r\n }\r\n }\r\n\r\n checkAlternateEmail() {\r\n if (this.VendorSupervisorEditForm.get('Aemail').valid) {\r\n const email = this.VendorSupervisorEditForm.get('Aemail').value;\r\n\r\n const searchType = 'email';\r\n\r\n this.VSSService.CheckMobileEmail(searchType, email).subscribe(\r\n (data: any) => {\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.alternateemailExists = false;\r\n } else {\r\n this.alternateemailExists = true;\r\n }\r\n },\r\n (err: any) => { },\r\n );\r\n }\r\n }\r\n\r\n\r\n\r\n public SetVSIdDetails(VSID: VendorSupervisor) {\r\n\r\n // if (VSID[0].city != null)\r\n // {\r\n // var cityarray = VSID[0].city.split(',');\r\n // this.citylistSelected = [];\r\n // cityarray.forEach(check => {\r\n // this.citylistSelected.push(Number(check));\r\n // });\r\n // }\r\n\r\n\r\n if (VSID != null) {\r\n \r\n this.VendorSupervisorEditForm.patchValue({\r\n username: VSID[0].vendorID ,\r\n VendorID: VSID[0].vendorID ,\r\n firstName: VSID[0].firstName,\r\n lastName: VSID[0].lastName,\r\n mobile: VSID[0].mobile,\r\n email: VSID[0].email,\r\n Aemail: VSID[0].aEmail,\r\n Amobile: VSID[0].aMobile,\r\n Organization: VSID[0].organization,\r\n PIN: VSID[0].pin,\r\n //City:VSID[0].city,\r\n //State: VSID[0].state,\r\n Address: VSID[0].address,\r\n \r\n \r\n });\r\n }\r\n if (VSID[0].state != null)\r\n {\r\n this.statelistSelected = VSID[0].state.split(\",\");\r\n }\r\n if (VSID[0].city != null)\r\n {\r\n this.citylistSelected = VSID[0].city.split(\",\");\r\n }\r\n this.VendorSupervisorEditForm.controls['State'].setValue(this.statelistSelected);\r\n this.VendorSupervisorEditForm.controls['City'].setValue(this.citylistSelected);\r\n \r\n //var statename = this.VendorSupervisorEditForm.get('State').value;\r\n //this.FillCityDD(statename,true);\r\n }\r\n openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n\r\n private handleError(error: any) {\r\n // this.errorReceived = true;\r\n return Observable.throw(error);\r\n }\r\n\r\n}\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9WZW5kb3JTdXBlcnZpc29yL3ZlbmRvcnN1cGVydmlzb3IuY29tcG9uZW50LnNjc3MifQ== */\"","import { Component, OnInit } from '@angular/core';\r\nimport { FormGroup, FormControl, FormBuilder, Validators, FormGroupDirective, NgForm } from '@angular/forms'\r\nimport { MatDialog, MatSnackBar } from '@angular/material';\r\nimport { Router } from '@angular/router';\r\nimport { applicationconstant } from 'src/app/Models/DropdownItemsGroup/applicationconstant.model';\r\nimport { Ticket } from 'src/app/Models/vendorsupervisor/ticket.model';\r\nimport { Incident } from 'src/app/Models/vendorsupervisor/incident.model';\r\nimport { DropdownItems } from '../../Models/DropdownItemsGroup/dropdownitems.model';\r\nimport { DropdownItemsGroup } from '../../Models/DropdownItemsGroup/dropdownitemsgroup.model';\r\nimport { VendorSupervisorService } from 'src/app/Services/vendorsupervisor/vendorsupervisor.service';\r\nimport { TicketsAssginedSE } from 'src/app/Services/ServiceEngineer/TicketsAssignedSE.service';\r\nimport {MatSortModule} from '@angular/material/sort';\r\nimport {Sort} from '@angular/material/sort';\r\nimport { stringify } from '@angular/compiler/src/util';\r\nimport { SearchDTO } from 'src/app/Models/common/search.model';\r\nimport { RejectComponent } from './reject/reject.component';\r\n\r\n\r\n@Component({\r\n selector: 'app-vendorsupervisor',\r\n templateUrl: './vendorsupervisor.component.html',\r\n styleUrls: ['./vendorsupervisor.component.scss']\r\n})\r\nexport class VendorsupervisorComponent implements OnInit {\r\n\r\n /**\r\n * Form group for password reset\r\n *\r\n * @type {FormGroup}\r\n * @memberof VendorsupervisorComponent\r\n */\r\n vendorSearchForm: FormGroup;\r\n //ticketList: Ticket[];\r\n incidentList: Incident[];\r\n searched = false;\r\n ticketSearchType: DropdownItems[];\r\n ticketValues:string;\r\n interactionId: string;\r\n assignedIncidentStatus: string;\r\n openIncidentStatus: string;\r\n workinprogressIncidentStatus: string;\r\n efsrWIPIncidentStatus: string;\r\n roapprovalIncidentStatus: string;\r\n workapprovedIncidentStatus: string;\r\n workrejectedIncidentStatus: string;\r\n closedIncidentStatus: string;\r\n\r\n// new status\r\n\r\n incident_status_open: string;\r\n incident_status_assigned: string;\r\n incident_status_workInProgress: string;\r\n incident_status_efsrOnHold: string;\r\n incident_status_roApprovalPending: string;\r\n incident_status_efsrApprovedByRO: string;\r\n incident_status_efsrRejectedByRO: string;\r\n\r\n\r\n ticketId:number;\r\n \r\n //onholdTicketStatus: string;\r\n \r\n\r\n searchTermStatus: string;\r\n\r\n\r\n //isDocumentSectionVisiable: boolean = false;\r\n //isFormSectionVisible: boolean = true;\r\n //isEditForm: boolean = true;\r\n //VehicleId: number = 0;\r\n \r\n \r\n/**\r\n * Validation messages\r\n *\r\n * @memberof VendorsupervisorComponent\r\n */\r\nvalidationMessages = {\r\n 'searchType': {\r\n 'required': 'Search type is required'\r\n },\r\n 'searchTerm': {\r\n 'required': 'Search Term is required'\r\n },\r\n };\r\n formErrors = {\r\n 'searchType': '',\r\n 'searchTerm': ''\r\n };\r\n\r\n /**\r\n * Creates an instance of ForgotpasswordComponent.\r\n * @param {FormBuilder} fb\r\n * @memberof VendorsupervisorComponent\r\n */\r\n constructor(private fb: FormBuilder, public snackBar: MatSnackBar, private router: Router, private VendorService: VendorSupervisorService,private dialog:MatDialog, private EngineerService: TicketsAssginedSE)\r\n {\r\n this.getStatusList();\r\n this.getDropdownItems();\r\n\r\n this.vendorSearchForm = this.fb.group({\r\n searchType: new FormControl(null, Validators.required),\r\n searchTerm: new FormControl(null, Validators.required),\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n\r\n \r\n this.vendorSearchForm.valueChanges.subscribe((data) => {\r\n this.logValidationErrors(this.vendorSearchForm);\r\n });\r\n\r\n this.getTicketList('','');\r\n\r\n this.ticketId=this.VendorService.getTicketId();\r\n this.interactionId=this.VendorService.getTicketInteractionId();\r\n //this.toggleListAndCardTab('CARD');\r\n }\r\n\r\n public getStatusList() {\r\n // this.VendorService.getStatusList()\r\n // .subscribe(items => {\r\n // if (items.flag == applicationconstant.SuccessFlag) {\r\n // for (let item of items.results) {\r\n // if (item.mstKey == applicationconstant.ActiveFlag) {\r\n // this.closedTicketStatus = item.id;\r\n // }\r\n // if (item.mstKey == applicationconstant.InActiveFlag) {\r\n // this.openTicketStatus = item.id;\r\n // }\r\n // if (item.mstKey == applicationconstant.NotVerifiedFlag) {\r\n // this.onholdTicketStatus = item.id;\r\n // }\r\n // if (item.mstKey == applicationconstant.NotVerifiedFlag) {\r\n // this.onholdTicketStatus = item.id;\r\n // }\r\n // }\r\n // }\r\n // });\r\n\r\n this.assignedIncidentStatus = applicationconstant.Incident_Assigned_Status;\r\n this.openIncidentStatus = applicationconstant.Incident_Open_Status;\r\n this.workinprogressIncidentStatus = applicationconstant.Incident_WIP_Status;\r\n this.efsrWIPIncidentStatus = applicationconstant.Incident_EFSRWIP_Status;\r\n this.roapprovalIncidentStatus = applicationconstant.Incident_ROApproval_Status;\r\n this.workapprovedIncidentStatus = applicationconstant.Incident_WorkApproved_Status;\r\n this.workrejectedIncidentStatus = applicationconstant.Incident_WorkRejected_Status;\r\n this.closedIncidentStatus = applicationconstant.Incident_Closed_Status;\r\n //this.incidentId= Incident.incidentId;\r\n\r\n // New status\r\n this.incident_status_open = applicationconstant.INCIDENT_STATUS_OPEN;\r\n this.incident_status_assigned = applicationconstant.INCIDENT_STATUS_ASSIGNED;\r\n this.incident_status_workInProgress = applicationconstant.INCIDENT_STATUS_WORKINPROGRESS;\r\n this.incident_status_efsrOnHold = applicationconstant.INCIDENT_STATUS_EFSR_ON_HOLD;\r\n this.incident_status_roApprovalPending = applicationconstant.INCIDENT_STATUS_RO_APPROVAL_PENDING;\r\n this.incident_status_efsrApprovedByRO = applicationconstant.INCIDENT_STATUS_EFSR_APPROVED_BY_RO;\r\n this.incident_status_efsrRejectedByRO = applicationconstant.INCIDENT_STATUS_EFSR_REJECTED_BY_RO;\r\n\r\n //this.closedTicketStatus = applicationconstant.Ticket_Search_Closed;\r\n //this.openTicketStatus = applicationconstant.Ticket_Search_Open;\r\n //this.onholdTicketStatus = applicationconstant.Ticket_Search_OnHold;\r\n //this.inprogressTicketStatus = applicationconstant.Ticket_Search_InProgress;\r\n\r\n }\r\n\r\n onSearchTicket() {\r\n if(this.vendorSearchForm.valid) {\r\n const searchFormData: any = Object.assign({}, this.vendorSearchForm.value);\r\n const searchType = searchFormData.searchType;\r\n const searchTerm = searchFormData.searchTerm;\r\n if (searchType == applicationconstant.Ticket_Search_Status && searchTerm.trim().toUpperCase() == applicationconstant.Incident_Assigned_Status.toUpperCase()) {\r\n\r\n this.searchTermStatus = this.assignedIncidentStatus;\r\n }\r\n if (searchType == applicationconstant.Ticket_Search_Status && searchTerm.trim().toUpperCase() == applicationconstant.Incident_Open_Status.toUpperCase()) {\r\n\r\n this.searchTermStatus = this.openIncidentStatus;\r\n }\r\n if (searchType == applicationconstant.Ticket_Search_Status && searchTerm.trim().toUpperCase() == applicationconstant.Incident_WIP_Status.toUpperCase()) {\r\n\r\n this.searchTermStatus = this.workinprogressIncidentStatus;\r\n }\r\n if (searchType == applicationconstant.Ticket_Search_Status && searchTerm.trim().toUpperCase() == applicationconstant.Incident_EFSRWIP_Status.toUpperCase()) {\r\n\r\n this.searchTermStatus = this.efsrWIPIncidentStatus;\r\n }\r\n if (searchType == applicationconstant.Ticket_Search_Status && searchTerm.trim().toUpperCase() == applicationconstant.Incident_ROApproval_Status.toUpperCase()) {\r\n\r\n this.searchTermStatus = this.roapprovalIncidentStatus;\r\n }\r\n if (searchType == applicationconstant.Ticket_Search_Status && searchTerm.trim().toUpperCase() == applicationconstant.Incident_WorkApproved_Status.toUpperCase()) {\r\n\r\n this.searchTermStatus = this.workapprovedIncidentStatus;\r\n }\r\n if (searchType == applicationconstant.Ticket_Search_Status && searchTerm.trim().toUpperCase() == applicationconstant.Incident_WorkRejected_Status.toUpperCase()) {\r\n\r\n this.searchTermStatus = this.workrejectedIncidentStatus;\r\n }\r\n if (searchType == applicationconstant.Ticket_Search_Status && searchTerm.trim().toUpperCase() == applicationconstant.Incident_Closed_Status.toUpperCase()) {\r\n\r\n this.searchTermStatus = this.closedIncidentStatus;\r\n }\r\n if (searchType == this.interactionId && searchTerm.trim()==this.interactionId) \r\n {\r\n\r\n this.searchTermStatus = this.interactionId;\r\n }\r\n\r\n if (searchType == applicationconstant.Ticket_Search_Status && (\r\n searchTerm.trim().toUpperCase() == applicationconstant.Incident_Assigned_Status.toUpperCase() ||\r\n searchTerm.trim().toUpperCase() == applicationconstant.Incident_Open_Status.toUpperCase() ||\r\n searchTerm.replace(/\\s/g, \"\").toUpperCase() == applicationconstant.Incident_WIP_Status.toUpperCase() ||\r\n searchTerm.replace(/\\s/g, \"\").toUpperCase() == applicationconstant.Incident_EFSRWIP_Status.toUpperCase() ||\r\n searchTerm.replace(/\\s/g, \"\").toUpperCase() == applicationconstant.Incident_ROApproval_Status.toUpperCase() ||\r\n searchTerm.replace(/\\s/g, \"\").toUpperCase() == applicationconstant.Incident_WorkApproved_Status.toUpperCase() ||\r\n searchTerm.replace(/\\s/g, \"\").toUpperCase() == applicationconstant.Incident_WorkRejected_Status.toUpperCase() ||\r\n searchTerm.trim().toUpperCase() == applicationconstant.Incident_Closed_Status.toUpperCase() \r\n )) {\r\n this.getTicketList(searchType, this.searchTermStatus.toLocaleString());\r\n }\r\n if (searchType == this.interactionId && (\r\n searchTerm.trim() == this.interactionId))\r\n {\r\n this.getTicketList(searchType, this.searchTermStatus.toLocaleString());\r\n }\r\n else{\r\n this.getTicketList(searchType, searchTerm);\r\n }\r\n }\r\n else {\r\n this.ValidateAllFields(this.vendorSearchForm);\r\n this.logValidationErrors(this.vendorSearchForm);\r\n }\r\n\r\n }\r\n ResetSearch()\r\n {\r\n this.vendorSearchForm.reset();\r\n this.ticketValues=this.ticketSearchType.map(x=>x.mstValue).join(' / ');\r\n this.getTicketList('','');\r\n }\r\n\r\n onSearchChange(value: any) {\r\n this.ticketValues=this.ticketSearchType.filter(x=>x.mstKey==value).map(x=>x.mstValue).toString();\r\n }\r\n\r\n public getTicketList(searchParam: string, searchValue: string) {\r\n var search = new SearchDTO();\r\n search.searchParam =searchParam;\r\n search.searchValue = searchValue;\r\n this.VendorService.getTicketList(search)\r\n .subscribe((data) => {\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.incidentList = data.results;\r\n }\r\n else {\r\n this.openSnackBar(data.message, '');\r\n this.incidentList = [];\r\n }\r\n }),\r\n (err: any) => {\r\n this.openSnackBar(err.error.message, 'error');\r\n }\r\n }\r\n\r\n public ViewDetails(ticketId: number) {\r\n this.VendorService.setTicketId(ticketId);\r\n this.VendorService.setRequestFromVendor(true);\r\n this.router.navigate(['supervisor/viewticket']);\r\n }\r\n\r\n public VIEWEFSR(ticketId: number,ticketInteractionId: string){\r\n\r\n this.VendorService.setRequestFromRO(true);\r\n this.VendorService.setRequestFromVendor(true);\r\n this.VendorService.setTicketId(ticketId);\r\n this.VendorService.setTicketInteractionId(ticketInteractionId);\r\n this.EngineerService.checkEFSRForRO(ticketInteractionId)\r\n .subscribe((data) => {\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.EngineerService.setEFSRId(data.returnId);\r\n this.EngineerService.setIncidentId(ticketInteractionId);\r\n \r\n // this.VendorService.setTicketId(ticketId);\r\n // this.EngineerService.setIncidentId(ticketInteractionId);\r\n this.router.navigate(['supervisor/view-efsr']);\r\n \r\n }\r\n else{\r\n // this.EngineerService.setEFSRExists(false);\r\n this.openSnackBar(data.message, 'error');\r\n }\r\n }),\r\n (err: any) => {\r\n this.openSnackBar(err.error.message, 'error');\r\n }\r\n \r\n }\r\n\r\n ViewSEDetails(ticketId: number) {\r\n this.VendorService.setTicketId(ticketId);\r\n this.router.navigate(['SE/view-se']);\r\n }\r\n \r\n public RejectTicket(ticketId:number, interactionId:string){\r\n this.VendorService.setTicketId(ticketId);\r\n this.EngineerService.setIncidentId(interactionId);\r\n if(ticketId!=null){\r\n \r\n const dialogRef = this.dialog.open(RejectComponent, {\r\n width: '500px',\r\n data: {ticketId : ticketId,interactionId:interactionId} //sEEMAIL:this.sEEMAIL}\r\n });\r\n dialogRef.afterClosed().subscribe(result => {\r\n if (result) {\r\n this.router.navigate(['supervisor/ticketsearch']);\r\n this.getTicketList('','');\r\n }\r\n \r\n });\r\n\r\n\r\n }\r\n }\r\n\r\n public AssignTicket(ticketId: number,ticketInteractionId: string) {\r\n this.VendorService.setTicketId(ticketId);\r\n this.VendorService.setTicketInteractionId(ticketInteractionId);\r\n this.router.navigate(['ServiceEngineer/assign-ticketto-se']);\r\n }\r\n\r\n public getDropdownItems() {\r\n const params =\r\n `${DropdownItemsGroup.TICKET_SEARCH_PARAM}`;\r\n this.VendorService.getDropdownItems(JSON.stringify(params))\r\n .subscribe(items => {\r\n if (items.flag == applicationconstant.SuccessFlag) {\r\n this.setDropdownItemsAsPerGroup(items.results);\r\n }\r\n else {\r\n this.openSnackBar(items.message, '')\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, '')\r\n );\r\n }\r\n\r\n private setDropdownItemsAsPerGroup(itemsGrop: any) {\r\n if (itemsGrop.length > 0) {\r\n this.ticketSearchType = [];\r\n for (let item of itemsGrop) {\r\n if (item.mstGroup == DropdownItemsGroup.TICKET_SEARCH_PARAM) {\r\n this.ticketSearchType.push(item);\r\n }\r\n }\r\n }\r\n this.ticketValues=this.ticketSearchType.map(x=>x.mstValue).join(' / '); \r\n }\r\n\r\n\r\n logValidationErrors(group: FormGroup = this.vendorSearchForm): void {\r\n Object.keys(group.controls).forEach((key: string) => {\r\n const abstractControl = group.get(key);\r\n if (abstractControl instanceof FormGroup) {\r\n this.logValidationErrors(abstractControl)\r\n } else {\r\n this.formErrors[key] = '';\r\n if (abstractControl && !abstractControl.valid && (abstractControl.touched || abstractControl.dirty)) {\r\n const messages = this.validationMessages[key];\r\n\r\n for (const errorKey in abstractControl.errors) {\r\n if (errorKey) {\r\n this.formErrors[key] += messages[errorKey] + '';\r\n }\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n ValidateAllFields(formGroup: FormGroup) {\r\n Object.keys(formGroup.controls).forEach(field => {\r\n const control = formGroup.get(field);\r\n if (control instanceof FormControl) {\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) {\r\n this.ValidateAllFields(control);\r\n }\r\n });\r\n }\r\n\r\n // sortData(sort: Sort) {\r\n // const data = this.desserts.slice();\r\n // if (!sort.active || sort.direction === '') {\r\n // this.sortedData = data;\r\n // return;\r\n // }\r\n\r\n // this.sortedData = data.sort((a, b) => {\r\n // const isAsc = sort.direction === 'asc';\r\n // switch (sort.active) {\r\n // case 'name': return compare(a.name, b.name, isAsc);\r\n // case 'calories': return compare(a.calories, b.calories, isAsc);\r\n // case 'fat': return compare(a.fat, b.fat, isAsc);\r\n // case 'carbs': return compare(a.carbs, b.carbs, isAsc);\r\n // case 'protein': return compare(a.protein, b.protein, isAsc);\r\n // default: return 0;\r\n // }\r\n // });\r\n // }\r\n // }\r\n\r\n // compare(a: number | string, b: number | string, isAsc: boolean) {\r\n // return (a < b ? -1 : 1) * (isAsc ? 1 : -1);\r\n // }\r\n /**\r\n * Snack bar\r\n *\r\n * @param {string} message\r\n * @param {string} action\r\n * @memberof ForgotpasswordComponent\r\n */\r\n openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n\r\n// public toggleListAndCardTab(selDisplayType: string) {\r\n// if (selDisplayType == 'CARD') {\r\n// $('#listPending').hide();\r\n// $('#listSubmitted').hide();\r\n// $('#cardPending').show();\r\n// $('#cardSubmitted').show();\r\n// }\r\n// else if (selDisplayType == 'LIST') {\r\n// $('#listPending').show();\r\n// $('#listSubmitted').show();\r\n// $('#cardPending').hide();\r\n// $('#cardSubmitted').hide();\r\n// }\r\n// }\r\n\r\n}\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9WZW5kb3JTdXBlcnZpc29yL3ZpZXctdGlja2V0cy92aWV3LXRpY2tldHMuY29tcG9uZW50LnNjc3MifQ== */\"","import { Component, OnInit, NgZone } from '@angular/core';\r\nimport { FormGroup, FormControl, FormBuilder, Validators } from '@angular/forms';\r\nimport { MatDialog, MatSnackBar } from '@angular/material';\r\nimport { Router } from '@angular/router';\r\nimport { AssignTicket } from 'src/app/Models/TicketsSE/AssignTicket.model';\r\nimport { Observable } from 'rxjs';\r\n//import{ TicketsAssginedSE} from 'src/app/Services/ServiceEngineer/TicketsAssginedSE.service';\r\nimport{AssignTickettoSEComponent} from 'src/app/Component/ServiceEngineer/assign-ticketto-se/assign-ticketto-se.component';\r\nimport { Ticket } from 'src/app/Models/vendorsupervisor/ticket.model';\r\nimport { Incident } from 'src/app/Models/vendorsupervisor/incident.model';\r\nimport{ VendorSupervisorService } from 'src/app/Services/vendorsupervisor/vendorsupervisor.service'\r\n@Component({\r\n  selector: 'app-view-tickets',\r\n  templateUrl: './view-tickets.component.html',\r\n  styleUrls: ['./view-tickets.component.scss']\r\n})\r\nexport class ViewTicketsComponent implements OnInit {\r\n      TicketForm:FormGroup;\r\n      ticketId : number;\r\n      incidentIdToken : any;\r\n      requestFromSupervisor : boolean = false;\r\n      requestFromRO : boolean = false;\r\n      showRemarksDetails = false;\r\n      remarksFromVS: string;\r\n  constructor(private fb: FormBuilder,private vendorservice: VendorSupervisorService,public snackBar: MatSnackBar, private dialog: MatDialog, \r\n    private router: Router)   { \r\n    this.TicketForm = this.ValidateTicketDetails();\r\n  \r\n   }\r\n  ngOnInit() {\r\n    const currentUser = JSON.parse(localStorage.getItem('currentUser'));\r\n    this.ticketId = this.vendorservice.getTicketId();\r\n    this.requestFromSupervisor = this.vendorservice.getRequestFromVendor();\r\n    this.requestFromRO = this.vendorservice.getRequestFromRO();\r\n     if (currentUser.Role == \"SEROLE\")\r\n     {\r\n      this.showRemarksDetails = true;\r\n      //this.remarksFromVS=String(this.vendorservice.Remark);\r\n     }\r\n    \r\n    if (this.ticketId != null || this.ticketId != undefined)\r\n    {\r\n      this.incidentIdToken = this.ticketId;\r\n    }\r\n    if (localStorage.getItem('incidentIdToken') == null ||localStorage.getItem('incidentIdToken') == undefined) \r\n    {\r\n      localStorage.setItem('incidentIdToken', this.incidentIdToken);\r\n    }\r\n    if (this.ticketId == undefined)\r\n    {\r\n      this.ticketId = Number(localStorage.getItem('incidentIdToken'));\r\n    }\r\n    \r\n   this.vendorservice.getticket(this.ticketId)\r\n       .subscribe((data: any) => {\r\n         if (data != null)\r\n         {\r\n            this.SetticketIdDetails(data.results);\r\n         }\r\n       },\r\n       (err: any) => {\r\n        this.openSnackBar(err.error.message, 'error');\r\n       });\r\n   }\r\n       public SetticketIdDetails(incident: Incident) {\r\n        if (incident != null) {\r\n          var priority = \"\"; \r\n          if (incident[0].priorityCode == \"1\")\r\n          {\r\n            priority = \"CRITICAL\";\r\n          }\r\n          if (incident[0].priorityCode == \"2\")\r\n          {\r\n            priority = \"HIGH\";\r\n          }\r\n          if (incident[0].priorityCode == \"3\")\r\n          {\r\n            priority = \"MEDIUM\";\r\n          }\r\n          if (incident[0].priorityCode == \"4\")\r\n          {\r\n            priority = \"LOW\";\r\n          }\r\n          this.TicketForm.patchValue({\r\n            id : this.ticketId ,\r\n            incidentId : incident[0].incidentId,\r\n            interactionId : incident[0].interactionId,\r\n            openDate : incident[0].openDate,\r\n            openDTAgeing : incident[0].openDTAgeing,\r\n            resolvedDTAgeing : incident[0].resolvedDTAgeing,\r\n            location : incident[0].location,\r\n            serviceRecepient : incident[0].serviceRecepient,\r\n            storeType: incident[0].storeType,\r\n            status : incident[0].status,\r\n            subCategory : incident[0].subCategory,\r\n            area : incident[0].area,\r\n            subArea : incident[0].subArea,\r\n            source : incident[0].source,\r\n            assignmentGroup : incident[0].assignmentGroup,\r\n            openedBy : incident[0].openedBy,\r\n            assignee : incident[0].assignee,\r\n            technicianName : incident[0].technicianName,\r\n            title : incident[0].title,\r\n            description : incident[0].description,\r\n            resolution : incident[0].resolution,\r\n            resolvedTime : incident[0].resolvedTime,\r\n            resolutionCode : incident[0].resolutionCode,\r\n            reopenCount : incident[0].reopenCount,\r\n            updateTime : incident[0].updateTime,\r\n            priorityCode : priority,\r\n            emailId : incident[0].emailId,\r\n            city : incident[0].city,\r\n            state : incident[0].state,\r\n            affectedItem : incident[0].affectedItem,\r\n            ownerName : incident[0].ownerName,\r\n            callbackType : incident[0].callbackType,\r\n            handleTime : incident[0].handleTime,\r\n            closeTime : incident[0].closeTime,\r\n            closedBy : incident[0].closedBy,\r\n            criticalUser : incident[0].criticalUser,\r\n            department : incident[0].department,\r\n            callbackContact : incident[0].callbackContact,\r\n            sla :incident[0].sla,\r\n            remarks :incident[0].remarks,\r\n          });\r\n        }\r\n      }\r\n\r\n      public ValidateTicketDetails() {\r\n        return this.TicketForm = this.fb.group({\r\n           id : new FormControl(),\r\n           incidentId :new FormControl(),\r\n           interactionId : new FormControl(),\r\n           openDate :new FormControl(),\r\n           openDTAgeing :new FormControl(),\r\n           resolvedDTAgeing :new FormControl(),\r\n           location :new FormControl(),\r\n           serviceRecepient :new FormControl(),\r\n           storeType:new FormControl(),\r\n           status :new FormControl(),\r\n           subCategory :new FormControl(),\r\n           area :new FormControl(),\r\n           subArea :new FormControl(),\r\n           source :new FormControl(),\r\n           assignmentGroup :new FormControl(),\r\n           openedBy :new FormControl(),\r\n           assignee :new FormControl(),\r\n           technicianName :new FormControl(),\r\n           title :new FormControl(),\r\n           description :new FormControl(),\r\n           resolution :new FormControl(),\r\n           resolvedTime :new FormControl(),\r\n           resolutionCode :new FormControl(),\r\n           reopenCount :new FormControl(),\r\n           updateTime :new FormControl(),\r\n           priorityCode :new FormControl(),\r\n           emailId :new FormControl(),\r\n           city :new FormControl(),\r\n           state :new FormControl(),\r\n           affectedItem :new FormControl(),\r\n           ownerName :new FormControl(),\r\n           callbackType :new FormControl(),\r\n           handleTime :new FormControl(),\r\n           closeTime :new FormControl(),\r\n           closedBy :new FormControl(),\r\n           criticalUser :new FormControl(),\r\n           department :new FormControl(),\r\n           callbackContact :new FormControl(),\r\n           sla:new FormControl(),\r\n           remarks:new FormControl()\r\n        });\r\n      }\r\n      \r\n      public openSnackBar(message: string, action: string) {\r\n        this.snackBar.open(message, action, {\r\n          duration: 5000,\r\n          verticalPosition: 'top'\r\n        });\r\n      }\r\n      private handleError(error: any) {\r\n        return Observable.throw(error);\r\n      }\r\n      public backToList()\r\n        {\r\n          if(this.requestFromSupervisor)\r\n          {\r\n            this.vendorservice.setRequestFromVendor(false);\r\n            this.router.navigate(['supervisor/ticketsearch']);\r\n          }\r\n          else if(this.requestFromRO)\r\n          {\r\n            this.vendorservice.setRequestFromRO(false);\r\n            this.router.navigate(['RO/incidentsearch']);\r\n          }\r\n          else{\r\n            //this.vendorservice.setRequestFromVendor(false);\r\n            this.router.navigate(['serviceengineer/incidentsearch']);\r\n          }\r\n         \r\n        }\r\n        ngOnDestroy() {\r\n          this.requestFromSupervisor = false;\r\n        }\r\n}\r\n","module.exports = \".alertPopUp {\\n display: inline-block;\\n position: absolute;\\n top: 0;\\n bottom: 0;\\n left: 0;\\n right: 0;\\n width: 100%;\\n height: 100%;\\n margin: 5em;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvQ29tcG9uZW50L2FsZXJ0cG9wdXAvQzpcXFVzZXJzXFxBamF5My5DaGF1aGFuXFxNeSBEYXRhXFxGaW5hbEFqYXlcXFJJTUFQXFxSSU1BUFN5c3RlbVdlYlxcQ2xpZW50QXBwL3NyY1xcYXBwXFxDb21wb25lbnRcXGFsZXJ0cG9wdXBcXGFsZXJ0cG9wdXAuY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL0NvbXBvbmVudC9hbGVydHBvcHVwL2FsZXJ0cG9wdXAuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSxxQkFBQTtFQUNBLGtCQUFBO0VBQ0EsTUFBQTtFQUNBLFNBQUE7RUFDQSxPQUFBO0VBQ0EsUUFBQTtFQUNBLFdBQUE7RUFDQSxZQUFBO0VBQ0EsV0FBQTtBQ0NGIiwiZmlsZSI6InNyYy9hcHAvQ29tcG9uZW50L2FsZXJ0cG9wdXAvYWxlcnRwb3B1cC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5hbGVydFBvcFVwIHtcclxuICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XHJcbiAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gIHRvcDogMDtcclxuICBib3R0b206IDA7XHJcbiAgbGVmdDogMDtcclxuICByaWdodDogMDtcclxuICB3aWR0aDogMTAwJTtcclxuICBoZWlnaHQ6IDEwMCU7XHJcbiAgbWFyZ2luOiA1ZW07XHJcbn1cclxuIiwiLmFsZXJ0UG9wVXAge1xuICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgdG9wOiAwO1xuICBib3R0b206IDA7XG4gIGxlZnQ6IDA7XG4gIHJpZ2h0OiAwO1xuICB3aWR0aDogMTAwJTtcbiAgaGVpZ2h0OiAxMDAlO1xuICBtYXJnaW46IDVlbTtcbn0iXX0= */\"","//import { Component, OnInit } from '@angular/core';\r\n\r\n//@Component({\r\n// selector: 'app-alertpopup',\r\n// templateUrl: './alertpopup.component.html',\r\n// styleUrls: ['./alertpopup.component.scss']\r\n//})\r\n//export class AlertpopupComponent implements OnInit {\r\n\r\n// constructor() { }\r\n\r\n// ngOnInit() {//test delete i afterwards\r\n// }\r\n\r\n//}\r\n\r\nimport { Component, OnInit, Input } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { LoginService } from 'src/app/Services/loginmanagement/login.service';\r\n\r\n@Component({\r\n selector: 'app-alertpopup',\r\n templateUrl: './alertpopup.component.html',\r\n styleUrls: ['./alertpopup.component.scss']\r\n})\r\nexport class AlertpopupComponent implements OnInit {\r\n\r\n @Input() public displayPopUp: boolean;\r\n @Input() public numberOfDays: number;\r\n public displayPopUpFlag: boolean;\r\n public numberOfDaysPending: number;\r\n constructor(private router: Router, private loginService: LoginService) { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n ngOnChanges(): void {\r\n this.numberOfDaysPending = this.numberOfDays;\r\n this.displayPopUpFlag = this.displayPopUp;\r\n }\r\n public ClosePopUp(): void {\r\n this.displayPopUpFlag = false;\r\n //if user close password expiry warning then redirect to dashboard\r\n this.router.navigate(['/dashboard']);\r\n }\r\n\r\n public ChangePassword(): void {\r\n this.loginService.setNotification('Change Existing Password!');\r\n this.router.navigate(['/changepassword']);\r\n }\r\n}\r\n\r\n","module.exports = \".tmp-dashboard {\\n background: url('login-bg.jpg');\\n background-size: cover;\\n background-position: center;\\n height: 85%;\\n width: 100%;\\n position: absolute;\\n}\\n\\n.dashboard-card {\\n font-family: \\\"hel65\\\", arial, sans-serif;\\n position: absolute;\\n top: 15px;\\n left: 15px;\\n right: 15px;\\n bottom: 15px;\\n border-radius: 3px;\\n background-color: #0ebc89;\\n -webkit-box-pack: center;\\n justify-content: center;\\n}\\n\\n.dashboard-card-content {\\n overflow: hidden;\\n font-size: 28px;\\n color: #ffffff;\\n font-weight: normal;\\n cursor: pointer;\\n line-height: 4.5;\\n text-align: center;\\n}\\n\\n.dashbard-tile-link:hover {\\n text-decoration: underline;\\n}\\n\\n.card-title {\\n font-size: 28px;\\n color: #ffffff;\\n font-weight: normal;\\n cursor: pointer;\\n}\\n\\n.app-display-none {\\n display: none;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvQ29tcG9uZW50L2Rhc2hib2FyZC9DOlxcVXNlcnNcXEFqYXkzLkNoYXVoYW5cXE15IERhdGFcXEZpbmFsQWpheVxcUklNQVBcXFJJTUFQU3lzdGVtV2ViXFxDbGllbnRBcHAvc3JjXFxhcHBcXENvbXBvbmVudFxcZGFzaGJvYXJkXFxkYXNoYm9hcmQuY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL0NvbXBvbmVudC9kYXNoYm9hcmQvZGFzaGJvYXJkLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9CQTtFQUNJLCtCQUFBO0VBQ0Esc0JBQUE7RUFDQSwyQkFBQTtFQUNBLFdBQUE7RUFDQSxXQUFBO0VBQ0Esa0JBQUE7QUNuQko7O0FEc0JBO0VBQ0ksdUNBQUE7RUFDQSxrQkFBQTtFQUNBLFNBQUE7RUFDQSxVQUFBO0VBQ0EsV0FBQTtFQUNBLFlBQUE7RUFDQSxrQkFBQTtFQUNBLHlCQUFBO0VBQ0Esd0JBQUE7VUFBQSx1QkFBQTtBQ25CSjs7QURzQkE7RUFDSSxnQkFBQTtFQUNBLGVBQUE7RUFDQSxjQUFBO0VBQ0EsbUJBQUE7RUFDQSxlQUFBO0VBQ0EsZ0JBQUE7RUFDQSxrQ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7XG4gIGJhY2tncm91bmQtc2l6ZTogY292ZXI7XG4gIGJhY2tncm91bmQtcG9zaXRpb246IGNlbnRlcjtcbiAgaGVpZ2h0OiA4NSU7XG4gIHdpZHRoOiAxMDAlO1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG59XG5cbi5kYXNoYm9hcmQtY2FyZCB7XG4gIGZvbnQtZmFtaWx5OiBcImhlbDY1XCIsIGFyaWFsLCBzYW5zLXNlcmlmO1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHRvcDogMTVweDtcbiAgbGVmdDogMTVweDtcbiAgcmlnaHQ6IDE1cHg7XG4gIGJvdHRvbTogMTVweDtcbiAgYm9yZGVyLXJhZGl1czogM3B4O1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAjMGViYzg5O1xuICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbn1cblxuLmRhc2hib2FyZC1jYXJkLWNvbnRlbnQge1xuICBvdmVyZmxvdzogaGlkZGVuO1xuICBmb250LXNpemU6IDI4cHg7XG4gIGNvbG9yOiAjZmZmZmZmO1xuICBmb250LXdlaWdodDogbm9ybWFsO1xuICBjdXJzb3I6IHBvaW50ZXI7XG4gIGxpbmUtaGVpZ2h0OiA0LjU7XG4gIHRleHQtYWxpZ246IGNlbnRlcjtcbn1cblxuLmRhc2hiYXJkLXRpbGUtbGluazpob3ZlciB7XG4gIHRleHQtZGVjb3JhdGlvbjogdW5kZXJsaW5lO1xufVxuXG4uY2FyZC10aXRsZSB7XG4gIGZvbnQtc2l6ZTogMjhweDtcbiAgY29sb3I6ICNmZmZmZmY7XG4gIGZvbnQtd2VpZ2h0OiBub3JtYWw7XG4gIGN1cnNvcjogcG9pbnRlcjtcbn1cblxuLmFwcC1kaXNwbGF5LW5vbmUge1xuICBkaXNwbGF5OiBub25lO1xufSJdfQ== */\"","import { Component, OnInit } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { UserService } from 'src/app/Services/usermanagement/user.service';\r\nimport { LoginService } from 'src/app/Services/loginmanagement/login.service';\r\nimport { MenuItemService } from '../../Services/Utilities/menuitems.service';\r\nimport { MatDialog, MatSnackBar } from '@angular/material';\r\n//import { VerifymobileComponent } from 'src/app/Component/verifymobile/verifymobile.component';\r\nimport { applicationconstant } from 'src/app/Models/DropdownItemsGroup/applicationconstant.model';\r\n\r\nexport interface Link {\r\n text: string;\r\n url: string;\r\n}\r\n\r\nexport interface Tile {\r\n color: string;\r\n cols: number;\r\n rows: number;\r\n text: string;\r\n links: Link[];\r\n}\r\n\r\n@Component({\r\n selector: 'app-dashboard',\r\n templateUrl: './dashboard.component.html',\r\n styleUrls: ['./dashboard.component.scss']\r\n})\r\nexport class DashboardComponent implements OnInit {\r\n\r\n public userName: any;\r\n public menuItems: any;\r\n requestafterLogin: boolean ;\r\n\r\n\r\n tiles: Tile[] = [\r\n {\r\n text: 'My Profile', cols: 2, rows: 2, color: '#ffffff',\r\n links: [\r\n { 'text': 'Change Password', 'url': 'changepassword/create' },\r\n ]\r\n },\r\n {\r\n text: 'Place an Order', cols: 2, rows: 2, color: '#ffffff',\r\n links: [{ 'text': 'Place Order', 'url': 'orders' }]\r\n },\r\n {\r\n text: 'My last 5 orders', cols: 2, rows: 2, color: '#ffffff',\r\n links: [{ 'text': 'Recent Orders', 'url': 'orders/delivered' }]\r\n },\r\n {\r\n text: 'My Assets', cols: 2, rows: 2, color: '#ffffff',\r\n links: [{ 'text': 'View Assets', 'url': 'asset' }]\r\n },\r\n {\r\n text: 'Track an Order', cols: 2, rows: 2, color: '#ffffff',\r\n links: [{ 'text': 'Track your order', 'url': 'orders/track' }]\r\n },\r\n {\r\n text: 'Offers', cols: 2, rows: 2, color: '#ffffff',\r\n links: [{ 'text': 'Avaiable Offers', 'url': 'offers' }]\r\n }\r\n ];\r\n\r\n constructor(private router: Router, private userService: UserService,\r\n private loginService: LoginService, private menuItemService: MenuItemService, public snackBar: MatSnackBar, public dialog: MatDialog) { }\r\n\r\n ngOnInit() {\r\n // get menu items as per logged in user\r\n this.getMenuItems();\r\n const currentUser = JSON.parse(localStorage.getItem('currentUser'));\r\n this.userName = currentUser && currentUser.FirstName + \" \" + currentUser.LastName;\r\n // this.requestafterLogin = this.loginService.getDashboardParameter()\r\n // if (this.requestafterLogin) {\r\n // this.verifyMobile();\r\n //}\r\n \r\n }\r\n\r\n /**\r\n * Get Menu items \r\n */\r\n public getMenuItems() {\r\n this.userService.getMenuAsPerUser().subscribe((data: any) => {\r\n this.menuItems = data;\r\n this.menuItemService.setMenuItems(data);\r\n //this.requestafterLogin = this.loginService.getDashboardParameter()\r\n //if (this.requestafterLogin) {\r\n // this.verifyMobile();\r\n // }\r\n },\r\n (err: any) => {\r\n console.log(err);\r\n });\r\n }\r\n\r\n /**\r\n * Logout user\r\n * Clear localstorage after logout\r\n */\r\n public logout() {\r\n //update user logout time \r\n this.loginService.updateUserLogoutTime().subscribe((data: any) => { },\r\n (err: any) => { console.log(err); });\r\n\r\n localStorage.removeItem('userToken');\r\n localStorage.removeItem('currentUser');\r\n localStorage.removeItem('menu');\r\n //redirect to login page\r\n this.router.navigate(['/login']);\r\n }\r\n\r\n public getUserMobileDetails() {\r\n this.userService.getMenuAsPerUser().subscribe((data: any) => {\r\n this.menuItems = data;\r\n this.menuItemService.setMenuItems(data);\r\n },\r\n (err: any) => {\r\n console.log(err);\r\n });\r\n }\r\n\r\n //public verifyMobile() {\r\n // this.loginService.getMobileandEmailForVerification().subscribe((data: any) => {\r\n // if (data && data.flag === 'S') {\r\n // if (data.result.isMobileVerified === 'N' && data.result.isMobileOTPLimitExceeded === 'N') {\r\n // const dialogRef = this.dialog.open(VerifymobileComponent, {\r\n // disableClose: true,\r\n // width: '350px',\r\n // data: applicationconstant.Request_For_Mobile_Verification\r\n // });\r\n // dialogRef.afterClosed().subscribe(result => {\r\n // if (result) {\r\n // //close\r\n // if (data.result.isEmailVerified === 'N' && data.result.isEmailOTPLimitExceeded === 'N') {\r\n // const dialogRef = this.dialog.open(VerifymobileComponent, {\r\n // disableClose: true,\r\n // width: '350px',\r\n // data: applicationconstant.Request_For_Email_Verification\r\n // });\r\n // dialogRef.afterClosed().subscribe(result => {\r\n // if (result) {\r\n // // close;\r\n // }\r\n // });\r\n // }\r\n // //close\r\n // }\r\n // });\r\n // }\r\n // if (data.result.isMobileVerified === 'Y' && data.result.isEmailVerified === 'N' && data.result.isEmailOTPLimitExceeded === 'N') {\r\n // const dialogRef = this.dialog.open(VerifymobileComponent, {\r\n // disableClose: true,\r\n // width: '350px',\r\n // data: applicationconstant.Request_For_Email_Verification\r\n // });\r\n // dialogRef.afterClosed().subscribe(result => {\r\n // if (result) {\r\n // // close;\r\n // }\r\n // });\r\n // }\r\n // if (data.result.isMobileVerified === 'N' && data.result.isMobileOTPLimitExceeded === 'Y' && data.result.isEmailVerified === 'N' && data.result.isEmailOTPLimitExceeded === 'N') {\r\n // const dialogRef = this.dialog.open(VerifymobileComponent, {\r\n // disableClose: true,\r\n // width: '350px',\r\n // data: applicationconstant.Request_For_Email_Verification\r\n // });\r\n // dialogRef.afterClosed().subscribe(result => {\r\n // if (result) {\r\n // // close;\r\n // }\r\n // });\r\n // }\r\n // }\r\n // else {\r\n // this.openSnackBar(data.message, '');\r\n // }\r\n // },\r\n // (err: any) => {\r\n // this.openSnackBar(err.error.message, '');\r\n // });\r\n // this.loginService.setDashboardParameter(false);\r\n //}\r\n\r\n openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n\r\n}\r\n","module.exports = \".example-form {\\r\\n min-width: 150px;\\r\\n max-width: 500px;\\r\\n width: 100%;\\r\\n}\\r\\n\\r\\n.example-full-width {\\r\\n width: 100%;\\r\\n}\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvQ29tcG9uZW50L2ZvcmdvdHBhc3N3b3JkL2ZvcmdvdHBhc3N3b3JkLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSxnQkFBZ0I7RUFDaEIsZ0JBQWdCO0VBQ2hCLFdBQVc7QUFDYjs7QUFFQTtFQUNFLFdBQVc7QUFDYiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9mb3Jnb3RwYXNzd29yZC9mb3Jnb3RwYXNzd29yZC5jb21wb25lbnQuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmV4YW1wbGUtZm9ybSB7XHJcbiAgbWluLXdpZHRoOiAxNTBweDtcclxuICBtYXgtd2lkdGg6IDUwMHB4O1xyXG4gIHdpZHRoOiAxMDAlO1xyXG59XHJcblxyXG4uZXhhbXBsZS1mdWxsLXdpZHRoIHtcclxuICB3aWR0aDogMTAwJTtcclxufVxyXG4iXX0= */\"","import { Component, OnInit } from '@angular/core';\r\nimport { FormGroup, FormControl, FormBuilder, Validators, FormGroupDirective, NgForm } from '@angular/forms'\r\nimport { MatDialog, MatSnackBar } from '@angular/material';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { LoginService } from 'src/app/Services/loginmanagement/login.service';\r\nimport { ForgotPassword } from '../../Models/ForgotPassword/forgotPassword.model';\r\nimport { Router } from '@angular/router';\r\nimport { HeaderService } from '../../Services/header/header.service';\r\nimport { applicationconstant } from 'src/app/Models/DropdownItemsGroup/applicationconstant.model';\r\n\r\n/**\r\n * Forgot password form\r\n *\r\n * @export\r\n * @class ForgotpasswordComponent\r\n * @implements {OnInit}\r\n */\r\n@Component({\r\n selector: 'app-forgotpassword',\r\n templateUrl: './forgotpassword.component.html',\r\n styleUrls: ['./forgotpassword.component.css']\r\n})\r\nexport class ForgotpasswordComponent implements OnInit {\r\n\r\n /**\r\n * Form group for password reset\r\n *\r\n * @type {FormGroup}\r\n * @memberof ForgotpasswordComponent\r\n */\r\n forgotPasswordForm: FormGroup;\r\n\r\n hidePassword = true;\r\n parameteruserInput = null;\r\n \r\n\r\n /**\r\n * Validation messages\r\n *\r\n * @memberof ForgotpasswordComponent\r\n */\r\n validationMessages = {\r\n 'otp': {\r\n 'required': 'Please enter OTP recieved in your regeistered mobile no.',\r\n 'pattern': 'Your OTP must contain only numbers.'\r\n },\r\n 'password': {\r\n 'required': 'Enter new password.',\r\n 'minlength': 'Password must contain atleast 8 characters.',\r\n 'maxlength': 'Password must contain maximum 16 characters.',\r\n 'pattern': 'The password must contain atleast one capital letter,one small letter,one number and a special character.',\r\n 'notSame': 'Password do not match.'\r\n },\r\n 'confirmPassword': {\r\n 'required': 'Confirm new password.',\r\n 'notSame': 'Passwords do not match.'\r\n },\r\n };\r\n\r\n formErrors = {\r\n 'otp': '',\r\n 'password': '',\r\n 'confirmPassword': ''\r\n };\r\n\r\n /**\r\n * Creates an instance of ForgotpasswordComponent.\r\n * @param {FormBuilder} fb\r\n * @memberof ForgotpasswordComponent\r\n */\r\n constructor(private fb: FormBuilder, private activatedroute: ActivatedRoute, private router: Router, private loginService: LoginService, public snackBar: MatSnackBar,\r\n public headerService: HeaderService) { }\r\n\r\n ngOnInit() {\r\n\r\n this.headerService.hide();\r\n this.parameteruserInput = this.loginService.GetForgotPasswordUserInput();\r\n\r\n\r\n\r\n this.forgotPasswordForm = this.fb.group({\r\n otp: ['', [Validators.required,Validators.pattern(\"^[0-9]*$\")]],\r\n password: ['', [Validators.required, Validators.minLength(8),\r\n Validators.pattern(\"^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[@$!%*?&])[A-Za-z0-9@$!%*?&]{8,16}$\"),\r\n Validators.maxLength(16)]],\r\n confirmPassword: ['', [Validators.required]]\r\n }, { validator: this.checkPasswords });\r\n\r\n this.forgotPasswordForm.valueChanges.subscribe((data) => {\r\n this.logValidationErrors(this.forgotPasswordForm);\r\n });\r\n\r\n }\r\n\r\n\r\n checkPasswords(group: FormGroup) { // here we have the 'passwords' group\r\n let pass = group.get('password').value;\r\n let confirmPass = group.get('confirmPassword').value;\r\n pass === confirmPass ? null:\r\n group.get('confirmPassword').setErrors({ notSame: true });\r\n }\r\n\r\n \r\n /**\r\n * Submit the form\r\n *\r\n * @returns\r\n * @memberof ForgotpasswordComponent\r\n */\r\n OnSubmit(): void {\r\n if (this.forgotPasswordForm.valid) {\r\n \r\n const userDetails = this.forgotPasswordForm.value;\r\n var changepassword = new ForgotPassword();\r\n changepassword.userInput = this.parameteruserInput;\r\n changepassword.OTP = userDetails.otp;\r\n \r\n changepassword.oldPassword = \"\";\r\n changepassword.newPassword = userDetails.password;\r\n changepassword.confirmPassword = userDetails.confirmPassword;\r\n this.loginService.ForgotPassword(changepassword).subscribe((data: any) => {\r\n if (data.flag === applicationconstant.SuccessFlag) {\r\n this.forgotPasswordForm.reset();\r\n this.openSnackBar(data.message, '');\r\n this.router.navigate(['/login']);\r\n }\r\n else {\r\n this.openSnackBar(data.message, '');\r\n }\r\n },\r\n (err: any) => {\r\n this.openSnackBar(err.error.message, '')\r\n });\r\n }\r\n else {\r\n this.ValidateAllFields(this.forgotPasswordForm);\r\n this.logValidationErrors(this.forgotPasswordForm);\r\n }\r\n };\r\n\r\n logValidationErrors(group: FormGroup = this.forgotPasswordForm): void {\r\n Object.keys(group.controls).forEach((key: string) => {\r\n const abstractControl = group.get(key);\r\n if (abstractControl instanceof FormGroup) {\r\n this.logValidationErrors(abstractControl)\r\n } else {\r\n this.formErrors[key] = '';\r\n if (abstractControl && !abstractControl.valid && (abstractControl.touched || abstractControl.dirty)) {\r\n const messages = this.validationMessages[key];\r\n\r\n for (const errorKey in abstractControl.errors) {\r\n if (errorKey) {\r\n this.formErrors[key] += messages[errorKey] + '';\r\n }\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n ValidateAllFields(formGroup: FormGroup) {\r\n Object.keys(formGroup.controls).forEach(field => {\r\n const control = formGroup.get(field);\r\n if (control instanceof FormControl) {\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) {\r\n this.ValidateAllFields(control);\r\n }\r\n });\r\n }\r\n\r\n /**\r\n * Snack bar\r\n *\r\n * @param {string} message\r\n * @param {string} action\r\n * @memberof ForgotpasswordComponent\r\n */\r\n openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n}\r\n\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9sb2dpbi9Vc2VyQWN0aXZzdGlvbi9BY3RpdmF0ZVVzZXIvYWN0aXZhdGUtbG9naW4tdXNlci9hY3RpdmF0ZS1sb2dpbi11c2VyLmNvbXBvbmVudC5zY3NzIn0= */\"","import { Component, OnInit } from '@angular/core';\nimport { FormGroup, FormControl, FormBuilder, Validators } from '@angular/forms'\nimport { MatDialog, MatSnackBar } from '@angular/material';\nimport { Router } from '@angular/router';\nimport { LoginService } from 'src/app/Services/loginmanagement/login.service';\nimport { HeaderService } from 'src/app/Services/header/header.service';\nimport { ForgotPassword } from 'src/app/Models/ForgotPassword/forgotPassword.model';\nimport { environment } from 'src/environments/environment';\nimport { applicationconstant } from 'src/app/Models/DropdownItemsGroup/applicationconstant.model';\n\n@Component({\n selector: 'app-activate-login-user',\n templateUrl: './activate-login-user.component.html',\n styleUrls: ['./activate-login-user.component.scss']\n})\nexport class ActivateLoginUserComponent implements OnInit {\n userDetailsForm: FormGroup;\n parameteruserInput = null;\n userInput: string;\n Username: string;\n mobileNo: string;\n private siteKeyCaptcha: string;\n public userVerificationResponse: string;\n public recaptchaEnabled: boolean;\n resendOTP:boolean = false;\n\n validationMessages = {\n 'userInput': {\n 'required': 'User Input is required.'\n },\n\n\n };\n\n formErrors = {\n 'userInput': ''\n };\n constructor(private fb: FormBuilder, private router: Router, private loginService: LoginService, public snackBar: MatSnackBar,\n public headerService: HeaderService) { \n this.siteKeyCaptcha = `${environment.siteKeyCaptcha}`;\n this.recaptchaEnabled = false;\n }\n\n ngOnInit() {\n this.headerService.hide();\n this.parameteruserInput = this.loginService.GetForgotPasswordUserInput();\n this.userDetailsForm = this.fb.group({\n userInput: ['', [Validators.required]]\n });\n //this.ShowCaptcha();\n\n this.userDetailsForm.valueChanges.subscribe((data) => {\n this.logValidationErrors(this.userDetailsForm);\n });\n }\n\n\n getResponceCapcha(captchaResponse: string) {\n this.userVerificationResponse = captchaResponse;\n }\n\n OnSubmit(): void {\n if (this.userDetailsForm.valid) {\n // if (this.userVerificationResponse === undefined) {\n // //this.recaptchaEnabled=true;\n // return;\n // }\n // save data\n const userDetails = this.userDetailsForm.value;\n this.userInput = userDetails.userInput\n this.Username=this.parameteruserInput;\n var changepassword = new ForgotPassword();\n changepassword.userInput = this.parameteruserInput;\n changepassword.OTP = userDetails.userInput;\n this.loginService.ActivateUserbyOtp(changepassword).subscribe((data: any) => {\n if (data.flag === applicationconstant.SuccessFlag) {\n this.userDetailsForm.reset();\n this.openSnackBar(data.message, '');\n this.router.navigate(['/login']);\n }\n else {\n this.openSnackBar(data.message, '');\n }\n },\n (err: any) => {\n this.openSnackBar(err.error.message, '')\n }); \n\n }\n else {\n this.ValidateAllFields(this.userDetailsForm);\n this.logValidationErrors(this.userDetailsForm);\n }\n }\n\n openSnackBar(message: string, action: string) {\n this.snackBar.open(message, action, {\n duration: 5000,\n verticalPosition: 'top'\n });\n }\n\n logValidationErrors(group: FormGroup = this.userDetailsForm): void {\n Object.keys(group.controls).forEach((key: string) => {\n const abstractControl = group.get(key);\n if (abstractControl instanceof FormGroup) {\n this.logValidationErrors(abstractControl)\n } else {\n this.formErrors[key] = '';\n if (abstractControl && !abstractControl.valid && (abstractControl.touched || abstractControl.dirty)) {\n const messages = this.validationMessages[key];\n\n for (const errorKey in abstractControl.errors) {\n if (errorKey) {\n this.formErrors[key] += messages[errorKey] + '';\n }\n }\n }\n }\n });\n }\n\n ValidateAllFields(formGroup: FormGroup) {\n Object.keys(formGroup.controls).forEach(field => {\n const control = formGroup.get(field);\n if (control instanceof FormControl) {\n control.markAsTouched({ onlySelf: true });\n } else if (control instanceof FormGroup) {\n this.ValidateAllFields(control);\n }\n });\n }\n\n ResetForm(): void {\n this.userDetailsForm.reset();\n this.userDetailsForm.clearValidators();\n for (let i in this.userDetailsForm.controls) {\n this.userDetailsForm.controls[i].setErrors(null);\n }\n }\n\n}\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9sb2dpbi9Vc2VyQWN0aXZzdGlvbi91c2VyLWFjdGl2YXRpb25ieS1vdHAvdXNlci1hY3RpdmF0aW9uYnktb3RwLmNvbXBvbmVudC5zY3NzIn0= */\"","import { applicationconstant } from 'src/app/Models/DropdownItemsGroup/applicationconstant.model';\nimport { Component, OnInit } from '@angular/core';\nimport { FormGroup, FormControl, FormBuilder, Validators } from '@angular/forms'\nimport { MatDialog, MatSnackBar } from '@angular/material';\nimport { Router } from '@angular/router';\nimport { LoginService } from 'src/app/Services/loginmanagement/login.service';\nimport { HeaderService } from 'src/app/Services/header/header.service';\nimport { ForgotPassword } from 'src/app/Models/ForgotPassword/forgotPassword.model';\nimport { environment } from 'src/environments/environment';\ndeclare var grecaptcha: any;\n@Component({\n selector: 'app-user-activationby-otp',\n templateUrl: './user-activationby-otp.component.html',\n styleUrls: ['./user-activationby-otp.component.scss']\n})\nexport class UserActivationbyOTPComponent implements OnInit {\n userDetailsForm: FormGroup;\n \n userInput: string;\n mobileNo: string;\n private siteKeyCaptcha: string;\n public userVerificationResponse: string;\n public recaptchaEnabled: boolean;\n resendOTP:boolean = false;\n\n validationMessages = {\n 'userInput': {\n 'required': 'User Input is required.'\n },\n\n\n };\n\n formErrors = {\n 'userInput': ''\n };\n constructor(private fb: FormBuilder, private router: Router, private loginService: LoginService, public snackBar: MatSnackBar,\n public headerService: HeaderService) { \n this.siteKeyCaptcha = `${environment.siteKeyCaptcha}`;\n this.recaptchaEnabled = false;\n }\n\n ngOnInit() {\n this.headerService.hide();\n this.userDetailsForm = this.fb.group({\n userInput: ['', [Validators.required]]\n });\n //this.ShowCaptcha();\n\n this.userDetailsForm.valueChanges.subscribe((data) => {\n this.logValidationErrors(this.userDetailsForm);\n });\n }\n\n private ShowCaptcha()\n {\n grecaptcha.render('captcha_element', {\n 'sitekey': this.siteKeyCaptcha,\n 'hl': 'en'\n });\n window['getResponceCapcha'] = this.getResponceCapcha.bind(this);\n }\n\n getResponceCapcha(captchaResponse: string) {\n this.userVerificationResponse = captchaResponse;\n }\n\n OnSubmit(): void {\n if (this.userDetailsForm.valid) {\n // if (this.userVerificationResponse === undefined) {\n // //this.recaptchaEnabled=true;\n // return;\n // }\n // save data\n const userDetails = this.userDetailsForm.value;\n this.userInput = userDetails.userInput\n\n\n var forgotpwdsendotp = new ForgotPassword();\n forgotpwdsendotp.userInput = userDetails.userInput;\n this.loginService.SetForgotPasswordUserInput(userDetails.userInput);\n this.VerifyUser(forgotpwdsendotp); \n }\n else {\n this.ValidateAllFields(this.userDetailsForm);\n this.logValidationErrors(this.userDetailsForm);\n }\n }\n\n VerifyUser(forgotpwdsendotp) {\n this.loginService.VerifyUserforOtpActivation(forgotpwdsendotp).subscribe((data: any) => {\n // if (data.flag === applicationconstant.SuccessFlag) {\n this.openSnackBar(data.message, '');\n if (data.flag === applicationconstant.SuccessFlag)\n {\n this.router.navigate(['/ActivateLoginUser']);\n this.resendOTP = true;\n }\n else {\n this.resendOTP = true;\n }\n },\n (err: any) => {\n this.openSnackBar(err.error.message, 'error')\n this.resendOTP = true;\n });\n }\n\n openSnackBar(message: string, action: string) {\n this.snackBar.open(message, action, {\n duration: 5000,\n verticalPosition: 'top'\n });\n }\n\n logValidationErrors(group: FormGroup = this.userDetailsForm): void {\n Object.keys(group.controls).forEach((key: string) => {\n const abstractControl = group.get(key);\n if (abstractControl instanceof FormGroup) {\n this.logValidationErrors(abstractControl)\n } else {\n this.formErrors[key] = '';\n if (abstractControl && !abstractControl.valid && (abstractControl.touched || abstractControl.dirty)) {\n const messages = this.validationMessages[key];\n\n for (const errorKey in abstractControl.errors) {\n if (errorKey) {\n this.formErrors[key] += messages[errorKey] + '';\n }\n }\n }\n }\n });\n }\n\n ValidateAllFields(formGroup: FormGroup) {\n Object.keys(formGroup.controls).forEach(field => {\n const control = formGroup.get(field);\n if (control instanceof FormControl) {\n control.markAsTouched({ onlySelf: true });\n } else if (control instanceof FormGroup) {\n this.ValidateAllFields(control);\n }\n });\n }\n\n ResetForm(): void {\n this.userDetailsForm.reset();\n this.userDetailsForm.clearValidators();\n for (let i in this.userDetailsForm.controls) {\n this.userDetailsForm.controls[i].setErrors(null);\n }\n }\n}\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9sb2dpbi9maXJzdHRpbWVsb2dpbi9maXJzdHRpbWVsb2dpbi5jb21wb25lbnQuc2NzcyJ9 */\"","import { Component, OnInit } from '@angular/core';\r\nimport { FormGroup, FormControl, FormBuilder, Validators, FormGroupDirective, NgForm, AbstractControl } from '@angular/forms'\r\nimport { MatDialog, MatSnackBar } from '@angular/material';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { LoginService } from 'src/app/Services/loginmanagement/login.service';\r\nimport { FirstTimeLogin } from 'src/app/Models/firsttimelogin/firsttimelogin.model';\r\nimport { Router } from '@angular/router';\r\nimport { HeaderService } from 'src/app/Services/header/header.service';\r\nimport { applicationconstant } from 'src/app/Models/DropdownItemsGroup/applicationconstant.model';\r\n//import { MobileNOpromptComponent } from 'src/app/Component/login/firsttimelogin/mobile-noprompt/mobile-noprompt.component';\r\nimport { ForgotPassword } from 'src/app/Models/usermanagement/forgotPassword.model';\r\n\r\n\r\n\r\n@Component({\r\n selector: 'app-firsttimelogin',\r\n templateUrl: './firsttimelogin.component.html',\r\n styleUrls: ['./firsttimelogin.component.scss']\r\n})\r\nexport class FirsttimeloginComponent implements OnInit {\r\n /**\r\n * Form group for firsttimelogin \r\n *\r\n * @type {FormGroup}\r\n * @memberof FirsttimeloginComponent\r\n */\r\n firsttimeloginForm: FormGroup;\r\n\r\n hidePassword = true;\r\n parameteruserInput = null;\r\n mobileNo:string;\r\n showResendOTP: boolean = false;\r\n\r\n /**\r\n * Validation messages\r\n *\r\n * @memberof FirsttimeloginComponent\r\n */\r\n validationMessages = {\r\n 'userid': {\r\n 'required': 'Please enter user id.'\r\n },\r\n 'otp': {\r\n 'required': 'Please enter OTP recieved on mobile number.'\r\n },\r\n 'mobile': {\r\n 'required': 'Please enter mobile number.',\r\n 'maxlength': 'Mobile can contain maximum 10 characters.',\r\n 'pattern': 'Mobile must start with 6,7,8 or 9 and should contain numbers only.',\r\n 'ageRange': 'Age range validator.'\r\n //'increaseSequence' : 'increaseSequence'\r\n },\r\n };\r\n\r\n formErrors = {\r\n 'userid': '',\r\n 'otp': '',\r\n 'mobile':''\r\n };\r\n\r\n\r\n constructor(private fb: FormBuilder, private activatedroute: ActivatedRoute, private router: Router, private loginService: LoginService, public snackBar: MatSnackBar,\r\n public dialog: MatDialog,\r\n public headerService: HeaderService) { }\r\n\r\n ngOnInit() {\r\n this.headerService.hide();\r\n\r\n this.firsttimeloginForm = this.fb.group({\r\n userid: ['', [Validators.required]],\r\n otp: ['', [Validators.required]],\r\n mobile: ['',[Validators.required,Validators.maxLength(10),\r\n Validators.pattern(/^[6-9]\\d{9}$/),\r\n ]]\r\n });\r\n\r\n this.firsttimeloginForm.valueChanges.subscribe((data) => {\r\n this.logValidationErrors(this.firsttimeloginForm);\r\n });\r\n }\r\n\r\n OnSubmit(): void {\r\n if (this.firsttimeloginForm.valid) {\r\n const userDetails = this.firsttimeloginForm.value;\r\n var firstlogin = new FirstTimeLogin();\r\n firstlogin.userInput = userDetails.userid;\r\n firstlogin.OTP = userDetails.otp;\r\n firstlogin.mobileNo = userDetails.mobile;\r\n \r\n this.loginService.FirstTimeLogin(firstlogin).subscribe((data: any) => {\r\n if (data.flag === applicationconstant.SuccessFlag) {\r\n this.loginService.SetFirstTimeLoginUserInput(userDetails.userid);\r\n this.loginService.SetFirstTimeLoginUserMobile(userDetails.mobile);\r\n this.firsttimeloginForm.reset();\r\n this.router.navigate(['supervisor/registration']);\r\n this.openSnackBar(data.message, '');\r\n }\r\n else {\r\n this.openSnackBar(data.message, '');\r\n }\r\n },\r\n (err: any) => {\r\n this.openSnackBar(err.error.message, '')\r\n });\r\n }\r\n else {\r\n this.ValidateAllFields(this.firsttimeloginForm);\r\n this.logValidationErrors(this.firsttimeloginForm);\r\n }\r\n }\r\n\r\n \r\n\r\n// SendSMSOTP(): void {\r\n\r\n// // const dialogRef = this.dialog.open(MobileNOpromptComponent, {\r\n// // width: '350px',\r\n// // data: this.mobileNo\r\n// // });\r\n// // dialogRef.afterClosed().subscribe(result => {\r\n// // if (result) {\r\n// // this.router.navigate(['/firsttimelogin']);\r\n// // }\r\n// // });\r\n// var EmailNo = this.firsttimeloginForm.get('newemail').value;\r\n// if (EmailNo != '' && this.firsttimeloginForm.get('newemail').valid) {\r\n// this.loginService.SendEmailOTPForEmailChange(EmailNo).subscribe(\r\n// (data: any) => {\r\n// this.openSnackBar(data.message, '');\r\n// },\r\n// (err: any) => this.openSnackBar(err.error.message, 'error')\r\n// );\r\n// }\r\n// }\r\n\r\nSendSMSOTP() {\r\n const userDetails = this.firsttimeloginForm.value;\r\n var forgotpwdsendotp = new ForgotPassword();\r\n forgotpwdsendotp.userInput = userDetails.userid;\r\n forgotpwdsendotp.mobileNo = userDetails.mobile;\r\n this.loginService.SendOTPForFirstTImeLogin(forgotpwdsendotp).subscribe((data: any) => {\r\n this.openSnackBar(data.message, '');\r\n this.showResendOTP = true;\r\n },\r\n (err: any) => {\r\n this.openSnackBar(err.error.message, 'error')\r\n this.showResendOTP = true;\r\n });\r\n}\r\n\r\nBack(): void\r\n{\r\n this.router.navigate(['/login']);\r\n}\r\n\r\n\r\n ageRangeValidator(control: AbstractControl): { [key: string]: boolean } | null {\r\n if (control.value !== undefined && (isNaN(control.value) || control.value < 18 || control.value > 45)) {\r\n return { 'ageRange': true };\r\n }\r\n return null;\r\n}\r\n\r\nisIncreasingSequence(control: AbstractControl): { [key: string]: boolean } | null {\r\n let numArr = Array.prototype.slice.call(control.value);\r\n for (var num = 0; num < numArr.length - 1; num++) {\r\n if (!(numArr[num] < numArr[num + 1])) {\r\n return null;\r\n }\r\n }\r\n return { 'increaseSequence': true };\r\n}\r\n\r\n\r\n\r\n logValidationErrors(group: FormGroup = this.firsttimeloginForm): void {\r\n Object.keys(group.controls).forEach((key: string) => {\r\n const abstractControl = group.get(key);\r\n if (abstractControl instanceof FormGroup) {\r\n this.logValidationErrors(abstractControl)\r\n } else {\r\n this.formErrors[key] = '';\r\n if (abstractControl && !abstractControl.valid && (abstractControl.touched || abstractControl.dirty)) {\r\n const messages = this.validationMessages[key];\r\n\r\n for (const errorKey in abstractControl.errors) {\r\n if (errorKey) {\r\n this.formErrors[key] += messages[errorKey] + '';\r\n }\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n ValidateAllFields(formGroup: FormGroup) {\r\n Object.keys(formGroup.controls).forEach(field => {\r\n const control = formGroup.get(field);\r\n if (control instanceof FormControl) {\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) {\r\n this.ValidateAllFields(control);\r\n }\r\n });\r\n }\r\n\r\n /**\r\n * Snack bar\r\n *\r\n * @param {string} message\r\n * @param {string} action\r\n * @memberof ForgotpasswordComponent\r\n */\r\n openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n\r\n}\r\n","module.exports = \".alertPopUp {\\n display: inline-block;\\n position: absolute;\\n top: 0;\\n bottom: 0;\\n left: 0;\\n right: 0;\\n margin: 5em;\\n}\\n\\na.registerU {\\n float: left;\\n font-weight: 300;\\n color: #212529;\\n font-size: 15px;\\n padding-top: 15px;\\n}\\n\\na.registerU:hover {\\n text-decoration: underline;\\n}\\n\\na.forgotP {\\n float: right;\\n font-weight: 300;\\n color: #212529;\\n font-size: 15px;\\n padding-top: 15px;\\n}\\n\\na.forgotP:hover {\\n text-decoration: underline;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvQ29tcG9uZW50L2xvZ2luL0M6XFxVc2Vyc1xcQWpheTMuQ2hhdWhhblxcTXkgRGF0YVxcRmluYWxBamF5XFxSSU1BUFxcUklNQVBTeXN0ZW1XZWJcXENsaWVudEFwcC9zcmNcXGFwcFxcQ29tcG9uZW50XFxsb2dpblxcbG9naW4uY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL0NvbXBvbmVudC9sb2dpbi9sb2dpbi5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLHFCQUFBO0VBQ0Esa0JBQUE7RUFDQSxNQUFBO0VBQ0EsU0FBQTtFQUNBLE9BQUE7RUFDQSxRQUFBO0VBR0EsV0FBQTtBQ0RGOztBRElBO0VBQ0UsV0FBQTtFQUNBLGdCQUFBO0VBQ0EsY0FBQTtFQUNBLGVBQUE7RUFDQSxpQkFBQTtBQ0RGOztBREdFO0VBQ0UsMEJBQUE7QUNESjs7QURLQTtFQUNFLFlBQUE7RUFDQSxnQkFBQTtFQUNBLGNBQUE7RUFDQSxlQUFBO0VBQ0EsaUJBQUE7QUNGRjs7QURJRTtFQUNFLDBCQUFBO0FDRkoiLCJmaWxlIjoic3JjL2FwcC9Db21wb25lbnQvbG9naW4vbG9naW4uY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuYWxlcn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AgcGFkZGluZy10b3A6IDE1cHg7XG59XG5hLnJlZ2lzdGVyVTpob3ZlciB7XG4gIHRleHQtZGVjb3JhdGlvbjogdW5kZXJsaW5lO1xufVxuXG5hLmZvcmdvdFAge1xuICBmbG9hdDogcmlnaHQ7XG4gIGZvbnQtd2VpZ2h0OiAzMDA7XG4gIGNvbG9yOiAjMjEyNTI5O1xuICBmb250LXNpemU6IDE1cHg7XG4gIHBhZGRpbmctdG9wOiAxNXB4O1xufVxuYS5mb3Jnb3RQOmhvdmVyIHtcbiAgdGV4dC1kZWNvcmF0aW9uOiB1bmRlcmxpbmU7XG59Il19 */\"","import { Component, OnInit, OnDestroy, AfterViewInit, AfterViewChecked } from '@angular/core';\r\nimport { FormGroup, FormControl, FormBuilder, Validators, FormGroupDirective} from '@angular/forms'\r\nimport { Router } from '@angular/router';\r\nimport { NgForm } from '@angular/forms';\r\nimport { UserService } from 'src/app/Services/usermanagement/user.service';\r\nimport { LoginService } from 'src/app/Services/loginmanagement/login.service';\r\nimport * as $ from 'jquery';\r\nimport { HeaderService } from '../../Services/header/header.service';\r\nimport { RecaptchaService } from 'src/app/Services/recaptcha/recaptcha.service';\r\nimport { environment } from 'src/environments/environment';\r\nimport { ISingleResponse } from 'src/app/Models/common/single-response.model';\r\ndeclare var grecaptcha: any;\r\n\r\n@Component({\r\n selector: 'app-login',\r\n templateUrl: './login.component.html',\r\n styleUrls: ['./login.component.scss']\r\n})\r\nexport class LoginComponent implements OnInit, OnDestroy {\r\n\r\n public loginValid = false;\r\n public errorMessage: string;\r\n public showPopUp: boolean;\r\n public numberOfDays: number;\r\n public alreadyLoggedIn: boolean;\r\n public currentLoggedInUserDetails: any;\r\n public accessToken: any;\r\n public username: string;\r\n public password: string;\r\n public hidePassword = true;\r\n public submitted: boolean = false;\r\n public isFormvalid: boolean = true;\r\n public isPNOCUser: string = 'Y';\r\n public isPNOCUserChecked: boolean = true;\r\n \r\n public recaptchaEnabled: boolean;\r\n private siteKeyCaptcha: string;\r\n public userVerificationResponse: string;\r\n public NoofAttempt: number;\r\n public chkcheck= false;\r\n\r\n loginForm: FormGroup;\r\n\r\n validationMessages = {\r\n 'userid': {\r\n 'required': 'Please enter User ID'\r\n },\r\n 'password': {\r\n 'required': 'Please enter password.'\r\n }\r\n };\r\n\r\n formErrors = {\r\n 'userid': '',\r\n 'password': ''\r\n };\r\n\r\n constructor(private fb: FormBuilder,private router: Router,\r\n private userService: UserService,\r\n private loginService: LoginService,\r\n public headerService: HeaderService,\r\n private service: RecaptchaService) {\r\n this.recaptchaEnabled = false;\r\n this.siteKeyCaptcha = `${environment.siteKeyCaptcha}`;\r\n this.NoofAttempt =0;\r\n }\r\n\r\n ngOnInit(): void {\r\n this.headerService.hide();\r\n this.loginForm = this.fb.group({\r\n userid: ['', [Validators.required]],\r\n password: ['', [Validators.required]],\r\n pnocUser: [false]\r\n });\r\n\r\n //this.ShowCaptcha(); //Bhumi\r\n const body = document.getElementsByTagName('body')[0];\r\n body.classList.add('login-page');\r\n const menuToggle = $('.menuToggle');\r\n menuToggle.addClass('d-none');\r\n\r\n if (localStorage.getItem('currentUser') != null) {\r\n\r\n // TODO: not working, sometimes giving exception\r\n // this.loginService.updateUserLogoutTime().subscribe((data: any) => { },\r\n // (err: any) => { console.log(err); });\r\n\r\n localStorage.removeItem('userToken');\r\n localStorage.removeItem('currentUser');\r\n localStorage.removeItem('menu');\r\n }\r\n\r\n // this.service.isRecaptchaEnabled().subscribe(\r\n // (response: ISingleResponse) => {\r\n // this.recaptchaEnabled = response.result;\r\n // if (this.recaptchaEnabled) {\r\n // grecaptcha.render('captcha_element', {\r\n // 'sitekey': this.siteKeyCaptcha,\r\n // 'hl': 'en'\r\n // });\r\n // window['getResponceCapcha'] = this.getResponceCapcha.bind(this);\r\n // }\r\n // },\r\n // (err: any) => {\r\n // console.log(err);\r\n // }\r\n // );\r\n\r\n this.loginForm.valueChanges.subscribe((data) => {\r\n this.logValidationErrors(this.loginForm);\r\n });\r\n }\r\n\r\n logValidationErrors(group: FormGroup = this.loginForm): void {\r\n Object.keys(group.controls).forEach((key: string) => {\r\n const abstractControl = group.get(key);\r\n if (abstractControl instanceof FormGroup) {\r\n this.logValidationErrors(abstractControl)\r\n } else {\r\n this.formErrors[key] = '';\r\n if (abstractControl && !abstractControl.valid && (abstractControl.touched || abstractControl.dirty)) {\r\n const messages = this.validationMessages[key];\r\n\r\n for (const errorKey in abstractControl.errors) {\r\n if (errorKey) {\r\n this.formErrors[key] += messages[errorKey] + '';\r\n }\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n ValidateAllFields(formGroup: FormGroup) {\r\n Object.keys(formGroup.controls).forEach(field => {\r\n const control = formGroup.get(field);\r\n if (control instanceof FormControl) {\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) {\r\n this.ValidateAllFields(control);\r\n }\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n const body = document.getElementsByTagName('body')[0];\r\n const menuToggle = $('.menuToggle');\r\n body.classList.remove('login-page');\r\n menuToggle.removeClass('d-none');\r\n this.isPNOCUser = 'Y';\r\n }\r\n\r\n /**\r\n * Handles login button click\r\n * @param formValues\r\n */\r\n // public onClickLogin(formValues: NgForm): void {\r\n \r\n // if (formValues.value.username == undefined)\r\n // {\r\n // this.submitted = true;\r\n // this.isFormvalid = false;\r\n // }\r\n // if (this.recaptchaEnabled === true && this.userVerificationResponse === undefined) {\r\n // return;\r\n // }\r\n // if (this.NoofAttempt <= 3 && this.NoofAttempt > 0 && this.userVerificationResponse === undefined )\r\n // {\r\n // this.ShowCaptcha();\r\n // return;\r\n // }\r\n \r\n // if (this.isFormvalid)\r\n // {\r\n // this.userService.userAuthentication(formValues.value.username.trim(), formValues.value.password.trim(), this.recaptchaEnabled, this.userVerificationResponse).subscribe((data: any) => {\r\n // if (data != null) {\r\n // this.currentLoggedInUserDetails = JSON.parse(data.currentUser);\r\n // this.accessToken = data.access_token;\r\n // if (!this.currentLoggedInUserDetails.AlreadyLoggedIn) {\r\n // this.alreadyLoggedIn = false;\r\n // this.CheckLoggedInUser();\r\n // // if everu thing goes right and no need to show any pop up then redirect to dashboard\r\n // if (!(this.showPopUp) && this.currentLoggedInUserDetails.IsRedirectToChangePassword == 'N') {\r\n // this.loginService.setDashboardParameter(true);\r\n // this.router.navigate(['/dashboard']);\r\n // }\r\n // } else {\r\n // // show pop as user is already logged in\r\n // this.alreadyLoggedIn = true;\r\n // }\r\n // }\r\n // },\r\n // (err: any) => {\r\n // localStorage.removeItem('userToken');\r\n // localStorage.removeItem('currentUser');\r\n // localStorage.removeItem('menu');\r\n // this.loginValid = true;\r\n // this.errorMessage = err.error['error'];\r\n // var thenum = this.errorMessage.replace(/\\D/g,''); \r\n // this.NoofAttempt = +thenum;\r\n // console.log(err);\r\n // console.log(thenum);\r\n // });\r\n // }\r\n // }\r\n\r\n IsPnocUserChecked(checked:boolean): void{\r\n if (checked)\r\n {\r\n this.isPNOCUserChecked = false;\r\n }\r\n else\r\n {\r\n this.isPNOCUserChecked = true;\r\n }\r\n }\r\n\r\n public onClickLogin(): void {\r\n \r\n if (this.loginForm.valid)\r\n {\r\n \r\n this.recaptchaEnabled=false; //remove this -- Bhumi\r\n\r\n //Uncomment later -- Bhumi\r\n // if (this.userVerificationResponse === undefined) {\r\n // this.recaptchaEnabled=true;\r\n // return;\r\n // }\r\n \r\n if (this.loginForm.value.pnocUser)\r\n {\r\n this.isPNOCUser = 'Y';\r\n }\r\n this.userService.userAuthentication(this.loginForm.value.userid.trim(), this.loginForm.value.password.trim(), this.recaptchaEnabled, this.userVerificationResponse,this.isPNOCUser).subscribe((data: any) => {\r\n if (data != null) {\r\n this.currentLoggedInUserDetails = JSON.parse(data.currentUser);\r\n this.accessToken = data.access_token;\r\n if (!this.currentLoggedInUserDetails.AlreadyLoggedIn) {\r\n this.alreadyLoggedIn = false;\r\n this.CheckLoggedInUser();\r\n // if everu thing goes right and no need to show any pop up then redirect to dashboard\r\n if (!(this.showPopUp) && this.currentLoggedInUserDetails.IsRedirectToChangePassword == 'N') {\r\n this.loginService.setDashboardParameter(true);\r\n this.router.navigate(['/dashboard']);\r\n }\r\n } else {\r\n // show pop as user is already logged in\r\n this.alreadyLoggedIn = true;\r\n }\r\n }\r\n },\r\n (err: any) => {\r\n localStorage.removeItem('userToken');\r\n localStorage.removeItem('currentUser');\r\n localStorage.removeItem('menu');\r\n this.loginValid = true;\r\n this.errorMessage = err.error['error'];\r\n var thenum = this.errorMessage.replace(/\\D/g,''); \r\n this.NoofAttempt = +thenum;\r\n console.log(err);\r\n console.log(thenum);\r\n });\r\n \r\n }\r\n else\r\n {\r\n this.ValidateAllFields(this.loginForm);\r\n this.logValidationErrors(this.loginForm);\r\n }\r\n }\r\n\r\n private CheckLoggedInUser() {\r\n localStorage.setItem('userToken', this.accessToken);\r\n localStorage.setItem('currentUser', JSON.stringify(this.currentLoggedInUserDetails));\r\n\r\n if (this.currentLoggedInUserDetails.IsRedirectToChangePassword == 'Y') {\r\n // check if user need to change password or not\r\n this.loginService.setNotification(this.currentLoggedInUserDetails.OutputMsg);\r\n this.router.navigate(['/changepassword']);\r\n } else {\r\n if (parseInt(this.currentLoggedInUserDetails.NumberOfDaysPendingToPasswordExpire, 10) <= 7) {\r\n this.numberOfDays = parseInt(this.currentLoggedInUserDetails.NumberOfDaysPendingToPasswordExpire, 10);\r\n this.showPopUp = true;\r\n } else {\r\n this.showPopUp = false;\r\n // this.router.navigate(['/dashboard']);\r\n }\r\n }\r\n }\r\n\r\n private ShowCaptcha()\r\n {\r\n grecaptcha.render('captcha_element', {\r\n 'sitekey': this.siteKeyCaptcha,\r\n 'hl': 'en'\r\n });\r\n window['getResponceCapcha'] = this.getResponceCapcha.bind(this);\r\n }\r\n /**\r\n * close notification message\r\n */\r\n public close() {\r\n this.loginValid = false;\r\n }\r\n\r\n public ClosePopUp(): void {\r\n this.alreadyLoggedIn = false;\r\n }\r\n\r\n /**\r\n * this will force previously logged in user with same userid to\r\n * forcefully logout and set new user details\r\n */\r\n public ForceLogoutPrevoiusUser(): void {\r\n this.CheckLoggedInUser();\r\n this.loginService.updateUserDetails().subscribe((data: any) => {\r\n if (!(this.showPopUp) && this.currentLoggedInUserDetails.IsRedirectToChangePassword == 'N') {\r\n this.loginService.setDashboardParameter(true);\r\n this.router.navigate(['/dashboard']);\r\n }\r\n },\r\n (err: any) => {\r\n localStorage.removeItem('userToken');\r\n localStorage.removeItem('currentUser');\r\n localStorage.removeItem('menu');\r\n this.loginValid = true;\r\n this.errorMessage = err.statusText;\r\n console.log(err);\r\n });\r\n\r\n }\r\n // ngAfterViewInit(){\r\n // this.ShowCaptcha();//uncomment this for captcha\r\n // }\r\n\r\n getResponceCapcha(captchaResponse: string) {\r\n this.userVerificationResponse = captchaResponse;\r\n }\r\n}\r\n\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9tYXN0ZXIvYWN0aXZhdGV1c2VybG9naW4vYWN0aXZhdGV1c2VybG9naW4uY29tcG9uZW50LnNjc3MifQ== */\"","import { Component, OnInit, ViewChild, OnDestroy } from '@angular/core';\r\nimport { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';\r\nimport { MatDialog, MatSnackBar, MatDialogConfig } from '@angular/material';\r\nimport { Observable } from 'rxjs';\r\nimport { catchError } from 'rxjs/operators';\r\nimport {VendorService} from 'src/app/Services/master/vendor.service';\r\nimport {vendordetails} from 'src/app/Models/master/vendor.model';\r\nimport { documentList } from 'src/app/Models/ServiceEngineer/documentList';\r\n//import{SeuserDisableDialogComponent} from '../seuser-disable-dialog/seuser-disable-dialog.component'\r\nimport { ConfigurationService } from 'src/app/Services/Utilities/configuration.service';\r\nimport { Constants } from 'src/app/Constants/constants';\r\nimport { IState } from 'src/app/Models/common/state.model';\r\nimport { Icity } from 'src/app/Models/common/city.model';\r\nimport { Router, NavigationEnd } from '@angular/router';\r\n\r\n/**\r\n * Edit user page\r\n *\r\n * @export\r\n * @class UserEditComponent\r\n * @implements {OnInit}\r\n */\r\n\r\n@Component({\r\n selector: 'app-activateuserlogin',\r\n templateUrl: './activateuserlogin.component.html',\r\n styleUrls: ['./activateuserlogin.component.scss']\r\n})\r\nexport class ActivateuserloginComponent implements OnInit,OnDestroy {\r\n\r\n /**\r\n * User Search form\r\n *\r\n * @type {FormGroup}\r\n * @memberof UserEditComponent\r\n */\r\n searchSEUserForm: FormGroup;\r\n navigationSubscription;\r\n /**\r\n * Update user form\r\n *\r\n * @type {FormGroup}\r\n * @memberof UserEditComponent\r\n */\r\n editSEUserForm: FormGroup;\r\n\r\n /**\r\n * User types or designation\r\n *\r\n * @type {IUserType[]}\r\n * @memberof UserEditComponent\r\n */\r\n //userTypes: IUserType[];\r\n\r\n channelPartners = []; // TODO\r\n\r\n public tempemail:string;\r\n\r\n /**\r\n * Search input types\r\n *\r\n * @memberof UserEditComponent\r\n */\r\n searchTypes = ['User ID', 'Email', 'Mobile'];\r\n activeTypes = ['Active', 'InActive'];\r\n\r\n // default is false\r\n showSEUserDetails = false;\r\n\r\n public mobileExists: boolean;\r\n public emailExists: boolean;\r\n public ShowLoader:boolean=false;\r\n //public addressExists: boolean;\r\n public pincodeExists: boolean;\r\n seId: number = 0;\r\n isEditForm: boolean = true;\r\n isDocumentSectionVisiable: boolean = false;\r\n isFormSectionVisible: boolean = true;\r\n\r\n userTypesDisabledMap: Map;\r\n stateDisabledMap: Map;\r\n cityDisabledMap: Map;\r\n documents: documentList[]=[];\r\n\r\n // public selectedReference: string;\r\n // isUserTypeSelected:boolean=false;\r\n // public referenceTypes: IState[];\r\n // @ViewChild('referenceid',{static: false}) referenceElement: any;\r\n\r\n /**\r\n * User search validation messages\r\n *\r\n * @memberof UserEditComponent\r\n */\r\n user_search_validation_messages = {\r\n 'searchtype': [\r\n { type: 'required', message: 'Search type is required' }\r\n ],\r\n 'searchterm': [\r\n { type: 'required', message: 'Search value is required' },\r\n { type: 'maxlength', message: 'Search value is cannot be more than 100 characters' }\r\n ]\r\n };\r\n\r\n /**\r\n * User details validation messages\r\n *\r\n * @memberof UserEditComponent\r\n */\r\n public account_validation_messages = {\r\n 'username': [\r\n { type: 'required', message: 'UserID is required' },\r\n { type: 'minlength', message: 'UserID must be of 4 digits' },\r\n // { type: 'pattern', message: 'UserID must contain only numbers' }\r\n ],\r\n 'firstname': [\r\n { type: 'required', message: 'First name is required' },\r\n { type: 'maxlength', message: 'First name cannot be more than 250 characters long' },\r\n { type: 'pattern', message: 'Your first name must contain only alphabets' }\r\n ],\r\n 'middlename': [\r\n //{ type: 'required', message: 'Middle name is required' },\r\n { type: 'maxlength', message: 'Middle name cannot be more than 250 characters long' },\r\n { type: 'pattern', message: 'Your first name must contain only alphabets' }\r\n ],\r\n 'lastname': [\r\n { type: 'required', message: 'Last name is required' },\r\n { type: 'maxlength', message: 'Last name cannot be more than 250 characters long' },\r\n { type: 'pattern', message: 'Your last name must contain only alphabets' }\r\n ],\r\n 'mobile': [\r\n { type: 'required', message: 'Mobile is required' },\r\n { type: 'minlength', message: 'Mobile must be of 10 digits' },\r\n { type: 'pattern', message: 'Mobile is invalid' }\r\n ],\r\n 'email': [\r\n { type: 'required', message: 'Email is required' },\r\n { type: 'maxlength', message: 'Email cannot be more than 100 characters long' },\r\n { type: 'pattern', message: 'Email is invalid' }\r\n ],\r\n 'DOB': {\r\n 'required': 'DOB is required.',\r\n 'matDatepickerMin': 'DOB should be past date.'\r\n }, \r\n 'pincode': [\r\n { type: 'required', message: 'pincode is required' },\r\n { type: 'minlength', message: 'pincode must be of 6 digits' },\r\n { type: 'pattern', message: 'pincode is invalid' }\r\n ]\r\n };\r\n\r\n searched = false;\r\n userData: vendordetails;\r\n userSoftDeleted: boolean;\r\n userDetailsSubmitted = false;\r\n disableSwitchBtn: boolean;\r\n \r\n /**\r\n * Creates an instance of UserEditComponent.\r\n * @param {FormBuilder} fb\r\n * @param {MatSnackBar} snackBar\r\n * @param {UserService} userService\r\n * @memberof UserEditComponent\r\n */\r\n constructor(private fb: FormBuilder,\r\n public snackBar: MatSnackBar,\r\n public dialog: MatDialog,\r\n private SEService: VendorService,\r\n private router: Router,\r\n private configurationService: ConfigurationService) {\r\n\r\n this.searchSEUserForm = this.fb.group({\r\n searchType: new FormControl(null, Validators.required),\r\n\r\n searchTerm: new FormControl(null, Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(100),\r\n ]))\r\n });\r\n\r\n this.editSEUserForm = this.createFormGroupWithBuilderAndModel();\r\n\r\n this.mobileExists = false;\r\n this.emailExists = false;\r\n //this.addressExists = false;\r\n this.pincodeExists = false;\r\n this.stateDisabledMap = new Map();\r\n this.cityDisabledMap = new Map();\r\n this.disableSwitchBtn = false;\r\n\r\n this.navigationSubscription = this.router.events.subscribe((e: any) => {\r\n // If it is a NavigationEnd event re-initalise the component\r\n if (e instanceof NavigationEnd) {\r\n this.resetForm();\r\n this.isFormSectionVisible = true;\r\n this.isDocumentSectionVisiable = false;\r\n \r\n this.ResetSearch();\r\n }\r\n });\r\n\r\n }\r\n\r\n \r\n /**\r\n * Initialize component and subcribe to value to fill in\r\n * dropdowns of usertypes and roles\r\n *\r\n * @memberof UserEditComponent\r\n */\r\n ngOnInit() {\r\n this.ShowLoader=false;\r\n }\r\n /**\r\n * Create a reactive form for user update using form builder\r\n *\r\n * @returns\r\n * @memberof UserEditComponent\r\n */\r\n createFormGroupWithBuilderAndModel() {\r\n return this.fb.group({\r\n username: new FormControl('', Validators.compose([\r\n Validators.required, \r\n ]),\r\n ),\r\n firstName: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(250),\r\n Validators.pattern('^[A-Za-z]+(?:[A-Za-z]+)*$') \r\n ])),\r\n lastName: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(250),\r\n Validators.pattern('^[A-Za-z]+(?:[A-Za-z]+)*$') \r\n ])),\r\n mobile: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.minLength(10),\r\n Validators.pattern('^[6-9][0-9]{9}$')\r\n ])),\r\n email: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(100),\r\n Validators.pattern('^([a-zA-Z0-9_\\.\\-])+\\@(([a-zA-Z0-9\\-])+\\.)+([a-zA-Z0-9]{2,4})+$')\r\n ])),\r\n activeType: new FormControl(null, [Validators.required,Validators.min(1)]),\r\n });\r\n }\r\n\r\n /**\r\n * Fill the form inputs with user details\r\n *\r\n * @param {User} user\r\n * @memberof UserEditComponent\r\n */\r\n setEditFormValues(user: vendordetails) {\r\n this.editSEUserForm.patchValue({\r\n username : user.username,\r\n firstName : user.firstName,\r\n middlename:user.middlename,\r\n lastName : user.lastName,\r\n email : user.email,\r\n mobile : user.mobile,\r\n DOB:user.DOB,\r\n address:user.address,\r\n pincode:user.pincode,\r\n activeType:user.activeFlag\r\n });\r\n this.tempemail=user.email;\r\n // this.seId = user.seId;\r\n //this.FillCityDD(user.state);\r\n }\r\n\r\n /**\r\n * Submit the form details and pass data to web api\r\n *\r\n * @returns\r\n * @memberof UserEditComponent\r\n */\r\n onSubmit() {\r\n this.userDetailsSubmitted = true;\r\n\r\n // if (!this.editSEUserForm.valid) {\r\n // return;\r\n // }\r\n\r\n const editSEUserFormData: any = Object.assign({}, this.editSEUserForm.value);\r\n\r\n let changed = false;\r\n\r\n if (editSEUserFormData.firstName !== this.userData.firstName) {\r\n this.userData.firstName = editSEUserFormData.firstName;\r\n changed = true;\r\n }\r\n if (editSEUserFormData.lastName !== this.userData.lastName) {\r\n this.userData.lastName = editSEUserFormData.lastName;\r\n changed = true;\r\n }\r\n if (editSEUserFormData.middlename !== this.userData.middlename) {\r\n this.userData.middlename = editSEUserFormData.middleName;\r\n changed = true;\r\n }\r\n if (editSEUserFormData.mobile !== this.userData.mobile) {\r\n this.userData.mobile = editSEUserFormData.mobile;\r\n changed = true;\r\n }\r\n if (editSEUserFormData.activeType !== this.userData.activeFlag) {\r\n this.userData.activeFlag = editSEUserFormData.activeType;\r\n changed = true;\r\n }\r\n //}\r\n \r\n // update user data to database\r\n if (changed) {\r\n this.SEService.updateUserStatus(this.userData).subscribe(\r\n (data: any) => {\r\n this.openSnackBar(data.message, '');\r\n if(data.flag==\"F\"){\r\n this.showSEUserDetails=true;\r\n \r\n }\r\n else\r\n {\r\n this.showSEUserDetails = false;\r\n this.searchSEUserForm.get('searchTerm').patchValue('');\r\n this.searchSEUserForm.get('searchTerm').setErrors(null);\r\n this.searchSEUserForm.get('searchType').patchValue('null');\r\n this.resetForm();\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n }\r\n }\r\n\r\n /**\r\n * Reset edit user from, set all controls errors to null\r\n *\r\n * @memberof UserEditComponent\r\n */\r\n resetForm() {\r\n this.editSEUserForm.reset();\r\n\r\n for (const i in this.editSEUserForm.controls) {\r\n if (this.editSEUserForm.controls[i]) {\r\n this.editSEUserForm.controls[i].setErrors(null);\r\n }\r\n }\r\n\r\n this.showSEUserDetails = false;\r\n this.userData = null;\r\n\r\n this.mobileExists = false;\r\n this.emailExists = false;\r\n\r\n }\r\n cancelEdit() {\r\n this.resetForm();\r\n }\r\n\r\n /**\r\n * Search user based on either of three parameters:\r\n * 1. username; 2. email; 3. mobile;\r\n *\r\n * @returns\r\n * @memberof UserEditComponent\r\n */\r\n onSearch() {\r\n this.searched = true;\r\n\r\n // stop here if form is invalid\r\n if (!this.searchSEUserForm.valid) {\r\n return;\r\n }\r\n\r\n const searchFormData: any = Object.assign({}, this.searchSEUserForm.value);\r\n var searchType = searchFormData.searchType;\r\n const searchTerm = searchFormData.searchTerm;\r\n const checkVSID = searchTerm.substring(0,2); \r\n \r\n if(searchType==\"User ID\")\r\n {\r\n searchType=\"Username\";\r\n }\r\n\r\n this.SEService.searchForAllUser(searchType, searchTerm)\r\n .subscribe(\r\n (data: any) => {\r\n if (data.flag === Constants.SUCCESS_FLAG) {\r\n if (data.result.userId !== undefined) {\r\n this.openSnackBar(' Details fetched for Selected Records ', '');\r\n this.showSEUserDetails = true;\r\n this.userData = data.result; \r\n // this.populateReferences({value:this.userData.designation});\r\n this.setEditFormValues(data.result);\r\n this.editSEUserForm.get('username').enable();\r\n this.editSEUserForm.get('firstName').enable();\r\n this.editSEUserForm.get('lastName').enable();\r\n this.editSEUserForm.get('mobile').enable();\r\n this.editSEUserForm.get('email').enable();\r\n this.disableSwitchBtn = false;\r\n //this.setUserSoftDeleted(data.result.activeFlag);\r\n } else {\r\n this.openSnackBar('User not found', '');\r\n this.resetForm();\r\n }\r\n } else {\r\n this.openSnackBar(data.message, '');\r\n this.resetForm();\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n }\r\n\r\n checkMobile() {\r\n if (this.editSEUserForm.get('mobile').valid) {\r\n const mobile = this.editSEUserForm.get('mobile').value;\r\n\r\n const searchType = 'mobile';\r\n\r\n this.SEService.searchUser(searchType, mobile).subscribe(\r\n (data: any) => {\r\n if (data.result !== null) {\r\n this.mobileExists = true;\r\n } else if (data.result.mobile !== this.userData.mobile) {\r\n this.mobileExists = true;\r\n } else {\r\n this.mobileExists = false;\r\n }\r\n },\r\n (err: any) => { },\r\n );\r\n }\r\n }\r\n\r\n checkEmail() {\r\n \r\n if (this.editSEUserForm.get('email').valid) {\r\n const email = this.editSEUserForm.get('email').value;\r\n const searchType = 'email';\r\n\r\n this.SEService.searchUser(searchType, email).subscribe(\r\n (data: any) => {\r\n if (data.result === null) {\r\n this.emailExists = false;\r\n } else if (data.result.email !== this.userData.email) {\r\n this.emailExists = true;\r\n } else {\r\n this.emailExists = false;\r\n }\r\n },\r\n (err: any) => { },\r\n );\r\n }\r\n }\r\n\r\n checkEmailForEdit() {\r\n \r\n if (this.editSEUserForm.get('email').valid) {\r\n const email = String(this.editSEUserForm.get('email').value).toLocaleUpperCase();\r\n if(this.tempemail==email)\r\n {\r\n return;\r\n }\r\n const searchType = 'email';\r\n\r\n this.SEService.searchUserForEdit(searchType, email).subscribe(\r\n (data: any) => {\r\n if (data.result === null) {\r\n this.emailExists = true;\r\n } \r\n else {\r\n this.emailExists = false;\r\n }\r\n },\r\n (err: any) => { },\r\n );\r\n }\r\n }\r\n\r\n /**\r\n * Dialog is shown, when admin tries to disable a user.\r\n * This stops admin from to disable user accidentally\r\n *\r\n * @returns\r\n * @memberof UserEditComponent\r\n */\r\n openDeactivationDialog() {\r\n if (this.editSEUserForm.value.isactive !== false) {\r\n return;\r\n }\r\n\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.autoFocus = true;\r\n dialogConfig.disableClose = true;\r\n // dialogConfig.height = '30%';\r\n // dialogConfig.width = '30%';\r\n dialogConfig.data = {\r\n username: this.editSEUserForm.value.username,\r\n isactive: this.editSEUserForm.value.isactive,\r\n WarningMessage: 'User ' + this.editSEUserForm.value.username + ' will be disabled'\r\n }\r\n\r\n // const dialogRef = this.dialog.open(SeuserDisableDialogComponent, dialogConfig);\r\n // dialogRef.afterClosed().subscribe(result => {\r\n\r\n // if (result !== undefined) {\r\n // // console.log(result);\r\n // } else {\r\n // this.editSEUserForm.patchValue({\r\n // isactive: true\r\n // });\r\n // }\r\n // });\r\n }\r\n \r\n openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n\r\n setUserSoftDeleted(activeFlag: string) {\r\n this.userSoftDeleted = (activeFlag === 'I') ? false : true;\r\n }\r\n\r\n private handleError(error: any) {\r\n // this.errorReceived = true;\r\n return Observable.throw(error);\r\n }\r\n\r\n ResetSearch(): void {\r\n this.searchSEUserForm.reset();\r\n this.searchSEUserForm.clearValidators();\r\n for (let i in this.searchSEUserForm.controls) {\r\n this.searchSEUserForm.controls[i].setErrors(null);\r\n }\r\n this.showSEUserDetails = false;\r\n }\r\n ngOnDestroy() {\r\n // avoid memory leaks here by cleaning up after ourselves. If we \r\n // don't then we will continue to run our initialiseInvites() \r\n // method on every navigationEnd event.\r\n if (this.navigationSubscription) { \r\n this.navigationSubscription.unsubscribe();\r\n }\r\n }\r\n\r\n}\r\n\r\n\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9tYXN0ZXIvYWRkdmVuZG9yL2FkZHZlbmRvci5jb21wb25lbnQuc2NzcyJ9 */\"","import { Component, OnInit,ChangeDetectorRef, ViewChild } from '@angular/core';\r\nimport { FormGroup, FormControl, Validators, FormBuilder, ValidatorFn, AbstractControl } from '@angular/forms';\r\nimport { MatDialog, MatSnackBar } from '@angular/material';\r\nimport {vendordetails} from 'src/app/Models/master/vendor.model';\r\nimport { Observable } from 'rxjs';\r\nimport { catchError } from 'rxjs/operators';\r\nimport { UniqueUsernameValidator } from 'src/app/shared/unique-username-validator.directive';\r\nimport { ConfigurationService } from 'src/app/Services/Utilities/configuration.service';\r\nimport { Constants } from 'src/app/Constants/constants';\r\nimport { IState } from 'src/app/Models/common/state.model';\r\nimport { Icity } from 'src/app/Models/common/city.model';\r\nimport {VendorService} from 'src/app/Services/master/vendor.service';\r\nimport { UserService } from 'src/app/Services/usermanagement/user.service';\r\nimport { applicationconstant } from 'src/app/Models/DropdownItemsGroup/applicationconstant.model';\r\n\r\n@Component({\r\n selector: 'app-addvendor',\r\n templateUrl: './addvendor.component.html',\r\n styleUrls: ['./addvendor.component.scss']\r\n})\r\nexport class AddvendorComponent implements OnInit {\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n /**\r\n * Create User From Group\r\n *\r\n * @type {FormGroup}\r\n * @memberof AddvendorComponent\r\n */\r\n \r\n\r\n /**\r\n * submitted variable to track if the form values\r\n * are being submitted\r\n *\r\n * @memberof AddvendorComponent\r\n */\r\n public submitted: boolean;\r\n\r\n /**\r\n * Collection of user types to be filled in dropdown\r\n *\r\n * @type {IUserType[]}\r\n * @memberof AddvendorComponent\r\n */\r\n // public userTypes: IUserType[];\r\n // public referenceTypes: IUserType[];\r\n public selectedReference: string;\r\n isUserTypeSelected:boolean=false;\r\n channelPartners = []; // TODO\r\n \r\n\r\n /**\r\n * Collection of roles to be filled in roles dropdown\r\n *\r\n * @type {IRole[]}\r\n * @memberof AddvendorComponent\r\n */\r\n public state: IState[];\r\n public city: Icity[];\r\n\r\n public mobileExists: boolean;\r\n public emailExists: boolean;\r\n public userExists: boolean;\r\n public addressExists: boolean;\r\n public pincodeExists: boolean;\r\n isDocumentSectionVisiable: boolean = false;\r\n isFormSectionVisible: boolean = true;\r\n isEditForm: boolean = false;\r\n\r\n startdate : Date;\r\n username:string;\r\n /**\r\n * it will help reset both the form data and submit status\r\n * https://stackoverflow.com/questions/49788215/angular-material-reseting-reactiveform-shows-validation-error\r\n * \r\n * @memberof SECreateComponent\r\n */\r\n // @ViewChild('form', {static: false}) form;\r\n // @ViewChild('referenceid', {static: false}) referenceElement: any;\r\n\r\n // userTypesDisabledMap: Map;\r\n // stateDisabledMap: Map;\r\n // cityDisabledMap: Map;\r\n\r\n omit_special_char(event)\r\n{ \r\n var k; \r\n k = event.keyCode; // k = event.keyCode; (Both can be used)\r\n return((k > 64 && k < 91) || (k > 96 && k < 123) || k == 8 || k == 32 || (k >= 48 && k <= 57)||(k >= 96 && k <= 105)); \r\n \r\n}\r\n\r\n /**\r\n * Validation messages for user creation form\r\n *\r\n * @memberof SECreateComponent\r\n */\r\n\r\n validationMessages = {\r\n 'username': {\r\n 'required': 'UserID is required.',\r\n 'maxlength': 'UserID cannot be greater than 8 digits',\r\n 'pattern': 'UserID must contain only numeric values'\r\n },\r\n 'firstName': {\r\n 'required': 'First name is required.',\r\n 'maxlength': 'First name cannot be more than 20 characters long',\r\n 'pattern': 'Your first name must contain only alphabets'\r\n },\r\n 'middleName': {\r\n //'required': 'First name is required.',\r\n 'maxlength': 'Middle name cannot be more than 20 characters long',\r\n 'pattern': 'Your middl name must contain only alphabets'\r\n },\r\n 'lastName': {\r\n 'required': 'Last name is required.',\r\n 'maxlength': 'Last name cannot be more than 20 characters long',\r\n 'pattern': 'Your last name must contain only alphabets'\r\n },\r\n 'mobile': {\r\n 'required': 'Mobile is required.',\r\n 'minlength': 'Mobile must be of 10 digits',\r\n 'pattern': 'Mobile is invalid'\r\n },\r\n 'email': {\r\n 'required': 'Email is required.',\r\n 'maxlength': 'Email cannot be more than 100 characters long',\r\n 'pattern': 'Email is invalid'\r\n },\r\n 'DOB': {\r\n 'required': 'DOB is required.',\r\n 'matDatepickerMin': 'DOB should be past date.',\r\n }, \r\n 'Organization': {\r\n 'required': 'Organization is Required.'\r\n }, \r\n 'address': {\r\n 'required': 'address is required',\r\n 'maxlength': 'address cannot be more than 100 characters long'\r\n //{ type: 'pattern', message: 'Your address must contain only numbers and alphabets' \r\n },\r\n\r\n 'state': {\r\n 'required':'state is required'\r\n },\r\n\r\n 'city': {\r\n 'required': 'city is required' \r\n },\r\n 'pincode': {\r\n 'required': 'pincode is required',\r\n 'minlength': 'pincode must be of 6 digits',\r\n 'pattern': 'pincode is invalid'\r\n } \r\n };\r\n\r\n formErrors = {\r\n 'username': '',\r\n 'firstName': '',\r\n 'middleName': '',\r\n 'lastName': '',\r\n 'mobile': '',\r\n 'email': '',\r\n 'DOB': '',\r\n 'address': '',\r\n 'state': '',\r\n 'city': '',\r\n 'pincode': '',\r\n 'Organization': ''\r\n };\r\n\r\n public account_validation_messages = {\r\n 'username': [\r\n { type: 'required', message: 'UserID is required' },\r\n { type: 'maxlength', message: 'UserID cannot be greater than 8 digits' }, \r\n { type: 'pattern', message: 'UserID must contain only numeric values' }\r\n ],\r\n 'firstname': [\r\n { type: 'required', message: 'First name is required' },\r\n { type: 'maxlength', message: 'First name cannot be more than 20 characters long' },\r\n { type: 'pattern', message: 'Your first name must contain only alphabets' }\r\n ],\r\n 'middlename': [\r\n //{ type: 'required', message: 'Middle name is required' },\r\n { type: 'maxlength', message: 'Middle name cannot be more than 20 characters long' },\r\n { type: 'pattern', message: 'Your first name must contain only alphabets' }\r\n ],\r\n 'lastname': [\r\n { type: 'required', message: 'Last name is required' },\r\n { type: 'maxlength', message: 'Last name cannot be more than 20 characters long' },\r\n { type: 'pattern', message: 'Your last name must contain only alphabets' }\r\n ],\r\n 'mobile': [\r\n { type: 'required', message: 'Mobile is required' },\r\n { type: 'minlength', message: 'Mobile must be of 10 digits' },\r\n { type: 'pattern', message: 'Mobile is invalid' }\r\n ],\r\n 'email': [\r\n { type: 'required', message: 'Email is required' },\r\n { type: 'maxlength', message: 'Email cannot be more than 100 characters long' },\r\n { type: 'pattern', message: 'Email is invalid' }\r\n ],\r\n 'DOB': {\r\n 'required': 'DOB is required.',\r\n 'matDatepickerMin': 'DOB should be past date.'\r\n }, \r\n 'address': [\r\n //{ type: 'required', message: 'address is required' },\r\n { type: 'maxlength', message: 'address cannot be more than 100 characters long' },\r\n //{ type: 'pattern', message: 'Your address must contain only numbers and alphabets' \r\n ],\r\n 'state': [\r\n { type: 'required', message: 'state is required' },\r\n ],\r\n city: [\r\n { type: 'required', message: 'city is required' },\r\n ],\r\n 'pincode': [\r\n { type: 'required', message: 'pincode is required' },\r\n { type: 'minlength', message: 'pincode must be of 6 digits' },\r\n { type: 'pattern', message: 'pincode is invalid' }\r\n ]\r\n };\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n /**\r\n * Creates an instance of UserCreateComponent.\r\n * @param {UserService} userService\r\n * @param {FormBuilder} fb\r\n * @param {MatSnackBar} snackBar\r\n * @memberof addvednorComponent\r\n */\r\n constructor(private VSService: VendorService,\r\n private userService: UserService,\r\n private fb: FormBuilder,\r\n public snackBar: MatSnackBar,\r\n private VSSService: VendorService,\r\n private configurationService: ConfigurationService,\r\n private cdr:ChangeDetectorRef) {\r\n //this.createForm();\r\n\r\n this.submitted = false;\r\n\r\n this.mobileExists = false;\r\n this.emailExists = false;\r\n this.addressExists = false;\r\n this.pincodeExists = false;\r\n this.userExists = false;\r\n\r\n // this.stateDisabledMap = new Map();\r\n // this.cityDisabledMap = new Map();\r\n }\r\n\r\n createForm() {\r\n this.createUserForm = this.fb.group({\r\n username: new FormControl('', Validators.compose([\r\n Validators.maxLength(8),\r\n Validators.required,\r\n //this.userIdValidator(this.submitted),\r\n Validators.pattern('^[0-9]+(?:[0-9]+)*$') \r\n ]),\r\n //UniqueUsernameValidator(this.userService) // async validator\r\n ),\r\n firstName: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(20),\r\n Validators.pattern('^[A-Za-z]+(?:[A-Za-z]+)*$') \r\n ])),\r\n middleName: new FormControl('', Validators.compose([\r\n Validators.maxLength(20),\r\n Validators.pattern('^[A-Za-z]+(?:[A-Za-z]+)*$') \r\n ])),\r\n lastName: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(20),\r\n Validators.pattern('^[A-Za-z]+(?:[A-Za-z]+)*$') \r\n ])),\r\n mobile: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.minLength(10),\r\n Validators.pattern('^[6-9][0-9]{9}$')\r\n ])),\r\n pincode: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.minLength(6),\r\n Validators.pattern('^[1-9][0-9]{5}$')\r\n ])),\r\n email: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(100),\r\n Validators.pattern('^([a-zA-Z0-9_\\.\\-])+\\@(([a-zA-Z0-9\\-])+\\.)+([a-zA-Z0-9]{2,4})+$')\r\n ])),\r\n address: new FormControl('', Validators.compose([\r\n // Validators.required,\r\n //Validators.maxLength(250),\r\n // Validators.pattern('^[A-Za-z0-9]+(?:[A-Za-z0-9]+)*$')\r\n Validators.maxLength(100),\r\n ])),\r\n state: new FormControl('', Validators.compose([\r\n Validators.required,\r\n ])),\r\n city: new FormControl('', Validators.compose([\r\n Validators.required,\r\n ])),\r\n DOB: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(250),\r\n ])),\r\n Organization: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(100),\r\n ])),\r\n });\r\n }\r\n /**\r\n * Initializes the component and subscribes to the dropdown services\r\n * for usertypes and roles\r\n *\r\n * @memberof addvendorComponent\r\n */ \r\n public createUserForm: FormGroup;\r\n ngOnInit() { \r\n this.createForm (); \r\n this.startdate=new Date();\r\n this.startdate.setDate(this.startdate.getDate() - 7665);\r\n this.VSSService.getStates()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.state = data.results; \r\n });\r\n\r\n this.createUserForm.valueChanges.subscribe((data) => {\r\n this.logValidationErrors(this.createUserForm);\r\n }); \r\n }\r\n\r\n logValidationErrors(group: FormGroup = this.createUserForm): void {\r\n Object.keys(group.controls).forEach((key: string) => {\r\n const abstractControl = group.get(key);\r\n if (abstractControl instanceof FormGroup) {\r\n this.logValidationErrors(abstractControl)\r\n } else {\r\n this.formErrors[key] = '';\r\n if (abstractControl && !abstractControl.valid && (abstractControl.touched || abstractControl.dirty)) {\r\n const messages = this.validationMessages[key];\r\n\r\n for (const errorKey in abstractControl.errors) {\r\n if (errorKey) {\r\n this.formErrors[key] += messages[errorKey] + '';\r\n }\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n ValidateAllFields(formGroup: FormGroup) {\r\n Object.keys(formGroup.controls).forEach(field => {\r\n const control = formGroup.get(field);\r\n if (control instanceof FormControl) {\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) {\r\n this.ValidateAllFields(control);\r\n }\r\n });\r\n }\r\n\r\n\r\nFillCityDD(Slectedstate:any)\r\n{\r\n const currentUser = JSON.parse(localStorage.getItem('currentUser'));\r\n const loginUserId = currentUser.Username;\r\n var strfourthChar = loginUserId.substring(4,3);\r\n \r\n this.VSSService.getCity(Slectedstate.name)\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.city = data.results; \r\n });\r\n \r\n}\r\n\r\n /**\r\n * Build user creation form using form builder\r\n *\r\n * @memberof SECreateComponent\r\n */\r\n \r\n\r\n onSubmit() {\r\n // this.submitted = true;\r\n\r\n \r\n if(this.mobileExists || this.emailExists)\r\n {\r\n this.submitted=false;\r\n return;\r\n }\r\n \r\n if (this.createUserForm.valid)\r\n {\r\n //this.checkUserID();\r\n if (this.createUserForm.get('username').valid) {\r\n const useridsel = this.createUserForm.get('username').value;\r\n\r\n const searchType = 'username';\r\n\r\n this.VSService.searchUser(searchType, useridsel).subscribe(\r\n (data: any) => {\r\n if (data.result !== null) {\r\n this.userExists = true;\r\n this.submitted = false;\r\n return;\r\n } else {\r\n this.userExists = false;\r\n this.submitted = true;\r\n const userDetails = Object.assign({}, this.createUserForm.value);\r\n const newUser = new vendordetails();\r\n newUser.username = userDetails.username;\r\n newUser.firstName = userDetails.firstName;\r\n newUser.lastName = userDetails.lastName;\r\n newUser.email = userDetails.email;\r\n newUser.mobile = userDetails.mobile;\r\n newUser.middlename = userDetails.middleName;\r\n newUser.organization = userDetails.Organization;\r\n newUser.DOB=new Date(Date.UTC((userDetails.DOB.getFullYear()),userDetails.DOB.getMonth(),userDetails.DOB.getDate()));\r\n newUser.address=userDetails.address;\r\n newUser.state=userDetails.state;\r\n newUser.city=userDetails.city;\r\n newUser.pincode=userDetails.pincode;\r\n this.VSService.createUser(newUser)\r\n .subscribe(\r\n (data: any) => {\r\n this.submitted = false;\r\n this.openSnackBar(data.message, '');\r\n if (data.flag === Constants.SUCCESS_FLAG) {\r\n this.openSnackBar(data.message, '');\r\n this.resetForm();\r\n }\r\n },\r\n (err: any) => {\r\n this.submitted = false;\r\n this.openSnackBar(err.error.message, '');\r\n },\r\n () => { }\r\n );\r\n //this.createUserForm.get('username').setValidators = false;\r\n }\r\n },\r\n (err: any) => { },\r\n );\r\n } \r\n }\r\n else\r\n {\r\n this.ValidateAllFields(this.createUserForm);\r\n this.logValidationErrors(this.createUserForm);\r\n } \r\n\r\n }\r\n\r\n /**\r\n * Reset form on clicking reset button.\r\n * Only resetting the does not reset form group validators\r\n * https://stackoverflow.com/questions/48216330/angular-5-formgroup-reset-doesnt-reset-validators\r\n *\r\n * @memberof SECreateComponent\r\n */\r\n // resetForm() {\r\n // this.createUserForm.reset();\r\n // this.createUserForm.clearValidators();\r\n\r\n // this.createUserForm.markAsUntouched();\r\n // this.createUserForm.markAsPristine();\r\n // this.mobileExists = false;\r\n // this.emailExists = false;\r\n // //this.addressExists = false;\r\n // this.pincodeExists = false;\r\n // this.userExists = false;\r\n // }\r\n\r\n \r\n resetForm() {\r\n this.createUserForm.reset();\r\n for (const i in this.createUserForm.controls) {\r\n if (this.createUserForm.controls[i]) {\r\n this.createUserForm.controls[i].setErrors(null);\r\n }\r\n }\r\n this.mobileExists = false;\r\n this.emailExists = false;\r\n //this.addressExists = false;\r\n this.pincodeExists = false;\r\n this.userExists = false;\r\n \r\n }\r\n\r\n /**\r\n * Check if the mobile is already taken, set mobile taken flag to true if so\r\n *\r\n * @memberof SECreateComponent\r\n */\r\n checkMobile() {\r\n if (this.createUserForm.get('mobile').valid) {\r\n const mobile = this.createUserForm.get('mobile').value;\r\n\r\n const searchType = 'mobile';\r\n\r\n this.VSService.CheckMobileEmail(searchType, mobile).subscribe(\r\n (data: any) => {\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.mobileExists = false;\r\n } else {\r\n this.mobileExists = true;\r\n }\r\n },\r\n (err: any) => { },\r\n );\r\n }\r\n }\r\n\r\n /**\r\n * /**\r\n * Check if the mobile is already taken, set mobile taken flag to true if so\r\n *\r\n * @memberof SECreateComponent\r\n */\r\n checkUserID() {\r\n if (this.createUserForm.get('username').valid) {\r\n const useridsel = this.createUserForm.get('username').value;\r\n\r\n const searchType = 'username';\r\n\r\n this.VSService.searchUser(searchType, useridsel).subscribe(\r\n (data: any) => {\r\n if (data.result !== null) {\r\n this.userExists = true;\r\n this.submitted = false;\r\n } else {\r\n this.userExists = false;\r\n this.submitted = true;\r\n //this.createUserForm.get('username').setValidators = false;\r\n }\r\n },\r\n (err: any) => { },\r\n );\r\n }\r\n }\r\n // * *Check if the email is already taken, set email taken flag to true if so\r\n // *\r\n // * @memberof SECreateComponent\r\n // */\r\n checkEmail() {\r\n if (this.createUserForm.get('email').valid) {\r\n const email = String(this.createUserForm.get('email').value).toLocaleUpperCase() ;\r\n\r\n const searchType = 'email';\r\n\r\n this.VSService.CheckMobileEmail(searchType, email).subscribe(\r\n (data: any) => {\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.emailExists = false;\r\n //this.addressExists = true;\r\n } else {\r\n this.emailExists = true;\r\n //this.addressExists = false;\r\n }\r\n },\r\n (err: any) => { },\r\n );\r\n }\r\n }\r\n\r\n openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n\r\n private handleError(error: any) {\r\n // this.errorReceived = true;\r\n return Observable.throw(error);\r\n }\r\n\r\n userIdValidator(isExists:boolean): ValidatorFn {\r\n return (control: AbstractControl): { [key: string]: boolean } | null => {\r\n if (isExists ) {\r\n return { 'userIdExists': true };\r\n }\r\n return null;\r\n };\r\n}\r\n\r\n}\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9tYXN0ZXIvZWRpdHJvY2F0bWFwcC9lZGl0cm9jYXRtYXBwLmNvbXBvbmVudC5zY3NzIn0= */\"","import { Component, OnInit, ViewChild, OnDestroy } from '@angular/core';\r\n import { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';\r\n import { MatDialog, MatSnackBar, MatDialogConfig } from '@angular/material';\r\n import { Observable } from 'rxjs';\r\n import { catchError } from 'rxjs/operators';\r\n import {VendorService} from 'src/app/Services/master/vendor.service';\r\n import {vendordetails, Isubcategory,Iareaname,Isubareaname,Ivendor,Iro} from 'src/app/Models/master/vendor.model';\r\n import { documentList } from 'src/app/Models/ServiceEngineer/documentList';\r\n import { ConfigurationService } from 'src/app/Services/Utilities/configuration.service';\r\n import { Constants } from 'src/app/Constants/constants';\r\n import { IState } from 'src/app/Models/common/state.model';\r\n import { Icity } from 'src/app/Models/common/city.model';\r\n import {romappingdetails} from 'src/app/Models/master/romappingdetails.model';\r\n import { Router, NavigationEnd } from '@angular/router';\r\n import {paraDetails } from 'src/app/Models/master/paraDetails.model';\r\n import {rovendorpara} from 'src/app/Models/Reports/rovendorpara.model';\r\n import {rovendorparaedit} from 'src/app/Models/Reports/rovendorparaedit.model';\r\n \r\n import { applicationconstant } from 'src/app/Models/DropdownItemsGroup/applicationconstant.model';\r\n \r\n /**\r\n * Edit user page\r\n *\r\n * @export\r\n * @class UserEditComponent\r\n * @implements {OnInit}\r\n */\r\n \r\n @Component({\r\n selector: 'app-editrocatmapp',\r\n templateUrl: './editrocatmapp.component.html',\r\n styleUrls: ['./editrocatmapp.component.scss']\r\n })\r\n export class EditrocatmappComponent implements OnInit,OnDestroy {\r\n \r\n /**\r\n * User Search form\r\n *\r\n * @type {FormGroup}\r\n * @memberof ROComponent\r\n */\r\n rocategorymappingForm: FormGroup;\r\n rocategorymappingFormNew:FormGroup;\r\n navigationSubscription;\r\n \r\n //public category: Icategory[];\r\n public subcategory: Isubcategory[];\r\n public areaname: Iareaname[];\r\n public subareaname: Isubareaname[];\r\n public vendor: Ivendor[];\r\n public ro: Iro[];\r\n isFormSectionVisible: boolean = true;\r\n isFormDataSectionVisible: boolean = false;\r\n //userData: romappingdetails;\r\n public submitted: boolean;\r\n public editID: number;\r\n \r\n public subcategory1: Isubcategory[];\r\n public areaname1: Iareaname[];\r\n public subareaname1: Isubareaname[];\r\n public vendor1: Ivendor[];\r\n public ro1: Iro[];\r\n userData: paraDetails;\r\n IncidentList: rovendorpara[];\r\n /**\r\n * User details validation messages\r\n *\r\n * @memberof UserEditComponent\r\n */\r\n public account_validation_messages = {\r\n // 'category': [\r\n // { type: 'required', message: 'Category is required' },\r\n // ],\r\n 'subcategory': [\r\n { type: 'required', message: 'SubCategory is required' },\r\n ],\r\n 'ro': [\r\n { type: 'required', message: 'RO is required' },\r\n ],\r\n 'areaname': [\r\n { type: 'required', message: 'Area Name is required' },\r\n ],\r\n 'subareaname': [\r\n { type: 'required', message: 'Sub Area Name is required' },\r\n ],\r\n 'vendor': [\r\n { type: 'required', message: 'Vendor is required' },\r\n ],\r\n };\r\n public account_validation_messages1 = {\r\n // 'category': [\r\n // { type: 'required', message: 'Category is required' },\r\n // ],\r\n 'subcategory1': [\r\n { type: 'required', message: 'SubCategory is required' },\r\n ],\r\n 'ro1': [\r\n { type: 'required', message: 'RO is required' },\r\n ],\r\n 'areaname1': [\r\n { type: 'required', message: 'Area Name is required' },\r\n ],\r\n // 'subareaname1': [\r\n // { type: 'required', message: 'Sub Area Name is required' },\r\n // ],\r\n 'vendor1': [\r\n { type: 'required', message: 'Vendor is required' },\r\n ],\r\n };\r\n \r\n \r\n /**\r\n * Creates an instance of UserEditComponent.\r\n * @param {FormBuilder} fb\r\n * @param {MatSnackBar} snackBar\r\n * @param {UserService} userService\r\n * @memberof UserEditComponent\r\n */\r\n constructor(private fb: FormBuilder,\r\n public snackBar: MatSnackBar,\r\n public dialog: MatDialog,\r\n private vendService: VendorService,\r\n private router: Router,\r\n private configurationService: ConfigurationService) {\r\n this.submitted = false;\r\n this.rocategorymappingForm = this.fb.group({\r\n //category: new FormControl(null, Validators.required),\r\n ro: new FormControl(null, Validators.required),\r\n areaname: new FormControl(null, Validators.required),\r\n subareaname: new FormControl(null, Validators.required),\r\n vendor: new FormControl(null, Validators.required),\r\n subcategory: new FormControl(null, Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(100),\r\n ]))\r\n });\r\n \r\n this.rocategorymappingFormNew = this.fb.group({\r\n //category: new FormControl(null, Validators.required),\r\n ro1: new FormControl(null, Validators.required),\r\n areaname1: new FormControl(null, Validators.required),\r\n subareaname1: new FormControl(null),\r\n vendor1: new FormControl(null, Validators.required),\r\n subcategory1: new FormControl(null, Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(100),\r\n ]))\r\n });\r\n\r\n }\r\n \r\n \r\n /**\r\n * Initialize component and subcribe to value to fill in\r\n * dropdowns of usertypes and roles\r\n *\r\n * @memberof UserEditComponent\r\n */\r\n ngOnInit() {\r\n // this.vendService.getCategoryROMap()\r\n // .pipe(catchError((err) => this.handleError(err)))\r\n // .subscribe((data: any) => {\r\n // this.category = data.results; \r\n // });\r\n this.vendService.getSubCategoryROMap()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.subcategory = data.results; \r\n //this.subareaname = []; \r\n this.rocategorymappingForm.get('subareaname').patchValue('');\r\n this.rocategorymappingForm.get('subareaname').setErrors(null); \r\n });\r\n }\r\n getAreaName(Slectedstate:any){\r\n this.vendService.getAreaNameforEdit(Slectedstate.name)\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.areaname = data.results; \r\n });\r\n }\r\n\r\n getSubAreaName(Slectedarea:any){\r\n const Details = Object.assign({}, this.rocategorymappingForm.value);\r\n this.vendService.getSubAreaNameforEdit(Details.subcategory.name,Slectedarea.name)\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.subareaname = data.results; \r\n });\r\n }\r\n\r\n getRO(subareaname:any){\r\n const Details = Object.assign({}, this.rocategorymappingForm.value);\r\n this.vendService.getRODetailsforEdit(Details.subcategory.name,Details.areaname.name,subareaname.name)\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.ro = data.results; \r\n });\r\n }\r\n\r\n getROArea(areaname:any){\r\n const Details = Object.assign({}, this.rocategorymappingForm.value);\r\n this.vendService.getRODetailsAreaforEdit(Details.subcategory.name,Details.areaname.name)\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.ro = data.results; \r\n });\r\n }\r\n\r\n getVendor(ro:any){\r\n const Details = Object.assign({}, this.rocategorymappingForm.value);\r\n this.vendService.getvendorforEdit(Details.subcategory.name,Details.areaname.name,Details.subareaname.name?Details.subareaname.name:null,ro.name)\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.vendor = data.results; \r\n });\r\n }\r\n /**\r\n * Submit the form details and pass data to web api\r\n *\r\n * @returns\r\n * @memberof UserEditComponent\r\n */\r\n onSearch() {\r\n \r\n const userDetails = Object.assign({}, this.rocategorymappingForm.value);\r\n // const userData = new romappingdetails();\r\n // userData.subcategory = userDetails.subcategory.name;\r\n // userData.areaname = userDetails.areaname.name;\r\n // userData.subareaname = userDetails.subareaname.name;\r\n // userData.roname = userDetails.ro.name;\r\n // userData.vendorname = userDetails.vendor.name;\r\n this.isFormDataSectionVisible= true;\r\n this.vendService.getSubCategoryROMap()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.subcategory1 = data.results; \r\n });\r\n \r\n this.vendService.getRO()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.ro1 = data.results; \r\n });\r\n \r\n this.vendService.getAreaName()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.areaname1 = data.results; \r\n });\r\n \r\n this.vendService.getSubAreaName()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.subareaname1 = data.results; \r\n });\r\n \r\n this.vendService.getVendorForMapping()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.vendor1 = data.results; \r\n });\r\n //this.setEditFormValues();\r\n this. getDetailsofEdit();\r\n }\r\n\r\n getDetailsofEdit()\r\n {\r\n const UpdateDetails = Object.assign({}, this.rocategorymappingForm.value);\r\n\r\n const userData=new rovendorpara();\r\n userData.subcategory=UpdateDetails.subcategory.name;\r\n userData.areaname=UpdateDetails.areaname.name;\r\n userData.subareaname=UpdateDetails.subareaname.name;\r\n userData.rocode=UpdateDetails.ro.name;\r\n userData.vendor=UpdateDetails.vendor.name;\r\n\r\n this.vendService.searchROVendorData(userData).subscribe(\r\n (data: any) => {\r\n \r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.IncidentList = data.results;\r\n this.editID=this.IncidentList[0][\"id\"];\r\n\r\n this.setEditFormValues(this.IncidentList);\r\n\r\n this.openSnackBar('Data found and displayed','');\r\n }\r\n else {\r\n this.openSnackBar('Data not found for selected criteria','');\r\n this.IncidentList = [];\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n }\r\n \r\n setEditFormValues(user: rovendorpara[]) {\r\n this.rocategorymappingFormNew.patchValue({\r\n subcategory1: user[0].subcategory,\r\n areaname1: user[0].areaname,\r\n subareaname1: user[0].subareaname,\r\n vendor1: user[0].vendor,\r\n ro1: user[0].rocode,\r\n });\r\n }\r\n\r\n onSubmit(){\r\n const UpdateDetails = Object.assign({}, this.rocategorymappingFormNew.value);\r\n\r\n const userData=new rovendorparaedit();\r\n userData.subcategory1=UpdateDetails.subcategory1;\r\n userData.areaname1=UpdateDetails.areaname1;\r\n userData.subareaname1=UpdateDetails.subareaname1;\r\n userData.ro1=UpdateDetails.ro1;\r\n userData.vendor1=UpdateDetails.vendor1;\r\n userData.id1=this.editID;\r\n\r\n this.vendService.updateROVendorMapping(userData\r\n ).subscribe(\r\n (data: any) => {\r\n this.openSnackBar(data.message, '');\r\n if(data.flag==\"F\"){\r\n // this.showSEUserDetails=true;\r\n \r\n }\r\n else\r\n {\r\n // this.showSEUserDetails = false;\r\n // this.searchSEUserForm.get('searchTerm').patchValue('');\r\n // this.searchSEUserForm.get('searchTerm').setErrors(null);\r\n // this.searchSEUserForm.get('searchType').patchValue('null');\r\n this.resetForm();\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n\r\n }\r\n /**\r\n * Reset edit user from, set all controls errors to null\r\n *\r\n * @memberof UserEditComponent\r\n */\r\n resetForm() {\r\n this.rocategorymappingForm.reset();\r\n \r\n for (const i in this.rocategorymappingForm.controls) {\r\n if (this.rocategorymappingForm.controls[i]) {\r\n this.rocategorymappingForm.controls[i].setErrors(null);\r\n }\r\n }\r\n\r\n this.rocategorymappingFormNew.reset();\r\n \r\n for (const i in this.rocategorymappingFormNew.controls) {\r\n if (this.rocategorymappingFormNew.controls[i]) {\r\n this.rocategorymappingFormNew.controls[i].setErrors(null);\r\n }\r\n }\r\n }\r\n \r\n cancelEdit() {\r\n this.resetForm();\r\n }\r\n \r\n openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n \r\n private handleError(error: any) {\r\n // this.errorReceived = true;\r\n return Observable.throw(error);\r\n }\r\n \r\n ngOnDestroy() {\r\n // avoid memory leaks here by cleaning up after ourselves. If we \r\n // don't then we will continue to run our initialiseInvites() \r\n // method on every navigationEnd event.\r\n if (this.navigationSubscription) { \r\n this.navigationSubscription.unsubscribe();\r\n }\r\n }\r\n \r\n }\r\n \r\n \r\n ","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9tYXN0ZXIvZWRpdHZlbmRvci9lZGl0dmVuZG9yLmNvbXBvbmVudC5zY3NzIn0= */\"","import { Component, OnInit, ViewChild, OnDestroy } from '@angular/core';\r\nimport { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';\r\nimport { MatDialog, MatSnackBar, MatDialogConfig } from '@angular/material';\r\nimport { Observable } from 'rxjs';\r\nimport { catchError } from 'rxjs/operators';\r\nimport {VendorService} from 'src/app/Services/master/vendor.service';\r\nimport {vendordetails} from 'src/app/Models/master/vendor.model';\r\nimport { documentList } from 'src/app/Models/ServiceEngineer/documentList';\r\n//import{SeuserDisableDialogComponent} from '../seuser-disable-dialog/seuser-disable-dialog.component'\r\nimport { ConfigurationService } from 'src/app/Services/Utilities/configuration.service';\r\nimport { Constants } from 'src/app/Constants/constants';\r\nimport { IState } from 'src/app/Models/common/state.model';\r\nimport { Icity } from 'src/app/Models/common/city.model';\r\nimport { Router, NavigationEnd } from '@angular/router';\r\nimport { applicationconstant } from 'src/app/Models/DropdownItemsGroup/applicationconstant.model';\r\n\r\n/**\r\n * Edit user page\r\n *\r\n * @export\r\n * @class UserEditComponent\r\n * @implements {OnInit}\r\n */\r\n\r\n@Component({\r\n selector: 'app-editvendor',\r\n templateUrl: './editvendor.component.html',\r\n styleUrls: ['./editvendor.component.scss']\r\n})\r\nexport class EditvendorComponent implements OnInit,OnDestroy {\r\n\r\n /**\r\n * User Search form\r\n *\r\n * @type {FormGroup}\r\n * @memberof UserEditComponent\r\n */\r\n searchSEUserForm: FormGroup;\r\n navigationSubscription;\r\n /**\r\n * Update user form\r\n *\r\n * @type {FormGroup}\r\n * @memberof UserEditComponent\r\n */\r\n editSEUserForm: FormGroup;\r\n\r\n /**\r\n * User types or designation\r\n *\r\n * @type {IUserType[]}\r\n * @memberof UserEditComponent\r\n */\r\n //userTypes: IUserType[];\r\n\r\n channelPartners = []; // TODO\r\n\r\n public state: IState[];\r\n public city: Icity[];\r\n public tempemail:string;\r\n public tempstate:number;\r\n public tempcity:number;\r\n /**\r\n * Search input types\r\n *\r\n * @memberof UserEditComponent\r\n */\r\n searchTypes = ['User ID', 'Email', 'Mobile'];\r\n\r\n // default is false\r\n showSEUserDetails = false;\r\n\r\n public mobileExists: boolean;\r\n public emailExists: boolean;\r\n public ShowLoader:boolean=false;\r\n //public addressExists: boolean;\r\n public pincodeExists: boolean;\r\n seId: number = 0;\r\n isEditForm: boolean = true;\r\n isDocumentSectionVisiable: boolean = false;\r\n isFormSectionVisible: boolean = true;\r\n\r\n userTypesDisabledMap: Map;\r\n stateDisabledMap: Map;\r\n cityDisabledMap: Map;\r\n documents: documentList[]=[];\r\n intialMobile: string;\r\n\r\n // public selectedReference: string;\r\n // isUserTypeSelected:boolean=false;\r\n // public referenceTypes: IState[];\r\n // @ViewChild('referenceid',{static: false}) referenceElement: any;\r\n\r\n /**\r\n * User search validation messages\r\n *\r\n * @memberof UserEditComponent\r\n */\r\n user_search_validation_messages = {\r\n 'searchtype': [\r\n { type: 'required', message: 'Search type is required' }\r\n ],\r\n 'searchterm': [\r\n { type: 'required', message: 'Search value is required' },\r\n { type: 'maxlength', message: 'Search value is cannot be more than 100 characters' }\r\n ]\r\n };\r\n\r\n /**\r\n * User details validation messages\r\n *\r\n * @memberof UserEditComponent\r\n */\r\n public account_validation_messages = {\r\n 'username': [\r\n { type: 'required', message: 'UserID is required' },\r\n { type: 'minlength', message: 'UserID must be of 8 digits' },\r\n // { type: 'pattern', message: 'UserID must contain only numbers' }\r\n ],\r\n 'firstname': [\r\n { type: 'required', message: 'First name is required' },\r\n { type: 'maxlength', message: 'First name cannot be more than 20 characters long' },\r\n { type: 'pattern', message: 'Your first name must contain only alphabets' }\r\n ],\r\n 'middlename': [\r\n //{ type: 'required', message: 'Middle name is required' },\r\n { type: 'maxlength', message: 'Middle name cannot be more than 20 characters long' },\r\n { type: 'pattern', message: 'Your first name must contain only alphabets' }\r\n ],\r\n 'lastname': [\r\n { type: 'required', message: 'Last name is required' },\r\n { type: 'maxlength', message: 'Last name cannot be more than 20 characters long' },\r\n { type: 'pattern', message: 'Your last name must contain only alphabets' }\r\n ],\r\n 'Organization': [\r\n { type: 'required', message: 'Organization is required' },\r\n { type: 'maxlength', message: 'Organization cannot be more than 100 characters long' }\r\n ],\r\n 'mobile': [\r\n { type: 'required', message: 'Mobile is required' },\r\n { type: 'minlength', message: 'Mobile must be of 10 digits' },\r\n { type: 'pattern', message: 'Mobile is invalid' }\r\n ],\r\n 'email': [\r\n { type: 'required', message: 'Email is required' },\r\n { type: 'maxlength', message: 'Email cannot be more than 100 characters long' },\r\n { type: 'pattern', message: 'Email is invalid' }\r\n ],\r\n // 'DOB': {\r\n // 'required': 'DOB is required.',\r\n // 'matDatepickerMin': 'DOB should be past date.'\r\n // }, \r\n 'address': [\r\n { type: 'required', message: 'address is required' },\r\n { type: 'maxlength', message: 'address cannot be more than 100 characters long' },\r\n //{ type: 'pattern', message: 'Your address must contain only numbers and alphabets' \r\n ],\r\n 'state': [\r\n { type: 'required', message: 'state is required' },\r\n ],\r\n city: [\r\n { type: 'required', message: 'city is required' },\r\n ],\r\n 'pincode': [\r\n { type: 'required', message: 'pincode is required' },\r\n { type: 'minlength', message: 'pincode must be of 6 digits' },\r\n { type: 'pattern', message: 'pincode is invalid' }\r\n ]\r\n };\r\n\r\n searched = false;\r\n userData: vendordetails;\r\n userSoftDeleted: boolean;\r\n userDetailsSubmitted = false;\r\n disableSwitchBtn: boolean;\r\n \r\n /**\r\n * Creates an instance of UserEditComponent.\r\n * @param {FormBuilder} fb\r\n * @param {MatSnackBar} snackBar\r\n * @param {UserService} userService\r\n * @memberof UserEditComponent\r\n */\r\n constructor(private fb: FormBuilder,\r\n public snackBar: MatSnackBar,\r\n public dialog: MatDialog,\r\n private SEService: VendorService,\r\n private router: Router,\r\n private configurationService: ConfigurationService) {\r\n\r\n this.searchSEUserForm = this.fb.group({\r\n searchType: new FormControl(null, Validators.required),\r\n searchTerm: new FormControl(null, Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(100),\r\n ]))\r\n });\r\n\r\n this.editSEUserForm = this.createFormGroupWithBuilderAndModel();\r\n\r\n this.mobileExists = false;\r\n this.emailExists = false;\r\n //this.addressExists = false;\r\n this.pincodeExists = false;\r\n this.stateDisabledMap = new Map();\r\n this.cityDisabledMap = new Map();\r\n this.disableSwitchBtn = false;\r\n\r\n this.navigationSubscription = this.router.events.subscribe((e: any) => {\r\n // If it is a NavigationEnd event re-initalise the component\r\n if (e instanceof NavigationEnd) {\r\n this.resetForm();\r\n //this.searchSEUserForm.reset();\r\n this.isFormSectionVisible = true;\r\n this.isDocumentSectionVisiable = false;\r\n \r\n this.ResetSearch();\r\n // this.searchSEUserForm.controls['searchType'].markAsUntouched();\r\n // this.searchSEUserForm.controls['searchTerm'].markAsUntouched();\r\n }\r\n });\r\n\r\n }\r\n\r\n \r\n /**\r\n * Initialize component and subcribe to value to fill in\r\n * dropdowns of usertypes and roles\r\n *\r\n * @memberof UserEditComponent\r\n */\r\n ngOnInit() {\r\n this.SEService.getStates()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.state = data.results; \r\n });\r\n this.FillCityDD('All');\r\n this.SEService.getCity('All')\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.city = data.results; \r\n });\r\n this.ShowLoader=false;\r\n }\r\n FillCityDD(Slectedstate:any)\r\n {\r\n this.SEService.getCity(Slectedstate.name)\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.city = data.results; \r\n });\r\n }\r\n /**\r\n * Create a reactive form for user update using form builder\r\n *\r\n * @returns\r\n * @memberof UserEditComponent\r\n */\r\n createFormGroupWithBuilderAndModel() {\r\n return this.fb.group({\r\n username: new FormControl('', Validators.compose([\r\n Validators.required, \r\n ]),\r\n ),\r\n firstName: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(20),\r\n Validators.pattern('^[A-Za-z]+(?:[A-Za-z]+)*$') \r\n ])),\r\n middlename: new FormControl('', Validators.compose([\r\n Validators.maxLength(20),\r\n Validators.pattern('^[A-Za-z]+(?:[A-Za-z]+)*$') \r\n ])),\r\n lastName: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(20),\r\n Validators.pattern('^[A-Za-z]+(?:[A-Za-z]+)*$') \r\n ])),\r\n Organization: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(100) \r\n ])),\r\n mobile: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.minLength(10),\r\n Validators.pattern('^[6-9][0-9]{9}$')\r\n ])),\r\n pincode: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.minLength(6),\r\n Validators.pattern('^[1-9][0-9]{5}$')\r\n ])),\r\n email: new FormControl('', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(100),\r\n Validators.pattern('^([a-zA-Z0-9_\\.\\-])+\\@(([a-zA-Z0-9\\-])+\\.)+([a-zA-Z0-9]{2,4})+$')\r\n ])),\r\n address: new FormControl('', Validators.compose([\r\n Validators.required,\r\n // Validators.maxLength(250),\r\n // Validators.pattern('^[A-Za-z0-9]+(?:[A-Za-z0-9]+)*$')\r\n Validators.maxLength(100),\r\n ])),\r\n state: new FormControl('', Validators.compose([\r\n Validators.required,\r\n ])),\r\n city: new FormControl('', Validators.compose([\r\n Validators.required,\r\n ])),\r\n // DOB: new FormControl('', Validators.compose([\r\n // Validators.required,\r\n // Validators.maxLength(250),\r\n // ])),\r\n });\r\n }\r\n\r\n /**\r\n * Fill the form inputs with user details\r\n *\r\n * @param {User} user\r\n * @memberof UserEditComponent\r\n */\r\n setEditFormValues(user: vendordetails) {\r\n this.editSEUserForm.patchValue({\r\n username : user.username,\r\n firstName : user.firstName,\r\n middlename:user.middlename,\r\n lastName : user.lastName,\r\n Organization : user.organization,\r\n email : user.email,\r\n mobile : user.mobile,\r\n //DOB:user.DOB,\r\n address:user.address,\r\n state:user.state,\r\n city:user.city,\r\n pincode:user.pincode,\r\n \r\n });\r\n this.tempemail=user.email;\r\n this.tempstate=user.state;\r\n this.tempcity=user.city;\r\n this.intialMobile = user.mobile;\r\n // this.seId = user.seId;\r\n //this.FillCityDD(user.state);\r\n }\r\n\r\n /**\r\n * Submit the form details and pass data to web api\r\n *\r\n * @returns\r\n * @memberof UserEditComponent\r\n */\r\n onSubmit() {\r\n this.userDetailsSubmitted = true;\r\n\r\n if(this.mobileExists || this.emailExists)\r\n {\r\n this.userDetailsSubmitted=false;\r\n return;\r\n }\r\n\r\n const editSEUserFormData: any = Object.assign({}, this.editSEUserForm.value);\r\n\r\n let changed = false;\r\n\r\n if (editSEUserFormData.firstName !== this.userData.firstName) {\r\n this.userData.firstName = editSEUserFormData.firstName;\r\n changed = true;\r\n }\r\n if (editSEUserFormData.lastName !== this.userData.lastName) {\r\n this.userData.lastName = editSEUserFormData.lastName;\r\n changed = true;\r\n }\r\n if (editSEUserFormData.Organization !== this.userData.organization) {\r\n this.userData.organization = editSEUserFormData.Organization;\r\n changed = true;\r\n }\r\n if (editSEUserFormData.middlename !== this.userData.middlename) {\r\n this.userData.middlename = editSEUserFormData.middlename;\r\n changed = true;\r\n }\r\n if (editSEUserFormData.mobile !== this.userData.mobile) {\r\n this.userData.mobile = editSEUserFormData.mobile;\r\n changed = true;\r\n }\r\n if (editSEUserFormData.email !== this.userData.email) {\r\n this.userData.email = editSEUserFormData.email;\r\n changed = true;\r\n }\r\n if (editSEUserFormData.state !== this.userData.state) {\r\n this.userData.state = editSEUserFormData.state;\r\n changed = true;\r\n }\r\n if (editSEUserFormData.city !== this.userData.city) {\r\n this.userData.city = editSEUserFormData.city;\r\n changed = true;\r\n }\r\n if (editSEUserFormData.address !== this.userData.address) {\r\n this.userData.address = editSEUserFormData.address;\r\n changed = true;\r\n }\r\n if (editSEUserFormData.pincode !== this.userData.pincode) {\r\n this.userData.pincode = editSEUserFormData.pincode;\r\n changed = true;\r\n }\r\n //}\r\n \r\n // update user data to database\r\n if (changed && this.editSEUserForm.valid) {\r\n this.SEService.updateUser(this.userData).subscribe(\r\n (data: any) => {\r\n this.openSnackBar(data.message, '');\r\n if(data.flag==\"F\"){\r\n this.showSEUserDetails=true;\r\n \r\n }\r\n else\r\n {\r\n this.showSEUserDetails = false;\r\n this.searchSEUserForm.get('searchTerm').patchValue('');\r\n this.searchSEUserForm.get('searchTerm').setErrors(null);\r\n this.searchSEUserForm.get('searchType').patchValue('null');\r\n this.resetForm();\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n }\r\n }\r\n\r\n /**\r\n * Reset edit user from, set all controls errors to null\r\n *\r\n * @memberof UserEditComponent\r\n */\r\n resetForm() {\r\n this.editSEUserForm.reset();\r\n\r\n for (const i in this.editSEUserForm.controls) {\r\n if (this.editSEUserForm.controls[i]) {\r\n this.editSEUserForm.controls[i].setErrors(null);\r\n }\r\n }\r\n\r\n this.showSEUserDetails = false;\r\n this.userData = null;\r\n\r\n this.mobileExists = false;\r\n this.emailExists = false;\r\n\r\n }\r\n\r\n ViewDocument() {\r\n this.isFormSectionVisible = false;\r\n this.isDocumentSectionVisiable = true;\r\n //this.ShowLoader=true;\r\n }\r\n\r\n cancelEdit() {\r\n this.resetForm();\r\n }\r\n\r\n\r\n GetUserdata(){\r\n const searchFormData: any = Object.assign({}, this.searchSEUserForm.value);\r\n var searchType = searchFormData.searchType;\r\n const searchTerm = searchFormData.searchTerm;\r\n const checkVSID = searchTerm.substring(0,2); \r\n \r\n if(searchType==\"User ID\")\r\n {\r\n searchType=\"Username\";\r\n }\r\n\r\n this.SEService.searchUser(searchType, searchTerm)\r\n .subscribe(\r\n (data: any) => {\r\n if (data.flag === Constants.SUCCESS_FLAG) {\r\n if (data.result.userId !== undefined) {\r\n this.openSnackBar(data.result.username + ' details fetched', '');\r\n this.showSEUserDetails = true;\r\n this.userData = data.result; \r\n \r\n // this.populateReferences({value:this.userData.designation});\r\n this.setEditFormValues(data.result);\r\n //this.FillCityDD(this.tempstate);\r\n //this.city = this.tempcity;\r\n // const userTypeMstKey = this.userTypeIdKeyMap.get(Number(this.userData.designation));\r\n\r\n // if (this.userTypesDisabledMap.get(userTypeMstKey)) {\r\n // this.editSEUserForm.get('username').disable();\r\n // this.editSEUserForm.get('firstName').disable();\r\n // this.editSEUserForm.get('lastName').disable();\r\n // this.editSEUserForm.get('mobile').disable();\r\n // this.editSEUserForm.get('email').disable();\r\n // this.editSEUserForm.get('userType').disable();\r\n // this.editSEUserForm.get('userrole').disable();\r\n // this.editSEUserForm.get('isactive').disable();\r\n // this.disableSwitchBtn = true;\r\n // } else {\r\n this.editSEUserForm.get('username').enable();\r\n this.editSEUserForm.get('firstName').enable();\r\n this.editSEUserForm.get('lastName').enable();\r\n this.editSEUserForm.get('Organization').enable();\r\n this.editSEUserForm.get('mobile').enable();\r\n this.editSEUserForm.get('email').enable();\r\n this.editSEUserForm.get('address').enable();\r\n this.editSEUserForm.get('pincode').enable();\r\n this.editSEUserForm.get('middlename').enable();\r\n \r\n this.disableSwitchBtn = false;\r\n //}\r\n\r\n this.setUserSoftDeleted(data.result.activeFlag);\r\n } else {\r\n this.openSnackBar('User not found', '');\r\n this.resetForm();\r\n }\r\n } else {\r\n this.openSnackBar(data.message, '');\r\n this.resetForm();\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n\r\n\r\n }\r\n /**\r\n * Search user based on either of three parameters:\r\n * 1. username; 2. email; 3. mobile;\r\n *\r\n * @returns\r\n * @memberof UserEditComponent\r\n */\r\n onSearch() {\r\n this.searched = true;\r\n\r\n // stop here if form is invalid\r\n if (!this.searchSEUserForm.valid) {\r\n return;\r\n }\r\n \r\n if(this.city.length==0 || this.city == undefined)\r\n {this.SEService.getCity('All')\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.city = data.results; \r\n this.GetUserdata();\r\n });\r\n }\r\n else\r\n {\r\n this.GetUserdata();\r\n }\r\n }\r\n\r\n checkMobile() {\r\n if (this.editSEUserForm.get('mobile').valid) {\r\n const mobile = this.editSEUserForm.get('mobile').value;\r\n\r\n const searchType = 'mobile';\r\n\r\n if (mobile == this.intialMobile)\r\n {\r\n this.mobileExists = false;\r\n return;\r\n }\r\n\r\n this.SEService.CheckMobileEmail(searchType, mobile).subscribe(\r\n (data: any) => {\r\n // if (data.result !== null) {\r\n // this.mobileExists = true;\r\n // } else if (data.result.mobile !== this.userData.mobile) {\r\n // this.mobileExists = true;\r\n // } else {\r\n // this.mobileExists = false;\r\n // }\r\n \r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.mobileExists = false;\r\n } else {\r\n this.mobileExists = true;\r\n }\r\n\r\n },\r\n (err: any) => { },\r\n );\r\n }\r\n }\r\n\r\n checkEmail() {\r\n \r\n if (this.editSEUserForm.get('email').valid) {\r\n const email = this.editSEUserForm.get('email').value;\r\n const searchType = 'email';\r\n\r\n this.SEService.CheckMobileEmail(searchType, email).subscribe(\r\n (data: any) => {\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.emailExists = false;\r\n } else {\r\n this.emailExists = true;\r\n }\r\n },\r\n (err: any) => { },\r\n );\r\n }\r\n }\r\n\r\n checkEmailForEdit() {\r\n \r\n if (this.editSEUserForm.get('email').valid) {\r\n const email = String(this.editSEUserForm.get('email').value).toLocaleUpperCase();\r\n if(this.tempemail==email)\r\n {\r\n this.emailExists = false;\r\n return;\r\n }\r\n const searchType = 'email';\r\n\r\n this.SEService.CheckMobileEmail(searchType, email).subscribe(\r\n (data: any) => {\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.emailExists = false;\r\n } else {\r\n this.emailExists = true;\r\n }\r\n },\r\n (err: any) => { },\r\n );\r\n }\r\n }\r\n\r\n /**\r\n * Dialog is shown, when admin tries to disable a user.\r\n * This stops admin from to disable user accidentally\r\n *\r\n * @returns\r\n * @memberof UserEditComponent\r\n */\r\n openDeactivationDialog() {\r\n if (this.editSEUserForm.value.isactive !== false) {\r\n return;\r\n }\r\n\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.autoFocus = true;\r\n dialogConfig.disableClose = true;\r\n // dialogConfig.height = '30%';\r\n // dialogConfig.width = '30%';\r\n dialogConfig.data = {\r\n username: this.editSEUserForm.value.username,\r\n isactive: this.editSEUserForm.value.isactive,\r\n WarningMessage: 'User ' + this.editSEUserForm.value.username + ' will be disabled'\r\n }\r\n\r\n // const dialogRef = this.dialog.open(SeuserDisableDialogComponent, dialogConfig);\r\n // dialogRef.afterClosed().subscribe(result => {\r\n\r\n // if (result !== undefined) {\r\n // // console.log(result);\r\n // } else {\r\n // this.editSEUserForm.patchValue({\r\n // isactive: true\r\n // });\r\n // }\r\n // });\r\n }\r\n \r\n openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n\r\n setUserSoftDeleted(activeFlag: string) {\r\n this.userSoftDeleted = (activeFlag === 'I') ? false : true;\r\n }\r\n\r\n private handleError(error: any) {\r\n // this.errorReceived = true;\r\n return Observable.throw(error);\r\n }\r\n\r\n ResetSearch(): void {\r\n this.searchSEUserForm.reset();\r\n this.searchSEUserForm.clearValidators();\r\n for (let i in this.searchSEUserForm.controls) {\r\n this.searchSEUserForm.controls[i].setErrors(null);\r\n }\r\n this.showSEUserDetails = false;\r\n }\r\n ngOnDestroy() {\r\n // avoid memory leaks here by cleaning up after ourselves. If we \r\n // don't then we will continue to run our initialiseInvites() \r\n // method on every navigationEnd event.\r\n if (this.navigationSubscription) { \r\n this.navigationSubscription.unsubscribe();\r\n }\r\n }\r\n\r\n}\r\n\r\n\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9tYXN0ZXIvcm9jYXRlZ29yeW1hcHBpbmcvcm9jYXRlZ29yeW1hcHBpbmcuY29tcG9uZW50LnNjc3MifQ== */\"","import { Component, OnInit, ViewChild, OnDestroy } from '@angular/core';\r\nimport { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';\r\nimport { MatDialog, MatSnackBar, MatDialogConfig } from '@angular/material';\r\nimport { Observable } from 'rxjs';\r\nimport { catchError } from 'rxjs/operators';\r\nimport {VendorService} from 'src/app/Services/master/vendor.service';\r\nimport {vendordetails, Isubcategory,Iareaname,Isubareaname,Ivendor,Iro} from 'src/app/Models/master/vendor.model';\r\nimport { documentList } from 'src/app/Models/ServiceEngineer/documentList';\r\nimport { ConfigurationService } from 'src/app/Services/Utilities/configuration.service';\r\nimport { Constants } from 'src/app/Constants/constants';\r\nimport { IState } from 'src/app/Models/common/state.model';\r\nimport { Icity } from 'src/app/Models/common/city.model';\r\nimport {romappingdetails} from 'src/app/Models/master/romappingdetails.model';\r\nimport { Router, NavigationEnd } from '@angular/router';\r\n\r\n/**\r\n * Edit user page\r\n *\r\n * @export\r\n * @class UserEditComponent\r\n * @implements {OnInit}\r\n */\r\n\r\n@Component({\r\n selector: 'app-rocategorymapping',\r\n templateUrl: './rocategorymapping.component.html',\r\n styleUrls: ['./rocategorymapping.component.scss']\r\n})\r\nexport class RocategorymappingComponent implements OnInit,OnDestroy {\r\n\r\n /**\r\n * User Search form\r\n *\r\n * @type {FormGroup}\r\n * @memberof ROComponent\r\n */\r\n rocategorymappingForm: FormGroup;\r\n navigationSubscription;\r\n\r\n //public category: Icategory[];\r\n public subcategory: Isubcategory[];\r\n public areaname: Iareaname[];\r\n public subareaname: Isubareaname[];\r\n public vendor: Ivendor[];\r\n public ro: Iro[];\r\n isFormSectionVisible: boolean = true;\r\n //userData: romappingdetails;\r\n public submitted: boolean;\r\n\r\n /**\r\n * User details validation messages\r\n *\r\n * @memberof UserEditComponent\r\n */\r\n public account_validation_messages = {\r\n // 'category': [\r\n // { type: 'required', message: 'Category is required' },\r\n // ],\r\n 'subcategory': [\r\n { type: 'required', message: 'SubCategory is required' },\r\n ],\r\n 'ro': [\r\n { type: 'required', message: 'RO is required' },\r\n ],\r\n 'areaname': [\r\n { type: 'required', message: 'Area Name is required' },\r\n ],\r\n 'subareaname': [\r\n { type: 'required', message: 'Sub Area Name is required' },\r\n ],\r\n 'vendor': [\r\n { type: 'required', message: 'Vendor is required' },\r\n ],\r\n };\r\n \r\n /**\r\n * Creates an instance of UserEditComponent.\r\n * @param {FormBuilder} fb\r\n * @param {MatSnackBar} snackBar\r\n * @param {UserService} userService\r\n * @memberof UserEditComponent\r\n */\r\n constructor(private fb: FormBuilder,\r\n public snackBar: MatSnackBar,\r\n public dialog: MatDialog,\r\n private vendService: VendorService,\r\n private router: Router,\r\n private configurationService: ConfigurationService) {\r\n this.submitted = false;\r\n this.rocategorymappingForm = this.fb.group({\r\n //category: new FormControl(null, Validators.required),\r\n ro: new FormControl(null, Validators.required),\r\n areaname: new FormControl(null, Validators.required),\r\n subareaname: new FormControl(null),\r\n vendor: new FormControl(null, Validators.required),\r\n subcategory: new FormControl(null, Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(100),\r\n ]))\r\n });\r\n\r\n }\r\n\r\n \r\n /**\r\n * Initialize component and subcribe to value to fill in\r\n * dropdowns of usertypes and roles\r\n *\r\n * @memberof UserEditComponent\r\n */\r\n ngOnInit() {\r\n // this.vendService.getCategoryROMap()\r\n // .pipe(catchError((err) => this.handleError(err)))\r\n // .subscribe((data: any) => {\r\n // this.category = data.results; \r\n // });\r\n this.vendService.getSubCategoryROMap()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.subcategory = data.results; \r\n });\r\n\r\n this.vendService.getRO()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.ro = data.results; \r\n });\r\n\r\n this.vendService.getAreaName()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.areaname = data.results; \r\n });\r\n\r\n this.vendService.getSubAreaName()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.subareaname = data.results; \r\n });\r\n\r\n this.vendService.getVendorForMapping()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.vendor = data.results; \r\n });\r\n }\r\n // FillSubCatDD(Slectedstate:any)\r\n // {\r\n // this.vendService.getSubCategoryROMap(Slectedstate.name)\r\n // .pipe(catchError((err) => this.handleError(err)))\r\n // .subscribe((data: any) => {\r\n // this.subcategory = data.results; \r\n // });\r\n // }\r\n \r\n\r\n /**\r\n * Submit the form details and pass data to web api\r\n *\r\n * @returns\r\n * @memberof UserEditComponent\r\n */\r\n onSubmit() {\r\n \r\n const userDetails = Object.assign({}, this.rocategorymappingForm.value);\r\n const userData = new romappingdetails();\r\n userData.subcategory = userDetails.subcategory.name;\r\n userData.areaname = userDetails.areaname.name;\r\n userData.subareaname = userDetails.subareaname ?userDetails.subareaname.name:\"\";\r\n userData.roname = userDetails.ro.name;\r\n userData.vendorname = userDetails.vendor.name;\r\n\r\n \r\n this.vendService.saveMapping(userData)\r\n .subscribe(\r\n (data: any) => {\r\n this.submitted = false;\r\n this.openSnackBar(data.message, '');\r\n if (data.flag === Constants.SUCCESS_FLAG) {\r\n this.openSnackBar(data.message, '');\r\n this.resetForm();\r\n this.isFormSectionVisible = true;\r\n }\r\n },\r\n (err: any) => {\r\n this.submitted = false;\r\n this.openSnackBar(err.error.message, '');\r\n },\r\n () => { }\r\n );\r\n }\r\n\r\n /**\r\n * Reset edit user from, set all controls errors to null\r\n *\r\n * @memberof UserEditComponent\r\n */\r\n resetForm() {\r\n this.rocategorymappingForm.reset();\r\n\r\n for (const i in this.rocategorymappingForm.controls) {\r\n if (this.rocategorymappingForm.controls[i]) {\r\n this.rocategorymappingForm.controls[i].setErrors(null);\r\n }\r\n }\r\n }\r\n\r\n cancelEdit() {\r\n this.resetForm();\r\n }\r\n \r\n openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n\r\n private handleError(error: any) {\r\n // this.errorReceived = true;\r\n return Observable.throw(error);\r\n }\r\n\r\n ngOnDestroy() {\r\n // avoid memory leaks here by cleaning up after ourselves. If we \r\n // don't then we will continue to run our initialiseInvites() \r\n // method on every navigationEnd event.\r\n if (this.navigationSubscription) { \r\n this.navigationSubscription.unsubscribe();\r\n }\r\n }\r\n\r\n}\r\n\r\n\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9yZXBvcnQvbm9uYXNzaWduZWRpbS9ub25hc3NpZ25lZGltLmNvbXBvbmVudC5zY3NzIn0= */\"","\r\nimport { Component, OnInit,ChangeDetectorRef, ViewChild } from '@angular/core';\r\nimport { FormGroup, FormControl, Validators, FormBuilder, ValidatorFn, AbstractControl } from '@angular/forms';\r\nimport { MatDialog, MatSnackBar } from '@angular/material';\r\nimport { roincidenthistoryService } from 'src/app/Services/Reports/roincidenthistory.service';\r\nimport { Icategory } from 'src/app/Models/Reports/roincidenthistory.model';\r\nimport { Istatus } from 'src/app/Models/Reports/roincidenthistory.model';\r\nimport { Ilocation } from 'src/app/Models/Reports/roincidenthistory.model';\r\nimport { IimPara } from 'src/app/Models/Reports/roincidenthistory.model';\r\nimport { Incident } from 'src/app/Models/Reports/incident.model';\r\nimport { Observable } from 'rxjs';\r\nimport { catchError } from 'rxjs/operators';\r\nimport { UniqueUsernameValidator } from 'src/app/shared/unique-username-validator.directive';\r\nimport { ConfigurationService } from 'src/app/Services/Utilities/configuration.service';\r\nimport { Constants } from 'src/app/Constants/constants';\r\nimport { applicationconstant } from 'src/app/Models/DropdownItemsGroup/applicationconstant.model';\r\nimport { DropdownItems } from 'src/app/Models/DropdownItemsGroup/dropdownitems.model';\r\n\r\n\r\n@Component({\r\n selector: 'app-nonassignedim',\r\n templateUrl: './nonassignedim.component.html',\r\n styleUrls: ['./nonassignedim.component.scss']\r\n})\r\nexport class NonassignedimComponent implements OnInit {\r\n\r\n public category: Icategory[];\r\n public ro: Icategory[];\r\n public status: Icategory[];\r\n public location: Icategory[];\r\n public state: Icategory[];\r\n IncidentList: Incident[];\r\n public btnSearch:string= 'Hide';\r\n public btnExport:string='Hide';\r\n //ticketValues:string;\r\n //ticketSearchType: DropdownItems[];\r\n \r\n public ReportIncidentForm: FormGroup;\r\n isFormSectionVisible: boolean = true;\r\n\r\n constructor(private ROIncidentHistory: roincidenthistoryService,\r\n private fb: FormBuilder,\r\n public snackBar: MatSnackBar,\r\n private configurationService: ConfigurationService,\r\n private cdr:ChangeDetectorRef) { \r\n this.createForm();\r\n \r\n }\r\n\r\n createForm() {\r\n this.ReportIncidentForm = this.fb.group({\r\n \r\n category: new FormControl('', Validators.compose([\r\n //Validators.required,\r\n ])),\r\n status: new FormControl('', Validators.compose([\r\n // Validators.required,\r\n ])),\r\n location: new FormControl('', Validators.compose([\r\n //Validators.required,\r\n ])),\r\n ro: new FormControl('', Validators.compose([\r\n //Validators.required,\r\n ])),\r\n state: new FormControl('', Validators.compose([\r\n //Validators.required,\r\n ])),\r\n });\r\n }\r\n ResetSearch()\r\n {\r\n this.ReportIncidentForm.reset();\r\n //this.ticketValues=this.ticketSearchType.map(x=>x.mstValue).join(' / ');\r\n this.onSearch();\r\n this.btnSearch='Hide';\r\n this.btnExport='Show';\r\n }\r\n public account_validation_messages = {\r\n \r\n 'category': [\r\n { type: 'required', message: 'category is required' },\r\n ],\r\n 'status': [\r\n { type: 'required', message: 'status is required' },\r\n ],\r\n 'location': [\r\n { type: 'required', message: 'location is required' },\r\n ],\r\n 'ro': [\r\n { type: 'required', message: 'status is required' },\r\n ],\r\n };\r\n\r\n ngOnInit() {\r\n\r\n this.ROIncidentHistory.getRONonAssIM()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n this.ro=data.results;\r\n });\r\n\r\n this.ROIncidentHistory.getCategoryNonAssIM()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n if (data.flag == applicationconstant.SuccessFlag)\r\n {\r\n this.category = data.results; \r\n this.ROIncidentHistory.getAreaNonAssIM()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n if (data.flag == applicationconstant.SuccessFlag)\r\n {\r\n this.status = data.results;\r\n this.ROIncidentHistory.getSubAreaNonAssIM()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n if (data.flag == applicationconstant.SuccessFlag)\r\n {\r\n this.location = data.results; \r\n this.ROIncidentHistory.getState()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n if(data.flag == applicationconstant.SuccessFlag)\r\n {\r\n this.state=data.results;\r\n this.onSearch(); \r\n }\r\n })\r\n \r\n } \r\n else\r\n {\r\n this.openSnackBar('Data not found for selected criteria','');\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n } \r\n else\r\n {\r\n this.openSnackBar('Data not found for selected criteria','');\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n } \r\n else\r\n {\r\n this.openSnackBar('Data not found for selected criteria','');\r\n } \r\n \r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n \r\n }\r\n\r\n onSearch(){\r\n const RoFormData: any = Object.assign({}, this.ReportIncidentForm.value);\r\n let changed = true;\r\n const userData=new IimPara();\r\n if(RoFormData.category!=null)\r\n {\r\n userData.category=RoFormData.category.name;\r\n }else{userData.category=RoFormData.category;}\r\n userData.area=RoFormData.status;\r\n userData.subarea=RoFormData.location;\r\n userData.ro=RoFormData.ro;\r\n userData.state=RoFormData.state;\r\n if (changed) {\r\n this.ROIncidentHistory.searchDataforNonAssIM(userData).subscribe(\r\n (data: any) => {\r\n \r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.IncidentList = data.results;\r\n this.openSnackBar('Data found and displayed','');\r\n this.btnSearch='Hide';\r\n this.btnExport='Show';\r\n }\r\n else {\r\n this.openSnackBar('Data not found for selected criteria','');\r\n this.IncidentList = [];\r\n this.btnSearch='Show';\r\n this.btnExport='Hide';\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n }\r\n }\r\n\r\n funCategory()\r\n {\r\n this.btnSearch='Show';\r\n this.btnExport='Hide';\r\n }\r\n funStatus()\r\n {\r\n this.btnSearch='Show';\r\n this.btnExport='Hide';\r\n }\r\n funLocation()\r\n {\r\n this.btnSearch='Show';\r\n this.btnExport='Hide';\r\n }\r\n funro()\r\n {\r\n this.btnSearch='Show';\r\n this.btnExport='Hide'; \r\n }\r\n\r\n ExporttoExcel(){\r\n const RoFormData: any = Object.assign({}, this.ReportIncidentForm.value);\r\n let changed = true;\r\n const userData=new IimPara();\r\n if(RoFormData.category!=null)\r\n {\r\n userData.category=RoFormData.category.name;\r\n }\r\n else{\r\n userData.category=RoFormData.category;}\r\n userData.area=RoFormData.status;\r\n userData.subarea=RoFormData.location;\r\n userData.ro=RoFormData.ro;\r\n if (changed) {\r\n this.ROIncidentHistory.searchDataforNonAssIM(userData).subscribe(\r\n (data: any) => {\r\n //this.openSnackBar(data.message, '');\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.IncidentList = data.results;\r\n this.ROIncidentHistory.exportExcel(this.IncidentList, 'Non_Assigned_IM');\r\n this.openSnackBar('Data Exported Successfully','');\r\n }\r\n else {\r\n this.openSnackBar('No Data Found To Export','');\r\n //this.IncidentList = [];\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n }\r\n }\r\n\r\n onSubmit(form: any) {\r\n // const RoFormData: any = Object.assign({}, this.ReportIncidentForm.value);\r\n // let changed = false;\r\n // RoFormData.category=this.userData.category;\r\n // RoFormData.status=this.userData.status;\r\n // RoFormData.location=this.userData.location;\r\n // RoFormData.Priority=this.userData.priority;\r\n // if (changed) {\r\n // this.ROIncidentHistory.SearchData(this.userData).subscribe(\r\n // (data: any) => {\r\n // this.openSnackBar(data.message, '');\r\n // if(data.flag==\"F\"){\r\n \r\n // }\r\n // },\r\n // (err: any) => this.openSnackBar(err.error.message, ''),\r\n // () => { }\r\n // );\r\n // }\r\n }\r\n openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n private handleError(error: any) {\r\n // this.errorReceived = true;\r\n return Observable.throw(error);\r\n }\r\n\r\n}\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9yZXBvcnQvcm9pbmNpZGVudGhpc3Rvcnkvcm9pbmNpZGVudGhpc3RvcnkuY29tcG9uZW50LnNjc3MifQ== */\"","import { Component, OnInit,ChangeDetectorRef, ViewChild } from '@angular/core';\r\nimport { FormGroup, FormControl, Validators, FormBuilder, ValidatorFn, AbstractControl } from '@angular/forms';\r\nimport { MatDialog, MatSnackBar } from '@angular/material';\r\nimport { roincidenthistoryService } from 'src/app/Services/Reports/roincidenthistory.service';\r\nimport { Icategory } from 'src/app/Models/Reports/roincidenthistory.model';\r\nimport { Istatus } from 'src/app/Models/Reports/roincidenthistory.model';\r\nimport { Ilocation } from 'src/app/Models/Reports/roincidenthistory.model';\r\nimport { ISearchPara } from 'src/app/Models/Reports/roincidenthistory.model';\r\nimport { Incident } from 'src/app/Models/Reports/incident.model';\r\nimport { Observable } from 'rxjs';\r\nimport { catchError } from 'rxjs/operators';\r\nimport { UniqueUsernameValidator } from 'src/app/shared/unique-username-validator.directive';\r\nimport { ConfigurationService } from 'src/app/Services/Utilities/configuration.service';\r\nimport { Constants } from 'src/app/Constants/constants';\r\nimport { applicationconstant } from 'src/app/Models/DropdownItemsGroup/applicationconstant.model';\r\nimport { DropdownItems } from 'src/app/Models/DropdownItemsGroup/dropdownitems.model';\r\n\r\n\r\n@Component({\r\n selector: 'app-roincidenthistory',\r\n templateUrl: './roincidenthistory.component.html',\r\n styleUrls: ['./roincidenthistory.component.scss']\r\n})\r\nexport class RoincidenthistoryComponent implements OnInit {\r\n\r\n public category: Icategory[];\r\n public status: Istatus[];\r\n public location: Ilocation[];\r\n IncidentList: Incident[];\r\n public btnAEEM:boolean=false;\r\n public btnSearch:string= 'Hide';\r\n public btnExport:string='Hide';\r\n //ticketValues:string;\r\n //ticketSearchType: DropdownItems[];\r\n Priority = ['Critical', 'High', 'Medium','Low'];\r\n \r\n public ReportIncidentForm: FormGroup;\r\n isFormSectionVisible: boolean = true;\r\n\r\n constructor(private ROIncidentHistory: roincidenthistoryService,\r\n private fb: FormBuilder,\r\n public snackBar: MatSnackBar,\r\n private configurationService: ConfigurationService,\r\n private cdr:ChangeDetectorRef) { \r\n this.createForm();\r\n \r\n }\r\n\r\n createForm() {\r\n this.ReportIncidentForm = this.fb.group({\r\n \r\n category: new FormControl('', Validators.compose([\r\n //Validators.required,\r\n ])),\r\n status: new FormControl('', Validators.compose([\r\n // Validators.required,\r\n ])),\r\n location: new FormControl('', Validators.compose([\r\n //Validators.required,\r\n ])),\r\n Priority: new FormControl('', Validators.compose([\r\n //Validators.required,\r\n ])),\r\n \r\n });\r\n }\r\n ResetSearch()\r\n {\r\n this.ReportIncidentForm.reset();\r\n //this.ticketValues=this.ticketSearchType.map(x=>x.mstValue).join(' / ');\r\n this.onSearch();\r\n this.btnSearch='Hide';\r\n this.btnExport='Show';\r\n }\r\n public account_validation_messages = {\r\n \r\n 'category': [\r\n { type: 'required', message: 'category is required' },\r\n ],\r\n 'status': [\r\n { type: 'required', message: 'status is required' },\r\n ],\r\n 'location': [\r\n { type: 'required', message: 'category is required' },\r\n ],\r\n 'Priority': [\r\n { type: 'required', message: 'status is required' },\r\n ],\r\n };\r\n\r\n ngOnInit() {\r\n \r\n this.ROIncidentHistory.getCategory()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n if (data.flag == applicationconstant.SuccessFlag)\r\n {\r\n this.category = data.results; \r\n this.ROIncidentHistory.getStatus()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n if (data.flag == applicationconstant.SuccessFlag)\r\n {\r\n this.status = data.results;\r\n this.ROIncidentHistory.getLocation()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n if (data.flag == applicationconstant.SuccessFlag)\r\n {\r\n this.location = data.results; \r\n this.onSearch(); \r\n } \r\n else\r\n {\r\n this.openSnackBar('Data not found for selected criteria','');\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n } \r\n else\r\n {\r\n this.openSnackBar('Data not found for selected criteria','');\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n } \r\n else\r\n {\r\n this.openSnackBar('Data not found for selected criteria','');\r\n } \r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n \r\n }\r\n\r\n onSearch(){\r\n const RoFormData: any = Object.assign({}, this.ReportIncidentForm.value);\r\n let changed = true;\r\n const userData=new ISearchPara();\r\n userData.category=RoFormData.category;\r\n userData.status=RoFormData.status;\r\n userData.location=RoFormData.location;\r\n userData.priority=RoFormData.Priority;\r\n if (changed) {\r\n this.ROIncidentHistory.searchData(userData).subscribe(\r\n (data: any) => {\r\n \r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.IncidentList = data.results;\r\n if(data.message=='ISAEEV')\r\n {\r\n this.btnAEEM=true;\r\n }\r\n this.openSnackBar('Data found and displayed','');\r\n this.btnSearch='Hide';\r\n this.btnExport='Show';\r\n }\r\n else {\r\n this.openSnackBar('Data not found for selected criteria','');\r\n this.IncidentList = [];\r\n this.btnSearch='Show';\r\n this.btnExport='Hide';\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n }\r\n }\r\n\r\n funCategory()\r\n {\r\n this.btnSearch='Show';\r\n this.btnExport='Hide';\r\n }\r\n funStatus()\r\n {\r\n this.btnSearch='Show';\r\n this.btnExport='Hide';\r\n }\r\n funLocation()\r\n {\r\n this.btnSearch='Show';\r\n this.btnExport='Hide';\r\n }\r\n funPriority()\r\n {\r\n this.btnSearch='Show';\r\n this.btnExport='Hide'; \r\n }\r\n\r\n ExporttoExcel(){\r\n const RoFormData: any = Object.assign({}, this.ReportIncidentForm.value);\r\n let changed = true;\r\n const userData=new ISearchPara();\r\n userData.category=RoFormData.category;\r\n userData.status=RoFormData.status;\r\n userData.location=RoFormData.location;\r\n userData.priority=RoFormData.Priority;\r\n if (changed) {\r\n this.ROIncidentHistory.searchData(userData).subscribe(\r\n (data: any) => {\r\n //this.openSnackBar(data.message, '');\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.IncidentList = data.results;\r\n this.ROIncidentHistory.exportExcel(this.IncidentList, 'RO_Incident_History_Report');\r\n this.openSnackBar('Data Exported Successfully','');\r\n }\r\n else {\r\n this.openSnackBar('No Data Found To Export','');\r\n //this.IncidentList = [];\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n }\r\n }\r\n AdditionalExporttoExcel(){\r\n const RoFormData: any = Object.assign({}, this.ReportIncidentForm.value);\r\n let changed = true;\r\n const userData=new ISearchPara();\r\n userData.category=RoFormData.category;\r\n userData.status=RoFormData.status;\r\n userData.location=RoFormData.location;\r\n userData.priority=RoFormData.Priority;\r\n if (changed) {\r\n this.ROIncidentHistory.AdditionalExportExcelData(userData).subscribe(\r\n (data: any) => {\r\n //this.openSnackBar(data.message, '');\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n // this.IncidentList = data.results;\r\n this.ROIncidentHistory.exportExcel(data.results, 'MEC_Incident_Details');\r\n this.openSnackBar('Data Exported Successfully','');\r\n this.onSearch();\r\n }\r\n else {\r\n this.openSnackBar('No Data Found To Export','');\r\n //this.IncidentList = [];\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n }\r\n }\r\n onSubmit(form: any) {\r\n // const RoFormData: any = Object.assign({}, this.ReportIncidentForm.value);\r\n // let changed = false;\r\n // RoFormData.category=this.userData.category;\r\n // RoFormData.status=this.userData.status;\r\n // RoFormData.location=this.userData.location;\r\n // RoFormData.Priority=this.userData.priority;\r\n // if (changed) {\r\n // this.ROIncidentHistory.SearchData(this.userData).subscribe(\r\n // (data: any) => {\r\n // this.openSnackBar(data.message, '');\r\n // if(data.flag==\"F\"){\r\n \r\n // }\r\n // },\r\n // (err: any) => this.openSnackBar(err.error.message, ''),\r\n // () => { }\r\n // );\r\n // }\r\n }\r\n openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n private handleError(error: any) {\r\n // this.errorReceived = true;\r\n return Observable.throw(error);\r\n }\r\n\r\n}\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9yZXBvcnQvcm9yYXRpbmcvcm9yYXRpbmcuY29tcG9uZW50LnNjc3MifQ== */\"","import { Component, OnInit,ChangeDetectorRef, ViewChild } from '@angular/core';\r\nimport { FormGroup, FormControl, Validators, FormBuilder, ValidatorFn, AbstractControl } from '@angular/forms';\r\nimport { MatDialog, MatSnackBar } from '@angular/material';\r\nimport { roratingService } from 'src/app/Services/Reports/rorating.service';\r\nimport { ISearchPara } from 'src/app/Models/Reports/rorating.model';\r\nimport { rorating } from 'src/app/Models/Reports/rorating.model';\r\nimport { Observable } from 'rxjs';\r\nimport { catchError } from 'rxjs/operators';\r\nimport { UniqueUsernameValidator } from 'src/app/shared/unique-username-validator.directive';\r\nimport { ConfigurationService } from 'src/app/Services/Utilities/configuration.service';\r\nimport { Constants } from 'src/app/Constants/constants';\r\nimport { applicationconstant } from 'src/app/Models/DropdownItemsGroup/applicationconstant.model';\r\n\r\n\r\n@Component({\r\n selector: 'app-rorating',\r\n templateUrl: './rorating.component.html',\r\n styleUrls: ['./rorating.component.scss']\r\n})\r\nexport class RoratingComponent implements OnInit {\r\n\r\n public btnSearch:string= 'Hide';\r\n public btnExport:string='Hide';\r\n roratingList: rorating[];\r\n\r\n Priority = ['Critical', 'High', 'Medium','Low'];\r\n \r\n public RORatingForm: FormGroup;\r\n isFormSectionVisible: boolean = true;\r\n\r\n constructor(private roratingHistory: roratingService,\r\n private fb: FormBuilder,\r\n public snackBar: MatSnackBar,\r\n private configurationService: ConfigurationService,\r\n private cdr:ChangeDetectorRef) { \r\n this.createForm();\r\n }\r\n\r\n createForm() {\r\n this.RORatingForm = this.fb.group({\r\n Priority: new FormControl('', Validators.compose([\r\n //Validators.required,\r\n ])),\r\n searchKey: new FormControl('', Validators.compose([\r\n ])),\r\n });\r\n }\r\n ResetSearch()\r\n {\r\n this.RORatingForm.reset();\r\n this.onSearch();\r\n }\r\n public account_validation_messages = {\r\n 'Priority': [\r\n { type: 'required', message: 'status is required' },\r\n ],\r\n };\r\n\r\n ngOnInit() {\r\n this.onSearch();\r\n }\r\n\r\n onSearch(){\r\n const RoFormData: any = Object.assign({}, this.RORatingForm.value);\r\n let changed = true;\r\n const userData=new ISearchPara();\r\n userData.priority=RoFormData.Priority;\r\n if (changed) {\r\n this.roratingHistory.searchData(userData).subscribe(\r\n (data: any) => {\r\n \r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.roratingList = data.results;\r\n this.openSnackBar('Data found and displayed','');\r\n this.btnSearch='Hide';\r\n this.btnExport='Show';\r\n }\r\n else {\r\n this.openSnackBar('Data not found for selected criteria','');\r\n this.roratingList = [];\r\n this.btnSearch='Show';\r\n this.btnExport='Hide';\r\n }\r\n },\r\n (err: any) => this.openSnackBar('Something went wrong. Please Refresh/Relogin', ''),\r\n () => { }\r\n );\r\n }\r\n }\r\n\r\n funCategory()\r\n {\r\n this.btnSearch='Show';\r\n this.btnExport='Hide';\r\n }\r\n funStatus()\r\n {\r\n this.btnSearch='Show';\r\n this.btnExport='Hide';\r\n }\r\n funLocation()\r\n {\r\n this.btnSearch='Show';\r\n this.btnExport='Hide';\r\n }\r\n funPriority()\r\n {\r\n this.btnSearch='Show';\r\n this.btnExport='Hide'; \r\n }\r\n\r\n // onSearchClear()\r\n // {\r\n // this.searchKey=\"\";\r\n // }\r\n\r\n applyFilter(skey:string)\r\n {\r\n return this.roratingList.filter(item => {\r\n return item.rocode.toUpperCase().indexOf(skey) > -1;\r\n });\r\n }\r\n\r\n ExporttoExcel(){\r\n const RoFormData: any = Object.assign({}, this.RORatingForm.value);\r\n let changed = true;\r\n const userData=new ISearchPara();\r\n userData.priority=RoFormData.Priority;\r\n if (changed) {\r\n this.roratingHistory.searchData(userData).subscribe(\r\n (data: any) => {\r\n //this.openSnackBar(data.message, '');\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.roratingList = data.results;\r\n this.roratingHistory.exportExcel(this.roratingList, 'RO_Rating_Report');\r\n this.openSnackBar('Data Exported Successfully','');\r\n }\r\n else {\r\n this.openSnackBar('No Data Found To Export','');\r\n this.roratingList = [];\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n }\r\n }\r\n\r\n onSubmit(form: any) {\r\n // const RoFormData: any = Object.assign({}, this.ReportIncidentForm.value);\r\n // let changed = false;\r\n // RoFormData.category=this.userData.category;\r\n // RoFormData.status=this.userData.status;\r\n // RoFormData.location=this.userData.location;\r\n // RoFormData.Priority=this.userData.priority;\r\n // if (changed) {\r\n // this.ROIncidentHistory.SearchData(this.userData).subscribe(\r\n // (data: any) => {\r\n // this.openSnackBar(data.message, '');\r\n // if(data.flag==\"F\"){\r\n \r\n // }\r\n // },\r\n // (err: any) => this.openSnackBar(err.error.message, ''),\r\n // () => { }\r\n // );\r\n // }\r\n }\r\n openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n private handleError(error: any) {\r\n // this.errorReceived = true;\r\n return Observable.throw(error);\r\n }\r\n\r\n}\r\n\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9yZXBvcnQvcm92ZW5kb3JtYXBwaW5nbGlzdC9yb3ZlbmRvcm1hcHBpbmdsaXN0LmNvbXBvbmVudC5zY3NzIn0= */\"","import { Component, OnInit,ChangeDetectorRef, ViewChild } from '@angular/core';\r\nimport { FormGroup, FormControl, Validators, FormBuilder, ValidatorFn, AbstractControl } from '@angular/forms';\r\nimport { MatDialog, MatSnackBar } from '@angular/material';\r\nimport {userlistService} from 'src/app/Services/Reports/userlist.service'\r\nimport { ISearchPara } from 'src/app/Models/Reports/workingincidenthistory.model';\r\nimport {rovendorpara} from 'src/app/Models/Reports/rovendorpara.model';\r\nimport { Observable } from 'rxjs';\r\nimport { ConfigurationService } from 'src/app/Services/Utilities/configuration.service';\r\nimport {ISearchUser} from 'src/app/Models/Reports/workingincidenthistory.model';\r\nimport { Constants } from 'src/app/Constants/constants';\r\nimport { applicationconstant } from 'src/app/Models/DropdownItemsGroup/applicationconstant.model';\r\n\r\n\r\n@Component({\r\n selector: 'app-rovendormappinglist',\r\n templateUrl: './rovendormappinglist.component.html',\r\n styleUrls: ['./rovendormappinglist.component.scss']\r\n})\r\n\r\nexport class RovendormappinglistComponent implements OnInit {\r\n\r\n IncidentList: any=[];\r\n public btnSearch:string= 'Hide';\r\n public btnExport:string='Hide';\r\n userpara:ISearchUser;\r\n \r\n public SearchUserListForm: FormGroup;\r\n isFormSectionVisible: boolean = true;\r\n\r\n searchTypes = ['SUBCATEGORY','AREANAME','SUBAREANAME','VENDOR ID','ROCODE'];\r\n searched = false;\r\n\r\n constructor(private userlistService: userlistService,\r\n private fb: FormBuilder,\r\n public snackBar: MatSnackBar,\r\n private configurationService: ConfigurationService,\r\n private cdr:ChangeDetectorRef) { \r\n this.SearchUserListForm = this.fb.group({\r\n searchType: new FormControl(null, Validators.required),\r\n searchTerm: new FormControl(null, Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(100),\r\n ]))\r\n });\r\n }\r\n\r\n /**\r\n * User search validation messages\r\n *\r\n * @memberof UserEditComponent\r\n */\r\n user_search_validation_messages = {\r\n 'searchtype': [\r\n { type: 'required', message: 'Search type is required' }\r\n ],\r\n 'searchterm': [\r\n { type: 'required', message: 'Search value is required' },\r\n { type: 'maxlength', message: 'Search value is cannot be more than 100 characters' }\r\n ]\r\n };\r\n \r\n ResetSearch()\r\n {\r\n this.SearchUserListForm.reset();\r\n this.onSearch();\r\n this.btnSearch='Hide';\r\n this.btnExport='Show';\r\n }\r\n \r\n ngOnInit() {\r\n this.onSearch(); \r\n this.IncidentList=[];\r\n }\r\n\r\n onSearch() {\r\n //this.searched = true;\r\n\r\n const searchFormData: any = Object.assign({}, this.SearchUserListForm.value);\r\n var searchType = searchFormData.searchType;\r\n const searchTerm = searchFormData.searchTerm;\r\n \r\n if(searchType==\"User ID\")\r\n {\r\n searchType=\"Username\";\r\n }\r\n if(searchType==\"VENDOR ID\")\r\n {\r\n searchType=\"VENDOR\";\r\n }\r\n const userData=new ISearchUser() ;\r\n userData.searchTerm=searchTerm;\r\n userData.searchType=searchType;\r\n this.userlistService.searchROVendorData(userData).subscribe(\r\n (data: any) => {\r\n \r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.IncidentList = data.results;\r\n this.openSnackBar('Data found and displayed','');\r\n this.btnSearch='Hide';\r\n this.btnExport='Show';\r\n }\r\n else {\r\n this.openSnackBar('Data not found for selected criteria','');\r\n this.IncidentList = [];\r\n this.btnSearch='Show';\r\n this.btnExport='Hide';\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n \r\n\r\n }\r\n\r\n ExporttoExcel(){\r\n let changed = true;\r\n const searchFormData: any = Object.assign({}, this.SearchUserListForm.value);\r\n var searchType = searchFormData.searchType;\r\n const searchTerm = searchFormData.searchTerm;\r\n \r\n if(searchType==\"User ID\")\r\n {\r\n searchType=\"Username\";\r\n }\r\n if(searchType==\"VENDOR ID\")\r\n {\r\n searchType=\"VENDOR\";\r\n }\r\n const userData=new ISearchUser();\r\n userData.searchTerm=searchTerm;\r\n userData.searchType=searchType;\r\n\r\n if (changed) {\r\n this.userlistService.searchROVendorData(userData).subscribe(\r\n (data: any) => {\r\n //this.openSnackBar(data.message, '');\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.IncidentList = data.results;\r\n this.userlistService.exportExcel(this.IncidentList, 'Working_Incident_History_Report');\r\n this.openSnackBar('Data Exported Successfully','');\r\n }\r\n else {\r\n this.openSnackBar('No Data Found To Export','');\r\n //this.IncidentList = [];\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n }\r\n }\r\n\r\n onSubmit(form: any) {\r\n }\r\n\r\n openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n private handleError(error: any) {\r\n return Observable.throw(error);\r\n }\r\n\r\n}\r\n\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9yZXBvcnQvc2VyYXRpbmcvc2VyYXRpbmcuY29tcG9uZW50LnNjc3MifQ== */\"","import { Component, OnInit,ChangeDetectorRef, ViewChild } from '@angular/core';\r\nimport { FormGroup, FormControl, Validators, FormBuilder, ValidatorFn, AbstractControl } from '@angular/forms';\r\nimport { MatDialog, MatSnackBar } from '@angular/material';\r\nimport { seratingService } from 'src/app/Services/Reports/serating.service';\r\nimport { ISearchPara } from 'src/app/Models/Reports/serating.model';\r\nimport { serating } from 'src/app/Models/Reports/serating.model';\r\nimport { Observable } from 'rxjs';\r\nimport { catchError } from 'rxjs/operators';\r\nimport { UniqueUsernameValidator } from 'src/app/shared/unique-username-validator.directive';\r\nimport { ConfigurationService } from 'src/app/Services/Utilities/configuration.service';\r\nimport { Constants } from 'src/app/Constants/constants';\r\nimport { applicationconstant } from 'src/app/Models/DropdownItemsGroup/applicationconstant.model';\r\n\r\n\r\n@Component({\r\n selector: 'app-serating',\r\n templateUrl: './serating.component.html',\r\n styleUrls: ['./serating.component.scss']\r\n})\r\nexport class SeratingComponent implements OnInit {\r\n\r\n public btnSearch:string= 'Hide';\r\n public btnExport:string='Hide';\r\n seratingList: serating[];\r\n\r\n Priority = ['Critical', 'High', 'Medium','Low'];\r\n \r\n public SERatingForm: FormGroup;\r\n isFormSectionVisible: boolean = true;\r\n\r\n constructor(private seratingHistory: seratingService,\r\n private fb: FormBuilder,\r\n public snackBar: MatSnackBar,\r\n private configurationService: ConfigurationService,\r\n private cdr:ChangeDetectorRef) { \r\n this.createForm();\r\n }\r\n\r\n createForm() {\r\n this.SERatingForm = this.fb.group({\r\n Priority: new FormControl('', Validators.compose([\r\n //Validators.required,\r\n ])),\r\n \r\n });\r\n }\r\n ResetSearch()\r\n {\r\n this.SERatingForm.reset();\r\n this.onSearch();\r\n }\r\n public account_validation_messages = {\r\n 'Priority': [\r\n { type: 'required', message: 'status is required' },\r\n ],\r\n };\r\n\r\n ngOnInit() {\r\n this.onSearch();\r\n }\r\n\r\n onSearch(){\r\n const RoFormData: any = Object.assign({}, this.SERatingForm.value);\r\n let changed = true;\r\n const userData=new ISearchPara();\r\n userData.priority=RoFormData.Priority;\r\n if (changed) {\r\n this.seratingHistory.searchData(userData).subscribe(\r\n (data: any) => {\r\n \r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.seratingList = data.results;\r\n this.openSnackBar('Data found and displayed','');\r\n this.btnSearch='Hide';\r\n this.btnExport='Show';\r\n }\r\n else {\r\n this.openSnackBar('Data not found for selected criteria','');\r\n this.seratingList = [];\r\n this.btnSearch='Show';\r\n this.btnExport='Hide';\r\n }\r\n },\r\n (err: any) => this.openSnackBar('Something Went Wrong, Please Refresh/Relogin.', ''),\r\n () => { }\r\n );\r\n }\r\n }\r\n\r\n funCategory()\r\n {\r\n this.btnSearch='Show';\r\n this.btnExport='Hide';\r\n }\r\n funStatus()\r\n {\r\n this.btnSearch='Show';\r\n this.btnExport='Hide';\r\n }\r\n funLocation()\r\n {\r\n this.btnSearch='Show';\r\n this.btnExport='Hide';\r\n }\r\n funPriority()\r\n {\r\n this.btnSearch='Show';\r\n this.btnExport='Hide'; \r\n }\r\n\r\n ExporttoExcel(){\r\n const RoFormData: any = Object.assign({}, this.SERatingForm.value);\r\n let changed = true;\r\n const userData=new ISearchPara();\r\n userData.priority=RoFormData.Priority;\r\n if (changed) {\r\n this.seratingHistory.searchData(userData).subscribe(\r\n (data: any) => {\r\n //this.openSnackBar(data.message, '');\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.seratingList = data.results;\r\n this.seratingHistory.exportExcel(this.seratingList, 'SE_Rating_Report');\r\n this.openSnackBar('Data Exported Successfully','');\r\n }\r\n else {\r\n this.openSnackBar('No Data Found To Export','');\r\n this.seratingList = [];\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n }\r\n }\r\n\r\n onSubmit(form: any) {\r\n // const RoFormData: any = Object.assign({}, this.ReportIncidentForm.value);\r\n // let changed = false;\r\n // RoFormData.category=this.userData.category;\r\n // RoFormData.status=this.userData.status;\r\n // RoFormData.location=this.userData.location;\r\n // RoFormData.Priority=this.userData.priority;\r\n // if (changed) {\r\n // this.ROIncidentHistory.SearchData(this.userData).subscribe(\r\n // (data: any) => {\r\n // this.openSnackBar(data.message, '');\r\n // if(data.flag==\"F\"){\r\n \r\n // }\r\n // },\r\n // (err: any) => this.openSnackBar(err.error.message, ''),\r\n // () => { }\r\n // );\r\n // }\r\n }\r\n openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n private handleError(error: any) {\r\n // this.errorReceived = true;\r\n return Observable.throw(error);\r\n }\r\n\r\n}\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9yZXBvcnQvdXNlcmxpc3QvdXNlcmxpc3QuY29tcG9uZW50LnNjc3MifQ== */\"","import { Component, OnInit,ChangeDetectorRef, ViewChild } from '@angular/core';\r\nimport { FormGroup, FormControl, Validators, FormBuilder, ValidatorFn, AbstractControl } from '@angular/forms';\r\nimport { MatDialog, MatSnackBar } from '@angular/material';\r\nimport {userlistService} from 'src/app/Services/Reports/userlist.service'\r\nimport { ISearchPara } from 'src/app/Models/Reports/workingincidenthistory.model';\r\nimport{User} from 'src/app/Models/usermanagement/user.model';\r\nimport { Observable } from 'rxjs';\r\nimport { ConfigurationService } from 'src/app/Services/Utilities/configuration.service';\r\nimport {ISearchUser} from 'src/app/Models/Reports/workingincidenthistory.model';\r\nimport { Constants } from 'src/app/Constants/constants';\r\nimport { applicationconstant } from 'src/app/Models/DropdownItemsGroup/applicationconstant.model';\r\n\r\n\r\n@Component({\r\n selector: 'app-userlist',\r\n templateUrl: './userlist.component.html',\r\n styleUrls: ['./userlist.component.scss']\r\n})\r\n\r\nexport class UserlistComponent implements OnInit {\r\n\r\n IncidentList: User[];\r\n public btnSearch:string= 'Hide';\r\n public btnExport:string='Hide';\r\n userpara:ISearchUser;\r\n \r\n public SearchUserListForm: FormGroup;\r\n isFormSectionVisible: boolean = true;\r\n\r\n searchTypes = ['User ID', 'Email', 'Mobile','Status'];\r\n searched = false;\r\n\r\n /**\r\n * User search validation messages\r\n *\r\n * @memberof UserEditComponent\r\n */\r\n user_search_validation_messages = {\r\n 'searchtype': [\r\n { type: 'required', message: 'Search type is required' }\r\n ],\r\n 'searchterm': [\r\n { type: 'required', message: 'Search value is required' },\r\n { type: 'maxlength', message: 'Search value is cannot be more than 100 characters' }\r\n ]\r\n };\r\n\r\n constructor(private userlistService: userlistService,\r\n private fb: FormBuilder,\r\n public snackBar: MatSnackBar,\r\n private configurationService: ConfigurationService,\r\n private cdr:ChangeDetectorRef) { \r\n\r\n this.SearchUserListForm = this.fb.group({\r\n searchType: new FormControl(null, Validators.required),\r\n searchTerm: new FormControl(null, Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(100),\r\n ]))\r\n });\r\n }\r\n\r\n\r\n \r\n ResetSearch()\r\n {\r\n this.SearchUserListForm.reset();\r\n this.onSearch();\r\n this.btnSearch='Hide';\r\n this.btnExport='Show';\r\n }\r\n \r\n ngOnInit() {\r\n this.onSearch(); \r\n }\r\n\r\n onSearch() {\r\n //this.searched = true;\r\n // // stop here if form is invalid\r\n // if (!this.SearchUserListForm.valid) {\r\n // return;\r\n // }\r\n\r\n const searchFormData: any = Object.assign({}, this.SearchUserListForm.value);\r\n var searchType = searchFormData.searchType;\r\n const searchTerm = searchFormData.searchTerm;\r\n \r\n if(searchType==\"User ID\")\r\n {\r\n searchType=\"Username\";\r\n }\r\n const userData=new ISearchUser();\r\n userData.searchTerm=searchTerm;\r\n userData.searchType=searchType;\r\n this.userlistService.searchUser(userData).subscribe(\r\n (data: any) => {\r\n \r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.IncidentList = data.results;\r\n this.openSnackBar('Data found and displayed','');\r\n this.btnSearch='Hide';\r\n this.btnExport='Show';\r\n }\r\n else {\r\n this.openSnackBar('Data not found for selected criteria','');\r\n this.IncidentList = [];\r\n this.btnSearch='Show';\r\n this.btnExport='Hide';\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n \r\n\r\n }\r\n\r\n ExporttoExcel(){\r\n let changed = true;\r\n const searchFormData: any = Object.assign({}, this.SearchUserListForm.value);\r\n var searchType = searchFormData.searchType;\r\n const searchTerm = searchFormData.searchTerm;\r\n \r\n if(searchType==\"User ID\")\r\n {\r\n searchType=\"Username\";\r\n }\r\n \r\n const userData=new ISearchUser();\r\n userData.searchTerm=searchTerm;\r\n userData.searchType=searchType;\r\n\r\n if (changed) {\r\n this.userlistService.searchUser(userData).subscribe(\r\n (data: any) => {\r\n //this.openSnackBar(data.message, '');\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.IncidentList = data.results;\r\n this.userlistService.exportExcel(this.IncidentList, 'User_List');\r\n this.openSnackBar('Data Exported Successfully','');\r\n }\r\n else {\r\n this.openSnackBar('No Data Found To Export','');\r\n //this.IncidentList = [];\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n }\r\n }\r\n\r\n onSubmit(form: any) {\r\n }\r\n\r\n openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n private handleError(error: any) {\r\n return Observable.throw(error);\r\n }\r\n\r\n}\r\n\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9yZXBvcnQvd29ya2luZ2luY2lkZW50aGlzdG9yeS93b3JraW5naW5jaWRlbnRoaXN0b3J5LmNvbXBvbmVudC5zY3NzIn0= */\"","import { Component, OnInit,ChangeDetectorRef, ViewChild } from '@angular/core';\r\nimport { FormGroup, FormControl, Validators, FormBuilder, ValidatorFn, AbstractControl } from '@angular/forms';\r\nimport { MatDialog, MatSnackBar } from '@angular/material';\r\nimport { workingincidenthistoryService } from 'src/app/Services/Reports/workingincidenthistory.service';\r\nimport { Icategory } from 'src/app/Models/Reports/workingincidenthistory.model';\r\nimport { Istatus } from 'src/app/Models/Reports/workingincidenthistory.model';\r\nimport { Ilocation } from 'src/app/Models/Reports/workingincidenthistory.model';\r\nimport { ISearchPara } from 'src/app/Models/Reports/workingincidenthistory.model';\r\nimport { Incident } from 'src/app/Models/Reports/workingincident.model';\r\nimport { Observable } from 'rxjs';\r\nimport { catchError } from 'rxjs/operators';\r\nimport { UniqueUsernameValidator } from 'src/app/shared/unique-username-validator.directive';\r\nimport { ConfigurationService } from 'src/app/Services/Utilities/configuration.service';\r\nimport { Constants } from 'src/app/Constants/constants';\r\nimport { applicationconstant } from 'src/app/Models/DropdownItemsGroup/applicationconstant.model';\r\n\r\n\r\n@Component({\r\n selector: 'app-workingincidenthistory',\r\n templateUrl: './workingincidenthistory.component.html',\r\n styleUrls: ['./workingincidenthistory.component.scss']\r\n})\r\n\r\nexport class WorkingincidenthistoryComponent implements OnInit {\r\n\r\n public category: Icategory[];\r\n public status: Istatus[];\r\n public location: Ilocation[];\r\n IncidentList: Incident[];\r\n public btnSearch:string= 'Hide';\r\n public btnExport:string='Hide';\r\n\r\n Priority = ['Critical', 'High', 'Medium','Low'];\r\n \r\n public ReportWorkingIncidentForm: FormGroup;\r\n isFormSectionVisible: boolean = true;\r\n\r\n constructor(private WorkingIncidentHistory:workingincidenthistoryService,\r\n private fb: FormBuilder,\r\n public snackBar: MatSnackBar,\r\n private configurationService: ConfigurationService,\r\n private cdr:ChangeDetectorRef) { \r\n this.createForm();\r\n }\r\n\r\n createForm() {\r\n this.ReportWorkingIncidentForm = this.fb.group({\r\n \r\n category: new FormControl('', Validators.compose([\r\n //Validators.required,\r\n ])),\r\n status: new FormControl('', Validators.compose([\r\n // Validators.required,\r\n ])),\r\n location: new FormControl('', Validators.compose([\r\n //Validators.required,\r\n ])),\r\n Priority: new FormControl('', Validators.compose([\r\n //Validators.required,\r\n ])),\r\n \r\n });\r\n }\r\n ResetSearch()\r\n {\r\n this.ReportWorkingIncidentForm.reset();\r\n this.onSearch();\r\n this.btnSearch='Hide';\r\n this.btnExport='Show';\r\n }\r\n public account_validation_messages = {\r\n \r\n 'category': [\r\n { type: 'required', message: 'category is required' },\r\n ],\r\n 'status': [\r\n { type: 'required', message: 'status is required' },\r\n ],\r\n 'location': [\r\n { type: 'required', message: 'category is required' },\r\n ],\r\n 'Priority': [\r\n { type: 'required', message: 'status is required' },\r\n ],\r\n };\r\n\r\n ngOnInit() {\r\n this.WorkingIncidentHistory.getCategory()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n if (data.flag == applicationconstant.SuccessFlag)\r\n {\r\n this.category = data.results; \r\n this.WorkingIncidentHistory.getStatus()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n if (data.flag == applicationconstant.SuccessFlag)\r\n {\r\n this.status = data.results;\r\n this.WorkingIncidentHistory.getLocation()\r\n .pipe(catchError((err) => this.handleError(err)))\r\n .subscribe((data: any) => {\r\n if (data.flag == applicationconstant.SuccessFlag)\r\n {\r\n this.location = data.results; \r\n this.onSearch(); \r\n }\r\n else\r\n {\r\n this.openSnackBar('Data not found for selected criteria','');\r\n } \r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n }\r\n else\r\n {\r\n this.openSnackBar('Data not found for selected criteria','');\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n }\r\n else\r\n {\r\n this.openSnackBar('Data not found for selected criteria','');\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n }\r\n\r\n onSearch(){\r\n const RoFormData: any = Object.assign({}, this.ReportWorkingIncidentForm.value);\r\n let changed = true;\r\n const userData=new ISearchPara();\r\n userData.category=RoFormData.category;\r\n userData.status=RoFormData.status;\r\n userData.location=RoFormData.location;\r\n userData.priority=RoFormData.Priority;\r\n if (changed) {\r\n this.WorkingIncidentHistory.searchData(userData).subscribe(\r\n (data: any) => {\r\n \r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.IncidentList = data.results;\r\n this.openSnackBar('Data found and displayed','');\r\n this.btnSearch='Hide';\r\n this.btnExport='Show';\r\n }\r\n else {\r\n this.openSnackBar('Data not found for selected criteria','');\r\n this.IncidentList = [];\r\n this.btnSearch='Show';\r\n this.btnExport='Hide';\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n }\r\n }\r\n\r\n funCategory()\r\n {\r\n this.btnSearch='Show';\r\n this.btnExport='Hide';\r\n }\r\n funStatus()\r\n {\r\n this.btnSearch='Show';\r\n this.btnExport='Hide';\r\n }\r\n funLocation()\r\n {\r\n this.btnSearch='Show';\r\n this.btnExport='Hide';\r\n }\r\n funPriority()\r\n {\r\n this.btnSearch='Show';\r\n this.btnExport='Hide'; \r\n }\r\n\r\n ExporttoExcel(){\r\n const RoFormData: any = Object.assign({}, this.ReportWorkingIncidentForm.value);\r\n let changed = true;\r\n const userData=new ISearchPara();\r\n userData.category=RoFormData.category;\r\n userData.status=RoFormData.status;\r\n userData.location=RoFormData.location;\r\n userData.priority=RoFormData.Priority;\r\n if (changed) {\r\n this.WorkingIncidentHistory.searchData(userData).subscribe(\r\n (data: any) => {\r\n //this.openSnackBar(data.message, '');\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.IncidentList = data.results;\r\n this.WorkingIncidentHistory.exportExcel(this.IncidentList, 'Working_Incident_History_Report');\r\n this.openSnackBar('Data Exported Successfully','');\r\n }\r\n else {\r\n this.openSnackBar('No Data Found To Export','');\r\n //this.IncidentList = [];\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n }\r\n }\r\n\r\n IncidentExporttoExcel(){\r\n const RoFormData: any = Object.assign({}, this.ReportWorkingIncidentForm.value);\r\n let changed = true;\r\n const userData=new ISearchPara();\r\n userData.category=RoFormData.category;\r\n userData.status=RoFormData.status;\r\n userData.location=RoFormData.location;\r\n userData.priority=RoFormData.Priority;\r\n if (changed) {\r\n this.WorkingIncidentHistory.IncidentReportExcelData(userData).subscribe(\r\n (data: any) => {\r\n //this.openSnackBar(data.message, '');\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.IncidentList = data.results;\r\n this.WorkingIncidentHistory.exportExcel(this.IncidentList, 'Working_Incident_History_Report');\r\n this.openSnackBar('Data Exported Successfully','');\r\n }\r\n else {\r\n this.openSnackBar('No Data Found To Export','');\r\n //this.IncidentList = [];\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n }\r\n }\r\n\r\n onSubmit(form: any) {\r\n // const RoFormData: any = Object.assign({}, this.ReportIncidentForm.value);\r\n // let changed = false;\r\n // RoFormData.category=this.userData.category;\r\n // RoFormData.status=this.userData.status;\r\n // RoFormData.location=this.userData.location;\r\n // RoFormData.Priority=this.userData.priority;\r\n // if (changed) {\r\n // this.ROIncidentHistory.SearchData(this.userData).subscribe(\r\n // (data: any) => {\r\n // this.openSnackBar(data.message, '');\r\n // if(data.flag==\"F\"){\r\n \r\n // }\r\n // },\r\n // (err: any) => this.openSnackBar(err.error.message, ''),\r\n // () => { }\r\n // );\r\n // }\r\n }\r\n openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n private handleError(error: any) {\r\n // this.errorReceived = true;\r\n return Observable.throw(error);\r\n }\r\n\r\n}\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9yby9SZWplY3RTbW1TTUVEaWFsb2cvY2xvc2UtaW5jaWRlbnQtZGlhbG9nL2Nsb3NlLWluY2lkZW50LWRpYWxvZy5jb21wb25lbnQuc2NzcyJ9 */\"","import { Component, OnInit } from '@angular/core';\nimport { Inject } from '@angular/core';\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';\nimport { FormGroup, FormBuilder, FormControl, Validators } from '@angular/forms';\nimport { applicationconstant } from 'src/app/Models/DropdownItemsGroup/applicationconstant.model';\nimport { MatDialog, MatSnackBar, MatAutocompleteModule, MatInputModule } from '@angular/material';\nimport { Observable } from 'rxjs';\nimport { VendorSupervisorService } from 'src/app/Services/vendorsupervisor/vendorsupervisor.service';\nimport{Incident,IncidentReject} from 'src/app/Models/vendorsupervisor/incident.model';\n@Component({\n selector: 'app-close-incident-dialog',\n templateUrl: './close-incident-dialog.component.html',\n styleUrls: ['./close-incident-dialog.component.scss']\n})\nexport class CloseIncidentDialogComponent implements OnInit {\n form: FormGroup;\n description: string;\n submitted: boolean = false;\n close: boolean = false;\n\n validationMessages = {\n 'remarks': {\n 'required': 'Remarks for Rejection Incident is required.',\n },\n };\n\n formErrors = {\n 'remarks': ''\n };\n constructor(private fb: FormBuilder, public snackBar: MatSnackBar,private vendorservice: VendorSupervisorService,public dialogRef: MatDialogRef,\n @Inject(MAT_DIALOG_DATA) public data:any) {\n this.form = this.fb.group({\n remarks: new FormControl(null, Validators.required)\n });\n }\n\n onNoClick(): void {\n this.dialogRef.close();\n }\n \n onYesClick(): void{\n if (this.form.valid) {\n const remarks = this.form.get('remarks').value;\n const rejectData = new IncidentReject();\n rejectData.id = this.data.ticketId;\n //rejectData.seId = this.data.seId;\n rejectData.incidentId=this.data.incidentId;\n //rejectData.sEEmail=null;\n rejectData.interactionId= this.data.interactionId;\n // rejectData.seemail= this.data.seemail;\n rejectData.remarksByVS = remarks;\n //rejectData.approveReason=null;\n //rejectData.sEEmail = this.data.sEEmail;\n //rejectData.ratingByRO = null;\n // rejectData.ratingCommentsByRO = null;\n // rejectData.approvedFlag = 0;\n rejectData.rejectFlag = 1;\n \n //const seData= new SECreate();\n \n \n this.vendorservice.rejectIncident(rejectData)\n .subscribe(\n data => {\n if (data.flag == applicationconstant.SuccessFlag) {\n this.openSnackBar(data.message, '');\n this.dialogRef.close(true);\n }\n else {\n this.openSnackBar(data.message, '');\n }\n },\n (err: any) => this.openSnackBar(err.error.message, '')\n );\n }\n else {\n this.ValidateAllFields(this.form);\n this.logValidationErrors(this.form);\n }\n }\n \n ngOnInit() {\n \n this.form.valueChanges.subscribe((data) => {\n this.logValidationErrors(this.form);\n });\n }\n \n logValidationErrors(group: FormGroup = this.form): void {\n Object.keys(group.controls).forEach((key: string) => {\n const abstractControl = group.get(key);\n if (abstractControl instanceof FormGroup) {\n this.logValidationErrors(abstractControl)\n } else {\n this.formErrors[key] = '';\n if (abstractControl && !abstractControl.valid && (abstractControl.touched || abstractControl.dirty)) {\n const messages = this.validationMessages[key];\n \n for (const errorKey in abstractControl.errors) {\n if (errorKey) {\n this.formErrors[key] += messages[errorKey] + '';\n }\n }\n }\n }\n });\n }\n \n ValidateAllFields(formGroup: FormGroup) {\n Object.keys(formGroup.controls).forEach(field => {\n const control = formGroup.get(field);\n if (control instanceof FormControl) {\n control.markAsTouched({ onlySelf: true });\n } else if (control instanceof FormGroup) {\n this.ValidateAllFields(control);\n }\n });\n }\n \n public openSnackBar(message: string, action: string) {\n this.snackBar.open(message, action, {\n duration: 5000,\n verticalPosition: 'top'\n });\n }\n \n private handleError(error: any) {\n return Observable.throw(error);\n }\n }\n \n ","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9yby9yby1pbmNpZGVudC1tYW5hZ2VtZW50LmNvbXBvbmVudC5zY3NzIn0= */\"","import { Component, OnInit } from '@angular/core';\r\nimport { FormGroup, FormControl, FormBuilder, Validators, FormGroupDirective, NgForm } from '@angular/forms'\r\nimport { MatDialog, MatSnackBar } from '@angular/material';\r\nimport { Router } from '@angular/router';\r\nimport { applicationconstant } from 'src/app/Models/DropdownItemsGroup/applicationconstant.model';\r\nimport { Ticket } from 'src/app/Models/vendorsupervisor/ticket.model';\r\nimport { Incident } from 'src/app/Models/vendorsupervisor/incident.model';\r\nimport { DropdownItems } from '../../Models/DropdownItemsGroup/dropdownitems.model';\r\nimport { DropdownItemsGroup } from '../../Models/DropdownItemsGroup/dropdownitemsgroup.model';\r\nimport { VendorSupervisorService } from 'src/app/Services/vendorsupervisor/vendorsupervisor.service';\r\nimport {MatSortModule} from '@angular/material/sort';\r\nimport {Sort} from '@angular/material/sort';\r\nimport{EFSR} from 'src/app/Models/EFSR/efsr.model';\r\nimport { TicketsAssginedSE } from 'src/app/Services/ServiceEngineer/TicketsAssignedSE.service';\r\nimport { SearchDTO, SearchRODTO } from 'src/app/Models/common/search.model';\r\nimport {CloseIncidentDialogComponent} from 'src/app/Component/ro/RejectSmmSMEDialog/close-incident-dialog/close-incident-dialog.component';\r\nimport { efsrService } from 'src/app/Services/EFSR/efsrcreate.service';\r\n@Component({\r\n selector: 'app-ro-incident-management',\r\n templateUrl: './ro-incident-management.component.html',\r\n styleUrls: ['./ro-incident-management.component.scss']\r\n})\r\nexport class RoIncidentManagementComponent implements OnInit {\r\n\r\n roSearchForm: FormGroup;\r\n incidentList: Incident[];\r\n searched = false;\r\n ticketSearchType: DropdownItems[];\r\n ticketValues:string;\r\n assignedIncidentStatus: string;\r\n openIncidentStatus: string;\r\n workinprogressIncidentStatus: string;\r\n efsrWIPIncidentStatus: string;\r\n roapprovalIncidentStatus: string;\r\n workapprovedIncidentStatus: string;\r\n closedIncidentStatus: string;\r\n searchTermStatus: string;\r\n showValidateSE: boolean =false;\r\n showResendOTP: boolean = false;\r\n\r\n validationMessages = {\r\n 'searchType': {\r\n 'required': 'Search type is required'\r\n },\r\n 'searchTerm': {\r\n 'required': 'Search Term is required'\r\n },\r\n };\r\n formErrors = {\r\n 'searchType': '',\r\n 'searchTerm': ''\r\n };\r\n\r\n constructor(private fb: FormBuilder, public snackBar: MatSnackBar, private router: Router, private VendorService: VendorSupervisorService,private dialog:MatDialog,private EngineerService: TicketsAssginedSE, private efsrService:efsrService ) \r\n { \r\n this.getStatusList();\r\n this.getDropdownItems();\r\n\r\n\r\n this.roSearchForm = this.fb.group({\r\n searchType: new FormControl(null, Validators.required),\r\n searchTerm: new FormControl(null, Validators.required),\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n this.roSearchForm.valueChanges.subscribe((data) => {\r\n this.logValidationErrors(this.roSearchForm);\r\n });\r\n this.showValidateSE = true;\r\n this.getTicketList('','');\r\n //.showLoader=false;\r\n }\r\n\r\n public getStatusList() {\r\n this.assignedIncidentStatus = applicationconstant.Incident_Assigned_Status;\r\n this.openIncidentStatus = applicationconstant.Incident_Open_Status;\r\n this.workinprogressIncidentStatus = applicationconstant.Incident_WIP_Status;\r\n this.efsrWIPIncidentStatus = applicationconstant.Incident_EFSRWIP_Status;\r\n this.roapprovalIncidentStatus = applicationconstant.Incident_ROApproval_Status;\r\n this.workapprovedIncidentStatus = applicationconstant.Incident_WorkApproved_Status;\r\n this.closedIncidentStatus = applicationconstant.Incident_Closed_Status;\r\n }\r\n\r\n onSearchTicket() {\r\n if (this.roSearchForm.valid) {\r\n const searchFormData: any = Object.assign({}, this.roSearchForm.value);\r\n const searchType = searchFormData.searchType;\r\n const searchTerm = searchFormData.searchTerm;\r\n if (searchType == applicationconstant.Ticket_Search_Status && searchTerm.trim().toUpperCase() == applicationconstant.Incident_Assigned_Status.toUpperCase()) {\r\n\r\n this.searchTermStatus = this.assignedIncidentStatus;\r\n }\r\n if (searchType == applicationconstant.Ticket_Search_Status && searchTerm.trim().toUpperCase() == applicationconstant.Incident_Open_Status.toUpperCase()) {\r\n\r\n this.searchTermStatus = this.openIncidentStatus;\r\n }\r\n if (searchType == applicationconstant.Ticket_Search_Status && searchTerm.trim().toUpperCase() == applicationconstant.Incident_WIP_Status.toUpperCase()) {\r\n\r\n this.searchTermStatus = this.workinprogressIncidentStatus;\r\n }\r\n if (searchType == applicationconstant.Ticket_Search_Status && searchTerm.trim().toUpperCase() == applicationconstant.Incident_EFSRWIP_Status.toUpperCase()) {\r\n\r\n this.searchTermStatus = this.efsrWIPIncidentStatus;\r\n }\r\n if (searchType == applicationconstant.Ticket_Search_Status && searchTerm.trim().toUpperCase() == applicationconstant.Incident_ROApproval_Status.toUpperCase()) {\r\n\r\n this.searchTermStatus = this.roapprovalIncidentStatus;\r\n }\r\n if (searchType == applicationconstant.Ticket_Search_Status && searchTerm.trim().toUpperCase() == applicationconstant.Incident_WorkApproved_Status.toUpperCase()) {\r\n\r\n this.searchTermStatus = this.workapprovedIncidentStatus;\r\n }\r\n if (searchType == applicationconstant.Ticket_Search_Status && searchTerm.trim().toUpperCase() == applicationconstant.Incident_Closed_Status.toUpperCase()) {\r\n\r\n this.searchTermStatus = this.closedIncidentStatus;\r\n }\r\n\r\n if (searchType == applicationconstant.Ticket_Search_Status && (\r\n searchTerm.trim().toUpperCase() == applicationconstant.Incident_Assigned_Status.toUpperCase() ||\r\n searchTerm.trim().toUpperCase() == applicationconstant.Incident_Open_Status.toUpperCase() ||\r\n searchTerm.trim().toUpperCase() == applicationconstant.Incident_WIP_Status.toUpperCase() ||\r\n searchTerm.trim().toUpperCase() == applicationconstant.Incident_ROApproval_Status.toUpperCase() ||\r\n searchTerm.trim().toUpperCase() == applicationconstant.Incident_WorkApproved_Status.toUpperCase() ||\r\n searchTerm.trim().toUpperCase() == applicationconstant.Incident_Closed_Status.toUpperCase() ||\r\n searchTerm.replace(/\\s/g, \"\").toUpperCase() == applicationconstant.Incident_EFSRWIP_Status.toUpperCase()\r\n )) {\r\n this.getTicketList(searchType, this.searchTermStatus.toLocaleString());\r\n }\r\n else {\r\n this.getTicketList(searchType, searchTerm);\r\n }\r\n }\r\n else {\r\n this.ValidateAllFields(this.roSearchForm);\r\n this.logValidationErrors(this.roSearchForm);\r\n }\r\n \r\n }\r\n\r\n ResetSearch()\r\n {\r\n this.roSearchForm.reset();\r\n this.ticketValues=this.ticketSearchType.map(x=>x.mstValue).join(' / ');\r\n this.getTicketList('','');\r\n }\r\n\r\n onSearchChange(value: any) {\r\n this.ticketValues=this.ticketSearchType.filter(x=>x.mstKey==value).map(x=>x.mstValue).toString();\r\n }\r\n\r\n public getTicketList(searchParam: string, searchValue: string) {\r\n const currentUser = JSON.parse(localStorage.getItem('currentUser'));\r\n //7128\r\n var searchValues = new SearchRODTO();\r\n searchValues.searchParam = searchParam;\r\n searchValues.searchValue = searchValue;\r\n searchValues.roId = parseInt(currentUser.ROID);\r\n this.VendorService.getROIncidentList(searchValues)\r\n .subscribe((data) => {\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.incidentList = data.results;\r\n }\r\n else {\r\n this.openSnackBar(data.message, '');\r\n this.incidentList = [];\r\n }\r\n }),\r\n (err: any) => {\r\n this.openSnackBar(err.error.message, 'error');\r\n }\r\n }\r\n \r\n\r\n public ViewDetails(ticketId: number) {\r\n const currentUser = JSON.parse(localStorage.getItem('currentUser'));\r\n this.VendorService.setTicketId(ticketId);\r\n this.VendorService.setROId(parseInt(currentUser.ROID));\r\n this.VendorService.setRequestFromRO(true);\r\n\r\n this.router.navigate(['supervisor/viewticket']);\r\n }\r\n\r\n public RejectTicket(ticketId:number, interactionId:string){\r\n this.VendorService.setTicketId(ticketId);\r\n this.EngineerService.setIncidentId(interactionId);\r\n if(ticketId!=null){\r\n\r\n const dialogRef = this.dialog.open(CloseIncidentDialogComponent, {\r\n width: '500px',\r\n data: {ticketId : ticketId,interactionId:interactionId} //sEEMAIL:this.sEEMAIL}\r\n });\r\n dialogRef.afterClosed().subscribe(result => {\r\n if (result) {\r\n this.router.navigate(['supervisor/ticketsearch']);\r\n this.getTicketList('','');\r\n } \r\n });\r\n }\r\n}\r\n\r\n\r\n public ApproveEFSR(ticketId: number,ticketInteractionId: string) {\r\n \r\n this.EngineerService.checkEFSRForRO(ticketInteractionId)\r\n .subscribe((data) => {\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.EngineerService.setEFSRId(data.returnId);\r\n //this.EngineerService.setEFSRExists(true);\r\n this.VendorService.setTicketId(ticketId);\r\n this.VendorService.setTicketInteractionId(ticketInteractionId);\r\n this.router.navigate(['RO/view-efsr']);\r\n \r\n }\r\n else {\r\n this.openSnackBar(data.message, '');\r\n \r\n }\r\n }),\r\n (err: any) => {\r\n this.openSnackBar(err.error.message, 'error');\r\n \r\n }\r\n }\r\n\r\n \r\n\r\n public ViewEFSR( ticketId:number, ticketInteractionId: string) {\r\n this.VendorService.setRequestFromRO(true);\r\n this.VendorService.setTicketId(ticketId);\r\n this.VendorService.setTicketInteractionId(ticketInteractionId);\r\n this.EngineerService.checkEFSRForRO(ticketInteractionId)\r\n .subscribe((data) => {\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.EngineerService.setEFSRId(data.returnId);\r\n this.EngineerService.setIncidentId(ticketInteractionId);\r\n \r\n // this.VendorService.setTicketId(ticketId);\r\n // this.EngineerService.setIncidentId(ticketInteractionId);\r\n this.router.navigate(['RO/view-efsr']);\r\n \r\n \r\n }\r\n else{\r\n // this.EngineerService.setEFSRExists(false);\r\n this.openSnackBar(data.message, 'error');\r\n }\r\n }),\r\n (err: any) => {\r\n this.openSnackBar(err.error.message, 'error');\r\n }\r\n\r\n }\r\n \r\n SendSMSOTP(ticketId: number) {\r\n this.EngineerService.SendOTPToValidateSE(ticketId).subscribe((data: any) => {\r\n if (data.flag == applicationconstant.SuccessFlag) {\r\n this.openSnackBar(data.message, '');\r\n this.showValidateSE = false;\r\n\r\n let otpSentIndex = this.incidentList.findIndex(item => item.id == ticketId);\r\n this.incidentList[otpSentIndex].isOTPSent = true;\r\n\r\n let resendOTPIndex = this.incidentList.findIndex(item => item.id == ticketId);\r\n this.incidentList[resendOTPIndex].resendOTP = true;\r\n }\r\n else {\r\n this.openSnackBar(data.message, '');\r\n let otpSentIndex = this.incidentList.findIndex(item => item.id == ticketId);\r\n this.incidentList[otpSentIndex].isOTPSent = true;\r\n\r\n let resendOTPIndex = this.incidentList.findIndex(item => item.id == ticketId);\r\n this.incidentList[resendOTPIndex].resendOTP = true;\r\n }\r\n }),\r\n (err: any) => {\r\n this.openSnackBar(err.error.message, 'error');\r\n let otpSentIndex = this.incidentList.findIndex(item => item.id == ticketId);\r\n this.incidentList[otpSentIndex].isOTPSent = true;\r\n\r\n let resendOTPIndex = this.incidentList.findIndex(item => item.id == ticketId);\r\n this.incidentList[resendOTPIndex].resendOTP = true;\r\n }\r\n }\r\n\r\n ViewSEDetails(ticketId: number) {\r\n this.VendorService.setTicketId(ticketId);\r\n this.router.navigate(['SE/view-se']);\r\n }\r\n\r\n public getDropdownItems() {\r\n const params =\r\n `${DropdownItemsGroup.TICKET_SEARCH_PARAM}`;\r\n this.VendorService.getDropdownItems(JSON.stringify(params))\r\n .subscribe(items => {\r\n if (items.flag == applicationconstant.SuccessFlag) {\r\n this.setDropdownItemsAsPerGroup(items.results);\r\n }\r\n else {\r\n this.openSnackBar(items.message, '')\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, '')\r\n );\r\n }\r\n\r\n private setDropdownItemsAsPerGroup(itemsGrop: any) {\r\n if (itemsGrop.length > 0) {\r\n this.ticketSearchType = [];\r\n for (let item of itemsGrop) {\r\n if (item.mstGroup == DropdownItemsGroup.TICKET_SEARCH_PARAM) {\r\n this.ticketSearchType.push(item);\r\n }\r\n }\r\n }\r\n this.ticketValues=this.ticketSearchType.map(x=>x.mstValue).join(' / '); \r\n }\r\n\r\n logValidationErrors(group: FormGroup = this.roSearchForm): void {\r\n Object.keys(group.controls).forEach((key: string) => {\r\n const abstractControl = group.get(key);\r\n if (abstractControl instanceof FormGroup) {\r\n this.logValidationErrors(abstractControl)\r\n } else {\r\n this.formErrors[key] = '';\r\n if (abstractControl && !abstractControl.valid && (abstractControl.touched || abstractControl.dirty)) {\r\n const messages = this.validationMessages[key];\r\n\r\n for (const errorKey in abstractControl.errors) {\r\n if (errorKey) {\r\n this.formErrors[key] += messages[errorKey] + '';\r\n }\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n ValidateAllFields(formGroup: FormGroup) {\r\n Object.keys(formGroup.controls).forEach(field => {\r\n const control = formGroup.get(field);\r\n if (control instanceof FormControl) {\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) {\r\n this.ValidateAllFields(control);\r\n }\r\n });\r\n }\r\n\r\n openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n\r\n}\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC9yby92aWV3LXNlLWRldGFpbHMvdmlldy1zZS1kZXRhaWxzLmNvbXBvbmVudC5zY3NzIn0= */\"","import { Component, OnInit, NgZone } from '@angular/core';\r\nimport { FormGroup, FormControl, FormBuilder, Validators } from '@angular/forms';\r\nimport { MatDialog, MatSnackBar } from '@angular/material';\r\nimport { Router } from '@angular/router';\r\nimport { AssignTicket } from 'src/app/Models/TicketsSE/AssignTicket.model';\r\nimport { Observable } from 'rxjs';\r\nimport{AssignTickettoSEComponent} from 'src/app/Component/ServiceEngineer/assign-ticketto-se/assign-ticketto-se.component';\r\nimport { Ticket } from 'src/app/Models/vendorsupervisor/ticket.model';\r\nimport { Incident } from 'src/app/Models/vendorsupervisor/incident.model';\r\nimport{ VendorSupervisorService } from 'src/app/Services/vendorsupervisor/vendorsupervisor.service'\r\nimport { efsrService } from 'src/app/Services/EFSR/efsrcreate.service';\r\nimport { documentList } from 'src/app/Models/ServiceEngineer/documentList';\r\nimport { Constants } from 'src/app/Constants/constants';\r\nimport { efsrcreate } from 'src/app/Models/EFSR/efsrcreate.model';\r\nimport { applicationconstant } from 'src/app/Models/DropdownItemsGroup/applicationconstant.model';\r\n\r\n@Component({\r\n selector: 'app-view-se-details',\r\n templateUrl: './view-se-details.component.html',\r\n styleUrls: ['./view-se-details.component.scss']\r\n})\r\nexport class ViewSeDetailsComponent implements OnInit {\r\n\r\n SEForm:FormGroup;\r\n ticketId : number;\r\n documents: documentList[]=[];\r\n seid:number;\r\n // requestFromSupervisor : boolean;\r\n //requestFromRO : boolean;\r\n\r\n constructor(private fb: FormBuilder,private efsrservice: efsrService,private vendorservice: VendorSupervisorService,public snackBar: MatSnackBar, private dialog: MatDialog, \r\n private router: Router) { }\r\n\r\n ngOnInit() {\r\n this.ticketId = this.vendorservice.getTicketId();\r\n // this.requestFromSupervisor = this.vendorservice.getRequestFromVendor();\r\n // this.requestFromRO = this.vendorservice.getRequestFromRO();\r\n this.SEForm = this.fb.group({\r\n sename: new FormControl('', ),\r\n semobile: new FormControl('', ),\r\n interactionId: new FormControl('',),\r\n });\r\n \r\n\r\n // this.requestFromSupervisor = this.vendorservice.getRequestFromVendor();\r\n // this.requestFromRO = this.vendorservice.getRequestFromRO();\r\n \r\n this.efsrservice.getSEandHPSMDetailsforRO(this.ticketId)\r\n .subscribe(\r\n (data: any) => {\r\n if (data.flag === Constants.SUCCESS_FLAG) {\r\n if (data.result.sename !== undefined) {\r\n this.seid=data.result.seid;\r\n this.setHPSMandSEEditFormValues(data.result);\r\n this.getRequiredDocuments();\r\n } else {\r\n this.openSnackBar('SE Deatils not found', '');\r\n }\r\n }\r\n },\r\n (err: any) => this.openSnackBar(err.error.message, ''),\r\n () => { }\r\n );\r\n \r\n }\r\n\r\n setHPSMandSEEditFormValues(user: efsrcreate) {\r\n this.SEForm.patchValue({\r\n interactionId: user.hpsmid,\r\n semobile: user.semobile,\r\n sename: user.sename\r\n });\r\n }\r\n\r\n openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n getRequiredDocuments() {\r\n this.vendorservice.getRequiredFiles().subscribe((data: any) => {\r\n this.documents = data.results;\r\n this.patchFiles();\r\n });\r\n }\r\n\r\n patchFiles() {\r\n this.vendorservice.getSEAllDocs(applicationconstant.SEDocument, 0, this.seid).subscribe(\r\n (data: any) => {\r\n if (data.flag == \"S\") {\r\n data.results.forEach(x => { \r\n if(x.isSuccess==true){ \r\n this.documents.filter((val) => val.documentId == x.fileType)[0].documentName = x.fileName;\r\n this.documents.filter((val) => val.documentId == x.fileType)[0].file = x.fileStream;\r\n this.documents.filter((val) => val.documentId == x.fileType)[0].isUploaded = true;\r\n //this.documents.filter((val) => val.documentId == x.fileType)[0].createdBy = x.createdBy;\r\n }\r\n });\r\n }\r\n }\r\n )\r\n }\r\n\r\n preview(documentType: string, documentName: string) {\r\n \r\n \r\n this.vendorservice.downloadDoc(this.seid, documentType).subscribe(result => {\r\n if (window.navigator.msSaveOrOpenBlob) {\r\n window.navigator.msSaveOrOpenBlob(result, documentName);\r\n } else {\r\n var url = window.URL.createObjectURL(result);\r\n \r\n let link = document.createElement('a');\r\n link.setAttribute('type', 'hidden');\r\n link.href = url;\r\n link.download = documentName;\r\n document.body.appendChild(link);\r\n link.click();\r\n link.remove();\r\n }\r\n } \r\n );\r\n \r\n\r\n }\r\n\r\n public backToList()\r\n {\r\n const currentUser = JSON.parse(localStorage.getItem('currentUser'));\r\n if (currentUser.Role == \"ROROLE\")\r\n \r\n // if(this.requestFromSupervisor==true)\r\n {\r\n //this.vendorservice.setRequestFromVendor(false);\r\n this.router.navigate(['RO/incidentsearch']);\r\n \r\n }\r\n \r\n else \r\n {\r\n //this.vendorservice.setRequestFromRO(false);\r\n this.router.navigate(['supervisor/ticketsearch']);\r\n }\r\n //this.router.navigate(['RO/incidentsearch']);\r\n }\r\n // ngOnDestroy() {\r\n // this.requestFromRO = false;\r\n // }\r\n // ngOnDestroy()\r\n // {\r\n // this.ticketId = 0;\r\n // }\r\n\r\n}\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC91c2Vycy91c2VyLWRpc2FibGUtZGlhbG9nL3VzZXItZGlzYWJsZS1kaWFsb2cuY29tcG9uZW50LnNjc3MifQ== */\"","import { Component, OnInit, Inject } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';\r\n\r\n@Component({\r\n selector: 'app-user-disable-dialog',\r\n templateUrl: './user-disable-dialog.component.html',\r\n styleUrls: ['./user-disable-dialog.component.scss']\r\n})\r\nexport class UserDisableDialogComponent implements OnInit {\r\n\r\n error: string;\r\n username: string;\r\n WarningMessage:string;\r\n\r\n constructor(\r\n public _dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any\r\n ) {\r\n // this.status = data.defaultStatus;\r\n }\r\n\r\n ngOnInit() { }\r\n\r\n cancel() {\r\n this._dialogRef.close();\r\n }\r\n\r\n deactivateUser() {\r\n if (this.username === this.data.username) {\r\n //console.log('username entered correctly');\r\n this._dialogRef.close(this.data);\r\n } else {\r\n this.error = 'Please enter the username.';\r\n }\r\n }\r\n}\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL0NvbXBvbmVudC91c2Vycy91c2VyLXZlcmlmaWNhdGlvbi91c2VyLXZlcmlmaWNhdGlvbi5jb21wb25lbnQuY3NzIn0= */\"","import { applicationconstant } from './../../../Models/DropdownItemsGroup/applicationconstant.model';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { FormGroup, FormControl, FormBuilder, Validators } from '@angular/forms'\r\nimport { MatDialog, MatSnackBar } from '@angular/material';\r\nimport { Router } from '@angular/router';\r\nimport { LoginService } from 'src/app/Services/loginmanagement/login.service';\r\nimport { HeaderService } from 'src/app/Services/header/header.service';\r\nimport { ForgotPassword } from 'src/app/Models/ForgotPassword/forgotPassword.model';\r\nimport { environment } from 'src/environments/environment';\r\ndeclare var grecaptcha: any;\r\n\r\n\r\n@Component({\r\n selector: 'app-user-verification',\r\n templateUrl: './user-verification.component.html',\r\n styleUrls: ['./user-verification.component.css']\r\n})\r\nexport class UserVerificationComponent implements OnInit {\r\n userDetailsForm: FormGroup;\r\n \r\n userInput: string;\r\n mobileNo: string;\r\n private siteKeyCaptcha: string;\r\n public userVerificationResponse: string;\r\n public recaptchaEnabled: boolean;\r\n resendOTP:boolean = false;\r\n\r\n validationMessages = {\r\n 'userInput': {\r\n 'required': 'User Input is required.'\r\n },\r\n\r\n\r\n };\r\n\r\n formErrors = {\r\n 'userInput': ''\r\n };\r\n constructor(private fb: FormBuilder, private router: Router, private loginService: LoginService, public snackBar: MatSnackBar,\r\n public headerService: HeaderService) { \r\n this.siteKeyCaptcha = `${environment.siteKeyCaptcha}`;\r\n this.recaptchaEnabled = false;\r\n }\r\n\r\n ngOnInit() {\r\n this.headerService.hide();\r\n this.userDetailsForm = this.fb.group({\r\n userInput: ['', [Validators.required]]\r\n });\r\n //this.ShowCaptcha();\r\n\r\n this.userDetailsForm.valueChanges.subscribe((data) => {\r\n this.logValidationErrors(this.userDetailsForm);\r\n });\r\n }\r\n\r\n private ShowCaptcha()\r\n {\r\n grecaptcha.render('captcha_element', {\r\n 'sitekey': this.siteKeyCaptcha,\r\n 'hl': 'en'\r\n });\r\n window['getResponceCapcha'] = this.getResponceCapcha.bind(this);\r\n }\r\n\r\n getResponceCapcha(captchaResponse: string) {\r\n this.userVerificationResponse = captchaResponse;\r\n }\r\n\r\n OnSubmit(): void {\r\n if (this.userDetailsForm.valid) {\r\n // if (this.userVerificationResponse === undefined) {\r\n // //this.recaptchaEnabled=true;\r\n // return;\r\n // }\r\n // save data\r\n const userDetails = this.userDetailsForm.value;\r\n this.userInput = userDetails.userInput\r\n\r\n\r\n var forgotpwdsendotp = new ForgotPassword();\r\n forgotpwdsendotp.userInput = userDetails.userInput;\r\n this.loginService.SetForgotPasswordUserInput(userDetails.userInput);\r\n this.VerifyUser(forgotpwdsendotp); \r\n }\r\n else {\r\n this.ValidateAllFields(this.userDetailsForm);\r\n this.logValidationErrors(this.userDetailsForm);\r\n }\r\n }\r\n\r\n VerifyUser(forgotpwdsendotp) {\r\n this.loginService.VerifyUserForgotPwd(forgotpwdsendotp).subscribe((data: any) => {\r\n // if (data.flag === applicationconstant.SuccessFlag) {\r\n this.openSnackBar(data.message, '');\r\n if (data.flag === applicationconstant.SuccessFlag)\r\n {\r\n this.router.navigate(['/forgotpassword']);\r\n this.resendOTP = true;\r\n }\r\n else {\r\n this.resendOTP = true;\r\n }\r\n },\r\n (err: any) => {\r\n this.openSnackBar(err.error.message, 'error')\r\n this.resendOTP = true;\r\n });\r\n }\r\n\r\n openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n\r\n logValidationErrors(group: FormGroup = this.userDetailsForm): void {\r\n Object.keys(group.controls).forEach((key: string) => {\r\n const abstractControl = group.get(key);\r\n if (abstractControl instanceof FormGroup) {\r\n this.logValidationErrors(abstractControl)\r\n } else {\r\n this.formErrors[key] = '';\r\n if (abstractControl && !abstractControl.valid && (abstractControl.touched || abstractControl.dirty)) {\r\n const messages = this.validationMessages[key];\r\n\r\n for (const errorKey in abstractControl.errors) {\r\n if (errorKey) {\r\n this.formErrors[key] += messages[errorKey] + '';\r\n }\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n ValidateAllFields(formGroup: FormGroup) {\r\n Object.keys(formGroup.controls).forEach(field => {\r\n const control = formGroup.get(field);\r\n if (control instanceof FormControl) {\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) {\r\n this.ValidateAllFields(control);\r\n }\r\n });\r\n }\r\n\r\n ResetForm(): void {\r\n this.userDetailsForm.reset();\r\n this.userDetailsForm.clearValidators();\r\n for (let i in this.userDetailsForm.controls) {\r\n this.userDetailsForm.controls[i].setErrors(null);\r\n }\r\n }\r\n}\r\n","export class Constants {\r\n public static readonly SUCCESS_FLAG = 'S';\r\n\r\n public static readonly FAILURE_FLAG = 'F';\r\n\r\n public static readonly DENOMINATIONS = [500, 1000, 2000];\r\n\r\n public static readonly MAP_ZOOM_CONTROLS = ['+', '-'];\r\n\r\n public static readonly ASSET_SERVICE_MODE_PFC = 'PFC';\r\n\r\n public static readonly ASSET_SERVICE_MODE_MDU = 'MDU';\r\n\r\n public static readonly VEHICHLE_TYPE_MDU = 'Mdu';\r\n\r\n public static readonly VEHICHLE_TYPE_TRUCK = 'Truck';\r\n\r\n public static readonly VEHICHLE_TYPE_TEMPO = 'Tempo';\r\n\r\n public static readonly DRIVER_IMAGE_TYPE = 'Self Photograph';\r\n}\r\n","/**\r\n * This class is to have string literal for application constants. \r\n */\r\nexport class applicationconstant {\r\n public static readonly SuccessFlag = 'S';\r\n public static readonly FailureFlag = 'F';\r\n public static readonly ExceptionErrorMsg = 'Something went wrong';\r\n public static readonly SEDocument = 'SERVICE_ENGINEER_DOCUMENT';\r\n public static readonly EFSRDocument = 'EFSR_DOCUMENT';\r\n public static readonly EFSRForm = 'EFSR_REPORT';\r\n public static readonly ActiveFlag = 'A';\r\n public static readonly InActiveFlag = 'I';\r\n public static readonly NotVerifiedFlag = 'NV';\r\n public static readonly Ticket_Search_Status = 'STATUS';\r\n\r\n public static readonly Ticket_Search_Open = 'OPEN';\r\n public static readonly Ticket_Search_Closed = 'CLOSED';\r\n public static readonly Ticket_Search_OnHold = 'ON HOLD';\r\n public static readonly Ticket_Search_InProgress = 'IN PROGRESS';\r\n \r\n public static readonly Incident_Assigned_Status = 'ASSIGNED';\r\n public static readonly Incident_Open_Status = 'OPEN';\r\n public static readonly Incident_WIP_Status = 'WORK IN PROGRESS';\r\n public static readonly Incident_EFSRWIP_Status = 'EFSR ON HOLD';\r\n public static readonly Incident_ROApproval_Status = 'RO APPROVAL PENDING';\r\n public static readonly Incident_WorkApproved_Status = 'EFSR APPROVED BY RO';\r\n public static readonly Incident_WorkRejected_Status = 'EFSR REJECTED BY RO'\r\n public static readonly Incident_Closed_Status = 'CLOSED';\r\n\r\n // New Status\r\n\r\n public static readonly INCIDENT_STATUS_OPEN = 'OPEN';\r\n\r\n public static readonly INCIDENT_STATUS_ASSIGNED = \"ASSIGNED\";\r\n\r\n public static readonly INCIDENT_STATUS_WORKINPROGRESS = \"WORK_IN_PROGRESS\";\r\n\r\n public static readonly INCIDENT_STATUS_EFSR_ON_HOLD = \"EFSR_ON_HOLD\";\r\n\r\n public static readonly INCIDENT_STATUS_RO_APPROVAL_PENDING = \"RO_APPROVAL_PENDING\";\r\n\r\n public static readonly INCIDENT_STATUS_EFSR_APPROVED_BY_RO = \"EFSR_APPROVED_BY_RO\";\r\n\r\n public static readonly INCIDENT_STATUS_EFSR_REJECTED_BY_RO = \"EFSR_REJECTED_BY_RO\";\r\n\r\n\r\n\r\n public static readonly Vehicle_DOC_CommercialPermitCopy = 'Commercial Permit copy';\r\n public static readonly Vehicle_DOC_Registration_Certificate_Copy = 'Registration Certificate Copy';\r\n public static readonly Customer_Search_Status = 'STATUS_ID';\r\n public static readonly Customer_Search_Active = 'Active';\r\n public static readonly Customer_Search_Inactive = 'Blacklist';\r\n public static readonly Payment_Method_Wallet = 'WALLET';\r\n public static readonly Request_For_Mobile_Verification = 'MobileVerification';\r\n public static readonly Request_For_Email_Verification = 'EmailVerification';\r\n public static readonly RESERVED_FOR_ROUTING = 'RESERVED_FOR_ROUTING';\r\n public static readonly CONFIRM_FOR_DELIVERY = 'Confirmed For Delivery';\r\n}\r\n","/**\r\n * This class is to have string literal for Dropdown Group \r\n */\r\nexport class DropdownItemsGroup {\r\n public static readonly ROLE = 'ROLE';\r\n public static readonly ASSET_TYPE = 'ASSET_TYPE';\r\n public static readonly FUEL_TYPE = 'FUEL_TYPE';\r\n public static readonly SERVICE_MODE = 'SERVICE_MODE';\r\n public static readonly ASSET_STATUS = 'ASSET_STATUS';\r\n public static readonly DESIGNATION = 'DESIGNATION'; \r\n public static readonly INDUSTRY_TYPE = 'INDUSTRY_TYPE';\r\n public static readonly ASSET_PLACEMENT = 'ASSET_PLACEMENT';\r\n public static readonly PRODUCT_PROMOTER_STATUS = 'PRODUCT_PROMOTER_STATUS';\r\n public static readonly RO_STATUS = 'RO_STATUS';\r\n public static readonly RO_PP_MAP_STATUS = 'RO_PP_MAP_STATUS';\r\n public static readonly CLASSIFICATION = 'CLASSIFICATION'; \r\n public static readonly ASSET_SEARCH_PARAM = 'ASSET_SEARCH_PARAM';\r\n public static readonly ASSET_EXISTS = 'ASSET_EXISTS';\r\n public static readonly ACCESSIBILITY_FOR_MDU = 'ACCESSIBILITY_FOR_MDU';\r\n public static readonly VEHICLE_TYPE = 'VEHICLE_TYPE';\r\n public static readonly VEHICLE_STATUS = 'VEHICLE_STATUS';\r\n public static readonly TICKET_SEARCH_PARAM = 'TICKET_SEARCH_PARAM';\r\n public static readonly VEHICLE_OWNERSHIP = 'VEHICLE_OWNERSHIP';\r\n public static readonly PRODUCT_CATEGORY = 'FUEL';\r\n public static readonly CUSTOMER_SEARCH_PARAM = 'CUSTOMER_SEARCH_PARAM';\r\n public static readonly MYORDER_SEARCH_PARAM = 'MYORDER_SEARCH_PARAM';\r\n public static readonly DRIVER_TRIP_SEARCH_PENDING_PARAM = 'DRIVER_TRIP_SEARCH_PENDING_PARAM';\r\n public static readonly DRIVER_TRIP_SEARCH_SUBMITTED_PARAM = 'DRIVER_TRIP_SEARCH_SUBMITTED_PARAM';\r\n public static readonly DRIVER_DELIVERY_STATUS = 'DRIVER_DELIVERY_STATUS';\r\n public static readonly UNDELIVERY_REASONS = 'UNDELIVERY_REASONS';\r\n public static readonly VEHICLE_MAKE = 'VEHICLE_MAKE';\r\n public static readonly PAYMENT_METHOD = 'PAYMENT_METHOD';\r\n public static readonly UNVERIFIED_ASSET_SEARCH_PARAM = 'UNVERIFIED_ASSET_SEARCH_PARAM';\r\n\r\n}\r\n","//import { CheckListSaveDto } from '../common/vendor.model';\r\n\r\nexport class efsrcreate {\r\n roname: string;\r\n rocode: string;\r\n city:string;\r\n roaddress1: string;\r\n rophone1: string;\r\n reference: string;\r\n visitdate: Date;\r\n hpsmid: string;\r\n sla: string;\r\n sename: string;\r\n semobile: string;\r\n callstatus: string;\r\n vendor:string;\r\n service:string;\r\n device:string;\r\n spare:string;\r\n remark:string;\r\n quantity:string;\r\n servicesummary:string;\r\n //rokeyperson:string;\r\n //rokeypersonmobile:string;\r\n dealername:string;\r\n dealerphone:string;\r\n rating:number;\r\n //sEEmail:string;\r\n poorratingcomments:string;\r\n checklist:CheckListSaveDto[];\r\n }\r\n\r\n export class CheckListSaveDto {\r\n id: number;\r\n name: string;\r\n }\r\n\r\n export class CheckListPullDto {\r\n id: number;\r\n }\r\n\r\n export class hpsmandsedetails {\r\n hpsmid: string;\r\n sla: string;\r\n sename: string;\r\n semobile: string;\r\n }\r\n\r\n export class EFSRApproveReject {\r\n efsrId: number;\r\n seId:number;\r\n ratingByRO: number;\r\n incidentId:string;\r\n ratingCommentsByRO: string;\r\n rejectReason: string;\r\n roKeyPersonName:string;\r\n approveReason:string;\r\n approvedFlag: number;\r\n rejectFlag: number;\r\n vSEmail:string;\r\n }\r\n \r\n\r\n export class efsrDraft {\r\n efsrId: number\r\n roName: string\r\n roCode:string\r\n roCity: string\r\n roAddress: string\r\n roContactNo: string\r\n visitDate: Date\r\n reference: string\r\n hPSMId: string\r\n typeOfDevice: string\r\n typeOfVendor:string\r\n typeOfServicing: string\r\n callStatus: string\r\n slaInHand: number\r\n sparesConsumedFlag: number\r\n remarkOfSparesConsumed: string\r\n quantity: number\r\n serviceSummary: string\r\n seId:number\r\n roKeyPersonName: string\r\n roKeyPersonMobileNo: string\r\n rating: number\r\n ratingComments: string\r\n approvedFlag: number\r\n approvedBy: string\r\n approvedDate: Date\r\n createdDate: Date\r\n createdBy: string\r\n modifiedDate: Date\r\n modifiedBy: string\r\n incidentId: string\r\n checklist:Number[]\r\n isSubmitted: number\r\n //seemail:string;\r\n }\r\n\r\n export class patchefsrDraft {\r\n efsrId: number\r\n roName: string\r\n roCode: string\r\n roCity:string\r\n roAddress: string\r\n roContactNo: string\r\n visitDate: Date\r\n reference: string\r\n hPSMId: string\r\n //seId:number\r\n typeOfDevice: string\r\n typeOfVendor:string\r\n typeOfServicing: string\r\n callStatus: string\r\n slaInHand: number\r\n sparesConsumedFlag: number\r\n remarkOfSparesConsumed: string\r\n quantity: number\r\n serviceSummary: string\r\n \r\n roKeyPersonName: string\r\n roKeyPersonMobileNo: string\r\n rating: number\r\n ratingByRO:number\r\n ratingCommentsByRO:string\r\n ratingComments: string\r\n approvedFlag: number\r\n rejectFlag:number\r\n approvedBy: string\r\n approvedDate: Date\r\n createdDate: Date\r\n createdBy: string\r\n modifiedDate: Date\r\n modifiedBy: string\r\n incidentId: string\r\n checklist:number[]\r\n isSubmitted: number\r\n sename: string;\r\n approveReason:string;\r\n //seemail:string;\r\n semobile: string;\r\n rejectReason: string;\r\n }\r\n ","export class ForgotPassword {\r\n userInput: string\r\n mobileNo: string\r\n OTP: string\r\n oldPassword: string;\r\n newPassword: string;\r\n confirmPassword: string;\r\n}\r\n","export interface Istatus {\r\n id: number;\r\n name: string;\r\n }\r\n export interface Icategory {\r\n id: number;\r\n name: string;\r\n }\r\n export interface Ilocation {\r\n id: number;\r\n name: string;\r\n }\r\n export interface IPriority {\r\n id: number;\r\n name: string;\r\n }\r\n \r\n export class ISearchPara {\r\n category: string;\r\n status: string;\r\n location: string;\r\n priority: string;\r\n }\r\n export class IimPara {\r\n category: string;\r\n area: string;\r\n subarea: string;\r\n ro: string;\r\n state: string;\r\n }\r\n\r\n ","export interface IPriority {\r\n id: number;\r\n name: string;\r\n }\r\n \r\n export class ISearchPara {\r\n //category: string;\r\n //status: string;\r\n //location: string;\r\n priority: string;\r\n }\r\n\r\n export class rorating {\r\n incidentId: string;\r\n interactionId: string;\r\n status: string;\r\n rocode: string;\r\n }\r\n","export class rovendorpara {\r\n // id: number;\r\n subcategory: string;\r\n areaname: string;\r\n subareaname: string;\r\n rocode: string;\r\n vendor: string;\r\n isactive:string;\r\n }\r\n","export class rovendorparaedit {\r\n id1: number;\r\n subcategory1: string;\r\n areaname1: string;\r\n subareaname1: string;\r\n ro1: string;\r\n vendor1: string;\r\n isactive1:string;\r\n }\r\n ","export interface IPriority {\r\n id: number;\r\n name: string;\r\n }\r\n \r\n export class ISearchPara {\r\n //category: string;\r\n //status: string;\r\n //location: string;\r\n priority: string;\r\n }\r\n\r\n export class serating {\r\n incidentId: string;\r\n interactionId: string;\r\n status: string;\r\n }\r\n","export interface Istatus {\r\n id: number;\r\n name: string;\r\n }\r\n export interface Icategory {\r\n id: number;\r\n name: string;\r\n }\r\n export interface Ilocation {\r\n id: number;\r\n name: string;\r\n }\r\n export interface IPriority {\r\n id: number;\r\n name: string;\r\n }\r\n \r\n export class ISearchPara {\r\n category: string;\r\n status: string;\r\n location: string;\r\n priority: string;\r\n }\r\n\r\n export class ISearchUser {\r\n searchType: string;\r\n searchTerm: string;\r\n }","export class SECreate {\r\n seId: number;\r\n userId: number;\r\n username: string;\r\n firstName: string;\r\n lastName: string;\r\n location: null;\r\n roleId: number;\r\n email: string;\r\n mobile: string;\r\n designation: string;\r\n activeFlag: string;\r\n referenceId: string;\r\n middleName:string;\r\n DOB:Date;\r\n //address:string;\r\n state:number;\r\n city:number;\r\n pincode:number;\r\n }\r\n ","export class SETicketOTP {\r\n OTP:number;\r\n TicketId:number;\r\n}","export class AssignTicket{\r\n SEID: number;\r\n TckID: number;\r\n Remark: string;\r\n}\r\n\r\n ","export class RemoveFile {\r\n docType: string;\r\n docId: Number;\r\n}","export class SearchDTO {\r\n searchParam: string;\r\n searchValue: string;\r\n}\r\n\r\nexport class SearchRODTO {\r\n searchParam: string;\r\n searchValue: string;\r\n roId: number;\r\n}\r\n\r\nexport class ViewIncidentRODTO {\r\n ticketId:number\r\n roId: number;\r\n}\r\n","export class FirstTimeLogin {\r\n userInput: string\r\n mobileNo: string\r\n OTP: string\r\n SubmitFlag: number;\r\n CancelFlag: number;\r\n }\r\n ","export class romappingdetails {\r\n subcategory: string;\r\n areaname: string;\r\n subareaname: string;\r\n roname: string;\r\n vendorname: string;\r\n}","export class vendordetails {\r\n userId: number;\r\n username: string;\r\n firstName: string;\r\n lastName: string;\r\n location: null;\r\n roleId: number;\r\n email: string;\r\n mobile: string;\r\n designation: string;\r\n activeFlag: string;\r\n referenceId: string;\r\n middlename:string; \r\n organization: string;\r\n DOB:Date;\r\n address:string;\r\n state:number;\r\n city:number;\r\n pincode:number;\r\n //activeflag:string;\r\n }\r\n \r\n export interface Icategory {\r\n id: number;\r\n name: string;\r\n }\r\n export interface Isubcategory {\r\n id: number;\r\n name: string;\r\n }\r\n export interface Iareaname {\r\n id: number;\r\n name: string;\r\n }\r\n export interface Isubareaname {\r\n id: number;\r\n name: string;\r\n }\r\n export interface Iro {\r\n id: number;\r\n name: string;\r\n }\r\n export interface Ivendor {\r\n id: number;\r\n name: string;\r\n }","export class ForgotPassword {\r\n userInput: string\r\n mobileNo: string\r\n OTP: string\r\n oldPassword: string;\r\n newPassword: string;\r\n confirmPassword: string;\r\n}\r\n","export class Incident {\r\n id: number;\r\n incidentId: string;\r\n interactionId: string;\r\n openDate: Date;\r\n openDTAgeing: string;\r\n resolvedDTAgeing: string;\r\n location: string;\r\n serviceRecepient: string;\r\n storeType: string;\r\n status: string;\r\n subCategory: string;\r\n area: string;\r\n subArea: string;\r\n source: string;\r\n assignmentGroup: string;\r\n openedBy: string;\r\n assignee: string;\r\n technicianName: string;\r\n title: string;\r\n description: string;\r\n resolution: string;\r\n resolvedTime: Date;\r\n resolutionCode: string;\r\n reopenCount: number;\r\n updateTime: Date;\r\n priorityCode: string;\r\n category: string;\r\n alternateContact: string;\r\n emailId: string;\r\n city: string;\r\n state: string;\r\n affectedItem: string;\r\n ownerName: string;\r\n callbackType: string;\r\n handleTime: string;\r\n closeTime: Date;\r\n closedBy: string;\r\n criticalUser: string;\r\n department: string;\r\n callbackContact: string;\r\n remarks: string;\r\n sla: number;\r\n roId: number;\r\n isOTPSent:boolean =false;\r\n resendOTP:boolean =false;\r\n }\r\n\r\n export class IncidentReject {\r\n id: number;\r\n incidentId: string;\r\n interactionId: string;\r\n remarksByVS:string;\r\n rejectFlag:number;\r\n //rejectedBy:string;\r\n //modifiedDate:Date\r\n\r\n\r\n }","export class VendorSupervisor{\r\n userId: number;\r\n VendorID :string;\r\n username: string;\r\n firstName: string;\r\n lastName: string;\r\n mobile: string;\r\n email: string;\r\n Aemail: string;\r\n Amobile: string;\r\n Organization: string;\r\n activeFlag: string;\r\n referenceId: string;\r\n PIN: number;\r\n State: string;\r\n City: string;\r\n Address: string;\r\n level: number;\r\n \r\n}\r\n\r\nexport class VendorSubSupervisor{\r\n userId: number;\r\n VendorID :string;\r\n username: string;\r\n firstName: string;\r\n lastName: string;\r\n mobile: string;\r\n email: string;\r\n Aemail: string;\r\n Amobile: string;\r\n Organization: string;\r\n activeFlag: string;\r\n referenceId: string;\r\n PIN: number;\r\n State: string[];\r\n City: string[];\r\n Address: string;\r\n level: number;\r\n \r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpHeaders, HttpRequest, HttpEventType, HttpResponse, HttpEvent, HttpParams } from '@angular/common/http';\r\n//import { efsrcreate,hpsmandsedetails,efsrd } from 'src/app/Models/EFSR/efsrcreate.model';\r\nimport { efsrcreate, hpsmandsedetails,efsrDraft, EFSRApproveReject, patchefsrDraft } from 'src/app/Models/EFSR/efsrcreate.model';\r\nimport { Observable, throwError } from 'rxjs';\r\nimport { map, catchError, tap } from 'rxjs/operators';\r\nimport { HttpVerbService } from 'src/app/Services/httpverb/httpverb.service';\r\nimport { environment } from 'src/environments/environment';\r\nimport { Ivendor, Iservicing, Idevice, Irokeypersonlist } from 'src/app/Models/common/vendor.model';\r\nimport { RemoveFile } from 'src/app/Models/common/removeFile.model';\r\nimport { FileDownload } from 'src/app/Models/common/fileDownload.model';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class efsrService {\r\n baseUrl: string;\r\n requestFromEfsr: boolean = false;\r\n requestFromROEfsr: boolean = false;\r\n //requestFromviewSEEfsr:boolean=false;\r\n //requestFromviewROEfsr:boolean=false;\r\n IsFormSectionVisibleFromROEfsr : boolean = false;\r\n //IsFormSectionVisibleFromviewROEfsr:boolean=false;\r\n // IsFormSectionVisibleFromviewSEEfsr:boolean=false;\r\n //IsDocumentSectionVisibleFromviewSEEfsr: boolean = false;\r\n //IsDocumentSectionVisibleFromviewROEfsr: boolean = false;\r\n IsDocumentSectionVisibleFromROEfsr: boolean = false;\r\n \r\n \r\n constructor(private http: HttpClient, private service: HttpVerbService) {\r\n this.baseUrl = environment.restUrl + '/api/v1/';\r\n }\r\n getRODetails(roId: number): Observable {\r\n // encoding the search term into base64 format\r\n const url = this.baseUrl + 'getRODetails?ROCode=' + roId;\r\n //const url ='http://10.21.75.41/romasterapi/api/romaster?roid='+'1000';\r\n return this.http.get(url);\r\n }\r\n // getSEandHPSMDetails(): Observable {\r\n // getSEandHPSMDetails(ticketId : number): Observable {\r\n // // encoding the search term into base64 format\r\n // const url = this.baseUrl + 'GetHPSMandSEdetails?TKTID=' + ticketId;\r\n // return this.http.get(url);\r\n // }\r\n getSEandHPSMDetails(ticketId : number): Observable {\r\n // encoding the search term into base64 format\r\n const url = this.baseUrl + 'GetHPSMandSEdetails?TKTID=' + ticketId;\r\n return this.http.post( this.baseUrl + 'GetHPSMandSEdetails', ticketId);\r\n }\r\n\r\n getSEandHPSMDetailsforRO(ticketId : number): Observable {\r\n // encoding the search term into base64 format\r\n // url = this.baseUrl + 'GetHPSMandSEdetails?TKTID=' + ticketId;\r\n return this.http.post( this.baseUrl + 'getHPSMandSEdetailsforRO', ticketId);\r\n }\r\n\r\n getTypeOfVendor(): Observable {\r\n const url = this.baseUrl + 'typeofvendors';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n getROKeyPersonList(): Observable {\r\n const url = this.baseUrl + 'getROKeyPersonList';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n getTypeOfService(): Observable {\r\n const url = this.baseUrl + 'typeofServicing';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n getTypeOfDevice(): Observable {\r\n const url = this.baseUrl + 'typeofDevice';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n getTypeOfChcekList(): Observable {\r\n const url = this.baseUrl + 'typeofchecklist';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n public setRequestFromEfsr(request: boolean) {\r\n this.requestFromEfsr = request;\r\n }\r\n\r\n public setRequestFromROEfsr(request: boolean) {\r\n this.requestFromROEfsr = request;\r\n }\r\n // public setRequestFromviewSEEfsr(request: boolean) {\r\n // this.requestFromviewSEEfsr = request;\r\n // }\r\n\r\n //public setRequestFromviewROEfsr(request: boolean) {\r\n // this.requestFromviewROEfsr = request;\r\n //}\r\n\r\n // public setIsFormSectionVisibleFromROEfsr(request: boolean) {\r\n // this.IsFormSectionVisibleFromROEfsr = request;\r\n // }\r\n\r\n // public setIsFormSectionVisibleFromviewSEEfsr(request: boolean) {\r\n // this.IsFormSectionVisibleFromviewSEEfsr = request;\r\n // }\r\n // public setIsFormSectionVisibleFromviewROEfsr(request: boolean) {\r\n // this.IsFormSectionVisibleFromviewROEfsr = request;\r\n //}\r\n\r\n\r\n\r\n public getIsFormSectionVisibleFromROEfsr() {\r\n return this.IsFormSectionVisibleFromROEfsr;\r\n \r\n }\r\n\r\n\r\n\r\n public getIsDocumentSectionVisibleFromROEfsr() {\r\n return this.IsDocumentSectionVisibleFromROEfsr;\r\n }\r\n\r\n \r\n\r\n\r\n public getRequestFromROEfsr() {\r\n return this.requestFromROEfsr;\r\n }\r\n\r\n public getRequestFromEfsr() {\r\n return this.requestFromEfsr;\r\n }\r\n\r\n \r\n //Start EFSR\r\n public getRequiredFiles(): Observable {\r\n return this.http.get(this.baseUrl + \"getEFSRDocumentsList\", {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n }).pipe(map((res: any) => {\r\n return res;\r\n }))\r\n }\r\n\r\n public getRequiredFilest(TRACKING_ID: number): Observable {\r\n return this.http.get(this.baseUrl + \"getEFSRDocumentsList?TRACKING_ID=\" + TRACKING_ID, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n }).pipe(map((res: any) => {\r\n return res;\r\n }))\r\n }\r\n\r\n // public getRequiredFilesEFSR(): Observable {\r\n // return this.http.get(this.baseUrl + \"getEFSRReportsList\", {\r\n // headers: new HttpHeaders({\r\n // 'Content-Type': 'application/json'\r\n // })\r\n // }).pipe(map((res: any) => {\r\n // return res;\r\n // }))\r\n // }\r\n\r\n createefsr(newUser: efsrDraft): Observable {\r\n return this.http.post(this.baseUrl + 'createefsr', newUser, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n });\r\n }\r\n\r\n getSEAllDocs(docGroup: string, docid: number, trackingId: number): Observable {\r\n return this.http.get(this.baseUrl + \"getEFSRDocs?doc_Group=\" + docGroup + \"&docId=\" + docid + \"&TRACKING_ID=\" + trackingId, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n }).pipe(map((res: any) => {\r\n return res;\r\n }))\r\n }\r\n\r\npublic getEFSRAllReports(docGroup:string, trackingId:number): Observable {\r\n return this.http.get(this.baseUrl + \"getEFSRReportsList?doc_Group=\"+docGroup +\"&efsrId=\"+trackingId, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n }).pipe(map((res: any) => {\r\n return res;\r\n }))\r\n }\r\n\r\n removeFile(removeFile: RemoveFile): Observable {\r\n return this.http.post(this.baseUrl + \"RemoveEFSRDoc\",removeFile, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n }).pipe(map((res: any) => {\r\n return res;\r\n }))\r\n }\r\n\r\n uploadFile(file: File, fileType: string, docNum: string, driverId: number): Observable> {\r\n let formData = new FormData();\r\n formData.append('upload', file);\r\n formData.append('TrackingId', String(driverId));\r\n formData.append('FileType', fileType);\r\n formData.append('UniqueFileNumber', docNum);\r\n let params = new HttpParams();\r\n const options = {\r\n params: params,\r\n reportProgress: true,\r\n };\r\n const req = new HttpRequest('POST', this.baseUrl + \"UploadEFSRDoc\", formData, options);\r\n return this.http.request(req);\r\n }\r\n\r\n public downloadDoc(removeFile: RemoveFile): Observable {\r\n\r\n // let url = this.baseUrl + \"DownloadEFSRDoc\"+ removeFile;\r\n // return this.http.get(url, { responseType: \"blob\" });\r\n \r\n const headers = new HttpHeaders().set('Content-Type', 'application/json');\r\n return this.http.post(this.baseUrl + 'DownloadEFSRDoc', removeFile,\r\n { headers, responseType: 'blob' as 'json'});\r\n }\r\n\r\n public downloadEFSR(removeFile: RemoveFile): Observable {\r\n\r\n // let url = this.baseUrl + \"DownloadEFSRDoc\"+ removeFile;\r\n // return this.http.get(url, { responseType: \"blob\" });\r\n \r\n const headers = new HttpHeaders().set('Content-Type', 'application/json');\r\n return this.http.post(this.baseUrl + 'DownloadEFSRReports', removeFile,\r\n { headers, responseType: 'blob'as 'json'});\r\n }\r\n\r\n getEFSRDetails(efsrId:number): Observable {\r\n // encoding the search term into base64 format\r\n // const url = this.baseUrl + 'getEFSRDetails?efsrId=' + efsrId;\r\n // return this.http.get(url);\r\n\r\n return this.http.post(this.baseUrl + 'getEFSRDetails', efsrId, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n });\r\n }\r\n\r\n// downloadFile(fileDetails:FileDownload,efsrDEtails:patchefsrDraft): Observable{\r\n// const headers = new HttpHeaders().set('Content-Type', 'application/json');\r\n// return this.http.post(this.baseUrl + 'DownloadFile', fileDetails,\r\n// { headers, responseType: 'blob' as 'json'});\r\n// //let fileExtension = fileDetails.fileType;\r\n// }\r\n// //let input = fileDetails.fileName;\r\n// // let efsrId= efsrDEtails.efsrId;\r\n// let fileGroup=fileDetails.fileGroupName;\r\n// let docId=fileDetails.docId;\r\n// let fileExtension= fileDetails.fileType;\r\n// // const headers = new HttpHeaders().set('Content-Type', fileExtension);\r\n// return this.http.post(this.baseUrl +\"downloadFile?fileName=\"+efsrId+\"_\"+fileGroup,{\r\n// responseType: 'blob'as 'pdf',\r\n// observe: 'response' \r\n// })\r\n \r\n// .pipe(map(\r\n \r\n// (res:any) => {\r\n// return new Blob([res.blob()], { type: fileExtension })\r\n// //var blob = new Blob([res.blob()], {type: fileExtension} )\r\n \r\n// // return blob; \r\n \r\n// }));\r\n \r\n// }\r\n //downloadFile(efsrId:number): Observable {\r\n // encoding the search term into base64 format\r\n //const url = this.baseUrl + '?efsrId=' + efsrId;\r\n //return this.http.get(url);\r\n // }\r\n\r\n approveRejectefsr(efsrdetails: EFSRApproveReject): Observable {\r\n return this.http.post(this.baseUrl + 'approveEfsr', efsrdetails, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n });\r\n }\r\n\r\n UpdateEfsrStatus(efsrId: number): Observable {\r\n return this.http.post(this.baseUrl + 'updateEfsrStatus', efsrId, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n });\r\n }\r\n\r\n getEFSRDetailsForReport(efsrId:number): Observable {\r\n // encoding the search term into base64 format\r\n const url = this.baseUrl + 'getEFSRDetailsForReport?efsrId=' + efsrId;\r\n return this.http.get(url);\r\n }\r\n\r\n}\r\n\r\n","import { Injectable } from '@angular/core';\r\nimport { ISearchPara } from 'src/app/Models/Reports/roincidenthistory.model';\r\nimport { Observable, throwError } from 'rxjs';\r\nimport { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';\r\nimport { map, catchError, tap } from 'rxjs/operators';\r\nimport { HttpVerbService } from 'src/app/Services/httpverb/httpverb.service';\r\nimport { Istatus, Ilocation } from 'src/app/Models/Reports/roincidenthistory.model';\r\nimport { Icategory,IimPara } from 'src/app/Models/Reports/roincidenthistory.model';\r\nimport * as FileSaver from 'file-saver'; \r\nimport * as XLSX from 'xlsx'; \r\nimport { environment } from 'src/environments/environment';\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n })\r\n export class roincidenthistoryService {\r\n \r\n baseUrl: string;\r\n constructor(private http: HttpClient, private service: HttpVerbService) {\r\n this.baseUrl = environment.restUrl + '/api/v1/';\r\n }\r\n fileType = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8'; \r\n fileExtension = '.xlsx'; \r\n\r\n public exportExcel(jsonData: any[], fileName: string): void { \r\n const ws: XLSX.WorkSheet = XLSX.utils.json_to_sheet(jsonData); \r\n const wb: XLSX.WorkBook = { Sheets: { 'data': ws }, SheetNames: ['data'] }; \r\n const excelBuffer: any = XLSX.write(wb, { bookType: 'xlsx', type: 'array' }); \r\n this.saveExcelFile(excelBuffer, fileName); \r\n } \r\n \r\n private saveExcelFile(buffer: any, fileName: string): void { \r\n const data: Blob = new Blob([buffer], {type: this.fileType}); \r\n FileSaver.saveAs(data, fileName + this.fileExtension); \r\n } \r\n \r\n \r\n getCategory(): Observable {\r\n const url = this.baseUrl + 'reportcategory';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n getStatus(): Observable {\r\n const url = this.baseUrl + 'reportstatus';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n getLocation(): Observable {\r\n const url = this.baseUrl + 'reportlocations';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n getState(): Observable {\r\n const url = this.baseUrl + 'GetState';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n searchData(userData: ISearchPara): Observable {\r\n return this.http.post(this.baseUrl + 'SearchROIncidentHistoryData', userData, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n }).pipe(\r\n map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n }\r\n AdditionalExportExcelData(userData: ISearchPara): Observable {\r\n return this.http.post(this.baseUrl + 'ExportAdditionalData', userData, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n }).pipe(\r\n map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n }\r\n searchDataforNonAssIM(userData: IimPara): Observable {\r\n return this.http.post(this.baseUrl + 'SearchNonAssignedIM', userData, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n }).pipe(\r\n map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n }\r\n\r\n getCategoryNonAssIM(): Observable {\r\n const url = this.baseUrl + 'rptnonassimcategory';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n \r\n\r\n getAreaNonAssIM(): Observable {\r\n const url = this.baseUrl + 'rptnonassimarea';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n getSubAreaNonAssIM(): Observable {\r\n const url = this.baseUrl + 'rptnonassimsubarea';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n getRONonAssIM(): Observable {\r\n const url = this.baseUrl + 'rptnonassimro';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n } ","import { Injectable } from '@angular/core';\r\nimport { ISearchPara } from 'src/app/Models/Reports/rorating.model';\r\nimport { Observable, throwError } from 'rxjs';\r\nimport { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';\r\nimport { map, catchError, tap } from 'rxjs/operators';\r\nimport { HttpVerbService } from 'src/app/Services/httpverb/httpverb.service';\r\nimport { Icategory } from 'src/app/Models/Reports/roincidenthistory.model';\r\nimport * as FileSaver from 'file-saver'; \r\nimport * as XLSX from 'xlsx'; \r\nimport { environment } from 'src/environments/environment';\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n })\r\n export class roratingService {\r\n \r\n baseUrl: string;\r\n constructor(private http: HttpClient, private service: HttpVerbService) {\r\n this.baseUrl = environment.restUrl + '/api/v1/';\r\n }\r\n fileType = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8'; \r\n fileExtension = '.xlsx'; \r\n\r\n public exportExcel(jsonData: any[], fileName: string): void { \r\n const ws: XLSX.WorkSheet = XLSX.utils.json_to_sheet(jsonData); \r\n const wb: XLSX.WorkBook = { Sheets: { 'data': ws }, SheetNames: ['data'] }; \r\n const excelBuffer: any = XLSX.write(wb, { bookType: 'xlsx', type: 'array' }); \r\n this.saveExcelFile(excelBuffer, fileName); \r\n } \r\n \r\n private saveExcelFile(buffer: any, fileName: string): void { \r\n const data: Blob = new Blob([buffer], {type: this.fileType}); \r\n FileSaver.saveAs(data, fileName + this.fileExtension); \r\n } \r\n \r\n searchData(userData: ISearchPara): Observable {\r\n return this.http.post(this.baseUrl + 'SearchRORatingData', userData, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n }).pipe(\r\n map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n }\r\n\r\n } ","import { Injectable } from '@angular/core';\r\nimport { ISearchPara } from 'src/app/Models/Reports/serating.model';\r\nimport { Observable, throwError } from 'rxjs';\r\nimport { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';\r\nimport { map, catchError, tap } from 'rxjs/operators';\r\nimport { HttpVerbService } from 'src/app/Services/httpverb/httpverb.service';\r\nimport { Icategory } from 'src/app/Models/Reports/roincidenthistory.model';\r\nimport * as FileSaver from 'file-saver'; \r\nimport * as XLSX from 'xlsx'; \r\nimport { environment } from 'src/environments/environment';\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n })\r\n export class seratingService {\r\n \r\n baseUrl: string;\r\n constructor(private http: HttpClient, private service: HttpVerbService) {\r\n this.baseUrl = environment.restUrl + '/api/v1/';\r\n }\r\n fileType = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8'; \r\n fileExtension = '.xlsx'; \r\n\r\n public exportExcel(jsonData: any[], fileName: string): void { \r\n const ws: XLSX.WorkSheet = XLSX.utils.json_to_sheet(jsonData); \r\n const wb: XLSX.WorkBook = { Sheets: { 'data': ws }, SheetNames: ['data'] }; \r\n const excelBuffer: any = XLSX.write(wb, { bookType: 'xlsx', type: 'array' }); \r\n this.saveExcelFile(excelBuffer, fileName); \r\n } \r\n \r\n private saveExcelFile(buffer: any, fileName: string): void { \r\n const data: Blob = new Blob([buffer], {type: this.fileType}); \r\n FileSaver.saveAs(data, fileName + this.fileExtension); \r\n } \r\n \r\n searchData(userData: ISearchPara): Observable {\r\n return this.http.post(this.baseUrl + 'SearchSERatingData', userData, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n }).pipe(\r\n map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n }\r\n\r\n } ","import { Injectable } from '@angular/core';\r\nimport { ISearchPara } from 'src/app/Models/Reports/workingincidenthistory.model';\r\nimport { Observable, throwError } from 'rxjs';\r\nimport { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';\r\nimport { map, catchError, tap } from 'rxjs/operators';\r\nimport { HttpVerbService } from 'src/app/Services/httpverb/httpverb.service';\r\nimport {ISearchUser} from 'src/app/Models/Reports/workingincidenthistory.model';\r\nimport * as FileSaver from 'file-saver'; \r\nimport * as XLSX from 'xlsx'; \r\nimport { environment } from 'src/environments/environment';\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n })\r\n export class userlistService {\r\n \r\n baseUrl: string;\r\n constructor(private http: HttpClient, private service: HttpVerbService) {\r\n this.baseUrl = environment.restUrl + '/api/v1/';\r\n }\r\n fileType = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8'; \r\n fileExtension = '.xlsx'; \r\n\r\n public exportExcel(jsonData: any[], fileName: string): void { \r\n const ws: XLSX.WorkSheet = XLSX.utils.json_to_sheet(jsonData); \r\n const wb: XLSX.WorkBook = { Sheets: { 'data': ws }, SheetNames: ['data'] }; \r\n const excelBuffer: any = XLSX.write(wb, { bookType: 'xlsx', type: 'array' }); \r\n this.saveExcelFile(excelBuffer, fileName); \r\n } \r\n \r\n private saveExcelFile(buffer: any, fileName: string): void { \r\n const data: Blob = new Blob([buffer], {type: this.fileType}); \r\n FileSaver.saveAs(data, fileName + this.fileExtension); \r\n } \r\n \r\n searchUser(userData: ISearchUser): Observable {\r\n return this.http.post(this.baseUrl + 'SearchUserListReport', userData, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n }).pipe(\r\n map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n }\r\n\r\n\r\n searchROVendorData(userData: ISearchUser): Observable {\r\n return this.http.post(this.baseUrl + 'SearchROVendorMappListReport', userData, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n }).pipe(\r\n map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n }\r\n\r\n } ","import { Injectable } from '@angular/core';\r\nimport { ISearchPara } from 'src/app/Models/Reports/workingincidenthistory.model';\r\nimport { Observable, throwError } from 'rxjs';\r\nimport { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';\r\nimport { map, catchError, tap } from 'rxjs/operators';\r\nimport { HttpVerbService } from 'src/app/Services/httpverb/httpverb.service';\r\nimport { Istatus, Ilocation } from 'src/app/Models/Reports/workingincidenthistory.model';\r\nimport { Icategory } from 'src/app/Models/Reports/workingincidenthistory.model';\r\nimport * as FileSaver from 'file-saver'; \r\nimport * as XLSX from 'xlsx'; \r\nimport { environment } from 'src/environments/environment';\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n })\r\n export class workingincidenthistoryService {\r\n \r\n baseUrl: string;\r\n constructor(private http: HttpClient, private service: HttpVerbService) {\r\n this.baseUrl = environment.restUrl + '/api/v1/';\r\n }\r\n fileType = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8'; \r\n fileExtension = '.xlsx'; \r\n\r\n public exportExcel(jsonData: any[], fileName: string): void { \r\n const ws: XLSX.WorkSheet = XLSX.utils.json_to_sheet(jsonData); \r\n const wb: XLSX.WorkBook = { Sheets: { 'data': ws }, SheetNames: ['data'] }; \r\n const excelBuffer: any = XLSX.write(wb, { bookType: 'xlsx', type: 'array' }); \r\n this.saveExcelFile(excelBuffer, fileName); \r\n } \r\n \r\n private saveExcelFile(buffer: any, fileName: string): void { \r\n const data: Blob = new Blob([buffer], {type: this.fileType}); \r\n FileSaver.saveAs(data, fileName + this.fileExtension); \r\n } \r\n \r\n \r\n getCategory(): Observable {\r\n const url = this.baseUrl + 'reportcategoryforworkingincident';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n getStatus(): Observable {\r\n const url = this.baseUrl + 'reportstatusforworkinginc';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n getLocation(): Observable {\r\n const url = this.baseUrl + 'reportlocationsforworkinginc';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n searchData(userData: ISearchPara): Observable {\r\n return this.http.post(this.baseUrl + 'SearchWorkingIncidentHistoryData', userData, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n }).pipe(\r\n map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n }\r\n\r\n IncidentReportExcelData(userData: ISearchPara): Observable {\r\n return this.http.post(this.baseUrl + 'IncidentReportData', userData, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n }).pipe(\r\n map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n }\r\n\r\n } ","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RoleBasedAccessService {\r\n\r\n isAccessible:boolean=false;\r\n baseUrl:string;\r\n constructor(private http:HttpClient) { \r\n this.baseUrl = environment.restUrl + '/api/v1/';\r\n }\r\n/*\r\n * @param elementName = controllerName,ServiceName\r\n */\r\n public isVisible(elementName:string){ \r\n return this.http.get(this.baseUrl+'element/visibility?ElementName='+elementName);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { SECreate } from 'src/app/Models/ServiceEngineer/SECreate.model';\r\nimport { Observable, throwError } from 'rxjs';\r\nimport { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';\r\nimport { map, catchError, tap } from 'rxjs/operators';\r\nimport { HttpVerbService } from 'src/app/Services/httpverb/httpverb.service';\r\n\r\nimport { IUserType } from 'src/app/Models/usermanagement/usertype.model';\r\nimport { IState } from 'src/app/Models/common/state.model';\r\nimport { environment } from 'src/environments/environment';\r\nimport { Icity } from 'src/app/Models/common/city.model';\r\nimport{ IName } from 'src/app/Models/TicketsSE/engineername.model'\r\nimport{ AssignTicket } from 'src/app/Models/TicketsSE/AssignTicket.model'\r\nimport { documentList } from 'src/app/Models/ServiceEngineer/documentList';\r\n\r\n\r\n/**\r\n * User service for user and role management\r\n *\r\n * @export\r\n * @class UserService\r\n */\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class UserService {\r\n\r\n /**\r\n * Base url where the api is hosted\r\n *\r\n * @type {string}\r\n * @memberof UserService\r\n */\r\n baseUrl: string;\r\n\r\n /**\r\n * Creates an instance of UserService.\r\n * @param {HttpClient} http\r\n * @param {HttpVerbService} service\r\n * @memberof UserService\r\n */\r\n constructor(private http: HttpClient, private service: HttpVerbService) {\r\n this.baseUrl = environment.restUrl + '/api/v1/';\r\n }\r\n /**\r\n * Create new user with the details provide in the form\r\n *\r\n * @param {User} newUser\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n createUser(newUser: SECreate): Observable {\r\n return this.http.post(this.baseUrl + 'createSEuser', newUser, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n });\r\n }\r\n /**\r\n * Search user the search type and search parameter\r\n *\r\n * @param {*} [searchType=null]\r\n * @param {*} [searchTerm=null]\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n searchUser(searchType = null, searchTerm = null): Observable {\r\n // encoding the search term into base64 format\r\n const url = this.baseUrl + 'seusers/search?searchType=' + searchType + '¶meter=' + btoa(searchTerm);\r\n return this.http.get(url);\r\n }\r\n\r\n searchSEUserForEdit(searchType = null, searchTerm = null): Observable {\r\n // encoding the search term into base64 format\r\n const url = this.baseUrl + 'seusersforedit/search?searchType=' + searchType + '¶meter=' + btoa(searchTerm);\r\n return this.http.get(url);\r\n }\r\n\r\n searchUserForEdit(searchType = null, searchTerm = null): Observable {\r\n // encoding the search term into base64 format\r\n const url = this.baseUrl + 'seusers/searchemail?searchType=' + searchType + '¶meter=' + btoa(searchTerm);\r\n return this.http.get(url);\r\n }\r\n /**\r\n * Update user with changed user details for edit user form\r\n *\r\n * @param {User} userData\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n updateUser(userData: SECreate): Observable {\r\n return this.http.post(this.baseUrl + 'seupdate', userData, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n });\r\n }\r\n\r\n /**\r\n * Get all active States\r\n *\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n getStates(): Observable {\r\n const url = this.baseUrl + 'states';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n getHTSMData(): Observable {\r\n const url = this.baseUrl + 'PostData';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n /**\r\n * Get all active States\r\n *\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n getCity(state:string): Observable {\r\n const url = this.baseUrl + 'city?state=' + state;\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n getNames(): Observable {\r\n const url = this.baseUrl + 'getNames';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n getUniqueUserName(): Observable {\r\n return this.http.get(this.baseUrl + 'segetUniqueUserName')\r\n //, {\r\n // headers: new HttpHeaders({\r\n // 'Content-Type': 'application/json'\r\n \r\n // })\r\n // })\r\n .pipe(map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n } \r\n AssignTicekToSE(newUser: AssignTicket): Observable {\r\n return this.http.post(this.baseUrl + 'AssignTicektToSE', newUser, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n });\r\n }\r\n\r\n\r\n // submitSEDoc(seId:number): Observable {\r\n // return this.http.post(this.baseUrl + 'SubmitSEDoc',seId, {\r\n // headers: new HttpHeaders({\r\n // 'Content-Type': 'application/json'\r\n // })\r\n // });\r\n // }\r\n submitSEDoc(seId: number): Observable {\r\n return this.http.post(this.baseUrl + 'SubmitSEDoc',seId, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n // 'No-Auth': 'True' //need to remove during deployment\r\n })\r\n }).pipe(\r\n map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n }\r\n\r\n}\r\n","import { Observable, throwError } from 'rxjs';\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';\r\nimport { map, catchError, tap } from 'rxjs/operators';\r\nimport { HttpVerbService } from 'src/app/Services/httpverb/httpverb.service';\r\nimport { AssignTicket } from 'src/app/Models/TicketsSE/AssignTicket.model';\r\n\r\nimport { environment } from 'src/environments/environment';\r\nimport{ IName } from 'src/app/Models/TicketsSE/engineername.model'\r\nimport { SETicketOTP } from 'src/app/Models/ServiceEngineer/SETicketOTP.model';\r\nimport { SearchDTO } from 'src/app/Models/common/search.model';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n })\r\n \r\n export class TicketsAssginedSE {\r\n \r\n baseUrl: string;\r\n ticketId: number;\r\n efsrId: number;\r\n incidentId: string;\r\n roId: number;\r\n efsrExists : boolean;\r\n \r\n constructor(private http: HttpClient, private service: HttpVerbService) {\r\n this.baseUrl = environment.restUrl + '/api/v1/';\r\n }\r\n /**\r\n * Get all active States\r\n *\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n \r\n getNames(): Observable {\r\n const url = this.baseUrl + 'getNames';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n /**\r\n * Create new user with the details provide in the form\r\n *\r\n * @param {User} newUser\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n //createDetail(newAssign: AssignTicket): Observable {\r\n // return this.http.post(this.baseUrl + 'createDetail', newAssign, {\r\n // headers: new HttpHeaders({\r\n // 'Content-Type': 'application/json'\r\n // })\r\n // });\r\n // }\r\n\r\n\r\n // public setTicketId(TicketId: number) {\r\n // this.ticketId = TicketId;\r\n // }\r\n \r\n // public getTicketId() {\r\n // return this.ticketId;\r\n // }\r\n // public getTicket(ticketId: number): Observable {\r\n // return this.http.get(this.baseUrl + 'getTicket' + '?ticketid=' + ticketId, {\r\n // headers: new HttpHeaders({\r\n //'Content-Type': 'application/json',\r\n // 'No-Auth': 'True' //need to remove during deployment\r\n // })\r\n // }).pipe(\r\n // map((response: any) => {\r\n // return response;\r\n // }\r\n // ));\r\n // }\r\n \r\n\r\n public getIncidentList(Search: SearchDTO): Observable {\r\n return this.http.post(this.baseUrl + 'IncidentList/searchincident',Search, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'//,\r\n //'No-Auth':  'True' //need to remove during deployment\r\n })\r\n }).pipe(map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n }\r\n\r\n \r\n updateefsrnotrequired(incidentid: string,SEEFSRRemark:string,roKeyPersonName:number): Observable {\r\n  const url = this.baseUrl + 'UpdateNotRequiredEFSR?incidentid=' + incidentid+'&SEEFSRRemark='+SEEFSRRemark+'&roKeyPersonName='+roKeyPersonName; \r\n \r\n return this.http.get(url, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'//,\r\n //'No-Auth':  'True' //need to remove during deployment\r\n })\r\n }).pipe(map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n }\r\n\r\n checkEFSRExists(incidentid: string): Observable {\r\n  const url = this.baseUrl + 'CheckEFSRExists?incidentid=' + incidentid; \r\n \r\n return this.http.get(url, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'//,\r\n //'No-Auth':  'True' //need to remove during deployment\r\n })\r\n }).pipe(map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n }\r\n\r\n\r\n checkEFSRForRO(incidentid: string): Observable {\r\n  const url = this.baseUrl + 'checkEFSRForRO?incidentid=' + incidentid; \r\n \r\n return this.http.get(url, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'//,\r\n //'No-Auth':  'True' //need to remove during deployment\r\n })\r\n }).pipe(map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n }\r\n\r\n public setEFSRId(efsrId: number) {\r\n this.efsrId = efsrId;\r\n }\r\n\r\n public getEFSRId() {\r\n return this.efsrId;\r\n }\r\n\r\n public getEFSRExists() {\r\n return this.efsrExists;\r\n }\r\n\r\n public setEFSRExists(efsr: boolean) {\r\n this.efsrExists= efsr;\r\n }\r\n\r\n public setIncidentId(incidentId: string) {\r\n this.incidentId = incidentId;\r\n }\r\n\r\n public geIncidentId() {\r\n return this.incidentId;\r\n }\r\n\r\n public setROId(roId: number) {\r\n this.roId = roId;\r\n }\r\n\r\n public getROId() {\r\n return this.roId;\r\n }\r\n public gethistoryticket(IncidentID: number): Observable {\r\n return this.http.post(this.baseUrl + 'IncidentList/GetHistoryTicket' , IncidentID, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json',\r\n // 'No-Auth': 'True' //need to remove during deployment\r\n })\r\n }).pipe(\r\n map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n }\r\n\r\n SendOTPToValidateSE(ticketId: number): Observable {\r\n return this.http.post(this.baseUrl + 'sendOTPToValidateSE', ticketId, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json',\r\n 'No-Auth': 'True'\r\n })\r\n });\r\n }\r\n\r\n VerifyOTPForEFSR(OTP: SETicketOTP): Observable {\r\n return this.http.post(this.baseUrl + 'verifyOTPforEFSR', OTP, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n });\r\n }\r\n\r\n \r\n\r\n \r\n }\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpVerbService } from 'src/app/Services/httpverb/httpverb.service';\r\nimport { environment } from 'src/environments/environment';\r\nimport { Observable } from 'rxjs';\r\nimport { map } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ConfigurationService {\r\n\r\n baseUrl: string;\r\n\r\n constructor(private service: HttpVerbService) {\r\n this.baseUrl = environment.restUrl + '/api/v1/';\r\n }\r\n\r\n getUserCreationRolesDisabled(): Observable {\r\n const url = this.baseUrl + 'roles/disabled';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n getUserCreationUserTypesDisabled(): Observable {\r\n const url = this.baseUrl + 'usertypes/disabled';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\n//import { forEach } from '@angular/router/src/utils/collection';\r\n//import { isEmpty } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class MenuItemService {\r\n\r\n public menuItems: any;\r\n constructor() { }\r\n\r\n /**\r\n * Check whether logged in user has permission to access given url\r\n * @param url \r\n */\r\n public SearchMenuItems(url: string): boolean { \r\n this.menuItems = this.getMenuItems();\r\n let breakFlag = false;\r\n if (url.includes('dashboard') || url.includes('changepassword') || url.includes('changemobile') || url.includes('changeemail') ) {\r\n return true;\r\n } else if (this.menuItems != null) {\r\n for (let menu of this.menuItems) {\r\n for (let subMenu of menu.subMenuDtos) {\r\n if(subMenu.urlLink.includes(url)) {\r\n breakFlag = true;\r\n break;\r\n }\r\n else if(!this.isObjectEmpty(subMenu.superSubMenuDtos))\r\n { \r\n for(let supersubmenu of subMenu.superSubMenuDtos)\r\n {\r\n if(supersubmenu.urlLink.includes(url)){\r\n breakFlag=true;\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n if(breakFlag) {\r\n return true;\r\n }\r\n }\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * Set Menu itmes for futher reference\r\n * @param menuItems \r\n */\r\n public setMenuItems(menuItems: any): void {\r\n localStorage.setItem('menu', JSON.stringify(menuItems));\r\n }\r\n \r\n /**\r\n * Get Menu items to display on dashboard\r\n * @param menuItems \r\n */\r\n public getMenuItems(): any {\r\n return JSON.parse(localStorage.getItem('menu'));\r\n }\r\n public isObjectEmpty(Obj) {\r\n for(var key in Obj) {\r\n if(Obj.hasOwnProperty(key))\r\n return false;\r\n }\r\n return true;\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({ name: 'orderBy' })\r\n\r\nexport class OrderByPipe implements PipeTransform {\r\n\r\n transform(records: Array, args?: any): any {\r\n return records.sort(function(a, b){\r\n if(a[args.property] < b[args.property]){\r\n return -1 * args.direction;\r\n }\r\n else if( a[args.property] > b[args.property]){\r\n return 1 * args.direction;\r\n }\r\n else{\r\n return 0;\r\n }\r\n });\r\n }\r\n}","import { Injectable } from '@angular/core';\r\nimport { CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, Router } from '@angular/router';\r\nimport { ErrorService } from 'src/app/Services/error/error.service';\r\nimport { MenuItemService } from 'src/app/Services/Utilities/menuitems.service'\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AuthGuard implements CanActivate {\r\n\r\n constructor(private router: Router, private errorService: ErrorService,\r\n private menuItemService: MenuItemService) {\r\n }\r\n\r\n canActivate(next: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean {\r\n if (localStorage.getItem('userToken') != null) {\r\n if (next && next.routeConfig && next.routeConfig.path && !this.menuItemService.SearchMenuItems(next.routeConfig.path)) {\r\n // role not authorised so redirect to Access denied page\r\n var error = {\r\n message: 'User is not authorize to access this page',\r\n status: 403\r\n }\r\n this.errorService.handleError(error);\r\n return false;\r\n }\r\n return true;\r\n } else {\r\n //user not authenticated\r\n this.router.navigate(['/login']);\r\n return false;\r\n }\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpInterceptor, HttpRequest, HttpHandler, HttpEvent } from '@angular/common/http';\r\nimport { Router } from '@angular/router';\r\nimport { Observable, throwError } from 'rxjs';\r\nimport { tap } from 'rxjs/operators';\r\nimport { ErrorService } from 'src/app/Services/error/error.service';\r\n\r\n@Injectable()\r\nexport class AuthInterceptor implements HttpInterceptor {\r\n constructor(private router: Router, private errorService: ErrorService) { }\r\n\r\n intercept(request: HttpRequest, next: HttpHandler): Observable> {\r\n if (request.headers.get('No-Auth') == 'True') {\r\n return next.handle(request.clone())\r\n // .pipe(\r\n // tap(succ => { },\r\n // error => {\r\n // this.errorService.handleError(error);\r\n // }));\r\n }\r\n \r\n if (localStorage.getItem('userToken') != null) {\r\n const clonedreq = request.clone({\r\n headers: request.headers.set('Authorization', 'Bearer ' + localStorage.getItem('userToken'))\r\n });\r\n return next.handle(clonedreq).pipe(\r\n tap(succ => { },\r\n error => { \r\n this.errorService.handleError(error);\r\n if (error.status === 401) {\r\n alert('Access Denied');\r\n // \r\n this.router.navigate([ 'login' ]);\r\n return throwError(error);\r\n }\r\n }));\r\n } else {\r\n this.router.navigateByUrl('/login');\r\n //return throwError('Access is Denied');\r\n }\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpErrorResponse,HttpClient, HttpHeaders } from '@angular/common/http';\r\nimport { Router } from '@angular/router';\r\nimport { environment } from 'src/environments/environment';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ErrorService {\r\n\r\n errorStatusCode: number;\r\n baseUrl:string;\r\n constructor(private router: Router,private http:HttpClient) {\r\n this.baseUrl = environment.restUrl + '/api/v1/';\r\n }\r\n\r\n public handleError(error: any): void {\r\n if (error) {\r\n // set error status code\r\n this.setErrorCode(error.status); \r\n // dont naviate to error page if 400 - BadRquest happens\r\n if (error.status === 500\r\n || error.status === 401\r\n || error.status === 403\r\n || error.status === 405\r\n ) {\r\n\r\n this.router.navigate(['/error']);\r\n }\r\n }\r\n }\r\n\r\n public setErrorCode(errorCode: number): void {\r\n this.errorStatusCode = errorCode;\r\n }\r\n\r\n public getErrorCode(): number {\r\n return this.errorStatusCode;\r\n }\r\n\r\n public logError(error:any,errorLocation:any,errorMessage,stackTrace): Observable{\r\n return this.http.post(this.baseUrl+'logError?ErrorMessage='+error+'&errorLocation='+errorLocation+'&errorType='+errorMessage+'&stackTrace='+stackTrace, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n });\r\n}\r\n\r\n}\r\n","import { ErrorHandler, Injectable, Injector } from '@angular/core';\r\nimport { HttpErrorResponse } from '@angular/common/http';\r\nimport { ErrorService } from 'src/app/Services/error/error.service'\r\nimport { PathLocationStrategy, LocationStrategy } from '@angular/common';\r\nimport * as StackTrace from 'stacktrace-js';\r\nimport { MatSnackBar } from '@angular/material';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class GlobalErrorHandlerService implements ErrorHandler {\r\n\r\n constructor(private injector: Injector) {\r\n \r\n }\r\n\r\n errorType: string = '';\r\n stackTrace: string = ''; \r\n handleError(error: Error | HttpErrorResponse) { \r\n if (error instanceof HttpErrorResponse) {\r\n this.errorType = 'Client side error occured while communicating to the server.';\r\n } else {\r\n this.errorType = 'Angular side error occured';\r\n }\r\n\r\n StackTrace.fromError(error).then(stackframes => {\r\n this.stackTrace = stackframes\r\n .splice(0, 3)\r\n .map(function (sf) {\r\n return JSON.stringify(sf);\r\n }).join('\\n');\r\n\r\n const location = this.injector.get(LocationStrategy);\r\n const locationData = JSON.stringify(location._platformLocation.location.href).replace('#', '');\r\n\r\n const loggingService = this.injector.get(ErrorService);\r\n loggingService.logError(error, locationData, this.errorType, this.stackTrace).subscribe(\r\n (data: any) => {\r\n if (data.result = 'S') {\r\n }\r\n });\r\n });\r\n throw error;\r\n }\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\n\r\n/**\r\n * Asset service for asset management\r\n *\r\n * @export\r\n * @class AssetService\r\n */\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class HeaderService {\r\n\r\n visible: boolean;\r\n userName: string;\r\n constructor() {\r\n this.visible = true;\r\n }\r\n\r\n /**\r\n * Hide Menu bar\r\n */\r\n public hide() {\r\n this.visible = false;\r\n }\r\n\r\n /**\r\n * Show Menu bar\r\n */\r\n public show(userName: string) {\r\n this.visible = true;\r\n this.userName = userName;\r\n }\r\n\r\n /**\r\n * Toggele Menu bar\r\n */\r\n public toggle() {\r\n this.visible = !this.visible;\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpHeaders, HttpResponse } from '@angular/common/http';\r\nimport { Observable, throwError } from 'rxjs';\r\nimport { map, catchError } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class HttpVerbService {\r\n\r\n constructor(private http: HttpClient) {\r\n }\r\n\r\n /**\r\n * Http Get Verb Action, other services calls this action to get some data from web api\r\n *\r\n * @param {string} url\r\n * @param {*} [params]\r\n * @returns {Observable>}\r\n * @memberof HttpVerbService\r\n */\r\n get(url: string, params?: any): Observable> {\r\n const options = {};\r\n this.setHeaders(options);\r\n\r\n return this.http.get(url, options)\r\n .pipe(\r\n map((res: HttpResponse) => {\r\n return res;\r\n }),\r\n catchError(this.handleError)\r\n );\r\n }\r\n\r\n /**\r\n * Post with id of http service\r\n *\r\n * @param {string} url\r\n * @param {*} data\r\n * @param {*} [params]\r\n * @returns {Observable>}\r\n * @memberof HttpVerbService\r\n */\r\n postWithId(url: string, data: any, params?: any): Observable> {\r\n return this.doPost(url, data, params);\r\n }\r\n\r\n\r\n /**\r\n * Post verb of http\r\n *\r\n * @param {string} url\r\n * @param {*} data\r\n * @param {*} [params]\r\n * @returns {Observable>}\r\n * @memberof HttpVerbService\r\n */\r\n post(url: string, data: any, params?: any): Observable> {\r\n return this.doPost(url, data, params);\r\n }\r\n\r\n\r\n /**\r\n * Put verb of http\r\n *\r\n * @param {string} url\r\n * @param {*} data\r\n * @param {*} [params]\r\n * @returns {Observable>}\r\n * @memberof HttpVerbService\r\n */\r\n putWithId(url: string, data: any, params?: any): Observable> {\r\n return this.doPut(url, data, params);\r\n }\r\n\r\n /**\r\n * Implementation of Post\r\n *\r\n * @private\r\n * @param {string} url\r\n * @param {*} data\r\n * @param {*} [params]\r\n * @returns {Observable>}\r\n * @memberof HttpVerbService\r\n */\r\n private doPost(url: string, data: any, params?: any): Observable> {\r\n const options = {};\r\n this.setHeaders(options);\r\n\r\n return this.http.post(url, data, options)\r\n .pipe(\r\n map((res: HttpResponse) => {\r\n return res;\r\n }),\r\n catchError(this.handleError)\r\n );\r\n }\r\n\r\n /**\r\n * Delete verb of http\r\n *\r\n * @param {string} url\r\n * @param {*} [params]\r\n * @memberof HttpVerbService\r\n */\r\n delete(url: string, params?: any) {\r\n const options = {};\r\n this.setHeaders(options);\r\n\r\n console.log('httpverb.service deleting');\r\n\r\n this.http.delete(url, options)\r\n .subscribe((res) => {\r\n console.log('deleted');\r\n });\r\n }\r\n\r\n /**\r\n * Doing Put operation\r\n *\r\n * @private\r\n * @param {string} url\r\n * @param {*} data\r\n * @param {*} [params]\r\n * @returns {Observable>}\r\n * @memberof HttpVerbService\r\n */\r\n private doPut(url: string, data: any, params?: any): Observable> {\r\n const options = {};\r\n this.setHeaders(options);\r\n\r\n return this.http.put(url, data, options)\r\n .pipe(\r\n map((res: HttpResponse) => {\r\n return res;\r\n }),\r\n catchError(this.handleError)\r\n );\r\n }\r\n\r\n private handleError(error: any) {\r\n if (error.error instanceof ErrorEvent) {\r\n // A client-side or network error occurred. Handle it accordingly.\r\n console.error('Client side network error occurred:', error.error.message);\r\n } else {\r\n // The backend returned an unsuccessful response code.\r\n // The response body may contain clues as to what went wrong,\r\n console.error('Backend - ' +\r\n `status: ${error.status}, ` +\r\n `statusText: ${error.statusText}, ` +\r\n `message: ${error.error.message}`);\r\n }\r\n\r\n // return an observable with a user-facing error message\r\n return throwError(error || 'server error');\r\n }\r\n\r\n private setHeaders(options: any) {\r\n options['headers'] = new HttpHeaders()\r\n .append('Content-Type', 'application/json')\r\n .append('X-Frame-Options', 'DENY')\r\n .append('Accept', 'application/json');\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { ChangePassword } from 'src/app/Models/usermanagement/changepassword.model';\r\nimport { debounceTime } from 'rxjs/internal/operators/debounceTime';\r\nimport { map, tap, catchError } from 'rxjs/operators';\r\nimport { environment } from 'src/environments/environment';\r\nimport { ForgotPassword } from 'src/app/Models/usermanagement/forgotPassword.model';\r\nimport { FirstTimeLogin } from 'src/app/Models/firsttimelogin/firsttimelogin.model';\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class LoginService {\r\n\r\n baseUrl: string;\r\n public notification: string;\r\n\r\n recaptchaEnabled: boolean;\r\n forgotPwdUserInput: string;\r\n firsttimeloginUserInput: string;\r\n firsttimeloginUserMobile: string;\r\n IsRequestThroughLogin: boolean;\r\n\r\n constructor(private http: HttpClient) {\r\n this.baseUrl = environment.restUrl + '/api/v1/';\r\n\r\n this.recaptchaEnabled = false;\r\n }\r\n\r\n /**\r\n * Change existing/new user password\r\n * @param newUser \r\n */\r\n public ChangePassword(changePassword: ChangePassword): Observable {\r\n return this.http.post(this.baseUrl + 'changepassword', changePassword, {\r\n headers: new HttpHeaders({\r\n // 'Content-Type': 'application/json'\r\n })\r\n });\r\n }\r\n\r\n /** \r\n * update user logout time\r\n */\r\n public updateUserLogoutTime(): any {\r\n return this.http.post(this.baseUrl + 'updateuserlog', 'update logout time', {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n });\r\n }\r\n /** \r\n * update user logout time\r\n */\r\n public updateUserDetails(): any {\r\n return this.http.get(this.baseUrl + 'deleteandinsertuserlog', {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n });\r\n }\r\n\r\n public setNotification(outputMsg: string): void {\r\n this.notification = outputMsg;\r\n }\r\n public getNotification(): string {\r\n return this.notification;\r\n }\r\n\r\n\r\n VerifyUserForgotPwd(forgotpwdsendotp: ForgotPassword): Observable {\r\n return this.http.post(this.baseUrl + 'verifyuser', forgotpwdsendotp, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json',\r\n 'No-Auth': 'True'\r\n })\r\n });\r\n }\r\n VerifyUserforOtpActivation(forgotpwdsendotp: ForgotPassword): Observable {\r\n return this.http.post(this.baseUrl + 'VerifyUserforActivation', forgotpwdsendotp, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json',\r\n 'No-Auth': 'True'\r\n })\r\n });\r\n }\r\n \r\n SendOTPForFirstTImeLogin(forgotpwdsendotp: ForgotPassword): Observable {\r\n return this.http.post(this.baseUrl + 'sendOTPFirstTimeLogin', forgotpwdsendotp, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json',\r\n 'No-Auth': 'True'\r\n })\r\n });\r\n }\r\n\r\n public ForgotPassword(changePassword: ChangePassword): Observable {\r\n return this.http.post(this.baseUrl + 'forgotpassword', changePassword, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json',\r\n 'No-Auth': 'True'\r\n })\r\n });\r\n }\r\n\r\n public ActivateUserbyOtp(changePassword: ChangePassword): Observable {\r\n return this.http.post(this.baseUrl + 'ActivateUserByOtp', changePassword, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json',\r\n 'No-Auth': 'True'\r\n })\r\n });\r\n }\r\n \r\n \r\n\r\n\r\n public FirstTimeLogin(firstlogin: FirstTimeLogin): Observable {\r\n return this.http.post(this.baseUrl + 'firsttimelogin', firstlogin, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json',\r\n 'No-Auth': 'True'\r\n })\r\n });\r\n }\r\n\r\n public SetForgotPasswordUserInput(userInput: string) {\r\n this.forgotPwdUserInput = userInput;\r\n }\r\n\r\n public SetFirstTimeLoginUserInput(userInput: string) {\r\n this.firsttimeloginUserInput= userInput;\r\n }\r\n\r\n public SetFirstTimeLoginUserMobile(userInput: string) {\r\n this.firsttimeloginUserMobile= userInput;\r\n }\r\n\r\n\r\n public GetForgotPasswordUserInput() {\r\n return this.forgotPwdUserInput;\r\n }\r\n\r\n public GetFirstTimeLoginUserInput() {\r\n return this.firsttimeloginUserInput;\r\n }\r\n\r\n public GetFirstTimeLoginUserMobile() {\r\n return this.firsttimeloginUserMobile;\r\n }\r\n\r\n public getMobileandEmail(): any {\r\n return this.http.get(this.baseUrl + 'getMobileEmail', {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n });\r\n }\r\n\r\n public getMobileandEmailForVerification(): any {\r\n return this.http.get(this.baseUrl + 'getMobileEmailForVerification', {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n });\r\n }\r\n\r\n SendMobileOTPForMobileVerify(): Observable {\r\n var responseMessage = this.http.get(this.baseUrl + 'SendMobileOTPForVerification', {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n })\r\n .pipe(\r\n debounceTime(500),\r\n map(\r\n (data: any) => {\r\n return (\r\n /*data.length != 0 || */data !== null\r\n ? data as any : [{ \"Error\": \"Error while sending Mobile OTP.\" } as any]\r\n );\r\n }\r\n ));\r\n return responseMessage;\r\n }\r\n\r\n SendEmailOTPForEmailVerify(): Observable {\r\n var responseMessage = this.http.get(this.baseUrl + 'SendEmailOTPForVerification', {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n })\r\n .pipe(\r\n debounceTime(500),\r\n map(\r\n (data: any) => {\r\n return (\r\n /*data.length != 0 || */data !== null\r\n ? data as any : [{ \"Error\": \"Error while sending Mobile OTP.\" } as any]\r\n );\r\n }\r\n ));\r\n return responseMessage;\r\n }\r\n\r\n public VerifyMobile(OTP: string): Observable {\r\n return this.http.post(this.baseUrl + 'verifymobile', OTP, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n });\r\n }\r\n\r\n public VerifyEmail(OTP: string): Observable {\r\n return this.http.post(this.baseUrl + 'verifyemail', OTP, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n });\r\n }\r\n\r\n public setDashboardParameter(parameter: boolean) {\r\n this.IsRequestThroughLogin = parameter;\r\n }\r\n\r\n public getDashboardParameter(): boolean {\r\n return this.IsRequestThroughLogin;\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport{vendordetails, Isubcategory,Iareaname,Isubareaname,Ivendor,Iro} from 'src/app/Models/master/vendor.model';\r\nimport {romappingdetails} from 'src/app/Models/master/romappingdetails.model';\r\nimport { Observable, throwError } from 'rxjs';\r\nimport { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';\r\nimport { map, catchError, tap } from 'rxjs/operators';\r\nimport { HttpVerbService } from 'src/app/Services/httpverb/httpverb.service';\r\n\r\nimport { IUserType } from 'src/app/Models/usermanagement/usertype.model';\r\nimport { IState } from 'src/app/Models/common/state.model';\r\nimport { environment } from 'src/environments/environment';\r\nimport { Icity } from 'src/app/Models/common/city.model';\r\nimport{ IName } from 'src/app/Models/TicketsSE/engineername.model';\r\nimport { documentList } from 'src/app/Models/ServiceEngineer/documentList';\r\nimport { Icategory } from 'src/app/Models/Reports/roincidenthistory.model';\r\nimport {paraDetails } from 'src/app/Models/master/paraDetails.model';\r\nimport {rovendorpara} from 'src/app/Models/Reports/rovendorpara.model';\r\nimport {rovendorparaedit} from 'src/app/Models/Reports/rovendorparaedit.model';\r\n\r\n/**\r\n * User service for user and role management\r\n *\r\n * @export\r\n * @class UserService\r\n */\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class VendorService {\r\n\r\n /**\r\n * Base url where the api is hosted\r\n *\r\n * @type {string}\r\n * @memberof UserService\r\n */\r\n baseUrl: string;\r\n\r\n /**\r\n * Creates an instance of UserService.\r\n * @param {HttpClient} http\r\n * @param {HttpVerbService} service\r\n * @memberof UserService\r\n */\r\n constructor(private http: HttpClient, private service: HttpVerbService) {\r\n this.baseUrl = environment.restUrl + '/api/v1/';\r\n }\r\n /**\r\n * Create new user with the details provide in the form\r\n *\r\n * @param {User} newUser\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n createUser(newUser: vendordetails): Observable {\r\n return this.http.post(this.baseUrl + 'CreateNewVendor', newUser, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n });\r\n }\r\n\r\n /**\r\n * Create new user with the details provide in the form\r\n *\r\n * @param {User} newUser\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n saveMapping(newUser: romappingdetails): Observable {\r\n return this.http.post(this.baseUrl + 'CreateVendorMapping', newUser, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n });\r\n }\r\n\r\n /**\r\n * Search user the search type and search parameter\r\n *\r\n * @param {*} [searchType=null]\r\n * @param {*} [searchTerm=null]\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n searchUser(searchType = null, searchTerm = null): Observable {\r\n // encoding the search term into base64 format\r\n const url = this.baseUrl + 'SearchVendor?searchType=' + searchType + '¶meter=' + btoa(searchTerm);\r\n return this.http.get(url);\r\n }\r\n\r\n CheckMobileEmail(searchType = null, searchTerm = null): Observable {\r\n // encoding the search term into base64 format\r\n const url = this.baseUrl + 'CheckMobileEmail?searchType=' + searchType + '¶meter=' + btoa(searchTerm);\r\n return this.http.get(url);\r\n }\r\n\r\n searchForAllUser(searchType = null, searchTerm = null): Observable {\r\n // encoding the search term into base64 format\r\n const url = this.baseUrl + 'SearchAllUser?searchType=' + searchType + '¶meter=' + btoa(searchTerm);\r\n return this.http.get(url);\r\n }\r\n\r\n searchUserForEdit(searchType = null, searchTerm = null): Observable {\r\n // encoding the search term into base64 format\r\n const url = this.baseUrl + 'seusers/searchemail?searchType=' + searchType + '¶meter=' + btoa(searchTerm);\r\n return this.http.get(url);\r\n }\r\n /**\r\n * Update user with changed user details for edit user form\r\n *\r\n * @param {User} userData\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n updateUser(userData: vendordetails): Observable {\r\n return this.http.post(this.baseUrl + 'UpdateNewVendor', userData, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n });\r\n }\r\n\r\n updateUserStatus(userData: vendordetails): Observable {\r\n return this.http.post(this.baseUrl + 'updateUserStatus', userData, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n });\r\n }\r\n /**\r\n * Get all active States\r\n *\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n getStates(): Observable {\r\n const url = this.baseUrl + 'GetROStates';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n /**\r\n * Get all active States\r\n *\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n getCategoryROMap(): Observable {\r\n const url = this.baseUrl + 'GetCategory';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n /**\r\n * Get all active States\r\n *\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n getRO(): Observable {\r\n const url = this.baseUrl + 'GetPNOCRO';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n /**\r\n * Get all active States\r\n *\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n getSubCategoryROMap(): Observable {\r\n const url = this.baseUrl + 'GetSubCategory';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n getSubCategoryROMapEdit(): Observable {\r\n const url = this.baseUrl + 'GetSubCategoryToEdit';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n /**\r\n * Get all active States\r\n *\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n getAreaNameforEdit(subcat:string): Observable {\r\n const url = this.baseUrl + 'GetAreaNameForEdit?subcat=' + subcat;\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n getSubAreaNameforEdit(subcat:string,area:string): Observable {\r\n const url = this.baseUrl + 'GetSubAreaNameForEdit?subcat=' + subcat+ '&area=' + (area);\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n getRODetailsforEdit(subcat:string,area:string,subarea:string): Observable {\r\n const url = this.baseUrl + 'GetRODetailsForEdit?subcat=' + subcat+ '&area=' + (area)+ '&subarea=' + (subarea);\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n getRODetailsAreaforEdit(subcat:string,area:string): Observable {\r\n const url = this.baseUrl + 'GetRODetailsAreaForEdit?subcat=' + subcat+ '&area=' + (area);\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n getvendorforEdit(subcat:string,area:string,subarea:string,ro:string): Observable {\r\n const url = this.baseUrl + 'GetVendorDetailsForEdit?subcat=' + subcat + '&area=' + (area)+ '&subarea=' + (subarea)+ '&ro=' + (ro);\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n /**\r\n * Get all active States\r\n *\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n getAreaName(): Observable {\r\n const url = this.baseUrl + 'GetAreaName';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n /**\r\n * Get all active States\r\n *\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n getSubAreaName(): Observable {\r\n const url = this.baseUrl + 'GetSubAreaName';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n /**\r\n * Get all active States\r\n *\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n getVendorForMapping(): Observable {\r\n const url = this.baseUrl + 'GetVendorForMapping';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n updateROVendorMapping(paraDetail:rovendorparaedit): Observable {\r\n return this.http.post(this.baseUrl + 'updateROVendorMapping', paraDetail, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n });\r\n }\r\n\r\n getHTSMData(): Observable {\r\n const url = this.baseUrl + 'PostData';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n /**\r\n * Get all active States\r\n *\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n getCity(state:string): Observable {\r\n const url = this.baseUrl + 'GetROCity?state=' + state;\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n getNames(): Observable {\r\n const url = this.baseUrl + 'getNames';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n getUniqueUserName(): Observable {\r\n return this.http.get(this.baseUrl + 'segetUniqueUserName')\r\n .pipe(map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n } \r\n\r\n submitSEDoc(seId: number): Observable {\r\n return this.http.post(this.baseUrl + 'SubmitSEDoc',seId, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n // 'No-Auth': 'True' //need to remove during deployment\r\n })\r\n }).pipe(\r\n map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n }\r\n\r\n searchROVendorData(userData: rovendorpara): Observable {\r\n return this.http.post(this.baseUrl + 'GetROVendorDetailsForEdit', userData, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n }).pipe(\r\n map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { environment } from 'src/environments/environment';\r\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RecaptchaService {\r\n\r\n baseUrl: string;\r\n\r\n constructor(private http: HttpClient) {\r\n // this.baseUrl = `${environment.restUrl}/`;\r\n this.baseUrl = environment.restUrl + '/api/v1/';\r\n }\r\n\r\n public isRecaptchaEnabled(): Observable {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'No-Auth': 'True' })\r\n };\r\n const url = `${this.baseUrl}recaptcha/enforce`;\r\n return this.http.get(url, httpOptions);\r\n }\r\n\r\n public verifyRecaptcha(token: string): Observable {\r\n const url = `${this.baseUrl}verifyrecaptcha?response=${token}`;\r\n return this.http.get(url);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { User } from 'src/app/Models/usermanagement/user.model';\r\nimport { Observable, throwError } from 'rxjs';\r\nimport { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';\r\nimport { map, catchError, tap } from 'rxjs/operators';\r\nimport { HttpVerbService } from 'src/app/Services/httpverb/httpverb.service';\r\nimport { IRole } from 'src/app/Models/usermanagement/role.model';\r\n\r\nimport { IUserType } from 'src/app/Models/usermanagement/usertype.model';\r\nimport { IMenu } from 'src/app/Models/common/menu.model';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n\r\n/**\r\n * User service for user and role management\r\n *\r\n * @export\r\n * @class UserService\r\n */\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class UserService {\r\n\r\n /**\r\n * Base url where the api is hosted\r\n *\r\n * @type {string}\r\n * @memberof UserService\r\n */\r\n baseUrl: string;\r\n\r\n /**\r\n * Creates an instance of UserService.\r\n * @param {HttpClient} http\r\n * @param {HttpVerbService} service\r\n * @memberof UserService\r\n */\r\n constructor(private http: HttpClient, private service: HttpVerbService) {\r\n this.baseUrl = environment.restUrl + '/api/v1/';\r\n }\r\n\r\n /**\r\n * Create new user with the details provide in the form\r\n *\r\n * @param {User} newUser\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n createUser(newUser: User): Observable {\r\n return this.http.post(this.baseUrl + 'createuser', newUser, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n });\r\n }\r\n\r\n /**\r\n * Search user the search type and search parameter\r\n *\r\n * @param {*} [searchType=null]\r\n * @param {*} [searchTerm=null]\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n searchUser(searchType = null, searchTerm = null): Observable {\r\n // encoding the search term into base64 format\r\n const url = this.baseUrl + 'users/search?searchType=' + searchType + '¶meter=' + btoa(searchTerm);\r\n return this.http.get(url);\r\n }\r\n\r\n /**\r\n * Update user with changed user details for edit user form\r\n *\r\n * @param {User} userData\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n updateUser(userData: User): Observable {\r\n return this.http.post(this.baseUrl + 'users', userData, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n });\r\n }\r\n\r\n /**\r\n * Fetch user types or designations\r\n *\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n getUserTypes(): Observable {\r\n const url = this.baseUrl + 'usertypes';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n getReferencesDetails(item: string): Observable {\r\n const url = this.baseUrl + 'getSelectedListItems?selectedItem=' + item;\r\n return this.service.get(url).pipe(map((res: any) => {\r\n return res;\r\n }))\r\n }\r\n /**\r\n * Get all active roles\r\n *\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n getRoles(): Observable {\r\n const url = this.baseUrl + 'roles';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n /**\r\n * Create role\r\n *\r\n * @param {IRole} newRole\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n createRole(newRole: IRole): Observable {\r\n const url = this.baseUrl + 'roles';\r\n return this.service.post(url, newRole).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n /**\r\n * Get menus by role id\r\n *\r\n * @param {number} roleId\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n getRoleMenusByRoleId(roleId: number): Observable {\r\n const url = this.baseUrl + 'rolemenus?roleId=' + roleId;\r\n\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n\r\n }\r\n\r\n public getAllMenuItems(): Observable {\r\n return this.http.get(this.baseUrl + 'menuitems');\r\n }\r\n\r\n /**\r\n * Update role menus\r\n *\r\n * @param {number} roleId\r\n * @param {IMenu[]} menus\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n updateRoleMenus(roleId: number, subMenuIds: string): Observable {\r\n const url = this.baseUrl + 'rolemenus/' + roleId + '?subMenuIds=' + subMenuIds;\r\n\r\n const params = new HttpParams().set('subMenuIds', subMenuIds);\r\n\r\n return this.service.postWithId(url, null).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n\r\n /**\r\n * Reset password for a user from admin's login\r\n *\r\n * @param {string} userInput\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n passwordReset(userInput: string): Observable {\r\n // before sending request the user input is encoded to base64\r\n const url = this.baseUrl + 'resetpassword?userInput=' + btoa(userInput);\r\n\r\n return this.service.postWithId(url, null).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n isUsernameTaken(username: string) {\r\n const url = this.baseUrl + 'username/availability?username=' + username;\r\n\r\n // HttpParams params = new HttpParams().set('username', username);\r\n\r\n return this.http.get(url);\r\n }\r\n\r\n /**\r\n * Check user authentciation\r\n * @param userName\r\n * @param password\r\n */\r\n public userAuthentication(userName, password, isRecaptchaEnabled: boolean, userverificationResponse,isPnocUser: string) {\r\n //let data = 'username=' + userName + '&password=' + password + '&grant_type=password';\r\n let data = 'username=' + userName + '&password=' + password + '&grant_type=password' + '&pnocuser=' + isPnocUser;\r\n if (isRecaptchaEnabled) {\r\n data = 'username=' + userName + '&password=' + password + '&grant_type=password' + '&userverificationResponse=' + userverificationResponse;\r\n }\r\n const reqHeader = new HttpHeaders({ 'Content-Type': 'application/json', 'No-Auth': 'True' });\r\n return this.http.post('' + environment.restUrl + '/token', data, { headers: reqHeader });\r\n }\r\n\r\n /**\r\n * Get logged in user claims\r\n */\r\n // public getCurrentUserClaims(): Observable {\r\n // return this.http.get(this.baseUrl + 'getCurrentUserClaims');\r\n // }\r\n\r\n /**\r\n * Edit user\r\n */\r\n public editUser(): Observable {\r\n return this.http.get(this.baseUrl + 'getLogin');\r\n }\r\n\r\n /**\r\n * Get logged in user claims\r\n */\r\n public getMenuAsPerUser(): Observable {\r\n return this.http.get(this.baseUrl + 'menu');\r\n }\r\n\r\n // /**\r\n // * update user logout time\r\n // */\r\n // public updateUserLogoutTime(): any {\r\n // return this.http.put(this.baseUrl + 'updateuserlog', 'update logout time', {\r\n // headers: new HttpHeaders({\r\n // 'Content-Type': 'application/json'\r\n // })\r\n // });\r\n // }\r\n}\r\n","import { Injectable } from '@angular/core';\r\n//import { SECreate } from 'src/app/Models/ServiceEngineer/SECreate.model';\r\nimport{VSSCreate} from 'src/app/Models/vendorsupervisor/VSS-Create.model';\r\nimport { Observable, throwError } from 'rxjs';\r\nimport { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';\r\nimport { map, catchError, tap } from 'rxjs/operators';\r\nimport { HttpVerbService } from 'src/app/Services/httpverb/httpverb.service';\r\n\r\nimport { IUserType } from 'src/app/Models/usermanagement/usertype.model';\r\nimport { IState } from 'src/app/Models/common/state.model';\r\nimport { environment } from 'src/environments/environment';\r\nimport { Icity } from 'src/app/Models/common/city.model';\r\nimport{ IName } from 'src/app/Models/TicketsSE/engineername.model'\r\nimport{ AssignTicket } from 'src/app/Models/TicketsSE/AssignTicket.model'\r\n\r\n\r\n/**\r\n * User service for user and role management\r\n *\r\n * @export\r\n * @class UserService\r\n */\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class VSSCreateService {\r\n\r\n /**\r\n * Base url where the api is hosted\r\n *\r\n * @type {string}\r\n * @memberof UserService\r\n */\r\n baseUrl: string;\r\n\r\n /**\r\n * Creates an instance of UserService.\r\n * @param {HttpClient} http\r\n * @param {HttpVerbService} service\r\n * @memberof UserService\r\n */\r\n constructor(private http: HttpClient, private service: HttpVerbService) {\r\n this.baseUrl = environment.restUrl + '/api/v1/';\r\n }\r\n /**\r\n * Create new user with the details provide in the form\r\n *\r\n * @param {User} newUser\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n createUser(newUser: VSSCreate): Observable {\r\n return this.http.post(this.baseUrl + 'createSEuser', newUser, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n });\r\n }\r\n\r\n createVSSUser(newUser: any): Observable {\r\n return this.http.post(this.baseUrl + 'createVssuser', newUser, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n });\r\n }\r\n /**\r\n * Search user the search type and search parameter\r\n *\r\n * @param {*} [searchType=null]\r\n * @param {*} [searchTerm=null]\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n searchUser(searchType = null, searchTerm = null): Observable {\r\n // encoding the search term into base64 format\r\n const url = this.baseUrl + 'seusers/search?searchType=' + searchType + '¶meter=' + btoa(searchTerm);\r\n return this.http.get(url);\r\n }\r\n\r\n \r\n\r\n // searchUserVS(searchType = null, searchTerm = null): Observable {\r\n // // encoding the search term into base64 format\r\n // const url = this.baseUrl + 'vsusers/search?searchType=' + searchType + '¶meter=' + btoa(searchTerm);\r\n // return this.http.get(url);\r\n // }\r\n\r\n searchUserVS(searchType = null, searchTerm = null): Observable {\r\n return this.http.get(this.baseUrl+'vsusers/search?searchType=' + searchType + '¶meter=' + searchTerm, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json',\r\n 'No-Auth': 'True'\r\n })\r\n });\r\n }\r\n\r\n searchUserForEdit(searchType = null, searchTerm = null): Observable {\r\n // encoding the search term into base64 format\r\n const url = this.baseUrl + 'seusers/searchemail?searchType=' + searchType + '¶meter=' + btoa(searchTerm);\r\n return this.http.get(url);\r\n }\r\n /**\r\n * Update user with changed user details for edit user form\r\n *\r\n * @param {User} userData\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n updateUser(userData: VSSCreate): Observable {\r\n return this.http.post(this.baseUrl + 'seupdate', userData, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n });\r\n }\r\n\r\n /**\r\n * Get all active States\r\n *\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n getStates(): Observable {\r\n const url = this.baseUrl + 'states';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n getVSSStates(): Observable {\r\n const url = this.baseUrl + 'vssstates';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n getVSSCities(): Observable {\r\n const url = this.baseUrl + 'vsscities';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n\r\n getHTSMData(): Observable {\r\n const url = this.baseUrl + 'PostData';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n /**\r\n * Get all active States\r\n *\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n getCity(state:string): Observable {\r\n const url = this.baseUrl + 'city?state=' + state;\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n\r\n \r\n\r\n getNames(): Observable {\r\n const url = this.baseUrl + 'getNames';\r\n return this.service.get(url).pipe(map((response: any) => {\r\n return response;\r\n }));\r\n }\r\n getUniqueUserName(): Observable {\r\n return this.http.get(this.baseUrl + 'vssgetUniqueUserName')\r\n //, {\r\n // headers: new HttpHeaders({\r\n // 'Content-Type': 'application/json'\r\n \r\n // })\r\n // })\r\n .pipe(map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n } \r\n AssignTicekToSE(newUser: AssignTicket): Observable {\r\n return this.http.post(this.baseUrl + 'AssignTicektToSE', newUser, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n });\r\n }\r\n\r\n getVSSCity(state:string[]): Observable {\r\n return this.http.post(this.baseUrl + 'vsscity', state, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpHeaders, HttpRequest, HttpEventType, HttpResponse, HttpEvent, HttpParams } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { map } from 'rxjs/operators';\r\nimport { environment } from '../../../environments/environment';\r\n//import { Ticket } from 'src/app/Models/vendorsupervisor/ticket.model';\r\nimport { ViewTicket } from 'src/app/Models/ViewTicket/ViewTicket.model';\r\n//import { flattenStyles } from '@angular/platform-browser/src/dom/dom_renderer';\r\nimport { HttpVerbService } from 'src/app/Services/httpverb/httpverb.service';\r\nimport { DropdownItems } from '../../Models/DropdownItemsGroup/dropdownitems.model';\r\nimport { debounceTime } from 'rxjs/internal/operators/debounceTime';\r\nimport { SearchDTO, SearchRODTO } from 'src/app/Models/common/search.model';\r\nimport { IncidentReject } from 'src/app/Models/vendorsupervisor/incident.model';\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\n\r\nexport class VendorSupervisorService {\r\n\r\n baseUrl: string;\r\n ticketId: number;\r\n ROId: number;\r\n ticketInteractionId: string;\r\n requestFromSupervisor: boolean = false;\r\n requestFromRO: boolean = false;\r\n requestFromSE : boolean = false;\r\n\r\n constructor(private http: HttpClient, private service: HttpVerbService) {\r\n this.baseUrl = environment.restUrl + '/api/v1/';\r\n }\r\n\r\n /**\r\n * Submit new vehicle\r\n *\r\n * \r\n * @param {Vehicle} vehicle\r\n * @returns {Observable}\r\n * @memberof vehicleService\r\n */\r\n// saveVehicle(vehicle: Vehicle): Observable {\r\n// return this.http.post(this.baseUrl + 'saveNewVehicle', vehicle, {\r\n// headers: new HttpHeaders({\r\n// 'Content-Type': 'application/json'\r\n// })\r\n// });\r\n// }\r\n\r\n /**\r\n * Get search result for asset\r\n *\r\n * @returns {Observable}\r\n * @memberof VehicleService\r\n */\r\n public getTicketList(searchValues: SearchDTO): Observable {\r\n return this.http.post(this.baseUrl + 'TicketList/searchticket',searchValues, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'//,\r\n //'No-Auth':  'True' //need to remove during deployment\r\n })\r\n }).pipe(map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n }\r\n\r\n public getROIncidentList(SearchDTO: SearchRODTO): Observable {\r\n return this.http.post(this.baseUrl + 'ROIncidentList/searchincident',SearchDTO, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n }).pipe(map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n }\r\n\r\n /**\r\n * Get all active dropdown items\r\n *\r\n * @returns {Observable}\r\n * @memberof VehicleService\r\n */\r\n public getDropdownItems(group: string): Observable {\r\n return this.http.get(this.baseUrl + 'TicketDropdownItems/getdropdownitems' + '?group=' + group, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n //'No-Auth': 'True' //need to remove durinf deployment\r\n })\r\n }).pipe(map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n }\r\n\r\n getDriverList(): Observable {\r\n return this.http.get(this.baseUrl + \"VehicleDriverList/getvehicledriverlist\", {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n // 'No-Auth': 'True' //need to remove durinf deployment\r\n })\r\n }).pipe(map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n }\r\n\r\n getDriverListForUpdate(vehicleId: number): Observable {\r\n return this.http.get(this.baseUrl + \"VehicleDriverList/getvehicledriverlistforupdate\" + '?vehicleid=' + vehicleId, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n // 'No-Auth': 'True' //need to remove durinf deployment\r\n })\r\n }).pipe(map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n }\r\n\r\n getStatusList(): Observable {\r\n return this.http.get(this.baseUrl + \"VehicleStatusList/getvehiclestatuslist\", {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n // 'No-Auth': 'True' //need to remove durinf deployment\r\n })\r\n }).pipe(map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n }\r\n\r\n\r\n\r\n public setTicketId(TicketId: number) {\r\n this.ticketId = TicketId;\r\n }\r\n\r\n public setRequestFromVendor(request: boolean) {\r\n this.requestFromSupervisor = request;\r\n }\r\n\r\n public setRequestFromRO(request: boolean) {\r\n this.requestFromRO = request;\r\n }\r\n\r\n public setROId(ROId: number) {\r\n this.ROId = ROId;\r\n }\r\n\r\n public getROId() {\r\n return this.ROId;\r\n }\r\n\r\n public setTicketInteractionId(TicketInteractionId: string) {\r\n this.ticketInteractionId = TicketInteractionId;\r\n }\r\n\r\n public getTicketId() {\r\n return this.ticketId;\r\n }\r\n\r\n public getTicketInteractionId() {\r\n return this.ticketInteractionId;\r\n }\r\n\r\n public getRequestFromVendor() {\r\n return this.requestFromSupervisor;\r\n }\r\n\r\n public getRequestFromRO() {\r\n return this.requestFromRO;\r\n }\r\n\r\n public getRequestFromSE() {\r\n return this.requestFromSE;\r\n }\r\n\r\n public setRequestFromSE(request: boolean) {\r\n this.requestFromSE = request;\r\n }\r\n \r\n\r\n public DeleteVehicle(VehicleId: number): Observable {\r\n return this.http.post(this.baseUrl + \"deletevehicle?id=\" + VehicleId, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n }).pipe(map((res: any) => {\r\n return res;\r\n }))\r\n }\r\n\r\n public getticket(ticketId: number): Observable {\r\n return this.http.post(this.baseUrl + 'TicketList/getticket',ticketId, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n // 'No-Auth': 'True' //need to remove during deployment\r\n })\r\n }).pipe(\r\n map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n }\r\n\r\n// public TicketDetails(tktId): Observable {\r\n// return this.http.get(this.baseUrl + 'viewticket/' + tktId, {\r\n// headers: new HttpHeaders({\r\n// 'Content-Type': 'application/json',\r\n// })\r\n// });\r\n// }\r\n\r\n\r\n getAllProductPromoter(): Observable {\r\n return this.http.get(this.baseUrl + \"VehiclePPList/getproductpromoterlist\", {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n }).pipe(map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n }\r\n\r\n// public updateVehicle(vehicleData: Vehicle): Observable {\r\n// return this.http.post(this.baseUrl + 'updatevehicle', vehicleData, {\r\n// headers: new HttpHeaders({\r\n// 'Content-Type': 'application/json'\r\n// })\r\n// });\r\n// }\r\n\r\n public getRequiredFiles(): Observable {\r\n return this.http.get(this.baseUrl + \"getSEDocumentsList\", {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n }).pipe(map((res: any) => {\r\n return res;\r\n }))\r\n }\r\n\r\n public getRequiredFilest(trackingId: number): Observable {\r\n return this.http.get(this.baseUrl + \"getSEDocumentsList?TRACKING_ID=\" + trackingId, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n }).pipe(map((res: any) => {\r\n return res;\r\n }))\r\n }\r\n\r\n getSEAllDocs(docGroup: string, docid: number, trackingId: number): Observable {\r\n return this.http.get(this.baseUrl + \"getSEDocs?doc_Group=\" + docGroup + \"&docId=\" + docid + \"&TRACKING_ID=\" + trackingId, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n }).pipe(map((res: any) => {\r\n return res;\r\n }))\r\n }\r\n\r\n getEFSRAllDocs(docGroup: string, docid: number, trackingId: number): Observable {\r\n return this.http.get(this.baseUrl + \"getEFSRDocs?doc_Group=\" + docGroup + \"&docId=\" + docid + \"&TRACKING_ID=\" + trackingId, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n }).pipe(map((res: any) => {\r\n return res;\r\n }))\r\n }\r\n\r\n // getEFSRReportsList(docGroup: string, docid: number, trackingId: number): Observable {\r\n // return this.http.get(this.baseUrl + \"getEFSRDocs?doc_Group=\" + docGroup + \"&docId=\" + docid + \"&TRACKING_ID=\" + trackingId, {\r\n // headers: new HttpHeaders({\r\n // 'Content-Type': 'application/json'\r\n // })\r\n // }).pipe(map((res: any) => {\r\n // return res;\r\n // }))\r\n // }\r\n\r\n removeFile(fileType: string, docId: number): Observable {\r\n return this.http.post(this.baseUrl + \"RemoveSEDoc?trackingId=\" + docId + \"&docType=\" + fileType, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n }).pipe(map((res: any) => {\r\n return res;\r\n }))\r\n }\r\n\r\n rejectIncident(details: IncidentReject): Observable {\r\n return this.http.post(this.baseUrl + 'rejectIncident', details, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n });\r\n }\r\n\r\n\r\n uploadFile(file: File, fileType: string, docNum: string, driverId: number): Observable> {\r\n let formData = new FormData();\r\n formData.append('upload', file);\r\n formData.append('TrackingId', String(driverId));\r\n formData.append('FileType', fileType);\r\n formData.append('UniqueFileNumber', docNum);\r\n let params = new HttpParams();\r\n const options = {\r\n params: params,\r\n reportProgress: true,\r\n };\r\n const req = new HttpRequest('POST', this.baseUrl + \"UploadSEDoc\", formData, options);\r\n return this.http.request(req);\r\n }\r\n\r\n public downloadDoc(trackingId: number, docType: string): Observable {\r\n\r\n let url = this.baseUrl + \"DownloadSEDoc?trackingId=\" + trackingId + \"&docType=\" + docType;\r\n return this.http.get(url, { responseType: \"blob\" });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpHeaders, HttpRequest, HttpEventType, HttpResponse, HttpEvent, HttpParams } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { map } from 'rxjs/operators';\r\nimport { environment } from '../../../environments/environment';\r\n//import { Ticket } from 'src/app/Models/vendorsupervisor/ticket.model';\r\nimport { ViewTicket } from 'src/app/Models/ViewTicket/ViewTicket.model';\r\n//import { flattenStyles } from '@angular/platform-browser/src/dom/dom_renderer';\r\nimport { HttpVerbService } from 'src/app/Services/httpverb/httpverb.service';\r\nimport { DropdownItems } from '../../Models/DropdownItemsGroup/dropdownitems.model';\r\nimport { debounceTime } from 'rxjs/internal/operators/debounceTime';\r\nimport { VendorSupervisor } from 'src/app/Models/vendorsupervisor/vendor-supervisor.model';\r\n\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class VendorsupervisoreditService {\r\n baseUrl: string;\r\n VSID: string;\r\n\r\n constructor(private http: HttpClient, private service: HttpVerbService) { \r\n this.baseUrl = environment.restUrl + '/api/v1/';\r\n }\r\n\r\n public setVSID(VSID: string) {\r\n this.VSID = VSID;\r\n }\r\n\r\n public getVSId() {\r\n return this.VSID;\r\n }\r\n //+ '?VSID=' + VSID\r\n public getVS(): Observable {\r\n return this.http.get(this.baseUrl + 'getVSUser', {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json',\r\n //'No-Auth': 'True' //need to remove during deployment\r\n })\r\n }).pipe(\r\n map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n }\r\n\r\n public getVSByVendorID(VSID: string): Observable {\r\n return this.http.post(this.baseUrl + 'getVSUserbyVSID', VSID, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json',\r\n 'No-Auth': 'True' //need to remove during deployment\r\n })\r\n }).pipe(\r\n map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n }\r\n\r\n updateUser(userData: VendorSupervisor): Observable {\r\n return this.http.post(this.baseUrl + 'EditVSusers', userData, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\n\r\nimport { VendorSupervisor } from 'src/app/Models/vendorsupervisor/vendor-supervisor.model';\r\nimport { Observable, throwError } from 'rxjs';\r\nimport { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';\r\nimport { map, catchError, tap } from 'rxjs/operators';\r\nimport { HttpVerbService } from 'src/app/Services/httpverb/httpverb.service';\r\nimport { IRole } from 'src/app/Models/usermanagement/role.model';\r\nimport { IMenu } from 'src/app/Models/common/menu.model';\r\nimport { environment } from 'src/environments/environment';\r\nimport { IState } from 'src/app/Models/common/state.model';\r\nimport { Icity } from 'src/app/Models/common/city.model';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class VendorsupervisorregisterService {\r\n baseUrl: string;\r\n constructor(private http: HttpClient, private service: HttpVerbService) {\r\n this.baseUrl = environment.restUrl + '/api/v1/';\r\n }\r\n\r\n CreateVS(newUser: VendorSupervisor): Observable {\r\n return this.http.post(this.baseUrl + 'createVSuser', newUser, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json',\r\n 'No-Auth':'True'\r\n })\r\n });\r\n }\r\n /**\r\n * Get all active States\r\n *\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n // getState(): Observable {\r\n // debugger;\r\n // const url = this.baseUrl + 'VSstates';\r\n // return this.service.get(url,\r\n // {\r\n // headers:  new  HttpHeaders({\r\n // 'Content-Type':  'application/json',\r\n // 'No-Auth':'True'\r\n // })\r\n // } \r\n // ) \r\n // .pipe(map((response: any) => {\r\n // return response;\r\n // }));\r\n // }\r\n\r\n getState(): Observable {\r\n return this.http.get(this.baseUrl + 'VSstates', {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json',\r\n 'No-Auth':'True'\r\n })\r\n }).pipe(map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n } \r\n\r\n getStateEdit(): Observable {\r\n return this.http.get(this.baseUrl + 'VSstatesEdit', {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json',\r\n \r\n })\r\n }).pipe(map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n } \r\n\r\n /**\r\n * Get all active States\r\n *\r\n * @returns {Observable}\r\n * @memberof UserService\r\n */\r\n // getCity(): Observable {\r\n // const url = this.baseUrl + 'VScity';\r\n // return this.service.get(url,\r\n // {\r\n // headers:  new  HttpHeaders({\r\n // 'Content-Type':  'application/json',\r\n // 'No-Auth':'True'\r\n // })\r\n // }\r\n // ).pipe(map((response: any) => {\r\n // return response;\r\n // }));\r\n // }\r\n \r\n getCity(state:string): Observable {\r\n return this.http.get(this.baseUrl + 'VScity?state=' +state, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json',\r\n 'No-Auth':'True'\r\n })\r\n }).pipe(map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n } \r\n\r\n getCityEdit(state:string): Observable {\r\n return this.http.get(this.baseUrl + 'VScityEdit?state=' +state, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json',\r\n \r\n })\r\n }).pipe(map((response: any) => {\r\n return response;\r\n }\r\n ));\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule, PreloadAllModules, NoPreloading } from '@angular/router';\r\nimport { LoginComponent } from './Component/login/login.component';\r\nimport { ForgotpasswordComponent } from './Component/forgotpassword/forgotpassword.component';\r\nimport { DashboardComponent } from './Component/dashboard/dashboard.component';\r\nimport { AuthGuard } from './Services/auth/auth.guard';\r\nimport { UserVerificationComponent } from './Component/users/user-verification/user-verification.component';\r\nimport { SECreateComponent } from './Component/ServiceEngineer/SE-Create/se-create.component';\r\nimport { FirsttimeloginComponent } from './Component/login/firsttimelogin/firsttimelogin.component';\r\nimport {VendorsupervisorComponent} from './Component/VendorSupervisor/vendorsupervisor.component';\r\nimport {ViewTicketsComponent} from './Component/VendorSupervisor/view-tickets/view-tickets.component';\r\nimport {SEEditComponent} from './Component/ServiceEngineer/SE-Edit/se-edit.component';\r\nimport {VendorsupervisorRegistrationComponent} from './Component/VendorSupervisor/vendorsupervisor-registration/vendorsupervisor-registration.component';\r\nimport { VSEditComponent } from './Component/VendorSupervisor/vendorsupervisor-registration/vs-edit/vs-edit.component';\r\nimport { SeIncidentManagementComponent } from './Component/ServiceEngineer/seincidentmanagement/se-incident-management.component';\r\nimport { IncidenthistoryComponent } from './Component/ServiceEngineer/IncidentHistory/incidenthistory/incidenthistory.component';\r\n\r\n//import {VendorsupervisorRegistrationComponent} from './Component/vendorsupervisor/vendorsupervisor-registration/vendorsupervisor-registration.component';\r\nimport{ AssignTickettoSEComponent } from './Component/ServiceEngineer/assign-ticketto-se/assign-ticketto-se.component';\r\nimport{ CreateEfsrComponent } from './Component/EFSR/create-efsr/create-efsr.component';\r\nimport { RoIncidentManagementComponent } from './Component/ro/ro-incident-management.component';\r\nimport { ViewEfsrComponent } from './Component/EFSR/view-efsr/view-efsr.component';\r\nimport { ViewSeDetailsComponent } from './Component/ro/view-se-details/view-se-details.component';\r\nimport {VendorsubsupervisorComponent } from './Component/VendorSupervisor/vendorsubsupervisor/vendorsubsupervisor.component';\r\nimport{RoincidenthistoryComponent} from './Component/report/roincidenthistory/roincidenthistory.component';\r\nimport{WorkingincidenthistoryComponent} from './Component/report/workingincidenthistory/workingincidenthistory.component';\r\nimport { SeratingComponent } from './Component/report/serating/serating.component';\r\nimport { RoratingComponent } from './Component/report/rorating/rorating.component';\r\nimport{AddvendorComponent} from './Component/master/addvendor/addvendor.component';\r\nimport{EditvendorComponent} from './Component/master/editvendor/editvendor.component';\r\nimport{RocategorymappingComponent} from './Component/master/rocategorymapping/rocategorymapping.component';\r\nimport{ActivateuserloginComponent} from './Component/master/activateuserlogin/activateuserlogin.component';\r\nimport {NonassignedimComponent} from './Component/report/nonassignedim/nonassignedim.component';\r\nimport {EditrocatmappComponent} from './Component/master/editrocatmapp/editrocatmapp.component';\r\nimport {UserlistComponent} from './Component/report/userlist/userlist.component';\r\nimport {RovendormappinglistComponent} from './Component/report/rovendormappinglist/rovendormappinglist.component';\r\nimport {UserActivationbyOTPComponent} from './Component/login/UserActivstion/user-activationby-otp/user-activationby-otp.component'\r\nimport {ActivateLoginUserComponent} from './Component/login/UserActivstion/ActivateUser/activate-login-user/activate-login-user.component'\r\nimport { UploadUserdocsComponent } from './Component/UserHelp/UploadUserManual/upload-userdocs/upload-userdocs.component';\r\n\r\nconst routes: Routes = [\r\n { path: 'login', component: LoginComponent },\r\n { path: 'firsttimelogin', component: FirsttimeloginComponent },\r\n { path: 'forgotpassword', component: ForgotpasswordComponent },\r\n { path: 'users/userverify', component: UserVerificationComponent },\r\n { path: 'dashboard', component: DashboardComponent, canActivate: [AuthGuard] },\r\n { path: 'supervisor/registration', component: VendorsupervisorRegistrationComponent },\r\n { path: 'supervisor/VS-Edit', component: VSEditComponent },\r\n { path: 'supervisor/Incidenthistory', component: IncidenthistoryComponent },\r\n \r\n { path: 'users/create', loadChildren: './Component/users/user-create/usercreate.module#UsercreateModule', canActivate: [AuthGuard] },\r\n { path: 'users/edit', loadChildren: './Component/users/user-edit/useredit.module#UsereditModule', canActivate: [AuthGuard] },\r\n { path: 'roles/manage', loadChildren: './Component/roles/role-create/rolecreate.module#RolecreateModule', canActivate: [AuthGuard] },\r\n { path: 'users/resetpassword', loadChildren: './Component/users/user-password-reset/userpasswordreset.module#UserpasswordresetModule', canActivate: [AuthGuard] },\r\n { path: 'changepassword', loadChildren: './Component/changepassword/changepassword.module#ChangepasswordModule', canActivate: [AuthGuard] },\r\n { path: 'ServiceEngineer/se-create', component: SECreateComponent },\r\n { path: 'ServiceEngineer/assign-ticketto-se', component: AssignTickettoSEComponent },\r\n { path: 'supervisor/ticketsearch', component: VendorsupervisorComponent },\r\n { path: 'supervisor/viewticket', component: ViewTicketsComponent },\r\n { path: 'ServiceEngineer/se-edit', component: SEEditComponent , runGuardsAndResolvers: 'always'},\r\n { path: 'EFSR/create-efsr', component: CreateEfsrComponent },\r\n\r\n { path: 'serviceengineer/incidentsearch', component: SeIncidentManagementComponent },\r\n { path: 'RO/incidentsearch', component: RoIncidentManagementComponent },\r\n { path: 'serviceengineer/view-efsr', component: ViewEfsrComponent },\r\n { path: 'supervisor/view-efsr', component: ViewEfsrComponent },\r\n { path: 'RO/view-efsr', component: ViewEfsrComponent },\r\n { path: 'SE/view-se', component: ViewSeDetailsComponent },\r\n { path: 'subsupervisor/registration', component: VendorsubsupervisorComponent},\r\n { path: 'Reports/incidenthistory', component: RoincidenthistoryComponent},\r\n { path: 'Reports/serating', component: SeratingComponent},\r\n { path: 'Reports/workingincidenthistory', component: WorkingincidenthistoryComponent},\r\n { path: 'Reports/rorating', component: RoratingComponent},\r\n { path: 'master/addvendor', component: AddvendorComponent},\r\n { path: 'master/editvendor', component: EditvendorComponent},\r\n { path: 'master/rocatmapping', component: RocategorymappingComponent},\r\n { path: 'master/activateuserlogin', component: ActivateuserloginComponent},\r\n { path: 'Reports/nonassignedim', component: NonassignedimComponent},\r\n { path: 'master/editrocatmapping', component: EditrocatmappComponent},\r\n { path: 'Reports/userlist', component: UserlistComponent},\r\n { path: 'Reports/rovendormappinglist', component: RovendormappinglistComponent},\r\n {path: 'Useractivation', component:UserActivationbyOTPComponent},\r\n {path: 'ActivateLoginUser', component:ActivateLoginUserComponent},\r\n {path: 'help/uploaddocuments', component:UploadUserdocsComponent},\r\n //{path:'RO/viewRO-efsr',component: RoViewEFSRComponent},\r\n { path: '**', redirectTo: '/login', pathMatch: 'full' },\r\n { path: '', redirectTo: '/login', pathMatch: 'full' },\r\n\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forRoot(routes,{onSameUrlNavigation: 'reload'})],\r\n exports: [RouterModule]\r\n})\r\nexport class AppRoutingModule { }\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2FwcC5jb21wb25lbnQuc2NzcyJ9 */\"","//import { Component } from '@angular/core';\r\n\r\n//@Component({\r\n// selector: 'app-root',\r\n// templateUrl: './app.component.html',\r\n// styleUrls: ['./app.component.scss']\r\n//})\r\n//export class AppComponent {\r\n// title = 'ClientApp';\r\n//}\r\n\r\nimport { Component, AfterViewInit } from '@angular/core';\r\nimport * as $ from 'jquery';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Component({\r\n selector: 'app-root',\r\n templateUrl: './app.component.html',\r\n styleUrls: ['./app.component.scss']\r\n})\r\nexport class AppComponent implements AfterViewInit {\r\n title = 'RelFuel';\r\n public googleMapsJs = `https://maps.googleapis.com/maps/api/js?key=${environment.googleMapsApiKey}&libraries=places`;\r\n\r\n ngAfterViewInit() {\r\n $('#awz-preloader').delay(350).fadeOut(function () {\r\n $('body').delay(350);\r\n });\r\n }\r\n}\r\n\r\n","\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';\r\nimport * as $ from 'jquery';\r\nimport { NgModule, ErrorHandler, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { AppRoutingModule } from './app-routing.module';\r\nimport { AppComponent } from './app.component';\r\nimport { LoginComponent } from './Component/login/login.component';\r\nimport { environment } from '../environments/environment';\r\nimport{MatRadioModule} from '@angular/material';\r\nimport{MatCheckboxModule} from '@angular/material';\r\nimport { AlertpopupComponent } from './Component/alertpopup/alertpopup.component';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport {MatAutocompleteModule,MatInputModule} from '@angular/material';\r\nimport { MatFormFieldModule } from '@angular/material';\r\nimport { AuthInterceptor } from './Services/auth/auth.interceptor';\r\nimport { GlobalErrorHandlerService } from './Services/globalerrorhandler/global-error-handler.service';\r\nimport { HashLocationStrategy, LocationStrategy } from '@angular/common';\r\nimport { DashboardComponent } from './Component/dashboard/dashboard.component';\r\nimport { SharedModule } from './shared/shared.module';\r\nimport { ForgotpasswordComponent } from './Component/forgotpassword/forgotpassword.component';\r\nimport { UserVerificationComponent } from './Component/users/user-verification/user-verification.component';\r\n//import { VendorsupervisorComponent } from './Component/vendorsupervisor/vendorsupervisor.component';\r\n//import { VendorsupervisorRegistrationComponent } from './Component/vendorsupervisor/vendorsupervisor-registration/vendorsupervisor-registration.component';\r\nimport { FirsttimeloginComponent } from './Component/login/firsttimelogin/firsttimelogin.component';\r\nimport {UserDisableDialogComponent} from './Component/users/user-disable-dialog/user-disable-dialog.component';\r\nimport { OrderByPipe } from './Services/Utilities/orderby.pipe';\r\nimport {SECreateComponent} from './Component/ServiceEngineer/SE-Create/se-create.component';\r\nimport { SEEditComponent } from './Component/ServiceEngineer/SE-Edit/se-edit.component';\r\n// import { ViewTicketsComponent } from './Component/VendorSupervisor/view-tickets/view-tickets.component';\r\nimport { VendorsupervisorRegistrationComponent } from './Component/VendorSupervisor/vendorsupervisor-registration/vendorsupervisor-registration.component';\r\nimport { ViewTicketsComponent } from './Component/VendorSupervisor/view-tickets/view-tickets.component';\r\nimport { VSEditComponent } from './Component/VendorSupervisor/vendorsupervisor-registration/vs-edit/vs-edit.component';\r\nimport { UploadDocsComponent } from './Component/ServiceEngineer/upload-docs/upload-docs.component';\r\nimport { AssignTickettoSEComponent } from './Component/ServiceEngineer/assign-ticketto-se/assign-ticketto-se.component';\r\nimport { SeuserDisableDialogComponent } from './Component/ServiceEngineer/seuser-disable-dialog/seuser-disable-dialog.component';\r\nimport { SeIncidentManagementComponent } from './Component/ServiceEngineer/seincidentmanagement/se-incident-management.component';\r\nimport { CreateEfsrComponent } from './Component/EFSR/create-efsr/create-efsr.component';\r\n//import{ TicketsAssginedSE} from 'src/app/Services/ServiceEngineer/TicketsAssginedSE.service';\r\nimport{ VendorSupervisorService } from 'src/app/Services/vendorsupervisor/vendorsupervisor.service';\r\n\r\n// import { BarRatingModule } from \"ngx-bar-rating\";\r\n\r\nimport { IncidenthistoryComponent } from './Component/ServiceEngineer/IncidentHistory/incidenthistory/incidenthistory.component';\r\nimport { ViewEfsrComponent } from './Component/EFSR/view-efsr/view-efsr.component';\r\nimport { RoIncidentManagementComponent } from './Component/ro/ro-incident-management.component';\r\nimport { ConfirmationDialogDeleteComponent } from './Component/EFSR/confirmation-dialog-delete/confirmation-dialog-delete.component';\r\nimport { ConfirmationDeleteComponent } from './Component/EFSR/Confirmation/confirmation-delete/confirmation-delete.component';\r\nimport { SERemarkDialogComponent } from './Component/ServiceEngineer/SeRemarkDialog/seremark-dialog/seremark-dialog.component';\r\n//import { MobileNOpromptComponent } from './Component/login/firsttimelogin/mobile-noprompt/mobile-noprompt.component';\r\n\r\n//import { RoViewEFSRComponent } from './Component/ro/ro-view-efsr/ro-view-efsr.component';\r\n// import * as pdfMake from 'pdfmake/build/pdfmake';\r\n// import * as pdfFonts from 'pdfmake/build/vfs_fonts';\r\n// const pdf = pdfMake;\r\n// pdf.vfs = pdfFonts.pdfMake.vfs;\r\nimport { VerifyincidentComponent } from './Component/EFSR/verifyincident/verifyincident.component';\r\nimport { BackspaceDirective } from './backspace.directive';\r\nimport { ViewSeDetailsComponent } from './Component/ro/view-se-details/view-se-details.component';\r\nimport { VendorsubsupervisorComponent } from './Component/VendorSupervisor/vendorsubsupervisor/vendorsubsupervisor.component';\r\n//import { RejectComponent } from './Component/vendorsupervisor/reject/reject.component';\r\nimport { RoincidenthistoryComponent } from './Component/report/roincidenthistory/roincidenthistory.component';\r\nimport {WorkingincidenthistoryComponent} from './Component/report/workingincidenthistory/workingincidenthistory.component';\r\nimport { SeratingComponent } from './Component/report/serating/serating.component';\r\nimport { RoratingComponent } from './Component/report/rorating/rorating.component';\r\nimport {AddvendorComponent} from './Component/master/addvendor/addvendor.component';\r\nimport { ServiceWorkerModule } from '@angular/service-worker';\r\nimport { EditvendorComponent } from './Component/master/editvendor/editvendor.component';\r\nimport { RocategorymappingComponent } from './Component/master/rocategorymapping/rocategorymapping.component';\r\nimport { ActivateuserloginComponent } from './Component/master/activateuserlogin/activateuserlogin.component';\r\nimport { NonassignedimComponent } from './Component/report/nonassignedim/nonassignedim.component';\r\nimport { EditrocatmappComponent } from './Component/master/editrocatmapp/editrocatmapp.component';\r\nimport { UserlistComponent } from './Component/report/userlist/userlist.component';\r\nimport { RovendormappinglistComponent } from './Component/report/rovendormappinglist/rovendormappinglist.component';\r\nimport { UploadefsrdocsComponent } from './Component/EFSR/upload-EFSR-docs/uploadefsrdocs/uploadefsrdocs.component';\r\nimport { CloseIncidentDialogComponent } from './Component/ro/RejectSmmSMEDialog/close-incident-dialog/close-incident-dialog.component';\r\nimport { UserActivationbyOTPComponent } from './Component/login/UserActivstion/user-activationby-otp/user-activationby-otp.component';\r\nimport { ActivateLoginUserComponent } from './Component/login/UserActivstion/ActivateUser/activate-login-user/activate-login-user.component';\r\nimport { UploadUserdocsComponent } from './Component/UserHelp/UploadUserManual/upload-userdocs/upload-userdocs.component';\r\nimport {VendorsupervisorComponent} from './Component/VendorSupervisor/vendorsupervisor.component';\r\nimport { RejectComponent } from './Component/VendorSupervisor/reject/reject.component';\r\n\r\n\r\n//import { UploadDocsROComponent } from './Component/ro/upload-docs/upload-docs.component';\r\n// import { RejectComponent } from './Component/VendorSupervisor/reject/reject.component';\r\n//import { saveAs } from 'file-saver';\r\n//import { ServiceWorkerModule } from '@angular/service-worker';\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n AppComponent,\r\n LoginComponent,\r\n \r\n AlertpopupComponent,\r\n DashboardComponent,\r\n ForgotpasswordComponent,\r\n UserVerificationComponent,\r\n VendorsupervisorComponent,\r\n FirsttimeloginComponent,\r\n UserDisableDialogComponent,\r\n OrderByPipe,\r\n SECreateComponent,\r\n ViewTicketsComponent,\r\n VendorsupervisorRegistrationComponent,\r\n SECreateComponent,\r\n //SeEditComponent,\r\n SEEditComponent,\r\n SeuserDisableDialogComponent,\r\n VSEditComponent,\r\n UploadDocsComponent,\r\n AssignTickettoSEComponent,\r\n CreateEfsrComponent,\r\n SeIncidentManagementComponent,\r\n SeIncidentManagementComponent,\r\n IncidenthistoryComponent,\r\n ViewEfsrComponent,\r\n RoIncidentManagementComponent,\r\n ConfirmationDialogDeleteComponent,\r\n ConfirmationDeleteComponent,\r\n //MobileNOpromptComponent,\r\n //ViewSEEfsrComponentComponent,\r\n //RoViewEFSRComponent,\r\n VerifyincidentComponent,\r\n BackspaceDirective,\r\n ViewSeDetailsComponent,\r\n VendorsubsupervisorComponent,\r\n RejectComponent,\r\n RoincidenthistoryComponent,\r\n WorkingincidenthistoryComponent,\r\n SeratingComponent,\r\n RoratingComponent,\r\n AddvendorComponent,\r\n EditvendorComponent,\r\n RocategorymappingComponent,\r\n ActivateuserloginComponent,\r\n NonassignedimComponent,\r\n EditrocatmappComponent,\r\n UserlistComponent,\r\n RovendormappinglistComponent,\r\n UploadefsrdocsComponent,\r\n SERemarkDialogComponent,\r\n CloseIncidentDialogComponent,\r\n UserActivationbyOTPComponent,\r\n ActivateLoginUserComponent,\r\n UploadUserdocsComponent\r\n //UploadDocsROComponent,\r\n ],\r\n imports: [\r\n BrowserModule,\r\n AppRoutingModule,\r\n FormsModule,\r\n BrowserAnimationsModule,\r\n ReactiveFormsModule,\r\n HttpClientModule,\r\n MatAutocompleteModule,\r\n MatInputModule,\r\n MatDialogModule,\r\n MatButtonModule,\r\n MatFormFieldModule,\r\n MatRadioModule,\r\n // MDCSlider,\r\n MatCheckboxModule,\r\n SharedModule,\r\n ServiceWorkerModule.register('ngsw-worker.js', { enabled: environment.production })\r\n //ServiceWorkerModule.register('ngsw-worker.js', { enabled: environment.production })\r\n // BarRatingModule\r\n ],\r\n entryComponents: [LoginComponent,ConfirmationDialogDeleteComponent,SERemarkDialogComponent,ConfirmationDeleteComponent,VerifyincidentComponent,RejectComponent,CloseIncidentDialogComponent],\r\n providers: [\r\n { provide: HTTP_INTERCEPTORS, useClass: AuthInterceptor, multi: true },\r\n { provide: LocationStrategy, useClass: HashLocationStrategy },\r\n { provide: ErrorHandler, useClass: GlobalErrorHandlerService }\r\n ],\r\n bootstrap: [AppComponent]\r\n})\r\nexport class AppModule { }","import { Directive,HostListener } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[appBackspace]'\r\n})\r\nexport class BackspaceDirective {\r\n\r\n constructor() { }\r\n\r\n @HostListener('document:keydown', ['$event'])\r\n onKeyDown(evt: KeyboardEvent) {\r\n if (\r\n evt.keyCode === 8 || evt.which === 8\r\n ) {\r\n let doPrevent = true;\r\n const types =['text','password','file','search','email','number','date','color','datetime','datetime-local','month','range','search','tel','time','url','week'];\r\n const target = (evt.target);\r\n\r\n const disabled = target.disabled || (event.target).readOnly;\r\n if (!disabled) {\r\n if (target.isContentEditable) {\r\n doPrevent = false;\r\n } else if (target.nodeName === 'INPUT') {\r\n let type = target.type;\r\n if (type) {\r\n type = type.toLowerCase();\r\n }\r\n if (types.indexOf(type) > -1) {\r\n doPrevent = false;\r\n }\r\n } else if (target.nodeName === 'TEXTAREA') {\r\n doPrevent = false;\r\n }\r\n }\r\n if (doPrevent) {\r\n evt.preventDefault();\r\n return false;\r\n }\r\n }\r\n }\r\n\r\n}\r\n","import { NgModule } from '@angular/core';\r\n\r\nimport { BsDropdownModule } from 'ngx-bootstrap/dropdown';\r\nimport { TooltipModule } from 'ngx-bootstrap/tooltip';\r\nimport { ModalModule } from 'ngx-bootstrap/modal';\r\nimport { CollapseModule } from 'ngx-bootstrap/collapse';\r\n\r\nimport { ButtonsModule } from 'ngx-bootstrap/buttons';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n BsDropdownModule.forRoot(),\r\n TooltipModule.forRoot(),\r\n ModalModule.forRoot(),\r\n CollapseModule.forRoot(),\r\n ButtonsModule.forRoot()\r\n ]\r\n})\r\nexport class BootstrapModule { }\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL3NoYXJlZC9jb21wb25lbnRzL2xheW91dC9mb290ZXIvZm9vdGVyLmNvbXBvbmVudC5zY3NzIn0= */\"","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-footer',\r\n templateUrl: './footer.component.html',\r\n styleUrls: ['./footer.component.scss']\r\n})\r\nexport class FooterComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n today: number = Date.now();\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","module.exports = \".userProfile {\\n background: #999;\\n width: 40px;\\n height: 40px;\\n border: 1px solid #dcdada;\\n border-radius: 50%;\\n float: right;\\n line-height: 38px;\\n}\\n\\n.cartBtn .mat-badge-active {\\n background: red;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvc2hhcmVkL2NvbXBvbmVudHMvbGF5b3V0L2hlYWRlci9DOlxcVXNlcnNcXEFqYXkzLkNoYXVoYW5cXE15IERhdGFcXEZpbmFsQWpheVxcUklNQVBcXFJJTUFQU3lzdGVtV2ViXFxDbGllbnRBcHAvc3JjXFxhcHBcXHNoYXJlZFxcY29tcG9uZW50c1xcbGF5b3V0XFxoZWFkZXJcXGhlYWRlci5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvc2hhcmVkL2NvbXBvbmVudHMvbGF5b3V0L2hlYWRlci9oZWFkZXIuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSxnQkFBQTtFQUN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xuICBsaW5lLWhlaWdodDogMzhweDtcbn1cblxuLmNhcnRCdG4gLm1hdC1iYWRnZS1hY3RpdmUge1xuICBiYWNrZ3JvdW5kOiByZWQ7XG59Il19 */\"","import { Component, OnInit } from '@angular/core';\r\nimport * as $ from 'jquery';\r\nimport { HeaderService } from '../../../../Services/header/header.service';\r\nimport { LoginService } from 'src/app/Services/loginmanagement/login.service';\r\nimport { Router } from '@angular/router';\r\n//import { OrderService } from '../../../../Services/order/order.service';\r\nimport { MatSnackBar } from '@angular/material';\r\n//import { CustomerService } from 'src/app/Services/customer.service';\r\n\r\n@Component({\r\n selector: 'app-header',\r\n templateUrl: './header.component.html',\r\n styleUrls: ['./header.component.scss']\r\n})\r\nexport class HeaderComponent implements OnInit {\r\n\r\n currentUser: string;\r\n currentUser1: string;\r\n userMobile: number;\r\n userEmail: string;\r\n\r\n constructor(private loginService: LoginService, public headerService: HeaderService,private router: Router,\r\n public snackBar: MatSnackBar) { }\r\n selected = 'Platform';\r\n\r\n notificationsCount = 0;\r\n cartItemsCount = 0;\r\n showCartItem: boolean = true;\r\n sidenavToggle() {\r\n console.log('clicked');\r\n $('body').toggleClass('nav-close');\r\n }\r\n\r\n ngOnInit() {\r\n const currentUser = JSON.parse(localStorage.getItem('currentUser'));\r\n this.currentUser = currentUser && currentUser.FirstName + \" \" + currentUser.LastName;\r\n\r\n (function (window, document, undefined) {\r\n 'use strict';\r\n\r\n // Initialize the media query\r\n const mediaQuery = window.matchMedia('(max-width: 768px)');\r\n\r\n // Add a listen event\r\n mediaQuery.addListener(doSomething);\r\n\r\n // Function to do something with the media query\r\n function doSomething(mediaQuery: any) {\r\n if (mediaQuery.matches) {\r\n $('body').addClass('nav-close');\r\n } else {\r\n //\r\n $('body').removeClass('nav-close');\r\n }\r\n }\r\n\r\n // On load\r\n doSomething(mediaQuery);\r\n\r\n // Modernizr\r\n // window.addEventListener('resize', function() {\r\n // if (Modernizr.mq('(min-width: 560px)')) {\r\n // document.body.style.backgroundColor = 'CornflowerBlue';\r\n // } else {\r\n // document.body.style.backgroundColor = 'FireBrick';\r\n // }\r\n // }, false);\r\n\r\n })(window, document);\r\n\r\n // if (localStorage.getItem('currentUser') != null) {\r\n // this.currentUser = JSON.parse(localStorage.getItem('currentUser'))['FirstName'] + ' '\r\n // + JSON.parse(localStorage.getItem('currentUser'))['LastName'];\r\n // }\r\n \r\n // if(currentUser && currentUser.Role.toUpperCase() == 'CUSTOMER') {\r\n // this.orderService.getInCartItemsCount(currentUser.UserId).subscribe((data: any) => {\r\n // if (data && data.flag === 'S') {\r\n // this.cartItemsCount = data.result;\r\n // }\r\n // else {\r\n // this.openSnackBar(data.message, ''); \r\n // }},\r\n // (err: any) => {\r\n // this.openSnackBar(err.error.message, '');\r\n // });\r\n // }\r\n\r\n //calculate my cart counter\r\n //this.CalculateNumberOfItemsInCart();\r\n }\r\n\r\n /**\r\n * Get logged in user name\r\n */\r\n public getLoggedInUserName() {\r\n // const currentUser = JSON.parse(localStorage.getItem('currentUser'));\r\n // this.currentUser = currentUser && currentUser.FirstName + \" \" + currentUser.LastName;\r\n }\r\n\r\n /**\r\n * Logout user\r\n * Clear localstorage after logout\r\n */\r\n public logout() {\r\n this.loginService.updateUserLogoutTime().subscribe((data: any) => { },\r\n (err: any) => { console.log(err); });\r\n\r\n localStorage.removeItem('userToken');\r\n localStorage.removeItem('currentUser');\r\n localStorage.removeItem('menu');\r\n }\r\n\r\n public changePassword() {\r\n this.router.navigate(['/changepassword']);\r\n }\r\n\r\n public changeMobile() {\r\n this.loginService.getMobileandEmail().subscribe((data: any) => {\r\n if (data && data.flag === 'S') {\r\n this.userMobile = data.result.mobile;\r\n //this.customerService.SetMobileToChange(this.userMobile);\r\n //this.customerService.SetDashboardReturnFlag(true);\r\n //this.router.navigate(['changemobile']);\r\n }\r\n else {\r\n this.openSnackBar(data.message, '');\r\n }\r\n },\r\n (err: any) => {\r\n this.openSnackBar(err.error.message, '');\r\n });\r\n }\r\n\r\n public changeEmail() {\r\n this.loginService.getMobileandEmail().subscribe((data: any) => {\r\n if (data && data.flag === 'S') {\r\n this.userEmail = data.result.email;\r\n //this.customerService.SetEmailToChange(this.userEmail);\r\n //this.customerService.SetDashboardReturnFlag(true);\r\n //this.router.navigate(['changeemail']);\r\n }\r\n else {\r\n this.openSnackBar(data.message, '');\r\n }\r\n },\r\n (err: any) => {\r\n this.openSnackBar(err.error.message, '');\r\n });\r\n \r\n }\r\n\r\n public openSnackBar(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n }\r\n\r\n //public CalculateNumberOfItemsInCart() {\r\n // const user = JSON.parse(localStorage.getItem('currentUser'));\r\n // //hide cart item icon for users other than customer\r\n // this.showCartItem = false;\r\n // if(user && user.Role && user.Role.toUpperCase() == 'CUSTOMER') {\r\n // this.showCartItem = true;\r\n // this.orderService.getInCartItemsCount(user.UserId).subscribe((data: any) => {\r\n // if (data && data.flag === 'S') {\r\n // this.cartItemsCount = data.result;\r\n // }\r\n // else {\r\n // this.openSnackBar(data.message, ''); \r\n // }},\r\n // (err: any) => {\r\n // this.openSnackBar(err.error.message, '');\r\n // });\r\n // }\r\n //}\r\n\r\n}\r\n\r\n\r\n","module.exports = \".child-nav-item {\\n padding: 5px 10px 5px 10px;\\n}\\n\\n.navbar {\\n padding-top: 0px;\\n padding-bottom: 0px;\\n}\\n\\n.navbar .navbar-brand {\\n color: #fff;\\n}\\n\\n.navbar .navbar-nav li {\\n display: inline-block;\\n margin: 0 2px;\\n border-radius: 0;\\n border: none;\\n}\\n\\n.navbar .navbar-nav li a {\\n color: #fff;\\n text-transform: uppercase;\\n font-weight: 400;\\n}\\n\\n.navbar ul.dropdown-menu li {\\n margin: 0;\\n padding: 0;\\n width: 100%;\\n display: block;\\n background-color: transparent;\\n border-bottom: 1px solid #efefef;\\n}\\n\\n.navbar ul.dropdown-menu li a {\\n color: #000;\\n padding-left: 10px;\\n}\\n\\n.navbar ul.dropdown-menu li a:hover {\\n color: #0EBC89;\\n}\\n\\n.navBg {\\n background: #0EBC89;\\n padding-top: 0;\\n padding-bottom: 0;\\n}\\n\\n.navBg button {\\n color: #fff;\\n}\\n\\n.navBg ul.navbar-nav li a {\\n font-size: 14px;\\n text-transform: uppercase;\\n}\\n\\n.navBg ul.dropdown-menu li a {\\n color: #666;\\n}\\n\\n.navbar-toggler {\\n border: 0px;\\n color: #fff;\\n padding-left: 0;\\n padding-right: 0;\\n}\\n\\n/*-------------- new menu------------*/\\n\\n/* since the navbar is fixed we need to add some space to the body */\\n\\n@media (min-width: 992px) {\\n .dropdown:hover .dropdown-menu {\\n display: block;\\n margin: 0;\\n padding: 0;\\n }\\n\\n .navbar-expand-lg .navbar-nav {\\n -webkit-box-orient: horizontal;\\n -webkit-box-direction: normal;\\n flex-direction: row;\\n }\\n}\\n\\n@media (max-width: 992px) {\\n .offcanvas-collapse {\\n position: fixed;\\n top: 94px;\\n /* Height of navbar */\\n bottom: 0;\\n right: 100%;\\n left: -300px;\\n width: 240px;\\n padding-right: 1rem;\\n padding-left: 1rem;\\n overflow-y: auto;\\n visibility: hidden;\\n background-color: #0EBC89;\\n -webkit-transition-timing-function: ease-in-out;\\n transition-timing-function: ease-in-out;\\n -webkit-transition-duration: 0.3s;\\n transition-duration: 0.3s;\\n -webkit-transition-property: left, visibility;\\n transition-property: left, visibility;\\n }\\n\\n .offcanvas-collapse {\\n -webkit-box-align: start;\\n align-items: start;\\n /* Adds a subtle drop shadow */\\n -moz-background-clip: padding;\\n /* Firefox 3.6 */\\n -webkit-background-clip: padding;\\n /* Safari 4? Chrome 6? */\\n background-clip: padding-box;\\n /* Firefox 4, Safari 5, Opera 10, IE 9 */\\n border-right: 5px solid rgba(0, 0, 0, 0.2);\\n }\\n\\n /* Makes the nav visibile with the open class */\\n .offcanvas-collapse.open {\\n left: 0;\\n visibility: visible;\\n }\\n\\n .navbar {\\n padding-top: 5px !important;\\n padding-bottom: 5px !important;\\n }\\n}\\n\\n.nav-scroller {\\n position: relative;\\n z-index: 2;\\n height: 2.75rem;\\n overflow-y: hidden;\\n}\\n\\n.nav-scroller .nav {\\n display: -webkit-box;\\n display: flex;\\n flex-wrap: nowrap;\\n padding-bottom: 1rem;\\n margin-top: -1px;\\n overflow-x: auto;\\n color: rgba(255, 255, 255, 0.75);\\n text-align: center;\\n white-space: nowrap;\\n -webkit-overflow-scrolling: touch;\\n}\\n\\n.nav-underline .nav-link {\\n padding-top: 0.75rem;\\n padding-bottom: 0.75rem;\\n font-size: 0.875rem;\\n color: #6c757d;\\n}\\n\\n.nav-underline .nav-link:hover {\\n color: #007bff;\\n}\\n\\n.nav-underline .active {\\n font-weight: 500;\\n color: #343a40;\\n}\\n\\n.navbar-nav .nav-item {\\n margin-left: 0.5rem;\\n margin-right: 0.5rem;\\n}\\n\\n.navbar-nav a.nav-link.active {\\n position: relative;\\n}\\n\\n.navbar-nav a.nav-link.active::before {\\n content: \\\"\\\";\\n border-bottom: 3px solid #034da2;\\n position: absolute;\\n left: 0;\\n right: 0;\\n bottom: -16px;\\n}\\n\\n/*------------end new menu----------------------*/\\n\\n.fa-chevron-down, .fa-chevron-right {\\n color: #fff;\\n float: right;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvc2hhcmVkL2NvbXBvbmVudHMvbGF5b3V0L3N1YmhlYWRlci9DOlxcVXNlcnNcXEFqYXkzLkNoYXVoYW5cXE15IERhdGFcXEZpbmFsQWpheVxcUklNQVBcXFJJTUFQU3lzdGVtV2ViXFxDbGllbnRBcHAvc3JjXFxhcHBcXHNoYXJlZFxcY29tcG9uZW50c1xcbGF5b3V0XFxzdWJoZWFkZXJcXHN1YmhlYWRlci5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvc2hhcmVkL2NvbXBvbmVudHMvbGF5b3V0L3N1YmhlYWRlci9zdWJoZWFkZXIuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXB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YXJlZC9jb21wb25lbnRzL2xheW91dC9zdWJoZWFkZXIvc3ViaGVhZGVyLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmNoaWxkLW5hdi1pdGVtIHtcclxuICAgIHBhZGRpbmc6IDVweCAxMHB4IDVweCAxMHB4O1xyXG59XHJcblxyXG4ubmF2YmFyIHtcclxuICAgIHBhZGRpbmctdG9wOiAwcHg7XHJcbiAgICBwYWRkaW5nLWJvdHRvbTogMHB4O1xyXG4gICAgLm5hdmJhci1icmFuZCB7XHJcbiAgICAgICAgY29sb3I6ICNmZmY7XHJcbiAgICB9XHJcblxyXG4gICAgLm5hdmJhci1uYXYgbGkgeyAgICAgICAgXHJcbiAgICAgICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xyXG4gICAgICAgIG1hcmdpbjogMCAycHg7ICAgICAgICBcclxuICAgICAgICBib3JkZXItcmFkaXVzOiAwO1xyXG4gICAgICAgIGJvcmRlcjogbm9uZTtcclxuICAgIH1cclxuXHJcbiAgICAubmF2YmFyLW5hdiBsaSBhIHtcclxuICAgICAgICBjb2xvcjogI2ZmZjtcclxuICAgICAgICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xyXG4gICAgICAgIGZvbnQtd2VpZ2h0OiA0MDA7XHJcbiAgICB9XHJcblxyXG4gICAgdWwuZHJvcGRvd24tbWVudSB7XHJcblxyXG4gICAgICAgIGxpIHtcclxuICAgICAgICAgICAgbWFyZ2luOiAwO1xyXG4gICAgICAgICAgICBwYWRkaW5nOiAwO1xyXG4gICAgICAgICAgICB3aWR0aDogMTAwJTtcclxuICAgICAgICAgICAgZGlzcGxheTogYmxvY2s7XHJcbiAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHRyYW5zcGFyZW50OyAgICAgICAgICAgIFxyXG4gICAgICAgICAgICBib3JkZXItYm90dG9tOiAxcHggc29saWQgI2VmZWZlZjtcclxuICAgICAgICAgICAgYSB7XHJcbiAgICAgICAgICAgICAgICBjb2xvcjogIzAwMDtcclxuICAgICAgICAgICAgICAgIHBhZGRpbmctbGVmdDogMTBweDtcclxuXHJcbiAgICAgICAgICAgICAgICAmOmhvdmVyIHtcclxuICAgICAgICAgICAgICAgICAgICBjb2xvcjogIzBFQkM4OTtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH0gICAgICAgIFxyXG5cclxuICAgIH1cclxuICAgXHJcbn1cclxuXHJcbi5uYXZCZyB7XHJcbiAgICBiYWNrZ3JvdW5kOiAjMEVCQzg5O1xyXG4gICAgcGFkZGluZy10b3A6IDA7XHJcbiAgICBwYWRkaW5nLWJvdHRvbTogMDtcclxuICAgIGJ1dHRvbiB7XHJcbiAgICAgICAgY29sb3I6ICNmZmY7XHJcbiAgICB9XHJcbiAgICB1bC5uYXZiYXItbmF2IHtcclxuICAgICAgICBsaSB7XHJcbiAgICAgICAgICAgIGEge1xyXG4gICAgICAgICAgICAgICAgLy8gY29sb3I6ICNmZmY7ICAgIFxyXG4gICAgICAgICAgICAgICAgZm9udC1zaXplOiAxNHB4O1xyXG4gICAgICAgICAgICAgICAgdGV4dC10cmFuc2Zvcm06IHVwcGVyY2FzZTtcclxuICAgICAgICAgICAgfSAgXHJcbiAgICAgICAgICAgIFxyXG4gICAgICAgICAgICAmLm5hdi1saW5rIHtcclxuICAgICAgICAgICAgICAgIC8vY29sb3I6ICNmZmY7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgdWwuZHJvcGRvd24tbWVudSB7XHJcbiAgICAgICAgbGkge1xyXG4gICAgICAgICAgICBhIHtcclxuICAgICAgICAgICAgICAgIGNvbG9yOiAjNjY2O1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG59XHJcblxyXG4ubmF2YmFyLXRvZ2dsZXIge1xyXG4gICAgYm9yZGVyOiAwcHg7XHJcbiAgICBjb2xvcjogI2Zm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gIHRleHQtYWxpZ246IGNlbnRlcjtcbiAgd2hpdGUtc3BhY2U6IG5vd3JhcDtcbiAgLXdlYmtpdC1vdmVyZmxvdy1zY3JvbGxpbmc6IHRvdWNoO1xufVxuXG4ubmF2LXVuZGVybGluZSAubmF2LWxpbmsge1xuICBwYWRkaW5nLXRvcDogMC43NXJlbTtcbiAgcGFkZGluZy1ib3R0b206IDAuNzVyZW07XG4gIGZvbnQtc2l6ZTogMC44NzVyZW07XG4gIGNvbG9yOiAjNmM3NTdkO1xufVxuXG4ubmF2LXVuZGVybGluZSAubmF2LWxpbms6aG92ZXIge1xuICBjb2xvcjogIzAwN2JmZjtcbn1cblxuLm5hdi11bmRlcmxpbmUgLmFjdGl2ZSB7XG4gIGZvbnQtd2VpZ2h0OiA1MDA7XG4gIGNvbG9yOiAjMzQzYTQwO1xufVxuXG4ubmF2YmFyLW5hdiAubmF2LWl0ZW0ge1xuICBtYXJnaW4tbGVmdDogMC41cmVtO1xuICBtYXJnaW4tcmlnaHQ6IDAuNXJlbTtcbn1cblxuLm5hdmJhci1uYXYgYS5uYXYtbGluay5hY3RpdmUge1xuICBwb3NpdGlvbjogcmVsYXRpdmU7XG59XG5cbi5uYXZiYXItbmF2IGEubmF2LWxpbmsuYWN0aXZlOjpiZWZvcmUge1xuICBjb250ZW50OiBcIlwiO1xuICBib3JkZXItYm90dG9tOiAzcHggc29saWQgIzAzNGRhMjtcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICBsZWZ0OiAwO1xuICByaWdodDogMDtcbiAgYm90dG9tOiAtMTZweDtcbn1cblxuLyotLS0tLS0tLS0tLS1lbmQgbmV3IG1lbnUtLS0tLS0tLS0tLS0tLS0tLS0tLS0tKi9cbi5mYS1jaGV2cm9uLWRvd24sIC5mYS1jaGV2cm9uLXJpZ2h0IHtcbiAgY29sb3I6ICNmZmY7XG4gIGZsb2F0OiByaWdodDtcbn0iXX0= */\"","import { Component, OnInit } from '@angular/core';\r\nimport { UserService } from 'src/app/Services/usermanagement/user.service';\r\nimport { Router } from '@angular/router';\r\nimport { MenuItemService } from '../../../../Services/Utilities/menuitems.service';\r\nimport { HeaderService } from '../../../../Services/header/header.service';\r\nimport { HeaderComponent } from '../header/header.component';\r\n// import {OrderByPipe} from '../../../../Services/Utilities/orderby.pipe';\r\n\r\n\r\n@Component({\r\n selector: 'app-subheader',\r\n providers: [HeaderComponent],\r\n templateUrl: './subheader.component.html',\r\n styleUrls: ['./subheader.component.scss']\r\n})\r\nexport class SubheaderComponent implements OnInit {\r\n\r\n public userName: any;\r\n public menuItems: any;\r\n\r\n hideMenus: boolean;\r\n\r\n constructor(private router: Router, private userService: UserService,\r\n private menuItemService: MenuItemService, public headerService: HeaderService, public headerComponent: HeaderComponent) {\r\n this.hideMenus = true;\r\n }\r\n\r\n ngOnInit() {\r\n this.getMenuItems();\r\n const currentUser = JSON.parse(localStorage.getItem('currentUser'));\r\n if (currentUser !== null) {\r\n this.hideMenus = false;\r\n }\r\n this.userName = currentUser && currentUser.FirstName + ' ' + currentUser.LastName;\r\n this.headerService.show(this.userName);\r\n this.headerComponent.getLoggedInUserName();\r\n }\r\n\r\n /**\r\n * Get Menu items\r\n */\r\n public getMenuItems() {\r\n this.userService.getMenuAsPerUser().subscribe((data: any) => {\r\n this.menuItems = data;\r\n this.menuItemService.setMenuItems(data);\r\n },\r\n (err: any) => {\r\n console.log(err);\r\n });\r\n }\r\n\r\n public toggeleMenu() {\r\n $('.offcanvas-collapse').toggleClass('open');\r\n $('.backdrops').toggleClass('disBl');\r\n }\r\n\r\n public ToggleMenuItems(id: any, event: Event) {\r\n // /event.stopPropagation();\r\n var collapseMenu = document.getElementsByClassName('addBlock');\r\n if(collapseMenu && collapseMenu.length > 0) {\r\n collapseMenu[0].classList.remove('addBlock');\r\n }\r\n var expandMenu = document.getElementById('level2-'+id);\r\n if(expandMenu) {\r\n expandMenu.classList.add('addBlock');\r\n }\r\n }\r\n\r\n}\r\n","import { AfterViewInit, Directive, ElementRef, HostBinding, Input } from '@angular/core';\r\n\r\n@Directive({\r\n selector: 'img[appLazyLoad]'\r\n})\r\nexport class ImagelazyloadDirective implements AfterViewInit {\r\n\r\n @HostBinding('attr.src') srcAttr = null;\r\n @Input() src: string;\r\n\r\n constructor(private el: ElementRef) { }\r\n\r\n ngAfterViewInit() {\r\n this.canLazyLoad() ? this.lazyLoadImage() : this.loadImage();\r\n }\r\n\r\n private canLazyLoad() {\r\n return window && 'IntersectionObserver' in window;\r\n }\r\n\r\n private lazyLoadImage() {\r\n const obs = new IntersectionObserver(entries => {\r\n entries.forEach(({ isIntersecting }) => {\r\n if (isIntersecting) {\r\n this.loadImage();\r\n obs.unobserve(this.el.nativeElement);\r\n }\r\n });\r\n });\r\n obs.observe(this.el.nativeElement);\r\n }\r\n\r\n private loadImage() {\r\n this.srcAttr = this.src;\r\n }\r\n\r\n}\r\n","import { Directive,ElementRef, Input, Renderer } from '@angular/core';\r\nimport { RoleBasedAccessService } from '../Services/RoleBasedAccess/role-based-access.service';\r\nimport { MatSnackBar } from '@angular/material';\r\n\r\n@Directive({\r\n selector: '[appElementVisibility]'\r\n})\r\n\r\n\r\nexport class ElementVisibilityDirective {\r\n\r\n @Input('appElementVisibility') elementName: string;\r\n\r\n constructor(private el: ElementRef, private renderer: Renderer, private roleBasedAccessService:RoleBasedAccessService,private snackbar:MatSnackBar) { \r\n}\r\n\r\npublic ngOnInit()\r\n{\r\n //this.renderer.setElementStyle(this.el.nativeElement,'backgroundColor',this.elementName);\r\n this.roleBasedAccessService.isVisible(this.elementName).subscribe((data:any)=>{\r\n if(data.flag=='S'){\r\n if(data.result){\r\n this.renderer.setElementStyle(this.el.nativeElement,'display',null);\r\n }\r\n else\r\n {\r\n this.renderer.setElementStyle(this.el.nativeElement,'display','none');\r\n }\r\n }\r\n else{\r\n this.openSnackBar(data.message,'error');\r\n }\r\n });\r\n}\r\n\r\npublic openSnackBar(message: string, action: string) {\r\n this.snackbar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: 'top'\r\n });\r\n}\r\n\r\n}\r\n","import { NgModule } from '@angular/core';\r\n\r\nimport {\r\n MatButtonModule,\r\n MatSliderModule,\r\n MatInputModule,\r\n MatCardModule,\r\n MatSelectModule,\r\n MatDatepickerModule, MatExpansionModule, MatProgressSpinnerModule,\r\n MatNativeDateModule, MatTooltipModule, MatChipsModule, MatSlideToggleModule,\r\n MatSidenavModule, MatIconModule, MatListModule, MatToolbarModule, MatTabsModule, MatCheckboxModule, MatAutocompleteModule,\r\n MatGridListModule\r\n} from '@angular/material';\r\n// import { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\n\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatTableModule } from '@angular/material/table';\r\nimport { MatPaginatorModule } from '@angular/material';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { MatSnackBarModule } from '@angular/material/snack-bar';\r\nimport { MatSortModule } from '@angular/material/sort';\r\nimport { MatBadgeModule } from '@angular/material/badge';\r\n\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n MatButtonModule,\r\n MatBadgeModule,\r\n MatInputModule,\r\n MatCardModule,\r\n MatSelectModule,\r\n // BrowserAnimationsModule,\r\n MatDatepickerModule, MatExpansionModule,\r\n MatNativeDateModule, MatTooltipModule, MatProgressSpinnerModule,\r\n MatSliderModule, MatTabsModule, MatChipsModule, MatSlideToggleModule,\r\n MatSidenavModule, MatIconModule, MatListModule, MatToolbarModule, MatRadioModule,\r\n MatMenuModule, MatTableModule, MatPaginatorModule, MatSortModule, MatCheckboxModule, MatSnackBarModule, MatDialogModule,\r\n MatGridListModule\r\n ],\r\n exports: [\r\n MatButtonModule,\r\n MatBadgeModule,\r\n MatInputModule,\r\n MatCardModule,\r\n MatSelectModule,\r\n // BrowserAnimationsModule,\r\n MatDatepickerModule, MatExpansionModule,\r\n MatNativeDateModule, MatTooltipModule, MatProgressSpinnerModule,\r\n MatSliderModule, MatTabsModule, MatChipsModule, MatSlideToggleModule,\r\n MatSidenavModule, MatIconModule, MatListModule, MatToolbarModule, MatRadioModule, MatMenuModule,\r\n MatTableModule, MatPaginatorModule, MatSortModule, MatCheckboxModule, MatSnackBarModule, MatDialogModule,\r\n MatAutocompleteModule,\r\n MatGridListModule\r\n ]\r\n})\r\nexport class MaterialModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { BootstrapModule } from './bootstrap.module';\r\nimport { MaterialModule } from './material.module';\r\nimport { HeaderComponent } from './components/layout/header/header.component';\r\nimport { FooterComponent } from './components/layout/footer/footer.component';\r\nimport { SubheaderComponent } from './components/layout/subheader/subheader.component';\r\nimport { RouterModule } from '@angular/router';\r\nimport { UniqueUsernameValidatorDirective } from './unique-username-validator.directive';\r\nimport { CommonModule } from '@angular/common';\r\n//import { UploadDocsVehicleComponent } from '../Component/vehicle/upload-docs-vehicle/upload-docs-vehicle.component';\r\n//import { OrderPaymentConfirmationPopupComponent } from '../Component/orders/order-payment-confirmation-popup/order-payment-confirmation-popup.component';\r\nimport { ElementVisibilityDirective } from './element-visibility.directive';\r\nimport { ImagelazyloadDirective } from './directive/imagelazyload.directive';\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n HeaderComponent,\r\n FooterComponent,\r\n SubheaderComponent,\r\n //UploadDocsVehicleComponent,\r\n //OrderPaymentConfirmationPopupComponent,\r\n UniqueUsernameValidatorDirective,\r\n ElementVisibilityDirective, \r\n ImagelazyloadDirective\r\n ],\r\n imports: [\r\n MaterialModule,\r\n RouterModule,\r\n CommonModule,\r\n ReactiveFormsModule\r\n ],\r\n exports: [\r\n // Modules\r\n MaterialModule,\r\n BootstrapModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n \r\n\r\n // components\r\n HeaderComponent,\r\n FooterComponent,\r\n SubheaderComponent, \r\n //UploadDocsVehicleComponent,\r\n //OrderPaymentConfirmationPopupComponent,\r\n \r\n // Directives\r\n UniqueUsernameValidatorDirective,\r\n ElementVisibilityDirective, \r\n ImagelazyloadDirective\r\n ]\r\n})\r\nexport class SharedModule { }\r\n","import { Directive } from '@angular/core';\r\nimport { AsyncValidator, AbstractControl, ValidationErrors, NG_ASYNC_VALIDATORS, AsyncValidatorFn } from '@angular/forms';\r\nimport { Observable } from 'rxjs';\r\nimport { UserService } from 'src/app/Services/usermanagement/user.service';\r\nimport { map } from 'rxjs/operators';\r\n\r\n/**\r\n * Unique username validator\r\n *\r\n * @export\r\n * @param {UserService} userService\r\n * @returns {AsyncValidatorFn}\r\n */\r\nexport function UniqueUsernameValidator(userService: UserService): AsyncValidatorFn {\r\n return (control: AbstractControl): Promise | Observable => {\r\n\r\n // Set timeout, sufficient enough for checking username already taken by other user\r\n const q = new Promise((resolve, reject) => {\r\n setTimeout(() => {\r\n userService.isUsernameTaken(control.value).subscribe(\r\n (data: any) => {\r\n if (data.result === false) {\r\n resolve(null);\r\n } else {\r\n resolve({\r\n usernameTaken: {\r\n valid: true\r\n }\r\n });\r\n }\r\n },\r\n (error) => {\r\n resolve({\r\n usernameTaken: {\r\n valid: false\r\n }\r\n });\r\n });\r\n }, 3000);\r\n });\r\n\r\n return q;\r\n };\r\n}\r\n\r\n@Directive({\r\n selector: '[appUniqueUsername]',\r\n providers: [{ provide: NG_ASYNC_VALIDATORS, useExisting: UniqueUsernameValidatorDirective, multi: true }, UserService]\r\n})\r\nexport class UniqueUsernameValidatorDirective implements AsyncValidator {\r\n constructor(private userService: UserService) { }\r\n\r\n validate(control: AbstractControl): Promise | Observable {\r\n return UniqueUsernameValidator(this.userService)(control);\r\n }\r\n\r\n}\r\n","export const environment = {\r\n production: true,\r\n //siteKeyCaptcha: '6LdG9ZIUAAAAAKRJv-OyyEgO3gKoo7dsK8E4Xfnk',\r\n siteKeyCaptcha: '6LenhNMUAAAAABb3P17QFJGmlHHxvGOC363ysNha',\r\n // prod\r\n // restUrl: 'http://10.131.81.199/RIMAP_SERVICE',\r\n // socketUrl: 'http://10.131.81.199/RIMAP',\r\n\r\n restUrl: 'https://rimap.ril.com/RIMAP_SERVICE/',\r\n socketUrl: 'https://rimap.ril.com/RIMAP/',\r\n // googleMapsApiKey: 'AIzaSyCFFkCxzPZcYaN4AquxdydmR9pHvftHRq4'\r\n googleMapsApiKey: 'AIzaSyDlmJcgSeJ1SYx5XrxjVdNXg2fKtFKWQEw',\r\n googleMapsApiClient: 'gme-reliancecorporate2'\r\n};\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","/* (ignored) */","/* (ignored) */","/* (ignored) */"],"sourceRoot":""}