@progress/kendo-angular-pivotgrid 11.0.0-develop.98 → 11.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE.txt +17 -17
- package/configurator/chip-menu/chip-menu-filter.component.d.ts +2 -0
- package/configurator/chip-menu/chip-menu-item.component.d.ts +7 -1
- package/configurator/chip-menu/chip-menu-sort.component.d.ts +3 -0
- package/configurator/chip-menu/chip-menu.component.d.ts +3 -1
- package/esm2020/configurator/chip-menu/chip-menu-filter.component.mjs +5 -1
- package/esm2020/configurator/chip-menu/chip-menu-item.component.mjs +23 -13
- package/esm2020/configurator/chip-menu/chip-menu-sort.component.mjs +8 -1
- package/esm2020/configurator/chip-menu/chip-menu.component.mjs +30 -19
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/pivotgrid.component.mjs +11 -5
- package/esm2020/pivotgrid.module.mjs +5 -2
- package/esm2020/rendering/pivotgrid-cell.directive.mjs +18 -20
- package/esm2020/shared.module.mjs +5 -0
- package/fesm2015/progress-kendo-angular-pivotgrid.mjs +107 -71
- package/fesm2020/progress-kendo-angular-pivotgrid.mjs +107 -71
- package/package.json +15 -14
- package/pivotgrid.component.d.ts +5 -0
- package/pivotgrid.module.d.ts +2 -1
- package/rendering/pivotgrid-cell.directive.d.ts +3 -0
- package/schematics/ngAdd/index.js +3 -1
- package/shared.module.d.ts +3 -2
package/NOTICE.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Progress Kendo UI for Angular 2023
|
|
2
2
|
|
|
3
|
-
Copyright
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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-
|
|
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
|
|
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
|
|
654
|
+
Updated 13.Jan.2023
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { EventEmitter, ElementRef } from '@angular/core';
|
|
6
6
|
import { AxisDescriptor } from '@progress/kendo-pivotgrid-common';
|
|
7
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
7
8
|
import { PivotLocalizationService } from '../../localization/pivot-localization.service';
|
|
8
9
|
import { ChipMenuItemBase } from './chip-menu-item-base';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
@@ -32,6 +33,7 @@ export declare class ChipMenuFilterComponent extends ChipMenuItemBase {
|
|
|
32
33
|
expanded: boolean;
|
|
33
34
|
isLast: boolean;
|
|
34
35
|
actionsClass: string;
|
|
36
|
+
filterSVGIcon: SVGIcon;
|
|
35
37
|
constructor(localization: PivotLocalizationService, hostElement: ElementRef);
|
|
36
38
|
onCollapse(): void;
|
|
37
39
|
onExpand(): void;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { EventEmitter, OnChanges } from '@angular/core';
|
|
6
6
|
import { ChipMenuItemContentTemplateDirective } from './chip-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
|
* @hidden
|
|
@@ -27,6 +28,11 @@ export declare class ChipMenuItemComponent implements OnChanges {
|
|
|
27
28
|
* that will be rendered for the item.
|
|
28
29
|
*/
|
|
29
30
|
icon: string;
|
|
31
|
+
/**
|
|
32
|
+
* Defines an SVGIcon to be rendered for the column menu items.
|
|
33
|
+
* The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
|
|
34
|
+
*/
|
|
35
|
+
svgIcon: SVGIcon;
|
|
30
36
|
/**
|
|
31
37
|
* Specifies the item text.
|
|
32
38
|
*/
|
|
@@ -46,5 +52,5 @@ export declare class ChipMenuItemComponent implements OnChanges {
|
|
|
46
52
|
onClick(e: any): void;
|
|
47
53
|
private updateContentState;
|
|
48
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChipMenuItemComponent, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChipMenuItemComponent, "kendo-pivot-chipmenu-item", never, { "icon": "icon"; "text": "text"; "selected": "selected"; "expanded": "expanded"; }, { "itemClick": "itemClick"; "expand": "expand"; "collapse": "collapse"; }, ["contentTemplate"], never>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChipMenuItemComponent, "kendo-pivot-chipmenu-item", never, { "icon": "icon"; "svgIcon": "svgIcon"; "text": "text"; "selected": "selected"; "expanded": "expanded"; }, { "itemClick": "itemClick"; "expand": "expand"; "collapse": "collapse"; }, ["contentTemplate"], never>;
|
|
50
56
|
}
|
|
@@ -7,6 +7,7 @@ import { ChipMenuItemBase } from './chip-menu-item-base';
|
|
|
7
7
|
import { ConfiguratorService } from '../configurator.service';
|
|
8
8
|
import { AxisDescriptor } from '@progress/kendo-pivotgrid-common';
|
|
9
9
|
import { PivotLocalizationService } from '../../localization/pivot-localization.service';
|
|
10
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
/**
|
|
12
13
|
* @hidden
|
|
@@ -19,6 +20,8 @@ export declare class ChipMenuSortComponent extends ChipMenuItemBase {
|
|
|
19
20
|
protected renderer: Renderer2;
|
|
20
21
|
protected configuratorService: ConfiguratorService;
|
|
21
22
|
chip: AxisDescriptor;
|
|
23
|
+
sortAscSVGIcon: SVGIcon;
|
|
24
|
+
sortDescSVGIcon: SVGIcon;
|
|
22
25
|
constructor(localization: PivotLocalizationService, renderer: Renderer2, configuratorService: ConfiguratorService);
|
|
23
26
|
get sortedAsc(): boolean;
|
|
24
27
|
get sortedDesc(): boolean;
|
|
@@ -7,6 +7,7 @@ import { SinglePopupService } from './single-popup.service';
|
|
|
7
7
|
import { ChipMenuService } from './chip-menu.service';
|
|
8
8
|
import { PivotLocalizationService } from '../../localization/pivot-localization.service';
|
|
9
9
|
import { AxisDescriptor } from '@progress/kendo-pivotgrid-common';
|
|
10
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
/**
|
|
12
13
|
* @hidden
|
|
@@ -23,11 +24,12 @@ export declare class ChipMenuComponent implements OnDestroy {
|
|
|
23
24
|
chip: AxisDescriptor;
|
|
24
25
|
tabIndex: string;
|
|
25
26
|
anchor: ElementRef;
|
|
27
|
+
menuItemSVGIcon: SVGIcon;
|
|
26
28
|
private popupRef;
|
|
27
29
|
private closeSubscription;
|
|
28
30
|
constructor(popupService: SinglePopupService, localization: PivotLocalizationService, service: ChipMenuService);
|
|
29
31
|
ngOnDestroy(): void;
|
|
30
|
-
toggle(e: any,
|
|
32
|
+
toggle(e: any, template: any): void;
|
|
31
33
|
close(): void;
|
|
32
34
|
get chipMenuTitle(): string;
|
|
33
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChipMenuComponent, never>;
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, Input, Output, EventEmitter, ElementRef } from '@angular/core';
|
|
6
|
+
import { filterIcon } from '@progress/kendo-svg-icons';
|
|
6
7
|
import { PivotLocalizationService } from '../../localization/pivot-localization.service';
|
|
7
8
|
import { ChipMenuItemBase } from './chip-menu-item-base';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
@@ -33,6 +34,7 @@ export class ChipMenuFilterComponent extends ChipMenuItemBase {
|
|
|
33
34
|
this.expanded = false;
|
|
34
35
|
this.isLast = false;
|
|
35
36
|
this.actionsClass = 'k-columnmenu-actions';
|
|
37
|
+
this.filterSVGIcon = filterIcon;
|
|
36
38
|
}
|
|
37
39
|
onCollapse() {
|
|
38
40
|
this.expanded = false;
|
|
@@ -58,6 +60,7 @@ ChipMenuFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
58
60
|
classs="k-widget k-expander"
|
|
59
61
|
[text]="messageFor('fieldMenuFilterItemLabel')"
|
|
60
62
|
icon="filter"
|
|
63
|
+
[svgIcon]="filterSVGIcon"
|
|
61
64
|
[expanded]="expanded"
|
|
62
65
|
(collapse)="onCollapse()"
|
|
63
66
|
(expand)="onExpand()">
|
|
@@ -73,7 +76,7 @@ ChipMenuFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
73
76
|
</kendo-pivot-filter-menu-container>
|
|
74
77
|
</ng-template>
|
|
75
78
|
</kendo-pivot-chipmenu-item>
|
|
76
|
-
`, isInline: true, components: [{ type: i2.ChipMenuItemComponent, selector: "kendo-pivot-chipmenu-item", inputs: ["icon", "text", "selected", "expanded"], outputs: ["itemClick", "expand", "collapse"] }, { type: i3.FilterMenuContainerComponent, selector: "kendo-pivot-filter-menu-container", inputs: ["chip", "isLast", "isExpanded", "menuTabbingService", "actionsClass"], outputs: ["close"] }], directives: [{ type: i4.ChipMenuItemContentTemplateDirective, selector: "[kendoPivotChipMenuItemContentTemplate]" }] });
|
|
79
|
+
`, isInline: true, components: [{ type: i2.ChipMenuItemComponent, selector: "kendo-pivot-chipmenu-item", inputs: ["icon", "svgIcon", "text", "selected", "expanded"], outputs: ["itemClick", "expand", "collapse"] }, { type: i3.FilterMenuContainerComponent, selector: "kendo-pivot-filter-menu-container", inputs: ["chip", "isLast", "isExpanded", "menuTabbingService", "actionsClass"], outputs: ["close"] }], directives: [{ type: i4.ChipMenuItemContentTemplateDirective, selector: "[kendoPivotChipMenuItemContentTemplate]" }] });
|
|
77
80
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ChipMenuFilterComponent, decorators: [{
|
|
78
81
|
type: Component,
|
|
79
82
|
args: [{
|
|
@@ -83,6 +86,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
83
86
|
classs="k-widget k-expander"
|
|
84
87
|
[text]="messageFor('fieldMenuFilterItemLabel')"
|
|
85
88
|
icon="filter"
|
|
89
|
+
[svgIcon]="filterSVGIcon"
|
|
86
90
|
[expanded]="expanded"
|
|
87
91
|
(collapse)="onCollapse()"
|
|
88
92
|
(expand)="onExpand()">
|
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
5
6
|
import { Component, Input, Output, EventEmitter, ContentChild } from '@angular/core';
|
|
6
7
|
import { trigger, transition, style, animate, state } from '@angular/animations';
|
|
7
8
|
import { ChipMenuItemContentTemplateDirective } from './chip-menu-item-content-template.directive';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
|
-
import * as i1 from "@angular
|
|
10
|
+
import * as i1 from "@progress/kendo-angular-icons";
|
|
11
|
+
import * as i2 from "@angular/common";
|
|
10
12
|
/**
|
|
11
13
|
* @hidden
|
|
12
14
|
*
|
|
@@ -53,23 +55,26 @@ export class ChipMenuItemComponent {
|
|
|
53
55
|
}
|
|
54
56
|
}
|
|
55
57
|
ChipMenuItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ChipMenuItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
56
|
-
ChipMenuItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ChipMenuItemComponent, selector: "kendo-pivot-chipmenu-item", inputs: { icon: "icon", text: "text", selected: "selected", expanded: "expanded" }, outputs: { itemClick: "itemClick", expand: "expand", collapse: "collapse" }, queries: [{ propertyName: "contentTemplate", first: true, predicate: ChipMenuItemContentTemplateDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
58
|
+
ChipMenuItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ChipMenuItemComponent, selector: "kendo-pivot-chipmenu-item", inputs: { icon: "icon", svgIcon: "svgIcon", text: "text", selected: "selected", expanded: "expanded" }, outputs: { itemClick: "itemClick", expand: "expand", collapse: "collapse" }, queries: [{ propertyName: "contentTemplate", first: true, predicate: ChipMenuItemContentTemplateDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
57
59
|
<div
|
|
58
60
|
class="k-columnmenu-item"
|
|
59
61
|
(click)="onClick($event)"
|
|
60
62
|
(keydown.enter)="onClick($event)"
|
|
61
63
|
[class.k-selected]="selected"
|
|
62
64
|
role="button"
|
|
63
|
-
[attr.aria-expanded]="expanded"
|
|
64
|
-
|
|
65
|
-
|
|
65
|
+
[attr.aria-expanded]="expanded"
|
|
66
|
+
>
|
|
67
|
+
<kendo-icon-wrapper
|
|
68
|
+
*ngIf="icon"
|
|
69
|
+
[name]="icon"
|
|
70
|
+
[svgIcon]="svgIcon"
|
|
71
|
+
></kendo-icon-wrapper>
|
|
66
72
|
{{ text }}
|
|
67
73
|
</div>
|
|
68
74
|
<div *ngIf="contentTemplate" [@state]="contentState" [style.overflow]="'hidden'" class="k-columnmenu-item-content">
|
|
69
|
-
<ng-container [ngTemplateOutlet]="contentTemplate.templateRef">
|
|
70
|
-
</ng-container>
|
|
75
|
+
<ng-container [ngTemplateOutlet]="contentTemplate.templateRef"></ng-container>
|
|
71
76
|
<div>
|
|
72
|
-
`, isInline: true,
|
|
77
|
+
`, 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: [
|
|
73
78
|
trigger('state', [
|
|
74
79
|
state('collapsed', style({ display: 'none' })),
|
|
75
80
|
state('expanded', style({ display: 'block' })),
|
|
@@ -126,14 +131,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
126
131
|
(keydown.enter)="onClick($event)"
|
|
127
132
|
[class.k-selected]="selected"
|
|
128
133
|
role="button"
|
|
129
|
-
[attr.aria-expanded]="expanded"
|
|
130
|
-
|
|
131
|
-
|
|
134
|
+
[attr.aria-expanded]="expanded"
|
|
135
|
+
>
|
|
136
|
+
<kendo-icon-wrapper
|
|
137
|
+
*ngIf="icon"
|
|
138
|
+
[name]="icon"
|
|
139
|
+
[svgIcon]="svgIcon"
|
|
140
|
+
></kendo-icon-wrapper>
|
|
132
141
|
{{ text }}
|
|
133
142
|
</div>
|
|
134
143
|
<div *ngIf="contentTemplate" [@state]="contentState" [style.overflow]="'hidden'" class="k-columnmenu-item-content">
|
|
135
|
-
<ng-container [ngTemplateOutlet]="contentTemplate.templateRef">
|
|
136
|
-
</ng-container>
|
|
144
|
+
<ng-container [ngTemplateOutlet]="contentTemplate.templateRef"></ng-container>
|
|
137
145
|
<div>
|
|
138
146
|
`
|
|
139
147
|
}]
|
|
@@ -145,6 +153,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
145
153
|
type: Output
|
|
146
154
|
}], icon: [{
|
|
147
155
|
type: Input
|
|
156
|
+
}], svgIcon: [{
|
|
157
|
+
type: Input
|
|
148
158
|
}], text: [{
|
|
149
159
|
type: Input
|
|
150
160
|
}], selected: [{
|
|
@@ -7,6 +7,7 @@ import { ChipMenuItemBase } from './chip-menu-item-base';
|
|
|
7
7
|
import { ConfiguratorService } from '../configurator.service';
|
|
8
8
|
import { PIVOT_CONFIGURATOR_ACTION } from '@progress/kendo-pivotgrid-common';
|
|
9
9
|
import { PivotLocalizationService } from '../../localization/pivot-localization.service';
|
|
10
|
+
import { sortAscSmallIcon, sortDescSmallIcon } from '@progress/kendo-svg-icons';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
import * as i1 from "../../localization/pivot-localization.service";
|
|
12
13
|
import * as i2 from "../configurator.service";
|
|
@@ -23,6 +24,8 @@ export class ChipMenuSortComponent extends ChipMenuItemBase {
|
|
|
23
24
|
this.localization = localization;
|
|
24
25
|
this.renderer = renderer;
|
|
25
26
|
this.configuratorService = configuratorService;
|
|
27
|
+
this.sortAscSVGIcon = sortAscSmallIcon;
|
|
28
|
+
this.sortDescSVGIcon = sortDescSmallIcon;
|
|
26
29
|
}
|
|
27
30
|
get sortedAsc() {
|
|
28
31
|
const descriptor = this.descriptor;
|
|
@@ -57,16 +60,18 @@ ChipMenuSortComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
57
60
|
<kendo-pivot-chipmenu-item
|
|
58
61
|
[text]="messageFor('fieldMenuSortAscendingItemLabel')"
|
|
59
62
|
icon="sort-asc-small"
|
|
63
|
+
[svgIcon]="sortAscSVGIcon"
|
|
60
64
|
(itemClick)="toggleSort('asc')"
|
|
61
65
|
[selected]="sortedAsc">
|
|
62
66
|
</kendo-pivot-chipmenu-item>
|
|
63
67
|
<kendo-pivot-chipmenu-item
|
|
64
68
|
[text]="messageFor('fieldMenuSortDescendingItemLabel')"
|
|
65
69
|
icon="sort-desc-small"
|
|
70
|
+
[svgIcon]="sortDescSVGIcon"
|
|
66
71
|
(itemClick)="toggleSort('desc')"
|
|
67
72
|
[selected]="sortedDesc">
|
|
68
73
|
</kendo-pivot-chipmenu-item>
|
|
69
|
-
`, isInline: true, components: [{ type: i3.ChipMenuItemComponent, selector: "kendo-pivot-chipmenu-item", inputs: ["icon", "text", "selected", "expanded"], outputs: ["itemClick", "expand", "collapse"] }] });
|
|
74
|
+
`, isInline: true, components: [{ type: i3.ChipMenuItemComponent, selector: "kendo-pivot-chipmenu-item", inputs: ["icon", "svgIcon", "text", "selected", "expanded"], outputs: ["itemClick", "expand", "collapse"] }] });
|
|
70
75
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ChipMenuSortComponent, decorators: [{
|
|
71
76
|
type: Component,
|
|
72
77
|
args: [{
|
|
@@ -75,12 +80,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
75
80
|
<kendo-pivot-chipmenu-item
|
|
76
81
|
[text]="messageFor('fieldMenuSortAscendingItemLabel')"
|
|
77
82
|
icon="sort-asc-small"
|
|
83
|
+
[svgIcon]="sortAscSVGIcon"
|
|
78
84
|
(itemClick)="toggleSort('asc')"
|
|
79
85
|
[selected]="sortedAsc">
|
|
80
86
|
</kendo-pivot-chipmenu-item>
|
|
81
87
|
<kendo-pivot-chipmenu-item
|
|
82
88
|
[text]="messageFor('fieldMenuSortDescendingItemLabel')"
|
|
83
89
|
icon="sort-desc-small"
|
|
90
|
+
[svgIcon]="sortDescSVGIcon"
|
|
84
91
|
(itemClick)="toggleSort('desc')"
|
|
85
92
|
[selected]="sortedDesc">
|
|
86
93
|
</kendo-pivot-chipmenu-item>
|
|
@@ -2,20 +2,23 @@
|
|
|
2
2
|
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
5
6
|
import { MenuTabbingService } from './filtering/menu-tabbing.service';
|
|
6
7
|
import { Component, Input, ElementRef, ViewChild } from '@angular/core';
|
|
7
8
|
import { SinglePopupService } from './single-popup.service';
|
|
8
9
|
import { ChipMenuService } from './chip-menu.service';
|
|
9
10
|
import { PivotLocalizationService } from '../../localization/pivot-localization.service';
|
|
10
11
|
import { replaceMessagePlaceholder } from '../../util';
|
|
12
|
+
import { moreVerticalIcon } from '@progress/kendo-svg-icons';
|
|
11
13
|
import * as i0 from "@angular/core";
|
|
12
14
|
import * as i1 from "./single-popup.service";
|
|
13
15
|
import * as i2 from "../../localization/pivot-localization.service";
|
|
14
16
|
import * as i3 from "./chip-menu.service";
|
|
15
|
-
import * as i4 from "
|
|
16
|
-
import * as i5 from "./chip-menu-
|
|
17
|
-
import * as i6 from "./chip-menu-
|
|
18
|
-
import * as i7 from "./chip-menu-
|
|
17
|
+
import * as i4 from "@progress/kendo-angular-icons";
|
|
18
|
+
import * as i5 from "./chip-menu-container.component";
|
|
19
|
+
import * as i6 from "./chip-menu-sort.component";
|
|
20
|
+
import * as i7 from "./chip-menu-filter.component";
|
|
21
|
+
import * as i8 from "./chip-menu-item.directive";
|
|
19
22
|
const POPUP_CLASS = 'k-column-menu';
|
|
20
23
|
/**
|
|
21
24
|
* @hidden
|
|
@@ -28,20 +31,22 @@ export class ChipMenuComponent {
|
|
|
28
31
|
this.localization = localization;
|
|
29
32
|
this.service = service;
|
|
30
33
|
this.tabIndex = '-1';
|
|
34
|
+
this.menuItemSVGIcon = moreVerticalIcon;
|
|
31
35
|
this.closeSubscription = service.closeMenu.subscribe(this.close.bind(this));
|
|
32
36
|
}
|
|
33
37
|
ngOnDestroy() {
|
|
34
38
|
this.close();
|
|
35
39
|
this.closeSubscription.unsubscribe();
|
|
36
40
|
}
|
|
37
|
-
toggle(e,
|
|
41
|
+
toggle(e, template) {
|
|
38
42
|
if (e) {
|
|
39
43
|
e.preventDefault();
|
|
40
44
|
e.stopImmediatePropagation();
|
|
41
45
|
}
|
|
46
|
+
const anchor = this.anchor.nativeElement;
|
|
42
47
|
this.popupRef = this.popupService.open(anchor, template, this.popupRef, POPUP_CLASS);
|
|
43
48
|
if (!this.popupRef) {
|
|
44
|
-
|
|
49
|
+
anchor.focus();
|
|
45
50
|
}
|
|
46
51
|
}
|
|
47
52
|
close() {
|
|
@@ -59,13 +64,16 @@ ChipMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", versio
|
|
|
59
64
|
ChipMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ChipMenuComponent, selector: "kendo-pivot-chip-menu", inputs: { chip: "chip", tabIndex: "tabIndex" }, providers: [
|
|
60
65
|
ChipMenuService,
|
|
61
66
|
MenuTabbingService
|
|
62
|
-
], viewQueries: [{ propertyName: "anchor", first: true, predicate: ["anchor"], descendants: true, static: true }], ngImport: i0, template: `
|
|
63
|
-
<
|
|
64
|
-
|
|
65
|
-
|
|
67
|
+
], viewQueries: [{ propertyName: "anchor", first: true, predicate: ["anchor"], descendants: true, read: ElementRef, static: true }], ngImport: i0, template: `
|
|
68
|
+
<kendo-icon-wrapper
|
|
69
|
+
#anchor
|
|
70
|
+
name="more-vertical"
|
|
71
|
+
[svgIcon]="menuItemSVGIcon"
|
|
72
|
+
(click)="toggle($event, template)"
|
|
66
73
|
[tabindex]="tabIndex"
|
|
67
|
-
[attr.title]="chipMenuTitle"
|
|
68
|
-
|
|
74
|
+
[attr.title]="chipMenuTitle"
|
|
75
|
+
>
|
|
76
|
+
</kendo-icon-wrapper>
|
|
69
77
|
<ng-template #template>
|
|
70
78
|
<kendo-pivot-chipmenu-container
|
|
71
79
|
(keydown.escape)="close()"
|
|
@@ -85,7 +93,7 @@ ChipMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
85
93
|
</kendo-pivot-chipmenu-filter>
|
|
86
94
|
</kendo-pivot-chipmenu-container>
|
|
87
95
|
</ng-template>
|
|
88
|
-
`, isInline: true, components: [{ type: i4.ChipMenuContainerComponent, selector: "kendo-pivot-chipmenu-container" }, { type:
|
|
96
|
+
`, isInline: true, components: [{ type: i4.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: i5.ChipMenuContainerComponent, selector: "kendo-pivot-chipmenu-container" }, { type: i6.ChipMenuSortComponent, selector: "kendo-pivot-chipmenu-sort", inputs: ["chip"] }, { type: i7.ChipMenuFilterComponent, selector: "kendo-pivot-chipmenu-filter", inputs: ["chip", "expanded", "isLast"], outputs: ["expand", "collapse"] }], directives: [{ type: i8.ChipMenuItemDirective, selector: "[kendoPivotChipMenuItem]", inputs: ["kendoPivotChipMenuItem"] }] });
|
|
89
97
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ChipMenuComponent, decorators: [{
|
|
90
98
|
type: Component,
|
|
91
99
|
args: [{
|
|
@@ -95,12 +103,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
95
103
|
],
|
|
96
104
|
selector: 'kendo-pivot-chip-menu',
|
|
97
105
|
template: `
|
|
98
|
-
<
|
|
99
|
-
|
|
100
|
-
|
|
106
|
+
<kendo-icon-wrapper
|
|
107
|
+
#anchor
|
|
108
|
+
name="more-vertical"
|
|
109
|
+
[svgIcon]="menuItemSVGIcon"
|
|
110
|
+
(click)="toggle($event, template)"
|
|
101
111
|
[tabindex]="tabIndex"
|
|
102
|
-
[attr.title]="chipMenuTitle"
|
|
103
|
-
|
|
112
|
+
[attr.title]="chipMenuTitle"
|
|
113
|
+
>
|
|
114
|
+
</kendo-icon-wrapper>
|
|
104
115
|
<ng-template #template>
|
|
105
116
|
<kendo-pivot-chipmenu-container
|
|
106
117
|
(keydown.escape)="close()"
|
|
@@ -128,5 +139,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
128
139
|
type: Input
|
|
129
140
|
}], anchor: [{
|
|
130
141
|
type: ViewChild,
|
|
131
|
-
args: ['anchor', { static: true }]
|
|
142
|
+
args: ['anchor', { static: true, read: ElementRef }]
|
|
132
143
|
}] } });
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-pivotgrid',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '',
|
|
12
|
+
publishDate: 1674032457,
|
|
13
|
+
version: '11.0.0',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
15
15
|
};
|
|
@@ -13,6 +13,7 @@ import { merge } from 'rxjs/operators';
|
|
|
13
13
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
14
14
|
import { ConfiguratorNavigation, PivotGridNavigation } from '@progress/kendo-pivotgrid-common';
|
|
15
15
|
import { PivotLocalizationService } from './localization/pivot-localization.service';
|
|
16
|
+
import { gearIcon } from '@progress/kendo-svg-icons';
|
|
16
17
|
import * as i0 from "@angular/core";
|
|
17
18
|
import * as i1 from "./data-binding/pivotgrid-data.service";
|
|
18
19
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
@@ -20,8 +21,9 @@ import * as i3 from "@progress/kendo-angular-common";
|
|
|
20
21
|
import * as i4 from "./rendering/pivotgrid-table.component";
|
|
21
22
|
import * as i5 from "@progress/kendo-angular-indicators";
|
|
22
23
|
import * as i6 from "./configurator/configurator.component";
|
|
23
|
-
import * as i7 from "
|
|
24
|
-
import * as i8 from "
|
|
24
|
+
import * as i7 from "@progress/kendo-angular-icons";
|
|
25
|
+
import * as i8 from "./localization/localized-messages.directive";
|
|
26
|
+
import * as i9 from "@angular/common";
|
|
25
27
|
const DEFAULT_LOADER_SETTINGS = {
|
|
26
28
|
type: 'converging-spinner',
|
|
27
29
|
themeColor: 'primary',
|
|
@@ -54,6 +56,10 @@ export class PivotGridComponent {
|
|
|
54
56
|
* @default false
|
|
55
57
|
*/
|
|
56
58
|
this.navigable = false;
|
|
59
|
+
/**
|
|
60
|
+
* @hidden
|
|
61
|
+
*/
|
|
62
|
+
this.gearSVGIcon = gearIcon;
|
|
57
63
|
this.resizeObservers = [];
|
|
58
64
|
this._loaderSettings = DEFAULT_LOADER_SETTINGS;
|
|
59
65
|
this.subs = new Subscription();
|
|
@@ -380,10 +386,10 @@ PivotGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
380
386
|
class="k-pivotgrid-configurator-button"
|
|
381
387
|
aria-hidden="true"
|
|
382
388
|
(click)="toggleConfigurator()">
|
|
383
|
-
<span>{{messageFor('configuratorButtonText')}}<
|
|
389
|
+
<span>{{messageFor('configuratorButtonText')}}<kendo-icon-wrapper name="gear" innerCssClass="k-color-inherit" [svgIcon]="gearSVGIcon"></kendo-icon-wrapper>
|
|
384
390
|
</span>
|
|
385
391
|
</div>
|
|
386
|
-
`, isInline: true, components: [{ type: i4.PivotGridTableComponent, selector: "kendo-pivotgrid-table", inputs: ["tableType", "colWidth"] }, { type: i5.LoaderComponent, selector: "kendo-loader", inputs: ["type", "themeColor", "size"] }, { type: i6.PivotGridConfiguratorComponent, selector: "kendo-pivotgrid-configurator", inputs: ["orientation", "sort", "filter", "navigation"], outputs: ["close"] }], directives: [{ type:
|
|
392
|
+
`, isInline: true, components: [{ type: i4.PivotGridTableComponent, selector: "kendo-pivotgrid-table", inputs: ["tableType", "colWidth"] }, { type: i5.LoaderComponent, selector: "kendo-loader", inputs: ["type", "themeColor", "size"] }, { type: i6.PivotGridConfiguratorComponent, selector: "kendo-pivotgrid-configurator", inputs: ["orientation", "sort", "filter", "navigation"], outputs: ["close"] }, { type: i7.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i8.LocalizedMessagesDirective, selector: "[kendoPivotGridLocalizedMessages]" }, { type: i9.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
387
393
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PivotGridComponent, decorators: [{
|
|
388
394
|
type: Component,
|
|
389
395
|
args: [{
|
|
@@ -533,7 +539,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
533
539
|
class="k-pivotgrid-configurator-button"
|
|
534
540
|
aria-hidden="true"
|
|
535
541
|
(click)="toggleConfigurator()">
|
|
536
|
-
<span>{{messageFor('configuratorButtonText')}}<
|
|
542
|
+
<span>{{messageFor('configuratorButtonText')}}<kendo-icon-wrapper name="gear" innerCssClass="k-color-inherit" [svgIcon]="gearSVGIcon"></kendo-icon-wrapper>
|
|
537
543
|
</span>
|
|
538
544
|
</div>
|
|
539
545
|
`
|
|
@@ -19,6 +19,7 @@ import { DropTargetDirective } from './configurator/drop-target.directive';
|
|
|
19
19
|
import { ChipMenuModule } from './configurator/chip-menu/chip-menu.module';
|
|
20
20
|
import { SharedModule } from './shared.module';
|
|
21
21
|
import { ChipKeyboardNavigationDirective } from './configurator/chip-kb-nav.directive';
|
|
22
|
+
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
22
23
|
import * as i0 from "@angular/core";
|
|
23
24
|
const IMPORTED_MODULES = [
|
|
24
25
|
EventsModule,
|
|
@@ -26,7 +27,8 @@ const IMPORTED_MODULES = [
|
|
|
26
27
|
TreeViewModule,
|
|
27
28
|
DraggableModule,
|
|
28
29
|
ChipMenuModule,
|
|
29
|
-
SharedModule
|
|
30
|
+
SharedModule,
|
|
31
|
+
IconsModule
|
|
30
32
|
];
|
|
31
33
|
const DECLARATIONS = [
|
|
32
34
|
PivotGridComponent,
|
|
@@ -70,7 +72,8 @@ PivotGridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
|
|
|
70
72
|
TreeViewModule,
|
|
71
73
|
DraggableModule,
|
|
72
74
|
ChipMenuModule,
|
|
73
|
-
SharedModule
|
|
75
|
+
SharedModule,
|
|
76
|
+
IconsModule], exports: [PivotGridComponent,
|
|
74
77
|
PivotGridTableComponent,
|
|
75
78
|
PivotGridCellDirective,
|
|
76
79
|
PivotLocalBindingDirective,
|