@bryntum/schedulerpro-vue-3-thin 7.1.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.
Files changed (144) hide show
  1. package/README.md +53 -0
  2. package/lib/chunks/B12rdbvL.js +380 -0
  3. package/lib/chunks/B12rdbvL.js.map +1 -0
  4. package/lib/chunks/BBN-5eeI.js +380 -0
  5. package/lib/chunks/BBN-5eeI.js.map +1 -0
  6. package/lib/chunks/BaiH7rub.js +591 -0
  7. package/lib/chunks/BaiH7rub.js.map +1 -0
  8. package/lib/chunks/BrUxjEMx.js +380 -0
  9. package/lib/chunks/BrUxjEMx.js.map +1 -0
  10. package/lib/chunks/BtVT0xgl.js +344 -0
  11. package/lib/chunks/BtVT0xgl.js.map +1 -0
  12. package/lib/chunks/C0N8aq7Y.js +340 -0
  13. package/lib/chunks/C0N8aq7Y.js.map +1 -0
  14. package/lib/chunks/C9qY739P.js +380 -0
  15. package/lib/chunks/C9qY739P.js.map +1 -0
  16. package/lib/chunks/CB9cdxRl.js +935 -0
  17. package/lib/chunks/CB9cdxRl.js.map +1 -0
  18. package/lib/chunks/CDbPwyl3.js +326 -0
  19. package/lib/chunks/CDbPwyl3.js.map +1 -0
  20. package/lib/chunks/Ct_m9O9h.js +380 -0
  21. package/lib/chunks/Ct_m9O9h.js.map +1 -0
  22. package/lib/chunks/D45V9XRN.js +308 -0
  23. package/lib/chunks/D45V9XRN.js.map +1 -0
  24. package/lib/chunks/D6AiSClA.js +1139 -0
  25. package/lib/chunks/D6AiSClA.js.map +1 -0
  26. package/lib/chunks/DQYJMaQ_.js +350 -0
  27. package/lib/chunks/DQYJMaQ_.js.map +1 -0
  28. package/lib/chunks/DT6XYs9d.js +1356 -0
  29. package/lib/chunks/DT6XYs9d.js.map +1 -0
  30. package/lib/chunks/DgESZupU.js +380 -0
  31. package/lib/chunks/DgESZupU.js.map +1 -0
  32. package/lib/chunks/DvFm-5Hh.js +382 -0
  33. package/lib/chunks/DvFm-5Hh.js.map +1 -0
  34. package/lib/chunks/DzO9n33e.js +939 -0
  35. package/lib/chunks/DzO9n33e.js.map +1 -0
  36. package/lib/chunks/H51_wkdg.js +1358 -0
  37. package/lib/chunks/H51_wkdg.js.map +1 -0
  38. package/lib/chunks/ggN9GDPJ.js +384 -0
  39. package/lib/chunks/ggN9GDPJ.js.map +1 -0
  40. package/lib/chunks/qKNUUeE0.js +380 -0
  41. package/lib/chunks/qKNUUeE0.js.map +1 -0
  42. package/lib/chunks/xk_S9thL.js +578 -0
  43. package/lib/chunks/xk_S9thL.js.map +1 -0
  44. package/lib/chunks/yCHi3rZC.js +336 -0
  45. package/lib/chunks/yCHi3rZC.js.map +1 -0
  46. package/lib/components/BryntumCalendarEditor.js +5 -0
  47. package/lib/components/BryntumCalendarEditor.js.map +1 -0
  48. package/lib/components/BryntumCalendarField.js +5 -0
  49. package/lib/components/BryntumCalendarField.js.map +1 -0
  50. package/lib/components/BryntumConstraintTypePicker.js +5 -0
  51. package/lib/components/BryntumConstraintTypePicker.js.map +1 -0
  52. package/lib/components/BryntumCostAccrualField.js +5 -0
  53. package/lib/components/BryntumCostAccrualField.js.map +1 -0
  54. package/lib/components/BryntumDependencyTypePicker.js +5 -0
  55. package/lib/components/BryntumDependencyTypePicker.js.map +1 -0
  56. package/lib/components/BryntumEffortField.js +5 -0
  57. package/lib/components/BryntumEffortField.js.map +1 -0
  58. package/lib/components/BryntumEndDateField.js +5 -0
  59. package/lib/components/BryntumEndDateField.js.map +1 -0
  60. package/lib/components/BryntumModelCombo.js +5 -0
  61. package/lib/components/BryntumModelCombo.js.map +1 -0
  62. package/lib/components/BryntumRateTableField.js +5 -0
  63. package/lib/components/BryntumRateTableField.js.map +1 -0
  64. package/lib/components/BryntumResourceEditor.js +5 -0
  65. package/lib/components/BryntumResourceEditor.js.map +1 -0
  66. package/lib/components/BryntumResourceGrid.js +5 -0
  67. package/lib/components/BryntumResourceGrid.js.map +1 -0
  68. package/lib/components/BryntumResourceHistogram.js +5 -0
  69. package/lib/components/BryntumResourceHistogram.js.map +1 -0
  70. package/lib/components/BryntumResourceTypeField.js +5 -0
  71. package/lib/components/BryntumResourceTypeField.js.map +1 -0
  72. package/lib/components/BryntumResourceUtilization.js +5 -0
  73. package/lib/components/BryntumResourceUtilization.js.map +1 -0
  74. package/lib/components/BryntumSchedulerPro.js +5 -0
  75. package/lib/components/BryntumSchedulerPro.js.map +1 -0
  76. package/lib/components/BryntumSchedulerProBase.js +5 -0
  77. package/lib/components/BryntumSchedulerProBase.js.map +1 -0
  78. package/lib/components/BryntumSchedulerProProjectModel.js +5 -0
  79. package/lib/components/BryntumSchedulerProProjectModel.js.map +1 -0
  80. package/lib/components/BryntumSchedulingDirectionPicker.js +5 -0
  81. package/lib/components/BryntumSchedulingDirectionPicker.js.map +1 -0
  82. package/lib/components/BryntumSchedulingModePicker.js +5 -0
  83. package/lib/components/BryntumSchedulingModePicker.js.map +1 -0
  84. package/lib/components/BryntumStartDateField.js +5 -0
  85. package/lib/components/BryntumStartDateField.js.map +1 -0
  86. package/lib/components/BryntumTimeline.js +5 -0
  87. package/lib/components/BryntumTimeline.js.map +1 -0
  88. package/lib/components/BryntumVersionGrid.js +5 -0
  89. package/lib/components/BryntumVersionGrid.js.map +1 -0
  90. package/lib/helper/WrapperHelper.js +291 -0
  91. package/lib/helper/WrapperHelper.js.map +1 -0
  92. package/lib/index.d.ts +5 -0
  93. package/lib/index.js +47 -0
  94. package/lib/index.js.map +1 -0
  95. package/license.pdf +0 -0
  96. package/licenses.md +310 -0
  97. package/package.json +27 -0
  98. package/src/components/BryntumCalendarEditor.vue +1268 -0
  99. package/src/components/BryntumCalendarEditorProps.ts +776 -0
  100. package/src/components/BryntumCalendarField.vue +1350 -0
  101. package/src/components/BryntumCalendarFieldProps.ts +849 -0
  102. package/src/components/BryntumConstraintTypePicker.vue +1337 -0
  103. package/src/components/BryntumConstraintTypePickerProps.ts +838 -0
  104. package/src/components/BryntumCostAccrualField.vue +1337 -0
  105. package/src/components/BryntumCostAccrualFieldProps.ts +838 -0
  106. package/src/components/BryntumDependencyTypePicker.vue +1337 -0
  107. package/src/components/BryntumDependencyTypePickerProps.ts +838 -0
  108. package/src/components/BryntumEffortField.vue +1140 -0
  109. package/src/components/BryntumEffortFieldProps.ts +683 -0
  110. package/src/components/BryntumEndDateField.vue +1167 -0
  111. package/src/components/BryntumEndDateFieldProps.ts +701 -0
  112. package/src/components/BryntumModelCombo.vue +1337 -0
  113. package/src/components/BryntumModelComboProps.ts +838 -0
  114. package/src/components/BryntumRateTableField.vue +1337 -0
  115. package/src/components/BryntumRateTableFieldProps.ts +838 -0
  116. package/src/components/BryntumResourceEditor.vue +1247 -0
  117. package/src/components/BryntumResourceEditorProps.ts +758 -0
  118. package/src/components/BryntumResourceGrid.vue +2924 -0
  119. package/src/components/BryntumResourceGridProps.ts +1040 -0
  120. package/src/components/BryntumResourceHistogram.vue +4495 -0
  121. package/src/components/BryntumResourceHistogramProps.ts +1697 -0
  122. package/src/components/BryntumResourceTypeField.vue +1337 -0
  123. package/src/components/BryntumResourceTypeFieldProps.ts +838 -0
  124. package/src/components/BryntumResourceUtilization.vue +4525 -0
  125. package/src/components/BryntumResourceUtilizationProps.ts +1683 -0
  126. package/src/components/BryntumSchedulerPro.vue +7153 -0
  127. package/src/components/BryntumSchedulerProBase.vue +7151 -0
  128. package/src/components/BryntumSchedulerProBaseProps.ts +2169 -0
  129. package/src/components/BryntumSchedulerProProjectModel.vue +1192 -0
  130. package/src/components/BryntumSchedulerProProjectModelProps.ts +597 -0
  131. package/src/components/BryntumSchedulerProProps.ts +2170 -0
  132. package/src/components/BryntumSchedulingDirectionPicker.vue +1337 -0
  133. package/src/components/BryntumSchedulingDirectionPickerProps.ts +838 -0
  134. package/src/components/BryntumSchedulingModePicker.vue +1345 -0
  135. package/src/components/BryntumSchedulingModePickerProps.ts +845 -0
  136. package/src/components/BryntumStartDateField.vue +1185 -0
  137. package/src/components/BryntumStartDateFieldProps.ts +717 -0
  138. package/src/components/BryntumTimeline.vue +6311 -0
  139. package/src/components/BryntumTimelineProps.ts +2041 -0
  140. package/src/components/BryntumVersionGrid.vue +2970 -0
  141. package/src/components/BryntumVersionGridProps.ts +1053 -0
  142. package/src/helper/WrapperHelper.ts +573 -0
  143. package/src/index.ts +48 -0
  144. package/src/vite-env.d.ts +1 -0
