@stratio/egeo
Version:
Stratio egeo library of components in Angular 2
28 lines (27 loc) • 918 B
TypeScript
import { TranslateableElement } from '../utils/egeo-resolver/egeo-resolve-model';
export interface StTwoListSelectionElement {
id: string | number;
name: string;
selected?: boolean;
extraLabel?: string;
}
export interface StTwoListSelectExtraLabelAction {
element: StTwoListSelectionElement;
event: Event;
}
export interface StTwoListSelectionAction {
element: StTwoListSelectionElement;
position: number;
}
export interface StTwoListSelectionConfig {
allElementsListTitle: string;
allElementsSearchPlaceholder: string;
selectedElementsListTitle: string;
selectedElementsSearchPlaceholder: string;
}
export interface StTwoListSelectionConfigSchema {
allElementsListTitle: TranslateableElement;
allElementsSearchPlaceholder: TranslateableElement;
selectedElementsListTitle: TranslateableElement;
selectedElementsSearchPlaceholder: TranslateableElement;
}