@progress/kendo-angular-treelist 20.1.0-develop.9 → 20.1.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.
- package/esm2022/filtering/menu/filter-menu-container.component.mjs +15 -10
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/pdf/export-element.mjs +16 -5
- package/esm2022/pdf/pdf.component.mjs +8 -3
- package/esm2022/rendering/header/header.component.mjs +1 -1
- package/esm2022/row-reordering/row-reorder.service.mjs +3 -1
- package/esm2022/treelist.component.mjs +1 -1
- package/fesm2022/progress-kendo-angular-treelist.mjs +45 -23
- package/package.json +18 -18
- package/schematics/ngAdd/index.js +3 -3
|
@@ -13,6 +13,7 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
|
13
13
|
import { cloneFilters } from '../../common/filter-descriptor-differ';
|
|
14
14
|
import { FilterMenuHostDirective } from './filter-menu-host.directive';
|
|
15
15
|
import { MenuTabbingService } from './menu-tabbing.service';
|
|
16
|
+
import { ButtonComponent } from '@progress/kendo-angular-buttons';
|
|
16
17
|
import * as i0 from "@angular/core";
|
|
17
18
|
import * as i1 from "../filter.service";
|
|
18
19
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
@@ -203,20 +204,22 @@ export class FilterMenuContainerComponent {
|
|
|
203
204
|
</ng-container>
|
|
204
205
|
</ng-container>
|
|
205
206
|
<div [ngClass]="actionsClass">
|
|
206
|
-
<button
|
|
207
|
+
<button kendoButton
|
|
208
|
+
#filterButton
|
|
207
209
|
type="submit"
|
|
208
|
-
|
|
210
|
+
themeColor="primary"
|
|
211
|
+
class="k-button-rectangle"
|
|
209
212
|
[disabled]="disabled"
|
|
210
213
|
(keydown.tab)="onTab($event, 'filter')">{{filterText}}</button>
|
|
211
|
-
<button
|
|
214
|
+
<button kendoButton
|
|
212
215
|
#resetButton
|
|
213
216
|
type="reset"
|
|
214
|
-
class="k-button
|
|
217
|
+
class="k-button-rectangle"
|
|
215
218
|
(keydown.tab)="onTab($event, 'reset')">{{clearText}}</button>
|
|
216
219
|
</div>
|
|
217
220
|
</div>
|
|
218
221
|
</form>
|
|
219
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i4.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: FilterMenuHostDirective, selector: "[kendoFilterMenuHost]", inputs: ["filterService", "menuTabbingService"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
222
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i4.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: FilterMenuHostDirective, selector: "[kendoFilterMenuHost]", inputs: ["filterService", "menuTabbingService"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
220
223
|
}
|
|
221
224
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterMenuContainerComponent, decorators: [{
|
|
222
225
|
type: Component,
|
|
@@ -250,22 +253,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
250
253
|
</ng-container>
|
|
251
254
|
</ng-container>
|
|
252
255
|
<div [ngClass]="actionsClass">
|
|
253
|
-
<button
|
|
256
|
+
<button kendoButton
|
|
257
|
+
#filterButton
|
|
254
258
|
type="submit"
|
|
255
|
-
|
|
259
|
+
themeColor="primary"
|
|
260
|
+
class="k-button-rectangle"
|
|
256
261
|
[disabled]="disabled"
|
|
257
262
|
(keydown.tab)="onTab($event, 'filter')">{{filterText}}</button>
|
|
258
|
-
<button
|
|
263
|
+
<button kendoButton
|
|
259
264
|
#resetButton
|
|
260
265
|
type="reset"
|
|
261
|
-
class="k-button
|
|
266
|
+
class="k-button-rectangle"
|
|
262
267
|
(keydown.tab)="onTab($event, 'reset')">{{clearText}}</button>
|
|
263
268
|
</div>
|
|
264
269
|
</div>
|
|
265
270
|
</form>
|
|
266
271
|
`,
|
|
267
272
|
standalone: true,
|
|
268
|
-
imports: [ReactiveFormsModule, FormsModule, NgSwitch, NgSwitchCase, FilterMenuHostDirective, NgIf, NgTemplateOutlet, NgClass]
|
|
273
|
+
imports: [ReactiveFormsModule, FormsModule, NgSwitch, NgSwitchCase, FilterMenuHostDirective, NgIf, NgTemplateOutlet, NgClass, ButtonComponent]
|
|
269
274
|
}]
|
|
270
275
|
}], ctorParameters: function () { return [{ type: i1.FilterService, decorators: [{
|
|
271
276
|
type: SkipSelf
|
|
@@ -10,7 +10,7 @@ export const packageMetadata = {
|
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCode: 'KENDOUIANGULAR',
|
|
12
12
|
productCodes: ['KENDOUIANGULAR'],
|
|
13
|
-
publishDate:
|
|
14
|
-
version: '20.1.
|
|
13
|
+
publishDate: 1761222980,
|
|
14
|
+
version: '20.1.1-develop.1',
|
|
15
15
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
16
16
|
};
|
|
@@ -72,11 +72,16 @@ const createTable = (colGroups, headers, bodies, footers) => {
|
|
|
72
72
|
for (let idx = 1; idx < colGroups.length; idx++) {
|
|
73
73
|
appendNodes(colGroup, colGroups[idx].querySelectorAll('col'));
|
|
74
74
|
}
|
|
75
|
-
const header = createTableElement(headers);
|
|
76
75
|
const body = createTableElement(bodies);
|
|
77
|
-
|
|
76
|
+
let header;
|
|
77
|
+
if (headers.length > 0) {
|
|
78
|
+
header = createTableElement(headers);
|
|
79
|
+
setFirstCellClass(header, headers);
|
|
80
|
+
}
|
|
78
81
|
table.appendChild(colGroup);
|
|
79
|
-
|
|
82
|
+
if (header) {
|
|
83
|
+
table.appendChild(header);
|
|
84
|
+
}
|
|
80
85
|
table.appendChild(body);
|
|
81
86
|
if (footers.length) {
|
|
82
87
|
const footer = createTableElement(footers);
|
|
@@ -93,17 +98,23 @@ export const exportElement = (wrapper) => {
|
|
|
93
98
|
let result;
|
|
94
99
|
if (content) {
|
|
95
100
|
const colGroups = [content.querySelector('colgroup')];
|
|
96
|
-
const headers = [query.header().querySelector('thead')];
|
|
97
101
|
const bodies = [content.querySelector('tbody')];
|
|
102
|
+
const header = query.header();
|
|
98
103
|
const footer = query.footer();
|
|
104
|
+
const headers = [];
|
|
99
105
|
const footers = [];
|
|
106
|
+
if (header) {
|
|
107
|
+
headers.push(header.querySelector('thead'));
|
|
108
|
+
}
|
|
100
109
|
if (footer) {
|
|
101
110
|
footers.push(footer.querySelector('tfoot'));
|
|
102
111
|
}
|
|
103
112
|
const lockedContent = query.content(true);
|
|
104
113
|
if (lockedContent) {
|
|
114
|
+
if (headers.length > 0) {
|
|
115
|
+
headers.unshift(query.header(true).querySelector('thead'));
|
|
116
|
+
}
|
|
105
117
|
colGroups.unshift(lockedContent.querySelector('colgroup'));
|
|
106
|
-
headers.unshift(query.header(true).querySelector('thead'));
|
|
107
118
|
bodies.unshift(lockedContent.querySelector('tbody'));
|
|
108
119
|
if (footer) {
|
|
109
120
|
footers.unshift(query.footer(true).querySelector('tfoot'));
|
|
@@ -133,10 +133,15 @@ export class PDFComponent extends PDFExportComponent {
|
|
|
133
133
|
const overlayContent = overlayQuery.content();
|
|
134
134
|
overlayContent.scrollTop = content.scrollTop;
|
|
135
135
|
overlayContent.scrollLeft = content.scrollLeft;
|
|
136
|
-
|
|
136
|
+
const header = query.header();
|
|
137
|
+
const overlayHeader = overlayQuery.header();
|
|
138
|
+
if (header && overlayHeader) {
|
|
139
|
+
overlayHeader.scrollLeft = header.scrollLeft;
|
|
140
|
+
}
|
|
137
141
|
const footer = query.footer();
|
|
138
|
-
|
|
139
|
-
|
|
142
|
+
const overlayFooter = overlayQuery.footer();
|
|
143
|
+
if (footer && overlayFooter) {
|
|
144
|
+
overlayFooter.scrollLeft = footer.scrollLeft;
|
|
140
145
|
}
|
|
141
146
|
const lockedContent = query.content(true);
|
|
142
147
|
if (lockedContent) {
|
|
@@ -225,7 +225,7 @@ export class HeaderComponent {
|
|
|
225
225
|
}
|
|
226
226
|
onHeaderKeydown(column, args) {
|
|
227
227
|
const code = normalizeNumpadKeys(args);
|
|
228
|
-
if (code === Keys.ArrowDown && args.altKey && this.showFilterMenu) {
|
|
228
|
+
if (code === Keys.ArrowDown && args.altKey && this.showFilterMenu && this.isFilterable(column)) {
|
|
229
229
|
args.preventDefault();
|
|
230
230
|
args.stopImmediatePropagation();
|
|
231
231
|
const filterMenu = this.filterMenus.find(fm => fm.column === column);
|
|
@@ -87,7 +87,9 @@ export class RowReorderService {
|
|
|
87
87
|
const draggedDataItem = draggedDragRow?.dataItem;
|
|
88
88
|
isPresent(draggedDataItem) && columnFieldsArray.forEach(column => {
|
|
89
89
|
const columnValue = draggedDataItem[column];
|
|
90
|
-
isPresent(columnValue)
|
|
90
|
+
if (isPresent(columnValue)) {
|
|
91
|
+
hintText += `${columnValue} `;
|
|
92
|
+
}
|
|
91
93
|
});
|
|
92
94
|
return hintText.trim();
|
|
93
95
|
}
|
|
@@ -1505,7 +1505,7 @@ export class TreeListComponent {
|
|
|
1505
1505
|
colsForLevel.push(...c.childrenArray.sort((a, b) => a.orderIndex - b.orderIndex));
|
|
1506
1506
|
}
|
|
1507
1507
|
});
|
|
1508
|
-
expandColumnsWithSpan(colsForLevel).
|
|
1508
|
+
expandColumnsWithSpan(colsForLevel).forEach((c, i) => c.orderIndex = i);
|
|
1509
1509
|
if (level < this.columnList.totalColumnLevels()) {
|
|
1510
1510
|
this.updateIndicesForLevel(level + 1);
|
|
1511
1511
|
}
|
|
@@ -49,8 +49,8 @@ const packageMetadata = {
|
|
|
49
49
|
productName: 'Kendo UI for Angular',
|
|
50
50
|
productCode: 'KENDOUIANGULAR',
|
|
51
51
|
productCodes: ['KENDOUIANGULAR'],
|
|
52
|
-
publishDate:
|
|
53
|
-
version: '20.1.
|
|
52
|
+
publishDate: 1761222980,
|
|
53
|
+
version: '20.1.1-develop.1',
|
|
54
54
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
55
55
|
};
|
|
56
56
|
|
|
@@ -5607,7 +5607,9 @@ class RowReorderService {
|
|
|
5607
5607
|
const draggedDataItem = draggedDragRow?.dataItem;
|
|
5608
5608
|
isPresent$1(draggedDataItem) && columnFieldsArray.forEach(column => {
|
|
5609
5609
|
const columnValue = draggedDataItem[column];
|
|
5610
|
-
isPresent$1(columnValue)
|
|
5610
|
+
if (isPresent$1(columnValue)) {
|
|
5611
|
+
hintText += `${columnValue} `;
|
|
5612
|
+
}
|
|
5611
5613
|
});
|
|
5612
5614
|
return hintText.trim();
|
|
5613
5615
|
}
|
|
@@ -12528,20 +12530,22 @@ class FilterMenuContainerComponent {
|
|
|
12528
12530
|
</ng-container>
|
|
12529
12531
|
</ng-container>
|
|
12530
12532
|
<div [ngClass]="actionsClass">
|
|
12531
|
-
<button
|
|
12533
|
+
<button kendoButton
|
|
12534
|
+
#filterButton
|
|
12532
12535
|
type="submit"
|
|
12533
|
-
|
|
12536
|
+
themeColor="primary"
|
|
12537
|
+
class="k-button-rectangle"
|
|
12534
12538
|
[disabled]="disabled"
|
|
12535
12539
|
(keydown.tab)="onTab($event, 'filter')">{{filterText}}</button>
|
|
12536
|
-
<button
|
|
12540
|
+
<button kendoButton
|
|
12537
12541
|
#resetButton
|
|
12538
12542
|
type="reset"
|
|
12539
|
-
class="k-button
|
|
12543
|
+
class="k-button-rectangle"
|
|
12540
12544
|
(keydown.tab)="onTab($event, 'reset')">{{clearText}}</button>
|
|
12541
12545
|
</div>
|
|
12542
12546
|
</div>
|
|
12543
12547
|
</form>
|
|
12544
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i4.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: FilterMenuHostDirective, selector: "[kendoFilterMenuHost]", inputs: ["filterService", "menuTabbingService"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
12548
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i4.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: FilterMenuHostDirective, selector: "[kendoFilterMenuHost]", inputs: ["filterService", "menuTabbingService"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
12545
12549
|
}
|
|
12546
12550
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterMenuContainerComponent, decorators: [{
|
|
12547
12551
|
type: Component,
|
|
@@ -12575,22 +12579,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
12575
12579
|
</ng-container>
|
|
12576
12580
|
</ng-container>
|
|
12577
12581
|
<div [ngClass]="actionsClass">
|
|
12578
|
-
<button
|
|
12582
|
+
<button kendoButton
|
|
12583
|
+
#filterButton
|
|
12579
12584
|
type="submit"
|
|
12580
|
-
|
|
12585
|
+
themeColor="primary"
|
|
12586
|
+
class="k-button-rectangle"
|
|
12581
12587
|
[disabled]="disabled"
|
|
12582
12588
|
(keydown.tab)="onTab($event, 'filter')">{{filterText}}</button>
|
|
12583
|
-
<button
|
|
12589
|
+
<button kendoButton
|
|
12584
12590
|
#resetButton
|
|
12585
12591
|
type="reset"
|
|
12586
|
-
class="k-button
|
|
12592
|
+
class="k-button-rectangle"
|
|
12587
12593
|
(keydown.tab)="onTab($event, 'reset')">{{clearText}}</button>
|
|
12588
12594
|
</div>
|
|
12589
12595
|
</div>
|
|
12590
12596
|
</form>
|
|
12591
12597
|
`,
|
|
12592
12598
|
standalone: true,
|
|
12593
|
-
imports: [ReactiveFormsModule, FormsModule, NgSwitch, NgSwitchCase, FilterMenuHostDirective, NgIf, NgTemplateOutlet, NgClass]
|
|
12599
|
+
imports: [ReactiveFormsModule, FormsModule, NgSwitch, NgSwitchCase, FilterMenuHostDirective, NgIf, NgTemplateOutlet, NgClass, ButtonComponent]
|
|
12594
12600
|
}]
|
|
12595
12601
|
}], ctorParameters: function () { return [{ type: FilterService, decorators: [{
|
|
12596
12602
|
type: SkipSelf
|
|
@@ -14971,7 +14977,7 @@ class HeaderComponent {
|
|
|
14971
14977
|
}
|
|
14972
14978
|
onHeaderKeydown(column, args) {
|
|
14973
14979
|
const code = normalizeNumpadKeys(args);
|
|
14974
|
-
if (code === Keys.ArrowDown && args.altKey && this.showFilterMenu) {
|
|
14980
|
+
if (code === Keys.ArrowDown && args.altKey && this.showFilterMenu && this.isFilterable(column)) {
|
|
14975
14981
|
args.preventDefault();
|
|
14976
14982
|
args.stopImmediatePropagation();
|
|
14977
14983
|
const filterMenu = this.filterMenus.find(fm => fm.column === column);
|
|
@@ -17735,7 +17741,7 @@ class TreeListComponent {
|
|
|
17735
17741
|
colsForLevel.push(...c.childrenArray.sort((a, b) => a.orderIndex - b.orderIndex));
|
|
17736
17742
|
}
|
|
17737
17743
|
});
|
|
17738
|
-
expandColumnsWithSpan(colsForLevel).
|
|
17744
|
+
expandColumnsWithSpan(colsForLevel).forEach((c, i) => c.orderIndex = i);
|
|
17739
17745
|
if (level < this.columnList.totalColumnLevels()) {
|
|
17740
17746
|
this.updateIndicesForLevel(level + 1);
|
|
17741
17747
|
}
|
|
@@ -23473,11 +23479,16 @@ const createTable = (colGroups, headers, bodies, footers) => {
|
|
|
23473
23479
|
for (let idx = 1; idx < colGroups.length; idx++) {
|
|
23474
23480
|
appendNodes(colGroup, colGroups[idx].querySelectorAll('col'));
|
|
23475
23481
|
}
|
|
23476
|
-
const header = createTableElement(headers);
|
|
23477
23482
|
const body = createTableElement(bodies);
|
|
23478
|
-
|
|
23483
|
+
let header;
|
|
23484
|
+
if (headers.length > 0) {
|
|
23485
|
+
header = createTableElement(headers);
|
|
23486
|
+
setFirstCellClass(header, headers);
|
|
23487
|
+
}
|
|
23479
23488
|
table.appendChild(colGroup);
|
|
23480
|
-
|
|
23489
|
+
if (header) {
|
|
23490
|
+
table.appendChild(header);
|
|
23491
|
+
}
|
|
23481
23492
|
table.appendChild(body);
|
|
23482
23493
|
if (footers.length) {
|
|
23483
23494
|
const footer = createTableElement(footers);
|
|
@@ -23494,17 +23505,23 @@ const exportElement = (wrapper) => {
|
|
|
23494
23505
|
let result;
|
|
23495
23506
|
if (content) {
|
|
23496
23507
|
const colGroups = [content.querySelector('colgroup')];
|
|
23497
|
-
const headers = [query.header().querySelector('thead')];
|
|
23498
23508
|
const bodies = [content.querySelector('tbody')];
|
|
23509
|
+
const header = query.header();
|
|
23499
23510
|
const footer = query.footer();
|
|
23511
|
+
const headers = [];
|
|
23500
23512
|
const footers = [];
|
|
23513
|
+
if (header) {
|
|
23514
|
+
headers.push(header.querySelector('thead'));
|
|
23515
|
+
}
|
|
23501
23516
|
if (footer) {
|
|
23502
23517
|
footers.push(footer.querySelector('tfoot'));
|
|
23503
23518
|
}
|
|
23504
23519
|
const lockedContent = query.content(true);
|
|
23505
23520
|
if (lockedContent) {
|
|
23521
|
+
if (headers.length > 0) {
|
|
23522
|
+
headers.unshift(query.header(true).querySelector('thead'));
|
|
23523
|
+
}
|
|
23506
23524
|
colGroups.unshift(lockedContent.querySelector('colgroup'));
|
|
23507
|
-
headers.unshift(query.header(true).querySelector('thead'));
|
|
23508
23525
|
bodies.unshift(lockedContent.querySelector('tbody'));
|
|
23509
23526
|
if (footer) {
|
|
23510
23527
|
footers.unshift(query.footer(true).querySelector('tfoot'));
|
|
@@ -23635,10 +23652,15 @@ class PDFComponent extends PDFExportComponent {
|
|
|
23635
23652
|
const overlayContent = overlayQuery.content();
|
|
23636
23653
|
overlayContent.scrollTop = content.scrollTop;
|
|
23637
23654
|
overlayContent.scrollLeft = content.scrollLeft;
|
|
23638
|
-
|
|
23655
|
+
const header = query.header();
|
|
23656
|
+
const overlayHeader = overlayQuery.header();
|
|
23657
|
+
if (header && overlayHeader) {
|
|
23658
|
+
overlayHeader.scrollLeft = header.scrollLeft;
|
|
23659
|
+
}
|
|
23639
23660
|
const footer = query.footer();
|
|
23640
|
-
|
|
23641
|
-
|
|
23661
|
+
const overlayFooter = overlayQuery.footer();
|
|
23662
|
+
if (footer && overlayFooter) {
|
|
23663
|
+
overlayFooter.scrollLeft = footer.scrollLeft;
|
|
23642
23664
|
}
|
|
23643
23665
|
const lockedContent = query.content(true);
|
|
23644
23666
|
if (lockedContent) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-treelist",
|
|
3
|
-
"version": "20.1.
|
|
3
|
+
"version": "20.1.1-develop.1",
|
|
4
4
|
"description": "Kendo UI TreeList for Angular - Display hierarchical data in an Angular tree grid view that supports sorting, filtering, paging, and much more.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"package": {
|
|
25
25
|
"productName": "Kendo UI for Angular",
|
|
26
26
|
"productCode": "KENDOUIANGULAR",
|
|
27
|
-
"publishDate":
|
|
27
|
+
"publishDate": 1761222980,
|
|
28
28
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
29
29
|
}
|
|
30
30
|
},
|
|
@@ -37,26 +37,26 @@
|
|
|
37
37
|
"@progress/kendo-data-query": "^1.0.0",
|
|
38
38
|
"@progress/kendo-drawing": "^1.21.0",
|
|
39
39
|
"@progress/kendo-licensing": "^1.7.0",
|
|
40
|
-
"@progress/kendo-angular-buttons": "20.1.
|
|
41
|
-
"@progress/kendo-angular-common": "20.1.
|
|
42
|
-
"@progress/kendo-angular-dateinputs": "20.1.
|
|
43
|
-
"@progress/kendo-angular-dropdowns": "20.1.
|
|
44
|
-
"@progress/kendo-angular-excel-export": "20.1.
|
|
45
|
-
"@progress/kendo-angular-icons": "20.1.
|
|
46
|
-
"@progress/kendo-angular-inputs": "20.1.
|
|
47
|
-
"@progress/kendo-angular-intl": "20.1.
|
|
48
|
-
"@progress/kendo-angular-l10n": "20.1.
|
|
49
|
-
"@progress/kendo-angular-label": "20.1.
|
|
50
|
-
"@progress/kendo-angular-pager": "20.1.
|
|
51
|
-
"@progress/kendo-angular-pdf-export": "20.1.
|
|
52
|
-
"@progress/kendo-angular-popup": "20.1.
|
|
53
|
-
"@progress/kendo-angular-toolbar": "20.1.
|
|
54
|
-
"@progress/kendo-angular-utils": "20.1.
|
|
40
|
+
"@progress/kendo-angular-buttons": "20.1.1-develop.1",
|
|
41
|
+
"@progress/kendo-angular-common": "20.1.1-develop.1",
|
|
42
|
+
"@progress/kendo-angular-dateinputs": "20.1.1-develop.1",
|
|
43
|
+
"@progress/kendo-angular-dropdowns": "20.1.1-develop.1",
|
|
44
|
+
"@progress/kendo-angular-excel-export": "20.1.1-develop.1",
|
|
45
|
+
"@progress/kendo-angular-icons": "20.1.1-develop.1",
|
|
46
|
+
"@progress/kendo-angular-inputs": "20.1.1-develop.1",
|
|
47
|
+
"@progress/kendo-angular-intl": "20.1.1-develop.1",
|
|
48
|
+
"@progress/kendo-angular-l10n": "20.1.1-develop.1",
|
|
49
|
+
"@progress/kendo-angular-label": "20.1.1-develop.1",
|
|
50
|
+
"@progress/kendo-angular-pager": "20.1.1-develop.1",
|
|
51
|
+
"@progress/kendo-angular-pdf-export": "20.1.1-develop.1",
|
|
52
|
+
"@progress/kendo-angular-popup": "20.1.1-develop.1",
|
|
53
|
+
"@progress/kendo-angular-toolbar": "20.1.1-develop.1",
|
|
54
|
+
"@progress/kendo-angular-utils": "20.1.1-develop.1",
|
|
55
55
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"tslib": "^2.3.1",
|
|
59
|
-
"@progress/kendo-angular-schematics": "20.1.
|
|
59
|
+
"@progress/kendo-angular-schematics": "20.1.1-develop.1",
|
|
60
60
|
"@progress/kendo-common": "^1.0.1",
|
|
61
61
|
"@progress/kendo-file-saver": "^1.0.0"
|
|
62
62
|
},
|
|
@@ -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: 'TreeListModule', package: 'treelist', peerDependencies: {
|
|
6
6
|
// peer dep of the dropdowns
|
|
7
|
-
'@progress/kendo-angular-treeview': '20.1.
|
|
7
|
+
'@progress/kendo-angular-treeview': '20.1.1-develop.1',
|
|
8
8
|
// peer dependency of kendo-angular-inputs
|
|
9
|
-
'@progress/kendo-angular-dialog': '20.1.
|
|
9
|
+
'@progress/kendo-angular-dialog': '20.1.1-develop.1',
|
|
10
10
|
// peer dependency of kendo-angular-icons
|
|
11
11
|
'@progress/kendo-svg-icons': '^4.0.0',
|
|
12
12
|
// peer dependency of kendo-angular-dateinputs
|
|
13
|
-
'@progress/kendo-angular-navigation': '20.1.
|
|
13
|
+
'@progress/kendo-angular-navigation': '20.1.1-develop.1',
|
|
14
14
|
} });
|
|
15
15
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
16
16
|
}
|