@bryntum/grid-vue-3 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 (208) hide show
  1. package/lib/chunks/{CDlTquLg.js → 0G3BOxn8.js} +9 -7
  2. package/lib/chunks/0G3BOxn8.js.map +1 -0
  3. package/lib/chunks/0gtq8Dk3.js.map +1 -1
  4. package/lib/chunks/1RZB5Yja.js.map +1 -1
  5. package/lib/chunks/2JP2ap14.js.map +1 -1
  6. package/lib/chunks/B9Ym-jRB.js.map +1 -1
  7. package/lib/chunks/B9qIhgk1.js.map +1 -1
  8. package/lib/chunks/{DiZmRX6M.js → BAaaUhdy.js} +6 -4
  9. package/lib/chunks/BAaaUhdy.js.map +1 -0
  10. package/lib/chunks/{D6pNVhVB.js → BArALprx.js} +11 -9
  11. package/lib/chunks/BArALprx.js.map +1 -0
  12. package/lib/chunks/BC_xvNJq.js.map +1 -1
  13. package/lib/chunks/{B-xu7l3m.js → BFLoNIuF.js} +10 -8
  14. package/lib/chunks/BFLoNIuF.js.map +1 -0
  15. package/lib/chunks/BK5CVUgh.js.map +1 -1
  16. package/lib/chunks/BQUiHybJ.js.map +1 -1
  17. package/lib/chunks/BWIgghsj.js.map +1 -1
  18. package/lib/chunks/{BF1rPMcu.js → BWT4Mdsw.js} +10 -8
  19. package/lib/chunks/BWT4Mdsw.js.map +1 -0
  20. package/lib/chunks/{DTUe-lyS.js → BX4HI-q4.js} +12 -10
  21. package/lib/chunks/BX4HI-q4.js.map +1 -0
  22. package/lib/chunks/BZdz0l_5.js.map +1 -1
  23. package/lib/chunks/{BpR2lUkV.js → B_2BdFBO.js} +9 -7
  24. package/lib/chunks/B_2BdFBO.js.map +1 -0
  25. package/lib/chunks/Bfj8ZUAm.js.map +1 -1
  26. package/lib/chunks/{bLebs42H.js → BhfZhJQ4.js} +5 -3
  27. package/lib/chunks/BhfZhJQ4.js.map +1 -0
  28. package/lib/chunks/BoUkRqVY.js.map +1 -1
  29. package/lib/chunks/{NkF4pTV7.js → C-KNXud_.js} +9 -7
  30. package/lib/chunks/C-KNXud_.js.map +1 -0
  31. package/lib/chunks/C2x-tjJx.js.map +1 -1
  32. package/lib/chunks/{D94FCXrL.js → C3q04kPS.js} +9 -7
  33. package/lib/chunks/C3q04kPS.js.map +1 -0
  34. package/lib/chunks/C9YGIUax.js.map +1 -1
  35. package/lib/chunks/CC_mnQeM.js.map +1 -1
  36. package/lib/chunks/CKihfOVz.js.map +1 -1
  37. package/lib/chunks/{BMTMMdaC.js → CLRX9ie2.js} +11 -9
  38. package/lib/chunks/CLRX9ie2.js.map +1 -0
  39. package/lib/chunks/COI8HIJL.js.map +1 -1
  40. package/lib/chunks/COs57ih1.js.map +1 -1
  41. package/lib/chunks/CQUmcVHy.js.map +1 -1
  42. package/lib/chunks/CeJ19ncI.js.map +1 -1
  43. package/lib/chunks/CnUfgMxC.js.map +1 -1
  44. package/lib/chunks/{Cex7HFh5.js → CnvevsBu.js} +9 -7
  45. package/lib/chunks/CnvevsBu.js.map +1 -0
  46. package/lib/chunks/{Byhp0Mwy.js → CoXntcPO.js} +7 -5
  47. package/lib/chunks/CoXntcPO.js.map +1 -0
  48. package/lib/chunks/{xIdoI0po.js → Cs5IYq5I.js} +9 -7
  49. package/lib/chunks/Cs5IYq5I.js.map +1 -0
  50. package/lib/chunks/D2GsXOvn.js.map +1 -1
  51. package/lib/chunks/D4Cy-qFk.js.map +1 -1
  52. package/lib/chunks/{Ccul2l2v.js → D7f0nsko.js} +6 -4
  53. package/lib/chunks/D7f0nsko.js.map +1 -0
  54. package/lib/chunks/DCg2fWiq.js.map +1 -1
  55. package/lib/chunks/{CBRW321y.js → DE5aChZi.js} +14 -12
  56. package/lib/chunks/DE5aChZi.js.map +1 -0
  57. package/lib/chunks/DRVjD9iN.js.map +1 -1
  58. package/lib/chunks/{DayQ7Rlb.js → DSedBrt_.js} +13 -11
  59. package/lib/chunks/DSedBrt_.js.map +1 -0
  60. package/lib/chunks/D_rLSr8Y.js.map +1 -1
  61. package/lib/chunks/{BwuvAbW5.js → DbEgVOs1.js} +7 -5
  62. package/lib/chunks/DbEgVOs1.js.map +1 -0
  63. package/lib/chunks/{DTH08WC2.js → DhhewFEv.js} +9 -7
  64. package/lib/chunks/DhhewFEv.js.map +1 -0
  65. package/lib/chunks/Dm-Ds5Fs.js.map +1 -1
  66. package/lib/chunks/Dm8ipdVr.js.map +1 -1
  67. package/lib/chunks/DskRZNvv.js.map +1 -1
  68. package/lib/chunks/PT41l8zv.js.map +1 -1
  69. package/lib/chunks/{D61dAL1b.js → TMpK4xg3.js} +12 -10
  70. package/lib/chunks/TMpK4xg3.js.map +1 -0
  71. package/lib/chunks/UkUlfQx6.js.map +1 -1
  72. package/lib/chunks/cmj1-s1q.js.map +1 -1
  73. package/lib/chunks/gboR1LQ7.js.map +1 -1
  74. package/lib/chunks/jla7jldm.js.map +1 -1
  75. package/lib/chunks/{B711lzqw.js → n-bko5m2.js} +11 -9
  76. package/lib/chunks/n-bko5m2.js.map +1 -0
  77. package/lib/chunks/n4K19P1t.js.map +1 -1
  78. package/lib/chunks/{BkSzOi0v.js → oOR_enaE.js} +9 -7
  79. package/lib/chunks/oOR_enaE.js.map +1 -0
  80. package/lib/chunks/pP8iMzIE.js.map +1 -1
  81. package/lib/chunks/s-g3r5g2.js.map +1 -1
  82. package/lib/components/BryntumAIFilterField.js +1 -1
  83. package/lib/components/BryntumBooleanCombo.js +1 -1
  84. package/lib/components/BryntumCheckbox.js +1 -1
  85. package/lib/components/BryntumChecklistFilterCombo.js +1 -1
  86. package/lib/components/BryntumColorField.js +1 -1
  87. package/lib/components/BryntumCombo.js +1 -1
  88. package/lib/components/BryntumDateField.js +1 -1
  89. package/lib/components/BryntumDateRangeField.js +1 -1
  90. package/lib/components/BryntumDateTimeField.js +1 -1
  91. package/lib/components/BryntumDisplayField.js +1 -1
  92. package/lib/components/BryntumDurationField.js +1 -1
  93. package/lib/components/BryntumFileField.js +1 -1
  94. package/lib/components/BryntumFilterField.js +1 -1
  95. package/lib/components/BryntumNumberField.js +1 -1
  96. package/lib/components/BryntumPasswordField.js +1 -1
  97. package/lib/components/BryntumRadio.js +1 -1
  98. package/lib/components/BryntumSlideToggle.js +1 -1
  99. package/lib/components/BryntumTextAreaField.js +1 -1
  100. package/lib/components/BryntumTextAreaPickerField.js +1 -1
  101. package/lib/components/BryntumTextField.js +1 -1
  102. package/lib/components/BryntumTimeField.js +1 -1
  103. package/lib/components/BryntumTreeCombo.js +1 -1
  104. package/lib/index.js +22 -22
  105. package/package.json +1 -1
  106. package/src/components/BryntumAIFilterField.vue +11 -1
  107. package/src/components/BryntumAIFilterFieldProps.ts +9 -0
  108. package/src/components/BryntumBooleanCombo.vue +11 -1
  109. package/src/components/BryntumBooleanComboProps.ts +9 -0
  110. package/src/components/BryntumButton.vue +3 -3
  111. package/src/components/BryntumButtonGroup.vue +1 -1
  112. package/src/components/BryntumChatPanel.vue +3 -3
  113. package/src/components/BryntumCheckbox.vue +12 -2
  114. package/src/components/BryntumCheckboxGroup.vue +3 -3
  115. package/src/components/BryntumCheckboxProps.ts +9 -0
  116. package/src/components/BryntumChecklistFilterCombo.vue +11 -1
  117. package/src/components/BryntumChecklistFilterComboProps.ts +9 -0
  118. package/src/components/BryntumChipView.vue +2 -2
  119. package/src/components/BryntumCodeEditor.vue +3 -3
  120. package/src/components/BryntumColorField.vue +11 -1
  121. package/src/components/BryntumColorFieldProps.ts +9 -0
  122. package/src/components/BryntumCombo.vue +11 -1
  123. package/src/components/BryntumComboProps.ts +9 -0
  124. package/src/components/BryntumContainer.vue +1 -1
  125. package/src/components/BryntumDateField.vue +11 -1
  126. package/src/components/BryntumDateFieldProps.ts +9 -0
  127. package/src/components/BryntumDatePicker.vue +3 -3
  128. package/src/components/BryntumDateRangeField.vue +11 -1
  129. package/src/components/BryntumDateRangeFieldProps.ts +9 -0
  130. package/src/components/BryntumDateTimeField.vue +11 -1
  131. package/src/components/BryntumDateTimeFieldProps.ts +9 -0
  132. package/src/components/BryntumDemoCodeEditor.vue +3 -3
  133. package/src/components/BryntumDisplayField.vue +11 -1
  134. package/src/components/BryntumDisplayFieldProps.ts +9 -0
  135. package/src/components/BryntumDurationField.vue +11 -1
  136. package/src/components/BryntumDurationFieldProps.ts +9 -0
  137. package/src/components/BryntumEditor.vue +5 -5
  138. package/src/components/BryntumFieldFilterPicker.vue +1 -1
  139. package/src/components/BryntumFieldFilterPickerGroup.vue +2 -2
  140. package/src/components/BryntumFieldSet.vue +3 -3
  141. package/src/components/BryntumFileField.vue +11 -1
  142. package/src/components/BryntumFileFieldProps.ts +9 -0
  143. package/src/components/BryntumFilePicker.vue +1 -1
  144. package/src/components/BryntumFilterField.vue +11 -1
  145. package/src/components/BryntumFilterFieldProps.ts +9 -0
  146. package/src/components/BryntumGrid.vue +25 -25
  147. package/src/components/BryntumGridBase.vue +25 -25
  148. package/src/components/BryntumGridChartDesigner.vue +1 -1
  149. package/src/components/BryntumGridFieldFilterPicker.vue +1 -1
  150. package/src/components/BryntumGridFieldFilterPickerGroup.vue +2 -2
  151. package/src/components/BryntumGroupBar.vue +2 -2
  152. package/src/components/BryntumHint.vue +3 -3
  153. package/src/components/BryntumLabel.vue +1 -1
  154. package/src/components/BryntumList.vue +2 -2
  155. package/src/components/BryntumMenu.vue +3 -3
  156. package/src/components/BryntumMonthPicker.vue +3 -3
  157. package/src/components/BryntumNumberField.vue +11 -1
  158. package/src/components/BryntumNumberFieldProps.ts +9 -0
  159. package/src/components/BryntumPagingToolbar.vue +2 -2
  160. package/src/components/BryntumPanel.vue +3 -3
  161. package/src/components/BryntumPasswordField.vue +11 -1
  162. package/src/components/BryntumPasswordFieldProps.ts +9 -0
  163. package/src/components/BryntumProgressBar.vue +1 -1
  164. package/src/components/BryntumRadio.vue +12 -2
  165. package/src/components/BryntumRadioGroup.vue +3 -3
  166. package/src/components/BryntumRadioProps.ts +9 -0
  167. package/src/components/BryntumSlideToggle.vue +12 -2
  168. package/src/components/BryntumSlideToggleProps.ts +9 -0
  169. package/src/components/BryntumSlider.vue +1 -1
  170. package/src/components/BryntumSplitter.vue +1 -1
  171. package/src/components/BryntumTabPanel.vue +4 -4
  172. package/src/components/BryntumTextAreaField.vue +11 -1
  173. package/src/components/BryntumTextAreaFieldProps.ts +9 -0
  174. package/src/components/BryntumTextAreaPickerField.vue +11 -1
  175. package/src/components/BryntumTextAreaPickerFieldProps.ts +9 -0
  176. package/src/components/BryntumTextField.vue +11 -1
  177. package/src/components/BryntumTextFieldProps.ts +9 -0
  178. package/src/components/BryntumTimeField.vue +11 -1
  179. package/src/components/BryntumTimeFieldProps.ts +9 -0
  180. package/src/components/BryntumTimePicker.vue +1 -1
  181. package/src/components/BryntumToolbar.vue +2 -2
  182. package/src/components/BryntumTreeCombo.vue +11 -1
  183. package/src/components/BryntumTreeComboProps.ts +9 -0
  184. package/src/components/BryntumTreeGrid.vue +25 -25
  185. package/src/components/BryntumWidget.vue +1 -1
  186. package/src/components/BryntumYearPicker.vue +3 -3
  187. package/lib/chunks/B-xu7l3m.js.map +0 -1
  188. package/lib/chunks/B711lzqw.js.map +0 -1
  189. package/lib/chunks/BF1rPMcu.js.map +0 -1
  190. package/lib/chunks/BMTMMdaC.js.map +0 -1
  191. package/lib/chunks/BkSzOi0v.js.map +0 -1
  192. package/lib/chunks/BpR2lUkV.js.map +0 -1
  193. package/lib/chunks/BwuvAbW5.js.map +0 -1
  194. package/lib/chunks/Byhp0Mwy.js.map +0 -1
  195. package/lib/chunks/CBRW321y.js.map +0 -1
  196. package/lib/chunks/CDlTquLg.js.map +0 -1
  197. package/lib/chunks/Ccul2l2v.js.map +0 -1
  198. package/lib/chunks/Cex7HFh5.js.map +0 -1
  199. package/lib/chunks/D61dAL1b.js.map +0 -1
  200. package/lib/chunks/D6pNVhVB.js.map +0 -1
  201. package/lib/chunks/D94FCXrL.js.map +0 -1
  202. package/lib/chunks/DTH08WC2.js.map +0 -1
  203. package/lib/chunks/DTUe-lyS.js.map +0 -1
  204. package/lib/chunks/DayQ7Rlb.js.map +0 -1
  205. package/lib/chunks/DiZmRX6M.js.map +0 -1
  206. package/lib/chunks/NkF4pTV7.js.map +0 -1
  207. package/lib/chunks/bLebs42H.js.map +0 -1
  208. package/lib/chunks/xIdoI0po.js.map +0 -1
