@aplus-frontend/ui
Version:
29 lines (28 loc) • 1.42 kB
TypeScript
import { ApSelectItem, ApSelectLayoutProps } from './interface';
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
declare const _default: <T extends ApSelectItem>(__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 onOnSelect?: ((value: T) => any) | undefined;
readonly onAfterEnter?: ((el: Element) => any) | undefined;
readonly onAfterLeave?: ((el: Element) => any) | undefined;
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onAfterEnter" | "onAfterLeave" | "onOnSelect"> & ApSelectLayoutProps<T> & Partial<{}>> & PublicProps;
expose(exposed: ShallowUnwrapRef<{}>): void;
attrs: any;
slots: {
itemRender?(_: {
item: T;
}): any;
default?(_: {}): any;
};
emit: {
(event: "onSelect", value: T): void;
(event: "afterEnter", el: Element): void;
(event: "afterLeave", el: Element): void;
};
}>) => VNode & {
__ctx?: Awaited<typeof __VLS_setup>;
};
export default _default;
type __VLS_PrettifyLocal<T> = {
[K in keyof T]: T[K];
} & {};