@bryntum/grid-vue-3-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 (54) hide show
  1. package/README.md +16 -10
  2. package/lib/chunks/{COu7hi0l.js → 1N5MmU6T.js} +14 -6
  3. package/lib/chunks/1N5MmU6T.js.map +1 -0
  4. package/lib/chunks/{DGygz4dO.js → B02B9_9A.js} +14 -6
  5. package/lib/chunks/B02B9_9A.js.map +1 -0
  6. package/lib/chunks/BiSBQkoK.js.map +1 -1
  7. package/lib/chunks/CBFPsO1m.js.map +1 -1
  8. package/lib/chunks/{BhovLWj6.js → CMUbwEab.js} +3 -1
  9. package/lib/chunks/CMUbwEab.js.map +1 -0
  10. package/lib/chunks/{BU8UU05k.js → CalpnIlY.js} +3 -3
  11. package/lib/chunks/CalpnIlY.js.map +1 -0
  12. package/lib/chunks/Dgq4wGRw.js.map +1 -1
  13. package/lib/chunks/Dod-SqEN.js.map +1 -1
  14. package/lib/chunks/{BddaT4s7.js → Dos88vME.js} +14 -6
  15. package/lib/chunks/Dos88vME.js.map +1 -0
  16. package/lib/chunks/{CsxXtWQr.js → OIBqQHze.js} +8 -6
  17. package/lib/chunks/OIBqQHze.js.map +1 -0
  18. package/lib/components/BryntumGrid.js +1 -1
  19. package/lib/components/BryntumGridBase.js +1 -1
  20. package/lib/components/BryntumGridFieldFilterPicker.js +1 -1
  21. package/lib/components/BryntumGridFieldFilterPickerGroup.js +1 -1
  22. package/lib/components/BryntumGroupBar.js +1 -1
  23. package/lib/components/BryntumTreeGrid.js +1 -1
  24. package/lib/helper/WrapperHelper.js +42 -42
  25. package/lib/helper/WrapperHelper.js.map +1 -1
  26. package/lib/index.js +6 -6
  27. package/package.json +1 -1
  28. package/src/components/BryntumAIFilterField.vue +2 -2
  29. package/src/components/BryntumAIFilterFieldProps.ts +2 -2
  30. package/src/components/BryntumChecklistFilterCombo.vue +2 -2
  31. package/src/components/BryntumChecklistFilterComboProps.ts +2 -2
  32. package/src/components/BryntumGrid.vue +68 -25
  33. package/src/components/BryntumGridBase.vue +68 -25
  34. package/src/components/BryntumGridBaseProps.ts +16 -3
  35. package/src/components/BryntumGridChartDesigner.vue +2 -2
  36. package/src/components/BryntumGridChartDesignerProps.ts +2 -2
  37. package/src/components/BryntumGridFieldFilterPicker.vue +7 -2
  38. package/src/components/BryntumGridFieldFilterPickerGroup.vue +7 -2
  39. package/src/components/BryntumGridFieldFilterPickerGroupProps.ts +6 -2
  40. package/src/components/BryntumGridFieldFilterPickerProps.ts +6 -2
  41. package/src/components/BryntumGridProps.ts +16 -3
  42. package/src/components/BryntumGroupBar.vue +4 -4
  43. package/src/components/BryntumGroupBarProps.ts +2 -2
  44. package/src/components/BryntumTreeCombo.vue +2 -2
  45. package/src/components/BryntumTreeComboProps.ts +2 -2
  46. package/src/components/BryntumTreeGrid.vue +68 -25
  47. package/src/components/BryntumTreeGridProps.ts +16 -3
  48. package/src/helper/WrapperHelper.ts +5 -1
  49. package/lib/chunks/BU8UU05k.js.map +0 -1
  50. package/lib/chunks/BddaT4s7.js.map +0 -1
  51. package/lib/chunks/BhovLWj6.js.map +0 -1
  52. package/lib/chunks/COu7hi0l.js.map +0 -1
  53. package/lib/chunks/CsxXtWQr.js.map +0 -1
  54. package/lib/chunks/DGygz4dO.js.map +0 -1
@@ -10,7 +10,7 @@
10
10
 
11
11
  import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
12
12
 
