{"version":3,"sources":["webpack:///./src/views/AccountManagement.vue?ecce","webpack:///./src/components/accountsManagement/SponsorManagement.vue?28ec","webpack:///./src/components/accountsManagement/SponsorManagement.vue","webpack:///./src/components/accountsManagement/SponsorManagement.vue?58f3","webpack:///./src/components/accountsManagement/SponsorManagement.vue?5be9","webpack:///./src/components/accountsManagement/VoiceOfManagement.vue?5ad2","webpack:///./src/components/accountsManagement/VoiceOfManagement.vue","webpack:///./src/components/accountsManagement/VoiceOfManagement.vue?c70f","webpack:///./src/components/accountsManagement/VoiceOfManagement.vue?64c3","webpack:///./src/views/AccountManagement.vue","webpack:///./src/views/AccountManagement.vue?d482","webpack:///./src/views/AccountManagement.vue?aea2"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","accountTypeComponent","tag","staticRenderFns","staticClass","headers","accounts","accountsLoading","search","scopedSlots","_u","key","fn","_v","model","value","callback","$$v","expression","ref","on","_g","_b","addDialog","DOCEO_ICONS","CLOSE","closeDialog","$event","preventDefault","$v","newAccount","firstName","$dirty","$invalid","$set","trim","email","addLoading","submit","proxy","item","userStatus","statuses","Approved","activateLoading","deactivateAccount","Disabled","reactivateAccount","_e","extend","components","DoceoIcon","mixins","data","text","sortable","lastName","validations","required","val","toLowerCase","mounted","fetchAccounts","methods","client","getSponsorUsers","errorStore","addError","detail","$touch","addAccount","command","create","newUser","push","console","error","user","reactivate","userId","deactivate","clear","$reset","component","VBtn","VCard","VCardActions","VCardText","VCardTitle","VCol","VContainer","VDataTable","VDialog","VDivider","VForm","VRow","VSpacer","VTextField","VToolbar","VToolbarTitle","getVoiceOfUsers","VoiceOfManagement","metaInfo","link","rel","href","$route","path","computed","params","accountType","SponsorManagement"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,cAAc,CAACE,MAAM,CAAC,MAAQ,KAAK,CAACF,EAAG,QAAQ,CAACE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AAW,CAACuF,aAAA,KAAWK,OAAA","file":"js/chunk-2d217a40.3037dbb4.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{attrs:{\"fluid\":\"\"}},[_c('v-row',{attrs:{\"justify\":\"center\"}},[_c(_vm.accountTypeComponent,{tag:\"component\"})],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('v-row',{attrs:{\"justify\":\"center\"}},[_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"6\"}},[_c('v-data-table',{staticClass:\"elevation-1\",attrs:{\"headers\":_vm.headers,\"items\":_vm.accounts,\"sort-by\":\"firstName\",\"loading\":_vm.accountsLoading,\"search\":_vm.search},scopedSlots:_vm._u([{key:\"top\",fn:function(){return [_c('v-toolbar',{staticClass:\"flex-wrap\",attrs:{\"flat\":\"\"}},[_c('v-toolbar-title',[_vm._v(\"Sponsor Accounts\")]),_c('v-divider',{staticClass:\"mx-4\",attrs:{\"inset\":\"\",\"vertical\":\"\"}}),_c('v-text-field',{staticClass:\"mr-4\",attrs:{\"append-icon\":\"mdi-magnify\",\"label\":\"Search\",\"single-line\":\"\",\"hide-details\":\"\"},model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}}),_c('v-dialog',{attrs:{\"max-width\":\"500px\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({staticClass:\"mb-2\",attrs:{\"color\":\"primary\",\"rounded\":\"\",\"ripple\":false}},'v-btn',attrs,false),on),[_vm._v(\" New Account \")])]}}]),model:{value:(_vm.addDialog),callback:function ($$v) {_vm.addDialog=$$v},expression:\"addDialog\"}},[_c('v-card',[_c('v-card-title',[_c('v-spacer'),_c('span',{staticClass:\"font-weight-bold\"},[_vm._v(\"New Account\")]),_c('v-spacer'),_c('v-col',{attrs:{\"cols\":\"auto\"}},[_c('doceo-icon',{attrs:{\"icon\":_vm.DOCEO_ICONS.CLOSE,\"size\":16,\"alt\":\"Close\",\"title\":\"Close\"},on:{\"click\":_vm.closeDialog}})],1)],1),_c('v-form',{on:{\"submit\":function($event){$event.preventDefault();}}},[_c('v-card-text',[_c('v-container',[_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[_c('v-text-field',{attrs:{\"label\":\"First Name\",\"type\":\"text\",\"error-messages\":_vm.$v.newAccount.firstName.$dirty && _vm.$v.newAccount.firstName.$invalid ? 'Required' : ''},model:{value:(_vm.newAccount.firstName),callback:function ($$v) {_vm.$set(_vm.newAccount, \"firstName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"newAccount.firstName\"}})],1),_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[_c('v-text-field',{attrs:{\"label\":\"Last Name\",\"type\":\"text\"},model:{value:(_vm.newAccount.lastName),callback:function ($$v) {_vm.$set(_vm.newAccount, \"lastName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"newAccount.lastName\"}})],1)],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-text-field',{attrs:{\"label\":\"E-mail Address\",\"type\":\"email\",\"error-messages\":_vm.$v.newAccount.email.$dirty && _vm.$v.newAccount.email.$invalid ? 'Valid e-mail address required' : ''},model:{value:(_vm.newAccount.email),callback:function ($$v) {_vm.$set(_vm.newAccount, \"email\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"newAccount.email\"}})],1)],1)],1)],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{attrs:{\"color\":\"submit\",\"type\":\"submit\",\"rounded\":\"\",\"ripple\":false,\"loading\":_vm.addLoading},on:{\"click\":_vm.submit}},[_vm._v(\" Save \")]),_c('v-spacer')],1)],1)],1)],1)],1)]},proxy:true},{key:\"item.actions\",fn:function(ref){\nvar item = ref.item;\nreturn [(item.userStatus === _vm.statuses.Approved)?_c('v-btn',{attrs:{\"small\":\"\",\"rounded\":\"\",\"outlined\":\"\",\"ripple\":false,\"loading\":_vm.activateLoading},on:{\"click\":function($event){return _vm.deactivateAccount(item)}}},[_vm._v(\"Deactivate\")]):(item.userStatus === _vm.statuses.Disabled)?_c('v-btn',{attrs:{\"small\":\"\",\"rounded\":\"\",\"outlined\":\"\",\"ripple\":false,\"loading\":_vm.activateLoading},on:{\"click\":function($event){return _vm.reactivateAccount(item)}}},[_vm._v(\"Reactivate\")]):_vm._e()]}},{key:\"no-data\",fn:function(){return [_vm._v(\"No accounts found\")]},proxy:true}])})],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\n\n\n\n\n\n\n\n\n\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 { CreateSponsorUser, SponsorAccountClient, SponsorUserResult, UserStatus } from \"@/api/DoceoApi\";\r\nimport Vue from \"vue\";\r\nimport DoceoIcon from \"@/components/DoceoIcon.vue\";\r\nimport DOCEO_ICONS from \"@/constants/icons\";\r\nimport { validationMixin } from \"vuelidate\";\r\nimport { email, required } from \"vuelidate/lib/validators\";\r\nimport { useErrorStore } from \"@/store/errorStore\";\r\n\r\nexport default Vue.extend({\r\n components: { DoceoIcon },\r\n\r\n mixins: [validationMixin],\r\n\r\n data: () => ({\r\n accounts: [] as SponsorUserResult[],\r\n accountsLoading: false,\r\n headers: [\r\n { text: \"First Name\", value: \"firstName\" },\r\n { text: \"Last Name\", value: \"lastName\" },\r\n { text: \"Email\", value: \"email\" },\r\n { text: \"Status\", value: \"userStatus\" },\r\n { text: \"\", value: \"actions\", sortable: false },\r\n ],\r\n addDialog: false,\r\n addLoading: false,\r\n newAccount: {\r\n firstName: \"\",\r\n lastName: \"\",\r\n email: \"\",\r\n },\r\n search: \"\",\r\n activateLoading: false,\r\n statuses: UserStatus,\r\n DOCEO_ICONS,\r\n }),\r\n\r\n validations: {\r\n newAccount: {\r\n firstName: {\r\n required,\r\n },\r\n email: {\r\n required,\r\n email: (val) => (email as any)(val.toLowerCase()),\r\n },\r\n },\r\n },\r\n\r\n mounted() {\r\n this.fetchAccounts();\r\n },\r\n\r\n methods: {\r\n /** Initializes the table by getting the list of accounts. */\r\n async fetchAccounts() {\r\n this.accountsLoading = true;\r\n try {\r\n const client = new SponsorAccountClient();\r\n this.accounts = await client.getSponsorUsers();\r\n } catch (e) {\r\n const errorStore = useErrorStore();\r\n errorStore.addError(e.detail);\r\n } finally {\r\n this.accountsLoading = false;\r\n }\r\n },\r\n /** Validates the form and calls the creates the account if valid. */\r\n submit() {\r\n this.$v.$touch();\r\n if (this.$v.newAccount.$invalid) return;\r\n this.addAccount();\r\n },\r\n /** Creates a new account. */\r\n async addAccount() {\r\n this.addLoading = true;\r\n try {\r\n const client = new SponsorAccountClient();\r\n\r\n const command = new CreateSponsorUser({\r\n firstName: this.newAccount.firstName,\r\n lastName: this.newAccount.lastName,\r\n email: this.newAccount.email,\r\n });\r\n\r\n const newUser = await client.create(command);\r\n this.accounts.push(newUser);\r\n\r\n this.closeDialog();\r\n } catch (e) {\r\n console.error(e);\r\n const errorStore = useErrorStore();\r\n errorStore.addError(e.detail);\r\n } finally {\r\n this.addLoading = false;\r\n }\r\n },\r\n /** Reactivates the specified account. */\r\n async reactivateAccount(user) {\r\n this.activateLoading = true;\r\n try {\r\n const client = new SponsorAccountClient();\r\n await client.reactivate(user.userId);\r\n user.userStatus = UserStatus.Approved;\r\n } finally {\r\n this.activateLoading = false;\r\n }\r\n },\r\n /** Deactivates the specified account. */\r\n async deactivateAccount(user) {\r\n this.activateLoading = true;\r\n try {\r\n const client = new SponsorAccountClient();\r\n await client.deactivate(user.userId);\r\n user.userStatus = UserStatus.Disabled;\r\n } finally {\r\n this.activateLoading = false;\r\n }\r\n },\r\n /** Closes the New Account dialog. */\r\n closeDialog() {\r\n this.addDialog = false;\r\n this.clear();\r\n },\r\n /** Clears the New Account form. */\r\n clear() {\r\n this.$v.$reset();\r\n this.newAccount.firstName = \"\";\r\n this.newAccount.lastName = \"\";\r\n this.newAccount.email = \"\";\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!./SponsorManagement.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!./SponsorManagement.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SponsorManagement.vue?vue&type=template&id=25817766&\"\nimport script from \"./SponsorManagement.vue?vue&type=script&lang=ts&\"\nexport * from \"./SponsorManagement.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 { 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 { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VToolbar } from 'vuetify/lib/components/VToolbar';\nimport { VToolbarTitle } from 'vuetify/lib/components/VToolbar';\ninstallComponents(component, {VBtn,VCard,VCardActions,VCardText,VCardTitle,VCol,VContainer,VDataTable,VDialog,VDivider,VForm,VRow,VSpacer,VTextField,VToolbar,VToolbarTitle})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-row',{attrs:{\"justify\":\"center\"}},[_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"6\"}},[_c('v-data-table',{staticClass:\"elevation-1\",attrs:{\"headers\":_vm.headers,\"items\":_vm.accounts,\"sort-by\":\"firstName\",\"loading\":_vm.accountsLoading,\"search\":_vm.search},scopedSlots:_vm._u([{key:\"top\",fn:function(){return [_c('v-toolbar',{staticClass:\"flex-wrap\",attrs:{\"flat\":\"\"}},[_c('v-toolbar-title',[_vm._v(\"Voice Of Accounts\")]),_c('v-divider',{staticClass:\"mx-4\",attrs:{\"inset\":\"\",\"vertical\":\"\"}}),_c('v-text-field',{staticClass:\"mr-4\",attrs:{\"append-icon\":\"mdi-magnify\",\"label\":\"Search\",\"single-line\":\"\",\"hide-details\":\"\"},model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}}),_c('v-dialog',{attrs:{\"max-width\":\"500px\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({staticClass:\"mb-2\",attrs:{\"color\":\"primary\",\"rounded\":\"\",\"ripple\":false}},'v-btn',attrs,false),on),[_vm._v(\" New Account \")])]}}]),model:{value:(_vm.addDialog),callback:function ($$v) {_vm.addDialog=$$v},expression:\"addDialog\"}},[_c('v-card',[_c('v-card-title',[_c('v-spacer'),_c('span',{staticClass:\"font-weight-bold\"},[_vm._v(\"New Account\")]),_c('v-spacer'),_c('v-col',{attrs:{\"cols\":\"auto\"}},[_c('doceo-icon',{attrs:{\"icon\":_vm.DOCEO_ICONS.CLOSE,\"size\":16,\"alt\":\"Close\",\"title\":\"Close\"},on:{\"click\":_vm.closeDialog}})],1)],1),_c('v-form',{on:{\"submit\":function($event){$event.preventDefault();}}},[_c('v-card-text',[_c('v-container',[_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[_c('v-text-field',{attrs:{\"label\":\"First Name\",\"type\":\"text\",\"error-messages\":_vm.$v.newAccount.firstName.$dirty && _vm.$v.newAccount.firstName.$invalid ? 'Required' : ''},model:{value:(_vm.newAccount.firstName),callback:function ($$v) {_vm.$set(_vm.newAccount, \"firstName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"newAccount.firstName\"}})],1),_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"6\"}},[_c('v-text-field',{attrs:{\"label\":\"Last Name\",\"type\":\"text\"},model:{value:(_vm.newAccount.lastName),callback:function ($$v) {_vm.$set(_vm.newAccount, \"lastName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"newAccount.lastName\"}})],1)],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-text-field',{attrs:{\"label\":\"E-mail Address\",\"type\":\"email\",\"error-messages\":_vm.$v.newAccount.email.$dirty && _vm.$v.newAccount.email.$invalid ? 'Valid e-mail address required' : ''},model:{value:(_vm.newAccount.email),callback:function ($$v) {_vm.$set(_vm.newAccount, \"email\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"newAccount.email\"}})],1)],1)],1)],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{attrs:{\"color\":\"submit\",\"type\":\"submit\",\"rounded\":\"\",\"ripple\":false,\"loading\":_vm.addLoading},on:{\"click\":_vm.submit}},[_vm._v(\" Save \")]),_c('v-spacer')],1)],1)],1)],1)],1)]},proxy:true},{key:\"item.actions\",fn:function(ref){\nvar item = ref.item;\nreturn [(item.userStatus === _vm.statuses.Approved)?_c('v-btn',{attrs:{\"small\":\"\",\"rounded\":\"\",\"outlined\":\"\",\"ripple\":false,\"loading\":_vm.activateLoading},on:{\"click\":function($event){return _vm.deactivateAccount(item)}}},[_vm._v(\"Deactivate\")]):(item.userStatus === _vm.statuses.Disabled)?_c('v-btn',{attrs:{\"small\":\"\",\"rounded\":\"\",\"outlined\":\"\",\"ripple\":false,\"loading\":_vm.activateLoading},on:{\"click\":function($event){return _vm.reactivateAccount(item)}}},[_vm._v(\"Reactivate\")]):_vm._e()]}},{key:\"no-data\",fn:function(){return [_vm._v(\"No accounts found\")]},proxy:true}])})],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\n\n\n\n\n\n\n\n\n\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 { CreateVoiceOfUser, UserStatus, VoiceOfAccountClient, VoiceOfUserResult } from \"@/api/DoceoApi\";\r\nimport Vue from \"vue\";\r\nimport DoceoIcon from \"@/components/DoceoIcon.vue\";\r\nimport DOCEO_ICONS from \"@/constants/icons\";\r\nimport { validationMixin } from \"vuelidate\";\r\nimport { email, required } from \"vuelidate/lib/validators\";\r\nimport { useErrorStore } from \"@/store/errorStore\";\r\n\r\nexport default Vue.extend({\r\n components: { DoceoIcon },\r\n\r\n mixins: [validationMixin],\r\n\r\n data: () => ({\r\n accounts: [] as VoiceOfUserResult[],\r\n accountsLoading: false,\r\n headers: [\r\n { text: \"First Name\", value: \"firstName\" },\r\n { text: \"Last Name\", value: \"lastName\" },\r\n { text: \"Email\", value: \"email\" },\r\n { text: \"Status\", value: \"userStatus\" },\r\n { text: \"\", value: \"actions\", sortable: false },\r\n ],\r\n addDialog: false,\r\n addLoading: false,\r\n newAccount: {\r\n firstName: \"\",\r\n lastName: \"\",\r\n email: \"\",\r\n },\r\n search: \"\",\r\n activateLoading: false,\r\n statuses: UserStatus,\r\n DOCEO_ICONS,\r\n }),\r\n\r\n validations: {\r\n newAccount: {\r\n firstName: {\r\n required,\r\n },\r\n email: {\r\n required,\r\n email: (val) => (email as any)(val.toLowerCase()),\r\n },\r\n },\r\n },\r\n\r\n mounted() {\r\n this.fetchAccounts();\r\n },\r\n\r\n methods: {\r\n /** Initializes the table by getting the list of accounts. */\r\n async fetchAccounts() {\r\n this.accountsLoading = true;\r\n try {\r\n const client = new VoiceOfAccountClient();\r\n this.accounts = await client.getVoiceOfUsers();\r\n } catch (e) {\r\n const errorStore = useErrorStore();\r\n errorStore.addError(e.detail);\r\n } finally {\r\n this.accountsLoading = false;\r\n }\r\n },\r\n /** Validates the form and calls the creates the account if valid. */\r\n submit() {\r\n this.$v.$touch();\r\n if (this.$v.newAccount.$invalid) return;\r\n this.addAccount();\r\n },\r\n /** Creates a new account. */\r\n async addAccount() {\r\n this.addLoading = true;\r\n try {\r\n const client = new VoiceOfAccountClient();\r\n\r\n const command = new CreateVoiceOfUser({\r\n firstName: this.newAccount.firstName,\r\n lastName: this.newAccount.lastName,\r\n email: this.newAccount.email,\r\n });\r\n\r\n const newUser = await client.create(command);\r\n this.accounts.push(newUser);\r\n\r\n this.closeDialog();\r\n } catch (e) {\r\n console.error(e);\r\n const errorStore = useErrorStore();\r\n errorStore.addError(e.detail);\r\n } finally {\r\n this.addLoading = false;\r\n }\r\n },\r\n /** Reactivates the specified account. */\r\n async reactivateAccount(user) {\r\n this.activateLoading = true;\r\n try {\r\n const client = new VoiceOfAccountClient();\r\n await client.reactivate(user.userId);\r\n user.userStatus = UserStatus.Approved;\r\n } finally {\r\n this.activateLoading = false;\r\n }\r\n },\r\n /** Deactivates the specified account. */\r\n async deactivateAccount(user) {\r\n this.activateLoading = true;\r\n try {\r\n const client = new VoiceOfAccountClient();\r\n await client.deactivate(user.userId);\r\n user.userStatus = UserStatus.Disabled;\r\n } finally {\r\n this.activateLoading = false;\r\n }\r\n },\r\n /** Closes the New Account dialog. */\r\n closeDialog() {\r\n this.addDialog = false;\r\n this.clear();\r\n },\r\n /** Clears the New Account form. */\r\n clear() {\r\n this.$v.$reset();\r\n this.newAccount.firstName = \"\";\r\n this.newAccount.lastName = \"\";\r\n this.newAccount.email = \"\";\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!./VoiceOfManagement.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!./VoiceOfManagement.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./VoiceOfManagement.vue?vue&type=template&id=13dc896a&\"\nimport script from \"./VoiceOfManagement.vue?vue&type=script&lang=ts&\"\nexport * from \"./VoiceOfManagement.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 { 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 { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VToolbar } from 'vuetify/lib/components/VToolbar';\nimport { VToolbarTitle } from 'vuetify/lib/components/VToolbar';\ninstallComponents(component, {VBtn,VCard,VCardActions,VCardText,VCardTitle,VCol,VContainer,VDataTable,VDialog,VDivider,VForm,VRow,VSpacer,VTextField,VToolbar,VToolbarTitle})\n","\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport SponsorManagement from \"@/components/accountsManagement/SponsorManagement.vue\";\r\nimport VoiceOfManagement from \"@/components/accountsManagement/VoiceOfManagement.vue\";\r\n\r\nexport default Vue.extend({\r\n components: { VoiceOfManagement },\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 computed: {\r\n accountTypeComponent: function() {\r\n switch (this.$route.params.accountType) {\r\n case \"sponsor\":\r\n return SponsorManagement;\r\n case \"voiceof\":\r\n return VoiceOfManagement;\r\n default:\r\n return null;\r\n }\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!./AccountManagement.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!./AccountManagement.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AccountManagement.vue?vue&type=template&id=207d6148&\"\nimport script from \"./AccountManagement.vue?vue&type=script&lang=ts&\"\nexport * from \"./AccountManagement.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 { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VContainer,VRow})\n"],"sourceRoot":""}