@progress/kendo-angular-treeview 5.4.0 → 5.4.2-dev.202111011443
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-treeview.js +12 -12
- package/dist/cdn/main.js +1 -1
- package/dist/es/expand.directive.js +1 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/treeview-group.component.js +1 -1
- package/dist/es/treeview.component.js +1 -1
- package/dist/es2015/expand.directive.js +1 -1
- package/dist/es2015/package-metadata.js +1 -1
- package/dist/es2015/treeview-group.component.js +1 -1
- package/dist/es2015/treeview.component.js +1 -1
- package/dist/fesm2015/index.js +4 -4
- package/dist/fesm5/index.js +4 -4
- package/dist/npm/expand.directive.js +1 -1
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/treeview-group.component.js +1 -1
- package/dist/npm/treeview.component.js +1 -1
- package/dist/systemjs/kendo-angular-treeview.js +1 -1
- package/package.json +5 -5
|
@@ -9,7 +9,7 @@ export var packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-treeview',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1635777660,
|
|
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
|
};
|
|
@@ -47,7 +47,7 @@ var TreeViewGroupComponent = /** @class */ (function () {
|
|
|
47
47
|
}
|
|
48
48
|
Object.defineProperty(TreeViewGroupComponent.prototype, "moreNodesAvailable", {
|
|
49
49
|
get: function () {
|
|
50
|
-
if (!isPresent(this.loadMoreService)) {
|
|
50
|
+
if (!isPresent(this.loadMoreService) || this.data.length === 0) {
|
|
51
51
|
return false;
|
|
52
52
|
}
|
|
53
53
|
return this.pageSize < this.totalNodesCount;
|
|
@@ -283,8 +283,8 @@ var TreeViewComponent = /** @class */ (function () {
|
|
|
283
283
|
* ([see example]({% slug databinding_treeview %})).
|
|
284
284
|
*/
|
|
285
285
|
set: function (value) {
|
|
286
|
+
this.data.next(value || []);
|
|
286
287
|
this.dataChangeNotification.notify();
|
|
287
|
-
this.data.next(value);
|
|
288
288
|
},
|
|
289
289
|
enumerable: true,
|
|
290
290
|
configurable: true
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-treeview',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1635777660,
|
|
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
|
};
|
|
@@ -46,7 +46,7 @@ let TreeViewGroupComponent = class TreeViewGroupComponent {
|
|
|
46
46
|
this.hasChildren = () => false;
|
|
47
47
|
}
|
|
48
48
|
get moreNodesAvailable() {
|
|
49
|
-
if (!isPresent(this.loadMoreService)) {
|
|
49
|
+
if (!isPresent(this.loadMoreService) || this.data.length === 0) {
|
|
50
50
|
return false;
|
|
51
51
|
}
|
|
52
52
|
return this.pageSize < this.totalNodesCount;
|
|
@@ -262,8 +262,8 @@ let TreeViewComponent = class TreeViewComponent {
|
|
|
262
262
|
* ([see example]({% slug databinding_treeview %})).
|
|
263
263
|
*/
|
|
264
264
|
set nodes(value) {
|
|
265
|
+
this.data.next(value || []);
|
|
265
266
|
this.dataChangeNotification.notify();
|
|
266
|
-
this.data.next(value);
|
|
267
267
|
}
|
|
268
268
|
get nodes() {
|
|
269
269
|
return this.data.value;
|
package/dist/fesm2015/index.js
CHANGED
|
@@ -22,7 +22,7 @@ const packageMetadata = {
|
|
|
22
22
|
name: '@progress/kendo-angular-treeview',
|
|
23
23
|
productName: 'Kendo UI for Angular',
|
|
24
24
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
25
|
-
publishDate:
|
|
25
|
+
publishDate: 1635777660,
|
|
26
26
|
version: '',
|
|
27
27
|
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'
|
|
28
28
|
};
|
|
@@ -1255,8 +1255,8 @@ let TreeViewComponent = class TreeViewComponent {
|
|
|
1255
1255
|
* ([see example]({% slug databinding_treeview %})).
|
|
1256
1256
|
*/
|
|
1257
1257
|
set nodes(value) {
|
|
1258
|
+
this.data.next(value || []);
|
|
1258
1259
|
this.dataChangeNotification.notify();
|
|
1259
|
-
this.data.next(value);
|
|
1260
1260
|
}
|
|
1261
1261
|
get nodes() {
|
|
1262
1262
|
return this.data.value;
|
|
@@ -1812,7 +1812,7 @@ let TreeViewGroupComponent = class TreeViewGroupComponent {
|
|
|
1812
1812
|
this.hasChildren = () => false;
|
|
1813
1813
|
}
|
|
1814
1814
|
get moreNodesAvailable() {
|
|
1815
|
-
if (!isPresent(this.loadMoreService)) {
|
|
1815
|
+
if (!isPresent(this.loadMoreService) || this.data.length === 0) {
|
|
1816
1816
|
return false;
|
|
1817
1817
|
}
|
|
1818
1818
|
return this.pageSize < this.totalNodesCount;
|
|
@@ -2637,7 +2637,7 @@ let ExpandDirective = class ExpandDirective {
|
|
|
2637
2637
|
return this._expandedKeys;
|
|
2638
2638
|
}
|
|
2639
2639
|
set expandedKeys(keys) {
|
|
2640
|
-
this._expandedKeys =
|
|
2640
|
+
this._expandedKeys = keys;
|
|
2641
2641
|
}
|
|
2642
2642
|
ngOnDestroy() {
|
|
2643
2643
|
this.subscriptions.unsubscribe();
|
package/dist/fesm5/index.js
CHANGED
|
@@ -22,7 +22,7 @@ var packageMetadata = {
|
|
|
22
22
|
name: '@progress/kendo-angular-treeview',
|
|
23
23
|
productName: 'Kendo UI for Angular',
|
|
24
24
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
25
|
-
publishDate:
|
|
25
|
+
publishDate: 1635777660,
|
|
26
26
|
version: '',
|
|
27
27
|
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'
|
|
28
28
|
};
|
|
@@ -1312,8 +1312,8 @@ var TreeViewComponent = /** @class */ (function () {
|
|
|
1312
1312
|
* ([see example]({% slug databinding_treeview %})).
|
|
1313
1313
|
*/
|
|
1314
1314
|
set: function (value) {
|
|
1315
|
+
this.data.next(value || []);
|
|
1315
1316
|
this.dataChangeNotification.notify();
|
|
1316
|
-
this.data.next(value);
|
|
1317
1317
|
},
|
|
1318
1318
|
enumerable: true,
|
|
1319
1319
|
configurable: true
|
|
@@ -1866,7 +1866,7 @@ var TreeViewGroupComponent = /** @class */ (function () {
|
|
|
1866
1866
|
}
|
|
1867
1867
|
Object.defineProperty(TreeViewGroupComponent.prototype, "moreNodesAvailable", {
|
|
1868
1868
|
get: function () {
|
|
1869
|
-
if (!isPresent(this.loadMoreService)) {
|
|
1869
|
+
if (!isPresent(this.loadMoreService) || this.data.length === 0) {
|
|
1870
1870
|
return false;
|
|
1871
1871
|
}
|
|
1872
1872
|
return this.pageSize < this.totalNodesCount;
|
|
@@ -2634,7 +2634,7 @@ var ExpandDirective = /** @class */ (function () {
|
|
|
2634
2634
|
return this._expandedKeys;
|
|
2635
2635
|
},
|
|
2636
2636
|
set: function (keys) {
|
|
2637
|
-
this._expandedKeys =
|
|
2637
|
+
this._expandedKeys = keys;
|
|
2638
2638
|
},
|
|
2639
2639
|
enumerable: true,
|
|
2640
2640
|
configurable: true
|
|
@@ -11,7 +11,7 @@ exports.packageMetadata = {
|
|
|
11
11
|
name: '@progress/kendo-angular-treeview',
|
|
12
12
|
productName: 'Kendo UI for Angular',
|
|
13
13
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
14
|
-
publishDate:
|
|
14
|
+
publishDate: 1635777660,
|
|
15
15
|
version: '',
|
|
16
16
|
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'
|
|
17
17
|
};
|
|
@@ -49,7 +49,7 @@ var TreeViewGroupComponent = /** @class */ (function () {
|
|
|
49
49
|
}
|
|
50
50
|
Object.defineProperty(TreeViewGroupComponent.prototype, "moreNodesAvailable", {
|
|
51
51
|
get: function () {
|
|
52
|
-
if (!utils_1.isPresent(this.loadMoreService)) {
|
|
52
|
+
if (!utils_1.isPresent(this.loadMoreService) || this.data.length === 0) {
|
|
53
53
|
return false;
|
|
54
54
|
}
|
|
55
55
|
return this.pageSize < this.totalNodesCount;
|
|
@@ -285,8 +285,8 @@ var TreeViewComponent = /** @class */ (function () {
|
|
|
285
285
|
* ([see example]({% slug databinding_treeview %})).
|
|
286
286
|
*/
|
|
287
287
|
set: function (value) {
|
|
288
|
+
this.data.next(value || []);
|
|
288
289
|
this.dataChangeNotification.notify();
|
|
289
|
-
this.data.next(value);
|
|
290
290
|
},
|
|
291
291
|
enumerable: true,
|
|
292
292
|
configurable: true
|