(window.webpackJsonp=window.webpackJsonp||[]).push([[225],{1258:function(e,t,o){var content=o(1569);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,o(122).default)("6a8f14a9",content,!0,{sourceMap:!1})},1568:function(e,t,o){"use strict";o(1258)},1569:function(e,t,o){var r=o(121)(!1);r.push([e.i,".h5-requisitos[data-v-42e2f1bf]{font-size:12px;color:#4b5563}.div-requisitos[data-v-42e2f1bf]{height:276px;overflow:auto;border:1px solid rgba(0,0,0,.125);border-radius:5px}.div-requisitos[data-v-42e2f1bf],.list-group-item[data-v-42e2f1bf]{font-size:13px!important}.cursor-move[data-v-42e2f1bf]{cursor:move}.draggable-invalid[data-v-42e2f1bf]{border-color:#ef4444}",""]),e.exports=r},2074:function(e,t,o){"use strict";o.r(t);o(152),o(153);var r=o(888),c={components:{draggable:o.n(r).a},props:{requisitosAssociados:{type:Array,default:function(){return[]}},requisitosDisponiveis:{type:Array,default:function(){return[]}},isBlockedEdit:{type:Function,default:function(){return!1},required:!0}},data:function(){return{searchDisponiveis:"",searchAssociados:""}},computed:{reqAssociados:{get:function(){return this.requisitosAssociados},set:function(e){this.$emit("update:requisitosAssociados",e)}}},methods:{filterReq:function(e,t){return e.descricao.toLowerCase().includes(t.toLowerCase())}}},n=(o(1568),o(42)),component=Object(n.a)(c,(function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("b-card",[o("div",{staticClass:"mt-4",attrs:{slot:"header"},slot:"header"},[o("b-row",[o("b-col",{staticClass:"d-flex justify-content-start"},[o("fa-icon",{staticStyle:{"font-size":"1.3rem"},attrs:{icon:"lock"}}),e._v(" "),o("h3",{staticClass:"ml-3"},[e._v("Req. Legais")])],1)],1)],1),e._v(" "),o("b-row",[o("b-col",{attrs:{cols:"12",md:"6"}},[o("h5",{staticClass:"h5-requisitos"},[e._v("Requisitos Disponíveis")]),e._v(" "),o("draggable",{staticClass:"list-group div-requisitos",attrs:{draggable:".item",list:e.requisitosDisponiveis,group:"ocs"}},[e._l(e.requisitosDisponiveis,(function(element,t){return[o("div",{directives:[{name:"show",rawName:"v-show",value:e.filterReq(element,e.searchDisponiveis),expression:"filterReq(element, searchDisponiveis)"}],key:t,staticClass:"list-group-item cursor-move item"},[e._v("\n            "+e._s(element.descricao)+"\n          ")])]}))],2),e._v(" "),o("div",[o("b-form-input",{staticClass:"mt-2",attrs:{type:"text",placeholder:"Busca de Requisitos Disponíveis"},model:{value:e.searchDisponiveis,callback:function(t){e.searchDisponiveis=t},expression:"searchDisponiveis"}})],1)],1),e._v(" "),o("b-col",{attrs:{cols:"12",md:"6"}},[o("h5",{staticClass:"h5-requisitos"},[e._v("Requisitos Associados")]),e._v(" "),o("draggable",{staticClass:"list-group div-requisitos",attrs:{id:"requisitosAssociados",draggable:".item",list:e.reqAssociados,disabled:e.isBlockedEdit(),group:"ocs"}},[e._l(e.reqAssociados,(function(element,t){return[o("div",{directives:[{name:"show",rawName:"v-show",value:e.filterReq(element,e.searchAssociados),expression:"filterReq(element, searchAssociados)"}],key:t,staticClass:"list-group-item cursor-move item"},[e._v("\n            "+e._s(element.descricao)+"\n          ")])]}))],2),e._v(" "),o("div",[o("b-form-input",{staticClass:"mt-2",attrs:{type:"text",placeholder:"Busca de Requisitos Associados"},model:{value:e.searchAssociados,callback:function(t){e.searchAssociados=t},expression:"searchAssociados"}})],1)],1)],1)],1)}),[],!1,null,"42e2f1bf",null);t.default=component.exports}}]);
//# sourceMappingURL=05a72e2-1.2.11.js.map