@progress/kendo-angular-grid 23.1.1-develop.3 → 23.2.0-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.
|
@@ -17769,6 +17769,19 @@ const setFirstCellClass = (header, headers) => {
|
|
|
17769
17769
|
}
|
|
17770
17770
|
}
|
|
17771
17771
|
};
|
|
17772
|
+
const removeStickyStyles = (element) => {
|
|
17773
|
+
if (!element) {
|
|
17774
|
+
return;
|
|
17775
|
+
}
|
|
17776
|
+
const stickyCells = element.querySelectorAll('.k-grid-content-sticky, .k-grid-header-sticky');
|
|
17777
|
+
for (let i = 0; i < stickyCells.length; i++) {
|
|
17778
|
+
const cell = stickyCells[i];
|
|
17779
|
+
cell.classList.remove('k-grid-content-sticky', 'k-grid-header-sticky');
|
|
17780
|
+
cell.style.left = '';
|
|
17781
|
+
cell.style.right = '';
|
|
17782
|
+
cell.style.position = '';
|
|
17783
|
+
}
|
|
17784
|
+
};
|
|
17772
17785
|
const createTable = (colGroups, headers, bodies, footers, size) => {
|
|
17773
17786
|
const table = document.createElement('table');
|
|
17774
17787
|
const classes = ['k-table'];
|
|
@@ -17831,6 +17844,9 @@ const exportElement = (wrapper, size) => {
|
|
|
17831
17844
|
else {
|
|
17832
17845
|
result = wrapTable(query.table().cloneNode(true), size);
|
|
17833
17846
|
}
|
|
17847
|
+
// Sticky column styles (position, left, right offsets) cause misalignment
|
|
17848
|
+
// in the non-scrollable PDF export table
|
|
17849
|
+
removeStickyStyles(result);
|
|
17834
17850
|
return result;
|
|
17835
17851
|
};
|
|
17836
17852
|
|
|
@@ -18107,16 +18123,31 @@ class PDFComponent extends PDFExportComponent {
|
|
|
18107
18123
|
delete this.component;
|
|
18108
18124
|
}
|
|
18109
18125
|
onStable(callback) {
|
|
18110
|
-
//
|
|
18111
|
-
|
|
18112
|
-
|
|
18113
|
-
|
|
18114
|
-
|
|
18115
|
-
|
|
18116
|
-
|
|
18117
|
-
|
|
18118
|
-
|
|
18119
|
-
|
|
18126
|
+
// Run outside Angular to avoid triggering change detection for each setTimeout
|
|
18127
|
+
this.ngZone.runOutsideAngular(() => {
|
|
18128
|
+
// Delay subscription to zone stable to avoid race conditions where zone
|
|
18129
|
+
// stabilizes before the subscription happens
|
|
18130
|
+
setTimeout(() => {
|
|
18131
|
+
// Check if zone is already stable - if so, use microtask to schedule
|
|
18132
|
+
// callback after pending renders complete
|
|
18133
|
+
if (this.ngZone.isStable) {
|
|
18134
|
+
Promise.resolve().then(() => {
|
|
18135
|
+
if (this.delay > 0) {
|
|
18136
|
+
setTimeout(callback, this.delay);
|
|
18137
|
+
}
|
|
18138
|
+
else {
|
|
18139
|
+
callback();
|
|
18140
|
+
}
|
|
18141
|
+
});
|
|
18142
|
+
return;
|
|
18143
|
+
}
|
|
18144
|
+
let onStable = this.ngZone.onStable.asObservable().pipe(take(1));
|
|
18145
|
+
if (this.delay > 0) {
|
|
18146
|
+
onStable = onStable.pipe(delay(this.delay));
|
|
18147
|
+
}
|
|
18148
|
+
onStable.subscribe(callback);
|
|
18149
|
+
}, 0);
|
|
18150
|
+
});
|
|
18120
18151
|
}
|
|
18121
18152
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: PDFComponent, deps: [{ token: PDFService }, { token: SuspendService }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: ContextService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
18122
18153
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: PDFComponent, isStandalone: true, selector: "kendo-grid-pdf", inputs: { allPages: "allPages", delay: "delay" }, queries: [{ propertyName: "marginComponent", first: true, predicate: PDFMarginComponent, descendants: true }, { propertyName: "pageTemplateDirective", first: true, predicate: PDFTemplateDirective, descendants: true }, { propertyName: "columns", predicate: ColumnBase }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
@@ -24172,7 +24203,7 @@ const packageMetadata = {
|
|
|
24172
24203
|
productCode: 'KENDOUIANGULAR',
|
|
24173
24204
|
productCodes: ['KENDOUIANGULAR'],
|
|
24174
24205
|
publishDate: 0,
|
|
24175
|
-
version: '23.
|
|
24206
|
+
version: '23.2.0-develop.1',
|
|
24176
24207
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
24177
24208
|
};
|
|
24178
24209
|
|
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.
|
|
10
|
+
"publishDate": 1771577135,
|
|
11
|
+
"version": "23.2.0-develop.1",
|
|
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.
|
|
3
|
+
"version": "23.2.0-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",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"package": {
|
|
74
74
|
"productName": "Kendo UI for Angular",
|
|
75
75
|
"productCode": "KENDOUIANGULAR",
|
|
76
|
-
"publishDate":
|
|
76
|
+
"publishDate": 1771577135,
|
|
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.
|
|
90
|
-
"@progress/kendo-angular-common": "23.
|
|
91
|
-
"@progress/kendo-angular-dateinputs": "23.
|
|
92
|
-
"@progress/kendo-angular-layout": "23.
|
|
93
|
-
"@progress/kendo-angular-navigation": "23.
|
|
94
|
-
"@progress/kendo-angular-dropdowns": "23.
|
|
95
|
-
"@progress/kendo-angular-excel-export": "23.
|
|
96
|
-
"@progress/kendo-angular-icons": "23.
|
|
97
|
-
"@progress/kendo-angular-indicators": "23.
|
|
98
|
-
"@progress/kendo-angular-inputs": "23.
|
|
99
|
-
"@progress/kendo-angular-conversational-ui": "23.
|
|
100
|
-
"@progress/kendo-angular-intl": "23.
|
|
101
|
-
"@progress/kendo-angular-l10n": "23.
|
|
102
|
-
"@progress/kendo-angular-label": "23.
|
|
103
|
-
"@progress/kendo-angular-menu": "23.
|
|
104
|
-
"@progress/kendo-angular-pager": "23.
|
|
105
|
-
"@progress/kendo-angular-pdf-export": "23.
|
|
106
|
-
"@progress/kendo-angular-popup": "23.
|
|
107
|
-
"@progress/kendo-angular-toolbar": "23.
|
|
108
|
-
"@progress/kendo-angular-upload": "23.
|
|
109
|
-
"@progress/kendo-angular-utils": "23.
|
|
89
|
+
"@progress/kendo-angular-buttons": "23.2.0-develop.1",
|
|
90
|
+
"@progress/kendo-angular-common": "23.2.0-develop.1",
|
|
91
|
+
"@progress/kendo-angular-dateinputs": "23.2.0-develop.1",
|
|
92
|
+
"@progress/kendo-angular-layout": "23.2.0-develop.1",
|
|
93
|
+
"@progress/kendo-angular-navigation": "23.2.0-develop.1",
|
|
94
|
+
"@progress/kendo-angular-dropdowns": "23.2.0-develop.1",
|
|
95
|
+
"@progress/kendo-angular-excel-export": "23.2.0-develop.1",
|
|
96
|
+
"@progress/kendo-angular-icons": "23.2.0-develop.1",
|
|
97
|
+
"@progress/kendo-angular-indicators": "23.2.0-develop.1",
|
|
98
|
+
"@progress/kendo-angular-inputs": "23.2.0-develop.1",
|
|
99
|
+
"@progress/kendo-angular-conversational-ui": "23.2.0-develop.1",
|
|
100
|
+
"@progress/kendo-angular-intl": "23.2.0-develop.1",
|
|
101
|
+
"@progress/kendo-angular-l10n": "23.2.0-develop.1",
|
|
102
|
+
"@progress/kendo-angular-label": "23.2.0-develop.1",
|
|
103
|
+
"@progress/kendo-angular-menu": "23.2.0-develop.1",
|
|
104
|
+
"@progress/kendo-angular-pager": "23.2.0-develop.1",
|
|
105
|
+
"@progress/kendo-angular-pdf-export": "23.2.0-develop.1",
|
|
106
|
+
"@progress/kendo-angular-popup": "23.2.0-develop.1",
|
|
107
|
+
"@progress/kendo-angular-toolbar": "23.2.0-develop.1",
|
|
108
|
+
"@progress/kendo-angular-upload": "23.2.0-develop.1",
|
|
109
|
+
"@progress/kendo-angular-utils": "23.2.0-develop.1",
|
|
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.
|
|
114
|
+
"@progress/kendo-angular-schematics": "23.2.0-develop.1",
|
|
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.
|
|
13
|
-
'@progress/kendo-angular-navigation': '23.
|
|
12
|
+
'@progress/kendo-angular-treeview': '23.2.0-develop.1',
|
|
13
|
+
'@progress/kendo-angular-navigation': '23.2.0-develop.1',
|
|
14
14
|
// peer dependency of kendo-angular-inputs
|
|
15
|
-
'@progress/kendo-angular-dialog': '23.
|
|
15
|
+
'@progress/kendo-angular-dialog': '23.2.0-develop.1',
|
|
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.
|
|
19
|
+
'@progress/kendo-angular-progressbar': '23.2.0-develop.1',
|
|
20
20
|
// transitive peer dependencies from toolbar
|
|
21
|
-
'@progress/kendo-angular-indicators': '23.
|
|
21
|
+
'@progress/kendo-angular-indicators': '23.2.0-develop.1',
|
|
22
22
|
// transitive peer dependencies from conversational-ui
|
|
23
|
-
'@progress/kendo-angular-menu': '23.
|
|
24
|
-
'@progress/kendo-angular-upload': '23.
|
|
23
|
+
'@progress/kendo-angular-menu': '23.2.0-develop.1',
|
|
24
|
+
'@progress/kendo-angular-upload': '23.2.0-develop.1'
|
|
25
25
|
} });
|
|
26
26
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
27
27
|
}
|