Existing aggregate to edit (null for new)
Emitted when the dialog is closed
The entity being viewed - provides field information
Whether the parent View Studio is in Advanced Mode
Whether the dialog is open
Emitted when an aggregate is saved
Get all fields for COUNT operations
Get fields available for current function
Get date/datetime fields for MIN/MAX operations
Available fields filtered by search query and Standard/Advanced Mode
Check if the form is valid
Get numeric fields for SUM/AVG operations
Friendly display label for the custom column dropdown trigger
Currently selected EntityFieldInfo for the column dropdown
Get string fields for MIN/MAX operations
Get validation message
Clear the generated expression and allow editing prompt
Use ClearIcon.
Clear the icon
Get display label for field dropdown showing "Name (DisplayName)" format If DisplayName equals Name or is not set, just show Name
Close custom column dropdown when clicking outside
Close dropdown or slide-in drawer on Escape key
A callback method that is invoked immediately after the default change detector has checked data-bound properties if at least one has changed, and before the view and content children are checked.
The changed properties.
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.
Use OnClose.
Close the dialog
Handle column selection change
Handle keyboard navigation (ArrowDown / ArrowUp / Enter / Escape) inside column search input
Handle keyboard navigation on the aggregate target field trigger button
Use OnGenerateFromPrompt.
Handle smart prompt generation (placeholder - actual AI call would be made by parent)
Use OnSave.
Save the aggregate
Handle changes from
Select a column from the custom searchable dropdown
Optionalevent: MouseEventHandle function button click - captures old value before changing Called from template when user clicks a function button
Select an icon
Toggle custom searchable column dropdown
Optionalevent: MouseEvent
AggregateSetupDialogComponent - Dialog for creating/editing aggregate configurations
Features: