Emitted when user clicks an aggregate card (for editing/details)
Array of aggregate configurations to display
Emitted when panel collapsed state changes
Whether the panel can be collapsed
The entity the aggregates are computed over. Optional: with it, the panel can read the SQL
type of the column an aggregate summarises (MIN(IntakeDate)), so a date column renders as
its stored calendar day and a timestamp in the reader's local time (MJ#4210). Without it, a
date aggregate prints exactly as it arrives, which over GraphQL is an ISO string.
Number of columns when Layout is 'grid'
Layout style for aggregate cards
Whether aggregates are currently loading
Panel position relative to the grid
Whether the panel starts in collapsed state
Panel title
Map of aggregate values, keyed by expression or id
Panel width in pixels (only applies when Position is 'right')
Get card aggregates sorted by order
Get enabled aggregates (filter out disabled ones)
Get grid template columns for grid layout
Get panel style for right position
Get the formatted value for an aggregate
Get the CSS class for conditional styling
A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.
Handle the accordion panel's ExpandedChange. Accordion Expanded is the
inverse of our IsCollapsed; preserves the CollapsedChange emit side-effect.
Toggle panel collapsed state
AggregatePanelComponent displays aggregate values in a card-based panel. Can be positioned to the right or bottom of the grid, with various layout options.
Features: