@progress/kendo-angular-pivotgrid 17.0.0-develop.9 → 17.0.1-develop.1

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.
Files changed (90) hide show
  1. package/README.md +37 -15
  2. package/configurator/chip-menu/chip-menu-filter.component.d.ts +1 -1
  3. package/configurator/chip-menu/chip-menu-item-base.d.ts +1 -1
  4. package/configurator/chip-menu/chip-menu-item.component.d.ts +1 -1
  5. package/configurator/chip-menu/chip-menu-item.directive.d.ts +1 -1
  6. package/configurator/chip-menu/chip-menu-reorder.component.d.ts +1 -1
  7. package/configurator/chip-menu/chip-menu-sort.component.d.ts +1 -1
  8. package/configurator/chip-menu/chip-menu.component.d.ts +1 -1
  9. package/configurator/chip-menu/filtering/filter-menu-container.component.d.ts +1 -1
  10. package/configurator/chip-menu/filtering/filter-menu-dropdownlist.directive.d.ts +1 -1
  11. package/configurator/chip-menu/filtering/string-filter-menu.component.d.ts +3 -3
  12. package/configurator/configurator.component.d.ts +1 -1
  13. package/configurator/draggable.directive.d.ts +4 -5
  14. package/configurator/drop-target.directive.d.ts +1 -1
  15. package/data-binding/base-binding-directive.d.ts +1 -1
  16. package/data-binding/local-binding.directive.d.ts +1 -1
  17. package/data-binding/olap-binding.directive.d.ts +1 -1
  18. package/{esm2020 → esm2022}/configurator/chip-kb-nav.directive.mjs +8 -5
  19. package/{esm2020 → esm2022}/configurator/chip-menu/chip-menu-container.component.mjs +8 -5
  20. package/{esm2020 → esm2022}/configurator/chip-menu/chip-menu-filter.component.mjs +25 -19
  21. package/{esm2020 → esm2022}/configurator/chip-menu/chip-menu-item-base.mjs +9 -6
  22. package/{esm2020 → esm2022}/configurator/chip-menu/chip-menu-item-content-template.directive.mjs +4 -3
  23. package/{esm2020 → esm2022}/configurator/chip-menu/chip-menu-item.component.mjs +65 -40
  24. package/{esm2020 → esm2022}/configurator/chip-menu/chip-menu-item.directive.mjs +35 -28
  25. package/{esm2020 → esm2022}/configurator/chip-menu/chip-menu-reorder.component.mjs +27 -19
  26. package/{esm2020 → esm2022}/configurator/chip-menu/chip-menu-sort.component.mjs +10 -6
  27. package/{esm2020 → esm2022}/configurator/chip-menu/chip-menu.component.mjs +22 -10
  28. package/{esm2020 → esm2022}/configurator/chip-menu/chip-menu.service.mjs +12 -10
  29. package/{esm2020 → esm2022}/configurator/chip-menu/filtering/filter-menu-container.component.mjs +21 -8
  30. package/{esm2020 → esm2022}/configurator/chip-menu/filtering/filter-menu-dropdownlist.directive.mjs +11 -9
  31. package/{esm2020 → esm2022}/configurator/chip-menu/filtering/menu-tabbing.service.mjs +7 -6
  32. package/{esm2020 → esm2022}/configurator/chip-menu/filtering/string-filter-menu.component.mjs +25 -15
  33. package/{esm2020 → esm2022}/configurator/chip-menu/single-popup.service.mjs +21 -10
  34. package/{esm2020 → esm2022}/configurator/configurator.component.mjs +58 -39
  35. package/{esm2020 → esm2022}/configurator/configurator.service.mjs +12 -5
  36. package/{esm2020 → esm2022}/configurator/draggable.directive.mjs +22 -15
  37. package/{esm2020 → esm2022}/configurator/drop-cue.service.mjs +4 -3
  38. package/{esm2020 → esm2022}/configurator/drop-target.directive.mjs +15 -4
  39. package/{esm2020 → esm2022}/data-binding/base-binding-directive.mjs +43 -35
  40. package/{esm2020 → esm2022}/data-binding/local-binding.directive.mjs +17 -5
  41. package/{esm2020 → esm2022}/data-binding/olap-binding.directive.mjs +16 -4
  42. package/{esm2020 → esm2022}/data-binding/pivotgrid-data.service.mjs +25 -14
  43. package/{esm2020 → esm2022}/localization/custom-messages.component.mjs +9 -8
  44. package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +9 -8
  45. package/esm2022/localization/messages.mjs +284 -0
  46. package/{esm2020 → esm2022}/localization/pivot-localization.service.mjs +4 -3
  47. package/{esm2020 → esm2022}/models/configuration-change-event.mjs +20 -0
  48. package/{esm2020 → esm2022}/models/configurator-settings.mjs +5 -0
  49. package/{esm2020 → esm2022}/models/expanded-change-event.mjs +12 -0
  50. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  51. package/{esm2020 → esm2022}/pivotgrid.component.mjs +98 -73
  52. package/{esm2020 → esm2022}/pivotgrid.module.mjs +13 -14
  53. package/{esm2020 → esm2022}/rendering/pivotgrid-cell.directive.mjs +30 -19
  54. package/{esm2020 → esm2022}/rendering/pivotgrid-table.component.mjs +66 -48
  55. package/{esm2020 → esm2022}/rendering/templates/pivotgrid-cell-template.directive.mjs +4 -3
  56. package/{esm2020 → esm2022}/rendering/templates/pivotgrid-column-header-cell-template.directive.mjs +4 -3
  57. package/{esm2020 → esm2022}/rendering/templates/pivotgrid-row-header-cell-template.directive.mjs +4 -3
  58. package/{esm2020 → esm2022}/rendering/templates/pivotgrid-value-cell-template.directive.mjs +4 -3
  59. package/{esm2020 → esm2022}/virtual/scroll.service.mjs +5 -6
  60. package/{esm2020 → esm2022}/virtual/scrollable-container.mjs +57 -43
  61. package/{fesm2020 → fesm2022}/progress-kendo-angular-pivotgrid.mjs +1067 -560
  62. package/localization/messages.d.ts +1 -1
  63. package/models/configurator-chipmenu-reorder-target.d.ts +1 -1
  64. package/models/configurator-orientation.d.ts +1 -1
  65. package/models/configurator-position.d.ts +1 -1
  66. package/models/drop-section.d.ts +1 -1
  67. package/models/drop-target.d.ts +1 -1
  68. package/models/expanded-state-action.d.ts +2 -2
  69. package/models/virtualization-settings.d.ts +1 -1
  70. package/package.json +22 -28
  71. package/pivotgrid.component.d.ts +1 -1
  72. package/pivotgrid.module.d.ts +1 -2
  73. package/rendering/pivotgrid-cell.directive.d.ts +1 -1
  74. package/rendering/pivotgrid-table.component.d.ts +1 -1
  75. package/schematics/ngAdd/index.js +3 -3
  76. package/esm2020/localization/messages.mjs +0 -87
  77. package/fesm2015/progress-kendo-angular-pivotgrid.mjs +0 -4928
  78. /package/{esm2020 → esm2022}/directives.mjs +0 -0
  79. /package/{esm2020 → esm2022}/index.mjs +0 -0
  80. /package/{esm2020 → esm2022}/models/configurator-chipmenu-reorder-target.mjs +0 -0
  81. /package/{esm2020 → esm2022}/models/configurator-orientation.mjs +0 -0
  82. /package/{esm2020 → esm2022}/models/configurator-position.mjs +0 -0
  83. /package/{esm2020 → esm2022}/models/data-row-item.mjs +0 -0
  84. /package/{esm2020 → esm2022}/models/drop-section.mjs +0 -0
  85. /package/{esm2020 → esm2022}/models/drop-target.mjs +0 -0
  86. /package/{esm2020 → esm2022}/models/expanded-state-action.mjs +0 -0
  87. /package/{esm2020 → esm2022}/models/loader-settings.mjs +0 -0
  88. /package/{esm2020 → esm2022}/models/virtualization-settings.mjs +0 -0
  89. /package/{esm2020 → esm2022}/progress-kendo-angular-pivotgrid.mjs +0 -0
  90. /package/{esm2020 → esm2022}/util.mjs +0 -0
