@bryntum/grid-angular-thin 7.3.2 → 7.3.3

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 +4 -4
  2. package/bundles/bryntum-grid-angular-thin.umd.js +40 -31
  3. package/bundles/bryntum-grid-angular-thin.umd.js.map +1 -1
  4. package/esm2015/lib/bryntum-a-i-filter-field.component.js +5 -5
  5. package/esm2015/lib/bryntum-checklist-filter-combo.component.js +5 -5
  6. package/esm2015/lib/bryntum-grid-base.component.js +5 -2
  7. package/esm2015/lib/bryntum-grid-chart-designer.component.js +5 -5
  8. package/esm2015/lib/bryntum-grid-field-filter-picker-group.component.js +5 -5
  9. package/esm2015/lib/bryntum-grid-field-filter-picker.component.js +5 -5
  10. package/esm2015/lib/bryntum-grid.component.js +5 -2
  11. package/esm2015/lib/bryntum-group-bar.component.js +5 -5
  12. package/esm2015/lib/bryntum-tree-combo.component.js +5 -5
  13. package/esm2015/lib/bryntum-tree-grid.component.js +5 -2
  14. package/fesm2015/bryntum-grid-angular-thin.js +40 -31
  15. package/fesm2015/bryntum-grid-angular-thin.js.map +1 -1
  16. package/lib/bryntum-a-i-filter-field.component.d.ts +9 -6
  17. package/lib/bryntum-checklist-filter-combo.component.d.ts +9 -6
  18. package/lib/bryntum-grid-base.component.d.ts +5 -2
  19. package/lib/bryntum-grid-chart-designer.component.d.ts +9 -6
  20. package/lib/bryntum-grid-field-filter-picker-group.component.d.ts +10 -7
  21. package/lib/bryntum-grid-field-filter-picker.component.d.ts +10 -7
  22. package/lib/bryntum-grid.component.d.ts +5 -2
  23. package/lib/bryntum-group-bar.component.d.ts +9 -6
  24. package/lib/bryntum-tree-combo.component.d.ts +9 -6
  25. package/lib/bryntum-tree-grid.component.d.ts +5 -2
  26. package/package.json +1 -1
  27. package/src/lib/bryntum-a-i-filter-field.component.ts +9 -6
  28. package/src/lib/bryntum-checklist-filter-combo.component.ts +9 -6
  29. package/src/lib/bryntum-grid-base.component.ts +5 -1
  30. package/src/lib/bryntum-grid-chart-designer.component.ts +9 -6
  31. package/src/lib/bryntum-grid-field-filter-picker-group.component.ts +10 -7
  32. package/src/lib/bryntum-grid-field-filter-picker.component.ts +10 -7
  33. package/src/lib/bryntum-grid.component.ts +5 -1
  34. package/src/lib/bryntum-group-bar.component.ts +9 -6
  35. package/src/lib/bryntum-tree-combo.component.ts +9 -6
  36. package/src/lib/bryntum-tree-grid.component.ts +5 -1
