@php $debounce = $getLiveDebounce(); $isAddable = $isAddable(); $isDeletable = $isDeletable(); $isDisabled = $isDisabled(); $isReorderable = $isReorderable(); $statePath = $getStatePath(); @endphp
merge($getExtraAttributes(), escape: false) ->class([ 'fi-fo-key-value rounded-lg shadow-sm ring-1 transition duration-75 focus-within:ring-2', 'bg-white dark:bg-white/5' => ! $isDisabled, 'bg-gray-50 dark:bg-transparent' => $isDisabled, 'ring-gray-950/10 focus-within:ring-primary-600 dark:focus-within:ring-primary-500' => ! $errors->has($statePath), 'dark:ring-white/20' => (! $errors->has($statePath)) && (! $isDisabled), 'dark:ring-white/10' => (! $errors->has($statePath)) && $isDisabled, 'ring-danger-600 focus-within:ring-danger-600 dark:ring-danger-500 dark:focus-within:ring-danger-500' => $errors->has($statePath), ]) }} >
merge($getExtraAlpineAttributes(), escape: false) ->class(['divide-y divide-gray-200 dark:divide-white/10']) }} > @if ($isReorderable && (! $isDisabled)) @endif @if ($isDeletable && (! $isDisabled)) @endif
{{ $getKeyLabel() }} {{ $getValueLabel() }}
@if ($isAddable && (! $isDisabled))
{{ $getAction('add') }}
@endif