@bryntum/grid-angular-thin 7.1.2 → 7.2.0

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 (36) hide show
  1. package/README.md +16 -10
  2. package/bundles/bryntum-grid-angular-thin.umd.js +149 -54
  3. package/bundles/bryntum-grid-angular-thin.umd.js.map +1 -1
  4. package/esm2015/lib/bryntum-a-i-filter-field.component.js +1 -1
  5. package/esm2015/lib/bryntum-checklist-filter-combo.component.js +1 -1
  6. package/esm2015/lib/bryntum-grid-base.component.js +45 -16
  7. package/esm2015/lib/bryntum-grid-chart-designer.component.js +1 -1
  8. package/esm2015/lib/bryntum-grid-field-filter-picker-group.component.js +6 -2
  9. package/esm2015/lib/bryntum-grid-field-filter-picker.component.js +6 -2
  10. package/esm2015/lib/bryntum-grid.component.js +45 -16
  11. package/esm2015/lib/bryntum-group-bar.component.js +8 -8
  12. package/esm2015/lib/bryntum-tree-combo.component.js +1 -1
  13. package/esm2015/lib/bryntum-tree-grid.component.js +45 -16
  14. package/fesm2015/bryntum-grid-angular-thin.js +149 -54
  15. package/fesm2015/bryntum-grid-angular-thin.js.map +1 -1
  16. package/lib/bryntum-a-i-filter-field.component.d.ts +3 -3
  17. package/lib/bryntum-checklist-filter-combo.component.d.ts +3 -3
  18. package/lib/bryntum-grid-base.component.d.ts +50 -19
  19. package/lib/bryntum-grid-chart-designer.component.d.ts +3 -3
  20. package/lib/bryntum-grid-field-filter-picker-group.component.d.ts +9 -4
  21. package/lib/bryntum-grid-field-filter-picker.component.d.ts +9 -4
  22. package/lib/bryntum-grid.component.d.ts +50 -19
  23. package/lib/bryntum-group-bar.component.d.ts +6 -6
  24. package/lib/bryntum-tree-combo.component.d.ts +3 -3
  25. package/lib/bryntum-tree-grid.component.d.ts +50 -19
  26. package/package.json +1 -1
  27. package/src/lib/bryntum-a-i-filter-field.component.ts +3 -3
  28. package/src/lib/bryntum-checklist-filter-combo.component.ts +3 -3
  29. package/src/lib/bryntum-grid-base.component.ts +62 -26
  30. package/src/lib/bryntum-grid-chart-designer.component.ts +3 -3
  31. package/src/lib/bryntum-grid-field-filter-picker-group.component.ts +10 -3
  32. package/src/lib/bryntum-grid-field-filter-picker.component.ts +10 -3
  33. package/src/lib/bryntum-grid.component.ts +62 -26
  34. package/src/lib/bryntum-group-bar.component.ts +102 -102
  35. package/src/lib/bryntum-tree-combo.component.ts +3 -3
  36. package/src/lib/bryntum-tree-grid.component.ts +62 -26
