@progress/kendo-angular-dateinputs 7.1.3-dev.202210121001 → 7.1.3-dev.202210260703
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/bundles/kendo-angular-dateinputs.umd.js +1 -1
- package/calendar/calendar.component.d.ts +7 -2
- package/calendar/header.component.d.ts +4 -1
- package/calendar/horizontal-view-list.component.d.ts +17 -1
- package/calendar/localization/calendar-messages.d.ts +5 -1
- package/calendar/localization/multiview-calendar-messages.d.ts +5 -1
- package/calendar/multiview-calendar.component.d.ts +21 -11
- package/calendar/services/bus-view.service.d.ts +1 -0
- package/calendar/services/selection.service.d.ts +2 -0
- package/calendar/services/weeknames.service.d.ts +1 -1
- package/calendar/view-list.component.d.ts +9 -1
- package/calendar/view.component.d.ts +3 -1
- package/common/utils.d.ts +33 -0
- package/dateinput/dateinput.component.d.ts +22 -8
- package/datepicker/datepicker.component.d.ts +2 -10
- package/daterange/date-range-end-input.directive.d.ts +1 -0
- package/daterange/date-range-input.d.ts +4 -1
- package/daterange/date-range-start-input.directive.d.ts +2 -0
- package/daterange/date-range.component.d.ts +7 -1
- package/daterange/date-range.service.d.ts +6 -2
- package/datetimepicker/datetimepicker.component.d.ts +6 -9
- package/esm2015/calendar/calendar.component.js +88 -48
- package/esm2015/calendar/header.component.js +30 -3
- package/esm2015/calendar/horizontal-view-list.component.js +83 -11
- package/esm2015/calendar/localization/calendar-messages.js +3 -1
- package/esm2015/calendar/localization/multiview-calendar-messages.js +3 -1
- package/esm2015/calendar/multiview-calendar.component.js +91 -45
- package/esm2015/calendar/services/bus-view.service.js +2 -0
- package/esm2015/calendar/services/month-view.service.js +1 -1
- package/esm2015/calendar/services/selection.service.js +4 -0
- package/esm2015/calendar/services/weeknames.service.js +2 -2
- package/esm2015/calendar/view-list.component.js +45 -9
- package/esm2015/calendar/view.component.js +16 -3
- package/esm2015/common/utils.js +34 -0
- package/esm2015/dateinput/dateinput.component.js +68 -34
- package/esm2015/datepicker/datepicker.component.js +27 -20
- package/esm2015/daterange/date-range-end-input.directive.js +6 -1
- package/esm2015/daterange/date-range-input.js +10 -0
- package/esm2015/daterange/date-range-popup.component.js +4 -4
- package/esm2015/daterange/date-range-selection.directive.js +1 -1
- package/esm2015/daterange/date-range-start-input.directive.js +9 -0
- package/esm2015/daterange/date-range.component.js +29 -11
- package/esm2015/daterange/date-range.service.js +28 -4
- package/esm2015/datetimepicker/datetimepicker.component.js +38 -20
- package/esm2015/package-metadata.js +1 -1
- package/esm2015/timepicker/localization/messages.js +11 -1
- package/esm2015/timepicker/timelist.component.js +57 -10
- package/esm2015/timepicker/timepicker.component.js +75 -32
- package/esm2015/util.js +2 -2
- package/esm2015/virtualization/virtualization.component.js +7 -5
- package/fesm2015/kendo-angular-dateinputs.js +811 -320
- package/package.json +1 -1
- package/timepicker/localization/messages.d.ts +21 -1
- package/timepicker/timelist.component.d.ts +10 -1
- package/timepicker/timepicker.component.d.ts +7 -13
- package/virtualization/virtualization.component.d.ts +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-dateinputs",
|
|
3
|
-
"version": "7.1.3-dev.
|
|
3
|
+
"version": "7.1.3-dev.202210260703",
|
|
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",
|
|
@@ -36,6 +36,26 @@ export declare class TimePickerMessages extends ComponentMessages {
|
|
|
36
36
|
* The title of the **Toggle** button of the TimePicker.
|
|
37
37
|
*/
|
|
38
38
|
toggle: string;
|
|
39
|
+
/**
|
|
40
|
+
* The label of the **Hour** part in the TimePicker.
|
|
41
|
+
*/
|
|
42
|
+
hour: string;
|
|
43
|
+
/**
|
|
44
|
+
* The label of the **Minute** part in the TimePicker.
|
|
45
|
+
*/
|
|
46
|
+
minute: string;
|
|
47
|
+
/**
|
|
48
|
+
* The label of the **Second** part in the TimePicker.
|
|
49
|
+
*/
|
|
50
|
+
second: string;
|
|
51
|
+
/**
|
|
52
|
+
* The label of the **Millisecond** part in the TimePicker.
|
|
53
|
+
*/
|
|
54
|
+
millisecond: string;
|
|
55
|
+
/**
|
|
56
|
+
* The label of the **Dayperiod** part in the TimePicker.
|
|
57
|
+
*/
|
|
58
|
+
dayperiod: string;
|
|
39
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerMessages, never>;
|
|
40
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TimePickerMessages, "kendo-timepicker-messages-base", never, { "accept": "accept"; "acceptLabel": "acceptLabel"; "cancel": "cancel"; "cancelLabel": "cancelLabel"; "now": "now"; "nowLabel": "nowLabel"; "toggle": "toggle"; }, {}, never>;
|
|
60
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TimePickerMessages, "kendo-timepicker-messages-base", never, { "accept": "accept"; "acceptLabel": "acceptLabel"; "cancel": "cancel"; "cancelLabel": "cancelLabel"; "now": "now"; "nowLabel": "nowLabel"; "toggle": "toggle"; "hour": "hour"; "minute": "minute"; "second": "second"; "millisecond": "millisecond"; "dayperiod": "dayperiod"; }, {}, never>;
|
|
41
61
|
}
|
|
@@ -8,6 +8,7 @@ import { VirtualizationComponent } from '../virtualization/virtualization.compon
|
|
|
8
8
|
import { ListItem } from './models/list-item.interface';
|
|
9
9
|
import { ListService } from './models/list-service.interface';
|
|
10
10
|
import { TimePickerDOMService } from './services/dom.service';
|
|
11
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
/**
|
|
13
14
|
* @hidden
|
|
@@ -18,6 +19,7 @@ export declare class TimeListComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
18
19
|
private dom;
|
|
19
20
|
private renderer;
|
|
20
21
|
private zone;
|
|
22
|
+
private localization;
|
|
21
23
|
min: Date;
|
|
22
24
|
max: Date;
|
|
23
25
|
part: DateFormatPart;
|
|
@@ -26,8 +28,13 @@ export declare class TimeListComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
26
28
|
value: Date;
|
|
27
29
|
valueChange: EventEmitter<Date>;
|
|
28
30
|
virtualization: VirtualizationComponent;
|
|
31
|
+
get roleAttribute(): string;
|
|
32
|
+
get ariaLabel(): string;
|
|
33
|
+
get valueMin(): string;
|
|
34
|
+
get valueMax(): string;
|
|
29
35
|
get tabIndex(): number;
|
|
30
36
|
componentClass: boolean;
|
|
37
|
+
get isDayPeriod(): boolean;
|
|
31
38
|
animateToIndex: boolean;
|
|
32
39
|
isActive: boolean;
|
|
33
40
|
skip: number;
|
|
@@ -44,12 +51,14 @@ export declare class TimeListComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
44
51
|
private indexToScroll;
|
|
45
52
|
private scrollSubscription;
|
|
46
53
|
private domEvents;
|
|
47
|
-
|
|
54
|
+
private hostElement;
|
|
55
|
+
constructor(element: ElementRef, injector: Injector, dom: TimePickerDOMService, renderer: Renderer2, zone: NgZone, localization: LocalizationService);
|
|
48
56
|
ngOnChanges(changes: any): void;
|
|
49
57
|
ngOnInit(): void;
|
|
50
58
|
ngOnDestroy(): void;
|
|
51
59
|
ngAfterViewInit(): void;
|
|
52
60
|
ngAfterViewChecked(): void;
|
|
61
|
+
getCurrentItem(): ListItem;
|
|
53
62
|
handleChange(dataItem: ListItem): void;
|
|
54
63
|
handleItemClick(args: any): void;
|
|
55
64
|
/**
|
|
@@ -17,11 +17,13 @@ import { PreventableEvent } from '../preventable-event';
|
|
|
17
17
|
import { DateInputSize } from '../common/models/size';
|
|
18
18
|
import { DateInputRounded } from '../common/models/rounded';
|
|
19
19
|
import { DateInputFillMode } from '../common/models/fillmode';
|
|
20
|
+
import { BusViewService } from '../calendar/services/bus-view.service';
|
|
20
21
|
import * as i0 from "@angular/core";
|
|
21
22
|
/**
|
|
22
23
|
* Represents the [Kendo UI TimePicker component for Angular]({% slug overview_timepicker %}#toc-basic-usage).
|
|
23
24
|
*/
|
|
24
25
|
export declare class TimePickerComponent implements ControlValueAccessor, OnInit, AfterViewInit, OnChanges, OnDestroy, Validator {
|
|
26
|
+
private bus;
|
|
25
27
|
zone: NgZone;
|
|
26
28
|
localization: LocalizationService;
|
|
27
29
|
private cdr;
|
|
@@ -35,10 +37,6 @@ export declare class TimePickerComponent implements ControlValueAccessor, OnInit
|
|
|
35
37
|
container: ViewContainerRef;
|
|
36
38
|
popupTemplate: TemplateRef<any>;
|
|
37
39
|
toggleButton: ElementRef;
|
|
38
|
-
/**
|
|
39
|
-
* @hidden
|
|
40
|
-
*/
|
|
41
|
-
focusableId: string;
|
|
42
40
|
/**
|
|
43
41
|
* Sets or gets the `disabled` property of the TimePicker and
|
|
44
42
|
* determines whether the component is active
|
|
@@ -316,12 +314,8 @@ export declare class TimePickerComponent implements ControlValueAccessor, OnInit
|
|
|
316
314
|
* @hidden
|
|
317
315
|
*/
|
|
318
316
|
get disabledClass(): boolean;
|
|
319
|
-
popupUID: string;
|
|
317
|
+
get popupUID(): string;
|
|
320
318
|
popupRef: PopupRef;
|
|
321
|
-
/**
|
|
322
|
-
* @hidden
|
|
323
|
-
*/
|
|
324
|
-
get inputRole(): string;
|
|
325
319
|
get isActive(): boolean;
|
|
326
320
|
set isActive(value: boolean);
|
|
327
321
|
get show(): boolean;
|
|
@@ -349,7 +343,7 @@ export declare class TimePickerComponent implements ControlValueAccessor, OnInit
|
|
|
349
343
|
private _size;
|
|
350
344
|
private _rounded;
|
|
351
345
|
private _fillMode;
|
|
352
|
-
constructor(zone: NgZone, localization: LocalizationService, cdr: ChangeDetectorRef, popupService: PopupService, wrapper: ElementRef, renderer: Renderer2, injector: Injector, pickerService: PickerService, intl: IntlService, touchEnabled: boolean);
|
|
346
|
+
constructor(bus: BusViewService, zone: NgZone, localization: LocalizationService, cdr: ChangeDetectorRef, popupService: PopupService, wrapper: ElementRef, renderer: Renderer2, injector: Injector, pickerService: PickerService, intl: IntlService, touchEnabled: boolean);
|
|
353
347
|
/**
|
|
354
348
|
* @hidden
|
|
355
349
|
* Used by the TextBoxContainer to determine if the component is empty
|
|
@@ -374,7 +368,7 @@ export declare class TimePickerComponent implements ControlValueAccessor, OnInit
|
|
|
374
368
|
/**
|
|
375
369
|
* @hidden
|
|
376
370
|
*/
|
|
377
|
-
handleKeydown(event:
|
|
371
|
+
handleKeydown(event: KeyboardEvent): void;
|
|
378
372
|
/**
|
|
379
373
|
* @hidden
|
|
380
374
|
*/
|
|
@@ -481,6 +475,6 @@ export declare class TimePickerComponent implements ControlValueAccessor, OnInit
|
|
|
481
475
|
private blurComponent;
|
|
482
476
|
private handleDateCompletenessChange;
|
|
483
477
|
private setComponentClasses;
|
|
484
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerComponent, [null, null, null, null, null, null, null, null, null, { optional: true; }]>;
|
|
485
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerComponent, "kendo-timepicker", ["kendo-timepicker"], { "
|
|
478
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerComponent, [null, null, null, null, null, null, null, null, null, null, { optional: true; }]>;
|
|
479
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerComponent, "kendo-timepicker", ["kendo-timepicker"], { "disabled": "disabled"; "readonly": "readonly"; "readOnlyInput": "readOnlyInput"; "format": "format"; "formatPlaceholder": "formatPlaceholder"; "placeholder": "placeholder"; "min": "min"; "max": "max"; "incompleteDateValidation": "incompleteDateValidation"; "cancelButton": "cancelButton"; "nowButton": "nowButton"; "steps": "steps"; "popupSettings": "popupSettings"; "tabindex": "tabindex"; "tabIndex": "tabIndex"; "title": "title"; "rangeValidation": "rangeValidation"; "value": "value"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; }, { "valueChange": "valueChange"; "onFocus": "focus"; "onBlur": "blur"; "open": "open"; "close": "close"; }, never, never>;
|
|
486
480
|
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { EventEmitter, ElementRef, InjectionToken, OnChanges, OnDestroy, OnInit, AfterViewInit, Renderer2, NgZone } from '@angular/core';
|
|
6
6
|
import { Scrollable } from './models/scrollable.interface';
|
|
7
7
|
import { ScrollerService, PageAction, ScrollAction } from './services/scroller.service';
|
|
8
|
+
import { ScrollbarWidthService } from '@progress/kendo-angular-common';
|
|
8
9
|
import { Observable } from 'rxjs';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
@@ -29,6 +30,7 @@ export declare class VirtualizationComponent implements OnChanges, OnInit, OnDes
|
|
|
29
30
|
container: ElementRef;
|
|
30
31
|
renderer: Renderer2;
|
|
31
32
|
zone: NgZone;
|
|
33
|
+
protected scrollBarWidthService: ScrollbarWidthService;
|
|
32
34
|
direction: 'horizontal' | 'vertical';
|
|
33
35
|
itemHeight: number;
|
|
34
36
|
itemWidth: number;
|
|
@@ -58,7 +60,7 @@ export declare class VirtualizationComponent implements OnChanges, OnInit, OnDes
|
|
|
58
60
|
private scrollSubscription;
|
|
59
61
|
private containerScrollSubscription;
|
|
60
62
|
private animationSubscription;
|
|
61
|
-
constructor(scrollerFactory: any, container: ElementRef, renderer: Renderer2, zone: NgZone);
|
|
63
|
+
constructor(scrollerFactory: any, container: ElementRef, renderer: Renderer2, zone: NgZone, scrollBarWidthService: ScrollbarWidthService);
|
|
62
64
|
ngOnChanges(changes: any): void;
|
|
63
65
|
ngOnInit(): void;
|
|
64
66
|
ngAfterViewInit(): void;
|