@bryntum/grid-vue-3-thin 7.2.4 → 7.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/lib/chunks/{MAev_NTD.js → Bc2x_WPR.js} +8 -6
- package/lib/chunks/Bc2x_WPR.js.map +1 -0
- package/lib/chunks/{C3MmNeeF.js → Be7ZZzGW.js} +14 -12
- package/lib/chunks/Be7ZZzGW.js.map +1 -0
- package/lib/chunks/{BQkqLHa6.js → BpNo5v3W.js} +9 -10
- package/lib/chunks/BpNo5v3W.js.map +1 -0
- package/lib/chunks/{CnbA4JoC.js → C87PnYXS.js} +12 -10
- package/lib/chunks/C87PnYXS.js.map +1 -0
- package/lib/chunks/{v3MxzI7J.js → C9RmZYoQ.js} +9 -7
- package/lib/chunks/C9RmZYoQ.js.map +1 -0
- package/lib/chunks/{Da4PP6A-.js → CAlh-Y8B.js} +3 -3
- package/lib/chunks/CAlh-Y8B.js.map +1 -0
- package/lib/chunks/{DkzTNiUv.js → CWYhi4DG.js} +8 -9
- package/lib/chunks/CWYhi4DG.js.map +1 -0
- package/lib/chunks/{D639wy1k.js → CcfDAcJD.js} +9 -9
- package/lib/chunks/CcfDAcJD.js.map +1 -0
- package/lib/chunks/{B5DiBj1m.js → DZ2V6NNc.js} +16 -14
- package/lib/chunks/DZ2V6NNc.js.map +1 -0
- package/lib/chunks/{C8vFKx3Q.js → w2GDktIt.js} +8 -6
- package/lib/chunks/w2GDktIt.js.map +1 -0
- package/lib/components/BryntumAIFilterField.js +1 -1
- package/lib/components/BryntumChecklistFilterCombo.js +1 -1
- package/lib/components/BryntumGrid.js +1 -1
- package/lib/components/BryntumGridBase.js +1 -1
- package/lib/components/BryntumGridChartDesigner.js +1 -1
- package/lib/components/BryntumGridFieldFilterPicker.js +1 -1
- package/lib/components/BryntumGridFieldFilterPickerGroup.js +1 -1
- package/lib/components/BryntumGroupBar.js +1 -1
- package/lib/components/BryntumThemeCombo.js +57 -0
- package/lib/components/BryntumThemeCombo.js.map +1 -0
- package/lib/components/BryntumTreeCombo.js +1 -1
- package/lib/components/BryntumTreeGrid.js +1 -1
- package/lib/index.js +10 -10
- package/package.json +1 -1
- package/src/components/BryntumAIFilterField.vue +153 -224
- package/src/components/BryntumAIFilterFieldProps.ts +78 -110
- package/src/components/BryntumChecklistFilterCombo.vue +171 -258
- package/src/components/BryntumChecklistFilterComboProps.ts +95 -141
- package/src/components/BryntumGrid.vue +723 -1042
- package/src/components/BryntumGridBase.vue +723 -1042
- package/src/components/BryntumGridBaseProps.ts +186 -261
- package/src/components/BryntumGridChartDesigner.vue +101 -163
- package/src/components/BryntumGridChartDesignerProps.ts +55 -88
- package/src/components/BryntumGridFieldFilterPicker.vue +134 -216
- package/src/components/BryntumGridFieldFilterPickerGroup.vue +137 -220
- package/src/components/BryntumGridFieldFilterPickerGroupProps.ts +76 -120
- package/src/components/BryntumGridFieldFilterPickerProps.ts +77 -122
- package/src/components/BryntumGridProps.ts +186 -261
- package/src/components/BryntumGroupBar.vue +129 -205
- package/src/components/BryntumGroupBarProps.ts +61 -98
- package/src/components/BryntumThemeCombo.vue +60 -0
- package/src/components/BryntumTreeCombo.vue +172 -260
- package/src/components/BryntumTreeComboProps.ts +96 -143
- package/src/components/BryntumTreeGrid.vue +723 -1042
- package/src/components/BryntumTreeGridProps.ts +186 -261
- package/lib/chunks/B5DiBj1m.js.map +0 -1
- package/lib/chunks/BQkqLHa6.js.map +0 -1
- package/lib/chunks/C3MmNeeF.js.map +0 -1
- package/lib/chunks/C8vFKx3Q.js.map +0 -1
- package/lib/chunks/CnbA4JoC.js.map +0 -1
- package/lib/chunks/D639wy1k.js.map +0 -1
- package/lib/chunks/Da4PP6A-.js.map +0 -1
- package/lib/chunks/DkzTNiUv.js.map +0 -1
- package/lib/chunks/MAev_NTD.js.map +0 -1
- package/lib/chunks/v3MxzI7J.js.map +0 -1
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
|
|
12
12
|
|
|
13
|
-
import type { AlignSpec, Base, Color, Field,
|
|
13
|
+
import type { AlignSpec, Base, Color, Field, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Model, Rectangle, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
14
14
|
import type { AIFilterFieldListeners, GridContainerItemConfig, Grid } from '@bryntum/grid-thin';
|
|
15
15
|
import { AIFilterField } from '@bryntum/grid-thin';
|
|
16
16
|
|
|
@@ -21,14 +21,12 @@ defineProps<{
|
|
|
21
21
|
/**
|
|
22
22
|
* Element (or element id) to adopt as this Widget's encapsulating element. The widget's
|
|
23
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)
|
|
24
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-adopt)
|
|
26
25
|
*/
|
|
27
26
|
adopt ? : HTMLElement|string
|
|
28
27
|
/**
|
|
29
28
|
* *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)
|
|
29
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-align)
|
|
32
30
|
*/
|
|
33
31
|
align ? : AlignSpec|string
|
|
34
32
|
/**
|
|
@@ -50,15 +48,13 @@ defineProps<{
|
|
|
50
48
|
/**
|
|
51
49
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
|
|
52
50
|
* 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)
|
|
51
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-ariaDescription)
|
|
55
52
|
*/
|
|
56
53
|
ariaDescription ? : string
|
|
57
54
|
/**
|
|
58
55
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
|
|
59
56
|
* the `aria-label` attribute.
|
|
60
|
-
* ...
|
|
61
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-ariaLabel)
|
|
57
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-ariaLabel)
|
|
62
58
|
*/
|
|
63
59
|
ariaLabel ? : string
|
|
64
60
|
/**
|
|
@@ -77,21 +73,18 @@ defineProps<{
|
|
|
77
73
|
/**
|
|
78
74
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
79
75
|
* hierarchy when triggered.
|
|
80
|
-
* ...
|
|
81
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-bubbleEvents)
|
|
76
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-bubbleEvents)
|
|
82
77
|
*/
|
|
83
78
|
bubbleEvents ? : object
|
|
84
79
|
/**
|
|
85
80
|
* 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)
|
|
81
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-callOnFunctions)
|
|
88
82
|
*/
|
|
89
83
|
callOnFunctions ? : Boolean
|
|
90
84
|
/**
|
|
91
85
|
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
92
86
|
* 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)
|
|
87
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-catchEventHandlerExceptions)
|
|
95
88
|
*/
|
|
96
89
|
catchEventHandlerExceptions ? : Boolean
|
|
97
90
|
/**
|
|
@@ -99,6 +92,15 @@ defineProps<{
|
|
|
99
92
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
100
93
|
*/
|
|
101
94
|
centered ? : Boolean
|
|
95
|
+
/**
|
|
96
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
97
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/grid/docs/api/Core/widget/Field#property-isValid)
|
|
98
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-required) check.
|
|
99
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-checkValidity)
|
|
100
|
+
* @param {Core.widget.Field} field The field being validated
|
|
101
|
+
* @returns {void}
|
|
102
|
+
*/
|
|
103
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
102
104
|
/**
|
|
103
105
|
* 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
106
|
* 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
|
|
@@ -114,15 +116,13 @@ defineProps<{
|
|
|
114
116
|
* Custom CSS classes to add to element.
|
|
115
117
|
* May be specified as a space separated string, or as an object in which property names
|
|
116
118
|
* 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
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-cls)
|
|
119
120
|
*/
|
|
120
121
|
cls ? : string|object
|
|
121
122
|
/**
|
|
122
123
|
* Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
|
|
123
124
|
* `style` block.
|
|
124
|
-
* ...
|
|
125
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-color)
|
|
125
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-color)
|
|
126
126
|
*/
|
|
127
127
|
color ? : Color
|
|
128
128
|
/**
|
|
@@ -139,15 +139,13 @@ defineProps<{
|
|
|
139
139
|
* The configuration for additional items associated to this field. This is typically used to add contextual
|
|
140
140
|
* fields related to a [checkbox](https://bryntum.com/products/grid/docs/api/Core/widget/Checkbox) or [radio button](#Core/widget/Radio). See
|
|
141
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)
|
|
142
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-container)
|
|
144
143
|
*/
|
|
145
|
-
container ? : Record<string, GridContainerItemConfig>|GridContainerItemConfig[]|FieldContainerConfig
|
|
144
|
+
container ? : Record<string, GridContainerItemConfig>|GridContainerItemConfig[]|FieldContainerConfig
|
|
146
145
|
/**
|
|
147
146
|
* The config controls how the value of nested items are handled when a parent container gets or sets its
|
|
148
147
|
* [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)
|
|
148
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-containValues)
|
|
151
149
|
* @param {Core.widget.Field} field Field instance
|
|
152
150
|
* @returns {boolean}
|
|
153
151
|
*/
|
|
@@ -156,8 +154,7 @@ defineProps<{
|
|
|
156
154
|
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement).
|
|
157
155
|
* May be specified as a space separated string, or as an object in which property names
|
|
158
156
|
* 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)
|
|
157
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-contentElementCls)
|
|
161
158
|
*/
|
|
162
159
|
contentElementCls ? : string|object
|
|
163
160
|
/**
|
|
@@ -175,16 +172,15 @@ defineProps<{
|
|
|
175
172
|
*/
|
|
176
173
|
defaultBindProperty ? : string
|
|
177
174
|
/**
|
|
178
|
-
* Check for CSS compatibility issues
|
|
179
|
-
*
|
|
180
|
-
* [
|
|
175
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
176
|
+
* checks:
|
|
177
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-detectCSSCompatibilityIssues)
|
|
181
178
|
*/
|
|
182
179
|
detectCSSCompatibilityIssues ? : Boolean
|
|
183
180
|
/**
|
|
184
181
|
* 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
182
|
* 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)
|
|
183
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-disabled)
|
|
188
184
|
*/
|
|
189
185
|
disabled ? : Boolean|'inert'
|
|
190
186
|
/**
|
|
@@ -192,33 +188,28 @@ defineProps<{
|
|
|
192
188
|
* [strips collection](https://bryntum.com/products/grid/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
193
189
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
194
190
|
* body. Such widgets are called "edge strips".
|
|
195
|
-
* ...
|
|
196
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-dock)
|
|
191
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-dock)
|
|
197
192
|
*/
|
|
198
193
|
dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
199
194
|
/**
|
|
200
195
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
201
196
|
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
202
197
|
* property which controls when a drag should start.
|
|
203
|
-
* ...
|
|
204
|
-
*
|
|
198
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-draggable)
|
|
199
|
+
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
205
200
|
*/
|
|
206
|
-
draggable ? : Boolean|
|
|
207
|
-
handleSelector?: string
|
|
208
|
-
}
|
|
201
|
+
draggable ? : Boolean|object
|
|
209
202
|
/**
|
|
210
203
|
* Set to `false` to prevent user from editing the field. For TextFields it is basically the same as setting
|
|
211
204
|
* [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
205
|
* 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)
|
|
206
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-editable)
|
|
215
207
|
*/
|
|
216
208
|
editable ? : Boolean
|
|
217
209
|
/**
|
|
218
210
|
* An object specifying attributes to assign to the root element of this widget.
|
|
219
211
|
* 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)
|
|
212
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-elementAttributes)
|
|
222
213
|
*/
|
|
223
214
|
elementAttributes ? : Record<string, string|null>
|
|
224
215
|
extraData ? : any
|
|
@@ -247,8 +238,7 @@ defineProps<{
|
|
|
247
238
|
hidden ? : Boolean
|
|
248
239
|
/**
|
|
249
240
|
* *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)
|
|
241
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-hideAnimation)
|
|
252
242
|
*/
|
|
253
243
|
hideAnimation ? : Boolean|object
|
|
254
244
|
/**
|
|
@@ -258,8 +248,7 @@ defineProps<{
|
|
|
258
248
|
/**
|
|
259
249
|
* An optional string to display inside the input field as an overlay. This can be useful for displaying
|
|
260
250
|
* a field's units.
|
|
261
|
-
* ...
|
|
262
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-hint)
|
|
251
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-hint)
|
|
263
252
|
* @param {object} data A data object
|
|
264
253
|
* @param {Core.widget.Field} data.source A reference to the field instance
|
|
265
254
|
* @param {any} data.value The current value of the field
|
|
@@ -270,8 +259,7 @@ defineProps<{
|
|
|
270
259
|
* 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
260
|
* Since this can allow malicious content to be executed, be sure not to include user-entered data or to
|
|
272
261
|
* 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)
|
|
262
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-hintHtml)
|
|
275
263
|
* @param {object} data A data object
|
|
276
264
|
* @param {Core.widget.Field} data.source A reference to the field instance
|
|
277
265
|
* @param {any} data.value The current value of the field
|
|
@@ -284,16 +272,14 @@ defineProps<{
|
|
|
284
272
|
id ? : string
|
|
285
273
|
/**
|
|
286
274
|
* 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)
|
|
275
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-ignoreParentReadOnly)
|
|
289
276
|
*/
|
|
290
277
|
ignoreParentReadOnly ? : Boolean
|
|
291
278
|
/**
|
|
292
279
|
* Set this config to `true` to always display items horizontally along with this field. This assigns an
|
|
293
280
|
* [hbox](https://bryntum.com/products/grid/docs/api/Core/widget/layout/Box) as the [layout](#Core/widget/Container#config-layout) to the
|
|
294
281
|
* [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)
|
|
282
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-inline)
|
|
297
283
|
*/
|
|
298
284
|
inline ? : Boolean
|
|
299
285
|
/**
|
|
@@ -333,16 +319,14 @@ defineProps<{
|
|
|
333
319
|
* An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
|
|
334
320
|
* and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
|
|
335
321
|
* 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)
|
|
322
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-keyMap)
|
|
338
323
|
*/
|
|
339
324
|
keyMap ? : Record<string, KeyMapConfig>
|
|
340
325
|
/**
|
|
341
326
|
* The delay in milliseconds to wait after the last keystroke before triggering a change event.
|
|
342
327
|
* Set to 0 to not trigger change events from keystrokes (listen for input event instead to have
|
|
343
328
|
* 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)
|
|
329
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-keyStrokeChangeDelay)
|
|
346
330
|
*/
|
|
347
331
|
keyStrokeChangeDelay ? : number
|
|
348
332
|
/**
|
|
@@ -355,15 +339,15 @@ defineProps<{
|
|
|
355
339
|
labelCls ? : string|object
|
|
356
340
|
/**
|
|
357
341
|
* 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)
|
|
342
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-labelPosition)
|
|
360
343
|
*/
|
|
361
344
|
labelPosition ? : 'before'|'above'|null
|
|
362
345
|
/**
|
|
363
346
|
* The labels to add either before or after the input field.
|
|
364
347
|
* Each label may have the following properties:
|
|
365
|
-
* ...
|
|
366
|
-
*
|
|
348
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-labels)
|
|
349
|
+
* @property {string} html Label text
|
|
350
|
+
* @property {'start','end'} align Which end of the file the label should go
|
|
367
351
|
*/
|
|
368
352
|
labels ? : object[]
|
|
369
353
|
/**
|
|
@@ -372,16 +356,14 @@ defineProps<{
|
|
|
372
356
|
labelWidth ? : string|number
|
|
373
357
|
/**
|
|
374
358
|
* The listener set for this object.
|
|
375
|
-
* ...
|
|
376
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-listeners)
|
|
359
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-listeners)
|
|
377
360
|
*/
|
|
378
361
|
listeners ? : AIFilterFieldListeners
|
|
379
362
|
/**
|
|
380
363
|
* A class translations of which are used for translating this entity.
|
|
381
364
|
* This is often used when translations of an item are defined on its container class.
|
|
382
365
|
* For example:
|
|
383
|
-
* ...
|
|
384
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-localeClass)
|
|
366
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-localeClass)
|
|
385
367
|
*/
|
|
386
368
|
localeClass ? : typeof Base
|
|
387
369
|
/**
|
|
@@ -393,8 +375,7 @@ defineProps<{
|
|
|
393
375
|
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
394
376
|
* you could use 'localeKey' meta configuration.
|
|
395
377
|
* Example:
|
|
396
|
-
* ...
|
|
397
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-localizableProperties)
|
|
378
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-localizableProperties)
|
|
398
379
|
*/
|
|
399
380
|
localizableProperties ? : string[]
|
|
400
381
|
/**
|
|
@@ -420,8 +401,7 @@ defineProps<{
|
|
|
420
401
|
maxHeight ? : string|number
|
|
421
402
|
/**
|
|
422
403
|
* *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)
|
|
404
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-maximizeOnMobile)
|
|
425
405
|
*/
|
|
426
406
|
maximizeOnMobile ? : number|string
|
|
427
407
|
/**
|
|
@@ -451,18 +431,15 @@ defineProps<{
|
|
|
451
431
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
452
432
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
453
433
|
* layout.
|
|
454
|
-
* ...
|
|
455
|
-
*
|
|
434
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-monitorResize)
|
|
435
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
456
436
|
*/
|
|
457
|
-
monitorResize ? : Boolean|
|
|
458
|
-
immediate?: Boolean
|
|
459
|
-
}
|
|
437
|
+
monitorResize ? : Boolean|object
|
|
460
438
|
/**
|
|
461
439
|
* Name of the field which is used as a key to get/set values from/to the field.
|
|
462
440
|
* 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
441
|
* [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)
|
|
442
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-name)
|
|
466
443
|
*/
|
|
467
444
|
name ? : string
|
|
468
445
|
/**
|
|
@@ -473,8 +450,7 @@ defineProps<{
|
|
|
473
450
|
* 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
|
|
474
451
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
475
452
|
* widget's [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement).
|
|
476
|
-
* ...
|
|
477
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-positioned)
|
|
453
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-positioned)
|
|
478
454
|
*/
|
|
479
455
|
positioned ? : Boolean
|
|
480
456
|
/**
|
|
@@ -489,15 +465,13 @@ defineProps<{
|
|
|
489
465
|
/**
|
|
490
466
|
* Makes the field unmodifiable by user action. The input area is not editable, and triggers
|
|
491
467
|
* are unresponsive.
|
|
492
|
-
* ...
|
|
493
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-readOnly)
|
|
468
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-readOnly)
|
|
494
469
|
*/
|
|
495
470
|
readOnly ? : Boolean
|
|
496
471
|
relayStoreEvents ? : Boolean
|
|
497
472
|
/**
|
|
498
473
|
* Predefined style to use for the field. Possible values are:
|
|
499
|
-
* ...
|
|
500
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-rendition)
|
|
474
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-rendition)
|
|
501
475
|
*/
|
|
502
476
|
rendition ? : 'outlined'|'filled'|string
|
|
503
477
|
/**
|
|
@@ -516,23 +490,26 @@ defineProps<{
|
|
|
516
490
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
517
491
|
* [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
|
|
518
492
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
519
|
-
* ...
|
|
520
|
-
* [
|
|
493
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-ripple)
|
|
494
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
495
|
+
* @property {string} [color] A CSS color name or specification.
|
|
496
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
497
|
+
* @property {string} [clip] A string which describes how to clip the ripple if it is not to be clipped to the default element. Either the property of the widget to use as the clipping element, or a selector to allow clipping to the closest matching ancestor to the target element.
|
|
498
|
+
*/
|
|
499
|
+
ripple ? : Boolean|object
|
|
500
|
+
/**
|
|
501
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
502
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
503
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-role)
|
|
521
504
|
*/
|
|
522
|
-
|
|
523
|
-
delegate?: string
|
|
524
|
-
color?: string
|
|
525
|
-
radius?: number
|
|
526
|
-
clip?: string
|
|
527
|
-
}
|
|
505
|
+
role ? : string
|
|
528
506
|
/**
|
|
529
507
|
* 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`
|
|
530
508
|
*/
|
|
531
509
|
rootElement ? : ShadowRoot|HTMLElement
|
|
532
510
|
/**
|
|
533
511
|
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
534
|
-
* ...
|
|
535
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-rtl)
|
|
512
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-rtl)
|
|
536
513
|
*/
|
|
537
514
|
rtl ? : Boolean
|
|
538
515
|
/**
|
|
@@ -542,8 +519,7 @@ defineProps<{
|
|
|
542
519
|
scrollAction ? : 'hide'|'realign'|null
|
|
543
520
|
/**
|
|
544
521
|
* *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/AIFilterField#config-showAnimation)
|
|
522
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-showAnimation)
|
|
547
523
|
*/
|
|
548
524
|
showAnimation ? : Boolean|object
|
|
549
525
|
/**
|
|
@@ -572,8 +548,7 @@ defineProps<{
|
|
|
572
548
|
* 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
|
|
573
549
|
* [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
|
|
574
550
|
* this widget:
|
|
575
|
-
* ...
|
|
576
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-tab)
|
|
551
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-tab)
|
|
577
552
|
*/
|
|
578
553
|
tab ? : Boolean|TabConfig
|
|
579
554
|
/**
|
|
@@ -581,14 +556,12 @@ defineProps<{
|
|
|
581
556
|
* is equivalent to natural tab order, but is unnecessary for fields since they are naturally tabbable
|
|
582
557
|
* (i.e., accessible via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set
|
|
583
558
|
* to the element programmatically.
|
|
584
|
-
* ...
|
|
585
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-tabIndex)
|
|
559
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-tabIndex)
|
|
586
560
|
*/
|
|
587
561
|
tabIndex ? : number
|
|
588
562
|
/**
|
|
589
563
|
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
590
|
-
* ...
|
|
591
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-textAlign)
|
|
564
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-textAlign)
|
|
592
565
|
*/
|
|
593
566
|
textAlign ? : 'left'|'center'|'right'|'start'|'end'
|
|
594
567
|
/**
|
|
@@ -597,24 +570,21 @@ defineProps<{
|
|
|
597
570
|
title ? : string
|
|
598
571
|
/**
|
|
599
572
|
* 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/AIFilterField#config-tooltip)
|
|
573
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-tooltip)
|
|
602
574
|
*/
|
|
603
575
|
tooltip ? : string|TooltipConfig|null
|
|
604
576
|
/**
|
|
605
577
|
* The triggers to add either before or after the input field. Each property name is the reference by which
|
|
606
578
|
* an instantiated Trigger Widget may be retrieved from the live `triggers` property.
|
|
607
|
-
* ...
|
|
608
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-triggers)
|
|
579
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-triggers)
|
|
609
580
|
*/
|
|
610
|
-
triggers ? : Record<string, FieldTriggerConfig
|
|
581
|
+
triggers ? : Record<string, FieldTriggerConfig>
|
|
611
582
|
type ? : 'aifilterfield'
|
|
612
583
|
/**
|
|
613
584
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
614
585
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
615
586
|
* values are used as the class names.
|
|
616
|
-
* ...
|
|
617
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-ui)
|
|
587
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-ui)
|
|
618
588
|
*/
|
|
619
589
|
ui ? : string|object
|
|
620
590
|
/**
|
|
@@ -639,14 +609,12 @@ defineProps<{
|
|
|
639
609
|
width ? : string|number
|
|
640
610
|
/**
|
|
641
611
|
* The x position for the widget.
|
|
642
|
-
* ...
|
|
643
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-x)
|
|
612
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-x)
|
|
644
613
|
*/
|
|
645
614
|
x ? : number
|
|
646
615
|
/**
|
|
647
616
|
* The y position for the widget.
|
|
648
|
-
* ...
|
|
649
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-y)
|
|
617
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-y)
|
|
650
618
|
*/
|
|
651
619
|
y ? : number
|
|
652
620
|
|
|
@@ -657,124 +625,102 @@ const emit = defineEmits<{
|
|
|
657
625
|
* User performed default action (typed into this field).
|
|
658
626
|
* @param {string} e Event name
|
|
659
627
|
* @param {object} params Event parameters
|
|
660
|
-
* @param {
|
|
661
|
-
* @param {
|
|
662
|
-
* @param {
|
|
663
|
-
* @param {
|
|
664
|
-
* @param {
|
|
665
|
-
* @param {
|
|
666
|
-
* @param {
|
|
667
|
-
* @param {
|
|
668
|
-
* @param {
|
|
669
|
-
* @param {
|
|
670
|
-
* @param {boolean} params.params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
671
|
-
* @param {boolean} params.params.event.checked
|
|
628
|
+
* @param {object} params.event Event object
|
|
629
|
+
* @param {Core.widget.Field,any} params.event.source This Field
|
|
630
|
+
* @param {string,number,boolean,any} params.event.value This field's value
|
|
631
|
+
* @param {string,number,boolean,any} params.event.oldValue This field's previous value
|
|
632
|
+
* @param {boolean} params.event.valid True if this field is in a valid state
|
|
633
|
+
* @param {Event} params.event.event The triggering DOM event if any
|
|
634
|
+
* @param {Core.data.Model} params.event.record Selected record. Available for fields with records selection functionality
|
|
635
|
+
* @param {Core.data.Model[]} params.event.records Selected records as an array. Available for fields with records selection functionality
|
|
636
|
+
* @param {boolean} params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
637
|
+
* @param {boolean} params.event.checked
|
|
672
638
|
*/
|
|
673
639
|
(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
|
|
674
640
|
/**
|
|
675
641
|
* Fires before an object is destroyed.
|
|
676
642
|
* @param {string} e Event name
|
|
677
643
|
* @param {object} params Event parameters
|
|
678
|
-
* @param {
|
|
679
|
-
* @param {
|
|
680
|
-
* @param {object} params.params.event Event object
|
|
681
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
644
|
+
* @param {object} params.event Event object
|
|
645
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
682
646
|
*/
|
|
683
647
|
(e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
|
|
684
648
|
/**
|
|
685
649
|
* Triggered before a widget is hidden. Return `false` to prevent the action.
|
|
686
650
|
* @param {string} e Event name
|
|
687
651
|
* @param {object} params Event parameters
|
|
688
|
-
* @param {
|
|
689
|
-
* @param {
|
|
690
|
-
* @param {object} params.params.event Event object
|
|
691
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being hidden.
|
|
652
|
+
* @param {object} params.event Event object
|
|
653
|
+
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
692
654
|
*/
|
|
693
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
655
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
694
656
|
/**
|
|
695
657
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
696
658
|
* @param {string} e Event name
|
|
697
659
|
* @param {object} params Event parameters
|
|
698
|
-
* @param {
|
|
699
|
-
* @param {
|
|
700
|
-
* @param {object} params.params.event Event object
|
|
701
|
-
* @param {Core.widget.Widget,any} params.params.event.source The widget being shown
|
|
660
|
+
* @param {object} params.event Event object
|
|
661
|
+
* @param {Core.widget.Widget,any} params.event.source The widget being shown
|
|
702
662
|
*/
|
|
703
663
|
(e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
704
664
|
/**
|
|
705
665
|
* Fires when any other event is fired from the object.
|
|
706
|
-
* ...
|
|
707
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#event-catchAll)
|
|
666
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#event-catchAll)
|
|
708
667
|
* @param {string} e Event name
|
|
709
668
|
* @param {object} params Event parameters
|
|
710
|
-
* @param {
|
|
711
|
-
* @param {
|
|
712
|
-
* @param {
|
|
713
|
-
* @param {{[key: string]: any, type: string}} params.params.event.event The Object that contains event details
|
|
714
|
-
* @param {string} params.params.event.event.type The type of the event which is caught by the listener
|
|
669
|
+
* @param {object} params.event Event object
|
|
670
|
+
* @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details
|
|
671
|
+
* @param {string} params.event.event.type The type of the event which is caught by the listener
|
|
715
672
|
*/
|
|
716
673
|
(e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
|
|
717
674
|
/**
|
|
718
675
|
* Fired when this field's value changes.
|
|
719
676
|
* @param {string} e Event name
|
|
720
677
|
* @param {object} params Event parameters
|
|
721
|
-
* @param {
|
|
722
|
-
* @param {
|
|
723
|
-
* @param {
|
|
724
|
-
* @param {
|
|
725
|
-
* @param {
|
|
726
|
-
* @param {
|
|
727
|
-
* @param {boolean} params.
|
|
728
|
-
* @param {
|
|
729
|
-
* @param {boolean} params.params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
730
|
-
* @param {boolean} params.params.event.checked
|
|
678
|
+
* @param {object} params.event Event object
|
|
679
|
+
* @param {Core.widget.Field,any} params.event.source This Field
|
|
680
|
+
* @param {string,number,boolean,any} params.event.value This field's value
|
|
681
|
+
* @param {string,number,boolean,any} params.event.oldValue This field's previous value
|
|
682
|
+
* @param {boolean} params.event.valid True if this field is in a valid state
|
|
683
|
+
* @param {Event} params.event.event The triggering DOM event if any
|
|
684
|
+
* @param {boolean} params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
685
|
+
* @param {boolean} params.event.checked
|
|
731
686
|
*/
|
|
732
687
|
(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
|
|
733
688
|
/**
|
|
734
689
|
* Fired when this field is [cleared](https://bryntum.com/products/grid/docs/api/Core/widget/Field#function-clear).
|
|
735
|
-
* ...
|
|
736
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#event-clear)
|
|
690
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#event-clear)
|
|
737
691
|
* @param {string} e Event name
|
|
738
692
|
* @param {object} params Event parameters
|
|
739
|
-
* @param {
|
|
740
|
-
* @param {
|
|
741
|
-
* @param {object} params.params.event Event object
|
|
742
|
-
* @param {Core.widget.Field,any} params.params.event.source This Field
|
|
693
|
+
* @param {object} params.event Event object
|
|
694
|
+
* @param {Core.widget.Field,any} params.event.source This Field
|
|
743
695
|
*/
|
|
744
696
|
(e: 'clear', params: ((event: { source: Field|any }) => void)|string): void
|
|
745
697
|
/**
|
|
746
698
|
* Fires when an object is destroyed.
|
|
747
699
|
* @param {string} e Event name
|
|
748
700
|
* @param {object} params Event parameters
|
|
749
|
-
* @param {
|
|
750
|
-
* @param {
|
|
751
|
-
* @param {object} params.params.event Event object
|
|
752
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
701
|
+
* @param {object} params.event Event object
|
|
702
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
753
703
|
*/
|
|
754
704
|
(e: 'destroy', params: ((event: { source: Base }) => void)|string): void
|
|
755
705
|
/**
|
|
756
706
|
* Triggered when a widget's [element](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-element) is available.
|
|
757
707
|
* @param {string} e Event name
|
|
758
708
|
* @param {object} params Event parameters
|
|
759
|
-
* @param {
|
|
760
|
-
* @param {
|
|
761
|
-
* @param {object} params.params.event Event object
|
|
762
|
-
* @param {HTMLElement} params.params.event.element The Widget's element.
|
|
709
|
+
* @param {object} params.event Event object
|
|
710
|
+
* @param {HTMLElement} params.event.element The Widget's element.
|
|
763
711
|
*/
|
|
764
712
|
(e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void
|
|
765
713
|
/**
|
|
766
714
|
* Fired when focus enters this Widget.
|
|
767
715
|
* @param {string} e Event name
|
|
768
716
|
* @param {object} params Event parameters
|
|
769
|
-
* @param {
|
|
770
|
-
* @param {
|
|
771
|
-
* @param {
|
|
772
|
-
* @param {
|
|
773
|
-
* @param {
|
|
774
|
-
* @param {
|
|
775
|
-
* @param {
|
|
776
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
777
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
717
|
+
* @param {object} params.event Event object
|
|
718
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
719
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
720
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
721
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
722
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
723
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
778
724
|
*/
|
|
779
725
|
(e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
780
726
|
/**
|
|
@@ -783,61 +729,50 @@ const emit = defineEmits<{
|
|
|
783
729
|
* will not trigger this event. This is when focus exits this widget completely.
|
|
784
730
|
* @param {string} e Event name
|
|
785
731
|
* @param {object} params Event parameters
|
|
786
|
-
* @param {
|
|
787
|
-
* @param {
|
|
788
|
-
* @param {
|
|
789
|
-
* @param {
|
|
790
|
-
* @param {
|
|
791
|
-
* @param {
|
|
792
|
-
* @param {
|
|
793
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
794
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
732
|
+
* @param {object} params.event Event object
|
|
733
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
734
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
735
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
736
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
737
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
738
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
795
739
|
*/
|
|
796
740
|
(e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
797
741
|
/**
|
|
798
742
|
* Triggered after a widget was hidden
|
|
799
743
|
* @param {string} e Event name
|
|
800
744
|
* @param {object} params Event parameters
|
|
801
|
-
* @param {
|
|
802
|
-
* @param {
|
|
803
|
-
* @param {object} params.params.event Event object
|
|
804
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
745
|
+
* @param {object} params.event Event object
|
|
746
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
805
747
|
*/
|
|
806
748
|
(e: 'hide', params: ((event: { source: Widget }) => void)|string): void
|
|
807
749
|
/**
|
|
808
750
|
* Fired when the user types into this field.
|
|
809
751
|
* @param {string} e Event name
|
|
810
752
|
* @param {object} params Event parameters
|
|
811
|
-
* @param {
|
|
812
|
-
* @param {
|
|
813
|
-
* @param {
|
|
814
|
-
* @param {
|
|
815
|
-
* @param {string,number,boolean,any} params.params.event.value This field's value
|
|
816
|
-
* @param {Event} params.params.event.event The triggering DOM event
|
|
753
|
+
* @param {object} params.event Event object
|
|
754
|
+
* @param {Core.widget.Field,any} params.event.source This field
|
|
755
|
+
* @param {string,number,boolean,any} params.event.value This field's value
|
|
756
|
+
* @param {Event} params.event.event The triggering DOM event
|
|
817
757
|
*/
|
|
818
758
|
(e: 'input', params: ((event: { source: Field|any, value: string|number|boolean|any, event: Event }) => void)|string): void
|
|
819
759
|
/**
|
|
820
760
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
821
761
|
* achieves visibility.
|
|
822
|
-
* ...
|
|
823
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#event-paint)
|
|
762
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#event-paint)
|
|
824
763
|
* @param {string} e Event name
|
|
825
764
|
* @param {object} params Event parameters
|
|
826
|
-
* @param {
|
|
827
|
-
* @param {
|
|
828
|
-
* @param {
|
|
829
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being painted.
|
|
830
|
-
* @param {boolean} params.params.event.firstPaint `true` if this is the first paint.
|
|
765
|
+
* @param {object} params.event Event object
|
|
766
|
+
* @param {Core.widget.Widget} params.event.source The widget being painted.
|
|
767
|
+
* @param {boolean} params.event.firstPaint `true` if this is the first paint.
|
|
831
768
|
*/
|
|
832
769
|
(e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void
|
|
833
770
|
/**
|
|
834
771
|
* Fired when a Widget's read only state is toggled
|
|
835
772
|
* @param {string} e Event name
|
|
836
773
|
* @param {object} params Event parameters
|
|
837
|
-
* @param {
|
|
838
|
-
* @param {
|
|
839
|
-
* @param {object} params.params.event Event object
|
|
840
|
-
* @param {boolean} params.params.event.readOnly Read only or not
|
|
774
|
+
* @param {object} params.event Event object
|
|
775
|
+
* @param {boolean} params.event.readOnly Read only or not
|
|
841
776
|
*/
|
|
842
777
|
(e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void
|
|
843
778
|
/**
|
|
@@ -849,35 +784,29 @@ const emit = defineEmits<{
|
|
|
849
784
|
* 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`*.
|
|
850
785
|
* @param {string} e Event name
|
|
851
786
|
* @param {object} params Event parameters
|
|
852
|
-
* @param {
|
|
853
|
-
* @param {
|
|
854
|
-
* @param {
|
|
855
|
-
* @param {
|
|
856
|
-
* @param {number} params.
|
|
857
|
-
* @param {number} params.
|
|
858
|
-
* @param {number} params.params.event.oldWidth The old width
|
|
859
|
-
* @param {number} params.params.event.oldHeight The old height
|
|
787
|
+
* @param {object} params.event Event object
|
|
788
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
789
|
+
* @param {number} params.event.width The new width
|
|
790
|
+
* @param {number} params.event.height The new height
|
|
791
|
+
* @param {number} params.event.oldWidth The old width
|
|
792
|
+
* @param {number} params.event.oldHeight The old height
|
|
860
793
|
*/
|
|
861
794
|
(e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
|
|
862
795
|
/**
|
|
863
796
|
* Triggered after a widget is shown.
|
|
864
797
|
* @param {string} e Event name
|
|
865
798
|
* @param {object} params Event parameters
|
|
866
|
-
* @param {
|
|
867
|
-
* @param {
|
|
868
|
-
* @param {object} params.params.event Event object
|
|
869
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
799
|
+
* @param {object} params.event Event object
|
|
800
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
870
801
|
*/
|
|
871
802
|
(e: 'show', params: ((event: { source: Widget }) => void)|string): void
|
|
872
803
|
/**
|
|
873
804
|
* User clicked one of this field's [triggers](https://bryntum.com/products/grid/docs/api/Core/widget/Field#property-triggers)
|
|
874
805
|
* @param {string} e Event name
|
|
875
806
|
* @param {object} params Event parameters
|
|
876
|
-
* @param {
|
|
877
|
-
* @param {
|
|
878
|
-
* @param {
|
|
879
|
-
* @param {Core.widget.Field,any} params.params.event.source This field
|
|
880
|
-
* @param {Core.widget.Widget} params.params.event.trigger The trigger activated by click or touch tap.
|
|
807
|
+
* @param {object} params.event Event object
|
|
808
|
+
* @param {Core.widget.Field,any} params.event.source This field
|
|
809
|
+
* @param {Core.widget.Widget} params.event.trigger The trigger activated by click or touch tap.
|
|
881
810
|
*/
|
|
882
811
|
(e: 'trigger', params: ((event: { source: Field|any, trigger: Widget }) => void)|string): void
|
|
883
812
|
}>();
|
|
@@ -896,6 +825,7 @@ const widgetData = {
|
|
|
896
825
|
'autoSelect',
|
|
897
826
|
'bubbleEvents',
|
|
898
827
|
'centered',
|
|
828
|
+
'checkValidity',
|
|
899
829
|
'clearable',
|
|
900
830
|
'client',
|
|
901
831
|
'color',
|
|
@@ -943,6 +873,7 @@ const widgetData = {
|
|
|
943
873
|
'relayStoreEvents',
|
|
944
874
|
'revertOnEscape',
|
|
945
875
|
'ripple',
|
|
876
|
+
'role',
|
|
946
877
|
'rootElement',
|
|
947
878
|
'scrollAction',
|
|
948
879
|
'showAnimation',
|
|
@@ -1018,9 +949,7 @@ const widgetData = {
|
|
|
1018
949
|
'y'
|
|
1019
950
|
],
|
|
1020
951
|
propertyNames : [
|
|
1021
|
-
'anchorSize',
|
|
1022
952
|
'content',
|
|
1023
|
-
'focusVisible',
|
|
1024
953
|
'formula',
|
|
1025
954
|
'html',
|
|
1026
955
|
'input',
|