@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 { SchedulerProContainerItemConfig, SchedulingModePickerListeners } from '@bryntum/schedulerpro-thin';
|
|
15
15
|
import { SchedulingModePicker } 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/SchedulingModePicker#config-adopt)
|
|
24
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#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/SchedulingModePicker#config-align)
|
|
29
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-align)
|
|
32
30
|
*/
|
|
33
31
|
align ? : AlignSpec|string
|
|
34
32
|
/**
|
|
@@ -40,8 +38,7 @@ defineProps<{
|
|
|
40
38
|
/**
|
|
41
39
|
* Specifies a list of allowed scheduling modes to be shown in the picker.
|
|
42
40
|
* Supports either a string of comma separated values:
|
|
43
|
-
* ...
|
|
44
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-allowedModes)
|
|
41
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-allowedModes)
|
|
45
42
|
*/
|
|
46
43
|
allowedModes ? : string|any[]
|
|
47
44
|
/**
|
|
@@ -57,15 +54,13 @@ defineProps<{
|
|
|
57
54
|
/**
|
|
58
55
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
|
|
59
56
|
* into an element which will be linked using the `aria-describedby` attribute.
|
|
60
|
-
* ...
|
|
61
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-ariaDescription)
|
|
57
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-ariaDescription)
|
|
62
58
|
*/
|
|
63
59
|
ariaDescription ? : string
|
|
64
60
|
/**
|
|
65
61
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
|
|
66
62
|
* the `aria-label` attribute.
|
|
67
|
-
* ...
|
|
68
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-ariaLabel)
|
|
63
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-ariaLabel)
|
|
69
64
|
*/
|
|
70
65
|
ariaLabel ? : string
|
|
71
66
|
/**
|
|
@@ -88,20 +83,17 @@ defineProps<{
|
|
|
88
83
|
/**
|
|
89
84
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
90
85
|
* hierarchy when triggered.
|
|
91
|
-
* ...
|
|
92
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-bubbleEvents)
|
|
86
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-bubbleEvents)
|
|
93
87
|
*/
|
|
94
88
|
bubbleEvents ? : object
|
|
95
89
|
/**
|
|
96
90
|
* Enable caching of the last retrieved result until the timeout is reached.
|
|
97
|
-
* ...
|
|
98
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-cacheLastResult)
|
|
91
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-cacheLastResult)
|
|
99
92
|
*/
|
|
100
93
|
cacheLastResult ? : number|string|Duration|DurationConfig
|
|
101
94
|
/**
|
|
102
95
|
* Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
|
|
103
|
-
* ...
|
|
104
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-callOnFunctions)
|
|
96
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-callOnFunctions)
|
|
105
97
|
*/
|
|
106
98
|
callOnFunctions ? : Boolean
|
|
107
99
|
/**
|
|
@@ -111,8 +103,7 @@ defineProps<{
|
|
|
111
103
|
/**
|
|
112
104
|
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
113
105
|
* application state is undefined. Code which follows the event handler will *not* be executed.
|
|
114
|
-
* ...
|
|
115
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-catchEventHandlerExceptions)
|
|
106
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-catchEventHandlerExceptions)
|
|
116
107
|
*/
|
|
117
108
|
catchEventHandlerExceptions ? : Boolean
|
|
118
109
|
/**
|
|
@@ -120,11 +111,19 @@ defineProps<{
|
|
|
120
111
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
121
112
|
*/
|
|
122
113
|
centered ? : Boolean
|
|
114
|
+
/**
|
|
115
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
116
|
+
* 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)
|
|
117
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-required) check.
|
|
118
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-checkValidity)
|
|
119
|
+
* @param {Core.widget.Field} field The field being validated
|
|
120
|
+
* @returns {void}
|
|
121
|
+
*/
|
|
122
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
123
123
|
/**
|
|
124
124
|
* A config object to configure the [ChipView](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/ChipView) to display the
|
|
125
125
|
* selected value set when [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
|
|
126
|
-
* ...
|
|
127
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-chipView)
|
|
126
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-chipView)
|
|
128
127
|
*/
|
|
129
128
|
chipView ? : ChipViewConfig
|
|
130
129
|
/**
|
|
@@ -149,15 +148,13 @@ defineProps<{
|
|
|
149
148
|
* Custom CSS classes to add to element.
|
|
150
149
|
* May be specified as a space separated string, or as an object in which property names
|
|
151
150
|
* with truthy values are used as the class names:
|
|
152
|
-
* ...
|
|
153
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-cls)
|
|
151
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-cls)
|
|
154
152
|
*/
|
|
155
153
|
cls ? : string|object
|
|
156
154
|
/**
|
|
157
155
|
* Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
|
|
158
156
|
* `style` block.
|
|
159
|
-
* ...
|
|
160
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-color)
|
|
157
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-color)
|
|
161
158
|
*/
|
|
162
159
|
color ? : Color
|
|
163
160
|
/**
|
|
@@ -174,15 +171,13 @@ defineProps<{
|
|
|
174
171
|
* The configuration for additional items associated to this field. This is typically used to add contextual
|
|
175
172
|
* fields related to a [checkbox](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Checkbox) or [radio button](#Core/widget/Radio). See
|
|
176
173
|
* these classes for examples of nested fields.
|
|
177
|
-
* ...
|
|
178
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-container)
|
|
174
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-container)
|
|
179
175
|
*/
|
|
180
|
-
container ? : Record<string, SchedulerProContainerItemConfig>|SchedulerProContainerItemConfig[]|FieldContainerConfig
|
|
176
|
+
container ? : Record<string, SchedulerProContainerItemConfig>|SchedulerProContainerItemConfig[]|FieldContainerConfig
|
|
181
177
|
/**
|
|
182
178
|
* The config controls how the value of nested items are handled when a parent container gets or sets its
|
|
183
179
|
* [values](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#property-values).
|
|
184
|
-
* ...
|
|
185
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-containValues)
|
|
180
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-containValues)
|
|
186
181
|
* @param {Core.widget.Field} field Field instance
|
|
187
182
|
* @returns {boolean}
|
|
188
183
|
*/
|
|
@@ -191,16 +186,14 @@ defineProps<{
|
|
|
191
186
|
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement).
|
|
192
187
|
* May be specified as a space separated string, or as an object in which property names
|
|
193
188
|
* with truthy values are used as the class names:
|
|
194
|
-
* ...
|
|
195
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-contentElementCls)
|
|
189
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-contentElementCls)
|
|
196
190
|
*/
|
|
197
191
|
contentElementCls ? : string|object
|
|
198
192
|
/**
|
|
199
193
|
* If configured as `true`, this means that when an unmatched string is typed into the
|
|
200
194
|
* 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,
|
|
201
195
|
* 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).
|
|
202
|
-
* ...
|
|
203
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-createOnUnmatched)
|
|
196
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-createOnUnmatched)
|
|
204
197
|
* @param {string} name Record name
|
|
205
198
|
* @param {Core.widget.Combo} combo Combo instance
|
|
206
199
|
* @returns {Core.data.Model} New record
|
|
@@ -221,16 +214,15 @@ defineProps<{
|
|
|
221
214
|
*/
|
|
222
215
|
defaultBindProperty ? : string
|
|
223
216
|
/**
|
|
224
|
-
* Check for CSS compatibility issues
|
|
225
|
-
*
|
|
226
|
-
* [
|
|
217
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
218
|
+
* checks:
|
|
219
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-detectCSSCompatibilityIssues)
|
|
227
220
|
*/
|
|
228
221
|
detectCSSCompatibilityIssues ? : Boolean
|
|
229
222
|
/**
|
|
230
223
|
* 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
|
|
231
224
|
* cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
|
|
232
|
-
* ...
|
|
233
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-disabled)
|
|
225
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-disabled)
|
|
234
226
|
*/
|
|
235
227
|
disabled ? : Boolean|'inert'
|
|
236
228
|
/**
|
|
@@ -243,26 +235,23 @@ defineProps<{
|
|
|
243
235
|
* @param {Core.widget.Combo} combo A reference to this Combo
|
|
244
236
|
* @returns {string,void}
|
|
245
237
|
*/
|
|
246
|
-
displayValueRenderer ? : (record: Model
|
|
238
|
+
displayValueRenderer ? : (record: Model, combo: Combo) => string|void
|
|
247
239
|
/**
|
|
248
240
|
* Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel)
|
|
249
241
|
* [strips collection](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
250
242
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
251
243
|
* body. Such widgets are called "edge strips".
|
|
252
|
-
* ...
|
|
253
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-dock)
|
|
244
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-dock)
|
|
254
245
|
*/
|
|
255
246
|
dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
256
247
|
/**
|
|
257
248
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
|
|
258
249
|
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
259
250
|
* property which controls when a drag should start.
|
|
260
|
-
* ...
|
|
261
|
-
*
|
|
251
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-draggable)
|
|
252
|
+
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
262
253
|
*/
|
|
263
|
-
draggable ? : Boolean|
|
|
264
|
-
handleSelector?: string
|
|
265
|
-
}
|
|
254
|
+
draggable ? : Boolean|object
|
|
266
255
|
/**
|
|
267
256
|
* User can edit text in text field (otherwise only pick from attached picker)
|
|
268
257
|
*/
|
|
@@ -270,21 +259,18 @@ defineProps<{
|
|
|
270
259
|
/**
|
|
271
260
|
* An object specifying attributes to assign to the root element of this widget.
|
|
272
261
|
* Set `null` value to attribute to remove it.
|
|
273
|
-
* ...
|
|
274
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-elementAttributes)
|
|
262
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-elementAttributes)
|
|
275
263
|
*/
|
|
276
264
|
elementAttributes ? : Record<string, string|null>
|
|
277
265
|
/**
|
|
278
266
|
* Text to display in the drop down when there are no items in the underlying store.
|
|
279
|
-
* ...
|
|
280
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-emptyText)
|
|
267
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-emptyText)
|
|
281
268
|
*/
|
|
282
269
|
emptyText ? : string
|
|
283
270
|
/**
|
|
284
271
|
* 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
|
|
285
272
|
* any filters to the server upon load.
|
|
286
|
-
* ...
|
|
287
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-encodeFilterParams)
|
|
273
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-encodeFilterParams)
|
|
288
274
|
* @param {object[]} filters filters
|
|
289
275
|
* @returns {object[]} array of values
|
|
290
276
|
*/
|
|
@@ -298,8 +284,7 @@ defineProps<{
|
|
|
298
284
|
/**
|
|
299
285
|
* The name of an operator type as implemented in [operator](https://bryntum.com/products/schedulerpro/docs/api/Core/util/CollectionFilter#config-operator)
|
|
300
286
|
* to use when filtering the dropdown list based upon the typed value.
|
|
301
|
-
* ...
|
|
302
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-filterOperator)
|
|
287
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-filterOperator)
|
|
303
288
|
*/
|
|
304
289
|
filterOperator ? : CollectionCompareOperator
|
|
305
290
|
/**
|
|
@@ -340,8 +325,7 @@ defineProps<{
|
|
|
340
325
|
hidden ? : Boolean
|
|
341
326
|
/**
|
|
342
327
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
|
|
343
|
-
* ...
|
|
344
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-hideAnimation)
|
|
328
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-hideAnimation)
|
|
345
329
|
*/
|
|
346
330
|
hideAnimation ? : Boolean|object
|
|
347
331
|
/**
|
|
@@ -362,8 +346,7 @@ defineProps<{
|
|
|
362
346
|
/**
|
|
363
347
|
* An optional string to display inside the input field as an overlay. This can be useful for displaying
|
|
364
348
|
* a field's units.
|
|
365
|
-
* ...
|
|
366
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-hint)
|
|
349
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-hint)
|
|
367
350
|
* @param {object} data A data object
|
|
368
351
|
* @param {Core.widget.Field} data.source A reference to the field instance
|
|
369
352
|
* @param {any} data.value The current value of the field
|
|
@@ -374,8 +357,7 @@ defineProps<{
|
|
|
374
357
|
* 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.
|
|
375
358
|
* Since this can allow malicious content to be executed, be sure not to include user-entered data or to
|
|
376
359
|
* encode such data (see [encodeHtml](https://bryntum.com/products/schedulerpro/docs/api/Core/helper/StringHelper#function-encodeHtml-static)).
|
|
377
|
-
* ...
|
|
378
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-hintHtml)
|
|
360
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-hintHtml)
|
|
379
361
|
* @param {object} data A data object
|
|
380
362
|
* @param {Core.widget.Field} data.source A reference to the field instance
|
|
381
363
|
* @param {any} data.value The current value of the field
|
|
@@ -388,23 +370,20 @@ defineProps<{
|
|
|
388
370
|
id ? : string
|
|
389
371
|
/**
|
|
390
372
|
* Determines if the widgets read-only state should be controlled by its parent.
|
|
391
|
-
* ...
|
|
392
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-ignoreParentReadOnly)
|
|
373
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-ignoreParentReadOnly)
|
|
393
374
|
*/
|
|
394
375
|
ignoreParentReadOnly ? : Boolean
|
|
395
376
|
/**
|
|
396
377
|
* Set this config to `true` to always display items horizontally along with this field. This assigns an
|
|
397
378
|
* [hbox](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/layout/Box) as the [layout](#Core/widget/Container#config-layout) to the
|
|
398
379
|
* [container](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-container).
|
|
399
|
-
* ...
|
|
400
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-inline)
|
|
380
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-inline)
|
|
401
381
|
*/
|
|
402
382
|
inline ? : Boolean
|
|
403
383
|
/**
|
|
404
384
|
* Configure this as `true` to render the dropdown list as a permanently visible list
|
|
405
385
|
* in the document flow immediately below the input area instead of as a popup.
|
|
406
|
-
* ...
|
|
407
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-inlinePicker)
|
|
386
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-inlinePicker)
|
|
408
387
|
*/
|
|
409
388
|
inlinePicker ? : Boolean
|
|
410
389
|
/**
|
|
@@ -442,30 +421,26 @@ defineProps<{
|
|
|
442
421
|
insertFirst ? : HTMLElement|string
|
|
443
422
|
/**
|
|
444
423
|
* Rows to display in the dropdown (list items).
|
|
445
|
-
* ...
|
|
446
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-items)
|
|
424
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-items)
|
|
447
425
|
*/
|
|
448
426
|
items ? : object[]|string[]|object
|
|
449
427
|
/**
|
|
450
428
|
* An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
|
|
451
429
|
* and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
|
|
452
430
|
* are the name of the instance method to call when the keystroke is received.
|
|
453
|
-
* ...
|
|
454
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-keyMap)
|
|
431
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-keyMap)
|
|
455
432
|
*/
|
|
456
433
|
keyMap ? : Record<string, KeyMapConfig>
|
|
457
434
|
/**
|
|
458
435
|
* The delay in milliseconds to wait after the last keystroke before triggering a change event.
|
|
459
436
|
* Set to 0 to not trigger change events from keystrokes (listen for input event instead to have
|
|
460
437
|
* immediate feedback, change will still be triggered on blur).
|
|
461
|
-
* ...
|
|
462
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-keyStrokeChangeDelay)
|
|
438
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-keyStrokeChangeDelay)
|
|
463
439
|
*/
|
|
464
440
|
keyStrokeChangeDelay ? : number
|
|
465
441
|
/**
|
|
466
442
|
* The delay in milliseconds to wait after the last keystroke before filtering the list.
|
|
467
|
-
* ...
|
|
468
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-keyStrokeFilterDelay)
|
|
443
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-keyStrokeFilterDelay)
|
|
469
444
|
*/
|
|
470
445
|
keyStrokeFilterDelay ? : number
|
|
471
446
|
/**
|
|
@@ -478,15 +453,15 @@ defineProps<{
|
|
|
478
453
|
labelCls ? : string|object
|
|
479
454
|
/**
|
|
480
455
|
* Label position, either 'before' the field or 'above' the field
|
|
481
|
-
* ...
|
|
482
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-labelPosition)
|
|
456
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-labelPosition)
|
|
483
457
|
*/
|
|
484
458
|
labelPosition ? : 'before'|'above'|null
|
|
485
459
|
/**
|
|
486
460
|
* The labels to add either before or after the input field.
|
|
487
461
|
* Each label may have the following properties:
|
|
488
|
-
* ...
|
|
489
|
-
*
|
|
462
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-labels)
|
|
463
|
+
* @property {string} html Label text
|
|
464
|
+
* @property {'start','end'} align Which end of the file the label should go
|
|
490
465
|
*/
|
|
491
466
|
labels ? : object[]
|
|
492
467
|
/**
|
|
@@ -499,24 +474,21 @@ defineProps<{
|
|
|
499
474
|
listCls ? : string
|
|
500
475
|
/**
|
|
501
476
|
* The listener set for this object.
|
|
502
|
-
* ...
|
|
503
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-listeners)
|
|
477
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-listeners)
|
|
504
478
|
*/
|
|
505
479
|
listeners ? : SchedulingModePickerListeners
|
|
506
480
|
/**
|
|
507
481
|
* Template string used to render the list items in the dropdown list
|
|
508
|
-
* ...
|
|
509
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-listItemTpl)
|
|
482
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-listItemTpl)
|
|
510
483
|
* @param {Core.data.Model} record The record representing the item being rendered
|
|
511
484
|
* @returns {string,void}
|
|
512
485
|
*/
|
|
513
|
-
listItemTpl ? : (record: Model
|
|
486
|
+
listItemTpl ? : (record: Model) => string|void
|
|
514
487
|
/**
|
|
515
488
|
* A class translations of which are used for translating this entity.
|
|
516
489
|
* This is often used when translations of an item are defined on its container class.
|
|
517
490
|
* For example:
|
|
518
|
-
* ...
|
|
519
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-localeClass)
|
|
491
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-localeClass)
|
|
520
492
|
*/
|
|
521
493
|
localeClass ? : typeof Base
|
|
522
494
|
/**
|
|
@@ -528,8 +500,7 @@ defineProps<{
|
|
|
528
500
|
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
529
501
|
* you could use 'localeKey' meta configuration.
|
|
530
502
|
* Example:
|
|
531
|
-
* ...
|
|
532
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-localizableProperties)
|
|
503
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-localizableProperties)
|
|
533
504
|
*/
|
|
534
505
|
localizableProperties ? : string[]
|
|
535
506
|
/**
|
|
@@ -555,8 +526,7 @@ defineProps<{
|
|
|
555
526
|
maxHeight ? : string|number
|
|
556
527
|
/**
|
|
557
528
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
|
|
558
|
-
* ...
|
|
559
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-maximizeOnMobile)
|
|
529
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-maximizeOnMobile)
|
|
560
530
|
*/
|
|
561
531
|
maximizeOnMobile ? : number|string
|
|
562
532
|
/**
|
|
@@ -570,8 +540,7 @@ defineProps<{
|
|
|
570
540
|
maxWidth ? : string|number
|
|
571
541
|
/**
|
|
572
542
|
* 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`.
|
|
573
|
-
* ...
|
|
574
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-minChars)
|
|
543
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-minChars)
|
|
575
544
|
*/
|
|
576
545
|
minChars ? : number
|
|
577
546
|
/**
|
|
@@ -592,16 +561,13 @@ defineProps<{
|
|
|
592
561
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
593
562
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
594
563
|
* layout.
|
|
595
|
-
* ...
|
|
596
|
-
*
|
|
564
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-monitorResize)
|
|
565
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
597
566
|
*/
|
|
598
|
-
monitorResize ? : Boolean|
|
|
599
|
-
immediate?: Boolean
|
|
600
|
-
}
|
|
567
|
+
monitorResize ? : Boolean|object
|
|
601
568
|
/**
|
|
602
569
|
* Set to `true` to allow selection of multiple values from the dropdown list.
|
|
603
|
-
* ...
|
|
604
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-multiSelect)
|
|
570
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-multiSelect)
|
|
605
571
|
*/
|
|
606
572
|
multiSelect ? : Boolean
|
|
607
573
|
/**
|
|
@@ -614,8 +580,7 @@ defineProps<{
|
|
|
614
580
|
* Name of the field which is used as a key to get/set values from/to the field.
|
|
615
581
|
* Used prior to [ref](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-ref) and [id](#Core/widget/Widget#config-id) in
|
|
616
582
|
* [Container.values](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#property-values).
|
|
617
|
-
* ...
|
|
618
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-name)
|
|
583
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-name)
|
|
619
584
|
*/
|
|
620
585
|
name ? : string
|
|
621
586
|
/**
|
|
@@ -626,10 +591,9 @@ defineProps<{
|
|
|
626
591
|
/**
|
|
627
592
|
* Configuration object for the [picker](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/List) on initialization. Returns the
|
|
628
593
|
* [picker](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/List) instance at runtime.
|
|
629
|
-
* ...
|
|
630
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-picker)
|
|
594
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-picker)
|
|
631
595
|
*/
|
|
632
|
-
picker ? : ListConfig
|
|
596
|
+
picker ? : ListConfig
|
|
633
597
|
/**
|
|
634
598
|
* The name of the element property to which the picker should size and align itself.
|
|
635
599
|
*/
|
|
@@ -646,8 +610,7 @@ defineProps<{
|
|
|
646
610
|
* 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
|
|
647
611
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
648
612
|
* widget's [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement).
|
|
649
|
-
* ...
|
|
650
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-positioned)
|
|
613
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-positioned)
|
|
651
614
|
*/
|
|
652
615
|
positioned ? : Boolean
|
|
653
616
|
/**
|
|
@@ -659,22 +622,19 @@ defineProps<{
|
|
|
659
622
|
* Optionally a [Filter](https://bryntum.com/products/schedulerpro/docs/api/Core/util/CollectionFilter) config object which the combo should use for
|
|
660
623
|
* filtering using the typed value.
|
|
661
624
|
* This may use a `filterBy` property to test its `value` against any field in the passed record.
|
|
662
|
-
* ...
|
|
663
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-primaryFilter)
|
|
625
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-primaryFilter)
|
|
664
626
|
*/
|
|
665
627
|
primaryFilter ? : CollectionFilterConfig
|
|
666
628
|
/**
|
|
667
629
|
* Makes the field unmodifiable by user action. The input area is not editable, and triggers
|
|
668
630
|
* are unresponsive.
|
|
669
|
-
* ...
|
|
670
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-readOnly)
|
|
631
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-readOnly)
|
|
671
632
|
*/
|
|
672
633
|
readOnly ? : Boolean
|
|
673
634
|
relayStoreEvents ? : Boolean
|
|
674
635
|
/**
|
|
675
636
|
* Predefined style to use for the field. Possible values are:
|
|
676
|
-
* ...
|
|
677
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-rendition)
|
|
637
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-rendition)
|
|
678
638
|
*/
|
|
679
639
|
rendition ? : 'outlined'|'filled'|string
|
|
680
640
|
/**
|
|
@@ -693,23 +653,26 @@ defineProps<{
|
|
|
693
653
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
694
654
|
* [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
|
|
695
655
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
696
|
-
* ...
|
|
697
|
-
* [
|
|
656
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-ripple)
|
|
657
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
658
|
+
* @property {string} [color] A CSS color name or specification.
|
|
659
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
660
|
+
* @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.
|
|
661
|
+
*/
|
|
662
|
+
ripple ? : Boolean|object
|
|
663
|
+
/**
|
|
664
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
665
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
666
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-role)
|
|
698
667
|
*/
|
|
699
|
-
|
|
700
|
-
delegate?: string
|
|
701
|
-
color?: string
|
|
702
|
-
radius?: number
|
|
703
|
-
clip?: string
|
|
704
|
-
}
|
|
668
|
+
role ? : string
|
|
705
669
|
/**
|
|
706
670
|
* 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`
|
|
707
671
|
*/
|
|
708
672
|
rootElement ? : ShadowRoot|HTMLElement
|
|
709
673
|
/**
|
|
710
674
|
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
711
|
-
* ...
|
|
712
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-rtl)
|
|
675
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-rtl)
|
|
713
676
|
*/
|
|
714
677
|
rtl ? : Boolean
|
|
715
678
|
/**
|
|
@@ -719,8 +682,7 @@ defineProps<{
|
|
|
719
682
|
scrollAction ? : 'hide'|'realign'|null
|
|
720
683
|
/**
|
|
721
684
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
|
|
722
|
-
* ...
|
|
723
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-showAnimation)
|
|
685
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-showAnimation)
|
|
724
686
|
*/
|
|
725
687
|
showAnimation ? : Boolean|object
|
|
726
688
|
/**
|
|
@@ -753,8 +715,7 @@ defineProps<{
|
|
|
753
715
|
* 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
|
|
754
716
|
* [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
|
|
755
717
|
* this widget:
|
|
756
|
-
* ...
|
|
757
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-tab)
|
|
718
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-tab)
|
|
758
719
|
*/
|
|
759
720
|
tab ? : Boolean|TabConfig
|
|
760
721
|
/**
|
|
@@ -762,14 +723,12 @@ defineProps<{
|
|
|
762
723
|
* is equivalent to natural tab order, but is unnecessary for fields since they are naturally tabbable
|
|
763
724
|
* (i.e., accessible via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set
|
|
764
725
|
* to the element programmatically.
|
|
765
|
-
* ...
|
|
766
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-tabIndex)
|
|
726
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-tabIndex)
|
|
767
727
|
*/
|
|
768
728
|
tabIndex ? : number
|
|
769
729
|
/**
|
|
770
730
|
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
771
|
-
* ...
|
|
772
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-textAlign)
|
|
731
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-textAlign)
|
|
773
732
|
*/
|
|
774
733
|
textAlign ? : 'left'|'center'|'right'|'start'|'end'
|
|
775
734
|
/**
|
|
@@ -778,30 +737,26 @@ defineProps<{
|
|
|
778
737
|
title ? : string
|
|
779
738
|
/**
|
|
780
739
|
* Tooltip for the widget, either as a string or as a Tooltip config object.
|
|
781
|
-
* ...
|
|
782
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-tooltip)
|
|
740
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-tooltip)
|
|
783
741
|
*/
|
|
784
742
|
tooltip ? : string|TooltipConfig|null
|
|
785
743
|
/**
|
|
786
744
|
* How to query the store upon click of the expand trigger. Specify one of these values:
|
|
787
|
-
* ...
|
|
788
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-triggerAction)
|
|
745
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-triggerAction)
|
|
789
746
|
*/
|
|
790
747
|
triggerAction ? : 'all'|'last'|null
|
|
791
748
|
/**
|
|
792
749
|
* The triggers to add either before or after the input field. Each property name is the reference by which
|
|
793
750
|
* an instantiated Trigger Widget may be retrieved from the live `triggers` property.
|
|
794
|
-
* ...
|
|
795
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-triggers)
|
|
751
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-triggers)
|
|
796
752
|
*/
|
|
797
|
-
triggers ? : Record<string, FieldTriggerConfig
|
|
753
|
+
triggers ? : Record<string, FieldTriggerConfig>
|
|
798
754
|
type ? : 'schedulingmodecombo'
|
|
799
755
|
/**
|
|
800
756
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
801
757
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
802
758
|
* values are used as the class names.
|
|
803
|
-
* ...
|
|
804
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-ui)
|
|
759
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-ui)
|
|
805
760
|
*/
|
|
806
761
|
ui ? : string|object
|
|
807
762
|
/**
|
|
@@ -821,8 +776,7 @@ defineProps<{
|
|
|
821
776
|
/**
|
|
822
777
|
* Field used for item value when populating from store. Setting this to `null` will
|
|
823
778
|
* yield the selected record as the Combo's [value](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#property-value).
|
|
824
|
-
* ...
|
|
825
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-valueField)
|
|
779
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-valueField)
|
|
826
780
|
*/
|
|
827
781
|
valueField ? : string|null
|
|
828
782
|
/**
|
|
@@ -838,14 +792,12 @@ defineProps<{
|
|
|
838
792
|
width ? : string|number
|
|
839
793
|
/**
|
|
840
794
|
* The x position for the widget.
|
|
841
|
-
* ...
|
|
842
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-x)
|
|
795
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-x)
|
|
843
796
|
*/
|
|
844
797
|
x ? : number
|
|
845
798
|
/**
|
|
846
799
|
* The y position for the widget.
|
|
847
|
-
* ...
|
|
848
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-y)
|
|
800
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-y)
|
|
849
801
|
*/
|
|
850
802
|
y ? : number
|
|
851
803
|
|
|
@@ -856,120 +808,98 @@ const emit = defineEmits<{
|
|
|
856
808
|
* The default action was performed (an item in the list was selected)
|
|
857
809
|
* @param {string} e Event name
|
|
858
810
|
* @param {object} params Event parameters
|
|
859
|
-
* @param {
|
|
860
|
-
* @param {
|
|
861
|
-
* @param {
|
|
862
|
-
* @param {Core.
|
|
863
|
-
* @param {
|
|
864
|
-
* @param {
|
|
865
|
-
* @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`
|
|
866
|
-
* @param {boolean} params.params.event.userAction `true` if the value change is due to user interaction
|
|
811
|
+
* @param {object} params.event Event object
|
|
812
|
+
* @param {Core.widget.Combo} params.event.source The combo
|
|
813
|
+
* @param {any} params.event.value The [value](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-valueField) of the selected record
|
|
814
|
+
* @param {Core.data.Model} params.event.record Selected record
|
|
815
|
+
* @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`
|
|
816
|
+
* @param {boolean} params.event.userAction `true` if the value change is due to user interaction
|
|
867
817
|
*/
|
|
868
818
|
(e: 'action', params: ((event: { source: Combo, value: any, record: Model, records: Model[], userAction: boolean }) => void)|string): void
|
|
869
819
|
/**
|
|
870
820
|
* Fires before an object is destroyed.
|
|
871
821
|
* @param {string} e Event name
|
|
872
822
|
* @param {object} params Event parameters
|
|
873
|
-
* @param {
|
|
874
|
-
* @param {
|
|
875
|
-
* @param {object} params.params.event Event object
|
|
876
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
823
|
+
* @param {object} params.event Event object
|
|
824
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
877
825
|
*/
|
|
878
826
|
(e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
|
|
879
827
|
/**
|
|
880
828
|
* Triggered before a widget is hidden. Return `false` to prevent the action.
|
|
881
829
|
* @param {string} e Event name
|
|
882
830
|
* @param {object} params Event parameters
|
|
883
|
-
* @param {
|
|
884
|
-
* @param {
|
|
885
|
-
* @param {object} params.params.event Event object
|
|
886
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being hidden.
|
|
831
|
+
* @param {object} params.event Event object
|
|
832
|
+
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
887
833
|
*/
|
|
888
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
834
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
889
835
|
/**
|
|
890
836
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
891
837
|
* @param {string} e Event name
|
|
892
838
|
* @param {object} params Event parameters
|
|
893
|
-
* @param {
|
|
894
|
-
* @param {
|
|
895
|
-
* @param {object} params.params.event Event object
|
|
896
|
-
* @param {Core.widget.Widget,any} params.params.event.source The widget being shown
|
|
839
|
+
* @param {object} params.event Event object
|
|
840
|
+
* @param {Core.widget.Widget,any} params.event.source The widget being shown
|
|
897
841
|
*/
|
|
898
842
|
(e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
899
843
|
/**
|
|
900
844
|
* Fires when any other event is fired from the object.
|
|
901
|
-
* ...
|
|
902
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#event-catchAll)
|
|
845
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#event-catchAll)
|
|
903
846
|
* @param {string} e Event name
|
|
904
847
|
* @param {object} params Event parameters
|
|
905
|
-
* @param {
|
|
906
|
-
* @param {
|
|
907
|
-
* @param {
|
|
908
|
-
* @param {{[key: string]: any, type: string}} params.params.event.event The Object that contains event details
|
|
909
|
-
* @param {string} params.params.event.event.type The type of the event which is caught by the listener
|
|
848
|
+
* @param {object} params.event Event object
|
|
849
|
+
* @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details
|
|
850
|
+
* @param {string} params.event.event.type The type of the event which is caught by the listener
|
|
910
851
|
*/
|
|
911
852
|
(e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
|
|
912
853
|
/**
|
|
913
854
|
* Fired when this field's value changes.
|
|
914
855
|
* @param {string} e Event name
|
|
915
856
|
* @param {object} params Event parameters
|
|
916
|
-
* @param {
|
|
917
|
-
* @param {
|
|
918
|
-
* @param {
|
|
919
|
-
* @param {
|
|
920
|
-
* @param {
|
|
921
|
-
* @param {
|
|
922
|
-
* @param {boolean} params.
|
|
923
|
-
* @param {
|
|
924
|
-
* @param {boolean} params.params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
925
|
-
* @param {boolean} params.params.event.checked
|
|
857
|
+
* @param {object} params.event Event object
|
|
858
|
+
* @param {Core.widget.Field,any} params.event.source This Field
|
|
859
|
+
* @param {string,number,boolean,any} params.event.value This field's value
|
|
860
|
+
* @param {string,number,boolean,any} params.event.oldValue This field's previous value
|
|
861
|
+
* @param {boolean} params.event.valid True if this field is in a valid state
|
|
862
|
+
* @param {Event} params.event.event The triggering DOM event if any
|
|
863
|
+
* @param {boolean} params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
864
|
+
* @param {boolean} params.event.checked
|
|
926
865
|
*/
|
|
927
866
|
(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
|
|
928
867
|
/**
|
|
929
868
|
* Fired when this field is [cleared](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#function-clear).
|
|
930
|
-
* ...
|
|
931
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#event-clear)
|
|
869
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#event-clear)
|
|
932
870
|
* @param {string} e Event name
|
|
933
871
|
* @param {object} params Event parameters
|
|
934
|
-
* @param {
|
|
935
|
-
* @param {
|
|
936
|
-
* @param {object} params.params.event Event object
|
|
937
|
-
* @param {Core.widget.Field,any} params.params.event.source This Field
|
|
872
|
+
* @param {object} params.event Event object
|
|
873
|
+
* @param {Core.widget.Field,any} params.event.source This Field
|
|
938
874
|
*/
|
|
939
875
|
(e: 'clear', params: ((event: { source: Field|any }) => void)|string): void
|
|
940
876
|
/**
|
|
941
877
|
* Fires when an object is destroyed.
|
|
942
878
|
* @param {string} e Event name
|
|
943
879
|
* @param {object} params Event parameters
|
|
944
|
-
* @param {
|
|
945
|
-
* @param {
|
|
946
|
-
* @param {object} params.params.event Event object
|
|
947
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
880
|
+
* @param {object} params.event Event object
|
|
881
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
948
882
|
*/
|
|
949
883
|
(e: 'destroy', params: ((event: { source: Base }) => void)|string): void
|
|
950
884
|
/**
|
|
951
885
|
* Triggered when a widget's [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element) is available.
|
|
952
886
|
* @param {string} e Event name
|
|
953
887
|
* @param {object} params Event parameters
|
|
954
|
-
* @param {
|
|
955
|
-
* @param {
|
|
956
|
-
* @param {object} params.params.event Event object
|
|
957
|
-
* @param {HTMLElement} params.params.event.element The Widget's element.
|
|
888
|
+
* @param {object} params.event Event object
|
|
889
|
+
* @param {HTMLElement} params.event.element The Widget's element.
|
|
958
890
|
*/
|
|
959
891
|
(e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void
|
|
960
892
|
/**
|
|
961
893
|
* Fired when focus enters this Widget.
|
|
962
894
|
* @param {string} e Event name
|
|
963
895
|
* @param {object} params Event parameters
|
|
964
|
-
* @param {
|
|
965
|
-
* @param {
|
|
966
|
-
* @param {
|
|
967
|
-
* @param {
|
|
968
|
-
* @param {
|
|
969
|
-
* @param {
|
|
970
|
-
* @param {
|
|
971
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
972
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
896
|
+
* @param {object} params.event Event object
|
|
897
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
898
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
899
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
900
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
901
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
902
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
973
903
|
*/
|
|
974
904
|
(e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
975
905
|
/**
|
|
@@ -978,25 +908,21 @@ const emit = defineEmits<{
|
|
|
978
908
|
* will not trigger this event. This is when focus exits this widget completely.
|
|
979
909
|
* @param {string} e Event name
|
|
980
910
|
* @param {object} params Event parameters
|
|
981
|
-
* @param {
|
|
982
|
-
* @param {
|
|
983
|
-
* @param {
|
|
984
|
-
* @param {
|
|
985
|
-
* @param {
|
|
986
|
-
* @param {
|
|
987
|
-
* @param {
|
|
988
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
989
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
911
|
+
* @param {object} params.event Event object
|
|
912
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
913
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
914
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
915
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
916
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
917
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
990
918
|
*/
|
|
991
919
|
(e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
992
920
|
/**
|
|
993
921
|
* Triggered after a widget was hidden
|
|
994
922
|
* @param {string} e Event name
|
|
995
923
|
* @param {object} params Event parameters
|
|
996
|
-
* @param {
|
|
997
|
-
* @param {
|
|
998
|
-
* @param {object} params.params.event Event object
|
|
999
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
924
|
+
* @param {object} params.event Event object
|
|
925
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
1000
926
|
*/
|
|
1001
927
|
(e: 'hide', params: ((event: { source: Widget }) => void)|string): void
|
|
1002
928
|
/**
|
|
@@ -1004,36 +930,29 @@ const emit = defineEmits<{
|
|
|
1004
930
|
* not the combos value
|
|
1005
931
|
* @param {string} e Event name
|
|
1006
932
|
* @param {object} params Event parameters
|
|
1007
|
-
* @param {
|
|
1008
|
-
* @param {
|
|
1009
|
-
* @param {
|
|
1010
|
-
* @param {
|
|
1011
|
-
* @param {string} params.params.event.value Raw input value
|
|
1012
|
-
* @param {Event} params.params.event.event The triggering DOM event if any.
|
|
933
|
+
* @param {object} params.event Event object
|
|
934
|
+
* @param {Core.widget.Combo} params.event.source The combo.
|
|
935
|
+
* @param {string} params.event.value Raw input value
|
|
936
|
+
* @param {Event} params.event.event The triggering DOM event if any.
|
|
1013
937
|
*/
|
|
1014
938
|
(e: 'input', params: ((event: { source: Combo, value: string, event: Event }) => void)|string): void
|
|
1015
939
|
/**
|
|
1016
940
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
1017
941
|
* achieves visibility.
|
|
1018
|
-
* ...
|
|
1019
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#event-paint)
|
|
942
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#event-paint)
|
|
1020
943
|
* @param {string} e Event name
|
|
1021
944
|
* @param {object} params Event parameters
|
|
1022
|
-
* @param {
|
|
1023
|
-
* @param {
|
|
1024
|
-
* @param {
|
|
1025
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being painted.
|
|
1026
|
-
* @param {boolean} params.params.event.firstPaint `true` if this is the first paint.
|
|
945
|
+
* @param {object} params.event Event object
|
|
946
|
+
* @param {Core.widget.Widget} params.event.source The widget being painted.
|
|
947
|
+
* @param {boolean} params.event.firstPaint `true` if this is the first paint.
|
|
1027
948
|
*/
|
|
1028
949
|
(e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void
|
|
1029
950
|
/**
|
|
1030
951
|
* Fired when a Widget's read only state is toggled
|
|
1031
952
|
* @param {string} e Event name
|
|
1032
953
|
* @param {object} params Event parameters
|
|
1033
|
-
* @param {
|
|
1034
|
-
* @param {
|
|
1035
|
-
* @param {object} params.params.event Event object
|
|
1036
|
-
* @param {boolean} params.params.event.readOnly Read only or not
|
|
954
|
+
* @param {object} params.event Event object
|
|
955
|
+
* @param {boolean} params.event.readOnly Read only or not
|
|
1037
956
|
*/
|
|
1038
957
|
(e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void
|
|
1039
958
|
/**
|
|
@@ -1045,48 +964,40 @@ const emit = defineEmits<{
|
|
|
1045
964
|
* 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`*.
|
|
1046
965
|
* @param {string} e Event name
|
|
1047
966
|
* @param {object} params Event parameters
|
|
1048
|
-
* @param {
|
|
1049
|
-
* @param {
|
|
1050
|
-
* @param {
|
|
1051
|
-
* @param {
|
|
1052
|
-
* @param {number} params.
|
|
1053
|
-
* @param {number} params.
|
|
1054
|
-
* @param {number} params.params.event.oldWidth The old width
|
|
1055
|
-
* @param {number} params.params.event.oldHeight The old height
|
|
967
|
+
* @param {object} params.event Event object
|
|
968
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
969
|
+
* @param {number} params.event.width The new width
|
|
970
|
+
* @param {number} params.event.height The new height
|
|
971
|
+
* @param {number} params.event.oldWidth The old width
|
|
972
|
+
* @param {number} params.event.oldHeight The old height
|
|
1056
973
|
*/
|
|
1057
974
|
(e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
|
|
1058
975
|
/**
|
|
1059
976
|
* An item in the list was selected
|
|
1060
977
|
* @param {string} e Event name
|
|
1061
978
|
* @param {object} params Event parameters
|
|
1062
|
-
* @param {
|
|
1063
|
-
* @param {
|
|
1064
|
-
* @param {
|
|
1065
|
-
* @param {Core.
|
|
1066
|
-
* @param {
|
|
1067
|
-
* @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`
|
|
1068
|
-
* @param {boolean} params.params.event.userAction `true` if the value change is due to user interaction
|
|
979
|
+
* @param {object} params.event Event object
|
|
980
|
+
* @param {Core.widget.Combo} params.event.source The combo
|
|
981
|
+
* @param {Core.data.Model} params.event.record Selected record
|
|
982
|
+
* @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`
|
|
983
|
+
* @param {boolean} params.event.userAction `true` if the value change is due to user interaction
|
|
1069
984
|
*/
|
|
1070
985
|
(e: 'select', params: ((event: { source: Combo, record: Model, records: Model[], userAction: boolean }) => void)|string): void
|
|
1071
986
|
/**
|
|
1072
987
|
* Triggered after a widget is shown.
|
|
1073
988
|
* @param {string} e Event name
|
|
1074
989
|
* @param {object} params Event parameters
|
|
1075
|
-
* @param {
|
|
1076
|
-
* @param {
|
|
1077
|
-
* @param {object} params.params.event Event object
|
|
1078
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
990
|
+
* @param {object} params.event Event object
|
|
991
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
1079
992
|
*/
|
|
1080
993
|
(e: 'show', params: ((event: { source: Widget }) => void)|string): void
|
|
1081
994
|
/**
|
|
1082
995
|
* User clicked one of this field's [triggers](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-triggers)
|
|
1083
996
|
* @param {string} e Event name
|
|
1084
997
|
* @param {object} params Event parameters
|
|
1085
|
-
* @param {
|
|
1086
|
-
* @param {
|
|
1087
|
-
* @param {
|
|
1088
|
-
* @param {Core.widget.Field,any} params.params.event.source This field
|
|
1089
|
-
* @param {Core.widget.Widget} params.params.event.trigger The trigger activated by click or touch tap.
|
|
998
|
+
* @param {object} params.event Event object
|
|
999
|
+
* @param {Core.widget.Field,any} params.event.source This field
|
|
1000
|
+
* @param {Core.widget.Widget} params.event.trigger The trigger activated by click or touch tap.
|
|
1090
1001
|
*/
|
|
1091
1002
|
(e: 'trigger', params: ((event: { source: Field|any, trigger: Widget }) => void)|string): void
|
|
1092
1003
|
}>();
|
|
@@ -1109,6 +1020,7 @@ const widgetData = {
|
|
|
1109
1020
|
'cacheLastResult',
|
|
1110
1021
|
'caseSensitive',
|
|
1111
1022
|
'centered',
|
|
1023
|
+
'checkValidity',
|
|
1112
1024
|
'chipView',
|
|
1113
1025
|
'clearable',
|
|
1114
1026
|
'clearTextOnPickerHide',
|
|
@@ -1179,6 +1091,7 @@ const widgetData = {
|
|
|
1179
1091
|
'relayStoreEvents',
|
|
1180
1092
|
'revertOnEscape',
|
|
1181
1093
|
'ripple',
|
|
1094
|
+
'role',
|
|
1182
1095
|
'rootElement',
|
|
1183
1096
|
'scrollAction',
|
|
1184
1097
|
'showAnimation',
|
|
@@ -1262,9 +1175,7 @@ const widgetData = {
|
|
|
1262
1175
|
'y'
|
|
1263
1176
|
],
|
|
1264
1177
|
propertyNames : [
|
|
1265
|
-
'anchorSize',
|
|
1266
1178
|
'content',
|
|
1267
|
-
'focusVisible',
|
|
1268
1179
|
'formula',
|
|
1269
1180
|
'html',
|
|
1270
1181
|
'input',
|