@sumaris-net/ngx-components 18.6.52 → 18.6.54
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/doc/changelog.md +3 -0
- package/esm2022/src/app/core/menu/menu.component.mjs +19 -24
- package/esm2022/src/app/core/menu/menu.service.mjs +3 -3
- package/esm2022/src/app/shared/toolbar/toolbar.mjs +3 -3
- package/fesm2022/sumaris-net.ngx-components.mjs +19 -23
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/core/menu/menu.component.d.ts +3 -6
- package/src/assets/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { IonSplitPane, MenuController, ModalController, NavController } from '@ionic/angular';
|
|
3
3
|
import { Account } from '../services/model/account.model';
|
|
4
4
|
import { AccountService } from '../services/account.service';
|
|
5
5
|
import { TranslateService } from '@ngx-translate/core';
|
|
6
|
-
import { PlatformService } from '../services/platform.service';
|
|
7
6
|
import { Environment } from '../../../environments/environment.class';
|
|
8
7
|
import { MenuService, SplitPaneShowWhen } from './menu.service';
|
|
9
8
|
import { IMenuItem, MenuItem } from './menu.model';
|
|
@@ -11,12 +10,10 @@ import { ActivatedRoute, Router } from '@angular/router';
|
|
|
11
10
|
import { RxStrategyNames } from '@rx-angular/cdk/render-strategies';
|
|
12
11
|
import * as i0 from "@angular/core";
|
|
13
12
|
export declare class MenuComponent implements OnInit {
|
|
14
|
-
protected platformService: PlatformService;
|
|
15
13
|
protected accountService: AccountService;
|
|
16
14
|
protected navController: NavController;
|
|
17
15
|
protected menu: MenuController;
|
|
18
16
|
protected modalCtrl: ModalController;
|
|
19
|
-
protected alertController: AlertController;
|
|
20
17
|
protected translate: TranslateService;
|
|
21
18
|
protected cd: ChangeDetectorRef;
|
|
22
19
|
protected menuService: MenuService;
|
|
@@ -39,7 +36,7 @@ export declare class MenuComponent implements OnInit {
|
|
|
39
36
|
accountEmail: string;
|
|
40
37
|
private readonly _debug;
|
|
41
38
|
private _subscription;
|
|
42
|
-
constructor(
|
|
39
|
+
constructor(accountService: AccountService, navController: NavController, menu: MenuController, modalCtrl: ModalController, translate: TranslateService, cd: ChangeDetectorRef, menuService: MenuService, router: Router, environment: Environment, route: ActivatedRoute);
|
|
43
40
|
ngOnInit(): Promise<void>;
|
|
44
41
|
onLogin(account: Account): Promise<void>;
|
|
45
42
|
onLogout(skipRedirect?: boolean): Promise<void>;
|
|
@@ -64,6 +61,6 @@ export declare class MenuComponent implements OnInit {
|
|
|
64
61
|
protected detectChanges(): void;
|
|
65
62
|
protected markForCheck(): void;
|
|
66
63
|
protected togglePinned(event: Event, item: IMenuItem): void;
|
|
67
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, [null, null, null, null, null, null, null, null, null,
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, [null, null, null, null, null, null, null, null, null, { optional: true; }]>;
|
|
68
65
|
static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "app-menu", never, { "id": { "alias": "id"; "required": false; }; "menuId": { "alias": "menuId"; "required": false; }; "side": { "alias": "side"; "required": false; }; "contentId": { "alias": "contentId"; "required": false; }; "logo": { "alias": "logo"; "required": false; }; "appName": { "alias": "appName"; "required": false; }; "rxStrategy": { "alias": "rxStrategy"; "required": false; }; "appVersion": { "alias": "appVersion"; "required": false; }; }, {}, never, ["*", "[headerBottomRight]"], false, never>;
|
|
69
66
|
}
|
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": "18.6.
|
|
5
|
+
"version": "18.6.54",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|