class ColorEntry extends Entry (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

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

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
getInfolist()

No description

Component|null
getLivewire()

No description

hidden(bool|Closure $condition = true)

No description

visible(bool|Closure $condition = true)

No description

bool
isHidden()

No description

bool
isVisible()

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

action(Action|null $action)

No description

registerActions(array $actions)

No description

Action|null
getAction(string|array|null $name = null)

No description

array
getActions()

No description

array
cacheActions()

No description

prepareAction(Action $action)

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

entryWrapperView(string|Closure|null $view)

No description

string
getEntryWrapperView()

No description

string|null
getCustomEntryWrapperView()

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
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
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

getStateUsing(mixed $callback)

No description

from  HasState
state(mixed $state)

No description

from  HasState
default(mixed $state)

No description

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

No description

from  HasState
bool
isDistinctList()

No description

from  HasState
mixed
getDefaultState()

No description

from  HasState
mixed
getState()

No description

from  HasState
separator(string|Closure|null $separator = ',')

No description

from  HasState
statePath(string|null $path)

No description

from  HasState
string|null
getSeparator()

No description

from  HasState
Model|null
getRecord()

No description

from  HasState
bool
hasStatePath()

No description

from  HasState
string
getStatePath(bool $isAbsolute = true)

No description

from  HasState
mixed
getStateFromRecord(Model $record)

No description

from  HasState
void
flushCachedAbsoluteStatePath()

No description

from  HasState
columns(array|int|null $columns = 2)

No description

array|int|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

openUrlInNewTab(bool|Closure $condition = true)

No description

url(string|Closure|null $url, bool|Closure $shouldOpenInNewTab = false)

No description

string|null
getUrl()

No description

bool
shouldOpenUrlInNewTab()

No description

extraEntryWrapperAttributes(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
tooltip(string|Closure|null $tooltip)

No description

string|null
getTooltip()

No description

alignment(Alignment|string|Closure|null $alignment)

No description

alignStart(bool|Closure $condition = true)

No description

alignCenter(bool|Closure $condition = true)

No description

alignEnd(bool|Closure $condition = true)

No description

alignJustify(bool|Closure $condition = true)

No description

alignBetween(bool|Closure $condition = true)

No description

alignLeft(bool|Closure $condition = true)

No description

alignRight(bool|Closure $condition = true)

No description

Alignment|string|null
getAlignment()

No description

placeholder(Htmlable|Closure|null $placeholder)

No description

Htmlable|null
getPlaceholder()

No description

__construct(string $name)

No description

from  Entry
static Entry
make(string $name)

No description

from  Entry
copyable(bool|Closure $condition = true)

No description

copyableState(string|Closure|null $state)

No description

copyMessage(string|Closure|null $message)

No description

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

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

Infolist getInfolist()

No description

Return Value

Infolist

Component|null getLivewire()

No description

Return Value

Component|null

CanBeHidden hidden(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeHidden

CanBeHidden hiddenWhenAllChildComponentsHidden()

No description

Return Value

CanBeHidden

CanBeHidden visible(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeHidden

bool isHidden()

No description

Return Value

bool

bool isVisible()

No description

Return Value

bool

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 action(Action|null $action)

No description

Parameters

Action|null $action

Return Value

HasActions

HasActions registerActions(array $actions)

No description

Parameters

array $actions

Return Value

HasActions

Action|null getAction(string|array|null $name = null)

No description

Parameters

string|array|null $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

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

HasEntryWrapper entryWrapperView(string|Closure|null $view)

No description

Parameters

string|Closure|null $view

Return Value

HasEntryWrapper

string getEntryWrapperView()

No description

Return Value

string

string|null getCustomEntryWrapperView()

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 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

bool hasRelationship(Model $record)

No description

Parameters

Model $record

Return Value

bool

Relation|null getRelationship(Model $record, string|null $statePath = null)

No description

Parameters

Model $record
string|null $statePath

Return Value

Relation|null

array getRelationshipResults(Model $record, array|null $relationships = null)

No description

Parameters

Model $record
array|null $relationships

Return Value

array

string getRelationshipAttribute(string|null $statePath = null)

No description

Parameters

string|null $statePath

Return Value

string

string|null getRelationshipName(string|null $statePath = null)

No description

Parameters

string|null $statePath

Return Value

string|null

HasState getStateUsing(mixed $callback)

No description

Parameters

mixed $callback

Return Value

HasState

HasState state(mixed $state)

No description

Parameters

mixed $state

Return Value

HasState

HasState default(mixed $state)

No description

Parameters

mixed $state

Return Value

HasState

HasState distinctList(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

HasState

bool isDistinctList()

No description

Return Value

bool

mixed getDefaultState()

No description

Return Value

mixed

mixed getState()

No description

Return Value

mixed

HasState separator(string|Closure|null $separator = ',')

No description

Parameters

string|Closure|null $separator

Return Value

HasState

HasState statePath(string|null $path)

No description

Parameters

string|null $path

Return Value

HasState

string|null getSeparator()

No description

Return Value

string|null

Model|null getRecord()

No description

Return Value

Model|null

bool hasStatePath()

No description

Return Value

bool

string getStatePath(bool $isAbsolute = true)

No description

Parameters

bool $isAbsolute

Return Value

string

mixed getStateFromRecord(Model $record)

No description

Parameters

Model $record

Return Value

mixed

protected void flushCachedAbsoluteStatePath()

No description

Return Value

void

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

No description

Parameters

array|int|null $columns

Return Value

HasColumns

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

No description

Parameters

string|null $breakpoint

Return Value

array|int|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

CanOpenUrl openUrlInNewTab(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanOpenUrl

CanOpenUrl url(string|Closure|null $url, bool|Closure $shouldOpenInNewTab = false)

No description

Parameters

string|Closure|null $url
bool|Closure $shouldOpenInNewTab

Return Value

CanOpenUrl

string|null getUrl()

No description

Return Value

string|null

bool shouldOpenUrlInNewTab()

No description

Return Value

bool

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

No description

Parameters

array|Closure $attributes
bool $merge

Return Value

HasExtraEntryWrapperAttributes

array getExtraEntryWrapperAttributes()

No description

Return Value

array

ComponentAttributeBag getExtraEntryWrapperAttributesBag()

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

HasTooltip tooltip(string|Closure|null $tooltip)

No description

Parameters

string|Closure|null $tooltip

Return Value

HasTooltip

string|null getTooltip()

No description

Return Value

string|null

HasAlignment alignment(Alignment|string|Closure|null $alignment)

No description

Parameters

Alignment|string|Closure|null $alignment

Return Value

HasAlignment

HasAlignment alignStart(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

HasAlignment

HasAlignment alignCenter(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

HasAlignment

HasAlignment alignEnd(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

HasAlignment

HasAlignment alignJustify(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

HasAlignment

HasAlignment alignBetween(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

HasAlignment

HasAlignment alignLeft(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

HasAlignment

HasAlignment alignRight(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

HasAlignment

Alignment|string|null getAlignment()

No description

Return Value

Alignment|string|null

HasPlaceholder placeholder(Htmlable|Closure|null $placeholder)

No description

Parameters

Htmlable|Closure|null $placeholder

Return Value

HasPlaceholder

Htmlable|null getPlaceholder()

No description

Return Value

Htmlable|null

final __construct(string $name)

No description

Parameters

string $name

static Entry make(string $name)

No description

Parameters

string $name

Return Value

Entry

CanBeCopied copyable(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeCopied

CanBeCopied copyableState(string|Closure|null $state)

No description

Parameters

string|Closure|null $state

Return Value

CanBeCopied

CanBeCopied copyMessage(string|Closure|null $message)

No description

Parameters

string|Closure|null $message

Return Value

CanBeCopied

CanBeCopied copyMessageDuration(int|Closure|null $duration)

No description

Parameters

int|Closure|null $duration

Return Value

CanBeCopied

bool isCopyable(mixed $state)

No description

Parameters

mixed $state

Return Value

bool

string|null getCopyableState(mixed $state)

No description

Parameters

mixed $state

Return Value

string|null

string getCopyMessage(mixed $state)

No description

Parameters

mixed $state

Return Value

string

int getCopyMessageDuration(mixed $state)

No description

Parameters

mixed $state

Return Value

int