UNPKG

1.9 kBTypeScriptView Raw
1import * as i0 from "@angular/core";
2/** Provides default configuration values for timepicker */
3export declare class TimepickerConfig {
4 /** hours change step */
5 hourStep: number;
6 /** minutes change step */
7 minuteStep: number;
8 /** seconds changes step */
9 secondsStep: number;
10 /** if true works in 12H mode and displays AM/PM. If false works in 24H mode and hides AM/PM */
11 showMeridian: boolean;
12 /** meridian labels based on locale */
13 meridians: string[];
14 /** if true hours and minutes fields will be readonly */
15 readonlyInput: boolean;
16 /** if true hours and minutes fields will be disabled */
17 disabled: boolean;
18 /** if true emptyTime is not marked as invalid */
19 allowEmptyTime: boolean;
20 /** if true scroll inside hours and minutes inputs will change time */
21 mousewheel: boolean;
22 /** if true the values of hours and minutes can be changed using the up/down arrow keys on the keyboard */
23 arrowkeys: boolean;
24 /** if true spinner arrows above and below the inputs will be shown */
25 showSpinners: boolean;
26 /** show seconds in timepicker */
27 showSeconds: boolean;
28 /** show minutes in timepicker */
29 showMinutes: boolean;
30 /** minimum time user can select */
31 min?: Date;
32 /** maximum time user can select */
33 max?: Date;
34 /** placeholder for hours field in timepicker */
35 hoursPlaceholder: string;
36 /** placeholder for minutes field in timepicker */
37 minutesPlaceholder: string;
38 /** placeholder for seconds field in timepicker */
39 secondsPlaceholder: string;
40 /** hours aria label */
41 ariaLabelHours: string;
42 /** minutes aria label */
43 ariaLabelMinutes: string;
44 /** seconds aria label */
45 ariaLabelSeconds: string;
46 static ɵfac: i0.ɵɵFactoryDeclaration<TimepickerConfig, never>;
47 static ɵprov: i0.ɵɵInjectableDeclaration<TimepickerConfig>;
48}