@bryntum/schedulerpro-vue-3-thin 7.2.4 → 7.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -9
- package/lib/chunks/{BhUeT19h.js → 7vz3cAx6.js} +9 -7
- package/lib/chunks/7vz3cAx6.js.map +1 -0
- package/lib/chunks/{9jfNe_y3.js → B1SaPsRu.js} +16 -8
- package/lib/chunks/B1SaPsRu.js.map +1 -0
- package/lib/chunks/{D4JDuI0s.js → B4dVznPx.js} +1 -8
- package/lib/chunks/B4dVznPx.js.map +1 -0
- package/lib/chunks/{DwzPrR90.js → B8GKehTJ.js} +10 -8
- package/lib/chunks/B8GKehTJ.js.map +1 -0
- package/lib/chunks/{C41opZKx.js → BhXv58eE.js} +23 -14
- package/lib/chunks/BhXv58eE.js.map +1 -0
- package/lib/chunks/{Dz-up1_i.js → BhfdqXGU.js} +10 -8
- package/lib/chunks/BhfdqXGU.js.map +1 -0
- package/lib/chunks/{CJFZbm_i.js → Bk2bIVfG.js} +25 -13
- package/lib/chunks/Bk2bIVfG.js.map +1 -0
- package/lib/chunks/{DlNFp5e-.js → C1vi1h_N.js} +13 -11
- package/lib/chunks/C1vi1h_N.js.map +1 -0
- package/lib/chunks/{DYBe70El.js → CEQZr1q6.js} +20 -11
- package/lib/chunks/CEQZr1q6.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/{BRGc8bUJ.js → Cb_akueu.js} +16 -13
- package/lib/chunks/Cb_akueu.js.map +1 -0
- package/lib/chunks/{BJPdcix1.js → Cc_DPp3S.js} +8 -6
- package/lib/chunks/Cc_DPp3S.js.map +1 -0
- package/lib/chunks/{BjTPjWi9.js → Cr5VTUbs.js} +10 -8
- package/lib/chunks/Cr5VTUbs.js.map +1 -0
- package/lib/chunks/{j8JzZ-07.js → D-hmgVVF.js} +13 -11
- package/lib/chunks/D-hmgVVF.js.map +1 -0
- package/lib/chunks/{BpAvqwr_.js → D-v-Wqj4.js} +25 -13
- package/lib/chunks/D-v-Wqj4.js.map +1 -0
- package/lib/chunks/{BbI7XKMd.js → D0hJ3P6L.js} +5 -3
- package/lib/chunks/D0hJ3P6L.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/{CuODT2-U.js → XQWZfDOm.js} +7 -5
- package/lib/chunks/XQWZfDOm.js.map +1 -0
- package/lib/chunks/{MOjUZ-Rj.js → eKXSEOkn.js} +7 -5
- package/lib/chunks/eKXSEOkn.js.map +1 -0
- package/lib/chunks/{DGV7a5Xo.js → edcDjaO2.js} +7 -5
- package/lib/chunks/edcDjaO2.js.map +1 -0
- package/lib/chunks/{BO8FwQoh.js → n2IZFQjR.js} +10 -8
- package/lib/chunks/n2IZFQjR.js.map +1 -0
- package/lib/chunks/{M0cBUV91.js → zY4Qxi9x.js} +8 -6
- package/lib/chunks/zY4Qxi9x.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 +191 -292
- package/src/components/BryntumCalendarEditorProps.ts +123 -177
- package/src/components/BryntumCalendarField.vue +172 -260
- package/src/components/BryntumCalendarFieldProps.ts +96 -143
- package/src/components/BryntumConstraintTypePicker.vue +172 -260
- package/src/components/BryntumConstraintTypePickerProps.ts +96 -143
- package/src/components/BryntumCostAccrualField.vue +172 -260
- package/src/components/BryntumCostAccrualFieldProps.ts +96 -143
- package/src/components/BryntumDependencyTypePicker.vue +172 -260
- package/src/components/BryntumDependencyTypePickerProps.ts +96 -143
- package/src/components/BryntumEffortField.vue +153 -224
- package/src/components/BryntumEffortFieldProps.ts +82 -114
- package/src/components/BryntumEndDateField.vue +159 -228
- package/src/components/BryntumEndDateFieldProps.ts +84 -114
- package/src/components/BryntumModelCombo.vue +172 -260
- package/src/components/BryntumModelComboProps.ts +96 -143
- package/src/components/BryntumRateTableField.vue +172 -260
- package/src/components/BryntumRateTableFieldProps.ts +96 -143
- package/src/components/BryntumResourceEditor.vue +190 -290
- package/src/components/BryntumResourceEditorProps.ts +122 -175
- package/src/components/BryntumResourceGrid.vue +730 -1045
- package/src/components/BryntumResourceGridProps.ts +192 -263
- package/src/components/BryntumResourceHistogram.vue +1098 -1539
- package/src/components/BryntumResourceHistogramProps.ts +292 -402
- package/src/components/BryntumResourceTypeField.vue +172 -260
- package/src/components/BryntumResourceTypeFieldProps.ts +96 -143
- package/src/components/BryntumResourceUtilization.vue +1114 -1561
- package/src/components/BryntumResourceUtilizationProps.ts +293 -404
- package/src/components/BryntumSchedulerPro.vue +2099 -2820
- package/src/components/BryntumSchedulerProBase.vue +2099 -2820
- package/src/components/BryntumSchedulerProBaseProps.ts +413 -556
- package/src/components/BryntumSchedulerProProjectModel.vue +192 -289
- package/src/components/BryntumSchedulerProProjectModelProps.ts +59 -88
- package/src/components/BryntumSchedulerProProps.ts +413 -556
- package/src/components/BryntumSchedulingDirectionPicker.vue +172 -260
- package/src/components/BryntumSchedulingDirectionPickerProps.ts +96 -143
- package/src/components/BryntumSchedulingModePicker.vue +173 -262
- package/src/components/BryntumSchedulingModePickerProps.ts +97 -145
- package/src/components/BryntumStartDateField.vue +161 -232
- package/src/components/BryntumStartDateFieldProps.ts +86 -118
- package/src/components/BryntumThemeCombo.vue +60 -0
- package/src/components/BryntumTimeline.vue +1846 -2517
- package/src/components/BryntumTimelineProps.ts +371 -519
- package/src/components/BryntumVersionGrid.vue +727 -1050
- 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 { ConstraintTypePickerListeners, SchedulerProContainerItemConfig } from '@bryntum/schedulerpro-thin';
|
|
15
15
|
import { ConstraintTypePicker } 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/ConstraintTypePicker#config-adopt)
|
|
24
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#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/ConstraintTypePicker#config-align)
|
|
29
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#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/ConstraintTypePicker#config-ariaDescription)
|
|
51
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#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/ConstraintTypePicker#config-ariaLabel)
|
|
57
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#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/ConstraintTypePicker#config-bubbleEvents)
|
|
80
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#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/ConstraintTypePicker#config-cacheLastResult)
|
|
85
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#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/ConstraintTypePicker#config-callOnFunctions)
|
|
90
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#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/ConstraintTypePicker#config-catchEventHandlerExceptions)
|
|
100
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-catchEventHandlerExceptions)
|
|
109
101
|
*/
|
|
110
102
|
catchEventHandlerExceptions ? : Boolean
|
|
111
103
|
/**
|
|
@@ -113,11 +105,19 @@ defineProps<{
|
|
|
113
105
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
114
106
|
*/
|
|
115
107
|
centered ? : Boolean
|
|
108
|
+
/**
|
|
109
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
110
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-isValid)
|
|
111
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-required) check.
|
|
112
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-checkValidity)
|
|
113
|
+
* @param {Core.widget.Field} field The field being validated
|
|
114
|
+
* @returns {void}
|
|
115
|
+
*/
|
|
116
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
116
117
|
/**
|
|
117
118
|
* A config object to configure the [ChipView](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/ChipView) to display the
|
|
118
119
|
* 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/ConstraintTypePicker#config-chipView)
|
|
120
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-chipView)
|
|
121
121
|
*/
|
|
122
122
|
chipView ? : ChipViewConfig
|
|
123
123
|
/**
|
|
@@ -142,15 +142,13 @@ defineProps<{
|
|
|
142
142
|
* Custom CSS classes to add to element.
|
|
143
143
|
* May be specified as a space separated string, or as an object in which property names
|
|
144
144
|
* with truthy values are used as the class names:
|
|
145
|
-
* ...
|
|
146
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-cls)
|
|
145
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-cls)
|
|
147
146
|
*/
|
|
148
147
|
cls ? : string|object
|
|
149
148
|
/**
|
|
150
149
|
* Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
|
|
151
150
|
* `style` block.
|
|
152
|
-
* ...
|
|
153
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-color)
|
|
151
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-color)
|
|
154
152
|
*/
|
|
155
153
|
color ? : Color
|
|
156
154
|
/**
|
|
@@ -167,15 +165,13 @@ defineProps<{
|
|
|
167
165
|
* The configuration for additional items associated to this field. This is typically used to add contextual
|
|
168
166
|
* fields related to a [checkbox](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Checkbox) or [radio button](#Core/widget/Radio). See
|
|
169
167
|
* these classes for examples of nested fields.
|
|
170
|
-
* ...
|
|
171
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-container)
|
|
168
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-container)
|
|
172
169
|
*/
|
|
173
|
-
container ? : Record<string, SchedulerProContainerItemConfig>|SchedulerProContainerItemConfig[]|FieldContainerConfig
|
|
170
|
+
container ? : Record<string, SchedulerProContainerItemConfig>|SchedulerProContainerItemConfig[]|FieldContainerConfig
|
|
174
171
|
/**
|
|
175
172
|
* The config controls how the value of nested items are handled when a parent container gets or sets its
|
|
176
173
|
* [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/ConstraintTypePicker#config-containValues)
|
|
174
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-containValues)
|
|
179
175
|
* @param {Core.widget.Field} field Field instance
|
|
180
176
|
* @returns {boolean}
|
|
181
177
|
*/
|
|
@@ -184,16 +180,14 @@ defineProps<{
|
|
|
184
180
|
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement).
|
|
185
181
|
* May be specified as a space separated string, or as an object in which property names
|
|
186
182
|
* with truthy values are used as the class names:
|
|
187
|
-
* ...
|
|
188
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-contentElementCls)
|
|
183
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-contentElementCls)
|
|
189
184
|
*/
|
|
190
185
|
contentElementCls ? : string|object
|
|
191
186
|
/**
|
|
192
187
|
* If configured as `true`, this means that when an unmatched string is typed into the
|
|
193
188
|
* 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
189
|
* 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/ConstraintTypePicker#config-createOnUnmatched)
|
|
190
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-createOnUnmatched)
|
|
197
191
|
* @param {string} name Record name
|
|
198
192
|
* @param {Core.widget.Combo} combo Combo instance
|
|
199
193
|
* @returns {Core.data.Model} New record
|
|
@@ -214,16 +208,15 @@ defineProps<{
|
|
|
214
208
|
*/
|
|
215
209
|
defaultBindProperty ? : string
|
|
216
210
|
/**
|
|
217
|
-
* Check for CSS compatibility issues
|
|
218
|
-
*
|
|
219
|
-
* [
|
|
211
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
212
|
+
* checks:
|
|
213
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-detectCSSCompatibilityIssues)
|
|
220
214
|
*/
|
|
221
215
|
detectCSSCompatibilityIssues ? : Boolean
|
|
222
216
|
/**
|
|
223
217
|
* 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
218
|
* 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/ConstraintTypePicker#config-disabled)
|
|
219
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-disabled)
|
|
227
220
|
*/
|
|
228
221
|
disabled ? : Boolean|'inert'
|
|
229
222
|
/**
|
|
@@ -236,26 +229,23 @@ defineProps<{
|
|
|
236
229
|
* @param {Core.widget.Combo} combo A reference to this Combo
|
|
237
230
|
* @returns {string,void}
|
|
238
231
|
*/
|
|
239
|
-
displayValueRenderer ? : (record: Model
|
|
232
|
+
displayValueRenderer ? : (record: Model, combo: Combo) => string|void
|
|
240
233
|
/**
|
|
241
234
|
* 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
235
|
* [strips collection](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
243
236
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
244
237
|
* body. Such widgets are called "edge strips".
|
|
245
|
-
* ...
|
|
246
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-dock)
|
|
238
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-dock)
|
|
247
239
|
*/
|
|
248
240
|
dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
249
241
|
/**
|
|
250
242
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
|
|
251
243
|
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
252
244
|
* property which controls when a drag should start.
|
|
253
|
-
* ...
|
|
254
|
-
*
|
|
245
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-draggable)
|
|
246
|
+
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
255
247
|
*/
|
|
256
|
-
draggable ? : Boolean|
|
|
257
|
-
handleSelector?: string
|
|
258
|
-
}
|
|
248
|
+
draggable ? : Boolean|object
|
|
259
249
|
/**
|
|
260
250
|
* User can edit text in text field (otherwise only pick from attached picker)
|
|
261
251
|
*/
|
|
@@ -263,21 +253,18 @@ defineProps<{
|
|
|
263
253
|
/**
|
|
264
254
|
* An object specifying attributes to assign to the root element of this widget.
|
|
265
255
|
* Set `null` value to attribute to remove it.
|
|
266
|
-
* ...
|
|
267
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-elementAttributes)
|
|
256
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-elementAttributes)
|
|
268
257
|
*/
|
|
269
258
|
elementAttributes ? : Record<string, string|null>
|
|
270
259
|
/**
|
|
271
260
|
* 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/ConstraintTypePicker#config-emptyText)
|
|
261
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-emptyText)
|
|
274
262
|
*/
|
|
275
263
|
emptyText ? : string
|
|
276
264
|
/**
|
|
277
265
|
* 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
266
|
* any filters to the server upon load.
|
|
279
|
-
* ...
|
|
280
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-encodeFilterParams)
|
|
267
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-encodeFilterParams)
|
|
281
268
|
* @param {object[]} filters filters
|
|
282
269
|
* @returns {object[]} array of values
|
|
283
270
|
*/
|
|
@@ -291,8 +278,7 @@ defineProps<{
|
|
|
291
278
|
/**
|
|
292
279
|
* The name of an operator type as implemented in [operator](https://bryntum.com/products/schedulerpro/docs/api/Core/util/CollectionFilter#config-operator)
|
|
293
280
|
* 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/ConstraintTypePicker#config-filterOperator)
|
|
281
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-filterOperator)
|
|
296
282
|
*/
|
|
297
283
|
filterOperator ? : CollectionCompareOperator
|
|
298
284
|
/**
|
|
@@ -333,8 +319,7 @@ defineProps<{
|
|
|
333
319
|
hidden ? : Boolean
|
|
334
320
|
/**
|
|
335
321
|
* *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/ConstraintTypePicker#config-hideAnimation)
|
|
322
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-hideAnimation)
|
|
338
323
|
*/
|
|
339
324
|
hideAnimation ? : Boolean|object
|
|
340
325
|
/**
|
|
@@ -355,8 +340,7 @@ defineProps<{
|
|
|
355
340
|
/**
|
|
356
341
|
* An optional string to display inside the input field as an overlay. This can be useful for displaying
|
|
357
342
|
* a field's units.
|
|
358
|
-
* ...
|
|
359
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-hint)
|
|
343
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-hint)
|
|
360
344
|
* @param {object} data A data object
|
|
361
345
|
* @param {Core.widget.Field} data.source A reference to the field instance
|
|
362
346
|
* @param {any} data.value The current value of the field
|
|
@@ -367,8 +351,7 @@ defineProps<{
|
|
|
367
351
|
* 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
352
|
* Since this can allow malicious content to be executed, be sure not to include user-entered data or to
|
|
369
353
|
* 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/ConstraintTypePicker#config-hintHtml)
|
|
354
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-hintHtml)
|
|
372
355
|
* @param {object} data A data object
|
|
373
356
|
* @param {Core.widget.Field} data.source A reference to the field instance
|
|
374
357
|
* @param {any} data.value The current value of the field
|
|
@@ -381,23 +364,20 @@ defineProps<{
|
|
|
381
364
|
id ? : string
|
|
382
365
|
/**
|
|
383
366
|
* 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/ConstraintTypePicker#config-ignoreParentReadOnly)
|
|
367
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-ignoreParentReadOnly)
|
|
386
368
|
*/
|
|
387
369
|
ignoreParentReadOnly ? : Boolean
|
|
388
370
|
/**
|
|
389
371
|
* Set this config to `true` to always display items horizontally along with this field. This assigns an
|
|
390
372
|
* [hbox](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/layout/Box) as the [layout](#Core/widget/Container#config-layout) to the
|
|
391
373
|
* [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/ConstraintTypePicker#config-inline)
|
|
374
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-inline)
|
|
394
375
|
*/
|
|
395
376
|
inline ? : Boolean
|
|
396
377
|
/**
|
|
397
378
|
* Configure this as `true` to render the dropdown list as a permanently visible list
|
|
398
379
|
* 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/ConstraintTypePicker#config-inlinePicker)
|
|
380
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-inlinePicker)
|
|
401
381
|
*/
|
|
402
382
|
inlinePicker ? : Boolean
|
|
403
383
|
/**
|
|
@@ -435,30 +415,26 @@ defineProps<{
|
|
|
435
415
|
insertFirst ? : HTMLElement|string
|
|
436
416
|
/**
|
|
437
417
|
* Rows to display in the dropdown (list items).
|
|
438
|
-
* ...
|
|
439
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-items)
|
|
418
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-items)
|
|
440
419
|
*/
|
|
441
420
|
items ? : object[]|string[]|object
|
|
442
421
|
/**
|
|
443
422
|
* An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
|
|
444
423
|
* and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
|
|
445
424
|
* 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/ConstraintTypePicker#config-keyMap)
|
|
425
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-keyMap)
|
|
448
426
|
*/
|
|
449
427
|
keyMap ? : Record<string, KeyMapConfig>
|
|
450
428
|
/**
|
|
451
429
|
* The delay in milliseconds to wait after the last keystroke before triggering a change event.
|
|
452
430
|
* Set to 0 to not trigger change events from keystrokes (listen for input event instead to have
|
|
453
431
|
* immediate feedback, change will still be triggered on blur).
|
|
454
|
-
* ...
|
|
455
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-keyStrokeChangeDelay)
|
|
432
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-keyStrokeChangeDelay)
|
|
456
433
|
*/
|
|
457
434
|
keyStrokeChangeDelay ? : number
|
|
458
435
|
/**
|
|
459
436
|
* 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/ConstraintTypePicker#config-keyStrokeFilterDelay)
|
|
437
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-keyStrokeFilterDelay)
|
|
462
438
|
*/
|
|
463
439
|
keyStrokeFilterDelay ? : number
|
|
464
440
|
/**
|
|
@@ -471,15 +447,15 @@ defineProps<{
|
|
|
471
447
|
labelCls ? : string|object
|
|
472
448
|
/**
|
|
473
449
|
* Label position, either 'before' the field or 'above' the field
|
|
474
|
-
* ...
|
|
475
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-labelPosition)
|
|
450
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-labelPosition)
|
|
476
451
|
*/
|
|
477
452
|
labelPosition ? : 'before'|'above'|null
|
|
478
453
|
/**
|
|
479
454
|
* The labels to add either before or after the input field.
|
|
480
455
|
* Each label may have the following properties:
|
|
481
|
-
* ...
|
|
482
|
-
*
|
|
456
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-labels)
|
|
457
|
+
* @property {string} html Label text
|
|
458
|
+
* @property {'start','end'} align Which end of the file the label should go
|
|
483
459
|
*/
|
|
484
460
|
labels ? : object[]
|
|
485
461
|
/**
|
|
@@ -492,24 +468,21 @@ defineProps<{
|
|
|
492
468
|
listCls ? : string
|
|
493
469
|
/**
|
|
494
470
|
* The listener set for this object.
|
|
495
|
-
* ...
|
|
496
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-listeners)
|
|
471
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-listeners)
|
|
497
472
|
*/
|
|
498
473
|
listeners ? : ConstraintTypePickerListeners
|
|
499
474
|
/**
|
|
500
475
|
* 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/ConstraintTypePicker#config-listItemTpl)
|
|
476
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-listItemTpl)
|
|
503
477
|
* @param {Core.data.Model} record The record representing the item being rendered
|
|
504
478
|
* @returns {string,void}
|
|
505
479
|
*/
|
|
506
|
-
listItemTpl ? : (record: Model
|
|
480
|
+
listItemTpl ? : (record: Model) => string|void
|
|
507
481
|
/**
|
|
508
482
|
* A class translations of which are used for translating this entity.
|
|
509
483
|
* This is often used when translations of an item are defined on its container class.
|
|
510
484
|
* For example:
|
|
511
|
-
* ...
|
|
512
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-localeClass)
|
|
485
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-localeClass)
|
|
513
486
|
*/
|
|
514
487
|
localeClass ? : typeof Base
|
|
515
488
|
/**
|
|
@@ -521,8 +494,7 @@ defineProps<{
|
|
|
521
494
|
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
522
495
|
* you could use 'localeKey' meta configuration.
|
|
523
496
|
* Example:
|
|
524
|
-
* ...
|
|
525
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-localizableProperties)
|
|
497
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-localizableProperties)
|
|
526
498
|
*/
|
|
527
499
|
localizableProperties ? : string[]
|
|
528
500
|
/**
|
|
@@ -548,8 +520,7 @@ defineProps<{
|
|
|
548
520
|
maxHeight ? : string|number
|
|
549
521
|
/**
|
|
550
522
|
* *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/ConstraintTypePicker#config-maximizeOnMobile)
|
|
523
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-maximizeOnMobile)
|
|
553
524
|
*/
|
|
554
525
|
maximizeOnMobile ? : number|string
|
|
555
526
|
/**
|
|
@@ -563,8 +534,7 @@ defineProps<{
|
|
|
563
534
|
maxWidth ? : string|number
|
|
564
535
|
/**
|
|
565
536
|
* 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/ConstraintTypePicker#config-minChars)
|
|
537
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-minChars)
|
|
568
538
|
*/
|
|
569
539
|
minChars ? : number
|
|
570
540
|
/**
|
|
@@ -585,16 +555,13 @@ defineProps<{
|
|
|
585
555
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
586
556
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
587
557
|
* layout.
|
|
588
|
-
* ...
|
|
589
|
-
*
|
|
558
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-monitorResize)
|
|
559
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
590
560
|
*/
|
|
591
|
-
monitorResize ? : Boolean|
|
|
592
|
-
immediate?: Boolean
|
|
593
|
-
}
|
|
561
|
+
monitorResize ? : Boolean|object
|
|
594
562
|
/**
|
|
595
563
|
* 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/ConstraintTypePicker#config-multiSelect)
|
|
564
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-multiSelect)
|
|
598
565
|
*/
|
|
599
566
|
multiSelect ? : Boolean
|
|
600
567
|
/**
|
|
@@ -607,8 +574,7 @@ defineProps<{
|
|
|
607
574
|
* Name of the field which is used as a key to get/set values from/to the field.
|
|
608
575
|
* 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
576
|
* [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/ConstraintTypePicker#config-name)
|
|
577
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-name)
|
|
612
578
|
*/
|
|
613
579
|
name ? : string
|
|
614
580
|
/**
|
|
@@ -619,10 +585,9 @@ defineProps<{
|
|
|
619
585
|
/**
|
|
620
586
|
* Configuration object for the [picker](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/List) on initialization. Returns the
|
|
621
587
|
* [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/ConstraintTypePicker#config-picker)
|
|
588
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-picker)
|
|
624
589
|
*/
|
|
625
|
-
picker ? : ListConfig
|
|
590
|
+
picker ? : ListConfig
|
|
626
591
|
/**
|
|
627
592
|
* The name of the element property to which the picker should size and align itself.
|
|
628
593
|
*/
|
|
@@ -639,8 +604,7 @@ defineProps<{
|
|
|
639
604
|
* 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
605
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
641
606
|
* 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/ConstraintTypePicker#config-positioned)
|
|
607
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-positioned)
|
|
644
608
|
*/
|
|
645
609
|
positioned ? : Boolean
|
|
646
610
|
/**
|
|
@@ -652,22 +616,19 @@ defineProps<{
|
|
|
652
616
|
* Optionally a [Filter](https://bryntum.com/products/schedulerpro/docs/api/Core/util/CollectionFilter) config object which the combo should use for
|
|
653
617
|
* filtering using the typed value.
|
|
654
618
|
* 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/ConstraintTypePicker#config-primaryFilter)
|
|
619
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-primaryFilter)
|
|
657
620
|
*/
|
|
658
621
|
primaryFilter ? : CollectionFilterConfig
|
|
659
622
|
/**
|
|
660
623
|
* Makes the field unmodifiable by user action. The input area is not editable, and triggers
|
|
661
624
|
* are unresponsive.
|
|
662
|
-
* ...
|
|
663
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-readOnly)
|
|
625
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-readOnly)
|
|
664
626
|
*/
|
|
665
627
|
readOnly ? : Boolean
|
|
666
628
|
relayStoreEvents ? : Boolean
|
|
667
629
|
/**
|
|
668
630
|
* Predefined style to use for the field. Possible values are:
|
|
669
|
-
* ...
|
|
670
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-rendition)
|
|
631
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-rendition)
|
|
671
632
|
*/
|
|
672
633
|
rendition ? : 'outlined'|'filled'|string
|
|
673
634
|
/**
|
|
@@ -686,23 +647,26 @@ defineProps<{
|
|
|
686
647
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
687
648
|
* [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
649
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
689
|
-
* ...
|
|
690
|
-
* [
|
|
650
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-ripple)
|
|
651
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
652
|
+
* @property {string} [color] A CSS color name or specification.
|
|
653
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
654
|
+
* @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.
|
|
655
|
+
*/
|
|
656
|
+
ripple ? : Boolean|object
|
|
657
|
+
/**
|
|
658
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
659
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
660
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-role)
|
|
691
661
|
*/
|
|
692
|
-
|
|
693
|
-
delegate?: string
|
|
694
|
-
color?: string
|
|
695
|
-
radius?: number
|
|
696
|
-
clip?: string
|
|
697
|
-
}
|
|
662
|
+
role ? : string
|
|
698
663
|
/**
|
|
699
664
|
* 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
665
|
*/
|
|
701
666
|
rootElement ? : ShadowRoot|HTMLElement
|
|
702
667
|
/**
|
|
703
668
|
* 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/ConstraintTypePicker#config-rtl)
|
|
669
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-rtl)
|
|
706
670
|
*/
|
|
707
671
|
rtl ? : Boolean
|
|
708
672
|
/**
|
|
@@ -712,8 +676,7 @@ defineProps<{
|
|
|
712
676
|
scrollAction ? : 'hide'|'realign'|null
|
|
713
677
|
/**
|
|
714
678
|
* *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/ConstraintTypePicker#config-showAnimation)
|
|
679
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-showAnimation)
|
|
717
680
|
*/
|
|
718
681
|
showAnimation ? : Boolean|object
|
|
719
682
|
/**
|
|
@@ -746,8 +709,7 @@ defineProps<{
|
|
|
746
709
|
* 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
710
|
* [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
711
|
* this widget:
|
|
749
|
-
* ...
|
|
750
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-tab)
|
|
712
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-tab)
|
|
751
713
|
*/
|
|
752
714
|
tab ? : Boolean|TabConfig
|
|
753
715
|
/**
|
|
@@ -755,14 +717,12 @@ defineProps<{
|
|
|
755
717
|
* is equivalent to natural tab order, but is unnecessary for fields since they are naturally tabbable
|
|
756
718
|
* (i.e., accessible via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set
|
|
757
719
|
* to the element programmatically.
|
|
758
|
-
* ...
|
|
759
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-tabIndex)
|
|
720
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-tabIndex)
|
|
760
721
|
*/
|
|
761
722
|
tabIndex ? : number
|
|
762
723
|
/**
|
|
763
724
|
* 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/ConstraintTypePicker#config-textAlign)
|
|
725
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-textAlign)
|
|
766
726
|
*/
|
|
767
727
|
textAlign ? : 'left'|'center'|'right'|'start'|'end'
|
|
768
728
|
/**
|
|
@@ -771,30 +731,26 @@ defineProps<{
|
|
|
771
731
|
title ? : string
|
|
772
732
|
/**
|
|
773
733
|
* 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/ConstraintTypePicker#config-tooltip)
|
|
734
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-tooltip)
|
|
776
735
|
*/
|
|
777
736
|
tooltip ? : string|TooltipConfig|null
|
|
778
737
|
/**
|
|
779
738
|
* 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/ConstraintTypePicker#config-triggerAction)
|
|
739
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-triggerAction)
|
|
782
740
|
*/
|
|
783
741
|
triggerAction ? : 'all'|'last'|null
|
|
784
742
|
/**
|
|
785
743
|
* The triggers to add either before or after the input field. Each property name is the reference by which
|
|
786
744
|
* 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/ConstraintTypePicker#config-triggers)
|
|
745
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-triggers)
|
|
789
746
|
*/
|
|
790
|
-
triggers ? : Record<string, FieldTriggerConfig
|
|
747
|
+
triggers ? : Record<string, FieldTriggerConfig>
|
|
791
748
|
type ? : 'constrainttypepicker'
|
|
792
749
|
/**
|
|
793
750
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
794
751
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
795
752
|
* values are used as the class names.
|
|
796
|
-
* ...
|
|
797
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-ui)
|
|
753
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-ui)
|
|
798
754
|
*/
|
|
799
755
|
ui ? : string|object
|
|
800
756
|
/**
|
|
@@ -814,8 +770,7 @@ defineProps<{
|
|
|
814
770
|
/**
|
|
815
771
|
* Field used for item value when populating from store. Setting this to `null` will
|
|
816
772
|
* 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/ConstraintTypePicker#config-valueField)
|
|
773
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-valueField)
|
|
819
774
|
*/
|
|
820
775
|
valueField ? : string|null
|
|
821
776
|
/**
|
|
@@ -831,14 +786,12 @@ defineProps<{
|
|
|
831
786
|
width ? : string|number
|
|
832
787
|
/**
|
|
833
788
|
* The x position for the widget.
|
|
834
|
-
* ...
|
|
835
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-x)
|
|
789
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-x)
|
|
836
790
|
*/
|
|
837
791
|
x ? : number
|
|
838
792
|
/**
|
|
839
793
|
* The y position for the widget.
|
|
840
|
-
* ...
|
|
841
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-y)
|
|
794
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#config-y)
|
|
842
795
|
*/
|
|
843
796
|
y ? : number
|
|
844
797
|
|
|
@@ -849,120 +802,98 @@ const emit = defineEmits<{
|
|
|
849
802
|
* The default action was performed (an item in the list was selected)
|
|
850
803
|
* @param {string} e Event name
|
|
851
804
|
* @param {object} params Event parameters
|
|
852
|
-
* @param {
|
|
853
|
-
* @param {
|
|
854
|
-
* @param {
|
|
855
|
-
* @param {Core.
|
|
856
|
-
* @param {
|
|
857
|
-
* @param {
|
|
858
|
-
* @param {Core.data.Model[]} params.params.event.records Selected records as an array if [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) is `true`
|
|
859
|
-
* @param {boolean} params.params.event.userAction `true` if the value change is due to user interaction
|
|
805
|
+
* @param {object} params.event Event object
|
|
806
|
+
* @param {Core.widget.Combo} params.event.source The combo
|
|
807
|
+
* @param {any} params.event.value The [value](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-valueField) of the selected record
|
|
808
|
+
* @param {Core.data.Model} params.event.record Selected record
|
|
809
|
+
* @param {Core.data.Model[]} params.event.records Selected records as an array if [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) is `true`
|
|
810
|
+
* @param {boolean} params.event.userAction `true` if the value change is due to user interaction
|
|
860
811
|
*/
|
|
861
812
|
(e: 'action', params: ((event: { source: Combo, value: any, record: Model, records: Model[], userAction: boolean }) => void)|string): void
|
|
862
813
|
/**
|
|
863
814
|
* Fires before an object is destroyed.
|
|
864
815
|
* @param {string} e Event name
|
|
865
816
|
* @param {object} params Event parameters
|
|
866
|
-
* @param {
|
|
867
|
-
* @param {
|
|
868
|
-
* @param {object} params.params.event Event object
|
|
869
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
817
|
+
* @param {object} params.event Event object
|
|
818
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
870
819
|
*/
|
|
871
820
|
(e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
|
|
872
821
|
/**
|
|
873
822
|
* Triggered before a widget is hidden. Return `false` to prevent the action.
|
|
874
823
|
* @param {string} e Event name
|
|
875
824
|
* @param {object} params Event parameters
|
|
876
|
-
* @param {
|
|
877
|
-
* @param {
|
|
878
|
-
* @param {object} params.params.event Event object
|
|
879
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being hidden.
|
|
825
|
+
* @param {object} params.event Event object
|
|
826
|
+
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
880
827
|
*/
|
|
881
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
828
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
882
829
|
/**
|
|
883
830
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
884
831
|
* @param {string} e Event name
|
|
885
832
|
* @param {object} params Event parameters
|
|
886
|
-
* @param {
|
|
887
|
-
* @param {
|
|
888
|
-
* @param {object} params.params.event Event object
|
|
889
|
-
* @param {Core.widget.Widget,any} params.params.event.source The widget being shown
|
|
833
|
+
* @param {object} params.event Event object
|
|
834
|
+
* @param {Core.widget.Widget,any} params.event.source The widget being shown
|
|
890
835
|
*/
|
|
891
836
|
(e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
892
837
|
/**
|
|
893
838
|
* Fires when any other event is fired from the object.
|
|
894
|
-
* ...
|
|
895
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#event-catchAll)
|
|
839
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#event-catchAll)
|
|
896
840
|
* @param {string} e Event name
|
|
897
841
|
* @param {object} params Event parameters
|
|
898
|
-
* @param {
|
|
899
|
-
* @param {
|
|
900
|
-
* @param {
|
|
901
|
-
* @param {{[key: string]: any, type: string}} params.params.event.event The Object that contains event details
|
|
902
|
-
* @param {string} params.params.event.event.type The type of the event which is caught by the listener
|
|
842
|
+
* @param {object} params.event Event object
|
|
843
|
+
* @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details
|
|
844
|
+
* @param {string} params.event.event.type The type of the event which is caught by the listener
|
|
903
845
|
*/
|
|
904
846
|
(e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
|
|
905
847
|
/**
|
|
906
848
|
* Fired when this field's value changes.
|
|
907
849
|
* @param {string} e Event name
|
|
908
850
|
* @param {object} params Event parameters
|
|
909
|
-
* @param {
|
|
910
|
-
* @param {
|
|
911
|
-
* @param {
|
|
912
|
-
* @param {
|
|
913
|
-
* @param {
|
|
914
|
-
* @param {
|
|
915
|
-
* @param {boolean} params.
|
|
916
|
-
* @param {
|
|
917
|
-
* @param {boolean} params.params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
918
|
-
* @param {boolean} params.params.event.checked
|
|
851
|
+
* @param {object} params.event Event object
|
|
852
|
+
* @param {Core.widget.Field,any} params.event.source This Field
|
|
853
|
+
* @param {string,number,boolean,any} params.event.value This field's value
|
|
854
|
+
* @param {string,number,boolean,any} params.event.oldValue This field's previous value
|
|
855
|
+
* @param {boolean} params.event.valid True if this field is in a valid state
|
|
856
|
+
* @param {Event} params.event.event The triggering DOM event if any
|
|
857
|
+
* @param {boolean} params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
858
|
+
* @param {boolean} params.event.checked
|
|
919
859
|
*/
|
|
920
860
|
(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
861
|
/**
|
|
922
862
|
* 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/ConstraintTypePicker#event-clear)
|
|
863
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#event-clear)
|
|
925
864
|
* @param {string} e Event name
|
|
926
865
|
* @param {object} params Event parameters
|
|
927
|
-
* @param {
|
|
928
|
-
* @param {
|
|
929
|
-
* @param {object} params.params.event Event object
|
|
930
|
-
* @param {Core.widget.Field,any} params.params.event.source This Field
|
|
866
|
+
* @param {object} params.event Event object
|
|
867
|
+
* @param {Core.widget.Field,any} params.event.source This Field
|
|
931
868
|
*/
|
|
932
869
|
(e: 'clear', params: ((event: { source: Field|any }) => void)|string): void
|
|
933
870
|
/**
|
|
934
871
|
* Fires when an object is destroyed.
|
|
935
872
|
* @param {string} e Event name
|
|
936
873
|
* @param {object} params Event parameters
|
|
937
|
-
* @param {
|
|
938
|
-
* @param {
|
|
939
|
-
* @param {object} params.params.event Event object
|
|
940
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
874
|
+
* @param {object} params.event Event object
|
|
875
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
941
876
|
*/
|
|
942
877
|
(e: 'destroy', params: ((event: { source: Base }) => void)|string): void
|
|
943
878
|
/**
|
|
944
879
|
* Triggered when a widget's [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element) is available.
|
|
945
880
|
* @param {string} e Event name
|
|
946
881
|
* @param {object} params Event parameters
|
|
947
|
-
* @param {
|
|
948
|
-
* @param {
|
|
949
|
-
* @param {object} params.params.event Event object
|
|
950
|
-
* @param {HTMLElement} params.params.event.element The Widget's element.
|
|
882
|
+
* @param {object} params.event Event object
|
|
883
|
+
* @param {HTMLElement} params.event.element The Widget's element.
|
|
951
884
|
*/
|
|
952
885
|
(e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void
|
|
953
886
|
/**
|
|
954
887
|
* Fired when focus enters this Widget.
|
|
955
888
|
* @param {string} e Event name
|
|
956
889
|
* @param {object} params Event parameters
|
|
957
|
-
* @param {
|
|
958
|
-
* @param {
|
|
959
|
-
* @param {
|
|
960
|
-
* @param {
|
|
961
|
-
* @param {
|
|
962
|
-
* @param {
|
|
963
|
-
* @param {
|
|
964
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
965
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
890
|
+
* @param {object} params.event Event object
|
|
891
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
892
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
893
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
894
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
895
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
896
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
966
897
|
*/
|
|
967
898
|
(e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
968
899
|
/**
|
|
@@ -971,25 +902,21 @@ const emit = defineEmits<{
|
|
|
971
902
|
* will not trigger this event. This is when focus exits this widget completely.
|
|
972
903
|
* @param {string} e Event name
|
|
973
904
|
* @param {object} params Event parameters
|
|
974
|
-
* @param {
|
|
975
|
-
* @param {
|
|
976
|
-
* @param {
|
|
977
|
-
* @param {
|
|
978
|
-
* @param {
|
|
979
|
-
* @param {
|
|
980
|
-
* @param {
|
|
981
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
982
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
905
|
+
* @param {object} params.event Event object
|
|
906
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
907
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
908
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
909
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
910
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
911
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
983
912
|
*/
|
|
984
913
|
(e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
985
914
|
/**
|
|
986
915
|
* Triggered after a widget was hidden
|
|
987
916
|
* @param {string} e Event name
|
|
988
917
|
* @param {object} params Event parameters
|
|
989
|
-
* @param {
|
|
990
|
-
* @param {
|
|
991
|
-
* @param {object} params.params.event Event object
|
|
992
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
918
|
+
* @param {object} params.event Event object
|
|
919
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
993
920
|
*/
|
|
994
921
|
(e: 'hide', params: ((event: { source: Widget }) => void)|string): void
|
|
995
922
|
/**
|
|
@@ -997,36 +924,29 @@ const emit = defineEmits<{
|
|
|
997
924
|
* not the combos value
|
|
998
925
|
* @param {string} e Event name
|
|
999
926
|
* @param {object} params Event parameters
|
|
1000
|
-
* @param {
|
|
1001
|
-
* @param {
|
|
1002
|
-
* @param {
|
|
1003
|
-
* @param {
|
|
1004
|
-
* @param {string} params.params.event.value Raw input value
|
|
1005
|
-
* @param {Event} params.params.event.event The triggering DOM event if any.
|
|
927
|
+
* @param {object} params.event Event object
|
|
928
|
+
* @param {Core.widget.Combo} params.event.source The combo.
|
|
929
|
+
* @param {string} params.event.value Raw input value
|
|
930
|
+
* @param {Event} params.event.event The triggering DOM event if any.
|
|
1006
931
|
*/
|
|
1007
932
|
(e: 'input', params: ((event: { source: Combo, value: string, event: Event }) => void)|string): void
|
|
1008
933
|
/**
|
|
1009
934
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
1010
935
|
* achieves visibility.
|
|
1011
|
-
* ...
|
|
1012
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#event-paint)
|
|
936
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#event-paint)
|
|
1013
937
|
* @param {string} e Event name
|
|
1014
938
|
* @param {object} params Event parameters
|
|
1015
|
-
* @param {
|
|
1016
|
-
* @param {
|
|
1017
|
-
* @param {
|
|
1018
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being painted.
|
|
1019
|
-
* @param {boolean} params.params.event.firstPaint `true` if this is the first paint.
|
|
939
|
+
* @param {object} params.event Event object
|
|
940
|
+
* @param {Core.widget.Widget} params.event.source The widget being painted.
|
|
941
|
+
* @param {boolean} params.event.firstPaint `true` if this is the first paint.
|
|
1020
942
|
*/
|
|
1021
943
|
(e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void
|
|
1022
944
|
/**
|
|
1023
945
|
* Fired when a Widget's read only state is toggled
|
|
1024
946
|
* @param {string} e Event name
|
|
1025
947
|
* @param {object} params Event parameters
|
|
1026
|
-
* @param {
|
|
1027
|
-
* @param {
|
|
1028
|
-
* @param {object} params.params.event Event object
|
|
1029
|
-
* @param {boolean} params.params.event.readOnly Read only or not
|
|
948
|
+
* @param {object} params.event Event object
|
|
949
|
+
* @param {boolean} params.event.readOnly Read only or not
|
|
1030
950
|
*/
|
|
1031
951
|
(e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void
|
|
1032
952
|
/**
|
|
@@ -1038,48 +958,40 @@ const emit = defineEmits<{
|
|
|
1038
958
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
1039
959
|
* @param {string} e Event name
|
|
1040
960
|
* @param {object} params Event parameters
|
|
1041
|
-
* @param {
|
|
1042
|
-
* @param {
|
|
1043
|
-
* @param {
|
|
1044
|
-
* @param {
|
|
1045
|
-
* @param {number} params.
|
|
1046
|
-
* @param {number} params.
|
|
1047
|
-
* @param {number} params.params.event.oldWidth The old width
|
|
1048
|
-
* @param {number} params.params.event.oldHeight The old height
|
|
961
|
+
* @param {object} params.event Event object
|
|
962
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
963
|
+
* @param {number} params.event.width The new width
|
|
964
|
+
* @param {number} params.event.height The new height
|
|
965
|
+
* @param {number} params.event.oldWidth The old width
|
|
966
|
+
* @param {number} params.event.oldHeight The old height
|
|
1049
967
|
*/
|
|
1050
968
|
(e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
|
|
1051
969
|
/**
|
|
1052
970
|
* An item in the list was selected
|
|
1053
971
|
* @param {string} e Event name
|
|
1054
972
|
* @param {object} params Event parameters
|
|
1055
|
-
* @param {
|
|
1056
|
-
* @param {
|
|
1057
|
-
* @param {
|
|
1058
|
-
* @param {Core.
|
|
1059
|
-
* @param {
|
|
1060
|
-
* @param {Core.data.Model[]} params.params.event.records Selected records as an array if [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) is `true`
|
|
1061
|
-
* @param {boolean} params.params.event.userAction `true` if the value change is due to user interaction
|
|
973
|
+
* @param {object} params.event Event object
|
|
974
|
+
* @param {Core.widget.Combo} params.event.source The combo
|
|
975
|
+
* @param {Core.data.Model} params.event.record Selected record
|
|
976
|
+
* @param {Core.data.Model[]} params.event.records Selected records as an array if [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) is `true`
|
|
977
|
+
* @param {boolean} params.event.userAction `true` if the value change is due to user interaction
|
|
1062
978
|
*/
|
|
1063
979
|
(e: 'select', params: ((event: { source: Combo, record: Model, records: Model[], userAction: boolean }) => void)|string): void
|
|
1064
980
|
/**
|
|
1065
981
|
* Triggered after a widget is shown.
|
|
1066
982
|
* @param {string} e Event name
|
|
1067
983
|
* @param {object} params Event parameters
|
|
1068
|
-
* @param {
|
|
1069
|
-
* @param {
|
|
1070
|
-
* @param {object} params.params.event Event object
|
|
1071
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
984
|
+
* @param {object} params.event Event object
|
|
985
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
1072
986
|
*/
|
|
1073
987
|
(e: 'show', params: ((event: { source: Widget }) => void)|string): void
|
|
1074
988
|
/**
|
|
1075
989
|
* User clicked one of this field's [triggers](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-triggers)
|
|
1076
990
|
* @param {string} e Event name
|
|
1077
991
|
* @param {object} params Event parameters
|
|
1078
|
-
* @param {
|
|
1079
|
-
* @param {
|
|
1080
|
-
* @param {
|
|
1081
|
-
* @param {Core.widget.Field,any} params.params.event.source This field
|
|
1082
|
-
* @param {Core.widget.Widget} params.params.event.trigger The trigger activated by click or touch tap.
|
|
992
|
+
* @param {object} params.event Event object
|
|
993
|
+
* @param {Core.widget.Field,any} params.event.source This field
|
|
994
|
+
* @param {Core.widget.Widget} params.event.trigger The trigger activated by click or touch tap.
|
|
1083
995
|
*/
|
|
1084
996
|
(e: 'trigger', params: ((event: { source: Field|any, trigger: Widget }) => void)|string): void
|
|
1085
997
|
}>();
|
|
@@ -1101,6 +1013,7 @@ const widgetData = {
|
|
|
1101
1013
|
'cacheLastResult',
|
|
1102
1014
|
'caseSensitive',
|
|
1103
1015
|
'centered',
|
|
1016
|
+
'checkValidity',
|
|
1104
1017
|
'chipView',
|
|
1105
1018
|
'clearable',
|
|
1106
1019
|
'clearTextOnPickerHide',
|
|
@@ -1171,6 +1084,7 @@ const widgetData = {
|
|
|
1171
1084
|
'relayStoreEvents',
|
|
1172
1085
|
'revertOnEscape',
|
|
1173
1086
|
'ripple',
|
|
1087
|
+
'role',
|
|
1174
1088
|
'rootElement',
|
|
1175
1089
|
'scrollAction',
|
|
1176
1090
|
'showAnimation',
|
|
@@ -1254,9 +1168,7 @@ const widgetData = {
|
|
|
1254
1168
|
'y'
|
|
1255
1169
|
],
|
|
1256
1170
|
propertyNames : [
|
|
1257
|
-
'anchorSize',
|
|
1258
1171
|
'content',
|
|
1259
|
-
'focusVisible',
|
|
1260
1172
|
'formula',
|
|
1261
1173
|
'html',
|
|
1262
1174
|
'input',
|