@@ -11,19 +11,20 @@ import * as i1 from "@progress/kendo-angular-l10n";
11
11
  * @hidden
12
12
  */
13
13
  export class LocalizedMessagesDirective extends PivotGridMessages {
14
+ service;
14
15
  constructor(service) {
15
16
  super();
16
17
  this.service = service;
17
18
  }
19
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
20
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoPivotGridLocalizedMessages]", providers: [
21
+ {
22
+ provide: PivotGridMessages,
23
+ useExisting: forwardRef(() => LocalizedMessagesDirective)
24
+ }
25
+ ], usesInheritance: true, ngImport: i0 });
18
26
  }
19
- LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
20
- LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoPivotGridLocalizedMessages]", providers: [
21
- {
22
- provide: PivotGridMessages,
23
- useExisting: forwardRef(() => LocalizedMessagesDirective)
24
- }
25
- ], usesInheritance: true, ngImport: i0 });
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
27
28
  type: Directive,
28
29
  args: [{
29
30
  providers: [
@@ -0,0 +1,284 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { Directive, Input } from '@angular/core';
6
+ import { ComponentMessages } from '@progress/kendo-angular-l10n';
7
+ import * as i0 from "@angular/core";
8
+ /**
9
+ * @hidden
10
+ */
11
+ export class PivotGridMessages extends ComponentMessages {
12
+ /**
13
+ * The text content of the filter item in the column and row fields menu.
14
+ */
15
+ fieldMenuFilterItemLabel;
16
+ /**
17
+ * The text content of the sort ascending item in the column and row fields menu.
18
+ */
19
+ fieldMenuSortAscendingItemLabel;
20
+ /**
21
+ * The text content of the sort descending item in the column and row fields menu.
22
+ */
23
+ fieldMenuSortDescendingItemLabel;
24
+ /**
25
+ * The label of the filter input.
26
+ *
27
+ * The filter input label consists of a two-part message - the name(s) of the fields and a localizable string.
28
+ * For fields named '[Geography][City]', the default label will be 'Geography City Filter'.
29
+ *
30
+ * To allow reordering the field name(s) and the localizable part, the filterInputLabel accepts a string with a
31
+ * placeholder for the fields - e.g. 'filter for {fields}'. The '{fields}' placeholder will be replaced
32
+ * internally with the current field(s) name(s), and the resulting label will be rendered as 'filter for Geography City'.
33
+ *
34
+ * @example
35
+ *
36
+ * ```ts-no-run
37
+ * <kendo-pivotgrid>
38
+ * <kendo-pivotgrid-messages
39
+ * filterInputLabel="filter for {fields}"
40
+ * >
41
+ * </kendo-pivotgrid-messages>
42
+ * </kendo-pivotgrid>
43
+ * ```
44
+ */
45
+ filterInputLabel;
46
+ /**
47
+ * The label of the filter operators DropDownList.
48
+ *
49
+ * The label consists of a two-part message - the name(s) of the fields and a localizable string.
50
+ * For fields named '[Geography][City]', the default label will be 'Geography City Filter Operators'.
51
+ *
52
+ * To allow reordering the field name(s) and the localizable part, the filterMenuOperatorsDropDownLabel accepts a string with a
53
+ * placeholder for the fields - e.g. 'filter operators for {fields}'. The '{fields}' placeholder will be replaced
54
+ * internally with the current field(s) name(s), and the resulting label will be rendered as 'filter operators for Geography City'.
55
+ *
56
+ * @example
57
+ *
58
+ * ```ts-no-run
59
+ * <kendo-pivotgrid>
60
+ * <kendo-pivotgrid-messages
61
+ * filterMenuOperatorsDropDownLabel="filter operators for {fields}"
62
+ * >
63
+ * </kendo-pivotgrid-messages>
64
+ * </kendo-pivotgrid>
65
+ * ```
66
+ */
67
+ filterOperatorsDropDownLabel;
68
+ /**
69
+ * The text of the `Equal` (**Is equal to**) filter operator.
70
+ */
71
+ filterEqOperator;
72
+ /**
73
+ * The text of the `NotEqual` (**Is not equal to**) filter operator.
74
+ */
75
+ filterNotEqOperator;
76
+ /**
77
+ * The text of the `IsNull` (**Is null**) filter operator.
78
+ */
79
+ filterIsNullOperator;
80
+ /**
81
+ * The text of the `IsNotNull` (**Is not null**) filter operator.
82
+ */
83
+ filterIsNotNullOperator;
84
+ /**
85
+ * The text of the `IsEmpty` (**Is empty**) filter operator.
86
+ */
87
+ filterIsEmptyOperator;
88
+ /**
89
+ * The text of the `IsNotEmpty` (**Is not empty**) filter operator.
90
+ */
91
+ filterIsNotEmptyOperator;
92
+ /**
93
+ * The text of the `StartsWith` (**Starts with**) filter operator.
94
+ */
95
+ filterStartsWithOperator;
96
+ /**
97
+ * The text of the `Contains` (**Contains**) filter operator.
98
+ */
99
+ filterContainsOperator;
100
+ /**
101
+ * The text of the `DoesNotContain` (**Does not contain**) filter operator.
102
+ */
103
+ filterNotContainsOperator;
104
+ /**
105
+ * The text of the `EndsWith` (**Ends with**) string filter operator.
106
+ */
107
+ filterEndsWithOperator;
108
+ /**
109
+ * The text of the **Filter** button.
110
+ */
111
+ filterFilterButton;
112
+ /**
113
+ * The text of the **Clear filter** button.
114
+ */
115
+ filterClearButton;
116
+ /**
117
+ * The loading text.
118
+ *
119
+ * > The `loading` property is part of the accessibility support of the PivotGrid.
120
+ * Its value is detectable by screen readers and is not otherwise visible.
121
+ */
122
+ loading;
123
+ /**
124
+ * The value of the aria-label attribute placed on the PivotGrid focusable empty cell element.
125
+ */
126
+ emptyCellLabel;
127
+ /**
128
+ * The text content of the button that opens and closes the PivotGrid configurator.
129
+ */
130
+ configuratorButtonText;
131
+ /**
132
+ * The text content of the PivotGrid configurator title element.
133
+ */
134
+ configuratorHeaderText;
135
+ /**
136
+ * The text content of the PivotGrid configurator fields section title element.
137
+ */
138
+ configuratorFieldsText;
139
+ /**
140
+ * The text content of the PivotGrid configurator columns section title element.
141
+ */
142
+ configuratorColumnsText;
143
+ /**
144
+ * The text content of the PivotGrid configurator rows section title element.
145
+ */
146
+ configuratorRowsText;
147
+ /**
148
+ * The text content of the PivotGrid configurator values section title element.
149
+ */
150
+ configuratorValuesText;
151
+ /**
152
+ * The text content of the PivotGrid configurator Cancel button.
153
+ */
154
+ configuratorCancelButtonText;
155
+ /**
156
+ * The text content of the PivotGrid configurator Apply button.
157
+ */
158
+ configuratorApplyButtonText;
159
+ /**
160
+ * The text content of the PivotGrid configurator empty rows container.
161
+ */
162
+ configuratorEmptyRowsText;
163
+ /**
164
+ * The text content of the PivotGrid configurator empty columns container.
165
+ */
166
+ configuratorEmptyColumnsText;
167
+ /**
168
+ * The text content of the PivotGrid configurator empty measures container.
169
+ */
170
+ configuratorEmptyMeasuresText;
171
+ /**
172
+ * The text content of the Move to Columns item in the column and row fields menu.
173
+ */
174
+ fieldMenuMoveToColumnsItem;
175
+ /**
176
+ * The text content of the Move to Rows item in the column and row fields menu.
177
+ */
178
+ fieldMenuMoveToRowsItem;
179
+ /**
180
+ * The text content of the Move as previous item in the column, row, and value fields menu.
181
+ */
182
+ fieldMenuMovePreviousItem;
183
+ /**
184
+ * The text content of the Move as next item in the column, row, and value fields menu.
185
+ */
186
+ fieldMenuMoveNextItem;
187
+ /**
188
+ * The title of the chip menu icon.
189
+ *
190
+ * The title consists of a two-part message - the name of the chip and a localizable string.
191
+ * For a field named 'Product', the default title will be 'Product Field Menu'.
192
+ *
193
+ * To allow reordering the field name and the localizable part, the chipMenu accepts a string with a
194
+ * placeholder for the chip name - e.g. 'chip for {fieldName}'. The '{fieldName}' placeholder will be replaced
195
+ * internally with the current chip name, and the resulting title will be rendered as 'Product Field Menu'.
196
+ *
197
+ * @example
198
+ *
199
+ * ```ts-no-run
200
+ * <kendo-pivotgrid>
201
+ * <kendo-pivotgrid-messages
202
+ * chipMenuIconTitle="'{fieldName} Field Menu'"
203
+ * >
204
+ * </kendo-pivotgrid-messages>
205
+ * </kendo-pivotgrid>
206
+ * ```
207
+ */
208
+ chipMenuIconTitle;
209
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PivotGridMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
210
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: PivotGridMessages, inputs: { fieldMenuFilterItemLabel: "fieldMenuFilterItemLabel", fieldMenuSortAscendingItemLabel: "fieldMenuSortAscendingItemLabel", fieldMenuSortDescendingItemLabel: "fieldMenuSortDescendingItemLabel", filterInputLabel: "filterInputLabel", filterOperatorsDropDownLabel: "filterOperatorsDropDownLabel", filterEqOperator: "filterEqOperator", filterNotEqOperator: "filterNotEqOperator", filterIsNullOperator: "filterIsNullOperator", filterIsNotNullOperator: "filterIsNotNullOperator", filterIsEmptyOperator: "filterIsEmptyOperator", filterIsNotEmptyOperator: "filterIsNotEmptyOperator", filterStartsWithOperator: "filterStartsWithOperator", filterContainsOperator: "filterContainsOperator", filterNotContainsOperator: "filterNotContainsOperator", filterEndsWithOperator: "filterEndsWithOperator", filterFilterButton: "filterFilterButton", filterClearButton: "filterClearButton", loading: "loading", emptyCellLabel: "emptyCellLabel", configuratorButtonText: "configuratorButtonText", configuratorHeaderText: "configuratorHeaderText", configuratorFieldsText: "configuratorFieldsText", configuratorColumnsText: "configuratorColumnsText", configuratorRowsText: "configuratorRowsText", configuratorValuesText: "configuratorValuesText", configuratorCancelButtonText: "configuratorCancelButtonText", configuratorApplyButtonText: "configuratorApplyButtonText", configuratorEmptyRowsText: "configuratorEmptyRowsText", configuratorEmptyColumnsText: "configuratorEmptyColumnsText", configuratorEmptyMeasuresText: "configuratorEmptyMeasuresText", fieldMenuMoveToColumnsItem: "fieldMenuMoveToColumnsItem", fieldMenuMoveToRowsItem: "fieldMenuMoveToRowsItem", fieldMenuMovePreviousItem: "fieldMenuMovePreviousItem", fieldMenuMoveNextItem: "fieldMenuMoveNextItem", chipMenuIconTitle: "chipMenuIconTitle" }, usesInheritance: true, ngImport: i0 });
211
+ }
212
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PivotGridMessages, decorators: [{
213
+ type: Directive
214
+ }], propDecorators: { fieldMenuFilterItemLabel: [{
215
+ type: Input
216
+ }], fieldMenuSortAscendingItemLabel: [{
217
+ type: Input
218
+ }], fieldMenuSortDescendingItemLabel: [{
219
+ type: Input
220
+ }], filterInputLabel: [{
221
+ type: Input
222
+ }], filterOperatorsDropDownLabel: [{
223
+ type: Input
224
+ }], filterEqOperator: [{
225
+ type: Input
226
+ }], filterNotEqOperator: [{
227
+ type: Input
228
+ }], filterIsNullOperator: [{
229
+ type: Input
230
+ }], filterIsNotNullOperator: [{
231
+ type: Input
232
+ }], filterIsEmptyOperator: [{
233
+ type: Input
234
+ }], filterIsNotEmptyOperator: [{
235
+ type: Input
236
+ }], filterStartsWithOperator: [{
237
+ type: Input
238
+ }], filterContainsOperator: [{
239
+ type: Input
240
+ }], filterNotContainsOperator: [{
241
+ type: Input
242
+ }], filterEndsWithOperator: [{
243
+ type: Input
244
+ }], filterFilterButton: [{
245
+ type: Input
246
+ }], filterClearButton: [{
247
+ type: Input
248
+ }], loading: [{
249
+ type: Input
250
+ }], emptyCellLabel: [{
251
+ type: Input
252
+ }], configuratorButtonText: [{
253
+ type: Input
254
+ }], configuratorHeaderText: [{
255
+ type: Input
256
+ }], configuratorFieldsText: [{
257
+ type: Input
258
+ }], configuratorColumnsText: [{
259
+ type: Input
260
+ }], configuratorRowsText: [{
261
+ type: Input
262
+ }], configuratorValuesText: [{
263
+ type: Input
264
+ }], configuratorCancelButtonText: [{
265
+ type: Input
266
+ }], configuratorApplyButtonText: [{
267
+ type: Input
268
+ }], configuratorEmptyRowsText: [{
269
+ type: Input
270
+ }], configuratorEmptyColumnsText: [{
271
+ type: Input
272
+ }], configuratorEmptyMeasuresText: [{
273
+ type: Input
274
+ }], fieldMenuMoveToColumnsItem: [{
275
+ type: Input
276
+ }], fieldMenuMoveToRowsItem: [{
277
+ type: Input
278
+ }], fieldMenuMovePreviousItem: [{
279
+ type: Input
280
+ }], fieldMenuMoveNextItem: [{
281
+ type: Input
282
+ }], chipMenuIconTitle: [{
283
+ type: Input
284
+ }] } });
@@ -12,6 +12,7 @@ import * as i1 from "@progress/kendo-angular-l10n";
12
12
  * Needed to keep the Pivot's LocalizationService reference and be able to use it inside the ChipList component.
