{"version":3,"sources":["webpack:///./src/components/reports/ReportDaily.vue?7cde","webpack:///src/components/reports/ReportDaily.vue","webpack:///./src/components/reports/ReportDaily.vue?3551","webpack:///./src/components/reports/ReportDaily.vue","webpack:///./src/views/waste/Waste.vue?394c","webpack:///./src/modules/waste/Waste.vue?1d82","webpack:///src/modules/waste/Waste.vue","webpack:///./src/modules/waste/Waste.vue?0d6d","webpack:///./src/modules/waste/Waste.vue","webpack:///src/views/waste/Waste.vue","webpack:///./src/views/waste/Waste.vue?812f","webpack:///./src/views/waste/Waste.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","staticClass","_v","_s","dateReport","companyReport","userReport","staticRenderFns","components","VSIcons","BRow","BCol","component","$can","on","$event","createWaste","_e","model","value","callback","$$v","filter","expression","ref","items","fields","apiInCall","perPage","currentPage","filterOn","onFiltered","detailItemTable","scopedSlots","_u","key","fn","proxy","indeterminate","toggleAll","allSelected","row","item","setItensToDelete","itens","selected","api","fetchTable","project","company","nome_fantasia","full_name","project_name","licenseType","acronyms","name_responsible","rows","BInputGroup","BInputGroupPrepend","BFormInput","BTable","BButton","BFormCheckbox","BSpinner","BPagination","VSModal","mixins","data","computed","created","fetchWaste","fetchAndActivateOperationsTab","methods","$router","push","teste","console","log","openModal","showModal","Waste"],"mappings":"gHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,MAAM,CAAC,GAAK,iBAAiB,CAACF,EAAG,QAAQ,CAACA,EAAG,QAAQ,CAACA,EAAG,UAAU,CAACE,MAAM,CAAC,KAAO,eAAe,gBAAgB,UAAU,kBAAkB,UAAU,MAAQ,MAAM,OAAS,UAAU,GAAGF,EAAG,QAAQ,CAACG,YAAY,cAAc,CAACH,EAAG,KAAK,CAACJ,EAAIQ,GAAG,kBAAkBJ,EAAG,KAAK,CAACG,YAAY,gBAAgB,CAACP,EAA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,mBAAI,MAAJ,oBAGEC,QA7EF,WA8EI1E,KAAK2E,aACL3E,KAAK4E,+BAA8B,IAErCC,QAAS,OAAX,OAAW,CAAX,iCACA,gBAAI,WAAJ,mBAAI,8BAAJ,yCACA,gBAAI,iBAAJ,0BAFA,IAGIxD,YAHJ,WAIMrB,KAAK8E,QAAQC,KAAK,gCAEpBC,MANJ,WAOMC,QAAQC,IAAIlF,KAAK8B,QAEnBqD,UATJ,WAUMnF,KAAKoF,UAAU,cCjOyU,I,YCO1VnE,EAAY,eACd,EACA,EACA,GACA,EACA,KACA,KACA,MAIa,EAAAA,E,QCXf,GACEJ,WAAY,CACVwE,MAAJ,ICT8V,ICO1V,EAAY,eACd,EACAvF,EACAc,GACA,EACA,KACA,KACA,MAIa,e","file":"js/waste.22d5480b.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"daily-report\"}},[_c('b-row',[_c('b-col',[_c('VSIcons',{attrs:{\"name\":\"LogoVerdeSys\",\"color-primary\":\"#1BAD82\",\"color-secondary\":\"#076E5F\",\"width\":\"300\",\"height\":\"100\"}})],1),_c('b-col',{staticClass:\"text-right\"},[_c('h1',[_vm._v(\"Relatório de\")]),_c('h1',{staticClass:\"text-primary\"},[_vm._v(\" acompanhamento diário \")]),_c('p',[_vm._v(\"Data do relatório: \"+_vm._s(_vm.dateReport))])])],1),_c('b-row',[_c('b-col',[_c('b',[_vm._v(\"Nome:\")]),_vm._v(\" \"+_vm._s(_vm.companyReport)+\" \"),_c('hr')])],1),_c('b-row',[_c('b-col',[_c('b',[_vm._v(\"Nome do usúario:\")]),_vm._v(\" \"+_vm._s(_vm.userReport)+\" \"),_c('hr')])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <div id=\"daily-report\">\n    <b-row>\n      <b-col>\n        <VSIcons\n          name=\"LogoVerdeSys\"\n          color-primary=\"#1BAD82\"\n          color-secondary=\"#076E5F\"\n          width=\"300\"\n          height=\"100\"\n        />\n      </b-col>\n      <b-col class=\"text-right\">\n        <h1>Relatório de</h1>\n        <h1 class=\"text-primary\">\n          acompanhamento diário\n        </h1>\n        <p>Data do relatório: {{ dateReport }}</p>\n      </b-col>\n    </b-row>\n    <b-row>\n      <b-col>\n        <b>Nome:</b> {{ companyReport }}\n        <hr>\n      </b-col>\n    </b-row>\n    <b-row>\n      <b-col>\n        <b>Nome do usúario:</b> {{ userReport }}\n        <hr>\n      </b-col>\n    </b-row>\n  </div>\n</template>\n\n<script>\nimport { BRow, BCol } from 'bootstrap-vue'\nimport VSIcons from '@/assets/icons/VSIcons.vue'\n\nexport default {\n  components: {\n    VSIcons,\n    BRow,\n    BCol,\n  },\n}\n</script>\n\n<style>\n\n</style>\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!./ReportDaily.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!./ReportDaily.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ReportDaily.vue?vue&type=template&id=66c59179&\"\nimport script from \"./ReportDaily.vue?vue&type=script&lang=js&\"\nexport * from \"./ReportDaily.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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('Waste')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"waste-page\"},[(_vm.$can('create', 'waste'))?_c('div',{staticClass:\"btn-actions-content\"},[_c('b-button',{staticClass:\"btn-grad d-flex align-items-center\",on:{\"click\":function($event){return _vm.createWaste()}}},[_c('VSIcons',{staticClass:\"pr-2\",attrs:{\"name\":\"AddSquare\",\"width\":\"22\",\"height\":\"22\"}}),_c('span',{staticClass:\"align-middle\"},[_vm._v(\"Adicionar\")])],1)],1):_vm._e(),_c('b-input-group',{staticClass:\"input-group-merge round search-input-filter\"},[_c('b-input-group-prepend',{attrs:{\"is-text\":\"\"}},[_c('VSIcons',{attrs:{\"name\":\"Search\",\"color\":\"#7D8E9E\",\"width\":\"18\",\"height\":\"18\"}})],1),_c('b-form-input',{attrs:{\"id\":\"filter-input\",\"placeholder\":\"Buscar...\",\"type\":\"search\"},model:{value:(_vm.filter),callback:function ($$v) {_vm.filter=$$v},expression:\"filter\"}})],1),_c('b-table',{ref:\"wasteTable\",staticClass:\"module-table mt-4\",attrs:{\"id\":\"waste-table\",\"items\":_vm.items,\"fields\":_vm.fields,\"hover\":\"\",\"responsive\":\"\",\"details-td-class\":\"align-middle\",\"busy\":_vm.apiInCall,\"per-page\":_vm.perPage,\"current-page\":_vm.currentPage,\"selectable\":\"\",\"filter\":_vm.filter,\"filter-included-fields\":_vm.filterOn,\"empty-filtered-text\":\"Não há resultados para sua pesquisa.\",\"empty-text\":\"Não há registros para serem exibidos.\",\"show-empty\":\"\"},on:{\"filtered\":_vm.onFiltered,\"row-selected\":_vm.detailItemTable},scopedSlots:_vm._u([{key:\"table-busy\",fn:function(){return [_c('b-spinner',{attrs:{\"variant\":\"primary\"}})]},proxy:true},(_vm.$can('delete', 'waste'))?{key:\"head(select)\",fn:function(){return [_c('b-form-checkbox',{attrs:{\"indeterminate\":_vm.indeterminate},on:{\"change\":function($event){return _vm.toggleAll('system/waste/general', 'Waste')}},model:{value:(_vm.allSelected),callback:function ($$v) {_vm.allSelected=$$v},expression:\"allSelected\"}})]},proxy:true}:null,(_vm.$can('delete', 'waste'))?{key:\"cell(select)\",fn:function(row){return [_c('b-form-checkbox',{attrs:{\"value\":row.item},on:{\"change\":function($event){return _vm.setItensToDelete({ itens: _vm.selected, api: 'system/waste/general', fetchTable: 'Waste' })}},model:{value:(_vm.selected),callback:function ($$v) {_vm.selected=$$v},expression:\"selected\"}})]}}:null,{key:\"cell(company_name)\",fn:function(row){return [_vm._v(\" \"+_vm._s(row.item.project && row.item.project.company ? (row.item.project.company.nome_fantasia || row.item.project.company.full_name) : 'Não informado')+\" \")]}},{key:\"cell(project_name)\",fn:function(row){return [_vm._v(\" \"+_vm._s(row.item.project && row.item.project ? (row.item.project.project_name || row.item.project.full_name) : 'Não informado')+\" \")]}},{key:\"cell(license_type)\",fn:function(row){return [_vm._v(\" \"+_vm._s(row.item.licenseType === null ? '' : row.item.licenseType.acronyms)+\" \")]}},{key:\"cell(address_project)\",fn:function(row){return [_vm._v(\" \"+_vm._s(((row.item.project.address) + \", \" + (row.item.project.address_number)))+\" \")]}},{key:\"cell(main_manager)\",fn:function(row){return [_vm._v(\" \"+_vm._s(row.item.project.name_responsible)+\" \")]}}],null,true)}),_c('b-pagination',{attrs:{\"total-rows\":_vm.rows,\"per-page\":_vm.perPage,\"aria-controls\":\"waste-table\"},scopedSlots:_vm._u([{key:\"prev-text\",fn:function(){return [_c('VSIcons',{attrs:{\"name\":\"ArrowLeft\"}})]},proxy:true},{key:\"next-text\",fn:function(){return [_c('VSIcons',{attrs:{\"name\":\"ArrowRight\"}})]},proxy:true}]),model:{value:(_vm.currentPage),callback:function ($$v) {_vm.currentPage=$$v},expression:\"currentPage\"}}),_c('VSModal',{attrs:{\"width\":\"500\",\"name\":\"Import\",\"draggable\":false}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <div class=\"waste-page\">\n    <div\n      v-if=\"$can('create', 'waste')\"\n      class=\"btn-actions-content\"\n    >\n      <b-button\n        class=\"btn-grad d-flex align-items-center\"\n        @click=\"createWaste()\"\n      >\n        <VSIcons\n          name=\"AddSquare\"\n          width=\"22\"\n          height=\"22\"\n          class=\"pr-2\"\n        />\n        <span class=\"align-middle\">Adicionar</span>\n      </b-button>\n    </div>\n    <b-input-group class=\"input-group-merge round search-input-filter\">\n      <b-input-group-prepend is-text>\n        <VSIcons\n          name=\"Search\"\n          color=\"#7D8E9E\"\n          width=\"18\"\n          height=\"18\"\n        />\n      </b-input-group-prepend>\n      <b-form-input\n        id=\"filter-input\"\n        v-model=\"filter\"\n        placeholder=\"Buscar...\"\n        type=\"search\"\n      />\n    </b-input-group>\n    <b-table\n      id=\"waste-table\"\n      ref=\"wasteTable\"\n      class=\"module-table mt-4\"\n      :items=\"items\"\n      :fields=\"fields\"\n      hover\n      responsive\n      details-td-class=\"align-middle\"\n      :busy=\"apiInCall\"\n      :per-page=\"perPage\"\n      :current-page=\"currentPage\"\n      selectable\n      :filter=\"filter\"\n      :filter-included-fields=\"filterOn\"\n      empty-filtered-text=\"Não há resultados para sua pesquisa.\"\n      empty-text=\"Não há registros para serem exibidos.\"\n      show-empty\n      @filtered=\"onFiltered\"\n      @row-selected=\"detailItemTable\"\n    >\n      <template #table-busy>\n        <b-spinner variant=\"primary\" />\n      </template>\n      <template\n        v-if=\"$can('delete', 'waste')\"\n        #head(select)\n      >\n        <b-form-checkbox\n          v-model=\"allSelected\"\n          :indeterminate=\"indeterminate\"\n          @change=\"toggleAll('system/waste/general', 'Waste')\"\n        />\n      </template>\n      <template\n        v-if=\"$can('delete', 'waste')\"\n        #cell(select)=\"row\"\n      >\n        <b-form-checkbox\n          v-model=\"selected\"\n          :value=\"row.item\"\n          @change=\"\n            setItensToDelete({ itens: selected, api: 'system/waste/general', fetchTable: 'Waste' })\n          \"\n        />\n      </template>\n      <template #cell(company_name)=\"row\">\n        {{ row.item.project && row.item.project.company ?  (row.item.project.company.nome_fantasia || row.item.project.company.full_name) : 'Não informado' }}\n      </template>\n      <template #cell(project_name)=\"row\">\n        {{ row.item.project && row.item.project ? (row.item.project.project_name || row.item.project.full_name) : 'Não informado' }}\n      </template>\n      <template #cell(license_type)=\"row\">\n        {{ row.item.licenseType === null ? '' : row.item.licenseType.acronyms }}\n      </template>\n      <template #cell(address_project)=\"row\">\n        {{ `${row.item.project.address}, ${row.item.project.address_number}` }}\n      </template>\n      <template #cell(main_manager)=\"row\">\n        {{ row.item.project.name_responsible }}\n      </template>\n    </b-table>\n    <b-pagination\n      v-model=\"currentPage\"\n      :total-rows=\"rows\"\n      :per-page=\"perPage\"\n      aria-controls=\"waste-table\"\n    >\n      <template #prev-text>\n        <VSIcons name=\"ArrowLeft\" />\n      </template>\n      <template #next-text>\n        <VSIcons name=\"ArrowRight\" />\n      </template>\n    </b-pagination>\n    <VSModal\n      width=\"500\"\n      name=\"Import\"\n      :draggable=\"false\"\n    />\n  </div>\n</template>\n\n<script>\nimport {\n  BInputGroup,\n  BInputGroupPrepend,\n  BFormInput,\n  BTable,\n  BButton,\n  BFormCheckbox,\n  BSpinner,\n  BPagination,\n} from 'bootstrap-vue'\nimport { mapActions, mapGetters, mapMutations } from 'vuex'\nimport { tableConfig } from '@core/mixins/ui/forms'\nimport VSIcons from '@/assets/icons/VSIcons.vue'\nimport VSModal from '@/components/modals/VSModal.vue'\n\nexport default {\n  components: {\n    BInputGroup,\n    BInputGroupPrepend,\n    BFormInput,\n    BTable,\n    BButton,\n    VSIcons,\n    BFormCheckbox,\n    BSpinner,\n    BPagination,\n    VSModal,\n  },\n  mixins: [tableConfig],\n  data() {\n    return {\n      fields: [\n        {\n          label: '',\n          key: 'select',\n        },\n        {\n          label: 'Código',\n          key: 'waste_code',\n          sortable: true,\n          tdClass: 'align-middle to-uppercase',\n        },\n        {\n          label: 'Nome',\n          key: 'waste_name',\n          sortable: true,\n          tdClass: 'align-middle to-uppercase',\n        },\n        {\n          label: 'Empresa',\n          key: 'company_name',\n          sortable: true,\n          tdClass: 'align-middle to-uppercase',\n        },\n        {\n          label: 'Empreendimento',\n          key: 'project_name',\n          sortable: true,\n          tdClass: 'align-middle to-uppercase',\n        },\n        {\n          label: 'Tipo Licença',\n          key: 'license_type',\n          sortable: true,\n          tdClass: 'align-middle to-uppercase',\n          formatter: 'teste',\n        },\n        {\n          label: 'Número',\n          key: 'license_number',\n          sortable: true,\n          tdClass: 'align-middle to-uppercase',\n        },\n        {\n          label: 'Endereço do empreendimento',\n          key: 'address_project',\n          sortable: true,\n          tdClass: 'align-middle to-uppercase',\n        },\n        {\n          label: 'Resposável',\n          key: 'main_manager',\n          sortable: true,\n          tdClass: 'align-middle to-uppercase',\n        },\n      ],\n    }\n  },\n  computed: {\n    ...mapGetters({ apiInCall: 'app/getApiInCall', items: 'waste/getWaste' }),\n\n  },\n  created() {\n    this.fetchWaste()\n    this.fetchAndActivateOperationsTab(false)\n  },\n  methods: {\n    ...mapActions({ fetchWaste: 'waste/fetchWaste', fetchAndActivateOperationsTab: 'waste/fetchAndActivateOperationsTab' }),\n    ...mapMutations({ setItensToDelete: 'app/SET_ITENS_DELETE' }),\n    createWaste() {\n      this.$router.push('residuos/adicionar/detalhes')\n    },\n    teste() {\n      console.log(this.items)\n    },\n    openModal() {\n      this.showModal('Import')\n    },\n  },\n}\n</script>\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!./Waste.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!./Waste.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Waste.vue?vue&type=template&id=11a02b54&\"\nimport script from \"./Waste.vue?vue&type=script&lang=js&\"\nexport * from \"./Waste.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","<template>\n  <div><Waste /></div>\n</template>\n\n<script>\nimport Waste from '@/modules/waste/Waste.vue'\n\nexport default {\n  components: {\n    Waste,\n  },\n}\n</script>\n\n<style>\n\n</style>\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!./Waste.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!./Waste.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Waste.vue?vue&type=template&id=7fd7188e&\"\nimport script from \"./Waste.vue?vue&type=script&lang=js&\"\nexport * from \"./Waste.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":""}