Existing aggregate to edit (null for new)
Emitted when the dialog is closed
The entity being viewed - provides field information
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
Check if the form is valid
Get numeric fields for SUM/AVG operations
Get string fields for MIN/MAX operations
Get validation message
Clear the generated expression and allow editing prompt
Clear the icon
Get display label for field dropdown showing "Name (DisplayName)" format If DisplayName equals Name or is not set, just show Name
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.
Close the dialog
Handle column selection change
Handle smart prompt generation (placeholder - actual AI call would be made by parent)
Save the aggregate
Handle function button click - captures old value before changing Called from template when user clicks a function button
Select an icon
AggregateSetupDialogComponent - Dialog for creating/editing aggregate configurations
Features: