@sumaris-net/ngx-components 18.7.1-rc4 → 18.7.2

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.7.1-rc4",
4
+ "version": "18.7.2",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -71,8 +71,8 @@
71
71
  "url": "https://gitlab.ifremer.fr/sih-public/sumaris/ngx-sumaris-components/-/issues"
72
72
  },
73
73
  "engines": {
74
- "node": ">= 20.0.0",
75
- "npm": ">= 9.9.1"
74
+ "node": ">= 20.17.0",
75
+ "npm": ">= 10.7.0"
76
76
  },
77
77
  "optimizeDeps": {
78
78
  "exclude": [
@@ -1,3 +1,2 @@
1
- export declare const DEFAULT_MAX_DECIMALS = 2;
2
- export declare function formatDuration(value: number | null): string;
1
+ export declare const DEFAULT_MAX_DECIMALS = 7;
3
2
  export declare function parseDuration(input: string, maxDecimals?: number, placeholderChar?: string): number | null;
@@ -39,6 +39,7 @@ export declare class MatDuration implements OnInit, OnDestroy, ControlValueAcces
39
39
  clearable: boolean;
40
40
  matInputs: QueryList<ElementRef>;
41
41
  get value(): any;
42
+ protected dayUnit: string;
42
43
  constructor(platform: Platform, dateAdapter: DateAdapter<Moment>, translate: TranslateService, formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef, formGroupDir: FormGroupDirective);
43
44
  ngOnInit(): void;
44
45
  ngOnDestroy(): void;
@@ -17,6 +17,7 @@ export declare class DurationTestPage implements OnInit {
17
17
  (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
18
18
  (value: any, replacer?: (string | number)[], space?: string | number): string;
19
19
  };
20
+ protected readonly Number: NumberConstructor;
20
21
  static ɵfac: i0.ɵɵFactoryDeclaration<DurationTestPage, never>;
21
22
  static ɵcmp: i0.ɵɵComponentDeclaration<DurationTestPage, "app-duration-test", never, {}, {}, never, never, false, never>;
22
23
  }
@@ -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.7.1-rc4",
5
+ "version": "18.7.1",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{