@php
use Filament\Support\Enums\VerticalAlignment;
$actions = $getChildSchema()->getComponents();
$alignment = $getAlignment();
$isFullWidth = $isFullWidth();
$isSticky = $isSticky();
$verticalAlignment = $getVerticalAlignment();
if (!$verticalAlignment instanceof VerticalAlignment) {
$verticalAlignment = filled($verticalAlignment)
? VerticalAlignment::tryFrom($verticalAlignment) ?? $verticalAlignment
: null;
}
@endphp
merge(
[
'id' => $getId(),
],
escape: false,
)->merge($getExtraAttributes(), escape: false)->class([
'fi-sc-actions',
$verticalAlignment instanceof VerticalAlignment
? "fi-vertical-align-{$verticalAlignment->value}"
: $verticalAlignment,
]) }}>
@if (filled($label = $getLabel()))
{{ $getChildSchema($schemaComponent::BEFORE_LABEL_SCHEMA_KEY) }}
{{ $label }}
{{ $getChildSchema($schemaComponent::AFTER_LABEL_SCHEMA_KEY) }}
@endif
@if ($aboveContentContainer = $getChildSchema($schemaComponent::ABOVE_CONTENT_SCHEMA_KEY)?->toHtmlString())
{{ $aboveContentContainer }}
@endif
@if ($belowContentContainer = $getChildSchema($schemaComponent::BELOW_CONTENT_SCHEMA_KEY)?->toHtmlString())
{{ $belowContentContainer }}
@endif