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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (176) 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 +11 -1
  91. package/src/components/BryntumBooleanComboProps.ts +9 -0
  92. package/src/components/BryntumButton.vue +3 -3
  93. package/src/components/BryntumButtonGroup.vue +1 -1
  94. package/src/components/BryntumChatPanel.vue +3 -3
  95. package/src/components/BryntumCheckbox.vue +12 -2
  96. package/src/components/BryntumCheckboxGroup.vue +3 -3
  97. package/src/components/BryntumCheckboxProps.ts +9 -0
  98. package/src/components/BryntumChipView.vue +2 -2
  99. package/src/components/BryntumCodeEditor.vue +3 -3
  100. package/src/components/BryntumColorField.vue +11 -1
  101. package/src/components/BryntumColorFieldProps.ts +9 -0
  102. package/src/components/BryntumCombo.vue +11 -1
  103. package/src/components/BryntumComboProps.ts +9 -0
  104. package/src/components/BryntumContainer.vue +1 -1
  105. package/src/components/BryntumDateField.vue +11 -1
  106. package/src/components/BryntumDateFieldProps.ts +9 -0
  107. package/src/components/BryntumDatePicker.vue +3 -3
  108. package/src/components/BryntumDateRangeField.vue +11 -1
  109. package/src/components/BryntumDateRangeFieldProps.ts +9 -0
  110. package/src/components/BryntumDateTimeField.vue +11 -1
  111. package/src/components/BryntumDateTimeFieldProps.ts +9 -0
  112. package/src/components/BryntumDemoCodeEditor.vue +3 -3
  113. package/src/components/BryntumDisplayField.vue +11 -1
  114. package/src/components/BryntumDisplayFieldProps.ts +9 -0
  115. package/src/components/BryntumDurationField.vue +11 -1
  116. package/src/components/BryntumDurationFieldProps.ts +9 -0
  117. package/src/components/BryntumEditor.vue +5 -5
  118. package/src/components/BryntumFieldFilterPicker.vue +1 -1
  119. package/src/components/BryntumFieldFilterPickerGroup.vue +2 -2
  120. package/src/components/BryntumFieldSet.vue +3 -3
  121. package/src/components/BryntumFileField.vue +11 -1
  122. package/src/components/BryntumFileFieldProps.ts +9 -0
  123. package/src/components/BryntumFilePicker.vue +1 -1
  124. package/src/components/BryntumFilterField.vue +11 -1
  125. package/src/components/BryntumFilterFieldProps.ts +9 -0
  126. package/src/components/BryntumHint.vue +3 -3
  127. package/src/components/BryntumLabel.vue +1 -1
  128. package/src/components/BryntumList.vue +2 -2
  129. package/src/components/BryntumMenu.vue +3 -3
  130. package/src/components/BryntumMonthPicker.vue +3 -3
  131. package/src/components/BryntumNumberField.vue +11 -1
  132. package/src/components/BryntumNumberFieldProps.ts +9 -0
  133. package/src/components/BryntumPagingToolbar.vue +2 -2
  134. package/src/components/BryntumPanel.vue +3 -3
  135. package/src/components/BryntumPasswordField.vue +11 -1
  136. package/src/components/BryntumPasswordFieldProps.ts +9 -0
  137. package/src/components/BryntumProgressBar.vue +1 -1
  138. package/src/components/BryntumRadio.vue +12 -2
  139. package/src/components/BryntumRadioGroup.vue +3 -3
  140. package/src/components/BryntumRadioProps.ts +9 -0
  141. package/src/components/BryntumSlideToggle.vue +12 -2
  142. package/src/components/BryntumSlideToggleProps.ts +9 -0
  143. package/src/components/BryntumSlider.vue +1 -1
  144. package/src/components/BryntumSplitter.vue +1 -1
  145. package/src/components/BryntumTabPanel.vue +4 -4
  146. package/src/components/BryntumTextAreaField.vue +11 -1
  147. package/src/components/BryntumTextAreaFieldProps.ts +9 -0
  148. package/src/components/BryntumTextAreaPickerField.vue +11 -1
  149. package/src/components/BryntumTextAreaPickerFieldProps.ts +9 -0
  150. package/src/components/BryntumTextField.vue +11 -1
  151. package/src/components/BryntumTextFieldProps.ts +9 -0
  152. package/src/components/BryntumTimeField.vue +11 -1
  153. package/src/components/BryntumTimeFieldProps.ts +9 -0
  154. package/src/components/BryntumTimePicker.vue +1 -1
  155. package/src/components/BryntumToolbar.vue +2 -2
  156. package/src/components/BryntumWidget.vue +1 -1
  157. package/src/components/BryntumYearPicker.vue +3 -3
  158. package/lib/chunks/BKLWvKPc.js.map +0 -1
  159. package/lib/chunks/BPANMXC6.js.map +0 -1
  160. package/lib/chunks/B_aqRSp2.js.map +0 -1
  161. package/lib/chunks/BeXQ7RhD.js.map +0 -1
  162. package/lib/chunks/BrRBMti3.js.map +0 -1
  163. package/lib/chunks/C0-E5hnK.js.map +0 -1
  164. package/lib/chunks/C14dvV95.js.map +0 -1
  165. package/lib/chunks/CUFZWGAX.js.map +0 -1
  166. package/lib/chunks/ChAWW3Iy.js.map +0 -1
  167. package/lib/chunks/D7CJcnRV.js.map +0 -1
  168. package/lib/chunks/DAfGAAbO.js.map +0 -1
  169. package/lib/chunks/DRz-V3LT.js.map +0 -1
  170. package/lib/chunks/DuiOZGf5.js.map +0 -1
  171. package/lib/chunks/HOklxqtO.js.map +0 -1
  172. package/lib/chunks/IjqHT_Qc.js.map +0 -1
  173. package/lib/chunks/S9XwH6IJ.js.map +0 -1
  174. package/lib/chunks/ToClygqb.js.map +0 -1
  175. package/lib/chunks/naTVDWnB.js.map +0 -1
  176. package/lib/chunks/qkwwWpWo.js.map +0 -1
