Wizard
class Wizard extends Component (View source)
Traits
Properties
static protected array | $configurations | from Configurable | |
static protected array | $importantConfigurations | from Configurable | |
protected string | $evaluationIdentifier | from EvaluatesClosures | |
protected array | $evaluationParametersToRemove | from EvaluatesClosures | |
protected string | $view | ||
protected array | $viewData | from ViewComponent | |
protected string | $viewIdentifier | from ViewComponent | |
static protected array | $propertyCache | from ViewComponent | |
static protected array | $methodCache | from ViewComponent | |
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 | $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 array | $columnSpan | from CanSpanColumns | |
protected array | $actions | from HasActions | |
protected Model|string|null | $actionFormModel | from HasActions | |
protected array|Closure | $childComponents | from HasChildComponents | |
protected string|Closure|null | $fieldWrapperView | from HasFieldWrapper | |
protected bool|Closure|null | $hasInlineLabel | from HasInlineLabel | |
protected string|Closure|null | $id | from HasId | |
protected bool|Closure | $isLabelHidden | from HasLabel | |
protected Htmlable|Closure|null | $label | from HasLabel | |
protected bool | $shouldTranslateLabel | from HasLabel | |
protected string|Closure|null | $maxWidth | from HasMaxWidth | |
protected array | $meta | from HasMeta | |
protected Closure|null | $afterStateHydrated | from HasState | |
protected Closure|null | $afterStateUpdated | from HasState | |
protected Closure|null | $beforeStateDehydrated | from HasState | |
protected | $defaultState | from HasState | |
protected Closure|null | $dehydrateStateUsing | from HasState | |
protected Closure|null | $mutateDehydratedStateUsing | from HasState | |
protected bool | $hasDefaultState | from HasState | |
protected bool|Closure | $isDehydrated | from HasState | |
protected string|null | $statePath | from HasState | |
protected array | $listeners | from ListensToEvents | |
protected array|null | $columns | from HasColumns | |
protected array | $extraAttributes | from HasExtraAttributes | |
protected | $stateBindingModifiers | from HasStateBindingModifiers | |
protected string|int|null | $debounce | from HasStateBindingModifiers | |
protected array | $extraAlpineAttributes | from HasExtraAlpineAttributes | |
protected Htmlable|null | $cancelAction | ||
protected bool|Closure | $skippable | ||
protected string|Closure|null | $stepQueryStringKey | ||
protected Htmlable|null | $submitAction | ||
int|Closure | $startStep |
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
Details
static
configureUsing(Closure $callback, Closure|null $during = null, bool $isImportant = false)
No description
Configurable
configure()
No description
protected void
setUp()
No description
evaluate($value, array $parameters = [], array $exceptParameters = [])
No description
protected array
getDefaultEvaluationParameters()
No description
protected
resolveEvaluationParameter(string $parameter, Closure $value)
No description
protected bool
isEvaluationParameterRemoved(string $parameter)
No description
ViewComponent
view(string $view, array $viewData = [])
No description
protected array
extractPublicProperties()
No description
protected array
extractPublicMethods()
No description
ViewComponent
viewData(array $data)
No description
string
getView()
No description
string
toHtml()
No description
View
render()
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
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 $contexts)
No description
bool
isDisabled()
No description
bool
isEnabled()
No description
CanBeHidden
hidden(bool|Closure $condition = true)
No description
CanBeHidden
hiddenOn(string|array $contexts)
No description
CanBeHidden
hiddenWhenAllChildComponentsHidden()
No description
CanBeHidden
when(bool|Closure $condition = true)
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 $contexts)
No description
bool
isHidden()
No description
CanSpanColumns
columnSpan(array|int|string|Closure|null $span)
No description
CanSpanColumns
columnSpanFull()
No description
array|int|string|null
getColumnSpan(int|string|null $breakpoint = null)
No description
Cloneable
getClone()
No description
HasActions
registerActions(array $actions)
No description
Action|Closure|null
getAction(string $name)
No description
array
getActions()
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($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
HasInlineLabel
inlineLabel(bool|Closure|null $condition = true)
No description
bool|null
hasInlineLabel()
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
HasLabel
disableLabel(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(string|Closure|null $width)
No description
string|null
getMaxWidth()
No description
HasMeta
meta(string $key, $value)
No description
getMeta(string|array|null $keys = null)
No description
bool
hasMeta(string|array $keys)
No description
HasState
callAfterStateHydrated()
No description
HasState
callAfterStateUpdated()
No description
HasState
callBeforeStateDehydrated()
No description
HasState
default($state)
No description
HasState
dehydrated(bool|Closure $condition = true)
No description
array
getStateToDehydrate()
No description
void
dehydrateState(array $state)
No description
void
hydrateState(array|null $hydratedDefaultState)
No description
void
fill()
No description
void
hydrateDefaultState(array|null $hydratedDefaultState)
No description
void
fillStateWithNull()
No description
mutateDehydratedState($state)
No description
bool
mutatesDehydratedState()
No description
HasState
state($state)
No description
HasState
statePath(string|null $path)
No description
getDefaultState()
No description
getState()
No description
getOldState()
No description
string
getStatePath(bool $isAbsolute = true)
No description
protected bool
hasDefaultState()
No description
bool
isDehydrated()
No description
protected Closure
getGetCallback()
No description
protected Closure
getSetCallback()
No description
protected string
generateRelativeStatePath(Component $path, bool $isAbsolute = false)
No description
ListensToEvents
dispatchEvent(string $event, ...$parameters)
No description
ListensToEvents
registerListeners(array $listeners)
No description
array
getListeners(string $event = null)
No description
HasColumns
columns(array|int|string|null $columns = 2)
No description
array|int|string|null
getColumns($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
reactive(bool $condition = true)
No description
HasStateBindingModifiers
lazy(bool $condition = true)
No description
HasStateBindingModifiers
debounce(string|int|null $delay = '500ms')
No description
HasStateBindingModifiers
stateBindingModifiers(array|null $modifiers)
No description
string
applyStateBindingModifiers(string $expression, array $lazilyEntangledModifiers = [])
No description
array
getStateBindingModifiers()
No description
bool
isReactive()
No description
bool
isLazy()
No description
bool
isDebounced()
No description
string|int|null
getDebounce()
No description
protected bool
shouldEvaluateWithState()
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
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