@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.
Files changed (50) hide show
  1. package/NOTICE.txt +17 -17
  2. package/column-menu/column-chooser.component.d.ts +8 -2
  3. package/column-menu/column-menu-autosize-all.component.d.ts +2 -0
  4. package/column-menu/column-menu-autosize.component.d.ts +2 -0
  5. package/column-menu/column-menu-chooser.component.d.ts +2 -0
  6. package/column-menu/column-menu-filter.component.d.ts +2 -0
  7. package/column-menu/column-menu-item.component.d.ts +7 -2
  8. package/column-menu/column-menu-lock.component.d.ts +4 -0
  9. package/column-menu/column-menu-position.component.d.ts +2 -0
  10. package/column-menu/column-menu-sort.component.d.ts +3 -0
  11. package/column-menu/column-menu-stick.component.d.ts +4 -0
  12. package/column-menu/column-menu.component.d.ts +2 -0
  13. package/column-menu/column-menu.module.d.ts +2 -1
  14. package/esm2020/column-menu/column-chooser.component.mjs +21 -13
  15. package/esm2020/column-menu/column-menu-autosize-all.component.mjs +7 -5
  16. package/esm2020/column-menu/column-menu-autosize.component.mjs +7 -5
  17. package/esm2020/column-menu/column-menu-chooser.component.mjs +5 -1
  18. package/esm2020/column-menu/column-menu-filter.component.mjs +5 -1
  19. package/esm2020/column-menu/column-menu-item.component.mjs +15 -13
  20. package/esm2020/column-menu/column-menu-lock.component.mjs +9 -1
  21. package/esm2020/column-menu/column-menu-position.component.mjs +5 -1
  22. package/esm2020/column-menu/column-menu-sort.component.mjs +8 -1
  23. package/esm2020/column-menu/column-menu-stick.component.mjs +21 -5
  24. package/esm2020/column-menu/column-menu.component.mjs +21 -14
  25. package/esm2020/column-menu/column-menu.module.mjs +4 -3
  26. package/esm2020/dragdrop/draggable-column.directive.mjs +2 -2
  27. package/esm2020/excel/excel-command.directive.mjs +6 -4
  28. package/esm2020/filtering/cell/filter-cell-operators.component.mjs +4 -0
  29. package/esm2020/filtering/menu/filter-menu.component.mjs +11 -4
  30. package/esm2020/grouping/group-header.component.mjs +17 -9
  31. package/esm2020/grouping/group-panel.component.mjs +6 -0
  32. package/esm2020/package-metadata.mjs +2 -2
  33. package/esm2020/pager/pager-next-buttons.component.mjs +7 -0
  34. package/esm2020/pager/pager-prev-buttons.component.mjs +7 -0
  35. package/esm2020/rendering/constants.mjs +1 -1
  36. package/esm2020/rendering/header/header.component.mjs +31 -25
  37. package/esm2020/rendering/table-body.component.mjs +28 -14
  38. package/fesm2015/progress-kendo-angular-grid.mjs +193 -92
  39. package/fesm2020/progress-kendo-angular-grid.mjs +193 -92
  40. package/filtering/cell/filter-cell-operators.component.d.ts +2 -0
  41. package/filtering/menu/filter-menu.component.d.ts +2 -0
  42. package/grouping/group-header.component.d.ts +3 -0
  43. package/grouping/group-panel.component.d.ts +2 -0
  44. package/package.json +18 -18
  45. package/pager/pager-next-buttons.component.d.ts +3 -0
  46. package/pager/pager-prev-buttons.component.d.ts +3 -0
  47. package/rendering/constants.d.ts +1 -1
  48. package/rendering/header/header.component.d.ts +4 -2
  49. package/rendering/table-body.component.d.ts +5 -1
  50. package/schematics/ngAdd/index.js +2 -2
package/NOTICE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  Progress Kendo UI for Angular 2023
2
2
 
3
- Copyright (c) 2016-2022 Progress Software Corporation and/or one of its
3
+ Copyright © 2016-2023 Progress Software Corporation and/or one of its
4
4
  subsidiaries or affiliates. All rights reserved.
5
5
 
6
6
  Portions of the Product include certain open source and commercial third-party
@@ -65,7 +65,7 @@ the Product:
65
65
 
66
66
  (1) The Apache Software License, Version 2.0:
67
67
 
68
- Progress Kendo UI for Angular 2022 incorporates TsLib v1.9.3. Such technology
68
+ Progress Kendo UI for Angular 2023 incorporates TsLib v1.9.3. Such technology
69
69
  is subject to the following terms and conditions: Apache Software License Version 2.0.
