UNPKG

@oiij/naive-ui

Version:

Som Composable Functions And Components for Vue 3

49 lines (48 loc) 2.93 kB
import { SelectOption } from 'naive-ui'; import { RObject } from '../remote-request/index'; import { PresetSelectEmits, PresetSelectExposeActions, PresetSelectExposeRefs, PresetSelectProps, PresetSelectValue } from './index'; declare const _default: <V extends PresetSelectValue, P extends RObject, D extends RObject, R extends RObject>(__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 onBlur?: ((ev: FocusEvent) => any) | undefined; readonly onError?: ((err: Error, params: P[]) => any) | undefined; readonly onFocus?: ((ev: FocusEvent) => any) | undefined; readonly onScroll?: ((ev: Event) => any) | undefined; readonly onSuccess?: ((data: D, params: P[]) => any) | undefined; readonly "onUpdate:value"?: ((val: V | null, option: SelectOption | SelectOption[] | null, raw: R | R[] | null) => any) | undefined; readonly onClear?: (() => any) | undefined; readonly onSearch?: ((value: string) => any) | undefined; readonly onFinally?: ((params: P[], data?: D | undefined, err?: Error | undefined) => any) | undefined; readonly onBefore?: ((params: P[]) => any) | undefined; readonly "onUpdate:page"?: ((page: number) => any) | undefined; readonly "onUpdate:pageSize"?: ((pageSize: number) => any) | undefined; readonly onCreate?: ((label: string) => any) | undefined; } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onFocus" | "onBlur" | "onClear" | "onUpdate:value" | "onError" | "onScroll" | "onCreate" | "onSearch" | "onSuccess" | "onFinally" | "onBefore" | "onUpdate:page" | "onUpdate:pageSize"> & PresetSelectProps<V, P, D, R> & Partial<{}>> & import('vue').PublicProps; expose(exposed: import('vue').ShallowUnwrapRef<{ refs: PresetSelectExposeRefs<P, D, R>; actions: PresetSelectExposeActions<P, D>; }>): void; attrs: any; slots: { header?(_: { refs: PresetSelectExposeRefs<P, D, R>; actions: PresetSelectExposeActions<P, D>; }): any; footer?(_: { refs: PresetSelectExposeRefs<P, D, R>; actions: PresetSelectExposeActions<P, D>; }): any; 'footer-extra'?(_: { refs: PresetSelectExposeRefs<P, D, R>; actions: PresetSelectExposeActions<P, D>; }): any; empty?(_: {}): any; arrow?(_: {}): any; }; emit: PresetSelectEmits<V, P, D, R>; }>) => import('vue').VNode & { __ctx?: Awaited<typeof __VLS_setup>; }; export default _default; type __VLS_PrettifyLocal<T> = { [K in keyof T]: T[K]; } & {};