@progress/kendo-angular-pivotgrid 15.2.0-develop.1 → 15.2.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/esm2020/index.mjs +5 -0
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/pivotgrid.component.mjs +31 -3
- package/esm2020/pivotgrid.module.mjs +24 -4
- package/esm2020/rendering/pivotgrid-cell.directive.mjs +140 -20
- package/esm2020/rendering/pivotgrid-table.component.mjs +24 -2
- package/esm2020/rendering/templates/pivotgrid-cell-template.directive.mjs +41 -0
- package/esm2020/rendering/templates/pivotgrid-column-header-cell-template.directive.mjs +41 -0
- package/esm2020/rendering/templates/pivotgrid-row-header-cell-template.directive.mjs +41 -0
- package/esm2020/rendering/templates/pivotgrid-value-cell-template.directive.mjs +40 -0
- package/fesm2015/progress-kendo-angular-pivotgrid.mjs +350 -34
- package/fesm2020/progress-kendo-angular-pivotgrid.mjs +350 -34
- package/index.d.ts +4 -0
- package/package.json +12 -12
- package/pivotgrid.component.d.ts +9 -1
- package/pivotgrid.module.d.ts +11 -7
- package/rendering/pivotgrid-cell.directive.d.ts +10 -1
- package/rendering/pivotgrid-table.component.d.ts +9 -1
- package/rendering/templates/pivotgrid-cell-template.directive.d.ts +34 -0
- package/rendering/templates/pivotgrid-column-header-cell-template.directive.d.ts +34 -0
- package/rendering/templates/pivotgrid-row-header-cell-template.directive.d.ts +34 -0
- package/rendering/templates/pivotgrid-value-cell-template.directive.d.ts +33 -0
- package/schematics/ngAdd/index.js +1 -1
@@ -3,7 +3,7 @@
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import * as i0 from '@angular/core';
|
6
|
-
import { EventEmitter, Injectable, Output, Component, HostBinding, Input,
|
6
|
+
import { EventEmitter, Injectable, Output, Directive, Component, HostBinding, Input, ContentChildren, isDevMode, Optional, ContentChild, forwardRef, ViewChild, ElementRef, NgModule } from '@angular/core';
|
7
7
|
import { validatePackage } from '@progress/kendo-licensing';
|
8
8
|
import * as i1$1 from '@progress/kendo-angular-common';
|
9
9
|
import { isDocumentAvailable, PreventableEvent, Keys, isChanged, hasObservers, anyChanged, EventsModule, DraggableModule } from '@progress/kendo-angular-common';
|
@@ -18,13 +18,13 @@ import * as i2 from '@progress/kendo-angular-icons';
|
|
18
18
|
import { IconsModule } from '@progress/kendo-angular-icons';
|
19
19
|
import * as i7 from '@angular/common';
|
20
20
|
import { CommonModule } from '@angular/common';
|
21
|
+
import * as i5 from '@progress/kendo-angular-buttons';
|
22
|
+
import { ButtonsModule } from '@progress/kendo-angular-buttons';
|
21
23
|
import * as i5$1 from '@progress/kendo-angular-indicators';
|
22
24
|
import { IndicatorsModule } from '@progress/kendo-angular-indicators';
|
23
25
|
import * as i4 from '@progress/kendo-angular-treeview';
|
24
26
|
import { TreeViewComponent, TreeViewModule } from '@progress/kendo-angular-treeview';
|
25
27
|
import * as i1$2 from '@progress/kendo-angular-popup';
|
26
|
-
import * as i5 from '@progress/kendo-angular-buttons';
|
27
|
-
import { ButtonsModule } from '@progress/kendo-angular-buttons';
|
28
28
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
29
29
|
import * as i3 from '@angular/forms';
|
30
30
|
import { NG_VALUE_ACCESSOR, ReactiveFormsModule, FormsModule } from '@angular/forms';
|
@@ -40,8 +40,8 @@ const packageMetadata = {
|
|
40
40
|
name: '@progress/kendo-angular-pivotgrid',
|
41
41
|
productName: 'Kendo UI for Angular',
|
42
42
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
43
|
-
publishDate:
|
44
|
-
version: '15.2.0-develop.
|
43
|
+
publishDate: 1709727765,
|
44
|
+
version: '15.2.0-develop.2',
|
45
45
|
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'
|
46
46
|
};
|
47
47
|
|
@@ -319,6 +319,149 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
319
319
|
type: Injectable
|
320
320
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
321
321
|
|
322
|
+
/**
|
323
|
+
* Represents the cell template of the PivotGrid.
|
324
|
+
* Helps to customize the content of the cells. To define the cell template, nest an `<ng-template>` tag with the
|
325
|
+
* `kendoPivotGridCellTemplate` directive inside a `<kendo-pivot-grid>` tag [see example](slug:templates_pivotgrid#toc-cell-template).
|
326
|
+
*
|
327
|
+
* The template context is set to the current cell item and the following additional fields are passed:
|
328
|
+
* - `cellItem`—The current cell item. Represents the default context that will be assigned to any template variable which utilizes the `let-x` syntax—for example, `let-cellItem`.
|
329
|
+
* - `columnIndex`—The current column index. Use it as an alias for a template variable by utilizing the `let-columnIndex="columnIndex"` syntax.
|
330
|
+
* - `rowIndex`—The current data row index. Use it as an alias for a template variable by utilizing the `let-rowIndex="rowIndex"` syntax.
|
331
|
+
* - `expanded`—The expanded state of the cell. Use it as an alias for a template variable by utilizing the `let-expanded="expanded"` syntax.
|
332
|
+
* - `tableType`—The table type. Use it as an alias for a template variable by utilizing the `let-tableType="tableType"` syntax.
|
333
|
+
* - `text`—The default cell text. Use it as an alias for a template variable by utilizing the `let-text="text"` syntax.
|
334
|
+
*
|
335
|
+
* @example
|
336
|
+
* ```html
|
337
|
+
* <kendo-pivot-grid [data]="data" ...>
|
338
|
+
* <ng-template kendoPivotGridCellTemplate let-cellItem let-rowIndex="rowIndex" let-column="column">
|
339
|
+
* Row: {{rowIndex}}
|
340
|
+
* </ng-template>
|
341
|
+
* </kendo-pivot-grid>
|
342
|
+
* ```
|
343
|
+
*/
|
344
|
+
class CellTemplateDirective {
|
345
|
+
constructor(templateRef) {
|
346
|
+
this.templateRef = templateRef;
|
347
|
+
}
|
348
|
+
}
|
349
|
+
CellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
350
|
+
CellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: CellTemplateDirective, selector: "[kendoPivotGridCellTemplate]", ngImport: i0 });
|
351
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CellTemplateDirective, decorators: [{
|
352
|
+
type: Directive,
|
353
|
+
args: [{
|
354
|
+
selector: '[kendoPivotGridCellTemplate]'
|
355
|
+
}]
|
356
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
357
|
+
|
358
|
+
/**
|
359
|
+
* Represents the value cell template of the PivotGrid.
|
360
|
+
* Helps to customize the content of the value cells. To define the value cell template, nest an `<ng-template>` tag with the
|
361
|
+
* `kendoPivotGridValueCellTemplate` directive inside a `<kendo-pivot-grid>` tag [see example](slug:templates_pivotgrid#toc-value-cell-template).
|
362
|
+
*
|
363
|
+
* The template context is set to the current cell item and the following additional fields are passed:
|
364
|
+
* - `cellItem`—The current cell item. Represents the default context that will be assigned to any template variable which utilizes the `let-x` syntax—for example, `let-cellItem`.
|
365
|
+
* - `columnIndex`—The current column index. Use it as an alias for a template variable by utilizing the `let-columnIndex="columnIndex"` syntax.
|
366
|
+
* - `rowIndex`—The current data row index. Use it as an alias for a template variable by utilizing the `let-rowIndex="rowIndex"` syntax.
|
367
|
+
* - `tableType`—The table type. Use it as an alias for a template variable by utilizing the `let-tableType="tableType"` syntax.
|
368
|
+
* - `value`—The default cell value. Use it as an alias for a template variable by utilizing the `let-value="value"` syntax.
|
369
|
+
*
|
370
|
+
* @example
|
371
|
+
* ```html
|
372
|
+
* <kendo-pivot-grid [data]="data" ...>
|
373
|
+
* <ng-template kendoPivotGridValueCellTemplate let-cellItem let-rowIndex="rowIndex" let-column="column">
|
374
|
+
* Row: {{rowIndex}}
|
375
|
+
* </ng-template>
|
376
|
+
* </kendo-pivot-grid>
|
377
|
+
* ```
|
378
|
+
*/
|
379
|
+
class ValueCellTemplateDirective {
|
380
|
+
constructor(templateRef) {
|
381
|
+
this.templateRef = templateRef;
|
382
|
+
}
|
383
|
+
}
|
384
|
+
ValueCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ValueCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
385
|
+
ValueCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: ValueCellTemplateDirective, selector: "[kendoPivotGridValueCellTemplate]", ngImport: i0 });
|
386
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ValueCellTemplateDirective, decorators: [{
|
387
|
+
type: Directive,
|
388
|
+
args: [{
|
389
|
+
selector: '[kendoPivotGridValueCellTemplate]'
|
390
|
+
}]
|
391
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
392
|
+
|
393
|
+
/**
|
394
|
+
* Represents the row header cell template of the PivotGrid.
|
395
|
+
* Helps to customize the content of the row header cells. To define the row header cell template, nest an `<ng-template>` tag with the
|
396
|
+
* `kendoPivotGridRowHeaderCellTemplate` directive inside a `<kendo-pivot-grid>` tag [see example](slug:templates_pivotgrid#toc-row-header-cell-template).
|
397
|
+
*
|
398
|
+
* The template context is set to the current cell item and the following additional fields are passed:
|
399
|
+
* - `cellItem`—The current cell item. Represents the default context that will be assigned to any template variable which utilizes the `let-x` syntax—for example, `let-cellItem`.
|
400
|
+
* - `columnIndex`—The current column index. Use it as an alias for a template variable by utilizing the `let-columnIndex="columnIndex"` syntax.
|
401
|
+
* - `rowIndex`—The current data row index. Use it as an alias for a template variable by utilizing the `let-rowIndex="rowIndex"` syntax.
|
402
|
+
* - `expanded`—The expanded state of the cell. Use it as an alias for a template variable by utilizing the `let-expanded="expanded"` syntax.
|
403
|
+
* - `tableType`—The table type. Use it as an alias for a template variable by utilizing the `let-tableType="tableType"` syntax.
|
404
|
+
* - `text`—The default cell text. Use it as an alias for a template variable by utilizing the `let-text="text"` syntax.
|
405
|
+
*
|
406
|
+
* @example
|
407
|
+
* ```html
|
408
|
+
* <kendo-pivot-grid [data]="data" ...>
|
409
|
+
* <ng-template kendoPivotGridRowHeaderCellTemplate let-cellItem let-rowIndex="rowIndex" let-column="column">
|
410
|
+
* Row: {{rowIndex}}
|
411
|
+
* </ng-template>
|
412
|
+
* </kendo-pivot-grid>
|
413
|
+
* ```
|
414
|
+
*/
|
415
|
+
class RowHeaderCellTemplateDirective {
|
416
|
+
constructor(templateRef) {
|
417
|
+
this.templateRef = templateRef;
|
418
|
+
}
|
419
|
+
}
|
420
|
+
RowHeaderCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RowHeaderCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
421
|
+
RowHeaderCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: RowHeaderCellTemplateDirective, selector: "[kendoPivotGridRowHeaderCellTemplate]", ngImport: i0 });
|
422
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RowHeaderCellTemplateDirective, decorators: [{
|
423
|
+
type: Directive,
|
424
|
+
args: [{
|
425
|
+
selector: '[kendoPivotGridRowHeaderCellTemplate]'
|
426
|
+
}]
|
427
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
428
|
+
|
429
|
+
/**
|
430
|
+
* Represents the column header cell template of the PivotGrid.
|
431
|
+
* Helps to customize the content of the column header cells. To define the column header cell template, nest an `<ng-template>` tag with the
|
432
|
+
* `kendoPivotGridColumnHeaderCellTemplate` directive inside a `<kendo-pivot-grid>` tag [see example](slug:templates_pivotgrid#toc-column-header-cell-template).
|
433
|
+
*
|
434
|
+
* The template context is set to the current cell item and the following additional fields are passed:
|
435
|
+
* - `cellItem`—The current cell item. Represents the default context that will be assigned to any template variable which utilizes the `let-x` syntax—for example, `let-cellItem`.
|
436
|
+
* - `columnIndex`—The current column index. Use it as an alias for a template variable by utilizing the `let-columnIndex="columnIndex"` syntax.
|
437
|
+
* - `rowIndex`—The current data row index. Use it as an alias for a template variable by utilizing the `let-rowIndex="rowIndex"` syntax.
|
438
|
+
* - `expanded`—The expanded state of the cell. Use it as an alias for a template variable by utilizing the `let-expanded="expanded"` syntax.
|
439
|
+
* - `tableType`—The table type. Use it as an alias for a template variable by utilizing the `let-tableType="tableType"` syntax.
|
440
|
+
* - `text`—The default cell text. Use it as an alias for a template variable by utilizing the `let-text="text"` syntax.
|
441
|
+
*
|
442
|
+
* @example
|
443
|
+
* ```html
|
444
|
+
* <kendo-pivot-grid [data]="data" ...>
|
445
|
+
* <ng-template kendoPivotGridColumnHeaderCellTemplate let-cellItem let-rowIndex="rowIndex" let-column="column">
|
446
|
+
* Row: {{rowIndex}}
|
447
|
+
* </ng-template>
|
448
|
+
* </kendo-pivot-grid>
|
449
|
+
* ```
|
450
|
+
*/
|
451
|
+
class ColumnHeaderCellTemplateDirective {
|
452
|
+
constructor(templateRef) {
|
453
|
+
this.templateRef = templateRef;
|
454
|
+
}
|
455
|
+
}
|
456
|
+
ColumnHeaderCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnHeaderCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
457
|
+
ColumnHeaderCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: ColumnHeaderCellTemplateDirective, selector: "[kendoPivotGridColumnHeaderCellTemplate]", ngImport: i0 });
|
458
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnHeaderCellTemplateDirective, decorators: [{
|
459
|
+
type: Directive,
|
460
|
+
args: [{
|
461
|
+
selector: '[kendoPivotGridColumnHeaderCellTemplate]'
|
462
|
+
}]
|
463
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
464
|
+
|
322
465
|
/**
|
323
466
|
* @hidden
|
324
467
|
*/
|
@@ -338,8 +481,13 @@ class PivotGridCellDirective {
|
|
338
481
|
});
|
339
482
|
};
|
340
483
|
}
|
484
|
+
get isNotProvidedCellTemplatePerType() {
|
485
|
+
return (this.tableType === 'values' && !this.valueCellTemplate)
|
486
|
+
|| (this.tableType === 'rowHeader' && !this.rowHeaderCellTemplate)
|
487
|
+
|| (this.tableType === 'columnHeader' && !this.columnHeaderCellTemplate);
|
488
|
+
}
|
341
489
|
get expanded() {
|
342
|
-
return this.kendoPivotGridCell?.hasChildren && this.kendoPivotGridCell.children.length;
|
490
|
+
return (this.kendoPivotGridCell?.hasChildren && this.kendoPivotGridCell.children.length > 0) || false;
|
343
491
|
}
|
344
492
|
ngOnInit() {
|
345
493
|
const nativeElement = this.hostEl.nativeElement;
|
@@ -361,31 +509,133 @@ class PivotGridCellDirective {
|
|
361
509
|
}
|
362
510
|
}
|
363
511
|
PivotGridCellDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PivotGridCellDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: PivotGridDataService }], target: i0.ɵɵFactoryTarget.Component });
|
364
|
-
PivotGridCellDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: PivotGridCellDirective, selector: "[kendoPivotGridCell]", inputs: { kendoPivotGridCell: "kendoPivotGridCell", tableType: "tableType", rowIndex: "rowIndex", colIndex: "colIndex" }, host: { properties: { "class.k-pivotgrid-cell": "this.cellClass" } }, ngImport: i0, template: `
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
512
|
+
PivotGridCellDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", 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: `
|
513
|
+
<kendo-icon-wrapper
|
514
|
+
*ngIf="kendoPivotGridCell.hasChildren && !kendoPivotGridCell.total"
|
515
|
+
aria-hidden="true"
|
516
|
+
[kendoEventsOutsideAngular]="{ click: handleClick }"
|
517
|
+
[name]="expanded ? 'chevron-up' : 'chevron-down'"
|
518
|
+
[svgIcon]="expanded ? chevronUpSVGIcon : chevronDownSVGIcon"
|
519
|
+
innerCssClass="k-pivotgrid-toggle">
|
520
|
+
</kendo-icon-wrapper>
|
521
|
+
<!--value cell template-->
|
522
|
+
<ng-template *ngIf="tableType === 'values' && valueCellTemplate"
|
523
|
+
[templateContext]="{
|
524
|
+
templateRef: valueCellTemplate.templateRef,
|
525
|
+
$implicit: kendoPivotGridCell,
|
526
|
+
value: kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption,
|
527
|
+
rowIndex: rowIndex,
|
528
|
+
columnIndex: colIndex,
|
529
|
+
tableType: tableType
|
530
|
+
}">
|
531
|
+
</ng-template>
|
532
|
+
<!--row header cell template-->
|
533
|
+
<ng-template *ngIf="tableType === 'rowHeader' && rowHeaderCellTemplate"
|
534
|
+
[templateContext]="{
|
535
|
+
templateRef: rowHeaderCellTemplate.templateRef,
|
536
|
+
$implicit: kendoPivotGridCell,
|
537
|
+
text: kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption,
|
538
|
+
rowIndex: rowIndex,
|
539
|
+
columnIndex: colIndex,
|
540
|
+
tableType: tableType,
|
541
|
+
expanded: expanded
|
542
|
+
}">
|
543
|
+
</ng-template>
|
544
|
+
<!--column header cell template-->
|
545
|
+
<ng-template *ngIf="tableType === 'columnHeader' && columnHeaderCellTemplate"
|
546
|
+
[templateContext]="{
|
547
|
+
templateRef: columnHeaderCellTemplate.templateRef,
|
548
|
+
$implicit: kendoPivotGridCell,
|
549
|
+
text: kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption,
|
550
|
+
rowIndex: rowIndex,
|
551
|
+
columnIndex: colIndex,
|
552
|
+
tableType: tableType,
|
553
|
+
expanded: expanded
|
554
|
+
}">
|
555
|
+
</ng-template>
|
556
|
+
<!--cell template-->
|
557
|
+
<ng-template *ngIf="customCellTemplate && isNotProvidedCellTemplatePerType"
|
558
|
+
[templateContext]="{
|
559
|
+
templateRef: customCellTemplate.templateRef,
|
560
|
+
$implicit: kendoPivotGridCell,
|
561
|
+
text: kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption,
|
562
|
+
rowIndex: rowIndex,
|
563
|
+
columnIndex: colIndex,
|
564
|
+
tableType: tableType,
|
565
|
+
expanded: expanded
|
566
|
+
}">
|
567
|
+
</ng-template>
|
568
|
+
<!--default cell content-->
|
569
|
+
<span *ngIf="!customCellTemplate && isNotProvidedCellTemplatePerType">
|
570
|
+
{{ kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption }}
|
571
|
+
</span>
|
572
|
+
`, isInline: true, components: [{ type: i2.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i5.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }] });
|
374
573
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PivotGridCellDirective, decorators: [{
|
375
574
|
type: Component,
|
376
575
|
args: [{
|
377
576
|
// eslint-disable-next-line @angular-eslint/component-selector
|
378
577
|
selector: '[kendoPivotGridCell]',
|
379
578
|
template: `
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
579
|
+
<kendo-icon-wrapper
|
580
|
+
*ngIf="kendoPivotGridCell.hasChildren && !kendoPivotGridCell.total"
|
581
|
+
aria-hidden="true"
|
582
|
+
[kendoEventsOutsideAngular]="{ click: handleClick }"
|
583
|
+
[name]="expanded ? 'chevron-up' : 'chevron-down'"
|
584
|
+
[svgIcon]="expanded ? chevronUpSVGIcon : chevronDownSVGIcon"
|
585
|
+
innerCssClass="k-pivotgrid-toggle">
|
586
|
+
</kendo-icon-wrapper>
|
587
|
+
<!--value cell template-->
|
588
|
+
<ng-template *ngIf="tableType === 'values' && valueCellTemplate"
|
589
|
+
[templateContext]="{
|
590
|
+
templateRef: valueCellTemplate.templateRef,
|
591
|
+
$implicit: kendoPivotGridCell,
|
592
|
+
value: kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption,
|
593
|
+
rowIndex: rowIndex,
|
594
|
+
columnIndex: colIndex,
|
595
|
+
tableType: tableType
|
596
|
+
}">
|
597
|
+
</ng-template>
|
598
|
+
<!--row header cell template-->
|
599
|
+
<ng-template *ngIf="tableType === 'rowHeader' && rowHeaderCellTemplate"
|
600
|
+
[templateContext]="{
|
601
|
+
templateRef: rowHeaderCellTemplate.templateRef,
|
602
|
+
$implicit: kendoPivotGridCell,
|
603
|
+
text: kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption,
|
604
|
+
rowIndex: rowIndex,
|
605
|
+
columnIndex: colIndex,
|
606
|
+
tableType: tableType,
|
607
|
+
expanded: expanded
|
608
|
+
}">
|
609
|
+
</ng-template>
|
610
|
+
<!--column header cell template-->
|
611
|
+
<ng-template *ngIf="tableType === 'columnHeader' && columnHeaderCellTemplate"
|
612
|
+
[templateContext]="{
|
613
|
+
templateRef: columnHeaderCellTemplate.templateRef,
|
614
|
+
$implicit: kendoPivotGridCell,
|
615
|
+
text: kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption,
|
616
|
+
rowIndex: rowIndex,
|
617
|
+
columnIndex: colIndex,
|
618
|
+
tableType: tableType,
|
619
|
+
expanded: expanded
|
620
|
+
}">
|
621
|
+
</ng-template>
|
622
|
+
<!--cell template-->
|
623
|
+
<ng-template *ngIf="customCellTemplate && isNotProvidedCellTemplatePerType"
|
624
|
+
[templateContext]="{
|
625
|
+
templateRef: customCellTemplate.templateRef,
|
626
|
+
$implicit: kendoPivotGridCell,
|
627
|
+
text: kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption,
|
628
|
+
rowIndex: rowIndex,
|
629
|
+
columnIndex: colIndex,
|
630
|
+
tableType: tableType,
|
631
|
+
expanded: expanded
|
632
|
+
}">
|
633
|
+
</ng-template>
|
634
|
+
<!--default cell content-->
|
635
|
+
<span *ngIf="!customCellTemplate && isNotProvidedCellTemplatePerType">
|
636
|
+
{{ kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption }}
|
637
|
+
</span>
|
638
|
+
`
|
389
639
|
}]
|
390
640
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: PivotGridDataService }]; }, propDecorators: { cellClass: [{
|
391
641
|
type: HostBinding,
|
@@ -398,6 +648,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
398
648
|
type: Input
|
399
649
|
}], colIndex: [{
|
400
650
|
type: Input
|
651
|
+
}], customCellTemplate: [{
|
652
|
+
type: Input
|
653
|
+
}], valueCellTemplate: [{
|
654
|
+
type: Input
|
655
|
+
}], rowHeaderCellTemplate: [{
|
656
|
+
type: Input
|
657
|
+
}], columnHeaderCellTemplate: [{
|
658
|
+
type: Input
|
401
659
|
}] } });
|
402
660
|
|
403
661
|
/**
|
@@ -422,7 +680,7 @@ class PivotGridTableComponent {
|
|
422
680
|
}
|
423
681
|
}
|
424
682
|
PivotGridTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PivotGridTableComponent, deps: [{ token: PivotGridDataService }], target: i0.ɵɵFactoryTarget.Component });
|
425
|
-
PivotGridTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: PivotGridTableComponent, selector: "kendo-pivotgrid-table", inputs: { tableType: "tableType", colWidth: "colWidth" }, ngImport: i0, template: `
|
683
|
+
PivotGridTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: PivotGridTableComponent, selector: "kendo-pivotgrid-table", inputs: { tableType: "tableType", colWidth: "colWidth", customCellTemplate: "customCellTemplate", valueCellTemplate: "valueCellTemplate", rowHeaderCellTemplate: "rowHeaderCellTemplate", columnHeaderCellTemplate: "columnHeaderCellTemplate" }, ngImport: i0, template: `
|
426
684
|
<table
|
427
685
|
class="k-pivotgrid-table"
|
428
686
|
role="presentation">
|
@@ -439,6 +697,9 @@ PivotGridTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
439
697
|
<th
|
440
698
|
*ngIf="cell && tableType !== 'values'"
|
441
699
|
[kendoPivotGridCell]="cell"
|
700
|
+
[customCellTemplate]="customCellTemplate"
|
701
|
+
[rowHeaderCellTemplate]="rowHeaderCellTemplate"
|
702
|
+
[columnHeaderCellTemplate]="columnHeaderCellTemplate"
|
442
703
|
[tableType]="tableType"
|
443
704
|
[colIndex]="colIndex"
|
444
705
|
[rowIndex]="rowIndex"
|
@@ -447,6 +708,8 @@ PivotGridTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
447
708
|
[attr.id]="pivotGridId + (tableType === 'columnHeader' ? 'ch-' : 'rh-') + (rowIndex + 1) + '-' + (colIndex + 1)"></th>
|
448
709
|
<td
|
449
710
|
*ngIf="cell && tableType === 'values'"
|
711
|
+
[customCellTemplate]="customCellTemplate"
|
712
|
+
[valueCellTemplate]="valueCellTemplate"
|
450
713
|
[kendoPivotGridCell]="cell"
|
451
714
|
tableType="values"
|
452
715
|
[colIndex]="colIndex"
|
@@ -457,7 +720,7 @@ PivotGridTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
457
720
|
</tr>
|
458
721
|
</tbody>
|
459
722
|
</table>
|
460
|
-
`, isInline: true, components: [{ type: PivotGridCellDirective, selector: "[kendoPivotGridCell]", inputs: ["kendoPivotGridCell", "tableType", "rowIndex", "colIndex"] }], directives: [{ type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
723
|
+
`, isInline: true, components: [{ type: PivotGridCellDirective, selector: "[kendoPivotGridCell]", inputs: ["kendoPivotGridCell", "tableType", "rowIndex", "colIndex", "customCellTemplate", "valueCellTemplate", "rowHeaderCellTemplate", "columnHeaderCellTemplate"] }], directives: [{ type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
461
724
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PivotGridTableComponent, decorators: [{
|
462
725
|
type: Component,
|
463
726
|
args: [{
|
@@ -479,6 +742,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
479
742
|
<th
|
480
743
|
*ngIf="cell && tableType !== 'values'"
|
481
744
|
[kendoPivotGridCell]="cell"
|
745
|
+
[customCellTemplate]="customCellTemplate"
|
746
|
+
[rowHeaderCellTemplate]="rowHeaderCellTemplate"
|
747
|
+
[columnHeaderCellTemplate]="columnHeaderCellTemplate"
|
482
748
|
[tableType]="tableType"
|
483
749
|
[colIndex]="colIndex"
|
484
750
|
[rowIndex]="rowIndex"
|
@@ -487,6 +753,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
487
753
|
[attr.id]="pivotGridId + (tableType === 'columnHeader' ? 'ch-' : 'rh-') + (rowIndex + 1) + '-' + (colIndex + 1)"></th>
|
488
754
|
<td
|
489
755
|
*ngIf="cell && tableType === 'values'"
|
756
|
+
[customCellTemplate]="customCellTemplate"
|
757
|
+
[valueCellTemplate]="valueCellTemplate"
|
490
758
|
[kendoPivotGridCell]="cell"
|
491
759
|
tableType="values"
|
492
760
|
[colIndex]="colIndex"
|
@@ -503,6 +771,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
503
771
|
type: Input
|
504
772
|
}], colWidth: [{
|
505
773
|
type: Input
|
774
|
+
}], customCellTemplate: [{
|
775
|
+
type: Input
|
776
|
+
}], valueCellTemplate: [{
|
777
|
+
type: Input
|
778
|
+
}], rowHeaderCellTemplate: [{
|
779
|
+
type: Input
|
780
|
+
}], columnHeaderCellTemplate: [{
|
781
|
+
type: Input
|
506
782
|
}] } });
|
507
783
|
|
508
784
|
/**
|
@@ -3305,7 +3581,7 @@ PivotGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
3305
3581
|
provide: L10N_PREFIX,
|
3306
3582
|
useValue: 'kendo.pivotgrid'
|
3307
3583
|
}
|
3308
|
-
], viewQueries: [{ propertyName: "colHeadersTable", first: true, predicate: ["colHeadersTable"], descendants: true, read: ElementRef }, { propertyName: "rowHeadersTable", first: true, predicate: ["rowHeadersTable"], descendants: true, read: ElementRef }, { propertyName: "valuesTable", first: true, predicate: ["valuesTable"], descendants: true, read: ElementRef }, { propertyName: "table", first: true, predicate: ["table"], descendants: true, read: ElementRef }, { propertyName: "configuratorWrapper", first: true, predicate: ["configurator"], descendants: true, read: ElementRef }], usesOnChanges: true, ngImport: i0, template: `
|
3584
|
+
], queries: [{ propertyName: "customCellTemplate", first: true, predicate: CellTemplateDirective, descendants: true }, { propertyName: "valueCellTemplate", first: true, predicate: ValueCellTemplateDirective, descendants: true }, { propertyName: "rowHeaderCellTemplate", first: true, predicate: RowHeaderCellTemplateDirective, descendants: true }, { propertyName: "columnHeaderCellTemplate", first: true, predicate: ColumnHeaderCellTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "colHeadersTable", first: true, predicate: ["colHeadersTable"], descendants: true, read: ElementRef }, { propertyName: "rowHeadersTable", first: true, predicate: ["rowHeadersTable"], descendants: true, read: ElementRef }, { propertyName: "valuesTable", first: true, predicate: ["valuesTable"], descendants: true, read: ElementRef }, { propertyName: "table", first: true, predicate: ["table"], descendants: true, read: ElementRef }, { propertyName: "configuratorWrapper", first: true, predicate: ["configurator"], descendants: true, read: ElementRef }], usesOnChanges: true, ngImport: i0, template: `
|
3309
3585
|
<ng-container kendoPivotGridLocalizedMessages
|
3310
3586
|
i18n-loading="kendo.pivotgrid.loading|The loading text"
|
3311
3587
|
loading="Loading"
|
@@ -3419,14 +3695,20 @@ PivotGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
3419
3695
|
<kendo-pivotgrid-table
|
3420
3696
|
#colHeadersTable
|
3421
3697
|
[colWidth]="columnHeadersWidth"
|
3698
|
+
[customCellTemplate]="customCellTemplate"
|
3699
|
+
[columnHeaderCellTemplate]="columnHeaderCellTemplate"
|
3422
3700
|
class="k-pivotgrid-column-headers"
|
3423
3701
|
tableType="columnHeader"></kendo-pivotgrid-table>
|
3424
3702
|
<kendo-pivotgrid-table
|
3425
3703
|
#rowHeadersTable
|
3704
|
+
[customCellTemplate]="customCellTemplate"
|
3705
|
+
[rowHeaderCellTemplate]="rowHeaderCellTemplate"
|
3426
3706
|
class="k-pivotgrid-row-headers"
|
3427
3707
|
tableType="rowHeader"></kendo-pivotgrid-table>
|
3428
3708
|
<kendo-pivotgrid-table
|
3429
3709
|
#valuesTable
|
3710
|
+
[customCellTemplate]="customCellTemplate"
|
3711
|
+
[valueCellTemplate]="valueCellTemplate"
|
3430
3712
|
[colWidth]="columnHeadersWidth"
|
3431
3713
|
class="k-pivotgrid-values"
|
3432
3714
|
tableType="values"></kendo-pivotgrid-table>
|
@@ -3456,7 +3738,7 @@ PivotGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
3456
3738
|
<span>{{messageFor('configuratorButtonText')}}<kendo-icon-wrapper name="gear" innerCssClass="k-color-inherit" [svgIcon]="gearSVGIcon"></kendo-icon-wrapper>
|
3457
3739
|
</span>
|
3458
3740
|
</div>
|
3459
|
-
`, isInline: true, components: [{ type: PivotGridTableComponent, selector: "kendo-pivotgrid-table", inputs: ["tableType", "colWidth"] }, { type: i5$1.LoaderComponent, selector: "kendo-loader", inputs: ["type", "themeColor", "size"] }, { type: PivotGridConfiguratorComponent, selector: "kendo-pivotgrid-configurator", inputs: ["orientation", "sort", "filter", "navigation"], outputs: ["close"] }, { type: i2.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoPivotGridLocalizedMessages]" }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
3741
|
+
`, isInline: true, components: [{ type: PivotGridTableComponent, selector: "kendo-pivotgrid-table", inputs: ["tableType", "colWidth", "customCellTemplate", "valueCellTemplate", "rowHeaderCellTemplate", "columnHeaderCellTemplate"] }, { type: i5$1.LoaderComponent, selector: "kendo-loader", inputs: ["type", "themeColor", "size"] }, { type: PivotGridConfiguratorComponent, selector: "kendo-pivotgrid-configurator", inputs: ["orientation", "sort", "filter", "navigation"], outputs: ["close"] }, { type: i2.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoPivotGridLocalizedMessages]" }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
3460
3742
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PivotGridComponent, decorators: [{
|
3461
3743
|
type: Component,
|
3462
3744
|
args: [{
|
@@ -3584,14 +3866,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
3584
3866
|
<kendo-pivotgrid-table
|
3585
3867
|
#colHeadersTable
|
3586
3868
|
[colWidth]="columnHeadersWidth"
|
3869
|
+
[customCellTemplate]="customCellTemplate"
|
3870
|
+
[columnHeaderCellTemplate]="columnHeaderCellTemplate"
|
3587
3871
|
class="k-pivotgrid-column-headers"
|
3588
3872
|
tableType="columnHeader"></kendo-pivotgrid-table>
|
3589
3873
|
<kendo-pivotgrid-table
|
3590
3874
|
#rowHeadersTable
|
3875
|
+
[customCellTemplate]="customCellTemplate"
|
3876
|
+
[rowHeaderCellTemplate]="rowHeaderCellTemplate"
|
3591
3877
|
class="k-pivotgrid-row-headers"
|
3592
3878
|
tableType="rowHeader"></kendo-pivotgrid-table>
|
3593
3879
|
<kendo-pivotgrid-table
|
3594
3880
|
#valuesTable
|
3881
|
+
[customCellTemplate]="customCellTemplate"
|
3882
|
+
[valueCellTemplate]="valueCellTemplate"
|
3595
3883
|
[colWidth]="columnHeadersWidth"
|
3596
3884
|
class="k-pivotgrid-values"
|
3597
3885
|
tableType="values"></kendo-pivotgrid-table>
|
@@ -3659,6 +3947,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
3659
3947
|
}], configuratorWrapper: [{
|
3660
3948
|
type: ViewChild,
|
3661
3949
|
args: ['configurator', { read: ElementRef }]
|
3950
|
+
}], customCellTemplate: [{
|
3951
|
+
type: ContentChild,
|
3952
|
+
args: [CellTemplateDirective]
|
3953
|
+
}], valueCellTemplate: [{
|
3954
|
+
type: ContentChild,
|
3955
|
+
args: [ValueCellTemplateDirective]
|
3956
|
+
}], rowHeaderCellTemplate: [{
|
3957
|
+
type: ContentChild,
|
3958
|
+
args: [RowHeaderCellTemplateDirective]
|
3959
|
+
}], columnHeaderCellTemplate: [{
|
3960
|
+
type: ContentChild,
|
3961
|
+
args: [ColumnHeaderCellTemplateDirective]
|
3662
3962
|
}], loaderSettings: [{
|
3663
3963
|
type: Input
|
3664
3964
|
}], configurator: [{
|
@@ -4232,7 +4532,11 @@ const DECLARATIONS = [
|
|
4232
4532
|
DropTargetDirective,
|
4233
4533
|
LocalizedMessagesDirective,
|
4234
4534
|
CustomMessagesComponent,
|
4235
|
-
ChipKeyboardNavigationDirective
|
4535
|
+
ChipKeyboardNavigationDirective,
|
4536
|
+
CellTemplateDirective,
|
4537
|
+
ValueCellTemplateDirective,
|
4538
|
+
RowHeaderCellTemplateDirective,
|
4539
|
+
ColumnHeaderCellTemplateDirective
|
4236
4540
|
];
|
4237
4541
|
const EXPORTS = [
|
4238
4542
|
PivotGridComponent,
|
@@ -4240,7 +4544,11 @@ const EXPORTS = [
|
|
4240
4544
|
PivotGridCellDirective,
|
4241
4545
|
PivotLocalBindingDirective,
|
4242
4546
|
PivotOLAPBindingDirective,
|
4243
|
-
CustomMessagesComponent
|
4547
|
+
CustomMessagesComponent,
|
4548
|
+
CellTemplateDirective,
|
4549
|
+
ValueCellTemplateDirective,
|
4550
|
+
RowHeaderCellTemplateDirective,
|
4551
|
+
ColumnHeaderCellTemplateDirective
|
4244
4552
|
];
|
4245
4553
|
/**
|
4246
4554
|
* Sample module
|
@@ -4258,7 +4566,11 @@ PivotGridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
|
|
4258
4566
|
DropTargetDirective,
|
4259
4567
|
LocalizedMessagesDirective,
|
4260
4568
|
CustomMessagesComponent,
|
4261
|
-
ChipKeyboardNavigationDirective
|
4569
|
+
ChipKeyboardNavigationDirective,
|
4570
|
+
CellTemplateDirective,
|
4571
|
+
ValueCellTemplateDirective,
|
4572
|
+
RowHeaderCellTemplateDirective,
|
4573
|
+
ColumnHeaderCellTemplateDirective], imports: [EventsModule,
|
4262
4574
|
IndicatorsModule,
|
4263
4575
|
TreeViewModule,
|
4264
4576
|
DraggableModule,
|
@@ -4269,7 +4581,11 @@ PivotGridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
|
|
4269
4581
|
PivotGridCellDirective,
|
4270
4582
|
PivotLocalBindingDirective,
|
4271
4583
|
PivotOLAPBindingDirective,
|
4272
|
-
CustomMessagesComponent
|
4584
|
+
CustomMessagesComponent,
|
4585
|
+
CellTemplateDirective,
|
4586
|
+
ValueCellTemplateDirective,
|
4587
|
+
RowHeaderCellTemplateDirective,
|
4588
|
+
ColumnHeaderCellTemplateDirective] });
|
4273
4589
|
PivotGridModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PivotGridModule, imports: [[...IMPORTED_MODULES]] });
|
4274
4590
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PivotGridModule, decorators: [{
|
4275
4591
|
type: NgModule,
|
@@ -4284,5 +4600,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
4284
4600
|
* Generated bundle index. Do not edit.
|
4285
4601
|
*/
|
4286
4602
|
|
4287
|
-
export { ConfigurationChangeEvent, CustomMessagesComponent, DraggableChipDirective, DropTargetDirective, ExpandChangeEvent, PivotGridCellDirective, PivotGridComponent, PivotGridConfiguratorComponent, PivotGridModule, PivotGridTableComponent, PivotLocalBindingDirective, PivotOLAPBindingDirective };
|
4603
|
+
export { CellTemplateDirective, ColumnHeaderCellTemplateDirective, ConfigurationChangeEvent, CustomMessagesComponent, DraggableChipDirective, DropTargetDirective, ExpandChangeEvent, PivotGridCellDirective, PivotGridComponent, PivotGridConfiguratorComponent, PivotGridModule, PivotGridTableComponent, PivotLocalBindingDirective, PivotOLAPBindingDirective, RowHeaderCellTemplateDirective, ValueCellTemplateDirective };
|
4288
4604
|
|
package/index.d.ts
CHANGED
@@ -20,4 +20,8 @@ export { PivotGridConfiguratorPosition } from './models/configurator-position';
|
|
20
20
|
export { PivotGridConfiguratorOrientation } from './models/configurator-orientation';
|
21
21
|
export { DropTargetType } from './models/drop-target';
|
22
22
|
export { DropSectionType } from './models/drop-section';
|
23
|
+
export { CellTemplateDirective } from './rendering/templates/pivotgrid-cell-template.directive';
|
24
|
+
export { ValueCellTemplateDirective } from './rendering/templates/pivotgrid-value-cell-template.directive';
|
25
|
+
export { RowHeaderCellTemplateDirective } from './rendering/templates/pivotgrid-row-header-cell-template.directive';
|
26
|
+
export { ColumnHeaderCellTemplateDirective } from './rendering/templates/pivotgrid-column-header-cell-template.directive';
|
23
27
|
export { PivotGridAxis, PivotGridField, AxisDataItem, DimensionField, HierarchyField, KPIField, KPIMeasureField, LevelField, MeasureField, MemberField, PivotDataItem, sumAggregate, averageAggregate, minAggregate, maxAggregate, Aggregate, Dimension, Measure } from '@progress/kendo-pivotgrid-common';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@progress/kendo-angular-pivotgrid",
|
3
|
-
"version": "15.2.0-develop.
|
3
|
+
"version": "15.2.0-develop.2",
|
4
4
|
"description": "PivotGrid package for Angular",
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
6
6
|
"author": "Progress",
|
@@ -25,21 +25,21 @@
|
|
25
25
|
"@progress/kendo-data-query": "^1.5.5",
|
26
26
|
"@progress/kendo-drawing": "^1.19.0",
|
27
27
|
"@progress/kendo-licensing": "^1.0.2",
|
28
|
-
"@progress/kendo-angular-buttons": "15.2.0-develop.
|
29
|
-
"@progress/kendo-angular-common": "15.2.0-develop.
|
30
|
-
"@progress/kendo-angular-dropdowns": "15.2.0-develop.
|
31
|
-
"@progress/kendo-angular-indicators": "15.2.0-develop.
|
32
|
-
"@progress/kendo-angular-inputs": "15.2.0-develop.
|
33
|
-
"@progress/kendo-angular-intl": "15.2.0-develop.
|
34
|
-
"@progress/kendo-angular-l10n": "15.2.0-develop.
|
35
|
-
"@progress/kendo-angular-popup": "15.2.0-develop.
|
36
|
-
"@progress/kendo-angular-icons": "15.2.0-develop.
|
37
|
-
"@progress/kendo-angular-treeview": "15.2.0-develop.
|
28
|
+
"@progress/kendo-angular-buttons": "15.2.0-develop.2",
|
29
|
+
"@progress/kendo-angular-common": "15.2.0-develop.2",
|
30
|
+
"@progress/kendo-angular-dropdowns": "15.2.0-develop.2",
|
31
|
+
"@progress/kendo-angular-indicators": "15.2.0-develop.2",
|
32
|
+
"@progress/kendo-angular-inputs": "15.2.0-develop.2",
|
33
|
+
"@progress/kendo-angular-intl": "15.2.0-develop.2",
|
34
|
+
"@progress/kendo-angular-l10n": "15.2.0-develop.2",
|
35
|
+
"@progress/kendo-angular-popup": "15.2.0-develop.2",
|
36
|
+
"@progress/kendo-angular-icons": "15.2.0-develop.2",
|
37
|
+
"@progress/kendo-angular-treeview": "15.2.0-develop.2",
|
38
38
|
"rxjs": "^6.5.3 || ^7.0.0"
|
39
39
|
},
|
40
40
|
"dependencies": {
|
41
41
|
"tslib": "^2.3.1",
|
42
|
-
"@progress/kendo-angular-schematics": "15.2.0-develop.
|
42
|
+
"@progress/kendo-angular-schematics": "15.2.0-develop.2",
|
43
43
|
"@progress/kendo-pivotgrid-common": "0.5.3"
|
44
44
|
},
|
45
45
|
"schematics": "./schematics/collection.json",
|