70
70
 
71
71
  Apache License
@@ -290,7 +290,7 @@ is subject to the following terms and conditions: Apache Software License Versio
290
290
 
291
291
  (2) BSD-Style Licenses:
292
292
 
293
- (a) Progress Kendo UI for Angular 2022 incorporates xlf-translate v2.0.4. Such
293
+ (a) Progress Kendo UI for Angular 2023 incorporates xlf-translate v2.0.4. Such
294
294
  technology is subject to the following terms and conditions:
295
295
 
296
296
  BSD 3-Clause License
@@ -325,7 +325,7 @@ technology is subject to the following terms and conditions:
325
325
 
326
326
  (3) The ISC License:
327
327
 
328
- (a) Progress Kendo UI for Angular 2022 incorporates glob v7.1.3. Such technology
328
+ (a) Progress Kendo UI for Angular 2023 incorporates glob v7.1.3. Such technology
329
329
  is subject to the following terms and conditions:
330
330
 
331
331
  The ISC License
@@ -352,7 +352,7 @@ is subject to the following terms and conditions:
352
352
 
353
353
  (4) MIT-Style Licenses:
354
354
 
355
- (a) Progress Kendo UI for Angular 2022 incorporates HammerJS v2.0.8. Such
355
+ (a) Progress Kendo UI for Angular 2023 incorporates HammerJS v2.0.8. Such
356
356
  technology is subject to the following terms and conditions:
357
357
 
358
358
  The MIT License (MIT)
@@ -377,7 +377,7 @@ technology is subject to the following terms and conditions:
377
377
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
378
378
  SOFTWARE.
379
379
 
380
- (b) Progress Kendo UI for Angular 2022 incorporates prosemirror-commands v1*,
380
+ (b) Progress Kendo UI for Angular 2023 incorporates prosemirror-commands v1*,
381
381
  prosemirror-cursor v1*, prosemirror-gapcursor v1*, prosemirror-history v1*,
382
382
  prosemirror-inputrules v1*, prosemirror-keymap v1*, prosemirror-model v1*,
383
383
  prosemirror-schema-list v1*, prosemirror-state v1*, prosemirror-tables v0.7*,
@@ -404,7 +404,7 @@ subject to the following terms and conditions:
404
404
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
405
405
  THE SOFTWARE.
406
406
 
407
- (c) Progress Kendo UI for Angular 2022 incorporates cheerio v0.2.2. Such technology is subject to the following terms and conditions:
407
+ (c) Progress Kendo UI for Angular 2023 incorporates cheerio v0.2.2. Such technology is subject to the following terms and conditions:
408
408
 
409
409
  MIT License
410
410
 
@@ -428,7 +428,7 @@ subject to the following terms and conditions:
428
428
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
429
429
  SOFTWARE.
430
430
 
431
- (d) Progress Kendo UI for Angular 2022 incorporates @types/prosemirror-commands v1*,
431
+ (d) Progress Kendo UI for Angular 2023 incorporates @types/prosemirror-commands v1*,
432
432
  @types/prosemirror-dropcursor v1*, @types/prosemirror-gapcursor v1*, @types/prosemirror-history v1*,
433
433
  @types/prosemirror-inputrules v1*, @types/prosemirror-keymap v1*, @types/prosemirror-model v1*,
434
434
  @types/prosemirror-schema-list v1*, @types/prosemirror-state v1*, @types/prosemirror-tables v0.9*,
@@ -457,7 +457,7 @@ subject to the following terms and conditions:
457
457
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
458
458
  SOFTWARE.
459
459
 
460
- (e) Progress Kendo UI for Angular 2022 incorporates pako-esm v1.0.0. Such
460
+ (e) Progress Kendo UI for Angular 2023 incorporates pako-esm v1.0.0. Such
461
461
  technology is subject to the following terms and conditions:
462
462
 
463
463
  Copyright © 2020 Progress Software Corporation and/or one of its subsidiaries
@@ -483,7 +483,7 @@ technology is subject to the following terms and conditions:
483
483
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
484
484
  THE SOFTWARE.
485
485
 
486
- (f) Progress Kendo UI for Angular 2022 incorporates jszip-esm v1.0.0. Such
486
+ (f) Progress Kendo UI for Angular 2023 incorporates jszip-esm v1.0.0. Such
487
487
  technology is subject to the following terms and conditions:
488
488
 
489
489
  Copyright © 2020 Progress Software Corporation and/or one of its subsidiaries
@@ -510,7 +510,7 @@ technology is subject to the following terms and conditions:
510
510
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
511
511
  THE SOFTWARE.
