@progress/kendo-angular-pivotgrid 11.0.0-develop.99 → 11.0.1-develop.1
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
|
@@ -3,11 +3,13 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, ElementRef, HostBinding, Input, Renderer2 } from '@angular/core';
|
|
6
|
+
import { chevronDownIcon, chevronUpIcon } from '@progress/kendo-svg-icons';
|
|
6
7
|
import { PivotGridDataService } from '../data-binding/pivotgrid-data.service';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
import * as i1 from "../data-binding/pivotgrid-data.service";
|
|
9
|
-
import * as i2 from "@angular
|
|
10
|
-
import * as i3 from "@
|
|
10
|
+
import * as i2 from "@progress/kendo-angular-icons";
|
|
11
|
+
import * as i3 from "@angular/common";
|
|
12
|
+
import * as i4 from "@progress/kendo-angular-common";
|
|
11
13
|
/**
|
|
12
14
|
* @hidden
|
|
13
15
|
*/
|
|
@@ -17,6 +19,8 @@ export class PivotGridCellDirective {
|
|
|
17
19
|
this.renderer = renderer;
|
|
18
20
|
this.dataService = dataService;
|
|
19
21
|
this.cellClass = true;
|
|
22
|
+
this.chevronUpSVGIcon = chevronUpIcon;
|
|
23
|
+
this.chevronDownSVGIcon = chevronDownIcon;
|
|
20
24
|
this.handleClick = () => {
|
|
21
25
|
this.dataService.expandedStateChange.emit({
|
|
22
26
|
action: this.expanded ? 'collapse' : 'expand',
|
|
@@ -49,34 +53,28 @@ export class PivotGridCellDirective {
|
|
|
49
53
|
}
|
|
50
54
|
PivotGridCellDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PivotGridCellDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.PivotGridDataService }], target: i0.ɵɵFactoryTarget.Component });
|
|
51
55
|
PivotGridCellDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PivotGridCellDirective, selector: "[kendoPivotGridCell]", inputs: { kendoPivotGridCell: "kendoPivotGridCell", tableType: "tableType", rowIndex: "rowIndex", colIndex: "colIndex" }, host: { properties: { "class.k-pivotgrid-cell": "this.cellClass" } }, ngImport: i0, template: `
|
|
52
|
-
<
|
|
56
|
+
<kendo-icon-wrapper
|
|
53
57
|
*ngIf="kendoPivotGridCell.hasChildren && !kendoPivotGridCell.total"
|
|
54
|
-
class="k-icon"
|
|
55
58
|
aria-hidden="true"
|
|
56
|
-
[kendoEventsOutsideAngular]="{
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
'k-i-arrow-chevron-down': !expanded
|
|
62
|
-
}"></span>{{ kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption }}`, isInline: true, directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
59
|
+
[kendoEventsOutsideAngular]="{ click: handleClick }"
|
|
60
|
+
[name]="expanded ? 'chevron-up' : 'chevron-down'"
|
|
61
|
+
[svgIcon]="expanded ? chevronUpSVGIcon : chevronDownSVGIcon">
|
|
62
|
+
</kendo-icon-wrapper>
|
|
63
|
+
{{ kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption }}`, isInline: true, components: [{ type: i2.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
63
64
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PivotGridCellDirective, decorators: [{
|
|
64
65
|
type: Component,
|
|
65
66
|
args: [{
|
|
66
67
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
67
68
|
selector: '[kendoPivotGridCell]',
|
|
68
69
|
template: `
|
|
69
|
-
<
|
|
70
|
+
<kendo-icon-wrapper
|
|
70
71
|
*ngIf="kendoPivotGridCell.hasChildren && !kendoPivotGridCell.total"
|
|
71
|
-
class="k-icon"
|
|
72
72
|
aria-hidden="true"
|
|
73
|
-
[kendoEventsOutsideAngular]="{
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
'k-i-arrow-chevron-down': !expanded
|
|
79
|
-
}"></span>{{ kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption }}`
|
|
73
|
+
[kendoEventsOutsideAngular]="{ click: handleClick }"
|
|
74
|
+
[name]="expanded ? 'chevron-up' : 'chevron-down'"
|
|
75
|
+
[svgIcon]="expanded ? chevronUpSVGIcon : chevronDownSVGIcon">
|
|
76
|
+
</kendo-icon-wrapper>
|
|
77
|
+
{{ kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption }}`
|
|
80
78
|
}]
|
|
81
79
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.PivotGridDataService }]; }, propDecorators: { cellClass: [{
|
|
82
80
|
type: HostBinding,
|
|
@@ -7,11 +7,13 @@ import { CommonModule } from '@angular/common';
|
|
|
7
7
|
import { DropDownsModule } from '@progress/kendo-angular-dropdowns';
|
|
8
8
|
import { InputsModule } from '@progress/kendo-angular-inputs';
|
|
9
9
|
import { ButtonsModule } from '@progress/kendo-angular-buttons';
|
|
10
|
+
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
const MODULES = [
|
|
12
13
|
CommonModule,
|
|
13
14
|
DropDownsModule,
|
|
14
15
|
InputsModule,
|
|
16
|
+
IconsModule,
|
|
15
17
|
ButtonsModule
|
|
16
18
|
];
|
|
17
19
|
/**
|
|
@@ -23,13 +25,16 @@ SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "1
|
|
|
23
25
|
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, imports: [CommonModule,
|
|
24
26
|
DropDownsModule,
|
|
25
27
|
InputsModule,
|
|
28
|
+
IconsModule,
|
|
26
29
|
ButtonsModule], exports: [CommonModule,
|
|
27
30
|
DropDownsModule,
|
|
28
31
|
InputsModule,
|
|
32
|
+
IconsModule,
|
|
29
33
|
ButtonsModule] });
|
|
30
34
|
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, imports: [[MODULES], CommonModule,
|
|
31
35
|
DropDownsModule,
|
|
32
36
|
InputsModule,
|
|
37
|
+
IconsModule,
|
|
33
38
|
ButtonsModule] });
|
|
34
39
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, decorators: [{
|
|
35
40
|
type: NgModule,
|