@bryntum/schedulerpro-vue-3-thin 7.2.3 → 7.3.0
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 +7 -7
- package/lib/chunks/{D4JDuI0s.js → B4dVznPx.js} +1 -8
- package/lib/chunks/B4dVznPx.js.map +1 -0
- package/lib/chunks/{BhUeT19h.js → BFFz1c24.js} +5 -5
- package/lib/chunks/BFFz1c24.js.map +1 -0
- package/lib/chunks/{BJPdcix1.js → BIkGnHve.js} +3 -3
- package/lib/chunks/BIkGnHve.js.map +1 -0
- package/lib/chunks/{BRGc8bUJ.js → BNBuOpUp.js} +8 -7
- package/lib/chunks/BNBuOpUp.js.map +1 -0
- package/lib/chunks/{BjTPjWi9.js → Bp7aU5Ia.js} +6 -6
- package/lib/chunks/Bp7aU5Ia.js.map +1 -0
- package/lib/chunks/{CuODT2-U.js → C3Dz-ovY.js} +3 -3
- package/lib/chunks/C3Dz-ovY.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/{DYBe70El.js → CqtUB81W.js} +18 -11
- package/lib/chunks/CqtUB81W.js.map +1 -0
- package/lib/chunks/{C41opZKx.js → CvNpXefN.js} +18 -11
- package/lib/chunks/CvNpXefN.js.map +1 -0
- package/lib/chunks/{BbI7XKMd.js → D0hJ3P6L.js} +5 -3
- package/lib/chunks/D0hJ3P6L.js.map +1 -0
- package/lib/chunks/{BpAvqwr_.js → D1a3F6m-.js} +23 -13
- package/lib/chunks/D1a3F6m-.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/{MOjUZ-Rj.js → DdbMybqv.js} +5 -5
- package/lib/chunks/DdbMybqv.js.map +1 -0
- package/lib/chunks/{DGV7a5Xo.js → DjFBhm9P.js} +6 -6
- package/lib/chunks/DjFBhm9P.js.map +1 -0
- package/lib/chunks/{Dz-up1_i.js → DmFXOMJ5.js} +5 -5
- package/lib/chunks/DmFXOMJ5.js.map +1 -0
- package/lib/chunks/{DwzPrR90.js → Pb5GbfMi.js} +5 -5
- package/lib/chunks/Pb5GbfMi.js.map +1 -0
- package/lib/chunks/{M0cBUV91.js → W-pa3HyX.js} +6 -6
- package/lib/chunks/W-pa3HyX.js.map +1 -0
- package/lib/chunks/{CJFZbm_i.js → b8yreHIz.js} +23 -13
- package/lib/chunks/b8yreHIz.js.map +1 -0
- package/lib/chunks/{9jfNe_y3.js → oM3gO3yH.js} +14 -8
- package/lib/chunks/oM3gO3yH.js.map +1 -0
- package/lib/chunks/{BO8FwQoh.js → p1r0F5YC.js} +6 -6
- package/lib/chunks/p1r0F5YC.js.map +1 -0
- package/lib/chunks/{DlNFp5e-.js → s35t-2ke.js} +10 -10
- package/lib/chunks/s35t-2ke.js.map +1 -0
- package/lib/chunks/{j8JzZ-07.js → yF4wtntA.js} +4 -4
- package/lib/chunks/yF4wtntA.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 +127 -186
- package/src/components/BryntumCalendarEditorProps.ts +123 -177
- package/src/components/BryntumCalendarField.vue +91 -151
- package/src/components/BryntumCalendarFieldProps.ts +87 -143
- package/src/components/BryntumConstraintTypePicker.vue +91 -151
- package/src/components/BryntumConstraintTypePickerProps.ts +87 -143
- package/src/components/BryntumCostAccrualField.vue +91 -151
- package/src/components/BryntumCostAccrualFieldProps.ts +87 -143
- package/src/components/BryntumDependencyTypePicker.vue +91 -151
- package/src/components/BryntumDependencyTypePickerProps.ts +87 -143
- package/src/components/BryntumEffortField.vue +79 -124
- package/src/components/BryntumEffortFieldProps.ts +73 -114
- package/src/components/BryntumEndDateField.vue +79 -122
- package/src/components/BryntumEndDateFieldProps.ts +75 -114
- package/src/components/BryntumModelCombo.vue +91 -151
- package/src/components/BryntumModelComboProps.ts +87 -143
- package/src/components/BryntumRateTableField.vue +91 -151
- package/src/components/BryntumRateTableFieldProps.ts +87 -143
- package/src/components/BryntumResourceEditor.vue +126 -184
- package/src/components/BryntumResourceEditorProps.ts +122 -175
- package/src/components/BryntumResourceGrid.vue +204 -293
- package/src/components/BryntumResourceGridProps.ts +187 -263
- package/src/components/BryntumResourceHistogram.vue +338 -461
- package/src/components/BryntumResourceHistogramProps.ts +287 -402
- package/src/components/BryntumResourceTypeField.vue +91 -151
- package/src/components/BryntumResourceTypeFieldProps.ts +87 -143
- package/src/components/BryntumResourceUtilization.vue +338 -461
- package/src/components/BryntumResourceUtilizationProps.ts +288 -404
- package/src/components/BryntumSchedulerPro.vue +507 -646
- package/src/components/BryntumSchedulerProBase.vue +507 -646
- package/src/components/BryntumSchedulerProBaseProps.ts +408 -556
- package/src/components/BryntumSchedulerProProjectModel.vue +63 -107
- package/src/components/BryntumSchedulerProProjectModelProps.ts +55 -85
- package/src/components/BryntumSchedulerProProps.ts +408 -556
- package/src/components/BryntumSchedulingDirectionPicker.vue +91 -151
- package/src/components/BryntumSchedulingDirectionPickerProps.ts +87 -143
- package/src/components/BryntumSchedulingModePicker.vue +92 -153
- package/src/components/BryntumSchedulingModePickerProps.ts +88 -145
- package/src/components/BryntumStartDateField.vue +81 -126
- package/src/components/BryntumStartDateFieldProps.ts +77 -118
- package/src/components/BryntumThemeCombo.vue +60 -0
- package/src/components/BryntumTimeline.vue +428 -597
- package/src/components/BryntumTimelineProps.ts +366 -519
- package/src/components/BryntumVersionGrid.vue +203 -290
- 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, Container, DomConfig, KeyMapConfig, MaskConfig, MenuItemEntry, Model, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Popup, Rectangle, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
13
|
+
import type { AlignSpec, Base, Color, Container, DomConfig, KeyMapConfig, MaskConfig, MenuItemEntry, Model, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Popup, ReactJSX, Rectangle, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
14
14
|
import type { SchedulerProContainerItemConfig, SchedulerProContainerLayoutConfig, ResourceEditorListeners, ResourceModel } from '@bryntum/schedulerpro-thin';
|
|
15
15
|
import { ResourceEditor } 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/ResourceEditor#config-adopt)
|
|
24
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#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/ResourceEditor#config-align)
|
|
29
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-align)
|
|
32
30
|
*/
|
|
33
31
|
align ? : AlignSpec|string
|
|
34
32
|
/**
|
|
@@ -50,22 +48,19 @@ 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/ResourceEditor#config-ariaDescription)
|
|
51
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#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/ResourceEditor#config-ariaLabel)
|
|
57
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-ariaLabel)
|
|
62
58
|
*/
|
|
63
59
|
ariaLabel ? : string
|
|
64
60
|
/**
|
|
65
61
|
* By default, a Popup is transient, and will [close](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Popup#function-close) when the user clicks or
|
|
66
62
|
* taps outside its owned widgets and when focus moves outside its owned widgets.
|
|
67
|
-
* ...
|
|
68
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-autoClose)
|
|
63
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-autoClose)
|
|
69
64
|
*/
|
|
70
65
|
autoClose ? : Boolean
|
|
71
66
|
/**
|
|
@@ -80,14 +75,12 @@ defineProps<{
|
|
|
80
75
|
/**
|
|
81
76
|
* A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Toolbar),
|
|
82
77
|
* or array of config objects representing the child items of a Toolbar. Another way to add a bbar is to use [strips](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-strips).
|
|
83
|
-
* ...
|
|
84
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-bbar)
|
|
78
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-bbar)
|
|
85
79
|
*/
|
|
86
80
|
bbar ? : (SchedulerProContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null
|
|
87
81
|
/**
|
|
88
82
|
* Custom CSS classes to add to the panel's body element.
|
|
89
|
-
* ...
|
|
90
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-bodyCls)
|
|
83
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-bodyCls)
|
|
91
84
|
*/
|
|
92
85
|
bodyCls ? : string|object
|
|
93
86
|
/**
|
|
@@ -97,21 +90,18 @@ defineProps<{
|
|
|
97
90
|
/**
|
|
98
91
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
99
92
|
* hierarchy when triggered.
|
|
100
|
-
* ...
|
|
101
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-bubbleEvents)
|
|
93
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-bubbleEvents)
|
|
102
94
|
*/
|
|
103
95
|
bubbleEvents ? : object
|
|
104
96
|
/**
|
|
105
97
|
* Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
|
|
106
|
-
* ...
|
|
107
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-callOnFunctions)
|
|
98
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-callOnFunctions)
|
|
108
99
|
*/
|
|
109
100
|
callOnFunctions ? : Boolean
|
|
110
101
|
/**
|
|
111
102
|
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
112
103
|
* application state is undefined. Code which follows the event handler will *not* be executed.
|
|
113
|
-
* ...
|
|
114
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-catchEventHandlerExceptions)
|
|
104
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-catchEventHandlerExceptions)
|
|
115
105
|
*/
|
|
116
106
|
catchEventHandlerExceptions ? : Boolean
|
|
117
107
|
/**
|
|
@@ -129,8 +119,7 @@ defineProps<{
|
|
|
129
119
|
/**
|
|
130
120
|
* The action to take when calling the [close](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Popup#function-close) method.
|
|
131
121
|
* By default, the popup is hidden.
|
|
132
|
-
* ...
|
|
133
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-closeAction)
|
|
122
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-closeAction)
|
|
134
123
|
*/
|
|
135
124
|
closeAction ? : 'hide'|'destroy'
|
|
136
125
|
/**
|
|
@@ -141,8 +130,7 @@ defineProps<{
|
|
|
141
130
|
* Custom CSS classes to add to element.
|
|
142
131
|
* May be specified as a space separated string, or as an object in which property names
|
|
143
132
|
* with truthy values are used as the class names:
|
|
144
|
-
* ...
|
|
145
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-cls)
|
|
133
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-cls)
|
|
146
134
|
*/
|
|
147
135
|
cls ? : string|object
|
|
148
136
|
/**
|
|
@@ -152,15 +140,13 @@ defineProps<{
|
|
|
152
140
|
collapsed ? : Boolean
|
|
153
141
|
/**
|
|
154
142
|
* This config enables collapsibility for the panel. See [collapsed](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-collapsed).
|
|
155
|
-
* ...
|
|
156
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-collapsible)
|
|
143
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-collapsible)
|
|
157
144
|
*/
|
|
158
145
|
collapsible ? : Boolean|PanelCollapserConfig|PanelCollapserOverlayConfig
|
|
159
146
|
/**
|
|
160
147
|
* Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
|
|
161
148
|
* `style` block.
|
|
162
|
-
* ...
|
|
163
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-color)
|
|
149
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-color)
|
|
164
150
|
*/
|
|
165
151
|
color ? : Color
|
|
166
152
|
/**
|
|
@@ -184,8 +170,7 @@ defineProps<{
|
|
|
184
170
|
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement).
|
|
185
171
|
* May be specified as a space separated string, or as an object in which property names
|
|
186
172
|
* with truthy values are used as the class names:
|
|
187
|
-
* ...
|
|
188
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-contentElementCls)
|
|
173
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-contentElementCls)
|
|
189
174
|
*/
|
|
190
175
|
contentElementCls ? : string|object
|
|
191
176
|
/**
|
|
@@ -205,8 +190,7 @@ defineProps<{
|
|
|
205
190
|
/**
|
|
206
191
|
* A [query](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#function-query) selector function which can identify the descendant widget to which
|
|
207
192
|
* focus should be directed by default.
|
|
208
|
-
* ...
|
|
209
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-defaultFocus)
|
|
193
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-defaultFocus)
|
|
210
194
|
* @param {Core.widget.Widget} widget Widget passed to method
|
|
211
195
|
* @returns {boolean} truthy value if widget is the default one
|
|
212
196
|
*/
|
|
@@ -216,16 +200,15 @@ defineProps<{
|
|
|
216
200
|
*/
|
|
217
201
|
defaults ? : SchedulerProContainerItemConfig
|
|
218
202
|
/**
|
|
219
|
-
* Check for CSS compatibility issues
|
|
220
|
-
*
|
|
221
|
-
* [
|
|
203
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
204
|
+
* checks:
|
|
205
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-detectCSSCompatibilityIssues)
|
|
222
206
|
*/
|
|
223
207
|
detectCSSCompatibilityIssues ? : Boolean
|
|
224
208
|
/**
|
|
225
209
|
* 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
|
|
226
210
|
* cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
|
|
227
|
-
* ...
|
|
228
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-disabled)
|
|
211
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-disabled)
|
|
229
212
|
*/
|
|
230
213
|
disabled ? : Boolean|'inert'
|
|
231
214
|
/**
|
|
@@ -233,35 +216,31 @@ defineProps<{
|
|
|
233
216
|
* [strips collection](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
234
217
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
235
218
|
* body. Such widgets are called "edge strips".
|
|
236
|
-
* ...
|
|
237
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-dock)
|
|
219
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-dock)
|
|
238
220
|
*/
|
|
239
221
|
dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
240
222
|
/**
|
|
241
223
|
* Set to `false` to prevent dragging the popup element.
|
|
224
|
+
* @property {string} handleSelector CSS selector used to determine if a drag operation can be started from a mouse-downed element inside the popup
|
|
242
225
|
*/
|
|
243
|
-
draggable ? : Boolean|
|
|
244
|
-
handleSelector?: string
|
|
245
|
-
}
|
|
226
|
+
draggable ? : Boolean|object
|
|
246
227
|
/**
|
|
247
228
|
* Make this Panel a docked drawer which slides out from one side of the browser viewport by default.
|
|
248
|
-
* ...
|
|
249
|
-
* [
|
|
250
|
-
* @param {
|
|
251
|
-
* @param {
|
|
252
|
-
* @param {boolean}
|
|
253
|
-
* @param {boolean,
|
|
254
|
-
* @param {boolean,string} autoClose.
|
|
255
|
-
* @param {
|
|
256
|
-
* @param {
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
drawer ? : Boolean|{side?: 'start'|'left'|'end'|'right'|'top'|'bottom', size?: string|number, inline?: Boolean, autoClose: { mousedown?: Boolean|string, focusout?: Boolean|string, mouseout?: string }, autoCloseDelay?: number}
|
|
229
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-drawer)
|
|
230
|
+
* @param {'start','left','end','right','top','bottom'} [side] The side of the viewport to dock the drawer to. * `'start'` means the `inline-start` side. * `'end'` means the `inline-end` side.
|
|
231
|
+
* @param {string,number} [size] The size of the drawer in its collapsible axis.
|
|
232
|
+
* @param {boolean} [inline] If using the [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-appendTo) config to place the drawer inside a host widget, this may be set to `true` to make the drawer inline within that host. Note that, if using this, the layout of the host element must have `flex-direction` set appropriately.
|
|
233
|
+
* @param {boolean,object} [autoClose] Specifies what user actions should automatically close the drawer. Defaults to closing when the user clicks outside of the drawer or when focus moves outside of the drawer.
|
|
234
|
+
* @param {boolean,string} [autoClose.mousedown] If the user clicks outside of the drawer, the drawer will automatically be hidden. If the value is a string, it is used as a CSS selector to filter clicks which should close the drawer.
|
|
235
|
+
* @param {boolean,string} [autoClose.focusout] If focus moves outside of the drawer, the drawer will automatically be hidden.
|
|
236
|
+
* @param {string} [autoClose.mouseout] Hides the drawer when the mouse leaves the drawer after the `autoCloseDelay` period.
|
|
237
|
+
* @param {number} [autoCloseDelay] When using `mouseout`, this is the delay in milliseconds
|
|
238
|
+
*/
|
|
239
|
+
drawer ? : Boolean|{ side?: 'start'|'left'|'end'|'right'|'top'|'bottom', size?: string|number, inline?: Boolean, autoClose?: Boolean|{ mousedown?: Boolean|string, focusout?: Boolean|string, mouseout?: string }, autoCloseDelay?: number }
|
|
260
240
|
/**
|
|
261
241
|
* An object specifying attributes to assign to the root element of this widget.
|
|
262
242
|
* Set `null` value to attribute to remove it.
|
|
263
|
-
* ...
|
|
264
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-elementAttributes)
|
|
243
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-elementAttributes)
|
|
265
244
|
*/
|
|
266
245
|
elementAttributes ? : Record<string, string|null>
|
|
267
246
|
extraData ? : any
|
|
@@ -286,22 +265,19 @@ defineProps<{
|
|
|
286
265
|
/**
|
|
287
266
|
* Config object of a footer. May contain a `dock`, `html` and a `cls` property. A footer is not a widget,
|
|
288
267
|
* but rather plain HTML that follows the last element of the panel's body and [strips](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-strips).
|
|
289
|
-
* ...
|
|
290
|
-
*
|
|
268
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-footer)
|
|
269
|
+
* @property {'top','right','bottom','left','start','end'} dock Where to dock
|
|
270
|
+
* @property {string} html Html to populate the footer with
|
|
271
|
+
* @property {string} cls CSS class to add to the footer
|
|
291
272
|
*/
|
|
292
|
-
footer ? :
|
|
293
|
-
dock?: 'top'|'right'|'bottom'|'left'|'start'|'end'
|
|
294
|
-
html?: string
|
|
295
|
-
cls?: string
|
|
296
|
-
}|string
|
|
273
|
+
footer ? : object|string
|
|
297
274
|
/**
|
|
298
275
|
* DOM element to attach popup.
|
|
299
276
|
*/
|
|
300
277
|
forElement ? : HTMLElement
|
|
301
278
|
/**
|
|
302
279
|
* A config [object](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#typedef-PanelHeader) for the panel's header or a string in place of a `title`.
|
|
303
|
-
* ...
|
|
304
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-header)
|
|
280
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-header)
|
|
305
281
|
*/
|
|
306
282
|
header ? : string|Boolean|PanelHeader
|
|
307
283
|
/**
|
|
@@ -316,25 +292,21 @@ defineProps<{
|
|
|
316
292
|
hidden ? : Boolean
|
|
317
293
|
/**
|
|
318
294
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
|
|
319
|
-
* ...
|
|
320
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-hideAnimation)
|
|
295
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-hideAnimation)
|
|
321
296
|
*/
|
|
322
297
|
hideAnimation ? : Boolean|object
|
|
323
298
|
/**
|
|
324
299
|
* Specify `true` to make this container hide when it has no visible children (Either empty
|
|
325
300
|
* or all children hidden).
|
|
326
|
-
* ...
|
|
327
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-hideWhenEmpty)
|
|
301
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-hideWhenEmpty)
|
|
328
302
|
*/
|
|
329
303
|
hideWhenEmpty ? : Boolean
|
|
330
304
|
/**
|
|
331
305
|
* The HTML to display initially or a function returning the markup (called at widget construction time).
|
|
332
|
-
* ...
|
|
333
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-html)
|
|
306
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-html)
|
|
334
307
|
* @param {Core.widget.Widget} widget The calling Widget
|
|
335
|
-
* @returns {string}
|
|
336
308
|
*/
|
|
337
|
-
html ? : string|((widget: Widget) =>
|
|
309
|
+
html ? : string|((widget: Widget) => void)|DomConfig|DomConfig[]|VueConfig|ReactJSX
|
|
338
310
|
/**
|
|
339
311
|
* The CSS class(es) to add when HTML content is being applied to this widget.
|
|
340
312
|
*/
|
|
@@ -350,16 +322,14 @@ defineProps<{
|
|
|
350
322
|
id ? : string
|
|
351
323
|
/**
|
|
352
324
|
* Determines if the widgets read-only state should be controlled by its parent.
|
|
353
|
-
* ...
|
|
354
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-ignoreParentReadOnly)
|
|
325
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-ignoreParentReadOnly)
|
|
355
326
|
*/
|
|
356
327
|
ignoreParentReadOnly ? : Boolean
|
|
357
328
|
/**
|
|
358
329
|
* Convenience setting to align input fields of child widgets. By default, the Field input element is
|
|
359
330
|
* placed immediately following the `label`. If you prefer to have all input fields aligned to the
|
|
360
331
|
* right, set this config to `'end'`.
|
|
361
|
-
* ...
|
|
362
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-inputFieldAlign)
|
|
332
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-inputFieldAlign)
|
|
363
333
|
*/
|
|
364
334
|
inputFieldAlign ? : 'start'|'end'
|
|
365
335
|
/**
|
|
@@ -377,55 +347,52 @@ defineProps<{
|
|
|
377
347
|
/**
|
|
378
348
|
* An object containing typed child widget config objects or Widgets. May also be specified
|
|
379
349
|
* as an array.
|
|
380
|
-
* ...
|
|
381
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-items)
|
|
350
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-items)
|
|
382
351
|
*/
|
|
383
352
|
items ? : Record<string, SchedulerProContainerItemConfig|MenuItemEntry>|(SchedulerProContainerItemConfig|MenuItemEntry|Widget)[]
|
|
384
353
|
/**
|
|
385
354
|
* An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
|
|
386
355
|
* and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
|
|
387
356
|
* are the name of the instance method to call when the keystroke is received.
|
|
388
|
-
* ...
|
|
389
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-keyMap)
|
|
357
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-keyMap)
|
|
390
358
|
*/
|
|
391
359
|
keyMap ? : Record<string, KeyMapConfig>
|
|
392
360
|
/**
|
|
393
361
|
* Convenience setting to use same label placement on all child widgets.
|
|
394
|
-
* ...
|
|
395
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-labelPosition)
|
|
362
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-labelPosition)
|
|
396
363
|
*/
|
|
397
364
|
labelPosition ? : 'before'|'above'|'align-before'|'auto'|null
|
|
365
|
+
/**
|
|
366
|
+
* Sets `labelWidth´ for all children of this Container, that does not define their own `labelWidth`.
|
|
367
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-labelWidth)
|
|
368
|
+
*/
|
|
369
|
+
labelWidth ? : number|null
|
|
398
370
|
/**
|
|
399
371
|
* The short name of a helper class which manages rendering and styling of child items.
|
|
400
|
-
* ...
|
|
401
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-layout)
|
|
372
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-layout)
|
|
402
373
|
*/
|
|
403
374
|
layout ? : string|SchedulerProContainerLayoutConfig
|
|
404
375
|
/**
|
|
405
376
|
* The CSS style properties to apply to the [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement).
|
|
406
|
-
* ...
|
|
407
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-layoutStyle)
|
|
377
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-layoutStyle)
|
|
408
378
|
*/
|
|
409
379
|
layoutStyle ? : object
|
|
410
380
|
/**
|
|
411
381
|
* An array of [child item](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#config-items) *config objects* which is to be converted into
|
|
412
382
|
* instances only when this Container is rendered, rather than eagerly at construct time.
|
|
413
|
-
* ...
|
|
414
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-lazyItems)
|
|
383
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-lazyItems)
|
|
415
384
|
*/
|
|
416
385
|
lazyItems ? : Record<string, SchedulerProContainerItemConfig>|SchedulerProContainerItemConfig[]|Widget[]
|
|
417
386
|
/**
|
|
418
387
|
* The listener set for this object.
|
|
419
|
-
* ...
|
|
420
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-listeners)
|
|
388
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-listeners)
|
|
421
389
|
*/
|
|
422
390
|
listeners ? : ResourceEditorListeners
|
|
423
391
|
/**
|
|
424
392
|
* A class translations of which are used for translating this entity.
|
|
425
393
|
* This is often used when translations of an item are defined on its container class.
|
|
426
394
|
* For example:
|
|
427
|
-
* ...
|
|
428
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-localeClass)
|
|
395
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-localeClass)
|
|
429
396
|
*/
|
|
430
397
|
localeClass ? : typeof Base
|
|
431
398
|
/**
|
|
@@ -437,8 +404,7 @@ defineProps<{
|
|
|
437
404
|
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
438
405
|
* you could use 'localeKey' meta configuration.
|
|
439
406
|
* Example:
|
|
440
|
-
* ...
|
|
441
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-localizableProperties)
|
|
407
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-localizableProperties)
|
|
442
408
|
*/
|
|
443
409
|
localizableProperties ? : string[]
|
|
444
410
|
/**
|
|
@@ -472,8 +438,7 @@ defineProps<{
|
|
|
472
438
|
maximized ? : Boolean
|
|
473
439
|
/**
|
|
474
440
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
|
|
475
|
-
* ...
|
|
476
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-maximizeOnMobile)
|
|
441
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-maximizeOnMobile)
|
|
477
442
|
*/
|
|
478
443
|
maximizeOnMobile ? : number|string
|
|
479
444
|
/**
|
|
@@ -494,37 +459,31 @@ defineProps<{
|
|
|
494
459
|
/**
|
|
495
460
|
* Optionally show an opaque mask below this Popup when shown.
|
|
496
461
|
* Configure this as `true` to show the mask.
|
|
497
|
-
* ...
|
|
498
|
-
* [
|
|
462
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-modal)
|
|
463
|
+
* @property {boolean} [closeOnMaskTap] Specify as `true` to close when mask is tapped.
|
|
464
|
+
* @property {boolean} [transparent] Specify as `true` to use a transparent mask.
|
|
499
465
|
*/
|
|
500
|
-
modal ? : Boolean|
|
|
501
|
-
closeOnMaskTap?: Boolean
|
|
502
|
-
transparent?: Boolean
|
|
503
|
-
}
|
|
466
|
+
modal ? : Boolean|object
|
|
504
467
|
/**
|
|
505
468
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
506
469
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
507
470
|
* layout.
|
|
508
|
-
* ...
|
|
509
|
-
*
|
|
471
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-monitorResize)
|
|
472
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
510
473
|
*/
|
|
511
|
-
monitorResize ? : Boolean|
|
|
512
|
-
immediate?: Boolean
|
|
513
|
-
}
|
|
474
|
+
monitorResize ? : Boolean|object
|
|
514
475
|
/**
|
|
515
476
|
* An object containing default config objects which may be referenced by name in the [items](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#config-items)
|
|
516
477
|
* config. For example, a specialized [Menu](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Menu) subclass may have a `namedItems` default
|
|
517
478
|
* value defined like this:
|
|
518
|
-
* ...
|
|
519
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-namedItems)
|
|
479
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-namedItems)
|
|
520
480
|
*/
|
|
521
481
|
namedItems ? : Record<string, SchedulerProContainerItemConfig>
|
|
522
482
|
/**
|
|
523
483
|
* 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
|
|
524
484
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
525
485
|
* widget's [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement).
|
|
526
|
-
* ...
|
|
527
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-positioned)
|
|
486
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-positioned)
|
|
528
487
|
*/
|
|
529
488
|
positioned ? : Boolean
|
|
530
489
|
/**
|
|
@@ -535,37 +494,40 @@ defineProps<{
|
|
|
535
494
|
/**
|
|
536
495
|
* Whether this widget is read-only. This is only valid if the widget is an input
|
|
537
496
|
* field, <strong>or contains input fields at any depth</strong>.
|
|
538
|
-
* ...
|
|
539
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-readOnly)
|
|
497
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-readOnly)
|
|
540
498
|
*/
|
|
541
499
|
readOnly ? : Boolean
|
|
542
500
|
/**
|
|
543
501
|
* [Record](https://bryntum.com/products/schedulerpro/docs/api/Core/data/Model) whose values will be used to populate fields in the container.
|
|
544
|
-
* ...
|
|
545
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-record)
|
|
502
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-record)
|
|
546
503
|
*/
|
|
547
504
|
record ? : Model
|
|
548
505
|
relayStoreEvents ? : Boolean
|
|
549
506
|
/**
|
|
550
507
|
* Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget
|
|
551
508
|
* `type`.
|
|
552
|
-
* ...
|
|
553
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-rendition)
|
|
509
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-rendition)
|
|
554
510
|
*/
|
|
555
511
|
rendition ? : string|Record<string, string>|null
|
|
556
512
|
/**
|
|
557
513
|
* Configure this property to allow the widget/component to be resized. Pressing <kbd>Shift</kbd> while resizing will
|
|
558
514
|
* constrain the aspect ratio.
|
|
559
|
-
* ...
|
|
560
|
-
* [
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
515
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-resizable)
|
|
516
|
+
* @property {number} [resizable.minWidth] The minimum width of the element.
|
|
517
|
+
* @property {number} [resizable.maxWidth] The maximum width of the element.
|
|
518
|
+
* @property {number} [resizable.minHeight] The minimum height of the element.
|
|
519
|
+
* @property {number} [resizable.maxHeight] The maximum height of the element
|
|
520
|
+
* @property {object} [resizable.handles] An object controlling which edges/corners are resizable.
|
|
521
|
+
* @property {boolean} [resizable.handles.topStart] Resizable from top-start corner
|
|
522
|
+
* @property {boolean} [resizable.handles.top] Resizable from top edge
|
|
523
|
+
* @property {boolean} [resizable.handles.topEnd] Resizable from top-end corner
|
|
524
|
+
* @property {boolean} [resizable.handles.end] Resizable from end edge
|
|
525
|
+
* @property {boolean} [resizable.handles.bottomEnd] Resizable from bottom-end corner
|
|
526
|
+
* @property {boolean} [resizable.handles.bottom] Resizable from bottom edge
|
|
527
|
+
* @property {boolean} [resizable.handles.bottomStart] Resizable from bottom-start corner
|
|
528
|
+
* @property {boolean} [resizable.handles.start] Resizable from start edge
|
|
529
|
+
*/
|
|
530
|
+
resizable ? : Boolean|{ minWidth?: number, maxWidth?: number, minHeight?: number, maxHeight?: number, handles?: { topStart?: Boolean, top?: Boolean, topEnd?: Boolean, end?: Boolean, bottomEnd?: Boolean, bottom?: Boolean, bottomStart?: Boolean, start?: Boolean } }
|
|
569
531
|
/**
|
|
570
532
|
* A resource to edit.
|
|
571
533
|
*/
|
|
@@ -574,23 +536,26 @@ defineProps<{
|
|
|
574
536
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
575
537
|
* [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
|
|
576
538
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
577
|
-
* ...
|
|
578
|
-
* [
|
|
539
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-ripple)
|
|
540
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
541
|
+
* @property {string} [color] A CSS color name or specification.
|
|
542
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
543
|
+
* @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.
|
|
544
|
+
*/
|
|
545
|
+
ripple ? : Boolean|object
|
|
546
|
+
/**
|
|
547
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
548
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
549
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-role)
|
|
579
550
|
*/
|
|
580
|
-
|
|
581
|
-
delegate?: string
|
|
582
|
-
color?: string
|
|
583
|
-
radius?: number
|
|
584
|
-
clip?: string
|
|
585
|
-
}
|
|
551
|
+
role ? : string
|
|
586
552
|
/**
|
|
587
553
|
* 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`
|
|
588
554
|
*/
|
|
589
555
|
rootElement ? : ShadowRoot|HTMLElement
|
|
590
556
|
/**
|
|
591
557
|
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
592
|
-
* ...
|
|
593
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-rtl)
|
|
558
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-rtl)
|
|
594
559
|
*/
|
|
595
560
|
rtl ? : Boolean
|
|
596
561
|
/**
|
|
@@ -598,8 +563,7 @@ defineProps<{
|
|
|
598
563
|
* in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
|
|
599
564
|
* applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
|
|
600
565
|
* CSS overflow properties thus:
|
|
601
|
-
* ...
|
|
602
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-scrollable)
|
|
566
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-scrollable)
|
|
603
567
|
*/
|
|
604
568
|
scrollable ? : Boolean|ScrollerConfig|Scroller
|
|
605
569
|
/**
|
|
@@ -609,8 +573,7 @@ defineProps<{
|
|
|
609
573
|
scrollAction ? : 'hide'|'realign'|null
|
|
610
574
|
/**
|
|
611
575
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
|
|
612
|
-
* ...
|
|
613
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-showAnimation)
|
|
576
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-showAnimation)
|
|
614
577
|
*/
|
|
615
578
|
showAnimation ? : Boolean|object
|
|
616
579
|
/**
|
|
@@ -628,30 +591,26 @@ defineProps<{
|
|
|
628
591
|
span ? : number
|
|
629
592
|
/**
|
|
630
593
|
* This value can be one of the following:
|
|
631
|
-
* ...
|
|
632
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-stateful)
|
|
594
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-stateful)
|
|
633
595
|
*/
|
|
634
596
|
stateful ? : Boolean|object|string[]
|
|
635
597
|
/**
|
|
636
598
|
* The events that, when fired by this component, should trigger it to save its state by calling
|
|
637
599
|
* [saveState](https://bryntum.com/products/schedulerpro/docs/api/Core/mixin/State#function-saveState).
|
|
638
|
-
* ...
|
|
639
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-statefulEvents)
|
|
600
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-statefulEvents)
|
|
640
601
|
*/
|
|
641
602
|
statefulEvents ? : object|string[]
|
|
642
603
|
/**
|
|
643
604
|
* The key to use when saving this object's state in the [stateProvider](https://bryntum.com/products/schedulerpro/docs/api/Core/mixin/State#config-stateProvider). If this config is
|
|
644
605
|
* not assigned, and [stateful](https://bryntum.com/products/schedulerpro/docs/api/Core/mixin/State#config-stateful) is not set to `false`, the [id](#Core/widget/Widget#config-id)
|
|
645
606
|
* (if explicitly specified) will be used as the `stateId`.
|
|
646
|
-
* ...
|
|
647
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-stateId)
|
|
607
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-stateId)
|
|
648
608
|
*/
|
|
649
609
|
stateId ? : string
|
|
650
610
|
/**
|
|
651
611
|
* The `StateProvider` to use to save and restore this object's [state](https://bryntum.com/products/schedulerpro/docs/api/Core/mixin/State#property-state). By default, `state`
|
|
652
612
|
* will be saved using the [default state provider](https://bryntum.com/products/schedulerpro/docs/api/Core/state/StateProvider#property-instance-static).
|
|
653
|
-
* ...
|
|
654
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-stateProvider)
|
|
613
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-stateProvider)
|
|
655
614
|
*/
|
|
656
615
|
stateProvider ? : StateProvider
|
|
657
616
|
/**
|
|
@@ -663,23 +622,20 @@ defineProps<{
|
|
|
663
622
|
* An object containing widgets keyed by name. By default (when no `type` is given), strips are
|
|
664
623
|
* [toolbars](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Toolbar). If you want to pass an array, you can use
|
|
665
624
|
* the toolbar's [items](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#config-items).
|
|
666
|
-
* ...
|
|
667
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-strips)
|
|
625
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-strips)
|
|
668
626
|
*/
|
|
669
627
|
strips ? : Record<string, SchedulerProContainerItemConfig>
|
|
670
628
|
/**
|
|
671
629
|
* 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
|
|
672
630
|
* [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
|
|
673
631
|
* this widget:
|
|
674
|
-
* ...
|
|
675
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-tab)
|
|
632
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-tab)
|
|
676
633
|
*/
|
|
677
634
|
tab ? : Boolean|TabConfig
|
|
678
635
|
/**
|
|
679
636
|
* When this container is used as a tab in a TabPanel, these items are added to the
|
|
680
637
|
* [TabBar](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/TabBar) when this container is the active tab.
|
|
681
|
-
* ...
|
|
682
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-tabBarItems)
|
|
638
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-tabBarItems)
|
|
683
639
|
*/
|
|
684
640
|
tabBarItems ? : ToolbarItems[]|Widget[]
|
|
685
641
|
/**
|
|
@@ -690,42 +646,36 @@ defineProps<{
|
|
|
690
646
|
* A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Toolbar),
|
|
691
647
|
* or array of config objects representing the child items of a Toolbar.
|
|
692
648
|
* This creates a toolbar docked to the top of the panel immediately below the header.
|
|
693
|
-
* ...
|
|
694
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-tbar)
|
|
649
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-tbar)
|
|
695
650
|
*/
|
|
696
651
|
tbar ? : (SchedulerProContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null
|
|
697
652
|
/**
|
|
698
653
|
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
699
|
-
* ...
|
|
700
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-textAlign)
|
|
654
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-textAlign)
|
|
701
655
|
*/
|
|
702
656
|
textAlign ? : 'left'|'center'|'right'|'start'|'end'
|
|
703
657
|
/**
|
|
704
658
|
* Specify `true` for a container used to show text markup. It will apply the CSS class `b-text-content`
|
|
705
659
|
* which specifies a default max-width that makes long text more readable.
|
|
706
|
-
* ...
|
|
707
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-textContent)
|
|
660
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-textContent)
|
|
708
661
|
*/
|
|
709
662
|
textContent ? : Boolean
|
|
710
663
|
/**
|
|
711
664
|
* A title to display in the header or owning TabPanel. Causes creation and docking of a header
|
|
712
665
|
* to the top if no header is configured.
|
|
713
|
-
* ...
|
|
714
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-title)
|
|
666
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-title)
|
|
715
667
|
*/
|
|
716
668
|
title ? : string
|
|
717
669
|
/**
|
|
718
670
|
* The [tools](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Tool) to add either before or after the `title` in the Panel header. Each
|
|
719
671
|
* property name is the reference by which an instantiated tool may be retrieved from the live
|
|
720
672
|
* `[tools](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/mixin/Toolable#property-tools)` property.
|
|
721
|
-
* ...
|
|
722
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-tools)
|
|
673
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-tools)
|
|
723
674
|
*/
|
|
724
675
|
tools ? : Record<string, ToolConfig>|null
|
|
725
676
|
/**
|
|
726
677
|
* Tooltip for the widget, either as a string or as a Tooltip config object.
|
|
727
|
-
* ...
|
|
728
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-tooltip)
|
|
678
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-tooltip)
|
|
729
679
|
*/
|
|
730
680
|
tooltip ? : string|TooltipConfig|null
|
|
731
681
|
/**
|
|
@@ -738,8 +688,7 @@ defineProps<{
|
|
|
738
688
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
739
689
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
740
690
|
* values are used as the class names.
|
|
741
|
-
* ...
|
|
742
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-ui)
|
|
691
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-ui)
|
|
743
692
|
*/
|
|
744
693
|
ui ? : 'plain'|'toolbar'|string|object
|
|
745
694
|
/**
|
|
@@ -755,14 +704,12 @@ defineProps<{
|
|
|
755
704
|
width ? : string|number
|
|
756
705
|
/**
|
|
757
706
|
* The x position for the widget.
|
|
758
|
-
* ...
|
|
759
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-x)
|
|
707
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-x)
|
|
760
708
|
*/
|
|
761
709
|
x ? : number
|
|
762
710
|
/**
|
|
763
711
|
* The y position for the widget.
|
|
764
|
-
* ...
|
|
765
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-y)
|
|
712
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-y)
|
|
766
713
|
*/
|
|
767
714
|
y ? : number
|
|
768
715
|
|
|
@@ -844,8 +791,7 @@ const emit = defineEmits<{
|
|
|
844
791
|
(e: 'beforeStateSave', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
845
792
|
/**
|
|
846
793
|
* Fires when any other event is fired from the object.
|
|
847
|
-
* ...
|
|
848
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#event-catchAll)
|
|
794
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#event-catchAll)
|
|
849
795
|
* @param {string} e Event name
|
|
850
796
|
* @param {object} params Event parameters
|
|
851
797
|
* @param {string} params.e Event name
|
|
@@ -951,8 +897,7 @@ const emit = defineEmits<{
|
|
|
951
897
|
/**
|
|
952
898
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
953
899
|
* achieves visibility.
|
|
954
|
-
* ...
|
|
955
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#event-paint)
|
|
900
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#event-paint)
|
|
956
901
|
* @param {string} e Event name
|
|
957
902
|
* @param {object} params Event parameters
|
|
958
903
|
* @param {string} params.e Event name
|
|
@@ -1076,6 +1021,7 @@ const widgetData = {
|
|
|
1076
1021
|
'relayStoreEvents',
|
|
1077
1022
|
'resource',
|
|
1078
1023
|
'ripple',
|
|
1024
|
+
'role',
|
|
1079
1025
|
'rootElement',
|
|
1080
1026
|
'scrollAction',
|
|
1081
1027
|
'showAnimation',
|
|
@@ -1120,6 +1066,7 @@ const widgetData = {
|
|
|
1120
1066
|
'items',
|
|
1121
1067
|
'keyMap',
|
|
1122
1068
|
'labelPosition',
|
|
1069
|
+
'labelWidth',
|
|
1123
1070
|
'layout',
|
|
1124
1071
|
'layoutStyle',
|
|
1125
1072
|
'margin',
|
|
@@ -1167,11 +1114,6 @@ const widgetData = {
|
|
|
1167
1114
|
'y'
|
|
1168
1115
|
],
|
|
1169
1116
|
propertyNames : [
|
|
1170
|
-
'anchorSize',
|
|
1171
|
-
'focusVisible',
|
|
1172
|
-
'hasChanges',
|
|
1173
|
-
'isSettingValues',
|
|
1174
|
-
'isValid',
|
|
1175
1117
|
'parent',
|
|
1176
1118
|
'state',
|
|
1177
1119
|
'values'
|