@bryntum/calendar-vue-3 7.3.0 → 7.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +17 -1
- package/src/components/BryntumAIFilterFieldProps.ts +15 -0
- package/src/components/BryntumAgendaView.vue +33 -27
- package/src/components/BryntumAgendaViewProps.ts +6 -0
- package/src/components/BryntumBooleanCombo.vue +17 -1
- package/src/components/BryntumBooleanComboProps.ts +15 -0
- package/src/components/BryntumButton.vue +9 -3
- package/src/components/BryntumButtonGroup.vue +7 -1
- package/src/components/BryntumButtonGroupProps.ts +6 -0
- package/src/components/BryntumButtonProps.ts +6 -0
- package/src/components/BryntumCalendar.vue +37 -25
- package/src/components/BryntumCalendarDatePicker.vue +9 -3
- package/src/components/BryntumCalendarDatePickerProps.ts +6 -0
- package/src/components/BryntumCalendarProps.ts +13 -2
- package/src/components/BryntumChatPanel.vue +9 -3
- package/src/components/BryntumChatPanelProps.ts +6 -0
- package/src/components/BryntumCheckbox.vue +18 -2
- package/src/components/BryntumCheckboxGroup.vue +9 -3
- package/src/components/BryntumCheckboxGroupProps.ts +6 -0
- package/src/components/BryntumCheckboxProps.ts +15 -0
- package/src/components/BryntumChecklistFilterCombo.vue +17 -1
- package/src/components/BryntumChecklistFilterComboProps.ts +15 -0
- package/src/components/BryntumChipView.vue +11 -3
- package/src/components/BryntumChipViewProps.ts +9 -1
- package/src/components/BryntumCodeEditor.vue +9 -3
- package/src/components/BryntumCodeEditorProps.ts +6 -0
- package/src/components/BryntumColorField.vue +17 -1
- package/src/components/BryntumColorFieldProps.ts +15 -0
- package/src/components/BryntumCombo.vue +17 -1
- package/src/components/BryntumComboProps.ts +15 -0
- package/src/components/BryntumContainer.vue +7 -1
- package/src/components/BryntumContainerProps.ts +6 -0
- package/src/components/BryntumDateField.vue +17 -1
- package/src/components/BryntumDateFieldProps.ts +15 -0
- package/src/components/BryntumDatePicker.vue +9 -3
- package/src/components/BryntumDatePickerProps.ts +6 -0
- package/src/components/BryntumDateRangeField.vue +17 -1
- package/src/components/BryntumDateRangeFieldProps.ts +15 -0
- package/src/components/BryntumDateTimeField.vue +17 -1
- package/src/components/BryntumDateTimeFieldProps.ts +15 -0
- package/src/components/BryntumDayAgendaView.vue +11 -5
- package/src/components/BryntumDayAgendaViewProps.ts +6 -0
- package/src/components/BryntumDayResourceView.vue +17 -7
- package/src/components/BryntumDayResourceViewProps.ts +12 -2
- package/src/components/BryntumDayView.vue +17 -7
- package/src/components/BryntumDayViewProps.ts +12 -2
- package/src/components/BryntumDemoCodeEditor.vue +9 -3
- package/src/components/BryntumDemoCodeEditorProps.ts +6 -0
- package/src/components/BryntumDisplayField.vue +17 -1
- package/src/components/BryntumDisplayFieldProps.ts +15 -0
- package/src/components/BryntumDurationField.vue +17 -1
- package/src/components/BryntumDurationFieldProps.ts +15 -0
- package/src/components/BryntumEditor.vue +11 -5
- package/src/components/BryntumEditorProps.ts +6 -0
- package/src/components/BryntumEventColorField.vue +17 -1
- package/src/components/BryntumEventColorFieldProps.ts +15 -0
- package/src/components/BryntumEventList.vue +33 -27
- package/src/components/BryntumEventListProps.ts +6 -0
- package/src/components/BryntumFieldFilterPicker.vue +7 -1
- package/src/components/BryntumFieldFilterPickerGroup.vue +8 -2
- package/src/components/BryntumFieldFilterPickerGroupProps.ts +6 -0
- package/src/components/BryntumFieldFilterPickerProps.ts +6 -0
- package/src/components/BryntumFieldSet.vue +9 -3
- package/src/components/BryntumFieldSetProps.ts +6 -0
- package/src/components/BryntumFileField.vue +17 -1
- package/src/components/BryntumFileFieldProps.ts +15 -0
- package/src/components/BryntumFilePicker.vue +7 -1
- package/src/components/BryntumFilePickerProps.ts +6 -0
- package/src/components/BryntumFilterField.vue +17 -1
- package/src/components/BryntumFilterFieldProps.ts +15 -0
- package/src/components/BryntumGrid.vue +31 -25
- package/src/components/BryntumGridBase.vue +31 -25
- package/src/components/BryntumGridBaseProps.ts +6 -0
- package/src/components/BryntumGridChartDesigner.vue +7 -1
- package/src/components/BryntumGridChartDesignerProps.ts +6 -0
- package/src/components/BryntumGridFieldFilterPicker.vue +7 -1
- package/src/components/BryntumGridFieldFilterPickerGroup.vue +8 -2
- package/src/components/BryntumGridFieldFilterPickerGroupProps.ts +6 -0
- package/src/components/BryntumGridFieldFilterPickerProps.ts +6 -0
- package/src/components/BryntumGridProps.ts +6 -0
- package/src/components/BryntumGroupBar.vue +11 -3
- package/src/components/BryntumGroupBarProps.ts +9 -1
- package/src/components/BryntumHint.vue +9 -3
- package/src/components/BryntumHintProps.ts +6 -0
- package/src/components/BryntumLabel.vue +7 -1
- package/src/components/BryntumLabelProps.ts +6 -0
- package/src/components/BryntumList.vue +8 -2
- package/src/components/BryntumListProps.ts +6 -0
- package/src/components/BryntumMenu.vue +9 -3
- package/src/components/BryntumMenuProps.ts +6 -0
- package/src/components/BryntumModeSelector.vue +7 -1
- package/src/components/BryntumModeSelectorProps.ts +6 -0
- package/src/components/BryntumMonthAgendaView.vue +11 -5
- package/src/components/BryntumMonthAgendaViewProps.ts +6 -0
- package/src/components/BryntumMonthGrid.vue +13 -7
- package/src/components/BryntumMonthGridProps.ts +6 -0
- package/src/components/BryntumMonthPicker.vue +9 -3
- package/src/components/BryntumMonthPickerProps.ts +6 -0
- package/src/components/BryntumMonthView.vue +12 -6
- package/src/components/BryntumMonthViewProps.ts +6 -0
- package/src/components/BryntumNumberField.vue +17 -1
- package/src/components/BryntumNumberFieldProps.ts +15 -0
- package/src/components/BryntumPagingToolbar.vue +8 -2
- package/src/components/BryntumPagingToolbarProps.ts +6 -0
- package/src/components/BryntumPanel.vue +9 -3
- package/src/components/BryntumPanelProps.ts +6 -0
- package/src/components/BryntumPasswordField.vue +17 -1
- package/src/components/BryntumPasswordFieldProps.ts +15 -0
- package/src/components/BryntumProgressBar.vue +7 -1
- package/src/components/BryntumProgressBarProps.ts +6 -0
- package/src/components/BryntumProjectCombo.vue +18 -2
- package/src/components/BryntumProjectComboProps.ts +16 -1
- package/src/components/BryntumRadio.vue +18 -2
- package/src/components/BryntumRadioGroup.vue +9 -3
- package/src/components/BryntumRadioGroupProps.ts +6 -0
- package/src/components/BryntumRadioProps.ts +15 -0
- package/src/components/BryntumRangeMenu.vue +9 -3
- package/src/components/BryntumRangeMenuProps.ts +6 -0
- package/src/components/BryntumResourceCombo.vue +17 -1
- package/src/components/BryntumResourceComboProps.ts +15 -0
- package/src/components/BryntumResourceFilter.vue +8 -2
- package/src/components/BryntumResourceFilterProps.ts +6 -0
- package/src/components/BryntumResourceView.vue +11 -5
- package/src/components/BryntumResourceViewProps.ts +6 -0
- package/src/components/BryntumScheduler.vue +67 -51
- package/src/components/BryntumSchedulerBase.vue +67 -51
- package/src/components/BryntumSchedulerBaseProps.ts +12 -1
- package/src/components/BryntumSchedulerDatePicker.vue +9 -3
- package/src/components/BryntumSchedulerDatePickerProps.ts +6 -0
- package/src/components/BryntumSchedulerProps.ts +12 -1
- package/src/components/BryntumSlideToggle.vue +18 -2
- package/src/components/BryntumSlideToggleProps.ts +15 -0
- package/src/components/BryntumSlider.vue +7 -1
- package/src/components/BryntumSliderProps.ts +6 -0
- package/src/components/BryntumSplitter.vue +7 -1
- package/src/components/BryntumSplitterProps.ts +6 -0
- package/src/components/BryntumTabPanel.vue +10 -4
- package/src/components/BryntumTabPanelProps.ts +6 -0
- package/src/components/BryntumTextAreaField.vue +17 -1
- package/src/components/BryntumTextAreaFieldProps.ts +15 -0
- package/src/components/BryntumTextAreaPickerField.vue +17 -1
- package/src/components/BryntumTextAreaPickerFieldProps.ts +15 -0
- package/src/components/BryntumTextField.vue +17 -1
- package/src/components/BryntumTextFieldProps.ts +15 -0
- package/src/components/BryntumTimeField.vue +17 -1
- package/src/components/BryntumTimeFieldProps.ts +15 -0
- package/src/components/BryntumTimePicker.vue +7 -1
- package/src/components/BryntumTimePickerProps.ts +6 -0
- package/src/components/BryntumTimeVisualizingEditor.vue +9 -3
- package/src/components/BryntumTimeVisualizingEditorProps.ts +6 -0
- package/src/components/BryntumTimeZoomSlider.vue +7 -1
- package/src/components/BryntumTimeZoomSliderProps.ts +6 -0
- package/src/components/BryntumTimelineHistogram.vue +36 -30
- package/src/components/BryntumTimelineHistogramProps.ts +6 -0
- package/src/components/BryntumToolbar.vue +8 -2
- package/src/components/BryntumToolbarProps.ts +6 -0
- package/src/components/BryntumTreeCombo.vue +17 -1
- package/src/components/BryntumTreeComboProps.ts +15 -0
- package/src/components/BryntumTreeGrid.vue +31 -25
- package/src/components/BryntumTreeGridProps.ts +6 -0
- package/src/components/BryntumUndoRedo.vue +8 -2
- package/src/components/BryntumUndoRedoProps.ts +7 -1
- package/src/components/BryntumViewPresetCombo.vue +17 -1
- package/src/components/BryntumViewPresetComboProps.ts +15 -0
- package/src/components/BryntumWeekView.vue +17 -7
- package/src/components/BryntumWeekViewProps.ts +12 -2
- package/src/components/BryntumWidget.vue +7 -1
- package/src/components/BryntumWidgetProps.ts +6 -0
- package/src/components/BryntumYearPicker.vue +9 -3
- package/src/components/BryntumYearPickerProps.ts +6 -0
- package/src/components/BryntumYearPlanner.vue +11 -5
- package/src/components/BryntumYearPlannerProps.ts +6 -0
- package/src/components/BryntumYearView.vue +12 -6
- package/src/components/BryntumYearViewProps.ts +6 -0
- 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
|
@@ -28,6 +28,8 @@ export declare type BryntumFilePickerProps = {
|
|
|
28
28
|
/**
|
|
29
29
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
30
30
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element).
|
|
31
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
32
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/FilePicker#config-appendTo)
|
|
31
33
|
*/
|
|
32
34
|
appendTo ? : HTMLElement|string
|
|
33
35
|
/**
|
|
@@ -240,10 +242,14 @@ export declare type BryntumFilePickerProps = {
|
|
|
240
242
|
inputFieldAlign ? : 'start'|'end'
|
|
241
243
|
/**
|
|
242
244
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
245
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
246
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/FilePicker#config-insertBefore)
|
|
243
247
|
*/
|
|
244
248
|
insertBefore ? : HTMLElement|string
|
|
245
249
|
/**
|
|
246
250
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
251
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
252
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/FilePicker#config-insertFirst)
|
|
247
253
|
*/
|
|
248
254
|
insertFirst ? : HTMLElement|string
|
|
249
255
|
/**
|
|
@@ -42,6 +42,8 @@ defineProps<{
|
|
|
42
42
|
/**
|
|
43
43
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
44
44
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element).
|
|
45
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
46
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/FilterField#config-appendTo)
|
|
45
47
|
*/
|
|
46
48
|
appendTo ? : HTMLElement|string
|
|
47
49
|
/**
|
|
@@ -91,6 +93,15 @@ defineProps<{
|
|
|
91
93
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
92
94
|
*/
|
|
93
95
|
centered ? : Boolean
|
|
96
|
+
/**
|
|
97
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
98
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-isValid)
|
|
99
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
|
|
100
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/FilterField#config-checkValidity)
|
|
101
|
+
* @param {Core.widget.Field} field The field being validated
|
|
102
|
+
* @returns {void}
|
|
103
|
+
*/
|
|
104
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
94
105
|
/**
|
|
95
106
|
* 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
107
|
* 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
|
|
@@ -313,10 +324,14 @@ defineProps<{
|
|
|
313
324
|
inputWidth ? : string|number
|
|
314
325
|
/**
|
|
315
326
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
327
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
328
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/FilterField#config-insertBefore)
|
|
316
329
|
*/
|
|
317
330
|
insertBefore ? : HTMLElement|string
|
|
318
331
|
/**
|
|
319
332
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
333
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
334
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/FilterField#config-insertFirst)
|
|
320
335
|
*/
|
|
321
336
|
insertFirst ? : HTMLElement|string
|
|
322
337
|
/**
|
|
@@ -662,7 +677,7 @@ const emit = defineEmits<{
|
|
|
662
677
|
* @param {object} params.event Event object
|
|
663
678
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
664
679
|
*/
|
|
665
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
680
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
666
681
|
/**
|
|
667
682
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
668
683
|
* @param {string} e Event name
|
|
@@ -835,6 +850,7 @@ const widgetData = {
|
|
|
835
850
|
'autoSelect',
|
|
836
851
|
'bubbleEvents',
|
|
837
852
|
'centered',
|
|
853
|
+
'checkValidity',
|
|
838
854
|
'clearable',
|
|
839
855
|
'color',
|
|
840
856
|
'config',
|
|
@@ -28,6 +28,8 @@ export declare type BryntumFilterFieldProps = {
|
|
|
28
28
|
/**
|
|
29
29
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
30
30
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element).
|
|
31
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
32
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/FilterField#config-appendTo)
|
|
31
33
|
*/
|
|
32
34
|
appendTo ? : HTMLElement|string
|
|
33
35
|
/**
|
|
@@ -77,6 +79,15 @@ export declare type BryntumFilterFieldProps = {
|
|
|
77
79
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
78
80
|
*/
|
|
79
81
|
centered ? : Boolean
|
|
82
|
+
/**
|
|
83
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
84
|
+
* 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)
|
|
85
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
|
|
86
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/FilterField#config-checkValidity)
|
|
87
|
+
* @param {Core.widget.Field} field The field being validated
|
|
88
|
+
* @returns {void}
|
|
89
|
+
*/
|
|
90
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
80
91
|
/**
|
|
81
92
|
* 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
93
|
* 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
|
|
@@ -299,10 +310,14 @@ export declare type BryntumFilterFieldProps = {
|
|
|
299
310
|
inputWidth ? : string|number
|
|
300
311
|
/**
|
|
301
312
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
313
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
314
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/FilterField#config-insertBefore)
|
|
302
315
|
*/
|
|
303
316
|
insertBefore ? : HTMLElement|string
|
|
304
317
|
/**
|
|
305
318
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
319
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
320
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/FilterField#config-insertFirst)
|
|
306
321
|
*/
|
|
307
322
|
insertFirst ? : HTMLElement|string
|
|
308
323
|
/**
|
|
@@ -73,6 +73,8 @@ defineProps<{
|
|
|
73
73
|
/**
|
|
74
74
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
75
75
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element).
|
|
76
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
77
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Grid/view/Grid#config-appendTo)
|
|
76
78
|
*/
|
|
77
79
|
appendTo ? : HTMLElement|string
|
|
78
80
|
/**
|
|
@@ -384,10 +386,14 @@ defineProps<{
|
|
|
384
386
|
inputFieldAlign ? : 'start'|'end'
|
|
385
387
|
/**
|
|
386
388
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
389
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
390
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Grid/view/Grid#config-insertBefore)
|
|
387
391
|
*/
|
|
388
392
|
insertBefore ? : HTMLElement|string
|
|
389
393
|
/**
|
|
390
394
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
395
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
396
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Grid/view/Grid#config-insertFirst)
|
|
391
397
|
*/
|
|
392
398
|
insertFirst ? : HTMLElement|string
|
|
393
399
|
/**
|
|
@@ -1003,7 +1009,7 @@ const emit = defineEmits<{
|
|
|
1003
1009
|
* @param {Grid.view.Grid} params.event.source Owner grid
|
|
1004
1010
|
* @param {Grid.util.GridLocation} params.event.editorContext Editing context
|
|
1005
1011
|
*/
|
|
1006
|
-
(e: 'beforeCancelCellEdit', params: ((event: { source: Grid, editorContext: GridLocation }) =>
|
|
1012
|
+
(e: 'beforeCancelCellEdit', params: ((event: { source: Grid, editorContext: GridLocation }) => boolean|void)|string): boolean|void
|
|
1007
1013
|
/**
|
|
1008
1014
|
* 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
1015
|
* [More...](https://bryntum.com/products/calendar/docs/api/Grid/view/Grid#event-beforeCancelRowEdit)
|
|
@@ -1022,7 +1028,7 @@ const emit = defineEmits<{
|
|
|
1022
1028
|
* @param {Grid.view.Grid} params.event.source Owner grid
|
|
1023
1029
|
* @param {CellEditorContext} params.event.editorContext Editing context
|
|
1024
1030
|
*/
|
|
1025
|
-
(e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) =>
|
|
1031
|
+
(e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) => boolean|void)|string): boolean|void
|
|
1026
1032
|
/**
|
|
1027
1033
|
* Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
|
|
1028
1034
|
* buttons while [autoEdit](https://bryntum.com/products/calendar/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
|
|
@@ -1032,7 +1038,7 @@ const emit = defineEmits<{
|
|
|
1032
1038
|
* @param {Grid.view.Grid} params.event.source Owner grid
|
|
1033
1039
|
* @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
1040
|
*/
|
|
1035
|
-
(e: 'beforeCellRangeDelete', params: ((event: { source: Grid, gridSelection: (GridLocation|Model)[] }) =>
|
|
1041
|
+
(e: 'beforeCellRangeDelete', params: ((event: { source: Grid, gridSelection: (GridLocation|Model)[] }) => boolean|void)|string): boolean|void
|
|
1036
1042
|
/**
|
|
1037
1043
|
* Fires for each selected record on the owning Grid before editing a range of selected cell values
|
|
1038
1044
|
* @param {string} e Event name
|
|
@@ -1042,7 +1048,7 @@ const emit = defineEmits<{
|
|
|
1042
1048
|
* @param {string} params.event.field The field being changed
|
|
1043
1049
|
* @param {any} params.event.value The value being set
|
|
1044
1050
|
*/
|
|
1045
|
-
(e: 'beforeCellRangeEdit', params: ((event: { record: Model, field: string, value: any }) =>
|
|
1051
|
+
(e: 'beforeCellRangeEdit', params: ((event: { record: Model, field: string, value: any }) => boolean|void)|string): boolean|void
|
|
1046
1052
|
/**
|
|
1047
1053
|
* This event is triggered before a parent column is collapsed or expanded.
|
|
1048
1054
|
* @param {string} e Event name
|
|
@@ -1062,7 +1068,7 @@ const emit = defineEmits<{
|
|
|
1062
1068
|
* @param {Grid.column.Column} params.event.column The dragged column.
|
|
1063
1069
|
* @param {Event} params.event.event The browser event.
|
|
1064
1070
|
*/
|
|
1065
|
-
(e: 'beforeColumnDragStart', params: ((event: { source: Grid, column: Column, event: Event }) =>
|
|
1071
|
+
(e: 'beforeColumnDragStart', params: ((event: { source: Grid, column: Column, event: Event }) => boolean|void)|string): boolean|void
|
|
1066
1072
|
/**
|
|
1067
1073
|
* This event is fired when a column is dropped, and you can return false from a listener to abort the operation.
|
|
1068
1074
|
* @param {string} e Event name
|
|
@@ -1075,7 +1081,7 @@ const emit = defineEmits<{
|
|
|
1075
1081
|
* @param {Event} params.event.event The browser event.
|
|
1076
1082
|
* @param {string} params.event.region The region where the column was dropped.
|
|
1077
1083
|
*/
|
|
1078
|
-
(e: 'beforeColumnDropFinalize', params: ((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, event: Event, region: string }) =>
|
|
1084
|
+
(e: 'beforeColumnDropFinalize', params: ((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, event: Event, region: string }) => boolean|void)|string): boolean|void
|
|
1079
1085
|
/**
|
|
1080
1086
|
* This event is fired prior to starting a column resize gesture. The resize is canceled if a listener returns
|
|
1081
1087
|
* `false`.
|
|
@@ -1086,7 +1092,7 @@ const emit = defineEmits<{
|
|
|
1086
1092
|
* @param {Grid.column.Column} params.event.column The column
|
|
1087
1093
|
* @param {Event} params.event.domEvent The browser event
|
|
1088
1094
|
*/
|
|
1089
|
-
(e: 'beforeColumnResize', params: ((event: { source: Grid, column: Column, domEvent: Event }) =>
|
|
1095
|
+
(e: 'beforeColumnResize', params: ((event: { source: Grid, column: Column, domEvent: Event }) => boolean|void)|string): boolean|void
|
|
1090
1096
|
/**
|
|
1091
1097
|
* Fires on the owning Grid before a copy action is performed, return `false` to prevent the action
|
|
1092
1098
|
* @param {string} e Event name
|
|
@@ -1110,7 +1116,7 @@ const emit = defineEmits<{
|
|
|
1110
1116
|
* @param {string} params.event.lineDelimiter The CSV delimiter to separate lines
|
|
1111
1117
|
* @param {string} params.event.columnDelimiter The CSV delimiter to separate values on one line
|
|
1112
1118
|
*/
|
|
1113
|
-
(e: 'beforeCSVExport', params: ((event: { config: ExportConfig, columns: Column[], rows: Model[], lineDelimiter: string, columnDelimiter: string }) =>
|
|
1119
|
+
(e: 'beforeCSVExport', params: ((event: { config: ExportConfig, columns: Column[], rows: Model[], lineDelimiter: string, columnDelimiter: string }) => boolean|void)|string): boolean|void
|
|
1114
1120
|
/**
|
|
1115
1121
|
* Fires before an object is destroyed.
|
|
1116
1122
|
* @param {string} e Event name
|
|
@@ -1128,7 +1134,7 @@ const emit = defineEmits<{
|
|
|
1128
1134
|
* @param {XLSColumn[]} params.event.columns An array of columns to export
|
|
1129
1135
|
* @param {any[][]} params.event.rows An array of records to export
|
|
1130
1136
|
*/
|
|
1131
|
-
(e: 'beforeExcelExport', params: ((event: { config: ExportConfig, columns: XLSColumn[], rows: any[] }) =>
|
|
1137
|
+
(e: 'beforeExcelExport', params: ((event: { config: ExportConfig, columns: XLSColumn[], rows: any[] }) => boolean|void)|string): boolean|void
|
|
1132
1138
|
/**
|
|
1133
1139
|
* Fired before dragging of the FillHandle starts, return `false` to prevent the drag operation.
|
|
1134
1140
|
* @param {string} e Event name
|
|
@@ -1137,7 +1143,7 @@ const emit = defineEmits<{
|
|
|
1137
1143
|
* @param {Grid.util.GridLocation} params.event.cell Information about the column / record
|
|
1138
1144
|
* @param {MouseEvent} params.event.domEvent The raw DOM event
|
|
1139
1145
|
*/
|
|
1140
|
-
(e: 'beforeFillHandleDragStart', params: ((event: { cell: GridLocation, domEvent: MouseEvent }) =>
|
|
1146
|
+
(e: 'beforeFillHandleDragStart', params: ((event: { cell: GridLocation, domEvent: MouseEvent }) => boolean|void)|string): boolean|void
|
|
1141
1147
|
/**
|
|
1142
1148
|
* 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
1149
|
* @param {string} e Event name
|
|
@@ -1164,7 +1170,7 @@ const emit = defineEmits<{
|
|
|
1164
1170
|
* @param {object} params.event Event object
|
|
1165
1171
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
1166
1172
|
*/
|
|
1167
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
1173
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
1168
1174
|
/**
|
|
1169
1175
|
* Fires on the owning Grid before a paste action is performed, return `false` to prevent the action
|
|
1170
1176
|
* @param {string} e Event name
|
|
@@ -1184,7 +1190,7 @@ const emit = defineEmits<{
|
|
|
1184
1190
|
* @param {object} params.event Event object
|
|
1185
1191
|
* @param {PdfExportConfig} params.event.config Export config
|
|
1186
1192
|
*/
|
|
1187
|
-
(e: 'beforePdfExport', params: ((event: { config: PdfExportConfig }) =>
|
|
1193
|
+
(e: 'beforePdfExport', params: ((event: { config: PdfExportConfig }) => boolean|void)|string): boolean|void
|
|
1188
1194
|
/**
|
|
1189
1195
|
* Fires before a row is rendered.
|
|
1190
1196
|
* @param {string} e Event name
|
|
@@ -1237,7 +1243,7 @@ const emit = defineEmits<{
|
|
|
1237
1243
|
* @param {Grid.util.GridLocation[]} params.event.selectedCells The cells to be selected in this operation.
|
|
1238
1244
|
* @param {Grid.util.GridLocation[]} params.event.cellSelection The cells in the current selection, before applying `selectedCells` and `deselectedCells`
|
|
1239
1245
|
*/
|
|
1240
|
-
(e: 'beforeSelectionChange', params: ((event: { action: string, mode: 'row'|'cell', source: Grid, deselected: Model[], selected: Model[], selection: Model[], deselectedCells: GridLocation[], selectedCells: GridLocation[], cellSelection: GridLocation[] }) =>
|
|
1246
|
+
(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
1247
|
/**
|
|
1242
1248
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
1243
1249
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -1264,7 +1270,7 @@ const emit = defineEmits<{
|
|
|
1264
1270
|
* @param {Grid.view.Grid} params.event.source Owner grid
|
|
1265
1271
|
* @param {RowEditorContext} params.event.editorContext Editing context
|
|
1266
1272
|
*/
|
|
1267
|
-
(e: 'beforeStartRowEdit', params: ((event: { source: Grid, editorContext: RowEditorContext }) =>
|
|
1273
|
+
(e: 'beforeStartRowEdit', params: ((event: { source: Grid, editorContext: RowEditorContext }) => boolean|void)|string): boolean|void
|
|
1268
1274
|
/**
|
|
1269
1275
|
* Fired before state is applied to the source. Allows editing the state object or preventing the operation.
|
|
1270
1276
|
* @param {string} e Event name
|
|
@@ -1272,7 +1278,7 @@ const emit = defineEmits<{
|
|
|
1272
1278
|
* @param {object} params.event Event object
|
|
1273
1279
|
* @param {GridStateInfo} params.event.state State object config
|
|
1274
1280
|
*/
|
|
1275
|
-
(e: 'beforeStateApply', params: ((event: { state: GridStateInfo }) =>
|
|
1281
|
+
(e: 'beforeStateApply', params: ((event: { state: GridStateInfo }) => boolean|void)|string): boolean|void
|
|
1276
1282
|
/**
|
|
1277
1283
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
1278
1284
|
* @param {string} e Event name
|
|
@@ -1280,7 +1286,7 @@ const emit = defineEmits<{
|
|
|
1280
1286
|
* @param {object} params.event Event object
|
|
1281
1287
|
* @param {GridStateInfo} params.event.state State object config
|
|
1282
1288
|
*/
|
|
1283
|
-
(e: 'beforeStateSave', params: ((event: { state: GridStateInfo }) =>
|
|
1289
|
+
(e: 'beforeStateSave', params: ((event: { state: GridStateInfo }) => boolean|void)|string): boolean|void
|
|
1284
1290
|
/**
|
|
1285
1291
|
* Fired when a group is going to be expanded or collapsed using the UI.
|
|
1286
1292
|
* Returning `false` from a listener prevents the operation
|
|
@@ -1292,7 +1298,7 @@ const emit = defineEmits<{
|
|
|
1292
1298
|
* @param {boolean} params.event.collapse Collapsed (true) or expanded (false)
|
|
1293
1299
|
* @param {Event} params.event.domEvent The user interaction event (eg a `click` event) if the toggle request was instigated by user interaction.
|
|
1294
1300
|
*/
|
|
1295
|
-
(e: 'beforeToggleGroup', params: ((event: { groupRecord: Model, groupRecords: Model[], collapse: boolean, domEvent: Event }) =>
|
|
1301
|
+
(e: 'beforeToggleGroup', params: ((event: { groupRecord: Model, groupRecords: Model[], collapse: boolean, domEvent: Event }) => boolean|void)|string): boolean|void
|
|
1296
1302
|
/**
|
|
1297
1303
|
* Fired before a parent node record toggles its collapsed state.
|
|
1298
1304
|
* @param {string} e Event name
|
|
@@ -1375,7 +1381,7 @@ const emit = defineEmits<{
|
|
|
1375
1381
|
* @param {Grid.column.Column} params.event.column Column
|
|
1376
1382
|
* @param {Core.data.Model} params.event.record Record
|
|
1377
1383
|
*/
|
|
1378
|
-
(e: 'cellMenuBeforeShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column, record: Model }) =>
|
|
1384
|
+
(e: 'cellMenuBeforeShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column, record: Model }) => boolean|void)|string): boolean|void
|
|
1379
1385
|
/**
|
|
1380
1386
|
* This event fires on the owning grid when an item is selected in the cell context menu.
|
|
1381
1387
|
* @param {string} e Event name
|
|
@@ -1528,7 +1534,7 @@ const emit = defineEmits<{
|
|
|
1528
1534
|
* @param {Event} params.event.event The browser event.
|
|
1529
1535
|
* @param {string} params.event.region The region where the column was dropped.
|
|
1530
1536
|
*/
|
|
1531
|
-
(e: 'columnDrop', params: ((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, valid: boolean, event: Event, region: string }) =>
|
|
1537
|
+
(e: 'columnDrop', params: ((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, valid: boolean, event: Event, region: string }) => boolean|void)|string): boolean|void
|
|
1532
1538
|
/**
|
|
1533
1539
|
* This event is fired after a resize gesture is completed.
|
|
1534
1540
|
* @param {string} e Event name
|
|
@@ -1702,7 +1708,7 @@ const emit = defineEmits<{
|
|
|
1702
1708
|
* @param {Grid.util.GridLocation} params.event.cell Information about the column / record
|
|
1703
1709
|
* @param {MouseEvent} params.event.domEvent The raw DOM event
|
|
1704
1710
|
*/
|
|
1705
|
-
(e: 'fillHandleDragStart', params: ((event: { cell: GridLocation, domEvent: MouseEvent }) =>
|
|
1711
|
+
(e: 'fillHandleDragStart', params: ((event: { cell: GridLocation, domEvent: MouseEvent }) => boolean|void)|string): boolean|void
|
|
1706
1712
|
/**
|
|
1707
1713
|
* Fires on the owning Grid when cell editing is finished
|
|
1708
1714
|
* @param {string} e Event name
|
|
@@ -1760,7 +1766,7 @@ const emit = defineEmits<{
|
|
|
1760
1766
|
* @param {Core.data.Model[]} params.event.context.records The dragged row records
|
|
1761
1767
|
* @param {MouseEvent,TouchEvent} params.event.event
|
|
1762
1768
|
*/
|
|
1763
|
-
(e: 'gridRowBeforeDragStart', params: ((event: { source: GridBase, context: { records: Model[] }, event: MouseEvent|TouchEvent }) =>
|
|
1769
|
+
(e: 'gridRowBeforeDragStart', params: ((event: { source: GridBase, context: { records: Model[] }, event: MouseEvent|TouchEvent }) => boolean|void)|string): boolean|void
|
|
1764
1770
|
/**
|
|
1765
1771
|
* Fired before the row drop operation is finalized. You can return false to abort the drop operation, or a
|
|
1766
1772
|
* Promise yielding `true` / `false` which allows for asynchronous abort (e.g. first show user a confirmation dialog).
|
|
@@ -1839,7 +1845,7 @@ const emit = defineEmits<{
|
|
|
1839
1845
|
* @param {Event} params.event.domEvent The triggering DOM event.
|
|
1840
1846
|
* @param {Grid.column.Column} params.event.column The column clicked on.
|
|
1841
1847
|
*/
|
|
1842
|
-
(e: 'headerClick', params: ((event: { domEvent: Event, column: Column }) =>
|
|
1848
|
+
(e: 'headerClick', params: ((event: { domEvent: Event, column: Column }) => boolean|void)|string): boolean|void
|
|
1843
1849
|
/**
|
|
1844
1850
|
* This event fires on the owning Grid before the context menu is shown for a header.
|
|
1845
1851
|
* 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).
|
|
@@ -1852,7 +1858,7 @@ const emit = defineEmits<{
|
|
|
1852
1858
|
* @param {Record<string, MenuItemEntry>} params.event.items Menu item configs
|
|
1853
1859
|
* @param {Grid.column.Column} params.event.column Column
|
|
1854
1860
|
*/
|
|
1855
|
-
(e: 'headerMenuBeforeShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column }) =>
|
|
1861
|
+
(e: 'headerMenuBeforeShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column }) => boolean|void)|string): boolean|void
|
|
1856
1862
|
/**
|
|
1857
1863
|
* This event fires on the owning Grid when an item is selected in the header context menu.
|
|
1858
1864
|
* @param {string} e Event name
|
|
@@ -2113,7 +2119,7 @@ const emit = defineEmits<{
|
|
|
2113
2119
|
* @param {Grid.view.SubGrid} params.event.subGrid The subgrid
|
|
2114
2120
|
* @param {Event} params.event.domEvent The native DOM event
|
|
2115
2121
|
*/
|
|
2116
|
-
(e: 'splitterCollapseClick', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) =>
|
|
2122
|
+
(e: 'splitterCollapseClick', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) => boolean|void)|string): boolean|void
|
|
2117
2123
|
/**
|
|
2118
2124
|
* Fired by the Grid after a sub-grid has been resized using the splitter
|
|
2119
2125
|
* @param {string} e Event name
|
|
@@ -2144,7 +2150,7 @@ const emit = defineEmits<{
|
|
|
2144
2150
|
* @param {Grid.view.SubGrid} params.event.subGrid The subgrid
|
|
2145
2151
|
* @param {Event} params.event.domEvent The native DOM event
|
|
2146
2152
|
*/
|
|
2147
|
-
(e: 'splitterExpandClick', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) =>
|
|
2153
|
+
(e: 'splitterExpandClick', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) => boolean|void)|string): boolean|void
|
|
2148
2154
|
/**
|
|
2149
2155
|
* Fires on the owning Grid when editing starts
|
|
2150
2156
|
* @param {string} e Event name
|
|
@@ -73,6 +73,8 @@ defineProps<{
|
|
|
73
73
|
/**
|
|
74
74
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
75
75
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element).
|
|
76
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
77
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Grid/view/GridBase#config-appendTo)
|
|
76
78
|
*/
|
|
77
79
|
appendTo ? : HTMLElement|string
|
|
78
80
|
/**
|
|
@@ -384,10 +386,14 @@ defineProps<{
|
|
|
384
386
|
inputFieldAlign ? : 'start'|'end'
|
|
385
387
|
/**
|
|
386
388
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
389
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
390
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Grid/view/GridBase#config-insertBefore)
|
|
387
391
|
*/
|
|
388
392
|
insertBefore ? : HTMLElement|string
|
|
389
393
|
/**
|
|
390
394
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
395
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
396
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Grid/view/GridBase#config-insertFirst)
|
|
391
397
|
*/
|
|
392
398
|
insertFirst ? : HTMLElement|string
|
|
393
399
|
/**
|
|
@@ -1002,7 +1008,7 @@ const emit = defineEmits<{
|
|
|
1002
1008
|
* @param {Grid.view.Grid} params.event.source Owner grid
|
|
1003
1009
|
* @param {Grid.util.GridLocation} params.event.editorContext Editing context
|
|
1004
1010
|
*/
|
|
1005
|
-
(e: 'beforeCancelCellEdit', params: ((event: { source: Grid, editorContext: GridLocation }) =>
|
|
1011
|
+
(e: 'beforeCancelCellEdit', params: ((event: { source: Grid, editorContext: GridLocation }) => boolean|void)|string): boolean|void
|
|
1006
1012
|
/**
|
|
1007
1013
|
* 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.
|
|
1008
1014
|
* [More...](https://bryntum.com/products/calendar/docs/api/Grid/view/GridBase#event-beforeCancelRowEdit)
|
|
@@ -1021,7 +1027,7 @@ const emit = defineEmits<{
|
|
|
1021
1027
|
* @param {Grid.view.Grid} params.event.source Owner grid
|
|
1022
1028
|
* @param {CellEditorContext} params.event.editorContext Editing context
|
|
1023
1029
|
*/
|
|
1024
|
-
(e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) =>
|
|
1030
|
+
(e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) => boolean|void)|string): boolean|void
|
|
1025
1031
|
/**
|
|
1026
1032
|
* Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
|
|
1027
1033
|
* buttons while [autoEdit](https://bryntum.com/products/calendar/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
|
|
@@ -1031,7 +1037,7 @@ const emit = defineEmits<{
|
|
|
1031
1037
|
* @param {Grid.view.Grid} params.event.source Owner grid
|
|
1032
1038
|
* @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).
|
|
1033
1039
|
*/
|
|
1034
|
-
(e: 'beforeCellRangeDelete', params: ((event: { source: Grid, gridSelection: (GridLocation|Model)[] }) =>
|
|
1040
|
+
(e: 'beforeCellRangeDelete', params: ((event: { source: Grid, gridSelection: (GridLocation|Model)[] }) => boolean|void)|string): boolean|void
|
|
1035
1041
|
/**
|
|
1036
1042
|
* Fires for each selected record on the owning Grid before editing a range of selected cell values
|
|
1037
1043
|
* @param {string} e Event name
|
|
@@ -1041,7 +1047,7 @@ const emit = defineEmits<{
|
|
|
1041
1047
|
* @param {string} params.event.field The field being changed
|
|
1042
1048
|
* @param {any} params.event.value The value being set
|
|
1043
1049
|
*/
|
|
1044
|
-
(e: 'beforeCellRangeEdit', params: ((event: { record: Model, field: string, value: any }) =>
|
|
1050
|
+
(e: 'beforeCellRangeEdit', params: ((event: { record: Model, field: string, value: any }) => boolean|void)|string): boolean|void
|
|
1045
1051
|
/**
|
|
1046
1052
|
* This event is triggered before a parent column is collapsed or expanded.
|
|
1047
1053
|
* @param {string} e Event name
|
|
@@ -1061,7 +1067,7 @@ const emit = defineEmits<{
|
|
|
1061
1067
|
* @param {Grid.column.Column} params.event.column The dragged column.
|
|
1062
1068
|
* @param {Event} params.event.event The browser event.
|
|
1063
1069
|
*/
|
|
1064
|
-
(e: 'beforeColumnDragStart', params: ((event: { source: Grid, column: Column, event: Event }) =>
|
|
1070
|
+
(e: 'beforeColumnDragStart', params: ((event: { source: Grid, column: Column, event: Event }) => boolean|void)|string): boolean|void
|
|
1065
1071
|
/**
|
|
1066
1072
|
* This event is fired when a column is dropped, and you can return false from a listener to abort the operation.
|
|
1067
1073
|
* @param {string} e Event name
|
|
@@ -1074,7 +1080,7 @@ const emit = defineEmits<{
|
|
|
1074
1080
|
* @param {Event} params.event.event The browser event.
|
|
1075
1081
|
* @param {string} params.event.region The region where the column was dropped.
|
|
1076
1082
|
*/
|
|
1077
|
-
(e: 'beforeColumnDropFinalize', params: ((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, event: Event, region: string }) =>
|
|
1083
|
+
(e: 'beforeColumnDropFinalize', params: ((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, event: Event, region: string }) => boolean|void)|string): boolean|void
|
|
1078
1084
|
/**
|
|
1079
1085
|
* This event is fired prior to starting a column resize gesture. The resize is canceled if a listener returns
|
|
1080
1086
|
* `false`.
|
|
@@ -1085,7 +1091,7 @@ const emit = defineEmits<{
|
|
|
1085
1091
|
* @param {Grid.column.Column} params.event.column The column
|
|
1086
1092
|
* @param {Event} params.event.domEvent The browser event
|
|
1087
1093
|
*/
|
|
1088
|
-
(e: 'beforeColumnResize', params: ((event: { source: Grid, column: Column, domEvent: Event }) =>
|
|
1094
|
+
(e: 'beforeColumnResize', params: ((event: { source: Grid, column: Column, domEvent: Event }) => boolean|void)|string): boolean|void
|
|
1089
1095
|
/**
|
|
1090
1096
|
* Fires on the owning Grid before a copy action is performed, return `false` to prevent the action
|
|
1091
1097
|
* @param {string} e Event name
|
|
@@ -1109,7 +1115,7 @@ const emit = defineEmits<{
|
|
|
1109
1115
|
* @param {string} params.event.lineDelimiter The CSV delimiter to separate lines
|
|
1110
1116
|
* @param {string} params.event.columnDelimiter The CSV delimiter to separate values on one line
|
|
1111
1117
|
*/
|
|
1112
|
-
(e: 'beforeCSVExport', params: ((event: { config: ExportConfig, columns: Column[], rows: Model[], lineDelimiter: string, columnDelimiter: string }) =>
|
|
1118
|
+
(e: 'beforeCSVExport', params: ((event: { config: ExportConfig, columns: Column[], rows: Model[], lineDelimiter: string, columnDelimiter: string }) => boolean|void)|string): boolean|void
|
|
1113
1119
|
/**
|
|
1114
1120
|
* Fires before an object is destroyed.
|
|
1115
1121
|
* @param {string} e Event name
|
|
@@ -1127,7 +1133,7 @@ const emit = defineEmits<{
|
|
|
1127
1133
|
* @param {XLSColumn[]} params.event.columns An array of columns to export
|
|
1128
1134
|
* @param {any[][]} params.event.rows An array of records to export
|
|
1129
1135
|
*/
|
|
1130
|
-
(e: 'beforeExcelExport', params: ((event: { config: ExportConfig, columns: XLSColumn[], rows: any[] }) =>
|
|
1136
|
+
(e: 'beforeExcelExport', params: ((event: { config: ExportConfig, columns: XLSColumn[], rows: any[] }) => boolean|void)|string): boolean|void
|
|
1131
1137
|
/**
|
|
1132
1138
|
* Fired before dragging of the FillHandle starts, return `false` to prevent the drag operation.
|
|
1133
1139
|
* @param {string} e Event name
|
|
@@ -1136,7 +1142,7 @@ const emit = defineEmits<{
|
|
|
1136
1142
|
* @param {Grid.util.GridLocation} params.event.cell Information about the column / record
|
|
1137
1143
|
* @param {MouseEvent} params.event.domEvent The raw DOM event
|
|
1138
1144
|
*/
|
|
1139
|
-
(e: 'beforeFillHandleDragStart', params: ((event: { cell: GridLocation, domEvent: MouseEvent }) =>
|
|
1145
|
+
(e: 'beforeFillHandleDragStart', params: ((event: { cell: GridLocation, domEvent: MouseEvent }) => boolean|void)|string): boolean|void
|
|
1140
1146
|
/**
|
|
1141
1147
|
* 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.
|
|
1142
1148
|
* @param {string} e Event name
|
|
@@ -1163,7 +1169,7 @@ const emit = defineEmits<{
|
|
|
1163
1169
|
* @param {object} params.event Event object
|
|
1164
1170
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
1165
1171
|
*/
|
|
1166
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
1172
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
1167
1173
|
/**
|
|
1168
1174
|
* Fires on the owning Grid before a paste action is performed, return `false` to prevent the action
|
|
1169
1175
|
* @param {string} e Event name
|
|
@@ -1183,7 +1189,7 @@ const emit = defineEmits<{
|
|
|
1183
1189
|
* @param {object} params.event Event object
|
|
1184
1190
|
* @param {PdfExportConfig} params.event.config Export config
|
|
1185
1191
|
*/
|
|
1186
|
-
(e: 'beforePdfExport', params: ((event: { config: PdfExportConfig }) =>
|
|
1192
|
+
(e: 'beforePdfExport', params: ((event: { config: PdfExportConfig }) => boolean|void)|string): boolean|void
|
|
1187
1193
|
/**
|
|
1188
1194
|
* Fires before a row is rendered.
|
|
1189
1195
|
* @param {string} e Event name
|
|
@@ -1236,7 +1242,7 @@ const emit = defineEmits<{
|
|
|
1236
1242
|
* @param {Grid.util.GridLocation[]} params.event.selectedCells The cells to be selected in this operation.
|
|
1237
1243
|
* @param {Grid.util.GridLocation[]} params.event.cellSelection The cells in the current selection, before applying `selectedCells` and `deselectedCells`
|
|
1238
1244
|
*/
|
|
1239
|
-
(e: 'beforeSelectionChange', params: ((event: { action: string, mode: 'row'|'cell', source: Grid, deselected: Model[], selected: Model[], selection: Model[], deselectedCells: GridLocation[], selectedCells: GridLocation[], cellSelection: GridLocation[] }) =>
|
|
1245
|
+
(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
|
|
1240
1246
|
/**
|
|
1241
1247
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
1242
1248
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -1263,7 +1269,7 @@ const emit = defineEmits<{
|
|
|
1263
1269
|
* @param {Grid.view.Grid} params.event.source Owner grid
|
|
1264
1270
|
* @param {RowEditorContext} params.event.editorContext Editing context
|
|
1265
1271
|
*/
|
|
1266
|
-
(e: 'beforeStartRowEdit', params: ((event: { source: Grid, editorContext: RowEditorContext }) =>
|
|
1272
|
+
(e: 'beforeStartRowEdit', params: ((event: { source: Grid, editorContext: RowEditorContext }) => boolean|void)|string): boolean|void
|
|
1267
1273
|
/**
|
|
1268
1274
|
* Fired before state is applied to the source. Allows editing the state object or preventing the operation.
|
|
1269
1275
|
* @param {string} e Event name
|
|
@@ -1271,7 +1277,7 @@ const emit = defineEmits<{
|
|
|
1271
1277
|
* @param {object} params.event Event object
|
|
1272
1278
|
* @param {GridStateInfo} params.event.state State object config
|
|
1273
1279
|
*/
|
|
1274
|
-
(e: 'beforeStateApply', params: ((event: { state: GridStateInfo }) =>
|
|
1280
|
+
(e: 'beforeStateApply', params: ((event: { state: GridStateInfo }) => boolean|void)|string): boolean|void
|
|
1275
1281
|
/**
|
|
1276
1282
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
1277
1283
|
* @param {string} e Event name
|
|
@@ -1279,7 +1285,7 @@ const emit = defineEmits<{
|
|
|
1279
1285
|
* @param {object} params.event Event object
|
|
1280
1286
|
* @param {GridStateInfo} params.event.state State object config
|
|
1281
1287
|
*/
|
|
1282
|
-
(e: 'beforeStateSave', params: ((event: { state: GridStateInfo }) =>
|
|
1288
|
+
(e: 'beforeStateSave', params: ((event: { state: GridStateInfo }) => boolean|void)|string): boolean|void
|
|
1283
1289
|
/**
|
|
1284
1290
|
* Fired when a group is going to be expanded or collapsed using the UI.
|
|
1285
1291
|
* Returning `false` from a listener prevents the operation
|
|
@@ -1291,7 +1297,7 @@ const emit = defineEmits<{
|
|
|
1291
1297
|
* @param {boolean} params.event.collapse Collapsed (true) or expanded (false)
|
|
1292
1298
|
* @param {Event} params.event.domEvent The user interaction event (eg a `click` event) if the toggle request was instigated by user interaction.
|
|
1293
1299
|
*/
|
|
1294
|
-
(e: 'beforeToggleGroup', params: ((event: { groupRecord: Model, groupRecords: Model[], collapse: boolean, domEvent: Event }) =>
|
|
1300
|
+
(e: 'beforeToggleGroup', params: ((event: { groupRecord: Model, groupRecords: Model[], collapse: boolean, domEvent: Event }) => boolean|void)|string): boolean|void
|
|
1295
1301
|
/**
|
|
1296
1302
|
* Fired before a parent node record toggles its collapsed state.
|
|
1297
1303
|
* @param {string} e Event name
|
|
@@ -1374,7 +1380,7 @@ const emit = defineEmits<{
|
|
|
1374
1380
|
* @param {Grid.column.Column} params.event.column Column
|
|
1375
1381
|
* @param {Core.data.Model} params.event.record Record
|
|
1376
1382
|
*/
|
|
1377
|
-
(e: 'cellMenuBeforeShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column, record: Model }) =>
|
|
1383
|
+
(e: 'cellMenuBeforeShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column, record: Model }) => boolean|void)|string): boolean|void
|
|
1378
1384
|
/**
|
|
1379
1385
|
* This event fires on the owning grid when an item is selected in the cell context menu.
|
|
1380
1386
|
* @param {string} e Event name
|
|
@@ -1527,7 +1533,7 @@ const emit = defineEmits<{
|
|
|
1527
1533
|
* @param {Event} params.event.event The browser event.
|
|
1528
1534
|
* @param {string} params.event.region The region where the column was dropped.
|
|
1529
1535
|
*/
|
|
1530
|
-
(e: 'columnDrop', params: ((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, valid: boolean, event: Event, region: string }) =>
|
|
1536
|
+
(e: 'columnDrop', params: ((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, valid: boolean, event: Event, region: string }) => boolean|void)|string): boolean|void
|
|
1531
1537
|
/**
|
|
1532
1538
|
* This event is fired after a resize gesture is completed.
|
|
1533
1539
|
* @param {string} e Event name
|
|
@@ -1701,7 +1707,7 @@ const emit = defineEmits<{
|
|
|
1701
1707
|
* @param {Grid.util.GridLocation} params.event.cell Information about the column / record
|
|
1702
1708
|
* @param {MouseEvent} params.event.domEvent The raw DOM event
|
|
1703
1709
|
*/
|
|
1704
|
-
(e: 'fillHandleDragStart', params: ((event: { cell: GridLocation, domEvent: MouseEvent }) =>
|
|
1710
|
+
(e: 'fillHandleDragStart', params: ((event: { cell: GridLocation, domEvent: MouseEvent }) => boolean|void)|string): boolean|void
|
|
1705
1711
|
/**
|
|
1706
1712
|
* Fires on the owning Grid when cell editing is finished
|
|
1707
1713
|
* @param {string} e Event name
|
|
@@ -1759,7 +1765,7 @@ const emit = defineEmits<{
|
|
|
1759
1765
|
* @param {Core.data.Model[]} params.event.context.records The dragged row records
|
|
1760
1766
|
* @param {MouseEvent,TouchEvent} params.event.event
|
|
1761
1767
|
*/
|
|
1762
|
-
(e: 'gridRowBeforeDragStart', params: ((event: { source: GridBase, context: { records: Model[] }, event: MouseEvent|TouchEvent }) =>
|
|
1768
|
+
(e: 'gridRowBeforeDragStart', params: ((event: { source: GridBase, context: { records: Model[] }, event: MouseEvent|TouchEvent }) => boolean|void)|string): boolean|void
|
|
1763
1769
|
/**
|
|
1764
1770
|
* Fired before the row drop operation is finalized. You can return false to abort the drop operation, or a
|
|
1765
1771
|
* Promise yielding `true` / `false` which allows for asynchronous abort (e.g. first show user a confirmation dialog).
|
|
@@ -1838,7 +1844,7 @@ const emit = defineEmits<{
|
|
|
1838
1844
|
* @param {Event} params.event.domEvent The triggering DOM event.
|
|
1839
1845
|
* @param {Grid.column.Column} params.event.column The column clicked on.
|
|
1840
1846
|
*/
|
|
1841
|
-
(e: 'headerClick', params: ((event: { domEvent: Event, column: Column }) =>
|
|
1847
|
+
(e: 'headerClick', params: ((event: { domEvent: Event, column: Column }) => boolean|void)|string): boolean|void
|
|
1842
1848
|
/**
|
|
1843
1849
|
* This event fires on the owning Grid before the context menu is shown for a header.
|
|
1844
1850
|
* 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).
|
|
@@ -1851,7 +1857,7 @@ const emit = defineEmits<{
|
|
|
1851
1857
|
* @param {Record<string, MenuItemEntry>} params.event.items Menu item configs
|
|
1852
1858
|
* @param {Grid.column.Column} params.event.column Column
|
|
1853
1859
|
*/
|
|
1854
|
-
(e: 'headerMenuBeforeShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column }) =>
|
|
1860
|
+
(e: 'headerMenuBeforeShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column }) => boolean|void)|string): boolean|void
|
|
1855
1861
|
/**
|
|
1856
1862
|
* This event fires on the owning Grid when an item is selected in the header context menu.
|
|
1857
1863
|
* @param {string} e Event name
|
|
@@ -2112,7 +2118,7 @@ const emit = defineEmits<{
|
|
|
2112
2118
|
* @param {Grid.view.SubGrid} params.event.subGrid The subgrid
|
|
2113
2119
|
* @param {Event} params.event.domEvent The native DOM event
|
|
2114
2120
|
*/
|
|
2115
|
-
(e: 'splitterCollapseClick', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) =>
|
|
2121
|
+
(e: 'splitterCollapseClick', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) => boolean|void)|string): boolean|void
|
|
2116
2122
|
/**
|
|
2117
2123
|
* Fired by the Grid after a sub-grid has been resized using the splitter
|
|
2118
2124
|
* @param {string} e Event name
|
|
@@ -2143,7 +2149,7 @@ const emit = defineEmits<{
|
|
|
2143
2149
|
* @param {Grid.view.SubGrid} params.event.subGrid The subgrid
|
|
2144
2150
|
* @param {Event} params.event.domEvent The native DOM event
|
|
2145
2151
|
*/
|
|
2146
|
-
(e: 'splitterExpandClick', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) =>
|
|
2152
|
+
(e: 'splitterExpandClick', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) => boolean|void)|string): boolean|void
|
|
2147
2153
|
/**
|
|
2148
2154
|
* Fires on the owning Grid when editing starts
|
|
2149
2155
|
* @param {string} e Event name
|