9
| <![CDATA[<script>
var mpmg_hierarchicalContentURL = [];
</script>]]>
|
15
| <![CDATA[<script type="text/javascript">var getUserAcceptanceJqueryportalterms = jQuery.noConflict(true); </script>]]>
|
16
| <![CDATA[<script type="text/javascript">//<![CDATA[
var g_LumisLocale = "pt_BR"; var g_LumisChannelId = "2C96808778A843160178A8887ECF1BEB"; var g_LumisRoot_href = "/"; var g_LumisRootChannelId = "00000000F00000000000000000000001"; var g_LumisPageId = "2C96808778A843160178A8897C981C7F"; var g_LumisPageConfig = new Object();g_LumisPageConfig.name = "Consulta Processual"; g_LumisPageConfig.type = 0; g_LumisPageConfig.isTemplate = false; g_LumisPageConfig.hasParentTemplate = true; var g_LumisLayoutFile = true; var g_LumisDisplayMode = 0; var g_LumisViewMode = 0; var g_LumisAdminMode = 2; var g_LumisPersonalizationMode = 5; var g_LumisInContextEditMode = 3; var g_LumisAutoAdminMode = 4;var g_LumisChannelConfig = new Object(); g_LumisChannelConfig.name = "Segunda Instância";var g_LumisIsHtmlCache=false;var g_LumisRootPath='/';var g_LumisLoadingHtmlMessage="<img style=\"vertical-align: middle;\" class=\"lumLoadingImg\" alt=\"Carregando\" src=\"/lumis/portal/client/images/Loading.gif\">";
//]]>
</script>]]>
|
23
| <![CDATA[<script type="text/javascript">window.LumisBWKeys = window.LumisBWKeys || {};window.LumisBWKeys['LumisDouiErrorSummary.js'] = true;window.LumisBWKeys['jquery.js'] = true;window.LumisBWKeys['icones_8A9480677F6E127B017F6EBFEB553F41.css'] = true;window.LumisBWKeys['LumisDoui.js'] = true;window.LumisBWKeys['icones_2C948085738122CB0173825C562A0E55.css'] = true;</script>]]>
|
23
| <![CDATA[<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-452521-1');
</script>]]>
|
53
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/function Validate_Form_2C93808478DC7572017919F893AF2654_lum_searchQueryValidator() {return true;;}/*]]>*//*<![CDATA[*/
function Form_2C93808478DC7572017919F893AF2654lum_searchQueryValidator_SetMessages(localMessage, summaryMessage)
{
var clientUniqueId = "Form_2C93808478DC7572017919F893AF2654lum_searchQueryValidator";
clientUniqueId = clientUniqueId.replace(/(:|\.)/g,'\\$1');
if(localMessage.length)
{
$("#"+clientUniqueId).html(localMessage);
var span = $("<span></span>")
.text(summaryMessage);
$("#"+clientUniqueId).append(span);
$("#"+clientUniqueId).show();
}
else
{
$("#"+clientUniqueId).html("");
$("#"+clientUniqueId).hide();
}
}
/*]]>*/</script>]]>
|
103
| <![CDATA[<script type="text/javascript">
function logoutDesktop() {
var spanElem = document.getElementById('lum_form.userName.desktop');
var divElem = document.getElementById('lum_form.user-logged.desktop');
/*<![CDATA[*/
var userName = LumisPortal.getCookie('lumUserName');
if (userName !== null && userName !== 'Guest') {
if (spanElem.innerText != undefined){
spanElem.innerText = userName.charAt(0);
var text = document.createTextNode(userName);
divElem.appendChild(text);
}
else {
spanElem.textContent = userName.charAt(0);
var text = document.createTextNode(userName);
divElem.appendChild(text);
}
document.querySelector('[data-id="profile-links"]').style.display = '';
}
else
document.querySelector('[data-id="profile-links"]').style.display = 'none';
}
logoutDesktop();
/*]]>*/
</script>]]>
|
166
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/function Validate_Form_2C93808478DC7572017919F9F53E2684_lum_searchQueryValidator() {return true;;}/*]]>*//*<![CDATA[*/
function Form_2C93808478DC7572017919F9F53E2684lum_searchQueryValidator_SetMessages(localMessage, summaryMessage)
{
var clientUniqueId = "Form_2C93808478DC7572017919F9F53E2684lum_searchQueryValidator";
clientUniqueId = clientUniqueId.replace(/(:|\.)/g,'\\$1');
if(localMessage.length)
{
$("#"+clientUniqueId).html(localMessage);
var span = $("<span></span>")
.text(summaryMessage);
$("#"+clientUniqueId).append(span);
$("#"+clientUniqueId).show();
}
else
{
$("#"+clientUniqueId).html("");
$("#"+clientUniqueId).hide();
}
}
/*]]>*/</script>]]>
|
211
| <![CDATA[<script type="text/javascript">
$("input[name='lumPrevParams']").val('');
</script>]]>
|
213
| <![CDATA[<script>
function showFields(){
let $context = $("#consulta-processos");
let $typeSearch = $context.find("#typeSearch");
let $numberFieldInput = $context.find("#filters\\.num_Documento\\.value");
let $nameFieldInput = $context.find("#filters\\.pessoa\\.value");
let $msgNome = $(".msgNome");
if($nameFieldInput.val()!=""){
$numberFieldInput.hide();
$nameFieldInput.show();
$msgNome.show();
$typeSearch.val(1);
}else if($numberFieldInput.val()!=""){
$nameFieldInput.hide();
$numberFieldInput.show();
$msgNome.hide();
$typeSearch.val(0);
}
}
showFields();
function typeSearchOnChange(){
let $context = $("#consulta-processos");
let $typeSearch = $context.find("#typeSearch");
let $numberFieldInput = $context.find("#filters\\.num_Documento\\.value");
let $nameFieldInput = $context.find("#filters\\.pessoa\\.value");
let $msgNome = $(".msgNome");
$typeSearch.on("change",function(i,e){
let typeSearch = $(this).val();
if(typeSearch==0){
$nameFieldInput.hide();
$nameFieldInput.val("");
$numberFieldInput.show();
$msgNome.hide();
}else if(typeSearch==1){
$numberFieldInput.hide();
$numberFieldInput.val("");
$nameFieldInput.show();
$msgNome.show();
}
});
$typeSearch.change();
}
typeSearchOnChange();
function numberOnLeave(){
let $context = $("#consulta-processos");
let $numberField = $context.find("#filters\\.num_Documento\\.value");
$numberField.on("focusout",function(e){
let currentValue = $(this).val();
let filteredValue = currentValue.replace(/\D/g, '');
$(this).val(filteredValue);
});
$numberField.on("change",function(e){
$(e.target).val($(e.target).val().replace(/\D/g, ''))
});
$numberField.on('keypress', function(e) {
keys = ['0','1','2','3','4','5','6','7','8','9']
return keys.indexOf(event.key) > -1
});
}
//numberOnLeave();
</script>]]>
|
333
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/
(function($){
var rejectCookieName = "lumPrivacyTermRejected8A9480677C7FF922017C800676BB101E";
var processPurpose = "8A9480687C7FFC5F017C80125C4F21A9";
var privacyTermMessage = $("#portaltermsprivacyTermMessageBar");
// check if user has already reject the term
var showContainer = true;
var cookies = document.cookie.split("; ");
for (var index in cookies)
{
var cookie = cookies[index];
if (cookie.indexOf(rejectCookieName) != -1)
{
var cookieValue = JSON.parse(cookie.split("=")[1]);
if (cookieValue === processPurpose)
{
showContainer = false;
}
break;
}
}
if (showContainer)
{
if (g_LumisDisplayMode == g_LumisViewMode)
{
// check if user has already accept the term
$.ajax({
url: g_LumisRoot_href + "lumis/service/privacyterm/api/rest/8A9480677C7FF922017C800676BB101E/isAllPurposesOfPrivacyTermAccepted",
type: 'GET'
})
.done(function (response) {
if (response.result != true)
{
showContent();
}
})
.fail(function () {
alert("Algum erro ocorreu durante a operação. Por favor, tente novamente em alguns instantes.");
});
}
}
function showContent()
{
privacyTermMessage.show();
createModalMoreInfo();
}
function createModalMoreInfo()
{
// process the data to create the modal
var modal = $("#portaltermsprivacyTermModal")
.dialog({
modal: true,
autoOpen: false,
closeOnEscape : true,
width : 'auto',
height : 'auto',
resizable: false,
draggable: false,
dialogClass: "portaltermsprivacy-term--modal",
closeText: "",
clickOutside: true,
buttons: {
'Aceitar termo de privacidade': function () {
var thisModal = this;
$.ajax({
url: g_LumisRoot_href + "lumis/service/privacyterm/api/rest/8A9480677C7FF922017C800676BB101E/acceptAllPurposesOfPrivacyTerm",
type: 'POST'
})
.done(function () {
$(thisModal).dialog("close");
privacyTermMessage.hide();
})
.fail(function () {
alert("Algum erro ocorreu durante a operação. Por favor, tente novamente em alguns instantes.");
});
}
},
create:function () {
// add the lum-button class to the buttons
$(this).closest(".ui-dialog")
.find(".ui-dialog-buttonset > .ui-button")
.addClass("lum-button");
// add the primary button class to the accept
$(this).closest(".ui-dialog")
.find(".ui-dialog-buttonset > .ui-button:first-child")
.addClass("lum-button-primary btn btn-primary mr-4");
},
close: function () {
privacyTermMessage.show();
},
open: function() {
$(".ui-widget-overlay").addClass("portaltermsprivacy-term--modal-overlay");
}
});
// create the open modal onClick event
$("#portaltermsopenPrivacyTerm").click(function ()
{
// open the modal
modal.dialog("open");
// create the click outside close
$(".ui-widget-overlay").click(function()
{
modal.dialog("close");
});
privacyTermMessage.hide();
return false;
});
// create the messages on click events
$("#portaltermsquickAcceptTerm").click(function ()
{
$.ajax({
url: g_LumisRoot_href + "lumis/service/privacyterm/api/rest/8A9480677C7FF922017C800676BB101E/acceptAllPurposesOfPrivacyTerm",
type: 'POST'
})
.done(function () {
privacyTermMessage.hide();
})
.fail(function () {
alert("Algum erro ocorreu durante a operação. Por favor, tente novamente em alguns instantes.");
});
return false;
});
$("#portaltermsclosePrivacyTerm").click(function ()
{
privacyTermMessage.hide();
return false;
});
}
})(getUserAcceptanceJqueryportalterms);
/*]]>*/</script>]]>
|
653
| <![CDATA[<script type="text/javascript">
mpmg_hierarchicalContentURL.push('/portal/menu/servicos/menu.json');
</script>]]>
|
665
| <![CDATA[<script>
new window.VLibras.Widget('https://vlibras.gov.br/app');
</script>]]>
|