SelectAction
class SelectAction extends Action (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 | from Action | |
protected array | $viewData | from ViewComponent | |
protected string | $viewIdentifier | from BaseAction | |
static protected array | $propertyCache | from ViewComponent | |
static protected array | $methodCache | from ViewComponent | |
protected bool|Closure | $isDisabled | from CanBeDisabled | |
protected | $authorization | from CanBeHidden | |
protected bool|Closure | $isHidden | from CanBeHidden | |
protected bool|Closure | $isVisible | from CanBeHidden | |
protected string|Closure|null | $color | from HasColor | |
protected string|Closure|null | $icon | from HasIcon | |
protected string|Closure|null | $iconPosition | from HasIcon | |
protected Htmlable|Closure|null | $label | from HasLabel | |
protected bool|Closure | $isLabelHidden | from HasLabel | |
protected bool | $shouldTranslateLabel | from HasLabel | |
protected string | $name | from HasName | |
protected string|Closure|null | $size | from HasSize | |
protected array | $extraAttributes | from HasExtraAttributes | |
protected Closure|null | $mountUsing | from CanBeMounted | |
protected Notification|Closure|null | $failureNotification | from CanNotify | |
protected Notification|Closure|null | $successNotification | from CanNotify | |
protected string|Closure|null | $failureNotificationTitle | from CanNotify | |
protected string|Closure|null | $successNotificationTitle | from CanNotify | |
protected array|Closure | $extraModalActions | from CanOpenModal | |
protected bool|Closure|null | $isModalCentered | from CanOpenModal | |
protected bool|Closure | $isModalSlideOver | from CanOpenModal | |
protected array|Closure|null | $modalActions | from CanOpenModal | |
protected Action|Closure|null | $modalCancelAction | from CanOpenModal | |
protected Action|Closure|null | $modalSubmitAction | from CanOpenModal | |
protected string|Closure|null | $modalButtonLabel | from CanOpenModal | |
protected Htmlable|Closure|null | $modalContent | from CanOpenModal | |
protected Htmlable|Closure|null | $modalFooter | from CanOpenModal | |
protected Htmlable|Closure|null | $modalHeading | from CanOpenModal | |
protected Htmlable|Closure|null | $modalSubheading | from CanOpenModal | |
protected string|Closure|null | $modalWidth | from CanOpenModal | |
protected bool|Closure|null | $isModalHidden | from CanOpenModal | |
protected bool|Closure|null | $isModalClosedByClickingAway | from CanOpenModal | |
protected string|Closure|null | $failureRedirectUrl | from CanRedirect | |
protected string|Closure|null | $successRedirectUrl | from CanRedirect | |
protected Closure|string|null | $action | from HasAction | |
protected array | $arguments | from HasArguments | |
protected array | $formData | from HasForm | |
protected array|Closure | $formSchema | from HasForm | |
protected bool|Closure | $isFormDisabled | from HasForm | |
protected Closure|null | $mutateFormDataUsing | from HasForm | |
protected Closure|null | $before | from HasLifecycleHooks | |
protected Closure|null | $after | from HasLifecycleHooks | |
protected Closure|null | $beforeFormFilled | from HasLifecycleHooks | |
protected Closure|null | $afterFormFilled | from HasLifecycleHooks | |
protected Closure|null | $beforeFormValidated | from HasLifecycleHooks | |
protected Closure|null | $afterFormValidated | from HasLifecycleHooks | |
protected bool | $isWizard | from HasWizard | |
protected bool|Closure | $isWizardSkippable | from HasWizard | |
int|Closure | $wizardStartStep | from HasWizard | |
protected bool|Closure | $isOutlined | from CanBeOutlined | |
protected bool|Closure | $shouldOpenUrlInNewTab | from CanOpenUrl | |
protected string|Closure|null | $url | from CanOpenUrl | |
protected bool | $canSubmitForm | from CanSubmitForm | |
protected string|null | $form | from CanSubmitForm | |
protected Page | $livewire | from BelongsToLivewire | |
protected string|Closure|null | $groupedIcon | from HasGroupedIcon | |
protected string|array|Closure|null | $keyBindings | from HasKeyBindings | |
protected string|Closure|null | $tooltip | from HasTooltip | |
protected Model|Closure|null | $record | from InteractsWithRecord | |
protected string|Closure|null | $model | from InteractsWithRecord | |
protected string|Closure|null | $modelLabel | from InteractsWithRecord | |
protected string|Closure|null | $pluralModelLabel | from InteractsWithRecord | |
protected string|Closure|null | $recordTitle | from InteractsWithRecord | |
protected string|null | $id | from HasId | |
protected Arrayable|Closure | $options | ||
protected string|null | $placeholder |
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
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
CanBeDisabled
disabled(bool|Closure $condition = true)
No description
bool
isDisabled()
No description
bool
isEnabled()
No description
CanBeHidden
authorize($abilities, Model|array|null $arguments = null)
No description
CanBeHidden
authorizeAny(string|array $abilities, Model|array|null $arguments = null)
No description
protected array
parseAuthorizationArguments(array $arguments)
No description
CanBeHidden
hidden(bool|Closure $condition = true)
No description
CanBeHidden
visible(bool|Closure $condition = true)
No description
bool
isHidden()
No description
bool
isAuthorized()
No description
HasColor
color(string|Closure|null $color)
No description
string|null
getColor()
No description
HasIcon
icon(string|Closure|null $icon)
No description
HasIcon
iconPosition(string|Closure|null $position)
No description
string|null
getIcon()
No description
string|null
getIconPosition()
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
string
getName()
No description
HasSize
size(string|Closure|null $size)
No description
string|null
getSize()
No description
HasExtraAttributes
extraAttributes(array|Closure $attributes, bool $merge = false)
No description
array
getExtraAttributes()
No description
ComponentAttributeBag
getExtraAttributeBag()
No description
final
__construct(string $name)
No description
static BaseAction
make(string|null $name = null)
No description
static string|null
getDefaultName()
No description
BaseAction
withAttributes(array $attributes)
deprecated
deprecated
No description
mount(array $parameters)
No description
CanBeMounted
mountUsing(Closure|null $callback)
No description
Closure
getMountUsing()
No description
CanNotify
sendFailureNotification()
No description
CanNotify
failureNotification(Notification|Closure|null $notification)
No description
CanNotify
failureNotificationMessage(string|Closure|null $message)
deprecated
deprecated
No description
CanNotify
failureNotificationTitle(string|Closure|null $title)
No description
CanNotify
sendSuccessNotification()
No description
CanNotify
successNotification(Notification|Closure|null $notification)
No description
CanNotify
successNotificationMessage(string|Closure|null $message)
deprecated
deprecated
No description
CanNotify
successNotificationTitle(string|Closure|null $title)
No description
string|null
getSuccessNotificationTitle()
No description
string|null
getFailureNotificationTitle()
No description
CanOpenModal
closeModalByClickingAway(bool|Closure|null $condition = true)
No description
CanOpenModal
centerModal(bool|Closure|null $condition = true)
No description
CanOpenModal
slideOver(bool|Closure $condition = true)
No description
CanOpenModal
modalActions(array|Closure|null $actions = null)
No description
CanOpenModal
extraModalActions(array|Closure $actions)
No description
CanOpenModal
modalSubmitAction(Action|Closure|null $action = null)
No description
CanOpenModal
modalCancelAction(Action|Closure|null $action = null)
No description
CanOpenModal
modalButton(string|Closure|null $label = null)
No description
CanOpenModal
modalContent(Htmlable|Closure|null $content = null)
No description
CanOpenModal
modalFooter(Htmlable|Closure|null $content = null)
No description
CanOpenModal
modalHeading(Htmlable|Closure|null $heading = null)
No description
CanOpenModal
modalSubheading(Htmlable|Closure|null $subheading = null)
No description
CanOpenModal
modalWidth(string|Closure|null $width = null)
No description
CanOpenModal
modalHidden(bool|Closure|null $condition = false)
No description
abstract protected string
getLivewireCallActionName()
No description
array
getModalActions()
No description
protected array
filterHiddenModalActions(array $actions)
No description
Action
getModalSubmitAction()
No description
Action
getModalCancelAction()
No description
array
getExtraModalActions()
No description
string
getModalButtonLabel()
No description
Htmlable|null
getModalContent()
No description
Htmlable|null
getModalFooter()
No description
Htmlable
getModalHeading()
No description
Htmlable|null
getModalSubheading()
No description
string
getModalWidth()
No description
bool
isModalCentered()
No description
bool
isModalSlideOver()
No description
bool
isModalHidden()
No description
bool
isModalClosedByClickingAway()
No description
bool
shouldOpenModal()
No description
Action
makeExtraModalAction(string $name, array|null $arguments = null)
No description
static protected string
getModalActionClass()
No description
static Action
makeModalAction(string $name)
No description
CanRedirect
dispatchFailureRedirect()
No description
CanRedirect
dispatchSuccessRedirect()
No description
void
redirect(string|Closure $url)
No description
CanRedirect
failureRedirectUrl(string|Closure|null $url)
No description
CanRedirect
successRedirectUrl(string|Closure|null $url)
No description
CanRequireConfirmation
requiresConfirmation(bool|Closure $condition = true)
No description
HasAction
action(Closure|string|null $action)
No description
Closure|null
getAction()
No description
HasArguments
arguments(array $arguments)
No description
array
getArguments()
No description
HasArguments
resetArguments()
No description
HasForm
disableForm(bool|Closure $condition = true)
No description
HasForm
form(array|Closure $schema)
No description
array
getFormSchema()
No description
bool
hasForm()
No description
bool
hasFormSchema()
No description
HasForm
formData(array $data, bool $shouldMutate = true)
No description
HasForm
resetFormData()
No description
array
getFormData()
No description
bool
isFormDisabled()
No description
HasLifecycleHooks
before(Closure $callback)
No description
HasLifecycleHooks
after(Closure $callback)
No description
HasLifecycleHooks
beforeFormFilled(Closure $callback)
No description
HasLifecycleHooks
afterFormFilled(Closure $callback)
No description
HasLifecycleHooks
beforeFormValidated(Closure $callback)
No description
HasLifecycleHooks
afterFormValidated(Closure $callback)
No description
callBefore()
No description
callAfter()
No description
callBeforeFormFilled()
No description
callAfterFormFilled()
No description
callBeforeFormValidated()
No description
callAfterFormValidated()
No description
HasWizard
steps(array|Closure $steps)
No description
HasWizard
startOnStep(int|Closure $startStep)
No description
HasWizard
skippableSteps(bool|Closure $condition = true)
No description
bool
isWizard()
No description
bool
isWizardSkippable()
No description
int
getWizardStartStep()
No description
in
Action at line 30
call(array $parameters = [])
No description
in
Action at line 35
void
cancel()
No description
in
Action at line 40
void
halt()
No description
in
Action at line 48
void
hold()
deprecated
deprecated
No description
in
Action at line 53
void
success()
No description
in
Action at line 59
void
failure()
No description
Page
getLivewire()
No description
CanBeOutlined
outlined(bool|Closure $condition = true)
No description
bool
isOutlined()
No description
CanOpenUrl
openUrlInNewTab(bool|Closure $condition = true)
No description
CanOpenUrl
url(string|Closure|null $url, bool|Closure $shouldOpenInNewTab = false)
No description
string|null
getUrl()
No description
bool
shouldOpenUrlInNewTab()
No description
CanSubmitForm
submit(string|null $form = null)
No description
bool
canSubmitForm()
No description
string|null
getForm()
No description
BelongsToLivewire
livewire(Page $livewire)
No description
HasGroupedIcon
groupedIcon(string|Closure|null $icon)
No description
string|null
getGroupedIcon()
No description
HasKeyBindings
keyBindings(string|array|Closure|null $bindings)
No description
array|null
getKeyBindings()
No description
HasTooltip
tooltip(string|Closure|null $tooltip)
No description
string|null
getTooltip()
No description
InteractsWithRecord
record(Model|Closure|null $record)
No description
InteractsWithRecord
model(string|Closure|null $model)
No description
InteractsWithRecord
modelLabel(string|Closure|null $label)
No description
InteractsWithRecord
pluralModelLabel(string|Closure|null $label)
No description
InteractsWithRecord
recordTitle(string|Closure|null $title)
No description
Model|null
getRecord()
No description
string|null
getRecordTitle(Model|null $record = null)
No description
string|null
getCustomRecordTitle(Model|null $record = null)
No description
string|null
getModel()
No description
string|null
getCustomModel()
No description
string|null
getModelLabel()
No description
string|null
getCustomModelLabel()
No description
string|null
getPluralModelLabel()
No description
string|null
getCustomPluralModelLabel()
No description
in
Action at line 33
Action
button()
No description
in
Action at line 40
Groupable
grouped()
No description
in
Action at line 47
Action
iconButton()
No description
in
Action at line 54
Action
link()
No description
in
HasId at line 16
string
getId()
No description
SelectAction
options(Arrayable|Closure $options)
No description
SelectAction
placeholder(string $placeholder)
No description
array
getOptions()
No description
string|null
getPlaceholder()
No description