ant-design-x-vue-next
Version:
Ant Design X for Vue — community continuation aligned with @ant-design/x
50 lines (49 loc) • 3.1 kB
TypeScript
export type { Attachment, AttachmentsProps, AttachmentsRef, AttachmentsSelectOptions, AttachmentsSemanticType, PlaceholderType, PlaceholderConfig, } from './interface';
declare const Attachments: {
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("./interface").AttachmentsProps> & Readonly<{}>, {
nativeElement: HTMLDivElement | null;
fileNativeElement: HTMLInputElement | null;
upload: (file: File | File[] | FileList) => void;
select: (options?: import("./interface").AttachmentsSelectOptions) => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<import("./interface").AttachmentsProps> & Readonly<{}>, {
nativeElement: HTMLDivElement | null;
fileNativeElement: HTMLInputElement | null;
upload: (file: File | File[] | FileList) => void;
select: (options?: import("./interface").AttachmentsSelectOptions) => void;
}, {}, {}, {}, {}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase<Readonly<import("./interface").AttachmentsProps> & Readonly<{}>, {
nativeElement: HTMLDivElement | null;
fileNativeElement: HTMLInputElement | null;
upload: (file: File | File[] | FileList) => void;
select: (options?: import("./interface").AttachmentsSelectOptions) => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
$slots: Readonly<{
default?(): import("vue").VNode | import("vue").VNode[] | string;
placeholder?(props?: {
type: "inline" | "drop";
}): import("vue").VNode | string;
upload?(): import("vue").VNode | import("vue").VNode[] | string;
}> & {
default?(): import("vue").VNode | import("vue").VNode[] | string;
placeholder?(props?: {
type: "inline" | "drop";
}): import("vue").VNode | string;
upload?(): import("vue").VNode | import("vue").VNode[] | string;
};
}) & {
FileCard: import("vue").DefineComponent<import("./interface").FileListCardProps, {
nativeElement: Readonly<import("vue").ShallowRef<HTMLDivElement>>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("./interface").FileListCardProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
};
export default Attachments;
export { Attachments, };