@bryntum/core-vue-3-thin 7.3.0 → 7.3.2

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 (206) hide show
  1. package/lib/chunks/-8Xai_9S.js.map +1 -1
  2. package/lib/chunks/47-V2ACd.js.map +1 -1
  3. package/lib/chunks/ASihDjXw.js.map +1 -1
  4. package/lib/chunks/B7KhcgPC.js.map +1 -1
  5. package/lib/chunks/B8KGPeHy.js.map +1 -1
  6. package/lib/chunks/BB8tOII_.js.map +1 -1
  7. package/lib/chunks/{S9XwH6IJ.js → BEX7SIci.js} +6 -4
  8. package/lib/chunks/BEX7SIci.js.map +1 -0
  9. package/lib/chunks/BFNWOtf2.js.map +1 -1
  10. package/lib/chunks/BG7E4-sX.js.map +1 -1
  11. package/lib/chunks/{BKLWvKPc.js → BH9WVqFa.js} +12 -10
  12. package/lib/chunks/BH9WVqFa.js.map +1 -0
  13. package/lib/chunks/{naTVDWnB.js → BOGE5pxL.js} +13 -11
  14. package/lib/chunks/BOGE5pxL.js.map +1 -0
  15. package/lib/chunks/{C14dvV95.js → BQikt_g7.js} +10 -8
  16. package/lib/chunks/BQikt_g7.js.map +1 -0
  17. package/lib/chunks/{C0-E5hnK.js → BWPcUxSk.js} +9 -7
  18. package/lib/chunks/BWPcUxSk.js.map +1 -0
  19. package/lib/chunks/{D7CJcnRV.js → BmrPNTUZ.js} +9 -7
  20. package/lib/chunks/BmrPNTUZ.js.map +1 -0
  21. package/lib/chunks/{DRz-V3LT.js → Bpq-_L_J.js} +11 -9
  22. package/lib/chunks/Bpq-_L_J.js.map +1 -0
  23. package/lib/chunks/Brp0NyFN.js.map +1 -1
  24. package/lib/chunks/{qkwwWpWo.js → BuQqXOvY.js} +6 -4
  25. package/lib/chunks/BuQqXOvY.js.map +1 -0
  26. package/lib/chunks/{BPANMXC6.js → ByuztLAT.js} +11 -9
  27. package/lib/chunks/ByuztLAT.js.map +1 -0
  28. package/lib/chunks/C0JI13dO.js.map +1 -1
  29. package/lib/chunks/C8pe1IyH.js.map +1 -1
  30. package/lib/chunks/C987g-kK.js.map +1 -1
  31. package/lib/chunks/CLqf-0PN.js.map +1 -1
  32. package/lib/chunks/CQwgnD9q.js.map +1 -1
  33. package/lib/chunks/{HOklxqtO.js → CXEKQ18L.js} +9 -7
  34. package/lib/chunks/CXEKQ18L.js.map +1 -0
  35. package/lib/chunks/Cd9NJP1W.js.map +1 -1
  36. package/lib/chunks/{BrRBMti3.js → CfCbZPht.js} +9 -7
  37. package/lib/chunks/CfCbZPht.js.map +1 -0
  38. package/lib/chunks/{ChAWW3Iy.js → CpVLgWPj.js} +9 -7
  39. package/lib/chunks/CpVLgWPj.js.map +1 -0
  40. package/lib/chunks/Csirfhz_.js.map +1 -1
  41. package/lib/chunks/Cz2JtuJX.js.map +1 -1
  42. package/lib/chunks/D6JcA9Zt.js.map +1 -1
  43. package/lib/chunks/{CUFZWGAX.js → DCcctqdo.js} +5 -3
  44. package/lib/chunks/DCcctqdo.js.map +1 -0
  45. package/lib/chunks/{ToClygqb.js → DNScKbAm.js} +9 -7
  46. package/lib/chunks/DNScKbAm.js.map +1 -0
  47. package/lib/chunks/DNTQukmL.js.map +1 -1
  48. package/lib/chunks/{BeXQ7RhD.js → DOp4_ZR2.js} +7 -5
  49. package/lib/chunks/DOp4_ZR2.js.map +1 -0
  50. package/lib/chunks/DQLfwhka.js.map +1 -1
  51. package/lib/chunks/DR_RL3ms.js.map +1 -1
  52. package/lib/chunks/Dg7wbkjL.js.map +1 -1
  53. package/lib/chunks/{DuiOZGf5.js → DgXr7-Gj.js} +9 -7
  54. package/lib/chunks/DgXr7-Gj.js.map +1 -0
  55. package/lib/chunks/DhOHvb1Z.js.map +1 -1
  56. package/lib/chunks/Hu7IhLgO.js.map +1 -1
  57. package/lib/chunks/WGJj3T9m.js.map +1 -1
  58. package/lib/chunks/Wh7gYeFQ.js.map +1 -1
  59. package/lib/chunks/YAeyT4qi.js.map +1 -1
  60. package/lib/chunks/boSXkG-m.js.map +1 -1
  61. package/lib/chunks/{DAfGAAbO.js → lQtECawa.js} +10 -8
  62. package/lib/chunks/lQtECawa.js.map +1 -0
  63. package/lib/chunks/{B_aqRSp2.js → vcFE80xr.js} +14 -12
  64. package/lib/chunks/vcFE80xr.js.map +1 -0
  65. package/lib/chunks/{IjqHT_Qc.js → xYFGvsOR.js} +9 -7
  66. package/lib/chunks/xYFGvsOR.js.map +1 -0
  67. package/lib/chunks/zIlWjejC.js.map +1 -1
  68. package/lib/chunks/ztxFXigG.js.map +1 -1
  69. package/lib/components/BryntumBooleanCombo.js +1 -1
  70. package/lib/components/BryntumCheckbox.js +1 -1
  71. package/lib/components/BryntumColorField.js +1 -1
  72. package/lib/components/BryntumCombo.js +1 -1
  73. package/lib/components/BryntumDateField.js +1 -1
  74. package/lib/components/BryntumDateRangeField.js +1 -1
  75. package/lib/components/BryntumDateTimeField.js +1 -1
  76. package/lib/components/BryntumDisplayField.js +1 -1
  77. package/lib/components/BryntumDurationField.js +1 -1
  78. package/lib/components/BryntumFileField.js +1 -1
  79. package/lib/components/BryntumFilterField.js +1 -1
  80. package/lib/components/BryntumNumberField.js +1 -1
  81. package/lib/components/BryntumPasswordField.js +1 -1
  82. package/lib/components/BryntumRadio.js +1 -1
  83. package/lib/components/BryntumSlideToggle.js +1 -1
  84. package/lib/components/BryntumTextAreaField.js +1 -1
  85. package/lib/components/BryntumTextAreaPickerField.js +1 -1
  86. package/lib/components/BryntumTextField.js +1 -1
  87. package/lib/components/BryntumTimeField.js +1 -1
  88. package/lib/index.js +19 -19
  89. package/package.json +1 -1
  90. package/src/components/BryntumBooleanCombo.vue +17 -1
  91. package/src/components/BryntumBooleanComboProps.ts +15 -0
  92. package/src/components/BryntumButton.vue +9 -3
  93. package/src/components/BryntumButtonGroup.vue +7 -1
  94. package/src/components/BryntumButtonGroupProps.ts +6 -0
  95. package/src/components/BryntumButtonProps.ts +6 -0
  96. package/src/components/BryntumChatPanel.vue +9 -3
  97. package/src/components/BryntumChatPanelProps.ts +6 -0
  98. package/src/components/BryntumCheckbox.vue +18 -2
  99. package/src/components/BryntumCheckboxGroup.vue +9 -3
  100. package/src/components/BryntumCheckboxGroupProps.ts +6 -0
  101. package/src/components/BryntumCheckboxProps.ts +15 -0
  102. package/src/components/BryntumChipView.vue +11 -3
  103. package/src/components/BryntumChipViewProps.ts +9 -1
  104. package/src/components/BryntumCodeEditor.vue +9 -3
  105. package/src/components/BryntumCodeEditorProps.ts +6 -0
  106. package/src/components/BryntumColorField.vue +17 -1
  107. package/src/components/BryntumColorFieldProps.ts +15 -0
  108. package/src/components/BryntumCombo.vue +17 -1
  109. package/src/components/BryntumComboProps.ts +15 -0
  110. package/src/components/BryntumContainer.vue +7 -1
  111. package/src/components/BryntumContainerProps.ts +6 -0
  112. package/src/components/BryntumDateField.vue +17 -1
  113. package/src/components/BryntumDateFieldProps.ts +15 -0
  114. package/src/components/BryntumDatePicker.vue +9 -3
  115. package/src/components/BryntumDatePickerProps.ts +6 -0
  116. package/src/components/BryntumDateRangeField.vue +17 -1
  117. package/src/components/BryntumDateRangeFieldProps.ts +15 -0
  118. package/src/components/BryntumDateTimeField.vue +17 -1
  119. package/src/components/BryntumDateTimeFieldProps.ts +15 -0
  120. package/src/components/BryntumDemoCodeEditor.vue +9 -3
  121. package/src/components/BryntumDemoCodeEditorProps.ts +6 -0
  122. package/src/components/BryntumDisplayField.vue +17 -1
  123. package/src/components/BryntumDisplayFieldProps.ts +15 -0
  124. package/src/components/BryntumDurationField.vue +17 -1
  125. package/src/components/BryntumDurationFieldProps.ts +15 -0
  126. package/src/components/BryntumEditor.vue +11 -5
  127. package/src/components/BryntumEditorProps.ts +6 -0
  128. package/src/components/BryntumFieldFilterPicker.vue +7 -1
  129. package/src/components/BryntumFieldFilterPickerGroup.vue +8 -2
  130. package/src/components/BryntumFieldFilterPickerGroupProps.ts +6 -0
  131. package/src/components/BryntumFieldFilterPickerProps.ts +6 -0
  132. package/src/components/BryntumFieldSet.vue +9 -3
  133. package/src/components/BryntumFieldSetProps.ts +6 -0
  134. package/src/components/BryntumFileField.vue +17 -1
  135. package/src/components/BryntumFileFieldProps.ts +15 -0
  136. package/src/components/BryntumFilePicker.vue +7 -1
  137. package/src/components/BryntumFilePickerProps.ts +6 -0
  138. package/src/components/BryntumFilterField.vue +17 -1
  139. package/src/components/BryntumFilterFieldProps.ts +15 -0
  140. package/src/components/BryntumHint.vue +9 -3
  141. package/src/components/BryntumHintProps.ts +6 -0
  142. package/src/components/BryntumLabel.vue +7 -1
  143. package/src/components/BryntumLabelProps.ts +6 -0
  144. package/src/components/BryntumList.vue +8 -2
  145. package/src/components/BryntumListProps.ts +6 -0
  146. package/src/components/BryntumMenu.vue +9 -3
  147. package/src/components/BryntumMenuProps.ts +6 -0
  148. package/src/components/BryntumMonthPicker.vue +9 -3
  149. package/src/components/BryntumMonthPickerProps.ts +6 -0
  150. package/src/components/BryntumNumberField.vue +17 -1
  151. package/src/components/BryntumNumberFieldProps.ts +15 -0
  152. package/src/components/BryntumPagingToolbar.vue +8 -2
  153. package/src/components/BryntumPagingToolbarProps.ts +6 -0
  154. package/src/components/BryntumPanel.vue +9 -3
  155. package/src/components/BryntumPanelProps.ts +6 -0
  156. package/src/components/BryntumPasswordField.vue +17 -1
  157. package/src/components/BryntumPasswordFieldProps.ts +15 -0
  158. package/src/components/BryntumProgressBar.vue +7 -1
  159. package/src/components/BryntumProgressBarProps.ts +6 -0
  160. package/src/components/BryntumRadio.vue +18 -2
  161. package/src/components/BryntumRadioGroup.vue +9 -3
  162. package/src/components/BryntumRadioGroupProps.ts +6 -0
  163. package/src/components/BryntumRadioProps.ts +15 -0
  164. package/src/components/BryntumSlideToggle.vue +18 -2
  165. package/src/components/BryntumSlideToggleProps.ts +15 -0
  166. package/src/components/BryntumSlider.vue +7 -1
  167. package/src/components/BryntumSliderProps.ts +6 -0
  168. package/src/components/BryntumSplitter.vue +7 -1
  169. package/src/components/BryntumSplitterProps.ts +6 -0
  170. package/src/components/BryntumTabPanel.vue +10 -4
  171. package/src/components/BryntumTabPanelProps.ts +6 -0
  172. package/src/components/BryntumTextAreaField.vue +17 -1
  173. package/src/components/BryntumTextAreaFieldProps.ts +15 -0
  174. package/src/components/BryntumTextAreaPickerField.vue +17 -1
  175. package/src/components/BryntumTextAreaPickerFieldProps.ts +15 -0
  176. package/src/components/BryntumTextField.vue +17 -1
  177. package/src/components/BryntumTextFieldProps.ts +15 -0
  178. package/src/components/BryntumTimeField.vue +17 -1
  179. package/src/components/BryntumTimeFieldProps.ts +15 -0
  180. package/src/components/BryntumTimePicker.vue +7 -1
  181. package/src/components/BryntumTimePickerProps.ts +6 -0
  182. package/src/components/BryntumToolbar.vue +8 -2
  183. package/src/components/BryntumToolbarProps.ts +6 -0
  184. package/src/components/BryntumWidget.vue +7 -1
  185. package/src/components/BryntumWidgetProps.ts +6 -0
  186. package/src/components/BryntumYearPicker.vue +9 -3
  187. package/src/components/BryntumYearPickerProps.ts +6 -0
  188. package/lib/chunks/BKLWvKPc.js.map +0 -1
  189. package/lib/chunks/BPANMXC6.js.map +0 -1
  190. package/lib/chunks/B_aqRSp2.js.map +0 -1
  191. package/lib/chunks/BeXQ7RhD.js.map +0 -1
  192. package/lib/chunks/BrRBMti3.js.map +0 -1
  193. package/lib/chunks/C0-E5hnK.js.map +0 -1
  194. package/lib/chunks/C14dvV95.js.map +0 -1
  195. package/lib/chunks/CUFZWGAX.js.map +0 -1
  196. package/lib/chunks/ChAWW3Iy.js.map +0 -1
  197. package/lib/chunks/D7CJcnRV.js.map +0 -1
  198. package/lib/chunks/DAfGAAbO.js.map +0 -1
  199. package/lib/chunks/DRz-V3LT.js.map +0 -1
  200. package/lib/chunks/DuiOZGf5.js.map +0 -1
  201. package/lib/chunks/HOklxqtO.js.map +0 -1
  202. package/lib/chunks/IjqHT_Qc.js.map +0 -1
  203. package/lib/chunks/S9XwH6IJ.js.map +0 -1
  204. package/lib/chunks/ToClygqb.js.map +0 -1
  205. package/lib/chunks/naTVDWnB.js.map +0 -1
  206. package/lib/chunks/qkwwWpWo.js.map +0 -1
