{"version":3,"sources":["webpack:///./src/views/module-approvers/pending.vue","webpack:///src/views/module-approvers/pending.vue","webpack:///./src/views/module-approvers/pending.vue?b70d","webpack:///./src/views/module-approvers/pending.vue?09a4","webpack:///./src/components/ui/confirmationDialog.vue","webpack:///src/components/ui/confirmationDialog.vue","webpack:///./src/components/ui/confirmationDialog.vue?0e04","webpack:///./src/components/ui/confirmationDialog.vue?dbad","webpack:///./src/views/module-approvers/pending.vue?77cc"],"names":["render","_vm","this","_c","_self","staticClass","class","alertType","attrs","model","value","alert","callback","$$v","expression","_v","_s","alertMessage","loadingData","_e","staticStyle","_l","pendingApprovers","item","key","id","module","moduleType","approvalCount","approvers","join","on","$event","openConfirmDialog","openCancelModal","rejectDialog","ref","valid","formData","comments","$set","reject","isLoading","dialog","approve","staticRenderFns","components","Button","TextField","ConfirmationDialog","data","comment","methods","showAlertMessage","message","type","_this","setTimeout","getAllPendingApprovers","_this2","salaryComponentService","getPendingModule","then","result","catch","_this3","push","Status","Comments","approveModule","finally","_this4","isSaving","mounted","component","show","title","btnTitle","loading","btnAction","stopPropagation","props","String","Boolean","computed","get","set","$emit"],"mappings":"uIAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,QAAQ,GAAG,CAACA,EAAG,MAAM,CAACE,YAAY,OAAO,CAACF,EAAG,MAAM,CAACE,YAAY,6BAA6B,CAACF,EAAG,cAAc,CAACA,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAACF,EAAG,MAAM,CAACA,EAAG,UAAU,CAACE,YAAY,QAAQC,MAAM,CAAC,cAA6B,SAAfL,EAAIM,UAAoB,gBAA+B,WAAfN,EAAIM,WAAsBC,MAAM,CAAC,OAAS,OAAO,KAAO,GAAG,YAAc,IAAIC,MAAM,CAACC,MAAOT,EAAIU,MAAOC,SAAS,SAAUC,GAAMZ,EAAIU,MAAME,GAAKC,WAAW,UAAU,CAACb,EAAIc,GAAG,IAAId,EAAIe,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,YCmBP,GACfC,WAAA,CACAC,eAEAkC,MAAA,CACAL,MAAA,CACArB,KAAA2B,QAEAL,SAAA,CACAtB,KAAA2B,QAEAvC,OAAA,CACAY,KAAA4B,SAEAzC,UAAA,CACAa,KAAA4B,UAGAC,SAAA,CACAT,KAAA,CACAU,IAAA,WACA,YAAA1C,QAEA2C,IAAA,SAAA3C,GACAA,GACA,KAAA4C,MAAA,WAIAT,QAAA,CACAO,IAAA,WACA,YAAA3C,WAEA4C,IAAA,SAAA5C,GACAA,GACA,KAAA6C,MAAA,YAKAnC,QAAA,CACA2B,UAAA,WACA,KAAAQ,MAAA,gBC/D0W,I,YCOtWb,EAAY,eACd,EACA1E,EACA6C,GACA,EACA,KACA,KACA,MAIa,OAAA6B,E,2CClBf","file":"js/chunk-433af983.fc3ea2c7.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-app',{},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-12 ml-auto mr-auto\"},[_c('v-container',[_c('div',{staticClass:\"mb-4 mt-8 d-flex\"},[_c('div',[_c('v-alert',{staticClass:\"alert\",class:{'alert-error':_vm.alertType=='error', 'alert-success':_vm.alertType=='success'},attrs:{\"border\":\"left\",\"dark\":\"\",\"dismissible\":\"\"},model:{value:(_vm.alert),callback:function ($$v) {_vm.alert=$$v},expression:\"alert\"}},[_vm._v(\" \"+_vm._s(_vm.alertMessage)+\" \")])],1),_c('div',{staticClass:\"col-md-11 text-center\"},[_c('h1',[_vm._v(\"Pending Approver Configuration\")])])]),(_vm.loadingData)?_c('div',{staticClass:\"text-center\"},[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}})],1):_vm._e(),_c('v-simple-table',[_c('thead',[_c('tr',[_c('th',{staticClass:\"sticky-col\"},[_vm._v(\" S/N \")]),_c('th',{staticClass:\"sticky-col\"},[_vm._v(\" Module \")]),_c('th',{staticClass:\"sticky-col\"},[_vm._v(\" Module Type \")]),_c('th',{staticClass:\"sticky-col\"},[_vm._v(\" Approval Level \")]),_c('th',{staticClass:\"sticky-col\"},[_vm._v(\" Approvers \")]),_c('th',{staticClass:\"sticky-col\",staticStyle:{\"text-align\":\"center\"}},[_vm._v(\" Action \")])])]),_c('tbody',_vm._l((_vm.pendingApprovers),function(item){return _c('tr',{key:item.id},[_c('td',[_vm._v(_vm._s(item.id))]),_c('td',[_vm._v(_vm._s(item.module))]),_c('td',[(item.moduleType === null)?_c('span',[_vm._v(\" N/A\")]):_c('span',[_vm._v(\" \"+_vm._s(item.moduleType)+\" \")])]),_c('td',[_vm._v(_vm._s(item.approvalCount))]),_c('td',[_vm._v(_vm._s(item.approvers.join(' , ' )))]),_c('td',{staticClass:\"d-flex\"},[_c('Button',{staticClass:\"mr-2\",attrs:{\"btnType\":'Forward',\"color\":'primary',\"label\":'Approve'},on:{\"onClick\":function($event){return _vm.openConfirmDialog(item)}}}),_c('Button',{attrs:{\"btnType\":'Cancel',\"color\":'primary',\"label\":'Reject'},on:{\"onClick\":function($event){return _vm.openCancelModal(item)}}})],1)])}),0)]),_c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"400\"},model:{value:(_vm.rejectDialog),callback:function ($$v) {_vm.rejectDialog=$$v},expression:\"rejectDialog\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline text-center\"},[_c('h3',[_vm._v(\"Reason for rejecting\")])]),_c('v-divider',{staticClass:\"mx-4 mb-5\"}),_c('v-card-text',{staticClass:\"mt-5\"},[_c('v-form',{ref:\"commentForm\",model:{value:(_vm.valid),callback:function ($$v) {_vm.valid=$$v},expression:\"valid\"}},[_c('TextField',{attrs:{\"label\":'Comment'},model:{value:(_vm.formData.comments),callback:function ($$v) {_vm.$set(_vm.formData, \"comments\", $$v)},expression:\"formData.comments\"}})],1)],1),_c('v-card-actions',[_c('v-spacer'),_c('Button',{staticClass:\"mr-4\",attrs:{\"label\":'Reject',\"btnType\":'Submit',\"disabled\":!_vm.valid},on:{\"onClick\":_vm.reject}}),_c('v-btn',{attrs:{\"color\":\"green darken-1\",\"text\":\"\"},on:{\"click\":function($event){_vm.rejectDialog = false}}},[_vm._v(\"Close\")])],1)],1)],1)],1)],1)]),_c('ConfirmationDialog',{attrs:{\"title\":'Are you sure you want to approve?',\"isLoading\":_vm.isLoading,\"dialog\":_vm.dialog,\"btnTitle\":'Yes'},on:{\"close\":function($event){_vm.dialog = false},\"btnAction\":_vm.approve}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./pending.vue?vue&type=script&lang=js\"; 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/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./pending.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./pending.vue?vue&type=template&id=1db07bd1&scoped=true\"\nimport script from \"./pending.vue?vue&type=script&lang=js\"\nexport * from \"./pending.vue?vue&type=script&lang=js\"\nimport style0 from \"./pending.vue?vue&type=style&index=0&id=1db07bd1&prod&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 \"1db07bd1\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"500\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline text-center\"},[_c('h3',[_vm._v(_vm._s(_vm.title))])]),_c('v-divider',{staticClass:\"mx-4 mb-5\"}),_c('v-card-actions',[_c('v-spacer'),_c('Button',{staticClass:\"mr-4\",attrs:{\"label\":_vm.btnTitle,\"btnType\":'Submit',\"isLoading\":_vm.loading},on:{\"onClick\":_vm.btnAction}}),_c('v-btn',{attrs:{\"color\":\"green darken-1\",\"text\":\"\"},on:{\"click\":function($event){$event.stopPropagation();_vm.show=false}}},[_vm._v(\"No\")])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./confirmationDialog.vue?vue&type=script&lang=js\"; 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/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./confirmationDialog.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./confirmationDialog.vue?vue&type=template&id=72eed400\"\nimport script from \"./confirmationDialog.vue?vue&type=script&lang=js\"\nexport * from \"./confirmationDialog.vue?vue&type=script&lang=js\"\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","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./pending.vue?vue&type=style&index=0&id=1db07bd1&prod&scoped=true&lang=css\""],"sourceRoot":""}