@progress/kendo-angular-grid 11.0.0-develop.99 → 11.0.0
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/NOTICE.txt +17 -17
- package/column-menu/column-chooser.component.d.ts +8 -2
- package/column-menu/column-menu-autosize-all.component.d.ts +2 -0
- package/column-menu/column-menu-autosize.component.d.ts +2 -0
- package/column-menu/column-menu-chooser.component.d.ts +2 -0
- package/column-menu/column-menu-filter.component.d.ts +2 -0
- package/column-menu/column-menu-item.component.d.ts +7 -2
- package/column-menu/column-menu-lock.component.d.ts +4 -0
- package/column-menu/column-menu-position.component.d.ts +2 -0
- package/column-menu/column-menu-sort.component.d.ts +3 -0
- package/column-menu/column-menu-stick.component.d.ts +4 -0
- package/column-menu/column-menu.component.d.ts +2 -0
- package/column-menu/column-menu.module.d.ts +2 -1
- package/esm2020/column-menu/column-chooser.component.mjs +21 -13
- package/esm2020/column-menu/column-menu-autosize-all.component.mjs +7 -5
- package/esm2020/column-menu/column-menu-autosize.component.mjs +7 -5
- package/esm2020/column-menu/column-menu-chooser.component.mjs +5 -1
- package/esm2020/column-menu/column-menu-filter.component.mjs +5 -1
- package/esm2020/column-menu/column-menu-item.component.mjs +15 -13
- package/esm2020/column-menu/column-menu-lock.component.mjs +9 -1
- package/esm2020/column-menu/column-menu-position.component.mjs +5 -1
- package/esm2020/column-menu/column-menu-sort.component.mjs +8 -1
- package/esm2020/column-menu/column-menu-stick.component.mjs +21 -5
- package/esm2020/column-menu/column-menu.component.mjs +21 -14
- package/esm2020/column-menu/column-menu.module.mjs +4 -3
- package/esm2020/dragdrop/draggable-column.directive.mjs +2 -2
- package/esm2020/excel/excel-command.directive.mjs +6 -4
- package/esm2020/filtering/cell/filter-cell-operators.component.mjs +4 -0
- package/esm2020/filtering/menu/filter-menu.component.mjs +11 -4
- package/esm2020/grouping/group-header.component.mjs +17 -9
- package/esm2020/grouping/group-panel.component.mjs +6 -0
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/pager/pager-next-buttons.component.mjs +7 -0
- package/esm2020/pager/pager-prev-buttons.component.mjs +7 -0
- package/esm2020/rendering/constants.mjs +1 -1
- package/esm2020/rendering/header/header.component.mjs +31 -25
- package/esm2020/rendering/table-body.component.mjs +28 -14
- package/fesm2015/progress-kendo-angular-grid.mjs +193 -92
- package/fesm2020/progress-kendo-angular-grid.mjs +193 -92
- package/filtering/cell/filter-cell-operators.component.d.ts +2 -0
- package/filtering/menu/filter-menu.component.d.ts +2 -0
- package/grouping/group-header.component.d.ts +3 -0
- package/grouping/group-panel.component.d.ts +2 -0
- package/package.json +18 -18
- package/pager/pager-next-buttons.component.d.ts +3 -0
- package/pager/pager-prev-buttons.component.d.ts +3 -0
- package/rendering/constants.d.ts +1 -1
- package/rendering/header/header.component.d.ts +4 -2
- package/rendering/table-body.component.d.ts +5 -1
- package/schematics/ngAdd/index.js +2 -2
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, Input, Output, EventEmitter, ElementRef } from '@angular/core';
|
|
6
6
|
import { LocalizationService } from "@progress/kendo-angular-l10n";
|
|
7
|
+
import { filterIcon } from '@progress/kendo-svg-icons';
|
|
7
8
|
import { ColumnMenuItemBase } from './column-menu-item-base';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
@@ -65,6 +66,7 @@ export class ColumnMenuFilterComponent extends ColumnMenuItemBase {
|
|
|
65
66
|
* @hidden
|
|
66
67
|
*/
|
|
67
68
|
this.actionsClass = 'k-columnmenu-actions';
|
|
69
|
+
this.filterIcon = filterIcon;
|
|
68
70
|
}
|
|
69
71
|
/**
|
|
70
72
|
* @hidden
|
|
@@ -89,6 +91,7 @@ ColumnMenuFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
89
91
|
<kendo-grid-columnmenu-item
|
|
90
92
|
[text]="localization.get('filter')"
|
|
91
93
|
icon="filter"
|
|
94
|
+
[svgIcon]="filterIcon"
|
|
92
95
|
[expanded]="expanded"
|
|
93
96
|
(collapse)="onCollapse()"
|
|
94
97
|
(expand)="onExpand()">
|
|
@@ -105,7 +108,7 @@ ColumnMenuFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
105
108
|
</kendo-grid-filter-menu-container>
|
|
106
109
|
</ng-template>
|
|
107
110
|
</kendo-grid-columnmenu-item>
|
|
108
|
-
`, isInline: true, components: [{ type: i2.ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }, { type: i3.FilterMenuContainerComponent, selector: "kendo-grid-filter-menu-container", inputs: ["column", "isLast", "isExpanded", "menuTabbingService", "filter", "actionsClass"], outputs: ["close"] }], directives: [{ type: i4.ColumnMenuItemContentTemplateDirective, selector: "[kendoGridColumnMenuItemContentTemplate]" }] });
|
|
111
|
+
`, isInline: true, components: [{ type: i2.ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "svgIcon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }, { type: i3.FilterMenuContainerComponent, selector: "kendo-grid-filter-menu-container", inputs: ["column", "isLast", "isExpanded", "menuTabbingService", "filter", "actionsClass"], outputs: ["close"] }], directives: [{ type: i4.ColumnMenuItemContentTemplateDirective, selector: "[kendoGridColumnMenuItemContentTemplate]" }] });
|
|
109
112
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuFilterComponent, decorators: [{
|
|
110
113
|
type: Component,
|
|
111
114
|
args: [{
|
|
@@ -114,6 +117,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
114
117
|
<kendo-grid-columnmenu-item
|
|
115
118
|
[text]="localization.get('filter')"
|
|
116
119
|
icon="filter"
|
|
120
|
+
[svgIcon]="filterIcon"
|
|
117
121
|
[expanded]="expanded"
|
|
118
122
|
(collapse)="onCollapse()"
|
|
119
123
|
(expand)="onExpand()">
|
|
@@ -6,7 +6,8 @@ import { Component, Input, Output, EventEmitter, ContentChild } from '@angular/c
|
|
|
6
6
|
import { trigger, transition, style, animate, state } from '@angular/animations';
|
|
7
7
|
import { ColumnMenuItemContentTemplateDirective } from './column-menu-item-content-template.directive';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
-
import * as i1 from "@angular
|
|
9
|
+
import * as i1 from "@progress/kendo-angular-icons";
|
|
10
|
+
import * as i2 from "@angular/common";
|
|
10
11
|
/**
|
|
11
12
|
* Represents an item that can be placed inside a
|
|
12
13
|
* [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
@@ -51,9 +52,6 @@ export class ColumnMenuItemComponent {
|
|
|
51
52
|
this.collapse = new EventEmitter();
|
|
52
53
|
this.contentState = 'collapsed';
|
|
53
54
|
}
|
|
54
|
-
get iconClass() {
|
|
55
|
-
return `k-i-${this.icon}`;
|
|
56
|
-
}
|
|
57
55
|
ngOnChanges(changes) {
|
|
58
56
|
if (changes.expanded) {
|
|
59
57
|
this.updateContentState();
|
|
@@ -80,7 +78,7 @@ export class ColumnMenuItemComponent {
|
|
|
80
78
|
}
|
|
81
79
|
}
|
|
82
80
|
ColumnMenuItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
83
|
-
ColumnMenuItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: { icon: "icon", text: "text", selected: "selected", disabled: "disabled", expanded: "expanded" }, outputs: { itemClick: "itemClick", expand: "expand", collapse: "collapse" }, queries: [{ propertyName: "contentTemplate", first: true, predicate: ColumnMenuItemContentTemplateDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
81
|
+
ColumnMenuItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: { icon: "icon", svgIcon: "svgIcon", text: "text", selected: "selected", disabled: "disabled", expanded: "expanded" }, outputs: { itemClick: "itemClick", expand: "expand", collapse: "collapse" }, queries: [{ propertyName: "contentTemplate", first: true, predicate: ColumnMenuItemContentTemplateDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
84
82
|
<div
|
|
85
83
|
class="k-columnmenu-item"
|
|
86
84
|
(click)="onClick($event)"
|
|
@@ -89,15 +87,16 @@ ColumnMenuItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
89
87
|
[class.k-disabled]="disabled"
|
|
90
88
|
role="button"
|
|
91
89
|
[attr.aria-expanded]="expanded">
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
90
|
+
<kendo-icon-wrapper
|
|
91
|
+
[name]="icon"
|
|
92
|
+
[svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
93
|
+
{{ text }}
|
|
95
94
|
</div>
|
|
96
95
|
<div *ngIf="contentTemplate" [@state]="contentState" [style.overflow]="'hidden'" class="k-columnmenu-item-content">
|
|
97
96
|
<ng-container [ngTemplateOutlet]="contentTemplate.templateRef">
|
|
98
97
|
</ng-container>
|
|
99
98
|
<div>
|
|
100
|
-
`, isInline: true,
|
|
99
|
+
`, 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: [
|
|
101
100
|
trigger('state', [
|
|
102
101
|
state('collapsed', style({ display: 'none' })),
|
|
103
102
|
state('expanded', style({ display: 'block' })),
|
|
@@ -156,9 +155,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
156
155
|
[class.k-disabled]="disabled"
|
|
157
156
|
role="button"
|
|
158
157
|
[attr.aria-expanded]="expanded">
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
158
|
+
<kendo-icon-wrapper
|
|
159
|
+
[name]="icon"
|
|
160
|
+
[svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
161
|
+
{{ text }}
|
|
162
162
|
</div>
|
|
163
163
|
<div *ngIf="contentTemplate" [@state]="contentState" [style.overflow]="'hidden'" class="k-columnmenu-item-content">
|
|
164
164
|
<ng-container [ngTemplateOutlet]="contentTemplate.templateRef">
|
|
@@ -174,6 +174,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
174
174
|
type: Output
|
|
175
175
|
}], icon: [{
|
|
176
176
|
type: Input
|
|
177
|
+
}], svgIcon: [{
|
|
178
|
+
type: Input
|
|
177
179
|
}], text: [{
|
|
178
180
|
type: Input
|
|
179
181
|
}], selected: [{
|
|
@@ -184,5 +186,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
184
186
|
type: Input
|
|
185
187
|
}], contentTemplate: [{
|
|
186
188
|
type: ContentChild,
|
|
187
|
-
args: [ColumnMenuItemContentTemplateDirective
|
|
189
|
+
args: [ColumnMenuItemContentTemplateDirective]
|
|
188
190
|
}] } });
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, ChangeDetectorRef } from '@angular/core';
|
|
6
6
|
import { LocalizationService } from "@progress/kendo-angular-l10n";
|
|
7
|
+
import { lockIcon, unlockIcon } from '@progress/kendo-svg-icons';
|
|
7
8
|
import { ColumnInfoService } from '../common/column-info.service';
|
|
8
9
|
import { ColumnMenuItemBase } from './column-menu-item-base';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
@@ -47,6 +48,8 @@ export class ColumnMenuLockComponent extends ColumnMenuItemBase {
|
|
|
47
48
|
this.localization = localization;
|
|
48
49
|
this.columnInfoService = columnInfoService;
|
|
49
50
|
this.changeDetector = changeDetector;
|
|
51
|
+
this.unlockIcon = unlockIcon;
|
|
52
|
+
this.lockIcon = lockIcon;
|
|
50
53
|
}
|
|
51
54
|
get text() {
|
|
52
55
|
return this.localization.get(this.locked ? 'unlock' : 'lock');
|
|
@@ -54,6 +57,9 @@ export class ColumnMenuLockComponent extends ColumnMenuItemBase {
|
|
|
54
57
|
get icon() {
|
|
55
58
|
return this.locked ? 'unlock' : 'lock';
|
|
56
59
|
}
|
|
60
|
+
get svgIcon() {
|
|
61
|
+
return this.locked ? this.unlockIcon : this.lockIcon;
|
|
62
|
+
}
|
|
57
63
|
get disabled() {
|
|
58
64
|
return !this.locked && this.columnInfoService.unlockedRootCount < 2;
|
|
59
65
|
}
|
|
@@ -91,10 +97,11 @@ ColumnMenuLockComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
91
97
|
<kendo-grid-columnmenu-item
|
|
92
98
|
[text]="text"
|
|
93
99
|
[icon]="icon"
|
|
100
|
+
[svgIcon]="svgIcon"
|
|
94
101
|
(itemClick)="toggleColumn()"
|
|
95
102
|
[disabled]="disabled">
|
|
96
103
|
</kendo-grid-columnmenu-item>
|
|
97
|
-
`, isInline: true, components: [{ type: i3.ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }] });
|
|
104
|
+
`, isInline: true, components: [{ type: i3.ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "svgIcon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }] });
|
|
98
105
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuLockComponent, decorators: [{
|
|
99
106
|
type: Component,
|
|
100
107
|
args: [{
|
|
@@ -103,6 +110,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
103
110
|
<kendo-grid-columnmenu-item
|
|
104
111
|
[text]="text"
|
|
105
112
|
[icon]="icon"
|
|
113
|
+
[svgIcon]="svgIcon"
|
|
106
114
|
(itemClick)="toggleColumn()"
|
|
107
115
|
[disabled]="disabled">
|
|
108
116
|
</kendo-grid-columnmenu-item>
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, Input, Output, EventEmitter, ElementRef } from '@angular/core';
|
|
6
6
|
import { LocalizationService } from "@progress/kendo-angular-l10n";
|
|
7
|
+
import { setColumnPositionIcon } from '@progress/kendo-svg-icons';
|
|
7
8
|
import { ColumnMenuItemBase } from './column-menu-item-base';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
@@ -63,6 +64,7 @@ export class ColumnMenuPositionComponent extends ColumnMenuItemBase {
|
|
|
63
64
|
* @hidden
|
|
64
65
|
*/
|
|
65
66
|
this.actionsClass = 'k-columnmenu-actions';
|
|
67
|
+
this.setColumnPositionIcon = setColumnPositionIcon;
|
|
66
68
|
this._isLast = false;
|
|
67
69
|
}
|
|
68
70
|
/**
|
|
@@ -121,6 +123,7 @@ ColumnMenuPositionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
121
123
|
<kendo-grid-columnmenu-item
|
|
122
124
|
[text]="localization.get('setColumnPosition')"
|
|
123
125
|
icon="set-column-position"
|
|
126
|
+
[svgIcon]="setColumnPositionIcon"
|
|
124
127
|
[expanded]="expanded"
|
|
125
128
|
(keydown.tab)="onTab($event, !expanded)"
|
|
126
129
|
(collapse)="onCollapse()"
|
|
@@ -138,7 +141,7 @@ ColumnMenuPositionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
138
141
|
</kendo-grid-columnmenu-stick>
|
|
139
142
|
</ng-template>
|
|
140
143
|
</kendo-grid-columnmenu-item>
|
|
141
|
-
`, isInline: true, components: [{ type: i2.ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }, { type: i3.ColumnMenuLockComponent, selector: "kendo-grid-columnmenu-lock" }, { type: i4.ColumnMenuStickComponent, selector: "kendo-grid-columnmenu-stick" }], directives: [{ type: i5.ColumnMenuItemContentTemplateDirective, selector: "[kendoGridColumnMenuItemContentTemplate]" }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
144
|
+
`, isInline: true, components: [{ type: i2.ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "svgIcon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }, { type: i3.ColumnMenuLockComponent, selector: "kendo-grid-columnmenu-lock" }, { type: i4.ColumnMenuStickComponent, selector: "kendo-grid-columnmenu-stick" }], directives: [{ type: i5.ColumnMenuItemContentTemplateDirective, selector: "[kendoGridColumnMenuItemContentTemplate]" }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
142
145
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuPositionComponent, decorators: [{
|
|
143
146
|
type: Component,
|
|
144
147
|
args: [{
|
|
@@ -147,6 +150,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
147
150
|
<kendo-grid-columnmenu-item
|
|
148
151
|
[text]="localization.get('setColumnPosition')"
|
|
149
152
|
icon="set-column-position"
|
|
153
|
+
[svgIcon]="setColumnPositionIcon"
|
|
150
154
|
[expanded]="expanded"
|
|
151
155
|
(keydown.tab)="onTab($event, !expanded)"
|
|
152
156
|
(collapse)="onCollapse()"
|
|
@@ -7,6 +7,7 @@ import { LocalizationService } from "@progress/kendo-angular-l10n";
|
|
|
7
7
|
import { SortService } from '../common/sort.service';
|
|
8
8
|
import { normalize } from '../columns/sort-settings';
|
|
9
9
|
import { ColumnMenuItemBase } from './column-menu-item-base';
|
|
10
|
+
import { sortAscSmallIcon, sortDescSmallIcon } from '@progress/kendo-svg-icons';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
12
13
|
import * as i2 from "../common/sort.service";
|
|
@@ -48,6 +49,8 @@ export class ColumnMenuSortComponent extends ColumnMenuItemBase {
|
|
|
48
49
|
this.localization = localization;
|
|
49
50
|
this.sortService = sortService;
|
|
50
51
|
this.renderer = renderer;
|
|
52
|
+
this.sortAscSmallIcon = sortAscSmallIcon;
|
|
53
|
+
this.sortDescSmallIcon = sortDescSmallIcon;
|
|
51
54
|
}
|
|
52
55
|
get sortedAsc() {
|
|
53
56
|
const descriptor = this.descriptor;
|
|
@@ -85,16 +88,18 @@ ColumnMenuSortComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
85
88
|
<kendo-grid-columnmenu-item
|
|
86
89
|
[text]="localization.get('sortAscending')"
|
|
87
90
|
icon="sort-asc-small"
|
|
91
|
+
[svgIcon]="sortAscSmallIcon"
|
|
88
92
|
(itemClick)="toggleSort('asc')"
|
|
89
93
|
[selected]="sortedAsc">
|
|
90
94
|
</kendo-grid-columnmenu-item>
|
|
91
95
|
<kendo-grid-columnmenu-item
|
|
92
96
|
[text]="localization.get('sortDescending')"
|
|
93
97
|
icon="sort-desc-small"
|
|
98
|
+
[svgIcon]="sortDescSmallIcon"
|
|
94
99
|
(itemClick)="toggleSort('desc')"
|
|
95
100
|
[selected]="sortedDesc">
|
|
96
101
|
</kendo-grid-columnmenu-item>
|
|
97
|
-
`, isInline: true, components: [{ type: i3.ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }] });
|
|
102
|
+
`, isInline: true, components: [{ type: i3.ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "svgIcon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }] });
|
|
98
103
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuSortComponent, decorators: [{
|
|
99
104
|
type: Component,
|
|
100
105
|
args: [{
|
|
@@ -103,12 +108,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
103
108
|
<kendo-grid-columnmenu-item
|
|
104
109
|
[text]="localization.get('sortAscending')"
|
|
105
110
|
icon="sort-asc-small"
|
|
111
|
+
[svgIcon]="sortAscSmallIcon"
|
|
106
112
|
(itemClick)="toggleSort('asc')"
|
|
107
113
|
[selected]="sortedAsc">
|
|
108
114
|
</kendo-grid-columnmenu-item>
|
|
109
115
|
<kendo-grid-columnmenu-item
|
|
110
116
|
[text]="localization.get('sortDescending')"
|
|
111
117
|
icon="sort-desc-small"
|
|
118
|
+
[svgIcon]="sortDescSmallIcon"
|
|
112
119
|
(itemClick)="toggleSort('desc')"
|
|
113
120
|
[selected]="sortedDesc">
|
|
114
121
|
</kendo-grid-columnmenu-item>
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, ChangeDetectorRef } from '@angular/core';
|
|
6
6
|
import { LocalizationService } from "@progress/kendo-angular-l10n";
|
|
7
|
+
import { stickIcon, unstickIcon } from '@progress/kendo-svg-icons';
|
|
7
8
|
import { ColumnInfoService } from '../common/column-info.service';
|
|
8
9
|
import { ColumnMenuItemBase } from './column-menu-item-base';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
@@ -47,6 +48,8 @@ export class ColumnMenuStickComponent extends ColumnMenuItemBase {
|
|
|
47
48
|
this.localization = localization;
|
|
48
49
|
this.columnInfoService = columnInfoService;
|
|
49
50
|
this.changeDetector = changeDetector;
|
|
51
|
+
this.stickIcon = stickIcon;
|
|
52
|
+
this.unstickIcon = unstickIcon;
|
|
50
53
|
}
|
|
51
54
|
get text() {
|
|
52
55
|
return this.localization.get(this.sticky ? 'unstick' : 'stick');
|
|
@@ -54,6 +57,9 @@ export class ColumnMenuStickComponent extends ColumnMenuItemBase {
|
|
|
54
57
|
get icon() {
|
|
55
58
|
return this.sticky ? 'unstick' : 'stick';
|
|
56
59
|
}
|
|
60
|
+
get svgIcon() {
|
|
61
|
+
return this.sticky ? this.unstickIcon : this.stickIcon;
|
|
62
|
+
}
|
|
57
63
|
get disabled() {
|
|
58
64
|
return !this.sticky && this.columnInfoService.unlockedRootCount < 2;
|
|
59
65
|
}
|
|
@@ -88,16 +94,26 @@ export class ColumnMenuStickComponent extends ColumnMenuItemBase {
|
|
|
88
94
|
}
|
|
89
95
|
ColumnMenuStickComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuStickComponent, deps: [{ token: i1.LocalizationService }, { token: i2.ColumnInfoService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
90
96
|
ColumnMenuStickComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ColumnMenuStickComponent, selector: "kendo-grid-columnmenu-stick", usesInheritance: true, ngImport: i0, template: `
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
97
|
+
<kendo-grid-columnmenu-item
|
|
98
|
+
[text]="text"
|
|
99
|
+
[icon]="icon"
|
|
100
|
+
[svgIcon]="svgIcon"
|
|
101
|
+
(itemClick)="toggleColumn()"
|
|
102
|
+
[disabled]="disabled">
|
|
103
|
+
</kendo-grid-columnmenu-item>
|
|
104
|
+
`, isInline: true, components: [{ type: i3.ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "svgIcon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }] });
|
|
94
105
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuStickComponent, decorators: [{
|
|
95
106
|
type: Component,
|
|
96
107
|
args: [{
|
|
97
108
|
selector: 'kendo-grid-columnmenu-stick',
|
|
98
109
|
template: `
|
|
99
|
-
|
|
100
|
-
|
|
110
|
+
<kendo-grid-columnmenu-item
|
|
111
|
+
[text]="text"
|
|
112
|
+
[icon]="icon"
|
|
113
|
+
[svgIcon]="svgIcon"
|
|
114
|
+
(itemClick)="toggleColumn()"
|
|
115
|
+
[disabled]="disabled">
|
|
116
|
+
</kendo-grid-columnmenu-item>
|
|
101
117
|
`
|
|
102
118
|
}]
|
|
103
119
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.ColumnInfoService }, { type: i0.ChangeDetectorRef }]; } });
|
|
@@ -13,23 +13,25 @@ import { hasFilter, hasSort, hasLock, hasStick, hasColumnChooser, hasAutoSizeCol
|
|
|
13
13
|
import { replaceMessagePlaceholder } from '../utils';
|
|
14
14
|
import { ContextService } from '../common/provider.service';
|
|
15
15
|
import { ColunnMenuErrorMessages } from '../common/error-messages';
|
|
16
|
+
import { moreVerticalIcon } from '@progress/kendo-svg-icons';
|
|
16
17
|
import * as i0 from "@angular/core";
|
|
17
18
|
import * as i1 from "./../navigation/navigation.service";
|
|
18
19
|
import * as i2 from "../common/single-popup.service";
|
|
19
20
|
import * as i3 from "@progress/kendo-angular-l10n";
|
|
20
21
|
import * as i4 from "./column-menu.service";
|
|
21
22
|
import * as i5 from "../common/provider.service";
|
|
22
|
-
import * as i6 from "
|
|
23
|
-
import * as i7 from "./column-menu-
|
|
24
|
-
import * as i8 from "./column-menu-
|
|
25
|
-
import * as i9 from "./column-menu-
|
|
26
|
-
import * as i10 from "./column-menu-
|
|
27
|
-
import * as i11 from "./column-menu-
|
|
28
|
-
import * as i12 from "./column-menu-
|
|
29
|
-
import * as i13 from "./column-menu-autosize
|
|
30
|
-
import * as i14 from "./column-menu-
|
|
31
|
-
import * as i15 from "
|
|
32
|
-
import * as i16 from "
|
|
23
|
+
import * as i6 from "@progress/kendo-angular-icons";
|
|
24
|
+
import * as i7 from "./column-menu-container.component";
|
|
25
|
+
import * as i8 from "./column-menu-sort.component";
|
|
26
|
+
import * as i9 from "./column-menu-lock.component";
|
|
27
|
+
import * as i10 from "./column-menu-stick.component";
|
|
28
|
+
import * as i11 from "./column-menu-position.component";
|
|
29
|
+
import * as i12 from "./column-menu-chooser.component";
|
|
30
|
+
import * as i13 from "./column-menu-autosize.component";
|
|
31
|
+
import * as i14 from "./column-menu-autosize-all.component";
|
|
32
|
+
import * as i15 from "./column-menu-filter.component";
|
|
33
|
+
import * as i16 from "@angular/common";
|
|
34
|
+
import * as i17 from "./column-menu-item.directive";
|
|
33
35
|
const POPUP_CLASS = 'k-grid-columnmenu-popup';
|
|
34
36
|
/**
|
|
35
37
|
* Represents the [column menu]({% slug columnmenu_grid %}) component.
|
|
@@ -69,6 +71,7 @@ export class ColumnMenuComponent {
|
|
|
69
71
|
* @hidden
|
|
70
72
|
*/
|
|
71
73
|
this.expandedPosition = false;
|
|
74
|
+
this.moreVerticalIcon = moreVerticalIcon;
|
|
72
75
|
this.closeSubscription = service.closeMenu.subscribe(this.close.bind(this));
|
|
73
76
|
}
|
|
74
77
|
/**
|
|
@@ -207,7 +210,9 @@ ColumnMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
207
210
|
href="#"
|
|
208
211
|
[tabindex]="tabIndex"
|
|
209
212
|
[attr.title]="columnMenuTitle">
|
|
210
|
-
<
|
|
213
|
+
<kendo-icon-wrapper
|
|
214
|
+
name="more-vertical"
|
|
215
|
+
[svgIcon]="moreVerticalIcon"></kendo-icon-wrapper>
|
|
211
216
|
</a>
|
|
212
217
|
<ng-template #template>
|
|
213
218
|
<ng-container
|
|
@@ -268,7 +273,7 @@ ColumnMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
268
273
|
</kendo-grid-columnmenu-filter>
|
|
269
274
|
</kendo-grid-columnmenu-container>
|
|
270
275
|
</ng-template>
|
|
271
|
-
`, isInline: true, components: [{ type: i6.ColumnMenuContainerComponent, selector: "kendo-grid-columnmenu-container" }, { type:
|
|
276
|
+
`, 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"] }], directives: [{ type: i16.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i16.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i16.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i17.ColumnMenuItemDirective, selector: "[kendoGridColumnMenuItem]", inputs: ["kendoGridColumnMenuItem"] }] });
|
|
272
277
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuComponent, decorators: [{
|
|
273
278
|
type: Component,
|
|
274
279
|
args: [{
|
|
@@ -286,7 +291,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
286
291
|
href="#"
|
|
287
292
|
[tabindex]="tabIndex"
|
|
288
293
|
[attr.title]="columnMenuTitle">
|
|
289
|
-
<
|
|
294
|
+
<kendo-icon-wrapper
|
|
295
|
+
name="more-vertical"
|
|
296
|
+
[svgIcon]="moreVerticalIcon"></kendo-icon-wrapper>
|
|
290
297
|
</a>
|
|
291
298
|
<ng-template #template>
|
|
292
299
|
<ng-container
|
|
@@ -21,6 +21,7 @@ import { ColumnMenuStickComponent } from './column-menu-stick.component';
|
|
|
21
21
|
import { ColumnMenuPositionComponent } from './column-menu-position.component';
|
|
22
22
|
import { ColumnMenuAutoSizeColumnComponent } from './column-menu-autosize.component';
|
|
23
23
|
import { ColumnMenuAutoSizeAllColumnsComponent } from './column-menu-autosize-all.component';
|
|
24
|
+
import { ButtonModule } from '@progress/kendo-angular-buttons';
|
|
24
25
|
import * as i0 from "@angular/core";
|
|
25
26
|
const COMPONENTS = [
|
|
26
27
|
ColumnListComponent,
|
|
@@ -80,7 +81,7 @@ ColumnMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
|
|
|
80
81
|
ColumnMenuStickComponent,
|
|
81
82
|
ColumnMenuPositionComponent,
|
|
82
83
|
ColumnMenuAutoSizeColumnComponent,
|
|
83
|
-
ColumnMenuAutoSizeAllColumnsComponent], imports: [CommonModule, FilterMenuModule], exports: [ColumnListComponent,
|
|
84
|
+
ColumnMenuAutoSizeAllColumnsComponent], imports: [CommonModule, FilterMenuModule, ButtonModule], exports: [ColumnListComponent,
|
|
84
85
|
ColumnChooserComponent,
|
|
85
86
|
ColumnMenuChooserComponent,
|
|
86
87
|
ColumnMenuFilterComponent,
|
|
@@ -96,12 +97,12 @@ ColumnMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
|
|
|
96
97
|
ColumnMenuPositionComponent,
|
|
97
98
|
ColumnMenuAutoSizeColumnComponent,
|
|
98
99
|
ColumnMenuAutoSizeAllColumnsComponent] });
|
|
99
|
-
ColumnMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuModule, imports: [[CommonModule, FilterMenuModule]] });
|
|
100
|
+
ColumnMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuModule, imports: [[CommonModule, FilterMenuModule, ButtonModule]] });
|
|
100
101
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuModule, decorators: [{
|
|
101
102
|
type: NgModule,
|
|
102
103
|
args: [{
|
|
103
104
|
declarations: [COMPONENTS],
|
|
104
|
-
imports: [CommonModule, FilterMenuModule],
|
|
105
|
+
imports: [CommonModule, FilterMenuModule, ButtonModule],
|
|
105
106
|
exports: [COMPONENTS]
|
|
106
107
|
}]
|
|
107
108
|
}] });
|
|
@@ -23,8 +23,8 @@ import * as i5 from "../navigation/navigation.service";
|
|
|
23
23
|
*/
|
|
24
24
|
const preventOnDblClick = release => mouseDown => of(mouseDown).pipe(delay(150), takeUntil(release));
|
|
25
25
|
const hasClass = className => el => new RegExp(`(^| )${className}( |$)`).test(el.className);
|
|
26
|
-
const isDeleteButton = or(hasClass('k-i-x'), hasClass('k-icon-button'));
|
|
27
|
-
const isSortIcon = or(hasClass('k-i-sort-asc-small'), hasClass('k-i-sort-desc-small'));
|
|
26
|
+
const isDeleteButton = or(hasClass('k-i-x'), hasClass('k-svg-i-x'), hasClass('k-icon-button'));
|
|
27
|
+
const isSortIcon = or(hasClass('k-i-sort-asc-small'), hasClass('k-i-sort-desc-small'), hasClass('k-svg-i-sort-asc-small'), hasClass('k-svg-i-sort-desc-small'));
|
|
28
28
|
const skipButtons = and(not(isDeleteButton), not(isSortIcon), not(isFocusableWithTabKey), not(matchesNodeName('label')));
|
|
29
29
|
const elementUnderCursor = ({ clientX, clientY }) => isDocumentAvailable() && document.elementFromPoint(clientX, clientY);
|
|
30
30
|
const hideThenShow = (element, cont) => {
|
|
@@ -53,9 +53,10 @@ export class ExcelCommandDirective extends Button {
|
|
|
53
53
|
ExcelCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExcelCommandDirective, deps: [{ token: i1.ExcelService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
54
54
|
ExcelCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ExcelCommandDirective, selector: "[kendoGridExcelCommand]", host: { listeners: { "click": "onClick($event)" }, properties: { "class.k-grid-excel": "this.excelClass" } }, usesInheritance: true, ngImport: i0, template: `
|
|
55
55
|
<kendo-icon-wrapper
|
|
56
|
-
*ngIf="icon"
|
|
56
|
+
*ngIf="icon || svgIcon"
|
|
57
57
|
innerCssClass="k-button-icon"
|
|
58
|
-
[name]="icon"
|
|
58
|
+
[name]="icon"
|
|
59
|
+
[svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
59
60
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
60
61
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
61
62
|
</span>
|
|
@@ -68,9 +69,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
68
69
|
selector: '[kendoGridExcelCommand]',
|
|
69
70
|
template: `
|
|
70
71
|
<kendo-icon-wrapper
|
|
71
|
-
*ngIf="icon"
|
|
72
|
+
*ngIf="icon || svgIcon"
|
|
72
73
|
innerCssClass="k-button-icon"
|
|
73
|
-
[name]="icon"
|
|
74
|
+
[name]="icon"
|
|
75
|
+
[svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
74
76
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
75
77
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
76
78
|
</span>
|
|
@@ -7,6 +7,7 @@ import { DropDownListComponent } from '@progress/kendo-angular-dropdowns';
|
|
|
7
7
|
import { Keys } from '@progress/kendo-angular-common';
|
|
8
8
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
9
|
import { SizingOptionsService } from '../../layout/sizing-options.service';
|
|
10
|
+
import { filterClearIcon } from '@progress/kendo-svg-icons';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
12
13
|
import * as i2 from "../../layout/sizing-options.service";
|
|
@@ -22,6 +23,7 @@ export class FilterCellOperatorsComponent {
|
|
|
22
23
|
this.localization = localization;
|
|
23
24
|
this.sizing = sizing;
|
|
24
25
|
this.clearText = 'Clear';
|
|
26
|
+
this.filterClearIcon = filterClearIcon;
|
|
25
27
|
/**
|
|
26
28
|
* @hidden
|
|
27
29
|
*/
|
|
@@ -118,6 +120,7 @@ FilterCellOperatorsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
118
120
|
kendoGridFocusable
|
|
119
121
|
*ngIf="showButton"
|
|
120
122
|
icon="filter-clear"
|
|
123
|
+
[svgIcon]="filterClearIcon"
|
|
121
124
|
[title]="clearText"
|
|
122
125
|
[size]="size"
|
|
123
126
|
(click)="clearClick()"
|
|
@@ -149,6 +152,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
149
152
|
kendoGridFocusable
|
|
150
153
|
*ngIf="showButton"
|
|
151
154
|
icon="filter-clear"
|
|
155
|
+
[svgIcon]="filterClearIcon"
|
|
152
156
|
[title]="clearText"
|
|
153
157
|
[size]="size"
|
|
154
158
|
(click)="clearClick()"
|
|
@@ -10,12 +10,14 @@ import { SinglePopupService } from '../../common/single-popup.service';
|
|
|
10
10
|
import { filtersByField } from '../base-filter-cell.component';
|
|
11
11
|
import { LocalizationService } from "@progress/kendo-angular-l10n";
|
|
12
12
|
import { replaceMessagePlaceholder } from '../../utils';
|
|
13
|
+
import { filterIcon } from '@progress/kendo-svg-icons';
|
|
13
14
|
import * as i0 from "@angular/core";
|
|
14
15
|
import * as i1 from "../filter.service";
|
|
15
16
|
import * as i2 from "../../common/single-popup.service";
|
|
16
17
|
import * as i3 from "@progress/kendo-angular-l10n";
|
|
17
18
|
import * as i4 from "./../../navigation/navigation.service";
|
|
18
|
-
import * as i5 from "
|
|
19
|
+
import * as i5 from "@progress/kendo-angular-icons";
|
|
20
|
+
import * as i6 from "./filter-menu-container.component";
|
|
19
21
|
/**
|
|
20
22
|
* @hidden
|
|
21
23
|
*/
|
|
@@ -25,6 +27,7 @@ export class FilterMenuComponent {
|
|
|
25
27
|
this.popupService = popupService;
|
|
26
28
|
this.localization = localization;
|
|
27
29
|
this.navigationService = navigationService;
|
|
30
|
+
this.filterIcon = filterIcon;
|
|
28
31
|
this.tabIndex = '-1';
|
|
29
32
|
}
|
|
30
33
|
get hasFilters() {
|
|
@@ -70,7 +73,9 @@ FilterMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
70
73
|
(keydown.enter)="$event.stopImmediatePropagation()"
|
|
71
74
|
href="#"
|
|
72
75
|
[attr.title]="filterLabel">
|
|
73
|
-
<
|
|
76
|
+
<kendo-icon-wrapper
|
|
77
|
+
name="filter"
|
|
78
|
+
[svgIcon]="filterIcon"></kendo-icon-wrapper>
|
|
74
79
|
</a>
|
|
75
80
|
<ng-template #template>
|
|
76
81
|
<kendo-grid-filter-menu-container
|
|
@@ -82,7 +87,7 @@ FilterMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
82
87
|
>
|
|
83
88
|
</kendo-grid-filter-menu-container>
|
|
84
89
|
</ng-template>
|
|
85
|
-
`, isInline: true, components: [{ type: i5.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"], exportAs: ["kendoIconWrapper"] }, { type: i6.FilterMenuContainerComponent, selector: "kendo-grid-filter-menu-container", inputs: ["column", "isLast", "isExpanded", "menuTabbingService", "filter", "actionsClass"], outputs: ["close"] }] });
|
|
86
91
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterMenuComponent, decorators: [{
|
|
87
92
|
type: Component,
|
|
88
93
|
args: [{
|
|
@@ -96,7 +101,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
96
101
|
(keydown.enter)="$event.stopImmediatePropagation()"
|
|
97
102
|
href="#"
|
|
98
103
|
[attr.title]="filterLabel">
|
|
99
|
-
<
|
|
104
|
+
<kendo-icon-wrapper
|
|
105
|
+
name="filter"
|
|
106
|
+
[svgIcon]="filterIcon"></kendo-icon-wrapper>
|
|
100
107
|
</a>
|
|
101
108
|
<ng-template #template>
|
|
102
109
|
<kendo-grid-filter-menu-container
|