{"version":3,"sources":["webpack:///./src/views/veterinarian/vet.view.vue?e85c","webpack:///./src/components/header.component.vue?7a11","webpack:///./src/components/header.component.vue","webpack:///./src/components/header.component.vue?a465","webpack:///./src/components/header.component.vue?936f","webpack:///./src/views/veterinarian/vet.view.vue","webpack:///./src/views/veterinarian/vet.view.vue?200f","webpack:///./src/views/veterinarian/vet.view.vue?a9fc","webpack:///./src/components/password/change-password-form.component.vue?b5f9","webpack:///./src/components/password/change-password-form.component.vue","webpack:///./src/components/password/change-password-form.component.vue?2a89","webpack:///./src/components/password/change-password-form.component.vue?6b7a","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/components/email/change-email-form.component.vue?ae04","webpack:///./src/components/email/change-email-form.component.vue","webpack:///./src/components/email/change-email-form.component.vue?8904","webpack:///./src/components/email/change-email-form.component.vue?6e3d","webpack:///./src/assets/logo-white.png"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","staticRenderFns","$mq","attrs","page","routeName","veterinarian","editUsers","on","onUsersClick","_e","register","onRegisterClick","onLogoClick","registrations","onRegistrationsClick","scopedSlots","_u","key","fn","proxy","onChangePasswordClick","onChangeEmailClick","onLogoutClick","authenticationModule","store","HeaderComponent","jwtRoles","includes","Veterinarian","$router","push","path","base","name","$bvModal","show","logoutAction","location","replace","origin","components","ChangeEmailFormComponent","ChangePasswordFormComponent","computed","$route","component","VetView","FooterComponent","onHideEvent","ref","handleSubmit","$event","preventDefault","onSaveClick","classes","class","model","value","callback","$$v","currentPassword","expression","newPassword","confirmNewPassword","showButtonLoading","onResetClick","errors","getAllErrorMessages","$toasted","error","join","changePasswordAction","changePasswordSuccess","hide","success","$refs","passwordForm","reset","deep","ValidationObserver","ValidationProvider","_s","_f","Date","onEmailChangeSaveClick","email","trim","confirmEmail","ChangeEmailComponent","requestChangeEmailAction","newEmail","confirmNewEmail","requestChangeEmailSuccess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K,sBAGd,cACLhF,KAAK4F,MAAQ,GACb5F,KAAK8F,aAAe,GAEpB9F,KAAKkF,MAAMqB,UAAUnB,UApCvB,gBADC,eAAM,gBAAiB,CAAEC,MAAM,I,2EACuB,oB,EAAA,qBAAjB,gBAAiB,W,iFAKtD,MAjBkB,EAAoB,gBAbxC,eAAU,CACTtC,WAAY,CACVuC,mBAAA,OACAC,mBAAA,QAEFrC,SAAU,kBACL,eAAS,iBAAkB,CAC5B,oBACA,gBACA,kCAIe,WC1FmZ,I,YCOpaE,EAAY,eACd,EACAtD,OACAS,GACA,EACA,KACA,KACA,MAIa,OAAA6C,E,8BClBfoD,EAAOC,QAAU,IAA0B","file":"js/chunk-510e5226.6fcc5140.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('HeaderComponent',{staticClass:\"bg-secondary\"}),_c('b-container',{staticClass:\"main\"},[_c('b-row',{staticClass:\"py-3\"},[_c('b-col',[_c('h1',{staticClass:\"text-lg-center mb-3\"},[_vm._v(\"Vet Portal\")]),_c('router-view')],1)],1)],1),_c('hr',{staticClass:\"mb-0\"}),_c('FooterComponent')],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',[(_vm.$mq !== 'sm')?_c('b-row',{staticClass:\"p-3 header\",attrs:{\"align-v\":\"center\"}},[_c('b-col',{attrs:{\"cols\":\"4\",\"offset\":\"1\"}},[_c('b-nav',{staticClass:\"dark\",attrs:{\"align\":\"right\",\"small\":\"\"}},[(_vm.isVeterinarian)?_c('b-nav-item',{attrs:{\"disabled\":_vm.page === _vm.routeName.veterinarian.editUsers},on:{\"click\":_vm.onUsersClick}},[_c('b-icon-people'),_vm._v(\" Users \")],1):_vm._e(),_c('b-nav-item',{attrs:{\"disabled\":_vm.page === _vm.routeName.veterinarian.register},on:{\"click\":_vm.onRegisterClick}},[_c('b-icon-tag'),_vm._v(\" Register Tag \")],1)],1)],1),_c('b-col',{staticClass:\"text-center\",attrs:{\"cols\":\"2\"}},[_c('b-link',{on:{\"click\":_vm.onLogoClick}},[_c('img',{attrs:{\"src\":require(\"@/assets/logo-white.png\"),\"alt\":\"Paw Finders Logo\",\"width\":\"150\"}})])],1),_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('b-nav',{staticClass:\"dark\",attrs:{\"align\":\"left\",\"small\":\"\"}},[_c('b-nav-item',{attrs:{\"disabled\":_vm.page === _vm.routeName.veterinarian.registrations},on:{\"click\":_vm.onRegistrationsClick}},[_c('b-iconstack',[_c('b-icon-check',{attrs:{\"scale\":\"0.75\",\"stacked\":\"\"}}),_c('b-icon-clipboard',{attrs:{\"stacked\":\"\"}})],1),_vm._v(\" Registrations \")],1),_c('b-nav-item-dropdown',{attrs:{\"right\":\"\"},scopedSlots:_vm._u([{key:\"button-content\",fn:function(){return [_c('b-icon-person'),_vm._v(\"User \")]},proxy:true}],null,false,94241683)},[_c('b-dropdown-item',{on:{\"click\":_vm.onChangePasswordClick}},[_c('b-icon-shield-lock'),_vm._v(\" Edit Password \")],1),_c('b-dropdown-divider'),_c('b-dropdown-item',{on:{\"click\":_vm.onChangeEmailClick}},[_c('b-icon-at'),_vm._v(\" Edit Email \")],1),_c('b-dropdown-divider'),_c('b-dropdown-item',{on:{\"click\":_vm.onLogoutClick}},[_c('b-icon-power'),_vm._v(\" Sign Out \")],1)],1)],1)],1)],1):_c('b-navbar',{staticClass:\"header\",attrs:{\"toggleable\":\"lg\",\"type\":\"dark\",\"variant\":\"secondary\"}},[_c('b-navbar-brand',{on:{\"click\":_vm.onLogoClick}},[_c('img',{attrs:{\"src\":require(\"@/assets/logo-white.png\"),\"alt\":\"Paw Finders Logo\",\"width\":\"100\"}})]),_c('b-navbar-toggle',{attrs:{\"target\":\"nav-collapse\"}}),_c('b-collapse',{attrs:{\"id\":\"nav-collapse\",\"is-nav\":\"\"}},[_c('b-navbar-nav',{staticClass:\"ml-auto\"},[(_vm.isVeterinarian)?_c('b-nav-item',{attrs:{\"disabled\":_vm.page === _vm.routeName.veterinarian.editUsers},on:{\"click\":_vm.onUsersClick}},[_c('b-icon-people'),_vm._v(\" Users \")],1):_vm._e(),_c('b-nav-item',{attrs:{\"disabled\":_vm.page === _vm.routeName.veterinarian.register},on:{\"click\":_vm.onRegisterClick}},[_c('b-icon-tag'),_vm._v(\" Register Tag \")],1),_c('b-nav-item',{attrs:{\"disabled\":_vm.page === _vm.routeName.veterinarian.registrations},on:{\"click\":_vm.onRegistrationsClick}},[_c('b-iconstack',[_c('b-icon-check',{attrs:{\"scale\":\"0.75\",\"stacked\":\"\"}}),_c('b-icon-clipboard',{attrs:{\"stacked\":\"\"}})],1),_vm._v(\" Registrations \")],1),_c('b-nav-item-dropdown',{attrs:{\"right\":\"\"},scopedSlots:_vm._u([{key:\"button-content\",fn:function(){return [_c('b-icon-person'),_vm._v(\"User \")]},proxy:true}])},[_c('b-dropdown-item',{on:{\"click\":_vm.onChangePasswordClick}},[_c('b-icon-shield-lock'),_vm._v(\" Edit Password \")],1),_c('b-dropdown-divider'),_c('b-dropdown-item',{on:{\"click\":_vm.onChangeEmailClick}},[_c('b-icon-at'),_vm._v(\" Edit Email \")],1),_c('b-dropdown-divider'),_c('b-dropdown-item',{on:{\"click\":_vm.onLogoutClick}},[_c('b-icon-power'),_vm._v(\" Sign Out \")],1)],1)],1)],1)],1),_c('ChangeEmailFormComponent'),_c('ChangePasswordFormComponent')],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\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 { routeName, routePath } from '@/constants/route.constants';\nimport AuthenticationModule from '@/store/modules/authentication.module';\nimport { getModule } from 'vuex-module-decorators';\nimport store from '@/store';\nimport ChangeEmailFormComponent from '@/components/email/change-email-form.component.vue';\nimport ChangePasswordFormComponent from '@/components/password/change-password-form.component.vue';\nimport { Role } from '@/constants/role.constants';\n\nconst authenticationModule: AuthenticationModule = getModule(\n AuthenticationModule,\n store\n);\n\n@Component({\n components: {\n ChangeEmailFormComponent,\n ChangePasswordFormComponent\n },\n computed: {\n page(): string | null | undefined {\n return this.$route.name;\n }\n }\n})\nexport default class HeaderComponent extends Vue {\n public get routeName(): typeof routeName {\n return routeName;\n }\n\n public get routePath(): typeof routePath {\n return routePath;\n }\n\n public get isVeterinarian(): boolean {\n return authenticationModule.jwtRoles.includes(Role.Veterinarian);\n }\n\n public onLogoClick() {\n this.$router.push({ path: routePath.veterinarian.base });\n }\n\n public onUsersClick() {\n this.$router.push({ path: routePath.veterinarian.editUsers });\n }\n\n public onRegisterClick() {\n this.$router.push({ name: routeName.veterinarian.register });\n }\n\n public onRegistrationsClick() {\n this.$router.push({ name: routeName.veterinarian.registrations });\n }\n\n public onChangePasswordClick() {\n this.$bvModal.show('modal-password-change');\n }\n\n public onChangeEmailClick() {\n this.$bvModal.show('modal-email-change');\n }\n\n public async onLogoutClick() {\n authenticationModule.logoutAction();\n // await this.$router.replace({ name: routeName.login });\n location.replace(`${location.origin}/login`);\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!./header.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!./header.component.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./header.component.vue?vue&type=template&id=7c535218&\"\nimport script from \"./header.component.vue?vue&type=script&lang=ts&\"\nexport * from \"./header.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\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\nimport HeaderComponent from '@/components/header.component.vue';\nimport FooterComponent from '@/components/footer.component.vue';\n\n@Component({\n components: {\n HeaderComponent,\n FooterComponent\n }\n})\nexport default class VetView 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!./vet.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!./vet.view.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./vet.view.vue?vue&type=template&id=280079fe&\"\nimport script from \"./vet.view.vue?vue&type=script&lang=ts&\"\nexport * from \"./vet.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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-modal',{attrs:{\"id\":\"modal-password-change\",\"title\":\"Change Password\",\"hide-footer\":\"\"},on:{\"hide\":_vm.onHideEvent}},[_c('ValidationObserver',{ref:\"passwordForm\",scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar handleSubmit = ref.handleSubmit;\nreturn [_c('form',{on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.onSaveClick)}}},[_c('b-row',[_c('b-col',{staticClass:\"mx-md-auto\"},[_c('b-form-group',[_c('label',[_vm._v(\"Current Password\")]),_c('ValidationProvider',{attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar classes = ref.classes;\nreturn [_c('b-form-input',{class:classes,attrs:{\"type\":\"password\",\"placeholder\":\"current password\"},model:{value:(_vm.currentPassword),callback:function ($$v) {_vm.currentPassword=$$v},expression:\"currentPassword\"}})]}}],null,true)})],1),_c('b-form-group',[_c('label',[_vm._v(\"New Password \"),_c('b-icon-info-circle',{attrs:{\"id\":\"password-tooltip\"}})],1),_c('ValidationProvider',{attrs:{\"rules\":\"required|password\",\"vid\":\"confirmation\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar classes = ref.classes;\nreturn [_c('b-form-input',{class:classes,attrs:{\"type\":\"password\",\"placeholder\":\"new password\"},model:{value:(_vm.newPassword),callback:function ($$v) {_vm.newPassword=$$v},expression:\"newPassword\"}})]}}],null,true)})],1),_c('b-form-group',[_c('ValidationProvider',{attrs:{\"rules\":\"confirmed:confirmation\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar classes = ref.classes;\nreturn [_c('b-form-input',{class:classes,attrs:{\"type\":\"password\",\"placeholder\":\"confirm new password\"},model:{value:(_vm.confirmNewPassword),callback:function ($$v) {_vm.confirmNewPassword=$$v},expression:\"confirmNewPassword\"}})]}}],null,true)})],1),_c('div',{staticClass:\"d-flex flex-row-reverse align-items-center\"},[_c('b-button-group',[_c('b-button',{attrs:{\"variant\":\"danger\",\"disabled\":_vm.showButtonLoading},on:{\"click\":_vm.onResetClick}},[_vm._v(\" Cancel\")]),_c('b-button',{attrs:{\"type\":\"submit\",\"disabled\":_vm.showButtonLoading}},[_vm._v(\" Submit \"),(_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. \")])],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 AuthenticationModule from '@/store/modules/authentication.module';\nimport { getModule } from 'vuex-module-decorators';\nimport store from '@/store';\nimport { AuthenticationActions } from '@/constants/actions.constants';\nimport { mapState } from 'vuex';\nimport { BaseAPIErrorModel } from '@/models/DTO/base-api-error.model';\n\nconst authenticationModule: AuthenticationModule = getModule(\n AuthenticationModule,\n store\n);\n\n@Component({\n components: {\n ValidationObserver,\n ValidationProvider\n },\n computed: {\n ...mapState('authentication', [\n 'showButtonLoading',\n 'errorResponse',\n 'changePasswordSuccess'\n ])\n }\n})\nexport default class ChangePasswordFormComponent extends Vue {\n public showButtonLoading: boolean;\n public errorResponse: BaseAPIErrorModel | null;\n public changePasswordSuccess: boolean | null;\n public currentPassword = '';\n public newPassword = '';\n public confirmNewPassword = '';\n\n public $refs: {\n passwordForm: HTMLFormElement;\n };\n\n @Watch('errorResponse', { deep: true })\n private onErrorResponseChanged(value: BaseAPIErrorModel) {\n if (value) {\n const errors = value.getAllErrorMessages();\n return this.$toasted.error(errors.join());\n }\n }\n\n public async onSaveClick() {\n // update password\n await authenticationModule[AuthenticationActions.changePasswordAction]({\n currentPassword: this.currentPassword,\n newPassword: this.newPassword,\n confirmNewPassword: this.confirmNewPassword\n });\n\n if (this.changePasswordSuccess) {\n this.$bvModal.hide('modal-password-change');\n this.$toasted.success('Password saved successfully.');\n }\n }\n\n public onResetClick() {\n this.$bvModal.hide('modal-password-change');\n }\n\n public onHideEvent() {\n this.currentPassword = '';\n this.newPassword = '';\n this.confirmNewPassword = '';\n\n this.$refs.passwordForm.reset();\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!./change-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!./change-password-form.component.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./change-password-form.component.vue?vue&type=template&id=30d03ede&\"\nimport script from \"./change-password-form.component.vue?vue&type=script&lang=ts&\"\nexport * from \"./change-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","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-modal',{attrs:{\"id\":\"modal-email-change\",\"title\":\"Change Email\",\"hide-footer\":\"\"},on:{\"hide\":_vm.onHideEvent}},[_c('ValidationObserver',{ref:\"emailForm\",scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar handleSubmit = ref.handleSubmit;\nvar reset = ref.reset;\nreturn [_c('form',{on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.onEmailChangeSaveClick)},\"reset\":function($event){$event.preventDefault();return reset($event)}}},[_c('b-form-group',{staticClass:\"mb-3\"},[_c('ValidationProvider',{attrs:{\"rules\":\"required|email\",\"vid\":\"confirmation\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar classes = ref.classes;\nreturn [_c('b-form-input',{class:classes,attrs:{\"type\":\"email\",\"placeholder\":\"new email address\"},model:{value:(_vm.email),callback:function ($$v) {_vm.email=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"email\"}})]}}],null,true)})],1),_c('b-form-group',{staticClass:\"mb-3\"},[_c('ValidationProvider',{attrs:{\"rules\":\"confirmed:confirmation\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar classes = ref.classes;\nreturn [_c('b-form-input',{class:classes,attrs:{\"type\":\"email\",\"placeholder\":\"confirm new email address\"},model:{value:(_vm.confirmEmail),callback:function ($$v) {_vm.confirmEmail=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"confirmEmail\"}})]}}],null,true)})],1),_c('div',{staticClass:\"d-flex flex-row-reverse align-items-center\"},[_c('b-button-group',[_c('b-button',{attrs:{\"variant\":\"danger\",\"disabled\":_vm.showButtonLoading},on:{\"click\":_vm.onResetClick}},[_vm._v(\" Cancel\")]),_c('b-button',{attrs:{\"disabled\":_vm.showButtonLoading,\"type\":\"submit\"}},[_vm._v(\" Save \"),(_vm.showButtonLoading)?_c('b-icon-arrow-clockwise',{attrs:{\"animation\":\"spin\"}}):_vm._e()],1)],1)],1)],1)]}}])})],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\nimport { Component, Vue, Watch } from 'vue-property-decorator';\nimport { ValidationProvider, ValidationObserver } from 'vee-validate';\nimport AuthenticationModule from '@/store/modules/authentication.module';\nimport store from '@/store';\nimport { getModule } from 'vuex-module-decorators';\nimport { mapState } from 'vuex';\nimport { BaseAPIErrorModel } from '@/models/DTO/base-api-error.model';\nimport { routeName } from '@/constants/route.constants';\n\nconst authenticationModule: AuthenticationModule = getModule(\n AuthenticationModule,\n store\n);\n\n@Component({\n components: {\n ValidationObserver,\n ValidationProvider\n },\n computed: {\n ...mapState('authentication', [\n 'showButtonLoading',\n 'errorResponse',\n 'requestChangeEmailSuccess'\n ])\n }\n})\nexport default class ChangeEmailComponent extends Vue {\n public showButtonLoading: boolean;\n public errorResponse: BaseAPIErrorModel | null;\n public requestChangeEmailSuccess: boolean | null;\n public email = '';\n public confirmEmail = '';\n\n public $refs: {\n emailForm: HTMLFormElement;\n };\n\n @Watch('errorResponse', { deep: true })\n private onErrorResponseChanged(value: BaseAPIErrorModel) {\n if (value) {\n const errors = value.getAllErrorMessages();\n return this.$toasted.error(errors.join());\n }\n }\n\n public async onEmailChangeSaveClick() {\n await authenticationModule.requestChangeEmailAction({\n newEmail: this.email,\n confirmNewEmail: this.confirmEmail\n });\n\n if (this.requestChangeEmailSuccess) {\n this.$bvModal.hide('modal-email-change');\n this.$toasted.success('An email has been sent for confirmation.', {\n onComplete: () => {\n this.logoutUser();\n }\n });\n }\n }\n\n public async logoutUser() {\n await authenticationModule.logoutAction();\n this.$router.replace({ name: routeName.login });\n }\n\n public onResetClick() {\n this.$bvModal.hide('modal-email-change');\n }\n\n public onHideEvent() {\n this.email = '';\n this.confirmEmail = '';\n\n this.$refs.emailForm.reset();\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!./change-email-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!./change-email-form.component.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./change-email-form.component.vue?vue&type=template&id=7e0fed3e&\"\nimport script from \"./change-email-form.component.vue?vue&type=script&lang=ts&\"\nexport * from \"./change-email-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","module.exports = __webpack_public_path__ + \"img/logo-white.d972e702.png\";"],"sourceRoot":""}