@sumaris-net/ngx-components 1.19.15 → 1.19.16

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": "1.19.15",
4
+ "version": "1.19.16",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -44,8 +44,8 @@ export declare class MatSwipeField implements OnInit, InputElement, OnDestroy, C
44
44
  get items(): Observable<any[]> | any[];
45
45
  get itemCount(): number;
46
46
  onClick: EventEmitter<MouseEvent>;
47
- onBlur: EventEmitter<FocusEvent>;
48
- onFocus: EventEmitter<FocusEvent>;
47
+ blurred: EventEmitter<FocusEvent>;
48
+ focused: EventEmitter<FocusEvent>;
49
49
  fakeInput: ElementRef;
50
50
  slides: IonSlides;
51
51
  prevButton: MatButton;
@@ -18,6 +18,7 @@ export declare class SharedValidators {
18
18
  dateMinDuration: string;
19
19
  dateMaxDuration: string;
20
20
  maxDecimals: string;
21
+ double: string;
21
22
  integer: string;
22
23
  email: string;
23
24
  latitude: string;
@@ -33,7 +34,11 @@ export declare class SharedValidators {
33
34
  static empty(control: FormControl): ValidationErrors | null;
34
35
  static pubkey(control: FormControl): ValidationErrors | null;
35
36
  static integer(control: FormControl): ValidationErrors | null;
36
- static double(opts?: {
37
+ /**
38
+ * @deprecated use decimal
39
+ */
40
+ static double: typeof SharedValidators.decimal;
41
+ static decimal(opts?: {
37
42
  maxDecimals?: number;
38
43
  }): ValidatorFn;
39
44
  static validDate(control: FormControl): ValidationErrors | null;
@@ -446,6 +446,7 @@
446
446
  "FIELD_MAXIMUM_DECIMALS": "Too many decimals ({{maxDecimals}} max)",
447
447
  "FIELD_MAXIMUM_DECIMALS_COMPACT": "Nb decimals > {{max}}",
448
448
  "FIELD_INVALID": "Invalid value",
449
+ "FIELD_NOT_VALID_DECIMAL": "Expected decimal value",
449
450
  "FIELD_NOT_VALID_INTEGER": "Expected integer value",
450
451
  "FIELD_NOT_VALID_EMAIL": "Invalid email address",
451
452
  "FIELD_NOT_VALID_DATE": "Invalid date",
@@ -446,6 +446,7 @@
446
446
  "FIELD_MAXIMUM_DECIMALS": "Too many decimals ({{maxDecimals}} max)",
447
447
  "FIELD_MAXIMUM_DECIMALS_COMPACT": "Nb decimals > {{max}}",
448
448
  "FIELD_INVALID": "Invalid value",
449
+ "FIELD_NOT_VALID_DECIMAL": "Expected decimal value",
449
450
  "FIELD_NOT_VALID_INTEGER": "Expected integer value",
450
451
  "FIELD_NOT_VALID_EMAIL": "Invalid email address",
451
452
  "FIELD_NOT_VALID_DATE": "Invalid date",
@@ -256,6 +256,8 @@
256
256
  }
257
257
  },
258
258
  "REFERENTIAL": {
259
+ "LABEL": "Code",
260
+ "NAME": "Libellé",
259
261
  "STATUS_ENUM": {
260
262
  "ENABLE": "Actif à la saisie",
261
263
  "DISABLE": "Inactif à la saisie",
@@ -447,6 +449,7 @@
447
449
  "FIELD_MAXIMUM_DECIMALS": "Trop de décimales (max: {{max}})",
448
450
  "FIELD_MAXIMUM_DECIMALS_COMPACT": "Nb décimale > {{max}}",
449
451
  "FIELD_INVALID": "Valeur non valide",
452
+ "FIELD_NOT_VALID_DECIMAL": "Valeur décimale attendue",
450
453
  "FIELD_NOT_VALID_INTEGER": "Valeur entière attendue",
451
454
  "FIELD_NOT_VALID_EMAIL": "Adresse email invalide",
452
455
  "FIELD_NOT_VALID_DATE": "Date invalide",