@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, Container, DomConfig, KeyMapConfig, MaskConfig, MenuItemEntry, Model, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
13
|
+
import type { AlignSpec, Base, Container, DomConfig, KeyMapConfig, MaskConfig, MenuItemEntry, Model, ReactJSX, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
14
14
|
import type { SchedulerContainerItemConfig, SchedulerContainerLayoutConfig, ProjectModel, ProjectModelConfig, UndoRedoListeners } from '@bryntum/scheduler-thin';
|
|
15
15
|
import { UndoRedo } from '@bryntum/scheduler-thin';
|
|
16
16
|
|
|
@@ -21,14 +21,12 @@ defineProps<{
|
|
|
21
21
|
/**
|
|
22
22
|
* Element (or element id) to adopt as this Widget's encapsulating element. The widget's
|
|
23
23
|
* content will be placed inside this element.
|
|
24
|
-
* ...
|
|
25
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-adopt)
|
|
24
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-adopt)
|
|
26
25
|
*/
|
|
27
26
|
adopt ? : HTMLElement|string
|
|
28
27
|
/**
|
|
29
28
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
|
|
30
|
-
* ...
|
|
31
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-align)
|
|
29
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-align)
|
|
32
30
|
*/
|
|
33
31
|
align ? : AlignSpec|string
|
|
34
32
|
/**
|
|
@@ -50,15 +48,13 @@ defineProps<{
|
|
|
50
48
|
/**
|
|
51
49
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
|
|
52
50
|
* into an element which will be linked using the `aria-describedby` attribute.
|
|
53
|
-
* ...
|
|
54
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-ariaDescription)
|
|
51
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-ariaDescription)
|
|
55
52
|
*/
|
|
56
53
|
ariaDescription ? : string
|
|
57
54
|
/**
|
|
58
55
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
|
|
59
56
|
* the `aria-label` attribute.
|
|
60
|
-
* ...
|
|
61
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-ariaLabel)
|
|
57
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-ariaLabel)
|
|
62
58
|
*/
|
|
63
59
|
ariaLabel ? : string
|
|
64
60
|
/**
|
|
@@ -72,21 +68,18 @@ defineProps<{
|
|
|
72
68
|
/**
|
|
73
69
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
74
70
|
* hierarchy when triggered.
|
|
75
|
-
* ...
|
|
76
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-bubbleEvents)
|
|
71
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-bubbleEvents)
|
|
77
72
|
*/
|
|
78
73
|
bubbleEvents ? : object
|
|
79
74
|
/**
|
|
80
75
|
* Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
|
|
81
|
-
* ...
|
|
82
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-callOnFunctions)
|
|
76
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-callOnFunctions)
|
|
83
77
|
*/
|
|
84
78
|
callOnFunctions ? : Boolean
|
|
85
79
|
/**
|
|
86
80
|
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
87
81
|
* application state is undefined. Code which follows the event handler will *not* be executed.
|
|
88
|
-
* ...
|
|
89
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-catchEventHandlerExceptions)
|
|
82
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-catchEventHandlerExceptions)
|
|
90
83
|
*/
|
|
91
84
|
catchEventHandlerExceptions ? : Boolean
|
|
92
85
|
/**
|
|
@@ -98,8 +91,7 @@ defineProps<{
|
|
|
98
91
|
* Custom CSS classes to add to element.
|
|
99
92
|
* May be specified as a space separated string, or as an object in which property names
|
|
100
93
|
* with truthy values are used as the class names:
|
|
101
|
-
* ...
|
|
102
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-cls)
|
|
94
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-cls)
|
|
103
95
|
*/
|
|
104
96
|
cls ? : string|object
|
|
105
97
|
/**
|
|
@@ -127,8 +119,7 @@ defineProps<{
|
|
|
127
119
|
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement).
|
|
128
120
|
* May be specified as a space separated string, or as an object in which property names
|
|
129
121
|
* with truthy values are used as the class names:
|
|
130
|
-
* ...
|
|
131
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-contentElementCls)
|
|
122
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-contentElementCls)
|
|
132
123
|
*/
|
|
133
124
|
contentElementCls ? : string|object
|
|
134
125
|
/**
|
|
@@ -148,8 +139,7 @@ defineProps<{
|
|
|
148
139
|
/**
|
|
149
140
|
* A [query](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#function-query) selector function which can identify the descendant widget to which
|
|
150
141
|
* focus should be directed by default.
|
|
151
|
-
* ...
|
|
152
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-defaultFocus)
|
|
142
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-defaultFocus)
|
|
153
143
|
* @param {Core.widget.Widget} widget Widget passed to method
|
|
154
144
|
* @returns {boolean} truthy value if widget is the default one
|
|
155
145
|
*/
|
|
@@ -159,16 +149,15 @@ defineProps<{
|
|
|
159
149
|
*/
|
|
160
150
|
defaults ? : SchedulerContainerItemConfig
|
|
161
151
|
/**
|
|
162
|
-
* Check for CSS compatibility issues
|
|
163
|
-
*
|
|
164
|
-
* [
|
|
152
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
153
|
+
* checks:
|
|
154
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-detectCSSCompatibilityIssues)
|
|
165
155
|
*/
|
|
166
156
|
detectCSSCompatibilityIssues ? : Boolean
|
|
167
157
|
/**
|
|
168
158
|
* Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget
|
|
169
159
|
* cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
|
|
170
|
-
* ...
|
|
171
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-disabled)
|
|
160
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-disabled)
|
|
172
161
|
*/
|
|
173
162
|
disabled ? : Boolean|'inert'
|
|
174
163
|
/**
|
|
@@ -176,25 +165,21 @@ defineProps<{
|
|
|
176
165
|
* [strips collection](https://bryntum.com/products/scheduler/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
177
166
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
178
167
|
* body. Such widgets are called "edge strips".
|
|
179
|
-
* ...
|
|
180
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-dock)
|
|
168
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-dock)
|
|
181
169
|
*/
|
|
182
170
|
dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
183
171
|
/**
|
|
184
172
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
|
|
185
173
|
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
186
174
|
* property which controls when a drag should start.
|
|
187
|
-
* ...
|
|
188
|
-
*
|
|
175
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-draggable)
|
|
176
|
+
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
189
177
|
*/
|
|
190
|
-
draggable ? : Boolean|
|
|
191
|
-
handleSelector?: string
|
|
192
|
-
}
|
|
178
|
+
draggable ? : Boolean|object
|
|
193
179
|
/**
|
|
194
180
|
* An object specifying attributes to assign to the root element of this widget.
|
|
195
181
|
* Set `null` value to attribute to remove it.
|
|
196
|
-
* ...
|
|
197
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-elementAttributes)
|
|
182
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-elementAttributes)
|
|
198
183
|
*/
|
|
199
184
|
elementAttributes ? : Record<string, string|null>
|
|
200
185
|
extraData ? : any
|
|
@@ -223,25 +208,21 @@ defineProps<{
|
|
|
223
208
|
hidden ? : Boolean
|
|
224
209
|
/**
|
|
225
210
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
|
|
226
|
-
* ...
|
|
227
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-hideAnimation)
|
|
211
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-hideAnimation)
|
|
228
212
|
*/
|
|
229
213
|
hideAnimation ? : Boolean|object
|
|
230
214
|
/**
|
|
231
215
|
* Specify `true` to make this container hide when it has no visible children (Either empty
|
|
232
216
|
* or all children hidden).
|
|
233
|
-
* ...
|
|
234
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-hideWhenEmpty)
|
|
217
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-hideWhenEmpty)
|
|
235
218
|
*/
|
|
236
219
|
hideWhenEmpty ? : Boolean
|
|
237
220
|
/**
|
|
238
221
|
* The HTML to display initially or a function returning the markup (called at widget construction time).
|
|
239
|
-
* ...
|
|
240
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-html)
|
|
222
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-html)
|
|
241
223
|
* @param {Core.widget.Widget} widget The calling Widget
|
|
242
|
-
* @returns {string}
|
|
243
224
|
*/
|
|
244
|
-
html ? : string|((widget: Widget) =>
|
|
225
|
+
html ? : string|((widget: Widget) => void)|DomConfig|DomConfig[]|VueConfig|ReactJSX
|
|
245
226
|
/**
|
|
246
227
|
* The CSS class(es) to add when HTML content is being applied to this widget.
|
|
247
228
|
*/
|
|
@@ -252,16 +233,14 @@ defineProps<{
|
|
|
252
233
|
id ? : string
|
|
253
234
|
/**
|
|
254
235
|
* Determines if the widgets read-only state should be controlled by its parent.
|
|
255
|
-
* ...
|
|
256
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-ignoreParentReadOnly)
|
|
236
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-ignoreParentReadOnly)
|
|
257
237
|
*/
|
|
258
238
|
ignoreParentReadOnly ? : Boolean
|
|
259
239
|
/**
|
|
260
240
|
* Convenience setting to align input fields of child widgets. By default, the Field input element is
|
|
261
241
|
* placed immediately following the `label`. If you prefer to have all input fields aligned to the
|
|
262
242
|
* right, set this config to `'end'`.
|
|
263
|
-
* ...
|
|
264
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-inputFieldAlign)
|
|
243
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-inputFieldAlign)
|
|
265
244
|
*/
|
|
266
245
|
inputFieldAlign ? : 'start'|'end'
|
|
267
246
|
/**
|
|
@@ -279,55 +258,52 @@ defineProps<{
|
|
|
279
258
|
/**
|
|
280
259
|
* An object containing typed child widget config objects or Widgets. May also be specified
|
|
281
260
|
* as an array.
|
|
282
|
-
* ...
|
|
283
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-items)
|
|
261
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-items)
|
|
284
262
|
*/
|
|
285
263
|
items ? : Record<string, SchedulerContainerItemConfig|MenuItemEntry>|(SchedulerContainerItemConfig|MenuItemEntry|Widget)[]
|
|
286
264
|
/**
|
|
287
265
|
* An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
|
|
288
266
|
* and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
|
|
289
267
|
* are the name of the instance method to call when the keystroke is received.
|
|
290
|
-
* ...
|
|
291
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-keyMap)
|
|
268
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-keyMap)
|
|
292
269
|
*/
|
|
293
270
|
keyMap ? : Record<string, KeyMapConfig>
|
|
294
271
|
/**
|
|
295
272
|
* Convenience setting to use same label placement on all child widgets.
|
|
296
|
-
* ...
|
|
297
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-labelPosition)
|
|
273
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-labelPosition)
|
|
298
274
|
*/
|
|
299
275
|
labelPosition ? : 'before'|'above'|'align-before'|'auto'|null
|
|
276
|
+
/**
|
|
277
|
+
* Sets `labelWidth´ for all children of this Container, that does not define their own `labelWidth`.
|
|
278
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-labelWidth)
|
|
279
|
+
*/
|
|
280
|
+
labelWidth ? : number|null
|
|
300
281
|
/**
|
|
301
282
|
* The short name of a helper class which manages rendering and styling of child items.
|
|
302
|
-
* ...
|
|
303
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-layout)
|
|
283
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-layout)
|
|
304
284
|
*/
|
|
305
285
|
layout ? : string|SchedulerContainerLayoutConfig
|
|
306
286
|
/**
|
|
307
287
|
* The CSS style properties to apply to the [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement).
|
|
308
|
-
* ...
|
|
309
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-layoutStyle)
|
|
288
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-layoutStyle)
|
|
310
289
|
*/
|
|
311
290
|
layoutStyle ? : object
|
|
312
291
|
/**
|
|
313
292
|
* An array of [child item](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#config-items) *config objects* which is to be converted into
|
|
314
293
|
* instances only when this Container is rendered, rather than eagerly at construct time.
|
|
315
|
-
* ...
|
|
316
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-lazyItems)
|
|
294
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-lazyItems)
|
|
317
295
|
*/
|
|
318
296
|
lazyItems ? : Record<string, SchedulerContainerItemConfig>|SchedulerContainerItemConfig[]|Widget[]
|
|
319
297
|
/**
|
|
320
298
|
* The listener set for this object.
|
|
321
|
-
* ...
|
|
322
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-listeners)
|
|
299
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-listeners)
|
|
323
300
|
*/
|
|
324
301
|
listeners ? : UndoRedoListeners
|
|
325
302
|
/**
|
|
326
303
|
* A class translations of which are used for translating this entity.
|
|
327
304
|
* This is often used when translations of an item are defined on its container class.
|
|
328
305
|
* For example:
|
|
329
|
-
* ...
|
|
330
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-localeClass)
|
|
306
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-localeClass)
|
|
331
307
|
*/
|
|
332
308
|
localeClass ? : typeof Base
|
|
333
309
|
/**
|
|
@@ -339,8 +315,7 @@ defineProps<{
|
|
|
339
315
|
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
340
316
|
* you could use 'localeKey' meta configuration.
|
|
341
317
|
* Example:
|
|
342
|
-
* ...
|
|
343
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-localizableProperties)
|
|
318
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-localizableProperties)
|
|
344
319
|
*/
|
|
345
320
|
localizableProperties ? : string[]
|
|
346
321
|
/**
|
|
@@ -366,8 +341,7 @@ defineProps<{
|
|
|
366
341
|
maxHeight ? : string|number
|
|
367
342
|
/**
|
|
368
343
|
* *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/UndoRedo#config-maximizeOnMobile)
|
|
344
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-maximizeOnMobile)
|
|
371
345
|
*/
|
|
372
346
|
maximizeOnMobile ? : number|string
|
|
373
347
|
/**
|
|
@@ -389,26 +363,22 @@ defineProps<{
|
|
|
389
363
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
390
364
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
391
365
|
* layout.
|
|
392
|
-
* ...
|
|
393
|
-
*
|
|
366
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-monitorResize)
|
|
367
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
394
368
|
*/
|
|
395
|
-
monitorResize ? : Boolean|
|
|
396
|
-
immediate?: Boolean
|
|
397
|
-
}
|
|
369
|
+
monitorResize ? : Boolean|object
|
|
398
370
|
/**
|
|
399
371
|
* An object containing default config objects which may be referenced by name in the [items](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#config-items)
|
|
400
372
|
* config. For example, a specialized [Menu](https://bryntum.com/products/scheduler/docs/api/Core/widget/Menu) subclass may have a `namedItems` default
|
|
401
373
|
* value defined like this:
|
|
402
|
-
* ...
|
|
403
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-namedItems)
|
|
374
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-namedItems)
|
|
404
375
|
*/
|
|
405
376
|
namedItems ? : Record<string, SchedulerContainerItemConfig>
|
|
406
377
|
/**
|
|
407
378
|
* 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
|
|
408
379
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
409
380
|
* widget's [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement).
|
|
410
|
-
* ...
|
|
411
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-positioned)
|
|
381
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-positioned)
|
|
412
382
|
*/
|
|
413
383
|
positioned ? : Boolean
|
|
414
384
|
/**
|
|
@@ -419,58 +389,56 @@ defineProps<{
|
|
|
419
389
|
/**
|
|
420
390
|
* The Scheduling [project](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel)'s whose
|
|
421
391
|
* transaction to track.
|
|
422
|
-
* ...
|
|
423
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-project)
|
|
392
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-project)
|
|
424
393
|
*/
|
|
425
394
|
project ? : ProjectModel|ProjectModelConfig|object
|
|
426
395
|
/**
|
|
427
396
|
* Whether this widget is read-only. This is only valid if the widget is an input
|
|
428
397
|
* field, <strong>or contains input fields at any depth</strong>.
|
|
429
|
-
* ...
|
|
430
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-readOnly)
|
|
398
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-readOnly)
|
|
431
399
|
*/
|
|
432
400
|
readOnly ? : Boolean
|
|
433
401
|
/**
|
|
434
402
|
* [Record](https://bryntum.com/products/scheduler/docs/api/Core/data/Model) whose values will be used to populate fields in the container.
|
|
435
|
-
* ...
|
|
436
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-record)
|
|
403
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-record)
|
|
437
404
|
*/
|
|
438
405
|
record ? : Model
|
|
439
406
|
relayStoreEvents ? : Boolean
|
|
440
407
|
/**
|
|
441
408
|
* Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget
|
|
442
409
|
* `type`.
|
|
443
|
-
* ...
|
|
444
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-rendition)
|
|
410
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-rendition)
|
|
445
411
|
*/
|
|
446
412
|
rendition ? : string|Record<string, string>|null
|
|
447
413
|
/**
|
|
448
414
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
449
415
|
* [focusElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-focusElement), or [element](#Core/widget/Widget#property-element) is tapped <em>if the
|
|
450
416
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
451
|
-
* ...
|
|
452
|
-
* [
|
|
417
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-ripple)
|
|
418
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
419
|
+
* @property {string} [color] A CSS color name or specification.
|
|
420
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
421
|
+
* @property {string} [clip] A string which describes how to clip the ripple if it is not to be clipped to the default element. Either the property of the widget to use as the clipping element, or a selector to allow clipping to the closest matching ancestor to the target element.
|
|
422
|
+
*/
|
|
423
|
+
ripple ? : Boolean|object
|
|
424
|
+
/**
|
|
425
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
426
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
427
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-role)
|
|
453
428
|
*/
|
|
454
|
-
|
|
455
|
-
delegate?: string
|
|
456
|
-
color?: string
|
|
457
|
-
radius?: number
|
|
458
|
-
clip?: string
|
|
459
|
-
}
|
|
429
|
+
role ? : string
|
|
460
430
|
/**
|
|
461
431
|
* If you are rendering this widget to a shadow root inside a web component, set this config to the shadowRoot. If not inside a web component, set it to `document.body`
|
|
462
432
|
*/
|
|
463
433
|
rootElement ? : ShadowRoot|HTMLElement
|
|
464
434
|
/**
|
|
465
435
|
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
466
|
-
* ...
|
|
467
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-rtl)
|
|
436
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-rtl)
|
|
468
437
|
*/
|
|
469
438
|
rtl ? : Boolean
|
|
470
439
|
/**
|
|
471
440
|
* The Scheduling Widget (or its `id`) whose transaction to track.
|
|
472
|
-
* ...
|
|
473
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-scheduler)
|
|
441
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-scheduler)
|
|
474
442
|
*/
|
|
475
443
|
scheduler ? : Widget|string
|
|
476
444
|
/**
|
|
@@ -478,8 +446,7 @@ defineProps<{
|
|
|
478
446
|
* in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
|
|
479
447
|
* applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
|
|
480
448
|
* CSS overflow properties thus:
|
|
481
|
-
* ...
|
|
482
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-scrollable)
|
|
449
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-scrollable)
|
|
483
450
|
*/
|
|
484
451
|
scrollable ? : Boolean|ScrollerConfig|Scroller
|
|
485
452
|
/**
|
|
@@ -489,8 +456,7 @@ defineProps<{
|
|
|
489
456
|
scrollAction ? : 'hide'|'realign'|null
|
|
490
457
|
/**
|
|
491
458
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
|
|
492
|
-
* ...
|
|
493
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-showAnimation)
|
|
459
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-showAnimation)
|
|
494
460
|
*/
|
|
495
461
|
showAnimation ? : Boolean|object
|
|
496
462
|
/**
|
|
@@ -515,15 +481,13 @@ defineProps<{
|
|
|
515
481
|
* 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
|
|
516
482
|
* [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
|
|
517
483
|
* this widget:
|
|
518
|
-
* ...
|
|
519
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-tab)
|
|
484
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-tab)
|
|
520
485
|
*/
|
|
521
486
|
tab ? : Boolean|TabConfig
|
|
522
487
|
/**
|
|
523
488
|
* When this container is used as a tab in a TabPanel, these items are added to the
|
|
524
489
|
* [TabBar](https://bryntum.com/products/scheduler/docs/api/Core/widget/TabBar) when this container is the active tab.
|
|
525
|
-
* ...
|
|
526
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-tabBarItems)
|
|
490
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-tabBarItems)
|
|
527
491
|
*/
|
|
528
492
|
tabBarItems ? : ToolbarItems[]|Widget[]
|
|
529
493
|
/**
|
|
@@ -537,15 +501,13 @@ defineProps<{
|
|
|
537
501
|
text ? : Boolean
|
|
538
502
|
/**
|
|
539
503
|
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
540
|
-
* ...
|
|
541
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-textAlign)
|
|
504
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-textAlign)
|
|
542
505
|
*/
|
|
543
506
|
textAlign ? : 'left'|'center'|'right'|'start'|'end'
|
|
544
507
|
/**
|
|
545
508
|
* Specify `true` for a container used to show text markup. It will apply the CSS class `b-text-content`
|
|
546
509
|
* which specifies a default max-width that makes long text more readable.
|
|
547
|
-
* ...
|
|
548
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-textContent)
|
|
510
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-textContent)
|
|
549
511
|
*/
|
|
550
512
|
textContent ? : Boolean
|
|
551
513
|
/**
|
|
@@ -554,8 +516,7 @@ defineProps<{
|
|
|
554
516
|
title ? : string
|
|
555
517
|
/**
|
|
556
518
|
* Tooltip for the widget, either as a string or as a Tooltip config object.
|
|
557
|
-
* ...
|
|
558
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-tooltip)
|
|
519
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-tooltip)
|
|
559
520
|
*/
|
|
560
521
|
tooltip ? : string|TooltipConfig|null
|
|
561
522
|
type ? : 'undoredo'
|
|
@@ -563,8 +524,7 @@ defineProps<{
|
|
|
563
524
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
564
525
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
565
526
|
* values are used as the class names.
|
|
566
|
-
* ...
|
|
567
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-ui)
|
|
527
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-ui)
|
|
568
528
|
*/
|
|
569
529
|
ui ? : string|object
|
|
570
530
|
/**
|
|
@@ -580,14 +540,12 @@ defineProps<{
|
|
|
580
540
|
width ? : string|number
|
|
581
541
|
/**
|
|
582
542
|
* The x position for the widget.
|
|
583
|
-
* ...
|
|
584
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-x)
|
|
543
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-x)
|
|
585
544
|
*/
|
|
586
545
|
x ? : number
|
|
587
546
|
/**
|
|
588
547
|
* The y position for the widget.
|
|
589
|
-
* ...
|
|
590
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-y)
|
|
548
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-y)
|
|
591
549
|
*/
|
|
592
550
|
y ? : number
|
|
593
551
|
|
|
@@ -638,8 +596,7 @@ const emit = defineEmits<{
|
|
|
638
596
|
(e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
639
597
|
/**
|
|
640
598
|
* Fires when any other event is fired from the object.
|
|
641
|
-
* ...
|
|
642
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#event-catchAll)
|
|
599
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#event-catchAll)
|
|
643
600
|
* @param {string} e Event name
|
|
644
601
|
* @param {object} params Event parameters
|
|
645
602
|
* @param {string} params.e Event name
|
|
@@ -725,8 +682,7 @@ const emit = defineEmits<{
|
|
|
725
682
|
/**
|
|
726
683
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
727
684
|
* achieves visibility.
|
|
728
|
-
* ...
|
|
729
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#event-paint)
|
|
685
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#event-paint)
|
|
730
686
|
* @param {string} e Event name
|
|
731
687
|
* @param {object} params Event parameters
|
|
732
688
|
* @param {string} params.e Event name
|
|
@@ -822,6 +778,7 @@ const widgetData = {
|
|
|
822
778
|
'preventTooltipOnTouch',
|
|
823
779
|
'relayStoreEvents',
|
|
824
780
|
'ripple',
|
|
781
|
+
'role',
|
|
825
782
|
'rootElement',
|
|
826
783
|
'scheduler',
|
|
827
784
|
'scrollAction',
|
|
@@ -861,6 +818,7 @@ const widgetData = {
|
|
|
861
818
|
'items',
|
|
862
819
|
'keyMap',
|
|
863
820
|
'labelPosition',
|
|
821
|
+
'labelWidth',
|
|
864
822
|
'layout',
|
|
865
823
|
'layoutStyle',
|
|
866
824
|
'margin',
|
|
@@ -899,11 +857,6 @@ const widgetData = {
|
|
|
899
857
|
'y'
|
|
900
858
|
],
|
|
901
859
|
propertyNames : [
|
|
902
|
-
'anchorSize',
|
|
903
|
-
'focusVisible',
|
|
904
|
-
'hasChanges',
|
|
905
|
-
'isSettingValues',
|
|
906
|
-
'isValid',
|
|
907
860
|
'parent',
|
|
908
861
|
'values'
|
|
909
862
|
],
|