@progress/kendo-vue-dropdowns 3.8.3-dev.202301271102 → 3.8.3-dev.202301301503
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/README.md +1 -1
- package/dist/cdn/js/kendo-vue-dropdowns.js +1 -1
- package/dist/es/common/DropDownBase.js +2 -0
- package/dist/es/common/VirtualScroll.js +2 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/esm/common/DropDownBase.js +2 -0
- package/dist/esm/common/VirtualScroll.js +2 -1
- package/dist/esm/package-metadata.js +1 -1
- package/dist/npm/common/DropDownBase.js +2 -0
- package/dist/npm/common/VirtualScroll.js +2 -1
- package/dist/npm/package-metadata.js +1 -1
- package/package.json +5 -5
|
@@ -242,6 +242,8 @@ var DropDownBase = /** @class */function () {
|
|
|
242
242
|
if (item && virtual && this.vs.enabled) {
|
|
243
243
|
if (virtual.skip > 0 && areSame(item, dataItems[0], dataItemKey)) {
|
|
244
244
|
this.triggerOnPageChange(state, virtual.skip - 1, virtual.pageSize);
|
|
245
|
+
} else if (virtual.skip + virtual.pageSize < virtual.total && areSame(item, dataItems[dataItems.length - 1], dataItemKey)) {
|
|
246
|
+
this.triggerOnPageChange(state, virtual.skip + 1, virtual.pageSize);
|
|
245
247
|
} else if (!opened && virtual.skip + virtual.pageSize < virtual.total && areSame(item, dataItems[dataItems.length - 1], dataItemKey)) {
|
|
246
248
|
this.triggerOnPageChange(state, virtual.skip + 1, virtual.pageSize);
|
|
247
249
|
}
|
|
@@ -74,9 +74,10 @@ var VirtualScroll = /** @class */function () {
|
|
|
74
74
|
if (this.container && this.list) {
|
|
75
75
|
this.calcScrollElementHeight();
|
|
76
76
|
this.container.scrollTop = this.container.scrollHeight - this.container.offsetHeight;
|
|
77
|
-
this.translateTo(this.container.scrollHeight - this.list.offsetHeight
|
|
77
|
+
this.translateTo(Math.min(this.container.scrollHeight, this.containerHeight)); // - this.list.offsetHeight
|
|
78
78
|
}
|
|
79
79
|
};
|
|
80
|
+
|
|
80
81
|
VirtualScroll.prototype.localScrollUp = function (e) {
|
|
81
82
|
var height = this.itemHeight;
|
|
82
83
|
var scrollTop = this.container.scrollTop;
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-vue-dropdowns',
|
|
6
6
|
productName: 'Kendo UI for Vue',
|
|
7
7
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1675090007,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
|
|
11
11
|
};
|
|
@@ -242,6 +242,8 @@ var DropDownBase = /** @class */function () {
|
|
|
242
242
|
if (item && virtual && this.vs.enabled) {
|
|
243
243
|
if (virtual.skip > 0 && areSame(item, dataItems[0], dataItemKey)) {
|
|
244
244
|
this.triggerOnPageChange(state, virtual.skip - 1, virtual.pageSize);
|
|
245
|
+
} else if (virtual.skip + virtual.pageSize < virtual.total && areSame(item, dataItems[dataItems.length - 1], dataItemKey)) {
|
|
246
|
+
this.triggerOnPageChange(state, virtual.skip + 1, virtual.pageSize);
|
|
245
247
|
} else if (!opened && virtual.skip + virtual.pageSize < virtual.total && areSame(item, dataItems[dataItems.length - 1], dataItemKey)) {
|
|
246
248
|
this.triggerOnPageChange(state, virtual.skip + 1, virtual.pageSize);
|
|
247
249
|
}
|
|
@@ -74,9 +74,10 @@ var VirtualScroll = /** @class */function () {
|
|
|
74
74
|
if (this.container && this.list) {
|
|
75
75
|
this.calcScrollElementHeight();
|
|
76
76
|
this.container.scrollTop = this.container.scrollHeight - this.container.offsetHeight;
|
|
77
|
-
this.translateTo(this.container.scrollHeight - this.list.offsetHeight
|
|
77
|
+
this.translateTo(Math.min(this.container.scrollHeight, this.containerHeight)); // - this.list.offsetHeight
|
|
78
78
|
}
|
|
79
79
|
};
|
|
80
|
+
|
|
80
81
|
VirtualScroll.prototype.localScrollUp = function (e) {
|
|
81
82
|
var height = this.itemHeight;
|
|
82
83
|
var scrollTop = this.container.scrollTop;
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-vue-dropdowns',
|
|
6
6
|
productName: 'Kendo UI for Vue',
|
|
7
7
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1675090007,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
|
|
11
11
|
};
|
|
@@ -247,6 +247,8 @@ var DropDownBase = /** @class */function () {
|
|
|
247
247
|
if (item && virtual && this.vs.enabled) {
|
|
248
248
|
if (virtual.skip > 0 && (0, utils_1.areSame)(item, dataItems[0], dataItemKey)) {
|
|
249
249
|
this.triggerOnPageChange(state, virtual.skip - 1, virtual.pageSize);
|
|
250
|
+
} else if (virtual.skip + virtual.pageSize < virtual.total && (0, utils_1.areSame)(item, dataItems[dataItems.length - 1], dataItemKey)) {
|
|
251
|
+
this.triggerOnPageChange(state, virtual.skip + 1, virtual.pageSize);
|
|
250
252
|
} else if (!opened && virtual.skip + virtual.pageSize < virtual.total && (0, utils_1.areSame)(item, dataItems[dataItems.length - 1], dataItemKey)) {
|
|
251
253
|
this.triggerOnPageChange(state, virtual.skip + 1, virtual.pageSize);
|
|
252
254
|
}
|
|
@@ -79,9 +79,10 @@ var VirtualScroll = /** @class */function () {
|
|
|
79
79
|
if (this.container && this.list) {
|
|
80
80
|
this.calcScrollElementHeight();
|
|
81
81
|
this.container.scrollTop = this.container.scrollHeight - this.container.offsetHeight;
|
|
82
|
-
this.translateTo(this.container.scrollHeight - this.list.offsetHeight
|
|
82
|
+
this.translateTo(Math.min(this.container.scrollHeight, this.containerHeight)); // - this.list.offsetHeight
|
|
83
83
|
}
|
|
84
84
|
};
|
|
85
|
+
|
|
85
86
|
VirtualScroll.prototype.localScrollUp = function (e) {
|
|
86
87
|
var height = this.itemHeight;
|
|
87
88
|
var scrollTop = this.container.scrollTop;
|
|
@@ -8,7 +8,7 @@ exports.packageMetadata = {
|
|
|
8
8
|
name: '@progress/kendo-vue-dropdowns',
|
|
9
9
|
productName: 'Kendo UI for Vue',
|
|
10
10
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
11
|
-
publishDate:
|
|
11
|
+
publishDate: 1675090007,
|
|
12
12
|
version: '',
|
|
13
13
|
licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
|
|
14
14
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-vue-dropdowns",
|
|
3
3
|
"description": "Kendo UI for Vue Dropdowns package",
|
|
4
|
-
"version": "3.8.3-dev.
|
|
4
|
+
"version": "3.8.3-dev.202301301503",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/telerik/kendo-vue.git"
|
|
@@ -50,15 +50,15 @@
|
|
|
50
50
|
"vue": "^2.6.12 || ^3.0.2"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@progress/kendo-vue-buttons": "3.8.3-dev.
|
|
54
|
-
"@progress/kendo-vue-common": "3.8.3-dev.
|
|
55
|
-
"@progress/kendo-vue-popup": "3.8.3-dev.
|
|
53
|
+
"@progress/kendo-vue-buttons": "3.8.3-dev.202301301503",
|
|
54
|
+
"@progress/kendo-vue-common": "3.8.3-dev.202301301503",
|
|
55
|
+
"@progress/kendo-vue-popup": "3.8.3-dev.202301301503"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@progress/kendo-data-query": "^1.5.4",
|
|
59
59
|
"@progress/kendo-licensing": "^1.3.0",
|
|
60
60
|
"@progress/kendo-svg-icons": "^1.0.0",
|
|
61
|
-
"@progress/kendo-vue-intl": "3.8.3-dev.
|
|
61
|
+
"@progress/kendo-vue-intl": "3.8.3-dev.202301301503"
|
|
62
62
|
},
|
|
63
63
|
"author": "Progress",
|
|
64
64
|
"license": "SEE LICENSE IN LICENSE.md",
|