@progress/kendo-angular-grid 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.
|
@@ -4059,7 +4059,7 @@ class NavigationService {
|
|
|
4059
4059
|
let rowspanOffset = 0;
|
|
4060
4060
|
let startNewSelection = false;
|
|
4061
4061
|
const allowMultipleRanges = (this.ctx.grid.selectionService.active && this.ctx.grid.selectableSettings?.multipleRanges) ||
|
|
4062
|
-
(this.ctx.grid.cellSelectionService.active && this.ctx.grid.cellSelectionService
|
|
4062
|
+
(this.ctx.grid.cellSelectionService.active && this.ctx.grid.cellSelectionService.options?.multipleRanges);
|
|
4063
4063
|
if (!allowMultipleRanges) {
|
|
4064
4064
|
this.currentSelection = [];
|
|
4065
4065
|
}
|
|
@@ -19743,7 +19743,7 @@ class CellSelectionService {
|
|
|
19743
19743
|
ev = this.select(item);
|
|
19744
19744
|
this.currentSelection = [this.lastSelectionItem];
|
|
19745
19745
|
}
|
|
19746
|
-
if (!ev.selectedCells.length && !ev.deselectedCells.length) {
|
|
19746
|
+
if (!ev || (!ev.selectedCells.length && !ev.deselectedCells.length)) {
|
|
19747
19747
|
return;
|
|
19748
19748
|
}
|
|
19749
19749
|
ev.ctrlKey = ctrlKey;
|
|
@@ -20415,7 +20415,7 @@ class HeaderComponent {
|
|
|
20415
20415
|
return groupable || canReorder;
|
|
20416
20416
|
}
|
|
20417
20417
|
isInteractive(column, prop) {
|
|
20418
|
-
return !isNullOrEmptyString(column.field)
|
|
20418
|
+
return (prop === 'reorderable' || !isNullOrEmptyString(column.field))
|
|
20419
20419
|
&& isTruthy(this[prop]) && isTruthy(column[prop]);
|
|
20420
20420
|
}
|
|
20421
20421
|
isCheckboxColumn(column) {
|
|
@@ -24825,8 +24825,8 @@ const packageMetadata = {
|
|
|
24825
24825
|
productName: 'Kendo UI for Angular',
|
|
24826
24826
|
productCode: 'KENDOUIANGULAR',
|
|
24827
24827
|
productCodes: ['KENDOUIANGULAR'],
|
|
24828
|
-
publishDate:
|
|
24829
|
-
version: '24.2.0
|
|
24828
|
+
publishDate: 1782829069,
|
|
24829
|
+
version: '24.2.0',
|
|
24830
24830
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
24831
24831
|
};
|
|
24832
24832
|
|
|
@@ -32906,15 +32906,15 @@ class SortToolbarToolComponent {
|
|
|
32906
32906
|
return column;
|
|
32907
32907
|
}
|
|
32908
32908
|
sortDescriptor(field) {
|
|
32909
|
-
return this.sort
|
|
32909
|
+
return this.sort?.find(item => item.field === field) || { field };
|
|
32910
32910
|
}
|
|
32911
32911
|
getDescriptor(column) {
|
|
32912
|
-
const { allowUnsort, mode, initialDirection } = normalize$1(this.ctx
|
|
32912
|
+
const { allowUnsort, mode, initialDirection } = normalize$1(this.ctx?.grid?.sortable, column?.sortable);
|
|
32913
32913
|
const field = column?.field;
|
|
32914
32914
|
if (!field) {
|
|
32915
|
-
return;
|
|
32915
|
+
return [];
|
|
32916
32916
|
}
|
|
32917
|
-
const descriptorT = this.sort
|
|
32917
|
+
const descriptorT = this.sort?.find(item => item.field === field) || { field };
|
|
32918
32918
|
const [first, second] = directions(initialDirection);
|
|
32919
32919
|
let dir = first;
|
|
32920
32920
|
if (descriptorT.dir === first) {
|
|
@@ -32980,7 +32980,7 @@ class SortToolbarToolComponent {
|
|
|
32980
32980
|
</div>
|
|
32981
32981
|
}
|
|
32982
32982
|
</div>
|
|
32983
|
-
|
|
32983
|
+
|
|
32984
32984
|
<div class="k-actions k-actions-stretched k-actions-horizontal k-column-menu-footer">
|
|
32985
32985
|
<button kendoButton
|
|
32986
32986
|
[svgIcon]="clearIcon"
|
|
@@ -33026,7 +33026,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
33026
33026
|
</div>
|
|
33027
33027
|
}
|
|
33028
33028
|
</div>
|
|
33029
|
-
|
|
33029
|
+
|
|
33030
33030
|
<div class="k-actions k-actions-stretched k-actions-horizontal k-column-menu-footer">
|
|
33031
33031
|
<button kendoButton
|
|
33032
33032
|
[svgIcon]="clearIcon"
|
|
@@ -33562,9 +33562,9 @@ class GroupToolbarToolComponent {
|
|
|
33562
33562
|
this.ctx.grid.groupChange.emit(this.group);
|
|
33563
33563
|
this.updateGroupedColumns();
|
|
33564
33564
|
this.ngZone.onStable.pipe(take(1)).subscribe(() => {
|
|
33565
|
-
const newIndex = this.groupedColumns.length - 1;
|
|
33566
|
-
const newItem = this.groupItems
|
|
33567
|
-
if (newItem) {
|
|
33565
|
+
const newIndex = this.groupedColumns?.length ? this.groupedColumns.length - 1 : 0;
|
|
33566
|
+
const newItem = this.groupItems?.get(newIndex);
|
|
33567
|
+
if (newItem?.nativeElement) {
|
|
33568
33568
|
this.currentFocusedItemIndex = (this.groupedColumns?.length || 0) + newIndex;
|
|
33569
33569
|
newItem.nativeElement.focus();
|
|
33570
33570
|
}
|
|
@@ -33746,7 +33746,7 @@ class GroupToolbarToolComponent {
|
|
|
33746
33746
|
}
|
|
33747
33747
|
</div>
|
|
33748
33748
|
}
|
|
33749
|
-
|
|
33749
|
+
|
|
33750
33750
|
@if (ungroupedColumns.length) {
|
|
33751
33751
|
<div class="k-group-menu-item-wrap">
|
|
33752
33752
|
@for (column of ungroupedColumns; track column; let i = $index) {
|
|
@@ -33773,7 +33773,7 @@ class GroupToolbarToolComponent {
|
|
|
33773
33773
|
}
|
|
33774
33774
|
</div>
|
|
33775
33775
|
}
|
|
33776
|
-
|
|
33776
|
+
|
|
33777
33777
|
@if (!adaptive) {
|
|
33778
33778
|
<div class="k-actions k-actions-stretched k-actions-horizontal k-column-menu-footer">
|
|
33779
33779
|
<button kendoButton
|
|
@@ -33846,7 +33846,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
33846
33846
|
}
|
|
33847
33847
|
</div>
|
|
33848
33848
|
}
|
|
33849
|
-
|
|
33849
|
+
|
|
33850
33850
|
@if (ungroupedColumns.length) {
|
|
33851
33851
|
<div class="k-group-menu-item-wrap">
|
|
33852
33852
|
@for (column of ungroupedColumns; track column; let i = $index) {
|
|
@@ -33873,7 +33873,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
33873
33873
|
}
|
|
33874
33874
|
</div>
|
|
33875
33875
|
}
|
|
33876
|
-
|
|
33876
|
+
|
|
33877
33877
|
@if (!adaptive) {
|
|
33878
33878
|
<div class="k-actions k-actions-stretched k-actions-horizontal k-column-menu-footer">
|
|
33879
33879
|
<button kendoButton
|
|
@@ -34108,12 +34108,12 @@ class AdaptiveRendererComponent {
|
|
|
34108
34108
|
this.sortService.sort(descriptor);
|
|
34109
34109
|
}
|
|
34110
34110
|
getDescriptor(column) {
|
|
34111
|
-
const { allowUnsort, mode, initialDirection } = normalize$1(this.ctx.grid.sortable, column
|
|
34111
|
+
const { allowUnsort, mode, initialDirection } = normalize$1(this.ctx.grid.sortable, column?.sortable || {});
|
|
34112
34112
|
const field = column?.field;
|
|
34113
34113
|
if (!field) {
|
|
34114
|
-
return;
|
|
34114
|
+
return [];
|
|
34115
34115
|
}
|
|
34116
|
-
const descriptorT = this.ctx
|
|
34116
|
+
const descriptorT = this.ctx?.grid?.sort?.find(item => item?.field === field) || { field };
|
|
34117
34117
|
const [first, second] = directions(initialDirection);
|
|
34118
34118
|
let dir = first;
|
|
34119
34119
|
if (descriptorT.dir === first) {
|
|
@@ -42215,7 +42215,7 @@ class GridClipboardDirective {
|
|
|
42215
42215
|
}
|
|
42216
42216
|
const isPaste = operationType === 'paste';
|
|
42217
42217
|
const pastedData = args.clipboardData.getData('text');
|
|
42218
|
-
const visibleCols = this.host.
|
|
42218
|
+
const visibleCols = this.host.leafColumns.toArray().filter(c => c.isVisible);
|
|
42219
42219
|
if (visibleCols.some(c => c.orderIndex > 0)) { // columns have been reordered
|
|
42220
42220
|
visibleCols.sort((a, b) => a.orderIndex - b.orderIndex);
|
|
42221
42221
|
}
|
|
@@ -45419,14 +45419,18 @@ class SmartBoxComponent {
|
|
|
45419
45419
|
});
|
|
45420
45420
|
}
|
|
45421
45421
|
if (this.input.nativeElement.value) {
|
|
45422
|
-
const
|
|
45423
|
-
|
|
45424
|
-
|
|
45425
|
-
|
|
45426
|
-
|
|
45427
|
-
|
|
45428
|
-
|
|
45429
|
-
|
|
45422
|
+
const historySettings = this[`${this.selectedView}HistorySettings`];
|
|
45423
|
+
const history = this[`${this.selectedView}History`];
|
|
45424
|
+
if (historySettings && history) {
|
|
45425
|
+
const historyItem = {
|
|
45426
|
+
text: this.input.nativeElement.value,
|
|
45427
|
+
timestamp: new Date(),
|
|
45428
|
+
format: historySettings.timestampFormat
|
|
45429
|
+
};
|
|
45430
|
+
history.unshift(historyItem);
|
|
45431
|
+
if (history.length > historySettings.size) {
|
|
45432
|
+
history.splice(historySettings.size);
|
|
45433
|
+
}
|
|
45430
45434
|
}
|
|
45431
45435
|
}
|
|
45432
45436
|
}
|
|
@@ -45502,14 +45506,18 @@ class SmartBoxComponent {
|
|
|
45502
45506
|
});
|
|
45503
45507
|
}
|
|
45504
45508
|
if (inputValue) {
|
|
45505
|
-
const
|
|
45506
|
-
|
|
45507
|
-
|
|
45508
|
-
|
|
45509
|
-
|
|
45510
|
-
|
|
45511
|
-
|
|
45512
|
-
|
|
45509
|
+
const historySettings = this[`${this.selectedView}HistorySettings`];
|
|
45510
|
+
const history = this[`${this.selectedView}History`];
|
|
45511
|
+
if (historySettings && history) {
|
|
45512
|
+
const historyItem = {
|
|
45513
|
+
text: inputValue,
|
|
45514
|
+
timestamp: new Date(),
|
|
45515
|
+
format: historySettings.timestampFormat
|
|
45516
|
+
};
|
|
45517
|
+
history.unshift(historyItem);
|
|
45518
|
+
if (history.length > historySettings.size) {
|
|
45519
|
+
history.splice(historySettings.size);
|
|
45520
|
+
}
|
|
45513
45521
|
}
|
|
45514
45522
|
}
|
|
45515
45523
|
}, delay);
|
|
@@ -46065,7 +46073,7 @@ class SmartBoxComponent {
|
|
|
46065
46073
|
</kendo-icon-wrapper>
|
|
46066
46074
|
<span class="k-list-item-text">{{messageFor('smartBoxPreviouslySearched')}}</span>
|
|
46067
46075
|
</li>
|
|
46068
|
-
|
|
46076
|
+
|
|
46069
46077
|
@for (item of searchHistory; track $index) {
|
|
46070
46078
|
@if (historyItemTemplate?.templateRef) {
|
|
46071
46079
|
<ng-template
|
|
@@ -46103,7 +46111,7 @@ class SmartBoxComponent {
|
|
|
46103
46111
|
</kendo-icon-wrapper>
|
|
46104
46112
|
<span class="k-list-item-text">{{messageFor('smartBoxPreviouslySearched')}}</span>
|
|
46105
46113
|
</li>
|
|
46106
|
-
|
|
46114
|
+
|
|
46107
46115
|
@for (item of semanticSearchHistory; track $index) {
|
|
46108
46116
|
@if (historyItemTemplate?.templateRef) {
|
|
46109
46117
|
<ng-template
|
|
@@ -46341,7 +46349,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
46341
46349
|
</kendo-icon-wrapper>
|
|
46342
46350
|
<span class="k-list-item-text">{{messageFor('smartBoxPreviouslySearched')}}</span>
|
|
46343
46351
|
</li>
|
|
46344
|
-
|
|
46352
|
+
|
|
46345
46353
|
@for (item of searchHistory; track $index) {
|
|
46346
46354
|
@if (historyItemTemplate?.templateRef) {
|
|
46347
46355
|
<ng-template
|
|
@@ -46379,7 +46387,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
46379
46387
|
</kendo-icon-wrapper>
|
|
46380
46388
|
<span class="k-list-item-text">{{messageFor('smartBoxPreviouslySearched')}}</span>
|
|
46381
46389
|
</li>
|
|
46382
|
-
|
|
46390
|
+
|
|
46383
46391
|
@for (item of semanticSearchHistory; track $index) {
|
|
46384
46392
|
@if (historyItemTemplate?.templateRef) {
|
|
46385
46393
|
<ng-template
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "24.2.0
|
|
10
|
+
"publishDate": 1782829069,
|
|
11
|
+
"version": "24.2.0",
|
|
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": "24.2.0
|
|
3
|
+
"version": "24.2.0",
|
|
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",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"package": {
|
|
95
95
|
"productName": "Kendo UI for Angular",
|
|
96
96
|
"productCode": "KENDOUIANGULAR",
|
|
97
|
-
"publishDate":
|
|
97
|
+
"publishDate": 1782829069,
|
|
98
98
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
99
99
|
}
|
|
100
100
|
},
|
|
@@ -107,32 +107,32 @@
|
|
|
107
107
|
"@progress/kendo-data-query": "^1.7.3",
|
|
108
108
|
"@progress/kendo-drawing": "^1.25.0",
|
|
109
109
|
"@progress/kendo-licensing": "^1.11.0",
|
|
110
|
-
"@progress/kendo-angular-buttons": "24.2.0
|
|
111
|
-
"@progress/kendo-angular-common": "24.2.0
|
|
112
|
-
"@progress/kendo-angular-dateinputs": "24.2.0
|
|
113
|
-
"@progress/kendo-angular-layout": "24.2.0
|
|
114
|
-
"@progress/kendo-angular-navigation": "24.2.0
|
|
115
|
-
"@progress/kendo-angular-dropdowns": "24.2.0
|
|
116
|
-
"@progress/kendo-angular-excel-export": "24.2.0
|
|
117
|
-
"@progress/kendo-angular-icons": "24.2.0
|
|
118
|
-
"@progress/kendo-angular-indicators": "24.2.0
|
|
119
|
-
"@progress/kendo-angular-inputs": "24.2.0
|
|
120
|
-
"@progress/kendo-angular-conversational-ui": "24.2.0
|
|
121
|
-
"@progress/kendo-angular-intl": "24.2.0
|
|
122
|
-
"@progress/kendo-angular-l10n": "24.2.0
|
|
123
|
-
"@progress/kendo-angular-label": "24.2.0
|
|
124
|
-
"@progress/kendo-angular-menu": "24.2.0
|
|
125
|
-
"@progress/kendo-angular-pager": "24.2.0
|
|
126
|
-
"@progress/kendo-angular-pdf-export": "24.2.0
|
|
127
|
-
"@progress/kendo-angular-popup": "24.2.0
|
|
128
|
-
"@progress/kendo-angular-toolbar": "24.2.0
|
|
129
|
-
"@progress/kendo-angular-upload": "24.2.0
|
|
130
|
-
"@progress/kendo-angular-utils": "24.2.0
|
|
110
|
+
"@progress/kendo-angular-buttons": "24.2.0",
|
|
111
|
+
"@progress/kendo-angular-common": "24.2.0",
|
|
112
|
+
"@progress/kendo-angular-dateinputs": "24.2.0",
|
|
113
|
+
"@progress/kendo-angular-layout": "24.2.0",
|
|
114
|
+
"@progress/kendo-angular-navigation": "24.2.0",
|
|
115
|
+
"@progress/kendo-angular-dropdowns": "24.2.0",
|
|
116
|
+
"@progress/kendo-angular-excel-export": "24.2.0",
|
|
117
|
+
"@progress/kendo-angular-icons": "24.2.0",
|
|
118
|
+
"@progress/kendo-angular-indicators": "24.2.0",
|
|
119
|
+
"@progress/kendo-angular-inputs": "24.2.0",
|
|
120
|
+
"@progress/kendo-angular-conversational-ui": "24.2.0",
|
|
121
|
+
"@progress/kendo-angular-intl": "24.2.0",
|
|
122
|
+
"@progress/kendo-angular-l10n": "24.2.0",
|
|
123
|
+
"@progress/kendo-angular-label": "24.2.0",
|
|
124
|
+
"@progress/kendo-angular-menu": "24.2.0",
|
|
125
|
+
"@progress/kendo-angular-pager": "24.2.0",
|
|
126
|
+
"@progress/kendo-angular-pdf-export": "24.2.0",
|
|
127
|
+
"@progress/kendo-angular-popup": "24.2.0",
|
|
128
|
+
"@progress/kendo-angular-toolbar": "24.2.0",
|
|
129
|
+
"@progress/kendo-angular-upload": "24.2.0",
|
|
130
|
+
"@progress/kendo-angular-utils": "24.2.0",
|
|
131
131
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
132
132
|
},
|
|
133
133
|
"dependencies": {
|
|
134
134
|
"tslib": "^2.3.1",
|
|
135
|
-
"@progress/kendo-angular-schematics": "24.2.0
|
|
135
|
+
"@progress/kendo-angular-schematics": "24.2.0",
|
|
136
136
|
"@progress/kendo-common": "^1.0.1",
|
|
137
137
|
"@progress/kendo-file-saver": "^1.0.0",
|
|
138
138
|
"@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': '24.2.0
|
|
13
|
-
'@progress/kendo-angular-navigation': '24.2.0
|
|
12
|
+
'@progress/kendo-angular-treeview': '24.2.0',
|
|
13
|
+
'@progress/kendo-angular-navigation': '24.2.0',
|
|
14
14
|
// peer dependency of kendo-angular-inputs
|
|
15
|
-
'@progress/kendo-angular-dialog': '24.2.0
|
|
15
|
+
'@progress/kendo-angular-dialog': '24.2.0',
|
|
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': '24.2.0
|
|
19
|
+
'@progress/kendo-angular-progressbar': '24.2.0',
|
|
20
20
|
// transitive peer dependencies from toolbar
|
|
21
|
-
'@progress/kendo-angular-indicators': '24.2.0
|
|
21
|
+
'@progress/kendo-angular-indicators': '24.2.0',
|
|
22
22
|
// transitive peer dependencies from conversational-ui
|
|
23
|
-
'@progress/kendo-angular-menu': '24.2.0
|
|
24
|
-
'@progress/kendo-angular-upload': '24.2.0
|
|
23
|
+
'@progress/kendo-angular-menu': '24.2.0',
|
|
24
|
+
'@progress/kendo-angular-upload': '24.2.0'
|
|
25
25
|
} });
|
|
26
26
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
27
27
|
}
|