@sumaris-net/ngx-components 2.7.5-rc7 → 2.7.5-rc9

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "2.7.5-rc7",
4
+ "version": "2.7.5-rc9",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -27,7 +27,11 @@ export declare class PersonUtils {
27
27
  static getMainProfile(profiles?: string[]): UserProfileLabel;
28
28
  static getMainProfileIndex(profiles?: string[]): number;
29
29
  static hasUpperOrEqualsProfile(actualProfiles: string[], expectedProfile: UserProfileLabel): boolean;
30
- static personToString(obj: Person): string;
31
- static personsToString(data: Person[], separator?: string): string;
30
+ static personToString(obj: Person, opts?: {
31
+ withDepartment?: boolean;
32
+ }): string;
33
+ static personsToString(data: Person[], separator?: string, opts?: {
34
+ withDepartment?: boolean;
35
+ }): string;
32
36
  static roleToProfile(role: string, defaultProfile?: UserProfileLabel): UserProfileLabel;
33
37
  }
@@ -2,7 +2,9 @@ import { PipeTransform } from '@angular/core';
2
2
  import { Person } from '../model/person.model';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class PersonToStringPipe implements PipeTransform {
5
- transform(value: Person | Person[], separator?: string): string;
5
+ transform(value: Person | Person[], separator?: string, opts?: {
6
+ withDepartment?: boolean;
7
+ }): string;
6
8
  static ɵfac: i0.ɵɵFactoryDeclaration<PersonToStringPipe, never>;
7
9
  static ɵpipe: i0.ɵɵPipeDeclaration<PersonToStringPipe, "personToString", false>;
8
10
  static ɵprov: i0.ɵɵInjectableDeclaration<PersonToStringPipe>;
@@ -2,7 +2,7 @@
2
2
  "name": "ngx-sumaris-components",
3
3
  "short_name": "ngx-sumaris-components",
4
4
  "manifest_version": 1,
5
- "version": "2.7.5-rc6",
5
+ "version": "2.7.5-rc9",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{