From d210ed5b66535274b3e2bcae2d59619cb6b3008e Mon Sep 17 00:00:00 2001 From: Pedro Soares <54042592+seipro@users.noreply.github.com> Date: Sun, 14 May 2023 15:29:22 -0300 Subject: [PATCH] =?UTF-8?q?Corre=C3=A7=C3=B5es=20e=20melhorias?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 + dist/css/sei-pro.css | 60 + dist/css/sei-slim.css | 42 + dist/css/tableselection.css | 36 + dist/html/options.html | 32 +- dist/html/options.js | 3 + dist/icons/antt/icon-128.png | Bin 0 -> 17264 bytes dist/icons/antt/icon-16.png | Bin 0 -> 908 bytes dist/icons/antt/icon-256.png | Bin 0 -> 44804 bytes dist/icons/antt/icon-32.png | Bin 0 -> 2327 bytes dist/icons/antt/icon-48.png | Bin 0 -> 4861 bytes dist/icons/{ => editor}/addestilotabela.png | Bin dist/icons/{ => editor}/blockedition.png | Bin dist/icons/{ => editor}/copiarformatacao.png | Bin dist/icons/{ => editor}/duplicartabela.png | Bin dist/icons/{ => editor}/editarimagem.png | Bin dist/icons/{ => editor}/ferramentasia.png | Bin dist/icons/{ => editor}/formatarimagem.png | Bin dist/icons/editor/speech.gif | Bin 0 -> 418 bytes dist/icons/editor/webspeech-enable.gif | Bin 0 -> 1764 bytes dist/icons/editor/webspeech-settings.png | Bin 0 -> 865 bytes dist/icons/editor/webspeech.png | Bin 0 -> 1133 bytes dist/icons/lab/icon-32.png | Bin 0 -> 841 bytes dist/js/init.js | 2 +- dist/js/init_all.js | 4 +- dist/js/lib/_chosen.jquery.min.js | 44 + dist/js/lib/chosen.jquery.min.js | 4 +- dist/js/lib/jquery-visible.min.js | 13 + dist/js/sei-functions-pro.js | 268 +++- dist/js/sei-pro-all.js | 18 +- dist/js/sei-pro-arvore.js | 43 +- dist/js/sei-pro-atividades.js | 1347 +++++++++++++++--- dist/js/sei-pro-editor.js | 1020 ++++++++++--- dist/js/sei-pro-visualizacao.js | 3 + dist/js/sei-pro.js | 41 +- dist/manifest.json | 24 +- 36 files changed, 2522 insertions(+), 484 deletions(-) create mode 100644 dist/css/tableselection.css create mode 100644 dist/icons/antt/icon-128.png create mode 100644 dist/icons/antt/icon-16.png create mode 100644 dist/icons/antt/icon-256.png create mode 100644 dist/icons/antt/icon-32.png create mode 100644 dist/icons/antt/icon-48.png rename dist/icons/{ => editor}/addestilotabela.png (100%) rename dist/icons/{ => editor}/blockedition.png (100%) rename dist/icons/{ => editor}/copiarformatacao.png (100%) rename dist/icons/{ => editor}/duplicartabela.png (100%) rename dist/icons/{ => editor}/editarimagem.png (100%) rename dist/icons/{ => editor}/ferramentasia.png (100%) rename dist/icons/{ => editor}/formatarimagem.png (100%) create mode 100644 dist/icons/editor/speech.gif create mode 100644 dist/icons/editor/webspeech-enable.gif create mode 100644 dist/icons/editor/webspeech-settings.png create mode 100644 dist/icons/editor/webspeech.png create mode 100644 dist/icons/lab/icon-32.png create mode 100755 dist/js/lib/_chosen.jquery.min.js mode change 100755 => 100644 dist/js/lib/chosen.jquery.min.js create mode 100644 dist/js/lib/jquery-visible.min.js diff --git a/.gitignore b/.gitignore index 66317d6..7cb0589 100644 --- a/.gitignore +++ b/.gitignore @@ -40,3 +40,5 @@ dist/icons/petrvs/petrvs.png dist/manifest_antaq_v2.json dist/manifest_seipro_v2.json dist/manifest_v2.json +dist/manifest_antt.json +dist/manifest_antt_v2.json diff --git a/dist/css/sei-pro.css b/dist/css/sei-pro.css index cfa0c8b..7badef7 100644 --- a/dist/css/sei-pro.css +++ b/dist/css/sei-pro.css @@ -877,6 +877,21 @@ div.selectProgressoBar { background: #4285F4 !important; border: 1px solid #365ea0 !important; } +div.progressPrescricao { + height: 8px !important; + border: none !important; + margin: 10px 0; + width: 95%; + background: #ccc; +} +.progressPrescricao .ui-progressbar-value { + background: #9ece4e !important; + border: 1px solid #78a135 !important; +} +.progressPrescricao.urgente .ui-progressbar-value { + background: #e46e65 !important; + border: 1px solid #b44c44 !important; +} div.atividadesProgressoBar { height: 4px !important; border: none !important; @@ -1817,6 +1832,9 @@ table.moreInfoBox td:first-child, padding-right: 10px; color: #747474; } +#processosKanban .kanban-description span.sub[data-type="especificacao"] { + font-size: 11pt; +} .kanban-container .kanban-board .proc_tags .kanban-title-board::before { content: "\f02b"; } @@ -2484,6 +2502,9 @@ a.newLink.filterTableProcessos.newLink_active i { #atividadesPro.minView .modulesActions:has(.iconLabel) { margin-top: 20px; } +#atividadesPro.minView .panelInfoHome:not(.panelInfoHomeAtividade) { + margin-top: 50px; +} #divInfraAreaTelaD { position: relative; } @@ -3741,4 +3762,43 @@ input[type="currency"]{ } .cke_dialog_ui_labeled_content:has(select.cke_dialog_ui_input_select) { min-height: 30px; +} +i.fas.fa-spinner.fa-spin.fa-pulse { + height: 13px; + padding: 0 !important; +} +.tabelaControle a[href*="acao=procedimento_trabalhar"] { + white-space: nowrap; +} +.dialogBoxDiv .ui-accordion .ui-accordion-header { + text-indent: 20px; +} +h3.ui-accordion-header span.counter { + width: 18px; + border-radius: 50%; + text-indent: initial; + height: 18px; + background-color: #e4e9e9; + float: right; + color: #666; + font-size: 80%; + text-align: center; +} +div[id*="boxConfiguracoes"] .tag-input { + height: 22px !important; +} +#configEntidade_acoes_dados_externos td, +#configEntidade_acoes_dados_externos tr { + height: auto; + margin: 0 !important; + padding: 0 !important; +} +.tableOptionConfig .editCellSelect.inEdit .chosen-container { + width: calc(100% - 30px) !important; +} +#cache_demandas_time_chosen { + width: 40% !important; +} +.fa-spinner:before { + content: "\f110" !important; } \ No newline at end of file diff --git a/dist/css/sei-slim.css b/dist/css/sei-slim.css index 9ece5a5..4090897 100644 --- a/dist/css/sei-slim.css +++ b/dist/css/sei-slim.css @@ -1694,6 +1694,7 @@ a[href*="andamento_marcador_gerenciar"][data-color], .seiSlim a.botaoSEI[onclick*="saveAtividade("], .seiSlim a.botaoSEI[onclick*="selectAtividadeBox("], .seiSlim a.botaoSEI[onclick*="addControlePrazo("], +.seiSlim a.botaoSEI[onclick*="getProcessoNaoLido("], .seiSlim a.botaoSEI[onclick*="dialogChangeTypeProc("], .seiSlim a.botaoSEI[onclick*="initUploadFilesInProcess("], .seiSlim a.botaoSEI[onclick*="checkDadosAcompEspecial("], @@ -1702,6 +1703,7 @@ a[href*="andamento_marcador_gerenciar"][data-color], .seiSlim a.botaoSEI[onclick*="getDosimetria("], .seiSlim a.botaoSEI[onclick*="dialogRelatoriosSFIS("], .seiSlim a.botaoSEI[onclick*="getDocumentosActions("], +.seiSlim a.botaoSEI[onclick*="getCtrPrescricao("], .seiSlim a[id*="anchorImg"][data-img], .seiSlim span.infraImgPro[data-img], .seiSlim a[href*="javascript:alert('Assinado por:"], @@ -1754,6 +1756,8 @@ a[href*="andamento_marcador_gerenciar"][data-color], .seiSlim a.botaoSEI[onclick*="selectAtividadeBox("] img:hover, .seiSlim a.botaoSEI[onclick*="addControlePrazo("] img, .seiSlim a.botaoSEI[onclick*="addControlePrazo("] img:hover, +.seiSlim a.botaoSEI[onclick*="getProcessoNaoLido("] img, +.seiSlim a.botaoSEI[onclick*="getProcessoNaoLido("] img:hover, .seiSlim a.botaoSEI[onclick*="dialogChangeTypeProc("] img, .seiSlim a.botaoSEI[onclick*="dialogChangeTypeProc("] img:hover, .seiSlim a.botaoSEI[onclick*="initUploadFilesInProcess("] img, @@ -1770,6 +1774,8 @@ a[href*="andamento_marcador_gerenciar"][data-color], .seiSlim a.botaoSEI[onclick*="dialogRelatoriosSFIS("] img:hover, .seiSlim a.botaoSEI[onclick*="getDocumentosActions("] img, .seiSlim a.botaoSEI[onclick*="getDocumentosActions("] img:hover, +.seiSlim a.botaoSEI[onclick*="getCtrPrescricao("] img, +.seiSlim a.botaoSEI[onclick*="getCtrPrescricao("] img:hover, .seiSlim a.botaoSEI[href*="?acao=procedimento_atribuicao_cadastrar"] img, .seiSlim a.botaoSEI[href*="?acao=procedimento_atribuicao_cadastrar"] img:hover, .seiSlim a.botaoSEI[onclick*="?acao=procedimento_atribuicao_cadastrar"] img, @@ -1987,6 +1993,7 @@ span.tagUserColorPro[data-color] img:hover, .seiSlim a.botaoSEI[onclick*="saveAtividade("]:before, .seiSlim a.botaoSEI[onclick*="selectAtividadeBox("]:before, .seiSlim a.botaoSEI[onclick*="addControlePrazo("]:before, +.seiSlim a.botaoSEI[onclick*="getProcessoNaoLido("]:before, .seiSlim a.botaoSEI[onclick*="dialogChangeTypeProc("]:before, .seiSlim a.botaoSEI[onclick*="initUploadFilesInProcess("]:before, .seiSlim a.botaoSEI[onclick*="checkDadosAcompEspecial("]:before, @@ -1995,6 +2002,7 @@ span.tagUserColorPro[data-color] img:hover, .seiSlim a.botaoSEI[onclick*="getDosimetria("]:before, .seiSlim a.botaoSEI[onclick*="dialogRelatoriosSFIS("]:before, .seiSlim a.botaoSEI[onclick*="getDocumentosActions("]:before, +.seiSlim a.botaoSEI[onclick*="getCtrPrescricao("]:before, .seiSlim a.botaoSEI[href*="?acao=procedimento_credencial_gerenciar"]:before, .seiSlim a.botaoSEI[href*="?acao=credencial_assinatura_gerenciar"]:before, .seiSlim a.botaoSEI[href*="?acao=procedimento_atualizar_andamento"]:before, @@ -2437,6 +2445,11 @@ a[href*="andamento_marcador_gerenciar"][data-color]:before { content: "\f085"; color: #7562d8; } +.seiSlim a.botaoSEI[onclick*="getCtrPrescricao("]:after, +.seiSlim a.botaoSEI[onclick*="getCtrPrescricao("]:before { + content: "\f252"; + color: #7562d8; +} .seiSlim a.botaoSEI[onclick*="getDocCertidao("]:after, .seiSlim a.botaoSEI[onclick*="getDocCertidao("]:before { content: "\f5bf"; @@ -2497,6 +2510,11 @@ a[href*="andamento_marcador_gerenciar"][data-color]:before { content: "\f017"; color: #4285f4; } +.seiSlim a.botaoSEI[onclick*="getProcessoNaoLido("]:after, +.seiSlim a.botaoSEI[onclick*="getProcessoNaoLido("]:before { + content: "\f070"; + color: #4285f4; +} .seiSlim a.botaoSEI[onclick*="initUploadFilesInProcess("]:after, .seiSlim a.botaoSEI[onclick*="initUploadFilesInProcess("]:before { content: "\f574"; @@ -3138,6 +3156,9 @@ td .linhaNumerada:after { .seiSlim.seiSlim_parent.seiSlim_view span.cke_button_icon.cke_button__boxsigilo_icon, .seiSlim.seiSlim_parent.seiSlim_view span.cke_button_icon.cke_button__ctr_review_icon, .seiSlim.seiSlim_parent.seiSlim_view span.cke_button_icon.cke_button__review_icon, +.seiSlim.seiSlim_parent.seiSlim_view span.cke_button_icon.cke_button__ditado_icon, +.seiSlim.seiSlim_parent.seiSlim_view span.cke_button_icon.cke_button__ctr_ditado_icon, +.seiSlim.seiSlim_parent.seiSlim_view span.cke_button_icon.cke_button__newstyle_icon, .seiSlim.seiSlim_parent.seiSlim_view span.cke_button_icon.cke_button__natjus_icon, .seiSlim.seiSlim_parent.seiSlim_view span.cke_button_icon.cke_button__tablestyles_icon, .seiSlim.seiSlim_parent.seiSlim_view span.cke_button_icon.cke_button__quicktable_icon, @@ -3418,6 +3439,21 @@ td .linhaNumerada:after { content: "\f4ff"; color: #4285f4; } +.seiSlim.seiSlim_parent.seiSlim_view span.cke_button_icon.cke_button__ditado_icon:before { + content: "\f3c9"; + color: #ea48cc; +} +.seiSlim.seiSlim_parent.seiSlim_view .cke_button_on span.cke_button_icon.cke_button__ditado_icon:before { + animation: pulser 2s infinite; +} +.seiSlim.seiSlim_parent.seiSlim_view span.cke_button_icon.cke_button__ctr_ditado_icon:before { + content: "\f085"; + color: #ea48cc; +} +.seiSlim.seiSlim_parent.seiSlim_view span.cke_button_icon.cke_button__newstyle_icon:before { + content: "\f53f"; + color: #ea48cc; +} .seiSlim.seiSlim_parent.seiSlim_view span.cke_button_icon.cke_button__natjus_icon:before { content: "\f46b"; color: #34caef; @@ -3860,4 +3896,10 @@ strong.title-reviewtip { } #uploadListPro .dz-preview.dz-file-preview { margin: 10px; +} +.editorTextDisclaimer p { + font-size: 120%; + line-height: 30px; + width: 800px; + white-space: break-spaces; } \ No newline at end of file diff --git a/dist/css/tableselection.css b/dist/css/tableselection.css new file mode 100644 index 0000000..83b24bb --- /dev/null +++ b/dist/css/tableselection.css @@ -0,0 +1,36 @@ +.cke_table-faked-selection-editor *::selection, table[data-cke-table-faked-selection-table] *::selection { + background: transparent; +} + +.cke_table-faked-selection { + background: darkgray !important; + color: black; +} +.cke_table-faked-selection a { + color: black; +} +.cke_editable:focus .cke_table-faked-selection { + /* We have to use !important here, as td might specify it's own background, thus table selection + would not be visible. */ + background: #0076cb !important; + color: white; +} +.cke_editable:focus .cke_table-faked-selection a { + color: white; +} +.cke_table-faked-selection::-moz-selection, .cke_table-faked-selection ::-moz-selection { + background: transparent; +} +.cke_table-faked-selection::selection, .cke_table-faked-selection ::selection { + background: transparent; +} + +/* Change the cursor when selecting cells (#706). + * + * This solution does not work in IE, Edge and Safari due to upstream isues: + * https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/3419602/ + * https://bugs.webkit.org/show_bug.cgi?id=53341 + */ +table[data-cke-table-faked-selection-table] { + cursor: cell; +} \ No newline at end of file diff --git a/dist/html/options.html b/dist/html/options.html index 745e445..6fdb060 100644 --- a/dist/html/options.html +++ b/dist/html/options.html @@ -21,7 +21,7 @@
-Ferramentas de Inteligência Artificial @@ -308,6 +308,34 @@
diff --git a/dist/html/options.js b/dist/html/options.js
index 039437b..6676b60 100755
--- a/dist/html/options.js
+++ b/dist/html/options.js
@@ -389,9 +389,11 @@ function getManifestExtension() {
function setNamePage() {
var manifest = getManifestExtension();
var NAMESPACE_SPRO = manifest.short_name;
+ var ICONSPACE_SPRO = manifest.icons['32'];
var URLPages_SPRO = manifest.homepage_url;
// var title = 'Configura\u00E7\u00F5es Gerais | '+NAMESPACE_SPRO;
$('.title .name-space').text(NAMESPACE_SPRO);
+ $('.icon-space').attr('src','../'+ICONSPACE_SPRO);
$('a.manual').each(function(){
$(this).attr('href', URLPages_SPRO+$(this).attr('href'));
});
@@ -402,6 +404,7 @@ function setNamePage() {
} else if (NAMESPACE_SPRO == 'ANTT Pro') {
$('body').addClass('ANTAQ_Pro');
}
+ console.log(manifest);
}
$('#options-functions').find('input[type="text"]').on("keyup", function () {
if ($(this).val() != '') {
diff --git a/dist/icons/antt/icon-128.png b/dist/icons/antt/icon-128.png
new file mode 100644
index 0000000000000000000000000000000000000000..8453dd7e428df11fcb32c244710f8ed3710667a6
GIT binary patch
literal 17264
zcmV)VK(D`vP)qveT