yanzhen-design-vue
Version:
77 lines (76 loc) • 1.93 kB
TypeScript
import { ExtractPropTypes } from 'vue';
export declare const messageOptions: {
ns: any;
class: any;
name: any;
};
export declare const messageName: any;
export type MessageRequestKeyType = 'delete' | 'download';
export type MessageRequestMapType = {
[k in MessageRequestKeyType]: Promise<any>;
};
export declare const messageExtraProps: {
showOrganizationName: {
type: BooleanConstructor;
required: boolean;
default: boolean;
};
messageOperatesPopPosition: {
type: StringConstructor;
default: () => string;
};
itemData: {
type: ObjectConstructor;
default: () => {};
};
taskID: {
type: StringConstructor;
default: () => string;
};
commentType: {
type: StringConstructor;
default: string;
};
accountID: {
type: StringConstructor;
required: boolean;
};
};
export declare const messageProps: {
showOrganizationName: {
type: BooleanConstructor;
required: boolean;
default: boolean;
};
messageOperatesPopPosition: {
type: StringConstructor;
default: () => string;
};
itemData: {
type: ObjectConstructor;
default: () => {};
};
taskID: {
type: StringConstructor;
default: () => string;
};
commentType: {
type: StringConstructor;
default: string;
};
accountID: {
type: StringConstructor;
required: boolean;
};
};
export declare const messageExtraEmits: {
delete: (val: any) => boolean;
download: (val: any) => boolean;
};
export declare const messageEmits: {
delete: (val: any) => boolean;
download: (val: any) => boolean;
};
export type MessageProps = Partial<ExtractPropTypes<typeof messageProps>>;
export type MessagePropsKey = keyof MessageProps;
export type MessageEmits = typeof messageEmits;