@bryntum/scheduler-vue-3-thin 7.2.3 → 7.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/README.md +6 -6
  2. package/lib/chunks/{C7ZFK2B7.js → 5o-YjSb7.js} +16 -10
  3. package/lib/chunks/5o-YjSb7.js.map +1 -0
  4. package/lib/chunks/BXIuEgYD.js +265 -0
  5. package/lib/chunks/BXIuEgYD.js.map +1 -0
  6. package/lib/chunks/{BD-Hg3lY.js → DB0UHrA3.js} +17 -24
  7. package/lib/chunks/DB0UHrA3.js.map +1 -0
  8. package/lib/chunks/{DmQj0tBi.js → DP61St-u.js} +14 -6
  9. package/lib/chunks/DP61St-u.js.map +1 -0
  10. package/lib/chunks/{B0m0r-NV.js → DVFhf2Ma.js} +11 -11
  11. package/lib/chunks/DVFhf2Ma.js.map +1 -0
  12. package/lib/chunks/{DerP_qo7.js → DhhzgoYL.js} +16 -10
  13. package/lib/chunks/DhhzgoYL.js.map +1 -0
  14. package/lib/chunks/{BNGLBrCN.js → OJaN5ZWK.js} +6 -6
  15. package/lib/chunks/OJaN5ZWK.js.map +1 -0
  16. package/lib/chunks/{CP1Mm_Ak.js → R69sJLmF.js} +16 -17
  17. package/lib/chunks/R69sJLmF.js.map +1 -0
  18. package/lib/chunks/{mKqb8_2f.js → ZkU6CtWX.js} +6 -6
  19. package/lib/chunks/ZkU6CtWX.js.map +1 -0
  20. package/lib/chunks/{C0UqC4Uj.js → eUISgYXE.js} +9 -9
  21. package/lib/chunks/eUISgYXE.js.map +1 -0
  22. package/lib/chunks/{CsoS615B.js → kN-s_8Na.js} +6 -6
  23. package/lib/chunks/kN-s_8Na.js.map +1 -0
  24. package/lib/chunks/{C2PT-Ukt.js → t8aiH3XL.js} +13 -14
  25. package/lib/chunks/t8aiH3XL.js.map +1 -0
  26. package/lib/components/BryntumEventColorField.js +1 -1
  27. package/lib/components/BryntumProjectCombo.js +1 -1
  28. package/lib/components/BryntumResourceCombo.js +1 -1
  29. package/lib/components/BryntumResourceFilter.js +1 -1
  30. package/lib/components/BryntumScheduler.js +1 -1
  31. package/lib/components/BryntumSchedulerBase.js +1 -1
  32. package/lib/components/BryntumSchedulerDatePicker.js +1 -1
  33. package/lib/components/BryntumSchedulerProjectModel.js +1 -1
  34. package/lib/components/BryntumThemeCombo.js +57 -0
  35. package/lib/components/BryntumThemeCombo.js.map +1 -0
  36. package/lib/components/BryntumTimeZoomSlider.js +5 -0
  37. package/lib/components/BryntumTimeZoomSlider.js.map +1 -0
  38. package/lib/components/BryntumTimelineHistogram.js +1 -1
  39. package/lib/components/BryntumUndoRedo.js +1 -1
  40. package/lib/components/BryntumViewPresetCombo.js +1 -1
  41. package/lib/index.js +18 -16
  42. package/lib/index.js.map +1 -1
  43. package/package.json +1 -1
  44. package/src/components/BryntumEventColorField.vue +72 -116
  45. package/src/components/BryntumEventColorFieldProps.ts +68 -108
  46. package/src/components/BryntumProjectCombo.vue +90 -149
  47. package/src/components/BryntumProjectComboProps.ts +86 -141
  48. package/src/components/BryntumResourceCombo.vue +91 -151
  49. package/src/components/BryntumResourceComboProps.ts +87 -143
  50. package/src/components/BryntumResourceFilter.vue +63 -104
  51. package/src/components/BryntumResourceFilterProps.ts +60 -98
  52. package/src/components/BryntumScheduler.vue +429 -600
  53. package/src/components/BryntumSchedulerBase.vue +429 -600
  54. package/src/components/BryntumSchedulerBaseProps.ts +367 -522
  55. package/src/components/BryntumSchedulerDatePicker.vue +120 -196
  56. package/src/components/BryntumSchedulerDatePickerProps.ts +116 -187
  57. package/src/components/BryntumSchedulerProjectModel.vue +12 -31
  58. package/src/components/BryntumSchedulerProjectModelProps.ts +10 -20
  59. package/src/components/BryntumSchedulerProps.ts +367 -522
  60. package/src/components/BryntumThemeCombo.vue +60 -0
  61. package/src/components/BryntumTimeZoomSlider.vue +859 -0
  62. package/src/components/BryntumTimeZoomSliderProps.ts +482 -0
  63. package/src/components/BryntumTimelineHistogram.vue +325 -444
  64. package/src/components/BryntumTimelineHistogramProps.ts +275 -388
  65. package/src/components/BryntumUndoRedo.vue +78 -125
  66. package/src/components/BryntumUndoRedoProps.ts +74 -116
  67. package/src/components/BryntumViewPresetCombo.vue +67 -107
  68. package/src/components/BryntumViewPresetComboProps.ts +63 -99
  69. package/src/index.ts +2 -0
  70. package/lib/chunks/B0m0r-NV.js.map +0 -1
  71. package/lib/chunks/BD-Hg3lY.js.map +0 -1
  72. package/lib/chunks/BNGLBrCN.js.map +0 -1
  73. package/lib/chunks/C0UqC4Uj.js.map +0 -1
  74. package/lib/chunks/C2PT-Ukt.js.map +0 -1
  75. package/lib/chunks/C7ZFK2B7.js.map +0 -1
  76. package/lib/chunks/CP1Mm_Ak.js.map +0 -1
  77. package/lib/chunks/CsoS615B.js.map +0 -1
  78. package/lib/chunks/DerP_qo7.js.map +0 -1
  79. package/lib/chunks/DmQj0tBi.js.map +0 -1
  80. package/lib/chunks/mKqb8_2f.js.map +0 -1
