{"version":3,"sources":["webpack:///./src/views/account/History.vue?9e1c","webpack:///./src/views/account/History.vue","webpack:///./src/views/account/History.vue?2ae9","webpack:///./src/views/account/History.vue?d1fa","webpack:///./src/views/account/Profile.vue?6be4","webpack:///./src/views/account/Profile.vue","webpack:///./src/views/account/Profile.vue?c2cb","webpack:///./src/views/account/Profile.vue?7f8f","webpack:///./src/views/Dashboard.vue?bf4a","webpack:///./src/views/Dashboard.vue?1967","webpack:///./src/views/Dashboard.vue","webpack:///./src/views/Dashboard.vue?7024","webpack:///./src/views/Dashboard.vue?1094","webpack:///./src/components/uploaders/SingleImageUploader.vue?34af","webpack:///./src/components/uploaders/SingleImageUploader.vue","webpack:///./src/components/uploaders/SingleImageUploader.vue?3586","webpack:///./src/components/uploaders/SingleImageUploader.vue?4be8","webpack:///./src/views/account/Security.vue?4a54","webpack:///./src/views/account/Security.vue","webpack:///./src/views/account/Security.vue?04ef","webpack:///./src/views/account/Security.vue?cfe6","webpack:///./src/views/Help.vue?b5c9","webpack:///./src/views/Help.vue","webpack:///./src/views/Help.vue?5a32","webpack:///./src/views/Help.vue?f74d","webpack:///./src/views/account/Layout.vue?f143","webpack:///./src/views/account/Layout.vue","webpack:///./src/views/account/Layout.vue?80e5","webpack:///./src/views/account/Layout.vue?daae"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","scopedSlots","_u","key","fn","_v","proxy","staticRenderFns","component","on","$event","preventDefault","onSaveProfile","model","value","callback","$$v","isValid","expression","isLoading","staticClass","$t","$rules","required","user","$set","email","onSelectPhoto","_e","usersService","editor","init","profile","photo","SaveProfile","then","$store","dispatch","types","showSuccessMessage","catch","error","showError","finally","showErrorMessage","components","SingleImageUploader","VBtn","VForm","VTextField","cdnEndpoint","_b","onSelect","$props","uploadService","file","folder","image","UploadSinglePhoto","response","processed","$emit","path","VFileInput","onChangePassword","identity","username","minLenght","command","pwdConfirm","password","ChangePassword","clearForm","_l","item","index","url","class","icon","_s","title","menu"],"mappings":"sHAAA,IAAI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AAM,CAACA,EAAG,YAAY,CAACA,EAAG,MAAM,CAACsB,YAAY,mDAAmD,CAACtB,EAAG,aAAa,CAACE,MAAM,CAAC,OAAS,CAAC,YAAa,kBAAkBF,EAAG,cAAc,GAAGA,EAAG,MAAM,CAACsB,YAAY,mDAAmD,CAACtB,EAAG,KAAK,CAACJ,EAAIW,GAAG,qBAAqBP,EAAG,iBAAiB,CAACG,YAAYP,EAAIQ,GAAG,CAAC,CAACC,IAAI,OAAOC,GAAG,WAAW,MAAO,CAACN,EAAG,KAAK,CAACJ,EAAIW,GAAG,eAAeP,EAAG,MAAM,CAACA,EAAG,KAAKJ,EAAI+E,GAAI/E,EAAQ,MAAE,SAASgF,EAAKC,GAAO,OAAO7E,EAAG,KAAK,CAACK,IAAK,eAAiBwE,GAAQ,CAAC7E,EAAG,cAAc,CAACE,MAAM,CAAC,GAAK0E,EAAKE,MAAM,CAAC9E,EAAG,IAAI,CAAC+E,MAAM,CAACH,EAAKI,QAAQpF,EAAIW,GAAG,IAAIX,EAAIqF,GAAGL,EAAKM,OAAO,QAAQ,MAAK,OAAO1E,OAAM,MAAS,CAACR,EAAG,aAAa,CAACE,MAAM,CAAC,KAAO,OAAO,KAAO,WAAW,CAACF,EAAG,gBAAgB,IAAI,IAAI,IAClzBS,EAAkB,G,4DCoCD,EAArB,yG,0BACE,EAAA0E,KAAwB,CACtB,CAAEH,KAAM,kBAAmBE,MAAO,SAAUJ,IAAK,WACjD,CAAEE,KAAM,cAAeE,MAAO,YAAaJ,IAAK,aAHpD,YAA+C,QAA1B,EAAiB,gBADrC,QACoB,WCrC8X,I,YCO/YpE,EAAY,eACd,EACAf,EACAc,GACA,EACA,KACA,KACA,MAIa,aAAAC,E","file":"js/core-module.a2a0730b.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Panel',{attrs:{\"footer\":false},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('h3',[_vm._v(\"Histórico\")])]},proxy:true}])},[_c('div',[_c('strong',[_vm._v(\"Informação\")]),_vm._v(\" Em desenvolvimento\")])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from \"vue-property-decorator\";\r\n\r\n@Component\r\nexport default class AccountHistoryPage extends Vue {}\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!./History.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!./History.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./History.vue?vue&type=template&id=04345eb3&\"\nimport script from \"./History.vue?vue&type=script&lang=ts&\"\nexport * from \"./History.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('v-form',{attrs:{\"action\":\"/\",\"method\":\"post\",\"enctype\":\"multipart/form-data\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.onSaveProfile($event)}},model:{value:(_vm.isValid),callback:function ($$v) {_vm.isValid=$$v},expression:\"isValid\"}},[_c('Panel',{scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('h3',[_vm._v(\"Meu Perfil\")])]},proxy:true},{key:\"footer\",fn:function(){return [_c('v-btn',{attrs:{\"type\":\"submit\",\"disabled\":!_vm.isValid,\"loading\":_vm.isLoading,\"color\":\"primary\"}},[_vm._v(\"Gravar\")])]},proxy:true}])},[(_vm.user)?_c('div',[_c('v-text-field',{staticClass:\"mb-5\",attrs:{\"label\":_vm.$t('name'),\"required\":\"\",\"rules\":[_vm.$rules.required]},model:{value:(_vm.user.name),callback:function ($$v) {_vm.$set(_vm.user, \"name\", $$v)},expression:\"user.name\"}}),_c('v-text-field',{staticClass:\"mb-5\",attrs:{\"label\":_vm.$t('email'),\"type\":\"email\",\"required\":\"\",\"rules\":[_vm.$rules.email]},model:{value:(_vm.user.email),callback:function ($$v) {_vm.$set(_vm.user, \"email\", $$v)},expression:\"user.email\"}}),_c('v-text-field',{staticClass:\"mb-5\",attrs:{\"label\":_vm.$t('contactDefault')},model:{value:(_vm.user.contactDefault),callback:function ($$v) {_vm.$set(_vm.user, \"contactDefault\", $$v)},expression:\"user.contactDefault\"}}),_c('v-text-field',{staticClass:\"mb-5\",attrs:{\"label\":_vm.$t('contactOptional')},model:{value:(_vm.user.contactOptional),callback:function ($$v) {_vm.$set(_vm.user, \"contactOptional\", $$v)},expression:\"user.contactOptional\"}}),_c('SingleImageUploader',{attrs:{\"label\":\"Foto de perfil\",\"folder\":\"/Users/Photos\"},on:{\"select\":_vm.onSelectPhoto}})],1):_vm._e()])],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\r\nimport { Component, Vue, Watch } from \"vue-property-decorator\";\r\nimport * as types from \"@/store/types\";\r\nimport { UsersService } from \"@/services/api/users.service\";\r\nimport { NotificationServiceBus } from \"@/services/bus/notifications.service\";\r\nimport SingleImageUploaderComponent from \"@/components/uploaders/SingleImageUploader.vue\";\r\nimport { Getter } from \"vuex-class\";\r\nimport { UserDto } from \"@/server/app.dtos\";\r\n\r\n@Component({\r\n components: {\r\n SingleImageUploader: SingleImageUploaderComponent\r\n }\r\n})\r\nexport default class AccountProfilePage extends Vue {\r\n @Getter(\"profile\") profile!: UserDto;\r\n @Watch(\"profile\")\r\n onProfileChanged(): void {\r\n this.user.init(this.profile);\r\n }\r\n user: UserDto = new UserDto();\r\n usersService: UsersService = new UsersService();\r\n isLoading: boolean = false;\r\n isValid: boolean = false;\r\n editor: string = \"\";\r\n\r\n created() {\r\n this.user.init(this.profile);\r\n }\r\n\r\n onSelectPhoto(photo: string): void {\r\n if (photo) {\r\n this.user.photo = photo;\r\n }\r\n }\r\n\r\n onSaveProfile(): void {\r\n if (this.isLoading) return;\r\n if (!this.isValid) {\r\n NotificationServiceBus.showErrorMessage(\r\n \"Atenção\",\r\n \"Insira todos os dados obrigatórios\"\r\n );\r\n return;\r\n }\r\n this.isLoading = true;\r\n this.usersService\r\n .SaveProfile(this.user as UserDto)\r\n .then(() => {\r\n this.$store.dispatch(types.PROFILE_UPDATE, this.user);\r\n NotificationServiceBus.showSuccessMessage(\r\n \"Sucesso\",\r\n \"Os seus dados foram guardados com sucesso\"\r\n );\r\n })\r\n .catch((error: any) => {\r\n NotificationServiceBus.showError(error);\r\n })\r\n .finally(() => (this.isLoading = false));\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=16e15464&\"\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 null,\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 { VForm } from 'vuetify/lib/components/VForm';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VForm,VTextField})\n","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dashboard.vue?vue&type=style&index=0&id=a65fdb4a&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dashboard.vue?vue&type=style&index=0&id=a65fdb4a&scoped=true&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('FullLayout',[_c('div',{staticClass:\"col-12\"},[_c('div',{staticClass:\"row\"},[_c('DateClock',{attrs:{\"mode\":\"light\"}})],1),_c('div',{staticClass:\"row mt-5\"},[_c('div',{staticClass:\"box mx-2 my-2 d-flex align-center justify-center col-xl-2 col-lg-2\"},[_c('a',{staticClass:\"v-btn v-btn--contained v-btn--rounded theme--light v-size--default primary\",attrs:{\"href\":\"/users\"}},[_vm._v(\"Utilizadores\")])]),_c('div',{staticClass:\"box mx-2 mt-2 d-flex align-center justify-center col-xl-2 col-lg-2\"},[_c('a',{staticClass:\"v-btn v-btn--contained v-btn--rounded theme--light v-size--default primary\",attrs:{\"href\":\"/feedback/surveys\"}},[_vm._v(\"Inquéritos\")])])])])])}\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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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 { Component, Vue } from \"vue-property-decorator\";\r\n\r\n@Component\r\nexport default class DashboardPage extends Vue {\r\n cdnEndpoint: string = process.env.VUE_APP_CDN_URL;\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!./Dashboard.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!./Dashboard.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Dashboard.vue?vue&type=template&id=a65fdb4a&scoped=true&\"\nimport script from \"./Dashboard.vue?vue&type=script&lang=ts&\"\nexport * from \"./Dashboard.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Dashboard.vue?vue&type=style&index=0&id=a65fdb4a&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a65fdb4a\",\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('v-file-input',_vm._b({attrs:{\"loading\":_vm.isLoading,\"prepend-icon\":\"las la-image\",\"accept\":\"image/png, image/jpeg, image/bmp\"},on:{\"change\":_vm.onSelect}},'v-file-input',_vm.$props,false))}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from \"vue-property-decorator\";\r\nimport { UploaderService } from \"@/services/cdn/uploader.service\";\r\nimport { ResultUploader } from \"@/models/uploaders/result.uploader\";\r\nimport { NotificationServiceBus } from \"@/services/bus/notifications.service\";\r\nimport { ImageUploader } from \"@/models/uploaders/image.uploader\";\r\n\r\n@Component\r\nexport default class SingleImageUploaderComponent extends Vue {\r\n @Prop() label?: string;\r\n @Prop() folder?: string;\r\n isLoading: boolean = false;\r\n uploadService: UploaderService = new UploaderService();\r\n\r\n onSelect(file?: File): void {\r\n if (this.isLoading) return;\r\n this.isLoading = true;\r\n if (file) {\r\n const model = new ImageUploader();\r\n model.folder = this.folder || null;\r\n model.image = file;\r\n this.uploadService\r\n .UploadSinglePhoto(model)\r\n .then((response: ResultUploader) => {\r\n if (response.processed) {\r\n this.$emit(\"select\", response.path);\r\n } else {\r\n NotificationServiceBus.showErrorMessage(\r\n \"Erro\",\r\n \"O ficheiro não é uma imagem válida\"\r\n );\r\n }\r\n })\r\n .catch(() =>\r\n NotificationServiceBus.showErrorMessage(\r\n \"Erro\",\r\n \"Não foi possível enviar o ficheiro para o servidor\"\r\n )\r\n )\r\n .finally(() => (this.isLoading = false));\r\n } else {\r\n this.isLoading = false;\r\n this.$emit(\"select\", []);\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!./SingleImageUploader.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!./SingleImageUploader.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SingleImageUploader.vue?vue&type=template&id=25a99a95&\"\nimport script from \"./SingleImageUploader.vue?vue&type=script&lang=ts&\"\nexport * from \"./SingleImageUploader.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/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VFileInput } from 'vuetify/lib/components/VFileInput';\ninstallComponents(component, {VFileInput})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-form',{attrs:{\"action\":\"/\",\"method\":\"post\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.onChangePassword($event)}},model:{value:(_vm.isValid),callback:function ($$v) {_vm.isValid=$$v},expression:\"isValid\"}},[_c('Panel',{scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('h3',[_vm._v(\"Segurança\")])]},proxy:true},{key:\"footer\",fn:function(){return [_c('v-btn',{attrs:{\"disabled\":!_vm.isValid,\"type\":\"submit\",\"color\":\"primary\"}},[_vm._v(\"Gravar\")])]},proxy:true}])},[_c('div',[_c('v-text-field',{attrs:{\"disabled\":true,\"name\":'Username',\"value\":_vm.identity.username,\"label\":_vm.$t('username')}}),_c('v-text-field',{staticClass:\"mb-5\",attrs:{\"label\":_vm.$t('password'),\"type\":\"password\",\"required\":true,\"hide-details\":\"auto\",\"autocomplete\":\"new-password\",\"rules\":[_vm.$rules.minLenght(4)]},model:{value:(_vm.command.password),callback:function ($$v) {_vm.$set(_vm.command, \"password\", $$v)},expression:\"command.password\"}}),_c('v-text-field',{attrs:{\"label\":_vm.$t('confirmPassword'),\"type\":\"password\",\"required\":true,\"hide-details\":\"auto\",\"autocomplete\":\"new-password\",\"rules\":[\n _vm.$rules.minLenght(4),\n function () { return _vm.pwdConfirm === _vm.command.password || 'Passwords are diferent'; }\n ]},model:{value:(_vm.pwdConfirm),callback:function ($$v) {_vm.pwdConfirm=$$v},expression:\"pwdConfirm\"}})],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\r\nimport { Component, Vue } from \"vue-property-decorator\";\r\nimport { UsersService } from \"@/services/api/users.service\";\r\nimport { NotificationServiceBus } from \"@/services/bus/notifications.service\";\r\nimport { Getter } from \"vuex-class\";\r\nimport { CurrentUser } from \"@/models/auth/current.user\";\r\nimport { SecurityUserCommand } from \"@/server/app.commands\";\r\n\r\n@Component\r\nexport default class AccountSecurityPage extends Vue {\r\n @Getter(\"identity\") identity!: CurrentUser;\r\n usersService: UsersService = new UsersService();\r\n command: SecurityUserCommand = new SecurityUserCommand();\r\n pwdConfirm: string = \"\";\r\n isLoading: boolean = false;\r\n isValid: boolean = false;\r\n\r\n onChangePassword(): void {\r\n if (this.isLoading) return;\r\n this.isLoading = true;\r\n this.usersService\r\n .ChangePassword(this.command)\r\n .then(() => {\r\n this.clearForm();\r\n NotificationServiceBus.showSuccessMessage(\r\n \"Sucesso\",\r\n \"A sua senha foi alterada com sucesso\"\r\n );\r\n })\r\n .catch((error: any) => {\r\n NotificationServiceBus.showError(error);\r\n })\r\n .finally(() => (this.isLoading = false));\r\n }\r\n\r\n clearForm(): void {\r\n this.command = new SecurityUserCommand();\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!./Security.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!./Security.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Security.vue?vue&type=template&id=04649023&\"\nimport script from \"./Security.vue?vue&type=script&lang=ts&\"\nexport * from \"./Security.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/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VForm,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('FullLayout',{staticClass:\"flex-column\"},[_c('h1',[_vm._v(\"Ajuda\")])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\r\nimport { Component, Vue } from \"vue-property-decorator\";\r\n\r\n@Component\r\nexport default class HelpPage extends Vue {}\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!./Help.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!./Help.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Help.vue?vue&type=template&id=6eca8b4a&\"\nimport script from \"./Help.vue?vue&type=script&lang=ts&\"\nexport * from \"./Help.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('Subheader',[_c('div',{staticClass:\"d-flex align-center justify-space-between w-100\"},[_c('Breadcrumb',{attrs:{\"routes\":['Dashboard', 'Minha Conta']}}),_c('DateClock')],1),_c('div',{staticClass:\"d-flex align-center justify-space-between w-100\"},[_c('h1',[_vm._v(\"Minha Conta\")])])]),_c('LeftMenuLayout',{scopedSlots:_vm._u([{key:\"Menu\",fn:function(){return [_c('h4',[_vm._v(\"Navegação\")]),_c('nav',[_c('ul',_vm._l((_vm.menu),function(item,index){return _c('li',{key:(\"AccountMenu-\" + index)},[_c('router-link',{attrs:{\"to\":item.url}},[_c('i',{class:[item.icon]}),_vm._v(\" \"+_vm._s(item.title)+\" \")])],1)}),0)])]},proxy:true}])},[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[_c('router-view')],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\r\nimport { Component, Vue } from \"vue-property-decorator\";\r\nimport { ISideMenuItem } from \"@/models/menus/abstract/isidemenu\";\r\n\r\n@Component\r\nexport default class AccountLayoutPage extends Vue {\r\n menu: ISideMenuItem[] = [\r\n { icon: \"las la-id-badge\", title: \"Perfil\", url: \"profile\" },\r\n { icon: \"las la-lock\", title: \"Segurança\", url: \"security\" }\r\n // { icon: \"las la-history\", title: \"Histórico\", url: \"history\" }\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!./Layout.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!./Layout.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Layout.vue?vue&type=template&id=6169818c&\"\nimport script from \"./Layout.vue?vue&type=script&lang=ts&\"\nexport * from \"./Layout.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":""}