@bryntum/scheduler-vue-3-thin 7.2.4 → 7.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -8
- package/lib/chunks/{B0m0r-NV.js → BTSObfAz.js} +11 -9
- package/lib/chunks/BTSObfAz.js.map +1 -0
- package/lib/chunks/BXIuEgYD.js +265 -0
- package/lib/chunks/BXIuEgYD.js.map +1 -0
- package/lib/chunks/{DerP_qo7.js → CCTV8qn0.js} +18 -10
- package/lib/chunks/CCTV8qn0.js.map +1 -0
- package/lib/chunks/{CsoS615B.js → COFzBhB8.js} +11 -9
- package/lib/chunks/COFzBhB8.js.map +1 -0
- package/lib/chunks/{BD-Hg3lY.js → DB0UHrA3.js} +17 -24
- package/lib/chunks/DB0UHrA3.js.map +1 -0
- package/lib/chunks/{C7ZFK2B7.js → DJSlX0qP.js} +18 -10
- package/lib/chunks/DJSlX0qP.js.map +1 -0
- package/lib/chunks/{DmQj0tBi.js → DP61St-u.js} +14 -6
- package/lib/chunks/DP61St-u.js.map +1 -0
- package/lib/chunks/{mKqb8_2f.js → LNqNYJck.js} +9 -7
- package/lib/chunks/LNqNYJck.js.map +1 -0
- package/lib/chunks/{CP1Mm_Ak.js → R69sJLmF.js} +16 -17
- package/lib/chunks/R69sJLmF.js.map +1 -0
- package/lib/chunks/{BNGLBrCN.js → WykRcMCN.js} +7 -5
- package/lib/chunks/WykRcMCN.js.map +1 -0
- package/lib/chunks/{C0UqC4Uj.js → eUISgYXE.js} +9 -9
- package/lib/chunks/eUISgYXE.js.map +1 -0
- package/lib/chunks/{C2PT-Ukt.js → t8aiH3XL.js} +13 -14
- package/lib/chunks/t8aiH3XL.js.map +1 -0
- package/lib/components/BryntumEventColorField.js +1 -1
- package/lib/components/BryntumProjectCombo.js +1 -1
- package/lib/components/BryntumResourceCombo.js +1 -1
- package/lib/components/BryntumResourceFilter.js +1 -1
- package/lib/components/BryntumScheduler.js +1 -1
- package/lib/components/BryntumSchedulerBase.js +1 -1
- package/lib/components/BryntumSchedulerDatePicker.js +1 -1
- package/lib/components/BryntumSchedulerProjectModel.js +1 -1
- package/lib/components/BryntumThemeCombo.js +57 -0
- package/lib/components/BryntumThemeCombo.js.map +1 -0
- package/lib/components/BryntumTimeZoomSlider.js +5 -0
- package/lib/components/BryntumTimeZoomSlider.js.map +1 -0
- package/lib/components/BryntumTimelineHistogram.js +1 -1
- package/lib/components/BryntumUndoRedo.js +1 -1
- package/lib/components/BryntumViewPresetCombo.js +1 -1
- package/lib/index.js +18 -16
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/BryntumEventColorField.vue +152 -222
- package/src/components/BryntumEventColorFieldProps.ts +77 -108
- package/src/components/BryntumProjectCombo.vue +171 -258
- package/src/components/BryntumProjectComboProps.ts +95 -141
- package/src/components/BryntumResourceCombo.vue +172 -260
- package/src/components/BryntumResourceComboProps.ts +96 -143
- package/src/components/BryntumResourceFilter.vue +132 -211
- package/src/components/BryntumResourceFilterProps.ts +60 -98
- package/src/components/BryntumScheduler.vue +1847 -2520
- package/src/components/BryntumSchedulerBase.vue +1847 -2520
- package/src/components/BryntumSchedulerBaseProps.ts +372 -522
- package/src/components/BryntumSchedulerDatePicker.vue +205 -331
- package/src/components/BryntumSchedulerDatePickerProps.ts +116 -187
- package/src/components/BryntumSchedulerProjectModel.vue +23 -46
- package/src/components/BryntumSchedulerProjectModelProps.ts +10 -20
- package/src/components/BryntumSchedulerProps.ts +372 -522
- package/src/components/BryntumThemeCombo.vue +60 -0
- package/src/components/BryntumTimeZoomSlider.vue +829 -0
- package/src/components/BryntumTimeZoomSliderProps.ts +482 -0
- package/src/components/BryntumTimelineHistogram.vue +1034 -1461
- package/src/components/BryntumTimelineHistogramProps.ts +275 -388
- package/src/components/BryntumUndoRedo.vue +127 -204
- package/src/components/BryntumUndoRedoProps.ts +74 -116
- package/src/components/BryntumViewPresetCombo.vue +144 -210
- package/src/components/BryntumViewPresetComboProps.ts +72 -99
- package/src/index.ts +2 -0
- package/lib/chunks/B0m0r-NV.js.map +0 -1
- package/lib/chunks/BD-Hg3lY.js.map +0 -1
- package/lib/chunks/BNGLBrCN.js.map +0 -1
- package/lib/chunks/C0UqC4Uj.js.map +0 -1
- package/lib/chunks/C2PT-Ukt.js.map +0 -1
- package/lib/chunks/C7ZFK2B7.js.map +0 -1
- package/lib/chunks/CP1Mm_Ak.js.map +0 -1
- package/lib/chunks/CsoS615B.js.map +0 -1
- package/lib/chunks/DerP_qo7.js.map +0 -1
- package/lib/chunks/DmQj0tBi.js.map +0 -1
- package/lib/chunks/mKqb8_2f.js.map +0 -1
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
|
|
12
12
|
|
|
13
|
-
import type { AlignSpec, Base, 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
|
|
|
@@ -598,101 +556,82 @@ const emit = defineEmits<{
|
|
|
598
556
|
* Fires before an object is destroyed.
|
|
599
557
|
* @param {string} e Event name
|
|
600
558
|
* @param {object} params Event parameters
|
|
601
|
-
* @param {
|
|
602
|
-
* @param {
|
|
603
|
-
* @param {object} params.params.event Event object
|
|
604
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
559
|
+
* @param {object} params.event Event object
|
|
560
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
605
561
|
*/
|
|
606
562
|
(e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
|
|
607
563
|
/**
|
|
608
564
|
* Triggered before a widget is hidden. Return `false` to prevent the action.
|
|
609
565
|
* @param {string} e Event name
|
|
610
566
|
* @param {object} params Event parameters
|
|
611
|
-
* @param {
|
|
612
|
-
* @param {
|
|
613
|
-
* @param {object} params.params.event Event object
|
|
614
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being hidden.
|
|
567
|
+
* @param {object} params.event Event object
|
|
568
|
+
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
615
569
|
*/
|
|
616
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
570
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
617
571
|
/**
|
|
618
572
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
619
573
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
620
574
|
* @param {string} e Event name
|
|
621
575
|
* @param {object} params Event parameters
|
|
622
|
-
* @param {
|
|
623
|
-
* @param {
|
|
624
|
-
* @param {
|
|
625
|
-
* @param {Core.widget.Container} params.params.event.source The container
|
|
626
|
-
* @param {Core.data.Model} params.params.event.record The record
|
|
576
|
+
* @param {object} params.event Event object
|
|
577
|
+
* @param {Core.widget.Container} params.event.source The container
|
|
578
|
+
* @param {Core.data.Model} params.event.record The record
|
|
627
579
|
*/
|
|
628
580
|
(e: 'beforeSetRecord', params: ((event: { source: Container, record: Model }) => void)|string): void
|
|
629
581
|
/**
|
|
630
582
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
631
583
|
* @param {string} e Event name
|
|
632
584
|
* @param {object} params Event parameters
|
|
633
|
-
* @param {
|
|
634
|
-
* @param {
|
|
635
|
-
* @param {object} params.params.event Event object
|
|
636
|
-
* @param {Core.widget.Widget,any} params.params.event.source The widget being shown
|
|
585
|
+
* @param {object} params.event Event object
|
|
586
|
+
* @param {Core.widget.Widget,any} params.event.source The widget being shown
|
|
637
587
|
*/
|
|
638
588
|
(e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
639
589
|
/**
|
|
640
590
|
* 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)
|
|
591
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#event-catchAll)
|
|
643
592
|
* @param {string} e Event name
|
|
644
593
|
* @param {object} params Event parameters
|
|
645
|
-
* @param {
|
|
646
|
-
* @param {
|
|
647
|
-
* @param {
|
|
648
|
-
* @param {{[key: string]: any, type: string}} params.params.event.event The Object that contains event details
|
|
649
|
-
* @param {string} params.params.event.event.type The type of the event which is caught by the listener
|
|
594
|
+
* @param {object} params.event Event object
|
|
595
|
+
* @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details
|
|
596
|
+
* @param {string} params.event.event.type The type of the event which is caught by the listener
|
|
650
597
|
*/
|
|
651
598
|
(e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
|
|
652
599
|
/**
|
|
653
600
|
* Fires when an object is destroyed.
|
|
654
601
|
* @param {string} e Event name
|
|
655
602
|
* @param {object} params Event parameters
|
|
656
|
-
* @param {
|
|
657
|
-
* @param {
|
|
658
|
-
* @param {object} params.params.event Event object
|
|
659
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
603
|
+
* @param {object} params.event Event object
|
|
604
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
660
605
|
*/
|
|
661
606
|
(e: 'destroy', params: ((event: { source: Base }) => void)|string): void
|
|
662
607
|
/**
|
|
663
608
|
* Fires when a field is mutated and the state of the [hasChanges](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#property-hasChanges) property changes
|
|
664
609
|
* @param {string} e Event name
|
|
665
610
|
* @param {object} params Event parameters
|
|
666
|
-
* @param {
|
|
667
|
-
* @param {
|
|
668
|
-
* @param {
|
|
669
|
-
* @param {Core.widget.Container} params.params.event.source The container.
|
|
670
|
-
* @param {boolean} params.params.event.dirty The dirty state of the Container - `true` if there are any fields which have been changed since initial load.
|
|
611
|
+
* @param {object} params.event Event object
|
|
612
|
+
* @param {Core.widget.Container} params.event.source The container.
|
|
613
|
+
* @param {boolean} params.event.dirty The dirty state of the Container - `true` if there are any fields which have been changed since initial load.
|
|
671
614
|
*/
|
|
672
615
|
(e: 'dirtyStateChange', params: ((event: { source: Container, dirty: boolean }) => void)|string): void
|
|
673
616
|
/**
|
|
674
617
|
* Triggered when a widget's [element](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-element) is available.
|
|
675
618
|
* @param {string} e Event name
|
|
676
619
|
* @param {object} params Event parameters
|
|
677
|
-
* @param {
|
|
678
|
-
* @param {
|
|
679
|
-
* @param {object} params.params.event Event object
|
|
680
|
-
* @param {HTMLElement} params.params.event.element The Widget's element.
|
|
620
|
+
* @param {object} params.event Event object
|
|
621
|
+
* @param {HTMLElement} params.event.element The Widget's element.
|
|
681
622
|
*/
|
|
682
623
|
(e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void
|
|
683
624
|
/**
|
|
684
625
|
* Fired when focus enters this Widget.
|
|
685
626
|
* @param {string} e Event name
|
|
686
627
|
* @param {object} params Event parameters
|
|
687
|
-
* @param {
|
|
688
|
-
* @param {
|
|
689
|
-
* @param {
|
|
690
|
-
* @param {
|
|
691
|
-
* @param {
|
|
692
|
-
* @param {
|
|
693
|
-
* @param {
|
|
694
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
695
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
628
|
+
* @param {object} params.event Event object
|
|
629
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
630
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
631
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
632
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
633
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
634
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
696
635
|
*/
|
|
697
636
|
(e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
698
637
|
/**
|
|
@@ -701,49 +640,40 @@ const emit = defineEmits<{
|
|
|
701
640
|
* will not trigger this event. This is when focus exits this widget completely.
|
|
702
641
|
* @param {string} e Event name
|
|
703
642
|
* @param {object} params Event parameters
|
|
704
|
-
* @param {
|
|
705
|
-
* @param {
|
|
706
|
-
* @param {
|
|
707
|
-
* @param {
|
|
708
|
-
* @param {
|
|
709
|
-
* @param {
|
|
710
|
-
* @param {
|
|
711
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
712
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
643
|
+
* @param {object} params.event Event object
|
|
644
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
645
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
646
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
647
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
648
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
649
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
713
650
|
*/
|
|
714
651
|
(e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
715
652
|
/**
|
|
716
653
|
* Triggered after a widget was hidden
|
|
717
654
|
* @param {string} e Event name
|
|
718
655
|
* @param {object} params Event parameters
|
|
719
|
-
* @param {
|
|
720
|
-
* @param {
|
|
721
|
-
* @param {object} params.params.event Event object
|
|
722
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
656
|
+
* @param {object} params.event Event object
|
|
657
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
723
658
|
*/
|
|
724
659
|
(e: 'hide', params: ((event: { source: Widget }) => void)|string): void
|
|
725
660
|
/**
|
|
726
661
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
727
662
|
* achieves visibility.
|
|
728
|
-
* ...
|
|
729
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#event-paint)
|
|
663
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#event-paint)
|
|
730
664
|
* @param {string} e Event name
|
|
731
665
|
* @param {object} params Event parameters
|
|
732
|
-
* @param {
|
|
733
|
-
* @param {
|
|
734
|
-
* @param {
|
|
735
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being painted.
|
|
736
|
-
* @param {boolean} params.params.event.firstPaint `true` if this is the first paint.
|
|
666
|
+
* @param {object} params.event Event object
|
|
667
|
+
* @param {Core.widget.Widget} params.event.source The widget being painted.
|
|
668
|
+
* @param {boolean} params.event.firstPaint `true` if this is the first paint.
|
|
737
669
|
*/
|
|
738
670
|
(e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void
|
|
739
671
|
/**
|
|
740
672
|
* Fired when a Widget's read only state is toggled
|
|
741
673
|
* @param {string} e Event name
|
|
742
674
|
* @param {object} params Event parameters
|
|
743
|
-
* @param {
|
|
744
|
-
* @param {
|
|
745
|
-
* @param {object} params.params.event Event object
|
|
746
|
-
* @param {boolean} params.params.event.readOnly Read only or not
|
|
675
|
+
* @param {object} params.event Event object
|
|
676
|
+
* @param {boolean} params.event.readOnly Read only or not
|
|
747
677
|
*/
|
|
748
678
|
(e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void
|
|
749
679
|
/**
|
|
@@ -755,24 +685,20 @@ const emit = defineEmits<{
|
|
|
755
685
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
756
686
|
* @param {string} e Event name
|
|
757
687
|
* @param {object} params Event parameters
|
|
758
|
-
* @param {
|
|
759
|
-
* @param {
|
|
760
|
-
* @param {
|
|
761
|
-
* @param {
|
|
762
|
-
* @param {number} params.
|
|
763
|
-
* @param {number} params.
|
|
764
|
-
* @param {number} params.params.event.oldWidth The old width
|
|
765
|
-
* @param {number} params.params.event.oldHeight The old height
|
|
688
|
+
* @param {object} params.event Event object
|
|
689
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
690
|
+
* @param {number} params.event.width The new width
|
|
691
|
+
* @param {number} params.event.height The new height
|
|
692
|
+
* @param {number} params.event.oldWidth The old width
|
|
693
|
+
* @param {number} params.event.oldHeight The old height
|
|
766
694
|
*/
|
|
767
695
|
(e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
|
|
768
696
|
/**
|
|
769
697
|
* Triggered after a widget is shown.
|
|
770
698
|
* @param {string} e Event name
|
|
771
699
|
* @param {object} params Event parameters
|
|
772
|
-
* @param {
|
|
773
|
-
* @param {
|
|
774
|
-
* @param {object} params.params.event Event object
|
|
775
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
700
|
+
* @param {object} params.event Event object
|
|
701
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
776
702
|
*/
|
|
777
703
|
(e: 'show', params: ((event: { source: Widget }) => void)|string): void
|
|
778
704
|
}>();
|
|
@@ -822,6 +748,7 @@ const widgetData = {
|
|
|
822
748
|
'preventTooltipOnTouch',
|
|
823
749
|
'relayStoreEvents',
|
|
824
750
|
'ripple',
|
|
751
|
+
'role',
|
|
825
752
|
'rootElement',
|
|
826
753
|
'scheduler',
|
|
827
754
|
'scrollAction',
|
|
@@ -861,6 +788,7 @@ const widgetData = {
|
|
|
861
788
|
'items',
|
|
862
789
|
'keyMap',
|
|
863
790
|
'labelPosition',
|
|
791
|
+
'labelWidth',
|
|
864
792
|
'layout',
|
|
865
793
|
'layoutStyle',
|
|
866
794
|
'margin',
|
|
@@ -899,11 +827,6 @@ const widgetData = {
|
|
|
899
827
|
'y'
|
|
900
828
|
],
|
|
901
829
|
propertyNames : [
|
|
902
|
-
'anchorSize',
|
|
903
|
-
'focusVisible',
|
|
904
|
-
'hasChanges',
|
|
905
|
-
'isSettingValues',
|
|
906
|
-
'isValid',
|
|
907
830
|
'parent',
|
|
908
831
|
'values'
|
|
909
832
|
],
|