@sumaris-net/ngx-components 2.4.91 → 2.4.92
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 +7 -0
- package/esm2020/src/app/core/form/form.class.mjs +2 -2
- package/esm2020/src/app/shared/form/field.component.mjs +1 -1
- package/esm2020/src/app/shared/material/datetime/material.datetime.mjs +101 -29
- 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 +107 -31
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +104 -32
- 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 +18 -4
package/package.json
CHANGED
|
@@ -26,10 +26,14 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
|
|
|
26
26
|
private _onChangeCallback;
|
|
27
27
|
private _onTouchedCallback;
|
|
28
28
|
private _subscription;
|
|
29
|
+
private _controlSubscription;
|
|
29
30
|
private _writing;
|
|
30
31
|
private _disabling;
|
|
31
32
|
private _tabindex;
|
|
32
33
|
private _readonly;
|
|
34
|
+
private _control;
|
|
35
|
+
private _controlName;
|
|
36
|
+
private _required;
|
|
33
37
|
dayControl: UntypedFormControl;
|
|
34
38
|
hourControl: UntypedFormControl;
|
|
35
39
|
displayPattern: string;
|
|
@@ -37,12 +41,19 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
|
|
|
37
41
|
locale: string;
|
|
38
42
|
readonly dayMask: (string | RegExp)[];
|
|
39
43
|
readonly hourMask: (string | RegExp)[];
|
|
40
|
-
|
|
41
|
-
|
|
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
|
+
set formControl(value: UntypedFormControl);
|
|
51
|
+
get formControl(): UntypedFormControl;
|
|
52
|
+
set formControlName(value: string);
|
|
53
|
+
get formControlName(): string;
|
|
42
54
|
placeholder: string;
|
|
43
55
|
floatLabel: FloatLabelType;
|
|
44
56
|
appearance: MatFormFieldAppearance;
|
|
45
|
-
required: boolean;
|
|
46
57
|
mobile: boolean;
|
|
47
58
|
compact: boolean;
|
|
48
59
|
placeholderChar: string;
|
|
@@ -63,6 +74,9 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
|
|
|
63
74
|
ngOnInit(): void;
|
|
64
75
|
ngAfterViewInit(): void;
|
|
65
76
|
ngOnDestroy(): void;
|
|
77
|
+
setControlName(controlName: string): void;
|
|
78
|
+
setControl(control: UntypedFormControl): void;
|
|
79
|
+
updateControlValidators(control: UntypedFormControl, required: boolean): void;
|
|
66
80
|
writeValue(value: any): void;
|
|
67
81
|
registerOnChange(fn: any): void;
|
|
68
82
|
registerOnTouched(fn: any): void;
|
|
@@ -85,6 +99,6 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
|
|
|
85
99
|
private markAsDirty;
|
|
86
100
|
private markForCheck;
|
|
87
101
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatDateTime, [null, null, null, null, { optional: true; }]>;
|
|
88
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatDateTime, "mat-date-time-field", never, { "formControl": "formControl"; "formControlName": "formControlName"; "placeholder": "placeholder"; "floatLabel": "floatLabel"; "appearance": "appearance"; "
|
|
102
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatDateTime, "mat-date-time-field", never, { "control": "control"; "controlName": "controlName"; "required": "required"; "formControl": "formControl"; "formControlName": "formControlName"; "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>;
|
|
89
103
|
}
|
|
90
104
|
export {};
|