@@ -85,6 +85,15 @@ export declare type BryntumDurationFieldProps = {
85
85
  * Set to `true` to centre the Widget in browser viewport space.
86
86
  */
87
87
  centered ? : Boolean
88
+ /**
89
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
90
+ * 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)
91
+ * evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
92
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DurationField#config-checkValidity)
93
+ * @param {Core.widget.Field} field The field being validated
94
+ * @returns {void}
95
+ */
96
+ checkValidity ? : ((field: Field) => void)|string
88
97
  /**
89
98
  * 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
90
99
  * 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
@@ -607,7 +607,7 @@ const emit = defineEmits<{
607
607
  * @param {Event} params.event.event Included if the cancellation was triggered by a DOM event
608
608
  * @param {Core.widget.Editor} params.event.source The Editor that triggered the event.
609
609
  */
610
- (e: 'beforeCancel', params: ((event: { oldValue: object, value: object, event: Event, source: Editor }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
610
+ (e: 'beforeCancel', params: ((event: { oldValue: object, value: object, event: Event, source: Editor }) => boolean|void)|string): boolean|void
611
611
  /**
612
612
  * Fired when an edit completion has been requested, either by <kbd>Enter</kbd>, or focus loss (if configured to complete on blur).
613
613
  * The completion may be vetoed, in which case, focus is moved back into the editor.
@@ -620,7 +620,7 @@ const emit = defineEmits<{
620
620
  * @param {Function} [params.event.finalize] An async function may be injected into this property which performs asynchronous finalization tasks such as complex validation of confirmation. The value `true` or `false` must be returned.
621
621
  * @param {object} [params.event.finalize.context] An object describing the editing context upon requested completion of the edit.
622
622
  */
623
- (e: 'beforeComplete', params: ((event: { oldValue: object, value: object, source: Editor, finalize: { context?: object } }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
623
+ (e: 'beforeComplete', params: ((event: { oldValue: object, value: object, source: Editor, finalize: { context?: object } }) => boolean|void)|string): boolean|void
624
624
  /**
625
625
  * Fires before an object is destroyed.
626
626
  * @param {string} e Event name
@@ -636,7 +636,7 @@ const emit = defineEmits<{
636
636
  * @param {object} params.event Event object
637
637
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
638
638
  */
639
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
639
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
640
640
  /**
641
641
  * Fired before this container will load record values into its child fields. This is useful if you
642
642
  * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
@@ -660,7 +660,7 @@ const emit = defineEmits<{
660
660
  * @param {string} e Event name
661
661
  * @param {object} params Event parameters
662
662
  * @param {object} params.event Event object
663
- * @param {HTMLElement} params.event.target The element which the Editor is to overlay to edit its content.
663
+ * @param {Element} params.event.target The element which the Editor is to overlay to edit its content.
664
664
  * @param {Core.data.Model} [params.event.record] The record being edited.
665
665
  * @param {string} [params.event.field] The name of the field if a record is being edited.
666
666
  * @param {object} params.event.value The value to be edited.
@@ -672,7 +672,7 @@ const emit = defineEmits<{
672
672
  * @param {boolean} params.event.matchFont Whether to match the target's font. See [matchFont](https://bryntum.com/products/core/docs/api/Core/widget/Editor#config-matchFont)
673
673
  * @param {boolean} params.event.focus Whether to focus the editor's field.
674
674
  */
675
- (e: 'beforeStart', params: ((event: { target: HTMLElement, record?: Model, field?: string, value: object, align: string|AlignSpec, hideTarget: boolean, matchSize: { width: boolean, height: boolean }, matchFont: boolean, focus: boolean }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
675
+ (e: 'beforeStart', params: ((event: { target: Element, record?: Model, field?: string, value: object, align: string|AlignSpec, hideTarget: boolean, matchSize: { width: boolean, height: boolean }, matchFont: boolean, focus: boolean }) => boolean|void)|string): boolean|void
676
676
  /**
677
677
  * Edit has been canceled without updating the associated record or element.
678
678
  * @param {string} e Event name
@@ -606,7 +606,7 @@ const emit = defineEmits<{
606
606
  * @param {object} params.event Event object
607
607
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
608
608
  */
609
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
609
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
610
610
  /**
611
611
  * Fired before this container will load record values into its child fields. This is useful if you
612
612
  * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
@@ -620,7 +620,7 @@ const emit = defineEmits<{
620
620
  * @param {Core.widget.FieldFilterPicker} params.event.source The FieldFilterPicker instance that fired the event.
621
621
  * @param {CollectionFilterConfig} params.event.filter The [CollectionFilter](https://bryntum.com/products/core/docs/api/Core/util/CollectionFilter) configuration object for the filter represented by this [FieldFilterPicker](https://bryntum.com/products/core/docs/api/Core/widget/FieldFilterPicker).
622
622
  */
623
- (e: 'beforeAddFilter', params: ((event: { source: FieldFilterPicker, filter: CollectionFilterConfig }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
623
+ (e: 'beforeAddFilter', params: ((event: { source: FieldFilterPicker, filter: CollectionFilterConfig }) => boolean|void)|string): boolean|void
624
624
  /**
625
625
  * Fires before an object is destroyed.
626
626
  * @param {string} e Event name
@@ -636,7 +636,7 @@ const emit = defineEmits<{
636
636
  * @param {object} params.event Event object
637
637
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
638
638
  */
639
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
639
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
640
640
  /**
641
641
  * Fired before this container will load record values into its child fields. This is useful if you
642
642
  * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
@@ -667,7 +667,7 @@ const emit = defineEmits<{
667
667
  * @param {object} params.event Event object
668
668
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
669
669
  */
670
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
670
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
671
671
  /**
672
672
  * Fired before this container will load record values into its child fields. This is useful if you
673
673
  * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
@@ -693,7 +693,7 @@ const emit = defineEmits<{
693
693
  * @param {object} params.event Event object
694
694
  * @param {any} params.event.state State object config
695
695
  */
696
- (e: 'beforeStateApply', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
696
+ (e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
697
697
  /**
698
698
  * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
699
699
  * @param {string} e Event name
@@ -701,7 +701,7 @@ const emit = defineEmits<{
701
701
  * @param {object} params.event Event object
702
702
  * @param {any} params.event.state State object config
703
703
  */
704
- (e: 'beforeStateSave', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
704
+ (e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
705
705
  /**
706
706
  * Fires when any other event is fired from the object.
707
707
  * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldSet#event-catchAll)
@@ -96,6 +96,15 @@ defineProps<{
96
96
  * Set to `true` to centre the Widget in browser viewport space.
97
97
  */
98
98
  centered ? : Boolean
99
+ /**
100
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
101
+ * 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)
102
+ * evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
103
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-checkValidity)
104
+ * @param {Core.widget.Field} field The field being validated
105
+ * @returns {void}
106
+ */
107
+ checkValidity ? : ((field: Field) => void)|string
99
108
  /**
100
109
  * 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
101
110
  * 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
@@ -631,7 +640,7 @@ const emit = defineEmits<{
631
640
  * @param {object} params.event Event object
632
641
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
633
642
  */
634
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
643
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
635
644
  /**
636
645
  * Triggered before a widget is shown. Return `false` to prevent the action.
637
646
  * @param {string} e Event name
@@ -805,6 +814,7 @@ const widgetData = {
805
814
  'autoSelect',
806
815
  'bubbleEvents',
807
816
  'centered',
817
+ 'checkValidity',
808
818
  'clearable',
809
819
  'color',
810
820
  'config',
@@ -81,6 +81,15 @@ export declare type BryntumFileFieldProps = {
81
81
  * Set to `true` to centre the Widget in browser viewport space.
82
82
  */
83
83
  centered ? : Boolean
84
+ /**
85
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
86
+ * 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)
87
+ * evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
88
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-checkValidity)
89
+ * @param {Core.widget.Field} field The field being validated
90
+ * @returns {void}
91
+ */
92
+ checkValidity ? : ((field: Field) => void)|string
84
93
  /**
85
94
  * 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
86
95
  * 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
@@ -559,7 +559,7 @@ const emit = defineEmits<{
559
559
  * @param {object} params.event Event object
560
560
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
561
561
  */
562
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
562
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
563
563
  /**
564
564
  * Fired before this container will load record values into its child fields. This is useful if you
565
565
  * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
@@ -91,6 +91,15 @@ defineProps<{
91
91
  * Set to `true` to centre the Widget in browser viewport space.
92
92
  */
93
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/FilterField#config-checkValidity)
99
+ * @param {Core.widget.Field} field The field being validated
100
+ * @returns {void}
101
+ */
102
+ checkValidity ? : ((field: Field) => void)|string
94
103
  /**
95
104
  * 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
105
  * 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
@@ -662,7 +671,7 @@ const emit = defineEmits<{
662
671
  * @param {object} params.event Event object
663
672
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
664
673
  */
665
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
674
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
666
675
  /**
667
676
  * Triggered before a widget is shown. Return `false` to prevent the action.
668
677
  * @param {string} e Event name
@@ -835,6 +844,7 @@ const widgetData = {
835
844
  'autoSelect',
836
845
  'bubbleEvents',
837
846
  'centered',
847
+ 'checkValidity',
838
848
  'clearable',
839
849
  'color',
840
850
  'config',
@@ -76,6 +76,15 @@ export declare type BryntumFilterFieldProps = {
76
76
  * Set to `true` to centre the Widget in browser viewport space.
77
77
  */
78
78
  centered ? : Boolean
79
+ /**
80
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
81
+ * 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)
82
+ * evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
83
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilterField#config-checkValidity)
84
+ * @param {Core.widget.Field} field The field being validated
85
+ * @returns {void}
86
+ */
87
+ checkValidity ? : ((field: Field) => void)|string
79
88
  /**
80
89
  * Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-readOnly). The trigger is available
81
90
  * 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
@@ -735,7 +735,7 @@ const emit = defineEmits<{
735
735
  * @param {object} params.event Event object
736
736
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
737
737
  */
738
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
738
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
739
739
  /**
740
740
  * Fired before this container will load record values into its child fields. This is useful if you
741
741
  * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
@@ -761,7 +761,7 @@ const emit = defineEmits<{
761
761
  * @param {object} params.event Event object
762
762
  * @param {any} params.event.state State object config
763
763
  */
764
- (e: 'beforeStateApply', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
764
+ (e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
765
765
  /**
766
766
  * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
767
767
  * @param {string} e Event name
@@ -769,7 +769,7 @@ const emit = defineEmits<{
769
769
  * @param {object} params.event Event object
770
770
  * @param {any} params.event.state State object config
771
771
  */
772
- (e: 'beforeStateSave', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
772
+ (e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
773
773
  /**
774
774
  * Fires when any other event is fired from the object.
775
775
  * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Hint#event-catchAll)
@@ -447,7 +447,7 @@ const emit = defineEmits<{
447
447
  * @param {object} params.event Event object
448
448
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
449
449
  */
450
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
450
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
451
451
  /**
452
452
  * Triggered before a widget is shown. Return `false` to prevent the action.
453
453
  * @param {string} e Event name
@@ -548,7 +548,7 @@ const emit = defineEmits<{
548
548
  * @param {object} params.event Event object
549
549
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
550
550
  */
551
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
551
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
552
552
  /**
553
553
  * User going to activate an item in the list either by pointer or keyboard.
554
554
  * The active record, list item index, and the triggering event are passed.
@@ -562,7 +562,7 @@ const emit = defineEmits<{
562
562
  * @param {number} params.event.index List item index
563
563
  * @param {Event} params.event.event Triggering event
564
564
  */
565
- (e: 'beforeItem', params: ((event: { source: List, item: HTMLElement, record: Model, index: number, event: Event }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
565
+ (e: 'beforeItem', params: ((event: { source: List, item: HTMLElement, record: Model, index: number, event: Event }) => boolean|void)|string): boolean|void
566
566
  /**
567
567
  * Triggered before a widget is shown. Return `false` to prevent the action.
568
568
  * @param {string} e Event name
@@ -731,7 +731,7 @@ const emit = defineEmits<{
731
731
  * @param {object} params.event Event object
732
732
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
733
733
  */
734
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
734
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
735
735
  /**
736
736
  * Fired before this container will load record values into its child fields. This is useful if you
737
737
  * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
@@ -757,7 +757,7 @@ const emit = defineEmits<{
757
757
  * @param {object} params.event Event object
758
758
  * @param {any} params.event.state State object config
759
759
  */
760
- (e: 'beforeStateApply', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
760
+ (e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
761
761
  /**
762
762
  * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
763
763
  * @param {string} e Event name
@@ -765,7 +765,7 @@ const emit = defineEmits<{
765
765
  * @param {object} params.event Event object
766
766
  * @param {any} params.event.state State object config
767
767
  */
768
- (e: 'beforeStateSave', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
768
+ (e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
769
769
  /**
770
770
  * Fires when any other event is fired from the object.
771
771
  * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Menu#event-catchAll)
@@ -657,7 +657,7 @@ const emit = defineEmits<{
657
657
  * @param {object} params.event Event object
658
658
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
659
659
  */
660
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
660
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
661
661
  /**
662
662
  * Fired before this container will load record values into its child fields. This is useful if you
663
663
  * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
@@ -683,7 +683,7 @@ const emit = defineEmits<{
683
683
  * @param {object} params.event Event object
684
684
  * @param {any} params.event.state State object config
685
685
  */
686
- (e: 'beforeStateApply', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
686
+ (e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
687
687
  /**
688
688
  * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
689
689
  * @param {string} e Event name
@@ -691,7 +691,7 @@ const emit = defineEmits<{
691
691
  * @param {object} params.event Event object
692
692
  * @param {any} params.event.state State object config
693
693
  */
694
- (e: 'beforeStateSave', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
694
+ (e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
695
695
  /**
696
696
  * Fires when any other event is fired from the object.
697
697
  * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#event-catchAll)
@@ -97,6 +97,15 @@ defineProps<{
97
97
  * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/NumberField#config-changeOnSpin)
98
98
  */
99
99
  changeOnSpin ? : Boolean|number
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/NumberField#config-checkValidity)
105
+ * @param {Core.widget.Field} field The field being validated
106
+ * @returns {void}
107
+ */
108
+ checkValidity ? : ((field: Field) => void)|string
100
109
  /**
101
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
102
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
@@ -668,7 +677,7 @@ const emit = defineEmits<{
668
677
  * @param {object} params.event Event object
669
678
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
670
679
  */
671
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
680
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
672
681
  /**
673
682
  * Triggered before a widget is shown. Return `false` to prevent the action.
674
683
  * @param {string} e Event name
@@ -842,6 +851,7 @@ const widgetData = {
842
851
  'bubbleEvents',
843
852
  'centered',
844
853
  'changeOnSpin',
854
+ 'checkValidity',
845
855
  'clearable',
846
856
  'color',
847
857
  'config',
@@ -82,6 +82,15 @@ export declare type BryntumNumberFieldProps = {
82
82
  * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/NumberField#config-changeOnSpin)
83
83
  */
84
84
  changeOnSpin ? : Boolean|number
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/NumberField#config-checkValidity)
90
+ * @param {Core.widget.Field} field The field being validated
91
+ * @returns {void}
92
+ */
93
+ checkValidity ? : ((field: Field) => void)|string
85
94
  /**
86
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
87
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
@@ -575,7 +575,7 @@ const emit = defineEmits<{
575
575
  * @param {object} params.event Event object
576
576
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
577
577
  */
578
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
578
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
579
579
  /**
580
580
  * This event is fired on the owning Toolbar prior to starting a drag gesture. The drag is canceled if
581
581
  * a listener returns `false`.
@@ -586,7 +586,7 @@ const emit = defineEmits<{
586
586
  * @param {Core.widget.Widget} params.event.item The dragged item.
587
587
  * @param {Event} params.event.domEvent The browser event.
588
588
  */
589
- (e: 'beforeItemDragStart', params: ((event: { source: Toolbar, item: Widget, domEvent: Event }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
589
+ (e: 'beforeItemDragStart', params: ((event: { source: Toolbar, item: Widget, domEvent: Event }) => boolean|void)|string): boolean|void
590
590
  /**
591
591
  * Fired before this container will load record values into its child fields. This is useful if you
592
592
  * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
@@ -653,7 +653,7 @@ const emit = defineEmits<{
653
653
  * @param {object} params.event Event object
654
654
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
655
655
  */
656
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
656
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
657
657
  /**
658
658
  * Fired before this container will load record values into its child fields. This is useful if you
659
659
  * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
@@ -679,7 +679,7 @@ const emit = defineEmits<{
679
679
  * @param {object} params.event Event object
680
680
  * @param {any} params.event.state State object config
681
681
  */
682
- (e: 'beforeStateApply', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
682
+ (e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
683
683
  /**
684
684
  * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
685
685
  * @param {string} e Event name
@@ -687,7 +687,7 @@ const emit = defineEmits<{
687
687
  * @param {object} params.event Event object
688
688
  * @param {any} params.event.state State object config
689
689
  */
690
- (e: 'beforeStateSave', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
690
+ (e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
691
691
  /**
692
692
  * Fires when any other event is fired from the object.
693
693
  * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Panel#event-catchAll)
@@ -91,6 +91,15 @@ defineProps<{
91
91
  * Set to `true` to centre the Widget in browser viewport space.
92
92
  */
93
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/PasswordField#config-checkValidity)
99
+ * @param {Core.widget.Field} field The field being validated
100
+ * @returns {void}
101
+ */
102
+ checkValidity ? : ((field: Field) => void)|string
94
103
  /**
95
104
  * 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
105
  * 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
@@ -620,7 +629,7 @@ const emit = defineEmits<{
620
629
  * @param {object} params.event Event object
621
630
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
622
631
  */
623
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
632
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
624
633
  /**
625
634
  * Triggered before a widget is shown. Return `false` to prevent the action.
626
635
  * @param {string} e Event name
@@ -793,6 +802,7 @@ const widgetData = {
793
802
  'autoSelect',
794
803
  'bubbleEvents',
795
804
  'centered',
805
+ 'checkValidity',
796
806
  'clearable',
797
807
  'color',
798
808
  'config',
@@ -76,6 +76,15 @@ export declare type BryntumPasswordFieldProps = {
76
76
  * Set to `true` to centre the Widget in browser viewport space.
77
77
  */
78
78
  centered ? : Boolean
79
+ /**
80
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
81
+ * 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)
82
+ * evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
83
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/PasswordField#config-checkValidity)
84
+ * @param {Core.widget.Field} field The field being validated
85
+ * @returns {void}
86
+ */
87
+ checkValidity ? : ((field: Field) => void)|string
79
88
  /**
80
89
  * Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-readOnly). The trigger is available
81
90
  * 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
@@ -466,7 +466,7 @@ const emit = defineEmits<{
466
466
  * @param {object} params.event Event object
467
467
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
468
468
  */
469
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
469
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
470
470
  /**
471
471
  * Triggered before a widget is shown. Return `false` to prevent the action.
472
472
  * @param {string} e Event name
@@ -108,6 +108,15 @@ defineProps<{
108
108
  * A value of `undefined` will cause this widget not to include its value when checked.
109
109
  */
110
110
  checkedValue ? : any
111
+ /**
112
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
113
+ * 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)
114
+ * evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
115
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Radio#config-checkValidity)
116
+ * @param {Core.widget.Field} field The field being validated
117
+ * @returns {void}
118
+ */
119
+ checkValidity ? : ((field: Field) => void)|string
111
120
  /**
112
121
  * Custom CSS classes to add to element.
113
122
  * May be specified as a space separated string, or as an object in which property names
@@ -624,7 +633,7 @@ const emit = defineEmits<{
624
633
  * @param {boolean} params.event.valid True if this field is in a valid state.
625
634
  * @param {Event} params.event.event The triggering DOM event if any
626
635
  */
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
636
+ (e: 'beforeChange', params: ((event: { source: Checkbox, checked: boolean, value: boolean, oldValue: boolean, userAction: boolean, valid: boolean, event: Event }) => boolean|void)|string): boolean|void
628
637
  /**
629
638
  * Fires before an object is destroyed.
630
639
  * @param {string} e Event name
@@ -640,7 +649,7 @@ const emit = defineEmits<{
640
649
  * @param {object} params.event Event object
641
650
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
642
651
  */
643
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
652
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
644
653
  /**
645
654
  * Triggered before a widget is shown. Return `false` to prevent the action.
646
655
  * @param {string} e Event name
@@ -824,6 +833,7 @@ const widgetData = {
824
833
  'bubbleEvents',
825
834
  'centered',
826
835
  'checkedValue',
836
+ 'checkValidity',
827
837
  'color',
828
838
  'config',
829
839
  'constrainTo',
@@ -691,7 +691,7 @@ const emit = defineEmits<{
691
691
  * @param {object} params.event Event object
692
692
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
693
693
  */
694
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
694
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
695
695
  /**
696
696
  * Fired before this container will load record values into its child fields. This is useful if you
697
697
  * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
@@ -717,7 +717,7 @@ const emit = defineEmits<{
717
717
  * @param {object} params.event Event object
718
718
  * @param {any} params.event.state State object config
719
719
  */
720
- (e: 'beforeStateApply', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
720
+ (e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
721
721
  /**
722
722
  * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
723
723
  * @param {string} e Event name
@@ -725,7 +725,7 @@ const emit = defineEmits<{
725
725
  * @param {object} params.event Event object
726
726
  * @param {any} params.event.state State object config
727
727
  */
728
- (e: 'beforeStateSave', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
728
+ (e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
729
729
  /**
730
730
  * Fires when any other event is fired from the object.
731
731
  * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#event-catchAll)
@@ -93,6 +93,15 @@ export declare type BryntumRadioProps = {
93
93
  * A value of `undefined` will cause this widget not to include its value when checked.
94
94
  */
95
95
  checkedValue ? : any
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/Radio#config-checkValidity)
101
+ * @param {Core.widget.Field} field The field being validated
102
+ * @returns {void}
103
+ */
104
+ checkValidity ? : ((field: Field) => void)|string
96
105
  /**
97
106
  * Custom CSS classes to add to element.
98
107
  * May be specified as a space separated string, or as an object in which property names