@aplus-frontend/ui
Version:
191 lines (190 loc) • 6.12 kB
TypeScript
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, Plugin } from 'vue';
import { AttachmentItemProps, ApAttachmentProps } from './interface';
import { TooltipPlacement } from '@aplus-frontend/antdv/es/tooltip';
export * from './interface';
declare const ApAttachment: {
new (...args: any[]): CreateComponentPublicInstanceWithMixins<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<{}>, () => false | import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
size: string;
disabled: boolean;
maxWidth: string | number;
needName: {
nameKey?: string;
pathKey?: string;
};
textToolTipPlacement: TooltipPlacement;
attachmentList: AttachmentItemProps[];
fileMorePopoverPlacement: TooltipPlacement;
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, 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<{}>, () => false | import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
size: string;
disabled: boolean;
maxWidth: string | number;
needName: {
nameKey?: string;
pathKey?: string;
};
textToolTipPlacement: TooltipPlacement;
attachmentList: AttachmentItemProps[];
fileMorePopoverPlacement: TooltipPlacement;
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & ComponentOptionsBase<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<{}>, () => false | import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
size: string;
disabled: boolean;
maxWidth: string | number;
needName: {
nameKey?: string;
pathKey?: string;
};
textToolTipPlacement: TooltipPlacement;
attachmentList: AttachmentItemProps[];
fileMorePopoverPlacement: TooltipPlacement;
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
$props: {
onClick?: () => void;
};
}));
export { ApAttachment };