(window.webpackJsonp=window.webpackJsonp||[]).push([[412],{1392:function(e,t,n){"use strict";n.r(t);n(137),n(4);var r={props:{items:{type:Array,default:function(){return[]},required:!0},busy:{type:Boolean,default:function(){return!1},required:!0}},data:function(){return{fields:[{key:"status",label:"Status"},{key:"dju",label:"DJU"},{key:"en",label:"E&N"},{key:"reg",label:"REG"},{key:"pro",label:"PRO"},{key:"total",label:"Total"}],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)}}},methods:{getRawValue:function(e,t){return this.items.totais[e].rawValue.find((function(e){return e.key===t}))||{value:"",rawValue:""}}}},l=n(42),component=Object(l.a)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("b-row",[n("b-col",{attrs:{cols:"12"}},[n("b-card",{staticClass:"mt-3"},[n("b-table-simple",{staticClass:"mt-3",attrs:{hover:e.hover,"no-border-collapse":e.noCollapse,"head-variant":e.headVariant,responsive:"sm","empty-text":"Não há dados disponíveis.","show-empty":"","current-page":e.currentPage,"per-page":e.perPage}},[n("b-thead",[n("b-tr",[n("b-th",[e._v("Status")]),e._v(" "),n("b-th",[e._v("DJU")]),e._v(" "),n("b-th",[e._v("E&N")]),e._v(" "),n("b-th",[e._v("REG")]),e._v(" "),n("b-th",[e._v("PRO")]),e._v(" "),n("b-th",[e._v("Total")])],1)],1),e._v(" "),n("b-tbody",e._l(e.items.totais,(function(t,r){return n("b-tr",{key:r},[n("b-th",[e._v(e._s(e.items.totais[r].key)+" ")]),e._v(" "),n("b-td",[e._v("\n              "+e._s(e.getRawValue(r,"DJU").value)+"\n            ")]),e._v(" "),n("b-td",[e._v("\n              "+e._s(e.getRawValue(r,"E&N").value)+"\n            ")]),e._v(" "),n("b-td",[e._v("\n              "+e._s(e.getRawValue(r,"REG").value)+"\n            ")]),e._v(" "),n("b-td",[e._v("\n              "+e._s(e.getRawValue(r,"PRO").value)+"\n            ")]),e._v(" "),n("b-td",[e._v("\n              "+e._s(e.getRawValue(r,"TOT_AREA").value)+"\n            ")])],1)})),1)],1),e._v(" "),e.items>0?n("b-row",[n("b-col",{attrs:{"align-self":"end"}},[n("div",{staticClass:"text-right"},[n("b",[e._v("Itens:")]),e._v(" "+e._s(e.items))])])],1):e._e(),e._v(" "),e.items>5?n("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)],1)}),[],!1,null,null,null);t.default=component.exports}}]);
//# sourceMappingURL=82140be-1.2.11.js.map