@sumaris-net/ngx-components 18.6.36 → 18.6.37

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.6.36",
4
+ "version": "18.6.37",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -63,6 +63,7 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
63
63
  get formControlName(): string;
64
64
  set required(value: boolean | any);
65
65
  get required(): boolean | any;
66
+ get requiredTime(): boolean | any;
66
67
  set readonly(value: boolean);
67
68
  get readonly(): boolean;
68
69
  set tabindex(value: number);
@@ -52,7 +52,7 @@ export declare class StrIncludesPipe implements PipeTransform {
52
52
  static ɵpipe: i0.ɵɵPipeDeclaration<StrIncludesPipe, "strIncludes", false>;
53
53
  }
54
54
  export declare class StrReplacePipe implements PipeTransform {
55
- transform(input: any, pattern: any, replacement: any): any;
55
+ transform(input: string, searchValue: string | RegExp, replacement: string): any;
56
56
  static ɵfac: i0.ɵɵFactoryDeclaration<StrReplacePipe, never>;
57
57
  static ɵpipe: i0.ɵɵPipeDeclaration<StrReplacePipe, "replace", false>;
58
58
  }
@@ -48,7 +48,9 @@ export declare class SharedValidators {
48
48
  * @param precision
49
49
  */
50
50
  static precision(precision: number): ValidatorFn;
51
- static validDate(control: UntypedFormControl): ValidationErrors | null;
51
+ static validDateTime(requiredTime?: boolean): ValidatorFn;
52
+ static validDate: ValidatorFn;
53
+ static validDateAllowNoTime: ValidatorFn;
52
54
  static dateIsAfter(previousValue: Moment, errorParam: string, granularity?: unitOfTime.StartOf): ValidatorFn;
53
55
  static dateIsBefore(maxValue: Moment, errorParam: string, granularity?: unitOfTime.StartOf): ValidatorFn;
54
56
  static dateRangeEnd(startDateFieldName: string, msg?: string): ValidatorFn;
@@ -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.6.36",
5
+ "version": "18.6.37",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{