@bryntum/grid-trial 7.1.3 → 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 (70) hide show
  1. package/README.md +1 -1
  2. package/fluent2-dark.css +1 -1
  3. package/fluent2-light.css +1 -1
  4. package/grid.css +2 -2
  5. package/grid.d.ts +5552 -1404
  6. package/grid.lwc.module.d.ts +1 -1
  7. package/grid.lwc.module.js +2 -2
  8. package/grid.module.d.ts +1 -1
  9. package/grid.module.js +47 -46
  10. package/grid.thin.d.ts +555 -24
  11. package/grid.umd.d.ts +1 -1
  12. package/grid.umd.js +54 -53
  13. package/grid.wc.module.d.ts +1 -1
  14. package/grid.wc.module.js +47 -46
  15. package/high-contrast-dark.css +1 -1
  16. package/high-contrast-light.css +1 -1
  17. package/locales/grid.locale.Ar.js +1 -1
  18. package/locales/grid.locale.Bg.js +1 -1
  19. package/locales/grid.locale.Ca.js +1 -1
  20. package/locales/grid.locale.Cs.js +1 -1
  21. package/locales/grid.locale.Da.js +1 -1
  22. package/locales/grid.locale.De.js +1 -1
  23. package/locales/grid.locale.El.js +1 -1
  24. package/locales/grid.locale.En.js +1 -1
  25. package/locales/grid.locale.EnGb.js +1 -1
  26. package/locales/grid.locale.Es.js +1 -1
  27. package/locales/grid.locale.Et.js +1 -1
  28. package/locales/grid.locale.Eu.js +1 -1
  29. package/locales/grid.locale.Fi.js +1 -1
  30. package/locales/grid.locale.FrFr.js +1 -1
  31. package/locales/grid.locale.Gl.js +1 -1
  32. package/locales/grid.locale.He.js +1 -1
  33. package/locales/grid.locale.Hi.js +1 -1
  34. package/locales/grid.locale.Hr.js +1 -1
  35. package/locales/grid.locale.Hu.js +1 -1
  36. package/locales/grid.locale.Id.js +1 -1
  37. package/locales/grid.locale.It.js +1 -1
  38. package/locales/grid.locale.Ja.js +1 -1
  39. package/locales/grid.locale.Kk.js +1 -1
  40. package/locales/grid.locale.Ko.js +1 -1
  41. package/locales/grid.locale.Lt.js +1 -1
  42. package/locales/grid.locale.Lv.js +1 -1
  43. package/locales/grid.locale.Ms.js +1 -1
  44. package/locales/grid.locale.Nl.js +1 -1
  45. package/locales/grid.locale.No.js +1 -1
  46. package/locales/grid.locale.Pl.js +1 -1
  47. package/locales/grid.locale.Pt.js +1 -1
  48. package/locales/grid.locale.PtBr.js +1 -1
  49. package/locales/grid.locale.Ro.js +1 -1
  50. package/locales/grid.locale.Ru.js +1 -1
  51. package/locales/grid.locale.Sk.js +1 -1
  52. package/locales/grid.locale.Sl.js +1 -1
  53. package/locales/grid.locale.Sr.js +1 -1
  54. package/locales/grid.locale.SrRs.js +1 -1
  55. package/locales/grid.locale.SvSE.js +1 -1
  56. package/locales/grid.locale.Th.js +1 -1
  57. package/locales/grid.locale.Tr.js +1 -1
  58. package/locales/grid.locale.Uk.js +1 -1
  59. package/locales/grid.locale.Vi.js +1 -1
  60. package/locales/grid.locale.ZhCn.js +1 -1
  61. package/locales/grid.locale.ZhTw.js +1 -1
  62. package/material3-dark.css +1 -1
  63. package/material3-light.css +1 -1
  64. package/package.json +1 -1
  65. package/stockholm-dark.css +1 -1
  66. package/stockholm-light.css +1 -1
  67. package/svalbard-dark.css +1 -1
  68. package/svalbard-light.css +1 -1
  69. package/visby-dark.css +1 -1
  70. package/visby-light.css +1 -1
package/grid.thin.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Bryntum Grid 7.1.3 (TRIAL VERSION)
3
+ * Bryntum Grid 7.2.0 (TRIAL VERSION)
4
4
  *
5
5
  * Copyright(c) 2026 Bryntum AB
6
6
  * https://bryntum.com/contact
@@ -321,15 +321,16 @@
321
321
  * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
322
322
  *
323
323
  */
