@progress/kendo-angular-grid 13.0.0-develop.1 → 13.0.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/column-menu/column-chooser.component.d.ts +1 -1
- package/column-menu/column-menu-autosize-all.component.d.ts +3 -4
- package/column-menu/column-menu-chooser.component.d.ts +3 -4
- package/column-menu/column-menu-filter.component.d.ts +3 -4
- package/column-menu/column-menu-lock.component.d.ts +3 -4
- package/column-menu/column-menu-position.component.d.ts +3 -4
- package/column-menu/column-menu-sort.component.d.ts +4 -2
- package/esm2020/column-menu/column-chooser.component.mjs +1 -1
- package/esm2020/column-menu/column-list.component.mjs +3 -3
- package/esm2020/column-menu/column-menu-autosize-all.component.mjs +3 -4
- package/esm2020/column-menu/column-menu-chooser.component.mjs +4 -5
- package/esm2020/column-menu/column-menu-filter.component.mjs +4 -5
- package/esm2020/column-menu/column-menu-item.component.mjs +1 -1
- package/esm2020/column-menu/column-menu-lock.component.mjs +3 -4
- package/esm2020/column-menu/column-menu-position.component.mjs +3 -4
- package/esm2020/column-menu/column-menu-sort.component.mjs +4 -2
- package/esm2020/column-menu/column-menu.component.mjs +1 -1
- package/esm2020/editing/add-command.directive.mjs +1 -1
- package/esm2020/editing/cancel-command.directive.mjs +1 -1
- package/esm2020/editing/edit-command.directive.mjs +1 -1
- package/esm2020/editing/remove-command.directive.mjs +1 -1
- package/esm2020/editing/save-command.directive.mjs +1 -1
- package/esm2020/excel/excel-command.directive.mjs +1 -1
- package/esm2020/filtering/menu/filter-menu-container.component.mjs +11 -11
- package/esm2020/filtering/menu/filter-menu.component.mjs +1 -1
- package/esm2020/grid.component.mjs +15 -15
- package/esm2020/grouping/group-header.component.mjs +25 -8
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/pager/pager-element.component.mjs +17 -0
- package/esm2020/pager/pager-next-buttons.component.mjs +8 -11
- package/esm2020/pager/pager-page-sizes.component.mjs +1 -1
- package/esm2020/pager/pager-prev-buttons.component.mjs +8 -11
- package/esm2020/pdf/pdf-command.directive.mjs +1 -1
- package/esm2020/rendering/cell.component.mjs +1 -1
- package/esm2020/rendering/header/header.component.mjs +1 -1
- package/esm2020/rendering/table-body.component.mjs +1 -1
- package/fesm2015/progress-kendo-angular-grid.mjs +123 -97
- package/fesm2020/progress-kendo-angular-grid.mjs +123 -97
- package/grouping/group-header.component.d.ts +6 -3
- package/package.json +16 -16
- package/pager/pager-element.component.d.ts +9 -0
- package/pager/pager-next-buttons.component.d.ts +0 -3
- package/pager/pager-prev-buttons.component.d.ts +0 -3
- package/schematics/ngAdd/index.js +3 -3
- package/scrolling/scroll-request.service.d.ts +6 -0
|
@@ -10,7 +10,7 @@ import { Button } from '@progress/kendo-angular-buttons';
|
|
|
10
10
|
import { ContextService } from '../common/provider.service';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
/**
|
|
13
|
-
* Represents the component for toggling the Grid columns visibility. [See example](slug:columnmenu_grid#toc-using-standalone-column-chooser).
|
|
13
|
+
* Represents the component for toggling visibility of the Grid columns visibility. [See example](slug:columnmenu_grid#toc-using-standalone-column-chooser).
|
|
14
14
|
* To show and hide the columns without including the column chooser item in the [Column Menu](slug:columnmenu_grid),
|
|
15
15
|
* add the component inside the [ToolbarTemplate](slug:toolbartemplate_grid) directive.
|
|
16
16
|
*
|
|
@@ -10,11 +10,10 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
/**
|
|
11
11
|
* Represents the column-menu item for resizing all columns to the minimum possible width so that they fit the widest header or cell content without wrapping.
|
|
12
12
|
* [See example](slug:columnmenu_grid#toc-autosize-all-columns-item).
|
|
13
|
-
* The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
14
|
-
* [See example](slug:columnmenu_grid#toc-customizing-the-content).
|
|
15
13
|
*
|
|
16
|
-
*
|
|
17
|
-
* the
|
|
14
|
+
* The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
15
|
+
* To register the component as a known column menu item, set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
|
|
16
|
+
* the template to the `service` input of the `kendo-grid-columnmenu-autosize-all-columns` component. [See example](slug:columnmenu_grid#toc-customizing-the-content).
|
|
18
17
|
*
|
|
19
18
|
* @example
|
|
20
19
|
* ```html
|
|
@@ -10,11 +10,10 @@ import { ContextService } from '../common/provider.service';
|
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
12
|
* Represents the column-menu item for selecting columns in the Grid. [See example](slug:columnmenu_grid#toc-column-chooser-item).
|
|
13
|
-
* The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
14
|
-
* [See example](slug:columnmenu_grid#toc-customizing-the-content).
|
|
15
13
|
*
|
|
16
|
-
*
|
|
17
|
-
* the
|
|
14
|
+
* The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
15
|
+
* To register the component as a known column menu item, set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
|
|
16
|
+
* the template to the service input of the `kendo-grid-columnmenu-chooser` component. [See example](slug:columnmenu_grid#toc-customizing-the-content).
|
|
18
17
|
*
|
|
19
18
|
* @example
|
|
20
19
|
* ```html
|
|
@@ -9,11 +9,10 @@ import { ColumnMenuItemBase } from './column-menu-item-base';
|
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
/**
|
|
11
11
|
* Represents the column-menu item for editing column filters in the Grid. [See example](slug:columnmenu_grid#toc-filter-item).
|
|
12
|
-
* The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
13
|
-
* [See example](slug:columnmenu_grid#toc-customizing-the-content).
|
|
14
12
|
*
|
|
15
|
-
*
|
|
16
|
-
* the
|
|
13
|
+
* The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
14
|
+
* To register the component as a known column menu item, set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
|
|
15
|
+
* the template to the service input of the `kendo-grid-columnmenu-filter` component. [See example](slug:columnmenu_grid#toc-customizing-the-content).
|
|
17
16
|
*
|
|
18
17
|
* @example
|
|
19
18
|
* ```html
|
|
@@ -10,11 +10,10 @@ import { ColumnMenuItemBase } from './column-menu-item-base';
|
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
12
|
* Represents the column-menu item for locking and unlocking columns in the Grid. [See example](slug:columnmenu_grid#toc-lock-and-unlock-items).
|
|
13
|
-
* The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
14
|
-
* [See example](slug:columnmenu_grid#toc-customizing-the-content).
|
|
15
13
|
*
|
|
16
|
-
*
|
|
17
|
-
* the
|
|
14
|
+
* The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
15
|
+
* To register the component as a known column menu item, set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
|
|
16
|
+
* the template to the service input of the `kendo-grid-columnmenu-lock` component. [See example](slug:columnmenu_grid#toc-customizing-the-content).
|
|
18
17
|
*
|
|
19
18
|
* @example
|
|
20
19
|
* ```html
|
|
@@ -9,11 +9,10 @@ import { ColumnMenuItemBase } from './column-menu-item-base';
|
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
/**
|
|
11
11
|
* Represents the column-menu item which combines the lock and sticky column functionalities.
|
|
12
|
-
* [See example](slug:columnmenu_grid#toc-set-column-position-item).
|
|
13
|
-
* The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
14
12
|
*
|
|
15
|
-
*
|
|
16
|
-
* the
|
|
13
|
+
* The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
14
|
+
* To register the component as a known column menu item, set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
|
|
15
|
+
* the template to the service input of the `kendo-grid-columnmenu-position` component. [See example](slug:columnmenu_grid#toc-set-column-position-item).
|
|
17
16
|
*
|
|
18
17
|
* @example
|
|
19
18
|
* ```html
|
|
@@ -11,8 +11,10 @@ import * as i0 from "@angular/core";
|
|
|
11
11
|
/**
|
|
12
12
|
* Represents the column-menu item for sorting Grid columns.
|
|
13
13
|
* [See example](slug:columnmenu_grid#toc-sort-item).
|
|
14
|
-
*
|
|
15
|
-
* [
|
|
14
|
+
*
|
|
15
|
+
* The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
16
|
+
* To register the component as a known column menu item, set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
|
|
17
|
+
* the template to the service input of the `kendo-grid-columnmenu-sort` component. [See example](slug:columnmenu_grid#toc-customizing-the-content).
|
|
16
18
|
*
|
|
17
19
|
* You have to set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
|
|
18
20
|
* the template to the service input of the `kendo-grid-columnmenu-sort` component.
|
|
@@ -16,7 +16,7 @@ import * as i3 from "@progress/kendo-angular-popup";
|
|
|
16
16
|
import * as i4 from "@progress/kendo-angular-buttons";
|
|
17
17
|
import * as i5 from "./column-list.component";
|
|
18
18
|
/**
|
|
19
|
-
* Represents the component for toggling the Grid columns visibility. [See example](slug:columnmenu_grid#toc-using-standalone-column-chooser).
|
|
19
|
+
* Represents the component for toggling visibility of the Grid columns visibility. [See example](slug:columnmenu_grid#toc-using-standalone-column-chooser).
|
|
20
20
|
* To show and hide the columns without including the column chooser item in the [Column Menu](slug:columnmenu_grid),
|
|
21
21
|
* add the component inside the [ToolbarTemplate](slug:toolbartemplate_grid) directive.
|
|
22
22
|
*
|
|
@@ -20,7 +20,7 @@ export class ColumnListComponent {
|
|
|
20
20
|
this.columnChange = new EventEmitter();
|
|
21
21
|
this.autoSync = true;
|
|
22
22
|
this.allowHideAll = false;
|
|
23
|
-
this.actionsClass = 'k-actions';
|
|
23
|
+
this.actionsClass = 'k-actions k-actions-stretched k-actions-horizontal';
|
|
24
24
|
this.unlockedCount = 0;
|
|
25
25
|
}
|
|
26
26
|
get className() {
|
|
@@ -159,8 +159,8 @@ ColumnListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
159
159
|
</label>
|
|
160
160
|
</div>
|
|
161
161
|
<div [ngClass]="actionsClass" *ngIf="!autoSync">
|
|
162
|
-
<button type="button" class="k-button k-button-solid-base k-button-solid k-button-md k-rounded-md k-button-rectangle" (click)="cancelChanges()">{{ resetText }}</button>
|
|
163
162
|
<button #applyButton type="button" (keydown.tab)="onTab($event)" class="k-button k-button-solid-primary k-button-solid k-button-md k-rounded-md k-button-rectangle" (click)="applyChanges()">{{ applyText }}</button>
|
|
163
|
+
<button type="button" class="k-button k-button-solid-base k-button-solid k-button-md k-rounded-md k-button-rectangle" (click)="cancelChanges()">{{ resetText }}</button>
|
|
164
164
|
</div>
|
|
165
165
|
`, isInline: true, directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
166
166
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnListComponent, decorators: [{
|
|
@@ -174,8 +174,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
174
174
|
</label>
|
|
175
175
|
</div>
|
|
176
176
|
<div [ngClass]="actionsClass" *ngIf="!autoSync">
|
|
177
|
-
<button type="button" class="k-button k-button-solid-base k-button-solid k-button-md k-rounded-md k-button-rectangle" (click)="cancelChanges()">{{ resetText }}</button>
|
|
178
177
|
<button #applyButton type="button" (keydown.tab)="onTab($event)" class="k-button k-button-solid-primary k-button-solid k-button-md k-rounded-md k-button-rectangle" (click)="applyChanges()">{{ applyText }}</button>
|
|
178
|
+
<button type="button" class="k-button k-button-solid-base k-button-solid k-button-md k-rounded-md k-button-rectangle" (click)="cancelChanges()">{{ resetText }}</button>
|
|
179
179
|
</div>
|
|
180
180
|
`
|
|
181
181
|
}]
|
|
@@ -15,11 +15,10 @@ import * as i3 from "@angular/common";
|
|
|
15
15
|
/**
|
|
16
16
|
* Represents the column-menu item for resizing all columns to the minimum possible width so that they fit the widest header or cell content without wrapping.
|
|
17
17
|
* [See example](slug:columnmenu_grid#toc-autosize-all-columns-item).
|
|
18
|
-
* The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
19
|
-
* [See example](slug:columnmenu_grid#toc-customizing-the-content).
|
|
20
18
|
*
|
|
21
|
-
*
|
|
22
|
-
* the
|
|
19
|
+
* The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
20
|
+
* To register the component as a known column menu item, set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
|
|
21
|
+
* the template to the `service` input of the `kendo-grid-columnmenu-autosize-all-columns` component. [See example](slug:columnmenu_grid#toc-customizing-the-content).
|
|
23
22
|
*
|
|
24
23
|
* @example
|
|
25
24
|
* ```html
|
|
@@ -15,11 +15,10 @@ import * as i4 from "./column-list.component";
|
|
|
15
15
|
import * as i5 from "./column-menu-item-content-template.directive";
|
|
16
16
|
/**
|
|
17
17
|
* Represents the column-menu item for selecting columns in the Grid. [See example](slug:columnmenu_grid#toc-column-chooser-item).
|
|
18
|
-
* The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
19
|
-
* [See example](slug:columnmenu_grid#toc-customizing-the-content).
|
|
20
18
|
*
|
|
21
|
-
*
|
|
22
|
-
* the
|
|
19
|
+
* The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
20
|
+
* To register the component as a known column menu item, set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
|
|
21
|
+
* the template to the service input of the `kendo-grid-columnmenu-chooser` component. [See example](slug:columnmenu_grid#toc-customizing-the-content).
|
|
23
22
|
*
|
|
24
23
|
* @example
|
|
25
24
|
* ```html
|
|
@@ -57,7 +56,7 @@ export class ColumnMenuChooserComponent extends ColumnMenuItemBase {
|
|
|
57
56
|
/**
|
|
58
57
|
* @hidden
|
|
59
58
|
*/
|
|
60
|
-
this.actionsClass = 'k-actions';
|
|
59
|
+
this.actionsClass = 'k-actions k-actions-stretched k-actions-horizontal';
|
|
61
60
|
this.columnsIcon = columnsIcon;
|
|
62
61
|
}
|
|
63
62
|
get columns() {
|
|
@@ -13,11 +13,10 @@ import * as i3 from "../filtering/menu/filter-menu-container.component";
|
|
|
13
13
|
import * as i4 from "./column-menu-item-content-template.directive";
|
|
14
14
|
/**
|
|
15
15
|
* Represents the column-menu item for editing column filters in the Grid. [See example](slug:columnmenu_grid#toc-filter-item).
|
|
16
|
-
* The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
17
|
-
* [See example](slug:columnmenu_grid#toc-customizing-the-content).
|
|
18
16
|
*
|
|
19
|
-
*
|
|
20
|
-
* the
|
|
17
|
+
* The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
18
|
+
* To register the component as a known column menu item, set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
|
|
19
|
+
* the template to the service input of the `kendo-grid-columnmenu-filter` component. [See example](slug:columnmenu_grid#toc-customizing-the-content).
|
|
21
20
|
*
|
|
22
21
|
* @example
|
|
23
22
|
* ```html
|
|
@@ -54,7 +53,7 @@ export class ColumnMenuFilterComponent extends ColumnMenuItemBase {
|
|
|
54
53
|
/**
|
|
55
54
|
* @hidden
|
|
56
55
|
*/
|
|
57
|
-
this.actionsClass = 'k-actions';
|
|
56
|
+
this.actionsClass = 'k-actions k-actions-stretched k-actions-horizontal';
|
|
58
57
|
this.filterIcon = filterIcon;
|
|
59
58
|
}
|
|
60
59
|
/**
|
|
@@ -81,7 +81,7 @@ ColumnMenuItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
81
81
|
<ng-container [ngTemplateOutlet]="contentTemplate.templateRef">
|
|
82
82
|
</ng-container>
|
|
83
83
|
<div>
|
|
84
|
-
`, isInline: true, components: [{ type: i1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], animations: [
|
|
84
|
+
`, isInline: true, components: [{ type: i1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], animations: [
|
|
85
85
|
trigger('state', [
|
|
86
86
|
state('collapsed', style({ display: 'none' })),
|
|
87
87
|
state('expanded', style({ display: 'block' })),
|
|
@@ -13,11 +13,10 @@ import * as i2 from "../common/column-info.service";
|
|
|
13
13
|
import * as i3 from "./column-menu-item.component";
|
|
14
14
|
/**
|
|
15
15
|
* Represents the column-menu item for locking and unlocking columns in the Grid. [See example](slug:columnmenu_grid#toc-lock-and-unlock-items).
|
|
16
|
-
* The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
17
|
-
* [See example](slug:columnmenu_grid#toc-customizing-the-content).
|
|
18
16
|
*
|
|
19
|
-
*
|
|
20
|
-
* the
|
|
17
|
+
* The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
18
|
+
* To register the component as a known column menu item, set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
|
|
19
|
+
* the template to the service input of the `kendo-grid-columnmenu-lock` component. [See example](slug:columnmenu_grid#toc-customizing-the-content).
|
|
21
20
|
*
|
|
22
21
|
* @example
|
|
23
22
|
* ```html
|
|
@@ -15,11 +15,10 @@ import * as i5 from "./column-menu-item-content-template.directive";
|
|
|
15
15
|
import * as i6 from "@angular/common";
|
|
16
16
|
/**
|
|
17
17
|
* Represents the column-menu item which combines the lock and sticky column functionalities.
|
|
18
|
-
* [See example](slug:columnmenu_grid#toc-set-column-position-item).
|
|
19
|
-
* The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
20
18
|
*
|
|
21
|
-
*
|
|
22
|
-
* the
|
|
19
|
+
* The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
20
|
+
* To register the component as a known column menu item, set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
|
|
21
|
+
* the template to the service input of the `kendo-grid-columnmenu-position` component. [See example](slug:columnmenu_grid#toc-set-column-position-item).
|
|
23
22
|
*
|
|
24
23
|
* @example
|
|
25
24
|
* ```html
|
|
@@ -15,8 +15,10 @@ import * as i3 from "./column-menu-item.component";
|
|
|
15
15
|
/**
|
|
16
16
|
* Represents the column-menu item for sorting Grid columns.
|
|
17
17
|
* [See example](slug:columnmenu_grid#toc-sort-item).
|
|
18
|
-
*
|
|
19
|
-
* [
|
|
18
|
+
*
|
|
19
|
+
* The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
20
|
+
* To register the component as a known column menu item, set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
|
|
21
|
+
* the template to the service input of the `kendo-grid-columnmenu-sort` component. [See example](slug:columnmenu_grid#toc-customizing-the-content).
|
|
20
22
|
*
|
|
21
23
|
* You have to set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
|
|
22
24
|
* the template to the service input of the `kendo-grid-columnmenu-sort` component.
|
|
@@ -424,7 +424,7 @@ ColumnMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
424
424
|
</kendo-tabstrip-tab>
|
|
425
425
|
</kendo-tabstrip>
|
|
426
426
|
</ng-template>
|
|
427
|
-
`, isInline: true, components: [{ type: i6.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: i7.ColumnMenuContainerComponent, selector: "kendo-grid-columnmenu-container" }, { type: i8.ColumnMenuSortComponent, selector: "kendo-grid-columnmenu-sort" }, { type: i9.ColumnMenuLockComponent, selector: "kendo-grid-columnmenu-lock" }, { type: i10.ColumnMenuStickComponent, selector: "kendo-grid-columnmenu-stick" }, { type: i11.ColumnMenuPositionComponent, selector: "kendo-grid-columnmenu-position", inputs: ["expanded", "showLock", "showStick", "isLast"], outputs: ["expand", "collapse"] }, { type: i12.ColumnMenuChooserComponent, selector: "kendo-grid-columnmenu-chooser", inputs: ["expanded", "isLast"], outputs: ["expand", "collapse"] }, { type: i13.ColumnMenuAutoSizeColumnComponent, selector: "kendo-grid-columnmenu-autosize-column", inputs: ["column"] }, { type: i14.ColumnMenuAutoSizeAllColumnsComponent, selector: "kendo-grid-columnmenu-autosize-all-columns" }, { type: i15.ColumnMenuFilterComponent, selector: "kendo-grid-columnmenu-filter", inputs: ["expanded", "isLast"], outputs: ["expand", "collapse"] }, { type: i16.TabStripComponent, selector: "kendo-tabstrip", inputs: ["height", "animate", "tabAlignment", "tabPosition", "keepTabContent", "closable", "scrollable", "closeIcon", "closeIconClass", "closeSVGIcon"], outputs: ["tabSelect", "tabClose", "tabScroll"], exportAs: ["kendoTabStrip"] }, { type: i16.TabStripTabComponent, selector: "kendo-tabstrip-tab", inputs: ["title", "disabled", "cssClass", "cssStyle", "selected", "closable", "closeIcon", "closeIconClass", "closeSVGIcon"], exportAs: ["kendoTabStripTab"] }, { type: i17.FilterMenuContainerComponent, selector: "kendo-grid-filter-menu-container", inputs: ["column", "isLast", "isExpanded", "menuTabbingService", "filter", "actionsClass"], outputs: ["close"] }, { type: i18.ColumnListComponent, selector: "kendo-grid-columnlist", inputs: ["columns", "autoSync", "allowHideAll", "applyText", "resetText", "actionsClass", "isLast", "isExpanded", "service"], outputs: ["reset", "apply", "columnChange"] }], directives: [{ type: i19.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i19.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i19.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i20.ColumnMenuItemDirective, selector: "[kendoGridColumnMenuItem]", inputs: ["kendoGridColumnMenuItem"] }, { type: i16.TabTitleDirective, selector: "[kendoTabTitle]" }, { type: i16.TabContentDirective, selector: "[kendoTabContent]" }] });
|
|
427
|
+
`, isInline: true, components: [{ type: i6.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { type: i7.ColumnMenuContainerComponent, selector: "kendo-grid-columnmenu-container" }, { type: i8.ColumnMenuSortComponent, selector: "kendo-grid-columnmenu-sort" }, { type: i9.ColumnMenuLockComponent, selector: "kendo-grid-columnmenu-lock" }, { type: i10.ColumnMenuStickComponent, selector: "kendo-grid-columnmenu-stick" }, { type: i11.ColumnMenuPositionComponent, selector: "kendo-grid-columnmenu-position", inputs: ["expanded", "showLock", "showStick", "isLast"], outputs: ["expand", "collapse"] }, { type: i12.ColumnMenuChooserComponent, selector: "kendo-grid-columnmenu-chooser", inputs: ["expanded", "isLast"], outputs: ["expand", "collapse"] }, { type: i13.ColumnMenuAutoSizeColumnComponent, selector: "kendo-grid-columnmenu-autosize-column", inputs: ["column"] }, { type: i14.ColumnMenuAutoSizeAllColumnsComponent, selector: "kendo-grid-columnmenu-autosize-all-columns" }, { type: i15.ColumnMenuFilterComponent, selector: "kendo-grid-columnmenu-filter", inputs: ["expanded", "isLast"], outputs: ["expand", "collapse"] }, { type: i16.TabStripComponent, selector: "kendo-tabstrip", inputs: ["height", "animate", "tabAlignment", "tabPosition", "keepTabContent", "closable", "scrollable", "closeIcon", "closeIconClass", "closeSVGIcon"], outputs: ["tabSelect", "tabClose", "tabScroll"], exportAs: ["kendoTabStrip"] }, { type: i16.TabStripTabComponent, selector: "kendo-tabstrip-tab", inputs: ["title", "disabled", "cssClass", "cssStyle", "selected", "closable", "closeIcon", "closeIconClass", "closeSVGIcon"], exportAs: ["kendoTabStripTab"] }, { type: i17.FilterMenuContainerComponent, selector: "kendo-grid-filter-menu-container", inputs: ["column", "isLast", "isExpanded", "menuTabbingService", "filter", "actionsClass"], outputs: ["close"] }, { type: i18.ColumnListComponent, selector: "kendo-grid-columnlist", inputs: ["columns", "autoSync", "allowHideAll", "applyText", "resetText", "actionsClass", "isLast", "isExpanded", "service"], outputs: ["reset", "apply", "columnChange"] }], directives: [{ type: i19.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i19.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i19.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i20.ColumnMenuItemDirective, selector: "[kendoGridColumnMenuItem]", inputs: ["kendoGridColumnMenuItem"] }, { type: i16.TabTitleDirective, selector: "[kendoTabTitle]" }, { type: i16.TabContentDirective, selector: "[kendoTabContent]" }] });
|
|
428
428
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnMenuComponent, decorators: [{
|
|
429
429
|
type: Component,
|
|
430
430
|
args: [{
|
|
@@ -58,7 +58,7 @@ AddCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
58
58
|
</span>
|
|
59
59
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
60
60
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
61
|
-
`, isInline: true, components: [{ type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
61
|
+
`, isInline: true, components: [{ type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
62
62
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AddCommandDirective, decorators: [{
|
|
63
63
|
type: Component,
|
|
64
64
|
args: [{
|
|
@@ -77,7 +77,7 @@ CancelCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
77
77
|
</span>
|
|
78
78
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
79
79
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
80
|
-
`, isInline: true, components: [{ type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
80
|
+
`, isInline: true, components: [{ type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
81
81
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CancelCommandDirective, decorators: [{
|
|
82
82
|
type: Component,
|
|
83
83
|
args: [{
|
|
@@ -75,7 +75,7 @@ EditCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
75
75
|
</span>
|
|
76
76
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
77
77
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
78
|
-
`, isInline: true, components: [{ type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
78
|
+
`, isInline: true, components: [{ type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
79
79
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditCommandDirective, decorators: [{
|
|
80
80
|
type: Component,
|
|
81
81
|
args: [{
|
|
@@ -74,7 +74,7 @@ RemoveCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
74
74
|
</span>
|
|
75
75
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
76
76
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
77
|
-
`, isInline: true, components: [{ type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
77
|
+
`, isInline: true, components: [{ type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
78
78
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RemoveCommandDirective, decorators: [{
|
|
79
79
|
type: Component,
|
|
80
80
|
args: [{
|
|
@@ -77,7 +77,7 @@ SaveCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
77
77
|
</span>
|
|
78
78
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
79
79
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
80
|
-
`, isInline: true, components: [{ type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
80
|
+
`, isInline: true, components: [{ type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
81
81
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SaveCommandDirective, decorators: [{
|
|
82
82
|
type: Component,
|
|
83
83
|
args: [{
|
|
@@ -62,7 +62,7 @@ ExcelCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
62
62
|
</span>
|
|
63
63
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
64
64
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
65
|
-
`, isInline: true, components: [{ type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
65
|
+
`, isInline: true, components: [{ type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
66
66
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ExcelCommandDirective, decorators: [{
|
|
67
67
|
type: Component,
|
|
68
68
|
args: [{
|
|
@@ -57,7 +57,7 @@ export class FilterMenuContainerComponent {
|
|
|
57
57
|
/**
|
|
58
58
|
* @hidden
|
|
59
59
|
*/
|
|
60
|
-
this.actionsClass = 'k-actions';
|
|
60
|
+
this.actionsClass = 'k-actions k-actions-stretched k-actions-horizontal';
|
|
61
61
|
this._templateContext = {};
|
|
62
62
|
this.menuTabbingService = menuTabbingService;
|
|
63
63
|
}
|
|
@@ -179,16 +179,16 @@ FilterMenuContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
179
179
|
</ng-container>
|
|
180
180
|
</ng-container>
|
|
181
181
|
<div [ngClass]="actionsClass">
|
|
182
|
-
<button
|
|
183
|
-
#resetButton
|
|
184
|
-
type="reset"
|
|
185
|
-
class="k-button k-button-solid-base k-button-solid k-button-md k-rounded-md k-button-rectangle"
|
|
186
|
-
(keydown.tab)="onTab($event, 'reset')">{{clearText}}</button>
|
|
187
182
|
<button #filterButton
|
|
188
183
|
type="submit"
|
|
189
184
|
class="k-button k-button-solid-primary k-button-solid k-button-md k-rounded-md k-button-rectangle"
|
|
190
185
|
[disabled]="disabled"
|
|
191
186
|
(keydown.tab)="onTab($event, 'filter')">{{filterText}}</button>
|
|
187
|
+
<button
|
|
188
|
+
#resetButton
|
|
189
|
+
type="reset"
|
|
190
|
+
class="k-button k-button-solid-base k-button-solid k-button-md k-rounded-md k-button-rectangle"
|
|
191
|
+
(keydown.tab)="onTab($event, 'reset')">{{clearText}}</button>
|
|
192
192
|
</div>
|
|
193
193
|
</div>
|
|
194
194
|
</form>
|
|
@@ -225,16 +225,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
225
225
|
</ng-container>
|
|
226
226
|
</ng-container>
|
|
227
227
|
<div [ngClass]="actionsClass">
|
|
228
|
-
<button
|
|
229
|
-
#resetButton
|
|
230
|
-
type="reset"
|
|
231
|
-
class="k-button k-button-solid-base k-button-solid k-button-md k-rounded-md k-button-rectangle"
|
|
232
|
-
(keydown.tab)="onTab($event, 'reset')">{{clearText}}</button>
|
|
233
228
|
<button #filterButton
|
|
234
229
|
type="submit"
|
|
235
230
|
class="k-button k-button-solid-primary k-button-solid k-button-md k-rounded-md k-button-rectangle"
|
|
236
231
|
[disabled]="disabled"
|
|
237
232
|
(keydown.tab)="onTab($event, 'filter')">{{filterText}}</button>
|
|
233
|
+
<button
|
|
234
|
+
#resetButton
|
|
235
|
+
type="reset"
|
|
236
|
+
class="k-button k-button-solid-base k-button-solid k-button-md k-rounded-md k-button-rectangle"
|
|
237
|
+
(keydown.tab)="onTab($event, 'reset')">{{clearText}}</button>
|
|
238
238
|
</div>
|
|
239
239
|
</div>
|
|
240
240
|
</form>
|
|
@@ -87,7 +87,7 @@ FilterMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
87
87
|
>
|
|
88
88
|
</kendo-grid-filter-menu-container>
|
|
89
89
|
</ng-template>
|
|
90
|
-
`, isInline: true, components: [{ type: i5.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: i6.FilterMenuContainerComponent, selector: "kendo-grid-filter-menu-container", inputs: ["column", "isLast", "isExpanded", "menuTabbingService", "filter", "actionsClass"], outputs: ["close"] }] });
|
|
90
|
+
`, isInline: true, components: [{ type: i5.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { type: i6.FilterMenuContainerComponent, selector: "kendo-grid-filter-menu-container", inputs: ["column", "isLast", "isExpanded", "menuTabbingService", "filter", "actionsClass"], outputs: ["close"] }] });
|
|
91
91
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FilterMenuComponent, decorators: [{
|
|
92
92
|
type: Component,
|
|
93
93
|
args: [{
|
|
@@ -2377,13 +2377,13 @@ GridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
2377
2377
|
[dropTargetFilter]="getDefaultSelectors('dropTarget')"
|
|
2378
2378
|
[dragHandle]="getDefaultSelectors('handle')"
|
|
2379
2379
|
[hint]="{hintTemplate: defaultHint}"
|
|
2380
|
-
(
|
|
2381
|
-
(
|
|
2382
|
-
(
|
|
2383
|
-
(
|
|
2384
|
-
(
|
|
2385
|
-
(
|
|
2386
|
-
(
|
|
2380
|
+
(onPress)="handleReorderEvents($event, 'press')"
|
|
2381
|
+
(onDragStart)="handleReorderEvents($event, 'dragStart')"
|
|
2382
|
+
(onDrag)="handleReorderEvents($event, 'drag')"
|
|
2383
|
+
(onDragEnter)="handleReorderEvents($event, 'dragEnter')"
|
|
2384
|
+
(onDragLeave)="handleReorderEvents($event, 'dragLeave')"
|
|
2385
|
+
(onDragEnd)="handleReorderEvents($event, 'dragEnd')"
|
|
2386
|
+
(onDrop)="handleReorderEvents($event, 'drop')"
|
|
2387
2387
|
[dragData]="gridData"
|
|
2388
2388
|
[data]="$any(view)"
|
|
2389
2389
|
[rowHeight]="rowHeight"
|
|
@@ -2561,7 +2561,7 @@ GridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
2561
2561
|
</kendo-icon-wrapper>
|
|
2562
2562
|
{{hintText}}
|
|
2563
2563
|
</ng-template>
|
|
2564
|
-
`, isInline: true, components: [{ type: i25.ToolbarComponent, selector: "kendo-grid-toolbar", inputs: ["position", "size", "navigable"] }, { type: i26.PagerComponent, selector: "kendo-pager", inputs: ["total", "skip", "pageSize", "options", "size", "template"], outputs: ["pageChange"] }, { type: i27.GroupPanelComponent, selector: "kendo-grid-group-panel", inputs: ["text", "navigable", "groups"], outputs: ["change"] }, { type: i28.ColGroupComponent, selector: "[kendoGridColGroup]", inputs: ["columns", "groups", "detailTemplate", "sort"] }, { type: i29.HeaderComponent, selector: "[kendoGridHeader]", inputs: ["totalColumnLevels", "columns", "groups", "detailTemplate", "scrollable", "filterable", "sort", "filter", "sortable", "groupable", "lockedColumnsCount", "resizable", "reorderable", "columnMenu", "columnMenuTemplate", "totalColumnsCount", "tabIndex", "size"] }, { type: i30.ListComponent, selector: "kendo-grid-list", inputs: ["data", "groups", "total", "rowHeight", "stickyRowHeight", "detailRowHeight", "take", "skip", "columns", "detailTemplate", "noRecordsTemplate", "selectable", "groupable", "filterable", "rowClass", "rowSticky", "loading", "trackBy", "virtualColumns", "isVirtual", "cellLoadingTemplate", "loadingTemplate", "sort", "size"], outputs: ["contentScroll", "pageChange", "scrollBottom"] }, { type: i31.FooterComponent, selector: "[kendoGridFooter]", inputs: ["columns", "groups", "detailTemplate", "scrollable", "lockedColumnsCount", "logicalRowIndex"] }, { type: i32.TableBodyComponent, selector: "[kendoGridTableBody]", inputs: ["columns", "allColumns", "groups", "detailTemplate", "noRecordsTemplate", "data", "skip", "selectable", "filterable", "noRecordsText", "isLocked", "isLoading", "isVirtual", "cellLoadingTemplate", "skipGroupDecoration", "showGroupFooters", "lockedColumnsCount", "totalColumnsCount", "virtualColumns", "trackBy", "rowSticky", "rowClass"] }, { type: i33.LoadingComponent, selector: "[kendoGridLoading]", inputs: ["loadingTemplate"] }, { type: i34.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i35.LocalizedMessagesDirective, selector: "[kendoGridLocalizedMessages]" }, { type: i36.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i37.TableDirective, selector: "table", inputs: ["locked", "virtualColumns"] }, { type: i38.GridTableDirective, selector: "[kendoGridTable]", inputs: ["size"] }, { type: i39.ResizableContainerDirective, selector: "[kendoGridResizableContainer]", inputs: ["lockedWidth", "kendoGridResizableContainer"] }, { type: i40.DragTargetContainerDirective, selector: "[kendoDragTargetContainer]", inputs: ["hint", "dragTargetFilter", "dragHandle", "dragDelay", "threshold", "dragTargetId", "dragData", "dragDisabled", "mode"], outputs: ["
|
|
2564
|
+
`, isInline: true, components: [{ type: i25.ToolbarComponent, selector: "kendo-grid-toolbar", inputs: ["position", "size", "navigable"] }, { type: i26.PagerComponent, selector: "kendo-pager", inputs: ["total", "skip", "pageSize", "options", "size", "template"], outputs: ["pageChange"] }, { type: i27.GroupPanelComponent, selector: "kendo-grid-group-panel", inputs: ["text", "navigable", "groups"], outputs: ["change"] }, { type: i28.ColGroupComponent, selector: "[kendoGridColGroup]", inputs: ["columns", "groups", "detailTemplate", "sort"] }, { type: i29.HeaderComponent, selector: "[kendoGridHeader]", inputs: ["totalColumnLevels", "columns", "groups", "detailTemplate", "scrollable", "filterable", "sort", "filter", "sortable", "groupable", "lockedColumnsCount", "resizable", "reorderable", "columnMenu", "columnMenuTemplate", "totalColumnsCount", "tabIndex", "size"] }, { type: i30.ListComponent, selector: "kendo-grid-list", inputs: ["data", "groups", "total", "rowHeight", "stickyRowHeight", "detailRowHeight", "take", "skip", "columns", "detailTemplate", "noRecordsTemplate", "selectable", "groupable", "filterable", "rowClass", "rowSticky", "loading", "trackBy", "virtualColumns", "isVirtual", "cellLoadingTemplate", "loadingTemplate", "sort", "size"], outputs: ["contentScroll", "pageChange", "scrollBottom"] }, { type: i31.FooterComponent, selector: "[kendoGridFooter]", inputs: ["columns", "groups", "detailTemplate", "scrollable", "lockedColumnsCount", "logicalRowIndex"] }, { type: i32.TableBodyComponent, selector: "[kendoGridTableBody]", inputs: ["columns", "allColumns", "groups", "detailTemplate", "noRecordsTemplate", "data", "skip", "selectable", "filterable", "noRecordsText", "isLocked", "isLoading", "isVirtual", "cellLoadingTemplate", "skipGroupDecoration", "showGroupFooters", "lockedColumnsCount", "totalColumnsCount", "virtualColumns", "trackBy", "rowSticky", "rowClass"] }, { type: i33.LoadingComponent, selector: "[kendoGridLoading]", inputs: ["loadingTemplate"] }, { type: i34.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i35.LocalizedMessagesDirective, selector: "[kendoGridLocalizedMessages]" }, { type: i36.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i37.TableDirective, selector: "table", inputs: ["locked", "virtualColumns"] }, { type: i38.GridTableDirective, selector: "[kendoGridTable]", inputs: ["size"] }, { type: i39.ResizableContainerDirective, selector: "[kendoGridResizableContainer]", inputs: ["lockedWidth", "kendoGridResizableContainer"] }, { type: i40.DragTargetContainerDirective, selector: "[kendoDragTargetContainer]", inputs: ["hint", "dragTargetFilter", "dragHandle", "dragDelay", "threshold", "dragTargetId", "dragData", "dragDisabled", "mode"], outputs: ["onDragReady", "onPress", "onDragStart", "onDrag", "onRelease", "onDragEnd"], exportAs: ["kendoDragTargetContainer"] }, { type: i40.DropTargetContainerDirective, selector: "[kendoDropTargetContainer]", inputs: ["dropTargetFilter", "dropDisabled"], outputs: ["onDragEnter", "onDragOver", "onDragLeave", "onDrop"], exportAs: ["kendoDropTargetContainer"] }, { type: i41.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { type: i42.GridMarqueeDirective, selector: "[kendoGridSelectionMarquee]" }], encapsulation: i0.ViewEncapsulation.None });
|
|
2565
2565
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GridComponent, decorators: [{
|
|
2566
2566
|
type: Component,
|
|
2567
2567
|
args: [{
|
|
@@ -2986,13 +2986,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
2986
2986
|
[dropTargetFilter]="getDefaultSelectors('dropTarget')"
|
|
2987
2987
|
[dragHandle]="getDefaultSelectors('handle')"
|
|
2988
2988
|
[hint]="{hintTemplate: defaultHint}"
|
|
2989
|
-
(
|
|
2990
|
-
(
|
|
2991
|
-
(
|
|
2992
|
-
(
|
|
2993
|
-
(
|
|
2994
|
-
(
|
|
2995
|
-
(
|
|
2989
|
+
(onPress)="handleReorderEvents($event, 'press')"
|
|
2990
|
+
(onDragStart)="handleReorderEvents($event, 'dragStart')"
|
|
2991
|
+
(onDrag)="handleReorderEvents($event, 'drag')"
|
|
2992
|
+
(onDragEnter)="handleReorderEvents($event, 'dragEnter')"
|
|
2993
|
+
(onDragLeave)="handleReorderEvents($event, 'dragLeave')"
|
|
2994
|
+
(onDragEnd)="handleReorderEvents($event, 'dragEnd')"
|
|
2995
|
+
(onDrop)="handleReorderEvents($event, 'drop')"
|
|
2996
2996
|
[dragData]="gridData"
|
|
2997
2997
|
[data]="$any(view)"
|
|
2998
2998
|
[rowHeight]="rowHeight"
|
|
@@ -7,8 +7,8 @@ import { GroupInfoService } from './group-info.service';
|
|
|
7
7
|
import { GroupsService } from './groups.service';
|
|
8
8
|
import { columnsSpan } from '../columns/column-common';
|
|
9
9
|
import { getGroupRowArgs } from './utils';
|
|
10
|
-
import { caretAltDownIcon, caretAltRightIcon } from '@progress/kendo-svg-icons';
|
|
11
10
|
import { ContextService } from '../common/provider.service';
|
|
11
|
+
import { caretAltDownIcon, caretAltRightIcon, caretAltLeftIcon } from '@progress/kendo-svg-icons';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
import * as i1 from "./groups.service";
|
|
14
14
|
import * as i2 from "./group-info.service";
|
|
@@ -30,11 +30,12 @@ export class GroupHeaderComponent {
|
|
|
30
30
|
this.hasDetails = false;
|
|
31
31
|
this.totalColumnsCount = 0;
|
|
32
32
|
this.groups = [];
|
|
33
|
+
this.groupItemClass = true;
|
|
34
|
+
this.tableGroupRowClass = true;
|
|
33
35
|
this.isExpanded = false;
|
|
34
36
|
this.caretAltDownIcon = caretAltDownIcon;
|
|
35
37
|
this.caretAltRightIcon = caretAltRightIcon;
|
|
36
|
-
this.
|
|
37
|
-
this.tableGroupRowClass = true;
|
|
38
|
+
this.caretAltLeftIcon = caretAltLeftIcon;
|
|
38
39
|
}
|
|
39
40
|
ngDoCheck() {
|
|
40
41
|
const groupArgs = {
|
|
@@ -85,6 +86,22 @@ export class GroupHeaderComponent {
|
|
|
85
86
|
const messageKey = this.isExpanded ? 'groupCollapse' : 'groupExpand';
|
|
86
87
|
return this.ctx.localization.get(messageKey);
|
|
87
88
|
}
|
|
89
|
+
get arrowIcon() {
|
|
90
|
+
const icon = !this.isExpanded ?
|
|
91
|
+
!this.ctx.localization.rtl ?
|
|
92
|
+
'caret-alt-right' :
|
|
93
|
+
'caret-alt-left' :
|
|
94
|
+
'caret-alt-down';
|
|
95
|
+
return icon;
|
|
96
|
+
}
|
|
97
|
+
get arrowSVGIcon() {
|
|
98
|
+
const icon = !this.isExpanded ?
|
|
99
|
+
!this.ctx.localization.rtl ?
|
|
100
|
+
this.caretAltRightIcon :
|
|
101
|
+
this.caretAltLeftIcon :
|
|
102
|
+
this.caretAltDownIcon;
|
|
103
|
+
return icon;
|
|
104
|
+
}
|
|
88
105
|
}
|
|
89
106
|
GroupHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GroupHeaderComponent, deps: [{ token: i1.GroupsService }, { token: i2.GroupInfoService }, { token: i3.ContextService }], target: i0.ɵɵFactoryTarget.Component });
|
|
90
107
|
GroupHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: GroupHeaderComponent, selector: "[kendoGridGroupHeader]", inputs: { rowIndex: "rowIndex", logicalRowIndex: "logicalRowIndex", item: "item", skipGroupDecoration: "skipGroupDecoration", hasDetails: "hasDetails", totalColumnsCount: "totalColumnsCount", hasGroupHeaderColumn: "hasGroupHeaderColumn", groupHeaderColumns: "groupHeaderColumns", columns: "columns", groups: "groups" }, host: { properties: { "class.k-grouping-row": "this.groupItemClass", "class.k-table-group-row": "this.tableGroupRowClass" } }, ngImport: i0, template: `
|
|
@@ -111,8 +128,8 @@ GroupHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
111
128
|
[attr.title]="groupButtonTitle"
|
|
112
129
|
[attr.aria-label]="groupButtonTitle">
|
|
113
130
|
<kendo-icon-wrapper
|
|
114
|
-
[name]="
|
|
115
|
-
[svgIcon]="
|
|
131
|
+
[name]="arrowIcon"
|
|
132
|
+
[svgIcon]="arrowSVGIcon"></kendo-icon-wrapper>
|
|
116
133
|
</a>
|
|
117
134
|
<ng-container *ngIf="!groupHeaderTemplate(item)">
|
|
118
135
|
{{groupTitle(item)}}: {{item.data | valueOf:"value": formatForGroup(item)}}
|
|
@@ -156,7 +173,7 @@ GroupHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
156
173
|
</ng-template>
|
|
157
174
|
</td>
|
|
158
175
|
</ng-container>
|
|
159
|
-
`, isInline: true, components: [{ type: i4.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6.LogicalCellDirective, selector: "[kendoGridLogicalCell]", inputs: ["logicalColIndex", "logicalRowIndex", "logicalSlaveCell", "colIndex", "colSpan", "rowSpan", "groupItem", "dataRowIndex", "dataItem", "detailExpandCell", "headerLabelText"] }, { type: i7.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "valueOf": i8.FieldAccessorPipe } });
|
|
176
|
+
`, isInline: true, components: [{ type: i4.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6.LogicalCellDirective, selector: "[kendoGridLogicalCell]", inputs: ["logicalColIndex", "logicalRowIndex", "logicalSlaveCell", "colIndex", "colSpan", "rowSpan", "groupItem", "dataRowIndex", "dataItem", "detailExpandCell", "headerLabelText"] }, { type: i7.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "valueOf": i8.FieldAccessorPipe } });
|
|
160
177
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GroupHeaderComponent, decorators: [{
|
|
161
178
|
type: Component,
|
|
162
179
|
args: [{
|
|
@@ -185,8 +202,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
185
202
|
[attr.title]="groupButtonTitle"
|
|
186
203
|
[attr.aria-label]="groupButtonTitle">
|
|
187
204
|
<kendo-icon-wrapper
|
|
188
|
-
[name]="
|
|
189
|
-
[svgIcon]="
|
|
205
|
+
[name]="arrowIcon"
|
|
206
|
+
[svgIcon]="arrowSVGIcon"></kendo-icon-wrapper>
|
|
190
207
|
</a>
|
|
191
208
|
<ng-container *ngIf="!groupHeaderTemplate(item)">
|
|
192
209
|
{{groupTitle(item)}}: {{item.data | valueOf:"value": formatForGroup(item)}}
|