@progress/kendo-angular-pivotgrid 11.0.0-develop.108 → 11.0.0-develop.109
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 +2 -0
- package/configurator/chip-menu/chip-menu-item.component.d.ts +7 -1
- package/configurator/chip-menu/chip-menu-sort.component.d.ts +3 -0
- package/configurator/chip-menu/chip-menu.component.d.ts +3 -1
- package/esm2020/configurator/chip-menu/chip-menu-filter.component.mjs +5 -1
- package/esm2020/configurator/chip-menu/chip-menu-item.component.mjs +23 -13
- package/esm2020/configurator/chip-menu/chip-menu-sort.component.mjs +8 -1
- package/esm2020/configurator/chip-menu/chip-menu.component.mjs +30 -19
- package/esm2020/package-metadata.mjs +1 -1
- package/esm2020/pivotgrid.component.mjs +11 -5
- package/esm2020/pivotgrid.module.mjs +5 -2
- package/esm2020/rendering/pivotgrid-cell.directive.mjs +18 -20
- package/esm2020/shared.module.mjs +5 -0
- package/fesm2015/progress-kendo-angular-pivotgrid.mjs +106 -70
- package/fesm2020/progress-kendo-angular-pivotgrid.mjs +106 -70
- package/package.json +12 -11
- package/pivotgrid.component.d.ts +5 -0
- package/pivotgrid.module.d.ts +2 -1
- package/rendering/pivotgrid-cell.directive.d.ts +3 -0
- package/schematics/ngAdd/index.js +3 -1
- package/shared.module.d.ts +3 -2
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
6
|
import { EventEmitter, Injectable, Output, Component, HostBinding, Input, Directive, ContentChildren, isDevMode, Optional, ContentChild, forwardRef, ViewChild, ElementRef, NgModule } from '@angular/core';
|
|
7
7
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
8
|
-
import * as
|
|
8
|
+
import * as i1$1 from '@progress/kendo-angular-common';
|
|
9
9
|
import { isDocumentAvailable, PreventableEvent, Keys, isChanged, hasObservers, anyChanged, EventsModule, DraggableModule } from '@progress/kendo-angular-common';
|
|
10
10
|
import { toTree, toRows, toColumns, toData, configuratorReducer, PIVOT_CONFIGURATOR_ACTION, PivotGridNavigation, ConfiguratorNavigation, HEADERS_ACTION, headersReducer, createFlatSchemaDimensions, createDataTree, createLocalDataState, rootFields, fetchData, createDataState, fetchDiscover, addKPI, buildKPIMeasures } from '@progress/kendo-pivotgrid-common';
|
|
11
11
|
export { averageAggregate, maxAggregate, minAggregate, sumAggregate } from '@progress/kendo-pivotgrid-common';
|
|
@@ -13,19 +13,22 @@ import { BehaviorSubject, Subscription, Subject, from, of, fromEvent } from 'rxj
|
|
|
13
13
|
import { take, mergeMap, merge } from 'rxjs/operators';
|
|
14
14
|
import * as i1 from '@progress/kendo-angular-l10n';
|
|
15
15
|
import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
16
|
+
import { chevronUpIcon, chevronDownIcon, sortAscSmallIcon, sortDescSmallIcon, filterIcon, moreVerticalIcon, gearIcon } from '@progress/kendo-svg-icons';
|
|
17
|
+
import * as i2 from '@progress/kendo-angular-icons';
|
|
18
|
+
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
16
19
|
import * as i7 from '@angular/common';
|
|
17
20
|
import { CommonModule } from '@angular/common';
|
|
18
21
|
import * as i5$1 from '@progress/kendo-angular-indicators';
|
|
19
22
|
import { IndicatorsModule } from '@progress/kendo-angular-indicators';
|
|
20
23
|
import * as i4 from '@progress/kendo-angular-treeview';
|
|
21
24
|
import { TreeViewComponent, TreeViewModule } from '@progress/kendo-angular-treeview';
|
|
22
|
-
import * as i1$
|
|
25
|
+
import * as i1$2 from '@progress/kendo-angular-popup';
|
|
23
26
|
import * as i5 from '@progress/kendo-angular-buttons';
|
|
24
27
|
import { ButtonsModule } from '@progress/kendo-angular-buttons';
|
|
25
28
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
26
|
-
import * as i3
|
|
29
|
+
import * as i3 from '@angular/forms';
|
|
27
30
|
import { NG_VALUE_ACCESSOR, ReactiveFormsModule, FormsModule } from '@angular/forms';
|
|
28
|
-
import * as i1$
|
|
31
|
+
import * as i1$3 from '@progress/kendo-angular-dropdowns';
|
|
29
32
|
import { DropDownsModule } from '@progress/kendo-angular-dropdowns';
|
|
30
33
|
import * as i6 from '@progress/kendo-angular-inputs';
|
|
31
34
|
import { InputsModule } from '@progress/kendo-angular-inputs';
|
|
@@ -37,7 +40,7 @@ const packageMetadata = {
|
|
|
37
40
|
name: '@progress/kendo-angular-pivotgrid',
|
|
38
41
|
productName: 'Kendo UI for Angular',
|
|
39
42
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
40
|
-
publishDate:
|
|
43
|
+
publishDate: 1673549015,
|
|
41
44
|
version: '',
|
|
42
45
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
43
46
|
};
|
|
@@ -316,6 +319,8 @@ class PivotGridCellDirective {
|
|
|
316
319
|
this.renderer = renderer;
|
|
317
320
|
this.dataService = dataService;
|
|
318
321
|
this.cellClass = true;
|
|
322
|
+
this.chevronUpSVGIcon = chevronUpIcon;
|
|
323
|
+
this.chevronDownSVGIcon = chevronDownIcon;
|
|
319
324
|
this.handleClick = () => {
|
|
320
325
|
this.dataService.expandedStateChange.emit({
|
|
321
326
|
action: this.expanded ? 'collapse' : 'expand',
|
|
@@ -348,34 +353,28 @@ class PivotGridCellDirective {
|
|
|
348
353
|
}
|
|
349
354
|
PivotGridCellDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PivotGridCellDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: PivotGridDataService }], target: i0.ɵɵFactoryTarget.Component });
|
|
350
355
|
PivotGridCellDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PivotGridCellDirective, selector: "[kendoPivotGridCell]", inputs: { kendoPivotGridCell: "kendoPivotGridCell", tableType: "tableType", rowIndex: "rowIndex", colIndex: "colIndex" }, host: { properties: { "class.k-pivotgrid-cell": "this.cellClass" } }, ngImport: i0, template: `
|
|
351
|
-
<
|
|
356
|
+
<kendo-icon-wrapper
|
|
352
357
|
*ngIf="kendoPivotGridCell.hasChildren && !kendoPivotGridCell.total"
|
|
353
|
-
class="k-icon"
|
|
354
358
|
aria-hidden="true"
|
|
355
|
-
[kendoEventsOutsideAngular]="{
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
'k-i-arrow-chevron-down': !expanded
|
|
361
|
-
}"></span>{{ kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption }}`, isInline: true, directives: [{ type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
359
|
+
[kendoEventsOutsideAngular]="{ click: handleClick }"
|
|
360
|
+
[name]="expanded ? 'chevron-up' : 'chevron-down'"
|
|
361
|
+
[svgIcon]="expanded ? chevronUpSVGIcon : chevronDownSVGIcon">
|
|
362
|
+
</kendo-icon-wrapper>
|
|
363
|
+
{{ kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption }}`, isInline: true, components: [{ type: i2.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
362
364
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PivotGridCellDirective, decorators: [{
|
|
363
365
|
type: Component,
|
|
364
366
|
args: [{
|
|
365
367
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
366
368
|
selector: '[kendoPivotGridCell]',
|
|
367
369
|
template: `
|
|
368
|
-
<
|
|
370
|
+
<kendo-icon-wrapper
|
|
369
371
|
*ngIf="kendoPivotGridCell.hasChildren && !kendoPivotGridCell.total"
|
|
370
|
-
class="k-icon"
|
|
371
372
|
aria-hidden="true"
|
|
372
|
-
[kendoEventsOutsideAngular]="{
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
'k-i-arrow-chevron-down': !expanded
|
|
378
|
-
}"></span>{{ kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption }}`
|
|
373
|
+
[kendoEventsOutsideAngular]="{ click: handleClick }"
|
|
374
|
+
[name]="expanded ? 'chevron-up' : 'chevron-down'"
|
|
375
|
+
[svgIcon]="expanded ? chevronUpSVGIcon : chevronDownSVGIcon">
|
|
376
|
+
</kendo-icon-wrapper>
|
|
377
|
+
{{ kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption }}`
|
|
379
378
|
}]
|
|
380
379
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: PivotGridDataService }]; }, propDecorators: { cellClass: [{
|
|
381
380
|
type: HostBinding,
|
|
@@ -713,11 +712,11 @@ class SinglePopupService {
|
|
|
713
712
|
});
|
|
714
713
|
}
|
|
715
714
|
}
|
|
716
|
-
SinglePopupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SinglePopupService, deps: [{ token: i1$
|
|
715
|
+
SinglePopupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SinglePopupService, deps: [{ token: i1$2.PopupService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: PivotLocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
717
716
|
SinglePopupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SinglePopupService });
|
|
718
717
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SinglePopupService, decorators: [{
|
|
719
718
|
type: Injectable
|
|
720
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
719
|
+
}], ctorParameters: function () { return [{ type: i1$2.PopupService }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: PivotLocalizationService }]; } });
|
|
721
720
|
|
|
722
721
|
/**
|
|
723
722
|
* @hidden
|
|
@@ -928,6 +927,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
928
927
|
type: Optional
|
|
929
928
|
}] }]; } });
|
|
930
929
|
|
|
930
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
931
931
|
/**
|
|
932
932
|
* @hidden
|
|
933
933
|
*
|
|
@@ -974,23 +974,26 @@ class ChipMenuItemComponent {
|
|
|
974
974
|
}
|
|
975
975
|
}
|
|
976
976
|
ChipMenuItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ChipMenuItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
977
|
-
ChipMenuItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ChipMenuItemComponent, selector: "kendo-pivot-chipmenu-item", inputs: { icon: "icon", text: "text", selected: "selected", expanded: "expanded" }, outputs: { itemClick: "itemClick", expand: "expand", collapse: "collapse" }, queries: [{ propertyName: "contentTemplate", first: true, predicate: ChipMenuItemContentTemplateDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
977
|
+
ChipMenuItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ChipMenuItemComponent, selector: "kendo-pivot-chipmenu-item", inputs: { icon: "icon", svgIcon: "svgIcon", text: "text", selected: "selected", expanded: "expanded" }, outputs: { itemClick: "itemClick", expand: "expand", collapse: "collapse" }, queries: [{ propertyName: "contentTemplate", first: true, predicate: ChipMenuItemContentTemplateDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
978
978
|
<div
|
|
979
979
|
class="k-columnmenu-item"
|
|
980
980
|
(click)="onClick($event)"
|
|
981
981
|
(keydown.enter)="onClick($event)"
|
|
982
982
|
[class.k-selected]="selected"
|
|
983
983
|
role="button"
|
|
984
|
-
[attr.aria-expanded]="expanded"
|
|
985
|
-
|
|
986
|
-
|
|
984
|
+
[attr.aria-expanded]="expanded"
|
|
985
|
+
>
|
|
986
|
+
<kendo-icon-wrapper
|
|
987
|
+
*ngIf="icon"
|
|
988
|
+
[name]="icon"
|
|
989
|
+
[svgIcon]="svgIcon"
|
|
990
|
+
></kendo-icon-wrapper>
|
|
987
991
|
{{ text }}
|
|
988
992
|
</div>
|
|
989
993
|
<div *ngIf="contentTemplate" [@state]="contentState" [style.overflow]="'hidden'" class="k-columnmenu-item-content">
|
|
990
|
-
<ng-container [ngTemplateOutlet]="contentTemplate.templateRef">
|
|
991
|
-
</ng-container>
|
|
994
|
+
<ng-container [ngTemplateOutlet]="contentTemplate.templateRef"></ng-container>
|
|
992
995
|
<div>
|
|
993
|
-
`, isInline: true,
|
|
996
|
+
`, isInline: true, components: [{ type: i2.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], animations: [
|
|
994
997
|
trigger('state', [
|
|
995
998
|
state('collapsed', style({ display: 'none' })),
|
|
996
999
|
state('expanded', style({ display: 'block' })),
|
|
@@ -1047,14 +1050,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1047
1050
|
(keydown.enter)="onClick($event)"
|
|
1048
1051
|
[class.k-selected]="selected"
|
|
1049
1052
|
role="button"
|
|
1050
|
-
[attr.aria-expanded]="expanded"
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
+
[attr.aria-expanded]="expanded"
|
|
1054
|
+
>
|
|
1055
|
+
<kendo-icon-wrapper
|
|
1056
|
+
*ngIf="icon"
|
|
1057
|
+
[name]="icon"
|
|
1058
|
+
[svgIcon]="svgIcon"
|
|
1059
|
+
></kendo-icon-wrapper>
|
|
1053
1060
|
{{ text }}
|
|
1054
1061
|
</div>
|
|
1055
1062
|
<div *ngIf="contentTemplate" [@state]="contentState" [style.overflow]="'hidden'" class="k-columnmenu-item-content">
|
|
1056
|
-
<ng-container [ngTemplateOutlet]="contentTemplate.templateRef">
|
|
1057
|
-
</ng-container>
|
|
1063
|
+
<ng-container [ngTemplateOutlet]="contentTemplate.templateRef"></ng-container>
|
|
1058
1064
|
<div>
|
|
1059
1065
|
`
|
|
1060
1066
|
}]
|
|
@@ -1066,6 +1072,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1066
1072
|
type: Output
|
|
1067
1073
|
}], icon: [{
|
|
1068
1074
|
type: Input
|
|
1075
|
+
}], svgIcon: [{
|
|
1076
|
+
type: Input
|
|
1069
1077
|
}], text: [{
|
|
1070
1078
|
type: Input
|
|
1071
1079
|
}], selected: [{
|
|
@@ -1089,6 +1097,8 @@ class ChipMenuSortComponent extends ChipMenuItemBase {
|
|
|
1089
1097
|
this.localization = localization;
|
|
1090
1098
|
this.renderer = renderer;
|
|
1091
1099
|
this.configuratorService = configuratorService;
|
|
1100
|
+
this.sortAscSVGIcon = sortAscSmallIcon;
|
|
1101
|
+
this.sortDescSVGIcon = sortDescSmallIcon;
|
|
1092
1102
|
}
|
|
1093
1103
|
get sortedAsc() {
|
|
1094
1104
|
const descriptor = this.descriptor;
|
|
@@ -1123,16 +1133,18 @@ ChipMenuSortComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1123
1133
|
<kendo-pivot-chipmenu-item
|
|
1124
1134
|
[text]="messageFor('fieldMenuSortAscendingItemLabel')"
|
|
1125
1135
|
icon="sort-asc-small"
|
|
1136
|
+
[svgIcon]="sortAscSVGIcon"
|
|
1126
1137
|
(itemClick)="toggleSort('asc')"
|
|
1127
1138
|
[selected]="sortedAsc">
|
|
1128
1139
|
</kendo-pivot-chipmenu-item>
|
|
1129
1140
|
<kendo-pivot-chipmenu-item
|
|
1130
1141
|
[text]="messageFor('fieldMenuSortDescendingItemLabel')"
|
|
1131
1142
|
icon="sort-desc-small"
|
|
1143
|
+
[svgIcon]="sortDescSVGIcon"
|
|
1132
1144
|
(itemClick)="toggleSort('desc')"
|
|
1133
1145
|
[selected]="sortedDesc">
|
|
1134
1146
|
</kendo-pivot-chipmenu-item>
|
|
1135
|
-
`, isInline: true, components: [{ type: ChipMenuItemComponent, selector: "kendo-pivot-chipmenu-item", inputs: ["icon", "text", "selected", "expanded"], outputs: ["itemClick", "expand", "collapse"] }] });
|
|
1147
|
+
`, isInline: true, components: [{ type: ChipMenuItemComponent, selector: "kendo-pivot-chipmenu-item", inputs: ["icon", "svgIcon", "text", "selected", "expanded"], outputs: ["itemClick", "expand", "collapse"] }] });
|
|
1136
1148
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ChipMenuSortComponent, decorators: [{
|
|
1137
1149
|
type: Component,
|
|
1138
1150
|
args: [{
|
|
@@ -1141,12 +1153,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1141
1153
|
<kendo-pivot-chipmenu-item
|
|
1142
1154
|
[text]="messageFor('fieldMenuSortAscendingItemLabel')"
|
|
1143
1155
|
icon="sort-asc-small"
|
|
1156
|
+
[svgIcon]="sortAscSVGIcon"
|
|
1144
1157
|
(itemClick)="toggleSort('asc')"
|
|
1145
1158
|
[selected]="sortedAsc">
|
|
1146
1159
|
</kendo-pivot-chipmenu-item>
|
|
1147
1160
|
<kendo-pivot-chipmenu-item
|
|
1148
1161
|
[text]="messageFor('fieldMenuSortDescendingItemLabel')"
|
|
1149
1162
|
icon="sort-desc-small"
|
|
1163
|
+
[svgIcon]="sortDescSVGIcon"
|
|
1150
1164
|
(itemClick)="toggleSort('desc')"
|
|
1151
1165
|
[selected]="sortedDesc">
|
|
1152
1166
|
</kendo-pivot-chipmenu-item>
|
|
@@ -1178,12 +1192,12 @@ class FilterMenuDropDownListDirective {
|
|
|
1178
1192
|
this.host.wrapper.nativeElement.removeEventListener('keydown', this.keydownHandler);
|
|
1179
1193
|
}
|
|
1180
1194
|
}
|
|
1181
|
-
FilterMenuDropDownListDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterMenuDropDownListDirective, deps: [{ token: i1$
|
|
1195
|
+
FilterMenuDropDownListDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterMenuDropDownListDirective, deps: [{ token: i1$3.DropDownListComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1182
1196
|
FilterMenuDropDownListDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: FilterMenuDropDownListDirective, selector: "[kendoFilterMenuDropDown]", inputs: { filterMenuDropDownLabel: "filterMenuDropDownLabel" }, ngImport: i0 });
|
|
1183
1197
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterMenuDropDownListDirective, decorators: [{
|
|
1184
1198
|
type: Directive,
|
|
1185
1199
|
args: [{ selector: '[kendoFilterMenuDropDown]' }]
|
|
1186
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
1200
|
+
}], ctorParameters: function () { return [{ type: i1$3.DropDownListComponent }]; }, propDecorators: { filterMenuDropDownLabel: [{
|
|
1187
1201
|
type: Input
|
|
1188
1202
|
}] } });
|
|
1189
1203
|
|
|
@@ -1251,7 +1265,7 @@ class StringFilterMenuComponent {
|
|
|
1251
1265
|
this.subscription.unsubscribe();
|
|
1252
1266
|
}
|
|
1253
1267
|
}
|
|
1254
|
-
StringFilterMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StringFilterMenuComponent, deps: [{ token: PivotLocalizationService }, { token: ConfiguratorService }, { token: i3
|
|
1268
|
+
StringFilterMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StringFilterMenuComponent, deps: [{ token: PivotLocalizationService }, { token: ConfiguratorService }, { token: i3.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
|
1255
1269
|
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: [{
|
|
1256
1270
|
provide: NG_VALUE_ACCESSOR,
|
|
1257
1271
|
useExisting: forwardRef(() => StringFilterMenuComponent),
|
|
@@ -1272,7 +1286,7 @@ StringFilterMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
1272
1286
|
formControlName="value"
|
|
1273
1287
|
/>
|
|
1274
1288
|
</ng-container>
|
|
1275
|
-
`, isInline: true, components: [{ type: i1$
|
|
1289
|
+
`, isInline: true, components: [{ type: i1$3.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: 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]" }] });
|
|
1276
1290
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StringFilterMenuComponent, decorators: [{
|
|
1277
1291
|
type: Component,
|
|
1278
1292
|
args: [{
|
|
@@ -1300,7 +1314,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1300
1314
|
</ng-container>
|
|
1301
1315
|
`
|
|
1302
1316
|
}]
|
|
1303
|
-
}], ctorParameters: function () { return [{ type: PivotLocalizationService }, { type: ConfiguratorService }, { type: i3
|
|
1317
|
+
}], ctorParameters: function () { return [{ type: PivotLocalizationService }, { type: ConfiguratorService }, { type: i3.FormBuilder }]; }, propDecorators: { chip: [{
|
|
1304
1318
|
type: Input
|
|
1305
1319
|
}], menuTabbingService: [{
|
|
1306
1320
|
type: Input
|
|
@@ -1403,7 +1417,7 @@ FilterMenuContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
1403
1417
|
</div>
|
|
1404
1418
|
</div>
|
|
1405
1419
|
</form>
|
|
1406
|
-
`, isInline: true, components: [{ type: 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: i3
|
|
1420
|
+
`, isInline: true, components: [{ type: 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: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i3.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
1407
1421
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterMenuContainerComponent, decorators: [{
|
|
1408
1422
|
type: Component,
|
|
1409
1423
|
args: [{
|
|
@@ -1482,6 +1496,7 @@ class ChipMenuFilterComponent extends ChipMenuItemBase {
|
|
|
1482
1496
|
this.expanded = false;
|
|
1483
1497
|
this.isLast = false;
|
|
1484
1498
|
this.actionsClass = 'k-columnmenu-actions';
|
|
1499
|
+
this.filterSVGIcon = filterIcon;
|
|
1485
1500
|
}
|
|
1486
1501
|
onCollapse() {
|
|
1487
1502
|
this.expanded = false;
|
|
@@ -1507,6 +1522,7 @@ ChipMenuFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
1507
1522
|
classs="k-widget k-expander"
|
|
1508
1523
|
[text]="messageFor('fieldMenuFilterItemLabel')"
|
|
1509
1524
|
icon="filter"
|
|
1525
|
+
[svgIcon]="filterSVGIcon"
|
|
1510
1526
|
[expanded]="expanded"
|
|
1511
1527
|
(collapse)="onCollapse()"
|
|
1512
1528
|
(expand)="onExpand()">
|
|
@@ -1522,7 +1538,7 @@ ChipMenuFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
1522
1538
|
</kendo-pivot-filter-menu-container>
|
|
1523
1539
|
</ng-template>
|
|
1524
1540
|
</kendo-pivot-chipmenu-item>
|
|
1525
|
-
`, isInline: true, components: [{ type: ChipMenuItemComponent, selector: "kendo-pivot-chipmenu-item", inputs: ["icon", "text", "selected", "expanded"], outputs: ["itemClick", "expand", "collapse"] }, { type: FilterMenuContainerComponent, selector: "kendo-pivot-filter-menu-container", inputs: ["chip", "isLast", "isExpanded", "menuTabbingService", "actionsClass"], outputs: ["close"] }], directives: [{ type: ChipMenuItemContentTemplateDirective, selector: "[kendoPivotChipMenuItemContentTemplate]" }] });
|
|
1541
|
+
`, isInline: true, components: [{ type: ChipMenuItemComponent, selector: "kendo-pivot-chipmenu-item", inputs: ["icon", "svgIcon", "text", "selected", "expanded"], outputs: ["itemClick", "expand", "collapse"] }, { type: FilterMenuContainerComponent, selector: "kendo-pivot-filter-menu-container", inputs: ["chip", "isLast", "isExpanded", "menuTabbingService", "actionsClass"], outputs: ["close"] }], directives: [{ type: ChipMenuItemContentTemplateDirective, selector: "[kendoPivotChipMenuItemContentTemplate]" }] });
|
|
1526
1542
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ChipMenuFilterComponent, decorators: [{
|
|
1527
1543
|
type: Component,
|
|
1528
1544
|
args: [{
|
|
@@ -1532,6 +1548,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1532
1548
|
classs="k-widget k-expander"
|
|
1533
1549
|
[text]="messageFor('fieldMenuFilterItemLabel')"
|
|
1534
1550
|
icon="filter"
|
|
1551
|
+
[svgIcon]="filterSVGIcon"
|
|
1535
1552
|
[expanded]="expanded"
|
|
1536
1553
|
(collapse)="onCollapse()"
|
|
1537
1554
|
(expand)="onExpand()">
|
|
@@ -1561,6 +1578,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1561
1578
|
type: Input
|
|
1562
1579
|
}] } });
|
|
1563
1580
|
|
|
1581
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
1564
1582
|
const POPUP_CLASS = 'k-column-menu';
|
|
1565
1583
|
/**
|
|
1566
1584
|
* @hidden
|
|
@@ -1573,20 +1591,22 @@ class ChipMenuComponent {
|
|
|
1573
1591
|
this.localization = localization;
|
|
1574
1592
|
this.service = service;
|
|
1575
1593
|
this.tabIndex = '-1';
|
|
1594
|
+
this.menuItemSVGIcon = moreVerticalIcon;
|
|
1576
1595
|
this.closeSubscription = service.closeMenu.subscribe(this.close.bind(this));
|
|
1577
1596
|
}
|
|
1578
1597
|
ngOnDestroy() {
|
|
1579
1598
|
this.close();
|
|
1580
1599
|
this.closeSubscription.unsubscribe();
|
|
1581
1600
|
}
|
|
1582
|
-
toggle(e,
|
|
1601
|
+
toggle(e, template) {
|
|
1583
1602
|
if (e) {
|
|
1584
1603
|
e.preventDefault();
|
|
1585
1604
|
e.stopImmediatePropagation();
|
|
1586
1605
|
}
|
|
1606
|
+
const anchor = this.anchor.nativeElement;
|
|
1587
1607
|
this.popupRef = this.popupService.open(anchor, template, this.popupRef, POPUP_CLASS);
|
|
1588
1608
|
if (!this.popupRef) {
|
|
1589
|
-
|
|
1609
|
+
anchor.focus();
|
|
1590
1610
|
}
|
|
1591
1611
|
}
|
|
1592
1612
|
close() {
|
|
@@ -1604,13 +1624,16 @@ ChipMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", versio
|
|
|
1604
1624
|
ChipMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ChipMenuComponent, selector: "kendo-pivot-chip-menu", inputs: { chip: "chip", tabIndex: "tabIndex" }, providers: [
|
|
1605
1625
|
ChipMenuService,
|
|
1606
1626
|
MenuTabbingService
|
|
1607
|
-
], viewQueries: [{ propertyName: "anchor", first: true, predicate: ["anchor"], descendants: true, static: true }], ngImport: i0, template: `
|
|
1608
|
-
<
|
|
1609
|
-
|
|
1610
|
-
|
|
1627
|
+
], viewQueries: [{ propertyName: "anchor", first: true, predicate: ["anchor"], descendants: true, read: ElementRef, static: true }], ngImport: i0, template: `
|
|
1628
|
+
<kendo-icon-wrapper
|
|
1629
|
+
#anchor
|
|
1630
|
+
name="more-vertical"
|
|
1631
|
+
[svgIcon]="menuItemSVGIcon"
|
|
1632
|
+
(click)="toggle($event, template)"
|
|
1611
1633
|
[tabindex]="tabIndex"
|
|
1612
|
-
[attr.title]="chipMenuTitle"
|
|
1613
|
-
|
|
1634
|
+
[attr.title]="chipMenuTitle"
|
|
1635
|
+
>
|
|
1636
|
+
</kendo-icon-wrapper>
|
|
1614
1637
|
<ng-template #template>
|
|
1615
1638
|
<kendo-pivot-chipmenu-container
|
|
1616
1639
|
(keydown.escape)="close()"
|
|
@@ -1630,7 +1653,7 @@ ChipMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
1630
1653
|
</kendo-pivot-chipmenu-filter>
|
|
1631
1654
|
</kendo-pivot-chipmenu-container>
|
|
1632
1655
|
</ng-template>
|
|
1633
|
-
`, isInline: true, components: [{ type: ChipMenuContainerComponent, selector: "kendo-pivot-chipmenu-container" }, { type: ChipMenuSortComponent, selector: "kendo-pivot-chipmenu-sort", inputs: ["chip"] }, { type: ChipMenuFilterComponent, selector: "kendo-pivot-chipmenu-filter", inputs: ["chip", "expanded", "isLast"], outputs: ["expand", "collapse"] }], directives: [{ type: ChipMenuItemDirective, selector: "[kendoPivotChipMenuItem]", inputs: ["kendoPivotChipMenuItem"] }] });
|
|
1656
|
+
`, isInline: true, components: [{ type: i2.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: ChipMenuContainerComponent, selector: "kendo-pivot-chipmenu-container" }, { type: ChipMenuSortComponent, selector: "kendo-pivot-chipmenu-sort", inputs: ["chip"] }, { type: ChipMenuFilterComponent, selector: "kendo-pivot-chipmenu-filter", inputs: ["chip", "expanded", "isLast"], outputs: ["expand", "collapse"] }], directives: [{ type: ChipMenuItemDirective, selector: "[kendoPivotChipMenuItem]", inputs: ["kendoPivotChipMenuItem"] }] });
|
|
1634
1657
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ChipMenuComponent, decorators: [{
|
|
1635
1658
|
type: Component,
|
|
1636
1659
|
args: [{
|
|
@@ -1640,12 +1663,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1640
1663
|
],
|
|
1641
1664
|
selector: 'kendo-pivot-chip-menu',
|
|
1642
1665
|
template: `
|
|
1643
|
-
<
|
|
1644
|
-
|
|
1645
|
-
|
|
1666
|
+
<kendo-icon-wrapper
|
|
1667
|
+
#anchor
|
|
1668
|
+
name="more-vertical"
|
|
1669
|
+
[svgIcon]="menuItemSVGIcon"
|
|
1670
|
+
(click)="toggle($event, template)"
|
|
1646
1671
|
[tabindex]="tabIndex"
|
|
1647
|
-
[attr.title]="chipMenuTitle"
|
|
1648
|
-
|
|
1672
|
+
[attr.title]="chipMenuTitle"
|
|
1673
|
+
>
|
|
1674
|
+
</kendo-icon-wrapper>
|
|
1649
1675
|
<ng-template #template>
|
|
1650
1676
|
<kendo-pivot-chipmenu-container
|
|
1651
1677
|
(keydown.escape)="close()"
|
|
@@ -1673,7 +1699,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1673
1699
|
type: Input
|
|
1674
1700
|
}], anchor: [{
|
|
1675
1701
|
type: ViewChild,
|
|
1676
|
-
args: ['anchor', { static: true }]
|
|
1702
|
+
args: ['anchor', { static: true, read: ElementRef }]
|
|
1677
1703
|
}] } });
|
|
1678
1704
|
|
|
1679
1705
|
/**
|
|
@@ -1924,14 +1950,14 @@ class DraggableChipDirective {
|
|
|
1924
1950
|
this.subs.unsubscribe();
|
|
1925
1951
|
}
|
|
1926
1952
|
}
|
|
1927
|
-
DraggableChipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DraggableChipDirective, deps: [{ token:
|
|
1953
|
+
DraggableChipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DraggableChipDirective, deps: [{ token: i1$1.DraggableDirective, optional: true }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: ConfiguratorService }, { token: DropCueService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1928
1954
|
DraggableChipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DraggableChipDirective, selector: "[kendoChipDraggable]", inputs: { item: "item" }, host: { properties: { "style.pointerEvents": "this.pointerEvents", "style.touch-action": "this.touchActions" } }, ngImport: i0 });
|
|
1929
1955
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DraggableChipDirective, decorators: [{
|
|
1930
1956
|
type: Directive,
|
|
1931
1957
|
args: [{
|
|
1932
1958
|
selector: '[kendoChipDraggable]'
|
|
1933
1959
|
}]
|
|
1934
|
-
}], ctorParameters: function () { return [{ type:
|
|
1960
|
+
}], ctorParameters: function () { return [{ type: i1$1.DraggableDirective, decorators: [{
|
|
1935
1961
|
type: Optional
|
|
1936
1962
|
}] }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: ConfiguratorService }, { type: DropCueService }, { type: i0.Renderer2 }]; }, propDecorators: { pointerEvents: [{
|
|
1937
1963
|
type: HostBinding,
|
|
@@ -2464,7 +2490,7 @@ PivotGridConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
|
2464
2490
|
<button kendoButton themeColor="primary" type="button" (click)="handleSubmit()">{{messageFor('configuratorApplyButtonText')}}</button>
|
|
2465
2491
|
</div>
|
|
2466
2492
|
</div>
|
|
2467
|
-
`, 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: 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: i6.CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: ["size", "rounded"] }, { type: i7.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: DropTargetDirective, selector: "[kendoDropTarget]", inputs: ["item", "axes"] }, { type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: DraggableChipDirective, selector: "[kendoChipDraggable]", inputs: ["item"] }, { type:
|
|
2493
|
+
`, 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: 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: i6.CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: ["size", "rounded"] }, { type: i7.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: DropTargetDirective, selector: "[kendoDropTarget]", inputs: ["item", "axes"] }, { type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: DraggableChipDirective, selector: "[kendoChipDraggable]", inputs: ["item"] }, { type: i1$1.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { type: ChipKeyboardNavigationDirective, selector: "[kendoChipKeyboardNavigation]", outputs: ["reorder"] }] });
|
|
2468
2494
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PivotGridConfiguratorComponent, decorators: [{
|
|
2469
2495
|
type: Component,
|
|
2470
2496
|
args: [{
|
|
@@ -2813,6 +2839,10 @@ class PivotGridComponent {
|
|
|
2813
2839
|
* @default false
|
|
2814
2840
|
*/
|
|
2815
2841
|
this.navigable = false;
|
|
2842
|
+
/**
|
|
2843
|
+
* @hidden
|
|
2844
|
+
*/
|
|
2845
|
+
this.gearSVGIcon = gearIcon;
|
|
2816
2846
|
this.resizeObservers = [];
|
|
2817
2847
|
this._loaderSettings = DEFAULT_LOADER_SETTINGS;
|
|
2818
2848
|
this.subs = new Subscription();
|
|
@@ -2994,7 +3024,7 @@ class PivotGridComponent {
|
|
|
2994
3024
|
}
|
|
2995
3025
|
}
|
|
2996
3026
|
}
|
|
2997
|
-
PivotGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PivotGridComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: PivotGridDataService }, { token: i1.LocalizationService }, { token: i0.Renderer2 }, { token:
|
|
3027
|
+
PivotGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PivotGridComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: PivotGridDataService }, { token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: i1$1.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2998
3028
|
PivotGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PivotGridComponent, selector: "kendo-pivotgrid", inputs: { loaderSettings: "loaderSettings", configurator: "configurator", columnHeadersWidth: "columnHeadersWidth", navigable: "navigable" }, host: { properties: { "class.k-d-flex": "this.hostClass", "class.k-pos-relative": "this.hostClass", "class.k-flex-row": "this.rightPositionClass", "class.k-flex-row-reverse": "this.leftPositionClass", "class.k-flex-column": "this.bottomPositionClass", "class.k-flex-column-reverse": "this.topPositionClass", "attr.dir": "this.dir" } }, providers: [
|
|
2999
3029
|
PivotGridDataService,
|
|
3000
3030
|
LocalizationService,
|
|
@@ -3139,10 +3169,10 @@ PivotGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
3139
3169
|
class="k-pivotgrid-configurator-button"
|
|
3140
3170
|
aria-hidden="true"
|
|
3141
3171
|
(click)="toggleConfigurator()">
|
|
3142
|
-
<span>{{messageFor('configuratorButtonText')}}<
|
|
3172
|
+
<span>{{messageFor('configuratorButtonText')}}<kendo-icon-wrapper name="gear" innerCssClass="k-color-inherit" [svgIcon]="gearSVGIcon"></kendo-icon-wrapper>
|
|
3143
3173
|
</span>
|
|
3144
3174
|
</div>
|
|
3145
|
-
`, isInline: true, components: [{ type: PivotGridTableComponent, selector: "kendo-pivotgrid-table", inputs: ["tableType", "colWidth"] }, { type: i5$1.LoaderComponent, selector: "kendo-loader", inputs: ["type", "themeColor", "size"] }, { type: PivotGridConfiguratorComponent, selector: "kendo-pivotgrid-configurator", inputs: ["orientation", "sort", "filter", "navigation"], outputs: ["close"] }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoPivotGridLocalizedMessages]" }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
3175
|
+
`, isInline: true, components: [{ type: PivotGridTableComponent, selector: "kendo-pivotgrid-table", inputs: ["tableType", "colWidth"] }, { type: i5$1.LoaderComponent, selector: "kendo-loader", inputs: ["type", "themeColor", "size"] }, { type: PivotGridConfiguratorComponent, selector: "kendo-pivotgrid-configurator", inputs: ["orientation", "sort", "filter", "navigation"], outputs: ["close"] }, { type: i2.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoPivotGridLocalizedMessages]" }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
3146
3176
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PivotGridComponent, decorators: [{
|
|
3147
3177
|
type: Component,
|
|
3148
3178
|
args: [{
|
|
@@ -3292,12 +3322,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
3292
3322
|
class="k-pivotgrid-configurator-button"
|
|
3293
3323
|
aria-hidden="true"
|
|
3294
3324
|
(click)="toggleConfigurator()">
|
|
3295
|
-
<span>{{messageFor('configuratorButtonText')}}<
|
|
3325
|
+
<span>{{messageFor('configuratorButtonText')}}<kendo-icon-wrapper name="gear" innerCssClass="k-color-inherit" [svgIcon]="gearSVGIcon"></kendo-icon-wrapper>
|
|
3296
3326
|
</span>
|
|
3297
3327
|
</div>
|
|
3298
3328
|
`
|
|
3299
3329
|
}]
|
|
3300
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: PivotGridDataService }, { type: i1.LocalizationService }, { type: i0.Renderer2 }, { type:
|
|
3330
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: PivotGridDataService }, { type: i1.LocalizationService }, { type: i0.Renderer2 }, { type: i1$1.ScrollbarWidthService }]; }, propDecorators: { hostClass: [{
|
|
3301
3331
|
type: HostBinding,
|
|
3302
3332
|
args: ['class.k-d-flex']
|
|
3303
3333
|
}, {
|
|
@@ -3785,6 +3815,7 @@ const MODULES = [
|
|
|
3785
3815
|
CommonModule,
|
|
3786
3816
|
DropDownsModule,
|
|
3787
3817
|
InputsModule,
|
|
3818
|
+
IconsModule,
|
|
3788
3819
|
ButtonsModule
|
|
3789
3820
|
];
|
|
3790
3821
|
/**
|
|
@@ -3796,13 +3827,16 @@ SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "1
|
|
|
3796
3827
|
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, imports: [CommonModule,
|
|
3797
3828
|
DropDownsModule,
|
|
3798
3829
|
InputsModule,
|
|
3830
|
+
IconsModule,
|
|
3799
3831
|
ButtonsModule], exports: [CommonModule,
|
|
3800
3832
|
DropDownsModule,
|
|
3801
3833
|
InputsModule,
|
|
3834
|
+
IconsModule,
|
|
3802
3835
|
ButtonsModule] });
|
|
3803
3836
|
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, imports: [[MODULES], CommonModule,
|
|
3804
3837
|
DropDownsModule,
|
|
3805
3838
|
InputsModule,
|
|
3839
|
+
IconsModule,
|
|
3806
3840
|
ButtonsModule] });
|
|
3807
3841
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, decorators: [{
|
|
3808
3842
|
type: NgModule,
|
|
@@ -3884,7 +3918,8 @@ const IMPORTED_MODULES = [
|
|
|
3884
3918
|
TreeViewModule,
|
|
3885
3919
|
DraggableModule,
|
|
3886
3920
|
ChipMenuModule,
|
|
3887
|
-
SharedModule
|
|
3921
|
+
SharedModule,
|
|
3922
|
+
IconsModule
|
|
3888
3923
|
];
|
|
3889
3924
|
const DECLARATIONS = [
|
|
3890
3925
|
PivotGridComponent,
|
|
@@ -3928,7 +3963,8 @@ PivotGridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
|
|
|
3928
3963
|
TreeViewModule,
|
|
3929
3964
|
DraggableModule,
|
|
3930
3965
|
ChipMenuModule,
|
|
3931
|
-
SharedModule
|
|
3966
|
+
SharedModule,
|
|
3967
|
+
IconsModule], exports: [PivotGridComponent,
|
|
3932
3968
|
PivotGridTableComponent,
|
|
3933
3969
|
PivotGridCellDirective,
|
|
3934
3970
|
PivotLocalBindingDirective,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-pivotgrid",
|
|
3
|
-
"version": "11.0.0-develop.
|
|
3
|
+
"version": "11.0.0-develop.109",
|
|
4
4
|
"description": "PivotGrid package for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -25,16 +25,17 @@
|
|
|
25
25
|
"@progress/kendo-drawing": "^1.16.3",
|
|
26
26
|
"@progress/kendo-licensing": "^1.0.2",
|
|
27
27
|
"@progress/kendo-pivotgrid-common": "0.5.1",
|
|
28
|
-
"@progress/kendo-angular-buttons": "11.0.0-develop.
|
|
29
|
-
"@progress/kendo-angular-common": "11.0.0-develop.
|
|
30
|
-
"@progress/kendo-angular-dropdowns": "11.0.0-develop.
|
|
31
|
-
"@progress/kendo-angular-indicators": "11.0.0-develop.
|
|
32
|
-
"@progress/kendo-angular-inputs": "11.0.0-develop.
|
|
33
|
-
"@progress/kendo-angular-intl": "11.0.0-develop.
|
|
34
|
-
"@progress/kendo-angular-l10n": "11.0.0-develop.
|
|
35
|
-
"@progress/kendo-angular-popup": "11.0.0-develop.
|
|
36
|
-
"@progress/kendo-angular-schematics": "11.0.0-develop.
|
|
37
|
-
"@progress/kendo-angular-
|
|
28
|
+
"@progress/kendo-angular-buttons": "11.0.0-develop.109",
|
|
29
|
+
"@progress/kendo-angular-common": "11.0.0-develop.109",
|
|
30
|
+
"@progress/kendo-angular-dropdowns": "11.0.0-develop.109",
|
|
31
|
+
"@progress/kendo-angular-indicators": "11.0.0-develop.109",
|
|
32
|
+
"@progress/kendo-angular-inputs": "11.0.0-develop.109",
|
|
33
|
+
"@progress/kendo-angular-intl": "11.0.0-develop.109",
|
|
34
|
+
"@progress/kendo-angular-l10n": "11.0.0-develop.109",
|
|
35
|
+
"@progress/kendo-angular-popup": "11.0.0-develop.109",
|
|
36
|
+
"@progress/kendo-angular-schematics": "11.0.0-develop.109",
|
|
37
|
+
"@progress/kendo-angular-icons": "11.0.0-develop.109",
|
|
38
|
+
"@progress/kendo-angular-treeview": "11.0.0-develop.109",
|
|
38
39
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
39
40
|
},
|
|
40
41
|
"dependencies": {
|
package/pivotgrid.component.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
|
10
10
|
import { ConfiguratorSettings } from './models/configurator-settings';
|
|
11
11
|
import { ConfiguratorNavigation } from '@progress/kendo-pivotgrid-common';
|
|
12
12
|
import { PivotDataRowItem } from './models/data-row-item';
|
|
13
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
13
14
|
import * as i0 from "@angular/core";
|
|
14
15
|
/**
|
|
15
16
|
* Represents the Kendo UI PivotGrid component for Angular.
|
|
@@ -66,6 +67,10 @@ export declare class PivotGridComponent implements AfterViewInit, AfterContentIn
|
|
|
66
67
|
* Holds the displayed aggregated PivotGrid values.
|
|
67
68
|
*/
|
|
68
69
|
get aggregateData(): PivotDataRowItem[];
|
|
70
|
+
/**
|
|
71
|
+
* @hidden
|
|
72
|
+
*/
|
|
73
|
+
gearSVGIcon: SVGIcon;
|
|
69
74
|
loading: boolean;
|
|
70
75
|
showConfigurator: boolean;
|
|
71
76
|
configuratorNavigation: ConfiguratorNavigation;
|