(window.webpackJsonp=window.webpackJsonp||[]).push([[391],{1908:function(t,e,r){"use strict";r.r(e);r(308),r(23),r(4),r(25),r(40),r(31),r(17),r(5),r(41),r(43),r(32);function n(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var i=0,n=function(){};return{s:n,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,c=!0,f=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return c=t.done,t},e:function(t){f=!0,l=t},f:function(){try{c||null==r.return||r.return()}finally{if(f)throw l}}}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,r=new Array(e);i<e;i++)r[i]=t[i];return r}var l={name:"ResumoDetalheModal",props:{items:{type:Array,default:function(){return[]}},categoria:{type:String,default:function(){return"NENHUMA"}}},methods:{getCategoria:function(){return this.categoria},getDetalhe:function(){var t,e=[],r=n(this.items);try{for(r.s();!(t=r.n()).done;){var o=t.value;(o.statusPrazo===this.categoria||o.statusPrazo.startsWith(this.categoria))&&e.push(o)}}catch(t){r.e(t)}finally{r.f()}return e}}},c=r(42),component=Object(c.a)(l,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("b-modal",{attrs:{id:"resumoDetalheModal",size:"xl",title:"Resumo - "+t.getCategoria(),centered:"","hide-footer":"",scrollable:""}},[r("b-row",[r("b-col",{attrs:{cols:"12"}},[r("b-button",{staticClass:"my-1 rounded",attrs:{size:"sm",variant:"outline-primary"}},[r("fa-icon",{attrs:{icon:"file-excel"}}),t._v(" "),r("span",{staticClass:"ml-1"},[t._v("Exportar")])],1)],1),t._v(" "),r("b-col",{attrs:{cols:"12"}},[r("b-table",{attrs:{items:t.getDetalhe,"empty-text":"Não há dados de resumo disponíveis"}})],1)],1)],1)}),[],!1,null,null,null);e.default=component.exports}}]);
//# sourceMappingURL=bf0791a-1.2.11.js.map