@sumaris-net/ngx-components 1.15.7 → 1.15.10

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.15.7",
4
+ "version": "1.15.10",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -1,5 +1,5 @@
1
1
  import { Observable } from 'rxjs';
2
- import { InternalRefetchQueriesInclude, MutationUpdaterFn } from '@apollo/client/core';
2
+ import { FetchPolicy, InternalRefetchQueriesInclude, MutationUpdaterFn } from '@apollo/client/core';
3
3
  import { SortDirection } from '@angular/material/sort';
4
4
  import { BaseGraphqlService } from './base-graphql-service.class';
5
5
  import { EntitiesServiceWatchOptions, EntityServiceLoadOptions, IEntitiesService, IEntityService, LoadResult } from '../../shared/services/entity-service.class';
@@ -98,6 +98,7 @@ export declare abstract class BaseEntityService<T extends Entity<T, ID>, F exten
98
98
  query?: any;
99
99
  variables?: any;
100
100
  interval?: number;
101
+ fetchPolicy?: FetchPolicy;
101
102
  toEntity?: boolean;
102
103
  }): Observable<T>;
103
104
  copyIdAndUpdateDate(source: T, target: T): void;
@@ -20,6 +20,10 @@ import { ConfigService } from './config.service';
20
20
  import { MomentDateAdapter } from '@angular/material-moment-adapter';
21
21
  import { Downloader, DownloadRequest } from '@ionic-native/downloader/ngx';
22
22
  import { StartableService } from '../../shared/services/startable-service.class';
