| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178 |
- import { EpPropFinalized, EpPropMergeType } from "../../../utils/vue/props/types.js";
- import { PopperEffect } from "../../popper/src/popper.js";
- import { Placement } from "../../popper/index.js";
- import * as _$vue from "vue";
- import { ExtractPropTypes, ExtractPublicPropTypes, StyleValue } from "vue";
- //#region ../../packages/components/avatar/src/avatar-group-props.d.ts
- declare const avatarGroupProps: {
- /**
- * @description control the size of avatars in this avatar-group
- */
- readonly size: {
- readonly type: _$vue.PropType<number | "" | "default" | "small" | "large" | undefined>;
- readonly values: readonly ["", "default", "small", "large"];
- readonly validator: (val: unknown) => val is number;
- };
- /**
- * @description control the shape of avatars in this avatar-group
- */
- readonly shape: {
- readonly type: _$vue.PropType<"square" | "circle" | undefined>;
- readonly values: readonly ["circle", "square"];
- };
- /**
- * @description whether to collapse avatars
- */
- readonly collapseAvatars: BooleanConstructor;
- /**
- * @description whether show all collapsed avatars when mouse hover text of the collapse-avatar. To use this, `collapse-avatars` must be true
- */
- readonly collapseAvatarsTooltip: BooleanConstructor;
- /**
- * @description the max avatars number to be shown. To use this, `collapse-avatars` must be true
- */
- readonly maxCollapseAvatars: {
- readonly type: NumberConstructor;
- readonly default: 1;
- };
- /**
- * @description tooltip theme, built-in theme: `dark` / `light`
- */
- readonly effect: {
- readonly type: _$vue.PropType<PopperEffect>;
- readonly default: "light";
- };
- /**
- * @description placement of tooltip
- */
- readonly placement: {
- readonly type: _$vue.PropType<Placement>;
- readonly values: Placement[];
- readonly default: "top";
- };
- /**
- * @description custom class name for tooltip
- */
- readonly popperClass: {
- readonly type: _$vue.PropType<EpPropMergeType<(new (...args: any[]) => string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | /*elided*/any)[])[])[])[])[])[])[])[])[])[])[]) | (() => string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | /*elided*/any)[])[])[])[])[])[])[])[])[])[])[]) | (((new (...args: any[]) => string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | /*elided*/any)[])[])[])[])[])[])[])[])[])[])[]) | (() => string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | (string | {
- [x: string]: boolean;
- } | /*elided*/any)[])[])[])[])[])[])[])[])[])[])[])) | null)[], unknown, unknown>>;
- readonly required: false;
- readonly validator: ((val: unknown) => boolean) | undefined;
- __epPropKey: true;
- };
- /**
- * @description custom style for tooltip
- */
- readonly popperStyle: EpPropFinalized<(new (...args: any[]) => string | false | _$vue.CSSProperties | StyleValue[]) | (() => StyleValue) | (((new (...args: any[]) => string | false | _$vue.CSSProperties | StyleValue[]) | (() => StyleValue)) | null)[], unknown, unknown, undefined, boolean>;
- /**
- * @description custom class name for the collapse-avatar
- */
- readonly collapseClass: StringConstructor;
- /**
- * @description custom style for the collapse-avatar
- */
- readonly collapseStyle: {
- readonly type: _$vue.PropType<StyleValue>;
- readonly default: undefined;
- };
- };
- type AvatarGroupProps = ExtractPropTypes<typeof avatarGroupProps>;
- type AvatarGroupPropsPublic = ExtractPublicPropTypes<typeof avatarGroupProps>;
- //#endregion
- export { AvatarGroupProps, AvatarGroupPropsPublic, avatarGroupProps };
|