@bryntum/schedulerpro-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 +7 -7
- package/lib/chunks/{D4JDuI0s.js → B4dVznPx.js} +1 -8
- package/lib/chunks/B4dVznPx.js.map +1 -0
- package/lib/chunks/{BhUeT19h.js → BFFz1c24.js} +5 -5
- package/lib/chunks/BFFz1c24.js.map +1 -0
- package/lib/chunks/{BJPdcix1.js → BIkGnHve.js} +3 -3
- package/lib/chunks/BIkGnHve.js.map +1 -0
- package/lib/chunks/{BRGc8bUJ.js → BNBuOpUp.js} +8 -7
- package/lib/chunks/BNBuOpUp.js.map +1 -0
- package/lib/chunks/{BjTPjWi9.js → Bp7aU5Ia.js} +6 -6
- package/lib/chunks/Bp7aU5Ia.js.map +1 -0
- package/lib/chunks/{CuODT2-U.js → C3Dz-ovY.js} +3 -3
- package/lib/chunks/C3Dz-ovY.js.map +1 -0
- package/lib/chunks/{BTT_cGQU.js → CPjow0gO.js} +8 -9
- package/lib/chunks/CPjow0gO.js.map +1 -0
- package/lib/chunks/{DYBe70El.js → CqtUB81W.js} +18 -11
- package/lib/chunks/CqtUB81W.js.map +1 -0
- package/lib/chunks/{C41opZKx.js → CvNpXefN.js} +18 -11
- package/lib/chunks/CvNpXefN.js.map +1 -0
- package/lib/chunks/{BbI7XKMd.js → D0hJ3P6L.js} +5 -3
- package/lib/chunks/D0hJ3P6L.js.map +1 -0
- package/lib/chunks/{BpAvqwr_.js → D1a3F6m-.js} +23 -13
- package/lib/chunks/D1a3F6m-.js.map +1 -0
- package/lib/chunks/{CGbW6pgm.js → DPA-xEW5.js} +8 -9
- package/lib/chunks/DPA-xEW5.js.map +1 -0
- package/lib/chunks/{MOjUZ-Rj.js → DdbMybqv.js} +5 -5
- package/lib/chunks/DdbMybqv.js.map +1 -0
- package/lib/chunks/{DGV7a5Xo.js → DjFBhm9P.js} +6 -6
- package/lib/chunks/DjFBhm9P.js.map +1 -0
- package/lib/chunks/{Dz-up1_i.js → DmFXOMJ5.js} +5 -5
- package/lib/chunks/DmFXOMJ5.js.map +1 -0
- package/lib/chunks/{DwzPrR90.js → Pb5GbfMi.js} +5 -5
- package/lib/chunks/Pb5GbfMi.js.map +1 -0
- package/lib/chunks/{M0cBUV91.js → W-pa3HyX.js} +6 -6
- package/lib/chunks/W-pa3HyX.js.map +1 -0
- package/lib/chunks/{CJFZbm_i.js → b8yreHIz.js} +23 -13
- package/lib/chunks/b8yreHIz.js.map +1 -0
- package/lib/chunks/{9jfNe_y3.js → oM3gO3yH.js} +14 -8
- package/lib/chunks/oM3gO3yH.js.map +1 -0
- package/lib/chunks/{BO8FwQoh.js → p1r0F5YC.js} +6 -6
- package/lib/chunks/p1r0F5YC.js.map +1 -0
- package/lib/chunks/{DlNFp5e-.js → s35t-2ke.js} +10 -10
- package/lib/chunks/s35t-2ke.js.map +1 -0
- package/lib/chunks/{j8JzZ-07.js → yF4wtntA.js} +4 -4
- package/lib/chunks/yF4wtntA.js.map +1 -0
- package/lib/components/BryntumCalendarEditor.js +1 -1
- package/lib/components/BryntumCalendarField.js +1 -1
- package/lib/components/BryntumConstraintTypePicker.js +1 -1
- package/lib/components/BryntumCostAccrualField.js +1 -1
- package/lib/components/BryntumDependencyTypePicker.js +1 -1
- package/lib/components/BryntumEffortField.js +1 -1
- package/lib/components/BryntumEndDateField.js +1 -1
- package/lib/components/BryntumModelCombo.js +1 -1
- package/lib/components/BryntumRateTableField.js +1 -1
- package/lib/components/BryntumResourceEditor.js +1 -1
- package/lib/components/BryntumResourceGrid.js +1 -1
- package/lib/components/BryntumResourceHistogram.js +1 -1
- package/lib/components/BryntumResourceTypeField.js +1 -1
- package/lib/components/BryntumResourceUtilization.js +1 -1
- package/lib/components/BryntumSchedulerPro.js +1 -1
- package/lib/components/BryntumSchedulerProBase.js +1 -1
- package/lib/components/BryntumSchedulerProProjectModel.js +1 -1
- package/lib/components/BryntumSchedulingDirectionPicker.js +1 -1
- package/lib/components/BryntumSchedulingModePicker.js +1 -1
- package/lib/components/BryntumStartDateField.js +1 -1
- package/lib/components/BryntumThemeCombo.js +57 -0
- package/lib/components/BryntumThemeCombo.js.map +1 -0
- package/lib/components/BryntumTimeline.js +1 -1
- package/lib/components/BryntumVersionGrid.js +1 -1
- package/lib/index.js +22 -22
- package/package.json +1 -1
- package/src/components/BryntumCalendarEditor.vue +127 -186
- package/src/components/BryntumCalendarEditorProps.ts +123 -177
- package/src/components/BryntumCalendarField.vue +91 -151
- package/src/components/BryntumCalendarFieldProps.ts +87 -143
- package/src/components/BryntumConstraintTypePicker.vue +91 -151
- package/src/components/BryntumConstraintTypePickerProps.ts +87 -143
- package/src/components/BryntumCostAccrualField.vue +91 -151
- package/src/components/BryntumCostAccrualFieldProps.ts +87 -143
- package/src/components/BryntumDependencyTypePicker.vue +91 -151
- package/src/components/BryntumDependencyTypePickerProps.ts +87 -143
- package/src/components/BryntumEffortField.vue +79 -124
- package/src/components/BryntumEffortFieldProps.ts +73 -114
- package/src/components/BryntumEndDateField.vue +79 -122
- package/src/components/BryntumEndDateFieldProps.ts +75 -114
- package/src/components/BryntumModelCombo.vue +91 -151
- package/src/components/BryntumModelComboProps.ts +87 -143
- package/src/components/BryntumRateTableField.vue +91 -151
- package/src/components/BryntumRateTableFieldProps.ts +87 -143
- package/src/components/BryntumResourceEditor.vue +126 -184
- package/src/components/BryntumResourceEditorProps.ts +122 -175
- package/src/components/BryntumResourceGrid.vue +204 -293
- package/src/components/BryntumResourceGridProps.ts +187 -263
- package/src/components/BryntumResourceHistogram.vue +335 -458
- package/src/components/BryntumResourceHistogramProps.ts +287 -402
- package/src/components/BryntumResourceTypeField.vue +91 -151
- package/src/components/BryntumResourceTypeFieldProps.ts +87 -143
- package/src/components/BryntumResourceUtilization.vue +335 -458
- package/src/components/BryntumResourceUtilizationProps.ts +288 -404
- package/src/components/BryntumSchedulerPro.vue +504 -643
- package/src/components/BryntumSchedulerProBase.vue +504 -643
- package/src/components/BryntumSchedulerProBaseProps.ts +408 -556
- package/src/components/BryntumSchedulerProProjectModel.vue +63 -107
- package/src/components/BryntumSchedulerProProjectModelProps.ts +55 -85
- package/src/components/BryntumSchedulerProProps.ts +408 -556
- package/src/components/BryntumSchedulingDirectionPicker.vue +91 -151
- package/src/components/BryntumSchedulingDirectionPickerProps.ts +87 -143
- package/src/components/BryntumSchedulingModePicker.vue +92 -153
- package/src/components/BryntumSchedulingModePickerProps.ts +88 -145
- package/src/components/BryntumStartDateField.vue +81 -126
- package/src/components/BryntumStartDateFieldProps.ts +77 -118
- package/src/components/BryntumThemeCombo.vue +60 -0
- package/src/components/BryntumTimeline.vue +425 -594
- package/src/components/BryntumTimelineProps.ts +366 -519
- package/src/components/BryntumVersionGrid.vue +203 -290
- package/src/components/BryntumVersionGridProps.ts +186 -261
- package/lib/chunks/9jfNe_y3.js.map +0 -1
- package/lib/chunks/BJPdcix1.js.map +0 -1
- package/lib/chunks/BO8FwQoh.js.map +0 -1
- package/lib/chunks/BRGc8bUJ.js.map +0 -1
- package/lib/chunks/BTT_cGQU.js.map +0 -1
- package/lib/chunks/BbI7XKMd.js.map +0 -1
- package/lib/chunks/BhUeT19h.js.map +0 -1
- package/lib/chunks/BjTPjWi9.js.map +0 -1
- package/lib/chunks/BpAvqwr_.js.map +0 -1
- package/lib/chunks/C41opZKx.js.map +0 -1
- package/lib/chunks/CGbW6pgm.js.map +0 -1
- package/lib/chunks/CJFZbm_i.js.map +0 -1
- package/lib/chunks/CuODT2-U.js.map +0 -1
- package/lib/chunks/D4JDuI0s.js.map +0 -1
- package/lib/chunks/DGV7a5Xo.js.map +0 -1
- package/lib/chunks/DYBe70El.js.map +0 -1
- package/lib/chunks/DlNFp5e-.js.map +0 -1
- package/lib/chunks/DwzPrR90.js.map +0 -1
- package/lib/chunks/Dz-up1_i.js.map +0 -1
- package/lib/chunks/M0cBUV91.js.map +0 -1
- package/lib/chunks/MOjUZ-Rj.js.map +0 -1
- package/lib/chunks/j8JzZ-07.js.map +0 -1
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
|
|
12
12
|
|
|
13
|
-
import type { AlignSpec, Base, Color, Duration, DurationConfig, DurationField, DurationUnit, Field,
|
|
13
|
+
import type { AlignSpec, Base, Color, Duration, DurationConfig, DurationField, DurationUnit, Field, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Rectangle, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
14
14
|
import type { SchedulerProContainerItemConfig, EffortFieldListeners } from '@bryntum/schedulerpro-thin';
|
|
15
15
|
import { EffortField } from '@bryntum/schedulerpro-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/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-adopt)
|
|
24
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-adopt)
|
|
26
25
|
*/
|
|
27
26
|
adopt ? : HTMLElement|string
|
|
28
27
|
/**
|
|
29
28
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
|
|
30
|
-
* ...
|
|
31
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-align)
|
|
29
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-align)
|
|
32
30
|
*/
|
|
33
31
|
align ? : AlignSpec|string
|
|
34
32
|
/**
|
|
@@ -59,15 +57,13 @@ defineProps<{
|
|
|
59
57
|
/**
|
|
60
58
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
|
|
61
59
|
* into an element which will be linked using the `aria-describedby` attribute.
|
|
62
|
-
* ...
|
|
63
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-ariaDescription)
|
|
60
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-ariaDescription)
|
|
64
61
|
*/
|
|
65
62
|
ariaDescription ? : string
|
|
66
63
|
/**
|
|
67
64
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
|
|
68
65
|
* the `aria-label` attribute.
|
|
69
|
-
* ...
|
|
70
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-ariaLabel)
|
|
66
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-ariaLabel)
|
|
71
67
|
*/
|
|
72
68
|
ariaLabel ? : string
|
|
73
69
|
/**
|
|
@@ -86,21 +82,18 @@ defineProps<{
|
|
|
86
82
|
/**
|
|
87
83
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
88
84
|
* hierarchy when triggered.
|
|
89
|
-
* ...
|
|
90
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-bubbleEvents)
|
|
85
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-bubbleEvents)
|
|
91
86
|
*/
|
|
92
87
|
bubbleEvents ? : object
|
|
93
88
|
/**
|
|
94
89
|
* Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
|
|
95
|
-
* ...
|
|
96
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-callOnFunctions)
|
|
90
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-callOnFunctions)
|
|
97
91
|
*/
|
|
98
92
|
callOnFunctions ? : Boolean
|
|
99
93
|
/**
|
|
100
94
|
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
101
95
|
* application state is undefined. Code which follows the event handler will *not* be executed.
|
|
102
|
-
* ...
|
|
103
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-catchEventHandlerExceptions)
|
|
96
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-catchEventHandlerExceptions)
|
|
104
97
|
*/
|
|
105
98
|
catchEventHandlerExceptions ? : Boolean
|
|
106
99
|
/**
|
|
@@ -118,15 +111,13 @@ defineProps<{
|
|
|
118
111
|
* Custom CSS classes to add to element.
|
|
119
112
|
* May be specified as a space separated string, or as an object in which property names
|
|
120
113
|
* with truthy values are used as the class names:
|
|
121
|
-
* ...
|
|
122
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-cls)
|
|
114
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-cls)
|
|
123
115
|
*/
|
|
124
116
|
cls ? : string|object
|
|
125
117
|
/**
|
|
126
118
|
* Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
|
|
127
119
|
* `style` block.
|
|
128
|
-
* ...
|
|
129
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-color)
|
|
120
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-color)
|
|
130
121
|
*/
|
|
131
122
|
color ? : Color
|
|
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/schedulerpro/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/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-container)
|
|
137
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-container)
|
|
148
138
|
*/
|
|
149
|
-
container ? : Record<string, SchedulerProContainerItemConfig>|SchedulerProContainerItemConfig[]|FieldContainerConfig
|
|
139
|
+
container ? : Record<string, SchedulerProContainerItemConfig>|SchedulerProContainerItemConfig[]|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/schedulerpro/docs/api/Core/widget/Container#property-values).
|
|
153
|
-
* ...
|
|
154
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-containValues)
|
|
143
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#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/schedulerpro/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/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-contentElementCls)
|
|
152
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-contentElementCls)
|
|
165
153
|
*/
|
|
166
154
|
contentElementCls ? : string|object
|
|
167
155
|
/**
|
|
@@ -183,16 +171,15 @@ defineProps<{
|
|
|
183
171
|
*/
|
|
184
172
|
defaultBindProperty ? : string
|
|
185
173
|
/**
|
|
186
|
-
* Check for CSS compatibility issues
|
|
187
|
-
*
|
|
188
|
-
* [
|
|
174
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
175
|
+
* checks:
|
|
176
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-detectCSSCompatibilityIssues)
|
|
189
177
|
*/
|
|
190
178
|
detectCSSCompatibilityIssues ? : Boolean
|
|
191
179
|
/**
|
|
192
180
|
* Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget
|
|
193
181
|
* cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
|
|
194
|
-
* ...
|
|
195
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-disabled)
|
|
182
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-disabled)
|
|
196
183
|
*/
|
|
197
184
|
disabled ? : Boolean|'inert'
|
|
198
185
|
/**
|
|
@@ -200,33 +187,28 @@ defineProps<{
|
|
|
200
187
|
* [strips collection](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
201
188
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
202
189
|
* body. Such widgets are called "edge strips".
|
|
203
|
-
* ...
|
|
204
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-dock)
|
|
190
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-dock)
|
|
205
191
|
*/
|
|
206
192
|
dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
207
193
|
/**
|
|
208
194
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
|
|
209
195
|
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
210
196
|
* property which controls when a drag should start.
|
|
211
|
-
* ...
|
|
212
|
-
*
|
|
197
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-draggable)
|
|
198
|
+
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
213
199
|
*/
|
|
214
|
-
draggable ? : Boolean|
|
|
215
|
-
handleSelector?: string
|
|
216
|
-
}
|
|
200
|
+
draggable ? : Boolean|object
|
|
217
201
|
/**
|
|
218
202
|
* Set to `false` to prevent user from editing the field. For TextFields it is basically the same as setting
|
|
219
203
|
* [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), but for PickerFields there is a distinction where it allows you to pick a value
|
|
220
204
|
* but not to type one in the field.
|
|
221
|
-
* ...
|
|
222
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-editable)
|
|
205
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-editable)
|
|
223
206
|
*/
|
|
224
207
|
editable ? : Boolean
|
|
225
208
|
/**
|
|
226
209
|
* An object specifying attributes to assign to the root element of this widget.
|
|
227
210
|
* Set `null` value to attribute to remove it.
|
|
228
|
-
* ...
|
|
229
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-elementAttributes)
|
|
211
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-elementAttributes)
|
|
230
212
|
*/
|
|
231
213
|
elementAttributes ? : Record<string, string|null>
|
|
232
214
|
extraData ? : any
|
|
@@ -255,8 +237,7 @@ defineProps<{
|
|
|
255
237
|
hidden ? : Boolean
|
|
256
238
|
/**
|
|
257
239
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
|
|
258
|
-
* ...
|
|
259
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-hideAnimation)
|
|
240
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-hideAnimation)
|
|
260
241
|
*/
|
|
261
242
|
hideAnimation ? : Boolean|object
|
|
262
243
|
/**
|
|
@@ -266,8 +247,7 @@ defineProps<{
|
|
|
266
247
|
/**
|
|
267
248
|
* An optional string to display inside the input field as an overlay. This can be useful for displaying
|
|
268
249
|
* a field's units.
|
|
269
|
-
* ...
|
|
270
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-hint)
|
|
250
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-hint)
|
|
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
|
|
@@ -278,8 +258,7 @@ defineProps<{
|
|
|
278
258
|
* This config is similar to [hint](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-hint) except that this config is used to display HTML content.
|
|
279
259
|
* Since this can allow malicious content to be executed, be sure not to include user-entered data or to
|
|
280
260
|
* encode such data (see [encodeHtml](https://bryntum.com/products/schedulerpro/docs/api/Core/helper/StringHelper#function-encodeHtml-static)).
|
|
281
|
-
* ...
|
|
282
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-hintHtml)
|
|
261
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-hintHtml)
|
|
283
262
|
* @param {object} data A data object
|
|
284
263
|
* @param {Core.widget.Field} data.source A reference to the field instance
|
|
285
264
|
* @param {any} data.value The current value of the field
|
|
@@ -292,16 +271,14 @@ defineProps<{
|
|
|
292
271
|
id ? : string
|
|
293
272
|
/**
|
|
294
273
|
* Determines if the widgets read-only state should be controlled by its parent.
|
|
295
|
-
* ...
|
|
296
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-ignoreParentReadOnly)
|
|
274
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-ignoreParentReadOnly)
|
|
297
275
|
*/
|
|
298
276
|
ignoreParentReadOnly ? : Boolean
|
|
299
277
|
/**
|
|
300
278
|
* Set this config to `true` to always display items horizontally along with this field. This assigns an
|
|
301
279
|
* [hbox](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/layout/Box) as the [layout](#Core/widget/Container#config-layout) to the
|
|
302
280
|
* [container](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-container).
|
|
303
|
-
* ...
|
|
304
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-inline)
|
|
281
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-inline)
|
|
305
282
|
*/
|
|
306
283
|
inline ? : Boolean
|
|
307
284
|
/**
|
|
@@ -341,16 +318,14 @@ defineProps<{
|
|
|
341
318
|
* An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
|
|
342
319
|
* and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
|
|
343
320
|
* are the name of the instance method to call when the keystroke is received.
|
|
344
|
-
* ...
|
|
345
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-keyMap)
|
|
321
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-keyMap)
|
|
346
322
|
*/
|
|
347
323
|
keyMap ? : Record<string, KeyMapConfig>
|
|
348
324
|
/**
|
|
349
325
|
* The delay in milliseconds to wait after the last keystroke before triggering a change event.
|
|
350
326
|
* Set to 0 to not trigger change events from keystrokes (listen for input event instead to have
|
|
351
327
|
* immediate feedback, change will still be triggered on blur).
|
|
352
|
-
* ...
|
|
353
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-keyStrokeChangeDelay)
|
|
328
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-keyStrokeChangeDelay)
|
|
354
329
|
*/
|
|
355
330
|
keyStrokeChangeDelay ? : number
|
|
356
331
|
/**
|
|
@@ -363,15 +338,15 @@ defineProps<{
|
|
|
363
338
|
labelCls ? : string|object
|
|
364
339
|
/**
|
|
365
340
|
* Label position, either 'before' the field or 'above' the field
|
|
366
|
-
* ...
|
|
367
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-labelPosition)
|
|
341
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-labelPosition)
|
|
368
342
|
*/
|
|
369
343
|
labelPosition ? : 'before'|'above'|null
|
|
370
344
|
/**
|
|
371
345
|
* The labels to add either before or after the input field.
|
|
372
346
|
* Each label may have the following properties:
|
|
373
|
-
* ...
|
|
374
|
-
*
|
|
347
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-labels)
|
|
348
|
+
* @property {string} html Label text
|
|
349
|
+
* @property {'start','end'} align Which end of the file the label should go
|
|
375
350
|
*/
|
|
376
351
|
labels ? : object[]
|
|
377
352
|
/**
|
|
@@ -380,16 +355,14 @@ defineProps<{
|
|
|
380
355
|
labelWidth ? : string|number
|
|
381
356
|
/**
|
|
382
357
|
* The listener set for this object.
|
|
383
|
-
* ...
|
|
384
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-listeners)
|
|
358
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-listeners)
|
|
385
359
|
*/
|
|
386
360
|
listeners ? : EffortFieldListeners
|
|
387
361
|
/**
|
|
388
362
|
* A class translations of which are used for translating this entity.
|
|
389
363
|
* This is often used when translations of an item are defined on its container class.
|
|
390
364
|
* For example:
|
|
391
|
-
* ...
|
|
392
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-localeClass)
|
|
365
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-localeClass)
|
|
393
366
|
*/
|
|
394
367
|
localeClass ? : typeof Base
|
|
395
368
|
/**
|
|
@@ -401,8 +374,7 @@ defineProps<{
|
|
|
401
374
|
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
402
375
|
* you could use 'localeKey' meta configuration.
|
|
403
376
|
* Example:
|
|
404
|
-
* ...
|
|
405
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-localizableProperties)
|
|
377
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-localizableProperties)
|
|
406
378
|
*/
|
|
407
379
|
localizableProperties ? : string[]
|
|
408
380
|
/**
|
|
@@ -437,8 +409,7 @@ defineProps<{
|
|
|
437
409
|
maxHeight ? : string|number
|
|
438
410
|
/**
|
|
439
411
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
|
|
440
|
-
* ...
|
|
441
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-maximizeOnMobile)
|
|
412
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-maximizeOnMobile)
|
|
442
413
|
*/
|
|
443
414
|
maximizeOnMobile ? : number|string
|
|
444
415
|
/**
|
|
@@ -472,18 +443,15 @@ defineProps<{
|
|
|
472
443
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
473
444
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
474
445
|
* layout.
|
|
475
|
-
* ...
|
|
476
|
-
*
|
|
446
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-monitorResize)
|
|
447
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
477
448
|
*/
|
|
478
|
-
monitorResize ? : Boolean|
|
|
479
|
-
immediate?: Boolean
|
|
480
|
-
}
|
|
449
|
+
monitorResize ? : Boolean|object
|
|
481
450
|
/**
|
|
482
451
|
* Name of the field which is used as a key to get/set values from/to the field.
|
|
483
452
|
* Used prior to [ref](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-ref) and [id](#Core/widget/Widget#config-id) in
|
|
484
453
|
* [Container.values](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#property-values).
|
|
485
|
-
* ...
|
|
486
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-name)
|
|
454
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-name)
|
|
487
455
|
*/
|
|
488
456
|
name ? : string
|
|
489
457
|
/**
|
|
@@ -494,8 +462,7 @@ defineProps<{
|
|
|
494
462
|
* Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement), but must
|
|
495
463
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
496
464
|
* widget's [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement).
|
|
497
|
-
* ...
|
|
498
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-positioned)
|
|
465
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-positioned)
|
|
499
466
|
*/
|
|
500
467
|
positioned ? : Boolean
|
|
501
468
|
/**
|
|
@@ -506,15 +473,13 @@ defineProps<{
|
|
|
506
473
|
/**
|
|
507
474
|
* Makes the field unmodifiable by user action. The input area is not editable, and triggers
|
|
508
475
|
* are unresponsive.
|
|
509
|
-
* ...
|
|
510
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-readOnly)
|
|
476
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-readOnly)
|
|
511
477
|
*/
|
|
512
478
|
readOnly ? : Boolean
|
|
513
479
|
relayStoreEvents ? : Boolean
|
|
514
480
|
/**
|
|
515
481
|
* Predefined style to use for the field. Possible values are:
|
|
516
|
-
* ...
|
|
517
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-rendition)
|
|
482
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-rendition)
|
|
518
483
|
*/
|
|
519
484
|
rendition ? : 'outlined'|'filled'|string
|
|
520
485
|
/**
|
|
@@ -533,23 +498,26 @@ defineProps<{
|
|
|
533
498
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
534
499
|
* [focusElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-focusElement), or [element](#Core/widget/Widget#property-element) is tapped <em>if the
|
|
535
500
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
536
|
-
* ...
|
|
537
|
-
* [
|
|
501
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-ripple)
|
|
502
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
503
|
+
* @property {string} [color] A CSS color name or specification.
|
|
504
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
505
|
+
* @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.
|
|
538
506
|
*/
|
|
539
|
-
ripple ? : Boolean|
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
507
|
+
ripple ? : Boolean|object
|
|
508
|
+
/**
|
|
509
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
510
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
511
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-role)
|
|
512
|
+
*/
|
|
513
|
+
role ? : string
|
|
545
514
|
/**
|
|
546
515
|
* 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`
|
|
547
516
|
*/
|
|
548
517
|
rootElement ? : ShadowRoot|HTMLElement
|
|
549
518
|
/**
|
|
550
519
|
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
551
|
-
* ...
|
|
552
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-rtl)
|
|
520
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-rtl)
|
|
553
521
|
*/
|
|
554
522
|
rtl ? : Boolean
|
|
555
523
|
/**
|
|
@@ -559,8 +527,7 @@ defineProps<{
|
|
|
559
527
|
scrollAction ? : 'hide'|'realign'|null
|
|
560
528
|
/**
|
|
561
529
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
|
|
562
|
-
* ...
|
|
563
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-showAnimation)
|
|
530
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-showAnimation)
|
|
564
531
|
*/
|
|
565
532
|
showAnimation ? : Boolean|object
|
|
566
533
|
/**
|
|
@@ -588,16 +555,14 @@ defineProps<{
|
|
|
588
555
|
/**
|
|
589
556
|
* Step size for spin button clicks. The `step` property may be set in object form specifying two properties,
|
|
590
557
|
* `magnitude`, a Number, and `unit`, a String.
|
|
591
|
-
* ...
|
|
592
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-step)
|
|
558
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-step)
|
|
593
559
|
*/
|
|
594
560
|
step ? : DurationConfig|number|string
|
|
595
561
|
/**
|
|
596
562
|
* A configuration for the [tab](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Tab) created for this widget when it is placed in a
|
|
597
563
|
* [TabPanel](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/TabPanel). For example, this config can be used to control the icon of the `tab` for
|
|
598
564
|
* this widget:
|
|
599
|
-
* ...
|
|
600
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-tab)
|
|
565
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-tab)
|
|
601
566
|
*/
|
|
602
567
|
tab ? : Boolean|TabConfig
|
|
603
568
|
/**
|
|
@@ -605,14 +570,12 @@ defineProps<{
|
|
|
605
570
|
* is equivalent to natural tab order, but is unnecessary for fields since they are naturally tabbable
|
|
606
571
|
* (i.e., accessible via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set
|
|
607
572
|
* to the element programmatically.
|
|
608
|
-
* ...
|
|
609
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-tabIndex)
|
|
573
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-tabIndex)
|
|
610
574
|
*/
|
|
611
575
|
tabIndex ? : number
|
|
612
576
|
/**
|
|
613
577
|
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
614
|
-
* ...
|
|
615
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-textAlign)
|
|
578
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-textAlign)
|
|
616
579
|
*/
|
|
617
580
|
textAlign ? : 'left'|'center'|'right'|'start'|'end'
|
|
618
581
|
/**
|
|
@@ -621,28 +584,27 @@ defineProps<{
|
|
|
621
584
|
title ? : string
|
|
622
585
|
/**
|
|
623
586
|
* Tooltip for the widget, either as a string or as a Tooltip config object.
|
|
624
|
-
* ...
|
|
625
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-tooltip)
|
|
587
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-tooltip)
|
|
626
588
|
*/
|
|
627
589
|
tooltip ? : string|TooltipConfig|null
|
|
628
590
|
/**
|
|
629
591
|
* Widgets that trigger functionality upon click. Each trigger icon is a [Widget](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget) instance
|
|
630
592
|
* which may be hidden, shown and observed and styled just like any other widget.
|
|
593
|
+
* @property {FieldTriggerConfig} triggers.spin Shows up and down arrows to increase or decrease the field value based on the [step](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/DurationField#config-step)
|
|
594
|
+
* @property {FieldTriggerConfig} triggers.clear Clears the field value, only available if this field is [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/DurationField#config-clearable)
|
|
631
595
|
*/
|
|
632
|
-
triggers ? : Record<string, FieldTriggerConfig
|
|
596
|
+
triggers ? : Record<string, FieldTriggerConfig>
|
|
633
597
|
type ? : 'effort'|'effortfield'
|
|
634
598
|
/**
|
|
635
599
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
636
600
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
637
601
|
* values are used as the class names.
|
|
638
|
-
* ...
|
|
639
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-ui)
|
|
602
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-ui)
|
|
640
603
|
*/
|
|
641
604
|
ui ? : string|object
|
|
642
605
|
/**
|
|
643
606
|
* The duration unit to use with the current magnitude value.
|
|
644
|
-
* ...
|
|
645
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-unit)
|
|
607
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-unit)
|
|
646
608
|
*/
|
|
647
609
|
unit ? : DurationUnit
|
|
648
610
|
/**
|
|
@@ -659,8 +621,7 @@ defineProps<{
|
|
|
659
621
|
/**
|
|
660
622
|
* The `value` may be set either in object form specifying two properties, a numerical `magnitude` and a
|
|
661
623
|
* string `unit`:
|
|
662
|
-
* ...
|
|
663
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-value)
|
|
624
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-value)
|
|
664
625
|
*/
|
|
665
626
|
value ? : string|number|DurationConfig|Duration
|
|
666
627
|
/**
|
|
@@ -676,14 +637,12 @@ defineProps<{
|
|
|
676
637
|
width ? : string|number
|
|
677
638
|
/**
|
|
678
639
|
* The x position for the widget.
|
|
679
|
-
* ...
|
|
680
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-x)
|
|
640
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-x)
|
|
681
641
|
*/
|
|
682
642
|
x ? : number
|
|
683
643
|
/**
|
|
684
644
|
* The y position for the widget.
|
|
685
|
-
* ...
|
|
686
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-y)
|
|
645
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-y)
|
|
687
646
|
*/
|
|
688
647
|
y ? : number
|
|
689
648
|
|
|
@@ -700,7 +659,7 @@ const emit = defineEmits<{
|
|
|
700
659
|
* @param {Core.data.Duration} params.params.event.value This field's value
|
|
701
660
|
* @param {Core.data.Duration} params.params.event.oldValue This field's previous value
|
|
702
661
|
* @param {boolean} params.params.event.valid True if this field is in a valid state.
|
|
703
|
-
* @param {Event} params.params.event.event The triggering DOM event if any.
|
|
662
|
+
* @param {Event} [params.params.event.event] The triggering DOM event if any.
|
|
704
663
|
* @param {boolean} params.params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
705
664
|
* @param {Core.widget.DurationField} params.params.event.source This field
|
|
706
665
|
*/
|
|
@@ -737,8 +696,7 @@ const emit = defineEmits<{
|
|
|
737
696
|
(e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
738
697
|
/**
|
|
739
698
|
* Fires when any other event is fired from the object.
|
|
740
|
-
* ...
|
|
741
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#event-catchAll)
|
|
699
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#event-catchAll)
|
|
742
700
|
* @param {string} e Event name
|
|
743
701
|
* @param {object} params Event parameters
|
|
744
702
|
* @param {string} params.e Event name
|
|
@@ -758,15 +716,14 @@ const emit = defineEmits<{
|
|
|
758
716
|
* @param {Core.data.Duration} params.params.event.value This field's value
|
|
759
717
|
* @param {Core.data.Duration} params.params.event.oldValue This field's previous value
|
|
760
718
|
* @param {boolean} params.params.event.valid True if this field is in a valid state.
|
|
761
|
-
* @param {Event} params.params.event.event The triggering DOM event if any.
|
|
719
|
+
* @param {Event} [params.params.event.event] The triggering DOM event if any.
|
|
762
720
|
* @param {boolean} params.params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
763
721
|
* @param {Core.widget.DurationField} params.params.event.source This field
|
|
764
722
|
*/
|
|
765
723
|
(e: 'change', params: ((event: { value: Duration, oldValue: Duration, valid: boolean, event?: Event, userAction: boolean, source: DurationField }) => void)|string): void
|
|
766
724
|
/**
|
|
767
725
|
* Fired when this field is [cleared](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#function-clear).
|
|
768
|
-
* ...
|
|
769
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#event-clear)
|
|
726
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#event-clear)
|
|
770
727
|
* @param {string} e Event name
|
|
771
728
|
* @param {object} params Event parameters
|
|
772
729
|
* @param {string} params.e Event name
|
|
@@ -852,8 +809,7 @@ const emit = defineEmits<{
|
|
|
852
809
|
/**
|
|
853
810
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
854
811
|
* achieves visibility.
|
|
855
|
-
* ...
|
|
856
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#event-paint)
|
|
812
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#event-paint)
|
|
857
813
|
* @param {string} e Event name
|
|
858
814
|
* @param {object} params Event parameters
|
|
859
815
|
* @param {string} params.e Event name
|
|
@@ -976,6 +932,7 @@ const widgetData = {
|
|
|
976
932
|
'relayStoreEvents',
|
|
977
933
|
'revertOnEscape',
|
|
978
934
|
'ripple',
|
|
935
|
+
'role',
|
|
979
936
|
'rootElement',
|
|
980
937
|
'scrollAction',
|
|
981
938
|
'showAnimation',
|
|
@@ -1058,9 +1015,7 @@ const widgetData = {
|
|
|
1058
1015
|
'y'
|
|
1059
1016
|
],
|
|
1060
1017
|
propertyNames : [
|
|
1061
|
-
'anchorSize',
|
|
1062
1018
|
'content',
|
|
1063
|
-
'focusVisible',
|
|
1064
1019
|
'formula',
|
|
1065
1020
|
'html',
|
|
1066
1021
|
'input',
|