@progress/kendo-angular-pivotgrid 16.5.0 → 16.6.0-develop.2
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/configurator/chip-kb-nav.directive.d.ts +1 -1
- package/configurator/chip-menu/chip-menu-container.component.d.ts +1 -1
- package/configurator/chip-menu/chip-menu-filter.component.d.ts +1 -1
- package/configurator/chip-menu/chip-menu-item-content-template.directive.d.ts +1 -1
- package/configurator/chip-menu/chip-menu-item.component.d.ts +1 -1
- package/configurator/chip-menu/chip-menu-item.directive.d.ts +1 -1
- package/configurator/chip-menu/chip-menu-reorder.component.d.ts +1 -1
- package/configurator/chip-menu/chip-menu-sort.component.d.ts +1 -1
- package/configurator/chip-menu/chip-menu.component.d.ts +1 -1
- package/configurator/chip-menu/filtering/filter-menu-container.component.d.ts +1 -1
- package/configurator/chip-menu/filtering/filter-menu-dropdownlist.directive.d.ts +1 -1
- package/configurator/chip-menu/filtering/string-filter-menu.component.d.ts +1 -1
- package/configurator/configurator.component.d.ts +1 -1
- package/configurator/draggable.directive.d.ts +1 -1
- package/configurator/drop-target.directive.d.ts +1 -1
- package/data-binding/local-binding.directive.d.ts +1 -1
- package/data-binding/olap-binding.directive.d.ts +1 -1
- package/directives.d.ts +42 -0
- package/esm2020/configurator/chip-kb-nav.directive.mjs +5 -2
- package/esm2020/configurator/chip-menu/chip-menu-container.component.mjs +3 -2
- package/esm2020/configurator/chip-menu/chip-menu-filter.component.mjs +8 -6
- package/esm2020/configurator/chip-menu/chip-menu-item-content-template.directive.mjs +3 -2
- package/esm2020/configurator/chip-menu/chip-menu-item.component.mjs +7 -5
- package/esm2020/configurator/chip-menu/chip-menu-item.directive.mjs +5 -2
- package/esm2020/configurator/chip-menu/chip-menu-reorder.component.mjs +7 -5
- package/esm2020/configurator/chip-menu/chip-menu-sort.component.mjs +6 -4
- package/esm2020/configurator/chip-menu/chip-menu.component.mjs +12 -10
- package/esm2020/configurator/chip-menu/filtering/filter-menu-container.component.mjs +10 -7
- package/esm2020/configurator/chip-menu/filtering/filter-menu-dropdownlist.directive.mjs +5 -2
- package/esm2020/configurator/chip-menu/filtering/string-filter-menu.component.mjs +9 -7
- package/esm2020/configurator/configurator.component.mjs +18 -14
- package/esm2020/configurator/draggable.directive.mjs +3 -2
- package/esm2020/configurator/drop-target.directive.mjs +3 -2
- package/esm2020/data-binding/local-binding.directive.mjs +3 -2
- package/esm2020/data-binding/olap-binding.directive.mjs +3 -2
- package/esm2020/directives.mjs +81 -0
- package/esm2020/index.mjs +1 -0
- package/esm2020/localization/custom-messages.component.mjs +3 -2
- package/esm2020/localization/localized-messages.directive.mjs +3 -2
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/pivotgrid.component.mjs +11 -9
- package/esm2020/pivotgrid.module.mjs +83 -94
- package/esm2020/rendering/pivotgrid-cell.directive.mjs +78 -77
- package/esm2020/rendering/pivotgrid-table.component.mjs +7 -5
- package/esm2020/rendering/templates/pivotgrid-cell-template.directive.mjs +3 -2
- package/esm2020/rendering/templates/pivotgrid-column-header-cell-template.directive.mjs +3 -2
- package/esm2020/rendering/templates/pivotgrid-row-header-cell-template.directive.mjs +3 -2
- package/esm2020/rendering/templates/pivotgrid-value-cell-template.directive.mjs +3 -2
- package/fesm2015/progress-kendo-angular-pivotgrid.mjs +2703 -2732
- package/fesm2020/progress-kendo-angular-pivotgrid.mjs +3129 -3158
- package/index.d.ts +1 -0
- package/localization/custom-messages.component.d.ts +1 -1
- package/localization/localized-messages.directive.d.ts +1 -1
- package/package.json +12 -12
- package/pivotgrid.component.d.ts +1 -1
- package/pivotgrid.module.d.ts +57 -23
- package/rendering/pivotgrid-cell.directive.d.ts +1 -1
- package/rendering/pivotgrid-table.component.d.ts +1 -1
- package/rendering/templates/pivotgrid-cell-template.directive.d.ts +1 -1
- package/rendering/templates/pivotgrid-column-header-cell-template.directive.d.ts +1 -1
- package/rendering/templates/pivotgrid-row-header-cell-template.directive.d.ts +1 -1
- package/rendering/templates/pivotgrid-value-cell-template.directive.d.ts +1 -1
- package/schematics/ngAdd/index.js +2 -2
- package/configurator/chip-menu/chip-menu.module.d.ts +0 -27
- package/esm2020/configurator/chip-menu/chip-menu.module.mjs +0 -86
- package/esm2020/shared.module.mjs +0 -45
- package/shared.module.d.ts +0 -18
@@ -3,108 +3,97 @@
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { NgModule } from '@angular/core';
|
6
|
-
import {
|
7
|
-
import {
|
8
|
-
import {
|
9
|
-
import {
|
10
|
-
import {
|
11
|
-
import {
|
12
|
-
import { PivotLocalBindingDirective } from './data-binding/local-binding.directive';
|
13
|
-
import { PivotOLAPBindingDirective } from './data-binding/olap-binding.directive';
|
14
|
-
import { LocalizedMessagesDirective } from './localization/localized-messages.directive';
|
15
|
-
import { CustomMessagesComponent } from './localization/custom-messages.component';
|
16
|
-
import { PivotGridConfiguratorComponent } from './configurator/configurator.component';
|
17
|
-
import { DraggableChipDirective } from './configurator/draggable.directive';
|
18
|
-
import { DropTargetDirective } from './configurator/drop-target.directive';
|
19
|
-
import { ChipMenuModule } from './configurator/chip-menu/chip-menu.module';
|
20
|
-
import { SharedModule } from './shared.module';
|
21
|
-
import { ChipKeyboardNavigationDirective } from './configurator/chip-kb-nav.directive';
|
22
|
-
import { IconsModule } from '@progress/kendo-angular-icons';
|
23
|
-
import { CellTemplateDirective } from './rendering/templates/pivotgrid-cell-template.directive';
|
24
|
-
import { ValueCellTemplateDirective } from './rendering/templates/pivotgrid-value-cell-template.directive';
|
25
|
-
import { RowHeaderCellTemplateDirective } from './rendering/templates/pivotgrid-row-header-cell-template.directive';
|
26
|
-
import { ColumnHeaderCellTemplateDirective } from './rendering/templates/pivotgrid-column-header-cell-template.directive';
|
6
|
+
import { IconsService } from '@progress/kendo-angular-icons';
|
7
|
+
import { KENDO_PIVOTGRID, KENDO_PIVOTGRID_CHIPMENU_DECLARATIONS, KENDO_PIVOTGRID_DECLARATIONS } from './directives';
|
8
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
9
|
+
import { DialogContainerService, DialogService, WindowContainerService, WindowService } from '@progress/kendo-angular-dialog';
|
10
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
11
|
+
import { ResizeBatchService } from '@progress/kendo-angular-common';
|
27
12
|
import * as i0 from "@angular/core";
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
PivotGridComponent,
|
56
|
-
PivotGridTableComponent,
|
57
|
-
PivotGridCellDirective,
|
58
|
-
PivotLocalBindingDirective,
|
59
|
-
PivotOLAPBindingDirective,
|
60
|
-
CustomMessagesComponent,
|
61
|
-
CellTemplateDirective,
|
62
|
-
ValueCellTemplateDirective,
|
63
|
-
RowHeaderCellTemplateDirective,
|
64
|
-
ColumnHeaderCellTemplateDirective
|
65
|
-
];
|
13
|
+
import * as i1 from "./configurator/chip-menu/chip-menu-item.component";
|
14
|
+
import * as i2 from "./configurator/chip-menu/chip-menu-sort.component";
|
15
|
+
import * as i3 from "./configurator/chip-menu/chip-menu.component";
|
16
|
+
import * as i4 from "./configurator/chip-menu/chip-menu-filter.component";
|
17
|
+
import * as i5 from "./configurator/chip-menu/chip-menu-item-content-template.directive";
|
18
|
+
import * as i6 from "./configurator/chip-menu/filtering/filter-menu-container.component";
|
19
|
+
import * as i7 from "./configurator/chip-menu/filtering/string-filter-menu.component";
|
20
|
+
import * as i8 from "./configurator/chip-menu/filtering/filter-menu-dropdownlist.directive";
|
21
|
+
import * as i9 from "./configurator/chip-menu/chip-menu-container.component";
|
22
|
+
import * as i10 from "./configurator/chip-menu/chip-menu-item.directive";
|
23
|
+
import * as i11 from "./configurator/chip-menu/chip-menu-reorder.component";
|
24
|
+
import * as i12 from "./pivotgrid.component";
|
25
|
+
import * as i13 from "./rendering/pivotgrid-table.component";
|
26
|
+
import * as i14 from "./configurator/configurator.component";
|
27
|
+
import * as i15 from "./rendering/pivotgrid-cell.directive";
|
28
|
+
import * as i16 from "./data-binding/local-binding.directive";
|
29
|
+
import * as i17 from "./data-binding/olap-binding.directive";
|
30
|
+
import * as i18 from "./configurator/draggable.directive";
|
31
|
+
import * as i19 from "./configurator/drop-target.directive";
|
32
|
+
import * as i20 from "./localization/localized-messages.directive";
|
33
|
+
import * as i21 from "./localization/custom-messages.component";
|
34
|
+
import * as i22 from "./configurator/chip-kb-nav.directive";
|
35
|
+
import * as i23 from "./rendering/templates/pivotgrid-cell-template.directive";
|
36
|
+
import * as i24 from "./rendering/templates/pivotgrid-value-cell-template.directive";
|
37
|
+
import * as i25 from "./rendering/templates/pivotgrid-row-header-cell-template.directive";
|
38
|
+
import * as i26 from "./rendering/templates/pivotgrid-column-header-cell-template.directive";
|
39
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
66
40
|
/**
|
67
|
-
*
|
41
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
42
|
+
* definition for the PivotGrid component.
|
43
|
+
*
|
44
|
+
* @example
|
45
|
+
*
|
46
|
+
* ```ts-no-run
|
47
|
+
* // Import the PivotGrid module
|
48
|
+
* import { PivotGrid } from '@progress/kendo-angular-pivotgrid';
|
49
|
+
*
|
50
|
+
* // The browser platform with a compiler
|
51
|
+
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
52
|
+
*
|
53
|
+
* import { NgModule } from '@angular/core';
|
54
|
+
*
|
55
|
+
* // Import the app component
|
56
|
+
* import { AppComponent } from './app.component';
|
57
|
+
*
|
58
|
+
* // Define the app module
|
59
|
+
* _@NgModule({
|
60
|
+
* declarations: [AppComponent], // declare app component
|
61
|
+
* imports: [BrowserModule, PivotGridModule], // import PivotGrid module
|
62
|
+
* bootstrap: [AppComponent]
|
63
|
+
* })
|
64
|
+
* export class AppModule {}
|
65
|
+
*
|
66
|
+
* // Compile and launch the module
|
67
|
+
* platformBrowserDynamic().bootstrapModule(AppModule);
|
68
|
+
*
|
69
|
+
* ```
|
68
70
|
*/
|
69
71
|
export class PivotGridModule {
|
70
72
|
}
|
71
73
|
PivotGridModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PivotGridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
72
|
-
PivotGridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: PivotGridModule,
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
ChipKeyboardNavigationDirective,
|
83
|
-
CellTemplateDirective,
|
84
|
-
ValueCellTemplateDirective,
|
85
|
-
RowHeaderCellTemplateDirective,
|
86
|
-
ColumnHeaderCellTemplateDirective], imports: [EventsModule,
|
87
|
-
IndicatorsModule,
|
88
|
-
TreeViewModule,
|
89
|
-
DraggableModule,
|
90
|
-
ChipMenuModule,
|
91
|
-
SharedModule,
|
92
|
-
IconsModule], exports: [PivotGridComponent,
|
93
|
-
PivotGridTableComponent,
|
94
|
-
PivotGridCellDirective,
|
95
|
-
PivotLocalBindingDirective,
|
96
|
-
PivotOLAPBindingDirective,
|
97
|
-
CustomMessagesComponent,
|
98
|
-
CellTemplateDirective,
|
99
|
-
ValueCellTemplateDirective,
|
100
|
-
RowHeaderCellTemplateDirective,
|
101
|
-
ColumnHeaderCellTemplateDirective] });
|
102
|
-
PivotGridModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PivotGridModule, imports: [IMPORTED_MODULES] });
|
74
|
+
PivotGridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: PivotGridModule, imports: [i1.ChipMenuItemComponent, i2.ChipMenuSortComponent, i3.ChipMenuComponent, i4.ChipMenuFilterComponent, i5.ChipMenuItemContentTemplateDirective, i6.FilterMenuContainerComponent, i7.StringFilterMenuComponent, i8.FilterMenuDropDownListDirective, i9.ChipMenuContainerComponent, i10.ChipMenuItemDirective, i11.ChipMenuReorderComponent, i12.PivotGridComponent, i13.PivotGridTableComponent, i14.PivotGridConfiguratorComponent, i15.PivotGridCellDirective, i16.PivotLocalBindingDirective, i17.PivotOLAPBindingDirective, i18.DraggableChipDirective, i19.DropTargetDirective, i20.LocalizedMessagesDirective, i21.CustomMessagesComponent, i22.ChipKeyboardNavigationDirective, i23.CellTemplateDirective, i24.ValueCellTemplateDirective, i25.RowHeaderCellTemplateDirective, i26.ColumnHeaderCellTemplateDirective, FormsModule, ReactiveFormsModule], exports: [i12.PivotGridComponent, i13.PivotGridTableComponent, i15.PivotGridCellDirective, i16.PivotLocalBindingDirective, i17.PivotOLAPBindingDirective, i21.CustomMessagesComponent, i23.CellTemplateDirective, i24.ValueCellTemplateDirective, i25.RowHeaderCellTemplateDirective, i26.ColumnHeaderCellTemplateDirective] });
|
75
|
+
PivotGridModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PivotGridModule, providers: [
|
76
|
+
IconsService,
|
77
|
+
PopupService,
|
78
|
+
ResizeBatchService,
|
79
|
+
DialogContainerService,
|
80
|
+
DialogService,
|
81
|
+
WindowService,
|
82
|
+
WindowContainerService
|
83
|
+
], imports: [i1.ChipMenuItemComponent, i2.ChipMenuSortComponent, i3.ChipMenuComponent, i4.ChipMenuFilterComponent, i6.FilterMenuContainerComponent, i7.StringFilterMenuComponent, i9.ChipMenuContainerComponent, i11.ChipMenuReorderComponent, i12.PivotGridComponent, i13.PivotGridTableComponent, i14.PivotGridConfiguratorComponent, i15.PivotGridCellDirective, i21.CustomMessagesComponent, FormsModule, ReactiveFormsModule] });
|
103
84
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PivotGridModule, decorators: [{
|
104
85
|
type: NgModule,
|
105
86
|
args: [{
|
106
|
-
imports: [...
|
107
|
-
|
108
|
-
|
87
|
+
imports: [...KENDO_PIVOTGRID_CHIPMENU_DECLARATIONS, ...KENDO_PIVOTGRID_DECLARATIONS, FormsModule, ReactiveFormsModule],
|
88
|
+
exports: [...KENDO_PIVOTGRID],
|
89
|
+
providers: [
|
90
|
+
IconsService,
|
91
|
+
PopupService,
|
92
|
+
ResizeBatchService,
|
93
|
+
DialogContainerService,
|
94
|
+
DialogService,
|
95
|
+
WindowService,
|
96
|
+
WindowContainerService
|
97
|
+
]
|
109
98
|
}]
|
110
99
|
}] });
|
@@ -9,12 +9,11 @@ import { CellTemplateDirective } from './templates/pivotgrid-cell-template.direc
|
|
9
9
|
import { ValueCellTemplateDirective } from './templates/pivotgrid-value-cell-template.directive';
|
10
10
|
import { RowHeaderCellTemplateDirective } from './templates/pivotgrid-row-header-cell-template.directive';
|
11
11
|
import { ColumnHeaderCellTemplateDirective } from './templates/pivotgrid-column-header-cell-template.directive';
|
12
|
+
import { NgIf } from '@angular/common';
|
13
|
+
import { IconWrapperComponent } from '@progress/kendo-angular-icons';
|
14
|
+
import { EventsOutsideAngularDirective, TemplateContextDirective } from '@progress/kendo-angular-common';
|
12
15
|
import * as i0 from "@angular/core";
|
13
16
|
import * as i1 from "../data-binding/pivotgrid-data.service";
|
14
|
-
import * as i2 from "@progress/kendo-angular-common";
|
15
|
-
import * as i3 from "@angular/common";
|
16
|
-
import * as i4 from "@progress/kendo-angular-icons";
|
17
|
-
import * as i5 from "@progress/kendo-angular-buttons";
|
18
17
|
/**
|
19
18
|
* @hidden
|
20
19
|
*/
|
@@ -62,7 +61,7 @@ export class PivotGridCellDirective {
|
|
62
61
|
}
|
63
62
|
}
|
64
63
|
PivotGridCellDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PivotGridCellDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.PivotGridDataService }], target: i0.ɵɵFactoryTarget.Component });
|
65
|
-
PivotGridCellDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PivotGridCellDirective, selector: "[kendoPivotGridCell]", inputs: { kendoPivotGridCell: "kendoPivotGridCell", tableType: "tableType", rowIndex: "rowIndex", colIndex: "colIndex", customCellTemplate: "customCellTemplate", valueCellTemplate: "valueCellTemplate", rowHeaderCellTemplate: "rowHeaderCellTemplate", columnHeaderCellTemplate: "columnHeaderCellTemplate" }, host: { properties: { "class.k-pivotgrid-cell": "this.cellClass" } }, ngImport: i0, template: `
|
64
|
+
PivotGridCellDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PivotGridCellDirective, isStandalone: true, selector: "[kendoPivotGridCell]", inputs: { kendoPivotGridCell: "kendoPivotGridCell", tableType: "tableType", rowIndex: "rowIndex", colIndex: "colIndex", customCellTemplate: "customCellTemplate", valueCellTemplate: "valueCellTemplate", rowHeaderCellTemplate: "rowHeaderCellTemplate", columnHeaderCellTemplate: "columnHeaderCellTemplate" }, host: { properties: { "class.k-pivotgrid-cell": "this.cellClass" } }, ngImport: i0, template: `
|
66
65
|
<kendo-icon-wrapper
|
67
66
|
*ngIf="kendoPivotGridCell.hasChildren && !kendoPivotGridCell.total"
|
68
67
|
aria-hidden="true"
|
@@ -73,56 +72,56 @@ PivotGridCellDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
73
72
|
</kendo-icon-wrapper>
|
74
73
|
<!--value cell template-->
|
75
74
|
<ng-template *ngIf="tableType === 'values' && valueCellTemplate"
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
75
|
+
[templateContext]="{
|
76
|
+
templateRef: valueCellTemplate.templateRef,
|
77
|
+
$implicit: kendoPivotGridCell,
|
78
|
+
value: kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption,
|
79
|
+
rowIndex: rowIndex,
|
80
|
+
columnIndex: colIndex,
|
81
|
+
tableType: tableType
|
82
|
+
}">
|
84
83
|
</ng-template>
|
85
84
|
<!--row header cell template-->
|
86
85
|
<ng-template *ngIf="tableType === 'rowHeader' && rowHeaderCellTemplate"
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
86
|
+
[templateContext]="{
|
87
|
+
templateRef: rowHeaderCellTemplate.templateRef,
|
88
|
+
$implicit: kendoPivotGridCell,
|
89
|
+
text: kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption,
|
90
|
+
rowIndex: rowIndex,
|
91
|
+
columnIndex: colIndex,
|
92
|
+
tableType: tableType,
|
93
|
+
expanded: expanded
|
94
|
+
}">
|
96
95
|
</ng-template>
|
97
96
|
<!--column header cell template-->
|
98
97
|
<ng-template *ngIf="tableType === 'columnHeader' && columnHeaderCellTemplate"
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
98
|
+
[templateContext]="{
|
99
|
+
templateRef: columnHeaderCellTemplate.templateRef,
|
100
|
+
$implicit: kendoPivotGridCell,
|
101
|
+
text: kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption,
|
102
|
+
rowIndex: rowIndex,
|
103
|
+
columnIndex: colIndex,
|
104
|
+
tableType: tableType,
|
105
|
+
expanded: expanded
|
106
|
+
}">
|
108
107
|
</ng-template>
|
109
108
|
<!--cell template-->
|
110
109
|
<ng-template *ngIf="customCellTemplate && isNotProvidedCellTemplatePerType"
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
110
|
+
[templateContext]="{
|
111
|
+
templateRef: customCellTemplate.templateRef,
|
112
|
+
$implicit: kendoPivotGridCell,
|
113
|
+
text: kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption,
|
114
|
+
rowIndex: rowIndex,
|
115
|
+
columnIndex: colIndex,
|
116
|
+
tableType: tableType,
|
117
|
+
expanded: expanded
|
118
|
+
}">
|
120
119
|
</ng-template>
|
121
120
|
<!--default cell content-->
|
122
121
|
<span *ngIf="!customCellTemplate && isNotProvidedCellTemplatePerType">
|
123
122
|
{{ kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption }}
|
124
123
|
</span>
|
125
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
124
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }] });
|
126
125
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PivotGridCellDirective, decorators: [{
|
127
126
|
type: Component,
|
128
127
|
args: [{
|
@@ -139,56 +138,58 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
139
138
|
</kendo-icon-wrapper>
|
140
139
|
<!--value cell template-->
|
141
140
|
<ng-template *ngIf="tableType === 'values' && valueCellTemplate"
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
141
|
+
[templateContext]="{
|
142
|
+
templateRef: valueCellTemplate.templateRef,
|
143
|
+
$implicit: kendoPivotGridCell,
|
144
|
+
value: kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption,
|
145
|
+
rowIndex: rowIndex,
|
146
|
+
columnIndex: colIndex,
|
147
|
+
tableType: tableType
|
148
|
+
}">
|
150
149
|
</ng-template>
|
151
150
|
<!--row header cell template-->
|
152
151
|
<ng-template *ngIf="tableType === 'rowHeader' && rowHeaderCellTemplate"
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
152
|
+
[templateContext]="{
|
153
|
+
templateRef: rowHeaderCellTemplate.templateRef,
|
154
|
+
$implicit: kendoPivotGridCell,
|
155
|
+
text: kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption,
|
156
|
+
rowIndex: rowIndex,
|
157
|
+
columnIndex: colIndex,
|
158
|
+
tableType: tableType,
|
159
|
+
expanded: expanded
|
160
|
+
}">
|
162
161
|
</ng-template>
|
163
162
|
<!--column header cell template-->
|
164
163
|
<ng-template *ngIf="tableType === 'columnHeader' && columnHeaderCellTemplate"
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
164
|
+
[templateContext]="{
|
165
|
+
templateRef: columnHeaderCellTemplate.templateRef,
|
166
|
+
$implicit: kendoPivotGridCell,
|
167
|
+
text: kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption,
|
168
|
+
rowIndex: rowIndex,
|
169
|
+
columnIndex: colIndex,
|
170
|
+
tableType: tableType,
|
171
|
+
expanded: expanded
|
172
|
+
}">
|
174
173
|
</ng-template>
|
175
174
|
<!--cell template-->
|
176
175
|
<ng-template *ngIf="customCellTemplate && isNotProvidedCellTemplatePerType"
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
176
|
+
[templateContext]="{
|
177
|
+
templateRef: customCellTemplate.templateRef,
|
178
|
+
$implicit: kendoPivotGridCell,
|
179
|
+
text: kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption,
|
180
|
+
rowIndex: rowIndex,
|
181
|
+
columnIndex: colIndex,
|
182
|
+
tableType: tableType,
|
183
|
+
expanded: expanded
|
184
|
+
}">
|
186
185
|
</ng-template>
|
187
186
|
<!--default cell content-->
|
188
187
|
<span *ngIf="!customCellTemplate && isNotProvidedCellTemplatePerType">
|
189
188
|
{{ kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption }}
|
190
189
|
</span>
|
191
|
-
|
190
|
+
`,
|
191
|
+
standalone: true,
|
192
|
+
imports: [NgIf, IconWrapperComponent, EventsOutsideAngularDirective, TemplateContextDirective]
|
192
193
|
}]
|
193
194
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.PivotGridDataService }]; }, propDecorators: { cellClass: [{
|
194
195
|
type: HostBinding,
|
@@ -9,10 +9,10 @@ import { CellTemplateDirective } from './templates/pivotgrid-cell-template.direc
|
|
9
9
|
import { ValueCellTemplateDirective } from './templates/pivotgrid-value-cell-template.directive';
|
10
10
|
import { ColumnHeaderCellTemplateDirective } from './templates/pivotgrid-column-header-cell-template.directive';
|
11
11
|
import { RowHeaderCellTemplateDirective } from './templates/pivotgrid-row-header-cell-template.directive';
|
12
|
+
import { PivotGridCellDirective } from './pivotgrid-cell.directive';
|
13
|
+
import { NgFor, NgIf } from '@angular/common';
|
12
14
|
import * as i0 from "@angular/core";
|
13
15
|
import * as i1 from "../data-binding/pivotgrid-data.service";
|
14
|
-
import * as i2 from "@angular/common";
|
15
|
-
import * as i3 from "./pivotgrid-cell.directive";
|
16
16
|
/**
|
17
17
|
* @hidden
|
18
18
|
*/
|
@@ -35,7 +35,7 @@ export class PivotGridTableComponent {
|
|
35
35
|
}
|
36
36
|
}
|
37
37
|
PivotGridTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PivotGridTableComponent, deps: [{ token: i1.PivotGridDataService }], target: i0.ɵɵFactoryTarget.Component });
|
38
|
-
PivotGridTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PivotGridTableComponent, selector: "kendo-pivotgrid-table", inputs: { tableType: "tableType", colWidth: "colWidth", customCellTemplate: "customCellTemplate", valueCellTemplate: "valueCellTemplate", rowHeaderCellTemplate: "rowHeaderCellTemplate", columnHeaderCellTemplate: "columnHeaderCellTemplate" }, ngImport: i0, template: `
|
38
|
+
PivotGridTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PivotGridTableComponent, isStandalone: true, selector: "kendo-pivotgrid-table", inputs: { tableType: "tableType", colWidth: "colWidth", customCellTemplate: "customCellTemplate", valueCellTemplate: "valueCellTemplate", rowHeaderCellTemplate: "rowHeaderCellTemplate", columnHeaderCellTemplate: "columnHeaderCellTemplate" }, ngImport: i0, template: `
|
39
39
|
<table
|
40
40
|
class="k-pivotgrid-table"
|
41
41
|
role="presentation">
|
@@ -75,7 +75,7 @@ PivotGridTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
75
75
|
</tr>
|
76
76
|
</tbody>
|
77
77
|
</table>
|
78
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
78
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: PivotGridCellDirective, selector: "[kendoPivotGridCell]", inputs: ["kendoPivotGridCell", "tableType", "rowIndex", "colIndex", "customCellTemplate", "valueCellTemplate", "rowHeaderCellTemplate", "columnHeaderCellTemplate"] }] });
|
79
79
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PivotGridTableComponent, decorators: [{
|
80
80
|
type: Component,
|
81
81
|
args: [{
|
@@ -120,7 +120,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
120
120
|
</tr>
|
121
121
|
</tbody>
|
122
122
|
</table>
|
123
|
-
|
123
|
+
`,
|
124
|
+
standalone: true,
|
125
|
+
imports: [NgFor, NgIf, PivotGridCellDirective]
|
124
126
|
}]
|
125
127
|
}], ctorParameters: function () { return [{ type: i1.PivotGridDataService }]; }, propDecorators: { tableType: [{
|
126
128
|
type: Input
|
@@ -32,10 +32,11 @@ export class CellTemplateDirective {
|
|
32
32
|
}
|
33
33
|
}
|
34
34
|
CellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
35
|
-
CellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CellTemplateDirective, selector: "[kendoPivotGridCellTemplate]", ngImport: i0 });
|
35
|
+
CellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CellTemplateDirective, isStandalone: true, selector: "[kendoPivotGridCellTemplate]", ngImport: i0 });
|
36
36
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CellTemplateDirective, decorators: [{
|
37
37
|
type: Directive,
|
38
38
|
args: [{
|
39
|
-
selector: '[kendoPivotGridCellTemplate]'
|
39
|
+
selector: '[kendoPivotGridCellTemplate]',
|
40
|
+
standalone: true
|
40
41
|
}]
|
41
42
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
@@ -32,10 +32,11 @@ export class ColumnHeaderCellTemplateDirective {
|
|
32
32
|
}
|
33
33
|
}
|
34
34
|
ColumnHeaderCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnHeaderCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
35
|
-
ColumnHeaderCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ColumnHeaderCellTemplateDirective, selector: "[kendoPivotGridColumnHeaderCellTemplate]", ngImport: i0 });
|
35
|
+
ColumnHeaderCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ColumnHeaderCellTemplateDirective, isStandalone: true, selector: "[kendoPivotGridColumnHeaderCellTemplate]", ngImport: i0 });
|
36
36
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnHeaderCellTemplateDirective, decorators: [{
|
37
37
|
type: Directive,
|
38
38
|
args: [{
|
39
|
-
selector: '[kendoPivotGridColumnHeaderCellTemplate]'
|
39
|
+
selector: '[kendoPivotGridColumnHeaderCellTemplate]',
|
40
|
+
standalone: true
|
40
41
|
}]
|
41
42
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
@@ -32,10 +32,11 @@ export class RowHeaderCellTemplateDirective {
|
|
32
32
|
}
|
33
33
|
}
|
34
34
|
RowHeaderCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RowHeaderCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
35
|
-
RowHeaderCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: RowHeaderCellTemplateDirective, selector: "[kendoPivotGridRowHeaderCellTemplate]", ngImport: i0 });
|
35
|
+
RowHeaderCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: RowHeaderCellTemplateDirective, isStandalone: true, selector: "[kendoPivotGridRowHeaderCellTemplate]", ngImport: i0 });
|
36
36
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RowHeaderCellTemplateDirective, decorators: [{
|
37
37
|
type: Directive,
|
38
38
|
args: [{
|
39
|
-
selector: '[kendoPivotGridRowHeaderCellTemplate]'
|
39
|
+
selector: '[kendoPivotGridRowHeaderCellTemplate]',
|
40
|
+
standalone: true
|
40
41
|
}]
|
41
42
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
@@ -31,10 +31,11 @@ export class ValueCellTemplateDirective {
|
|
31
31
|
}
|
32
32
|
}
|
33
33
|
ValueCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ValueCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
34
|
-
ValueCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ValueCellTemplateDirective, selector: "[kendoPivotGridValueCellTemplate]", ngImport: i0 });
|
34
|
+
ValueCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ValueCellTemplateDirective, isStandalone: true, selector: "[kendoPivotGridValueCellTemplate]", ngImport: i0 });
|
35
35
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ValueCellTemplateDirective, decorators: [{
|
36
36
|
type: Directive,
|
37
37
|
args: [{
|
38
|
-
selector: '[kendoPivotGridValueCellTemplate]'
|
38
|
+
selector: '[kendoPivotGridValueCellTemplate]',
|
39
|
+
standalone: true
|
39
40
|
}]
|
40
41
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|