@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/CodeEditor#config-appendTo)
45
47
  */
46
48
  appendTo ? : HTMLElement|string
47
49
  /**
@@ -308,10 +310,14 @@ defineProps<{
308
310
  inputFieldAlign ? : 'start'|'end'
309
311
  /**
310
312
  * 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.
313
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
314
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/CodeEditor#config-insertBefore)
311
315
  */
312
316
  insertBefore ? : HTMLElement|string
313
317
  /**
314
318
  * 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.
319
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
320
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/CodeEditor#config-insertFirst)
315
321
  */
316
322
  insertFirst ? : HTMLElement|string
317
323
  /**
@@ -677,7 +683,7 @@ const emit = defineEmits<{
677
683
  * @param {object} params.event Event object
678
684
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
679
685
  */
680
- (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
681
687
  /**
682
688
  * Fired before this container will load record values into its child fields. This is useful if you
683
689
  * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
@@ -703,7 +709,7 @@ const emit = defineEmits<{
703
709
  * @param {object} params.event Event object
704
710
  * @param {any} params.event.state State object config
705
711
  */
706
- (e: 'beforeStateApply', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
712
+ (e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
707
713
  /**
708
714
  * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
709
715
  * @param {string} e Event name
@@ -711,7 +717,7 @@ const emit = defineEmits<{
711
717
  * @param {object} params.event Event object
712
718
  * @param {any} params.event.state State object config
713
719
  */
714
- (e: 'beforeStateSave', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
720
+ (e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
715
721
  /**
716
722
  * Fires when any other event is fired from the object.
717
723
  * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/CodeEditor#event-catchAll)
@@ -27,6 +27,8 @@ export declare type BryntumCodeEditorProps = {
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/CodeEditor#config-appendTo)
30
32
  */
31
33
  appendTo ? : HTMLElement|string
32
34
  /**
@@ -293,10 +295,14 @@ export declare type BryntumCodeEditorProps = {
293
295
  inputFieldAlign ? : 'start'|'end'
294
296
  /**
295
297
  * 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.
298
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
299
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/CodeEditor#config-insertBefore)
296
300
  */
297
301
  insertBefore ? : HTMLElement|string
298
302
  /**
299
303
  * 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.
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/CodeEditor#config-insertFirst)
300
306
  */
301
307
  insertFirst ? : HTMLElement|string
302
308
  /**
@@ -46,6 +46,8 @@ defineProps<{
46
46
  /**
47
47
  * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
48
48
  * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
49
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
50
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ColorField#config-appendTo)
49
51
  */
50
52
  appendTo ? : HTMLElement|string
51
53
  /**
@@ -99,6 +101,15 @@ defineProps<{
99
101
  * Set to `true` to centre the Widget in browser viewport space.
100
102
  */
101
103
  centered ? : Boolean
104
+ /**
105
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
106
+ * 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)
107
+ * evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
108
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ColorField#config-checkValidity)
109
+ * @param {Core.widget.Field} field The field being validated
110
+ * @returns {void}
111
+ */
112
+ checkValidity ? : ((field: Field) => void)|string
102
113
  /**
103
114
  * 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
104
115
  * 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
@@ -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/ColorField#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/ColorField#config-insertFirst)
303
318
  */
304
319
  insertFirst ? : HTMLElement|string
305
320
  /**
@@ -639,7 +654,7 @@ const emit = defineEmits<{
639
654
  * @param {object} params.event Event object
640
655
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
641
656
  */
642
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
657
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
643
658
  /**
644
659
  * Triggered before a widget is shown. Return `false` to prevent the action.
645
660
  * @param {string} e Event name
@@ -813,6 +828,7 @@ const widgetData = {
813
828
  'autoSelect',
814
829
  'bubbleEvents',
815
830
  'centered',
831
+ 'checkValidity',
816
832
  'clearable',
817
833
  'config',
818
834
  'constrainTo',
@@ -31,6 +31,8 @@ export declare type BryntumColorFieldProps = {
31
31
  /**
32
32
  * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
33
33
  * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
34
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
35
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ColorField#config-appendTo)
34
36
  */
35
37
  appendTo ? : HTMLElement|string
36
38
  /**
@@ -84,6 +86,15 @@ export declare type BryntumColorFieldProps = {
84
86
  * Set to `true` to centre the Widget in browser viewport space.
85
87
  */
86
88
  centered ? : Boolean
89
+ /**
90
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
91
+ * 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)
92
+ * evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
93
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ColorField#config-checkValidity)
94
+ * @param {Core.widget.Field} field The field being validated
95
+ * @returns {void}
96
+ */
97
+ checkValidity ? : ((field: Field) => void)|string
87
98
  /**
88
99
  * 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
89
100
  * 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
@@ -281,10 +292,14 @@ export declare type BryntumColorFieldProps = {
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/ColorField#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/ColorField#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/Combo#config-appendTo)
45
47
  */
46
48
  appendTo ? : HTMLElement|string
47
49
  /**
@@ -104,6 +106,15 @@ defineProps<{
104
106
  * Set to `true` to centre the Widget in browser viewport space.
105
107
  */
106
108
  centered ? : Boolean
109
+ /**
110
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
111
+ * 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)
112
+ * evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
113
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-checkValidity)
114
+ * @param {Core.widget.Field} field The field being validated
115
+ * @returns {void}
116
+ */
117
+ checkValidity ? : ((field: Field) => void)|string
107
118
  /**
108
119
  * A config object to configure the [ChipView](https://bryntum.com/products/core/docs/api/Core/widget/ChipView) to display the
109
120
  * selected value set when [multiSelect](https://bryntum.com/products/core/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
@@ -397,10 +408,14 @@ defineProps<{
397
408
  inputWidth ? : string|number
398
409
  /**
399
410
  * 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.
411
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
412
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-insertBefore)
400
413
  */
401
414
  insertBefore ? : HTMLElement|string
402
415
  /**
403
416
  * 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.
417
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
418
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-insertFirst)
404
419
  */
405
420
  insertFirst ? : HTMLElement|string
406
421
  /**
@@ -815,7 +830,7 @@ const emit = defineEmits<{
815
830
  * @param {object} params.event Event object
816
831
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
817
832
  */
818
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
833
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
819
834
  /**
820
835
  * Triggered before a widget is shown. Return `false` to prevent the action.
821
836
  * @param {string} e Event name
@@ -1003,6 +1018,7 @@ const widgetData = {
1003
1018
  'cacheLastResult',
1004
1019
  'caseSensitive',
1005
1020
  'centered',
1021
+ 'checkValidity',
1006
1022
  'chipView',
1007
1023
  'clearable',
1008
1024
  'clearTextOnPickerHide',
@@ -27,6 +27,8 @@ export declare type BryntumComboProps = {
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/Combo#config-appendTo)
30
32
  */
31
33
  appendTo ? : HTMLElement|string
32
34
  /**
@@ -89,6 +91,15 @@ export declare type BryntumComboProps = {
89
91
  * Set to `true` to centre the Widget in browser viewport space.
90
92
  */
91
93
  centered ? : Boolean
94
+ /**
95
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
96
+ * 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)
97
+ * evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
98
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-checkValidity)
99
+ * @param {Core.widget.Field} field The field being validated
100
+ * @returns {void}
101
+ */
102
+ checkValidity ? : ((field: Field) => void)|string
92
103
  /**
93
104
  * A config object to configure the [ChipView](https://bryntum.com/products/core/docs/api/Core/widget/ChipView) to display the
94
105
  * selected value set when [multiSelect](https://bryntum.com/products/core/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
@@ -382,10 +393,14 @@ export declare type BryntumComboProps = {
382
393
  inputWidth ? : string|number
383
394
  /**
384
395
  * 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.
396
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
397
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-insertBefore)
385
398
  */
386
399
  insertBefore ? : HTMLElement|string
387
400
  /**
388
401
  * 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.
402
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
403
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-insertFirst)
389
404
  */
390
405
  insertFirst ? : HTMLElement|string
391
406
  /**
@@ -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/Container#config-appendTo)
45
47
  */
46
48
  appendTo ? : HTMLElement|string
47
49
  /**
@@ -246,10 +248,14 @@ defineProps<{
246
248
  inputFieldAlign ? : 'start'|'end'
247
249
  /**
248
250
  * 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.
251
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
252
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Container#config-insertBefore)
249
253
  */
250
254
  insertBefore ? : HTMLElement|string
251
255
  /**
252
256
  * 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.
257
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
258
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Container#config-insertFirst)
253
259
  */
254
260
  insertFirst ? : HTMLElement|string
255
261
  /**
@@ -547,7 +553,7 @@ const emit = defineEmits<{
547
553
  * @param {object} params.event Event object
548
554
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
549
555
  */
550
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
556
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
551
557
  /**
552
558
  * Fired before this container will load record values into its child fields. This is useful if you
553
559
  * 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 BryntumContainerProps = {
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/Container#config-appendTo)
30
32
  */
31
33
  appendTo ? : HTMLElement|string
32
34
  /**
@@ -231,10 +233,14 @@ export declare type BryntumContainerProps = {
231
233
  inputFieldAlign ? : 'start'|'end'
232
234
  /**
233
235
  * 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.
236
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
237
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Container#config-insertBefore)
234
238
  */
235
239
  insertBefore ? : HTMLElement|string
236
240
  /**
237
241
  * 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.
242
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
243
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Container#config-insertFirst)
238
244
  */
239
245
  insertFirst ? : HTMLElement|string
240
246
  /**
@@ -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/DateField#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/DateField#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
@@ -299,10 +310,14 @@ defineProps<{
299
310
  inputWidth ? : string|number
300
311
  /**
301
312
  * 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.
313
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
314
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-insertBefore)
302
315
  */
303
316
  insertBefore ? : HTMLElement|string
304
317
  /**
305
318
  * 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.
319
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
320
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-insertFirst)
306
321
  */
307
322
  insertFirst ? : HTMLElement|string
308
323
  /**
@@ -700,7 +715,7 @@ const emit = defineEmits<{
700
715
  * @param {object} params.event Event object
701
716
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
702
717
  */
703
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
718
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
704
719
  /**
705
720
  * Triggered before a widget is shown. Return `false` to prevent the action.
706
721
  * @param {string} e Event name
@@ -874,6 +889,7 @@ const widgetData = {
874
889
  'autoSelect',
875
890
  'bubbleEvents',
876
891
  'centered',
892
+ 'checkValidity',
877
893
  'clearable',
878
894
  'color',
879
895
  'config',
@@ -27,6 +27,8 @@ export declare type BryntumDateFieldProps = {
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/DateField#config-appendTo)
30
32
  */
31
33
  appendTo ? : HTMLElement|string
32
34
  /**
@@ -80,6 +82,15 @@ export declare type BryntumDateFieldProps = {
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/DateField#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
@@ -284,10 +295,14 @@ export declare type BryntumDateFieldProps = {
284
295
  inputWidth ? : string|number
285
296
  /**
286
297
  * 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.
298
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
299
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-insertBefore)
287
300
  */
288
301
  insertBefore ? : HTMLElement|string
289
302
  /**
290
303
  * 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.
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/DateField#config-insertFirst)
291
306
  */
292
307
  insertFirst ? : HTMLElement|string
293
308
  /**
@@ -55,6 +55,8 @@ defineProps<{
55
55
  /**
56
56
  * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
57
57
  * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
58
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
59
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-appendTo)
58
60
  */
59
61
  appendTo ? : HTMLElement|string
60
62
  /**
@@ -402,10 +404,14 @@ defineProps<{
402
404
  inputFieldAlign ? : 'start'|'end'
403
405
  /**
404
406
  * 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.
407
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
408
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-insertBefore)
405
409
  */
406
410
  insertBefore ? : HTMLElement|string
407
411
  /**
408
412
  * 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.
413
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
414
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-insertFirst)
409
415
  */
410
416
  insertFirst ? : HTMLElement|string
411
417
  /**
@@ -854,7 +860,7 @@ const emit = defineEmits<{
854
860
  * @param {object} params.event Event object
855
861
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
856
862
  */
857
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
863
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
858
864
  /**
859
865
  * Fires before this CalendarPanel refreshes in response to changes in its month.
860
866
  * @param {string} e Event name
@@ -888,7 +894,7 @@ const emit = defineEmits<{
888
894
  * @param {object} params.event Event object
889
895
  * @param {any} params.event.state State object config
890
896
  */
891
- (e: 'beforeStateApply', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
897
+ (e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
892
898
  /**
893
899
  * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
894
900
  * @param {string} e Event name
@@ -896,7 +902,7 @@ const emit = defineEmits<{
896
902
  * @param {object} params.event Event object
897
903
  * @param {any} params.event.state State object config
898
904
  */
899
- (e: 'beforeStateSave', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
905
+ (e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
900
906
  /**
901
907
  * Fires when any other event is fired from the object.
902
908
  * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#event-catchAll)
@@ -40,6 +40,8 @@ export declare type BryntumDatePickerProps = {
40
40
  /**
41
41
  * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
42
42
  * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
43
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
44
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-appendTo)
43
45
  */
44
46
  appendTo ? : HTMLElement|string
45
47
  /**
@@ -387,10 +389,14 @@ export declare type BryntumDatePickerProps = {
387
389
  inputFieldAlign ? : 'start'|'end'
388
390
  /**
389
391
  * 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.
392
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
393
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-insertBefore)
390
394
  */
391
395
  insertBefore ? : HTMLElement|string
392
396
  /**
393
397
  * 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.
398
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
399
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-insertFirst)
394
400
  */
395
401
  insertFirst ? : HTMLElement|string
396
402
  /**
@@ -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/DateRangeField#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/DateRangeField#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
@@ -321,10 +332,14 @@ defineProps<{
321
332
  inputWidth ? : string|number
322
333
  /**
323
334
  * 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.
335
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
336
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-insertBefore)
324
337
  */
325
338
  insertBefore ? : HTMLElement|string
326
339
  /**
327
340
  * 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.
341
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
342
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-insertFirst)
328
343
  */
329
344
  insertFirst ? : HTMLElement|string
330
345
  /**
@@ -688,7 +703,7 @@ const emit = defineEmits<{
688
703
  * @param {object} params.event Event object
689
704
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
690
705
  */
691
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
706
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
692
707
  /**
693
708
  * Triggered before a widget is shown. Return `false` to prevent the action.
694
709
  * @param {string} e Event name
@@ -862,6 +877,7 @@ const widgetData = {
862
877
  'autoSelect',
863
878
  'bubbleEvents',
864
879
  'centered',
880
+ 'checkValidity',
865
881
  'clearable',
866
882
  'color',
867
883
  'config',
@@ -27,6 +27,8 @@ export declare type BryntumDateRangeFieldProps = {
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/DateRangeField#config-appendTo)
30
32
  */
31
33
  appendTo ? : HTMLElement|string
32
34
  /**
@@ -80,6 +82,15 @@ export declare type BryntumDateRangeFieldProps = {
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/DateRangeField#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
@@ -306,10 +317,14 @@ export declare type BryntumDateRangeFieldProps = {
306
317
  inputWidth ? : string|number
307
318
  /**
308
319
  * 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.
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/DateRangeField#config-insertBefore)
309
322
  */
310
323
  insertBefore ? : HTMLElement|string
311
324
  /**
312
325
  * 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.
326
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
327
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-insertFirst)
313
328
  */
314
329
  insertFirst ? : HTMLElement|string
315
330
  /**