@sumaris-net/ngx-components 2.7.5-rc13 → 2.7.5-rc14

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.7.5-rc13",
4
+ "version": "2.7.5-rc14",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -31,7 +31,7 @@ export declare abstract class BaseReferential<T extends BaseReferential<T, ID, A
31
31
  parentId: number;
32
32
  entityName: string;
33
33
  icon?: IconRef;
34
- constructor(__typename?: string);
34
+ protected constructor(__typename?: string);
35
35
  asObject(opts?: AO): any;
36
36
  fromObject(source: any, opts?: FO): void;
37
37
  equals(other: T): boolean;
@@ -54,6 +54,7 @@ export declare class ReferentialUtils {
54
54
  export interface ReferentialAsObjectOptions extends EntityAsObjectOptions {
55
55
  keepEntityName?: boolean;
56
56
  keepIcon?: boolean;
57
+ keepProperties?: boolean;
57
58
  }
58
59
  /**
59
60
  * Used to store an entity locally
@@ -72,6 +73,9 @@ export declare class ReferentialRef<T extends ReferentialRef<any, ID> = Referent
72
73
  levelId: number;
73
74
  entityName: string;
74
75
  icon?: IconRef;
76
+ properties?: {
77
+ [key: string]: any;
78
+ };
75
79
  constructor();
76
80
  asObject(opts?: O): any;
77
81
  fromObject(source: any, opts?: FO): void;
@@ -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, NavController } 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';
@@ -25,8 +25,9 @@ export declare class ToolbarComponent implements ToolbarToken, OnInit, OnDestroy
25
25
  private _validateTapCount;
26
26
  private _defaultBackHref;
27
27
  private _backHref;
28
- protected readonly $progressBarMode: import("@angular/core").WritableSignal<ProgressBarMode>;
28
+ protected readonly _progressBarMode$: BehaviorSubject<ProgressBarMode>;
29
29
  set progressBarMode(value: ProgressBarMode);
30
+ get progressBarMode(): ProgressBarMode;
30
31
  title: string;
31
32
  color: AppColors;
32
33
  class: string;
@@ -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-rc9",
5
+ "version": "2.7.5-rc14",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{