(window.webpackJsonp=window.webpackJsonp||[]).push([[760],{1372:function(e,t,l){"use strict";l.r(t);var n={name:"SigElementosTabela",props:{items:{type:Array,default:function(){return[]},required:!0},editCell:{type:Function,default:function(){return!1},required:!0},busy:{type:Boolean,default:function(){return!1},required:!0}},data:function(){return{fields:[{key:"id",label:"ID"},{key:"codigo",label:"Código"},{key:"rodovia",label:"Rodovia"},{key:"km_inicio",label:"Km Início"},{key:"metro_inicio",label:"Metro Início"},{key:"km_final",label:"Km Final"},{key:"metro_final",label:"Metro Final"},{key:"sentido",label:"Sentido"},{key:"latitude_inicio",label:"Latitude Início"},{key:"longitude_inicio",label:"Longitude Início"},{key:"latitude_final",label:"Latitude Final"},{key:"longitude_final",label:"Longitude Final"}],hover:!0,noCollapse:!0,headVariant:"light",totalRows:1,currentPage:1,perPage:10}},computed:{rows:function(){return this.items.length},edit:{get:function(){return this.editCell},set:function(e){this.$emit("update:edit",e)}},del:{get:function(){return this.deleteCell},set:function(del){this.$emit("update:delete",del)}}}},r=l(42),component=Object(r.a)(n,(function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("b-card",{staticClass:"mt-3"},[l("b-table",{staticClass:"mt-3",staticStyle:{"overflow-x":"scroll"},attrs:{hover:e.hover,"no-border-collapse":e.noCollapse,items:e.items,fields:e.fields,"head-variant":e.headVariant,responsive:"sm",selectable:"","empty-text":"Não há dados disponíveis.","show-empty":"","current-page":e.currentPage,"per-page":e.perPage,busy:e.busy},on:{"row-clicked":e.editCell},scopedSlots:e._u([{key:"table-busy",fn:function(){return[l("div",{staticClass:"text-center text-primary my-2"},[l("b-spinner",{staticClass:"align-middle"}),e._v(" "),l("strong",[e._v("Carregando...")])],1)]},proxy:!0}])}),e._v(" "),e.items.length>0?l("b-row",[l("b-col",{attrs:{"align-self":"end"}},[l("div",{staticClass:"text-right"},[l("b",[e._v("Itens:")]),e._v(" "+e._s(e.items.length))])])],1):e._e(),e._v(" "),e.items.length>5?l("b-pagination",{attrs:{"total-rows":e.rows,"per-page":e.perPage,align:"center",pills:""},model:{value:e.currentPage,callback:function(t){e.currentPage=t},expression:"currentPage"}}):e._e()],1)}),[],!1,null,null,null);t.default=component.exports}}]);
//# sourceMappingURL=e3129b1-1.2.11.js.map