import { HttpClient } from '@angular/common/http'; export interface ZcWidgetStageFormConfig { historyUrl?: string; actionsUrl?: string; apiUrl?: string; currentSatge?: string; http?: HttpClient; stages?: Stage[]; fields?: any[]; fixedFieldKeys?: { category: string; name: string; product: string; stage: string; status: string; [key: string]: any; }; langProps?: { reviewBtnLabel: string; nextBtnLabel: string; draftBtnLabel: string; saveBtnLabel: string; [key: string]: any; }; stagesDataUrl?: string; assignPageUrl?: string; attachmentPageDetails?: string; hideProgressBar?: boolean; guestUserAccess?: boolean; progressbarAnimation?: boolean; baseUrl?: string; uid?: string; mode?: string; sectionInfo?: string; [key: string]: any; } export interface Stage { title?: string; apiUrl?: string; code?: string; status?: boolean; show?: boolean; stageForms?: StageForm[]; [key: string]: any; } export interface StageForm { block?: any; blocks: any[]; } export interface StageFormActionsConfig { langProps?: LangProps; action?: Action[]; history?: History[]; } export interface LangProps { actionsTitle?: string; historyTitle?: string; historyActionTitle?: string; historyActionBy?: string; historyActionStage?: string; historyActionStatus?: string; historyActionUser?: string; viewAllTitle?: string; [key: string]: any; } export interface Action { label?: string; icon?: string; color?: string; value?: string; formUrl?: string; status?: string; } export interface History { action?: any; doneBy?: any; current?: any; next?: any; sendTo?: any; date?: any; dateFormat?: any; comments?: any; stage?: any; assignedTo?: any; status?: string; comment?: string; }