@bryntum/scheduler-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 +8 -8
- package/lib/chunks/{B0m0r-NV.js → BTSObfAz.js} +11 -9
- package/lib/chunks/BTSObfAz.js.map +1 -0
- package/lib/chunks/BXIuEgYD.js +265 -0
- package/lib/chunks/BXIuEgYD.js.map +1 -0
- package/lib/chunks/{DerP_qo7.js → CCTV8qn0.js} +18 -10
- package/lib/chunks/CCTV8qn0.js.map +1 -0
- package/lib/chunks/{CsoS615B.js → COFzBhB8.js} +11 -9
- package/lib/chunks/COFzBhB8.js.map +1 -0
- package/lib/chunks/{BD-Hg3lY.js → DB0UHrA3.js} +17 -24
- package/lib/chunks/DB0UHrA3.js.map +1 -0
- package/lib/chunks/{C7ZFK2B7.js → DJSlX0qP.js} +18 -10
- package/lib/chunks/DJSlX0qP.js.map +1 -0
- package/lib/chunks/{DmQj0tBi.js → DP61St-u.js} +14 -6
- package/lib/chunks/DP61St-u.js.map +1 -0
- package/lib/chunks/{mKqb8_2f.js → LNqNYJck.js} +9 -7
- package/lib/chunks/LNqNYJck.js.map +1 -0
- package/lib/chunks/{CP1Mm_Ak.js → R69sJLmF.js} +16 -17
- package/lib/chunks/R69sJLmF.js.map +1 -0
- package/lib/chunks/{BNGLBrCN.js → WykRcMCN.js} +7 -5
- package/lib/chunks/WykRcMCN.js.map +1 -0
- package/lib/chunks/{C0UqC4Uj.js → eUISgYXE.js} +9 -9
- package/lib/chunks/eUISgYXE.js.map +1 -0
- package/lib/chunks/{C2PT-Ukt.js → t8aiH3XL.js} +13 -14
- package/lib/chunks/t8aiH3XL.js.map +1 -0
- package/lib/components/BryntumEventColorField.js +1 -1
- package/lib/components/BryntumProjectCombo.js +1 -1
- package/lib/components/BryntumResourceCombo.js +1 -1
- package/lib/components/BryntumResourceFilter.js +1 -1
- package/lib/components/BryntumScheduler.js +1 -1
- package/lib/components/BryntumSchedulerBase.js +1 -1
- package/lib/components/BryntumSchedulerDatePicker.js +1 -1
- package/lib/components/BryntumSchedulerProjectModel.js +1 -1
- package/lib/components/BryntumThemeCombo.js +57 -0
- package/lib/components/BryntumThemeCombo.js.map +1 -0
- package/lib/components/BryntumTimeZoomSlider.js +5 -0
- package/lib/components/BryntumTimeZoomSlider.js.map +1 -0
- package/lib/components/BryntumTimelineHistogram.js +1 -1
- package/lib/components/BryntumUndoRedo.js +1 -1
- package/lib/components/BryntumViewPresetCombo.js +1 -1
- package/lib/index.js +18 -16
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/BryntumEventColorField.vue +152 -222
- package/src/components/BryntumEventColorFieldProps.ts +77 -108
- package/src/components/BryntumProjectCombo.vue +171 -258
- package/src/components/BryntumProjectComboProps.ts +95 -141
- package/src/components/BryntumResourceCombo.vue +172 -260
- package/src/components/BryntumResourceComboProps.ts +96 -143
- package/src/components/BryntumResourceFilter.vue +132 -211
- package/src/components/BryntumResourceFilterProps.ts +60 -98
- package/src/components/BryntumScheduler.vue +1847 -2520
- package/src/components/BryntumSchedulerBase.vue +1847 -2520
- package/src/components/BryntumSchedulerBaseProps.ts +372 -522
- package/src/components/BryntumSchedulerDatePicker.vue +205 -331
- package/src/components/BryntumSchedulerDatePickerProps.ts +116 -187
- package/src/components/BryntumSchedulerProjectModel.vue +23 -46
- package/src/components/BryntumSchedulerProjectModelProps.ts +10 -20
- package/src/components/BryntumSchedulerProps.ts +372 -522
- package/src/components/BryntumThemeCombo.vue +60 -0
- package/src/components/BryntumTimeZoomSlider.vue +829 -0
- package/src/components/BryntumTimeZoomSliderProps.ts +482 -0
- package/src/components/BryntumTimelineHistogram.vue +1034 -1461
- package/src/components/BryntumTimelineHistogramProps.ts +275 -388
- package/src/components/BryntumUndoRedo.vue +127 -204
- package/src/components/BryntumUndoRedoProps.ts +74 -116
- package/src/components/BryntumViewPresetCombo.vue +144 -210
- package/src/components/BryntumViewPresetComboProps.ts +72 -99
- package/src/index.ts +2 -0
- package/lib/chunks/B0m0r-NV.js.map +0 -1
- package/lib/chunks/BD-Hg3lY.js.map +0 -1
- package/lib/chunks/BNGLBrCN.js.map +0 -1
- package/lib/chunks/C0UqC4Uj.js.map +0 -1
- package/lib/chunks/C2PT-Ukt.js.map +0 -1
- package/lib/chunks/C7ZFK2B7.js.map +0 -1
- package/lib/chunks/CP1Mm_Ak.js.map +0 -1
- package/lib/chunks/CsoS615B.js.map +0 -1
- package/lib/chunks/DerP_qo7.js.map +0 -1
- package/lib/chunks/DmQj0tBi.js.map +0 -1
- package/lib/chunks/mKqb8_2f.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, Collection, CollectionConfig, Color, DomConfig, Field, KeyMapConfig, List, MaskConfig, Model, Rectangle, Scroller, ScrollerConfig, Store, StoreConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
13
|
+
import type { AlignSpec, Base, Collection, CollectionConfig, Color, DomConfig, Field, KeyMapConfig, List, MaskConfig, Model, ReactJSX, Rectangle, Scroller, ScrollerConfig, Store, StoreConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
14
14
|
import type { EventStore, ResourceFilterListeners, ResourceModel } from '@bryntum/scheduler-thin';
|
|
15
15
|
import { ResourceFilter } from '@bryntum/scheduler-thin';
|
|
16
16
|
|
|
@@ -26,14 +26,12 @@ defineProps<{
|
|
|
26
26
|
/**
|
|
27
27
|
* Element (or element id) to adopt as this Widget's encapsulating element. The widget's
|
|
28
28
|
* content will be placed inside this element.
|
|
29
|
-
* ...
|
|
30
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-adopt)
|
|
29
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-adopt)
|
|
31
30
|
*/
|
|
32
31
|
adopt ? : HTMLElement|string
|
|
33
32
|
/**
|
|
34
33
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
|
|
35
|
-
* ...
|
|
36
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-align)
|
|
34
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-align)
|
|
37
35
|
*/
|
|
38
36
|
align ? : AlignSpec|string
|
|
39
37
|
/**
|
|
@@ -60,35 +58,30 @@ defineProps<{
|
|
|
60
58
|
/**
|
|
61
59
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
|
|
62
60
|
* into an element which will be linked using the `aria-describedby` attribute.
|
|
63
|
-
* ...
|
|
64
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-ariaDescription)
|
|
61
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-ariaDescription)
|
|
65
62
|
*/
|
|
66
63
|
ariaDescription ? : string
|
|
67
64
|
/**
|
|
68
65
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
|
|
69
66
|
* the `aria-label` attribute.
|
|
70
|
-
* ...
|
|
71
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-ariaLabel)
|
|
67
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-ariaLabel)
|
|
72
68
|
*/
|
|
73
69
|
ariaLabel ? : string
|
|
74
70
|
/**
|
|
75
71
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
76
72
|
* hierarchy when triggered.
|
|
77
|
-
* ...
|
|
78
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-bubbleEvents)
|
|
73
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-bubbleEvents)
|
|
79
74
|
*/
|
|
80
75
|
bubbleEvents ? : object
|
|
81
76
|
/**
|
|
82
77
|
* Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
|
|
83
|
-
* ...
|
|
84
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-callOnFunctions)
|
|
78
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-callOnFunctions)
|
|
85
79
|
*/
|
|
86
80
|
callOnFunctions ? : Boolean
|
|
87
81
|
/**
|
|
88
82
|
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
89
83
|
* application state is undefined. Code which follows the event handler will *not* be executed.
|
|
90
|
-
* ...
|
|
91
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-catchEventHandlerExceptions)
|
|
84
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-catchEventHandlerExceptions)
|
|
92
85
|
*/
|
|
93
86
|
catchEventHandlerExceptions ? : Boolean
|
|
94
87
|
/**
|
|
@@ -104,8 +97,7 @@ defineProps<{
|
|
|
104
97
|
* Custom CSS classes to add to element.
|
|
105
98
|
* May be specified as a space separated string, or as an object in which property names
|
|
106
99
|
* with truthy values are used as the class names:
|
|
107
|
-
* ...
|
|
108
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-cls)
|
|
100
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-cls)
|
|
109
101
|
*/
|
|
110
102
|
cls ? : string|object
|
|
111
103
|
/**
|
|
@@ -115,8 +107,7 @@ defineProps<{
|
|
|
115
107
|
/**
|
|
116
108
|
* Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
|
|
117
109
|
* `style` block.
|
|
118
|
-
* ...
|
|
119
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-color)
|
|
110
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-color)
|
|
120
111
|
*/
|
|
121
112
|
color ? : Color
|
|
122
113
|
/**
|
|
@@ -140,8 +131,7 @@ defineProps<{
|
|
|
140
131
|
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement).
|
|
141
132
|
* May be specified as a space separated string, or as an object in which property names
|
|
142
133
|
* with truthy values are used as the class names:
|
|
143
|
-
* ...
|
|
144
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-contentElementCls)
|
|
134
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-contentElementCls)
|
|
145
135
|
*/
|
|
146
136
|
contentElementCls ? : string|object
|
|
147
137
|
/**
|
|
@@ -159,16 +149,15 @@ defineProps<{
|
|
|
159
149
|
*/
|
|
160
150
|
defaultBindProperty ? : string
|
|
161
151
|
/**
|
|
162
|
-
* Check for CSS compatibility issues
|
|
163
|
-
*
|
|
164
|
-
* [
|
|
152
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
153
|
+
* checks:
|
|
154
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-detectCSSCompatibilityIssues)
|
|
165
155
|
*/
|
|
166
156
|
detectCSSCompatibilityIssues ? : Boolean
|
|
167
157
|
/**
|
|
168
158
|
* Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget
|
|
169
159
|
* cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
|
|
170
|
-
* ...
|
|
171
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-disabled)
|
|
160
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-disabled)
|
|
172
161
|
*/
|
|
173
162
|
disabled ? : Boolean|'inert'
|
|
174
163
|
/**
|
|
@@ -180,25 +169,21 @@ defineProps<{
|
|
|
180
169
|
* [strips collection](https://bryntum.com/products/scheduler/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
181
170
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
182
171
|
* body. Such widgets are called "edge strips".
|
|
183
|
-
* ...
|
|
184
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-dock)
|
|
172
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-dock)
|
|
185
173
|
*/
|
|
186
174
|
dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
187
175
|
/**
|
|
188
176
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
|
|
189
177
|
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
190
178
|
* property which controls when a drag should start.
|
|
191
|
-
* ...
|
|
192
|
-
*
|
|
179
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-draggable)
|
|
180
|
+
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
193
181
|
*/
|
|
194
|
-
draggable ? : Boolean|
|
|
195
|
-
handleSelector?: string
|
|
196
|
-
}
|
|
182
|
+
draggable ? : Boolean|object
|
|
197
183
|
/**
|
|
198
184
|
* An object specifying attributes to assign to the root element of this widget.
|
|
199
185
|
* Set `null` value to attribute to remove it.
|
|
200
|
-
* ...
|
|
201
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-elementAttributes)
|
|
186
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-elementAttributes)
|
|
202
187
|
*/
|
|
203
188
|
elementAttributes ? : Record<string, string|null>
|
|
204
189
|
/**
|
|
@@ -215,8 +200,7 @@ defineProps<{
|
|
|
215
200
|
* By default, deselecting list items filters only the [eventStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-eventStore) so that
|
|
216
201
|
* events for the deselected resources are hidden from view. The `resourceStore` is <strong>not</strong>
|
|
217
202
|
* filtered.
|
|
218
|
-
* ...
|
|
219
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-filterResources)
|
|
203
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-filterResources)
|
|
220
204
|
*/
|
|
221
205
|
filterResources ? : Boolean
|
|
222
206
|
/**
|
|
@@ -266,18 +250,15 @@ defineProps<{
|
|
|
266
250
|
hidden ? : Boolean
|
|
267
251
|
/**
|
|
268
252
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
|
|
269
|
-
* ...
|
|
270
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-hideAnimation)
|
|
253
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-hideAnimation)
|
|
271
254
|
*/
|
|
272
255
|
hideAnimation ? : Boolean|object
|
|
273
256
|
/**
|
|
274
257
|
* The HTML to display initially or a function returning the markup (called at widget construction time).
|
|
275
|
-
* ...
|
|
276
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-html)
|
|
258
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-html)
|
|
277
259
|
* @param {Core.widget.Widget} widget The calling Widget
|
|
278
|
-
* @returns {string}
|
|
279
260
|
*/
|
|
280
|
-
html ? : string|((widget: Widget) =>
|
|
261
|
+
html ? : string|((widget: Widget) => void)|DomConfig|DomConfig[]|VueConfig|ReactJSX
|
|
281
262
|
/**
|
|
282
263
|
* The CSS class(es) to add when HTML content is being applied to this widget.
|
|
283
264
|
*/
|
|
@@ -288,8 +269,7 @@ defineProps<{
|
|
|
288
269
|
id ? : string
|
|
289
270
|
/**
|
|
290
271
|
* Determines if the widgets read-only state should be controlled by its parent.
|
|
291
|
-
* ...
|
|
292
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-ignoreParentReadOnly)
|
|
272
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-ignoreParentReadOnly)
|
|
293
273
|
*/
|
|
294
274
|
ignoreParentReadOnly ? : Boolean
|
|
295
275
|
/**
|
|
@@ -323,22 +303,19 @@ defineProps<{
|
|
|
323
303
|
* An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
|
|
324
304
|
* and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
|
|
325
305
|
* are the name of the instance method to call when the keystroke is received.
|
|
326
|
-
* ...
|
|
327
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-keyMap)
|
|
306
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-keyMap)
|
|
328
307
|
*/
|
|
329
308
|
keyMap ? : Record<string, KeyMapConfig>
|
|
330
309
|
/**
|
|
331
310
|
* The listener set for this object.
|
|
332
|
-
* ...
|
|
333
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-listeners)
|
|
311
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-listeners)
|
|
334
312
|
*/
|
|
335
313
|
listeners ? : ResourceFilterListeners
|
|
336
314
|
/**
|
|
337
315
|
* A class translations of which are used for translating this entity.
|
|
338
316
|
* This is often used when translations of an item are defined on its container class.
|
|
339
317
|
* For example:
|
|
340
|
-
* ...
|
|
341
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-localeClass)
|
|
318
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-localeClass)
|
|
342
319
|
*/
|
|
343
320
|
localeClass ? : typeof Base
|
|
344
321
|
/**
|
|
@@ -350,8 +327,7 @@ defineProps<{
|
|
|
350
327
|
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
351
328
|
* you could use 'localeKey' meta configuration.
|
|
352
329
|
* Example:
|
|
353
|
-
* ...
|
|
354
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-localizableProperties)
|
|
330
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-localizableProperties)
|
|
355
331
|
*/
|
|
356
332
|
localizableProperties ? : string[]
|
|
357
333
|
/**
|
|
@@ -373,8 +349,7 @@ defineProps<{
|
|
|
373
349
|
/**
|
|
374
350
|
* An optional filter function to apply when loading resources from the project's
|
|
375
351
|
* resource store. Defaults to loading all resources.
|
|
376
|
-
* ...
|
|
377
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-masterFilter)
|
|
352
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-masterFilter)
|
|
378
353
|
* @param {Scheduler.model.ResourceModel} resource Resorce for filtering
|
|
379
354
|
* @returns {boolean} Returns `true` to include the passed resource
|
|
380
355
|
*/
|
|
@@ -386,8 +361,7 @@ defineProps<{
|
|
|
386
361
|
maxHeight ? : string|number
|
|
387
362
|
/**
|
|
388
363
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
|
|
389
|
-
* ...
|
|
390
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-maximizeOnMobile)
|
|
364
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-maximizeOnMobile)
|
|
391
365
|
*/
|
|
392
366
|
maximizeOnMobile ? : number|string
|
|
393
367
|
/**
|
|
@@ -409,12 +383,10 @@ defineProps<{
|
|
|
409
383
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
410
384
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
411
385
|
* layout.
|
|
412
|
-
* ...
|
|
413
|
-
*
|
|
386
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-monitorResize)
|
|
387
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
414
388
|
*/
|
|
415
|
-
monitorResize ? : Boolean|
|
|
416
|
-
immediate?: Boolean
|
|
417
|
-
}
|
|
389
|
+
monitorResize ? : Boolean|object
|
|
418
390
|
/**
|
|
419
391
|
* Configure as `false` to only allow selecting one resource at a time
|
|
420
392
|
*/
|
|
@@ -423,8 +395,7 @@ defineProps<{
|
|
|
423
395
|
* Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement), but must
|
|
424
396
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
425
397
|
* widget's [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement).
|
|
426
|
-
* ...
|
|
427
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-positioned)
|
|
398
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-positioned)
|
|
428
399
|
*/
|
|
429
400
|
positioned ? : Boolean
|
|
430
401
|
/**
|
|
@@ -435,8 +406,7 @@ defineProps<{
|
|
|
435
406
|
/**
|
|
436
407
|
* Whether this widget is read-only. This is only valid if the widget is an input
|
|
437
408
|
* field, <strong>or contains input fields at any depth</strong>.
|
|
438
|
-
* ...
|
|
439
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-readOnly)
|
|
409
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-readOnly)
|
|
440
410
|
*/
|
|
441
411
|
readOnly ? : Boolean
|
|
442
412
|
relayStoreEvents ? : Boolean
|
|
@@ -444,23 +414,26 @@ defineProps<{
|
|
|
444
414
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
445
415
|
* [focusElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-focusElement), or [element](#Core/widget/Widget#property-element) is tapped <em>if the
|
|
446
416
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
447
|
-
* ...
|
|
448
|
-
* [
|
|
417
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-ripple)
|
|
418
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
419
|
+
* @property {string} [color] A CSS color name or specification.
|
|
420
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
421
|
+
* @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.
|
|
422
|
+
*/
|
|
423
|
+
ripple ? : Boolean|object
|
|
424
|
+
/**
|
|
425
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
426
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
427
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-role)
|
|
449
428
|
*/
|
|
450
|
-
|
|
451
|
-
delegate?: string
|
|
452
|
-
color?: string
|
|
453
|
-
radius?: number
|
|
454
|
-
clip?: string
|
|
455
|
-
}
|
|
429
|
+
role ? : string
|
|
456
430
|
/**
|
|
457
431
|
* 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`
|
|
458
432
|
*/
|
|
459
433
|
rootElement ? : ShadowRoot|HTMLElement
|
|
460
434
|
/**
|
|
461
435
|
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
462
|
-
* ...
|
|
463
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-rtl)
|
|
436
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-rtl)
|
|
464
437
|
*/
|
|
465
438
|
rtl ? : Boolean
|
|
466
439
|
/**
|
|
@@ -468,8 +441,7 @@ defineProps<{
|
|
|
468
441
|
* in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
|
|
469
442
|
* applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
|
|
470
443
|
* CSS overflow properties thus:
|
|
471
|
-
* ...
|
|
472
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-scrollable)
|
|
444
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-scrollable)
|
|
473
445
|
*/
|
|
474
446
|
scrollable ? : Boolean|ScrollerConfig|Scroller
|
|
475
447
|
/**
|
|
@@ -485,14 +457,12 @@ defineProps<{
|
|
|
485
457
|
/**
|
|
486
458
|
* A [Collection](https://bryntum.com/products/scheduler/docs/api/Core/util/Collection), or Collection config object to use to contain this List's selected
|
|
487
459
|
* records.
|
|
488
|
-
* ...
|
|
489
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-selected)
|
|
460
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-selected)
|
|
490
461
|
*/
|
|
491
462
|
selected ? : object[]|number[]|string[]|Collection|CollectionConfig|CollectionConfig[]
|
|
492
463
|
/**
|
|
493
464
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
|
|
494
|
-
* ...
|
|
495
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-showAnimation)
|
|
465
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-showAnimation)
|
|
496
466
|
*/
|
|
497
467
|
showAnimation ? : Boolean|object
|
|
498
468
|
/**
|
|
@@ -506,16 +476,14 @@ defineProps<{
|
|
|
506
476
|
/**
|
|
507
477
|
* A [Store](https://bryntum.com/products/scheduler/docs/api/Core/data/Store) which provides the records which map to List items. Each record is passed through the
|
|
508
478
|
* [itemTpl](https://bryntum.com/products/scheduler/docs/api/Core/widget/List#config-itemTpl) to produce the DOM structure of the List. May be generated from an array of [items](#Core/widget/List#config-items).
|
|
509
|
-
* ...
|
|
510
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-store)
|
|
479
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-store)
|
|
511
480
|
*/
|
|
512
481
|
store ? : object|object[]|StoreConfig|Store|StoreConfig[]
|
|
513
482
|
/**
|
|
514
483
|
* A configuration for the [tab](https://bryntum.com/products/scheduler/docs/api/Core/widget/Tab) created for this widget when it is placed in a
|
|
515
484
|
* [TabPanel](https://bryntum.com/products/scheduler/docs/api/Core/widget/TabPanel). For example, this config can be used to control the icon of the `tab` for
|
|
516
485
|
* this widget:
|
|
517
|
-
* ...
|
|
518
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-tab)
|
|
486
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-tab)
|
|
519
487
|
*/
|
|
520
488
|
tab ? : Boolean|TabConfig
|
|
521
489
|
/**
|
|
@@ -524,8 +492,7 @@ defineProps<{
|
|
|
524
492
|
tag ? : string
|
|
525
493
|
/**
|
|
526
494
|
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
527
|
-
* ...
|
|
528
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-textAlign)
|
|
495
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-textAlign)
|
|
529
496
|
*/
|
|
530
497
|
textAlign ? : 'left'|'center'|'right'|'start'|'end'
|
|
531
498
|
/**
|
|
@@ -538,8 +505,7 @@ defineProps<{
|
|
|
538
505
|
toggleAllIfCtrlPressed ? : Boolean
|
|
539
506
|
/**
|
|
540
507
|
* Tooltip for the widget, either as a string or as a Tooltip config object.
|
|
541
|
-
* ...
|
|
542
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-tooltip)
|
|
508
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-tooltip)
|
|
543
509
|
*/
|
|
544
510
|
tooltip ? : string|TooltipConfig|null
|
|
545
511
|
/**
|
|
@@ -553,8 +519,7 @@ defineProps<{
|
|
|
553
519
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
554
520
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
555
521
|
* values are used as the class names.
|
|
556
|
-
* ...
|
|
557
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-ui)
|
|
522
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-ui)
|
|
558
523
|
*/
|
|
559
524
|
ui ? : string|object
|
|
560
525
|
/**
|
|
@@ -565,8 +530,7 @@ defineProps<{
|
|
|
565
530
|
* Controls virtualization of list items using the `IntersectionObserver` API to render items only when
|
|
566
531
|
* scrolled into view. This is only useful for lists with complex markup, for simple lists it likely adds
|
|
567
532
|
* overhead.
|
|
568
|
-
* ...
|
|
569
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-virtualize)
|
|
533
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-virtualize)
|
|
570
534
|
*/
|
|
571
535
|
virtualize ? : Boolean|number
|
|
572
536
|
/**
|
|
@@ -582,14 +546,12 @@ defineProps<{
|
|
|
582
546
|
width ? : string|number
|
|
583
547
|
/**
|
|
584
548
|
* The x position for the widget.
|
|
585
|
-
* ...
|
|
586
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-x)
|
|
549
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-x)
|
|
587
550
|
*/
|
|
588
551
|
x ? : number
|
|
589
552
|
/**
|
|
590
553
|
* The y position for the widget.
|
|
591
|
-
* ...
|
|
592
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-y)
|
|
554
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-y)
|
|
593
555
|
*/
|
|
594
556
|
y ? : number
|
|
595
557
|
|
|
@@ -600,106 +562,87 @@ const emit = defineEmits<{
|
|
|
600
562
|
* Fires before an object is destroyed.
|
|
601
563
|
* @param {string} e Event name
|
|
602
564
|
* @param {object} params Event parameters
|
|
603
|
-
* @param {
|
|
604
|
-
* @param {
|
|
605
|
-
* @param {object} params.params.event Event object
|
|
606
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
565
|
+
* @param {object} params.event Event object
|
|
566
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
607
567
|
*/
|
|
608
568
|
(e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
|
|
609
569
|
/**
|
|
610
570
|
* Triggered before a widget is hidden. Return `false` to prevent the action.
|
|
611
571
|
* @param {string} e Event name
|
|
612
572
|
* @param {object} params Event parameters
|
|
613
|
-
* @param {
|
|
614
|
-
* @param {
|
|
615
|
-
* @param {object} params.params.event Event object
|
|
616
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being hidden.
|
|
573
|
+
* @param {object} params.event Event object
|
|
574
|
+
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
617
575
|
*/
|
|
618
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
576
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
619
577
|
/**
|
|
620
578
|
* User going to activate an item in the list either by pointer or keyboard.
|
|
621
579
|
* The active record, list item index, and the triggering event are passed.
|
|
622
580
|
* It is preventable by returning `false`
|
|
623
581
|
* @param {string} e Event name
|
|
624
582
|
* @param {object} params Event parameters
|
|
625
|
-
* @param {
|
|
626
|
-
* @param {
|
|
627
|
-
* @param {
|
|
628
|
-
* @param {Core.
|
|
629
|
-
* @param {
|
|
630
|
-
* @param {
|
|
631
|
-
* @param {number} params.params.event.index List item index
|
|
632
|
-
* @param {Event} params.params.event.event Triggering event
|
|
583
|
+
* @param {object} params.event Event object
|
|
584
|
+
* @param {Core.widget.List} params.event.source The List instance
|
|
585
|
+
* @param {HTMLElement} params.event.item The clicked list element
|
|
586
|
+
* @param {Core.data.Model} params.event.record Activated record
|
|
587
|
+
* @param {number} params.event.index List item index
|
|
588
|
+
* @param {Event} params.event.event Triggering event
|
|
633
589
|
*/
|
|
634
|
-
(e: 'beforeItem', params: ((event: { source: List, item: HTMLElement, record: Model, index: number, event: Event }) =>
|
|
590
|
+
(e: 'beforeItem', params: ((event: { source: List, item: HTMLElement, record: Model, index: number, event: Event }) => boolean|void)|string): boolean|void
|
|
635
591
|
/**
|
|
636
592
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
637
593
|
* @param {string} e Event name
|
|
638
594
|
* @param {object} params Event parameters
|
|
639
|
-
* @param {
|
|
640
|
-
* @param {
|
|
641
|
-
* @param {object} params.params.event Event object
|
|
642
|
-
* @param {Core.widget.Widget,any} params.params.event.source The widget being shown
|
|
595
|
+
* @param {object} params.event Event object
|
|
596
|
+
* @param {Core.widget.Widget,any} params.event.source The widget being shown
|
|
643
597
|
*/
|
|
644
598
|
(e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
645
599
|
/**
|
|
646
600
|
* Fires when any other event is fired from the object.
|
|
647
|
-
* ...
|
|
648
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#event-catchAll)
|
|
601
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#event-catchAll)
|
|
649
602
|
* @param {string} e Event name
|
|
650
603
|
* @param {object} params Event parameters
|
|
651
|
-
* @param {
|
|
652
|
-
* @param {
|
|
653
|
-
* @param {
|
|
654
|
-
* @param {{[key: string]: any, type: string}} params.params.event.event The Object that contains event details
|
|
655
|
-
* @param {string} params.params.event.event.type The type of the event which is caught by the listener
|
|
604
|
+
* @param {object} params.event Event object
|
|
605
|
+
* @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details
|
|
606
|
+
* @param {string} params.event.event.type The type of the event which is caught by the listener
|
|
656
607
|
*/
|
|
657
608
|
(e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
|
|
658
609
|
/**
|
|
659
610
|
* Fired when this widget's selection changes
|
|
660
611
|
* @param {string} e Event name
|
|
661
612
|
* @param {object} params Event parameters
|
|
662
|
-
* @param {
|
|
663
|
-
* @param {
|
|
664
|
-
* @param {
|
|
665
|
-
* @param {
|
|
666
|
-
* @param {string} params.params.event.oldValue This field's previous value
|
|
667
|
-
* @param {Core.widget.Field} params.params.event.source This ResourceFilter
|
|
613
|
+
* @param {object} params.event Event object
|
|
614
|
+
* @param {string} params.event.value This field's value
|
|
615
|
+
* @param {string} params.event.oldValue This field's previous value
|
|
616
|
+
* @param {Core.widget.Field} params.event.source This ResourceFilter
|
|
668
617
|
*/
|
|
669
618
|
(e: 'change', params: ((event: { value: string, oldValue: string, source: Field }) => void)|string): void
|
|
670
619
|
/**
|
|
671
620
|
* Fires when an object is destroyed.
|
|
672
621
|
* @param {string} e Event name
|
|
673
622
|
* @param {object} params Event parameters
|
|
674
|
-
* @param {
|
|
675
|
-
* @param {
|
|
676
|
-
* @param {object} params.params.event Event object
|
|
677
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
623
|
+
* @param {object} params.event Event object
|
|
624
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
678
625
|
*/
|
|
679
626
|
(e: 'destroy', params: ((event: { source: Base }) => void)|string): void
|
|
680
627
|
/**
|
|
681
628
|
* Triggered when a widget's [element](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-element) is available.
|
|
682
629
|
* @param {string} e Event name
|
|
683
630
|
* @param {object} params Event parameters
|
|
684
|
-
* @param {
|
|
685
|
-
* @param {
|
|
686
|
-
* @param {object} params.params.event Event object
|
|
687
|
-
* @param {HTMLElement} params.params.event.element The Widget's element.
|
|
631
|
+
* @param {object} params.event Event object
|
|
632
|
+
* @param {HTMLElement} params.event.element The Widget's element.
|
|
688
633
|
*/
|
|
689
634
|
(e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void
|
|
690
635
|
/**
|
|
691
636
|
* Fired when focus enters this Widget.
|
|
692
637
|
* @param {string} e Event name
|
|
693
638
|
* @param {object} params Event parameters
|
|
694
|
-
* @param {
|
|
695
|
-
* @param {
|
|
696
|
-
* @param {
|
|
697
|
-
* @param {
|
|
698
|
-
* @param {
|
|
699
|
-
* @param {
|
|
700
|
-
* @param {
|
|
701
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
702
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
639
|
+
* @param {object} params.event Event object
|
|
640
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
641
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
642
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
643
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
644
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
645
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
703
646
|
*/
|
|
704
647
|
(e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
705
648
|
/**
|
|
@@ -708,25 +651,21 @@ const emit = defineEmits<{
|
|
|
708
651
|
* will not trigger this event. This is when focus exits this widget completely.
|
|
709
652
|
* @param {string} e Event name
|
|
710
653
|
* @param {object} params Event parameters
|
|
711
|
-
* @param {
|
|
712
|
-
* @param {
|
|
713
|
-
* @param {
|
|
714
|
-
* @param {
|
|
715
|
-
* @param {
|
|
716
|
-
* @param {
|
|
717
|
-
* @param {
|
|
718
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
719
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
654
|
+
* @param {object} params.event Event object
|
|
655
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
656
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
657
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
658
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
659
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
660
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
720
661
|
*/
|
|
721
662
|
(e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
722
663
|
/**
|
|
723
664
|
* Triggered after a widget was hidden
|
|
724
665
|
* @param {string} e Event name
|
|
725
666
|
* @param {object} params Event parameters
|
|
726
|
-
* @param {
|
|
727
|
-
* @param {
|
|
728
|
-
* @param {object} params.params.event Event object
|
|
729
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
667
|
+
* @param {object} params.event Event object
|
|
668
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
730
669
|
*/
|
|
731
670
|
(e: 'hide', params: ((event: { source: Widget }) => void)|string): void
|
|
732
671
|
/**
|
|
@@ -734,38 +673,31 @@ const emit = defineEmits<{
|
|
|
734
673
|
* The active record, list item index, and the triggering event are passed.
|
|
735
674
|
* @param {string} e Event name
|
|
736
675
|
* @param {object} params Event parameters
|
|
737
|
-
* @param {
|
|
738
|
-
* @param {
|
|
739
|
-
* @param {
|
|
740
|
-
* @param {Core.
|
|
741
|
-
* @param {
|
|
742
|
-
* @param {
|
|
743
|
-
* @param {number} params.params.event.index List item index
|
|
744
|
-
* @param {Event} params.params.event.event Triggering event
|
|
676
|
+
* @param {object} params.event Event object
|
|
677
|
+
* @param {Core.widget.List} params.event.source The List instance
|
|
678
|
+
* @param {HTMLElement} params.event.item The clicked list element
|
|
679
|
+
* @param {Core.data.Model} params.event.record Activated record
|
|
680
|
+
* @param {number} params.event.index List item index
|
|
681
|
+
* @param {Event} params.event.event Triggering event
|
|
745
682
|
*/
|
|
746
683
|
(e: 'item', params: ((event: { source: List, item: HTMLElement, record: Model, index: number, event: Event }) => void)|string): void
|
|
747
684
|
/**
|
|
748
685
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
749
686
|
* achieves visibility.
|
|
750
|
-
* ...
|
|
751
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#event-paint)
|
|
687
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#event-paint)
|
|
752
688
|
* @param {string} e Event name
|
|
753
689
|
* @param {object} params Event parameters
|
|
754
|
-
* @param {
|
|
755
|
-
* @param {
|
|
756
|
-
* @param {
|
|
757
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being painted.
|
|
758
|
-
* @param {boolean} params.params.event.firstPaint `true` if this is the first paint.
|
|
690
|
+
* @param {object} params.event Event object
|
|
691
|
+
* @param {Core.widget.Widget} params.event.source The widget being painted.
|
|
692
|
+
* @param {boolean} params.event.firstPaint `true` if this is the first paint.
|
|
759
693
|
*/
|
|
760
694
|
(e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void
|
|
761
695
|
/**
|
|
762
696
|
* Fired when a Widget's read only state is toggled
|
|
763
697
|
* @param {string} e Event name
|
|
764
698
|
* @param {object} params Event parameters
|
|
765
|
-
* @param {
|
|
766
|
-
* @param {
|
|
767
|
-
* @param {object} params.params.event Event object
|
|
768
|
-
* @param {boolean} params.params.event.readOnly Read only or not
|
|
699
|
+
* @param {object} params.event Event object
|
|
700
|
+
* @param {boolean} params.event.readOnly Read only or not
|
|
769
701
|
*/
|
|
770
702
|
(e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void
|
|
771
703
|
/**
|
|
@@ -777,57 +709,47 @@ const emit = defineEmits<{
|
|
|
777
709
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
778
710
|
* @param {string} e Event name
|
|
779
711
|
* @param {object} params Event parameters
|
|
780
|
-
* @param {
|
|
781
|
-
* @param {
|
|
782
|
-
* @param {
|
|
783
|
-
* @param {
|
|
784
|
-
* @param {number} params.
|
|
785
|
-
* @param {number} params.
|
|
786
|
-
* @param {number} params.params.event.oldWidth The old width
|
|
787
|
-
* @param {number} params.params.event.oldHeight The old height
|
|
712
|
+
* @param {object} params.event Event object
|
|
713
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
714
|
+
* @param {number} params.event.width The new width
|
|
715
|
+
* @param {number} params.event.height The new height
|
|
716
|
+
* @param {number} params.event.oldWidth The old width
|
|
717
|
+
* @param {number} params.event.oldHeight The old height
|
|
788
718
|
*/
|
|
789
719
|
(e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
|
|
790
720
|
/**
|
|
791
721
|
* Fired when selection changes
|
|
792
722
|
* @param {string} e Event name
|
|
793
723
|
* @param {object} params Event parameters
|
|
794
|
-
* @param {
|
|
795
|
-
* @param {
|
|
796
|
-
* @param {
|
|
797
|
-
* @param {Core.widget.List} params.params.event.source The List instance
|
|
798
|
-
* @param {Core.data.Model[]} params.params.event.selected An array of the currently selected records
|
|
724
|
+
* @param {object} params.event Event object
|
|
725
|
+
* @param {Core.widget.List} params.event.source The List instance
|
|
726
|
+
* @param {Core.data.Model[]} params.event.selected An array of the currently selected records
|
|
799
727
|
*/
|
|
800
728
|
(e: 'selectionChange', params: ((event: { source: List, selected: Model[] }) => void)|string): void
|
|
801
729
|
/**
|
|
802
730
|
* Triggered after a widget is shown.
|
|
803
731
|
* @param {string} e Event name
|
|
804
732
|
* @param {object} params Event parameters
|
|
805
|
-
* @param {
|
|
806
|
-
* @param {
|
|
807
|
-
* @param {object} params.params.event Event object
|
|
808
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
733
|
+
* @param {object} params.event Event object
|
|
734
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
809
735
|
*/
|
|
810
736
|
(e: 'show', params: ((event: { source: Widget }) => void)|string): void
|
|
811
737
|
/**
|
|
812
738
|
* Group item expanded or collapsed
|
|
813
739
|
* @param {string} e Event name
|
|
814
740
|
* @param {object} params Event parameters
|
|
815
|
-
* @param {
|
|
816
|
-
* @param {
|
|
817
|
-
* @param {
|
|
818
|
-
* @param {Core.data.Model} params.params.event.groupRecord Group record
|
|
819
|
-
* @param {boolean} params.params.event.collapse Collapsed (true) or expanded (false)
|
|
741
|
+
* @param {object} params.event Event object
|
|
742
|
+
* @param {Core.data.Model} params.event.groupRecord Group record
|
|
743
|
+
* @param {boolean} params.event.collapse Collapsed (true) or expanded (false)
|
|
820
744
|
*/
|
|
821
745
|
(e: 'toggleGroup', params: ((event: { groupRecord: Model, collapse: boolean }) => void)|string): void
|
|
822
746
|
/**
|
|
823
747
|
* Tree parent node expanded or collapsed
|
|
824
748
|
* @param {string} e Event name
|
|
825
749
|
* @param {object} params Event parameters
|
|
826
|
-
* @param {
|
|
827
|
-
* @param {
|
|
828
|
-
* @param {
|
|
829
|
-
* @param {Core.data.Model} params.params.event.record The parent record which has been toggled
|
|
830
|
-
* @param {boolean} params.params.event.collapse Collapsed (true) or expanded (false)
|
|
750
|
+
* @param {object} params.event Event object
|
|
751
|
+
* @param {Core.data.Model} params.event.record The parent record which has been toggled
|
|
752
|
+
* @param {boolean} params.event.collapse Collapsed (true) or expanded (false)
|
|
831
753
|
*/
|
|
832
754
|
(e: 'toggleNode', params: ((event: { record: Model, collapse: boolean }) => void)|string): void
|
|
833
755
|
}>();
|
|
@@ -879,6 +801,7 @@ const widgetData = {
|
|
|
879
801
|
'preventTooltipOnTouch',
|
|
880
802
|
'relayStoreEvents',
|
|
881
803
|
'ripple',
|
|
804
|
+
'role',
|
|
882
805
|
'rootElement',
|
|
883
806
|
'scrollAction',
|
|
884
807
|
'selectAllItem',
|
|
@@ -959,8 +882,6 @@ const widgetData = {
|
|
|
959
882
|
'y'
|
|
960
883
|
],
|
|
961
884
|
propertyNames : [
|
|
962
|
-
'anchorSize',
|
|
963
|
-
'focusVisible',
|
|
964
885
|
'parent'
|
|
965
886
|
],
|
|
966
887
|
eventNames : [
|