@sumaris-net/ngx-components 2.4.0-rc7 → 2.4.0-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.4.0-rc7",
4
+ "version": "2.4.0-rc9",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -2,7 +2,7 @@ import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/cor
2
2
  import { IProgressBarService } from '../services/progress-bar.service';
3
3
  import { ActivatedRoute, Router } from '@angular/router';
4
4
  import { IonMenuToggle, IonRouterOutlet, IonSearchbar } from '@ionic/angular';
5
- import { Observable } from 'rxjs';
5
+ import { BehaviorSubject, Observable } from 'rxjs';
6
6
  import { HammerTapEvent } from '../gesture/hammer.utils';
7
7
  import { AppColors } from '../types';
8
8
  import { SearchbarChangeEventDetail as ISearchbarSearchbarChangeEventDetail } from '@ionic/core/dist/types/components/searchbar/searchbar-interface';
@@ -19,11 +19,14 @@ export declare class ToolbarComponent implements ToolbarToken, OnInit, OnDestroy
19
19
  private router;
20
20
  private routerOutlet;
21
21
  private cd;
22
+ protected progressBarService: IProgressBarService;
22
23
  private _closeTapCount;
23
24
  private _validateTapCount;
24
25
  private _defaultBackHref;
25
26
  private _backHref;
26
- protected readonly _progressBarMode$: Observable<ProgressBarMode>;
27
+ protected readonly _progressBarMode$: BehaviorSubject<ProgressBarMode>;
28
+ set progressBarMode(value: ProgressBarMode);
29
+ get progressBarMode(): ProgressBarMode;
27
30
  title: string;
28
31
  color: AppColors;
29
32
  class: string;
@@ -55,5 +58,5 @@ export declare class ToolbarComponent implements ToolbarToken, OnInit, OnDestroy
55
58
  protected ionSearchBarChanged(event: Event): void;
56
59
  protected markForCheck(): void;
57
60
  static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarComponent, [null, null, null, null, { optional: true; }]>;
58
- static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarComponent, "app-toolbar", never, { "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>;
61
+ 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>;
59
62
  }