phases one of time logged now with log display
This commit is contained in:
@@ -7,30 +7,28 @@
|
||||
$isSticky = $isSticky();
|
||||
$verticalAlignment = $getVerticalAlignment();
|
||||
|
||||
if (! $verticalAlignment instanceof VerticalAlignment) {
|
||||
$verticalAlignment = filled($verticalAlignment) ? (VerticalAlignment::tryFrom($verticalAlignment) ?? $verticalAlignment) : null;
|
||||
if (!$verticalAlignment instanceof VerticalAlignment) {
|
||||
$verticalAlignment = filled($verticalAlignment)
|
||||
? VerticalAlignment::tryFrom($verticalAlignment) ?? $verticalAlignment
|
||||
: null;
|
||||
}
|
||||
@endphp
|
||||
|
||||
<div
|
||||
@if ($isSticky)
|
||||
x-data="filamentActionsSchemaComponent()"
|
||||
<div @if ($isSticky) x-data="filamentActionsSchemaComponent()"
|
||||
x-intersect:enter.half="disableSticky"
|
||||
x-intersect:leave="enableSticky"
|
||||
x-bind:class="{ 'fi-sticky': isSticky }"
|
||||
@endif
|
||||
{{
|
||||
$attributes
|
||||
->merge([
|
||||
x-bind:class="{ 'fi-sticky': isSticky }" @endif
|
||||
{{ $attributes->merge(
|
||||
[
|
||||
'id' => $getId(),
|
||||
], escape: false)
|
||||
->merge($getExtraAttributes(), escape: false)
|
||||
->class([
|
||||
'fi-sc-actions',
|
||||
($verticalAlignment instanceof VerticalAlignment) ? "fi-vertical-align-{$verticalAlignment->value}" : $verticalAlignment,
|
||||
])
|
||||
}}
|
||||
>
|
||||
],
|
||||
escape: false,
|
||||
)->merge($getExtraAttributes(), escape: false)->class([
|
||||
'fi-sc-actions',
|
||||
$verticalAlignment instanceof VerticalAlignment
|
||||
? "fi-vertical-align-{$verticalAlignment->value}"
|
||||
: $verticalAlignment,
|
||||
]) }}>
|
||||
@if (filled($label = $getLabel()))
|
||||
<div class="fi-sc-actions-label-ctn">
|
||||
{{ $getChildSchema($schemaComponent::BEFORE_LABEL_SCHEMA_KEY) }}
|
||||
@@ -47,12 +45,8 @@
|
||||
{{ $aboveContentContainer }}
|
||||
@endif
|
||||
|
||||
<x-filament::actions
|
||||
:actions="$actions"
|
||||
:alignment="$alignment"
|
||||
:full-width="$isFullWidth"
|
||||
:x-bind:style="$isSticky ? 'isSticky ? `width: ${width}px;` : \'\'' : null"
|
||||
/>
|
||||
<x-filament::actions :actions="$actions" :alignment="$alignment" :full-width="$isFullWidth"
|
||||
:x-bind:style="$isSticky ? 'isSticky ? `width: ${width}px;` : \'\'' : null" />
|
||||
|
||||
@if ($belowContentContainer = $getChildSchema($schemaComponent::BELOW_CONTENT_SCHEMA_KEY)?->toHtmlString())
|
||||
{{ $belowContentContainer }}
|
||||
|
||||
Reference in New Issue
Block a user