{"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/assets/logo-white.png","webpack:///./src/views/login/login.view.vue?7924","webpack:///./src/components/login/login.component.vue?2c6a","webpack:///./src/components/login/login-form.component.vue?4f07","webpack:///./src/components/login/login-form.component.vue","webpack:///./src/components/login/login-form.component.vue?7467","webpack:///./src/components/login/login-form.component.vue?6f72","webpack:///./src/components/login/forgot-password-form.component.vue?3dc5","webpack:///./src/components/login/forgot-password-form.component.vue","webpack:///./src/components/login/forgot-password-form.component.vue?a461","webpack:///./src/components/login/forgot-password-form.component.vue?ef7d","webpack:///./src/components/login/login.component.vue","webpack:///./src/components/login/login.component.vue?3bd1","webpack:///./src/components/login/login.component.vue?86fa","webpack:///./src/views/login/login.view.vue","webpack:///./src/views/login/login.view.vue?6d1d","webpack:///./src/views/login/login.view.vue?6d91"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","_s","_f","Date","staticRenderFns","FooterComponent","component","module","exports","attrs","key","ref","on","$event","preventDefault","scopedSlots","_u","fn","classes","class","$mq","type","indexOf","_k","keyCode","stopPropagation","onLoginClick","model","value","callback","$$v","email","expression","password","showButtonLoading","_e","onForgotPasswordClick","authenticationModule","store","LoginFormComponent","jwtRoles","$toasted","error","errorMessages","join","success","$refs","form","validate","loginAction","isCustomer","hasErrorMessages","roles","includes","Admin","$router","replace","path","admin","base","Veterinarian","VeterinarianUser","veterinarian","changeComponentStateAction","components","ValidationObserver","ValidationProvider","computed","onSendClick","onBackToLoginClick","ForgotPasswordComponent","forgotPasswordAction","onComplete","duration","LoginComponent","LoginView"],"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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6C,eACjD,OACAyC,EAAA,MAaF,IAAqB,EAArB,MAAqBgC,gCAAgC,OAArD,c,oBAES,KAAAvC,MAAQ,GAMR,UACLrC,KAAKqC,MAAQ,GAGR,oBACL,MAAMc,QAAyBnD,KAAKoD,MAAMC,KAAKC,WAE1CH,UAKC,EAAqB0B,qBAAqB,CAC9CxC,MAAOrC,KAAKqC,QAGdrC,KAAK+C,SAASI,QACZ,kGACA,CACE2B,WAAY,KACV9E,KAAK2E,sBAEPI,SAAU,OAKT,qBACL,EAAqBV,4BAA2B,KApC/B,EAAuB,gBAV3C,eAAU,CACTC,WAAY,CACVC,mBAAA,OACAC,mBAAA,OACA7D,gBAAA,QAEF8D,SAAU,kBACL,eAAS,iBAAkB,CAAC,0BAGd,WC/FsZ,ICOva,EAAY,eACd,EACA,mEACA,GACA,EACA,KACA,KACA,MAIa,I,QCMf,IAAqB,EAArB,MAAqBO,uBAAuB,SAAvB,EAAc,gBATlC,eAAU,CACTV,WAAY,CACVzB,mBAAA,EACA+B,wBAAA,GAEFH,SAAU,kBACL,eAAS,iBAAkB,CAAC,yBAGd,WCxBuY,ICOxZ,EAAY,eACd,EACA,oDACA,GACA,EACA,KACA,KACA,MAIa,I,QCCf,IAAqB,EAArB,MAAqBQ,kBAAkB,SAAlB,EAAS,gBAL7B,eAAU,CACTX,WAAY,CACVU,eAAA,MAGiB,WCnBkY,ICOnZ,EAAY,eACd,EACAlF,OACAY,GACA,EACA,KACA,KACA,MAIa,e","file":"js/chunk-754dfe1c.b5e18c78.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","module.exports = __webpack_public_path__ + \"img/logo-white.d972e702.png\";","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('LoginComponent')],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('transition',{attrs:{\"name\":\"slide-right\",\"mode\":\"out-in\"}},[(_vm.isLoginComponent)?_c('LoginFormComponent',{key:\"login\"}):_c('ForgotPasswordComponent',{key:\"forgot\"})],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\",\"title\":\"Login\"}},[_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(\" Login \")]),_c('b-form-group',{staticClass:\"mb-3\"},[_c('ValidationProvider',{attrs:{\"rules\":\"required|email\"},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\":\"email\",\"placeholder\":\"email address\"},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.onLoginClick($event)}},model:{value:(_vm.email),callback:function ($$v) {_vm.email=$$v},expression:\"email\"}})]}}])})],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\":\"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.onLoginClick($event)}},model:{value:(_vm.password),callback:function ($$v) {_vm.password=$$v},expression:\"password\"}})]}}])})],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.onLoginClick($event)}}},[_vm._v(\" Login \"),(_vm.showButtonLoading)?_c('b-icon-arrow-clockwise',{attrs:{\"animation\":\"spin\"}}):_vm._e()],1)],1),_c('p',{staticClass:\"mt-3 mb-0\"},[_c('b-link',{on:{\"click\":_vm.onForgotPasswordClick}},[_vm._v(\"Forgot your password?\")])],1)],1)])],1)],1)],1)]),_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\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 store from '@/store';\nimport { getModule } from 'vuex-module-decorators';\nimport { mapState, mapGetters } from 'vuex';\nimport { routePath } from '@/constants/route.constants';\nimport { Role } from '@/constants/role.constants';\n// import { container, cid } from 'inversify-props';\n// import { PaymentsService } from '../../services/payments.service';\n// import RegisteredTagModule from '@/store/modules/registered-tag.module';\n// import { UpdateRegisteredTagRequest } from '../../models/DTO/registered-tag/update-registered-tag-request.model';\n// import CustomersModule from '@/store/modules/customer.module';\n// import { PreferredContactMethodType } from '@/constants/preferred-contact-method-type';\n// import { PhoneNumberType } from '@/constants/phone-number-type';\n// import AdminUserModule from '@/store/modules/admin-user.module';\n// import VeterinarianOfficeUserModule from '@/store/modules/veterinarian-office-user.module';\n\nconst authenticationModule: AuthenticationModule = getModule(\n AuthenticationModule,\n store\n);\n\n@Component({\n components: {\n ValidationObserver,\n ValidationProvider,\n FooterComponent\n },\n computed: {\n ...mapState('authentication', ['showButtonLoading']),\n ...mapGetters('authentication', ['hasErrorMessages', 'errorMessages'])\n }\n})\nexport default class LoginFormComponent extends Vue {\n public showButtonLoading!: boolean;\n public hasErrorMessages!: boolean;\n public errorMessages!: Array;\n public email = '';\n public password = '';\n\n public $refs: {\n form: HTMLFormElement;\n };\n\n public get roles(): Array {\n return authenticationModule.jwtRoles;\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 created() {\n this.email = process.env.VUE_APP_EMAIL ?? '';\n this.password = process.env.VUE_APP_PASSWORD ?? '';\n }\n\n public async onLoginClick() {\n const success: boolean = await this.$refs.form.validate();\n\n if (!success) {\n return;\n }\n\n // setup login\n await authenticationModule.loginAction({\n email: this.email,\n password: this.password,\n isCustomer: false\n });\n\n if (!this.hasErrorMessages) {\n if (this.roles.includes(Role.Admin)) {\n await this.$router.replace({ path: routePath.admin.base });\n } else if (\n this.roles.includes(Role.Veterinarian) ||\n this.roles.includes(Role.VeterinarianUser)\n ) {\n await this.$router.replace({ path: routePath.veterinarian.base });\n }\n }\n }\n\n // public async onLoginClick() {\n // const success: boolean = await this.$refs.form.validate();\n\n // if (!success) {\n // return;\n // }\n\n // // await authenticationModule.loginAction({\n // // email: this.email,\n // // password: this.password,\n // // isCustomer: false\n // // });\n\n // // await authenticationModule.customerLoginTokenRequestAction({\n // // email: this.email\n // // });\n\n // // await authenticationModule.loginAction({\n // // email: this.email,\n // // password: this.password,\n // // isCustomer: true\n // // });\n\n // // await authenticationModule.logoutAction();\n\n // // const adminUserModule = getModule(AdminUserModule, store);\n // // await adminUserModule.getAllAdminUsersAction();\n // // setTimeout(() => {\n // // adminUserModule.resetStateAction();\n // // }, 5000);\n\n // // await authenticationModule.registerVeterinarianAction({\n // // email: 'scott+vetuser1@redhawk-tech.com',\n // // firstName: 'Scott',\n // // lastName: 'Vet User 1',\n // // veterinarianOfficeId: 'AFB50A9E-0D78-4247-820F-0045093545D0',\n // // role: 'Veterinarian_User'\n // // });\n\n // // const vetUserModule = getModule(VeterinarianOfficeUserModule, store);\n // // // await vetUserModule.getByIdAction('6dd5b5c1-6d31-4cfa-adc7-f224ec0ec9b4');\n // // await vetUserModule.updateVeterinarianOfficeUserAction({\n // // id: '5e8211ee-60fa-44c9-abfa-5141e1839838',\n // // firstName: 'Scott',\n // // lastName: 'Vet User 1',\n // // rolesToAdd: [Role.VeterinarianUser /* , Role.Customer */],\n // // rolesToRemove: [Role.Customer]\n // // });\n\n // // const customersModule = getModule(CustomersModule, store);\n // // await customersModule.getAllCustomersAction();\n // // await customersModule.getCustomerByIdAction(\n // // 'e61654f6-e2b7-4b90-8ae7-00775cca16c7'\n // // );\n // // await customersModule.getCustomerByEmailAction(\n // // 'scott+customer3@redhawk-tech.com'\n // // );\n // // await customersModule.registerCustomerAction({\n // // firstName: 'Scott',\n // // lastName: 'Customer 4',\n // // preferredContactMethodId: PreferredContactMethodType.Website,\n // // address1: null,\n // // city: null,\n // // state: null,\n // // zipCode: null,\n // // email: 'scott+customer4@redhawk-tech.com',\n // // website: 'https://facebook.com'\n // // });\n // // await authenticationModule.logoutAction();\n // // await authenticationModule.acceptTermsAction(true);\n // // await customersModule.registerCustomerIfNeededAction({\n // // firstName: 'Scott',\n // // lastName: 'Customer 7',\n // // preferredContactMethodId: PreferredContactMethodType.Website,\n // // address1: null,\n // // city: null,\n // // state: null,\n // // zipCode: null,\n // // email: 'scott+customer7@redhawk-tech.com',\n // // website: 'https://facebook.com'\n // // });\n // // await customersModule.updateCustomerAction({\n // // id: 'CD7696D5-8B80-4021-969C-A6E77A8A4E94',\n // // firstName: 'Scott',\n // // lastName: 'Customer 2',\n // // preferredContactMethodId: PreferredContactMethodType.Call,\n // // email: 'scott+customer2@redhawk-tech.com',\n // // phoneNumber: '5555555555',\n // // phoneNumberTypeId: PhoneNumberType.Mobile\n // // });\n\n // // const registeredTagModule = getModule(RegisteredTagModule, store);\n // // await authenticationModule.acceptTermsAction(true);\n // // await registeredTagModule.isTagRegisteredAction('z12345');\n // // await registeredTagModule.getTagByIdAction(\n // // 'C8F9750F-952E-47E9-B8C9-0067BA37ABEE'\n // // );\n // // await registeredTagModule.getTagByCodeAction('Z02425');\n // // await registeredTagModule.isTagRegistered('Z00000');\n // // await registeredTagModule.getAllTagsAction();\n // // await registeredTagModule.getAllTagsByVeterinarianOfficeIdAction(\n // // '6216D82B-D437-463F-A5ED-5C5A91EC7B40'\n // // );\n // // await registeredTagModule.addNewTagAction({\n // // code: 'Z00000',\n // // veterinarianOfficeId: 'AFB50A9E-0D78-4247-820F-0045093545D0',\n // // customerId: 'E61654F6-E2B7-4B90-8AE7-00775CCA16C7'\n // // });\n // // await registeredTagModule.updateTagAction({\n // // id: '93B0B2B3-EC4E-498F-8A47-010C6FA6A163',\n // // customerId: '686b5816-a8d7-49e3-9ba1-b3ec4348c920',\n // // veterinarianOfficeId: 'BEAC5294-7E97-4ED8-A132-483ABDE1E613',\n // // code: 'Z02999'\n // // });\n\n // // await authenticationModule.logoutAction();\n // // await authenticationModule.acceptTermsAction(true);\n // // const paymentsService: PaymentsService = container.get(\n // // cid.PaymentsService\n // // );\n\n // // const obj = await paymentsService.createPaymentRequestObject({\n // // orderNumber: '123xyz'\n // // });\n\n // // console.log(obj);\n\n // // const resp = await paymentsService.verifyPaymentResponse({\n // // response:\n // // '{\"requestId\":\"Z88888\",\"gatewayResponse\":{\"status\":\"Approved\",\"reference\":\"DSQBOJTEQL\",\"message\":\"APPROVED 000003\",\"code\":\"000003\",\"cvvResult\":\"P\",\"avsResult\":\" \",\"riskCode\":\"00\",\"networkId\":\"10\",\"isPurchaseCard\":false,\"orderNumber\":\"Z88888\",\"transactionId\":\"MzViZGNiMjhiMDM5MGVkY2M4ZDc4NDZkNTdjYjM3NmY\",\"timestamp\":\"2020-09-30T13:42:54.0087868-04:00\",\"maskedNumber\":null,\"expiration\":null,\"cardHolderName\":null,\"brand\":null,\"issuerCountry\":null,\"transactionCurrency\":null,\"language\":null,\"hasChip\":false,\"fallBackReason\":null,\"frontEndPrompt\":null,\"isOfflineDecline\":false}}',\n // // hash:\n // // 'EMN2+eePg4fT3Nd7SwMAgUQ9nYrVWiJa/JaqhrGO0yvCoJsXm8EhAJfJwfS9GLYE/7RB4bJltOKhP2Cu54AbOA=='\n // // });\n\n // // console.log(resp);\n // }\n\n public onForgotPasswordClick() {\n authenticationModule.changeComponentStateAction(false);\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!./login-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!./login-form.component.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./login-form.component.vue?vue&type=template&id=2602c445&\"\nimport script from \"./login-form.component.vue?vue&type=script&lang=ts&\"\nexport * from \"./login-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","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();return _vm.onSendClick($event)}}},[_c('b-card',{staticClass:\"py-4\",attrs:{\"bg-variant\":\"secondary\",\"text-variant\":\"white\",\"no-body\":\"\"}},[_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(\" Forgot your password? \")]),_c('p',[_vm._v(\" It happens... If you’re able to login but can’t remember your password, you can send yourself a password reset email. \")]),_c('b-form-group',{staticClass:\"mb-3\"},[_c('ValidationProvider',{attrs:{\"rules\":\"required|email\"},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\":\"email address\"},model:{value:(_vm.email),callback:function ($$v) {_vm.email=$$v},expression:\"email\"}})]}}])})],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.onSendClick($event)}}},[_vm._v(\" Send \"),(_vm.showButtonLoading)?_c('b-icon-arrow-clockwise',{attrs:{\"animation\":\"spin\"}}):_vm._e()],1)],1),_c('p',{staticClass:\"mt-3 mb-0\"},[_c('b-link',{on:{\"click\":_vm.onBackToLoginClick}},[_vm._v(\"Back to Login\")])],1)],1)])],1)],1)],1)]),_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\nimport { Component, Vue } 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 store from '@/store';\nimport { getModule } from 'vuex-module-decorators';\nimport { mapState } from 'vuex';\n\nconst authenticationModule: AuthenticationModule = getModule(\n AuthenticationModule,\n store\n);\n\n@Component({\n components: {\n ValidationObserver,\n ValidationProvider,\n FooterComponent\n },\n computed: {\n ...mapState('authentication', ['showButtonLoading'])\n }\n})\nexport default class ForgotPasswordComponent extends Vue {\n public showButtonLoading: boolean;\n public email = '';\n\n public $refs: {\n form: HTMLFormElement;\n };\n\n public created() {\n this.email = '';\n }\n\n public async onSendClick() {\n const success: boolean = await this.$refs.form.validate();\n\n if (!success) {\n return;\n }\n\n // forgot password\n await authenticationModule.forgotPasswordAction({\n email: this.email\n });\n\n this.$toasted.success(\n 'An email has been sent with a link to reset your password. Please check your email to continue.',\n {\n onComplete: () => {\n this.onBackToLoginClick();\n },\n duration: 4000\n }\n );\n }\n\n public onBackToLoginClick() {\n authenticationModule.changeComponentStateAction(true);\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!./forgot-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!./forgot-password-form.component.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./forgot-password-form.component.vue?vue&type=template&id=21131022&\"\nimport script from \"./forgot-password-form.component.vue?vue&type=script&lang=ts&\"\nexport * from \"./forgot-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\nimport { Component, Vue } from 'vue-property-decorator';\nimport LoginFormComponent from '@/components/login/login-form.component.vue';\nimport ForgotPasswordComponent from '@/components/login/forgot-password-form.component.vue';\nimport { mapState } from 'vuex';\n\n@Component({\n components: {\n LoginFormComponent,\n ForgotPasswordComponent\n },\n computed: {\n ...mapState('authentication', ['isLoginComponent'])\n }\n})\nexport default class LoginComponent extends Vue {\n public isLoginComponent: boolean;\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!./login.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!./login.component.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./login.component.vue?vue&type=template&id=f3bf691a&\"\nimport script from \"./login.component.vue?vue&type=script&lang=ts&\"\nexport * from \"./login.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 LoginComponent from '@/components/login/login.component.vue';\n\n@Component({\n components: {\n LoginComponent\n }\n})\nexport default class LoginView 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!./login.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!./login.view.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./login.view.vue?vue&type=template&id=37b4d9ab&\"\nimport script from \"./login.view.vue?vue&type=script&lang=ts&\"\nexport * from \"./login.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"],"sourceRoot":""}