387
| <![CDATA[<script>
setTimeout(function(){
jQuery.ajaxSetup({
cache: true
});
jQuery.getScript( "https://corenpr.gov.br/portal/media/com_fabrik/js/lib/require/require.js", function() {
define('jquery', [], function() {
return jQuery;
});
define('moment', [], function() {
return moment;
});
requirejs.config(
{"baseUrl":"https:\/\/corenpr.gov.br\/portal\/","paths":{"fab":"media\/com_fabrik\/js\/dist","lib":"media\/com_fabrik\/js\/lib","element":"plugins\/fabrik_element","list":"plugins\/fabrik_list","form":"plugins\/fabrik_form","cron":"plugins\/fabrik_cron","viz":"plugins\/fabrik_visualization","admin":"administrator\/components\/com_fabrik\/views","adminfields":"administrator\/components\/com_fabrik\/models\/fields","jQueryUI":"media\/com_fabrik\/js\/lib\/jquery-ui\/jquery-ui","chosen":"media\/jui\/js\/chosen.jquery.min","ajaxChosen":"media\/jui\/js\/ajax-chosen.min","punycode":"media\/system\/js\/punycode"},"shim":{"fab\/fabrik":{"deps":["fab\/utils","jquery","fab\/mootools-ext","lib\/Event.mock"]},"fab\/autocomplete-bootstrap":{"deps":["fab\/fabrik"]},"jQueryUI":{"deps":["jquery"]},"fabrik\/form":{"deps":["fab\/element","lib\/form_placeholder\/Form.Placeholder"]},"element\/field\/field-min":{"deps":[]},"element\/fileupload\/fileupload-min":{"deps":[]},"element\/tags\/tags-min":{"deps":["media\/jui\/js\/ajax-chosen"]}},"waitSeconds":30}
);
requirejs(['fab/chosen-loader', 'fab/fabrik', 'fab/tipsBootStrapMock'], function (Chosen, Fabrik, FloatingTips) {
var chosenInterval = window.setInterval(function () {
if (Fabrik.buildChosen) {
window.clearInterval(chosenInterval);
Fabrik.buildChosen('select.advancedSelect', []);
}
}, 100);
Fabrik.liveSite = 'https://corenpr.gov.br/portal/';
Fabrik.package = 'fabrik';
Fabrik.debug = false;
Fabrik.jLayouts = {"modal-close":"<a href=\"#\" class=\"closeFabWin\" data-role=\"close\">\n\t<span class=\"icon-cancel icon-remove-sign\"><\/span>\n<\/a>","icon-expand":"<i data-isicon=\"true\" class=\"icon-expand\" ><\/i>","icon-full-screen":"<i data-isicon=\"true\" class=\"icon-out-2 icon-fullscreen\" ><\/i>"};
Fabrik.bootstrapped = true;
Fabrik.tips = new FloatingTips('.fabrikTip', {"tipfx":"Fx.Transitions.linear.easeIn","duration":"500","distance":50,"fadein":false});
Fabrik.addEvent('fabrik.list.updaterows', function () {
// Reattach new tips after list redraw
Fabrik.tips.attach('.fabrikTip');
});
Fabrik.addEvent('fabrik.plugin.inlineedit.editing', function () {
Fabrik.tips.hideAll();
});
Fabrik.addEvent('fabrik.list.inlineedit.setData', function () {
Fabrik.tips.attach('.fabrikTip');
});
Fabrik.addEvent('fabrik.form.loaded', function () {
Fabrik.tips.attach('.fabrikTip');
});
Fabrik.addEvent('fabrik.list.loaded', function () {
Fabrik.tips.attach('.fabrikTip');
});
});
requirejs(['https://corenpr.gov.br/portal/components/com_fabrik/libs/slimbox2/js/slimbox2.js'], function () {
});
window.addEvent('fabrik.loaded', function() {
$$('a.fabrikWin').each(function(el, i) {
el.addEvent('click', function(e) {
var opts = {"id":"fabwin","title":"Pesquisa avan\u00e7ada","loadMethod":"xhr","minimizable":false,"collapsible":true,"width":500,"height":150};
e.stop();
opts2 = JSON.decode(el.get('rel'));
opts = Object.merge(opts, opts2 || {});
opts.contentURL = el.href;
if (opts.id === 'fabwin') {
opts.id += i;
}
Fabrik.getWindow(opts);
});
});
});
requirejs(['lib/mcl/CANVAS', 'lib/mcl/CanvasItem', 'lib/mcl/Cmorph', 'lib/mcl/Layer', 'lib/mcl/LayerHash', 'lib/mcl/Thread'], function () {
});
requirejs(['fab/tipsBootStrapMock', 'fab/form', 'fab/fabrik', 'fab/window', 'lib/form_placeholder/Form.Placeholder', 'fab/form-submit', 'fab/element', 'element/internalid/internalid-min', 'fab/elementlist', 'element/date/date-min', 'element/dropdown/dropdown-min', 'element/field/field-min', 'element/fileupload/fileupload-min', 'element/tags/tags-min', 'element/yesno/yesno-min'], function (FloatingTips, FbForm, Fabrik, Window, Placeholder, FormSubmit, Element, ElementInternalid, ElementList, ElementDate, ElementDropdown, ElementField, ElementFileupload, ElementTags, ElementYesno) {
var details_13_67 = new FbForm(13, {"admin":false,"ajax":false,"ajaxValidation":false,"lang":false,"toggleSubmit":false,"showLoader":false,"primaryKey":"comit_permanente_de_controle_interno___id","error":"Algumas partes do seu formul\u00e1rio n\u00e3o foram corretamente preenchidos!","pages":{"0":[14]},"plugins":[],"multipage_save":0,"editable":false,"print":false,"start_page":0,"inlineMessage":false,"rowid":"67","listid":13,"images":{"alert":"icon-warning ","action_check":"https:\/\/corenpr.gov.br\/portal\/media\/com_fabrik\/images\/action_check.png","ajax_loader":"<i data-isicon=\"true\" class=\"icon-spinner icon-spin\" ><\/i>"},"fabrik_window_id":"","submitOnEnter":false,"hiddenGroup":{"14":false},"maxRepeat":{"14":0},"minRepeat":{"14":1},"showMaxRepeats":{"14":false},"minMaxErrMsg":{"14":""},"numRepeatEls":{"14":""},"join_group_ids":[],"group_repeats":[],"group_joins_ids":[]});
Fabrik.addBlock('details_13_67', details_13_67);
details_13_67.addElements(
{"14":[["FbInternalId","comit_permanente_de_controle_interno___id_ro",{"repeatCounter":0,"editable":false,"value":"67","label":"id","defaultVal":"","inRepeatGroup":false,"fullName":"comit_permanente_de_controle_interno___id","watchElements":[],"canRepeat":false,"isGroupJoin":false,"mustValidate":false,"validations":false,"joinid":0}],["FbDateTime","comit_permanente_de_controle_interno___datetme_ro",{"repeatCounter":0,"editable":false,"value":"0000-00-00 00:00:00","label":"datetime","defaultVal":"","inRepeatGroup":false,"fullName":"comit_permanente_de_controle_interno___datetme","watchElements":[],"canRepeat":false,"isGroupJoin":false,"mustValidate":false,"validations":false,"joinid":0,"hidden":true,"showtime":false,"timelabel":"time_txss","typing":true,"timedisplay":1,"dateTimeFormat":"","allowedDates":[],"watchElement":"","id":"123","locale":"pt-BR","calendarSetup":{"inputField":"comit_permanente_de_controle_interno___datetme_ro","button":"comit_permanente_de_controle_interno___datetme_ro_cal_img","align":"Tl","singleClick":true,"firstDay":0,"ifFormat":"%Y-%m-%d","timeFormat":24,"dateAllowFunc":null},"advanced":false}],["FbDropdown","comit_permanente_de_controle_interno___comite_per_ro",{"repeatCounter":0,"editable":false,"value":["2019"],"label":"PER\u00cdODO","defaultVal":["2016"],"inRepeatGroup":false,"fullName":"comit_permanente_de_controle_interno___comite_per","watchElements":[],"canRepeat":false,"isGroupJoin":false,"mustValidate":false,"validations":false,"joinid":0,"allowadd":false,"data":{"2016":"2016","2017":"2017","2018":"2018","2019":"2019","2020":"2020"},"multiple":false,"advanced":false}],["FbDropdown","comit_permanente_de_controle_interno___tipo_com_ro",{"repeatCounter":0,"editable":false,"value":["Atas das Reuni\u00f5es"],"label":"TIPO","defaultVal":[],"inRepeatGroup":false,"fullName":"comit_permanente_de_controle_interno___tipo_com","watchElements":[],"canRepeat":false,"isGroupJoin":false,"mustValidate":false,"validations":false,"joinid":0,"allowadd":false,"data":{"Atas das Reuni\u00f5es":"Atas das Reuni\u00f5es","Pareceres":"Pareceres","Portarias":"Portarias"},"multiple":false,"advanced":false}],["FbField","comit_permanente_de_controle_interno___comite_titulo_ro",{"repeatCounter":0,"editable":false,"value":"61\u00aa Reuni\u00e3o","label":"T\u00cdTULO","defaultVal":"","inRepeatGroup":false,"fullName":"comit_permanente_de_controle_interno___comite_titulo","watchElements":[],"canRepeat":false,"isGroupJoin":false,"mustValidate":false,"validations":false,"joinid":0,"use_input_mask":false,"input_mask":"","geocomplete":false,"mapKey":false}],["FbFileUpload","comit_permanente_de_controle_interno___comite_anexo_ro",{"repeatCounter":0,"editable":false,"value":"\/images\/stories\/Ata_n61_2019.pdf","label":"ANEXO","defaultVal":"","inRepeatGroup":false,"fullName":"comit_permanente_de_controle_interno___comite_anexo","watchElements":[],"canRepeat":false,"isGroupJoin":false,"mustValidate":false,"validations":false,"joinid":0,"id":"126","elid":"126","defaultImage":"","folderSelect":"0","quality":0.90000000000000002220446049250313080847263336181640625,"dir":"\/home\/corenprgov\/public_html\/portal\/\/images\/stories\/","ajax_upload":false,"ajax_runtime":"html5,html4","ajax_silverlight_path":"https:\/\/corenpr.gov.br\/portal\/plugins\/fabrik_element\/fileupload\/lib\/plupload\/js\/plupload.flash.swf","ajax_flash_path":"https:\/\/corenpr.gov.br\/portal\/plugins\/fabrik_element\/fileupload\/lib\/plupload\/js\/plupload.flash.swf","max_file_size":65536,"device_capture":0,"ajax_chunk_size":0,"filters":[{"title":"Allowed files","extensions":"bmp,csv,doc,gif,ico,jpg,jpeg,odg,odp,ods,odt,pdf,png,ppt,swf,txt,xcf,xls,BMP,CSV,DOC,GIF,ICO,JPG,JPEG,ODG,ODP,ODS,ODT,PDF,PNG,PPT,SWF,TXT,XCF,XLS"}],"crop":false,"canvasSupport":true,"modalId":"fileupload-modal-comit_permanente_de_controle_interno___comite_anexo_ro-widget-mocha","elementName":"comit_permanente_de_controle_interno___comite_anexo","cropwidth":200,"cropheight":100,"ajax_max":4,"dragdrop":true,"previewButton":"<i data-isicon=\"true\" class=\"icon-picture \" ><\/i>","resizeButton":"<i data-isicon=\"true\" class=\"icon-expand-2 \" ><\/i>","files":{"0":{"id":"alreadyuploaded_126_\/images\/stories\/Ata_n61_2019.pdf","name":"Ata_n61_2019.pdf","path":"\/images\/stories\/Ata_n61_2019.pdf","size":106677,"type":"file","url":"https:\/\/corenpr.gov.br\/portal\/images\/stories\/Ata_n61_2019.pdf","recordid":"\/images\/stories\/Ata_n61_2019.pdf","params":null}},"winWidth":400,"winHeight":400,"elementShortName":"comite_anexo","listName":"comit_permanente_de_controle_interno","useWIP":false,"page_url":"https:\/\/corenpr.gov.br\/portal\/","ajaxToken":"0da61b40d763629470bfffaa17a6984c","isAdmin":false}],["FbTags","comit_permanente_de_controle_interno___com_pc_ro",{"repeatCounter":0,"editable":false,"value":[],"label":"PALAVRAS CHAVE","defaultVal":"","inRepeatGroup":false,"fullName":"comit_permanente_de_controle_interno___com_pc","watchElements":[],"canRepeat":false,"isGroupJoin":false,"mustValidate":false,"validations":false,"joinid":25,"rowid":"67","id":"127","listid":"13"}]]}
);
new Form.Placeholder('.fabrikForm input');
function submit_form() {
return false;
}
function submitbutton(button) {
if (button=="cancel") {
document.location = '/portal/component/fabrik/viewTable?cid=13';
}
if (button == "cancelShowForm") {
return false;
}
}
});
});
}, 600);
</script>]]>
|