@sumaris-net/ngx-components 2.4.140 → 2.4.142
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/esm2020/src/app/core/menu/menu.service.mjs +9 -8
- package/esm2020/src/app/core/services/account.service.mjs +3 -3
- package/esm2020/src/app/core/services/model/person.model.mjs +5 -1
- package/esm2020/src/app/core/services/storage/entities-storage.service.mjs +1 -1
- package/esm2020/src/environments/environment.mjs +5 -5
- package/fesm2015/sumaris-net.ngx-components.mjs +18 -13
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +18 -13
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/core/menu/menu.service.d.ts +1 -1
- package/src/app/core/services/model/person.model.d.ts +1 -0
package/package.json
CHANGED
|
@@ -26,7 +26,7 @@ export declare class MenuService extends StartableObservableService<MenuItem[]>
|
|
|
26
26
|
protected router: Router;
|
|
27
27
|
protected environment: Environment;
|
|
28
28
|
readonly accountChanges: BehaviorSubject<Account>;
|
|
29
|
-
readonly
|
|
29
|
+
readonly onPinned: EventEmitter<MenuItem>;
|
|
30
30
|
private _staticItems;
|
|
31
31
|
private _detachedSubItems;
|
|
32
32
|
private _itemCounter;
|
|
@@ -28,4 +28,5 @@ export declare class PersonUtils {
|
|
|
28
28
|
static hasUpperOrEqualsProfile(actualProfiles: string[], expectedProfile: UserProfileLabel): boolean;
|
|
29
29
|
static personToString(obj: Person): string;
|
|
30
30
|
static personsToString(data: Person[], separator?: string): string;
|
|
31
|
+
static roleToProfile(role: string, defaultProfile?: UserProfileLabel): UserProfileLabel;
|
|
31
32
|
}
|