@progress/kendo-angular-pivotgrid 17.0.0-develop.20 → 17.0.0-develop.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/configurator/chip-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.component.d.ts +1 -1
- package/configurator/chip-menu/chip-menu-item.directive.d.ts +1 -1
- package/configurator/chip-menu/chip-menu-reorder.component.d.ts +1 -1
- package/configurator/chip-menu/chip-menu-sort.component.d.ts +1 -1
- package/configurator/chip-menu/chip-menu.component.d.ts +1 -1
- package/configurator/chip-menu/filtering/filter-menu-container.component.d.ts +1 -1
- package/configurator/chip-menu/filtering/filter-menu-dropdownlist.directive.d.ts +1 -1
- package/configurator/chip-menu/filtering/string-filter-menu.component.d.ts +3 -3
- package/configurator/configurator.component.d.ts +1 -1
- package/configurator/draggable.directive.d.ts +1 -1
- package/configurator/drop-target.directive.d.ts +1 -1
- package/data-binding/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/{esm2020 → esm2022}/configurator/chip-kb-nav.directive.mjs +8 -5
- package/{esm2020 → esm2022}/configurator/chip-menu/chip-menu-container.component.mjs +8 -5
- package/{esm2020 → esm2022}/configurator/chip-menu/chip-menu-filter.component.mjs +25 -19
- package/{esm2020 → esm2022}/configurator/chip-menu/chip-menu-item-base.mjs +9 -6
- package/{esm2020 → esm2022}/configurator/chip-menu/chip-menu-item-content-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/configurator/chip-menu/chip-menu-item.component.mjs +65 -40
- package/{esm2020 → esm2022}/configurator/chip-menu/chip-menu-item.directive.mjs +35 -28
- package/{esm2020 → esm2022}/configurator/chip-menu/chip-menu-reorder.component.mjs +27 -19
- package/{esm2020 → esm2022}/configurator/chip-menu/chip-menu-sort.component.mjs +10 -6
- package/{esm2020 → esm2022}/configurator/chip-menu/chip-menu.component.mjs +22 -10
- package/{esm2020 → esm2022}/configurator/chip-menu/chip-menu.service.mjs +12 -10
- package/{esm2020 → esm2022}/configurator/chip-menu/filtering/filter-menu-container.component.mjs +21 -8
- package/{esm2020 → esm2022}/configurator/chip-menu/filtering/filter-menu-dropdownlist.directive.mjs +11 -9
- package/{esm2020 → esm2022}/configurator/chip-menu/filtering/menu-tabbing.service.mjs +7 -6
- package/{esm2020 → esm2022}/configurator/chip-menu/filtering/string-filter-menu.component.mjs +25 -15
- package/{esm2020 → esm2022}/configurator/chip-menu/single-popup.service.mjs +21 -10
- package/{esm2020 → esm2022}/configurator/configurator.component.mjs +51 -38
- package/{esm2020 → esm2022}/configurator/configurator.service.mjs +12 -5
- package/{esm2020 → esm2022}/configurator/draggable.directive.mjs +19 -11
- package/{esm2020 → esm2022}/configurator/drop-cue.service.mjs +4 -3
- package/{esm2020 → esm2022}/configurator/drop-target.directive.mjs +15 -4
- package/{esm2020 → esm2022}/data-binding/base-binding-directive.mjs +43 -35
- package/{esm2020 → esm2022}/data-binding/local-binding.directive.mjs +17 -5
- package/{esm2020 → esm2022}/data-binding/olap-binding.directive.mjs +16 -4
- package/{esm2020 → esm2022}/data-binding/pivotgrid-data.service.mjs +25 -14
- package/{esm2020 → esm2022}/localization/custom-messages.component.mjs +9 -8
- package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +9 -8
- package/esm2022/localization/messages.mjs +284 -0
- package/{esm2020 → esm2022}/localization/pivot-localization.service.mjs +4 -3
- package/{esm2020 → esm2022}/models/configuration-change-event.mjs +20 -0
- package/{esm2020 → esm2022}/models/configurator-settings.mjs +5 -0
- package/{esm2020 → esm2022}/models/expanded-change-event.mjs +12 -0
- package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
- package/{esm2020 → esm2022}/pivotgrid.component.mjs +98 -73
- package/{esm2020 → esm2022}/pivotgrid.module.mjs +12 -12
- package/{esm2020 → esm2022}/rendering/pivotgrid-cell.directive.mjs +30 -19
- package/{esm2020 → esm2022}/rendering/pivotgrid-table.component.mjs +66 -48
- package/{esm2020 → esm2022}/rendering/templates/pivotgrid-cell-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/rendering/templates/pivotgrid-column-header-cell-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/rendering/templates/pivotgrid-row-header-cell-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/rendering/templates/pivotgrid-value-cell-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/virtual/scroll.service.mjs +5 -6
- package/{esm2020 → esm2022}/virtual/scrollable-container.mjs +57 -43
- package/{fesm2020 → fesm2022}/progress-kendo-angular-pivotgrid.mjs +1057 -555
- package/localization/messages.d.ts +1 -1
- package/models/configurator-chipmenu-reorder-target.d.ts +1 -1
- package/models/configurator-orientation.d.ts +1 -1
- package/models/configurator-position.d.ts +1 -1
- package/models/drop-section.d.ts +1 -1
- package/models/drop-target.d.ts +1 -1
- package/models/expanded-state-action.d.ts +2 -2
- package/models/virtualization-settings.d.ts +1 -1
- package/package.json +21 -27
- package/pivotgrid.component.d.ts +1 -1
- package/rendering/pivotgrid-cell.directive.d.ts +1 -1
- package/rendering/pivotgrid-table.component.d.ts +1 -1
- package/schematics/ngAdd/index.js +2 -2
- package/esm2020/localization/messages.mjs +0 -87
- package/fesm2015/progress-kendo-angular-pivotgrid.mjs +0 -4933
- /package/{esm2020 → esm2022}/directives.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/models/configurator-chipmenu-reorder-target.mjs +0 -0
- /package/{esm2020 → esm2022}/models/configurator-orientation.mjs +0 -0
- /package/{esm2020 → esm2022}/models/configurator-position.mjs +0 -0
- /package/{esm2020 → esm2022}/models/data-row-item.mjs +0 -0
- /package/{esm2020 → esm2022}/models/drop-section.mjs +0 -0
- /package/{esm2020 → esm2022}/models/drop-target.mjs +0 -0
- /package/{esm2020 → esm2022}/models/expanded-state-action.mjs +0 -0
- /package/{esm2020 → esm2022}/models/loader-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/models/virtualization-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/progress-kendo-angular-pivotgrid.mjs +0 -0
- /package/{esm2020 → esm2022}/util.mjs +0 -0
@@ -21,21 +21,18 @@ import * as i3 from "../../data-binding/pivotgrid-data.service";
|
|
21
21
|
* Represents a chip-menu item for reordering PivotGrid fields.
|
22
22
|
*/
|
23
23
|
export class ChipMenuReorderComponent extends ChipMenuItemBase {
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
this.rtl = false;
|
37
|
-
this.subs = this.localization.localization.changes.subscribe(({ rtl }) => this.rtl = rtl);
|
38
|
-
}
|
24
|
+
localization;
|
25
|
+
renderer;
|
26
|
+
configuratorService;
|
27
|
+
dataService;
|
28
|
+
cdr;
|
29
|
+
ngZone;
|
30
|
+
chip;
|
31
|
+
columnsIcon = columnsIcon;
|
32
|
+
rowsIcon = rowsIcon;
|
33
|
+
arrowLeftIcon = arrowLeftIcon;
|
34
|
+
arrowRightIcon = arrowRightIcon;
|
35
|
+
rtl = false;
|
39
36
|
get isColumnsField() {
|
40
37
|
return this.configuratorService.state.columnAxes.some(item => item === this.chip);
|
41
38
|
}
|
@@ -57,6 +54,17 @@ export class ChipMenuReorderComponent extends ChipMenuItemBase {
|
|
57
54
|
this.isRowsField && state.rowAxes[state.rowAxes.length - 1] === this.chip ||
|
58
55
|
this.isMeasureField && state.measureAxes[state.measureAxes.length - 1] === this.chip;
|
59
56
|
}
|
57
|
+
subs;
|
58
|
+
constructor(localization, renderer, configuratorService, dataService, cdr, ngZone) {
|
59
|
+
super();
|
60
|
+
this.localization = localization;
|
61
|
+
this.renderer = renderer;
|
62
|
+
this.configuratorService = configuratorService;
|
63
|
+
this.dataService = dataService;
|
64
|
+
this.cdr = cdr;
|
65
|
+
this.ngZone = ngZone;
|
66
|
+
this.subs = this.localization.localization.changes.subscribe(({ rtl }) => this.rtl = rtl);
|
67
|
+
}
|
60
68
|
ngOnDestroy() {
|
61
69
|
this.subs.unsubscribe();
|
62
70
|
}
|
@@ -109,9 +117,8 @@ export class ChipMenuReorderComponent extends ChipMenuItemBase {
|
|
109
117
|
}
|
110
118
|
this.close();
|
111
119
|
}
|
112
|
-
}
|
113
|
-
|
114
|
-
ChipMenuReorderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ChipMenuReorderComponent, isStandalone: true, selector: "kendo-pivot-chipmenu-reorder", inputs: { chip: "chip" }, usesInheritance: true, ngImport: i0, template: `
|
120
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChipMenuReorderComponent, deps: [{ token: i1.PivotLocalizationService }, { token: i0.Renderer2 }, { token: i2.ConfiguratorService }, { token: i3.PivotGridDataService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
121
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ChipMenuReorderComponent, isStandalone: true, selector: "kendo-pivot-chipmenu-reorder", inputs: { chip: "chip" }, usesInheritance: true, ngImport: i0, template: `
|
115
122
|
<kendo-pivot-chipmenu-item
|
116
123
|
*ngIf="!isMeasureField"
|
117
124
|
[disabled]="isColumnsField"
|
@@ -143,7 +150,8 @@ ChipMenuReorderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0
|
|
143
150
|
(itemClick)="move($event, 'next')">
|
144
151
|
</kendo-pivot-chipmenu-item>
|
145
152
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ChipMenuItemComponent, selector: "kendo-pivot-chipmenu-item", inputs: ["icon", "svgIcon", "text", "selected", "expanded", "disabled"], outputs: ["itemClick", "expand", "collapse"] }] });
|
146
|
-
|
153
|
+
}
|
154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChipMenuReorderComponent, decorators: [{
|
147
155
|
type: Component,
|
148
156
|
args: [{
|
149
157
|
selector: 'kendo-pivot-chipmenu-reorder',
|
@@ -19,13 +19,17 @@ import * as i2 from "../configurator.service";
|
|
19
19
|
* Allows the user to sort the PivotGrid.
|
20
20
|
*/
|
21
21
|
export class ChipMenuSortComponent extends ChipMenuItemBase {
|
22
|
+
localization;
|
23
|
+
renderer;
|
24
|
+
configuratorService;
|
25
|
+
chip;
|
26
|
+
sortAscSVGIcon = sortAscSmallIcon;
|
27
|
+
sortDescSVGIcon = sortDescSmallIcon;
|
22
28
|
constructor(localization, renderer, configuratorService) {
|
23
29
|
super();
|
24
30
|
this.localization = localization;
|
25
31
|
this.renderer = renderer;
|
26
32
|
this.configuratorService = configuratorService;
|
27
|
-
this.sortAscSVGIcon = sortAscSmallIcon;
|
28
|
-
this.sortDescSVGIcon = sortDescSmallIcon;
|
29
33
|
}
|
30
34
|
get sortedAsc() {
|
31
35
|
const descriptor = this.descriptor;
|
@@ -54,9 +58,8 @@ export class ChipMenuSortComponent extends ChipMenuItemBase {
|
|
54
58
|
get descriptor() {
|
55
59
|
return [].concat(this.configuratorService.state.sort || []).find(s => s.field === this.chip.name.toString());
|
56
60
|
}
|
57
|
-
}
|
58
|
-
|
59
|
-
ChipMenuSortComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ChipMenuSortComponent, isStandalone: true, selector: "kendo-pivot-chipmenu-sort", inputs: { chip: "chip" }, usesInheritance: true, ngImport: i0, template: `
|
61
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChipMenuSortComponent, deps: [{ token: i1.PivotLocalizationService }, { token: i0.Renderer2 }, { token: i2.ConfiguratorService }], target: i0.ɵɵFactoryTarget.Component });
|
62
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ChipMenuSortComponent, isStandalone: true, selector: "kendo-pivot-chipmenu-sort", inputs: { chip: "chip" }, usesInheritance: true, ngImport: i0, template: `
|
60
63
|
<kendo-pivot-chipmenu-item
|
61
64
|
[text]="messageFor('fieldMenuSortAscendingItemLabel')"
|
62
65
|
icon="sort-asc-small"
|
@@ -72,7 +75,8 @@ ChipMenuSortComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
72
75
|
[selected]="sortedDesc">
|
73
76
|
</kendo-pivot-chipmenu-item>
|
74
77
|
`, isInline: true, dependencies: [{ kind: "component", type: ChipMenuItemComponent, selector: "kendo-pivot-chipmenu-item", inputs: ["icon", "svgIcon", "text", "selected", "expanded", "disabled"], outputs: ["itemClick", "expand", "collapse"] }] });
|
75
|
-
|
78
|
+
}
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChipMenuSortComponent, decorators: [{
|
76
80
|
type: Component,
|
77
81
|
args: [{
|
78
82
|
selector: 'kendo-pivot-chipmenu-sort',
|
@@ -29,14 +29,26 @@ const POPUP_CLASS = 'k-column-menu';
|
|
29
29
|
* Represents the field chip menu component.
|
30
30
|
*/
|
31
31
|
export class ChipMenuComponent {
|
32
|
+
popupService;
|
33
|
+
localization;
|
34
|
+
service;
|
35
|
+
renderer;
|
36
|
+
/**
|
37
|
+
* The Configurator field instance to control with the menu.
|
38
|
+
*/
|
39
|
+
chip;
|
40
|
+
tabIndex = '-1';
|
41
|
+
isMeasureField = false;
|
42
|
+
anchor;
|
43
|
+
template;
|
44
|
+
menuItemSVGIcon = moreVerticalIcon;
|
45
|
+
popupRef;
|
46
|
+
closeSubscription;
|
32
47
|
constructor(popupService, localization, service, renderer) {
|
33
48
|
this.popupService = popupService;
|
34
49
|
this.localization = localization;
|
35
50
|
this.service = service;
|
36
51
|
this.renderer = renderer;
|
37
|
-
this.tabIndex = '-1';
|
38
|
-
this.isMeasureField = false;
|
39
|
-
this.menuItemSVGIcon = moreVerticalIcon;
|
40
52
|
this.closeSubscription = service.closeMenu.subscribe(this.close.bind(this));
|
41
53
|
}
|
42
54
|
ngOnDestroy() {
|
@@ -65,12 +77,11 @@ export class ChipMenuComponent {
|
|
65
77
|
const chipName = this.chip.name.toString();
|
66
78
|
return replaceMessagePlaceholder(localizationMsg, 'fieldName', chipName);
|
67
79
|
}
|
68
|
-
}
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
], viewQueries: [{ propertyName: "template", first: true, predicate: ["template"], descendants: true, static: true }], ngImport: i0, template: `
|
80
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChipMenuComponent, deps: [{ token: i1.SinglePopupService }, { token: i2.PivotLocalizationService }, { token: i3.ChipMenuService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
81
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ChipMenuComponent, isStandalone: true, selector: "kendo-pivot-chip-menu", inputs: { chip: "chip", tabIndex: "tabIndex", isMeasureField: "isMeasureField", anchor: "anchor" }, providers: [
|
82
|
+
ChipMenuService,
|
83
|
+
MenuTabbingService
|
84
|
+
], viewQueries: [{ propertyName: "template", first: true, predicate: ["template"], descendants: true, static: true }], ngImport: i0, template: `
|
74
85
|
<ng-template #template>
|
75
86
|
<kendo-pivot-chipmenu-container
|
76
87
|
(keydown.escape)="close()"
|
@@ -100,7 +111,8 @@ ChipMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
100
111
|
</kendo-pivot-chipmenu-container>
|
101
112
|
</ng-template>
|
102
113
|
`, isInline: true, dependencies: [{ kind: "component", type: ChipMenuContainerComponent, selector: "kendo-pivot-chipmenu-container" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ChipMenuSortComponent, selector: "kendo-pivot-chipmenu-sort", inputs: ["chip"] }, { kind: "directive", type: ChipMenuItemDirective, selector: "[kendoPivotChipMenuItem]", inputs: ["kendoPivotChipMenuItem"] }, { kind: "component", type: ChipMenuFilterComponent, selector: "kendo-pivot-chipmenu-filter", inputs: ["chip", "expanded", "isLast"], outputs: ["expand", "collapse"] }, { kind: "component", type: ChipMenuReorderComponent, selector: "kendo-pivot-chipmenu-reorder", inputs: ["chip"] }] });
|
103
|
-
|
114
|
+
}
|
115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChipMenuComponent, decorators: [{
|
104
116
|
type: Component,
|
105
117
|
args: [{
|
106
118
|
providers: [
|
@@ -14,25 +14,27 @@ import * as i2 from "../configurator.service";
|
|
14
14
|
* Represents the service that is passed to the ChipMenuFilterComponent and ChipMenuSortComponent.
|
15
15
|
*/
|
16
16
|
export class ChipMenuService {
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
this.menuTabbingService = menuTabbingService;
|
22
|
-
configuratorService && (this.sub = configuratorService.closeMenu.subscribe(() => this.close()));
|
23
|
-
}
|
17
|
+
configuratorService;
|
18
|
+
menuTabbingService;
|
19
|
+
closeMenu = new EventEmitter();
|
20
|
+
sub = new Subscription();
|
24
21
|
/**
|
25
22
|
* Closes the chip menu.
|
26
23
|
*/
|
27
24
|
close() {
|
28
25
|
this.closeMenu.emit();
|
29
26
|
}
|
27
|
+
constructor(menuTabbingService, configuratorService) {
|
28
|
+
this.configuratorService = configuratorService;
|
29
|
+
this.menuTabbingService = menuTabbingService;
|
30
|
+
configuratorService && (this.sub = configuratorService.closeMenu.subscribe(() => this.close()));
|
31
|
+
}
|
30
32
|
ngOnDestroy() {
|
31
33
|
this.sub.unsubscribe();
|
32
34
|
}
|
35
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChipMenuService, deps: [{ token: i1.MenuTabbingService }, { token: i2.ConfiguratorService }], target: i0.ɵɵFactoryTarget.Injectable });
|
36
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChipMenuService });
|
33
37
|
}
|
34
|
-
|
35
|
-
ChipMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChipMenuService });
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChipMenuService, decorators: [{
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChipMenuService, decorators: [{
|
37
39
|
type: Injectable
|
38
40
|
}], ctorParameters: function () { return [{ type: i1.MenuTabbingService }, { type: i2.ConfiguratorService }]; } });
|
package/{esm2020 → esm2022}/configurator/chip-menu/filtering/filter-menu-container.component.mjs
RENAMED
@@ -26,12 +26,25 @@ const validFilter = ({ value, operator }) => !isNullOrEmptyString(value) || isNo
|
|
26
26
|
* @hidden
|
27
27
|
*/
|
28
28
|
export class FilterMenuContainerComponent {
|
29
|
+
localization;
|
30
|
+
cd;
|
31
|
+
configuratorService;
|
32
|
+
close = new EventEmitter();
|
33
|
+
/**
|
34
|
+
* The field with which the filter is associated.
|
35
|
+
*/
|
36
|
+
chip;
|
37
|
+
isLast;
|
38
|
+
isExpanded;
|
39
|
+
menuTabbingService;
|
40
|
+
actionsClass = 'k-action-buttons k-button-group';
|
41
|
+
filterDescriptorValue;
|
42
|
+
resetButton;
|
43
|
+
filterButton;
|
29
44
|
constructor(localization, cd, menuTabbingService, configuratorService) {
|
30
45
|
this.localization = localization;
|
31
46
|
this.cd = cd;
|
32
47
|
this.configuratorService = configuratorService;
|
33
|
-
this.close = new EventEmitter();
|
34
|
-
this.actionsClass = 'k-action-buttons k-button-group';
|
35
48
|
this.menuTabbingService = menuTabbingService;
|
36
49
|
}
|
37
50
|
ngAfterViewChecked() {
|
@@ -84,11 +97,10 @@ export class FilterMenuContainerComponent {
|
|
84
97
|
messageFor(localizationToken) {
|
85
98
|
return this.localization.get(localizationToken);
|
86
99
|
}
|
87
|
-
}
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
], viewQueries: [{ propertyName: "resetButton", first: true, predicate: ["resetButton"], descendants: true }, { propertyName: "filterButton", first: true, predicate: ["filterButton"], descendants: true }], ngImport: i0, template: `
|
100
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterMenuContainerComponent, deps: [{ token: i1.PivotLocalizationService }, { token: i0.ChangeDetectorRef }, { token: i2.MenuTabbingService }, { token: i3.ConfiguratorService }], target: i0.ɵɵFactoryTarget.Component });
|
101
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FilterMenuContainerComponent, isStandalone: true, selector: "kendo-pivot-filter-menu-container", inputs: { chip: "chip", isLast: "isLast", isExpanded: "isExpanded", menuTabbingService: "menuTabbingService", actionsClass: "actionsClass" }, outputs: { close: "close" }, providers: [
|
102
|
+
MenuTabbingService
|
103
|
+
], viewQueries: [{ propertyName: "resetButton", first: true, predicate: ["resetButton"], descendants: true }, { propertyName: "filterButton", first: true, predicate: ["filterButton"], descendants: true }], ngImport: i0, template: `
|
92
104
|
<form (submit)="submit()" (reset)="reset()"
|
93
105
|
class="k-filter-menu k-group k-reset k-state-border-up">
|
94
106
|
<div class="k-filter-menu-container">
|
@@ -115,7 +127,8 @@ FilterMenuContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14
|
|
115
127
|
</div>
|
116
128
|
</form>
|
117
129
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i4.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: StringFilterMenuComponent, selector: "kendo-pivot-string-filter-menu", inputs: ["chip", "menuTabbingService"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
118
|
-
|
130
|
+
}
|
131
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterMenuContainerComponent, decorators: [{
|
119
132
|
type: Component,
|
120
133
|
args: [{
|
121
134
|
providers: [
|
package/{esm2020 → esm2022}/configurator/chip-menu/filtering/filter-menu-dropdownlist.directive.mjs
RENAMED
@@ -11,14 +11,10 @@ import * as i1 from "@progress/kendo-angular-dropdowns";
|
|
11
11
|
* @hidden
|
12
12
|
*/
|
13
13
|
export class FilterMenuDropDownListDirective {
|
14
|
+
host;
|
15
|
+
filterMenuDropDownLabel;
|
14
16
|
constructor(host) {
|
15
17
|
this.host = host;
|
16
|
-
this.keydownHandler = (e) => {
|
17
|
-
if (e.keyCode === Keys.Escape && this.host.isOpen) {
|
18
|
-
e.stopPropagation();
|
19
|
-
this.host.toggle(false);
|
20
|
-
}
|
21
|
-
};
|
22
18
|
}
|
23
19
|
ngAfterViewInit() {
|
24
20
|
const wrapperElement = this.host.wrapper.nativeElement;
|
@@ -28,10 +24,16 @@ export class FilterMenuDropDownListDirective {
|
|
28
24
|
ngOnDestroy() {
|
29
25
|
this.host.wrapper.nativeElement.removeEventListener('keydown', this.keydownHandler);
|
30
26
|
}
|
27
|
+
keydownHandler = (e) => {
|
28
|
+
if (e.keyCode === Keys.Escape && this.host.isOpen) {
|
29
|
+
e.stopPropagation();
|
30
|
+
this.host.toggle(false);
|
31
|
+
}
|
32
|
+
};
|
33
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterMenuDropDownListDirective, deps: [{ token: i1.DropDownListComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
34
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FilterMenuDropDownListDirective, isStandalone: true, selector: "[kendoFilterMenuDropDown]", inputs: { filterMenuDropDownLabel: "filterMenuDropDownLabel" }, ngImport: i0 });
|
31
35
|
}
|
32
|
-
|
33
|
-
FilterMenuDropDownListDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FilterMenuDropDownListDirective, isStandalone: true, selector: "[kendoFilterMenuDropDown]", inputs: { filterMenuDropDownLabel: "filterMenuDropDownLabel" }, ngImport: i0 });
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterMenuDropDownListDirective, decorators: [{
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterMenuDropDownListDirective, decorators: [{
|
35
37
|
type: Directive,
|
36
38
|
args: [{
|
37
39
|
selector: '[kendoFilterMenuDropDown]',
|
@@ -8,12 +8,13 @@ import * as i0 from "@angular/core";
|
|
8
8
|
* @hidden
|
9
9
|
*/
|
10
10
|
export class MenuTabbingService {
|
11
|
-
|
12
|
-
|
13
|
-
|
11
|
+
firstFocusable;
|
12
|
+
lastFocusable;
|
13
|
+
isPopupOpen = false;
|
14
|
+
lastMenuItem;
|
15
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MenuTabbingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
16
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MenuTabbingService });
|
14
17
|
}
|
15
|
-
|
16
|
-
MenuTabbingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MenuTabbingService });
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MenuTabbingService, decorators: [{
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MenuTabbingService, decorators: [{
|
18
19
|
type: Injectable
|
19
20
|
}] });
|
package/{esm2020 → esm2022}/configurator/chip-menu/filtering/string-filter-menu.component.mjs
RENAMED
@@ -41,18 +41,28 @@ const stringOperators = localizeOperators({
|
|
41
41
|
* Represents a string-filter menu component.
|
42
42
|
*/
|
43
43
|
export class StringFilterMenuComponent {
|
44
|
+
localization;
|
45
|
+
configuratorService;
|
46
|
+
fb;
|
47
|
+
/**
|
48
|
+
* The field with which the filter is associated.
|
49
|
+
*/
|
50
|
+
chip;
|
51
|
+
menuTabbingService;
|
52
|
+
operators;
|
53
|
+
filterFormGroup;
|
54
|
+
get currentFilter() {
|
55
|
+
const filterValue = this.configuratorService.state.filter?.filter(x => x.field === this.chip.name.toString());
|
56
|
+
return filterValue && filterValue[0];
|
57
|
+
}
|
58
|
+
subscription = new Subscription();
|
44
59
|
constructor(localization, configuratorService, fb) {
|
45
60
|
this.localization = localization;
|
46
61
|
this.configuratorService = configuratorService;
|
47
62
|
this.fb = fb;
|
48
|
-
this.subscription = new Subscription();
|
49
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
50
|
-
this.onTouched = () => { };
|
51
|
-
}
|
52
|
-
get currentFilter() {
|
53
|
-
const filterValue = this.configuratorService.state.filter?.filter(x => x.field === this.chip.name.toString());
|
54
|
-
return filterValue && filterValue[0];
|
55
63
|
}
|
64
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
65
|
+
onTouched = () => { };
|
56
66
|
registerOnChange(fn) {
|
57
67
|
this.filterFormGroup.valueChanges.subscribe(fn);
|
58
68
|
}
|
@@ -79,13 +89,12 @@ export class StringFilterMenuComponent {
|
|
79
89
|
ngOnDestroy() {
|
80
90
|
this.subscription.unsubscribe();
|
81
91
|
}
|
82
|
-
}
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
}], ngImport: i0, template: `
|
92
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StringFilterMenuComponent, deps: [{ token: i1.PivotLocalizationService }, { token: i2.ConfiguratorService }, { token: i3.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
93
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: StringFilterMenuComponent, isStandalone: true, selector: "kendo-pivot-string-filter-menu", inputs: { chip: "chip", menuTabbingService: "menuTabbingService" }, providers: [{
|
94
|
+
provide: NG_VALUE_ACCESSOR,
|
95
|
+
useExisting: forwardRef(() => StringFilterMenuComponent),
|
96
|
+
multi: true
|
97
|
+
}], ngImport: i0, template: `
|
89
98
|
<ng-container [formGroup]="filterFormGroup">
|
90
99
|
<kendo-dropdownlist
|
91
100
|
kendoFilterMenuDropDown
|
@@ -102,7 +111,8 @@ StringFilterMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
102
111
|
/>
|
103
112
|
</ng-container>
|
104
113
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", 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]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type: FilterMenuDropDownListDirective, selector: "[kendoFilterMenuDropDown]", inputs: ["filterMenuDropDownLabel"] }, { kind: "directive", type: TextBoxDirective, selector: "input[kendoTextBox]", inputs: ["value"] }] });
|
105
|
-
|
114
|
+
}
|
115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StringFilterMenuComponent, decorators: [{
|
106
116
|
type: Component,
|
107
117
|
args: [{
|
108
118
|
selector: 'kendo-pivot-string-filter-menu',
|
@@ -25,6 +25,10 @@ const contains = (node, predicate) => {
|
|
25
25
|
* Arguments for the `close` event of the chip-menu popup.
|
26
26
|
*/
|
27
27
|
export class PopupCloseEvent extends PreventableEvent {
|
28
|
+
/**
|
29
|
+
* The original DOM event that causes the popup to close.
|
30
|
+
*/
|
31
|
+
originalEvent;
|
28
32
|
/**
|
29
33
|
* @hidden
|
30
34
|
*/
|
@@ -39,18 +43,25 @@ const DEFAULT_POPUP_CLASS = 'k-grid-filter-popup';
|
|
39
43
|
* The service that is used for the popups of the chip menus.
|
40
44
|
*/
|
41
45
|
export class SinglePopupService {
|
46
|
+
popupService;
|
47
|
+
renderer;
|
48
|
+
ngZone;
|
49
|
+
localization;
|
50
|
+
/**
|
51
|
+
* Fires when the chip menus are about to close because the user clicked outside their popups.
|
52
|
+
* Used to prevent the popup from closing.
|
53
|
+
*/
|
54
|
+
onClose = new Subject();
|
55
|
+
removeClick;
|
56
|
+
pointerEventsSub = new Subscription();
|
57
|
+
popupRef;
|
58
|
+
scrollSubscription = new Subscription();
|
59
|
+
canClosePopup;
|
42
60
|
constructor(popupService, renderer, ngZone, localization) {
|
43
61
|
this.popupService = popupService;
|
44
62
|
this.renderer = renderer;
|
45
63
|
this.ngZone = ngZone;
|
46
64
|
this.localization = localization;
|
47
|
-
/**
|
48
|
-
* Fires when the chip menus are about to close because the user clicked outside their popups.
|
49
|
-
* Used to prevent the popup from closing.
|
50
|
-
*/
|
51
|
-
this.onClose = new Subject();
|
52
|
-
this.pointerEventsSub = new Subscription();
|
53
|
-
this.scrollSubscription = new Subscription();
|
54
65
|
}
|
55
66
|
open(anchor, template, popupRef, popupClass = DEFAULT_POPUP_CLASS) {
|
56
67
|
const toggle = isPresent(popupRef) && this.popupRef === popupRef;
|
@@ -117,9 +128,9 @@ export class SinglePopupService {
|
|
117
128
|
}));
|
118
129
|
});
|
119
130
|
}
|
131
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SinglePopupService, deps: [{ token: i1.PopupService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i2.PivotLocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
132
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SinglePopupService });
|
120
133
|
}
|
121
|
-
|
122
|
-
SinglePopupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SinglePopupService });
|
123
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SinglePopupService, decorators: [{
|
134
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SinglePopupService, decorators: [{
|
124
135
|
type: Injectable
|
125
136
|
}], ctorParameters: function () { return [{ type: i1.PopupService }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i2.PivotLocalizationService }]; } });
|
@@ -30,44 +30,44 @@ import * as i3 from "./configurator.service";
|
|
30
30
|
* Represents the Kendo UI PivotGrid Configurator component for Angular.
|
31
31
|
*/
|
32
32
|
export class PivotGridConfiguratorComponent {
|
33
|
+
dataService;
|
34
|
+
localization;
|
35
|
+
configuratorService;
|
36
|
+
cdr;
|
37
|
+
zone;
|
38
|
+
hostClass = true;
|
39
|
+
hostAriaRole = 'dialog';
|
40
|
+
get headerTextId() {
|
41
|
+
return `k-pivotgrid-${this.dataService.pivotGridId}-configurator-header`;
|
42
|
+
}
|
43
|
+
orientation = 'vertical';
|
44
|
+
sort = new Array();
|
45
|
+
filter;
|
46
|
+
navigation;
|
47
|
+
close = new EventEmitter();
|
48
|
+
treeView;
|
49
|
+
columnsList;
|
50
|
+
rowsList;
|
51
|
+
originalState;
|
52
|
+
state;
|
53
|
+
fields;
|
54
|
+
checked = [];
|
55
|
+
get isHorizontal() {
|
56
|
+
return this.orientation === 'horizontal';
|
57
|
+
}
|
58
|
+
subs = new Subscription();
|
59
|
+
/**
|
60
|
+
* A function which determines if a specific node has child nodes.
|
61
|
+
*/
|
62
|
+
hasChildren = (node) => !('hierarchyUniqueName' in node) && !('aggregator' in node);
|
33
63
|
constructor(dataService, localization, configuratorService, cdr, zone) {
|
34
64
|
this.dataService = dataService;
|
35
65
|
this.localization = localization;
|
36
66
|
this.configuratorService = configuratorService;
|
37
67
|
this.cdr = cdr;
|
38
68
|
this.zone = zone;
|
39
|
-
this.hostClass = true;
|
40
|
-
this.hostAriaRole = 'dialog';
|
41
|
-
this.orientation = 'vertical';
|
42
|
-
this.sort = new Array();
|
43
|
-
this.close = new EventEmitter();
|
44
|
-
this.checked = [];
|
45
|
-
this.subs = new Subscription();
|
46
|
-
/**
|
47
|
-
* A function which determines if a specific node has child nodes.
|
48
|
-
*/
|
49
|
-
this.hasChildren = (node) => !('hierarchyUniqueName' in node) && !('aggregator' in node);
|
50
|
-
this.checkItemBy = (context) => {
|
51
|
-
return context.dataItem;
|
52
|
-
};
|
53
|
-
/**
|
54
|
-
* A function which provides the child nodes for a given parent node.
|
55
|
-
*/
|
56
|
-
this.children = (node) => {
|
57
|
-
if (this.dataService.directive.type === 'olap') {
|
58
|
-
const observable = from(this.dataService.directive.fetchChildren(node, this.fields));
|
59
|
-
return observable.pipe(mergeMap(value => of(value)));
|
60
|
-
}
|
61
|
-
return of(node.children);
|
62
|
-
};
|
63
69
|
this.configuratorService.configuratorInstance = this;
|
64
70
|
}
|
65
|
-
get headerTextId() {
|
66
|
-
return `k-pivotgrid-${this.dataService.pivotGridId}-configurator-header`;
|
67
|
-
}
|
68
|
-
get isHorizontal() {
|
69
|
-
return this.orientation === 'horizontal';
|
70
|
-
}
|
71
71
|
ngOnInit() {
|
72
72
|
this.subs.add(this.dataService.fields
|
73
73
|
.subscribe(res => {
|
@@ -204,6 +204,9 @@ export class PivotGridConfiguratorComponent {
|
|
204
204
|
].some((h) => (h === f.uniqueName || h === f.defaultHierarchy)));
|
205
205
|
this.checked = checked;
|
206
206
|
}
|
207
|
+
checkItemBy = (context) => {
|
208
|
+
return context.dataItem;
|
209
|
+
};
|
207
210
|
/**
|
208
211
|
* Determines if a checkbox should be rendered.
|
209
212
|
*/
|
@@ -213,6 +216,16 @@ export class PivotGridConfiguratorComponent {
|
|
213
216
|
|| (node.type === 2)
|
214
217
|
|| node.uniqueName === '[KPIs]');
|
215
218
|
}
|
219
|
+
/**
|
220
|
+
* A function which provides the child nodes for a given parent node.
|
221
|
+
*/
|
222
|
+
children = (node) => {
|
223
|
+
if (this.dataService.directive.type === 'olap') {
|
224
|
+
const observable = from(this.dataService.directive.fetchChildren(node, this.fields));
|
225
|
+
return observable.pipe(mergeMap(value => of(value)));
|
226
|
+
}
|
227
|
+
return of(node.children);
|
228
|
+
};
|
216
229
|
/**
|
217
230
|
* Check if the newly loaded child nodes have checked items.
|
218
231
|
* (Only for OLAP data-binding directive)
|
@@ -299,13 +312,12 @@ export class PivotGridConfiguratorComponent {
|
|
299
312
|
this.cdr.detectChanges();
|
300
313
|
this[`${targetCollectionName}sList`]?.chips.last.focus();
|
301
314
|
}
|
302
|
-
}
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
], viewQueries: [{ propertyName: "treeView", first: true, predicate: TreeViewComponent, descendants: true }, { propertyName: "columnsList", first: true, predicate: ["columnsChiplist"], descendants: true }, { propertyName: "rowsList", first: true, predicate: ["rowsChiplist"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
315
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PivotGridConfiguratorComponent, deps: [{ token: i1.PivotGridDataService }, { token: i2.LocalizationService }, { token: i3.ConfiguratorService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
316
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PivotGridConfiguratorComponent, isStandalone: true, 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: [
|
317
|
+
ConfiguratorService,
|
318
|
+
DropCueService,
|
319
|
+
SinglePopupService
|
320
|
+
], viewQueries: [{ propertyName: "treeView", first: true, predicate: TreeViewComponent, descendants: true }, { propertyName: "columnsList", first: true, predicate: ["columnsChiplist"], descendants: true }, { propertyName: "rowsList", first: true, predicate: ["rowsChiplist"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
309
321
|
<div
|
310
322
|
class="k-pivotgrid-configurator-panel k-pivotgrid-configurator-push"
|
311
323
|
[ngClass]="{
|
@@ -498,7 +510,8 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
498
510
|
</div>
|
499
511
|
</div>
|
500
512
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: TreeViewComponent, selector: "kendo-treeview", inputs: ["filterInputPlaceholder", "expandDisabledNodes", "animate", "nodeTemplate", "loadMoreButtonTemplate", "trackBy", "nodes", "textField", "hasChildren", "isChecked", "isDisabled", "hasCheckbox", "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"] }, { kind: "directive", type: ExpandDirective, selector: "[kendoTreeViewExpandable]", inputs: ["isExpanded", "expandBy", "expandOnFilter", "expandedKeys"], outputs: ["expandedKeysChange"] }, { kind: "directive", type: CheckDirective, selector: "[kendoTreeViewCheckable]", inputs: ["isChecked", "checkBy", "checkedKeys", "kendoTreeViewCheckable"], outputs: ["checkedKeysChange"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: DropTargetDirective, selector: "[kendoDropTarget]", inputs: ["item", "axes"] }, { kind: "component", type: ChipListComponent, selector: "kendo-chiplist, kendo-chip-list", inputs: ["selection", "size", "role", "navigable"], outputs: ["selectedChange", "remove"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ChipComponent, selector: "kendo-chip", inputs: ["label", "icon", "svgIcon", "iconClass", "avatarSettings", "selected", "removable", "removeIcon", "removeSvgIcon", "hasMenu", "menuIcon", "menuSvgIcon", "disabled", "size", "rounded", "fillMode", "themeColor"], outputs: ["remove", "menuToggle", "contentClick"] }, { kind: "directive", type: DraggableChipDirective, selector: "[kendoChipDraggable]", inputs: ["item"] }, { kind: "directive", type: DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { kind: "directive", type: ChipKeyboardNavigationDirective, selector: "[kendoChipKeyboardNavigation]", outputs: ["reorder"] }, { kind: "component", type: ChipMenuComponent, selector: "kendo-pivot-chip-menu", inputs: ["chip", "tabIndex", "isMeasureField", "anchor"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
501
|
-
|
513
|
+
}
|
514
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PivotGridConfiguratorComponent, decorators: [{
|
502
515
|
type: Component,
|
503
516
|
args: [{
|
504
517
|
selector: 'kendo-pivotgrid-configurator',
|