@bryntum/grid-trial 7.1.3 → 7.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/fluent2-dark.css +1 -1
- package/fluent2-light.css +1 -1
- package/grid.css +2 -2
- package/grid.d.ts +5586 -1404
- package/grid.lwc.module.d.ts +1 -1
- package/grid.lwc.module.js +2 -2
- package/grid.module.d.ts +1 -1
- package/grid.module.js +46 -45
- package/grid.thin.d.ts +589 -24
- package/grid.umd.d.ts +1 -1
- package/grid.umd.js +53 -52
- package/grid.wc.module.d.ts +1 -1
- package/grid.wc.module.js +47 -46
- package/high-contrast-dark.css +1 -1
- package/high-contrast-light.css +1 -1
- package/locales/grid.locale.Ar.js +1 -1
- package/locales/grid.locale.Bg.js +1 -1
- package/locales/grid.locale.Ca.js +1 -1
- package/locales/grid.locale.Cs.js +1 -1
- package/locales/grid.locale.Da.js +1 -1
- package/locales/grid.locale.De.js +1 -1
- package/locales/grid.locale.El.js +1 -1
- package/locales/grid.locale.En.js +1 -1
- package/locales/grid.locale.EnGb.js +1 -1
- package/locales/grid.locale.Es.js +1 -1
- package/locales/grid.locale.Et.js +1 -1
- package/locales/grid.locale.Eu.js +1 -1
- package/locales/grid.locale.Fi.js +1 -1
- package/locales/grid.locale.FrFr.js +1 -1
- package/locales/grid.locale.Gl.js +1 -1
- package/locales/grid.locale.He.js +1 -1
- package/locales/grid.locale.Hi.js +1 -1
- package/locales/grid.locale.Hr.js +1 -1
- package/locales/grid.locale.Hu.js +1 -1
- package/locales/grid.locale.Id.js +1 -1
- package/locales/grid.locale.It.js +1 -1
- package/locales/grid.locale.Ja.js +1 -1
- package/locales/grid.locale.Kk.js +1 -1
- package/locales/grid.locale.Ko.js +1 -1
- package/locales/grid.locale.Lt.js +1 -1
- package/locales/grid.locale.Lv.js +1 -1
- package/locales/grid.locale.Ms.js +1 -1
- package/locales/grid.locale.Nl.js +1 -1
- package/locales/grid.locale.No.js +1 -1
- package/locales/grid.locale.Pl.js +1 -1
- package/locales/grid.locale.Pt.js +1 -1
- package/locales/grid.locale.PtBr.js +1 -1
- package/locales/grid.locale.Ro.js +1 -1
- package/locales/grid.locale.Ru.js +1 -1
- package/locales/grid.locale.Sk.js +1 -1
- package/locales/grid.locale.Sl.js +1 -1
- package/locales/grid.locale.Sr.js +1 -1
- package/locales/grid.locale.SrRs.js +1 -1
- package/locales/grid.locale.SvSE.js +1 -1
- package/locales/grid.locale.Th.js +1 -1
- package/locales/grid.locale.Tr.js +1 -1
- package/locales/grid.locale.Uk.js +1 -1
- package/locales/grid.locale.Vi.js +1 -1
- package/locales/grid.locale.ZhCn.js +1 -1
- package/locales/grid.locale.ZhTw.js +1 -1
- package/material3-dark.css +1 -1
- package/material3-light.css +1 -1
- package/package.json +1 -1
- package/stockholm-dark.css +1 -1
- package/stockholm-light.css +1 -1
- package/svalbard-dark.css +1 -1
- package/svalbard-light.css +1 -1
- package/visby-dark.css +1 -1
- 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
|
+
* Bryntum Grid 7.2.1 (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,
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
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,
|
|
@@ -1189,6 +1190,8 @@ type ActionColumnConfig = {
|
|
|
1189
1190
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
1190
1191
|
/**
|
|
1191
1192
|
* Renderer function for the column header.
|
|
1193
|
+
* ...
|
|
1194
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/ActionColumn#config-headerRenderer)
|
|
1192
1195
|
* @param {object} renderData
|
|
1193
1196
|
* @param {Grid.column.Column} renderData.column This column
|
|
1194
1197
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -1906,6 +1909,8 @@ type AggregateColumnConfig = {
|
|
|
1906
1909
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
1907
1910
|
/**
|
|
1908
1911
|
* Renderer function for the column header.
|
|
1912
|
+
* ...
|
|
1913
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/AggregateColumn#config-headerRenderer)
|
|
1909
1914
|
* @param {object} renderData
|
|
1910
1915
|
* @param {Grid.column.Column} renderData.column This column
|
|
1911
1916
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -2674,6 +2679,8 @@ type ChartColumnConfig = {
|
|
|
2674
2679
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
2675
2680
|
/**
|
|
2676
2681
|
* Renderer function for the column header.
|
|
2682
|
+
* ...
|
|
2683
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/ChartColumn#config-headerRenderer)
|
|
2677
2684
|
* @param {object} renderData
|
|
2678
2685
|
* @param {Grid.column.Column} renderData.column This column
|
|
2679
2686
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -3447,6 +3454,8 @@ type CheckColumnConfig = {
|
|
|
3447
3454
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
3448
3455
|
/**
|
|
3449
3456
|
* Renderer function for the column header.
|
|
3457
|
+
* ...
|
|
3458
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/CheckColumn#config-headerRenderer)
|
|
3450
3459
|
* @param {object} renderData
|
|
3451
3460
|
* @param {Grid.column.Column} renderData.column This column
|
|
3452
3461
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -4235,6 +4244,8 @@ type ColorColumnConfig = {
|
|
|
4235
4244
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
4236
4245
|
/**
|
|
4237
4246
|
* Renderer function for the column header.
|
|
4247
|
+
* ...
|
|
4248
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/ColorColumn#config-headerRenderer)
|
|
4238
4249
|
* @param {object} renderData
|
|
4239
4250
|
* @param {Grid.column.Column} renderData.column This column
|
|
4240
4251
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -4968,6 +4979,8 @@ type ColumnConfig = {
|
|
|
4968
4979
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
4969
4980
|
/**
|
|
4970
4981
|
* Renderer function for the column header.
|
|
4982
|
+
* ...
|
|
4983
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/Column#config-headerRenderer)
|
|
4971
4984
|
* @param {object} renderData
|
|
4972
4985
|
* @param {Grid.column.Column} renderData.column This column
|
|
4973
4986
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -6263,6 +6276,8 @@ type CurrencyColumnConfig = {
|
|
|
6263
6276
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
6264
6277
|
/**
|
|
6265
6278
|
* Renderer function for the column header.
|
|
6279
|
+
* ...
|
|
6280
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/CurrencyColumn#config-headerRenderer)
|
|
6266
6281
|
* @param {object} renderData
|
|
6267
6282
|
* @param {Grid.column.Column} renderData.column This column
|
|
6268
6283
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -7013,6 +7028,8 @@ type DateColumnConfig = {
|
|
|
7013
7028
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
7014
7029
|
/**
|
|
7015
7030
|
* Renderer function for the column header.
|
|
7031
|
+
* ...
|
|
7032
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/DateColumn#config-headerRenderer)
|
|
7016
7033
|
* @param {object} renderData
|
|
7017
7034
|
* @param {Grid.column.Column} renderData.column This column
|
|
7018
7035
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -7774,6 +7791,8 @@ type NumberColumnConfig = {
|
|
|
7774
7791
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
7775
7792
|
/**
|
|
7776
7793
|
* Renderer function for the column header.
|
|
7794
|
+
* ...
|
|
7795
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/NumberColumn#config-headerRenderer)
|
|
7777
7796
|
* @param {object} renderData
|
|
7778
7797
|
* @param {Grid.column.Column} renderData.column This column
|
|
7779
7798
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -8551,6 +8570,8 @@ type PercentColumnConfig = {
|
|
|
8551
8570
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
8552
8571
|
/**
|
|
8553
8572
|
* Renderer function for the column header.
|
|
8573
|
+
* ...
|
|
8574
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/PercentColumn#config-headerRenderer)
|
|
8554
8575
|
* @param {object} renderData
|
|
8555
8576
|
* @param {Grid.column.Column} renderData.column This column
|
|
8556
8577
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -9327,6 +9348,8 @@ type RatingColumnConfig = {
|
|
|
9327
9348
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
9328
9349
|
/**
|
|
9329
9350
|
* Renderer function for the column header.
|
|
9351
|
+
* ...
|
|
9352
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/RatingColumn#config-headerRenderer)
|
|
9330
9353
|
* @param {object} renderData
|
|
9331
9354
|
* @param {Grid.column.Column} renderData.column This column
|
|
9332
9355
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -10005,6 +10028,8 @@ type RowNumberColumnConfig = {
|
|
|
10005
10028
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
10006
10029
|
/**
|
|
10007
10030
|
* Renderer function for the column header.
|
|
10031
|
+
* ...
|
|
10032
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/RowNumberColumn#config-headerRenderer)
|
|
10008
10033
|
* @param {object} renderData
|
|
10009
10034
|
* @param {Grid.column.Column} renderData.column This column
|
|
10010
10035
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -10671,6 +10696,8 @@ type SparklineColumnConfig = {
|
|
|
10671
10696
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
10672
10697
|
/**
|
|
10673
10698
|
* Renderer function for the column header.
|
|
10699
|
+
* ...
|
|
10700
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/SparklineColumn#config-headerRenderer)
|
|
10674
10701
|
* @param {object} renderData
|
|
10675
10702
|
* @param {Grid.column.Column} renderData.column This column
|
|
10676
10703
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -11393,6 +11420,8 @@ type TemplateColumnConfig = {
|
|
|
11393
11420
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
11394
11421
|
/**
|
|
11395
11422
|
* Renderer function for the column header.
|
|
11423
|
+
* ...
|
|
11424
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/TemplateColumn#config-headerRenderer)
|
|
11396
11425
|
* @param {object} renderData
|
|
11397
11426
|
* @param {Grid.column.Column} renderData.column This column
|
|
11398
11427
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -12120,6 +12149,8 @@ type TimeColumnConfig = {
|
|
|
12120
12149
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
12121
12150
|
/**
|
|
12122
12151
|
* Renderer function for the column header.
|
|
12152
|
+
* ...
|
|
12153
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/TimeColumn#config-headerRenderer)
|
|
12123
12154
|
* @param {object} renderData
|
|
12124
12155
|
* @param {Grid.column.Column} renderData.column This column
|
|
12125
12156
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -12850,6 +12881,8 @@ type TreeColumnConfig = {
|
|
|
12850
12881
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
12851
12882
|
/**
|
|
12852
12883
|
* Renderer function for the column header.
|
|
12884
|
+
* ...
|
|
12885
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/TreeColumn#config-headerRenderer)
|
|
12853
12886
|
* @param {object} renderData
|
|
12854
12887
|
* @param {Grid.column.Column} renderData.column This column
|
|
12855
12888
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -13219,6 +13252,10 @@ export class TreeColumn extends Column {
|
|
|
13219
13252
|
* Identifies an object as an instance of [TreeColumn](https://bryntum.com/products/grid/docs/api/Grid/column/TreeColumn) class, or subclass thereof.
|
|
13220
13253
|
*/
|
|
13221
13254
|
static readonly isTreeColumn: boolean
|
|
13255
|
+
/**
|
|
13256
|
+
* Identifies an object as an instance of [TreeColumnMixin](https://bryntum.com/products/grid/docs/api/Grid/column/mixin/TreeColumnMixin) class, or subclass thereof.
|
|
13257
|
+
*/
|
|
13258
|
+
static readonly isTreeColumnMixin: boolean
|
|
13222
13259
|
/**
|
|
13223
13260
|
* The icon to use for the expand / collapse button in expanded state
|
|
13224
13261
|
*/
|
|
@@ -13243,6 +13280,10 @@ export class TreeColumn extends Column {
|
|
|
13243
13280
|
* Identifies an object as an instance of [TreeColumn](https://bryntum.com/products/grid/docs/api/Grid/column/TreeColumn) class, or subclass thereof.
|
|
13244
13281
|
*/
|
|
13245
13282
|
readonly isTreeColumn: boolean
|
|
13283
|
+
/**
|
|
13284
|
+
* Identifies an object as an instance of [TreeColumnMixin](https://bryntum.com/products/grid/docs/api/Grid/column/mixin/TreeColumnMixin) class, or subclass thereof.
|
|
13285
|
+
*/
|
|
13286
|
+
readonly isTreeColumnMixin: boolean
|
|
13246
13287
|
/**
|
|
13247
13288
|
* The icon to use for the leaf nodes in the tree
|
|
13248
13289
|
*/
|
|
@@ -13599,6 +13640,8 @@ type WidgetColumnConfig = {
|
|
|
13599
13640
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
13600
13641
|
/**
|
|
13601
13642
|
* Renderer function for the column header.
|
|
13643
|
+
* ...
|
|
13644
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/WidgetColumn#config-headerRenderer)
|
|
13602
13645
|
* @param {object} renderData
|
|
13603
13646
|
* @param {Grid.column.Column} renderData.column This column
|
|
13604
13647
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -14035,6 +14078,88 @@ export class WidgetColumn extends Column {
|
|
|
14035
14078
|
}): void;
|
|
14036
14079
|
}
|
|
14037
14080
|
|
|
14081
|
+
/**
|
|
14082
|
+
* Type with configuration options for [TreeColumnMixin](https://bryntum.com/products/grid/docs/api/Grid/column/mixin/TreeColumnMixin) class.
|
|
14083
|
+
*/
|
|
14084
|
+
type TreeColumnMixinClassConfig = {
|
|
14085
|
+
/**
|
|
14086
|
+
* The icon to use for the expand / collapse button in expanded state
|
|
14087
|
+
*/
|
|
14088
|
+
collapseIconCls?: string|null
|
|
14089
|
+
/**
|
|
14090
|
+
* The icon to use for a parent node in collapsed state
|
|
14091
|
+
*/
|
|
14092
|
+
collapsedFolderIconCls?: string|null
|
|
14093
|
+
/**
|
|
14094
|
+
* The icon to use for the expand / collapse button icon in collapsed state
|
|
14095
|
+
*/
|
|
14096
|
+
expandIconCls?: string|null
|
|
14097
|
+
/**
|
|
14098
|
+
* The icon to use for a parent node in expanded state
|
|
14099
|
+
*/
|
|
14100
|
+
expandedFolderIconCls?: string|null
|
|
14101
|
+
/**
|
|
14102
|
+
* Size of the child indent in em. Resulting indent is indentSize multiplied by child level.
|
|
14103
|
+
* ...
|
|
14104
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/mixin/TreeColumnMixin#config-indentSize)
|
|
14105
|
+
*/
|
|
14106
|
+
indentSize?: number
|
|
14107
|
+
/**
|
|
14108
|
+
* The icon to use for the leaf nodes in the tree
|
|
14109
|
+
*/
|
|
14110
|
+
leafIconCls?: string|null
|
|
14111
|
+
}
|
|
14112
|
+
|
|
14113
|
+
export class TreeColumnMixinClass {
|
|
14114
|
+
/**
|
|
14115
|
+
* Identifies this column as a tree column
|
|
14116
|
+
*/
|
|
14117
|
+
static readonly isTreeColumn: boolean
|
|
14118
|
+
/**
|
|
14119
|
+
* Identifies an object as an instance of [TreeColumnMixin](https://bryntum.com/products/grid/docs/api/Grid/column/mixin/TreeColumnMixin) class, or subclass thereof.
|
|
14120
|
+
*/
|
|
14121
|
+
static readonly isTreeColumnMixin: boolean
|
|
14122
|
+
/**
|
|
14123
|
+
* The icon to use for the expand / collapse button in expanded state
|
|
14124
|
+
*/
|
|
14125
|
+
collapseIconCls: string|null
|
|
14126
|
+
/**
|
|
14127
|
+
* The icon to use for a parent node in collapsed state
|
|
14128
|
+
*/
|
|
14129
|
+
collapsedFolderIconCls: string|null
|
|
14130
|
+
/**
|
|
14131
|
+
* The icon to use for the expand / collapse button icon in collapsed state
|
|
14132
|
+
*/
|
|
14133
|
+
expandIconCls: string|null
|
|
14134
|
+
/**
|
|
14135
|
+
* The icon to use for a parent node in expanded state
|
|
14136
|
+
*/
|
|
14137
|
+
expandedFolderIconCls: string|null
|
|
14138
|
+
/**
|
|
14139
|
+
* Size of the child indent in em. Resulting indent is indentSize multiplied by child level.
|
|
14140
|
+
*/
|
|
14141
|
+
indentSize: number
|
|
14142
|
+
/**
|
|
14143
|
+
* Identifies this column as a tree column
|
|
14144
|
+
*/
|
|
14145
|
+
readonly isTreeColumn: boolean
|
|
14146
|
+
/**
|
|
14147
|
+
* Identifies an object as an instance of [TreeColumnMixin](https://bryntum.com/products/grid/docs/api/Grid/column/mixin/TreeColumnMixin) class, or subclass thereof.
|
|
14148
|
+
*/
|
|
14149
|
+
readonly isTreeColumnMixin: boolean
|
|
14150
|
+
/**
|
|
14151
|
+
* The icon to use for the leaf nodes in the tree
|
|
14152
|
+
*/
|
|
14153
|
+
leafIconCls: string|null
|
|
14154
|
+
/**
|
|
14155
|
+
* Creates an instance of the class using the supplied configuration
|
|
14156
|
+
* @param {TreeColumnMixinClassConfig} config
|
|
14157
|
+
*/
|
|
14158
|
+
constructor(config?: TreeColumnMixinClassConfig);
|
|
14159
|
+
}
|
|
14160
|
+
|
|
14161
|
+
export const TreeColumnMixin : <T extends AnyConstructor<Base>>(base : T) => AnyConstructor<InstanceType<T> & TreeColumnMixinClass>
|
|
14162
|
+
|
|
14038
14163
|
/**
|
|
14039
14164
|
* Type with available listeners functions for [ColumnStore](https://bryntum.com/products/grid/docs/api/Grid/data/ColumnStore) class.
|
|
14040
14165
|
* Could be used for callbacks typings in TypeScript application.
|
|
@@ -15489,6 +15614,339 @@ export class GridRowModel extends Model {
|
|
|
15489
15614
|
target: '_self'|'_blank'|'_parent'|'_top'|null
|
|
15490
15615
|
}
|
|
15491
15616
|
|
|
15617
|
+
/**
|
|
15618
|
+
* Type with available listeners functions for [AI](https://bryntum.com/products/grid/docs/api/Grid/feature/AI) class.
|
|
15619
|
+
* Could be used for callbacks typings in TypeScript application.
|
|
15620
|
+
*/
|
|
15621
|
+
type AIListenersTypes = {
|
|
15622
|
+
/**
|
|
15623
|
+
* Fires before an object is destroyed.
|
|
15624
|
+
* @param {object} event Event object
|
|
15625
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
15626
|
+
*/
|
|
15627
|
+
beforeDestroy: (event: { source: Base }) => void
|
|
15628
|
+
/**
|
|
15629
|
+
* Fires when any other event is fired from the object.
|
|
15630
|
+
* ...
|
|
15631
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI#event-catchAll)
|
|
15632
|
+
* @param {object} event Event object
|
|
15633
|
+
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
15634
|
+
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
15635
|
+
*/
|
|
15636
|
+
catchAll: (event: {[key: string]: any, type: string}) => void
|
|
15637
|
+
/**
|
|
15638
|
+
* Fires when an object is destroyed.
|
|
15639
|
+
* @param {object} event Event object
|
|
15640
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
15641
|
+
*/
|
|
15642
|
+
destroy: (event: { source: Base }) => void
|
|
15643
|
+
/**
|
|
15644
|
+
* Fired when the plugin/feature is disabled.
|
|
15645
|
+
* @param {object} event Event object
|
|
15646
|
+
* @param {Core.mixin.InstancePlugin} event.source
|
|
15647
|
+
*/
|
|
15648
|
+
disable: (event: { source: InstancePlugin }) => void
|
|
15649
|
+
/**
|
|
15650
|
+
* Fired when the plugin/feature is enabled.
|
|
15651
|
+
* @param {object} event Event object
|
|
15652
|
+
* @param {Core.mixin.InstancePlugin} event.source
|
|
15653
|
+
*/
|
|
15654
|
+
enable: (event: { source: InstancePlugin }) => void
|
|
15655
|
+
/**
|
|
15656
|
+
* Fired when the user changes it's settings via the settings panel
|
|
15657
|
+
* @param {object} event Event object
|
|
15658
|
+
* @param {Core.data.AISettingsModel} event.userSettings The user settings record
|
|
15659
|
+
* @param {object} event.changes The changed properties and the new value
|
|
15660
|
+
*/
|
|
15661
|
+
userSettingsUpdate: (event: { userSettings: AISettingsModel, changes: object }) => void
|
|
15662
|
+
}
|
|
15663
|
+
|
|
15664
|
+
/**
|
|
15665
|
+
* Type with listeners options for [AI](https://bryntum.com/products/grid/docs/api/Grid/feature/AI) class.
|
|
15666
|
+
*/
|
|
15667
|
+
type AIListeners = {
|
|
15668
|
+
/**
|
|
15669
|
+
* The `this` object for listener methods
|
|
15670
|
+
*/
|
|
15671
|
+
thisObj?: object
|
|
15672
|
+
/**
|
|
15673
|
+
* Fires before an object is destroyed.
|
|
15674
|
+
* @param {object} event Event object
|
|
15675
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
15676
|
+
*/
|
|
15677
|
+
beforeDestroy?: ((event: { source: Base }) => void)|string
|
|
15678
|
+
/**
|
|
15679
|
+
* Fires when any other event is fired from the object.
|
|
15680
|
+
* ...
|
|
15681
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI#event-catchAll)
|
|
15682
|
+
* @param {object} event Event object
|
|
15683
|
+
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
15684
|
+
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
15685
|
+
*/
|
|
15686
|
+
catchAll?: ((event: {[key: string]: any, type: string}) => void)|string
|
|
15687
|
+
/**
|
|
15688
|
+
* Fires when an object is destroyed.
|
|
15689
|
+
* @param {object} event Event object
|
|
15690
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
15691
|
+
*/
|
|
15692
|
+
destroy?: ((event: { source: Base }) => void)|string
|
|
15693
|
+
/**
|
|
15694
|
+
* Fired when the plugin/feature is disabled.
|
|
15695
|
+
* @param {object} event Event object
|
|
15696
|
+
* @param {Core.mixin.InstancePlugin} event.source
|
|
15697
|
+
*/
|
|
15698
|
+
disable?: ((event: { source: InstancePlugin }) => void)|string
|
|
15699
|
+
/**
|
|
15700
|
+
* Fired when the plugin/feature is enabled.
|
|
15701
|
+
* @param {object} event Event object
|
|
15702
|
+
* @param {Core.mixin.InstancePlugin} event.source
|
|
15703
|
+
*/
|
|
15704
|
+
enable?: ((event: { source: InstancePlugin }) => void)|string
|
|
15705
|
+
/**
|
|
15706
|
+
* Fired when the user changes it's settings via the settings panel
|
|
15707
|
+
* @param {object} event Event object
|
|
15708
|
+
* @param {Core.data.AISettingsModel} event.userSettings The user settings record
|
|
15709
|
+
* @param {object} event.changes The changed properties and the new value
|
|
15710
|
+
*/
|
|
15711
|
+
userSettingsUpdate?: ((event: { userSettings: AISettingsModel, changes: object }) => void)|string
|
|
15712
|
+
}
|
|
15713
|
+
|
|
15714
|
+
/**
|
|
15715
|
+
* Type with configuration options for [AI](https://bryntum.com/products/grid/docs/api/Grid/feature/AI) class.
|
|
15716
|
+
*/
|
|
15717
|
+
type AIConfig = {
|
|
15718
|
+
type?: 'ai'
|
|
15719
|
+
/**
|
|
15720
|
+
* AI plugin to use. Provide the class here. Available plugins are:
|
|
15721
|
+
* ...
|
|
15722
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI#config-apiPlugin)
|
|
15723
|
+
*/
|
|
15724
|
+
apiPlugin?: typeof AbstractApiPlugin
|
|
15725
|
+
/**
|
|
15726
|
+
* Shows an AI model selector in the SettingsPanel where the user can select between the available API:s
|
|
15727
|
+
*/
|
|
15728
|
+
availableApis?: AIModelSelector[]
|
|
15729
|
+
/**
|
|
15730
|
+
* Set this to `true` or a config object to add a [ChatButton](https://bryntum.com/products/grid/docs/api/Core/widget/chat/ChatButton)
|
|
15731
|
+
*/
|
|
15732
|
+
chatButton?: boolean|ChatButtonConfig
|
|
15733
|
+
/**
|
|
15734
|
+
* Set to `true` to automatically console.log things that happen internally. AI responses and audio processing
|
|
15735
|
+
* for example.
|
|
15736
|
+
*/
|
|
15737
|
+
debugMode?: boolean
|
|
15738
|
+
/**
|
|
15739
|
+
* An array of strings which will be circulated as waiting status texts when awaiting long AI responses
|
|
15740
|
+
* Defaults to `['Waiting', 'Waiting ...', 'Still waiting', 'Still waiting ...']`
|
|
15741
|
+
*/
|
|
15742
|
+
delayStatusTexts?: string[]
|
|
15743
|
+
/**
|
|
15744
|
+
* The plugin/feature `disabled` state.
|
|
15745
|
+
* ...
|
|
15746
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI#config-disabled)
|
|
15747
|
+
*/
|
|
15748
|
+
disabled?: boolean|'inert'
|
|
15749
|
+
/**
|
|
15750
|
+
* The URL to send feedback (thumbs up/thumbs down) to
|
|
15751
|
+
*/
|
|
15752
|
+
feedbackUrl?: string
|
|
15753
|
+
/**
|
|
15754
|
+
* Additional options to pass to fetch requests
|
|
15755
|
+
*/
|
|
15756
|
+
fetchOptions?: object
|
|
15757
|
+
/**
|
|
15758
|
+
* By default, data item which are targeted in an AI action will be highlighted in the UI. Set this to `false`
|
|
15759
|
+
* to prevent this behavior.
|
|
15760
|
+
*/
|
|
15761
|
+
highlightRelatedItems?: boolean
|
|
15762
|
+
/**
|
|
15763
|
+
* The listener set for this object.
|
|
15764
|
+
* ...
|
|
15765
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI#config-listeners)
|
|
15766
|
+
*/
|
|
15767
|
+
listeners?: AIListeners
|
|
15768
|
+
/**
|
|
15769
|
+
* Set to `false` to not manage chat history on the client
|
|
15770
|
+
*/
|
|
15771
|
+
manageChatHistory?: boolean
|
|
15772
|
+
/**
|
|
15773
|
+
* Max tokens setting (if applicable)
|
|
15774
|
+
*/
|
|
15775
|
+
max_tokens?: number
|
|
15776
|
+
/**
|
|
15777
|
+
* AI model name (if applicable)
|
|
15778
|
+
*/
|
|
15779
|
+
model?: string
|
|
15780
|
+
/**
|
|
15781
|
+
* Use this to provide more details of data models currently available for the AI agent to work with. Provide
|
|
15782
|
+
* an object with model class names as keys and configuration objects as values.
|
|
15783
|
+
* ...
|
|
15784
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI#config-models)
|
|
15785
|
+
*/
|
|
15786
|
+
models?: Record<string, AIModelConfiguration>
|
|
15787
|
+
/**
|
|
15788
|
+
* The URL to send text prompts to
|
|
15789
|
+
*/
|
|
15790
|
+
promptUrl?: string
|
|
15791
|
+
/**
|
|
15792
|
+
* Enables support for redoing data modifying actions performed by the AI. Shows a redo icon under the last
|
|
15793
|
+
* redoable message in the ChatPanel. Requires undo to be enabled.
|
|
15794
|
+
*/
|
|
15795
|
+
redo?: boolean
|
|
15796
|
+
/**
|
|
15797
|
+
* Set to `true` to always prompt the user for confirmation before allowing the AI to add records
|
|
15798
|
+
*/
|
|
15799
|
+
requireConfirmationOnAdds?: boolean
|
|
15800
|
+
/**
|
|
15801
|
+
* Set to `true` to always prompt the user for confirmation before allowing the AI to remove records
|
|
15802
|
+
*/
|
|
15803
|
+
requireConfirmationOnRemovals?: boolean
|
|
15804
|
+
/**
|
|
15805
|
+
* Set to `true` to always prompt the user for confirmation before allowing the AI to update records
|
|
15806
|
+
*/
|
|
15807
|
+
requireConfirmationOnUpdates?: boolean
|
|
15808
|
+
/**
|
|
15809
|
+
* Set to `true` to upon creation, send a test prompt to verify the connection to the AI backend. If the test
|
|
15810
|
+
* fails, a warning icon will be shown on the chat panel.
|
|
15811
|
+
*/
|
|
15812
|
+
showNoConnectionIcon?: boolean
|
|
15813
|
+
/**
|
|
15814
|
+
* Temperature setting (if applicable). Overrides the default temperature set by the apiPlugin.
|
|
15815
|
+
*/
|
|
15816
|
+
temperature?: number
|
|
15817
|
+
/**
|
|
15818
|
+
* The URL to send text for speech synthesizing
|
|
15819
|
+
*/
|
|
15820
|
+
textToSpeechUrl?: string
|
|
15821
|
+
/**
|
|
15822
|
+
* A number of milliseconds a prompt is allowed to take before being aborted. Defaults to `60000` (1 minute).
|
|
15823
|
+
*/
|
|
15824
|
+
timeout?: number
|
|
15825
|
+
/**
|
|
15826
|
+
* Use this to add custom tools to the AI model's tool list or to remove existing tools. Provide an object
|
|
15827
|
+
* with the tool names as keys and configuration objects as values. Please note that modifying existing tools is
|
|
15828
|
+
* not supported, only removing them.
|
|
15829
|
+
* ...
|
|
15830
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI#config-tools)
|
|
15831
|
+
*/
|
|
15832
|
+
tools?: Record<string, AIToolConfig>
|
|
15833
|
+
/**
|
|
15834
|
+
* Use this to provide example prompt scenarios to "teach" the AI of more complex tasks. Must be configured as
|
|
15835
|
+
* an array containing arrays which contains the AI messages for the complete conversation.
|
|
15836
|
+
* ...
|
|
15837
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI#config-trainingData)
|
|
15838
|
+
*/
|
|
15839
|
+
trainingData?: any[]
|
|
15840
|
+
/**
|
|
15841
|
+
* The URL to send audio for transcribing
|
|
15842
|
+
*/
|
|
15843
|
+
transcribeUrl?: string
|
|
15844
|
+
/**
|
|
15845
|
+
* Enables support for undoing data modifying actions performed by the AI. Shows an undo icon under the last
|
|
15846
|
+
* undoable message in the ChatPanel.
|
|
15847
|
+
*/
|
|
15848
|
+
undo?: boolean
|
|
15849
|
+
/**
|
|
15850
|
+
* A configuration object containing the user's preferred AI feature settings. If there is a matching AI feature
|
|
15851
|
+
* class config, the user setting will take precedence
|
|
15852
|
+
* JSON.
|
|
15853
|
+
*/
|
|
15854
|
+
userSettings?: AISettingsModelConfig|AISettingsModel
|
|
15855
|
+
/**
|
|
15856
|
+
* Experimental configuration of the AI verbosity. Valid values are `"1"`, `"2"` and `"3"`, where `"1"` is
|
|
15857
|
+
* lowest.
|
|
15858
|
+
*/
|
|
15859
|
+
verbosityLevel?: string
|
|
15860
|
+
/**
|
|
15861
|
+
* Configuration settings for voice activation
|
|
15862
|
+
*/
|
|
15863
|
+
voiceActivation?: AIVoiceActivationConfig
|
|
15864
|
+
/**
|
|
15865
|
+
* Forces voice only mode, which hides the chat panel and only shows a record chat button.
|
|
15866
|
+
*/
|
|
15867
|
+
voiceOnly?: boolean
|
|
15868
|
+
/**
|
|
15869
|
+
* Fires before an object is destroyed.
|
|
15870
|
+
* @param {object} event Event object
|
|
15871
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
15872
|
+
*/
|
|
15873
|
+
onBeforeDestroy?: ((event: { source: Base }) => void)|string
|
|
15874
|
+
/**
|
|
15875
|
+
* Fires when any other event is fired from the object.
|
|
15876
|
+
* ...
|
|
15877
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI#event-catchAll)
|
|
15878
|
+
* @param {object} event Event object
|
|
15879
|
+
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
15880
|
+
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
15881
|
+
*/
|
|
15882
|
+
onCatchAll?: ((event: {[key: string]: any, type: string}) => void)|string
|
|
15883
|
+
/**
|
|
15884
|
+
* Fires when an object is destroyed.
|
|
15885
|
+
* @param {object} event Event object
|
|
15886
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
15887
|
+
*/
|
|
15888
|
+
onDestroy?: ((event: { source: Base }) => void)|string
|
|
15889
|
+
/**
|
|
15890
|
+
* Fired when the plugin/feature is disabled.
|
|
15891
|
+
* @param {object} event Event object
|
|
15892
|
+
* @param {Core.mixin.InstancePlugin} event.source
|
|
15893
|
+
*/
|
|
15894
|
+
onDisable?: ((event: { source: InstancePlugin }) => void)|string
|
|
15895
|
+
/**
|
|
15896
|
+
* Fired when the plugin/feature is enabled.
|
|
15897
|
+
* @param {object} event Event object
|
|
15898
|
+
* @param {Core.mixin.InstancePlugin} event.source
|
|
15899
|
+
*/
|
|
15900
|
+
onEnable?: ((event: { source: InstancePlugin }) => void)|string
|
|
15901
|
+
/**
|
|
15902
|
+
* Fired when the user changes it's settings via the settings panel
|
|
15903
|
+
* @param {object} event Event object
|
|
15904
|
+
* @param {Core.data.AISettingsModel} event.userSettings The user settings record
|
|
15905
|
+
* @param {object} event.changes The changed properties and the new value
|
|
15906
|
+
*/
|
|
15907
|
+
onUserSettingsUpdate?: ((event: { userSettings: AISettingsModel, changes: object }) => void)|string
|
|
15908
|
+
}
|
|
15909
|
+
|
|
15910
|
+
/**
|
|
15911
|
+
* This feature provides an AI agent for Grid. It provides a chat panel that allows the user to send messages to the
|
|
15912
|
+
* agent and see the responses. Which allows the user to use natural language to interact with the Grid in different
|
|
15913
|
+
* ways. For example, the user can ask the agent to filter the data, sort it, or select specific records. The agent can
|
|
15914
|
+
* also perform data manipulation operations such as adding, updating, deleting records.
|
|
15915
|
+
* ...
|
|
15916
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI)
|
|
15917
|
+
*/
|
|
15918
|
+
export class AI extends AIBase {
|
|
15919
|
+
/**
|
|
15920
|
+
* Identifies an object as an instance of [AI](https://bryntum.com/products/grid/docs/api/Grid/feature/AI) class, or subclass thereof.
|
|
15921
|
+
*/
|
|
15922
|
+
static readonly isAI: boolean
|
|
15923
|
+
/**
|
|
15924
|
+
* Identifies an object as an instance of [AI](https://bryntum.com/products/grid/docs/api/Grid/feature/AI) class, or subclass thereof.
|
|
15925
|
+
*/
|
|
15926
|
+
readonly isAI: boolean
|
|
15927
|
+
/**
|
|
15928
|
+
* Fires before an object is destroyed.
|
|
15929
|
+
* @param {object} event Event object
|
|
15930
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
15931
|
+
*/
|
|
15932
|
+
onBeforeDestroy: ((event: { source: Base }) => void)|string
|
|
15933
|
+
/**
|
|
15934
|
+
* Fires when any other event is fired from the object.
|
|
15935
|
+
* ...
|
|
15936
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI#event-catchAll)
|
|
15937
|
+
* @param {object} event Event object
|
|
15938
|
+
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
15939
|
+
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
15940
|
+
*/
|
|
15941
|
+
onCatchAll: ((event: {[key: string]: any, type: string}) => void)|string
|
|
15942
|
+
/**
|
|
15943
|
+
* Fires when an object is destroyed.
|
|
15944
|
+
* @param {object} event Event object
|
|
15945
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
15946
|
+
*/
|
|
15947
|
+
onDestroy: ((event: { source: Base }) => void)|string
|
|
15948
|
+
}
|
|
15949
|
+
|
|
15492
15950
|
/**
|
|
15493
15951
|
* Type with available listeners functions for [CellCopyPaste](https://bryntum.com/products/grid/docs/api/Grid/feature/CellCopyPaste) class.
|
|
15494
15952
|
* Could be used for callbacks typings in TypeScript application.
|
|
@@ -16592,6 +17050,10 @@ type CellTooltipConfig = {
|
|
|
16592
17050
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/CellTooltip#config-bodyCls)
|
|
16593
17051
|
*/
|
|
16594
17052
|
bodyCls?: string|object
|
|
17053
|
+
/**
|
|
17054
|
+
* Set `true` to add a border to this container's element.
|
|
17055
|
+
*/
|
|
17056
|
+
border?: boolean
|
|
16595
17057
|
/**
|
|
16596
17058
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
16597
17059
|
* hierarchy when triggered.
|
|
@@ -16664,7 +17126,7 @@ type CellTooltipConfig = {
|
|
|
16664
17126
|
* ...
|
|
16665
17127
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/CellTooltip#config-color)
|
|
16666
17128
|
*/
|
|
16667
|
-
color?:
|
|
17129
|
+
color?: Color
|
|
16668
17130
|
/**
|
|
16669
17131
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
16670
17132
|
*/
|
|
@@ -25698,6 +26160,13 @@ type AIFilterListenersTypes = {
|
|
|
25698
26160
|
* @param {Core.mixin.InstancePlugin} event.source
|
|
25699
26161
|
*/
|
|
25700
26162
|
enable: (event: { source: InstancePlugin }) => void
|
|
26163
|
+
/**
|
|
26164
|
+
* Fired when the user changes it's settings via the settings panel
|
|
26165
|
+
* @param {object} event Event object
|
|
26166
|
+
* @param {Core.data.AISettingsModel} event.userSettings The user settings record
|
|
26167
|
+
* @param {object} event.changes The changed properties and the new value
|
|
26168
|
+
*/
|
|
26169
|
+
userSettingsUpdate: (event: { userSettings: AISettingsModel, changes: object }) => void
|
|
25701
26170
|
}
|
|
25702
26171
|
|
|
25703
26172
|
/**
|
|
@@ -25741,6 +26210,13 @@ type AIFilterListeners = {
|
|
|
25741
26210
|
* @param {Core.mixin.InstancePlugin} event.source
|
|
25742
26211
|
*/
|
|
25743
26212
|
enable?: ((event: { source: InstancePlugin }) => void)|string
|
|
26213
|
+
/**
|
|
26214
|
+
* Fired when the user changes it's settings via the settings panel
|
|
26215
|
+
* @param {object} event Event object
|
|
26216
|
+
* @param {Core.data.AISettingsModel} event.userSettings The user settings record
|
|
26217
|
+
* @param {object} event.changes The changed properties and the new value
|
|
26218
|
+
*/
|
|
26219
|
+
userSettingsUpdate?: ((event: { userSettings: AISettingsModel, changes: object }) => void)|string
|
|
25744
26220
|
}
|
|
25745
26221
|
|
|
25746
26222
|
/**
|
|
@@ -25754,11 +26230,20 @@ type AIFilterConfig = {
|
|
|
25754
26230
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/ai/AIFilter#config-apiPlugin)
|
|
25755
26231
|
*/
|
|
25756
26232
|
apiPlugin?: typeof AbstractApiPlugin
|
|
26233
|
+
/**
|
|
26234
|
+
* Shows an AI model selector in the SettingsPanel where the user can select between the available API:s
|
|
26235
|
+
*/
|
|
26236
|
+
availableApis?: AIModelSelector[]
|
|
25757
26237
|
/**
|
|
25758
26238
|
* Set to `true` to automatically console.log things that happen internally. AI responses and audio processing
|
|
25759
26239
|
* for example.
|
|
25760
26240
|
*/
|
|
25761
26241
|
debugMode?: boolean
|
|
26242
|
+
/**
|
|
26243
|
+
* An array of strings which will be circulated as waiting status texts when awaiting long AI responses
|
|
26244
|
+
* Defaults to `['Waiting', 'Waiting ...', 'Still waiting', 'Still waiting ...']`
|
|
26245
|
+
*/
|
|
26246
|
+
delayStatusTexts?: string[]
|
|
25762
26247
|
/**
|
|
25763
26248
|
* The plugin/feature `disabled` state.
|
|
25764
26249
|
* ...
|
|
@@ -25769,6 +26254,11 @@ type AIFilterConfig = {
|
|
|
25769
26254
|
* Additional options to pass to fetch requests
|
|
25770
26255
|
*/
|
|
25771
26256
|
fetchOptions?: object
|
|
26257
|
+
/**
|
|
26258
|
+
* By default, data item which are targeted in an AI action will be highlighted in the UI. Set this to `false`
|
|
26259
|
+
* to prevent this behavior.
|
|
26260
|
+
*/
|
|
26261
|
+
highlightRelatedItems?: boolean
|
|
25772
26262
|
/**
|
|
25773
26263
|
* The listener set for this object.
|
|
25774
26264
|
* ...
|
|
@@ -25795,13 +26285,51 @@ type AIFilterConfig = {
|
|
|
25795
26285
|
*/
|
|
25796
26286
|
promptUrl?: string
|
|
25797
26287
|
/**
|
|
25798
|
-
*
|
|
26288
|
+
* Set to `true` to always prompt the user for confirmation before allowing the AI to add records
|
|
26289
|
+
*/
|
|
26290
|
+
requireConfirmationOnAdds?: boolean
|
|
26291
|
+
/**
|
|
26292
|
+
* Set to `true` to always prompt the user for confirmation before allowing the AI to remove records
|
|
26293
|
+
*/
|
|
26294
|
+
requireConfirmationOnRemovals?: boolean
|
|
26295
|
+
/**
|
|
26296
|
+
* Set to `true` to always prompt the user for confirmation before allowing the AI to update records
|
|
26297
|
+
*/
|
|
26298
|
+
requireConfirmationOnUpdates?: boolean
|
|
26299
|
+
/**
|
|
26300
|
+
* Temperature setting (if applicable). Overrides the default temperature set by the apiPlugin.
|
|
25799
26301
|
*/
|
|
25800
26302
|
temperature?: number
|
|
26303
|
+
/**
|
|
26304
|
+
* A number of milliseconds a prompt is allowed to take before being aborted. Defaults to `60000` (1 minute).
|
|
26305
|
+
*/
|
|
26306
|
+
timeout?: number
|
|
26307
|
+
/**
|
|
26308
|
+
* Use this to provide example prompt scenarios to "teach" the AI of more complex tasks. Must be configured as
|
|
26309
|
+
* an array containing arrays which contains the AI messages for the complete conversation.
|
|
26310
|
+
* ...
|
|
26311
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/ai/AIFilter#config-trainingData)
|
|
26312
|
+
*/
|
|
26313
|
+
trainingData?: any[]
|
|
25801
26314
|
/**
|
|
25802
26315
|
* The text to show in the toast when the text input did not result in any filter being applied
|
|
25803
26316
|
*/
|
|
25804
26317
|
unsuccessfulFilterMessage?: string
|
|
26318
|
+
/**
|
|
26319
|
+
* A configuration object containing the user's preferred AI feature settings. If there is a matching AI feature
|
|
26320
|
+
* class config, the user setting will take precedence
|
|
26321
|
+
* JSON.
|
|
26322
|
+
*/
|
|
26323
|
+
userSettings?: AISettingsModelConfig|AISettingsModel
|
|
26324
|
+
/**
|
|
26325
|
+
* Experimental configuration of the AI verbosity. Valid values are `"1"`, `"2"` and `"3"`, where `"1"` is
|
|
26326
|
+
* lowest.
|
|
26327
|
+
*/
|
|
26328
|
+
verbosityLevel?: string
|
|
26329
|
+
/**
|
|
26330
|
+
* Configuration settings for voice activation
|
|
26331
|
+
*/
|
|
26332
|
+
voiceActivation?: AIVoiceActivationConfig
|
|
25805
26333
|
/**
|
|
25806
26334
|
* Fires before an object is destroyed.
|
|
25807
26335
|
* @param {object} event Event object
|
|
@@ -25835,6 +26363,13 @@ type AIFilterConfig = {
|
|
|
25835
26363
|
* @param {Core.mixin.InstancePlugin} event.source
|
|
25836
26364
|
*/
|
|
25837
26365
|
onEnable?: ((event: { source: InstancePlugin }) => void)|string
|
|
26366
|
+
/**
|
|
26367
|
+
* Fired when the user changes it's settings via the settings panel
|
|
26368
|
+
* @param {object} event Event object
|
|
26369
|
+
* @param {Core.data.AISettingsModel} event.userSettings The user settings record
|
|
26370
|
+
* @param {object} event.changes The changed properties and the new value
|
|
26371
|
+
*/
|
|
26372
|
+
onUserSettingsUpdate?: ((event: { userSettings: AISettingsModel, changes: object }) => void)|string
|
|
25838
26373
|
}
|
|
25839
26374
|
|
|
25840
26375
|
/**
|
|
@@ -31517,6 +32052,7 @@ type GridListeners = {
|
|
|
31517
32052
|
}
|
|
31518
32053
|
|
|
31519
32054
|
type GridFeaturesType = {
|
|
32055
|
+
ai: AI
|
|
31520
32056
|
aiFilter: AIFilter
|
|
31521
32057
|
cellCopyPaste: CellCopyPaste
|
|
31522
32058
|
cellEdit: CellEdit
|
|
@@ -31560,6 +32096,7 @@ type GridFeaturesType = {
|
|
|
31560
32096
|
}
|
|
31561
32097
|
|
|
31562
32098
|
type GridFeaturesConfigType = {
|
|
32099
|
+
ai?: string|boolean|AIConfig
|
|
31563
32100
|
aiFilter?: string|boolean|AIFilterConfig
|
|
31564
32101
|
cellCopyPaste?: string|boolean|CellCopyPasteConfig
|
|
31565
32102
|
cellEdit?: string|boolean|CellEditConfig
|
|
@@ -31676,6 +32213,10 @@ type GridConfig = {
|
|
|
31676
32213
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/Grid#config-bodyCls)
|
|
31677
32214
|
*/
|
|
31678
32215
|
bodyCls?: string|object
|
|
32216
|
+
/**
|
|
32217
|
+
* Set `true` to add a border to this container's element.
|
|
32218
|
+
*/
|
|
32219
|
+
border?: boolean
|
|
31679
32220
|
/**
|
|
31680
32221
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
31681
32222
|
* hierarchy when triggered.
|
|
@@ -31727,7 +32268,7 @@ type GridConfig = {
|
|
|
31727
32268
|
* ...
|
|
31728
32269
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/Grid#config-color)
|
|
31729
32270
|
*/
|
|
31730
|
-
color?:
|
|
32271
|
+
color?: Color
|
|
31731
32272
|
/**
|
|
31732
32273
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
31733
32274
|
*/
|
|
@@ -35628,6 +36169,7 @@ type GridBaseListeners = {
|
|
|
35628
36169
|
}
|
|
35629
36170
|
|
|
35630
36171
|
type GridBaseFeaturesType = {
|
|
36172
|
+
ai: AI
|
|
35631
36173
|
aiFilter: AIFilter
|
|
35632
36174
|
cellCopyPaste: CellCopyPaste
|
|
35633
36175
|
cellEdit: CellEdit
|
|
@@ -35671,6 +36213,7 @@ type GridBaseFeaturesType = {
|
|
|
35671
36213
|
}
|
|
35672
36214
|
|
|
35673
36215
|
type GridBaseFeaturesConfigType = {
|
|
36216
|
+
ai?: string|boolean|AIConfig
|
|
35674
36217
|
aiFilter?: string|boolean|AIFilterConfig
|
|
35675
36218
|
cellCopyPaste?: string|boolean|CellCopyPasteConfig
|
|
35676
36219
|
cellEdit?: string|boolean|CellEditConfig
|
|
@@ -35786,6 +36329,10 @@ type GridBaseConfig = {
|
|
|
35786
36329
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/GridBase#config-bodyCls)
|
|
35787
36330
|
*/
|
|
35788
36331
|
bodyCls?: string|object
|
|
36332
|
+
/**
|
|
36333
|
+
* Set `true` to add a border to this container's element.
|
|
36334
|
+
*/
|
|
36335
|
+
border?: boolean
|
|
35789
36336
|
/**
|
|
35790
36337
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
35791
36338
|
* hierarchy when triggered.
|
|
@@ -35837,7 +36384,7 @@ type GridBaseConfig = {
|
|
|
35837
36384
|
* ...
|
|
35838
36385
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/GridBase#config-color)
|
|
35839
36386
|
*/
|
|
35840
|
-
color?:
|
|
36387
|
+
color?: Color
|
|
35841
36388
|
/**
|
|
35842
36389
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
35843
36390
|
*/
|
|
@@ -39583,7 +40130,7 @@ type SubGridConfig = {
|
|
|
39583
40130
|
* ...
|
|
39584
40131
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/SubGrid#config-color)
|
|
39585
40132
|
*/
|
|
39586
|
-
color?:
|
|
40133
|
+
color?: Color
|
|
39587
40134
|
/**
|
|
39588
40135
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
39589
40136
|
*/
|
|
@@ -42167,6 +42714,7 @@ type TreeGridListeners = {
|
|
|
42167
42714
|
}
|
|
42168
42715
|
|
|
42169
42716
|
type TreeGridFeaturesType = {
|
|
42717
|
+
ai: AI
|
|
42170
42718
|
aiFilter: AIFilter
|
|
42171
42719
|
cellCopyPaste: CellCopyPaste
|
|
42172
42720
|
cellEdit: CellEdit
|
|
@@ -42210,6 +42758,7 @@ type TreeGridFeaturesType = {
|
|
|
42210
42758
|
}
|
|
42211
42759
|
|
|
42212
42760
|
type TreeGridFeaturesConfigType = {
|
|
42761
|
+
ai?: string|boolean|AIConfig
|
|
42213
42762
|
aiFilter?: string|boolean|AIFilterConfig
|
|
42214
42763
|
cellCopyPaste?: string|boolean|CellCopyPasteConfig
|
|
42215
42764
|
cellEdit?: string|boolean|CellEditConfig
|
|
@@ -42326,6 +42875,10 @@ type TreeGridConfig = {
|
|
|
42326
42875
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/TreeGrid#config-bodyCls)
|
|
42327
42876
|
*/
|
|
42328
42877
|
bodyCls?: string|object
|
|
42878
|
+
/**
|
|
42879
|
+
* Set `true` to add a border to this container's element.
|
|
42880
|
+
*/
|
|
42881
|
+
border?: boolean
|
|
42329
42882
|
/**
|
|
42330
42883
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
42331
42884
|
* hierarchy when triggered.
|
|
@@ -42377,7 +42930,7 @@ type TreeGridConfig = {
|
|
|
42377
42930
|
* ...
|
|
42378
42931
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/TreeGrid#config-color)
|
|
42379
42932
|
*/
|
|
42380
|
-
color?:
|
|
42933
|
+
color?: Color
|
|
42381
42934
|
/**
|
|
42382
42935
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
42383
42936
|
*/
|
|
@@ -44705,6 +45258,10 @@ type ExportDialogConfig = {
|
|
|
44705
45258
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/export/ExportDialog#config-bodyCls)
|
|
44706
45259
|
*/
|
|
44707
45260
|
bodyCls?: string|object
|
|
45261
|
+
/**
|
|
45262
|
+
* Set `true` to add a border to this container's element.
|
|
45263
|
+
*/
|
|
45264
|
+
border?: boolean
|
|
44708
45265
|
/**
|
|
44709
45266
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
44710
45267
|
* hierarchy when triggered.
|
|
@@ -44777,7 +45334,7 @@ type ExportDialogConfig = {
|
|
|
44777
45334
|
* ...
|
|
44778
45335
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/export/ExportDialog#config-color)
|
|
44779
45336
|
*/
|
|
44780
|
-
color?:
|
|
45337
|
+
color?: Color
|
|
44781
45338
|
/**
|
|
44782
45339
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
44783
45340
|
*/
|
|
@@ -46805,7 +47362,7 @@ type AIFilterFieldConfig = {
|
|
|
46805
47362
|
* ...
|
|
46806
47363
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-color)
|
|
46807
47364
|
*/
|
|
46808
|
-
color?:
|
|
47365
|
+
color?: Color
|
|
46809
47366
|
/**
|
|
46810
47367
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
46811
47368
|
*/
|
|
@@ -48022,7 +48579,7 @@ type ChecklistFilterComboConfig = {
|
|
|
48022
48579
|
* ...
|
|
48023
48580
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-color)
|
|
48024
48581
|
*/
|
|
48025
|
-
color?:
|
|
48582
|
+
color?: Color
|
|
48026
48583
|
/**
|
|
48027
48584
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
48028
48585
|
*/
|
|
@@ -49269,7 +49826,7 @@ type GridChartDesignerConfig = {
|
|
|
49269
49826
|
* ...
|
|
49270
49827
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-color)
|
|
49271
49828
|
*/
|
|
49272
|
-
color?:
|
|
49829
|
+
color?: Color
|
|
49273
49830
|
/**
|
|
49274
49831
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
49275
49832
|
*/
|
|
@@ -50139,6 +50696,10 @@ type GridFieldFilterPickerConfig = {
|
|
|
50139
50696
|
* Update assigned [record](https://bryntum.com/products/grid/docs/api/Core/widget/Container#config-record) automatically on field changes
|
|
50140
50697
|
*/
|
|
50141
50698
|
autoUpdateRecord?: boolean
|
|
50699
|
+
/**
|
|
50700
|
+
* Set `true` to add a border to this container's element.
|
|
50701
|
+
*/
|
|
50702
|
+
border?: boolean
|
|
50142
50703
|
/**
|
|
50143
50704
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
50144
50705
|
* hierarchy when triggered.
|
|
@@ -50178,7 +50739,7 @@ type GridFieldFilterPickerConfig = {
|
|
|
50178
50739
|
* ...
|
|
50179
50740
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-color)
|
|
50180
50741
|
*/
|
|
50181
|
-
color?:
|
|
50742
|
+
color?: Color
|
|
50182
50743
|
/**
|
|
50183
50744
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
50184
50745
|
*/
|
|
@@ -51247,6 +51808,10 @@ type GridFieldFilterPickerGroupConfig = {
|
|
|
51247
51808
|
* Update assigned [record](https://bryntum.com/products/grid/docs/api/Core/widget/Container#config-record) automatically on field changes
|
|
51248
51809
|
*/
|
|
51249
51810
|
autoUpdateRecord?: boolean
|
|
51811
|
+
/**
|
|
51812
|
+
* Set `true` to add a border to this container's element.
|
|
51813
|
+
*/
|
|
51814
|
+
border?: boolean
|
|
51250
51815
|
/**
|
|
51251
51816
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
51252
51817
|
* hierarchy when triggered.
|
|
@@ -51302,7 +51867,7 @@ type GridFieldFilterPickerGroupConfig = {
|
|
|
51302
51867
|
* ...
|
|
51303
51868
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-color)
|
|
51304
51869
|
*/
|
|
51305
|
-
color?:
|
|
51870
|
+
color?: Color
|
|
51306
51871
|
/**
|
|
51307
51872
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
51308
51873
|
*/
|
|
@@ -52449,7 +53014,7 @@ type GroupBarConfig = {
|
|
|
52449
53014
|
* ...
|
|
52450
53015
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-color)
|
|
52451
53016
|
*/
|
|
52452
|
-
color?:
|
|
53017
|
+
color?: Color
|
|
52453
53018
|
/**
|
|
52454
53019
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
52455
53020
|
*/
|
|
@@ -53588,7 +54153,7 @@ type TreeComboConfig = {
|
|
|
53588
54153
|
* ...
|
|
53589
54154
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/TreeCombo#config-color)
|
|
53590
54155
|
*/
|
|
53591
|
-
color?:
|
|
54156
|
+
color?: Color
|
|
53592
54157
|
/**
|
|
53593
54158
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
53594
54159
|
*/
|