@sumaris-net/ngx-components 1.19.3 → 1.19.5-rc2
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 +331 -285
- 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/esm2015/src/app/core/core.module.js +4 -1
- package/esm2015/src/app/core/install/install-upgrade-card.component.js +10 -40
- package/esm2015/src/app/core/offline/update-offline-mode-card.component.js +26 -0
- package/esm2015/src/app/core/services/platform.service.js +30 -15
- package/esm2015/src/app/core/table/entities-table-datasource.class.js +5 -3
- package/esm2015/src/app/shared/files.js +26 -1
- package/esm2015/src/app/shared/material/autocomplete/testing/autocomplete.test.js +11 -2
- package/esm2015/sumaris-net.ngx-components.js +8 -7
- package/fesm2015/sumaris-net.ngx-components.js +266 -221
- 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 -6
- package/src/app/core/offline/update-offline-mode-card.component.d.ts +8 -0
- package/src/app/shared/files.d.ts +10 -0
- package/sumaris-net.ngx-components.d.ts +7 -6
- package/sumaris-net.ngx-components.metadata.json +1 -1
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef,
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { AlertController, ModalController, ToastController } from '@ionic/angular';
|
|
3
3
|
import { ConfigService } from '../services/config.service';
|
|
4
4
|
import { PlatformService } from '../services/platform.service';
|
|
@@ -27,7 +27,6 @@ export declare class AppInstallUpgradeCard implements OnInit, OnDestroy {
|
|
|
27
27
|
network: NetworkService;
|
|
28
28
|
protected environment: any;
|
|
29
29
|
private _subscription;
|
|
30
|
-
private _showUpdateOfflineFeature;
|
|
31
30
|
loading: boolean;
|
|
32
31
|
hasDownloader: boolean;
|
|
33
32
|
downloading: boolean;
|
|
@@ -40,9 +39,6 @@ export declare class AppInstallUpgradeCard implements OnInit, OnDestroy {
|
|
|
40
39
|
showUpgradeWarning: boolean;
|
|
41
40
|
showOfflineWarning: boolean;
|
|
42
41
|
showInstallButton: boolean;
|
|
43
|
-
set showUpdateOfflineFeature(value: boolean);
|
|
44
|
-
get showUpdateOfflineFeature(): boolean;
|
|
45
|
-
onUpdateOfflineModeClick: EventEmitter<UIEvent>;
|
|
46
42
|
constructor(modalCtrl: ModalController, configService: ConfigService, toastController: ToastController, alertController: AlertController, translate: TranslateService, cd: ChangeDetectorRef, platform: PlatformService, network: NetworkService, environment: any);
|
|
47
43
|
ngOnInit(): void;
|
|
48
44
|
ngOnDestroy(): void;
|
|
@@ -55,7 +51,6 @@ export declare class AppInstallUpgradeCard implements OnInit, OnDestroy {
|
|
|
55
51
|
private getCompatibleInstallLinks;
|
|
56
52
|
private getCompatibleUpgradeLinks;
|
|
57
53
|
private getLinks;
|
|
58
|
-
private getFilename;
|
|
59
54
|
private listenDownloadJobs;
|
|
60
55
|
private listenDownloadJob;
|
|
61
56
|
private showDownloadFailedToast;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
+
export declare class AppUpdateOfflineModeCard implements OnDestroy {
|
|
3
|
+
progressionMessage: string;
|
|
4
|
+
progressionValue: number;
|
|
5
|
+
onUpdateClick: EventEmitter<UIEvent>;
|
|
6
|
+
constructor();
|
|
7
|
+
ngOnDestroy(): void;
|
|
8
|
+
}
|
|
@@ -3,7 +3,17 @@ import { UploadFilePopoverOptions } from './upload-file/upload-file-popover.comp
|
|
|
3
3
|
import { PopoverController } from '@ionic/angular';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { OverlayEventDetail } from '@ionic/core';
|
|
6
|
+
export declare const MimeTypes: Readonly<{
|
|
7
|
+
ANDROID_APK: string;
|
|
8
|
+
}>;
|
|
6
9
|
export declare class FilesUtils {
|
|
7
10
|
static showUploadPopover<T>(popoverController: PopoverController, event: UIEvent, opts: UploadFilePopoverOptions<T>): Promise<OverlayEventDetail<UploadFile<T>[]>>;
|
|
8
11
|
static readAsText(file: File, encoding?: string): Observable<FileEvent<string>>;
|
|
9
12
|
}
|
|
13
|
+
export declare class UriUtils {
|
|
14
|
+
/**
|
|
15
|
+
* Extract the filename, from an uri (using the last slash)
|
|
16
|
+
* @param uri
|
|
17
|
+
*/
|
|
18
|
+
static getFilename(uri: string): string;
|
|
19
|
+
}
|
|
@@ -2,17 +2,18 @@
|
|
|
2
2
|
* Generated bundle index. Do not edit.
|
|
3
3
|
*/
|
|
4
4
|
export * from './public_api';
|
|
5
|
-
export { AppIconComponent as
|
|
5
|
+
export { AppIconComponent as ɵj } from './src/app/core/icon/icon.component';
|
|
6
|
+
export { AppUpdateOfflineModeCard as ɵi } from './src/app/core/offline/update-offline-mode-card.component';
|
|
6
7
|
export { RegisterForm as ɵd } from './src/app/core/register/form/form-register';
|
|
7
8
|
export { RegisterModal as ɵf } from './src/app/core/register/modal/modal-register';
|
|
8
9
|
export { AccountValidatorService as ɵe } from './src/app/core/services/validator/account.validator';
|
|
9
10
|
export { LocalSettingsValidatorService as ɵh } from './src/app/core/services/validator/local-settings.validator';
|
|
10
11
|
export { UserSettingsValidatorService as ɵg } from './src/app/core/services/validator/user-settings.validator';
|
|
11
12
|
export { isFocusableElement as ɵc } from './src/app/shared/focusable';
|
|
12
|
-
export { MatBadgeIconTestPage as
|
|
13
|
-
export { DateTestPage as
|
|
13
|
+
export { MatBadgeIconTestPage as ɵm } from './src/app/shared/material/badge/badge-icon.test';
|
|
14
|
+
export { DateTestPage as ɵk } from './src/app/shared/material/datetime/testing/mat-date.test';
|
|
14
15
|
export { MatNumpadDomService as ɵb } from './src/app/shared/material/numpad/numpad.dom-service';
|
|
15
|
-
export { NumpadTestPage as
|
|
16
|
+
export { NumpadTestPage as ɵl } from './src/app/shared/material/numpad/testing/numpad.test';
|
|
16
17
|
export { CustomReuseStrategy as ɵa } from './src/app/shared/shared-routing.module';
|
|
17
|
-
export { ToastTestingPage as
|
|
18
|
-
export { ToastTestingModule as
|
|
18
|
+
export { ToastTestingPage as ɵo } from './src/app/shared/toast/toast.testing';
|
|
19
|
+
export { ToastTestingModule as ɵn } from './src/app/shared/toast/toast.testing.module';
|