@gloww/gloww 20.0.0-beta.27 → 20.0.0-beta.28
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/fesm2022/gloww-gloww.mjs +55 -52
- package/fesm2022/gloww-gloww.mjs.map +1 -1
- package/index.d.ts +14 -9
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ import { Router, ActivatedRoute, Data, ActivatedRouteSnapshot, RouterStateSnapsh
|
|
|
13
13
|
import * as _angular_platform_browser from '@angular/platform-browser';
|
|
14
14
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
15
15
|
import * as i2 from '@angular/forms';
|
|
16
|
-
import { UntypedFormBuilder, UntypedFormGroup, ControlValueAccessor, UntypedFormControl, FormGroup, FormBuilder, AbstractControl } from '@angular/forms';
|
|
16
|
+
import { UntypedFormBuilder, UntypedFormGroup, ControlValueAccessor, UntypedFormControl, FormControl, FormGroup, FormBuilder, AbstractControl } from '@angular/forms';
|
|
17
17
|
import * as i18 from '@angular/material/datepicker';
|
|
18
18
|
import { MatDatepickerModule } from '@angular/material/datepicker';
|
|
19
19
|
import * as i19 from 'ngx-mat-datetime-picker-v2';
|
|
@@ -972,25 +972,30 @@ declare class DatetimeComponent implements ControlValueAccessor {
|
|
|
972
972
|
placeHolder: string | null;
|
|
973
973
|
mode: string;
|
|
974
974
|
showSeconds: boolean;
|
|
975
|
-
|
|
975
|
+
readonly dateControl: FormControl<Date>;
|
|
976
|
+
readonly hourControl: FormControl<string>;
|
|
977
|
+
readonly minuteControl: FormControl<string>;
|
|
978
|
+
readonly secondControl: FormControl<string>;
|
|
976
979
|
isDisabled: boolean;
|
|
980
|
+
readonly hours: string[];
|
|
981
|
+
readonly minutes: string[];
|
|
982
|
+
readonly seconds: string[];
|
|
977
983
|
onChange: (value: Date | null) => void;
|
|
978
984
|
onTouched: () => void;
|
|
979
985
|
constructor(locale?: string);
|
|
980
|
-
get
|
|
981
|
-
get inputStep(): string | null;
|
|
986
|
+
get isDateTime(): boolean;
|
|
982
987
|
get value(): Date | null;
|
|
983
988
|
set value(val: any);
|
|
984
989
|
writeValue(obj: any): void;
|
|
985
990
|
registerOnChange(fn: any): void;
|
|
986
991
|
registerOnTouched(fn: any): void;
|
|
987
992
|
setDisabledState(isDisabled: boolean): void;
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
private
|
|
993
|
+
clear(): void;
|
|
994
|
+
markTouched(): void;
|
|
995
|
+
private setValueFromOutside;
|
|
996
|
+
private emitCurrentValue;
|
|
997
|
+
private toNumber;
|
|
991
998
|
private normalizeDateValue;
|
|
992
|
-
private parseInputValue;
|
|
993
|
-
private formatValue;
|
|
994
999
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatetimeComponent, [{ optional: true; }]>;
|
|
995
1000
|
static ɵcmp: i0.ɵɵComponentDeclaration<DatetimeComponent, "gloww-datetime", never, { "_value": { "alias": "value"; "required": false; }; "display": { "alias": "display"; "required": false; }; "placeHolder": { "alias": "placeHolder"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "showSeconds": { "alias": "showSeconds"; "required": false; }; }, {}, never, never, true, never>;
|
|
996
1001
|
}
|