TextEntry
class TextEntry extends Entry implements HasAffixActions (View source)
Traits
Properties
protected string | $evaluationIdentifier | from EvaluatesClosures | |
static protected Closure>> | $macros | from Macroable | |
protected string | $view | ||
protected string|Closure|null | $defaultView | from ViewComponent | |
protected array<string,mixed> | $viewData | from ViewComponent | |
protected string | $viewIdentifier | from Entry | |
protected bool|Closure|null | $canGrow | from CanGrow | |
protected ComponentContainer | $container | from BelongsToContainer | |
protected bool|Closure | $isHidden | from CanBeHidden | |
protected bool|Closure | $isVisible | from CanBeHidden | |
protected array | $columnSpan | from CanSpanColumns | |
protected array | $columnStart | from CanSpanColumns | |
protected Action[] | $cachedActions | from HasActions | |
protected array | $actions | from HasActions | |
protected Action|null | $action | from HasActions | |
protected Component[] | $childComponents | from HasChildComponents | |
protected string|Closure|null | $entryWrapperView | from HasEntryWrapper | |
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 mixed | $defaultState | from HasState | |
protected mixed | $getStateUsing | from HasState | |
protected string|null | $statePath | from HasState | |
protected string|Closure|null | $separator | from HasState | |
protected bool|Closure | $isDistinctList | from HasState | |
protected string | $cachedAbsoluteStatePath | from HasState | |
protected array|null | $columns | from HasColumns | |
protected array | $extraAttributes | from HasExtraAttributes | |
protected bool|Closure | $shouldOpenUrlInNewTab | from CanOpenUrl | |
protected string|Closure|null | $url | from CanOpenUrl | |
protected array | $extraEntryWrapperAttributes | from HasExtraEntryWrapperAttributes | |
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 string|Closure|null | $tooltip | from HasTooltip | |
protected Alignment|string|Closure|null | $alignment | from HasAlignment | |
protected Htmlable|Closure|null | $placeholder | from HasPlaceholder | |
protected bool|Closure | $isCopyable | from CanBeCopied | |
protected string|Closure|null | $copyableState | from CanBeCopied | |
protected string|Closure|null | $copyMessage | from CanBeCopied | |
protected int|Closure|null | $copyMessageDuration | from CanBeCopied | |
protected Closure|null | $formatStateUsing | from CanFormatState | |
protected int|Closure|null | $characterLimit | from CanFormatState | |
protected string|Closure|null | $characterLimitEnd | from CanFormatState | |
protected int|Closure|null | $wordLimit | from CanFormatState | |
protected string|Closure|null | $wordLimitEnd | from CanFormatState | |
protected Htmlable|Closure|null | $prefix | from CanFormatState | |
protected Htmlable|Closure|null | $suffix | from CanFormatState | |
protected string|Closure|null | $timezone | from CanFormatState | |
protected bool|Closure | $isHtml | from CanFormatState | |
protected bool|Closure | $isMarkdown | from CanFormatState | |
protected bool | $isDate | from CanFormatState | |
protected bool | $isDateTime | from CanFormatState | |
protected bool | $isMoney | from CanFormatState | |
protected bool | $isNumeric | from CanFormatState | |
protected bool | $isTime | from CanFormatState | |
protected Action[] | $cachedSuffixActions | from HasAffixes | |
protected array | $suffixActions | from HasAffixes | |
protected Action[] | $cachedPrefixActions | from HasAffixes | |
protected array | $prefixActions | from HasAffixes | |
protected string | $color | from HasColor | |
protected FontFamily|string|Closure|null | $fontFamily | from HasFontFamily | |
protected string|bool|Closure|null | $icon | from HasIcon | |
protected IconPosition|string|Closure|null | $iconPosition | from HasIcon | |
protected string | $iconColor | from HasIconColor | |
protected FontWeight|string|Closure|null | $weight | from HasWeight | |
protected int|Closure|null | $lineClamp | from HasLineClamp | |
protected bool|Closure | $isBadge | ||
protected bool|Closure | $isBulleted | ||
protected bool|Closure | $isProse | ||
protected bool|Closure | $isListWithLineBreaks | ||
protected int|Closure|null | $listLimit | ||
protected TextEntrySize|string|Closure|null | $size | ||
protected bool|Closure | $isLimitedListExpandable |
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
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
Infolist
getInfolist()
No description
Component|null
getLivewire()
No description
CanBeHidden
hidden(bool|Closure $condition = true)
No description
CanBeHidden
hiddenWhenAllChildComponentsHidden()
No description
CanBeHidden
visible(bool|Closure $condition = true)
No description
bool
isHidden()
No description
bool
isVisible()
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
action(Action|null $action)
No description
HasActions
registerActions(array $actions)
No description
Action|null
getAction(string|array|null $name = null)
No description
array
getActions()
No description
array
cacheActions()
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
HasEntryWrapper
entryWrapperView(string|Closure|null $view)
No description
string
getEntryWrapperView()
No description
string|null
getCustomEntryWrapperView()
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
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
bool
hasRelationship(Model $record)
No description
Relation|null
getRelationship(Model $record, string|null $statePath = null)
No description
array
getRelationshipResults(Model $record, array|null $relationships = null)
No description
string
getRelationshipAttribute(string|null $statePath = null)
No description
string|null
getRelationshipName(string|null $statePath = null)
No description
HasState
getStateUsing(mixed $callback)
No description
HasState
state(mixed $state)
No description
HasState
default(mixed $state)
No description
HasState
distinctList(bool|Closure $condition = true)
No description
bool
isDistinctList()
No description
mixed
getDefaultState()
No description
mixed
getState()
No description
HasState
separator(string|Closure|null $separator = ',')
No description
HasState
statePath(string|null $path)
No description
string|null
getSeparator()
No description
Model|null
getRecord()
No description
bool
hasStatePath()
No description
string
getStatePath(bool $isAbsolute = true)
No description
mixed
getStateFromRecord(Model $record)
No description
protected void
flushCachedAbsoluteStatePath()
No description
HasColumns
columns(array|int|null $columns = 2)
No description
array|int|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
CanOpenUrl
openUrlInNewTab(bool|Closure $condition = true)
No description
CanOpenUrl
url(string|Closure|null $url, bool|Closure $shouldOpenInNewTab = false)
No description
string|null
getUrl()
No description
bool
shouldOpenUrlInNewTab()
No description
HasExtraEntryWrapperAttributes
extraEntryWrapperAttributes(array|Closure $attributes, bool $merge = false)
No description
array
getExtraEntryWrapperAttributes()
No description
ComponentAttributeBag
getExtraEntryWrapperAttributesBag()
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
string
getName()
No description
HasTooltip
tooltip(string|Closure|null $tooltip)
No description
string|null
getTooltip()
No description
HasAlignment
alignment(Alignment|string|Closure|null $alignment)
No description
HasAlignment
alignStart(bool|Closure $condition = true)
No description
HasAlignment
alignCenter(bool|Closure $condition = true)
No description
HasAlignment
alignEnd(bool|Closure $condition = true)
No description
HasAlignment
alignJustify(bool|Closure $condition = true)
No description
HasAlignment
alignBetween(bool|Closure $condition = true)
No description
HasAlignment
alignLeft(bool|Closure $condition = true)
No description
HasAlignment
alignRight(bool|Closure $condition = true)
No description
Alignment|string|null
getAlignment()
No description
HasPlaceholder
placeholder(Htmlable|Closure|null $placeholder)
No description
Htmlable|null
getPlaceholder()
No description
in
Entry at line 23
final
__construct(string $name)
No description
in
Entry at line 29
static Entry
make(string $name)
No description
CanBeCopied
copyable(bool|Closure $condition = true)
No description
CanBeCopied
copyableState(string|Closure|null $state)
No description
CanBeCopied
copyMessage(string|Closure|null $message)
No description
CanBeCopied
copyMessageDuration(int|Closure|null $duration)
No description
bool
isCopyable(mixed $state)
No description
string|null
getCopyableState(mixed $state)
No description
string
getCopyMessage(mixed $state)
No description
int
getCopyMessageDuration(mixed $state)
No description
CanFormatState
markdown(bool|Closure $condition = true)
No description
CanFormatState
date(string|Closure|null $format = null, string|null $timezone = null)
No description
CanFormatState
dateTime(string|Closure|null $format = null, string|null $timezone = null)
No description
CanFormatState
since(string|null $timezone = null)
No description
CanFormatState
dateTooltip(string|Closure|null $format = null, string|null $timezone = null)
No description
CanFormatState
dateTimeTooltip(string|Closure|null $format = null, string|null $timezone = null)
No description
CanFormatState
timeTooltip(string|Closure|null $format = null, string|null $timezone = null)
No description
CanFormatState
sinceTooltip(string|null $timezone = null)
No description
CanFormatState
money(string|Closure|null $currency = null, int $divideBy = 0, string|Closure|null $locale = null)
No description
CanFormatState
numeric(int|Closure|null $decimalPlaces = null, ArgumentValue $decimalSeparator = ArgumentValue::Default, ArgumentValue $thousandsSeparator = ArgumentValue::Default, int|Closure|null $maxDecimalPlaces = null, string|Closure|null $locale = null)
No description
CanFormatState
time(string|Closure|null $format = null, string|null $timezone = null)
No description
CanFormatState
timezone(string|Closure|null $timezone)
No description
CanFormatState
limit(int|Closure|null $length = 100, string|Closure|null $end = '...')
No description
CanFormatState
words(int|Closure|null $words = 100, string|Closure|null $end = '...')
No description
CanFormatState
prefix(Htmlable|Closure|null $prefix)
No description
CanFormatState
suffix(Htmlable|Closure|null $suffix)
No description
CanFormatState
html(bool|Closure $condition = true)
No description
CanFormatState
formatStateUsing(Closure|null $callback)
No description
mixed
formatState(mixed $state)
No description
int|null
getCharacterLimit()
No description
string|null
getCharacterLimitEnd()
No description
int|null
getWordLimit()
No description
string|null
getWordLimitEnd()
No description
string
getTimezone()
No description
bool
isHtml()
No description
Htmlable|null
getPrefix()
No description
Htmlable|null
getSuffix()
No description
bool
isMarkdown()
No description
bool
isDate()
No description
bool
isDateTime()
No description
bool
isMoney()
No description
bool
isNumeric()
No description
bool
isTime()
No description
HasAffixes
prefixAction(Action|Closure $action)
No description
HasAffixes
prefixActions(array $actions)
No description
HasAffixes
suffixAction(Action|Closure $action)
No description
HasAffixes
suffixActions(array $actions)
No description
array
getPrefixActions()
No description
array
cachePrefixActions()
No description
array
getSuffixActions()
No description
array
cacheSuffixActions()
No description
HasColor
color(string|array|bool|Closure|null $color)
No description
HasColor
colors(array|Closure $colors)
No description
string|array|null
getColor(mixed $state)
No description
HasFontFamily
fontFamily(FontFamily|string|Closure|null $family)
No description
FontFamily|string|null
getFontFamily(mixed $state)
No description
HasIcon
icon(string|bool|Closure|null $icon)
No description
HasIcon
icons(array|Closure $icons)
No description
HasIcon
iconPosition(IconPosition|string|Closure|null $iconPosition)
No description
string|null
getIcon(mixed $state)
No description
IconPosition|string
getIconPosition()
No description
HasIconColor
iconColor(string|array|Closure|null $color)
No description
string|array|null
getIconColor(mixed $state)
No description
HasWeight
weight(FontWeight|string|Closure|null $weight)
No description
FontWeight|string|null
getWeight(mixed $state)
No description
HasLineClamp
lineClamp(int|Closure|null $lineClamp)
No description
int|null
getLineClamp()
No description
TextEntry
badge(bool|Closure $condition = true)
No description
TextEntry
bulleted(bool|Closure $condition = true)
No description
TextEntry
listWithLineBreaks(bool|Closure $condition = true)
No description
TextEntry
limitList(int|Closure|null $limit = 3)
No description
TextEntry
prose(bool|Closure $condition = true)
No description
TextEntry
size(TextEntrySize|string|Closure|null $size)
No description
TextEntrySize|string|null
getSize(mixed $state)
No description
bool
isBadge()
No description
bool
isBulleted()
No description
bool
isProse()
No description
bool
isListWithLineBreaks()
No description
int|null
getListLimit()
No description
TextEntry
expandableLimitedList(bool|Closure $condition = true)
No description
bool
isLimitedListExpandable()
No description