@bryntum/grid-angular-thin 7.3.4 → 7.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/README.md +34 -56
  2. package/bundles/bryntum-grid-angular-thin.umd.js +143 -25
  3. package/bundles/bryntum-grid-angular-thin.umd.js.map +1 -1
  4. package/esm2015/lib/bryntum-a-i-filter-field.component.js +6 -2
  5. package/esm2015/lib/bryntum-checklist-filter-combo.component.js +6 -2
  6. package/esm2015/lib/bryntum-grid-base.component.js +35 -5
  7. package/esm2015/lib/bryntum-grid-chart-designer.component.js +6 -2
  8. package/esm2015/lib/bryntum-grid-field-filter-picker-group.component.js +9 -5
  9. package/esm2015/lib/bryntum-grid-field-filter-picker.component.js +9 -5
  10. package/esm2015/lib/bryntum-grid.component.js +35 -5
  11. package/esm2015/lib/bryntum-group-bar.component.js +6 -2
  12. package/esm2015/lib/bryntum-tree-combo.component.js +6 -2
  13. package/esm2015/lib/bryntum-tree-grid.component.js +35 -5
  14. package/fesm2015/bryntum-grid-angular-thin.js +143 -25
  15. package/fesm2015/bryntum-grid-angular-thin.js.map +1 -1
  16. package/lib/bryntum-a-i-filter-field.component.d.ts +9 -2
  17. package/lib/bryntum-checklist-filter-combo.component.d.ts +10 -3
  18. package/lib/bryntum-grid-base.component.d.ts +29 -4
  19. package/lib/bryntum-grid-chart-designer.component.d.ts +9 -2
  20. package/lib/bryntum-grid-field-filter-picker-group.component.d.ts +11 -4
  21. package/lib/bryntum-grid-field-filter-picker.component.d.ts +11 -4
  22. package/lib/bryntum-grid.component.d.ts +29 -4
  23. package/lib/bryntum-group-bar.component.d.ts +9 -2
  24. package/lib/bryntum-tree-combo.component.d.ts +9 -2
  25. package/lib/bryntum-tree-grid.component.d.ts +29 -4
  26. package/package.json +1 -1
  27. package/src/lib/bryntum-a-i-filter-field.component.ts +10 -1
  28. package/src/lib/bryntum-checklist-filter-combo.component.ts +11 -2
  29. package/src/lib/bryntum-grid-base.component.ts +44 -14
  30. package/src/lib/bryntum-grid-chart-designer.component.ts +10 -1
  31. package/src/lib/bryntum-grid-field-filter-picker-group.component.ts +13 -4
  32. package/src/lib/bryntum-grid-field-filter-picker.component.ts +13 -4
  33. package/src/lib/bryntum-grid.component.ts +44 -14
  34. package/src/lib/bryntum-group-bar.component.ts +10 -1
  35. package/src/lib/bryntum-tree-combo.component.ts +10 -1
  36. package/src/lib/bryntum-tree-grid.component.ts +44 -14
@@ -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 { AjaxStore, AjaxStoreConfig, Base, Color, Container, DomConfig, FormulaProviderConfig, InstancePlugin, KeyMapConfig, Mask, MaskConfig, Menu, MenuItem, MenuItemEntry, Model, ModelConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, StateProvider, Store, StoreConfig, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget } from '@bryntum/core-thin';
10
+ import { AjaxStore, AjaxStoreConfig, Base, Color, Container, DomConfig, FormulaProviderConfig, InstancePlugin, KeyMapConfig, Mask, MaskConfig, Menu, MenuItem, MenuItemEntry, Model, ModelConfig, OverflowTwinConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, StateProvider, Store, StoreConfig, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget } from '@bryntum/core-thin';
11
11
  import { AI, AIConfig, AIFilter, AIFilterConfig, CellCopyPaste, CellCopyPasteConfig, CellEdit, CellEditConfig, CellEditorContext, CellMenu, CellMenuConfig, CellTooltip, CellTooltipConfig, Charts, ChartsConfig, Column, ColumnAutoWidth, ColumnAutoWidthConfig, ColumnDragToolbar, ColumnDragToolbarConfig, ColumnPicker, ColumnPickerConfig, ColumnRename, ColumnRenameConfig, ColumnReorder, ColumnReorderConfig, ColumnResize, ColumnResizeConfig, ColumnStore, ColumnStoreConfig, GridContainerItemConfig, EmptyTextDomConfig, ExcelExporter, ExcelExporterConfig, ExportConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, Grid, GridBase, GridColumnConfig, GridLocation, GridLocationConfig, GridSelectionMode, GridStateInfo, Group, GroupConfig, GroupSummary, GroupSummaryConfig, HeaderMenu, HeaderMenuConfig, LockRows, LockRowsConfig, MergeCells, MergeCellsConfig, PdfExport, PdfExportConfig, PinColumns, PinColumnsConfig, PreserveScrollOptions, Print, PrintConfig, QuickFind, QuickFindConfig, RecordPositionContext, RegionResize, RegionResizeConfig, ResponsiveLevelConfig, Row, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowEditorContext, RowExpander, RowExpanderConfig, RowReorder, RowReorderConfig, RowResize, RowResizeConfig, Search, SearchConfig, Sort, SortConfig, Split, SplitConfig, StickyCells, StickyCellsConfig, Stripe, StripeConfig, SubGrid, SubGridConfig, Summary, SummaryConfig, Tree, TreeConfig, TreeGrid, TreeGridListeners, TreeGroup, TreeGroupConfig, XLSColumn } from '@bryntum/grid-thin';
