@bryntum/grid-thin-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/entry.js +4 -0
- package/grid.css +6 -1
- package/grid.css.map +2 -2
- package/grid.d.ts +588 -23
- package/lib/column/Column.js +1 -1
- package/lib/column/DateColumn.js +1 -1
- package/lib/column/NumberColumn.js +1 -1
- package/lib/column/TreeColumn.js +1 -1
- package/lib/column/mixin/TreeColumnMixin.js +1 -0
- package/lib/data/ColumnStore.js +1 -1
- package/lib/feature/AI.js +1 -0
- package/lib/feature/CellCopyPaste.js +1 -1
- package/lib/feature/CellEdit.js +1 -1
- package/lib/feature/CellMenu.js +1 -1
- package/lib/feature/Charts.js +1 -1
- package/lib/feature/ColumnPicker.js +1 -1
- package/lib/feature/FillHandle.js +1 -1
- package/lib/feature/Filter.js +1 -1
- package/lib/feature/FilterBar.js +1 -1
- package/lib/feature/Group.js +1 -1
- package/lib/feature/GroupSummary.js +1 -1
- package/lib/feature/HeaderMenu.js +1 -1
- package/lib/feature/LockRows.js +1 -1
- package/lib/feature/MergeCells.js +1 -1
- package/lib/feature/PinColumns.js +1 -1
- package/lib/feature/QuickFind.js +1 -1
- package/lib/feature/RegionResize.js +1 -1
- package/lib/feature/RowCopyPaste.js +1 -1
- package/lib/feature/RowExpander.css +9 -0
- package/lib/feature/RowExpander.js +1 -1
- package/lib/feature/RowReorder.js +1 -1
- package/lib/feature/Search.js +1 -1
- package/lib/feature/Sort.js +1 -1
- package/lib/feature/Split.js +1 -1
- package/lib/feature/Stripe.js +1 -1
- package/lib/feature/Summary.js +1 -1
- package/lib/feature/Tree.js +1 -1
- package/lib/feature/TreeGroup.js +1 -1
- package/lib/feature/ai/AIFilter.js +1 -1
- package/lib/feature/ai/agents/DefaultGridAgent.js +3 -3
- package/lib/feature/base/GridEditBase.js +1 -1
- package/lib/localization/Ar.js +2 -1
- package/lib/localization/Bg.js +2 -1
- package/lib/localization/Ca.js +2 -1
- package/lib/localization/Cs.js +2 -1
- package/lib/localization/Da.js +2 -1
- package/lib/localization/De.js +2 -1
- package/lib/localization/El.js +2 -1
- package/lib/localization/En.js +2 -1
- package/lib/localization/EnGb.js +2 -1
- package/lib/localization/Es.js +2 -1
- package/lib/localization/Et.js +2 -1
- package/lib/localization/Eu.js +2 -1
- package/lib/localization/Fi.js +2 -1
- package/lib/localization/FrFr.js +2 -1
- package/lib/localization/Gl.js +2 -1
- package/lib/localization/He.js +2 -1
- package/lib/localization/Hi.js +2 -1
- package/lib/localization/Hr.js +2 -1
- package/lib/localization/Hu.js +2 -1
- package/lib/localization/Id.js +2 -1
- package/lib/localization/It.js +2 -1
- package/lib/localization/Ja.js +2 -1
- package/lib/localization/Kk.js +2 -1
- package/lib/localization/Ko.js +2 -1
- package/lib/localization/Lt.js +2 -1
- package/lib/localization/Lv.js +2 -1
- package/lib/localization/Ms.js +2 -1
- package/lib/localization/Nl.js +2 -1
- package/lib/localization/No.js +2 -1
- package/lib/localization/Pl.js +2 -1
- package/lib/localization/Pt.js +2 -1
- package/lib/localization/PtBr.js +2 -1
- package/lib/localization/Ro.js +2 -1
- package/lib/localization/Ru.js +2 -1
- package/lib/localization/Sk.js +2 -1
- package/lib/localization/Sl.js +2 -1
- package/lib/localization/Sr.js +2 -1
- package/lib/localization/SrRs.js +2 -1
- package/lib/localization/SvSE.js +2 -1
- package/lib/localization/Th.js +2 -1
- package/lib/localization/Tr.js +2 -1
- package/lib/localization/Uk.js +2 -1
- package/lib/localization/Vi.js +2 -1
- package/lib/localization/ZhCn.js +2 -1
- package/lib/localization/ZhTw.js +2 -1
- package/lib/row/RowManager.js +1 -1
- package/lib/view/GridBase.css +1 -1
- package/lib/view/GridBase.js +1 -1
- package/lib/view/export/ExportDialog.js +1 -1
- package/lib/view/mixin/GridElementEvents.js +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/package.json +1 -1
package/grid.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { AIBase, AIModelConfiguration,
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { AIBase, AIModelConfiguration, AIModelSelector, AISettingsModel, AISettingsModelConfig, AITool, AIToolConfig,
|
|
2
|
+
AIVoiceActivationConfig, AbstractApiPlugin, AjaxStore, AjaxStoreConfig, AlignSpec, AnimateScrollOptions, Base, BryntumListenerConfig,
|
|
3
|
+
BryntumScrollOptions, ChatButton, ChatButtonConfig, ChipView, ChipViewConfig, Collection, CollectionCompareOperator, CollectionConfig,
|
|
4
|
+
CollectionFilter, CollectionFilterConfig, CollectionSorter, CollectionSorterConfig, Color, ColorDescriptor, Combo, ComboConfig,
|
|
5
|
+
ComboModel, Container, ContextMenuBase, CoreColumn, CoreColumnConfig, CoreContainerItem, CoreContainerItemConfig,
|
|
6
|
+
CoreContainerLayoutConfig, CoreInputFieldConfig, CoreModelFieldConfig, DataField, DataLoadRequestResponse, DomClassList, DomConfig,
|
|
7
|
+
DragHelper, DragHelperConfig, Duration, DurationConfig, Editor, EditorConfig, EventsClass, FetchOptions, Field, FieldContainer,
|
|
8
|
+
FieldContainerConfig, FieldFilterPicker, FieldFilterPickerConfig, FieldFilterPickerGroup, FieldOption, FieldTriggerConfig,
|
|
9
|
+
FormulaProvider, FormulaProviderConfig, Grouper, InstancePlugin, KeyMap, KeyMapConfig, LazyLoadRequestParams, List, ListConfig,
|
|
10
|
+
LocaleHelper, LocaleManager, Mask, MaskConfig, Menu, MenuConfig, MenuItem, MenuItemEntry, Model, NumberFormat, NumberFormatConfig,
|
|
10
11
|
PagingRequestParams, PagingToolbar, PagingToolbarConfig, Panel, PanelCollapser, PanelCollapserConfig, PanelCollapserOverlay,
|
|
11
12
|
PanelCollapserOverlayConfig, PanelConfig, PanelHeader, Popup, PopupConfig, Rectangle, ScrollManager, ScrollManagerConfig, Scroller,
|
|
12
13
|
ScrollerConfig, Sorter, StateProvider, StateTrackingManager, Store, StoreConfig, StoreSearchResult, SyncDataOnLoadOptions, Tab,
|
|
@@ -866,6 +867,8 @@ type ActionColumnConfig = {
|
|
|
866
867
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
867
868
|
/**
|
|
868
869
|
* Renderer function for the column header.
|
|
870
|
+
* ...
|
|
871
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/ActionColumn#config-headerRenderer)
|
|
869
872
|
* @param {object} renderData
|
|
870
873
|
* @param {Grid.column.Column} renderData.column This column
|
|
871
874
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -1583,6 +1586,8 @@ type AggregateColumnConfig = {
|
|
|
1583
1586
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
1584
1587
|
/**
|
|
1585
1588
|
* Renderer function for the column header.
|
|
1589
|
+
* ...
|
|
1590
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/AggregateColumn#config-headerRenderer)
|
|
1586
1591
|
* @param {object} renderData
|
|
1587
1592
|
* @param {Grid.column.Column} renderData.column This column
|
|
1588
1593
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -2351,6 +2356,8 @@ type ChartColumnConfig = {
|
|
|
2351
2356
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
2352
2357
|
/**
|
|
2353
2358
|
* Renderer function for the column header.
|
|
2359
|
+
* ...
|
|
2360
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/ChartColumn#config-headerRenderer)
|
|
2354
2361
|
* @param {object} renderData
|
|
2355
2362
|
* @param {Grid.column.Column} renderData.column This column
|
|
2356
2363
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -3124,6 +3131,8 @@ type CheckColumnConfig = {
|
|
|
3124
3131
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
3125
3132
|
/**
|
|
3126
3133
|
* Renderer function for the column header.
|
|
3134
|
+
* ...
|
|
3135
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/CheckColumn#config-headerRenderer)
|
|
3127
3136
|
* @param {object} renderData
|
|
3128
3137
|
* @param {Grid.column.Column} renderData.column This column
|
|
3129
3138
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -3912,6 +3921,8 @@ type ColorColumnConfig = {
|
|
|
3912
3921
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
3913
3922
|
/**
|
|
3914
3923
|
* Renderer function for the column header.
|
|
3924
|
+
* ...
|
|
3925
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/ColorColumn#config-headerRenderer)
|
|
3915
3926
|
* @param {object} renderData
|
|
3916
3927
|
* @param {Grid.column.Column} renderData.column This column
|
|
3917
3928
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -4645,6 +4656,8 @@ type ColumnConfig = {
|
|
|
4645
4656
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
4646
4657
|
/**
|
|
4647
4658
|
* Renderer function for the column header.
|
|
4659
|
+
* ...
|
|
4660
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/Column#config-headerRenderer)
|
|
4648
4661
|
* @param {object} renderData
|
|
4649
4662
|
* @param {Grid.column.Column} renderData.column This column
|
|
4650
4663
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -5940,6 +5953,8 @@ type CurrencyColumnConfig = {
|
|
|
5940
5953
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
5941
5954
|
/**
|
|
5942
5955
|
* Renderer function for the column header.
|
|
5956
|
+
* ...
|
|
5957
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/CurrencyColumn#config-headerRenderer)
|
|
5943
5958
|
* @param {object} renderData
|
|
5944
5959
|
* @param {Grid.column.Column} renderData.column This column
|
|
5945
5960
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -6690,6 +6705,8 @@ type DateColumnConfig = {
|
|
|
6690
6705
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
6691
6706
|
/**
|
|
6692
6707
|
* Renderer function for the column header.
|
|
6708
|
+
* ...
|
|
6709
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/DateColumn#config-headerRenderer)
|
|
6693
6710
|
* @param {object} renderData
|
|
6694
6711
|
* @param {Grid.column.Column} renderData.column This column
|
|
6695
6712
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -7451,6 +7468,8 @@ type NumberColumnConfig = {
|
|
|
7451
7468
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
7452
7469
|
/**
|
|
7453
7470
|
* Renderer function for the column header.
|
|
7471
|
+
* ...
|
|
7472
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/NumberColumn#config-headerRenderer)
|
|
7454
7473
|
* @param {object} renderData
|
|
7455
7474
|
* @param {Grid.column.Column} renderData.column This column
|
|
7456
7475
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -8228,6 +8247,8 @@ type PercentColumnConfig = {
|
|
|
8228
8247
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
8229
8248
|
/**
|
|
8230
8249
|
* Renderer function for the column header.
|
|
8250
|
+
* ...
|
|
8251
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/PercentColumn#config-headerRenderer)
|
|
8231
8252
|
* @param {object} renderData
|
|
8232
8253
|
* @param {Grid.column.Column} renderData.column This column
|
|
8233
8254
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -9004,6 +9025,8 @@ type RatingColumnConfig = {
|
|
|
9004
9025
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
9005
9026
|
/**
|
|
9006
9027
|
* Renderer function for the column header.
|
|
9028
|
+
* ...
|
|
9029
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/RatingColumn#config-headerRenderer)
|
|
9007
9030
|
* @param {object} renderData
|
|
9008
9031
|
* @param {Grid.column.Column} renderData.column This column
|
|
9009
9032
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -9682,6 +9705,8 @@ type RowNumberColumnConfig = {
|
|
|
9682
9705
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
9683
9706
|
/**
|
|
9684
9707
|
* Renderer function for the column header.
|
|
9708
|
+
* ...
|
|
9709
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/RowNumberColumn#config-headerRenderer)
|
|
9685
9710
|
* @param {object} renderData
|
|
9686
9711
|
* @param {Grid.column.Column} renderData.column This column
|
|
9687
9712
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -10348,6 +10373,8 @@ type SparklineColumnConfig = {
|
|
|
10348
10373
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
10349
10374
|
/**
|
|
10350
10375
|
* Renderer function for the column header.
|
|
10376
|
+
* ...
|
|
10377
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/SparklineColumn#config-headerRenderer)
|
|
10351
10378
|
* @param {object} renderData
|
|
10352
10379
|
* @param {Grid.column.Column} renderData.column This column
|
|
10353
10380
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -11070,6 +11097,8 @@ type TemplateColumnConfig = {
|
|
|
11070
11097
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
11071
11098
|
/**
|
|
11072
11099
|
* Renderer function for the column header.
|
|
11100
|
+
* ...
|
|
11101
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/TemplateColumn#config-headerRenderer)
|
|
11073
11102
|
* @param {object} renderData
|
|
11074
11103
|
* @param {Grid.column.Column} renderData.column This column
|
|
11075
11104
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -11797,6 +11826,8 @@ type TimeColumnConfig = {
|
|
|
11797
11826
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
11798
11827
|
/**
|
|
11799
11828
|
* Renderer function for the column header.
|
|
11829
|
+
* ...
|
|
11830
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/TimeColumn#config-headerRenderer)
|
|
11800
11831
|
* @param {object} renderData
|
|
11801
11832
|
* @param {Grid.column.Column} renderData.column This column
|
|
11802
11833
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -12527,6 +12558,8 @@ type TreeColumnConfig = {
|
|
|
12527
12558
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
12528
12559
|
/**
|
|
12529
12560
|
* Renderer function for the column header.
|
|
12561
|
+
* ...
|
|
12562
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/TreeColumn#config-headerRenderer)
|
|
12530
12563
|
* @param {object} renderData
|
|
12531
12564
|
* @param {Grid.column.Column} renderData.column This column
|
|
12532
12565
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -12896,6 +12929,10 @@ export class TreeColumn extends Column {
|
|
|
12896
12929
|
* Identifies an object as an instance of [TreeColumn](https://bryntum.com/products/grid/docs/api/Grid/column/TreeColumn) class, or subclass thereof.
|
|
12897
12930
|
*/
|
|
12898
12931
|
static readonly isTreeColumn: boolean
|
|
12932
|
+
/**
|
|
12933
|
+
* Identifies an object as an instance of [TreeColumnMixin](https://bryntum.com/products/grid/docs/api/Grid/column/mixin/TreeColumnMixin) class, or subclass thereof.
|
|
12934
|
+
*/
|
|
12935
|
+
static readonly isTreeColumnMixin: boolean
|
|
12899
12936
|
/**
|
|
12900
12937
|
* The icon to use for the expand / collapse button in expanded state
|
|
12901
12938
|
*/
|
|
@@ -12920,6 +12957,10 @@ export class TreeColumn extends Column {
|
|
|
12920
12957
|
* Identifies an object as an instance of [TreeColumn](https://bryntum.com/products/grid/docs/api/Grid/column/TreeColumn) class, or subclass thereof.
|
|
12921
12958
|
*/
|
|
12922
12959
|
readonly isTreeColumn: boolean
|
|
12960
|
+
/**
|
|
12961
|
+
* Identifies an object as an instance of [TreeColumnMixin](https://bryntum.com/products/grid/docs/api/Grid/column/mixin/TreeColumnMixin) class, or subclass thereof.
|
|
12962
|
+
*/
|
|
12963
|
+
readonly isTreeColumnMixin: boolean
|
|
12923
12964
|
/**
|
|
12924
12965
|
* The icon to use for the leaf nodes in the tree
|
|
12925
12966
|
*/
|
|
@@ -13276,6 +13317,8 @@ type WidgetColumnConfig = {
|
|
|
13276
13317
|
headerMenuItems?: Record<string, MenuItemEntry>
|
|
13277
13318
|
/**
|
|
13278
13319
|
* Renderer function for the column header.
|
|
13320
|
+
* ...
|
|
13321
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/WidgetColumn#config-headerRenderer)
|
|
13279
13322
|
* @param {object} renderData
|
|
13280
13323
|
* @param {Grid.column.Column} renderData.column This column
|
|
13281
13324
|
* @param {HTMLElement} renderData.headerElement The header element
|
|
@@ -13712,6 +13755,88 @@ export class WidgetColumn extends Column {
|
|
|
13712
13755
|
}): void;
|
|
13713
13756
|
}
|
|
13714
13757
|
|
|
13758
|
+
/**
|
|
13759
|
+
* Type with configuration options for [TreeColumnMixin](https://bryntum.com/products/grid/docs/api/Grid/column/mixin/TreeColumnMixin) class.
|
|
13760
|
+
*/
|
|
13761
|
+
type TreeColumnMixinClassConfig = {
|
|
13762
|
+
/**
|
|
13763
|
+
* The icon to use for the expand / collapse button in expanded state
|
|
13764
|
+
*/
|
|
13765
|
+
collapseIconCls?: string|null
|
|
13766
|
+
/**
|
|
13767
|
+
* The icon to use for a parent node in collapsed state
|
|
13768
|
+
*/
|
|
13769
|
+
collapsedFolderIconCls?: string|null
|
|
13770
|
+
/**
|
|
13771
|
+
* The icon to use for the expand / collapse button icon in collapsed state
|
|
13772
|
+
*/
|
|
13773
|
+
expandIconCls?: string|null
|
|
13774
|
+
/**
|
|
13775
|
+
* The icon to use for a parent node in expanded state
|
|
13776
|
+
*/
|
|
13777
|
+
expandedFolderIconCls?: string|null
|
|
13778
|
+
/**
|
|
13779
|
+
* Size of the child indent in em. Resulting indent is indentSize multiplied by child level.
|
|
13780
|
+
* ...
|
|
13781
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/mixin/TreeColumnMixin#config-indentSize)
|
|
13782
|
+
*/
|
|
13783
|
+
indentSize?: number
|
|
13784
|
+
/**
|
|
13785
|
+
* The icon to use for the leaf nodes in the tree
|
|
13786
|
+
*/
|
|
13787
|
+
leafIconCls?: string|null
|
|
13788
|
+
}
|
|
13789
|
+
|
|
13790
|
+
export class TreeColumnMixinClass {
|
|
13791
|
+
/**
|
|
13792
|
+
* Identifies this column as a tree column
|
|
13793
|
+
*/
|
|
13794
|
+
static readonly isTreeColumn: boolean
|
|
13795
|
+
/**
|
|
13796
|
+
* Identifies an object as an instance of [TreeColumnMixin](https://bryntum.com/products/grid/docs/api/Grid/column/mixin/TreeColumnMixin) class, or subclass thereof.
|
|
13797
|
+
*/
|
|
13798
|
+
static readonly isTreeColumnMixin: boolean
|
|
13799
|
+
/**
|
|
13800
|
+
* The icon to use for the expand / collapse button in expanded state
|
|
13801
|
+
*/
|
|
13802
|
+
collapseIconCls: string|null
|
|
13803
|
+
/**
|
|
13804
|
+
* The icon to use for a parent node in collapsed state
|
|
13805
|
+
*/
|
|
13806
|
+
collapsedFolderIconCls: string|null
|
|
13807
|
+
/**
|
|
13808
|
+
* The icon to use for the expand / collapse button icon in collapsed state
|
|
13809
|
+
*/
|
|
13810
|
+
expandIconCls: string|null
|
|
13811
|
+
/**
|
|
13812
|
+
* The icon to use for a parent node in expanded state
|
|
13813
|
+
*/
|
|
13814
|
+
expandedFolderIconCls: string|null
|
|
13815
|
+
/**
|
|
13816
|
+
* Size of the child indent in em. Resulting indent is indentSize multiplied by child level.
|
|
13817
|
+
*/
|
|
13818
|
+
indentSize: number
|
|
13819
|
+
/**
|
|
13820
|
+
* Identifies this column as a tree column
|
|
13821
|
+
*/
|
|
13822
|
+
readonly isTreeColumn: boolean
|
|
13823
|
+
/**
|
|
13824
|
+
* Identifies an object as an instance of [TreeColumnMixin](https://bryntum.com/products/grid/docs/api/Grid/column/mixin/TreeColumnMixin) class, or subclass thereof.
|
|
13825
|
+
*/
|
|
13826
|
+
readonly isTreeColumnMixin: boolean
|
|
13827
|
+
/**
|
|
13828
|
+
* The icon to use for the leaf nodes in the tree
|
|
13829
|
+
*/
|
|
13830
|
+
leafIconCls: string|null
|
|
13831
|
+
/**
|
|
13832
|
+
* Creates an instance of the class using the supplied configuration
|
|
13833
|
+
* @param {TreeColumnMixinClassConfig} config
|
|
13834
|
+
*/
|
|
13835
|
+
constructor(config?: TreeColumnMixinClassConfig);
|
|
13836
|
+
}
|
|
13837
|
+
|
|
13838
|
+
export const TreeColumnMixin : <T extends AnyConstructor<Base>>(base : T) => AnyConstructor<InstanceType<T> & TreeColumnMixinClass>
|
|
13839
|
+
|
|
13715
13840
|
/**
|
|
13716
13841
|
* Type with available listeners functions for [ColumnStore](https://bryntum.com/products/grid/docs/api/Grid/data/ColumnStore) class.
|
|
13717
13842
|
* Could be used for callbacks typings in TypeScript application.
|
|
@@ -15166,6 +15291,339 @@ export class GridRowModel extends Model {
|
|
|
15166
15291
|
target: '_self'|'_blank'|'_parent'|'_top'|null
|
|
15167
15292
|
}
|
|
15168
15293
|
|
|
15294
|
+
/**
|
|
15295
|
+
* Type with available listeners functions for [AI](https://bryntum.com/products/grid/docs/api/Grid/feature/AI) class.
|
|
15296
|
+
* Could be used for callbacks typings in TypeScript application.
|
|
15297
|
+
*/
|
|
15298
|
+
type AIListenersTypes = {
|
|
15299
|
+
/**
|
|
15300
|
+
* Fires before an object is destroyed.
|
|
15301
|
+
* @param {object} event Event object
|
|
15302
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
15303
|
+
*/
|
|
15304
|
+
beforeDestroy: (event: { source: Base }) => void
|
|
15305
|
+
/**
|
|
15306
|
+
* Fires when any other event is fired from the object.
|
|
15307
|
+
* ...
|
|
15308
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI#event-catchAll)
|
|
15309
|
+
* @param {object} event Event object
|
|
15310
|
+
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
15311
|
+
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
15312
|
+
*/
|
|
15313
|
+
catchAll: (event: {[key: string]: any, type: string}) => void
|
|
15314
|
+
/**
|
|
15315
|
+
* Fires when an object is destroyed.
|
|
15316
|
+
* @param {object} event Event object
|
|
15317
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
15318
|
+
*/
|
|
15319
|
+
destroy: (event: { source: Base }) => void
|
|
15320
|
+
/**
|
|
15321
|
+
* Fired when the plugin/feature is disabled.
|
|
15322
|
+
* @param {object} event Event object
|
|
15323
|
+
* @param {Core.mixin.InstancePlugin} event.source
|
|
15324
|
+
*/
|
|
15325
|
+
disable: (event: { source: InstancePlugin }) => void
|
|
15326
|
+
/**
|
|
15327
|
+
* Fired when the plugin/feature is enabled.
|
|
15328
|
+
* @param {object} event Event object
|
|
15329
|
+
* @param {Core.mixin.InstancePlugin} event.source
|
|
15330
|
+
*/
|
|
15331
|
+
enable: (event: { source: InstancePlugin }) => void
|
|
15332
|
+
/**
|
|
15333
|
+
* Fired when the user changes it's settings via the settings panel
|
|
15334
|
+
* @param {object} event Event object
|
|
15335
|
+
* @param {Core.data.AISettingsModel} event.userSettings The user settings record
|
|
15336
|
+
* @param {object} event.changes The changed properties and the new value
|
|
15337
|
+
*/
|
|
15338
|
+
userSettingsUpdate: (event: { userSettings: AISettingsModel, changes: object }) => void
|
|
15339
|
+
}
|
|
15340
|
+
|
|
15341
|
+
/**
|
|
15342
|
+
* Type with listeners options for [AI](https://bryntum.com/products/grid/docs/api/Grid/feature/AI) class.
|
|
15343
|
+
*/
|
|
15344
|
+
type AIListeners = {
|
|
15345
|
+
/**
|
|
15346
|
+
* The `this` object for listener methods
|
|
15347
|
+
*/
|
|
15348
|
+
thisObj?: object
|
|
15349
|
+
/**
|
|
15350
|
+
* Fires before an object is destroyed.
|
|
15351
|
+
* @param {object} event Event object
|
|
15352
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
15353
|
+
*/
|
|
15354
|
+
beforeDestroy?: ((event: { source: Base }) => void)|string
|
|
15355
|
+
/**
|
|
15356
|
+
* Fires when any other event is fired from the object.
|
|
15357
|
+
* ...
|
|
15358
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI#event-catchAll)
|
|
15359
|
+
* @param {object} event Event object
|
|
15360
|
+
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
15361
|
+
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
15362
|
+
*/
|
|
15363
|
+
catchAll?: ((event: {[key: string]: any, type: string}) => void)|string
|
|
15364
|
+
/**
|
|
15365
|
+
* Fires when an object is destroyed.
|
|
15366
|
+
* @param {object} event Event object
|
|
15367
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
15368
|
+
*/
|
|
15369
|
+
destroy?: ((event: { source: Base }) => void)|string
|
|
15370
|
+
/**
|
|
15371
|
+
* Fired when the plugin/feature is disabled.
|
|
15372
|
+
* @param {object} event Event object
|
|
15373
|
+
* @param {Core.mixin.InstancePlugin} event.source
|
|
15374
|
+
*/
|
|
15375
|
+
disable?: ((event: { source: InstancePlugin }) => void)|string
|
|
15376
|
+
/**
|
|
15377
|
+
* Fired when the plugin/feature is enabled.
|
|
15378
|
+
* @param {object} event Event object
|
|
15379
|
+
* @param {Core.mixin.InstancePlugin} event.source
|
|
15380
|
+
*/
|
|
15381
|
+
enable?: ((event: { source: InstancePlugin }) => void)|string
|
|
15382
|
+
/**
|
|
15383
|
+
* Fired when the user changes it's settings via the settings panel
|
|
15384
|
+
* @param {object} event Event object
|
|
15385
|
+
* @param {Core.data.AISettingsModel} event.userSettings The user settings record
|
|
15386
|
+
* @param {object} event.changes The changed properties and the new value
|
|
15387
|
+
*/
|
|
15388
|
+
userSettingsUpdate?: ((event: { userSettings: AISettingsModel, changes: object }) => void)|string
|
|
15389
|
+
}
|
|
15390
|
+
|
|
15391
|
+
/**
|
|
15392
|
+
* Type with configuration options for [AI](https://bryntum.com/products/grid/docs/api/Grid/feature/AI) class.
|
|
15393
|
+
*/
|
|
15394
|
+
type AIConfig = {
|
|
15395
|
+
type?: 'ai'
|
|
15396
|
+
/**
|
|
15397
|
+
* AI plugin to use. Provide the class here. Available plugins are:
|
|
15398
|
+
* ...
|
|
15399
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI#config-apiPlugin)
|
|
15400
|
+
*/
|
|
15401
|
+
apiPlugin?: typeof AbstractApiPlugin
|
|
15402
|
+
/**
|
|
15403
|
+
* Shows an AI model selector in the SettingsPanel where the user can select between the available API:s
|
|
15404
|
+
*/
|
|
15405
|
+
availableApis?: AIModelSelector[]
|
|
15406
|
+
/**
|
|
15407
|
+
* Set this to `true` or a config object to add a [ChatButton](https://bryntum.com/products/grid/docs/api/Core/widget/chat/ChatButton)
|
|
15408
|
+
*/
|
|
15409
|
+
chatButton?: boolean|ChatButtonConfig
|
|
15410
|
+
/**
|
|
15411
|
+
* Set to `true` to automatically console.log things that happen internally. AI responses and audio processing
|
|
15412
|
+
* for example.
|
|
15413
|
+
*/
|
|
15414
|
+
debugMode?: boolean
|
|
15415
|
+
/**
|
|
15416
|
+
* An array of strings which will be circulated as waiting status texts when awaiting long AI responses
|
|
15417
|
+
* Defaults to `['Waiting', 'Waiting ...', 'Still waiting', 'Still waiting ...']`
|
|
15418
|
+
*/
|
|
15419
|
+
delayStatusTexts?: string[]
|
|
15420
|
+
/**
|
|
15421
|
+
* The plugin/feature `disabled` state.
|
|
15422
|
+
* ...
|
|
15423
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI#config-disabled)
|
|
15424
|
+
*/
|
|
15425
|
+
disabled?: boolean|'inert'
|
|
15426
|
+
/**
|
|
15427
|
+
* The URL to send feedback (thumbs up/thumbs down) to
|
|
15428
|
+
*/
|
|
15429
|
+
feedbackUrl?: string
|
|
15430
|
+
/**
|
|
15431
|
+
* Additional options to pass to fetch requests
|
|
15432
|
+
*/
|
|
15433
|
+
fetchOptions?: object
|
|
15434
|
+
/**
|
|
15435
|
+
* By default, data item which are targeted in an AI action will be highlighted in the UI. Set this to `false`
|
|
15436
|
+
* to prevent this behavior.
|
|
15437
|
+
*/
|
|
15438
|
+
highlightRelatedItems?: boolean
|
|
15439
|
+
/**
|
|
15440
|
+
* The listener set for this object.
|
|
15441
|
+
* ...
|
|
15442
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI#config-listeners)
|
|
15443
|
+
*/
|
|
15444
|
+
listeners?: AIListeners
|
|
15445
|
+
/**
|
|
15446
|
+
* Set to `false` to not manage chat history on the client
|
|
15447
|
+
*/
|
|
15448
|
+
manageChatHistory?: boolean
|
|
15449
|
+
/**
|
|
15450
|
+
* Max tokens setting (if applicable)
|
|
15451
|
+
*/
|
|
15452
|
+
max_tokens?: number
|
|
15453
|
+
/**
|
|
15454
|
+
* AI model name (if applicable)
|
|
15455
|
+
*/
|
|
15456
|
+
model?: string
|
|
15457
|
+
/**
|
|
15458
|
+
* Use this to provide more details of data models currently available for the AI agent to work with. Provide
|
|
15459
|
+
* an object with model class names as keys and configuration objects as values.
|
|
15460
|
+
* ...
|
|
15461
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI#config-models)
|
|
15462
|
+
*/
|
|
15463
|
+
models?: Record<string, AIModelConfiguration>
|
|
15464
|
+
/**
|
|
15465
|
+
* The URL to send text prompts to
|
|
15466
|
+
*/
|
|
15467
|
+
promptUrl?: string
|
|
15468
|
+
/**
|
|
15469
|
+
* Enables support for redoing data modifying actions performed by the AI. Shows a redo icon under the last
|
|
15470
|
+
* redoable message in the ChatPanel. Requires undo to be enabled.
|
|
15471
|
+
*/
|
|
15472
|
+
redo?: boolean
|
|
15473
|
+
/**
|
|
15474
|
+
* Set to `true` to always prompt the user for confirmation before allowing the AI to add records
|
|
15475
|
+
*/
|
|
15476
|
+
requireConfirmationOnAdds?: boolean
|
|
15477
|
+
/**
|
|
15478
|
+
* Set to `true` to always prompt the user for confirmation before allowing the AI to remove records
|
|
15479
|
+
*/
|
|
15480
|
+
requireConfirmationOnRemovals?: boolean
|
|
15481
|
+
/**
|
|
15482
|
+
* Set to `true` to always prompt the user for confirmation before allowing the AI to update records
|
|
15483
|
+
*/
|
|
15484
|
+
requireConfirmationOnUpdates?: boolean
|
|
15485
|
+
/**
|
|
15486
|
+
* Set to `true` to upon creation, send a test prompt to verify the connection to the AI backend. If the test
|
|
15487
|
+
* fails, a warning icon will be shown on the chat panel.
|
|
15488
|
+
*/
|
|
15489
|
+
showNoConnectionIcon?: boolean
|
|
15490
|
+
/**
|
|
15491
|
+
* Temperature setting (if applicable). Overrides the default temperature set by the apiPlugin.
|
|
15492
|
+
*/
|
|
15493
|
+
temperature?: number
|
|
15494
|
+
/**
|
|
15495
|
+
* The URL to send text for speech synthesizing
|
|
15496
|
+
*/
|
|
15497
|
+
textToSpeechUrl?: string
|
|
15498
|
+
/**
|
|
15499
|
+
* A number of milliseconds a prompt is allowed to take before being aborted. Defaults to `60000` (1 minute).
|
|
15500
|
+
*/
|
|
15501
|
+
timeout?: number
|
|
15502
|
+
/**
|
|
15503
|
+
* Use this to add custom tools to the AI model's tool list or to remove existing tools. Provide an object
|
|
15504
|
+
* with the tool names as keys and configuration objects as values. Please note that modifying existing tools is
|
|
15505
|
+
* not supported, only removing them.
|
|
15506
|
+
* ...
|
|
15507
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI#config-tools)
|
|
15508
|
+
*/
|
|
15509
|
+
tools?: Record<string, AIToolConfig>
|
|
15510
|
+
/**
|
|
15511
|
+
* Use this to provide example prompt scenarios to "teach" the AI of more complex tasks. Must be configured as
|
|
15512
|
+
* an array containing arrays which contains the AI messages for the complete conversation.
|
|
15513
|
+
* ...
|
|
15514
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI#config-trainingData)
|
|
15515
|
+
*/
|
|
15516
|
+
trainingData?: any[]
|
|
15517
|
+
/**
|
|
15518
|
+
* The URL to send audio for transcribing
|
|
15519
|
+
*/
|
|
15520
|
+
transcribeUrl?: string
|
|
15521
|
+
/**
|
|
15522
|
+
* Enables support for undoing data modifying actions performed by the AI. Shows an undo icon under the last
|
|
15523
|
+
* undoable message in the ChatPanel.
|
|
15524
|
+
*/
|
|
15525
|
+
undo?: boolean
|
|
15526
|
+
/**
|
|
15527
|
+
* A configuration object containing the user's preferred AI feature settings. If there is a matching AI feature
|
|
15528
|
+
* class config, the user setting will take precedence
|
|
15529
|
+
* JSON.
|
|
15530
|
+
*/
|
|
15531
|
+
userSettings?: AISettingsModelConfig|AISettingsModel
|
|
15532
|
+
/**
|
|
15533
|
+
* Experimental configuration of the AI verbosity. Valid values are `"1"`, `"2"` and `"3"`, where `"1"` is
|
|
15534
|
+
* lowest.
|
|
15535
|
+
*/
|
|
15536
|
+
verbosityLevel?: string
|
|
15537
|
+
/**
|
|
15538
|
+
* Configuration settings for voice activation
|
|
15539
|
+
*/
|
|
15540
|
+
voiceActivation?: AIVoiceActivationConfig
|
|
15541
|
+
/**
|
|
15542
|
+
* Forces voice only mode, which hides the chat panel and only shows a record chat button.
|
|
15543
|
+
*/
|
|
15544
|
+
voiceOnly?: boolean
|
|
15545
|
+
/**
|
|
15546
|
+
* Fires before an object is destroyed.
|
|
15547
|
+
* @param {object} event Event object
|
|
15548
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
15549
|
+
*/
|
|
15550
|
+
onBeforeDestroy?: ((event: { source: Base }) => void)|string
|
|
15551
|
+
/**
|
|
15552
|
+
* Fires when any other event is fired from the object.
|
|
15553
|
+
* ...
|
|
15554
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI#event-catchAll)
|
|
15555
|
+
* @param {object} event Event object
|
|
15556
|
+
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
15557
|
+
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
15558
|
+
*/
|
|
15559
|
+
onCatchAll?: ((event: {[key: string]: any, type: string}) => void)|string
|
|
15560
|
+
/**
|
|
15561
|
+
* Fires when an object is destroyed.
|
|
15562
|
+
* @param {object} event Event object
|
|
15563
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
15564
|
+
*/
|
|
15565
|
+
onDestroy?: ((event: { source: Base }) => void)|string
|
|
15566
|
+
/**
|
|
15567
|
+
* Fired when the plugin/feature is disabled.
|
|
15568
|
+
* @param {object} event Event object
|
|
15569
|
+
* @param {Core.mixin.InstancePlugin} event.source
|
|
15570
|
+
*/
|
|
15571
|
+
onDisable?: ((event: { source: InstancePlugin }) => void)|string
|
|
15572
|
+
/**
|
|
15573
|
+
* Fired when the plugin/feature is enabled.
|
|
15574
|
+
* @param {object} event Event object
|
|
15575
|
+
* @param {Core.mixin.InstancePlugin} event.source
|
|
15576
|
+
*/
|
|
15577
|
+
onEnable?: ((event: { source: InstancePlugin }) => void)|string
|
|
15578
|
+
/**
|
|
15579
|
+
* Fired when the user changes it's settings via the settings panel
|
|
15580
|
+
* @param {object} event Event object
|
|
15581
|
+
* @param {Core.data.AISettingsModel} event.userSettings The user settings record
|
|
15582
|
+
* @param {object} event.changes The changed properties and the new value
|
|
15583
|
+
*/
|
|
15584
|
+
onUserSettingsUpdate?: ((event: { userSettings: AISettingsModel, changes: object }) => void)|string
|
|
15585
|
+
}
|
|
15586
|
+
|
|
15587
|
+
/**
|
|
15588
|
+
* This feature provides an AI agent for Grid. It provides a chat panel that allows the user to send messages to the
|
|
15589
|
+
* agent and see the responses. Which allows the user to use natural language to interact with the Grid in different
|
|
15590
|
+
* ways. For example, the user can ask the agent to filter the data, sort it, or select specific records. The agent can
|
|
15591
|
+
* also perform data manipulation operations such as adding, updating, deleting records.
|
|
15592
|
+
* ...
|
|
15593
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI)
|
|
15594
|
+
*/
|
|
15595
|
+
export class AI extends AIBase {
|
|
15596
|
+
/**
|
|
15597
|
+
* Identifies an object as an instance of [AI](https://bryntum.com/products/grid/docs/api/Grid/feature/AI) class, or subclass thereof.
|
|
15598
|
+
*/
|
|
15599
|
+
static readonly isAI: boolean
|
|
15600
|
+
/**
|
|
15601
|
+
* Identifies an object as an instance of [AI](https://bryntum.com/products/grid/docs/api/Grid/feature/AI) class, or subclass thereof.
|
|
15602
|
+
*/
|
|
15603
|
+
readonly isAI: boolean
|
|
15604
|
+
/**
|
|
15605
|
+
* Fires before an object is destroyed.
|
|
15606
|
+
* @param {object} event Event object
|
|
15607
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
15608
|
+
*/
|
|
15609
|
+
onBeforeDestroy: ((event: { source: Base }) => void)|string
|
|
15610
|
+
/**
|
|
15611
|
+
* Fires when any other event is fired from the object.
|
|
15612
|
+
* ...
|
|
15613
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI#event-catchAll)
|
|
15614
|
+
* @param {object} event Event object
|
|
15615
|
+
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
15616
|
+
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
15617
|
+
*/
|
|
15618
|
+
onCatchAll: ((event: {[key: string]: any, type: string}) => void)|string
|
|
15619
|
+
/**
|
|
15620
|
+
* Fires when an object is destroyed.
|
|
15621
|
+
* @param {object} event Event object
|
|
15622
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
15623
|
+
*/
|
|
15624
|
+
onDestroy: ((event: { source: Base }) => void)|string
|
|
15625
|
+
}
|
|
15626
|
+
|
|
15169
15627
|
/**
|
|
15170
15628
|
* Type with available listeners functions for [CellCopyPaste](https://bryntum.com/products/grid/docs/api/Grid/feature/CellCopyPaste) class.
|
|
15171
15629
|
* Could be used for callbacks typings in TypeScript application.
|
|
@@ -16269,6 +16727,10 @@ type CellTooltipConfig = {
|
|
|
16269
16727
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/CellTooltip#config-bodyCls)
|
|
16270
16728
|
*/
|
|
16271
16729
|
bodyCls?: string|object
|
|
16730
|
+
/**
|
|
16731
|
+
* Set `true` to add a border to this container's element.
|
|
16732
|
+
*/
|
|
16733
|
+
border?: boolean
|
|
16272
16734
|
/**
|
|
16273
16735
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
16274
16736
|
* hierarchy when triggered.
|
|
@@ -16341,7 +16803,7 @@ type CellTooltipConfig = {
|
|
|
16341
16803
|
* ...
|
|
16342
16804
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/CellTooltip#config-color)
|
|
16343
16805
|
*/
|
|
16344
|
-
color?:
|
|
16806
|
+
color?: Color
|
|
16345
16807
|
/**
|
|
16346
16808
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
16347
16809
|
*/
|
|
@@ -25375,6 +25837,13 @@ type AIFilterListenersTypes = {
|
|
|
25375
25837
|
* @param {Core.mixin.InstancePlugin} event.source
|
|
25376
25838
|
*/
|
|
25377
25839
|
enable: (event: { source: InstancePlugin }) => void
|
|
25840
|
+
/**
|
|
25841
|
+
* Fired when the user changes it's settings via the settings panel
|
|
25842
|
+
* @param {object} event Event object
|
|
25843
|
+
* @param {Core.data.AISettingsModel} event.userSettings The user settings record
|
|
25844
|
+
* @param {object} event.changes The changed properties and the new value
|
|
25845
|
+
*/
|
|
25846
|
+
userSettingsUpdate: (event: { userSettings: AISettingsModel, changes: object }) => void
|
|
25378
25847
|
}
|
|
25379
25848
|
|
|
25380
25849
|
/**
|
|
@@ -25418,6 +25887,13 @@ type AIFilterListeners = {
|
|
|
25418
25887
|
* @param {Core.mixin.InstancePlugin} event.source
|
|
25419
25888
|
*/
|
|
25420
25889
|
enable?: ((event: { source: InstancePlugin }) => void)|string
|
|
25890
|
+
/**
|
|
25891
|
+
* Fired when the user changes it's settings via the settings panel
|
|
25892
|
+
* @param {object} event Event object
|
|
25893
|
+
* @param {Core.data.AISettingsModel} event.userSettings The user settings record
|
|
25894
|
+
* @param {object} event.changes The changed properties and the new value
|
|
25895
|
+
*/
|
|
25896
|
+
userSettingsUpdate?: ((event: { userSettings: AISettingsModel, changes: object }) => void)|string
|
|
25421
25897
|
}
|
|
25422
25898
|
|
|
25423
25899
|
/**
|
|
@@ -25431,11 +25907,20 @@ type AIFilterConfig = {
|
|
|
25431
25907
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/ai/AIFilter#config-apiPlugin)
|
|
25432
25908
|
*/
|
|
25433
25909
|
apiPlugin?: typeof AbstractApiPlugin
|
|
25910
|
+
/**
|
|
25911
|
+
* Shows an AI model selector in the SettingsPanel where the user can select between the available API:s
|
|
25912
|
+
*/
|
|
25913
|
+
availableApis?: AIModelSelector[]
|
|
25434
25914
|
/**
|
|
25435
25915
|
* Set to `true` to automatically console.log things that happen internally. AI responses and audio processing
|
|
25436
25916
|
* for example.
|
|
25437
25917
|
*/
|
|
25438
25918
|
debugMode?: boolean
|
|
25919
|
+
/**
|
|
25920
|
+
* An array of strings which will be circulated as waiting status texts when awaiting long AI responses
|
|
25921
|
+
* Defaults to `['Waiting', 'Waiting ...', 'Still waiting', 'Still waiting ...']`
|
|
25922
|
+
*/
|
|
25923
|
+
delayStatusTexts?: string[]
|
|
25439
25924
|
/**
|
|
25440
25925
|
* The plugin/feature `disabled` state.
|
|
25441
25926
|
* ...
|
|
@@ -25446,6 +25931,11 @@ type AIFilterConfig = {
|
|
|
25446
25931
|
* Additional options to pass to fetch requests
|
|
25447
25932
|
*/
|
|
25448
25933
|
fetchOptions?: object
|
|
25934
|
+
/**
|
|
25935
|
+
* By default, data item which are targeted in an AI action will be highlighted in the UI. Set this to `false`
|
|
25936
|
+
* to prevent this behavior.
|
|
25937
|
+
*/
|
|
25938
|
+
highlightRelatedItems?: boolean
|
|
25449
25939
|
/**
|
|
25450
25940
|
* The listener set for this object.
|
|
25451
25941
|
* ...
|
|
@@ -25472,13 +25962,51 @@ type AIFilterConfig = {
|
|
|
25472
25962
|
*/
|
|
25473
25963
|
promptUrl?: string
|
|
25474
25964
|
/**
|
|
25475
|
-
*
|
|
25965
|
+
* Set to `true` to always prompt the user for confirmation before allowing the AI to add records
|
|
25966
|
+
*/
|
|
25967
|
+
requireConfirmationOnAdds?: boolean
|
|
25968
|
+
/**
|
|
25969
|
+
* Set to `true` to always prompt the user for confirmation before allowing the AI to remove records
|
|
25970
|
+
*/
|
|
25971
|
+
requireConfirmationOnRemovals?: boolean
|
|
25972
|
+
/**
|
|
25973
|
+
* Set to `true` to always prompt the user for confirmation before allowing the AI to update records
|
|
25974
|
+
*/
|
|
25975
|
+
requireConfirmationOnUpdates?: boolean
|
|
25976
|
+
/**
|
|
25977
|
+
* Temperature setting (if applicable). Overrides the default temperature set by the apiPlugin.
|
|
25476
25978
|
*/
|
|
25477
25979
|
temperature?: number
|
|
25980
|
+
/**
|
|
25981
|
+
* A number of milliseconds a prompt is allowed to take before being aborted. Defaults to `60000` (1 minute).
|
|
25982
|
+
*/
|
|
25983
|
+
timeout?: number
|
|
25984
|
+
/**
|
|
25985
|
+
* Use this to provide example prompt scenarios to "teach" the AI of more complex tasks. Must be configured as
|
|
25986
|
+
* an array containing arrays which contains the AI messages for the complete conversation.
|
|
25987
|
+
* ...
|
|
25988
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/ai/AIFilter#config-trainingData)
|
|
25989
|
+
*/
|
|
25990
|
+
trainingData?: any[]
|
|
25478
25991
|
/**
|
|
25479
25992
|
* The text to show in the toast when the text input did not result in any filter being applied
|
|
25480
25993
|
*/
|
|
25481
25994
|
unsuccessfulFilterMessage?: string
|
|
25995
|
+
/**
|
|
25996
|
+
* A configuration object containing the user's preferred AI feature settings. If there is a matching AI feature
|
|
25997
|
+
* class config, the user setting will take precedence
|
|
25998
|
+
* JSON.
|
|
25999
|
+
*/
|
|
26000
|
+
userSettings?: AISettingsModelConfig|AISettingsModel
|
|
26001
|
+
/**
|
|
26002
|
+
* Experimental configuration of the AI verbosity. Valid values are `"1"`, `"2"` and `"3"`, where `"1"` is
|
|
26003
|
+
* lowest.
|
|
26004
|
+
*/
|
|
26005
|
+
verbosityLevel?: string
|
|
26006
|
+
/**
|
|
26007
|
+
* Configuration settings for voice activation
|
|
26008
|
+
*/
|
|
26009
|
+
voiceActivation?: AIVoiceActivationConfig
|
|
25482
26010
|
/**
|
|
25483
26011
|
* Fires before an object is destroyed.
|
|
25484
26012
|
* @param {object} event Event object
|
|
@@ -25512,6 +26040,13 @@ type AIFilterConfig = {
|
|
|
25512
26040
|
* @param {Core.mixin.InstancePlugin} event.source
|
|
25513
26041
|
*/
|
|
25514
26042
|
onEnable?: ((event: { source: InstancePlugin }) => void)|string
|
|
26043
|
+
/**
|
|
26044
|
+
* Fired when the user changes it's settings via the settings panel
|
|
26045
|
+
* @param {object} event Event object
|
|
26046
|
+
* @param {Core.data.AISettingsModel} event.userSettings The user settings record
|
|
26047
|
+
* @param {object} event.changes The changed properties and the new value
|
|
26048
|
+
*/
|
|
26049
|
+
onUserSettingsUpdate?: ((event: { userSettings: AISettingsModel, changes: object }) => void)|string
|
|
25515
26050
|
}
|
|
25516
26051
|
|
|
25517
26052
|
/**
|
|
@@ -31194,6 +31729,7 @@ type GridListeners = {
|
|
|
31194
31729
|
}
|
|
31195
31730
|
|
|
31196
31731
|
type GridFeaturesType = {
|
|
31732
|
+
ai: AI
|
|
31197
31733
|
aiFilter: AIFilter
|
|
31198
31734
|
cellCopyPaste: CellCopyPaste
|
|
31199
31735
|
cellEdit: CellEdit
|
|
@@ -31237,6 +31773,7 @@ type GridFeaturesType = {
|
|
|
31237
31773
|
}
|
|
31238
31774
|
|
|
31239
31775
|
type GridFeaturesConfigType = {
|
|
31776
|
+
ai?: string|boolean|AIConfig
|
|
31240
31777
|
aiFilter?: string|boolean|AIFilterConfig
|
|
31241
31778
|
cellCopyPaste?: string|boolean|CellCopyPasteConfig
|
|
31242
31779
|
cellEdit?: string|boolean|CellEditConfig
|
|
@@ -31353,6 +31890,10 @@ type GridConfig = {
|
|
|
31353
31890
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/Grid#config-bodyCls)
|
|
31354
31891
|
*/
|
|
31355
31892
|
bodyCls?: string|object
|
|
31893
|
+
/**
|
|
31894
|
+
* Set `true` to add a border to this container's element.
|
|
31895
|
+
*/
|
|
31896
|
+
border?: boolean
|
|
31356
31897
|
/**
|
|
31357
31898
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
31358
31899
|
* hierarchy when triggered.
|
|
@@ -31404,7 +31945,7 @@ type GridConfig = {
|
|
|
31404
31945
|
* ...
|
|
31405
31946
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/Grid#config-color)
|
|
31406
31947
|
*/
|
|
31407
|
-
color?:
|
|
31948
|
+
color?: Color
|
|
31408
31949
|
/**
|
|
31409
31950
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
31410
31951
|
*/
|
|
@@ -35305,6 +35846,7 @@ type GridBaseListeners = {
|
|
|
35305
35846
|
}
|
|
35306
35847
|
|
|
35307
35848
|
type GridBaseFeaturesType = {
|
|
35849
|
+
ai: AI
|
|
35308
35850
|
aiFilter: AIFilter
|
|
35309
35851
|
cellCopyPaste: CellCopyPaste
|
|
35310
35852
|
cellEdit: CellEdit
|
|
@@ -35348,6 +35890,7 @@ type GridBaseFeaturesType = {
|
|
|
35348
35890
|
}
|
|
35349
35891
|
|
|
35350
35892
|
type GridBaseFeaturesConfigType = {
|
|
35893
|
+
ai?: string|boolean|AIConfig
|
|
35351
35894
|
aiFilter?: string|boolean|AIFilterConfig
|
|
35352
35895
|
cellCopyPaste?: string|boolean|CellCopyPasteConfig
|
|
35353
35896
|
cellEdit?: string|boolean|CellEditConfig
|
|
@@ -35463,6 +36006,10 @@ type GridBaseConfig = {
|
|
|
35463
36006
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/GridBase#config-bodyCls)
|
|
35464
36007
|
*/
|
|
35465
36008
|
bodyCls?: string|object
|
|
36009
|
+
/**
|
|
36010
|
+
* Set `true` to add a border to this container's element.
|
|
36011
|
+
*/
|
|
36012
|
+
border?: boolean
|
|
35466
36013
|
/**
|
|
35467
36014
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
35468
36015
|
* hierarchy when triggered.
|
|
@@ -35514,7 +36061,7 @@ type GridBaseConfig = {
|
|
|
35514
36061
|
* ...
|
|
35515
36062
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/GridBase#config-color)
|
|
35516
36063
|
*/
|
|
35517
|
-
color?:
|
|
36064
|
+
color?: Color
|
|
35518
36065
|
/**
|
|
35519
36066
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
35520
36067
|
*/
|
|
@@ -39260,7 +39807,7 @@ type SubGridConfig = {
|
|
|
39260
39807
|
* ...
|
|
39261
39808
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/SubGrid#config-color)
|
|
39262
39809
|
*/
|
|
39263
|
-
color?:
|
|
39810
|
+
color?: Color
|
|
39264
39811
|
/**
|
|
39265
39812
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
39266
39813
|
*/
|
|
@@ -41844,6 +42391,7 @@ type TreeGridListeners = {
|
|
|
41844
42391
|
}
|
|
41845
42392
|
|
|
41846
42393
|
type TreeGridFeaturesType = {
|
|
42394
|
+
ai: AI
|
|
41847
42395
|
aiFilter: AIFilter
|
|
41848
42396
|
cellCopyPaste: CellCopyPaste
|
|
41849
42397
|
cellEdit: CellEdit
|
|
@@ -41887,6 +42435,7 @@ type TreeGridFeaturesType = {
|
|
|
41887
42435
|
}
|
|
41888
42436
|
|
|
41889
42437
|
type TreeGridFeaturesConfigType = {
|
|
42438
|
+
ai?: string|boolean|AIConfig
|
|
41890
42439
|
aiFilter?: string|boolean|AIFilterConfig
|
|
41891
42440
|
cellCopyPaste?: string|boolean|CellCopyPasteConfig
|
|
41892
42441
|
cellEdit?: string|boolean|CellEditConfig
|
|
@@ -42003,6 +42552,10 @@ type TreeGridConfig = {
|
|
|
42003
42552
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/TreeGrid#config-bodyCls)
|
|
42004
42553
|
*/
|
|
42005
42554
|
bodyCls?: string|object
|
|
42555
|
+
/**
|
|
42556
|
+
* Set `true` to add a border to this container's element.
|
|
42557
|
+
*/
|
|
42558
|
+
border?: boolean
|
|
42006
42559
|
/**
|
|
42007
42560
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
42008
42561
|
* hierarchy when triggered.
|
|
@@ -42054,7 +42607,7 @@ type TreeGridConfig = {
|
|
|
42054
42607
|
* ...
|
|
42055
42608
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/TreeGrid#config-color)
|
|
42056
42609
|
*/
|
|
42057
|
-
color?:
|
|
42610
|
+
color?: Color
|
|
42058
42611
|
/**
|
|
42059
42612
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
42060
42613
|
*/
|
|
@@ -44382,6 +44935,10 @@ type ExportDialogConfig = {
|
|
|
44382
44935
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/export/ExportDialog#config-bodyCls)
|
|
44383
44936
|
*/
|
|
44384
44937
|
bodyCls?: string|object
|
|
44938
|
+
/**
|
|
44939
|
+
* Set `true` to add a border to this container's element.
|
|
44940
|
+
*/
|
|
44941
|
+
border?: boolean
|
|
44385
44942
|
/**
|
|
44386
44943
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
44387
44944
|
* hierarchy when triggered.
|
|
@@ -44454,7 +45011,7 @@ type ExportDialogConfig = {
|
|
|
44454
45011
|
* ...
|
|
44455
45012
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/export/ExportDialog#config-color)
|
|
44456
45013
|
*/
|
|
44457
|
-
color?:
|
|
45014
|
+
color?: Color
|
|
44458
45015
|
/**
|
|
44459
45016
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
44460
45017
|
*/
|
|
@@ -46482,7 +47039,7 @@ type AIFilterFieldConfig = {
|
|
|
46482
47039
|
* ...
|
|
46483
47040
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-color)
|
|
46484
47041
|
*/
|
|
46485
|
-
color?:
|
|
47042
|
+
color?: Color
|
|
46486
47043
|
/**
|
|
46487
47044
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
46488
47045
|
*/
|
|
@@ -47699,7 +48256,7 @@ type ChecklistFilterComboConfig = {
|
|
|
47699
48256
|
* ...
|
|
47700
48257
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-color)
|
|
47701
48258
|
*/
|
|
47702
|
-
color?:
|
|
48259
|
+
color?: Color
|
|
47703
48260
|
/**
|
|
47704
48261
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
47705
48262
|
*/
|
|
@@ -48946,7 +49503,7 @@ type GridChartDesignerConfig = {
|
|
|
48946
49503
|
* ...
|
|
48947
49504
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-color)
|
|
48948
49505
|
*/
|
|
48949
|
-
color?:
|
|
49506
|
+
color?: Color
|
|
48950
49507
|
/**
|
|
48951
49508
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
48952
49509
|
*/
|
|
@@ -49816,6 +50373,10 @@ type GridFieldFilterPickerConfig = {
|
|
|
49816
50373
|
* Update assigned [record](https://bryntum.com/products/grid/docs/api/Core/widget/Container#config-record) automatically on field changes
|
|
49817
50374
|
*/
|
|
49818
50375
|
autoUpdateRecord?: boolean
|
|
50376
|
+
/**
|
|
50377
|
+
* Set `true` to add a border to this container's element.
|
|
50378
|
+
*/
|
|
50379
|
+
border?: boolean
|
|
49819
50380
|
/**
|
|
49820
50381
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
49821
50382
|
* hierarchy when triggered.
|
|
@@ -49855,7 +50416,7 @@ type GridFieldFilterPickerConfig = {
|
|
|
49855
50416
|
* ...
|
|
49856
50417
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-color)
|
|
49857
50418
|
*/
|
|
49858
|
-
color?:
|
|
50419
|
+
color?: Color
|
|
49859
50420
|
/**
|
|
49860
50421
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
49861
50422
|
*/
|
|
@@ -50924,6 +51485,10 @@ type GridFieldFilterPickerGroupConfig = {
|
|
|
50924
51485
|
* Update assigned [record](https://bryntum.com/products/grid/docs/api/Core/widget/Container#config-record) automatically on field changes
|
|
50925
51486
|
*/
|
|
50926
51487
|
autoUpdateRecord?: boolean
|
|
51488
|
+
/**
|
|
51489
|
+
* Set `true` to add a border to this container's element.
|
|
51490
|
+
*/
|
|
51491
|
+
border?: boolean
|
|
50927
51492
|
/**
|
|
50928
51493
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
50929
51494
|
* hierarchy when triggered.
|
|
@@ -50979,7 +51544,7 @@ type GridFieldFilterPickerGroupConfig = {
|
|
|
50979
51544
|
* ...
|
|
50980
51545
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-color)
|
|
50981
51546
|
*/
|
|
50982
|
-
color?:
|
|
51547
|
+
color?: Color
|
|
50983
51548
|
/**
|
|
50984
51549
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
50985
51550
|
*/
|
|
@@ -52126,7 +52691,7 @@ type GroupBarConfig = {
|
|
|
52126
52691
|
* ...
|
|
52127
52692
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-color)
|
|
52128
52693
|
*/
|
|
52129
|
-
color?:
|
|
52694
|
+
color?: Color
|
|
52130
52695
|
/**
|
|
52131
52696
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
52132
52697
|
*/
|
|
@@ -53265,7 +53830,7 @@ type TreeComboConfig = {
|
|
|
53265
53830
|
* ...
|
|
53266
53831
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/TreeCombo#config-color)
|
|
53267
53832
|
*/
|
|
53268
|
-
color?:
|
|
53833
|
+
color?: Color
|
|
53269
53834
|
/**
|
|
53270
53835
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
53271
53836
|
*/
|