@bryntum/grid-angular-thin 7.3.1 → 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.
- package/README.md +4 -4
- package/bundles/bryntum-grid-angular-thin.umd.js +40 -31
- package/bundles/bryntum-grid-angular-thin.umd.js.map +1 -1
- package/esm2015/lib/bryntum-a-i-filter-field.component.js +5 -5
- package/esm2015/lib/bryntum-checklist-filter-combo.component.js +5 -5
- package/esm2015/lib/bryntum-grid-base.component.js +5 -2
- package/esm2015/lib/bryntum-grid-chart-designer.component.js +5 -5
- package/esm2015/lib/bryntum-grid-field-filter-picker-group.component.js +5 -5
- package/esm2015/lib/bryntum-grid-field-filter-picker.component.js +5 -5
- package/esm2015/lib/bryntum-grid.component.js +5 -2
- package/esm2015/lib/bryntum-group-bar.component.js +5 -5
- package/esm2015/lib/bryntum-tree-combo.component.js +5 -5
- package/esm2015/lib/bryntum-tree-grid.component.js +5 -2
- package/fesm2015/bryntum-grid-angular-thin.js +40 -31
- package/fesm2015/bryntum-grid-angular-thin.js.map +1 -1
- package/lib/bryntum-a-i-filter-field.component.d.ts +15 -6
- package/lib/bryntum-checklist-filter-combo.component.d.ts +15 -6
- package/lib/bryntum-grid-base.component.d.ts +11 -2
- package/lib/bryntum-grid-chart-designer.component.d.ts +15 -6
- package/lib/bryntum-grid-field-filter-picker-group.component.d.ts +16 -7
- package/lib/bryntum-grid-field-filter-picker.component.d.ts +16 -7
- package/lib/bryntum-grid.component.d.ts +11 -2
- package/lib/bryntum-group-bar.component.d.ts +19 -8
- package/lib/bryntum-tree-combo.component.d.ts +15 -6
- package/lib/bryntum-tree-grid.component.d.ts +11 -2
- package/package.json +1 -1
- package/src/lib/bryntum-a-i-filter-field.component.ts +15 -6
- package/src/lib/bryntum-checklist-filter-combo.component.ts +15 -6
- package/src/lib/bryntum-grid-base.component.ts +11 -1
- package/src/lib/bryntum-grid-chart-designer.component.ts +15 -6
- package/src/lib/bryntum-grid-field-filter-picker-group.component.ts +16 -7
- package/src/lib/bryntum-grid-field-filter-picker.component.ts +16 -7
- package/src/lib/bryntum-grid.component.ts +11 -1
- package/src/lib/bryntum-group-bar.component.ts +19 -8
- package/src/lib/bryntum-tree-combo.component.ts +15 -6
- package/src/lib/bryntum-tree-grid.component.ts +11 -1
|
@@ -50,6 +50,8 @@ export type BryntumGroupBarProps = {
|
|
|
50
50
|
/**
|
|
51
51
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
52
52
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-element).
|
|
53
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
54
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-appendTo)
|
|
53
55
|
*/
|
|
54
56
|
appendTo ? : HTMLElement|string
|
|
55
57
|
/**
|
|
@@ -83,9 +85,10 @@ export type BryntumGroupBarProps = {
|
|
|
83
85
|
catchEventHandlerExceptions ? : boolean
|
|
84
86
|
/**
|
|
85
87
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
86
|
-
*
|
|
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.
|
|
87
90
|
*/
|
|
88
|
-
centered ? : boolean
|
|
91
|
+
centered ? : boolean|object
|
|
89
92
|
/**
|
|
90
93
|
* Configure as `true` to clear selection when clicking on empty space inside the List´s element.
|
|
91
94
|
*/
|
|
@@ -99,9 +102,11 @@ export type BryntumGroupBarProps = {
|
|
|
99
102
|
/**
|
|
100
103
|
* If [closable](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-closable) is `true`, this is the name of a callback function to handle what the "close"
|
|
101
104
|
* action means. If not provided, the record representing the chip is removed from the store.
|
|
105
|
+
* @param {Core.data.Model[]} records Records to be closed
|
|
106
|
+
* @param {object} options Close options
|
|
102
107
|
* @returns {void}
|
|
103
108
|
*/
|
|
104
|
-
closeHandler ? : string|(() => void)
|
|
109
|
+
closeHandler ? : string|((records: Model[], options: object) => void)
|
|
105
110
|
/**
|
|
106
111
|
* Custom CSS classes to add to element.
|
|
107
112
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -183,7 +188,7 @@ export type BryntumGroupBarProps = {
|
|
|
183
188
|
dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
184
189
|
/**
|
|
185
190
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
186
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
191
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
187
192
|
* property which controls when a drag should start.
|
|
188
193
|
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-draggable)
|
|
189
194
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -278,10 +283,14 @@ export type BryntumGroupBarProps = {
|
|
|
278
283
|
ignoreParentReadOnly ? : boolean
|
|
279
284
|
/**
|
|
280
285
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
286
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
287
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-insertBefore)
|
|
281
288
|
*/
|
|
282
289
|
insertBefore ? : HTMLElement|string
|
|
283
290
|
/**
|
|
284
291
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
292
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
293
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-insertFirst)
|
|
285
294
|
*/
|
|
286
295
|
insertFirst ? : HTMLElement|string
|
|
287
296
|
/**
|
|
@@ -442,7 +451,7 @@ export type BryntumGroupBarProps = {
|
|
|
442
451
|
scrollable ? : boolean|ScrollerConfig|Scroller
|
|
443
452
|
/**
|
|
444
453
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
445
|
-
* Valid values:
|
|
454
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
446
455
|
*/
|
|
447
456
|
scrollAction ? : 'hide'|'realign'|null
|
|
448
457
|
/**
|
|
@@ -694,7 +703,6 @@ export class BryntumGroupBarComponent implements OnInit, OnDestroy {
|
|
|
694
703
|
'ariaDescription',
|
|
695
704
|
'ariaLabel',
|
|
696
705
|
'bubbleEvents',
|
|
697
|
-
'centered',
|
|
698
706
|
'closable',
|
|
699
707
|
'closeHandler',
|
|
700
708
|
'color',
|
|
@@ -751,6 +759,7 @@ export class BryntumGroupBarComponent implements OnInit, OnDestroy {
|
|
|
751
759
|
'appendTo',
|
|
752
760
|
'callOnFunctions',
|
|
753
761
|
'catchEventHandlerExceptions',
|
|
762
|
+
'centered',
|
|
754
763
|
'clearSelectionOnEmptySpaceClick',
|
|
755
764
|
'cls',
|
|
756
765
|
'collapsibleGroups',
|
|
@@ -815,9 +824,8 @@ export class BryntumGroupBarComponent implements OnInit, OnDestroy {
|
|
|
815
824
|
@Input() ariaDescription ! : string;
|
|
816
825
|
@Input() ariaLabel ! : string;
|
|
817
826
|
@Input() bubbleEvents ! : object;
|
|
818
|
-
@Input() centered ! : boolean;
|
|
819
827
|
@Input() closable ! : boolean;
|
|
820
|
-
@Input() closeHandler ! : string|(() => void);
|
|
828
|
+
@Input() closeHandler ! : string|((records: Model[], options: object) => void);
|
|
821
829
|
@Input() color ! : Color;
|
|
822
830
|
@Input() config ! : object;
|
|
823
831
|
@Input() constrainTo ! : HTMLElement|Widget|Rectangle;
|
|
@@ -871,6 +879,9 @@ export class BryntumGroupBarComponent implements OnInit, OnDestroy {
|
|
|
871
879
|
@Input() appendTo ! : HTMLElement|string;
|
|
872
880
|
@Input() callOnFunctions ! : boolean;
|
|
873
881
|
@Input() catchEventHandlerExceptions ! : boolean;
|
|
882
|
+
@Input() centered ! : boolean|{
|
|
883
|
+
once?: boolean
|
|
884
|
+
}|boolean|object;
|
|
874
885
|
@Input() clearSelectionOnEmptySpaceClick ! : boolean;
|
|
875
886
|
@Input() cls ! : string|object;
|
|
876
887
|
@Input() collapsibleGroups ! : boolean;
|
|
@@ -40,6 +40,8 @@ export type BryntumTreeComboProps = {
|
|
|
40
40
|
/**
|
|
41
41
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
42
42
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-element).
|
|
43
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
44
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/TreeCombo#config-appendTo)
|
|
43
45
|
*/
|
|
44
46
|
appendTo ? : HTMLElement|string
|
|
45
47
|
/**
|
|
@@ -99,9 +101,10 @@ export type BryntumTreeComboProps = {
|
|
|
99
101
|
catchEventHandlerExceptions ? : boolean
|
|
100
102
|
/**
|
|
101
103
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
102
|
-
*
|
|
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.
|
|
103
106
|
*/
|
|
104
|
-
centered ? : boolean
|
|
107
|
+
centered ? : boolean|object
|
|
105
108
|
/**
|
|
106
109
|
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
107
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)
|
|
@@ -237,7 +240,7 @@ export type BryntumTreeComboProps = {
|
|
|
237
240
|
dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
238
241
|
/**
|
|
239
242
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
240
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
243
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
241
244
|
* property which controls when a drag should start.
|
|
242
245
|
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/TreeCombo#config-draggable)
|
|
243
246
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -404,10 +407,14 @@ export type BryntumTreeComboProps = {
|
|
|
404
407
|
inputWidth ? : string|number
|
|
405
408
|
/**
|
|
406
409
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
410
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
411
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/TreeCombo#config-insertBefore)
|
|
407
412
|
*/
|
|
408
413
|
insertBefore ? : HTMLElement|string
|
|
409
414
|
/**
|
|
410
415
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
416
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
417
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/TreeCombo#config-insertFirst)
|
|
411
418
|
*/
|
|
412
419
|
insertFirst ? : HTMLElement|string
|
|
413
420
|
/**
|
|
@@ -668,7 +675,7 @@ export type BryntumTreeComboProps = {
|
|
|
668
675
|
rtl ? : boolean
|
|
669
676
|
/**
|
|
670
677
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
671
|
-
* Valid values:
|
|
678
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
672
679
|
*/
|
|
673
680
|
scrollAction ? : 'hide'|'realign'|null
|
|
674
681
|
/**
|
|
@@ -989,7 +996,6 @@ export class BryntumTreeComboComponent implements OnInit, OnDestroy {
|
|
|
989
996
|
'bubbleEvents',
|
|
990
997
|
'cacheLastResult',
|
|
991
998
|
'caseSensitive',
|
|
992
|
-
'centered',
|
|
993
999
|
'checkValidity',
|
|
994
1000
|
'chipView',
|
|
995
1001
|
'clearable',
|
|
@@ -1087,6 +1093,7 @@ export class BryntumTreeComboComponent implements OnInit, OnDestroy {
|
|
|
1087
1093
|
'badge',
|
|
1088
1094
|
'callOnFunctions',
|
|
1089
1095
|
'catchEventHandlerExceptions',
|
|
1096
|
+
'centered',
|
|
1090
1097
|
'cls',
|
|
1091
1098
|
'column',
|
|
1092
1099
|
'content',
|
|
@@ -1160,7 +1167,6 @@ export class BryntumTreeComboComponent implements OnInit, OnDestroy {
|
|
|
1160
1167
|
@Input() bubbleEvents ! : object;
|
|
1161
1168
|
@Input() cacheLastResult ! : number|string|Duration|DurationConfig;
|
|
1162
1169
|
@Input() caseSensitive ! : boolean;
|
|
1163
|
-
@Input() centered ! : boolean;
|
|
1164
1170
|
@Input() checkValidity ! : ((field: Field) => void)|string;
|
|
1165
1171
|
@Input() chipView ! : ChipViewConfig;
|
|
1166
1172
|
@Input() clearable ! : boolean|FieldTriggerConfig;
|
|
@@ -1257,6 +1263,9 @@ export class BryntumTreeComboComponent implements OnInit, OnDestroy {
|
|
|
1257
1263
|
@Input() badge ! : string;
|
|
1258
1264
|
@Input() callOnFunctions ! : boolean;
|
|
1259
1265
|
@Input() catchEventHandlerExceptions ! : boolean;
|
|
1266
|
+
@Input() centered ! : boolean|{
|
|
1267
|
+
once?: boolean
|
|
1268
|
+
}|boolean|object;
|
|
1260
1269
|
@Input() cls ! : string|object;
|
|
1261
1270
|
@Input() column ! : number;
|
|
1262
1271
|
@Input() dataset ! : object|Record<string, string>;
|
|
@@ -48,6 +48,8 @@ export type BryntumTreeGridProps = {
|
|
|
48
48
|
/**
|
|
49
49
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
50
50
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-element).
|
|
51
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
52
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/view/TreeGrid#config-appendTo)
|
|
51
53
|
*/
|
|
52
54
|
appendTo ? : HTMLElement|string
|
|
53
55
|
/**
|
|
@@ -359,10 +361,14 @@ export type BryntumTreeGridProps = {
|
|
|
359
361
|
inputFieldAlign ? : 'start'|'end'
|
|
360
362
|
/**
|
|
361
363
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
364
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
365
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/view/TreeGrid#config-insertBefore)
|
|
362
366
|
*/
|
|
363
367
|
insertBefore ? : HTMLElement|string
|
|
364
368
|
/**
|
|
365
369
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
370
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
371
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/view/TreeGrid#config-insertFirst)
|
|
366
372
|
*/
|
|
367
373
|
insertFirst ? : HTMLElement|string
|
|
368
374
|
/**
|
|
@@ -375,7 +381,7 @@ export type BryntumTreeGridProps = {
|
|
|
375
381
|
*/
|
|
376
382
|
labelPosition ? : 'before'|'above'|'align-before'|'auto'|null
|
|
377
383
|
/**
|
|
378
|
-
* Sets `labelWidth
|
|
384
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
379
385
|
* [More...](https://bryntum.com/products/grid/docs/api/Grid/view/TreeGrid#config-labelWidth)
|
|
380
386
|
*/
|
|
381
387
|
labelWidth ? : number|null
|
|
@@ -1353,6 +1359,7 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
|
|
|
1353
1359
|
'callOnFunctions',
|
|
1354
1360
|
'catchEventHandlerExceptions',
|
|
1355
1361
|
'cellEllipsis',
|
|
1362
|
+
'centered',
|
|
1356
1363
|
'cls',
|
|
1357
1364
|
'collapsed',
|
|
1358
1365
|
'column',
|
|
@@ -1564,6 +1571,9 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
|
|
|
1564
1571
|
@Input() width ! : number|string;
|
|
1565
1572
|
|
|
1566
1573
|
// Properties only
|
|
1574
|
+
@Input() centered ! : boolean|{
|
|
1575
|
+
once?: boolean
|
|
1576
|
+
};
|
|
1567
1577
|
@Input() originalStore ! : Store;
|
|
1568
1578
|
@Input() parent ! : Widget;
|
|
1569
1579
|
@Input() selectedCell ! : GridLocation|GridLocationConfig;
|