@bryntum/grid-angular-thin 7.2.1 → 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.
@@ -564,7 +564,7 @@ export type BryntumGridProps = {
564
564
  rootElement ? : ShadowRoot|HTMLElement
565
565
  /**
566
566
  * Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
567
- * overriden by specifying a [rowHeight](https://bryntum.com/products/grid/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
567
+ * overridden by specifying a [rowHeight](https://bryntum.com/products/grid/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
568
568
  * a column [renderer](https://bryntum.com/products/grid/docs/api/Grid/column/Column#config-renderer).
569
569
  * ...
570
570
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/Grid#config-rowHeight)
@@ -792,7 +792,7 @@ export type BryntumGridProps = {
792
792
  cellEditFeature ? : object|boolean|string|CellEdit|CellEditConfig
793
793
  /**
794
794
  * Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
795
- * `SPACE` key when the cell is focused.
795
+ * <kbd>Space</kbd> key when the cell is focused.
796
796
  * ...
797
797
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/CellMenu)
798
798
  */
@@ -892,8 +892,8 @@ export type BryntumGridProps = {
892
892
  filterBarFeature ? : object|boolean|string|FilterBar|FilterBarConfig
893
893
  /**
894
894
  * Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
895
- * <kbd>shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
896
- * one anywhere on grid). Use <kbd>shift</kbd> + <kbd>alt</kbd> + click, or the context menu, to remove a column
895
+ * <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
896
+ * one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
897
897
  * grouper.
898
898
  * ...
899
899
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/Group)
@@ -1178,6 +1178,7 @@ export class BryntumGridComponent implements OnInit, OnDestroy {
1178
1178
  'onToggleGroup',
1179
1179
  'onToggleNode',
1180
1180
  'onToolClick',
1181
+ 'onTreeGroup',
1181
1182
  'onUnlockRows',
1182
1183
  'onUnsplit'
1183
1184
  ];
@@ -1742,7 +1743,7 @@ export class BryntumGridComponent implements OnInit, OnDestroy {
1742
1743
  */
1743
1744
  @Output() onBeforeCellEditStart: any = new EventEmitter<((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string>();
1744
1745
  /**
1745
- * Fires on the owning Grid before deleting a range of selected cell values by pressing `Backspace` or `Del`
1746
+ * Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
1746
1747
  * buttons while [autoEdit](https://bryntum.com/products/grid/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
1747
1748
  * @param {object} event Event object
1748
1749
  * @param {Grid.view.Grid} event.source Owner grid
@@ -2506,7 +2507,7 @@ export class BryntumGridComponent implements OnInit, OnDestroy {
2506
2507
  * @param {Response} event.response Optional response, if received
2507
2508
  * @param {Error} event.error Optional error, if exception occurred
2508
2509
  */
2509
- @Output() onPdfExport: any = new EventEmitter<((event: { response?: any, error?: Error }) => void)|string>();
2510
+ @Output() onPdfExport: any = new EventEmitter<((event: { response?: Response, error?: Error }) => void)|string>();
2510
2511
  /**
2511
2512
  * Fired when a Widget's read only state is toggled
2512
2513
  * @param {object} event Event object
@@ -2717,6 +2718,14 @@ export class BryntumGridComponent implements OnInit, OnDestroy {
2717
2718
  * @param {Core.widget.Tool} event.tool The tool which is being clicked.
2718
2719
  */
2719
2720
  @Output() onToolClick: any = new EventEmitter<((event: { source: Tool, tool: Tool }) => void)|string>();
2721
+ /**
2722
+ * Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
2723
+ * @param {object} event Event object
2724
+ * @param {Grid.view.Grid} event.source The grid instance
2725
+ * @param {(string|Function)[]} event.groupers Array of field names or functions representing the current grouping levels
2726
+ * @param {(string|Function)[]} event.oldGroupers Array of field names or functions representing the previous grouping levels
2727
+ */
2728
+ @Output() onTreeGroup: any = new EventEmitter<((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string>();
2720
2729
  /**
2721
2730
  * Fires when row locking is disabled.
2722
2731
  * @param {object} event Event object
@@ -535,7 +535,7 @@ export type BryntumGroupBarProps = {
535
535
  */
536
536
  title ? : string
537
537
  /**
538
- * Select/deselect all if `CMD`/`CTRL` is pressed when clicking
538
+ * Select/deselect all if <kbd>Cmd</kbd>/<kbd>Ctrl</kbd> is pressed when clicking
539
539
  */
540
540
  toggleAllIfCtrlPressed ? : boolean
541
541
  /**
@@ -186,7 +186,7 @@ export type BryntumTreeComboProps = {
186
186
  contentElementCls ? : string|object
187
187
  /**
188
188
  * If configured as `true`, this means that when an unmatched string is typed into the
189
- * combo's input field, and `ENTER`, or the [multiValueSeparator](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-multiValueSeparator) is typed,
189
+ * 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,
190
190
  * 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).
191
191
  * ...
192
192
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/TreeCombo#config-createOnUnmatched)
@@ -681,7 +681,7 @@ export type BryntumTreeComboProps = {
681
681
  required ? : boolean
682
682
  /**
683
683
  * 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
684
- * the `ESCAPE` key after editing the field will revert the field to the value it had when
684
+ * the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
685
685
  * 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)
686
686
  * behaviour will be activated.
687
687
  */
@@ -564,7 +564,7 @@ export type BryntumTreeGridProps = {
564
564
  rootElement ? : ShadowRoot|HTMLElement
565
565
  /**
566
566
  * Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
567
- * overriden by specifying a [rowHeight](https://bryntum.com/products/grid/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
567
+ * overridden by specifying a [rowHeight](https://bryntum.com/products/grid/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
568
568
  * a column [renderer](https://bryntum.com/products/grid/docs/api/Grid/column/Column#config-renderer).
569
569
  * ...
570
570
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/TreeGrid#config-rowHeight)
@@ -792,7 +792,7 @@ export type BryntumTreeGridProps = {
792
792
  cellEditFeature ? : object|boolean|string|CellEdit|CellEditConfig
793
793
  /**
794
794
  * Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
795
- * `SPACE` key when the cell is focused.
795
+ * <kbd>Space</kbd> key when the cell is focused.
796
796
  * ...
797
797
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/CellMenu)
798
798
  */
@@ -892,8 +892,8 @@ export type BryntumTreeGridProps = {
892
892
  filterBarFeature ? : object|boolean|string|FilterBar|FilterBarConfig
893
893
  /**
894
894
  * Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
895
- * <kbd>shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
896
- * one anywhere on grid). Use <kbd>shift</kbd> + <kbd>alt</kbd> + click, or the context menu, to remove a column
895
+ * <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
896
+ * one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
897
897
  * grouper.
898
898
  * ...
899
899
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/Group)
@@ -1178,6 +1178,7 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
1178
1178
  'onToggleGroup',
1179
1179
  'onToggleNode',
1180
1180
  'onToolClick',
1181
+ 'onTreeGroup',
1181
1182
  'onUnlockRows',
1182
1183
  'onUnsplit'
1183
1184
  ];
@@ -1742,7 +1743,7 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
1742
1743
  */
1743
1744
  @Output() onBeforeCellEditStart: any = new EventEmitter<((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string>();
1744
1745
  /**
1745
- * Fires on the owning Grid before deleting a range of selected cell values by pressing `Backspace` or `Del`
1746
+ * Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
1746
1747
  * buttons while [autoEdit](https://bryntum.com/products/grid/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
1747
1748
  * @param {object} event Event object
1748
1749
  * @param {Grid.view.Grid} event.source Owner grid
@@ -2506,7 +2507,7 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
2506
2507
  * @param {Response} event.response Optional response, if received
2507
2508
  * @param {Error} event.error Optional error, if exception occurred
2508
2509
  */
2509
- @Output() onPdfExport: any = new EventEmitter<((event: { response?: any, error?: Error }) => void)|string>();
2510
+ @Output() onPdfExport: any = new EventEmitter<((event: { response?: Response, error?: Error }) => void)|string>();
2510
2511
  /**
2511
2512
  * Fired when a Widget's read only state is toggled
2512
2513
  * @param {object} event Event object
@@ -2717,6 +2718,14 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
2717
2718
  * @param {Core.widget.Tool} event.tool The tool which is being clicked.
2718
2719
  */
2719
2720
  @Output() onToolClick: any = new EventEmitter<((event: { source: Tool, tool: Tool }) => void)|string>();
2721
+ /**
2722
+ * Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
2723
+ * @param {object} event Event object
2724
+ * @param {Grid.view.Grid} event.source The grid instance
2725
+ * @param {(string|Function)[]} event.groupers Array of field names or functions representing the current grouping levels
2726
+ * @param {(string|Function)[]} event.oldGroupers Array of field names or functions representing the previous grouping levels
2727
+ */
2728
+ @Output() onTreeGroup: any = new EventEmitter<((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string>();
2720
2729
  /**
2721
2730
  * Fires when row locking is disabled.
2722
2731
  * @param {object} event Event object