@progress/kendo-angular-grid 21.1.1-develop.2 → 21.2.0-develop.10
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/codemods/utils.js +805 -394
- package/codemods/v20/grid-kendogridgroupbinding.js +8 -11
- package/esm2022/adaptiveness/adaptive-renderer.component.mjs +850 -756
- package/esm2022/aggregates/status-bar.component.mjs +13 -11
- package/esm2022/column-menu/column-chooser-content.component.mjs +133 -123
- package/esm2022/column-menu/column-list.component.mjs +64 -61
- package/esm2022/column-menu/column-menu-autosize-all.component.mjs +12 -11
- package/esm2022/column-menu/column-menu-autosize.component.mjs +12 -11
- package/esm2022/column-menu/column-menu-item.component.mjs +221 -85
- package/esm2022/column-menu/column-menu-position.component.mjs +46 -43
- package/esm2022/column-menu/column-menu.component.mjs +401 -315
- package/esm2022/databinding.directive.mjs +1 -0
- package/esm2022/editing/add-command.directive.mjs +27 -17
- package/esm2022/editing/cancel-command.directive.mjs +27 -17
- package/esm2022/editing/edit-command.directive.mjs +27 -17
- package/esm2022/editing/form/form-formfield.component.mjs +97 -70
- package/esm2022/editing/form/form.component.mjs +77 -61
- package/esm2022/editing/remove-command.directive.mjs +27 -17
- package/esm2022/editing/save-command.directive.mjs +27 -17
- package/esm2022/excel/excel-command.directive.mjs +27 -17
- package/esm2022/filtering/cell/filter-cell-operators.component.mjs +20 -17
- package/esm2022/filtering/cell/filter-cell.component.mjs +35 -33
- package/esm2022/filtering/filter-row.component.mjs +37 -29
- package/esm2022/filtering/menu/boolean-filter-menu.component.mjs +34 -31
- package/esm2022/filtering/menu/date-filter-menu-input.component.mjs +8 -7
- package/esm2022/filtering/menu/date-filter-menu.component.mjs +52 -49
- package/esm2022/filtering/menu/filter-menu-container.component.mjs +115 -92
- package/esm2022/filtering/menu/numeric-filter-menu.component.mjs +50 -47
- package/esm2022/filtering/menu/string-filter-menu.component.mjs +36 -33
- package/esm2022/filtering/multicheckbox-filter.component.mjs +54 -43
- package/esm2022/grid.component.mjs +1579 -1483
- package/esm2022/grouping/group-header.component.mjs +113 -89
- package/esm2022/grouping/group-panel.component.mjs +84 -77
- package/esm2022/index.mjs +1 -0
- package/esm2022/navigation/navigation.service.mjs +4 -4
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/pdf/pdf-command.directive.mjs +27 -17
- package/esm2022/rendering/cell.component.mjs +411 -365
- package/esm2022/rendering/common/col-group.component.mjs +25 -15
- package/esm2022/rendering/common/loading.component.mjs +23 -19
- package/esm2022/rendering/details/detail-template.directive.mjs +6 -4
- package/esm2022/rendering/footer/footer.component.mjs +128 -112
- package/esm2022/rendering/header/header.component.mjs +414 -353
- package/esm2022/rendering/list.component.mjs +227 -204
- package/esm2022/rendering/table-body.component.mjs +553 -493
- package/esm2022/rendering/toolbar/toolbar.component.mjs +13 -11
- package/esm2022/rendering/toolbar/tools/ai-assistant/ai-assistant.component.mjs +86 -79
- package/esm2022/rendering/toolbar/tools/filter-toolbar-tool.component.mjs +54 -51
- package/esm2022/rendering/toolbar/tools/group-toolbar-tool.component.mjs +141 -118
- package/esm2022/rendering/toolbar/tools/sort-toolbar-tool.component.mjs +72 -65
- package/fesm2022/progress-kendo-angular-grid.mjs +6462 -5545
- package/filtering/menu/date-filter-menu-input.component.d.ts +1 -2
- package/filtering/menu/filter-menu-container.component.d.ts +2 -2
- package/index.d.ts +1 -0
- package/package.json +25 -26
- package/rendering/details/detail-template.directive.d.ts +6 -4
- package/schematics/ngAdd/index.js +7 -7
- package/codemods/template-transformer/index.js +0 -93
|
@@ -7,7 +7,7 @@ import { Button } from '@progress/kendo-angular-buttons';
|
|
|
7
7
|
import { ContextService } from '../common/provider.service';
|
|
8
8
|
import { PDFService } from './pdf.service';
|
|
9
9
|
import { IconWrapperComponent } from '@progress/kendo-angular-icons';
|
|
10
|
-
import {
|
|
10
|
+
import { NgClass } from '@angular/common';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
import * as i1 from "./pdf.service";
|
|
13
13
|
import * as i2 from "../common/provider.service";
|
|
@@ -47,37 +47,47 @@ export class PDFCommandDirective extends Button {
|
|
|
47
47
|
this.ngZone = ngZone;
|
|
48
48
|
}
|
|
49
49
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PDFCommandDirective, deps: [{ token: i1.PDFService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.ContextService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
50
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: PDFCommandDirective, isStandalone: true, selector: "[kendoGridPDFCommand]", host: { listeners: { "click": "onClick($event)" }, properties: { "class.k-grid-pdf": "this.pdfClass" } }, usesInheritance: true, ngImport: i0, template: `
|
|
51
|
+
@if (icon || svgIcon) {
|
|
52
|
+
<kendo-icon-wrapper
|
|
53
53
|
innerCssClass="k-button-icon"
|
|
54
54
|
[name]="icon"
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
[svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
56
|
+
}
|
|
57
|
+
@if (imageUrl) {
|
|
58
|
+
<span class="k-button-icon k-icon">
|
|
57
59
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
58
|
-
|
|
59
|
-
|
|
60
|
+
</span>
|
|
61
|
+
}
|
|
62
|
+
@if (iconClass) {
|
|
63
|
+
<span class="k-button-icon" [ngClass]="iconClass"></span>
|
|
64
|
+
}
|
|
60
65
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
61
|
-
|
|
66
|
+
`, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
62
67
|
}
|
|
63
68
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PDFCommandDirective, decorators: [{
|
|
64
69
|
type: Component,
|
|
65
70
|
args: [{
|
|
66
71
|
selector: '[kendoGridPDFCommand]',
|
|
67
72
|
template: `
|
|
68
|
-
|
|
69
|
-
|
|
73
|
+
@if (icon || svgIcon) {
|
|
74
|
+
<kendo-icon-wrapper
|
|
70
75
|
innerCssClass="k-button-icon"
|
|
71
76
|
[name]="icon"
|
|
72
|
-
|
|
73
|
-
|
|
77
|
+
[svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
78
|
+
}
|
|
79
|
+
@if (imageUrl) {
|
|
80
|
+
<span class="k-button-icon k-icon">
|
|
74
81
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
75
|
-
|
|
76
|
-
|
|
82
|
+
</span>
|
|
83
|
+
}
|
|
84
|
+
@if (iconClass) {
|
|
85
|
+
<span class="k-button-icon" [ngClass]="iconClass"></span>
|
|
86
|
+
}
|
|
77
87
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
78
|
-
|
|
88
|
+
`,
|
|
79
89
|
standalone: true,
|
|
80
|
-
imports: [
|
|
90
|
+
imports: [IconWrapperComponent, NgClass]
|
|
81
91
|
}]
|
|
82
92
|
}], ctorParameters: () => [{ type: i1.PDFService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i2.ContextService }, { type: i0.NgZone }], propDecorators: { onClick: [{
|
|
83
93
|
type: HostListener,
|