Adds drag-drop support for calendar events

Introduces comprehensive drag-drop functionality for calendar events
- Implements DragDropManager to handle event dragging
- Adds new CoreEvents for drag-drop interactions
- Supports smooth interpolation and grid snapping
- Provides flexible event handling with ghost element strategy
This commit is contained in:
Janus C. H. Knudsen 2025-12-10 17:07:03 +01:00
parent a2b95515fd
commit 159b023f60
6 changed files with 334 additions and 2 deletions

View file

@ -30,6 +30,12 @@ export const CoreEvents = {
EVENT_DELETED: 'event:deleted',
EVENT_SELECTED: 'event:selected',
// Event drag-drop
EVENT_DRAG_START: 'event:drag-start',
EVENT_DRAG_MOVE: 'event:drag-move',
EVENT_DRAG_END: 'event:drag-end',
EVENT_DRAG_CANCEL: 'event:drag-cancel',
// System events
ERROR: 'system:error',