ddata-ui-input
Version:
DData UI Input module, components, models & services
25 lines (24 loc) • 723 B
TypeScript
import { Observable, BehaviorSubject } from 'rxjs';
import { Type } from '@angular/core';
export interface OptionsInterface {
saveModel?: Observable<any>;
select?: Observable<any>;
isModal?: boolean;
multipleSelectEnabled?: boolean;
isSelectionList?: boolean;
selectedElements?: any[];
models?: any[];
loadData?: boolean;
filter?: any;
datasArrived?: BehaviorSubject<number>;
}
export interface DialogContentInterface extends OptionsInterface {
component: any;
data: any;
}
export interface DialogContentWithOptionsInterface {
createEditComponent?: Type<any>;
createEditOptions?: OptionsInterface;
listComponent?: Type<any>;
listOptions?: OptionsInterface;
}