UNPKG

analytica-frontend-lib

Version:

Repositório público dos componentes utilizados nas plataformas da Analytica Ensino

19 lines 1.05 kB
import type { ColumnConfig } from '../../TableProvider/index'; import { StudentAnswerStatus, type ExamStudentTableItem } from '../../types/examDetails'; /** * Map status to badge action type */ export declare const getExamStudentStatusBadgeAction: (status: StudentAnswerStatus) => "warning" | "success"; /** * Map status to display text */ export declare const getExamStudentStatusDisplayText: (status: StudentAnswerStatus) => string; /** * Create column configuration for exam students table * Requires callbacks to be passed for action buttons * @param onDownloadAnswerSheet - Callback for downloading answer sheet * @param onViewAnswers - Callback for viewing student answers * @param loadingStudentId - ID of the student whose gabarito is being loaded */ export declare const createExamStudentsTableColumns: (onDownloadAnswerSheet: (studentId: string) => void, onViewAnswers: (studentId: string) => void, loadingStudentId: string | null) => ColumnConfig<ExamStudentTableItem>[]; //# sourceMappingURL=examStudentsTableConfig.d.ts.map