class RelationshipRepeater extends Repeater (View source)

deprecated Use `Repeater` with the `relationship()` method instead.

Traits

Properties

protected string $evaluationIdentifier from  EvaluatesClosures
static protected Closure>> $macros from  Macroable
protected string $view from  ViewComponent
protected string|Closure|null $defaultView from  ViewComponent
protected array<string,mixed> $viewData from  ViewComponent
protected string $viewIdentifier from  Field
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|Closure|null $isLive from  HasStateBindingModifiers
protected bool $isLiveOnBlur from  HasStateBindingModifiers
protected bool|Closure $isAutofocused from  CanBeAutofocused
protected bool|Closure|null $isMarkedAsRequired from  CanBeMarkedAsRequired
protected bool|Closure $isRequired from  CanBeValidated
protected string|Closure|null $regexPattern from  CanBeValidated
protected array $rules from  CanBeValidated
protected array $validationMessages from  CanBeValidated
protected string|Closure|null $validationAttribute from  CanBeValidated
protected bool|Closure $isGrammarlyDisabled from  CanDisableGrammarly
protected array $extraFieldWrapperAttributes from  HasExtraFieldWrapperAttributes
protected Htmlable|Closure|null $helperText from  HasHelperText
protected Htmlable|Closure|null $hint from  HasHint
protected Action[] $cachedHintActions from  HasHint
protected array $hintActions from  HasHint
protected string $hintColor from  HasHint
protected string|Closure|null $hintIcon from  HasHint
protected string|Closure|null $hintIconTooltip from  HasHint
protected string $name from  HasName
protected bool|Closure $isCloneable from  CanBeCloned
protected bool|Closure $isCollapsed from  CanBeCollapsed
protected bool|Closure|null $isCollapsible from  CanBeCollapsed
protected bool|Closure $shouldPersistCollapsed from  CanBeCollapsed
protected Closure|bool|null $generateUuidUsing from  CanGenerateUuids
protected int|Closure|null $maxItems from  CanLimitItemsLength
protected int|Closure|null $minItems from  CanLimitItemsLength
protected array|null $gridColumns from  HasContainerGridLayout
protected array $extraItemActions from  HasExtraItemActions
protected Action[] $cachedExtraItemActions from  HasExtraItemActions
protected int|Closure $reorderAnimationDuration from  HasReorderAnimationDuration
protected string|Closure|null $addActionLabel from  Repeater
protected string|Closure|null $addBetweenActionLabel from  Repeater
protected bool|Closure $isAddable from  Repeater
protected bool|Closure $isDeletable from  Repeater
protected bool|Closure $isReorderable from  Repeater
protected bool|Closure $isReorderableWithDragAndDrop from  Repeater
protected bool|Closure $isReorderableWithButtons from  Repeater
protected bool|Closure $isInset from  Repeater
protected Collection|null $cachedExistingRecords from  Repeater
protected string|Closure|null $orderColumn from  Repeater
protected string|Closure|null $relationship from  Repeater
protected string|Closure|null $itemLabel from  Repeater
protected Field|Closure|null $simpleField from  Repeater
protected Alignment|string|Closure|null $addActionAlignment from  Repeater
protected Closure|null $modifyRelationshipQueryUsing from  Repeater
protected Closure|null $modifyAddActionUsing from  Repeater
protected Closure|null $modifyAddBetweenActionUsing from  Repeater
protected Closure|null $modifyCloneActionUsing from  Repeater
protected Closure|null $modifyDeleteActionUsing from  Repeater
protected Closure|null $modifyMoveDownActionUsing from  Repeater
protected Closure|null $modifyMoveUpActionUsing from  Repeater
protected Closure|null $modifyReorderActionUsing from  Repeater
protected Closure|null $modifyCollapseActionUsing from  Repeater
protected Closure|null $modifyExpandActionUsing from  Repeater
protected Closure|null $modifyCollapseAllActionUsing from  Repeater
protected Closure|null $modifyExpandAllActionUsing from  Repeater
protected Closure|null $mutateRelationshipDataBeforeCreateUsing from  Repeater
protected Closure|null $mutateRelationshipDataBeforeFillUsing from  Repeater
protected Closure|null $mutateRelationshipDataBeforeSaveUsing from  Repeater
protected array<string,mixed> $hydratedDefaultState from  Repeater
protected bool $shouldMergeHydratedDefaultStateWithChildComponentContainerStateAfterStateHydrated from  Repeater
protected string|Closure|null $labelBetweenItems from  Repeater
protected bool|Closure $isItemLabelTruncated from  Repeater

Methods

static mixed
configureUsing(Closure $modifyUsing, Closure|null $during = null, bool $isImportant = false)

No description

configure()

No description

void
setUp()

No description

mixed
evaluate(mixed $value, array $namedInjections = [], array $typedInjections = [])

No description

mixed
resolveClosureDependencyForEvaluation(ReflectionParameter $parameter, array $namedInjections, array $typedInjections)

No description

array
resolveDefaultClosureDependencyForEvaluationByName(string $parameterName)

No description

array
resolveDefaultClosureDependencyForEvaluationByType(string $parameterType)

No description

string|null
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 callable|null
getMacro(string $method)

No description

view(string|null $view, array $viewData = [])

No description

defaultView(string|Closure|null $view)

No description

array
extractPublicMethods()

No description

viewData(array $data)

No description

string
getView()

No description

string|null
getDefaultView()

No description

from  Repeater
string
toHtml()

No description

View
render()

No description

grow(bool|Closure|null $condition = true)

No description

from  CanGrow
bool
canGrow(bool $default = true)

No description

from  CanGrow
getLivewire()

No description

model(Model|string|Closure|null $model = null)

No description

void
saveRelationships()

No description

void
void
loadStateFromRelationships(bool $andHydrate = false)

No description

saveRelationshipsUsing(Closure|null $callback)

No description

saveRelationshipsWhenDisabled(bool|Closure $condition = true)

No description

saveRelationshipsWhenHidden(bool|Closure $condition = true)

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

disabled(bool|Closure $condition = true)

No description

disabledOn(string|array $operations)

No description

bool
isDisabled()

No description

bool
isEnabled()

No description

hidden(bool|Closure $condition = true)

No description

hiddenOn(string|array $operations)

No description

whenTruthy(string|array $paths)

No description

whenFalsy(string|array $paths)

No description

visible(bool|Closure $condition = true)

No description

visibleOn(string|array $operations)

No description

bool
isHidden()

No description

bool
isVisible()

No description

Repeater|null
getParentRepeater()

No description

columnSpan(array|int|string|Closure|null $span)

No description

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

cloneChildComponents()

No description

getClone()

No description

registerActions(array $actions)

No description

Action|null
getAction(string $name)

No description

array
getActions()

No description

array
cacheActions()

No description

prepareAction(Action $action)

No description

actionFormModel(Model|string|null $model)

No description

Model|string|null
getActionFormModel()

No description

bool
hasAction(string $name)

No description

childComponents(array|Closure $components)

No description

schema(array|Closure $components)

No description

array
getChildComponents()

No description

getChildComponentContainer(array-key $key = null)

No description

array
getChildComponentContainers(bool $withHidden = false)

No description

bool
hasChildComponentContainer(bool $withHidden = false)

No description

fieldWrapperView(string|Closure|null $view)

No description

string
getFieldWrapperView()

No description

string|null
getCustomFieldWrapperView()

No description

id(string|Closure|null $id)

No description

