refactor: streamline Svelte components and enhance user feedback

- Refactored multiple Svelte components, including AprovarAusencias, AprovarFerias, and ErrorModal, to improve code clarity and maintainability.
- Updated modal interactions and error handling messages for better user feedback.
- Cleaned up component structures and standardized formatting for consistency across the codebase.
- Enhanced styling and layout adjustments to align with the new design system.
This commit is contained in:
2025-11-10 16:34:15 -03:00
parent ed00739b30
commit c7479222da
41 changed files with 22118 additions and 21337 deletions

View File

@@ -286,7 +286,7 @@
<!-- Botões -->
<div class="card-actions mt-4 justify-end">
<button type="button" class="btn btn-ghost" onclick={resetForm} disabled={saving}>
<button type="button" class="btn" onclick={resetForm} disabled={saving}>
Cancelar
</button>
<button
@@ -404,7 +404,7 @@
<button
title="Editar Alerta"
type="button"
class="btn btn-ghost btn-xs"
class="btn btn-xs"
onclick={() => editAlert(alerta)}
>
<svg
@@ -425,7 +425,7 @@
<button
title="Deletar Alerta"
type="button"
class="btn btn-ghost btn-xs text-error"
class="btn btn-xs text-error"
onclick={() => deleteAlert(alerta._id)}
>
<svg