@bryntum/grid-react-thin 7.2.4 → 7.3.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 +5 -5
- package/lib/BryntumAIFilterField.d.ts +9 -16
- package/lib/BryntumAIFilterField.js +2 -2
- package/lib/BryntumAIFilterField.js.map +1 -1
- package/lib/BryntumChecklistFilterCombo.d.ts +12 -19
- package/lib/BryntumChecklistFilterCombo.js +2 -2
- package/lib/BryntumChecklistFilterCombo.js.map +1 -1
- package/lib/BryntumGrid.d.ts +47 -58
- package/lib/BryntumGrid.js +2 -2
- package/lib/BryntumGrid.js.map +1 -1
- package/lib/BryntumGridBase.d.ts +47 -58
- package/lib/BryntumGridBase.js +2 -2
- package/lib/BryntumGridBase.js.map +1 -1
- package/lib/BryntumGridChartDesigner.d.ts +7 -15
- package/lib/BryntumGridChartDesigner.js +1 -2
- package/lib/BryntumGridChartDesigner.js.map +1 -1
- package/lib/BryntumGridFieldFilterPicker.d.ts +8 -15
- package/lib/BryntumGridFieldFilterPicker.js +2 -5
- package/lib/BryntumGridFieldFilterPicker.js.map +1 -1
- package/lib/BryntumGridFieldFilterPickerGroup.d.ts +9 -16
- package/lib/BryntumGridFieldFilterPickerGroup.js +2 -5
- package/lib/BryntumGridFieldFilterPickerGroup.js.map +1 -1
- package/lib/BryntumGroupBar.d.ts +8 -16
- package/lib/BryntumGroupBar.js +1 -2
- package/lib/BryntumGroupBar.js.map +1 -1
- package/lib/BryntumTreeCombo.d.ts +12 -19
- package/lib/BryntumTreeCombo.js +2 -2
- package/lib/BryntumTreeCombo.js.map +1 -1
- package/lib/BryntumTreeGrid.d.ts +47 -58
- package/lib/BryntumTreeGrid.js +2 -2
- package/lib/BryntumTreeGrid.js.map +1 -1
- package/lib/WrapperHelper.js +2 -2
- package/lib/WrapperHelper.js.map +1 -1
- package/package.json +1 -1
- package/src/BryntumAIFilterField.tsx +85 -120
- package/src/BryntumChecklistFilterCombo.tsx +102 -151
- package/src/BryntumGrid.tsx +229 -316
- package/src/BryntumGridBase.tsx +229 -316
- package/src/BryntumGridChartDesigner.tsx +60 -96
- package/src/BryntumGridFieldFilterPicker.tsx +83 -133
- package/src/BryntumGridFieldFilterPickerGroup.tsx +83 -132
- package/src/BryntumGroupBar.tsx +67 -107
- package/src/BryntumTreeCombo.tsx +103 -153
- package/src/BryntumTreeGrid.tsx +229 -316
- package/src/WrapperHelper.tsx +2 -2
package/lib/BryntumGridBase.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { AjaxStore, AjaxStoreConfig, Base, Color, Container, DomConfig, FormulaProviderConfig, 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, Widget } from '@bryntum/core-thin';
|
|
2
|
+
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, Widget } from '@bryntum/core-thin';
|
|
3
3
|
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, GridBaseListeners, 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, TreeGroup, TreeGroupConfig, XLSColumn } from '@bryntum/grid-thin';
|
|
4
4
|
import { processWidgetContent } from './WrapperHelper.js';
|
|
5
5
|
export declare type BryntumGridBaseProps = {
|
|
@@ -43,7 +43,7 @@ export declare type BryntumGridBaseProps = {
|
|
|
43
43
|
side?: 'start' | 'left' | 'end' | 'right' | 'top' | 'bottom';
|
|
44
44
|
size?: string | number;
|
|
45
45
|
inline?: boolean;
|
|
46
|
-
autoClose
|
|
46
|
+
autoClose?: boolean | {
|
|
47
47
|
mousedown?: boolean | string;
|
|
48
48
|
focusout?: boolean | string;
|
|
49
49
|
mouseout?: string;
|
|
@@ -59,16 +59,10 @@ export declare type BryntumGridBaseProps = {
|
|
|
59
59
|
fillLastColumn?: boolean;
|
|
60
60
|
fixedRowHeight?: boolean;
|
|
61
61
|
flex?: number | string;
|
|
62
|
-
footer?:
|
|
63
|
-
dock?: 'top' | 'right' | 'bottom' | 'left' | 'start' | 'end';
|
|
64
|
-
html?: string;
|
|
65
|
-
cls?: string;
|
|
66
|
-
} | string;
|
|
62
|
+
footer?: object | string;
|
|
67
63
|
formulaProviders?: Record<string, FormulaProviderConfig>;
|
|
68
64
|
fullRowRefresh?: boolean;
|
|
69
|
-
getRowHeight?: (
|
|
70
|
-
record: Model;
|
|
71
|
-
}) => number;
|
|
65
|
+
getRowHeight?: () => number;
|
|
72
66
|
header?: string | boolean | PanelHeader;
|
|
73
67
|
height?: string | number;
|
|
74
68
|
hidden?: boolean;
|
|
@@ -84,6 +78,7 @@ export declare type BryntumGridBaseProps = {
|
|
|
84
78
|
insertFirst?: HTMLElement | string;
|
|
85
79
|
keyMap?: Record<string, KeyMapConfig>;
|
|
86
80
|
labelPosition?: 'before' | 'above' | 'align-before' | 'auto' | null;
|
|
81
|
+
labelWidth?: number | null;
|
|
87
82
|
listeners?: GridBaseListeners;
|
|
88
83
|
loadMask?: string | MaskConfig | null;
|
|
89
84
|
loadMaskDefaults?: MaskConfig;
|
|
@@ -98,7 +93,7 @@ export declare type BryntumGridBaseProps = {
|
|
|
98
93
|
minHeight?: string | number;
|
|
99
94
|
minWidth?: string | number;
|
|
100
95
|
monitorResize?: boolean;
|
|
101
|
-
plugins?:
|
|
96
|
+
plugins?: InstancePlugin[] | InstancePlugin;
|
|
102
97
|
preserveFocusOnDatasetChange?: boolean;
|
|
103
98
|
preserveScroll?: PreserveScrollOptions | boolean;
|
|
104
99
|
preserveScrollOnDatasetChange?: boolean;
|
|
@@ -111,16 +106,21 @@ export declare type BryntumGridBaseProps = {
|
|
|
111
106
|
maxWidth?: number;
|
|
112
107
|
minHeight?: number;
|
|
113
108
|
maxHeight?: number;
|
|
114
|
-
handles?:
|
|
109
|
+
handles?: {
|
|
110
|
+
topStart?: boolean;
|
|
111
|
+
top?: boolean;
|
|
112
|
+
topEnd?: boolean;
|
|
113
|
+
end?: boolean;
|
|
114
|
+
bottomEnd?: boolean;
|
|
115
|
+
bottom?: boolean;
|
|
116
|
+
bottomStart?: boolean;
|
|
117
|
+
start?: boolean;
|
|
118
|
+
};
|
|
115
119
|
};
|
|
116
120
|
resizeToFitIncludesHeader?: boolean;
|
|
117
121
|
responsiveLevels?: Record<string, number | string | ResponsiveLevelConfig>;
|
|
118
|
-
ripple?: boolean |
|
|
119
|
-
|
|
120
|
-
color?: string;
|
|
121
|
-
radius?: number;
|
|
122
|
-
clip?: string;
|
|
123
|
-
};
|
|
122
|
+
ripple?: boolean | object;
|
|
123
|
+
role?: string;
|
|
124
124
|
rootElement?: ShadowRoot | HTMLElement;
|
|
125
125
|
rowHeight?: number;
|
|
126
126
|
rowLines?: boolean;
|
|
@@ -130,17 +130,15 @@ export declare type BryntumGridBaseProps = {
|
|
|
130
130
|
scrollManager?: ScrollManagerConfig | ScrollManager;
|
|
131
131
|
selectionMode?: GridSelectionMode;
|
|
132
132
|
showDirty?: boolean | {
|
|
133
|
-
duringEdit
|
|
134
|
-
newRecord
|
|
133
|
+
duringEdit: boolean;
|
|
134
|
+
newRecord: boolean;
|
|
135
135
|
};
|
|
136
136
|
span?: number;
|
|
137
137
|
stateful?: boolean | object | string[];
|
|
138
138
|
statefulEvents?: object | string[];
|
|
139
139
|
stateId?: string;
|
|
140
140
|
stateProvider?: StateProvider;
|
|
141
|
-
stateSettings?:
|
|
142
|
-
restoreUnconfiguredColumns?: boolean;
|
|
143
|
-
};
|
|
141
|
+
stateSettings?: object;
|
|
144
142
|
store?: Store | StoreConfig | AjaxStore | AjaxStoreConfig;
|
|
145
143
|
strips?: Record<string, GridContainerItemConfig>;
|
|
146
144
|
subGridConfigs?: Record<string, SubGridConfig>;
|
|
@@ -150,16 +148,7 @@ export declare type BryntumGridBaseProps = {
|
|
|
150
148
|
tbar?: (GridContainerItemConfig | string)[] | ToolbarConfig | PagingToolbarConfig | null;
|
|
151
149
|
title?: string;
|
|
152
150
|
tools?: Record<string, ToolConfig> | null;
|
|
153
|
-
transition?:
|
|
154
|
-
insertRecord?: boolean;
|
|
155
|
-
removeRecord?: boolean;
|
|
156
|
-
toggleColumn?: boolean;
|
|
157
|
-
expandCollapseColumn?: boolean;
|
|
158
|
-
toggleRegion?: boolean;
|
|
159
|
-
toggleTreeNode?: boolean;
|
|
160
|
-
toggleGroup?: boolean;
|
|
161
|
-
filterRemoval?: boolean;
|
|
162
|
-
};
|
|
151
|
+
transition?: object;
|
|
163
152
|
transitionDuration?: number;
|
|
164
153
|
ui?: 'plain' | 'toolbar' | string | object;
|
|
165
154
|
weight?: number;
|
|
@@ -167,7 +156,7 @@ export declare type BryntumGridBaseProps = {
|
|
|
167
156
|
onBeforeCancelCellEdit?: ((event: {
|
|
168
157
|
source: Grid;
|
|
169
158
|
editorContext: GridLocation;
|
|
170
|
-
}) =>
|
|
159
|
+
}) => boolean | void) | string;
|
|
171
160
|
onBeforeCancelRowEdit?: ((event: {
|
|
172
161
|
grid: Grid;
|
|
173
162
|
editorContext: RowEditorContext;
|
|
@@ -175,16 +164,16 @@ export declare type BryntumGridBaseProps = {
|
|
|
175
164
|
onBeforeCellEditStart?: ((event: {
|
|
176
165
|
source: Grid;
|
|
177
166
|
editorContext: CellEditorContext;
|
|
178
|
-
}) =>
|
|
167
|
+
}) => boolean | void) | string;
|
|
179
168
|
onBeforeCellRangeDelete?: ((event: {
|
|
180
169
|
source: Grid;
|
|
181
170
|
gridSelection: (GridLocation | Model)[];
|
|
182
|
-
}) =>
|
|
171
|
+
}) => boolean | void) | string;
|
|
183
172
|
onBeforeCellRangeEdit?: ((event: {
|
|
184
173
|
record: Model;
|
|
185
174
|
field: string;
|
|
186
175
|
value: any;
|
|
187
|
-
}) =>
|
|
176
|
+
}) => boolean | void) | string;
|
|
188
177
|
onBeforeColumnCollapseToggle?: ((event: {
|
|
189
178
|
source: GridBase;
|
|
190
179
|
column: Column;
|
|
@@ -194,7 +183,7 @@ export declare type BryntumGridBaseProps = {
|
|
|
194
183
|
source: Grid;
|
|
195
184
|
column: Column;
|
|
196
185
|
event: Event;
|
|
197
|
-
}) =>
|
|
186
|
+
}) => boolean | void) | string;
|
|
198
187
|
onBeforeColumnDropFinalize?: ((event: {
|
|
199
188
|
source: Grid;
|
|
200
189
|
column: Column;
|
|
@@ -202,12 +191,12 @@ export declare type BryntumGridBaseProps = {
|
|
|
202
191
|
newParent: Column;
|
|
203
192
|
event: Event;
|
|
204
193
|
region: string;
|
|
205
|
-
}) =>
|
|
194
|
+
}) => boolean | void) | string;
|
|
206
195
|
onBeforeColumnResize?: ((event: {
|
|
207
196
|
source: Grid;
|
|
208
197
|
column: Column;
|
|
209
198
|
domEvent: Event;
|
|
210
|
-
}) =>
|
|
199
|
+
}) => boolean | void) | string;
|
|
211
200
|
onBeforeCopy?: ((event: {
|
|
212
201
|
source: Grid;
|
|
213
202
|
cells: GridLocation[];
|
|
@@ -221,7 +210,7 @@ export declare type BryntumGridBaseProps = {
|
|
|
221
210
|
rows: Model[];
|
|
222
211
|
lineDelimiter: string;
|
|
223
212
|
columnDelimiter: string;
|
|
224
|
-
}) =>
|
|
213
|
+
}) => boolean | void) | string;
|
|
225
214
|
onBeforeDestroy?: ((event: {
|
|
226
215
|
source: Base;
|
|
227
216
|
}) => void) | string;
|
|
@@ -229,11 +218,11 @@ export declare type BryntumGridBaseProps = {
|
|
|
229
218
|
config: ExportConfig;
|
|
230
219
|
columns: XLSColumn[];
|
|
231
220
|
rows: any[];
|
|
232
|
-
}) =>
|
|
221
|
+
}) => boolean | void) | string;
|
|
233
222
|
onBeforeFillHandleDragStart?: ((event: {
|
|
234
223
|
cell: GridLocation;
|
|
235
224
|
domEvent: MouseEvent;
|
|
236
|
-
}) =>
|
|
225
|
+
}) => boolean | void) | string;
|
|
237
226
|
onBeforeFinishCellEdit?: ((event: {
|
|
238
227
|
grid: Grid;
|
|
239
228
|
editorContext: CellEditorContext;
|
|
@@ -244,7 +233,7 @@ export declare type BryntumGridBaseProps = {
|
|
|
244
233
|
}) => Promise<boolean> | boolean | void) | string;
|
|
245
234
|
onBeforeHide?: ((event: {
|
|
246
235
|
source: Widget;
|
|
247
|
-
}) =>
|
|
236
|
+
}) => boolean | void) | string;
|
|
248
237
|
onBeforePaste?: ((event: {
|
|
249
238
|
source: Grid;
|
|
250
239
|
clipboardData: string;
|
|
@@ -254,7 +243,7 @@ export declare type BryntumGridBaseProps = {
|
|
|
254
243
|
}) => Promise<boolean> | boolean | void) | string;
|
|
255
244
|
onBeforePdfExport?: ((event: {
|
|
256
245
|
config: PdfExportConfig;
|
|
257
|
-
}) =>
|
|
246
|
+
}) => boolean | void) | string;
|
|
258
247
|
onBeforeRenderRow?: ((event: {
|
|
259
248
|
source: GridBase;
|
|
260
249
|
row: Row;
|
|
@@ -280,7 +269,7 @@ export declare type BryntumGridBaseProps = {
|
|
|
280
269
|
deselectedCells: GridLocation[];
|
|
281
270
|
selectedCells: GridLocation[];
|
|
282
271
|
cellSelection: GridLocation[];
|
|
283
|
-
}) =>
|
|
272
|
+
}) => boolean | void) | string;
|
|
284
273
|
onBeforeSetRecord?: ((event: {
|
|
285
274
|
source: Container;
|
|
286
275
|
record: Model;
|
|
@@ -291,19 +280,19 @@ export declare type BryntumGridBaseProps = {
|
|
|
291
280
|
onBeforeStartRowEdit?: ((event: {
|
|
292
281
|
source: Grid;
|
|
293
282
|
editorContext: RowEditorContext;
|
|
294
|
-
}) =>
|
|
283
|
+
}) => boolean | void) | string;
|
|
295
284
|
onBeforeStateApply?: ((event: {
|
|
296
285
|
state: GridStateInfo;
|
|
297
|
-
}) =>
|
|
286
|
+
}) => boolean | void) | string;
|
|
298
287
|
onBeforeStateSave?: ((event: {
|
|
299
288
|
state: GridStateInfo;
|
|
300
|
-
}) =>
|
|
289
|
+
}) => boolean | void) | string;
|
|
301
290
|
onBeforeToggleGroup?: ((event: {
|
|
302
291
|
groupRecord: Model;
|
|
303
292
|
groupRecords: Model[];
|
|
304
293
|
collapse: boolean;
|
|
305
294
|
domEvent: Event;
|
|
306
|
-
}) =>
|
|
295
|
+
}) => boolean | void) | string;
|
|
307
296
|
onBeforeToggleNode?: ((event: {
|
|
308
297
|
source: Grid;
|
|
309
298
|
record: Model;
|
|
@@ -348,7 +337,7 @@ export declare type BryntumGridBaseProps = {
|
|
|
348
337
|
items: Record<string, MenuItemEntry>;
|
|
349
338
|
column: Column;
|
|
350
339
|
record: Model;
|
|
351
|
-
}) =>
|
|
340
|
+
}) => boolean | void) | string;
|
|
352
341
|
onCellMenuItem?: ((event: {
|
|
353
342
|
source: Grid;
|
|
354
343
|
menu: Menu;
|
|
@@ -435,7 +424,7 @@ export declare type BryntumGridBaseProps = {
|
|
|
435
424
|
valid: boolean;
|
|
436
425
|
event: Event;
|
|
437
426
|
region: string;
|
|
438
|
-
}) =>
|
|
427
|
+
}) => boolean | void) | string;
|
|
439
428
|
onColumnResize?: ((event: {
|
|
440
429
|
source: Grid;
|
|
441
430
|
column: Column;
|
|
@@ -518,7 +507,7 @@ export declare type BryntumGridBaseProps = {
|
|
|
518
507
|
onFillHandleDragStart?: ((event: {
|
|
519
508
|
cell: GridLocation;
|
|
520
509
|
domEvent: MouseEvent;
|
|
521
|
-
}) =>
|
|
510
|
+
}) => boolean | void) | string;
|
|
522
511
|
onFinishCellEdit?: ((event: {
|
|
523
512
|
grid: Grid;
|
|
524
513
|
editorContext: CellEditorContext;
|
|
@@ -549,7 +538,7 @@ export declare type BryntumGridBaseProps = {
|
|
|
549
538
|
records: Model[];
|
|
550
539
|
};
|
|
551
540
|
event: MouseEvent | TouchEvent;
|
|
552
|
-
}) =>
|
|
541
|
+
}) => boolean | void) | string;
|
|
553
542
|
onGridRowBeforeDropFinalize?: ((event: {
|
|
554
543
|
source: GridBase;
|
|
555
544
|
context: {
|
|
@@ -599,13 +588,13 @@ export declare type BryntumGridBaseProps = {
|
|
|
599
588
|
onHeaderClick?: ((event: {
|
|
600
589
|
domEvent: Event;
|
|
601
590
|
column: Column;
|
|
602
|
-
}) =>
|
|
591
|
+
}) => boolean | void) | string;
|
|
603
592
|
onHeaderMenuBeforeShow?: ((event: {
|
|
604
593
|
source: Grid;
|
|
605
594
|
menu: Menu;
|
|
606
595
|
items: Record<string, MenuItemEntry>;
|
|
607
596
|
column: Column;
|
|
608
|
-
}) =>
|
|
597
|
+
}) => boolean | void) | string;
|
|
609
598
|
onHeaderMenuItem?: ((event: {
|
|
610
599
|
source: Grid;
|
|
611
600
|
menu: Menu;
|
|
@@ -734,7 +723,7 @@ export declare type BryntumGridBaseProps = {
|
|
|
734
723
|
source: Grid;
|
|
735
724
|
subGrid: SubGrid;
|
|
736
725
|
domEvent: Event;
|
|
737
|
-
}) =>
|
|
726
|
+
}) => boolean | void) | string;
|
|
738
727
|
onSplitterDragEnd?: ((event: {
|
|
739
728
|
source: Grid;
|
|
740
729
|
subGrid: SubGrid;
|
|
@@ -749,7 +738,7 @@ export declare type BryntumGridBaseProps = {
|
|
|
749
738
|
source: Grid;
|
|
750
739
|
subGrid: SubGrid;
|
|
751
740
|
domEvent: Event;
|
|
752
|
-
}) =>
|
|
741
|
+
}) => boolean | void) | string;
|
|
753
742
|
onStartCellEdit?: ((event: {
|
|
754
743
|
source: Grid;
|
|
755
744
|
editorContext: CellEditorContext;
|
package/lib/BryntumGridBase.js
CHANGED
|
@@ -133,6 +133,7 @@ BryntumGridBase.configNames = [
|
|
|
133
133
|
'resizeToFitIncludesHeader',
|
|
134
134
|
'responsiveLevels',
|
|
135
135
|
'ripple',
|
|
136
|
+
'role',
|
|
136
137
|
'rootElement',
|
|
137
138
|
'scrollerClass',
|
|
138
139
|
'scrollManager',
|
|
@@ -179,6 +180,7 @@ BryntumGridBase.propertyConfigNames = [
|
|
|
179
180
|
'insertFirst',
|
|
180
181
|
'keyMap',
|
|
181
182
|
'labelPosition',
|
|
183
|
+
'labelWidth',
|
|
182
184
|
'longPressTime',
|
|
183
185
|
'margin',
|
|
184
186
|
'maxHeight',
|
|
@@ -322,8 +324,6 @@ BryntumGridBase.propertyConfigNames = [
|
|
|
322
324
|
'width'
|
|
323
325
|
];
|
|
324
326
|
BryntumGridBase.propertyNames = [
|
|
325
|
-
'focusVisible',
|
|
326
|
-
'hasChanges',
|
|
327
327
|
'originalStore',
|
|
328
328
|
'parent',
|
|
329
329
|
'selectedCell',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BryntumGridBase.js","sourceRoot":"","sources":["../src/BryntumGridBase.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAgqB,QAAQ,EAA80B,MAAM,oBAAoB,CAAC;AAExhD,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"BryntumGridBase.js","sourceRoot":"","sources":["../src/BryntumGridBase.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAgqB,QAAQ,EAA80B,MAAM,oBAAoB,CAAC;AAExhD,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AA46D/F,MAAM,OAAO,eAAgB,SAAQ,KAAK,CAAC,SAA+B;IAA1E;;QAMI,yBAAoB,GAAG,oBAAoB,CAAC;QAS5C,yBAAoB,GAAG,0BAA0B,CAAC;QAElD,UAAK,GAAG;YAEJ,OAAO,EAAG,IAAI,GAAG,EAAE;YAGnB,UAAU,EAAG,CAAC;SACjB,CAAC;QA8CF,kBAAa,GAAG,KAAK,CAAC;QAEtB,eAAU,GAAG;YACT,eAAe,EAAE,WAAW;SAC/B,CAAC;IA4SN,CAAC;IAjCG,iBAAiB;QACb,IAAI,CAAC,QAAQ,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;IACvC,CAAC;IAED,oBAAoB;;QAEhB,MAAA,MAAA,IAAI,CAAC,QAAQ,0CAAE,OAAO,kDAAI,CAAC;IAC/B,CAAC;IASD,qBAA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Z,0BAA0B;IAC1B,6BAA6B;IAC7B,eAAe;IACf,oBAAoB;IACpB,oBAAoB;IACpB,eAAe;IACf,eAAe;IACf,wBAAwB;IACxB,kBAAkB;IAClB,kBAAkB;IAClB,wBAAwB;IACxB,QAAQ;IACR,YAAY;IACZ,YAAY;IACZ,aAAa;IACb,SAAS;IACT,SAAS;IACT,aAAa;IACb,YAAY;IACZ,aAAa;IACb,aAAa;IACb,cAAc;IACd,UAAU;IACV,cAAc;IACd,eAAe;IACf,aAAa;IACb,iBAAiB;IACjB,iBAAiB;IACjB,UAAU;IACV,mBAAmB;IACnB,uBAAuB;IACvB,QAAQ;IACR,SAAS;IACT,yBAAyB;IACzB,mBAAmB;IACnB,qBAAqB;IACrB,uBAAuB;IACvB,iBAAiB;IACjB,gBAAgB;IAChB,mBAAmB;IACnB,iBAAiB;IACjB,eAAe;IACf,cAAc;IACd,aAAa;IACb,aAAa;IACb,cAAc;IACd,WAAW;IACX,gBAAgB;IAChB,UAAU;IACV,WAAW;IACX,WAAW;IACX,UAAU;IACV,KAAK;IACL,YAAY;IACZ,eAAe;IACf,MAAM;IACN,eAAe;IACf,OAAO;IACP,OAAO;IACP,OAAO;IACP,YAAY;IACZ,oBAAoB;IACpB,OAAO;CACV,CAAC;AAEK,6BAAa,GAAG;IACnB,eAAe;IACf,QAAQ;IACR,cAAc;IACd,eAAe;IACf,gBAAgB;IAChB,iBAAiB;IACjB,cAAc;IACd,OAAO;IACP,SAAS;CACZ,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { AlignSpec, Base, Color, DomConfig, KeyMapConfig, MaskConfig, Rectangle, Scroller, ScrollerConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
2
|
+
import { AlignSpec, Base, Color, DomConfig, KeyMapConfig, MaskConfig, ReactJSX, Rectangle, Scroller, ScrollerConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
3
3
|
import { Grid, GridChartDesigner, GridChartDesignerListeners } from '@bryntum/grid-thin';
|
|
4
4
|
import { processWidgetContent } from './WrapperHelper.js';
|
|
5
5
|
export declare type BryntumGridChartDesignerProps = {
|
|
@@ -27,9 +27,7 @@ export declare type BryntumGridChartDesignerProps = {
|
|
|
27
27
|
detectCSSCompatibilityIssues?: boolean;
|
|
28
28
|
disabled?: boolean | 'inert';
|
|
29
29
|
dock?: 'top' | 'bottom' | 'left' | 'right' | 'start' | 'end' | 'header' | 'pre-header' | object;
|
|
30
|
-
draggable?: boolean |
|
|
31
|
-
handleSelector?: string;
|
|
32
|
-
};
|
|
30
|
+
draggable?: boolean | object;
|
|
33
31
|
elementAttributes?: Record<string, string | null>;
|
|
34
32
|
extraData?: any;
|
|
35
33
|
flex?: number | string;
|
|
@@ -38,7 +36,7 @@ export declare type BryntumGridChartDesignerProps = {
|
|
|
38
36
|
height?: string | number;
|
|
39
37
|
hidden?: boolean;
|
|
40
38
|
hideAnimation?: boolean | object;
|
|
41
|
-
html?: string | ((widget: Widget) =>
|
|
39
|
+
html?: string | ((widget: Widget) => void) | DomConfig | DomConfig[] | VueConfig | ReactJSX;
|
|
42
40
|
htmlCls?: string | object;
|
|
43
41
|
id?: string;
|
|
44
42
|
ignoreParentReadOnly?: boolean;
|
|
@@ -57,19 +55,13 @@ export declare type BryntumGridChartDesignerProps = {
|
|
|
57
55
|
maxWidth?: string | number;
|
|
58
56
|
minHeight?: string | number;
|
|
59
57
|
minWidth?: string | number;
|
|
60
|
-
monitorResize?: boolean |
|
|
61
|
-
immediate?: boolean;
|
|
62
|
-
};
|
|
58
|
+
monitorResize?: boolean | object;
|
|
63
59
|
positioned?: boolean;
|
|
64
60
|
preventTooltipOnTouch?: boolean;
|
|
65
61
|
readOnly?: boolean;
|
|
66
62
|
relayStoreEvents?: boolean;
|
|
67
|
-
ripple?: boolean |
|
|
68
|
-
|
|
69
|
-
color?: string;
|
|
70
|
-
radius?: number;
|
|
71
|
-
clip?: string;
|
|
72
|
-
};
|
|
63
|
+
ripple?: boolean | object;
|
|
64
|
+
role?: string;
|
|
73
65
|
rootElement?: ShadowRoot | HTMLElement;
|
|
74
66
|
rtl?: boolean;
|
|
75
67
|
scrollable?: boolean | ScrollerConfig | Scroller;
|
|
@@ -94,7 +86,7 @@ export declare type BryntumGridChartDesignerProps = {
|
|
|
94
86
|
}) => void) | string;
|
|
95
87
|
onBeforeHide?: ((event: {
|
|
96
88
|
source: Widget;
|
|
97
|
-
}) =>
|
|
89
|
+
}) => boolean | void) | string;
|
|
98
90
|
onBeforeShow?: ((event: {
|
|
99
91
|
source: Widget | any;
|
|
100
92
|
}) => Promise<boolean> | boolean | void) | string;
|
|
@@ -57,6 +57,7 @@ BryntumGridChartDesigner.configNames = [
|
|
|
57
57
|
'preventTooltipOnTouch',
|
|
58
58
|
'relayStoreEvents',
|
|
59
59
|
'ripple',
|
|
60
|
+
'role',
|
|
60
61
|
'rootElement',
|
|
61
62
|
'scrollAction',
|
|
62
63
|
'showAnimation',
|
|
@@ -119,8 +120,6 @@ BryntumGridChartDesigner.propertyConfigNames = [
|
|
|
119
120
|
'y'
|
|
120
121
|
];
|
|
121
122
|
BryntumGridChartDesigner.propertyNames = [
|
|
122
|
-
'anchorSize',
|
|
123
|
-
'focusVisible',
|
|
124
123
|
'parent'
|
|
125
124
|
];
|
|
126
125
|
//# sourceMappingURL=BryntumGridChartDesigner.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BryntumGridChartDesigner.js","sourceRoot":"","sources":["../src/BryntumGridChartDesigner.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAQ,iBAAiB,EAA8B,MAAM,oBAAoB,CAAC;AAEzF,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"BryntumGridChartDesigner.js","sourceRoot":"","s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Aa;IACb,uBAAuB;IACvB,cAAc;IACd,QAAQ;IACR,eAAe;IACf,YAAY;IACZ,uBAAuB;IACvB,kBAAkB;IAClB,QAAQ;IACR,MAAM;IACN,aAAa;IACb,cAAc;IACd,eAAe;IACf,yBAAyB;IACzB,MAAM;IACN,KAAK;IACL,KAAK;IACL,WAAW;IACX,OAAO;IACP,MAAM;IACN,IAAI;IACJ,QAAQ;CACX,CAAC;AAEK,4CAAmB,GAAG;IACzB,WAAW;IACX,UAAU;IACV,iBAAiB;IACjB,6BAA6B;IAC7B,KAAK;IACL,QAAQ;IACR,SAAS;IACT,SAAS;IACT,UAAU;IACV,WAAW;IACX,MAAM;IACN,QAAQ;IACR,QAAQ;IACR,MAAM;IACN,IAAI;IACJ,cAAc;IACd,aAAa;IACb,QAAQ;IACR,QAAQ;IACR,WAAW;IACX,kBAAkB;IAClB,UAAU;IACV,WAAW;IACX,UAAU;IACV,iBAAiB;IACjB,cAAc;IACd,cAAc;IACd,YAAY;IACZ,WAAW;IACX,kBAAkB;IAClB,WAAW;IACX,YAAY;IACZ,QAAQ;IACR,SAAS;IACT,YAAY;IACZ,aAAa;IACb,UAAU;IACV,QAAQ;IACR,UAAU;IACV,KAAK;IACL,YAAY;IACZ,MAAM;IACN,SAAS;IACT,OAAO;IACP,GAAG;IACH,GAAG;CACN,CAAC;AAEK,sCAAa,GAAG;IACnB,QAAQ;CACX,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { AlignSpec, Base, CollectionFilter, CollectionFilterConfig, Color, ComboConfig, Container, DomConfig, FieldFilterPicker, FieldOption, KeyMapConfig, MaskConfig, MenuItemEntry, Model, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, ValueFieldPlaceholders, VueConfig, Widget } from '@bryntum/core-thin';
|
|
2
|
+
import { AlignSpec, Base, CollectionFilter, CollectionFilterConfig, Color, ComboConfig, Container, DomConfig, FieldFilterPicker, FieldOption, KeyMapConfig, MaskConfig, MenuItemEntry, Model, ReactJSX, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, ValueFieldPlaceholders, VueConfig, Widget } from '@bryntum/core-thin';
|
|
3
3
|
import { GridContainerItemConfig, GridContainerLayoutConfig, Grid, GridFieldFilterPicker, GridFieldFilterPickerListeners } from '@bryntum/grid-thin';
|
|
4
4
|
import { processWidgetContent } from './WrapperHelper.js';
|
|
5
5
|
export declare type BryntumGridFieldFilterPickerProps = {
|
|
@@ -33,9 +33,7 @@ export declare type BryntumGridFieldFilterPickerProps = {
|
|
|
33
33
|
detectCSSCompatibilityIssues?: boolean;
|
|
34
34
|
disabled?: boolean;
|
|
35
35
|
dock?: 'top' | 'bottom' | 'left' | 'right' | 'start' | 'end' | 'header' | 'pre-header' | object;
|
|
36
|
-
draggable?: boolean |
|
|
37
|
-
handleSelector?: string;
|
|
38
|
-
};
|
|
36
|
+
draggable?: boolean | object;
|
|
39
37
|
elementAttributes?: Record<string, string | null>;
|
|
40
38
|
extraData?: any;
|
|
41
39
|
fields?: Record<string, FieldOption>;
|
|
@@ -48,7 +46,7 @@ export declare type BryntumGridFieldFilterPickerProps = {
|
|
|
48
46
|
hidden?: boolean;
|
|
49
47
|
hideAnimation?: boolean | object;
|
|
50
48
|
hideWhenEmpty?: boolean;
|
|
51
|
-
html?: string | ((widget: Widget) =>
|
|
49
|
+
html?: string | ((widget: Widget) => void) | DomConfig | DomConfig[] | VueConfig | ReactJSX;
|
|
52
50
|
htmlCls?: string | object;
|
|
53
51
|
id?: string;
|
|
54
52
|
ignoreParentReadOnly?: boolean;
|
|
@@ -59,6 +57,7 @@ export declare type BryntumGridFieldFilterPickerProps = {
|
|
|
59
57
|
items?: Record<string, GridContainerItemConfig | MenuItemEntry> | (GridContainerItemConfig | MenuItemEntry | Widget)[];
|
|
60
58
|
keyMap?: Record<string, KeyMapConfig>;
|
|
61
59
|
labelPosition?: 'before' | 'above' | 'align-before' | 'auto' | null;
|
|
60
|
+
labelWidth?: number | null;
|
|
62
61
|
layout?: string | GridContainerLayoutConfig;
|
|
63
62
|
layoutStyle?: object;
|
|
64
63
|
lazyItems?: Record<string, GridContainerItemConfig> | GridContainerItemConfig[] | Widget[];
|
|
@@ -74,9 +73,7 @@ export declare type BryntumGridFieldFilterPickerProps = {
|
|
|
74
73
|
maxWidth?: string | number;
|
|
75
74
|
minHeight?: string | number;
|
|
76
75
|
minWidth?: string | number;
|
|
77
|
-
monitorResize?: boolean |
|
|
78
|
-
immediate?: boolean;
|
|
79
|
-
};
|
|
76
|
+
monitorResize?: boolean | object;
|
|
80
77
|
namedItems?: Record<string, GridContainerItemConfig>;
|
|
81
78
|
operatorLocked?: boolean;
|
|
82
79
|
operators?: object;
|
|
@@ -88,12 +85,8 @@ export declare type BryntumGridFieldFilterPickerProps = {
|
|
|
88
85
|
record?: Model;
|
|
89
86
|
relayStoreEvents?: boolean;
|
|
90
87
|
rendition?: string | Record<string, string> | null;
|
|
91
|
-
ripple?: boolean |
|
|
92
|
-
|
|
93
|
-
color?: string;
|
|
94
|
-
radius?: number;
|
|
95
|
-
clip?: string;
|
|
96
|
-
};
|
|
88
|
+
ripple?: boolean | object;
|
|
89
|
+
role?: string;
|
|
97
90
|
rootElement?: ShadowRoot | HTMLElement;
|
|
98
91
|
rtl?: boolean;
|
|
99
92
|
scrollable?: boolean | ScrollerConfig | Scroller;
|
|
@@ -123,7 +116,7 @@ export declare type BryntumGridFieldFilterPickerProps = {
|
|
|
123
116
|
}) => void) | string;
|
|
124
117
|
onBeforeHide?: ((event: {
|
|
125
118
|
source: Widget;
|
|
126
|
-
}) =>
|
|
119
|
+
}) => boolean | void) | string;
|
|
127
120
|
onBeforeSetRecord?: ((event: {
|
|
128
121
|
source: Container;
|
|
129
122
|
record: Model;
|
|
@@ -74,6 +74,7 @@ BryntumGridFieldFilterPicker.configNames = [
|
|
|
74
74
|
'propertyLocked',
|
|
75
75
|
'relayStoreEvents',
|
|
76
76
|
'ripple',
|
|
77
|
+
'role',
|
|
77
78
|
'rootElement',
|
|
78
79
|
'scrollAction',
|
|
79
80
|
'showAnimation',
|
|
@@ -113,6 +114,7 @@ BryntumGridFieldFilterPicker.propertyConfigNames = [
|
|
|
113
114
|
'items',
|
|
114
115
|
'keyMap',
|
|
115
116
|
'labelPosition',
|
|
117
|
+
'labelWidth',
|
|
116
118
|
'layout',
|
|
117
119
|
'layoutStyle',
|
|
118
120
|
'margin',
|
|
@@ -151,11 +153,6 @@ BryntumGridFieldFilterPicker.propertyConfigNames = [
|
|
|
151
153
|
'y'
|
|
152
154
|
];
|
|
153
155
|
BryntumGridFieldFilterPicker.propertyNames = [
|
|
154
|
-
'anchorSize',
|
|
155
|
-
'focusVisible',
|
|
156
|
-
'hasChanges',
|
|
157
|
-
'isSettingValues',
|
|
158
|
-
'isValid',
|
|
159
156
|
'parent',
|
|
160
157
|
'values'
|
|
161
158
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BryntumGridFieldFilterPicker.js","sourceRoot":"","sources":["../src/BryntumGridFieldFilterPicker.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAA4D,qBAAqB,EAAkC,MAAM,oBAAoB,CAAC;AAErJ,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"BryntumGridFieldFilterPicker.js","sourceRoot":"","sources":["../src/BryntumGridFieldFilterPicker.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAA4D,qBAAqB,EAAkC,MAAM,oBAAoB,CAAC;AAErJ,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AA4sB/F,MAAM,OAAO,4BAA6B,SAAQ,KAAK,CAAC,SAA4C;IAApG;;QAMI,yBAAoB,GAAG,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B;IAClB,QAAQ;IACR,MAAM;IACN,aAAa;IACb,cAAc;IACd,eAAe;IACf,yBAAyB;IACzB,KAAK;IACL,aAAa;IACb,KAAK;IACL,WAAW;IACX,aAAa;IACb,OAAO;IACP,sBAAsB;IACtB,MAAM;IACN,IAAI;IACJ,wBAAwB;IACxB,aAAa;IACb,QAAQ;CACX,CAAC;AAEK,gDAAmB,GAAG;IACzB,WAAW;IACX,UAAU;IACV,iBAAiB;IACjB,6BAA6B;IAC7B,KAAK;IACL,QAAQ;IACR,SAAS;IACT,SAAS;IACT,UAAU;IACV,WAAW;IACX,MAAM;IACN,QAAQ;IACR,QAAQ;IACR,MAAM;IACN,IAAI;IACJ,iBAAiB;IACjB,cAAc;IACd,aAAa;IACb,OAAO;IACP,QAAQ;IACR,eAAe;IACf,YAAY;IACZ,QAAQ;IACR,aAAa;IACb,QAAQ;IACR,WAAW;IACX,kBAAkB;IAClB,UAAU;IACV,WAAW;IACX,UAAU;IACV,iBAAiB;IACjB,cAAc;IACd,mBAAmB;IACnB,cAAc;IACd,YAAY;IACZ,UAAU;IACV,WAAW;IACX,oBAAoB;IACpB,kBAAkB;IAClB,WAAW;IACX,YAAY;IACZ,QAAQ;IACR,SAAS;IACT,YAAY;IACZ,aAAa;IACb,UAAU;IACV,QAAQ;IACR,UAAU;IACV,QAAQ;IACR,WAAW;IACX,KAAK;IACL,YAAY;IACZ,MAAM;IACN,qBAAqB;IACrB,SAAS;IACT,OAAO;IACP,GAAG;IACH,GAAG;CACN,CAAC;AAEK,0CAAa,GAAG;IACnB,QAAQ;IACR,QAAQ;CACX,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { AlignSpec, Base, CollectionFilterConfig, Color, Container, DomConfig, FieldFilterPicker, FieldFilterPickerConfig, FieldFilterPickerGroup, KeyMapConfig, MaskConfig, MenuItemEntry, Model, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
2
|
+
import { AlignSpec, Base, CollectionFilterConfig, Color, Container, DomConfig, FieldFilterPicker, FieldFilterPickerConfig, FieldFilterPickerGroup, KeyMapConfig, MaskConfig, MenuItemEntry, Model, ReactJSX, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
3
3
|
import { GridContainerItemConfig, GridContainerLayoutConfig, Grid, GridFieldFilterPickerGroup, GridFieldFilterPickerGroupListeners } from '@bryntum/grid-thin';
|
|
4
4
|
import { processWidgetContent } from './WrapperHelper.js';
|
|
5
5
|
export declare type BryntumGridFieldFilterPickerGroupProps = {
|
|
@@ -36,9 +36,7 @@ export declare type BryntumGridFieldFilterPickerGroupProps = {
|
|
|
36
36
|
detectCSSCompatibilityIssues?: boolean;
|
|
37
37
|
disabled?: boolean;
|
|
38
38
|
dock?: 'top' | 'bottom' | 'left' | 'right' | 'start' | 'end' | 'header' | 'pre-header' | object;
|
|
39
|
-
draggable?: boolean |
|
|
40
|
-
handleSelector?: string;
|
|
41
|
-
};
|
|
39
|
+
draggable?: boolean | object;
|
|
42
40
|
elementAttributes?: Record<string, string | null>;
|
|
43
41
|
extraData?: any;
|
|
44
42
|
filters?: CollectionFilterConfig[];
|
|
@@ -50,7 +48,7 @@ export declare type BryntumGridFieldFilterPickerGroupProps = {
|
|
|
50
48
|
hidden?: boolean;
|
|
51
49
|
hideAnimation?: boolean | object;
|
|
52
50
|
hideWhenEmpty?: boolean;
|
|
53
|
-
html?: string | ((widget: Widget) =>
|
|
51
|
+
html?: string | ((widget: Widget) => void) | DomConfig | DomConfig[] | VueConfig | ReactJSX;
|
|
54
52
|
htmlCls?: string | object;
|
|
55
53
|
id?: string;
|
|
56
54
|
ignoreParentReadOnly?: boolean;
|
|
@@ -61,6 +59,7 @@ export declare type BryntumGridFieldFilterPickerGroupProps = {
|
|
|
61
59
|
items?: Record<string, GridContainerItemConfig | MenuItemEntry> | (GridContainerItemConfig | MenuItemEntry | Widget)[];
|
|
62
60
|
keyMap?: Record<string, KeyMapConfig>;
|
|
63
61
|
labelPosition?: 'before' | 'above' | 'align-before' | 'auto' | null;
|
|
62
|
+
labelWidth?: number | null;
|
|
64
63
|
layout?: string | GridContainerLayoutConfig;
|
|
65
64
|
layoutStyle?: object;
|
|
66
65
|
lazyItems?: Record<string, GridContainerItemConfig> | GridContainerItemConfig[] | Widget[];
|
|
@@ -77,9 +76,7 @@ export declare type BryntumGridFieldFilterPickerGroupProps = {
|
|
|
77
76
|
maxWidth?: string | number;
|
|
78
77
|
minHeight?: string | number;
|
|
79
78
|
minWidth?: string | number;
|
|
80
|
-
monitorResize?: boolean |
|
|
81
|
-
immediate?: boolean;
|
|
82
|
-
};
|
|
79
|
+
monitorResize?: boolean | object;
|
|
83
80
|
namedItems?: Record<string, GridContainerItemConfig>;
|
|
84
81
|
operators?: object;
|
|
85
82
|
positioned?: boolean;
|
|
@@ -88,12 +85,8 @@ export declare type BryntumGridFieldFilterPickerGroupProps = {
|
|
|
88
85
|
record?: Model;
|
|
89
86
|
relayStoreEvents?: boolean;
|
|
90
87
|
rendition?: string | Record<string, string> | null;
|
|
91
|
-
ripple?: boolean |
|
|
92
|
-
|
|
93
|
-
color?: string;
|
|
94
|
-
radius?: number;
|
|
95
|
-
clip?: string;
|
|
96
|
-
};
|
|
88
|
+
ripple?: boolean | object;
|
|
89
|
+
role?: string;
|
|
97
90
|
rootElement?: ShadowRoot | HTMLElement;
|
|
98
91
|
rtl?: boolean;
|
|
99
92
|
scrollable?: boolean | ScrollerConfig | Scroller;
|
|
@@ -120,13 +113,13 @@ export declare type BryntumGridFieldFilterPickerGroupProps = {
|
|
|
120
113
|
onBeforeAddFilter?: ((event: {
|
|
121
114
|
source: FieldFilterPicker;
|
|
122
115
|
filter: CollectionFilterConfig;
|
|
123
|
-
}) =>
|
|
116
|
+
}) => boolean | void) | string;
|
|
124
117
|
onBeforeDestroy?: ((event: {
|
|
125
118
|
source: Base;
|
|
126
119
|
}) => void) | string;
|
|
127
120
|
onBeforeHide?: ((event: {
|
|
128
121
|
source: Widget;
|
|
129
|
-
}) =>
|
|
122
|
+
}) => boolean | void) | string;
|
|
130
123
|
onBeforeSetRecord?: ((event: {
|
|
131
124
|
source: Container;
|
|
132
125
|
record: Model;
|
|
@@ -74,6 +74,7 @@ BryntumGridFieldFilterPickerGroup.configNames = [
|
|
|
74
74
|
'preventTooltipOnTouch',
|
|
75
75
|
'relayStoreEvents',
|
|
76
76
|
'ripple',
|
|
77
|
+
'role',
|
|
77
78
|
'rootElement',
|
|
78
79
|
'scrollAction',
|
|
79
80
|
'showAddFilterButton',
|
|
@@ -112,6 +113,7 @@ BryntumGridFieldFilterPickerGroup.propertyConfigNames = [
|
|
|
112
113
|
'items',
|
|
113
114
|
'keyMap',
|
|
114
115
|
'labelPosition',
|
|
116
|
+
'labelWidth',
|
|
115
117
|
'layout',
|
|
116
118
|
'layoutStyle',
|
|
117
119
|
'margin',
|
|
@@ -151,11 +153,6 @@ BryntumGridFieldFilterPickerGroup.propertyConfigNames = [
|
|
|
151
153
|
'y'
|
|
152
154
|
];
|
|
153
155
|
BryntumGridFieldFilterPickerGroup.propertyNames = [
|
|
154
|
-
'anchorSize',
|
|
155
|
-
'focusVisible',
|
|
156
|
-
'hasChanges',
|
|
157
|
-
'isSettingValues',
|
|
158
|
-
'isValid',
|
|
159
156
|
'parent',
|
|
160
157
|
'value',
|
|
161
158
|
'values'
|