refactor: replace Date with SvelteDate for improved date handling in absence components

- Updated date handling in CalendarioAusencias and WizardSolicitacaoAusencia components to use SvelteDate for better reactivity and consistency.
- Refactored various date-related functions to ensure compatibility with the new SvelteDate type.
- Enhanced UI elements to maintain functionality while improving code clarity and maintainability.
This commit is contained in:
2025-11-19 11:47:17 -03:00
parent 263d561301
commit 3cbe02fd1e
3 changed files with 67 additions and 73 deletions

View File

@@ -21,6 +21,8 @@ import type * as auth_utils from "../auth/utils.js";
import type * as chamados from "../chamados.js";
import type * as chat from "../chat.js";
import type * as configuracaoEmail from "../configuracaoEmail.js";
import type * as configuracaoPonto from "../configuracaoPonto.js";
import type * as configuracaoRelogio from "../configuracaoRelogio.js";
import type * as contratos from "../contratos.js";
import type * as crons from "../crons.js";
import type * as cursos from "../cursos.js";
@@ -73,9 +75,9 @@ declare const fullApi: ApiFromModules<{
chamados: typeof chamados;
chat: typeof chat;
configuracaoEmail: typeof configuracaoEmail;
contratos: typeof contratos;
configuracaoPonto: typeof configuracaoPonto;
configuracaoRelogio: typeof configuracaoRelogio;
contratos: typeof contratos;
crons: typeof crons;
cursos: typeof cursos;
dashboard: typeof dashboard;