frontend/.pnpm-store/v3/files/6c/77291ea8de8992bf6c4c4e3d9d182661a92ae4360e703c066cc4a401eb6340721ed8739bfe36bd0f0d1041bd73c83d2c61f0af8dfcd377667c20bd30cb7203

59 lines
1.6 KiB
Plaintext

import type { SvelteComponent } from "svelte";
export interface SelectProps {
container?: HTMLElement;
input?: HTMLInputElement;
Item?: any;
Selection?: any;
MultiSelection?: any;
isMulti?: boolean;
isDisabled?: boolean;
isCreatable?: boolean;
isFocused?: boolean;
selectedValue?: any;
filterText?: string;
placeholder?: string;
items?: any[];
itemFilter?: (label: string, filterText: string, option: any) => boolean;
groupBy?: (item: any) => any;
groupFilter?: (groups: any) => any;
isGroupHeaderSelectable?: boolean;
getGroupHeaderLabel?: (option: any) => string;
getOptionLabel?: (option: any, filterText: string) => string;
optionIdentifier?: string;
loadOptions?: (filterText: string) => Promise<any[]>;
hasError?: boolean;
containerStyles?: string;
getSelectionLabel?: (option: any) => string;
createGroupHeaderItem?: (groupValue: any) => any;
createItem?: (filterText: string) => any;
isSearchable?: boolean;
inputStyles?: string;
isClearable?: boolean;
isWaiting?: boolean;
listPlacement?: "auto" | "top" | "bottom";
listOpen?: boolean;
list?: any;
isVirtualList?: boolean;
loadOptionsInterval?: number;
noOptionsMessage?: string;
hideEmptyState?: boolean;
filteredItems?: any[];
inputAttributes?: object;
listAutoWidth?: boolean;
itemHeight?: number;
Icon?: any;
iconProps?: object;
showChevron?: boolean;
showIndicator?: boolean;
containerClasses?: string;
indicatorSvg?: string;
handleClear?: () => void;
}
declare class Select extends SvelteComponent {
$$prop_def: SelectProps;
}
export default Select;