@progress/kendo-angular-pivotgrid 24.2.0-develop.8 → 24.2.0

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.
@@ -278,7 +278,7 @@ const offset = element => {
278
278
  const matchAriaAttributes = (wrapper) => {
279
279
  const rowHeaderRows = wrapper.querySelectorAll('.k-pivotgrid-row-headers .k-pivotgrid-row');
280
280
  const rowHeaderCols = rowHeaderRows.length ?
281
- Array.from(rowHeaderRows[0]?.children)?.reduce((acc, curr) => acc += (+curr.getAttribute('colspan')), 0) : 0;
281
+ Array.from(rowHeaderRows[0]?.children || []).reduce((acc, curr) => acc + (+curr.getAttribute('colspan')), 0) : 0;
282
282
  const colHeaderRows = wrapper.querySelectorAll('.k-pivotgrid-column-headers tr');
283
283
  const colHeaderCells = wrapper.querySelectorAll('.k-pivotgrid-column-headers th');
284
284
  const valueTableCells = wrapper.querySelectorAll('.k-pivotgrid-values td');
@@ -286,8 +286,8 @@ const matchAriaAttributes = (wrapper) => {
286
286
  emptyCell.setAttribute('aria-rowspan', colHeaderRows.length.toString());
287
287
  emptyCell.setAttribute('aria-colspan', rowHeaderCols.toString());
288
288
  const firstColHeadersRow = colHeaderRows[0];
289
- const firstColHeaderRowCellsIds = Array.from(firstColHeadersRow?.children).map(el => el.getAttribute('id')).join(' ');
290
- firstColHeadersRow.setAttribute('aria-owns', `${emptyCell.getAttribute('id')} ${firstColHeaderRowCellsIds}`);
289
+ const firstColHeaderRowCellsIds = Array.from(firstColHeadersRow?.children || []).map(el => el.getAttribute('id')).join(' ');
290
+ firstColHeadersRow?.setAttribute('aria-owns', `${emptyCell.getAttribute('id')} ${firstColHeaderRowCellsIds}`);
291
291
  rowHeaderRows.forEach((row, index) => {
292
292
  const valueCellsIds = filterAndMap(Array.from(valueTableCells), c => c.getAttribute('id')?.split('-')[4] === (index + 1).toString(), c => c.getAttribute('id'));
293
293
  row.setAttribute('aria-owns', valueCellsIds.join(' '));
@@ -3868,8 +3868,8 @@ const packageMetadata = {
3868
3868
  productName: 'Kendo UI for Angular',
3869
3869
  productCode: 'KENDOUIANGULAR',
3870
3870
  productCodes: ['KENDOUIANGULAR'],
3871
- publishDate: 1782284020,
3872
- version: '24.2.0-develop.8',
3871
+ publishDate: 1782829078,
3872
+ version: '24.2.0',
3873
3873
  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'
3874
3874
  };
3875
3875
 
@@ -4191,10 +4191,10 @@ class PivotGridCellDirective {
4191
4191
  const classesToAdd = {
4192
4192
  'k-pivotgrid-header-total': this.kendoPivotGridCell?.total,
4193
4193
  'k-pivotgrid-total': this.tableType === 'values'
4194
- && (this.dataService.rowHeaderLeaves[this.rowIndex].total ||
4195
- this.dataService.columnHeaderLeaves[this.colIndex].total),
4194
+ && (this.dataService.rowHeaderLeaves?.[this.rowIndex]?.total ||
4195
+ this.dataService.columnHeaderLeaves?.[this.colIndex]?.total),
4196
4196
  'k-pivotgrid-header-root': this.kendoPivotGridCell?.levelNum === 0,
4197
- 'k-pivotgrid-expanded': this.kendoPivotGridCell?.hasChildren && this.kendoPivotGridCell.children.length,
4197
+ 'k-pivotgrid-expanded': this.kendoPivotGridCell?.hasChildren && this.kendoPivotGridCell?.children?.length,
4198
4198
  'k-first': this.colIndex > 0
4199
4199
  };
4200
4200
  for (const prop in classesToAdd) {
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1782284020,
11
- "version": "24.2.0-develop.8",
10
+ "publishDate": 1782829078,
11
+ "version": "24.2.0",
12
12
  "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"
13
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-pivotgrid",
3
- "version": "24.2.0-develop.8",
3
+ "version": "24.2.0",
4
4
  "description": "PivotGrid package for Angular",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -18,7 +18,7 @@
18
18
  "package": {
19
19
  "productName": "Kendo UI for Angular",
20
20
  "productCode": "KENDOUIANGULAR",
21
- "publishDate": 1782284020,
21
+ "publishDate": 1782829078,
22
22
  "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"
23
23
  }
24
24
  },
@@ -31,21 +31,21 @@
31
31
  "@progress/kendo-data-query": "^1.7.3",
32
32
  "@progress/kendo-drawing": "^1.25.0",
33
33
  "@progress/kendo-licensing": "^1.11.0",
34
- "@progress/kendo-angular-buttons": "24.2.0-develop.8",
35
- "@progress/kendo-angular-common": "24.2.0-develop.8",
36
- "@progress/kendo-angular-dropdowns": "24.2.0-develop.8",
37
- "@progress/kendo-angular-indicators": "24.2.0-develop.8",
38
- "@progress/kendo-angular-inputs": "24.2.0-develop.8",
39
- "@progress/kendo-angular-intl": "24.2.0-develop.8",
40
- "@progress/kendo-angular-l10n": "24.2.0-develop.8",
41
- "@progress/kendo-angular-popup": "24.2.0-develop.8",
42
- "@progress/kendo-angular-icons": "24.2.0-develop.8",
43
- "@progress/kendo-angular-treeview": "24.2.0-develop.8",
34
+ "@progress/kendo-angular-buttons": "24.2.0",
35
+ "@progress/kendo-angular-common": "24.2.0",
36
+ "@progress/kendo-angular-dropdowns": "24.2.0",
37
+ "@progress/kendo-angular-indicators": "24.2.0",
38
+ "@progress/kendo-angular-inputs": "24.2.0",
39
+ "@progress/kendo-angular-intl": "24.2.0",
40
+ "@progress/kendo-angular-l10n": "24.2.0",
41
+ "@progress/kendo-angular-popup": "24.2.0",
42
+ "@progress/kendo-angular-icons": "24.2.0",
43
+ "@progress/kendo-angular-treeview": "24.2.0",
44
44
  "rxjs": "^6.5.3 || ^7.0.0"
45
45
  },
46
46
  "dependencies": {
47
47
  "tslib": "^2.3.1",
48
- "@progress/kendo-angular-schematics": "24.2.0-develop.8",
48
+ "@progress/kendo-angular-schematics": "24.2.0",
49
49
  "@progress/kendo-pivotgrid-common": "0.6.3"
50
50
  },
51
51
  "schematics": "./schematics/collection.json",
@@ -11,11 +11,11 @@ function default_1(options) {
11
11
  // Additional dependencies to install.
12
12
  // See https://github.com/telerik/kendo-schematics/issues/28
13
13
  peerDependencies: {
14
- '@progress/kendo-angular-dialog': '24.2.0-develop.8',
14
+ '@progress/kendo-angular-dialog': '24.2.0',
15
15
  // peer dep of the icons
16
16
  '@progress/kendo-svg-icons': '^4.0.0',
17
17
  // peer dep of the dropdowns
18
- '@progress/kendo-angular-navigation': '24.2.0-develop.8'
18
+ '@progress/kendo-angular-navigation': '24.2.0'
19
19
  } });
20
20
  return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
21
21
  }