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

@@ -1811,7 +1811,7 @@
{:else}
<button
type="button"
class="btn btn-ghost btn-sm gap-2"
class="btn btn-sm gap-2"
onclick={() => selecionarSolicitacao(solicitacao._id)}
>
<svg
@@ -1964,7 +1964,7 @@
{:else}
<button
type="button"
class="btn btn-ghost btn-sm gap-2"
class="btn btn-sm gap-2"
onclick={() => (solicitacaoAusenciaAprovar = ausencia._id)}
>
<svg
@@ -2300,7 +2300,7 @@
</h2>
<button
type="button"
class="btn btn-ghost btn-sm btn-circle"
class="btn btn-sm btn-circle"
onclick={() => (mostrarWizardAusencia = false)}
aria-label="Fechar"
>