import { TulPopupType } from '../tul-popups/types/popup-state.type'; /** * Interface for popup content */ export interface TulPopup { /** * Popup width */ width: string; /** * Enum type ('success' | 'error' | 'warning' | 'info') */ type: TulPopupType; /** * Interface */ data: TulPopupData; /** * Optional state ('open' | 'close') */ state?: string; } /** * Interface popup data content */ export interface TulPopupData { /** * Popup title */ title: string; /** * Popup description */ description: string; /** * Text int button OK */ btnOkText: string; /** * Optional aligned vertical buttons */ verticalButtons?: boolean; /** * Optional cancel button */ btnCancelText?: string; }