UNPKG

@oiij/naive-ui

Version:

Som Composable Functions And Components for Vue 3

42 lines (41 loc) 2.29 kB
import { RObject } from '../remote-request/index'; import { PresetPickerEmits, PresetPickerExposeActions, PresetPickerExposeRefs, PresetPickerProps, PresetPickerValue } from './index'; declare const _default: <V extends PresetPickerValue, 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 onClose?: (() => any) | undefined; readonly "onUpdate:value"?: ((val: V | null, raw: R | R[] | null) => any) | undefined; readonly onNegativeClick?: (() => any) | undefined; readonly onPositiveClick?: (() => any) | undefined; readonly onAfterEnter?: (() => any) | undefined; readonly onAfterLeave?: (() => any) | undefined; readonly onEsc?: (() => any) | undefined; readonly onMaskClick?: (() => any) | undefined; readonly "onUpdate:show"?: ((value: boolean) => any) | undefined; } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:value" | "onUpdate:show" | "onClose" | "onEsc" | "onAfterEnter" | "onAfterLeave" | "onPositiveClick" | "onNegativeClick" | "onMaskClick"> & PresetPickerProps<V, R> & Partial<{}>> & import('vue').PublicProps; expose(exposed: import('vue').ShallowUnwrapRef<{ refs: PresetPickerExposeRefs<R>; actions: PresetPickerExposeActions<R>; }>): void; attrs: any; slots: { 'button-icon'?(_: {}): any; button?(_: {}): any; 'clear-button'?(_: {}): any; 'clear-icon'?(_: {}): any; default?(_: { refs: PresetPickerExposeRefs<R>; actions: PresetPickerExposeActions<R>; }): any; 'modal-action'?(_: {}): any; 'modal-header'?(_: {}): any; 'modal-icon'?(_: {}): any; 'modal-close'?(_: {}): any; }; emit: PresetPickerEmits<V, R>; }>) => import('vue').VNode & { __ctx?: Awaited<typeof __VLS_setup>; }; export default _default; type __VLS_PrettifyLocal<T> = { [K in keyof T]: T[K]; } & {};