import { AdaptableObject } from '../../../AdaptableState/Common/AdaptableObject'; import { AdaptableApi } from '../../../Api/AdaptableApi'; import { ModuleInfo } from '../../../Strategy/Interface/IModule'; import { ModuleParams } from '../../Components/SharedProps/ModuleViewPopupProps'; export interface AdaptableWizardStep { canNext(): boolean; canBack(): boolean; next(): void; back(): void; getIndexStepIncrement(): number; getIndexStepDecrement(): number; } export interface AdaptableWizardStepProps { data?: T; updateGoBackState?(): void; api: AdaptableApi; moduleInfo: ModuleInfo; } export interface AdaptableObjectExpressionAdaptableWizardProps extends AdaptableObjectAdaptableWizardProps { onSetNewNamedQuery: (newNamedQuery: string) => void; } export interface AdaptableWizardProps extends React.ClassAttributes { wizardStartIndex: number; onCloseWizard: () => void; onFinishWizard: (data?: any) => void; modalContainer: HTMLElement; canFinishWizard: Function; moduleInfo: ModuleInfo; } export interface AdaptableObjectAdaptableWizardProps extends AdaptableWizardProps { configEntities: AdaptableObject[]; editedAdaptableObject: AdaptableObject; api: AdaptableApi; } export interface AdaptableOnePageWizardProps { moduleInfo?: ModuleInfo; modal?: boolean; data: T; configEntities?: T[]; wizardStartIndex?: number; onCloseWizard: VoidFunction; onFinishWizard: (data: T) => void; defaultCurrentSectionName?: string; abObjectType?: { name: string; label?: string; }; popupParams?: ModuleParams; }