@bryntum/grid-angular 7.2.0 → 7.2.2

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 (98) hide show
  1. package/bundles/bryntum-grid-angular.umd.js +41 -8
  2. package/bundles/bryntum-grid-angular.umd.js.map +1 -1
  3. package/esm2015/lib/bryntum-a-i-filter-field.component.js +1 -1
  4. package/esm2015/lib/bryntum-checkbox.component.js +1 -1
  5. package/esm2015/lib/bryntum-checklist-filter-combo.component.js +1 -1
  6. package/esm2015/lib/bryntum-chip-view.component.js +1 -1
  7. package/esm2015/lib/bryntum-color-field.component.js +1 -1
  8. package/esm2015/lib/bryntum-combo.component.js +1 -1
  9. package/esm2015/lib/bryntum-date-field.component.js +1 -1
  10. package/esm2015/lib/bryntum-date-range-field.component.js +1 -1
  11. package/esm2015/lib/bryntum-date-time-field.component.js +1 -1
  12. package/esm2015/lib/bryntum-display-field.component.js +1 -1
  13. package/esm2015/lib/bryntum-duration-field.component.js +1 -1
  14. package/esm2015/lib/bryntum-editor.component.js +3 -3
  15. package/esm2015/lib/bryntum-file-field.component.js +1 -1
  16. package/esm2015/lib/bryntum-filter-field.component.js +1 -1
  17. package/esm2015/lib/bryntum-grid-base.component.js +14 -3
  18. package/esm2015/lib/bryntum-grid.component.js +14 -3
  19. package/esm2015/lib/bryntum-group-bar.component.js +1 -1
  20. package/esm2015/lib/bryntum-hint.component.js +1 -1
  21. package/esm2015/lib/bryntum-list.component.js +1 -1
  22. package/esm2015/lib/bryntum-menu.component.js +1 -1
  23. package/esm2015/lib/bryntum-number-field.component.js +1 -1
  24. package/esm2015/lib/bryntum-password-field.component.js +1 -1
  25. package/esm2015/lib/bryntum-radio.component.js +1 -1
  26. package/esm2015/lib/bryntum-slide-toggle.component.js +1 -1
  27. package/esm2015/lib/bryntum-slider.component.js +1 -1
  28. package/esm2015/lib/bryntum-text-area-field.component.js +1 -1
  29. package/esm2015/lib/bryntum-text-area-picker-field.component.js +1 -1
  30. package/esm2015/lib/bryntum-text-field.component.js +1 -1
  31. package/esm2015/lib/bryntum-time-field.component.js +1 -1
  32. package/esm2015/lib/bryntum-tree-combo.component.js +1 -1
  33. package/esm2015/lib/bryntum-tree-grid.component.js +14 -3
  34. package/fesm2015/bryntum-grid-angular.js +41 -8
  35. package/fesm2015/bryntum-grid-angular.js.map +1 -1
  36. package/lib/bryntum-a-i-filter-field.component.d.ts +1 -1
  37. package/lib/bryntum-checkbox.component.d.ts +1 -1
  38. package/lib/bryntum-checklist-filter-combo.component.d.ts +2 -2
  39. package/lib/bryntum-chip-view.component.d.ts +1 -1
  40. package/lib/bryntum-color-field.component.d.ts +1 -1
  41. package/lib/bryntum-combo.component.d.ts +2 -2
  42. package/lib/bryntum-date-field.component.d.ts +1 -1
  43. package/lib/bryntum-date-range-field.component.d.ts +1 -1
  44. package/lib/bryntum-date-time-field.component.d.ts +1 -1
  45. package/lib/bryntum-display-field.component.d.ts +1 -1
  46. package/lib/bryntum-duration-field.component.d.ts +1 -1
  47. package/lib/bryntum-editor.component.d.ts +3 -3
  48. package/lib/bryntum-file-field.component.d.ts +1 -1
  49. package/lib/bryntum-filter-field.component.d.ts +1 -1
  50. package/lib/bryntum-grid-base.component.d.ts +14 -6
  51. package/lib/bryntum-grid.component.d.ts +14 -6
  52. package/lib/bryntum-group-bar.component.d.ts +1 -1
  53. package/lib/bryntum-hint.component.d.ts +1 -1
  54. package/lib/bryntum-list.component.d.ts +1 -1
  55. package/lib/bryntum-menu.component.d.ts +1 -1
  56. package/lib/bryntum-number-field.component.d.ts +1 -1
  57. package/lib/bryntum-password-field.component.d.ts +1 -1
  58. package/lib/bryntum-radio.component.d.ts +1 -1
  59. package/lib/bryntum-slide-toggle.component.d.ts +1 -1
  60. package/lib/bryntum-slider.component.d.ts +1 -1
  61. package/lib/bryntum-text-area-field.component.d.ts +1 -1
  62. package/lib/bryntum-text-area-picker-field.component.d.ts +1 -1
  63. package/lib/bryntum-text-field.component.d.ts +1 -1
  64. package/lib/bryntum-time-field.component.d.ts +1 -1
  65. package/lib/bryntum-tree-combo.component.d.ts +2 -2
  66. package/lib/bryntum-tree-grid.component.d.ts +14 -6
  67. package/package.json +1 -1
  68. package/src/lib/bryntum-a-i-filter-field.component.ts +1 -1
  69. package/src/lib/bryntum-checkbox.component.ts +1 -1
  70. package/src/lib/bryntum-checklist-filter-combo.component.ts +2 -2
  71. package/src/lib/bryntum-chip-view.component.ts +1 -1
  72. package/src/lib/bryntum-color-field.component.ts +1 -1
  73. package/src/lib/bryntum-combo.component.ts +2 -2
  74. package/src/lib/bryntum-date-field.component.ts +1 -1
  75. package/src/lib/bryntum-date-range-field.component.ts +1 -1
  76. package/src/lib/bryntum-date-time-field.component.ts +1 -1
  77. package/src/lib/bryntum-display-field.component.ts +1 -1
  78. package/src/lib/bryntum-duration-field.component.ts +1 -1
  79. package/src/lib/bryntum-editor.component.ts +3 -3
  80. package/src/lib/bryntum-file-field.component.ts +1 -1
  81. package/src/lib/bryntum-filter-field.component.ts +1 -1
  82. package/src/lib/bryntum-grid-base.component.ts +15 -6
  83. package/src/lib/bryntum-grid.component.ts +15 -6
  84. package/src/lib/bryntum-group-bar.component.ts +1 -1
  85. package/src/lib/bryntum-hint.component.ts +1 -1
  86. package/src/lib/bryntum-list.component.ts +1 -1
  87. package/src/lib/bryntum-menu.component.ts +1 -1
  88. package/src/lib/bryntum-number-field.component.ts +1 -1
  89. package/src/lib/bryntum-password-field.component.ts +1 -1
  90. package/src/lib/bryntum-radio.component.ts +1 -1
  91. package/src/lib/bryntum-slide-toggle.component.ts +1 -1
  92. package/src/lib/bryntum-slider.component.ts +1 -1
  93. package/src/lib/bryntum-text-area-field.component.ts +1 -1
  94. package/src/lib/bryntum-text-area-picker-field.component.ts +1 -1
  95. package/src/lib/bryntum-text-field.component.ts +1 -1
  96. package/src/lib/bryntum-time-field.component.ts +1 -1
  97. package/src/lib/bryntum-tree-combo.component.ts +2 -2
  98. package/src/lib/bryntum-tree-grid.component.ts +15 -6
