{"version":3,"sources":["webpack:///./src/components/userManagement/ChangePasswordDialog.vue?9437","webpack:///./src/views/Profile.vue?df5e","webpack:///./src/components/userManagement/ChangePasswordDialog.vue?12f1","webpack:///./src/components/userManagement/ChangePasswordDialog.vue","webpack:///./src/components/userManagement/ChangePasswordDialog.vue?5d8d","webpack:///./src/components/userManagement/ChangePasswordDialog.vue?ca9f","webpack:///./src/views/Profile.vue","webpack:///./src/views/Profile.vue?f4b5","webpack:///./src/views/Profile.vue?8c47"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","isEditing","staticStyle","on","showFileUpload","DOCEO_ICONS","EDIT","uploadProfilePicturePreview","userProfile","profilePictureAttachmentId","directives","name","rawName","value","expression","ref","setPreviewProfilePicture","_v","_s","role","model","callback","$$v","$set","firstName","lastName","bioMaxLength","bio","location","phoneNumber","phoneExtension","_e","onOwnProfilePage","hasDoctorRole","roles","Roles","Doctor","sendMessage","isFollowed","unfollowUser","followUser","saving","saveEdit","cancelEdit","$event","isChangePasswordDialogOpen","areasOfInterest","length","_l","areaOfInterest","key","id","removeAreaOfInterest","parent","title","areasOfInterestFiltered","addAreaOfInterest","scopedSlots","_u","fn","data","getAreaOfInterestDisplay","item","staticRenderFns","isOpen","CLOSE","close","currentPasswordErrors","$v","currentPassword","$touch","proxy","errorMsg","isSubmitting","changePassword","extend","components","SetPassword","DoceoIcon","mixins","props","type","Boolean","required","validations","undefined","computed","errors","$dirty","push","methods","childForm","$refs","mychild","$invalid","newPassword","password","$model","result","succeeded","addMessage","description","detail","$emit","component","VBtn","VCard","VCardActions","VCardText","VCardTitle","VCol","VDialog","VRow","VSpacer","VTextField","metaInfo","link","rel","href","$route","path","created","getAreasOfInterests","getAllSpecialties","loadSelectedProfile","ChangePasswordDialog","DoceoImage","uploadProfilePictureDialog","uploadProfilePictureFile","splice","indexOf","fileSelect","profile_picture_upload","click","files","URL","createObjectURL","updatedProfile","userId","areasOfInterestIds","map","e","isTakingPatients","specialty","qualifications","resetSummaries","updateProfile","uploadProfilePicture","profile","x","Object","assign","profileClient","getProfile","params","email","conversationStore","chatroomName","createChatroom","chatroomId","chatHubStore","inviteUserToChatroom","$router","query","unFollowUser","filter","includes","sort","a","b","localeCompare","Admin","VoiceOf","Sponsor","watch","to","from","VAutocomplete","VCheckbox","VChip","VChipGroup","VContainer","VDivider","VIcon","VImg"],"mappings":"kHAAA,W,yCCAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,cAAc,CAACE,YAAY,QAAQC,MAAM,CAAC,eAAe,GAAG,iBAAiB,GAAG,MAAQ,KAAK,CAAEP,EAAe,YAAEI,EAAG,QAAQ,CAACG,MAAM,CAAC,QAAU,WAAW,CAACH,EAAG,QAAQ,CAACE,YAAY,OAAOC,MAAM,CAAC,KAAO,KAAK,GAAK,IAAI,MAAQ,SAAS,QAAU,WAAW,CAACH,EAAG,cAAc,CAACG,MAAM,CAAC,cAAc,GAAG,MAAQ,KAAK,CAACH,EAAG,QAAQ,CAACG,MAAM,CAAC,MAAQ,SAAS,QAAU,WAAW,CAACH,EAAG,QAAQ,CAACG,MAAM,CAAC,MAAQ,SAAS,QAAU,WAAW,CAACH,EAAG,QAAQ,CAACG,MAAM,CAAC,QAAU,WAAW,CAAGP,EAAIQ,UAA0T,CAACJ,EAAG,QAAQ,CAACG,MAAM,CAAC,KAAO,MAAM,CAACH,EAAG,MAAM,CAACK,YAAY,CAAC,MAAQ,UAAU,CAACL,EAAG,QAAQ,CAACG,MAAM,CAAC,aAAa,KAAK,CAACH,EAAG,YAAYA,EAAG,QAAQ,CAACG,MAAM,CAAC,KAAO,SAAS,CAACH,EAAG,QAAQ,CAACK,YAAY,CAAC,SAAW,WAAW,IAAM,OAAO,UAAU,KAAKF,MAAM,CAAC,KAAO,GAAG,MAAQ,yBAAyB,QAAS,GAAOG,GAAG,CAAC,MAAQV,EAAIW,iBAAiB,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ini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChangePasswordDialog.vue?vue&type=style&index=0&id=60fb383d&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{staticClass:\"mt-16\",attrs:{\"align-center\":\"\",\"justify-center\":\"\",\"fluid\":\"\"}},[(_vm.userProfile)?_c('v-row',{attrs:{\"justify\":\"center\"}},[_c('v-col',{staticClass:\"pa-8\",attrs:{\"cols\":\"12\",\"md\":\"5\",\"align\":\"center\",\"justify\":\"center\"}},[_c('v-container',{attrs:{\"fill-height\":\"\",\"fluid\":\"\"}},[_c('v-row',{attrs:{\"align\":\"center\",\"justify\":\"center\"}},[_c('v-col',{attrs:{\"align\":\"center\",\"justify\":\"center\"}},[_c('v-row',{attrs:{\"justify\":\"center\"}},[(!_vm.isEditing)?[_c('v-col',[(_vm.userProfile.profilePictureAttachmentId)?_c('DoceoImage',{staticClass:\"rounded-circle\",attrs:{\"attachmentId\":_vm.userProfile.profilePictureAttachmentId,\"imgHeight\":\"200\",\"imgWidth\":\"200\"}}):_c('v-img',{attrs:{\"src\":require('../assets/account.png'),\"height\":\"200px\",\"contain\":\"\"}})],1)]:[_c('v-col',{attrs:{\"cols\":\"8\"}},[_c('div',{staticStyle:{\"width\":\"200px\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-spacer'),_c('v-col',{attrs:{\"cols\":\"auto\"}},[_c('v-btn',{staticStyle:{\"position\":\"relative\",\"top\":\"36px\",\"z-index\":\"1\"},attrs:{\"icon\":\"\",\"title\":\"Change Profile Picture\",\"ripple\":false},on:{\"click\":_vm.showFileUpload}},[_c('DoceoIcon',{attrs:{\"icon\":_vm.DOCEO_ICONS.EDIT,\"alt\":\"Change Profile Picture\"}})],1)],1)],1)],1),(_vm.uploadProfilePicturePreview)?_c('v-img',{staticClass:\"rounded-circle\",attrs:{\"src\":_vm.uploadProfilePicturePreview,\"height\":\"200px\",\"width\":\"200px\"}}):(_vm.userProfile.profilePictureAttachmentId)?_c('DoceoImage',{staticClass:\"rounded-circle\",attrs:{\"attachmentId\":_vm.userProfile.profilePictureAttachmentId,\"imgHeight\":\"200\",\"imgWidth\":\"200\"}}):_c('v-img',{staticClass:\"rounded-circle\",attrs:{\"src\":require('../assets/account.png'),\"height\":\"200px\",\"contain\":\"\"}}),_c('input',{directives:[{name:\"show\",rawName:\"v-show\",value:(false),expression:\"false\"}],ref:\"profile_picture_upload\",attrs:{\"type\":\"file\",\"accept\":\"image/png,image/jpeg\"},on:{\"change\":_vm.setPreviewProfilePicture}})],1)]],2),_c('v-row',{attrs:{\"justify\":\"center\"}},[_c('v-col',[_c('span',{staticClass:\"fourth-header wrap-text\"},[_vm._v(_vm._s(_vm.role))])])],1),_c('v-row',{attrs:{\"justify\":\"center\"}},[(!_vm.isEditing)?[_c('v-col',[_c('span',{staticClass:\"second-header wrap-text\"},[_vm._v(_vm._s(_vm.userProfile.firstName)+\" \"+_vm._s(_vm.userProfile.lastName))])])]:[_c('v-col',{attrs:{\"cols\":\"10\",\"md\":\"4\"}},[_c('v-text-field',{staticClass:\"remove-underline\",attrs:{\"placeholder\":\"First Name\",\"maxlength\":\"50\",\"hide-details\":\"auto\",\"filled\":\"\",\"dense\":\"\"},model:{value:(_vm.userProfile.firstName),callback:function ($$v) {_vm.$set(_vm.userProfile, \"firstName\", $$v)},expression:\"userProfile.firstName\"}})],1),_c('v-col',{attrs:{\"cols\":\"10\",\"md\":\"4\"}},[_c('v-text-field',{staticClass:\"remove-underline\",attrs:{\"placeholder\":\"Last Name\",\"maxlength\":\"50\",\"hide-details\":\"auto\",\"filled\":\"\",\"dense\":\"\"},model:{value:(_vm.userProfile.lastName),callback:function ($$v) {_vm.$set(_vm.userProfile, \"lastName\", $$v)},expression:\"userProfile.lastName\"}})],1)]],2),_c('v-row',{attrs:{\"justify\":\"center\"}},[(!_vm.isEditing)?[_c('v-col',[_c('span',{staticClass:\"wrap-text\"},[_vm._v(_vm._s(_vm.userProfile.bio))])])]:[_c('v-col',{staticClass:\"pt-0\",attrs:{\"cols\":\"10\",\"md\":\"8\"}},[_c('v-text-field',{staticClass:\"remove-underline\",attrs:{\"placeholder\":\"Bio\",\"maxlength\":_vm.bioMaxLength,\"hide-details\":\"auto\",\"filled\":\"\",\"dense\":\"\"},model:{value:(_vm.userProfile.bio),callback:function ($$v) {_vm.$set(_vm.userProfile, \"bio\", $$v)},expression:\"userProfile.bio\"}})],1)]],2),_c('v-row',{attrs:{\"justify\":\"center\"}},[(!_vm.isEditing)?[_c('v-col',[_c('span',{staticClass:\"wrap-text\"},[_vm._v(_vm._s(_vm.userProfile.location))])])]:[_c('v-col',{staticClass:\"pt-0\",attrs:{\"cols\":\"10\",\"md\":\"8\"}},[_c('v-text-field',{staticClass:\"remove-underline\",attrs:{\"maxlength\":\"100\",\"placeholder\":\"Location\",\"hide-details\":\"auto\",\"filled\":\"\",\"dense\":\"\"},model:{value:(_vm.userProfile.location),callback:function ($$v) {_vm.$set(_vm.userProfile, \"location\", $$v)},expression:\"userProfile.location\"}})],1)]],2),(!_vm.isEditing)?[_c('v-row',{attrs:{\"justify\":\"center\",\"dense\":\"\"}},[(_vm.userProfile.phoneNumber)?_c('v-col',[_vm._v(\" Tel: \"+_vm._s(_vm.userProfile.phoneNumber)),(_vm.userProfile.phoneExtension)?_c('span',[_vm._v(\" ext. \"+_vm._s(_vm.userProfile.phoneExtension))]):_vm._e()]):_vm._e()],1)]:[_c('v-row',{attrs:{\"justify\":\"center\"}},[_c('v-col',{staticClass:\"pt-0\",attrs:{\"cols\":\"10\",\"sm\":\"6\",\"md\":\"5\"}},[_c('v-text-field',{staticClass:\"remove-underline\",attrs:{\"placeholder\":\"Phone Number\",\"hide-details\":\"auto\",\"filled\":\"\",\"dense\":\"\"},model:{value:(_vm.userProfile.phoneNumber),callback:function ($$v) {_vm.$set(_vm.userProfile, \"phoneNumber\", $$v)},expression:\"userProfile.phoneNumber\"}})],1),_c('v-col',{staticClass:\"pt-0\",attrs:{\"cols\":\"10\",\"sm\":\"4\",\"md\":\"3\"}},[_c('v-text-field',{staticClass:\"remove-underline\",attrs:{\"placeholder\":\"EXT\",\"hide-details\":\"auto\",\"filled\":\"\",\"dense\":\"\"},model:{value:(_vm.userProfile.phoneExtension),callback:function ($$v) {_vm.$set(_vm.userProfile, \"phoneExtension\", $$v)},expression:\"userProfile.phoneExtension\"}})],1)],1)],_c('v-row',{attrs:{\"justify\":\"center\"}},[(!_vm.isEditing)?[(_vm.userProfile.isTakingPatients)?_c('v-col',[_c('v-icon',{staticClass:\"pr-2\",attrs:{\"color\":\"green\",\"small\":\"\"}},[_vm._v(\"mdi-checkbox-blank-circle\")]),_c('span',{staticClass:\"green--text\"},[_vm._v(\"Accepting new patients\")])],1):_vm._e()]:[_c('v-col',{staticClass:\"pt-0\",attrs:{\"cols\":\"8\"}},[_c('v-checkbox',{attrs:{\"label\":\"Accepting new patients\"},model:{value:(_vm.userProfile.isTakingPatients),callback:function ($$v) {_vm.$set(_vm.userProfile, \"isTakingPatients\", $$v)},expression:\"userProfile.isTakingPatients\"}})],1)]],2),(!_vm.onOwnProfilePage)?_c('v-row',{attrs:{\"justify\":\"center\"}},[_c('v-col',{attrs:{\"cols\":\"auto\"}},[(_vm.hasDoctorRole && (_vm.userProfile.roles ? _vm.userProfile.roles[0] : '') == _vm.Roles.Doctor)?_c('v-btn',{attrs:{\"outlined\":\"\",\"color\":\"primary\",\"rounded\":\"\",\"ripple\":false},on:{\"click\":_vm.sendMessage}},[_vm._v(\" Send Message \")]):_vm._e()],1),_c('v-col',{attrs:{\"cols\":\"auto\"}},[(!_vm.userProfile.isFollowed)?_c('v-btn',{attrs:{\"outlined\":\"\",\"color\":\"primary\",\"rounded\":\"\",\"ripple\":false},on:{\"click\":_vm.followUser}},[_vm._v(\" Follow \")]):_c('v-btn',{attrs:{\"outlined\":\"\",\"color\":\"secondaryButton\",\"rounded\":\"\",\"ripple\":false},on:{\"click\":_vm.unfollowUser}},[_vm._v(\" Unfollow \")])],1)],1):_vm._e(),(_vm.onOwnProfilePage)?_c('v-row',{attrs:{\"justify\":\"center\"}},[(!_vm.isEditing)?[_c('v-col',[_c('v-btn',{attrs:{\"outlined\":\"\",\"color\":\"secondaryButton\",\"rounded\":\"\",\"ripple\":false},on:{\"click\":function($event){_vm.isEditing = true}}},[_vm._v(\" Edit \")])],1)]:[_c('v-col',{attrs:{\"cols\":\"auto\"}},[_c('v-btn',{attrs:{\"color\":\"submit\",\"loading\":_vm.saving,\"disabled\":_vm.saving,\"rounded\":\"\",\"ripple\":false},on:{\"click\":_vm.saveEdit}},[_vm._v(\" Save changes \")])],1),_c('v-col',{attrs:{\"cols\":\"auto\"}},[_c('v-btn',{attrs:{\"outlined\":\"\",\"color\":\"secondaryButton\",\"rounded\":\"\",\"ripple\":false},on:{\"click\":_vm.cancelEdit}},[_vm._v(\" Cancel \")])],1)]],2):_vm._e(),(_vm.onOwnProfilePage)?_c('v-row',[_c('v-col',[_c('v-btn',{attrs:{\"text\":\"\",\"color\":\"secondaryButton\",\"ripple\":false},on:{\"click\":function($event){_vm.isChangePasswordDialogOpen = true}}},[_vm._v(\" Change password \")])],1)],1):_vm._e()],2)],1)],1)],1),_c('v-divider',{attrs:{\"vertical\":\"\"}}),_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"7\"}},[_c('v-row',{staticClass:\"pt-8 px-8\"},[_c('v-col',{attrs:{\"align\":\"start\"}},[_c('span',{staticClass:\"section-title\"},[_vm._v(\"Areas of interest\")])])],1),_c('v-row',{staticClass:\"pb-8 px-8\"},[_c('v-col',[_c('v-chip-group',{attrs:{\"column\":\"\"}},[(_vm.userProfile.areasOfInterest && _vm.userProfile.areasOfInterest.length > 0)?_vm._l((_vm.userProfile.areasOfInterest),function(areaOfInterest){return _c('v-chip',{key:areaOfInterest.id,attrs:{\"ripple\":false,\"close\":_vm.isEditing},on:{\"click:close\":function($event){return _vm.removeAreaOfInterest(areaOfInterest)}}},[(areaOfInterest.parent)?_c('span',[_vm._v(_vm._s(areaOfInterest.parent.title)+\" - \")]):_vm._e(),_vm._v(\" \"+_vm._s(areaOfInterest.title)+\" \")])}):_c('v-chip',{attrs:{\"ripple\":false}},[_vm._v(\" No areas of interest are set \")]),(_vm.isEditing)?_c('v-chip',{staticClass:\"no-hover\",attrs:{\"ripple\":false}},[_c('v-autocomplete',{staticClass:\"remove-underline\",staticStyle:{\"background-color\":\"#e0e0e0\"},attrs:{\"items\":_vm.areasOfInterestFiltered,\"item-text\":\"title\",\"item-value\":\"id\",\"return-object\":\"\"},on:{\"change\":_vm.addAreaOfInterest},scopedSlots:_vm._u([{key:\"item\",fn:function(data){return [_vm._v(\" \"+_vm._s(_vm.getAreaOfInterestDisplay(data.item))+\" \")]}}],null,false,327992487),model:{value:(_vm.areaOfInterest),callback:function ($$v) {_vm.areaOfInterest=$$v},expression:\"areaOfInterest\"}})],1):_vm._e()],2)],1)],1)],1)],1):_vm._e(),(_vm.isChangePasswordDialogOpen)?_c('ChangePasswordDialog',{attrs:{\"isOpen\":_vm.isChangePasswordDialogOpen},on:{\"close\":function($event){_vm.isChangePasswordDialogOpen = false}}}):_vm._e()],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('v-dialog',{attrs:{\"width\":\"400px\",\"persistent\":\"\"},model:{value:(_vm.isOpen),callback:function ($$v) {_vm.isOpen=$$v},expression:\"isOpen\"}},[_c('v-card',{staticClass:\"background pa-4\"},[_c('v-card-title',[_c('v-row',{staticClass:\"mb-4\",attrs:{\"dense\":\"\"}},[_c('v-col',{staticClass:\"first-header primary--text\",attrs:{\"align\":\"center\"}},[_vm._v(\" Change Password \")]),_c('v-col',{attrs:{\"cols\":\"auto\"}},[_c('DoceoIcon',{attrs:{\"icon\":_vm.DOCEO_ICONS.CLOSE,\"size\":16,\"alt\":\"Close\"},on:{\"click\":_vm.close}})],1)],1)],1),_c('v-card-text',[_c('SetPassword',{ref:\"mychild\",scopedSlots:_vm._u([{key:\"extraInput\",fn:function(){return [_c('v-text-field',{attrs:{\"data-lpignore\":\"true\",\"type\":\"password\",\"dense\":\"\",\"label\":\"Current Password\",\"required\":\"\",\"outlined\":\"\",\"error-messages\":_vm.currentPasswordErrors},on:{\"blur\":function($event){return _vm.$v.currentPassword.$touch()}},model:{value:(_vm.currentPassword),callback:function ($$v) {_vm.currentPassword=$$v},expression:\"currentPassword\"}})]},proxy:true},(_vm.errorMsg)?{key:\"error\",fn:function(){return [_c('v-row',{staticClass:\"pb-4\",attrs:{\"dense\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"auto\"}},[_c('span',{staticClass:\"error--text\"},[_vm._v(_vm._s(_vm.errorMsg))])])],1)]},proxy:true}:null],null,true)})],1),_c('v-card-actions',{staticClass:\"pa-8\"},[_c('v-spacer'),_c('v-btn',{attrs:{\"block\":\"\",\"color\":\"submit\",\"loading\":_vm.isSubmitting,\"ripple\":false},on:{\"click\":_vm.changePassword}},[_vm._v(\" Change password \")]),_c('v-spacer')],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\r\nimport Vue from \"vue\";\r\nimport SetPassword from \"@/components/userManagement/PasswordFields.vue\";\r\nimport { Validation, validationMixin } from \"vuelidate\";\r\nimport { useErrorStore } from \"@/store/errorStore\";\r\nimport { mapActions } from \"pinia\";\r\n\r\nimport { required } from \"vuelidate/lib/validators\";\r\nimport { ValidationProperties, ValidationGroups } from \"vue/types/vue\";\r\nimport { ChangePasswordCommand, IChangePasswordCommand, ProblemDetails, ResetPasswordCommand, UserClient } from \"@/api/DoceoApi\";\r\nimport DoceoIcon from \"@/components/DoceoIcon.vue\";\r\nimport DOCEO_ICONS from \"@/constants/icons\";\r\n\r\nexport default Vue.extend({\r\n name: \"ChangePasswordDialog\",\r\n components: { SetPassword, DoceoIcon },\r\n mixins: [validationMixin],\r\n props: {\r\n isOpen: {\r\n type: Boolean,\r\n required: true,\r\n },\r\n },\r\n validations: {\r\n currentPassword: {\r\n required,\r\n },\r\n },\r\n data: () => ({\r\n currentPassword: \"\",\r\n errorMsg: undefined as string | undefined,\r\n isSubmitting: false,\r\n DOCEO_ICONS,\r\n }),\r\n computed: {\r\n /**\r\n * Password error checking\r\n */\r\n currentPasswordErrors(): string[] {\r\n const errors = [] as string[];\r\n if (!this.$v.currentPassword.$dirty) return errors;\r\n !this.$v.currentPassword.required && errors.push(\"Current password is required.\");\r\n return errors;\r\n },\r\n },\r\n methods: {\r\n ...mapActions(useErrorStore, [\"addMessage\"]),\r\n /** Perform the request to change the user's password */\r\n async changePassword() {\r\n this.$v.$touch();\r\n var childForm: ValidationProperties & ValidationGroups & Validation = (this.$refs.mychild as any).$v;\r\n childForm.$touch();\r\n this.errorMsg = undefined;\r\n\r\n if (this.$v.$invalid || childForm.$invalid) {\r\n return;\r\n }\r\n\r\n let changePassword: IChangePasswordCommand = {\r\n currentPassword: this.currentPassword,\r\n newPassword: childForm.password?.$model,\r\n };\r\n\r\n try {\r\n this.isSubmitting = true;\r\n let result = await new UserClient().changePassword(new ChangePasswordCommand(changePassword));\r\n\r\n if (result.succeeded) {\r\n this.addMessage(\"Password Reset\");\r\n this.close();\r\n } else if (result.errors && result.errors.length > 0) {\r\n this.errorMsg = result.errors[0].description;\r\n } else {\r\n this.errorMsg = \"Unknown error. Try again later\"; // TODO: Proper error message\r\n }\r\n } catch (x) {\r\n if (x instanceof ProblemDetails) {\r\n this.errorMsg = x.detail;\r\n } else {\r\n this.errorMsg = \"Unknown error. Try again later\"; // TODO: Proper error message\r\n }\r\n } finally {\r\n this.isSubmitting = false;\r\n }\r\n },\r\n /**\r\n * Emit an event to close the dialog\r\n */\r\n close() {\r\n this.$emit(\"close\");\r\n },\r\n },\r\n});\r\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!./ChangePasswordDialog.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!./ChangePasswordDialog.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ChangePasswordDialog.vue?vue&type=template&id=60fb383d&scoped=true&\"\nimport script from \"./ChangePasswordDialog.vue?vue&type=script&lang=ts&\"\nexport * from \"./ChangePasswordDialog.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ChangePasswordDialog.vue?vue&type=style&index=0&id=60fb383d&scoped=true&lang=css&\"\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 \"60fb383d\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCard,VCardActions,VCardText,VCardTitle,VCol,VDialog,VRow,VSpacer,VTextField})\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport ChangePasswordDialog from \"@/components/userManagement/ChangePasswordDialog.vue\";\r\nimport { mapState, mapActions } from \"pinia\";\r\nimport { mapGetters } from \"vuex\";\r\nimport { useProfileStore } from \"@/store/profileStore\";\r\nimport { AreaOfInterestDto, IUpdateProfileDto, ProfileClient, ProfileDto, FileParameter } from \"@/api/DoceoApi\";\r\nimport DoceoIcon from \"@/components/DoceoIcon.vue\";\r\nimport DOCEO_ICONS from \"@/constants/icons\";\r\nimport DoceoImage from \"@/components/DoceoImage.vue\";\r\nimport { useConversationStore } from \"@/store/conversationStore\";\r\nimport { useChatHubStore } from \"@/store/chatHubStore\";\r\nimport { useContentStore } from \"@/store/contentStore\";\r\nimport Roles from \"@/constants/roles\";\r\n\r\nexport default Vue.extend({\r\n name: \"Profile\",\r\n metaInfo() {\r\n return {\r\n link: [{ rel: \"canonical\", href: `${process.env.VUE_APP_BASE_URL}${this.$route.path}` }],\r\n };\r\n },\r\n async created() {\r\n this.getAreasOfInterests();\r\n this.getAllSpecialties();\r\n await this.loadSelectedProfile();\r\n },\r\n components: { ChangePasswordDialog, DoceoIcon, DoceoImage },\r\n data: () => ({\r\n isChangePasswordDialogOpen: false,\r\n isEditing: false,\r\n saving: false,\r\n uploadProfilePictureDialog: false,\r\n uploadProfilePictureFile: null as File | null,\r\n uploadProfilePicturePreview: null as string | null,\r\n areaOfInterest: null as AreaOfInterestDto | null,\r\n userProfile: {} as ProfileDto,\r\n DOCEO_ICONS,\r\n bioMaxLength: 60,\r\n Roles: Roles,\r\n }),\r\n methods: {\r\n ...mapActions(useProfileStore, [\"updateProfile\", \"getAreasOfInterests\", \"getAllSpecialties\", \"uploadProfilePicture\"]),\r\n ...mapActions(useContentStore, [\"resetSummaries\"]),\r\n removeAreaOfInterest(areaOfInterest: AreaOfInterestDto) {\r\n if (this.userProfile.areasOfInterest) {\r\n this.userProfile.areasOfInterest.splice(this.userProfile.areasOfInterest.indexOf(areaOfInterest), 1);\r\n }\r\n },\r\n addAreaOfInterest() {\r\n if (this.areaOfInterest) {\r\n this.userProfile.areasOfInterest?.push(this.areaOfInterest);\r\n }\r\n this.areaOfInterest = null;\r\n },\r\n showFileUpload() {\r\n let fileSelect = this.$refs.profile_picture_upload as HTMLElement;\r\n fileSelect.click();\r\n },\r\n setPreviewProfilePicture() {\r\n let fileSelect = this.$refs.profile_picture_upload as HTMLInputElement;\r\n let files = fileSelect.files;\r\n if (files != null && files.length > 0) {\r\n this.uploadProfilePictureFile = files[0];\r\n this.uploadProfilePictureDialog = false;\r\n this.uploadProfilePicturePreview = URL.createObjectURL(this.uploadProfilePictureFile);\r\n }\r\n },\r\n async saveEdit() {\r\n this.saving = true;\r\n let updatedProfile: IUpdateProfileDto = {\r\n userId: this.userId,\r\n location: this.userProfile.location,\r\n firstName: this.userProfile.firstName,\r\n lastName: this.userProfile.lastName,\r\n areasOfInterestIds: this.userProfile.areasOfInterest?.map((e) => e.id),\r\n isTakingPatients: this.userProfile.isTakingPatients,\r\n specialty: this.userProfile.specialty?.id,\r\n phoneNumber: this.userProfile.phoneNumber,\r\n phoneExtension: this.userProfile.phoneExtension,\r\n qualifications: this.userProfile.qualifications,\r\n bio: this.userProfile.bio,\r\n };\r\n\r\n await this.resetSummaries();\r\n\r\n await this.updateProfile(updatedProfile);\r\n if (this.uploadProfilePictureFile != null) {\r\n await this.uploadProfilePicture(this.uploadProfilePictureFile);\r\n }\r\n\r\n this.saving = false;\r\n this.isEditing = false;\r\n },\r\n cancelEdit() {\r\n this.isEditing = false;\r\n this.userProfile.location = this.profile?.location;\r\n this.userProfile.firstName = this.profile?.firstName;\r\n this.userProfile.lastName = this.profile?.lastName;\r\n this.userProfile.isTakingPatients = this.profile?.isTakingPatients;\r\n this.userProfile.specialty = this.profile?.specialty;\r\n this.userProfile.phoneNumber = this.profile?.phoneNumber;\r\n this.userProfile.phoneExtension = this.profile?.phoneExtension;\r\n this.uploadProfilePictureFile = null;\r\n this.uploadProfilePicturePreview = null;\r\n this.userProfile.areasOfInterest = this.profile?.areasOfInterest?.map(x => Object.assign({}, x));\r\n },\r\n async loadSelectedProfile() {\r\n if (!this.onOwnProfilePage) {\r\n let profileClient = new ProfileClient();\r\n this.userProfile = await profileClient.getProfile(this.$route.params.userId);\r\n } else {\r\n this.userProfile = Object.assign({}, this.profile);\r\n this.userProfile.areasOfInterest = this.profile?.areasOfInterest?.map(x => Object.assign({}, x));\r\n }\r\n },\r\n async sendMessage() {\r\n if (this.userProfile.email) {\r\n const conversationStore = useConversationStore();\r\n const chatroomName = `${this.name} & ${this.userProfile.firstName} ${this.userProfile.lastName}`;\r\n const chatroomId = await conversationStore.createChatroom(chatroomName);\r\n\r\n const chatHubStore = useChatHubStore();\r\n await chatHubStore.inviteUserToChatroom(this.userProfile.email, chatroomId);\r\n\r\n this.$router.push({\r\n name: \"Discussions\",\r\n query: { chatroomId: chatroomId },\r\n });\r\n }\r\n },\r\n\r\n async followUser() {\r\n let profileClient = new ProfileClient();\r\n await profileClient.followUser(this.$route.params.userId);\r\n this.userProfile.isFollowed = true;\r\n },\r\n async unfollowUser() {\r\n let profileClient = new ProfileClient();\r\n await profileClient.unFollowUser(this.$route.params.userId);\r\n this.userProfile.isFollowed = false;\r\n },\r\n\r\n getAreaOfInterestDisplay(areaOfInterest: AreaOfInterestDto): string {\r\n if (areaOfInterest.parent != null) {\r\n return `${this.getAreaOfInterestDisplay(areaOfInterest.parent)} - ${areaOfInterest.title}`;\r\n } else {\r\n return areaOfInterest.title ?? \"\";\r\n }\r\n },\r\n },\r\n computed: {\r\n ...mapState(useProfileStore, [\"profile\", \"areasOfInterest\", \"allSpecialties\"]),\r\n ...mapGetters([\"userId\", \"name\", \"hasDoctorRole\"]),\r\n areasOfInterestFiltered(): AreaOfInterestDto[] {\r\n return this.areasOfInterest\r\n .filter((e) => !this.userProfile.areasOfInterest?.map((e) => e.id)?.includes(e.id))\r\n .sort((a, b) => this.getAreaOfInterestDisplay(a).localeCompare(this.getAreaOfInterestDisplay(b)));\r\n },\r\n onOwnProfilePage(): boolean {\r\n return this.$route.params.userId === undefined || this.$route.params.userId == this.userId;\r\n },\r\n role(): string {\r\n let role = this.userProfile.roles ? (this.userProfile.roles[0] as Roles) : \"\";\r\n switch (role) {\r\n case Roles.Admin:\r\n return \"Admin\";\r\n case Roles.Doctor:\r\n return \"Doctor\";\r\n case Roles.VoiceOf:\r\n return \"Voice Of\";\r\n case Roles.Sponsor:\r\n return \"Sponsor\";\r\n default:\r\n return \"\";\r\n }\r\n },\r\n },\r\n watch: {\r\n async $route(to, from) {\r\n // required if you go to your own profile page from another person's page\r\n await this.loadSelectedProfile();\r\n },\r\n async profile() {\r\n // required because profile takes a bit to asynchronously update and since we're using it in an async function,\r\n // vue doesn't know that we rely on it.\r\n await this.loadSelectedProfile();\r\n },\r\n },\r\n});\r\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!./Profile.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!./Profile.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Profile.vue?vue&type=template&id=1e7a72e6&scoped=true&\"\nimport script from \"./Profile.vue?vue&type=script&lang=ts&\"\nexport * from \"./Profile.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 \"1e7a72e6\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VChip } from 'vuetify/lib/components/VChip';\nimport { VChipGroup } from 'vuetify/lib/components/VChipGroup';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VAutocomplete,VBtn,VCheckbox,VChip,VChipGroup,VCol,VContainer,VDivider,VIcon,VImg,VRow,VSpacer,VTextField})\n"],"sourceRoot":""}