{"version":3,"sources":["webpack:///./src/components/auth/forgotpassword/Reset.vue?ed83","webpack:///./src/components/auth/forgotpassword/Reset.vue?faa2","webpack:///src/components/auth/forgotpassword/Reset.vue","webpack:///./src/components/auth/forgotpassword/Reset.vue?b3bf","webpack:///./src/components/auth/forgotpassword/Reset.vue","webpack:///./src/assets/images/client.logo.6cd958a2.png"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_m","_v","_s","title","_e","statusMsg","domProps","resMsg","attrs","directives","name","rawName","value","expression","on","$event","target","composing","email","errors","has","first","length","loading","preventDefault","reset","resetSuccess","submit","newPassword","confPassword","resetCode","staticRenderFns","data","showRes","isRequest","isReset","created","$route","params","computed","methods","$nextTick","payload","$instance","component","module","exports"],"mappings":"kHAAA,W,2CCAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,SAAS,CAACN,EAAIO,GAAG,GAAGH,EAAG,KAAK,CAACJ,EAAIQ,GAAGR,EAAIS,GAAGT,EAAIU,OAAO,uBAAwBV,EAAW,QAAEI,EAAG,MAAM,CAACE,YAAY,yBAAyB,CAACN,EAAIO,GAAG,GAAGH,EAAG,QAAQJ,EAAIW,KAAMX,EAAW,QAAEI,EAAG,MAAM,CAACA,EAAG,aAAa,CAACE,YAAY,cAAc,CAACN,EAAIQ,GAAG,WAAWR,EAAIS,GAAGT,EAAIY,WAAW,YAAYR,EAAG,SAAS,CAACE,YAAY,oBAAoBO,SAAS,CAAC,UAAYb,EAAIS,GAAGT,EAAIc,eAAed,EAAIW,KAAMX,EAAa,UAAEI,EAAG,MAAM,CAACW,MAAM,CAAC,GAAK,UAAU,CAACX,EAAG,OAAO,CAACW,MAAM,CAAC,KAAO,QAAQ,aAAe,QAAQ,CAACX,EAAG,MAAM,CAACE,YAAY,cAAc,CAACF,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,E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AAR,kDCjN6W,I,wBCQzWC,EAAY,eACd,EACApD,EACAuC,GACA,EACA,KACA,KACA,MAIa,aAAAa,E,8BCnBfC,EAAOC,QAAU,IAA0B,yC","file":"js/chunk-1fce0971.5a6fb0be.js","sourcesContent":["export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Reset.vue?vue&type=style&index=0&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"login\"},[_vm._m(0),_c('h2',[_vm._v(_vm._s(_vm.title)+\" Account Password\")]),(_vm.loading)?_c('div',{staticClass:\"spinner-box-container\"},[_vm._m(1),_c('br')]):_vm._e(),(_vm.showRes)?_c('div',[_c('blockquote',{staticClass:\"blockquote\"},[_vm._v(\"\\n \"+_vm._s(_vm.statusMsg)+\"\\n \"),_c('footer',{staticClass:\"blockquote-footer\",domProps:{\"innerHTML\":_vm._s(_vm.resMsg)}})])]):_vm._e(),(_vm.isRequest)?_c('div',{attrs:{\"id\":\"reset\"}},[_c('form',{attrs:{\"name\":\"reset\",\"autocomplete\":\"off\"}},[_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.email),expression:\"email\"},{name:\"validate\",rawName:\"v-validate\",value:('required|email'),expression:\"'required|email'\"}],attrs:{\"type\":\"text\",\"name\":\"emailAddress\",\"id\":\"emailAddress\",\"required\":\"required\"},domProps:{\"value\":(_vm.email)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.email=$event.target.value}}}),_c('label',{staticClass:\"control-label\",attrs:{\"for\":\"emailAddress\"}},[_vm._v(\"Email Address\")]),_c('i',{staticClass:\"bar\"}),_c('small',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.errors.has('emailAddress')),expression:\"errors.has('emailAddress')\"}],staticClass:\"help text-danger\"},[_vm._v(_vm._s(_vm.errors.first('emailAddress')))])])]),_c('div',{staticClass:\"d-flex align--center justify--space-between\"},[_c('button',{staticClass:\"btn btn-info btn-sm\",attrs:{\"disabled\":_vm.email.length==0 || _vm.loading,\"type\":\"submit\"},on:{\"click\":function($event){$event.preventDefault();return _vm.reset($event)}}},[_vm._v(\"Reset\")]),_c('router-link',{staticClass:\"link flex-center pl-2 text-center\",attrs:{\"to\":{name: 'login'}}},[_vm._v(\"Login to Account\")])],1)])]):_vm._e(),(_vm.isReset)?_c('div',[(_vm.resetSuccess)?_c('div',{staticClass:\"text-center\"},[_c('p',{},[_vm._v(\"\\n Password reset successful.\\n \"),_c('br'),_vm._v(\"Click\\n \"),_c('router-link',{staticClass:\"link\",attrs:{\"to\":{name: 'login'}}},[_vm._v(\"Here\")]),_vm._v(\"Â to Login to account\\n \")],1)]):_vm._e(),(!_vm.resetSuccess)?_c('div',[_c('form',{attrs:{\"name\":\"setPassword\",\"autocomplete\":\"off\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.submit($event)}}},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-12\"},[_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.newPassword),expression:\"newPassword\"},{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],attrs:{\"type\":\"password\",\"id\":\"newPassword\",\"name\":\"newPassword\",\"required\":\"required\"},domProps:{\"value\":(_vm.newPassword)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.newPassword=$event.target.value}}}),_c('label',{staticClass:\"control-label\",attrs:{\"for\":\"newPassword\"}},[_vm._v(\"New Password\")]),_c('i',{staticClass:\"bar\"}),_c('small',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.errors.has('newPassword')),expression:\"errors.has('newPassword')\"}],staticClass:\"help text-danger\"},[_vm._v(_vm._s(_vm.errors.first('newPassword')))])])]),_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.confPassword),expression:\"confPassword\"},{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],attrs:{\"type\":\"password\",\"id\":\"confPassword\",\"name\":\"confirmPassword\",\"required\":\"required\"},domProps:{\"value\":(_vm.confPassword)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.confPassword=$event.target.value}}}),_c('label',{staticClass:\"control-label\",attrs:{\"for\":\"confPassword\"}},[_vm._v(\"Confirm Password\")]),_c('i',{staticClass:\"bar\"}),_c('small',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.errors.has('confirmPassword')),expression:\"errors.has('confirmPassword')\"}],staticClass:\"help text-danger\"},[_vm._v(_vm._s(_vm.errors.first('confirmPassword')))])])])])]),_c('div',{staticClass:\"d-flex align--center justify--space-between\"},[_c('button',{staticClass:\"btn btn-info btn-sm\",attrs:{\"disabled\":_vm.loading|| _vm.resetCode.length==0|| _vm.newPassword.length==0|| _vm.newPassword !=_vm.confPassword,\"type\":\"submit\"}},[_vm._v(\"Submit\")]),_c('router-link',{staticClass:\"link flex-center pl-2 text-center\",attrs:{\"to\":{name: 'login'}}},[_vm._v(\"Login to Account\")])],1)])]):_vm._e()]):_vm._e()])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('img',{attrs:{\"src\":require(\"@/assets/images/client.logo.6cd958a2.png\")}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"spinner-box\"},[_c('i',{staticClass:\"fa fa-spinner fa-spin\"}),_vm._v(\" loading ..please wait..\\n \")])}]\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"login\">\r\n <div class=\"text-center\">\r\n <img src=\"@/assets/images/client.logo.6cd958a2.png\" />\r\n </div>\r\n <h2>{{title}} Account Password</h2>\r\n <div v-if=\"loading\" class=\"spinner-box-container\">\r\n <div class=\"spinner-box\">\r\n <i class=\"fa fa-spinner fa-spin\"></i> loading ..please wait..\r\n </div>\r\n <br />\r\n </div>\r\n <div v-if=\"showRes\">\r\n <blockquote class=\"blockquote\">\r\n {{statusMsg}}\r\n <footer class=\"blockquote-footer\" v-html=\"resMsg\"></footer>\r\n </blockquote>\r\n </div>\r\n <div id=\"reset\" v-if=\"isRequest\">\r\n <form name=\"reset\" autocomplete=\"off\">\r\n <div class=\"form-group\">\r\n <div class=\"input-group\">\r\n <input\r\n type=\"text\"\r\n v-model=\"email\"\r\n name=\"emailAddress\"\r\n v-validate=\"'required|email'\"\r\n id=\"emailAddress\"\r\n required=\"required\"\r\n />\r\n <label class=\"control-label\" for=\"emailAddress\">Email Address</label>\r\n <i class=\"bar\" />\r\n <small\r\n v-show=\"errors.has('emailAddress')\"\r\n class=\"help text-danger\"\r\n >{{ errors.first('emailAddress') }}</small>\r\n </div>\r\n </div>\r\n <div class=\"d-flex align--center justify--space-between\">\r\n <button\r\n @click.prevent=\"reset\"\r\n class=\"btn btn-info btn-sm\"\r\n :disabled=\"email.length==0 || loading\"\r\n type=\"submit\"\r\n >Reset</button>\r\n <router-link\r\n class=\"link flex-center pl-2 text-center\"\r\n :to=\"{name: 'login'}\"\r\n >Login to Account</router-link>\r\n </div>\r\n </form>\r\n </div>\r\n\r\n <div v-if=\"isReset\">\r\n <div class=\"text-center\" v-if=\"resetSuccess\">\r\n <p class>\r\n Password reset successful.\r\n <br />Click\r\n <router-link class=\"link\" :to=\"{name: 'login'}\">Here</router-link> to Login to account\r\n </p>\r\n </div>\r\n <div v-if=\"!resetSuccess\">\r\n <form @submit.prevent=\"submit\" name=\"setPassword\" autocomplete=\"off\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div class=\"form-group\">\r\n <div class=\"input-group\">\r\n <input\r\n type=\"password\"\r\n id=\"newPassword\"\r\n v-model=\"newPassword\"\r\n name=\"newPassword\"\r\n v-validate=\"'required'\"\r\n required=\"required\"\r\n />\r\n <label class=\"control-label\" for=\"newPassword\">New Password</label>\r\n <i class=\"bar\" />\r\n <small\r\n v-show=\"errors.has('newPassword')\"\r\n class=\"help text-danger\"\r\n >{{ errors.first('newPassword') }}</small>\r\n </div>\r\n </div>\r\n <div class=\"form-group\">\r\n <div class=\"input-group\">\r\n <input\r\n type=\"password\"\r\n id=\"confPassword\"\r\n v-model=\"confPassword\"\r\n name=\"confirmPassword\"\r\n v-validate=\"'required'\"\r\n required=\"required\"\r\n />\r\n <label class=\"control-label\" for=\"confPassword\">Confirm Password</label>\r\n <i class=\"bar\" />\r\n <small\r\n v-show=\"errors.has('confirmPassword')\"\r\n class=\"help text-danger\"\r\n >{{ errors.first('confirmPassword') }}</small>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"d-flex align--center justify--space-between\">\r\n <button\r\n class=\"btn btn-info btn-sm\"\r\n :disabled=\"loading|| resetCode.length==0|| newPassword.length==0|| newPassword !=confPassword\"\r\n type=\"submit\"\r\n >Submit</button>\r\n <router-link\r\n class=\"link flex-center pl-2 text-center\"\r\n :to=\"{name: 'login'}\"\r\n >Login to Account</router-link>\r\n </div>\r\n </form>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: \"forgot-password\",\r\n data() {\r\n return {\r\n email: \"\",\r\n resMsg: \"\",\r\n statusMsg: \"\",\r\n loading: false,\r\n showRes: false,\r\n isRequest: true,\r\n isReset: false,\r\n resetCode: \"\",\r\n title: \"Reset\",\r\n confPassword: \"\",\r\n newPassword: \"\",\r\n resetSuccess: false\r\n };\r\n },\r\n created() {\r\n if (this.$route.params.resetCode) {\r\n this.resetCode = this.$route.params.resetCode;\r\n this.isReset = true;\r\n this.title = \"Set\";\r\n this.isRequest = false;\r\n } else {\r\n this.isRequest = true;\r\n this.isReset = false;\r\n this.title = \"Reset\";\r\n }\r\n },\r\n computed: {},\r\n methods: {\r\n submit() {\r\n this.$nextTick(() => {\r\n this.$validator.validateAll();\r\n });\r\n var payload = {\r\n newPassword: this.newPassword,\r\n resetCode: this.resetCode\r\n };\r\n this.loading = true;\r\n this.$instance\r\n .post(\"users/setPassword\", payload)\r\n .then(response => {\r\n this.loading = false;\r\n\r\n this.showRes = true;\r\n let res = response.response.data;\r\n this.resMsg = res.description;\r\n if (res.success) {\r\n this.resetSuccess = true;\r\n this.statusMsg = \"Success\";\r\n } else {\r\n this.statusMsg = \"Failed\";\r\n }\r\n })\r\n .catch(error => {\r\n this.showRes = true;\r\n this.loading = false;\r\n let notification = error.notification;\r\n this.resMsg = notification.message;\r\n this.statusMsg = \"Failed.Unexpected error occured\";\r\n });\r\n },\r\n reset() {\r\n this.$nextTick(() => {\r\n this.$validator.validateAll();\r\n });\r\n this.loading = true;\r\n this.$instance\r\n .get(\"users/reset/\" + this.email)\r\n .then(response => {\r\n this.loading = false;\r\n\r\n this.showRes = true;\r\n let res = response.response.data;\r\n this.resMsg = res.description;\r\n if (res.success) {\r\n this.statusMsg = \"Success\";\r\n } else {\r\n this.statusMsg = \"Failed\";\r\n }\r\n })\r\n .catch(error => {\r\n this.showRes = true;\r\n this.loading = false;\r\n let notification = error.notification;\r\n this.resMsg = notification.message;\r\n this.statusMsg = \"Failed.Unexpected error occured\";\r\n });\r\n }\r\n }\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n.login {\r\n @include media-breakpoint-down(md) {\r\n width: 100%;\r\n padding-right: 2rem;\r\n padding-left: 2rem;\r\n .down-container {\r\n display: none;\r\n }\r\n }\r\n\r\n h2 {\r\n text-align: center;\r\n }\r\n width: 21.375rem;\r\n\r\n .down-container {\r\n margin-top: 3.125rem;\r\n }\r\n}\r\n</style>\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Reset.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Reset.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Reset.vue?vue&type=template&id=389ab8a8&\"\nimport script from \"./Reset.vue?vue&type=script&lang=js&\"\nexport * from \"./Reset.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Reset.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/client.logo.6cd958a2.6cd958a2.png\";"],"sourceRoot":""}