@sumaris-net/ngx-components 2.4.95 → 2.4.96
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/doc/changelog.md +4 -0
- package/esm2020/src/app/shared/form/field.component.mjs +1 -1
- package/esm2020/src/app/shared/material/datetime/material.datetime.mjs +77 -85
- package/esm2020/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +1 -1
- package/esm2020/src/app/shared/material/numpad/testing/numpad.test.mjs +1 -1
- package/fesm2015/sumaris-net.ngx-components.mjs +80 -88
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +79 -87
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/material/datetime/material.datetime.d.ts +8 -12
package/package.json
CHANGED
|
@@ -31,7 +31,7 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
|
|
|
31
31
|
private _disabling;
|
|
32
32
|
private _tabindex;
|
|
33
33
|
private _readonly;
|
|
34
|
-
private
|
|
34
|
+
private _formControl;
|
|
35
35
|
private _controlName;
|
|
36
36
|
private _required;
|
|
37
37
|
dayControl: UntypedFormControl;
|
|
@@ -41,16 +41,12 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
|
|
|
41
41
|
locale: string;
|
|
42
42
|
readonly dayMask: (string | RegExp)[];
|
|
43
43
|
readonly hourMask: (string | RegExp)[];
|
|
44
|
-
set control(value: UntypedFormControl);
|
|
45
|
-
get control(): UntypedFormControl;
|
|
46
|
-
set controlName(value: string);
|
|
47
|
-
get controlName(): string;
|
|
48
|
-
set required(value: boolean | any);
|
|
49
|
-
get required(): boolean | any;
|
|
50
44
|
set formControl(value: UntypedFormControl);
|
|
51
45
|
get formControl(): UntypedFormControl;
|
|
52
46
|
set formControlName(value: string);
|
|
53
47
|
get formControlName(): string;
|
|
48
|
+
set required(value: boolean | any);
|
|
49
|
+
get required(): boolean | any;
|
|
54
50
|
placeholder: string;
|
|
55
51
|
floatLabel: FloatLabelType;
|
|
56
52
|
appearance: MatFormFieldAppearance;
|
|
@@ -74,9 +70,6 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
|
|
|
74
70
|
ngOnInit(): void;
|
|
75
71
|
ngAfterViewInit(): void;
|
|
76
72
|
ngOnDestroy(): void;
|
|
77
|
-
setControlName(controlName: string): void;
|
|
78
|
-
setControl(control: UntypedFormControl): void;
|
|
79
|
-
updateControlValidators(control: UntypedFormControl, required: boolean): void;
|
|
80
73
|
writeValue(value: any): void;
|
|
81
74
|
registerOnChange(fn: any): void;
|
|
82
75
|
registerOnTouched(fn: any): void;
|
|
@@ -85,8 +78,11 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
|
|
|
85
78
|
openTimePicker(event?: Event | Event): void;
|
|
86
79
|
focus(): void;
|
|
87
80
|
clear(): void;
|
|
81
|
+
protected _setFormControlName(controlName: string): void;
|
|
82
|
+
protected _setFormControl(control: UntypedFormControl): void;
|
|
83
|
+
protected _updateControlValidators(control: UntypedFormControl, required: boolean): void;
|
|
88
84
|
protected _onDatePickerChange(event: MatDatepickerInputEvent<Moment>): void;
|
|
89
|
-
|
|
85
|
+
protected _onTimePickerChange(timeStr: string): void;
|
|
90
86
|
protected _openDatePickerIfMobile(event?: Event, datePicker?: MatDatepicker<any>): void;
|
|
91
87
|
protected _openTimePickerIfMobile(event?: Event): void;
|
|
92
88
|
protected _checkIfTouched(): void;
|
|
@@ -99,6 +95,6 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
|
|
|
99
95
|
private markAsDirty;
|
|
100
96
|
private markForCheck;
|
|
101
97
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatDateTime, [null, null, null, null, { optional: true; }]>;
|
|
102
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatDateTime, "mat-date-time-field", never, { "
|
|
98
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatDateTime, "mat-date-time-field", never, { "formControl": "formControl"; "formControlName": "formControlName"; "required": "required"; "placeholder": "placeholder"; "floatLabel": "floatLabel"; "appearance": "appearance"; "mobile": "mobile"; "compact": "compact"; "placeholderChar": "placeholderChar"; "autofocus": "autofocus"; "startDate": "startDate"; "clearable": "clearable"; "datePickerFilter": "datePickerFilter"; "readonly": "readonly"; "tabindex": "tabindex"; }, {}, never, ["mat-error", "mat-hint", "[matPrefix]"], false>;
|
|
103
99
|
}
|
|
104
100
|
export {};
|