@bryntum/grid-vue-3-thin 7.1.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.
Files changed (72) hide show
  1. package/README.md +53 -0
  2. package/lib/chunks/BU8UU05k.js +285 -0
  3. package/lib/chunks/BU8UU05k.js.map +1 -0
  4. package/lib/chunks/BddaT4s7.js +641 -0
  5. package/lib/chunks/BddaT4s7.js.map +1 -0
  6. package/lib/chunks/BhovLWj6.js +301 -0
  7. package/lib/chunks/BhovLWj6.js.map +1 -0
  8. package/lib/chunks/BiSBQkoK.js +385 -0
  9. package/lib/chunks/BiSBQkoK.js.map +1 -0
  10. package/lib/chunks/CBFPsO1m.js +312 -0
  11. package/lib/chunks/CBFPsO1m.js.map +1 -0
  12. package/lib/chunks/COu7hi0l.js +642 -0
  13. package/lib/chunks/COu7hi0l.js.map +1 -0
  14. package/lib/chunks/CsxXtWQr.js +302 -0
  15. package/lib/chunks/CsxXtWQr.js.map +1 -0
  16. package/lib/chunks/DGygz4dO.js +639 -0
  17. package/lib/chunks/DGygz4dO.js.map +1 -0
  18. package/lib/chunks/Dgq4wGRw.js +235 -0
  19. package/lib/chunks/Dgq4wGRw.js.map +1 -0
  20. package/lib/chunks/Dod-SqEN.js +380 -0
  21. package/lib/chunks/Dod-SqEN.js.map +1 -0
  22. package/lib/components/BryntumAIFilterField.js +5 -0
  23. package/lib/components/BryntumAIFilterField.js.map +1 -0
  24. package/lib/components/BryntumChecklistFilterCombo.js +5 -0
  25. package/lib/components/BryntumChecklistFilterCombo.js.map +1 -0
  26. package/lib/components/BryntumGrid.js +5 -0
  27. package/lib/components/BryntumGrid.js.map +1 -0
  28. package/lib/components/BryntumGridBase.js +5 -0
  29. package/lib/components/BryntumGridBase.js.map +1 -0
  30. package/lib/components/BryntumGridChartDesigner.js +5 -0
  31. package/lib/components/BryntumGridChartDesigner.js.map +1 -0
  32. package/lib/components/BryntumGridFieldFilterPicker.js +5 -0
  33. package/lib/components/BryntumGridFieldFilterPicker.js.map +1 -0
  34. package/lib/components/BryntumGridFieldFilterPickerGroup.js +5 -0
  35. package/lib/components/BryntumGridFieldFilterPickerGroup.js.map +1 -0
  36. package/lib/components/BryntumGroupBar.js +5 -0
  37. package/lib/components/BryntumGroupBar.js.map +1 -0
  38. package/lib/components/BryntumTreeCombo.js +5 -0
  39. package/lib/components/BryntumTreeCombo.js.map +1 -0
  40. package/lib/components/BryntumTreeGrid.js +5 -0
  41. package/lib/components/BryntumTreeGrid.js.map +1 -0
  42. package/lib/helper/WrapperHelper.js +291 -0
  43. package/lib/helper/WrapperHelper.js.map +1 -0
  44. package/lib/index.d.ts +5 -0
  45. package/lib/index.js +23 -0
  46. package/lib/index.js.map +1 -0
  47. package/license.pdf +0 -0
  48. package/licenses.md +310 -0
  49. package/package.json +27 -0
  50. package/src/components/BryntumAIFilterField.vue +1100 -0
  51. package/src/components/BryntumAIFilterFieldProps.ts +646 -0
  52. package/src/components/BryntumChecklistFilterCombo.vue +1348 -0
  53. package/src/components/BryntumChecklistFilterComboProps.ts +846 -0
  54. package/src/components/BryntumGrid.vue +2986 -0
  55. package/src/components/BryntumGridBase.vue +2983 -0
  56. package/src/components/BryntumGridBaseProps.ts +1027 -0
  57. package/src/components/BryntumGridChartDesigner.vue +805 -0
  58. package/src/components/BryntumGridChartDesignerProps.ts +466 -0
  59. package/src/components/BryntumGridFieldFilterPicker.vue +1048 -0
  60. package/src/components/BryntumGridFieldFilterPickerGroup.vue +1067 -0
  61. package/src/components/BryntumGridFieldFilterPickerGroupProps.ts +641 -0
  62. package/src/components/BryntumGridFieldFilterPickerProps.ts +636 -0
  63. package/src/components/BryntumGridProps.ts +1028 -0
  64. package/src/components/BryntumGroupBar.vue +1016 -0
  65. package/src/components/BryntumGroupBarProps.ts +583 -0
  66. package/src/components/BryntumTreeCombo.vue +1337 -0
  67. package/src/components/BryntumTreeComboProps.ts +838 -0
  68. package/src/components/BryntumTreeGrid.vue +2985 -0
  69. package/src/components/BryntumTreeGridProps.ts +1028 -0
  70. package/src/helper/WrapperHelper.ts +573 -0
  71. package/src/index.ts +24 -0
  72. package/src/vite-env.d.ts +1 -0
