@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, DomConfig, KeyMapConfig, MaskConfig, Rectangle, Scroller, ScrollerConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
13
|
+
import type { AlignSpec, Base, Color, DomConfig, KeyMapConfig, MaskConfig, ReactJSX, Rectangle, Scroller, ScrollerConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
14
14
|
import type { Grid, GridChartDesignerListeners } from '@bryntum/grid-thin';
|
|
15
15
|
import { GridChartDesigner } 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/GridChartDesigner#config-adopt)
|
|
24
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#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/GridChartDesigner#config-align)
|
|
29
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-align)
|
|
32
30
|
*/
|
|
33
31
|
align ? : AlignSpec|string
|
|
34
32
|
/**
|
|
@@ -50,35 +48,30 @@ 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/GridChartDesigner#config-ariaDescription)
|
|
51
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#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/GridChartDesigner#config-ariaLabel)
|
|
57
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-ariaLabel)
|
|
62
58
|
*/
|
|
63
59
|
ariaLabel ? : string
|
|
64
60
|
/**
|
|
65
61
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
66
62
|
* hierarchy when triggered.
|
|
67
|
-
* ...
|
|
68
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-bubbleEvents)
|
|
63
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-bubbleEvents)
|
|
69
64
|
*/
|
|
70
65
|
bubbleEvents ? : object
|
|
71
66
|
/**
|
|
72
67
|
* Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
|
|
73
|
-
* ...
|
|
74
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-callOnFunctions)
|
|
68
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-callOnFunctions)
|
|
75
69
|
*/
|
|
76
70
|
callOnFunctions ? : Boolean
|
|
77
71
|
/**
|
|
78
72
|
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
79
73
|
* application state is undefined. Code which follows the event handler will *not* be executed.
|
|
80
|
-
* ...
|
|
81
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-catchEventHandlerExceptions)
|
|
74
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-catchEventHandlerExceptions)
|
|
82
75
|
*/
|
|
83
76
|
catchEventHandlerExceptions ? : Boolean
|
|
84
77
|
/**
|
|
@@ -90,15 +83,13 @@ defineProps<{
|
|
|
90
83
|
* Custom CSS classes to add to element.
|
|
91
84
|
* May be specified as a space separated string, or as an object in which property names
|
|
92
85
|
* with truthy values are used as the class names:
|
|
93
|
-
* ...
|
|
94
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-cls)
|
|
86
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-cls)
|
|
95
87
|
*/
|
|
96
88
|
cls ? : string|object
|
|
97
89
|
/**
|
|
98
90
|
* Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
|
|
99
91
|
* `style` block.
|
|
100
|
-
* ...
|
|
101
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-color)
|
|
92
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-color)
|
|
102
93
|
*/
|
|
103
94
|
color ? : Color
|
|
104
95
|
/**
|
|
@@ -122,8 +113,7 @@ defineProps<{
|
|
|
122
113
|
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement).
|
|
123
114
|
* May be specified as a space separated string, or as an object in which property names
|
|
124
115
|
* with truthy values are used as the class names:
|
|
125
|
-
* ...
|
|
126
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-contentElementCls)
|
|
116
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-contentElementCls)
|
|
127
117
|
*/
|
|
128
118
|
contentElementCls ? : string|object
|
|
129
119
|
/**
|
|
@@ -141,16 +131,15 @@ defineProps<{
|
|
|
141
131
|
*/
|
|
142
132
|
defaultBindProperty ? : string
|
|
143
133
|
/**
|
|
144
|
-
* Check for CSS compatibility issues
|
|
145
|
-
*
|
|
146
|
-
* [
|
|
134
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
135
|
+
* checks:
|
|
136
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-detectCSSCompatibilityIssues)
|
|
147
137
|
*/
|
|
148
138
|
detectCSSCompatibilityIssues ? : Boolean
|
|
149
139
|
/**
|
|
150
140
|
* 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
|
|
151
141
|
* cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
|
|
152
|
-
* ...
|
|
153
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-disabled)
|
|
142
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-disabled)
|
|
154
143
|
*/
|
|
155
144
|
disabled ? : Boolean|'inert'
|
|
156
145
|
/**
|
|
@@ -158,25 +147,21 @@ defineProps<{
|
|
|
158
147
|
* [strips collection](https://bryntum.com/products/grid/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
159
148
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
160
149
|
* body. Such widgets are called "edge strips".
|
|
161
|
-
* ...
|
|
162
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-dock)
|
|
150
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-dock)
|
|
163
151
|
*/
|
|
164
152
|
dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
165
153
|
/**
|
|
166
154
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
167
155
|
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
168
156
|
* property which controls when a drag should start.
|
|
169
|
-
* ...
|
|
170
|
-
*
|
|
157
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-draggable)
|
|
158
|
+
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
171
159
|
*/
|
|
172
|
-
draggable ? : Boolean|
|
|
173
|
-
handleSelector?: string
|
|
174
|
-
}
|
|
160
|
+
draggable ? : Boolean|object
|
|
175
161
|
/**
|
|
176
162
|
* An object specifying attributes to assign to the root element of this widget.
|
|
177
163
|
* Set `null` value to attribute to remove it.
|
|
178
|
-
* ...
|
|
179
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-elementAttributes)
|
|
164
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-elementAttributes)
|
|
180
165
|
*/
|
|
181
166
|
elementAttributes ? : Record<string, string|null>
|
|
182
167
|
extraData ? : any
|
|
@@ -211,18 +196,15 @@ defineProps<{
|
|
|
211
196
|
hidden ? : Boolean
|
|
212
197
|
/**
|
|
213
198
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
214
|
-
* ...
|
|
215
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-hideAnimation)
|
|
199
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-hideAnimation)
|
|
216
200
|
*/
|
|
217
201
|
hideAnimation ? : Boolean|object
|
|
218
202
|
/**
|
|
219
203
|
* The HTML to display initially or a function returning the markup (called at widget construction time).
|
|
220
|
-
* ...
|
|
221
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-html)
|
|
204
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-html)
|
|
222
205
|
* @param {Core.widget.Widget} widget The calling Widget
|
|
223
|
-
* @returns {string}
|
|
224
206
|
*/
|
|
225
|
-
html ? : string|((widget: Widget) =>
|
|
207
|
+
html ? : string|((widget: Widget) => void)|DomConfig|DomConfig[]|VueConfig|ReactJSX
|
|
226
208
|
/**
|
|
227
209
|
* The CSS class(es) to add when HTML content is being applied to this widget.
|
|
228
210
|
*/
|
|
@@ -233,8 +215,7 @@ defineProps<{
|
|
|
233
215
|
id ? : string
|
|
234
216
|
/**
|
|
235
217
|
* Determines if the widgets read-only state should be controlled by its parent.
|
|
236
|
-
* ...
|
|
237
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-ignoreParentReadOnly)
|
|
218
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-ignoreParentReadOnly)
|
|
238
219
|
*/
|
|
239
220
|
ignoreParentReadOnly ? : Boolean
|
|
240
221
|
/**
|
|
@@ -249,22 +230,19 @@ defineProps<{
|
|
|
249
230
|
* An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
|
|
250
231
|
* and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
|
|
251
232
|
* are the name of the instance method to call when the keystroke is received.
|
|
252
|
-
* ...
|
|
253
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-keyMap)
|
|
233
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-keyMap)
|
|
254
234
|
*/
|
|
255
235
|
keyMap ? : Record<string, KeyMapConfig>
|
|
256
236
|
/**
|
|
257
237
|
* The listener set for this object.
|
|
258
|
-
* ...
|
|
259
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-listeners)
|
|
238
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-listeners)
|
|
260
239
|
*/
|
|
261
240
|
listeners ? : GridChartDesignerListeners
|
|
262
241
|
/**
|
|
263
242
|
* A class translations of which are used for translating this entity.
|
|
264
243
|
* This is often used when translations of an item are defined on its container class.
|
|
265
244
|
* For example:
|
|
266
|
-
* ...
|
|
267
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-localeClass)
|
|
245
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-localeClass)
|
|
268
246
|
*/
|
|
269
247
|
localeClass ? : typeof Base
|
|
270
248
|
/**
|
|
@@ -276,8 +254,7 @@ defineProps<{
|
|
|
276
254
|
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
277
255
|
* you could use 'localeKey' meta configuration.
|
|
278
256
|
* Example:
|
|
279
|
-
* ...
|
|
280
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-localizableProperties)
|
|
257
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-localizableProperties)
|
|
281
258
|
*/
|
|
282
259
|
localizableProperties ? : string[]
|
|
283
260
|
/**
|
|
@@ -303,8 +280,7 @@ defineProps<{
|
|
|
303
280
|
maxHeight ? : string|number
|
|
304
281
|
/**
|
|
305
282
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
306
|
-
* ...
|
|
307
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-maximizeOnMobile)
|
|
283
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-maximizeOnMobile)
|
|
308
284
|
*/
|
|
309
285
|
maximizeOnMobile ? : number|string
|
|
310
286
|
/**
|
|
@@ -326,18 +302,15 @@ defineProps<{
|
|
|
326
302
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
327
303
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
328
304
|
* layout.
|
|
329
|
-
* ...
|
|
330
|
-
*
|
|
305
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-monitorResize)
|
|
306
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
331
307
|
*/
|
|
332
|
-
monitorResize ? : Boolean|
|
|
333
|
-
immediate?: Boolean
|
|
334
|
-
}
|
|
308
|
+
monitorResize ? : Boolean|object
|
|
335
309
|
/**
|
|
336
310
|
* 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
|
|
337
311
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
338
312
|
* widget's [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement).
|
|
339
|
-
* ...
|
|
340
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-positioned)
|
|
313
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-positioned)
|
|
341
314
|
*/
|
|
342
315
|
positioned ? : Boolean
|
|
343
316
|
/**
|
|
@@ -348,8 +321,7 @@ defineProps<{
|
|
|
348
321
|
/**
|
|
349
322
|
* Whether this widget is read-only. This is only valid if the widget is an input
|
|
350
323
|
* field, <strong>or contains input fields at any depth</strong>.
|
|
351
|
-
* ...
|
|
352
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-readOnly)
|
|
324
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-readOnly)
|
|
353
325
|
*/
|
|
354
326
|
readOnly ? : Boolean
|
|
355
327
|
relayStoreEvents ? : Boolean
|
|
@@ -357,23 +329,26 @@ defineProps<{
|
|
|
357
329
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
358
330
|
* [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
|
|
359
331
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
360
|
-
* ...
|
|
361
|
-
* [
|
|
332
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-ripple)
|
|
333
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
334
|
+
* @property {string} [color] A CSS color name or specification.
|
|
335
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
336
|
+
* @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.
|
|
362
337
|
*/
|
|
363
|
-
ripple ? : Boolean|
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
338
|
+
ripple ? : Boolean|object
|
|
339
|
+
/**
|
|
340
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
341
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
342
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-role)
|
|
343
|
+
*/
|
|
344
|
+
role ? : string
|
|
369
345
|
/**
|
|
370
346
|
* 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`
|
|
371
347
|
*/
|
|
372
348
|
rootElement ? : ShadowRoot|HTMLElement
|
|
373
349
|
/**
|
|
374
350
|
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
375
|
-
* ...
|
|
376
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-rtl)
|
|
351
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-rtl)
|
|
377
352
|
*/
|
|
378
353
|
rtl ? : Boolean
|
|
379
354
|
/**
|
|
@@ -381,8 +356,7 @@ defineProps<{
|
|
|
381
356
|
* in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
|
|
382
357
|
* applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
|
|
383
358
|
* CSS overflow properties thus:
|
|
384
|
-
* ...
|
|
385
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-scrollable)
|
|
359
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-scrollable)
|
|
386
360
|
*/
|
|
387
361
|
scrollable ? : Boolean|ScrollerConfig|Scroller
|
|
388
362
|
/**
|
|
@@ -392,8 +366,7 @@ defineProps<{
|
|
|
392
366
|
scrollAction ? : 'hide'|'realign'|null
|
|
393
367
|
/**
|
|
394
368
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
395
|
-
* ...
|
|
396
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-showAnimation)
|
|
369
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-showAnimation)
|
|
397
370
|
*/
|
|
398
371
|
showAnimation ? : Boolean|object
|
|
399
372
|
/**
|
|
@@ -413,8 +386,7 @@ defineProps<{
|
|
|
413
386
|
* 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
|
|
414
387
|
* [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
|
|
415
388
|
* this widget:
|
|
416
|
-
* ...
|
|
417
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-tab)
|
|
389
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-tab)
|
|
418
390
|
*/
|
|
419
391
|
tab ? : Boolean|TabConfig
|
|
420
392
|
/**
|
|
@@ -423,8 +395,7 @@ defineProps<{
|
|
|
423
395
|
tag ? : string
|
|
424
396
|
/**
|
|
425
397
|
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
426
|
-
* ...
|
|
427
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-textAlign)
|
|
398
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-textAlign)
|
|
428
399
|
*/
|
|
429
400
|
textAlign ? : 'left'|'center'|'right'|'start'|'end'
|
|
430
401
|
/**
|
|
@@ -433,8 +404,7 @@ defineProps<{
|
|
|
433
404
|
title ? : string
|
|
434
405
|
/**
|
|
435
406
|
* Tooltip for the widget, either as a string or as a Tooltip config object.
|
|
436
|
-
* ...
|
|
437
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-tooltip)
|
|
407
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-tooltip)
|
|
438
408
|
*/
|
|
439
409
|
tooltip ? : string|TooltipConfig|null
|
|
440
410
|
type ? : 'gridchartdesigner'
|
|
@@ -442,8 +412,7 @@ defineProps<{
|
|
|
442
412
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
443
413
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
444
414
|
* values are used as the class names.
|
|
445
|
-
* ...
|
|
446
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-ui)
|
|
415
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-ui)
|
|
447
416
|
*/
|
|
448
417
|
ui ? : string|object
|
|
449
418
|
/**
|
|
@@ -459,14 +428,12 @@ defineProps<{
|
|
|
459
428
|
width ? : string|number
|
|
460
429
|
/**
|
|
461
430
|
* The x position for the widget.
|
|
462
|
-
* ...
|
|
463
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-x)
|
|
431
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-x)
|
|
464
432
|
*/
|
|
465
433
|
x ? : number
|
|
466
434
|
/**
|
|
467
435
|
* The y position for the widget.
|
|
468
|
-
* ...
|
|
469
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-y)
|
|
436
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-y)
|
|
470
437
|
*/
|
|
471
438
|
y ? : number
|
|
472
439
|
|
|
@@ -477,78 +444,63 @@ const emit = defineEmits<{
|
|
|
477
444
|
* Fires before an object is destroyed.
|
|
478
445
|
* @param {string} e Event name
|
|
479
446
|
* @param {object} params Event parameters
|
|
480
|
-
* @param {
|
|
481
|
-
* @param {
|
|
482
|
-
* @param {object} params.params.event Event object
|
|
483
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
447
|
+
* @param {object} params.event Event object
|
|
448
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
484
449
|
*/
|
|
485
450
|
(e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
|
|
486
451
|
/**
|
|
487
452
|
* Triggered before a widget is hidden. Return `false` to prevent the action.
|
|
488
453
|
* @param {string} e Event name
|
|
489
454
|
* @param {object} params Event parameters
|
|
490
|
-
* @param {
|
|
491
|
-
* @param {
|
|
492
|
-
* @param {object} params.params.event Event object
|
|
493
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being hidden.
|
|
455
|
+
* @param {object} params.event Event object
|
|
456
|
+
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
494
457
|
*/
|
|
495
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
458
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
496
459
|
/**
|
|
497
460
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
498
461
|
* @param {string} e Event name
|
|
499
462
|
* @param {object} params Event parameters
|
|
500
|
-
* @param {
|
|
501
|
-
* @param {
|
|
502
|
-
* @param {object} params.params.event Event object
|
|
503
|
-
* @param {Core.widget.Widget,any} params.params.event.source The widget being shown
|
|
463
|
+
* @param {object} params.event Event object
|
|
464
|
+
* @param {Core.widget.Widget,any} params.event.source The widget being shown
|
|
504
465
|
*/
|
|
505
466
|
(e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
506
467
|
/**
|
|
507
468
|
* Fires when any other event is fired from the object.
|
|
508
|
-
* ...
|
|
509
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#event-catchAll)
|
|
469
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#event-catchAll)
|
|
510
470
|
* @param {string} e Event name
|
|
511
471
|
* @param {object} params Event parameters
|
|
512
|
-
* @param {
|
|
513
|
-
* @param {
|
|
514
|
-
* @param {
|
|
515
|
-
* @param {{[key: string]: any, type: string}} params.params.event.event The Object that contains event details
|
|
516
|
-
* @param {string} params.params.event.event.type The type of the event which is caught by the listener
|
|
472
|
+
* @param {object} params.event Event object
|
|
473
|
+
* @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details
|
|
474
|
+
* @param {string} params.event.event.type The type of the event which is caught by the listener
|
|
517
475
|
*/
|
|
518
476
|
(e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
|
|
519
477
|
/**
|
|
520
478
|
* Fires when an object is destroyed.
|
|
521
479
|
* @param {string} e Event name
|
|
522
480
|
* @param {object} params Event parameters
|
|
523
|
-
* @param {
|
|
524
|
-
* @param {
|
|
525
|
-
* @param {object} params.params.event Event object
|
|
526
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
481
|
+
* @param {object} params.event Event object
|
|
482
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
527
483
|
*/
|
|
528
484
|
(e: 'destroy', params: ((event: { source: Base }) => void)|string): void
|
|
529
485
|
/**
|
|
530
486
|
* Triggered when a widget's [element](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-element) is available.
|
|
531
487
|
* @param {string} e Event name
|
|
532
488
|
* @param {object} params Event parameters
|
|
533
|
-
* @param {
|
|
534
|
-
* @param {
|
|
535
|
-
* @param {object} params.params.event Event object
|
|
536
|
-
* @param {HTMLElement} params.params.event.element The Widget's element.
|
|
489
|
+
* @param {object} params.event Event object
|
|
490
|
+
* @param {HTMLElement} params.event.element The Widget's element.
|
|
537
491
|
*/
|
|
538
492
|
(e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void
|
|
539
493
|
/**
|
|
540
494
|
* Fired when focus enters this Widget.
|
|
541
495
|
* @param {string} e Event name
|
|
542
496
|
* @param {object} params Event parameters
|
|
543
|
-
* @param {
|
|
544
|
-
* @param {
|
|
545
|
-
* @param {
|
|
546
|
-
* @param {
|
|
547
|
-
* @param {
|
|
548
|
-
* @param {
|
|
549
|
-
* @param {
|
|
550
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
551
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
497
|
+
* @param {object} params.event Event object
|
|
498
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
499
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
500
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
501
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
502
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
503
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
552
504
|
*/
|
|
553
505
|
(e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
554
506
|
/**
|
|
@@ -557,49 +509,40 @@ const emit = defineEmits<{
|
|
|
557
509
|
* will not trigger this event. This is when focus exits this widget completely.
|
|
558
510
|
* @param {string} e Event name
|
|
559
511
|
* @param {object} params Event parameters
|
|
560
|
-
* @param {
|
|
561
|
-
* @param {
|
|
562
|
-
* @param {
|
|
563
|
-
* @param {
|
|
564
|
-
* @param {
|
|
565
|
-
* @param {
|
|
566
|
-
* @param {
|
|
567
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
568
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
512
|
+
* @param {object} params.event Event object
|
|
513
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
514
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
515
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
516
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
517
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
518
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
569
519
|
*/
|
|
570
520
|
(e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
571
521
|
/**
|
|
572
522
|
* Triggered after a widget was hidden
|
|
573
523
|
* @param {string} e Event name
|
|
574
524
|
* @param {object} params Event parameters
|
|
575
|
-
* @param {
|
|
576
|
-
* @param {
|
|
577
|
-
* @param {object} params.params.event Event object
|
|
578
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
525
|
+
* @param {object} params.event Event object
|
|
526
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
579
527
|
*/
|
|
580
528
|
(e: 'hide', params: ((event: { source: Widget }) => void)|string): void
|
|
581
529
|
/**
|
|
582
530
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
583
531
|
* achieves visibility.
|
|
584
|
-
* ...
|
|
585
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#event-paint)
|
|
532
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#event-paint)
|
|
586
533
|
* @param {string} e Event name
|
|
587
534
|
* @param {object} params Event parameters
|
|
588
|
-
* @param {
|
|
589
|
-
* @param {
|
|
590
|
-
* @param {
|
|
591
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being painted.
|
|
592
|
-
* @param {boolean} params.params.event.firstPaint `true` if this is the first paint.
|
|
535
|
+
* @param {object} params.event Event object
|
|
536
|
+
* @param {Core.widget.Widget} params.event.source The widget being painted.
|
|
537
|
+
* @param {boolean} params.event.firstPaint `true` if this is the first paint.
|
|
593
538
|
*/
|
|
594
539
|
(e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void
|
|
595
540
|
/**
|
|
596
541
|
* Fired when a Widget's read only state is toggled
|
|
597
542
|
* @param {string} e Event name
|
|
598
543
|
* @param {object} params Event parameters
|
|
599
|
-
* @param {
|
|
600
|
-
* @param {
|
|
601
|
-
* @param {object} params.params.event Event object
|
|
602
|
-
* @param {boolean} params.params.event.readOnly Read only or not
|
|
544
|
+
* @param {object} params.event Event object
|
|
545
|
+
* @param {boolean} params.event.readOnly Read only or not
|
|
603
546
|
*/
|
|
604
547
|
(e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void
|
|
605
548
|
/**
|
|
@@ -611,24 +554,20 @@ const emit = defineEmits<{
|
|
|
611
554
|
* 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`*.
|
|
612
555
|
* @param {string} e Event name
|
|
613
556
|
* @param {object} params Event parameters
|
|
614
|
-
* @param {
|
|
615
|
-
* @param {
|
|
616
|
-
* @param {
|
|
617
|
-
* @param {
|
|
618
|
-
* @param {number} params.
|
|
619
|
-
* @param {number} params.
|
|
620
|
-
* @param {number} params.params.event.oldWidth The old width
|
|
621
|
-
* @param {number} params.params.event.oldHeight The old height
|
|
557
|
+
* @param {object} params.event Event object
|
|
558
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
559
|
+
* @param {number} params.event.width The new width
|
|
560
|
+
* @param {number} params.event.height The new height
|
|
561
|
+
* @param {number} params.event.oldWidth The old width
|
|
562
|
+
* @param {number} params.event.oldHeight The old height
|
|
622
563
|
*/
|
|
623
564
|
(e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
|
|
624
565
|
/**
|
|
625
566
|
* Triggered after a widget is shown.
|
|
626
567
|
* @param {string} e Event name
|
|
627
568
|
* @param {object} params Event parameters
|
|
628
|
-
* @param {
|
|
629
|
-
* @param {
|
|
630
|
-
* @param {object} params.params.event Event object
|
|
631
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
569
|
+
* @param {object} params.event Event object
|
|
570
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
632
571
|
*/
|
|
633
572
|
(e: 'show', params: ((event: { source: Widget }) => void)|string): void
|
|
634
573
|
}>();
|
|
@@ -671,6 +610,7 @@ const widgetData = {
|
|
|
671
610
|
'preventTooltipOnTouch',
|
|
672
611
|
'relayStoreEvents',
|
|
673
612
|
'ripple',
|
|
613
|
+
'role',
|
|
674
614
|
'rootElement',
|
|
675
615
|
'scrollAction',
|
|
676
616
|
'showAnimation',
|
|
@@ -733,8 +673,6 @@ const widgetData = {
|
|
|
733
673
|
'y'
|
|
734
674
|
],
|
|
735
675
|
propertyNames : [
|
|
736
|
-
'anchorSize',
|
|
737
|
-
'focusVisible',
|
|
738
676
|
'parent'
|
|
739
677
|
],
|
|
740
678
|
eventNames : [
|