@sumaris-net/ngx-components 2.4.53 → 2.4.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/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.4.53",
4
+ "version": "2.4.54",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -1,7 +1,7 @@
1
1
  import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { IProgressBarService } from '../services/progress-bar.service';
3
3
  import { ActivatedRoute, Router } from '@angular/router';
4
- import { IonMenuToggle, IonRouterOutlet, IonSearchbar } from '@ionic/angular';
4
+ import { IonMenuToggle, IonRouterOutlet, IonSearchbar, NavController } from '@ionic/angular';
5
5
  import { BehaviorSubject, Observable } from 'rxjs';
6
6
  import { HammerTapEvent } from '../gesture/hammer.utils';
7
7
  import { AppColors } from '../types';
@@ -17,6 +17,7 @@ export declare abstract class ToolbarToken {
17
17
  export declare class ToolbarComponent implements ToolbarToken, OnInit, OnDestroy {
18
18
  private route;
19
19
  private router;
20
+ private navController;
20
21
  private routerOutlet;
21
22
  private cd;
22
23
  protected progressBarService: IProgressBarService;
@@ -47,7 +48,7 @@ export declare class ToolbarComponent implements ToolbarToken, OnInit, OnDestroy
47
48
  showSearchBar: boolean;
48
49
  searchbar: IonSearchbar;
49
50
  menuToggle: IonMenuToggle;
50
- constructor(route: ActivatedRoute, router: Router, routerOutlet: IonRouterOutlet, cd: ChangeDetectorRef, progressBarService: IProgressBarService);
51
+ constructor(route: ActivatedRoute, router: Router, navController: NavController, routerOutlet: IonRouterOutlet, cd: ChangeDetectorRef, progressBarService: IProgressBarService);
51
52
  ngOnInit(): void;
52
53
  ngOnDestroy(): void;
53
54
  toggleSearchBar(): Promise<void>;
@@ -57,6 +58,6 @@ export declare class ToolbarComponent implements ToolbarToken, OnInit, OnDestroy
57
58
  tapValidate(event: HammerTapEvent): void;
58
59
  protected ionSearchBarChanged(event: Event): void;
59
60
  protected markForCheck(): void;
60
- static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarComponent, [null, null, null, null, { optional: true; }]>;
61
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarComponent, [null, null, null, null, null, { optional: true; }]>;
61
62
  static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarComponent, "app-toolbar", never, { "progressBarMode": "progressBarMode"; "title": "title"; "color": "color"; "class": "class"; "backHref": "backHref"; "defaultBackHref": "defaultBackHref"; "hasValidate": "hasValidate"; "hasClose": "hasClose"; "hasSearch": "hasSearch"; "canGoBack": "canGoBack"; "canShowMenu": "canShowMenu"; }, { "onValidate": "onValidate"; "onClose": "onClose"; "onValidateAndClose": "onValidateAndClose"; "onBackClick": "onBackClick"; "onSearch": "onSearch"; }, never, ["[slot=start]", "ion-title", "ion-buttons[slot=end]", "[slot=end]"], false>;
62
63
  }