13
- import type { AlignSpec, Base, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Combo, ComboModel, Duration, DurationConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, List, ListConfig, MaskConfig, Model, Rectangle, Store, StoreConfig, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';
13
+ import type { AlignSpec, Base, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Color, Combo, ComboModel, Duration, DurationConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, List, ListConfig, MaskConfig, Model, Rectangle, Store, StoreConfig, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';
14
14
  import type { ChecklistFilterComboListeners, GridContainerItemConfig } from '@bryntum/grid-thin';
15
15
  import { ChecklistFilterCombo } from '@bryntum/grid-thin';
16
16
 
@@ -152,7 +152,7 @@ defineProps<{
152
152
  * ...
153
153
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-color)
154
154
  */
155
- color ? : string
155
+ color ? : Color
156
156
  /**
157
157
  * Programmatic control over which column to start in when used in a grid layout.
158
158
  */
@@ -1,4 +1,4 @@
1
- import type { AlignSpec, Base, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Combo, ComboModel, Duration, DurationConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, List, ListConfig, MaskConfig, Model, Rectangle, Store, StoreConfig, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';
1
+ import type { AlignSpec, Base, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Color, Combo, ComboModel, Duration, DurationConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, List, ListConfig, MaskConfig, Model, Rectangle, Store, StoreConfig, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';
2
2
  import type { ChecklistFilterComboListeners, GridContainerItemConfig } from '@bryntum/grid-thin';
3
3
 
4
4
  export declare type BryntumChecklistFilterComboProps = {
@@ -137,7 +137,7 @@ export declare type BryntumChecklistFilterComboProps = {
137
137
  * ...
138
138
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-color)
139
139
  */
140
- color ? : string
140
+ color ? : Color
141
141
  /**
142
142
  * Programmatic control over which column to start in when used in a grid layout.
143
143
  */
@@ -33,8 +33,8 @@
33
33
 
34
34
  import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
35
35
 
36
- import type { 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, Widget } from '@bryntum/core-thin';
37
- import type { 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, GridBase, GridColumnConfig, GridListeners, 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';
36
+ import type { 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, Widget } from '@bryntum/core-thin';
37
+ import type { 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, GridBase, GridColumnConfig, GridListeners, 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';
38
38
  import { Grid } from '@bryntum/grid-thin';
39
39
 
40
40
  import { WrapperHelper } from '../helper/WrapperHelper';
@@ -110,6 +110,10 @@ defineProps<{
110
110
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/Grid#config-bodyCls)
111
111
  */
112
112
  bodyCls ? : string|object
113
+ /**
114
+ * Set `true` to add a border to this container's element.
115
+ */
116
+ border ? : Boolean
113
117
  /**
114
118
  * An object where property names with a truthy value indicate which events should bubble up the ownership
115
119
  * hierarchy when triggered.
@@ -161,7 +165,7 @@ defineProps<{
161
165
  * ...
162
166
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/Grid#config-color)
163
167
  */
164
- color ? : string
168
+ color ? : Color
165
169
  /**
166
170
  * Programmatic control over which column to start in when used in a grid layout.
167
171
  */
@@ -783,6 +787,15 @@ defineProps<{
783
787
  width ? : string|number
784
788
 
785
789
  // Features
790
+ /**
791
+ * This feature provides an AI agent for Grid. It provides a chat panel that allows the user to send messages to the
792
+ * agent and see the responses. Which allows the user to use natural language to interact with the Grid in different
793
+ * ways. For example, the user can ask the agent to filter the data, sort it, or select specific records. The agent can
794
+ * also perform data manipulation operations such as adding, updating, deleting records.
795
+ * ...
796
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI)
797
+ */
798
+ aiFeature ? : object|Boolean|string|AI|AIConfig
786
799
  /**
787
800
  * AI-powered filter feature for Grid. Allows users to type natural language queries to filter grid data.
788
801
  * ...
@@ -1125,6 +1138,18 @@ const emit = defineEmits<{
1125
1138
  * @param {any} params.params.event.value The value being set
1126
1139
  */
1127
1140
  (e: 'beforeCellRangeEdit', params: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1141
+ /**
1142
+ * This event is triggered before a parent column is collapsed or expanded.
1143
+ * @param {string} e Event name
1144
+ * @param {object} params Event parameters
1145
+ * @param {string} params.e Event name
1146
+ * @param {object} params.params Event parameters
1147
+ * @param {object} params.params.event Event object
1148
+ * @param {Grid.view.GridBase} params.params.event.source The grid instance
1149
+ * @param {Grid.column.Column} params.params.event.column The column
1150
+ * @param {boolean} params.params.event.collapsed `true` if the column is being collapsed, `false` if expanded
1151
+ */
1152
+ (e: 'beforeColumnCollapseToggle', params: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string): void
1128
1153
  /**
1129
1154
  * This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
1130
1155
  * @param {string} e Event name
@@ -1291,12 +1316,12 @@ const emit = defineEmits<{
1291
1316
  * @param {string} params.e Event name
1292
1317
  * @param {object} params.params Event parameters
1293
1318
  * @param {object} params.params.event Event object
1294
- * @param {Grid.view.Grid} params.params.event.source The firing Grid instance.
1295
- * @param {Grid.row.Row} params.params.event.row The row about to be rendered.
1296
- * @param {Core.data.Model} params.params.event.record The record for the row.
1297
- * @param {number} params.params.event.recordIndex The zero-based index of the record.
1319
+ * @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
1320
+ * @param {Grid.row.Row} params.params.event.row The row about to be rendered
1321
+ * @param {Core.data.Model} params.params.event.record The record for the row
1322
+ * @param {number} params.params.event.recordIndex The zero-based index of the record
1298
1323
  */
1299
- (e: 'beforeRenderRow', params: ((event: { source: Grid, row: Row, record: Model, recordIndex: number }) => void)|string): void
1324
+ (e: 'beforeRenderRow', params: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string): void
1300
1325
  /**
1301
1326
  * Grid rows are about to be rendered
1302
1327
  * @param {string} e Event name
@@ -1304,9 +1329,9 @@ const emit = defineEmits<{
1304
1329
  * @param {string} params.e Event name
1305
1330
  * @param {object} params.params Event parameters
1306
1331
  * @param {object} params.params.event Event object
1307
- * @param {Grid.view.Grid} params.params.event.source This grid.
1332
+ * @param {Grid.view.GridBase} params.params.event.source This grid.
1308
1333
  */
1309
- (e: 'beforeRenderRows', params: ((event: { source: Grid }) => void)|string): void
1334
+ (e: 'beforeRenderRows', params: ((event: { source: GridBase }) => void)|string): void
1310
1335
  /**
1311
1336
  * This event fires before row collapse is started.
1312
1337
  * ...
@@ -1637,6 +1662,18 @@ const emit = defineEmits<{
1637
1662
  * @param {Core.data.Model} params.params.event.record The record which has been collapsed.
1638
1663
  */
1639
1664
  (e: 'collapseNode', params: ((event: { source: Grid, record: Model }) => void)|string): void
1665
+ /**
1666
+ * This event is triggered after a parent column has been collapsed or expanded.
1667
+ * @param {string} e Event name
1668
+ * @param {object} params Event parameters
1669
+ * @param {string} params.e Event name
1670
+ * @param {object} params.params Event parameters
1671
+ * @param {object} params.params.event Event object
1672
+ * @param {Grid.view.GridBase} params.params.event.source The Grid instance
1673
+ * @param {Grid.column.Column} params.params.event.column The column being toggled
1674
+ * @param {boolean} params.params.event.collapsed `true` if the column is now collapsed, `false` if expanded
1675
+ */
1676
+ (e: 'columnCollapseToggle', params: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string): void
1640
1677
  /**
1641
1678
  * This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
1642
1679
  * to indicate whether the drop position is valid or not.
@@ -1754,14 +1791,14 @@ const emit = defineEmits<{
1754
1791
  * @param {string} params.e Event name
1755
1792
  * @param {object} params.params Event parameters
1756
1793
  * @param {object} params.params.event Event object
1757
- * @param {Grid.view.Grid} params.params.event.source Owning grid
1794
+ * @param {Grid.view.GridBase} params.params.event.source Owning grid
1758
1795
  * @param {Core.data.Store} params.params.event.store The originating store
1759
1796
  * @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} params.params.event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
1760
1797
  * @param {Core.data.Model} params.params.event.record Changed record, for actions that affects exactly one record (`'update'`)
1761
1798
  * @param {Core.data.Model[]} params.params.event.records Changed records, passed for all actions except `'removeAll'`
1762
1799
  * @param {object} params.params.event.changes Passed for the `'update'` action, info on which record fields changed
1763
1800
  */
1764
- (e: 'dataChange', params: ((event: { source: Grid, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string): void
1801
+ (e: 'dataChange', params: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string): void
1765
1802
  /**
1766
1803
  * Fires when an object is destroyed.
1767
1804
  * @param {string} e Event name
@@ -2209,12 +2246,12 @@ const emit = defineEmits<{
2209
2246
  * @param {string} params.e Event name
2210
2247
  * @param {object} params.params Event parameters
2211
2248
  * @param {object} params.params.event Event object
2212
- * @param {Grid.view.Grid} params.params.event.source The firing Grid instance.
2213
- * @param {Grid.row.Row} params.params.event.row The row that has been rendered.
2214
- * @param {Core.data.Model} params.params.event.record The record for the row.
2215
- * @param {number} params.params.event.recordIndex The zero-based index of the record.
2249
+ * @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
2250
+ * @param {Grid.row.Row} params.params.event.row The row that has been rendered
2251
+ * @param {Core.data.Model} params.params.event.record The record for the row
2252
+ * @param {number} params.params.event.recordIndex The zero-based index of the record
2216
2253
  */
2217
- (e: 'renderRow', params: ((event: { source: Grid, row: Row, record: Model, recordIndex: number }) => void)|string): void
2254
+ (e: 'renderRow', params: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string): void
2218
2255
  /**
2219
2256
  * Grid rows have been rendered
2220
2257
  * @param {string} e Event name
@@ -2222,9 +2259,9 @@ const emit = defineEmits<{
2222
2259
  * @param {string} params.e Event name
2223
2260
  * @param {object} params.params Event parameters
2224
2261
  * @param {object} params.params.event Event object
2225
- * @param {Grid.view.Grid} params.params.event.source This grid.
2262
+ * @param {Grid.view.GridBase} params.params.event.source This grid.
2226
2263
  */
2227
- (e: 'renderRows', params: ((event: { source: Grid }) => void)|string): void
2264
+ (e: 'renderRows', params: ((event: { source: GridBase }) => void)|string): void
2228
2265
  /**
2229
2266
  * 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`*.
2230
2267
  * @param {string} e Event name
@@ -2312,10 +2349,10 @@ const emit = defineEmits<{
2312
2349
  * @param {string} params.e Event name
2313
2350
  * @param {object} params.params Event parameters
2314
2351
  * @param {object} params.params.event Event object
2315
- * @param {Grid.view.Grid} params.params.event.source The firing Grid instance.
2352
+ * @param {Grid.view.GridBase} params.params.event.source The firing Grid instance.
2316
2353
  * @param {number} params.params.event.scrollTop The vertical scroll position.
2317
2354
  */
2318
- (e: 'scroll', params: ((event: { source: Grid, scrollTop: number }) => void)|string): void
2355
+ (e: 'scroll', params: ((event: { source: GridBase, scrollTop: number }) => void)|string): void
2319
2356
  /**
2320
2357
  * The selection has been changed.
2321
2358
  * @param {string} e Event name
@@ -2447,10 +2484,10 @@ const emit = defineEmits<{
2447
2484
  * @param {string} params.e Event name
2448
2485
  * @param {object} params.params Event parameters
2449
2486
  * @param {object} params.params.event Event object
2450
- * @param {Grid.view.Grid} params.params.event.source The firing Grid instance
2487
+ * @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
2451
2488
  * @param {Grid.view.SubGrid} params.params.event.subGrid The sub grid instance
2452
2489
  */
2453
- (e: 'subGridCollapse', params: ((event: { source: Grid, subGrid: SubGrid }) => void)|string): void
2490
+ (e: 'subGridCollapse', params: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string): void
2454
2491
  /**
2455
2492
  * Fires after a sub grid is expanded.
2456
2493
  * @param {string} e Event name
@@ -2458,10 +2495,10 @@ const emit = defineEmits<{
2458
2495
  * @param {string} params.e Event name
2459
2496
  * @param {object} params.params Event parameters
2460
2497
  * @param {object} params.params.event Event object
2461
- * @param {Grid.view.Grid} params.params.event.source The firing Grid instance
2498
+ * @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
2462
2499
  * @param {Grid.view.SubGrid} params.params.event.subGrid The sub grid instance
2463
2500
  */
2464
- (e: 'subGridExpand', params: ((event: { source: Grid, subGrid: SubGrid }) => void)|string): void
2501
+ (e: 'subGridExpand', params: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string): void
2465
2502
  /**
2466
2503
  * Fired when one or more groups are expanded or collapsed
2467
2504
  * @param {string} e Event name
@@ -2524,6 +2561,7 @@ const widgetData = {
2524
2561
  },
2525
2562
  projectStores : false,
2526
2563
  featureNames : [
2564
+ 'aiFeature',
2527
2565
  'aiFilterFeature',
2528
2566
  'cellCopyPasteFeature',
2529
2567
  'cellEditFeature',
@@ -2575,6 +2613,7 @@ const widgetData = {
2575
2613
  'autoHeight',
2576
2614
  'bbar',
2577
2615
  'bodyCls',
2616
+ 'border',
2578
2617
  'bubbleEvents',
2579
2618
  'collapsible',
2580
2619
  'color',
@@ -2679,6 +2718,7 @@ const widgetData = {
2679
2718
  'onBeforeCellEditStart',
2680
2719
  'onBeforeCellRangeDelete',
2681
2720
  'onBeforeCellRangeEdit',
2721
+ 'onBeforeColumnCollapseToggle',
2682
2722
  'onBeforeColumnDragStart',
2683
2723
  'onBeforeColumnDropFinalize',
2684
2724
  'onBeforeColumnResize',
@@ -2719,6 +2759,7 @@ const widgetData = {
2719
2759
  'onCellMouseOver',
2720
2760
  'onCollapse',
2721
2761
  'onCollapseNode',
2762
+ 'onColumnCollapseToggle',
2722
2763
  'onColumnDrag',
2723
2764
  'onColumnDragStart',
2724
2765
  'onColumnDrop',
@@ -2826,6 +2867,7 @@ const widgetData = {
2826
2867
  'beforeCellEditStart',
2827
2868
  'beforeCellRangeDelete',
2828
2869
  'beforeCellRangeEdit',
2870
+ 'beforeColumnCollapseToggle',
2829
2871
  'beforeColumnDragStart',
2830
2872
  'beforeColumnDropFinalize',
2831
2873
  'beforeColumnResize',
@@ -2866,6 +2908,7 @@ const widgetData = {
2866
2908
  'cellMouseOver',
2867
2909
  'collapse',
2868
2910
  'collapseNode',
2911
+ 'columnCollapseToggle',
2869
2912
  'columnDrag',
2870
2913
  'columnDragStart',
2871
2914
  'columnDrop',
@@ -33,8 +33,8 @@
33
33
 
34
34
  import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
35
35
 
36
- import type { 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, Widget } from '@bryntum/core-thin';
37
- import type { 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, 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';
36
+ import type { 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, Widget } from '@bryntum/core-thin';
37
+ import type { 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, 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';
38
38
  import { GridBase } from '@bryntum/grid-thin';
39
39
 
40
40
  import { WrapperHelper } from '../helper/WrapperHelper';
@@ -110,6 +110,10 @@ defineProps<{
110
110
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/GridBase#config-bodyCls)
111
111
  */
112
112
  bodyCls ? : string|object
113
+ /**
114
+ * Set `true` to add a border to this container's element.
115
+ */
116
+ border ? : Boolean
113
117
  /**
114
118
  * An object where property names with a truthy value indicate which events should bubble up the ownership
115
119
  * hierarchy when triggered.
@@ -161,7 +165,7 @@ defineProps<{
161
165
  * ...
162
166
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/GridBase#config-color)
163
167
  */
164
- color ? : string
168
+ color ? : Color
165
169
  /**
166
170
  * Programmatic control over which column to start in when used in a grid layout.
167
171
  */
@@ -782,6 +786,15 @@ defineProps<{
782
786
  width ? : string|number
783
787
 
784
788
  // Features
789
+ /**
790
+ * This feature provides an AI agent for Grid. It provides a chat panel that allows the user to send messages to the
791
+ * agent and see the responses. Which allows the user to use natural language to interact with the Grid in different
792
+ * ways. For example, the user can ask the agent to filter the data, sort it, or select specific records. The agent can
793
+ * also perform data manipulation operations such as adding, updating, deleting records.
794
+ * ...
795
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI)
796
+ */
797
+ aiFeature ? : object|Boolean|string|AI|AIConfig
785
798
  /**
786
799
  * AI-powered filter feature for Grid. Allows users to type natural language queries to filter grid data.
787
800
  * ...
@@ -1124,6 +1137,18 @@ const emit = defineEmits<{
1124
1137
  * @param {any} params.params.event.value The value being set
1125
1138
  */
1126
1139
  (e: 'beforeCellRangeEdit', params: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1140
+ /**
1141
+ * This event is triggered before a parent column is collapsed or expanded.
1142
+ * @param {string} e Event name
1143
+ * @param {object} params Event parameters
1144
+ * @param {string} params.e Event name
1145
+ * @param {object} params.params Event parameters
1146
+ * @param {object} params.params.event Event object
1147
+ * @param {Grid.view.GridBase} params.params.event.source The grid instance
1148
+ * @param {Grid.column.Column} params.params.event.column The column
1149
+ * @param {boolean} params.params.event.collapsed `true` if the column is being collapsed, `false` if expanded
1150
+ */
1151
+ (e: 'beforeColumnCollapseToggle', params: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string): void
1127
1152
  /**
1128
1153
  * This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
1129
1154
  * @param {string} e Event name
@@ -1290,12 +1315,12 @@ const emit = defineEmits<{
1290
1315
  * @param {string} params.e Event name
1291
1316
  * @param {object} params.params Event parameters
1292
1317
  * @param {object} params.params.event Event object
1293
- * @param {Grid.view.Grid} params.params.event.source The firing Grid instance.
1294
- * @param {Grid.row.Row} params.params.event.row The row about to be rendered.
1295
- * @param {Core.data.Model} params.params.event.record The record for the row.
1296
- * @param {number} params.params.event.recordIndex The zero-based index of the record.
1318
+ * @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
1319
+ * @param {Grid.row.Row} params.params.event.row The row about to be rendered
1320
+ * @param {Core.data.Model} params.params.event.record The record for the row
1321
+ * @param {number} params.params.event.recordIndex The zero-based index of the record
1297
1322
  */
1298
- (e: 'beforeRenderRow', params: ((event: { source: Grid, row: Row, record: Model, recordIndex: number }) => void)|string): void
1323
+ (e: 'beforeRenderRow', params: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string): void
1299
1324
  /**
1300
1325
  * Grid rows are about to be rendered
1301
1326
  * @param {string} e Event name
@@ -1303,9 +1328,9 @@ const emit = defineEmits<{
1303
1328
  * @param {string} params.e Event name
1304
1329
  * @param {object} params.params Event parameters
1305
1330
  * @param {object} params.params.event Event object
1306
- * @param {Grid.view.Grid} params.params.event.source This grid.
1331
+ * @param {Grid.view.GridBase} params.params.event.source This grid.
1307
1332
  */
1308
- (e: 'beforeRenderRows', params: ((event: { source: Grid }) => void)|string): void
1333
+ (e: 'beforeRenderRows', params: ((event: { source: GridBase }) => void)|string): void
1309
1334
  /**
1310
1335
  * This event fires before row collapse is started.
1311
1336
  * ...
@@ -1636,6 +1661,18 @@ const emit = defineEmits<{
1636
1661
  * @param {Core.data.Model} params.params.event.record The record which has been collapsed.
1637
1662
  */
1638
1663
  (e: 'collapseNode', params: ((event: { source: Grid, record: Model }) => void)|string): void
1664
+ /**
1665
+ * This event is triggered after a parent column has been collapsed or expanded.
1666
+ * @param {string} e Event name
1667
+ * @param {object} params Event parameters
1668
+ * @param {string} params.e Event name
1669
+ * @param {object} params.params Event parameters
1670
+ * @param {object} params.params.event Event object
1671
+ * @param {Grid.view.GridBase} params.params.event.source The Grid instance
1672
+ * @param {Grid.column.Column} params.params.event.column The column being toggled
1673
+ * @param {boolean} params.params.event.collapsed `true` if the column is now collapsed, `false` if expanded
1674
+ */
1675
+ (e: 'columnCollapseToggle', params: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string): void
1639
1676
  /**
1640
1677
  * This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
1641
1678
  * to indicate whether the drop position is valid or not.
@@ -1753,14 +1790,14 @@ const emit = defineEmits<{
1753
1790
  * @param {string} params.e Event name
1754
1791
  * @param {object} params.params Event parameters
1755
1792
  * @param {object} params.params.event Event object
1756
- * @param {Grid.view.Grid} params.params.event.source Owning grid
1793
+ * @param {Grid.view.GridBase} params.params.event.source Owning grid
1757
1794
  * @param {Core.data.Store} params.params.event.store The originating store
1758
1795
  * @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} params.params.event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
1759
1796
  * @param {Core.data.Model} params.params.event.record Changed record, for actions that affects exactly one record (`'update'`)
1760
1797
  * @param {Core.data.Model[]} params.params.event.records Changed records, passed for all actions except `'removeAll'`
1761
1798
  * @param {object} params.params.event.changes Passed for the `'update'` action, info on which record fields changed
1762
1799
  */
1763
- (e: 'dataChange', params: ((event: { source: Grid, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string): void
1800
+ (e: 'dataChange', params: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string): void
1764
1801
  /**
1765
1802
  * Fires when an object is destroyed.
1766
1803
  * @param {string} e Event name
@@ -2208,12 +2245,12 @@ const emit = defineEmits<{
2208
2245
  * @param {string} params.e Event name
2209
2246
  * @param {object} params.params Event parameters
2210
2247
  * @param {object} params.params.event Event object
2211
- * @param {Grid.view.Grid} params.params.event.source The firing Grid instance.
2212
- * @param {Grid.row.Row} params.params.event.row The row that has been rendered.
2213
- * @param {Core.data.Model} params.params.event.record The record for the row.
2214
- * @param {number} params.params.event.recordIndex The zero-based index of the record.
2248
+ * @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
2249
+ * @param {Grid.row.Row} params.params.event.row The row that has been rendered
2250
+ * @param {Core.data.Model} params.params.event.record The record for the row
2251
+ * @param {number} params.params.event.recordIndex The zero-based index of the record
2215
2252
  */
2216
- (e: 'renderRow', params: ((event: { source: Grid, row: Row, record: Model, recordIndex: number }) => void)|string): void
2253
+ (e: 'renderRow', params: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string): void
2217
2254
  /**
2218
2255
  * Grid rows have been rendered
2219
2256
  * @param {string} e Event name
@@ -2221,9 +2258,9 @@ const emit = defineEmits<{
2221
2258
  * @param {string} params.e Event name
2222
2259
  * @param {object} params.params Event parameters
2223
2260
  * @param {object} params.params.event Event object
2224
- * @param {Grid.view.Grid} params.params.event.source This grid.
2261
+ * @param {Grid.view.GridBase} params.params.event.source This grid.
2225
2262
  */
2226
- (e: 'renderRows', params: ((event: { source: Grid }) => void)|string): void
2263
+ (e: 'renderRows', params: ((event: { source: GridBase }) => void)|string): void
2227
2264
  /**
2228
2265
  * 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`*.
2229
2266
  * @param {string} e Event name
@@ -2311,10 +2348,10 @@ const emit = defineEmits<{
2311
2348
  * @param {string} params.e Event name
2312
2349
  * @param {object} params.params Event parameters
2313
2350
  * @param {object} params.params.event Event object
2314
- * @param {Grid.view.Grid} params.params.event.source The firing Grid instance.
2351
+ * @param {Grid.view.GridBase} params.params.event.source The firing Grid instance.
2315
2352
  * @param {number} params.params.event.scrollTop The vertical scroll position.
2316
2353
  */
2317
- (e: 'scroll', params: ((event: { source: Grid, scrollTop: number }) => void)|string): void
2354
+ (e: 'scroll', params: ((event: { source: GridBase, scrollTop: number }) => void)|string): void
2318
2355
  /**
2319
2356
  * The selection has been changed.
2320
2357
  * @param {string} e Event name
@@ -2446,10 +2483,10 @@ const emit = defineEmits<{
2446
2483
  * @param {string} params.e Event name
2447
2484
  * @param {object} params.params Event parameters
2448
2485
  * @param {object} params.params.event Event object
2449
- * @param {Grid.view.Grid} params.params.event.source The firing Grid instance
2486
+ * @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
2450
2487
  * @param {Grid.view.SubGrid} params.params.event.subGrid The sub grid instance
2451
2488
  */
2452
- (e: 'subGridCollapse', params: ((event: { source: Grid, subGrid: SubGrid }) => void)|string): void
2489
+ (e: 'subGridCollapse', params: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string): void
2453
2490
  /**
2454
2491
  * Fires after a sub grid is expanded.
2455
2492
  * @param {string} e Event name
@@ -2457,10 +2494,10 @@ const emit = defineEmits<{
2457
2494
  * @param {string} params.e Event name
2458
2495
  * @param {object} params.params Event parameters
2459
2496
  * @param {object} params.params.event Event object
2460
- * @param {Grid.view.Grid} params.params.event.source The firing Grid instance
2497
+ * @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
2461
2498
  * @param {Grid.view.SubGrid} params.params.event.subGrid The sub grid instance
2462
2499
  */
2463
- (e: 'subGridExpand', params: ((event: { source: Grid, subGrid: SubGrid }) => void)|string): void
2500
+ (e: 'subGridExpand', params: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string): void
2464
2501
  /**
2465
2502
  * Fired when one or more groups are expanded or collapsed
2466
2503
  * @param {string} e Event name
@@ -2522,6 +2559,7 @@ const widgetData = {
2522
2559
  },
2523
2560
  projectStores : false,
2524
2561
  featureNames : [
2562
+ 'aiFeature',
2525
2563
  'aiFilterFeature',
2526
2564
  'cellCopyPasteFeature',
2527
2565
  'cellEditFeature',
@@ -2573,6 +2611,7 @@ const widgetData = {
2573
2611
  'autoHeight',
2574
2612
  'bbar',
2575
2613
  'bodyCls',
2614
+ 'border',
2576
2615
  'bubbleEvents',
2577
2616
  'collapsible',
2578
2617
  'color',
@@ -2676,6 +2715,7 @@ const widgetData = {
2676
2715
  'onBeforeCellEditStart',
2677
2716
  'onBeforeCellRangeDelete',
2678
2717
  'onBeforeCellRangeEdit',
2718
+ 'onBeforeColumnCollapseToggle',
2679
2719
  'onBeforeColumnDragStart',
2680
2720
  'onBeforeColumnDropFinalize',
2681
2721
  'onBeforeColumnResize',
@@ -2716,6 +2756,7 @@ const widgetData = {
2716
2756
  'onCellMouseOver',
2717
2757
  'onCollapse',
2718
2758
  'onCollapseNode',
2759
+ 'onColumnCollapseToggle',
2719
2760
  'onColumnDrag',
2720
2761
  'onColumnDragStart',
2721
2762
  'onColumnDrop',
@@ -2823,6 +2864,7 @@ const widgetData = {
2823
2864
  'beforeCellEditStart',
2824
2865
  'beforeCellRangeDelete',
2825
2866
  'beforeCellRangeEdit',
2867
+ 'beforeColumnCollapseToggle',
2826
2868
  'beforeColumnDragStart',
2827
2869
  'beforeColumnDropFinalize',
2828
2870
  'beforeColumnResize',
@@ -2863,6 +2905,7 @@ const widgetData = {
2863
2905
  'cellMouseOver',
2864
2906
  'collapse',
2865
2907
  'collapseNode',
2908
+ 'columnCollapseToggle',
2866
2909
  'columnDrag',
2867
2910
  'columnDragStart',
2868
2911
  'columnDrop',
@@ -1,5 +1,5 @@
1
- import type { AjaxStore, AjaxStoreConfig, DomConfig, FormulaProviderConfig, KeyMapConfig, Mask, MaskConfig, Model, ModelConfig, PagingToolbarConfig, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, StateProvider, Store, StoreConfig, TabConfig, ToolConfig, ToolbarConfig, ToolbarItems, Widget } from '@bryntum/core-thin';
2
- import type { AIFilter, AIFilterConfig, CellCopyPaste, CellCopyPasteConfig, CellEdit, CellEditConfig, CellMenu, CellMenuConfig, CellTooltip, CellTooltipConfig, Charts, ChartsConfig, ColumnAutoWidth, ColumnAutoWidthConfig, ColumnDragToolbar, ColumnDragToolbarConfig, ColumnPicker, ColumnPickerConfig, ColumnRename, ColumnRenameConfig, ColumnReorder, ColumnReorderConfig, ColumnResize, ColumnResizeConfig, ColumnStore, ColumnStoreConfig, GridContainerItemConfig, EmptyTextDomConfig, ExcelExporter, ExcelExporterConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, GridBaseListeners, GridColumnConfig, GridSelectionMode, Group, GroupConfig, GroupSummary, GroupSummaryConfig, HeaderMenu, HeaderMenuConfig, LockRows, LockRowsConfig, MergeCells, MergeCellsConfig, PdfExport, PdfExportConfig, PinColumns, PinColumnsConfig, PreserveScrollOptions, Print, PrintConfig, QuickFind, QuickFindConfig, RegionResize, RegionResizeConfig, ResponsiveLevelConfig, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowExpander, RowExpanderConfig, RowReorder, RowReorderConfig, RowResize, RowResizeConfig, Search, SearchConfig, Sort, SortConfig, Split, SplitConfig, StickyCells, StickyCellsConfig, Stripe, StripeConfig, SubGridConfig, Summary, SummaryConfig, Tree, TreeConfig, TreeGroup, TreeGroupConfig } from '@bryntum/grid-thin';
1
+ import type { AjaxStore, AjaxStoreConfig, Color, DomConfig, FormulaProviderConfig, KeyMapConfig, Mask, MaskConfig, Model, ModelConfig, PagingToolbarConfig, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, StateProvider, Store, StoreConfig, TabConfig, ToolConfig, ToolbarConfig, ToolbarItems, Widget } from '@bryntum/core-thin';
2
+ import type { AI, AIConfig, AIFilter, AIFilterConfig, CellCopyPaste, CellCopyPasteConfig, CellEdit, CellEditConfig, CellMenu, CellMenuConfig, CellTooltip, CellTooltipConfig, Charts, ChartsConfig, ColumnAutoWidth, ColumnAutoWidthConfig, ColumnDragToolbar, ColumnDragToolbarConfig, ColumnPicker, ColumnPickerConfig, ColumnRename, ColumnRenameConfig, ColumnReorder, ColumnReorderConfig, ColumnResize, ColumnResizeConfig, ColumnStore, ColumnStoreConfig, GridContainerItemConfig, EmptyTextDomConfig, ExcelExporter, ExcelExporterConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, GridBaseListeners, GridColumnConfig, GridSelectionMode, Group, GroupConfig, GroupSummary, GroupSummaryConfig, HeaderMenu, HeaderMenuConfig, LockRows, LockRowsConfig, MergeCells, MergeCellsConfig, PdfExport, PdfExportConfig, PinColumns, PinColumnsConfig, PreserveScrollOptions, Print, PrintConfig, QuickFind, QuickFindConfig, RegionResize, RegionResizeConfig, ResponsiveLevelConfig, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowExpander, RowExpanderConfig, RowReorder, RowReorderConfig, RowResize, RowResizeConfig, Search, SearchConfig, Sort, SortConfig, Split, SplitConfig, StickyCells, StickyCellsConfig, Stripe, StripeConfig, SubGridConfig, Summary, SummaryConfig, Tree, TreeConfig, TreeGroup, TreeGroupConfig } from '@bryntum/grid-thin';
3
3
 
4
4
  export declare type BryntumGridBaseProps = {
5
5
  // Configs
@@ -72,6 +72,10 @@ export declare type BryntumGridBaseProps = {
72
72
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/GridBase#config-bodyCls)
73
73
  */
74
74
  bodyCls ? : string|object
75
+ /**
76
+ * Set `true` to add a border to this container's element.
77
+ */
78
+ border ? : Boolean
75
79
  /**
76
80
  * An object where property names with a truthy value indicate which events should bubble up the ownership
77
81
  * hierarchy when triggered.
@@ -123,7 +127,7 @@ export declare type BryntumGridBaseProps = {
123
127
  * ...
124
128
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/GridBase#config-color)
125
129
  */
126
- color ? : string
130
+ color ? : Color
127
131
  /**
128
132
  * Programmatic control over which column to start in when used in a grid layout.
129
133
  */
@@ -744,6 +748,15 @@ export declare type BryntumGridBaseProps = {
744
748
  width ? : string|number
745
749
 
746
750
  // Features
751
+ /**
752
+ * This feature provides an AI agent for Grid. It provides a chat panel that allows the user to send messages to the
753
+ * agent and see the responses. Which allows the user to use natural language to interact with the Grid in different
754
+ * ways. For example, the user can ask the agent to filter the data, sort it, or select specific records. The agent can
755
+ * also perform data manipulation operations such as adding, updating, deleting records.
756
+ * ...
757
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI)
758
+ */
759
+ aiFeature ? : object|Boolean|string|AI|AIConfig
747
760
  /**
748
761
  * AI-powered filter feature for Grid. Allows users to type natural language queries to filter grid data.
749
762
  * ...
@@ -10,7 +10,7 @@
10
10
 
11
11
  import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
12
12
 
13
- import type { AlignSpec, Base, DomConfig, KeyMapConfig, MaskConfig, Rectangle, Scroller, ScrollerConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
13
+ import type { AlignSpec, Base, Color, DomConfig, KeyMapConfig, MaskConfig, Rectangle, Scroller, ScrollerConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
14
14
  import type { Grid, GridChartDesignerListeners } from '@bryntum/grid-thin';
15
15
  import { GridChartDesigner } from '@bryntum/grid-thin';
16
16
 
@@ -100,7 +100,7 @@ defineProps<{
100
100
  * ...
101
101
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-color)
102
102
  */
103
- color ? : string
103
+ color ? : Color
104
104
  /**
105
105
  * Programmatic control over which column to start in when used in a grid layout.
106
106
  */
@@ -1,4 +1,4 @@
1
- import type { AlignSpec, Base, DomConfig, KeyMapConfig, MaskConfig, Rectangle, Scroller, ScrollerConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
1
+ import type { AlignSpec, Base, Color, DomConfig, KeyMapConfig, MaskConfig, Rectangle, Scroller, ScrollerConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
2
2
  import type { Grid, GridChartDesignerListeners } from '@bryntum/grid-thin';
3
3
 
4
4
  export declare type BryntumGridChartDesignerProps = {
@@ -85,7 +85,7 @@ export declare type BryntumGridChartDesignerProps = {
85
85
  * ...
86
86
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-color)
87
87
  */
88
- color ? : string
88
+ color ? : Color
89
89
  /**
90
90
  * Programmatic control over which column to start in when used in a grid layout.
91
91
  */