import React from 'react' import { activeClubMemberships } from '../../utils/activeClub' import MultiSelectCombo from '../MultiSelectCombo' /** * Massenänderung für ausgewählte Übungen in der Liste. */ export default function ExerciseListBulkModal({ open, onClose, onSubmit, bulkSubmitting, selectedCount, bulkMaxIds, user, isPlatformAdmin, statusOptions, bulkVisibilityOptions, focusOptions, styleOptions, trainingTypeOptions, targetGroupOptions, bulkVisibility, setBulkVisibility, bulkStatus, setBulkStatus, bulkClubSelect, setBulkClubSelect, bulkClubManual, setBulkClubManual, bulkPatchFocusAreas, setBulkPatchFocusAreas, bulkFocusAreaIds, setBulkFocusAreaIds, bulkPatchStyleDirections, setBulkPatchStyleDirections, bulkStyleDirectionIds, setBulkStyleDirectionIds, bulkPatchTrainingTypes, setBulkPatchTrainingTypes, bulkTrainingTypeIds, setBulkTrainingTypeIds, bulkPatchTargetGroups, setBulkPatchTargetGroups, bulkTargetGroupIds, setBulkTargetGroupIds, }) { if (!open) return null return (
{ if (e.target === e.currentTarget) onClose() }} >
e.stopPropagation()} >

Massenänderung

Es werden {selectedCount} Übung(en) aus der aktuellen Auswahl bearbeitet. Pro Durchlauf höchstens {bulkMaxIds}. Ohne Berechtigung bleiben Einzelübungen unverändert (siehe Hinweis nach dem Speichern).

Unter „Zuordnung ersetzen“: die gewählte Liste ersetzt die bisherige Zuordnung bei allen betroffenen Übungen vollständig (leere Auswahl = alle Zuordnungen dieser Kategorie entfernen). Die erste Auswahl gilt als Primärzuordnung.

{bulkVisibility === 'club' ? (
{isPlatformAdmin ? ( <> setBulkClubManual(e.target.value)} /> ) : null}
) : null}

Zuordnung (optional)

{bulkPatchFocusAreas ? ( ) : null}
{bulkPatchStyleDirections ? ( ) : null}
{bulkPatchTrainingTypes ? ( ) : null}
{bulkPatchTargetGroups ? ( ) : null}
) }