@datarailsshared/datarailsshared 1.5.235 → 1.5.236

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.
@@ -4,11 +4,19 @@ export declare class DrAvatarComponent {
4
4
  set users(users: any[] | any);
5
5
  warning: boolean;
6
6
  showUnassigned: boolean;
7
+ drAvatarTooltipPosition: string;
8
+ drAvatarTooltipClass: string;
9
+ drAvatarSize: string;
10
+ drAvatarIsClickable: boolean;
7
11
  userClicked: EventEmitter<any>;
8
12
  parsedUsers: any[];
9
13
  constructor();
10
14
  getFirstUsers(): any[];
11
15
  getLastUsers(): any[];
16
+ getAvatarColor(user: {
17
+ [field: string]: any;
18
+ colorNumber?: number;
19
+ }): string;
12
20
  static ɵfac: i0.ɵɵFactoryDeclaration<DrAvatarComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<DrAvatarComponent, "dr-avatar", never, { "users": { "alias": "users"; "required": false; }; "warning": { "alias": "warning"; "required": false; }; "showUnassigned": { "alias": "showUnassigned"; "required": false; }; }, { "userClicked": "userClicked"; }, never, never, false, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<DrAvatarComponent, "dr-avatar", never, { "users": { "alias": "users"; "required": false; }; "warning": { "alias": "warning"; "required": false; }; "showUnassigned": { "alias": "showUnassigned"; "required": false; }; "drAvatarTooltipPosition": { "alias": "drAvatarTooltipPosition"; "required": false; }; "drAvatarTooltipClass": { "alias": "drAvatarTooltipClass"; "required": false; }; "drAvatarSize": { "alias": "drAvatarSize"; "required": false; }; "drAvatarIsClickable": { "alias": "drAvatarIsClickable"; "required": false; }; }, { "userClicked": "userClicked"; }, never, never, false, never>;
14
22
  }
@@ -0,0 +1,4 @@
1
+ export declare class DrAvatarService {
2
+ static avatarColors: string[];
3
+ static getAvatarColorNumber(index: number): number;
4
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datarailsshared/datarailsshared",
3
- "version": "1.5.235",
3
+ "version": "1.5.236",
4
4
  "description": "DataRails shared components",
5
5
  "keywords": [
6
6
  "angular",
package/public-api.d.ts CHANGED
@@ -99,6 +99,7 @@ export * from './lib/models/badgeStatus';
99
99
  export * from './lib/models/feedback';
100
100
  export { ScenarioService } from './lib/dr-scenario/services/scenario.service';
101
101
  export { TagsConstructorService } from './lib/dr-tags-constructor/tags-constructor.service';
102
+ export { DrAvatarService } from './lib/dr-avatar/services/dr-avatar.service';
102
103
  export { DateTagModule } from './lib/date-tags/date-tag.module';
103
104
  export { ListTagModule } from './lib/list-tags/list-tag.module';
104
105
  export { DrTagModule } from './lib/dr-tags/dr-tag.module';