512
512
 
513
- (g) Progress Kendo UI for Angular 2022 incorporates data.task v3.1.2. Such
513
+ (g) Progress Kendo UI for Angular 2023 incorporates data.task v3.1.2. Such
514
514
  technology is subject to the following terms and conditions:
515
515
 
516
516
  The MIT License
@@ -535,7 +535,7 @@ technology is subject to the following terms and conditions:
535
535
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
536
536
  THE SOFTWARE.
537
537
 
538
- (h) Progress Kendo UI for Angular 2022 incorporates ramda v0.23. Such technology
538
+ (h) Progress Kendo UI for Angular 2023 incorporates ramda v0.23. Such technology
539
539
  is subject to the following terms and conditions:
540
540
 
541
541
  The MIT License (MIT)
@@ -560,7 +560,7 @@ is subject to the following terms and conditions:
560
560
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
561
561
  THE SOFTWARE.
562
562
 
563
- (i) Progress Kendo UI for Angular 2022 incorporates js-yaml v3.14.0. Such
563
+ (i) Progress Kendo UI for Angular 2023 incorporates js-yaml v3.14.0. Such
564
564
  technology is subject to the following terms and conditions:
565
565
 
566
566
  (The MIT License)
@@ -587,7 +587,7 @@ technology is subject to the following terms and conditions:
587
587
 
588
588
  (5) UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE:
589
589
 
590
- Progress Kendo UI for Angular 2022 incorporates Unicode CLDR Database v33.
590
+ Progress Kendo UI for Angular 2023 incorporates Unicode CLDR Database v33.
591
591
  Such technology is subject to the following terms and conditions:
592
592
 
593
593
  UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
@@ -605,7 +605,7 @@ Such technology is subject to the following terms and conditions:
605
605
 
606
606
  COPYRIGHT AND PERMISSION NOTICE
607
607
 
608
- Copyright © 1991-2021 Unicode, Inc. All rights reserved.
608
+ Copyright © 1991-2019 Unicode, Inc. All rights reserved.
609
609
  Distributed under the Terms of Use in https://www.unicode.org/copyright.html.
610
610
 
611
611
  Permission is hereby granted, free of charge, to any person obtaining
@@ -642,7 +642,7 @@ incorporated into the Product: NONE
642
642
 
643
643
  3. Special Notices Regarding Progress Products incorporated into the Product:
644
644
 
645
- (a) Progress Kendo UI for Angular 2022 incorporates Kendo UI Licensing CLI v1.1
645
+ (a) Progress Kendo UI for Angular 2023 incorporates Kendo UI Licensing CLI v1.1
646
646
  from Progress Software Corporation. See NOTICE.txt text file within product for
647
647
  third-party license information.
648
648
 
@@ -651,4 +651,4 @@ the release notes or other documentation that accompanies updates received in
651
651
  connection with support of the Product.
652
652
 
653
653
 
654
- Updated 1/6/2022
654
+ Updated 13.Jan.2023
@@ -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 Grid. To enable the user to show or hide columns,
@@ -27,7 +29,7 @@ import * as i0 from "@angular/core";
27
29
  * })
28
30
  *
29
31
  * class AppComponent {
30
- * public data: any[] = [{ Field1: 'Foo', Field2: 'Bar' }];
32
+ * public data: any[] = [{ Field1: 'Foo', Field2: 'Bar' }];
31
33
  * }