@@ -0,0 +1,1167 @@
1
+ <!-- Vue 3 wrapper for Bryntum EndDateField -->
2
+
3
+ <template>
4
+ <div ref="refElement">
5
+
6
+ </div>
7
+ </template>
8
+
9
+ <script setup lang="ts">
10
+
11
+ import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
12
+
13
+ import type { AlignSpec, Base, DateField, DatePickerConfig, DurationConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Model, Rectangle, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';
14
+ import type { SchedulerProContainerItemConfig, EndDateFieldListeners, EventModel, ProjectModel } from '@bryntum/schedulerpro-thin';
15
+ import { EndDateField } from '@bryntum/schedulerpro-thin';
16
+
17
+ import { WrapperHelper } from '../helper/WrapperHelper';
18
+
19
+ defineProps<{
20
+ // Configs
21
+ /**
22
+ * Element (or element id) to adopt as this Widget's encapsulating element. The widget's
23
+ * content will be placed inside this element.
24
+ * ...
25
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-adopt)
26
+ */
27
+ adopt ? : HTMLElement|string
28
+ /**
29
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
30
+ * ...
31
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-align)
32
+ */
33
+ align ? : AlignSpec|string
34
+ /**
35
+ * When this widget is a child of a [Container](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container), it will by default be participating in a
36
+ * flexbox layout. This config allows you to set this widget's
37
+ * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.
38
+ */
39
+ alignSelf ? : string
40
+ /**
41
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating) and being shown through [showBy](#Core/widget/Widget#function-showBy).*
42
+ * `true` to show a connector arrow pointing to the align target.
43
+ */
44
+ anchor ? : Boolean
45
+ /**
46
+ * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
47
+ * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element).
48
+ */
49
+ appendTo ? : HTMLElement|string
50
+ /**
51
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
52
+ * into an element which will be linked using the `aria-describedby` attribute.
53
+ * ...
54
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-ariaDescription)
55
+ */
56
+ ariaDescription ? : string
57
+ /**
58
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
59
+ * the `aria-label` attribute.
60
+ * ...
61
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-ariaLabel)
62
+ */
63
+ ariaLabel ? : string
64
+ /**
65
+ * Sets the native `autocomplete` property of the underlying input element. For more information, please refer to
66
+ * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)
67
+ */
68
+ autoComplete ? : string
69
+ /**
70
+ * Configure as `true` to have the picker expand upon focus enter.
71
+ */
72
+ autoExpand ? : Boolean
73
+ /**
74
+ * Specify `true` to auto select field contents on focus
75
+ */
76
+ autoSelect ? : Boolean
77
+ /**
78
+ * Initial text to show in badge.
79
+ */
80
+ badge ? : string
81
+ /**
82
+ * An object where property names with a truthy value indicate which events should bubble up the ownership
83
+ * hierarchy when triggered.
84
+ * ...
85
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-bubbleEvents)
86
+ */
87
+ bubbleEvents ? : object
88
+ /**
89
+ * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
90
+ * ...
91
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-callOnFunctions)
92
+ */
93
+ callOnFunctions ? : Boolean
94
+ /**
95
+ * By default, if an event handler throws an exception, the error propagates up the stack and the
96
+ * application state is undefined. Code which follows the event handler will *not* be executed.
97
+ * ...
98
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-catchEventHandlerExceptions)
99
+ */
100
+ catchEventHandlerExceptions ? : Boolean
101
+ /**
102
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
103
+ * Set to `true` to centre the Widget in browser viewport space.
104
+ */
105
+ centered ? : Boolean
106
+ /**
107
+ * Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly). The trigger is available
108
+ * in the [triggers](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
109
+ * configures the `clear` [trigger](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-triggers).
110
+ */
111
+ clearable ? : Boolean|FieldTriggerConfig
112
+ /**
113
+ * Custom CSS classes to add to element.
114
+ * May be specified as a space separated string, or as an object in which property names
115
+ * with truthy values are used as the class names:
116
+ * ...
117
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-cls)
118
+ */
119
+ cls ? : string|object
120
+ /**
121
+ * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
122
+ * `style` block.
123
+ * ...
124
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-color)
125
+ */
126
+ color ? : string
127
+ /**
128
+ * Programmatic control over which column to start in when used in a grid layout.
129
+ */
130
+ column ? : number
131
+ config ? : object
132
+ /**
133
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating) or [positioned](#Core/widget/Widget#config-positioned).*
134
+ * Element, Widget or Rectangle to which this Widget is constrained.
135
+ */
136
+ constrainTo ? : HTMLElement|Widget|Rectangle
137
+ /**
138
+ * The configuration for additional items associated to this field. This is typically used to add contextual
139
+ * fields related to a [checkbox](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Checkbox) or [radio button](#Core/widget/Radio). See
140
+ * these classes for examples of nested fields.
141
+ * ...
142
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-container)
143
+ */
144
+ container ? : Record<string, SchedulerProContainerItemConfig>|SchedulerProContainerItemConfig[]|FieldContainerConfig|FieldContainer
145
+ /**
146
+ * The config controls how the value of nested items are handled when a parent container gets or sets its
147
+ * [values](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#property-values).
148
+ * ...
149
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-containValues)
150
+ * @param {Core.widget.Field} field Field instance
151
+ * @returns {boolean}
152
+ */
153
+ containValues ? : Boolean|string|((field: Field) => Boolean)
154
+ /**
155
+ * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement).
156
+ * May be specified as a space separated string, or as an object in which property names
157
+ * with truthy values are used as the class names:
158
+ * ...
159
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-contentElementCls)
160
+ */
161
+ contentElementCls ? : string|object
162
+ /**
163
+ * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the
164
+ * field on the expanded record to use for populating this widget's store (if applicable)
165
+ */
166
+ dataField ? : string
167
+ /**
168
+ * Object to apply to elements dataset (each key will be used as a data-attribute on the element)
169
+ */
170
+ dataset ? : Record<string, string>
171
+ /**
172
+ * The name of the property to set when a single value is to be applied to this Widget. Such as when used
173
+ * in a grid WidgetColumn, this is the property to which the column's `field` is applied.
174
+ */
175
+ defaultBindProperty ? : string
176
+ /**
177
+ * Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
178
+ * ...
179
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-detectCSSCompatibilityIssues)
180
+ */
181
+ detectCSSCompatibilityIssues ? : Boolean
182
+ /**
183
+ * Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget
184
+ * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
185
+ * ...
186
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-disabled)
187
+ */
188
+ disabled ? : Boolean|'inert'
189
+ /**
190
+ * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel)
191
+ * [strips collection](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
192
+ * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
193
+ * body. Such widgets are called "edge strips".
194
+ * ...
195
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-dock)
196
+ */
197
+ dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
198
+ /**
199
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
200
+ * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
201
+ * property which controls when a drag should start.
202
+ * ...
203
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-draggable)
204
+ */
205
+ draggable ? : Boolean|{
206
+ handleSelector?: string
207
+ }
208
+ /**
209
+ * User can edit text in text field (otherwise only pick from attached picker)
210
+ */
211
+ editable ? : Boolean
212
+ /**
213
+ * An object specifying attributes to assign to the root element of this widget.
214
+ * Set `null` value to attribute to remove it.
215
+ * ...
216
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-elementAttributes)
217
+ */
218
+ elementAttributes ? : Record<string, string|null>
219
+ /**
220
+ * The Event model defining the calendar to be used by the field.
221
+ */
222
+ eventRecord ? : EventModel
223
+ extraData ? : any
224
+ /**
225
+ * When this widget is a child of a [Container](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container), it will by default be participating in a
226
+ * flexbox layout. This config allows you to set this widget's
227
+ * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.
228
+ * This may be configured as a single number or a `&lt;flex-grow&gt; &lt;flex-shrink&gt; &lt;flex-basis&gt;` format string.
229
+ * numeric-only values are interpreted as the `flex-grow` value.
230
+ */
231
+ flex ? : number|string
232
+ /**
233
+ * Set to `true` to move the widget out of the document flow and position it
234
+ * absolutely in browser viewport space.
235
+ */
236
+ floating ? : Boolean
237
+ /**
238
+ * Format for date displayed in field. Defaults to using long date format, as defined by current locale (`L`)
239
+ */
240
+ format ? : string
241
+ /**
242
+ * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,
243
+ * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some
244
+ * cases this config is convenient.
245
+ */
246
+ height ? : string|number
247
+ /**
248
+ * Configure with true to make widget initially hidden.
249
+ */
250
+ hidden ? : Boolean
251
+ /**
252
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
253
+ * ...
254
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-hideAnimation)
255
+ */
256
+ hideAnimation ? : Boolean|object
257
+ /**
258
+ * Specify `true` to highlight field after external value changes
259
+ */
260
+ highlightExternalChange ? : Boolean
261
+ /**
262
+ * An optional string to display inside the input field as an overlay. This can be useful for displaying
263
+ * a field's units.
264
+ * ...
265
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-hint)
266
+ * @param {object} data A data object
267
+ * @param {Core.widget.Field} data.source A reference to the field instance
268
+ * @param {any} data.value The current value of the field
269
+ * @returns {string}
270
+ */
271
+ hint ? : string|((data: { source: Field, value: any }) => string)
272
+ /**
273
+ * This config is similar to [hint](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-hint) except that this config is used to display HTML content.
274
+ * Since this can allow malicious content to be executed, be sure not to include user-entered data or to
275
+ * encode such data (see [encodeHtml](https://bryntum.com/products/schedulerpro/docs/api/Core/helper/StringHelper#function-encodeHtml-static)).
276
+ * ...
277
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-hintHtml)
278
+ * @param {object} data A data object
279
+ * @param {Core.widget.Field} data.source A reference to the field instance
280
+ * @param {any} data.value The current value of the field
281
+ * @returns {string}
282
+ */
283
+ hintHtml ? : string|((data: { source: Field, value: any }) => string)
284
+ /**
285
+ * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById
286
+ */
287
+ id ? : string
288
+ /**
289
+ * Determines if the widgets read-only state should be controlled by its parent.
290
+ * ...
291
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-ignoreParentReadOnly)
292
+ */
293
+ ignoreParentReadOnly ? : Boolean
294
+ /**
295
+ * Set this config to `true` to always display items horizontally along with this field. This assigns an
296
+ * [hbox](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/layout/Box) as the [layout](#Core/widget/Container#config-layout) to the
297
+ * [container](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-container).
298
+ * ...
299
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-inline)
300
+ */
301
+ inline ? : Boolean
302
+ /**
303
+ * Text alignment for the input field.
304
+ */
305
+ inputAlign ? : string
306
+ /**
307
+ * Sets custom attributes of the underlying input element. For more information, please refer to
308
+ * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes)
309
+ */
310
+ inputAttributes ? : Record<string, string>
311
+ /**
312
+ * If you need to use something else than a default `input` element, as the input element, provide the tag
313
+ * name here. Please note that this is used for advanced usage only, for example when using WebComponents
314
+ * (custom elements), and that the configured element must fulfil the same contract as a regular input
315
+ * element.
316
+ */
317
+ inputTag ? : string
318
+ /**
319
+ * Sets the `type` attribute of the underlying input element (password, hidden, date, color, etc.).
320
+ */
321
+ inputType ? : string
322
+ /**
323
+ * The width to apply to the `.b-field-inner` element, which encompasses the `input` element and any
324
+ * triggers. If a number is specified, `px` will be used.
325
+ */
326
+ inputWidth ? : string|number
327
+ /**
328
+ * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
329
+ */
330
+ insertBefore ? : HTMLElement|string
331
+ /**
332
+ * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
333
+ */
334
+ insertFirst ? : HTMLElement|string
335
+ /**
336
+ * A flag which indicates what time should be used for selected date.
337
+ * `eod` by default which adjusts user provided value time to end of the working day.
338
+ * ...
339
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-keepTime)
340
+ */
341
+ keepTime ? : Boolean|Date|string
342
+ /**
343
+ * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
344
+ * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
345
+ * are the name of the instance method to call when the keystroke is received.
346
+ * ...
347
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-keyMap)
348
+ */
349
+ keyMap ? : Record<string, KeyMapConfig>
350
+ /**
351
+ * The delay in milliseconds to wait after the last keystroke before triggering a change event.
352
+ * Set to 0 to not trigger change events from keystrokes (listen for input event instead to have
353
+ * immediate feedback, change will still be triggered on blur).
354
+ * ...
355
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-keyStrokeChangeDelay)
356
+ */
357
+ keyStrokeChangeDelay ? : number
358
+ /**
359
+ * Label, prepended to field
360
+ */
361
+ label ? : string
362
+ /**
363
+ * CSS class name or class names to add to any configured [label](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/mixin/Labelable#config-label)
364
+ */
365
+ labelCls ? : string|object
366
+ /**
367
+ * Label position, either 'before' the field or 'above' the field
368
+ * ...
369
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-labelPosition)
370
+ */
371
+ labelPosition ? : 'before'|'above'|null
372
+ /**
373
+ * The labels to add either before or after the input field.
374
+ * Each label may have the following properties:
375
+ * ...
376
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-labels)
377
+ */
378
+ labels ? : object[]
379
+ /**
380
+ * The width to apply to the `&lt;label&gt;` element. If a number is specified, `px` will be used.
381
+ */
382
+ labelWidth ? : string|number
383
+ /**
384
+ * The listener set for this object.
385
+ * ...
386
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-listeners)
387
+ */
388
+ listeners ? : EndDateFieldListeners
389
+ /**
390
+ * A class translations of which are used for translating this entity.
391
+ * This is often used when translations of an item are defined on its container class.
392
+ * For example:
393
+ * ...
394
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-localeClass)
395
+ */
396
+ localeClass ? : typeof Base
397
+ /**
398
+ * Set to `false` to disable localization of this object.
399
+ */
400
+ localizable ? : Boolean
401
+ /**
402
+ * List of properties which values should be translated automatically upon a locale applying.
403
+ * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
404
+ * you could use 'localeKey' meta configuration.
405
+ * Example:
406
+ * ...
407
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-localizableProperties)
408
+ */
409
+ localizableProperties ? : string[]
410
+ /**
411
+ * Widget's margin. This may be configured as a single number or a `TRBL` format string.
412
+ * numeric-only values are interpreted as pixels.
413
+ */
414
+ margin ? : number|string
415
+ /**
416
+ * This config object contains the defaults for the [Mask](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Mask) created for the
417
+ * [masked](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these
418
+ * values.
419
+ */
420
+ maskDefaults ? : MaskConfig
421
+ /**
422
+ * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a
423
+ * [Mask](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Mask) config object.
424
+ */
425
+ masked ? : Boolean|string|MaskConfig
426
+ /**
427
+ * Max value
428
+ */
429
+ max ? : string|Date
430
+ /**
431
+ * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that
432
+ * like [height](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
433
+ */
434
+ maxHeight ? : string|number
435
+ /**
436
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
437
+ * ...
438
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-maximizeOnMobile)
439
+ */
440
+ maximizeOnMobile ? : number|string
441
+ /**
442
+ * The max number of characters for the input field
443
+ */
444
+ maxLength ? : number
445
+ /**
446
+ * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that
447
+ * like [width](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
448
+ */
449
+ maxWidth ? : string|number
450
+ /**
451
+ * Min value
452
+ */
453
+ min ? : string|Date
454
+ /**
455
+ * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that
456
+ * like [height](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
457
+ */
458
+ minHeight ? : string|number
459
+ /**
460
+ * The min number of characters for the input field
461
+ */
462
+ minLength ? : number
463
+ /**
464
+ * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that
465
+ * like [width](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
466
+ */
467
+ minWidth ? : string|number
468
+ /**
469
+ * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
470
+ * is used to monitor this element for size changes caused by either style manipulation, or by CSS
471
+ * layout.
472
+ * ...
473
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-monitorResize)
474
+ */
475
+ monitorResize ? : Boolean|{
476
+ immediate?: Boolean
477
+ }
478
+ /**
479
+ * Name of the field which is used as a key to get/set values from/to the field.
480
+ * Used prior to [ref](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-ref) and [id](#Core/widget/Widget#config-id) in
481
+ * [Container.values](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#property-values).
482
+ * ...
483
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-name)
484
+ */
485
+ name ? : string
486
+ /**
487
+ * The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
488
+ * [items](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
489
+ * the owner is <strong>always</strong> the encapsulating Container.
490
+ * ...
491
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-owner)
492
+ */
493
+ owner ? : Widget|any
494
+ /**
495
+ * A config object used to configure the [datePicker](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/DatePicker).
496
+ * ...
497
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-picker)
498
+ */
499
+ picker ? : DatePickerConfig
500
+ /**
501
+ * The name of the element property to which the picker should size and align itself.
502
+ */
503
+ pickerAlignElement ? : string
504
+ /**
505
+ * Format for date in the [picker](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/DateField#config-picker). Uses localized format per default
506
+ */
507
+ pickerFormat ? : string
508
+ /**
509
+ * Text to display in empty field.
510
+ */
511
+ placeholder ? : string
512
+ /**
513
+ * Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement), but must
514
+ * not participate in the standard layout of that widget, and must be positioned relatively to that
515
+ * widget's [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement).
516
+ * ...
517
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-positioned)
518
+ */
519
+ positioned ? : Boolean
520
+ /**
521
+ * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a
522
+ * menu on click etc, since the tooltip would be displayed at the same time.
523
+ */
524
+ preventTooltipOnTouch ? : Boolean
525
+ /**
526
+ * Project model calendar of which should be used by the field.
527
+ */
528
+ project ? : ProjectModel|object
529
+ /**
530
+ * Makes the field unmodifiable by user action. The input area is not editable, and triggers
531
+ * are unresponsive.
532
+ * ...
533
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-readOnly)
534
+ */
535
+ readOnly ? : Boolean
536
+ relayStoreEvents ? : Boolean
537
+ /**
538
+ * Predefined style to use for the field. Possible values are:
539
+ * ...
540
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-rendition)
541
+ */
542
+ rendition ? : 'outlined'|'filled'|string
543
+ /**
544
+ * Configure as `true` to indicate that a `null` field value is to be marked as invalid. This will
545
+ * optionally append a * to the field label if [showRequiredIndicator](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-showRequiredIndicator) is set.
546
+ */
547
+ required ? : Boolean
548
+ /**
549
+ * If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
550
+ * the `ESCAPE` key after editing the field will revert the field to the value it had when
551
+ * the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)
552
+ * behaviour will be activated.
553
+ */
554
+ revertOnEscape ? : Boolean
555
+ /**
556
+ * Configure as `true` to have the component display a translucent ripple when its
557
+ * [focusElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-focusElement), or [element](#Core/widget/Widget#property-element) is tapped <em>if the
558
+ * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
559
+ * ...
560
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-ripple)
561
+ */
562
+ ripple ? : Boolean|{
563
+ delegate?: string
564
+ color?: string
565
+ radius?: number
566
+ clip?: string
567
+ }
568
+ /**
569
+ * If you are rendering this widget to a shadow root inside a web component, set this config to the shadowRoot. If not inside a web component, set it to `document.body`
570
+ */
571
+ rootElement ? : ShadowRoot|HTMLElement
572
+ /**
573
+ * This may be configured as `true` to make the widget's element use the `direction:rtl` style.
574
+ * ...
575
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-rtl)
576
+ */
577
+ rtl ? : Boolean
578
+ /**
579
+ * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
580
+ * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.
581
+ */
582
+ scrollAction ? : 'hide'|'realign'|null
583
+ /**
584
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
585
+ * ...
586
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-showAnimation)
587
+ */
588
+ showAnimation ? : Boolean|object
589
+ /**
590
+ * `true` to automatically display a * after the label for this field when it is [required](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-required).
591
+ */
592
+ showRequiredIndicator ? : string
593
+ /**
594
+ * Set to `false` to not show the tooltip when this widget is [disabled](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-disabled)
595
+ */
596
+ showTooltipWhenDisabled ? : Boolean
597
+ /**
598
+ * Set to `true`, completely bypasses validation logic (could be userful if your field is not `editable`
599
+ * to the user).
600
+ */
601
+ skipValidation ? : Boolean
602
+ /**
603
+ * Programmatic control over how many columns to span when used in a grid layout.
604
+ */
605
+ span ? : number
606
+ /**
607
+ * Sets the native `spellcheck` property of the underlying input element. For more information, please refer to
608
+ * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck)
609
+ */
610
+ spellCheck ? : Boolean
611
+ /**
612
+ * Time increment duration value. If specified, `forward` and `back` triggers are displayed.
613
+ * The value is taken to be a string consisting of the numeric magnitude and the units.
614
+ * The units may be a recognised unit abbreviation of this locale or the full local unit name.
615
+ * For example `'1d'` or `'1w'` or `'1 week'`. This may be specified as an object containing
616
+ * two properties: `magnitude`, a Number, and `unit`, a String
617
+ */
618
+ step ? : string|number|DurationConfig
619
+ /**
620
+ * Set to `false` to hide the forward and backward date step triggers.
621
+ */
622
+ stepTriggers ? : Boolean
623
+ /**
624
+ * A flag which indicates whether the date parsing should be strict - meaning if the date
625
+ * is missing a year/month/day part - parsing fails.
626
+ * ...
627
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-strictParsing)
628
+ */
629
+ strictParsing ? : Boolean
630
+ /**
631
+ * 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
632
+ * [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
633
+ * this widget:
634
+ * ...
635
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-tab)
636
+ */
637
+ tab ? : Boolean|TabConfig
638
+ /**
639
+ * The tab index of the input field or fields, or `null` for natural tab order (recommended). Setting to `0`
640
+ * is equivalent to natural tab order, but is unnecessary for fields since they are naturally tabbable
641
+ * (i.e., accessible via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set
642
+ * to the element programmatically.
643
+ * ...
644
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-tabIndex)
645
+ */
646
+ tabIndex ? : number
647
+ /**
648
+ * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
649
+ * ...
650
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-textAlign)
651
+ */
652
+ textAlign ? : 'left'|'center'|'right'|'start'|'end'
653
+ /**
654
+ * A title to display for the widget. Only in effect when inside a container that uses it (such as TabPanel)
655
+ */
656
+ title ? : string
657
+ /**
658
+ * Tooltip for the widget, either as a string or as a Tooltip config object.
659
+ * ...
660
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-tooltip)
661
+ */
662
+ tooltip ? : string|TooltipConfig|null
663
+ /**
664
+ * Widgets that trigger functionality upon click. Each trigger icon is a [Widget](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget) instance
665
+ * which may be hidden, shown and observed and styled just like any other widget.
666
+ */
667
+ triggers ? : Record<string, FieldTriggerConfig>|Record<string, Widget>
668
+ type ? : 'enddatefield'|'enddate'
669
+ /**
670
+ * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
671
+ * as a space separated string, an array of strings, or as an object in which property names with truthy
672
+ * values are used as the class names.
673
+ * ...
674
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-ui)
675
+ */
676
+ ui ? : string|object
677
+ /**
678
+ * Set to `false` to not highlight a field as invalid while typing, to instead show it on ENTER key press
679
+ * or similar.
680
+ */
681
+ validateOnInput ? : Boolean
682
+ /**
683
+ * Value, which can be a Date or a string. If a string is specified, it will be converted using the
684
+ * specified [format](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/DateField#config-format)
685
+ */
686
+ value ? : string|Date
687
+ /**
688
+ * The week start day in the [picker](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/DateField#config-picker), 0 meaning Sunday, 6 meaning Saturday.
689
+ * Uses localized value per default.
690
+ */
691
+ weekStartDay ? : number
692
+ /**
693
+ * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container).
694
+ * Higher weights go further down.
695
+ */
696
+ weight ? : number
697
+ /**
698
+ * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which
699
+ * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases
700
+ * this config is convenient.
701
+ */
702
+ width ? : string|number
703
+ /**
704
+ * The x position for the widget.
705
+ * ...
706
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-x)
707
+ */
708
+ x ? : number
709
+ /**
710
+ * The y position for the widget.
711
+ * ...
712
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-y)
713
+ */
714
+ y ? : number
715
+
716
+ }>();
717
+
718
+ const emit = defineEmits<{
719
+ /**
720
+ * User performed default action (typed into this field).
721
+ * @param {string} e Event name
722
+ * @param {object} params Event parameters
723
+ * @param {string} params.e Event name
724
+ * @param {object} params.params Event parameters
725
+ * @param {object} params.params.event Event object
726
+ * @param {Core.widget.Field,any} params.params.event.source This Field
727
+ * @param {string,number,boolean,any} params.params.event.value This field's value
728
+ * @param {string,number,boolean,any} params.params.event.oldValue This field's previous value
729
+ * @param {boolean} params.params.event.valid True if this field is in a valid state
730
+ * @param {Event} params.params.event.event The triggering DOM event if any
731
+ * @param {Core.data.Model} params.params.event.record Selected record. Available for fields with records selection functionality
732
+ * @param {Core.data.Model[]} params.params.event.records Selected records as an array. Available for fields with records selection functionality
733
+ * @param {boolean} params.params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
734
+ * @param {boolean} params.params.event.checked
735
+ */
736
+ (e: 'action', params: ((event: { source: Field|any, value: string|number|boolean|any, oldValue: string|number|boolean|any, valid: boolean, event: Event, record: Model, records: Model[], userAction: boolean, checked: boolean }) => void)|string): void
737
+ /**
738
+ * Fires before an object is destroyed.
739
+ * @param {string} e Event name
740
+ * @param {object} params Event parameters
741
+ * @param {string} params.e Event name
742
+ * @param {object} params.params Event parameters
743
+ * @param {object} params.params.event Event object
744
+ * @param {Core.Base} params.params.event.source The Object that is being destroyed.
745
+ */
746
+ (e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
747
+ /**
748
+ * Triggered before a widget is hidden. Return `false` to prevent the action.
749
+ * @param {string} e Event name
750
+ * @param {object} params Event parameters
751
+ * @param {string} params.e Event name
752
+ * @param {object} params.params Event parameters
753
+ * @param {object} params.params.event Event object
754
+ * @param {Core.widget.Widget} params.params.event.source The widget being hidden.
755
+ */
756
+ (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
757
+ /**
758
+ * Triggered before a widget is shown. Return `false` to prevent the action.
759
+ * @param {string} e Event name
760
+ * @param {object} params Event parameters
761
+ * @param {string} params.e Event name
762
+ * @param {object} params.params Event parameters
763
+ * @param {object} params.params.event Event object
764
+ * @param {Core.widget.Widget,any} params.params.event.source The widget being shown
765
+ */
766
+ (e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
767
+ /**
768
+ * Fires when any other event is fired from the object.
769
+ * ...
770
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#event-catchAll)
771
+ * @param {string} e Event name
772
+ * @param {object} params Event parameters
773
+ * @param {string} params.e Event name
774
+ * @param {object} params.params Event parameters
775
+ * @param {object} params.params.event Event object
776
+ * @param {{[key: string]: any, type: string}} params.params.event.event The Object that contains event details
777
+ * @param {string} params.params.event.event.type The type of the event which is caught by the listener
778
+ */
779
+ (e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
780
+ /**
781
+ * Fired when this field's value changes.
782
+ * @param {string} e Event name
783
+ * @param {object} params Event parameters
784
+ * @param {string} params.e Event name
785
+ * @param {object} params.params Event parameters
786
+ * @param {object} params.params.event Event object
787
+ * @param {Core.widget.DateField} params.params.event.source This DateField
788
+ * @param {Date} params.params.event.value This field's value
789
+ * @param {Date} params.params.event.oldValue This field's previous value
790
+ * @param {boolean} params.params.event.valid True if this field is in a valid state
791
+ * @param {Event} params.params.event.event The triggering DOM event if any
792
+ * @param {boolean} params.params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
793
+ * @param {boolean} params.params.event.checked
794
+ */
795
+ (e: 'change', params: ((event: { source: DateField, value: Date, oldValue: Date, valid: boolean, event: Event, userAction: boolean, checked: boolean }) => void)|string): void
796
+ /**
797
+ * Fired when this field is [cleared](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#function-clear).
798
+ * ...
799
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#event-clear)
800
+ * @param {string} e Event name
801
+ * @param {object} params Event parameters
802
+ * @param {string} params.e Event name
803
+ * @param {object} params.params Event parameters
804
+ * @param {object} params.params.event Event object
805
+ * @param {Core.widget.Field,any} params.params.event.source This Field
806
+ */
807
+ (e: 'clear', params: ((event: { source: Field|any }) => void)|string): void
808
+ /**
809
+ * Fires when an object is destroyed.
810
+ * @param {string} e Event name
811
+ * @param {object} params Event parameters
812
+ * @param {string} params.e Event name
813
+ * @param {object} params.params Event parameters
814
+ * @param {object} params.params.event Event object
815
+ * @param {Core.Base} params.params.event.source The Object that is being destroyed.
816
+ */
817
+ (e: 'destroy', params: ((event: { source: Base }) => void)|string): void
818
+ /**
819
+ * Triggered when a widget's [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element) is available.
820
+ * @param {string} e Event name
821
+ * @param {object} params Event parameters
822
+ * @param {string} params.e Event name
823
+ * @param {object} params.params Event parameters
824
+ * @param {object} params.params.event Event object
825
+ * @param {HTMLElement} params.params.event.element The Widget's element.
826
+ */
827
+ (e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void
828
+ /**
829
+ * Fired when focus enters this Widget.
830
+ * @param {string} e Event name
831
+ * @param {object} params Event parameters
832
+ * @param {string} params.e Event name
833
+ * @param {object} params.params Event parameters
834
+ * @param {object} params.params.event Event object
835
+ * @param {Core.widget.Widget} params.params.event.source This Widget
836
+ * @param {HTMLElement} params.params.event.fromElement The element which lost focus.
837
+ * @param {HTMLElement} params.params.event.toElement The element which gained focus.
838
+ * @param {Core.widget.Widget} params.params.event.fromWidget The widget which lost focus.
839
+ * @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
840
+ * @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
841
+ */
842
+ (e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
843
+ /**
844
+ * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.
845
+ * focus moving from within this Widget's ownership tree, even if there are floating widgets
846
+ * will not trigger this event. This is when focus exits this widget completely.
847
+ * @param {string} e Event name
848
+ * @param {object} params Event parameters
849
+ * @param {string} params.e Event name
850
+ * @param {object} params.params Event parameters
851
+ * @param {object} params.params.event Event object
852
+ * @param {Core.widget.Widget} params.params.event.source This Widget
853
+ * @param {HTMLElement} params.params.event.fromElement The element which lost focus.
854
+ * @param {HTMLElement} params.params.event.toElement The element which gained focus.
855
+ * @param {Core.widget.Widget} params.params.event.fromWidget The widget which lost focus.
856
+ * @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
857
+ * @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
858
+ */
859
+ (e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
860
+ /**
861
+ * Triggered after a widget was hidden
862
+ * @param {string} e Event name
863
+ * @param {object} params Event parameters
864
+ * @param {string} params.e Event name
865
+ * @param {object} params.params Event parameters
866
+ * @param {object} params.params.event Event object
867
+ * @param {Core.widget.Widget} params.params.event.source The widget
868
+ */
869
+ (e: 'hide', params: ((event: { source: Widget }) => void)|string): void
870
+ /**
871
+ * Fired when the user types into this field.
872
+ * @param {string} e Event name
873
+ * @param {object} params Event parameters
874
+ * @param {string} params.e Event name
875
+ * @param {object} params.params Event parameters
876
+ * @param {object} params.params.event Event object
877
+ * @param {Core.widget.Field,any} params.params.event.source This field
878
+ * @param {string,number,boolean,any} params.params.event.value This field's value
879
+ * @param {Event} params.params.event.event The triggering DOM event
880
+ */
881
+ (e: 'input', params: ((event: { source: Field|any, value: string|number|boolean|any, event: Event }) => void)|string): void
882
+ /**
883
+ * Triggered when a widget which had been in a non-visible state for any reason
884
+ * achieves visibility.
885
+ * ...
886
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#event-paint)
887
+ * @param {string} e Event name
888
+ * @param {object} params Event parameters
889
+ * @param {string} params.e Event name
890
+ * @param {object} params.params Event parameters
891
+ * @param {object} params.params.event Event object
892
+ * @param {Core.widget.Widget} params.params.event.source The widget being painted.
893
+ * @param {boolean} params.params.event.firstPaint `true` if this is the first paint.
894
+ */
895
+ (e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void
896
+ /**
897
+ * Fired when a Widget's read only state is toggled
898
+ * @param {string} e Event name
899
+ * @param {object} params Event parameters
900
+ * @param {string} params.e Event name
901
+ * @param {object} params.params Event parameters
902
+ * @param {object} params.params.event Event object
903
+ * @param {boolean} params.params.event.readOnly Read only or not
904
+ */
905
+ (e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void
906
+ /**
907
+ * This event is fired after a widget's elements have been synchronized due to a direct or indirect call
908
+ * to [recompose](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#function-recompose), if this results in some change to the widget's rendered DOM elements.
909
+ */
910
+ (e: 'recompose', params: (() => void)|string): void
911
+ /**
912
+ * 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`*.
913
+ * @param {string} e Event name
914
+ * @param {object} params Event parameters
915
+ * @param {string} params.e Event name
916
+ * @param {object} params.params Event parameters
917
+ * @param {object} params.params.event Event object
918
+ * @param {Core.widget.Widget} params.params.event.source This Widget
919
+ * @param {number} params.params.event.width The new width
920
+ * @param {number} params.params.event.height The new height
921
+ * @param {number} params.params.event.oldWidth The old width
922
+ * @param {number} params.params.event.oldHeight The old height
923
+ */
924
+ (e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
925
+ /**
926
+ * Triggered after a widget is shown.
927
+ * @param {string} e Event name
928
+ * @param {object} params Event parameters
929
+ * @param {string} params.e Event name
930
+ * @param {object} params.params Event parameters
931
+ * @param {object} params.params.event Event object
932
+ * @param {Core.widget.Widget} params.params.event.source The widget
933
+ */
934
+ (e: 'show', params: ((event: { source: Widget }) => void)|string): void
935
+ /**
936
+ * User clicked one of this field's [triggers](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-triggers)
937
+ * @param {string} e Event name
938
+ * @param {object} params Event parameters
939
+ * @param {string} params.e Event name
940
+ * @param {object} params.params Event parameters
941
+ * @param {object} params.params.event Event object
942
+ * @param {Core.widget.Field,any} params.params.event.source This field
943
+ * @param {Core.widget.Widget} params.params.event.trigger The trigger activated by click or touch tap.
944
+ */
945
+ (e: 'trigger', params: ((event: { source: Field|any, trigger: Widget }) => void)|string): void
946
+ }>();
947
+
948
+ const widgetData = {
949
+ instanceClass : EndDateField,
950
+ instanceName : 'EndDateField',
951
+
952
+ configNames : [
953
+ 'adopt',
954
+ 'align',
955
+ 'anchor',
956
+ 'ariaDescription',
957
+ 'ariaLabel',
958
+ 'autoComplete',
959
+ 'autoExpand',
960
+ 'autoSelect',
961
+ 'bubbleEvents',
962
+ 'centered',
963
+ 'clearable',
964
+ 'color',
965
+ 'config',
966
+ 'constrainTo',
967
+ 'container',
968
+ 'containValues',
969
+ 'contentElementCls',
970
+ 'dataField',
971
+ 'defaultBindProperty',
972
+ 'detectCSSCompatibilityIssues',
973
+ 'dock',
974
+ 'draggable',
975
+ 'elementAttributes',
976
+ 'eventRecord',
977
+ 'floating',
978
+ 'hideAnimation',
979
+ 'highlightExternalChange',
980
+ 'hint',
981
+ 'hintHtml',
982
+ 'ignoreParentReadOnly',
983
+ 'inline',
984
+ 'inputAlign',
985
+ 'inputAttributes',
986
+ 'inputTag',
987
+ 'inputType',
988
+ 'inputWidth',
989
+ 'keepTime',
990
+ 'keyStrokeChangeDelay',
991
+ 'labelCls',
992
+ 'labelPosition',
993
+ 'labels',
994
+ 'labelWidth',
995
+ 'listeners',
996
+ 'localeClass',
997
+ 'localizable',
998
+ 'localizableProperties',
999
+ 'maskDefaults',
1000
+ 'masked',
1001
+ 'maxLength',
1002
+ 'minLength',
1003
+ 'monitorResize',
1004
+ 'name',
1005
+ 'owner',
1006
+ 'picker',
1007
+ 'pickerAlignElement',
1008
+ 'pickerFormat',
1009
+ 'positioned',
1010
+ 'preventTooltipOnTouch',
1011
+ 'project',
1012
+ 'relayStoreEvents',
1013
+ 'revertOnEscape',
1014
+ 'ripple',
1015
+ 'rootElement',
1016
+ 'scrollAction',
1017
+ 'showAnimation',
1018
+ 'showTooltipWhenDisabled',
1019
+ 'skipValidation',
1020
+ 'spellCheck',
1021
+ 'stepTriggers',
1022
+ 'strictParsing',
1023
+ 'tab',
1024
+ 'tabIndex',
1025
+ 'textAlign',
1026
+ 'title',
1027
+ 'type',
1028
+ 'ui',
1029
+ 'validateOnInput',
1030
+ 'weekStartDay',
1031
+ 'weight'
1032
+ ],
1033
+ propertyConfigNames : [
1034
+ 'alignSelf',
1035
+ 'appendTo',
1036
+ 'badge',
1037
+ 'callOnFunctions',
1038
+ 'catchEventHandlerExceptions',
1039
+ 'cls',
1040
+ 'column',
1041
+ 'dataset',
1042
+ 'disabled',
1043
+ 'editable',
1044
+ 'extraData',
1045
+ 'flex',
1046
+ 'format',
1047
+ 'height',
1048
+ 'hidden',
1049
+ 'id',
1050
+ 'insertBefore',
1051
+ 'insertFirst',
1052
+ 'keyMap',
1053
+ 'label',
1054
+ 'margin',
1055
+ 'max',
1056
+ 'maxHeight',
1057
+ 'maximizeOnMobile',
1058
+ 'maxWidth',
1059
+ 'min',
1060
+ 'minHeight',
1061
+ 'minWidth',
1062
+ 'onAction',
1063
+ 'onBeforeDestroy',
1064
+ 'onBeforeHide',
1065
+ 'onBeforeShow',
1066
+ 'onCatchAll',
1067
+ 'onChange',
1068
+ 'onClear',
1069
+ 'onDestroy',
1070
+ 'onElementCreated',
1071
+ 'onFocusIn',
1072
+ 'onFocusOut',
1073
+ 'onHide',
1074
+ 'onInput',
1075
+ 'onPaint',
1076
+ 'onReadOnly',
1077
+ 'onRecompose',
1078
+ 'onResize',
1079
+ 'onShow',
1080
+ 'onTrigger',
1081
+ 'placeholder',
1082
+ 'readOnly',
1083
+ 'rendition',
1084
+ 'required',
1085
+ 'rtl',
1086
+ 'showRequiredIndicator',
1087
+ 'span',
1088
+ 'step',
1089
+ 'tooltip',
1090
+ 'triggers',
1091
+ 'value',
1092
+ 'width',
1093
+ 'x',
1094
+ 'y'
1095
+ ],
1096
+ propertyNames : [
1097
+ 'anchorSize',
1098
+ 'content',
1099
+ 'focusVisible',
1100
+ 'formula',
1101
+ 'html',
1102
+ 'input',
1103
+ 'parent',
1104
+ 'scrollable'
1105
+ ],
1106
+ eventNames : [
1107
+ 'action',
1108
+ 'beforeDestroy',
1109
+ 'beforeHide',
1110
+ 'beforeShow',
1111
+ 'catchAll',
1112
+ 'change',
1113
+ 'clear',
1114
+ 'destroy',
1115
+ 'elementCreated',
1116
+ 'focusIn',
1117
+ 'focusOut',
1118
+ 'hide',
1119
+ 'input',
1120
+ 'paint',
1121
+ 'readOnly',
1122
+ 'recompose',
1123
+ 'resize',
1124
+ 'show',
1125
+ 'trigger'
1126
+ ]
1127
+ };
1128
+
1129
+ const instance: {
1130
+ value?: EndDateField
1131
+ } = {};
1132
+
1133
+ const refElement = ref<HTMLDivElement>()!;
1134
+ // Storage for teleports (in-cell Vue component instances) automatically renderer by template
1135
+ const teleports = ref(new Map());
1136
+
1137
+ // Provide teleports for processCellContent
1138
+ provide('teleports', teleports);
1139
+
1140
+ onMounted(() => {
1141
+
1142
+ const me = getCurrentInstance()!;
1143
+
1144
+ instance.value = WrapperHelper.createWidget<typeof EndDateField>({
1145
+ me,
1146
+ widgetData,
1147
+ emit,
1148
+ element : refElement.value!,
1149
+ toRaw
1150
+ });
1151
+
1152
+ const watcher = (prop: string, callback: any) => watch(() => me.props[prop], callback);
1153
+ WrapperHelper.watchProps(instance.value, widgetData, watcher);
1154
+ });
1155
+
1156
+ onBeforeUnmount(() => {
1157
+ // @ts-ignore
1158
+ instance.value?.destroy?.();
1159
+ });
1160
+
1161
+ defineExpose({
1162
+ instance,
1163
+ refElement,
1164
+ teleports
1165
+ });
1166
+
1167
+ </script>