@progress/kendo-angular-dateinputs 19.1.2-develop.2 → 19.1.2-develop.4
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/calendar/calendar.component.d.ts +37 -56
- package/calendar/calendar.module.d.ts +10 -21
- package/calendar/calendars.module.d.ts +10 -21
- package/calendar/localization/calendar-custom-messages.component.d.ts +9 -1
- package/calendar/localization/multiview-calendar-custom-messages.component.d.ts +9 -1
- package/calendar/models/orientation.d.ts +10 -1
- package/calendar/models/selection-range-end.type.d.ts +11 -1
- package/calendar/models/selection-range.interface.d.ts +18 -3
- package/calendar/models/selection.d.ts +19 -4
- package/calendar/models/type.d.ts +7 -3
- package/calendar/models/view.type.d.ts +12 -1
- package/calendar/multiview-calendar.component.d.ts +46 -40
- package/calendar/multiview-calendar.module.d.ts +1 -0
- package/calendar/templates/cell-template.directive.d.ts +16 -19
- package/calendar/templates/century-cell-template.directive.d.ts +15 -19
- package/calendar/templates/decade-cell-template.directive.d.ts +15 -19
- package/calendar/templates/footer-template.directive.d.ts +16 -17
- package/calendar/templates/header-template.directive.d.ts +19 -18
- package/calendar/templates/header-title-template.directive.d.ts +15 -18
- package/calendar/templates/month-cell-template.directive.d.ts +15 -17
- package/calendar/templates/navigation-item-template.directive.d.ts +15 -18
- package/calendar/templates/weeknumber-cell-template.directive.d.ts +15 -17
- package/calendar/templates/year-cell-template.directive.d.ts +15 -20
- package/dateinput/dateinput.component.d.ts +43 -119
- package/dateinput/dateinput.module.d.ts +15 -2
- package/dateinput/localization/dateinput-custom-messages.component.d.ts +18 -1
- package/dateinput/models/format-placeholder.model.d.ts +15 -20
- package/dateinput/models/format-settings.model.d.ts +14 -4
- package/dateinput/models/incremental-steps.model.d.ts +16 -1
- package/datepicker/datepicker.component.d.ts +65 -127
- package/datepicker/datepicker.module.d.ts +11 -2
- package/datepicker/localization/datepicker-custom-messages.component.d.ts +11 -1
- package/daterange/auto-correct-on.type.d.ts +2 -1
- package/daterange/date-range-end-input.directive.d.ts +22 -24
- package/daterange/date-range-popup-template.directive.d.ts +13 -2
- package/daterange/date-range-popup.component.d.ts +83 -73
- package/daterange/date-range-selection.directive.d.ts +10 -9
- package/daterange/date-range-start-input.directive.d.ts +26 -27
- package/daterange/date-range.component.d.ts +1 -6
- package/daterange/date-range.service.d.ts +27 -27
- package/datetimepicker/datetimepicker.component.d.ts +88 -79
- package/datetimepicker/datetimepicker.module.d.ts +16 -2
- package/datetimepicker/localization/datetimepicker-custom-messages.component.d.ts +10 -1
- package/esm2022/calendar/calendar.component.mjs +37 -56
- package/esm2022/calendar/calendar.module.mjs +10 -21
- package/esm2022/calendar/calendars.module.mjs +10 -21
- package/esm2022/calendar/localization/calendar-custom-messages.component.mjs +9 -1
- package/esm2022/calendar/localization/multiview-calendar-custom-messages.component.mjs +9 -1
- package/esm2022/calendar/models/selection-range.interface.mjs +2 -0
- package/esm2022/calendar/models/selection.mjs +11 -0
- package/esm2022/calendar/multiview-calendar.component.mjs +46 -40
- package/esm2022/calendar/multiview-calendar.module.mjs +1 -0
- package/esm2022/calendar/templates/cell-template.directive.mjs +16 -19
- package/esm2022/calendar/templates/century-cell-template.directive.mjs +15 -19
- package/esm2022/calendar/templates/decade-cell-template.directive.mjs +15 -19
- package/esm2022/calendar/templates/footer-template.directive.mjs +16 -17
- package/esm2022/calendar/templates/header-template.directive.mjs +19 -18
- package/esm2022/calendar/templates/header-title-template.directive.mjs +15 -18
- package/esm2022/calendar/templates/month-cell-template.directive.mjs +15 -17
- package/esm2022/calendar/templates/navigation-item-template.directive.mjs +15 -18
- package/esm2022/calendar/templates/weeknumber-cell-template.directive.mjs +15 -17
- package/esm2022/calendar/templates/year-cell-template.directive.mjs +15 -20
- package/esm2022/dateinput/dateinput.component.mjs +44 -120
- package/esm2022/dateinput/dateinput.module.mjs +15 -2
- package/esm2022/dateinput/localization/dateinput-custom-messages.component.mjs +18 -1
- package/esm2022/datepicker/datepicker.component.mjs +65 -127
- package/esm2022/datepicker/datepicker.module.mjs +11 -2
- package/esm2022/datepicker/localization/datepicker-custom-messages.component.mjs +11 -1
- package/esm2022/daterange/date-range-end-input.directive.mjs +22 -24
- package/esm2022/daterange/date-range-popup-template.directive.mjs +13 -2
- package/esm2022/daterange/date-range-popup.component.mjs +83 -73
- package/esm2022/daterange/date-range-selection.directive.mjs +10 -9
- package/esm2022/daterange/date-range-start-input.directive.mjs +26 -27
- package/esm2022/daterange/date-range.component.mjs +1 -6
- package/esm2022/daterange/date-range.service.mjs +27 -27
- package/esm2022/datetimepicker/datetimepicker.component.mjs +88 -79
- package/esm2022/datetimepicker/datetimepicker.module.mjs +16 -2
- package/esm2022/datetimepicker/localization/datetimepicker-custom-messages.component.mjs +10 -1
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/timepicker/localization/messages.mjs +14 -14
- package/esm2022/timepicker/localization/timepicker-custom-messages.component.mjs +12 -1
- package/esm2022/timepicker/timepicker.component.mjs +54 -119
- package/esm2022/timepicker/timepicker.module.mjs +13 -2
- package/esm2022/timepicker/timeselector.component.mjs +24 -40
- package/fesm2022/progress-kendo-angular-dateinputs.mjs +870 -1003
- package/package.json +13 -12
- package/timepicker/localization/messages.d.ts +14 -14
- package/timepicker/localization/timepicker-custom-messages.component.d.ts +12 -1
- package/timepicker/timepicker.component.d.ts +50 -115
- package/timepicker/timepicker.module.d.ts +13 -2
- package/timepicker/timeselector.component.d.ts +24 -40
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-dateinputs",
|
|
3
|
-
"version": "19.1.2-develop.
|
|
3
|
+
"version": "19.1.2-develop.4",
|
|
4
4
|
"description": "Kendo UI for Angular Date Inputs Package - Everything you need to add date selection functionality to apps (DatePicker, TimePicker, DateInput, DateRangePicker, DateTimePicker, Calendar, and MultiViewCalendar).",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"package": {
|
|
80
80
|
"productName": "Kendo UI for Angular",
|
|
81
81
|
"productCode": "KENDOUIANGULAR",
|
|
82
|
-
"publishDate":
|
|
82
|
+
"publishDate": 1750156974,
|
|
83
83
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
84
84
|
}
|
|
85
85
|
},
|
|
@@ -90,22 +90,23 @@
|
|
|
90
90
|
"@angular/forms": "16 - 20",
|
|
91
91
|
"@angular/platform-browser": "16 - 20",
|
|
92
92
|
"@progress/kendo-licensing": "^1.5.0",
|
|
93
|
-
"@progress/kendo-angular-buttons": "19.1.2-develop.
|
|
94
|
-
"@progress/kendo-angular-common": "19.1.2-develop.
|
|
95
|
-
"@progress/kendo-angular-utils": "19.1.2-develop.
|
|
96
|
-
"@progress/kendo-angular-intl": "19.1.2-develop.
|
|
97
|
-
"@progress/kendo-angular-l10n": "19.1.2-develop.
|
|
98
|
-
"@progress/kendo-angular-icons": "19.1.2-develop.
|
|
99
|
-
"@progress/kendo-angular-popup": "19.1.2-develop.
|
|
100
|
-
"@progress/kendo-angular-navigation": "19.1.2-develop.
|
|
93
|
+
"@progress/kendo-angular-buttons": "19.1.2-develop.4",
|
|
94
|
+
"@progress/kendo-angular-common": "19.1.2-develop.4",
|
|
95
|
+
"@progress/kendo-angular-utils": "19.1.2-develop.4",
|
|
96
|
+
"@progress/kendo-angular-intl": "19.1.2-develop.4",
|
|
97
|
+
"@progress/kendo-angular-l10n": "19.1.2-develop.4",
|
|
98
|
+
"@progress/kendo-angular-icons": "19.1.2-develop.4",
|
|
99
|
+
"@progress/kendo-angular-popup": "19.1.2-develop.4",
|
|
100
|
+
"@progress/kendo-angular-navigation": "19.1.2-develop.4",
|
|
101
101
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
102
102
|
},
|
|
103
103
|
"dependencies": {
|
|
104
104
|
"tslib": "^2.3.1",
|
|
105
|
-
"@progress/kendo-angular-schematics": "19.1.2-develop.
|
|
105
|
+
"@progress/kendo-angular-schematics": "19.1.2-develop.4",
|
|
106
106
|
"@progress/kendo-common": "^1.0.1",
|
|
107
107
|
"@progress/kendo-date-math": "^1.1.0",
|
|
108
|
-
"@progress/kendo-dateinputs-common": "^0.4.4"
|
|
108
|
+
"@progress/kendo-dateinputs-common": "^0.4.4",
|
|
109
|
+
"node-html-parser": "^7.0.1"
|
|
109
110
|
},
|
|
110
111
|
"schematics": "./schematics/collection.json",
|
|
111
112
|
"module": "fesm2022/progress-kendo-angular-dateinputs.mjs",
|
|
@@ -9,59 +9,59 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class TimePickerMessages extends ComponentMessages {
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Specifies the text of the **Accept** button in the popup footer of the TimeList.
|
|
13
13
|
*/
|
|
14
14
|
accept: string;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Specifies the label of the **Accept** button in the popup footer of the TimeList.
|
|
17
17
|
*/
|
|
18
18
|
acceptLabel: string;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Specifies the text of the **Cancel** button in the popup footer of the TimeList.
|
|
21
21
|
*/
|
|
22
22
|
cancel: string;
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Specifies the label of the **Cancel** button in the popup footer of the TimeList.
|
|
25
25
|
*/
|
|
26
26
|
cancelLabel: string;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Specifies the text of the **Now** button in the popup header of the TimeList.
|
|
29
29
|
*/
|
|
30
30
|
now: string;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Specifies the label of the **Now** button in the popup header of the TimeList.
|
|
33
33
|
*/
|
|
34
34
|
nowLabel: string;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Specifies the title of the **Toggle** button of the TimePicker.
|
|
37
37
|
*/
|
|
38
38
|
toggle: string;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* Specifies the label of the **Hour** part in the TimePicker.
|
|
41
41
|
*/
|
|
42
42
|
hour: string;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Specifies the label of the **Minute** part in the TimePicker.
|
|
45
45
|
*/
|
|
46
46
|
minute: string;
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Specifies the label of the **Second** part in the TimePicker.
|
|
49
49
|
*/
|
|
50
50
|
second: string;
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
52
|
+
* Specifies the label of the **Millisecond** part in the TimePicker.
|
|
53
53
|
*/
|
|
54
54
|
millisecond: string;
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* Specifies the label of the **Dayperiod** part in the TimePicker.
|
|
57
57
|
*/
|
|
58
58
|
dayperiod: string;
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
60
|
+
* Specifies the title of the **Clear** button of the TimePicker.
|
|
61
61
|
*/
|
|
62
62
|
clearTitle: string;
|
|
63
63
|
/**
|
|
64
|
-
*
|
|
64
|
+
* Specifies the title of the **Close** button of the ActionSheet that renders instead of the popup when using small screen devices in adaptive mode.
|
|
65
65
|
*/
|
|
66
66
|
adaptiveCloseButtonTitle: string;
|
|
67
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerMessages, never>;
|
|
@@ -6,7 +6,18 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
|
6
6
|
import { TimePickerMessages } from './messages';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Represents the Kendo UI TimePicker custom messages component for Angular. Allows you to override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```html
|
|
13
|
+
* <kendo-timepicker>
|
|
14
|
+
* <kendo-timepicker-messages
|
|
15
|
+
* accept="Apply"
|
|
16
|
+
* cancel="Close"
|
|
17
|
+
* now="Current time">
|
|
18
|
+
* </kendo-timepicker-messages>
|
|
19
|
+
* </kendo-timepicker>
|
|
20
|
+
* ```
|
|
10
21
|
*/
|
|
11
22
|
export declare class TimePickerCustomMessagesComponent extends TimePickerMessages {
|
|
12
23
|
protected service: LocalizationService;
|
|
@@ -26,6 +26,19 @@ import { ActionSheetComponent } from '@progress/kendo-angular-navigation';
|
|
|
26
26
|
import * as i0 from "@angular/core";
|
|
27
27
|
/**
|
|
28
28
|
* Represents the [Kendo UI TimePicker component for Angular](slug:overview_timepicker).
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```typescript
|
|
32
|
+
* @Component({
|
|
33
|
+
* selector: 'my-app',
|
|
34
|
+
* template: `
|
|
35
|
+
* <kendo-timepicker [(value)]="selectedTime"></kendo-timepicker>
|
|
36
|
+
* `
|
|
37
|
+
* })
|
|
38
|
+
* export class AppComponent {
|
|
39
|
+
* public selectedTime: Date = new Date();
|
|
40
|
+
* }
|
|
41
|
+
* ```
|
|
29
42
|
*/
|
|
30
43
|
export declare class TimePickerComponent extends MultiTabStop implements ControlValueAccessor, OnInit, AfterViewInit, OnChanges, OnDestroy, Validator {
|
|
31
44
|
private bus;
|
|
@@ -52,14 +65,15 @@ export declare class TimePickerComponent extends MultiTabStop implements Control
|
|
|
52
65
|
*/
|
|
53
66
|
focusableId: string;
|
|
54
67
|
/**
|
|
55
|
-
*
|
|
56
|
-
* determines whether the component is active
|
|
68
|
+
* Determines whether the TimePicker is disabled
|
|
57
69
|
* ([see example]({% slug disabled_timepicker %})).
|
|
58
70
|
* To learn how to disable the component in reactive forms, refer to the article on [Forms Support](slug:formssupport_timepicker#toc-managing-the-timepicker-disabled-state-in-reactive-forms).
|
|
71
|
+
*
|
|
72
|
+
* @default false
|
|
59
73
|
*/
|
|
60
74
|
disabled: boolean;
|
|
61
75
|
/**
|
|
62
|
-
*
|
|
76
|
+
* Determines the read-only state of the TimePicker
|
|
63
77
|
* ([see example]({% slug readonly_timepicker %}#toc-read-only-timepicker)).
|
|
64
78
|
*
|
|
65
79
|
* @default false
|
|
@@ -69,8 +83,9 @@ export declare class TimePickerComponent extends MultiTabStop implements Control
|
|
|
69
83
|
* Sets the read-only state of the TimePicker input field
|
|
70
84
|
* ([see example]({% slug readonly_timepicker %}#toc-read-only-input)).
|
|
71
85
|
*
|
|
72
|
-
*
|
|
86
|
+
* If you set the [`readonly`]({% slug api_dateinputs_timepickercomponent %}#toc-readonly) property value to `true`,
|
|
73
87
|
* the input will be rendered in a read-only state regardless of the `readOnlyInput` value.
|
|
88
|
+
* @default false
|
|
74
89
|
*/
|
|
75
90
|
readOnlyInput: boolean;
|
|
76
91
|
/**
|
|
@@ -82,83 +97,40 @@ export declare class TimePickerComponent extends MultiTabStop implements Control
|
|
|
82
97
|
/**
|
|
83
98
|
* Specifies the time format that is used to display the input value
|
|
84
99
|
* ([see example]({% slug formats_timepicker %})).
|
|
100
|
+
* @default 't'
|
|
85
101
|
*/
|
|
86
102
|
format: string;
|
|
87
103
|
/**
|
|
88
104
|
* Defines the descriptions of the format sections in the input field.
|
|
89
105
|
* For more information, refer to the article on
|
|
90
106
|
* [placeholders]({% slug placeholders_timepicker %}).
|
|
91
|
-
*
|
|
92
|
-
* @example
|
|
93
|
-
* ```ts
|
|
94
|
-
* _@Component({
|
|
95
|
-
* selector: 'my-app',
|
|
96
|
-
* template: `
|
|
97
|
-
* <div class="row example-wrapper" [style.min-height.px]="450">
|
|
98
|
-
* <div class="col-xs-12 col-md-6 example-col">
|
|
99
|
-
* <p>Full-length format description:</p>
|
|
100
|
-
* <kendo-timepicker formatPlaceholder="wide"></kendo-timepicker>
|
|
101
|
-
* </div>
|
|
102
|
-
*
|
|
103
|
-
* <div class="col-xs-12 col-md-6 example-col">
|
|
104
|
-
* <p>Narrow-length format description:</p>
|
|
105
|
-
* <kendo-timepicker formatPlaceholder="narrow"></kendo-timepicker>
|
|
106
|
-
* </div>
|
|
107
|
-
*
|
|
108
|
-
* <div class="col-xs-12 col-md-6 example-col">
|
|
109
|
-
* <p>Short-length format description:</p>
|
|
110
|
-
* <kendo-timepicker formatPlaceholder="short"></kendo-timepicker>
|
|
111
|
-
* </div>
|
|
112
|
-
*
|
|
113
|
-
* <div class="col-xs-12 col-md-6 example-col">
|
|
114
|
-
* <p>Display defined format:</p>
|
|
115
|
-
* <kendo-timepicker format="HH:mm:ss" formatPlaceholder="formatPattern"></kendo-timepicker>
|
|
116
|
-
* </div>
|
|
117
|
-
*
|
|
118
|
-
* <div class="col-xs-12 col-md-6 example-col">
|
|
119
|
-
* <p>Custom defined format descriptions</p>
|
|
120
|
-
* <kendo-timepicker format="HH:mm:ss"
|
|
121
|
-
* [formatPlaceholder]="{ hour: 'H', minute: 'm', second: 's' }"
|
|
122
|
-
* ></kendo-timepicker>
|
|
123
|
-
* </div>
|
|
124
|
-
* </div>
|
|
125
|
-
* `
|
|
126
|
-
* })
|
|
127
|
-
* export class AppComponent { }
|
|
128
|
-
* ```
|
|
129
107
|
*/
|
|
130
108
|
formatPlaceholder: DateInputFormatPlaceholder;
|
|
131
109
|
/**
|
|
132
110
|
* Specifies the hint the TimePicker displays when its value is `null`.
|
|
133
111
|
* For more information, refer to the article on
|
|
134
112
|
* [placeholders]({% slug placeholders_timepicker %}).
|
|
135
|
-
*
|
|
136
|
-
* @example
|
|
137
|
-
* ```ts
|
|
138
|
-
* _@Component({
|
|
139
|
-
* selector: 'my-app',
|
|
140
|
-
* template: `
|
|
141
|
-
* <kendo-timepicker placeholder="Enter start..."></kendo-timepicker>
|
|
142
|
-
* `
|
|
143
|
-
* })
|
|
144
|
-
* export class AppComponent { }
|
|
145
|
-
* ```
|
|
113
|
+
* @default null
|
|
146
114
|
*/
|
|
147
115
|
placeholder: string;
|
|
148
116
|
/**
|
|
149
117
|
* Specifies the smallest valid time value
|
|
150
118
|
* ([see example]({% slug timeranges_timepicker %})).
|
|
119
|
+
* @default `00:00:00`
|
|
151
120
|
*/
|
|
152
121
|
set min(min: Date);
|
|
153
122
|
get min(): Date;
|
|
154
123
|
/**
|
|
155
124
|
* Specifies the biggest valid time value
|
|
156
125
|
* ([see example]({% slug timeranges_timepicker %})).
|
|
126
|
+
* @default `23:59:59`
|
|
157
127
|
*/
|
|
158
128
|
set max(max: Date);
|
|
159
129
|
get max(): Date;
|
|
160
130
|
/**
|
|
161
131
|
* Determines whether the built-in validation for incomplete dates is to be enforced when a form is being validated.
|
|
132
|
+
*
|
|
133
|
+
* @default false
|
|
162
134
|
*/
|
|
163
135
|
incompleteDateValidation: boolean;
|
|
164
136
|
/**
|
|
@@ -185,12 +157,16 @@ export declare class TimePickerComponent extends MultiTabStop implements Control
|
|
|
185
157
|
allowCaretMode: boolean;
|
|
186
158
|
/**
|
|
187
159
|
* Determines whether to display the **Cancel** button in the popup.
|
|
160
|
+
*
|
|
161
|
+
* @default true
|
|
188
162
|
*/
|
|
189
163
|
cancelButton: boolean;
|
|
190
164
|
/**
|
|
191
165
|
* Determines whether to display the **Now** button in the popup.
|
|
192
166
|
*
|
|
193
|
-
*
|
|
167
|
+
* If the current time is out of range or the incremental step is greater than `1`, the **Now** button will be hidden.
|
|
168
|
+
*
|
|
169
|
+
* @default true
|
|
194
170
|
*/
|
|
195
171
|
nowButton: boolean;
|
|
196
172
|
/**
|
|
@@ -198,36 +174,22 @@ export declare class TimePickerComponent extends MultiTabStop implements Control
|
|
|
198
174
|
* For more information, refer to the article on
|
|
199
175
|
* [incremental steps]({% slug incrementalsteps_timepicker %}).
|
|
200
176
|
*
|
|
201
|
-
*
|
|
202
|
-
*
|
|
203
|
-
* @example
|
|
204
|
-
* ```ts
|
|
205
|
-
* _@Component({
|
|
206
|
-
* selector: 'my-app',
|
|
207
|
-
* template: `
|
|
208
|
-
* <kendo-timepicker format="HH:mm:ss" [steps]="steps"></kendo-timepicker>
|
|
209
|
-
* `
|
|
210
|
-
* })
|
|
211
|
-
* class AppComponent {
|
|
212
|
-
* public steps = { hour: 2, minute: 15, second: 15, millisecond: 10 };
|
|
213
|
-
* }
|
|
214
|
-
* ```
|
|
215
|
-
*
|
|
177
|
+
* If the incremental step is greater than `1`, the **Now** button will be hidden.
|
|
216
178
|
*/
|
|
217
179
|
set steps(steps: TimePickerIncrementalSteps);
|
|
218
180
|
get steps(): TimePickerIncrementalSteps;
|
|
219
181
|
/**
|
|
220
182
|
* Configures the popup of the TimePicker.
|
|
221
183
|
*
|
|
222
|
-
* The available options are
|
|
223
|
-
*
|
|
224
|
-
*
|
|
225
|
-
* - `popupClass: String`—Specifies a list of CSS classes that are used to style the popup.
|
|
184
|
+
* The available options are animate which controls the popup animation and by default, the open and close animations are enabled.
|
|
185
|
+
* The `appendTo` option controls the popup container and by default, the popup will be appended to the root component.
|
|
186
|
+
* The `popupClass` option specifies a list of CSS classes that are used to style the popup.
|
|
226
187
|
*/
|
|
227
188
|
set popupSettings(settings: PopupSettings);
|
|
228
189
|
get popupSettings(): PopupSettings;
|
|
229
190
|
/**
|
|
230
|
-
* Sets
|
|
191
|
+
* Sets the tabindex of the TimePicker component.
|
|
192
|
+
* @default 0
|
|
231
193
|
*/
|
|
232
194
|
tabindex: number;
|
|
233
195
|
/**
|
|
@@ -253,50 +215,33 @@ export declare class TimePickerComponent extends MultiTabStop implements Control
|
|
|
253
215
|
*/
|
|
254
216
|
rangeValidation: boolean;
|
|
255
217
|
/**
|
|
256
|
-
*
|
|
218
|
+
* Determines whether the TimePicker is in adaptive mode.
|
|
219
|
+
* @default 'none'
|
|
257
220
|
*/
|
|
258
221
|
adaptiveMode: AdaptiveMode;
|
|
259
222
|
/**
|
|
260
|
-
*
|
|
223
|
+
* Determines whether the TimePicker is in adaptive mode.
|
|
261
224
|
*
|
|
262
|
-
*
|
|
225
|
+
* The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
|
|
263
226
|
*/
|
|
264
227
|
set value(value: Date | null);
|
|
265
228
|
get value(): Date | null;
|
|
266
229
|
/**
|
|
267
230
|
* Sets the size of the component.
|
|
268
|
-
*
|
|
269
|
-
* The possible values are:
|
|
270
|
-
* * `small`
|
|
271
|
-
* * `medium` (Default)
|
|
272
|
-
* * `large`
|
|
273
|
-
* * `none`
|
|
274
|
-
*
|
|
231
|
+
* @default 'medium'
|
|
275
232
|
*/
|
|
276
233
|
set size(size: DateInputSize);
|
|
277
234
|
get size(): DateInputSize;
|
|
278
235
|
/**
|
|
279
|
-
* Sets the
|
|
280
|
-
*
|
|
281
|
-
* The possible values are:
|
|
282
|
-
* * `small`
|
|
283
|
-
* * `medium` (Default)
|
|
284
|
-
* * `large`
|
|
285
|
-
* * `full`
|
|
286
|
-
* * `none`
|
|
236
|
+
* Sets the rounded styling of the component.
|
|
237
|
+
* @default 'medium'
|
|
287
238
|
*
|
|
288
239
|
*/
|
|
289
240
|
set rounded(rounded: DateInputRounded);
|
|
290
241
|
get rounded(): DateInputRounded;
|
|
291
242
|
/**
|
|
292
243
|
* Sets the fillMode of the component.
|
|
293
|
-
*
|
|
294
|
-
* The possible values are:
|
|
295
|
-
* * `solid` (Default)
|
|
296
|
-
* * `flat`
|
|
297
|
-
* * `outline`
|
|
298
|
-
* * `none`
|
|
299
|
-
*
|
|
244
|
+
* @default 'solid'
|
|
300
245
|
*/
|
|
301
246
|
set fillMode(fillMode: DateInputFillMode);
|
|
302
247
|
get fillMode(): DateInputFillMode;
|
|
@@ -444,33 +389,23 @@ export declare class TimePickerComponent extends MultiTabStop implements Control
|
|
|
444
389
|
/**
|
|
445
390
|
* Focuses the TimePicker component.
|
|
446
391
|
*
|
|
447
|
-
* @example
|
|
448
|
-
* ```ts
|
|
449
|
-
* _@Component({
|
|
450
|
-
* selector: 'my-app',
|
|
451
|
-
* template: `
|
|
452
|
-
* <button (click)="timepicker.focus()">Focus time picker</button>
|
|
453
|
-
* <kendo-timepicker #timepicker></kendo-timepicker>
|
|
454
|
-
* `
|
|
455
|
-
* })
|
|
456
|
-
* export class AppComponent { }
|
|
457
|
-
* ```
|
|
458
392
|
*/
|
|
459
393
|
focus(): void;
|
|
460
394
|
/**
|
|
461
395
|
* Blurs the TimePicker component.
|
|
396
|
+
*
|
|
462
397
|
*/
|
|
463
398
|
blur(): void;
|
|
464
399
|
/**
|
|
465
|
-
* Toggles the visibility of the popup or
|
|
466
|
-
* If you use the `toggle` method to show or hide the popup or
|
|
467
|
-
* the `open` and `close` events do not fire.
|
|
400
|
+
* Toggles the visibility of the popup or ActionSheet.
|
|
401
|
+
* If you use the `toggle` method to show or hide the popup or ActionSheet, the `open` and `close` events do not fire.
|
|
468
402
|
*
|
|
469
|
-
* @param show
|
|
403
|
+
* @param {boolean} show The state of the popup.
|
|
470
404
|
*/
|
|
471
405
|
toggle(show?: boolean): void;
|
|
472
406
|
/**
|
|
473
|
-
*
|
|
407
|
+
* Returns whether the component is currently open.
|
|
408
|
+
* That is when the popup or ActionSheet is open.
|
|
474
409
|
*/
|
|
475
410
|
get isOpen(): boolean;
|
|
476
411
|
/**
|
|
@@ -7,8 +7,19 @@ import * as i1 from "./localization/timepicker-custom-messages.component";
|
|
|
7
7
|
import * as i2 from "./timepicker.component";
|
|
8
8
|
import * as i3 from "@progress/kendo-angular-common";
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
*
|
|
10
|
+
* Required for adding all TimePicker features in NgModule-based Angular applications.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import { NgModule } from '@angular/core';
|
|
15
|
+
* import { TimePickerModule } from '@progress/kendo-angular-dateinputs';
|
|
16
|
+
*
|
|
17
|
+
* @NgModule({
|
|
18
|
+
* imports: [TimePickerModule],
|
|
19
|
+
* // ...
|
|
20
|
+
* })
|
|
21
|
+
* export class AppModule { }
|
|
22
|
+
* ```
|
|
12
23
|
*/
|
|
13
24
|
export declare class TimePickerModule {
|
|
14
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerModule, never>;
|
|
@@ -34,62 +34,58 @@ export declare class TimeSelectorComponent implements OnChanges, OnInit, OnDestr
|
|
|
34
34
|
*/
|
|
35
35
|
get disabledClass(): boolean;
|
|
36
36
|
/**
|
|
37
|
-
* Specifies the time format
|
|
37
|
+
* Specifies the time format that displays the time list columns.
|
|
38
|
+
*
|
|
39
|
+
* @default 't'
|
|
38
40
|
*/
|
|
39
41
|
format: string;
|
|
40
42
|
/**
|
|
41
|
-
*
|
|
43
|
+
* Sets the smallest valid time value.
|
|
42
44
|
*/
|
|
43
45
|
min: Date;
|
|
44
46
|
/**
|
|
45
|
-
*
|
|
47
|
+
* Sets the largest valid time value.
|
|
46
48
|
*/
|
|
47
49
|
max: Date;
|
|
48
50
|
/**
|
|
49
|
-
*
|
|
51
|
+
* Controls the display of the **Cancel** button in the popup.
|
|
52
|
+
*
|
|
53
|
+
* @default true
|
|
50
54
|
*/
|
|
51
55
|
cancelButton: boolean;
|
|
52
56
|
/**
|
|
53
|
-
*
|
|
57
|
+
* Controls the display of the **Set** button in the popup.
|
|
58
|
+
*
|
|
59
|
+
* @default true
|
|
54
60
|
*/
|
|
55
61
|
setButton: boolean;
|
|
56
62
|
/**
|
|
57
|
-
*
|
|
63
|
+
* Controls the display of the **Now** button in the popup.
|
|
58
64
|
*
|
|
59
|
-
*
|
|
65
|
+
* When the current time is out of range or the incremental step is greater than `1`, the **Now** button is hidden.
|
|
66
|
+
*
|
|
67
|
+
* @default true
|
|
60
68
|
*/
|
|
61
69
|
nowButton: boolean;
|
|
62
70
|
/**
|
|
63
|
-
* Sets
|
|
71
|
+
* Sets the `disabled` property of the `TimeSelector` and controls whether the component is active.
|
|
72
|
+
*
|
|
73
|
+
* @default false
|
|
64
74
|
*/
|
|
65
75
|
disabled: boolean;
|
|
66
76
|
/**
|
|
67
|
-
*
|
|
77
|
+
* Sets the adaptive mode for the component.
|
|
78
|
+
* Use this property to enable proper height calculation in the DOM service.
|
|
68
79
|
*/
|
|
69
80
|
isAdaptiveEnabled: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* Specifies whether the component is used as part of a DateTimePicker.
|
|
83
|
+
*/
|
|
70
84
|
isDateTimePicker: boolean;
|
|
71
85
|
/**
|
|
72
86
|
* Configures the incremental steps of the TimeSelector.
|
|
73
87
|
*
|
|
74
|
-
*
|
|
75
|
-
* - `hour: Number`—Controls the incremental step of the hour value.
|
|
76
|
-
* - `minute: Number`—Controls the incremental step of the minute value.
|
|
77
|
-
* - `second: Number`—Controls the incremental step of the second value.
|
|
78
|
-
*
|
|
79
|
-
* @example
|
|
80
|
-
* ```ts
|
|
81
|
-
* _@Component({
|
|
82
|
-
* selector: 'my-app',
|
|
83
|
-
* template: `
|
|
84
|
-
* <kendo-timeselector format="HH:mm:ss" [steps]="steps"></kendo-timeselector>
|
|
85
|
-
* `
|
|
86
|
-
* })
|
|
87
|
-
* export class AppComponent {
|
|
88
|
-
* public steps = { hour: 2, minute: 15, second: 15 };
|
|
89
|
-
* }
|
|
90
|
-
* ```
|
|
91
|
-
*
|
|
92
|
-
* > If the incremental step is greater than `1`, the **Now** button will be hidden.
|
|
88
|
+
* When the incremental step is greater than `1`, the **Now** button is hidden.
|
|
93
89
|
*/
|
|
94
90
|
set steps(steps: TimePickerIncrementalSteps);
|
|
95
91
|
get steps(): TimePickerIncrementalSteps;
|
|
@@ -134,18 +130,6 @@ export declare class TimeSelectorComponent implements OnChanges, OnInit, OnDestr
|
|
|
134
130
|
ngOnDestroy(): void;
|
|
135
131
|
/**
|
|
136
132
|
* Focuses the TimeSelector component.
|
|
137
|
-
*
|
|
138
|
-
* @example
|
|
139
|
-
* ```ts
|
|
140
|
-
* _@Component({
|
|
141
|
-
* selector: 'my-app',
|
|
142
|
-
* template: `
|
|
143
|
-
* <button (click)="timeselector.focus()">Focus time picker</button>
|
|
144
|
-
* <kendo-timeselector #timeselector></kendo-timeselector>
|
|
145
|
-
* `
|
|
146
|
-
* })
|
|
147
|
-
* export class AppComponent { }
|
|
148
|
-
* ```
|
|
149
133
|
*/
|
|
150
134
|
focus(): void;
|
|
151
135
|
/**
|