vue3-icon-picker
Version:
Vue 3 icon picker
64 lines (63 loc) • 2.14 kB
TypeScript
import 'vue-virtual-scroller/dist/vue-virtual-scroller.css';
import type { IconLibrary, InputSize, Theme, ValueType } from '../types';
export interface Props {
searchPlaceholder?: string;
placeholder?: string;
modelValue: string | string[] | null;
multiple?: boolean;
iconLibrary?: IconLibrary | 'all' | IconLibrary[];
selectedIconBgColor?: string;
selectedIconColor?: string;
displaySearch?: boolean;
multipleLimit?: number;
disabled?: boolean;
selectedItemsToDisplay?: number;
clearable?: boolean;
valueType?: ValueType;
includeIcons?: string[];
excludeIcons?: string[];
includeSearch?: string;
excludeSearch?: string;
emptyText?: string;
inputSize?: InputSize;
theme?: Theme;
}
declare var __VLS_35: {};
type __VLS_Slots = {} & {
empty?: (props: typeof __VLS_35) => any;
};
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
change: (...args: any[]) => void;
"update:modelValue": (...args: any[]) => void;
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
onChange?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}>, {
searchPlaceholder: string;
placeholder: string;
multiple: boolean;
iconLibrary: IconLibrary | "all" | IconLibrary[];
selectedIconBgColor: string;
selectedIconColor: string;
displaySearch: boolean;
multipleLimit: number;
disabled: boolean;
selectedItemsToDisplay: number;
clearable: boolean;
valueType: ValueType;
includeIcons: string[];
excludeIcons: string[];
includeSearch: string;
excludeSearch: string;
emptyText: string;
inputSize: InputSize;
theme: Theme;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
declare const _default: typeof __VLS_export;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};