@php
$isContained = $isContained();
$statePath = $getStatePath();
$previousAction = $getAction('previous');
$nextAction = $getAction('next');
@endphp
merge([
'id' => $getId()
], escape: false)
->merge($getExtraAttributes(), escape: false)
->merge($getExtraAlpineAttributes(), escape: false)
->class(['fi-fo-wizard-slideover relative h-full flex-1 flex flex-col', 'fi-contained' => $isContained])
}}
>
@foreach ($getChildComponentContainer()->getComponents() as $step)
@endforeach
@foreach ($getChildComponentContainer()->getComponents() as $step)
{{ $step }}
@endforeach
isDisabled())
x-on:click="previousStep"
@endif
x-show="! isFirstStep()"
>
{{ $previousAction }}
{{ $getCancelAction() }}
isDisabled())
x-on:click="
$wire.dispatchFormEvent(
'wizard::nextStep',
'{{ $statePath }}',
getStepIndex(step),
)
"
@endif
x-show="! isLastStep()"
>
{{ $nextAction }}
{{ $getSubmitAction() }}