| Methods |
public
|
__construct(Ui5ModuleInterface $module)
|
#
|
public
|
getType(): ArtifactType
Returns the type of the artifact (e.g., application, library, card).
Returns the type of the artifact (e.g., application, library, card).
Implements
|
#
|
public
|
getModule(): Ui5ModuleInterface
Returns the parent module of this artifact, if any.
Returns the parent module of this artifact, if any.
- For Applications, Libraries, Cards, Reports, Tiles, KPIs, Actions and Resources:
this returns the Ui5ModuleInterface instance that owns the artifact.
- For Dashboards (global containers outside module scope), this returns null.
Implements
|
#
|
abstract
public
|
getChildNamespaces(): string[]
Namespaces of the Tiles/Cards this group composes, in display
order — reference them by their `::NAMESPACE` constant.
Namespaces of the Tiles/Cards this group composes, in display
order — reference them by their ::NAMESPACE constant.
The framework resolves each against the registry to the single
registered artifact instance (see
{@see \LaravelUi5\Core\Ui5\Dashboard\DefaultDashboardTransformer}), so
every child must also be registered on its module via
getCards() / getTiles(). An unregistered namespace fails loudly
at composition rather than silently 404-ing the manifest fetch.
Returns
namespaces of the group's OWN child Tiles/Cards.
Implements
|
#
|
public
|
getPanel(): Panel
Default — `sap.m.Panel` with `headerText` bound to the group's
title (typically an i18n binding expression). Concrete…
Default — sap.m.Panel with headerText bound to the group's
title (typically an i18n binding expression). Concrete groups
override to customise any other Panel property (expandable,
headerToolbar, …); the framework still owns content, injected
with [GridContainer] via {@see Panel::withContent()}.
Implements
|
#
|
public
|
getGridContainer(): GridContainer
Default — bare `sap.f.GridContainer` (snapToRow on). Concrete
groups override to customise layout breakpoints, row…
Default — bare sap.f.GridContainer (snapToRow on). Concrete
groups override to customise layout breakpoints, row/column size,
etc.; the framework still owns items, injected with the built
child elements via {@see GridContainer::withItems()}.
Implements
|
#
|
public
|
getRequiredSlots(): BackedEnum[]
Slot identities this artifact's render (or execution) depends on. The
leaf-emitter / consumer passes the list to
{@see …
Slot identities this artifact's render (or execution) depends on. The
leaf-emitter / consumer passes the list to
{@see \LaravelUi5\Core\Parameters\Contracts\ParameterPipelineInterface::resolve()};
unfilled slots throw and propagate up as a typed error.
Implements
|
#
|
public
|
getSlotProposals(): array<string, mixed>
Values this artifact proposes for the active composition.
Values this artifact proposes for the active composition.
Key shape. Slot-name strings (i.e. SomeSlots::Case->value), because
PHP forbids BackedEnum cases as array keys at runtime — referencing
SomeSlots::Case->value preserves IDE refactor-safety over a raw string:
return [
CoreSlots::Currency->value => 'CHF',
CoreSlots::Period->value => 'quarter',
];
Keep this method lightweight — it's called once per artifact during
CompositionParameterSource::fill() for the active dashboard. Return []
to opt out of contributing.
Returns
slot-name string → proposed value
Implements
|
#
|