ComponentContainer
class ComponentContainer extends ViewComponent (View source)
Traits
Properties
static protected array | $configurations | from Configurable | |
static protected array | $importantConfigurations | from Configurable | |
protected string | $evaluationIdentifier | ||
protected array | $evaluationParametersToRemove | from EvaluatesClosures | |
protected string | $view | ||
protected array | $viewData | from ViewComponent | |
protected string | $viewIdentifier | ||
static protected array | $propertyCache | from ViewComponent | |
static protected array | $methodCache | from ViewComponent | |
protected HasForms | $livewire | from BelongsToLivewire | |
Model|string|null | $model | from BelongsToModel | |
protected Component|null | $parentComponent | from BelongsToParentComponent | |
protected bool|Closure | $isDisabled | from CanBeDisabled | |
protected array|null | $columns | from HasColumns | |
protected array|Closure | $components | from HasComponents | |
protected string|null | $context | from HasContext | |
protected string|Closure|null | $fieldWrapperView | from HasFieldWrapper | |
protected bool|Closure|null | $hasInlineLabels | from HasInlineLabels | |
protected string|null | $statePath | from HasState | |
protected | $stateBindingModifiers | from HasStateBindingModifiers | |
protected string|int|null | $debounce | from HasStateBindingModifiers | |
protected array | $meta |
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
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
BelongsToLivewire
livewire(HasForms $livewire)
No description
HasForms
getLivewire()
No description
BelongsToModel
model(Model|string|null $model = null)
No description
void
saveRelationships()
No description
void
loadStateFromRelationships(bool $andHydrate = false)
No description
string|null
getModel()
No description
Model|null
getRecord()
No description
Model|null
getModelInstance()
No description
BelongsToParentComponent
parentComponent(Component $component)
No description
Component|null
getParentComponent()
No description
CanBeDisabled
disabled(bool|Closure $condition = true)
No description
bool
isDisabled()
No description
bool
isEnabled()
No description
bool
isHidden()
No description
array
getValidationAttributes()
No description
array
getValidationRules()
No description
array
validate()
No description
Cloneable
getClone()
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
HasComponents
components(array|Closure $components)
No description
HasComponents
schema(array|Closure $components)
No description
Component|null
getComponent(string|Closure $callback, bool $withHidden = false)
No description
array
getFlatComponents(bool $withHidden = false)
No description
array
getFlatFields(bool $withHidden = false, bool $withAbsolutePathKeys = false)
No description
array
getComponents(bool $withHidden = false)
No description
HasContext
context(string|null $context = null)
No description
string
getContext()
No description
HasFieldWrapper
fieldWrapperView(string|Closure|null $view)
No description
string|null
getCustomFieldWrapperView()
No description
HasInlineLabels
inlineLabel(bool|Closure|null $condition = true)
No description
bool|null
hasInlineLabel()
No description
void
callAfterStateHydrated()
No description
bool
callAfterStateUpdated(string $path)
No description
void
callBeforeStateDehydrated()
No description
array
dehydrateState(array $state = [])
No description
array
mutateDehydratedState(array $state = [])
No description
HasState
fill(array|null $state = null)
No description
void
hydrateState(array|null $hydratedDefaultState)
No description
void
fillStateWithNull()
No description
HasState
statePath(string|null $path)
No description
array
getState(bool $shouldCallHooksBefore = true)
No description
Arrayable
getRawState()
No description
array
getStateOnly(array $keys)
No description
array
getStateExcept(array $keys)
No description
string
getStatePath(bool $isAbsolute = true)
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
ListensToEvents
dispatchEvent(string $event, ...$parameters)
No description
string|null
getComponentFileAttachmentUrl(string $statePath)
No description
bool
deleteUploadedFile(string $statePath, string $fileKey)
No description
array|null
getUploadedFileUrls(string $statePath)
No description
bool
removeUploadedFile(string $statePath, string $fileKey)
No description
bool
reorderUploadedFiles(string $statePath, array $fileKeys)
No description
string|null
getSelectOptionLabel(string $statePath)
No description
array
getSelectOptionLabels(string $statePath)
No description
array
getSelectOptions(string $statePath)
No description
array
getSelectSearchResults(string $statePath, string $search)
No description
final
__construct(HasForms $livewire)
No description
static ComponentContainer
make(HasForms $livewire)
No description