@@ -109,9 +109,10 @@ export type BryntumGridFieldFilterPickerGroupProps = {
109
109
  catchEventHandlerExceptions ? : boolean
110
110
  /**
111
111
  * *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
112
- * Set to `true` to centre the Widget in browser viewport space.
112
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-centered)
113
+ * @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
113
114
  */
114
- centered ? : boolean
115
+ centered ? : boolean|object
115
116
  /**
116
117
  * Custom CSS classes to add to element.
117
118
  * May be specified as a space separated string, or as an object in which property names
@@ -200,7 +201,7 @@ export type BryntumGridFieldFilterPickerGroupProps = {
200
201
  dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
201
202
  /**
202
203
  * *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
203
- * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
204
+ * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
204
205
  * property which controls when a drag should start.
205
206
  * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-draggable)
206
207
  * @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
@@ -333,7 +334,7 @@ export type BryntumGridFieldFilterPickerGroupProps = {
333
334
  */
334
335
  labelPosition ? : 'before'|'above'|'align-before'|'auto'|null
335
336
  /**
336
- * Sets `labelWidth´ for all children of this Container, that does not define their own `labelWidth`.
337
+ * Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
337
338
  * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-labelWidth)
338
339
  */
339
340
  labelWidth ? : number|null
@@ -510,7 +511,7 @@ export type BryntumGridFieldFilterPickerGroupProps = {
510
511
  scrollable ? : boolean|ScrollerConfig|Scroller
511
512
  /**
512
513
  * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
513
- * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.
514
+ * Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
514
515
  */
515
516
  scrollAction ? : 'hide'|'realign'|null
516
517
  /**
@@ -768,7 +769,6 @@ export class BryntumGridFieldFilterPickerGroupComponent implements OnInit, OnDes
768
769
  'bubbleEvents',
769
770
  'canDeleteFilter',
770
771
  'canManageFilter',
771
- 'centered',
772
772
  'color',
773
773
  'config',
774
774
  'constrainTo',
@@ -829,6 +829,7 @@ export class BryntumGridFieldFilterPickerGroupComponent implements OnInit, OnDes
829
829
  'appendTo',
830
830
  'callOnFunctions',
831
831
  'catchEventHandlerExceptions',
832
+ 'centered',
832
833
  'cls',
833
834
  'column',
834
835
  'content',
@@ -900,7 +901,6 @@ export class BryntumGridFieldFilterPickerGroupComponent implements OnInit, OnDes
900
901
  @Input() bubbleEvents ! : object;
901
902
  @Input() canDeleteFilter ! : (filter: any) => boolean;
902
903
  @Input() canManageFilter ! : (filter: any) => boolean;
903
- @Input() centered ! : boolean;
904
904
  @Input() color ! : Color;
905
905
  @Input() config ! : object;
906
906
  @Input() constrainTo ! : HTMLElement|Widget|Rectangle;
@@ -960,6 +960,9 @@ export class BryntumGridFieldFilterPickerGroupComponent implements OnInit, OnDes
960
960
  @Input() appendTo ! : HTMLElement|string;
961
961
  @Input() callOnFunctions ! : boolean;
962
962
  @Input() catchEventHandlerExceptions ! : boolean;
963
+ @Input() centered ! : boolean|{
964
+ once?: boolean
965
+ }|boolean|object;
963
966
  @Input() cls ! : string|object;
964
967
  @Input() column ! : number;
965
968
  @Input() content ! : string;
@@ -90,9 +90,10 @@ export type BryntumGridFieldFilterPickerProps = {
90
90
  catchEventHandlerExceptions ? : boolean
91
91
  /**
92
92
  * *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
93
- * Set to `true` to centre the Widget in browser viewport space.
93
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-centered)
94
+ * @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
94
95
  */
95
- centered ? : boolean
96
+ centered ? : boolean|object
96
97
  /**
97
98
  * Custom CSS classes to add to element.
98
99
  * May be specified as a space separated string, or as an object in which property names
@@ -181,7 +182,7 @@ export type BryntumGridFieldFilterPickerProps = {
181
182
  dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
182
183
  /**
183
184
  * *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
184
- * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
185
+ * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
185
186
  * property which controls when a drag should start.
186
187
  * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-draggable)
187
188
  * @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
@@ -318,7 +319,7 @@ export type BryntumGridFieldFilterPickerProps = {
318
319
  */
319
320
  labelPosition ? : 'before'|'above'|'align-before'|'auto'|null
320
321
  /**
321
- * Sets `labelWidth´ for all children of this Container, that does not define their own `labelWidth`.
322
+ * Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
322
323
  * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-labelWidth)
323
324
  */
324
325
  labelWidth ? : number|null
@@ -500,7 +501,7 @@ export type BryntumGridFieldFilterPickerProps = {
500
501
  scrollable ? : boolean|ScrollerConfig|Scroller
501
502
  /**
502
503
  * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
503
- * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.
504
+ * Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
504
505
  */
505
506
  scrollAction ? : 'hide'|'realign'|null
506
507
  /**
@@ -759,7 +760,6 @@ export class BryntumGridFieldFilterPickerComponent implements OnInit, OnDestroy
759
760
  'autoUpdateRecord',
760
761
  'border',
761
762
  'bubbleEvents',
762
- 'centered',
763
763
  'color',
764
764
  'config',
765
765
  'constrainTo',
@@ -824,6 +824,7 @@ export class BryntumGridFieldFilterPickerComponent implements OnInit, OnDestroy
824
824
  'appendTo',
825
825
  'callOnFunctions',
826
826
  'catchEventHandlerExceptions',
827
+ 'centered',
827
828
  'cls',
828
829
  'column',
829
830
  'content',
@@ -891,7 +892,6 @@ export class BryntumGridFieldFilterPickerComponent implements OnInit, OnDestroy
891
892
  @Input() autoUpdateRecord ! : boolean;
892
893
  @Input() border ! : boolean;
893
894
  @Input() bubbleEvents ! : object;
894
- @Input() centered ! : boolean;
895
895
  @Input() color ! : Color;
896
896
  @Input() config ! : object;
897
897
  @Input() constrainTo ! : HTMLElement|Widget|Rectangle;
@@ -955,6 +955,9 @@ export class BryntumGridFieldFilterPickerComponent implements OnInit, OnDestroy
955
955
  @Input() appendTo ! : HTMLElement|string;
956
956
  @Input() callOnFunctions ! : boolean;
957
957
  @Input() catchEventHandlerExceptions ! : boolean;
958
+ @Input() centered ! : boolean|{
959
+ once?: boolean
960
+ }|boolean|object;
958
961
  @Input() cls ! : string|object;
959
962
  @Input() column ! : number;
960
963
  @Input() content ! : string;
@@ -381,7 +381,7 @@ export type BryntumGridProps = {
381
381
  */
382
382
  labelPosition ? : 'before'|'above'|'align-before'|'auto'|null
383
383
  /**
384
- * Sets `labelWidth´ for all children of this Container, that does not define their own `labelWidth`.
384
+ * Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
385
385
  * [More...](https://bryntum.com/products/grid/docs/api/Grid/view/Grid#config-labelWidth)
386
386
  */
387
387
  labelWidth ? : number|null
@@ -1359,6 +1359,7 @@ export class BryntumGridComponent implements OnInit, OnDestroy {
1359
1359
  'callOnFunctions',
1360
1360
  'catchEventHandlerExceptions',
1361
1361
  'cellEllipsis',
1362
+ 'centered',
1362
1363
  'cls',
1363
1364
  'collapsed',
1364
1365
  'column',
@@ -1570,6 +1571,9 @@ export class BryntumGridComponent implements OnInit, OnDestroy {
1570
1571
  @Input() width ! : number|string;
1571
1572
 
1572
1573
  // Properties only
1574
+ @Input() centered ! : boolean|{
1575
+ once?: boolean
1576
+ };
1573
1577
  @Input() originalStore ! : Store;
1574
1578
  @Input() parent ! : Widget;
1575
1579
  @Input() selectedCell ! : GridLocation|GridLocationConfig;
@@ -85,9 +85,10 @@ export type BryntumGroupBarProps = {
85
85
  catchEventHandlerExceptions ? : boolean
86
86
  /**
87
87
  * *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
88
- * Set to `true` to centre the Widget in browser viewport space.
88
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-centered)
89
+ * @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
89
90
  */
90
- centered ? : boolean
91
+ centered ? : boolean|object
91
92
  /**
92
93
  * Configure as `true` to clear selection when clicking on empty space inside the List´s element.
93
94
  */
@@ -187,7 +188,7 @@ export type BryntumGroupBarProps = {
187
188
  dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
188
189
  /**
189
190
  * *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
190
- * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
191
+ * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
191
192
  * property which controls when a drag should start.
192
193
  * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-draggable)
193
194
  * @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
@@ -450,7 +451,7 @@ export type BryntumGroupBarProps = {
450
451
  scrollable ? : boolean|ScrollerConfig|Scroller
451
452
  /**
452
453
  * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
453
- * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.
454
+ * Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
454
455
  */
455
456
  scrollAction ? : 'hide'|'realign'|null
456
457
  /**
@@ -702,7 +703,6 @@ export class BryntumGroupBarComponent implements OnInit, OnDestroy {
702
703
  'ariaDescription',
703
704
  'ariaLabel',
704
705
  'bubbleEvents',
705
- 'centered',
706
706
  'closable',
707
707
  'closeHandler',
708
708
  'color',
@@ -759,6 +759,7 @@ export class BryntumGroupBarComponent implements OnInit, OnDestroy {
759
759
  'appendTo',
760
760
  'callOnFunctions',
761
761
  'catchEventHandlerExceptions',
762
+ 'centered',
762
763
  'clearSelectionOnEmptySpaceClick',
763
764
  'cls',
764
765
  'collapsibleGroups',
@@ -823,7 +824,6 @@ export class BryntumGroupBarComponent implements OnInit, OnDestroy {
823
824
  @Input() ariaDescription ! : string;
824
825
  @Input() ariaLabel ! : string;
825
826
  @Input() bubbleEvents ! : object;
826
- @Input() centered ! : boolean;
827
827
  @Input() closable ! : boolean;
828
828
  @Input() closeHandler ! : string|((records: Model[], options: object) => void);
829
829
  @Input() color ! : Color;
@@ -879,6 +879,9 @@ export class BryntumGroupBarComponent implements OnInit, OnDestroy {
879
879
  @Input() appendTo ! : HTMLElement|string;
880
880
  @Input() callOnFunctions ! : boolean;
881
881
  @Input() catchEventHandlerExceptions ! : boolean;
882
+ @Input() centered ! : boolean|{
883
+ once?: boolean
884
+ }|boolean|object;
882
885
  @Input() clearSelectionOnEmptySpaceClick ! : boolean;
883
886
  @Input() cls ! : string|object;
884
887
  @Input() collapsibleGroups ! : boolean;
@@ -101,9 +101,10 @@ export type BryntumTreeComboProps = {
101
101
  catchEventHandlerExceptions ? : boolean
102
102
  /**
103
103
  * *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
104
- * Set to `true` to centre the Widget in browser viewport space.
104
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/TreeCombo#config-centered)
105
+ * @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
105
106
  */
106
- centered ? : boolean
107
+ centered ? : boolean|object
107
108
  /**
108
109
  * A function (or the name of a function in the ownership hierarchy) called during field validation
109
110
  * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/grid/docs/api/Core/widget/Field#property-isValid)
@@ -239,7 +240,7 @@ export type BryntumTreeComboProps = {
239
240
  dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
240
241
  /**
241
242
  * *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
242
- * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
243
+ * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
243
244
  * property which controls when a drag should start.
244
245
  * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/TreeCombo#config-draggable)
245
246
  * @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
@@ -674,7 +675,7 @@ export type BryntumTreeComboProps = {
674
675
  rtl ? : boolean
675
676
  /**
676
677
  * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
677
- * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.
678
+ * Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
678
679
  */
679
680
  scrollAction ? : 'hide'|'realign'|null
680
681
  /**
@@ -995,7 +996,6 @@ export class BryntumTreeComboComponent implements OnInit, OnDestroy {
995
996
  'bubbleEvents',
996
997
  'cacheLastResult',
997
998
  'caseSensitive',
998
- 'centered',
999
999
  'checkValidity',
1000
1000
  'chipView',
1001
1001
  'clearable',
@@ -1093,6 +1093,7 @@ export class BryntumTreeComboComponent implements OnInit, OnDestroy {
1093
1093
  'badge',
1094
1094
  'callOnFunctions',
1095
1095
  'catchEventHandlerExceptions',
1096
+ 'centered',
1096
1097
  'cls',
1097
1098
  'column',
1098
1099
  'content',
@@ -1166,7 +1167,6 @@ export class BryntumTreeComboComponent implements OnInit, OnDestroy {
1166
1167
  @Input() bubbleEvents ! : object;
1167
1168
  @Input() cacheLastResult ! : number|string|Duration|DurationConfig;
1168
1169
  @Input() caseSensitive ! : boolean;
1169
- @Input() centered ! : boolean;
1170
1170
  @Input() checkValidity ! : ((field: Field) => void)|string;
1171
1171
  @Input() chipView ! : ChipViewConfig;
1172
1172
  @Input() clearable ! : boolean|FieldTriggerConfig;
@@ -1263,6 +1263,9 @@ export class BryntumTreeComboComponent implements OnInit, OnDestroy {
1263
1263
  @Input() badge ! : string;
1264
1264
  @Input() callOnFunctions ! : boolean;
1265
1265
  @Input() catchEventHandlerExceptions ! : boolean;
1266
+ @Input() centered ! : boolean|{
1267
+ once?: boolean
1268
+ }|boolean|object;
1266
1269
  @Input() cls ! : string|object;
1267
1270
  @Input() column ! : number;
1268
1271
  @Input() dataset ! : object|Record<string, string>;
@@ -381,7 +381,7 @@ export type BryntumTreeGridProps = {
381
381
  */
382
382
  labelPosition ? : 'before'|'above'|'align-before'|'auto'|null
383
383
  /**
384
- * Sets `labelWidth´ for all children of this Container, that does not define their own `labelWidth`.
384
+ * Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
385
385
  * [More...](https://bryntum.com/products/grid/docs/api/Grid/view/TreeGrid#config-labelWidth)
386
386
  */
387
387
  labelWidth ? : number|null
@@ -1359,6 +1359,7 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
1359
1359
  'callOnFunctions',
1360
1360
  'catchEventHandlerExceptions',
1361
1361
  'cellEllipsis',
1362
+ 'centered',
1362
1363
  'cls',
1363
1364
  'collapsed',
1364
1365
  'column',
@@ -1570,6 +1571,9 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
1570
1571
  @Input() width ! : number|string;
1571
1572
 
1572
1573
  // Properties only
1574
+ @Input() centered ! : boolean|{
1575
+ once?: boolean
1576
+ };
1573
1577
  @Input() originalStore ! : Store;
1574
1578
  @Input() parent ! : Widget;
1575
1579
  @Input() selectedCell ! : GridLocation|GridLocationConfig;