import { MatDialogRef } from '@angular/material/dialog'; import { Catalog, DataProduct } from '@mtna/pojo-consumer-ui'; /** * Data to initialize the RdsDataProductSelectionDialogComponent * * @author Will Davis */ export declare class RdsDataProductSelectionDialogData { rootCatalog: Catalog; title: string; description: string; selectedCatalogId?: string; selectedDataProductId?: string; forceSelection: boolean; dialogContentHeight: string; /** * Creates an instance of RdsDataProductSelectionDialogData. * @param rootCatalog root level catalog to make a selection from * @param title title for the dialog, defaults to: "RDS Configuration" * @param description description for the dialog, defaults to: "First choose a catalog, then pick a data product to work with." * @param selectedCatalogId optional selected catalog ID * @param selectedDataProductId optional selected data product ID * @param forceSelection Whether to require the user to make a selection, defaults to false * @param dialogContentHeight dialog content height, defaults to 60vh */ constructor(rootCatalog: Catalog, title?: string, description?: string, selectedCatalogId?: string, selectedDataProductId?: string, forceSelection?: boolean, dialogContentHeight?: string); } /** * Result of the RdsDataProductSelectionDialogComponent on close. * Describes the selection made. * * @author Will Davis */ export declare class RdsDataProductSelectionDialogOutput { catalogId: string; dataProductId: string; /** * Creates an instance of RdsDataProductSelectionDialogOutput. * @param catalogId selected catalog ID * @param dataProductId selected data product ID */ constructor(catalogId: string, dataProductId: string); } /** * Dialog to select a catalog and data product for use in an RDS environment. * * @author Will Davis ; /** Dialog result, constructs a RdsDataProductSelectionDialogOutput.*/ get output(): RdsDataProductSelectionDialogOutput; /** The catalog selected by the user */ selectedCatalog: Catalog; /** The data product selected by the user */ selectedDataProduct: DataProduct; constructor(data: RdsDataProductSelectionDialogData, dialogRef: MatDialogRef); }