@aplus-frontend/ui
Version:
107 lines (106 loc) • 3.05 kB
TypeScript
import { AttachmentItemProps, ApAttachmentProps } from './interface';
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
import { TooltipPlacement } from '@aplus-frontend/antdv/es/tooltip';
declare const _default: DefineComponent<ExtractPropTypes<{
attachmentList: {
type: PropType<Array<AttachmentItemProps>>;
default: never[];
required: boolean;
};
textToolTipPlacement: {
type: PropType< ApAttachmentProps["textToolTipPlacement"]>;
default: string;
};
fileMorePopoverPlacement: {
type: PropType< ApAttachmentProps["fileMorePopoverPlacement"]>;
default: string;
};
color: {
type: StringConstructor;
};
size: {
type: StringConstructor;
default: string;
};
maxWidth: {
type: (NumberConstructor | StringConstructor)[];
default: string;
};
needName: {
type: PropType<{
nameKey?: string;
pathKey?: string;
}>;
default: () => {
nameKey: string;
pathKey: string;
};
};
getOssAccess: {
type: PropType< ApAttachmentProps["getOssAccess"]>;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
toolTipBgColor: {
type: StringConstructor;
};
}>, () => false | import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
attachmentList: {
type: PropType<Array<AttachmentItemProps>>;
default: never[];
required: boolean;
};
textToolTipPlacement: {
type: PropType< ApAttachmentProps["textToolTipPlacement"]>;
default: string;
};
fileMorePopoverPlacement: {
type: PropType< ApAttachmentProps["fileMorePopoverPlacement"]>;
default: string;
};
color: {
type: StringConstructor;
};
size: {
type: StringConstructor;
default: string;
};
maxWidth: {
type: (NumberConstructor | StringConstructor)[];
default: string;
};
needName: {
type: PropType<{
nameKey?: string;
pathKey?: string;
}>;
default: () => {
nameKey: string;
pathKey: string;
};
};
getOssAccess: {
type: PropType< ApAttachmentProps["getOssAccess"]>;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
toolTipBgColor: {
type: StringConstructor;
};
}>> & Readonly<{}>, {
size: string;
disabled: boolean;
maxWidth: string | number;
needName: {
nameKey?: string;
pathKey?: string;
};
textToolTipPlacement: TooltipPlacement;
attachmentList: AttachmentItemProps[];
fileMorePopoverPlacement: TooltipPlacement;
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
export default _default;