@progress/kendo-angular-grid 11.0.0-develop.100 → 11.0.0-develop.102
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 +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 +1 -1
- 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 +192 -91
- package/fesm2020/progress-kendo-angular-grid.mjs +192 -91
- 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 +14 -14
- 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
|
@@ -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
|
|
@@ -8,14 +8,16 @@ import { GroupsService } from './groups.service';
|
|
|
8
8
|
import { columnsSpan } from '../columns/column-common';
|
|
9
9
|
import { getGroupRowArgs } from './utils';
|
|
10
10
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
11
|
+
import { caretAltDownIcon, caretAltRightIcon } from '@progress/kendo-svg-icons';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
import * as i1 from "./groups.service";
|
|
13
14
|
import * as i2 from "./group-info.service";
|
|
14
15
|
import * as i3 from "@progress/kendo-angular-l10n";
|
|
15
|
-
import * as i4 from "@angular
|
|
16
|
-
import * as i5 from "
|
|
17
|
-
import * as i6 from "../
|
|
18
|
-
import * as i7 from "../rendering/common/
|
|
16
|
+
import * as i4 from "@progress/kendo-angular-icons";
|
|
17
|
+
import * as i5 from "@angular/common";
|
|
18
|
+
import * as i6 from "../navigation/logical-cell.directive";
|
|
19
|
+
import * as i7 from "../rendering/common/template-context.directive";
|
|
20
|
+
import * as i8 from "../rendering/common/field-accessor.pipe";
|
|
19
21
|
/**
|
|
20
22
|
* @hidden
|
|
21
23
|
*/
|
|
@@ -29,6 +31,8 @@ export class GroupHeaderComponent {
|
|
|
29
31
|
this.totalColumnsCount = 0;
|
|
30
32
|
this.groups = [];
|
|
31
33
|
this.isExpanded = false;
|
|
34
|
+
this.caretAltDownIcon = caretAltDownIcon;
|
|
35
|
+
this.caretAltRightIcon = caretAltRightIcon;
|
|
32
36
|
this.groupItemClass = true;
|
|
33
37
|
this.tableGroupRowClass = true;
|
|
34
38
|
}
|
|
@@ -103,10 +107,12 @@ GroupHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
103
107
|
<p class="k-reset">
|
|
104
108
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
105
109
|
<a href="#" tabindex="-1" (click)="toggleGroup(item)"
|
|
106
|
-
|
|
107
|
-
[ngClass]="{ 'k-i-caret-alt-down': isExpanded, 'k-i-caret-alt-right': !isExpanded }" role="presentation"
|
|
110
|
+
role="presentation"
|
|
108
111
|
[attr.title]="groupButtonTitle"
|
|
109
112
|
[attr.aria-label]="groupButtonTitle">
|
|
113
|
+
<kendo-icon-wrapper
|
|
114
|
+
[name]="isExpanded ? 'caret-alt-down' : 'caret-alt-right'"
|
|
115
|
+
[svgIcon]="isExpanded ? caretAltDownIcon : caretAltRightIcon"></kendo-icon-wrapper>
|
|
110
116
|
</a>
|
|
111
117
|
<ng-container *ngIf="!groupHeaderTemplate(item)">
|
|
112
118
|
{{groupTitle(item)}}: {{item.data | valueOf:"value": formatForGroup(item)}}
|
|
@@ -150,7 +156,7 @@ GroupHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
150
156
|
</ng-template>
|
|
151
157
|
</td>
|
|
152
158
|
</ng-container>
|
|
153
|
-
`, isInline: true,
|
|
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 } });
|
|
154
160
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupHeaderComponent, decorators: [{
|
|
155
161
|
type: Component,
|
|
156
162
|
args: [{
|
|
@@ -175,10 +181,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
175
181
|
<p class="k-reset">
|
|
176
182
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
177
183
|
<a href="#" tabindex="-1" (click)="toggleGroup(item)"
|
|
178
|
-
|
|
179
|
-
[ngClass]="{ 'k-i-caret-alt-down': isExpanded, 'k-i-caret-alt-right': !isExpanded }" role="presentation"
|
|
184
|
+
role="presentation"
|
|
180
185
|
[attr.title]="groupButtonTitle"
|
|
181
186
|
[attr.aria-label]="groupButtonTitle">
|
|
187
|
+
<kendo-icon-wrapper
|
|
188
|
+
[name]="isExpanded ? 'caret-alt-down' : 'caret-alt-right'"
|
|
189
|
+
[svgIcon]="isExpanded ? caretAltDownIcon : caretAltRightIcon"></kendo-icon-wrapper>
|
|
182
190
|
</a>
|
|
183
191
|
<ng-container *ngIf="!groupHeaderTemplate(item)">
|
|
184
192
|
{{groupTitle(item)}}: {{item.data | valueOf:"value": formatForGroup(item)}}
|
|
@@ -12,6 +12,7 @@ import { DragHintService } from '../dragdrop/drag-hint.service';
|
|
|
12
12
|
import { DropCueService } from '../dragdrop/drop-cue.service';
|
|
13
13
|
import { position, isTargetBefore } from '../dragdrop/common';
|
|
14
14
|
import { tap, filter, switchMapTo, takeUntil } from 'rxjs/operators';
|
|
15
|
+
import { sortAscSmallIcon, sortDescSmallIcon } from '@progress/kendo-svg-icons';
|
|
15
16
|
import * as i0 from "@angular/core";
|
|
16
17
|
import * as i1 from "../dragdrop/drag-hint.service";
|
|
17
18
|
import * as i2 from "../dragdrop/drop-cue.service";
|
|
@@ -80,6 +81,9 @@ export class GroupPanelComponent {
|
|
|
80
81
|
getDirectionIcon(group) {
|
|
81
82
|
return group.dir === 'desc' ? 'sort-desc-sm' : 'sort-asc-sm';
|
|
82
83
|
}
|
|
84
|
+
getDirectionSvgIcon(group) {
|
|
85
|
+
return group.dir === 'desc' ? sortDescSmallIcon : sortAscSmallIcon;
|
|
86
|
+
}
|
|
83
87
|
directionChange(group) {
|
|
84
88
|
group.dir = group.dir ? group.dir : "asc";
|
|
85
89
|
group.dir = group.dir === 'asc' ? 'desc' : 'asc';
|
|
@@ -168,6 +172,7 @@ GroupPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
168
172
|
[label]="groupTitles[index]"
|
|
169
173
|
[removable]="true"
|
|
170
174
|
[icon]="getDirectionIcon(group)"
|
|
175
|
+
[svgIcon]=""
|
|
171
176
|
(contentClick)="directionChange(group)"
|
|
172
177
|
(remove)="remove(group)"
|
|
173
178
|
>
|
|
@@ -217,6 +222,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
217
222
|
[label]="groupTitles[index]"
|
|
218
223
|
[removable]="true"
|
|
219
224
|
[icon]="getDirectionIcon(group)"
|
|
225
|
+
[svgIcon]=""
|
|
220
226
|
(contentClick)="directionChange(group)"
|
|
221
227
|
(remove)="remove(group)"
|
|
222
228
|
>
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-grid',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1673519302,
|
|
13
13
|
version: '',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -7,6 +7,7 @@ import { Component, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/
|
|
|
7
7
|
import { PagerContextService } from "./pager-context.service";
|
|
8
8
|
import { PagerElementComponent } from './pager-element.component';
|
|
9
9
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
10
|
+
import { caretAltRightIcon, caretAltToRightIcon } 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 "./pager-context.service";
|
|
@@ -20,6 +21,8 @@ export class PagerNextButtonsComponent extends PagerElementComponent {
|
|
|
20
21
|
constructor(localization, pagerContext, cd, navigationService) {
|
|
21
22
|
super(localization, pagerContext, cd);
|
|
22
23
|
this.navigationService = navigationService;
|
|
24
|
+
this.caretAltRightIcon = caretAltRightIcon;
|
|
25
|
+
this.caretAltToRightIcon = caretAltToRightIcon;
|
|
23
26
|
}
|
|
24
27
|
/**
|
|
25
28
|
* @hidden
|
|
@@ -46,6 +49,7 @@ PagerNextButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
46
49
|
type="button"
|
|
47
50
|
[size]="size"
|
|
48
51
|
icon="caret-alt-right"
|
|
52
|
+
[svgIcon]="caretAltRightIcon"
|
|
49
53
|
fillMode="flat"
|
|
50
54
|
rounded="none"
|
|
51
55
|
class="k-pager-nav"
|
|
@@ -60,6 +64,7 @@ PagerNextButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
60
64
|
type="button"
|
|
61
65
|
[size]="size"
|
|
62
66
|
icon="caret-alt-to-right"
|
|
67
|
+
[svgIcon]="caretAltToRightIcon"
|
|
63
68
|
fillMode="flat"
|
|
64
69
|
rounded="none"
|
|
65
70
|
class="k-pager-nav k-pager-last"
|
|
@@ -81,6 +86,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
81
86
|
type="button"
|
|
82
87
|
[size]="size"
|
|
83
88
|
icon="caret-alt-right"
|
|
89
|
+
[svgIcon]="caretAltRightIcon"
|
|
84
90
|
fillMode="flat"
|
|
85
91
|
rounded="none"
|
|
86
92
|
class="k-pager-nav"
|
|
@@ -95,6 +101,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
95
101
|
type="button"
|
|
96
102
|
[size]="size"
|
|
97
103
|
icon="caret-alt-to-right"
|
|
104
|
+
[svgIcon]="caretAltToRightIcon"
|
|
98
105
|
fillMode="flat"
|
|
99
106
|
rounded="none"
|
|
100
107
|
class="k-pager-nav k-pager-last"
|