@@ -1,12 +1,11 @@
1
- import type { AlignSpec, Base, Color, ComboModel, Duration, DurationConfig, Field, KeyMapConfig, MaskConfig, Model, Rectangle, TabConfig, Widget } from '@bryntum/core-thin';
1
+ import type { AlignSpec, Base, Color, Duration, DurationConfig, Field, KeyMapConfig, MaskConfig, Model, Rectangle, TabConfig, Widget } from '@bryntum/core-thin';
2
2
  import type { TimelineBase, ViewPresetComboListeners } from '@bryntum/scheduler-thin';
3
3
 
4
4
  export declare type BryntumViewPresetComboProps = {
5
5
  // Configs
6
6
  /**
7
7
  * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
8
- * ...
9
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-align)
8
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-align)
10
9
  */
11
10
  align ? : AlignSpec|string
12
11
  /**
@@ -28,15 +27,13 @@ export declare type BryntumViewPresetComboProps = {
28
27
  /**
29
28
  * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
30
29
  * into an element which will be linked using the `aria-describedby` attribute.
31
- * ...
32
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-ariaDescription)
30
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-ariaDescription)
33
31
  */
34
32
  ariaDescription ? : string
35
33
  /**
36
34
  * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
37
35
  * the `aria-label` attribute.
38
- * ...
39
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-ariaLabel)
36
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-ariaLabel)
40
37
  */
41
38
  ariaLabel ? : string
42
39
  /**
@@ -46,27 +43,23 @@ export declare type BryntumViewPresetComboProps = {
46
43
  /**
47
44
  * An object where property names with a truthy value indicate which events should bubble up the ownership
48
45
  * hierarchy when triggered.
49
- * ...
50
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-bubbleEvents)
46
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-bubbleEvents)
51
47
  */
52
48
  bubbleEvents ? : object
53
49
  /**
54
50
  * Enable caching of the last retrieved result until the timeout is reached.
55
- * ...
56
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-cacheLastResult)
51
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-cacheLastResult)
57
52
  */
58
53
  cacheLastResult ? : number|string|Duration|DurationConfig
59
54
  /**
60
55
  * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
61
- * ...
62
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-callOnFunctions)
56
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-callOnFunctions)
63
57
  */
64
58
  callOnFunctions ? : Boolean
65
59
  /**
66
60
  * By default, if an event handler throws an exception, the error propagates up the stack and the
67
61
  * application state is undefined. Code which follows the event handler will *not* be executed.
68
- * ...
69
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-catchEventHandlerExceptions)
62
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-catchEventHandlerExceptions)
70
63
  */
71
64
  catchEventHandlerExceptions ? : Boolean
72
65
  /**
@@ -91,15 +84,13 @@ export declare type BryntumViewPresetComboProps = {
91
84
  * Custom CSS classes to add to element.
92
85
  * May be specified as a space separated string, or as an object in which property names
93
86
  * with truthy values are used as the class names:
94
- * ...
95
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-cls)
87
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-cls)
96
88
  */
97
89
  cls ? : string|object
98
90
  /**
99
91
  * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
100
92
  * `style` block.
101
- * ...
102
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-color)
93
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-color)
103
94
  */
104
95
  color ? : Color
105
96
  /**
@@ -116,8 +107,7 @@ export declare type BryntumViewPresetComboProps = {
116
107
  * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement).
117
108
  * May be specified as a space separated string, or as an object in which property names
118
109
  * with truthy values are used as the class names:
119
- * ...
120
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-contentElementCls)
110
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-contentElementCls)
121
111
  */
122
112
  contentElementCls ? : string|object
123
113
  /**
@@ -131,16 +121,15 @@ export declare type BryntumViewPresetComboProps = {
131
121
  */
132
122
  defaultBindProperty ? : string
133
123
  /**
134
- * Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
135
- * ...
136
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-detectCSSCompatibilityIssues)
124
+ * Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
125
+ * checks:
126
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-detectCSSCompatibilityIssues)
137
127
  */
138
128
  detectCSSCompatibilityIssues ? : Boolean
139
129
  /**
140
130
  * 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
141
131
  * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
142
- * ...
143
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-disabled)
132
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-disabled)
144
133
  */
145
134
  disabled ? : Boolean|'inert'
146
135
  /**
@@ -148,20 +137,17 @@ export declare type BryntumViewPresetComboProps = {
148
137
  * [strips collection](https://bryntum.com/products/scheduler/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
149
138
  * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
150
139
  * body. Such widgets are called "edge strips".
151
- * ...
152
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-dock)
140
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-dock)
153
141
  */
154
142
  dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
155
143
  /**
156
144
  * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
157
145
  * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
158
146
  * property which controls when a drag should start.
159
- * ...
160
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-draggable)
147
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-draggable)
148
+ * @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
161
149
  */
162
- draggable ? : Boolean|{
163
- handleSelector?: string
164
- }
150
+ draggable ? : Boolean|object
165
151
  /**
166
152
  * User can edit text in text field (otherwise only pick from attached picker)
167
153
  */
@@ -169,8 +155,7 @@ export declare type BryntumViewPresetComboProps = {
169
155
  /**
170
156
  * An object specifying attributes to assign to the root element of this widget.
171
157
  * Set `null` value to attribute to remove it.
172
- * ...
173
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-elementAttributes)
158
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-elementAttributes)
174
159
  */
175
160
  elementAttributes ? : Record<string, string|null>
176
161
  extraData ? : any
@@ -199,8 +184,7 @@ export declare type BryntumViewPresetComboProps = {
199
184
  hidden ? : Boolean
200
185
  /**
201
186
  * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
202
- * ...
203
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-hideAnimation)
187
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-hideAnimation)
204
188
  */
205
189
  hideAnimation ? : Boolean|object
206
190
  /**
@@ -212,8 +196,7 @@ export declare type BryntumViewPresetComboProps = {
212
196
  /**
213
197
  * An optional string to display inside the input field as an overlay. This can be useful for displaying
214
198
  * a field's units.
215
- * ...
216
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-hint)
199
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-hint)
217
200
  * @param {object} data A data object
218
201
  * @param {Core.widget.Field} data.source A reference to the field instance
219
202
  * @param {any} data.value The current value of the field
@@ -224,8 +207,7 @@ export declare type BryntumViewPresetComboProps = {
224
207
  * This config is similar to [hint](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#config-hint) except that this config is used to display HTML content.
225
208
  * Since this can allow malicious content to be executed, be sure not to include user-entered data or to
226
209
  * encode such data (see [encodeHtml](https://bryntum.com/products/scheduler/docs/api/Core/helper/StringHelper#function-encodeHtml-static)).
227
- * ...
228
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-hintHtml)
210
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-hintHtml)
229
211
  * @param {object} data A data object
230
212
  * @param {Core.widget.Field} data.source A reference to the field instance
231
213
  * @param {any} data.value The current value of the field
@@ -238,8 +220,7 @@ export declare type BryntumViewPresetComboProps = {
238
220
  id ? : string
239
221
  /**
240
222
  * Determines if the widgets read-only state should be controlled by its parent.
241
- * ...
242
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-ignoreParentReadOnly)
223
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-ignoreParentReadOnly)
243
224
  */
244
225
  ignoreParentReadOnly ? : Boolean
245
226
  /**
@@ -275,8 +256,7 @@ export declare type BryntumViewPresetComboProps = {
275
256
  * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
276
257
  * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
277
258
  * are the name of the instance method to call when the keystroke is received.
278
- * ...
279
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-keyMap)
259
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-keyMap)
280
260
  */
281
261
  keyMap ? : Record<string, KeyMapConfig>
282
262
  /**
@@ -289,15 +269,15 @@ export declare type BryntumViewPresetComboProps = {
289
269
  labelCls ? : string|object
290
270
  /**
291
271
  * Label position, either 'before' the field or 'above' the field
292
- * ...
293
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-labelPosition)
272
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-labelPosition)
294
273
  */
295
274
  labelPosition ? : 'before'|'above'|null
296
275
  /**
297
276
  * The labels to add either before or after the input field.
298
277
  * Each label may have the following properties:
299
- * ...
300
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-labels)
278
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-labels)
279
+ * @property {string} html Label text
280
+ * @property {'start','end'} align Which end of the file the label should go
301
281
  */
302
282
  labels ? : object[]
303
283
  /**
@@ -310,24 +290,21 @@ export declare type BryntumViewPresetComboProps = {
310
290
  listCls ? : string
311
291
  /**
312
292
  * The listener set for this object.
313
- * ...
314
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-listeners)
293
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-listeners)
315
294
  */
316
295
  listeners ? : ViewPresetComboListeners
317
296
  /**
318
297
  * Template string used to render the list items in the dropdown list
319
- * ...
320
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-listItemTpl)
298
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-listItemTpl)
321
299
  * @param {Core.data.Model} record The record representing the item being rendered
322
300
  * @returns {string,void}
323
301
  */
324
- listItemTpl ? : (record: Model|ComboModel) => string|void
302
+ listItemTpl ? : (record: Model) => string|void
325
303
  /**
326
304
  * A class translations of which are used for translating this entity.
327
305
  * This is often used when translations of an item are defined on its container class.
328
306
  * For example:
329
- * ...
330
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-localeClass)
307
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-localeClass)
331
308
  */
332
309
  localeClass ? : typeof Base
333
310
  /**
@@ -339,8 +316,7 @@ export declare type BryntumViewPresetComboProps = {
339
316
  * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
340
317
  * you could use 'localeKey' meta configuration.
341
318
  * Example:
342
- * ...
343
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-localizableProperties)
319
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-localizableProperties)
344
320
  */
345
321
  localizableProperties ? : string[]
346
322
  /**
@@ -366,8 +342,7 @@ export declare type BryntumViewPresetComboProps = {
366
342
  maxHeight ? : string|number
367
343
  /**
368
344
  * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
369
- * ...
370
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-maximizeOnMobile)
345
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-maximizeOnMobile)
371
346
  */
372
347
  maximizeOnMobile ? : number|string
373
348
  /**
@@ -389,18 +364,15 @@ export declare type BryntumViewPresetComboProps = {
389
364
  * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
390
365
  * is used to monitor this element for size changes caused by either style manipulation, or by CSS
391
366
  * layout.
392
- * ...
393
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-monitorResize)
367
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-monitorResize)
368
+ * @property {boolean} immediate Set to `true` to receive resize notifications immediately.
394
369
  */
395
- monitorResize ? : Boolean|{
396
- immediate?: Boolean
397
- }
370
+ monitorResize ? : Boolean|object
398
371
  /**
399
372
  * Name of the field which is used as a key to get/set values from/to the field.
400
373
  * Used prior to [ref](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-ref) and [id](#Core/widget/Widget#config-id) in
401
374
  * [Container.values](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#property-values).
402
- * ...
403
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-name)
375
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-name)
404
376
  */
405
377
  name ? : string
406
378
  /**
@@ -416,8 +388,7 @@ export declare type BryntumViewPresetComboProps = {
416
388
  * 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
417
389
  * not participate in the standard layout of that widget, and must be positioned relatively to that
418
390
  * widget's [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement).
419
- * ...
420
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-positioned)
391
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-positioned)
421
392
  */
422
393
  positioned ? : Boolean
423
394
  /**
@@ -435,38 +406,39 @@ export declare type BryntumViewPresetComboProps = {
435
406
  /**
436
407
  * Makes the field unmodifiable by user action. The input area is not editable, and triggers
437
408
  * are unresponsive.
438
- * ...
439
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-readOnly)
409
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-readOnly)
440
410
  */
441
411
  readOnly ? : Boolean
442
412
  relayStoreEvents ? : Boolean
443
413
  /**
444
414
  * Predefined style to use for the field. Possible values are:
445
- * ...
446
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-rendition)
415
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-rendition)
447
416
  */
448
417
  rendition ? : 'outlined'|'filled'|string
449
418
  /**
450
419
  * Configure as `true` to have the component display a translucent ripple when its
451
420
  * [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
452
421
  * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
453
- * ...
454
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-ripple)
422
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-ripple)
423
+ * @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
424
+ * @property {string} [color] A CSS color name or specification.
425
+ * @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
426
+ * @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.
455
427
  */
456
- ripple ? : Boolean|{
457
- delegate?: string
458
- color?: string
459
- radius?: number
460
- clip?: string
461
- }
428
+ ripple ? : Boolean|object
429
+ /**
430
+ * The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
431
+ * accidentally applying a role which may interfere with screen readers.
432
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-role)
433
+ */
434
+ role ? : string
462
435
  /**
463
436
  * 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`
464
437
  */
465
438
  rootElement ? : ShadowRoot|HTMLElement
466
439
  /**
467
440
  * This may be configured as `true` to make the widget's element use the `direction:rtl` style.
468
- * ...
469
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-rtl)
441
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-rtl)
470
442
  */
471
443
  rtl ? : Boolean
472
444
  /**
@@ -476,8 +448,7 @@ export declare type BryntumViewPresetComboProps = {
476
448
  scrollAction ? : 'hide'|'realign'|null
477
449
  /**
478
450
  * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
479
- * ...
480
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-showAnimation)
451
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-showAnimation)
481
452
  */
482
453
  showAnimation ? : Boolean|object
483
454
  /**
@@ -501,8 +472,7 @@ export declare type BryntumViewPresetComboProps = {
501
472
  * 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
502
473
  * [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
503
474
  * this widget:
504
- * ...
505
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-tab)
475
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-tab)
506
476
  */
507
477
  tab ? : Boolean|TabConfig
508
478
  /**
@@ -510,14 +480,12 @@ export declare type BryntumViewPresetComboProps = {
510
480
  * is equivalent to natural tab order, but is unnecessary for fields since they are naturally tabbable
511
481
  * (i.e., accessible via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set
512
482
  * to the element programmatically.
513
- * ...
514
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-tabIndex)
483
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-tabIndex)
515
484
  */
516
485
  tabIndex ? : number
517
486
  /**
518
487
  * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
519
- * ...
520
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-textAlign)
488
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-textAlign)
521
489
  */
522
490
  textAlign ? : 'left'|'center'|'right'|'start'|'end'
523
491
  type ? : 'viewpresetcombo'
@@ -525,8 +493,7 @@ export declare type BryntumViewPresetComboProps = {
525
493
  * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
526
494
  * as a space separated string, an array of strings, or as an object in which property names with truthy
527
495
  * values are used as the class names.
528
- * ...
529
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-ui)
496
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-ui)
530
497
  */
531
498
  ui ? : string|object
532
499
  /**
@@ -536,8 +503,7 @@ export declare type BryntumViewPresetComboProps = {
536
503
  * [start](https://bryntum.com/products/scheduler/docs/api/Scheduler/preset/ViewPreset#field-start) configured, this will be added to the calculation. The
537
504
  * `endDate` will then be calculated by adding the ViewPreset's
538
505
  * [defaultSpan](https://bryntum.com/products/scheduler/docs/api/Scheduler/preset/ViewPreset#field-defaultSpan) to the `startDate`.
539
- * ...
540
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-useFixedDuration)
506
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-useFixedDuration)
541
507
  */
542
508
  useFixedDuration ? : Boolean
543
509
  /**
@@ -553,14 +519,12 @@ export declare type BryntumViewPresetComboProps = {
553
519
  width ? : string|number
554
520
  /**
555
521
  * The x position for the widget.
556
- * ...
557
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-x)
522
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-x)
558
523
  */
559
524
  x ? : number
560
525
  /**
561
526
  * The y position for the widget.
562
- * ...
563
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-y)
527
+ * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-y)
564
528
  */
565
529
  y ? : number
566
530
 
package/src/index.ts CHANGED
@@ -20,6 +20,8 @@ export { default as BryntumSchedulerDatePicker } from './components/BryntumSched
20
20
  export * from './components/BryntumSchedulerDatePickerProps';
21
21
  export { default as BryntumTimelineHistogram } from './components/BryntumTimelineHistogram.vue';
22
22
  export * from './components/BryntumTimelineHistogramProps';
23
+ export { default as BryntumTimeZoomSlider } from './components/BryntumTimeZoomSlider.vue';
24
+ export * from './components/BryntumTimeZoomSliderProps';
23
25
  export { default as BryntumUndoRedo } from './components/BryntumUndoRedo.vue';
24
26
  export * from './components/BryntumUndoRedoProps';
25
27
  export { default as BryntumViewPresetCombo } from './components/BryntumViewPresetCombo.vue';
@@ -1 +0,0 @@
1
- {"version":3,"file":"B0m0r-NV.js","sources":["../../src/components/BryntumViewPresetCombo.vue"],"sourcesContent":["<!-- Vue 3 wrapper for Bryntum ViewPresetCombo -->\n\n<template>\n <div ref=\"refElement\">\n\n </div>\n</template>\n\n<script setup lang=\"ts\">\n\nimport { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';\n\nimport type { AlignSpec, Base, Color, Combo, ComboModel, Duration, DurationConfig, Field, KeyMapConfig, MaskConfig, Model, Rectangle, TabConfig, Widget } from '@bryntum/core-thin';\nimport type { TimelineBase, ViewPresetComboListeners } from '@bryntum/scheduler-thin';\nimport { ViewPresetCombo } from '@bryntum/scheduler-thin';\n\nimport { WrapperHelper } from '../helper/WrapperHelper';\n\ndefineProps<{\n // Configs\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-align)\n */\n align ? : AlignSpec|string\n /**\n * When this widget is a child of a [Container](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container), it will by default be participating in a\n * flexbox layout. This config allows you to set this widget's\n * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.\n */\n alignSelf ? : string\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating) and being shown through [showBy](#Core/widget/Widget#function-showBy).*\n * `true` to show a connector arrow pointing to the align target.\n */\n anchor ? : Boolean\n /**\n * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at\n * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-element).\n */\n appendTo ? : HTMLElement|string\n /**\n * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject\n * into an element which will be linked using the `aria-describedby` attribute.\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-ariaDescription)\n */\n ariaDescription ? : string\n /**\n * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as\n * the `aria-label` attribute.\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-ariaLabel)\n */\n ariaLabel ? : string\n /**\n * Initial text to show in badge.\n */\n badge ? : string\n /**\n * An object where property names with a truthy value indicate which events should bubble up the ownership\n * hierarchy when triggered.\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-bubbleEvents)\n */\n bubbleEvents ? : object\n /**\n * Enable caching of the last retrieved result until the timeout is reached.\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-cacheLastResult)\n */\n cacheLastResult ? : number|string|Duration|DurationConfig\n /**\n * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-callOnFunctions)\n */\n callOnFunctions ? : Boolean\n /**\n * By default, if an event handler throws an exception, the error propagates up the stack and the\n * application state is undefined. Code which follows the event handler will *not* be executed.\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-catchEventHandlerExceptions)\n */\n catchEventHandlerExceptions ? : Boolean\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*\n * Set to `true` to centre the Widget in browser viewport space.\n */\n centered ? : Boolean\n /**\n * Specify `false` to not clear value typed to a multiselect combo when an item is selected.\n */\n clearTextOnSelection ? : Boolean\n /**\n * Set to `true` to clear this field when user empties the input element\n */\n clearWhenInputEmpty ? : Boolean\n /**\n * If not added to a toolbar, provide a Scheduler, SchedulerPro or Gantt component instance to which the\n * ViewPresetCombo should be connected.\n */\n client ? : TimelineBase\n /**\n * Custom CSS classes to add to element.\n * May be specified as a space separated string, or as an object in which property names\n * with truthy values are used as the class names:\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-cls)\n */\n cls ? : string|object\n /**\n * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets\n * `style` block.\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-color)\n */\n color ? : Color\n /**\n * Programmatic control over which column to start in when used in a grid layout.\n */\n column ? : number\n config ? : object\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating) or [positioned](#Core/widget/Widget#config-positioned).*\n * Element, Widget or Rectangle to which this Widget is constrained.\n */\n constrainTo ? : HTMLElement|Widget|Rectangle\n /**\n * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement).\n * May be specified as a space separated string, or as an object in which property names\n * with truthy values are used as the class names:\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-contentElementCls)\n */\n contentElementCls ? : string|object\n /**\n * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the\n * field on the expanded record to use for populating this widget's store (if applicable)\n */\n dataField ? : string\n /**\n * The name of the property to set when a single value is to be applied to this Widget. Such as when used\n * in a grid WidgetColumn, this is the property to which the column's `field` is applied.\n */\n defaultBindProperty ? : string\n /**\n * Check for CSS compatibility issues when upgrading to v7. Performs the following checks:\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-detectCSSCompatibilityIssues)\n */\n detectCSSCompatibilityIssues ? : Boolean\n /**\n * 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\n * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-disabled)\n */\n disabled ? : Boolean|'inert'\n /**\n * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/scheduler/docs/api/Core/widget/Panel)\n * [strips collection](https://bryntum.com/products/scheduler/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,\n * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's\n * body. Such widgets are called \"edge strips\".\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-dock)\n */\n dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*\n * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´\n * property which controls when a drag should start.\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-draggable)\n */\n draggable ? : Boolean|{\n handleSelector?: string\n }\n /**\n * User can edit text in text field (otherwise only pick from attached picker)\n */\n editable ? : Boolean\n /**\n * An object specifying attributes to assign to the root element of this widget.\n * Set `null` value to attribute to remove it.\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-elementAttributes)\n */\n elementAttributes ? : Record<string, string|null>\n extraData ? : any\n /**\n * When this widget is a child of a [Container](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container), it will by default be participating in a\n * flexbox layout. This config allows you to set this widget's\n * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.\n * This may be configured as a single number or a `&lt;flex-grow&gt; &lt;flex-shrink&gt; &lt;flex-basis&gt;` format string.\n * numeric-only values are interpreted as the `flex-grow` value.\n */\n flex ? : number|string\n /**\n * Set to `true` to move the widget out of the document flow and position it\n * absolutely in browser viewport space.\n */\n floating ? : Boolean\n /**\n * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,\n * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some\n * cases this config is convenient.\n */\n height ? : string|number\n /**\n * Configure with true to make widget initially hidden.\n */\n hidden ? : Boolean\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-hideAnimation)\n */\n hideAnimation ? : Boolean|object\n /**\n * By default, the picker is hidden on selection in single select mode, and\n * remains to allow more selections when [multiSelect](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-multiSelect) is `true`.\n * Setting this to a `Boolean` value can override that default.\n */\n hidePickerOnSelect ? : Boolean\n /**\n * An optional string to display inside the input field as an overlay. This can be useful for displaying\n * a field's units.\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-hint)\n * @param {object} data A data object\n * @param {Core.widget.Field} data.source A reference to the field instance\n * @param {any} data.value The current value of the field\n * @returns {string}\n */\n hint ? : string|((data: { source: Field, value: any }) => string)\n /**\n * This config is similar to [hint](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#config-hint) except that this config is used to display HTML content.\n * Since this can allow malicious content to be executed, be sure not to include user-entered data or to\n * encode such data (see [encodeHtml](https://bryntum.com/products/scheduler/docs/api/Core/helper/StringHelper#function-encodeHtml-static)).\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-hintHtml)\n * @param {object} data A data object\n * @param {Core.widget.Field} data.source A reference to the field instance\n * @param {any} data.value The current value of the field\n * @returns {string}\n */\n hintHtml ? : string|((data: { source: Field, value: any }) => string)\n /**\n * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById\n */\n id ? : string\n /**\n * Determines if the widgets read-only state should be controlled by its parent.\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-ignoreParentReadOnly)\n */\n ignoreParentReadOnly ? : Boolean\n /**\n * Text alignment for the input field.\n */\n inputAlign ? : string\n /**\n * Sets custom attributes of the underlying input element. For more information, please refer to\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes)\n */\n inputAttributes ? : Record<string, string>\n /**\n * If you need to use something else than a default `input` element, as the input element, provide the tag\n * name here. Please note that this is used for advanced usage only, for example when using WebComponents\n * (custom elements), and that the configured element must fulfil the same contract as a regular input\n * element.\n */\n inputTag ? : string\n /**\n * The width to apply to the `.b-field-inner` element, which encompasses the `input` element and any\n * triggers. If a number is specified, `px` will be used.\n */\n inputWidth ? : string|number\n /**\n * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-appendTo) config is ignored.\n */\n insertBefore ? : HTMLElement|string\n /**\n * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-appendTo) config is ignored.\n */\n insertFirst ? : HTMLElement|string\n /**\n * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name\n * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values\n * are the name of the instance method to call when the keystroke is received.\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-keyMap)\n */\n keyMap ? : Record<string, KeyMapConfig>\n /**\n * Label, prepended to field\n */\n label ? : string\n /**\n * CSS class name or class names to add to any configured [label](https://bryntum.com/products/scheduler/docs/api/Core/widget/mixin/Labelable#config-label)\n */\n labelCls ? : string|object\n /**\n * Label position, either 'before' the field or 'above' the field\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-labelPosition)\n */\n labelPosition ? : 'before'|'above'|null\n /**\n * The labels to add either before or after the input field.\n * Each label may have the following properties:\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-labels)\n */\n labels ? : object[]\n /**\n * The width to apply to the `&lt;label&gt;` element. If a number is specified, `px` will be used.\n */\n labelWidth ? : string|number\n /**\n * CSS class to add to picker\n */\n listCls ? : string\n /**\n * The listener set for this object.\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-listeners)\n */\n listeners ? : ViewPresetComboListeners\n /**\n * Template string used to render the list items in the dropdown list\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-listItemTpl)\n * @param {Core.data.Model} record The record representing the item being rendered\n * @returns {string,void}\n */\n listItemTpl ? : (record: Model|ComboModel) => string|void\n /**\n * A class translations of which are used for translating this entity.\n * This is often used when translations of an item are defined on its container class.\n * For example:\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-localeClass)\n */\n localeClass ? : typeof Base\n /**\n * Set to `false` to disable localization of this object.\n */\n localizable ? : Boolean\n /**\n * List of properties which values should be translated automatically upon a locale applying.\n * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),\n * you could use 'localeKey' meta configuration.\n * Example:\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-localizableProperties)\n */\n localizableProperties ? : string[]\n /**\n * Widget's margin. This may be configured as a single number or a `TRBL` format string.\n * numeric-only values are interpreted as pixels.\n */\n margin ? : number|string\n /**\n * This config object contains the defaults for the [Mask](https://bryntum.com/products/scheduler/docs/api/Core/widget/Mask) created for the\n * [masked](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these\n * values.\n */\n maskDefaults ? : MaskConfig\n /**\n * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a\n * [Mask](https://bryntum.com/products/scheduler/docs/api/Core/widget/Mask) config object.\n */\n masked ? : Boolean|string|MaskConfig\n /**\n * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [height](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.\n */\n maxHeight ? : string|number\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-maximizeOnMobile)\n */\n maximizeOnMobile ? : number|string\n /**\n * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [width](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.\n */\n maxWidth ? : string|number\n /**\n * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [height](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.\n */\n minHeight ? : string|number\n /**\n * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [width](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.\n */\n minWidth ? : string|number\n /**\n * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)\n * is used to monitor this element for size changes caused by either style manipulation, or by CSS\n * layout.\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-monitorResize)\n */\n monitorResize ? : Boolean|{\n immediate?: Boolean\n }\n /**\n * Name of the field which is used as a key to get/set values from/to the field.\n * Used prior to [ref](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-ref) and [id](#Core/widget/Widget#config-id) in\n * [Container.values](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#property-values).\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-name)\n */\n name ? : string\n /**\n * This implies that the picker will display an anchor pointer, but also means that the picker will align closer\n * to the input field so that the pointer pierces the [pickerAlignElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-pickerAlignElement)\n */\n overlayAnchor ? : Boolean\n /**\n * Width of picker, defaults to this combo's [pickerAlignElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-pickerAlignElement) width\n */\n pickerWidth ? : number|string\n /**\n * 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\n * not participate in the standard layout of that widget, and must be positioned relatively to that\n * widget's [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement).\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-positioned)\n */\n positioned ? : Boolean\n /**\n * An array containing string [ViewPreset](https://bryntum.com/products/scheduler/docs/api/Scheduler/preset/ViewPreset) ids available for selection. The specified\n * presets must be [available](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/TimelineViewPresets#config-presets) for the\n * [client](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-client) (Scheduler, SchedulerPro or Gantt) for it to work properly. The selectable presets\n * will be arranged in the order provided here.\n */\n presets ? : any[]\n /**\n * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a\n * menu on click etc, since the tooltip would be displayed at the same time.\n */\n preventTooltipOnTouch ? : Boolean\n /**\n * Makes the field unmodifiable by user action. The input area is not editable, and triggers\n * are unresponsive.\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-readOnly)\n */\n readOnly ? : Boolean\n relayStoreEvents ? : Boolean\n /**\n * Predefined style to use for the field. Possible values are:\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-rendition)\n */\n rendition ? : 'outlined'|'filled'|string\n /**\n * Configure as `true` to have the component display a translucent ripple when its\n * [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\n * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-ripple)\n */\n ripple ? : Boolean|{\n delegate?: string\n color?: string\n radius?: number\n clip?: string\n }\n /**\n * 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`\n */\n rootElement ? : ShadowRoot|HTMLElement\n /**\n * This may be configured as `true` to make the widget's element use the `direction:rtl` style.\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-rtl)\n */\n rtl ? : Boolean\n /**\n * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).\n * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.\n */\n scrollAction ? : 'hide'|'realign'|null\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-showAnimation)\n */\n showAnimation ? : Boolean|object\n /**\n * `true` to automatically display a * after the label for this field when it is [required](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#property-required).\n */\n showRequiredIndicator ? : string\n /**\n * Set to `false` to not show the tooltip when this widget is [disabled](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-disabled)\n */\n showTooltipWhenDisabled ? : Boolean\n /**\n * Set to `true`, completely bypasses validation logic (could be userful if your field is not `editable`\n * to the user).\n */\n skipValidation ? : Boolean\n /**\n * Programmatic control over how many columns to span when used in a grid layout.\n */\n span ? : number\n /**\n * 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\n * [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\n * this widget:\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-tab)\n */\n tab ? : Boolean|TabConfig\n /**\n * The tab index of the input field or fields, or `null` for natural tab order (recommended). Setting to `0`\n * is equivalent to natural tab order, but is unnecessary for fields since they are naturally tabbable\n * (i.e., accessible via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set\n * to the element programmatically.\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-tabIndex)\n */\n tabIndex ? : number\n /**\n * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-textAlign)\n */\n textAlign ? : 'left'|'center'|'right'|'start'|'end'\n type ? : 'viewpresetcombo'\n /**\n * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified\n * as a space separated string, an array of strings, or as an object in which property names with truthy\n * values are used as the class names.\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-ui)\n */\n ui ? : string|object\n /**\n * As default, a preset change by the ViewPresetCombo will result in that the `startDate` will be calculated to\n * the beginning of the [mainUnit](https://bryntum.com/products/scheduler/docs/api/Scheduler/preset/ViewPreset#field-mainUnit) of the\n * [viewportCenterDate](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/TimelineDateMapper#property-viewportCenterDate). If the ViewPreset has a\n * [start](https://bryntum.com/products/scheduler/docs/api/Scheduler/preset/ViewPreset#field-start) configured, this will be added to the calculation. The\n * `endDate` will then be calculated by adding the ViewPreset's\n * [defaultSpan](https://bryntum.com/products/scheduler/docs/api/Scheduler/preset/ViewPreset#field-defaultSpan) to the `startDate`.\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-useFixedDuration)\n */\n useFixedDuration ? : Boolean\n /**\n * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container).\n * Higher weights go further down.\n */\n weight ? : number\n /**\n * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which\n * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases\n * this config is convenient.\n */\n width ? : string|number\n /**\n * The x position for the widget.\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-x)\n */\n x ? : number\n /**\n * The y position for the widget.\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-y)\n */\n y ? : number\n\n}>();\n\nconst emit = defineEmits<{\n /**\n * The default action was performed (an item in the list was selected)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Combo} params.params.event.source The combo\n * @param {any} params.params.event.value The [value](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-valueField) of the selected record\n * @param {Core.data.Model} params.params.event.record Selected record\n * @param {Core.data.Model[]} params.params.event.records Selected records as an array if [multiSelect](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-multiSelect) is `true`\n * @param {boolean} params.params.event.userAction `true` if the value change is due to user interaction\n */\n (e: 'action', params: ((event: { source: Combo, value: any, record: Model, records: Model[], userAction: boolean }) => void)|string): void\n /**\n * Fires before an object is destroyed.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.Base} params.params.event.source The Object that is being destroyed.\n */\n (e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void\n /**\n * Triggered before a widget is hidden. Return `false` to prevent the action.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source The widget being hidden.\n */\n (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void\n /**\n * Triggered before a widget is shown. Return `false` to prevent the action.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget,any} params.params.event.source The widget being shown\n */\n (e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void\n /**\n * Fires when any other event is fired from the object.\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#event-catchAll)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {{[key: string]: any, type: string}} params.params.event.event The Object that contains event details\n * @param {string} params.params.event.event.type The type of the event which is caught by the listener\n */\n (e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void\n /**\n * Fired when this field's value changes.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Field,any} params.params.event.source This Field\n * @param {string,number,boolean,any} params.params.event.value This field's value\n * @param {string,number,boolean,any} params.params.event.oldValue This field's previous value\n * @param {boolean} params.params.event.valid True if this field is in a valid state\n * @param {Event} params.params.event.event The triggering DOM event if any\n * @param {boolean} params.params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)\n * @param {boolean} params.params.event.checked\n */\n (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\n /**\n * Fired when this field is [cleared](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#function-clear).\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#event-clear)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Field,any} params.params.event.source This Field\n */\n (e: 'clear', params: ((event: { source: Field|any }) => void)|string): void\n /**\n * Fires when an object is destroyed.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.Base} params.params.event.source The Object that is being destroyed.\n */\n (e: 'destroy', params: ((event: { source: Base }) => void)|string): void\n /**\n * Triggered when a widget's [element](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-element) is available.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {HTMLElement} params.params.event.element The Widget's element.\n */\n (e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void\n /**\n * Fired when focus enters this Widget.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source This Widget\n * @param {HTMLElement} params.params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.\n * @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.\n */\n (e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void\n /**\n * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.\n * focus moving from within this Widget's ownership tree, even if there are floating widgets\n * will not trigger this event. This is when focus exits this widget completely.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source This Widget\n * @param {HTMLElement} params.params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.\n * @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.\n */\n (e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void\n /**\n * Triggered after a widget was hidden\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source The widget\n */\n (e: 'hide', params: ((event: { source: Widget }) => void)|string): void\n /**\n * Triggered when a widget which had been in a non-visible state for any reason\n * achieves visibility.\n * ...\n * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#event-paint)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source The widget being painted.\n * @param {boolean} params.params.event.firstPaint `true` if this is the first paint.\n */\n (e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void\n /**\n * Fired when a Widget's read only state is toggled\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {boolean} params.params.event.readOnly Read only or not\n */\n (e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void\n /**\n * This event is fired after a widget's elements have been synchronized due to a direct or indirect call\n * to [recompose](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#function-recompose), if this results in some change to the widget's rendered DOM elements.\n */\n (e: 'recompose', params: (() => void)|string): void\n /**\n * 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`*.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source This Widget\n * @param {number} params.params.event.width The new width\n * @param {number} params.params.event.height The new height\n * @param {number} params.params.event.oldWidth The old width\n * @param {number} params.params.event.oldHeight The old height\n */\n (e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void\n /**\n * An item in the list was selected\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Combo} params.params.event.source The combo\n * @param {Core.data.Model} params.params.event.record Selected record\n * @param {Core.data.Model[]} params.params.event.records Selected records as an array if [multiSelect](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-multiSelect) is `true`\n * @param {boolean} params.params.event.userAction `true` if the value change is due to user interaction\n */\n (e: 'select', params: ((event: { source: Combo, record: Model, records: Model[], userAction: boolean }) => void)|string): void\n /**\n * Triggered after a widget is shown.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source The widget\n */\n (e: 'show', params: ((event: { source: Widget }) => void)|string): void\n /**\n * User clicked one of this field's [triggers](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#property-triggers)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Field,any} params.params.event.source This field\n * @param {Core.widget.Widget} params.params.event.trigger The trigger activated by click or touch tap.\n */\n (e: 'trigger', params: ((event: { source: Field|any, trigger: Widget }) => void)|string): void\n}>();\n\nconst widgetData = {\n instanceClass : ViewPresetCombo,\n instanceName : 'ViewPresetCombo',\n\n configNames : [\n 'align',\n 'anchor',\n 'ariaDescription',\n 'ariaLabel',\n 'bubbleEvents',\n 'cacheLastResult',\n 'centered',\n 'clearTextOnSelection',\n 'clearWhenInputEmpty',\n 'client',\n 'color',\n 'config',\n 'constrainTo',\n 'contentElementCls',\n 'dataField',\n 'defaultBindProperty',\n 'detectCSSCompatibilityIssues',\n 'dock',\n 'draggable',\n 'elementAttributes',\n 'floating',\n 'hideAnimation',\n 'hidePickerOnSelect',\n 'hint',\n 'hintHtml',\n 'ignoreParentReadOnly',\n 'inputAlign',\n 'inputAttributes',\n 'inputTag',\n 'inputWidth',\n 'labelCls',\n 'labelPosition',\n 'labels',\n 'labelWidth',\n 'listCls',\n 'listeners',\n 'listItemTpl',\n 'localeClass',\n 'localizable',\n 'localizableProperties',\n 'maskDefaults',\n 'masked',\n 'monitorResize',\n 'name',\n 'overlayAnchor',\n 'pickerWidth',\n 'positioned',\n 'presets',\n 'preventTooltipOnTouch',\n 'relayStoreEvents',\n 'ripple',\n 'rootElement',\n 'scrollAction',\n 'showAnimation',\n 'showTooltipWhenDisabled',\n 'skipValidation',\n 'tab',\n 'tabIndex',\n 'textAlign',\n 'type',\n 'ui',\n 'useFixedDuration',\n 'weight'\n ],\n propertyConfigNames : [\n 'alignSelf',\n 'appendTo',\n 'badge',\n 'callOnFunctions',\n 'catchEventHandlerExceptions',\n 'cls',\n 'column',\n 'disabled',\n 'editable',\n 'extraData',\n 'flex',\n 'height',\n 'hidden',\n 'id',\n 'insertBefore',\n 'insertFirst',\n 'keyMap',\n 'label',\n 'margin',\n 'maxHeight',\n 'maximizeOnMobile',\n 'maxWidth',\n 'minHeight',\n 'minWidth',\n 'onAction',\n 'onBeforeDestroy',\n 'onBeforeHide',\n 'onBeforeShow',\n 'onCatchAll',\n 'onChange',\n 'onClear',\n 'onDestroy',\n 'onElementCreated',\n 'onFocusIn',\n 'onFocusOut',\n 'onHide',\n 'onPaint',\n 'onReadOnly',\n 'onRecompose',\n 'onResize',\n 'onSelect',\n 'onShow',\n 'onTrigger',\n 'readOnly',\n 'rendition',\n 'rtl',\n 'showRequiredIndicator',\n 'span',\n 'width',\n 'x',\n 'y'\n ],\n propertyNames : [\n 'anchorSize',\n 'focusVisible',\n 'formula',\n 'input',\n 'multiSelect',\n 'parent',\n 'picker',\n 'placeholder',\n 'required',\n 'tooltip',\n 'value'\n ],\n eventNames : [\n 'action',\n 'beforeDestroy',\n 'beforeHide',\n 'beforeShow',\n 'catchAll',\n 'change',\n 'clear',\n 'destroy',\n 'elementCreated',\n 'focusIn',\n 'focusOut',\n 'hide',\n 'paint',\n 'readOnly',\n 'recompose',\n 'resize',\n 'select',\n 'show',\n 'trigger'\n ]\n};\n\nconst instance: {\n value?: ViewPresetCombo\n} = {};\n\nconst refElement = ref<HTMLDivElement>()!;\n// Storage for teleports (in-cell Vue component instances) automatically renderer by template\nconst teleports = ref(new Map());\n\n// Provide teleports for processCellContent\nprovide('teleports', teleports);\n\nonMounted(() => {\n\n const me = getCurrentInstance()!;\n\n instance.value = WrapperHelper.createWidget<typeof ViewPresetCombo>({\n me,\n widgetData,\n emit,\n element : refElement.value!,\n toRaw\n });\n\n const watcher = (prop: string, callback: any) => watch(() => me.props[prop], callback);\n WrapperHelper.watchProps(instance.value, widgetData, watcher);\n});\n\nonBeforeUnmount(() => {\n // @ts-ignore\n instance.value?.destroy?.();\n});\n\ndefineExpose({\n instance,\n refElement,\n teleports\n});\n\n</script>\n"],"names":["emit","__emit","widgetData","ViewPresetCombo","instance","refElement","ref","teleports","provide","onMounted","me","getCurrentInstance","WrapperHelper","toRaw","watcher","prop","callback","watch","onBeforeUnmount","__expose","_createElementBlock"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAukBA,UAAMA,IAAOC,GAmOPC,IAAa;AAAA,MACf,eAAgBC;AAAA,MAChB,cAAgB;AAAA,MAEhB,aAAgB;AAAA,QACZ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,qBAAsB;AAAA,QAClB;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,eAAgB;AAAA,QACZ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,YAAa;AAAA,QACT;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,IACJ,GAGEC,IAEF,CAAA,GAEEC,IAAaC,EAAA,GAEbC,IAAYD,EAAI,oBAAI,KAAK;AAG/B,WAAAE,EAAQ,aAAaD,CAAS,GAE9BE,EAAU,MAAM;AAEZ,YAAMC,IAAKC,EAAA;AAEX,MAAAP,EAAS,QAAQQ,EAAc,aAAqC;AAAA,QAChE,IAAAF;AAAA,QACA,YAAAR;AAAA,QACA,MAAAF;AAAA,QACA,SAAUK,EAAW;AAAA,QACrB,OAAAQ;AAAA,MAAA,CACH;AAED,YAAMC,IAAU,CAACC,GAAcC,MAAkBC,EAAM,MAAMP,EAAG,MAAMK,CAAI,GAAGC,CAAQ;AACrF,MAAAJ,EAAc,WAAWR,EAAS,OAAOF,GAAYY,CAAO;AAAA,IAChE,CAAC,GAEDI,EAAgB,MAAM;AAElB,MAAAd,EAAS,OAAO,UAAA;AAAA,IACpB,CAAC,GAEDe,EAAa;AAAA,MACT,UAAAf;AAAA,MACA,YAAAC;AAAA,MACA,WAAAE;AAAA,IAAA,CACH,mBAz+BGa,EAEM,OAAA;AAAA,eAFG;AAAA,MAAJ,KAAIf;AAAA,IAAA;;;"}