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