@bryntum/grid-react-thin 7.3.0 → 7.3.2
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 +2 -1
- package/lib/BryntumAIFilterField.js +1 -0
- package/lib/BryntumAIFilterField.js.map +1 -1
- package/lib/BryntumChecklistFilterCombo.d.ts +2 -1
- package/lib/BryntumChecklistFilterCombo.js +1 -0
- package/lib/BryntumChecklistFilterCombo.js.map +1 -1
- package/lib/BryntumGrid.d.ts +25 -25
- package/lib/BryntumGrid.js.map +1 -1
- package/lib/BryntumGridBase.d.ts +25 -25
- package/lib/BryntumGridBase.js.map +1 -1
- package/lib/BryntumGridChartDesigner.d.ts +1 -1
- package/lib/BryntumGridChartDesigner.js.map +1 -1
- package/lib/BryntumGridFieldFilterPicker.d.ts +1 -1
- package/lib/BryntumGridFieldFilterPicker.js.map +1 -1
- package/lib/BryntumGridFieldFilterPickerGroup.d.ts +2 -2
- package/lib/BryntumGridFieldFilterPickerGroup.js.map +1 -1
- package/lib/BryntumGroupBar.d.ts +3 -3
- package/lib/BryntumGroupBar.js.map +1 -1
- package/lib/BryntumTreeCombo.d.ts +2 -1
- package/lib/BryntumTreeCombo.js +1 -0
- package/lib/BryntumTreeCombo.js.map +1 -1
- package/lib/BryntumTreeGrid.d.ts +25 -25
- package/lib/BryntumTreeGrid.js.map +1 -1
- package/package.json +1 -1
- package/src/BryntumAIFilterField.tsx +17 -1
- package/src/BryntumChecklistFilterCombo.tsx +17 -1
- package/src/BryntumGrid.tsx +31 -25
- package/src/BryntumGridBase.tsx +31 -25
- package/src/BryntumGridChartDesigner.tsx +7 -1
- package/src/BryntumGridFieldFilterPicker.tsx +7 -1
- package/src/BryntumGridFieldFilterPickerGroup.tsx +8 -2
- package/src/BryntumGroupBar.tsx +11 -3
- package/src/BryntumTreeCombo.tsx +17 -1
- package/src/BryntumTreeGrid.tsx +31 -25
package/lib/BryntumGroupBar.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export declare type BryntumGroupBarProps = {
|
|
|
18
18
|
centered?: boolean;
|
|
19
19
|
clearSelectionOnEmptySpaceClick?: boolean;
|
|
20
20
|
closable?: boolean;
|
|
21
|
-
closeHandler?: string | (() => void);
|
|
21
|
+
closeHandler?: string | ((records: Model[], options: object) => void);
|
|
22
22
|
cls?: string | object;
|
|
23
23
|
collapsibleGroups?: boolean;
|
|
24
24
|
color?: Color;
|
|
@@ -106,14 +106,14 @@ export declare type BryntumGroupBarProps = {
|
|
|
106
106
|
}) => void) | string;
|
|
107
107
|
onBeforeHide?: ((event: {
|
|
108
108
|
source: Widget;
|
|
109
|
-
}) =>
|
|
109
|
+
}) => boolean | void) | string;
|
|
110
110
|
onBeforeItem?: ((event: {
|
|
111
111
|
source: List;
|
|
112
112
|
item: HTMLElement;
|
|
113
113
|
record: Model;
|
|
114
114
|
index: number;
|
|
115
115
|
event: Event;
|
|
116
|
-
}) =>
|
|
116
|
+
}) => boolean | void) | string;
|
|
117
117
|
onBeforeShow?: ((event: {
|
|
118
118
|
source: Widget | any;
|
|
119
119
|
}) => Promise<boolean> | boolean | void) | string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BryntumGroupBar.js","sourceRoot":"","sources":["../src/BryntumGroupBar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,QAAQ,EAAqB,MAAM,oBAAoB,CAAC;AAEjE,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"BryntumGroupBar.js","sourceRoot":"","sources":["../src/BryntumGroupBar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,QAAQ,EAAqB,MAAM,oBAAoB,CAAC;AAEjE,OAAO,EAAE,YAAY,EAAE,qBA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BAAuB;IACvB,kBAAkB;IAClB,QAAQ;IACR,MAAM;IACN,aAAa;IACb,cAAc;IACd,eAAe;IACf,eAAe;IACf,yBAAyB;IACzB,KAAK;IACL,KAAK;IACL,WAAW;IACX,iBAAiB;IACjB,MAAM;IACN,IAAI;IACJ,YAAY;IACZ,QAAQ;CACX,CAAC;AAEK,mCAAmB,GAAG;IACzB,WAAW;IACX,kBAAkB;IAClB,UAAU;IACV,iBAAiB;IACjB,6BAA6B;IAC7B,iCAAiC;IACjC,KAAK;IACL,mBAAmB;IACnB,QAAQ;IACR,SAAS;IACT,SAAS;IACT,UAAU;IACV,WAAW;IACX,WAAW;IACX,MAAM;IACN,QAAQ;IACR,QAAQ;IACR,MAAM;IACN,IAAI;IACJ,cAAc;IACd,aAAa;IACb,OAAO;IACP,QAAQ;IACR,QAAQ;IACR,WAAW;IACX,kBAAkB;IAClB,UAAU;IACV,WAAW;IACX,UAAU;IACV,aAAa;IACb,iBAAiB;IACjB,cAAc;IACd,cAAc;IACd,cAAc;IACd,YAAY;IACZ,WAAW;IACX,kBAAkB;IAClB,WAAW;IACX,YAAY;IACZ,QAAQ;IACR,QAAQ;IACR,SAAS;IACT,YAAY;IACZ,aAAa;IACb,UAAU;IACV,mBAAmB;IACnB,QAAQ;IACR,eAAe;IACf,cAAc;IACd,UAAU;IACV,KAAK;IACL,YAAY;IACZ,UAAU;IACV,MAAM;IACN,OAAO;IACP,OAAO;IACP,wBAAwB;IACxB,SAAS;IACT,OAAO;IACP,GAAG;IACH,GAAG;CACN,CAAC;AAEK,6BAAa,GAAG;IACnB,QAAQ;CACX,CAAC"}
|
|
@@ -20,6 +20,7 @@ export declare type BryntumTreeComboProps = {
|
|
|
20
20
|
caseSensitive?: boolean;
|
|
21
21
|
catchEventHandlerExceptions?: boolean;
|
|
22
22
|
centered?: boolean;
|
|
23
|
+
checkValidity?: ((field: Field) => void) | string;
|
|
23
24
|
chipView?: ChipViewConfig;
|
|
24
25
|
clearable?: boolean | FieldTriggerConfig;
|
|
25
26
|
clearTextOnPickerHide?: boolean;
|
|
@@ -163,7 +164,7 @@ export declare type BryntumTreeComboProps = {
|
|
|
163
164
|
}) => void) | string;
|
|
164
165
|
onBeforeHide?: ((event: {
|
|
165
166
|
source: Widget;
|
|
166
|
-
}) =>
|
|
167
|
+
}) => boolean | void) | string;
|
|
167
168
|
onBeforeShow?: ((event: {
|
|
168
169
|
source: Widget | any;
|
|
169
170
|
}) => Promise<boolean> | boolean | void) | string;
|
package/lib/BryntumTreeCombo.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BryntumTreeCombo.js","sourceRoot":"","sources":["../src/BryntumTreeCombo.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAA2B,SAAS,EAAsB,MAAM,oBAAoB,CAAC;AAE5F,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"BryntumTreeCombo.js","sourceRoot":"","sources":["../src/BryntumTreeCombo.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAA2B,SAAS,EAAsB,MAAM,oBAAoB,CAAC;AAE5F,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAq7B/F,MAAM,OAAO,gBAAiB,SAAQ,KAAK,CAAC,SAAgC;IAA5E;;QAMI,yBAAoB,GAAG,oBAAoB,CAAC;IAsNhD,CAAC;IA5BG,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,qBAAqB,CAAC,SAA0C,EAAE,SAAuB;QACrF,OAAO,qBAAqB,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.ts
CHANGED
|
@@ -157,7 +157,7 @@ export declare type BryntumTreeGridProps = {
|
|
|
157
157
|
onBeforeCancelCellEdit?: ((event: {
|
|
158
158
|
source: Grid;
|
|
159
159
|
editorContext: GridLocation;
|
|
160
|
-
}) =>
|
|
160
|
+
}) => boolean | void) | string;
|
|
161
161
|
onBeforeCancelRowEdit?: ((event: {
|
|
162
162
|
grid: Grid;
|
|
163
163
|
editorContext: RowEditorContext;
|
|
@@ -165,16 +165,16 @@ export declare type BryntumTreeGridProps = {
|
|
|
165
165
|
onBeforeCellEditStart?: ((event: {
|
|
166
166
|
source: Grid;
|
|
167
167
|
editorContext: CellEditorContext;
|
|
168
|
-
}) =>
|
|
168
|
+
}) => boolean | void) | string;
|
|
169
169
|
onBeforeCellRangeDelete?: ((event: {
|
|
170
170
|
source: Grid;
|
|
171
171
|
gridSelection: (GridLocation | Model)[];
|
|
172
|
-
}) =>
|
|
172
|
+
}) => boolean | void) | string;
|
|
173
173
|
onBeforeCellRangeEdit?: ((event: {
|
|
174
174
|
record: Model;
|
|
175
175
|
field: string;
|
|
176
176
|
value: any;
|
|
177
|
-
}) =>
|
|
177
|
+
}) => boolean | void) | string;
|
|
178
178
|
onBeforeColumnCollapseToggle?: ((event: {
|
|
179
179
|
source: GridBase;
|
|
180
180
|
column: Column;
|
|
@@ -184,7 +184,7 @@ export declare type BryntumTreeGridProps = {
|
|
|
184
184
|
source: Grid;
|
|
185
185
|
column: Column;
|
|
186
186
|
event: Event;
|
|
187
|
-
}) =>
|
|
187
|
+
}) => boolean | void) | string;
|
|
188
188
|
onBeforeColumnDropFinalize?: ((event: {
|
|
189
189
|
source: Grid;
|
|
190
190
|
column: Column;
|
|
@@ -192,12 +192,12 @@ export declare type BryntumTreeGridProps = {
|
|
|
192
192
|
newParent: Column;
|
|
193
193
|
event: Event;
|
|
194
194
|
region: string;
|
|
195
|
-
}) =>
|
|
195
|
+
}) => boolean | void) | string;
|
|
196
196
|
onBeforeColumnResize?: ((event: {
|
|
197
197
|
source: Grid;
|
|
198
198
|
column: Column;
|
|
199
199
|
domEvent: Event;
|
|
200
|
-
}) =>
|
|
200
|
+
}) => boolean | void) | string;
|
|
201
201
|
onBeforeCopy?: ((event: {
|
|
202
202
|
source: Grid;
|
|
203
203
|
cells: GridLocation[];
|
|
@@ -211,7 +211,7 @@ export declare type BryntumTreeGridProps = {
|
|
|
211
211
|
rows: Model[];
|
|
212
212
|
lineDelimiter: string;
|
|
213
213
|
columnDelimiter: string;
|
|
214
|
-
}) =>
|
|
214
|
+
}) => boolean | void) | string;
|
|
215
215
|
onBeforeDestroy?: ((event: {
|
|
216
216
|
source: Base;
|
|
217
217
|
}) => void) | string;
|
|
@@ -219,11 +219,11 @@ export declare type BryntumTreeGridProps = {
|
|
|
219
219
|
config: ExportConfig;
|
|
220
220
|
columns: XLSColumn[];
|
|
221
221
|
rows: any[];
|
|
222
|
-
}) =>
|
|
222
|
+
}) => boolean | void) | string;
|
|
223
223
|
onBeforeFillHandleDragStart?: ((event: {
|
|
224
224
|
cell: GridLocation;
|
|
225
225
|
domEvent: MouseEvent;
|
|
226
|
-
}) =>
|
|
226
|
+
}) => boolean | void) | string;
|
|
227
227
|
onBeforeFinishCellEdit?: ((event: {
|
|
228
228
|
grid: Grid;
|
|
229
229
|
editorContext: CellEditorContext;
|
|
@@ -234,7 +234,7 @@ export declare type BryntumTreeGridProps = {
|
|
|
234
234
|
}) => Promise<boolean> | boolean | void) | string;
|
|
235
235
|
onBeforeHide?: ((event: {
|
|
236
236
|
source: Widget;
|
|
237
|
-
}) =>
|
|
237
|
+
}) => boolean | void) | string;
|
|
238
238
|
onBeforePaste?: ((event: {
|
|
239
239
|
source: Grid;
|
|
240
240
|
clipboardData: string;
|
|
@@ -244,7 +244,7 @@ export declare type BryntumTreeGridProps = {
|
|
|
244
244
|
}) => Promise<boolean> | boolean | void) | string;
|
|
245
245
|
onBeforePdfExport?: ((event: {
|
|
246
246
|
config: PdfExportConfig;
|
|
247
|
-
}) =>
|
|
247
|
+
}) => boolean | void) | string;
|
|
248
248
|
onBeforeRenderRow?: ((event: {
|
|
249
249
|
source: GridBase;
|
|
250
250
|
row: Row;
|
|
@@ -270,7 +270,7 @@ export declare type BryntumTreeGridProps = {
|
|
|
270
270
|
deselectedCells: GridLocation[];
|
|
271
271
|
selectedCells: GridLocation[];
|
|
272
272
|
cellSelection: GridLocation[];
|
|
273
|
-
}) =>
|
|
273
|
+
}) => boolean | void) | string;
|
|
274
274
|
onBeforeSetRecord?: ((event: {
|
|
275
275
|
source: Container;
|
|
276
276
|
record: Model;
|
|
@@ -281,19 +281,19 @@ export declare type BryntumTreeGridProps = {
|
|
|
281
281
|
onBeforeStartRowEdit?: ((event: {
|
|
282
282
|
source: Grid;
|
|
283
283
|
editorContext: RowEditorContext;
|
|
284
|
-
}) =>
|
|
284
|
+
}) => boolean | void) | string;
|
|
285
285
|
onBeforeStateApply?: ((event: {
|
|
286
286
|
state: GridStateInfo;
|
|
287
|
-
}) =>
|
|
287
|
+
}) => boolean | void) | string;
|
|
288
288
|
onBeforeStateSave?: ((event: {
|
|
289
289
|
state: GridStateInfo;
|
|
290
|
-
}) =>
|
|
290
|
+
}) => boolean | void) | string;
|
|
291
291
|
onBeforeToggleGroup?: ((event: {
|
|
292
292
|
groupRecord: Model;
|
|
293
293
|
groupRecords: Model[];
|
|
294
294
|
collapse: boolean;
|
|
295
295
|
domEvent: Event;
|
|
296
|
-
}) =>
|
|
296
|
+
}) => boolean | void) | string;
|
|
297
297
|
onBeforeToggleNode?: ((event: {
|
|
298
298
|
source: Grid;
|
|
299
299
|
record: Model;
|
|
@@ -338,7 +338,7 @@ export declare type BryntumTreeGridProps = {
|
|
|
338
338
|
items: Record<string, MenuItemEntry>;
|
|
339
339
|
column: Column;
|
|
340
340
|
record: Model;
|
|
341
|
-
}) =>
|
|
341
|
+
}) => boolean | void) | string;
|
|
342
342
|
onCellMenuItem?: ((event: {
|
|
343
343
|
source: Grid;
|
|
344
344
|
menu: Menu;
|
|
@@ -425,7 +425,7 @@ export declare type BryntumTreeGridProps = {
|
|
|
425
425
|
valid: boolean;
|
|
426
426
|
event: Event;
|
|
427
427
|
region: string;
|
|
428
|
-
}) =>
|
|
428
|
+
}) => boolean | void) | string;
|
|
429
429
|
onColumnResize?: ((event: {
|
|
430
430
|
source: Grid;
|
|
431
431
|
column: Column;
|
|
@@ -508,7 +508,7 @@ export declare type BryntumTreeGridProps = {
|
|
|
508
508
|
onFillHandleDragStart?: ((event: {
|
|
509
509
|
cell: GridLocation;
|
|
510
510
|
domEvent: MouseEvent;
|
|
511
|
-
}) =>
|
|
511
|
+
}) => boolean | void) | string;
|
|
512
512
|
onFinishCellEdit?: ((event: {
|
|
513
513
|
grid: Grid;
|
|
514
514
|
editorContext: CellEditorContext;
|
|
@@ -539,7 +539,7 @@ export declare type BryntumTreeGridProps = {
|
|
|
539
539
|
records: Model[];
|
|
540
540
|
};
|
|
541
541
|
event: MouseEvent | TouchEvent;
|
|
542
|
-
}) =>
|
|
542
|
+
}) => boolean | void) | string;
|
|
543
543
|
onGridRowBeforeDropFinalize?: ((event: {
|
|
544
544
|
source: GridBase;
|
|
545
545
|
context: {
|
|
@@ -589,13 +589,13 @@ export declare type BryntumTreeGridProps = {
|
|
|
589
589
|
onHeaderClick?: ((event: {
|
|
590
590
|
domEvent: Event;
|
|
591
591
|
column: Column;
|
|
592
|
-
}) =>
|
|
592
|
+
}) => boolean | void) | string;
|
|
593
593
|
onHeaderMenuBeforeShow?: ((event: {
|
|
594
594
|
source: Grid;
|
|
595
595
|
menu: Menu;
|
|
596
596
|
items: Record<string, MenuItemEntry>;
|
|
597
597
|
column: Column;
|
|
598
|
-
}) =>
|
|
598
|
+
}) => boolean | void) | string;
|
|
599
599
|
onHeaderMenuItem?: ((event: {
|
|
600
600
|
source: Grid;
|
|
601
601
|
menu: Menu;
|
|
@@ -724,7 +724,7 @@ export declare type BryntumTreeGridProps = {
|
|
|
724
724
|
source: Grid;
|
|
725
725
|
subGrid: SubGrid;
|
|
726
726
|
domEvent: Event;
|
|
727
|
-
}) =>
|
|
727
|
+
}) => boolean | void) | string;
|
|
728
728
|
onSplitterDragEnd?: ((event: {
|
|
729
729
|
source: Grid;
|
|
730
730
|
subGrid: SubGrid;
|
|
@@ -739,7 +739,7 @@ export declare type BryntumTreeGridProps = {
|
|
|
739
739
|
source: Grid;
|
|
740
740
|
subGrid: SubGrid;
|
|
741
741
|
domEvent: Event;
|
|
742
|
-
}) =>
|
|
742
|
+
}) => boolean | void) | string;
|
|
743
743
|
onStartCellEdit?: ((event: {
|
|
744
744
|
source: Grid;
|
|
745
745
|
editorContext: CellEditorContext;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BryntumTreeGrid.js","sourceRoot":"","sources":["../src/BryntumTreeGrid.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAA47C,QAAQ,EAA4D,MAAM,oBAAoB,CAAC;AAEliD,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"BryntumTreeGrid.js","sourceRoot":"","sources":["../src/BryntumTreeGrid.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAA47C,QAAQ,EAA4D,MAAM,oBAAoB,CAAC;AAEliD,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAm7D/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;YAC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B,yBAAyB;IACzB,QAAQ;IACR,cAAc;IACd,WAAW;IACX,oBAAoB;IACpB,iBAAiB;IACjB,kBAAkB;IAClB,UAAU;IACV,cAAc;IACd,YAAY;IACZ,gCAAgC;IAChC,kBAAkB;IAClB,uBAAuB;IACvB,qBAAqB;IACrB,uBAAuB;IACvB,kBAAkB;IAClB,iBAAiB;IACjB,WAAW;IACX,YAAY;IACZ,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"}
|
package/package.json
CHANGED
|
@@ -35,6 +35,8 @@ export type BryntumAIFilterFieldProps = {
|
|
|
35
35
|
/**
|
|
36
36
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
37
37
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-element).
|
|
38
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
39
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-appendTo)
|
|
38
40
|
*/
|
|
39
41
|
appendTo? : HTMLElement|string
|
|
40
42
|
/**
|
|
@@ -84,6 +86,15 @@ export type BryntumAIFilterFieldProps = {
|
|
|
84
86
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
85
87
|
*/
|
|
86
88
|
centered? : boolean
|
|
89
|
+
/**
|
|
90
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
91
|
+
* 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)
|
|
92
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-required) check.
|
|
93
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-checkValidity)
|
|
94
|
+
* @param {Core.widget.Field} field The field being validated
|
|
95
|
+
* @returns {void}
|
|
96
|
+
*/
|
|
97
|
+
checkValidity? : ((field: Field) => void)|string
|
|
87
98
|
/**
|
|
88
99
|
* Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-readOnly). The trigger is available
|
|
89
100
|
* in the [triggers](https://bryntum.com/products/grid/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
|
|
@@ -292,10 +303,14 @@ export type BryntumAIFilterFieldProps = {
|
|
|
292
303
|
inputWidth? : string|number
|
|
293
304
|
/**
|
|
294
305
|
* 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.
|
|
306
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
307
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-insertBefore)
|
|
295
308
|
*/
|
|
296
309
|
insertBefore? : HTMLElement|string
|
|
297
310
|
/**
|
|
298
311
|
* 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.
|
|
312
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
313
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-insertFirst)
|
|
299
314
|
*/
|
|
300
315
|
insertFirst? : HTMLElement|string
|
|
301
316
|
/**
|
|
@@ -627,7 +642,7 @@ export type BryntumAIFilterFieldProps = {
|
|
|
627
642
|
* @param {object} event Event object
|
|
628
643
|
* @param {Core.widget.Widget} event.source The widget being hidden.
|
|
629
644
|
*/
|
|
630
|
-
onBeforeHide? : ((event: { source: Widget }) =>
|
|
645
|
+
onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
|
|
631
646
|
/**
|
|
632
647
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
633
648
|
* @param {object} event Event object
|
|
@@ -775,6 +790,7 @@ export class BryntumAIFilterField extends React.Component<BryntumAIFilterFieldPr
|
|
|
775
790
|
'autoSelect',
|
|
776
791
|
'bubbleEvents',
|
|
777
792
|
'centered',
|
|
793
|
+
'checkValidity',
|
|
778
794
|
'clearable',
|
|
779
795
|
'client',
|
|
780
796
|
'color',
|
|
@@ -35,6 +35,8 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
35
35
|
/**
|
|
36
36
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
37
37
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-element).
|
|
38
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
39
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-appendTo)
|
|
38
40
|
*/
|
|
39
41
|
appendTo? : HTMLElement|string
|
|
40
42
|
/**
|
|
@@ -97,6 +99,15 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
97
99
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
98
100
|
*/
|
|
99
101
|
centered? : boolean
|
|
102
|
+
/**
|
|
103
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
104
|
+
* 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)
|
|
105
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-required) check.
|
|
106
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-checkValidity)
|
|
107
|
+
* @param {Core.widget.Field} field The field being validated
|
|
108
|
+
* @returns {void}
|
|
109
|
+
*/
|
|
110
|
+
checkValidity? : ((field: Field) => void)|string
|
|
100
111
|
/**
|
|
101
112
|
* A config object to configure the [ChipView](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView) to display the
|
|
102
113
|
* selected value set when [multiSelect](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
|
|
@@ -390,10 +401,14 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
390
401
|
inputWidth? : string|number
|
|
391
402
|
/**
|
|
392
403
|
* 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.
|
|
404
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
405
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-insertBefore)
|
|
393
406
|
*/
|
|
394
407
|
insertBefore? : HTMLElement|string
|
|
395
408
|
/**
|
|
396
409
|
* 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.
|
|
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/ChecklistFilterCombo#config-insertFirst)
|
|
397
412
|
*/
|
|
398
413
|
insertFirst? : HTMLElement|string
|
|
399
414
|
/**
|
|
@@ -809,7 +824,7 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
809
824
|
* @param {object} event Event object
|
|
810
825
|
* @param {Core.widget.Widget} event.source The widget being hidden.
|
|
811
826
|
*/
|
|
812
|
-
onBeforeHide? : ((event: { source: Widget }) =>
|
|
827
|
+
onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
|
|
813
828
|
/**
|
|
814
829
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
815
830
|
* @param {object} event Event object
|
|
@@ -970,6 +985,7 @@ export class BryntumChecklistFilterCombo extends React.Component<BryntumChecklis
|
|
|
970
985
|
'cacheLastResult',
|
|
971
986
|
'caseSensitive',
|
|
972
987
|
'centered',
|
|
988
|
+
'checkValidity',
|
|
973
989
|
'chipView',
|
|
974
990
|
'clearable',
|
|
975
991
|
'clearTextOnPickerHide',
|