@@ -0,0 +1,1048 @@
1
+ <!-- Vue 3 wrapper for Bryntum GridFieldFilterPicker -->
2
+
3
+ <template>
4
+ <div ref="refElement">
5
+
6
+ </div>
7
+ </template>
8
+
9
+ <script setup lang="ts">
10
+
11
+ import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
12
+
13
+ import type { AlignSpec, Base, CollectionFilter, CollectionFilterConfig, ComboConfig, Container, DomConfig, FieldFilterPicker, FieldOption, KeyMapConfig, MaskConfig, MenuItemEntry, Model, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, ValueFieldPlaceholders, VueConfig, Widget } from '@bryntum/core-thin';
14
+ import type { GridContainerItemConfig, GridContainerLayoutConfig, Grid, GridFieldFilterPickerListeners } from '@bryntum/grid-thin';
15
+ import { GridFieldFilterPicker } from '@bryntum/grid-thin';
16
+
17
+ import { WrapperHelper } from '../helper/WrapperHelper';
18
+
19
+ defineProps<{
20
+ // Configs
21
+ /**
22
+ * Element (or element id) to adopt as this Widget's encapsulating element. The widget's
23
+ * content will be placed inside this element.
24
+ * ...
25
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-adopt)
26
+ */
27
+ adopt ? : HTMLElement|string
28
+ /**
29
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
30
+ * ...
31
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-align)
32
+ */
33
+ align ? : AlignSpec|string
34
+ /**
35
+ * When this widget is a child of a [Container](https://bryntum.com/products/grid/docs/api/Core/widget/Container), it will by default be participating in a
36
+ * flexbox layout. This config allows you to set this widget's
37
+ * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.
38
+ */
39
+ alignSelf ? : string
40
+ /**
41
+ * Optional array of field names that are allowed as selectable properties for filters.
42
+ * This is a subset of the field names found in the [grid](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-grid)'s columns. When supplied, only
43
+ * the named fields will be shown in the property selector combo.
44
+ * ...
45
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-allowedFieldNames)
46
+ */
47
+ allowedFieldNames ? : string[]
48
+ /**
49
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating) and being shown through [showBy](#Core/widget/Widget#function-showBy).*
50
+ * `true` to show a connector arrow pointing to the align target.
51
+ */
52
+ anchor ? : Boolean
53
+ /**
54
+ * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
55
+ * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-element).
56
+ */
57
+ appendTo ? : HTMLElement|string
58
+ /**
59
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
60
+ * into an element which will be linked using the `aria-describedby` attribute.
61
+ * ...
62
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-ariaDescription)
63
+ */
64
+ ariaDescription ? : string
65
+ /**
66
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
67
+ * the `aria-label` attribute.
68
+ * ...
69
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-ariaLabel)
70
+ */
71
+ ariaLabel ? : string
72
+ /**
73
+ * Update assigned [record](https://bryntum.com/products/grid/docs/api/Core/widget/Container#config-record) automatically on field changes
74
+ */
75
+ autoUpdateRecord ? : Boolean
76
+ /**
77
+ * An object where property names with a truthy value indicate which events should bubble up the ownership
78
+ * hierarchy when triggered.
79
+ * ...
80
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-bubbleEvents)
81
+ */
82
+ bubbleEvents ? : object
83
+ /**
84
+ * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
85
+ * ...
86
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-callOnFunctions)
87
+ */
88
+ callOnFunctions ? : Boolean
89
+ /**
90
+ * By default, if an event handler throws an exception, the error propagates up the stack and the
91
+ * application state is undefined. Code which follows the event handler will *not* be executed.
92
+ * ...
93
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-catchEventHandlerExceptions)
94
+ */
95
+ catchEventHandlerExceptions ? : Boolean
96
+ /**
97
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
98
+ * Set to `true` to centre the Widget in browser viewport space.
99
+ */
100
+ centered ? : Boolean
101
+ /**
102
+ * Custom CSS classes to add to element.
103
+ * May be specified as a space separated string, or as an object in which property names
104
+ * with truthy values are used as the class names:
105
+ * ...
106
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-cls)
107
+ */
108
+ cls ? : string|object
109
+ /**
110
+ * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
111
+ * `style` block.
112
+ * ...
113
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-color)
114
+ */
115
+ color ? : string
116
+ /**
117
+ * Programmatic control over which column to start in when used in a grid layout.
118
+ */
119
+ column ? : number
120
+ config ? : object
121
+ /**
122
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating) or [positioned](#Core/widget/Widget#config-positioned).*
123
+ * Element, Widget or Rectangle to which this Widget is constrained.
124
+ */
125
+ constrainTo ? : HTMLElement|Widget|Rectangle
126
+ /**
127
+ * The HTML content that coexists with sibling elements which may have been added to the
128
+ * [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement) by plugins and features.
129
+ * When specifying html, this widget's element will also have the [htmlCls](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-htmlCls)
130
+ * class added to its classList, to allow targeted styling.
131
+ */
132
+ content ? : string
133
+ /**
134
+ * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement).
135
+ * May be specified as a space separated string, or as an object in which property names
136
+ * with truthy values are used as the class names:
137
+ * ...
138
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-contentElementCls)
139
+ */
140
+ contentElementCls ? : string|object
141
+ /**
142
+ * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the
143
+ * field on the expanded record to use for populating this widget's store (if applicable)
144
+ */
145
+ dataField ? : string
146
+ /**
147
+ * Object to apply to elements dataset (each key will be used as a data-attribute on the element)
148
+ */
149
+ dataset ? : Record<string, string>
150
+ /**
151
+ * The date format string used to display dates in value input fields. Defaults to the current locale's
152
+ * `FieldFilterPicker.dateFormat` value.
153
+ */
154
+ dateFormat ? : string
155
+ /**
156
+ * The name of the property to set when a single value is to be applied to this Widget. Such as when used
157
+ * in a grid WidgetColumn, this is the property to which the column's `field` is applied.
158
+ */
159
+ defaultBindProperty ? : string
160
+ /**
161
+ * A [query](https://bryntum.com/products/grid/docs/api/Core/widget/Container#function-query) selector function which can identify the descendant widget to which
162
+ * focus should be directed by default.
163
+ * ...
164
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-defaultFocus)
165
+ * @param {Core.widget.Widget} widget Widget passed to method
166
+ * @returns {boolean} truthy value if widget is the default one
167
+ */
168
+ defaultFocus ? : ((widget: Widget) => Boolean)|string
169
+ /**
170
+ * A config object containing default settings to apply to all child widgets.
171
+ */
172
+ defaults ? : GridContainerItemConfig
173
+ /**
174
+ * Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
175
+ * ...
176
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-detectCSSCompatibilityIssues)
177
+ */
178
+ detectCSSCompatibilityIssues ? : Boolean
179
+ /**
180
+ * Make the entire picker disabled.
181
+ */
182
+ disabled ? : Boolean
183
+ /**
184
+ * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/grid/docs/api/Core/widget/Panel)
185
+ * [strips collection](https://bryntum.com/products/grid/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
186
+ * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
187
+ * body. Such widgets are called "edge strips".
188
+ * ...
189
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-dock)
190
+ */
191
+ dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
192
+ /**
193
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
194
+ * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
195
+ * property which controls when a drag should start.
196
+ * ...
197
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-draggable)
198
+ */
199
+ draggable ? : Boolean|{
200
+ handleSelector?: string
201
+ }
202
+ /**
203
+ * An object specifying attributes to assign to the root element of this widget.
204
+ * Set `null` value to attribute to remove it.
205
+ * ...
206
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-elementAttributes)
207
+ */
208
+ elementAttributes ? : Record<string, string|null>
209
+ extraData ? : any
210
+ /**
211
+ * Dictionary of [FieldOption](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPicker#typedef-FieldOption) representing the fields against which filters can be defined,
212
+ * keyed by field name.
213
+ * ...
214
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-fields)
215
+ */
216
+ fields ? : Record<string, FieldOption>
217
+ /**
218
+ * Configuration object for the [CollectionFilter](https://bryntum.com/products/grid/docs/api/Core/util/CollectionFilter) displayed
219
+ * and editable in this picker.
220
+ * ...
221
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-filter)
222
+ */
223
+ filter ? : CollectionFilterConfig
224
+ /**
225
+ * When this widget is a child of a [Container](https://bryntum.com/products/grid/docs/api/Core/widget/Container), it will by default be participating in a
226
+ * flexbox layout. This config allows you to set this widget's
227
+ * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.
228
+ * This may be configured as a single number or a `&lt;flex-grow&gt; &lt;flex-shrink&gt; &lt;flex-basis&gt;` format string.
229
+ * numeric-only values are interpreted as the `flex-grow` value.
230
+ */
231
+ flex ? : number|string
232
+ /**
233
+ * Set to `true` to move the widget out of the document flow and position it
234
+ * absolutely in browser viewport space.
235
+ */
236
+ floating ? : Boolean
237
+ /**
238
+ * Optional function that modifies the configuration of value fields shown for a filter. The default configuration
239
+ * is received as an argument and the returned value will be used as the final configuration. For example:
240
+ * ...
241
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-getValueFieldConfig)
242
+ * @param {Core.util.CollectionFilter} filter The filter being displayed
243
+ * @param {GridContainerItemConfig} fieldConfig Configuration object for the value field
244
+ * @returns {GridContainerItemConfig} the resulting configuration
245
+ */
246
+ getValueFieldConfig ? : (filter: CollectionFilter, fieldConfig: GridContainerItemConfig) => GridContainerItemConfig
247
+ /**
248
+ * [Grid](https://bryntum.com/products/grid/docs/api/Grid/view/Grid) from which to read the available field list. In order to
249
+ * appear as a selectable property for a filter, a column must have a `field` property.
250
+ * If the column has a `text` property, that will be shown as the displayed text in the
251
+ * selector; otherwise, the `field` property will be shown as-is.
252
+ * ...
253
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-grid)
254
+ */
255
+ grid ? : Grid
256
+ /**
257
+ * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,
258
+ * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some
259
+ * cases this config is convenient.
260
+ */
261
+ height ? : string|number
262
+ /**
263
+ * Configure with true to make widget initially hidden.
264
+ */
265
+ hidden ? : Boolean
266
+ /**
267
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
268
+ * ...
269
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-hideAnimation)
270
+ */
271
+ hideAnimation ? : Boolean|object
272
+ /**
273
+ * Specify `true` to make this container hide when it has no visible children (Either empty
274
+ * or all children hidden).
275
+ * ...
276
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-hideWhenEmpty)
277
+ */
278
+ hideWhenEmpty ? : Boolean
279
+ /**
280
+ * The HTML to display initially or a function returning the markup (called at widget construction time).
281
+ * ...
282
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-html)
283
+ * @param {Core.widget.Widget} widget The calling Widget
284
+ * @returns {string}
285
+ */
286
+ html ? : string|((widget: Widget) => string)|DomConfig|DomConfig[]|VueConfig
287
+ /**
288
+ * The CSS class(es) to add when HTML content is being applied to this widget.
289
+ */
290
+ htmlCls ? : string|object
291
+ /**
292
+ * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById
293
+ */
294
+ id ? : string
295
+ /**
296
+ * Determines if the widgets read-only state should be controlled by its parent.
297
+ * ...
298
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-ignoreParentReadOnly)
299
+ */
300
+ ignoreParentReadOnly ? : Boolean
301
+ /**
302
+ * Convenience setting to align input fields of child widgets. By default, the Field input element is
303
+ * placed immediately following the `label`. If you prefer to have all input fields aligned to the
304
+ * right, set this config to `'end'`.
305
+ * ...
306
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-inputFieldAlign)
307
+ */
308
+ inputFieldAlign ? : 'start'|'end'
309
+ /**
310
+ * 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.
311
+ */
312
+ insertBefore ? : HTMLElement|string
313
+ /**
314
+ * 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.
315
+ */
316
+ insertFirst ? : HTMLElement|string
317
+ /**
318
+ * An optional CSS class to add to child items of this container.
319
+ */
320
+ itemCls ? : string
321
+ /**
322
+ * An object containing typed child widget config objects or Widgets. May also be specified
323
+ * as an array.
324
+ * ...
325
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-items)
326
+ */
327
+ items ? : Record<string, GridContainerItemConfig|MenuItemEntry>|(GridContainerItemConfig|MenuItemEntry|Widget)[]
328
+ /**
329
+ * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
330
+ * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
331
+ * are the name of the instance method to call when the keystroke is received.
332
+ * ...
333
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-keyMap)
334
+ */
335
+ keyMap ? : Record<string, KeyMapConfig>
336
+ /**
337
+ * Convenience setting to use same label placement on all child widgets.
338
+ * ...
339
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-labelPosition)
340
+ */
341
+ labelPosition ? : 'before'|'above'|'align-before'|'auto'|null
342
+ /**
343
+ * The short name of a helper class which manages rendering and styling of child items.
344
+ * ...
345
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-layout)
346
+ */
347
+ layout ? : string|GridContainerLayoutConfig
348
+ /**
349
+ * The CSS style properties to apply to the [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement).
350
+ * ...
351
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-layoutStyle)
352
+ */
353
+ layoutStyle ? : object
354
+ /**
355
+ * An array of [child item](https://bryntum.com/products/grid/docs/api/Core/widget/Container#config-items) *config objects* which is to be converted into
356
+ * instances only when this Container is rendered, rather than eagerly at construct time.
357
+ * ...
358
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-lazyItems)
359
+ */
360
+ lazyItems ? : Record<string, GridContainerItemConfig>|GridContainerItemConfig[]|Widget[]
361
+ /**
362
+ * The listener set for this object.
363
+ * ...
364
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-listeners)
365
+ */
366
+ listeners ? : GridFieldFilterPickerListeners
367
+ /**
368
+ * A class translations of which are used for translating this entity.
369
+ * This is often used when translations of an item are defined on its container class.
370
+ * For example:
371
+ * ...
372
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-localeClass)
373
+ */
374
+ localeClass ? : typeof Base
375
+ /**
376
+ * Set to `false` to disable localization of this object.
377
+ */
378
+ localizable ? : Boolean
379
+ /**
380
+ * List of properties which values should be translated automatically upon a locale applying.
381
+ * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
382
+ * you could use 'localeKey' meta configuration.
383
+ * Example:
384
+ * ...
385
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-localizableProperties)
386
+ */
387
+ localizableProperties ? : string[]
388
+ /**
389
+ * Widget's margin. This may be configured as a single number or a `TRBL` format string.
390
+ * numeric-only values are interpreted as pixels.
391
+ */
392
+ margin ? : number|string
393
+ /**
394
+ * This config object contains the defaults for the [Mask](https://bryntum.com/products/grid/docs/api/Core/widget/Mask) created for the
395
+ * [masked](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these
396
+ * values.
397
+ */
398
+ maskDefaults ? : MaskConfig
399
+ /**
400
+ * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a
401
+ * [Mask](https://bryntum.com/products/grid/docs/api/Core/widget/Mask) config object.
402
+ */
403
+ masked ? : Boolean|string|MaskConfig
404
+ /**
405
+ * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that
406
+ * like [height](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
407
+ */
408
+ maxHeight ? : string|number
409
+ /**
410
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
411
+ * ...
412
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-maximizeOnMobile)
413
+ */
414
+ maximizeOnMobile ? : number|string
415
+ /**
416
+ * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that
417
+ * like [width](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
418
+ */
419
+ maxWidth ? : string|number
420
+ /**
421
+ * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that
422
+ * like [height](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
423
+ */
424
+ minHeight ? : string|number
425
+ /**
426
+ * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that
427
+ * like [width](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
428
+ */
429
+ minWidth ? : string|number
430
+ /**
431
+ * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
432
+ * is used to monitor this element for size changes caused by either style manipulation, or by CSS
433
+ * layout.
434
+ * ...
435
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-monitorResize)
436
+ */
437
+ monitorResize ? : Boolean|{
438
+ immediate?: Boolean
439
+ }
440
+ /**
441
+ * An object containing default config objects which may be referenced by name in the [items](https://bryntum.com/products/grid/docs/api/Core/widget/Container#config-items)
442
+ * config. For example, a specialized [Menu](https://bryntum.com/products/grid/docs/api/Core/widget/Menu) subclass may have a `namedItems` default
443
+ * value defined like this:
444
+ * ...
445
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-namedItems)
446
+ */
447
+ namedItems ? : Record<string, GridContainerItemConfig>
448
+ /**
449
+ * Make only the operator selector readOnly.
450
+ */
451
+ operatorLocked ? : Boolean
452
+ /**
453
+ * Overrides the built-in list of operators that are available for selection. Specify operators as
454
+ * an object with data types as keys and lists of operators as values, like this:
455
+ * ...
456
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-operators)
457
+ */
458
+ operators ? : object
459
+ /**
460
+ * The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
461
+ * [items](https://bryntum.com/products/grid/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
462
+ * the owner is <strong>always</strong> the encapsulating Container.
463
+ * ...
464
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-owner)
465
+ */
466
+ owner ? : Widget|any
467
+ /**
468
+ * Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement), but must
469
+ * not participate in the standard layout of that widget, and must be positioned relatively to that
470
+ * widget's [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement).
471
+ * ...
472
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-positioned)
473
+ */
474
+ positioned ? : Boolean
475
+ /**
476
+ * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a
477
+ * menu on click etc, since the tooltip would be displayed at the same time.
478
+ */
479
+ preventTooltipOnTouch ? : Boolean
480
+ /**
481
+ * Optional configuration for the property selector [Combo](https://bryntum.com/products/grid/docs/api/Core/widget/Combo).
482
+ */
483
+ propertyFieldConfig ? : ComboConfig
484
+ /**
485
+ * Make only the property selector readOnly.
486
+ */
487
+ propertyLocked ? : Boolean
488
+ /**
489
+ * Make the entire picker read-only.
490
+ */
491
+ readOnly ? : Boolean
492
+ /**
493
+ * [Record](https://bryntum.com/products/grid/docs/api/Core/data/Model) whose values will be used to populate fields in the container.
494
+ * ...
495
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-record)
496
+ */
497
+ record ? : Model
498
+ relayStoreEvents ? : Boolean
499
+ /**
500
+ * Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget
501
+ * `type`.
502
+ * ...
503
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-rendition)
504
+ */
505
+ rendition ? : string|Record<string, string>|null
506
+ /**
507
+ * Configure as `true` to have the component display a translucent ripple when its
508
+ * [focusElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-focusElement), or [element](#Core/widget/Widget#property-element) is tapped <em>if the
509
+ * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
510
+ * ...
511
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-ripple)
512
+ */
513
+ ripple ? : Boolean|{
514
+ delegate?: string
515
+ color?: string
516
+ radius?: number
517
+ clip?: string
518
+ }
519
+ /**
520
+ * If you are rendering this widget to a shadow root inside a web component, set this config to the shadowRoot. If not inside a web component, set it to `document.body`
521
+ */
522
+ rootElement ? : ShadowRoot|HTMLElement
523
+ /**
524
+ * This may be configured as `true` to make the widget's element use the `direction:rtl` style.
525
+ * ...
526
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-rtl)
527
+ */
528
+ rtl ? : Boolean
529
+ /**
530
+ * Specifies whether (and optionally in which axes) a Widget may scroll. `true` means this widget may scroll
531
+ * in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
532
+ * applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
533
+ * CSS overflow properties thus:
534
+ * ...
535
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-scrollable)
536
+ */
537
+ scrollable ? : Boolean|ScrollerConfig|Scroller
538
+ /**
539
+ * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
540
+ * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.
541
+ */
542
+ scrollAction ? : 'hide'|'realign'|null
543
+ /**
544
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
545
+ * ...
546
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-showAnimation)
547
+ */
548
+ showAnimation ? : Boolean|object
549
+ /**
550
+ * Set to `false` to not show the tooltip when this widget is [disabled](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-disabled)
551
+ */
552
+ showTooltipWhenDisabled ? : Boolean
553
+ /**
554
+ * Programmatic control over how many columns to span when used in a grid layout.
555
+ */
556
+ span ? : number
557
+ /**
558
+ * Specify `true` to match fields by their `name` property only when assigning a [record](https://bryntum.com/products/grid/docs/api/Core/widget/Container#config-record),
559
+ * without falling back to `ref`.
560
+ */
561
+ strictRecordMapping ? : Boolean
562
+ /**
563
+ * A configuration for the [tab](https://bryntum.com/products/grid/docs/api/Core/widget/Tab) created for this widget when it is placed in a
564
+ * [TabPanel](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel). For example, this config can be used to control the icon of the `tab` for
565
+ * this widget:
566
+ * ...
567
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-tab)
568
+ */
569
+ tab ? : Boolean|TabConfig
570
+ /**
571
+ * When this container is used as a tab in a TabPanel, these items are added to the
572
+ * [TabBar](https://bryntum.com/products/grid/docs/api/Core/widget/TabBar) when this container is the active tab.
573
+ * ...
574
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-tabBarItems)
575
+ */
576
+ tabBarItems ? : ToolbarItems[]|Widget[]
577
+ /**
578
+ * The tag name of this Widget's root element
579
+ */
580
+ tag ? : string
581
+ /**
582
+ * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
583
+ * ...
584
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-textAlign)
585
+ */
586
+ textAlign ? : 'left'|'center'|'right'|'start'|'end'
587
+ /**
588
+ * Specify `true` for a container used to show text markup. It will apply the CSS class `b-text-content`
589
+ * which specifies a default max-width that makes long text more readable.
590
+ * ...
591
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-textContent)
592
+ */
593
+ textContent ? : Boolean
594
+ /**
595
+ * A title to display for the widget. Only in effect when inside a container that uses it (such as TabPanel)
596
+ */
597
+ title ? : string
598
+ /**
599
+ * Tooltip for the widget, either as a string or as a Tooltip config object.
600
+ * ...
601
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-tooltip)
602
+ */
603
+ tooltip ? : string|TooltipConfig|null
604
+ /**
605
+ * Whether to raise [change](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPicker#event-change) events as the user types into a value field. If `false`,
606
+ * [change](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPicker#event-change) events will be raised only when the value input field's own `change` event
607
+ * occurs, for example on field blur.
608
+ */
609
+ triggerChangeOnInput ? : Boolean
610
+ type ? : 'gridfieldfilterpicker'
611
+ /**
612
+ * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
613
+ * as a space separated string, an array of strings, or as an object in which property names with truthy
614
+ * values are used as the class names.
615
+ * ...
616
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-ui)
617
+ */
618
+ ui ? : string|object
619
+ /**
620
+ * Optional [ValueFieldPlaceholders](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPicker#typedef-ValueFieldPlaceholders) object specifying custom placeholder text for value input fields.
621
+ */
622
+ valueFieldPlaceholders ? : ValueFieldPlaceholders
623
+ /**
624
+ * Make only the value input(s) readOnly.
625
+ */
626
+ valueLocked ? : Boolean
627
+ /**
628
+ * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/grid/docs/api/Core/widget/Container).
629
+ * Higher weights go further down.
630
+ */
631
+ weight ? : number
632
+ /**
633
+ * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which
634
+ * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases
635
+ * this config is convenient.
636
+ */
637
+ width ? : string|number
638
+ /**
639
+ * The x position for the widget.
640
+ * ...
641
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-x)
642
+ */
643
+ x ? : number
644
+ /**
645
+ * The y position for the widget.
646
+ * ...
647
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-y)
648
+ */
649
+ y ? : number
650
+
651
+ }>();
652
+
653
+ const emit = defineEmits<{
654
+ /**
655
+ * Fires before an object is destroyed.
656
+ * @param {string} e Event name
657
+ * @param {object} params Event parameters
658
+ * @param {string} params.e Event name
659
+ * @param {object} params.params Event parameters
660
+ * @param {object} params.params.event Event object
661
+ * @param {Core.Base} params.params.event.source The Object that is being destroyed.
662
+ */
663
+ (e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
664
+ /**
665
+ * Triggered before a widget is hidden. Return `false` to prevent the action.
666
+ * @param {string} e Event name
667
+ * @param {object} params Event parameters
668
+ * @param {string} params.e Event name
669
+ * @param {object} params.params Event parameters
670
+ * @param {object} params.params.event Event object
671
+ * @param {Core.widget.Widget} params.params.event.source The widget being hidden.
672
+ */
673
+ (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
674
+ /**
675
+ * Fired before this container will load record values into its child fields. This is useful if you
676
+ * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
677
+ * @param {string} e Event name
678
+ * @param {object} params Event parameters
679
+ * @param {string} params.e Event name
680
+ * @param {object} params.params Event parameters
681
+ * @param {object} params.params.event Event object
682
+ * @param {Core.widget.Container} params.params.event.source The container
683
+ * @param {Core.data.Model} params.params.event.record The record
684
+ */
685
+ (e: 'beforeSetRecord', params: ((event: { source: Container, record: Model }) => void)|string): void
686
+ /**
687
+ * Triggered before a widget is shown. Return `false` to prevent the action.
688
+ * @param {string} e Event name
689
+ * @param {object} params Event parameters
690
+ * @param {string} params.e Event name
691
+ * @param {object} params.params Event parameters
692
+ * @param {object} params.params.event Event object
693
+ * @param {Core.widget.Widget,any} params.params.event.source The widget being shown
694
+ */
695
+ (e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
696
+ /**
697
+ * Fires when any other event is fired from the object.
698
+ * ...
699
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#event-catchAll)
700
+ * @param {string} e Event name
701
+ * @param {object} params Event parameters
702
+ * @param {string} params.e Event name
703
+ * @param {object} params.params Event parameters
704
+ * @param {object} params.params.event Event object
705
+ * @param {{[key: string]: any, type: string}} params.params.event.event The Object that contains event details
706
+ * @param {string} params.params.event.event.type The type of the event which is caught by the listener
707
+ */
708
+ (e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
709
+ /**
710
+ * Fires when the filter is modified.
711
+ * @param {string} e Event name
712
+ * @param {object} params Event parameters
713
+ * @param {string} params.e Event name
714
+ * @param {object} params.params Event parameters
715
+ * @param {object} params.params.event Event object
716
+ * @param {Core.widget.FieldFilterPicker} params.params.event.source The FieldFilterPicker instance that fired the event.
717
+ * @param {any[]} params.params.event.filter The [CollectionFilter](https://bryntum.com/products/grid/docs/api/Core/util/CollectionFilter) configuration object for the filter represented by this [FieldFilterPicker](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPicker).
718
+ * @param {boolean} params.params.event.isValid Whether the current configuration object represents a complete and valid filter
719
+ */
720
+ (e: 'change', params: ((event: { source: FieldFilterPicker, filter: any[], isValid: boolean }) => void)|string): void
721
+ /**
722
+ * Fires when an object is destroyed.
723
+ * @param {string} e Event name
724
+ * @param {object} params Event parameters
725
+ * @param {string} params.e Event name
726
+ * @param {object} params.params Event parameters
727
+ * @param {object} params.params.event Event object
728
+ * @param {Core.Base} params.params.event.source The Object that is being destroyed.
729
+ */
730
+ (e: 'destroy', params: ((event: { source: Base }) => void)|string): void
731
+ /**
732
+ * Fires when a field is mutated and the state of the [hasChanges](https://bryntum.com/products/grid/docs/api/Core/widget/Container#property-hasChanges) property changes
733
+ * @param {string} e Event name
734
+ * @param {object} params Event parameters
735
+ * @param {string} params.e Event name
736
+ * @param {object} params.params Event parameters
737
+ * @param {object} params.params.event Event object
738
+ * @param {Core.widget.Container} params.params.event.source The container.
739
+ * @param {boolean} params.params.event.dirty The dirty state of the Container - `true` if there are any fields which have been changed since initial load.
740
+ */
741
+ (e: 'dirtyStateChange', params: ((event: { source: Container, dirty: boolean }) => void)|string): void
742
+ /**
743
+ * Triggered when a widget's [element](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-element) is available.
744
+ * @param {string} e Event name
745
+ * @param {object} params Event parameters
746
+ * @param {string} params.e Event name
747
+ * @param {object} params.params Event parameters
748
+ * @param {object} params.params.event Event object
749
+ * @param {HTMLElement} params.params.event.element The Widget's element.
750
+ */
751
+ (e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void
752
+ /**
753
+ * Fired when focus enters this Widget.
754
+ * @param {string} e Event name
755
+ * @param {object} params Event parameters
756
+ * @param {string} params.e Event name
757
+ * @param {object} params.params Event parameters
758
+ * @param {object} params.params.event Event object
759
+ * @param {Core.widget.Widget} params.params.event.source This Widget
760
+ * @param {HTMLElement} params.params.event.fromElement The element which lost focus.
761
+ * @param {HTMLElement} params.params.event.toElement The element which gained focus.
762
+ * @param {Core.widget.Widget} params.params.event.fromWidget The widget which lost focus.
763
+ * @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
764
+ * @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
765
+ */
766
+ (e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
767
+ /**
768
+ * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.
769
+ * focus moving from within this Widget's ownership tree, even if there are floating widgets
770
+ * will not trigger this event. This is when focus exits this widget completely.
771
+ * @param {string} e Event name
772
+ * @param {object} params Event parameters
773
+ * @param {string} params.e Event name
774
+ * @param {object} params.params Event parameters
775
+ * @param {object} params.params.event Event object
776
+ * @param {Core.widget.Widget} params.params.event.source This Widget
777
+ * @param {HTMLElement} params.params.event.fromElement The element which lost focus.
778
+ * @param {HTMLElement} params.params.event.toElement The element which gained focus.
779
+ * @param {Core.widget.Widget} params.params.event.fromWidget The widget which lost focus.
780
+ * @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
781
+ * @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
782
+ */
783
+ (e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
784
+ /**
785
+ * Triggered after a widget was hidden
786
+ * @param {string} e Event name
787
+ * @param {object} params Event parameters
788
+ * @param {string} params.e Event name
789
+ * @param {object} params.params Event parameters
790
+ * @param {object} params.params.event Event object
791
+ * @param {Core.widget.Widget} params.params.event.source The widget
792
+ */
793
+ (e: 'hide', params: ((event: { source: Widget }) => void)|string): void
794
+ /**
795
+ * Triggered when a widget which had been in a non-visible state for any reason
796
+ * achieves visibility.
797
+ * ...
798
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#event-paint)
799
+ * @param {string} e Event name
800
+ * @param {object} params Event parameters
801
+ * @param {string} params.e Event name
802
+ * @param {object} params.params Event parameters
803
+ * @param {object} params.params.event Event object
804
+ * @param {Core.widget.Widget} params.params.event.source The widget being painted.
805
+ * @param {boolean} params.params.event.firstPaint `true` if this is the first paint.
806
+ */
807
+ (e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void
808
+ /**
809
+ * Fired when a Widget's read only state is toggled
810
+ * @param {string} e Event name
811
+ * @param {object} params Event parameters
812
+ * @param {string} params.e Event name
813
+ * @param {object} params.params Event parameters
814
+ * @param {object} params.params.event Event object
815
+ * @param {boolean} params.params.event.readOnly Read only or not
816
+ */
817
+ (e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void
818
+ /**
819
+ * This event is fired after a widget's elements have been synchronized due to a direct or indirect call
820
+ * to [recompose](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#function-recompose), if this results in some change to the widget's rendered DOM elements.
821
+ */
822
+ (e: 'recompose', params: (() => void)|string): void
823
+ /**
824
+ * Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
825
+ * @param {string} e Event name
826
+ * @param {object} params Event parameters
827
+ * @param {string} params.e Event name
828
+ * @param {object} params.params Event parameters
829
+ * @param {object} params.params.event Event object
830
+ * @param {Core.widget.Widget} params.params.event.source This Widget
831
+ * @param {number} params.params.event.width The new width
832
+ * @param {number} params.params.event.height The new height
833
+ * @param {number} params.params.event.oldWidth The old width
834
+ * @param {number} params.params.event.oldHeight The old height
835
+ */
836
+ (e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
837
+ /**
838
+ * Triggered after a widget is shown.
839
+ * @param {string} e Event name
840
+ * @param {object} params Event parameters
841
+ * @param {string} params.e Event name
842
+ * @param {object} params.params Event parameters
843
+ * @param {object} params.params.event Event object
844
+ * @param {Core.widget.Widget} params.params.event.source The widget
845
+ */
846
+ (e: 'show', params: ((event: { source: Widget }) => void)|string): void
847
+ }>();
848
+
849
+ const widgetData = {
850
+ instanceClass : GridFieldFilterPicker,
851
+ instanceName : 'GridFieldFilterPicker',
852
+
853
+ configNames : [
854
+ 'adopt',
855
+ 'align',
856
+ 'allowedFieldNames',
857
+ 'anchor',
858
+ 'ariaDescription',
859
+ 'ariaLabel',
860
+ 'autoUpdateRecord',
861
+ 'bubbleEvents',
862
+ 'centered',
863
+ 'color',
864
+ 'config',
865
+ 'constrainTo',
866
+ 'contentElementCls',
867
+ 'dataField',
868
+ 'dateFormat',
869
+ 'defaultBindProperty',
870
+ 'defaultFocus',
871
+ 'defaults',
872
+ 'detectCSSCompatibilityIssues',
873
+ 'dock',
874
+ 'draggable',
875
+ 'elementAttributes',
876
+ 'fields',
877
+ 'filter',
878
+ 'floating',
879
+ 'getValueFieldConfig',
880
+ 'grid',
881
+ 'hideAnimation',
882
+ 'hideWhenEmpty',
883
+ 'htmlCls',
884
+ 'ignoreParentReadOnly',
885
+ 'itemCls',
886
+ 'lazyItems',
887
+ 'listeners',
888
+ 'localeClass',
889
+ 'localizable',
890
+ 'localizableProperties',
891
+ 'maskDefaults',
892
+ 'masked',
893
+ 'monitorResize',
894
+ 'namedItems',
895
+ 'operatorLocked',
896
+ 'operators',
897
+ 'owner',
898
+ 'positioned',
899
+ 'preventTooltipOnTouch',
900
+ 'propertyFieldConfig',
901
+ 'propertyLocked',
902
+ 'relayStoreEvents',
903
+ 'ripple',
904
+ 'rootElement',
905
+ 'scrollAction',
906
+ 'showAnimation',
907
+ 'showTooltipWhenDisabled',
908
+ 'tab',
909
+ 'tabBarItems',
910
+ 'tag',
911
+ 'textAlign',
912
+ 'textContent',
913
+ 'title',
914
+ 'triggerChangeOnInput',
915
+ 'type',
916
+ 'ui',
917
+ 'valueFieldPlaceholders',
918
+ 'valueLocked',
919
+ 'weight'
920
+ ],
921
+ propertyConfigNames : [
922
+ 'alignSelf',
923
+ 'appendTo',
924
+ 'callOnFunctions',
925
+ 'catchEventHandlerExceptions',
926
+ 'cls',
927
+ 'column',
928
+ 'content',
929
+ 'dataset',
930
+ 'disabled',
931
+ 'extraData',
932
+ 'flex',
933
+ 'height',
934
+ 'hidden',
935
+ 'html',
936
+ 'id',
937
+ 'inputFieldAlign',
938
+ 'insertBefore',
939
+ 'insertFirst',
940
+ 'items',
941
+ 'keyMap',
942
+ 'labelPosition',
943
+ 'layout',
944
+ 'layoutStyle',
945
+ 'margin',
946
+ 'maxHeight',
947
+ 'maximizeOnMobile',
948
+ 'maxWidth',
949
+ 'minHeight',
950
+ 'minWidth',
951
+ 'onBeforeDestroy',
952
+ 'onBeforeHide',
953
+ 'onBeforeSetRecord',
954
+ 'onBeforeShow',
955
+ 'onCatchAll',
956
+ 'onChange',
957
+ 'onDestroy',
958
+ 'onDirtyStateChange',
959
+ 'onElementCreated',
960
+ 'onFocusIn',
961
+ 'onFocusOut',
962
+ 'onHide',
963
+ 'onPaint',
964
+ 'onReadOnly',
965
+ 'onRecompose',
966
+ 'onResize',
967
+ 'onShow',
968
+ 'readOnly',
969
+ 'record',
970
+ 'rendition',
971
+ 'rtl',
972
+ 'scrollable',
973
+ 'span',
974
+ 'strictRecordMapping',
975
+ 'tooltip',
976
+ 'width',
977
+ 'x',
978
+ 'y'
979
+ ],
980
+ propertyNames : [
981
+ 'anchorSize',
982
+ 'focusVisible',
983
+ 'hasChanges',
984
+ 'isSettingValues',
985
+ 'isValid',
986
+ 'parent',
987
+ 'values'
988
+ ],
989
+ eventNames : [
990
+ 'beforeDestroy',
991
+ 'beforeHide',
992
+ 'beforeSetRecord',
993
+ 'beforeShow',
994
+ 'catchAll',
995
+ 'change',
996
+ 'destroy',
997
+ 'dirtyStateChange',
998
+ 'elementCreated',
999
+ 'focusIn',
1000
+ 'focusOut',
1001
+ 'hide',
1002
+ 'paint',
1003
+ 'readOnly',
1004
+ 'recompose',
1005
+ 'resize',
1006
+ 'show'
1007
+ ]
1008
+ };
1009
+
1010
+ const instance: {
1011
+ value?: GridFieldFilterPicker
1012
+ } = {};
1013
+
1014
+ const refElement = ref<HTMLDivElement>()!;
1015
+ // Storage for teleports (in-cell Vue component instances) automatically renderer by template
1016
+ const teleports = ref(new Map());
1017
+
1018
+ // Provide teleports for processCellContent
1019
+ provide('teleports', teleports);
1020
+
1021
+ onMounted(() => {
1022
+
1023
+ const me = getCurrentInstance()!;
1024
+
1025
+ instance.value = WrapperHelper.createWidget<typeof GridFieldFilterPicker>({
1026
+ me,
1027
+ widgetData,
1028
+ emit,
1029
+ element : refElement.value!,
1030
+ toRaw
1031
+ });
1032
+
1033
+ const watcher = (prop: string, callback: any) => watch(() => me.props[prop], callback);
1034
+ WrapperHelper.watchProps(instance.value, widgetData, watcher);
1035
+ });
1036
+
1037
+ onBeforeUnmount(() => {
1038
+ // @ts-ignore
1039
+ instance.value?.destroy?.();
1040
+ });
1041
+
1042
+ defineExpose({
1043
+ instance,
1044
+ refElement,
1045
+ teleports
1046
+ });
1047
+
1048
+ </script>