@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/esm2022/src/app/shared/hotkeys/hotkeys.service.mjs +3 -2
- package/esm2022/src/app/shared/material/datetime/material.datetime.mjs +19 -7
- package/esm2022/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +4 -4
- package/esm2022/src/app/shared/pipes/string.pipes.mjs +4 -4
- package/esm2022/src/app/shared/validator/validators.mjs +12 -8
- package/fesm2022/sumaris-net.ngx-components.mjs +37 -20
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/material/datetime/material.datetime.d.ts +1 -0
- package/src/app/shared/pipes/string.pipes.d.ts +1 -1
- package/src/app/shared/validator/validators.d.ts +3 -1
- package/src/assets/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -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:
|
|
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
|
|
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;
|
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.6.
|
|
5
|
+
"version": "18.6.37",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|