32
34
  * ```
33
35
  */
@@ -38,6 +40,10 @@ export declare class ColumnChooserComponent implements OnDestroy {
38
40
  private ngZone;
39
41
  private renderer;
40
42
  private changeDetector;
43
+ /**
44
+ * @hidden
45
+ */
46
+ columnsIcon: SVGIcon;
41
47
  /**
42
48
  * Specifies if the changes in the visibility of the column will be immediately applied.
43
49
  */
@@ -54,7 +60,7 @@ export declare class ColumnChooserComponent implements OnDestroy {
54
60
  /**
55
61
  * @hidden
56
62
  */
57
- toggle(anchor: any, template: any): void;
63
+ toggle(anchor: Button, template: any): void;
58
64
  /**
59
65
  * @hidden
60
66
  */
@@ -4,6 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { OnInit } from '@angular/core';
6
6
  import { LocalizationService } from "@progress/kendo-angular-l10n";
7
+ import { SVGIcon } from '@progress/kendo-svg-icons';
7
8
  import { ContextService } from '../common/provider.service';
8
9
  import { ColumnMenuItemBase } from './column-menu-item-base';
9
10
  import * as i0 from "@angular/core";
@@ -43,6 +44,7 @@ import * as i0 from "@angular/core";
43
44
  export declare class ColumnMenuAutoSizeAllColumnsComponent extends ColumnMenuItemBase implements OnInit {
44
45
  localization: LocalizationService;
45
46
  ctx: ContextService;
47
+ displayInlineBlockIcon: SVGIcon;
46
48
  constructor(localization: LocalizationService, ctx: ContextService);
47
49
  ngOnInit(): void;
48
50
  autoSizeAllColumns(): void;
@@ -4,6 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { OnInit } from '@angular/core';
6
6
  import { LocalizationService } from "@progress/kendo-angular-l10n";
7
+ import { SVGIcon } from '@progress/kendo-svg-icons';
7
8
  import { ContextService } from '../common/provider.service';
8
9
  import { ColumnMenuItemBase } from './column-menu-item-base';
9
10
  import * as i0 from "@angular/core";
@@ -47,6 +48,7 @@ export declare class ColumnMenuAutoSizeColumnComponent extends ColumnMenuItemBas
47
48
  * The Grid column instance which will be resized through the auto size column option.
48
49
  */
49
50
  column: any;
51
+ maxWidthIcon: SVGIcon;
50
52
  constructor(localization: LocalizationService, ctx: ContextService);
51
53
  ngOnInit(): void;
52
54
  autoSizeColumn(): void;
@@ -6,6 +6,7 @@ import { EventEmitter, ChangeDetectorRef, ElementRef } 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 Grid that can be placed
@@ -63,6 +64,7 @@ export declare class ColumnMenuChooserComponent extends ColumnMenuItemBase {
63
64
  */
64
65
  actionsClass: string;
65
66
  get columns(): any;
67
+ columnsIcon: SVGIcon;
66
68
  constructor(localization: LocalizationService, columnInfoService: ColumnInfoService, changeDetector: ChangeDetectorRef, hostElement: ElementRef);
67
69
  /**
68
70
  * @hidden
@@ -4,6 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { EventEmitter, ElementRef } from '@angular/core';
6
6
  import { LocalizationService } from "@progress/kendo-angular-l10n";
7
+ import { SVGIcon } from '@progress/kendo-svg-icons';
7
8
  import { ColumnMenuItemBase } from './column-menu-item-base';
8
9
  import * as i0 from "@angular/core";
9
10
  /**
@@ -59,6 +60,7 @@ export declare class ColumnMenuFilterComponent extends ColumnMenuItemBase {
59
60
  * @hidden
60
61
  */
61
62
  actionsClass: string;
63
+ filterIcon: SVGIcon;
62
64
  constructor(localization: LocalizationService, hostElement: ElementRef);
63
65
  /**
64
66
  * @hidden
@@ -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
@@ -51,6 +52,11 @@ export declare class ColumnMenuItemComponent implements OnChanges {
51
52
  * that will be rendered for the item.
52
53
  */
53
54
  icon: string;
55
+ /**
56
+ * Specifies the name of the [SVG icon]({% slug svgicon_list %})
57
+ * that will be rendered for the item.
58
+ */
59
+ svgIcon: SVGIcon;
54
60
  /**
55
61
  * Specifies the item text.
56
62
  */
@@ -68,7 +74,6 @@ export declare class ColumnMenuItemComponent implements OnChanges {
68
74
  */
69
75
  expanded: boolean;
70
76
  contentTemplate: ColumnMenuItemContentTemplateDirective;
71
- get iconClass(): string;
72
77
  contentState: string;
73
78
  ngOnChanges(changes: any): void;
74
79
  /**
@@ -77,5 +82,5 @@ export declare class ColumnMenuItemComponent implements OnChanges {
77
82
  onClick(e: any): void;
78
83
  private updateContentState;
79
84
  static ɵfac: i0.ɵɵFactoryDeclaration<ColumnMenuItemComponent, never>;
80
- static ɵcmp: i0.ɵɵComponentDeclaration<ColumnMenuItemComponent, "kendo-grid-columnmenu-item", never, { "icon": "icon"; "text": "text"; "selected": "selected"; "disabled": "disabled"; "expanded": "expanded"; }, { "itemClick": "itemClick"; "expand": "expand"; "collapse": "collapse"; }, ["contentTemplate"], never>;
85
+ static ɵcmp: i0.ɵɵComponentDeclaration<ColumnMenuItemComponent, "kendo-grid-columnmenu-item", never, { "icon": "icon"; "svgIcon": "svgIcon"; "text": "text"; "selected": "selected"; "disabled": "disabled"; "expanded": "expanded"; }, { "itemClick": "itemClick"; "expand": "expand"; "collapse": "collapse"; }, ["contentTemplate"], never>;
81
86
  }
@@ -4,6 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { ChangeDetectorRef } from '@angular/core';
6
6
  import { LocalizationService } from "@progress/kendo-angular-l10n";
7
+ import { SVGIcon } 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";
@@ -45,6 +46,9 @@ export declare class ColumnMenuLockComponent extends ColumnMenuItemBase {
45
46
  constructor(localization: LocalizationService, columnInfoService: ColumnInfoService, changeDetector: ChangeDetectorRef);
46
47
  get text(): string;
47
48
  get icon(): string;
49
+ unlockIcon: SVGIcon;
50
+ lockIcon: SVGIcon;
51
+ get svgIcon(): SVGIcon;
48
52
  get disabled(): boolean;
49
53
  /**
50
54
  * @hidden
@@ -4,6 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { EventEmitter, ElementRef } from '@angular/core';
6
6
  import { LocalizationService } from "@progress/kendo-angular-l10n";
7
+ import { SVGIcon } from '@progress/kendo-svg-icons';
7
8
  import { ColumnMenuItemBase } from './column-menu-item-base';
8
9
  import * as i0 from "@angular/core";
9
10
  /**
@@ -71,6 +72,7 @@ export declare class ColumnMenuPositionComponent extends ColumnMenuItemBase {
71
72
  * @hidden
72
73
  */
73
74
  get isLast(): boolean;
75
+ setColumnPositionIcon: SVGIcon;
74
76
  private _isLast;
75
77
  constructor(localization: LocalizationService, hostElement: ElementRef);
76
78
  /**
@@ -6,6 +6,7 @@ import { Renderer2 } from '@angular/core';
6
6
  import { LocalizationService } from "@progress/kendo-angular-l10n";
7
7
  import { SortService } from '../common/sort.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 for sorting Grid columns that can be placed inside a
@@ -42,6 +43,8 @@ export declare class ColumnMenuSortComponent extends ColumnMenuItemBase {
42
43
  localization: LocalizationService;
43
44
  protected sortService: SortService;
44
45
  protected renderer: Renderer2;
46
+ sortAscSmallIcon: SVGIcon;
47
+ sortDescSmallIcon: SVGIcon;
45
48
  constructor(localization: LocalizationService, sortService: SortService, renderer: Renderer2);
46
49
  get sortedAsc(): boolean;
47
50
  get sortedDesc(): boolean;
@@ -4,6 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { ChangeDetectorRef } from '@angular/core';
6
6
  import { LocalizationService } from "@progress/kendo-angular-l10n";
7
+ import { SVGIcon } 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";
@@ -42,9 +43,12 @@ export declare class ColumnMenuStickComponent extends ColumnMenuItemBase {
42
43
  private localization;
43
44
  private columnInfoService;
44
45
  private changeDetector;
46
+ stickIcon: SVGIcon;
47
+ unstickIcon: SVGIcon;
45
48
  constructor(localization: LocalizationService, columnInfoService: ColumnInfoService, changeDetector: ChangeDetectorRef);
46
49
  get text(): string;
47
50
  get icon(): string;
51
+ get svgIcon(): SVGIcon;
48
52
  get disabled(): boolean;
49
53
  /**
50
54
  * @hidden
@@ -9,6 +9,7 @@ import { SinglePopupService } from '../common/single-popup.service';
9
9
  import { ColumnMenuService } from './column-menu.service';
10
10
  import { ColumnMenuSettings } from './column-menu-settings.interface';
11
11
  import { ContextService } from '../common/provider.service';
12
+ import { SVGIcon } from '@progress/kendo-svg-icons';
12
13
  import * as i0 from "@angular/core";
13
14
  /**
14
15
  * Represents the [column menu]({% slug columnmenu_grid %}) component.
@@ -67,6 +68,7 @@ export declare class ColumnMenuComponent implements AfterViewInit, OnChanges, On
67
68
  * @hidden
68
69
  */
69
70
  expandedPosition: boolean;
71
+ moreVerticalIcon: SVGIcon;
70
72
  private popupRef;
71
73
  private closeSubscription;
72
74
  constructor(navigationService: NavigationService, popupService: SinglePopupService, localization: LocalizationService, service: ColumnMenuService, ctx: ContextService);
@@ -21,12 +21,13 @@ import * as i15 from "./column-menu-autosize.component";
21
21
  import * as i16 from "./column-menu-autosize-all.component";
22
22
  import * as i17 from "@angular/common";
23
23
  import * as i18 from "../filtering/menu/filter-menu.module";
24
+ import * as i19 from "@progress/kendo-angular-buttons";
24
25
  /**
25
26
  * @hidden
26
27
  */
27
28
  export declare class ColumnMenuModule {
28
29
  static exports(): any[];
29
30
  static ɵfac: i0.ɵɵFactoryDeclaration<ColumnMenuModule, never>;
30
- 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.ColumnMenuContainerComponent, typeof i12.ColumnMenuItemDirective, typeof i13.ColumnMenuStickComponent, typeof i14.ColumnMenuPositionComponent, typeof i15.ColumnMenuAutoSizeColumnComponent, typeof i16.ColumnMenuAutoSizeAllColumnsComponent], [typeof i17.CommonModule, typeof i18.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, typeof i11.ColumnMenuContainerComponent, typeof i12.ColumnMenuItemDirective, typeof i13.ColumnMenuStickComponent, typeof i14.ColumnMenuPositionComponent, typeof i15.ColumnMenuAutoSizeColumnComponent, typeof i16.ColumnMenuAutoSizeAllColumnsComponent]>;
31
+ 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.ColumnMenuContainerComponent, typeof i12.ColumnMenuItemDirective, typeof i13.ColumnMenuStickComponent, typeof i14.ColumnMenuPositionComponent, typeof i15.ColumnMenuAutoSizeColumnComponent, typeof i16.ColumnMenuAutoSizeAllColumnsComponent], [typeof i17.CommonModule, typeof i18.FilterMenuModule, typeof i19.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, typeof i11.ColumnMenuContainerComponent, typeof i12.ColumnMenuItemDirective, typeof i13.ColumnMenuStickComponent, typeof i14.ColumnMenuPositionComponent, typeof i15.ColumnMenuAutoSizeColumnComponent, typeof i16.ColumnMenuAutoSizeAllColumnsComponent]>;
31
32
  static ɵinj: i0.ɵɵInjectorDeclaration<ColumnMenuModule>;
32
33
  }
@@ -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 "./column-list.component";
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 Grid. To enable the user to show or hide columns,
18
20
  * add the component inside a [ToolbarTemplate]({% slug api_grid_toolbartemplatedirective %}) directive.
@@ -33,7 +35,7 @@ import * as i4 from "./column-list.component";
33
35
  * })
34
36
  *
35
37
  * class AppComponent {
36
- * public data: any[] = [{ Field1: 'Foo', Field2: 'Bar' }];
38
+ * public data: any[] = [{ Field1: 'Foo', Field2: 'Bar' }];
37
39
  * }
38
40
  * ```
