@progress/kendo-angular-dateinputs 15.1.0 → 15.1.1-develop.2
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 +8 -6
- package/calendar/multiview-calendar.component.d.ts +9 -7
- package/dateinput/dateinput.component.d.ts +8 -48
- package/datepicker/datepicker.component.d.ts +9 -43
- package/daterange/date-range-popup.component.d.ts +11 -10
- package/datetimepicker/datetimepicker.component.d.ts +10 -10
- package/esm2020/calendar/calendar.component.mjs +8 -6
- package/esm2020/calendar/multiview-calendar.component.mjs +9 -7
- package/esm2020/dateinput/dateinput.component.mjs +8 -48
- package/esm2020/datepicker/datepicker.component.mjs +9 -43
- package/esm2020/daterange/date-range-popup.component.mjs +11 -10
- package/esm2020/datetimepicker/datetimepicker.component.mjs +10 -10
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/timepicker/timepicker.component.mjs +10 -49
- package/fesm2015/progress-kendo-angular-dateinputs.mjs +67 -175
- package/fesm2020/progress-kendo-angular-dateinputs.mjs +67 -175
- package/package.json +11 -11
- package/timepicker/timepicker.component.d.ts +10 -49
|
@@ -213,12 +213,12 @@ export declare class CalendarComponent implements ControlValueAccessor, OnChange
|
|
|
213
213
|
weekNumber: boolean;
|
|
214
214
|
/**
|
|
215
215
|
* Fires when the active view is changed
|
|
216
|
-
* ([
|
|
216
|
+
* ([see example](slug:events_calendar)).
|
|
217
217
|
*/
|
|
218
218
|
activeViewChange: EventEmitter<CalendarView>;
|
|
219
219
|
/**
|
|
220
220
|
* Fires when navigating in the currently active view
|
|
221
|
-
* ([
|
|
221
|
+
* ([see example](slug:events_calendar)).
|
|
222
222
|
*/
|
|
223
223
|
navigate: EventEmitter<{
|
|
224
224
|
activeView: CalendarView;
|
|
@@ -226,21 +226,23 @@ export declare class CalendarComponent implements ControlValueAccessor, OnChange
|
|
|
226
226
|
}>;
|
|
227
227
|
/**
|
|
228
228
|
* Fires when the active view date is changed
|
|
229
|
-
* ([
|
|
229
|
+
* ([see example](slug:events_calendar)).
|
|
230
230
|
* Applies to the [`infinite`]({% slug api_dateinputs_calendarcomponent %}#toc-type) Calendar only.
|
|
231
231
|
*/
|
|
232
232
|
activeViewDateChange: EventEmitter<Date>;
|
|
233
233
|
/**
|
|
234
|
-
* Fires each time the Calendar gets blurred
|
|
234
|
+
* Fires each time the Calendar gets blurred
|
|
235
|
+
* ([see example](slug:events_calendar)).
|
|
235
236
|
*/
|
|
236
237
|
onBlur: EventEmitter<any>;
|
|
237
238
|
/**
|
|
238
|
-
* Fires each time the Calendar gets focused
|
|
239
|
+
* Fires each time the Calendar gets focused
|
|
240
|
+
* ([see example](slug:events_calendar)).
|
|
239
241
|
*/
|
|
240
242
|
onFocus: EventEmitter<any>;
|
|
241
243
|
/**
|
|
242
244
|
* Fires when the value is changed
|
|
243
|
-
* ([
|
|
245
|
+
* ([see example](slug:events_calendar)).
|
|
244
246
|
*/
|
|
245
247
|
valueChange: EventEmitter<any>;
|
|
246
248
|
/**
|
|
@@ -224,12 +224,12 @@ export declare class MultiViewCalendarComponent implements AfterViewInit, Contro
|
|
|
224
224
|
orientation: CalendarOrientation;
|
|
225
225
|
/**
|
|
226
226
|
* Fires when the active view is changed
|
|
227
|
-
* ([
|
|
227
|
+
* ([see example](slug:events_multiviewcalendar)).
|
|
228
228
|
*/
|
|
229
229
|
activeViewChange: EventEmitter<CalendarView>;
|
|
230
230
|
/**
|
|
231
231
|
* Fires when navigating in the currently active view
|
|
232
|
-
* ([
|
|
232
|
+
* ([see example](slug:events_multiviewcalendar)).
|
|
233
233
|
*/
|
|
234
234
|
navigate: EventEmitter<{
|
|
235
235
|
activeView: CalendarView;
|
|
@@ -237,25 +237,27 @@ export declare class MultiViewCalendarComponent implements AfterViewInit, Contro
|
|
|
237
237
|
}>;
|
|
238
238
|
/**
|
|
239
239
|
* Fires when a view cell is entered
|
|
240
|
-
* ([
|
|
240
|
+
* ([see example](slug:events_multiviewcalendar)).
|
|
241
241
|
*/
|
|
242
242
|
cellEnter: EventEmitter<Date>;
|
|
243
243
|
/**
|
|
244
244
|
* Fires when a view cell is leaved
|
|
245
|
-
* ([
|
|
245
|
+
* ([see example](slug:events_multiviewcalendar)).
|
|
246
246
|
*/
|
|
247
247
|
cellLeave: EventEmitter<Date>;
|
|
248
248
|
/**
|
|
249
249
|
* Fires when the value is changed
|
|
250
|
-
* ([
|
|
250
|
+
* ([see example](slug:events_multiviewcalendar)).
|
|
251
251
|
*/
|
|
252
252
|
valueChange: EventEmitter<any>;
|
|
253
253
|
/**
|
|
254
|
-
* Fires each time the MultiViewCalendar gets blurred
|
|
254
|
+
* Fires each time the MultiViewCalendar gets blurred
|
|
255
|
+
* ([see example](slug:events_multiviewcalendar)).
|
|
255
256
|
*/
|
|
256
257
|
blurEvent: EventEmitter<any>;
|
|
257
258
|
/**
|
|
258
|
-
* Fires each time the MultiViewCalendar gets focused
|
|
259
|
+
* Fires each time the MultiViewCalendar gets focused
|
|
260
|
+
* ([see example](slug:events_multiviewcalendar)).
|
|
259
261
|
*/
|
|
260
262
|
focusEvent: EventEmitter<any>;
|
|
261
263
|
/**
|
|
@@ -323,64 +323,24 @@ export declare class DateInputComponent implements OnInit, AfterViewInit, Contro
|
|
|
323
323
|
set fillMode(fillMode: DateInputFillMode);
|
|
324
324
|
get fillMode(): DateInputFillMode;
|
|
325
325
|
/**
|
|
326
|
-
* Fires each time the user selects a new value
|
|
327
|
-
*
|
|
328
|
-
* [events]({% slug overview_dateinput %}#toc-events).
|
|
326
|
+
* Fires each time the user selects a new value
|
|
327
|
+
* ([see example](slug:events_dateinput)).
|
|
329
328
|
*/
|
|
330
329
|
valueChange: EventEmitter<Date>;
|
|
331
330
|
/**
|
|
332
331
|
* @hidden
|
|
333
|
-
* Fires each time the user selects a new value
|
|
334
|
-
*
|
|
335
|
-
* [events]({% slug overview_dateinput %}#toc-events).
|
|
332
|
+
* Fires each time the user selects a new value
|
|
333
|
+
* ([see example](slug:events_dateinput)).
|
|
336
334
|
*/
|
|
337
335
|
valueUpdate: EventEmitter<Date>;
|
|
338
336
|
/**
|
|
339
|
-
* Fires each time the user focuses the input element
|
|
340
|
-
*
|
|
341
|
-
* [events]({% slug overview_dateinput %}#toc-events).
|
|
342
|
-
*
|
|
343
|
-
* > To wire the event programmatically, use the `onFocus` property.
|
|
344
|
-
*
|
|
345
|
-
* @example
|
|
346
|
-
* ```ts
|
|
347
|
-
* _@Component({
|
|
348
|
-
* selector: 'my-app',
|
|
349
|
-
* template: `
|
|
350
|
-
* <kendo-dateinput (focus)="handleFocus()"></kendo-dateinput>
|
|
351
|
-
* `
|
|
352
|
-
* })
|
|
353
|
-
* export class AppComponent {
|
|
354
|
-
* public handleFocus(): void {
|
|
355
|
-
* console.log("Component is focused");
|
|
356
|
-
* }
|
|
357
|
-
* }
|
|
358
|
-
* ```
|
|
359
|
-
*
|
|
337
|
+
* Fires each time the user focuses the input element
|
|
338
|
+
* ([see example](slug:events_dateinput)).
|
|
360
339
|
*/
|
|
361
340
|
onFocus: EventEmitter<null>;
|
|
362
341
|
/**
|
|
363
|
-
* Fires each time the input element gets blurred
|
|
364
|
-
*
|
|
365
|
-
* [events]({% slug overview_dateinput %}#toc-events).
|
|
366
|
-
*
|
|
367
|
-
* > To wire the event programmatically, use the `onBlur` property.
|
|
368
|
-
*
|
|
369
|
-
* @example
|
|
370
|
-
* ```ts
|
|
371
|
-
* _@Component({
|
|
372
|
-
* selector: 'my-app',
|
|
373
|
-
* template: `
|
|
374
|
-
* <kendo-dateinput (blur)="handleBlur()"></kendo-dateinput>
|
|
375
|
-
* `
|
|
376
|
-
* })
|
|
377
|
-
* export class AppComponent {
|
|
378
|
-
* public handleBlur(): void {
|
|
379
|
-
* console.log("Component is blurred");
|
|
380
|
-
* }
|
|
381
|
-
* }
|
|
382
|
-
* ```
|
|
383
|
-
*
|
|
342
|
+
* Fires each time the input element gets blurred
|
|
343
|
+
* ([see example](slug:events_dateinput)).
|
|
384
344
|
*/
|
|
385
345
|
onBlur: EventEmitter<null>;
|
|
386
346
|
/**
|
|
@@ -430,63 +430,29 @@ export declare class DatePickerComponent implements ControlValueAccessor, OnInit
|
|
|
430
430
|
adaptiveMode: AdaptiveMode;
|
|
431
431
|
/**
|
|
432
432
|
* Fires each time the user selects a new value
|
|
433
|
-
* ([
|
|
433
|
+
* ([see example](slug:events_datepicker)).
|
|
434
434
|
*/
|
|
435
435
|
valueChange: EventEmitter<Date>;
|
|
436
436
|
/**
|
|
437
437
|
* Fires each time the user focuses the input element
|
|
438
|
-
* ([
|
|
439
|
-
*
|
|
440
|
-
* > To wire the event programmatically, use the `onFocus` property.
|
|
441
|
-
*
|
|
442
|
-
* @example
|
|
443
|
-
* ```ts
|
|
444
|
-
* _@Component({
|
|
445
|
-
* selector: 'my-app',
|
|
446
|
-
* template: `
|
|
447
|
-
* <kendo-datepicker (focus)="handleFocus()"></kendo-datepicker>
|
|
448
|
-
* `
|
|
449
|
-
* })
|
|
450
|
-
* export class AppComponent {
|
|
451
|
-
* public handleFocus(): void {
|
|
452
|
-
* console.log("Component is focused");
|
|
453
|
-
* }
|
|
454
|
-
* }
|
|
455
|
-
* ```
|
|
438
|
+
* ([see example](slug:events_datepicker)).
|
|
456
439
|
*/
|
|
457
440
|
onFocus: EventEmitter<any>;
|
|
458
441
|
/**
|
|
459
442
|
* Fires each time the input element gets blurred
|
|
460
|
-
* ([
|
|
461
|
-
*
|
|
462
|
-
* > To wire the event programmatically, use the `onBlur` property.
|
|
463
|
-
*
|
|
464
|
-
* @example
|
|
465
|
-
* ```ts
|
|
466
|
-
* _@Component({
|
|
467
|
-
* selector: 'my-app',
|
|
468
|
-
* template: `
|
|
469
|
-
* <kendo-datepicker (blur)="handleBlur()"></kendo-datepicker>
|
|
470
|
-
* `
|
|
471
|
-
* })
|
|
472
|
-
* export class AppComponent {
|
|
473
|
-
* public handleBlur(): void {
|
|
474
|
-
* console.log("Component is blurred");
|
|
475
|
-
* }
|
|
476
|
-
* }
|
|
477
|
-
* ```
|
|
443
|
+
* ([see example](slug:events_datepicker)).
|
|
478
444
|
*/
|
|
479
445
|
onBlur: EventEmitter<any>;
|
|
480
446
|
/**
|
|
481
|
-
* Fires each time the popup is about to open
|
|
482
|
-
*
|
|
483
|
-
*
|
|
447
|
+
* Fires each time the popup is about to open
|
|
448
|
+
* ([see example](slug:events_datepicker)).
|
|
449
|
+
* This event is preventable. If you cancel the event, the popup will remain closed.
|
|
484
450
|
*/
|
|
485
451
|
open: EventEmitter<PreventableEvent>;
|
|
486
452
|
/**
|
|
487
|
-
* Fires each time the popup is about to close
|
|
488
|
-
*
|
|
489
|
-
*
|
|
453
|
+
* Fires each time the popup is about to close
|
|
454
|
+
* ([see example](slug:events_datepicker)).
|
|
455
|
+
* This event is preventable. If you cancel the event, the popup will remain open.
|
|
490
456
|
*/
|
|
491
457
|
close: EventEmitter<PreventableEvent>;
|
|
492
458
|
/**
|
|
@@ -106,33 +106,34 @@ export declare class DateRangePopupComponent implements OnInit, OnDestroy {
|
|
|
106
106
|
get subtitle(): string;
|
|
107
107
|
private _subtitle;
|
|
108
108
|
/**
|
|
109
|
-
* Fires each time the popup is about to open
|
|
109
|
+
* Fires each time the popup is about to open
|
|
110
|
+
* ([see example](slug:popup_daterange#toc-events)).
|
|
110
111
|
* This event is preventable. If you cancel the event, the popup will remain closed.
|
|
111
|
-
* For more information, refer to the section on
|
|
112
|
-
* [events]({% slug overview_datepicker %}#toc-events).
|
|
113
112
|
*/
|
|
114
113
|
open: EventEmitter<PreventableEvent>;
|
|
115
114
|
/**
|
|
116
|
-
* Fires each time the popup is about to close
|
|
115
|
+
* Fires each time the popup is about to close
|
|
116
|
+
* ([see example](slug:popup_daterange#toc-events)).
|
|
117
117
|
* This event is preventable. If you cancel the event, the popup will remain open.
|
|
118
|
-
* For more information, refer to the section on
|
|
119
|
-
* [events]({% slug overview_datepicker %}#toc-events).
|
|
120
118
|
*/
|
|
121
119
|
close: EventEmitter<PreventableEvent>;
|
|
122
120
|
/**
|
|
123
|
-
* Fires each time the calendar element is blurred
|
|
121
|
+
* Fires each time the calendar element is blurred
|
|
122
|
+
* ([see example](slug:popup_daterange#toc-events)).
|
|
124
123
|
*/
|
|
125
124
|
onBlur: EventEmitter<null>;
|
|
126
125
|
/**
|
|
127
|
-
* Fires each time the calendar element is focused
|
|
126
|
+
* Fires each time the calendar element is focused
|
|
127
|
+
* ([see example](slug:popup_daterange#toc-events)).
|
|
128
128
|
*/
|
|
129
129
|
onFocus: EventEmitter<null>;
|
|
130
130
|
/**
|
|
131
|
-
* Fires each time the popup is closed either on `ESC` keypress or on leaving the viewport
|
|
131
|
+
* Fires each time the popup is closed either on `ESC` keypress or on leaving the viewport
|
|
132
|
+
* ([see example](slug:popup_daterange#toc-events)).
|
|
132
133
|
*/
|
|
133
134
|
cancel: EventEmitter<null>;
|
|
134
135
|
/**
|
|
135
|
-
* The active calendar that is visible in the popup
|
|
136
|
+
* The active calendar that is visible in the popup
|
|
136
137
|
*
|
|
137
138
|
* > When the popup is closed, the property returns `null`.
|
|
138
139
|
*/
|
|
@@ -296,30 +296,30 @@ export declare class DateTimePickerComponent implements OnInit, OnChanges, After
|
|
|
296
296
|
*/
|
|
297
297
|
adaptiveMode: AdaptiveMode;
|
|
298
298
|
/**
|
|
299
|
-
* Fires each time the user selects a new value
|
|
300
|
-
* ([
|
|
299
|
+
* Fires each time the user selects a new value
|
|
300
|
+
* ([see example](slug:events_datetimepicker)).
|
|
301
301
|
*/
|
|
302
302
|
valueChange: EventEmitter<Date>;
|
|
303
303
|
/**
|
|
304
|
-
* Fires each time the popup is about to open
|
|
304
|
+
* Fires each time the popup is about to open
|
|
305
|
+
* ([see example](slug:events_datetimepicker)).
|
|
305
306
|
* This event is preventable. If you cancel the event by setting `event.preventDefault()`, the popup will remain closed.
|
|
306
|
-
* ([more information and example]({% slug overview_datetimepicker %}#toc-methods-and-events)).
|
|
307
307
|
*/
|
|
308
308
|
open: EventEmitter<PreventableEvent>;
|
|
309
309
|
/**
|
|
310
|
-
* Fires each time the popup is about to close
|
|
310
|
+
* Fires each time the popup is about to close
|
|
311
|
+
* ([see example](slug:events_datetimepicker)).
|
|
311
312
|
* This event is preventable. If you cancel the event by setting `event.preventDefault()`, the popup will remain open.
|
|
312
|
-
* ([more information and example]({% slug overview_datetimepicker %}#toc-methods-and-events)).
|
|
313
313
|
*/
|
|
314
314
|
close: EventEmitter<PreventableEvent>;
|
|
315
315
|
/**
|
|
316
|
-
* Fires each time the user focuses the component
|
|
317
|
-
* ([
|
|
316
|
+
* Fires each time the user focuses the component
|
|
317
|
+
* ([see example](slug:events_datetimepicker)).
|
|
318
318
|
*/
|
|
319
319
|
onFocus: EventEmitter<any>;
|
|
320
320
|
/**
|
|
321
|
-
* Fires each time the user blurs the component
|
|
322
|
-
* ([
|
|
321
|
+
* Fires each time the user blurs the component
|
|
322
|
+
* ([see example](slug:events_datetimepicker)).
|
|
323
323
|
*/
|
|
324
324
|
onBlur: EventEmitter<any>;
|
|
325
325
|
/**
|
|
@@ -176,31 +176,33 @@ export class CalendarComponent {
|
|
|
176
176
|
this.weekNumber = false;
|
|
177
177
|
/**
|
|
178
178
|
* Fires when the active view is changed
|
|
179
|
-
* ([
|
|
179
|
+
* ([see example](slug:events_calendar)).
|
|
180
180
|
*/
|
|
181
181
|
this.activeViewChange = new EventEmitter();
|
|
182
182
|
/**
|
|
183
183
|
* Fires when navigating in the currently active view
|
|
184
|
-
* ([
|
|
184
|
+
* ([see example](slug:events_calendar)).
|
|
185
185
|
*/
|
|
186
186
|
this.navigate = new EventEmitter();
|
|
187
187
|
/**
|
|
188
188
|
* Fires when the active view date is changed
|
|
189
|
-
* ([
|
|
189
|
+
* ([see example](slug:events_calendar)).
|
|
190
190
|
* Applies to the [`infinite`]({% slug api_dateinputs_calendarcomponent %}#toc-type) Calendar only.
|
|
191
191
|
*/
|
|
192
192
|
this.activeViewDateChange = new EventEmitter();
|
|
193
193
|
/**
|
|
194
|
-
* Fires each time the Calendar gets blurred
|
|
194
|
+
* Fires each time the Calendar gets blurred
|
|
195
|
+
* ([see example](slug:events_calendar)).
|
|
195
196
|
*/
|
|
196
197
|
this.onBlur = new EventEmitter();
|
|
197
198
|
/**
|
|
198
|
-
* Fires each time the Calendar gets focused
|
|
199
|
+
* Fires each time the Calendar gets focused
|
|
200
|
+
* ([see example](slug:events_calendar)).
|
|
199
201
|
*/
|
|
200
202
|
this.onFocus = new EventEmitter();
|
|
201
203
|
/**
|
|
202
204
|
* Fires when the value is changed
|
|
203
|
-
* ([
|
|
205
|
+
* ([see example](slug:events_calendar)).
|
|
204
206
|
*/
|
|
205
207
|
this.valueChange = new EventEmitter();
|
|
206
208
|
this._size = DEFAULT_SIZE;
|
|
@@ -179,35 +179,37 @@ export class MultiViewCalendarComponent {
|
|
|
179
179
|
this.orientation = 'horizontal';
|
|
180
180
|
/**
|
|
181
181
|
* Fires when the active view is changed
|
|
182
|
-
* ([
|
|
182
|
+
* ([see example](slug:events_multiviewcalendar)).
|
|
183
183
|
*/
|
|
184
184
|
this.activeViewChange = new EventEmitter();
|
|
185
185
|
/**
|
|
186
186
|
* Fires when navigating in the currently active view
|
|
187
|
-
* ([
|
|
187
|
+
* ([see example](slug:events_multiviewcalendar)).
|
|
188
188
|
*/
|
|
189
189
|
this.navigate = new EventEmitter();
|
|
190
190
|
/**
|
|
191
191
|
* Fires when a view cell is entered
|
|
192
|
-
* ([
|
|
192
|
+
* ([see example](slug:events_multiviewcalendar)).
|
|
193
193
|
*/
|
|
194
194
|
this.cellEnter = new EventEmitter();
|
|
195
195
|
/**
|
|
196
196
|
* Fires when a view cell is leaved
|
|
197
|
-
* ([
|
|
197
|
+
* ([see example](slug:events_multiviewcalendar)).
|
|
198
198
|
*/
|
|
199
199
|
this.cellLeave = new EventEmitter();
|
|
200
200
|
/**
|
|
201
201
|
* Fires when the value is changed
|
|
202
|
-
* ([
|
|
202
|
+
* ([see example](slug:events_multiviewcalendar)).
|
|
203
203
|
*/
|
|
204
204
|
this.valueChange = new EventEmitter();
|
|
205
205
|
/**
|
|
206
|
-
* Fires each time the MultiViewCalendar gets blurred
|
|
206
|
+
* Fires each time the MultiViewCalendar gets blurred
|
|
207
|
+
* ([see example](slug:events_multiviewcalendar)).
|
|
207
208
|
*/
|
|
208
209
|
this.blurEvent = new EventEmitter();
|
|
209
210
|
/**
|
|
210
|
-
* Fires each time the MultiViewCalendar gets focused
|
|
211
|
+
* Fires each time the MultiViewCalendar gets focused
|
|
212
|
+
* ([see example](slug:events_multiviewcalendar)).
|
|
211
213
|
*/
|
|
212
214
|
this.focusEvent = new EventEmitter();
|
|
213
215
|
/**
|
|
@@ -231,64 +231,24 @@ export class DateInputComponent {
|
|
|
231
231
|
*/
|
|
232
232
|
this.spinners = false;
|
|
233
233
|
/**
|
|
234
|
-
* Fires each time the user selects a new value
|
|
235
|
-
*
|
|
236
|
-
* [events]({% slug overview_dateinput %}#toc-events).
|
|
234
|
+
* Fires each time the user selects a new value
|
|
235
|
+
* ([see example](slug:events_dateinput)).
|
|
237
236
|
*/
|
|
238
237
|
this.valueChange = new EventEmitter();
|
|
239
238
|
/**
|
|
240
239
|
* @hidden
|
|
241
|
-
* Fires each time the user selects a new value
|
|
242
|
-
*
|
|
243
|
-
* [events]({% slug overview_dateinput %}#toc-events).
|
|
240
|
+
* Fires each time the user selects a new value
|
|
241
|
+
* ([see example](slug:events_dateinput)).
|
|
244
242
|
*/
|
|
245
243
|
this.valueUpdate = new EventEmitter();
|
|
246
244
|
/**
|
|
247
|
-
* Fires each time the user focuses the input element
|
|
248
|
-
*
|
|
249
|
-
* [events]({% slug overview_dateinput %}#toc-events).
|
|
250
|
-
*
|
|
251
|
-
* > To wire the event programmatically, use the `onFocus` property.
|
|
252
|
-
*
|
|
253
|
-
* @example
|
|
254
|
-
* ```ts
|
|
255
|
-
* _@Component({
|
|
256
|
-
* selector: 'my-app',
|
|
257
|
-
* template: `
|
|
258
|
-
* <kendo-dateinput (focus)="handleFocus()"></kendo-dateinput>
|
|
259
|
-
* `
|
|
260
|
-
* })
|
|
261
|
-
* export class AppComponent {
|
|
262
|
-
* public handleFocus(): void {
|
|
263
|
-
* console.log("Component is focused");
|
|
264
|
-
* }
|
|
265
|
-
* }
|
|
266
|
-
* ```
|
|
267
|
-
*
|
|
245
|
+
* Fires each time the user focuses the input element
|
|
246
|
+
* ([see example](slug:events_dateinput)).
|
|
268
247
|
*/
|
|
269
248
|
this.onFocus = new EventEmitter();
|
|
270
249
|
/**
|
|
271
|
-
* Fires each time the input element gets blurred
|
|
272
|
-
*
|
|
273
|
-
* [events]({% slug overview_dateinput %}#toc-events).
|
|
274
|
-
*
|
|
275
|
-
* > To wire the event programmatically, use the `onBlur` property.
|
|
276
|
-
*
|
|
277
|
-
* @example
|
|
278
|
-
* ```ts
|
|
279
|
-
* _@Component({
|
|
280
|
-
* selector: 'my-app',
|
|
281
|
-
* template: `
|
|
282
|
-
* <kendo-dateinput (blur)="handleBlur()"></kendo-dateinput>
|
|
283
|
-
* `
|
|
284
|
-
* })
|
|
285
|
-
* export class AppComponent {
|
|
286
|
-
* public handleBlur(): void {
|
|
287
|
-
* console.log("Component is blurred");
|
|
288
|
-
* }
|
|
289
|
-
* }
|
|
290
|
-
* ```
|
|
291
|
-
*
|
|
250
|
+
* Fires each time the input element gets blurred
|
|
251
|
+
* ([see example](slug:events_dateinput)).
|
|
292
252
|
*/
|
|
293
253
|
this.onBlur = new EventEmitter();
|
|
294
254
|
this.arrow = Arrow;
|
|
@@ -250,63 +250,29 @@ export class DatePickerComponent {
|
|
|
250
250
|
this.adaptiveMode = 'none';
|
|
251
251
|
/**
|
|
252
252
|
* Fires each time the user selects a new value
|
|
253
|
-
* ([
|
|
253
|
+
* ([see example](slug:events_datepicker)).
|
|
254
254
|
*/
|
|
255
255
|
this.valueChange = new EventEmitter();
|
|
256
256
|
/**
|
|
257
257
|
* Fires each time the user focuses the input element
|
|
258
|
-
* ([
|
|
259
|
-
*
|
|
260
|
-
* > To wire the event programmatically, use the `onFocus` property.
|
|
261
|
-
*
|
|
262
|
-
* @example
|
|
263
|
-
* ```ts
|
|
264
|
-
* _@Component({
|
|
265
|
-
* selector: 'my-app',
|
|
266
|
-
* template: `
|
|
267
|
-
* <kendo-datepicker (focus)="handleFocus()"></kendo-datepicker>
|
|
268
|
-
* `
|
|
269
|
-
* })
|
|
270
|
-
* export class AppComponent {
|
|
271
|
-
* public handleFocus(): void {
|
|
272
|
-
* console.log("Component is focused");
|
|
273
|
-
* }
|
|
274
|
-
* }
|
|
275
|
-
* ```
|
|
258
|
+
* ([see example](slug:events_datepicker)).
|
|
276
259
|
*/
|
|
277
260
|
this.onFocus = new EventEmitter();
|
|
278
261
|
/**
|
|
279
262
|
* Fires each time the input element gets blurred
|
|
280
|
-
* ([
|
|
281
|
-
*
|
|
282
|
-
* > To wire the event programmatically, use the `onBlur` property.
|
|
283
|
-
*
|
|
284
|
-
* @example
|
|
285
|
-
* ```ts
|
|
286
|
-
* _@Component({
|
|
287
|
-
* selector: 'my-app',
|
|
288
|
-
* template: `
|
|
289
|
-
* <kendo-datepicker (blur)="handleBlur()"></kendo-datepicker>
|
|
290
|
-
* `
|
|
291
|
-
* })
|
|
292
|
-
* export class AppComponent {
|
|
293
|
-
* public handleBlur(): void {
|
|
294
|
-
* console.log("Component is blurred");
|
|
295
|
-
* }
|
|
296
|
-
* }
|
|
297
|
-
* ```
|
|
263
|
+
* ([see example](slug:events_datepicker)).
|
|
298
264
|
*/
|
|
299
265
|
this.onBlur = new EventEmitter();
|
|
300
266
|
/**
|
|
301
|
-
* Fires each time the popup is about to open
|
|
302
|
-
*
|
|
303
|
-
*
|
|
267
|
+
* Fires each time the popup is about to open
|
|
268
|
+
* ([see example](slug:events_datepicker)).
|
|
269
|
+
* This event is preventable. If you cancel the event, the popup will remain closed.
|
|
304
270
|
*/
|
|
305
271
|
this.open = new EventEmitter();
|
|
306
272
|
/**
|
|
307
|
-
* Fires each time the popup is about to close
|
|
308
|
-
*
|
|
309
|
-
*
|
|
273
|
+
* Fires each time the popup is about to close
|
|
274
|
+
* ([see example](slug:events_datepicker)).
|
|
275
|
+
* This event is preventable. If you cancel the event, the popup will remain open.
|
|
310
276
|
*/
|
|
311
277
|
this.close = new EventEmitter();
|
|
312
278
|
/**
|
|
@@ -79,29 +79,30 @@ export class DateRangePopupComponent {
|
|
|
79
79
|
*/
|
|
80
80
|
this.title = "";
|
|
81
81
|
/**
|
|
82
|
-
* Fires each time the popup is about to open
|
|
82
|
+
* Fires each time the popup is about to open
|
|
83
|
+
* ([see example](slug:popup_daterange#toc-events)).
|
|
83
84
|
* This event is preventable. If you cancel the event, the popup will remain closed.
|
|
84
|
-
* For more information, refer to the section on
|
|
85
|
-
* [events]({% slug overview_datepicker %}#toc-events).
|
|
86
85
|
*/
|
|
87
86
|
this.open = new EventEmitter();
|
|
88
87
|
/**
|
|
89
|
-
* Fires each time the popup is about to close
|
|
88
|
+
* Fires each time the popup is about to close
|
|
89
|
+
* ([see example](slug:popup_daterange#toc-events)).
|
|
90
90
|
* This event is preventable. If you cancel the event, the popup will remain open.
|
|
91
|
-
* For more information, refer to the section on
|
|
92
|
-
* [events]({% slug overview_datepicker %}#toc-events).
|
|
93
91
|
*/
|
|
94
92
|
this.close = new EventEmitter();
|
|
95
93
|
/**
|
|
96
|
-
* Fires each time the calendar element is blurred
|
|
94
|
+
* Fires each time the calendar element is blurred
|
|
95
|
+
* ([see example](slug:popup_daterange#toc-events)).
|
|
97
96
|
*/
|
|
98
97
|
this.onBlur = new EventEmitter();
|
|
99
98
|
/**
|
|
100
|
-
* Fires each time the calendar element is focused
|
|
99
|
+
* Fires each time the calendar element is focused
|
|
100
|
+
* ([see example](slug:popup_daterange#toc-events)).
|
|
101
101
|
*/
|
|
102
102
|
this.onFocus = new EventEmitter();
|
|
103
103
|
/**
|
|
104
|
-
* Fires each time the popup is closed either on `ESC` keypress or on leaving the viewport
|
|
104
|
+
* Fires each time the popup is closed either on `ESC` keypress or on leaving the viewport
|
|
105
|
+
* ([see example](slug:popup_daterange#toc-events)).
|
|
105
106
|
*/
|
|
106
107
|
this.cancel = new EventEmitter();
|
|
107
108
|
/**
|
|
@@ -128,7 +129,7 @@ export class DateRangePopupComponent {
|
|
|
128
129
|
return this._subtitle;
|
|
129
130
|
}
|
|
130
131
|
/**
|
|
131
|
-
* The active calendar that is visible in the popup
|
|
132
|
+
* The active calendar that is visible in the popup
|
|
132
133
|
*
|
|
133
134
|
* > When the popup is closed, the property returns `null`.
|
|
134
135
|
*/
|
|
@@ -219,30 +219,30 @@ export class DateTimePickerComponent {
|
|
|
219
219
|
*/
|
|
220
220
|
this.adaptiveMode = 'none';
|
|
221
221
|
/**
|
|
222
|
-
* Fires each time the user selects a new value
|
|
223
|
-
* ([
|
|
222
|
+
* Fires each time the user selects a new value
|
|
223
|
+
* ([see example](slug:events_datetimepicker)).
|
|
224
224
|
*/
|
|
225
225
|
this.valueChange = new EventEmitter();
|
|
226
226
|
/**
|
|
227
|
-
* Fires each time the popup is about to open
|
|
227
|
+
* Fires each time the popup is about to open
|
|
228
|
+
* ([see example](slug:events_datetimepicker)).
|
|
228
229
|
* This event is preventable. If you cancel the event by setting `event.preventDefault()`, the popup will remain closed.
|
|
229
|
-
* ([more information and example]({% slug overview_datetimepicker %}#toc-methods-and-events)).
|
|
230
230
|
*/
|
|
231
231
|
this.open = new EventEmitter();
|
|
232
232
|
/**
|
|
233
|
-
* Fires each time the popup is about to close
|
|
233
|
+
* Fires each time the popup is about to close
|
|
234
|
+
* ([see example](slug:events_datetimepicker)).
|
|
234
235
|
* This event is preventable. If you cancel the event by setting `event.preventDefault()`, the popup will remain open.
|
|
235
|
-
* ([more information and example]({% slug overview_datetimepicker %}#toc-methods-and-events)).
|
|
236
236
|
*/
|
|
237
237
|
this.close = new EventEmitter();
|
|
238
238
|
/**
|
|
239
|
-
* Fires each time the user focuses the component
|
|
240
|
-
* ([
|
|
239
|
+
* Fires each time the user focuses the component
|
|
240
|
+
* ([see example](slug:events_datetimepicker)).
|
|
241
241
|
*/
|
|
242
242
|
this.onFocus = new EventEmitter();
|
|
243
243
|
/**
|
|
244
|
-
* Fires each time the user blurs the component
|
|
245
|
-
* ([
|
|
244
|
+
* Fires each time the user blurs the component
|
|
245
|
+
* ([see example](slug:events_datetimepicker)).
|
|
246
246
|
*/
|
|
247
247
|
this.onBlur = new EventEmitter();
|
|
248
248
|
/**
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-dateinputs',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '15.1.
|
|
12
|
+
publishDate: 1708935126,
|
|
13
|
+
version: '15.1.1-develop.2',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|