@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,1268 @@
1
+ <!-- Vue 3 wrapper for Bryntum CalendarEditor -->
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, 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';
14
+ import type { AvailabilityRangeModelConfig, CalendarEditorListeners, CalendarModel, SchedulerProContainerItemConfig, SchedulerProContainerLayoutConfig, WorkingDays } from '@bryntum/schedulerpro-thin';
15
+ import { CalendarEditor } from '@bryntum/schedulerpro-thin';
16
+
17
+ import { WrapperHelper } from '../helper/WrapperHelper';
18
+
19
+ defineProps<{
20
+ // Configs
21
+ /**
22
+ * A date to display in the date picker.
23
+ */
24
+ activeDate ? : Date
25
+ /**
26
+ * Element (or element id) to adopt as this Widget's encapsulating element. The widget's
27
+ * content will be placed inside this element.
28
+ * ...
29
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-adopt)
30
+ */
31
+ adopt ? : HTMLElement|string
32
+ /**
33
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
34
+ * ...
35
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-align)
36
+ */
37
+ align ? : AlignSpec|string
38
+ /**
39
+ * 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
40
+ * flexbox layout. This config allows you to set this widget's
41
+ * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.
42
+ */
43
+ alignSelf ? : string
44
+ /**
45
+ * *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).*
46
+ * `true` to show a connector arrow pointing to the align target.
47
+ */
48
+ anchor ? : Boolean
49
+ /**
50
+ * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
51
+ * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element).
52
+ */
53
+ appendTo ? : HTMLElement|string
54
+ /**
55
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
56
+ * into an element which will be linked using the `aria-describedby` attribute.
57
+ * ...
58
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-ariaDescription)
59
+ */
60
+ ariaDescription ? : string
61
+ /**
62
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
63
+ * the `aria-label` attribute.
64
+ * ...
65
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-ariaLabel)
66
+ */
67
+ ariaLabel ? : string
68
+ /**
69
+ * 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
70
+ * taps outside its owned widgets and when focus moves outside its owned widgets.
71
+ * ...
72
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-autoClose)
73
+ */
74
+ autoClose ? : Boolean
75
+ /**
76
+ * Auto show flag for Popup.
77
+ * If truthy then Popup is shown automatically upon hover.
78
+ */
79
+ autoShow ? : Boolean
80
+ /**
81
+ * Update assigned [record](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#config-record) automatically on field changes
82
+ */
83
+ autoUpdateRecord ? : Boolean
84
+ /**
85
+ * A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Toolbar),
86
+ * 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).
87
+ * ...
88
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-bbar)
89
+ */
90
+ bbar ? : (SchedulerProContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null
91
+ /**
92
+ * Custom CSS classes to add to the panel's body element.
93
+ * ...
94
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-bodyCls)
95
+ */
96
+ bodyCls ? : string|object
97
+ /**
98
+ * An object where property names with a truthy value indicate which events should bubble up the ownership
99
+ * hierarchy when triggered.
100
+ * ...
101
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-bubbleEvents)
102
+ */
103
+ bubbleEvents ? : object
104
+ /**
105
+ * A calendar to edit.
106
+ */
107
+ calendar ? : CalendarModel
108
+ /**
109
+ * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
110
+ * ...
111
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-callOnFunctions)
112
+ */
113
+ callOnFunctions ? : Boolean
114
+ /**
115
+ * By default, if an event handler throws an exception, the error propagates up the stack and the
116
+ * application state is undefined. Code which follows the event handler will *not* be executed.
117
+ * ...
118
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-catchEventHandlerExceptions)
119
+ */
120
+ catchEventHandlerExceptions ? : Boolean
121
+ /**
122
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
123
+ * Set to `true` to centre the Widget in browser viewport space.
124
+ */
125
+ centered ? : Boolean
126
+ /**
127
+ * Show a tool in the header to close this Popup.
128
+ * The tool is available in the [tools](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/mixin/Toolable#property-tools) object
129
+ * under the name `close`. It uses the CSS class `b-popup-close` to apply a
130
+ * default close icon. This may be customized with your own CSS rules.
131
+ */
132
+ closable ? : Boolean
133
+ /**
134
+ * The action to take when calling the [close](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Popup#function-close) method.
135
+ * By default, the popup is hidden.
136
+ * ...
137
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-closeAction)
138
+ */
139
+ closeAction ? : 'hide'|'destroy'
140
+ /**
141
+ * Close popup when `ESC` key is pressed.
142
+ */
143
+ closeOnEscape ? : Boolean
144
+ /**
145
+ * Custom CSS classes to add to element.
146
+ * May be specified as a space separated string, or as an object in which property names
147
+ * with truthy values are used as the class names:
148
+ * ...
149
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-cls)
150
+ */
151
+ cls ? : string|object
152
+ /**
153
+ * Controls whether the panel is collapsed (the body of the panel is hidden while only the header is
154
+ * visible). Only valid if the panel is [collapsible](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-collapsible).
155
+ */
156
+ collapsed ? : Boolean
157
+ /**
158
+ * This config enables collapsibility for the panel. See [collapsed](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-collapsed).
159
+ * ...
160
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-collapsible)
161
+ */
162
+ collapsible ? : Boolean|PanelCollapserConfig|PanelCollapserOverlayConfig
163
+ /**
164
+ * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
165
+ * `style` block.
166
+ * ...
167
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-color)
168
+ */
169
+ color ? : string
170
+ /**
171
+ * Programmatic control over which column to start in when used in a grid layout.
172
+ */
173
+ column ? : number
174
+ config ? : object
175
+ /**
176
+ * *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).*
177
+ * Element, Widget or Rectangle to which this Widget is constrained.
178
+ */
179
+ constrainTo ? : HTMLElement|Widget|Rectangle
180
+ /**
181
+ * The HTML content that coexists with sibling elements which may have been added to the
182
+ * [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement) by plugins and features.
183
+ * When specifying html, this widget's element will also have the [htmlCls](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-htmlCls)
184
+ * class added to its classList, to allow targeted styling.
185
+ */
186
+ content ? : string
187
+ /**
188
+ * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement).
189
+ * May be specified as a space separated string, or as an object in which property names
190
+ * with truthy values are used as the class names:
191
+ * ...
192
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-contentElementCls)
193
+ */
194
+ contentElementCls ? : string|object
195
+ /**
196
+ * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the
197
+ * field on the expanded record to use for populating this widget's store (if applicable)
198
+ */
199
+ dataField ? : string
200
+ /**
201
+ * Object to apply to elements dataset (each key will be used as a data-attribute on the element)
202
+ */
203
+ dataset ? : Record<string, string>
204
+ /**
205
+ * The name of the property to set when a single value is to be applied to this Widget. Such as when used
206
+ * in a grid WidgetColumn, this is the property to which the column's `field` is applied.
207
+ */
208
+ defaultBindProperty ? : string
209
+ /**
210
+ * A [query](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#function-query) selector function which can identify the descendant widget to which
211
+ * focus should be directed by default.
212
+ * ...
213
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-defaultFocus)
214
+ * @param {Core.widget.Widget} widget Widget passed to method
215
+ * @returns {boolean} truthy value if widget is the default one
216
+ */
217
+ defaultFocus ? : ((widget: Widget) => Boolean)|string
218
+ /**
219
+ * A config object containing default settings to apply to all child widgets.
220
+ */
221
+ defaults ? : SchedulerProContainerItemConfig
222
+ /**
223
+ * Default availability ranges to be assigned to a day (or an exception)
224
+ * once it's made working.
225
+ * By default uses `08:00-12:00, 13:00-17:00` ranges.
226
+ */
227
+ defaultWorkingDayAvailability ? : AvailabilityRangeModelConfig[]
228
+ /**
229
+ * Specifies days treated as working by default. The config is used when adding a new week.
230
+ * In this case the widget sets the week working days availability with
231
+ * [defaultWorkingDayAvailability](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-defaultWorkingDayAvailability) value.
232
+ * ...
233
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-defaultWorkingDays)
234
+ */
235
+ defaultWorkingDays ? : WorkingDays
236
+ /**
237
+ * Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
238
+ * ...
239
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-detectCSSCompatibilityIssues)
240
+ */
241
+ detectCSSCompatibilityIssues ? : Boolean
242
+ /**
243
+ * 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
244
+ * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
245
+ * ...
246
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-disabled)
247
+ */
248
+ disabled ? : Boolean|'inert'
249
+ /**
250
+ * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel)
251
+ * [strips collection](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
252
+ * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
253
+ * body. Such widgets are called "edge strips".
254
+ * ...
255
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-dock)
256
+ */
257
+ dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
258
+ /**
259
+ * Set to `false` to prevent dragging the popup element.
260
+ */
261
+ draggable ? : Boolean|{
262
+ handleSelector?: string
263
+ }
264
+ /**
265
+ * Make this Panel a docked drawer which slides out from one side of the browser viewport by default.
266
+ * ...
267
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-drawer)
268
+ * @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.
269
+ * @param {string,number} size The size of the drawer in its collapsible axis.
270
+ * @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.
271
+ * @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.
272
+ * @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.
273
+ * @param {boolean,string} autoClose.focusout If focus moves outside of the drawer, the drawer will automatically be hidden.
274
+ * @param {string} autoClose.mouseout Hides the drawer when the mouse leaves the drawer after the `autoCloseDelay` period.
275
+ * @param {number} autoCloseDelay When using `mouseout`, this is the delay in milliseconds
276
+ */
277
+ 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}
278
+ /**
279
+ * An object specifying attributes to assign to the root element of this widget.
280
+ * Set `null` value to attribute to remove it.
281
+ * ...
282
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-elementAttributes)
283
+ */
284
+ elementAttributes ? : Record<string, string|null>
285
+ extraData ? : any
286
+ /**
287
+ * 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
288
+ * flexbox layout. This config allows you to set this widget's
289
+ * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.
290
+ * This may be configured as a single number or a `&lt;flex-grow&gt; &lt;flex-shrink&gt; &lt;flex-basis&gt;` format string.
291
+ * numeric-only values are interpreted as the `flex-grow` value.
292
+ */
293
+ flex ? : number|string
294
+ /**
295
+ * Set to `true` to move the widget out of the document flow and position it
296
+ * absolutely in browser viewport space.
297
+ */
298
+ floating ? : Boolean
299
+ /**
300
+ * By default a Popup is focused when it is shown.
301
+ * Configure this as `false` to prevent automatic focus on show.
302
+ */
303
+ focusOnToFront ? : Boolean
304
+ /**
305
+ * Config object of a footer. May contain a `dock`, `html` and a `cls` property. A footer is not a widget,
306
+ * 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).
307
+ * ...
308
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-footer)
309
+ */
310
+ footer ? : {
311
+ dock?: 'top'|'right'|'bottom'|'left'|'start'|'end'
312
+ html?: string
313
+ cls?: string
314
+ }|string
315
+ /**
316
+ * DOM element to attach popup.
317
+ */
318
+ forElement ? : HTMLElement
319
+ /**
320
+ * 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`.
321
+ * ...
322
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-header)
323
+ */
324
+ header ? : string|Boolean|PanelHeader
325
+ /**
326
+ * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,
327
+ * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some
328
+ * cases this config is convenient.
329
+ */
330
+ height ? : string|number
331
+ /**
332
+ * Configure with true to make widget initially hidden.
333
+ */
334
+ hidden ? : Boolean
335
+ /**
336
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
337
+ * ...
338
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-hideAnimation)
339
+ */
340
+ hideAnimation ? : Boolean|object
341
+ /**
342
+ * Specify `true` to make this container hide when it has no visible children (Either empty
343
+ * or all children hidden).
344
+ * ...
345
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-hideWhenEmpty)
346
+ */
347
+ hideWhenEmpty ? : Boolean
348
+ /**
349
+ * The HTML to display initially or a function returning the markup (called at widget construction time).
350
+ * ...
351
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-html)
352
+ * @param {Core.widget.Widget} widget The calling Widget
353
+ * @returns {string}
354
+ */
355
+ html ? : string|((widget: Widget) => string)|DomConfig|DomConfig[]|VueConfig
356
+ /**
357
+ * The CSS class(es) to add when HTML content is being applied to this widget.
358
+ */
359
+ htmlCls ? : string|object
360
+ /**
361
+ * An icon to show before the [title](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-title). Either pass a CSS class as a string, or pass a
362
+ * [DomConfig](https://bryntum.com/products/schedulerpro/docs/api/Core/helper/DomHelper#typedef-DomConfig) object describing an element to represent the icon.
363
+ */
364
+ icon ? : string|DomConfig
365
+ /**
366
+ * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById
367
+ */
368
+ id ? : string
369
+ /**
370
+ * Determines if the widgets read-only state should be controlled by its parent.
371
+ * ...
372
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-ignoreParentReadOnly)
373
+ */
374
+ ignoreParentReadOnly ? : Boolean
375
+ /**
376
+ * Convenience setting to align input fields of child widgets. By default, the Field input element is
377
+ * placed immediately following the `label`. If you prefer to have all input fields aligned to the
378
+ * right, set this config to `'end'`.
379
+ * ...
380
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-inputFieldAlign)
381
+ */
382
+ inputFieldAlign ? : 'start'|'end'
383
+ /**
384
+ * 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.
385
+ */
386
+ insertBefore ? : HTMLElement|string
387
+ /**
388
+ * 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.
389
+ */
390
+ insertFirst ? : HTMLElement|string
391
+ /**
392
+ * An optional CSS class to add to child items of this container.
393
+ */
394
+ itemCls ? : string
395
+ /**
396
+ * An object containing typed child widget config objects or Widgets. May also be specified
397
+ * as an array.
398
+ * ...
399
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-items)
400
+ */
401
+ items ? : Record<string, SchedulerProContainerItemConfig|MenuItemEntry>|(SchedulerProContainerItemConfig|MenuItemEntry|Widget)[]
402
+ /**
403
+ * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
404
+ * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
405
+ * are the name of the instance method to call when the keystroke is received.
406
+ * ...
407
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-keyMap)
408
+ */
409
+ keyMap ? : Record<string, KeyMapConfig>
410
+ /**
411
+ * Convenience setting to use same label placement on all child widgets.
412
+ * ...
413
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-labelPosition)
414
+ */
415
+ labelPosition ? : 'before'|'above'|'align-before'|'auto'|null
416
+ /**
417
+ * The short name of a helper class which manages rendering and styling of child items.
418
+ * ...
419
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-layout)
420
+ */
421
+ layout ? : string|SchedulerProContainerLayoutConfig
422
+ /**
423
+ * The CSS style properties to apply to the [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement).
424
+ * ...
425
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-layoutStyle)
426
+ */
427
+ layoutStyle ? : object
428
+ /**
429
+ * 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
430
+ * instances only when this Container is rendered, rather than eagerly at construct time.
431
+ * ...
432
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-lazyItems)
433
+ */
434
+ lazyItems ? : Record<string, SchedulerProContainerItemConfig>|SchedulerProContainerItemConfig[]|Widget[]
435
+ /**
436
+ * The listener set for this object.
437
+ * ...
438
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-listeners)
439
+ */
440
+ listeners ? : CalendarEditorListeners
441
+ /**
442
+ * A class translations of which are used for translating this entity.
443
+ * This is often used when translations of an item are defined on its container class.
444
+ * For example:
445
+ * ...
446
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-localeClass)
447
+ */
448
+ localeClass ? : typeof Base
449
+ /**
450
+ * Set to `false` to disable localization of this object.
451
+ */
452
+ localizable ? : Boolean
453
+ /**
454
+ * List of properties which values should be translated automatically upon a locale applying.
455
+ * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
456
+ * you could use 'localeKey' meta configuration.
457
+ * Example:
458
+ * ...
459
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-localizableProperties)
460
+ */
461
+ localizableProperties ? : string[]
462
+ /**
463
+ * Widget's margin. This may be configured as a single number or a `TRBL` format string.
464
+ * numeric-only values are interpreted as pixels.
465
+ */
466
+ margin ? : number|string
467
+ /**
468
+ * This config object contains the defaults for the [Mask](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Mask) created for the
469
+ * [masked](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these
470
+ * values.
471
+ */
472
+ maskDefaults ? : MaskConfig
473
+ /**
474
+ * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a
475
+ * [Mask](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Mask) config object.
476
+ */
477
+ masked ? : Boolean|string|MaskConfig
478
+ /**
479
+ * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that
480
+ * like [height](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
481
+ */
482
+ maxHeight ? : string|number
483
+ /**
484
+ * Show a tool in the header to maximize this popup
485
+ */
486
+ maximizable ? : Boolean
487
+ /**
488
+ * Set to `true` to make this widget take all available space in the visible viewport.
489
+ */
490
+ maximized ? : Boolean
491
+ /**
492
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
493
+ * ...
494
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-maximizeOnMobile)
495
+ */
496
+ maximizeOnMobile ? : number|string
497
+ /**
498
+ * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that
499
+ * like [width](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
500
+ */
501
+ maxWidth ? : string|number
502
+ /**
503
+ * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that
504
+ * like [height](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
505
+ */
506
+ minHeight ? : string|number
507
+ /**
508
+ * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that
509
+ * like [width](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
510
+ */
511
+ minWidth ? : string|number
512
+ /**
513
+ * Optionally show an opaque mask below this Popup when shown.
514
+ * Configure this as `true` to show the mask.
515
+ * ...
516
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-modal)
517
+ */
518
+ modal ? : Boolean|{
519
+ closeOnMaskTap?: Boolean
520
+ transparent?: Boolean
521
+ }
522
+ /**
523
+ * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
524
+ * is used to monitor this element for size changes caused by either style manipulation, or by CSS
525
+ * layout.
526
+ * ...
527
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-monitorResize)
528
+ */
529
+ monitorResize ? : Boolean|{
530
+ immediate?: Boolean
531
+ }
532
+ /**
533
+ * 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)
534
+ * config. For example, a specialized [Menu](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Menu) subclass may have a `namedItems` default
535
+ * value defined like this:
536
+ * ...
537
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-namedItems)
538
+ */
539
+ namedItems ? : Record<string, SchedulerProContainerItemConfig>
540
+ /**
541
+ * The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
542
+ * [items](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
543
+ * the owner is <strong>always</strong> the encapsulating Container.
544
+ * ...
545
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-owner)
546
+ */
547
+ owner ? : Widget|any
548
+ /**
549
+ * 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
550
+ * not participate in the standard layout of that widget, and must be positioned relatively to that
551
+ * widget's [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement).
552
+ * ...
553
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-positioned)
554
+ */
555
+ positioned ? : Boolean
556
+ /**
557
+ * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a
558
+ * menu on click etc, since the tooltip would be displayed at the same time.
559
+ */
560
+ preventTooltipOnTouch ? : Boolean
561
+ /**
562
+ * Whether this widget is read-only. This is only valid if the widget is an input
563
+ * field, <strong>or contains input fields at any depth</strong>.
564
+ * ...
565
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-readOnly)
566
+ */
567
+ readOnly ? : Boolean
568
+ /**
569
+ * [Record](https://bryntum.com/products/schedulerpro/docs/api/Core/data/Model) whose values will be used to populate fields in the container.
570
+ * ...
571
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-record)
572
+ */
573
+ record ? : Model
574
+ relayStoreEvents ? : Boolean
575
+ /**
576
+ * Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget
577
+ * `type`.
578
+ * ...
579
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-rendition)
580
+ */
581
+ rendition ? : string|Record<string, string>|null
582
+ /**
583
+ * Configure this property to allow the widget/component to be resized. Pressing <kbd>Shift</kbd> while resizing will
584
+ * constrain the aspect ratio.
585
+ * ...
586
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-resizable)
587
+ */
588
+ resizable ? : Boolean|{
589
+ minWidth?: number
590
+ maxWidth?: number
591
+ minHeight?: number
592
+ maxHeight?: number
593
+ handles?: object
594
+ }
595
+ /**
596
+ * Configure as `true` to have the component display a translucent ripple when its
597
+ * [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
598
+ * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
599
+ * ...
600
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-ripple)
601
+ */
602
+ ripple ? : Boolean|{
603
+ delegate?: string
604
+ color?: string
605
+ radius?: number
606
+ clip?: string
607
+ }
608
+ /**
609
+ * 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`
610
+ */
611
+ rootElement ? : ShadowRoot|HTMLElement
612
+ /**
613
+ * This may be configured as `true` to make the widget's element use the `direction:rtl` style.
614
+ * ...
615
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-rtl)
616
+ */
617
+ rtl ? : Boolean
618
+ /**
619
+ * Specifies whether (and optionally in which axes) a Widget may scroll. `true` means this widget may scroll
620
+ * in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
621
+ * applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
622
+ * CSS overflow properties thus:
623
+ * ...
624
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-scrollable)
625
+ */
626
+ scrollable ? : Boolean|ScrollerConfig|Scroller
627
+ /**
628
+ * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
629
+ * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.
630
+ */
631
+ scrollAction ? : 'hide'|'realign'|null
632
+ /**
633
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*
634
+ * ...
635
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-showAnimation)
636
+ */
637
+ showAnimation ? : Boolean|object
638
+ /**
639
+ * Show popup when user clicks the element that it is anchored to. Cannot be combined with showOnHover. Can
640
+ * also be provided as the button number (0: main button, 2: right button).
641
+ */
642
+ showOnClick ? : Boolean|number
643
+ /**
644
+ * 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)
645
+ */
646
+ showTooltipWhenDisabled ? : Boolean
647
+ /**
648
+ * Programmatic control over how many columns to span when used in a grid layout.
649
+ */
650
+ span ? : number
651
+ /**
652
+ * This value can be one of the following:
653
+ * ...
654
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-stateful)
655
+ */
656
+ stateful ? : Boolean|object|string[]
657
+ /**
658
+ * The events that, when fired by this component, should trigger it to save its state by calling
659
+ * [saveState](https://bryntum.com/products/schedulerpro/docs/api/Core/mixin/State#function-saveState).
660
+ * ...
661
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-statefulEvents)
662
+ */
663
+ statefulEvents ? : object|string[]
664
+ /**
665
+ * 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
666
+ * 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)
667
+ * (if explicitly specified) will be used as the `stateId`.
668
+ * ...
669
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-stateId)
670
+ */
671
+ stateId ? : string
672
+ /**
673
+ * 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`
674
+ * will be saved using the [default state provider](https://bryntum.com/products/schedulerpro/docs/api/Core/state/StateProvider#property-instance-static).
675
+ * ...
676
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-stateProvider)
677
+ */
678
+ stateProvider ? : StateProvider
679
+ /**
680
+ * Specify `true` to match fields by their `name` property only when assigning a [record](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#config-record),
681
+ * without falling back to `ref`.
682
+ */
683
+ strictRecordMapping ? : Boolean
684
+ /**
685
+ * An object containing widgets keyed by name. By default (when no `type` is given), strips are
686
+ * [toolbars](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Toolbar). If you want to pass an array, you can use
687
+ * the toolbar's [items](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#config-items).
688
+ * ...
689
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-strips)
690
+ */
691
+ strips ? : Record<string, SchedulerProContainerItemConfig>
692
+ /**
693
+ * 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
694
+ * [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
695
+ * this widget:
696
+ * ...
697
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-tab)
698
+ */
699
+ tab ? : Boolean|TabConfig
700
+ /**
701
+ * When this container is used as a tab in a TabPanel, these items are added to the
702
+ * [TabBar](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/TabBar) when this container is the active tab.
703
+ * ...
704
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-tabBarItems)
705
+ */
706
+ tabBarItems ? : ToolbarItems[]|Widget[]
707
+ /**
708
+ * The tag name of this Widget's root element
709
+ */
710
+ tag ? : string
711
+ /**
712
+ * A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Toolbar),
713
+ * or array of config objects representing the child items of a Toolbar.
714
+ * This creates a toolbar docked to the top of the panel immediately below the header.
715
+ * ...
716
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-tbar)
717
+ */
718
+ tbar ? : (SchedulerProContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null
719
+ /**
720
+ * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
721
+ * ...
722
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-textAlign)
723
+ */
724
+ textAlign ? : 'left'|'center'|'right'|'start'|'end'
725
+ /**
726
+ * Specify `true` for a container used to show text markup. It will apply the CSS class `b-text-content`
727
+ * which specifies a default max-width that makes long text more readable.
728
+ * ...
729
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-textContent)
730
+ */
731
+ textContent ? : Boolean
732
+ /**
733
+ * A title to display in the header or owning TabPanel. Causes creation and docking of a header
734
+ * to the top if no header is configured.
735
+ * ...
736
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-title)
737
+ */
738
+ title ? : string
739
+ /**
740
+ * 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
741
+ * property name is the reference by which an instantiated tool may be retrieved from the live
742
+ * `[tools](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/mixin/Toolable#property-tools)` property.
743
+ * ...
744
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-tools)
745
+ */
746
+ tools ? : Record<string, ToolConfig>|null
747
+ /**
748
+ * Tooltip for the widget, either as a string or as a Tooltip config object.
749
+ * ...
750
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-tooltip)
751
+ */
752
+ tooltip ? : string|TooltipConfig|null
753
+ /**
754
+ * By default, tabbing within a Popup is circular - that is it does not exit.
755
+ * Configure this as `false` to allow tabbing out of the Popup.
756
+ */
757
+ trapFocus ? : Boolean
758
+ type ? : 'calendareditor'
759
+ /**
760
+ * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
761
+ * as a space separated string, an array of strings, or as an object in which property names with truthy
762
+ * values are used as the class names.
763
+ * ...
764
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-ui)
765
+ */
766
+ ui ? : 'plain'|'toolbar'|string|object
767
+ /**
768
+ * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container).
769
+ * Higher weights go further down.
770
+ */
771
+ weight ? : number
772
+ /**
773
+ * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which
774
+ * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases
775
+ * this config is convenient.
776
+ */
777
+ width ? : string|number
778
+ /**
779
+ * The x position for the widget.
780
+ * ...
781
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-x)
782
+ */
783
+ x ? : number
784
+ /**
785
+ * The y position for the widget.
786
+ * ...
787
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#config-y)
788
+ */
789
+ y ? : number
790
+
791
+ }>();
792
+
793
+ const emit = defineEmits<{
794
+ /**
795
+ * Fired when the [close](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Popup#function-close) method is called and the popup is not hidden.
796
+ * May be vetoed by returning `false` from a handler.
797
+ * @param {string} e Event name
798
+ * @param {object} params Event parameters
799
+ * @param {string} params.e Event name
800
+ * @param {object} params.params Event parameters
801
+ * @param {object} params.params.event Event object
802
+ * @param {Core.widget.Popup} params.params.event.source This Popup
803
+ */
804
+ (e: 'beforeClose', params: ((event: { source: Popup }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
805
+ /**
806
+ * Fires before an object is destroyed.
807
+ * @param {string} e Event name
808
+ * @param {object} params Event parameters
809
+ * @param {string} params.e Event name
810
+ * @param {object} params.params Event parameters
811
+ * @param {object} params.params.event Event object
812
+ * @param {Core.Base} params.params.event.source The Object that is being destroyed.
813
+ */
814
+ (e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
815
+ /**
816
+ * Triggered before a widget is hidden. Return `false` to prevent the action.
817
+ * @param {string} e Event name
818
+ * @param {object} params Event parameters
819
+ * @param {string} params.e Event name
820
+ * @param {object} params.params Event parameters
821
+ * @param {object} params.params.event Event object
822
+ * @param {Core.widget.Widget} params.params.event.source The widget being hidden.
823
+ */
824
+ (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
825
+ /**
826
+ * Fired before this container will load record values into its child fields. This is useful if you
827
+ * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
828
+ * @param {string} e Event name
829
+ * @param {object} params Event parameters
830
+ * @param {string} params.e Event name
831
+ * @param {object} params.params Event parameters
832
+ * @param {object} params.params.event Event object
833
+ * @param {Core.widget.Container} params.params.event.source The container
834
+ * @param {Core.data.Model} params.params.event.record The record
835
+ */
836
+ (e: 'beforeSetRecord', params: ((event: { source: Container, record: Model }) => void)|string): void
837
+ /**
838
+ * Triggered before a widget is shown. Return `false` to prevent the action.
839
+ * @param {string} e Event name
840
+ * @param {object} params Event parameters
841
+ * @param {string} params.e Event name
842
+ * @param {object} params.params Event parameters
843
+ * @param {object} params.params.event Event object
844
+ * @param {Core.widget.Widget,any} params.params.event.source The widget being shown
845
+ */
846
+ (e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
847
+ /**
848
+ * Fired before state is applied to the source. Allows editing the state object or preventing the operation.
849
+ * @param {string} e Event name
850
+ * @param {object} params Event parameters
851
+ * @param {string} params.e Event name
852
+ * @param {object} params.params Event parameters
853
+ * @param {object} params.params.event Event object
854
+ * @param {any} params.params.event.state State object config
855
+ */
856
+ (e: 'beforeStateApply', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
857
+ /**
858
+ * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
859
+ * @param {string} e Event name
860
+ * @param {object} params Event parameters
861
+ * @param {string} params.e Event name
862
+ * @param {object} params.params Event parameters
863
+ * @param {object} params.params.event Event object
864
+ * @param {any} params.params.event.state State object config
865
+ */
866
+ (e: 'beforeStateSave', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
867
+ /**
868
+ * Fires when any other event is fired from the object.
869
+ * ...
870
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#event-catchAll)
871
+ * @param {string} e Event name
872
+ * @param {object} params Event parameters
873
+ * @param {string} params.e Event name
874
+ * @param {object} params.params Event parameters
875
+ * @param {object} params.params.event Event object
876
+ * @param {{[key: string]: any, type: string}} params.params.event.event The Object that contains event details
877
+ * @param {string} params.params.event.event.type The type of the event which is caught by the listener
878
+ */
879
+ (e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
880
+ /**
881
+ * Fires when a Panel is collapsed using the [collapsible](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-collapsible) setting.
882
+ * @param {string} e Event name
883
+ * @param {object} params Event parameters
884
+ * @param {string} params.e Event name
885
+ * @param {object} params.params Event parameters
886
+ * @param {object} params.params.event Event object
887
+ * @param {Core.widget.Panel} params.params.event.source This Panel.
888
+ */
889
+ (e: 'collapse', params: ((event: { source: Panel }) => void)|string): void
890
+ /**
891
+ * Fires when an object is destroyed.
892
+ * @param {string} e Event name
893
+ * @param {object} params Event parameters
894
+ * @param {string} params.e Event name
895
+ * @param {object} params.params Event parameters
896
+ * @param {object} params.params.event Event object
897
+ * @param {Core.Base} params.params.event.source The Object that is being destroyed.
898
+ */
899
+ (e: 'destroy', params: ((event: { source: Base }) => void)|string): void
900
+ /**
901
+ * Fires when a field is mutated and the state of the [hasChanges](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#property-hasChanges) property changes
902
+ * @param {string} e Event name
903
+ * @param {object} params Event parameters
904
+ * @param {string} params.e Event name
905
+ * @param {object} params.params Event parameters
906
+ * @param {object} params.params.event Event object
907
+ * @param {Core.widget.Container} params.params.event.source The container.
908
+ * @param {boolean} params.params.event.dirty The dirty state of the Container - `true` if there are any fields which have been changed since initial load.
909
+ */
910
+ (e: 'dirtyStateChange', params: ((event: { source: Container, dirty: boolean }) => void)|string): void
911
+ /**
912
+ * Triggered when a widget's [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element) is available.
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 {HTMLElement} params.params.event.element The Widget's element.
919
+ */
920
+ (e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void
921
+ /**
922
+ * Fires when a Panel is expanded using the [collapsible](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-collapsible) setting.
923
+ * @param {string} e Event name
924
+ * @param {object} params Event parameters
925
+ * @param {string} params.e Event name
926
+ * @param {object} params.params Event parameters
927
+ * @param {object} params.params.event Event object
928
+ * @param {Core.widget.Panel} params.params.event.source This Panel.
929
+ */
930
+ (e: 'expand', params: ((event: { source: Panel }) => void)|string): void
931
+ /**
932
+ * Fired when focus enters this Widget.
933
+ * @param {string} e Event name
934
+ * @param {object} params Event parameters
935
+ * @param {string} params.e Event name
936
+ * @param {object} params.params Event parameters
937
+ * @param {object} params.params.event Event object
938
+ * @param {Core.widget.Widget} params.params.event.source This Widget
939
+ * @param {HTMLElement} params.params.event.fromElement The element which lost focus.
940
+ * @param {HTMLElement} params.params.event.toElement The element which gained focus.
941
+ * @param {Core.widget.Widget} params.params.event.fromWidget The widget which lost focus.
942
+ * @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
943
+ * @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
944
+ */
945
+ (e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
946
+ /**
947
+ * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.
948
+ * focus moving from within this Widget's ownership tree, even if there are floating widgets
949
+ * will not trigger this event. This is when focus exits this widget completely.
950
+ * @param {string} e Event name
951
+ * @param {object} params Event parameters
952
+ * @param {string} params.e Event name
953
+ * @param {object} params.params Event parameters
954
+ * @param {object} params.params.event Event object
955
+ * @param {Core.widget.Widget} params.params.event.source This Widget
956
+ * @param {HTMLElement} params.params.event.fromElement The element which lost focus.
957
+ * @param {HTMLElement} params.params.event.toElement The element which gained focus.
958
+ * @param {Core.widget.Widget} params.params.event.fromWidget The widget which lost focus.
959
+ * @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
960
+ * @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
961
+ */
962
+ (e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
963
+ /**
964
+ * Triggered after a widget was hidden
965
+ * @param {string} e Event name
966
+ * @param {object} params Event parameters
967
+ * @param {string} params.e Event name
968
+ * @param {object} params.params Event parameters
969
+ * @param {object} params.params.event Event object
970
+ * @param {Core.widget.Widget} params.params.event.source The widget
971
+ */
972
+ (e: 'hide', params: ((event: { source: Widget }) => void)|string): void
973
+ /**
974
+ * Triggered when a widget which had been in a non-visible state for any reason
975
+ * achieves visibility.
976
+ * ...
977
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarEditor#event-paint)
978
+ * @param {string} e Event name
979
+ * @param {object} params Event parameters
980
+ * @param {string} params.e Event name
981
+ * @param {object} params.params Event parameters
982
+ * @param {object} params.params.event Event object
983
+ * @param {Core.widget.Widget} params.params.event.source The widget being painted.
984
+ * @param {boolean} params.params.event.firstPaint `true` if this is the first paint.
985
+ */
986
+ (e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void
987
+ /**
988
+ * Fired when a Widget's read only state is toggled
989
+ * @param {string} e Event name
990
+ * @param {object} params Event parameters
991
+ * @param {string} params.e Event name
992
+ * @param {object} params.params Event parameters
993
+ * @param {object} params.params.event Event object
994
+ * @param {boolean} params.params.event.readOnly Read only or not
995
+ */
996
+ (e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void
997
+ /**
998
+ * This event is fired after a widget's elements have been synchronized due to a direct or indirect call
999
+ * 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.
1000
+ */
1001
+ (e: 'recompose', params: (() => void)|string): void
1002
+ /**
1003
+ * 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`*.
1004
+ * @param {string} e Event name
1005
+ * @param {object} params Event parameters
1006
+ * @param {string} params.e Event name
1007
+ * @param {object} params.params Event parameters
1008
+ * @param {object} params.params.event Event object
1009
+ * @param {Core.widget.Widget} params.params.event.source This Widget
1010
+ * @param {number} params.params.event.width The new width
1011
+ * @param {number} params.params.event.height The new height
1012
+ * @param {number} params.params.event.oldWidth The old width
1013
+ * @param {number} params.params.event.oldHeight The old height
1014
+ */
1015
+ (e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
1016
+ /**
1017
+ * Triggered after a widget is shown.
1018
+ * @param {string} e Event name
1019
+ * @param {object} params Event parameters
1020
+ * @param {string} params.e Event name
1021
+ * @param {object} params.params Event parameters
1022
+ * @param {object} params.params.event Event object
1023
+ * @param {Core.widget.Widget} params.params.event.source The widget
1024
+ */
1025
+ (e: 'show', params: ((event: { source: Widget }) => void)|string): void
1026
+ /**
1027
+ * A header [tool](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-tools) has been clicked.
1028
+ * @param {string} e Event name
1029
+ * @param {object} params Event parameters
1030
+ * @param {string} params.e Event name
1031
+ * @param {object} params.params Event parameters
1032
+ * @param {object} params.params.event Event object
1033
+ * @param {Core.widget.Tool} params.params.event.source This Panel.
1034
+ * @param {Core.widget.Tool} params.params.event.tool The tool which is being clicked.
1035
+ */
1036
+ (e: 'toolClick', params: ((event: { source: Tool, tool: Tool }) => void)|string): void
1037
+ }>();
1038
+
1039
+ const widgetData = {
1040
+ instanceClass : CalendarEditor,
1041
+ instanceName : 'CalendarEditor',
1042
+
1043
+ configNames : [
1044
+ 'activeDate',
1045
+ 'adopt',
1046
+ 'align',
1047
+ 'anchor',
1048
+ 'ariaDescription',
1049
+ 'ariaLabel',
1050
+ 'autoClose',
1051
+ 'autoShow',
1052
+ 'autoUpdateRecord',
1053
+ 'bbar',
1054
+ 'bodyCls',
1055
+ 'bubbleEvents',
1056
+ 'calendar',
1057
+ 'centered',
1058
+ 'closable',
1059
+ 'closeAction',
1060
+ 'closeOnEscape',
1061
+ 'collapsible',
1062
+ 'color',
1063
+ 'config',
1064
+ 'constrainTo',
1065
+ 'contentElementCls',
1066
+ 'dataField',
1067
+ 'defaultBindProperty',
1068
+ 'defaultFocus',
1069
+ 'defaults',
1070
+ 'defaultWorkingDayAvailability',
1071
+ 'defaultWorkingDays',
1072
+ 'detectCSSCompatibilityIssues',
1073
+ 'dock',
1074
+ 'draggable',
1075
+ 'drawer',
1076
+ 'elementAttributes',
1077
+ 'floating',
1078
+ 'focusOnToFront',
1079
+ 'footer',
1080
+ 'forElement',
1081
+ 'header',
1082
+ 'hideAnimation',
1083
+ 'hideWhenEmpty',
1084
+ 'htmlCls',
1085
+ 'icon',
1086
+ 'ignoreParentReadOnly',
1087
+ 'itemCls',
1088
+ 'lazyItems',
1089
+ 'listeners',
1090
+ 'localeClass',
1091
+ 'localizable',
1092
+ 'localizableProperties',
1093
+ 'maskDefaults',
1094
+ 'masked',
1095
+ 'maximizable',
1096
+ 'modal',
1097
+ 'monitorResize',
1098
+ 'namedItems',
1099
+ 'owner',
1100
+ 'positioned',
1101
+ 'preventTooltipOnTouch',
1102
+ 'relayStoreEvents',
1103
+ 'ripple',
1104
+ 'rootElement',
1105
+ 'scrollAction',
1106
+ 'showAnimation',
1107
+ 'showOnClick',
1108
+ 'showTooltipWhenDisabled',
1109
+ 'stateful',
1110
+ 'statefulEvents',
1111
+ 'stateId',
1112
+ 'stateProvider',
1113
+ 'strips',
1114
+ 'tab',
1115
+ 'tabBarItems',
1116
+ 'tag',
1117
+ 'tbar',
1118
+ 'textAlign',
1119
+ 'textContent',
1120
+ 'trapFocus',
1121
+ 'type',
1122
+ 'ui',
1123
+ 'weight'
1124
+ ],
1125
+ propertyConfigNames : [
1126
+ 'alignSelf',
1127
+ 'appendTo',
1128
+ 'callOnFunctions',
1129
+ 'catchEventHandlerExceptions',
1130
+ 'cls',
1131
+ 'collapsed',
1132
+ 'column',
1133
+ 'content',
1134
+ 'dataset',
1135
+ 'disabled',
1136
+ 'extraData',
1137
+ 'flex',
1138
+ 'height',
1139
+ 'hidden',
1140
+ 'html',
1141
+ 'id',
1142
+ 'inputFieldAlign',
1143
+ 'insertBefore',
1144
+ 'insertFirst',
1145
+ 'items',
1146
+ 'keyMap',
1147
+ 'labelPosition',
1148
+ 'layout',
1149
+ 'layoutStyle',
1150
+ 'margin',
1151
+ 'maxHeight',
1152
+ 'maximized',
1153
+ 'maximizeOnMobile',
1154
+ 'maxWidth',
1155
+ 'minHeight',
1156
+ 'minWidth',
1157
+ 'onBeforeClose',
1158
+ 'onBeforeDestroy',
1159
+ 'onBeforeHide',
1160
+ 'onBeforeSetRecord',
1161
+ 'onBeforeShow',
1162
+ 'onBeforeStateApply',
1163
+ 'onBeforeStateSave',
1164
+ 'onCatchAll',
1165
+ 'onCollapse',
1166
+ 'onDestroy',
1167
+ 'onDirtyStateChange',
1168
+ 'onElementCreated',
1169
+ 'onExpand',
1170
+ 'onFocusIn',
1171
+ 'onFocusOut',
1172
+ 'onHide',
1173
+ 'onPaint',
1174
+ 'onReadOnly',
1175
+ 'onRecompose',
1176
+ 'onResize',
1177
+ 'onShow',
1178
+ 'onToolClick',
1179
+ 'readOnly',
1180
+ 'record',
1181
+ 'rendition',
1182
+ 'resizable',
1183
+ 'rtl',
1184
+ 'scrollable',
1185
+ 'span',
1186
+ 'strictRecordMapping',
1187
+ 'title',
1188
+ 'tools',
1189
+ 'tooltip',
1190
+ 'width',
1191
+ 'x',
1192
+ 'y'
1193
+ ],
1194
+ propertyNames : [
1195
+ 'anchorSize',
1196
+ 'focusVisible',
1197
+ 'hasChanges',
1198
+ 'isSettingValues',
1199
+ 'isValid',
1200
+ 'parent',
1201
+ 'state',
1202
+ 'values'
1203
+ ],
1204
+ eventNames : [
1205
+ 'beforeClose',
1206
+ 'beforeDestroy',
1207
+ 'beforeHide',
1208
+ 'beforeSetRecord',
1209
+ 'beforeShow',
1210
+ 'beforeStateApply',
1211
+ 'beforeStateSave',
1212
+ 'catchAll',
1213
+ 'collapse',
1214
+ 'destroy',
1215
+ 'dirtyStateChange',
1216
+ 'elementCreated',
1217
+ 'expand',
1218
+ 'focusIn',
1219
+ 'focusOut',
1220
+ 'hide',
1221
+ 'paint',
1222
+ 'readOnly',
1223
+ 'recompose',
1224
+ 'resize',
1225
+ 'show',
1226
+ 'toolClick'
1227
+ ]
1228
+ };
1229
+
1230
+ const instance: {
1231
+ value?: CalendarEditor
1232
+ } = {};
1233
+
1234
+ const refElement = ref<HTMLDivElement>()!;
1235
+ // Storage for teleports (in-cell Vue component instances) automatically renderer by template
1236
+ const teleports = ref(new Map());
1237
+
1238
+ // Provide teleports for processCellContent
1239
+ provide('teleports', teleports);
1240
+
1241
+ onMounted(() => {
1242
+
1243
+ const me = getCurrentInstance()!;
1244
+
1245
+ instance.value = WrapperHelper.createWidget<typeof CalendarEditor>({
1246
+ me,
1247
+ widgetData,
1248
+ emit,
1249
+ element : refElement.value!,
1250
+ toRaw
1251
+ });
1252
+
1253
+ const watcher = (prop: string, callback: any) => watch(() => me.props[prop], callback);
1254
+ WrapperHelper.watchProps(instance.value, widgetData, watcher);
1255
+ });
1256
+
1257
+ onBeforeUnmount(() => {
1258
+ // @ts-ignore
1259
+ instance.value?.destroy?.();
1260
+ });
1261
+
1262
+ defineExpose({
1263
+ instance,
1264
+ refElement,
1265
+ teleports
1266
+ });
1267
+
1268
+ </script>