@progress/kendo-angular-treelist 11.0.0-develop.107 → 11.0.0-develop.108
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 +4 -1
- 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-sort.component.d.ts +3 -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 +17 -12
- package/esm2020/column-menu/column-menu-chooser.component.mjs +17 -5
- package/esm2020/column-menu/column-menu-filter.component.mjs +17 -5
- package/esm2020/column-menu/column-menu-item.component.mjs +15 -13
- package/esm2020/column-menu/column-menu-lock.component.mjs +19 -3
- package/esm2020/column-menu/column-menu-sort.component.mjs +28 -9
- package/esm2020/column-menu/column-menu.component.mjs +15 -8
- package/esm2020/column-menu/column-menu.module.mjs +4 -3
- package/esm2020/dragdrop/draggable-column.directive.mjs +2 -2
- package/esm2020/filtering/cell/filter-cell-operators.component.mjs +4 -0
- package/esm2020/filtering/menu/filter-menu.component.mjs +11 -4
- 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/cell.component.mjs +22 -14
- package/esm2020/rendering/constants.mjs +1 -1
- package/esm2020/rendering/header/header.component.mjs +27 -21
- package/esm2020/rendering/table-body.component.mjs +1 -1
- package/fesm2015/progress-kendo-angular-treelist.mjs +201 -106
- package/fesm2020/progress-kendo-angular-treelist.mjs +201 -106
- package/filtering/cell/filter-cell-operators.component.d.ts +2 -0
- package/filtering/menu/filter-menu.component.d.ts +2 -0
- package/package.json +15 -15
- package/pager/pager-next-buttons.component.d.ts +3 -0
- package/pager/pager-prev-buttons.component.d.ts +3 -0
- package/rendering/cell.component.d.ts +3 -0
- package/rendering/constants.d.ts +1 -1
- package/rendering/header/header.component.d.ts +4 -2
|
@@ -6,6 +6,8 @@ import { NgZone, Renderer2, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
|
|
6
6
|
import { PopupService } from '@progress/kendo-angular-popup';
|
|
7
7
|
import { ColumnInfoService } from '../common/column-info.service';
|
|
8
8
|
import { LocalizationService } from "@progress/kendo-angular-l10n";
|
|
9
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
10
|
+
import { Button } from '@progress/kendo-angular-buttons';
|
|
9
11
|
import * as i0 from "@angular/core";
|
|
10
12
|
/**
|
|
11
13
|
* Represents the component for selecting columns in the TreeList. To enable the user to show or hide columns,
|
|
@@ -34,6 +36,7 @@ export declare class ColumnChooserComponent implements OnDestroy {
|
|
|
34
36
|
*/
|
|
35
37
|
allowHideAll: boolean;
|
|
36
38
|
get columns(): any[];
|
|
39
|
+
columnsIcon: SVGIcon;
|
|
37
40
|
private popupRef;
|
|
38
41
|
private closeClick;
|
|
39
42
|
constructor(localization: LocalizationService, columnInfoService: ColumnInfoService, popupService: PopupService, ngZone: NgZone, renderer: Renderer2, changeDetector: ChangeDetectorRef);
|
|
@@ -41,7 +44,7 @@ export declare class ColumnChooserComponent implements OnDestroy {
|
|
|
41
44
|
/**
|
|
42
45
|
* @hidden
|
|
43
46
|
*/
|
|
44
|
-
toggle(anchor:
|
|
47
|
+
toggle(anchor: Button, template: any): void;
|
|
45
48
|
/**
|
|
46
49
|
* @hidden
|
|
47
50
|
*/
|
|
@@ -6,6 +6,7 @@ import { EventEmitter, ChangeDetectorRef } from '@angular/core';
|
|
|
6
6
|
import { ColumnInfoService } from '../common/column-info.service';
|
|
7
7
|
import { LocalizationService } from "@progress/kendo-angular-l10n";
|
|
8
8
|
import { ColumnMenuItemBase } from './column-menu-item-base';
|
|
9
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
* Represents the component for selecting columns in the TreeList that can be placed
|
|
@@ -42,6 +43,7 @@ export declare class ColumnMenuChooserComponent extends ColumnMenuItemBase {
|
|
|
42
43
|
*/
|
|
43
44
|
actionsClass: string;
|
|
44
45
|
get columns(): any;
|
|
46
|
+
columnsIcon: SVGIcon;
|
|
45
47
|
constructor(localization: LocalizationService, columnInfoService: ColumnInfoService, changeDetector: ChangeDetectorRef);
|
|
46
48
|
/**
|
|
47
49
|
* @hidden
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { EventEmitter } from '@angular/core';
|
|
6
6
|
import { LocalizationService } from "@progress/kendo-angular-l10n";
|
|
7
7
|
import { ColumnMenuItemBase } from './column-menu-item-base';
|
|
8
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
/**
|
|
10
11
|
* Represents the component for editing column filters in the TreeList that can be placed
|
|
@@ -38,6 +39,7 @@ export declare class ColumnMenuFilterComponent extends ColumnMenuItemBase {
|
|
|
38
39
|
* @hidden
|
|
39
40
|
*/
|
|
40
41
|
actionsClass: string;
|
|
42
|
+
filterIcon: SVGIcon;
|
|
41
43
|
constructor(localization: LocalizationService);
|
|
42
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnMenuFilterComponent, never>;
|
|
43
45
|
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnMenuFilterComponent, "kendo-treelist-columnmenu-filter", never, { "expanded": "expanded"; }, { "expand": "expand"; "collapse": "collapse"; }, never, never>;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { EventEmitter, OnChanges } from '@angular/core';
|
|
6
6
|
import { ColumnMenuItemContentTemplateDirective } from './column-menu-item-content-template.directive';
|
|
7
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
/**
|
|
9
10
|
* Represents an item that can be placed inside a
|
|
@@ -34,6 +35,11 @@ export declare class ColumnMenuItemComponent implements OnChanges {
|
|
|
34
35
|
* that will be rendered for the item.
|
|
35
36
|
*/
|
|
36
37
|
icon: string;
|
|
38
|
+
/**
|
|
39
|
+
* Specifies the name of the [SVG icon]({% slug svgicon_list %})
|
|
40
|
+
* that will be rendered for the item.
|
|
41
|
+
*/
|
|
42
|
+
svgIcon: SVGIcon;
|
|
37
43
|
/**
|
|
38
44
|
* Specifies the item text.
|
|
39
45
|
*/
|
|
@@ -51,7 +57,6 @@ export declare class ColumnMenuItemComponent implements OnChanges {
|
|
|
51
57
|
*/
|
|
52
58
|
expanded: boolean;
|
|
53
59
|
contentTemplate: ColumnMenuItemContentTemplateDirective;
|
|
54
|
-
get iconClass(): string;
|
|
55
60
|
contentState: string;
|
|
56
61
|
ngOnChanges(changes: any): void;
|
|
57
62
|
/**
|
|
@@ -60,5 +65,5 @@ export declare class ColumnMenuItemComponent implements OnChanges {
|
|
|
60
65
|
onClick(e: any): void;
|
|
61
66
|
private updateContentState;
|
|
62
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnMenuItemComponent, never>;
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnMenuItemComponent, "kendo-treelist-columnmenu-item", never, { "icon": "icon"; "text": "text"; "selected": "selected"; "disabled": "disabled"; "expanded": "expanded"; }, { "itemClick": "itemClick"; "expand": "expand"; "collapse": "collapse"; }, ["contentTemplate"], never>;
|
|
68
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnMenuItemComponent, "kendo-treelist-columnmenu-item", never, { "icon": "icon"; "svgIcon": "svgIcon"; "text": "text"; "selected": "selected"; "disabled": "disabled"; "expanded": "expanded"; }, { "itemClick": "itemClick"; "expand": "expand"; "collapse": "collapse"; }, ["contentTemplate"], never>;
|
|
64
69
|
}
|
|
@@ -6,6 +6,7 @@ import { ChangeDetectorRef } from '@angular/core';
|
|
|
6
6
|
import { LocalizationService } from "@progress/kendo-angular-l10n";
|
|
7
7
|
import { ColumnInfoService } from '../common/column-info.service';
|
|
8
8
|
import { ColumnMenuItemBase } from './column-menu-item-base';
|
|
9
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
* Represents a column-menu item that can be placed inside a
|
|
@@ -26,9 +27,12 @@ export declare class ColumnMenuLockComponent extends ColumnMenuItemBase {
|
|
|
26
27
|
private localization;
|
|
27
28
|
private columnInfoService;
|
|
28
29
|
private changeDetector;
|
|
30
|
+
unlockIcon: SVGIcon;
|
|
31
|
+
lockIcon: SVGIcon;
|
|
29
32
|
constructor(localization: LocalizationService, columnInfoService: ColumnInfoService, changeDetector: ChangeDetectorRef);
|
|
30
33
|
get text(): string;
|
|
31
34
|
get icon(): string;
|
|
35
|
+
get svgIcon(): SVGIcon;
|
|
32
36
|
get disabled(): boolean;
|
|
33
37
|
/**
|
|
34
38
|
* @hidden
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { LocalizationService } from "@progress/kendo-angular-l10n";
|
|
6
6
|
import { SortService } from '../common/sort.service';
|
|
7
7
|
import { ColumnMenuItemBase } from './column-menu-item-base';
|
|
8
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
/**
|
|
10
11
|
* Represents a column-menu item for sorting TreeList columns that can be placed inside a
|
|
@@ -24,6 +25,8 @@ import * as i0 from "@angular/core";
|
|
|
24
25
|
export declare class ColumnMenuSortComponent extends ColumnMenuItemBase {
|
|
25
26
|
localization: LocalizationService;
|
|
26
27
|
protected sortService: SortService;
|
|
28
|
+
sortAscSmallIcon: SVGIcon;
|
|
29
|
+
sortDescSmallIcon: SVGIcon;
|
|
27
30
|
constructor(localization: LocalizationService, sortService: SortService);
|
|
28
31
|
get sortedAsc(): boolean;
|
|
29
32
|
get sortedDesc(): boolean;
|
|
@@ -7,6 +7,7 @@ import { LocalizationService } from "@progress/kendo-angular-l10n";
|
|
|
7
7
|
import { SinglePopupService } from '../common/single-popup.service';
|
|
8
8
|
import { ColumnMenuService } from './column-menu.service';
|
|
9
9
|
import { ColumnMenuSettings } from './column-menu-settings.interface';
|
|
10
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
/**
|
|
12
13
|
* Represents the [column menu]({% slug columnmenu_treelist %}) component.
|
|
@@ -53,6 +54,7 @@ export declare class ColumnMenuComponent implements OnChanges, OnDestroy {
|
|
|
53
54
|
* @hidden
|
|
54
55
|
*/
|
|
55
56
|
expandedColumns: boolean;
|
|
57
|
+
moreVerticalIcon: SVGIcon;
|
|
56
58
|
private popupRef;
|
|
57
59
|
private closeSubscription;
|
|
58
60
|
constructor(popupService: SinglePopupService, localization: LocalizationService, service: ColumnMenuService);
|
|
@@ -15,12 +15,13 @@ import * as i9 from "./column-menu-lock.component";
|
|
|
15
15
|
import * as i10 from "./column-menu-template.directive";
|
|
16
16
|
import * as i11 from "@angular/common";
|
|
17
17
|
import * as i12 from "../filtering/menu/filter-menu.module";
|
|
18
|
+
import * as i13 from "@progress/kendo-angular-buttons";
|
|
18
19
|
/**
|
|
19
20
|
* @hidden
|
|
20
21
|
*/
|
|
21
22
|
export declare class ColumnMenuModule {
|
|
22
23
|
static exports(): any[];
|
|
23
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnMenuModule, never>;
|
|
24
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ColumnMenuModule, [typeof i1.ColumnListComponent, typeof i2.ColumnChooserComponent, typeof i3.ColumnMenuChooserComponent, typeof i4.ColumnMenuFilterComponent, typeof i5.ColumnMenuItemComponent, typeof i6.ColumnMenuItemContentTemplateDirective, typeof i7.ColumnMenuSortComponent, typeof i8.ColumnMenuComponent, typeof i9.ColumnMenuLockComponent, typeof i10.ColumnMenuTemplateDirective], [typeof i11.CommonModule, typeof i12.FilterMenuModule], [typeof i1.ColumnListComponent, typeof i2.ColumnChooserComponent, typeof i3.ColumnMenuChooserComponent, typeof i4.ColumnMenuFilterComponent, typeof i5.ColumnMenuItemComponent, typeof i6.ColumnMenuItemContentTemplateDirective, typeof i7.ColumnMenuSortComponent, typeof i8.ColumnMenuComponent, typeof i9.ColumnMenuLockComponent, typeof i10.ColumnMenuTemplateDirective]>;
|
|
25
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ColumnMenuModule, [typeof i1.ColumnListComponent, typeof i2.ColumnChooserComponent, typeof i3.ColumnMenuChooserComponent, typeof i4.ColumnMenuFilterComponent, typeof i5.ColumnMenuItemComponent, typeof i6.ColumnMenuItemContentTemplateDirective, typeof i7.ColumnMenuSortComponent, typeof i8.ColumnMenuComponent, typeof i9.ColumnMenuLockComponent, typeof i10.ColumnMenuTemplateDirective], [typeof i11.CommonModule, typeof i12.FilterMenuModule, typeof i13.ButtonModule], [typeof i1.ColumnListComponent, typeof i2.ColumnChooserComponent, typeof i3.ColumnMenuChooserComponent, typeof i4.ColumnMenuFilterComponent, typeof i5.ColumnMenuItemComponent, typeof i6.ColumnMenuItemContentTemplateDirective, typeof i7.ColumnMenuSortComponent, typeof i8.ColumnMenuComponent, typeof i9.ColumnMenuLockComponent, typeof i10.ColumnMenuTemplateDirective]>;
|
|
25
26
|
static ɵinj: i0.ɵɵInjectorDeclaration<ColumnMenuModule>;
|
|
26
27
|
}
|
|
@@ -8,11 +8,13 @@ import { ColumnInfoService } from '../common/column-info.service';
|
|
|
8
8
|
import { LocalizationService } from "@progress/kendo-angular-l10n";
|
|
9
9
|
import { closest } from '../rendering/common/dom-queries';
|
|
10
10
|
import { isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
11
|
+
import { columnsIcon } from '@progress/kendo-svg-icons';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
13
14
|
import * as i2 from "../common/column-info.service";
|
|
14
15
|
import * as i3 from "@progress/kendo-angular-popup";
|
|
15
|
-
import * as i4 from "
|
|
16
|
+
import * as i4 from "@progress/kendo-angular-buttons";
|
|
17
|
+
import * as i5 from "./column-list.component";
|
|
16
18
|
/**
|
|
17
19
|
* Represents the component for selecting columns in the TreeList. To enable the user to show or hide columns,
|
|
18
20
|
* add the component inside a [`ToolbarTemplate`]({% slug api_treelist_toolbartemplatedirective %}) directive.
|
|
@@ -40,6 +42,7 @@ export class ColumnChooserComponent {
|
|
|
40
42
|
* Specifies if all columns can be hidden.
|
|
41
43
|
*/
|
|
42
44
|
this.allowHideAll = true;
|
|
45
|
+
this.columnsIcon = columnsIcon;
|
|
43
46
|
}
|
|
44
47
|
get columns() {
|
|
45
48
|
return this.columnInfoService.leafNamedColumns;
|
|
@@ -54,7 +57,7 @@ export class ColumnChooserComponent {
|
|
|
54
57
|
if (!this.popupRef) {
|
|
55
58
|
const direction = this.localization.rtl ? 'right' : 'left';
|
|
56
59
|
this.popupRef = this.popupService.open({
|
|
57
|
-
anchor: anchor,
|
|
60
|
+
anchor: anchor.element,
|
|
58
61
|
content: template,
|
|
59
62
|
positionMode: 'absolute',
|
|
60
63
|
anchorAlign: { vertical: 'bottom', horizontal: direction },
|
|
@@ -65,7 +68,7 @@ export class ColumnChooserComponent {
|
|
|
65
68
|
return;
|
|
66
69
|
}
|
|
67
70
|
this.ngZone.runOutsideAngular(() => this.closeClick = this.renderer.listen('document', 'click', ({ target }) => {
|
|
68
|
-
if (!closest(target, node => node === this.popupRef.popupElement || node === anchor)) {
|
|
71
|
+
if (!closest(target, node => node === this.popupRef.popupElement || node === anchor.element)) {
|
|
69
72
|
this.close();
|
|
70
73
|
}
|
|
71
74
|
}));
|
|
@@ -108,12 +111,13 @@ export class ColumnChooserComponent {
|
|
|
108
111
|
ColumnChooserComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnChooserComponent, deps: [{ token: i1.LocalizationService }, { token: i2.ColumnInfoService }, { token: i3.PopupService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
109
112
|
ColumnChooserComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ColumnChooserComponent, selector: "kendo-treelist-column-chooser", inputs: { autoSync: "autoSync", allowHideAll: "allowHideAll" }, ngImport: i0, template: `
|
|
110
113
|
<button #anchor
|
|
114
|
+
kendoButton
|
|
111
115
|
type="button"
|
|
112
116
|
(click)="toggle(anchor, template)"
|
|
113
|
-
|
|
114
|
-
[attr.title]="localization.get('columns')"
|
|
115
|
-
|
|
116
|
-
|
|
117
|
+
fillMode="flat"
|
|
118
|
+
[attr.title]="localization.get('columns')"
|
|
119
|
+
icon="columns"
|
|
120
|
+
[svgIcon]="columnsIcon"></button>
|
|
117
121
|
<ng-template #template>
|
|
118
122
|
<span class='k-column-chooser-title'>{{ localization.get('columns') }}</span>
|
|
119
123
|
<kendo-treelist-columnlist
|
|
@@ -126,19 +130,20 @@ ColumnChooserComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
126
130
|
(columnChange)="onChange($event)">
|
|
127
131
|
</kendo-treelist-columnlist>
|
|
128
132
|
</ng-template>
|
|
129
|
-
`, isInline: true, components: [{ type: i4.ColumnListComponent, selector: "kendo-treelist-columnlist", inputs: ["columns", "autoSync", "allowHideAll", "applyText", "resetText", "actionsClass"], outputs: ["reset", "apply", "columnChange"] }] });
|
|
133
|
+
`, isInline: true, components: [{ type: i4.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: i5.ColumnListComponent, selector: "kendo-treelist-columnlist", inputs: ["columns", "autoSync", "allowHideAll", "applyText", "resetText", "actionsClass"], outputs: ["reset", "apply", "columnChange"] }] });
|
|
130
134
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnChooserComponent, decorators: [{
|
|
131
135
|
type: Component,
|
|
132
136
|
args: [{
|
|
133
137
|
selector: 'kendo-treelist-column-chooser',
|
|
134
138
|
template: `
|
|
135
139
|
<button #anchor
|
|
140
|
+
kendoButton
|
|
136
141
|
type="button"
|
|
137
142
|
(click)="toggle(anchor, template)"
|
|
138
|
-
|
|
139
|
-
[attr.title]="localization.get('columns')"
|
|
140
|
-
|
|
141
|
-
|
|
143
|
+
fillMode="flat"
|
|
144
|
+
[attr.title]="localization.get('columns')"
|
|
145
|
+
icon="columns"
|
|
146
|
+
[svgIcon]="columnsIcon"></button>
|
|
142
147
|
<ng-template #template>
|
|
143
148
|
<span class='k-column-chooser-title'>{{ localization.get('columns') }}</span>
|
|
144
149
|
<kendo-treelist-columnlist
|
|
@@ -6,6 +6,7 @@ import { Component, Input, Output, EventEmitter, ChangeDetectorRef } from '@angu
|
|
|
6
6
|
import { ColumnInfoService } from '../common/column-info.service';
|
|
7
7
|
import { LocalizationService } from "@progress/kendo-angular-l10n";
|
|
8
8
|
import { ColumnMenuItemBase } from './column-menu-item-base';
|
|
9
|
+
import { columnsIcon } from '@progress/kendo-svg-icons';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
11
12
|
import * as i2 from "../common/column-info.service";
|
|
@@ -48,6 +49,7 @@ export class ColumnMenuChooserComponent extends ColumnMenuItemBase {
|
|
|
48
49
|
* @hidden
|
|
49
50
|
*/
|
|
50
51
|
this.actionsClass = 'k-columnmenu-actions';
|
|
52
|
+
this.columnsIcon = columnsIcon;
|
|
51
53
|
}
|
|
52
54
|
get columns() {
|
|
53
55
|
return this.columnInfoService.leafNamedColumns;
|
|
@@ -65,8 +67,13 @@ export class ColumnMenuChooserComponent extends ColumnMenuItemBase {
|
|
|
65
67
|
}
|
|
66
68
|
ColumnMenuChooserComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuChooserComponent, deps: [{ token: i1.LocalizationService }, { token: i2.ColumnInfoService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
67
69
|
ColumnMenuChooserComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ColumnMenuChooserComponent, selector: "kendo-treelist-columnmenu-chooser", inputs: { expanded: "expanded" }, outputs: { expand: "expand", collapse: "collapse" }, usesInheritance: true, ngImport: i0, template: `
|
|
68
|
-
<kendo-treelist-columnmenu-item
|
|
69
|
-
|
|
70
|
+
<kendo-treelist-columnmenu-item
|
|
71
|
+
[text]="localization.get('columns')"
|
|
72
|
+
icon="columns"
|
|
73
|
+
[svgIcon]="columnsIcon"
|
|
74
|
+
[expanded]="expanded"
|
|
75
|
+
(collapse)="collapse.emit()"
|
|
76
|
+
(expand)="expand.emit()">
|
|
70
77
|
<ng-template kendoTreeListColumnMenuItemContentTemplate>
|
|
71
78
|
<kendo-treelist-columnlist
|
|
72
79
|
[applyText]="localization.get('columnsApply')"
|
|
@@ -79,14 +86,19 @@ ColumnMenuChooserComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
79
86
|
</kendo-treelist-columnlist>
|
|
80
87
|
</ng-template>
|
|
81
88
|
</kendo-treelist-columnmenu-item>
|
|
82
|
-
`, isInline: true, components: [{ type: i3.ColumnMenuItemComponent, selector: "kendo-treelist-columnmenu-item", inputs: ["icon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }, { type: i4.ColumnListComponent, selector: "kendo-treelist-columnlist", inputs: ["columns", "autoSync", "allowHideAll", "applyText", "resetText", "actionsClass"], outputs: ["reset", "apply", "columnChange"] }], directives: [{ type: i5.ColumnMenuItemContentTemplateDirective, selector: "[kendoTreeListColumnMenuItemContentTemplate]" }] });
|
|
89
|
+
`, isInline: true, components: [{ type: i3.ColumnMenuItemComponent, selector: "kendo-treelist-columnmenu-item", inputs: ["icon", "svgIcon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }, { type: i4.ColumnListComponent, selector: "kendo-treelist-columnlist", inputs: ["columns", "autoSync", "allowHideAll", "applyText", "resetText", "actionsClass"], outputs: ["reset", "apply", "columnChange"] }], directives: [{ type: i5.ColumnMenuItemContentTemplateDirective, selector: "[kendoTreeListColumnMenuItemContentTemplate]" }] });
|
|
83
90
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuChooserComponent, decorators: [{
|
|
84
91
|
type: Component,
|
|
85
92
|
args: [{
|
|
86
93
|
selector: 'kendo-treelist-columnmenu-chooser',
|
|
87
94
|
template: `
|
|
88
|
-
<kendo-treelist-columnmenu-item
|
|
89
|
-
|
|
95
|
+
<kendo-treelist-columnmenu-item
|
|
96
|
+
[text]="localization.get('columns')"
|
|
97
|
+
icon="columns"
|
|
98
|
+
[svgIcon]="columnsIcon"
|
|
99
|
+
[expanded]="expanded"
|
|
100
|
+
(collapse)="collapse.emit()"
|
|
101
|
+
(expand)="expand.emit()">
|
|
90
102
|
<ng-template kendoTreeListColumnMenuItemContentTemplate>
|
|
91
103
|
<kendo-treelist-columnlist
|
|
92
104
|
[applyText]="localization.get('columnsApply')"
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { Component, Input, Output, EventEmitter } from '@angular/core';
|
|
6
6
|
import { LocalizationService } from "@progress/kendo-angular-l10n";
|
|
7
7
|
import { ColumnMenuItemBase } from './column-menu-item-base';
|
|
8
|
+
import { filterIcon } from '@progress/kendo-svg-icons';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
10
11
|
import * as i2 from "./column-menu-item.component";
|
|
@@ -44,12 +45,18 @@ export class ColumnMenuFilterComponent extends ColumnMenuItemBase {
|
|
|
44
45
|
* @hidden
|
|
45
46
|
*/
|
|
46
47
|
this.actionsClass = 'k-columnmenu-actions';
|
|
48
|
+
this.filterIcon = filterIcon;
|
|
47
49
|
}
|
|
48
50
|
}
|
|
49
51
|
ColumnMenuFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuFilterComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
50
52
|
ColumnMenuFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ColumnMenuFilterComponent, selector: "kendo-treelist-columnmenu-filter", inputs: { expanded: "expanded" }, outputs: { expand: "expand", collapse: "collapse" }, usesInheritance: true, ngImport: i0, template: `
|
|
51
|
-
<kendo-treelist-columnmenu-item
|
|
52
|
-
[
|
|
53
|
+
<kendo-treelist-columnmenu-item
|
|
54
|
+
[text]="localization.get('filter')"
|
|
55
|
+
icon="filter"
|
|
56
|
+
[svgIcon]="filterIcon"
|
|
57
|
+
[expanded]="expanded"
|
|
58
|
+
(collapse)="collapse.emit()"
|
|
59
|
+
(expand)="expand.emit()">
|
|
53
60
|
<ng-template kendoTreeListColumnMenuItemContentTemplate>
|
|
54
61
|
<kendo-treelist-filter-menu-container
|
|
55
62
|
[column]="service.column"
|
|
@@ -59,14 +66,19 @@ ColumnMenuFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
59
66
|
</kendo-treelist-filter-menu-container>
|
|
60
67
|
</ng-template>
|
|
61
68
|
</kendo-treelist-columnmenu-item>
|
|
62
|
-
`, isInline: true, components: [{ type: i2.ColumnMenuItemComponent, selector: "kendo-treelist-columnmenu-item", inputs: ["icon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }, { type: i3.FilterMenuContainerComponent, selector: "kendo-treelist-filter-menu-container", inputs: ["column", "filter", "actionsClass"], outputs: ["close"] }], directives: [{ type: i4.ColumnMenuItemContentTemplateDirective, selector: "[kendoTreeListColumnMenuItemContentTemplate]" }] });
|
|
69
|
+
`, isInline: true, components: [{ type: i2.ColumnMenuItemComponent, selector: "kendo-treelist-columnmenu-item", inputs: ["icon", "svgIcon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }, { type: i3.FilterMenuContainerComponent, selector: "kendo-treelist-filter-menu-container", inputs: ["column", "filter", "actionsClass"], outputs: ["close"] }], directives: [{ type: i4.ColumnMenuItemContentTemplateDirective, selector: "[kendoTreeListColumnMenuItemContentTemplate]" }] });
|
|
63
70
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuFilterComponent, decorators: [{
|
|
64
71
|
type: Component,
|
|
65
72
|
args: [{
|
|
66
73
|
selector: 'kendo-treelist-columnmenu-filter',
|
|
67
74
|
template: `
|
|
68
|
-
<kendo-treelist-columnmenu-item
|
|
69
|
-
[
|
|
75
|
+
<kendo-treelist-columnmenu-item
|
|
76
|
+
[text]="localization.get('filter')"
|
|
77
|
+
icon="filter"
|
|
78
|
+
[svgIcon]="filterIcon"
|
|
79
|
+
[expanded]="expanded"
|
|
80
|
+
(collapse)="collapse.emit()"
|
|
81
|
+
(expand)="expand.emit()">
|
|
70
82
|
<ng-template kendoTreeListColumnMenuItemContentTemplate>
|
|
71
83
|
<kendo-treelist-filter-menu-container
|
|
72
84
|
[column]="service.column"
|
|
@@ -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_treelist_columnmenutemplatedirective %}) directive.
|
|
@@ -34,9 +35,6 @@ export class ColumnMenuItemComponent {
|
|
|
34
35
|
this.collapse = new EventEmitter();
|
|
35
36
|
this.contentState = 'collapsed';
|
|
36
37
|
}
|
|
37
|
-
get iconClass() {
|
|
38
|
-
return `k-i-${this.icon}`;
|
|
39
|
-
}
|
|
40
38
|
ngOnChanges(changes) {
|
|
41
39
|
if (changes.expanded) {
|
|
42
40
|
this.updateContentState();
|
|
@@ -63,17 +61,18 @@ export class ColumnMenuItemComponent {
|
|
|
63
61
|
}
|
|
64
62
|
}
|
|
65
63
|
ColumnMenuItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
66
|
-
ColumnMenuItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ColumnMenuItemComponent, selector: "kendo-treelist-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: `
|
|
64
|
+
ColumnMenuItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ColumnMenuItemComponent, selector: "kendo-treelist-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: `
|
|
67
65
|
<div class="k-columnmenu-item" (click)="onClick($event)" [class.k-selected]="selected" [class.k-disabled]="disabled">
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
66
|
+
<kendo-icon-wrapper
|
|
67
|
+
[name]="icon"
|
|
68
|
+
[svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
69
|
+
{{ text }}
|
|
71
70
|
</div>
|
|
72
71
|
<div *ngIf="contentTemplate" [@state]="contentState" [style.overflow]="'hidden'" class="k-columnmenu-item-content">
|
|
73
72
|
<ng-container [ngTemplateOutlet]="contentTemplate.templateRef">
|
|
74
73
|
</ng-container>
|
|
75
74
|
<div>
|
|
76
|
-
`, isInline: true,
|
|
75
|
+
`, 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: [
|
|
77
76
|
trigger('state', [
|
|
78
77
|
state('collapsed', style({ display: 'none' })),
|
|
79
78
|
state('expanded', style({ display: 'block' })),
|
|
@@ -125,9 +124,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
125
124
|
selector: 'kendo-treelist-columnmenu-item',
|
|
126
125
|
template: `
|
|
127
126
|
<div class="k-columnmenu-item" (click)="onClick($event)" [class.k-selected]="selected" [class.k-disabled]="disabled">
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
127
|
+
<kendo-icon-wrapper
|
|
128
|
+
[name]="icon"
|
|
129
|
+
[svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
130
|
+
{{ text }}
|
|
131
131
|
</div>
|
|
132
132
|
<div *ngIf="contentTemplate" [@state]="contentState" [style.overflow]="'hidden'" class="k-columnmenu-item-content">
|
|
133
133
|
<ng-container [ngTemplateOutlet]="contentTemplate.templateRef">
|
|
@@ -143,6 +143,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
143
143
|
type: Output
|
|
144
144
|
}], icon: [{
|
|
145
145
|
type: Input
|
|
146
|
+
}], svgIcon: [{
|
|
147
|
+
type: Input
|
|
146
148
|
}], text: [{
|
|
147
149
|
type: Input
|
|
148
150
|
}], selected: [{
|
|
@@ -153,5 +155,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
153
155
|
type: Input
|
|
154
156
|
}], contentTemplate: [{
|
|
155
157
|
type: ContentChild,
|
|
156
|
-
args: [ColumnMenuItemContentTemplateDirective
|
|
158
|
+
args: [ColumnMenuItemContentTemplateDirective]
|
|
157
159
|
}] } });
|
|
@@ -6,6 +6,7 @@ import { Component, ChangeDetectorRef } from '@angular/core';
|
|
|
6
6
|
import { LocalizationService } from "@progress/kendo-angular-l10n";
|
|
7
7
|
import { ColumnInfoService } from '../common/column-info.service';
|
|
8
8
|
import { ColumnMenuItemBase } from './column-menu-item-base';
|
|
9
|
+
import { lockIcon, unlockIcon } from '@progress/kendo-svg-icons';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
11
12
|
import * as i2 from "../common/column-info.service";
|
|
@@ -31,6 +32,8 @@ export class ColumnMenuLockComponent extends ColumnMenuItemBase {
|
|
|
31
32
|
this.localization = localization;
|
|
32
33
|
this.columnInfoService = columnInfoService;
|
|
33
34
|
this.changeDetector = changeDetector;
|
|
35
|
+
this.unlockIcon = unlockIcon;
|
|
36
|
+
this.lockIcon = lockIcon;
|
|
34
37
|
}
|
|
35
38
|
get text() {
|
|
36
39
|
return this.localization.get(this.locked ? 'unlock' : 'lock');
|
|
@@ -38,6 +41,9 @@ export class ColumnMenuLockComponent extends ColumnMenuItemBase {
|
|
|
38
41
|
get icon() {
|
|
39
42
|
return this.locked ? 'unlock' : 'lock';
|
|
40
43
|
}
|
|
44
|
+
get svgIcon() {
|
|
45
|
+
return this.locked ? this.unlockIcon : this.lockIcon;
|
|
46
|
+
}
|
|
41
47
|
get disabled() {
|
|
42
48
|
return !this.locked && this.columnInfoService.unlockedRootCount < 2;
|
|
43
49
|
}
|
|
@@ -72,15 +78,25 @@ export class ColumnMenuLockComponent extends ColumnMenuItemBase {
|
|
|
72
78
|
}
|
|
73
79
|
ColumnMenuLockComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuLockComponent, deps: [{ token: i1.LocalizationService }, { token: i2.ColumnInfoService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
74
80
|
ColumnMenuLockComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ColumnMenuLockComponent, selector: "kendo-treelist-columnmenu-lock", usesInheritance: true, ngImport: i0, template: `
|
|
75
|
-
<kendo-treelist-columnmenu-item
|
|
81
|
+
<kendo-treelist-columnmenu-item
|
|
82
|
+
[text]="text"
|
|
83
|
+
[icon]="icon"
|
|
84
|
+
[svgIcon]="svgIcon"
|
|
85
|
+
(itemClick)="toggleColumn()"
|
|
86
|
+
[disabled]="disabled">
|
|
76
87
|
</kendo-treelist-columnmenu-item>
|
|
77
|
-
`, isInline: true, components: [{ type: i3.ColumnMenuItemComponent, selector: "kendo-treelist-columnmenu-item", inputs: ["icon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }] });
|
|
88
|
+
`, isInline: true, components: [{ type: i3.ColumnMenuItemComponent, selector: "kendo-treelist-columnmenu-item", inputs: ["icon", "svgIcon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }] });
|
|
78
89
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuLockComponent, decorators: [{
|
|
79
90
|
type: Component,
|
|
80
91
|
args: [{
|
|
81
92
|
selector: 'kendo-treelist-columnmenu-lock',
|
|
82
93
|
template: `
|
|
83
|
-
<kendo-treelist-columnmenu-item
|
|
94
|
+
<kendo-treelist-columnmenu-item
|
|
95
|
+
[text]="text"
|
|
96
|
+
[icon]="icon"
|
|
97
|
+
[svgIcon]="svgIcon"
|
|
98
|
+
(itemClick)="toggleColumn()"
|
|
99
|
+
[disabled]="disabled">
|
|
84
100
|
</kendo-treelist-columnmenu-item>
|
|
85
101
|
`
|
|
86
102
|
}]
|
|
@@ -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";
|
|
@@ -31,6 +32,8 @@ export class ColumnMenuSortComponent extends ColumnMenuItemBase {
|
|
|
31
32
|
super();
|
|
32
33
|
this.localization = localization;
|
|
33
34
|
this.sortService = sortService;
|
|
35
|
+
this.sortAscSmallIcon = sortAscSmallIcon;
|
|
36
|
+
this.sortDescSmallIcon = sortDescSmallIcon;
|
|
34
37
|
}
|
|
35
38
|
get sortedAsc() {
|
|
36
39
|
const descriptor = this.descriptor;
|
|
@@ -65,23 +68,39 @@ export class ColumnMenuSortComponent extends ColumnMenuItemBase {
|
|
|
65
68
|
}
|
|
66
69
|
ColumnMenuSortComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuSortComponent, deps: [{ token: i1.LocalizationService }, { token: i2.SortService }], target: i0.ɵɵFactoryTarget.Component });
|
|
67
70
|
ColumnMenuSortComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ColumnMenuSortComponent, selector: "kendo-treelist-columnmenu-sort", usesInheritance: true, ngImport: i0, template: `
|
|
68
|
-
<kendo-treelist-columnmenu-item
|
|
69
|
-
|
|
71
|
+
<kendo-treelist-columnmenu-item
|
|
72
|
+
[text]="localization.get('sortAscending')"
|
|
73
|
+
icon="sort-asc-small"
|
|
74
|
+
[svgIcon]="sortAscSmallIcon"
|
|
75
|
+
(itemClick)="toggleSort('asc')"
|
|
76
|
+
[selected]="sortedAsc">
|
|
70
77
|
</kendo-treelist-columnmenu-item>
|
|
71
|
-
<kendo-treelist-columnmenu-item
|
|
72
|
-
|
|
78
|
+
<kendo-treelist-columnmenu-item
|
|
79
|
+
[text]="localization.get('sortDescending')"
|
|
80
|
+
icon="sort-desc-small"
|
|
81
|
+
[svgIcon]="sortDescSmallIcon"
|
|
82
|
+
(itemClick)="toggleSort('desc')"
|
|
83
|
+
[selected]="sortedDesc">
|
|
73
84
|
</kendo-treelist-columnmenu-item>
|
|
74
|
-
`, isInline: true, components: [{ type: i3.ColumnMenuItemComponent, selector: "kendo-treelist-columnmenu-item", inputs: ["icon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }] });
|
|
85
|
+
`, isInline: true, components: [{ type: i3.ColumnMenuItemComponent, selector: "kendo-treelist-columnmenu-item", inputs: ["icon", "svgIcon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }] });
|
|
75
86
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuSortComponent, decorators: [{
|
|
76
87
|
type: Component,
|
|
77
88
|
args: [{
|
|
78
89
|
selector: 'kendo-treelist-columnmenu-sort',
|
|
79
90
|
template: `
|
|
80
|
-
<kendo-treelist-columnmenu-item
|
|
81
|
-
|
|
91
|
+
<kendo-treelist-columnmenu-item
|
|
92
|
+
[text]="localization.get('sortAscending')"
|
|
93
|
+
icon="sort-asc-small"
|
|
94
|
+
[svgIcon]="sortAscSmallIcon"
|
|
95
|
+
(itemClick)="toggleSort('asc')"
|
|
96
|
+
[selected]="sortedAsc">
|
|
82
97
|
</kendo-treelist-columnmenu-item>
|
|
83
|
-
<kendo-treelist-columnmenu-item
|
|
84
|
-
|
|
98
|
+
<kendo-treelist-columnmenu-item
|
|
99
|
+
[text]="localization.get('sortDescending')"
|
|
100
|
+
icon="sort-desc-small"
|
|
101
|
+
[svgIcon]="sortDescSmallIcon"
|
|
102
|
+
(itemClick)="toggleSort('desc')"
|
|
103
|
+
[selected]="sortedDesc">
|
|
85
104
|
</kendo-treelist-columnmenu-item>
|
|
86
105
|
`
|
|
87
106
|
}]
|