13
13
  */
14
14
  export class PivotLocalizationService {
15
+ localization;
15
16
  constructor(localization) {
16
17
  this.localization = localization;
17
18
  }
@@ -21,9 +22,9 @@ export class PivotLocalizationService {
21
22
  get rtl() {
22
23
  return this.localization.rtl;
23
24
  }
25
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PivotLocalizationService, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
26
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PivotLocalizationService });
24
27
  }
25
- PivotLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PivotLocalizationService, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
26
- PivotLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PivotLocalizationService });
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PivotLocalizationService, decorators: [{
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PivotLocalizationService, decorators: [{
28
29
  type: Injectable
29
30
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
@@ -7,6 +7,26 @@ import { PreventableEvent } from "@progress/kendo-angular-common";
7
7
  * The event data for the ConfigurationChangeEvent
8
8
  */
9
9
  export class ConfigurationChangeEvent extends PreventableEvent {
10
+ /**
11
+ * The current row axes configuration, resulting from the end user interaction.
12
+ */
13
+ rowAxes;
14
+ /**
15
+ * The current column axes configuration, resulting from the end user interaction.
16
+ */
17
+ columnAxes;
18
+ /**
19
+ * The measure axes configuration.
20
+ */
21
+ measureAxes;
22
+ /**
23
+ * The sorting configuration.
24
+ */
25
+ sort;
26
+ /**
27
+ * The filtering configuration.
28
+ */
29
+ filter;
10
30
  /**
11
31
  * @hidden
12
32
  */
@@ -6,6 +6,11 @@
6
6
  * @hidden
7
7
  */
8
8
  export class PivotGridState {
9
+ columnAxes;
10
+ rowAxes;
11
+ measureAxes;
12
+ sort;
13
+ filter;
9
14
  constructor(columnAxes, rowAxes, measureAxes, sort, filter) {
10
15
  this.columnAxes = columnAxes;
11
16
  this.rowAxes = rowAxes;
@@ -7,6 +7,18 @@ import { PreventableEvent } from "@progress/kendo-angular-common";
7
7
  * The event data for the ExpandChangeEvent
8
8
  */
9
9
  export class ExpandChangeEvent extends PreventableEvent {
10
+ /**
11
+ * The current row axes configuration, resulting from the end user interaction.
12
+ */
13
+ rowAxes;
14
+ /**
15
+ * The current column axes configuration, resulting from the end user interaction.
16
+ */
17
+ columnAxes;
18
+ /**
19
+ * The measure axes configuration.
20
+ */
21
+ measureAxes;
10
22
  /**
11
23
  * @hidden
12
24
  */
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-pivotgrid',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1729174739,
13
- version: '17.0.0-develop.9',
12
+ publishDate: 1731429917,
13
+ version: '17.0.1-develop.1',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
15
15
  };
@@ -44,66 +44,13 @@ const DEFAULT_CONFIGURATOR_SETTINGS = {
44
44
  * Represents the Kendo UI PivotGrid component for Angular.
45
45
  */
46
46
  export class PivotGridComponent {
47
- constructor(hostEl, zone, dataService, localization, renderer, _scrollbarWidthService, scrollService) {
48
- this.hostEl = hostEl;
49
- this.zone = zone;
50
- this.dataService = dataService;
51
- this.localization = localization;
52
- this.renderer = renderer;
53
- this.scrollService = scrollService;
54
- this.hostClass = true;
55
- /**
56
- * Specify the width of the column header and data cells. Value is treated as pixels [(see example)]({% slug appearance_pivotgrid %}#toc-column-headers-width).
57
- *
58
- * @default 200
59
- */
60
- this.columnHeadersWidth = 200;
61
- /**
62
- * If set to true, the user can use dedicated shortcuts to interact with the PivotGrid. By default, navigation is disabled.
63
- *
64
- * @default false
65
- */
66
- this.navigable = false;
67
- /**
68
- * @hidden
69
- */
70
- this.gearSVGIcon = gearIcon;
71
- this.resizeObservers = [];
72
- this._loaderSettings = DEFAULT_LOADER_SETTINGS;
73
- this._virtualScrolling = normalizeVirtualSettings(false);
74
- this.subs = new Subscription();
75
- this.rtl = false;
76
- this.resizeContainer = (axis, element) => {
77
- const isRows = axis === 'Rows';
78
- const table = this.table.nativeElement;
79
- const size = isRows ? 'offsetHeight' : 'offsetWidth';
80
- table.style[`gridTemplate${axis}`] = '';
81
- table.style[`gridTemplate${axis}`] = `${element[size]}px 1fr`;
82
- };
83
- this.handleScroll = (event) => {
84
- if (event.target === this.valuesTable.nativeElement) {
85
- syncScroll(event.target, [
86
- this.rowHeadersTable.nativeElement,
87
- this.colHeadersTable.nativeElement
88
- ]);
89
- }
90
- else if (event.target.closest('.k-pivotgrid-row-headers')) {
91
- event.preventDefault();
92
- syncWheel(event, [this.valuesTable.nativeElement, this.rowHeadersTable.nativeElement], 'scrollTop', 'Y');
93
- }
94
- else if (event.target.closest('.k-pivotgrid-column-headers')) {
95
- event.preventDefault();
96
- syncWheel(event, [this.valuesTable.nativeElement, this.colHeadersTable.nativeElement], 'scrollLeft', 'X');
97
- }
98
- };
99
- validatePackage(packageMetadata);
100
- this.subs.add(this.localization.changes.subscribe(({ rtl }) => {
101
- this.rtl = rtl;
102
- this.direction = this.rtl ? 'rtl' : 'ltr';
103
- }));
104
- dataService.wrapper = this.hostEl.nativeElement;
105
- this.scrollService.pivotGrid = this;
106
- }
47
+ hostEl;
48
+ zone;
49
+ dataService;
50
+ localization;
51
+ renderer;
52
+ scrollService;
53
+ hostClass = true;
107
54
  get rightPositionClass() {
108
55
  return !this.configuratorSettings || this.configuratorSettings.position === 'right';
109
56
  }
@@ -119,6 +66,15 @@ export class PivotGridComponent {
119
66
  get dir() {
120
67
  return this.direction;
121
68
  }
69
+ colHeadersTable;
70
+ rowHeadersTable;
71
+ valuesTable;
72
+ table;
73
+ configuratorWrapper;
74
+ customCellTemplate;
75
+ valueCellTemplate;
76
+ rowHeaderCellTemplate;
77
+ columnHeaderCellTemplate;
122
78
  /**
123
79
  * Specify the type, size and color of the PivotGrid's loader.
124
80
  *
@@ -139,6 +95,10 @@ export class PivotGridComponent {
139
95
  get loadingText() {
140
96
  return this.localization.get('loading');
141
97
  }
98
+ /**
99
+ * Specifies whether the axes configurator should be displayed.
100
+ */
101
+ configurator;
142
102
  /**
143
103
  * Sets the virtualization options of the component. By default the virtual scrolling functionality is disabled.
144
104
  *
@@ -154,12 +114,54 @@ export class PivotGridComponent {
154
114
  get configuratorSettings() {
155
115
  return this.configurator && Object.assign({}, DEFAULT_CONFIGURATOR_SETTINGS, this.configurator);
156
116
  }
117
+ /**
118
+ * Specify the width of the column header and data cells. Value is treated as pixels [(see example)]({% slug appearance_pivotgrid %}#toc-column-headers-width).
119
+ *
120
+ * @default 200
121
+ */
122
+ columnHeadersWidth = 200;
123
+ /**
124
+ * If set to true, the user can use dedicated shortcuts to interact with the PivotGrid. By default, navigation is disabled.
125
+ *
126
+ * @default false
127
+ */
128
+ navigable = false;
157
129
  /**
158
130
  * Holds the displayed aggregated PivotGrid values.
159
131
  */
160
132
  get aggregateData() {
161
133
  return cloneArray(this.dataService.aggregateData);
162
134
  }
135
+ /**
136
+ * @hidden
137
+ */
138
+ gearSVGIcon = gearIcon;
139
+ loading;
140
+ showConfigurator;
141
+ configuratorNavigation;
142
+ resizeObservers = [];
143
+ _loaderSettings = DEFAULT_LOADER_SETTINGS;
144
+ _virtualScrolling = normalizeVirtualSettings(false);
145
+ subs = new Subscription();
146
+ rtl = false;
147
+ direction;
148
+ navigation;
149
+ navigationSubs;
150
+ constructor(hostEl, zone, dataService, localization, renderer, _scrollbarWidthService, scrollService) {
151
+ this.hostEl = hostEl;
152
+ this.zone = zone;
153
+ this.dataService = dataService;
154
+ this.localization = localization;
155
+ this.renderer = renderer;
156
+ this.scrollService = scrollService;
157
+ validatePackage(packageMetadata);
158
+ this.subs.add(this.localization.changes.subscribe(({ rtl }) => {
159
+ this.rtl = rtl;
160
+ this.direction = this.rtl ? 'rtl' : 'ltr';
161
+ }));
162
+ dataService.wrapper = this.hostEl.nativeElement;
163
+ this.scrollService.pivotGrid = this;
164
+ }
163
165
  ngAfterViewInit() {
164
166
  if (isDocumentAvailable()) {
165
167
  this.zone.runOutsideAngular(() => {
@@ -225,6 +227,29 @@ export class PivotGridComponent {
225
227
  }
226
228
  }
227
229
  }
230
+ resizeContainer = (axis, element) => {
231
+ const isRows = axis === 'Rows';
232
+ const table = this.table.nativeElement;
233
+ const size = isRows ? 'offsetHeight' : 'offsetWidth';
234
+ table.style[`gridTemplate${axis}`] = '';
235
+ table.style[`gridTemplate${axis}`] = `${element[size]}px 1fr`;
236
+ };
237
+ handleScroll = (event) => {
238
+ if (event.target === this.valuesTable.nativeElement) {
239
+ syncScroll(event.target, [
240
+ this.rowHeadersTable.nativeElement,
241
+ this.colHeadersTable.nativeElement
242
+ ]);
243
+ }
244
+ else if (event.target.closest('.k-pivotgrid-row-headers')) {
245
+ event.preventDefault();
246
+ syncWheel(event, [this.valuesTable.nativeElement, this.rowHeadersTable.nativeElement], 'scrollTop', 'Y');
247
+ }
248
+ else if (event.target.closest('.k-pivotgrid-column-headers')) {
249
+ event.preventDefault();
250
+ syncWheel(event, [this.valuesTable.nativeElement, this.colHeadersTable.nativeElement], 'scrollLeft', 'X');
251
+ }
252
+ };
228
253
  /**
229
254
  * @hidden
230
255
  */
@@ -267,18 +292,17 @@ export class PivotGridComponent {
267
292
  this.configuratorNavigation.stop();
268
293
  }
269
294
  }
270
- }
271
- PivotGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PivotGridComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i1.PivotGridDataService }, { token: i2.LocalizationService }, { token: i0.Renderer2 }, { token: i3.ScrollbarWidthService }, { token: i4.PivotGridScrollService }], target: i0.ɵɵFactoryTarget.Component });
272
- PivotGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PivotGridComponent, isStandalone: true, selector: "kendo-pivotgrid", inputs: { loaderSettings: "loaderSettings", configurator: "configurator", virtualScrolling: "virtualScrolling", 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: [
273
- PivotGridDataService,
274
- LocalizationService,
275
- PivotLocalizationService,
276
- {
277
- provide: L10N_PREFIX,
278
- useValue: 'kendo.pivotgrid'
279
- },
280
- PivotGridScrollService
281
- ], queries: [{ propertyName: "customCellTemplate", first: true, predicate: CellTemplateDirective, descendants: true }, { propertyName: "valueCellTemplate", first: true, predicate: ValueCellTemplateDirective, descendants: true }, { propertyName: "rowHeaderCellTemplate", first: true, predicate: RowHeaderCellTemplateDirective, descendants: true }, { propertyName: "columnHeaderCellTemplate", first: true, predicate: ColumnHeaderCellTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "colHeadersTable", first: true, predicate: ["colHeadersTable"], descendants: true, read: ElementRef }, { propertyName: "rowHeadersTable", first: true, predicate: ["rowHeadersTable"], descendants: true, read: ElementRef }, { propertyName: "valuesTable", first: true, predicate: ["valuesTable"], descendants: true, read: ElementRef }, { propertyName: "table", first: true, predicate: ["table"], descendants: true, read: ElementRef }, { propertyName: "configuratorWrapper", first: true, predicate: ["configurator"], descendants: true, read: ElementRef }], usesOnChanges: true, ngImport: i0, template: `
295
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PivotGridComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i1.PivotGridDataService }, { token: i2.LocalizationService }, { token: i0.Renderer2 }, { token: i3.ScrollbarWidthService }, { token: i4.PivotGridScrollService }], target: i0.ɵɵFactoryTarget.Component });
296
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PivotGridComponent, isStandalone: true, selector: "kendo-pivotgrid", inputs: { loaderSettings: "loaderSettings", configurator: "configurator", virtualScrolling: "virtualScrolling", 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: [
297
+ PivotGridDataService,
298
+ LocalizationService,
299
+ PivotLocalizationService,
300
+ {
301
+ provide: L10N_PREFIX,
302
+ useValue: 'kendo.pivotgrid'
303
+ },
304
+ PivotGridScrollService
305
+ ], queries: [{ propertyName: "customCellTemplate", first: true, predicate: CellTemplateDirective, descendants: true }, { propertyName: "valueCellTemplate", first: true, predicate: ValueCellTemplateDirective, descendants: true }, { propertyName: "rowHeaderCellTemplate", first: true, predicate: RowHeaderCellTemplateDirective, descendants: true }, { propertyName: "columnHeaderCellTemplate", first: true, predicate: ColumnHeaderCellTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "colHeadersTable", first: true, predicate: ["colHeadersTable"], descendants: true, read: ElementRef }, { propertyName: "rowHeadersTable", first: true, predicate: ["rowHeadersTable"], descendants: true, read: ElementRef }, { propertyName: "valuesTable", first: true, predicate: ["valuesTable"], descendants: true, read: ElementRef }, { propertyName: "table", first: true, predicate: ["table"], descendants: true, read: ElementRef }, { propertyName: "configuratorWrapper", first: true, predicate: ["configurator"], descendants: true, read: ElementRef }], usesOnChanges: true, ngImport: i0, template: `
282
306
  <ng-container kendoPivotGridLocalizedMessages
283
307
  i18n-loading="kendo.pivotgrid.loading|The loading text"
284
308
  loading="Loading"
@@ -437,7 +461,8 @@ PivotGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
437
461
  </span>
438
462
  </div>
439
463
  `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoPivotGridLocalizedMessages]" }, { kind: "component", type: PivotGridTableComponent, selector: "kendo-pivotgrid-table", inputs: ["tableType", "colWidth", "customCellTemplate", "valueCellTemplate", "rowHeaderCellTemplate", "columnHeaderCellTemplate", "scrollableSettings"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: LoaderComponent, selector: "kendo-loader", inputs: ["type", "themeColor", "size"] }, { kind: "component", type: PivotGridConfiguratorComponent, selector: "kendo-pivotgrid-configurator", inputs: ["orientation", "sort", "filter", "navigation"], outputs: ["close"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
440
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PivotGridComponent, decorators: [{
464
+ }
465
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PivotGridComponent, decorators: [{
441
466
  type: Component,
442
467
  args: [{
443
468
  selector: 'kendo-pivotgrid',