Documentos Pacientes, Template Documentos Pacientes Saas, Documentos prontuários, Documentos Externos, Visualização Externa, Permissão de Visualização, Render Otimização

This commit is contained in:
Leonardo
2026-03-30 14:08:19 -03:00
parent 0658e2e9bf
commit d088a89fb7
112 changed files with 115867 additions and 5266 deletions
+3 -1
View File
@@ -114,12 +114,14 @@ function onPanelMouseEnter() {
}
function onPanelMouseLeave() {
if (layoutConfig.railOpenMode !== 'hover') return;
if (popoverOpen.value) return; // popover flutuante aberto — não fechar
scheduleRailHoverClose(200);
}
// ── QuickCreate (Pacientes) ───────────────────────────────
const createPopover = ref(null);
const quickDialog = ref(false);
const popoverOpen = ref(false);
function openQuickCreate(event, item) {
createPopover.value?.toggle(event);
@@ -482,7 +484,7 @@ async function goToResult(r) {
</nav>
<!-- PatientCreatePopover (shared) -->
<PatientCreatePopover ref="createPopover" @quick-create="onQuickCreate" />
<PatientCreatePopover ref="createPopover" @quick-create="onQuickCreate" @show="popoverOpen = true" @hide="popoverOpen = false" />
<!-- Cadastro Rápido Dialog -->
<ComponentCadastroRapido