{"version":3,"sources":["webpack:///./src/views/PrintReport.vue?0464","webpack:///./src/models/LegalSearchReport.js","webpack:///./src/views/PrintReport.vue?2ada","webpack:///src/views/PrintReport.vue","webpack:///./src/views/PrintReport.vue?a05a","webpack:///./src/views/PrintReport.vue","webpack:///./src/assets/images/logo-nova.png"],"names":["getPremium","key","object","attachment12","attachment13","getValue","name","searchId","searchMatched","acgih","attachment11","ceil","skinAbsorption","limit1","limit2","insalubrity","linach","group","priority","table24","code","decree3048","notation","activities","join","tableFields","render","_vm","this","_h","$createElement","_c","_self","staticClass","_l","item","index","_m","attrs","_v","_e","_s","model","i","Math","summary","length","distanceItemAndFooter","staticRenderFns","staticStyle","data","LegalSearchReport","selectedAgent","computed","$store","getters","user","methods","itemsMissing","component","module","exports"],"mappings":"kHAAA,W,8CCAe,QACbA,WADa,SACFC,EAAKC,GACd,OAAQD,GACN,IAAK,YACH,SAAOC,EAAOC,eAAgBD,EAAOE,cACvC,IAAK,OACH,SAAOF,EAAOC,eAAgBD,EAAOE,cACvC,IAAK,iBACH,SAAOF,EAAOC,eAAgBD,EAAOE,cACvC,IAAK,MACH,SAAOF,EAAOC,eAAgBD,EAAOE,cACvC,IAAK,MACH,SAAOF,EAAOC,eAAgBD,EAAOE,cACvC,QACE,OAAO,IAGbC,SAjBa,SAiBJJ,EAAKC,GACZ,IAAKA,EAAQ,MAAO,GACpB,OAAQD,GACN,IAAK,WACH,OAAOC,EAAOI,MAAQJ,EAAOK,UAAYL,EAAOM,cAClD,IAAK,YACH,OAAON,EAAOO,MAAQ,MAAQ,MAChC,IAAK,YAEH,OAAOP,EAAOC,cAAgBD,EAAOE,aACjC,iCACAF,EAAOQ,aACP,WACA,IACN,IAAK,OACH,OAAOR,EAAOC,cAAgBD,EAAOE,aACjC,SACAF,EAAOQ,aACPR,EAAOQ,aAAaC,KACpB,IACN,IAAK,iBACH,OAAOT,EAAOC,cAAgBD,EAAOE,aACjC,SACAF,EAAOQ,aACPR,EAAOQ,aAAaE,eACp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AMD,IAAIF,EAAG,OAAOE,EAAG,KAAK,CAACO,MAAM,CAAC,QAAU,MAAM,CAACP,EAAG,U,oCC6F5Y,GACEmB,KADF,WAEI,MAAO,CACLR,MAAOS,EAAb,KACMC,cAAe,KAGnBC,SAAU,CACRR,QADJ,WAEM,OAAOjB,KAAK0B,OAAOC,QAAQ,wBAE7BC,KAJJ,WAKM,OAAO5B,KAAK0B,OAAOC,QAAQ,kBAG/B,QAfF,0JAgBA,wBAhBA,gBAiBA,wCAjBA,sCAmBA,mEAnBA,OAoBA,eApBA,wGAuBEE,QAAS,CACPV,sBADJ,SACA,GACM,IAAN,qBACM,OAAQW,GACN,KAAK,EACH,OAAO,GACT,KAAK,EACH,OAAO,GACT,KAAK,EACH,OAAO,GACT,KAAK,EACH,OAAO,GACT,KAAK,EACH,OAAO,GACT,KAAK,EACH,OAAO,MCpIkW,I,wBCQ/WC,EAAY,eACd,EACAjC,EACAsB,GACA,EACA,KACA,WACA,MAIa,aAAAW,E,8BCnBfC,EAAOC,QAAU,IAA0B","file":"js/chunk-03dbdbf8.8a54b9a4.js","sourcesContent":["export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./PrintReport.vue?vue&type=style&index=0&id=ef5ff5c2&scoped=true&lang=css&\"","export default {\n getPremium(key, object) {\n switch (key) {\n case 'nr15-base':\n return object.attachment12 || object.attachment13 ? true : false\n case 'ceil':\n return object.attachment12 || object.attachment13 ? true : false\n case 'skinAbsorption':\n return object.attachment12 || object.attachment13 ? true : false\n case 'mgm':\n return object.attachment12 || object.attachment13 ? true : false\n case 'ppm':\n return object.attachment12 || object.attachment13 ? true : false\n default:\n return false\n }\n },\n getValue(key, object) {\n if (!object) return ''\n switch (key) {\n case 'searchId':\n return object.name || object.searchId || object.searchMatched\n case 'reference':\n return object.acgih ? 'Sim' : 'Não'\n case 'nr15-base':\n // return object.attachment11 ? 'Anexo 11' : 'Ver aba Laudo de Insalubridade'\n return object.attachment12 || object.attachment13\n ? 'Ver aba Laudo de Insalubridade'\n : object.attachment11\n ? 'Anexo 11'\n : '-'\n case 'ceil':\n return object.attachment12 || object.attachment13\n ? 'hidden'\n : object.attachment11\n ? object.attachment11.ceil\n : '-'\n case 'skinAbsorption':\n return object.attachment12 || object.attachment13\n ? 'hidden'\n : object.attachment11\n ? object.attachment11.skinAbsorption\n : '-'\n case 'mgm':\n return object.attachment12 || object.attachment13\n ? 'hidden'\n : object.attachment11\n ? object.attachment11.limit1\n : '-'\n case 'ppm':\n return object.attachment12 || object.attachment13\n ? 'hidden'\n : object.attachment11\n ? object.attachment11.limit2\n : '-'\n case 'insalubrity':\n return object.attachment12 || object.attachment13\n ? 'hidden'\n : object.attachment11\n ? object.attachment11.insalubrity\n : '-'\n case 'group':\n return object.linach\n ? object.linach.group\n ? object.linach.group\n : 'Não'\n : 'Não'\n case 'priority':\n return object.linach\n ? object.linach.priority\n ? object.linach.priority\n : 'Não'\n : 'Não'\n case 'esocial':\n return object.table24\n ? object.table24.code\n ? object.table24.code\n : 'Não'\n : 'Não'\n case 'decree3048':\n return object.decree3048\n ? object.decree3048.notation\n ? object.decree3048.notation\n : 'Não'\n : 'Não'\n case 'situation':\n return object.decree3048\n ? object.decree3048.activities\n ? object.decree3048.activities.join('
')\n : '-'\n : '-'\n case 'condition':\n return object.decree3048\n ? 'O agente possui condições de enquadramento conforme expresso no Decreto 3048/99 - Anexo IV.'\n : '-'\n default:\n return '-'\n }\n },\n tableFields: [\n { key: 'searchId' },\n { key: 'reference' },\n { key: 'nr15-base' },\n { key: 'ceil' },\n { key: 'skinAbsorption' },\n { key: 'mgm' },\n { key: 'ppm' },\n { key: 'insalubrity' },\n { key: 'group' },\n { key: 'esocial' },\n { key: 'decree3048' }\n ]\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('table',{staticClass:\"text-center table-print b-table table-bordered custom-table\"},[_vm._l((_vm.summary),function(item,index){return [(index === 0 || index % 6 === 0)?_c('tr',{key:index,staticClass:\"header\"},[_vm._m(0,true),_c('td',{attrs:{\"colspan\":\"8\"}},[_vm._v(\"\\n Relatório de impressão gerado do software de Higiene Ocupacional para\\n agentes químicos HO Fácil Web. As informações aqui mostradas são\\n relativas às pesquisas exibidas na aba Relatório.\\n \")])]):_vm._e(),_c('tr',{key:(\"searchId_\" + (item.legalSearchId))},[_c('th',[_vm._v(\"CAS: Agente\")]),_c('td',{attrs:{\"colspan\":\"8\"}},[_vm._v(_vm._s(_vm.model.getValue('searchId', item)))])]),_c('tr',{key:(\"nr15_\" + (item.legalSearchId))},[_c('th',{attrs:{\"rowspan\":\"2\"}},[_vm._v(\"ACGIH 2024\")]),_c('th',{attrs:{\"colspan\":\"6\"}},[_vm._v(\"NR 15\")]),_c('th',[_vm._v(\"LINACH\")]),_c('th',{attrs:{\"rowspan\":\"2\"}},[_vm._v(\"ESOCIAL - 24\")])]),_c('tr',{key:(\"nr15_subtitles_\" + (item.legalSearchId))},[_c('th',[_vm._v(\"Fundamentação\")]),_c('th',[_vm._v(\"Teto\")]),_c('th',[_vm._v(\"Pele\")]),_c('th',[_vm._v(\"mg/m³\")]),_c('th',[_vm._v(\"ppm\")]),_c('th',[_vm._v(\"Insalubridade\")]),_c('th',[_vm._v(\"Grupo\")])]),_c('tr',{key:(\"nr15_content_\" + (item.legalSearchId))},[_c('td',[_vm._v(_vm._s(_vm.model.getValue('reference', item)))]),(_vm.model.getValue('nr15-base', item) === '-')?[_c('td',[_vm._v(_vm._s(_vm.model.getValue('nr15-base', item)))]),_c('td',[_vm._v(_vm._s(_vm.model.getValue('ceil', item)))]),_c('td',[_vm._v(_vm._s(_vm.model.getValue('skinAbsorption', item)))]),_c('td',[_vm._v(_vm._s(_vm.model.getValue('mgm', item)))]),_c('td',[_vm._v(_vm._s(_vm.model.getValue('ppm', item)))]),_c('td',[_vm._v(_vm._s(_vm.model.getValue('insalubrity', item)))])]:[_c('td',{attrs:{\"colspan\":\"6\"}},[_vm._v(_vm._s(_vm.model.getValue('nr15-base', item)))])],_c('td',[_vm._v(_vm._s(_vm.model.getValue('group', item)))]),_c('td',[_vm._v(_vm._s(_vm.model.getValue('esocial', item)))])],2),_c('tr',{key:(\"decreto_\" + (item.legalSearchId))},[_c('th',{attrs:{\"rowspan\":\"3\"}},[_vm._v(\"Decreto 3048/99 - Anexo IV\")]),_c('td')]),_c('tr',{key:(\"decreto_group_\" + (item.legalSearchId))},[_c('th',{attrs:{\"rowspan\":\"1\"}},[_vm._v(\"Grupo:\")]),_c('td',{attrs:{\"colspan\":\"7\"}},[_vm._v(_vm._s(_vm.model.getValue('decree3048', item)))])]),_c('tr',{key:(\"decreto_condition_\" + (item.legalSearchId))},[_c('th',[_vm._v(\"Condições:\")]),_c('td',{attrs:{\"colspan\":\"7\"}},[_vm._v(_vm._s(_vm.model.getValue('condition', item)))])]),_c('tr',{key:(\"space_\" + (item.legalSearchId))},[_vm._m(1,true)]),(index != 0 && (index + 1) % 6 === 0)?_c('tr',{key:index + '_br'},[_c('td',{attrs:{\"colspan\":\"10\"}},[_vm._l((7),function(i){return _c('br',{key:i})}),_vm._v(\"\\n \"+_vm._s(Math.ceil(index / 6))+\"\\n \")],2)]):(index + 1 === _vm.summary.length)?_c('tr',{key:index + '_end_br'},[_c('td',{attrs:{\"colspan\":\"10\"}},[_vm._l((_vm.distanceItemAndFooter(_vm.summary.length)),function(i){return _c('br',{key:i})}),_vm._v(\"\\n \"+_vm._s(Math.ceil(index / 6))+\"\\n \")],2)]):_vm._e()]})],2)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('th',{staticStyle:{\"background-color\":\"#02243f\"}},[_c('img',{staticStyle:{\"width\":\"179px\"},attrs:{\"src\":require(\"../assets/images/logo-nova.png\"),\"alt\":\"HOFácil\"}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('td',{attrs:{\"colspan\":\"9\"}},[_c('br')])}]\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/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./PrintReport.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/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./PrintReport.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PrintReport.vue?vue&type=template&id=ef5ff5c2&scoped=true&\"\nimport script from \"./PrintReport.vue?vue&type=script&lang=js&\"\nexport * from \"./PrintReport.vue?vue&type=script&lang=js&\"\nimport style0 from \"./PrintReport.vue?vue&type=style&index=0&id=ef5ff5c2&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"ef5ff5c2\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/logo-nova.3a52ac44.png\";"],"sourceRoot":""}