@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',
'fi-contained rounded-xl bg-white shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10' => $isContained,
])
}}
>
$isContained,
'rounded-xl bg-white shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10' => ! $isContained,
])
>
@foreach ($getChildComponentContainer()->getComponents() as $step)
@endforeach
@foreach ($getChildComponentContainer()->getComponents() as $step)
{{ $step }}
@endforeach
$isContained,
'mt-6' => ! $isContained,
])
>
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() }}