@sumaris-net/ngx-components 18.23.5 → 18.23.6
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/doc/changelog.md +3 -0
- package/esm2022/src/app/admin/users/person.validator.mjs +7 -3
- package/esm2022/src/app/core/register/register.form.mjs +7 -6
- package/esm2022/src/app/core/services/account.service.mjs +4 -1
- package/fesm2022/sumaris-net.ngx-components.mjs +15 -7
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/admin/users/person.validator.d.ts +1 -1
- package/src/app/core/services/account.service.d.ts +1 -0
- package/src/app/shared/inputs.d.ts +1 -1
- package/src/assets/i18n/fr.json +3 -0
- package/src/assets/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@ export declare class PersonValidatorService<T extends Person = Person, O extends
|
|
|
16
16
|
getFormGroupConfig(data?: T, opts?: O): {
|
|
17
17
|
[key: string]: any;
|
|
18
18
|
};
|
|
19
|
-
getValidators(field: FormFieldDefinition): ValidatorFn | ValidatorFn[];
|
|
19
|
+
getValidators(field: FormFieldDefinition, required?: boolean): ValidatorFn | ValidatorFn[];
|
|
20
20
|
protected fillDefaultOptions(opts?: O): O;
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<PersonValidatorService<any, any>, never>;
|
|
22
22
|
static ɵprov: i0.ɵɵInjectableDeclaration<PersonValidatorService<any, any>>;
|
|
@@ -167,6 +167,7 @@ export declare class AccountService extends BaseGraphqlService<Account, any, num
|
|
|
167
167
|
get $additionalFields(): Observable<FormFieldDefinition[]>;
|
|
168
168
|
getAdditionalField(key: string): FormFieldDefinition | undefined;
|
|
169
169
|
registerAdditionalField(field: FormFieldDefinition): void;
|
|
170
|
+
registerAdditionalFields(...fields: FormFieldDefinition[]): void;
|
|
170
171
|
get optionDefs(): FormFieldDefinition[];
|
|
171
172
|
registerOption(def: FormFieldDefinition): void;
|
|
172
173
|
registerOptions(defs: FormFieldDefinition[]): void;
|
|
@@ -17,7 +17,7 @@ export interface InputElement extends FocusableElement {
|
|
|
17
17
|
}
|
|
18
18
|
export declare function isInputElement(object: any): object is InputElement;
|
|
19
19
|
export declare function asInputElement<T = any>(object: ElementRef<T>): InputElement | undefined;
|
|
20
|
-
export declare function tabindexComparator(a: InputElement, b: InputElement):
|
|
20
|
+
export declare function tabindexComparator(a: InputElement, b: InputElement): 1 | -1 | 0;
|
|
21
21
|
export interface CanGainFocusOptions {
|
|
22
22
|
minTabindex?: number;
|
|
23
23
|
maxTabindex?: number;
|
package/src/assets/i18n/fr.json
CHANGED
|
@@ -485,6 +485,9 @@
|
|
|
485
485
|
"USER": "Observateur",
|
|
486
486
|
"GUEST": "Invité"
|
|
487
487
|
},
|
|
488
|
+
"PROGRAM": "Programme(s) de collecte",
|
|
489
|
+
"PROGRAM_LABEL": "Code programme",
|
|
490
|
+
"PROGRAM_NAME": "Libellé programme",
|
|
488
491
|
"LIST": {
|
|
489
492
|
"TITLE": "Utilisateurs",
|
|
490
493
|
"BTN_SEND_MESSAGE": "Envoyer un message",
|
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": "18.23.
|
|
5
|
+
"version": "18.23.6",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|