UNPKG

analytica-frontend-lib

Version:

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

28 lines 1.67 kB
import type { BaseApiClient } from '../index'; import type { ActivityDraftResponse } from './ActivityCreate.types/index'; import type { CreateActivityPayload } from '../types/sendActivity'; /** * CreateActivity page component for creating new activities * This page does not use the standard Layout (header/sidebar) * @returns JSX element representing the create activity page */ declare const CreateActivity: ({ apiClient, institutionId, isDark, onBack, onCreateActivity, onSaveModel, onAddActivityToLesson, enableExamMode, isInPersonExam, basePath, activityCategory, }: { apiClient: BaseApiClient; institutionId: string; isDark: boolean; onBack?: () => void; onCreateActivity?: (activityId: string, activityData: CreateActivityPayload) => void; onSaveModel?: (response: ActivityDraftResponse) => void; onAddActivityToLesson?: (activityDraftId: string) => void; enableExamMode?: boolean; /** Force in-person exam mode: auto-selects PROVA subtype and PRESENCIAL mode */ isInPersonExam?: boolean; /** Base path for URL navigation (default: '/criar-atividade') */ basePath?: string; /** Activity category: 'ATIVIDADE' or 'PROVA' - sent in draft payloads */ activityCategory?: "ATIVIDADE" | "PROVA"; }) => import("react/jsx-runtime").JSX.Element; export { CreateActivity }; export { ActivityType, ActivityStatus } from './ActivityCreate.types/index'; export type { BackendFiltersFormat, ActivityDraftResponse, ActivityData, ActivityPreFiltersInput, ActivityCreatePayload, ActivityCreateResponse, School, SchoolYear, Class, Student, } from './ActivityCreate.types/index'; //# sourceMappingURL=ActivityCreate.d.ts.map