@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.
- package/bundles/bryntum-grid-angular.umd.js +41 -8
- package/bundles/bryntum-grid-angular.umd.js.map +1 -1
- package/esm2015/lib/bryntum-a-i-filter-field.component.js +1 -1
- package/esm2015/lib/bryntum-checkbox.component.js +1 -1
- package/esm2015/lib/bryntum-checklist-filter-combo.component.js +1 -1
- package/esm2015/lib/bryntum-chip-view.component.js +1 -1
- package/esm2015/lib/bryntum-color-field.component.js +1 -1
- package/esm2015/lib/bryntum-combo.component.js +1 -1
- package/esm2015/lib/bryntum-date-field.component.js +1 -1
- package/esm2015/lib/bryntum-date-range-field.component.js +1 -1
- package/esm2015/lib/bryntum-date-time-field.component.js +1 -1
- package/esm2015/lib/bryntum-display-field.component.js +1 -1
- package/esm2015/lib/bryntum-duration-field.component.js +1 -1
- package/esm2015/lib/bryntum-editor.component.js +3 -3
- package/esm2015/lib/bryntum-file-field.component.js +1 -1
- package/esm2015/lib/bryntum-filter-field.component.js +1 -1
- package/esm2015/lib/bryntum-grid-base.component.js +14 -3
- package/esm2015/lib/bryntum-grid.component.js +14 -3
- package/esm2015/lib/bryntum-group-bar.component.js +1 -1
- package/esm2015/lib/bryntum-hint.component.js +1 -1
- package/esm2015/lib/bryntum-list.component.js +1 -1
- package/esm2015/lib/bryntum-menu.component.js +1 -1
- package/esm2015/lib/bryntum-number-field.component.js +1 -1
- package/esm2015/lib/bryntum-password-field.component.js +1 -1
- package/esm2015/lib/bryntum-radio.component.js +1 -1
- package/esm2015/lib/bryntum-slide-toggle.component.js +1 -1
- package/esm2015/lib/bryntum-slider.component.js +1 -1
- package/esm2015/lib/bryntum-text-area-field.component.js +1 -1
- package/esm2015/lib/bryntum-text-area-picker-field.component.js +1 -1
- package/esm2015/lib/bryntum-text-field.component.js +1 -1
- package/esm2015/lib/bryntum-time-field.component.js +1 -1
- package/esm2015/lib/bryntum-tree-combo.component.js +1 -1
- package/esm2015/lib/bryntum-tree-grid.component.js +14 -3
- package/fesm2015/bryntum-grid-angular.js +41 -8
- package/fesm2015/bryntum-grid-angular.js.map +1 -1
- package/lib/bryntum-a-i-filter-field.component.d.ts +1 -1
- package/lib/bryntum-checkbox.component.d.ts +1 -1
- package/lib/bryntum-checklist-filter-combo.component.d.ts +2 -2
- package/lib/bryntum-chip-view.component.d.ts +1 -1
- package/lib/bryntum-color-field.component.d.ts +1 -1
- package/lib/bryntum-combo.component.d.ts +2 -2
- package/lib/bryntum-date-field.component.d.ts +1 -1
- package/lib/bryntum-date-range-field.component.d.ts +1 -1
- package/lib/bryntum-date-time-field.component.d.ts +1 -1
- package/lib/bryntum-display-field.component.d.ts +1 -1
- package/lib/bryntum-duration-field.component.d.ts +1 -1
- package/lib/bryntum-editor.component.d.ts +3 -3
- package/lib/bryntum-file-field.component.d.ts +1 -1
- package/lib/bryntum-filter-field.component.d.ts +1 -1
- package/lib/bryntum-grid-base.component.d.ts +14 -6
- package/lib/bryntum-grid.component.d.ts +14 -6
- package/lib/bryntum-group-bar.component.d.ts +1 -1
- package/lib/bryntum-hint.component.d.ts +1 -1
- package/lib/bryntum-list.component.d.ts +1 -1
- package/lib/bryntum-menu.component.d.ts +1 -1
- package/lib/bryntum-number-field.component.d.ts +1 -1
- package/lib/bryntum-password-field.component.d.ts +1 -1
- package/lib/bryntum-radio.component.d.ts +1 -1
- package/lib/bryntum-slide-toggle.component.d.ts +1 -1
- package/lib/bryntum-slider.component.d.ts +1 -1
- package/lib/bryntum-text-area-field.component.d.ts +1 -1
- package/lib/bryntum-text-area-picker-field.component.d.ts +1 -1
- package/lib/bryntum-text-field.component.d.ts +1 -1
- package/lib/bryntum-time-field.component.d.ts +1 -1
- package/lib/bryntum-tree-combo.component.d.ts +2 -2
- package/lib/bryntum-tree-grid.component.d.ts +14 -6
- package/package.json +1 -1
- package/src/lib/bryntum-a-i-filter-field.component.ts +1 -1
- package/src/lib/bryntum-checkbox.component.ts +1 -1
- package/src/lib/bryntum-checklist-filter-combo.component.ts +2 -2
- package/src/lib/bryntum-chip-view.component.ts +1 -1
- package/src/lib/bryntum-color-field.component.ts +1 -1
- package/src/lib/bryntum-combo.component.ts +2 -2
- package/src/lib/bryntum-date-field.component.ts +1 -1
- package/src/lib/bryntum-date-range-field.component.ts +1 -1
- package/src/lib/bryntum-date-time-field.component.ts +1 -1
- package/src/lib/bryntum-display-field.component.ts +1 -1
- package/src/lib/bryntum-duration-field.component.ts +1 -1
- package/src/lib/bryntum-editor.component.ts +3 -3
- package/src/lib/bryntum-file-field.component.ts +1 -1
- package/src/lib/bryntum-filter-field.component.ts +1 -1
- package/src/lib/bryntum-grid-base.component.ts +15 -6
- package/src/lib/bryntum-grid.component.ts +15 -6
- package/src/lib/bryntum-group-bar.component.ts +1 -1
- package/src/lib/bryntum-hint.component.ts +1 -1
- package/src/lib/bryntum-list.component.ts +1 -1
- package/src/lib/bryntum-menu.component.ts +1 -1
- package/src/lib/bryntum-number-field.component.ts +1 -1
- package/src/lib/bryntum-password-field.component.ts +1 -1
- package/src/lib/bryntum-radio.component.ts +1 -1
- package/src/lib/bryntum-slide-toggle.component.ts +1 -1
- package/src/lib/bryntum-slider.component.ts +1 -1
- package/src/lib/bryntum-text-area-field.component.ts +1 -1
- package/src/lib/bryntum-text-area-picker-field.component.ts +1 -1
- package/src/lib/bryntum-text-field.component.ts +1 -1
- package/src/lib/bryntum-time-field.component.ts +1 -1
- package/src/lib/bryntum-tree-combo.component.ts +2 -2
- 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
|
|
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
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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>
|
|
895
|
-
* one anywhere on grid). Use <kbd>
|
|
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
|
|
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?:
|
|
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
|