from  HasId
string|null
getId()

No description

from  HasId
inlineLabel(bool|Closure|null $condition = true)

No description

bool|null
hasInlineLabel()

No description

key(string|Closure|null $key)

No description

from  HasKey
string|null
getKey()

No description

from  HasKey
disableLabel(bool|Closure $condition = true) deprecated

No description

from  HasLabel
hiddenLabel(bool|Closure $condition = true)

No description

from  HasLabel
label(Htmlable|Closure|null $label)

No description

from  HasLabel
translateLabel(bool $shouldTranslateLabel = true)

No description

from  HasLabel
Htmlable|null
getLabel()

No description

from  HasLabel
bool
isLabelHidden()

No description

from  HasLabel
maxWidth(MaxWidth|string|Closure|null $width)

No description

MaxWidth|string|null
getMaxWidth()

No description

meta(string $key, mixed $value)

No description

from  HasMeta
mixed
getMeta(string|array|null $keys = null)

No description

from  HasMeta
bool
hasMeta(string|array $keys)

No description

from  HasMeta
afterStateHydrated(Closure|null $callback)

No description

from  HasState
afterStateUpdated(Closure|null $callback)

No description

from  HasState
beforeStateDehydrated(Closure|null $callback)

No description

from  HasState
callAfterStateHydrated()

No description

from  HasState
callAfterStateUpdated()

No description

from  HasState
void
callAfterStateUpdatedHook(Closure $hook)

No description

from  HasState
default(mixed $state)

No description

from  HasState
dehydrated(bool|Closure $condition = true)

No description

from  HasState
dehydratedWhenHidden(bool|Closure $condition = true)

No description

from  HasState
formatStateUsing(Closure|null $callback)

No description

from  HasState
array
getStateToDehydrate()

No description

from  HasState
void
dehydrateState(array $state, bool $isDehydrated = true)

No description

from  HasState
dehydrateStateUsing(Closure|null $callback)

No description

from  HasState
void
hydrateState(array|null $hydratedDefaultState, bool $andCallHydrationHooks = true)

No description

from  HasState
void
fill()

No description

from  HasState
void
hydrateDefaultState(array|null $hydratedDefaultState)

No description

from  HasState
void
fillStateWithNull()

No description

from  HasState
mixed
mutateDehydratedState(mixed $state)

No description

from  HasState
mixed
mutateStateForValidation(mixed $state)

No description

from  HasState
mixed
stripCharactersFromState(mixed $state)

No description

from  HasState
bool
mutatesDehydratedState()

No description

from  HasState
bool
mutatesStateForValidation()

No description

from  HasState
bool
hasStripCharacters()

No description

from  HasState
mutateDehydratedStateUsing(Closure|null $callback)

No description

from  HasState
mutateStateForValidationUsing(Closure|null $callback)

No description

from  HasState
state(mixed $state)

No description

from  HasState
statePath(string|null $path)

No description

from  HasState
mixed
getDefaultState()

No description

from  HasState
mixed
getState()

No description

from  HasState
mixed
getOldState()

No description

from  HasState
string
getStatePath(bool $isAbsolute = true)

No description

from  HasState
bool
hasStatePath()

No description

from  HasState
bool
hasDefaultState()

No description

from  HasState
bool
isDehydrated()

No description

from  HasState
bool
isDehydratedWhenHidden()

No description

from  HasState
bool
isHiddenAndNotDehydrated()

No description

from  HasState
Get
getGetCallback()

No description

from  HasState
Set
getSetCallback()

No description

from  HasState
string
generateRelativeStatePath(Component $path = '', bool $isAbsolute = false)

No description

from  HasState
void
flushCachedAbsoluteStatePath()

No description

from  HasState
stripCharacters(string|array|Closure|null $characters)

No description

from  HasState
array
getStripCharacters()

No description

from  HasState
dispatchEvent(string $event, mixed ...$parameters)

No description

registerListeners(array $listeners)

No description

array
getListeners(string|null $event = null)

No description

columns(array|int|string|null $columns = 2)

No description

array|int|string|null
getColumns(string|null $breakpoint = null)

No description

array
getColumnsConfig()

No description

extraAttributes(array|Closure $attributes, bool $merge = false)

No description

array
getExtraAttributes()

No description

ComponentAttributeBag
getExtraAttributeBag()

No description

live(bool $onBlur = false, int|string|null $debounce = null, bool|Closure|null $condition = true)

No description

debounce(int|string|null $delay = 500)

No description

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

autofocus(bool|Closure $condition = true)

No description

bool
isAutofocused()

No description

markAsRequired(bool|Closure|null $condition = true)

No description

bool
isMarkedAsRequired()

No description

activeUrl(bool|Closure $condition = true)

No description

alpha(bool|Closure $condition = true)

No description

alphaDash(bool|Closure $condition = true)

No description

alphaNum(bool|Closure $condition = true)

No description

ascii(bool|Closure $condition = true)

No description

confirmed(bool|Closure $condition = true)

No description

doesntStartWith(Arrayable|string|Closure $values, bool|Closure $condition = true)

No description

doesntEndWith(Arrayable|string|Closure $values, bool|Closure $condition = true)

No description

endsWith(Arrayable|string|Closure $values, bool|Closure $condition = true)

No description

enum(string|Closure $enum)

No description

exists(string|Closure|null $table = null, string|Closure|null $column = null, Closure|null $modifyRuleUsing = null)

No description

filled(bool|Closure $condition = true)

No description

hexColor(bool|Closure $condition = true)

No description

in(Arrayable|string|Closure $values, bool|Closure $condition = true)

No description

ip(bool|Closure $condition = true)

No description

ipv4(bool|Closure $condition = true)

No description

ipv6(bool|Closure $condition = true)

No description

json(bool|Closure $condition = true)

No description

macAddress(bool|Closure $condition = true)

No description

multipleOf(int|float|Closure $value)

No description

notIn(Arrayable|string|Closure $values, bool|Closure $condition = true)

No description

notRegex(string|Closure|null $pattern)

No description

nullable(bool|Closure $condition = true)

No description

prohibited(bool|Closure $condition = true)

No description

prohibitedIf(string|Closure $statePath, mixed $stateValues, bool $isStatePathAbsolute = false)

No description

prohibitedUnless(string|Closure $statePath, mixed $stateValues, bool $isStatePathAbsolute = false)

No description

prohibits(array|string|Closure $statePaths, bool $isStatePathAbsolute = false)

No description

required(bool|Closure $condition = true)

No description

requiredIf(string|Closure $statePath, mixed $stateValues, bool $isStatePathAbsolute = false)

No description

requiredIfAccepted(string|Closure $statePath, bool $isStatePathAbsolute = false)

No description

requiredUnless(string|Closure $statePath, mixed $stateValues, bool $isStatePathAbsolute = false)

No description

requiredWith(string|array|Closure $statePaths, bool $isStatePathAbsolute = false)

No description

requiredWithAll(string|array|Closure $statePaths, bool $isStatePathAbsolute = false)

No description

requiredWithout(string|array|Closure $statePaths, bool $isStatePathAbsolute = false)

No description

requiredWithoutAll(string|array|Closure $statePaths, bool $isStatePathAbsolute = false)

No description

regex(string|Closure|null $pattern)

No description

startsWith(Arrayable|string|Closure $values, bool|Closure $condition = true)

No description

string(bool|Closure $condition = true)

No description

ulid(bool|Closure $condition = true)

No description

uuid(bool|Closure $condition = true)

