@stratio/egeo
Version:
44 lines (43 loc) • 2 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[];
config: StTwoListSelectionConfig;
editable: boolean;
hasAllListAll?: boolean;
hasAllListSelected?: boolean;
hasSearch: boolean;
isLoading?: boolean;
itemAll?: StTwoListSelectionElement;
mode: 'compact' | 'normal';
moveAllToSelectedButton: boolean;
moveAllToAllButton: boolean;
moveToSelectedButton: boolean;
moveToAllButton: boolean;
orderAllOptions: StDropDownMenuItem[];
orderSelectedOptions: StDropDownMenuItem[];
qaTag: string;
selectedElements: StTwoListSelectionElement[];
showSearchNumber: number;
sortBy: 'id' | 'name' | 'notOrder';
change: EventEmitter<any>;
changeOrderAll: EventEmitter<any>;
changeOrderSelected: EventEmitter<any>;
numItemsSelectedAll: EventEmitter<any>;
numItemsSelectedSelected: EventEmitter<any>;
scrollBottomAll: EventEmitter<any>;
searchOverAll: EventEmitter<string>;
searchOverSelected: EventEmitter<string>;
selectedElementsChange: EventEmitter<StTwoListSelectionElement[]>;
selectExtraLabelAll: EventEmitter<StTwoListSelectExtraLabelAction>;
selectExtraLabelSelected: EventEmitter<StTwoListSelectExtraLabelAction>;
selectItemNonEditable: EventEmitter<StTwoListSelectionElement[]>;
constructor(cd: ChangeDetectorRef);
ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): void;
readonly allList: StTwoListSelectionElement[];
readonly selectedList: StTwoListSelectionElement[];
}