selectic
Version:
Smart Select for VueJS 3.x
46 lines (45 loc) • 1.32 kB
TypeScript
import { Vue, h } from 'vtyx';
import Store, { OptionItem } from './Store';
export interface Props {
store: Store;
width?: number;
elementTop?: number;
elementBottom?: number;
elementLeft?: number;
elementRight?: number;
}
export default class ExtendedList extends Vue<Props> {
private store;
private elementLeft;
private elementRight;
private elementTop;
private elementBottom;
private width;
private topGroupName;
private topGroupId;
private listHeight;
private listWidth;
private availableSpace;
/** check if the height of the box has been completely estimated. */
get isFullyEstimated(): boolean;
get searchingLabel(): string;
get searching(): boolean;
get errorMessage(): string;
get infoMessage(): string;
get bestPosition(): 'top' | 'bottom';
get position(): 'top' | 'bottom';
get horizontalStyle(): string;
get positionStyle(): string;
get topGroup(): OptionItem | undefined;
get topGroupSelected(): boolean;
get topGroupDisabled(): boolean;
onFilteredOptionsChange(): void;
onHideFilterChange(): void;
private getGroup;
private computeListSize;
private clickHeaderGroup;
private onKeyDown;
mounted(): void;
unmounted(): void;
render(): h.JSX.Element;
}