No description

rule(mixed $rule, bool|Closure $condition = true)

No description

rules(string|array|Closure $rules, bool|Closure $condition = true)

No description

after(string|Closure $date, bool $isStatePathAbsolute = false)

No description

afterOrEqual(string|Closure $date, bool $isStatePathAbsolute = false)

No description

before(string|Closure $date, bool $isStatePathAbsolute = false)

No description

beforeOrEqual(string|Closure $date, bool $isStatePathAbsolute = false)

No description

different(string|Closure $statePath, bool $isStatePathAbsolute = false)

No description

gt(string|Closure $statePath, bool $isStatePathAbsolute = false)

No description

gte(string|Closure $statePath, bool $isStatePathAbsolute = false)

No description

lt(string|Closure $statePath, bool $isStatePathAbsolute = false)

No description

lte(string|Closure $statePath, bool $isStatePathAbsolute = false)

No description

same(string|Closure $statePath, bool $isStatePathAbsolute = false)

No description

unique(string|Closure|null $table = null, string|Closure|null $column = null, Model|Closure|null $ignorable = null, bool $ignoreRecord = false, Closure|null $modifyRuleUsing = null)

No description

distinct(bool|Closure $condition = true)

No description

validationAttribute(string|Closure|null $label)

No description

validationMessages(array $messages)

No description

string|null
getRegexPattern()

No description

string
getRequiredValidationRule()

No description

string
getValidationAttribute()

No description

array
getValidationMessages()

No description

array
getValidationRules()

No description

void
dehydrateValidationMessages(array $messages)

No description

void
dehydrateValidationRules(array $rules)

No description

void
dehydrateValidationAttributes(array $attributes)

No description

bool
isRequired()

No description

dateComparisonRule(string $rule, string|Closure $date, bool $isStatePathAbsolute = false)

No description

fieldComparisonRule(string $rule, string|Closure $statePath, bool $isStatePathAbsolute = false)

No description

multiFieldComparisonRule(string $rule, array|string|Closure $statePaths, bool $isStatePathAbsolute = false)

No description

multiFieldValueComparisonRule(string $rule, string|Closure $statePath, mixed $stateValues, bool $isStatePathAbsolute = false)

No description

disableGrammarly(bool|Closure $condition = true)

No description

bool
isGrammarlyDisabled()

No description

extraFieldWrapperAttributes(array|Closure $attributes, bool $merge = false)

No description

ComponentAttributeBag
helperText(Htmlable|Closure|null $text)

No description

Htmlable|null
getHelperText()

No description

hint(Htmlable|Closure|null $hint)

No description

from  HasHint
hintColor(string|array|Closure|null $color)

No description

from  HasHint
hintIcon(string|Closure|null $icon, string|Closure|null $tooltip = null)

No description

from  HasHint
hintIconTooltip(string|Closure|null $tooltip)

No description

from  HasHint
hintAction(Action|Closure $action)

No description

from  HasHint
hintActions(array $actions)

No description

from  HasHint
Htmlable|null
getHint()

No description

from  HasHint
string|array|null
getHintColor()

No description

from  HasHint
string|null
getHintIcon()

No description

from  HasHint
string|null
getHintIconTooltip()

No description

from  HasHint
array
getHintActions()

No description

from  HasHint
array
cacheHintActions()

No description

from  HasHint
name(string $name)

No description

from  HasName
string
getName()

No description

from  HasName
__construct(string $name)

No description

from  Field
static Field
make(string $name)

No description

from  Field
cloneable(bool|Closure $condition = true)

No description

bool
isCloneable()

No description

collapsed(bool|Closure $condition = true, bool $shouldMakeComponentCollapsible = true)

No description

bool
isCollapsed(ComponentContainer|null $item = null)

No description

collapsible(bool|Closure|null $condition = true)

No description

bool
isCollapsible()

No description

persistCollapsed(bool|Closure $condition = true)

No description

bool
shouldPersistCollapsed()

No description

generateUuidUsing(Closure|bool|null $callback)

No description

string|null
generateUuid()

No description

static Closure
fake()

No description

maxItems(int|Closure|null $count)

No description

minItems(int|Closure|null $count)

No description

int|null
getMaxItems()

No description

int|null
getMinItems()

No description

int
getItemsCount()

No description

grid(array|int|string|null $columns = 2)

No description

array|int|string|null
getGridColumns(string|null $breakpoint = null)

No description

extraItemActions(array $actions)

No description

array
getExtraItemActions()

No description

array
cacheExtraItemActions()

No description

getAddAction()

No description

from  Repeater
addActionAlignment(Alignment|string|Closure|null $addActionAlignment)

No description

from  Repeater
Alignment|string|null
getAddActionAlignment()

No description

from  Repeater
addAction(Closure|null $callback)

No description

from  Repeater
string
getAddActionName()

No description

from  Repeater
getAddBetweenAction()

No description

from  Repeater
addBetweenAction(Closure|null $callback)

No description

from  Repeater
string
getAddBetweenActionName()

No description

from  Repeater
addBetweenActionLabel(string|Closure|null $label)

No description

from  Repeater
string
getAddBetweenActionLabel()

No description

from  Repeater
getCloneAction()

No description

from  Repeater
cloneAction(Closure|null $callback)

No description

from  Repeater
string
getCloneActionName()

No description

from  Repeater
getDeleteAction()

No description

from  Repeater
deleteAction(Closure|null $callback)

No description

from  Repeater
string
getDeleteActionName()

No description

from  Repeater
getMoveDownAction()

No description

from  Repeater
moveDownAction(Closure|null $callback)

No description

from  Repeater
string
getMoveDownActionName()

No description

from  Repeater
getMoveUpAction()

No description

from  Repeater
moveUpAction(Closure|null $callback)

No description

from  Repeater
string
getMoveUpActionName()

No description

from  Repeater
getReorderAction()

No description

from  Repeater
reorderAction(Closure|null $callback)

No description

from  Repeater
string
getReorderActionName()

No description

from  Repeater
getCollapseAction()

No description

from  Repeater
collapseAction(Closure|null $callback)

No description

from  Repeater
string
getCollapseActionName()

No description

from  Repeater
getExpandAction()

No description

from  Repeater
expandAction(Closure|null $callback)

No description

from  Repeater
string
getExpandActionName()

No description

from  Repeater
getCollapseAllAction()

No description

from  Repeater
collapseAllAction(Closure|null $callback)

No description

from  Repeater
string
getCollapseAllActionName()

No description

from  Repeater
getExpandAllAction()

No description

from  Repeater
expandAllAction(Closure|null $callback)

No description

from  Repeater
string
getExpandAllActionName()

No description

from  Repeater
addActionLabel(string|Closure|null $label)

No description

from  Repeater
createItemButtonLabel(string|Closure|null $label) deprecated

No description

from  Repeater
labelBetweenItems(string|Closure|null $label)

No description

from  Repeater
truncateItemLabel(bool|Closure $condition = true)

No description

from  Repeater
defaultItems(int|Closure $count)

No description

from  Repeater
addable(bool|Closure $condition = true)

No description

from  Repeater
deletable(bool|Closure $condition = true)

No description

from  Repeater
reorderable(bool|Closure $condition = true)

No description

from  Repeater
disableItemCreation(bool|Closure $condition = true) deprecated

No description

from  Repeater
disableItemDeletion(bool|Closure $condition = true) deprecated

No description

from  Repeater
disableItemMovement(bool|Closure $condition = true) deprecated

