Calendar item context flyout implementation

This commit is contained in:
Burak Kaan Köse
2026-04-08 23:46:55 +02:00
parent 3dc4ac03ec
commit d6049bbd88
14 changed files with 602 additions and 12 deletions
@@ -0,0 +1,9 @@
using Wino.Core.Domain.Enums;
namespace Wino.Core.Domain.Models.Calendar;
public sealed record CalendarContextMenuAction(
CalendarContextMenuActionType ActionType,
CalendarEventTargetType? TargetType = null,
CalendarItemShowAs? ShowAs = null,
CalendarItemStatus? ResponseStatus = null);
@@ -0,0 +1,14 @@
using System.Collections.Generic;
namespace Wino.Core.Domain.Models.Calendar;
public sealed record CalendarContextMenuItem(
CalendarContextMenuAction Action,
bool IsPrimary = false,
bool IsEnabled = true,
IReadOnlyList<CalendarContextMenuItem> ChildItems = null)
{
public IReadOnlyList<CalendarContextMenuItem> Children { get; init; } = ChildItems ?? [];
public bool HasChildren => Children.Count > 0;
}