@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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "18.23.5",
4
+ "version": "18.23.6",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -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): 0 | 1 | -1;
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;
@@ -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",
@@ -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",
5
+ "version": "18.23.6",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{