@bryntum/schedulerpro-vue-3-thin 7.2.3 → 7.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +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 +338 -461
- 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 +338 -461
- package/src/components/BryntumResourceUtilizationProps.ts +288 -404
- package/src/components/BryntumSchedulerPro.vue +507 -646
- package/src/components/BryntumSchedulerProBase.vue +507 -646
- 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 +428 -597
- 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, Store, StoreConfig, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
14
14
|
import type { SchedulerProContainerItemConfig, ModelComboListeners } from '@bryntum/schedulerpro-thin';
|
|
15
15
|
import { ModelCombo } 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/ModelCombo#config-adopt)
|
|
24
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#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/ModelCombo#config-align)
|
|
29
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#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/ModelCombo#config-ariaDescription)
|
|
51
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#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/ModelCombo#config-ariaLabel)
|
|
57
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-ariaLabel)
|
|
62
58
|
*/
|
|
63
59
|
ariaLabel ? : string
|
|
64
60
|
/**
|
|
@@ -81,20 +77,17 @@ 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/ModelCombo#config-bubbleEvents)
|
|
80
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#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/ModelCombo#config-cacheLastResult)
|
|
85
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-cacheLastResult)
|
|
92
86
|
*/
|
|
93
87
|
cacheLastResult ? : number|string|Duration|DurationConfig
|
|
94
88
|
/**
|
|
95
89
|
* Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
|
|
96
|
-
* ...
|
|
97
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-callOnFunctions)
|
|
90
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-callOnFunctions)
|
|
98
91
|
*/
|
|
99
92
|
callOnFunctions ? : Boolean
|
|
100
93
|
/**
|
|
@@ -104,8 +97,7 @@ defineProps<{
|
|
|
104
97
|
/**
|
|
105
98
|
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
106
99
|
* application state is undefined. Code which follows the event handler will *not* be executed.
|
|
107
|
-
* ...
|
|
108
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-catchEventHandlerExceptions)
|
|
100
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-catchEventHandlerExceptions)
|
|
109
101
|
*/
|
|
110
102
|
catchEventHandlerExceptions ? : Boolean
|
|
111
103
|
/**
|
|
@@ -116,8 +108,7 @@ defineProps<{
|
|
|
116
108
|
/**
|
|
117
109
|
* A config object to configure the [ChipView](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/ChipView) to display the
|
|
118
110
|
* selected value set when [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
|
|
119
|
-
* ...
|
|
120
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-chipView)
|
|
111
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-chipView)
|
|
121
112
|
*/
|
|
122
113
|
chipView ? : ChipViewConfig
|
|
123
114
|
/**
|
|
@@ -142,15 +133,13 @@ defineProps<{
|
|
|
142
133
|
* Custom CSS classes to add to element.
|
|
143
134
|
* May be specified as a space separated string, or as an object in which property names
|
|
144
135
|
* with truthy values are used as the class names:
|
|
145
|
-
* ...
|
|
146
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-cls)
|
|
136
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-cls)
|
|
147
137
|
*/
|
|
148
138
|
cls ? : string|object
|
|
149
139
|
/**
|
|
150
140
|
* Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
|
|
151
141
|
* `style` block.
|
|
152
|
-
* ...
|
|
153
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-color)
|
|
142
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-color)
|
|
154
143
|
*/
|
|
155
144
|
color ? : Color
|
|
156
145
|
/**
|
|
@@ -167,15 +156,13 @@ defineProps<{
|
|
|
167
156
|
* The configuration for additional items associated to this field. This is typically used to add contextual
|
|
168
157
|
* fields related to a [checkbox](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Checkbox) or [radio button](#Core/widget/Radio). See
|
|
169
158
|
* these classes for examples of nested fields.
|
|
170
|
-
* ...
|
|
171
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-container)
|
|
159
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-container)
|
|
172
160
|
*/
|
|
173
|
-
container ? : Record<string, SchedulerProContainerItemConfig>|SchedulerProContainerItemConfig[]|FieldContainerConfig
|
|
161
|
+
container ? : Record<string, SchedulerProContainerItemConfig>|SchedulerProContainerItemConfig[]|FieldContainerConfig
|
|
174
162
|
/**
|
|
175
163
|
* The config controls how the value of nested items are handled when a parent container gets or sets its
|
|
176
164
|
* [values](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#property-values).
|
|
177
|
-
* ...
|
|
178
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-containValues)
|
|
165
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-containValues)
|
|
179
166
|
* @param {Core.widget.Field} field Field instance
|
|
180
167
|
* @returns {boolean}
|
|
181
168
|
*/
|
|
@@ -184,16 +171,14 @@ defineProps<{
|
|
|
184
171
|
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement).
|
|
185
172
|
* May be specified as a space separated string, or as an object in which property names
|
|
186
173
|
* with truthy values are used as the class names:
|
|
187
|
-
* ...
|
|
188
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-contentElementCls)
|
|
174
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-contentElementCls)
|
|
189
175
|
*/
|
|
190
176
|
contentElementCls ? : string|object
|
|
191
177
|
/**
|
|
192
178
|
* If configured as `true`, this means that when an unmatched string is typed into the
|
|
193
179
|
* 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,
|
|
194
180
|
* 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).
|
|
195
|
-
* ...
|
|
196
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-createOnUnmatched)
|
|
181
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-createOnUnmatched)
|
|
197
182
|
* @param {string} name Record name
|
|
198
183
|
* @param {Core.widget.Combo} combo Combo instance
|
|
199
184
|
* @returns {Core.data.Model} New record
|
|
@@ -214,16 +199,15 @@ defineProps<{
|
|
|
214
199
|
*/
|
|
215
200
|
defaultBindProperty ? : string
|
|
216
201
|
/**
|
|
217
|
-
* Check for CSS compatibility issues
|
|
218
|
-
*
|
|
219
|
-
* [
|
|
202
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
203
|
+
* checks:
|
|
204
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-detectCSSCompatibilityIssues)
|
|
220
205
|
*/
|
|
221
206
|
detectCSSCompatibilityIssues ? : Boolean
|
|
222
207
|
/**
|
|
223
208
|
* 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
|
|
224
209
|
* cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
|
|
225
|
-
* ...
|
|
226
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-disabled)
|
|
210
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-disabled)
|
|
227
211
|
*/
|
|
228
212
|
disabled ? : Boolean|'inert'
|
|
229
213
|
/**
|
|
@@ -236,26 +220,23 @@ defineProps<{
|
|
|
236
220
|
* @param {Core.widget.Combo} combo A reference to this Combo
|
|
237
221
|
* @returns {string,void}
|
|
238
222
|
*/
|
|
239
|
-
displayValueRenderer ? : (record: Model
|
|
223
|
+
displayValueRenderer ? : (record: Model, combo: Combo) => string|void
|
|
240
224
|
/**
|
|
241
225
|
* Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel)
|
|
242
226
|
* [strips collection](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
243
227
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
244
228
|
* body. Such widgets are called "edge strips".
|
|
245
|
-
* ...
|
|
246
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-dock)
|
|
229
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-dock)
|
|
247
230
|
*/
|
|
248
231
|
dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
249
232
|
/**
|
|
250
233
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
|
|
251
234
|
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
252
235
|
* property which controls when a drag should start.
|
|
253
|
-
* ...
|
|
254
|
-
*
|
|
236
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-draggable)
|
|
237
|
+
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
255
238
|
*/
|
|
256
|
-
draggable ? : Boolean|
|
|
257
|
-
handleSelector?: string
|
|
258
|
-
}
|
|
239
|
+
draggable ? : Boolean|object
|
|
259
240
|
/**
|
|
260
241
|
* User can edit text in text field (otherwise only pick from attached picker)
|
|
261
242
|
*/
|
|
@@ -263,21 +244,18 @@ defineProps<{
|
|
|
263
244
|
/**
|
|
264
245
|
* An object specifying attributes to assign to the root element of this widget.
|
|
265
246
|
* Set `null` value to attribute to remove it.
|
|
266
|
-
* ...
|
|
267
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-elementAttributes)
|
|
247
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-elementAttributes)
|
|
268
248
|
*/
|
|
269
249
|
elementAttributes ? : Record<string, string|null>
|
|
270
250
|
/**
|
|
271
251
|
* Text to display in the drop down when there are no items in the underlying store.
|
|
272
|
-
* ...
|
|
273
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-emptyText)
|
|
252
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-emptyText)
|
|
274
253
|
*/
|
|
275
254
|
emptyText ? : string
|
|
276
255
|
/**
|
|
277
256
|
* 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
|
|
278
257
|
* any filters to the server upon load.
|
|
279
|
-
* ...
|
|
280
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-encodeFilterParams)
|
|
258
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-encodeFilterParams)
|
|
281
259
|
* @param {object[]} filters filters
|
|
282
260
|
* @returns {object[]} array of values
|
|
283
261
|
*/
|
|
@@ -291,8 +269,7 @@ defineProps<{
|
|
|
291
269
|
/**
|
|
292
270
|
* The name of an operator type as implemented in [operator](https://bryntum.com/products/schedulerpro/docs/api/Core/util/CollectionFilter#config-operator)
|
|
293
271
|
* to use when filtering the dropdown list based upon the typed value.
|
|
294
|
-
* ...
|
|
295
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-filterOperator)
|
|
272
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-filterOperator)
|
|
296
273
|
*/
|
|
297
274
|
filterOperator ? : CollectionCompareOperator
|
|
298
275
|
/**
|
|
@@ -333,8 +310,7 @@ defineProps<{
|
|
|
333
310
|
hidden ? : Boolean
|
|
334
311
|
/**
|
|
335
312
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
|
|
336
|
-
* ...
|
|
337
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-hideAnimation)
|
|
313
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-hideAnimation)
|
|
338
314
|
*/
|
|
339
315
|
hideAnimation ? : Boolean|object
|
|
340
316
|
/**
|
|
@@ -355,8 +331,7 @@ defineProps<{
|
|
|
355
331
|
/**
|
|
356
332
|
* An optional string to display inside the input field as an overlay. This can be useful for displaying
|
|
357
333
|
* a field's units.
|
|
358
|
-
* ...
|
|
359
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-hint)
|
|
334
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-hint)
|
|
360
335
|
* @param {object} data A data object
|
|
361
336
|
* @param {Core.widget.Field} data.source A reference to the field instance
|
|
362
337
|
* @param {any} data.value The current value of the field
|
|
@@ -367,8 +342,7 @@ defineProps<{
|
|
|
367
342
|
* 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.
|
|
368
343
|
* Since this can allow malicious content to be executed, be sure not to include user-entered data or to
|
|
369
344
|
* encode such data (see [encodeHtml](https://bryntum.com/products/schedulerpro/docs/api/Core/helper/StringHelper#function-encodeHtml-static)).
|
|
370
|
-
* ...
|
|
371
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-hintHtml)
|
|
345
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-hintHtml)
|
|
372
346
|
* @param {object} data A data object
|
|
373
347
|
* @param {Core.widget.Field} data.source A reference to the field instance
|
|
374
348
|
* @param {any} data.value The current value of the field
|
|
@@ -381,23 +355,20 @@ defineProps<{
|
|
|
381
355
|
id ? : string
|
|
382
356
|
/**
|
|
383
357
|
* Determines if the widgets read-only state should be controlled by its parent.
|
|
384
|
-
* ...
|
|
385
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-ignoreParentReadOnly)
|
|
358
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-ignoreParentReadOnly)
|
|
386
359
|
*/
|
|
387
360
|
ignoreParentReadOnly ? : Boolean
|
|
388
361
|
/**
|
|
389
362
|
* Set this config to `true` to always display items horizontally along with this field. This assigns an
|
|
390
363
|
* [hbox](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/layout/Box) as the [layout](#Core/widget/Container#config-layout) to the
|
|
391
364
|
* [container](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-container).
|
|
392
|
-
* ...
|
|
393
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-inline)
|
|
365
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-inline)
|
|
394
366
|
*/
|
|
395
367
|
inline ? : Boolean
|
|
396
368
|
/**
|
|
397
369
|
* Configure this as `true` to render the dropdown list as a permanently visible list
|
|
398
370
|
* in the document flow immediately below the input area instead of as a popup.
|
|
399
|
-
* ...
|
|
400
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-inlinePicker)
|
|
371
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-inlinePicker)
|
|
401
372
|
*/
|
|
402
373
|
inlinePicker ? : Boolean
|
|
403
374
|
/**
|
|
@@ -435,30 +406,26 @@ defineProps<{
|
|
|
435
406
|
insertFirst ? : HTMLElement|string
|
|
436
407
|
/**
|
|
437
408
|
* Rows to display in the dropdown (list items).
|
|
438
|
-
* ...
|
|
439
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-items)
|
|
409
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-items)
|
|
440
410
|
*/
|
|
441
411
|
items ? : object[]|string[]|object
|
|
442
412
|
/**
|
|
443
413
|
* An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
|
|
444
414
|
* and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
|
|
445
415
|
* are the name of the instance method to call when the keystroke is received.
|
|
446
|
-
* ...
|
|
447
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-keyMap)
|
|
416
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-keyMap)
|
|
448
417
|
*/
|
|
449
418
|
keyMap ? : Record<string, KeyMapConfig>
|
|
450
419
|
/**
|
|
451
420
|
* The delay in milliseconds to wait after the last keystroke before triggering a change event.
|
|
452
421
|
* Set to 0 to not trigger change events from keystrokes (listen for input event instead to have
|
|
453
422
|
* immediate feedback, change will still be triggered on blur).
|
|
454
|
-
* ...
|
|
455
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-keyStrokeChangeDelay)
|
|
423
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-keyStrokeChangeDelay)
|
|
456
424
|
*/
|
|
457
425
|
keyStrokeChangeDelay ? : number
|
|
458
426
|
/**
|
|
459
427
|
* The delay in milliseconds to wait after the last keystroke before filtering the list.
|
|
460
|
-
* ...
|
|
461
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-keyStrokeFilterDelay)
|
|
428
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-keyStrokeFilterDelay)
|
|
462
429
|
*/
|
|
463
430
|
keyStrokeFilterDelay ? : number
|
|
464
431
|
/**
|
|
@@ -471,15 +438,15 @@ defineProps<{
|
|
|
471
438
|
labelCls ? : string|object
|
|
472
439
|
/**
|
|
473
440
|
* Label position, either 'before' the field or 'above' the field
|
|
474
|
-
* ...
|
|
475
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-labelPosition)
|
|
441
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-labelPosition)
|
|
476
442
|
*/
|
|
477
443
|
labelPosition ? : 'before'|'above'|null
|
|
478
444
|
/**
|
|
479
445
|
* The labels to add either before or after the input field.
|
|
480
446
|
* Each label may have the following properties:
|
|
481
|
-
* ...
|
|
482
|
-
*
|
|
447
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-labels)
|
|
448
|
+
* @property {string} html Label text
|
|
449
|
+
* @property {'start','end'} align Which end of the file the label should go
|
|
483
450
|
*/
|
|
484
451
|
labels ? : object[]
|
|
485
452
|
/**
|
|
@@ -492,24 +459,21 @@ defineProps<{
|
|
|
492
459
|
listCls ? : string
|
|
493
460
|
/**
|
|
494
461
|
* The listener set for this object.
|
|
495
|
-
* ...
|
|
496
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-listeners)
|
|
462
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-listeners)
|
|
497
463
|
*/
|
|
498
464
|
listeners ? : ModelComboListeners
|
|
499
465
|
/**
|
|
500
466
|
* Template string used to render the list items in the dropdown list
|
|
501
|
-
* ...
|
|
502
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-listItemTpl)
|
|
467
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-listItemTpl)
|
|
503
468
|
* @param {Core.data.Model} record The record representing the item being rendered
|
|
504
469
|
* @returns {string,void}
|
|
505
470
|
*/
|
|
506
|
-
listItemTpl ? : (record: Model
|
|
471
|
+
listItemTpl ? : (record: Model) => string|void
|
|
507
472
|
/**
|
|
508
473
|
* A class translations of which are used for translating this entity.
|
|
509
474
|
* This is often used when translations of an item are defined on its container class.
|
|
510
475
|
* For example:
|
|
511
|
-
* ...
|
|
512
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-localeClass)
|
|
476
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-localeClass)
|
|
513
477
|
*/
|
|
514
478
|
localeClass ? : typeof Base
|
|
515
479
|
/**
|
|
@@ -521,8 +485,7 @@ defineProps<{
|
|
|
521
485
|
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
522
486
|
* you could use 'localeKey' meta configuration.
|
|
523
487
|
* Example:
|
|
524
|
-
* ...
|
|
525
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-localizableProperties)
|
|
488
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-localizableProperties)
|
|
526
489
|
*/
|
|
527
490
|
localizableProperties ? : string[]
|
|
528
491
|
/**
|
|
@@ -548,8 +511,7 @@ defineProps<{
|
|
|
548
511
|
maxHeight ? : string|number
|
|
549
512
|
/**
|
|
550
513
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
|
|
551
|
-
* ...
|
|
552
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-maximizeOnMobile)
|
|
514
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-maximizeOnMobile)
|
|
553
515
|
*/
|
|
554
516
|
maximizeOnMobile ? : number|string
|
|
555
517
|
/**
|
|
@@ -563,8 +525,7 @@ defineProps<{
|
|
|
563
525
|
maxWidth ? : string|number
|
|
564
526
|
/**
|
|
565
527
|
* 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`.
|
|
566
|
-
* ...
|
|
567
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-minChars)
|
|
528
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-minChars)
|
|
568
529
|
*/
|
|
569
530
|
minChars ? : number
|
|
570
531
|
/**
|
|
@@ -585,16 +546,13 @@ defineProps<{
|
|
|
585
546
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
586
547
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
587
548
|
* layout.
|
|
588
|
-
* ...
|
|
589
|
-
*
|
|
549
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-monitorResize)
|
|
550
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
590
551
|
*/
|
|
591
|
-
monitorResize ? : Boolean|
|
|
592
|
-
immediate?: Boolean
|
|
593
|
-
}
|
|
552
|
+
monitorResize ? : Boolean|object
|
|
594
553
|
/**
|
|
595
554
|
* Set to `true` to allow selection of multiple values from the dropdown list.
|
|
596
|
-
* ...
|
|
597
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-multiSelect)
|
|
555
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-multiSelect)
|
|
598
556
|
*/
|
|
599
557
|
multiSelect ? : Boolean
|
|
600
558
|
/**
|
|
@@ -607,8 +565,7 @@ defineProps<{
|
|
|
607
565
|
* Name of the field which is used as a key to get/set values from/to the field.
|
|
608
566
|
* Used prior to [ref](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-ref) and [id](#Core/widget/Widget#config-id) in
|
|
609
567
|
* [Container.values](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#property-values).
|
|
610
|
-
* ...
|
|
611
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-name)
|
|
568
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-name)
|
|
612
569
|
*/
|
|
613
570
|
name ? : string
|
|
614
571
|
/**
|
|
@@ -619,10 +576,9 @@ defineProps<{
|
|
|
619
576
|
/**
|
|
620
577
|
* Configuration object for the [picker](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/List) on initialization. Returns the
|
|
621
578
|
* [picker](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/List) instance at runtime.
|
|
622
|
-
* ...
|
|
623
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-picker)
|
|
579
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-picker)
|
|
624
580
|
*/
|
|
625
|
-
picker ? : ListConfig
|
|
581
|
+
picker ? : ListConfig
|
|
626
582
|
/**
|
|
627
583
|
* The name of the element property to which the picker should size and align itself.
|
|
628
584
|
*/
|
|
@@ -639,8 +595,7 @@ defineProps<{
|
|
|
639
595
|
* 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
|
|
640
596
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
641
597
|
* widget's [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement).
|
|
642
|
-
* ...
|
|
643
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-positioned)
|
|
598
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-positioned)
|
|
644
599
|
*/
|
|
645
600
|
positioned ? : Boolean
|
|
646
601
|
/**
|
|
@@ -652,22 +607,19 @@ defineProps<{
|
|
|
652
607
|
* Optionally a [Filter](https://bryntum.com/products/schedulerpro/docs/api/Core/util/CollectionFilter) config object which the combo should use for
|
|
653
608
|
* filtering using the typed value.
|
|
654
609
|
* This may use a `filterBy` property to test its `value` against any field in the passed record.
|
|
655
|
-
* ...
|
|
656
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-primaryFilter)
|
|
610
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-primaryFilter)
|
|
657
611
|
*/
|
|
658
612
|
primaryFilter ? : CollectionFilterConfig
|
|
659
613
|
/**
|
|
660
614
|
* Makes the field unmodifiable by user action. The input area is not editable, and triggers
|
|
661
615
|
* are unresponsive.
|
|
662
|
-
* ...
|
|
663
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-readOnly)
|
|
616
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-readOnly)
|
|
664
617
|
*/
|
|
665
618
|
readOnly ? : Boolean
|
|
666
619
|
relayStoreEvents ? : Boolean
|
|
667
620
|
/**
|
|
668
621
|
* Predefined style to use for the field. Possible values are:
|
|
669
|
-
* ...
|
|
670
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-rendition)
|
|
622
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-rendition)
|
|
671
623
|
*/
|
|
672
624
|
rendition ? : 'outlined'|'filled'|string
|
|
673
625
|
/**
|
|
@@ -686,23 +638,26 @@ defineProps<{
|
|
|
686
638
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
687
639
|
* [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
|
|
688
640
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
689
|
-
* ...
|
|
690
|
-
* [
|
|
641
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-ripple)
|
|
642
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
643
|
+
* @property {string} [color] A CSS color name or specification.
|
|
644
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
645
|
+
* @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.
|
|
691
646
|
*/
|
|
692
|
-
ripple ? : Boolean|
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
647
|
+
ripple ? : Boolean|object
|
|
648
|
+
/**
|
|
649
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
650
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
651
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-role)
|
|
652
|
+
*/
|
|
653
|
+
role ? : string
|
|
698
654
|
/**
|
|
699
655
|
* 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`
|
|
700
656
|
*/
|
|
701
657
|
rootElement ? : ShadowRoot|HTMLElement
|
|
702
658
|
/**
|
|
703
659
|
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
704
|
-
* ...
|
|
705
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-rtl)
|
|
660
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-rtl)
|
|
706
661
|
*/
|
|
707
662
|
rtl ? : Boolean
|
|
708
663
|
/**
|
|
@@ -712,8 +667,7 @@ defineProps<{
|
|
|
712
667
|
scrollAction ? : 'hide'|'realign'|null
|
|
713
668
|
/**
|
|
714
669
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
|
|
715
|
-
* ...
|
|
716
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-showAnimation)
|
|
670
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-showAnimation)
|
|
717
671
|
*/
|
|
718
672
|
showAnimation ? : Boolean|object
|
|
719
673
|
/**
|
|
@@ -746,8 +700,7 @@ defineProps<{
|
|
|
746
700
|
* 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
|
|
747
701
|
* [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
|
|
748
702
|
* this widget:
|
|
749
|
-
* ...
|
|
750
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-tab)
|
|
703
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-tab)
|
|
751
704
|
*/
|
|
752
705
|
tab ? : Boolean|TabConfig
|
|
753
706
|
/**
|
|
@@ -755,14 +708,12 @@ defineProps<{
|
|
|
755
708
|
* is equivalent to natural tab order, but is unnecessary for fields since they are naturally tabbable
|
|
756
709
|
* (i.e., accessible via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set
|
|
757
710
|
* to the element programmatically.
|
|
758
|
-
* ...
|
|
759
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-tabIndex)
|
|
711
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-tabIndex)
|
|
760
712
|
*/
|
|
761
713
|
tabIndex ? : number
|
|
762
714
|
/**
|
|
763
715
|
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
764
|
-
* ...
|
|
765
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-textAlign)
|
|
716
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-textAlign)
|
|
766
717
|
*/
|
|
767
718
|
textAlign ? : 'left'|'center'|'right'|'start'|'end'
|
|
768
719
|
/**
|
|
@@ -771,30 +722,26 @@ defineProps<{
|
|
|
771
722
|
title ? : string
|
|
772
723
|
/**
|
|
773
724
|
* Tooltip for the widget, either as a string or as a Tooltip config object.
|
|
774
|
-
* ...
|
|
775
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-tooltip)
|
|
725
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-tooltip)
|
|
776
726
|
*/
|
|
777
727
|
tooltip ? : string|TooltipConfig|null
|
|
778
728
|
/**
|
|
779
729
|
* How to query the store upon click of the expand trigger. Specify one of these values:
|
|
780
|
-
* ...
|
|
781
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-triggerAction)
|
|
730
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-triggerAction)
|
|
782
731
|
*/
|
|
783
732
|
triggerAction ? : 'all'|'last'|null
|
|
784
733
|
/**
|
|
785
734
|
* The triggers to add either before or after the input field. Each property name is the reference by which
|
|
786
735
|
* an instantiated Trigger Widget may be retrieved from the live `triggers` property.
|
|
787
|
-
* ...
|
|
788
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-triggers)
|
|
736
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-triggers)
|
|
789
737
|
*/
|
|
790
|
-
triggers ? : Record<string, FieldTriggerConfig
|
|
738
|
+
triggers ? : Record<string, FieldTriggerConfig>
|
|
791
739
|
type ? : 'modelcombo'
|
|
792
740
|
/**
|
|
793
741
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
794
742
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
795
743
|
* values are used as the class names.
|
|
796
|
-
* ...
|
|
797
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-ui)
|
|
744
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-ui)
|
|
798
745
|
*/
|
|
799
746
|
ui ? : string|object
|
|
800
747
|
/**
|
|
@@ -814,8 +761,7 @@ defineProps<{
|
|
|
814
761
|
/**
|
|
815
762
|
* Field used for item value when populating from store. Setting this to `null` will
|
|
816
763
|
* yield the selected record as the Combo's [value](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#property-value).
|
|
817
|
-
* ...
|
|
818
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-valueField)
|
|
764
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-valueField)
|
|
819
765
|
*/
|
|
820
766
|
valueField ? : string|null
|
|
821
767
|
/**
|
|
@@ -831,14 +777,12 @@ defineProps<{
|
|
|
831
777
|
width ? : string|number
|
|
832
778
|
/**
|
|
833
779
|
* The x position for the widget.
|
|
834
|
-
* ...
|
|
835
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-x)
|
|
780
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-x)
|
|
836
781
|
*/
|
|
837
782
|
x ? : number
|
|
838
783
|
/**
|
|
839
784
|
* The y position for the widget.
|
|
840
|
-
* ...
|
|
841
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-y)
|
|
785
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-y)
|
|
842
786
|
*/
|
|
843
787
|
y ? : number
|
|
844
788
|
|
|
@@ -891,8 +835,7 @@ const emit = defineEmits<{
|
|
|
891
835
|
(e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
892
836
|
/**
|
|
893
837
|
* Fires when any other event is fired from the object.
|
|
894
|
-
* ...
|
|
895
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#event-catchAll)
|
|
838
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#event-catchAll)
|
|
896
839
|
* @param {string} e Event name
|
|
897
840
|
* @param {object} params Event parameters
|
|
898
841
|
* @param {string} params.e Event name
|
|
@@ -920,8 +863,7 @@ const emit = defineEmits<{
|
|
|
920
863
|
(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
|
|
921
864
|
/**
|
|
922
865
|
* Fired when this field is [cleared](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#function-clear).
|
|
923
|
-
* ...
|
|
924
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#event-clear)
|
|
866
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#event-clear)
|
|
925
867
|
* @param {string} e Event name
|
|
926
868
|
* @param {object} params Event parameters
|
|
927
869
|
* @param {string} params.e Event name
|
|
@@ -1008,8 +950,7 @@ const emit = defineEmits<{
|
|
|
1008
950
|
/**
|
|
1009
951
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
1010
952
|
* achieves visibility.
|
|
1011
|
-
* ...
|
|
1012
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#event-paint)
|
|
953
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#event-paint)
|
|
1013
954
|
* @param {string} e Event name
|
|
1014
955
|
* @param {object} params Event parameters
|
|
1015
956
|
* @param {string} params.e Event name
|
|
@@ -1171,6 +1112,7 @@ const widgetData = {
|
|
|
1171
1112
|
'relayStoreEvents',
|
|
1172
1113
|
'revertOnEscape',
|
|
1173
1114
|
'ripple',
|
|
1115
|
+
'role',
|
|
1174
1116
|
'rootElement',
|
|
1175
1117
|
'scrollAction',
|
|
1176
1118
|
'showAnimation',
|
|
@@ -1254,9 +1196,7 @@ const widgetData = {
|
|
|
1254
1196
|
'y'
|
|
1255
1197
|
],
|
|
1256
1198
|
propertyNames : [
|
|
1257
|
-
'anchorSize',
|
|
1258
1199
|
'content',
|
|
1259
|
-
'focusVisible',
|
|
1260
1200
|
'formula',
|
|
1261
1201
|
'html',
|
|
1262
1202
|
'input',
|