@sumaris-net/ngx-components 2.7.5-rc8 → 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/esm2022/src/app/core/services/model/person.model.mjs +9 -6
- package/esm2022/src/app/core/services/pipes/person-to-string.pipe.mjs +4 -4
- package/fesm2022/sumaris-net.ngx-components.mjs +10 -7
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/core/services/model/person.model.d.ts +6 -2
- package/src/app/core/services/pipes/person-to-string.pipe.d.ts +3 -1
- package/src/assets/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -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
|
|
31
|
-
|
|
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
|
|
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>;
|
package/src/assets/manifest.json
CHANGED
|
@@ -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-
|
|
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": [{
|