@@ -104,6 +104,15 @@ defineProps<{
104
104
  * Set to `true` to centre the Widget in browser viewport space.
105
105
  */
106
106
  centered ? : Boolean
107
+ /**
108
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
109
+ * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/grid/docs/api/Core/widget/Field#property-isValid)
110
+ * evaluation, after the built-in [required](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-required) check.
111
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/TreeCombo#config-checkValidity)
112
+ * @param {Core.widget.Field} field The field being validated
113
+ * @returns {void}
114
+ */
115
+ checkValidity ? : ((field: Field) => void)|string
107
116
  /**
108
117
  * A config object to configure the [ChipView](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView) to display the
109
118
  * selected value set when [multiSelect](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
@@ -815,7 +824,7 @@ const emit = defineEmits<{
815
824
  * @param {object} params.event Event object
816
825
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
817
826
  */
818
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
827
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
819
828
  /**
820
829
  * Triggered before a widget is shown. Return `false` to prevent the action.
821
830
  * @param {string} e Event name
@@ -1003,6 +1012,7 @@ const widgetData = {
1003
1012
  'cacheLastResult',
1004
1013
  'caseSensitive',
1005
1014
  'centered',
1015
+ 'checkValidity',
1006
1016
  'chipView',
1007
1017
  'clearable',
1008
1018
  'clearTextOnPickerHide',
@@ -90,6 +90,15 @@ export declare type BryntumTreeComboProps = {
90
90
  * Set to `true` to centre the Widget in browser viewport space.
91
91
  */
92
92
  centered ? : Boolean
93
+ /**
94
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
95
+ * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/grid/docs/api/Core/widget/Field#property-isValid)
96
+ * evaluation, after the built-in [required](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-required) check.
97
+ * [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/TreeCombo#config-checkValidity)
98
+ * @param {Core.widget.Field} field The field being validated
99
+ * @returns {void}
100
+ */
101
+ checkValidity ? : ((field: Field) => void)|string
93
102
  /**
94
103
  * A config object to configure the [ChipView](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView) to display the
95
104
  * selected value set when [multiSelect](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
@@ -1003,7 +1003,7 @@ const emit = defineEmits<{
1003
1003
  * @param {Grid.view.Grid} params.event.source Owner grid
1004
1004
  * @param {Grid.util.GridLocation} params.event.editorContext Editing context
1005
1005
  */
1006
- (e: 'beforeCancelCellEdit', params: ((event: { source: Grid, editorContext: GridLocation }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1006
+ (e: 'beforeCancelCellEdit', params: ((event: { source: Grid, editorContext: GridLocation }) => boolean|void)|string): boolean|void
1007
1007
  /**
1008
1008
  * Fires on the owning Grid before the row editing is canceled, return false to signal that the value is invalid and editing should not be finalized.
1009
1009
  * [More...](https://bryntum.com/products/grid/docs/api/Grid/view/TreeGrid#event-beforeCancelRowEdit)
@@ -1022,7 +1022,7 @@ const emit = defineEmits<{
1022
1022
  * @param {Grid.view.Grid} params.event.source Owner grid
1023
1023
  * @param {CellEditorContext} params.event.editorContext Editing context
1024
1024
  */
1025
- (e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1025
+ (e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) => boolean|void)|string): boolean|void
1026
1026
  /**
1027
1027
  * Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
1028
1028
  * buttons while [autoEdit](https://bryntum.com/products/grid/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
@@ -1032,7 +1032,7 @@ const emit = defineEmits<{
1032
1032
  * @param {Grid.view.Grid} params.event.source Owner grid
1033
1033
  * @param {(Grid.util.GridLocation|Core.data.Model)[]} params.event.gridSelection An array of cell selectors or records that will have their values deleted (the records themselves will not get deleted, only visible column values).
1034
1034
  */
1035
- (e: 'beforeCellRangeDelete', params: ((event: { source: Grid, gridSelection: (GridLocation|Model)[] }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1035
+ (e: 'beforeCellRangeDelete', params: ((event: { source: Grid, gridSelection: (GridLocation|Model)[] }) => boolean|void)|string): boolean|void
1036
1036
  /**
1037
1037
  * Fires for each selected record on the owning Grid before editing a range of selected cell values
1038
1038
  * @param {string} e Event name
@@ -1042,7 +1042,7 @@ const emit = defineEmits<{
1042
1042
  * @param {string} params.event.field The field being changed
1043
1043
  * @param {any} params.event.value The value being set
1044
1044
  */
1045
- (e: 'beforeCellRangeEdit', params: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1045
+ (e: 'beforeCellRangeEdit', params: ((event: { record: Model, field: string, value: any }) => boolean|void)|string): boolean|void
1046
1046
  /**
1047
1047
  * This event is triggered before a parent column is collapsed or expanded.
1048
1048
  * @param {string} e Event name
@@ -1062,7 +1062,7 @@ const emit = defineEmits<{
1062
1062
  * @param {Grid.column.Column} params.event.column The dragged column.
1063
1063
  * @param {Event} params.event.event The browser event.
1064
1064
  */
1065
- (e: 'beforeColumnDragStart', params: ((event: { source: Grid, column: Column, event: Event }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1065
+ (e: 'beforeColumnDragStart', params: ((event: { source: Grid, column: Column, event: Event }) => boolean|void)|string): boolean|void
1066
1066
  /**
1067
1067
  * This event is fired when a column is dropped, and you can return false from a listener to abort the operation.
1068
1068
  * @param {string} e Event name
@@ -1075,7 +1075,7 @@ const emit = defineEmits<{
1075
1075
  * @param {Event} params.event.event The browser event.
1076
1076
  * @param {string} params.event.region The region where the column was dropped.
1077
1077
  */
1078
- (e: 'beforeColumnDropFinalize', params: ((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, event: Event, region: string }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1078
+ (e: 'beforeColumnDropFinalize', params: ((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, event: Event, region: string }) => boolean|void)|string): boolean|void
1079
1079
  /**
1080
1080
  * This event is fired prior to starting a column resize gesture. The resize is canceled if a listener returns
1081
1081
  * `false`.
@@ -1086,7 +1086,7 @@ const emit = defineEmits<{
1086
1086
  * @param {Grid.column.Column} params.event.column The column
1087
1087
  * @param {Event} params.event.domEvent The browser event
1088
1088
  */
1089
- (e: 'beforeColumnResize', params: ((event: { source: Grid, column: Column, domEvent: Event }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1089
+ (e: 'beforeColumnResize', params: ((event: { source: Grid, column: Column, domEvent: Event }) => boolean|void)|string): boolean|void
1090
1090
  /**
1091
1091
  * Fires on the owning Grid before a copy action is performed, return `false` to prevent the action
1092
1092
  * @param {string} e Event name
@@ -1110,7 +1110,7 @@ const emit = defineEmits<{
1110
1110
  * @param {string} params.event.lineDelimiter The CSV delimiter to separate lines
1111
1111
  * @param {string} params.event.columnDelimiter The CSV delimiter to separate values on one line
1112
1112
  */
1113
- (e: 'beforeCSVExport', params: ((event: { config: ExportConfig, columns: Column[], rows: Model[], lineDelimiter: string, columnDelimiter: string }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1113
+ (e: 'beforeCSVExport', params: ((event: { config: ExportConfig, columns: Column[], rows: Model[], lineDelimiter: string, columnDelimiter: string }) => boolean|void)|string): boolean|void
1114
1114
  /**
1115
1115
  * Fires before an object is destroyed.
1116
1116
  * @param {string} e Event name
@@ -1128,7 +1128,7 @@ const emit = defineEmits<{
1128
1128
  * @param {XLSColumn[]} params.event.columns An array of columns to export
1129
1129
  * @param {any[][]} params.event.rows An array of records to export
1130
1130
  */
1131
- (e: 'beforeExcelExport', params: ((event: { config: ExportConfig, columns: XLSColumn[], rows: any[] }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1131
+ (e: 'beforeExcelExport', params: ((event: { config: ExportConfig, columns: XLSColumn[], rows: any[] }) => boolean|void)|string): boolean|void
1132
1132
  /**
1133
1133
  * Fired before dragging of the FillHandle starts, return `false` to prevent the drag operation.
1134
1134
  * @param {string} e Event name
@@ -1137,7 +1137,7 @@ const emit = defineEmits<{
1137
1137
  * @param {Grid.util.GridLocation} params.event.cell Information about the column / record
1138
1138
  * @param {MouseEvent} params.event.domEvent The raw DOM event
1139
1139
  */
1140
- (e: 'beforeFillHandleDragStart', params: ((event: { cell: GridLocation, domEvent: MouseEvent }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1140
+ (e: 'beforeFillHandleDragStart', params: ((event: { cell: GridLocation, domEvent: MouseEvent }) => boolean|void)|string): boolean|void
1141
1141
  /**
1142
1142
  * Fires on the owning Grid before the cell editing is finished, return false to signal that the value is invalid and editing should not be finalized.
1143
1143
  * @param {string} e Event name
@@ -1164,7 +1164,7 @@ const emit = defineEmits<{
1164
1164
  * @param {object} params.event Event object
1165
1165
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
1166
1166
  */
1167
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1167
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
1168
1168
  /**
1169
1169
  * Fires on the owning Grid before a paste action is performed, return `false` to prevent the action
1170
1170
  * @param {string} e Event name
@@ -1184,7 +1184,7 @@ const emit = defineEmits<{
1184
1184
  * @param {object} params.event Event object
1185
1185
  * @param {PdfExportConfig} params.event.config Export config
1186
1186
  */
1187
- (e: 'beforePdfExport', params: ((event: { config: PdfExportConfig }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1187
+ (e: 'beforePdfExport', params: ((event: { config: PdfExportConfig }) => boolean|void)|string): boolean|void
1188
1188
  /**
1189
1189
  * Fires before a row is rendered.
1190
1190
  * @param {string} e Event name
@@ -1237,7 +1237,7 @@ const emit = defineEmits<{
1237
1237
  * @param {Grid.util.GridLocation[]} params.event.selectedCells The cells to be selected in this operation.
1238
1238
  * @param {Grid.util.GridLocation[]} params.event.cellSelection The cells in the current selection, before applying `selectedCells` and `deselectedCells`
1239
1239
  */
1240
- (e: 'beforeSelectionChange', params: ((event: { action: string, mode: 'row'|'cell', source: Grid, deselected: Model[], selected: Model[], selection: Model[], deselectedCells: GridLocation[], selectedCells: GridLocation[], cellSelection: GridLocation[] }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1240
+ (e: 'beforeSelectionChange', params: ((event: { action: string, mode: 'row'|'cell', source: Grid, deselected: Model[], selected: Model[], selection: Model[], deselectedCells: GridLocation[], selectedCells: GridLocation[], cellSelection: GridLocation[] }) => boolean|void)|string): boolean|void
1241
1241
  /**
1242
1242
  * Fired before this container will load record values into its child fields. This is useful if you
1243
1243
  * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
@@ -1264,7 +1264,7 @@ const emit = defineEmits<{
1264
1264
  * @param {Grid.view.Grid} params.event.source Owner grid
1265
1265
  * @param {RowEditorContext} params.event.editorContext Editing context
1266
1266
  */
1267
- (e: 'beforeStartRowEdit', params: ((event: { source: Grid, editorContext: RowEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1267
+ (e: 'beforeStartRowEdit', params: ((event: { source: Grid, editorContext: RowEditorContext }) => boolean|void)|string): boolean|void
1268
1268
  /**
1269
1269
  * Fired before state is applied to the source. Allows editing the state object or preventing the operation.
1270
1270
  * @param {string} e Event name
@@ -1272,7 +1272,7 @@ const emit = defineEmits<{
1272
1272
  * @param {object} params.event Event object
1273
1273
  * @param {GridStateInfo} params.event.state State object config
1274
1274
  */
1275
- (e: 'beforeStateApply', params: ((event: { state: GridStateInfo }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1275
+ (e: 'beforeStateApply', params: ((event: { state: GridStateInfo }) => boolean|void)|string): boolean|void
1276
1276
  /**
1277
1277
  * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
1278
1278
  * @param {string} e Event name
@@ -1280,7 +1280,7 @@ const emit = defineEmits<{
1280
1280
  * @param {object} params.event Event object
1281
1281
  * @param {GridStateInfo} params.event.state State object config
1282
1282
  */
1283
- (e: 'beforeStateSave', params: ((event: { state: GridStateInfo }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1283
+ (e: 'beforeStateSave', params: ((event: { state: GridStateInfo }) => boolean|void)|string): boolean|void
1284
1284
  /**
1285
1285
  * Fired when a group is going to be expanded or collapsed using the UI.
1286
1286
  * Returning `false` from a listener prevents the operation
@@ -1292,7 +1292,7 @@ const emit = defineEmits<{
1292
1292
  * @param {boolean} params.event.collapse Collapsed (true) or expanded (false)
1293
1293
  * @param {Event} params.event.domEvent The user interaction event (eg a `click` event) if the toggle request was instigated by user interaction.
1294
1294
  */
1295
- (e: 'beforeToggleGroup', params: ((event: { groupRecord: Model, groupRecords: Model[], collapse: boolean, domEvent: Event }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1295
+ (e: 'beforeToggleGroup', params: ((event: { groupRecord: Model, groupRecords: Model[], collapse: boolean, domEvent: Event }) => boolean|void)|string): boolean|void
1296
1296
  /**
1297
1297
  * Fired before a parent node record toggles its collapsed state.
1298
1298
  * @param {string} e Event name
@@ -1375,7 +1375,7 @@ const emit = defineEmits<{
1375
1375
  * @param {Grid.column.Column} params.event.column Column
1376
1376
  * @param {Core.data.Model} params.event.record Record
1377
1377
  */
1378
- (e: 'cellMenuBeforeShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column, record: Model }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1378
+ (e: 'cellMenuBeforeShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column, record: Model }) => boolean|void)|string): boolean|void
1379
1379
  /**
1380
1380
  * This event fires on the owning grid when an item is selected in the cell context menu.
1381
1381
  * @param {string} e Event name
@@ -1528,7 +1528,7 @@ const emit = defineEmits<{
1528
1528
  * @param {Event} params.event.event The browser event.
1529
1529
  * @param {string} params.event.region The region where the column was dropped.
1530
1530
  */
1531
- (e: 'columnDrop', params: ((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, valid: boolean, event: Event, region: string }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1531
+ (e: 'columnDrop', params: ((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, valid: boolean, event: Event, region: string }) => boolean|void)|string): boolean|void
1532
1532
  /**
1533
1533
  * This event is fired after a resize gesture is completed.
1534
1534
  * @param {string} e Event name
@@ -1702,7 +1702,7 @@ const emit = defineEmits<{
1702
1702
  * @param {Grid.util.GridLocation} params.event.cell Information about the column / record
1703
1703
  * @param {MouseEvent} params.event.domEvent The raw DOM event
1704
1704
  */
1705
- (e: 'fillHandleDragStart', params: ((event: { cell: GridLocation, domEvent: MouseEvent }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1705
+ (e: 'fillHandleDragStart', params: ((event: { cell: GridLocation, domEvent: MouseEvent }) => boolean|void)|string): boolean|void
1706
1706
  /**
1707
1707
  * Fires on the owning Grid when cell editing is finished
1708
1708
  * @param {string} e Event name
@@ -1760,7 +1760,7 @@ const emit = defineEmits<{
1760
1760
  * @param {Core.data.Model[]} params.event.context.records The dragged row records
1761
1761
  * @param {MouseEvent,TouchEvent} params.event.event
1762
1762
  */
1763
- (e: 'gridRowBeforeDragStart', params: ((event: { source: GridBase, context: { records: Model[] }, event: MouseEvent|TouchEvent }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1763
+ (e: 'gridRowBeforeDragStart', params: ((event: { source: GridBase, context: { records: Model[] }, event: MouseEvent|TouchEvent }) => boolean|void)|string): boolean|void
1764
1764
  /**
1765
1765
  * Fired before the row drop operation is finalized. You can return false to abort the drop operation, or a
1766
1766
  * Promise yielding `true` / `false` which allows for asynchronous abort (e.g. first show user a confirmation dialog).
@@ -1839,7 +1839,7 @@ const emit = defineEmits<{
1839
1839
  * @param {Event} params.event.domEvent The triggering DOM event.
1840
1840
  * @param {Grid.column.Column} params.event.column The column clicked on.
1841
1841
  */
1842
- (e: 'headerClick', params: ((event: { domEvent: Event, column: Column }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1842
+ (e: 'headerClick', params: ((event: { domEvent: Event, column: Column }) => boolean|void)|string): boolean|void
1843
1843
  /**
1844
1844
  * This event fires on the owning Grid before the context menu is shown for a header.
1845
1845
  * Allows manipulation of the items to show in the same way as in the [processItems](https://bryntum.com/products/grid/docs/api/Grid/feature/HeaderMenu#config-processItems).
@@ -1852,7 +1852,7 @@ const emit = defineEmits<{
1852
1852
  * @param {Record<string, MenuItemEntry>} params.event.items Menu item configs
1853
1853
  * @param {Grid.column.Column} params.event.column Column
1854
1854
  */
1855
- (e: 'headerMenuBeforeShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1855
+ (e: 'headerMenuBeforeShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column }) => boolean|void)|string): boolean|void
1856
1856
  /**
1857
1857
  * This event fires on the owning Grid when an item is selected in the header context menu.
1858
1858
  * @param {string} e Event name
@@ -2113,7 +2113,7 @@ const emit = defineEmits<{
2113
2113
  * @param {Grid.view.SubGrid} params.event.subGrid The subgrid
2114
2114
  * @param {Event} params.event.domEvent The native DOM event
2115
2115
  */
2116
- (e: 'splitterCollapseClick', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2116
+ (e: 'splitterCollapseClick', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) => boolean|void)|string): boolean|void
2117
2117
  /**
2118
2118
  * Fired by the Grid after a sub-grid has been resized using the splitter
2119
2119
  * @param {string} e Event name
@@ -2144,7 +2144,7 @@ const emit = defineEmits<{
2144
2144
  * @param {Grid.view.SubGrid} params.event.subGrid The subgrid
2145
2145
  * @param {Event} params.event.domEvent The native DOM event
2146
2146
  */
2147
- (e: 'splitterExpandClick', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2147
+ (e: 'splitterExpandClick', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) => boolean|void)|string): boolean|void
2148
2148
  /**
2149
2149
  * Fires on the owning Grid when editing starts
2150
2150
  * @param {string} e Event name
@@ -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":"B-xu7l3m.js","sources":["../../src/components/BryntumDateTimeField.vue"],"sourcesContent":["<!-- Vue 3 wrapper for Bryntum DateTimeField -->\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, ContainerItemConfig, DateFieldConfig, DateTimeFieldListeners, Field, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Model, Rectangle, TabConfig, TimeFieldConfig, TooltipConfig, Widget } from '@bryntum/grid';\nimport { DateTimeField } from '@bryntum/grid';\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/DateTimeField#config-adopt)\n */\n adopt ? : HTMLElement|string\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-align)\n */\n align ? : AlignSpec|string\n /**\n * When this widget is a child of a [Container](https://bryntum.com/products/grid/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/grid/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/grid/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/DateTimeField#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/DateTimeField#config-ariaLabel)\n */\n ariaLabel ? : string\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/DateTimeField#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/DateTimeField#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/DateTimeField#config-catchEventHandlerExceptions)\n */\n catchEventHandlerExceptions ? : Boolean\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/grid/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/grid/docs/api/Core/widget/Field#config-readOnly). The trigger is available\n * in the [triggers](https://bryntum.com/products/grid/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/grid/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/DateTimeField#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/DateTimeField#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/grid/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/grid/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/DateTimeField#config-container)\n */\n container ? : Record<string, ContainerItemConfig>|ContainerItemConfig[]|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/grid/docs/api/Core/widget/Container#property-values).\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#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/grid/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/DateTimeField#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 * Configuration for the [DateField](https://bryntum.com/products/grid/docs/api/Core/widget/DateField)\n */\n dateField ? : DateFieldConfig\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/DateTimeField#config-detectCSSCompatibilityIssues)\n */\n detectCSSCompatibilityIssues ? : Boolean\n /**\n * Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/grid/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/DateTimeField#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/grid/docs/api/Core/widget/Panel)\n * [strips collection](https://bryntum.com/products/grid/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/DateTimeField#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/grid/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/DateTimeField#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 * Set to `false` to prevent user from editing the field. For TextFields it is basically the same as setting\n * [readOnly](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-readOnly), but for PickerFields there is a distinction where it allows you to pick a value\n * but not to type one in the field.\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-editable)\n */\n editable ? : Boolean\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/DateTimeField#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/grid/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/grid/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#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/DateTimeField#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/grid/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/grid/docs/api/Core/helper/StringHelper#function-encodeHtml-static)).\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#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/DateTimeField#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/grid/docs/api/Core/widget/layout/Box) as the [layout](#Core/widget/Container#config-layout) to the\n * [container](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-container).\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-inline)\n */\n inline ? : Boolean\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 * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/grid/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/grid/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/DateTimeField#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/DateTimeField#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/grid/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/DateTimeField#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/DateTimeField#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/DateTimeField#config-listeners)\n */\n listeners ? : DateTimeFieldListeners\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/DateTimeField#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/DateTimeField#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/grid/docs/api/Core/widget/Mask) created for the\n * [masked](https://bryntum.com/products/grid/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/grid/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/grid/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/grid/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-maximizeOnMobile)\n */\n maximizeOnMobile ? : number|string\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/grid/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/grid/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 elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [width](https://bryntum.com/products/grid/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/DateTimeField#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/grid/docs/api/Core/widget/Widget#config-ref) and [id](#Core/widget/Widget#config-id) in\n * [Container.values](https://bryntum.com/products/grid/docs/api/Core/widget/Container#property-values).\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-name)\n */\n name ? : 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/grid/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/grid/docs/api/Core/widget/Widget#property-contentElement).\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#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/DateTimeField#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/DateTimeField#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/grid/docs/api/Core/widget/Field#property-showRequiredIndicator) is set.\n */\n required ? : Boolean\n /**\n * If this field is not [readOnly](https://bryntum.com/products/grid/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/grid/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/grid/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/DateTimeField#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/DateTimeField#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/DateTimeField#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/grid/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#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/grid/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/grid/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 * A configuration for the [tab](https://bryntum.com/products/grid/docs/api/Core/widget/Tab) created for this widget when it is placed in a\n * [TabPanel](https://bryntum.com/products/grid/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/DateTimeField#config-tab)\n */\n tab ? : Boolean|TabConfig\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/DateTimeField#config-textAlign)\n */\n textAlign ? : 'left'|'center'|'right'|'start'|'end'\n /**\n * Configuration for the [TimeField](https://bryntum.com/products/grid/docs/api/Core/widget/TimeField)\n */\n timeField ? : TimeFieldConfig\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/DateTimeField#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/DateTimeField#config-triggers)\n */\n triggers ? : Record<string, FieldTriggerConfig>\n type ? : 'datetimefield'|'datetime'\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/DateTimeField#config-ui)\n */\n ui ? : string|object\n /**\n * Default value\n */\n value ? : string\n /**\n * The week start day in the [picker](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-picker), 0 meaning Sunday, 6 meaning Saturday.\n * Uses a localized value by default.\n */\n weekStartDay ? : number\n /**\n * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/grid/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/DateTimeField#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/DateTimeField#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/DateTimeField#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/grid/docs/api/Core/widget/Field#function-clear).\n * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#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/grid/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/DateTimeField#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/grid/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/grid/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/grid/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 : DateTimeField,\n instanceName : 'DateTimeField',\n\n configNames : [\n 'adopt',\n 'align',\n 'anchor',\n 'ariaDescription',\n 'ariaLabel',\n 'autoSelect',\n 'bubbleEvents',\n 'centered',\n 'clearable',\n 'color',\n 'config',\n 'constrainTo',\n 'container',\n 'containValues',\n 'contentElementCls',\n 'dataField',\n 'dateField',\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 'inputTag',\n 'keyStrokeChangeDelay',\n 'labelCls',\n 'labelPosition',\n 'labels',\n 'labelWidth',\n 'listeners',\n 'localeClass',\n 'localizable',\n 'localizableProperties',\n 'maskDefaults',\n 'masked',\n 'monitorResize',\n 'name',\n 'positioned',\n 'preventTooltipOnTouch',\n 'relayStoreEvents',\n 'revertOnEscape',\n 'ripple',\n 'role',\n 'rootElement',\n 'scrollAction',\n 'showAnimation',\n 'showTooltipWhenDisabled',\n 'skipValidation',\n 'tab',\n 'textAlign',\n 'timeField',\n 'title',\n 'type',\n 'ui',\n 'weekStartDay',\n 'weight'\n ],\n propertyConfigNames : [\n 'alignSelf',\n 'appendTo',\n 'badge',\n 'callOnFunctions',\n 'catchEventHandlerExceptions',\n 'cls',\n 'column',\n 'dataset',\n 'disabled',\n 'editable',\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 '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?: DateTimeField\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 DateTimeField>({\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","DateTimeField","instance","refElement","ref","teleports","provide","onMounted","me","getCurrentInstance","WrapperHelper","toRaw","watcher","prop","callback","watch","onBeforeUnmount","__expose","_createElementBlock"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAujBA,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,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,QACA;AAAA,MAAA;AAAA,MAEJ,eAAgB;AAAA,QACZ;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,aAAmC;AAAA,QAC9D,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,mBAp7BGa,EAEM,OAAA;AAAA,eAFG;AAAA,MAAJ,KAAIf;AAAA,IAAA;;;"}