@archway-kit/vue
Version:
Vue components to interact with the Archway network
62 lines (61 loc) • 2.39 kB
TypeScript
declare const _default: <TValue extends string | number | boolean | object | null | undefined, TOption>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
readonly "onUpdate:modelValue"?: ((value: TValue) => any) | undefined;
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue"> & {
modelValue: TValue;
placeholder?: string;
options?: TOption[];
disabled?: boolean;
label?: string;
panelClassName?: string;
wrapperClassName?: string;
getValue: (o: TOption) => TValue;
getKey?: (o: TOption, i: number) => string | number;
search?: (o: TOption, s: string) => boolean;
minSearchSymbols?: number;
resetSearchOnSelect?: boolean;
up?: boolean;
}> & import('vue').PublicProps;
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
attrs: any;
slots: {
trigger?(_: {
value: TValue;
option: TOption | undefined;
open: any;
disabled: boolean | undefined;
}): any;
selected?(_: {
value: TValue;
option: TOption | undefined;
open: any;
disabled: boolean | undefined;
}): any;
default?(_: {
value: TValue;
open: any;
disabled: boolean | undefined;
option: TOption | undefined;
}): any;
default?(_: {
value: TValue;
option: TOption;
open: any;
disabled: boolean | undefined;
}): any;
option?(_: {
option: TOption;
disabled: boolean | undefined;
}): any;
"search-placeholder"?(_: {}): any;
};
emit: (e: "update:modelValue", value: TValue) => void;
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
[key: string]: any;
}> & {
__ctx?: Awaited<typeof __VLS_setup>;
};
export default _default;
type __VLS_PrettifyLocal<T> = {
[K in keyof T]: T[K];
} & {};