@sumaris-net/ngx-components 0.25.0 → 0.25.1
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 +35 -20
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/esm2015/src/app/core/install/install-upgrade-card.component.js +20 -14
- package/esm2015/src/app/core/services/platform.service.js +11 -8
- package/fesm2015/sumaris-net.ngx-components.js +29 -20
- 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 +4 -4
- package/src/app/core/services/platform.service.d.ts +1 -0
- package/sumaris-net.ngx-components.metadata.json +1 -1
package/package.json
CHANGED
|
@@ -15,8 +15,8 @@ export declare interface InstallAppLink {
|
|
|
15
15
|
export declare class AppInstallUpgradeCard implements OnInit, OnDestroy {
|
|
16
16
|
private modalCtrl;
|
|
17
17
|
private configService;
|
|
18
|
-
private platform;
|
|
19
18
|
private cd;
|
|
19
|
+
platform: PlatformService;
|
|
20
20
|
network: NetworkService;
|
|
21
21
|
protected environment: any;
|
|
22
22
|
private _subscription;
|
|
@@ -28,18 +28,18 @@ export declare class AppInstallUpgradeCard implements OnInit, OnDestroy {
|
|
|
28
28
|
updateLinks: InstallAppLink[];
|
|
29
29
|
offline: boolean;
|
|
30
30
|
upgradeVersion: string;
|
|
31
|
-
|
|
31
|
+
canDownload: boolean;
|
|
32
32
|
isLogin: boolean;
|
|
33
33
|
showUpgradeWarning: boolean;
|
|
34
34
|
showOfflineWarning: boolean;
|
|
35
35
|
showInstallButton: boolean;
|
|
36
36
|
set showUpdateOfflineFeature(value: boolean);
|
|
37
37
|
get showUpdateOfflineFeature(): boolean;
|
|
38
|
-
constructor(modalCtrl: ModalController, configService: ConfigService,
|
|
38
|
+
constructor(modalCtrl: ModalController, configService: ConfigService, cd: ChangeDetectorRef, platform: PlatformService, network: NetworkService, environment: any);
|
|
39
39
|
onUpdateOfflineModeClick: EventEmitter<UIEvent>;
|
|
40
40
|
ngOnInit(): Promise<void>;
|
|
41
41
|
ngOnDestroy(): void;
|
|
42
|
-
|
|
42
|
+
downloadUsingPlatform(event: UIEvent, link: InstallAppLink): Promise<void>;
|
|
43
43
|
tryOnline(): void;
|
|
44
44
|
getPlatformName(platform: 'android' | 'ios'): "" | "Android" | "iOS";
|
|
45
45
|
asLink(value: any): InstallAppLink;
|