39
41
  */
@@ -45,6 +47,10 @@ export class ColumnChooserComponent {
45
47
  this.ngZone = ngZone;
46
48
  this.renderer = renderer;
47
49
  this.changeDetector = changeDetector;
50
+ /**
51
+ * @hidden
52
+ */
53
+ this.columnsIcon = columnsIcon;
48
54
  /**
49
55
  * Specifies if the changes in the visibility of the column will be immediately applied.
50
56
  */
@@ -67,7 +73,7 @@ export class ColumnChooserComponent {
67
73
  if (!this.popupRef) {
68
74
  const direction = this.localization.rtl ? 'right' : 'left';
69
75
  this.popupRef = this.popupService.open({
70
- anchor: anchor,
76
+ anchor: anchor.element,
71
77
  content: template,
72
78
  positionMode: 'absolute',
73
79
  anchorAlign: { vertical: 'bottom', horizontal: direction },
@@ -78,7 +84,7 @@ export class ColumnChooserComponent {
78
84
  return;
79
85
  }
80
86
  this.ngZone.runOutsideAngular(() => this.closeClick = this.renderer.listen('document', 'click', ({ target }) => {
81
- if (!closest(target, node => node === this.popupRef.popupElement || node === anchor)) {
87
+ if (!closest(target, node => node === this.popupRef.popupElement || node === anchor.element)) {
82
88
  this.close();
83
89
  }
84
90
  }));
@@ -121,12 +127,13 @@ export class ColumnChooserComponent {
121
127
  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 });
122
128
  ColumnChooserComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ColumnChooserComponent, selector: "kendo-grid-column-chooser", inputs: { autoSync: "autoSync", allowHideAll: "allowHideAll" }, ngImport: i0, template: `
123
129
  <button #anchor
130
+ kendoButton
124
131
  type="button"
125
132
  (click)="toggle(anchor, template)"
126
- class="k-button k-button-flat-base k-button-flat k-icon-button k-button-md k-rounded-md k-button-rectangle k-icon-button"
127
- [attr.title]="localization.get('columns')">
128
- <span class="k-button-icon k-icon k-i-columns"></span>
129
- </button>
133
+ fillMode="flat"
134
+ [attr.title]="localization.get('columns')"
135
+ icon="columns"
136
+ [svgIcon]="columnsIcon"></button>
130
137
  <ng-template #template>
131
138
  <span class='k-column-chooser-title'>{{ localization.get('columns') }}</span>
132
139
  <kendo-grid-columnlist
@@ -139,19 +146,20 @@ ColumnChooserComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
139
146
  (columnChange)="onChange($event)">
140
147
  </kendo-grid-columnlist>
141
148
  </ng-template>
142
- `, isInline: true, components: [{ type: i4.ColumnListComponent, selector: "kendo-grid-columnlist", inputs: ["columns", "autoSync", "allowHideAll", "applyText", "resetText", "actionsClass", "isLast", "isExpanded", "service"], outputs: ["reset", "apply", "columnChange"] }] });
149
+ `, 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-grid-columnlist", inputs: ["columns", "autoSync", "allowHideAll", "applyText", "resetText", "actionsClass", "isLast", "isExpanded", "service"], outputs: ["reset", "apply", "columnChange"] }] });
143
150
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnChooserComponent, decorators: [{
144
151
  type: Component,
145
152
  args: [{
146
153
  selector: 'kendo-grid-column-chooser',
147
154
  template: `
148
155
  <button #anchor
156
+ kendoButton
149
157
  type="button"
150
158
  (click)="toggle(anchor, template)"
151
- class="k-button k-button-flat-base k-button-flat k-icon-button k-button-md k-rounded-md k-button-rectangle k-icon-button"
152
- [attr.title]="localization.get('columns')">
153
- <span class="k-button-icon k-icon k-i-columns"></span>
154
- </button>
159
+ fillMode="flat"
160
+ [attr.title]="localization.get('columns')"
161
+ icon="columns"
162
+ [svgIcon]="columnsIcon"></button>
155
163
  <ng-template #template>
156
164
  <span class='k-column-chooser-title'>{{ localization.get('columns') }}</span>
157
165
  <kendo-grid-columnlist
@@ -4,6 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, isDevMode } from '@angular/core';
6
6
  import { LocalizationService } from "@progress/kendo-angular-l10n";
7
+ import { displayInlineBlockIcon } from '@progress/kendo-svg-icons';
7
8
  import { ColunnMenuErrorMessages } from '../common/error-messages';
8
9
  import { ContextService } from '../common/provider.service';
9
10
  import { ColumnMenuItemBase } from './column-menu-item-base';
@@ -51,6 +52,7 @@ export class ColumnMenuAutoSizeAllColumnsComponent extends ColumnMenuItemBase {
51
52
  super();
52
53
  this.localization = localization;
53
54
  this.ctx = ctx;
55
+ this.displayInlineBlockIcon = displayInlineBlockIcon;
54
56
  }
55
57
  ngOnInit() {
56
58
  const isVirtualColumns = this.ctx.grid.columnMenuTemplate && this.ctx.grid.virtualColumns;
@@ -68,10 +70,10 @@ ColumnMenuAutoSizeAllColumnsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVer
68
70
  *ngIf="!this.ctx.grid.virtualColumns"
69
71
  [text]="localization.get('autosizeAllColumns')"
70
72
  icon="display-inline-block"
73
+ [svgIcon]="displayInlineBlockIcon"
71
74
  (itemClick)="autoSizeAllColumns()"
72
- >
73
- </kendo-grid-columnmenu-item>
74
- `, isInline: true, components: [{ type: i3.ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
75
+ ></kendo-grid-columnmenu-item>
76
+ `, isInline: true, components: [{ type: i3.ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "svgIcon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
75
77
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuAutoSizeAllColumnsComponent, decorators: [{
76
78
  type: Component,
77
79
  args: [{
@@ -81,9 +83,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
81
83
  *ngIf="!this.ctx.grid.virtualColumns"
82
84
  [text]="localization.get('autosizeAllColumns')"
83
85
  icon="display-inline-block"
86
+ [svgIcon]="displayInlineBlockIcon"
84
87
  (itemClick)="autoSizeAllColumns()"
85
- >
86
- </kendo-grid-columnmenu-item>
88
+ ></kendo-grid-columnmenu-item>
87
89
  `
88
90
  }]
89
91
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.ContextService }]; } });
@@ -4,6 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, Input, isDevMode } from '@angular/core';
6
6
  import { LocalizationService } from "@progress/kendo-angular-l10n";
7
+ import { maxWidthIcon } from '@progress/kendo-svg-icons';
7
8
  import { ColunnMenuErrorMessages } from '../common/error-messages';
8
9
  import { ContextService } from '../common/provider.service';
9
10
  import { ColumnMenuItemBase } from './column-menu-item-base';
@@ -51,6 +52,7 @@ export class ColumnMenuAutoSizeColumnComponent extends ColumnMenuItemBase {
51
52
  super();
52
53
  this.localization = localization;
53
54
  this.ctx = ctx;
55
+ this.maxWidthIcon = maxWidthIcon;
54
56
  }
55
57
  ngOnInit() {
56
58
  const isVirtualColumns = this.ctx.grid.columnMenuTemplate && this.ctx.grid.virtualColumns;
@@ -69,10 +71,10 @@ ColumnMenuAutoSizeColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion
69
71
  class="k-grid-columnmenu-autosize-column"
70
72
  [text]="localization.get('autosizeThisColumn')"
71
73
  icon="max-width"
74
+ [svgIcon]="maxWidthIcon"
72
75
  (itemClick)="autoSizeColumn()"
73
- >
74
- </kendo-grid-columnmenu-item>
75
- `, isInline: true, components: [{ type: i3.ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
76
+ ></kendo-grid-columnmenu-item>
77
+ `, isInline: true, components: [{ type: i3.ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "svgIcon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
76
78
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuAutoSizeColumnComponent, decorators: [{
77
79
  type: Component,
78
80
  args: [{
@@ -83,9 +85,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
83
85
  class="k-grid-columnmenu-autosize-column"
84
86
  [text]="localization.get('autosizeThisColumn')"
85
87
  icon="max-width"
88
+ [svgIcon]="maxWidthIcon"
86
89
  (itemClick)="autoSizeColumn()"
87
- >
88
- </kendo-grid-columnmenu-item>
90
+ ></kendo-grid-columnmenu-item>
89
91
  `
90
92
  }]
91
93
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.ContextService }]; }, propDecorators: { column: [{
@@ -6,6 +6,7 @@ import { Component, Input, Output, EventEmitter, ChangeDetectorRef, ElementRef }
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";
@@ -69,6 +70,7 @@ export class ColumnMenuChooserComponent extends ColumnMenuItemBase {
69
70
  * @hidden
70
71
  */
71
72
  this.actionsClass = 'k-columnmenu-actions';
73
+ this.columnsIcon = columnsIcon;
72
74
  }
73
75
  get columns() {
74
76
  return this.columnInfoService.leafNamedColumns;
@@ -106,6 +108,7 @@ ColumnMenuChooserComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
106
108
  <kendo-grid-columnmenu-item
107
109
  [text]="localization.get('columns')"
108
110
  icon="columns"
111
+ [svgIcon]="columnsIcon"
109
112
  [expanded]="expanded"
110
113
  (collapse)="onCollapse()"
111
114
  (expand)="onExpand()">
@@ -124,7 +127,7 @@ ColumnMenuChooserComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
124
127
  </kendo-grid-columnlist>
125
128
  </ng-template>
126
129
  </kendo-grid-columnmenu-item>
127
- `, isInline: true, components: [{ type: i3.ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }, { type: i4.ColumnListComponent, selector: "kendo-grid-columnlist", inputs: ["columns", "autoSync", "allowHideAll", "applyText", "resetText", "actionsClass", "isLast", "isExpanded", "service"], outputs: ["reset", "apply", "columnChange"] }], directives: [{ type: i5.ColumnMenuItemContentTemplateDirective, selector: "[kendoGridColumnMenuItemContentTemplate]" }] });
130
+ `, isInline: true, components: [{ type: i3.ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "svgIcon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }, { type: i4.ColumnListComponent, selector: "kendo-grid-columnlist", inputs: ["columns", "autoSync", "allowHideAll", "applyText", "resetText", "actionsClass", "isLast", "isExpanded", "service"], outputs: ["reset", "apply", "columnChange"] }], directives: [{ type: i5.ColumnMenuItemContentTemplateDirective, selector: "[kendoGridColumnMenuItemContentTemplate]" }] });
128
131
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuChooserComponent, decorators: [{
129
132
  type: Component,
130
133
  args: [{
@@ -133,6 +136,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
133
136
  <kendo-grid-columnmenu-item
134
137
  [text]="localization.get('columns')"
135
138
  icon="columns"
139
+ [svgIcon]="columnsIcon"
136
140
  [expanded]="expanded"
137
141
  (collapse)="onCollapse()"
138
142
  (expand)="onExpand()">