Wizard
class Wizard extends Component (View source)
Traits
Properties
protected string | $evaluationIdentifier | from EvaluatesClosures | |
static protected Closure>> | $macros | from Macroable | |
protected string | $view | ||
protected string|Closure|null | $defaultView | from ViewComponent | |
protected array<string,mixed> | $viewData | from ViewComponent | |
protected string | $viewIdentifier | from ViewComponent | |
protected bool|Closure|null | $canGrow | from CanGrow | |
protected ComponentContainer | $container | from BelongsToContainer | |
protected Model|string|Closure|null | $model | from BelongsToModel | |
protected Closure|null | $loadStateFromRelationshipsUsing | from BelongsToModel | |
protected Closure|null | $saveRelationshipsUsing | from BelongsToModel | |
protected Closure|null | $saveRelationshipsBeforeChildrenUsing | from BelongsToModel | |
protected bool|Closure | $shouldSaveRelationshipsWhenDisabled | from BelongsToModel | |
protected bool|Closure | $shouldSaveRelationshipsWhenHidden | from BelongsToModel | |
protected Component|bool|null | $cachedConcealingComponent | from CanBeConcealed | |
protected bool|Closure | $isDisabled | from CanBeDisabled | |
protected bool|Closure | $isHidden | from CanBeHidden | |
protected bool|Closure | $isVisible | from CanBeHidden | |
protected Repeater|bool|null | $cachedParentRepeater | from CanBeRepeated | |
protected array | $columnSpan | from CanSpanColumns | |
protected array | $columnStart | from CanSpanColumns | |
protected Action[] | $cachedActions | from HasActions | |
protected array | $actions | from HasActions | |
protected Model|string|null | $actionFormModel | from HasActions | |
protected Component[] | $childComponents | from HasChildComponents | |
protected string|Closure|null | $fieldWrapperView | from HasFieldWrapper | |
protected string|Closure|null | $id | from HasId | |
protected bool|Closure|null | $hasInlineLabel | from HasInlineLabel | |
protected string|Closure|null | $key | from HasKey | |
protected bool|Closure | $isLabelHidden | from HasLabel | |
protected Htmlable|Closure|null | $label | from HasLabel | |
protected bool | $shouldTranslateLabel | from HasLabel | |
protected MaxWidth|string|Closure|null | $maxWidth | from HasMaxWidth | |
protected array<string,mixed> | $meta | from HasMeta | |
protected Closure|null | $afterStateHydrated | from HasState | |
protected Closure[] | $afterStateUpdated | from HasState | |
protected Closure|null | $beforeStateDehydrated | from HasState | |
protected mixed | $defaultState | from HasState | |
protected Closure|null | $dehydrateStateUsing | from HasState | |
protected Closure|null | $mutateDehydratedStateUsing | from HasState | |
protected Closure|null | $mutateStateForValidationUsing | from HasState | |
protected bool | $hasDefaultState | from HasState | |
protected bool|Closure | $isDehydrated | from HasState | |
protected bool|Closure | $isDehydratedWhenHidden | from HasState | |
protected string|null | $statePath | from HasState | |
protected string | $cachedAbsoluteStatePath | from HasState | |
protected string | $stripCharacters | from HasState | |
protected string[] | $cachedStripCharacters | from HasState | |
protected Closure[]> | $listeners | from ListensToEvents | |
protected array|null | $columns | from HasColumns | |
protected array | $extraAttributes | from HasExtraAttributes | |
protected string[] | $stateBindingModifiers | from HasStateBindingModifiers | |
protected int|string|null | $liveDebounce | from HasStateBindingModifiers | |
protected bool|null | $isLive | from HasStateBindingModifiers | |
protected bool | $isLiveOnBlur | from HasStateBindingModifiers | |
protected bool|Closure | $isContained | from CanBeContained | |
protected bool | $isContainedCache | from CanBeContained | |
protected array | $extraAlpineAttributes | from HasExtraAlpineAttributes | |
protected Htmlable|null | $cancelAction | ||
protected bool|Closure | $isSkippable | ||
protected string|Closure|null | $stepQueryStringKey | ||
protected Htmlable|null | $submitAction | ||
protected Closure|null | $modifyNextActionUsing | ||
protected Closure|null | $modifyPreviousActionUsing | ||
protected int|Closure | $startStep | ||
protected int | $currentStepIndex |
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
static mixed
configureUsing(Closure $modifyUsing, Closure|null $during = null, bool $isImportant = false)
No description
Configurable
configure()
No description
protected void
setUp()
No description
mixed
evaluate(mixed $value, array $namedInjections = [], array $typedInjections = [])
No description
protected mixed
resolveClosureDependencyForEvaluation(ReflectionParameter $parameter, array $namedInjections, array $typedInjections)
No description
protected array
resolveDefaultClosureDependencyForEvaluationByName(string $parameterName)
No description
protected array
resolveDefaultClosureDependencyForEvaluationByType(string $parameterType)
No description
protected string|null
getTypedReflectionParameterClassName(ReflectionParameter $parameter)
No description
static void
macro(string $name, callable $macro)
No description
static void
mixin(object $mixin, bool $replace = true)
No description
static void
flushMacros()
No description
static mixed
__callStatic(string $method, array $parameters)
No description
mixed
__call(string $method, array $parameters)
No description
static protected callable|null
getMacro(string $method)
No description
ViewComponent
view(string|null $view, array $viewData = [])
No description
ViewComponent
defaultView(string|Closure|null $view)
No description
protected array
extractPublicMethods()
No description
ViewComponent
viewData(array $data)
No description
string
getView()
No description
string|null
getDefaultView()
No description
string
toHtml()
No description
View
render()
No description
CanGrow
grow(bool|Closure|null $condition = true)
No description
bool
canGrow(bool $default = true)
No description
BelongsToContainer
container(ComponentContainer $container)
No description
ComponentContainer
getContainer()
No description
HasForms
getLivewire()
No description
BelongsToModel
model(Model|string|Closure|null $model = null)
No description
void
saveRelationships()
No description
void
saveRelationshipsBeforeChildren()
No description
void
loadStateFromRelationships(bool $andHydrate = false)
No description
BelongsToModel
saveRelationshipsUsing(Closure|null $callback)
No description
BelongsToModel
saveRelationshipsBeforeChildrenUsing(Closure|null $callback)
No description
BelongsToModel
saveRelationshipsWhenDisabled(bool|Closure $condition = true)
No description
bool
shouldSaveRelationshipsWhenDisabled()
No description
BelongsToModel
saveRelationshipsWhenHidden(bool|Closure $condition = true)
No description
bool
shouldSaveRelationshipsWhenHidden()
No description
BelongsToModel
loadStateFromRelationshipsUsing(Closure|null $callback)
No description
string|null
getModel()
No description
Model|null
getRecord()
No description
Model|null
getModelInstance()
No description
Component|null
getConcealingComponent()
No description
bool
isConcealed()
No description
CanBeDisabled
disabled(bool|Closure $condition = true)
No description
CanBeDisabled
disabledOn(string|array $operations)
No description
bool
isDisabled()
No description
bool
isEnabled()
No description
CanBeHidden
hidden(bool|Closure $condition = true)
No description
CanBeHidden
hiddenOn(string|array $operations)
No description
CanBeHidden
hiddenWhenAllChildComponentsHidden()
No description
CanBeHidden
whenTruthy(string|array $paths)
No description
CanBeHidden
whenFalsy(string|array $paths)
No description
CanBeHidden
visible(bool|Closure $condition = true)
No description
CanBeHidden
visibleOn(string|array $operations)
No description
bool
isHidden()
No description
bool
isVisible()
No description
Repeater|null
getParentRepeater()
No description
CanSpanColumns
columnSpan(array|int|string|Closure|null $span)
No description
CanSpanColumns
columnSpanFull()
No description
CanSpanColumns
columnStart(array|int|string|Closure|null $start)
No description
array|int|string|null
getColumnSpan(int|string|null $breakpoint = null)
No description
array|int|string|null
getColumnStart(int|string|null $breakpoint = null)
No description
Cloneable
getClone()
No description
HasActions
registerActions(array $actions)
No description
Action|null
getAction(string $name)
No description
array
getActions()
No description
array
cacheActions()
No description
HasActions
actionFormModel(Model|string|null $model)
No description
Model|string|null
getActionFormModel()
No description
bool
hasAction(string $name)
No description
HasChildComponents
childComponents(array|Closure $components)
No description
HasChildComponents
schema(array|Closure $components)
No description
array
getChildComponents()
No description
ComponentContainer
getChildComponentContainer(array-key $key = null)
No description
array
getChildComponentContainers(bool $withHidden = false)
No description
bool
hasChildComponentContainer(bool $withHidden = false)
No description
HasFieldWrapper
fieldWrapperView(string|Closure|null $view)
No description
string
getFieldWrapperView()
No description
string|null
getCustomFieldWrapperView()
No description
in
HasId at line 11
HasId
id(string|Closure|null $id)
No description
in
HasId at line 18
string|null
getId()
No description
HasInlineLabel
inlineLabel(bool|Closure|null $condition = true)
No description
bool|null
hasInlineLabel()
No description
in
HasKey at line 11
HasKey
key(string|Closure|null $key)
No description
in
HasKey at line 18
string|null
getKey()
No description
HasLabel
disableLabel(bool|Closure $condition = true)
deprecated
deprecated
No description
HasLabel
hiddenLabel(bool|Closure $condition = true)
No description
HasLabel
label(Htmlable|Closure|null $label)
No description
HasLabel
translateLabel(bool $shouldTranslateLabel = true)
No description
Htmlable|null
getLabel()
No description
bool
isLabelHidden()
No description
HasMaxWidth
maxWidth(MaxWidth|string|Closure|null $width)
No description
MaxWidth|string|null
getMaxWidth()
No description
HasMeta
meta(string $key, mixed $value)
No description
mixed
getMeta(string|array|null $keys = null)
No description
bool
hasMeta(string|array $keys)
No description
HasState
clearAfterStateUpdatedHooks()
No description
HasState
callAfterStateHydrated()
No description
HasState
callAfterStateUpdated()
No description
protected void
callAfterStateUpdatedHook(Closure $hook)
No description
HasState
callBeforeStateDehydrated()
No description
HasState
default(mixed $state)
No description
HasState
dehydrated(bool|Closure $condition = true)
No description
HasState
dehydratedWhenHidden(bool|Closure $condition = true)
No description
array
getStateToDehydrate()
No description
void
dehydrateState(array $state, bool $isDehydrated = true)
No description
void
hydrateState(array|null $hydratedDefaultState, bool $andCallHydrationHooks = true)
No description
void
fill()
No description
void
hydrateDefaultState(array|null $hydratedDefaultState)
No description
void
fillStateWithNull()
No description
mixed
mutateDehydratedState(mixed $state)
No description
mixed
mutateStateForValidation(mixed $state)
No description
protected mixed
stripCharactersFromState(mixed $state)
No description
bool
mutatesDehydratedState()
No description
bool
mutatesStateForValidation()
No description
bool
hasStripCharacters()
No description
HasState
state(mixed $state)
No description
HasState
statePath(string|null $path)
No description
mixed
getDefaultState()
No description
mixed
getState()
No description
mixed
getOldState()
No description
string
getStatePath(bool $isAbsolute = true)
No description
bool
hasStatePath()
No description
protected bool
hasDefaultState()
No description
bool
isDehydrated()
No description
bool
isDehydratedWhenHidden()
No description
bool
isHiddenAndNotDehydrated()
No description
Get
getGetCallback()
No description
Set
getSetCallback()
No description
string
generateRelativeStatePath(Component $path = '', bool $isAbsolute = false)
No description
protected void
flushCachedAbsoluteStatePath()
No description
HasState
stripCharacters(string|array|Closure|null $characters)
No description
array
getStripCharacters()
No description
ListensToEvents
dispatchEvent(string $event, mixed ...$parameters)
No description
ListensToEvents
registerListeners(array $listeners)
No description
array
getListeners(string|null $event = null)
No description
HasColumns
columns(array|int|string|null $columns = 2)
No description
array|int|string|null
getColumns(string|null $breakpoint = null)
No description
array
getColumnsConfig()
No description
HasExtraAttributes
extraAttributes(array|Closure $attributes, bool $merge = false)
No description
array
getExtraAttributes()
No description
ComponentAttributeBag
getExtraAttributeBag()
No description
HasStateBindingModifiers
live(bool $onBlur = false, int|string|null $debounce = null, bool|null $condition = true)
No description
HasStateBindingModifiers
reactive()
No description
HasStateBindingModifiers
lazy()
No description
HasStateBindingModifiers
debounce(int|string|null $delay = 500)
No description
HasStateBindingModifiers
stateBindingModifiers(array|null $modifiers)
No description
string
applyStateBindingModifiers(string $expression, bool $isOptimisticallyLive = true)
No description
array
getStateBindingModifiers(bool $withBlur = true, bool $withDebounce = true, bool $isOptimisticallyLive = true)
No description
bool
isLive()
No description
bool
isLiveOnBlur()
No description
bool
isLazy()
No description
bool
isLiveDebounced()
No description
int|string|null
getLiveDebounce()
No description
int|null
getNormalizedLiveDebounce()
No description
CanBeContained
contained(bool|Closure $condition = true)
No description
bool
isContained()
No description
HasExtraAlpineAttributes
extraAlpineAttributes(array|Closure $attributes, bool $merge = false)
No description
array
getExtraAlpineAttributes()
No description
ComponentAttributeBag
getExtraAlpineAttributeBag()
No description
final
__construct(array|Closure $steps = [])
No description
static Wizard
make(array|Closure $steps = [])
No description
Action
getNextAction()
No description
string
getNextActionName()
No description
Action
getPreviousAction()
No description
string
getPreviousActionName()
No description
Wizard
steps(array|Closure $steps)
No description
Wizard
startOnStep(int|Closure $startStep)
No description
Wizard
cancelAction(Htmlable|null $action)
No description
Wizard
submitAction(Htmlable|null $action)
No description
Wizard
skippable(bool|Closure $condition = true)
No description
Wizard
persistStepInQueryString(string|Closure|null $key = 'step')
No description
Htmlable|null
getCancelAction()
No description
Htmlable|null
getSubmitAction()
No description
int
getStartStep()
No description
string|null
getStepQueryStringKey()
No description
bool
isSkippable()
No description
bool
isStepPersistedInQueryString()
No description
int
getCurrentStepIndex()
No description
protected Wizard
setCurrentStepIndex(int $index)
No description