yanzhen-design-vue
Version:
87 lines (86 loc) • 3.14 kB
TypeScript
import { ExtractEmitsTypes } from '@yanzhen-libs/utils-vue';
import { ExtractPropTypes } from 'vue';
export declare const tagOptions: {
ns: any;
class: any;
name: any;
};
export declare const tagName: any;
export declare const AntTag: {
props: {
closeIcon: import('vue').PropType<any>;
icon: import('vue').PropType<any>;
prefixCls: StringConstructor;
color: {
type: import('vue').PropType<import('ant-design-vue/es/_util/type').LiteralUnion<"error" | "default" | "success" | "processing" | "warning" | import('ant-design-vue/es/_util/colors').PresetColorType>>;
};
closable: {
type: BooleanConstructor;
default: boolean;
};
visible: {
type: BooleanConstructor;
default: any;
};
bordered: {
type: BooleanConstructor;
default: boolean;
};
};
emits: {
close: (e: MouseEvent) => void;
click: (e: MouseEvent) => void;
"update:visible": (vis: boolean) => void;
};
};
export declare const tagProps: {
value: {
type: import('vue').PropType<string | string[]>;
};
hidden: {
type: BooleanConstructor;
};
disabled: {
type: BooleanConstructor;
};
isEdit: {
type: BooleanConstructor;
};
addName: {
type: StringConstructor;
};
maxShowLength: import('@yanzhen-libs/utils-vue').EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
closeIcon: {
type: import('vue').PropType<any>;
};
icon: {
type: import('vue').PropType<any>;
};
prefixCls: {
type: StringConstructor;
};
color: {
readonly type: import('vue').PropType<import('@yanzhen-libs/utils-vue').EpPropMergeType<import('vue').PropType<import('ant-design-vue/es/_util/type').LiteralUnion<"default" | "error" | "warning" | "success" | "processing" | import('ant-design-vue/es/_util/colors').PresetColorType>>, unknown, unknown>>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
closable: import('@yanzhen-libs/utils-vue').EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
visible: {
readonly type: import('vue').PropType<import('@yanzhen-libs/utils-vue').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
bordered: import('@yanzhen-libs/utils-vue').EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
};
export declare const tagEmits: {
'update:value': (_value: string | string[]) => boolean;
blur: (e: MouseEvent) => boolean;
close: (e: MouseEvent) => boolean;
click: (e: MouseEvent) => boolean;
"update:visible": (vis: boolean) => boolean;
};
export type TagProps = ExtractPropTypes<typeof tagProps>;
export type TagPropsKey = keyof TagProps;
export type TagEmits = ExtractEmitsTypes<typeof tagEmits>;