@@ -185,7 +185,7 @@ export type BryntumTreeComboProps = {
185
185
  contentElementCls ? : string|object
186
186
  /**
187
187
  * If configured as `true`, this means that when an unmatched string is typed into the
188
- * combo's input field, and `ENTER`, or the [multiValueSeparator](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-multiValueSeparator) is typed,
188
+ * combo's input field, and <kbd>Enter</kbd>, or the [multiValueSeparator](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-multiValueSeparator) is typed,
189
189
  * a new record will be created using the typed string as the [displayField](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-displayField).
190
190
  * ...
191
191
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/TreeCombo#config-createOnUnmatched)
@@ -680,7 +680,7 @@ export type BryntumTreeComboProps = {
680
680
  required ? : boolean
681
681
  /**
682
682
  * If this field is not [readOnly](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
683
- * the `ESCAPE` key after editing the field will revert the field to the value it had when
683
+ * the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
684
684
  * the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-clearable)
685
685
  * behaviour will be activated.
686
686
  */
@@ -563,7 +563,7 @@ export type BryntumTreeGridProps = {
563
563
  rootElement ? : ShadowRoot|HTMLElement
564
564
  /**
565
565
  * Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
566
- * overriden by specifying a [rowHeight](https://bryntum.com/products/grid/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
566
+ * overridden by specifying a [rowHeight](https://bryntum.com/products/grid/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
567
567
  * a column [renderer](https://bryntum.com/products/grid/docs/api/Grid/column/Column#config-renderer).
568
568
  * ...
569
569
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/TreeGrid#config-rowHeight)
@@ -791,7 +791,7 @@ export type BryntumTreeGridProps = {
791
791
  cellEditFeature ? : object|boolean|string|CellEdit|CellEditConfig
792
792
  /**
793
793
  * Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
794
- * `SPACE` key when the cell is focused.
794
+ * <kbd>Space</kbd> key when the cell is focused.
795
795
  * ...
796
796
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/CellMenu)
797
797
  */
@@ -891,8 +891,8 @@ export type BryntumTreeGridProps = {
891
891
  filterBarFeature ? : object|boolean|string|FilterBar|FilterBarConfig
892
892
  /**
893
893
  * Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
894
- * <kbd>shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
895
- * one anywhere on grid). Use <kbd>shift</kbd> + <kbd>alt</kbd> + click, or the context menu, to remove a column
894
+ * <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
895
+ * one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
896
896
  * grouper.
897
897
  * ...
898
898
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/Group)
@@ -1177,6 +1177,7 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
1177
1177
  'onToggleGroup',
1178
1178
  'onToggleNode',
1179
1179
  'onToolClick',
1180
+ 'onTreeGroup',
1180
1181
  'onUnlockRows',
1181
1182
  'onUnsplit'
1182
1183
  ];
@@ -1741,7 +1742,7 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
1741
1742
  */
1742
1743
  @Output() onBeforeCellEditStart: any = new EventEmitter<((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string>();
1743
1744
  /**
1744
- * Fires on the owning Grid before deleting a range of selected cell values by pressing `Backspace` or `Del`
1745
+ * Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
1745
1746
  * buttons while [autoEdit](https://bryntum.com/products/grid/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
1746
1747
  * @param {object} event Event object
1747
1748
  * @param {Grid.view.Grid} event.source Owner grid
@@ -2505,7 +2506,7 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
2505
2506
  * @param {Response} event.response Optional response, if received
2506
2507
  * @param {Error} event.error Optional error, if exception occurred
2507
2508
  */
2508
- @Output() onPdfExport: any = new EventEmitter<((event: { response?: any, error?: Error }) => void)|string>();
2509
+ @Output() onPdfExport: any = new EventEmitter<((event: { response?: Response, error?: Error }) => void)|string>();
2509
2510
  /**
2510
2511
  * Fired when a Widget's read only state is toggled
2511
2512
  * @param {object} event Event object
@@ -2716,6 +2717,14 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
2716
2717
  * @param {Core.widget.Tool} event.tool The tool which is being clicked.
2717
2718
  */
2718
2719
  @Output() onToolClick: any = new EventEmitter<((event: { source: Tool, tool: Tool }) => void)|string>();
2720
+ /**
2721
+ * Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
2722
+ * @param {object} event Event object
2723
+ * @param {Grid.view.Grid} event.source The grid instance
2724
+ * @param {(string|Function)[]} event.groupers Array of field names or functions representing the current grouping levels
2725
+ * @param {(string|Function)[]} event.oldGroupers Array of field names or functions representing the previous grouping levels
2726
+ */
2727
+ @Output() onTreeGroup: any = new EventEmitter<((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string>();
2719
2728
  /**
2720
2729
  * Fires when row locking is disabled.
2721
2730
  * @param {object} event Event object