(window.webpackJsonp=window.webpackJsonp||[]).push([[731],{1141:function(e,t,o){var content=o(1215);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,o(122).default)("2e5668eb",content,!0,{sourceMap:!1})},1214:function(e,t,o){"use strict";o(1141)},1215:function(e,t,o){var r=o(121),n=o(559),l=o(560),c=r(!1),f=n(l);c.push([e.i,"@font-face{src:url("+f+') format("woff");font-family:"Helvetica Neue";font-weight:100}.image[data-v-5887e1b9]{width:200px;height:100px}',""]),e.exports=c},1313:function(e,t,o){"use strict";o.r(t);o(6),o(5),o(7),o(12),o(8),o(13);var r=o(2),n=(o(4),o(31),o(32),o(398),o(165),o(78));function l(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(object);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,o)}return t}function c(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?l(Object(source),!0).forEach((function(t){Object(r.a)(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):l(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}var f={components:{},props:{dados:{type:Array,default:function(){return[]},required:!0},optionsGrupoAcesso:{type:Array,default:function(){return[]},required:!0},getValues:{type:Function,default:function(){return[]},required:!0},setValues:{type:Function,default:function(){return[]},required:!0}},data:function(){return{fileLogo:null,urlImagemLogo:null,fileBackground:null,urlImagemBackground:null}},computed:c(c({},Object(n.c)({empresa:"empresa/empresaAtual"})),{},{dadosComputados:{get:function(){return this.dados},set:function(e){this.$emit("update:dados",e)}},setValuesAux:{get:function(){return this.setValues},set:function(e){this.$emit("update:setValues",e)}}}),mounted:function(){},methods:{handleFileChangeLogo:function(e){var t=e.target.files[0];t&&(this.urlImagemLogo=URL.createObjectURL(t))},handleFileChangeBackground:function(e){var t=e.target.files[0];t&&(this.urlImagemBackground=URL.createObjectURL(t))}}},d=(o(1214),o(42)),component=Object(d.a)(f,(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:"globe"}}),e._v(" "),o("h3",{staticClass:"ml-3"},[e._v("Geral")])],1)],1)],1),e._v(" "),o("b-row",[o("b-col",{attrs:{md:"6",xl:"6"}},[o("b-form-group",{attrs:{label:"Logomarca:"}},[o("b-form-file",{attrs:{placeholder:"Escolha um arquivo ou solte-o aqui...","drop-placeholder":"Solte o arquivo aqui...","browse-text":"Selecione a logomarca",accept:".jpg, .png, .gif",size:"sm"},on:{change:e.handleFileChangeLogo},model:{value:e.fileLogo,callback:function(t){e.fileLogo=t},expression:"fileLogo"}})],1)],1),e._v(" "),o("b-col",{attrs:{md:"2",xl:"2"}},[o("div",{staticClass:"border mt-4 d-flex justify-content-center"},[e.urlImagemLogo?o("img",{staticClass:"image",attrs:{src:e.urlImagemLogo,alt:"Logomarca"}}):e._e()])]),e._v(" "),o("b-col",{attrs:{md:"6",xl:"6"}},[o("b-form-group",{attrs:{label:"Background:"}},[o("b-form-file",{attrs:{accept:".jpg, .png, .gif",size:"sm",placeholder:"Escolha um arquivo ou solte-o aqui...","drop-placeholder":"Solte o arquivo aqui...","browse-text":"Selecione o background"},on:{change:e.handleFileChangeBackground},model:{value:e.fileBackground,callback:function(t){e.fileBackground=t},expression:"fileBackground"}})],1)],1),e._v(" "),o("b-col",{attrs:{md:"2",xl:"2"}},[o("div",{staticClass:"border mt-4 d-flex justify-content-center"},[e.urlImagemBackground?o("img",{staticClass:"image",attrs:{src:e.urlImagemBackground,alt:"Background"}}):e._e()])]),e._v(" "),o("b-col",{attrs:{md:"6",xl:"6"}},[o("b-form-group",{attrs:{label:"Perfil - Coordenação de Obras:"}},[o("b-form-select",{attrs:{value:e.getValues("GERAL.PERFIL_COORDENACAO_OBRAS")},on:{change:function(t){return e.setValuesAux("GERAL.PERFIL_COORDENACAO_OBRAS",t)}},scopedSlots:e._u([{key:"first",fn:function(){return[o("b-form-select-option",{attrs:{value:void 0}},[e._v("\n              Selecione...\n            ")])]},proxy:!0}])},[e._v(" "),e._l(e.optionsGrupoAcesso,(function(t,r){return o("b-form-select-option",{key:r,attrs:{value:t.id}},[e._v("\n            "+e._s(t.descricao)+"\n          ")])}))],2)],1)],1)],1)],1)}),[],!1,null,"5887e1b9",null);t.default=component.exports}}]);
//# sourceMappingURL=d13919f-1.2.11.js.map