@progress/kendo-angular-pivotgrid 14.1.1-develop.3 → 14.1.1-develop.4
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/esm2020/data-binding/local-binding.directive.mjs +2 -2
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/util.mjs +2 -1
- package/fesm2015/progress-kendo-angular-pivotgrid.mjs +7 -6
- package/fesm2020/progress-kendo-angular-pivotgrid.mjs +6 -5
- package/package.json +13 -13
- package/schematics/ngAdd/index.js +1 -1
|
@@ -41,8 +41,8 @@ export class PivotLocalBindingDirective extends PivotBaseBindingDirective {
|
|
|
41
41
|
const { columnAxes, rowAxes, measureAxes, sort, filter } = state;
|
|
42
42
|
const rootColumnAxes = this.getRootAxes(columnAxes);
|
|
43
43
|
const rootRowAxes = this.getRootAxes(rowAxes);
|
|
44
|
-
const columnSettings = rootColumnAxes.split(stringSeparator).map(this.createAxisSettings);
|
|
45
|
-
const rowSettings = rootRowAxes.split(stringSeparator).map(this.createAxisSettings);
|
|
44
|
+
const columnSettings = rootColumnAxes ? rootColumnAxes.split(stringSeparator).map(this.createAxisSettings) : [];
|
|
45
|
+
const rowSettings = rootRowAxes ? rootRowAxes.split(stringSeparator).map(this.createAxisSettings) : [];
|
|
46
46
|
const measuresSettings = measureAxes.map(m => this.measures.find(meas => String(meas.name) === String(m.name))).filter(Boolean);
|
|
47
47
|
const dataTree = createDataTree(this.data, rowSettings, columnSettings, measuresSettings, bindingFields, filter);
|
|
48
48
|
this.dataState = createLocalDataState({
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-pivotgrid',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '14.1.1-develop.
|
|
12
|
+
publishDate: 1700050075,
|
|
13
|
+
version: '14.1.1-develop.4',
|
|
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
|
};
|
package/esm2020/util.mjs
CHANGED
|
@@ -98,7 +98,8 @@ export const offset = element => {
|
|
|
98
98
|
*/
|
|
99
99
|
export const matchAriaAttributes = (wrapper) => {
|
|
100
100
|
const rowHeaderRows = wrapper.querySelectorAll('.k-pivotgrid-row-headers .k-pivotgrid-row');
|
|
101
|
-
const rowHeaderCols =
|
|
101
|
+
const rowHeaderCols = rowHeaderRows.length ?
|
|
102
|
+
Array.from(rowHeaderRows[0]?.children)?.reduce((acc, curr) => acc += (+curr.getAttribute('colspan')), 0) : 0;
|
|
102
103
|
const colHeaderRows = wrapper.querySelectorAll('.k-pivotgrid-column-headers tr');
|
|
103
104
|
const colHeaderCells = wrapper.querySelectorAll('.k-pivotgrid-column-headers th');
|
|
104
105
|
const valueTableCells = wrapper.querySelectorAll('.k-pivotgrid-values td');
|
|
@@ -41,8 +41,8 @@ const packageMetadata = {
|
|
|
41
41
|
name: '@progress/kendo-angular-pivotgrid',
|
|
42
42
|
productName: 'Kendo UI for Angular',
|
|
43
43
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
44
|
-
publishDate:
|
|
45
|
-
version: '14.1.1-develop.
|
|
44
|
+
publishDate: 1700050075,
|
|
45
|
+
version: '14.1.1-develop.4',
|
|
46
46
|
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'
|
|
47
47
|
};
|
|
48
48
|
|
|
@@ -141,9 +141,10 @@ const offset = element => {
|
|
|
141
141
|
* @hidden
|
|
142
142
|
*/
|
|
143
143
|
const matchAriaAttributes = (wrapper) => {
|
|
144
|
-
var _a;
|
|
144
|
+
var _a, _b;
|
|
145
145
|
const rowHeaderRows = wrapper.querySelectorAll('.k-pivotgrid-row-headers .k-pivotgrid-row');
|
|
146
|
-
const rowHeaderCols =
|
|
146
|
+
const rowHeaderCols = rowHeaderRows.length ?
|
|
147
|
+
(_b = Array.from((_a = rowHeaderRows[0]) === null || _a === void 0 ? void 0 : _a.children)) === null || _b === void 0 ? void 0 : _b.reduce((acc, curr) => acc += (+curr.getAttribute('colspan')), 0) : 0;
|
|
147
148
|
const colHeaderRows = wrapper.querySelectorAll('.k-pivotgrid-column-headers tr');
|
|
148
149
|
const colHeaderCells = wrapper.querySelectorAll('.k-pivotgrid-column-headers th');
|
|
149
150
|
const valueTableCells = wrapper.querySelectorAll('.k-pivotgrid-values td');
|
|
@@ -3885,8 +3886,8 @@ class PivotLocalBindingDirective extends PivotBaseBindingDirective {
|
|
|
3885
3886
|
const { columnAxes, rowAxes, measureAxes, sort, filter } = state;
|
|
3886
3887
|
const rootColumnAxes = this.getRootAxes(columnAxes);
|
|
3887
3888
|
const rootRowAxes = this.getRootAxes(rowAxes);
|
|
3888
|
-
const columnSettings = rootColumnAxes.split(stringSeparator).map(this.createAxisSettings);
|
|
3889
|
-
const rowSettings = rootRowAxes.split(stringSeparator).map(this.createAxisSettings);
|
|
3889
|
+
const columnSettings = rootColumnAxes ? rootColumnAxes.split(stringSeparator).map(this.createAxisSettings) : [];
|
|
3890
|
+
const rowSettings = rootRowAxes ? rootRowAxes.split(stringSeparator).map(this.createAxisSettings) : [];
|
|
3890
3891
|
const measuresSettings = measureAxes.map(m => this.measures.find(meas => String(meas.name) === String(m.name))).filter(Boolean);
|
|
3891
3892
|
const dataTree = createDataTree(this.data, rowSettings, columnSettings, measuresSettings, bindingFields, filter);
|
|
3892
3893
|
this.dataState = createLocalDataState({
|
|
@@ -40,8 +40,8 @@ const packageMetadata = {
|
|
|
40
40
|
name: '@progress/kendo-angular-pivotgrid',
|
|
41
41
|
productName: 'Kendo UI for Angular',
|
|
42
42
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
43
|
-
publishDate:
|
|
44
|
-
version: '14.1.1-develop.
|
|
43
|
+
publishDate: 1700050075,
|
|
44
|
+
version: '14.1.1-develop.4',
|
|
45
45
|
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'
|
|
46
46
|
};
|
|
47
47
|
|
|
@@ -141,7 +141,8 @@ const offset = element => {
|
|
|
141
141
|
*/
|
|
142
142
|
const matchAriaAttributes = (wrapper) => {
|
|
143
143
|
const rowHeaderRows = wrapper.querySelectorAll('.k-pivotgrid-row-headers .k-pivotgrid-row');
|
|
144
|
-
const rowHeaderCols =
|
|
144
|
+
const rowHeaderCols = rowHeaderRows.length ?
|
|
145
|
+
Array.from(rowHeaderRows[0]?.children)?.reduce((acc, curr) => acc += (+curr.getAttribute('colspan')), 0) : 0;
|
|
145
146
|
const colHeaderRows = wrapper.querySelectorAll('.k-pivotgrid-column-headers tr');
|
|
146
147
|
const colHeaderCells = wrapper.querySelectorAll('.k-pivotgrid-column-headers th');
|
|
147
148
|
const valueTableCells = wrapper.querySelectorAll('.k-pivotgrid-values td');
|
|
@@ -3867,8 +3868,8 @@ class PivotLocalBindingDirective extends PivotBaseBindingDirective {
|
|
|
3867
3868
|
const { columnAxes, rowAxes, measureAxes, sort, filter } = state;
|
|
3868
3869
|
const rootColumnAxes = this.getRootAxes(columnAxes);
|
|
3869
3870
|
const rootRowAxes = this.getRootAxes(rowAxes);
|
|
3870
|
-
const columnSettings = rootColumnAxes.split(stringSeparator).map(this.createAxisSettings);
|
|
3871
|
-
const rowSettings = rootRowAxes.split(stringSeparator).map(this.createAxisSettings);
|
|
3871
|
+
const columnSettings = rootColumnAxes ? rootColumnAxes.split(stringSeparator).map(this.createAxisSettings) : [];
|
|
3872
|
+
const rowSettings = rootRowAxes ? rootRowAxes.split(stringSeparator).map(this.createAxisSettings) : [];
|
|
3872
3873
|
const measuresSettings = measureAxes.map(m => this.measures.find(meas => String(meas.name) === String(m.name))).filter(Boolean);
|
|
3873
3874
|
const dataTree = createDataTree(this.data, rowSettings, columnSettings, measuresSettings, bindingFields, filter);
|
|
3874
3875
|
this.dataState = createLocalDataState({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-pivotgrid",
|
|
3
|
-
"version": "14.1.1-develop.
|
|
3
|
+
"version": "14.1.1-develop.4",
|
|
4
4
|
"description": "PivotGrid package for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -25,22 +25,22 @@
|
|
|
25
25
|
"@progress/kendo-data-query": "^1.5.5",
|
|
26
26
|
"@progress/kendo-drawing": "^1.17.2",
|
|
27
27
|
"@progress/kendo-licensing": "^1.0.2",
|
|
28
|
-
"@progress/kendo-angular-buttons": "14.1.1-develop.
|
|
29
|
-
"@progress/kendo-angular-common": "14.1.1-develop.
|
|
30
|
-
"@progress/kendo-angular-dropdowns": "14.1.1-develop.
|
|
31
|
-
"@progress/kendo-angular-indicators": "14.1.1-develop.
|
|
32
|
-
"@progress/kendo-angular-inputs": "14.1.1-develop.
|
|
33
|
-
"@progress/kendo-angular-intl": "14.1.1-develop.
|
|
34
|
-
"@progress/kendo-angular-l10n": "14.1.1-develop.
|
|
35
|
-
"@progress/kendo-angular-popup": "14.1.1-develop.
|
|
36
|
-
"@progress/kendo-angular-icons": "14.1.1-develop.
|
|
37
|
-
"@progress/kendo-angular-treeview": "14.1.1-develop.
|
|
28
|
+
"@progress/kendo-angular-buttons": "14.1.1-develop.4",
|
|
29
|
+
"@progress/kendo-angular-common": "14.1.1-develop.4",
|
|
30
|
+
"@progress/kendo-angular-dropdowns": "14.1.1-develop.4",
|
|
31
|
+
"@progress/kendo-angular-indicators": "14.1.1-develop.4",
|
|
32
|
+
"@progress/kendo-angular-inputs": "14.1.1-develop.4",
|
|
33
|
+
"@progress/kendo-angular-intl": "14.1.1-develop.4",
|
|
34
|
+
"@progress/kendo-angular-l10n": "14.1.1-develop.4",
|
|
35
|
+
"@progress/kendo-angular-popup": "14.1.1-develop.4",
|
|
36
|
+
"@progress/kendo-angular-icons": "14.1.1-develop.4",
|
|
37
|
+
"@progress/kendo-angular-treeview": "14.1.1-develop.4",
|
|
38
38
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"tslib": "^2.3.1",
|
|
42
|
-
"@progress/kendo-angular-schematics": "14.1.1-develop.
|
|
43
|
-
"@progress/kendo-pivotgrid-common": "0.5.
|
|
42
|
+
"@progress/kendo-angular-schematics": "14.1.1-develop.4",
|
|
43
|
+
"@progress/kendo-pivotgrid-common": "0.5.3"
|
|
44
44
|
},
|
|
45
45
|
"schematics": "./schematics/collection.json",
|
|
46
46
|
"module": "fesm2015/progress-kendo-angular-pivotgrid.mjs",
|
|
@@ -6,7 +6,7 @@ function default_1(options) {
|
|
|
6
6
|
// Additional dependencies to install.
|
|
7
7
|
// See https://github.com/telerik/kendo-schematics/issues/28
|
|
8
8
|
peerDependencies: {
|
|
9
|
-
'@progress/kendo-angular-dialog': '14.1.1-develop.
|
|
9
|
+
'@progress/kendo-angular-dialog': '14.1.1-develop.4',
|
|
10
10
|
// peer dep of the icons
|
|
11
11
|
'@progress/kendo-svg-icons': '^2.0.0'
|
|
12
12
|
} });
|