@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
@@ -27,6 +27,8 @@ export declare type BryntumRadioProps = {
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/Radio#config-appendTo)
30
32
  */
31
33
  appendTo ? : HTMLElement|string
32
34
  /**
@@ -93,6 +95,15 @@ export declare type BryntumRadioProps = {
93
95
  * A value of `undefined` will cause this widget not to include its value when checked.
94
96
  */
95
97
  checkedValue ? : any
98
+ /**
99
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
100
+ * 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)
101
+ * evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
102
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Radio#config-checkValidity)
103
+ * @param {Core.widget.Field} field The field being validated
104
+ * @returns {void}
105
+ */
106
+ checkValidity ? : ((field: Field) => void)|string
96
107
  /**
97
108
  * Custom CSS classes to add to element.
98
109
  * May be specified as a space separated string, or as an object in which property names
@@ -281,10 +292,14 @@ export declare type BryntumRadioProps = {
281
292
  inputWidth ? : string|number
282
293
  /**
283
294
  * 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.
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/Radio#config-insertBefore)
284
297
  */
285
298
  insertBefore ? : HTMLElement|string
286
299
  /**
287
300
  * 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.
301
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
302
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Radio#config-insertFirst)
288
303
  */
289
304
  insertFirst ? : HTMLElement|string
290
305
  /**
@@ -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/SlideToggle#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/SlideToggle#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/SlideToggle#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/SlideToggle#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',
@@ -27,6 +27,8 @@ export declare type BryntumSlideToggleProps = {
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/SlideToggle#config-appendTo)
30
32
  */
31
33
  appendTo ? : HTMLElement|string
32
34
  /**
@@ -93,6 +95,15 @@ export declare type BryntumSlideToggleProps = {
93
95
  * A value of `undefined` will cause this widget not to include its value when checked.
94
96
  */
95
97
  checkedValue ? : any
98
+ /**
99
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
100
+ * 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)
101
+ * evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
102
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/SlideToggle#config-checkValidity)
103
+ * @param {Core.widget.Field} field The field being validated
104
+ * @returns {void}
105
+ */
106
+ checkValidity ? : ((field: Field) => void)|string
96
107
  /**
97
108
  * Custom CSS classes to add to element.
98
109
  * May be specified as a space separated string, or as an object in which property names
@@ -281,10 +292,14 @@ export declare type BryntumSlideToggleProps = {
281
292
  inputWidth ? : string|number
282
293
  /**
283
294
  * 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.
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/SlideToggle#config-insertBefore)
284
297
  */
285
298
  insertBefore ? : HTMLElement|string
286
299
  /**
287
300
  * 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.
301
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
302
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/SlideToggle#config-insertFirst)
288
303
  */
289
304
  insertFirst ? : HTMLElement|string
290
305
  /**
@@ -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/Slider#config-appendTo)
45
47
  */
46
48
  appendTo ? : HTMLElement|string
47
49
  /**
@@ -213,10 +215,14 @@ defineProps<{
213
215
  ignoreParentReadOnly ? : Boolean
214
216
  /**
215
217
  * 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.
218
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
219
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Slider#config-insertBefore)
216
220
  */
217
221
  insertBefore ? : HTMLElement|string
218
222
  /**
219
223
  * 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.
224
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
225
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Slider#config-insertFirst)
220
226
  */
221
227
  insertFirst ? : HTMLElement|string
222
228
  /**
@@ -512,7 +518,7 @@ const emit = defineEmits<{
512
518
  * @param {object} params.event Event object
513
519
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
514
520
  */
515
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
521
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
516
522
  /**
517
523
  * Triggered before a widget is shown. Return `false` to prevent the action.
518
524
  * @param {string} e Event name
@@ -27,6 +27,8 @@ export declare type BryntumSliderProps = {
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/Slider#config-appendTo)
30
32
  */
31
33
  appendTo ? : HTMLElement|string
32
34
  /**
@@ -198,10 +200,14 @@ export declare type BryntumSliderProps = {
198
200
  ignoreParentReadOnly ? : Boolean
199
201
  /**
200
202
  * 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.
203
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
204
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Slider#config-insertBefore)
201
205
  */
202
206
  insertBefore ? : HTMLElement|string
203
207
  /**
204
208
  * 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.
209
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
210
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Slider#config-insertFirst)
205
211
  */
206
212
  insertFirst ? : HTMLElement|string
207
213
  /**
@@ -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/Splitter#config-appendTo)
45
47
  */
46
48
  appendTo ? : HTMLElement|string
47
49
  /**
@@ -213,10 +215,14 @@ defineProps<{
213
215
  ignoreParentReadOnly ? : Boolean
214
216
  /**
215
217
  * 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.
218
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
219
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-insertBefore)
216
220
  */
217
221
  insertBefore ? : HTMLElement|string
218
222
  /**
219
223
  * 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.
224
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
225
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-insertFirst)
220
226
  */
221
227
  insertFirst ? : HTMLElement|string
222
228
  /**
@@ -454,7 +460,7 @@ const emit = defineEmits<{
454
460
  * @param {object} params.event Event object
455
461
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
456
462
  */
457
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
463
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
458
464
  /**
459
465
  * Triggered before a widget is shown. Return `false` to prevent the action.
460
466
  * @param {string} e Event name
@@ -27,6 +27,8 @@ export declare type BryntumSplitterProps = {
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/Splitter#config-appendTo)
30
32
  */
31
33
  appendTo ? : HTMLElement|string
32
34
  /**
@@ -198,10 +200,14 @@ export declare type BryntumSplitterProps = {
198
200
  ignoreParentReadOnly ? : Boolean
199
201
  /**
200
202
  * 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.
203
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
204
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-insertBefore)
201
205
  */
202
206
  insertBefore ? : HTMLElement|string
203
207
  /**
204
208
  * 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.
209
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
210
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-insertFirst)
205
211
  */
206
212
  insertFirst ? : HTMLElement|string
207
213
  /**
@@ -50,6 +50,8 @@ defineProps<{
50
50
  /**
51
51
  * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
52
52
  * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
53
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
54
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-appendTo)
53
55
  */
54
56
  appendTo ? : HTMLElement|string
55
57
  /**
@@ -311,10 +313,14 @@ defineProps<{
311
313
  inputFieldAlign ? : 'start'|'end'
312
314
  /**
313
315
  * 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.
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/TabPanel#config-insertBefore)
314
318
  */
315
319
  insertBefore ? : HTMLElement|string
316
320
  /**
317
321
  * 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.
322
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
323
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-insertFirst)
318
324
  */
319
325
  insertFirst ? : HTMLElement|string
320
326
  /**
@@ -678,7 +684,7 @@ const emit = defineEmits<{
678
684
  * @param {object} params.event Event object
679
685
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
680
686
  */
681
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
687
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
682
688
  /**
683
689
  * Fired before this container will load record values into its child fields. This is useful if you
684
690
  * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
@@ -704,7 +710,7 @@ const emit = defineEmits<{
704
710
  * @param {object} params.event Event object
705
711
  * @param {any} params.event.state State object config
706
712
  */
707
- (e: 'beforeStateApply', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
713
+ (e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
708
714
  /**
709
715
  * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
710
716
  * @param {string} e Event name
@@ -712,7 +718,7 @@ const emit = defineEmits<{
712
718
  * @param {object} params.event Event object
713
719
  * @param {any} params.event.state State object config
714
720
  */
715
- (e: 'beforeStateSave', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
721
+ (e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
716
722
  /**
717
723
  * The active tab is about to be changed. Return `false` to prevent this.
718
724
  * @param {string} e Event name
@@ -723,7 +729,7 @@ const emit = defineEmits<{
723
729
  * @param {number} params.event.prevActiveIndex The previous active index.
724
730
  * @param {Core.widget.Widget} params.event.prevActiveItem The previous active child widget.
725
731
  */
726
- (e: 'beforeTabChange', params: ((event: { activeIndex: number, activeItem: Widget, prevActiveIndex: number, prevActiveItem: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
732
+ (e: 'beforeTabChange', params: ((event: { activeIndex: number, activeItem: Widget, prevActiveIndex: number, prevActiveItem: Widget }) => boolean|void)|string): boolean|void
727
733
  /**
728
734
  * Fires when any other event is fired from the object.
729
735
  * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#event-catchAll)
@@ -35,6 +35,8 @@ export declare type BryntumTabPanelProps = {
35
35
  /**
36
36
  * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
37
37
  * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
38
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
39
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-appendTo)
38
40
  */
39
41
  appendTo ? : HTMLElement|string
40
42
  /**
@@ -296,10 +298,14 @@ export declare type BryntumTabPanelProps = {
296
298
  inputFieldAlign ? : 'start'|'end'
297
299
  /**
298
300
  * 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.
301
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
302
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-insertBefore)
299
303
  */
300
304
  insertBefore ? : HTMLElement|string
301
305
  /**
302
306
  * 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.
307
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
308
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-insertFirst)
303
309
  */
304
310
  insertFirst ? : HTMLElement|string
305
311
  /**
@@ -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/TextAreaField#config-appendTo)
45
47
  */
46
48
  appendTo ? : HTMLElement|string
47
49
  /**
@@ -97,6 +99,15 @@ defineProps<{
97
99
  * Set to `true` to centre the Widget in browser viewport space.
98
100
  */
99
101
  centered ? : Boolean
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/TextAreaField#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
@@ -300,10 +311,14 @@ defineProps<{
300
311
  inputWidth ? : string|number
301
312
  /**
302
313
  * 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.
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/TextAreaField#config-insertBefore)
303
316
  */
304
317
  insertBefore ? : HTMLElement|string
305
318
  /**
306
319
  * 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.
320
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
321
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaField#config-insertFirst)
307
322
  */
308
323
  insertFirst ? : HTMLElement|string
309
324
  /**
@@ -635,7 +650,7 @@ const emit = defineEmits<{
635
650
  * @param {object} params.event Event object
636
651
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
637
652
  */
638
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
653
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
639
654
  /**
640
655
  * Triggered before a widget is shown. Return `false` to prevent the action.
641
656
  * @param {string} e Event name
@@ -809,6 +824,7 @@ const widgetData = {
809
824
  'autoSelect',
810
825
  'bubbleEvents',
811
826
  'centered',
827
+ 'checkValidity',
812
828
  'clearable',
813
829
  'color',
814
830
  'config',
@@ -27,6 +27,8 @@ export declare type BryntumTextAreaFieldProps = {
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/TextAreaField#config-appendTo)
30
32
  */
31
33
  appendTo ? : HTMLElement|string
32
34
  /**
@@ -82,6 +84,15 @@ export declare type BryntumTextAreaFieldProps = {
82
84
  * Set to `true` to centre the Widget in browser viewport space.
83
85
  */
84
86
  centered ? : Boolean
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/TextAreaField#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
@@ -285,10 +296,14 @@ export declare type BryntumTextAreaFieldProps = {
285
296
  inputWidth ? : string|number
286
297
  /**
287
298
  * 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.
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/TextAreaField#config-insertBefore)
288
301
  */
289
302
  insertBefore ? : HTMLElement|string
290
303
  /**
291
304
  * 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.
305
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
306
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaField#config-insertFirst)
292
307
  */
293
308
  insertFirst ? : HTMLElement|string
294
309
  /**
@@ -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/TextAreaPickerField#config-appendTo)
45
47
  */
46
48
  appendTo ? : HTMLElement|string
47
49
  /**
@@ -95,6 +97,15 @@ defineProps<{
95
97
  * Set to `true` to centre the Widget in browser viewport space.
96
98
  */
97
99
  centered ? : Boolean
100
+ /**
101
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
102
+ * 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)
103
+ * evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
104
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-checkValidity)
105
+ * @param {Core.widget.Field} field The field being validated
106
+ * @returns {void}
107
+ */
108
+ checkValidity ? : ((field: Field) => void)|string
98
109
  /**
99
110
  * 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
100
111
  * 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
@@ -291,10 +302,14 @@ defineProps<{
291
302
  inputWidth ? : string|number
292
303
  /**
293
304
  * 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.
305
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
306
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-insertBefore)
294
307
  */
295
308
  insertBefore ? : HTMLElement|string
296
309
  /**
297
310
  * 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.
311
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
312
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-insertFirst)
298
313
  */
299
314
  insertFirst ? : HTMLElement|string
300
315
  /**
@@ -644,7 +659,7 @@ const emit = defineEmits<{
644
659
  * @param {object} params.event Event object
645
660
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
646
661
  */
647
- (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
648
663
  /**
649
664
  * Triggered before a widget is shown. Return `false` to prevent the action.
650
665
  * @param {string} e Event name
@@ -818,6 +833,7 @@ const widgetData = {
818
833
  'autoSelect',
819
834
  'bubbleEvents',
820
835
  'centered',
836
+ 'checkValidity',
821
837
  'clearable',
822
838
  'color',
823
839
  'config',
@@ -27,6 +27,8 @@ export declare type BryntumTextAreaPickerFieldProps = {
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/TextAreaPickerField#config-appendTo)
30
32
  */
31
33
  appendTo ? : HTMLElement|string
32
34
  /**
@@ -80,6 +82,15 @@ export declare type BryntumTextAreaPickerFieldProps = {
80
82
  * Set to `true` to centre the Widget in browser viewport space.
81
83
  */
82
84
  centered ? : Boolean
85
+ /**
86
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
87
+ * 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)
88
+ * evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
89
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-checkValidity)
90
+ * @param {Core.widget.Field} field The field being validated
91
+ * @returns {void}
92
+ */
93
+ checkValidity ? : ((field: Field) => void)|string
83
94
  /**
84
95
  * 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
85
96
  * 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
@@ -276,10 +287,14 @@ export declare type BryntumTextAreaPickerFieldProps = {
276
287
  inputWidth ? : string|number
277
288
  /**
278
289
  * 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.
290
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
291
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-insertBefore)
279
292
  */
280
293
  insertBefore ? : HTMLElement|string
281
294
  /**
282
295
  * 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.
296
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
297
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-insertFirst)
283
298
  */
284
299
  insertFirst ? : HTMLElement|string
285
300
  /**
@@ -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/TextField#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/TextField#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/TextField#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/TextField#config-insertFirst)
301
316
  */
302
317
  insertFirst ? : HTMLElement|string
303
318
  /**
@@ -633,7 +648,7 @@ const emit = defineEmits<{
633
648
  * @param {object} params.event Event object
634
649
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
635
650
  */
636
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
651
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
637
652
  /**
638
653
  * Triggered before a widget is shown. Return `false` to prevent the action.
639
654
  * @param {string} e Event name
@@ -806,6 +821,7 @@ const widgetData = {
806
821
  'autoSelect',
807
822
  'bubbleEvents',
808
823
  'centered',
824
+ 'checkValidity',
809
825
  'clearable',
810
826
  'color',
811
827
  'config',