324
- import { AIBase, AIModelConfiguration, AbstractApiPlugin, AjaxStore, AjaxStoreConfig, AlignSpec, AnimateScrollOptions, Base,
325
- BryntumListenerConfig, BryntumScrollOptions, ChipView, ChipViewConfig, Collection, CollectionCompareOperator, CollectionConfig,
326
- CollectionFilter, CollectionFilterConfig, CollectionSorter, CollectionSorterConfig, ColorDescriptor, Combo, ComboConfig, ComboModel,
327
- Container, ContextMenuBase, CoreColumn, CoreColumnConfig, CoreContainerItem, CoreContainerItemConfig, CoreContainerLayoutConfig,
328
- CoreInputFieldConfig, CoreModelFieldConfig, DataField, DataLoadRequestResponse, DomClassList, DomConfig, DragHelper, DragHelperConfig,
329
- Duration, DurationConfig, Editor, EditorConfig, EventsClass, FetchOptions, Field, FieldContainer, FieldContainerConfig,
330
- FieldFilterPicker, FieldFilterPickerConfig, FieldFilterPickerGroup, FieldOption, FieldTriggerConfig, FormulaProvider,
331
- FormulaProviderConfig, Grouper, InstancePlugin, KeyMap, KeyMapConfig, LazyLoadRequestParams, List, ListConfig, LocaleHelper,
332
- LocaleManager, Mask, MaskConfig, Menu, MenuConfig, MenuItem, MenuItemEntry, Model, NumberFormat, NumberFormatConfig,
324
+ import { AIBase, AIModelConfiguration, AIModelSelector, AISettingsModel, AISettingsModelConfig, AITool, AIToolConfig,
325
+ AIVoiceActivationConfig, AbstractApiPlugin, AjaxStore, AjaxStoreConfig, AlignSpec, AnimateScrollOptions, Base, BryntumListenerConfig,
326
+ BryntumScrollOptions, ChatButton, ChatButtonConfig, ChipView, ChipViewConfig, Collection, CollectionCompareOperator, CollectionConfig,
327
+ CollectionFilter, CollectionFilterConfig, CollectionSorter, CollectionSorterConfig, Color, ColorDescriptor, Combo, ComboConfig,
328
+ ComboModel, Container, ContextMenuBase, CoreColumn, CoreColumnConfig, CoreContainerItem, CoreContainerItemConfig,
329
+ CoreContainerLayoutConfig, CoreInputFieldConfig, CoreModelFieldConfig, DataField, DataLoadRequestResponse, DomClassList, DomConfig,
330
+ DragHelper, DragHelperConfig, Duration, DurationConfig, Editor, EditorConfig, EventsClass, FetchOptions, Field, FieldContainer,
331
+ FieldContainerConfig, FieldFilterPicker, FieldFilterPickerConfig, FieldFilterPickerGroup, FieldOption, FieldTriggerConfig,
332
+ FormulaProvider, FormulaProviderConfig, Grouper, InstancePlugin, KeyMap, KeyMapConfig, LazyLoadRequestParams, List, ListConfig,
333
+ LocaleHelper, LocaleManager, Mask, MaskConfig, Menu, MenuConfig, MenuItem, MenuItemEntry, Model, NumberFormat, NumberFormatConfig,
333
334
  PagingRequestParams, PagingToolbar, PagingToolbarConfig, Panel, PanelCollapser, PanelCollapserConfig, PanelCollapserOverlay,
334
335
  PanelCollapserOverlayConfig, PanelConfig, PanelHeader, Popup, PopupConfig, Rectangle, ScrollManager, ScrollManagerConfig, Scroller,
335
336
  ScrollerConfig, Sorter, StateProvider, StateTrackingManager, Store, StoreConfig, StoreSearchResult, SyncDataOnLoadOptions, Tab,
@@ -13219,6 +13220,10 @@ export class TreeColumn extends Column {
13219
13220
  * Identifies an object as an instance of [TreeColumn](https://bryntum.com/products/grid/docs/api/Grid/column/TreeColumn) class, or subclass thereof.
13220
13221
  */
13221
13222
  static readonly isTreeColumn: boolean
13223
+ /**
13224
+ * Identifies an object as an instance of [TreeColumnMixin](https://bryntum.com/products/grid/docs/api/Grid/column/mixin/TreeColumnMixin) class, or subclass thereof.
13225
+ */
13226
+ static readonly isTreeColumnMixin: boolean
13222
13227
  /**
13223
13228
  * The icon to use for the expand / collapse button in expanded state
13224
13229
  */
@@ -13243,6 +13248,10 @@ export class TreeColumn extends Column {
13243
13248
  * Identifies an object as an instance of [TreeColumn](https://bryntum.com/products/grid/docs/api/Grid/column/TreeColumn) class, or subclass thereof.
13244
13249
  */
13245
13250
  readonly isTreeColumn: boolean
13251
+ /**
13252
+ * Identifies an object as an instance of [TreeColumnMixin](https://bryntum.com/products/grid/docs/api/Grid/column/mixin/TreeColumnMixin) class, or subclass thereof.
13253
+ */
13254
+ readonly isTreeColumnMixin: boolean
13246
13255
  /**
13247
13256
  * The icon to use for the leaf nodes in the tree
13248
13257
  */
@@ -14035,6 +14044,88 @@ export class WidgetColumn extends Column {
14035
14044
  }): void;
14036
14045
  }
14037
14046
 
14047
+ /**
14048
+ * Type with configuration options for [TreeColumnMixin](https://bryntum.com/products/grid/docs/api/Grid/column/mixin/TreeColumnMixin) class.
14049
+ */
14050
+ type TreeColumnMixinClassConfig = {
14051
+ /**
14052
+ * The icon to use for the expand / collapse button in expanded state
14053
+ */
14054
+ collapseIconCls?: string|null
14055
+ /**
14056
+ * The icon to use for a parent node in collapsed state
14057
+ */
14058
+ collapsedFolderIconCls?: string|null
14059
+ /**
14060
+ * The icon to use for the expand / collapse button icon in collapsed state
14061
+ */
14062
+ expandIconCls?: string|null
14063
+ /**
14064
+ * The icon to use for a parent node in expanded state
14065
+ */
14066
+ expandedFolderIconCls?: string|null
14067
+ /**
14068
+ * Size of the child indent in em. Resulting indent is indentSize multiplied by child level.
14069
+ * ...
14070
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/mixin/TreeColumnMixin#config-indentSize)
14071
+ */
14072
+ indentSize?: number
14073
+ /**
14074
+ * The icon to use for the leaf nodes in the tree
14075
+ */
14076
+ leafIconCls?: string|null
14077
+ }
14078
+
14079
+ export class TreeColumnMixinClass {
14080
+ /**
14081
+ * Identifies this column as a tree column
14082
+ */
14083
+ static readonly isTreeColumn: boolean
14084
+ /**
14085
+ * Identifies an object as an instance of [TreeColumnMixin](https://bryntum.com/products/grid/docs/api/Grid/column/mixin/TreeColumnMixin) class, or subclass thereof.
14086
+ */
14087
+ static readonly isTreeColumnMixin: boolean
14088
+ /**
14089
+ * The icon to use for the expand / collapse button in expanded state
14090
+ */
14091
+ collapseIconCls: string|null
14092
+ /**
14093
+ * The icon to use for a parent node in collapsed state
14094
+ */
14095
+ collapsedFolderIconCls: string|null
14096
+ /**
14097
+ * The icon to use for the expand / collapse button icon in collapsed state
14098
+ */
14099
+ expandIconCls: string|null
14100
+ /**
14101
+ * The icon to use for a parent node in expanded state
14102
+ */
14103
+ expandedFolderIconCls: string|null
14104
+ /**
14105
+ * Size of the child indent in em. Resulting indent is indentSize multiplied by child level.
14106
+ */
14107
+ indentSize: number
14108
+ /**
14109
+ * Identifies this column as a tree column
14110
+ */
14111
+ readonly isTreeColumn: boolean
14112
+ /**
14113
+ * Identifies an object as an instance of [TreeColumnMixin](https://bryntum.com/products/grid/docs/api/Grid/column/mixin/TreeColumnMixin) class, or subclass thereof.
14114
+ */
14115
+ readonly isTreeColumnMixin: boolean
14116
+ /**
14117
+ * The icon to use for the leaf nodes in the tree
14118
+ */
14119
+ leafIconCls: string|null
14120
+ /**
14121
+ * Creates an instance of the class using the supplied configuration
14122
+ * @param {TreeColumnMixinClassConfig} config
14123
+ */
14124
+ constructor(config?: TreeColumnMixinClassConfig);
14125
+ }
14126
+
14127
+ export const TreeColumnMixin : <T extends AnyConstructor<Base>>(base : T) => AnyConstructor<InstanceType<T> & TreeColumnMixinClass>
14128
+
14038
14129
  /**
14039
14130
  * Type with available listeners functions for [ColumnStore](https://bryntum.com/products/grid/docs/api/Grid/data/ColumnStore) class.
14040
14131
  * Could be used for callbacks typings in TypeScript application.
@@ -15489,6 +15580,339 @@ export class GridRowModel extends Model {
15489
15580
  target: '_self'|'_blank'|'_parent'|'_top'|null
15490
15581
  }
15491
15582
 
15583
+ /**
15584
+ * Type with available listeners functions for [AI](https://bryntum.com/products/grid/docs/api/Grid/feature/AI) class.
15585
+ * Could be used for callbacks typings in TypeScript application.
15586
+ */
15587
+ type AIListenersTypes = {
15588
+ /**
15589
+ * Fires before an object is destroyed.
15590
+ * @param {object} event Event object
15591
+ * @param {Core.Base} event.source The Object that is being destroyed.
15592
+ */
15593
+ beforeDestroy: (event: { source: Base }) => void
15594
+ /**
15595
+ * Fires when any other event is fired from the object.
15596
+ * ...
15597
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI#event-catchAll)
15598
+ * @param {object} event Event object
15599
+ * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
15600
+ * @param {string} event.event.type The type of the event which is caught by the listener
15601
+ */
15602
+ catchAll: (event: {[key: string]: any, type: string}) => void
15603
+ /**
15604
+ * Fires when an object is destroyed.
15605
+ * @param {object} event Event object
15606
+ * @param {Core.Base} event.source The Object that is being destroyed.
15607
+ */
15608
+ destroy: (event: { source: Base }) => void
15609
+ /**
15610
+ * Fired when the plugin/feature is disabled.
15611
+ * @param {object} event Event object
15612
+ * @param {Core.mixin.InstancePlugin} event.source
15613
+ */
15614
+ disable: (event: { source: InstancePlugin }) => void
15615
+ /**
15616
+ * Fired when the plugin/feature is enabled.
15617
+ * @param {object} event Event object
15618
+ * @param {Core.mixin.InstancePlugin} event.source
15619
+ */
15620
+ enable: (event: { source: InstancePlugin }) => void
15621
+ /**
15622
+ * Fired when the user changes it's settings via the settings panel
15623
+ * @param {object} event Event object
15624
+ * @param {Core.data.AISettingsModel} event.userSettings The user settings record
15625
+ * @param {object} event.changes The changed properties and the new value
15626
+ */
15627
+ userSettingsUpdate: (event: { userSettings: AISettingsModel, changes: object }) => void
15628
+ }
15629
+
15630
+ /**
15631
+ * Type with listeners options for [AI](https://bryntum.com/products/grid/docs/api/Grid/feature/AI) class.
15632
+ */
15633
+ type AIListeners = {
15634
+ /**
15635
+ * The `this` object for listener methods
15636
+ */
15637
+ thisObj?: object
15638
+ /**
15639
+ * Fires before an object is destroyed.
15640
+ * @param {object} event Event object
15641
+ * @param {Core.Base} event.source The Object that is being destroyed.
15642
+ */
15643
+ beforeDestroy?: ((event: { source: Base }) => void)|string
15644
+ /**
15645
+ * Fires when any other event is fired from the object.
15646
+ * ...
15647
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI#event-catchAll)
15648
+ * @param {object} event Event object
15649
+ * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
15650
+ * @param {string} event.event.type The type of the event which is caught by the listener
15651
+ */
15652
+ catchAll?: ((event: {[key: string]: any, type: string}) => void)|string
15653
+ /**
15654
+ * Fires when an object is destroyed.
15655
+ * @param {object} event Event object
15656
+ * @param {Core.Base} event.source The Object that is being destroyed.
15657
+ */
15658
+ destroy?: ((event: { source: Base }) => void)|string
15659
+ /**
15660
+ * Fired when the plugin/feature is disabled.
15661
+ * @param {object} event Event object
15662
+ * @param {Core.mixin.InstancePlugin} event.source
15663
+ */
15664
+ disable?: ((event: { source: InstancePlugin }) => void)|string
15665
+ /**
15666
+ * Fired when the plugin/feature is enabled.
15667
+ * @param {object} event Event object
15668
+ * @param {Core.mixin.InstancePlugin} event.source
15669
+ */
15670
+ enable?: ((event: { source: InstancePlugin }) => void)|string
15671
+ /**
15672
+ * Fired when the user changes it's settings via the settings panel
15673
+ * @param {object} event Event object
15674
+ * @param {Core.data.AISettingsModel} event.userSettings The user settings record
15675
+ * @param {object} event.changes The changed properties and the new value
15676
+ */
15677
+ userSettingsUpdate?: ((event: { userSettings: AISettingsModel, changes: object }) => void)|string
15678
+ }
15679
+
15680
+ /**
15681
+ * Type with configuration options for [AI](https://bryntum.com/products/grid/docs/api/Grid/feature/AI) class.
15682
+ */
15683
+ type AIConfig = {
15684
+ type?: 'ai'
15685
+ /**
15686
+ * AI plugin to use. Provide the class here. Available plugins are:
15687
+ * ...
15688
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI#config-apiPlugin)
15689
+ */
15690
+ apiPlugin?: typeof AbstractApiPlugin
15691
+ /**
15692
+ * Shows an AI model selector in the SettingsPanel where the user can select between the available API:s
15693
+ */
15694
+ availableApis?: AIModelSelector[]
15695
+ /**
15696
+ * Set this to `true` or a config object to add a [ChatButton](https://bryntum.com/products/grid/docs/api/Core/widget/chat/ChatButton)
15697
+ */
15698
+ chatButton?: boolean|ChatButtonConfig
15699
+ /**
15700
+ * Set to `true` to automatically console.log things that happen internally. AI responses and audio processing
15701
+ * for example.
15702
+ */
15703
+ debugMode?: boolean
15704
+ /**
15705
+ * An array of strings which will be circulated as waiting status texts when awaiting long AI responses
15706
+ * Defaults to `['Waiting', 'Waiting ...', 'Still waiting', 'Still waiting ...']`
15707
+ */
15708
+ delayStatusTexts?: string[]
15709
+ /**
15710
+ * The plugin/feature `disabled` state.
15711
+ * ...
15712
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI#config-disabled)
15713
+ */
15714
+ disabled?: boolean|'inert'
15715
+ /**
15716
+ * The URL to send feedback (thumbs up/thumbs down) to
15717
+ */
15718
+ feedbackUrl?: string
15719
+ /**
15720
+ * Additional options to pass to fetch requests
15721
+ */
15722
+ fetchOptions?: object
15723
+ /**
15724
+ * By default, data item which are targeted in an AI action will be highlighted in the UI. Set this to `false`
15725
+ * to prevent this behavior.
15726
+ */
15727
+ highlightRelatedItems?: boolean
15728
+ /**
15729
+ * The listener set for this object.
15730
+ * ...
15731
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI#config-listeners)
15732
+ */
15733
+ listeners?: AIListeners
15734
+ /**
15735
+ * Set to `false` to not manage chat history on the client
15736
+ */
15737
+ manageChatHistory?: boolean
15738
+ /**
15739
+ * Max tokens setting (if applicable)
15740
+ */
15741
+ max_tokens?: number
15742
+ /**
15743
+ * AI model name (if applicable)
15744
+ */
15745
+ model?: string
15746
+ /**
15747
+ * Use this to provide more details of data models currently available for the AI agent to work with. Provide
15748
+ * an object with model class names as keys and configuration objects as values.
15749
+ * ...
15750
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI#config-models)
15751
+ */
15752
+ models?: Record<string, AIModelConfiguration>
15753
+ /**
15754
+ * The URL to send text prompts to
15755
+ */
15756
+ promptUrl?: string
15757
+ /**
15758
+ * Enables support for redoing data modifying actions performed by the AI. Shows a redo icon under the last
15759
+ * redoable message in the ChatPanel. Requires undo to be enabled.
15760
+ */
15761
+ redo?: boolean
15762
+ /**
15763
+ * Set to `true` to always prompt the user for confirmation before allowing the AI to add records
15764
+ */
15765
+ requireConfirmationOnAdds?: boolean
15766
+ /**
15767
+ * Set to `true` to always prompt the user for confirmation before allowing the AI to remove records
15768
+ */
15769
+ requireConfirmationOnRemovals?: boolean
15770
+ /**
15771
+ * Set to `true` to always prompt the user for confirmation before allowing the AI to update records
15772
+ */
15773
+ requireConfirmationOnUpdates?: boolean
15774
+ /**
15775
+ * Set to `true` to upon creation, send a test prompt to verify the connection to the AI backend. If the test
15776
+ * fails, a warning icon will be shown on the chat panel.
15777
+ */
15778
+ showNoConnectionIcon?: boolean
15779
+ /**
15780
+ * Temperature setting (if applicable). Overrides the default temperature set by the apiPlugin.
15781
+ */
15782
+ temperature?: number
15783
+ /**
15784
+ * The URL to send text for speech synthesizing
15785
+ */
15786
+ textToSpeechUrl?: string
15787
+ /**
15788
+ * A number of milliseconds a prompt is allowed to take before being aborted. Defaults to `60000` (1 minute).
15789
+ */
15790
+ timeout?: number
15791
+ /**
15792
+ * Use this to add custom tools to the AI model's tool list or to remove existing tools. Provide an object
15793
+ * with the tool names as keys and configuration objects as values. Please note that modifying existing tools is
15794
+ * not supported, only removing them.
15795
+ * ...
15796
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI#config-tools)
15797
+ */
15798
+ tools?: Record<string, AIToolConfig>
15799
+ /**
15800
+ * Use this to provide example prompt scenarios to "teach" the AI of more complex tasks. Must be configured as
15801
+ * an array containing arrays which contains the AI messages for the complete conversation.
15802
+ * ...
15803
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI#config-trainingData)
15804
+ */
15805
+ trainingData?: any[]
15806
+ /**
15807
+ * The URL to send audio for transcribing
15808
+ */
15809
+ transcribeUrl?: string
15810
+ /**
15811
+ * Enables support for undoing data modifying actions performed by the AI. Shows an undo icon under the last
15812
+ * undoable message in the ChatPanel.
15813
+ */
15814
+ undo?: boolean
15815
+ /**
15816
+ * A configuration object containing the user's preferred AI feature settings. If there is a matching AI feature
15817
+ * class config, the user setting will take precedence
15818
+ * JSON.
15819
+ */
15820
+ userSettings?: AISettingsModelConfig|AISettingsModel
15821
+ /**
15822
+ * Experimental configuration of the AI verbosity. Valid values are `"1"`, `"2"` and `"3"`, where `"1"` is
15823
+ * lowest.
15824
+ */
15825
+ verbosityLevel?: string
15826
+ /**
15827
+ * Configuration settings for voice activation
15828
+ */
15829
+ voiceActivation?: AIVoiceActivationConfig
15830
+ /**
15831
+ * Forces voice only mode, which hides the chat panel and only shows a record chat button.
15832
+ */
15833
+ voiceOnly?: boolean
15834
+ /**
15835
+ * Fires before an object is destroyed.
15836
+ * @param {object} event Event object
15837
+ * @param {Core.Base} event.source The Object that is being destroyed.
15838
+ */
15839
+ onBeforeDestroy?: ((event: { source: Base }) => void)|string
15840
+ /**
15841
+ * Fires when any other event is fired from the object.
15842
+ * ...
15843
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI#event-catchAll)
15844
+ * @param {object} event Event object
15845
+ * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
15846
+ * @param {string} event.event.type The type of the event which is caught by the listener
15847
+ */
15848
+ onCatchAll?: ((event: {[key: string]: any, type: string}) => void)|string
15849
+ /**
15850
+ * Fires when an object is destroyed.
15851
+ * @param {object} event Event object
15852
+ * @param {Core.Base} event.source The Object that is being destroyed.
15853
+ */
15854
+ onDestroy?: ((event: { source: Base }) => void)|string
15855
+ /**
15856
+ * Fired when the plugin/feature is disabled.
15857
+ * @param {object} event Event object
15858
+ * @param {Core.mixin.InstancePlugin} event.source
15859
+ */
15860
+ onDisable?: ((event: { source: InstancePlugin }) => void)|string
15861
+ /**
15862
+ * Fired when the plugin/feature is enabled.
15863
+ * @param {object} event Event object
15864
+ * @param {Core.mixin.InstancePlugin} event.source
15865
+ */
15866
+ onEnable?: ((event: { source: InstancePlugin }) => void)|string
15867
+ /**
15868
+ * Fired when the user changes it's settings via the settings panel
15869
+ * @param {object} event Event object
15870
+ * @param {Core.data.AISettingsModel} event.userSettings The user settings record
15871
+ * @param {object} event.changes The changed properties and the new value
15872
+ */
15873
+ onUserSettingsUpdate?: ((event: { userSettings: AISettingsModel, changes: object }) => void)|string
15874
+ }
15875
+
15876
+ /**
15877
+ * This feature provides an AI agent for Grid. It provides a chat panel that allows the user to send messages to the
15878
+ * agent and see the responses. Which allows the user to use natural language to interact with the Grid in different
15879
+ * ways. For example, the user can ask the agent to filter the data, sort it, or select specific records. The agent can
15880
+ * also perform data manipulation operations such as adding, updating, deleting records.
15881
+ * ...
15882
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI)
15883
+ */
15884
+ export class AI extends AIBase {
15885
+ /**
15886
+ * Identifies an object as an instance of [AI](https://bryntum.com/products/grid/docs/api/Grid/feature/AI) class, or subclass thereof.
15887
+ */
15888
+ static readonly isAI: boolean
15889
+ /**
15890
+ * Identifies an object as an instance of [AI](https://bryntum.com/products/grid/docs/api/Grid/feature/AI) class, or subclass thereof.
15891
+ */
15892
+ readonly isAI: boolean
15893
+ /**
15894
+ * Fires before an object is destroyed.
15895
+ * @param {object} event Event object
15896
+ * @param {Core.Base} event.source The Object that is being destroyed.
15897
+ */
15898
+ onBeforeDestroy: ((event: { source: Base }) => void)|string
15899
+ /**
15900
+ * Fires when any other event is fired from the object.
15901
+ * ...
15902
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI#event-catchAll)
15903
+ * @param {object} event Event object
15904
+ * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
15905
+ * @param {string} event.event.type The type of the event which is caught by the listener
15906
+ */
15907
+ onCatchAll: ((event: {[key: string]: any, type: string}) => void)|string
15908
+ /**
15909
+ * Fires when an object is destroyed.
15910
+ * @param {object} event Event object
15911
+ * @param {Core.Base} event.source The Object that is being destroyed.
15912
+ */
15913
+ onDestroy: ((event: { source: Base }) => void)|string
15914
+ }
15915
+
15492
15916
  /**
15493
15917
  * Type with available listeners functions for [CellCopyPaste](https://bryntum.com/products/grid/docs/api/Grid/feature/CellCopyPaste) class.
15494
15918
  * Could be used for callbacks typings in TypeScript application.
@@ -16592,6 +17016,10 @@ type CellTooltipConfig = {
16592
17016
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/CellTooltip#config-bodyCls)
16593
17017
  */
16594
17018
  bodyCls?: string|object
17019
+ /**
17020
+ * Set `true` to add a border to this container's element.
17021
+ */
17022
+ border?: boolean
16595
17023
  /**
16596
17024
  * An object where property names with a truthy value indicate which events should bubble up the ownership
16597
17025
  * hierarchy when triggered.
@@ -16664,7 +17092,7 @@ type CellTooltipConfig = {
16664
17092
  * ...
16665
17093
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/CellTooltip#config-color)
16666
17094
  */
16667
- color?: string
17095
+ color?: Color
16668
17096
  /**
16669
17097
  * Programmatic control over which column to start in when used in a grid layout.
16670
17098
  */
@@ -25698,6 +26126,13 @@ type AIFilterListenersTypes = {
25698
26126
  * @param {Core.mixin.InstancePlugin} event.source
25699
26127
  */
25700
26128
  enable: (event: { source: InstancePlugin }) => void
26129
+ /**
26130
+ * Fired when the user changes it's settings via the settings panel
26131
+ * @param {object} event Event object
26132
+ * @param {Core.data.AISettingsModel} event.userSettings The user settings record
26133
+ * @param {object} event.changes The changed properties and the new value
26134
+ */
26135
+ userSettingsUpdate: (event: { userSettings: AISettingsModel, changes: object }) => void
25701
26136
  }
25702
26137
 
25703
26138
  /**
@@ -25741,6 +26176,13 @@ type AIFilterListeners = {
25741
26176
  * @param {Core.mixin.InstancePlugin} event.source
25742
26177
  */
25743
26178
  enable?: ((event: { source: InstancePlugin }) => void)|string
26179
+ /**
26180
+ * Fired when the user changes it's settings via the settings panel
26181
+ * @param {object} event Event object
26182
+ * @param {Core.data.AISettingsModel} event.userSettings The user settings record
26183
+ * @param {object} event.changes The changed properties and the new value
26184
+ */
26185
+ userSettingsUpdate?: ((event: { userSettings: AISettingsModel, changes: object }) => void)|string
25744
26186
  }
25745
26187
 
25746
26188
  /**
@@ -25754,11 +26196,20 @@ type AIFilterConfig = {
25754
26196
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/ai/AIFilter#config-apiPlugin)
25755
26197
  */
25756
26198
  apiPlugin?: typeof AbstractApiPlugin
26199
+ /**
26200
+ * Shows an AI model selector in the SettingsPanel where the user can select between the available API:s
26201
+ */
26202
+ availableApis?: AIModelSelector[]
25757
26203
  /**
25758
26204
  * Set to `true` to automatically console.log things that happen internally. AI responses and audio processing
25759
26205
  * for example.
25760
26206
  */
25761
26207
  debugMode?: boolean
26208
+ /**
26209
+ * An array of strings which will be circulated as waiting status texts when awaiting long AI responses
26210
+ * Defaults to `['Waiting', 'Waiting ...', 'Still waiting', 'Still waiting ...']`
26211
+ */
26212
+ delayStatusTexts?: string[]
25762
26213
  /**
25763
26214
  * The plugin/feature `disabled` state.
25764
26215
  * ...
@@ -25769,6 +26220,11 @@ type AIFilterConfig = {
25769
26220
  * Additional options to pass to fetch requests
25770
26221
  */
25771
26222
  fetchOptions?: object
26223
+ /**
26224
+ * By default, data item which are targeted in an AI action will be highlighted in the UI. Set this to `false`
26225
+ * to prevent this behavior.
26226
+ */
26227
+ highlightRelatedItems?: boolean
25772
26228
  /**
25773
26229
  * The listener set for this object.
25774
26230
  * ...
@@ -25795,13 +26251,51 @@ type AIFilterConfig = {
25795
26251
  */
25796
26252
  promptUrl?: string
25797
26253
  /**
25798
- * Temperature setting (if applicable)
26254
+ * Set to `true` to always prompt the user for confirmation before allowing the AI to add records
26255
+ */
26256
+ requireConfirmationOnAdds?: boolean
26257
+ /**
26258
+ * Set to `true` to always prompt the user for confirmation before allowing the AI to remove records
26259
+ */
26260
+ requireConfirmationOnRemovals?: boolean
26261
+ /**
26262
+ * Set to `true` to always prompt the user for confirmation before allowing the AI to update records
26263
+ */
26264
+ requireConfirmationOnUpdates?: boolean
26265
+ /**
26266
+ * Temperature setting (if applicable). Overrides the default temperature set by the apiPlugin.
25799
26267
  */
25800
26268
  temperature?: number
26269
+ /**
26270
+ * A number of milliseconds a prompt is allowed to take before being aborted. Defaults to `60000` (1 minute).
26271
+ */
26272
+ timeout?: number
26273
+ /**
26274
+ * Use this to provide example prompt scenarios to "teach" the AI of more complex tasks. Must be configured as
26275
+ * an array containing arrays which contains the AI messages for the complete conversation.
26276
+ * ...
26277
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/ai/AIFilter#config-trainingData)
26278
+ */
26279
+ trainingData?: any[]
25801
26280
  /**
25802
26281
  * The text to show in the toast when the text input did not result in any filter being applied
25803
26282
  */
25804
26283
  unsuccessfulFilterMessage?: string
26284
+ /**
26285
+ * A configuration object containing the user's preferred AI feature settings. If there is a matching AI feature
26286
+ * class config, the user setting will take precedence
26287
+ * JSON.
26288
+ */
26289
+ userSettings?: AISettingsModelConfig|AISettingsModel
26290
+ /**
26291
+ * Experimental configuration of the AI verbosity. Valid values are `"1"`, `"2"` and `"3"`, where `"1"` is
26292
+ * lowest.
26293
+ */
26294
+ verbosityLevel?: string
26295
+ /**
26296
+ * Configuration settings for voice activation
26297
+ */
26298
+ voiceActivation?: AIVoiceActivationConfig
25805
26299
  /**
25806
26300
  * Fires before an object is destroyed.
25807
26301
  * @param {object} event Event object
@@ -25835,6 +26329,13 @@ type AIFilterConfig = {
25835
26329
  * @param {Core.mixin.InstancePlugin} event.source
25836
26330
  */
25837
26331
  onEnable?: ((event: { source: InstancePlugin }) => void)|string
26332
+ /**
26333
+ * Fired when the user changes it's settings via the settings panel
26334
+ * @param {object} event Event object
26335
+ * @param {Core.data.AISettingsModel} event.userSettings The user settings record
26336
+ * @param {object} event.changes The changed properties and the new value
26337
+ */
26338
+ onUserSettingsUpdate?: ((event: { userSettings: AISettingsModel, changes: object }) => void)|string
25838
26339
  }
25839
26340
 
25840
26341
  /**
@@ -31517,6 +32018,7 @@ type GridListeners = {
31517
32018
  }
31518
32019
 
31519
32020
  type GridFeaturesType = {
32021
+ ai: AI
31520
32022
  aiFilter: AIFilter
31521
32023
  cellCopyPaste: CellCopyPaste
31522
32024
  cellEdit: CellEdit
@@ -31560,6 +32062,7 @@ type GridFeaturesType = {
31560
32062
  }
31561
32063
 
31562
32064
  type GridFeaturesConfigType = {
32065
+ ai?: string|boolean|AIConfig
31563
32066
  aiFilter?: string|boolean|AIFilterConfig
31564
32067
  cellCopyPaste?: string|boolean|CellCopyPasteConfig
31565
32068
  cellEdit?: string|boolean|CellEditConfig
@@ -31676,6 +32179,10 @@ type GridConfig = {
31676
32179
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/Grid#config-bodyCls)
31677
32180
  */
31678
32181
  bodyCls?: string|object
32182
+ /**
32183
+ * Set `true` to add a border to this container's element.
32184
+ */
32185
+ border?: boolean
31679
32186
  /**
31680
32187
  * An object where property names with a truthy value indicate which events should bubble up the ownership
31681
32188
  * hierarchy when triggered.
@@ -31727,7 +32234,7 @@ type GridConfig = {
31727
32234
  * ...
31728
32235
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/Grid#config-color)
31729
32236
  */
31730
- color?: string
32237
+ color?: Color
31731
32238
  /**
31732
32239
  * Programmatic control over which column to start in when used in a grid layout.
31733
32240
  */
@@ -35628,6 +36135,7 @@ type GridBaseListeners = {
35628
36135
  }
35629
36136
 
35630
36137
  type GridBaseFeaturesType = {
36138
+ ai: AI
35631
36139
  aiFilter: AIFilter
35632
36140
  cellCopyPaste: CellCopyPaste
35633
36141
  cellEdit: CellEdit
@@ -35671,6 +36179,7 @@ type GridBaseFeaturesType = {
35671
36179
  }
35672
36180
 
35673
36181
  type GridBaseFeaturesConfigType = {
36182
+ ai?: string|boolean|AIConfig
35674
36183
  aiFilter?: string|boolean|AIFilterConfig
35675
36184
  cellCopyPaste?: string|boolean|CellCopyPasteConfig
35676
36185
  cellEdit?: string|boolean|CellEditConfig
@@ -35786,6 +36295,10 @@ type GridBaseConfig = {
35786
36295
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/GridBase#config-bodyCls)
35787
36296
  */
35788
36297
  bodyCls?: string|object
36298
+ /**
36299
+ * Set `true` to add a border to this container's element.
36300
+ */
36301
+ border?: boolean
35789
36302
  /**
35790
36303
  * An object where property names with a truthy value indicate which events should bubble up the ownership
35791
36304
  * hierarchy when triggered.
@@ -35837,7 +36350,7 @@ type GridBaseConfig = {
35837
36350
  * ...
35838
36351
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/GridBase#config-color)
35839
36352
  */
35840
- color?: string
36353
+ color?: Color
35841
36354
  /**
35842
36355
  * Programmatic control over which column to start in when used in a grid layout.
35843
36356
  */
@@ -39583,7 +40096,7 @@ type SubGridConfig = {
39583
40096
  * ...
39584
40097
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/SubGrid#config-color)
39585
40098
  */
39586
- color?: string
40099
+ color?: Color
39587
40100
  /**
39588
40101
  * Programmatic control over which column to start in when used in a grid layout.
39589
40102
  */
@@ -42167,6 +42680,7 @@ type TreeGridListeners = {
42167
42680
  }
42168
42681
 
42169
42682
  type TreeGridFeaturesType = {
42683
+ ai: AI
42170
42684
  aiFilter: AIFilter
42171
42685
  cellCopyPaste: CellCopyPaste
42172
42686
  cellEdit: CellEdit
@@ -42210,6 +42724,7 @@ type TreeGridFeaturesType = {
42210
42724
  }
42211
42725
 
42212
42726
  type TreeGridFeaturesConfigType = {
42727
+ ai?: string|boolean|AIConfig
42213
42728
  aiFilter?: string|boolean|AIFilterConfig
42214
42729
  cellCopyPaste?: string|boolean|CellCopyPasteConfig
42215
42730
  cellEdit?: string|boolean|CellEditConfig
@@ -42326,6 +42841,10 @@ type TreeGridConfig = {
42326
42841
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/TreeGrid#config-bodyCls)
42327
42842
  */
42328
42843
  bodyCls?: string|object
42844
+ /**
42845
+ * Set `true` to add a border to this container's element.
42846
+ */
42847
+ border?: boolean
42329
42848
  /**
42330
42849
  * An object where property names with a truthy value indicate which events should bubble up the ownership
42331
42850
  * hierarchy when triggered.
@@ -42377,7 +42896,7 @@ type TreeGridConfig = {
42377
42896
  * ...
42378
42897
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/TreeGrid#config-color)
42379
42898
  */
42380
- color?: string
42899
+ color?: Color
42381
42900
  /**
42382
42901
  * Programmatic control over which column to start in when used in a grid layout.
42383
42902
  */
@@ -44705,6 +45224,10 @@ type ExportDialogConfig = {
44705
45224
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/export/ExportDialog#config-bodyCls)
44706
45225
  */
44707
45226
  bodyCls?: string|object
45227
+ /**
45228
+ * Set `true` to add a border to this container's element.
45229
+ */
45230
+ border?: boolean
44708
45231
  /**
44709
45232
  * An object where property names with a truthy value indicate which events should bubble up the ownership
44710
45233
  * hierarchy when triggered.
@@ -44777,7 +45300,7 @@ type ExportDialogConfig = {
44777
45300
  * ...
44778
45301
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/export/ExportDialog#config-color)
44779
45302
  */
44780
- color?: string
45303
+ color?: Color
44781
45304
  /**
44782
45305
  * Programmatic control over which column to start in when used in a grid layout.
44783
45306
  */
@@ -46805,7 +47328,7 @@ type AIFilterFieldConfig = {
46805
47328
  * ...
46806
47329
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-color)
46807
47330
  */
46808
- color?: string
47331
+ color?: Color
46809
47332
  /**
46810
47333
  * Programmatic control over which column to start in when used in a grid layout.
46811
47334
  */
@@ -48022,7 +48545,7 @@ type ChecklistFilterComboConfig = {
48022
48545
  * ...
48023
48546
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-color)
48024
48547
  */
48025
- color?: string
48548
+ color?: Color
48026
48549
  /**
48027
48550
  * Programmatic control over which column to start in when used in a grid layout.
48028
48551
  */
@@ -49269,7 +49792,7 @@ type GridChartDesignerConfig = {
49269
49792
  * ...
49270
49793
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-color)
49271
49794
  */
49272
- color?: string
49795
+ color?: Color
49273
49796
  /**
49274
49797
  * Programmatic control over which column to start in when used in a grid layout.
49275
49798
  */
@@ -50139,6 +50662,10 @@ type GridFieldFilterPickerConfig = {
50139
50662
  * Update assigned [record](https://bryntum.com/products/grid/docs/api/Core/widget/Container#config-record) automatically on field changes
50140
50663
  */
50141
50664
  autoUpdateRecord?: boolean
50665
+ /**
50666
+ * Set `true` to add a border to this container's element.
50667
+ */
50668
+ border?: boolean
50142
50669
  /**
50143
50670
  * An object where property names with a truthy value indicate which events should bubble up the ownership
50144
50671
  * hierarchy when triggered.
@@ -50178,7 +50705,7 @@ type GridFieldFilterPickerConfig = {
50178
50705
  * ...
50179
50706
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-color)
50180
50707
  */
50181
- color?: string
50708
+ color?: Color
50182
50709
  /**
50183
50710
  * Programmatic control over which column to start in when used in a grid layout.
50184
50711
  */
@@ -51247,6 +51774,10 @@ type GridFieldFilterPickerGroupConfig = {
51247
51774
  * Update assigned [record](https://bryntum.com/products/grid/docs/api/Core/widget/Container#config-record) automatically on field changes
51248
51775
  */
51249
51776
  autoUpdateRecord?: boolean
51777
+ /**
51778
+ * Set `true` to add a border to this container's element.
51779
+ */
51780
+ border?: boolean
51250
51781
  /**
51251
51782
  * An object where property names with a truthy value indicate which events should bubble up the ownership
51252
51783
  * hierarchy when triggered.
@@ -51302,7 +51833,7 @@ type GridFieldFilterPickerGroupConfig = {
51302
51833
  * ...
51303
51834
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-color)
51304
51835
  */
51305
- color?: string
51836
+ color?: Color
51306
51837
  /**
51307
51838
  * Programmatic control over which column to start in when used in a grid layout.
51308
51839
  */
@@ -52449,7 +52980,7 @@ type GroupBarConfig = {
52449
52980
  * ...
52450
52981
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-color)
52451
52982
  */
52452
- color?: string
52983
+ color?: Color
52453
52984
  /**
52454
52985
  * Programmatic control over which column to start in when used in a grid layout.
52455
52986
  */
@@ -53588,7 +54119,7 @@ type TreeComboConfig = {
53588
54119
  * ...
53589
54120
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/TreeCombo#config-color)
53590
54121
  */
53591
- color?: string
54122
+ color?: Color
53592
54123
  /**
53593
54124
  * Programmatic control over which column to start in when used in a grid layout.
53594
54125
  */