@progress/kendo-angular-grid 15.0.0-develop.3 → 15.0.1-develop.1
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.
|
@@ -52,7 +52,7 @@ export class ClipboardService {
|
|
|
52
52
|
const colIdentifier = selectionDirective.columnKey;
|
|
53
53
|
if (tabular) {
|
|
54
54
|
const selectionKeys = groups[0].items.map(item => item.columnKey);
|
|
55
|
-
const selectedFieldCols = columns.flatMap((c, i) => (c instanceof ColumnComponent && c.field) && selectionKeys.find(k => typeof colIdentifier === 'function' ? k === colIdentifier(c, i) : k === i) ? [c] : []);
|
|
55
|
+
const selectedFieldCols = columns.flatMap((c, i) => (c instanceof ColumnComponent && c.field) && isPresent((selectionKeys.find(k => typeof colIdentifier === 'function' ? k === colIdentifier(c, i) : k === i))) ? [c] : []);
|
|
56
56
|
const selectedColFields = selectedFieldCols.map(c => c.field);
|
|
57
57
|
this.targetColField = selectedColFields[0];
|
|
58
58
|
result.dataString = data.flatMap(item => {
|
|
@@ -82,7 +82,7 @@ export class ClipboardService {
|
|
|
82
82
|
typeof rowIdentifier === 'string' ? item.dataItem[rowIdentifier] : rowIdentifier({ index: item.dataRowIndex, dataItem: item.dataItem }) :
|
|
83
83
|
item.dataRowIndex;
|
|
84
84
|
const selectionKeys = groups.find(gr => gr.value === key).items.map(item => item.columnKey);
|
|
85
|
-
const selectedFieldCols = columns.flatMap((c, i) => (c instanceof ColumnComponent && c.field) && selectionKeys.find(k => typeof colIdentifier === 'function' ? k === colIdentifier(c, i) : k === i) ? [c] : []);
|
|
85
|
+
const selectedFieldCols = columns.flatMap((c, i) => (c instanceof ColumnComponent && c.field) && isPresent(selectionKeys.find(k => typeof colIdentifier === 'function' ? k === colIdentifier(c, i) : k === i)) ? [c] : []);
|
|
86
86
|
const selectedColFields = selectedFieldCols.map(c => c.field);
|
|
87
87
|
if (!this.targetColField) {
|
|
88
88
|
this.targetColField = selectedColFields[0];
|
|
@@ -156,7 +156,7 @@ export class ClipboardService {
|
|
|
156
156
|
const colIdentifier = selectionDirective.columnKey;
|
|
157
157
|
const visibleCols = columns.filter(c => c.isVisible);
|
|
158
158
|
const selectionKeys = groups[0].items.map(item => item.columnKey);
|
|
159
|
-
const selectedFieldCols = visibleCols.flatMap((c, i) => (c instanceof ColumnComponent && c.field) && selectionKeys.find(k => typeof colIdentifier === 'function' ? k === colIdentifier(c, i) : k === i) ? [c] : []);
|
|
159
|
+
const selectedFieldCols = visibleCols.flatMap((c, i) => (c instanceof ColumnComponent && c.field) && isPresent(selectionKeys.find(k => typeof colIdentifier === 'function' ? k === colIdentifier(c, i) : k === i)) ? [c] : []);
|
|
160
160
|
const selectedColFields = selectedFieldCols.map(c => c.field);
|
|
161
161
|
this.targetColField = selectedColFields[0];
|
|
162
162
|
}
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-grid',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '15.0.
|
|
12
|
+
publishDate: 1706698274,
|
|
13
|
+
version: '15.0.1-develop.1',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -4532,8 +4532,8 @@ const packageMetadata = {
|
|
|
4532
4532
|
name: '@progress/kendo-angular-grid',
|
|
4533
4533
|
productName: 'Kendo UI for Angular',
|
|
4534
4534
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
4535
|
-
publishDate:
|
|
4536
|
-
version: '15.0.
|
|
4535
|
+
publishDate: 1706698274,
|
|
4536
|
+
version: '15.0.1-develop.1',
|
|
4537
4537
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
4538
4538
|
};
|
|
4539
4539
|
|
|
@@ -6901,7 +6901,7 @@ class ClipboardService {
|
|
|
6901
6901
|
const colIdentifier = selectionDirective.columnKey;
|
|
6902
6902
|
if (tabular) {
|
|
6903
6903
|
const selectionKeys = groups[0].items.map(item => item.columnKey);
|
|
6904
|
-
const selectedFieldCols = columns.flatMap((c, i) => (c instanceof ColumnComponent && c.field) && selectionKeys.find(k => typeof colIdentifier === 'function' ? k === colIdentifier(c, i) : k === i) ? [c] : []);
|
|
6904
|
+
const selectedFieldCols = columns.flatMap((c, i) => (c instanceof ColumnComponent && c.field) && isPresent$1((selectionKeys.find(k => typeof colIdentifier === 'function' ? k === colIdentifier(c, i) : k === i))) ? [c] : []);
|
|
6905
6905
|
const selectedColFields = selectedFieldCols.map(c => c.field);
|
|
6906
6906
|
this.targetColField = selectedColFields[0];
|
|
6907
6907
|
result.dataString = data.flatMap(item => {
|
|
@@ -6931,7 +6931,7 @@ class ClipboardService {
|
|
|
6931
6931
|
typeof rowIdentifier === 'string' ? item.dataItem[rowIdentifier] : rowIdentifier({ index: item.dataRowIndex, dataItem: item.dataItem }) :
|
|
6932
6932
|
item.dataRowIndex;
|
|
6933
6933
|
const selectionKeys = groups.find(gr => gr.value === key).items.map(item => item.columnKey);
|
|
6934
|
-
const selectedFieldCols = columns.flatMap((c, i) => (c instanceof ColumnComponent && c.field) && selectionKeys.find(k => typeof colIdentifier === 'function' ? k === colIdentifier(c, i) : k === i) ? [c] : []);
|
|
6934
|
+
const selectedFieldCols = columns.flatMap((c, i) => (c instanceof ColumnComponent && c.field) && isPresent$1(selectionKeys.find(k => typeof colIdentifier === 'function' ? k === colIdentifier(c, i) : k === i)) ? [c] : []);
|
|
6935
6935
|
const selectedColFields = selectedFieldCols.map(c => c.field);
|
|
6936
6936
|
if (!this.targetColField) {
|
|
6937
6937
|
this.targetColField = selectedColFields[0];
|
|
@@ -7006,7 +7006,7 @@ class ClipboardService {
|
|
|
7006
7006
|
const colIdentifier = selectionDirective.columnKey;
|
|
7007
7007
|
const visibleCols = columns.filter(c => c.isVisible);
|
|
7008
7008
|
const selectionKeys = groups[0].items.map(item => item.columnKey);
|
|
7009
|
-
const selectedFieldCols = visibleCols.flatMap((c, i) => (c instanceof ColumnComponent && c.field) && selectionKeys.find(k => typeof colIdentifier === 'function' ? k === colIdentifier(c, i) : k === i) ? [c] : []);
|
|
7009
|
+
const selectedFieldCols = visibleCols.flatMap((c, i) => (c instanceof ColumnComponent && c.field) && isPresent$1(selectionKeys.find(k => typeof colIdentifier === 'function' ? k === colIdentifier(c, i) : k === i)) ? [c] : []);
|
|
7010
7010
|
const selectedColFields = selectedFieldCols.map(c => c.field);
|
|
7011
7011
|
this.targetColField = selectedColFields[0];
|
|
7012
7012
|
}
|
|
@@ -4500,8 +4500,8 @@ const packageMetadata = {
|
|
|
4500
4500
|
name: '@progress/kendo-angular-grid',
|
|
4501
4501
|
productName: 'Kendo UI for Angular',
|
|
4502
4502
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
4503
|
-
publishDate:
|
|
4504
|
-
version: '15.0.
|
|
4503
|
+
publishDate: 1706698274,
|
|
4504
|
+
version: '15.0.1-develop.1',
|
|
4505
4505
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
4506
4506
|
};
|
|
4507
4507
|
|
|
@@ -6854,7 +6854,7 @@ class ClipboardService {
|
|
|
6854
6854
|
const colIdentifier = selectionDirective.columnKey;
|
|
6855
6855
|
if (tabular) {
|
|
6856
6856
|
const selectionKeys = groups[0].items.map(item => item.columnKey);
|
|
6857
|
-
const selectedFieldCols = columns.flatMap((c, i) => (c instanceof ColumnComponent && c.field) && selectionKeys.find(k => typeof colIdentifier === 'function' ? k === colIdentifier(c, i) : k === i) ? [c] : []);
|
|
6857
|
+
const selectedFieldCols = columns.flatMap((c, i) => (c instanceof ColumnComponent && c.field) && isPresent$1((selectionKeys.find(k => typeof colIdentifier === 'function' ? k === colIdentifier(c, i) : k === i))) ? [c] : []);
|
|
6858
6858
|
const selectedColFields = selectedFieldCols.map(c => c.field);
|
|
6859
6859
|
this.targetColField = selectedColFields[0];
|
|
6860
6860
|
result.dataString = data.flatMap(item => {
|
|
@@ -6884,7 +6884,7 @@ class ClipboardService {
|
|
|
6884
6884
|
typeof rowIdentifier === 'string' ? item.dataItem[rowIdentifier] : rowIdentifier({ index: item.dataRowIndex, dataItem: item.dataItem }) :
|
|
6885
6885
|
item.dataRowIndex;
|
|
6886
6886
|
const selectionKeys = groups.find(gr => gr.value === key).items.map(item => item.columnKey);
|
|
6887
|
-
const selectedFieldCols = columns.flatMap((c, i) => (c instanceof ColumnComponent && c.field) && selectionKeys.find(k => typeof colIdentifier === 'function' ? k === colIdentifier(c, i) : k === i) ? [c] : []);
|
|
6887
|
+
const selectedFieldCols = columns.flatMap((c, i) => (c instanceof ColumnComponent && c.field) && isPresent$1(selectionKeys.find(k => typeof colIdentifier === 'function' ? k === colIdentifier(c, i) : k === i)) ? [c] : []);
|
|
6888
6888
|
const selectedColFields = selectedFieldCols.map(c => c.field);
|
|
6889
6889
|
if (!this.targetColField) {
|
|
6890
6890
|
this.targetColField = selectedColFields[0];
|
|
@@ -6958,7 +6958,7 @@ class ClipboardService {
|
|
|
6958
6958
|
const colIdentifier = selectionDirective.columnKey;
|
|
6959
6959
|
const visibleCols = columns.filter(c => c.isVisible);
|
|
6960
6960
|
const selectionKeys = groups[0].items.map(item => item.columnKey);
|
|
6961
|
-
const selectedFieldCols = visibleCols.flatMap((c, i) => (c instanceof ColumnComponent && c.field) && selectionKeys.find(k => typeof colIdentifier === 'function' ? k === colIdentifier(c, i) : k === i) ? [c] : []);
|
|
6961
|
+
const selectedFieldCols = visibleCols.flatMap((c, i) => (c instanceof ColumnComponent && c.field) && isPresent$1(selectionKeys.find(k => typeof colIdentifier === 'function' ? k === colIdentifier(c, i) : k === i)) ? [c] : []);
|
|
6962
6962
|
const selectedColFields = selectedFieldCols.map(c => c.field);
|
|
6963
6963
|
this.targetColField = selectedColFields[0];
|
|
6964
6964
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-grid",
|
|
3
|
-
"version": "15.0.
|
|
3
|
+
"version": "15.0.1-develop.1",
|
|
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",
|
|
@@ -33,25 +33,25 @@
|
|
|
33
33
|
"@progress/kendo-data-query": "^1.0.0",
|
|
34
34
|
"@progress/kendo-drawing": "^1.19.0",
|
|
35
35
|
"@progress/kendo-licensing": "^1.0.2",
|
|
36
|
-
"@progress/kendo-angular-buttons": "15.0.
|
|
37
|
-
"@progress/kendo-angular-common": "15.0.
|
|
38
|
-
"@progress/kendo-angular-dateinputs": "15.0.
|
|
39
|
-
"@progress/kendo-angular-layout": "15.0.
|
|
40
|
-
"@progress/kendo-angular-dropdowns": "15.0.
|
|
41
|
-
"@progress/kendo-angular-excel-export": "15.0.
|
|
42
|
-
"@progress/kendo-angular-icons": "15.0.
|
|
43
|
-
"@progress/kendo-angular-inputs": "15.0.
|
|
44
|
-
"@progress/kendo-angular-intl": "15.0.
|
|
45
|
-
"@progress/kendo-angular-l10n": "15.0.
|
|
46
|
-
"@progress/kendo-angular-label": "15.0.
|
|
47
|
-
"@progress/kendo-angular-pdf-export": "15.0.
|
|
48
|
-
"@progress/kendo-angular-popup": "15.0.
|
|
49
|
-
"@progress/kendo-angular-utils": "15.0.
|
|
36
|
+
"@progress/kendo-angular-buttons": "15.0.1-develop.1",
|
|
37
|
+
"@progress/kendo-angular-common": "15.0.1-develop.1",
|
|
38
|
+
"@progress/kendo-angular-dateinputs": "15.0.1-develop.1",
|
|
39
|
+
"@progress/kendo-angular-layout": "15.0.1-develop.1",
|
|
40
|
+
"@progress/kendo-angular-dropdowns": "15.0.1-develop.1",
|
|
41
|
+
"@progress/kendo-angular-excel-export": "15.0.1-develop.1",
|
|
42
|
+
"@progress/kendo-angular-icons": "15.0.1-develop.1",
|
|
43
|
+
"@progress/kendo-angular-inputs": "15.0.1-develop.1",
|
|
44
|
+
"@progress/kendo-angular-intl": "15.0.1-develop.1",
|
|
45
|
+
"@progress/kendo-angular-l10n": "15.0.1-develop.1",
|
|
46
|
+
"@progress/kendo-angular-label": "15.0.1-develop.1",
|
|
47
|
+
"@progress/kendo-angular-pdf-export": "15.0.1-develop.1",
|
|
48
|
+
"@progress/kendo-angular-popup": "15.0.1-develop.1",
|
|
49
|
+
"@progress/kendo-angular-utils": "15.0.1-develop.1",
|
|
50
50
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"tslib": "^2.3.1",
|
|
54
|
-
"@progress/kendo-angular-schematics": "15.0.
|
|
54
|
+
"@progress/kendo-angular-schematics": "15.0.1-develop.1",
|
|
55
55
|
"@progress/kendo-common": "^0.2.0",
|
|
56
56
|
"@progress/kendo-file-saver": "^1.0.0"
|
|
57
57
|
},
|
|
@@ -4,13 +4,13 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
4
4
|
function default_1(options) {
|
|
5
5
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'GridModule', package: 'grid', peerDependencies: {
|
|
6
6
|
// peer dep of the dropdowns
|
|
7
|
-
'@progress/kendo-angular-treeview': '15.0.
|
|
7
|
+
'@progress/kendo-angular-treeview': '15.0.1-develop.1',
|
|
8
8
|
// peer dependency of kendo-angular-inputs
|
|
9
|
-
'@progress/kendo-angular-dialog': '15.0.
|
|
9
|
+
'@progress/kendo-angular-dialog': '15.0.1-develop.1',
|
|
10
10
|
// peer dependency of kendo-angular-icons
|
|
11
11
|
'@progress/kendo-svg-icons': '^2.0.0',
|
|
12
12
|
// peer dependency of kendo-angular-layout
|
|
13
|
-
'@progress/kendo-angular-progressbar': '15.0.
|
|
13
|
+
'@progress/kendo-angular-progressbar': '15.0.1-develop.1'
|
|
14
14
|
} });
|
|
15
15
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
16
16
|
}
|