(window.webpackJsonp=window.webpackJsonp||[]).push([[615],{1111:function(t,e,n){"use strict";n(916)},1112:function(t,e,n){var r=n(121)(!1);r.push([t.i,".btn-pagination>li>a{color:red}.btn-pagination>li.active>a,.btn-pagination>li>a:hover{color:#fff;background-color:green!important}",""]),t.exports=r},1124:function(t,e,n){"use strict";n.r(e);var r={props:{fields:{type:Array,default:function(){return[]},required:!0},items:{type:Array,default:function(){return[]},required:!0},busy:{type:Boolean,default:function(){return!1},required:!1},editCell:{type:Function,default:function(){return!1},required:!0},deleteCell:{type:Function,default:function(){return!1},required:!1}},data:function(){return{hover:!0,headVariant:"light",noCollapse:!0,currentPage:1,perPage:10,sortDesc:!1,sortBy:""}},computed:{edit:{get:function(){return this.editCell},set:function(t){this.$emit("update:edit",t)}},del:{get:function(){return this.deleteCell},set:function(del){this.$emit("update:delete",del)}}}},l=(n(1111),n(42)),component=Object(l.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",{staticClass:"mt-3"},[t._t("button-add"),t._v(" "),n("b-table",{ref:"selectableTable",staticClass:"mt-3",attrs:{striped:"",stacked:"md","select-mode":"single",hover:"",items:t.items,fields:t.fields,"per-page":t.perPage,"current-page":t.currentPage,"sort-desc":t.sortDesc,responsive:"sm",busy:t.busy,selectable:"","empty-text":"Não há dados disponíveis.","show-empty":""},on:{"update:sortDesc":function(e){t.sortDesc=e},"update:sort-desc":function(e){t.sortDesc=e},"row-clicked":t.edit},scopedSlots:t._u([{key:"table-busy",fn:function(){return[n("div",{staticClass:"text-center text-info my-2"},[n("b-spinner",{staticClass:"align-middle"}),t._v(" "),n("strong",[t._v("Carregando...")])],1)]},proxy:!0},{key:"cell(descricao)",fn:function(e){return[t._v("\n          "+t._s(e.value.length>400?e.value.substring(0,400)+"...":e.value)+"\n        ")]}},{key:"cell(datHorCadastro)",fn:function(e){return[t._t("datHorCadastro",null,{row:e})]}},{key:"cell(datColeta)",fn:function(e){return[t._t("datColeta",null,{row:e})]}},{key:"cell(datHorEnsaio)",fn:function(e){return[t._t("datHorEnsaio",null,{row:e})]}},{key:"cell(tipo)",fn:function(e){return[t._t("tipo",null,{cell:e.item})]}},{key:"cell(descricaoTipoLigante)",fn:function(e){return[t._t("descricaoTipoLigante",null,{cell:e.item})]}},{key:"cell(pista)",fn:function(e){return[t._t("pista",null,{row:e})]}},{key:"cell(grupo)",fn:function(e){return[t._t("grupo",null,{row:e})]}},{key:"cell(mistura)",fn:function(e){return[t._t("mistura",null,{row:e})]}},{key:"cell(camada)",fn:function(e){return[t._t("camada",null,{row:e})]}},{key:"cell(status)",fn:function(e){return[t._t("status",null,{cell:e})]}},{key:"cell(actions)",fn:function(e){return[n("b-button",{staticClass:"btn-table",attrs:{variant:"outline-primary",title:"Editar"},on:{click:function(n){return t.edit(e.item)}}},[n("fa-icon",{staticClass:"text-primary btn-table-text",attrs:{icon:"save"}})],1),t._v(" "),n("b-button",{staticClass:"btn-table",staticStyle:{"margin-right":"-2rem !important"},attrs:{variant:"outline-primary",title:"Excluir"},on:{click:function(n){return t.del(e.item)}}},[n("fa-icon",{staticClass:"text-primary btn-table-text",attrs:{icon:"times"}})],1)]}}],null,!0)}),t._v(" "),t.items.length>0?n("b-row",[n("b-col",{attrs:{"align-self":"end"}},[n("div",{staticClass:"text-right"},[n("b",[t._v("Itens:")]),t._v(" "+t._s(t.items.length))])])],1):t._e(),t._v(" "),t.items.length>5?n("b-pagination",{staticClass:"btn-pagination",attrs:{"total-rows":t.items.length,"per-page":t.perPage,align:"center",pills:""},model:{value:t.currentPage,callback:function(e){t.currentPage=e},expression:"currentPage"}}):t._e()],2)],1)],1)}),[],!1,null,null,null);e.default=component.exports},916:function(t,e,n){var content=n(1112);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(122).default)("0cd542cc",content,!0,{sourceMap:!1})}}]);
//# sourceMappingURL=fcfc236-1.2.11.js.map