yanzhen-design-vue
Version:
124 lines (123 loc) • 4.81 kB
TypeScript
declare function __VLS_template(): {
slots: {
suffix?(_: {}): any;
};
refs: {
_ref: HTMLDivElement;
};
attrs: Partial<{}>;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
isSelf: {
type: BooleanConstructor;
};
info: {
type: ObjectConstructor;
};
tags: import('@yanzhen-libs/utils-vue').EpPropFinalized<import('vue').PropType<import('../constants').ContactsItem[]>, unknown, unknown, () => any[], boolean>;
creatorReadOnlyId: {
type: StringConstructor;
};
onItemClick: {
type: import('vue').PropType<(item?: Partial<import('../constants').ContactsItem>) => void>;
};
onSuffixClick: {
type: import('vue').PropType<(item?: Partial<import('../constants').ContactsItem>) => void>;
};
value: {
readonly type: import('vue').PropType<import('@yanzhen-libs/utils-vue').EpPropMergeType<import('vue').PropType<import('../constants').ContactsValue>, unknown, unknown>>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
avatar: {
readonly type: import('vue').PropType<string>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
errorImg: {
readonly type: import('vue').PropType<string>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
label: {
readonly type: import('vue').PropType<string>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
type: {
readonly type: import('vue').PropType<string>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
}>, {
ref: import('vue').Ref<import('vue').ComponentPublicInstance, import('vue').ComponentPublicInstance>;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"item-click": (item?: Partial<import('../constants').ContactsItem>) => void;
"suffix-click": (item?: Partial<import('../constants').ContactsItem>) => void;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
isSelf: {
type: BooleanConstructor;
};
info: {
type: ObjectConstructor;
};
tags: import('@yanzhen-libs/utils-vue').EpPropFinalized<import('vue').PropType<import('../constants').ContactsItem[]>, unknown, unknown, () => any[], boolean>;
creatorReadOnlyId: {
type: StringConstructor;
};
onItemClick: {
type: import('vue').PropType<(item?: Partial<import('../constants').ContactsItem>) => void>;
};
onSuffixClick: {
type: import('vue').PropType<(item?: Partial<import('../constants').ContactsItem>) => void>;
};
value: {
readonly type: import('vue').PropType<import('@yanzhen-libs/utils-vue').EpPropMergeType<import('vue').PropType<import('../constants').ContactsValue>, unknown, unknown>>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
avatar: {
readonly type: import('vue').PropType<string>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
errorImg: {
readonly type: import('vue').PropType<string>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
label: {
readonly type: import('vue').PropType<string>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
type: {
readonly type: import('vue').PropType<string>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
}>> & Readonly<{
"onItem-click"?: (item?: Partial<import('../constants').ContactsItem>) => any;
"onSuffix-click"?: (item?: Partial<import('../constants').ContactsItem>) => any;
}>, {
tags: import('../constants').ContactsItem[];
isSelf: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};