@@ -7,7 +7,7 @@ import { Component, ElementRef, EventEmitter, Output, Input, SimpleChange, Simpl
7
7
 
8
8
  import WrapperHelper from './wrapper.helper';
9
9
 
10
- import { AlignSpec, Base, DomConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Model, Rectangle, Scroller, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
10
+ import { AlignSpec, Base, Color, DomConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Model, Rectangle, Scroller, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
11
11
  import { AIFilterField, AIFilterFieldListeners, GridContainerItemConfig, Grid } from '@bryntum/grid-thin';
12
12
 
13
13
  import { StringHelper } from '@bryntum/core-thin';
@@ -120,7 +120,7 @@ export type BryntumAIFilterFieldProps = {
120
120
  * ...
121
121
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-color)
122
122
  */
123
- color ? : string
123
+ color ? : Color
124
124
  /**
125
125
  * Programmatic control over which column to start in when used in a grid layout.
126
126
  */
@@ -955,7 +955,7 @@ export class BryntumAIFilterFieldComponent implements OnInit, OnDestroy {
955
955
  @Input() centered ! : boolean;
956
956
  @Input() clearable ! : boolean|FieldTriggerConfig;
957
957
  @Input() client ! : Grid;
958
- @Input() color ! : string;
958
+ @Input() color ! : Color;
959
959
  @Input() config ! : object;
960
960
  @Input() constrainTo ! : HTMLElement|Widget|Rectangle;
961
961
  @Input() container ! : Record<string, GridContainerItemConfig>|GridContainerItemConfig[]|FieldContainerConfig|FieldContainer;
@@ -7,7 +7,7 @@ import { Component, ElementRef, EventEmitter, Output, Input, SimpleChange, Simpl
7
7
 
8
8
  import WrapperHelper from './wrapper.helper';
9
9
 
10
- import { AlignSpec, Base, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Combo, ComboModel, DomConfig, Duration, DurationConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, List, ListConfig, MaskConfig, Model, Rectangle, Scroller, Store, StoreConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
10
+ import { AlignSpec, Base, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Color, Combo, ComboModel, DomConfig, Duration, DurationConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, List, ListConfig, MaskConfig, Model, Rectangle, Scroller, Store, StoreConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
11
11
  import { ChecklistFilterCombo, ChecklistFilterComboListeners, GridContainerItemConfig } from '@bryntum/grid-thin';
12
12
 
13
13
  import { StringHelper } from '@bryntum/core-thin';
@@ -148,7 +148,7 @@ export type BryntumChecklistFilterComboProps = {
148
148
  * ...
149
149
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-color)
150
150
  */
151
- color ? : string
151
+ color ? : Color
152
152
  /**
153
153
  * Programmatic control over which column to start in when used in a grid layout.
154
154
  */
@@ -1233,7 +1233,7 @@ export class BryntumChecklistFilterComboComponent implements OnInit, OnDestroy {
1233
1233
  @Input() clearTextOnPickerHide ! : boolean;
1234
1234
  @Input() clearTextOnSelection ! : boolean;
1235
1235
  @Input() clearWhenInputEmpty ! : boolean;
1236
- @Input() color ! : string;
1236
+ @Input() color ! : Color;
1237
1237
  @Input() config ! : object;
1238
1238
  @Input() constrainTo ! : HTMLElement|Widget|Rectangle;
1239
1239
  @Input() container ! : Record<string, GridContainerItemConfig>|GridContainerItemConfig[]|FieldContainerConfig|FieldContainer;
@@ -7,8 +7,8 @@ import { Component, ElementRef, EventEmitter, Output, Input, SimpleChange, Simpl
7
7
 
8
8
  import WrapperHelper from './wrapper.helper';
9
9
 
10
- import { AjaxStore, AjaxStoreConfig, Base, Container, DomConfig, FormulaProviderConfig, KeyMapConfig, Mask, MaskConfig, Menu, MenuItem, MenuItemEntry, Model, ModelConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, StateProvider, Store, StoreConfig, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget } from '@bryntum/core-thin';
11
- import { AIFilter, AIFilterConfig, CellCopyPaste, CellCopyPasteConfig, CellEdit, CellEditConfig, CellEditorContext, CellMenu, CellMenuConfig, CellTooltip, CellTooltipConfig, Charts, ChartsConfig, Column, ColumnAutoWidth, ColumnAutoWidthConfig, ColumnDragToolbar, ColumnDragToolbarConfig, ColumnPicker, ColumnPickerConfig, ColumnRename, ColumnRenameConfig, ColumnReorder, ColumnReorderConfig, ColumnResize, ColumnResizeConfig, ColumnStore, ColumnStoreConfig, GridContainerItemConfig, EmptyTextDomConfig, ExcelExporter, ExcelExporterConfig, ExportConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, Grid, GridBase, GridBaseListeners, GridColumnConfig, GridLocation, GridLocationConfig, GridSelectionMode, GridStateInfo, Group, GroupConfig, GroupSummary, GroupSummaryConfig, HeaderMenu, HeaderMenuConfig, LockRows, LockRowsConfig, MergeCells, MergeCellsConfig, PdfExport, PdfExportConfig, PinColumns, PinColumnsConfig, PreserveScrollOptions, Print, PrintConfig, QuickFind, QuickFindConfig, RecordPositionContext, RegionResize, RegionResizeConfig, ResponsiveLevelConfig, Row, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowEditorContext, RowExpander, RowExpanderConfig, RowReorder, RowReorderConfig, RowResize, RowResizeConfig, Search, SearchConfig, Sort, SortConfig, Split, SplitConfig, StickyCells, StickyCellsConfig, Stripe, StripeConfig, SubGrid, SubGridConfig, Summary, SummaryConfig, Tree, TreeConfig, TreeGroup, TreeGroupConfig, XLSColumn } from '@bryntum/grid-thin';
10
+ import { AjaxStore, AjaxStoreConfig, Base, Color, Container, DomConfig, FormulaProviderConfig, KeyMapConfig, Mask, MaskConfig, Menu, MenuItem, MenuItemEntry, Model, ModelConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, StateProvider, Store, StoreConfig, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget } from '@bryntum/core-thin';
11
+ import { AI, AIConfig, AIFilter, AIFilterConfig, CellCopyPaste, CellCopyPasteConfig, CellEdit, CellEditConfig, CellEditorContext, CellMenu, CellMenuConfig, CellTooltip, CellTooltipConfig, Charts, ChartsConfig, Column, ColumnAutoWidth, ColumnAutoWidthConfig, ColumnDragToolbar, ColumnDragToolbarConfig, ColumnPicker, ColumnPickerConfig, ColumnRename, ColumnRenameConfig, ColumnReorder, ColumnReorderConfig, ColumnResize, ColumnResizeConfig, ColumnStore, ColumnStoreConfig, GridContainerItemConfig, EmptyTextDomConfig, ExcelExporter, ExcelExporterConfig, ExportConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, Grid, GridBase, GridBaseListeners, GridColumnConfig, GridLocation, GridLocationConfig, GridSelectionMode, GridStateInfo, Group, GroupConfig, GroupSummary, GroupSummaryConfig, HeaderMenu, HeaderMenuConfig, LockRows, LockRowsConfig, MergeCells, MergeCellsConfig, PdfExport, PdfExportConfig, PinColumns, PinColumnsConfig, PreserveScrollOptions, Print, PrintConfig, QuickFind, QuickFindConfig, RecordPositionContext, RegionResize, RegionResizeConfig, ResponsiveLevelConfig, Row, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowEditorContext, RowExpander, RowExpanderConfig, RowReorder, RowReorderConfig, RowResize, RowResizeConfig, Search, SearchConfig, Sort, SortConfig, Split, SplitConfig, StickyCells, StickyCellsConfig, Stripe, StripeConfig, SubGrid, SubGridConfig, Summary, SummaryConfig, Tree, TreeConfig, TreeGroup, TreeGroupConfig, XLSColumn } from '@bryntum/grid-thin';
12
12
 
13
13
  import { StringHelper } from '@bryntum/core-thin';
14
14
 
@@ -83,6 +83,10 @@ export type BryntumGridBaseProps = {
83
83
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/GridBase#config-bodyCls)
84
84
  */
85
85
  bodyCls ? : string|object
86
+ /**
87
+ * Set `true` to add a border to this container's element.
88
+ */
89
+ border ? : boolean
86
90
  /**
87
91
  * An object where property names with a truthy value indicate which events should bubble up the ownership
88
92
  * hierarchy when triggered.
@@ -134,7 +138,7 @@ export type BryntumGridBaseProps = {
134
138
  * ...
135
139
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/GridBase#config-color)
136
140
  */
137
- color ? : string
141
+ color ? : Color
138
142
  /**
139
143
  * Programmatic control over which column to start in when used in a grid layout.
140
144
  */
@@ -755,6 +759,15 @@ export type BryntumGridBaseProps = {
755
759
  width ? : string|number
756
760
 
757
761
  // Features
762
+ /**
763
+ * This feature provides an AI agent for Grid. It provides a chat panel that allows the user to send messages to the
764
+ * agent and see the responses. Which allows the user to use natural language to interact with the Grid in different
765
+ * ways. For example, the user can ask the agent to filter the data, sort it, or select specific records. The agent can
766
+ * also perform data manipulation operations such as adding, updating, deleting records.
767
+ * ...
768
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI)
769
+ */
770
+ aiFeature ? : object|boolean|string|AI|AIConfig
758
771
  /**
759
772
  * AI-powered filter feature for Grid. Allows users to type natural language queries to filter grid data.
760
773
  * ...
@@ -1053,6 +1066,7 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
1053
1066
  'onBeforeCellEditStart',
1054
1067
  'onBeforeCellRangeDelete',
1055
1068
  'onBeforeCellRangeEdit',
1069
+ 'onBeforeColumnCollapseToggle',
1056
1070
  'onBeforeColumnDragStart',
1057
1071
  'onBeforeColumnDropFinalize',
1058
1072
  'onBeforeColumnResize',
@@ -1093,6 +1107,7 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
1093
1107
  'onCellMouseOver',
1094
1108
  'onCollapse',
1095
1109
  'onCollapseNode',
1110
+ 'onColumnCollapseToggle',
1096
1111
  'onColumnDrag',
1097
1112
  'onColumnDragStart',
1098
1113
  'onColumnDrop',
@@ -1167,6 +1182,7 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
1167
1182
  ];
1168
1183
 
1169
1184
  private static bryntumFeatureNames: string[] = [
1185
+ 'aiFeature',
1170
1186
  'aiFilterFeature',
1171
1187
  'cellCopyPasteFeature',
1172
1188
  'cellEditFeature',
@@ -1221,6 +1237,7 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
1221
1237
  'autoHeight',
1222
1238
  'bbar',
1223
1239
  'bodyCls',
1240
+ 'border',
1224
1241
  'bubbleEvents',
1225
1242
  'callOnFunctions',
1226
1243
  'catchEventHandlerExceptions',
@@ -1341,6 +1358,7 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
1341
1358
  'autoHeight',
1342
1359
  'bbar',
1343
1360
  'bodyCls',
1361
+ 'border',
1344
1362
  'bubbleEvents',
1345
1363
  'collapsible',
1346
1364
  'color',
@@ -1494,9 +1512,10 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
1494
1512
  @Input() autoHeight ! : boolean;
1495
1513
  @Input() bbar ! : (GridContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null;
1496
1514
  @Input() bodyCls ! : string|object;
1515
+ @Input() border ! : boolean;
1497
1516
  @Input() bubbleEvents ! : object;
1498
1517
  @Input() collapsible ! : boolean|PanelCollapserConfig|PanelCollapserOverlayConfig;
1499
- @Input() color ! : string;
1518
+ @Input() color ! : Color;
1500
1519
  @Input() config ! : object;
1501
1520
  @Input() contentElementCls ! : string|object;
1502
1521
  @Input() contextMenuTriggerEvent ! : 'contextmenu'|'click'|'dblclick';
@@ -1652,6 +1671,7 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
1652
1671
  @Input() tooltip ! : string|TooltipConfig;
1653
1672
 
1654
1673
  // Features
1674
+ @Input() aiFeature ! : object|boolean|string|AI|AIConfig;
1655
1675
  @Input() aiFilterFeature ! : object|boolean|string|AIFilter|AIFilterConfig;
1656
1676
  @Input() cellCopyPasteFeature ! : object|boolean|string|CellCopyPaste|CellCopyPasteConfig;
1657
1677
  @Input() cellEditFeature ! : object|boolean|string|CellEdit|CellEditConfig;
@@ -1733,6 +1753,14 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
1733
1753
  * @param {any} event.value The value being set
1734
1754
  */
1735
1755
  @Output() onBeforeCellRangeEdit: any = new EventEmitter<((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string>();
1756
+ /**
1757
+ * This event is triggered before a parent column is collapsed or expanded.
1758
+ * @param {object} event Event object
1759
+ * @param {Grid.view.GridBase} event.source The grid instance
1760
+ * @param {Grid.column.Column} event.column The column
1761
+ * @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
1762
+ */
1763
+ @Output() onBeforeColumnCollapseToggle: any = new EventEmitter<((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string>();
1736
1764
  /**
1737
1765
  * This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
1738
1766
  * @param {object} event Event object
@@ -1843,18 +1871,18 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
1843
1871
  /**
1844
1872
  * Fires before a row is rendered.
1845
1873
  * @param {object} event Event object
1846
- * @param {Grid.view.Grid} event.source The firing Grid instance.
1847
- * @param {Grid.row.Row} event.row The row about to be rendered.
1848
- * @param {Core.data.Model} event.record The record for the row.
1849
- * @param {number} event.recordIndex The zero-based index of the record.
1874
+ * @param {Grid.view.GridBase} event.source The firing Grid instance
1875
+ * @param {Grid.row.Row} event.row The row about to be rendered
1876
+ * @param {Core.data.Model} event.record The record for the row
1877
+ * @param {number} event.recordIndex The zero-based index of the record
1850
1878
  */
1851
- @Output() onBeforeRenderRow: any = new EventEmitter<((event: { source: Grid, row: Row, record: Model, recordIndex: number }) => void)|string>();
1879
+ @Output() onBeforeRenderRow: any = new EventEmitter<((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string>();
1852
1880
  /**
1853
1881
  * Grid rows are about to be rendered
1854
1882
  * @param {object} event Event object
1855
- * @param {Grid.view.Grid} event.source This grid.
1883
+ * @param {Grid.view.GridBase} event.source This grid.
1856
1884
  */
1857
- @Output() onBeforeRenderRows: any = new EventEmitter<((event: { source: Grid }) => void)|string>();
1885
+ @Output() onBeforeRenderRows: any = new EventEmitter<((event: { source: GridBase }) => void)|string>();
1858
1886
  /**
1859
1887
  * This event fires before row collapse is started.
1860
1888
  * ...
@@ -2085,6 +2113,14 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
2085
2113
  * @param {Core.data.Model} event.record The record which has been collapsed.
2086
2114
  */
2087
2115
  @Output() onCollapseNode: any = new EventEmitter<((event: { source: Grid, record: Model }) => void)|string>();
2116
+ /**
2117
+ * This event is triggered after a parent column has been collapsed or expanded.
2118
+ * @param {object} event Event object
2119
+ * @param {Grid.view.GridBase} event.source The Grid instance
2120
+ * @param {Grid.column.Column} event.column The column being toggled
2121
+ * @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
2122
+ */
2123
+ @Output() onColumnCollapseToggle: any = new EventEmitter<((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string>();
2088
2124
  /**
2089
2125
  * This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
2090
2126
  * to indicate whether the drop position is valid or not.
@@ -2166,14 +2202,14 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
2166
2202
  * ...
2167
2203
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/GridBase#event-dataChange)
2168
2204
  * @param {object} event Event object
2169
- * @param {Grid.view.Grid} event.source Owning grid
2205
+ * @param {Grid.view.GridBase} event.source Owning grid
2170
2206
  * @param {Core.data.Store} event.store The originating store
2171
2207
  * @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
2172
2208
  * @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
2173
2209
  * @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
2174
2210
  * @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
2175
2211
  */
2176
- @Output() onDataChange: any = new EventEmitter<((event: { source: Grid, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string>();
2212
+ @Output() onDataChange: any = new EventEmitter<((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string>();
2177
2213
  /**
2178
2214
  * Fires when an object is destroyed.
2179
2215
  * @param {object} event Event object
@@ -2481,18 +2517,18 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
2481
2517
  /**
2482
2518
  * Fires after a row is rendered.
2483
2519
  * @param {object} event Event object
2484
- * @param {Grid.view.Grid} event.source The firing Grid instance.
2485
- * @param {Grid.row.Row} event.row The row that has been rendered.
2486
- * @param {Core.data.Model} event.record The record for the row.
2487
- * @param {number} event.recordIndex The zero-based index of the record.
2520
+ * @param {Grid.view.GridBase} event.source The firing Grid instance
2521
+ * @param {Grid.row.Row} event.row The row that has been rendered
2522
+ * @param {Core.data.Model} event.record The record for the row
2523
+ * @param {number} event.recordIndex The zero-based index of the record
2488
2524
  */
2489
- @Output() onRenderRow: any = new EventEmitter<((event: { source: Grid, row: Row, record: Model, recordIndex: number }) => void)|string>();
2525
+ @Output() onRenderRow: any = new EventEmitter<((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string>();
2490
2526
  /**
2491
2527
  * Grid rows have been rendered
2492
2528
  * @param {object} event Event object
2493
- * @param {Grid.view.Grid} event.source This grid.
2529
+ * @param {Grid.view.GridBase} event.source This grid.
2494
2530
  */
2495
- @Output() onRenderRows: any = new EventEmitter<((event: { source: Grid }) => void)|string>();
2531
+ @Output() onRenderRows: any = new EventEmitter<((event: { source: GridBase }) => void)|string>();
2496
2532
  /**
2497
2533
  * Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
2498
2534
  * @param {object} event Event object
@@ -2552,10 +2588,10 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
2552
2588
  /**
2553
2589
  * Grid has scrolled vertically
2554
2590
  * @param {object} event Event object
2555
- * @param {Grid.view.Grid} event.source The firing Grid instance.
2591
+ * @param {Grid.view.GridBase} event.source The firing Grid instance.
2556
2592
  * @param {number} event.scrollTop The vertical scroll position.
2557
2593
  */
2558
- @Output() onScroll: any = new EventEmitter<((event: { source: Grid, scrollTop: number }) => void)|string>();
2594
+ @Output() onScroll: any = new EventEmitter<((event: { source: GridBase, scrollTop: number }) => void)|string>();
2559
2595
  /**
2560
2596
  * The selection has been changed.
2561
2597
  * @param {object} event Event object
@@ -2643,17 +2679,17 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
2643
2679
  /**
2644
2680
  * Fires after a sub grid is collapsed.
2645
2681
  * @param {object} event Event object
2646
- * @param {Grid.view.Grid} event.source The firing Grid instance
2682
+ * @param {Grid.view.GridBase} event.source The firing Grid instance
2647
2683
  * @param {Grid.view.SubGrid} event.subGrid The sub grid instance
2648
2684
  */
2649
- @Output() onSubGridCollapse: any = new EventEmitter<((event: { source: Grid, subGrid: SubGrid }) => void)|string>();
2685
+ @Output() onSubGridCollapse: any = new EventEmitter<((event: { source: GridBase, subGrid: SubGrid }) => void)|string>();
2650
2686
  /**
2651
2687
  * Fires after a sub grid is expanded.
2652
2688
  * @param {object} event Event object
2653
- * @param {Grid.view.Grid} event.source The firing Grid instance
2689
+ * @param {Grid.view.GridBase} event.source The firing Grid instance
2654
2690
  * @param {Grid.view.SubGrid} event.subGrid The sub grid instance
2655
2691
  */
2656
- @Output() onSubGridExpand: any = new EventEmitter<((event: { source: Grid, subGrid: SubGrid }) => void)|string>();
2692
+ @Output() onSubGridExpand: any = new EventEmitter<((event: { source: GridBase, subGrid: SubGrid }) => void)|string>();
2657
2693
  /**
2658
2694
  * Fired when one or more groups are expanded or collapsed
2659
2695
  * @param {object} event Event object
@@ -7,7 +7,7 @@ import { Component, ElementRef, EventEmitter, Output, Input, SimpleChange, Simpl
7
7
 
8
8
  import WrapperHelper from './wrapper.helper';
9
9
 
10
- import { AlignSpec, Base, DomConfig, KeyMapConfig, MaskConfig, Rectangle, Scroller, ScrollerConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
10
+ import { AlignSpec, Base, Color, DomConfig, KeyMapConfig, MaskConfig, Rectangle, Scroller, ScrollerConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
11
11
  import { Grid, GridChartDesigner, GridChartDesignerListeners } from '@bryntum/grid-thin';
12
12
 
13
13
  import { StringHelper } from '@bryntum/core-thin';
@@ -96,7 +96,7 @@ export type BryntumGridChartDesignerProps = {
96
96
  * ...
97
97
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-color)
98
98
  */
99
- color ? : string
99
+ color ? : Color
100
100
  /**
101
101
  * Programmatic control over which column to start in when used in a grid layout.
102
102
  */
@@ -699,7 +699,7 @@ export class BryntumGridChartDesignerComponent implements OnInit, OnDestroy {
699
699
  @Input() ariaLabel ! : string;
700
700
  @Input() bubbleEvents ! : object;
701
701
  @Input() centered ! : boolean;
702
- @Input() color ! : string;
702
+ @Input() color ! : Color;
703
703
  @Input() config ! : object;
704
704
  @Input() constrainTo ! : HTMLElement|Widget|Rectangle;
705
705
  @Input() contentElementCls ! : string|object;
@@ -7,7 +7,7 @@ import { Component, ElementRef, EventEmitter, Output, Input, SimpleChange, Simpl
7
7
 
8
8
  import WrapperHelper from './wrapper.helper';
9
9
 
10
- import { AlignSpec, Base, CollectionFilterConfig, Container, DomConfig, FieldFilterPicker, FieldFilterPickerConfig, FieldFilterPickerGroup, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, MenuItemEntry, Model, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
10
+ import { AlignSpec, Base, CollectionFilterConfig, Color, Container, DomConfig, FieldFilterPicker, FieldFilterPickerConfig, FieldFilterPickerGroup, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, MenuItemEntry, Model, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
11
11
  import { GridContainerItemConfig, GridContainerLayoutConfig, Grid, GridFieldFilterPickerGroup, GridFieldFilterPickerGroupListeners } from '@bryntum/grid-thin';
12
12
 
13
13
  import { StringHelper } from '@bryntum/core-thin';
@@ -71,6 +71,10 @@ export type BryntumGridFieldFilterPickerGroupProps = {
71
71
  * Update assigned [record](https://bryntum.com/products/grid/docs/api/Core/widget/Container#config-record) automatically on field changes
72
72
  */
73
73
  autoUpdateRecord ? : boolean
74
+ /**
75
+ * Set `true` to add a border to this container's element.
76
+ */
77
+ border ? : boolean
74
78
  /**
75
79
  * An object where property names with a truthy value indicate which events should bubble up the ownership
76
80
  * hierarchy when triggered.
@@ -126,7 +130,7 @@ export type BryntumGridFieldFilterPickerGroupProps = {
126
130
  * ...
127
131
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-color)
128
132
  */
129
- color ? : string
133
+ color ? : Color
130
134
  /**
131
135
  * Programmatic control over which column to start in when used in a grid layout.
132
136
  */
@@ -697,6 +701,7 @@ export class BryntumGridFieldFilterPickerGroupComponent implements OnInit, OnDes
697
701
  'ariaDescription',
698
702
  'ariaLabel',
699
703
  'autoUpdateRecord',
704
+ 'border',
700
705
  'bubbleEvents',
701
706
  'callOnFunctions',
702
707
  'canDeleteFilter',
@@ -803,6 +808,7 @@ export class BryntumGridFieldFilterPickerGroupComponent implements OnInit, OnDes
803
808
  'ariaDescription',
804
809
  'ariaLabel',
805
810
  'autoUpdateRecord',
811
+ 'border',
806
812
  'bubbleEvents',
807
813
  'canDeleteFilter',
808
814
  'canManageFilter',
@@ -938,11 +944,12 @@ export class BryntumGridFieldFilterPickerGroupComponent implements OnInit, OnDes
938
944
  @Input() ariaDescription ! : string;
939
945
  @Input() ariaLabel ! : string;
940
946
  @Input() autoUpdateRecord ! : boolean;
947
+ @Input() border ! : boolean;
941
948
  @Input() bubbleEvents ! : object;
942
949
  @Input() canDeleteFilter ! : (filter: any) => boolean;
943
950
  @Input() canManageFilter ! : (filter: any) => boolean;
944
951
  @Input() centered ! : boolean;
945
- @Input() color ! : string;
952
+ @Input() color ! : Color;
946
953
  @Input() config ! : object;
947
954
  @Input() constrainTo ! : HTMLElement|Widget|Rectangle;
948
955
  @Input() contentElementCls ! : string|object;
@@ -7,7 +7,7 @@ import { Component, ElementRef, EventEmitter, Output, Input, SimpleChange, Simpl
7
7
 
8
8
  import WrapperHelper from './wrapper.helper';
9
9
 
10
- import { AlignSpec, Base, CollectionFilter, CollectionFilterConfig, ComboConfig, Container, DomConfig, FieldFilterPicker, FieldOption, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, MenuItemEntry, Model, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, ValueFieldPlaceholders, VueConfig, Widget } from '@bryntum/core-thin';
10
+ import { AlignSpec, Base, CollectionFilter, CollectionFilterConfig, Color, ComboConfig, Container, DomConfig, FieldFilterPicker, FieldOption, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, MenuItemEntry, Model, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, ValueFieldPlaceholders, VueConfig, Widget } from '@bryntum/core-thin';
11
11
  import { GridContainerItemConfig, GridContainerLayoutConfig, Grid, GridFieldFilterPicker, GridFieldFilterPickerListeners } from '@bryntum/grid-thin';
12
12
 
13
13
  import { StringHelper } from '@bryntum/core-thin';
@@ -69,6 +69,10 @@ export type BryntumGridFieldFilterPickerProps = {
69
69
  * Update assigned [record](https://bryntum.com/products/grid/docs/api/Core/widget/Container#config-record) automatically on field changes
70
70
  */
71
71
  autoUpdateRecord ? : boolean
72
+ /**
73
+ * Set `true` to add a border to this container's element.
74
+ */
75
+ border ? : boolean
72
76
  /**
73
77
  * An object where property names with a truthy value indicate which events should bubble up the ownership
74
78
  * hierarchy when triggered.
@@ -108,7 +112,7 @@ export type BryntumGridFieldFilterPickerProps = {
108
112
  * ...
109
113
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-color)
110
114
  */
111
- color ? : string
115
+ color ? : Color
112
116
  /**
113
117
  * Programmatic control over which column to start in when used in a grid layout.
114
118
  */
@@ -690,6 +694,7 @@ export class BryntumGridFieldFilterPickerComponent implements OnInit, OnDestroy
690
694
  'ariaDescription',
691
695
  'ariaLabel',
692
696
  'autoUpdateRecord',
697
+ 'border',
693
698
  'bubbleEvents',
694
699
  'callOnFunctions',
695
700
  'catchEventHandlerExceptions',
@@ -797,6 +802,7 @@ export class BryntumGridFieldFilterPickerComponent implements OnInit, OnDestroy
797
802
  'ariaDescription',
798
803
  'ariaLabel',
799
804
  'autoUpdateRecord',
805
+ 'border',
800
806
  'bubbleEvents',
801
807
  'centered',
802
808
  'color',
@@ -932,9 +938,10 @@ export class BryntumGridFieldFilterPickerComponent implements OnInit, OnDestroy
932
938
  @Input() ariaDescription ! : string;
933
939
  @Input() ariaLabel ! : string;
934
940
  @Input() autoUpdateRecord ! : boolean;
941
+ @Input() border ! : boolean;
935
942
  @Input() bubbleEvents ! : object;
936
943
  @Input() centered ! : boolean;
937
- @Input() color ! : string;
944
+ @Input() color ! : Color;
938
945
  @Input() config ! : object;
939
946
  @Input() constrainTo ! : HTMLElement|Widget|Rectangle;
940
947
  @Input() contentElementCls ! : string|object;