@stratio/egeo
Version:
Stratio egeo library of components in Angular 2
30 lines (29 loc) • 1.48 kB
TypeScript
import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
import { StDropDownMenuItem } from '../st-dropdown-menu/st-dropdown-menu.interface';
import { StTwoListSelection } from './st-two-list-selection';
import { StTwoListSelectionConfig, StTwoListSelectionElement, StTwoListSelectExtraLabelAction } from './st-two-list-selection.model';
export declare class StTwoListSelectionComponent extends StTwoListSelection implements OnInit, OnChanges {
private cd;
allElements: StTwoListSelectionElement[];
selectedElements: StTwoListSelectionElement[];
selectedElementsChange: EventEmitter<StTwoListSelectionElement[]>;
selectExtraLabelAll: EventEmitter<StTwoListSelectExtraLabelAction>;
selectExtraLabelSelected: EventEmitter<StTwoListSelectExtraLabelAction>;
changeOrderAll: EventEmitter<StDropDownMenuItem>;
changeOrderSelected: EventEmitter<StDropDownMenuItem>;
config: StTwoListSelectionConfig;
editable: boolean;
qaTag: string;
sortBy: 'id' | 'name';
mode: 'compact' | 'normal';
moveAllToSelectedButton: boolean;
moveAllToAllButton: boolean;
hasSearch: boolean;
orderSelectedOptions: StDropDownMenuItem[];
orderAllOptions: StDropDownMenuItem[];
constructor(cd: ChangeDetectorRef);
ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): void;
readonly allList: StTwoListSelectionElement[];
readonly selectedList: StTwoListSelectionElement[];
}