{"version":3,"sources":["webpack:///./src/views/PrintAcgih.vue?3030","webpack:///./src/views/PrintAcgih.vue?809d","webpack:///src/views/PrintAcgih.vue","webpack:///./src/views/PrintAcgih.vue?b090","webpack:///./src/views/PrintAcgih.vue","webpack:///./src/models/Acgih.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_m","_l","item","model","getInteractions","key","searchId","attrs","acgihInfo","limits","length","_v","_s","getValue","row","field","index","class","domProps","_e","legalSearchId","on","$event","displayInteractions","staticRenderFns","data","Acgih","selectedAgent","computed","summary","$store","getters","user","component","object","acgih","interactions","catalogInfo","catalog","tooltip","lt_twa","lt_stel","notations","join","toString","teto_stel","base_do_tlv","table24","code","getsearchId","casAgente","name","searchMatched","split","agente","trim","synonyms","cas","find","x","tableFields","value"],"mappings":"yIAAA,W,yCCAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,QAAQ,CAACE,YAAY,oCAAoC,CAACN,EAAIO,GAAG,GAAGH,EAAG,QAAQ,CAACJ,EAAIQ,GAAIR,EAAW,SAAE,SAASS,GAAM,MAAO,CAAsC,qBAApCT,EAAIU,MAAMC,gBAAgBF,GAA8B,CAACL,EAAG,KAAK,CAACQ,IAAIH,EAAKI,UAAU,CAACT,EAAG,KAAK,CAACU,MAAM,CAAC,QAAUL,EAAKM,UAAUC,OAAOC,OAAS,IAAI,CAACjB,EAAIkB,GAAG,mBAAmBlB,EAAImB,GAAGnB,EAAIU,MAAMU,SAAS,WAAYX,IAAO,sBAAsBT,EAAIQ,GAAIC,EAAKM,UAAUC,OAAa,QAAE,SAASK,GAAK,OAAOjB,EAAG,KAAK,CAACQ,IAAK,OAASS,GAAM,CAACrB,EAAIQ,GAAIR,EAAIU,MAAiB,aAAE,SAASY,EAAMC,GAAO,MAAO,CAAgB,aAAdD,EAAMV,IAAoBR,EAAG,KAAK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yBvB,EAAOsB,SAASE,MAAK,SAACC,GAAD,OAAOA,EAAEjD,OAAS,MAE3DwC,GAETU,YAAa,CACX,CAAEvD,IAAK,UAAWwD,MAAO,WACzB,CAAExD,IAAK,WAAYwD,MAAO,eAC1B,CAAExD,IAAK,eAAgBwD,MAAO,oBAC9B,CAAExD,IAAK,SAAUwD,MAAO,OACxB,CAAExD,IAAK,UAAWwD,MAAO,QACzB,CAAExD,IAAK,YAAawD,MAAO,QAC3B,CAAExD,IAAK,YAAawD,MAAO,YAC3B,CAAExD,IAAK,cAAewD,MAAO","file":"js/chunk-2f90d772.c516ce6c.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!./PrintAcgih.vue?vue&type=style&index=0&id=2bfaf2dc&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('table',{staticClass:\"print-insalubrity table-bordered\"},[_vm._m(0),_c('tbody',[_vm._l((_vm.summary),function(item){return [(_vm.model.getInteractions(item) === 'all-interactions')?[_c('tr',{key:item.searchId},[_c('td',{attrs:{\"rowspan\":item.acgihInfo.limits.length + 1}},[_vm._v(\"\\n \"+_vm._s(_vm.model.getValue('searchId', item))+\"\\n \")])]),_vm._l((item.acgihInfo.limits.length),function(row){return _c('tr',{key:(\"row_\" + row)},[_vm._l((_vm.model.tableFields),function(field,index){return [(field.key !== 'searchId')?_c('td',{key:(\"field_\" + (field.key)),class:(\"field_\" + (field.key)),attrs:{\"col\":index}},[(\n field.key === 'base_do_tlv' || field.key === 'notations'\n )?[_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.model.getValue(field.key, item, row - 1))}})]:[_vm._v(\"\\n \"+_vm._s(_vm.model.getValue(field.key, item, row - 1))+\"\\n \")]],2):_vm._e()]})],2)})]:(\n _vm.model.getInteractions(item) === 'one-interaction' ||\n _vm.model.getInteractions(item) === 'none-interaction'\n )?_c('tr',{key:item.legalSearchId},_vm._l((_vm.model.tableFields),function(field){return _c('td',{key:(\"field_\" + (field.key)),class:(\"field_\" + (field.key))},[(field.key === 'base_do_tlv' || field.key === 'notations')?[_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.model.getValue(field.key, item))}})]:[_vm._v(\"\\n \"+_vm._s(_vm.model.getValue(field.key, item))+\"\\n \")]],2)}),0):(_vm.model.getInteractions(item) === 'select-interaction')?_c('tr',{key:item.legalSearchId},[_c('td',[_vm._v(_vm._s(_vm.model.getValue('searchId', item)))]),_c('td',{staticClass:\"selectable-row\",attrs:{\"colspan\":\"11\"}},[_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){return _vm.displayInteractions(item)}}},[_vm._v(\"\\n Agente necessita de determinação de atividade, selecione aqui\\n \")])])]):_vm._e()]})],2)])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',[_c('th',{staticClass:\"col-first emph\",attrs:{\"rowspan\":\"2\"}},[_vm._v(\"CAS: Agente\")]),_c('th',{staticClass:\"col-first emph\",attrs:{\"colspan\":\"6\"}},[_vm._v(\"ACGIH 2024\")])]),_c('tr',[_c('th',{staticClass:\"col-first emph\"},[_vm._v(\"Fração de Coleta\")]),_c('th',{staticClass:\"col-first emph\"},[_vm._v(\"TWA\")]),_c('th',{staticClass:\"col-first emph\"},[_vm._v(\"STEL\")]),_c('th',{staticClass:\"col-first emph\"},[_vm._v(\"Teto\")]),_c('th',{staticClass:\"col-first emph\"},[_vm._v(\"Notações\")]),_c('th',{staticClass:\"col-first emph\"},[_vm._v(\"Base de TLV\")])])])}]\n\nexport { render, staticRenderFns }","\n \n \n \n \n {{ model.getValue('searchId', item) }}\n \n \n Agente necessita de determinação de atividade, selecione aqui\n \n \n \n \n \n \n \n\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!./PrintAcgih.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!./PrintAcgih.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PrintAcgih.vue?vue&type=template&id=2bfaf2dc&scoped=true&\"\nimport script from \"./PrintAcgih.vue?vue&type=script&lang=js&\"\nexport * from \"./PrintAcgih.vue?vue&type=script&lang=js&\"\nimport style0 from \"./PrintAcgih.vue?vue&type=style&index=0&id=2bfaf2dc&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 \"2bfaf2dc\",\n null\n \n)\n\nexport default component.exports","export default {\n getInteractions(object) {\n if (object.acgih) {\n if (object.acgihInfo && object.acgihInfo.limits.length > 1)\n return 'all-interactions'\n if (\n (object.acgih && object.acgih.interactions && object.acgihInfo) ||\n object.acgih.interactions.length <= 1\n )\n return 'one-interaction'\n else return 'select-interaction'\n } else {\n return 'none-interaction'\n }\n },\n getValue(key, object, index) {\n const catalogInfo = 'acgihInfo'\n const catalog = 'acgih'\n if (!object) return ''\n\n switch (key) {\n case 'searchId':\n return ''\n case 'interactions':\n if (object[catalogInfo]) {\n if (\n object[catalogInfo] &&\n object[catalogInfo].interactions === 'Todas as opções anteriores'\n ) {\n const tooltip = `${object[catalogInfo].limits[index].interactions}`\n return `${tooltip}`\n } else if (object[catalogInfo].interactions) {\n const tooltip = `${object[catalogInfo].interactions}`\n return `${tooltip}`\n }\n }\n if (object[catalog]) {\n if (object[catalog].interactions) {\n if (object[catalog].interactions[0].interactions !== '') {\n const tooltip = `${object[catalog].interactions[0].interactions}`\n return `${tooltip}`\n }\n }\n }\n return '-'\n case 'lt_twa':\n if (object[catalogInfo])\n if (object[catalogInfo].interactions === 'Todas as opções anteriores')\n return object[catalogInfo].limits[index].lt_twa\n else if (object[catalogInfo].limits)\n if (object[catalogInfo].limits.lt_twa)\n return object[catalogInfo].limits.lt_twa\n\n if (object[catalog])\n if (object[catalog].interactions)\n if (object[catalog].interactions[0].lt_twa)\n if (object[catalog].interactions[0].lt_twa)\n return object[catalog].interactions[0].lt_twa\n return '-'\n case 'lt_stel':\n if (object[catalogInfo])\n if (object[catalogInfo].interactions === 'Todas as opções anteriores')\n return object[catalogInfo].limits[index].lt_stel\n else if (object[catalogInfo].limits)\n if (object[catalogInfo].limits.lt_stel)\n return object[catalogInfo].limits.lt_stel\n\n if (object[catalog])\n if (object[catalog].interactions)\n if (object[catalog].interactions[0].lt_stel)\n if (object[catalog].interactions[0].lt_stel)\n return object[catalog].interactions[0].lt_stel\n return '-'\n case 'notations':\n if (object[catalogInfo]) {\n if (\n object[catalogInfo].interactions === 'Todas as opções anteriores'\n ) {\n if (object[catalogInfo].limits[index].notations.length >= 2) {\n return object[catalogInfo].limits[index].notations.join(';
')\n } else {\n if (object[catalogInfo].limits[index].notations.toString()) {\n return object[catalogInfo].limits[index].notations.toString()\n }\n }\n } else if (object[catalogInfo].limits) {\n if (object[catalogInfo].limits.notations.length >= 2) {\n return object[catalogInfo].limits.notations.join(';
')\n } else {\n if (object[catalogInfo].limits.notations.toString()) {\n return object[catalogInfo].limits.notations.toString()\n }\n }\n }\n }\n\n if (object[catalog]) {\n if (object[catalog].interactions) {\n if (object[catalog].interactions[0].notations.length >= 2) {\n return object[catalog].interactions[0].notations.join(';
')\n } else {\n if (object[catalog].interactions[0].notations.toString()) {\n return object[catalog].interactions[0].notations.toString()\n }\n }\n }\n }\n\n return '-'\n case 'teto_stel':\n if (object[catalogInfo])\n if (object[catalogInfo].interactions === 'Todas as opções anteriores')\n return object[catalogInfo].limits[index].teto_stel\n else if (object[catalogInfo].limits)\n if (object[catalogInfo].limits.teto_stel)\n return object[catalogInfo].limits.teto_stel\n\n if (object[catalog])\n if (object[catalog].interactions)\n if (object[catalog].interactions[0].teto_stel)\n if (object[catalog].interactions[0].teto_stel)\n return object[catalog].interactions[0].teto_stel\n return '-'\n case 'base_do_tlv':\n if (object[catalogInfo]) {\n if (\n object[catalogInfo].interactions === 'Todas as opções anteriores'\n ) {\n if (object[catalogInfo].limits[index].base_do_tlv.length >= 2) {\n return object[catalogInfo].limits[index].base_do_tlv.join(\n ';
'\n )\n } else {\n if (object[catalogInfo].limits[index].base_do_tlv.toString()) {\n return object[catalogInfo].limits[index].base_do_tlv.toString()\n }\n }\n } else if (object[catalogInfo].limits) {\n if (object[catalogInfo].limits.base_do_tlv.length >= 2) {\n return object[catalogInfo].limits.base_do_tlv.join(';
')\n } else {\n if (object[catalogInfo].limits.base_do_tlv.toString()) {\n return object[catalogInfo].limits.base_do_tlv.toString()\n }\n }\n }\n }\n\n if (object[catalog]) {\n if (object[catalog].interactions) {\n if (object[catalog].interactions[0].base_do_tlv) {\n if (object[catalog].interactions[0].base_do_tlv.length >= 2) {\n return object[catalog].interactions[0].base_do_tlv.join(\n ';
'\n )\n } else {\n if (object[catalog].interactions[0].base_do_tlv.toString()) {\n return object[catalog].interactions[0].base_do_tlv.toString()\n }\n }\n }\n }\n }\n return '-'\n case 'esocial':\n return object.table24\n ? object.table24.code\n ? object.table24.code\n : 'Não'\n : 'Não'\n case 'product':\n return '-'\n default:\n return '-'\n }\n },\n getsearchId(object){\n const casAgente = object.name || object.searchId || object.searchMatched\n const [cas, agente] = casAgente.split(':')\n\n if(!agente.trim() && object.synonyms && object.synonyms.length > 0){\n return `${object.cas}: ${object.synonyms.find((x) => x.length > 0)}`\n }\n return casAgente\n },\n tableFields: [\n { key: 'product', value: 'Produto' },\n { key: 'searchId', value: 'CAS: Agente' },\n { key: 'interactions', value: 'Fração de coleta' },\n { key: 'lt_twa', value: 'TWA' },\n { key: 'lt_stel', value: 'STEL' },\n { key: 'teto_stel', value: 'Teto' },\n { key: 'notations', value: 'Notações' },\n { key: 'base_do_tlv', value: 'Base do TLV' },\n /*{ key: 'esocial', value: 'ESOCIAL - Tabela 24' }*/\n ]\n}\n"],"sourceRoot":""}