@sumaris-net/ngx-components 1.19.2 → 1.19.3
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 +70 -25
- 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/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/fesm2015/sumaris-net.ngx-components.js +50 -24
- 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/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;
|