@@ -42,6 +42,8 @@ defineProps<{
42
42
  /**
43
43
  * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
44
44
  * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
45
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
46
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-appendTo)
45
47
  */
46
48
  appendTo ? : HTMLElement|string
47
49
  /**
@@ -299,10 +301,14 @@ defineProps<{
299
301
  inputFieldAlign ? : 'start'|'end'
300
302
  /**
301
303
  * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
304
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
305
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-insertBefore)
302
306
  */
303
307
  insertBefore ? : HTMLElement|string
304
308
  /**
305
309
  * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
310
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
311
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-insertFirst)
306
312
  */
307
313
  insertFirst ? : HTMLElement|string
308
314
  /**
@@ -657,7 +663,7 @@ const emit = defineEmits<{
657
663
  * @param {object} params.event Event object
658
664
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
659
665
  */
660
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
666
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
661
667
  /**
662
668
  * Fired before this container will load record values into its child fields. This is useful if you
663
669
  * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
@@ -683,7 +689,7 @@ const emit = defineEmits<{
683
689
  * @param {object} params.event Event object
684
690
  * @param {any} params.event.state State object config
685
691
  */
686
- (e: 'beforeStateApply', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
692
+ (e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
687
693
  /**
688
694
  * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
689
695
  * @param {string} e Event name
@@ -691,7 +697,7 @@ const emit = defineEmits<{
691
697
  * @param {object} params.event Event object
692
698
  * @param {any} params.event.state State object config
693
699
  */
694
- (e: 'beforeStateSave', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
700
+ (e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
695
701
  /**
696
702
  * Fires when any other event is fired from the object.
697
703
  * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#event-catchAll)
@@ -27,6 +27,8 @@ export declare type BryntumMonthPickerProps = {
27
27
  /**
28
28
  * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
29
29
  * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
30
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
31
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-appendTo)
30
32
  */
31
33
  appendTo ? : HTMLElement|string
32
34
  /**
@@ -284,10 +286,14 @@ export declare type BryntumMonthPickerProps = {
284
286
  inputFieldAlign ? : 'start'|'end'
285
287
  /**
286
288
  * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
289
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
290
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-insertBefore)
287
291
  */
288
292
  insertBefore ? : HTMLElement|string
289
293
  /**
290
294
  * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
295
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
296
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-insertFirst)
291
297
  */
292
298
  insertFirst ? : HTMLElement|string
293
299
  /**
@@ -42,6 +42,8 @@ defineProps<{
42
42
  /**
43
43
  * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
44
44
  * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
45
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
46
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/NumberField#config-appendTo)
45
47
  */
46
48
  appendTo ? : HTMLElement|string
47
49
  /**
@@ -97,6 +99,15 @@ defineProps<{
97
99
  * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/NumberField#config-changeOnSpin)
98
100
  */
99
101
  changeOnSpin ? : Boolean|number
102
+ /**
103
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
104
+ * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-isValid)
105
+ * evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
106
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/NumberField#config-checkValidity)
107
+ * @param {Core.widget.Field} field The field being validated
108
+ * @returns {void}
109
+ */
110
+ checkValidity ? : ((field: Field) => void)|string
100
111
  /**
101
112
  * Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-readOnly). The trigger is available
102
113
  * in the [triggers](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
@@ -309,10 +320,14 @@ defineProps<{
309
320
  inputWidth ? : string|number
310
321
  /**
311
322
  * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
323
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
324
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/NumberField#config-insertBefore)
312
325
  */
313
326
  insertBefore ? : HTMLElement|string
314
327
  /**
315
328
  * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
329
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
330
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/NumberField#config-insertFirst)
316
331
  */
317
332
  insertFirst ? : HTMLElement|string
318
333
  /**
@@ -668,7 +683,7 @@ const emit = defineEmits<{
668
683
  * @param {object} params.event Event object
669
684
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
670
685
  */
671
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
686
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
672
687
  /**
673
688
  * Triggered before a widget is shown. Return `false` to prevent the action.
674
689
  * @param {string} e Event name
@@ -842,6 +857,7 @@ const widgetData = {
842
857
  'bubbleEvents',
843
858
  'centered',
844
859
  'changeOnSpin',
860
+ 'checkValidity',
845
861
  'clearable',
846
862
  'color',
847
863
  'config',
@@ -27,6 +27,8 @@ export declare type BryntumNumberFieldProps = {
27
27
  /**
28
28
  * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
29
29
  * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
30
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
31
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/NumberField#config-appendTo)
30
32
  */
31
33
  appendTo ? : HTMLElement|string
32
34
  /**
@@ -82,6 +84,15 @@ export declare type BryntumNumberFieldProps = {
82
84
  * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/NumberField#config-changeOnSpin)
83
85
  */
84
86
  changeOnSpin ? : Boolean|number
87
+ /**
88
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
89
+ * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-isValid)
90
+ * evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
91
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/NumberField#config-checkValidity)
92
+ * @param {Core.widget.Field} field The field being validated
93
+ * @returns {void}
94
+ */
95
+ checkValidity ? : ((field: Field) => void)|string
85
96
  /**
86
97
  * Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-readOnly). The trigger is available
87
98
  * in the [triggers](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
@@ -294,10 +305,14 @@ export declare type BryntumNumberFieldProps = {
294
305
  inputWidth ? : string|number
295
306
  /**
296
307
  * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
308
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
309
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/NumberField#config-insertBefore)
297
310
  */
298
311
  insertBefore ? : HTMLElement|string
299
312
  /**
300
313
  * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
314
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
315
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/NumberField#config-insertFirst)
301
316
  */
302
317
  insertFirst ? : HTMLElement|string
303
318
  /**
@@ -42,6 +42,8 @@ defineProps<{
42
42
  /**
43
43
  * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
44
44
  * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
45
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
46
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/PagingToolbar#config-appendTo)
45
47
  */
46
48
  appendTo ? : HTMLElement|string
47
49
  /**
@@ -250,10 +252,14 @@ defineProps<{
250
252
  inputFieldAlign ? : 'start'|'end'
251
253
  /**
252
254
  * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
255
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
256
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/PagingToolbar#config-insertBefore)
253
257
  */
254
258
  insertBefore ? : HTMLElement|string
255
259
  /**
256
260
  * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
261
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
262
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/PagingToolbar#config-insertFirst)
257
263
  */
258
264
  insertFirst ? : HTMLElement|string
259
265
  /**
@@ -575,7 +581,7 @@ const emit = defineEmits<{
575
581
  * @param {object} params.event Event object
576
582
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
577
583
  */
578
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
584
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
579
585
  /**
580
586
  * This event is fired on the owning Toolbar prior to starting a drag gesture. The drag is canceled if
581
587
  * a listener returns `false`.
@@ -586,7 +592,7 @@ const emit = defineEmits<{
586
592
  * @param {Core.widget.Widget} params.event.item The dragged item.
587
593
  * @param {Event} params.event.domEvent The browser event.
588
594
  */
589
- (e: 'beforeItemDragStart', params: ((event: { source: Toolbar, item: Widget, domEvent: Event }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
595
+ (e: 'beforeItemDragStart', params: ((event: { source: Toolbar, item: Widget, domEvent: Event }) => boolean|void)|string): boolean|void
590
596
  /**
591
597
  * Fired before this container will load record values into its child fields. This is useful if you
592
598
  * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
@@ -27,6 +27,8 @@ export declare type BryntumPagingToolbarProps = {
27
27
  /**
28
28
  * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
29
29
  * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
30
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
31
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/PagingToolbar#config-appendTo)
30
32
  */
31
33
  appendTo ? : HTMLElement|string
32
34
  /**
@@ -235,10 +237,14 @@ export declare type BryntumPagingToolbarProps = {
235
237
  inputFieldAlign ? : 'start'|'end'
236
238
  /**
237
239
  * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
240
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
241
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/PagingToolbar#config-insertBefore)
238
242
  */
239
243
  insertBefore ? : HTMLElement|string
240
244
  /**
241
245
  * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
246
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
247
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/PagingToolbar#config-insertFirst)
242
248
  */
243
249
  insertFirst ? : HTMLElement|string
244
250
  /**
@@ -42,6 +42,8 @@ defineProps<{
42
42
  /**
43
43
  * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
44
44
  * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
45
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
46
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Panel#config-appendTo)
45
47
  */
46
48
  appendTo ? : HTMLElement|string
47
49
  /**
@@ -299,10 +301,14 @@ defineProps<{
299
301
  inputFieldAlign ? : 'start'|'end'
300
302
  /**
301
303
  * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
304
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
305
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Panel#config-insertBefore)
302
306
  */
303
307
  insertBefore ? : HTMLElement|string
304
308
  /**
305
309
  * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
310
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
311
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Panel#config-insertFirst)
306
312
  */
307
313
  insertFirst ? : HTMLElement|string
308
314
  /**
@@ -653,7 +659,7 @@ const emit = defineEmits<{
653
659
  * @param {object} params.event Event object
654
660
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
655
661
  */
656
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
662
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
657
663
  /**
658
664
  * Fired before this container will load record values into its child fields. This is useful if you
659
665
  * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
@@ -679,7 +685,7 @@ const emit = defineEmits<{
679
685
  * @param {object} params.event Event object
680
686
  * @param {any} params.event.state State object config
681
687
  */
682
- (e: 'beforeStateApply', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
688
+ (e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
683
689
  /**
684
690
  * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
685
691
  * @param {string} e Event name
@@ -687,7 +693,7 @@ const emit = defineEmits<{
687
693
  * @param {object} params.event Event object
688
694
  * @param {any} params.event.state State object config
689
695
  */
690
- (e: 'beforeStateSave', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
696
+ (e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
691
697
  /**
692
698
  * Fires when any other event is fired from the object.
693
699
  * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Panel#event-catchAll)
@@ -27,6 +27,8 @@ export declare type BryntumPanelProps = {
27
27
  /**
28
28
  * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
29
29
  * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
30
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
31
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Panel#config-appendTo)
30
32
  */
31
33
  appendTo ? : HTMLElement|string
32
34
  /**
@@ -284,10 +286,14 @@ export declare type BryntumPanelProps = {
284
286
  inputFieldAlign ? : 'start'|'end'
285
287
  /**
286
288
  * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
289
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
290
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Panel#config-insertBefore)
287
291
  */
288
292
  insertBefore ? : HTMLElement|string
289
293
  /**
290
294
  * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
295
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
296
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Panel#config-insertFirst)
291
297
  */
292
298
  insertFirst ? : HTMLElement|string
293
299
  /**
@@ -42,6 +42,8 @@ defineProps<{
42
42
  /**
43
43
  * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
44
44
  * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
45
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
46
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/PasswordField#config-appendTo)
45
47
  */
46
48
  appendTo ? : HTMLElement|string
47
49
  /**
@@ -91,6 +93,15 @@ defineProps<{
91
93
  * Set to `true` to centre the Widget in browser viewport space.
92
94
  */
93
95
  centered ? : Boolean
96
+ /**
97
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
98
+ * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-isValid)
99
+ * evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
100
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/PasswordField#config-checkValidity)
101
+ * @param {Core.widget.Field} field The field being validated
102
+ * @returns {void}
103
+ */
104
+ checkValidity ? : ((field: Field) => void)|string
94
105
  /**
95
106
  * Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-readOnly). The trigger is available
96
107
  * in the [triggers](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
@@ -294,10 +305,14 @@ defineProps<{
294
305
  inputWidth ? : string|number
295
306
  /**
296
307
  * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
308
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
309
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/PasswordField#config-insertBefore)
297
310
  */
298
311
  insertBefore ? : HTMLElement|string
299
312
  /**
300
313
  * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
314
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
315
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/PasswordField#config-insertFirst)
301
316
  */
302
317
  insertFirst ? : HTMLElement|string
303
318
  /**
@@ -620,7 +635,7 @@ const emit = defineEmits<{
620
635
  * @param {object} params.event Event object
621
636
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
622
637
  */
623
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
638
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
624
639
  /**
625
640
  * Triggered before a widget is shown. Return `false` to prevent the action.
626
641
  * @param {string} e Event name
@@ -793,6 +808,7 @@ const widgetData = {
793
808
  'autoSelect',
794
809
  'bubbleEvents',
795
810
  'centered',
811
+ 'checkValidity',
796
812
  'clearable',
797
813
  'color',
798
814
  'config',
@@ -27,6 +27,8 @@ export declare type BryntumPasswordFieldProps = {
27
27
  /**
28
28
  * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
29
29
  * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
30
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
31
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/PasswordField#config-appendTo)
30
32
  */
31
33
  appendTo ? : HTMLElement|string
32
34
  /**
@@ -76,6 +78,15 @@ export declare type BryntumPasswordFieldProps = {
76
78
  * Set to `true` to centre the Widget in browser viewport space.
77
79
  */
78
80
  centered ? : Boolean
81
+ /**
82
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
83
+ * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-isValid)
84
+ * evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
85
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/PasswordField#config-checkValidity)
86
+ * @param {Core.widget.Field} field The field being validated
87
+ * @returns {void}
88
+ */
89
+ checkValidity ? : ((field: Field) => void)|string
79
90
  /**
80
91
  * Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-readOnly). The trigger is available
81
92
  * in the [triggers](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
@@ -279,10 +290,14 @@ export declare type BryntumPasswordFieldProps = {
279
290
  inputWidth ? : string|number
280
291
  /**
281
292
  * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
293
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
294
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/PasswordField#config-insertBefore)
282
295
  */
283
296
  insertBefore ? : HTMLElement|string
284
297
  /**
285
298
  * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
299
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
300
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/PasswordField#config-insertFirst)
286
301
  */
287
302
  insertFirst ? : HTMLElement|string
288
303
  /**
@@ -42,6 +42,8 @@ defineProps<{
42
42
  /**
43
43
  * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
44
44
  * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
45
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
46
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-appendTo)
45
47
  */
46
48
  appendTo ? : HTMLElement|string
47
49
  /**
@@ -211,10 +213,14 @@ defineProps<{
211
213
  ignoreParentReadOnly ? : Boolean
212
214
  /**
213
215
  * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
216
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
217
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-insertBefore)
214
218
  */
215
219
  insertBefore ? : HTMLElement|string
216
220
  /**
217
221
  * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
222
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
223
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-insertFirst)
218
224
  */
219
225
  insertFirst ? : HTMLElement|string
220
226
  /**
@@ -466,7 +472,7 @@ const emit = defineEmits<{
466
472
  * @param {object} params.event Event object
467
473
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
468
474
  */
469
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
475
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
470
476
  /**
471
477
  * Triggered before a widget is shown. Return `false` to prevent the action.
472
478
  * @param {string} e Event name
@@ -27,6 +27,8 @@ export declare type BryntumProgressBarProps = {
27
27
  /**
28
28
  * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
29
29
  * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
30
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
31
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-appendTo)
30
32
  */
31
33
  appendTo ? : HTMLElement|string
32
34
  /**
@@ -196,10 +198,14 @@ export declare type BryntumProgressBarProps = {
196
198
  ignoreParentReadOnly ? : Boolean
197
199
  /**
198
200
  * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
201
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
202
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-insertBefore)
199
203
  */
200
204
  insertBefore ? : HTMLElement|string
201
205
  /**
202
206
  * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
207
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
208
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-insertFirst)
203
209
  */
204
210
  insertFirst ? : HTMLElement|string
205
211
  /**
@@ -42,6 +42,8 @@ defineProps<{
42
42
  /**
43
43
  * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
44
44
  * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
45
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
46
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Radio#config-appendTo)
45
47
  */
46
48
  appendTo ? : HTMLElement|string
47
49
  /**
@@ -108,6 +110,15 @@ defineProps<{
108
110
  * A value of `undefined` will cause this widget not to include its value when checked.
109
111
  */
110
112
  checkedValue ? : any
113
+ /**
114
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
115
+ * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-isValid)
116
+ * evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
117
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Radio#config-checkValidity)
118
+ * @param {Core.widget.Field} field The field being validated
119
+ * @returns {void}
120
+ */
121
+ checkValidity ? : ((field: Field) => void)|string
111
122
  /**
112
123
  * Custom CSS classes to add to element.
113
124
  * May be specified as a space separated string, or as an object in which property names
@@ -296,10 +307,14 @@ defineProps<{
296
307
  inputWidth ? : string|number
297
308
  /**
298
309
  * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
310
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
311
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Radio#config-insertBefore)
299
312
  */
300
313
  insertBefore ? : HTMLElement|string
301
314
  /**
302
315
  * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
316
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
317
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Radio#config-insertFirst)
303
318
  */
304
319
  insertFirst ? : HTMLElement|string
305
320
  /**
@@ -624,7 +639,7 @@ const emit = defineEmits<{
624
639
  * @param {boolean} params.event.valid True if this field is in a valid state.
625
640
  * @param {Event} params.event.event The triggering DOM event if any
626
641
  */
627
- (e: 'beforeChange', params: ((event: { source: Checkbox, checked: boolean, value: boolean, oldValue: boolean, userAction: boolean, valid: boolean, event: Event }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
642
+ (e: 'beforeChange', params: ((event: { source: Checkbox, checked: boolean, value: boolean, oldValue: boolean, userAction: boolean, valid: boolean, event: Event }) => boolean|void)|string): boolean|void
628
643
  /**
629
644
  * Fires before an object is destroyed.
630
645
  * @param {string} e Event name
@@ -640,7 +655,7 @@ const emit = defineEmits<{
640
655
  * @param {object} params.event Event object
641
656
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
642
657
  */
643
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
658
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
644
659
  /**
645
660
  * Triggered before a widget is shown. Return `false` to prevent the action.
646
661
  * @param {string} e Event name
@@ -824,6 +839,7 @@ const widgetData = {
824
839
  'bubbleEvents',
825
840
  'centered',
826
841
  'checkedValue',
842
+ 'checkValidity',
827
843
  'color',
828
844
  'config',
829
845
  'constrainTo',
@@ -42,6 +42,8 @@ defineProps<{
42
42
  /**
43
43
  * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
44
44
  * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
45
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
46
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-appendTo)
45
47
  */
46
48
  appendTo ? : HTMLElement|string
47
49
  /**
@@ -310,10 +312,14 @@ defineProps<{
310
312
  inputFieldAlign ? : 'start'|'end'
311
313
  /**
312
314
  * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
315
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
316
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-insertBefore)
313
317
  */
314
318
  insertBefore ? : HTMLElement|string
315
319
  /**
316
320
  * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
321
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
322
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-insertFirst)
317
323
  */
318
324
  insertFirst ? : HTMLElement|string
319
325
  /**
@@ -691,7 +697,7 @@ const emit = defineEmits<{
691
697
  * @param {object} params.event Event object
692
698
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
693
699
  */
694
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
700
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
695
701
  /**
696
702
  * Fired before this container will load record values into its child fields. This is useful if you
697
703
  * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
@@ -717,7 +723,7 @@ const emit = defineEmits<{
717
723
  * @param {object} params.event Event object
718
724
  * @param {any} params.event.state State object config
719
725
  */
720
- (e: 'beforeStateApply', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
726
+ (e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
721
727
  /**
722
728
  * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
723
729
  * @param {string} e Event name
@@ -725,7 +731,7 @@ const emit = defineEmits<{
725
731
  * @param {object} params.event Event object
726
732
  * @param {any} params.event.state State object config
727
733
  */
728
- (e: 'beforeStateSave', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
734
+ (e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
729
735
  /**
730
736
  * Fires when any other event is fired from the object.
731
737
  * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#event-catchAll)
@@ -27,6 +27,8 @@ export declare type BryntumRadioGroupProps = {
27
27
  /**
28
28
  * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
29
29
  * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
30
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
31
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-appendTo)
30
32
  */
31
33
  appendTo ? : HTMLElement|string
32
34
  /**
@@ -295,10 +297,14 @@ export declare type BryntumRadioGroupProps = {
295
297
  inputFieldAlign ? : 'start'|'end'
296
298
  /**
297
299
  * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
300
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
301
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-insertBefore)
298
302
  */
299
303
  insertBefore ? : HTMLElement|string
300
304
  /**
301
305
  * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
306
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
307
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-insertFirst)
302
308
  */
303
309
  insertFirst ? : HTMLElement|string
304
310
  /**