export const DIALOG_SIZES = { small: "", medium: "", large: "", "x-large": "", fullscreen: "", maximum: "" }; export type DialogSize = keyof typeof DIALOG_SIZES; /** * This interface describes the options controlling the creation of dialogs. */ export class ActionOptions { identifier: string; text: string; onClick: () => void; } export class DialogCreationOptions { key: string; size: DialogSize; width: string; height: string; chrome: boolean; header: string; actions: ActionOptions[]; closeOnEscape: boolean; hint: string; }