class Panel extends Component (View source)

Traits

Properties

static protected array $configurations from  Configurable
static protected array $importantConfigurations from  Configurable
protected string $evaluationIdentifier from  EvaluatesClosures
protected array $evaluationParametersToRemove from  EvaluatesClosures
protected string $view
protected array $viewData from  ViewComponent
protected string $viewIdentifier from  Component
static protected array $propertyCache from  ViewComponent
static protected array $methodCache from  ViewComponent
protected Component|null $layout from  BelongsToLayout
protected Table|null $table from  BelongsToTable
protected string|Closure|null $hiddenFrom from  CanBeHidden
protected bool|Closure $isHidden from  CanBeHidden
protected string|Closure|null $visibleFrom from  CanBeHidden
protected bool|Closure $isVisible from  CanBeHidden
protected array $columnSpan from  CanSpanColumns
protected bool|Closure $canGrow from  CanGrow
protected Model|null $record from  HasRecord
protected stdClass|null $loop from  HasRowLoopObject
protected array $extraAttributes from  HasExtraAttributes
protected array|Closure $components from  Component
protected bool $isCollapsible from  Component
protected bool|Closure $isCollapsed from  Component

Methods

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

No description

configure()

No description

void
setUp()

No description

evaluate($value, array $parameters = [], array $exceptParameters = [])

No description

array
resolveEvaluationParameter(string $parameter, Closure $value)

No description

bool
isEvaluationParameterRemoved(string $parameter)

No description

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

No description

array
extractPublicProperties()

No description

array
extractPublicMethods()

No description

viewData(array $data)

No description

string
getView()

No description

string
toHtml()

No description

View
render()

No description

layout(Component|null $layout)

No description

Component|null
getLayout()

No description

table(Table|null $table)

No description

getTable()

No description

getLivewire()

No description

hidden(bool|Closure $condition = true)

No description

visible(bool|Closure $condition = true)

No description

hiddenFrom(string|Closure|null $breakpoint)

No description

visibleFrom(string|Closure|null $breakpoint)

No description

string|null
getHiddenFrom()

No description

string|null
getVisibleFrom()

No description

bool
isHidden()

No description

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

No description

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

No description

grow(bool|Closure $condition = true)

No description

from  CanGrow
bool
canGrow()

No description

from  CanGrow
record(Model $record)

No description

Model|null
getRecord()

No description

rowLoop(stdClass|null $loop)

No description

stdClass|null
getRowLoop()

No description

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

No description

array
getExtraAttributes()

No description

ComponentAttributeBag
getExtraAttributeBag()

No description

schema(array|Closure $schema)

No description

components(array|Closure $components)

No description

collapsible(bool $condition = true)

No description

collapsed(bool|Closure $condition = true)

No description

bool
isCollapsed()

No description

array
getColumns()

No description

array
getComponents()

No description

bool
isCollapsible()

No description

__construct(array|Closure $schema)

No description

static Panel
make(array|Closure $schema)

No description

Details

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

No description

Parameters

Closure $callback
Closure|null $during
bool $isImportant

Configurable configure()

No description

Return Value

Configurable

protected void setUp()

No description

Return Value

void

evaluate($value, array $parameters = [], array $exceptParameters = [])

No description

Parameters

$value
array $parameters
array $exceptParameters

protected array getDefaultEvaluationParameters()

No description

Return Value

array

protected resolveEvaluationParameter(string $parameter, Closure $value)

No description

Parameters

string $parameter
Closure $value

protected bool isEvaluationParameterRemoved(string $parameter)

No description

Parameters

string $parameter

Return Value

bool

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

No description

Parameters

string $view
array $viewData

Return Value

ViewComponent

protected array extractPublicProperties()

No description

Return Value

array

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

No description

Return Value

string

View render()

No description

Return Value

View

BelongsToLayout layout(Component|null $layout)

No description

Parameters

Component|null $layout

Return Value

BelongsToLayout

Component|null getLayout()

No description

Return Value

Component|null

BelongsToTable table(Table|null $table)

No description

Parameters

Table|null $table

Return Value

BelongsToTable

Table getTable()

No description

Return Value

Table

HasTable getLivewire()

No description

Return Value

HasTable

CanBeHidden hidden(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeHidden

CanBeHidden visible(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeHidden

CanBeHidden hiddenFrom(string|Closure|null $breakpoint)

No description

Parameters

string|Closure|null $breakpoint

Return Value

CanBeHidden

CanBeHidden visibleFrom(string|Closure|null $breakpoint)

No description

Parameters

string|Closure|null $breakpoint

Return Value

CanBeHidden

string|null getHiddenFrom()

No description

Return Value

string|null

string|null getVisibleFrom()

No description

Return Value

string|null

bool isHidden()

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

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

No description

Parameters

int|string|null $breakpoint

Return Value

array|int|string|null

CanGrow grow(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanGrow

bool canGrow()

No description

Return Value

bool

HasRecord record(Model $record)

No description

Parameters

Model $record

Return Value

HasRecord

Model|null getRecord()

No description

Return Value

Model|null

HasRowLoopObject rowLoop(stdClass|null $loop)

No description

Parameters

stdClass|null $loop

Return Value

HasRowLoopObject

stdClass|null getRowLoop()

No description

Return Value

stdClass|null

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

Component schema(array|Closure $schema)

No description

Parameters

array|Closure $schema

Return Value

Component

Component components(array|Closure $components)

No description

Parameters

array|Closure $components

Return Value

Component

Component collapsible(bool $condition = true)

No description

Parameters

bool $condition

Return Value

Component

Component collapsed(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

Component

bool isCollapsed()

No description

Return Value

bool

array getColumns()

No description

Return Value

array

array getComponents()

No description

Return Value

array

bool isCollapsible()

No description

Return Value

bool

final __construct(array|Closure $schema)

No description

Parameters

array|Closure $schema

static Panel make(array|Closure $schema)

No description

Parameters

array|Closure $schema

Return Value

Panel