MorphManyRepeater deprecated
class MorphManyRepeater extends RelationshipRepeater (View source)
deprecated
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
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
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.
No description
Details
static mixed
configureUsing(Closure $modifyUsing, Closure|null $during = null, bool $isImportant = false)
No description
Configurable
configure()
No description
protected void
setUp()
No description
mixed
evaluate(mixed $value, array $namedInjections = [], array $typedInjections = [])
No description
protected mixed
resolveClosureDependencyForEvaluation(ReflectionParameter $parameter, array $namedInjections, array $typedInjections)
No description
protected array
resolveDefaultClosureDependencyForEvaluationByName(string $parameterName)
No description
protected array
resolveDefaultClosureDependencyForEvaluationByType(string $parameterType)
No description
protected string|null
getTypedReflectionParameterClassName(ReflectionParameter $parameter)
No description
static void
macro(string $name, callable $macro)
No description
static void
mixin(object $mixin, bool $replace = true)
No description
static void
flushMacros()
No description
static mixed
__callStatic(string $method, array $parameters)
No description
mixed
__call(string $method, array $parameters)
No description
static protected callable|null
getMacro(string $method)
No description
ViewComponent
view(string|null $view, array $viewData = [])
No description
ViewComponent
defaultView(string|Closure|null $view)
No description
protected array
extractPublicMethods()
No description
ViewComponent
viewData(array $data)
No description
string
getView()
No description
string|null
getDefaultView()
No description
string
toHtml()
No description
View
render()
No description
CanGrow
grow(bool|Closure|null $condition = true)
No description
bool
canGrow(bool $default = true)
No description
BelongsToContainer
container(ComponentContainer $container)
No description
ComponentContainer
getContainer()
No description
HasForms
getLivewire()
No description
BelongsToModel
model(Model|string|Closure|null $model = null)
No description
void
saveRelationships()
No description
void
saveRelationshipsBeforeChildren()
No description
void
loadStateFromRelationships(bool $andHydrate = false)
No description
BelongsToModel
saveRelationshipsUsing(Closure|null $callback)
No description
BelongsToModel
saveRelationshipsBeforeChildrenUsing(Closure|null $callback)
No description
BelongsToModel
saveRelationshipsWhenDisabled(bool|Closure $condition = true)
No description
bool
shouldSaveRelationshipsWhenDisabled()
No description
BelongsToModel
saveRelationshipsWhenHidden(bool|Closure $condition = true)
No description
bool
shouldSaveRelationshipsWhenHidden()
No description
BelongsToModel
loadStateFromRelationshipsUsing(Closure|null $callback)
No description
string|null
getModel()
No description
Model|null
getRecord()
No description
Model|null
getModelInstance()
No description
Component|null
getConcealingComponent()
No description
bool
isConcealed()
No description
CanBeDisabled
disabled(bool|Closure $condition = true)
No description
CanBeDisabled
disabledOn(string|array $operations)
No description
bool
isDisabled()
No description
bool
isEnabled()
No description
CanBeHidden
hidden(bool|Closure $condition = true)
No description
CanBeHidden
hiddenOn(string|array $operations)
No description
CanBeHidden
hiddenWhenAllChildComponentsHidden()
No description
CanBeHidden
whenTruthy(string|array $paths)
No description
CanBeHidden
whenFalsy(string|array $paths)
No description
CanBeHidden
visible(bool|Closure $condition = true)
No description
CanBeHidden
visibleOn(string|array $operations)
No description
bool
isHidden()
No description
bool
isVisible()
No description
Repeater|null
getParentRepeater()
No description
CanSpanColumns
columnSpan(array|int|string|Closure|null $span)
No description
CanSpanColumns
columnSpanFull()
No description
CanSpanColumns
columnStart(array|int|string|Closure|null $start)
No description
array|int|string|null
getColumnSpan(int|string|null $breakpoint = null)
No description
array|int|string|null
getColumnStart(int|string|null $breakpoint = null)
No description
Cloneable
getClone()
No description
HasActions
registerActions(array $actions)
No description
Action|null
getAction(string $name)
No description
array
getActions()
No description
array
cacheActions()
No description
HasActions
actionFormModel(Model|string|null $model)
No description
Model|string|null
getActionFormModel()
No description
bool
hasAction(string $name)
No description
HasChildComponents
childComponents(array|Closure $components)
No description
HasChildComponents
schema(array|Closure $components)
No description
array
getChildComponents()
No description
ComponentContainer
getChildComponentContainer(array-key $key = null)
No description
array
getChildComponentContainers(bool $withHidden = false)
No description
bool
hasChildComponentContainer(bool $withHidden = false)
No description
HasFieldWrapper
fieldWrapperView(string|Closure|null $view)
No description
string
getFieldWrapperView()
No description
string|null
getCustomFieldWrapperView()
No description
in
HasId at line 11
HasId
id(string|Closure|null $id)
No description
in
HasId at line 18
string|null
getId()
No description
HasInlineLabel
inlineLabel(bool|Closure|null $condition = true)
No description
bool|null
hasInlineLabel()
No description
in
HasKey at line 11
HasKey
key(string|Closure|null $key)
No description
in
HasKey at line 18
string|null
getKey()
No description
HasLabel
disableLabel(bool|Closure $condition = true)
deprecated
deprecated
No description
HasLabel
hiddenLabel(bool|Closure $condition = true)
No description
HasLabel
label(Htmlable|Closure|null $label)
No description
HasLabel
translateLabel(bool $shouldTranslateLabel = true)
No description
Htmlable|null
getLabel()
No description
bool
isLabelHidden()
No description
HasMaxWidth
maxWidth(MaxWidth|string|Closure|null $width)
No description
MaxWidth|string|null
getMaxWidth()
No description
HasMeta
meta(string $key, mixed $value)
No description
mixed
getMeta(string|array|null $keys = null)
No description
bool
hasMeta(string|array $keys)
No description
HasState
clearAfterStateUpdatedHooks()
No description
HasState
callAfterStateHydrated()
No description
HasState
callAfterStateUpdated()
No description
protected void
callAfterStateUpdatedHook(Closure $hook)
No description
HasState
callBeforeStateDehydrated()
No description
HasState
default(mixed $state)
No description
HasState
dehydrated(bool|Closure $condition = true)
No description
HasState
dehydratedWhenHidden(bool|Closure $condition = true)
No description
array
getStateToDehydrate()
No description
void
dehydrateState(array $state, bool $isDehydrated = true)
No description
void
hydrateState(array|null $hydratedDefaultState, bool $andCallHydrationHooks = true)
No description
void
fill()
No description
void
hydrateDefaultState(array|null $hydratedDefaultState)
No description
void
fillStateWithNull()
No description
mixed
mutateDehydratedState(mixed $state)
No description
mixed
mutateStateForValidation(mixed $state)
No description
protected mixed
stripCharactersFromState(mixed $state)
No description
bool
mutatesDehydratedState()
No description
bool
mutatesStateForValidation()
No description
bool
hasStripCharacters()
No description
HasState
state(mixed $state)
No description
HasState
statePath(string|null $path)
No description
mixed
getDefaultState()
No description
mixed
getState()
No description
mixed
getOldState()
No description
string
getStatePath(bool $isAbsolute = true)
No description
bool
hasStatePath()
No description
protected bool
hasDefaultState()
No description
bool
isDehydrated()
No description
bool
isDehydratedWhenHidden()
No description
bool
isHiddenAndNotDehydrated()
No description
Get
getGetCallback()
No description
Set
getSetCallback()
No description
string
generateRelativeStatePath(Component $path = '', bool $isAbsolute = false)
No description
protected void
flushCachedAbsoluteStatePath()
No description
HasState
stripCharacters(string|array|Closure|null $characters)
No description
array
getStripCharacters()
No description
ListensToEvents
dispatchEvent(string $event, mixed ...$parameters)
No description
ListensToEvents
registerListeners(array $listeners)
No description
array
getListeners(string|null $event = null)
No description
HasColumns
columns(array|int|string|null $columns = 2)
No description
array|int|string|null
getColumns(string|null $breakpoint = null)
No description
array
getColumnsConfig()
No description
HasExtraAttributes
extraAttributes(array|Closure $attributes, bool $merge = false)
No description
array
getExtraAttributes()
No description
ComponentAttributeBag
getExtraAttributeBag()
No description
HasStateBindingModifiers
live(bool $onBlur = false, int|string|null $debounce = null, bool|Closure|null $condition = true)
No description
HasStateBindingModifiers
reactive()
No description
HasStateBindingModifiers
lazy()
No description
HasStateBindingModifiers
debounce(int|string|null $delay = 500)
No description
HasStateBindingModifiers
stateBindingModifiers(array|null $modifiers)
No description
string
applyStateBindingModifiers(string $expression, bool $isOptimisticallyLive = true)
No description
array
getStateBindingModifiers(bool $withBlur = true, bool $withDebounce = true, bool $isOptimisticallyLive = true)
No description
bool
isLive()
No description
bool
isLiveOnBlur()
No description
bool
isLazy()
No description
bool
isLiveDebounced()
No description
int|string|null
getLiveDebounce()
No description
int|null
getNormalizedLiveDebounce()
No description
CanBeAutofocused
autofocus(bool|Closure $condition = true)
No description
bool
isAutofocused()
No description
CanBeMarkedAsRequired
markAsRequired(bool|Closure|null $condition = true)
No description
bool
isMarkedAsRequired()
No description
CanBeValidated
activeUrl(bool|Closure $condition = true)
No description
CanBeValidated
alpha(bool|Closure $condition = true)
No description
CanBeValidated
alphaDash(bool|Closure $condition = true)
No description
CanBeValidated
alphaNum(bool|Closure $condition = true)
No description
CanBeValidated
ascii(bool|Closure $condition = true)
No description
CanBeValidated
confirmed(bool|Closure $condition = true)
No description
CanBeValidated
doesntStartWith(Arrayable|string|Closure $values, bool|Closure $condition = true)
No description
CanBeValidated
doesntEndWith(Arrayable|string|Closure $values, bool|Closure $condition = true)
No description
CanBeValidated
endsWith(Arrayable|string|Closure $values, bool|Closure $condition = true)
No description
CanBeValidated
enum(string|Closure $enum)
No description
CanBeValidated
exists(string|Closure|null $table = null, string|Closure|null $column = null, Closure|null $modifyRuleUsing = null)
No description
CanBeValidated
filled(bool|Closure $condition = true)
No description
CanBeValidated
hexColor(bool|Closure $condition = true)
No description
CanBeValidated
in(Arrayable|string|Closure $values, bool|Closure $condition = true)
No description
CanBeValidated
ip(bool|Closure $condition = true)
No description
CanBeValidated
ipv4(bool|Closure $condition = true)
No description
CanBeValidated
ipv6(bool|Closure $condition = true)
No description
CanBeValidated
json(bool|Closure $condition = true)
No description
CanBeValidated
macAddress(bool|Closure $condition = true)
No description
CanBeValidated
multipleOf(int|float|Closure $value)
No description
CanBeValidated
notIn(Arrayable|string|Closure $values, bool|Closure $condition = true)
No description
CanBeValidated
notRegex(string|Closure|null $pattern)
No description
CanBeValidated
nullable(bool|Closure $condition = true)
No description
CanBeValidated
prohibited(bool|Closure $condition = true)
No description
CanBeValidated
prohibitedIf(string|Closure $statePath, mixed $stateValues, bool $isStatePathAbsolute = false)
No description
CanBeValidated
prohibitedUnless(string|Closure $statePath, mixed $stateValues, bool $isStatePathAbsolute = false)
No description
CanBeValidated
prohibits(array|string|Closure $statePaths, bool $isStatePathAbsolute = false)
No description
CanBeValidated
required(bool|Closure $condition = true)
No description
CanBeValidated
requiredIf(string|Closure $statePath, mixed $stateValues, bool $isStatePathAbsolute = false)
No description
CanBeValidated
requiredIfAccepted(string|Closure $statePath, bool $isStatePathAbsolute = false)
No description
CanBeValidated
requiredUnless(string|Closure $statePath, mixed $stateValues, bool $isStatePathAbsolute = false)
No description
CanBeValidated
requiredWith(string|array|Closure $statePaths, bool $isStatePathAbsolute = false)
No description
CanBeValidated
requiredWithAll(string|array|Closure $statePaths, bool $isStatePathAbsolute = false)
No description
CanBeValidated
requiredWithout(string|array|Closure $statePaths, bool $isStatePathAbsolute = false)
No description
CanBeValidated
requiredWithoutAll(string|array|Closure $statePaths, bool $isStatePathAbsolute = false)
No description
CanBeValidated
regex(string|Closure|null $pattern)
No description
CanBeValidated
startsWith(Arrayable|string|Closure $values, bool|Closure $condition = true)
No description
CanBeValidated
string(bool|Closure $condition = true)
No description
CanBeValidated
ulid(bool|Closure $condition = true)
No description
CanBeValidated
uuid(bool|Closure $condition = true)
No description
CanBeValidated
rule(mixed $rule, bool|Closure $condition = true)
No description
CanBeValidated
rules(string|array|Closure $rules, bool|Closure $condition = true)
No description
CanBeValidated
after(string|Closure $date, bool $isStatePathAbsolute = false)
No description
CanBeValidated
afterOrEqual(string|Closure $date, bool $isStatePathAbsolute = false)
No description
CanBeValidated
before(string|Closure $date, bool $isStatePathAbsolute = false)
No description
CanBeValidated
beforeOrEqual(string|Closure $date, bool $isStatePathAbsolute = false)
No description
CanBeValidated
different(string|Closure $statePath, bool $isStatePathAbsolute = false)
No description
CanBeValidated
gt(string|Closure $statePath, bool $isStatePathAbsolute = false)
No description
CanBeValidated
gte(string|Closure $statePath, bool $isStatePathAbsolute = false)
No description
CanBeValidated
lt(string|Closure $statePath, bool $isStatePathAbsolute = false)
No description
CanBeValidated
lte(string|Closure $statePath, bool $isStatePathAbsolute = false)
No description
CanBeValidated
same(string|Closure $statePath, bool $isStatePathAbsolute = false)
No description
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
CanBeValidated
distinct(bool|Closure $condition = true)
No description
CanBeValidated
validationAttribute(string|Closure|null $label)
No description
CanBeValidated
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
CanBeValidated
dateComparisonRule(string $rule, string|Closure $date, bool $isStatePathAbsolute = false)
No description
CanBeValidated
fieldComparisonRule(string $rule, string|Closure $statePath, bool $isStatePathAbsolute = false)
No description
CanBeValidated
multiFieldComparisonRule(string $rule, array|string|Closure $statePaths, bool $isStatePathAbsolute = false)
No description
CanBeValidated
multiFieldValueComparisonRule(string $rule, string|Closure $statePath, mixed $stateValues, bool $isStatePathAbsolute = false)
No description
CanDisableGrammarly
disableGrammarly(bool|Closure $condition = true)
No description
bool
isGrammarlyDisabled()
No description
HasExtraFieldWrapperAttributes
extraFieldWrapperAttributes(array|Closure $attributes, bool $merge = false)
No description
array
getExtraFieldWrapperAttributes()
No description
ComponentAttributeBag
getExtraFieldWrapperAttributesBag()
No description
HasHelperText
helperText(Htmlable|Closure|null $text)
No description
Htmlable|null
getHelperText()
No description
HasHint
hint(Htmlable|Closure|null $hint)
No description
HasHint
hintColor(string|array|Closure|null $color)
No description
HasHint
hintIcon(string|Closure|null $icon, string|Closure|null $tooltip = null)
No description
HasHint
hintIconTooltip(string|Closure|null $tooltip)
No description
HasHint
hintAction(Action|Closure $action)
No description
HasHint
hintActions(array $actions)
No description
Htmlable|null
getHint()
No description
string|array|null
getHintColor()
No description
string|null
getHintIcon()
No description
string|null
getHintIconTooltip()
No description
array
getHintActions()
No description
array
cacheHintActions()
No description
HasName
name(string $name)
No description
string
getName()
No description
in
Field at line 18
final
__construct(string $name)
No description
in
Field at line 24
static Field
make(string $name)
No description
CanBeCloned
cloneable(bool|Closure $condition = true)
No description
bool
isCloneable()
No description
CanBeCollapsed
collapsed(bool|Closure $condition = true, bool $shouldMakeComponentCollapsible = true)
No description
bool
isCollapsed(ComponentContainer|null $item = null)
No description
CanBeCollapsed
collapsible(bool|Closure|null $condition = true)
No description
bool
isCollapsible()
No description
CanBeCollapsed
persistCollapsed(bool|Closure $condition = true)
No description
bool
shouldPersistCollapsed()
No description
CanGenerateUuids
generateUuidUsing(Closure|bool|null $callback)
No description
string|null
generateUuid()
No description
static Closure
fake()
No description
CanLimitItemsLength
maxItems(int|Closure|null $count)
No description
CanLimitItemsLength
minItems(int|Closure|null $count)
No description
int|null
getMaxItems()
No description
int|null
getMinItems()
No description
int
getItemsCount()
No description
HasContainerGridLayout
grid(array|int|string|null $columns = 2)
No description
array|int|string|null
getGridColumns(string|null $breakpoint = null)
No description
HasExtraItemActions
extraItemActions(array $actions)
No description
array
getExtraItemActions()
No description
array
cacheExtraItemActions()
No description
HasReorderAnimationDuration
reorderAnimationDuration(int|Closure $animation)
No description
int
getReorderAnimationDuration()
No description
Action
getAddAction()
No description
Repeater
addActionAlignment(Alignment|string|Closure|null $addActionAlignment)
No description
Alignment|string|null
getAddActionAlignment()
No description
string
getAddActionName()
No description
Action
getAddBetweenAction()
No description
string
getAddBetweenActionName()
No description
Repeater
addBetweenActionLabel(string|Closure|null $label)
No description
string
getAddBetweenActionLabel()
No description
Action
getCloneAction()
No description
string
getCloneActionName()
No description
Action
getDeleteAction()
No description
string
getDeleteActionName()
No description
Action
getMoveDownAction()
No description
string
getMoveDownActionName()
No description
Action
getMoveUpAction()
No description
string
getMoveUpActionName()
No description
Action
getReorderAction()
No description
string
getReorderActionName()
No description
Action
getCollapseAction()
No description
string
getCollapseActionName()
No description
Action
getExpandAction()
No description
string
getExpandActionName()
No description
Action
getCollapseAllAction()
No description
string
getCollapseAllActionName()
No description
Action
getExpandAllAction()
No description
string
getExpandAllActionName()
No description
Repeater
addActionLabel(string|Closure|null $label)
No description
Repeater
createItemButtonLabel(string|Closure|null $label)
deprecated
deprecated
No description
Repeater
labelBetweenItems(string|Closure|null $label)
No description
Repeater
truncateItemLabel(bool|Closure $condition = true)
No description
Repeater
defaultItems(int|Closure $count)
No description
Repeater
addable(bool|Closure $condition = true)
No description
Repeater
deletable(bool|Closure $condition = true)
No description
Repeater
reorderable(bool|Closure $condition = true)
No description
Repeater
disableItemCreation(bool|Closure $condition = true)
deprecated
deprecated
No description
Repeater
disableItemDeletion(bool|Closure $condition = true)
deprecated
deprecated
No description
Repeater
disableItemMovement(bool|Closure $condition = true)
deprecated
deprecated
No description
Repeater
reorderableWithDragAndDrop(bool|Closure $condition = true)
No description
Repeater
reorderableWithButtons(bool|Closure $condition = true)
No description
Repeater
inset(bool|Closure $condition = true)
deprecated
deprecated
No description
string
getAddActionLabel()
No description
bool
isReorderable()
No description
bool
isReorderableWithDragAndDrop()
No description
bool
isReorderableWithButtons()
No description
bool
isAddable()
No description
bool
isDeletable()
No description
Repeater
orderColumn(string|Closure|null $column = 'sort')
No description
Repeater
orderable(string|Closure|null $column = 'sort')
deprecated
deprecated
No description
Repeater
relationship(string|Closure|null $name = null, Closure|null $modifyQueryUsing = null)
No description
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.
Repeater
itemLabel(string|Closure|null $label)
No description
void
fillFromRelationship()
No description
protected array
getStateFromRelatedRecords(Collection $records)
No description
string|null
getOrderColumn()
No description
BelongsToMany|null
getRelationship()
No description
string|null
getRelationshipName()
No description
Collection
getCachedExistingRecords()
No description
Htmlable|null
getItemLabel(string $uuid)
No description
bool
hasItemLabels()
No description
Repeater
simple(Field|Closure|null $field)
No description
bool
isSimple()
No description
Field|null
getSimpleField()
No description
void
clearCachedExistingRecords()
No description
string
getRelatedModel()
No description
bool
hasRelationship()
No description
array|null
mutateRelationshipDataBeforeCreate(array $data)
No description
array
mutateRelationshipDataBeforeFill(array $data)
No description
array|null
mutateRelationshipDataBeforeSave(array $data, Model $record)
No description
bool
canConcealComponents()
No description
string|null
getLabelBetweenItems()
No description
bool
isItemLabelTruncated()
No description
array
getItemState(string $uuid)
No description
array
getRawItemState(string $uuid)
No description