@props(['model', 'label', 'min' => null]) {{-- Port of components/premium/date-picker.tsx: a pill field with a calendar icon that opens a month grid. $model is a Livewire property holding yyyy-mm-dd; $min is another property (or null). --}} @php $months = array_map(fn ($n) => __('reports.monthly.months.'.$n), range(1, 12)); $weekdays = array_map(fn ($i) => \Carbon\CarbonImmutable::parse('2026-11-02')->addDays($i)->locale(app()->getLocale())->shortDayName, range(0, 6)); @endphp