Calendar
Locked view
Pass one item to views when a calendar should keep a single presentation and hide the view switcher.
Schedule data
Create flat events from an external form. Existing events can be edited from the demo; Calendar emits intent while the application updates its own data.
Domain schedule data and selection actions
Calendar renders flat CalendarEvent[], but your application can retain any schedule model. Pass raw records through event-data, then use event-adapter to map them. A cell shows its earliest event and +n; hover changes +n to an overflow icon, and click opens every event for that date. The default row emits edit/delete intent with the original CalendarEvent; this demo resolves it back to the complete source record, so editing or deleting affects the full schedule rather than only one rendered day. Compact markers show a point/range time, a range start (08:00~), or a range end (~18:00); use event-display or event slots for custom output.
API
PROPS
'small' | 'medium' | 'large'[]unknown[]FunctionFunctionNumberStringArray'12' | '24'Number[]FunctionBooleanNumberEVENTS
SLOTS
{ event: ; date: string; display: ; allDay: boolean }{ event: ; date: string; display: ; allDay: boolean; edit: () => void; remove: () => void }{ event: ; date: string; display: }