{"version":3,"sources":["webpack:///./src/models/bankaccountmembers/BankAccountMemberDashboardResponseModel.ts","webpack:///./src/apis/BankAccountMembersApi.ts","webpack:///./src/enums/BankAccountMemberOperations.ts","webpack:///./src/views/bankaccountmembers/BankAccountMemberDashboard.vue?afce","webpack:///./src/views/bankaccountmembers/BankAccountMemberDashboard.vue","webpack:///./src/views/bankaccountmembers/BankAccountMemberDashboard.vue?c11e","webpack:///./src/views/bankaccountmembers/BankAccountMemberDashboard.vue?373c"],"names":["authorizedOperations","bankAccountMemberId","givenName","surname","roleType","roleTypeId","createdBy","bankAccountId","jwt","httpClient","CashTamerHttpClient","url","securePutAsync","this","handleApiError","secureDeleteAsync","secureGetAsync","httpResponse","bankAccountMember","data","createdDateTimeUtc","CashTamerApiBase","BankAccountMemberOperations","render","_vm","_h","$createElement","_c","_self","attrs","staticClass","name","_v","params","_e","dashboard","scopedSlots","_u","key","fn","ref","on","_g","directives","rawName","value","showOperation","opTypes","CHANGE_ROLE","expression","DELETE","_s","_f","staticRenderFns","operationId","show","resetInitializationValues","api","BankAccountMembersApi","getBankAccountMemberDashBoardAsync","$store","state","member","response","commit","handleInitializationErrorAsync","initializing","selectedBankAccountMember","initializationError","ViewBase","default","required","component","VAlert","VBtn","VCard","VCardText","VCardTitle","VCol","VContainer","VDivider","VIcon","VList","VListItem","VListItemContent","VListItemSubtitle","VListItemTitle","VMenu","VProgressCircular","VRow","VSpacer","VToolbar","VTooltip"],"mappings":"sPACqB,EAArB,oCACW,KAAAA,qBAA+B,EAC/B,KAAAC,oBAA8B,EAC9B,KAAAC,UAAoB,GACpB,KAAAC,QAAkB,GAClB,KAAAC,SAAmB,GACnB,KAAAC,WAAqB,EACrB,KAAAC,UAAoB,ICJV,E,qPAEYC,EAAuBN,EAA6BI,EAAoBG,G,yGAGvFC,EAAa,IAAIC,EAAA,KAEjBC,EAAc,uBAAyBJ,EAAgB,YAAcN,EAAsB,IAAMI,E,SACjGI,EAAWG,eAAeD,EAAK,KAAMH,G,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,IAAI,IACrkEmB,EAAkB,G,oICoGD,EAArB,wLAuByBC,GACjB,IAAIC,GAAgB,EAOpB,OALK1C,KAAKsB,UAAUnC,qBAAuBsD,IAEvCC,GAAO,GAGJA,IA/Bf,oMAqCY1C,KAAK2C,4BAECC,EAAM,IAAIC,EAAA,KAvC5B,SAwCmCD,EAAIE,mCAAmC9C,KAAKN,cAAeM,KAAKZ,oBAAqBY,KAAK+C,OAAOC,MAAMC,OAAOtD,KAxCjJ,OAwCkBuD,EAxClB,OAyCYlD,KAAK+C,OAAOI,OAAO,kCAAmCD,GAzClE,oEA4CkBlD,KAAKoD,+BAAL,MA5ClB,yBA+CYpD,KAAKqD,cAAe,EA/ChC,qKAQQ,OAAOrD,KAAK+C,OAAOC,MAAMM,4BARjC,oCAYQ,OAAMtD,KAAKqD,eAAiBrD,KAAKuD,sBAZzC,8BAoBQ,OAAO9C,EAAA,SApBf,GAAwD+C,EAAA,MAEpD,gBADC,eAAK,CAACC,QAAS,EAAGC,UAAU,K,oCAI7B,gBADC,eAAK,CAACD,QAAS,EAAGC,UAAU,K,0CAJZ,EAA0B,gBAJ9C,eAAU,CACHxC,KAAM,gCAGO,WCzGkZ,I,6OCOnayC,EAAY,eACd,EACAjD,EACA8B,GACA,EACA,KACA,KACA,MAIa,aAAAmB,EAAiB,QAwBhC,IAAkBA,EAAW,CAACC,SAAA,KAAOC,OAAA,KAAKC,QAAA,KAAMC,UAAA,OAAUC,WAAA,OAAWC,OAAA,KAAKC,aAAA,KAAWC,WAAA,KAASC,QAAA,KAAMC,QAAA,KAAMC,YAAA,KAAUC,iBAAA,OAAiBC,kBAAA,OAAkBC,eAAA,OAAeC,QAAA,KAAMC,oBAAA,KAAkBC,OAAA,KAAKC,UAAA,KAAQC,WAAA,KAASC,WAAA","file":"js/chunk-3ebee8e2.27d21986.js","sourcesContent":["\r\nexport default class BankAccountMemberDashboardResponseModel {\r\n public authorizedOperations: number = 0;\r\n public bankAccountMemberId: number = 0;\r\n public givenName: string = '';\r\n public surname: string = '';\r\n public roleType: string = '';\r\n public roleTypeId: number = 0;\r\n public createdBy: string = '';\r\n public createdDateTimeUtc?: Date;\r\n}\r\n","import CashTamerHttpClient from './CashTamerHttpClient';\r\nimport CashTamerApiBase from './CashTamerApiBase';\r\nimport BankAccountMemberDashboardResponseModel from '@/models/bankaccountmembers/BankAccountMemberDashboardResponseModel';\r\n\r\nexport default class BankAccountMembersApi extends CashTamerApiBase {\r\n\r\n public async changeRoleAsync(bankAccountId: number, bankAccountMemberId: number, roleTypeId: number, jwt: string): Promise {\r\n\r\n try {\r\n const httpClient = new CashTamerHttpClient();\r\n\r\n const url: string = 'member/bankaccounts/' + bankAccountId + '/members/' + bankAccountMemberId + '/' + roleTypeId;\r\n await httpClient.securePutAsync(url, null, jwt);\r\n }\r\n catch ( err ) {\r\n return this.handleApiError(err);\r\n }\r\n }\r\n\r\n public async deleteAsync(bankAccountId: number, bankAccountMemberId: number, jwt: string): Promise {\r\n\r\n try {\r\n const httpClient = new CashTamerHttpClient();\r\n\r\n const url: string = 'member/bankaccounts/' + bankAccountId + '/members/' + bankAccountMemberId;\r\n await httpClient.secureDeleteAsync(url, jwt);\r\n }\r\n catch ( err ) {\r\n return this.handleApiError(err);\r\n }\r\n }\r\n\r\n public async getBankAccountMemberDashBoardAsync(bankAccountId: number, bankAccountMemberId: number, jwt: string): Promise {\r\n\r\n try {\r\n const httpClient = new CashTamerHttpClient();\r\n\r\n const url: string = 'member/bankaccounts/' + bankAccountId + '/members/' + bankAccountMemberId;\r\n const httpResponse = await httpClient.secureGetAsync(url, jwt);\r\n\r\n const bankAccountMember = new BankAccountMemberDashboardResponseModel();\r\n bankAccountMember.authorizedOperations = httpResponse.data.authorizedOperations;\r\n bankAccountMember.bankAccountMemberId = httpResponse.data.bankAccountMemberId;\r\n bankAccountMember.createdBy = httpResponse.data.createdBy;\r\n bankAccountMember.createdDateTimeUtc = httpResponse.data.createdDateTimeUtc;\r\n bankAccountMember.givenName = httpResponse.data.givenName;\r\n bankAccountMember.roleType = httpResponse.data.roleType;\r\n bankAccountMember.roleTypeId = httpResponse.data.roleTypeId;\r\n bankAccountMember.surname = httpResponse.data.surname;\r\n\r\n return bankAccountMember;\r\n }\r\n catch (err) {\r\n return this.handleApiError(err);\r\n }\r\n }\r\n\r\n}\r\n","\r\nexport enum BankAccountMemberOperations {\r\n NONE = 0,\r\n VIEW = 1,\r\n CHANGE_ROLE = 2,\r\n DELETE = 4,\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',[_c('v-row',{attrs:{\"justify\":\"center\"}},[_c('v-col',{attrs:{\"cols\":\"12\",\"xs\":\"12\"}},[_c('router-link',{staticClass:\"mr-2\",attrs:{\"to\":{name: 'memberbankaccounts'}}},[_vm._v(\"Bank Accounts\")]),_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\"mdi-forward\")]),_c('router-link',{staticClass:\"ml-2 mr-2\",attrs:{\"to\":{name: 'bankaccountdashboard', params:{bankAccountId: _vm.bankAccountId}}}},[_vm._v(\"Bank Account\")]),_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\"mdi-forward\")]),_c('router-link',{staticClass:\"ml-2\",attrs:{\"to\":{name: 'bankaccountmembers', params:{bankAccountId: _vm.bankAccountId}}}},[_vm._v(\"Bank Account Members\")])],1)],1),_c('v-row',{attrs:{\"justify\":\"center\"}},[_c('v-col',{attrs:{\"cols\":\"12\",\"xs\":\"12\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline justify-center\"},[_vm._v(\"BANK ACCOUNT MEMBER\")]),_c('v-card-text',{staticClass:\"mt-2 black--text\"},[(_vm.initializing)?_c('div',{staticClass:\"text-center\"},[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}})],1):_vm._e(),(_vm.initializationError)?_c('div',{staticClass:\"text-center\"},[_c('v-alert',{attrs:{\"type\":\"error\",\"outlined\":\"\"}},[_vm._v(\"An error occurred while processing the request.\")])],1):_vm._e(),(_vm.showDashboard)?_c('div',[_c('v-row',{attrs:{\"justify\":\"center\"}},[_c('v-col',{staticClass:\"pa-0\",attrs:{\"cols\":\"12\",\"xs\":\"12\",\"md\":\"9\",\"lg\":\"12\"}},[_c('v-toolbar',{staticClass:\"pa-0 ma-0\",attrs:{\"dense\":\"\",\"flat\":\"\"}},[_c('v-spacer'),(_vm.dashboard.authorizedOperations > 1)?_c('v-menu',{attrs:{\"offset-x\":\"\",\"left\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-btn',_vm._g({attrs:{\"text\":\"\",\"icon\":\"\",\"color\":\"primary\"}},on),[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-icon',_vm._g({},on),[_vm._v(\"mdi-menu-open\")])]}}],null,true)},[_c('span',[_vm._v(\"Options\")])])],1)]}}],null,false,1352972215)},[_c('v-list',{attrs:{\"dense\":\"\"}},[_c('v-list-item',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showOperation(_vm.opTypes.CHANGE_ROLE)),expression:\"showOperation(opTypes.CHANGE_ROLE)\"}],attrs:{\"to\":{name: 'bankaccountmemberchangerole', params: { bankAccountId: _vm.bankAccountId, bankAccountMemberId: _vm.bankAccountMemberId}},\"exact\":\"\"}},[_c('v-list-item-title',[_vm._v(\"Change Role\")])],1),_c('v-list-item',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showOperation(_vm.opTypes.DELETE)),expression:\"showOperation(opTypes.DELETE)\"}],attrs:{\"to\":{name: 'bankaccountmemberdelete', params: { bankAccountId: _vm.bankAccountId, bankAccountMemberId: _vm.bankAccountMemberId}},\"exact\":\"\"}},[_c('v-list-item-title',[_vm._v(\"Delete\")])],1)],1)],1):_vm._e(),_c('v-spacer')],1),_c('v-divider')],1)],1),_c('v-row',{attrs:{\"justify\":\"center\"}},[_c('v-col',{attrs:{\"cols\":\"12\",\"xs\":\"12\",\"md\":\"9\",\"lg\":\"9\"}},[_c('v-list',{staticClass:\"mt-0 pa-0\"},[_c('v-list-item',{staticClass:\"mb-2\"},[_c('v-list-item-content',[_c('v-list-item-title',{staticClass:\"mb-4\"},[_vm._v(\"Member\")]),_c('v-list-item-subtitle',{staticClass:\"ml-2\"},[_vm._v(_vm._s(_vm.dashboard.givenName)+\" \"+_vm._s(_vm.dashboard.surname))])],1)],1),_c('v-list-item',{staticClass:\"mb-2\"},[_c('v-list-item-content',[_c('v-list-item-title',{staticClass:\"mb-4\"},[_vm._v(\"Role\")]),_c('v-list-item-subtitle',{staticClass:\"ml-2\"},[_vm._v(_vm._s(_vm.dashboard.roleType))])],1)],1),_c('v-list-item',{staticClass:\"mb-2\"},[_c('v-list-item-content',[_c('v-list-item-title',{staticClass:\"mb-4\"},[_vm._v(\"Created Date\")]),_c('v-list-item-subtitle',{staticClass:\"ml-2\"},[_vm._v(_vm._s(_vm._f(\"formatDateTime\")(_vm.dashboard.createdDateTimeUtc)))])],1)],1),_c('v-list-item',{staticClass:\"mb-2\"},[_c('v-list-item-content',[_c('v-list-item-title',{staticClass:\"mb-4\"},[_vm._v(\"Created By\")]),_c('v-list-item-subtitle',{staticClass:\"ml-2\"},[_vm._v(_vm._s(_vm.dashboard.createdBy))])],1)],1)],1)],1)],1)],1):_vm._e()])],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\n\n\n\n\n\n\n\n\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, Prop, Vue} from 'vue-property-decorator';\r\nimport ViewBase from '@/views/ViewBase';\r\nimport {BankAccountMemberOperations} from '@/enums/BankAccountMemberOperations';\r\nimport BankAccountMembersApi from '@/apis/BankAccountMembersApi';\r\nimport BankAccountMemberDashboardResponseModel from '@/models/bankaccountmembers/BankAccountMemberDashboardResponseModel';\r\n\r\n@Component({\r\n name: 'BankAccountMemberDashboard',\r\n },\r\n)\r\nexport default class BankAccountMemberDashboard extends ViewBase {\r\n @Prop({default: 0, required: true})\r\n public bankAccountId!: number;\r\n\r\n @Prop({default: 0, required: true})\r\n public bankAccountMemberId!: number;\r\n\r\n public get dashboard(): BankAccountMemberDashboardResponseModel {\r\n return this.$store.state.selectedBankAccountMember;\r\n }\r\n\r\n public get showDashboard(): boolean {\r\n if ( !this.initializing && !this.initializationError ) {\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n\r\n public get opTypes(): any {\r\n return BankAccountMemberOperations;\r\n }\r\n\r\n public showOperation(operationId: number): boolean {\r\n let show: boolean = false;\r\n\r\n if ( this.dashboard.authorizedOperations & operationId )\r\n {\r\n show = true;\r\n }\r\n\r\n return show;\r\n }\r\n\r\n public async created() {\r\n\r\n try {\r\n this.resetInitializationValues();\r\n\r\n const api = new BankAccountMembersApi();\r\n const response = await api.getBankAccountMemberDashBoardAsync(this.bankAccountId, this.bankAccountMemberId, this.$store.state.member.jwt);\r\n this.$store.commit('mutateSelectedBankAccountMember', response);\r\n }\r\n catch ( err ) {\r\n await this.handleInitializationErrorAsync(err);\r\n }\r\n finally {\r\n this.initializing = false;\r\n }\r\n }\r\n\r\n}\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BankAccountMemberDashboard.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BankAccountMemberDashboard.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./BankAccountMemberDashboard.vue?vue&type=template&id=cfe9e56a&\"\nimport script from \"./BankAccountMemberDashboard.vue?vue&type=script&lang=ts&\"\nexport * from \"./BankAccountMemberDashboard.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 { VAlert } from 'vuetify/lib/components/VAlert';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } 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 { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemSubtitle } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VToolbar } from 'vuetify/lib/components/VToolbar';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VAlert,VBtn,VCard,VCardText,VCardTitle,VCol,VContainer,VDivider,VIcon,VList,VListItem,VListItemContent,VListItemSubtitle,VListItemTitle,VMenu,VProgressCircular,VRow,VSpacer,VToolbar,VTooltip})\n"],"sourceRoot":""}