@progress/kendo-angular-grid 23.2.1-develop.3 → 23.2.1-develop.5
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.
|
@@ -19664,13 +19664,15 @@ class CellSelectionService {
|
|
|
19664
19664
|
const isInRowRange = selectionStartRow <= idx && idx <= selectionEndRow;
|
|
19665
19665
|
const isInColRange = selectionStartCol <= col.leafIndex && col.leafIndex <= selectionEndCol;
|
|
19666
19666
|
const isInSelectionRect = isInRowRange && isInColRange;
|
|
19667
|
+
const isInDeselected = !!deselectedCells.find((value) => value && value.itemKey === item.itemKey && value.columnKey === item.columnKey);
|
|
19668
|
+
const isInSelected = !!selectedCells.find((value) => value && value.itemKey === item.itemKey && value.columnKey === item.columnKey);
|
|
19667
19669
|
if (!isInSelectionRect && selected) {
|
|
19668
19670
|
const deselectCell = !(preserveSelection || existingSelections.find((value) => value && value.itemKey === item.itemKey && value.columnKey === item.columnKey));
|
|
19669
|
-
if (deselectCell) {
|
|
19671
|
+
if (deselectCell && !isInDeselected) {
|
|
19670
19672
|
deselectedCells.push(item);
|
|
19671
19673
|
}
|
|
19672
19674
|
}
|
|
19673
|
-
if (isInSelectionRect && !selected && !this.nonSelectableRows.has(idx)) {
|
|
19675
|
+
if (isInSelectionRect && !selected && !this.nonSelectableRows.has(idx) && !isInSelected) {
|
|
19674
19676
|
selectedCells.push(item);
|
|
19675
19677
|
}
|
|
19676
19678
|
});
|
|
@@ -22569,6 +22571,7 @@ class TableBodyComponent {
|
|
|
22569
22571
|
return;
|
|
22570
22572
|
}
|
|
22571
22573
|
if (selectionEnabled && !this.isRowSelectable({ index: args.rowIndex, dataItem: args.dataItem })) {
|
|
22574
|
+
this.emitCellClick(args);
|
|
22572
22575
|
return;
|
|
22573
22576
|
}
|
|
22574
22577
|
if (eventArg.type === 'mousedown' || eventArg.type === 'touchstart') {
|
|
@@ -22604,7 +22607,16 @@ class TableBodyComponent {
|
|
|
22604
22607
|
}
|
|
22605
22608
|
cellClickArgs(cell, row, eventArg) {
|
|
22606
22609
|
const cells = this.isStackedMode ? row.querySelectorAll('.k-grid-stack-cell') : row.cells;
|
|
22607
|
-
let index
|
|
22610
|
+
let index;
|
|
22611
|
+
// In non-stacked mode, read the column index from the cell attribute to handle rowspan correctly.
|
|
22612
|
+
// row.cells omits cells spanned from a previous row, which causes columnCellIndex to return a smaller index.
|
|
22613
|
+
if (!this.isStackedMode) {
|
|
22614
|
+
const dataColumnIndex = cell.getAttribute('data-kendo-grid-column-index');
|
|
22615
|
+
index = isPresent(dataColumnIndex) ? parseInt(dataColumnIndex, 10) - this.lockedColumnsCount : columnCellIndex(cell, cells, false);
|
|
22616
|
+
}
|
|
22617
|
+
else {
|
|
22618
|
+
index = columnCellIndex(cell, cells, this.isStackedMode);
|
|
22619
|
+
}
|
|
22608
22620
|
// In stacked mode, clicks on the outer cell should not trigger Grid's cellClick event
|
|
22609
22621
|
let isOuterCellClicked = false;
|
|
22610
22622
|
if (this.isStackedMode && !isPresent(index)) {
|
|
@@ -24203,7 +24215,7 @@ const packageMetadata = {
|
|
|
24203
24215
|
productCode: 'KENDOUIANGULAR',
|
|
24204
24216
|
productCodes: ['KENDOUIANGULAR'],
|
|
24205
24217
|
publishDate: 0,
|
|
24206
|
-
version: '23.2.1-develop.
|
|
24218
|
+
version: '23.2.1-develop.5',
|
|
24207
24219
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
24208
24220
|
};
|
|
24209
24221
|
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "23.2.1-develop.
|
|
10
|
+
"publishDate": 1773147782,
|
|
11
|
+
"version": "23.2.1-develop.5",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-grid",
|
|
3
|
-
"version": "23.2.1-develop.
|
|
3
|
+
"version": "23.2.1-develop.5",
|
|
4
4
|
"description": "Kendo UI Grid for Angular - high performance data grid with paging, filtering, virtualization, CRUD, and more.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"package": {
|
|
74
74
|
"productName": "Kendo UI for Angular",
|
|
75
75
|
"productCode": "KENDOUIANGULAR",
|
|
76
|
-
"publishDate":
|
|
76
|
+
"publishDate": 1773147782,
|
|
77
77
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
78
78
|
}
|
|
79
79
|
},
|
|
@@ -86,32 +86,32 @@
|
|
|
86
86
|
"@progress/kendo-data-query": "^1.7.3",
|
|
87
87
|
"@progress/kendo-drawing": "^1.24.0",
|
|
88
88
|
"@progress/kendo-licensing": "^1.10.0",
|
|
89
|
-
"@progress/kendo-angular-buttons": "23.2.1-develop.
|
|
90
|
-
"@progress/kendo-angular-common": "23.2.1-develop.
|
|
91
|
-
"@progress/kendo-angular-dateinputs": "23.2.1-develop.
|
|
92
|
-
"@progress/kendo-angular-layout": "23.2.1-develop.
|
|
93
|
-
"@progress/kendo-angular-navigation": "23.2.1-develop.
|
|
94
|
-
"@progress/kendo-angular-dropdowns": "23.2.1-develop.
|
|
95
|
-
"@progress/kendo-angular-excel-export": "23.2.1-develop.
|
|
96
|
-
"@progress/kendo-angular-icons": "23.2.1-develop.
|
|
97
|
-
"@progress/kendo-angular-indicators": "23.2.1-develop.
|
|
98
|
-
"@progress/kendo-angular-inputs": "23.2.1-develop.
|
|
99
|
-
"@progress/kendo-angular-conversational-ui": "23.2.1-develop.
|
|
100
|
-
"@progress/kendo-angular-intl": "23.2.1-develop.
|
|
101
|
-
"@progress/kendo-angular-l10n": "23.2.1-develop.
|
|
102
|
-
"@progress/kendo-angular-label": "23.2.1-develop.
|
|
103
|
-
"@progress/kendo-angular-menu": "23.2.1-develop.
|
|
104
|
-
"@progress/kendo-angular-pager": "23.2.1-develop.
|
|
105
|
-
"@progress/kendo-angular-pdf-export": "23.2.1-develop.
|
|
106
|
-
"@progress/kendo-angular-popup": "23.2.1-develop.
|
|
107
|
-
"@progress/kendo-angular-toolbar": "23.2.1-develop.
|
|
108
|
-
"@progress/kendo-angular-upload": "23.2.1-develop.
|
|
109
|
-
"@progress/kendo-angular-utils": "23.2.1-develop.
|
|
89
|
+
"@progress/kendo-angular-buttons": "23.2.1-develop.5",
|
|
90
|
+
"@progress/kendo-angular-common": "23.2.1-develop.5",
|
|
91
|
+
"@progress/kendo-angular-dateinputs": "23.2.1-develop.5",
|
|
92
|
+
"@progress/kendo-angular-layout": "23.2.1-develop.5",
|
|
93
|
+
"@progress/kendo-angular-navigation": "23.2.1-develop.5",
|
|
94
|
+
"@progress/kendo-angular-dropdowns": "23.2.1-develop.5",
|
|
95
|
+
"@progress/kendo-angular-excel-export": "23.2.1-develop.5",
|
|
96
|
+
"@progress/kendo-angular-icons": "23.2.1-develop.5",
|
|
97
|
+
"@progress/kendo-angular-indicators": "23.2.1-develop.5",
|
|
98
|
+
"@progress/kendo-angular-inputs": "23.2.1-develop.5",
|
|
99
|
+
"@progress/kendo-angular-conversational-ui": "23.2.1-develop.5",
|
|
100
|
+
"@progress/kendo-angular-intl": "23.2.1-develop.5",
|
|
101
|
+
"@progress/kendo-angular-l10n": "23.2.1-develop.5",
|
|
102
|
+
"@progress/kendo-angular-label": "23.2.1-develop.5",
|
|
103
|
+
"@progress/kendo-angular-menu": "23.2.1-develop.5",
|
|
104
|
+
"@progress/kendo-angular-pager": "23.2.1-develop.5",
|
|
105
|
+
"@progress/kendo-angular-pdf-export": "23.2.1-develop.5",
|
|
106
|
+
"@progress/kendo-angular-popup": "23.2.1-develop.5",
|
|
107
|
+
"@progress/kendo-angular-toolbar": "23.2.1-develop.5",
|
|
108
|
+
"@progress/kendo-angular-upload": "23.2.1-develop.5",
|
|
109
|
+
"@progress/kendo-angular-utils": "23.2.1-develop.5",
|
|
110
110
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
111
111
|
},
|
|
112
112
|
"dependencies": {
|
|
113
113
|
"tslib": "^2.3.1",
|
|
114
|
-
"@progress/kendo-angular-schematics": "23.2.1-develop.
|
|
114
|
+
"@progress/kendo-angular-schematics": "23.2.1-develop.5",
|
|
115
115
|
"@progress/kendo-common": "^1.0.1",
|
|
116
116
|
"@progress/kendo-file-saver": "^1.0.0",
|
|
117
117
|
"@progress/kendo-csv": "^1.0.0"
|
|
@@ -9,19 +9,19 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
9
9
|
function default_1(options) {
|
|
10
10
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'GridModule', package: 'grid', peerDependencies: {
|
|
11
11
|
// peer deps of the dropdowns
|
|
12
|
-
'@progress/kendo-angular-treeview': '23.2.1-develop.
|
|
13
|
-
'@progress/kendo-angular-navigation': '23.2.1-develop.
|
|
12
|
+
'@progress/kendo-angular-treeview': '23.2.1-develop.5',
|
|
13
|
+
'@progress/kendo-angular-navigation': '23.2.1-develop.5',
|
|
14
14
|
// peer dependency of kendo-angular-inputs
|
|
15
|
-
'@progress/kendo-angular-dialog': '23.2.1-develop.
|
|
15
|
+
'@progress/kendo-angular-dialog': '23.2.1-develop.5',
|
|
16
16
|
// peer dependency of kendo-angular-icons
|
|
17
17
|
'@progress/kendo-svg-icons': '^4.0.0',
|
|
18
18
|
// peer dependency of kendo-angular-layout
|
|
19
|
-
'@progress/kendo-angular-progressbar': '23.2.1-develop.
|
|
19
|
+
'@progress/kendo-angular-progressbar': '23.2.1-develop.5',
|
|
20
20
|
// transitive peer dependencies from toolbar
|
|
21
|
-
'@progress/kendo-angular-indicators': '23.2.1-develop.
|
|
21
|
+
'@progress/kendo-angular-indicators': '23.2.1-develop.5',
|
|
22
22
|
// transitive peer dependencies from conversational-ui
|
|
23
|
-
'@progress/kendo-angular-menu': '23.2.1-develop.
|
|
24
|
-
'@progress/kendo-angular-upload': '23.2.1-develop.
|
|
23
|
+
'@progress/kendo-angular-menu': '23.2.1-develop.5',
|
|
24
|
+
'@progress/kendo-angular-upload': '23.2.1-develop.5'
|
|
25
25
|
} });
|
|
26
26
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
27
27
|
}
|