No description

from  Repeater
reorderableWithDragAndDrop(bool|Closure $condition = true)

No description

from  Repeater
reorderableWithButtons(bool|Closure $condition = true)

No description

from  Repeater
inset(bool|Closure $condition = true) deprecated

No description

from  Repeater
string
getAddActionLabel()

No description

from  Repeater
bool
isReorderable()

No description

from  Repeater
bool
isReorderableWithDragAndDrop()

No description

from  Repeater
bool
isReorderableWithButtons()

No description

from  Repeater
bool
isAddable()

No description

from  Repeater
bool
isDeletable()

No description

from  Repeater
orderColumn(string|Closure|null $column = 'sort')

No description

from  Repeater
orderable(string|Closure|null $column = 'sort') deprecated

No description

from  Repeater
relationship(string|Closure|null $name = null, Closure|null $modifyQueryUsing = null)

No description

from  Repeater
void
mergeHydratedDefaultStateWithChildComponentContainerState()

After hydrating the state of child component containers, the default state of fields inside the repeater can be lost, if it was defined on the repeater itself. This method merges the hydrated default state with the state of the child component containers, so that the default state of the fields inside the repeater is preserved.

from  Repeater
itemLabel(string|Closure|null $label)

No description

from  Repeater
void
fillFromRelationship()

No description

from  Repeater
array
getStateFromRelatedRecords(Collection $records)

No description

from  Repeater
string|null
getOrderColumn()

No description

from  Repeater
BelongsToMany|null
getRelationship()

No description

from  Repeater
string|null
getRelationshipName()

No description

from  Repeater
Collection
getCachedExistingRecords()

No description

from  Repeater
Htmlable|null
getItemLabel(string $uuid)

No description

from  Repeater
bool
hasItemLabels()

No description

from  Repeater
simple(Field|Closure|null $field)

No description

from  Repeater
bool
isSimple()

No description

from  Repeater
Field|null
getSimpleField()

No description

from  Repeater
void
clearCachedExistingRecords()

No description

from  Repeater
string
getRelatedModel()

No description

from  Repeater
bool
hasRelationship()

No description

from  Repeater
mutateRelationshipDataBeforeCreateUsing(Closure|null $callback)

No description

from  Repeater
array|null
mutateRelationshipDataBeforeCreate(array $data)

No description

from  Repeater
mutateRelationshipDataBeforeSaveUsing(Closure|null $callback)

No description

from  Repeater
array
mutateRelationshipDataBeforeFill(array $data)

No description

from  Repeater
mutateRelationshipDataBeforeFillUsing(Closure|null $callback)

No description

from  Repeater
array|null
mutateRelationshipDataBeforeSave(array $data, Model $record)

No description

from  Repeater
bool
canConcealComponents()

No description

from  Repeater
string|null
getLabelBetweenItems()

No description

from  Repeater
bool
isItemLabelTruncated()

No description

from  Repeater
array
getItemState(string $uuid)

No description

from  Repeater
array
getRawItemState(string $uuid)

No description

from  Repeater

Details

static mixed configureUsing(Closure $modifyUsing, Closure|null $during = null, bool $isImportant = false)

No description

Parameters

Closure $modifyUsing
Closure|null $during
bool $isImportant

Return Value

mixed

Configurable configure()

No description

Return Value

Configurable

protected void setUp()

No description

Return Value

void

mixed evaluate(mixed $value, array $namedInjections = [], array $typedInjections = [])

No description

Parameters

mixed $value
array $namedInjections
array $typedInjections

Return Value

mixed

protected mixed resolveClosureDependencyForEvaluation(ReflectionParameter $parameter, array $namedInjections, array $typedInjections)

No description

Parameters

ReflectionParameter $parameter
array $namedInjections
array $typedInjections

Return Value

mixed

protected array resolveDefaultClosureDependencyForEvaluationByName(string $parameterName)

No description

Parameters

string $parameterName

Return Value

array

protected array resolveDefaultClosureDependencyForEvaluationByType(string $parameterType)

No description

Parameters

string $parameterType

Return Value

array

protected string|null getTypedReflectionParameterClassName(ReflectionParameter $parameter)

No description

Parameters

ReflectionParameter $parameter

Return Value

string|null

static void macro(string $name, callable $macro)

No description

Parameters

string $name
callable $macro

Return Value

void

static void mixin(object $mixin, bool $replace = true)

No description

Parameters

object $mixin
bool $replace

Return Value

void

static void flushMacros()

No description

Return Value

void

static mixed __callStatic(string $method, array $parameters)

No description

Parameters

string $method
array $parameters

Return Value

mixed

mixed __call(string $method, array $parameters)

No description

Parameters

string $method
array $parameters

Return Value

mixed

static protected callable|null getMacro(string $method)

No description

Parameters

string $method

Return Value

callable|null

ViewComponent view(string|null $view, array $viewData = [])

No description

Parameters

string|null $view
array $viewData

Return Value

ViewComponent

ViewComponent defaultView(string|Closure|null $view)

No description

Parameters

string|Closure|null $view

Return Value

ViewComponent

protected array extractPublicMethods()

No description

Return Value

array

ViewComponent viewData(array $data)

No description

Parameters

array $data

Return Value

ViewComponent

string getView()

No description

Return Value

string

string|null getDefaultView()

No description

Return Value

string|null

string toHtml()

No description

Return Value

string

View render()

No description

Return Value

View

CanGrow grow(bool|Closure|null $condition = true)

No description

Parameters

bool|Closure|null $condition

Return Value

CanGrow

bool canGrow(bool $default = true)

No description

Parameters

bool $default

Return Value

bool

BelongsToContainer container(ComponentContainer $container)

No description

Parameters

ComponentContainer $container

Return Value

BelongsToContainer

ComponentContainer getContainer()

No description

Return Value

ComponentContainer

HasForms getLivewire()

No description

Return Value

HasForms

BelongsToModel model(Model|string|Closure|null $model = null)

No description

Parameters

Model|string|Closure|null $model

Return Value

BelongsToModel

void saveRelationships()

No description

Return Value

void

void saveRelationshipsBeforeChildren()

No description

Return Value

void

void loadStateFromRelationships(bool $andHydrate = false)

No description

Parameters

bool $andHydrate

Return Value

void

