@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
@@ -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/SlideToggle#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',
@@ -93,6 +93,15 @@ export declare type BryntumSlideToggleProps = {
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/SlideToggle#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
@@ -512,7 +512,7 @@ const emit = defineEmits<{
512
512
  * @param {object} params.event Event object
513
513
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
514
514
  */
515
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
515
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
516
516
  /**
517
517
  * Triggered before a widget is shown. Return `false` to prevent the action.
518
518
  * @param {string} e Event name
@@ -454,7 +454,7 @@ const emit = defineEmits<{
454
454
  * @param {object} params.event Event object
455
455
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
456
456
  */
457
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
457
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
458
458
  /**
459
459
  * Triggered before a widget is shown. Return `false` to prevent the action.
460
460
  * @param {string} e Event name
@@ -678,7 +678,7 @@ const emit = defineEmits<{
678
678
  * @param {object} params.event Event object
679
679
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
680
680
  */
681
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
681
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
682
682
  /**
683
683
  * Fired before this container will load record values into its child fields. This is useful if you
684
684
  * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
@@ -704,7 +704,7 @@ const emit = defineEmits<{
704
704
  * @param {object} params.event Event object
705
705
  * @param {any} params.event.state State object config
706
706
  */
707
- (e: 'beforeStateApply', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
707
+ (e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
708
708
  /**
709
709
  * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
710
710
  * @param {string} e Event name
@@ -712,7 +712,7 @@ const emit = defineEmits<{
712
712
  * @param {object} params.event Event object
713
713
  * @param {any} params.event.state State object config
714
714
  */
715
- (e: 'beforeStateSave', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
715
+ (e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
716
716
  /**
717
717
  * The active tab is about to be changed. Return `false` to prevent this.
718
718
  * @param {string} e Event name
@@ -723,7 +723,7 @@ const emit = defineEmits<{
723
723
  * @param {number} params.event.prevActiveIndex The previous active index.
724
724
  * @param {Core.widget.Widget} params.event.prevActiveItem The previous active child widget.
725
725
  */
726
- (e: 'beforeTabChange', params: ((event: { activeIndex: number, activeItem: Widget, prevActiveIndex: number, prevActiveItem: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
726
+ (e: 'beforeTabChange', params: ((event: { activeIndex: number, activeItem: Widget, prevActiveIndex: number, prevActiveItem: Widget }) => boolean|void)|string): boolean|void
727
727
  /**
728
728
  * Fires when any other event is fired from the object.
729
729
  * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#event-catchAll)
@@ -97,6 +97,15 @@ defineProps<{
97
97
  * Set to `true` to centre the Widget in browser viewport space.
98
98
  */
99
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/TextAreaField#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
@@ -635,7 +644,7 @@ const emit = defineEmits<{
635
644
  * @param {object} params.event Event object
636
645
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
637
646
  */
638
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
647
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
639
648
  /**
640
649
  * Triggered before a widget is shown. Return `false` to prevent the action.
641
650
  * @param {string} e Event name
@@ -809,6 +818,7 @@ const widgetData = {
809
818
  'autoSelect',
810
819
  'bubbleEvents',
811
820
  'centered',
821
+ 'checkValidity',
812
822
  'clearable',
813
823
  'color',
814
824
  'config',
@@ -82,6 +82,15 @@ export declare type BryntumTextAreaFieldProps = {
82
82
  * Set to `true` to centre the Widget in browser viewport space.
83
83
  */
84
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/TextAreaField#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
@@ -95,6 +95,15 @@ defineProps<{
95
95
  * Set to `true` to centre the Widget in browser viewport space.
96
96
  */
97
97
  centered ? : Boolean
98
+ /**
99
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
100
+ * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-isValid)
101
+ * evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
102
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-checkValidity)
103
+ * @param {Core.widget.Field} field The field being validated
104
+ * @returns {void}
105
+ */
106
+ checkValidity ? : ((field: Field) => void)|string
98
107
  /**
99
108
  * 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
109
  * 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
@@ -644,7 +653,7 @@ const emit = defineEmits<{
644
653
  * @param {object} params.event Event object
645
654
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
646
655
  */
647
- (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
648
657
  /**
649
658
  * Triggered before a widget is shown. Return `false` to prevent the action.
650
659
  * @param {string} e Event name
@@ -818,6 +827,7 @@ const widgetData = {
818
827
  'autoSelect',
819
828
  'bubbleEvents',
820
829
  'centered',
830
+ 'checkValidity',
821
831
  'clearable',
822
832
  'color',
823
833
  'config',
@@ -80,6 +80,15 @@ export declare type BryntumTextAreaPickerFieldProps = {
80
80
  * Set to `true` to centre the Widget in browser viewport space.
81
81
  */
82
82
  centered ? : Boolean
83
+ /**
84
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
85
+ * 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)
86
+ * evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
87
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-checkValidity)
88
+ * @param {Core.widget.Field} field The field being validated
89
+ * @returns {void}
90
+ */
91
+ checkValidity ? : ((field: Field) => void)|string
83
92
  /**
84
93
  * 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
94
  * 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
@@ -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/TextField#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
@@ -633,7 +642,7 @@ const emit = defineEmits<{
633
642
  * @param {object} params.event Event object
634
643
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
635
644
  */
636
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
645
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
637
646
  /**
638
647
  * Triggered before a widget is shown. Return `false` to prevent the action.
639
648
  * @param {string} e Event name
@@ -806,6 +815,7 @@ const widgetData = {
806
815
  'autoSelect',
807
816
  'bubbleEvents',
808
817
  'centered',
818
+ 'checkValidity',
809
819
  'clearable',
810
820
  'color',
811
821
  'config',
@@ -76,6 +76,15 @@ export declare type BryntumTextFieldProps = {
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/TextField#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
@@ -95,6 +95,15 @@ defineProps<{
95
95
  * Set to `true` to centre the Widget in browser viewport space.
96
96
  */
97
97
  centered ? : Boolean
98
+ /**
99
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
100
+ * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-isValid)
101
+ * evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
102
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TimeField#config-checkValidity)
103
+ * @param {Core.widget.Field} field The field being validated
104
+ * @returns {void}
105
+ */
106
+ checkValidity ? : ((field: Field) => void)|string
98
107
  /**
99
108
  * 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
109
  * 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
@@ -685,7 +694,7 @@ const emit = defineEmits<{
685
694
  * @param {object} params.event Event object
686
695
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
687
696
  */
688
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
697
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
689
698
  /**
690
699
  * Triggered before a widget is shown. Return `false` to prevent the action.
691
700
  * @param {string} e Event name
@@ -859,6 +868,7 @@ const widgetData = {
859
868
  'autoSelect',
860
869
  'bubbleEvents',
861
870
  'centered',
871
+ 'checkValidity',
862
872
  'clearable',
863
873
  'color',
864
874
  'config',
@@ -80,6 +80,15 @@ export declare type BryntumTimeFieldProps = {
80
80
  * Set to `true` to centre the Widget in browser viewport space.
81
81
  */
82
82
  centered ? : Boolean
83
+ /**
84
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
85
+ * 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)
86
+ * evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
87
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TimeField#config-checkValidity)
88
+ * @param {Core.widget.Field} field The field being validated
89
+ * @returns {void}
90
+ */
91
+ checkValidity ? : ((field: Field) => void)|string
83
92
  /**
84
93
  * 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
94
  * 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
@@ -567,7 +567,7 @@ const emit = defineEmits<{
567
567
  * @param {object} params.event Event object
568
568
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
569
569
  */
570
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
570
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
571
571
  /**
572
572
  * Fired before this container will load record values into its child fields. This is useful if you
573
573
  * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
@@ -569,7 +569,7 @@ const emit = defineEmits<{
569
569
  * @param {object} params.event Event object
570
570
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
571
571
  */
572
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
572
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
573
573
  /**
574
574
  * This event is fired on the owning Toolbar prior to starting a drag gesture. The drag is canceled if
575
575
  * a listener returns `false`.
@@ -580,7 +580,7 @@ const emit = defineEmits<{
580
580
  * @param {Core.widget.Widget} params.event.item The dragged item.
581
581
  * @param {Event} params.event.domEvent The browser event.
582
582
  */
583
- (e: 'beforeItemDragStart', params: ((event: { source: Toolbar, item: Widget, domEvent: Event }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
583
+ (e: 'beforeItemDragStart', params: ((event: { source: Toolbar, item: Widget, domEvent: Event }) => boolean|void)|string): boolean|void
584
584
  /**
585
585
  * Fired before this container will load record values into its child fields. This is useful if you
586
586
  * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
@@ -443,7 +443,7 @@ const emit = defineEmits<{
443
443
  * @param {object} params.event Event object
444
444
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
445
445
  */
446
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
446
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
447
447
  /**
448
448
  * Triggered before a widget is shown. Return `false` to prevent the action.
449
449
  * @param {string} e Event name
@@ -673,7 +673,7 @@ const emit = defineEmits<{
673
673
  * @param {object} params.event Event object
674
674
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
675
675
  */
676
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
676
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
677
677
  /**
678
678
  * Fired before this container will load record values into its child fields. This is useful if you
679
679
  * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
@@ -699,7 +699,7 @@ const emit = defineEmits<{
699
699
  * @param {object} params.event Event object
700
700
  * @param {any} params.event.state State object config
701
701
  */
702
- (e: 'beforeStateApply', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
702
+ (e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
703
703
  /**
704
704
  * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
705
705
  * @param {string} e Event name
@@ -707,7 +707,7 @@ const emit = defineEmits<{
707
707
  * @param {object} params.event Event object
708
708
  * @param {any} params.event.state State object config
709
709
  */
710
- (e: 'beforeStateSave', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
710
+ (e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
711
711
  /**
712
712
  * Fires when any other event is fired from the object.
713
713
  * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#event-catchAll)
@@ -1 +0,0 @@
1
- {"version":3,"file":"BKLWvKPc.js","sources":["../../src/components/BryntumTextAreaPickerField.vue"],"sourcesContent":["<!-- Vue 3 wrapper for Bryntum TextAreaPickerField -->\n\n<template>\n <div ref=\"refElement\">\n\n </div>\n</template>\n\n<script setup lang=\"ts\">\n\nimport { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';\n\nimport type { AlignSpec, Base, Color, CoreContainerItemConfig, Field, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Model, Rectangle, TabConfig, TextAreaPickerFieldListeners, TooltipConfig, Widget } from '@bryntum/core-thin';\nimport { TextAreaPickerField } from '@bryntum/core-thin';\n\nimport { WrapperHelper } from '../helper/WrapperHelper';\n\ndefineProps<{\n // Configs\n /**\n * Element (or element id) to adopt as this Widget's encapsulating element. The widget's\n * content will be placed inside this element.\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-adopt)\n */\n adopt ? : HTMLElement|string\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-align)\n */\n align ? : AlignSpec|string\n /**\n * When this widget is a child of a [Container](https://bryntum.com/products/core/docs/api/Core/widget/Container), it will by default be participating in a\n * flexbox layout. This config allows you to set this widget's\n * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.\n */\n alignSelf ? : string\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating) and being shown through [showBy](#Core/widget/Widget#function-showBy).*\n * `true` to show a connector arrow pointing to the align target.\n */\n anchor ? : Boolean\n /**\n * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at\n * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).\n */\n appendTo ? : HTMLElement|string\n /**\n * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject\n * into an element which will be linked using the `aria-describedby` attribute.\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-ariaDescription)\n */\n ariaDescription ? : string\n /**\n * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as\n * the `aria-label` attribute.\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-ariaLabel)\n */\n ariaLabel ? : string\n /**\n * Sets the native `autocomplete` property of the underlying input element. For more information, please refer to\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)\n */\n autoComplete ? : string\n /**\n * Configure as `true` to have the picker expand upon focus enter.\n */\n autoExpand ? : Boolean\n /**\n * Specify `true` to auto select field contents on focus\n */\n autoSelect ? : Boolean\n /**\n * Initial text to show in badge.\n */\n badge ? : string\n /**\n * An object where property names with a truthy value indicate which events should bubble up the ownership\n * hierarchy when triggered.\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-bubbleEvents)\n */\n bubbleEvents ? : object\n /**\n * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-callOnFunctions)\n */\n callOnFunctions ? : Boolean\n /**\n * By default, if an event handler throws an exception, the error propagates up the stack and the\n * application state is undefined. Code which follows the event handler will *not* be executed.\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-catchEventHandlerExceptions)\n */\n catchEventHandlerExceptions ? : Boolean\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*\n * Set to `true` to centre the Widget in browser viewport space.\n */\n centered ? : Boolean\n /**\n * 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\n * 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\n * configures the `clear` [trigger](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers).\n */\n clearable ? : Boolean|FieldTriggerConfig\n /**\n * Custom CSS classes to add to element.\n * May be specified as a space separated string, or as an object in which property names\n * with truthy values are used as the class names:\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-cls)\n */\n cls ? : string|object\n /**\n * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets\n * `style` block.\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-color)\n */\n color ? : Color\n /**\n * Programmatic control over which column to start in when used in a grid layout.\n */\n column ? : number\n config ? : object\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating) or [positioned](#Core/widget/Widget#config-positioned).*\n * Element, Widget or Rectangle to which this Widget is constrained.\n */\n constrainTo ? : HTMLElement|Widget|Rectangle\n /**\n * The configuration for additional items associated to this field. This is typically used to add contextual\n * fields related to a [checkbox](https://bryntum.com/products/core/docs/api/Core/widget/Checkbox) or [radio button](#Core/widget/Radio). See\n * these classes for examples of nested fields.\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-container)\n */\n container ? : Record<string, CoreContainerItemConfig>|CoreContainerItemConfig[]|FieldContainerConfig\n /**\n * The config controls how the value of nested items are handled when a parent container gets or sets its\n * [values](https://bryntum.com/products/core/docs/api/Core/widget/Container#property-values).\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-containValues)\n * @param {Core.widget.Field} field Field instance\n * @returns {boolean}\n */\n containValues ? : Boolean|string|((field: Field) => Boolean)\n /**\n * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).\n * May be specified as a space separated string, or as an object in which property names\n * with truthy values are used as the class names:\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-contentElementCls)\n */\n contentElementCls ? : string|object\n /**\n * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the\n * field on the expanded record to use for populating this widget's store (if applicable)\n */\n dataField ? : string\n /**\n * Object to apply to elements dataset (each key will be used as a data-attribute on the element)\n */\n dataset ? : Record<string, string>\n /**\n * The name of the property to set when a single value is to be applied to this Widget. Such as when used\n * in a grid WidgetColumn, this is the property to which the column's `field` is applied.\n */\n defaultBindProperty ? : string\n /**\n * Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following\n * checks:\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-detectCSSCompatibilityIssues)\n */\n detectCSSCompatibilityIssues ? : Boolean\n /**\n * Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget\n * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-disabled)\n */\n disabled ? : Boolean|'inert'\n /**\n * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/core/docs/api/Core/widget/Panel)\n * [strips collection](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,\n * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's\n * body. Such widgets are called \"edge strips\".\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-dock)\n */\n dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*\n * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´\n * property which controls when a drag should start.\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-draggable)\n * @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget\n */\n draggable ? : Boolean|object\n /**\n * An object specifying attributes to assign to the root element of this widget.\n * Set `null` value to attribute to remove it.\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-elementAttributes)\n */\n elementAttributes ? : Record<string, string|null>\n extraData ? : any\n /**\n * When this widget is a child of a [Container](https://bryntum.com/products/core/docs/api/Core/widget/Container), it will by default be participating in a\n * flexbox layout. This config allows you to set this widget's\n * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.\n * This may be configured as a single number or a `&lt;flex-grow&gt; &lt;flex-shrink&gt; &lt;flex-basis&gt;` format string.\n * numeric-only values are interpreted as the `flex-grow` value.\n */\n flex ? : number|string\n /**\n * Set to `true` to move the widget out of the document flow and position it\n * absolutely in browser viewport space.\n */\n floating ? : Boolean\n /**\n * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,\n * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some\n * cases this config is convenient.\n */\n height ? : string|number\n /**\n * Configure with true to make widget initially hidden.\n */\n hidden ? : Boolean\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-hideAnimation)\n */\n hideAnimation ? : Boolean|object\n /**\n * Specify `true` to highlight field after external value changes\n */\n highlightExternalChange ? : Boolean\n /**\n * An optional string to display inside the input field as an overlay. This can be useful for displaying\n * a field's units.\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-hint)\n * @param {object} data A data object\n * @param {Core.widget.Field} data.source A reference to the field instance\n * @param {any} data.value The current value of the field\n * @returns {string}\n */\n hint ? : string|((data: { source: Field, value: any }) => string)\n /**\n * This config is similar to [hint](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-hint) except that this config is used to display HTML content.\n * Since this can allow malicious content to be executed, be sure not to include user-entered data or to\n * encode such data (see [encodeHtml](https://bryntum.com/products/core/docs/api/Core/helper/StringHelper#function-encodeHtml-static)).\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-hintHtml)\n * @param {object} data A data object\n * @param {Core.widget.Field} data.source A reference to the field instance\n * @param {any} data.value The current value of the field\n * @returns {string}\n */\n hintHtml ? : string|((data: { source: Field, value: any }) => string)\n /**\n * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById\n */\n id ? : string\n /**\n * Determines if the widgets read-only state should be controlled by its parent.\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-ignoreParentReadOnly)\n */\n ignoreParentReadOnly ? : Boolean\n /**\n * Set this config to `true` to always display items horizontally along with this field. This assigns an\n * [hbox](https://bryntum.com/products/core/docs/api/Core/widget/layout/Box) as the [layout](#Core/widget/Container#config-layout) to the\n * [container](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-container).\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-inline)\n */\n inline ? : Boolean\n /**\n * Text alignment for the input field.\n */\n inputAlign ? : string\n /**\n * Sets custom attributes of the underlying input element. For more information, please refer to\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes)\n */\n inputAttributes ? : Record<string, string>\n /**\n * If you need to use something else than a default `input` element, as the input element, provide the tag\n * name here. Please note that this is used for advanced usage only, for example when using WebComponents\n * (custom elements), and that the configured element must fulfil the same contract as a regular input\n * element.\n */\n inputTag ? : string\n /**\n * Sets the `type` attribute of the underlying input element (password, hidden, date, color, etc.).\n */\n inputType ? : string\n /**\n * The width to apply to the `.b-field-inner` element, which encompasses the `input` element and any\n * triggers. If a number is specified, `px` will be used.\n */\n inputWidth ? : string|number\n /**\n * 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.\n */\n insertBefore ? : HTMLElement|string\n /**\n * 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.\n */\n insertFirst ? : HTMLElement|string\n /**\n * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name\n * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values\n * are the name of the instance method to call when the keystroke is received.\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-keyMap)\n */\n keyMap ? : Record<string, KeyMapConfig>\n /**\n * The delay in milliseconds to wait after the last keystroke before triggering a change event.\n * Set to 0 to not trigger change events from keystrokes (listen for input event instead to have\n * immediate feedback, change will still be triggered on blur).\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-keyStrokeChangeDelay)\n */\n keyStrokeChangeDelay ? : number\n /**\n * Label, prepended to field\n */\n label ? : string\n /**\n * CSS class name or class names to add to any configured [label](https://bryntum.com/products/core/docs/api/Core/widget/mixin/Labelable#config-label)\n */\n labelCls ? : string|object\n /**\n * Label position, either 'before' the field or 'above' the field\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-labelPosition)\n */\n labelPosition ? : 'before'|'above'|null\n /**\n * The labels to add either before or after the input field.\n * Each label may have the following properties:\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-labels)\n * @property {string} html Label text\n * @property {'start','end'} align Which end of the file the label should go\n */\n labels ? : object[]\n /**\n * The width to apply to the `&lt;label&gt;` element. If a number is specified, `px` will be used.\n */\n labelWidth ? : string|number\n /**\n * The listener set for this object.\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-listeners)\n */\n listeners ? : TextAreaPickerFieldListeners\n /**\n * A class translations of which are used for translating this entity.\n * This is often used when translations of an item are defined on its container class.\n * For example:\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-localeClass)\n */\n localeClass ? : typeof Base\n /**\n * Set to `false` to disable localization of this object.\n */\n localizable ? : Boolean\n /**\n * List of properties which values should be translated automatically upon a locale applying.\n * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),\n * you could use 'localeKey' meta configuration.\n * Example:\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-localizableProperties)\n */\n localizableProperties ? : string[]\n /**\n * Widget's margin. This may be configured as a single number or a `TRBL` format string.\n * numeric-only values are interpreted as pixels.\n */\n margin ? : number|string\n /**\n * This config object contains the defaults for the [Mask](https://bryntum.com/products/core/docs/api/Core/widget/Mask) created for the\n * [masked](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these\n * values.\n */\n maskDefaults ? : MaskConfig\n /**\n * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a\n * [Mask](https://bryntum.com/products/core/docs/api/Core/widget/Mask) config object.\n */\n masked ? : Boolean|string|MaskConfig\n /**\n * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [height](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.\n */\n maxHeight ? : string|number\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-maximizeOnMobile)\n */\n maximizeOnMobile ? : number|string\n /**\n * The max number of characters for the input field\n */\n maxLength ? : number\n /**\n * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [width](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.\n */\n maxWidth ? : string|number\n /**\n * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [height](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.\n */\n minHeight ? : string|number\n /**\n * The min number of characters for the input field\n */\n minLength ? : number\n /**\n * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [width](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.\n */\n minWidth ? : string|number\n /**\n * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)\n * is used to monitor this element for size changes caused by either style manipulation, or by CSS\n * layout.\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-monitorResize)\n * @property {boolean} immediate Set to `true` to receive resize notifications immediately.\n */\n monitorResize ? : Boolean|object\n /**\n * Name of the field which is used as a key to get/set values from/to the field.\n * Used prior to [ref](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-ref) and [id](#Core/widget/Widget#config-id) in\n * [Container.values](https://bryntum.com/products/core/docs/api/Core/widget/Container#property-values).\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-name)\n */\n name ? : string\n /**\n * Configuration object for the [picker](https://bryntum.com/products/core/docs/api/Core/widget/List) on initialization. Returns the\n * [picker](https://bryntum.com/products/core/docs/api/Core/widget/List) instance at runtime.\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-picker)\n */\n picker ? : object\n /**\n * The name of the element property to which the picker should size and align itself.\n */\n pickerAlignElement ? : string\n /**\n * Text to display in empty field.\n */\n placeholder ? : string\n /**\n * Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement), but must\n * not participate in the standard layout of that widget, and must be positioned relatively to that\n * widget's [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-positioned)\n */\n positioned ? : Boolean\n /**\n * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a\n * menu on click etc, since the tooltip would be displayed at the same time.\n */\n preventTooltipOnTouch ? : Boolean\n /**\n * Makes the field unmodifiable by user action. The input area is not editable, and triggers\n * are unresponsive.\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-readOnly)\n */\n readOnly ? : Boolean\n relayStoreEvents ? : Boolean\n /**\n * Predefined style to use for the field. Possible values are:\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-rendition)\n */\n rendition ? : 'outlined'|'filled'|string\n /**\n * Configure as `true` to indicate that a `null` field value is to be marked as invalid. This will\n * optionally append a * to the field label if [showRequiredIndicator](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-showRequiredIndicator) is set.\n */\n required ? : Boolean\n /**\n * The resize style to apply to the `&lt;textarea&gt;` element.\n */\n resize ? : 'none'|'both'|'horizontal'|'vertical'\n /**\n * If this field is not [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing\n * the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when\n * the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-clearable)\n * behaviour will be activated.\n */\n revertOnEscape ? : Boolean\n /**\n * Configure as `true` to have the component display a translucent ripple when its\n * [focusElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-focusElement), or [element](#Core/widget/Widget#property-element) is tapped <em>if the\n * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-ripple)\n * @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.\n * @property {string} [color] A CSS color name or specification.\n * @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.\n * @property {string} [clip] A string which describes how to clip the ripple if it is not to be clipped to the default element. Either the property of the widget to use as the clipping element, or a selector to allow clipping to the closest matching ancestor to the target element.\n */\n ripple ? : Boolean|object\n /**\n * The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid\n * accidentally applying a role which may interfere with screen readers.\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-role)\n */\n role ? : string\n /**\n * If you are rendering this widget to a shadow root inside a web component, set this config to the shadowRoot. If not inside a web component, set it to `document.body`\n */\n rootElement ? : ShadowRoot|HTMLElement\n /**\n * This may be configured as `true` to make the widget's element use the `direction:rtl` style.\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-rtl)\n */\n rtl ? : Boolean\n /**\n * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).\n * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.\n */\n scrollAction ? : 'hide'|'realign'|null\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-showAnimation)\n */\n showAnimation ? : Boolean|object\n /**\n * `true` to automatically display a * after the label for this field when it is [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-required).\n */\n showRequiredIndicator ? : string\n /**\n * Set to `false` to not show the tooltip when this widget is [disabled](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-disabled)\n */\n showTooltipWhenDisabled ? : Boolean\n /**\n * Set to `true`, completely bypasses validation logic (could be userful if your field is not `editable`\n * to the user).\n */\n skipValidation ? : Boolean\n /**\n * Programmatic control over how many columns to span when used in a grid layout.\n */\n span ? : number\n /**\n * Sets the native `spellcheck` property of the underlying input element. For more information, please refer to\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck)\n */\n spellCheck ? : Boolean\n /**\n * A configuration for the [tab](https://bryntum.com/products/core/docs/api/Core/widget/Tab) created for this widget when it is placed in a\n * [TabPanel](https://bryntum.com/products/core/docs/api/Core/widget/TabPanel). For example, this config can be used to control the icon of the `tab` for\n * this widget:\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-tab)\n */\n tab ? : Boolean|TabConfig\n /**\n * The tab index of the input field or fields, or `null` for natural tab order (recommended). Setting to `0`\n * is equivalent to natural tab order, but is unnecessary for fields since they are naturally tabbable\n * (i.e., accessible via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set\n * to the element programmatically.\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-tabIndex)\n */\n tabIndex ? : number\n /**\n * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-textAlign)\n */\n textAlign ? : 'left'|'center'|'right'|'start'|'end'\n /**\n * A title to display for the widget. Only in effect when inside a container that uses it (such as TabPanel)\n */\n title ? : string\n /**\n * Tooltip for the widget, either as a string or as a Tooltip config object.\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-tooltip)\n */\n tooltip ? : string|TooltipConfig|null\n /**\n * The triggers to add either before or after the input field. Each property name is the reference by which\n * an instantiated Trigger Widget may be retrieved from the live `triggers` property.\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-triggers)\n */\n triggers ? : Record<string, FieldTriggerConfig>\n type ? : 'textareapickerfield'\n /**\n * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified\n * as a space separated string, an array of strings, or as an object in which property names with truthy\n * values are used as the class names.\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-ui)\n */\n ui ? : string|object\n /**\n * Set to `false` to not highlight a field as invalid while typing, to instead show it on ENTER key press\n * or similar.\n */\n validateOnInput ? : Boolean\n /**\n * Default value\n */\n value ? : string\n /**\n * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/core/docs/api/Core/widget/Container).\n * Higher weights go further down.\n */\n weight ? : number\n /**\n * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which\n * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases\n * this config is convenient.\n */\n width ? : string|number\n /**\n * The x position for the widget.\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-x)\n */\n x ? : number\n /**\n * The y position for the widget.\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-y)\n */\n y ? : number\n\n}>();\n\nconst emit = defineEmits<{\n /**\n * User performed default action (typed into this field).\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Field,any} params.event.source This Field\n * @param {string,number,boolean,any} params.event.value This field's value\n * @param {string,number,boolean,any} params.event.oldValue This field's previous value\n * @param {boolean} params.event.valid True if this field is in a valid state\n * @param {Event} params.event.event The triggering DOM event if any\n * @param {Core.data.Model} params.event.record Selected record. Available for fields with records selection functionality\n * @param {Core.data.Model[]} params.event.records Selected records as an array. Available for fields with records selection functionality\n * @param {boolean} params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)\n * @param {boolean} params.event.checked\n */\n (e: 'action', params: ((event: { source: Field|any, value: string|number|boolean|any, oldValue: string|number|boolean|any, valid: boolean, event: Event, record: Model, records: Model[], userAction: boolean, checked: boolean }) => void)|string): void\n /**\n * Fires before an object is destroyed.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.Base} params.event.source The Object that is being destroyed.\n */\n (e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void\n /**\n * Triggered before a widget is hidden. Return `false` to prevent the action.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget being hidden.\n */\n (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void\n /**\n * Triggered before a widget is shown. Return `false` to prevent the action.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget,any} params.event.source The widget being shown\n */\n (e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void\n /**\n * Fires when any other event is fired from the object.\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#event-catchAll)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details\n * @param {string} params.event.event.type The type of the event which is caught by the listener\n */\n (e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void\n /**\n * Fired when this field's value changes.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Field,any} params.event.source This Field\n * @param {string,number,boolean,any} params.event.value This field's value\n * @param {string,number,boolean,any} params.event.oldValue This field's previous value\n * @param {boolean} params.event.valid True if this field is in a valid state\n * @param {Event} params.event.event The triggering DOM event if any\n * @param {boolean} params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)\n * @param {boolean} params.event.checked\n */\n (e: 'change', params: ((event: { source: Field|any, value: string|number|boolean|any, oldValue: string|number|boolean|any, valid: boolean, event: Event, userAction: boolean, checked: boolean }) => void)|string): void\n /**\n * Fired when this field is [cleared](https://bryntum.com/products/core/docs/api/Core/widget/Field#function-clear).\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#event-clear)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Field,any} params.event.source This Field\n */\n (e: 'clear', params: ((event: { source: Field|any }) => void)|string): void\n /**\n * Fires when an object is destroyed.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.Base} params.event.source The Object that is being destroyed.\n */\n (e: 'destroy', params: ((event: { source: Base }) => void)|string): void\n /**\n * Triggered when a widget's [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element) is available.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {HTMLElement} params.event.element The Widget's element.\n */\n (e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void\n /**\n * Fired when focus enters this Widget.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {HTMLElement} params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.\n * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.\n */\n (e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void\n /**\n * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.\n * focus moving from within this Widget's ownership tree, even if there are floating widgets\n * will not trigger this event. This is when focus exits this widget completely.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {HTMLElement} params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.\n * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.\n */\n (e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void\n /**\n * Triggered after a widget was hidden\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget\n */\n (e: 'hide', params: ((event: { source: Widget }) => void)|string): void\n /**\n * Fired when the user types into this field.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Field,any} params.event.source This field\n * @param {string,number,boolean,any} params.event.value This field's value\n * @param {Event} params.event.event The triggering DOM event\n */\n (e: 'input', params: ((event: { source: Field|any, value: string|number|boolean|any, event: Event }) => void)|string): void\n /**\n * Triggered when a widget which had been in a non-visible state for any reason\n * achieves visibility.\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#event-paint)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget being painted.\n * @param {boolean} params.event.firstPaint `true` if this is the first paint.\n */\n (e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void\n /**\n * Fired when a Widget's read only state is toggled\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {boolean} params.event.readOnly Read only or not\n */\n (e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void\n /**\n * This event is fired after a widget's elements have been synchronized due to a direct or indirect call\n * to [recompose](https://bryntum.com/products/core/docs/api/Core/widget/Widget#function-recompose), if this results in some change to the widget's rendered DOM elements.\n */\n (e: 'recompose', params: (() => void)|string): void\n /**\n * Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {number} params.event.width The new width\n * @param {number} params.event.height The new height\n * @param {number} params.event.oldWidth The old width\n * @param {number} params.event.oldHeight The old height\n */\n (e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void\n /**\n * Triggered after a widget is shown.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget\n */\n (e: 'show', params: ((event: { source: Widget }) => void)|string): void\n /**\n * User clicked one of this field's [triggers](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Field,any} params.event.source This field\n * @param {Core.widget.Widget} params.event.trigger The trigger activated by click or touch tap.\n */\n (e: 'trigger', params: ((event: { source: Field|any, trigger: Widget }) => void)|string): void\n}>();\n\nconst widgetData = {\n instanceClass : TextAreaPickerField,\n instanceName : 'TextAreaPickerField',\n\n configNames : [\n 'adopt',\n 'align',\n 'anchor',\n 'ariaDescription',\n 'ariaLabel',\n 'autoComplete',\n 'autoExpand',\n 'autoSelect',\n 'bubbleEvents',\n 'centered',\n 'clearable',\n 'color',\n 'config',\n 'constrainTo',\n 'container',\n 'containValues',\n 'contentElementCls',\n 'dataField',\n 'defaultBindProperty',\n 'detectCSSCompatibilityIssues',\n 'dock',\n 'draggable',\n 'elementAttributes',\n 'floating',\n 'hideAnimation',\n 'highlightExternalChange',\n 'hint',\n 'hintHtml',\n 'ignoreParentReadOnly',\n 'inline',\n 'inputAlign',\n 'inputAttributes',\n 'inputTag',\n 'inputType',\n 'inputWidth',\n 'keyStrokeChangeDelay',\n 'labelCls',\n 'labelPosition',\n 'labels',\n 'labelWidth',\n 'listeners',\n 'localeClass',\n 'localizable',\n 'localizableProperties',\n 'maskDefaults',\n 'masked',\n 'maxLength',\n 'minLength',\n 'monitorResize',\n 'name',\n 'picker',\n 'pickerAlignElement',\n 'positioned',\n 'preventTooltipOnTouch',\n 'relayStoreEvents',\n 'resize',\n 'revertOnEscape',\n 'ripple',\n 'role',\n 'rootElement',\n 'scrollAction',\n 'showAnimation',\n 'showTooltipWhenDisabled',\n 'skipValidation',\n 'spellCheck',\n 'tab',\n 'tabIndex',\n 'textAlign',\n 'title',\n 'type',\n 'ui',\n 'validateOnInput',\n 'weight'\n ],\n propertyConfigNames : [\n 'alignSelf',\n 'appendTo',\n 'badge',\n 'callOnFunctions',\n 'catchEventHandlerExceptions',\n 'cls',\n 'column',\n 'dataset',\n 'disabled',\n 'extraData',\n 'flex',\n 'height',\n 'hidden',\n 'id',\n 'insertBefore',\n 'insertFirst',\n 'keyMap',\n 'label',\n 'margin',\n 'maxHeight',\n 'maximizeOnMobile',\n 'maxWidth',\n 'minHeight',\n 'minWidth',\n 'onAction',\n 'onBeforeDestroy',\n 'onBeforeHide',\n 'onBeforeShow',\n 'onCatchAll',\n 'onChange',\n 'onClear',\n 'onDestroy',\n 'onElementCreated',\n 'onFocusIn',\n 'onFocusOut',\n 'onHide',\n 'onInput',\n 'onPaint',\n 'onReadOnly',\n 'onRecompose',\n 'onResize',\n 'onShow',\n 'onTrigger',\n 'placeholder',\n 'readOnly',\n 'rendition',\n 'required',\n 'rtl',\n 'showRequiredIndicator',\n 'span',\n 'tooltip',\n 'triggers',\n 'value',\n 'width',\n 'x',\n 'y'\n ],\n propertyNames : [\n 'content',\n 'editable',\n 'formula',\n 'html',\n 'input',\n 'parent',\n 'scrollable'\n ],\n eventNames : [\n 'action',\n 'beforeDestroy',\n 'beforeHide',\n 'beforeShow',\n 'catchAll',\n 'change',\n 'clear',\n 'destroy',\n 'elementCreated',\n 'focusIn',\n 'focusOut',\n 'hide',\n 'input',\n 'paint',\n 'readOnly',\n 'recompose',\n 'resize',\n 'show',\n 'trigger'\n ]\n};\n\nconst instance: {\n value?: TextAreaPickerField\n} = {};\n\nconst refElement = ref<HTMLDivElement>()!;\n// Storage for teleports (in-cell Vue component instances) automatically renderer by template\nconst teleports = ref(new Map());\n\n// Provide teleports for processCellContent\nprovide('teleports', teleports);\n\nonMounted(() => {\n\n const me = getCurrentInstance()!;\n\n instance.value = WrapperHelper.createWidget<typeof TextAreaPickerField>({\n me,\n widgetData,\n emit,\n element : refElement.value!,\n toRaw\n });\n\n const watcher = (prop: string, callback: any) => watch(() => me.props[prop], callback);\n WrapperHelper.watchProps(instance.value, widgetData, watcher);\n});\n\nonBeforeUnmount(() => {\n // @ts-ignore\n instance.value?.destroy?.();\n});\n\ndefineExpose({\n instance,\n refElement,\n teleports\n});\n\n</script>\n"],"names":["emit","__emit","widgetData","TextAreaPickerField","instance","refElement","ref","teleports","provide","onMounted","me","getCurrentInstance","WrapperHelper","toRaw","watcher","prop","callback","watch","onBeforeUnmount","__expose","_createElementBlock"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsmBA,UAAMA,IAAOC,GA+LPC,IAAa;AAAA,MACf,eAAgBC;AAAA,MAChB,cAAgB;AAAA,MAEhB,aAAgB;AAAA,QACZ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,qBAAsB;AAAA,QAClB;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,eAAgB;AAAA,QACZ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,YAAa;AAAA,QACT;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,IACJ,GAGEC,IAEF,CAAA,GAEEC,IAAaC,EAAA,GAEbC,IAAYD,EAAI,oBAAI,KAAK;AAG/B,WAAAE,EAAQ,aAAaD,CAAS,GAE9BE,EAAU,MAAM;AAEZ,YAAMC,IAAKC,EAAA;AAEX,MAAAP,EAAS,QAAQQ,EAAc,aAAyC;AAAA,QACpE,IAAAF;AAAA,QACA,YAAAR;AAAA,QACA,MAAAF;AAAA,QACA,SAAUK,EAAW;AAAA,QACrB,OAAAQ;AAAA,MAAA,CACH;AAED,YAAMC,IAAU,CAACC,GAAcC,MAAkBC,EAAM,MAAMP,EAAG,MAAMK,CAAI,GAAGC,CAAQ;AACrF,MAAAJ,EAAc,WAAWR,EAAS,OAAOF,GAAYY,CAAO;AAAA,IAChE,CAAC,GAEDI,EAAgB,MAAM;AAElB,MAAAd,EAAS,OAAO,UAAA;AAAA,IACpB,CAAC,GAEDe,EAAa;AAAA,MACT,UAAAf;AAAA,MACA,YAAAC;AAAA,MACA,WAAAE;AAAA,IAAA,CACH,mBA/+BGa,EAEM,OAAA;AAAA,eAFG;AAAA,MAAJ,KAAIf;AAAA,IAAA;;;"}