@progress/kendo-angular-grid 13.0.0-develop.9 → 13.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 (38) hide show
  1. package/aggregates/aggregate-types.d.ts +58 -0
  2. package/aggregates/status-bar-template.directive.d.ts +19 -0
  3. package/aggregates/status-bar.component.d.ts +53 -0
  4. package/column-menu/column-menu.component.d.ts +1 -1
  5. package/esm2020/aggregates/aggregate-types.mjs +6 -0
  6. package/esm2020/aggregates/status-bar-template.directive.mjs +26 -0
  7. package/esm2020/aggregates/status-bar.component.mjs +236 -0
  8. package/esm2020/column-menu/column-menu.component.mjs +6 -6
  9. package/esm2020/filtering/cell/boolean-filter-cell.component.mjs +1 -1
  10. package/esm2020/filtering/cell/filter-cell-operators.component.mjs +15 -1
  11. package/esm2020/filtering/cell/filter-cell-wrapper.component.mjs +3 -1
  12. package/esm2020/filtering/cell/string-filter-cell.component.mjs +1 -1
  13. package/esm2020/filtering/filter-input.directive.mjs +5 -1
  14. package/esm2020/grid.component.mjs +574 -540
  15. package/esm2020/grid.module.mjs +10 -2
  16. package/esm2020/grouping/group-panel.component.mjs +2 -2
  17. package/esm2020/index.mjs +1 -0
  18. package/esm2020/localization/messages.mjs +5 -1
  19. package/esm2020/package-metadata.mjs +2 -2
  20. package/esm2020/rendering/list.component.mjs +12 -14
  21. package/esm2020/selection/cell-selection.service.mjs +20 -1
  22. package/esm2020/selection/selection-checkbox.directive.mjs +2 -0
  23. package/esm2020/selection/selection-default.mjs +14 -1
  24. package/esm2020/selection/selection.service.mjs +31 -5
  25. package/fesm2015/progress-kendo-angular-grid.mjs +926 -572
  26. package/fesm2020/progress-kendo-angular-grid.mjs +927 -572
  27. package/filtering/cell/filter-cell-operators.component.d.ts +10 -1
  28. package/grid.component.d.ts +10 -1
  29. package/grid.module.d.ts +100 -98
  30. package/grouping/group-panel.component.d.ts +0 -1
  31. package/index.d.ts +2 -0
  32. package/localization/messages.d.ts +25 -1
  33. package/package.json +16 -16
  34. package/schematics/ngAdd/index.js +3 -3
  35. package/selection/cell-selection.service.d.ts +3 -0
  36. package/selection/selection-default.d.ts +17 -2
  37. package/selection/selection.service.d.ts +8 -2
  38. package/selection/types.d.ts +27 -0
@@ -2,6 +2,7 @@
2
2
  * Copyright © 2023 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 { SelectionAggregate, SelectionAggregates } from '../aggregates/aggregate-types';
5
6
  import { ColumnComponent } from './../columns/column.component';
6
7
  import { RowArgs } from './../rendering/common/row-args';
7
8
  /**
@@ -16,6 +17,10 @@ export declare type CellSelectedFn = (row: RowArgs, column: ColumnComponent, col
16
17
  * Arguments for the Grid [`selectionChange`](slug:api_grid_gridcomponent#toc-selectionchange) event.
17
18
  */
18
19
  export interface SelectionEvent {
20
+ /**
21
+ * The cell selection aggregates.
22
+ */
23
+ cellAggregates?: SelectionAggregates;
19
24
  /**
20
25
  * The row items that were added to the selection.
21
26
  */
@@ -40,6 +45,22 @@ export interface SelectionEvent {
40
45
  * Shows the state of the `Shift` key during the selection.
41
46
  */
42
47
  shiftKey?: boolean;
48
+ /**
49
+ * Represents the initially clicked row in a shift-click range row selection
50
+ */
51
+ rangeStartRow?: RowArgs;
52
+ /**
53
+ * Represents the shift-clicked item in a shift-click range row selection
54
+ */
55
+ rangeEndRow?: RowArgs;
56
+ /**
57
+ * Represents the initially clicked cell in a shift-click range cell selection
58
+ */
59
+ rangeStartCell?: CellSelectionItem;
60
+ /**
61
+ * Represents the shift-clicked cell in a shift-click range cell selection
62
+ */
63
+ rangeEndCell?: CellSelectionItem;
43
64
  }
44
65
  /**
45
66
  * The settings for the selection functionality of the Grid ([more information and example]({% slug selection_grid %}#toc-setup)).
@@ -53,6 +74,12 @@ export interface SelectionEvent {
53
74
  * ```
54
75
  */
55
76
  export interface SelectableSettings {
77
+ /**
78
+ * Determines if selection aggregates will be enabled. By default the property is set to `false`.
79
+ * If cellAggregates is set to `true` it will calculate all aggregate options.
80
+ * You can choose which aggregates to calculate by passing an array of [SelectionAggregate]({% slug api_grid_selectionaggregate %}) type options.
81
+ */
82
+ cellAggregates?: boolean | SelectionAggregate[];
56
83
  /**
57
84
  * Determines if selection is allowed.
58
85
  *