@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.
- 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 +429 -600
- package/src/components/BryntumSchedulerBase.vue +429 -600
- 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 +325 -444
- 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, ColorDescriptor, Field,
|
|
13
|
+
import type { AlignSpec, Base, ColorDescriptor, Field, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Model, Rectangle, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
14
14
|
import type { SchedulerContainerItemConfig, EventColorFieldListeners } from '@bryntum/scheduler-thin';
|
|
15
15
|
import { EventColorField } from '@bryntum/scheduler-thin';
|
|
16
16
|
|
|
@@ -25,14 +25,12 @@ defineProps<{
|
|
|
25
25
|
/**
|
|
26
26
|
* Element (or element id) to adopt as this Widget's encapsulating element. The widget's
|
|
27
27
|
* content will be placed inside this element.
|
|
28
|
-
* ...
|
|
29
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-adopt)
|
|
28
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-adopt)
|
|
30
29
|
*/
|
|
31
30
|
adopt ? : HTMLElement|string
|
|
32
31
|
/**
|
|
33
32
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
|
|
34
|
-
* ...
|
|
35
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-align)
|
|
33
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-align)
|
|
36
34
|
*/
|
|
37
35
|
align ? : AlignSpec|string
|
|
38
36
|
/**
|
|
@@ -54,15 +52,13 @@ defineProps<{
|
|
|
54
52
|
/**
|
|
55
53
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
|
|
56
54
|
* into an element which will be linked using the `aria-describedby` attribute.
|
|
57
|
-
* ...
|
|
58
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-ariaDescription)
|
|
55
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-ariaDescription)
|
|
59
56
|
*/
|
|
60
57
|
ariaDescription ? : string
|
|
61
58
|
/**
|
|
62
59
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
|
|
63
60
|
* the `aria-label` attribute.
|
|
64
|
-
* ...
|
|
65
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-ariaLabel)
|
|
61
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-ariaLabel)
|
|
66
62
|
*/
|
|
67
63
|
ariaLabel ? : string
|
|
68
64
|
/**
|
|
@@ -85,21 +81,18 @@ defineProps<{
|
|
|
85
81
|
/**
|
|
86
82
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
87
83
|
* hierarchy when triggered.
|
|
88
|
-
* ...
|
|
89
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-bubbleEvents)
|
|
84
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-bubbleEvents)
|
|
90
85
|
*/
|
|
91
86
|
bubbleEvents ? : object
|
|
92
87
|
/**
|
|
93
88
|
* Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
|
|
94
|
-
* ...
|
|
95
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-callOnFunctions)
|
|
89
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-callOnFunctions)
|
|
96
90
|
*/
|
|
97
91
|
callOnFunctions ? : Boolean
|
|
98
92
|
/**
|
|
99
93
|
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
100
94
|
* application state is undefined. Code which follows the event handler will *not* be executed.
|
|
101
|
-
* ...
|
|
102
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-catchEventHandlerExceptions)
|
|
95
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-catchEventHandlerExceptions)
|
|
103
96
|
*/
|
|
104
97
|
catchEventHandlerExceptions ? : Boolean
|
|
105
98
|
/**
|
|
@@ -117,16 +110,14 @@ defineProps<{
|
|
|
117
110
|
* Custom CSS classes to add to element.
|
|
118
111
|
* May be specified as a space separated string, or as an object in which property names
|
|
119
112
|
* with truthy values are used as the class names:
|
|
120
|
-
* ...
|
|
121
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-cls)
|
|
113
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-cls)
|
|
122
114
|
*/
|
|
123
115
|
cls ? : string|object
|
|
124
116
|
/**
|
|
125
117
|
* The `colors` property can be an array of string CSS colors or of objects with `color`
|
|
126
118
|
* and `text` properties from which the user can chose from. This will override the
|
|
127
119
|
* [pickers default colors](https://bryntum.com/products/scheduler/docs/api/Core/widget/ColorPicker#config-colors).
|
|
128
|
-
* ...
|
|
129
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-colors)
|
|
120
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-colors)
|
|
130
121
|
*/
|
|
131
122
|
colors ? : (string|ColorDescriptor)[]
|
|
132
123
|
/**
|
|
@@ -143,15 +134,13 @@ defineProps<{
|
|
|
143
134
|
* The configuration for additional items associated to this field. This is typically used to add contextual
|
|
144
135
|
* fields related to a [checkbox](https://bryntum.com/products/scheduler/docs/api/Core/widget/Checkbox) or [radio button](#Core/widget/Radio). See
|
|
145
136
|
* these classes for examples of nested fields.
|
|
146
|
-
* ...
|
|
147
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-container)
|
|
137
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-container)
|
|
148
138
|
*/
|
|
149
|
-
container ? : Record<string, SchedulerContainerItemConfig>|SchedulerContainerItemConfig[]|FieldContainerConfig
|
|
139
|
+
container ? : Record<string, SchedulerContainerItemConfig>|SchedulerContainerItemConfig[]|FieldContainerConfig
|
|
150
140
|
/**
|
|
151
141
|
* The config controls how the value of nested items are handled when a parent container gets or sets its
|
|
152
142
|
* [values](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#property-values).
|
|
153
|
-
* ...
|
|
154
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-containValues)
|
|
143
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-containValues)
|
|
155
144
|
* @param {Core.widget.Field} field Field instance
|
|
156
145
|
* @returns {boolean}
|
|
157
146
|
*/
|
|
@@ -160,8 +149,7 @@ defineProps<{
|
|
|
160
149
|
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement).
|
|
161
150
|
* May be specified as a space separated string, or as an object in which property names
|
|
162
151
|
* with truthy values are used as the class names:
|
|
163
|
-
* ...
|
|
164
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-contentElementCls)
|
|
152
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-contentElementCls)
|
|
165
153
|
*/
|
|
166
154
|
contentElementCls ? : string|object
|
|
167
155
|
/**
|
|
@@ -179,16 +167,15 @@ defineProps<{
|
|
|
179
167
|
*/
|
|
180
168
|
defaultBindProperty ? : string
|
|
181
169
|
/**
|
|
182
|
-
* Check for CSS compatibility issues
|
|
183
|
-
*
|
|
184
|
-
* [
|
|
170
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
171
|
+
* checks:
|
|
172
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-detectCSSCompatibilityIssues)
|
|
185
173
|
*/
|
|
186
174
|
detectCSSCompatibilityIssues ? : Boolean
|
|
187
175
|
/**
|
|
188
176
|
* 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
|
|
189
177
|
* cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
|
|
190
|
-
* ...
|
|
191
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-disabled)
|
|
178
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-disabled)
|
|
192
179
|
*/
|
|
193
180
|
disabled ? : Boolean|'inert'
|
|
194
181
|
/**
|
|
@@ -196,25 +183,21 @@ defineProps<{
|
|
|
196
183
|
* [strips collection](https://bryntum.com/products/scheduler/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
197
184
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
198
185
|
* body. Such widgets are called "edge strips".
|
|
199
|
-
* ...
|
|
200
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-dock)
|
|
186
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-dock)
|
|
201
187
|
*/
|
|
202
188
|
dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
203
189
|
/**
|
|
204
190
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
|
|
205
191
|
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
206
192
|
* property which controls when a drag should start.
|
|
207
|
-
* ...
|
|
208
|
-
*
|
|
193
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-draggable)
|
|
194
|
+
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
209
195
|
*/
|
|
210
|
-
draggable ? : Boolean|
|
|
211
|
-
handleSelector?: string
|
|
212
|
-
}
|
|
196
|
+
draggable ? : Boolean|object
|
|
213
197
|
/**
|
|
214
198
|
* An object specifying attributes to assign to the root element of this widget.
|
|
215
199
|
* Set `null` value to attribute to remove it.
|
|
216
|
-
* ...
|
|
217
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-elementAttributes)
|
|
200
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-elementAttributes)
|
|
218
201
|
*/
|
|
219
202
|
elementAttributes ? : Record<string, string|null>
|
|
220
203
|
extraData ? : any
|
|
@@ -243,8 +226,7 @@ defineProps<{
|
|
|
243
226
|
hidden ? : Boolean
|
|
244
227
|
/**
|
|
245
228
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
|
|
246
|
-
* ...
|
|
247
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-hideAnimation)
|
|
229
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-hideAnimation)
|
|
248
230
|
*/
|
|
249
231
|
hideAnimation ? : Boolean|object
|
|
250
232
|
/**
|
|
@@ -254,8 +236,7 @@ defineProps<{
|
|
|
254
236
|
/**
|
|
255
237
|
* An optional string to display inside the input field as an overlay. This can be useful for displaying
|
|
256
238
|
* a field's units.
|
|
257
|
-
* ...
|
|
258
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-hint)
|
|
239
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-hint)
|
|
259
240
|
* @param {object} data A data object
|
|
260
241
|
* @param {Core.widget.Field} data.source A reference to the field instance
|
|
261
242
|
* @param {any} data.value The current value of the field
|
|
@@ -266,8 +247,7 @@ defineProps<{
|
|
|
266
247
|
* 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.
|
|
267
248
|
* Since this can allow malicious content to be executed, be sure not to include user-entered data or to
|
|
268
249
|
* encode such data (see [encodeHtml](https://bryntum.com/products/scheduler/docs/api/Core/helper/StringHelper#function-encodeHtml-static)).
|
|
269
|
-
* ...
|
|
270
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-hintHtml)
|
|
250
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-hintHtml)
|
|
271
251
|
* @param {object} data A data object
|
|
272
252
|
* @param {Core.widget.Field} data.source A reference to the field instance
|
|
273
253
|
* @param {any} data.value The current value of the field
|
|
@@ -280,16 +260,14 @@ defineProps<{
|
|
|
280
260
|
id ? : string
|
|
281
261
|
/**
|
|
282
262
|
* Determines if the widgets read-only state should be controlled by its parent.
|
|
283
|
-
* ...
|
|
284
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-ignoreParentReadOnly)
|
|
263
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-ignoreParentReadOnly)
|
|
285
264
|
*/
|
|
286
265
|
ignoreParentReadOnly ? : Boolean
|
|
287
266
|
/**
|
|
288
267
|
* Set this config to `true` to always display items horizontally along with this field. This assigns an
|
|
289
268
|
* [hbox](https://bryntum.com/products/scheduler/docs/api/Core/widget/layout/Box) as the [layout](#Core/widget/Container#config-layout) to the
|
|
290
269
|
* [container](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#config-container).
|
|
291
|
-
* ...
|
|
292
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-inline)
|
|
270
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-inline)
|
|
293
271
|
*/
|
|
294
272
|
inline ? : Boolean
|
|
295
273
|
/**
|
|
@@ -329,16 +307,14 @@ defineProps<{
|
|
|
329
307
|
* An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
|
|
330
308
|
* and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
|
|
331
309
|
* are the name of the instance method to call when the keystroke is received.
|
|
332
|
-
* ...
|
|
333
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-keyMap)
|
|
310
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-keyMap)
|
|
334
311
|
*/
|
|
335
312
|
keyMap ? : Record<string, KeyMapConfig>
|
|
336
313
|
/**
|
|
337
314
|
* The delay in milliseconds to wait after the last keystroke before triggering a change event.
|
|
338
315
|
* Set to 0 to not trigger change events from keystrokes (listen for input event instead to have
|
|
339
316
|
* immediate feedback, change will still be triggered on blur).
|
|
340
|
-
* ...
|
|
341
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-keyStrokeChangeDelay)
|
|
317
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-keyStrokeChangeDelay)
|
|
342
318
|
*/
|
|
343
319
|
keyStrokeChangeDelay ? : number
|
|
344
320
|
/**
|
|
@@ -351,15 +327,15 @@ defineProps<{
|
|
|
351
327
|
labelCls ? : string|object
|
|
352
328
|
/**
|
|
353
329
|
* Label position, either 'before' the field or 'above' the field
|
|
354
|
-
* ...
|
|
355
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-labelPosition)
|
|
330
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-labelPosition)
|
|
356
331
|
*/
|
|
357
332
|
labelPosition ? : 'before'|'above'|null
|
|
358
333
|
/**
|
|
359
334
|
* The labels to add either before or after the input field.
|
|
360
335
|
* Each label may have the following properties:
|
|
361
|
-
* ...
|
|
362
|
-
*
|
|
336
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-labels)
|
|
337
|
+
* @property {string} html Label text
|
|
338
|
+
* @property {'start','end'} align Which end of the file the label should go
|
|
363
339
|
*/
|
|
364
340
|
labels ? : object[]
|
|
365
341
|
/**
|
|
@@ -368,16 +344,14 @@ defineProps<{
|
|
|
368
344
|
labelWidth ? : string|number
|
|
369
345
|
/**
|
|
370
346
|
* The listener set for this object.
|
|
371
|
-
* ...
|
|
372
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-listeners)
|
|
347
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-listeners)
|
|
373
348
|
*/
|
|
374
349
|
listeners ? : EventColorFieldListeners
|
|
375
350
|
/**
|
|
376
351
|
* A class translations of which are used for translating this entity.
|
|
377
352
|
* This is often used when translations of an item are defined on its container class.
|
|
378
353
|
* For example:
|
|
379
|
-
* ...
|
|
380
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-localeClass)
|
|
354
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-localeClass)
|
|
381
355
|
*/
|
|
382
356
|
localeClass ? : typeof Base
|
|
383
357
|
/**
|
|
@@ -389,8 +363,7 @@ defineProps<{
|
|
|
389
363
|
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
390
364
|
* you could use 'localeKey' meta configuration.
|
|
391
365
|
* Example:
|
|
392
|
-
* ...
|
|
393
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-localizableProperties)
|
|
366
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-localizableProperties)
|
|
394
367
|
*/
|
|
395
368
|
localizableProperties ? : string[]
|
|
396
369
|
/**
|
|
@@ -416,8 +389,7 @@ defineProps<{
|
|
|
416
389
|
maxHeight ? : string|number
|
|
417
390
|
/**
|
|
418
391
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
|
|
419
|
-
* ...
|
|
420
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-maximizeOnMobile)
|
|
392
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-maximizeOnMobile)
|
|
421
393
|
*/
|
|
422
394
|
maximizeOnMobile ? : number|string
|
|
423
395
|
/**
|
|
@@ -447,18 +419,15 @@ defineProps<{
|
|
|
447
419
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
448
420
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
449
421
|
* layout.
|
|
450
|
-
* ...
|
|
451
|
-
*
|
|
422
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-monitorResize)
|
|
423
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
452
424
|
*/
|
|
453
|
-
monitorResize ? : Boolean|
|
|
454
|
-
immediate?: Boolean
|
|
455
|
-
}
|
|
425
|
+
monitorResize ? : Boolean|object
|
|
456
426
|
/**
|
|
457
427
|
* Name of the field which is used as a key to get/set values from/to the field.
|
|
458
428
|
* Used prior to [ref](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-ref) and [id](#Core/widget/Widget#config-id) in
|
|
459
429
|
* [Container.values](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#property-values).
|
|
460
|
-
* ...
|
|
461
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-name)
|
|
430
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-name)
|
|
462
431
|
*/
|
|
463
432
|
name ? : string
|
|
464
433
|
/**
|
|
@@ -473,8 +442,7 @@ defineProps<{
|
|
|
473
442
|
* 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
|
|
474
443
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
475
444
|
* widget's [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement).
|
|
476
|
-
* ...
|
|
477
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-positioned)
|
|
445
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-positioned)
|
|
478
446
|
*/
|
|
479
447
|
positioned ? : Boolean
|
|
480
448
|
/**
|
|
@@ -485,15 +453,13 @@ defineProps<{
|
|
|
485
453
|
/**
|
|
486
454
|
* Makes the field unmodifiable by user action. The input area is not editable, and triggers
|
|
487
455
|
* are unresponsive.
|
|
488
|
-
* ...
|
|
489
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-readOnly)
|
|
456
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-readOnly)
|
|
490
457
|
*/
|
|
491
458
|
readOnly ? : Boolean
|
|
492
459
|
relayStoreEvents ? : Boolean
|
|
493
460
|
/**
|
|
494
461
|
* Predefined style to use for the field. Possible values are:
|
|
495
|
-
* ...
|
|
496
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-rendition)
|
|
462
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-rendition)
|
|
497
463
|
*/
|
|
498
464
|
rendition ? : 'outlined'|'filled'|string
|
|
499
465
|
/**
|
|
@@ -512,23 +478,26 @@ defineProps<{
|
|
|
512
478
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
513
479
|
* [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
|
|
514
480
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
515
|
-
* ...
|
|
516
|
-
* [
|
|
481
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-ripple)
|
|
482
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
483
|
+
* @property {string} [color] A CSS color name or specification.
|
|
484
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
485
|
+
* @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.
|
|
517
486
|
*/
|
|
518
|
-
ripple ? : Boolean|
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
487
|
+
ripple ? : Boolean|object
|
|
488
|
+
/**
|
|
489
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
490
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
491
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-role)
|
|
492
|
+
*/
|
|
493
|
+
role ? : string
|
|
524
494
|
/**
|
|
525
495
|
* 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`
|
|
526
496
|
*/
|
|
527
497
|
rootElement ? : ShadowRoot|HTMLElement
|
|
528
498
|
/**
|
|
529
499
|
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
530
|
-
* ...
|
|
531
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-rtl)
|
|
500
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-rtl)
|
|
532
501
|
*/
|
|
533
502
|
rtl ? : Boolean
|
|
534
503
|
/**
|
|
@@ -538,8 +507,7 @@ defineProps<{
|
|
|
538
507
|
scrollAction ? : 'hide'|'realign'|null
|
|
539
508
|
/**
|
|
540
509
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
|
|
541
|
-
* ...
|
|
542
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-showAnimation)
|
|
510
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-showAnimation)
|
|
543
511
|
*/
|
|
544
512
|
showAnimation ? : Boolean|object
|
|
545
513
|
/**
|
|
@@ -568,8 +536,7 @@ defineProps<{
|
|
|
568
536
|
* 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
|
|
569
537
|
* [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
|
|
570
538
|
* this widget:
|
|
571
|
-
* ...
|
|
572
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-tab)
|
|
539
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-tab)
|
|
573
540
|
*/
|
|
574
541
|
tab ? : Boolean|TabConfig
|
|
575
542
|
/**
|
|
@@ -577,14 +544,12 @@ defineProps<{
|
|
|
577
544
|
* is equivalent to natural tab order, but is unnecessary for fields since they are naturally tabbable
|
|
578
545
|
* (i.e., accessible via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set
|
|
579
546
|
* to the element programmatically.
|
|
580
|
-
* ...
|
|
581
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-tabIndex)
|
|
547
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-tabIndex)
|
|
582
548
|
*/
|
|
583
549
|
tabIndex ? : number
|
|
584
550
|
/**
|
|
585
551
|
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
586
|
-
* ...
|
|
587
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-textAlign)
|
|
552
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-textAlign)
|
|
588
553
|
*/
|
|
589
554
|
textAlign ? : 'left'|'center'|'right'|'start'|'end'
|
|
590
555
|
/**
|
|
@@ -593,24 +558,21 @@ defineProps<{
|
|
|
593
558
|
title ? : string
|
|
594
559
|
/**
|
|
595
560
|
* Tooltip for the widget, either as a string or as a Tooltip config object.
|
|
596
|
-
* ...
|
|
597
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-tooltip)
|
|
561
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-tooltip)
|
|
598
562
|
*/
|
|
599
563
|
tooltip ? : string|TooltipConfig|null
|
|
600
564
|
/**
|
|
601
565
|
* The triggers to add either before or after the input field. Each property name is the reference by which
|
|
602
566
|
* an instantiated Trigger Widget may be retrieved from the live `triggers` property.
|
|
603
|
-
* ...
|
|
604
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-triggers)
|
|
567
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-triggers)
|
|
605
568
|
*/
|
|
606
|
-
triggers ? : Record<string, FieldTriggerConfig
|
|
569
|
+
triggers ? : Record<string, FieldTriggerConfig>
|
|
607
570
|
type ? : 'eventcolorfield'
|
|
608
571
|
/**
|
|
609
572
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
610
573
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
611
574
|
* values are used as the class names.
|
|
612
|
-
* ...
|
|
613
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-ui)
|
|
575
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-ui)
|
|
614
576
|
*/
|
|
615
577
|
ui ? : string|object
|
|
616
578
|
/**
|
|
@@ -635,14 +597,12 @@ defineProps<{
|
|
|
635
597
|
width ? : string|number
|
|
636
598
|
/**
|
|
637
599
|
* The x position for the widget.
|
|
638
|
-
* ...
|
|
639
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-x)
|
|
600
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-x)
|
|
640
601
|
*/
|
|
641
602
|
x ? : number
|
|
642
603
|
/**
|
|
643
604
|
* The y position for the widget.
|
|
644
|
-
* ...
|
|
645
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-y)
|
|
605
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-y)
|
|
646
606
|
*/
|
|
647
607
|
y ? : number
|
|
648
608
|
|
|
@@ -699,8 +659,7 @@ const emit = defineEmits<{
|
|
|
699
659
|
(e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
700
660
|
/**
|
|
701
661
|
* Fires when any other event is fired from the object.
|
|
702
|
-
* ...
|
|
703
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#event-catchAll)
|
|
662
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#event-catchAll)
|
|
704
663
|
* @param {string} e Event name
|
|
705
664
|
* @param {object} params Event parameters
|
|
706
665
|
* @param {string} params.e Event name
|
|
@@ -728,8 +687,7 @@ const emit = defineEmits<{
|
|
|
728
687
|
(e: 'change', params: ((event: { source: Field|any, value: string|number|boolean|any, oldValue: string|number|boolean|any, valid: boolean, event: Event, userAction: boolean, checked: boolean }) => void)|string): void
|
|
729
688
|
/**
|
|
730
689
|
* Fired when this field is [cleared](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#function-clear).
|
|
731
|
-
* ...
|
|
732
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#event-clear)
|
|
690
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#event-clear)
|
|
733
691
|
* @param {string} e Event name
|
|
734
692
|
* @param {object} params Event parameters
|
|
735
693
|
* @param {string} params.e Event name
|
|
@@ -815,8 +773,7 @@ const emit = defineEmits<{
|
|
|
815
773
|
/**
|
|
816
774
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
817
775
|
* achieves visibility.
|
|
818
|
-
* ...
|
|
819
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#event-paint)
|
|
776
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#event-paint)
|
|
820
777
|
* @param {string} e Event name
|
|
821
778
|
* @param {object} params Event parameters
|
|
822
779
|
* @param {string} params.e Event name
|
|
@@ -938,6 +895,7 @@ const widgetData = {
|
|
|
938
895
|
'relayStoreEvents',
|
|
939
896
|
'revertOnEscape',
|
|
940
897
|
'ripple',
|
|
898
|
+
'role',
|
|
941
899
|
'rootElement',
|
|
942
900
|
'scrollAction',
|
|
943
901
|
'showAnimation',
|
|
@@ -1014,10 +972,8 @@ const widgetData = {
|
|
|
1014
972
|
'y'
|
|
1015
973
|
],
|
|
1016
974
|
propertyNames : [
|
|
1017
|
-
'anchorSize',
|
|
1018
975
|
'content',
|
|
1019
976
|
'editable',
|
|
1020
|
-
'focusVisible',
|
|
1021
977
|
'formula',
|
|
1022
978
|
'html',
|
|
1023
979
|
'input',
|