2024-08-02 18:19:39 +08:00

237 lines
8.2 KiB
TypeScript

import { type CSSProperties, type PropType } from 'vue';
import type { Size } from '../../avatar/src/interface';
import type { ExtractPublicPropTypes } from '../../_utils';
export interface AvatarGroupInjection {
size?: Size | undefined;
}
export interface AvatarGroupOption {
src: string;
}
export declare const avatarGroupProps: {
readonly max: NumberConstructor;
readonly maxStyle: PropType<CSSProperties | string>;
readonly options: {
readonly type: PropType<AvatarGroupOption[]>;
readonly default: () => never[];
};
readonly vertical: BooleanConstructor;
readonly expandOnHover: BooleanConstructor;
readonly size: PropType<Size | undefined>;
readonly theme: PropType<import("../../_mixins").Theme<"AvatarGroup", {
gap: string;
}, {
Avatar: import("../../_mixins").Theme<"Avatar", {
borderRadius: string;
fontSize: string;
border: string;
heightTiny: string;
heightSmall: string;
heightMedium: string;
heightLarge: string;
heightHuge: string;
color: string;
colorModal: string;
colorPopover: string;
}, any>;
}>>;
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"AvatarGroup", {
gap: string;
}, {
Avatar: import("../../_mixins").Theme<"Avatar", {
borderRadius: string;
fontSize: string;
border: string;
heightTiny: string;
heightSmall: string;
heightMedium: string;
heightLarge: string;
heightHuge: string;
color: string;
colorModal: string;
colorPopover: string;
}, any>;
}>>>;
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"AvatarGroup", {
gap: string;
}, {
Avatar: import("../../_mixins").Theme<"Avatar", {
borderRadius: string;
fontSize: string;
border: string;
heightTiny: string;
heightSmall: string;
heightMedium: string;
heightLarge: string;
heightHuge: string;
color: string;
colorModal: string;
colorPopover: string;
}, any>;
}>>>;
};
export type AvatarGroupProps = ExtractPublicPropTypes<typeof avatarGroupProps>;
declare const _default: import("vue").DefineComponent<{
readonly max: NumberConstructor;
readonly maxStyle: PropType<CSSProperties | string>;
readonly options: {
readonly type: PropType<AvatarGroupOption[]>;
readonly default: () => never[];
};
readonly vertical: BooleanConstructor;
readonly expandOnHover: BooleanConstructor;
readonly size: PropType<Size | undefined>;
readonly theme: PropType<import("../../_mixins").Theme<"AvatarGroup", {
gap: string;
}, {
Avatar: import("../../_mixins").Theme<"Avatar", {
borderRadius: string;
fontSize: string;
border: string;
heightTiny: string;
heightSmall: string;
heightMedium: string;
heightLarge: string;
heightHuge: string;
color: string;
colorModal: string;
colorPopover: string;
}, any>;
}>>;
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"AvatarGroup", {
gap: string;
}, {
Avatar: import("../../_mixins").Theme<"Avatar", {
borderRadius: string;
fontSize: string;
border: string;
heightTiny: string;
heightSmall: string;
heightMedium: string;
heightLarge: string;
heightHuge: string;
color: string;
colorModal: string;
colorPopover: string;
}, any>;
}>>>;
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"AvatarGroup", {
gap: string;
}, {
Avatar: import("../../_mixins").Theme<"Avatar", {
borderRadius: string;
fontSize: string;
border: string;
heightTiny: string;
heightSmall: string;
heightMedium: string;
heightLarge: string;
heightHuge: string;
color: string;
colorModal: string;
colorPopover: string;
}, any>;
}>>>;
}, {
mergedTheme: import("vue").ComputedRef<{
common: import("../..").ThemeCommonVars;
self: {
gap: string;
};
peers: {
Avatar: import("../../_mixins").Theme<"Avatar", {
borderRadius: string;
fontSize: string;
border: string;
heightTiny: string;
heightSmall: string;
heightMedium: string;
heightLarge: string;
heightHuge: string;
color: string;
colorModal: string;
colorPopover: string;
}, any>;
};
peerOverrides: {
Avatar?: {
peers?: {
[x: string]: any;
} | undefined;
} | undefined;
};
}>;
rtlEnabled: import("vue").Ref<import("../../config-provider/src/internal-interface").RtlItem | undefined> | undefined;
mergedClsPrefix: import("vue").Ref<string>;
restOptions: import("vue").ComputedRef<AvatarGroupOption[] | undefined>;
displayedOptions: import("vue").ComputedRef<AvatarGroupOption[]>;
cssVars: import("vue").ComputedRef<{
'--n-gap': string;
}>;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
readonly max: NumberConstructor;
readonly maxStyle: PropType<CSSProperties | string>;
readonly options: {
readonly type: PropType<AvatarGroupOption[]>;
readonly default: () => never[];
};
readonly vertical: BooleanConstructor;
readonly expandOnHover: BooleanConstructor;
readonly size: PropType<Size | undefined>;
readonly theme: PropType<import("../../_mixins").Theme<"AvatarGroup", {
gap: string;
}, {
Avatar: import("../../_mixins").Theme<"Avatar", {
borderRadius: string;
fontSize: string;
border: string;
heightTiny: string;
heightSmall: string;
heightMedium: string;
heightLarge: string;
heightHuge: string;
color: string;
colorModal: string;
colorPopover: string;
}, any>;
}>>;
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"AvatarGroup", {
gap: string;
}, {
Avatar: import("../../_mixins").Theme<"Avatar", {
borderRadius: string;
fontSize: string;
border: string;
heightTiny: string;
heightSmall: string;
heightMedium: string;
heightLarge: string;
heightHuge: string;
color: string;
colorModal: string;
colorPopover: string;
}, any>;
}>>>;
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"AvatarGroup", {
gap: string;
}, {
Avatar: import("../../_mixins").Theme<"Avatar", {
borderRadius: string;
fontSize: string;
border: string;
heightTiny: string;
heightSmall: string;
heightMedium: string;
heightLarge: string;
heightHuge: string;
color: string;
colorModal: string;
colorPopover: string;
}, any>;
}>>>;
}>>, {
readonly options: AvatarGroupOption[];
readonly vertical: boolean;
readonly expandOnHover: boolean;
}, {}>;
export default _default;