{"version":3,"sources":["webpack:///./src/pages/hr/paper/papers/components/PaperCard.vue","webpack:///src/pages/hr/paper/papers/components/PaperCard.vue","webpack:///./src/pages/hr/paper/papers/components/PaperCard.vue?47a3","webpack:///./src/pages/hr/paper/papers/components/PaperCard.vue?dfd9","webpack:///./src/pages/hr/paper/papers/components/PaperCard.vue?f1e6"],"names":["render","_vm","this","_c","_self","class","error","paper","staticClass","attrs","iconClass","_v","_s","icon","fileName","fileSize","uploading","$t","scopedSlots","_u","key","fn","on","_g","_b","errorMessage","signatureStatus","_e","paperType","name","issueDate","_f","expireDate","deleting","editPaper","isPreviewable","previewPaper","deletePaper","model","value","uploadProgress","callback","$$v","$set","expression","staticRenderFns","props","type","required","computed","methods","component"],"mappings":"kJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,MAAM,CAAE,cAAc,EAAMC,MAAOL,EAAIM,MAAMD,QAAS,CAACH,EAAG,MAAM,CAACK,YAAY,WAAW,CAACL,EAAG,MAAM,CAACK,YAAY,QAAQ,CAACL,EAAG,SAAS,CAACM,MAAM,CAAC,KAAO,KAAK,MAAQR,EAAIM,MAAMG,YAAY,CAACT,EAAIU,GAAG,IAAIV,EAAIW,GAAGX,EAAIM,MAAMM,MAAM,QAAQ,GAAGV,EAAG,MAAM,CAACK,YAAY,WAAW,CAACL,EAAG,MAAM,CAACK,YAAY,YAAY,CAACL,EAAG,OAAO,CAACF,EAAIU,GAAGV,EAAIW,GAAGX,EAAIM,MAAMO,eAAeX,EAAG,MAAM,CAACK,YAAY,aAAa,CAACL,EAAG,OAAO,CAACK,YAAY,WAAW,CAACP,EAAIU,GAAGV,EAAIW,GAAGX,EAAIc,aAAcd,EAAIM,MAAMS,UAAWb,EAAG,UAAU,CAACK,YAAY,QAAQ,CAACL,EAAG,sBAAsB,CAACK,YAAY,OAAOC,MAAM,CAAC,cAAgB,GAAG,MAAQ,UAAU,KAA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YAAY,CAAC/B,EAAG,SAAS,CAACM,MAAM,CAAC,MAAQ,aAAa,CAACR,EAAIU,GAAG,iBAAiB,GAAaV,EAAIkC,cAAehC,EAAG,QAAQ,CAACK,YAAY,OAAOC,MAAM,CAAC,SAAWR,EAAIM,MAAM0B,SAAS,KAAO,IAAIX,GAAG,CAAC,MAAQrB,EAAImC,eAAe,CAACjC,EAAG,SAAS,CAACM,MAAM,CAAC,MAAQ,aAAa,CAACR,EAAIU,GAAG,cAAc,GAAGV,EAAI0B,KAAKxB,EAAG,QAAQ,CAACK,YAAY,OAAOC,MAAM,CAAC,QAAUR,EAAIM,MAAM0B,SAAS,KAAO,IAAIX,GAAG,CAAC,MAAQrB,EAAIoC,cAAc,CAAClC,EAAG,SAAS,CAACM,MAAM,CAAC,MAAQR,EAAIM,MAAMD,MAAQ,QAAU,aAAa,CAACL,EAAIU,GAAG,oBAAoB,IAAI,KAAMV,EAAIM,MAAMS,UAAWb,EAAG,oBAAoB,CAACK,YAAY,OAAOC,MAAM,CAAC,MAAQ,UAAU,OAAS,KAAK6B,MAAM,CAACC,MAAOtC,EAAIM,MAAMiC,eAAgBC,SAAS,SAAUC,GAAMzC,EAAI0C,KAAK1C,EAAIM,MAAO,iBAAkBmC,IAAME,WAAW,0BAA0B3C,EAAI0B,MAAM,IAEz7IkB,EAAkB,GC0FtB,GACAhB,iBACAiB,OACAvC,OACAwC,YACAC,cAGAC,UACAd,gBACA,gDAEApB,WACA,6CACA,+CAGAmC,SACAb,cACA,iCAEAH,YACA,+BAEAE,eACA,oCCrH+Y,I,wBCQ3Ye,EAAY,eACd,EACAnD,EACA6C,GACA,EACA,KACA,WACA,MAIa,aAAAM,E,2CCnBf","file":"js/chunk-5914d164.97a3747f.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{class:{ 'paper-card': true, error: _vm.paper.error }},[_c('div',{staticClass:\"content\"},[_c('div',{staticClass:\"icon\"},[_c('v-icon',{attrs:{\"size\":\"44\",\"color\":_vm.paper.iconClass}},[_vm._v(\" \"+_vm._s(_vm.paper.icon)+\" \")])],1),_c('div',{staticClass:\"details\"},[_c('div',{staticClass:\"filename\"},[_c('span',[_vm._v(_vm._s(_vm.paper.fileName))])]),_c('div',{staticClass:\"file-info\"},[_c('span',{staticClass:\"caption\"},[_vm._v(_vm._s(_vm.fileSize))]),(_vm.paper.uploading)?_c('section',{staticClass:\"ml-3\"},[_c('v-progress-circular',{staticClass:\"ma-0\",attrs:{\"indeterminate\":\"\",\"color\":\"primary\",\"size\":\"16\",\"width\":\"2\"}}),_c('span',{staticClass:\"ml-1 caption\"},[_vm._v(_vm._s(_vm.$t(\"global.loading\")))])],1):(_vm.paper.error)?_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('section',_vm._g(_vm._b({staticClass:\"ml-3\"},'section',attrs,false),on),[_c('v-icon',{attrs:{\"size\":\"18\",\"color\":\"error\"}},[_vm._v(\"mdi-alert-circle\")]),_c('span',{staticClass:\"ml-1 caption\"},[_vm._v(_vm._s(_vm.$t(\"global.error\")))])],1)]}}])},[_c('span',[_vm._v(_vm._s(_vm.paper.errorMessage))])]):_c('section',{staticClass:\"ml-3\"},[_c('v-icon',{attrs:{\"size\":\"18\",\"color\":\"success\"}},[_vm._v(\"mdi-check-circle\")]),_c('span',{staticClass:\"ml-1 caption\"},[_vm._v(_vm._s(_vm.$t(\"global.completed\")))])],1)],1),_c('div',{staticClass:\"details-bottom\"},[(_vm.paper.signatureStatus)?_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-chip',_vm._g(_vm._b({attrs:{\"label\":\"\",\"small\":\"\"}},'v-chip',attrs,false),on),[_c('span',{staticClass:\"text-truncate\"},[_vm._v(_vm._s(_vm.$t(`hr.paper.signature_types.${_vm.paper.signatureStatus}`)))])])]}}],null,false,839740977)},[_c('span',{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s(_vm.$t(\"hr.paper.signature_status\")))]),_c('br'),_c('span',[_vm._v(_vm._s(_vm.$t(`hr.paper.signature_types.${_vm.paper.signatureStatus}`)))])]):_vm._e(),(_vm.paper.paperType)?_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-chip',_vm._g(_vm._b({attrs:{\"label\":\"\",\"small\":\"\"}},'v-chip',attrs,false),on),[_c('span',{staticClass:\"text-truncate\"},[_vm._v(_vm._s(_vm.paper.paperType.name))])])]}}],null,false,231059879)},[_c('span',{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s(_vm.$t(\"hr.paper.type\")))]),_c('br'),_c('span',[_vm._v(_vm._s(_vm.paper.paperType.name))])]):_vm._e(),(_vm.paper.issueDate)?_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-chip',_vm._g(_vm._b({attrs:{\"label\":\"\",\"small\":\"\"}},'v-chip',attrs,false),on),[_c('span',{staticClass:\"text-truncate\"},[_vm._v(_vm._s(_vm._f(\"formattedDate\")(_vm.paper.issueDate)))])])]}}],null,false,1413397942)},[_c('span',{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s(_vm.$t(\"hr.paper.issue_date\")))]),_c('br'),_c('span',[_vm._v(_vm._s(_vm._f(\"formattedDate\")(_vm.paper.issueDate)))])]):_vm._e(),(_vm.paper.expireDate)?_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-chip',_vm._g(_vm._b({attrs:{\"label\":\"\",\"small\":\"\"}},'v-chip',attrs,false),on),[_c('span',{staticClass:\"text-truncate\"},[_vm._v(_vm._s(_vm._f(\"formattedDate\")(_vm.paper.expireDate)))])])]}}],null,false,2116441788)},[_c('span',{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s(_vm.$t(\"hr.paper.expire_date\")))]),_c('br'),_c('span',[_vm._v(_vm._s(_vm._f(\"formattedDate\")(_vm.paper.expireDate)))])]):_vm._e()],1)]),_c('div',{staticClass:\"actions\"},[(!_vm.paper.error)?_c('v-btn',{staticClass:\"ma-0\",attrs:{\"disabled\":_vm.paper.deleting,\"icon\":\"\"},on:{\"click\":_vm.editPaper}},[_c('v-icon',{attrs:{\"color\":\"tertiary\"}},[_vm._v(\"mdi-pencil\")])],1):_vm._e(),(_vm.isPreviewable)?_c('v-btn',{staticClass:\"ma-0\",attrs:{\"disabled\":_vm.paper.deleting,\"icon\":\"\"},on:{\"click\":_vm.previewPaper}},[_c('v-icon',{attrs:{\"color\":\"tertiary\"}},[_vm._v(\"mdi-eye\")])],1):_vm._e(),_c('v-btn',{staticClass:\"ma-0\",attrs:{\"loading\":_vm.paper.deleting,\"icon\":\"\"},on:{\"click\":_vm.deletePaper}},[_c('v-icon',{attrs:{\"color\":_vm.paper.error ? 'error' : 'tertiary'}},[_vm._v(\"mdi-trash-can\")])],1)],1)]),(_vm.paper.uploading)?_c('v-progress-linear',{staticClass:\"ma-0\",attrs:{\"color\":\"primary\",\"height\":\"5\"},model:{value:(_vm.paper.uploadProgress),callback:function ($$v) {_vm.$set(_vm.paper, \"uploadProgress\", $$v)},expression:\"paper.uploadProgress\"}}):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PaperCard.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PaperCard.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PaperCard.vue?vue&type=template&id=c0a22196&scoped=true&\"\nimport script from \"./PaperCard.vue?vue&type=script&lang=js&\"\nexport * from \"./PaperCard.vue?vue&type=script&lang=js&\"\nimport style0 from \"./PaperCard.vue?vue&type=style&index=0&id=c0a22196&prod&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 \"c0a22196\",\n null\n \n)\n\nexport default component.exports","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!./PaperCard.vue?vue&type=style&index=0&id=c0a22196&prod&scoped=true&lang=scss&\""],"sourceRoot":""}