@sumaris-net/ngx-components 1.23.64 → 1.23.66

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": "1.23.64",
4
+ "version": "1.23.66",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -37,7 +37,7 @@ export interface AppError {
37
37
  message?: string;
38
38
  }
39
39
  export interface AppErrorWithDetails extends AppError {
40
- details?: AppError & {
40
+ details: AppError & {
41
41
  errors?: FormErrors;
42
42
  };
43
43
  }
@@ -3,7 +3,7 @@ import { Department } from './model/department.model';
3
3
  import { Account } from './model/account.model';
4
4
  import { Person, UserProfileLabel } from './model/person.model';
5
5
  import { LocalSettings, UsageMode, UserSettings } from './model/settings.model';
6
- import { Observable, Subject, Subscription } from 'rxjs';
6
+ import { BehaviorSubject, Observable, Subject, Subscription } from 'rxjs';
7
7
  import { FetchPolicy } from '@apollo/client/core';
8
8
  import { Storage } from '@ionic/storage';
9
9
  import { BaseGraphqlService } from './base-graphql-service.class';
@@ -55,8 +55,8 @@ export declare class AccountService extends BaseGraphqlService<Account, any, num
55
55
  onLogin: Subject<Account>;
56
56
  onLogout: Subject<any>;
57
57
  onChange: Subject<Account>;
58
- onAuthTokenChange: Subject<string>;
59
- onAuthBasicChange: Subject<string>;
58
+ onAuthTokenChange: BehaviorSubject<string>;
59
+ onAuthBasicChange: BehaviorSubject<string>;
60
60
  private _listenChangesSubscription;
61
61
  private readonly _enableListenChanges;
62
62
  private readonly _listenIntervalInSeconds;
@@ -5,6 +5,12 @@ export declare class IsNotNilOrBlankPipe implements PipeTransform {
5
5
  export declare class IsNilOrBlankPipe implements PipeTransform {
6
6
  transform(value: string): boolean;
7
7
  }
8
+ export declare class IsNotNilOrNaNPipe implements PipeTransform {
9
+ transform(value: number): boolean;
10
+ }
11
+ export declare class IsNotNilPipe implements PipeTransform {
12
+ transform(value: any): boolean;
13
+ }
8
14
  export declare class ToStringPipe implements PipeTransform {
9
15
  transform(value: number): string;
10
16
  }