@progress/kendo-angular-pivotgrid 1.1.2-dev.202211281013 → 11.0.0-develop.79
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,7 +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
|
+
import { MenuTabbingService } from './filtering/menu-tabbing.service';
|
|
5
6
|
import { Injectable, EventEmitter } from '@angular/core';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
import * as i1 from "./filtering/menu-tabbing.service";
|
|
@@ -21,8 +22,8 @@ export class ChipMenuService {
|
|
|
21
22
|
this.closeMenu.emit();
|
|
22
23
|
}
|
|
23
24
|
}
|
|
24
|
-
ChipMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
25
|
-
ChipMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
25
|
+
ChipMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ChipMenuService, deps: [{ token: i1.MenuTabbingService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
26
|
+
ChipMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ChipMenuService });
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ChipMenuService, decorators: [{
|
|
27
28
|
type: Injectable
|
|
28
29
|
}], ctorParameters: function () { return [{ type: i1.MenuTabbingService }]; } });
|
|
@@ -1,19 +1,21 @@
|
|
|
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 { MenuTabbingService } from './menu-tabbing.service';
|
|
6
|
-
import { Component, Input, Output, EventEmitter, ViewChild } from '@angular/core';
|
|
6
|
+
import { Component, Input, Output, EventEmitter, ChangeDetectorRef, ElementRef, ViewChild } from '@angular/core';
|
|
7
7
|
import { isNullOrEmptyString } from "../../../util";
|
|
8
|
+
import { PivotLocalizationService } from '../../../localization/pivot-localization.service';
|
|
9
|
+
import { ConfiguratorService } from '../../configurator.service';
|
|
8
10
|
import { PIVOT_CONFIGURATOR_ACTION } from '@progress/kendo-pivotgrid-common';
|
|
9
11
|
import * as i0 from "@angular/core";
|
|
10
12
|
import * as i1 from "../../../localization/pivot-localization.service";
|
|
11
13
|
import * as i2 from "./menu-tabbing.service";
|
|
12
14
|
import * as i3 from "../../configurator.service";
|
|
13
15
|
import * as i4 from "./string-filter-menu.component";
|
|
14
|
-
import * as i5 from "@angular
|
|
15
|
-
import * as i6 from "@angular/
|
|
16
|
-
import * as i7 from "@
|
|
16
|
+
import * as i5 from "@progress/kendo-angular-buttons";
|
|
17
|
+
import * as i6 from "@angular/forms";
|
|
18
|
+
import * as i7 from "@angular/common";
|
|
17
19
|
const isNoValueOperator = operator => (operator === "isnull"
|
|
18
20
|
|| operator === "isnotnull"
|
|
19
21
|
|| operator === "isempty"
|
|
@@ -31,8 +33,6 @@ export class FilterMenuContainerComponent {
|
|
|
31
33
|
this.actionsClass = 'k-action-buttons k-button-group';
|
|
32
34
|
this.menuTabbingService = menuTabbingService;
|
|
33
35
|
}
|
|
34
|
-
ngOnInit() {
|
|
35
|
-
}
|
|
36
36
|
ngAfterViewChecked() {
|
|
37
37
|
if (!this.menuTabbingService.isColumnMenu || (this.isLast && this.isExpanded)) {
|
|
38
38
|
this.menuTabbingService.lastFocusable = this.disabled ?
|
|
@@ -46,7 +46,10 @@ export class FilterMenuContainerComponent {
|
|
|
46
46
|
return !(this.filterDescriptorValue && validFilter(this.filterDescriptorValue));
|
|
47
47
|
}
|
|
48
48
|
submit() {
|
|
49
|
-
const filterDescriptor =
|
|
49
|
+
const filterDescriptor = {
|
|
50
|
+
field: this.chip.name.toString(),
|
|
51
|
+
...this.filterDescriptorValue
|
|
52
|
+
};
|
|
50
53
|
const payload = !this.configuratorService.state.filter ?
|
|
51
54
|
[filterDescriptor] :
|
|
52
55
|
[
|
|
@@ -81,14 +84,15 @@ export class FilterMenuContainerComponent {
|
|
|
81
84
|
return this.localization.get(localizationToken);
|
|
82
85
|
}
|
|
83
86
|
}
|
|
84
|
-
FilterMenuContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
85
|
-
FilterMenuContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
87
|
+
FilterMenuContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterMenuContainerComponent, deps: [{ token: i1.PivotLocalizationService }, { token: i0.ChangeDetectorRef }, { token: i2.MenuTabbingService }, { token: i3.ConfiguratorService }], target: i0.ɵɵFactoryTarget.Component });
|
|
88
|
+
FilterMenuContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FilterMenuContainerComponent, selector: "kendo-pivot-filter-menu-container", inputs: { chip: "chip", isLast: "isLast", isExpanded: "isExpanded", menuTabbingService: "menuTabbingService", actionsClass: "actionsClass" }, outputs: { close: "close" }, providers: [
|
|
86
89
|
MenuTabbingService
|
|
87
90
|
], viewQueries: [{ propertyName: "resetButton", first: true, predicate: ["resetButton"], descendants: true }, { propertyName: "filterButton", first: true, predicate: ["filterButton"], descendants: true }], ngImport: i0, template: `
|
|
88
91
|
<form (submit)="submit()" (reset)="reset()"
|
|
89
92
|
class="k-filter-menu k-group k-reset k-state-border-up">
|
|
90
93
|
<div class="k-filter-menu-container">
|
|
91
94
|
<kendo-pivot-string-filter-menu
|
|
95
|
+
[style]="'display: flex; flex-flow: column nowrap; align-items: stretch; gap: 8px;'"
|
|
92
96
|
[(ngModel)]="filterDescriptorValue"
|
|
93
97
|
name="'filterDescriptorValue'"
|
|
94
98
|
[chip]="chip"
|
|
@@ -109,8 +113,8 @@ FilterMenuContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
109
113
|
</div>
|
|
110
114
|
</div>
|
|
111
115
|
</form>
|
|
112
|
-
`, isInline: true,
|
|
113
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
116
|
+
`, isInline: true, components: [{ type: i4.StringFilterMenuComponent, selector: "kendo-pivot-string-filter-menu", inputs: ["chip", "menuTabbingService"] }, { type: i5.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i6.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i6.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i6.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterMenuContainerComponent, decorators: [{
|
|
114
118
|
type: Component,
|
|
115
119
|
args: [{
|
|
116
120
|
providers: [
|
|
@@ -122,6 +126,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
122
126
|
class="k-filter-menu k-group k-reset k-state-border-up">
|
|
123
127
|
<div class="k-filter-menu-container">
|
|
124
128
|
<kendo-pivot-string-filter-menu
|
|
129
|
+
[style]="'display: flex; flex-flow: column nowrap; align-items: stretch; gap: 8px;'"
|
|
125
130
|
[(ngModel)]="filterDescriptorValue"
|
|
126
131
|
name="'filterDescriptorValue'"
|
|
127
132
|
[chip]="chip"
|
|
@@ -142,15 +147,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
142
147
|
</div>
|
|
143
148
|
</div>
|
|
144
149
|
</form>
|
|
145
|
-
|
|
146
|
-
styles: [`
|
|
147
|
-
kendo-pivot-string-filter-menu {
|
|
148
|
-
display: flex;
|
|
149
|
-
flex-flow: column nowrap;
|
|
150
|
-
align-items: stretch;
|
|
151
|
-
gap: 8px;
|
|
152
|
-
}
|
|
153
|
-
`]
|
|
150
|
+
`
|
|
154
151
|
}]
|
|
155
152
|
}], ctorParameters: function () { return [{ type: i1.PivotLocalizationService }, { type: i0.ChangeDetectorRef }, { type: i2.MenuTabbingService }, { type: i3.ConfiguratorService }]; }, propDecorators: { close: [{
|
|
156
153
|
type: Output
|
|
@@ -1,7 +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
|
+
import { DropDownListComponent } from '@progress/kendo-angular-dropdowns';
|
|
5
6
|
import { Directive, Input } from '@angular/core';
|
|
6
7
|
import { Keys } from '@progress/kendo-angular-common';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
@@ -28,9 +29,9 @@ export class FilterMenuDropDownListDirective {
|
|
|
28
29
|
this.host.wrapper.nativeElement.removeEventListener('keydown', this.keydownHandler);
|
|
29
30
|
}
|
|
30
31
|
}
|
|
31
|
-
FilterMenuDropDownListDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
32
|
-
FilterMenuDropDownListDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
32
|
+
FilterMenuDropDownListDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterMenuDropDownListDirective, deps: [{ token: i1.DropDownListComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
33
|
+
FilterMenuDropDownListDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: FilterMenuDropDownListDirective, selector: "[kendoFilterMenuDropDown]", inputs: { filterMenuDropDownLabel: "filterMenuDropDownLabel" }, ngImport: i0 });
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterMenuDropDownListDirective, decorators: [{
|
|
34
35
|
type: Directive,
|
|
35
36
|
args: [{ selector: '[kendoFilterMenuDropDown]' }]
|
|
36
37
|
}], ctorParameters: function () { return [{ type: i1.DropDownListComponent }]; }, propDecorators: { filterMenuDropDownLabel: [{
|
|
@@ -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 { Injectable } from '@angular/core';
|
|
@@ -13,8 +13,8 @@ export class MenuTabbingService {
|
|
|
13
13
|
this.isPopupOpen = false;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
MenuTabbingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
17
|
-
MenuTabbingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16
|
+
MenuTabbingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuTabbingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
17
|
+
MenuTabbingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuTabbingService });
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuTabbingService, decorators: [{
|
|
19
19
|
type: Injectable
|
|
20
20
|
}] });
|
|
@@ -1,9 +1,12 @@
|
|
|
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 { MenuTabbingService } from './menu-tabbing.service';
|
|
5
6
|
import { Component, Input, forwardRef } from '@angular/core';
|
|
6
|
-
import {
|
|
7
|
+
import { PivotLocalizationService } from '../../../localization/pivot-localization.service';
|
|
8
|
+
import { FormBuilder, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
9
|
+
import { ConfiguratorService } from '../../configurator.service';
|
|
7
10
|
import { Subscription } from 'rxjs';
|
|
8
11
|
import { replaceMessagePlaceholder } from '../../../util';
|
|
9
12
|
import * as i0 from "@angular/core";
|
|
@@ -43,11 +46,11 @@ export class StringFilterMenuComponent {
|
|
|
43
46
|
this.configuratorService = configuratorService;
|
|
44
47
|
this.fb = fb;
|
|
45
48
|
this.subscription = new Subscription();
|
|
49
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
46
50
|
this.onTouched = () => { };
|
|
47
51
|
}
|
|
48
52
|
get currentFilter() {
|
|
49
|
-
|
|
50
|
-
const filterValue = (_a = this.configuratorService.state.filter) === null || _a === void 0 ? void 0 : _a.filter(x => x.field === this.chip.name.toString());
|
|
53
|
+
const filterValue = this.configuratorService.state.filter?.filter(x => x.field === this.chip.name.toString());
|
|
51
54
|
return filterValue && filterValue[0];
|
|
52
55
|
}
|
|
53
56
|
registerOnChange(fn) {
|
|
@@ -77,8 +80,8 @@ export class StringFilterMenuComponent {
|
|
|
77
80
|
this.subscription.unsubscribe();
|
|
78
81
|
}
|
|
79
82
|
}
|
|
80
|
-
StringFilterMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
81
|
-
StringFilterMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
83
|
+
StringFilterMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StringFilterMenuComponent, deps: [{ token: i1.PivotLocalizationService }, { token: i2.ConfiguratorService }, { token: i3.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
|
84
|
+
StringFilterMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: StringFilterMenuComponent, selector: "kendo-pivot-string-filter-menu", inputs: { chip: "chip", menuTabbingService: "menuTabbingService" }, providers: [{
|
|
82
85
|
provide: NG_VALUE_ACCESSOR,
|
|
83
86
|
useExisting: forwardRef(() => StringFilterMenuComponent),
|
|
84
87
|
multi: true
|
|
@@ -98,8 +101,8 @@ StringFilterMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
98
101
|
formControlName="value"
|
|
99
102
|
/>
|
|
100
103
|
</ng-container>
|
|
101
|
-
`, isInline: true, components: [{ type: i4.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["iconClass", "loading", "data", "value", "textField", "valueField", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }], directives: [{ type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i5.FilterMenuDropDownListDirective, selector: "[kendoFilterMenuDropDown]", inputs: ["filterMenuDropDownLabel"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.FormControlName, selector: "[formControlName]", inputs: ["
|
|
102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
104
|
+
`, isInline: true, components: [{ type: i4.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["iconClass", "loading", "data", "value", "textField", "valueField", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }], directives: [{ type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i5.FilterMenuDropDownListDirective, selector: "[kendoFilterMenuDropDown]", inputs: ["filterMenuDropDownLabel"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { type: i6.TextBoxDirective, selector: "input[kendoTextBox]", inputs: ["value"] }, { type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }] });
|
|
105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StringFilterMenuComponent, decorators: [{
|
|
103
106
|
type: Component,
|
|
104
107
|
args: [{
|
|
105
108
|
selector: 'kendo-pivot-string-filter-menu',
|
|
@@ -1,10 +1,12 @@
|
|
|
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 {
|
|
5
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
|
6
|
+
import { Injectable, Renderer2, NgZone } from '@angular/core';
|
|
6
7
|
import { Subject, Subscription } from 'rxjs';
|
|
7
8
|
import { PreventableEvent } from '@progress/kendo-angular-common';
|
|
9
|
+
import { PivotLocalizationService } from '../../localization/pivot-localization.service';
|
|
8
10
|
import { isPresent } from '../../util';
|
|
9
11
|
import * as i0 from "@angular/core";
|
|
10
12
|
import * as i1 from "@progress/kendo-angular-popup";
|
|
@@ -48,7 +50,6 @@ export class SinglePopupService {
|
|
|
48
50
|
this.scrollSubscription = new Subscription();
|
|
49
51
|
}
|
|
50
52
|
open(anchor, template, popupRef, popupClass = DEFAULT_POPUP_CLASS) {
|
|
51
|
-
var _a;
|
|
52
53
|
const toggle = isPresent(popupRef) && this.popupRef === popupRef;
|
|
53
54
|
this.destroy();
|
|
54
55
|
if (!toggle) {
|
|
@@ -64,7 +65,7 @@ export class SinglePopupService {
|
|
|
64
65
|
this.renderer.setAttribute(this.popupRef.popupElement, 'dir', this.localization.rtl ? 'rtl' : 'ltr');
|
|
65
66
|
this.attachClose(anchor);
|
|
66
67
|
}
|
|
67
|
-
const popupEl =
|
|
68
|
+
const popupEl = this.popupRef?.popupElement;
|
|
68
69
|
if (popupEl) {
|
|
69
70
|
this.attachMouseListeners(popupEl);
|
|
70
71
|
}
|
|
@@ -114,8 +115,8 @@ export class SinglePopupService {
|
|
|
114
115
|
});
|
|
115
116
|
}
|
|
116
117
|
}
|
|
117
|
-
SinglePopupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
118
|
-
SinglePopupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
119
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
118
|
+
SinglePopupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SinglePopupService, deps: [{ token: i1.PopupService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i2.PivotLocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
119
|
+
SinglePopupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SinglePopupService });
|
|
120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SinglePopupService, decorators: [{
|
|
120
121
|
type: Injectable
|
|
121
122
|
}], ctorParameters: function () { return [{ type: i1.PopupService }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i2.PivotLocalizationService }]; } });
|
|
@@ -1,15 +1,19 @@
|
|
|
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, EventEmitter, HostBinding, Input, Output, ViewChild } from '@angular/core';
|
|
5
|
+
import { ChangeDetectorRef, Component, EventEmitter, HostBinding, Input, NgZone, Output, ViewChild } from '@angular/core';
|
|
6
|
+
import { ConfiguratorNavigation } from '@progress/kendo-pivotgrid-common';
|
|
6
7
|
import { TreeViewComponent } from '@progress/kendo-angular-treeview';
|
|
8
|
+
import { PivotGridDataService } from '../data-binding/pivotgrid-data.service';
|
|
7
9
|
import { ConfiguratorService } from './configurator.service';
|
|
8
10
|
import { DropCueService } from './drop-cue.service';
|
|
9
11
|
import { from, of, Subscription } from 'rxjs';
|
|
10
12
|
import { mergeMap } from 'rxjs/operators';
|
|
11
13
|
import { clone, swapItems } from '../util';
|
|
14
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
12
15
|
import { SinglePopupService } from './chip-menu/single-popup.service';
|
|
16
|
+
import { ChipListComponent } from '@progress/kendo-angular-buttons';
|
|
13
17
|
import * as i0 from "@angular/core";
|
|
14
18
|
import * as i1 from "../data-binding/pivotgrid-data.service";
|
|
15
19
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
@@ -69,7 +73,7 @@ export class PivotGridConfiguratorComponent {
|
|
|
69
73
|
}));
|
|
70
74
|
this.subs.add(this.dataService.configuredFields
|
|
71
75
|
.subscribe(res => {
|
|
72
|
-
const normalizedState = clone(
|
|
76
|
+
const normalizedState = clone({ ...this.dataService.state, dragItem: res.dragItem, dropTarget: res.dropTarget, dropZone: res.dropZone, dropDirection: res.dropDirection });
|
|
73
77
|
this.originalState = normalizedState;
|
|
74
78
|
this.setState(normalizedState);
|
|
75
79
|
this.setChecked();
|
|
@@ -94,7 +98,7 @@ export class PivotGridConfiguratorComponent {
|
|
|
94
98
|
this.subs.unsubscribe();
|
|
95
99
|
}
|
|
96
100
|
ngOnChanges(changes) {
|
|
97
|
-
if (changes
|
|
101
|
+
if (changes['orientation']) {
|
|
98
102
|
this.configuratorService.orientation = this.orientation;
|
|
99
103
|
}
|
|
100
104
|
}
|
|
@@ -177,7 +181,7 @@ export class PivotGridConfiguratorComponent {
|
|
|
177
181
|
onChipRemove(ev, item, section) {
|
|
178
182
|
const filteredItems = this.dataService.state[`${section}Axes`].filter(descriptor => descriptor !== item);
|
|
179
183
|
this.dataService.state[`${section}Axes`] = filteredItems;
|
|
180
|
-
const newState =
|
|
184
|
+
const newState = { ...this.state, ...this.dataService.state };
|
|
181
185
|
this.checked = this.checked.filter(checkedItem => checkedItem.uniqueName !== item.name[0]);
|
|
182
186
|
this.setState(newState);
|
|
183
187
|
if (!this.navigation) {
|
|
@@ -205,11 +209,10 @@ export class PivotGridConfiguratorComponent {
|
|
|
205
209
|
* A function which determines if a specific node is checked/
|
|
206
210
|
*/
|
|
207
211
|
isItemChecked(node) {
|
|
208
|
-
var _a, _b;
|
|
209
212
|
const res = this.checked.some(s => node.defaultHierarchy
|
|
210
213
|
? s.defaultHierarchy === node.defaultHierarchy
|
|
211
214
|
: s.uniqueName === node.uniqueName)
|
|
212
|
-
|| (
|
|
215
|
+
|| (node.children?.length && node.children?.every((c) => c.checked));
|
|
213
216
|
return res || null;
|
|
214
217
|
}
|
|
215
218
|
/**
|
|
@@ -217,7 +220,7 @@ export class PivotGridConfiguratorComponent {
|
|
|
217
220
|
*/
|
|
218
221
|
isSelectable(node) {
|
|
219
222
|
const hasChildren = !('hierarchyUniqueName' in node) && !('aggregator' in node);
|
|
220
|
-
return !
|
|
223
|
+
return !((!hasChildren && !node.aggregator && !node.measure)
|
|
221
224
|
|| (node.type === 2)
|
|
222
225
|
|| node.uniqueName === '[KPIs]');
|
|
223
226
|
}
|
|
@@ -249,10 +252,9 @@ export class PivotGridConfiguratorComponent {
|
|
|
249
252
|
this.zone.runOutsideAngular(() => setTimeout(() => closestItem.focus()));
|
|
250
253
|
}
|
|
251
254
|
onTreeViewSelect(ev) {
|
|
252
|
-
var _a;
|
|
253
255
|
const closestItem = ev.target.closest('.k-treeview-item');
|
|
254
256
|
if (closestItem) {
|
|
255
|
-
|
|
257
|
+
closestItem.querySelector('.k-checkbox')?.click();
|
|
256
258
|
}
|
|
257
259
|
}
|
|
258
260
|
onTreeViewEscape(ev) {
|
|
@@ -297,7 +299,7 @@ export class PivotGridConfiguratorComponent {
|
|
|
297
299
|
const targetIndex = itemIndex + (direction === 'right' ? 1 : -1);
|
|
298
300
|
swapItems(collection, itemIndex, targetIndex);
|
|
299
301
|
this.dataService.state[`${name}Axes`] = collection;
|
|
300
|
-
const newState =
|
|
302
|
+
const newState = { ...this.state, ...this.dataService.state };
|
|
301
303
|
this.setState(newState);
|
|
302
304
|
this.cdr.detectChanges();
|
|
303
305
|
}
|
|
@@ -305,21 +307,20 @@ export class PivotGridConfiguratorComponent {
|
|
|
305
307
|
* Moves a chip from one ChipList to another
|
|
306
308
|
*/
|
|
307
309
|
moveChip(collection, item, itemIndex, name) {
|
|
308
|
-
var _a;
|
|
309
310
|
collection.splice(itemIndex, 1);
|
|
310
311
|
const targetCollectionName = name === 'row' ? 'column' : 'row';
|
|
311
312
|
const axes = this.state[`${targetCollectionName}Axes`];
|
|
312
313
|
axes.push(item);
|
|
313
314
|
this.dataService.state[`${name}Axes`] = collection;
|
|
314
315
|
this.dataService.state[targetCollectionName] = axes;
|
|
315
|
-
const newState =
|
|
316
|
+
const newState = { ...this.state, ...this.dataService.state };
|
|
316
317
|
this.setState(newState);
|
|
317
318
|
this.cdr.detectChanges();
|
|
318
|
-
|
|
319
|
+
this[`${targetCollectionName}sList`]?.chips.last.focus();
|
|
319
320
|
}
|
|
320
321
|
}
|
|
321
|
-
PivotGridConfiguratorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
322
|
-
PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
322
|
+
PivotGridConfiguratorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PivotGridConfiguratorComponent, deps: [{ token: i1.PivotGridDataService }, { token: i2.LocalizationService }, { token: i3.ConfiguratorService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
323
|
+
PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PivotGridConfiguratorComponent, selector: "kendo-pivotgrid-configurator", inputs: { orientation: "orientation", sort: "sort", filter: "filter", navigation: "navigation" }, outputs: { close: "close" }, host: { properties: { "class.k-pivotgrid-configurator": "this.hostClass", "attr.role": "this.hostAriaRole", "attr.aria-labelledby": "this.headerTextId" } }, providers: [
|
|
323
324
|
ConfiguratorService,
|
|
324
325
|
DropCueService,
|
|
325
326
|
SinglePopupService
|
|
@@ -339,11 +340,11 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
|
339
340
|
|
|
340
341
|
<div class="k-pivotgrid-configurator-content">
|
|
341
342
|
<div class="k-form" [class.k-form-horizontal]="isHorizontal">
|
|
342
|
-
<div class="k-form-field-wrapper">
|
|
343
|
-
<div class="k-form-field">
|
|
343
|
+
<div class="k-form-field-wrapper" [ngStyle]="isHorizontal ? {'padding-left': 0 } : null">
|
|
344
|
+
<div class="k-form-field" [style]="'padding-top: 1em; margin-top: 0;'" [ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null">
|
|
344
345
|
<span [id]="contentLabelId('fields')" class="k-label">{{messageFor('configuratorFieldsText')}}</span>
|
|
345
346
|
</div>
|
|
346
|
-
<div class="k-form-field">
|
|
347
|
+
<div class="k-form-field" [style]="'padding-top: 1em; margin-top: 0;'" [ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null">
|
|
347
348
|
<div class="k-fields-list-wrapper">
|
|
348
349
|
<kendo-treeview
|
|
349
350
|
#treeview
|
|
@@ -372,12 +373,12 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
|
372
373
|
</div>
|
|
373
374
|
</div>
|
|
374
375
|
|
|
375
|
-
<div *ngIf="isHorizontal; else verticalTemplate" class="k-form-field-wrapper">
|
|
376
|
+
<div *ngIf="isHorizontal; else verticalTemplate" class="k-form-field-wrapper" [ngStyle]="isHorizontal ? {'padding-left': 0 } : null">
|
|
376
377
|
<ng-container *ngTemplateOutlet="verticalTemplate"></ng-container>
|
|
377
378
|
</div>
|
|
378
379
|
|
|
379
380
|
<ng-template #verticalTemplate>
|
|
380
|
-
<div class="k-form-field" kendoDropTarget axes="columnAxes">
|
|
381
|
+
<div class="k-form-field" kendoDropTarget axes="columnAxes" [style]="'padding-top: 1em; margin-top: 0;'" [ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null">
|
|
381
382
|
<span [id]="contentLabelId('columns')" class="k-label">{{messageFor('configuratorColumnsText')}}</span>
|
|
382
383
|
</div>
|
|
383
384
|
|
|
@@ -387,6 +388,7 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
|
387
388
|
kendoDropTarget
|
|
388
389
|
axes="columnAxes"
|
|
389
390
|
[attr.aria-labelledby]="headerTextId + ' ' + contentLabelId('columns')"
|
|
391
|
+
[ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null"
|
|
390
392
|
>
|
|
391
393
|
<ng-container *ngFor="let item of state.columnAxes">
|
|
392
394
|
<kendo-chip *ngIf="item.name.length === 1"
|
|
@@ -412,7 +414,7 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
|
412
414
|
<div class="k-settings-description" kendoDropTarget axes="columnAxes">{{messageFor('configuratorEmptyColumnsText')}}</div>
|
|
413
415
|
</ng-template>
|
|
414
416
|
|
|
415
|
-
<div class="k-form-field" kendoDropTarget axes="rowAxes">
|
|
417
|
+
<div class="k-form-field" kendoDropTarget axes="rowAxes" [style]="'padding-top: 1em; margin-top: 0;'" [ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null">
|
|
416
418
|
<span [id]="contentLabelId('rows')" class="k-label">{{messageFor('configuratorRowsText')}}</span>
|
|
417
419
|
</div>
|
|
418
420
|
|
|
@@ -422,6 +424,7 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
|
422
424
|
kendoDropTarget
|
|
423
425
|
axes="rowAxes"
|
|
424
426
|
[attr.aria-labelledby]="headerTextId + ' ' + contentLabelId('rows')"
|
|
427
|
+
[ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null"
|
|
425
428
|
>
|
|
426
429
|
<ng-container *ngFor="let item of state.rowAxes">
|
|
427
430
|
<kendo-chip *ngIf="item.name.length === 1"
|
|
@@ -450,12 +453,12 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
|
450
453
|
</ng-template>
|
|
451
454
|
</ng-template>
|
|
452
455
|
|
|
453
|
-
<div *ngIf="isHorizontal; else verticalMeasuresTemplate" class="k-form-field-wrapper">
|
|
456
|
+
<div *ngIf="isHorizontal; else verticalMeasuresTemplate" class="k-form-field-wrapper" [ngStyle]="isHorizontal ? {'padding-left': 0 } : null" >
|
|
454
457
|
<ng-container *ngTemplateOutlet="verticalMeasuresTemplate"></ng-container>
|
|
455
458
|
</div>
|
|
456
459
|
|
|
457
460
|
<ng-template #verticalMeasuresTemplate>
|
|
458
|
-
<div class="k-form-field" kendoDropTarget axes="measureAxes">
|
|
461
|
+
<div class="k-form-field" kendoDropTarget axes="measureAxes" [style]="'padding-top: 1em; margin-top: 0;'" [ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null">
|
|
459
462
|
<span [id]="contentLabelId('values')" class="k-label">{{messageFor('configuratorValuesText')}}</span>
|
|
460
463
|
</div>
|
|
461
464
|
|
|
@@ -464,6 +467,7 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
|
464
467
|
kendoDropTarget
|
|
465
468
|
axes="measureAxes"
|
|
466
469
|
[attr.aria-labelledby]="headerTextId + ' ' + contentLabelId('values')"
|
|
470
|
+
[ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null"
|
|
467
471
|
>
|
|
468
472
|
<kendo-chip *ngFor="let item of state.measureAxes"
|
|
469
473
|
kendoChipDraggable
|
|
@@ -493,8 +497,8 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
|
493
497
|
<button kendoButton themeColor="primary" type="button" (click)="handleSubmit()">{{messageFor('configuratorApplyButtonText')}}</button>
|
|
494
498
|
</div>
|
|
495
499
|
</div>
|
|
496
|
-
`, isInline: true,
|
|
497
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
500
|
+
`, isInline: true, components: [{ type: i4.TreeViewComponent, selector: "kendo-treeview", inputs: ["filterInputPlaceholder", "expandDisabledNodes", "animate", "nodeTemplate", "loadMoreButtonTemplate", "trackBy", "nodes", "textField", "hasChildren", "isChecked", "isDisabled", "isExpanded", "isSelected", "isVisible", "navigable", "children", "loadOnDemand", "filterable", "filter", "size", "disableParentNodesOnly"], outputs: ["childrenLoaded", "blur", "focus", "expand", "collapse", "nodeDragStart", "nodeDrag", "filterStateChange", "nodeDrop", "nodeDragEnd", "addItem", "removeItem", "checkedChange", "selectionChange", "filterChange", "nodeClick", "nodeDblClick"], exportAs: ["kendoTreeView"] }, { type: i5.ChipListComponent, selector: "kendo-chiplist, kendo-chip-list", inputs: ["selection", "size"], outputs: ["selectedChange", "remove"] }, { type: i5.ChipComponent, selector: "kendo-chip", inputs: ["label", "icon", "svgIcon", "iconClass", "avatarClass", "selected", "removable", "removeIcon", "removeSvgIcon", "disabled", "size", "rounded", "fillMode", "themeColor"], outputs: ["remove", "contentClick"] }, { type: i6.ChipMenuComponent, selector: "kendo-pivot-chip-menu", inputs: ["chip", "tabIndex"] }, { type: i5.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i7.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i4.ExpandDirective, selector: "[kendoTreeViewExpandable]", inputs: ["isExpanded", "expandBy", "expandOnFilter", "expandedKeys"], outputs: ["expandedKeysChange"] }, { type: i4.NodeTemplateDirective, selector: "[kendoTreeViewNodeTemplate]" }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: ["size", "rounded"] }, { type: i7.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i9.DropTargetDirective, selector: "[kendoDropTarget]", inputs: ["item", "axes"] }, { type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i10.DraggableChipDirective, selector: "[kendoChipDraggable]", inputs: ["item"] }, { type: i11.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { type: i12.ChipKeyboardNavigationDirective, selector: "[kendoChipKeyboardNavigation]", outputs: ["reorder"] }] });
|
|
501
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PivotGridConfiguratorComponent, decorators: [{
|
|
498
502
|
type: Component,
|
|
499
503
|
args: [{
|
|
500
504
|
selector: 'kendo-pivotgrid-configurator',
|
|
@@ -519,11 +523,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
519
523
|
|
|
520
524
|
<div class="k-pivotgrid-configurator-content">
|
|
521
525
|
<div class="k-form" [class.k-form-horizontal]="isHorizontal">
|
|
522
|
-
<div class="k-form-field-wrapper">
|
|
523
|
-
<div class="k-form-field">
|
|
526
|
+
<div class="k-form-field-wrapper" [ngStyle]="isHorizontal ? {'padding-left': 0 } : null">
|
|
527
|
+
<div class="k-form-field" [style]="'padding-top: 1em; margin-top: 0;'" [ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null">
|
|
524
528
|
<span [id]="contentLabelId('fields')" class="k-label">{{messageFor('configuratorFieldsText')}}</span>
|
|
525
529
|
</div>
|
|
526
|
-
<div class="k-form-field">
|
|
530
|
+
<div class="k-form-field" [style]="'padding-top: 1em; margin-top: 0;'" [ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null">
|
|
527
531
|
<div class="k-fields-list-wrapper">
|
|
528
532
|
<kendo-treeview
|
|
529
533
|
#treeview
|
|
@@ -552,12 +556,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
552
556
|
</div>
|
|
553
557
|
</div>
|
|
554
558
|
|
|
555
|
-
<div *ngIf="isHorizontal; else verticalTemplate" class="k-form-field-wrapper">
|
|
559
|
+
<div *ngIf="isHorizontal; else verticalTemplate" class="k-form-field-wrapper" [ngStyle]="isHorizontal ? {'padding-left': 0 } : null">
|
|
556
560
|
<ng-container *ngTemplateOutlet="verticalTemplate"></ng-container>
|
|
557
561
|
</div>
|
|
558
562
|
|
|
559
563
|
<ng-template #verticalTemplate>
|
|
560
|
-
<div class="k-form-field" kendoDropTarget axes="columnAxes">
|
|
564
|
+
<div class="k-form-field" kendoDropTarget axes="columnAxes" [style]="'padding-top: 1em; margin-top: 0;'" [ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null">
|
|
561
565
|
<span [id]="contentLabelId('columns')" class="k-label">{{messageFor('configuratorColumnsText')}}</span>
|
|
562
566
|
</div>
|
|
563
567
|
|
|
@@ -567,6 +571,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
567
571
|
kendoDropTarget
|
|
568
572
|
axes="columnAxes"
|
|
569
573
|
[attr.aria-labelledby]="headerTextId + ' ' + contentLabelId('columns')"
|
|
574
|
+
[ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null"
|
|
570
575
|
>
|
|
571
576
|
<ng-container *ngFor="let item of state.columnAxes">
|
|
572
577
|
<kendo-chip *ngIf="item.name.length === 1"
|
|
@@ -592,7 +597,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
592
597
|
<div class="k-settings-description" kendoDropTarget axes="columnAxes">{{messageFor('configuratorEmptyColumnsText')}}</div>
|
|
593
598
|
</ng-template>
|
|
594
599
|
|
|
595
|
-
<div class="k-form-field" kendoDropTarget axes="rowAxes">
|
|
600
|
+
<div class="k-form-field" kendoDropTarget axes="rowAxes" [style]="'padding-top: 1em; margin-top: 0;'" [ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null">
|
|
596
601
|
<span [id]="contentLabelId('rows')" class="k-label">{{messageFor('configuratorRowsText')}}</span>
|
|
597
602
|
</div>
|
|
598
603
|
|
|
@@ -602,6 +607,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
602
607
|
kendoDropTarget
|
|
603
608
|
axes="rowAxes"
|
|
604
609
|
[attr.aria-labelledby]="headerTextId + ' ' + contentLabelId('rows')"
|
|
610
|
+
[ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null"
|
|
605
611
|
>
|
|
606
612
|
<ng-container *ngFor="let item of state.rowAxes">
|
|
607
613
|
<kendo-chip *ngIf="item.name.length === 1"
|
|
@@ -630,12 +636,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
630
636
|
</ng-template>
|
|
631
637
|
</ng-template>
|
|
632
638
|
|
|
633
|
-
<div *ngIf="isHorizontal; else verticalMeasuresTemplate" class="k-form-field-wrapper">
|
|
639
|
+
<div *ngIf="isHorizontal; else verticalMeasuresTemplate" class="k-form-field-wrapper" [ngStyle]="isHorizontal ? {'padding-left': 0 } : null" >
|
|
634
640
|
<ng-container *ngTemplateOutlet="verticalMeasuresTemplate"></ng-container>
|
|
635
641
|
</div>
|
|
636
642
|
|
|
637
643
|
<ng-template #verticalMeasuresTemplate>
|
|
638
|
-
<div class="k-form-field" kendoDropTarget axes="measureAxes">
|
|
644
|
+
<div class="k-form-field" kendoDropTarget axes="measureAxes" [style]="'padding-top: 1em; margin-top: 0;'" [ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null">
|
|
639
645
|
<span [id]="contentLabelId('values')" class="k-label">{{messageFor('configuratorValuesText')}}</span>
|
|
640
646
|
</div>
|
|
641
647
|
|
|
@@ -644,6 +650,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
644
650
|
kendoDropTarget
|
|
645
651
|
axes="measureAxes"
|
|
646
652
|
[attr.aria-labelledby]="headerTextId + ' ' + contentLabelId('values')"
|
|
653
|
+
[ngStyle]="isHorizontal ? {'padding-top': 0, 'padding-left': '16px' } : null"
|
|
647
654
|
>
|
|
648
655
|
<kendo-chip *ngFor="let item of state.measureAxes"
|
|
649
656
|
kendoChipDraggable
|
|
@@ -673,28 +680,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
673
680
|
<button kendoButton themeColor="primary" type="button" (click)="handleSubmit()">{{messageFor('configuratorApplyButtonText')}}</button>
|
|
674
681
|
</div>
|
|
675
682
|
</div>
|
|
676
|
-
|
|
677
|
-
styles: [`
|
|
678
|
-
.k-form .k-chip-list {
|
|
679
|
-
width: 100%;
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
.k-form .k-form-field,
|
|
683
|
-
.k-form .k-settings-description {
|
|
684
|
-
padding-top: 1em;
|
|
685
|
-
margin-top: 0;
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
.k-form.k-form-horizontal .k-form-field,
|
|
689
|
-
.k-form.k-form-horizontal .k-chip-list {
|
|
690
|
-
padding-top: 0;
|
|
691
|
-
padding-left: 16px;
|
|
692
|
-
}
|
|
693
|
-
|
|
694
|
-
.k-form.k-form-horizontal .k-form-field-wrapper {
|
|
695
|
-
padding-left: 0;
|
|
696
|
-
}
|
|
697
|
-
`]
|
|
683
|
+
`
|
|
698
684
|
}]
|
|
699
685
|
}], ctorParameters: function () { return [{ type: i1.PivotGridDataService }, { type: i2.LocalizationService }, { type: i3.ConfiguratorService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; }, propDecorators: { hostClass: [{
|
|
700
686
|
type: HostBinding,
|