@progress/kendo-angular-dateinputs 6.0.1-dev.202201310951 → 6.0.1-dev.202202101118
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/dist/cdn/js/kendo-angular-dateinputs.js +1 -1
- package/dist/cdn/main.js +1 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/timepicker/services/dom.service.js +1 -2
- package/dist/es/timepicker/timelist.component.js +2 -3
- package/dist/es/timepicker/timeselector.component.js +1 -8
- package/dist/es2015/index.metadata.json +1 -1
- package/dist/es2015/package-metadata.js +1 -1
- package/dist/es2015/timepicker/services/dom.service.d.ts +0 -1
- package/dist/es2015/timepicker/services/dom.service.js +1 -2
- package/dist/es2015/timepicker/timelist.component.js +2 -3
- package/dist/es2015/timepicker/timeselector.component.d.ts +0 -4
- package/dist/es2015/timepicker/timeselector.component.js +1 -8
- package/dist/fesm2015/index.js +5 -14
- package/dist/fesm5/index.js +5 -14
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/timepicker/services/dom.service.js +1 -2
- package/dist/npm/timepicker/timelist.component.js +2 -3
- package/dist/npm/timepicker/timeselector.component.js +1 -8
- package/dist/systemjs/kendo-angular-dateinputs.js +1 -1
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ export var packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-dateinputs',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1644491740,
|
|
13
13
|
version: '',
|
|
14
14
|
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'
|
|
15
15
|
};
|
|
@@ -45,8 +45,7 @@ var TimePickerDOMService = /** @class */ (function () {
|
|
|
45
45
|
var listContainer = container && container.querySelector('.k-time-list-container');
|
|
46
46
|
var hostContainer = listContainer || document.body;
|
|
47
47
|
var wrapper = hostContainer.appendChild(TIMELIST_WRAPPER);
|
|
48
|
-
this.
|
|
49
|
-
this.timeListHeight = wrapper.getBoundingClientRect().height;
|
|
48
|
+
this.timeListHeight = wrapper.querySelector('.k-scrollable').getBoundingClientRect().height;
|
|
50
49
|
this.itemHeight = wrapper.querySelector('li').getBoundingClientRect().height;
|
|
51
50
|
hostContainer.removeChild(wrapper);
|
|
52
51
|
};
|
|
@@ -93,9 +93,8 @@ var TimeListComponent = /** @class */ (function () {
|
|
|
93
93
|
this.dom.ensureHeights();
|
|
94
94
|
this.itemHeight = this.dom.itemHeight;
|
|
95
95
|
this.listHeight = this.dom.timeListHeight;
|
|
96
|
-
|
|
97
|
-
this.
|
|
98
|
-
this.bottomOffset = this.listHeight - this.itemHeight - titleHeight;
|
|
96
|
+
this.topOffset = (this.listHeight - this.itemHeight) / 2;
|
|
97
|
+
this.bottomOffset = this.listHeight - this.itemHeight;
|
|
99
98
|
this.topThreshold = this.itemHeight * SNAP_THRESHOLD;
|
|
100
99
|
this.bottomThreshold = this.itemHeight * (1 - SNAP_THRESHOLD);
|
|
101
100
|
var translate = "translateY(" + this.topOffset + "px)";
|
|
@@ -46,10 +46,6 @@ var TimeSelectorComponent = /** @class */ (function () {
|
|
|
46
46
|
this.zone = zone;
|
|
47
47
|
this.renderer = renderer;
|
|
48
48
|
this.pickerService = pickerService;
|
|
49
|
-
/**
|
|
50
|
-
* @hidden
|
|
51
|
-
*/
|
|
52
|
-
this.componentClass = true;
|
|
53
49
|
/**
|
|
54
50
|
* Specifies the time format used to display the time list columns.
|
|
55
51
|
*/
|
|
@@ -192,6 +188,7 @@ var TimeSelectorComponent = /** @class */ (function () {
|
|
|
192
188
|
.changes
|
|
193
189
|
.subscribe(function () { return _this.cdr.markForCheck(); }));
|
|
194
190
|
}
|
|
191
|
+
this.renderer.addClass(this.element.nativeElement, 'k-timeselector');
|
|
195
192
|
this.dom.calculateHeights(this.element.nativeElement);
|
|
196
193
|
this.init();
|
|
197
194
|
this.bindEvents();
|
|
@@ -409,10 +406,6 @@ var TimeSelectorComponent = /** @class */ (function () {
|
|
|
409
406
|
ViewChildren('listWrapper'),
|
|
410
407
|
tslib_1.__metadata("design:type", QueryList)
|
|
411
408
|
], TimeSelectorComponent.prototype, "timeListWrappers", void 0);
|
|
412
|
-
tslib_1.__decorate([
|
|
413
|
-
HostBinding('class.k-timeselector'),
|
|
414
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
415
|
-
], TimeSelectorComponent.prototype, "componentClass", void 0);
|
|
416
409
|
tslib_1.__decorate([
|
|
417
410
|
HostBinding('class.k-disabled'),
|
|
418
411
|
tslib_1.__metadata("design:type", Boolean),
|