@litigiovirtual/ius-design-components 1.0.227 → 1.0.229
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/avatar-v2/avatar-v2.component.mjs +74 -0
- package/esm2022/lib/avatar-v2/index.mjs +2 -0
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/litigiovirtual-ius-design-components.mjs +65 -1
- package/fesm2022/litigiovirtual-ius-design-components.mjs.map +1 -1
- package/lib/avatar-v2/avatar-v2.component.d.ts +23 -0
- package/lib/avatar-v2/index.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export type AvatarV2Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
4
|
+
export type AvatarV2Shape = 'circle' | 'square';
|
|
5
|
+
export declare class AvatarV2Component implements OnChanges {
|
|
6
|
+
imageUrl?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
size: AvatarV2Size;
|
|
9
|
+
shape: AvatarV2Shape;
|
|
10
|
+
showEditButton: boolean;
|
|
11
|
+
backgroundColor?: string;
|
|
12
|
+
fallbackIconName: string;
|
|
13
|
+
editClicked: EventEmitter<void>;
|
|
14
|
+
initials: string;
|
|
15
|
+
get containerStyle(): {
|
|
16
|
+
[key: string]: string;
|
|
17
|
+
};
|
|
18
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
19
|
+
onEditClick(event: MouseEvent): void;
|
|
20
|
+
private extractInitials;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarV2Component, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarV2Component, "ius-avatar-v2", never, { "imageUrl": { "alias": "imageUrl"; "required": false; }; "name": { "alias": "name"; "required": false; }; "size": { "alias": "size"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "showEditButton": { "alias": "showEditButton"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "fallbackIconName": { "alias": "fallbackIconName"; "required": false; }; }, { "editClicked": "editClicked"; }, never, never, true, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './avatar-v2.component';
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -95,5 +95,6 @@ export * from './lib/support-panel';
|
|
|
95
95
|
export * from './lib/loading-component-dynamic';
|
|
96
96
|
export * from './lib/page-not-found';
|
|
97
97
|
export * from './lib/empty-list';
|
|
98
|
+
export * from './lib/avatar-v2';
|
|
98
99
|
export * from './lib/directives/popover.directive';
|
|
99
100
|
export * from './lib/directives/infinite-scroll.directive';
|