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