{"version":3,"sources":["webpack:///./src/views/DevicesToBeApprovedList.vue","webpack:///src/views/DevicesToBeApprovedList.vue","webpack:///./src/views/DevicesToBeApprovedList.vue?3297","webpack:///./src/views/DevicesToBeApprovedList.vue?2ddd","webpack:///./src/views/DevicesToBeApprovedList.vue?aaa3"],"names":["render","_vm","this","_c","_self","attrs","_v","staticStyle","slot","staticClass","ref","devicesToBeApprovedResult","totalData","limitDevices","length","isFindDevicesToBeApprovedPending","currentPage","sortField","sortDirection","on","$event","changePagination","sortTable","scopedSlots","_u","key","fn","value","onCheckAll","proxy","props","checkedRows","map","x","id","includes","row","onCheckRow","name","userName","_l","columns","column","index","label","field","_s","openConfirmationModal","approvalStatus","APPROVED","DOUBLE_BOOT","NOT_APPROVED","staticRenderFns","emitToAgentEnum","enum","emitEvent","emitToAgent","components","card","mixins","service","watch","data","skipDevices","computed","currentCompany","currentPaginationQuery","$limit","$skip","queryForSearchDevicesToBeApproved","$sort","companyId","devicesToBeApprovedParams","query","default","queryId","devicesIds","$in","devices","currentDevice","preparedDevices","total","methods","patchDevices","status","type","userNames","names","toLowerCase","parent","component","hasModalCard","title","message","confirmText","onConfirm"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,SAAS,CAACE,MAAM,CAAC,GAAK,eAAe,CAACF,EAAG,aAAa,CAACA,EAAG,oBAAoB,CAACE,MAAM,CAAC,OAAS,KAAK,CAACJ,EAAIK,GAAG,+BAA+B,IAAI,GAAGH,EAAG,OAAO,CAACI,YAAY,CAAC,SAAW,WAAWF,MAAM,CAAC,gBAAgB,yBAAyB,gBAAgB,6DAA6D,WAAW,KAAK,CAACF,EAAG,MAAM,CAACI,YAAY,CAAC,QAAU,MAAMF,MAAM,CAAC,KAAO,mBAAmBG,KAAK,mBAAmB,CAACL,EAAG,YAAY,CAACE,MAAM,CAAC,KAAO,eAAe,CAACF,EAAG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CAAAC,YACAC,OACA,OACAjD,gBACAK,oBACAD,iBACA8C,cACA/C,cACAe,eACAiB,iBACAP,UACAI,aACAD,cACA,CACAC,mBACAD,gBACA,CACAC,uBACAD,gBACA,CACAC,WACAD,YACA,CACAC,eACAD,sBACA,CACAC,cACAD,eACA,CACAC,iBACAD,sBAIAoB,aACA,4BAAAC,qCACAC,yBACA,OACAC,yBACAC,yBAGAC,oCACA,SACAC,OAAA,2DACAC,kCAEA,UAEAC,4BACA,OACAC,UACA,+BACA,0CAIA9D,4BACA,oDACA,2FACA,uCACA+D,uDACA,uCACAA,wDACA,SAGA,cAAAC,GAAA,oCACA,6CACAD,kBACA,yBAEA,iCACAE,2BACAA,kBAGA,6CACAH,OACAF,iCACArC,IACA2C,OAEAV,yBACAG,OAAA,qDAIA,KASA,OARAQ,mBACA,UACA,8CACAnD,WACAoD,eACAC,YAGA,GAEApE,YACA,2FACA,uCACA8D,qDACA,SAGA,cAAAC,GAAA,qCACA,MAAAM,GAAA,kDACA,oCAIA,OAHA,2BACA,yBAEA,IAGAC,YACA,gCAAA1B,wBACA,yCAAA2B,uBACA9D,oBACA,IACA,oBAEA,yDAEAC,eACA,iBACA,sBAEAe,oBACA,KACA,uBAAAH,KAAAI,OAAAC,iBACA,CACA,iDACA,OACA,+BAIAX,cAEA,iBADA,EACA,wCACAM,QACAI,YACAC,uBAGA,IAGA,6BACA,wBACA,CAAA6C,iBAAAb,kCACA,CACAE,OACAvC,IAAA2C,uCAGA,kBACAJ,OACAY,0CACAC,iDAGA,qBAEAvC,yBACA,SACA,6BACAwC,oCAEA,qKACsBA,6DAC8BH,EAAO9C,KAAKkD,iBAChE,wBACAC,YACAC,iBACAC,gBACA7D,OACA8D,mBACAC,UACAC,qBACAC,0CC3TiW,I,wBCQ7VL,EAAY,eACd,EACA1F,EACAoD,GACA,EACA,KACA,KACA,MAIa,aAAAsC,E,kECnBf","file":"js/chunk-4dd4d923.30845a00.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('portal',{attrs:{\"to\":\"breadcrumb\"}},[_c('Breadcrumb',[_c('b-breadcrumb-item',{attrs:{\"active\":\"\"}},[_vm._v(\" Devices to be approved \")])],1)],1),_c('card',{staticStyle:{\"overflow\":\"visible\"},attrs:{\"external-card\":\"material-card-overflow\",\"internal-card\":\"material-card material-card-content material-card-overflow\",\"url-help\":\"\"}},[_c('div',{staticStyle:{\"padding\":\"2%\"},attrs:{\"slot\":\"external-header\"},slot:\"external-header\"},[_c('b-message',{attrs:{\"type\":\"is-primary\"}},[_c('p',{staticClass:\"center-vertically-action-button\"},[_c('span',[_vm._v(\" The following devices require your approval to access the company \")])])]),_c('b-table',{ref:\"deviceListTable\",attrs:{\"data\":_vm.devicesToBeApprovedResult,\"mobile-cards\":false,\"striped\":true,\"paginated\":_vm.totalData > _vm.limitDevices,\"per-page\":_vm.limitDevices,\"loading\":_vm.devicesToBeApprovedResult.length === 0 && _vm.isFindDevicesToBeApprovedPending,\"current-page\":_vm.currentPage,\"show-detail-icon\":false,\"default-sort\":_vm.sortField,\"default-sort-direction\":_vm.sortDirection,\"hoverable\":\"\",\"scrollable\":\"\",\"backend-pagination\":\"\",\"backend-sorting\":\"\",\"total\":_vm.totalData},on:{\"update:currentPage\":function($event){_vm.currentPage=$event},\"update:current-page\":function($event){_vm.currentPage=$event},\"page-change\":_vm.changePagination,\"sort\":_vm.sortTable}},[_c('b-table-column',{scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_c('b-checkbox',{on:{\"input\":(value) => _vm.onCheckAll(value)}})]},proxy:true},{key:\"default\",fn:function(props){return [_c('b-checkbox',{attrs:{\"value\":_vm.checkedRows.map((x)=> x.id).includes(props.row.id)},on:{\"input\":(value) => _vm.onCheckRow(\n value,props.row.id, props.row.name, props.row.userName)}})]}}])}),_vm._l((_vm.columns),function(column,index){return _c('b-table-column',{key:index,attrs:{\"label\":column.label,\"field\":column.field,\"sortable\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_vm._v(\" \"+_vm._s(props.row[column.field])+\" \")]}}],null,true)})}),_c('template',{slot:\"empty\"},[_c('section',{staticClass:\"section\"},[_c('div',{staticClass:\"content has-text-grey has-text-centered\"},[_c('p',[_c('b-icon',{attrs:{\"icon\":\"file\",\"size\":\"is-large\"}})],1),_c('p',[_vm._v(\"There are no devices for approval\")])])])])],2),_c('div',{staticStyle:{\"display\":\"flex\",\"flex-wrap\":\"wrap\",\"gap\":\"5px 5px\",\"margin-block\":\"2%\",\"justify-content\":\"center\"}},[_c('b-button',{attrs:{\"type\":\"is-primary\",\"disabled\":_vm.checkedRows.length < 1},on:{\"click\":function($event){return _vm.openConfirmationModal(_vm.approvalStatus.APPROVED.value)}}},[_vm._v(\" Approve \")]),_c('b-button',{attrs:{\"type\":\"is-primary\",\"disabled\":_vm.checkedRows.length < 1},on:{\"click\":function($event){return _vm.openConfirmationModal(_vm.approvalStatus.DOUBLE_BOOT.value)}}},[_vm._v(\" Approve with double boot \")]),_c('b-button',{attrs:{\"type\":\"is-primary\",\"disabled\":_vm.checkedRows.length < 1},on:{\"click\":function($event){return _vm.openConfirmationModal(_vm.approvalStatus.NOT_APPROVED.value)}}},[_vm._v(\" Reject \")])],1)],1)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n Devices to be approved\n \n \n \n \n \n \n \n \n The following devices require your approval to access the company\n \n \n \n limitDevices\"\n :per-page=\"limitDevices\"\n :loading=\"devicesToBeApprovedResult.length === 0 && isFindDevicesToBeApprovedPending\"\n :current-page.sync=\"currentPage\"\n :show-detail-icon=\"false\"\n :default-sort=\"sortField\"\n :default-sort-direction=\"sortDirection\"\n hoverable\n scrollable\n backend-pagination\n backend-sorting\n :total=\"totalData\"\n @page-change=\"changePagination\"\n @sort=\"sortTable\"\n >\n \n \n onCheckAll(value)\"\n />\n \n \n x.id).includes(props.row.id)\"\n @input=\"(value) => onCheckRow(\n value,props.row.id, props.row.name, props.row.userName)\"\n />\n \n \n \n \n {{ props.row[column.field] }}\n \n \n \n \n \n \n \n \n There are no devices for approval\n \n \n \n \n \n \n Approve\n \n \n Approve with double boot\n \n \n Reject\n \n \n \n \n \n\n\n\n\n\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!./DevicesToBeApprovedList.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!./DevicesToBeApprovedList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DevicesToBeApprovedList.vue?vue&type=template&id=a5643426&\"\nimport script from \"./DevicesToBeApprovedList.vue?vue&type=script&lang=js&\"\nexport * from \"./DevicesToBeApprovedList.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DevicesToBeApprovedList.vue?vue&type=style&index=0&id=a5643426&prod&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 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!./DevicesToBeApprovedList.vue?vue&type=style&index=0&id=a5643426&prod&lang=css&\""],"sourceRoot":""}
\n \n The following devices require your approval to access the company\n \n
\n \n
There are no devices for approval