@bryntum/grid-angular 7.1.2 → 7.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -6
- package/bundles/bryntum-grid-angular.umd.js +1094 -302
- package/bundles/bryntum-grid-angular.umd.js.map +1 -1
- package/esm2015/lib/bryntum-a-i-filter-field.component.js +1 -1
- package/esm2015/lib/bryntum-button-group.component.js +6 -2
- package/esm2015/lib/bryntum-button.component.js +1 -1
- package/esm2015/lib/bryntum-chat-panel.component.js +6 -2
- package/esm2015/lib/bryntum-checkbox-group.component.js +6 -2
- package/esm2015/lib/bryntum-checklist-filter-combo.component.js +1 -1
- package/esm2015/lib/bryntum-chip-view.component.js +8 -8
- package/esm2015/lib/bryntum-code-editor.component.js +6 -2
- package/esm2015/lib/bryntum-combo.component.js +1 -1
- package/esm2015/lib/bryntum-container.component.js +6 -2
- package/esm2015/lib/bryntum-date-field.component.js +6 -2
- package/esm2015/lib/bryntum-date-picker.component.js +9 -5
- package/esm2015/lib/bryntum-date-range-field.component.js +1 -1
- package/esm2015/lib/bryntum-date-time-field.component.js +1 -1
- package/esm2015/lib/bryntum-demo-code-editor.component.js +6 -2
- package/esm2015/lib/bryntum-display-field.component.js +1 -1
- package/esm2015/lib/bryntum-duration-field.component.js +1 -1
- package/esm2015/lib/bryntum-editor.component.js +6 -2
- package/esm2015/lib/bryntum-field-filter-picker-group.component.js +6 -2
- package/esm2015/lib/bryntum-field-filter-picker.component.js +6 -2
- package/esm2015/lib/bryntum-field-set.component.js +6 -2
- package/esm2015/lib/bryntum-file-field.component.js +1 -1
- package/esm2015/lib/bryntum-file-picker.component.js +6 -2
- package/esm2015/lib/bryntum-filter-field.component.js +1 -1
- package/esm2015/lib/bryntum-grid-base.component.js +45 -16
- package/esm2015/lib/bryntum-grid-chart-designer.component.js +1 -1
- package/esm2015/lib/bryntum-grid-field-filter-picker-group.component.js +6 -2
- package/esm2015/lib/bryntum-grid-field-filter-picker.component.js +6 -2
- package/esm2015/lib/bryntum-grid.component.js +45 -16
- package/esm2015/lib/bryntum-group-bar.component.js +8 -8
- package/esm2015/lib/bryntum-hint.component.js +6 -2
- package/esm2015/lib/bryntum-label.component.js +1 -1
- package/esm2015/lib/bryntum-list.component.js +8 -8
- package/esm2015/lib/bryntum-menu.component.js +6 -2
- package/esm2015/lib/bryntum-month-picker.component.js +6 -2
- package/esm2015/lib/bryntum-number-field.component.js +1 -1
- package/esm2015/lib/bryntum-paging-toolbar.component.js +6 -2
- package/esm2015/lib/bryntum-panel.component.js +6 -2
- package/esm2015/lib/bryntum-password-field.component.js +1 -1
- package/esm2015/lib/bryntum-progress-bar.component.js +600 -0
- package/esm2015/lib/bryntum-radio-group.component.js +6 -2
- package/esm2015/lib/bryntum-slider.component.js +1 -1
- package/esm2015/lib/bryntum-splitter.component.js +1 -1
- package/esm2015/lib/bryntum-tab-panel.component.js +6 -2
- package/esm2015/lib/bryntum-text-area-field.component.js +1 -1
- package/esm2015/lib/bryntum-text-area-picker-field.component.js +1 -1
- package/esm2015/lib/bryntum-text-field.component.js +1 -1
- package/esm2015/lib/bryntum-time-field.component.js +6 -2
- package/esm2015/lib/bryntum-time-picker.component.js +6 -2
- package/esm2015/lib/bryntum-toolbar.component.js +6 -2
- package/esm2015/lib/bryntum-tree-combo.component.js +1 -1
- package/esm2015/lib/bryntum-tree-grid.component.js +45 -16
- package/esm2015/lib/bryntum-widget.component.js +1 -1
- package/esm2015/lib/bryntum-year-picker.component.js +6 -2
- package/esm2015/lib/grid.module.js +6 -1
- package/esm2015/public-api.js +2 -1
- package/fesm2015/bryntum-grid-angular.js +1087 -299
- package/fesm2015/bryntum-grid-angular.js.map +1 -1
- package/lib/bryntum-a-i-filter-field.component.d.ts +3 -3
- package/lib/bryntum-button-group.component.d.ts +6 -1
- package/lib/bryntum-button.component.d.ts +3 -3
- package/lib/bryntum-chat-panel.component.d.ts +9 -4
- package/lib/bryntum-checkbox-group.component.d.ts +9 -4
- package/lib/bryntum-checklist-filter-combo.component.d.ts +3 -3
- package/lib/bryntum-chip-view.component.d.ts +6 -6
- package/lib/bryntum-code-editor.component.d.ts +9 -4
- package/lib/bryntum-combo.component.d.ts +3 -3
- package/lib/bryntum-container.component.d.ts +9 -4
- package/lib/bryntum-date-field.component.d.ts +15 -5
- package/lib/bryntum-date-picker.component.d.ts +10 -5
- package/lib/bryntum-date-range-field.component.d.ts +3 -3
- package/lib/bryntum-date-time-field.component.d.ts +3 -3
- package/lib/bryntum-demo-code-editor.component.d.ts +9 -4
- package/lib/bryntum-display-field.component.d.ts +3 -3
- package/lib/bryntum-duration-field.component.d.ts +3 -3
- package/lib/bryntum-editor.component.d.ts +9 -4
- package/lib/bryntum-field-filter-picker-group.component.d.ts +9 -4
- package/lib/bryntum-field-filter-picker.component.d.ts +9 -4
- package/lib/bryntum-field-set.component.d.ts +9 -4
- package/lib/bryntum-file-field.component.d.ts +3 -3
- package/lib/bryntum-file-picker.component.d.ts +9 -4
- package/lib/bryntum-filter-field.component.d.ts +3 -3
- package/lib/bryntum-grid-base.component.d.ts +49 -18
- package/lib/bryntum-grid-chart-designer.component.d.ts +3 -3
- package/lib/bryntum-grid-field-filter-picker-group.component.d.ts +9 -4
- package/lib/bryntum-grid-field-filter-picker.component.d.ts +9 -4
- package/lib/bryntum-grid.component.d.ts +49 -18
- package/lib/bryntum-group-bar.component.d.ts +6 -6
- package/lib/bryntum-hint.component.d.ts +9 -4
- package/lib/bryntum-label.component.d.ts +3 -3
- package/lib/bryntum-list.component.d.ts +6 -6
- package/lib/bryntum-menu.component.d.ts +9 -4
- package/lib/bryntum-month-picker.component.d.ts +9 -4
- package/lib/bryntum-number-field.component.d.ts +3 -3
- package/lib/bryntum-paging-toolbar.component.d.ts +9 -4
- package/lib/bryntum-panel.component.d.ts +9 -4
- package/lib/bryntum-password-field.component.d.ts +3 -3
- package/lib/bryntum-progress-bar.component.d.ts +705 -0
- package/lib/bryntum-radio-group.component.d.ts +9 -4
- package/lib/bryntum-slider.component.d.ts +3 -3
- package/lib/bryntum-splitter.component.d.ts +3 -3
- package/lib/bryntum-tab-panel.component.d.ts +9 -4
- package/lib/bryntum-text-area-field.component.d.ts +3 -3
- package/lib/bryntum-text-area-picker-field.component.d.ts +3 -3
- package/lib/bryntum-text-field.component.d.ts +3 -3
- package/lib/bryntum-time-field.component.d.ts +13 -4
- package/lib/bryntum-time-picker.component.d.ts +9 -4
- package/lib/bryntum-toolbar.component.d.ts +9 -4
- package/lib/bryntum-tree-combo.component.d.ts +3 -3
- package/lib/bryntum-tree-grid.component.d.ts +49 -18
- package/lib/bryntum-widget.component.d.ts +3 -3
- package/lib/bryntum-year-picker.component.d.ts +9 -4
- package/lib/grid.module.d.ts +18 -17
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/src/lib/bryntum-a-i-filter-field.component.ts +3 -3
- package/src/lib/bryntum-button-group.component.ts +7 -0
- package/src/lib/bryntum-button.component.ts +3 -3
- package/src/lib/bryntum-chat-panel.component.ts +10 -3
- package/src/lib/bryntum-checkbox-group.component.ts +10 -3
- package/src/lib/bryntum-checklist-filter-combo.component.ts +3 -3
- package/src/lib/bryntum-chip-view.component.ts +102 -102
- package/src/lib/bryntum-code-editor.component.ts +10 -3
- package/src/lib/bryntum-combo.component.ts +3 -3
- package/src/lib/bryntum-container.component.ts +10 -3
- package/src/lib/bryntum-date-field.component.ts +16 -4
- package/src/lib/bryntum-date-picker.component.ts +12 -5
- package/src/lib/bryntum-date-range-field.component.ts +3 -3
- package/src/lib/bryntum-date-time-field.component.ts +3 -3
- package/src/lib/bryntum-demo-code-editor.component.ts +10 -3
- package/src/lib/bryntum-display-field.component.ts +3 -3
- package/src/lib/bryntum-duration-field.component.ts +3 -3
- package/src/lib/bryntum-editor.component.ts +10 -3
- package/src/lib/bryntum-field-filter-picker-group.component.ts +10 -3
- package/src/lib/bryntum-field-filter-picker.component.ts +10 -3
- package/src/lib/bryntum-field-set.component.ts +10 -3
- package/src/lib/bryntum-file-field.component.ts +3 -3
- package/src/lib/bryntum-file-picker.component.ts +10 -3
- package/src/lib/bryntum-filter-field.component.ts +3 -3
- package/src/lib/bryntum-grid-base.component.ts +61 -25
- package/src/lib/bryntum-grid-chart-designer.component.ts +3 -3
- package/src/lib/bryntum-grid-field-filter-picker-group.component.ts +10 -3
- package/src/lib/bryntum-grid-field-filter-picker.component.ts +10 -3
- package/src/lib/bryntum-grid.component.ts +61 -25
- package/src/lib/bryntum-group-bar.component.ts +102 -102
- package/src/lib/bryntum-hint.component.ts +10 -3
- package/src/lib/bryntum-label.component.ts +3 -3
- package/src/lib/bryntum-list.component.ts +99 -99
- package/src/lib/bryntum-menu.component.ts +10 -3
- package/src/lib/bryntum-month-picker.component.ts +10 -3
- package/src/lib/bryntum-number-field.component.ts +3 -3
- package/src/lib/bryntum-paging-toolbar.component.ts +10 -3
- package/src/lib/bryntum-panel.component.ts +10 -3
- package/src/lib/bryntum-password-field.component.ts +3 -3
- package/src/lib/bryntum-progress-bar.component.ts +1019 -0
- package/src/lib/bryntum-radio-group.component.ts +10 -3
- package/src/lib/bryntum-slider.component.ts +3 -3
- package/src/lib/bryntum-splitter.component.ts +3 -3
- package/src/lib/bryntum-tab-panel.component.ts +10 -3
- package/src/lib/bryntum-text-area-field.component.ts +3 -3
- package/src/lib/bryntum-text-area-picker-field.component.ts +3 -3
- package/src/lib/bryntum-text-field.component.ts +3 -3
- package/src/lib/bryntum-time-field.component.ts +14 -3
- package/src/lib/bryntum-time-picker.component.ts +10 -3
- package/src/lib/bryntum-toolbar.component.ts +10 -3
- package/src/lib/bryntum-tree-combo.component.ts +3 -3
- package/src/lib/bryntum-tree-grid.component.ts +61 -25
- package/src/lib/bryntum-widget.component.ts +3 -3
- package/src/lib/bryntum-year-picker.component.ts +10 -3
- package/src/lib/grid.module.ts +3 -0
- package/src/public-api.ts +1 -0
|
@@ -7,7 +7,7 @@ import { Component, ElementRef, EventEmitter, Output, Input, SimpleChange, Simpl
|
|
|
7
7
|
|
|
8
8
|
import WrapperHelper from './wrapper.helper';
|
|
9
9
|
|
|
10
|
-
import { AIFilter, AIFilterConfig, AjaxStore, AjaxStoreConfig, Base, CellCopyPaste, CellCopyPasteConfig, CellEdit, CellEditConfig, CellEditorContext, CellMenu, CellMenuConfig, CellTooltip, CellTooltipConfig, Charts, ChartsConfig, Column, ColumnAutoWidth, ColumnAutoWidthConfig, ColumnDragToolbar, ColumnDragToolbarConfig, ColumnPicker, ColumnPickerConfig, ColumnRename, ColumnRenameConfig, ColumnReorder, ColumnReorderConfig, ColumnResize, ColumnResizeConfig, ColumnStore, ColumnStoreConfig, Container, ContainerItemConfig, DomConfig, EmptyTextDomConfig, ExcelExporter, ExcelExporterConfig, ExportConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, FormulaProviderConfig, Grid, GridBase, GridColumnConfig, GridLocation, GridLocationConfig, GridSelectionMode, GridStateInfo, Group, GroupConfig, GroupSummary, GroupSummaryConfig, HeaderMenu, HeaderMenuConfig, KeyMapConfig, LockRows, LockRowsConfig, Mask, MaskConfig, Menu, MenuItem, MenuItemEntry, MergeCells, MergeCellsConfig, Model, ModelConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, PdfExport, PdfExportConfig, PinColumns, PinColumnsConfig, PreserveScrollOptions, Print, PrintConfig, QuickFind, QuickFindConfig, RecordPositionContext, RegionResize, RegionResizeConfig, ResponsiveLevelConfig, Row, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowEditorContext, RowExpander, RowExpanderConfig, RowReorder, RowReorderConfig, RowResize, RowResizeConfig, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, Search, SearchConfig, Sort, SortConfig, Split, SplitConfig, StateProvider, StickyCells, StickyCellsConfig, Store, StoreConfig, Stripe, StripeConfig, SubGrid, SubGridConfig, Summary, SummaryConfig, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Tree, TreeConfig, TreeGrid, TreeGridListeners, TreeGroup, TreeGroupConfig, Widget, XLSColumn } from '@bryntum/grid';
|
|
10
|
+
import { AI, AIConfig, AIFilter, AIFilterConfig, AjaxStore, AjaxStoreConfig, Base, CellCopyPaste, CellCopyPasteConfig, CellEdit, CellEditConfig, CellEditorContext, CellMenu, CellMenuConfig, CellTooltip, CellTooltipConfig, Charts, ChartsConfig, Color, Column, ColumnAutoWidth, ColumnAutoWidthConfig, ColumnDragToolbar, ColumnDragToolbarConfig, ColumnPicker, ColumnPickerConfig, ColumnRename, ColumnRenameConfig, ColumnReorder, ColumnReorderConfig, ColumnResize, ColumnResizeConfig, ColumnStore, ColumnStoreConfig, Container, ContainerItemConfig, DomConfig, EmptyTextDomConfig, ExcelExporter, ExcelExporterConfig, ExportConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, FormulaProviderConfig, Grid, GridBase, GridColumnConfig, GridLocation, GridLocationConfig, GridSelectionMode, GridStateInfo, Group, GroupConfig, GroupSummary, GroupSummaryConfig, HeaderMenu, HeaderMenuConfig, KeyMapConfig, LockRows, LockRowsConfig, Mask, MaskConfig, Menu, MenuItem, MenuItemEntry, MergeCells, MergeCellsConfig, Model, ModelConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, PdfExport, PdfExportConfig, PinColumns, PinColumnsConfig, PreserveScrollOptions, Print, PrintConfig, QuickFind, QuickFindConfig, RecordPositionContext, RegionResize, RegionResizeConfig, ResponsiveLevelConfig, Row, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowEditorContext, RowExpander, RowExpanderConfig, RowReorder, RowReorderConfig, RowResize, RowResizeConfig, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, Search, SearchConfig, Sort, SortConfig, Split, SplitConfig, StateProvider, StickyCells, StickyCellsConfig, Store, StoreConfig, Stripe, StripeConfig, SubGrid, SubGridConfig, Summary, SummaryConfig, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Tree, TreeConfig, TreeGrid, TreeGridListeners, TreeGroup, TreeGroupConfig, Widget, XLSColumn } from '@bryntum/grid';
|
|
11
11
|
|
|
12
12
|
import { StringHelper } from '@bryntum/grid';
|
|
13
13
|
|
|
@@ -82,6 +82,10 @@ export type BryntumTreeGridProps = {
|
|
|
82
82
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/TreeGrid#config-bodyCls)
|
|
83
83
|
*/
|
|
84
84
|
bodyCls ? : string|object
|
|
85
|
+
/**
|
|
86
|
+
* Set `true` to add a border to this container's element.
|
|
87
|
+
*/
|
|
88
|
+
border ? : boolean
|
|
85
89
|
/**
|
|
86
90
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
87
91
|
* hierarchy when triggered.
|
|
@@ -133,7 +137,7 @@ export type BryntumTreeGridProps = {
|
|
|
133
137
|
* ...
|
|
134
138
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/TreeGrid#config-color)
|
|
135
139
|
*/
|
|
136
|
-
color ? :
|
|
140
|
+
color ? : Color
|
|
137
141
|
/**
|
|
138
142
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
139
143
|
*/
|
|
@@ -755,6 +759,15 @@ export type BryntumTreeGridProps = {
|
|
|
755
759
|
width ? : string|number
|
|
756
760
|
|
|
757
761
|
// Features
|
|
762
|
+
/**
|
|
763
|
+
* This feature provides an AI agent for Grid. It provides a chat panel that allows the user to send messages to the
|
|
764
|
+
* agent and see the responses. Which allows the user to use natural language to interact with the Grid in different
|
|
765
|
+
* ways. For example, the user can ask the agent to filter the data, sort it, or select specific records. The agent can
|
|
766
|
+
* also perform data manipulation operations such as adding, updating, deleting records.
|
|
767
|
+
* ...
|
|
768
|
+
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/AI)
|
|
769
|
+
*/
|
|
770
|
+
aiFeature ? : object|boolean|string|AI|AIConfig
|
|
758
771
|
/**
|
|
759
772
|
* AI-powered filter feature for Grid. Allows users to type natural language queries to filter grid data.
|
|
760
773
|
* ...
|
|
@@ -1053,6 +1066,7 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
|
|
|
1053
1066
|
'onBeforeCellEditStart',
|
|
1054
1067
|
'onBeforeCellRangeDelete',
|
|
1055
1068
|
'onBeforeCellRangeEdit',
|
|
1069
|
+
'onBeforeColumnCollapseToggle',
|
|
1056
1070
|
'onBeforeColumnDragStart',
|
|
1057
1071
|
'onBeforeColumnDropFinalize',
|
|
1058
1072
|
'onBeforeColumnResize',
|
|
@@ -1093,6 +1107,7 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
|
|
|
1093
1107
|
'onCellMouseOver',
|
|
1094
1108
|
'onCollapse',
|
|
1095
1109
|
'onCollapseNode',
|
|
1110
|
+
'onColumnCollapseToggle',
|
|
1096
1111
|
'onColumnDrag',
|
|
1097
1112
|
'onColumnDragStart',
|
|
1098
1113
|
'onColumnDrop',
|
|
@@ -1167,6 +1182,7 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
|
|
|
1167
1182
|
];
|
|
1168
1183
|
|
|
1169
1184
|
private static bryntumFeatureNames: string[] = [
|
|
1185
|
+
'aiFeature',
|
|
1170
1186
|
'aiFilterFeature',
|
|
1171
1187
|
'cellCopyPasteFeature',
|
|
1172
1188
|
'cellEditFeature',
|
|
@@ -1221,6 +1237,7 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
|
|
|
1221
1237
|
'autoHeight',
|
|
1222
1238
|
'bbar',
|
|
1223
1239
|
'bodyCls',
|
|
1240
|
+
'border',
|
|
1224
1241
|
'bubbleEvents',
|
|
1225
1242
|
'callOnFunctions',
|
|
1226
1243
|
'catchEventHandlerExceptions',
|
|
@@ -1342,6 +1359,7 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
|
|
|
1342
1359
|
'autoHeight',
|
|
1343
1360
|
'bbar',
|
|
1344
1361
|
'bodyCls',
|
|
1362
|
+
'border',
|
|
1345
1363
|
'bubbleEvents',
|
|
1346
1364
|
'collapsible',
|
|
1347
1365
|
'color',
|
|
@@ -1496,9 +1514,10 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
|
|
|
1496
1514
|
@Input() autoHeight ! : boolean;
|
|
1497
1515
|
@Input() bbar ! : (ContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null;
|
|
1498
1516
|
@Input() bodyCls ! : string|object;
|
|
1517
|
+
@Input() border ! : boolean;
|
|
1499
1518
|
@Input() bubbleEvents ! : object;
|
|
1500
1519
|
@Input() collapsible ! : boolean|PanelCollapserConfig|PanelCollapserOverlayConfig;
|
|
1501
|
-
@Input() color ! :
|
|
1520
|
+
@Input() color ! : Color;
|
|
1502
1521
|
@Input() config ! : object;
|
|
1503
1522
|
@Input() contentElementCls ! : string|object;
|
|
1504
1523
|
@Input() contextMenuTriggerEvent ! : 'contextmenu'|'click'|'dblclick';
|
|
@@ -1655,6 +1674,7 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
|
|
|
1655
1674
|
@Input() tooltip ! : string|TooltipConfig;
|
|
1656
1675
|
|
|
1657
1676
|
// Features
|
|
1677
|
+
@Input() aiFeature ! : object|boolean|string|AI|AIConfig;
|
|
1658
1678
|
@Input() aiFilterFeature ! : object|boolean|string|AIFilter|AIFilterConfig;
|
|
1659
1679
|
@Input() cellCopyPasteFeature ! : object|boolean|string|CellCopyPaste|CellCopyPasteConfig;
|
|
1660
1680
|
@Input() cellEditFeature ! : object|boolean|string|CellEdit|CellEditConfig;
|
|
@@ -1736,6 +1756,14 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
|
|
|
1736
1756
|
* @param {any} event.value The value being set
|
|
1737
1757
|
*/
|
|
1738
1758
|
@Output() onBeforeCellRangeEdit: any = new EventEmitter<((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string>();
|
|
1759
|
+
/**
|
|
1760
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
1761
|
+
* @param {object} event Event object
|
|
1762
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
1763
|
+
* @param {Grid.column.Column} event.column The column
|
|
1764
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
1765
|
+
*/
|
|
1766
|
+
@Output() onBeforeColumnCollapseToggle: any = new EventEmitter<((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string>();
|
|
1739
1767
|
/**
|
|
1740
1768
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
1741
1769
|
* @param {object} event Event object
|
|
@@ -1846,18 +1874,18 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
|
|
|
1846
1874
|
/**
|
|
1847
1875
|
* Fires before a row is rendered.
|
|
1848
1876
|
* @param {object} event Event object
|
|
1849
|
-
* @param {Grid.view.
|
|
1850
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
1851
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
1852
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
1877
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
1878
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
1879
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
1880
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
1853
1881
|
*/
|
|
1854
|
-
@Output() onBeforeRenderRow: any = new EventEmitter<((event: { source:
|
|
1882
|
+
@Output() onBeforeRenderRow: any = new EventEmitter<((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string>();
|
|
1855
1883
|
/**
|
|
1856
1884
|
* Grid rows are about to be rendered
|
|
1857
1885
|
* @param {object} event Event object
|
|
1858
|
-
* @param {Grid.view.
|
|
1886
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
1859
1887
|
*/
|
|
1860
|
-
@Output() onBeforeRenderRows: any = new EventEmitter<((event: { source:
|
|
1888
|
+
@Output() onBeforeRenderRows: any = new EventEmitter<((event: { source: GridBase }) => void)|string>();
|
|
1861
1889
|
/**
|
|
1862
1890
|
* This event fires before row collapse is started.
|
|
1863
1891
|
* ...
|
|
@@ -2088,6 +2116,14 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
|
|
|
2088
2116
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
2089
2117
|
*/
|
|
2090
2118
|
@Output() onCollapseNode: any = new EventEmitter<((event: { source: Grid, record: Model }) => void)|string>();
|
|
2119
|
+
/**
|
|
2120
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
2121
|
+
* @param {object} event Event object
|
|
2122
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
2123
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
2124
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
2125
|
+
*/
|
|
2126
|
+
@Output() onColumnCollapseToggle: any = new EventEmitter<((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string>();
|
|
2091
2127
|
/**
|
|
2092
2128
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
2093
2129
|
* to indicate whether the drop position is valid or not.
|
|
@@ -2169,14 +2205,14 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
|
|
|
2169
2205
|
* ...
|
|
2170
2206
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/TreeGrid#event-dataChange)
|
|
2171
2207
|
* @param {object} event Event object
|
|
2172
|
-
* @param {Grid.view.
|
|
2208
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
2173
2209
|
* @param {Core.data.Store} event.store The originating store
|
|
2174
2210
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
2175
2211
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
2176
2212
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
2177
2213
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
2178
2214
|
*/
|
|
2179
|
-
@Output() onDataChange: any = new EventEmitter<((event: { source:
|
|
2215
|
+
@Output() onDataChange: any = new EventEmitter<((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string>();
|
|
2180
2216
|
/**
|
|
2181
2217
|
* Fires when an object is destroyed.
|
|
2182
2218
|
* @param {object} event Event object
|
|
@@ -2484,18 +2520,18 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
|
|
|
2484
2520
|
/**
|
|
2485
2521
|
* Fires after a row is rendered.
|
|
2486
2522
|
* @param {object} event Event object
|
|
2487
|
-
* @param {Grid.view.
|
|
2488
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
2489
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
2490
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
2523
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
2524
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
2525
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
2526
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
2491
2527
|
*/
|
|
2492
|
-
@Output() onRenderRow: any = new EventEmitter<((event: { source:
|
|
2528
|
+
@Output() onRenderRow: any = new EventEmitter<((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string>();
|
|
2493
2529
|
/**
|
|
2494
2530
|
* Grid rows have been rendered
|
|
2495
2531
|
* @param {object} event Event object
|
|
2496
|
-
* @param {Grid.view.
|
|
2532
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
2497
2533
|
*/
|
|
2498
|
-
@Output() onRenderRows: any = new EventEmitter<((event: { source:
|
|
2534
|
+
@Output() onRenderRows: any = new EventEmitter<((event: { source: GridBase }) => void)|string>();
|
|
2499
2535
|
/**
|
|
2500
2536
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
2501
2537
|
* @param {object} event Event object
|
|
@@ -2555,10 +2591,10 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
|
|
|
2555
2591
|
/**
|
|
2556
2592
|
* Grid has scrolled vertically
|
|
2557
2593
|
* @param {object} event Event object
|
|
2558
|
-
* @param {Grid.view.
|
|
2594
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
2559
2595
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
2560
2596
|
*/
|
|
2561
|
-
@Output() onScroll: any = new EventEmitter<((event: { source:
|
|
2597
|
+
@Output() onScroll: any = new EventEmitter<((event: { source: GridBase, scrollTop: number }) => void)|string>();
|
|
2562
2598
|
/**
|
|
2563
2599
|
* The selection has been changed.
|
|
2564
2600
|
* @param {object} event Event object
|
|
@@ -2646,17 +2682,17 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
|
|
|
2646
2682
|
/**
|
|
2647
2683
|
* Fires after a sub grid is collapsed.
|
|
2648
2684
|
* @param {object} event Event object
|
|
2649
|
-
* @param {Grid.view.
|
|
2685
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
2650
2686
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
2651
2687
|
*/
|
|
2652
|
-
@Output() onSubGridCollapse: any = new EventEmitter<((event: { source:
|
|
2688
|
+
@Output() onSubGridCollapse: any = new EventEmitter<((event: { source: GridBase, subGrid: SubGrid }) => void)|string>();
|
|
2653
2689
|
/**
|
|
2654
2690
|
* Fires after a sub grid is expanded.
|
|
2655
2691
|
* @param {object} event Event object
|
|
2656
|
-
* @param {Grid.view.
|
|
2692
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
2657
2693
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
2658
2694
|
*/
|
|
2659
|
-
@Output() onSubGridExpand: any = new EventEmitter<((event: { source:
|
|
2695
|
+
@Output() onSubGridExpand: any = new EventEmitter<((event: { source: GridBase, subGrid: SubGrid }) => void)|string>();
|
|
2660
2696
|
/**
|
|
2661
2697
|
* Fired when one or more groups are expanded or collapsed
|
|
2662
2698
|
* @param {object} event Event object
|
|
@@ -7,7 +7,7 @@ import { Component, ElementRef, EventEmitter, Output, Input, SimpleChange, Simpl
|
|
|
7
7
|
|
|
8
8
|
import WrapperHelper from './wrapper.helper';
|
|
9
9
|
|
|
10
|
-
import { AlignSpec, Base, DomConfig, KeyMapConfig, MaskConfig, Rectangle, Scroller, ScrollerConfig, TabConfig, TooltipConfig, VueConfig, Widget, WidgetListeners } from '@bryntum/grid';
|
|
10
|
+
import { AlignSpec, Base, Color, DomConfig, KeyMapConfig, MaskConfig, Rectangle, Scroller, ScrollerConfig, TabConfig, TooltipConfig, VueConfig, Widget, WidgetListeners } from '@bryntum/grid';
|
|
11
11
|
|
|
12
12
|
import { StringHelper } from '@bryntum/grid';
|
|
13
13
|
|
|
@@ -95,7 +95,7 @@ export type BryntumWidgetProps = {
|
|
|
95
95
|
* ...
|
|
96
96
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-color)
|
|
97
97
|
*/
|
|
98
|
-
color ? :
|
|
98
|
+
color ? : Color
|
|
99
99
|
/**
|
|
100
100
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
101
101
|
*/
|
|
@@ -683,7 +683,7 @@ export class BryntumWidgetComponent implements OnInit, OnDestroy {
|
|
|
683
683
|
@Input() ariaLabel ! : string;
|
|
684
684
|
@Input() bubbleEvents ! : object;
|
|
685
685
|
@Input() centered ! : boolean;
|
|
686
|
-
@Input() color ! :
|
|
686
|
+
@Input() color ! : Color;
|
|
687
687
|
@Input() config ! : object;
|
|
688
688
|
@Input() constrainTo ! : HTMLElement|Widget|Rectangle;
|
|
689
689
|
@Input() contentElementCls ! : string|object;
|
|
@@ -7,7 +7,7 @@ import { Component, ElementRef, EventEmitter, Output, Input, SimpleChange, Simpl
|
|
|
7
7
|
|
|
8
8
|
import WrapperHelper from './wrapper.helper';
|
|
9
9
|
|
|
10
|
-
import { AlignSpec, Base, Container, ContainerItemConfig, ContainerLayoutConfig, DomConfig, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, MenuItemEntry, Model, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, VueConfig, Widget, YearPicker, YearPickerListeners } from '@bryntum/grid';
|
|
10
|
+
import { AlignSpec, Base, Color, Container, ContainerItemConfig, ContainerLayoutConfig, DomConfig, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, MenuItemEntry, Model, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, VueConfig, Widget, YearPicker, YearPickerListeners } from '@bryntum/grid';
|
|
11
11
|
|
|
12
12
|
import { StringHelper } from '@bryntum/grid';
|
|
13
13
|
|
|
@@ -73,6 +73,10 @@ export type BryntumYearPickerProps = {
|
|
|
73
73
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-bodyCls)
|
|
74
74
|
*/
|
|
75
75
|
bodyCls ? : string|object
|
|
76
|
+
/**
|
|
77
|
+
* Set `true` to add a border to this container's element.
|
|
78
|
+
*/
|
|
79
|
+
border ? : boolean
|
|
76
80
|
/**
|
|
77
81
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
78
82
|
* hierarchy when triggered.
|
|
@@ -123,7 +127,7 @@ export type BryntumYearPickerProps = {
|
|
|
123
127
|
* ...
|
|
124
128
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-color)
|
|
125
129
|
*/
|
|
126
|
-
color ? :
|
|
130
|
+
color ? : Color
|
|
127
131
|
/**
|
|
128
132
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
129
133
|
*/
|
|
@@ -764,6 +768,7 @@ export class BryntumYearPickerComponent implements OnInit, OnDestroy {
|
|
|
764
768
|
'autoUpdateRecord',
|
|
765
769
|
'bbar',
|
|
766
770
|
'bodyCls',
|
|
771
|
+
'border',
|
|
767
772
|
'bubbleEvents',
|
|
768
773
|
'callOnFunctions',
|
|
769
774
|
'catchEventHandlerExceptions',
|
|
@@ -879,6 +884,7 @@ export class BryntumYearPickerComponent implements OnInit, OnDestroy {
|
|
|
879
884
|
'autoUpdateRecord',
|
|
880
885
|
'bbar',
|
|
881
886
|
'bodyCls',
|
|
887
|
+
'border',
|
|
882
888
|
'bubbleEvents',
|
|
883
889
|
'centered',
|
|
884
890
|
'collapsible',
|
|
@@ -1024,10 +1030,11 @@ export class BryntumYearPickerComponent implements OnInit, OnDestroy {
|
|
|
1024
1030
|
@Input() autoUpdateRecord ! : boolean;
|
|
1025
1031
|
@Input() bbar ! : (ContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null;
|
|
1026
1032
|
@Input() bodyCls ! : string|object;
|
|
1033
|
+
@Input() border ! : boolean;
|
|
1027
1034
|
@Input() bubbleEvents ! : object;
|
|
1028
1035
|
@Input() centered ! : boolean;
|
|
1029
1036
|
@Input() collapsible ! : boolean|PanelCollapserConfig|PanelCollapserOverlayConfig;
|
|
1030
|
-
@Input() color ! :
|
|
1037
|
+
@Input() color ! : Color;
|
|
1031
1038
|
@Input() config ! : object;
|
|
1032
1039
|
@Input() constrainTo ! : HTMLElement|Widget|Rectangle;
|
|
1033
1040
|
@Input() contentElementCls ! : string|object;
|
package/src/lib/grid.module.ts
CHANGED
|
@@ -47,6 +47,7 @@ import { BryntumNumberFieldComponent } from './bryntum-number-field.component';
|
|
|
47
47
|
import { BryntumPagingToolbarComponent } from './bryntum-paging-toolbar.component';
|
|
48
48
|
import { BryntumPanelComponent } from './bryntum-panel.component';
|
|
49
49
|
import { BryntumPasswordFieldComponent } from './bryntum-password-field.component';
|
|
50
|
+
import { BryntumProgressBarComponent } from './bryntum-progress-bar.component';
|
|
50
51
|
import { BryntumRadioComponent } from './bryntum-radio.component';
|
|
51
52
|
import { BryntumRadioGroupComponent } from './bryntum-radio-group.component';
|
|
52
53
|
import { BryntumSliderComponent } from './bryntum-slider.component';
|
|
@@ -111,6 +112,7 @@ import { BryntumYearPickerComponent } from './bryntum-year-picker.component';
|
|
|
111
112
|
BryntumPagingToolbarComponent,
|
|
112
113
|
BryntumPanelComponent,
|
|
113
114
|
BryntumPasswordFieldComponent,
|
|
115
|
+
BryntumProgressBarComponent,
|
|
114
116
|
BryntumRadioComponent,
|
|
115
117
|
BryntumRadioGroupComponent,
|
|
116
118
|
BryntumSliderComponent,
|
|
@@ -175,6 +177,7 @@ import { BryntumYearPickerComponent } from './bryntum-year-picker.component';
|
|
|
175
177
|
BryntumPagingToolbarComponent,
|
|
176
178
|
BryntumPanelComponent,
|
|
177
179
|
BryntumPasswordFieldComponent,
|
|
180
|
+
BryntumProgressBarComponent,
|
|
178
181
|
BryntumRadioComponent,
|
|
179
182
|
BryntumRadioGroupComponent,
|
|
180
183
|
BryntumSliderComponent,
|
package/src/public-api.ts
CHANGED
|
@@ -47,6 +47,7 @@ export * from './lib/bryntum-number-field.component';
|
|
|
47
47
|
export * from './lib/bryntum-paging-toolbar.component';
|
|
48
48
|
export * from './lib/bryntum-panel.component';
|
|
49
49
|
export * from './lib/bryntum-password-field.component';
|
|
50
|
+
export * from './lib/bryntum-progress-bar.component';
|
|
50
51
|
export * from './lib/bryntum-radio.component';
|
|
51
52
|
export * from './lib/bryntum-radio-group.component';
|
|
52
53
|
export * from './lib/bryntum-slider.component';
|