@sumaris-net/ngx-components 1.2.7 → 1.3.2
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/bundles/sumaris-net.ngx-components.umd.js +36 -39
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +2 -2
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/doc/changelog.md +0 -1
- package/esm2015/src/app/core/home/home.js +2 -2
- package/esm2015/src/app/core/install/install-upgrade-card.component.js +4 -4
- package/esm2015/src/app/core/services/platform.service.js +28 -32
- package/fesm2015/sumaris-net.ngx-components.js +31 -35
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/src/app/core/install/install-upgrade-card.component.d.ts +1 -1
- package/src/app/core/services/platform.service.d.ts +2 -4
- package/sumaris-net.ngx-components.metadata.json +1 -1
package/package.json
CHANGED
|
@@ -29,7 +29,7 @@ export declare class AppInstallUpgradeCard implements OnInit, OnDestroy {
|
|
|
29
29
|
private _subscription;
|
|
30
30
|
private _showUpdateOfflineFeature;
|
|
31
31
|
loading: boolean;
|
|
32
|
-
|
|
32
|
+
hasDownloader: boolean;
|
|
33
33
|
downloading: boolean;
|
|
34
34
|
waitingNetwork: boolean;
|
|
35
35
|
installLinks: InstallAppLink[];
|
|
@@ -3,7 +3,6 @@ import { Platform, ToastController } from '@ionic/angular';
|
|
|
3
3
|
import { NetworkService } from './network.service';
|
|
4
4
|
import { Platforms } from '@ionic/core';
|
|
5
5
|
import { SplashScreen } from '@ionic-native/splash-screen/ngx';
|
|
6
|
-
import { FileOpener } from '@awesome-cordova-plugins/file-opener/ngx';
|
|
7
6
|
import { StatusBar } from '@ionic-native/status-bar/ngx';
|
|
8
7
|
import { Keyboard } from '@ionic-native/keyboard/ngx';
|
|
9
8
|
import { LocalSettingsService } from './local-settings.service';
|
|
@@ -41,14 +40,13 @@ export declare class PlatformService extends StartableService {
|
|
|
41
40
|
private splashScreen;
|
|
42
41
|
private browser;
|
|
43
42
|
private downloader;
|
|
44
|
-
private fileOpener;
|
|
45
43
|
private _mobile;
|
|
46
44
|
private _cordova;
|
|
47
45
|
private _android;
|
|
48
46
|
private _downloadingJobs;
|
|
49
47
|
touchUi: boolean;
|
|
50
48
|
get mobile(): boolean;
|
|
51
|
-
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, downloader: Downloader
|
|
49
|
+
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, downloader: Downloader);
|
|
52
50
|
is(platformName: Platforms): boolean;
|
|
53
51
|
/**
|
|
54
52
|
* Say if opened has been opened from a web browser (and NOT inside an Android or iOs App).
|
|
@@ -72,7 +70,7 @@ export declare class PlatformService extends StartableService {
|
|
|
72
70
|
protected configureTranslate(): void;
|
|
73
71
|
protected configureCache(online?: boolean): void;
|
|
74
72
|
protected storageReady(): Promise<LocalForage>;
|
|
75
|
-
protected migrateStorage(
|
|
73
|
+
protected migrateStorage(storage: LocalForage): Promise<void>;
|
|
76
74
|
protected showToast(opts: ShowToastOptions): Promise<HTMLIonToastElement>;
|
|
77
75
|
protected onStartupError(err: any): Promise<void>;
|
|
78
76
|
}
|