@bryntum/scheduler-vue-3-thin 7.2.4 → 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.
- package/README.md +6 -6
- package/lib/chunks/{C7ZFK2B7.js → 5o-YjSb7.js} +16 -10
- package/lib/chunks/5o-YjSb7.js.map +1 -0
- package/lib/chunks/BXIuEgYD.js +265 -0
- package/lib/chunks/BXIuEgYD.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/{DmQj0tBi.js → DP61St-u.js} +14 -6
- package/lib/chunks/DP61St-u.js.map +1 -0
- package/lib/chunks/{B0m0r-NV.js → DVFhf2Ma.js} +11 -11
- package/lib/chunks/DVFhf2Ma.js.map +1 -0
- package/lib/chunks/{DerP_qo7.js → DhhzgoYL.js} +16 -10
- package/lib/chunks/DhhzgoYL.js.map +1 -0
- package/lib/chunks/{BNGLBrCN.js → OJaN5ZWK.js} +6 -6
- package/lib/chunks/OJaN5ZWK.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/{mKqb8_2f.js → ZkU6CtWX.js} +6 -6
- package/lib/chunks/ZkU6CtWX.js.map +1 -0
- package/lib/chunks/{C0UqC4Uj.js → eUISgYXE.js} +9 -9
- package/lib/chunks/eUISgYXE.js.map +1 -0
- package/lib/chunks/{CsoS615B.js → kN-s_8Na.js} +6 -6
- package/lib/chunks/kN-s_8Na.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 +72 -116
- package/src/components/BryntumEventColorFieldProps.ts +68 -108
- package/src/components/BryntumProjectCombo.vue +90 -149
- package/src/components/BryntumProjectComboProps.ts +86 -141
- package/src/components/BryntumResourceCombo.vue +91 -151
- package/src/components/BryntumResourceComboProps.ts +87 -143
- package/src/components/BryntumResourceFilter.vue +63 -104
- package/src/components/BryntumResourceFilterProps.ts +60 -98
- package/src/components/BryntumScheduler.vue +426 -597
- package/src/components/BryntumSchedulerBase.vue +426 -597
- package/src/components/BryntumSchedulerBaseProps.ts +367 -522
- package/src/components/BryntumSchedulerDatePicker.vue +120 -196
- package/src/components/BryntumSchedulerDatePickerProps.ts +116 -187
- package/src/components/BryntumSchedulerProjectModel.vue +12 -31
- package/src/components/BryntumSchedulerProjectModelProps.ts +10 -20
- package/src/components/BryntumSchedulerProps.ts +367 -522
- package/src/components/BryntumThemeCombo.vue +60 -0
- package/src/components/BryntumTimeZoomSlider.vue +859 -0
- package/src/components/BryntumTimeZoomSliderProps.ts +482 -0
- package/src/components/BryntumTimelineHistogram.vue +322 -441
- package/src/components/BryntumTimelineHistogramProps.ts +275 -388
- package/src/components/BryntumUndoRedo.vue +78 -125
- package/src/components/BryntumUndoRedoProps.ts +74 -116
- package/src/components/BryntumViewPresetCombo.vue +67 -107
- package/src/components/BryntumViewPresetComboProps.ts +63 -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, Color, Combo,
|
|
13
|
+
import type { AlignSpec, Base, Color, Combo, Duration, DurationConfig, Field, KeyMapConfig, MaskConfig, Model, Rectangle, TabConfig, Widget } from '@bryntum/core-thin';
|
|
14
14
|
import type { TimelineBase, ViewPresetComboListeners } from '@bryntum/scheduler-thin';
|
|
15
15
|
import { ViewPresetCombo } from '@bryntum/scheduler-thin';
|
|
16
16
|
|
|
@@ -20,8 +20,7 @@ defineProps<{
|
|
|
20
20
|
// Configs
|
|
21
21
|
/**
|
|
22
22
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
|
|
23
|
-
* ...
|
|
24
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-align)
|
|
23
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-align)
|
|
25
24
|
*/
|
|
26
25
|
align ? : AlignSpec|string
|
|
27
26
|
/**
|
|
@@ -43,15 +42,13 @@ defineProps<{
|
|
|
43
42
|
/**
|
|
44
43
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
|
|
45
44
|
* into an element which will be linked using the `aria-describedby` attribute.
|
|
46
|
-
* ...
|
|
47
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-ariaDescription)
|
|
45
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-ariaDescription)
|
|
48
46
|
*/
|
|
49
47
|
ariaDescription ? : string
|
|
50
48
|
/**
|
|
51
49
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
|
|
52
50
|
* the `aria-label` attribute.
|
|
53
|
-
* ...
|
|
54
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-ariaLabel)
|
|
51
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-ariaLabel)
|
|
55
52
|
*/
|
|
56
53
|
ariaLabel ? : string
|
|
57
54
|
/**
|
|
@@ -61,27 +58,23 @@ defineProps<{
|
|
|
61
58
|
/**
|
|
62
59
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
63
60
|
* hierarchy when triggered.
|
|
64
|
-
* ...
|
|
65
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-bubbleEvents)
|
|
61
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-bubbleEvents)
|
|
66
62
|
*/
|
|
67
63
|
bubbleEvents ? : object
|
|
68
64
|
/**
|
|
69
65
|
* Enable caching of the last retrieved result until the timeout is reached.
|
|
70
|
-
* ...
|
|
71
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-cacheLastResult)
|
|
66
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-cacheLastResult)
|
|
72
67
|
*/
|
|
73
68
|
cacheLastResult ? : number|string|Duration|DurationConfig
|
|
74
69
|
/**
|
|
75
70
|
* Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
|
|
76
|
-
* ...
|
|
77
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-callOnFunctions)
|
|
71
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-callOnFunctions)
|
|
78
72
|
*/
|
|
79
73
|
callOnFunctions ? : Boolean
|
|
80
74
|
/**
|
|
81
75
|
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
82
76
|
* application state is undefined. Code which follows the event handler will *not* be executed.
|
|
83
|
-
* ...
|
|
84
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-catchEventHandlerExceptions)
|
|
77
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-catchEventHandlerExceptions)
|
|
85
78
|
*/
|
|
86
79
|
catchEventHandlerExceptions ? : Boolean
|
|
87
80
|
/**
|
|
@@ -106,15 +99,13 @@ defineProps<{
|
|
|
106
99
|
* Custom CSS classes to add to element.
|
|
107
100
|
* May be specified as a space separated string, or as an object in which property names
|
|
108
101
|
* with truthy values are used as the class names:
|
|
109
|
-
* ...
|
|
110
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-cls)
|
|
102
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-cls)
|
|
111
103
|
*/
|
|
112
104
|
cls ? : string|object
|
|
113
105
|
/**
|
|
114
106
|
* Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
|
|
115
107
|
* `style` block.
|
|
116
|
-
* ...
|
|
117
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-color)
|
|
108
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-color)
|
|
118
109
|
*/
|
|
119
110
|
color ? : Color
|
|
120
111
|
/**
|
|
@@ -131,8 +122,7 @@ defineProps<{
|
|
|
131
122
|
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement).
|
|
132
123
|
* May be specified as a space separated string, or as an object in which property names
|
|
133
124
|
* with truthy values are used as the class names:
|
|
134
|
-
* ...
|
|
135
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-contentElementCls)
|
|
125
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-contentElementCls)
|
|
136
126
|
*/
|
|
137
127
|
contentElementCls ? : string|object
|
|
138
128
|
/**
|
|
@@ -146,16 +136,15 @@ defineProps<{
|
|
|
146
136
|
*/
|
|
147
137
|
defaultBindProperty ? : string
|
|
148
138
|
/**
|
|
149
|
-
* Check for CSS compatibility issues
|
|
150
|
-
*
|
|
151
|
-
* [
|
|
139
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
140
|
+
* checks:
|
|
141
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-detectCSSCompatibilityIssues)
|
|
152
142
|
*/
|
|
153
143
|
detectCSSCompatibilityIssues ? : Boolean
|
|
154
144
|
/**
|
|
155
145
|
* 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
|
|
156
146
|
* cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
|
|
157
|
-
* ...
|
|
158
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-disabled)
|
|
147
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-disabled)
|
|
159
148
|
*/
|
|
160
149
|
disabled ? : Boolean|'inert'
|
|
161
150
|
/**
|
|
@@ -163,20 +152,17 @@ defineProps<{
|
|
|
163
152
|
* [strips collection](https://bryntum.com/products/scheduler/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
164
153
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
165
154
|
* body. Such widgets are called "edge strips".
|
|
166
|
-
* ...
|
|
167
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-dock)
|
|
155
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-dock)
|
|
168
156
|
*/
|
|
169
157
|
dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
170
158
|
/**
|
|
171
159
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
|
|
172
160
|
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
173
161
|
* property which controls when a drag should start.
|
|
174
|
-
* ...
|
|
175
|
-
*
|
|
162
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-draggable)
|
|
163
|
+
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
176
164
|
*/
|
|
177
|
-
draggable ? : Boolean|
|
|
178
|
-
handleSelector?: string
|
|
179
|
-
}
|
|
165
|
+
draggable ? : Boolean|object
|
|
180
166
|
/**
|
|
181
167
|
* User can edit text in text field (otherwise only pick from attached picker)
|
|
182
168
|
*/
|
|
@@ -184,8 +170,7 @@ defineProps<{
|
|
|
184
170
|
/**
|
|
185
171
|
* An object specifying attributes to assign to the root element of this widget.
|
|
186
172
|
* Set `null` value to attribute to remove it.
|
|
187
|
-
* ...
|
|
188
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-elementAttributes)
|
|
173
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-elementAttributes)
|
|
189
174
|
*/
|
|
190
175
|
elementAttributes ? : Record<string, string|null>
|
|
191
176
|
extraData ? : any
|
|
@@ -214,8 +199,7 @@ defineProps<{
|
|
|
214
199
|
hidden ? : Boolean
|
|
215
200
|
/**
|
|
216
201
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
|
|
217
|
-
* ...
|
|
218
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-hideAnimation)
|
|
202
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-hideAnimation)
|
|
219
203
|
*/
|
|
220
204
|
hideAnimation ? : Boolean|object
|
|
221
205
|
/**
|
|
@@ -227,8 +211,7 @@ defineProps<{
|
|
|
227
211
|
/**
|
|
228
212
|
* An optional string to display inside the input field as an overlay. This can be useful for displaying
|
|
229
213
|
* a field's units.
|
|
230
|
-
* ...
|
|
231
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-hint)
|
|
214
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-hint)
|
|
232
215
|
* @param {object} data A data object
|
|
233
216
|
* @param {Core.widget.Field} data.source A reference to the field instance
|
|
234
217
|
* @param {any} data.value The current value of the field
|
|
@@ -239,8 +222,7 @@ defineProps<{
|
|
|
239
222
|
* 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.
|
|
240
223
|
* Since this can allow malicious content to be executed, be sure not to include user-entered data or to
|
|
241
224
|
* encode such data (see [encodeHtml](https://bryntum.com/products/scheduler/docs/api/Core/helper/StringHelper#function-encodeHtml-static)).
|
|
242
|
-
* ...
|
|
243
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-hintHtml)
|
|
225
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-hintHtml)
|
|
244
226
|
* @param {object} data A data object
|
|
245
227
|
* @param {Core.widget.Field} data.source A reference to the field instance
|
|
246
228
|
* @param {any} data.value The current value of the field
|
|
@@ -253,8 +235,7 @@ defineProps<{
|
|
|
253
235
|
id ? : string
|
|
254
236
|
/**
|
|
255
237
|
* Determines if the widgets read-only state should be controlled by its parent.
|
|
256
|
-
* ...
|
|
257
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-ignoreParentReadOnly)
|
|
238
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-ignoreParentReadOnly)
|
|
258
239
|
*/
|
|
259
240
|
ignoreParentReadOnly ? : Boolean
|
|
260
241
|
/**
|
|
@@ -290,8 +271,7 @@ defineProps<{
|
|
|
290
271
|
* An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
|
|
291
272
|
* and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
|
|
292
273
|
* are the name of the instance method to call when the keystroke is received.
|
|
293
|
-
* ...
|
|
294
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-keyMap)
|
|
274
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-keyMap)
|
|
295
275
|
*/
|
|
296
276
|
keyMap ? : Record<string, KeyMapConfig>
|
|
297
277
|
/**
|
|
@@ -304,15 +284,15 @@ defineProps<{
|
|
|
304
284
|
labelCls ? : string|object
|
|
305
285
|
/**
|
|
306
286
|
* Label position, either 'before' the field or 'above' the field
|
|
307
|
-
* ...
|
|
308
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-labelPosition)
|
|
287
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-labelPosition)
|
|
309
288
|
*/
|
|
310
289
|
labelPosition ? : 'before'|'above'|null
|
|
311
290
|
/**
|
|
312
291
|
* The labels to add either before or after the input field.
|
|
313
292
|
* Each label may have the following properties:
|
|
314
|
-
* ...
|
|
315
|
-
*
|
|
293
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-labels)
|
|
294
|
+
* @property {string} html Label text
|
|
295
|
+
* @property {'start','end'} align Which end of the file the label should go
|
|
316
296
|
*/
|
|
317
297
|
labels ? : object[]
|
|
318
298
|
/**
|
|
@@ -325,24 +305,21 @@ defineProps<{
|
|
|
325
305
|
listCls ? : string
|
|
326
306
|
/**
|
|
327
307
|
* The listener set for this object.
|
|
328
|
-
* ...
|
|
329
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-listeners)
|
|
308
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-listeners)
|
|
330
309
|
*/
|
|
331
310
|
listeners ? : ViewPresetComboListeners
|
|
332
311
|
/**
|
|
333
312
|
* Template string used to render the list items in the dropdown list
|
|
334
|
-
* ...
|
|
335
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-listItemTpl)
|
|
313
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-listItemTpl)
|
|
336
314
|
* @param {Core.data.Model} record The record representing the item being rendered
|
|
337
315
|
* @returns {string,void}
|
|
338
316
|
*/
|
|
339
|
-
listItemTpl ? : (record: Model
|
|
317
|
+
listItemTpl ? : (record: Model) => string|void
|
|
340
318
|
/**
|
|
341
319
|
* A class translations of which are used for translating this entity.
|
|
342
320
|
* This is often used when translations of an item are defined on its container class.
|
|
343
321
|
* For example:
|
|
344
|
-
* ...
|
|
345
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-localeClass)
|
|
322
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-localeClass)
|
|
346
323
|
*/
|
|
347
324
|
localeClass ? : typeof Base
|
|
348
325
|
/**
|
|
@@ -354,8 +331,7 @@ defineProps<{
|
|
|
354
331
|
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
355
332
|
* you could use 'localeKey' meta configuration.
|
|
356
333
|
* Example:
|
|
357
|
-
* ...
|
|
358
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-localizableProperties)
|
|
334
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-localizableProperties)
|
|
359
335
|
*/
|
|
360
336
|
localizableProperties ? : string[]
|
|
361
337
|
/**
|
|
@@ -381,8 +357,7 @@ defineProps<{
|
|
|
381
357
|
maxHeight ? : string|number
|
|
382
358
|
/**
|
|
383
359
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
|
|
384
|
-
* ...
|
|
385
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-maximizeOnMobile)
|
|
360
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-maximizeOnMobile)
|
|
386
361
|
*/
|
|
387
362
|
maximizeOnMobile ? : number|string
|
|
388
363
|
/**
|
|
@@ -404,18 +379,15 @@ defineProps<{
|
|
|
404
379
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
405
380
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
406
381
|
* layout.
|
|
407
|
-
* ...
|
|
408
|
-
*
|
|
382
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-monitorResize)
|
|
383
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
409
384
|
*/
|
|
410
|
-
monitorResize ? : Boolean|
|
|
411
|
-
immediate?: Boolean
|
|
412
|
-
}
|
|
385
|
+
monitorResize ? : Boolean|object
|
|
413
386
|
/**
|
|
414
387
|
* Name of the field which is used as a key to get/set values from/to the field.
|
|
415
388
|
* Used prior to [ref](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-ref) and [id](#Core/widget/Widget#config-id) in
|
|
416
389
|
* [Container.values](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#property-values).
|
|
417
|
-
* ...
|
|
418
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-name)
|
|
390
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-name)
|
|
419
391
|
*/
|
|
420
392
|
name ? : string
|
|
421
393
|
/**
|
|
@@ -431,8 +403,7 @@ defineProps<{
|
|
|
431
403
|
* 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
|
|
432
404
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
433
405
|
* widget's [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement).
|
|
434
|
-
* ...
|
|
435
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-positioned)
|
|
406
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-positioned)
|
|
436
407
|
*/
|
|
437
408
|
positioned ? : Boolean
|
|
438
409
|
/**
|
|
@@ -450,38 +421,39 @@ defineProps<{
|
|
|
450
421
|
/**
|
|
451
422
|
* Makes the field unmodifiable by user action. The input area is not editable, and triggers
|
|
452
423
|
* are unresponsive.
|
|
453
|
-
* ...
|
|
454
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-readOnly)
|
|
424
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-readOnly)
|
|
455
425
|
*/
|
|
456
426
|
readOnly ? : Boolean
|
|
457
427
|
relayStoreEvents ? : Boolean
|
|
458
428
|
/**
|
|
459
429
|
* Predefined style to use for the field. Possible values are:
|
|
460
|
-
* ...
|
|
461
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-rendition)
|
|
430
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-rendition)
|
|
462
431
|
*/
|
|
463
432
|
rendition ? : 'outlined'|'filled'|string
|
|
464
433
|
/**
|
|
465
434
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
466
435
|
* [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
|
|
467
436
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
468
|
-
* ...
|
|
469
|
-
* [
|
|
437
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-ripple)
|
|
438
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
439
|
+
* @property {string} [color] A CSS color name or specification.
|
|
440
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
441
|
+
* @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.
|
|
470
442
|
*/
|
|
471
|
-
ripple ? : Boolean|
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
443
|
+
ripple ? : Boolean|object
|
|
444
|
+
/**
|
|
445
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
446
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
447
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-role)
|
|
448
|
+
*/
|
|
449
|
+
role ? : string
|
|
477
450
|
/**
|
|
478
451
|
* 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`
|
|
479
452
|
*/
|
|
480
453
|
rootElement ? : ShadowRoot|HTMLElement
|
|
481
454
|
/**
|
|
482
455
|
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
483
|
-
* ...
|
|
484
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-rtl)
|
|
456
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-rtl)
|
|
485
457
|
*/
|
|
486
458
|
rtl ? : Boolean
|
|
487
459
|
/**
|
|
@@ -491,8 +463,7 @@ defineProps<{
|
|
|
491
463
|
scrollAction ? : 'hide'|'realign'|null
|
|
492
464
|
/**
|
|
493
465
|
* *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/ViewPresetCombo#config-showAnimation)
|
|
466
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-showAnimation)
|
|
496
467
|
*/
|
|
497
468
|
showAnimation ? : Boolean|object
|
|
498
469
|
/**
|
|
@@ -516,8 +487,7 @@ defineProps<{
|
|
|
516
487
|
* 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
|
|
517
488
|
* [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
|
|
518
489
|
* this widget:
|
|
519
|
-
* ...
|
|
520
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-tab)
|
|
490
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-tab)
|
|
521
491
|
*/
|
|
522
492
|
tab ? : Boolean|TabConfig
|
|
523
493
|
/**
|
|
@@ -525,14 +495,12 @@ defineProps<{
|
|
|
525
495
|
* is equivalent to natural tab order, but is unnecessary for fields since they are naturally tabbable
|
|
526
496
|
* (i.e., accessible via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set
|
|
527
497
|
* to the element programmatically.
|
|
528
|
-
* ...
|
|
529
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-tabIndex)
|
|
498
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-tabIndex)
|
|
530
499
|
*/
|
|
531
500
|
tabIndex ? : number
|
|
532
501
|
/**
|
|
533
502
|
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
534
|
-
* ...
|
|
535
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-textAlign)
|
|
503
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-textAlign)
|
|
536
504
|
*/
|
|
537
505
|
textAlign ? : 'left'|'center'|'right'|'start'|'end'
|
|
538
506
|
type ? : 'viewpresetcombo'
|
|
@@ -540,8 +508,7 @@ defineProps<{
|
|
|
540
508
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
541
509
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
542
510
|
* values are used as the class names.
|
|
543
|
-
* ...
|
|
544
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-ui)
|
|
511
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-ui)
|
|
545
512
|
*/
|
|
546
513
|
ui ? : string|object
|
|
547
514
|
/**
|
|
@@ -551,8 +518,7 @@ defineProps<{
|
|
|
551
518
|
* [start](https://bryntum.com/products/scheduler/docs/api/Scheduler/preset/ViewPreset#field-start) configured, this will be added to the calculation. The
|
|
552
519
|
* `endDate` will then be calculated by adding the ViewPreset's
|
|
553
520
|
* [defaultSpan](https://bryntum.com/products/scheduler/docs/api/Scheduler/preset/ViewPreset#field-defaultSpan) to the `startDate`.
|
|
554
|
-
* ...
|
|
555
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-useFixedDuration)
|
|
521
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-useFixedDuration)
|
|
556
522
|
*/
|
|
557
523
|
useFixedDuration ? : Boolean
|
|
558
524
|
/**
|
|
@@ -568,14 +534,12 @@ defineProps<{
|
|
|
568
534
|
width ? : string|number
|
|
569
535
|
/**
|
|
570
536
|
* The x position for the widget.
|
|
571
|
-
* ...
|
|
572
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-x)
|
|
537
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-x)
|
|
573
538
|
*/
|
|
574
539
|
x ? : number
|
|
575
540
|
/**
|
|
576
541
|
* The y position for the widget.
|
|
577
|
-
* ...
|
|
578
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-y)
|
|
542
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-y)
|
|
579
543
|
*/
|
|
580
544
|
y ? : number
|
|
581
545
|
|
|
@@ -628,8 +592,7 @@ const emit = defineEmits<{
|
|
|
628
592
|
(e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
629
593
|
/**
|
|
630
594
|
* Fires when any other event is fired from the object.
|
|
631
|
-
* ...
|
|
632
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#event-catchAll)
|
|
595
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#event-catchAll)
|
|
633
596
|
* @param {string} e Event name
|
|
634
597
|
* @param {object} params Event parameters
|
|
635
598
|
* @param {string} params.e Event name
|
|
@@ -657,8 +620,7 @@ const emit = defineEmits<{
|
|
|
657
620
|
(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
|
|
658
621
|
/**
|
|
659
622
|
* Fired when this field is [cleared](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#function-clear).
|
|
660
|
-
* ...
|
|
661
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#event-clear)
|
|
623
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#event-clear)
|
|
662
624
|
* @param {string} e Event name
|
|
663
625
|
* @param {object} params Event parameters
|
|
664
626
|
* @param {string} params.e Event name
|
|
@@ -732,8 +694,7 @@ const emit = defineEmits<{
|
|
|
732
694
|
/**
|
|
733
695
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
734
696
|
* achieves visibility.
|
|
735
|
-
* ...
|
|
736
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#event-paint)
|
|
697
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#event-paint)
|
|
737
698
|
* @param {string} e Event name
|
|
738
699
|
* @param {object} params Event parameters
|
|
739
700
|
* @param {string} params.e Event name
|
|
@@ -864,6 +825,7 @@ const widgetData = {
|
|
|
864
825
|
'preventTooltipOnTouch',
|
|
865
826
|
'relayStoreEvents',
|
|
866
827
|
'ripple',
|
|
828
|
+
'role',
|
|
867
829
|
'rootElement',
|
|
868
830
|
'scrollAction',
|
|
869
831
|
'showAnimation',
|
|
@@ -931,8 +893,6 @@ const widgetData = {
|
|
|
931
893
|
'y'
|
|
932
894
|
],
|
|
933
895
|
propertyNames : [
|
|
934
|
-
'anchorSize',
|
|
935
|
-
'focusVisible',
|
|
936
896
|
'formula',
|
|
937
897
|
'input',
|
|
938
898
|
'multiSelect',
|