23
+ export declare const AndroidOsEnvironment: Readonly<{
24
+ DIRECTORY_DOWNLOADS: string;
25
+ DIRECTORY_DOWNLOADS_OLD: string;
26
+ }>;
23
27
  export declare class PlatformService extends StartableService {
24
28
  private platform;
25
29
  private cdkPlatform;
@@ -451,9 +451,11 @@
451
451
  "BAD_UPDATE_DATE": "Unable to save.<small><br/>Concurrent change detected. Please reload this page and retry.</small>",
452
452
  "DATA_LOCKED": "Unable to save.<small><br/>Data locked on server. Please retry later</small>",
453
453
  "DATA_NOT_FOUND": "Data not found",
454
+ "DATA_UPDATE_DATE_CHANGED": "Your changes cannot be saved.<small><br/>Concurrent change detected. Please reload this page and retry.</small>",
454
455
  "DOWNLOAD_FAILED": "Download failed: {{error}}",
455
456
  "LOAD_ACCOUNT_ERROR": "Error loading user account.<small><br/>If the problem persists, please contact your administrator.</small>",
456
457
  "SAVE_ACCOUNT_ERROR": "Error saving your account.<small><br/>If the problem persists, please contact your administrator.</small>",
458
+ "SAVE_SETTINGS_ERROR": "Error saving your settings.<small><br/>If the problem persists, please contact your administrator.</small>",
457
459
  "LOAD_CONFIG_ERROR": "Error while loading configuration",
458
460
  "SAVE_CONFIG_ERROR": "Error while saving configuration",
459
461
  "ACCOUNT_NOT_EXISTS": "Your account does not appear to exist and can not be backed up.<small><br/>If the problem persists, please contact your administrator.</small>",
@@ -482,6 +484,7 @@
482
484
  "LOAD_ENTITIES_ERROR": "Error when loading the list",
483
485
  "SAVE_ENTITY_ERROR": "Error while saving",
484
486
  "SAVE_ENTITIES_ERROR": "Error while saving the list",
487
+ "DELETE_ENTITY_ERROR": "Error while deleting. <small><br/>If the problem persists, please contact your administrator.</small>",
485
488
  "SUBSCRIBE_ENTITY_ERROR": "Error while subscribing to remte changes",
486
489
  "CONTROL_ENTITY_ERROR": "Error while checking data validity",
487
490
  "TERMINATE_ENTITY_ERROR": "Cannot terminate entry. <small><br/>If the problem persists, please contact your administrator.</small>",
@@ -451,9 +451,11 @@
451
451
  "BAD_UPDATE_DATE": "Unable to save.<small><br/>Concurrent change detected. Please reload this page and retry.</small>",
452
452
  "DATA_LOCKED": "Unable to save.<small><br/>Data locked on server. Please retry later</small>",
453
453
  "DATA_NOT_FOUND": "Data not found",
454
+ "DATA_UPDATE_DATE_CHANGED": "Your changes cannot be saved.<small><br/>Concurrent change detected. Please reload this page and retry.</small>",
454
455
  "DOWNLOAD_FAILED": "Download failed: {{error}}",
455
456
  "LOAD_ACCOUNT_ERROR": "Error loading user account.<small><br/>If the problem persists, please contact your administrator.</small>",
456
457
  "SAVE_ACCOUNT_ERROR": "Error saving your account.<small><br/>If the problem persists, please contact your administrator.</small>",
458
+ "SAVE_SETTINGS_ERROR": "Error saving your settings.<small><br/>If the problem persists, please contact your administrator.</small>",
457
459
  "LOAD_CONFIG_ERROR": "Error while loading configuration",
458
460
  "SAVE_CONFIG_ERROR": "Error while saving configuration",
459
461
  "ACCOUNT_NOT_EXISTS": "Your account does not appear to exist and can not be backed up.<small><br/>If the problem persists, please contact your administrator.</small>",
@@ -482,6 +484,7 @@
482
484
  "LOAD_ENTITIES_ERROR": "Error when loading the list",
483
485
  "SAVE_ENTITY_ERROR": "Error while saving",
484
486
  "SAVE_ENTITIES_ERROR": "Error while saving the list",
487
+ "DELETE_ENTITY_ERROR": "Error while deleting. <small><br/>If the problem persists, please contact your administrator.</small>",
485
488
  "SUBSCRIBE_ENTITY_ERROR": "Error while subscribing to remte changes",
486
489
  "CONTROL_ENTITY_ERROR": "Error while checking data validity",
487
490
  "TERMINATE_ENTITY_ERROR": "Cannot terminate entry. <small><br/>If the problem persists, please contact your administrator.</small>",
@@ -448,10 +448,11 @@
448
448
  "EMAIL_ALREADY_REGISTERED": "Email déjà enregistrée",
449
449
  "UNKNOWN_TECHNICAL_ERROR": "Une erreur technique est survenue.<small><br/>Si le problème persiste, veuillez contacter votre administrateur.</small>",
450
450
  "UNKNOWN_NETWORK_ERROR": "Erreur de communication avec le serveur.<small><br/>Si le problème persiste, veuillez contacter votre administrateur.</small>",
451
- "BAD_UPDATE_DATE": "Sauvegarde impossible (modification concurrente détectée).",
451
+ "BAD_UPDATE_DATE": "Sauvegarde impossible.<small><br/>Modification concurrente détectée, veuillez recharger la page et réessayer.</small>",
452
452
  "DATA_LOCKED": "Sauvegarde impossible (donnée verrouillée).",
453
453
  "DATA_NOT_FOUND": "Donnée non trouvée",
454
- "DOWNLOAD_FAILED": "Echec du téléchargement : {{error}}",
454
+ "DATA_UPDATE_DATE_CHANGED": "Vos modifications ne pourront pas être sauvegardées.<small><br/>Modification concurrente détectée, veuillez recharger la page et réessayer.</small>",
455
+ "DOWNLOAD_FAILED": "Échec du téléchargement : {{error}}",
455
456
  "LOAD_ACCOUNT_ERROR": "Erreur de chargement du compte utilisateur.<small><br/>Si le problème persiste, veuillez contacter votre administrateur.</small>",
456
457
  "SAVE_ACCOUNT_ERROR": "Erreur lors de la sauvegarde de votre compte.<small><br/>Si le problème persiste, veuillez contacter votre administrateur.</small>",
457
458
  "SAVE_SETTINGS_ERROR": "Erreur lors de la sauvegarde de vos paramètres.<small><br/>Si le problème persiste, veuillez contacter votre administrateur.</small>",