BelongsToModel saveRelationshipsUsing(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

BelongsToModel

BelongsToModel saveRelationshipsBeforeChildrenUsing(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

BelongsToModel

BelongsToModel saveRelationshipsWhenDisabled(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

BelongsToModel

bool shouldSaveRelationshipsWhenDisabled()

No description

Return Value

bool

BelongsToModel saveRelationshipsWhenHidden(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

BelongsToModel

bool shouldSaveRelationshipsWhenHidden()

No description

Return Value

bool

BelongsToModel loadStateFromRelationshipsUsing(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

BelongsToModel

string|null getModel()

No description

Return Value

string|null

Model|null getRecord()

No description

Return Value

Model|null

Model|null getModelInstance()

No description

Return Value

Model|null

Component|null getConcealingComponent()

No description

Return Value

Component|null

bool isConcealed()

No description

Return Value

bool

CanBeDisabled disabled(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeDisabled

CanBeDisabled disabledOn(string|array $operations)

No description

Parameters

string|array $operations

Return Value

CanBeDisabled

bool isDisabled()

No description

Return Value

bool

bool isEnabled()

No description

Return Value

bool

CanBeHidden hidden(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeHidden

CanBeHidden hiddenOn(string|array $operations)

No description

Parameters

string|array $operations

Return Value

CanBeHidden

CanBeHidden hiddenWhenAllChildComponentsHidden()

No description

Return Value

CanBeHidden

CanBeHidden whenTruthy(string|array $paths)

No description

Parameters

string|array $paths

Return Value

CanBeHidden

CanBeHidden whenFalsy(string|array $paths)

No description

Parameters

string|array $paths

Return Value

CanBeHidden

CanBeHidden visible(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeHidden

CanBeHidden visibleOn(string|array $operations)

No description

Parameters

string|array $operations

Return Value

CanBeHidden

bool isHidden()

No description

Return Value

bool

bool isVisible()

No description

Return Value

bool

Repeater|null getParentRepeater()

No description

Return Value

Repeater|null

CanSpanColumns columnSpan(array|int|string|Closure|null $span)

No description

Parameters

array|int|string|Closure|null $span

Return Value

CanSpanColumns

CanSpanColumns columnSpanFull()

No description

Return Value

CanSpanColumns

CanSpanColumns columnStart(array|int|string|Closure|null $start)

No description

Parameters

array|int|string|Closure|null $start

Return Value

CanSpanColumns

array|int|string|null getColumnSpan(int|string|null $breakpoint = null)

No description

Parameters

int|string|null $breakpoint

Return Value

array|int|string|null

array|int|string|null getColumnStart(int|string|null $breakpoint = null)

No description

Parameters

int|string|null $breakpoint

Return Value

array|int|string|null

protected Cloneable cloneChildComponents()

No description

Return Value

Cloneable

Cloneable getClone()

No description

Return Value

Cloneable

HasActions registerActions(array $actions)

No description

Parameters

array $actions

Return Value

HasActions

Action|null getAction(string $name)

No description

Parameters

string $name

Return Value

Action|null

array getActions()

No description

Return Value

array

array cacheActions()

No description

Return Value

array

Action prepareAction(Action $action)

No description

Parameters

Action $action

Return Value

Action

HasActions actionFormModel(Model|string|null $model)

No description

Parameters

Model|string|null $model

Return Value

HasActions

Model|string|null getActionFormModel()

No description

Return Value

Model|string|null

bool hasAction(string $name)

No description

Parameters

string $name

Return Value

bool

HasChildComponents childComponents(array|Closure $components)

No description

Parameters

array|Closure $components

Return Value

HasChildComponents

HasChildComponents schema(array|Closure $components)

No description

Parameters

array|Closure $components

Return Value

HasChildComponents

array getChildComponents()

No description

Return Value

array

ComponentContainer getChildComponentContainer(array-key $key = null)

No description

Parameters

array-key $key

Return Value

ComponentContainer

array getChildComponentContainers(bool $withHidden = false)

No description

Parameters

bool $withHidden

Return Value

array

bool hasChildComponentContainer(bool $withHidden = false)

No description

Parameters

bool $withHidden

Return Value

bool

HasFieldWrapper fieldWrapperView(string|Closure|null $view)

No description

Parameters

string|Closure|null $view

Return Value

HasFieldWrapper

string getFieldWrapperView()

No description

Return Value

string

string|null getCustomFieldWrapperView()

No description

Return Value

string|null

HasId id(string|Closure|null $id)

No description

Parameters

string|Closure|null $id

Return Value

HasId

string|null getId()

No description

Return Value

string|null

HasInlineLabel inlineLabel(bool|Closure|null $condition = true)

No description

Parameters

bool|Closure|null $condition

Return Value

HasInlineLabel

bool|null hasInlineLabel()

No description

Return Value

bool|null

HasKey key(string|Closure|null $key)

No description

Parameters

string|Closure|null $key

Return Value

HasKey

string|null getKey()

No description

Return Value

string|null

HasLabel disableLabel(bool|Closure $condition = true) deprecated

deprecated Use `hiddenLabel()` instead.

No description

Parameters

bool|Closure $condition

Return Value

HasLabel

HasLabel hiddenLabel(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

HasLabel

HasLabel label(Htmlable|Closure|null $label)

No description

Parameters

Htmlable|Closure|null $label

Return Value

HasLabel

HasLabel translateLabel(bool $shouldTranslateLabel = true)

No description

Parameters

bool $shouldTranslateLabel

Return Value

HasLabel

Htmlable|null getLabel()

No description

Return Value

Htmlable|null

bool isLabelHidden()

No description

Return Value

bool

HasMaxWidth maxWidth(MaxWidth|string|Closure|null $width)

No description

Parameters

MaxWidth|string|Closure|null $width

Return Value

HasMaxWidth

MaxWidth|string|null getMaxWidth()

No description

Return Value

MaxWidth|string|null

HasMeta meta(string $key, mixed $value)

No description

Parameters

string $key
mixed $value

Return Value

HasMeta

mixed getMeta(string|array|null $keys = null)

No description

Parameters

string|array|null $keys

Return Value

mixed

bool hasMeta(string|array $keys)

No description

Parameters

string|array $keys

Return Value

bool

HasState afterStateHydrated(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

HasState

HasState clearAfterStateUpdatedHooks()

No description

Return Value

HasState

HasState afterStateUpdated(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

HasState

HasState beforeStateDehydrated(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

HasState

HasState callAfterStateHydrated()

No description

Return Value

HasState

HasState callAfterStateUpdated()

No description

Return Value

HasState

protected void callAfterStateUpdatedHook(Closure $hook)

No description

Parameters

Closure $hook

Return Value

void

HasState callBeforeStateDehydrated()

No description

Return Value

HasState

HasState default(mixed $state)

No description

Parameters

mixed $state

Return Value

HasState

HasState dehydrated(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

HasState

HasState dehydratedWhenHidden(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

HasState

HasState formatStateUsing(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

HasState

array getStateToDehydrate()

No description

Return Value

array

void dehydrateState(array $state, bool $isDehydrated = true)

No description

Parameters

array $state
bool $isDehydrated

Return Value

void

HasState dehydrateStateUsing(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

HasState

void hydrateState(array|null $hydratedDefaultState, bool $andCallHydrationHooks = true)

No description

Parameters

array|null $hydratedDefaultState
bool $andCallHydrationHooks

Return Value

void

void fill()

No description

Return Value

void

void hydrateDefaultState(array|null $hydratedDefaultState)

No description

Parameters

array|null $hydratedDefaultState

Return Value

void

void fillStateWithNull()

No description

Return Value

void

mixed mutateDehydratedState(mixed $state)

No description

Parameters

mixed $state

Return Value

mixed

mixed mutateStateForValidation(mixed $state)

No description

Parameters

mixed $state

Return Value

mixed

protected mixed stripCharactersFromState(mixed $state)

No description

Parameters

mixed $state

Return Value

mixed

bool mutatesDehydratedState()

No description

Return Value

bool

bool mutatesStateForValidation()

No description

Return Value

bool

bool hasStripCharacters()

No description

Return Value

bool

HasState mutateDehydratedStateUsing(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

HasState

HasState mutateStateForValidationUsing(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

HasState

HasState state(mixed $state)

No description

Parameters

mixed $state

Return Value

HasState

HasState statePath(string|null $path)

No description

Parameters

string|null $path

Return Value

HasState

mixed getDefaultState()

No description

Return Value

mixed

mixed getState()

No description

Return Value

mixed

mixed getOldState()

No description

Return Value

mixed

string getStatePath(bool $isAbsolute = true)

No description

Parameters

bool $isAbsolute

Return Value

string

bool hasStatePath()

No description

Return Value

bool

protected bool hasDefaultState()

No description

Return Value

bool

bool isDehydrated()

No description

Return Value

bool

bool isDehydratedWhenHidden()

No description

Return Value

bool

bool isHiddenAndNotDehydrated()

No description

Return Value

bool

Get getGetCallback()

No description

Return Value

Get

Set getSetCallback()

No description

Return Value

Set

string generateRelativeStatePath(Component $path = '', bool $isAbsolute = false)

No description

Parameters

Component $path
bool $isAbsolute

Return Value

string

protected void flushCachedAbsoluteStatePath()

No description

Return Value

void

HasState stripCharacters(string|array|Closure|null $characters)

No description

Parameters

string|array|Closure|null $characters

Return Value

HasState

array getStripCharacters()

No description

Return Value

array

ListensToEvents dispatchEvent(string $event, mixed ...$parameters)

No description

Parameters

string $event
mixed ...$parameters

Return Value

ListensToEvents

ListensToEvents registerListeners(array $listeners)

No description

Parameters

array $listeners

Return Value

ListensToEvents

array getListeners(string|null $event = null)

No description

Parameters

string|null $event

Return Value

array

HasColumns columns(array|int|string|null $columns = 2)

No description

Parameters

array|int|string|null $columns

Return Value

HasColumns

array|int|string|null getColumns(string|null $breakpoint = null)

No description

Parameters

string|null $breakpoint

Return Value

array|int|string|null

array getColumnsConfig()

No description

Return Value

array

HasExtraAttributes extraAttributes(array|Closure $attributes, bool $merge = false)

No description

Parameters

array|Closure $attributes
bool $merge

Return Value

HasExtraAttributes

array getExtraAttributes()

No description

Return Value

array

ComponentAttributeBag getExtraAttributeBag()

No description

Return Value

ComponentAttributeBag

HasStateBindingModifiers live(bool $onBlur = false, int|string|null $debounce = null, bool|Closure|null $condition = true)

No description

Parameters

bool $onBlur
int|string|null $debounce
bool|Closure|null $condition

Return Value

HasStateBindingModifiers

HasStateBindingModifiers debounce(int|string|null $delay = 500)

No description

Parameters

int|string|null $delay

Return Value

HasStateBindingModifiers

HasStateBindingModifiers stateBindingModifiers(array|null $modifiers)

No description

Parameters

array|null $modifiers

Return Value

HasStateBindingModifiers

string applyStateBindingModifiers(string $expression, bool $isOptimisticallyLive = true)

No description

Parameters

string $expression
bool $isOptimisticallyLive

Return Value

string

array getStateBindingModifiers(bool $withBlur = true, bool $withDebounce = true, bool $isOptimisticallyLive = true)

No description

Parameters

bool $withBlur
bool $withDebounce
bool $isOptimisticallyLive

Return Value

array

bool isLive()

No description

Return Value

bool

bool isLiveOnBlur()

No description

Return Value

bool

bool isLazy()

No description

Return Value

bool

bool isLiveDebounced()

No description

Return Value

bool

int|string|null getLiveDebounce()

No description

Return Value

int|string|null

int|null getNormalizedLiveDebounce()

No description

Return Value

int|null

CanBeAutofocused autofocus(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeAutofocused

bool isAutofocused()

No description

Return Value

bool

CanBeMarkedAsRequired markAsRequired(bool|Closure|null $condition = true)

No description

Parameters

bool|Closure|null $condition

Return Value

CanBeMarkedAsRequired

bool isMarkedAsRequired()

No description

Return Value

bool

CanBeValidated activeUrl(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated alpha(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated alphaDash(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated alphaNum(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated ascii(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated confirmed(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated doesntStartWith(Arrayable|string|Closure $values, bool|Closure $condition = true)

No description

Parameters

Arrayable|string|Closure $values
bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated doesntEndWith(Arrayable|string|Closure $values, bool|Closure $condition = true)

No description

Parameters

Arrayable|string|Closure $values
bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated endsWith(Arrayable|string|Closure $values, bool|Closure $condition = true)

No description

Parameters

Arrayable|string|Closure $values
bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated enum(string|Closure $enum)

No description

Parameters

string|Closure $enum

Return Value

CanBeValidated

CanBeValidated exists(string|Closure|null $table = null, string|Closure|null $column = null, Closure|null $modifyRuleUsing = null)

No description

Parameters

string|Closure|null $table
string|Closure|null $column
Closure|null $modifyRuleUsing

Return Value

CanBeValidated

CanBeValidated filled(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated hexColor(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated in(Arrayable|string|Closure $values, bool|Closure $condition = true)

No description

Parameters

Arrayable|string|Closure $values
bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated ip(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated ipv4(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated ipv6(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated json(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated macAddress(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated multipleOf(int|float|Closure $value)

No description

Parameters

int|float|Closure $value

Return Value

CanBeValidated

CanBeValidated notIn(Arrayable|string|Closure $values, bool|Closure $condition = true)

No description

Parameters

Arrayable|string|Closure $values
bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated notRegex(string|Closure|null $pattern)

No description

Parameters

string|Closure|null $pattern

Return Value

CanBeValidated

CanBeValidated nullable(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated prohibited(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated prohibitedIf(string|Closure $statePath, mixed $stateValues, bool $isStatePathAbsolute = false)

No description

Parameters

string|Closure $statePath
mixed $stateValues
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated prohibitedUnless(string|Closure $statePath, mixed $stateValues, bool $isStatePathAbsolute = false)

No description

Parameters

string|Closure $statePath
mixed $stateValues
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated prohibits(array|string|Closure $statePaths, bool $isStatePathAbsolute = false)

No description

Parameters

array|string|Closure $statePaths
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated required(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated requiredIf(string|Closure $statePath, mixed $stateValues, bool $isStatePathAbsolute = false)

No description

Parameters

string|Closure $statePath
mixed $stateValues
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated requiredIfAccepted(string|Closure $statePath, bool $isStatePathAbsolute = false)

No description

Parameters

string|Closure $statePath
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated requiredUnless(string|Closure $statePath, mixed $stateValues, bool $isStatePathAbsolute = false)

No description

Parameters

string|Closure $statePath
mixed $stateValues
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated requiredWith(string|array|Closure $statePaths, bool $isStatePathAbsolute = false)

No description

Parameters

string|array|Closure $statePaths
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated requiredWithAll(string|array|Closure $statePaths, bool $isStatePathAbsolute = false)

No description

Parameters

string|array|Closure $statePaths
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated requiredWithout(string|array|Closure $statePaths, bool $isStatePathAbsolute = false)

No description

Parameters

string|array|Closure $statePaths
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated requiredWithoutAll(string|array|Closure $statePaths, bool $isStatePathAbsolute = false)

No description

Parameters

string|array|Closure $statePaths
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated regex(string|Closure|null $pattern)

No description

Parameters

string|Closure|null $pattern

Return Value

CanBeValidated

CanBeValidated startsWith(Arrayable|string|Closure $values, bool|Closure $condition = true)

No description

Parameters

Arrayable|string|Closure $values
bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated string(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated ulid(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated uuid(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated rule(mixed $rule, bool|Closure $condition = true)

No description

Parameters

mixed $rule
bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated rules(string|array|Closure $rules, bool|Closure $condition = true)

No description

Parameters

string|array|Closure $rules
bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated after(string|Closure $date, bool $isStatePathAbsolute = false)

No description

Parameters

string|Closure $date
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated afterOrEqual(string|Closure $date, bool $isStatePathAbsolute = false)

No description

Parameters

string|Closure $date
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated before(string|Closure $date, bool $isStatePathAbsolute = false)

No description

Parameters

string|Closure $date
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated beforeOrEqual(string|Closure $date, bool $isStatePathAbsolute = false)

No description

Parameters

string|Closure $date
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated different(string|Closure $statePath, bool $isStatePathAbsolute = false)

No description

Parameters

string|Closure $statePath
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated gt(string|Closure $statePath, bool $isStatePathAbsolute = false)

No description

Parameters

string|Closure $statePath
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated gte(string|Closure $statePath, bool $isStatePathAbsolute = false)

No description

Parameters

string|Closure $statePath
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated lt(string|Closure $statePath, bool $isStatePathAbsolute = false)

No description

Parameters

string|Closure $statePath
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated lte(string|Closure $statePath, bool $isStatePathAbsolute = false)

No description

Parameters

string|Closure $statePath
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated same(string|Closure $statePath, bool $isStatePathAbsolute = false)

No description

Parameters

string|Closure $statePath
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated unique(string|Closure|null $table = null, string|Closure|null $column = null, Model|Closure|null $ignorable = null, bool $ignoreRecord = false, Closure|null $modifyRuleUsing = null)

No description

Parameters

string|Closure|null $table
string|Closure|null $column
Model|Closure|null $ignorable
bool $ignoreRecord
Closure|null $modifyRuleUsing

Return Value

CanBeValidated

CanBeValidated distinct(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated validationAttribute(string|Closure|null $label)

No description

Parameters

string|Closure|null $label

Return Value

CanBeValidated

CanBeValidated validationMessages(array $messages)

No description

Parameters

array $messages

Return Value

CanBeValidated

string|null getRegexPattern()

No description

Return Value

string|null

string getRequiredValidationRule()

No description

Return Value

string

string getValidationAttribute()

No description

Return Value

string

array getValidationMessages()

No description

Return Value

array

array getValidationRules()

No description

Return Value

array

void dehydrateValidationMessages(array $messages)

No description

Parameters

array $messages

Return Value

void

void dehydrateValidationRules(array $rules)

No description

Parameters

array $rules

Return Value

void

void dehydrateValidationAttributes(array $attributes)

No description

Parameters

array $attributes

Return Value

void

bool isRequired()

No description

Return Value

bool

CanBeValidated dateComparisonRule(string $rule, string|Closure $date, bool $isStatePathAbsolute = false)

No description

Parameters

string $rule
string|Closure $date
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated fieldComparisonRule(string $rule, string|Closure $statePath, bool $isStatePathAbsolute = false)

No description

Parameters

string $rule
string|Closure $statePath
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated multiFieldComparisonRule(string $rule, array|string|Closure $statePaths, bool $isStatePathAbsolute = false)

No description

Parameters

string $rule
array|string|Closure $statePaths
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated multiFieldValueComparisonRule(string $rule, string|Closure $statePath, mixed $stateValues, bool $isStatePathAbsolute = false)

No description

Parameters

string $rule
string|Closure $statePath
mixed $stateValues
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanDisableGrammarly disableGrammarly(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanDisableGrammarly

bool isGrammarlyDisabled()

No description

Return Value

bool

HasExtraFieldWrapperAttributes extraFieldWrapperAttributes(array|Closure $attributes, bool $merge = false)

No description

Parameters

array|Closure $attributes
bool $merge

Return Value

HasExtraFieldWrapperAttributes

array getExtraFieldWrapperAttributes()

No description

Return Value

array

ComponentAttributeBag getExtraFieldWrapperAttributesBag()

No description

Return Value

ComponentAttributeBag

HasHelperText helperText(Htmlable|Closure|null $text)

No description

Parameters

Htmlable|Closure|null $text

Return Value

HasHelperText

Htmlable|null getHelperText()

No description

Return Value

Htmlable|null

HasHint hint(Htmlable|Closure|null $hint)

No description

Parameters

Htmlable|Closure|null $hint

Return Value

HasHint

HasHint hintColor(string|array|Closure|null $color)

No description

Parameters

string|array|Closure|null $color

Return Value

HasHint

HasHint hintIcon(string|Closure|null $icon, string|Closure|null $tooltip = null)

No description

Parameters

string|Closure|null $icon
string|Closure|null $tooltip

Return Value

HasHint

HasHint hintIconTooltip(string|Closure|null $tooltip)

No description

Parameters

string|Closure|null $tooltip

Return Value

HasHint

HasHint hintAction(Action|Closure $action)

No description

Parameters

Action|Closure $action

Return Value

HasHint

HasHint hintActions(array $actions)

No description

Parameters

array $actions

Return Value

HasHint

Htmlable|null getHint()

No description

Return Value

Htmlable|null

string|array|null getHintColor()

No description

Return Value

string|array|null

| array{50: string, 100: string, 200: string, 300: string, 400: string, 500: string, 600: string, 700: string, 800: string, 900: string, 950: string} | null

string|null getHintIcon()

No description

Return Value

string|null

string|null getHintIconTooltip()

No description

Return Value

string|null

array getHintActions()

No description

Return Value

array

array cacheHintActions()

No description

Return Value

array

HasName name(string $name)

No description

Parameters

string $name

Return Value

HasName

string getName()

No description

Return Value

string

final __construct(string $name)

No description

Parameters

string $name

static Field make(string $name)

No description

Parameters

string $name

Return Value

Field

CanBeCloned cloneable(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeCloned

bool isCloneable()

No description

Return Value

bool

CanBeCollapsed collapsed(bool|Closure $condition = true, bool $shouldMakeComponentCollapsible = true)

No description

Parameters

bool|Closure $condition
bool $shouldMakeComponentCollapsible

Return Value

CanBeCollapsed

bool isCollapsed(ComponentContainer|null $item = null)

No description

Parameters

ComponentContainer|null $item

Return Value

bool

CanBeCollapsed collapsible(bool|Closure|null $condition = true)

No description

Parameters

bool|Closure|null $condition

Return Value

CanBeCollapsed

bool isCollapsible()

No description

Return Value

bool

CanBeCollapsed persistCollapsed(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeCollapsed

bool shouldPersistCollapsed()

No description

Return Value

bool

CanGenerateUuids generateUuidUsing(Closure|bool|null $callback)

No description

Parameters

Closure|bool|null $callback

Return Value

CanGenerateUuids

string|null generateUuid()

No description

Return Value

string|null

static Closure fake()

No description

Return Value

Closure

CanLimitItemsLength maxItems(int|Closure|null $count)

No description

Parameters

int|Closure|null $count

Return Value

CanLimitItemsLength

CanLimitItemsLength minItems(int|Closure|null $count)

No description

Parameters

int|Closure|null $count

Return Value

CanLimitItemsLength

int|null getMaxItems()

No description

Return Value

int|null

int|null getMinItems()

No description

Return Value

int|null

int getItemsCount()

No description

Return Value

int

HasContainerGridLayout grid(array|int|string|null $columns = 2)

No description

Parameters

array|int|string|null $columns

Return Value

HasContainerGridLayout

array|int|string|null getGridColumns(string|null $breakpoint = null)

No description

Parameters

string|null $breakpoint

Return Value

array|int|string|null

HasExtraItemActions extraItemActions(array $actions)

No description

Parameters

array $actions

Return Value

HasExtraItemActions

array getExtraItemActions()

No description

Return Value

array

array cacheExtraItemActions()

No description

Return Value

array

HasReorderAnimationDuration reorderAnimationDuration(int|Closure $animation)

No description

Parameters

int|Closure $animation

Return Value

HasReorderAnimationDuration

int getReorderAnimationDuration()

No description

Return Value

int

Action getAddAction()

No description

Return Value

Action

Repeater addActionAlignment(Alignment|string|Closure|null $addActionAlignment)

No description

Parameters

Alignment|string|Closure|null $addActionAlignment

Return Value

Repeater

Alignment|string|null getAddActionAlignment()

No description

Return Value

Alignment|string|null

Repeater addAction(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

Repeater

string getAddActionName()

No description

Return Value

string

Action getAddBetweenAction()

No description

Return Value

Action

Repeater addBetweenAction(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

Repeater

string getAddBetweenActionName()

No description

Return Value

string

Repeater addBetweenActionLabel(string|Closure|null $label)

No description

Parameters

string|Closure|null $label

Return Value

Repeater

string getAddBetweenActionLabel()

No description

Return Value

string

Action getCloneAction()

No description

Return Value

Action

Repeater cloneAction(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

Repeater

string getCloneActionName()

No description

Return Value

string

Action getDeleteAction()

No description

Return Value

Action

Repeater deleteAction(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

Repeater

string getDeleteActionName()

No description

Return Value

string

Action getMoveDownAction()

No description

Return Value

Action

Repeater moveDownAction(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

Repeater

string getMoveDownActionName()

No description

Return Value

string

Action getMoveUpAction()

No description

Return Value

Action

Repeater moveUpAction(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

Repeater

string getMoveUpActionName()

No description

Return Value

string

Action getReorderAction()

No description

Return Value

Action

Repeater reorderAction(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

Repeater

string getReorderActionName()

No description

Return Value

string

Action getCollapseAction()

No description

Return Value

Action

Repeater collapseAction(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

Repeater

string getCollapseActionName()

No description

Return Value

string

Action getExpandAction()

No description

Return Value

Action

Repeater expandAction(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

Repeater

string getExpandActionName()

No description

Return Value

string

Action getCollapseAllAction()

No description

Return Value

Action

Repeater collapseAllAction(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

Repeater

string getCollapseAllActionName()

No description

Return Value

string

Action getExpandAllAction()

No description

Return Value

Action

Repeater expandAllAction(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

Repeater

string getExpandAllActionName()

No description

Return Value

string

Repeater addActionLabel(string|Closure|null $label)

No description

Parameters

string|Closure|null $label

Return Value

Repeater

Repeater createItemButtonLabel(string|Closure|null $label) deprecated

deprecated Use `addActionLabel()` instead.

No description

Parameters

string|Closure|null $label

Return Value

Repeater

Repeater labelBetweenItems(string|Closure|null $label)

No description

Parameters

string|Closure|null $label

Return Value

Repeater

Repeater truncateItemLabel(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

Repeater

Repeater defaultItems(int|Closure $count)

No description

Parameters

int|Closure $count

Return Value

Repeater

Repeater addable(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

Repeater

Repeater deletable(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

Repeater

Repeater reorderable(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

Repeater

Repeater disableItemCreation(bool|Closure $condition = true) deprecated

deprecated Use `addable()` instead.

No description

Parameters

bool|Closure $condition

Return Value

Repeater

Repeater disableItemDeletion(bool|Closure $condition = true) deprecated

deprecated Use `deletable()` instead.

No description

Parameters

bool|Closure $condition

Return Value

Repeater

Repeater disableItemMovement(bool|Closure $condition = true) deprecated

deprecated Use `reorderable()` instead.

No description

Parameters

bool|Closure $condition

Return Value

Repeater

Repeater reorderableWithDragAndDrop(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

Repeater

Repeater reorderableWithButtons(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

Repeater

Repeater inset(bool|Closure $condition = true) deprecated

deprecated No longer part of the design system.

No description

Parameters

bool|Closure $condition

Return Value

Repeater

string getAddActionLabel()

No description

Return Value

string

bool isReorderable()

No description

Return Value

bool

bool isReorderableWithDragAndDrop()

No description

Return Value

bool

bool isReorderableWithButtons()

No description

Return Value

bool

bool isAddable()

No description

Return Value

bool

bool isDeletable()

No description

Return Value

bool

Repeater orderColumn(string|Closure|null $column = 'sort')

No description

Parameters

string|Closure|null $column

Return Value

Repeater

Repeater orderable(string|Closure|null $column = 'sort') deprecated

deprecated Use `orderColumn()` instead.

No description

Parameters

string|Closure|null $column

Return Value

Repeater

Repeater relationship(string|Closure|null $name = null, Closure|null $modifyQueryUsing = null)

No description

Parameters

string|Closure|null $name
Closure|null $modifyQueryUsing

Return Value

Repeater

protected void mergeHydratedDefaultStateWithChildComponentContainerState()

After hydrating the state of child component containers, the default state of fields inside the repeater can be lost, if it was defined on the repeater itself. This method merges the hydrated default state with the state of the child component containers, so that the default state of the fields inside the repeater is preserved.

Return Value

void

Repeater itemLabel(string|Closure|null $label)

No description

Parameters

string|Closure|null $label

Return Value

Repeater

void fillFromRelationship()

No description

Return Value

void

protected array getStateFromRelatedRecords(Collection $records)

No description

Parameters

Collection $records

Return Value

array

string|null getOrderColumn()

No description

Return Value

string|null

BelongsToMany|null getRelationship()

No description

Return Value

BelongsToMany|null

string|null getRelationshipName()

No description

Return Value

string|null

Collection getCachedExistingRecords()

No description

Return Value

Collection

Htmlable|null getItemLabel(string $uuid)

No description

Parameters

string $uuid

Return Value

Htmlable|null

bool hasItemLabels()

No description

Return Value

bool

Repeater simple(Field|Closure|null $field)

No description

Parameters

Field|Closure|null $field

Return Value

Repeater

bool isSimple()

No description

Return Value

bool

Field|null getSimpleField()

No description

Return Value

Field|null

void clearCachedExistingRecords()

No description

Return Value

void

string getRelatedModel()

No description

Return Value

string

bool hasRelationship()

No description

Return Value

bool

Repeater mutateRelationshipDataBeforeCreateUsing(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

Repeater

array|null mutateRelationshipDataBeforeCreate(array $data)

No description

Parameters

array $data

Return Value

array|null

| null

Repeater mutateRelationshipDataBeforeSaveUsing(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

Repeater

array mutateRelationshipDataBeforeFill(array $data)

No description

Parameters

array $data

Return Value

array

Repeater mutateRelationshipDataBeforeFillUsing(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

Repeater

array|null mutateRelationshipDataBeforeSave(array $data, Model $record)

No description

Parameters

array $data
Model $record

Return Value

array|null

| null

bool canConcealComponents()

No description

Return Value

bool

string|null getLabelBetweenItems()

No description

Return Value

string|null

bool isItemLabelTruncated()

No description

Return Value

bool

array getItemState(string $uuid)

No description

Parameters

string $uuid

Return Value

array

array getRawItemState(string $uuid)

No description

Parameters

string $uuid

Return Value

array