@progress/kendo-angular-layout 19.2.0-develop.1 → 19.2.0-develop.11
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.
@@ -10,7 +10,7 @@ export const packageMetadata = {
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
11
11
|
productCode: 'KENDOUIANGULAR',
|
12
12
|
productCodes: ['KENDOUIANGULAR'],
|
13
|
-
publishDate:
|
14
|
-
version: '19.2.0-develop.
|
13
|
+
publishDate: 1751367213,
|
14
|
+
version: '19.2.0-develop.11',
|
15
15
|
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'
|
16
16
|
};
|
@@ -327,24 +327,34 @@ export class PanelBarComponent {
|
|
327
327
|
}
|
328
328
|
const modifiedItems = new Array();
|
329
329
|
const selectPreventedItems = [];
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
330
|
+
let isSelectPrevented = false;
|
331
|
+
if (this.selectable && !item.selected) {
|
332
|
+
isSelectPrevented = this.emitEvent('select', item).isDefaultPrevented();
|
333
|
+
}
|
334
|
+
if (!isSelectPrevented) {
|
335
|
+
this.allItems.forEach((currentItem) => {
|
336
|
+
let selectedState = currentItem === item;
|
337
|
+
const focusedState = selectedState;
|
338
|
+
selectedState = this.selectable ? selectedState : currentItem.selected;
|
339
|
+
if (currentItem.selected !== selectedState || currentItem.focused !== focusedState) {
|
338
340
|
currentItem.selected = selectedState;
|
339
341
|
currentItem.focused = focusedState;
|
340
342
|
this.activeDescendant = focusedState ? currentItem.itemId : '';
|
341
343
|
modifiedItems.push(currentItem);
|
342
344
|
}
|
343
|
-
|
344
|
-
|
345
|
+
});
|
346
|
+
}
|
347
|
+
else {
|
348
|
+
selectPreventedItems.push(item);
|
349
|
+
this.allItems.forEach((currentItem) => {
|
350
|
+
const focusedState = currentItem === item;
|
351
|
+
if (currentItem.focused !== focusedState) {
|
352
|
+
currentItem.focused = focusedState;
|
353
|
+
this.activeDescendant = focusedState ? currentItem.itemId : '';
|
354
|
+
modifiedItems.push(currentItem);
|
345
355
|
}
|
346
|
-
}
|
347
|
-
}
|
356
|
+
});
|
357
|
+
}
|
348
358
|
if (this.expandMode === PanelBarExpandMode.Multiple) {
|
349
359
|
if ((item.hasChildItems || item.hasContent) && !selectPreventedItems.includes(item)) {
|
350
360
|
const isEventPrevented = item.expanded ?
|
@@ -454,6 +464,9 @@ export class PanelBarComponent {
|
|
454
464
|
}
|
455
465
|
}
|
456
466
|
moveFocus(from, to) {
|
467
|
+
if (!from || !to) {
|
468
|
+
return;
|
469
|
+
}
|
457
470
|
from.focused = false;
|
458
471
|
to.focused = true;
|
459
472
|
this.activeDescendant = to.itemId;
|
@@ -29,8 +29,8 @@ const packageMetadata = {
|
|
29
29
|
productName: 'Kendo UI for Angular',
|
30
30
|
productCode: 'KENDOUIANGULAR',
|
31
31
|
productCodes: ['KENDOUIANGULAR'],
|
32
|
-
publishDate:
|
33
|
-
version: '19.2.0-develop.
|
32
|
+
publishDate: 1751367213,
|
33
|
+
version: '19.2.0-develop.11',
|
34
34
|
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'
|
35
35
|
};
|
36
36
|
|
@@ -1387,24 +1387,34 @@ class PanelBarComponent {
|
|
1387
1387
|
}
|
1388
1388
|
const modifiedItems = new Array();
|
1389
1389
|
const selectPreventedItems = [];
|
1390
|
-
|
1391
|
-
|
1392
|
-
|
1393
|
-
|
1394
|
-
|
1395
|
-
|
1396
|
-
|
1397
|
-
|
1390
|
+
let isSelectPrevented = false;
|
1391
|
+
if (this.selectable && !item.selected) {
|
1392
|
+
isSelectPrevented = this.emitEvent('select', item).isDefaultPrevented();
|
1393
|
+
}
|
1394
|
+
if (!isSelectPrevented) {
|
1395
|
+
this.allItems.forEach((currentItem) => {
|
1396
|
+
let selectedState = currentItem === item;
|
1397
|
+
const focusedState = selectedState;
|
1398
|
+
selectedState = this.selectable ? selectedState : currentItem.selected;
|
1399
|
+
if (currentItem.selected !== selectedState || currentItem.focused !== focusedState) {
|
1398
1400
|
currentItem.selected = selectedState;
|
1399
1401
|
currentItem.focused = focusedState;
|
1400
1402
|
this.activeDescendant = focusedState ? currentItem.itemId : '';
|
1401
1403
|
modifiedItems.push(currentItem);
|
1402
1404
|
}
|
1403
|
-
|
1404
|
-
|
1405
|
+
});
|
1406
|
+
}
|
1407
|
+
else {
|
1408
|
+
selectPreventedItems.push(item);
|
1409
|
+
this.allItems.forEach((currentItem) => {
|
1410
|
+
const focusedState = currentItem === item;
|
1411
|
+
if (currentItem.focused !== focusedState) {
|
1412
|
+
currentItem.focused = focusedState;
|
1413
|
+
this.activeDescendant = focusedState ? currentItem.itemId : '';
|
1414
|
+
modifiedItems.push(currentItem);
|
1405
1415
|
}
|
1406
|
-
}
|
1407
|
-
}
|
1416
|
+
});
|
1417
|
+
}
|
1408
1418
|
if (this.expandMode === PanelBarExpandMode.Multiple) {
|
1409
1419
|
if ((item.hasChildItems || item.hasContent) && !selectPreventedItems.includes(item)) {
|
1410
1420
|
const isEventPrevented = item.expanded ?
|
@@ -1514,6 +1524,9 @@ class PanelBarComponent {
|
|
1514
1524
|
}
|
1515
1525
|
}
|
1516
1526
|
moveFocus(from, to) {
|
1527
|
+
if (!from || !to) {
|
1528
|
+
return;
|
1529
|
+
}
|
1517
1530
|
from.focused = false;
|
1518
1531
|
to.focused = true;
|
1519
1532
|
this.activeDescendant = to.itemId;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@progress/kendo-angular-layout",
|
3
|
-
"version": "19.2.0-develop.
|
3
|
+
"version": "19.2.0-develop.11",
|
4
4
|
"description": "Kendo UI for Angular Layout Package - a collection of components to create professional application layoyts",
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
6
6
|
"author": "Progress",
|
@@ -50,7 +50,7 @@
|
|
50
50
|
"package": {
|
51
51
|
"productName": "Kendo UI for Angular",
|
52
52
|
"productCode": "KENDOUIANGULAR",
|
53
|
-
"publishDate":
|
53
|
+
"publishDate": 1751367213,
|
54
54
|
"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"
|
55
55
|
}
|
56
56
|
},
|
@@ -60,17 +60,17 @@
|
|
60
60
|
"@angular/core": "16 - 20",
|
61
61
|
"@angular/platform-browser": "16 - 20",
|
62
62
|
"@progress/kendo-licensing": "^1.5.0",
|
63
|
-
"@progress/kendo-angular-common": "19.2.0-develop.
|
64
|
-
"@progress/kendo-angular-l10n": "19.2.0-develop.
|
65
|
-
"@progress/kendo-angular-progressbar": "19.2.0-develop.
|
66
|
-
"@progress/kendo-angular-icons": "19.2.0-develop.
|
67
|
-
"@progress/kendo-angular-buttons": "19.2.0-develop.
|
68
|
-
"@progress/kendo-angular-intl": "19.2.0-develop.
|
63
|
+
"@progress/kendo-angular-common": "19.2.0-develop.11",
|
64
|
+
"@progress/kendo-angular-l10n": "19.2.0-develop.11",
|
65
|
+
"@progress/kendo-angular-progressbar": "19.2.0-develop.11",
|
66
|
+
"@progress/kendo-angular-icons": "19.2.0-develop.11",
|
67
|
+
"@progress/kendo-angular-buttons": "19.2.0-develop.11",
|
68
|
+
"@progress/kendo-angular-intl": "19.2.0-develop.11",
|
69
69
|
"rxjs": "^6.5.3 || ^7.0.0"
|
70
70
|
},
|
71
71
|
"dependencies": {
|
72
72
|
"tslib": "^2.3.1",
|
73
|
-
"@progress/kendo-angular-schematics": "19.2.0-develop.
|
73
|
+
"@progress/kendo-angular-schematics": "19.2.0-develop.11",
|
74
74
|
"@progress/kendo-draggable": "^3.0.2",
|
75
75
|
"node-html-parser": "^7.0.1"
|
76
76
|
},
|