34 lines
1002 B
PHP
34 lines
1002 B
PHP
@php
|
|
if ((! isset($columnSpan)) || (! is_array($columnSpan))) {
|
|
$columnSpan = [
|
|
'default' => $columnSpan ?? null,
|
|
];
|
|
}
|
|
|
|
if ((! isset($columnStart)) || (! is_array($columnStart))) {
|
|
$columnStart = [
|
|
'default' => $columnStart ?? null,
|
|
];
|
|
}
|
|
|
|
$height ??= '8rem';
|
|
@endphp
|
|
|
|
<x-filament::grid.column
|
|
:default="$columnSpan['default'] ?? 1"
|
|
:sm="$columnSpan['sm'] ?? null"
|
|
:md="$columnSpan['md'] ?? null"
|
|
:lg="$columnSpan['lg'] ?? null"
|
|
:xl="$columnSpan['xl'] ?? null"
|
|
:twoXl="$columnSpan['2xl'] ?? null"
|
|
:defaultStart="$columnStart['default'] ?? null"
|
|
:smStart="$columnStart['sm'] ?? null"
|
|
:mdStart="$columnStart['md'] ?? null"
|
|
:lgStart="$columnStart['lg'] ?? null"
|
|
:xlStart="$columnStart['xl'] ?? null"
|
|
:twoXlStart="$columnStart['2xl'] ?? null"
|
|
class="fi-loading-section"
|
|
>
|
|
<x-filament::section class="animate-pulse" style="height: {{ $height }}" />
|
|
</x-filament::grid.column>
|