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