@sumaris-net/ngx-components 0.13.4 → 0.13.8

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": "0.13.4",
4
+ "version": "0.13.8",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -8,6 +8,7 @@ import { Keyboard } from '@ionic-native/keyboard/ngx';
8
8
  import { LocalSettingsService } from './local-settings.service';
9
9
  import { CacheService } from 'ionic-cache';
10
10
  import { AudioProvider } from '../../shared/audio/audio';
11
+ import { Platform as CdkPlatform } from '@angular/cdk/platform';
11
12
  import { InAppBrowser } from '@ionic-native/in-app-browser/ngx';
12
13
  import { Storage } from '@ionic/storage';
13
14
  import { EntitiesStorage } from './storage/entities-storage.service';
@@ -18,6 +19,7 @@ import { ConfigService } from './config.service';
18
19
  import { MomentDateAdapter } from '@angular/material-moment-adapter';
19
20
  export declare class PlatformService {
20
21
  private platform;
22
+ private cdkPlatform;
21
23
  private toastController;
22
24
  private translate;
23
25
  private dateAdapter;
@@ -41,7 +43,7 @@ export declare class PlatformService {
41
43
  touchUi: boolean;
42
44
  get started(): boolean;
43
45
  get mobile(): boolean;
44
- constructor(platform: Platform, toastController: ToastController, translate: TranslateService, dateAdapter: MomentDateAdapter, entitiesStorage: EntitiesStorage, settings: LocalSettingsService, networkService: NetworkService, accountService: AccountService, configService: ConfigService, cache: CacheService, storage: Storage, audioProvider: AudioProvider, environment: any, statusBar: StatusBar, keyboard: Keyboard, splashScreen: SplashScreen, browser: InAppBrowser);
46
+ constructor(platform: Platform, cdkPlatform: CdkPlatform, toastController: ToastController, translate: TranslateService, dateAdapter: MomentDateAdapter, entitiesStorage: EntitiesStorage, settings: LocalSettingsService, networkService: NetworkService, accountService: AccountService, configService: ConfigService, cache: CacheService, storage: Storage, audioProvider: AudioProvider, environment: any, statusBar: StatusBar, keyboard: Keyboard, splashScreen: SplashScreen, browser: InAppBrowser);
45
47
  is(platformName: Platforms): boolean;
46
48
  /**
47
49
  * Say if opened has been opened from a web browser (and NOT inside an Android or iOs App).
@@ -509,7 +509,8 @@
509
509
  "SYNCHRONIZE_ENTITY_ERROR": "Cannot synchronize. <small><br/>If the problem persists, please contact your administrator.</small>",
510
510
  "LOAD_ERROR": "Error while loading",
511
511
  "SAVE_ERROR": "Error while saving",
512
- "SUBSCRIBE_ERROR": "Error while subscribe to changes"
512
+ "SUBSCRIBE_ERROR": "Error while subscribe to changes",
513
+ "FIREFOX_NO_STORAGE": "The application cannot run with Firefox in 'private' mode or without keeping navigation history"
513
514
  },
514
515
  "CONFIRM": {
515
516
  "ALERT_HEADER": "Confirmation",
@@ -509,7 +509,8 @@
509
509
  "SYNCHRONIZE_ENTITY_ERROR": "Cannot synchronize. <small><br/>If the problem persists, please contact your administrator.</small>",
510
510
  "LOAD_ERROR": "Error while loading",
511
511
  "SAVE_ERROR": "Error while saving",
512
- "SUBSCRIBE_ERROR": "Error while subscribe to changes"
512
+ "SUBSCRIBE_ERROR": "Error while subscribe to changes",
513
+ "FIREFOX_NO_STORAGE": "The application cannot run with Firefox in 'private' mode or without keeping navigation history"
513
514
  },
514
515
  "CONFIRM": {
515
516
  "ALERT_HEADER": "Confirmation",
@@ -504,7 +504,8 @@
504
504
  "SYNCHRONIZE_ENTITY_ERROR": "Synchronisation impossible. <small><br/>Si le problème persiste, veuillez contacter votre administrateur.</small>",
505
505
  "LOAD_ERROR": "Erreur de chargement",
506
506
  "SAVE_ERROR": "Erreur de sauvegarde",
507
- "SUBSCRIBE_ERROR": "Echec de l'abonnement distant aux modifications"
507
+ "SUBSCRIBE_ERROR": "Echec de l'abonnement distant aux modifications",
508
+ "FIREFOX_NO_STORAGE": "L'application ne peut pas fonctionner sur Firefox en mode 'navigation privée' ou si la conservation de l'historique est désactivée"
508
509
  },
509
510
  "CONFIRM": {
510
511
  "ALERT_HEADER": "Confirmation",