@php use App\Support\Badges\BadgeCatalog; use App\Support\Badges\BadgeDomain; use App\Support\Diff\ValueStringifier; use Illuminate\Support\Str; $badge = BadgeCatalog::spec(BadgeDomain::DiffRowStatus, $row->status); $stringifier = app(ValueStringifier::class); $rowId = 'diff-row-'.Str::slug($row->key.'-'.$row->status->value); $padding = $compact ? 'p-3' : 'p-4'; $bodyClasses = $dimUnchanged ? 'text-gray-600 dark:text-gray-400' : 'text-gray-900 dark:text-gray-100'; @endphp

{{ $row->label }}

{{ $badge->label }}

No material change

@if ($row->isListLike) @include('filament.partials.diff.inline-list', [ 'row' => $row, 'compact' => $compact, 'dimUnchanged' => $dimUnchanged, ]) @else
Value
{{ $stringifier->stringify($row->newValue ?? $row->oldValue) }}
@endif