12
12
 
13
13
  import { DomHelper, StringHelper } from '@bryntum/core-thin';
@@ -456,6 +456,12 @@ export type BryntumTreeGridProps = {
456
456
  * Grid monitors window resize by default.
457
457
  */
458
458
  monitorResize ? : boolean
459
+ /**
460
+ * Customizes the config object used to create this widget's clone in a [Toolbar](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar)'s
461
+ * overflow menu (see [overflow](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-overflow)).
462
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/view/TreeGrid#config-overflowTwinConfig)
463
+ */
464
+ overflowTwinConfig ? : OverflowTwinConfig|null
459
465
  /**
460
466
  * Specify plugins (an array of classes) in config
461
467
  */
@@ -606,7 +612,7 @@ export type BryntumTreeGridProps = {
606
612
  * (if explicitly specified) will be used as the `stateId`.
607
613
  * [More...](https://bryntum.com/products/grid/docs/api/Grid/view/TreeGrid#config-stateId)
608
614
  */
609
- stateId ? : string
615
+ stateId ? : string|null
610
616
  /**
611
617
  * The `StateProvider` to use to save and restore this object's [state](https://bryntum.com/products/grid/docs/api/Core/mixin/State#property-state). By default, `state`
612
618
  * will be saved using the [default state provider](https://bryntum.com/products/grid/docs/api/Core/state/StateProvider#property-instance-static).
@@ -1070,6 +1076,8 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
1070
1076
  'onHeaderMenuShow',
1071
1077
  'onHeaderMenuToggleItem',
1072
1078
  'onHide',
1079
+ 'onHorizontalScroll',
1080
+ 'onHorizontalScrollEnd',
1073
1081
  'onLockRows',
1074
1082
  'onMouseOut',
1075
1083
  'onMouseOver',
@@ -1232,6 +1240,7 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
1232
1240
  'minHeight',
1233
1241
  'minWidth',
1234
1242
  'monitorResize',
1243
+ 'overflowTwinConfig',
1235
1244
  'plugins',
1236
1245
  'preserveFocusOnDatasetChange',
1237
1246
  'preserveScroll',
@@ -1323,6 +1332,7 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
1323
1332
  'maskDefaults',
1324
1333
  'masked',
1325
1334
  'monitorResize',
1335
+ 'overflowTwinConfig',
1326
1336
  'plugins',
1327
1337
  'preserveFocusOnDatasetChange',
1328
1338
  'preserveScrollOnDatasetChange',
@@ -1339,7 +1349,6 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
1339
1349
  'showDirty',
1340
1350
  'stateful',
1341
1351
  'statefulEvents',
1342
- 'stateId',
1343
1352
  'stateProvider',
1344
1353
  'strips',
1345
1354
  'subGridConfigs',
@@ -1356,6 +1365,7 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
1356
1365
  'alignSelf',
1357
1366
  'animateTreeNodeToggle',
1358
1367
  'appendTo',
1368
+ 'autoUpdateRecord',
1359
1369
  'callOnFunctions',
1360
1370
  'catchEventHandlerExceptions',
1361
1371
  'cellEllipsis',
@@ -1406,6 +1416,7 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
1406
1416
  'selectionMode',
1407
1417
  'span',
1408
1418
  'state',
1419
+ 'stateId',
1409
1420
  'stateSettings',
1410
1421
  'store',
1411
1422
  'title',
@@ -1478,6 +1489,7 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
1478
1489
  @Input() maskDefaults ! : MaskConfig;
1479
1490
  @Input() masked ! : boolean|string|MaskConfig;
1480
1491
  @Input() monitorResize ! : boolean;
1492
+ @Input() overflowTwinConfig ! : OverflowTwinConfig|null;
1481
1493
  @Input() plugins ! : InstancePlugin[]|InstancePlugin;
1482
1494
  @Input() preserveFocusOnDatasetChange ! : boolean;
1483
1495
  @Input() preserveScrollOnDatasetChange ! : boolean;
@@ -1494,7 +1506,6 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
1494
1506
  @Input() showDirty ! : boolean|{ duringEdit: boolean, newRecord: boolean };
1495
1507
  @Input() stateful ! : boolean|object|string[];
1496
1508
  @Input() statefulEvents ! : object|string[];
1497
- @Input() stateId ! : string;
1498
1509
  @Input() stateProvider ! : StateProvider;
1499
1510
  @Input() strips ! : Record<string, GridContainerItemConfig>;
1500
1511
  @Input() subGridConfigs ! : Record<string, SubGridConfig>;
@@ -1551,6 +1562,7 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
1551
1562
  @Input() scrollable ! : Scroller|boolean|ScrollerConfig;
1552
1563
  @Input() selectionMode ! : GridSelectionMode;
1553
1564
  @Input() span ! : number;
1565
+ @Input() stateId ! : string|null;
1554
1566
  @Input() stateSettings ! : {
1555
1567
  restoreUnconfiguredColumns?: boolean
1556
1568
  };
@@ -1571,18 +1583,19 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
1571
1583
  @Input() width ! : number|string;
1572
1584
 
1573
1585
  // Properties only
1574
- @Input() centered ! : boolean|{
1586
+ @Input() autoUpdateRecord ! : boolean;
1587
+ @Input() centered ! : boolean|{
1575
1588
  once?: boolean
1576
1589
  };
1577
- @Input() originalStore ! : Store;
1578
- @Input() parent ! : Widget;
1579
- @Input() selectedCell ! : GridLocation|GridLocationConfig;
1580
- @Input() selectedCells ! : GridLocation[]|GridLocationConfig[];
1581
- @Input() selectedRecord ! : Model;
1582
- @Input() selectedRecords ! : Model[]|number[];
1583
- @Input() selectedRows ! : Model[]|number[];
1584
- @Input() state ! : GridStateInfo;
1585
- @Input() tooltip ! : string|TooltipConfig;
1590
+ @Input() originalStore ! : Store;
1591
+ @Input() parent ! : Widget;
1592
+ @Input() selectedCell ! : GridLocation|GridLocationConfig;
1593
+ @Input() selectedCells ! : GridLocation[]|GridLocationConfig[];
1594
+ @Input() selectedRecord ! : Model;
1595
+ @Input() selectedRecords ! : Model[]|number[];
1596
+ @Input() selectedRows ! : Model[]|number[];
1597
+ @Input() state ! : GridStateInfo;
1598
+ @Input() tooltip ! : string|TooltipConfig;
1586
1599
 
1587
1600
  // Features
1588
1601
  @Input() aiFeature ! : object|boolean|string|AI|AIConfig;
@@ -2362,6 +2375,23 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
2362
2375
  * @param {Core.widget.Widget} event.source The widget
2363
2376
  */
2364
2377
  @Output() onHide: any = new EventEmitter<((event: { source: Widget }) => void)|string>();
2378
+ /**
2379
+ * Fires when the Grid is scrolling horizontally in one of its SubGrids.
2380
+ * @param {object} event Event object
2381
+ * @param {Grid.view.GridBase} event.source The firing Grid instance
2382
+ * @param {Grid.view.SubGrid} event.subGrid The scrolling SubGrid instance
2383
+ * @param {number} event.scrollLeft The horizontal scroll position
2384
+ * @param {number} event.scrollX The horizontal scroll position in the RTL-safe coordinate system
2385
+ */
2386
+ @Output() onHorizontalScroll: any = new EventEmitter<((event: { source: GridBase, subGrid: SubGrid, scrollLeft: number, scrollX: number }) => void)|string>();
2387
+ /**
2388
+ * Fires after the Grid is done scrolling horizontally in one of its SubGrids.
2389
+ * @param {object} event Event object
2390
+ * @param {Grid.view.GridBase} event.source The firing Grid instance
2391
+ * @param {Grid.view.SubGrid} event.subGrid The scrolling SubGrid instance
2392
+ * @param {number} [event.scrollLeft] The horizontal scroll position. Only supplied when the event follows a SubGrid resize, the scroll driven path does not report a position
2393
+ */
2394
+ @Output() onHorizontalScrollEnd: any = new EventEmitter<((event: { source: GridBase, subGrid: SubGrid, scrollLeft?: number }) => void)|string>();
2365
2395
  /**
2366
2396
  * Fires when row locking is enabled.
2367
2397
  * @param {object} event Event object