@progress/kendo-angular-pivotgrid 1.1.2 → 11.0.0-develop.80
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 +3 -3
- 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-base.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-sort.component.d.ts +1 -1
- package/configurator/chip-menu/chip-menu.component.d.ts +1 -1
- package/configurator/chip-menu/chip-menu.module.d.ts +1 -1
- package/configurator/chip-menu/chip-menu.service.d.ts +1 -1
- package/configurator/chip-menu/filtering/filter-menu-container.component.d.ts +4 -5
- package/configurator/chip-menu/filtering/filter-menu-dropdownlist.directive.d.ts +1 -1
- package/configurator/chip-menu/filtering/menu-tabbing.service.d.ts +1 -1
- package/configurator/chip-menu/filtering/string-filter-menu.component.d.ts +1 -1
- package/configurator/chip-menu/single-popup.service.d.ts +1 -1
- package/configurator/configurator.component.d.ts +1 -1
- package/configurator/configurator.service.d.ts +1 -1
- package/configurator/draggable.directive.d.ts +1 -1
- package/configurator/drop-cue.service.d.ts +1 -1
- package/configurator/drop-target.directive.d.ts +1 -1
- package/data-binding/base-binding-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/data-binding/pivotgrid-data.service.d.ts +1 -1
- package/{esm2015/configurator/chip-kb-nav.directive.js → esm2020/configurator/chip-kb-nav.directive.mjs} +6 -5
- package/{esm2015/configurator/chip-menu/chip-menu-container.component.js → esm2020/configurator/chip-menu/chip-menu-container.component.mjs} +6 -5
- package/{esm2015/configurator/chip-menu/chip-menu-filter.component.js → esm2020/configurator/chip-menu/chip-menu-filter.component.mjs} +6 -5
- package/{esm2015/configurator/chip-menu/chip-menu-item-base.js → esm2020/configurator/chip-menu/chip-menu-item-base.mjs} +5 -4
- package/{esm2015/configurator/chip-menu/chip-menu-item-content-template.directive.js → esm2020/configurator/chip-menu/chip-menu-item-content-template.directive.mjs} +5 -5
- package/{esm2015/configurator/chip-menu/chip-menu-item.component.js → esm2020/configurator/chip-menu/chip-menu-item.component.mjs} +6 -6
- package/{esm2015/configurator/chip-menu/chip-menu-item.directive.js → esm2020/configurator/chip-menu/chip-menu-item.directive.mjs} +5 -5
- package/{esm2015/configurator/chip-menu/chip-menu-sort.component.js → esm2020/configurator/chip-menu/chip-menu-sort.component.mjs} +7 -5
- package/{esm2015/configurator/chip-menu/chip-menu.component.js → esm2020/configurator/chip-menu/chip-menu.component.mjs} +7 -5
- package/{esm2015/configurator/chip-menu/chip-menu.module.js → esm2020/configurator/chip-menu/chip-menu.module.mjs} +5 -5
- package/{esm2015/configurator/chip-menu/chip-menu.service.js → esm2020/configurator/chip-menu/chip-menu.service.mjs} +5 -4
- package/{esm2015/configurator/chip-menu/filtering/filter-menu-container.component.js → esm2020/configurator/chip-menu/filtering/filter-menu-container.component.mjs} +18 -21
- package/{esm2015/configurator/chip-menu/filtering/filter-menu-dropdownlist.directive.js → esm2020/configurator/chip-menu/filtering/filter-menu-dropdownlist.directive.mjs} +5 -4
- package/{esm2015/configurator/chip-menu/filtering/menu-tabbing.service.js → esm2020/configurator/chip-menu/filtering/menu-tabbing.service.mjs} +4 -4
- package/{esm2015/configurator/chip-menu/filtering/string-filter-menu.component.js → esm2020/configurator/chip-menu/filtering/string-filter-menu.component.mjs} +11 -8
- package/{esm2015/configurator/chip-menu/single-popup.service.js → esm2020/configurator/chip-menu/single-popup.service.mjs} +8 -7
- package/{esm2015/configurator/configurator.component.js → esm2020/configurator/configurator.component.mjs} +42 -56
- package/{esm2015/configurator/configurator.service.js → esm2020/configurator/configurator.service.mjs} +6 -5
- package/{esm2015/configurator/draggable.directive.js → esm2020/configurator/draggable.directive.mjs} +9 -8
- package/{esm2015/configurator/drop-cue.service.js → esm2020/configurator/drop-cue.service.mjs} +4 -4
- package/{esm2015/configurator/drop-target.directive.js → esm2020/configurator/drop-target.directive.mjs} +11 -10
- package/{esm2015/data-binding/base-binding-directive.js → esm2020/data-binding/base-binding-directive.mjs} +8 -7
- package/{esm2015/data-binding/local-binding.directive.js → esm2020/data-binding/local-binding.directive.mjs} +7 -6
- package/{esm2015/data-binding/olap-binding.directive.js → esm2020/data-binding/olap-binding.directive.mjs} +70 -76
- package/{esm2015/data-binding/pivotgrid-data.service.js → esm2020/data-binding/pivotgrid-data.service.mjs} +5 -5
- package/{esm2015/main.js → esm2020/index.mjs} +1 -1
- package/{esm2015/localization/custom-messages.component.js → esm2020/localization/custom-messages.component.mjs} +5 -4
- package/{esm2015/localization/localized-messages.directive.js → esm2020/localization/localized-messages.directive.mjs} +5 -4
- package/{esm2015/localization/messages.js → esm2020/localization/messages.mjs} +4 -4
- package/{esm2015/localization/pivot-localization.service.js → esm2020/localization/pivot-localization.service.mjs} +5 -4
- package/{esm2015/models/configuration-change-event.js → esm2020/models/configuration-change-event.mjs} +1 -1
- package/{esm2015/models/drop-section.js → esm2020/models/configurator-orientation.mjs} +1 -1
- package/{esm2015/models/drop-target.js → esm2020/models/configurator-position.mjs} +1 -1
- package/{esm2015/models/configurator-settings.js → esm2020/models/configurator-settings.mjs} +1 -1
- package/{esm2015/models/data-row-item.js → esm2020/models/data-row-item.mjs} +1 -1
- package/{esm2015/models/configurator-orientation.js → esm2020/models/drop-section.mjs} +1 -1
- package/{esm2015/models/configurator-position.js → esm2020/models/drop-target.mjs} +1 -1
- package/{esm2015/models/expanded-change-event.js → esm2020/models/expanded-change-event.mjs} +1 -1
- package/esm2020/models/expanded-state-action.mjs +5 -0
- package/esm2020/models/loader-settings.mjs +5 -0
- package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +2 -2
- package/{esm2015/pivotgrid.component.js → esm2020/pivotgrid.component.mjs} +16 -34
- package/{esm2015/pivotgrid.module.js → esm2020/pivotgrid.module.mjs} +5 -5
- package/{esm2015/kendo-angular-pivotgrid.js → esm2020/progress-kendo-angular-pivotgrid.mjs} +2 -2
- package/{esm2015/rendering/pivotgrid-cell.directive.js → esm2020/rendering/pivotgrid-cell.directive.mjs} +11 -12
- package/{esm2015/rendering/pivotgrid-table.component.js → esm2020/rendering/pivotgrid-table.component.mjs} +11 -10
- package/{esm2015/shared.module.js → esm2020/shared.module.mjs} +5 -5
- package/{esm2015/util.js → esm2020/util.mjs} +3 -3
- package/fesm2015/{kendo-angular-pivotgrid.js → progress-kendo-angular-pivotgrid.mjs} +169 -199
- package/fesm2020/progress-kendo-angular-pivotgrid.mjs +3952 -0
- package/{main.d.ts → index.d.ts} +1 -1
- package/localization/custom-messages.component.d.ts +1 -1
- package/localization/localized-messages.directive.d.ts +1 -1
- package/localization/messages.d.ts +1 -1
- package/localization/pivot-localization.service.d.ts +1 -1
- package/models/configuration-change-event.d.ts +1 -1
- package/models/configurator-orientation.d.ts +1 -1
- package/models/configurator-position.d.ts +1 -1
- package/models/configurator-settings.d.ts +1 -1
- package/models/data-row-item.d.ts +1 -1
- package/models/drop-section.d.ts +1 -1
- package/models/drop-target.d.ts +1 -1
- package/models/expanded-change-event.d.ts +1 -1
- package/models/expanded-state-action.d.ts +1 -1
- package/models/loader-settings.d.ts +1 -1
- package/package-metadata.d.ts +1 -1
- package/package.json +36 -65
- package/pivotgrid.component.d.ts +1 -2
- package/pivotgrid.module.d.ts +1 -1
- package/{kendo-angular-pivotgrid.d.ts → progress-kendo-angular-pivotgrid.d.ts} +2 -2
- package/rendering/pivotgrid-cell.directive.d.ts +1 -1
- package/rendering/pivotgrid-table.component.d.ts +1 -1
- package/schematics/ngAdd/index.js +1 -5
- package/shared.module.d.ts +1 -1
- package/util.d.ts +1 -1
- package/bundles/kendo-angular-pivotgrid.umd.js +0 -5
- package/esm2015/models/expanded-state-action.js +0 -5
- package/esm2015/models/loader-settings.js +0 -5
- package/schematics/ngAdd/index.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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
5
|
;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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
5
|
export {};
|
package/{esm2015/models/expanded-change-event.js → esm2020/models/expanded-change-event.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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
5
|
import { PreventableEvent } from "@progress/kendo-angular-common";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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
5
|
/**
|
|
@@ -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:
|
|
12
|
+
publishDate: 1672394745,
|
|
13
13
|
version: '',
|
|
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
|
};
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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
|
-
import { Component, ElementRef, HostBinding, Input, ViewChild } from '@angular/core';
|
|
5
|
+
import { Component, ElementRef, HostBinding, Input, NgZone, Renderer2, ViewChild } from '@angular/core';
|
|
6
6
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
7
7
|
import { packageMetadata } from './package-metadata';
|
|
8
|
-
import { isChanged, isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
8
|
+
import { isChanged, isDocumentAvailable, ScrollbarWidthService } from '@progress/kendo-angular-common';
|
|
9
9
|
import { PivotGridDataService } from './data-binding/pivotgrid-data.service';
|
|
10
10
|
import { fromEvent, Subscription } from 'rxjs';
|
|
11
11
|
import { cloneArray, syncScroll, syncWheel } from './util';
|
|
12
|
-
// eslint-disable-next-line rxjs/ban-operators
|
|
13
12
|
import { merge } from 'rxjs/operators';
|
|
14
13
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
15
14
|
import { ConfiguratorNavigation, PivotGridNavigation } from '@progress/kendo-pivotgrid-common';
|
|
@@ -43,7 +42,6 @@ export class PivotGridComponent {
|
|
|
43
42
|
this.localization = localization;
|
|
44
43
|
this.renderer = renderer;
|
|
45
44
|
this.hostClass = true;
|
|
46
|
-
this.ariaRole = 'grid';
|
|
47
45
|
/**
|
|
48
46
|
* Specify the width of the column header and data cells. Value is treated as pixels [(see example)]({% slug appearance_pivotgrid %}#toc-column-headers-width).
|
|
49
47
|
*
|
|
@@ -89,20 +87,16 @@ export class PivotGridComponent {
|
|
|
89
87
|
dataService.wrapper = this.hostEl.nativeElement;
|
|
90
88
|
}
|
|
91
89
|
get rightPositionClass() {
|
|
92
|
-
|
|
93
|
-
return ((_a = this.configuratorSettings) === null || _a === void 0 ? void 0 : _a.position) === 'right';
|
|
90
|
+
return this.configuratorSettings?.position === 'right';
|
|
94
91
|
}
|
|
95
92
|
get leftPositionClass() {
|
|
96
|
-
|
|
97
|
-
return ((_a = this.configuratorSettings) === null || _a === void 0 ? void 0 : _a.position) === 'left';
|
|
93
|
+
return this.configuratorSettings?.position === 'left';
|
|
98
94
|
}
|
|
99
95
|
get bottomPositionClass() {
|
|
100
|
-
|
|
101
|
-
return ((_a = this.configuratorSettings) === null || _a === void 0 ? void 0 : _a.position) === 'bottom';
|
|
96
|
+
return this.configuratorSettings?.position === 'bottom';
|
|
102
97
|
}
|
|
103
98
|
get topPositionClass() {
|
|
104
|
-
|
|
105
|
-
return ((_a = this.configuratorSettings) === null || _a === void 0 ? void 0 : _a.position) === 'top';
|
|
99
|
+
return this.configuratorSettings?.position === 'top';
|
|
106
100
|
}
|
|
107
101
|
get dir() {
|
|
108
102
|
return this.direction;
|
|
@@ -241,8 +235,8 @@ export class PivotGridComponent {
|
|
|
241
235
|
}
|
|
242
236
|
}
|
|
243
237
|
}
|
|
244
|
-
PivotGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
245
|
-
PivotGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
238
|
+
PivotGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PivotGridComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i1.PivotGridDataService }, { token: i2.LocalizationService }, { token: i0.Renderer2 }, { token: i3.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
239
|
+
PivotGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PivotGridComponent, selector: "kendo-pivotgrid", inputs: { loaderSettings: "loaderSettings", configurator: "configurator", columnHeadersWidth: "columnHeadersWidth", navigable: "navigable" }, host: { properties: { "class.k-d-flex": "this.hostClass", "class.k-pos-relative": "this.hostClass", "class.k-flex-row": "this.rightPositionClass", "class.k-flex-row-reverse": "this.leftPositionClass", "class.k-flex-column": "this.bottomPositionClass", "class.k-flex-column-reverse": "this.topPositionClass", "attr.dir": "this.dir" } }, providers: [
|
|
246
240
|
PivotGridDataService,
|
|
247
241
|
LocalizationService,
|
|
248
242
|
PivotLocalizationService,
|
|
@@ -345,7 +339,7 @@ PivotGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
345
339
|
i18n-chipMenuIconTitle="kendo.grid.chipMenuIconTitle|The title of the field menu icon"
|
|
346
340
|
chipMenuIconTitle="{{ '{fieldName} Field Menu' }}"></ng-container>
|
|
347
341
|
|
|
348
|
-
<div #table class="k-pivotgrid">
|
|
342
|
+
<div #table class="k-pivotgrid" role="grid">
|
|
349
343
|
<span class="k-pivotgrid-empty-cell">
|
|
350
344
|
<span class="k-sr-only">{{messageFor('emptyCellLabel')}}</span>
|
|
351
345
|
</span>
|
|
@@ -364,7 +358,7 @@ PivotGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
364
358
|
class="k-pivotgrid-values"
|
|
365
359
|
tableType="values"></kendo-pivotgrid-table>
|
|
366
360
|
|
|
367
|
-
<div *ngIf="loading"
|
|
361
|
+
<div *ngIf="loading" [style]="'position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);'">
|
|
368
362
|
<kendo-loader
|
|
369
363
|
[type]="loaderSettings?.type"
|
|
370
364
|
[themeColor]="loaderSettings?.themeColor"
|
|
@@ -389,8 +383,8 @@ PivotGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
389
383
|
<span>{{messageFor('configuratorButtonText')}}<span class="k-icon k-i-gear k-color-inherit"></span>
|
|
390
384
|
</span>
|
|
391
385
|
</div>
|
|
392
|
-
`, isInline: true,
|
|
393
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
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: i7.LocalizedMessagesDirective, selector: "[kendoPivotGridLocalizedMessages]" }, { type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
387
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PivotGridComponent, decorators: [{
|
|
394
388
|
type: Component,
|
|
395
389
|
args: [{
|
|
396
390
|
selector: 'kendo-pivotgrid',
|
|
@@ -498,7 +492,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
498
492
|
i18n-chipMenuIconTitle="kendo.grid.chipMenuIconTitle|The title of the field menu icon"
|
|
499
493
|
chipMenuIconTitle="{{ '{fieldName} Field Menu' }}"></ng-container>
|
|
500
494
|
|
|
501
|
-
<div #table class="k-pivotgrid">
|
|
495
|
+
<div #table class="k-pivotgrid" role="grid">
|
|
502
496
|
<span class="k-pivotgrid-empty-cell">
|
|
503
497
|
<span class="k-sr-only">{{messageFor('emptyCellLabel')}}</span>
|
|
504
498
|
</span>
|
|
@@ -517,7 +511,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
517
511
|
class="k-pivotgrid-values"
|
|
518
512
|
tableType="values"></kendo-pivotgrid-table>
|
|
519
513
|
|
|
520
|
-
<div *ngIf="loading"
|
|
514
|
+
<div *ngIf="loading" [style]="'position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);'">
|
|
521
515
|
<kendo-loader
|
|
522
516
|
[type]="loaderSettings?.type"
|
|
523
517
|
[themeColor]="loaderSettings?.themeColor"
|
|
@@ -542,16 +536,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
542
536
|
<span>{{messageFor('configuratorButtonText')}}<span class="k-icon k-i-gear k-color-inherit"></span>
|
|
543
537
|
</span>
|
|
544
538
|
</div>
|
|
545
|
-
|
|
546
|
-
styles: [`
|
|
547
|
-
/** TODO: Remove if added to themes */
|
|
548
|
-
div.k-loader {
|
|
549
|
-
position: absolute;
|
|
550
|
-
top: 50%;
|
|
551
|
-
left: 50%;
|
|
552
|
-
transform: translate(-50%, -50%);
|
|
553
|
-
}
|
|
554
|
-
`]
|
|
539
|
+
`
|
|
555
540
|
}]
|
|
556
541
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i1.PivotGridDataService }, { type: i2.LocalizationService }, { type: i0.Renderer2 }, { type: i3.ScrollbarWidthService }]; }, propDecorators: { hostClass: [{
|
|
557
542
|
type: HostBinding,
|
|
@@ -574,9 +559,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
574
559
|
}], dir: [{
|
|
575
560
|
type: HostBinding,
|
|
576
561
|
args: ['attr.dir']
|
|
577
|
-
}], ariaRole: [{
|
|
578
|
-
type: HostBinding,
|
|
579
|
-
args: ['attr.role']
|
|
580
562
|
}], colHeadersTable: [{
|
|
581
563
|
type: ViewChild,
|
|
582
564
|
args: ['colHeadersTable', { read: ElementRef }]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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
5
|
import { NgModule } from '@angular/core';
|
|
@@ -54,8 +54,8 @@ const EXPORTS = [
|
|
|
54
54
|
*/
|
|
55
55
|
export class PivotGridModule {
|
|
56
56
|
}
|
|
57
|
-
PivotGridModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
58
|
-
PivotGridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
57
|
+
PivotGridModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PivotGridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
58
|
+
PivotGridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PivotGridModule, declarations: [PivotGridComponent,
|
|
59
59
|
PivotGridTableComponent,
|
|
60
60
|
PivotGridConfiguratorComponent,
|
|
61
61
|
PivotGridCellDirective,
|
|
@@ -76,8 +76,8 @@ PivotGridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
|
|
|
76
76
|
PivotLocalBindingDirective,
|
|
77
77
|
PivotOLAPBindingDirective,
|
|
78
78
|
CustomMessagesComponent] });
|
|
79
|
-
PivotGridModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
80
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
79
|
+
PivotGridModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PivotGridModule, imports: [[...IMPORTED_MODULES]] });
|
|
80
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PivotGridModule, decorators: [{
|
|
81
81
|
type: NgModule,
|
|
82
82
|
args: [{
|
|
83
83
|
imports: [...IMPORTED_MODULES],
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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
5
|
/**
|
|
6
6
|
* Generated bundle index. Do not edit.
|
|
7
7
|
*/
|
|
8
|
-
export * from './
|
|
8
|
+
export * from './index';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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
|
-
import { Component, HostBinding, Input } from '@angular/core';
|
|
5
|
+
import { Component, ElementRef, HostBinding, Input, Renderer2 } from '@angular/core';
|
|
6
|
+
import { PivotGridDataService } from '../data-binding/pivotgrid-data.service';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
import * as i1 from "../data-binding/pivotgrid-data.service";
|
|
8
9
|
import * as i2 from "@angular/common";
|
|
@@ -25,31 +26,29 @@ export class PivotGridCellDirective {
|
|
|
25
26
|
};
|
|
26
27
|
}
|
|
27
28
|
get expanded() {
|
|
28
|
-
|
|
29
|
-
return ((_a = this.kendoPivotGridCell) === null || _a === void 0 ? void 0 : _a.hasChildren) && this.kendoPivotGridCell.children.length;
|
|
29
|
+
return this.kendoPivotGridCell?.hasChildren && this.kendoPivotGridCell.children.length;
|
|
30
30
|
}
|
|
31
31
|
ngOnInit() {
|
|
32
|
-
var _a, _b, _c;
|
|
33
32
|
const nativeElement = this.hostEl.nativeElement;
|
|
34
33
|
this.renderer.setAttribute(nativeElement, 'rowspan', this.kendoPivotGridCell.rowSpan || 1);
|
|
35
34
|
this.renderer.setAttribute(nativeElement, 'colspan', this.kendoPivotGridCell.colSpan || 1);
|
|
36
35
|
const classesToAdd = {
|
|
37
|
-
'k-pivotgrid-header-total':
|
|
36
|
+
'k-pivotgrid-header-total': this.kendoPivotGridCell?.total || (this.tableType === 'values'
|
|
38
37
|
&& (this.dataService.rowHeaderLeaves[this.rowIndex].total ||
|
|
39
38
|
this.dataService.columnHeaderLeaves[this.colIndex].total)),
|
|
40
|
-
'k-pivotgrid-header-root':
|
|
41
|
-
'k-pivotgrid-expanded':
|
|
39
|
+
'k-pivotgrid-header-root': this.kendoPivotGridCell?.levelNum === 0,
|
|
40
|
+
'k-pivotgrid-expanded': this.kendoPivotGridCell?.hasChildren && this.kendoPivotGridCell.children.length,
|
|
42
41
|
'k-first': this.colIndex > 0
|
|
43
42
|
};
|
|
44
|
-
for (
|
|
43
|
+
for (const prop in classesToAdd) {
|
|
45
44
|
if (classesToAdd[prop]) {
|
|
46
45
|
this.renderer.addClass(nativeElement, prop);
|
|
47
46
|
}
|
|
48
47
|
}
|
|
49
48
|
}
|
|
50
49
|
}
|
|
51
|
-
PivotGridCellDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
52
|
-
PivotGridCellDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
50
|
+
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
|
+
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: `
|
|
53
52
|
<span
|
|
54
53
|
*ngIf="kendoPivotGridCell.hasChildren && !kendoPivotGridCell.total"
|
|
55
54
|
class="k-icon"
|
|
@@ -61,7 +60,7 @@ PivotGridCellDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
61
60
|
'k-i-arrow-chevron-up': expanded,
|
|
62
61
|
'k-i-arrow-chevron-down': !expanded
|
|
63
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"] }] });
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PivotGridCellDirective, decorators: [{
|
|
65
64
|
type: Component,
|
|
66
65
|
args: [{
|
|
67
66
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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
5
|
import { Component, Input } from '@angular/core';
|
|
6
6
|
import { Subscription } from 'rxjs';
|
|
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
10
|
import * as i2 from "./pivotgrid-cell.directive";
|
|
@@ -29,8 +30,8 @@ export class PivotGridTableComponent {
|
|
|
29
30
|
this.dataChangeSubs.unsubscribe();
|
|
30
31
|
}
|
|
31
32
|
}
|
|
32
|
-
PivotGridTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
33
|
-
PivotGridTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
33
|
+
PivotGridTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PivotGridTableComponent, deps: [{ token: i1.PivotGridDataService }], target: i0.ɵɵFactoryTarget.Component });
|
|
34
|
+
PivotGridTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PivotGridTableComponent, selector: "kendo-pivotgrid-table", inputs: { tableType: "tableType", colWidth: "colWidth" }, ngImport: i0, template: `
|
|
34
35
|
<table
|
|
35
36
|
class="k-pivotgrid-table"
|
|
36
37
|
role="presentation">
|
|
@@ -39,10 +40,10 @@ PivotGridTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
39
40
|
*ngFor="let item of headerItems;"
|
|
40
41
|
[style.width]="tableType !== 'rowHeader' ? colWidth >= 0 ? colWidth + 'px' : '200px' : undefined" />
|
|
41
42
|
</colgroup>
|
|
42
|
-
<tbody class="k-pivotgrid-tbody" role="rowgroup">
|
|
43
|
+
<tbody class="k-pivotgrid-tbody" [attr.role]="tableType === 'values' ? 'none' : 'rowgroup'">
|
|
43
44
|
<tr *ngFor="let row of rows; index as rowIndex"
|
|
44
45
|
class="k-pivotgrid-row"
|
|
45
|
-
role="row">
|
|
46
|
+
[attr.role]="tableType === 'values' ? 'none' : 'row'">
|
|
46
47
|
<ng-container *ngFor="let cell of row.cells; index as colIndex">
|
|
47
48
|
<th
|
|
48
49
|
*ngIf="cell && tableType !== 'values'"
|
|
@@ -51,7 +52,7 @@ PivotGridTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
51
52
|
[colIndex]="colIndex"
|
|
52
53
|
[rowIndex]="rowIndex"
|
|
53
54
|
[attr.aria-expanded]="cell.hasChildren && cell.children.length ? 'true' : 'false'"
|
|
54
|
-
[attr.role]="tableType === 'columnHeader' ? 'columnheader' : 'rowheader'"
|
|
55
|
+
[attr.role]="tableType === 'columnHeader' ? 'columnheader' : tableType === 'rowHeader' ? 'rowheader' : 'none'"
|
|
55
56
|
[attr.id]="pivotGridId + (tableType === 'columnHeader' ? 'ch-' : 'rh-') + (rowIndex + 1) + '-' + (colIndex + 1)"></th>
|
|
56
57
|
<td
|
|
57
58
|
*ngIf="cell && tableType === 'values'"
|
|
@@ -66,7 +67,7 @@ PivotGridTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
66
67
|
</tbody>
|
|
67
68
|
</table>
|
|
68
69
|
`, isInline: true, components: [{ type: i2.PivotGridCellDirective, selector: "[kendoPivotGridCell]", inputs: ["kendoPivotGridCell", "tableType", "rowIndex", "colIndex"] }], directives: [{ type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
69
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PivotGridTableComponent, decorators: [{
|
|
70
71
|
type: Component,
|
|
71
72
|
args: [{
|
|
72
73
|
selector: 'kendo-pivotgrid-table',
|
|
@@ -79,10 +80,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
79
80
|
*ngFor="let item of headerItems;"
|
|
80
81
|
[style.width]="tableType !== 'rowHeader' ? colWidth >= 0 ? colWidth + 'px' : '200px' : undefined" />
|
|
81
82
|
</colgroup>
|
|
82
|
-
<tbody class="k-pivotgrid-tbody" role="rowgroup">
|
|
83
|
+
<tbody class="k-pivotgrid-tbody" [attr.role]="tableType === 'values' ? 'none' : 'rowgroup'">
|
|
83
84
|
<tr *ngFor="let row of rows; index as rowIndex"
|
|
84
85
|
class="k-pivotgrid-row"
|
|
85
|
-
role="row">
|
|
86
|
+
[attr.role]="tableType === 'values' ? 'none' : 'row'">
|
|
86
87
|
<ng-container *ngFor="let cell of row.cells; index as colIndex">
|
|
87
88
|
<th
|
|
88
89
|
*ngIf="cell && tableType !== 'values'"
|
|
@@ -91,7 +92,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
91
92
|
[colIndex]="colIndex"
|
|
92
93
|
[rowIndex]="rowIndex"
|
|
93
94
|
[attr.aria-expanded]="cell.hasChildren && cell.children.length ? 'true' : 'false'"
|
|
94
|
-
[attr.role]="tableType === 'columnHeader' ? 'columnheader' : 'rowheader'"
|
|
95
|
+
[attr.role]="tableType === 'columnHeader' ? 'columnheader' : tableType === 'rowHeader' ? 'rowheader' : 'none'"
|
|
95
96
|
[attr.id]="pivotGridId + (tableType === 'columnHeader' ? 'ch-' : 'rh-') + (rowIndex + 1) + '-' + (colIndex + 1)"></th>
|
|
96
97
|
<td
|
|
97
98
|
*ngIf="cell && tableType === 'values'"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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
5
|
import { NgModule } from '@angular/core';
|
|
@@ -19,19 +19,19 @@ const MODULES = [
|
|
|
19
19
|
*/
|
|
20
20
|
export class SharedModule {
|
|
21
21
|
}
|
|
22
|
-
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
23
|
-
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
22
|
+
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
23
|
+
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, imports: [CommonModule,
|
|
24
24
|
DropDownsModule,
|
|
25
25
|
InputsModule,
|
|
26
26
|
ButtonsModule], exports: [CommonModule,
|
|
27
27
|
DropDownsModule,
|
|
28
28
|
InputsModule,
|
|
29
29
|
ButtonsModule] });
|
|
30
|
-
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
30
|
+
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, imports: [[MODULES], CommonModule,
|
|
31
31
|
DropDownsModule,
|
|
32
32
|
InputsModule,
|
|
33
33
|
ButtonsModule] });
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, decorators: [{
|
|
35
35
|
type: NgModule,
|
|
36
36
|
args: [{
|
|
37
37
|
imports: [MODULES],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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
5
|
const EMPTY_REGEX = /^\s*$/;
|
|
@@ -150,7 +150,7 @@ export function clone(obj) {
|
|
|
150
150
|
* @hidden
|
|
151
151
|
*/
|
|
152
152
|
export function cloneObject(obj, result) {
|
|
153
|
-
for (
|
|
153
|
+
for (const field in obj) {
|
|
154
154
|
if (obj.hasOwnProperty(field)) {
|
|
155
155
|
const value = obj[field];
|
|
156
156
|
result[field] = cloneValue(value, result[field]);
|
|
@@ -184,7 +184,7 @@ export function cloneArray(array) {
|
|
|
184
184
|
* @hidden
|
|
185
185
|
*/
|
|
186
186
|
export const swapItems = (arr, i1, i2) => {
|
|
187
|
-
|
|
187
|
+
const temp = arr[i1];
|
|
188
188
|
arr[i1] = arr[i2];
|
|
189
189
|
arr[i2] = temp;
|
|
190
190
|
};
|