@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,1100 @@
1
+ <!-- Vue 3 wrapper for Bryntum AIFilterField -->
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, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Model, Rectangle, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';
14
+ import type { AIFilterFieldListeners, GridContainerItemConfig, Grid } from '@bryntum/grid-thin';
15
+ import { AIFilterField } 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/AIFilterField#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/AIFilterField#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
+ * *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).*
42
+ * `true` to show a connector arrow pointing to the align target.
43
+ */
44
+ anchor ? : Boolean
45
+ /**
46
+ * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
47
+ * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-element).
48
+ */
49
+ appendTo ? : HTMLElement|string
50
+ /**
51
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
52
+ * into an element which will be linked using the `aria-describedby` attribute.
53
+ * ...
54
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-ariaDescription)
55
+ */
56
+ ariaDescription ? : string
57
+ /**
58
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
59
+ * the `aria-label` attribute.
60
+ * ...
61
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-ariaLabel)
62
+ */
63
+ ariaLabel ? : string
64
+ /**
65
+ * Sets the native `autocomplete` property of the underlying input element. For more information, please refer to
66
+ * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)
67
+ */
68
+ autoComplete ? : string
69
+ /**
70
+ * Specify `true` to auto select field contents on focus
71
+ */
72
+ autoSelect ? : Boolean
73
+ /**
74
+ * Initial text to show in badge.
75
+ */
76
+ badge ? : string
77
+ /**
78
+ * An object where property names with a truthy value indicate which events should bubble up the ownership
79
+ * hierarchy when triggered.
80
+ * ...
81
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-bubbleEvents)
82
+ */
83
+ bubbleEvents ? : object
84
+ /**
85
+ * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
86
+ * ...
87
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-callOnFunctions)
88
+ */
89
+ callOnFunctions ? : Boolean
90
+ /**
91
+ * By default, if an event handler throws an exception, the error propagates up the stack and the
92
+ * application state is undefined. Code which follows the event handler will *not* be executed.
93
+ * ...
94
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-catchEventHandlerExceptions)
95
+ */
96
+ catchEventHandlerExceptions ? : Boolean
97
+ /**
98
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
99
+ * Set to `true` to centre the Widget in browser viewport space.
100
+ */
101
+ centered ? : Boolean
102
+ /**
103
+ * 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
104
+ * 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
105
+ * configures the `clear` [trigger](https://bryntum.com/products/grid/docs/api/Core/widget/Field#property-triggers).
106
+ */
107
+ clearable ? : Boolean|FieldTriggerConfig
108
+ /**
109
+ * The Grid instance this field is filtering. Defaults to the closest Grid instance found when the field is
110
+ * added to the DOM. If you are not adding the field to the Grid's DOM, you must set this property.
111
+ */
112
+ client ? : Grid
113
+ /**
114
+ * Custom CSS classes to add to element.
115
+ * May be specified as a space separated string, or as an object in which property names
116
+ * with truthy values are used as the class names:
117
+ * ...
118
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-cls)
119
+ */
120
+ cls ? : string|object
121
+ /**
122
+ * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
123
+ * `style` block.
124
+ * ...
125
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-color)
126
+ */
127
+ color ? : string
128
+ /**
129
+ * Programmatic control over which column to start in when used in a grid layout.
130
+ */
131
+ column ? : number
132
+ config ? : object
133
+ /**
134
+ * *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).*
135
+ * Element, Widget or Rectangle to which this Widget is constrained.
136
+ */
137
+ constrainTo ? : HTMLElement|Widget|Rectangle
138
+ /**
139
+ * The configuration for additional items associated to this field. This is typically used to add contextual
140
+ * fields related to a [checkbox](https://bryntum.com/products/grid/docs/api/Core/widget/Checkbox) or [radio button](#Core/widget/Radio). See
141
+ * these classes for examples of nested fields.
142
+ * ...
143
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-container)
144
+ */
145
+ container ? : Record<string, GridContainerItemConfig>|GridContainerItemConfig[]|FieldContainerConfig|FieldContainer
146
+ /**
147
+ * The config controls how the value of nested items are handled when a parent container gets or sets its
148
+ * [values](https://bryntum.com/products/grid/docs/api/Core/widget/Container#property-values).
149
+ * ...
150
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-containValues)
151
+ * @param {Core.widget.Field} field Field instance
152
+ * @returns {boolean}
153
+ */
154
+ containValues ? : Boolean|string|((field: Field) => Boolean)
155
+ /**
156
+ * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement).
157
+ * May be specified as a space separated string, or as an object in which property names
158
+ * with truthy values are used as the class names:
159
+ * ...
160
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-contentElementCls)
161
+ */
162
+ contentElementCls ? : string|object
163
+ /**
164
+ * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the
165
+ * field on the expanded record to use for populating this widget's store (if applicable)
166
+ */
167
+ dataField ? : string
168
+ /**
169
+ * Object to apply to elements dataset (each key will be used as a data-attribute on the element)
170
+ */
171
+ dataset ? : Record<string, string>
172
+ /**
173
+ * The name of the property to set when a single value is to be applied to this Widget. Such as when used
174
+ * in a grid WidgetColumn, this is the property to which the column's `field` is applied.
175
+ */
176
+ defaultBindProperty ? : string
177
+ /**
178
+ * Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
179
+ * ...
180
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-detectCSSCompatibilityIssues)
181
+ */
182
+ detectCSSCompatibilityIssues ? : Boolean
183
+ /**
184
+ * Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget
185
+ * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
186
+ * ...
187
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-disabled)
188
+ */
189
+ disabled ? : Boolean|'inert'
190
+ /**
191
+ * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/grid/docs/api/Core/widget/Panel)
192
+ * [strips collection](https://bryntum.com/products/grid/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
193
+ * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
194
+ * body. Such widgets are called "edge strips".
195
+ * ...
196
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-dock)
197
+ */
198
+ dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
199
+ /**
200
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
201
+ * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
202
+ * property which controls when a drag should start.
203
+ * ...
204
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-draggable)
205
+ */
206
+ draggable ? : Boolean|{
207
+ handleSelector?: string
208
+ }
209
+ /**
210
+ * Set to `false` to prevent user from editing the field. For TextFields it is basically the same as setting
211
+ * [readOnly](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-readOnly), but for PickerFields there is a distinction where it allows you to pick a value
212
+ * but not to type one in the field.
213
+ * ...
214
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-editable)
215
+ */
216
+ editable ? : Boolean
217
+ /**
218
+ * An object specifying attributes to assign to the root element of this widget.
219
+ * Set `null` value to attribute to remove it.
220
+ * ...
221
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-elementAttributes)
222
+ */
223
+ elementAttributes ? : Record<string, string|null>
224
+ extraData ? : any
225
+ /**
226
+ * 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
227
+ * flexbox layout. This config allows you to set this widget's
228
+ * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.
229
+ * This may be configured as a single number or a `&lt;flex-grow&gt; &lt;flex-shrink&gt; &lt;flex-basis&gt;` format string.
230
+ * numeric-only values are interpreted as the `flex-grow` value.
231
+ */
232
+ flex ? : number|string
233
+ /**
234
+ * Set to `true` to move the widget out of the document flow and position it
235
+ * absolutely in browser viewport space.
236
+ */
237
+ floating ? : Boolean
238
+ /**
239
+ * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,
240
+ * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some
241
+ * cases this config is convenient.
242
+ */
243
+ height ? : string|number
244
+ /**
245
+ * Configure with true to make widget initially hidden.
246
+ */
247
+ hidden ? : Boolean
248
+ /**
249
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
250
+ * ...
251
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-hideAnimation)
252
+ */
253
+ hideAnimation ? : Boolean|object
254
+ /**
255
+ * Specify `true` to highlight field after external value changes
256
+ */
257
+ highlightExternalChange ? : Boolean
258
+ /**
259
+ * An optional string to display inside the input field as an overlay. This can be useful for displaying
260
+ * a field's units.
261
+ * ...
262
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-hint)
263
+ * @param {object} data A data object
264
+ * @param {Core.widget.Field} data.source A reference to the field instance
265
+ * @param {any} data.value The current value of the field
266
+ * @returns {string}
267
+ */
268
+ hint ? : string|((data: { source: Field, value: any }) => string)
269
+ /**
270
+ * This config is similar to [hint](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-hint) except that this config is used to display HTML content.
271
+ * Since this can allow malicious content to be executed, be sure not to include user-entered data or to
272
+ * encode such data (see [encodeHtml](https://bryntum.com/products/grid/docs/api/Core/helper/StringHelper#function-encodeHtml-static)).
273
+ * ...
274
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-hintHtml)
275
+ * @param {object} data A data object
276
+ * @param {Core.widget.Field} data.source A reference to the field instance
277
+ * @param {any} data.value The current value of the field
278
+ * @returns {string}
279
+ */
280
+ hintHtml ? : string|((data: { source: Field, value: any }) => string)
281
+ /**
282
+ * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById
283
+ */
284
+ id ? : string
285
+ /**
286
+ * Determines if the widgets read-only state should be controlled by its parent.
287
+ * ...
288
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-ignoreParentReadOnly)
289
+ */
290
+ ignoreParentReadOnly ? : Boolean
291
+ /**
292
+ * Set this config to `true` to always display items horizontally along with this field. This assigns an
293
+ * [hbox](https://bryntum.com/products/grid/docs/api/Core/widget/layout/Box) as the [layout](#Core/widget/Container#config-layout) to the
294
+ * [container](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-container).
295
+ * ...
296
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-inline)
297
+ */
298
+ inline ? : Boolean
299
+ /**
300
+ * Text alignment for the input field.
301
+ */
302
+ inputAlign ? : string
303
+ /**
304
+ * Sets custom attributes of the underlying input element. For more information, please refer to
305
+ * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes)
306
+ */
307
+ inputAttributes ? : Record<string, string>
308
+ /**
309
+ * If you need to use something else than a default `input` element, as the input element, provide the tag
310
+ * name here. Please note that this is used for advanced usage only, for example when using WebComponents
311
+ * (custom elements), and that the configured element must fulfil the same contract as a regular input
312
+ * element.
313
+ */
314
+ inputTag ? : string
315
+ /**
316
+ * Sets the `type` attribute of the underlying input element (password, hidden, date, color, etc.).
317
+ */
318
+ inputType ? : string
319
+ /**
320
+ * The width to apply to the `.b-field-inner` element, which encompasses the `input` element and any
321
+ * triggers. If a number is specified, `px` will be used.
322
+ */
323
+ inputWidth ? : string|number
324
+ /**
325
+ * 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.
326
+ */
327
+ insertBefore ? : HTMLElement|string
328
+ /**
329
+ * 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.
330
+ */
331
+ insertFirst ? : HTMLElement|string
332
+ /**
333
+ * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
334
+ * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
335
+ * are the name of the instance method to call when the keystroke is received.
336
+ * ...
337
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-keyMap)
338
+ */
339
+ keyMap ? : Record<string, KeyMapConfig>
340
+ /**
341
+ * The delay in milliseconds to wait after the last keystroke before triggering a change event.
342
+ * Set to 0 to not trigger change events from keystrokes (listen for input event instead to have
343
+ * immediate feedback, change will still be triggered on blur).
344
+ * ...
345
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-keyStrokeChangeDelay)
346
+ */
347
+ keyStrokeChangeDelay ? : number
348
+ /**
349
+ * Label, prepended to field
350
+ */
351
+ label ? : string
352
+ /**
353
+ * CSS class name or class names to add to any configured [label](https://bryntum.com/products/grid/docs/api/Core/widget/mixin/Labelable#config-label)
354
+ */
355
+ labelCls ? : string|object
356
+ /**
357
+ * Label position, either 'before' the field or 'above' the field
358
+ * ...
359
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-labelPosition)
360
+ */
361
+ labelPosition ? : 'before'|'above'|null
362
+ /**
363
+ * The labels to add either before or after the input field.
364
+ * Each label may have the following properties:
365
+ * ...
366
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-labels)
367
+ */
368
+ labels ? : object[]
369
+ /**
370
+ * The width to apply to the `&lt;label&gt;` element. If a number is specified, `px` will be used.
371
+ */
372
+ labelWidth ? : string|number
373
+ /**
374
+ * The listener set for this object.
375
+ * ...
376
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-listeners)
377
+ */
378
+ listeners ? : AIFilterFieldListeners
379
+ /**
380
+ * A class translations of which are used for translating this entity.
381
+ * This is often used when translations of an item are defined on its container class.
382
+ * For example:
383
+ * ...
384
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-localeClass)
385
+ */
386
+ localeClass ? : typeof Base
387
+ /**
388
+ * Set to `false` to disable localization of this object.
389
+ */
390
+ localizable ? : Boolean
391
+ /**
392
+ * List of properties which values should be translated automatically upon a locale applying.
393
+ * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
394
+ * you could use 'localeKey' meta configuration.
395
+ * Example:
396
+ * ...
397
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-localizableProperties)
398
+ */
399
+ localizableProperties ? : string[]
400
+ /**
401
+ * Widget's margin. This may be configured as a single number or a `TRBL` format string.
402
+ * numeric-only values are interpreted as pixels.
403
+ */
404
+ margin ? : number|string
405
+ /**
406
+ * This config object contains the defaults for the [Mask](https://bryntum.com/products/grid/docs/api/Core/widget/Mask) created for the
407
+ * [masked](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these
408
+ * values.
409
+ */
410
+ maskDefaults ? : MaskConfig
411
+ /**
412
+ * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a
413
+ * [Mask](https://bryntum.com/products/grid/docs/api/Core/widget/Mask) config object.
414
+ */
415
+ masked ? : Boolean|string|MaskConfig
416
+ /**
417
+ * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that
418
+ * like [height](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
419
+ */
420
+ maxHeight ? : string|number
421
+ /**
422
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
423
+ * ...
424
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-maximizeOnMobile)
425
+ */
426
+ maximizeOnMobile ? : number|string
427
+ /**
428
+ * The max number of characters for the input field
429
+ */
430
+ maxLength ? : number
431
+ /**
432
+ * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that
433
+ * like [width](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
434
+ */
435
+ maxWidth ? : string|number
436
+ /**
437
+ * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that
438
+ * like [height](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
439
+ */
440
+ minHeight ? : string|number
441
+ /**
442
+ * The min number of characters for the input field
443
+ */
444
+ minLength ? : number
445
+ /**
446
+ * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that
447
+ * like [width](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
448
+ */
449
+ minWidth ? : string|number
450
+ /**
451
+ * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
452
+ * is used to monitor this element for size changes caused by either style manipulation, or by CSS
453
+ * layout.
454
+ * ...
455
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-monitorResize)
456
+ */
457
+ monitorResize ? : Boolean|{
458
+ immediate?: Boolean
459
+ }
460
+ /**
461
+ * Name of the field which is used as a key to get/set values from/to the field.
462
+ * Used prior to [ref](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-ref) and [id](#Core/widget/Widget#config-id) in
463
+ * [Container.values](https://bryntum.com/products/grid/docs/api/Core/widget/Container#property-values).
464
+ * ...
465
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-name)
466
+ */
467
+ name ? : string
468
+ /**
469
+ * The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
470
+ * [items](https://bryntum.com/products/grid/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
471
+ * the owner is <strong>always</strong> the encapsulating Container.
472
+ * ...
473
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-owner)
474
+ */
475
+ owner ? : Widget|any
476
+ /**
477
+ * Text to display in empty field.
478
+ */
479
+ placeholder ? : string
480
+ /**
481
+ * 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
482
+ * not participate in the standard layout of that widget, and must be positioned relatively to that
483
+ * widget's [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement).
484
+ * ...
485
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-positioned)
486
+ */
487
+ positioned ? : Boolean
488
+ /**
489
+ * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a
490
+ * menu on click etc, since the tooltip would be displayed at the same time.
491
+ */
492
+ preventTooltipOnTouch ? : Boolean
493
+ /**
494
+ * The text to show in the load mask when the AI is processing the filter request
495
+ */
496
+ progressText ? : string
497
+ /**
498
+ * Makes the field unmodifiable by user action. The input area is not editable, and triggers
499
+ * are unresponsive.
500
+ * ...
501
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-readOnly)
502
+ */
503
+ readOnly ? : Boolean
504
+ relayStoreEvents ? : Boolean
505
+ /**
506
+ * Predefined style to use for the field. Possible values are:
507
+ * ...
508
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-rendition)
509
+ */
510
+ rendition ? : 'outlined'|'filled'|string
511
+ /**
512
+ * Configure as `true` to indicate that a `null` field value is to be marked as invalid. This will
513
+ * optionally append a * to the field label if [showRequiredIndicator](https://bryntum.com/products/grid/docs/api/Core/widget/Field#property-showRequiredIndicator) is set.
514
+ */
515
+ required ? : Boolean
516
+ /**
517
+ * If this field is not [readOnly](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
518
+ * the `ESCAPE` key after editing the field will revert the field to the value it had when
519
+ * the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-clearable)
520
+ * behaviour will be activated.
521
+ */
522
+ revertOnEscape ? : Boolean
523
+ /**
524
+ * Configure as `true` to have the component display a translucent ripple when its
525
+ * [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
526
+ * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
527
+ * ...
528
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-ripple)
529
+ */
530
+ ripple ? : Boolean|{
531
+ delegate?: string
532
+ color?: string
533
+ radius?: number
534
+ clip?: string
535
+ }
536
+ /**
537
+ * 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`
538
+ */
539
+ rootElement ? : ShadowRoot|HTMLElement
540
+ /**
541
+ * This may be configured as `true` to make the widget's element use the `direction:rtl` style.
542
+ * ...
543
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-rtl)
544
+ */
545
+ rtl ? : Boolean
546
+ /**
547
+ * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
548
+ * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.
549
+ */
550
+ scrollAction ? : 'hide'|'realign'|null
551
+ /**
552
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
553
+ * ...
554
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-showAnimation)
555
+ */
556
+ showAnimation ? : Boolean|object
557
+ /**
558
+ * `true` to automatically display a * after the label for this field when it is [required](https://bryntum.com/products/grid/docs/api/Core/widget/Field#property-required).
559
+ */
560
+ showRequiredIndicator ? : string
561
+ /**
562
+ * 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)
563
+ */
564
+ showTooltipWhenDisabled ? : Boolean
565
+ /**
566
+ * Set to `true`, completely bypasses validation logic (could be userful if your field is not `editable`
567
+ * to the user).
568
+ */
569
+ skipValidation ? : Boolean
570
+ /**
571
+ * Programmatic control over how many columns to span when used in a grid layout.
572
+ */
573
+ span ? : number
574
+ /**
575
+ * Sets the native `spellcheck` property of the underlying input element. For more information, please refer to
576
+ * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck)
577
+ */
578
+ spellCheck ? : Boolean
579
+ /**
580
+ * 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
581
+ * [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
582
+ * this widget:
583
+ * ...
584
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-tab)
585
+ */
586
+ tab ? : Boolean|TabConfig
587
+ /**
588
+ * The tab index of the input field or fields, or `null` for natural tab order (recommended). Setting to `0`
589
+ * is equivalent to natural tab order, but is unnecessary for fields since they are naturally tabbable
590
+ * (i.e., accessible via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set
591
+ * to the element programmatically.
592
+ * ...
593
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-tabIndex)
594
+ */
595
+ tabIndex ? : number
596
+ /**
597
+ * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
598
+ * ...
599
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-textAlign)
600
+ */
601
+ textAlign ? : 'left'|'center'|'right'|'start'|'end'
602
+ /**
603
+ * A title to display for the widget. Only in effect when inside a container that uses it (such as TabPanel)
604
+ */
605
+ title ? : string
606
+ /**
607
+ * Tooltip for the widget, either as a string or as a Tooltip config object.
608
+ * ...
609
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-tooltip)
610
+ */
611
+ tooltip ? : string|TooltipConfig|null
612
+ /**
613
+ * The triggers to add either before or after the input field. Each property name is the reference by which
614
+ * an instantiated Trigger Widget may be retrieved from the live `triggers` property.
615
+ * ...
616
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-triggers)
617
+ */
618
+ triggers ? : Record<string, FieldTriggerConfig>|Record<string, Widget>
619
+ type ? : 'aifilterfield'
620
+ /**
621
+ * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
622
+ * as a space separated string, an array of strings, or as an object in which property names with truthy
623
+ * values are used as the class names.
624
+ * ...
625
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-ui)
626
+ */
627
+ ui ? : string|object
628
+ /**
629
+ * Set to `false` to not highlight a field as invalid while typing, to instead show it on ENTER key press
630
+ * or similar.
631
+ */
632
+ validateOnInput ? : Boolean
633
+ /**
634
+ * Default value
635
+ */
636
+ value ? : string
637
+ /**
638
+ * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/grid/docs/api/Core/widget/Container).
639
+ * Higher weights go further down.
640
+ */
641
+ weight ? : number
642
+ /**
643
+ * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which
644
+ * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases
645
+ * this config is convenient.
646
+ */
647
+ width ? : string|number
648
+ /**
649
+ * The x position for the widget.
650
+ * ...
651
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-x)
652
+ */
653
+ x ? : number
654
+ /**
655
+ * The y position for the widget.
656
+ * ...
657
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-y)
658
+ */
659
+ y ? : number
660
+
661
+ }>();
662
+
663
+ const emit = defineEmits<{
664
+ /**
665
+ * User performed default action (typed into this field).
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.Field,any} params.params.event.source This Field
672
+ * @param {string,number,boolean,any} params.params.event.value This field's value
673
+ * @param {string,number,boolean,any} params.params.event.oldValue This field's previous value
674
+ * @param {boolean} params.params.event.valid True if this field is in a valid state
675
+ * @param {Event} params.params.event.event The triggering DOM event if any
676
+ * @param {Core.data.Model} params.params.event.record Selected record. Available for fields with records selection functionality
677
+ * @param {Core.data.Model[]} params.params.event.records Selected records as an array. Available for fields with records selection functionality
678
+ * @param {boolean} params.params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
679
+ * @param {boolean} params.params.event.checked
680
+ */
681
+ (e: 'action', params: ((event: { source: Field|any, value: string|number|boolean|any, oldValue: string|number|boolean|any, valid: boolean, event: Event, record: Model, records: Model[], userAction: boolean, checked: boolean }) => void)|string): void
682
+ /**
683
+ * Fires before an object is destroyed.
684
+ * @param {string} e Event name
685
+ * @param {object} params Event parameters
686
+ * @param {string} params.e Event name
687
+ * @param {object} params.params Event parameters
688
+ * @param {object} params.params.event Event object
689
+ * @param {Core.Base} params.params.event.source The Object that is being destroyed.
690
+ */
691
+ (e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
692
+ /**
693
+ * Triggered before a widget is hidden. Return `false` to prevent the action.
694
+ * @param {string} e Event name
695
+ * @param {object} params Event parameters
696
+ * @param {string} params.e Event name
697
+ * @param {object} params.params Event parameters
698
+ * @param {object} params.params.event Event object
699
+ * @param {Core.widget.Widget} params.params.event.source The widget being hidden.
700
+ */
701
+ (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
702
+ /**
703
+ * Triggered before a widget is shown. Return `false` to prevent the action.
704
+ * @param {string} e Event name
705
+ * @param {object} params Event parameters
706
+ * @param {string} params.e Event name
707
+ * @param {object} params.params Event parameters
708
+ * @param {object} params.params.event Event object
709
+ * @param {Core.widget.Widget,any} params.params.event.source The widget being shown
710
+ */
711
+ (e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
712
+ /**
713
+ * Fires when any other event is fired from the object.
714
+ * ...
715
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#event-catchAll)
716
+ * @param {string} e Event name
717
+ * @param {object} params Event parameters
718
+ * @param {string} params.e Event name
719
+ * @param {object} params.params Event parameters
720
+ * @param {object} params.params.event Event object
721
+ * @param {{[key: string]: any, type: string}} params.params.event.event The Object that contains event details
722
+ * @param {string} params.params.event.event.type The type of the event which is caught by the listener
723
+ */
724
+ (e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
725
+ /**
726
+ * Fired when this field's value changes.
727
+ * @param {string} e Event name
728
+ * @param {object} params Event parameters
729
+ * @param {string} params.e Event name
730
+ * @param {object} params.params Event parameters
731
+ * @param {object} params.params.event Event object
732
+ * @param {Core.widget.Field,any} params.params.event.source This Field
733
+ * @param {string,number,boolean,any} params.params.event.value This field's value
734
+ * @param {string,number,boolean,any} params.params.event.oldValue This field's previous value
735
+ * @param {boolean} params.params.event.valid True if this field is in a valid state
736
+ * @param {Event} params.params.event.event The triggering DOM event if any
737
+ * @param {boolean} params.params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
738
+ * @param {boolean} params.params.event.checked
739
+ */
740
+ (e: 'change', params: ((event: { source: Field|any, value: string|number|boolean|any, oldValue: string|number|boolean|any, valid: boolean, event: Event, userAction: boolean, checked: boolean }) => void)|string): void
741
+ /**
742
+ * Fired when this field is [cleared](https://bryntum.com/products/grid/docs/api/Core/widget/Field#function-clear).
743
+ * ...
744
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#event-clear)
745
+ * @param {string} e Event name
746
+ * @param {object} params Event parameters
747
+ * @param {string} params.e Event name
748
+ * @param {object} params.params Event parameters
749
+ * @param {object} params.params.event Event object
750
+ * @param {Core.widget.Field,any} params.params.event.source This Field
751
+ */
752
+ (e: 'clear', params: ((event: { source: Field|any }) => void)|string): void
753
+ /**
754
+ * Fires when an object is destroyed.
755
+ * @param {string} e Event name
756
+ * @param {object} params Event parameters
757
+ * @param {string} params.e Event name
758
+ * @param {object} params.params Event parameters
759
+ * @param {object} params.params.event Event object
760
+ * @param {Core.Base} params.params.event.source The Object that is being destroyed.
761
+ */
762
+ (e: 'destroy', params: ((event: { source: Base }) => void)|string): void
763
+ /**
764
+ * Triggered when a widget's [element](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-element) is available.
765
+ * @param {string} e Event name
766
+ * @param {object} params Event parameters
767
+ * @param {string} params.e Event name
768
+ * @param {object} params.params Event parameters
769
+ * @param {object} params.params.event Event object
770
+ * @param {HTMLElement} params.params.event.element The Widget's element.
771
+ */
772
+ (e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void
773
+ /**
774
+ * Fired when focus enters this Widget.
775
+ * @param {string} e Event name
776
+ * @param {object} params Event parameters
777
+ * @param {string} params.e Event name
778
+ * @param {object} params.params Event parameters
779
+ * @param {object} params.params.event Event object
780
+ * @param {Core.widget.Widget} params.params.event.source This Widget
781
+ * @param {HTMLElement} params.params.event.fromElement The element which lost focus.
782
+ * @param {HTMLElement} params.params.event.toElement The element which gained focus.
783
+ * @param {Core.widget.Widget} params.params.event.fromWidget The widget which lost focus.
784
+ * @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
785
+ * @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
786
+ */
787
+ (e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
788
+ /**
789
+ * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.
790
+ * focus moving from within this Widget's ownership tree, even if there are floating widgets
791
+ * will not trigger this event. This is when focus exits this widget completely.
792
+ * @param {string} e Event name
793
+ * @param {object} params Event parameters
794
+ * @param {string} params.e Event name
795
+ * @param {object} params.params Event parameters
796
+ * @param {object} params.params.event Event object
797
+ * @param {Core.widget.Widget} params.params.event.source This Widget
798
+ * @param {HTMLElement} params.params.event.fromElement The element which lost focus.
799
+ * @param {HTMLElement} params.params.event.toElement The element which gained focus.
800
+ * @param {Core.widget.Widget} params.params.event.fromWidget The widget which lost focus.
801
+ * @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
802
+ * @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
803
+ */
804
+ (e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
805
+ /**
806
+ * Triggered after a widget was hidden
807
+ * @param {string} e Event name
808
+ * @param {object} params Event parameters
809
+ * @param {string} params.e Event name
810
+ * @param {object} params.params Event parameters
811
+ * @param {object} params.params.event Event object
812
+ * @param {Core.widget.Widget} params.params.event.source The widget
813
+ */
814
+ (e: 'hide', params: ((event: { source: Widget }) => void)|string): void
815
+ /**
816
+ * Fired when the user types into this field.
817
+ * @param {string} e Event name
818
+ * @param {object} params Event parameters
819
+ * @param {string} params.e Event name
820
+ * @param {object} params.params Event parameters
821
+ * @param {object} params.params.event Event object
822
+ * @param {Core.widget.Field,any} params.params.event.source This field
823
+ * @param {string,number,boolean,any} params.params.event.value This field's value
824
+ * @param {Event} params.params.event.event The triggering DOM event
825
+ */
826
+ (e: 'input', params: ((event: { source: Field|any, value: string|number|boolean|any, event: Event }) => void)|string): void
827
+ /**
828
+ * Triggered when a widget which had been in a non-visible state for any reason
829
+ * achieves visibility.
830
+ * ...
831
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#event-paint)
832
+ * @param {string} e Event name
833
+ * @param {object} params Event parameters
834
+ * @param {string} params.e Event name
835
+ * @param {object} params.params Event parameters
836
+ * @param {object} params.params.event Event object
837
+ * @param {Core.widget.Widget} params.params.event.source The widget being painted.
838
+ * @param {boolean} params.params.event.firstPaint `true` if this is the first paint.
839
+ */
840
+ (e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void
841
+ /**
842
+ * Fired when a Widget's read only state is toggled
843
+ * @param {string} e Event name
844
+ * @param {object} params Event parameters
845
+ * @param {string} params.e Event name
846
+ * @param {object} params.params Event parameters
847
+ * @param {object} params.params.event Event object
848
+ * @param {boolean} params.params.event.readOnly Read only or not
849
+ */
850
+ (e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void
851
+ /**
852
+ * This event is fired after a widget's elements have been synchronized due to a direct or indirect call
853
+ * 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.
854
+ */
855
+ (e: 'recompose', params: (() => void)|string): void
856
+ /**
857
+ * 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`*.
858
+ * @param {string} e Event name
859
+ * @param {object} params Event parameters
860
+ * @param {string} params.e Event name
861
+ * @param {object} params.params Event parameters
862
+ * @param {object} params.params.event Event object
863
+ * @param {Core.widget.Widget} params.params.event.source This Widget
864
+ * @param {number} params.params.event.width The new width
865
+ * @param {number} params.params.event.height The new height
866
+ * @param {number} params.params.event.oldWidth The old width
867
+ * @param {number} params.params.event.oldHeight The old height
868
+ */
869
+ (e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
870
+ /**
871
+ * Triggered after a widget is shown.
872
+ * @param {string} e Event name
873
+ * @param {object} params Event parameters
874
+ * @param {string} params.e Event name
875
+ * @param {object} params.params Event parameters
876
+ * @param {object} params.params.event Event object
877
+ * @param {Core.widget.Widget} params.params.event.source The widget
878
+ */
879
+ (e: 'show', params: ((event: { source: Widget }) => void)|string): void
880
+ /**
881
+ * User clicked one of this field's [triggers](https://bryntum.com/products/grid/docs/api/Core/widget/Field#property-triggers)
882
+ * @param {string} e Event name
883
+ * @param {object} params Event parameters
884
+ * @param {string} params.e Event name
885
+ * @param {object} params.params Event parameters
886
+ * @param {object} params.params.event Event object
887
+ * @param {Core.widget.Field,any} params.params.event.source This field
888
+ * @param {Core.widget.Widget} params.params.event.trigger The trigger activated by click or touch tap.
889
+ */
890
+ (e: 'trigger', params: ((event: { source: Field|any, trigger: Widget }) => void)|string): void
891
+ }>();
892
+
893
+ const widgetData = {
894
+ instanceClass : AIFilterField,
895
+ instanceName : 'AIFilterField',
896
+
897
+ configNames : [
898
+ 'adopt',
899
+ 'align',
900
+ 'anchor',
901
+ 'ariaDescription',
902
+ 'ariaLabel',
903
+ 'autoComplete',
904
+ 'autoSelect',
905
+ 'bubbleEvents',
906
+ 'centered',
907
+ 'clearable',
908
+ 'client',
909
+ 'color',
910
+ 'config',
911
+ 'constrainTo',
912
+ 'container',
913
+ 'containValues',
914
+ 'contentElementCls',
915
+ 'dataField',
916
+ 'defaultBindProperty',
917
+ 'detectCSSCompatibilityIssues',
918
+ 'dock',
919
+ 'draggable',
920
+ 'elementAttributes',
921
+ 'floating',
922
+ 'hideAnimation',
923
+ 'highlightExternalChange',
924
+ 'hint',
925
+ 'hintHtml',
926
+ 'ignoreParentReadOnly',
927
+ 'inline',
928
+ 'inputAlign',
929
+ 'inputAttributes',
930
+ 'inputTag',
931
+ 'inputType',
932
+ 'inputWidth',
933
+ 'keyStrokeChangeDelay',
934
+ 'labelCls',
935
+ 'labelPosition',
936
+ 'labels',
937
+ 'labelWidth',
938
+ 'listeners',
939
+ 'localeClass',
940
+ 'localizable',
941
+ 'localizableProperties',
942
+ 'maskDefaults',
943
+ 'masked',
944
+ 'maxLength',
945
+ 'minLength',
946
+ 'monitorResize',
947
+ 'name',
948
+ 'owner',
949
+ 'positioned',
950
+ 'preventTooltipOnTouch',
951
+ 'progressText',
952
+ 'relayStoreEvents',
953
+ 'revertOnEscape',
954
+ 'ripple',
955
+ 'rootElement',
956
+ 'scrollAction',
957
+ 'showAnimation',
958
+ 'showTooltipWhenDisabled',
959
+ 'skipValidation',
960
+ 'spellCheck',
961
+ 'tab',
962
+ 'tabIndex',
963
+ 'textAlign',
964
+ 'title',
965
+ 'type',
966
+ 'ui',
967
+ 'validateOnInput',
968
+ 'weight'
969
+ ],
970
+ propertyConfigNames : [
971
+ 'alignSelf',
972
+ 'appendTo',
973
+ 'badge',
974
+ 'callOnFunctions',
975
+ 'catchEventHandlerExceptions',
976
+ 'cls',
977
+ 'column',
978
+ 'dataset',
979
+ 'disabled',
980
+ 'editable',
981
+ 'extraData',
982
+ 'flex',
983
+ 'height',
984
+ 'hidden',
985
+ 'id',
986
+ 'insertBefore',
987
+ 'insertFirst',
988
+ 'keyMap',
989
+ 'label',
990
+ 'margin',
991
+ 'maxHeight',
992
+ 'maximizeOnMobile',
993
+ 'maxWidth',
994
+ 'minHeight',
995
+ 'minWidth',
996
+ 'onAction',
997
+ 'onBeforeDestroy',
998
+ 'onBeforeHide',
999
+ 'onBeforeShow',
1000
+ 'onCatchAll',
1001
+ 'onChange',
1002
+ 'onClear',
1003
+ 'onDestroy',
1004
+ 'onElementCreated',
1005
+ 'onFocusIn',
1006
+ 'onFocusOut',
1007
+ 'onHide',
1008
+ 'onInput',
1009
+ 'onPaint',
1010
+ 'onReadOnly',
1011
+ 'onRecompose',
1012
+ 'onResize',
1013
+ 'onShow',
1014
+ 'onTrigger',
1015
+ 'placeholder',
1016
+ 'readOnly',
1017
+ 'rendition',
1018
+ 'required',
1019
+ 'rtl',
1020
+ 'showRequiredIndicator',
1021
+ 'span',
1022
+ 'tooltip',
1023
+ 'triggers',
1024
+ 'value',
1025
+ 'width',
1026
+ 'x',
1027
+ 'y'
1028
+ ],
1029
+ propertyNames : [
1030
+ 'anchorSize',
1031
+ 'content',
1032
+ 'focusVisible',
1033
+ 'formula',
1034
+ 'html',
1035
+ 'input',
1036
+ 'parent',
1037
+ 'scrollable'
1038
+ ],
1039
+ eventNames : [
1040
+ 'action',
1041
+ 'beforeDestroy',
1042
+ 'beforeHide',
1043
+ 'beforeShow',
1044
+ 'catchAll',
1045
+ 'change',
1046
+ 'clear',
1047
+ 'destroy',
1048
+ 'elementCreated',
1049
+ 'focusIn',
1050
+ 'focusOut',
1051
+ 'hide',
1052
+ 'input',
1053
+ 'paint',
1054
+ 'readOnly',
1055
+ 'recompose',
1056
+ 'resize',
1057
+ 'show',
1058
+ 'trigger'
1059
+ ]
1060
+ };
1061
+
1062
+ const instance: {
1063
+ value?: AIFilterField
1064
+ } = {};
1065
+
1066
+ const refElement = ref<HTMLDivElement>()!;
1067
+ // Storage for teleports (in-cell Vue component instances) automatically renderer by template
1068
+ const teleports = ref(new Map());
1069
+
1070
+ // Provide teleports for processCellContent
1071
+ provide('teleports', teleports);
1072
+
1073
+ onMounted(() => {
1074
+
1075
+ const me = getCurrentInstance()!;
1076
+
1077
+ instance.value = WrapperHelper.createWidget<typeof AIFilterField>({
1078
+ me,
1079
+ widgetData,
1080
+ emit,
1081
+ element : refElement.value!,
1082
+ toRaw
1083
+ });
1084
+
1085
+ const watcher = (prop: string, callback: any) => watch(() => me.props[prop], callback);
1086
+ WrapperHelper.watchProps(instance.value, widgetData, watcher);
1087
+ });
1088
+
1089
+ onBeforeUnmount(() => {
1090
+ // @ts-ignore
1091
+ instance.value?.destroy?.();
1092
+ });
1093
+
1094
+ defineExpose({
1095
+ instance,
1096
+ refElement,
1097
+ teleports
1098
+ });
1099
+
1100
+ </script>