(window.webpackJsonp=window.webpackJsonp||[]).push([[431],{1359:function(t,r,o){"use strict";o.r(r);o(17),o(182);var e={name:"PesosLocalizar",props:{title:{type:String,default:function(){return""},required:!0},add:{type:Function,default:function(){return!1},required:!1},pesquisar:{type:Function,default:function(){return!1},required:!1},search:{type:String,default:function(){return""},required:!1}},data:function(){return{filtro:{}}},computed:{searchAux:{get:function(){return this.search},set:function(t){this.$emit("update:search",t)}}},methods:{limparfiltro:function(){this.monitoracao=null,this.filtro={}}}},n=o(42),component=Object(n.a)(e,(function(){var t=this,r=t.$createElement,o=t._self._c||r;return o("b-row",[o("b-col",{attrs:{cols:"12"}},[o("b-card",[o("div",{staticClass:"mt-4 mx-2",attrs:{slot:"header"},slot:"header"},[o("b-row",[o("b-col",{attrs:{cols:"10"}},[o("h2",{staticClass:"primary"},[t._v(t._s(t.title))])]),t._v(" "),o("b-col",{attrs:{cols:"2"}},[o("div",{staticClass:"d-flex justify-content-end"},[o("b-button",{staticClass:"rounded",attrs:{id:"btnAdicionar",size:"sm",variant:"primary"},on:{click:t.add}},[o("FaIcon",{staticClass:"mr-1",attrs:{icon:"plus"}}),t._v(" "),o("span",[t._v("Adicionar")])],1)],1)])],1)],1),t._v(" "),o("b-row",[o("b-col",[o("b-form",[o("b-row",[o("b-col",{attrs:{sm:"6"}},[o("b-form-group",{attrs:{label:"Tipo peso:"}},[o("b-form-select",{scopedSlots:t._u([{key:"first",fn:function(){return[o("b-form-select-option",[t._v("Selecione")])]},proxy:!0}]),model:{value:t.filtro.tipo,callback:function(r){t.$set(t.filtro,"tipo",r)},expression:"filtro.tipo"}},[t._v(" "),o("b-form-select-option",{attrs:{value:"MUNIC"}},[t._v("Município (PIB + População)\n                    ")]),t._v(" "),o("b-form-select-option",{attrs:{value:"TRAF"}},[t._v("Tráfego")]),t._v(" "),o("b-form-select-option",{attrs:{value:"ACID"}},[t._v("Acidentes")])],1)],1)],1),t._v(" "),o("b-col",{attrs:{cols:"3"}},[o("b-button",{staticClass:"mt-4 rounded",attrs:{id:"btnPesquisar",variant:"outline-primary",size:"sm"},on:{click:function(r){return t.$emit("search",t.filtro)}}},[o("FaIcon",{staticClass:"mr-1",attrs:{icon:"search"}}),t._v(" "),o("span",[t._v("Pesquisar")])],1)],1)],1),t._v(" "),o("b-row")],1)],1)],1)],1)],1)],1)}),[],!1,null,null,null);r.default=component.exports}}]);
//# sourceMappingURL=a89919f-1.2.11.js.map