'use client' import React from 'react' import { useRouter } from 'next/navigation' import { useTOMGenerator } from '@/lib/sdk/tom-generator' import { DataCategoriesStep } from '@/components/sdk/tom-generator/steps/DataCategoriesStep' import { TOM_GENERATOR_STEPS } from '@/lib/sdk/tom-generator/types' /** * Step 2: Data Categories * * Collects data processing information including: * - Data categories (with warnings for special categories) * - Data subjects (with warnings for minors) * - Data volume * - Third country transfers */ export default function DataPage() { const router = useRouter() const { state, goToNextStep, goToPreviousStep } = useTOMGenerator() const currentStepIndex = TOM_GENERATOR_STEPS.findIndex((s) => s.id === 'data-categories') const prevStep = TOM_GENERATOR_STEPS[currentStepIndex - 1] const nextStep = TOM_GENERATOR_STEPS[currentStepIndex + 1] const handleNext = () => { goToNextStep() if (nextStep) { router.push(nextStep.url) } } const handleBack = () => { goToPreviousStep() if (prevStep) { router.push(prevStep.url) } } return (
Welche Arten von personenbezogenen Daten verarbeiten Sie? Die Sensitivitaet der Daten bestimmt die erforderlichen Schutzmassnahmen.