Member Junction
    Preparing search index...

    ConfirmDialogComponent - Generic reusable confirmation dialog

    Used for:

    • Delete view confirmation
    • Filter mode switch warning (data loss)
    • Revert unsaved changes
    • Any action requiring user confirmation

    Follows the same

    backdrop + .dialog-panel.open pattern as AggregateSetupDialogComponent.

    <mj-ev-confirm-dialog
    [IsOpen]="showDeleteConfirm"
    Title="Delete View"
    Message="Are you sure you want to delete this view?"
    DetailMessage="This action cannot be undone."
    ConfirmText="Delete"
    ConfirmStyle="danger"
    Icon="fa-solid fa-trash"
    (Confirmed)="onDeleteConfirmed()"
    (Cancelled)="showDeleteConfirm = false">
    </mj-ev-confirm-dialog>
    Index

    Constructors

    Properties

    Cancelled: EventEmitter<void> = ...

    Emitted when user clicks cancel or backdrop

    CancelText: string = 'Cancel'

    Text for the cancel button

    'Cancel'
    
    Confirmed: EventEmitter<void> = ...

    Emitted when user clicks the confirm button

    ConfirmStyle: ConfirmButtonStyle = 'primary'

    Style variant for the confirm button 'primary' = blue, 'danger' = red

    'primary'
    
    ConfirmText: string = 'Confirm'

    Text for the confirm button

    'Confirm'
    
    DetailMessage: string = ''

    Optional secondary detail message (shown smaller, below primary)

    Icon: string = 'fa-solid fa-circle-question'

    Font Awesome icon class for the dialog header

    'fa-solid fa-circle-question'
    
    IsOpen: boolean = false

    Whether the dialog is open

    Message: string = 'Are you sure?'

    Primary message to display

    Title: string = 'Confirm'

    Dialog title

    Methods