@progress/kendo-angular-pivotgrid 24.0.0-develop.2 → 24.0.0-develop.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE.txt +2599 -172
- package/configurator/chip-menu/chip-menu-filter.component.d.ts +3 -6
- package/configurator/chip-menu/filtering/filter-menu-container.component.d.ts +5 -7
- package/fesm2022/progress-kendo-angular-pivotgrid.mjs +56 -72
- package/package-metadata.mjs +2 -2
- package/package.json +14 -14
- package/schematics/ngAdd/index.js +2 -2
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { EventEmitter
|
|
5
|
+
import { EventEmitter } from '@angular/core';
|
|
6
6
|
import { AxisDescriptor } from '@progress/kendo-pivotgrid-common';
|
|
7
7
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
8
8
|
import { PivotLocalizationService } from '../../localization/pivot-localization.service';
|
|
@@ -14,7 +14,6 @@ import * as i0 from "@angular/core";
|
|
|
14
14
|
*/
|
|
15
15
|
export declare class ChipMenuFilterComponent extends ChipMenuItemBase {
|
|
16
16
|
localization: PivotLocalizationService;
|
|
17
|
-
private hostElement;
|
|
18
17
|
/**
|
|
19
18
|
* Fires when the content is expanded.
|
|
20
19
|
*/
|
|
@@ -31,11 +30,9 @@ export declare class ChipMenuFilterComponent extends ChipMenuItemBase {
|
|
|
31
30
|
* Specifies if the content is expanded.
|
|
32
31
|
*/
|
|
33
32
|
expanded: boolean;
|
|
34
|
-
isLast: boolean;
|
|
35
33
|
actionsClass: string;
|
|
36
34
|
filterSVGIcon: SVGIcon;
|
|
37
|
-
constructor(localization: PivotLocalizationService
|
|
38
|
-
ngAfterViewInit(): void;
|
|
35
|
+
constructor(localization: PivotLocalizationService);
|
|
39
36
|
onCollapse(): void;
|
|
40
37
|
onExpand(): void;
|
|
41
38
|
/**
|
|
@@ -43,5 +40,5 @@ export declare class ChipMenuFilterComponent extends ChipMenuItemBase {
|
|
|
43
40
|
*/
|
|
44
41
|
messageFor(localizationToken: string): string;
|
|
45
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChipMenuFilterComponent, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChipMenuFilterComponent, "kendo-pivot-chipmenu-filter", never, { "chip": { "alias": "chip"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; };
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChipMenuFilterComponent, "kendo-pivot-chipmenu-filter", never, { "chip": { "alias": "chip"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; }, { "expand": "expand"; "collapse": "collapse"; }, never, never, true, never>;
|
|
47
44
|
}
|
|
@@ -20,7 +20,6 @@ export declare class FilterMenuContainerComponent implements OnDestroy {
|
|
|
20
20
|
* The field with which the filter is associated.
|
|
21
21
|
*/
|
|
22
22
|
chip: AxisDescriptor;
|
|
23
|
-
isLast: boolean;
|
|
24
23
|
isExpanded: boolean;
|
|
25
24
|
menuTabbingService: MenuTabbingService;
|
|
26
25
|
actionsClass: string;
|
|
@@ -28,19 +27,18 @@ export declare class FilterMenuContainerComponent implements OnDestroy {
|
|
|
28
27
|
operator: any;
|
|
29
28
|
value: any;
|
|
30
29
|
};
|
|
31
|
-
private
|
|
32
|
-
private filterButton;
|
|
30
|
+
private filterMenuComponent;
|
|
33
31
|
constructor(localization: PivotLocalizationService, cd: ChangeDetectorRef, menuTabbingService: MenuTabbingService, configuratorService: ConfiguratorService);
|
|
34
|
-
ngAfterViewChecked(): void;
|
|
35
32
|
ngOnDestroy(): void;
|
|
36
33
|
get disabled(): boolean;
|
|
34
|
+
get clearDisabled(): boolean;
|
|
37
35
|
submit(): boolean;
|
|
38
|
-
reset(): void;
|
|
39
|
-
|
|
36
|
+
reset(e?: Event): void;
|
|
37
|
+
onClearAction(e: Event): void;
|
|
40
38
|
/**
|
|
41
39
|
* Returns the localized message for a given token
|
|
42
40
|
*/
|
|
43
41
|
messageFor(localizationToken: string): string;
|
|
44
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterMenuContainerComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilterMenuContainerComponent, "kendo-pivot-filter-menu-container", never, { "chip": { "alias": "chip"; "required": false; }; "
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterMenuContainerComponent, "kendo-pivot-filter-menu-container", never, { "chip": { "alias": "chip"; "required": false; }; "isExpanded": { "alias": "isExpanded"; "required": false; }; "menuTabbingService": { "alias": "menuTabbingService"; "required": false; }; "actionsClass": { "alias": "actionsClass"; "required": false; }; }, { "close": "close"; }, never, never, true, never>;
|
|
46
44
|
}
|
|
@@ -845,6 +845,7 @@ const isNoValueOperator = operator => (operator === "isnull"
|
|
|
845
845
|
|| operator === "isempty"
|
|
846
846
|
|| operator === "isnotempty");
|
|
847
847
|
const validFilter = ({ value, operator }) => !isNullOrEmptyString(value) || isNoValueOperator(operator);
|
|
848
|
+
const hasFieldValue = value => value !== null && value !== undefined && `${value}`.length > 0;
|
|
848
849
|
/**
|
|
849
850
|
* @hidden
|
|
850
851
|
*/
|
|
@@ -857,31 +858,28 @@ class FilterMenuContainerComponent {
|
|
|
857
858
|
* The field with which the filter is associated.
|
|
858
859
|
*/
|
|
859
860
|
chip;
|
|
860
|
-
isLast;
|
|
861
861
|
isExpanded;
|
|
862
862
|
menuTabbingService;
|
|
863
863
|
actionsClass = 'k-action-buttons k-button-group';
|
|
864
864
|
filterDescriptorValue;
|
|
865
|
-
|
|
866
|
-
filterButton;
|
|
865
|
+
filterMenuComponent;
|
|
867
866
|
constructor(localization, cd, menuTabbingService, configuratorService) {
|
|
868
867
|
this.localization = localization;
|
|
869
868
|
this.cd = cd;
|
|
870
869
|
this.configuratorService = configuratorService;
|
|
871
870
|
this.menuTabbingService = menuTabbingService;
|
|
872
871
|
}
|
|
873
|
-
ngAfterViewChecked() {
|
|
874
|
-
if (this.isLast && this.isExpanded) {
|
|
875
|
-
this.menuTabbingService.lastFocusable = this.disabled ?
|
|
876
|
-
this.resetButton.nativeElement : this.filterButton.nativeElement;
|
|
877
|
-
}
|
|
878
|
-
}
|
|
879
872
|
ngOnDestroy() {
|
|
880
873
|
this.menuTabbingService.lastFocusable = null;
|
|
881
874
|
}
|
|
882
875
|
get disabled() {
|
|
883
876
|
return !(this.filterDescriptorValue && validFilter(this.filterDescriptorValue));
|
|
884
877
|
}
|
|
878
|
+
get clearDisabled() {
|
|
879
|
+
const hasPersistedFilter = !!this.configuratorService.state.filter?.some(descriptor => descriptor.field === this.chip.name.toString());
|
|
880
|
+
const hasPendingValue = !!this.filterDescriptorValue && (hasFieldValue(this.filterDescriptorValue.operator) || hasFieldValue(this.filterDescriptorValue.value));
|
|
881
|
+
return !hasPersistedFilter && !hasPendingValue;
|
|
882
|
+
}
|
|
885
883
|
submit() {
|
|
886
884
|
const filterDescriptor = {
|
|
887
885
|
field: this.chip.name.toString(),
|
|
@@ -897,21 +895,26 @@ class FilterMenuContainerComponent {
|
|
|
897
895
|
this.close.emit();
|
|
898
896
|
return false;
|
|
899
897
|
}
|
|
900
|
-
reset() {
|
|
901
|
-
|
|
902
|
-
this.
|
|
898
|
+
reset(e) {
|
|
899
|
+
e?.preventDefault();
|
|
900
|
+
if (this.clearDisabled) {
|
|
901
|
+
return;
|
|
902
|
+
}
|
|
903
|
+
const currentFilters = this.configuratorService.state.filter || [];
|
|
904
|
+
const filters = currentFilters.filter(descriptor => descriptor.field !== this.chip.name.toString());
|
|
905
|
+
this.filterMenuComponent?.filterFormGroup.setValue({ operator: '', value: '' });
|
|
906
|
+
this.filterDescriptorValue = { operator: '', value: '' };
|
|
907
|
+
if (filters.length !== currentFilters.length) {
|
|
908
|
+
this.configuratorService.parseConfiguratorState({ type: PIVOT_CONFIGURATOR_ACTION.setFilter, payload: filters });
|
|
909
|
+
}
|
|
903
910
|
this.close.emit();
|
|
904
911
|
}
|
|
905
|
-
|
|
906
|
-
if (this.
|
|
907
|
-
|
|
908
|
-
if (buttonType === 'reset') {
|
|
909
|
-
this.disabled ? this.menuTabbingService.firstFocusable.focus() : this.filterButton.nativeElement.focus();
|
|
910
|
-
}
|
|
911
|
-
else {
|
|
912
|
-
this.menuTabbingService.firstFocusable.focus();
|
|
913
|
-
}
|
|
912
|
+
onClearAction(e) {
|
|
913
|
+
if (!this.clearDisabled) {
|
|
914
|
+
return;
|
|
914
915
|
}
|
|
916
|
+
e.preventDefault();
|
|
917
|
+
e.stopPropagation();
|
|
915
918
|
}
|
|
916
919
|
/**
|
|
917
920
|
* Returns the localized message for a given token
|
|
@@ -920,10 +923,10 @@ class FilterMenuContainerComponent {
|
|
|
920
923
|
return this.localization.get(localizationToken);
|
|
921
924
|
}
|
|
922
925
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: FilterMenuContainerComponent, deps: [{ token: PivotLocalizationService }, { token: i0.ChangeDetectorRef }, { token: MenuTabbingService }, { token: ConfiguratorService }], target: i0.ɵɵFactoryTarget.Component });
|
|
923
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: FilterMenuContainerComponent, isStandalone: true, selector: "kendo-pivot-filter-menu-container", inputs: { chip: "chip",
|
|
926
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: FilterMenuContainerComponent, isStandalone: true, selector: "kendo-pivot-filter-menu-container", inputs: { chip: "chip", isExpanded: "isExpanded", menuTabbingService: "menuTabbingService", actionsClass: "actionsClass" }, outputs: { close: "close" }, providers: [
|
|
924
927
|
MenuTabbingService
|
|
925
|
-
], viewQueries: [{ propertyName: "
|
|
926
|
-
<form (submit)="submit()" (reset)="reset()"
|
|
928
|
+
], viewQueries: [{ propertyName: "filterMenuComponent", first: true, predicate: StringFilterMenuComponent, descendants: true }], ngImport: i0, template: `
|
|
929
|
+
<form (submit)="submit()" (reset)="reset($event)"
|
|
927
930
|
class="k-filter-menu k-group k-reset k-state-border-up">
|
|
928
931
|
<div class="k-filter-menu-container">
|
|
929
932
|
<kendo-pivot-string-filter-menu
|
|
@@ -935,20 +938,24 @@ class FilterMenuContainerComponent {
|
|
|
935
938
|
</kendo-pivot-string-filter-menu>
|
|
936
939
|
<div [ngClass]="actionsClass">
|
|
937
940
|
<button
|
|
938
|
-
#resetButton
|
|
939
941
|
type="reset"
|
|
940
942
|
kendoButton
|
|
941
|
-
|
|
942
|
-
|
|
943
|
+
[attr.aria-disabled]="clearDisabled ? 'true' : null"
|
|
944
|
+
[class.k-disabled]="clearDisabled"
|
|
945
|
+
(click)="onClearAction($event)"
|
|
946
|
+
(keydown.enter)="onClearAction($event)"
|
|
947
|
+
(keydown.space)="onClearAction($event)"
|
|
948
|
+
>{{messageFor('filterClearButton')}}</button>
|
|
949
|
+
<button
|
|
943
950
|
type="submit"
|
|
944
951
|
[disabled]="disabled"
|
|
945
952
|
kendoButton
|
|
946
953
|
themeColor="primary"
|
|
947
|
-
|
|
954
|
+
>{{messageFor('filterFilterButton')}}</button>
|
|
948
955
|
</div>
|
|
949
956
|
</div>
|
|
950
957
|
</form>
|
|
951
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3.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", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"
|
|
958
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3.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", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
952
959
|
}
|
|
953
960
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: FilterMenuContainerComponent, decorators: [{
|
|
954
961
|
type: Component,
|
|
@@ -958,7 +965,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
958
965
|
],
|
|
959
966
|
selector: 'kendo-pivot-filter-menu-container',
|
|
960
967
|
template: `
|
|
961
|
-
<form (submit)="submit()" (reset)="reset()"
|
|
968
|
+
<form (submit)="submit()" (reset)="reset($event)"
|
|
962
969
|
class="k-filter-menu k-group k-reset k-state-border-up">
|
|
963
970
|
<div class="k-filter-menu-container">
|
|
964
971
|
<kendo-pivot-string-filter-menu
|
|
@@ -970,16 +977,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
970
977
|
</kendo-pivot-string-filter-menu>
|
|
971
978
|
<div [ngClass]="actionsClass">
|
|
972
979
|
<button
|
|
973
|
-
#resetButton
|
|
974
980
|
type="reset"
|
|
975
981
|
kendoButton
|
|
976
|
-
|
|
977
|
-
|
|
982
|
+
[attr.aria-disabled]="clearDisabled ? 'true' : null"
|
|
983
|
+
[class.k-disabled]="clearDisabled"
|
|
984
|
+
(click)="onClearAction($event)"
|
|
985
|
+
(keydown.enter)="onClearAction($event)"
|
|
986
|
+
(keydown.space)="onClearAction($event)"
|
|
987
|
+
>{{messageFor('filterClearButton')}}</button>
|
|
988
|
+
<button
|
|
978
989
|
type="submit"
|
|
979
990
|
[disabled]="disabled"
|
|
980
991
|
kendoButton
|
|
981
992
|
themeColor="primary"
|
|
982
|
-
|
|
993
|
+
>{{messageFor('filterFilterButton')}}</button>
|
|
983
994
|
</div>
|
|
984
995
|
</div>
|
|
985
996
|
</form>
|
|
@@ -991,20 +1002,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
991
1002
|
type: Output
|
|
992
1003
|
}], chip: [{
|
|
993
1004
|
type: Input
|
|
994
|
-
}], isLast: [{
|
|
995
|
-
type: Input
|
|
996
1005
|
}], isExpanded: [{
|
|
997
1006
|
type: Input
|
|
998
1007
|
}], menuTabbingService: [{
|
|
999
1008
|
type: Input
|
|
1000
1009
|
}], actionsClass: [{
|
|
1001
1010
|
type: Input
|
|
1002
|
-
}],
|
|
1003
|
-
type: ViewChild,
|
|
1004
|
-
args: ['resetButton']
|
|
1005
|
-
}], filterButton: [{
|
|
1011
|
+
}], filterMenuComponent: [{
|
|
1006
1012
|
type: ViewChild,
|
|
1007
|
-
args: [
|
|
1013
|
+
args: [StringFilterMenuComponent]
|
|
1008
1014
|
}] } });
|
|
1009
1015
|
|
|
1010
1016
|
/**
|
|
@@ -1233,7 +1239,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
1233
1239
|
*/
|
|
1234
1240
|
class ChipMenuFilterComponent extends ChipMenuItemBase {
|
|
1235
1241
|
localization;
|
|
1236
|
-
hostElement;
|
|
1237
1242
|
/**
|
|
1238
1243
|
* Fires when the content is expanded.
|
|
1239
1244
|
*/
|
|
@@ -1250,33 +1255,18 @@ class ChipMenuFilterComponent extends ChipMenuItemBase {
|
|
|
1250
1255
|
* Specifies if the content is expanded.
|
|
1251
1256
|
*/
|
|
1252
1257
|
expanded = false;
|
|
1253
|
-
isLast = false;
|
|
1254
1258
|
actionsClass = 'k-columnmenu-actions';
|
|
1255
1259
|
filterSVGIcon = filterIcon;
|
|
1256
|
-
constructor(localization
|
|
1260
|
+
constructor(localization) {
|
|
1257
1261
|
super();
|
|
1258
1262
|
this.localization = localization;
|
|
1259
|
-
this.hostElement = hostElement;
|
|
1260
|
-
}
|
|
1261
|
-
ngAfterViewInit() {
|
|
1262
|
-
if (this.isLast) {
|
|
1263
|
-
this.service.menuTabbingService.lastFocusable = this.expanded ?
|
|
1264
|
-
this.hostElement.nativeElement.querySelector('.k-button:not([disabled])') :
|
|
1265
|
-
this.hostElement.nativeElement.querySelector('.k-columnmenu-item');
|
|
1266
|
-
}
|
|
1267
1263
|
}
|
|
1268
1264
|
onCollapse() {
|
|
1269
1265
|
this.expanded = false;
|
|
1270
|
-
if (this.isLast) {
|
|
1271
|
-
this.service.menuTabbingService.lastFocusable = this.hostElement.nativeElement.querySelector('.k-columnmenu-item');
|
|
1272
|
-
}
|
|
1273
1266
|
this.collapse.emit();
|
|
1274
1267
|
}
|
|
1275
1268
|
onExpand() {
|
|
1276
1269
|
this.expanded = true;
|
|
1277
|
-
if (this.isLast) {
|
|
1278
|
-
this.service.menuTabbingService.lastFocusable = this.hostElement.nativeElement.querySelector('.k-button:not([disabled])');
|
|
1279
|
-
}
|
|
1280
1270
|
this.expand.emit();
|
|
1281
1271
|
}
|
|
1282
1272
|
/**
|
|
@@ -1285,8 +1275,8 @@ class ChipMenuFilterComponent extends ChipMenuItemBase {
|
|
|
1285
1275
|
messageFor(localizationToken) {
|
|
1286
1276
|
return this.localization.get(localizationToken);
|
|
1287
1277
|
}
|
|
1288
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ChipMenuFilterComponent, deps: [{ token: PivotLocalizationService }
|
|
1289
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: ChipMenuFilterComponent, isStandalone: true, selector: "kendo-pivot-chipmenu-filter", inputs: { chip: "chip", expanded: "expanded"
|
|
1278
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ChipMenuFilterComponent, deps: [{ token: PivotLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1279
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: ChipMenuFilterComponent, isStandalone: true, selector: "kendo-pivot-chipmenu-filter", inputs: { chip: "chip", expanded: "expanded" }, outputs: { expand: "expand", collapse: "collapse" }, usesInheritance: true, ngImport: i0, template: `
|
|
1290
1280
|
<kendo-pivot-chipmenu-item
|
|
1291
1281
|
classs="k-widget k-expander"
|
|
1292
1282
|
[text]="messageFor('fieldMenuFilterItemLabel')"
|
|
@@ -1300,14 +1290,13 @@ class ChipMenuFilterComponent extends ChipMenuItemBase {
|
|
|
1300
1290
|
[chip]="chip"
|
|
1301
1291
|
[menuTabbingService]="service.menuTabbingService"
|
|
1302
1292
|
[actionsClass]="actionsClass"
|
|
1303
|
-
[isLast]="isLast"
|
|
1304
1293
|
[isExpanded]="expanded"
|
|
1305
1294
|
(keydown.shift.tab)="$event.stopImmediatePropagation()"
|
|
1306
1295
|
(close)="close()">
|
|
1307
1296
|
</kendo-pivot-filter-menu-container>
|
|
1308
1297
|
</ng-template>
|
|
1309
1298
|
</kendo-pivot-chipmenu-item>
|
|
1310
|
-
`, isInline: true, dependencies: [{ kind: "component", type: ChipMenuItemComponent, selector: "kendo-pivot-chipmenu-item", inputs: ["icon", "svgIcon", "text", "selected", "expanded", "disabled"], outputs: ["itemClick", "expand", "collapse"] }, { kind: "directive", type: ChipMenuItemContentTemplateDirective, selector: "[kendoPivotChipMenuItemContentTemplate]" }, { kind: "component", type: FilterMenuContainerComponent, selector: "kendo-pivot-filter-menu-container", inputs: ["chip", "
|
|
1299
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ChipMenuItemComponent, selector: "kendo-pivot-chipmenu-item", inputs: ["icon", "svgIcon", "text", "selected", "expanded", "disabled"], outputs: ["itemClick", "expand", "collapse"] }, { kind: "directive", type: ChipMenuItemContentTemplateDirective, selector: "[kendoPivotChipMenuItemContentTemplate]" }, { kind: "component", type: FilterMenuContainerComponent, selector: "kendo-pivot-filter-menu-container", inputs: ["chip", "isExpanded", "menuTabbingService", "actionsClass"], outputs: ["close"] }] });
|
|
1311
1300
|
}
|
|
1312
1301
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ChipMenuFilterComponent, decorators: [{
|
|
1313
1302
|
type: Component,
|
|
@@ -1327,7 +1316,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
1327
1316
|
[chip]="chip"
|
|
1328
1317
|
[menuTabbingService]="service.menuTabbingService"
|
|
1329
1318
|
[actionsClass]="actionsClass"
|
|
1330
|
-
[isLast]="isLast"
|
|
1331
1319
|
[isExpanded]="expanded"
|
|
1332
1320
|
(keydown.shift.tab)="$event.stopImmediatePropagation()"
|
|
1333
1321
|
(close)="close()">
|
|
@@ -1338,7 +1326,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
1338
1326
|
standalone: true,
|
|
1339
1327
|
imports: [ChipMenuItemComponent, ChipMenuItemContentTemplateDirective, FilterMenuContainerComponent]
|
|
1340
1328
|
}]
|
|
1341
|
-
}], ctorParameters: () => [{ type: PivotLocalizationService }
|
|
1329
|
+
}], ctorParameters: () => [{ type: PivotLocalizationService }], propDecorators: { expand: [{
|
|
1342
1330
|
type: Output
|
|
1343
1331
|
}], collapse: [{
|
|
1344
1332
|
type: Output
|
|
@@ -1346,8 +1334,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
1346
1334
|
type: Input
|
|
1347
1335
|
}], expanded: [{
|
|
1348
1336
|
type: Input
|
|
1349
|
-
}], isLast: [{
|
|
1350
|
-
type: Input
|
|
1351
1337
|
}] } });
|
|
1352
1338
|
|
|
1353
1339
|
/**
|
|
@@ -1823,7 +1809,6 @@ class ChipMenuComponent {
|
|
|
1823
1809
|
<kendo-pivot-chipmenu-filter
|
|
1824
1810
|
#filterItem
|
|
1825
1811
|
[chip]="chip"
|
|
1826
|
-
[isLast]="true"
|
|
1827
1812
|
[kendoPivotChipMenuItem]="filterItem"
|
|
1828
1813
|
[service]="service">
|
|
1829
1814
|
</kendo-pivot-chipmenu-filter>
|
|
@@ -1836,7 +1821,7 @@ class ChipMenuComponent {
|
|
|
1836
1821
|
[service]="service"></kendo-pivot-chipmenu-reorder>
|
|
1837
1822
|
</kendo-pivot-chipmenu-container>
|
|
1838
1823
|
</ng-template>
|
|
1839
|
-
`, isInline: true, dependencies: [{ kind: "component", type: ChipMenuContainerComponent, selector: "kendo-pivot-chipmenu-container" }, { 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"
|
|
1824
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ChipMenuContainerComponent, selector: "kendo-pivot-chipmenu-container" }, { 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"], outputs: ["expand", "collapse"] }, { kind: "component", type: ChipMenuReorderComponent, selector: "kendo-pivot-chipmenu-reorder", inputs: ["chip"] }] });
|
|
1840
1825
|
}
|
|
1841
1826
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ChipMenuComponent, decorators: [{
|
|
1842
1827
|
type: Component,
|
|
@@ -1862,7 +1847,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
1862
1847
|
<kendo-pivot-chipmenu-filter
|
|
1863
1848
|
#filterItem
|
|
1864
1849
|
[chip]="chip"
|
|
1865
|
-
[isLast]="true"
|
|
1866
1850
|
[kendoPivotChipMenuItem]="filterItem"
|
|
1867
1851
|
[service]="service">
|
|
1868
1852
|
</kendo-pivot-chipmenu-filter>
|
|
@@ -2785,7 +2769,7 @@ class PivotGridConfiguratorComponent {
|
|
|
2785
2769
|
<button kendoButton themeColor="primary" type="button" (click)="handleSubmit()" [disabled]="isApplyDisabled">{{messageFor('configuratorApplyButtonText')}}</button>
|
|
2786
2770
|
</div>
|
|
2787
2771
|
</div>
|
|
2788
|
-
`, 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: 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: ["orientation", "selection", "size", "role", "navigable"], outputs: ["selectedChange", "remove"] }, { 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", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"
|
|
2772
|
+
`, 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: 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: ["orientation", "selection", "size", "role", "navigable"], outputs: ["selectedChange", "remove"] }, { 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", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
2789
2773
|
}
|
|
2790
2774
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: PivotGridConfiguratorComponent, decorators: [{
|
|
2791
2775
|
type: Component,
|
|
@@ -3884,8 +3868,8 @@ const packageMetadata = {
|
|
|
3884
3868
|
productName: 'Kendo UI for Angular',
|
|
3885
3869
|
productCode: 'KENDOUIANGULAR',
|
|
3886
3870
|
productCodes: ['KENDOUIANGULAR'],
|
|
3887
|
-
publishDate:
|
|
3888
|
-
version: '24.0.0-develop.
|
|
3871
|
+
publishDate: 1778161158,
|
|
3872
|
+
version: '24.0.0-develop.21',
|
|
3889
3873
|
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'
|
|
3890
3874
|
};
|
|
3891
3875
|
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "24.0.0-develop.
|
|
10
|
+
"publishDate": 1778161158,
|
|
11
|
+
"version": "24.0.0-develop.21",
|
|
12
12
|
"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"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-pivotgrid",
|
|
3
|
-
"version": "24.0.0-develop.
|
|
3
|
+
"version": "24.0.0-develop.21",
|
|
4
4
|
"description": "PivotGrid package for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"package": {
|
|
19
19
|
"productName": "Kendo UI for Angular",
|
|
20
20
|
"productCode": "KENDOUIANGULAR",
|
|
21
|
-
"publishDate":
|
|
21
|
+
"publishDate": 1778161158,
|
|
22
22
|
"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"
|
|
23
23
|
}
|
|
24
24
|
},
|
|
@@ -29,23 +29,23 @@
|
|
|
29
29
|
"@angular/forms": "19 - 21",
|
|
30
30
|
"@angular/platform-browser": "19 - 21",
|
|
31
31
|
"@progress/kendo-data-query": "^1.7.3",
|
|
32
|
-
"@progress/kendo-drawing": "^1.
|
|
32
|
+
"@progress/kendo-drawing": "^1.25.0",
|
|
33
33
|
"@progress/kendo-licensing": "^1.11.0",
|
|
34
|
-
"@progress/kendo-angular-buttons": "24.0.0-develop.
|
|
35
|
-
"@progress/kendo-angular-common": "24.0.0-develop.
|
|
36
|
-
"@progress/kendo-angular-dropdowns": "24.0.0-develop.
|
|
37
|
-
"@progress/kendo-angular-indicators": "24.0.0-develop.
|
|
38
|
-
"@progress/kendo-angular-inputs": "24.0.0-develop.
|
|
39
|
-
"@progress/kendo-angular-intl": "24.0.0-develop.
|
|
40
|
-
"@progress/kendo-angular-l10n": "24.0.0-develop.
|
|
41
|
-
"@progress/kendo-angular-popup": "24.0.0-develop.
|
|
42
|
-
"@progress/kendo-angular-icons": "24.0.0-develop.
|
|
43
|
-
"@progress/kendo-angular-treeview": "24.0.0-develop.
|
|
34
|
+
"@progress/kendo-angular-buttons": "24.0.0-develop.21",
|
|
35
|
+
"@progress/kendo-angular-common": "24.0.0-develop.21",
|
|
36
|
+
"@progress/kendo-angular-dropdowns": "24.0.0-develop.21",
|
|
37
|
+
"@progress/kendo-angular-indicators": "24.0.0-develop.21",
|
|
38
|
+
"@progress/kendo-angular-inputs": "24.0.0-develop.21",
|
|
39
|
+
"@progress/kendo-angular-intl": "24.0.0-develop.21",
|
|
40
|
+
"@progress/kendo-angular-l10n": "24.0.0-develop.21",
|
|
41
|
+
"@progress/kendo-angular-popup": "24.0.0-develop.21",
|
|
42
|
+
"@progress/kendo-angular-icons": "24.0.0-develop.21",
|
|
43
|
+
"@progress/kendo-angular-treeview": "24.0.0-develop.21",
|
|
44
44
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"tslib": "^2.3.1",
|
|
48
|
-
"@progress/kendo-angular-schematics": "24.0.0-develop.
|
|
48
|
+
"@progress/kendo-angular-schematics": "24.0.0-develop.21",
|
|
49
49
|
"@progress/kendo-pivotgrid-common": "0.6.3"
|
|
50
50
|
},
|
|
51
51
|
"schematics": "./schematics/collection.json",
|
|
@@ -11,11 +11,11 @@ function default_1(options) {
|
|
|
11
11
|
// Additional dependencies to install.
|
|
12
12
|
// See https://github.com/telerik/kendo-schematics/issues/28
|
|
13
13
|
peerDependencies: {
|
|
14
|
-
'@progress/kendo-angular-dialog': '24.0.0-develop.
|
|
14
|
+
'@progress/kendo-angular-dialog': '24.0.0-develop.21',
|
|
15
15
|
// peer dep of the icons
|
|
16
16
|
'@progress/kendo-svg-icons': '^4.0.0',
|
|
17
17
|
// peer dep of the dropdowns
|
|
18
|
-
'@progress/kendo-angular-navigation': '24.0.0-develop.
|
|
18
|
+
'@progress/kendo-angular-navigation': '24.0.0-develop.21'
|
|
19
19
|
} });
|
|
20
20
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
21
21
|
}
|