@progress/kendo-angular-dateinputs 7.1.3-dev.202210211241 → 7.1.3
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/dateinput/dateinput.component.d.ts +6 -2
- package/datepicker/datepicker.component.d.ts +1 -5
- package/datetimepicker/datetimepicker.component.d.ts +1 -5
- package/esm2015/calendar/calendar.component.js +6 -3
- package/esm2015/calendar/multiview-calendar.component.js +7 -3
- package/esm2015/common/utils.js +2 -2
- package/esm2015/dateinput/dateinput.component.js +16 -11
- package/esm2015/datepicker/datepicker.component.js +4 -11
- package/esm2015/daterange/date-range-end-input.directive.js +1 -0
- package/esm2015/daterange/date-range-start-input.directive.js +2 -0
- package/esm2015/datetimepicker/datetimepicker.component.js +4 -11
- package/esm2015/package-metadata.js +1 -1
- package/esm2015/timepicker/timepicker.component.js +6 -10
- package/esm2015/virtualization/virtualization.component.js +7 -5
- package/fesm2015/kendo-angular-dateinputs.js +52 -54
- package/package.json +1 -1
- package/timepicker/timepicker.component.d.ts +2 -6
- package/virtualization/virtualization.component.d.ts +3 -1
|
@@ -28,7 +28,7 @@ const packageMetadata = {
|
|
|
28
28
|
name: '@progress/kendo-angular-dateinputs',
|
|
29
29
|
productName: 'Kendo UI for Angular',
|
|
30
30
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
31
|
-
publishDate:
|
|
31
|
+
publishDate: 1666769918,
|
|
32
32
|
version: '',
|
|
33
33
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
34
34
|
};
|
|
@@ -150,8 +150,8 @@ const attributeNames = {
|
|
|
150
150
|
ariaControls: 'aria-controls',
|
|
151
151
|
ariaExpanded: 'aria-expanded',
|
|
152
152
|
ariaHasPopup: 'aria-haspopup',
|
|
153
|
-
valueNow: 'valuenow',
|
|
154
|
-
valuetext: 'valuetext',
|
|
153
|
+
valueNow: 'aria-valuenow',
|
|
154
|
+
valuetext: 'aria-valuetext',
|
|
155
155
|
ariaInvalid: 'aria-invalid'
|
|
156
156
|
};
|
|
157
157
|
|
|
@@ -3565,8 +3565,10 @@ class MultiViewCalendarComponent {
|
|
|
3565
3565
|
* @hidden
|
|
3566
3566
|
*/
|
|
3567
3567
|
keydown(event) {
|
|
3568
|
-
const
|
|
3569
|
-
const
|
|
3568
|
+
const arrowUpOrDownKeyPressed = [Keys$1.ArrowUp, Keys$1.ArrowDown].indexOf(event.keyCode) !== -1;
|
|
3569
|
+
const ctrlKey = event.ctrlKey || event.metaKey;
|
|
3570
|
+
const onArrowRightAndControl = event.keyCode === Keys$1.ArrowRight && ctrlKey;
|
|
3571
|
+
const onArrowLeftAndControl = event.keyCode === Keys$1.ArrowLeft && ctrlKey;
|
|
3570
3572
|
const onTKeyPress = event.keyCode === Keys$1.KeyT;
|
|
3571
3573
|
const onEnterKeyPress = event.keyCode === Keys$1.Enter;
|
|
3572
3574
|
if (onArrowRightAndControl) {
|
|
@@ -3579,6 +3581,9 @@ class MultiViewCalendarComponent {
|
|
|
3579
3581
|
this.navigateView(this.prevView);
|
|
3580
3582
|
return;
|
|
3581
3583
|
}
|
|
3584
|
+
else if (ctrlKey && arrowUpOrDownKeyPressed) {
|
|
3585
|
+
event.preventDefault();
|
|
3586
|
+
}
|
|
3582
3587
|
else if (onTKeyPress) {
|
|
3583
3588
|
this.focusedDate = getToday();
|
|
3584
3589
|
this.bus.moveToBottom(this.activeViewEnum);
|
|
@@ -3817,7 +3822,6 @@ class MultiViewCalendarComponent {
|
|
|
3817
3822
|
setClasses(element) {
|
|
3818
3823
|
this.renderer.addClass(element, 'k-widget');
|
|
3819
3824
|
this.renderer.addClass(element, 'k-calendar');
|
|
3820
|
-
this.renderer.addClass(element, 'k-calendar-md');
|
|
3821
3825
|
this.renderer.addClass(element, 'k-calendar-range');
|
|
3822
3826
|
}
|
|
3823
3827
|
verifyChanges() {
|
|
@@ -4374,10 +4378,11 @@ const differenceToScroll = (scrollTop, staticOffset, maxScrollDifference) => {
|
|
|
4374
4378
|
* @hidden
|
|
4375
4379
|
*/
|
|
4376
4380
|
class VirtualizationComponent {
|
|
4377
|
-
constructor(scrollerFactory, container, renderer, zone) {
|
|
4381
|
+
constructor(scrollerFactory, container, renderer, zone, scrollBarWidthService) {
|
|
4378
4382
|
this.container = container;
|
|
4379
4383
|
this.renderer = renderer;
|
|
4380
4384
|
this.zone = zone;
|
|
4385
|
+
this.scrollBarWidthService = scrollBarWidthService;
|
|
4381
4386
|
this.direction = 'vertical';
|
|
4382
4387
|
this.itemHeight = 1;
|
|
4383
4388
|
this.itemWidth = 1;
|
|
@@ -4556,7 +4561,7 @@ class VirtualizationComponent {
|
|
|
4556
4561
|
return indexOffset < this.containerScrollPosition ? ScrollDirection.Backward : ScrollDirection.Forward;
|
|
4557
4562
|
}
|
|
4558
4563
|
}
|
|
4559
|
-
VirtualizationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: VirtualizationComponent, deps: [{ token: SCROLLER_FACTORY_TOKEN }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
4564
|
+
VirtualizationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: VirtualizationComponent, deps: [{ token: SCROLLER_FACTORY_TOKEN }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i5.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4560
4565
|
VirtualizationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: VirtualizationComponent, selector: "kendo-virtualization", inputs: { direction: "direction", itemHeight: "itemHeight", itemWidth: "itemWidth", topOffset: "topOffset", bottomOffset: "bottomOffset", maxScrollDifference: "maxScrollDifference", scrollOffsetSize: "scrollOffsetSize", scrollDuration: "scrollDuration", skip: "skip", take: "take", total: "total" }, outputs: { activeIndexChange: "activeIndexChange", pageChange: "pageChange", scrollChange: "scrollChange" }, host: { properties: { "class.k-flex": "this.wrapperClasses", "class.k-content": "this.wrapperClasses", "class.k-scrollable": "this.wrapperClasses", "class.k-scrollable-horizontal": "this.horizontalClass" } }, providers: [{
|
|
4561
4566
|
provide: SCROLLER_FACTORY_TOKEN,
|
|
4562
4567
|
useValue: DEFAULT_SCROLLER_FACTORY
|
|
@@ -4588,7 +4593,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
4588
4593
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
4589
4594
|
type: Inject,
|
|
4590
4595
|
args: [SCROLLER_FACTORY_TOKEN]
|
|
4591
|
-
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { direction: [{
|
|
4596
|
+
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i5.ScrollbarWidthService }]; }, propDecorators: { direction: [{
|
|
4592
4597
|
type: Input
|
|
4593
4598
|
}], itemHeight: [{
|
|
4594
4599
|
type: Input
|
|
@@ -5718,7 +5723,7 @@ class CalendarComponent {
|
|
|
5718
5723
|
this.resolvedPromise = Promise.resolve(null);
|
|
5719
5724
|
this.destroyed = false;
|
|
5720
5725
|
validatePackage(packageMetadata);
|
|
5721
|
-
this.id = `kendo-calendarid-${this.bus.calendarId}
|
|
5726
|
+
this.id = `kendo-calendarid-${this.bus.calendarId}`;
|
|
5722
5727
|
this.setClasses(element.nativeElement);
|
|
5723
5728
|
if (this.pickerService) {
|
|
5724
5729
|
this.pickerService.calendar = this;
|
|
@@ -5747,7 +5752,7 @@ class CalendarComponent {
|
|
|
5747
5752
|
* @hidden
|
|
5748
5753
|
*/
|
|
5749
5754
|
get headerId() {
|
|
5750
|
-
return this.id + 'header
|
|
5755
|
+
return this.id + '-header';
|
|
5751
5756
|
}
|
|
5752
5757
|
get focusedDate() {
|
|
5753
5758
|
return this._focusedDate;
|
|
@@ -6280,7 +6285,6 @@ class CalendarComponent {
|
|
|
6280
6285
|
setClasses(element) {
|
|
6281
6286
|
this.renderer.addClass(element, 'k-widget');
|
|
6282
6287
|
this.renderer.addClass(element, 'k-calendar');
|
|
6283
|
-
this.renderer.addClass(element, 'k-calendar-md');
|
|
6284
6288
|
this.renderer.addClass(element, `k-calendar-${this.type}`);
|
|
6285
6289
|
}
|
|
6286
6290
|
verifyChanges() {
|
|
@@ -6334,11 +6338,15 @@ class CalendarComponent {
|
|
|
6334
6338
|
handleKeydown(args) {
|
|
6335
6339
|
if (this.type === 'infinite') {
|
|
6336
6340
|
// reserve the alt + arrow key commands for the picker
|
|
6341
|
+
const ctrlKey = args.ctrlKey || args.metaKey;
|
|
6337
6342
|
const arrowKeyPressed = [Keys$1.ArrowUp, Keys$1.ArrowRight, Keys$1.ArrowDown, Keys$1.ArrowLeft].indexOf(args.keyCode) !== -1;
|
|
6338
6343
|
const reserveKeyCommandsForPicker = isPresent(this.pickerService) && arrowKeyPressed && args.altKey;
|
|
6339
6344
|
if (reserveKeyCommandsForPicker) {
|
|
6340
6345
|
return;
|
|
6341
6346
|
}
|
|
6347
|
+
if (ctrlKey && arrowKeyPressed) {
|
|
6348
|
+
args.preventDefault();
|
|
6349
|
+
}
|
|
6342
6350
|
// Prevent form from submitting on enter if used in datepicker (infinite view)
|
|
6343
6351
|
const preventSubmitInDatePicker = isPresent(this.pickerService) && args.keyCode === Keys$1.Enter;
|
|
6344
6352
|
if (preventSubmitInDatePicker) {
|
|
@@ -6835,6 +6843,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
6835
6843
|
}]
|
|
6836
6844
|
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
6837
6845
|
|
|
6846
|
+
let nextId = 0;
|
|
6838
6847
|
const MIN_DOC_LINK$1 = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/api/DateInputComponent/#toc-min';
|
|
6839
6848
|
const MAX_DOC_LINK$1 = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/api/DateInputComponent/#toc-max';
|
|
6840
6849
|
const VALUE_DOC_LINK$3 = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/dateinput/#toc-using-with-json';
|
|
@@ -6885,6 +6894,7 @@ class KendoDate {
|
|
|
6885
6894
|
validatePackage(packageMetadata);
|
|
6886
6895
|
this.monthNames = this.allFormatedMonths();
|
|
6887
6896
|
this.dayPeriods = this.allDayPeriods();
|
|
6897
|
+
nextId++;
|
|
6888
6898
|
if (!value) {
|
|
6889
6899
|
this.value = getDate(new Date());
|
|
6890
6900
|
const sampleFormat = this.dateFormatString(this.value, this.format).symbols;
|
|
@@ -7271,10 +7281,6 @@ class DateInputComponent {
|
|
|
7271
7281
|
this.injector = injector;
|
|
7272
7282
|
this.localization = localization;
|
|
7273
7283
|
this.pickerService = pickerService;
|
|
7274
|
-
/**
|
|
7275
|
-
* @hidden
|
|
7276
|
-
*/
|
|
7277
|
-
this.focusableId = `k-${guid()}`;
|
|
7278
7284
|
/**
|
|
7279
7285
|
* Sets or gets the `disabled` property of the DateInput and
|
|
7280
7286
|
* determines whether the component is active
|
|
@@ -7375,10 +7381,6 @@ class DateInputComponent {
|
|
|
7375
7381
|
* [spinner buttons]({% slug spinbuttons_dateinput %}).
|
|
7376
7382
|
*/
|
|
7377
7383
|
this.spinners = false;
|
|
7378
|
-
/**
|
|
7379
|
-
* @hidden
|
|
7380
|
-
*/
|
|
7381
|
-
this.isPopupOpen = false;
|
|
7382
7384
|
/**
|
|
7383
7385
|
* @hidden
|
|
7384
7386
|
*/
|
|
@@ -7481,6 +7483,17 @@ class DateInputComponent {
|
|
|
7481
7483
|
this.ariaReadOnly = null;
|
|
7482
7484
|
}
|
|
7483
7485
|
}
|
|
7486
|
+
/**
|
|
7487
|
+
* @hidden
|
|
7488
|
+
*/
|
|
7489
|
+
get focusableId() {
|
|
7490
|
+
if (this.pickerType) {
|
|
7491
|
+
return `${this.pickerType}-${nextId}`;
|
|
7492
|
+
}
|
|
7493
|
+
else {
|
|
7494
|
+
return `dateinput-${nextId}`;
|
|
7495
|
+
}
|
|
7496
|
+
}
|
|
7484
7497
|
/**
|
|
7485
7498
|
* @hidden
|
|
7486
7499
|
*/
|
|
@@ -8226,7 +8239,7 @@ class DateInputComponent {
|
|
|
8226
8239
|
}
|
|
8227
8240
|
}
|
|
8228
8241
|
DateInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateInputComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.IntlService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i1$1.LocalizationService }, { token: PickerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
8229
|
-
DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DateInputComponent, selector: "kendo-dateinput", inputs: {
|
|
8242
|
+
DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DateInputComponent, selector: "kendo-dateinput", inputs: { pickerType: "pickerType", disabled: "disabled", readonly: "readonly", title: "title", tabindex: "tabindex", role: "role", ariaReadOnly: "ariaReadOnly", tabIndex: "tabIndex", format: "format", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", steps: "steps", max: "max", min: "min", rangeValidation: "rangeValidation", autoCorrect: "autoCorrect", incompleteDateValidation: "incompleteDateValidation", twoDigitYearMax: "twoDigitYearMax", value: "value", spinners: "spinners", isPopupOpen: "isPopupOpen", hasPopup: "hasPopup", size: "size", rounded: "rounded", fillMode: "fillMode" }, outputs: { valueChange: "valueChange", valueUpdate: "valueUpdate", onFocus: "focus", onBlur: "blur" }, host: { properties: { "class.k-input": "this.wrapperClass", "class.k-dateinput": "this.wrapperClass", "class.k-disabled": "this.disabledClass" } }, providers: [
|
|
8230
8243
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => DateInputComponent), multi: true },
|
|
8231
8244
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => DateInputComponent), multi: true },
|
|
8232
8245
|
{ provide: L10N_PREFIX, useValue: 'kendo.dateinput' },
|
|
@@ -8376,7 +8389,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
8376
8389
|
}]
|
|
8377
8390
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.IntlService }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }, { type: i1$1.LocalizationService }, { type: PickerService, decorators: [{
|
|
8378
8391
|
type: Optional
|
|
8379
|
-
}] }]; }, propDecorators: {
|
|
8392
|
+
}] }]; }, propDecorators: { pickerType: [{
|
|
8380
8393
|
type: Input
|
|
8381
8394
|
}], disabled: [{
|
|
8382
8395
|
type: Input
|
|
@@ -8596,7 +8609,6 @@ const TWO_DIGIT_YEAR_MAX$1 = 68;
|
|
|
8596
8609
|
*/
|
|
8597
8610
|
class DatePickerComponent {
|
|
8598
8611
|
constructor(zone, localization, cdr, popupService, wrapper, renderer, injector, pickerService, disabledDatesService, touchEnabled) {
|
|
8599
|
-
var _a;
|
|
8600
8612
|
this.zone = zone;
|
|
8601
8613
|
this.localization = localization;
|
|
8602
8614
|
this.cdr = cdr;
|
|
@@ -8607,10 +8619,6 @@ class DatePickerComponent {
|
|
|
8607
8619
|
this.pickerService = pickerService;
|
|
8608
8620
|
this.disabledDatesService = disabledDatesService;
|
|
8609
8621
|
this.touchEnabled = touchEnabled;
|
|
8610
|
-
/**
|
|
8611
|
-
* @hidden
|
|
8612
|
-
*/
|
|
8613
|
-
this.focusableId = `k-datepicker-${(_a = this.calendar) === null || _a === void 0 ? void 0 : _a.id}-`;
|
|
8614
8622
|
/**
|
|
8615
8623
|
* Defines the active view that the Calendar initially renders
|
|
8616
8624
|
* ([see example]({% slug calendar_type_datepicker %}#toc-active-view)).
|
|
@@ -9444,7 +9452,7 @@ class DatePickerComponent {
|
|
|
9444
9452
|
}
|
|
9445
9453
|
}
|
|
9446
9454
|
DatePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DatePickerComponent, deps: [{ token: i0.NgZone }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i1$2.PopupService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: PickerService }, { token: DisabledDatesService }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
9447
|
-
DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DatePickerComponent, selector: "kendo-datepicker", inputs: { cellTemplateRef: ["cellTemplate", "cellTemplateRef"], monthCellTemplateRef: ["monthCellTemplate", "monthCellTemplateRef"], yearCellTemplateRef: ["yearCellTemplate", "yearCellTemplateRef"], decadeCellTemplateRef: ["decadeCellTemplate", "decadeCellTemplateRef"], centuryCellTemplateRef: ["centuryCellTemplate", "centuryCellTemplateRef"], weekNumberTemplateRef: ["weekNumberTemplate", "weekNumberTemplateRef"], headerTitleTemplateRef: ["headerTitleTemplate", "headerTitleTemplateRef"], navigationItemTemplateRef: ["navigationItemTemplate", "navigationItemTemplateRef"],
|
|
9455
|
+
DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DatePickerComponent, selector: "kendo-datepicker", inputs: { cellTemplateRef: ["cellTemplate", "cellTemplateRef"], monthCellTemplateRef: ["monthCellTemplate", "monthCellTemplateRef"], yearCellTemplateRef: ["yearCellTemplate", "yearCellTemplateRef"], decadeCellTemplateRef: ["decadeCellTemplate", "decadeCellTemplateRef"], centuryCellTemplateRef: ["centuryCellTemplate", "centuryCellTemplateRef"], weekNumberTemplateRef: ["weekNumberTemplate", "weekNumberTemplateRef"], headerTitleTemplateRef: ["headerTitleTemplate", "headerTitleTemplateRef"], navigationItemTemplateRef: ["navigationItemTemplate", "navigationItemTemplateRef"], activeView: "activeView", bottomView: "bottomView", topView: "topView", calendarType: "calendarType", animateCalendarNavigation: "animateCalendarNavigation", disabled: "disabled", readonly: "readonly", readOnlyInput: "readOnlyInput", popupSettings: "popupSettings", navigation: "navigation", min: "min", max: "max", incompleteDateValidation: "incompleteDateValidation", focusedDate: "focusedDate", value: "value", format: "format", twoDigitYearMax: "twoDigitYearMax", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", tabindex: "tabindex", tabIndex: "tabIndex", disabledDates: "disabledDates", title: "title", rangeValidation: "rangeValidation", disabledDatesValidation: "disabledDatesValidation", weekNumber: "weekNumber", size: "size", rounded: "rounded", fillMode: "fillMode" }, outputs: { valueChange: "valueChange", onFocus: "focus", onBlur: "blur", open: "open", close: "close" }, host: { properties: { "class.k-datepicker": "this.wrapperClasses", "class.k-input": "this.wrapperClasses", "class.k-disabled": "this.disabledClass" } }, providers: [
|
|
9448
9456
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => DatePickerComponent), multi: true },
|
|
9449
9457
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => DatePickerComponent), multi: true },
|
|
9450
9458
|
{ provide: KendoInput, useExisting: forwardRef(() => DatePickerComponent) },
|
|
@@ -9473,7 +9481,7 @@ DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
9473
9481
|
<kendo-dateinput
|
|
9474
9482
|
#input
|
|
9475
9483
|
[role]="'combobox'"
|
|
9476
|
-
|
|
9484
|
+
pickerType="datepicker"
|
|
9477
9485
|
[hasPopup]="true"
|
|
9478
9486
|
[isPopupOpen]="show"
|
|
9479
9487
|
[disabled]="disabled"
|
|
@@ -9547,7 +9555,7 @@ DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
9547
9555
|
</kendo-calendar-messages>
|
|
9548
9556
|
</kendo-calendar>
|
|
9549
9557
|
<ng-template>
|
|
9550
|
-
`, isInline: true, components: [{ type: DateInputComponent, selector: "kendo-dateinput", inputs: ["
|
|
9558
|
+
`, isInline: true, components: [{ type: DateInputComponent, selector: "kendo-dateinput", inputs: ["pickerType", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrect", "incompleteDateValidation", "twoDigitYearMax", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { type: CalendarComponent, selector: "kendo-calendar", inputs: ["id", "focusedDate", "min", "max", "rangeValidation", "selection", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate"], outputs: ["activeViewChange", "navigate", "activeViewDateChange", "valueChange"], exportAs: ["kendo-calendar"] }, { type: CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }], directives: [{ type: DatePickerLocalizedMessagesDirective, selector: "[kendoDatePickerLocalizedMessages]" }, { type: i5.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
9551
9559
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DatePickerComponent, decorators: [{
|
|
9552
9560
|
type: Component,
|
|
9553
9561
|
args: [{
|
|
@@ -9584,7 +9592,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
9584
9592
|
<kendo-dateinput
|
|
9585
9593
|
#input
|
|
9586
9594
|
[role]="'combobox'"
|
|
9587
|
-
|
|
9595
|
+
pickerType="datepicker"
|
|
9588
9596
|
[hasPopup]="true"
|
|
9589
9597
|
[isPopupOpen]="show"
|
|
9590
9598
|
[disabled]="disabled"
|
|
@@ -9722,8 +9730,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
9722
9730
|
}], navigationItemTemplateRef: [{
|
|
9723
9731
|
type: Input,
|
|
9724
9732
|
args: ['navigationItemTemplate']
|
|
9725
|
-
}], focusableId: [{
|
|
9726
|
-
type: Input
|
|
9727
9733
|
}], activeView: [{
|
|
9728
9734
|
type: Input
|
|
9729
9735
|
}], bottomView: [{
|
|
@@ -11622,10 +11628,6 @@ class TimePickerComponent {
|
|
|
11622
11628
|
this.pickerService = pickerService;
|
|
11623
11629
|
this.intl = intl;
|
|
11624
11630
|
this.touchEnabled = touchEnabled;
|
|
11625
|
-
/**
|
|
11626
|
-
* @hidden
|
|
11627
|
-
*/
|
|
11628
|
-
this.focusableId = `k-timepicker-${this.bus.calendarId}-`;
|
|
11629
11631
|
/**
|
|
11630
11632
|
* Sets or gets the `disabled` property of the TimePicker and
|
|
11631
11633
|
* determines whether the component is active
|
|
@@ -12050,9 +12052,11 @@ class TimePickerComponent {
|
|
|
12050
12052
|
}
|
|
12051
12053
|
if (altKey) {
|
|
12052
12054
|
if (keyCode === Keys$1.ArrowUp) {
|
|
12055
|
+
event.preventDefault();
|
|
12053
12056
|
this.show = false;
|
|
12054
12057
|
}
|
|
12055
12058
|
if (keyCode === Keys$1.ArrowDown && !this.show) {
|
|
12059
|
+
event.preventDefault();
|
|
12056
12060
|
this.show = true;
|
|
12057
12061
|
}
|
|
12058
12062
|
}
|
|
@@ -12376,7 +12380,7 @@ class TimePickerComponent {
|
|
|
12376
12380
|
}
|
|
12377
12381
|
}
|
|
12378
12382
|
TimePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TimePickerComponent, deps: [{ token: BusViewService }, { token: i0.NgZone }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i1$2.PopupService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: PickerService }, { token: i1.IntlService }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
12379
|
-
TimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TimePickerComponent, selector: "kendo-timepicker", inputs: {
|
|
12383
|
+
TimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TimePickerComponent, selector: "kendo-timepicker", inputs: { 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" }, outputs: { valueChange: "valueChange", onFocus: "focus", onBlur: "blur", open: "open", close: "close" }, host: { properties: { "class.k-timepicker": "this.wrapperClasses", "class.k-input": "this.wrapperClasses", "class.k-disabled": "this.disabledClass" } }, providers: [
|
|
12380
12384
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => TimePickerComponent), multi: true },
|
|
12381
12385
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => TimePickerComponent), multi: true },
|
|
12382
12386
|
{ provide: KendoInput, useExisting: forwardRef(() => TimePickerComponent) },
|
|
@@ -12428,7 +12432,7 @@ TimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
12428
12432
|
</ng-container>
|
|
12429
12433
|
<kendo-dateinput
|
|
12430
12434
|
#input
|
|
12431
|
-
|
|
12435
|
+
pickerType="timepicker"
|
|
12432
12436
|
[hasPopup]="true"
|
|
12433
12437
|
[isPopupOpen]="show"
|
|
12434
12438
|
[disabled]="disabled"
|
|
@@ -12500,7 +12504,7 @@ TimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
12500
12504
|
</kendo-timeselector>
|
|
12501
12505
|
</ng-template>
|
|
12502
12506
|
<ng-container #container></ng-container>
|
|
12503
|
-
`, isInline: true, components: [{ type: DateInputComponent, selector: "kendo-dateinput", inputs: ["
|
|
12507
|
+
`, isInline: true, components: [{ type: DateInputComponent, selector: "kendo-dateinput", inputs: ["pickerType", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrect", "incompleteDateValidation", "twoDigitYearMax", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { type: TimeSelectorComponent, selector: "kendo-timeselector", inputs: ["format", "min", "max", "cancelButton", "setButton", "nowButton", "disabled", "steps", "value"], outputs: ["valueChange", "valueReject"], exportAs: ["kendo-timeselector"] }, { type: TimeSelectorCustomMessagesComponent, selector: "kendo-timeselector-messages" }], directives: [{ type: TimePickerLocalizedMessagesDirective, selector: "[kendoTimePickerLocalizedMessages]" }, { type: i5.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
12504
12508
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TimePickerComponent, decorators: [{
|
|
12505
12509
|
type: Component,
|
|
12506
12510
|
args: [{
|
|
@@ -12560,7 +12564,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
12560
12564
|
</ng-container>
|
|
12561
12565
|
<kendo-dateinput
|
|
12562
12566
|
#input
|
|
12563
|
-
|
|
12567
|
+
pickerType="timepicker"
|
|
12564
12568
|
[hasPopup]="true"
|
|
12565
12569
|
[isPopupOpen]="show"
|
|
12566
12570
|
[disabled]="disabled"
|
|
@@ -12648,8 +12652,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
12648
12652
|
}], toggleButton: [{
|
|
12649
12653
|
type: ViewChild,
|
|
12650
12654
|
args: ['toggleButton', { static: true }]
|
|
12651
|
-
}], focusableId: [{
|
|
12652
|
-
type: Input
|
|
12653
12655
|
}], disabled: [{
|
|
12654
12656
|
type: Input
|
|
12655
12657
|
}], readonly: [{
|
|
@@ -12799,7 +12801,6 @@ const TWO_DIGIT_YEAR_MAX = 68;
|
|
|
12799
12801
|
*/
|
|
12800
12802
|
class DateTimePickerComponent {
|
|
12801
12803
|
constructor(popupService, intl, cdr, pickerService, ngZone, wrapper, touchEnabled, localization, disabledDatesService, renderer) {
|
|
12802
|
-
var _a;
|
|
12803
12804
|
this.popupService = popupService;
|
|
12804
12805
|
this.intl = intl;
|
|
12805
12806
|
this.cdr = cdr;
|
|
@@ -12822,10 +12823,6 @@ class DateTimePickerComponent {
|
|
|
12822
12823
|
* will be assumed to be 20xx, while 69 and larger will be assumed to be 19xx.
|
|
12823
12824
|
*/
|
|
12824
12825
|
this.twoDigitYearMax = TWO_DIGIT_YEAR_MAX;
|
|
12825
|
-
/**
|
|
12826
|
-
* @hidden
|
|
12827
|
-
*/
|
|
12828
|
-
this.focusableId = `k-datetimepicker-${(_a = this.calendar) === null || _a === void 0 ? void 0 : _a.id}-`;
|
|
12829
12826
|
/**
|
|
12830
12827
|
* Sets the title of the input element of the DateTimePicker.
|
|
12831
12828
|
*/
|
|
@@ -13771,7 +13768,7 @@ class DateTimePickerComponent {
|
|
|
13771
13768
|
}
|
|
13772
13769
|
}
|
|
13773
13770
|
DateTimePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateTimePickerComponent, deps: [{ token: i1$2.PopupService }, { token: i1.IntlService }, { token: i0.ChangeDetectorRef }, { token: PickerService }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: TOUCH_ENABLED }, { token: i1$1.LocalizationService }, { token: DisabledDatesService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
13774
|
-
DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DateTimePickerComponent, selector: "kendo-datetimepicker", inputs: { value: "value", format: "format", twoDigitYearMax: "twoDigitYearMax", tabindex: "tabindex", disabledDates: "disabledDates", popupSettings: "popupSettings",
|
|
13771
|
+
DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DateTimePickerComponent, selector: "kendo-datetimepicker", inputs: { value: "value", format: "format", twoDigitYearMax: "twoDigitYearMax", tabindex: "tabindex", disabledDates: "disabledDates", popupSettings: "popupSettings", title: "title", disabled: "disabled", readonly: "readonly", readOnlyInput: "readOnlyInput", cancelButton: "cancelButton", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", steps: "steps", focusedDate: "focusedDate", calendarType: "calendarType", animateCalendarNavigation: "animateCalendarNavigation", weekNumber: "weekNumber", min: "min", max: "max", rangeValidation: "rangeValidation", disabledDatesValidation: "disabledDatesValidation", incompleteDateValidation: "incompleteDateValidation", defaultTab: "defaultTab", size: "size", rounded: "rounded", fillMode: "fillMode" }, outputs: { valueChange: "valueChange", open: "open", close: "close", onFocus: "focus", onBlur: "blur" }, host: { properties: { "class.k-datetimepicker": "this.hostClasses", "class.k-input": "this.hostClasses", "class.k-disabled": "this.disabledClass" } }, providers: [
|
|
13775
13772
|
PickerService,
|
|
13776
13773
|
LocalizationService,
|
|
13777
13774
|
DisabledDatesService,
|
|
@@ -13843,7 +13840,7 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
13843
13840
|
[steps]="steps"
|
|
13844
13841
|
[tabindex]="tabindex"
|
|
13845
13842
|
[title]="title"
|
|
13846
|
-
|
|
13843
|
+
pickerType="datetimepicker"
|
|
13847
13844
|
[hasPopup]="true"
|
|
13848
13845
|
[isPopupOpen]="isOpen"
|
|
13849
13846
|
(valueChange)="handleInputValueChange($event)"
|
|
@@ -14022,7 +14019,7 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
14022
14019
|
</div>
|
|
14023
14020
|
</div>
|
|
14024
14021
|
</ng-template>
|
|
14025
|
-
`, isInline: true, components: [{ type: DateInputComponent, selector: "kendo-dateinput", inputs: ["
|
|
14022
|
+
`, isInline: true, components: [{ type: DateInputComponent, selector: "kendo-dateinput", inputs: ["pickerType", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrect", "incompleteDateValidation", "twoDigitYearMax", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { type: CalendarComponent, selector: "kendo-calendar", inputs: ["id", "focusedDate", "min", "max", "rangeValidation", "selection", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate"], outputs: ["activeViewChange", "navigate", "activeViewDateChange", "valueChange"], exportAs: ["kendo-calendar"] }, { type: CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }, { type: TimeSelectorComponent, selector: "kendo-timeselector", inputs: ["format", "min", "max", "cancelButton", "setButton", "nowButton", "disabled", "steps", "value"], outputs: ["valueChange", "valueReject"], exportAs: ["kendo-timeselector"] }, { type: TimeSelectorCustomMessagesComponent, selector: "kendo-timeselector-messages" }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoDateTimePickerLocalizedMessages]" }, { type: i5.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14026
14023
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateTimePickerComponent, decorators: [{
|
|
14027
14024
|
type: Component,
|
|
14028
14025
|
args: [{
|
|
@@ -14102,7 +14099,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
14102
14099
|
[steps]="steps"
|
|
14103
14100
|
[tabindex]="tabindex"
|
|
14104
14101
|
[title]="title"
|
|
14105
|
-
|
|
14102
|
+
pickerType="datetimepicker"
|
|
14106
14103
|
[hasPopup]="true"
|
|
14107
14104
|
[isPopupOpen]="isOpen"
|
|
14108
14105
|
(valueChange)="handleInputValueChange($event)"
|
|
@@ -14310,8 +14307,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
14310
14307
|
type: Input
|
|
14311
14308
|
}], popupSettings: [{
|
|
14312
14309
|
type: Input
|
|
14313
|
-
}], focusableId: [{
|
|
14314
|
-
type: Input
|
|
14315
14310
|
}], title: [{
|
|
14316
14311
|
type: Input
|
|
14317
14312
|
}], disabled: [{
|
|
@@ -15379,6 +15374,7 @@ class DateRangeEndInputDirective extends DateRangeInput {
|
|
|
15379
15374
|
ngAfterViewInit() {
|
|
15380
15375
|
const inputElement = this.dateInput.inputElement;
|
|
15381
15376
|
this.renderer.removeAttribute(inputElement, attributeNames.ariaExpanded);
|
|
15377
|
+
this.dateInput.pickerType = 'daterangeend';
|
|
15382
15378
|
}
|
|
15383
15379
|
ngOnDestroy() {
|
|
15384
15380
|
super.destroy();
|
|
@@ -15461,6 +15457,8 @@ class DateRangeStartInputDirective extends DateRangeInput {
|
|
|
15461
15457
|
const inputElement = this.dateInput.inputElement;
|
|
15462
15458
|
this.renderer.setAttribute(inputElement, 'role', 'combobox');
|
|
15463
15459
|
this.renderer.setAttribute(inputElement, attributeNames.ariaHasPopup, 'true');
|
|
15460
|
+
this.dateInput.pickerType = 'daterangestart';
|
|
15461
|
+
this.renderer.setAttribute(inputElement, attributeNames.ariaExpanded, 'false');
|
|
15464
15462
|
}
|
|
15465
15463
|
ngOnDestroy() {
|
|
15466
15464
|
super.destroy();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-dateinputs",
|
|
3
|
-
"version": "7.1.3
|
|
3
|
+
"version": "7.1.3",
|
|
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",
|
|
@@ -37,10 +37,6 @@ export declare class TimePickerComponent implements ControlValueAccessor, OnInit
|
|
|
37
37
|
container: ViewContainerRef;
|
|
38
38
|
popupTemplate: TemplateRef<any>;
|
|
39
39
|
toggleButton: ElementRef;
|
|
40
|
-
/**
|
|
41
|
-
* @hidden
|
|
42
|
-
*/
|
|
43
|
-
focusableId: string;
|
|
44
40
|
/**
|
|
45
41
|
* Sets or gets the `disabled` property of the TimePicker and
|
|
46
42
|
* determines whether the component is active
|
|
@@ -372,7 +368,7 @@ export declare class TimePickerComponent implements ControlValueAccessor, OnInit
|
|
|
372
368
|
/**
|
|
373
369
|
* @hidden
|
|
374
370
|
*/
|
|
375
|
-
handleKeydown(event:
|
|
371
|
+
handleKeydown(event: KeyboardEvent): void;
|
|
376
372
|
/**
|
|
377
373
|
* @hidden
|
|
378
374
|
*/
|
|
@@ -480,5 +476,5 @@ export declare class TimePickerComponent implements ControlValueAccessor, OnInit
|
|
|
480
476
|
private handleDateCompletenessChange;
|
|
481
477
|
private setComponentClasses;
|
|
482
478
|
static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerComponent, [null, null, null, null, null, null, null, null, null, null, { optional: true; }]>;
|
|
483
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerComponent, "kendo-timepicker", ["kendo-timepicker"], { "
|
|
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>;
|
|
484
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;
|