@bryntum/calendar-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.
- package/README.md +1 -1
- package/lib/chunks/-gfCfICt.js.map +1 -1
- package/lib/chunks/{BBmKbcBm.js → 0OZOSj3K.js} +11 -9
- package/lib/chunks/0OZOSj3K.js.map +1 -0
- package/lib/chunks/{DQEdPoQo.js → 6ysIOAeQ.js} +9 -7
- package/lib/chunks/6ysIOAeQ.js.map +1 -0
- package/lib/chunks/8f6XqGsD.js.map +1 -1
- package/lib/chunks/9tApH0if.js.map +1 -1
- package/lib/chunks/AVadRojY.js.map +1 -1
- package/lib/chunks/B4eYsje_.js.map +1 -1
- package/lib/chunks/{CPHxjIqw.js → B7wodVs1.js} +9 -7
- package/lib/chunks/B7wodVs1.js.map +1 -0
- package/lib/chunks/BBc3kJ2l.js.map +1 -1
- package/lib/chunks/BD3V-SxA.js.map +1 -1
- package/lib/chunks/{DURERga3.js → BFQMFysc.js} +6 -4
- package/lib/chunks/BFQMFysc.js.map +1 -0
- package/lib/chunks/BHB_Xr7B.js.map +1 -1
- package/lib/chunks/BRHH9-fs.js.map +1 -1
- package/lib/chunks/{DxT4VIUT.js → BSTFzAku.js} +3 -1
- package/lib/chunks/BSTFzAku.js.map +1 -0
- package/lib/chunks/BUTdFPf9.js.map +1 -1
- package/lib/chunks/BVEipTu4.js.map +1 -1
- package/lib/chunks/BYLyV5Qz.js.map +1 -1
- package/lib/chunks/BbOrQ8ft.js.map +1 -1
- package/lib/chunks/{DzuHthMw.js → BdoTFJhe.js} +9 -7
- package/lib/chunks/BdoTFJhe.js.map +1 -0
- package/lib/chunks/{j6GbzQ11.js → BeA4Wx8Y.js} +12 -10
- package/lib/chunks/BeA4Wx8Y.js.map +1 -0
- package/lib/chunks/{JKRtgYCJ.js → BeiCK7f8.js} +9 -7
- package/lib/chunks/BeiCK7f8.js.map +1 -0
- package/lib/chunks/BoILvqhB.js.map +1 -1
- package/lib/chunks/{BKPgz4z1.js → C-rJdjwM.js} +14 -12
- package/lib/chunks/C-rJdjwM.js.map +1 -0
- package/lib/chunks/C1e81geK.js.map +1 -1
- package/lib/chunks/C3im5F6T.js.map +1 -1
- package/lib/chunks/C4_EvmHb.js.map +1 -1
- package/lib/chunks/{BI8wQGwJ.js → C8FspEDS.js} +7 -5
- package/lib/chunks/C8FspEDS.js.map +1 -0
- package/lib/chunks/{CWM22e1v.js → CI4tLO9K.js} +6 -4
- package/lib/chunks/CI4tLO9K.js.map +1 -0
- package/lib/chunks/{kCsdJsDp.js → CIV2Plgi.js} +5 -3
- package/lib/chunks/CIV2Plgi.js.map +1 -0
- package/lib/chunks/CK8pVkWO.js.map +1 -1
- package/lib/chunks/{fCOl6gGe.js → CL2aSYwL.js} +4 -2
- package/lib/chunks/CL2aSYwL.js.map +1 -0
- package/lib/chunks/COQRF4O2.js.map +1 -1
- package/lib/chunks/CObxLUVv.js.map +1 -1
- package/lib/chunks/CYO0U3xG.js.map +1 -1
- package/lib/chunks/{QXeRMnaM.js → CZmKZOXs.js} +11 -9
- package/lib/chunks/CZmKZOXs.js.map +1 -0
- package/lib/chunks/{uBR9aAgk.js → CbvZfQIb.js} +6 -4
- package/lib/chunks/CbvZfQIb.js.map +1 -0
- package/lib/chunks/{BWhkyANY.js → CeQqNQur.js} +12 -10
- package/lib/chunks/CeQqNQur.js.map +1 -0
- package/lib/chunks/{VUkGxEQX.js → CeiQfFj4.js} +9 -7
- package/lib/chunks/CeiQfFj4.js.map +1 -0
- package/lib/chunks/CfyHmkPe.js.map +1 -1
- package/lib/chunks/CiecGioc.js.map +1 -1
- package/lib/chunks/CjfHlzPr.js.map +1 -1
- package/lib/chunks/{JkqrKvFU.js → Cl2RaLEy.js} +10 -8
- package/lib/chunks/Cl2RaLEy.js.map +1 -0
- package/lib/chunks/Cpmv-8CX.js.map +1 -1
- package/lib/chunks/CsRtPonL.js.map +1 -1
- package/lib/chunks/Ct9WYKLH.js.map +1 -1
- package/lib/chunks/{C6c2zNh0.js → CuaZAnUQ.js} +9 -7
- package/lib/chunks/CuaZAnUQ.js.map +1 -0
- package/lib/chunks/D2Rp5DqD.js.map +1 -1
- package/lib/chunks/D8LFX3Si.js.map +1 -1
- package/lib/chunks/DCeVwori.js.map +1 -1
- package/lib/chunks/DFdgK5Ff.js.map +1 -1
- package/lib/chunks/DGNDLzjC.js.map +1 -1
- package/lib/chunks/DKh1JBaq.js.map +1 -1
- package/lib/chunks/DQ2aBJ55.js.map +1 -1
- package/lib/chunks/{DI98porG.js → DSTwKMaq.js} +11 -9
- package/lib/chunks/DSTwKMaq.js.map +1 -0
- package/lib/chunks/DTAFonQW.js.map +1 -1
- package/lib/chunks/{B8gQABN9.js → DUaUWLyw.js} +3 -1
- package/lib/chunks/DUaUWLyw.js.map +1 -0
- package/lib/chunks/DUsiYkFK.js.map +1 -1
- package/lib/chunks/DdpHkb3E.js.map +1 -1
- package/lib/chunks/DgIBeET0.js.map +1 -1
- package/lib/chunks/DgJZ6ZlB.js.map +1 -1
- package/lib/chunks/DhwKNWjD.js.map +1 -1
- package/lib/chunks/{C19d7e9r.js → DoFyfMXF.js} +7 -5
- package/lib/chunks/DoFyfMXF.js.map +1 -0
- package/lib/chunks/DpVMBZKg.js.map +1 -1
- package/lib/chunks/DpX76W8R.js.map +1 -1
- package/lib/chunks/{FzMaadW6.js → Dw8g2KwQ.js} +9 -7
- package/lib/chunks/Dw8g2KwQ.js.map +1 -0
- package/lib/chunks/DwfSxgDx.js.map +1 -1
- package/lib/chunks/{CNs1dLtt.js → DxoJlWU3.js} +8 -6
- package/lib/chunks/DxoJlWU3.js.map +1 -0
- package/lib/chunks/DyrhHazx.js.map +1 -1
- package/lib/chunks/{CvRb-PD8.js → DzXzhdwr.js} +13 -11
- package/lib/chunks/DzXzhdwr.js.map +1 -0
- package/lib/chunks/Ffj7MYiP.js.map +1 -1
- package/lib/chunks/{E1AHpT8W.js → GFug45r8.js} +9 -7
- package/lib/chunks/GFug45r8.js.map +1 -0
- package/lib/chunks/KzCo7H0B.js.map +1 -1
- package/lib/chunks/PBX4P85B.js.map +1 -1
- package/lib/chunks/Tt3YRLoT.js.map +1 -1
- package/lib/chunks/UIRN-9Gk.js.map +1 -1
- package/lib/chunks/Uub1pbHE.js.map +1 -1
- package/lib/chunks/VxQFGAPu.js.map +1 -1
- package/lib/chunks/cT-MuN_z.js.map +1 -1
- package/lib/chunks/{3pMrXrSV.js → dSkHfi4J.js} +10 -8
- package/lib/chunks/dSkHfi4J.js.map +1 -0
- package/lib/chunks/gdOjznoN.js.map +1 -1
- package/lib/chunks/lkmEYnvD.js.map +1 -1
- package/lib/chunks/mzLGzWY5.js.map +1 -1
- package/lib/chunks/{7r3BIYih.js → nMvWDbO6.js} +9 -7
- package/lib/chunks/nMvWDbO6.js.map +1 -0
- package/lib/chunks/qmIX92PW.js.map +1 -1
- package/lib/chunks/{BspGLrQY.js → r66Wz1km.js} +6 -4
- package/lib/chunks/r66Wz1km.js.map +1 -0
- package/lib/chunks/rg6JAh_X.js.map +1 -1
- package/lib/chunks/wPKCUEuQ.js.map +1 -1
- package/lib/components/BryntumAIFilterField.js +1 -1
- package/lib/components/BryntumBooleanCombo.js +1 -1
- package/lib/components/BryntumCalendar.js +1 -1
- package/lib/components/BryntumCheckbox.js +1 -1
- package/lib/components/BryntumChecklistFilterCombo.js +1 -1
- package/lib/components/BryntumColorField.js +1 -1
- package/lib/components/BryntumCombo.js +1 -1
- package/lib/components/BryntumDateField.js +1 -1
- package/lib/components/BryntumDateRangeField.js +1 -1
- package/lib/components/BryntumDateTimeField.js +1 -1
- package/lib/components/BryntumDisplayField.js +1 -1
- package/lib/components/BryntumDurationField.js +1 -1
- package/lib/components/BryntumEventColorField.js +1 -1
- package/lib/components/BryntumFileField.js +1 -1
- package/lib/components/BryntumFilterField.js +1 -1
- package/lib/components/BryntumNumberField.js +1 -1
- package/lib/components/BryntumPasswordField.js +1 -1
- package/lib/components/BryntumProjectCombo.js +1 -1
- package/lib/components/BryntumRadio.js +1 -1
- package/lib/components/BryntumResourceCombo.js +1 -1
- package/lib/components/BryntumScheduler.js +1 -1
- package/lib/components/BryntumSchedulerBase.js +1 -1
- package/lib/components/BryntumSlideToggle.js +1 -1
- package/lib/components/BryntumTextAreaField.js +1 -1
- package/lib/components/BryntumTextAreaPickerField.js +1 -1
- package/lib/components/BryntumTextField.js +1 -1
- package/lib/components/BryntumTimeField.js +1 -1
- package/lib/components/BryntumTreeCombo.js +1 -1
- package/lib/components/BryntumViewPresetCombo.js +1 -1
- package/lib/index.js +29 -29
- package/package.json +1 -1
- package/src/components/BryntumAIFilterField.vue +11 -1
- package/src/components/BryntumAIFilterFieldProps.ts +9 -0
- package/src/components/BryntumAgendaView.vue +27 -27
- package/src/components/BryntumBooleanCombo.vue +11 -1
- package/src/components/BryntumBooleanComboProps.ts +9 -0
- package/src/components/BryntumButton.vue +3 -3
- package/src/components/BryntumButtonGroup.vue +1 -1
- package/src/components/BryntumCalendar.vue +30 -24
- package/src/components/BryntumCalendarDatePicker.vue +3 -3
- package/src/components/BryntumCalendarProps.ts +6 -1
- package/src/components/BryntumChatPanel.vue +3 -3
- package/src/components/BryntumCheckbox.vue +12 -2
- package/src/components/BryntumCheckboxGroup.vue +3 -3
- package/src/components/BryntumCheckboxProps.ts +9 -0
- package/src/components/BryntumChecklistFilterCombo.vue +11 -1
- package/src/components/BryntumChecklistFilterComboProps.ts +9 -0
- package/src/components/BryntumChipView.vue +2 -2
- package/src/components/BryntumCodeEditor.vue +3 -3
- package/src/components/BryntumColorField.vue +11 -1
- package/src/components/BryntumColorFieldProps.ts +9 -0
- package/src/components/BryntumCombo.vue +11 -1
- package/src/components/BryntumComboProps.ts +9 -0
- package/src/components/BryntumContainer.vue +1 -1
- package/src/components/BryntumDateField.vue +11 -1
- package/src/components/BryntumDateFieldProps.ts +9 -0
- package/src/components/BryntumDatePicker.vue +3 -3
- package/src/components/BryntumDateRangeField.vue +11 -1
- package/src/components/BryntumDateRangeFieldProps.ts +9 -0
- package/src/components/BryntumDateTimeField.vue +11 -1
- package/src/components/BryntumDateTimeFieldProps.ts +9 -0
- package/src/components/BryntumDayAgendaView.vue +5 -5
- package/src/components/BryntumDayResourceView.vue +11 -7
- package/src/components/BryntumDayResourceViewProps.ts +6 -2
- package/src/components/BryntumDayView.vue +11 -7
- package/src/components/BryntumDayViewProps.ts +6 -2
- package/src/components/BryntumDemoCodeEditor.vue +3 -3
- package/src/components/BryntumDisplayField.vue +11 -1
- package/src/components/BryntumDisplayFieldProps.ts +9 -0
- package/src/components/BryntumDurationField.vue +11 -1
- package/src/components/BryntumDurationFieldProps.ts +9 -0
- package/src/components/BryntumEditor.vue +5 -5
- package/src/components/BryntumEventColorField.vue +11 -1
- package/src/components/BryntumEventColorFieldProps.ts +9 -0
- package/src/components/BryntumEventList.vue +27 -27
- package/src/components/BryntumFieldFilterPicker.vue +1 -1
- package/src/components/BryntumFieldFilterPickerGroup.vue +2 -2
- package/src/components/BryntumFieldSet.vue +3 -3
- package/src/components/BryntumFileField.vue +11 -1
- package/src/components/BryntumFileFieldProps.ts +9 -0
- package/src/components/BryntumFilePicker.vue +1 -1
- package/src/components/BryntumFilterField.vue +11 -1
- package/src/components/BryntumFilterFieldProps.ts +9 -0
- package/src/components/BryntumGrid.vue +25 -25
- package/src/components/BryntumGridBase.vue +25 -25
- package/src/components/BryntumGridChartDesigner.vue +1 -1
- package/src/components/BryntumGridFieldFilterPicker.vue +1 -1
- package/src/components/BryntumGridFieldFilterPickerGroup.vue +2 -2
- package/src/components/BryntumGroupBar.vue +2 -2
- package/src/components/BryntumHint.vue +3 -3
- package/src/components/BryntumLabel.vue +1 -1
- package/src/components/BryntumList.vue +2 -2
- package/src/components/BryntumMenu.vue +3 -3
- package/src/components/BryntumModeSelector.vue +1 -1
- package/src/components/BryntumMonthAgendaView.vue +5 -5
- package/src/components/BryntumMonthGrid.vue +7 -7
- package/src/components/BryntumMonthPicker.vue +3 -3
- package/src/components/BryntumMonthView.vue +6 -6
- package/src/components/BryntumNumberField.vue +11 -1
- package/src/components/BryntumNumberFieldProps.ts +9 -0
- package/src/components/BryntumPagingToolbar.vue +2 -2
- package/src/components/BryntumPanel.vue +3 -3
- package/src/components/BryntumPasswordField.vue +11 -1
- package/src/components/BryntumPasswordFieldProps.ts +9 -0
- package/src/components/BryntumProgressBar.vue +1 -1
- package/src/components/BryntumProjectCombo.vue +11 -1
- package/src/components/BryntumProjectComboProps.ts +9 -0
- package/src/components/BryntumRadio.vue +12 -2
- package/src/components/BryntumRadioGroup.vue +3 -3
- package/src/components/BryntumRadioProps.ts +9 -0
- package/src/components/BryntumRangeMenu.vue +3 -3
- package/src/components/BryntumResourceCombo.vue +11 -1
- package/src/components/BryntumResourceComboProps.ts +9 -0
- package/src/components/BryntumResourceFilter.vue +2 -2
- package/src/components/BryntumResourceView.vue +5 -5
- package/src/components/BryntumScheduler.vue +60 -50
- package/src/components/BryntumSchedulerBase.vue +60 -50
- package/src/components/BryntumSchedulerBaseProps.ts +5 -0
- package/src/components/BryntumSchedulerDatePicker.vue +3 -3
- package/src/components/BryntumSchedulerProps.ts +5 -0
- package/src/components/BryntumSlideToggle.vue +12 -2
- package/src/components/BryntumSlideToggleProps.ts +9 -0
- package/src/components/BryntumSlider.vue +1 -1
- package/src/components/BryntumSplitter.vue +1 -1
- package/src/components/BryntumTabPanel.vue +4 -4
- package/src/components/BryntumTextAreaField.vue +11 -1
- package/src/components/BryntumTextAreaFieldProps.ts +9 -0
- package/src/components/BryntumTextAreaPickerField.vue +11 -1
- package/src/components/BryntumTextAreaPickerFieldProps.ts +9 -0
- package/src/components/BryntumTextField.vue +11 -1
- package/src/components/BryntumTextFieldProps.ts +9 -0
- package/src/components/BryntumTimeField.vue +11 -1
- package/src/components/BryntumTimeFieldProps.ts +9 -0
- package/src/components/BryntumTimePicker.vue +1 -1
- package/src/components/BryntumTimeVisualizingEditor.vue +3 -3
- package/src/components/BryntumTimeZoomSlider.vue +1 -1
- package/src/components/BryntumTimelineHistogram.vue +30 -30
- package/src/components/BryntumToolbar.vue +2 -2
- package/src/components/BryntumTreeCombo.vue +11 -1
- package/src/components/BryntumTreeComboProps.ts +9 -0
- package/src/components/BryntumTreeGrid.vue +25 -25
- package/src/components/BryntumUndoRedo.vue +1 -1
- package/src/components/BryntumViewPresetCombo.vue +11 -1
- package/src/components/BryntumViewPresetComboProps.ts +9 -0
- package/src/components/BryntumWeekView.vue +11 -7
- package/src/components/BryntumWeekViewProps.ts +6 -2
- package/src/components/BryntumWidget.vue +1 -1
- package/src/components/BryntumYearPicker.vue +3 -3
- package/src/components/BryntumYearPlanner.vue +5 -5
- package/src/components/BryntumYearView.vue +6 -6
- package/lib/chunks/3pMrXrSV.js.map +0 -1
- package/lib/chunks/7r3BIYih.js.map +0 -1
- package/lib/chunks/B8gQABN9.js.map +0 -1
- package/lib/chunks/BBmKbcBm.js.map +0 -1
- package/lib/chunks/BI8wQGwJ.js.map +0 -1
- package/lib/chunks/BKPgz4z1.js.map +0 -1
- package/lib/chunks/BWhkyANY.js.map +0 -1
- package/lib/chunks/BspGLrQY.js.map +0 -1
- package/lib/chunks/C19d7e9r.js.map +0 -1
- package/lib/chunks/C6c2zNh0.js.map +0 -1
- package/lib/chunks/CNs1dLtt.js.map +0 -1
- package/lib/chunks/CPHxjIqw.js.map +0 -1
- package/lib/chunks/CWM22e1v.js.map +0 -1
- package/lib/chunks/CvRb-PD8.js.map +0 -1
- package/lib/chunks/DI98porG.js.map +0 -1
- package/lib/chunks/DQEdPoQo.js.map +0 -1
- package/lib/chunks/DURERga3.js.map +0 -1
- package/lib/chunks/DxT4VIUT.js.map +0 -1
- package/lib/chunks/DzuHthMw.js.map +0 -1
- package/lib/chunks/E1AHpT8W.js.map +0 -1
- package/lib/chunks/FzMaadW6.js.map +0 -1
- package/lib/chunks/JKRtgYCJ.js.map +0 -1
- package/lib/chunks/JkqrKvFU.js.map +0 -1
- package/lib/chunks/QXeRMnaM.js.map +0 -1
- package/lib/chunks/VUkGxEQX.js.map +0 -1
- package/lib/chunks/fCOl6gGe.js.map +0 -1
- package/lib/chunks/j6GbzQ11.js.map +0 -1
- package/lib/chunks/kCsdJsDp.js.map +0 -1
- package/lib/chunks/uBR9aAgk.js.map +0 -1
|
@@ -1339,7 +1339,7 @@ const emit = defineEmits<{
|
|
|
1339
1339
|
* @param {Scheduler.model.ResourceModel} params.event.resourceRecord The resource if the UI includes a resource.
|
|
1340
1340
|
* @param {CalendarView} params.event.view This view.
|
|
1341
1341
|
*/
|
|
1342
|
-
(e: 'beforeAutoCreate', params: ((event: { domEvent: Event, date: Date, startDate: Date, endDate: Date, resourceRecord: ResourceModel, view: CalendarView }) =>
|
|
1342
|
+
(e: 'beforeAutoCreate', params: ((event: { domEvent: Event, date: Date, startDate: Date, endDate: Date, resourceRecord: ResourceModel, view: CalendarView }) => boolean|void)|string): boolean|void
|
|
1343
1343
|
/**
|
|
1344
1344
|
* Fires on the owning Grid before the cell editing is canceled, return `false` to prevent cancellation.
|
|
1345
1345
|
* @param {string} e Event name
|
|
@@ -1348,7 +1348,7 @@ const emit = defineEmits<{
|
|
|
1348
1348
|
* @param {Grid.view.Grid} params.event.source Owner grid
|
|
1349
1349
|
* @param {Grid.util.GridLocation} params.event.editorContext Editing context
|
|
1350
1350
|
*/
|
|
1351
|
-
(e: 'beforeCancelCellEdit', params: ((event: { source: Grid, editorContext: GridLocation }) =>
|
|
1351
|
+
(e: 'beforeCancelCellEdit', params: ((event: { source: Grid, editorContext: GridLocation }) => boolean|void)|string): boolean|void
|
|
1352
1352
|
/**
|
|
1353
1353
|
* 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.
|
|
1354
1354
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/EventList#event-beforeCancelRowEdit)
|
|
@@ -1367,7 +1367,7 @@ const emit = defineEmits<{
|
|
|
1367
1367
|
* @param {Grid.view.Grid} params.event.source Owner grid
|
|
1368
1368
|
* @param {CellEditorContext} params.event.editorContext Editing context
|
|
1369
1369
|
*/
|
|
1370
|
-
(e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) =>
|
|
1370
|
+
(e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) => boolean|void)|string): boolean|void
|
|
1371
1371
|
/**
|
|
1372
1372
|
* Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
|
|
1373
1373
|
* buttons while [autoEdit](https://bryntum.com/products/calendar/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
|
|
@@ -1377,7 +1377,7 @@ const emit = defineEmits<{
|
|
|
1377
1377
|
* @param {Grid.view.Grid} params.event.source Owner grid
|
|
1378
1378
|
* @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).
|
|
1379
1379
|
*/
|
|
1380
|
-
(e: 'beforeCellRangeDelete', params: ((event: { source: Grid, gridSelection: (GridLocation|Model)[] }) =>
|
|
1380
|
+
(e: 'beforeCellRangeDelete', params: ((event: { source: Grid, gridSelection: (GridLocation|Model)[] }) => boolean|void)|string): boolean|void
|
|
1381
1381
|
/**
|
|
1382
1382
|
* Fires for each selected record on the owning Grid before editing a range of selected cell values
|
|
1383
1383
|
* @param {string} e Event name
|
|
@@ -1387,7 +1387,7 @@ const emit = defineEmits<{
|
|
|
1387
1387
|
* @param {string} params.event.field The field being changed
|
|
1388
1388
|
* @param {any} params.event.value The value being set
|
|
1389
1389
|
*/
|
|
1390
|
-
(e: 'beforeCellRangeEdit', params: ((event: { record: Model, field: string, value: any }) =>
|
|
1390
|
+
(e: 'beforeCellRangeEdit', params: ((event: { record: Model, field: string, value: any }) => boolean|void)|string): boolean|void
|
|
1391
1391
|
/**
|
|
1392
1392
|
* Triggered before a view's orientating date changes.
|
|
1393
1393
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/EventList#event-beforeChangeDate)
|
|
@@ -1397,7 +1397,7 @@ const emit = defineEmits<{
|
|
|
1397
1397
|
* @param {Date} params.event.oldDate The current orientating date of this view.
|
|
1398
1398
|
* @param {Date} params.event.date The new date to which this view is to be orientated.
|
|
1399
1399
|
*/
|
|
1400
|
-
(e: 'beforeChangeDate', params: ((event: { oldDate: Date, date: Date }) =>
|
|
1400
|
+
(e: 'beforeChangeDate', params: ((event: { oldDate: Date, date: Date }) => boolean|void)|string): boolean|void
|
|
1401
1401
|
/**
|
|
1402
1402
|
* This event is triggered before a parent column is collapsed or expanded.
|
|
1403
1403
|
* @param {string} e Event name
|
|
@@ -1417,7 +1417,7 @@ const emit = defineEmits<{
|
|
|
1417
1417
|
* @param {Grid.column.Column} params.event.column The dragged column.
|
|
1418
1418
|
* @param {Event} params.event.event The browser event.
|
|
1419
1419
|
*/
|
|
1420
|
-
(e: 'beforeColumnDragStart', params: ((event: { source: Grid, column: Column, event: Event }) =>
|
|
1420
|
+
(e: 'beforeColumnDragStart', params: ((event: { source: Grid, column: Column, event: Event }) => boolean|void)|string): boolean|void
|
|
1421
1421
|
/**
|
|
1422
1422
|
* This event is fired when a column is dropped, and you can return false from a listener to abort the operation.
|
|
1423
1423
|
* @param {string} e Event name
|
|
@@ -1430,7 +1430,7 @@ const emit = defineEmits<{
|
|
|
1430
1430
|
* @param {Event} params.event.event The browser event.
|
|
1431
1431
|
* @param {string} params.event.region The region where the column was dropped.
|
|
1432
1432
|
*/
|
|
1433
|
-
(e: 'beforeColumnDropFinalize', params: ((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, event: Event, region: string }) =>
|
|
1433
|
+
(e: 'beforeColumnDropFinalize', params: ((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, event: Event, region: string }) => boolean|void)|string): boolean|void
|
|
1434
1434
|
/**
|
|
1435
1435
|
* This event is fired prior to starting a column resize gesture. The resize is canceled if a listener returns
|
|
1436
1436
|
* `false`.
|
|
@@ -1441,7 +1441,7 @@ const emit = defineEmits<{
|
|
|
1441
1441
|
* @param {Grid.column.Column} params.event.column The column
|
|
1442
1442
|
* @param {Event} params.event.domEvent The browser event
|
|
1443
1443
|
*/
|
|
1444
|
-
(e: 'beforeColumnResize', params: ((event: { source: Grid, column: Column, domEvent: Event }) =>
|
|
1444
|
+
(e: 'beforeColumnResize', params: ((event: { source: Grid, column: Column, domEvent: Event }) => boolean|void)|string): boolean|void
|
|
1445
1445
|
/**
|
|
1446
1446
|
* Fires on the owning Grid before a copy action is performed, return `false` to prevent the action
|
|
1447
1447
|
* @param {string} e Event name
|
|
@@ -1465,7 +1465,7 @@ const emit = defineEmits<{
|
|
|
1465
1465
|
* @param {string} params.event.lineDelimiter The CSV delimiter to separate lines
|
|
1466
1466
|
* @param {string} params.event.columnDelimiter The CSV delimiter to separate values on one line
|
|
1467
1467
|
*/
|
|
1468
|
-
(e: 'beforeCSVExport', params: ((event: { config: ExportConfig, columns: Column[], rows: Model[], lineDelimiter: string, columnDelimiter: string }) =>
|
|
1468
|
+
(e: 'beforeCSVExport', params: ((event: { config: ExportConfig, columns: Column[], rows: Model[], lineDelimiter: string, columnDelimiter: string }) => boolean|void)|string): boolean|void
|
|
1469
1469
|
/**
|
|
1470
1470
|
* Fires before an object is destroyed.
|
|
1471
1471
|
* @param {string} e Event name
|
|
@@ -1483,7 +1483,7 @@ const emit = defineEmits<{
|
|
|
1483
1483
|
* @param {XLSColumn[]} params.event.columns An array of columns to export
|
|
1484
1484
|
* @param {any[][]} params.event.rows An array of records to export
|
|
1485
1485
|
*/
|
|
1486
|
-
(e: 'beforeExcelExport', params: ((event: { config: ExportConfig, columns: XLSColumn[], rows: any[] }) =>
|
|
1486
|
+
(e: 'beforeExcelExport', params: ((event: { config: ExportConfig, columns: XLSColumn[], rows: any[] }) => boolean|void)|string): boolean|void
|
|
1487
1487
|
/**
|
|
1488
1488
|
* Fired before dragging of the FillHandle starts, return `false` to prevent the drag operation.
|
|
1489
1489
|
* @param {string} e Event name
|
|
@@ -1492,7 +1492,7 @@ const emit = defineEmits<{
|
|
|
1492
1492
|
* @param {Grid.util.GridLocation} params.event.cell Information about the column / record
|
|
1493
1493
|
* @param {MouseEvent} params.event.domEvent The raw DOM event
|
|
1494
1494
|
*/
|
|
1495
|
-
(e: 'beforeFillHandleDragStart', params: ((event: { cell: GridLocation, domEvent: MouseEvent }) =>
|
|
1495
|
+
(e: 'beforeFillHandleDragStart', params: ((event: { cell: GridLocation, domEvent: MouseEvent }) => boolean|void)|string): boolean|void
|
|
1496
1496
|
/**
|
|
1497
1497
|
* 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.
|
|
1498
1498
|
* @param {string} e Event name
|
|
@@ -1519,7 +1519,7 @@ const emit = defineEmits<{
|
|
|
1519
1519
|
* @param {object} params.event Event object
|
|
1520
1520
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
1521
1521
|
*/
|
|
1522
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
1522
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
1523
1523
|
/**
|
|
1524
1524
|
* Fires on the owning Grid before a paste action is performed, return `false` to prevent the action
|
|
1525
1525
|
* @param {string} e Event name
|
|
@@ -1539,7 +1539,7 @@ const emit = defineEmits<{
|
|
|
1539
1539
|
* @param {object} params.event Event object
|
|
1540
1540
|
* @param {PdfExportConfig} params.event.config Export config
|
|
1541
1541
|
*/
|
|
1542
|
-
(e: 'beforePdfExport', params: ((event: { config: PdfExportConfig }) =>
|
|
1542
|
+
(e: 'beforePdfExport', params: ((event: { config: PdfExportConfig }) => boolean|void)|string): boolean|void
|
|
1543
1543
|
/**
|
|
1544
1544
|
* Fires before a row is rendered.
|
|
1545
1545
|
* @param {string} e Event name
|
|
@@ -1602,7 +1602,7 @@ const emit = defineEmits<{
|
|
|
1602
1602
|
* @param {Grid.util.GridLocation[]} params.event.selectedCells The cells to be selected in this operation.
|
|
1603
1603
|
* @param {Grid.util.GridLocation[]} params.event.cellSelection The cells in the current selection, before applying `selectedCells` and `deselectedCells`
|
|
1604
1604
|
*/
|
|
1605
|
-
(e: 'beforeSelectionChange', params: ((event: { action: string, mode: 'row'|'cell', source: Grid, deselected: Model[], selected: Model[], selection: Model[], deselectedCells: GridLocation[], selectedCells: GridLocation[], cellSelection: GridLocation[] }) =>
|
|
1605
|
+
(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
|
|
1606
1606
|
/**
|
|
1607
1607
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
1608
1608
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -1629,7 +1629,7 @@ const emit = defineEmits<{
|
|
|
1629
1629
|
* @param {Grid.view.Grid} params.event.source Owner grid
|
|
1630
1630
|
* @param {RowEditorContext} params.event.editorContext Editing context
|
|
1631
1631
|
*/
|
|
1632
|
-
(e: 'beforeStartRowEdit', params: ((event: { source: Grid, editorContext: RowEditorContext }) =>
|
|
1632
|
+
(e: 'beforeStartRowEdit', params: ((event: { source: Grid, editorContext: RowEditorContext }) => boolean|void)|string): boolean|void
|
|
1633
1633
|
/**
|
|
1634
1634
|
* Fired before state is applied to the source. Allows editing the state object or preventing the operation.
|
|
1635
1635
|
* @param {string} e Event name
|
|
@@ -1637,7 +1637,7 @@ const emit = defineEmits<{
|
|
|
1637
1637
|
* @param {object} params.event Event object
|
|
1638
1638
|
* @param {GridStateInfo} params.event.state State object config
|
|
1639
1639
|
*/
|
|
1640
|
-
(e: 'beforeStateApply', params: ((event: { state: GridStateInfo }) =>
|
|
1640
|
+
(e: 'beforeStateApply', params: ((event: { state: GridStateInfo }) => boolean|void)|string): boolean|void
|
|
1641
1641
|
/**
|
|
1642
1642
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
1643
1643
|
* @param {string} e Event name
|
|
@@ -1645,7 +1645,7 @@ const emit = defineEmits<{
|
|
|
1645
1645
|
* @param {object} params.event Event object
|
|
1646
1646
|
* @param {GridStateInfo} params.event.state State object config
|
|
1647
1647
|
*/
|
|
1648
|
-
(e: 'beforeStateSave', params: ((event: { state: GridStateInfo }) =>
|
|
1648
|
+
(e: 'beforeStateSave', params: ((event: { state: GridStateInfo }) => boolean|void)|string): boolean|void
|
|
1649
1649
|
/**
|
|
1650
1650
|
* Fired when a group is going to be expanded or collapsed using the UI.
|
|
1651
1651
|
* Returning `false` from a listener prevents the operation
|
|
@@ -1657,7 +1657,7 @@ const emit = defineEmits<{
|
|
|
1657
1657
|
* @param {boolean} params.event.collapse Collapsed (true) or expanded (false)
|
|
1658
1658
|
* @param {Event} params.event.domEvent The user interaction event (eg a `click` event) if the toggle request was instigated by user interaction.
|
|
1659
1659
|
*/
|
|
1660
|
-
(e: 'beforeToggleGroup', params: ((event: { groupRecord: Model, groupRecords: Model[], collapse: boolean, domEvent: Event }) =>
|
|
1660
|
+
(e: 'beforeToggleGroup', params: ((event: { groupRecord: Model, groupRecords: Model[], collapse: boolean, domEvent: Event }) => boolean|void)|string): boolean|void
|
|
1661
1661
|
/**
|
|
1662
1662
|
* Fired before a parent node record toggles its collapsed state.
|
|
1663
1663
|
* @param {string} e Event name
|
|
@@ -1748,7 +1748,7 @@ const emit = defineEmits<{
|
|
|
1748
1748
|
* @param {Grid.column.Column} params.event.column Column
|
|
1749
1749
|
* @param {Core.data.Model} params.event.record Record
|
|
1750
1750
|
*/
|
|
1751
|
-
(e: 'cellMenuBeforeShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column, record: Model }) =>
|
|
1751
|
+
(e: 'cellMenuBeforeShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column, record: Model }) => boolean|void)|string): boolean|void
|
|
1752
1752
|
/**
|
|
1753
1753
|
* This event fires on the owning grid when an item is selected in the cell context menu.
|
|
1754
1754
|
* @param {string} e Event name
|
|
@@ -1901,7 +1901,7 @@ const emit = defineEmits<{
|
|
|
1901
1901
|
* @param {Event} params.event.event The browser event.
|
|
1902
1902
|
* @param {string} params.event.region The region where the column was dropped.
|
|
1903
1903
|
*/
|
|
1904
|
-
(e: 'columnDrop', params: ((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, valid: boolean, event: Event, region: string }) =>
|
|
1904
|
+
(e: 'columnDrop', params: ((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, valid: boolean, event: Event, region: string }) => boolean|void)|string): boolean|void
|
|
1905
1905
|
/**
|
|
1906
1906
|
* This event is fired after a resize gesture is completed.
|
|
1907
1907
|
* @param {string} e Event name
|
|
@@ -2113,7 +2113,7 @@ const emit = defineEmits<{
|
|
|
2113
2113
|
* @param {Grid.util.GridLocation} params.event.cell Information about the column / record
|
|
2114
2114
|
* @param {MouseEvent} params.event.domEvent The raw DOM event
|
|
2115
2115
|
*/
|
|
2116
|
-
(e: 'fillHandleDragStart', params: ((event: { cell: GridLocation, domEvent: MouseEvent }) =>
|
|
2116
|
+
(e: 'fillHandleDragStart', params: ((event: { cell: GridLocation, domEvent: MouseEvent }) => boolean|void)|string): boolean|void
|
|
2117
2117
|
/**
|
|
2118
2118
|
* Fires on the owning Grid when cell editing is finished
|
|
2119
2119
|
* @param {string} e Event name
|
|
@@ -2171,7 +2171,7 @@ const emit = defineEmits<{
|
|
|
2171
2171
|
* @param {Core.data.Model[]} params.event.context.records The dragged row records
|
|
2172
2172
|
* @param {MouseEvent,TouchEvent} params.event.event
|
|
2173
2173
|
*/
|
|
2174
|
-
(e: 'gridRowBeforeDragStart', params: ((event: { source: GridBase, context: { records: Model[] }, event: MouseEvent|TouchEvent }) =>
|
|
2174
|
+
(e: 'gridRowBeforeDragStart', params: ((event: { source: GridBase, context: { records: Model[] }, event: MouseEvent|TouchEvent }) => boolean|void)|string): boolean|void
|
|
2175
2175
|
/**
|
|
2176
2176
|
* Fired before the row drop operation is finalized. You can return false to abort the drop operation, or a
|
|
2177
2177
|
* Promise yielding `true` / `false` which allows for asynchronous abort (e.g. first show user a confirmation dialog).
|
|
@@ -2250,7 +2250,7 @@ const emit = defineEmits<{
|
|
|
2250
2250
|
* @param {Event} params.event.domEvent The triggering DOM event.
|
|
2251
2251
|
* @param {Grid.column.Column} params.event.column The column clicked on.
|
|
2252
2252
|
*/
|
|
2253
|
-
(e: 'headerClick', params: ((event: { domEvent: Event, column: Column }) =>
|
|
2253
|
+
(e: 'headerClick', params: ((event: { domEvent: Event, column: Column }) => boolean|void)|string): boolean|void
|
|
2254
2254
|
/**
|
|
2255
2255
|
* This event fires on the owning Grid before the context menu is shown for a header.
|
|
2256
2256
|
* Allows manipulation of the items to show in the same way as in the [processItems](https://bryntum.com/products/calendar/docs/api/Grid/feature/HeaderMenu#config-processItems).
|
|
@@ -2263,7 +2263,7 @@ const emit = defineEmits<{
|
|
|
2263
2263
|
* @param {Record<string, MenuItemEntry>} params.event.items Menu item configs
|
|
2264
2264
|
* @param {Grid.column.Column} params.event.column Column
|
|
2265
2265
|
*/
|
|
2266
|
-
(e: 'headerMenuBeforeShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column }) =>
|
|
2266
|
+
(e: 'headerMenuBeforeShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column }) => boolean|void)|string): boolean|void
|
|
2267
2267
|
/**
|
|
2268
2268
|
* This event fires on the owning Grid when an item is selected in the header context menu.
|
|
2269
2269
|
* @param {string} e Event name
|
|
@@ -2558,7 +2558,7 @@ const emit = defineEmits<{
|
|
|
2558
2558
|
* @param {Grid.view.SubGrid} params.event.subGrid The subgrid
|
|
2559
2559
|
* @param {Event} params.event.domEvent The native DOM event
|
|
2560
2560
|
*/
|
|
2561
|
-
(e: 'splitterCollapseClick', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) =>
|
|
2561
|
+
(e: 'splitterCollapseClick', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) => boolean|void)|string): boolean|void
|
|
2562
2562
|
/**
|
|
2563
2563
|
* Fired by the Grid after a sub-grid has been resized using the splitter
|
|
2564
2564
|
* @param {string} e Event name
|
|
@@ -2589,7 +2589,7 @@ const emit = defineEmits<{
|
|
|
2589
2589
|
* @param {Grid.view.SubGrid} params.event.subGrid The subgrid
|
|
2590
2590
|
* @param {Event} params.event.domEvent The native DOM event
|
|
2591
2591
|
*/
|
|
2592
|
-
(e: 'splitterExpandClick', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) =>
|
|
2592
|
+
(e: 'splitterExpandClick', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) => boolean|void)|string): boolean|void
|
|
2593
2593
|
/**
|
|
2594
2594
|
* Fires on the owning Grid when editing starts
|
|
2595
2595
|
* @param {string} e Event name
|
|
@@ -606,7 +606,7 @@ const emit = defineEmits<{
|
|
|
606
606
|
* @param {object} params.event Event object
|
|
607
607
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
608
608
|
*/
|
|
609
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
609
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
610
610
|
/**
|
|
611
611
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
612
612
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -620,7 +620,7 @@ const emit = defineEmits<{
|
|
|
620
620
|
* @param {Core.widget.FieldFilterPicker} params.event.source The FieldFilterPicker instance that fired the event.
|
|
621
621
|
* @param {CollectionFilterConfig} params.event.filter The [CollectionFilter](https://bryntum.com/products/calendar/docs/api/Core/util/CollectionFilter) configuration object for the filter represented by this [FieldFilterPicker](https://bryntum.com/products/calendar/docs/api/Core/widget/FieldFilterPicker).
|
|
622
622
|
*/
|
|
623
|
-
(e: 'beforeAddFilter', params: ((event: { source: FieldFilterPicker, filter: CollectionFilterConfig }) =>
|
|
623
|
+
(e: 'beforeAddFilter', params: ((event: { source: FieldFilterPicker, filter: CollectionFilterConfig }) => boolean|void)|string): boolean|void
|
|
624
624
|
/**
|
|
625
625
|
* Fires before an object is destroyed.
|
|
626
626
|
* @param {string} e Event name
|
|
@@ -636,7 +636,7 @@ const emit = defineEmits<{
|
|
|
636
636
|
* @param {object} params.event Event object
|
|
637
637
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
638
638
|
*/
|
|
639
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
639
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
640
640
|
/**
|
|
641
641
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
642
642
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -667,7 +667,7 @@ const emit = defineEmits<{
|
|
|
667
667
|
* @param {object} params.event Event object
|
|
668
668
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
669
669
|
*/
|
|
670
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
670
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
671
671
|
/**
|
|
672
672
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
673
673
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -693,7 +693,7 @@ const emit = defineEmits<{
|
|
|
693
693
|
* @param {object} params.event Event object
|
|
694
694
|
* @param {any} params.event.state State object config
|
|
695
695
|
*/
|
|
696
|
-
(e: 'beforeStateApply', params: ((event: { state: any }) =>
|
|
696
|
+
(e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
697
697
|
/**
|
|
698
698
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
699
699
|
* @param {string} e Event name
|
|
@@ -701,7 +701,7 @@ const emit = defineEmits<{
|
|
|
701
701
|
* @param {object} params.event Event object
|
|
702
702
|
* @param {any} params.event.state State object config
|
|
703
703
|
*/
|
|
704
|
-
(e: 'beforeStateSave', params: ((event: { state: any }) =>
|
|
704
|
+
(e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
705
705
|
/**
|
|
706
706
|
* Fires when any other event is fired from the object.
|
|
707
707
|
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/FieldSet#event-catchAll)
|
|
@@ -96,6 +96,15 @@ defineProps<{
|
|
|
96
96
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
97
97
|
*/
|
|
98
98
|
centered ? : Boolean
|
|
99
|
+
/**
|
|
100
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
101
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-isValid)
|
|
102
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
|
|
103
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/FileField#config-checkValidity)
|
|
104
|
+
* @param {Core.widget.Field} field The field being validated
|
|
105
|
+
* @returns {void}
|
|
106
|
+
*/
|
|
107
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
99
108
|
/**
|
|
100
109
|
* Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-readOnly). The trigger is available
|
|
101
110
|
* in the [triggers](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
|
|
@@ -631,7 +640,7 @@ const emit = defineEmits<{
|
|
|
631
640
|
* @param {object} params.event Event object
|
|
632
641
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
633
642
|
*/
|
|
634
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
643
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
635
644
|
/**
|
|
636
645
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
637
646
|
* @param {string} e Event name
|
|
@@ -805,6 +814,7 @@ const widgetData = {
|
|
|
805
814
|
'autoSelect',
|
|
806
815
|
'bubbleEvents',
|
|
807
816
|
'centered',
|
|
817
|
+
'checkValidity',
|
|
808
818
|
'clearable',
|
|
809
819
|
'color',
|
|
810
820
|
'config',
|
|
@@ -82,6 +82,15 @@ export declare type BryntumFileFieldProps = {
|
|
|
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/calendar/docs/api/Core/widget/Field#property-isValid)
|
|
88
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
|
|
89
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/FileField#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/calendar/docs/api/Core/widget/Field#config-readOnly). The trigger is available
|
|
87
96
|
* in the [triggers](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
|
|
@@ -559,7 +559,7 @@ const emit = defineEmits<{
|
|
|
559
559
|
* @param {object} params.event Event object
|
|
560
560
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
561
561
|
*/
|
|
562
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
562
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
563
563
|
/**
|
|
564
564
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
565
565
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -91,6 +91,15 @@ defineProps<{
|
|
|
91
91
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
92
92
|
*/
|
|
93
93
|
centered ? : Boolean
|
|
94
|
+
/**
|
|
95
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
96
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-isValid)
|
|
97
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
|
|
98
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/FilterField#config-checkValidity)
|
|
99
|
+
* @param {Core.widget.Field} field The field being validated
|
|
100
|
+
* @returns {void}
|
|
101
|
+
*/
|
|
102
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
94
103
|
/**
|
|
95
104
|
* Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-readOnly). The trigger is available
|
|
96
105
|
* in the [triggers](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
|
|
@@ -662,7 +671,7 @@ const emit = defineEmits<{
|
|
|
662
671
|
* @param {object} params.event Event object
|
|
663
672
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
664
673
|
*/
|
|
665
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
674
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
666
675
|
/**
|
|
667
676
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
668
677
|
* @param {string} e Event name
|
|
@@ -835,6 +844,7 @@ const widgetData = {
|
|
|
835
844
|
'autoSelect',
|
|
836
845
|
'bubbleEvents',
|
|
837
846
|
'centered',
|
|
847
|
+
'checkValidity',
|
|
838
848
|
'clearable',
|
|
839
849
|
'color',
|
|
840
850
|
'config',
|
|
@@ -77,6 +77,15 @@ export declare type BryntumFilterFieldProps = {
|
|
|
77
77
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
78
78
|
*/
|
|
79
79
|
centered ? : Boolean
|
|
80
|
+
/**
|
|
81
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
82
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-isValid)
|
|
83
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
|
|
84
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/FilterField#config-checkValidity)
|
|
85
|
+
* @param {Core.widget.Field} field The field being validated
|
|
86
|
+
* @returns {void}
|
|
87
|
+
*/
|
|
88
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
80
89
|
/**
|
|
81
90
|
* Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-readOnly). The trigger is available
|
|
82
91
|
* in the [triggers](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
|