(window.webpackJsonp=window.webpackJsonp||[]).push([[616],{896:function(t,e,n){"use strict";n.r(e);n(17),n(182);var r={props:{title:{type:String,default:function(){return""},required:!0},upload:{type:Function,default:null,required:!1},add:{type:Function,default:function(){return!1},required:!1},addVisivel:{type:Boolean,default:function(){return!0},required:!1},search:{type:Function,default:function(){return!1},required:!1},filtro:{type:Object,default:function(){return null},required:!1},anexos:{type:Object,default:function(){return{btn:!1}},required:!1}},computed:{searchBy:{get:function(){return this.search},set:function(t,e){this.$emit("update:search",t,e)}}}},o=n(42),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("b-row",[n("b-col",{attrs:{cols:"12"}},[n("b-card",[n("div",{staticClass:"mt-4 mx-2",attrs:{slot:"header"},slot:"header"},[n("b-row",[n("b-col",{attrs:{cols:"10"}},[n("h2",{staticClass:"primary"},[t._v(t._s(t.title))])]),t._v(" "),n("b-col",{attrs:{cols:"2"}},[n("div",{staticClass:"d-flex justify-content-end"},[n("b-button",{staticClass:"rounded",attrs:{id:"btnAdicionar",variant:"primary",size:"sm"},on:{click:function(e){return t.add()}}},[n("FaIcon",{attrs:{icon:"plus"}}),t._v(" "),n("span",[t._v("Adicionar")])],1)],1)])],1)],1),t._v(" "),n("b-row",[t._t("filtro")],2),t._v(" "),n("div",[n("b-button",{staticClass:"my-2 rounded",attrs:{id:"btnPesquisar",variant:"primary",size:"sm"},on:{click:function(e){return t.search(t.filtro)}}},[n("FaIcon",{attrs:{icon:"search"}}),t._v(" "),n("span",[t._v("Pesquisar")])],1),t._v(" "),n("b-button",{directives:[{name:"show",rawName:"v-show",value:t.anexos.btn,expression:"anexos.btn"}],staticClass:"my-2 rounded ml-1",attrs:{variant:"outline-primary",size:"sm"},on:{click:function(){return t.$bvModal.show(t.anexos.nameModal)}}},[n("FaIcon",{attrs:{icon:"file-excel"}}),t._v(" "),n("span",[t._v("Importar")])],1),t._v(" "),n("b-button",{directives:[{name:"show",rawName:"v-show",value:t.upload,expression:"upload"}],staticClass:"my-2 rounded ml-1",attrs:{variant:"outline-primary",size:"sm"},on:{click:t.upload}},[n("FaIcon",{attrs:{icon:"file-excel"}}),t._v(" "),n("span",[t._v("Upload")])],1)],1)],1)],1)],1)}),[],!1,null,null,null);e.default=component.exports}}]);
//# sourceMappingURL=6cf058b-1.2.11.js.map