feat: Add 'atas' (minutes/records) management feature, and implement various improvements across UI, backend logic, and authentication.

This commit is contained in:
2025-12-02 16:37:48 -03:00
parent 05e7f1181d
commit 4bd9e21748
265 changed files with 29156 additions and 26460 deletions

View File

@@ -1,30 +1,30 @@
<script lang="ts">
import jsPDF from 'jspdf';
import autoTable from 'jspdf-autotable';
import { maskCPF, maskCEP, maskPhone } from '$lib/utils/masks';
import { CheckCircle2, Printer, X } from 'lucide-svelte';
import logoGovPE from '$lib/assets/logo_governo_PE.png';
import {
SEXO_OPTIONS,
APOSENTADO_OPTIONS,
ESTADO_CIVIL_OPTIONS,
FATOR_RH_OPTIONS,
GRAU_INSTRUCAO_OPTIONS,
GRUPO_SANGUINEO_OPTIONS,
FATOR_RH_OPTIONS,
APOSENTADO_OPTIONS
SEXO_OPTIONS
} from '$lib/utils/constants';
import logoGovPE from '$lib/assets/logo_governo_PE.png';
import { CheckCircle2, X, Printer } from 'lucide-svelte';
import { maskCEP, maskCPF, maskPhone } from '$lib/utils/masks';
interface Props {
funcionario: any;
onClose: () => void;
}
let { funcionario, onClose }: Props = $props();
const { funcionario, onClose }: Props = $props();
let modalRef: HTMLDialogElement;
let generating = $state(false);
// Seções selecionáveis
let sections = $state({
const sections = $state({
dadosPessoais: true,
filiacao: true,
naturalidade: true,
@@ -113,7 +113,9 @@
// Título da ficha
doc.setFontSize(18);
doc.setFont('helvetica', 'bold');
doc.text('FICHA CADASTRAL DE FUNCIONÁRIO', 105, yPosition, { align: 'center' });
doc.text('FICHA CADASTRAL DE FUNCIONÁRIO', 105, yPosition, {
align: 'center'
});
yPosition += 8;
doc.setFontSize(10);