@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, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Color, Combo,
|
|
13
|
+
import type { AlignSpec, Base, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Color, Combo, Duration, DurationConfig, Field, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, ListConfig, MaskConfig, Model, Rectangle, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
14
14
|
import type { CalendarEditorConfig, CalendarFieldListeners, CalendarManagerStore, SchedulerProContainerItemConfig, EventModel, ProjectModel, ResourceModel } from '@bryntum/schedulerpro-thin';
|
|
15
15
|
import { CalendarField } 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/CalendarField#config-adopt)
|
|
24
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#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/CalendarField#config-align)
|
|
29
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#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/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-ariaDescription)
|
|
51
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#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/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-ariaLabel)
|
|
57
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-ariaLabel)
|
|
62
58
|
*/
|
|
63
59
|
ariaLabel ? : string
|
|
64
60
|
/**
|
|
@@ -81,14 +77,12 @@ defineProps<{
|
|
|
81
77
|
/**
|
|
82
78
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
83
79
|
* hierarchy when triggered.
|
|
84
|
-
* ...
|
|
85
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-bubbleEvents)
|
|
80
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-bubbleEvents)
|
|
86
81
|
*/
|
|
87
82
|
bubbleEvents ? : object
|
|
88
83
|
/**
|
|
89
84
|
* Enable caching of the last retrieved result until the timeout is reached.
|
|
90
|
-
* ...
|
|
91
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-cacheLastResult)
|
|
85
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-cacheLastResult)
|
|
92
86
|
*/
|
|
93
87
|
cacheLastResult ? : number|string|Duration|DurationConfig
|
|
94
88
|
/**
|
|
@@ -104,8 +98,7 @@ defineProps<{
|
|
|
104
98
|
calendarEditor ? : CalendarEditorConfig|false
|
|
105
99
|
/**
|
|
106
100
|
* Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
|
|
107
|
-
* ...
|
|
108
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-callOnFunctions)
|
|
101
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-callOnFunctions)
|
|
109
102
|
*/
|
|
110
103
|
callOnFunctions ? : Boolean
|
|
111
104
|
/**
|
|
@@ -115,8 +108,7 @@ defineProps<{
|
|
|
115
108
|
/**
|
|
116
109
|
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
117
110
|
* application state is undefined. Code which follows the event handler will *not* be executed.
|
|
118
|
-
* ...
|
|
119
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-catchEventHandlerExceptions)
|
|
111
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-catchEventHandlerExceptions)
|
|
120
112
|
*/
|
|
121
113
|
catchEventHandlerExceptions ? : Boolean
|
|
122
114
|
/**
|
|
@@ -127,8 +119,7 @@ defineProps<{
|
|
|
127
119
|
/**
|
|
128
120
|
* A config object to configure the [ChipView](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/ChipView) to display the
|
|
129
121
|
* selected value set when [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
|
|
130
|
-
* ...
|
|
131
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-chipView)
|
|
122
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-chipView)
|
|
132
123
|
*/
|
|
133
124
|
chipView ? : ChipViewConfig
|
|
134
125
|
/**
|
|
@@ -153,15 +144,13 @@ defineProps<{
|
|
|
153
144
|
* Custom CSS classes to add to element.
|
|
154
145
|
* May be specified as a space separated string, or as an object in which property names
|
|
155
146
|
* with truthy values are used as the class names:
|
|
156
|
-
* ...
|
|
157
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-cls)
|
|
147
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-cls)
|
|
158
148
|
*/
|
|
159
149
|
cls ? : string|object
|
|
160
150
|
/**
|
|
161
151
|
* Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
|
|
162
152
|
* `style` block.
|
|
163
|
-
* ...
|
|
164
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-color)
|
|
153
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-color)
|
|
165
154
|
*/
|
|
166
155
|
color ? : Color
|
|
167
156
|
/**
|
|
@@ -178,15 +167,13 @@ defineProps<{
|
|
|
178
167
|
* The configuration for additional items associated to this field. This is typically used to add contextual
|
|
179
168
|
* fields related to a [checkbox](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Checkbox) or [radio button](#Core/widget/Radio). See
|
|
180
169
|
* these classes for examples of nested fields.
|
|
181
|
-
* ...
|
|
182
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-container)
|
|
170
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-container)
|
|
183
171
|
*/
|
|
184
|
-
container ? : Record<string, SchedulerProContainerItemConfig>|SchedulerProContainerItemConfig[]|FieldContainerConfig
|
|
172
|
+
container ? : Record<string, SchedulerProContainerItemConfig>|SchedulerProContainerItemConfig[]|FieldContainerConfig
|
|
185
173
|
/**
|
|
186
174
|
* The config controls how the value of nested items are handled when a parent container gets or sets its
|
|
187
175
|
* [values](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#property-values).
|
|
188
|
-
* ...
|
|
189
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-containValues)
|
|
176
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-containValues)
|
|
190
177
|
* @param {Core.widget.Field} field Field instance
|
|
191
178
|
* @returns {boolean}
|
|
192
179
|
*/
|
|
@@ -195,16 +182,14 @@ defineProps<{
|
|
|
195
182
|
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement).
|
|
196
183
|
* May be specified as a space separated string, or as an object in which property names
|
|
197
184
|
* with truthy values are used as the class names:
|
|
198
|
-
* ...
|
|
199
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-contentElementCls)
|
|
185
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-contentElementCls)
|
|
200
186
|
*/
|
|
201
187
|
contentElementCls ? : string|object
|
|
202
188
|
/**
|
|
203
189
|
* If configured as `true`, this means that when an unmatched string is typed into the
|
|
204
190
|
* combo's input field, and <kbd>Enter</kbd>, or the [multiValueSeparator](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiValueSeparator) is typed,
|
|
205
191
|
* a new record will be created using the typed string as the [displayField](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-displayField).
|
|
206
|
-
* ...
|
|
207
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-createOnUnmatched)
|
|
192
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-createOnUnmatched)
|
|
208
193
|
* @param {string} name Record name
|
|
209
194
|
* @param {Core.widget.Combo} combo Combo instance
|
|
210
195
|
* @returns {Core.data.Model} New record
|
|
@@ -225,16 +210,15 @@ defineProps<{
|
|
|
225
210
|
*/
|
|
226
211
|
defaultBindProperty ? : string
|
|
227
212
|
/**
|
|
228
|
-
* Check for CSS compatibility issues
|
|
229
|
-
*
|
|
230
|
-
* [
|
|
213
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
214
|
+
* checks:
|
|
215
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-detectCSSCompatibilityIssues)
|
|
231
216
|
*/
|
|
232
217
|
detectCSSCompatibilityIssues ? : Boolean
|
|
233
218
|
/**
|
|
234
219
|
* 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
|
|
235
220
|
* cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
|
|
236
|
-
* ...
|
|
237
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-disabled)
|
|
221
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-disabled)
|
|
238
222
|
*/
|
|
239
223
|
disabled ? : Boolean|'inert'
|
|
240
224
|
/**
|
|
@@ -247,26 +231,23 @@ defineProps<{
|
|
|
247
231
|
* @param {Core.widget.Combo} combo A reference to this Combo
|
|
248
232
|
* @returns {string,void}
|
|
249
233
|
*/
|
|
250
|
-
displayValueRenderer ? : (record: Model
|
|
234
|
+
displayValueRenderer ? : (record: Model, combo: Combo) => string|void
|
|
251
235
|
/**
|
|
252
236
|
* Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel)
|
|
253
237
|
* [strips collection](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
254
238
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
255
239
|
* body. Such widgets are called "edge strips".
|
|
256
|
-
* ...
|
|
257
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-dock)
|
|
240
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-dock)
|
|
258
241
|
*/
|
|
259
242
|
dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
260
243
|
/**
|
|
261
244
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
|
|
262
245
|
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
263
246
|
* property which controls when a drag should start.
|
|
264
|
-
* ...
|
|
265
|
-
*
|
|
247
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-draggable)
|
|
248
|
+
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
266
249
|
*/
|
|
267
|
-
draggable ? : Boolean|
|
|
268
|
-
handleSelector?: string
|
|
269
|
-
}
|
|
250
|
+
draggable ? : Boolean|object
|
|
270
251
|
/**
|
|
271
252
|
* User can edit text in text field (otherwise only pick from attached picker)
|
|
272
253
|
*/
|
|
@@ -274,21 +255,18 @@ defineProps<{
|
|
|
274
255
|
/**
|
|
275
256
|
* An object specifying attributes to assign to the root element of this widget.
|
|
276
257
|
* Set `null` value to attribute to remove it.
|
|
277
|
-
* ...
|
|
278
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-elementAttributes)
|
|
258
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-elementAttributes)
|
|
279
259
|
*/
|
|
280
260
|
elementAttributes ? : Record<string, string|null>
|
|
281
261
|
/**
|
|
282
262
|
* Text to display in the drop down when there are no items in the underlying store.
|
|
283
|
-
* ...
|
|
284
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-emptyText)
|
|
263
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-emptyText)
|
|
285
264
|
*/
|
|
286
265
|
emptyText ? : string
|
|
287
266
|
/**
|
|
288
267
|
* A function which creates an array of values for the [filterParamName](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-filterParamName) to pass
|
|
289
268
|
* any filters to the server upon load.
|
|
290
|
-
* ...
|
|
291
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-encodeFilterParams)
|
|
269
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-encodeFilterParams)
|
|
292
270
|
* @param {object[]} filters filters
|
|
293
271
|
* @returns {object[]} array of values
|
|
294
272
|
*/
|
|
@@ -302,8 +280,7 @@ defineProps<{
|
|
|
302
280
|
/**
|
|
303
281
|
* The name of an operator type as implemented in [operator](https://bryntum.com/products/schedulerpro/docs/api/Core/util/CollectionFilter#config-operator)
|
|
304
282
|
* to use when filtering the dropdown list based upon the typed value.
|
|
305
|
-
* ...
|
|
306
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-filterOperator)
|
|
283
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-filterOperator)
|
|
307
284
|
*/
|
|
308
285
|
filterOperator ? : CollectionCompareOperator
|
|
309
286
|
/**
|
|
@@ -344,8 +321,7 @@ defineProps<{
|
|
|
344
321
|
hidden ? : Boolean
|
|
345
322
|
/**
|
|
346
323
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
|
|
347
|
-
* ...
|
|
348
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-hideAnimation)
|
|
324
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-hideAnimation)
|
|
349
325
|
*/
|
|
350
326
|
hideAnimation ? : Boolean|object
|
|
351
327
|
/**
|
|
@@ -366,8 +342,7 @@ defineProps<{
|
|
|
366
342
|
/**
|
|
367
343
|
* An optional string to display inside the input field as an overlay. This can be useful for displaying
|
|
368
344
|
* a field's units.
|
|
369
|
-
* ...
|
|
370
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-hint)
|
|
345
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-hint)
|
|
371
346
|
* @param {object} data A data object
|
|
372
347
|
* @param {Core.widget.Field} data.source A reference to the field instance
|
|
373
348
|
* @param {any} data.value The current value of the field
|
|
@@ -378,8 +353,7 @@ defineProps<{
|
|
|
378
353
|
* 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.
|
|
379
354
|
* Since this can allow malicious content to be executed, be sure not to include user-entered data or to
|
|
380
355
|
* encode such data (see [encodeHtml](https://bryntum.com/products/schedulerpro/docs/api/Core/helper/StringHelper#function-encodeHtml-static)).
|
|
381
|
-
* ...
|
|
382
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-hintHtml)
|
|
356
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-hintHtml)
|
|
383
357
|
* @param {object} data A data object
|
|
384
358
|
* @param {Core.widget.Field} data.source A reference to the field instance
|
|
385
359
|
* @param {any} data.value The current value of the field
|
|
@@ -392,23 +366,20 @@ defineProps<{
|
|
|
392
366
|
id ? : string
|
|
393
367
|
/**
|
|
394
368
|
* Determines if the widgets read-only state should be controlled by its parent.
|
|
395
|
-
* ...
|
|
396
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-ignoreParentReadOnly)
|
|
369
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-ignoreParentReadOnly)
|
|
397
370
|
*/
|
|
398
371
|
ignoreParentReadOnly ? : Boolean
|
|
399
372
|
/**
|
|
400
373
|
* Set this config to `true` to always display items horizontally along with this field. This assigns an
|
|
401
374
|
* [hbox](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/layout/Box) as the [layout](#Core/widget/Container#config-layout) to the
|
|
402
375
|
* [container](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-container).
|
|
403
|
-
* ...
|
|
404
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-inline)
|
|
376
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-inline)
|
|
405
377
|
*/
|
|
406
378
|
inline ? : Boolean
|
|
407
379
|
/**
|
|
408
380
|
* Configure this as `true` to render the dropdown list as a permanently visible list
|
|
409
381
|
* in the document flow immediately below the input area instead of as a popup.
|
|
410
|
-
* ...
|
|
411
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-inlinePicker)
|
|
382
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-inlinePicker)
|
|
412
383
|
*/
|
|
413
384
|
inlinePicker ? : Boolean
|
|
414
385
|
/**
|
|
@@ -446,30 +417,26 @@ defineProps<{
|
|
|
446
417
|
insertFirst ? : HTMLElement|string
|
|
447
418
|
/**
|
|
448
419
|
* Rows to display in the dropdown (list items).
|
|
449
|
-
* ...
|
|
450
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-items)
|
|
420
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-items)
|
|
451
421
|
*/
|
|
452
422
|
items ? : object[]|string[]|object
|
|
453
423
|
/**
|
|
454
424
|
* An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
|
|
455
425
|
* and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
|
|
456
426
|
* are the name of the instance method to call when the keystroke is received.
|
|
457
|
-
* ...
|
|
458
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-keyMap)
|
|
427
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-keyMap)
|
|
459
428
|
*/
|
|
460
429
|
keyMap ? : Record<string, KeyMapConfig>
|
|
461
430
|
/**
|
|
462
431
|
* The delay in milliseconds to wait after the last keystroke before triggering a change event.
|
|
463
432
|
* Set to 0 to not trigger change events from keystrokes (listen for input event instead to have
|
|
464
433
|
* immediate feedback, change will still be triggered on blur).
|
|
465
|
-
* ...
|
|
466
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-keyStrokeChangeDelay)
|
|
434
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-keyStrokeChangeDelay)
|
|
467
435
|
*/
|
|
468
436
|
keyStrokeChangeDelay ? : number
|
|
469
437
|
/**
|
|
470
438
|
* The delay in milliseconds to wait after the last keystroke before filtering the list.
|
|
471
|
-
* ...
|
|
472
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-keyStrokeFilterDelay)
|
|
439
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-keyStrokeFilterDelay)
|
|
473
440
|
*/
|
|
474
441
|
keyStrokeFilterDelay ? : number
|
|
475
442
|
/**
|
|
@@ -482,15 +449,15 @@ defineProps<{
|
|
|
482
449
|
labelCls ? : string|object
|
|
483
450
|
/**
|
|
484
451
|
* Label position, either 'before' the field or 'above' the field
|
|
485
|
-
* ...
|
|
486
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-labelPosition)
|
|
452
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-labelPosition)
|
|
487
453
|
*/
|
|
488
454
|
labelPosition ? : 'before'|'above'|null
|
|
489
455
|
/**
|
|
490
456
|
* The labels to add either before or after the input field.
|
|
491
457
|
* Each label may have the following properties:
|
|
492
|
-
* ...
|
|
493
|
-
*
|
|
458
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-labels)
|
|
459
|
+
* @property {string} html Label text
|
|
460
|
+
* @property {'start','end'} align Which end of the file the label should go
|
|
494
461
|
*/
|
|
495
462
|
labels ? : object[]
|
|
496
463
|
/**
|
|
@@ -503,24 +470,21 @@ defineProps<{
|
|
|
503
470
|
listCls ? : string
|
|
504
471
|
/**
|
|
505
472
|
* The listener set for this object.
|
|
506
|
-
* ...
|
|
507
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-listeners)
|
|
473
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-listeners)
|
|
508
474
|
*/
|
|
509
475
|
listeners ? : CalendarFieldListeners
|
|
510
476
|
/**
|
|
511
477
|
* Template string used to render the list items in the dropdown list
|
|
512
|
-
* ...
|
|
513
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-listItemTpl)
|
|
478
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-listItemTpl)
|
|
514
479
|
* @param {Core.data.Model} record The record representing the item being rendered
|
|
515
480
|
* @returns {string,void}
|
|
516
481
|
*/
|
|
517
|
-
listItemTpl ? : (record: Model
|
|
482
|
+
listItemTpl ? : (record: Model) => string|void
|
|
518
483
|
/**
|
|
519
484
|
* A class translations of which are used for translating this entity.
|
|
520
485
|
* This is often used when translations of an item are defined on its container class.
|
|
521
486
|
* For example:
|
|
522
|
-
* ...
|
|
523
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-localeClass)
|
|
487
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-localeClass)
|
|
524
488
|
*/
|
|
525
489
|
localeClass ? : typeof Base
|
|
526
490
|
/**
|
|
@@ -532,8 +496,7 @@ defineProps<{
|
|
|
532
496
|
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
533
497
|
* you could use 'localeKey' meta configuration.
|
|
534
498
|
* Example:
|
|
535
|
-
* ...
|
|
536
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-localizableProperties)
|
|
499
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-localizableProperties)
|
|
537
500
|
*/
|
|
538
501
|
localizableProperties ? : string[]
|
|
539
502
|
/**
|
|
@@ -559,8 +522,7 @@ defineProps<{
|
|
|
559
522
|
maxHeight ? : string|number
|
|
560
523
|
/**
|
|
561
524
|
* *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/CalendarField#config-maximizeOnMobile)
|
|
525
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-maximizeOnMobile)
|
|
564
526
|
*/
|
|
565
527
|
maximizeOnMobile ? : number|string
|
|
566
528
|
/**
|
|
@@ -574,8 +536,7 @@ defineProps<{
|
|
|
574
536
|
maxWidth ? : string|number
|
|
575
537
|
/**
|
|
576
538
|
* The minimum string length to trigger the filtering, only relevant when [editable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-editable) is `true`.
|
|
577
|
-
* ...
|
|
578
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-minChars)
|
|
539
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-minChars)
|
|
579
540
|
*/
|
|
580
541
|
minChars ? : number
|
|
581
542
|
/**
|
|
@@ -596,16 +557,13 @@ defineProps<{
|
|
|
596
557
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
597
558
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
598
559
|
* layout.
|
|
599
|
-
* ...
|
|
600
|
-
*
|
|
560
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-monitorResize)
|
|
561
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
601
562
|
*/
|
|
602
|
-
monitorResize ? : Boolean|
|
|
603
|
-
immediate?: Boolean
|
|
604
|
-
}
|
|
563
|
+
monitorResize ? : Boolean|object
|
|
605
564
|
/**
|
|
606
565
|
* Set to `true` to allow selection of multiple values from the dropdown list.
|
|
607
|
-
* ...
|
|
608
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-multiSelect)
|
|
566
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-multiSelect)
|
|
609
567
|
*/
|
|
610
568
|
multiSelect ? : Boolean
|
|
611
569
|
/**
|
|
@@ -618,8 +576,7 @@ defineProps<{
|
|
|
618
576
|
* Name of the field which is used as a key to get/set values from/to the field.
|
|
619
577
|
* Used prior to [ref](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-ref) and [id](#Core/widget/Widget#config-id) in
|
|
620
578
|
* [Container.values](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#property-values).
|
|
621
|
-
* ...
|
|
622
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-name)
|
|
579
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-name)
|
|
623
580
|
*/
|
|
624
581
|
name ? : string
|
|
625
582
|
/**
|
|
@@ -630,10 +587,9 @@ defineProps<{
|
|
|
630
587
|
/**
|
|
631
588
|
* Configuration object for the [picker](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/List) on initialization. Returns the
|
|
632
589
|
* [picker](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/List) instance at runtime.
|
|
633
|
-
* ...
|
|
634
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-picker)
|
|
590
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-picker)
|
|
635
591
|
*/
|
|
636
|
-
picker ? : ListConfig
|
|
592
|
+
picker ? : ListConfig
|
|
637
593
|
/**
|
|
638
594
|
* The name of the element property to which the picker should size and align itself.
|
|
639
595
|
*/
|
|
@@ -650,8 +606,7 @@ defineProps<{
|
|
|
650
606
|
* 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
|
|
651
607
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
652
608
|
* widget's [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement).
|
|
653
|
-
* ...
|
|
654
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-positioned)
|
|
609
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-positioned)
|
|
655
610
|
*/
|
|
656
611
|
positioned ? : Boolean
|
|
657
612
|
/**
|
|
@@ -663,22 +618,19 @@ defineProps<{
|
|
|
663
618
|
* Optionally a [Filter](https://bryntum.com/products/schedulerpro/docs/api/Core/util/CollectionFilter) config object which the combo should use for
|
|
664
619
|
* filtering using the typed value.
|
|
665
620
|
* This may use a `filterBy` property to test its `value` against any field in the passed record.
|
|
666
|
-
* ...
|
|
667
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-primaryFilter)
|
|
621
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-primaryFilter)
|
|
668
622
|
*/
|
|
669
623
|
primaryFilter ? : CollectionFilterConfig
|
|
670
624
|
/**
|
|
671
625
|
* Makes the field unmodifiable by user action. The input area is not editable, and triggers
|
|
672
626
|
* are unresponsive.
|
|
673
|
-
* ...
|
|
674
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-readOnly)
|
|
627
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-readOnly)
|
|
675
628
|
*/
|
|
676
629
|
readOnly ? : Boolean
|
|
677
630
|
relayStoreEvents ? : Boolean
|
|
678
631
|
/**
|
|
679
632
|
* Predefined style to use for the field. Possible values are:
|
|
680
|
-
* ...
|
|
681
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-rendition)
|
|
633
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-rendition)
|
|
682
634
|
*/
|
|
683
635
|
rendition ? : 'outlined'|'filled'|string
|
|
684
636
|
/**
|
|
@@ -697,23 +649,26 @@ defineProps<{
|
|
|
697
649
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
698
650
|
* [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
|
|
699
651
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
700
|
-
* ...
|
|
701
|
-
* [
|
|
652
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-ripple)
|
|
653
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
654
|
+
* @property {string} [color] A CSS color name or specification.
|
|
655
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
656
|
+
* @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.
|
|
702
657
|
*/
|
|
703
|
-
ripple ? : Boolean|
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
658
|
+
ripple ? : Boolean|object
|
|
659
|
+
/**
|
|
660
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
661
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
662
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-role)
|
|
663
|
+
*/
|
|
664
|
+
role ? : string
|
|
709
665
|
/**
|
|
710
666
|
* 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`
|
|
711
667
|
*/
|
|
712
668
|
rootElement ? : ShadowRoot|HTMLElement
|
|
713
669
|
/**
|
|
714
670
|
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
715
|
-
* ...
|
|
716
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-rtl)
|
|
671
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-rtl)
|
|
717
672
|
*/
|
|
718
673
|
rtl ? : Boolean
|
|
719
674
|
/**
|
|
@@ -723,8 +678,7 @@ defineProps<{
|
|
|
723
678
|
scrollAction ? : 'hide'|'realign'|null
|
|
724
679
|
/**
|
|
725
680
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
|
|
726
|
-
* ...
|
|
727
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-showAnimation)
|
|
681
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-showAnimation)
|
|
728
682
|
*/
|
|
729
683
|
showAnimation ? : Boolean|object
|
|
730
684
|
/**
|
|
@@ -757,8 +711,7 @@ defineProps<{
|
|
|
757
711
|
* 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
|
|
758
712
|
* [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
|
|
759
713
|
* this widget:
|
|
760
|
-
* ...
|
|
761
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-tab)
|
|
714
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-tab)
|
|
762
715
|
*/
|
|
763
716
|
tab ? : Boolean|TabConfig
|
|
764
717
|
/**
|
|
@@ -766,14 +719,12 @@ defineProps<{
|
|
|
766
719
|
* is equivalent to natural tab order, but is unnecessary for fields since they are naturally tabbable
|
|
767
720
|
* (i.e., accessible via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set
|
|
768
721
|
* to the element programmatically.
|
|
769
|
-
* ...
|
|
770
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-tabIndex)
|
|
722
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-tabIndex)
|
|
771
723
|
*/
|
|
772
724
|
tabIndex ? : number
|
|
773
725
|
/**
|
|
774
726
|
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
775
|
-
* ...
|
|
776
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-textAlign)
|
|
727
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-textAlign)
|
|
777
728
|
*/
|
|
778
729
|
textAlign ? : 'left'|'center'|'right'|'start'|'end'
|
|
779
730
|
/**
|
|
@@ -782,30 +733,26 @@ defineProps<{
|
|
|
782
733
|
title ? : string
|
|
783
734
|
/**
|
|
784
735
|
* Tooltip for the widget, either as a string or as a Tooltip config object.
|
|
785
|
-
* ...
|
|
786
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-tooltip)
|
|
736
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-tooltip)
|
|
787
737
|
*/
|
|
788
738
|
tooltip ? : string|TooltipConfig|null
|
|
789
739
|
/**
|
|
790
740
|
* How to query the store upon click of the expand trigger. Specify one of these values:
|
|
791
|
-
* ...
|
|
792
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-triggerAction)
|
|
741
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-triggerAction)
|
|
793
742
|
*/
|
|
794
743
|
triggerAction ? : 'all'|'last'|null
|
|
795
744
|
/**
|
|
796
745
|
* The triggers to add either before or after the input field. Each property name is the reference by which
|
|
797
746
|
* an instantiated Trigger Widget may be retrieved from the live `triggers` property.
|
|
798
|
-
* ...
|
|
799
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-triggers)
|
|
747
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-triggers)
|
|
800
748
|
*/
|
|
801
|
-
triggers ? : Record<string, FieldTriggerConfig
|
|
749
|
+
triggers ? : Record<string, FieldTriggerConfig>
|
|
802
750
|
type ? : 'calendarfield'
|
|
803
751
|
/**
|
|
804
752
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
805
753
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
806
754
|
* values are used as the class names.
|
|
807
|
-
* ...
|
|
808
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-ui)
|
|
755
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-ui)
|
|
809
756
|
*/
|
|
810
757
|
ui ? : string|object
|
|
811
758
|
/**
|
|
@@ -825,8 +772,7 @@ defineProps<{
|
|
|
825
772
|
/**
|
|
826
773
|
* Field used for item value when populating from store. Setting this to `null` will
|
|
827
774
|
* yield the selected record as the Combo's [value](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#property-value).
|
|
828
|
-
* ...
|
|
829
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-valueField)
|
|
775
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-valueField)
|
|
830
776
|
*/
|
|
831
777
|
valueField ? : string|null
|
|
832
778
|
/**
|
|
@@ -842,14 +788,12 @@ defineProps<{
|
|
|
842
788
|
width ? : string|number
|
|
843
789
|
/**
|
|
844
790
|
* The x position for the widget.
|
|
845
|
-
* ...
|
|
846
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-x)
|
|
791
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-x)
|
|
847
792
|
*/
|
|
848
793
|
x ? : number
|
|
849
794
|
/**
|
|
850
795
|
* The y position for the widget.
|
|
851
|
-
* ...
|
|
852
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-y)
|
|
796
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-y)
|
|
853
797
|
*/
|
|
854
798
|
y ? : number
|
|
855
799
|
|
|
@@ -902,8 +846,7 @@ const emit = defineEmits<{
|
|
|
902
846
|
(e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
903
847
|
/**
|
|
904
848
|
* Fires when any other event is fired from the object.
|
|
905
|
-
* ...
|
|
906
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#event-catchAll)
|
|
849
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#event-catchAll)
|
|
907
850
|
* @param {string} e Event name
|
|
908
851
|
* @param {object} params Event parameters
|
|
909
852
|
* @param {string} params.e Event name
|
|
@@ -931,8 +874,7 @@ const emit = defineEmits<{
|
|
|
931
874
|
(e: 'change', params: ((event: { source: Field|any, value: string|number|boolean|any, oldValue: string|number|boolean|any, valid: boolean, event: Event, userAction: boolean, checked: boolean }) => void)|string): void
|
|
932
875
|
/**
|
|
933
876
|
* Fired when this field is [cleared](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#function-clear).
|
|
934
|
-
* ...
|
|
935
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#event-clear)
|
|
877
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#event-clear)
|
|
936
878
|
* @param {string} e Event name
|
|
937
879
|
* @param {object} params Event parameters
|
|
938
880
|
* @param {string} params.e Event name
|
|
@@ -1019,8 +961,7 @@ const emit = defineEmits<{
|
|
|
1019
961
|
/**
|
|
1020
962
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
1021
963
|
* achieves visibility.
|
|
1022
|
-
* ...
|
|
1023
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#event-paint)
|
|
964
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#event-paint)
|
|
1024
965
|
* @param {string} e Event name
|
|
1025
966
|
* @param {object} params Event parameters
|
|
1026
967
|
* @param {string} params.e Event name
|
|
@@ -1184,6 +1125,7 @@ const widgetData = {
|
|
|
1184
1125
|
'relayStoreEvents',
|
|
1185
1126
|
'revertOnEscape',
|
|
1186
1127
|
'ripple',
|
|
1128
|
+
'role',
|
|
1187
1129
|
'rootElement',
|
|
1188
1130
|
'scrollAction',
|
|
1189
1131
|
'showAnimation',
|
|
@@ -1267,9 +1209,7 @@ const widgetData = {
|
|
|
1267
1209
|
'y'
|
|
1268
1210
|
],
|
|
1269
1211
|
propertyNames : [
|
|
1270
|
-
'anchorSize',
|
|
1271
1212
|
'content',
|
|
1272
|
-
'focusVisible',
|
|
1273
1213
|
'formula',
|
|
1274
1214
|
'html',
|
|
1275
1215
|
'input',
|