{"version":3,"sources":["webpack:///./src/components/incident/IncidentViewer.vue?2337","webpack:///./src/views/Incident.vue","webpack:///./src/components/incident/IncidentViewer.vue","webpack:///src/components/incident/IncidentViewer.vue","webpack:///./src/components/incident/IncidentViewer.vue?d022","webpack:///./src/components/incident/IncidentViewer.vue?d82e","webpack:///src/views/Incident.vue","webpack:///./src/views/Incident.vue?d2fa","webpack:///./src/views/Incident.vue?66e3"],"names":["render","_vm","this","_c","_self","style","height","$store","state","availableTableHeight","attrs","incidentId","staticRenderFns","staticClass","_v","_s","$t","incident","title","vehicle","registrationNumber","reportedAt","$d","Date","$i18n","locale","reportedBy","userName","phone","typeTitle","status","responsible","responsibleUser","_e","description","resolution","modifiedAt","modifiedBy","id","files","editButton","on","onEditIncident","loadIncidentById","components","AttachmentViewer","PhoneNumber","EditIncidentModal","data","type","props","computed","issueCategories","methods","mapActions","mounted","component"],"mappings":"kHAAA,W,oECAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,MAAO,CAAEC,OAAQJ,KAAKK,OAAOC,MAAMC,uBAAyB,CAACN,EAAG,kBAAkB,CAACO,MAAM,CAAC,WAAaT,EAAIU,eAAe,IAEnMC,EAAkB,GCFlBZ,G,8BAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,cAAc,CAACU,YAAY,sBAAsB,CAACV,EAAG,QAAQ,CAACA,EAAG,QAAQ,CAACF,EAAIa,GAAGb,EAAIc,GAAGd,EAAIe,GAAG,sBAAsBb,EAAG,QAAQ,CAACF,EAAIa,GAAGb,EAAIc,GAAGd,EAAIgB,SAASC,WAAW,GAAGf,EAAG,QAAQ,CAACA,EAAG,QAAQ,CAACF,EAAIa,GAAGb,EAAIc,GAAGd,EAAIe,GAAG,4CAA4Cb,EAAG,QAAQ,CAACF,EAAIa,GAAGb,EAAIc,GAAGd,EAAIgB,SA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BACA,OACA/B,UACAqB,OACApB,SACAC,SACAC,uBAEAC,cACAK,YACAC,YACAC,UAEAqB,QACAnB,UACAI,eACAC,cACAH,iBACAL,YACAC,UAEAQ,cACAC,YACAV,YACAC,UAEAW,YAIAW,OACAvC,mBAEAwC,UACAX,sBACA,sCAEAY,2BACA,gDAEAvB,qBAAA,WACA,uBACA,8BAIA,4DAHA,wFACA,uCAKA,WAGAwB,yCACAC,uCACAZ,0BACA,4BACA,sCAGAC,4BAAA,WACA,wFAGAY,mBACA,6CACA,0BCvJuW,I,wBCQnWC,EAAY,eACd,EACA,EACA,GACA,EACA,KACA,WACA,MAIa,EAAAA,E,QCVA,GACfZ,YACA,qBAEAO,UACAxC,sBACA,gDCfkV,ICO9U,EAAY,eACd,EACAX,EACAY,GACA,EACA,KACA,KACA,MAIa,e","file":"js/chunk-23f33cda.7893b71d.js","sourcesContent":["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!./IncidentViewer.vue?vue&type=style&index=0&id=c764058e&prod&scoped=true&lang=css&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{style:({ height: this.$store.state.availableTableHeight })},[_c('incident-viewer',{attrs:{\"incidentId\":_vm.incidentId}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('b-container',{staticClass:\"gray-container p-3\"},[_c('b-row',[_c('b-col',[_vm._v(_vm._s(_vm.$t(\"incident.title\")))]),_c('b-col',[_vm._v(_vm._s(_vm.incident.title))])],1),_c('b-row',[_c('b-col',[_vm._v(_vm._s(_vm.$t(\"incident.vehicle-registration-number\")))]),_c('b-col',[_vm._v(_vm._s(_vm.incident.vehicle.registrationNumber))])],1),_c('b-row',[_c('b-col',[_vm._v(_vm._s(_vm.$t(\"incident.reported-at\")))]),_c('b-col',[_vm._v(\" \"+_vm._s(_vm.incident.reportedAt != \"\" ? _vm.$d(new Date(_vm.incident.reportedAt), \"long\", _vm.$i18n.locale) : \"\"))])],1),_c('b-row',[_c('b-col',[_vm._v(_vm._s(_vm.$t(\"incident.reported-by\")))]),_c('b-col',[_vm._v(\" \"+_vm._s(_vm.incident.reportedBy.userName)+\" \"),_c('phone-number',{attrs:{\"phoneNumber\":_vm.incident.reportedBy.phone}})],1)],1),_c('b-row',[_c('b-col',[_vm._v(_vm._s(_vm.$t(\"incident.type\")))]),_c('b-col',[_vm._v(_vm._s(_vm.typeTitle))])],1),_c('b-row',[_c('b-col',[_vm._v(_vm._s(_vm.$t(\"incident.status\")))]),_c('b-col',[_vm._v(_vm._s(_vm.$t(`incident-status.${_vm.incident.status}`)))])],1),(_vm.incident.responsible != null)?_c('b-row',[_c('b-col',[_vm._v(_vm._s(_vm.$t(\"incident.responsible-user\")))]),_c('b-col',[_vm._v(_vm._s(_vm.incident.responsibleUser.userName))])],1):_vm._e(),_c('b-row',[_c('b-col',[_vm._v(_vm._s(_vm.$t(\"incident.description\")))]),_c('b-col',[_vm._v(_vm._s(_vm.incident.description))])],1),_c('b-row',[_c('b-col',[_vm._v(_vm._s(_vm.$t(\"incident.resolution\")))]),_c('b-col',[_vm._v(_vm._s(_vm.incident.resolution))])],1),_c('b-row',[_c('b-col',[_vm._v(_vm._s(_vm.$t(\"incident.closed-at\")))]),_c('b-col',[_vm._v(_vm._s(_vm.incident.modifiedAt != \"\" ? _vm.$d(new Date(_vm.incident.modifiedAt), \"long\", _vm.$i18n.locale) : \"\"))])],1),_c('b-row',[_c('b-col',[_vm._v(_vm._s(_vm.$t(\"incident.closed-by\")))]),_c('b-col',[_vm._v(\" \"+_vm._s(_vm.incident.modifiedBy.userName)+\" \"),_c('phone-number',{attrs:{\"phoneNumber\":_vm.incident.modifiedBy.phone}})],1)],1),_c('b-row',{staticClass:\"mb-2\"},[_c('b-col',[_c('attachment-viewer',{attrs:{\"incidentId\":_vm.incident.id,\"files\":_vm.incident.files}})],1)],1),(_vm.editButton)?_c('b-button',{on:{\"click\":_vm.onEditIncident}},[_vm._v(_vm._s(_vm.$t(\"incident.edit\")))]):_vm._e(),_c('edit-incident-modal',{on:{\"close\":_vm.loadIncidentById}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IncidentViewer.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!./IncidentViewer.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./IncidentViewer.vue?vue&type=template&id=c764058e&scoped=true&\"\nimport script from \"./IncidentViewer.vue?vue&type=script&lang=js&\"\nexport * from \"./IncidentViewer.vue?vue&type=script&lang=js&\"\nimport style0 from \"./IncidentViewer.vue?vue&type=style&index=0&id=c764058e&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 \"c764058e\",\n null\n \n)\n\nexport default component.exports","\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!./Incident.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!./Incident.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Incident.vue?vue&type=template&id=2a8f065f&\"\nimport script from \"./Incident.vue?vue&type=script&lang=js&\"\nexport * from \"./Incident.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"],"sourceRoot":""}