UNPKG

yanzhen-design-vue

Version:

66 lines (65 loc) 2.5 kB
import { ExtractPropTypes } from 'vue'; import { ExtractEmitsTypes } from '@yanzhen-libs/utils-vue'; import { ContactsItem } from '../constants'; export declare const contactsItemOptions: { ns: any; class: any; name: any; }; export declare const contactsItemName: any; export declare const contactsItemProps: { isSelf: { type: BooleanConstructor; }; info: { type: ObjectConstructor; }; tags: import('@yanzhen-libs/utils-vue').EpPropFinalized<import('vue').PropType<ContactsItem[]>, unknown, unknown, () => any[], boolean>; creatorReadOnlyId: { type: StringConstructor; }; onItemClick: { type: import('vue').PropType<(item?: Partial<ContactsItem>) => void>; }; onSuffixClick: { type: import('vue').PropType<(item?: Partial<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; }; }; export declare const contactsItemEmits: { "item-click": (item?: Partial<ContactsItem>) => boolean; "suffix-click": (item?: Partial<ContactsItem>) => boolean; }; export type ContactsItemProps = ExtractPropTypes<typeof contactsItemProps>; export type ContactsItemPropsKey = keyof ContactsItemProps; export type ContactsItemEmits = ExtractEmitsTypes<typeof contactsItemEmits>; export declare const contactsItemOmitProps: <T extends Record<string, any>>(props: T) => Partial<ContactsItemProps>;