@sumaris-net/ngx-components 2.9.0-alpha5 → 2.9.0-alpha6
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
|
@@ -4,7 +4,7 @@ import { BehaviorSubject, Subject, Subscription } from 'rxjs';
|
|
|
4
4
|
import { IAppForm } from './form.utils';
|
|
5
5
|
import { LocalSettingsService } from '../services/local-settings.service';
|
|
6
6
|
import { WaitForOptions } from '../../shared/observables';
|
|
7
|
-
import { FormErrorTranslateOptions, FormErrorTranslator, IFormPathTranslator } from '../../shared/validator/form-error-adapter.class';
|
|
7
|
+
import { FormErrorTranslateOptions, FormErrorTranslator, FormErrorTranslatorOptions, IFormPathTranslator } from '../../shared/validator/form-error-adapter.class';
|
|
8
8
|
import { TranslateService } from '@ngx-translate/core';
|
|
9
9
|
import { MatAutocompleteConfigHolder, MatAutocompleteFieldAddOptions, MatAutocompleteFieldConfig } from '../../shared/material/autocomplete/material.autocomplete.config';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
@@ -44,6 +44,11 @@ export declare class AppForm<T> implements IAppForm<T>, OnInit, OnDestroy, IForm
|
|
|
44
44
|
*/
|
|
45
45
|
protected get _enable(): boolean;
|
|
46
46
|
protected set _enable(value: boolean);
|
|
47
|
+
/**
|
|
48
|
+
* @deprecated use errorTranslateOptions instead
|
|
49
|
+
*/
|
|
50
|
+
get errorTranslatorOptions(): FormErrorTranslatorOptions;
|
|
51
|
+
set errorTranslatorOptions(options: FormErrorTranslatorOptions);
|
|
47
52
|
disable(opts?: {
|
|
48
53
|
onlySelf?: boolean;
|
|
49
54
|
emitEvent?: boolean;
|
|
@@ -55,7 +60,7 @@ export declare class AppForm<T> implements IAppForm<T>, OnInit, OnDestroy, IForm
|
|
|
55
60
|
get destroyed(): boolean;
|
|
56
61
|
debug: boolean;
|
|
57
62
|
tabindex: number;
|
|
58
|
-
|
|
63
|
+
errorTranslateOptions: FormErrorTranslateOptions;
|
|
59
64
|
set form(value: UntypedFormGroup);
|
|
60
65
|
get form(): UntypedFormGroup;
|
|
61
66
|
onCancel: EventEmitter<any>;
|
|
@@ -143,5 +148,5 @@ export declare class AppForm<T> implements IAppForm<T>, OnInit, OnDestroy, IForm
|
|
|
143
148
|
protected markForCheck(): void;
|
|
144
149
|
private setLoading;
|
|
145
150
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppForm<any>, never>;
|
|
146
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AppForm<any>, never, never, { "debug": { "alias": "debug"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "
|
|
151
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AppForm<any>, never, never, { "debug": { "alias": "debug"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "errorTranslateOptions": { "alias": "errorTranslateOptions"; "required": false; }; "form": { "alias": "form"; "required": false; }; }, { "onCancel": "onCancel"; "onSubmit": "onSubmit"; }, never, never, false, never>;
|
|
147
152
|
}
|
package/src/assets/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "ngx-sumaris-components",
|
|
3
3
|
"short_name": "ngx-sumaris-components",
|
|
4
4
|
"manifest_version": 1,
|
|
5
|
-
"version": "2.9.0-
|
|
5
|
+
"version": "2.9.0-alpha6",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|