(window.webpackJsonp=window.webpackJsonp||[]).push([[212],{1200:function(t,e,r){"use strict";r.r(e);var o={name:"ModalErroImportacaoFlorestal",props:{erros:{type:Array,default:function(){return[]}}},data:function(){return{fieldsErroImportacaoFlorestal:[{key:"descricao",label:"Descrição"}],currentPageFlorestal:1,perPageFlorestal:5}},methods:{cancelModalErroImportacaoFlorestal:function(){this.$bvModal.hide("modalLogErroImportacaoFlorestal")}}},l=r(42),component=Object(l.a)(o,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("b-modal",{attrs:{id:"modalLogErroImportacaoFlorestal",size:"xl",centered:"","hide-header-close":"","hide-footer":"",scrollable:""},scopedSlots:t._u([{key:"modal-header",fn:function(){return[r("div",{staticClass:"d-flex"},[r("fa-icon",{staticStyle:{"font-size":"1.3rem","margin-top":"15px"},attrs:{icon:"exclamation"}}),t._v(" "),r("h4",{staticClass:"ml-3 mt-3"},[t._v("Erros da importação")])],1)]},proxy:!0}])},[t._v(" "),r("b-row",[r("b-col",{attrs:{cols:"12"}},[r("b-table",{staticClass:"mt-2",staticStyle:{cursor:"pointer"},attrs:{striped:"",hover:"",fields:t.fieldsErroImportacaoFlorestal,items:t.erros,"show-empty":!0,"empty-text":"Não há itens Florestal incluídos.","per-page":t.perPageFlorestal,"current-page":t.currentPageFlorestal},scopedSlots:t._u([{key:"table-busy",fn:function(){return[r("div",{staticClass:"text-center text-info my-2"},[r("b-spinner",{staticClass:"align-middle"}),t._v(" "),r("strong",[t._v("Carregando...")])],1)]},proxy:!0}])}),t._v(" "),t.erros.length>0?r("b-row",[r("b-col",{attrs:{"align-self":"end"}},[r("div",{staticClass:"text-right"},[r("b",[t._v("Itens:")]),t._v(" "+t._s(t.erros.length))])])],1):t._e(),t._v(" "),t.erros.length>=5?r("b-pagination",{attrs:{"total-rows":t.erros.length,"per-page":t.perPageFlorestal,align:"center",pills:""},model:{value:t.currentPageFlorestal,callback:function(e){t.currentPageFlorestal=e},expression:"currentPageFlorestal"}}):t._e()],1)],1),t._v(" "),r("b-row",{staticClass:"mt-2 pt-3 border-top"},[r("b-col",{attrs:{cols:"8"}},[r("b-button",{staticClass:"my-2 rounded",attrs:{size:"sm",variant:"outline-secondary"},on:{click:function(e){return t.cancelModalErroImportacaoFlorestal()}}},[r("div",[r("fa-icon",{attrs:{icon:"undo-alt"}}),t._v(" "),r("span",{staticClass:"ml-1"},[t._v(" Voltar ")])],1)])],1)],1)],1)}),[],!1,null,null,null);e.default=component.exports}}]);
//# sourceMappingURL=034bba5-1.2.11.js.map