@props([ 'grid' => [], 'calendars' => [], 'events' => [], 'all_day_events' => [], 'has_all_day' => false, 'class' => '', 'slots' => [], 'timeformat' => '', 'hgroup' => [], 'active' => [], 'density' => '30', 'now' => [], 'daytime_hours' => [], 'timezone' => 'UTC', ])
$has_all_day ?? false]) data-density="{{ $density['step'] }}" data-daytime-hours-enabled="{{ (int) ($daytime_hours['enabled'] ?? 0) }}" style=" --now-row: {{ (int) $now['row'] }}; --now-offset: {{ $now['offset'] ?? 0 }}; --now-col-start: {{ (int) $now['col_start'] }}; --now-col-end: {{ (int) $now['col_end'] }}; --grid-rows: {{ $daytime_hours['rows'] ?? 96 }}; " >
@foreach ($hgroup as $h) @php $dayParams = [ 'view' => 'day', 'date' => $h['date'], 'density' => $density['step'], 'daytime_hours' => (int) ($daytime_hours['enabled'] ?? 0), ]; @endphp
$h['is_today'] ?? false])> {{ $h['dow'] }} {{ $h['day'] }}
@endforeach
@if($has_all_day)
    @foreach ($all_day_events as $event) @endforeach
@endif
    @foreach ($slots as $slot)
  1. @endforeach
    @foreach ($events as $event) @endforeach @if ($now['show']) @endif