2023-03-01 12:55:32 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* AvatarGroup is a helper component for Avatar.
|
|
|
|
*
|
|
|
|
* [Live Demo](https://www.primevue.org/accordion/)
|
|
|
|
*
|
|
|
|
* @module avatargroup
|
|
|
|
*
|
|
|
|
*/
|
2023-07-06 11:17:08 +00:00
|
|
|
import { ComponentHooks } from '../basecomponent';
|
2022-09-06 12:03:37 +00:00
|
|
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
|
|
|
2023-04-21 12:04:27 +00:00
|
|
|
export declare type AvatarGroupPassThroughOptionType = AvatarGroupPassThroughAttributes | null | undefined;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Custom passthrough attributes for each DOM elements
|
|
|
|
*/
|
|
|
|
export interface AvatarGroupPassThroughAttributes {
|
|
|
|
[key: string]: any;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Custom passthrough(pt) options.
|
|
|
|
* @see {@link AvatarGroupProps.pt}
|
|
|
|
*/
|
|
|
|
export interface AvatarGroupPassThroughOptions {
|
|
|
|
/**
|
|
|
|
* Uses to pass attributes to the root's DOM element.
|
|
|
|
*/
|
|
|
|
root?: AvatarGroupPassThroughOptionType;
|
2023-07-06 11:09:01 +00:00
|
|
|
/**
|
|
|
|
* Uses to manage all lifecycle hooks
|
|
|
|
* @see {@link BaseComponent.ComponentHooks}
|
|
|
|
*/
|
|
|
|
hooks?: ComponentHooks;
|
2023-04-21 12:04:27 +00:00
|
|
|
}
|
|
|
|
|
2023-03-01 12:55:32 +00:00
|
|
|
/**
|
|
|
|
* Defines valid properties in AvatarGroup component.
|
|
|
|
*/
|
2023-04-21 12:04:27 +00:00
|
|
|
export interface AvatarGroupProps {
|
|
|
|
/**
|
|
|
|
* Uses to pass attributes to DOM elements inside the component.
|
|
|
|
* @type {AvatarGroupPassThroughOptions}
|
|
|
|
*/
|
|
|
|
pt?: AvatarGroupPassThroughOptions;
|
2023-05-25 10:07:09 +00:00
|
|
|
/**
|
|
|
|
* When enabled, it removes component related styles in the core.
|
|
|
|
* @defaultValue false
|
|
|
|
*/
|
|
|
|
unstyled?: boolean;
|
2023-04-21 12:04:27 +00:00
|
|
|
}
|
2022-09-06 12:03:37 +00:00
|
|
|
|
2023-03-01 12:55:32 +00:00
|
|
|
/**
|
|
|
|
* Defines valid slots in AvatarGroup component.
|
|
|
|
*/
|
2022-09-14 11:26:01 +00:00
|
|
|
export interface AvatarGroupSlots {}
|
2022-09-06 12:03:37 +00:00
|
|
|
|
2023-03-01 12:55:32 +00:00
|
|
|
/**
|
|
|
|
* Defines valid emits in AvatarGroup component.
|
|
|
|
*/
|
|
|
|
export interface AvatarGroupEmits {}
|
2022-09-06 12:03:37 +00:00
|
|
|
|
2023-03-01 12:55:32 +00:00
|
|
|
/**
|
|
|
|
* **PrimeVue - AvatarGroup**
|
|
|
|
*
|
|
|
|
* _A set of Avatars can be displayed together using the AvatarGroup component._
|
|
|
|
*
|
|
|
|
* [Live Demo](https://www.primevue.org/avatargroup/)
|
|
|
|
* --- ---
|
|
|
|
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
|
|
|
*
|
|
|
|
* @group Component
|
|
|
|
*/
|
2022-09-14 11:26:01 +00:00
|
|
|
declare class AvatarGroup extends ClassComponent<AvatarGroupProps, AvatarGroupSlots, AvatarGroupEmits> {}
|
2022-09-06 12:03:37 +00:00
|
|
|
|
|
|
|
declare module '@vue/runtime-core' {
|
|
|
|
interface GlobalComponents {
|
2022-09-14 11:26:01 +00:00
|
|
|
AvatarGroup: GlobalComponentConstructor<AvatarGroup>;
|
2022-09-06 12:03:37 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default AvatarGroup;
|