(window.webpackJsonp=window.webpackJsonp||[]).push([[1091],{3138:function(e,t,r){"use strict";r.r(t);var o=r(42),component=Object(o.a)({},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"header-global"},[r("div",{staticClass:"menu-topo"},[r("form",{attrs:{id:"headerForm"}},[r("h:panelGrid",{staticStyle:{width:"100%"},attrs:{columns:"2"}},[r("h:panelGroup",[r("p:commandLink",{attrs:{styleClass:"headerLink",action:"#{menuMBean.goHome()}",ajax:"false"}},[r("i",{staticClass:"fas fa-home",staticStyle:{"padding-right":"4px"}})]),e._v(" "),r("h:outputLink",{attrs:{id:"lnkProfile",styleClass:"headerLink"}},[r("i",{staticClass:"fas fa-user-circle",staticStyle:{"padding-right":"4px"}}),e._v(" "),r("h:outputText",{staticStyle:{color:"#e6e6e6","padding-right":"8px"},attrs:{value:"#{coreMBean.usuario.login}",styleClass:"negrito"}})],1),e._v(" "),r("h:outputLink",{attrs:{id:"lnkConfig",styleClass:"headerLink",rendered:"#{coreMBean.perfilAdministrador}"}},[r("i",{staticClass:"fas fa-cogs",staticStyle:{"padding-right":"4px"}})])],1),e._v(" "),r("p:outputPanel",{staticStyle:{float:"right"}},[r("h:outputLink",{staticClass:"headerLink topbar-tasks",attrs:{value:"#",id:"topbarLink"}},[r("i",{staticClass:"fas fa-envelope-open",staticStyle:{"padding-right":"12px"}}),e._v(" "),r("span",{staticClass:"topbar-badge"},[r("h:outputText",{attrs:{value:"#{coreMBean.correspPrioridade.size()}"}})],1)]),e._v(" "),r("p:overlayPanel",{staticStyle:{width:"550px"},attrs:{for:"topbarLink",hideEffect:"fade",showCloseIcon:"true"}},[r("p:dataList",{staticStyle:{border:"none"},attrs:{var:"corresp",value:"#{coreMBean.correspPrioridade}",paginator:"true",rows:"15",emptyMessage:"Não há correspondências pendentes."}},[r("h:outputText",{attrs:{value:"#{corresp.prazo} dias - ",styleClass:"#{corresp.prazo lt 0 ? 'negritoVermelho' : (corresp.prazo le 7 ? 'negritoCinza' : 'nada')}"}}),e._v(" "),r("h:outputText",{attrs:{value:"#{corresp.empresa.sigla}: ",rendered:"#{coreMBean.empresasUser != null and coreMBean.empresasUser.size() gt 1}"}}),e._v(" "),r("p:link",{attrs:{href:"#{request.contextPath}/pages/correspondencias/correspondenciaEdit.faces?idEmpresa=#{corresp.id.idEmpresa}&idCorrespondencia=#{corresp.id.idCorrespondencia}"}},[r("h:outputText",{attrs:{value:"#{corresp.assuntoResumido}"}})],1)],1)],1),e._v(" "),r("p:splitButton",{attrs:{icon:"fas fa-building",styleClass:"headerMenuButton",value:"#{coreMBean.empresaUser.empresa.razaoSocial}"}},[r("c:forEach",{attrs:{var:"emp",items:"#{coreMBean.empresasUser}"}},[r("p:menuitem",{staticStyle:{"font-size":"8pt !important",width:"225px"},attrs:{value:"#{emp.empresa.razaoSocial}",action:"#{coreMBean.handleSelectEmpresa(emp.id.idEmpresa)}"}})],1)],1)],1)],1),e._v(" "),r("p:tieredMenu",{staticStyle:{clear:"both"},attrs:{trigger:"lnkConfig",overlay:"true",my:"left top",at:"left bottom"}},[r("p:menuitem",{attrs:{value:"Configurações",action:"/pages/core/sysConfig.faces?faces-redirect=true",rendered:"#{coreMBean.perfilAdministrador}"}}),e._v(" "),r("p:menuitem",{attrs:{value:"Email",action:"/pages/core/emails.faces?faces-redirect=true",rendered:"#{coreMBean.perfilAdministrador}"}}),e._v(" "),r("p:menuitem",{attrs:{value:"Sessão Usuário",action:"/pages/core/usuariosSessao.faces?faces-redirect=true",rendered:"#{coreMBean.perfilAdministrador}"}}),e._v(" "),r("p:separator"),e._v(" "),r("p:menuitem",{attrs:{value:"Procedimentos Especiais",action:"/pages/core/procedimentosEspeciais.faces?faces-redirect=true",rendered:"#{coreMBean.perfilAdministrador}"}}),e._v(" "),r("p:separator"),e._v(" "),r("p:menuitem",{attrs:{value:"Repositório",action:"/pages/core/repositorio.faces?faces-redirect=true",rendered:"#{coreMBean.perfilAdministrador}"}}),e._v(" "),r("p:menuitem",{attrs:{value:"Configurações de Relatórios",action:"/pages/admin/configuracaoRelatorios.faces?faces-redirect=true",rendered:"#{coreMBean.perfilAdministrador}"}})],1),e._v(" "),r("p:tieredMenu",{staticStyle:{clear:"both"},attrs:{trigger:"lnkProfile",overlay:"true",my:"left top",at:"left bottom"}},[r("p:menuitem",{attrs:{value:"Alterar senha",action:"/pages/alterarSenha.faces?faces-redirect=true"}}),e._v(" "),r("p:separator"),e._v(" "),r("p:menuitem",{attrs:{value:"Logout",icon:"ui-icon-extlink",action:"#{loginMBean.logout}",immediate:"true"}})],1)],1)]),e._v(" "),r("div",{staticStyle:{position:"relative"},attrs:{id:"header"}},[r("h:graphicImage",{staticStyle:{margin:"12px 0px 0px 20px",float:"left"},attrs:{library:"img",name:"logo_gesconsys.png",height:"90",rendered:"#{coreMBean.logomarca == null}"}}),e._v(" "),r("h:graphicImage",{attrs:{library:"img",value:"/viewFile/?src=#{coreMBean.logomarca}",styleClass:"imgHeader",rendered:"#{coreMBean.logomarca != null}"}}),e._v(" "),r("h:graphicImage",{staticStyle:{float:"right"},attrs:{library:"img",name:"header.png"}})],1)])}),[],!1,null,null,null);t.default=component.exports}}]);
//# sourceMappingURL=9544839-1.2.11.js.map