@sumaris-net/ngx-components 1.19.2 → 1.19.5-rc1
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 +457 -376
- 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 +3 -0
- package/esm2015/src/app/core/auth/form/form-auth.js +26 -20
- package/esm2015/src/app/core/form/form.class.js +27 -7
- package/esm2015/src/app/core/install/install-upgrade-card.component.js +7 -23
- 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/fesm2015/sumaris-net.ngx-components.js +288 -229
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/src/app/core/auth/form/form-auth.d.ts +1 -1
- package/src/app/core/form/form.class.d.ts +8 -1
- package/src/app/core/install/install-upgrade-card.component.d.ts +0 -1
- package/src/app/shared/files.d.ts +10 -0
- package/sumaris-net.ngx-components.metadata.json +1 -1
package/package.json
CHANGED
|
@@ -27,7 +27,7 @@ export declare class AuthForm extends AppForm<AuthData> implements OnInit {
|
|
|
27
27
|
constructor(injector: Injector, platform: PlatformService, formBuilder: FormBuilder, settings: LocalSettingsService, configService: ConfigService, modalCtrl: ModalController, network: NetworkService, cd: ChangeDetectorRef, environment: any);
|
|
28
28
|
ngOnInit(): void;
|
|
29
29
|
cancel(): void;
|
|
30
|
-
doSubmit(event?: UIEvent): void
|
|
30
|
+
doSubmit(event?: UIEvent): Promise<void>;
|
|
31
31
|
register(): void;
|
|
32
32
|
protected markForCheck(): void;
|
|
33
33
|
}
|
|
@@ -60,7 +60,14 @@ export declare abstract class AppForm<T> implements IAppForm, OnInit, OnDestroy,
|
|
|
60
60
|
ngOnInit(): void;
|
|
61
61
|
ngOnDestroy(): void;
|
|
62
62
|
cancel(): void;
|
|
63
|
-
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @param event
|
|
66
|
+
* @param opts allow to skip validation check, using {checkValid: false}
|
|
67
|
+
*/
|
|
68
|
+
doSubmit(event: any, opts?: {
|
|
69
|
+
checkValid?: boolean;
|
|
70
|
+
}): Promise<void>;
|
|
64
71
|
setForm(form: FormGroup): void;
|
|
65
72
|
setValue(data: T, opts?: {
|
|
66
73
|
emitEvent?: boolean;
|
|
@@ -55,7 +55,6 @@ export declare class AppInstallUpgradeCard implements OnInit, OnDestroy {
|
|
|
55
55
|
private getCompatibleInstallLinks;
|
|
56
56
|
private getCompatibleUpgradeLinks;
|
|
57
57
|
private getLinks;
|
|
58
|
-
private getFilename;
|
|
59
58
|
private listenDownloadJobs;
|
|
60
59
|
private listenDownloadJob;
|
|
61
60
|
private showDownloadFailedToast;
|
|
@@ -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
|
+
}
|