@progress/kendo-angular-treelist 5.0.0 → 5.0.2-dev.202205261550
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.
|
@@ -28,11 +28,17 @@ const identity = item => item;
|
|
|
28
28
|
function loadView(view, subject) {
|
|
29
29
|
view.loadData();
|
|
30
30
|
if (view.loading) {
|
|
31
|
+
// Wait for view to load and fetch children.
|
|
31
32
|
view.dataLoaded.pipe(take(1)).subscribe(() => {
|
|
32
33
|
loadView(view, subject);
|
|
33
34
|
});
|
|
34
35
|
}
|
|
36
|
+
else if (!view._data) {
|
|
37
|
+
// Fetch children if root items are resolved immediately.
|
|
38
|
+
loadView(view, subject);
|
|
39
|
+
}
|
|
35
40
|
else {
|
|
41
|
+
// Data loaded.
|
|
36
42
|
subject.next(view);
|
|
37
43
|
}
|
|
38
44
|
}
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-treelist',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1653580154,
|
|
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
|
};
|
|
@@ -88,15 +88,16 @@ PagerNumericButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0
|
|
|
88
88
|
PagerNumericButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: PagerNumericButtonsComponent, selector: "kendo-treelist-pager-numeric-buttons", inputs: { buttonCount: "buttonCount" }, host: { properties: { "class.k-pager-numbers-wrap": "this.numbersWrapClass" } }, usesInheritance: true, ngImport: i0, template: `
|
|
89
89
|
<select
|
|
90
90
|
class="k-dropdown"
|
|
91
|
-
[value]="(currentPage).toString()"
|
|
92
91
|
(change)="onSelectChange($event)">
|
|
93
92
|
<option *ngIf="start > 1"
|
|
94
93
|
class="k-link"
|
|
95
94
|
value="previousButtons"
|
|
95
|
+
[selected]="false"
|
|
96
96
|
[attr.aria-label]="pageLabel(start - 1)">...
|
|
97
97
|
</option>
|
|
98
98
|
<option *ngFor="let num of buttons"
|
|
99
99
|
[value]="num.toString()"
|
|
100
|
+
[selected]="num === currentPage"
|
|
100
101
|
[attr.aria-label]="pageLabel(num)"
|
|
101
102
|
[attr.aria-current]="currentPage === num ? 'page' : undefined"
|
|
102
103
|
[ngClass]="{'k-link': true, 'k-state-selected':currentPage === num}">
|
|
@@ -105,6 +106,7 @@ PagerNumericButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
105
106
|
<option *ngIf="end < totalPages"
|
|
106
107
|
value="nextButtons"
|
|
107
108
|
class="k-link"
|
|
109
|
+
[selected]="false"
|
|
108
110
|
[attr.aria-label]="pageLabel(end + 1)">...
|
|
109
111
|
</option>
|
|
110
112
|
</select>
|
|
@@ -142,15 +144,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
142
144
|
template: `
|
|
143
145
|
<select
|
|
144
146
|
class="k-dropdown"
|
|
145
|
-
[value]="(currentPage).toString()"
|
|
146
147
|
(change)="onSelectChange($event)">
|
|
147
148
|
<option *ngIf="start > 1"
|
|
148
149
|
class="k-link"
|
|
149
150
|
value="previousButtons"
|
|
151
|
+
[selected]="false"
|
|
150
152
|
[attr.aria-label]="pageLabel(start - 1)">...
|
|
151
153
|
</option>
|
|
152
154
|
<option *ngFor="let num of buttons"
|
|
153
155
|
[value]="num.toString()"
|
|
156
|
+
[selected]="num === currentPage"
|
|
154
157
|
[attr.aria-label]="pageLabel(num)"
|
|
155
158
|
[attr.aria-current]="currentPage === num ? 'page' : undefined"
|
|
156
159
|
[ngClass]="{'k-link': true, 'k-state-selected':currentPage === num}">
|
|
@@ -159,6 +162,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
159
162
|
<option *ngIf="end < totalPages"
|
|
160
163
|
value="nextButtons"
|
|
161
164
|
class="k-link"
|
|
165
|
+
[selected]="false"
|
|
162
166
|
[attr.aria-label]="pageLabel(end + 1)">...
|
|
163
167
|
</option>
|
|
164
168
|
</select>
|
|
@@ -42,7 +42,7 @@ const packageMetadata = {
|
|
|
42
42
|
name: '@progress/kendo-angular-treelist',
|
|
43
43
|
productName: 'Kendo UI for Angular',
|
|
44
44
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
45
|
-
publishDate:
|
|
45
|
+
publishDate: 1653580154,
|
|
46
46
|
version: '',
|
|
47
47
|
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'
|
|
48
48
|
};
|
|
@@ -1297,11 +1297,17 @@ const identity$1 = item => item;
|
|
|
1297
1297
|
function loadView(view, subject) {
|
|
1298
1298
|
view.loadData();
|
|
1299
1299
|
if (view.loading) {
|
|
1300
|
+
// Wait for view to load and fetch children.
|
|
1300
1301
|
view.dataLoaded.pipe(take(1)).subscribe(() => {
|
|
1301
1302
|
loadView(view, subject);
|
|
1302
1303
|
});
|
|
1303
1304
|
}
|
|
1305
|
+
else if (!view._data) {
|
|
1306
|
+
// Fetch children if root items are resolved immediately.
|
|
1307
|
+
loadView(view, subject);
|
|
1308
|
+
}
|
|
1304
1309
|
else {
|
|
1310
|
+
// Data loaded.
|
|
1305
1311
|
subject.next(view);
|
|
1306
1312
|
}
|
|
1307
1313
|
}
|
|
@@ -12368,15 +12374,16 @@ PagerNumericButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0
|
|
|
12368
12374
|
PagerNumericButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: PagerNumericButtonsComponent, selector: "kendo-treelist-pager-numeric-buttons", inputs: { buttonCount: "buttonCount" }, host: { properties: { "class.k-pager-numbers-wrap": "this.numbersWrapClass" } }, usesInheritance: true, ngImport: i0, template: `
|
|
12369
12375
|
<select
|
|
12370
12376
|
class="k-dropdown"
|
|
12371
|
-
[value]="(currentPage).toString()"
|
|
12372
12377
|
(change)="onSelectChange($event)">
|
|
12373
12378
|
<option *ngIf="start > 1"
|
|
12374
12379
|
class="k-link"
|
|
12375
12380
|
value="previousButtons"
|
|
12381
|
+
[selected]="false"
|
|
12376
12382
|
[attr.aria-label]="pageLabel(start - 1)">...
|
|
12377
12383
|
</option>
|
|
12378
12384
|
<option *ngFor="let num of buttons"
|
|
12379
12385
|
[value]="num.toString()"
|
|
12386
|
+
[selected]="num === currentPage"
|
|
12380
12387
|
[attr.aria-label]="pageLabel(num)"
|
|
12381
12388
|
[attr.aria-current]="currentPage === num ? 'page' : undefined"
|
|
12382
12389
|
[ngClass]="{'k-link': true, 'k-state-selected':currentPage === num}">
|
|
@@ -12385,6 +12392,7 @@ PagerNumericButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
12385
12392
|
<option *ngIf="end < totalPages"
|
|
12386
12393
|
value="nextButtons"
|
|
12387
12394
|
class="k-link"
|
|
12395
|
+
[selected]="false"
|
|
12388
12396
|
[attr.aria-label]="pageLabel(end + 1)">...
|
|
12389
12397
|
</option>
|
|
12390
12398
|
</select>
|
|
@@ -12422,15 +12430,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
12422
12430
|
template: `
|
|
12423
12431
|
<select
|
|
12424
12432
|
class="k-dropdown"
|
|
12425
|
-
[value]="(currentPage).toString()"
|
|
12426
12433
|
(change)="onSelectChange($event)">
|
|
12427
12434
|
<option *ngIf="start > 1"
|
|
12428
12435
|
class="k-link"
|
|
12429
12436
|
value="previousButtons"
|
|
12437
|
+
[selected]="false"
|
|
12430
12438
|
[attr.aria-label]="pageLabel(start - 1)">...
|
|
12431
12439
|
</option>
|
|
12432
12440
|
<option *ngFor="let num of buttons"
|
|
12433
12441
|
[value]="num.toString()"
|
|
12442
|
+
[selected]="num === currentPage"
|
|
12434
12443
|
[attr.aria-label]="pageLabel(num)"
|
|
12435
12444
|
[attr.aria-current]="currentPage === num ? 'page' : undefined"
|
|
12436
12445
|
[ngClass]="{'k-link': true, 'k-state-selected':currentPage === num}">
|
|
@@ -12439,6 +12448,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
12439
12448
|
<option *ngIf="end < totalPages"
|
|
12440
12449
|
value="nextButtons"
|
|
12441
12450
|
class="k-link"
|
|
12451
|
+
[selected]="false"
|
|
12442
12452
|
[attr.aria-label]="pageLabel(end + 1)">...
|
|
12443
12453
|
</option>
|
|
12444
12454
|
</select>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-treelist",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.2-dev.202205261550",
|
|
4
4
|
"description": "Kendo UI TreeList for Angular - Display hierarchical data in an Angular tree grid view that supports sorting, filtering, paging, and much more.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|