@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, Color, DateField, DatePickerConfig, DurationConfig, Field,
|
|
13
|
+
import type { AlignSpec, Base, Color, DateField, DatePickerConfig, DurationConfig, Field, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Model, Rectangle, TabConfig, TimeField, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
14
14
|
import type { SchedulerProContainerItemConfig, EndDateFieldListeners, EventModel, ProjectModel } from '@bryntum/schedulerpro-thin';
|
|
15
15
|
import { EndDateField } 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/EndDateField#config-adopt)
|
|
24
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#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/EndDateField#config-align)
|
|
29
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#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/EndDateField#config-ariaDescription)
|
|
51
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#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/EndDateField#config-ariaLabel)
|
|
57
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-ariaLabel)
|
|
62
58
|
*/
|
|
63
59
|
ariaLabel ? : string
|
|
64
60
|
/**
|
|
@@ -81,21 +77,18 @@ 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/EndDateField#config-bubbleEvents)
|
|
80
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-bubbleEvents)
|
|
86
81
|
*/
|
|
87
82
|
bubbleEvents ? : object
|
|
88
83
|
/**
|
|
89
84
|
* Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
|
|
90
|
-
* ...
|
|
91
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-callOnFunctions)
|
|
85
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-callOnFunctions)
|
|
92
86
|
*/
|
|
93
87
|
callOnFunctions ? : Boolean
|
|
94
88
|
/**
|
|
95
89
|
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
96
90
|
* application state is undefined. Code which follows the event handler will *not* be executed.
|
|
97
|
-
* ...
|
|
98
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-catchEventHandlerExceptions)
|
|
91
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-catchEventHandlerExceptions)
|
|
99
92
|
*/
|
|
100
93
|
catchEventHandlerExceptions ? : Boolean
|
|
101
94
|
/**
|
|
@@ -103,6 +96,15 @@ defineProps<{
|
|
|
103
96
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
104
97
|
*/
|
|
105
98
|
centered ? : Boolean
|
|
99
|
+
/**
|
|
100
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
101
|
+
* 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)
|
|
102
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-required) check.
|
|
103
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-checkValidity)
|
|
104
|
+
* @param {Core.widget.Field} field The field being validated
|
|
105
|
+
* @returns {void}
|
|
106
|
+
*/
|
|
107
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
106
108
|
/**
|
|
107
109
|
* Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly). The trigger is available
|
|
108
110
|
* in the [triggers](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
|
|
@@ -113,15 +115,13 @@ defineProps<{
|
|
|
113
115
|
* Custom CSS classes to add to element.
|
|
114
116
|
* May be specified as a space separated string, or as an object in which property names
|
|
115
117
|
* with truthy values are used as the class names:
|
|
116
|
-
* ...
|
|
117
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-cls)
|
|
118
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-cls)
|
|
118
119
|
*/
|
|
119
120
|
cls ? : string|object
|
|
120
121
|
/**
|
|
121
122
|
* Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
|
|
122
123
|
* `style` block.
|
|
123
|
-
* ...
|
|
124
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-color)
|
|
124
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-color)
|
|
125
125
|
*/
|
|
126
126
|
color ? : Color
|
|
127
127
|
/**
|
|
@@ -138,15 +138,13 @@ defineProps<{
|
|
|
138
138
|
* The configuration for additional items associated to this field. This is typically used to add contextual
|
|
139
139
|
* fields related to a [checkbox](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Checkbox) or [radio button](#Core/widget/Radio). See
|
|
140
140
|
* these classes for examples of nested fields.
|
|
141
|
-
* ...
|
|
142
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-container)
|
|
141
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-container)
|
|
143
142
|
*/
|
|
144
|
-
container ? : Record<string, SchedulerProContainerItemConfig>|SchedulerProContainerItemConfig[]|FieldContainerConfig
|
|
143
|
+
container ? : Record<string, SchedulerProContainerItemConfig>|SchedulerProContainerItemConfig[]|FieldContainerConfig
|
|
145
144
|
/**
|
|
146
145
|
* The config controls how the value of nested items are handled when a parent container gets or sets its
|
|
147
146
|
* [values](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#property-values).
|
|
148
|
-
* ...
|
|
149
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-containValues)
|
|
147
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-containValues)
|
|
150
148
|
* @param {Core.widget.Field} field Field instance
|
|
151
149
|
* @returns {boolean}
|
|
152
150
|
*/
|
|
@@ -155,8 +153,7 @@ defineProps<{
|
|
|
155
153
|
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement).
|
|
156
154
|
* May be specified as a space separated string, or as an object in which property names
|
|
157
155
|
* with truthy values are used as the class names:
|
|
158
|
-
* ...
|
|
159
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-contentElementCls)
|
|
156
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-contentElementCls)
|
|
160
157
|
*/
|
|
161
158
|
contentElementCls ? : string|object
|
|
162
159
|
/**
|
|
@@ -174,16 +171,15 @@ defineProps<{
|
|
|
174
171
|
*/
|
|
175
172
|
defaultBindProperty ? : string
|
|
176
173
|
/**
|
|
177
|
-
* Check for CSS compatibility issues
|
|
178
|
-
*
|
|
179
|
-
* [
|
|
174
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
175
|
+
* checks:
|
|
176
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-detectCSSCompatibilityIssues)
|
|
180
177
|
*/
|
|
181
178
|
detectCSSCompatibilityIssues ? : Boolean
|
|
182
179
|
/**
|
|
183
180
|
* 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
|
|
184
181
|
* cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
|
|
185
|
-
* ...
|
|
186
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-disabled)
|
|
182
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-disabled)
|
|
187
183
|
*/
|
|
188
184
|
disabled ? : Boolean|'inert'
|
|
189
185
|
/**
|
|
@@ -191,20 +187,17 @@ defineProps<{
|
|
|
191
187
|
* [strips collection](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
192
188
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
193
189
|
* body. Such widgets are called "edge strips".
|
|
194
|
-
* ...
|
|
195
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-dock)
|
|
190
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-dock)
|
|
196
191
|
*/
|
|
197
192
|
dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
198
193
|
/**
|
|
199
194
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
|
|
200
195
|
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
201
196
|
* property which controls when a drag should start.
|
|
202
|
-
* ...
|
|
203
|
-
*
|
|
197
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-draggable)
|
|
198
|
+
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
204
199
|
*/
|
|
205
|
-
draggable ? : Boolean|
|
|
206
|
-
handleSelector?: string
|
|
207
|
-
}
|
|
200
|
+
draggable ? : Boolean|object
|
|
208
201
|
/**
|
|
209
202
|
* User can edit text in text field (otherwise only pick from attached picker)
|
|
210
203
|
*/
|
|
@@ -212,8 +205,7 @@ defineProps<{
|
|
|
212
205
|
/**
|
|
213
206
|
* An object specifying attributes to assign to the root element of this widget.
|
|
214
207
|
* Set `null` value to attribute to remove it.
|
|
215
|
-
* ...
|
|
216
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-elementAttributes)
|
|
208
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-elementAttributes)
|
|
217
209
|
*/
|
|
218
210
|
elementAttributes ? : Record<string, string|null>
|
|
219
211
|
/**
|
|
@@ -250,8 +242,7 @@ defineProps<{
|
|
|
250
242
|
hidden ? : Boolean
|
|
251
243
|
/**
|
|
252
244
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
|
|
253
|
-
* ...
|
|
254
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-hideAnimation)
|
|
245
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-hideAnimation)
|
|
255
246
|
*/
|
|
256
247
|
hideAnimation ? : Boolean|object
|
|
257
248
|
/**
|
|
@@ -261,8 +252,7 @@ defineProps<{
|
|
|
261
252
|
/**
|
|
262
253
|
* An optional string to display inside the input field as an overlay. This can be useful for displaying
|
|
263
254
|
* a field's units.
|
|
264
|
-
* ...
|
|
265
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-hint)
|
|
255
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-hint)
|
|
266
256
|
* @param {object} data A data object
|
|
267
257
|
* @param {Core.widget.Field} data.source A reference to the field instance
|
|
268
258
|
* @param {any} data.value The current value of the field
|
|
@@ -273,8 +263,7 @@ defineProps<{
|
|
|
273
263
|
* 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.
|
|
274
264
|
* Since this can allow malicious content to be executed, be sure not to include user-entered data or to
|
|
275
265
|
* encode such data (see [encodeHtml](https://bryntum.com/products/schedulerpro/docs/api/Core/helper/StringHelper#function-encodeHtml-static)).
|
|
276
|
-
* ...
|
|
277
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-hintHtml)
|
|
266
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-hintHtml)
|
|
278
267
|
* @param {object} data A data object
|
|
279
268
|
* @param {Core.widget.Field} data.source A reference to the field instance
|
|
280
269
|
* @param {any} data.value The current value of the field
|
|
@@ -287,16 +276,14 @@ defineProps<{
|
|
|
287
276
|
id ? : string
|
|
288
277
|
/**
|
|
289
278
|
* Determines if the widgets read-only state should be controlled by its parent.
|
|
290
|
-
* ...
|
|
291
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-ignoreParentReadOnly)
|
|
279
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-ignoreParentReadOnly)
|
|
292
280
|
*/
|
|
293
281
|
ignoreParentReadOnly ? : Boolean
|
|
294
282
|
/**
|
|
295
283
|
* Set this config to `true` to always display items horizontally along with this field. This assigns an
|
|
296
284
|
* [hbox](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/layout/Box) as the [layout](#Core/widget/Container#config-layout) to the
|
|
297
285
|
* [container](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-container).
|
|
298
|
-
* ...
|
|
299
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-inline)
|
|
286
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-inline)
|
|
300
287
|
*/
|
|
301
288
|
inline ? : Boolean
|
|
302
289
|
/**
|
|
@@ -335,24 +322,21 @@ defineProps<{
|
|
|
335
322
|
/**
|
|
336
323
|
* A flag which indicates what time should be used for selected date.
|
|
337
324
|
* `eod` by default which adjusts user provided value time to end of the working day.
|
|
338
|
-
* ...
|
|
339
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-keepTime)
|
|
325
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-keepTime)
|
|
340
326
|
*/
|
|
341
327
|
keepTime ? : Boolean|Date|string
|
|
342
328
|
/**
|
|
343
329
|
* An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
|
|
344
330
|
* and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
|
|
345
331
|
* are the name of the instance method to call when the keystroke is received.
|
|
346
|
-
* ...
|
|
347
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-keyMap)
|
|
332
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-keyMap)
|
|
348
333
|
*/
|
|
349
334
|
keyMap ? : Record<string, KeyMapConfig>
|
|
350
335
|
/**
|
|
351
336
|
* The delay in milliseconds to wait after the last keystroke before triggering a change event.
|
|
352
337
|
* Set to 0 to not trigger change events from keystrokes (listen for input event instead to have
|
|
353
338
|
* immediate feedback, change will still be triggered on blur).
|
|
354
|
-
* ...
|
|
355
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-keyStrokeChangeDelay)
|
|
339
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-keyStrokeChangeDelay)
|
|
356
340
|
*/
|
|
357
341
|
keyStrokeChangeDelay ? : number
|
|
358
342
|
/**
|
|
@@ -365,15 +349,15 @@ defineProps<{
|
|
|
365
349
|
labelCls ? : string|object
|
|
366
350
|
/**
|
|
367
351
|
* Label position, either 'before' the field or 'above' the field
|
|
368
|
-
* ...
|
|
369
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-labelPosition)
|
|
352
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-labelPosition)
|
|
370
353
|
*/
|
|
371
354
|
labelPosition ? : 'before'|'above'|null
|
|
372
355
|
/**
|
|
373
356
|
* The labels to add either before or after the input field.
|
|
374
357
|
* Each label may have the following properties:
|
|
375
|
-
* ...
|
|
376
|
-
*
|
|
358
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-labels)
|
|
359
|
+
* @property {string} html Label text
|
|
360
|
+
* @property {'start','end'} align Which end of the file the label should go
|
|
377
361
|
*/
|
|
378
362
|
labels ? : object[]
|
|
379
363
|
/**
|
|
@@ -382,16 +366,14 @@ defineProps<{
|
|
|
382
366
|
labelWidth ? : string|number
|
|
383
367
|
/**
|
|
384
368
|
* The listener set for this object.
|
|
385
|
-
* ...
|
|
386
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-listeners)
|
|
369
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-listeners)
|
|
387
370
|
*/
|
|
388
371
|
listeners ? : EndDateFieldListeners
|
|
389
372
|
/**
|
|
390
373
|
* A class translations of which are used for translating this entity.
|
|
391
374
|
* This is often used when translations of an item are defined on its container class.
|
|
392
375
|
* For example:
|
|
393
|
-
* ...
|
|
394
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-localeClass)
|
|
376
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-localeClass)
|
|
395
377
|
*/
|
|
396
378
|
localeClass ? : typeof Base
|
|
397
379
|
/**
|
|
@@ -403,8 +385,7 @@ defineProps<{
|
|
|
403
385
|
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
404
386
|
* you could use 'localeKey' meta configuration.
|
|
405
387
|
* Example:
|
|
406
|
-
* ...
|
|
407
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-localizableProperties)
|
|
388
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-localizableProperties)
|
|
408
389
|
*/
|
|
409
390
|
localizableProperties ? : string[]
|
|
410
391
|
/**
|
|
@@ -434,8 +415,7 @@ defineProps<{
|
|
|
434
415
|
maxHeight ? : string|number
|
|
435
416
|
/**
|
|
436
417
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
|
|
437
|
-
* ...
|
|
438
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-maximizeOnMobile)
|
|
418
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-maximizeOnMobile)
|
|
439
419
|
*/
|
|
440
420
|
maximizeOnMobile ? : number|string
|
|
441
421
|
/**
|
|
@@ -469,32 +449,27 @@ defineProps<{
|
|
|
469
449
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
470
450
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
471
451
|
* layout.
|
|
472
|
-
* ...
|
|
473
|
-
*
|
|
452
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-monitorResize)
|
|
453
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
474
454
|
*/
|
|
475
|
-
monitorResize ? : Boolean|
|
|
476
|
-
immediate?: Boolean
|
|
477
|
-
}
|
|
455
|
+
monitorResize ? : Boolean|object
|
|
478
456
|
/**
|
|
479
457
|
* Name of the field which is used as a key to get/set values from/to the field.
|
|
480
458
|
* Used prior to [ref](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-ref) and [id](#Core/widget/Widget#config-id) in
|
|
481
459
|
* [Container.values](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#property-values).
|
|
482
|
-
* ...
|
|
483
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-name)
|
|
460
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-name)
|
|
484
461
|
*/
|
|
485
462
|
name ? : string
|
|
486
463
|
/**
|
|
487
464
|
* A reference to a partner TimeField which this DateField should sync its value with.
|
|
488
465
|
* When the TimeField's value is changed, this DateField's value is updated to match.
|
|
489
466
|
* When this DateField's value is changed, the TimeField's value is updated to match.
|
|
490
|
-
* ...
|
|
491
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-partner)
|
|
467
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-partner)
|
|
492
468
|
*/
|
|
493
469
|
partner ? : string|TimeField
|
|
494
470
|
/**
|
|
495
471
|
* A config object used to configure the [datePicker](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/DatePicker).
|
|
496
|
-
* ...
|
|
497
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-picker)
|
|
472
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-picker)
|
|
498
473
|
*/
|
|
499
474
|
picker ? : DatePickerConfig
|
|
500
475
|
/**
|
|
@@ -513,8 +488,7 @@ defineProps<{
|
|
|
513
488
|
* 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
|
|
514
489
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
515
490
|
* widget's [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement).
|
|
516
|
-
* ...
|
|
517
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-positioned)
|
|
491
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-positioned)
|
|
518
492
|
*/
|
|
519
493
|
positioned ? : Boolean
|
|
520
494
|
/**
|
|
@@ -529,15 +503,13 @@ defineProps<{
|
|
|
529
503
|
/**
|
|
530
504
|
* Makes the field unmodifiable by user action. The input area is not editable, and triggers
|
|
531
505
|
* are unresponsive.
|
|
532
|
-
* ...
|
|
533
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-readOnly)
|
|
506
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-readOnly)
|
|
534
507
|
*/
|
|
535
508
|
readOnly ? : Boolean
|
|
536
509
|
relayStoreEvents ? : Boolean
|
|
537
510
|
/**
|
|
538
511
|
* Predefined style to use for the field. Possible values are:
|
|
539
|
-
* ...
|
|
540
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-rendition)
|
|
512
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-rendition)
|
|
541
513
|
*/
|
|
542
514
|
rendition ? : 'outlined'|'filled'|string
|
|
543
515
|
/**
|
|
@@ -556,23 +528,26 @@ defineProps<{
|
|
|
556
528
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
557
529
|
* [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
|
|
558
530
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
559
|
-
* ...
|
|
560
|
-
* [
|
|
531
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-ripple)
|
|
532
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
533
|
+
* @property {string} [color] A CSS color name or specification.
|
|
534
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
535
|
+
* @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.
|
|
536
|
+
*/
|
|
537
|
+
ripple ? : Boolean|object
|
|
538
|
+
/**
|
|
539
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
540
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
541
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-role)
|
|
561
542
|
*/
|
|
562
|
-
|
|
563
|
-
delegate?: string
|
|
564
|
-
color?: string
|
|
565
|
-
radius?: number
|
|
566
|
-
clip?: string
|
|
567
|
-
}
|
|
543
|
+
role ? : string
|
|
568
544
|
/**
|
|
569
545
|
* 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`
|
|
570
546
|
*/
|
|
571
547
|
rootElement ? : ShadowRoot|HTMLElement
|
|
572
548
|
/**
|
|
573
549
|
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
574
|
-
* ...
|
|
575
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-rtl)
|
|
550
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-rtl)
|
|
576
551
|
*/
|
|
577
552
|
rtl ? : Boolean
|
|
578
553
|
/**
|
|
@@ -582,8 +557,7 @@ defineProps<{
|
|
|
582
557
|
scrollAction ? : 'hide'|'realign'|null
|
|
583
558
|
/**
|
|
584
559
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
|
|
585
|
-
* ...
|
|
586
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-showAnimation)
|
|
560
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-showAnimation)
|
|
587
561
|
*/
|
|
588
562
|
showAnimation ? : Boolean|object
|
|
589
563
|
/**
|
|
@@ -624,16 +598,14 @@ defineProps<{
|
|
|
624
598
|
/**
|
|
625
599
|
* A flag which indicates whether the date parsing should be strict - meaning if the date
|
|
626
600
|
* is missing a year/month/day part - parsing fails.
|
|
627
|
-
* ...
|
|
628
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-strictParsing)
|
|
601
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-strictParsing)
|
|
629
602
|
*/
|
|
630
603
|
strictParsing ? : Boolean
|
|
631
604
|
/**
|
|
632
605
|
* 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
|
|
633
606
|
* [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
|
|
634
607
|
* this widget:
|
|
635
|
-
* ...
|
|
636
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-tab)
|
|
608
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-tab)
|
|
637
609
|
*/
|
|
638
610
|
tab ? : Boolean|TabConfig
|
|
639
611
|
/**
|
|
@@ -641,14 +613,12 @@ defineProps<{
|
|
|
641
613
|
* is equivalent to natural tab order, but is unnecessary for fields since they are naturally tabbable
|
|
642
614
|
* (i.e., accessible via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set
|
|
643
615
|
* to the element programmatically.
|
|
644
|
-
* ...
|
|
645
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-tabIndex)
|
|
616
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-tabIndex)
|
|
646
617
|
*/
|
|
647
618
|
tabIndex ? : number
|
|
648
619
|
/**
|
|
649
620
|
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
650
|
-
* ...
|
|
651
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-textAlign)
|
|
621
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-textAlign)
|
|
652
622
|
*/
|
|
653
623
|
textAlign ? : 'left'|'center'|'right'|'start'|'end'
|
|
654
624
|
/**
|
|
@@ -657,22 +627,24 @@ defineProps<{
|
|
|
657
627
|
title ? : string
|
|
658
628
|
/**
|
|
659
629
|
* Tooltip for the widget, either as a string or as a Tooltip config object.
|
|
660
|
-
* ...
|
|
661
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-tooltip)
|
|
630
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-tooltip)
|
|
662
631
|
*/
|
|
663
632
|
tooltip ? : string|TooltipConfig|null
|
|
664
633
|
/**
|
|
665
634
|
* Widgets that trigger functionality upon click. Each trigger icon is a [Widget](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget) instance
|
|
666
635
|
* which may be hidden, shown and observed and styled just like any other widget.
|
|
636
|
+
* @property {FieldTriggerConfig} triggers.expand Expands the date picker to select a date
|
|
637
|
+
* @property {FieldTriggerConfig} triggers.back Subtracts the [step](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/DateField#config-step) from the current date
|
|
638
|
+
* @property {FieldTriggerConfig} triggers.forward Adds the [step](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/DateField#config-step) to the current date
|
|
639
|
+
* @property {FieldTriggerConfig} triggers.clear Clears the field value, only available if this field is [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/DateField#config-clearable)
|
|
667
640
|
*/
|
|
668
|
-
triggers ? : Record<string, FieldTriggerConfig
|
|
641
|
+
triggers ? : Record<string, FieldTriggerConfig>
|
|
669
642
|
type ? : 'enddatefield'|'enddate'
|
|
670
643
|
/**
|
|
671
644
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
672
645
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
673
646
|
* values are used as the class names.
|
|
674
|
-
* ...
|
|
675
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-ui)
|
|
647
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-ui)
|
|
676
648
|
*/
|
|
677
649
|
ui ? : string|object
|
|
678
650
|
/**
|
|
@@ -703,14 +675,12 @@ defineProps<{
|
|
|
703
675
|
width ? : string|number
|
|
704
676
|
/**
|
|
705
677
|
* The x position for the widget.
|
|
706
|
-
* ...
|
|
707
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-x)
|
|
678
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-x)
|
|
708
679
|
*/
|
|
709
680
|
x ? : number
|
|
710
681
|
/**
|
|
711
682
|
* The y position for the widget.
|
|
712
|
-
* ...
|
|
713
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-y)
|
|
683
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-y)
|
|
714
684
|
*/
|
|
715
685
|
y ? : number
|
|
716
686
|
|
|
@@ -721,124 +691,102 @@ const emit = defineEmits<{
|
|
|
721
691
|
* User performed default action (typed into this field).
|
|
722
692
|
* @param {string} e Event name
|
|
723
693
|
* @param {object} params Event parameters
|
|
724
|
-
* @param {
|
|
725
|
-
* @param {
|
|
726
|
-
* @param {
|
|
727
|
-
* @param {
|
|
728
|
-
* @param {
|
|
729
|
-
* @param {
|
|
730
|
-
* @param {
|
|
731
|
-
* @param {
|
|
732
|
-
* @param {
|
|
733
|
-
* @param {
|
|
734
|
-
* @param {boolean} params.params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
735
|
-
* @param {boolean} params.params.event.checked
|
|
694
|
+
* @param {object} params.event Event object
|
|
695
|
+
* @param {Core.widget.Field,any} params.event.source This Field
|
|
696
|
+
* @param {string,number,boolean,any} params.event.value This field's value
|
|
697
|
+
* @param {string,number,boolean,any} params.event.oldValue This field's previous value
|
|
698
|
+
* @param {boolean} params.event.valid True if this field is in a valid state
|
|
699
|
+
* @param {Event} params.event.event The triggering DOM event if any
|
|
700
|
+
* @param {Core.data.Model} params.event.record Selected record. Available for fields with records selection functionality
|
|
701
|
+
* @param {Core.data.Model[]} params.event.records Selected records as an array. Available for fields with records selection functionality
|
|
702
|
+
* @param {boolean} params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
703
|
+
* @param {boolean} params.event.checked
|
|
736
704
|
*/
|
|
737
705
|
(e: 'action', params: ((event: { source: Field|any, value: string|number|boolean|any, oldValue: string|number|boolean|any, valid: boolean, event: Event, record: Model, records: Model[], userAction: boolean, checked: boolean }) => void)|string): void
|
|
738
706
|
/**
|
|
739
707
|
* Fires before an object is destroyed.
|
|
740
708
|
* @param {string} e Event name
|
|
741
709
|
* @param {object} params Event parameters
|
|
742
|
-
* @param {
|
|
743
|
-
* @param {
|
|
744
|
-
* @param {object} params.params.event Event object
|
|
745
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
710
|
+
* @param {object} params.event Event object
|
|
711
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
746
712
|
*/
|
|
747
713
|
(e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
|
|
748
714
|
/**
|
|
749
715
|
* Triggered before a widget is hidden. Return `false` to prevent the action.
|
|
750
716
|
* @param {string} e Event name
|
|
751
717
|
* @param {object} params Event parameters
|
|
752
|
-
* @param {
|
|
753
|
-
* @param {
|
|
754
|
-
* @param {object} params.params.event Event object
|
|
755
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being hidden.
|
|
718
|
+
* @param {object} params.event Event object
|
|
719
|
+
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
756
720
|
*/
|
|
757
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
721
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
758
722
|
/**
|
|
759
723
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
760
724
|
* @param {string} e Event name
|
|
761
725
|
* @param {object} params Event parameters
|
|
762
|
-
* @param {
|
|
763
|
-
* @param {
|
|
764
|
-
* @param {object} params.params.event Event object
|
|
765
|
-
* @param {Core.widget.Widget,any} params.params.event.source The widget being shown
|
|
726
|
+
* @param {object} params.event Event object
|
|
727
|
+
* @param {Core.widget.Widget,any} params.event.source The widget being shown
|
|
766
728
|
*/
|
|
767
729
|
(e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
768
730
|
/**
|
|
769
731
|
* Fires when any other event is fired from the object.
|
|
770
|
-
* ...
|
|
771
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#event-catchAll)
|
|
732
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#event-catchAll)
|
|
772
733
|
* @param {string} e Event name
|
|
773
734
|
* @param {object} params Event parameters
|
|
774
|
-
* @param {
|
|
775
|
-
* @param {
|
|
776
|
-
* @param {
|
|
777
|
-
* @param {{[key: string]: any, type: string}} params.params.event.event The Object that contains event details
|
|
778
|
-
* @param {string} params.params.event.event.type The type of the event which is caught by the listener
|
|
735
|
+
* @param {object} params.event Event object
|
|
736
|
+
* @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details
|
|
737
|
+
* @param {string} params.event.event.type The type of the event which is caught by the listener
|
|
779
738
|
*/
|
|
780
739
|
(e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
|
|
781
740
|
/**
|
|
782
741
|
* Fired when this field's value changes.
|
|
783
742
|
* @param {string} e Event name
|
|
784
743
|
* @param {object} params Event parameters
|
|
785
|
-
* @param {
|
|
786
|
-
* @param {
|
|
787
|
-
* @param {
|
|
788
|
-
* @param {
|
|
789
|
-
* @param {
|
|
790
|
-
* @param {
|
|
791
|
-
* @param {boolean} params.
|
|
792
|
-
* @param {
|
|
793
|
-
* @param {boolean} params.params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
794
|
-
* @param {boolean} params.params.event.checked
|
|
744
|
+
* @param {object} params.event Event object
|
|
745
|
+
* @param {Core.widget.DateField} params.event.source This DateField
|
|
746
|
+
* @param {Date} params.event.value This field's value
|
|
747
|
+
* @param {Date} params.event.oldValue This field's previous value
|
|
748
|
+
* @param {boolean} params.event.valid True if this field is in a valid state
|
|
749
|
+
* @param {Event} params.event.event The triggering DOM event if any
|
|
750
|
+
* @param {boolean} params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
751
|
+
* @param {boolean} params.event.checked
|
|
795
752
|
*/
|
|
796
753
|
(e: 'change', params: ((event: { source: DateField, value: Date, oldValue: Date, valid: boolean, event: Event, userAction: boolean, checked: boolean }) => void)|string): void
|
|
797
754
|
/**
|
|
798
755
|
* Fired when this field is [cleared](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#function-clear).
|
|
799
|
-
* ...
|
|
800
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#event-clear)
|
|
756
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#event-clear)
|
|
801
757
|
* @param {string} e Event name
|
|
802
758
|
* @param {object} params Event parameters
|
|
803
|
-
* @param {
|
|
804
|
-
* @param {
|
|
805
|
-
* @param {object} params.params.event Event object
|
|
806
|
-
* @param {Core.widget.Field,any} params.params.event.source This Field
|
|
759
|
+
* @param {object} params.event Event object
|
|
760
|
+
* @param {Core.widget.Field,any} params.event.source This Field
|
|
807
761
|
*/
|
|
808
762
|
(e: 'clear', params: ((event: { source: Field|any }) => void)|string): void
|
|
809
763
|
/**
|
|
810
764
|
* Fires when an object is destroyed.
|
|
811
765
|
* @param {string} e Event name
|
|
812
766
|
* @param {object} params Event parameters
|
|
813
|
-
* @param {
|
|
814
|
-
* @param {
|
|
815
|
-
* @param {object} params.params.event Event object
|
|
816
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
767
|
+
* @param {object} params.event Event object
|
|
768
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
817
769
|
*/
|
|
818
770
|
(e: 'destroy', params: ((event: { source: Base }) => void)|string): void
|
|
819
771
|
/**
|
|
820
772
|
* Triggered when a widget's [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element) is available.
|
|
821
773
|
* @param {string} e Event name
|
|
822
774
|
* @param {object} params Event parameters
|
|
823
|
-
* @param {
|
|
824
|
-
* @param {
|
|
825
|
-
* @param {object} params.params.event Event object
|
|
826
|
-
* @param {HTMLElement} params.params.event.element The Widget's element.
|
|
775
|
+
* @param {object} params.event Event object
|
|
776
|
+
* @param {HTMLElement} params.event.element The Widget's element.
|
|
827
777
|
*/
|
|
828
778
|
(e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void
|
|
829
779
|
/**
|
|
830
780
|
* Fired when focus enters this Widget.
|
|
831
781
|
* @param {string} e Event name
|
|
832
782
|
* @param {object} params Event parameters
|
|
833
|
-
* @param {
|
|
834
|
-
* @param {
|
|
835
|
-
* @param {
|
|
836
|
-
* @param {
|
|
837
|
-
* @param {
|
|
838
|
-
* @param {
|
|
839
|
-
* @param {
|
|
840
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
841
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
783
|
+
* @param {object} params.event Event object
|
|
784
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
785
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
786
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
787
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
788
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
789
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
842
790
|
*/
|
|
843
791
|
(e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
844
792
|
/**
|
|
@@ -847,61 +795,50 @@ const emit = defineEmits<{
|
|
|
847
795
|
* will not trigger this event. This is when focus exits this widget completely.
|
|
848
796
|
* @param {string} e Event name
|
|
849
797
|
* @param {object} params Event parameters
|
|
850
|
-
* @param {
|
|
851
|
-
* @param {
|
|
852
|
-
* @param {
|
|
853
|
-
* @param {
|
|
854
|
-
* @param {
|
|
855
|
-
* @param {
|
|
856
|
-
* @param {
|
|
857
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
858
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
798
|
+
* @param {object} params.event Event object
|
|
799
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
800
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
801
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
802
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
803
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
804
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
859
805
|
*/
|
|
860
806
|
(e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
861
807
|
/**
|
|
862
808
|
* Triggered after a widget was hidden
|
|
863
809
|
* @param {string} e Event name
|
|
864
810
|
* @param {object} params Event parameters
|
|
865
|
-
* @param {
|
|
866
|
-
* @param {
|
|
867
|
-
* @param {object} params.params.event Event object
|
|
868
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
811
|
+
* @param {object} params.event Event object
|
|
812
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
869
813
|
*/
|
|
870
814
|
(e: 'hide', params: ((event: { source: Widget }) => void)|string): void
|
|
871
815
|
/**
|
|
872
816
|
* Fired when the user types into this field.
|
|
873
817
|
* @param {string} e Event name
|
|
874
818
|
* @param {object} params Event parameters
|
|
875
|
-
* @param {
|
|
876
|
-
* @param {
|
|
877
|
-
* @param {
|
|
878
|
-
* @param {
|
|
879
|
-
* @param {string,number,boolean,any} params.params.event.value This field's value
|
|
880
|
-
* @param {Event} params.params.event.event The triggering DOM event
|
|
819
|
+
* @param {object} params.event Event object
|
|
820
|
+
* @param {Core.widget.Field,any} params.event.source This field
|
|
821
|
+
* @param {string,number,boolean,any} params.event.value This field's value
|
|
822
|
+
* @param {Event} params.event.event The triggering DOM event
|
|
881
823
|
*/
|
|
882
824
|
(e: 'input', params: ((event: { source: Field|any, value: string|number|boolean|any, event: Event }) => void)|string): void
|
|
883
825
|
/**
|
|
884
826
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
885
827
|
* achieves visibility.
|
|
886
|
-
* ...
|
|
887
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#event-paint)
|
|
828
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#event-paint)
|
|
888
829
|
* @param {string} e Event name
|
|
889
830
|
* @param {object} params Event parameters
|
|
890
|
-
* @param {
|
|
891
|
-
* @param {
|
|
892
|
-
* @param {
|
|
893
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being painted.
|
|
894
|
-
* @param {boolean} params.params.event.firstPaint `true` if this is the first paint.
|
|
831
|
+
* @param {object} params.event Event object
|
|
832
|
+
* @param {Core.widget.Widget} params.event.source The widget being painted.
|
|
833
|
+
* @param {boolean} params.event.firstPaint `true` if this is the first paint.
|
|
895
834
|
*/
|
|
896
835
|
(e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void
|
|
897
836
|
/**
|
|
898
837
|
* Fired when a Widget's read only state is toggled
|
|
899
838
|
* @param {string} e Event name
|
|
900
839
|
* @param {object} params Event parameters
|
|
901
|
-
* @param {
|
|
902
|
-
* @param {
|
|
903
|
-
* @param {object} params.params.event Event object
|
|
904
|
-
* @param {boolean} params.params.event.readOnly Read only or not
|
|
840
|
+
* @param {object} params.event Event object
|
|
841
|
+
* @param {boolean} params.event.readOnly Read only or not
|
|
905
842
|
*/
|
|
906
843
|
(e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void
|
|
907
844
|
/**
|
|
@@ -913,35 +850,29 @@ const emit = defineEmits<{
|
|
|
913
850
|
* 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`*.
|
|
914
851
|
* @param {string} e Event name
|
|
915
852
|
* @param {object} params Event parameters
|
|
916
|
-
* @param {
|
|
917
|
-
* @param {
|
|
918
|
-
* @param {
|
|
919
|
-
* @param {
|
|
920
|
-
* @param {number} params.
|
|
921
|
-
* @param {number} params.
|
|
922
|
-
* @param {number} params.params.event.oldWidth The old width
|
|
923
|
-
* @param {number} params.params.event.oldHeight The old height
|
|
853
|
+
* @param {object} params.event Event object
|
|
854
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
855
|
+
* @param {number} params.event.width The new width
|
|
856
|
+
* @param {number} params.event.height The new height
|
|
857
|
+
* @param {number} params.event.oldWidth The old width
|
|
858
|
+
* @param {number} params.event.oldHeight The old height
|
|
924
859
|
*/
|
|
925
860
|
(e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
|
|
926
861
|
/**
|
|
927
862
|
* Triggered after a widget is shown.
|
|
928
863
|
* @param {string} e Event name
|
|
929
864
|
* @param {object} params Event parameters
|
|
930
|
-
* @param {
|
|
931
|
-
* @param {
|
|
932
|
-
* @param {object} params.params.event Event object
|
|
933
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
865
|
+
* @param {object} params.event Event object
|
|
866
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
934
867
|
*/
|
|
935
868
|
(e: 'show', params: ((event: { source: Widget }) => void)|string): void
|
|
936
869
|
/**
|
|
937
870
|
* User clicked one of this field's [triggers](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-triggers)
|
|
938
871
|
* @param {string} e Event name
|
|
939
872
|
* @param {object} params Event parameters
|
|
940
|
-
* @param {
|
|
941
|
-
* @param {
|
|
942
|
-
* @param {
|
|
943
|
-
* @param {Core.widget.Field,any} params.params.event.source This field
|
|
944
|
-
* @param {Core.widget.Widget} params.params.event.trigger The trigger activated by click or touch tap.
|
|
873
|
+
* @param {object} params.event Event object
|
|
874
|
+
* @param {Core.widget.Field,any} params.event.source This field
|
|
875
|
+
* @param {Core.widget.Widget} params.event.trigger The trigger activated by click or touch tap.
|
|
945
876
|
*/
|
|
946
877
|
(e: 'trigger', params: ((event: { source: Field|any, trigger: Widget }) => void)|string): void
|
|
947
878
|
}>();
|
|
@@ -961,6 +892,7 @@ const widgetData = {
|
|
|
961
892
|
'autoSelect',
|
|
962
893
|
'bubbleEvents',
|
|
963
894
|
'centered',
|
|
895
|
+
'checkValidity',
|
|
964
896
|
'clearable',
|
|
965
897
|
'color',
|
|
966
898
|
'config',
|
|
@@ -1012,6 +944,7 @@ const widgetData = {
|
|
|
1012
944
|
'relayStoreEvents',
|
|
1013
945
|
'revertOnEscape',
|
|
1014
946
|
'ripple',
|
|
947
|
+
'role',
|
|
1015
948
|
'rootElement',
|
|
1016
949
|
'scrollAction',
|
|
1017
950
|
'showAnimation',
|
|
@@ -1095,9 +1028,7 @@ const widgetData = {
|
|
|
1095
1028
|
'y'
|
|
1096
1029
|
],
|
|
1097
1030
|
propertyNames : [
|
|
1098
|
-
'anchorSize',
|
|
1099
1031
|
'content',
|
|
1100
|
-
'focusVisible',
|
|
1101
1032
|
'formula',
|
|
1102
1033
|
'html',
|
|
1103
1034
|
'input',
|