@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/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.19.3",
4
+ "version": "1.19.5-rc2",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
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 ɵi } from './src/app/core/icon/icon.component';
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 ɵl } from './src/app/shared/material/badge/badge-icon.test';
13
- export { DateTestPage as ɵj } from './src/app/shared/material/datetime/testing/mat-date.test';
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 ɵk } from './src/app/shared/material/numpad/testing/numpad.test';
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 ɵn } from './src/app/shared/toast/toast.testing';
18
- export { ToastTestingModule as ɵm } from './src/app/shared/toast/toast.testing.module';
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';