@aplus-frontend/ui
Version:
33 lines (32 loc) • 1.5 kB
TypeScript
import { ApExpandAlertProps } from './interface';
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
declare const _default: <T extends Record<string, any>>(__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 onExpand?: ((args_0: "collapse" | "expand") => any) | undefined;
readonly onChoose?: ((args_0: T) => any) | undefined;
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onExpand" | "onChoose"> & ApExpandAlertProps<T> & Partial<{}>> & PublicProps;
expose(exposed: ShallowUnwrapRef<{
setExpand: (state?: boolean) => void;
}>): void;
attrs: any;
slots: Readonly<{
default(props: any): any;
item(props: {
record: T;
index: number;
}): any;
}> & {
default(props: any): any;
item(props: {
record: T;
index: number;
}): any;
};
emit: ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
}>) => VNode & {
__ctx?: Awaited<typeof __VLS_setup>;
};
export default _default;
type __VLS_PrettifyLocal<T> = {
[K in keyof T]: T[K];
} & {};