{"version":3,"sources":["webpack:///./src/components/footer.component.vue?d349","webpack:///./src/components/footer.component.vue","webpack:///./src/components/footer.component.vue?4b93","webpack:///./src/components/footer.component.vue?521c","webpack:///./src/views/login/reset-password.view.vue?9d13","webpack:///./src/components/password/reset-password-form.component.vue?734f","webpack:///./src/components/password/reset-password-form.component.vue","webpack:///./src/components/password/reset-password-form.component.vue?9b37","webpack:///./src/components/password/reset-password-form.component.vue?8ce3","webpack:///./src/views/login/reset-password.view.vue","webpack:///./src/views/login/reset-password.view.vue?13af","webpack:///./src/views/login/reset-password.view.vue?aa8d","webpack:///./src/assets/logo-white.png"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","_s","_f","Date","staticRenderFns","FooterComponent","component","attrs","ref","on","$event","preventDefault","scopedSlots","_u","key","fn","classes","class","$mq","type","indexOf","_k","keyCode","stopPropagation","onSaveClick","model","value","callback","$$v","password","expression","confirmPassword","showButtonLoading","_e","ResetPasswordFormComponent","$toasted","error","errorMessages","join","success","$refs","form","validate","email","token","authenticationModule","store","resetPasswordAction","hasErrorMessages","$router","replace","name","login","components","ValidationObserver","ValidationProvider","computed","$route","query","ForgotPasswordView","module","exports"],"mappings":"gHAAA,IAAIA,OAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,SAAS,CAACE,YAAY,eAAe,CAACF,EAAG,cAAc,CAACA,EAAG,QAAQ,CAACA,EAAG,QAAQ,CAACE,YAAY,eAAe,CAACN,EAAIO,GAAG,cAAcP,EAAIQ,GAAGR,EAAIS,GAAG,SAAPT,CAAiB,IAAIU,KAAO,SAAS,OAAON,EAAG,SAAS,CAACJ,EAAIO,GAAG,qBAAqB,IAAI,IAAI,MAC9UI,EAAkB,G,wBCkBtB,IAAqB,EAArB,MAAqBC,wBAAwB,SAAxB,EAAe,gBADnC,QACoB,WCnBsX,I,YCOvYC,EAAY,e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KACA,KACA,MAIa,EAAAA,E,QCCf,IAAqB,EAArB,MAAqBqD,2BAA2B,SAA3B,EAAkB,gBALtC,eAAU,CACTN,WAAY,CACVnB,2BAAA,MAGiB,WCnB2Y,ICO5Z,EAAY,eACd,EACA1C,OACAY,GACA,EACA,KACA,KACA,MAIa,e,8BClBfwD,EAAOC,QAAU,IAA0B","file":"js/chunk-bc9f1fea.8763fc17.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('footer',{staticClass:\"footer py-3\"},[_c('b-container',[_c('b-row',[_c('b-col',{staticClass:\"text-center\"},[_vm._v(\" Copyright \"+_vm._s(_vm._f(\"moment\")(new Date(),'YYYY'))+\" © \"),_c('strong',[_vm._v(\"Paw Finders™\")])])],1)],1)],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\n\n@Component\nexport default class FooterComponent extends Vue {}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./footer.component.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./footer.component.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./footer.component.vue?vue&type=template&id=6ce4e128&\"\nimport script from \"./footer.component.vue?vue&type=script&lang=ts&\"\nexport * from \"./footer.component.vue?vue&type=script&lang=ts&\"\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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-container',{staticClass:\"main pb-0\"},[_c('b-row',{staticClass:\"vh-100\"},[_c('b-col',{staticClass:\"my-auto\",attrs:{\"offset-md\":\"2\",\"offset-lg\":\"3\",\"md\":\"8\",\"lg\":\"6\"}},[_c('ResetPasswordFormComponent')],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('ValidationObserver',{ref:\"form\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();}}},[_c('b-card',{staticClass:\"py-4\",attrs:{\"no-body\":\"\",\"text-variant\":\"white\",\"bg-variant\":\"secondary\",\"border-variant\":\"secondary\"}},[_c('b-row',[_c('b-col',{staticClass:\"px-4\"},[_c('div',{staticClass:\"mx-3\"},[_c('div',{staticClass:\"pb-3\"},[_c('img',{attrs:{\"src\":require(\"@/assets/logo-white.png\"),\"alt\":\"Paw Finders Logo\",\"width\":\"200\"}})]),_c('b-card-title',{staticClass:\"mb-3 text-white\"},[_vm._v(\" Password \"),_c('b-icon-info-circle',{attrs:{\"id\":\"password-tooltip\"}})],1),_c('b-form-group',{staticClass:\"mb-3\"},[_c('ValidationProvider',{attrs:{\"rules\":\"required|password\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar classes = ref.classes;\nreturn [_c('b-form-input',{staticClass:\"inverse\",class:classes,attrs:{\"size\":_vm.$mq !== 'sm' ? 'lg' : '',\"type\":\"password\",\"placeholder\":\"new password\"},on:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }$event.preventDefault();$event.stopPropagation();return _vm.onSaveClick($event)}},model:{value:(_vm.password),callback:function ($$v) {_vm.password=$$v},expression:\"password\"}})]}}])})],1),_c('b-form-group',{staticClass:\"mb-3\"},[_c('ValidationProvider',{attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar classes = ref.classes;\nreturn [_c('b-form-input',{staticClass:\"inverse\",class:classes,attrs:{\"size\":_vm.$mq !== 'sm' ? 'lg' : '',\"placeholder\":\"confirm new password\",\"type\":\"password\"},on:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }$event.preventDefault();$event.stopPropagation();return _vm.onSaveClick($event)}},model:{value:(_vm.confirmPassword),callback:function ($$v) {_vm.confirmPassword=$$v},expression:\"confirmPassword\"}})]}}])})],1),_c('div',{staticClass:\"d-flex flex-row-reverse\"},[_c('b-button',{staticClass:\"w-50\",attrs:{\"size\":_vm.$mq !== 'sm' ? 'lg' : '',\"variant\":\"outline-light\",\"disabled\":_vm.showButtonLoading},on:{\"click\":function($event){$event.preventDefault();return _vm.onSaveClick($event)}}},[_vm._v(\" Save \"),(_vm.showButtonLoading)?_c('b-icon-arrow-clockwise',{attrs:{\"animation\":\"spin\"}}):_vm._e()],1)],1)],1)])],1)],1)],1)]),_c('b-tooltip',{ref:\"tooltip\",attrs:{\"target\":\"password-tooltip\"}},[_vm._v(\" Must be at least 6 characters and contain at least 1 uppercase, lowercase, number, and special character. \")]),_c('FooterComponent')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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\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\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\nimport { Component, Vue, Watch } from 'vue-property-decorator';\nimport { ValidationProvider, ValidationObserver } from 'vee-validate';\nimport FooterComponent from '@/components/footer.component.vue';\nimport AuthenticationModule from '@/store/modules/authentication.module';\nimport { getModule } from 'vuex-module-decorators';\nimport store from '@/store';\nimport { AuthenticationActions } from '@/constants/actions.constants';\nimport { mapState, mapGetters } from 'vuex';\nimport { routeName } from '@/constants/route.constants';\n\n@Component({\n components: {\n ValidationObserver,\n ValidationProvider,\n FooterComponent\n },\n computed: {\n token(): string | (string | null)[] {\n return this.$route.query.token;\n },\n email(): string | (string | null)[] {\n return this.$route.query.email;\n },\n ...mapState('authentication', ['showButtonLoading']),\n ...mapGetters('authentication', ['hasErrorMessages', 'errorMessages'])\n }\n})\nexport default class ResetPasswordFormComponent extends Vue {\n public showButtonLoading!: boolean;\n public hasErrorMessages!: boolean;\n public errorMessages!: Array;\n public token: string | (string | null)[];\n public email: string | (string | null)[];\n public password = '';\n public confirmPassword = '';\n\n public $refs: {\n form: HTMLFormElement;\n };\n\n @Watch('hasErrorMessages')\n private onHasErrorMessagesChanged(value: boolean) {\n if (value) {\n return this.$toasted.error(this.errorMessages.join());\n }\n }\n\n public async onSaveClick() {\n const success: boolean = await this.$refs.form.validate();\n\n if (!success || !this.email || !this.token) {\n return;\n }\n\n const authenticationModule: AuthenticationModule = getModule(\n AuthenticationModule,\n store\n );\n\n await authenticationModule[AuthenticationActions.resetPasswordAction]({\n email: this.email as string,\n password: this.password,\n confirmPassword: this.confirmPassword,\n token: this.token as string\n });\n\n if (!this.hasErrorMessages) {\n this.$toasted.success('Password reset successfully.');\n\n await this.$router.replace({ name: routeName.login });\n }\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./reset-password-form.component.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./reset-password-form.component.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./reset-password-form.component.vue?vue&type=template&id=2dfbf5b6&\"\nimport script from \"./reset-password-form.component.vue?vue&type=script&lang=ts&\"\nexport * from \"./reset-password-form.component.vue?vue&type=script&lang=ts&\"\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","\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\nimport ResetPasswordFormComponent from '@/components/password/reset-password-form.component.vue';\n\n@Component({\n components: {\n ResetPasswordFormComponent\n }\n})\nexport default class ForgotPasswordView extends Vue {}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./reset-password.view.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./reset-password.view.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./reset-password.view.vue?vue&type=template&id=a42523f0&\"\nimport script from \"./reset-password.view.vue?vue&type=script&lang=ts&\"\nexport * from \"./reset-password.view.vue?vue&type=script&lang=ts&\"\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/logo-white.d972e702.png\";"],"sourceRoot":""}