@bryntum/calendar-vue-3 7.2.0 → 7.2.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/lib/chunks/AuFgCdLX.js.map +1 -1
- package/lib/chunks/B4_IqbDS.js.map +1 -1
- package/lib/chunks/B7YXa-I1.js.map +1 -1
- package/lib/chunks/B8RAuv9v.js.map +1 -1
- package/lib/chunks/B8gugSPH.js.map +1 -1
- package/lib/chunks/{Ch59oTZI.js → BDVK3ih3.js} +6 -4
- package/lib/chunks/BDVK3ih3.js.map +1 -0
- package/lib/chunks/BHuV4eJ2.js.map +1 -1
- package/lib/chunks/BO4n9DQP.js.map +1 -1
- package/lib/chunks/{D2U_kuKA.js → BOnm1I34.js} +4 -2
- package/lib/chunks/BOnm1I34.js.map +1 -0
- package/lib/chunks/BPTCZ6IE.js.map +1 -1
- package/lib/chunks/{CQYCteeF.js → BeLjASq2.js} +7 -9
- package/lib/chunks/BeLjASq2.js.map +1 -0
- package/lib/chunks/BfbKG2Q9.js.map +1 -1
- package/lib/chunks/BhoSqDZl.js.map +1 -1
- package/lib/chunks/BmTK3Q03.js.map +1 -1
- package/lib/chunks/{CNaG4gNt.js → BqjJWGYH.js} +6 -4
- package/lib/chunks/BqjJWGYH.js.map +1 -0
- package/lib/chunks/BtTswK-2.js.map +1 -1
- package/lib/chunks/BvJ77_94.js.map +1 -1
- package/lib/chunks/{BYwbKAIu.js → Bxe38CDH.js} +4 -2
- package/lib/chunks/Bxe38CDH.js.map +1 -0
- package/lib/chunks/{-CJ-30JA.js → C88DnD0Q.js} +4 -2
- package/lib/chunks/C88DnD0Q.js.map +1 -0
- package/lib/chunks/CIQAmaY-.js.map +1 -1
- package/lib/chunks/{Blkgab9S.js → CUk9Mo9a.js} +3 -5
- package/lib/chunks/CUk9Mo9a.js.map +1 -0
- package/lib/chunks/CW4ZETjg.js.map +1 -1
- package/lib/chunks/CWqNGMcV.js.map +1 -1
- package/lib/chunks/C_mtEjpv.js.map +1 -1
- package/lib/chunks/Ce5lJzzn.js.map +1 -1
- package/lib/chunks/CoATnIIv.js.map +1 -1
- package/lib/chunks/CocHPfxT.js.map +1 -1
- package/lib/chunks/{DO0PUBED.js → CshnxH5i.js} +4 -2
- package/lib/chunks/CshnxH5i.js.map +1 -0
- package/lib/chunks/Cz07volV.js.map +1 -1
- package/lib/chunks/D-frdMjd.js.map +1 -1
- package/lib/chunks/D2pGT64x.js.map +1 -1
- package/lib/chunks/D65UKHfq.js.map +1 -1
- package/lib/chunks/DDCIqYqw.js.map +1 -1
- package/lib/chunks/{ZjOFly06.js → DPZhUx1w.js} +3 -3
- package/lib/chunks/DPZhUx1w.js.map +1 -0
- package/lib/chunks/DWa9zkiz.js.map +1 -1
- package/lib/chunks/DXlCOnqx.js.map +1 -1
- package/lib/chunks/Dcppz32C.js.map +1 -1
- package/lib/chunks/DdFEd1cr.js.map +1 -1
- package/lib/chunks/DlB-5MPr.js.map +1 -1
- package/lib/chunks/DlS1ldri.js.map +1 -1
- package/lib/chunks/Dw-ylqNh.js.map +1 -1
- package/lib/chunks/Dxf58SvP.js.map +1 -1
- package/lib/chunks/{gtjnnwQX.js → DzP54eL2.js} +9 -7
- package/lib/chunks/DzP54eL2.js.map +1 -0
- package/lib/chunks/DzU3frDv.js.map +1 -1
- package/lib/chunks/N4SJNjPG.js.map +1 -1
- package/lib/chunks/Ot6TFUU0.js.map +1 -1
- package/lib/chunks/SLEVEsHl.js.map +1 -1
- package/lib/chunks/{CCqSjypI.js → UB71pEbF.js} +7 -5
- package/lib/chunks/UB71pEbF.js.map +1 -0
- package/lib/chunks/hfgcSOCj.js.map +1 -1
- package/lib/chunks/jDPujxEl.js.map +1 -1
- package/lib/chunks/lsEyA_FU.js.map +1 -1
- package/lib/chunks/q6XtT4cQ.js.map +1 -1
- package/lib/components/BryntumAgendaView.js +1 -1
- package/lib/components/BryntumEventList.js +1 -1
- package/lib/components/BryntumGrid.js +1 -1
- package/lib/components/BryntumGridBase.js +1 -1
- package/lib/components/BryntumMonthAgendaView.js +1 -1
- package/lib/components/BryntumMonthGrid.js +1 -1
- package/lib/components/BryntumScheduler.js +1 -1
- package/lib/components/BryntumSchedulerBase.js +1 -1
- package/lib/components/BryntumTimelineHistogram.js +1 -1
- package/lib/components/BryntumTreeGrid.js +1 -1
- package/lib/components/BryntumYearView.js +1 -1
- package/lib/index.js +11 -11
- package/package.json +1 -1
- package/src/components/BryntumAIFilterField.vue +1 -1
- package/src/components/BryntumAIFilterFieldProps.ts +1 -1
- package/src/components/BryntumAgendaView.vue +19 -7
- package/src/components/BryntumAgendaViewProps.ts +5 -5
- package/src/components/BryntumCalendar.vue +20 -16
- package/src/components/BryntumCalendarDatePicker.vue +1 -1
- package/src/components/BryntumCalendarDatePickerProps.ts +1 -1
- package/src/components/BryntumCalendarProps.ts +3 -2
- package/src/components/BryntumCheckbox.vue +1 -1
- package/src/components/BryntumCheckboxProps.ts +1 -1
- package/src/components/BryntumChecklistFilterCombo.vue +2 -2
- package/src/components/BryntumChecklistFilterComboProps.ts +2 -2
- package/src/components/BryntumChipView.vue +1 -1
- package/src/components/BryntumChipViewProps.ts +1 -1
- package/src/components/BryntumColorField.vue +1 -1
- package/src/components/BryntumColorFieldProps.ts +1 -1
- package/src/components/BryntumCombo.vue +2 -2
- package/src/components/BryntumComboProps.ts +2 -2
- package/src/components/BryntumDateField.vue +1 -1
- package/src/components/BryntumDateFieldProps.ts +1 -1
- package/src/components/BryntumDateRangeField.vue +1 -1
- package/src/components/BryntumDateRangeFieldProps.ts +1 -1
- package/src/components/BryntumDateTimeField.vue +1 -1
- package/src/components/BryntumDateTimeFieldProps.ts +1 -1
- package/src/components/BryntumDayAgendaView.vue +1 -1
- package/src/components/BryntumDayAgendaViewProps.ts +1 -1
- package/src/components/BryntumDayResourceView.vue +1 -1
- package/src/components/BryntumDayResourceViewProps.ts +1 -1
- package/src/components/BryntumDayView.vue +1 -1
- package/src/components/BryntumDayViewProps.ts +1 -1
- package/src/components/BryntumDisplayField.vue +1 -1
- package/src/components/BryntumDisplayFieldProps.ts +1 -1
- package/src/components/BryntumDurationField.vue +1 -1
- package/src/components/BryntumDurationFieldProps.ts +1 -1
- package/src/components/BryntumEditor.vue +3 -3
- package/src/components/BryntumEditorProps.ts +1 -1
- package/src/components/BryntumEventColorField.vue +1 -1
- package/src/components/BryntumEventColorFieldProps.ts +1 -1
- package/src/components/BryntumEventList.vue +19 -7
- package/src/components/BryntumEventListProps.ts +5 -5
- package/src/components/BryntumFileField.vue +1 -1
- package/src/components/BryntumFileFieldProps.ts +1 -1
- package/src/components/BryntumFilterField.vue +1 -1
- package/src/components/BryntumFilterFieldProps.ts +1 -1
- package/src/components/BryntumGrid.vue +18 -6
- package/src/components/BryntumGridBase.vue +18 -6
- package/src/components/BryntumGridBaseProps.ts +4 -4
- package/src/components/BryntumGridProps.ts +4 -4
- package/src/components/BryntumGroupBar.vue +1 -1
- package/src/components/BryntumGroupBarProps.ts +1 -1
- package/src/components/BryntumHint.vue +1 -1
- package/src/components/BryntumHintProps.ts +1 -1
- package/src/components/BryntumList.vue +1 -1
- package/src/components/BryntumListProps.ts +1 -1
- package/src/components/BryntumMenu.vue +1 -1
- package/src/components/BryntumMenuProps.ts +1 -1
- package/src/components/BryntumMonthAgendaView.vue +3 -3
- package/src/components/BryntumMonthAgendaViewProps.ts +2 -2
- package/src/components/BryntumMonthGrid.vue +1 -8
- package/src/components/BryntumMonthGridProps.ts +1 -7
- package/src/components/BryntumMonthView.vue +2 -2
- package/src/components/BryntumMonthViewProps.ts +2 -2
- package/src/components/BryntumNumberField.vue +1 -1
- package/src/components/BryntumNumberFieldProps.ts +1 -1
- package/src/components/BryntumPasswordField.vue +1 -1
- package/src/components/BryntumPasswordFieldProps.ts +1 -1
- package/src/components/BryntumProjectCombo.vue +2 -2
- package/src/components/BryntumProjectComboProps.ts +2 -2
- package/src/components/BryntumRadio.vue +1 -1
- package/src/components/BryntumRadioProps.ts +1 -1
- package/src/components/BryntumRangeMenu.vue +1 -1
- package/src/components/BryntumRangeMenuProps.ts +1 -1
- package/src/components/BryntumResourceCombo.vue +2 -2
- package/src/components/BryntumResourceComboProps.ts +2 -2
- package/src/components/BryntumResourceFilter.vue +1 -1
- package/src/components/BryntumResourceFilterProps.ts +1 -1
- package/src/components/BryntumScheduler.vue +27 -14
- package/src/components/BryntumSchedulerBase.vue +27 -14
- package/src/components/BryntumSchedulerBaseProps.ts +8 -8
- package/src/components/BryntumSchedulerProps.ts +8 -8
- package/src/components/BryntumSlideToggle.vue +1 -1
- package/src/components/BryntumSlideToggleProps.ts +1 -1
- package/src/components/BryntumSlider.vue +1 -1
- package/src/components/BryntumSliderProps.ts +1 -1
- package/src/components/BryntumTextAreaField.vue +1 -1
- package/src/components/BryntumTextAreaFieldProps.ts +1 -1
- package/src/components/BryntumTextAreaPickerField.vue +1 -1
- package/src/components/BryntumTextAreaPickerFieldProps.ts +1 -1
- package/src/components/BryntumTextField.vue +1 -1
- package/src/components/BryntumTextFieldProps.ts +1 -1
- package/src/components/BryntumTimeField.vue +1 -1
- package/src/components/BryntumTimeFieldProps.ts +1 -1
- package/src/components/BryntumTimeVisualizingEditor.vue +1 -1
- package/src/components/BryntumTimeVisualizingEditorProps.ts +1 -1
- package/src/components/BryntumTimelineHistogram.vue +20 -8
- package/src/components/BryntumTimelineHistogramProps.ts +4 -4
- package/src/components/BryntumTreeCombo.vue +2 -2
- package/src/components/BryntumTreeComboProps.ts +2 -2
- package/src/components/BryntumTreeGrid.vue +18 -6
- package/src/components/BryntumTreeGridProps.ts +4 -4
- package/src/components/BryntumWeekView.vue +1 -1
- package/src/components/BryntumWeekViewProps.ts +1 -1
- package/src/components/BryntumYearView.vue +1 -8
- package/src/components/BryntumYearViewProps.ts +1 -7
- package/lib/chunks/-CJ-30JA.js.map +0 -1
- package/lib/chunks/BYwbKAIu.js.map +0 -1
- package/lib/chunks/Blkgab9S.js.map +0 -1
- package/lib/chunks/CCqSjypI.js.map +0 -1
- package/lib/chunks/CNaG4gNt.js.map +0 -1
- package/lib/chunks/CQYCteeF.js.map +0 -1
- package/lib/chunks/Ch59oTZI.js.map +0 -1
- package/lib/chunks/D2U_kuKA.js.map +0 -1
- package/lib/chunks/DO0PUBED.js.map +0 -1
- package/lib/chunks/ZjOFly06.js.map +0 -1
- package/lib/chunks/gtjnnwQX.js.map +0 -1
package/lib/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as t } from "./chunks/DRk05Cde.js";
|
|
2
2
|
import { _ as a } from "./chunks/C04gcDe3.js";
|
|
3
|
-
import { _ as u } from "./chunks
|
|
3
|
+
import { _ as u } from "./chunks/C88DnD0Q.js";
|
|
4
4
|
import "@bryntum/calendar";
|
|
5
5
|
import { _ as p } from "./chunks/DXlCOnqx.js";
|
|
6
6
|
import { _ as i } from "./chunks/bCzZXC7O.js";
|
|
@@ -28,15 +28,15 @@ import { _ as $ } from "./chunks/B8gugSPH.js";
|
|
|
28
28
|
import { _ as or } from "./chunks/DlS1ldri.js";
|
|
29
29
|
import { _ as tr } from "./chunks/DzU3frDv.js";
|
|
30
30
|
import { _ as ar } from "./chunks/B4_IqbDS.js";
|
|
31
|
-
import { _ as ur } from "./chunks/
|
|
31
|
+
import { _ as ur } from "./chunks/Bxe38CDH.js";
|
|
32
32
|
import { _ as pr } from "./chunks/ffMQdvvG.js";
|
|
33
33
|
import { _ as ir } from "./chunks/B2_uGWbz.js";
|
|
34
34
|
import { _ as yr } from "./chunks/JzIx9CYf.js";
|
|
35
35
|
import { _ as _r } from "./chunks/CocHPfxT.js";
|
|
36
36
|
import { _ as dr } from "./chunks/BwrHuxOo.js";
|
|
37
37
|
import { _ as cr } from "./chunks/D2pGT64x.js";
|
|
38
|
-
import { _ as Cr } from "./chunks/
|
|
39
|
-
import { _ as gr } from "./chunks/
|
|
38
|
+
import { _ as Cr } from "./chunks/BqjJWGYH.js";
|
|
39
|
+
import { _ as gr } from "./chunks/BDVK3ih3.js";
|
|
40
40
|
import { _ as Tr } from "./chunks/Dn19CjWt.js";
|
|
41
41
|
import { _ as hr } from "./chunks/CvcdQTaG.js";
|
|
42
42
|
import { _ as wr } from "./chunks/Bqzu5U04.js";
|
|
@@ -46,8 +46,8 @@ import { _ as Er } from "./chunks/BI1N0MIj.js";
|
|
|
46
46
|
import { _ as Lr } from "./chunks/CW4ZETjg.js";
|
|
47
47
|
import { _ as vr } from "./chunks/BHuV4eJ2.js";
|
|
48
48
|
import { _ as Yr } from "./chunks/BMwoyAu-.js";
|
|
49
|
-
import { _ as Ir } from "./chunks/
|
|
50
|
-
import { _ as Ur } from "./chunks/
|
|
49
|
+
import { _ as Ir } from "./chunks/DPZhUx1w.js";
|
|
50
|
+
import { _ as Ur } from "./chunks/BeLjASq2.js";
|
|
51
51
|
import { _ as Jr } from "./chunks/Da2LyDQ1.js";
|
|
52
52
|
import { _ as Or } from "./chunks/q6XtT4cQ.js";
|
|
53
53
|
import { _ as Xr } from "./chunks/DWa9zkiz.js";
|
|
@@ -63,8 +63,8 @@ import { _ as _o } from "./chunks/D-frdMjd.js";
|
|
|
63
63
|
import { _ as Fo } from "./chunks/C_mtEjpv.js";
|
|
64
64
|
import { _ as Po } from "./chunks/DdFEd1cr.js";
|
|
65
65
|
import { _ as ko } from "./chunks/DFS9-wGD.js";
|
|
66
|
-
import { _ as Do } from "./chunks/
|
|
67
|
-
import { _ as bo } from "./chunks/
|
|
66
|
+
import { _ as Do } from "./chunks/BOnm1I34.js";
|
|
67
|
+
import { _ as bo } from "./chunks/CshnxH5i.js";
|
|
68
68
|
import { _ as Go } from "./chunks/C5Clliwu.js";
|
|
69
69
|
import { _ as Vo } from "./chunks/AuFgCdLX.js";
|
|
70
70
|
import { _ as Mo } from "./chunks/CIQAmaY-.js";
|
|
@@ -74,18 +74,18 @@ import { _ as jo } from "./chunks/hfgcSOCj.js";
|
|
|
74
74
|
import { _ as Wo } from "./chunks/B7YXa-I1.js";
|
|
75
75
|
import { _ as zo } from "./chunks/BO4n9DQP.js";
|
|
76
76
|
import { _ as No } from "./chunks/SLEVEsHl.js";
|
|
77
|
-
import { _ as qo } from "./chunks/
|
|
77
|
+
import { _ as qo } from "./chunks/UB71pEbF.js";
|
|
78
78
|
import { _ as Ko } from "./chunks/DTyQJAl4.js";
|
|
79
79
|
import { _ as Qo } from "./chunks/BmTK3Q03.js";
|
|
80
80
|
import { _ as Zo } from "./chunks/Db4veohk.js";
|
|
81
81
|
import { _ as re } from "./chunks/BtTswK-2.js";
|
|
82
|
-
import { _ as ee } from "./chunks/
|
|
82
|
+
import { _ as ee } from "./chunks/DzP54eL2.js";
|
|
83
83
|
import { _ as me } from "./chunks/3K9s-aEV.js";
|
|
84
84
|
import { _ as ne } from "./chunks/Dehw9x4O.js";
|
|
85
85
|
import { _ as se } from "./chunks/BvJ77_94.js";
|
|
86
86
|
import { _ as Be } from "./chunks/Au1iuOl5.js";
|
|
87
87
|
import { _ as xe } from "./chunks/BY4xkJBO.js";
|
|
88
|
-
import { _ as fe } from "./chunks/
|
|
88
|
+
import { _ as fe } from "./chunks/CUk9Mo9a.js";
|
|
89
89
|
export {
|
|
90
90
|
p as BryntumAIFilterField,
|
|
91
91
|
u as BryntumAgendaView,
|
package/package.json
CHANGED
|
@@ -514,7 +514,7 @@ defineProps<{
|
|
|
514
514
|
required ? : Boolean
|
|
515
515
|
/**
|
|
516
516
|
* If this field is not [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
517
|
-
* the
|
|
517
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
518
518
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-clearable)
|
|
519
519
|
* behaviour will be activated.
|
|
520
520
|
*/
|
|
@@ -500,7 +500,7 @@ export declare type BryntumAIFilterFieldProps = {
|
|
|
500
500
|
required ? : Boolean
|
|
501
501
|
/**
|
|
502
502
|
* If this field is not [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
503
|
-
* the
|
|
503
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
504
504
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-clearable)
|
|
505
505
|
* behaviour will be activated.
|
|
506
506
|
*/
|
|
@@ -447,7 +447,7 @@ defineProps<{
|
|
|
447
447
|
* @param {object} detail.renderData.dataset An object which produces the `dataset` of the resulting event bar
|
|
448
448
|
* @param {boolean} detail.renderData.solidBar This is valid for views which create event bars. This is set to `true` by default for all day and interday events so that these appear as a solid block of background color. An eventRenderer may mutate this flag to change in what manner the event bar is colored - as a solid bar of color, or using the foreground color (text and icons) such as the MonthView, the CalendarRow (all day events in a DayView), and OverflowPopups
|
|
449
449
|
* @param {string} detail.renderData.bodyColor When used in a [DayView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView), this color is applied to the body of the event element. Note that this must be light enough that the text color (From the SASS variable `$dayview-event-color`) is visible
|
|
450
|
-
* @param {boolean} detail.renderData.showBullet If there is no `iconCls`, and the event is not recurring, then by default a "bullet" circular icon is shown if the view's [showBullet](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-showBullet) if set. Setting this property in an event renderer overrides this behaviour.
|
|
450
|
+
* @param {boolean} detail.renderData.showBullet If there is no `iconCls`, and the event is not recurring, then by default a "bullet" circular icon is shown if the view's [showBullet](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-showBullet) if set. Setting this property in an event renderer overrides this behaviour. <h3>Using JSX (React)</h3> When using the Bryntum React wrapper, the event renderer can return JSX elements: ```javascript eventRenderer({ eventRecord, renderData }) { return <MyEventComponent event={eventRecord} />; } ``` *Using JSX in the event renderer creates a React portal for each rendered event. For calendars with many visible events or frequently re-rendered views, this may impact scrolling performance compared to returning plain strings or [DomConfig](https://bryntum.com/products/calendar/docs/api/Core/helper/DomHelper#typedef-DomConfig) objects. Consider using JSX primarily for events that require complex interactive React components.*
|
|
451
451
|
* @returns {DomConfig,DomConfig[],string,void} The content to be used as the event body.
|
|
452
452
|
*/
|
|
453
453
|
eventRenderer ? : ((detail: { view: CalendarView, eventRecord: EventModel, resourceRecord: ResourceModel, renderData: { style: object, cls: object, iconStyle: object, iconCls: object, eventColor: string, eventBackground: string, textColor: string, eventInnerStyle: object, dataset: object, solidBar: Boolean, bodyColor: string, showBullet: Boolean } }) => DomConfig|DomConfig[]|string|void)|string
|
|
@@ -883,7 +883,7 @@ defineProps<{
|
|
|
883
883
|
rootElement ? : ShadowRoot|HTMLElement
|
|
884
884
|
/**
|
|
885
885
|
* Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
|
|
886
|
-
*
|
|
886
|
+
* overridden by specifying a [rowHeight](https://bryntum.com/products/calendar/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
|
|
887
887
|
* a column [renderer](https://bryntum.com/products/calendar/docs/api/Grid/column/Column#config-renderer).
|
|
888
888
|
* ...
|
|
889
889
|
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/AgendaView#config-rowHeight)
|
|
@@ -1215,7 +1215,7 @@ defineProps<{
|
|
|
1215
1215
|
cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
|
|
1216
1216
|
/**
|
|
1217
1217
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
1218
|
-
*
|
|
1218
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
1219
1219
|
* ...
|
|
1220
1220
|
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/CellMenu)
|
|
1221
1221
|
*/
|
|
@@ -1315,8 +1315,8 @@ defineProps<{
|
|
|
1315
1315
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
1316
1316
|
/**
|
|
1317
1317
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
1318
|
-
* <kbd>
|
|
1319
|
-
* one anywhere on grid). Use <kbd>
|
|
1318
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
1319
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
1320
1320
|
* grouper.
|
|
1321
1321
|
* ...
|
|
1322
1322
|
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/Group)
|
|
@@ -1521,7 +1521,7 @@ const emit = defineEmits<{
|
|
|
1521
1521
|
*/
|
|
1522
1522
|
(e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1523
1523
|
/**
|
|
1524
|
-
* Fires on the owning Grid before deleting a range of selected cell values by pressing
|
|
1524
|
+
* Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
|
|
1525
1525
|
* buttons while [autoEdit](https://bryntum.com/products/calendar/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
|
|
1526
1526
|
* @param {string} e Event name
|
|
1527
1527
|
* @param {object} params Event parameters
|
|
@@ -2527,7 +2527,7 @@ const emit = defineEmits<{
|
|
|
2527
2527
|
* @param {Response} params.event.response Optional response, if received
|
|
2528
2528
|
* @param {Error} params.event.error Optional error, if exception occurred
|
|
2529
2529
|
*/
|
|
2530
|
-
(e: 'pdfExport', params: ((event: { response?:
|
|
2530
|
+
(e: 'pdfExport', params: ((event: { response?: Response, error?: Error }) => void)|string): void
|
|
2531
2531
|
/**
|
|
2532
2532
|
* Fired when the range of dates encapsulated by this view changes.
|
|
2533
2533
|
* ...
|
|
@@ -2839,6 +2839,16 @@ const emit = defineEmits<{
|
|
|
2839
2839
|
* @param {Date} params.event.date The date which is at the top of the view
|
|
2840
2840
|
*/
|
|
2841
2841
|
(e: 'topDateChange', params: ((event: { date: Date }) => void)|string): void
|
|
2842
|
+
/**
|
|
2843
|
+
* Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
|
|
2844
|
+
* @param {string} e Event name
|
|
2845
|
+
* @param {object} params Event parameters
|
|
2846
|
+
* @param {object} params.event Event object
|
|
2847
|
+
* @param {Grid.view.Grid} params.event.source The grid instance
|
|
2848
|
+
* @param {(string|Function)[]} params.event.groupers Array of field names or functions representing the current grouping levels
|
|
2849
|
+
* @param {(string|Function)[]} params.event.oldGroupers Array of field names or functions representing the previous grouping levels
|
|
2850
|
+
*/
|
|
2851
|
+
(e: 'treeGroup', params: ((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string): void
|
|
2842
2852
|
/**
|
|
2843
2853
|
* Fires when row locking is disabled.
|
|
2844
2854
|
* @param {string} e Event name
|
|
@@ -3143,6 +3153,7 @@ const widgetData = {
|
|
|
3143
3153
|
'onToggleNode',
|
|
3144
3154
|
'onToolClick',
|
|
3145
3155
|
'onTopDateChange',
|
|
3156
|
+
'onTreeGroup',
|
|
3146
3157
|
'onUnlockRows',
|
|
3147
3158
|
'onUnsplit',
|
|
3148
3159
|
'pastEventCls',
|
|
@@ -3320,6 +3331,7 @@ const widgetData = {
|
|
|
3320
3331
|
'toggleNode',
|
|
3321
3332
|
'toolClick',
|
|
3322
3333
|
'topDateChange',
|
|
3334
|
+
'treeGroup',
|
|
3323
3335
|
'unlockRows',
|
|
3324
3336
|
'unsplit'
|
|
3325
3337
|
]
|
|
@@ -433,7 +433,7 @@ export declare type BryntumAgendaViewProps = {
|
|
|
433
433
|
* @param {object} detail.renderData.dataset An object which produces the `dataset` of the resulting event bar
|
|
434
434
|
* @param {boolean} detail.renderData.solidBar This is valid for views which create event bars. This is set to `true` by default for all day and interday events so that these appear as a solid block of background color. An eventRenderer may mutate this flag to change in what manner the event bar is colored - as a solid bar of color, or using the foreground color (text and icons) such as the MonthView, the CalendarRow (all day events in a DayView), and OverflowPopups
|
|
435
435
|
* @param {string} detail.renderData.bodyColor When used in a [DayView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView), this color is applied to the body of the event element. Note that this must be light enough that the text color (From the SASS variable `$dayview-event-color`) is visible
|
|
436
|
-
* @param {boolean} detail.renderData.showBullet If there is no `iconCls`, and the event is not recurring, then by default a "bullet" circular icon is shown if the view's [showBullet](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-showBullet) if set. Setting this property in an event renderer overrides this behaviour.
|
|
436
|
+
* @param {boolean} detail.renderData.showBullet If there is no `iconCls`, and the event is not recurring, then by default a "bullet" circular icon is shown if the view's [showBullet](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-showBullet) if set. Setting this property in an event renderer overrides this behaviour. <h3>Using JSX (React)</h3> When using the Bryntum React wrapper, the event renderer can return JSX elements: ```javascript eventRenderer({ eventRecord, renderData }) { return <MyEventComponent event={eventRecord} />; } ``` *Using JSX in the event renderer creates a React portal for each rendered event. For calendars with many visible events or frequently re-rendered views, this may impact scrolling performance compared to returning plain strings or [DomConfig](https://bryntum.com/products/calendar/docs/api/Core/helper/DomHelper#typedef-DomConfig) objects. Consider using JSX primarily for events that require complex interactive React components.*
|
|
437
437
|
* @returns {DomConfig,DomConfig[],string,void} The content to be used as the event body.
|
|
438
438
|
*/
|
|
439
439
|
eventRenderer ? : ((detail: { view: CalendarView, eventRecord: EventModel, resourceRecord: ResourceModel, renderData: { style: object, cls: object, iconStyle: object, iconCls: object, eventColor: string, eventBackground: string, textColor: string, eventInnerStyle: object, dataset: object, solidBar: Boolean, bodyColor: string, showBullet: Boolean } }) => DomConfig|DomConfig[]|string|void)|string
|
|
@@ -869,7 +869,7 @@ export declare type BryntumAgendaViewProps = {
|
|
|
869
869
|
rootElement ? : ShadowRoot|HTMLElement
|
|
870
870
|
/**
|
|
871
871
|
* Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
|
|
872
|
-
*
|
|
872
|
+
* overridden by specifying a [rowHeight](https://bryntum.com/products/calendar/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
|
|
873
873
|
* a column [renderer](https://bryntum.com/products/calendar/docs/api/Grid/column/Column#config-renderer).
|
|
874
874
|
* ...
|
|
875
875
|
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/AgendaView#config-rowHeight)
|
|
@@ -1201,7 +1201,7 @@ export declare type BryntumAgendaViewProps = {
|
|
|
1201
1201
|
cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
|
|
1202
1202
|
/**
|
|
1203
1203
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
1204
|
-
*
|
|
1204
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
1205
1205
|
* ...
|
|
1206
1206
|
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/CellMenu)
|
|
1207
1207
|
*/
|
|
@@ -1301,8 +1301,8 @@ export declare type BryntumAgendaViewProps = {
|
|
|
1301
1301
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
1302
1302
|
/**
|
|
1303
1303
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
1304
|
-
* <kbd>
|
|
1305
|
-
* one anywhere on grid). Use <kbd>
|
|
1304
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
1305
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
1306
1306
|
* grouper.
|
|
1307
1307
|
* ...
|
|
1308
1308
|
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/Group)
|
|
@@ -338,7 +338,7 @@ defineProps<{
|
|
|
338
338
|
*/
|
|
339
339
|
elementAttributes ? : Record<string, string|null>
|
|
340
340
|
/**
|
|
341
|
-
* Allow using
|
|
341
|
+
* Allow using <kbd>Delete</kbd> and <kbd>Backspace</kbd> to remove events/assignments
|
|
342
342
|
*/
|
|
343
343
|
enableDeleteKey ? : Boolean
|
|
344
344
|
/**
|
|
@@ -1105,7 +1105,8 @@ defineProps<{
|
|
|
1105
1105
|
*/
|
|
1106
1106
|
eventBufferFeature ? : object|Boolean|string|EventBuffer|EventBufferConfig
|
|
1107
1107
|
/**
|
|
1108
|
-
* Allow using
|
|
1108
|
+
* Allow using <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>C</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>X</kbd> and
|
|
1109
|
+
* <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>V</kbd> to copy/cut-and-paste events.
|
|
1109
1110
|
* ...
|
|
1110
1111
|
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/EventCopyPaste)
|
|
1111
1112
|
*/
|
|
@@ -1233,7 +1234,7 @@ const emit = defineEmits<{
|
|
|
1233
1234
|
*/
|
|
1234
1235
|
(e: 'beforeActiveItemChange', params: ((event: { source: Calendar, prevActiveItem: CalendarView, activeItem: CalendarView }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1235
1236
|
/**
|
|
1236
|
-
* Fires before an assignment is removed. Can be triggered by user pressing
|
|
1237
|
+
* Fires before an assignment is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or
|
|
1237
1238
|
* by the event editor. Can for example be used to display a custom dialog to confirm deletion, in which
|
|
1238
1239
|
* case records should be "manually" removed after confirmation:
|
|
1239
1240
|
* ...
|
|
@@ -1443,7 +1444,7 @@ const emit = defineEmits<{
|
|
|
1443
1444
|
*/
|
|
1444
1445
|
(e: 'beforeDropExternal', params: ((event: { eventRecord: EventModel, dropOnCalendar: boolean, itemElement: HTMLElement, targetElement: HTMLElement, domEvent: Event, overIndex: number, overRecord: Model, isAbove: boolean, altKey: boolean, ctrlKey: boolean, metaKey: boolean, shiftKey: boolean }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1445
1446
|
/**
|
|
1446
|
-
* Fires before an event is removed. Can be triggered by user pressing
|
|
1447
|
+
* Fires before an event is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or by the
|
|
1447
1448
|
* event editor. Can for example be used to display a custom dialog to confirm deletion, in which case
|
|
1448
1449
|
* records should be "manually" removed after confirmation:
|
|
1449
1450
|
* ...
|
|
@@ -1550,11 +1551,12 @@ const emit = defineEmits<{
|
|
|
1550
1551
|
* @param {Scheduler.model.EventModel[]} params.event.originalEventRecords The original event records
|
|
1551
1552
|
* @param {Scheduler.model.AssignmentModel[]} params.event.originalAssignmentRecords The original assignment record
|
|
1552
1553
|
* @param {Date} params.event.date The date when the pasted events will be scheduled
|
|
1553
|
-
* @param {Scheduler.model.ResourceModel} params.event.resourceRecord The target resource record
|
|
1554
|
+
* @param {Scheduler.model.ResourceModel} params.event.resourceRecord The target resource record. When multiple resources are pasted to, this will be the top resource
|
|
1555
|
+
* @param {Scheduler.model.ResourceModel[]} params.event.resourceRecords All target resource records that the events will be pasted to
|
|
1554
1556
|
* @param {boolean} params.event.isCut `true` if this is a cut action
|
|
1555
1557
|
* @param {string} params.event.entityName 'event' to distinguish this event from other beforePaste events
|
|
1556
1558
|
*/
|
|
1557
|
-
(e: 'beforePaste', params: ((event: { source: Scheduler, eventRecords: EventModel[], assignmentRecords: AssignmentModel[], originalEventRecords: EventModel[], originalAssignmentRecords: AssignmentModel[], date: Date, resourceRecord: ResourceModel, isCut: boolean, entityName: string }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1559
|
+
(e: 'beforePaste', params: ((event: { source: Scheduler, eventRecords: EventModel[], assignmentRecords: AssignmentModel[], originalEventRecords: EventModel[], originalAssignmentRecords: AssignmentModel[], date: Date, resourceRecord: ResourceModel, resourceRecords: ResourceModel[], isCut: boolean, entityName: string }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1558
1560
|
/**
|
|
1559
1561
|
* Fires on the owning Calendar before print starts. Return `false` to cancel the print.
|
|
1560
1562
|
* @param {string} e Event name
|
|
@@ -1619,7 +1621,7 @@ const emit = defineEmits<{
|
|
|
1619
1621
|
*/
|
|
1620
1622
|
(e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
|
|
1621
1623
|
/**
|
|
1622
|
-
* Fires when a cell overflow indicator is clicked or activated by the <kbd>
|
|
1624
|
+
* Fires when a cell overflow indicator is clicked or activated by the <kbd>Enter</kbd> key in any view. This will include
|
|
1623
1625
|
* the cells of a [YearView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView) and the `+ n more` overflow
|
|
1624
1626
|
* indicator of cells in a [MonthView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView), and "all day" events section
|
|
1625
1627
|
* of a [DayView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView).
|
|
@@ -1773,7 +1775,7 @@ const emit = defineEmits<{
|
|
|
1773
1775
|
*/
|
|
1774
1776
|
(e: 'dayCellPopulated', params: ((event: { source: CalendarView, events: EventModel[], The: Date }) => void)|string): void
|
|
1775
1777
|
/**
|
|
1776
|
-
* Fires when a day number is clicked or activated by the <kbd>
|
|
1778
|
+
* Fires when a day number is clicked or activated by the <kbd>Enter</kbd> key in a view which shows day numbers.
|
|
1777
1779
|
* This will include the cells of a [YearView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView), the cell header of cells
|
|
1778
1780
|
* in a [MonthView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView), and the day header in a [DayView](#Calendar/widget/DayView).
|
|
1779
1781
|
* ...
|
|
@@ -2190,10 +2192,10 @@ const emit = defineEmits<{
|
|
|
2190
2192
|
* @param {object} params.event.request The CrudManager load data block.
|
|
2191
2193
|
* @param {object} params.event.response The decoded JSON response.
|
|
2192
2194
|
*/
|
|
2193
|
-
(e: 'loadOnDemandFail', params: ((event: { rawResponse:
|
|
2195
|
+
(e: 'loadOnDemandFail', params: ((event: { rawResponse: Response, request: object, response: object }) => void)|string): void
|
|
2194
2196
|
/**
|
|
2195
2197
|
* Fires when a month name header in a [YearView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView) or a [MonthGrid](#Calendar/widget/MonthGrid) is clicked
|
|
2196
|
-
* or activated by the <kbd>
|
|
2198
|
+
* or activated by the <kbd>Enter</kbd> key.
|
|
2197
2199
|
* ...
|
|
2198
2200
|
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-monthNameClick)
|
|
2199
2201
|
* @param {string} e Event name
|
|
@@ -2239,11 +2241,12 @@ const emit = defineEmits<{
|
|
|
2239
2241
|
* @param {Scheduler.model.EventModel[]} params.event.originalEventRecords The original copied event records
|
|
2240
2242
|
* @param {Scheduler.model.AssignmentModel[]} params.event.originalAssignmentRecords The original copied assignment records
|
|
2241
2243
|
* @param {Date} params.event.date date Pasted to this date
|
|
2242
|
-
* @param {Scheduler.model.ResourceModel} params.event.
|
|
2244
|
+
* @param {Scheduler.model.ResourceModel[]} params.event.resourceRecords All target resource records that the events were pasted to
|
|
2245
|
+
* @param {Scheduler.model.ResourceModel} params.event.resourceRecord The target resource record. When multiple resources are pasted to, this will be the top resource
|
|
2243
2246
|
* @param {boolean} params.event.isCut `true` if this is a cut action
|
|
2244
2247
|
* @param {string} params.event.entityName 'event' to distinguish this event from other paste events
|
|
2245
2248
|
*/
|
|
2246
|
-
(e: 'paste', params: ((event: { source: Scheduler, eventRecords: EventModel[], assignmentRecords: AssignmentModel[], pastedEventRecords: EventModel[], originalEventRecords: EventModel[], originalAssignmentRecords: AssignmentModel[], date: Date, resourceRecord: ResourceModel, isCut: boolean, entityName: string }) => void)|string): void
|
|
2249
|
+
(e: 'paste', params: ((event: { source: Scheduler, eventRecords: EventModel[], assignmentRecords: AssignmentModel[], pastedEventRecords: EventModel[], originalEventRecords: EventModel[], originalAssignmentRecords: AssignmentModel[], date: Date, resourceRecords: ResourceModel[], resourceRecord: ResourceModel, isCut: boolean, entityName: string }) => void)|string): void
|
|
2247
2250
|
/**
|
|
2248
2251
|
* Fires on the owning Scheduler if a paste action is not allowed. Depending on if the EventStore is using
|
|
2249
2252
|
* [singleAssignment](https://bryntum.com/products/calendar/docs/api/Scheduler/data/EventStore#config-singleAssignment) or the configuration of
|
|
@@ -2258,12 +2261,13 @@ const emit = defineEmits<{
|
|
|
2258
2261
|
* @param {Scheduler.model.EventModel[]} params.event.originalEventRecords The event records that were copied
|
|
2259
2262
|
* @param {Scheduler.model.AssignmentModel[]} params.event.originalAssignmentRecords The assignment records that were copied
|
|
2260
2263
|
* @param {Date} params.event.date The paste date
|
|
2261
|
-
* @param {Scheduler.model.ResourceModel} params.event.resourceRecord The target resource record
|
|
2264
|
+
* @param {Scheduler.model.ResourceModel} params.event.resourceRecord The target resource record. When multiple resources are pasted to, this will be the top resource
|
|
2265
|
+
* @param {Scheduler.model.ResourceModel[]} params.event.resourceRecords All target resource records that the events would be pasted to
|
|
2262
2266
|
* @param {boolean} params.event.isCut `true` if this is a cut action
|
|
2263
2267
|
* @param {string} params.event.entityName 'event' to distinguish this event from other `pasteNotAllowed` events
|
|
2264
2268
|
* @param {'overlappingEvents','resourceReadOnly'} params.event.reason A string id to use for displaying an error message to the user.
|
|
2265
2269
|
*/
|
|
2266
|
-
(e: 'pasteNotAllowed', params: ((event: { source: Scheduler, eventRecords: EventModel[], assignmentRecords: AssignmentModel[], originalEventRecords: EventModel[], originalAssignmentRecords: AssignmentModel[], date: Date, resourceRecord: ResourceModel, isCut: boolean, entityName: string, reason: 'overlappingEvents'|'resourceReadOnly' }) => void)|string): void
|
|
2270
|
+
(e: 'pasteNotAllowed', params: ((event: { source: Scheduler, eventRecords: EventModel[], assignmentRecords: AssignmentModel[], originalEventRecords: EventModel[], originalAssignmentRecords: AssignmentModel[], date: Date, resourceRecord: ResourceModel, resourceRecords: ResourceModel[], isCut: boolean, entityName: string, reason: 'overlappingEvents'|'resourceReadOnly' }) => void)|string): void
|
|
2267
2271
|
/**
|
|
2268
2272
|
* Fired when a Widget's read only state is toggled
|
|
2269
2273
|
* @param {string} e Event name
|
|
@@ -2409,7 +2413,7 @@ const emit = defineEmits<{
|
|
|
2409
2413
|
*/
|
|
2410
2414
|
(e: 'scheduleMouseDown', params: ((event: { source: CalendarView, domEvent: Event, date: Date, resourceRecord: ResourceModel }) => void)|string): void
|
|
2411
2415
|
/**
|
|
2412
|
-
* Fires when a mouseout made
|
|
2416
|
+
* Fires when a mouseout made its way through to an empty part of any view.
|
|
2413
2417
|
* @param {string} e Event name
|
|
2414
2418
|
* @param {object} params Event parameters
|
|
2415
2419
|
* @param {object} params.event Event object
|
|
@@ -2540,7 +2544,7 @@ const emit = defineEmits<{
|
|
|
2540
2544
|
*/
|
|
2541
2545
|
(e: 'viewPaint', params: ((event: { source: CalendarView, firstPaint: boolean }) => void)|string): void
|
|
2542
2546
|
/**
|
|
2543
|
-
* Fires when a week number is clicked or activated by the <kbd>
|
|
2547
|
+
* Fires when a week number is clicked or activated by the <kbd>Enter</kbd> key. This will include the week number cells of a
|
|
2544
2548
|
* [YearView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView), the week number in the first cell
|
|
2545
2549
|
* in each row of a [MonthView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView)
|
|
2546
2550
|
* ...
|
|
@@ -388,7 +388,7 @@ defineProps<{
|
|
|
388
388
|
* @param {object} detail.renderData.dataset An object which produces the `dataset` of the resulting event bar
|
|
389
389
|
* @param {boolean} detail.renderData.solidBar This is valid for views which create event bars. This is set to `true` by default for all day and interday events so that these appear as a solid block of background color. An eventRenderer may mutate this flag to change in what manner the event bar is colored - as a solid bar of color, or using the foreground color (text and icons) such as the MonthView, the CalendarRow (all day events in a DayView), and OverflowPopups
|
|
390
390
|
* @param {string} detail.renderData.bodyColor When used in a [DayView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView), this color is applied to the body of the event element. Note that this must be light enough that the text color (From the SASS variable `$dayview-event-color`) is visible
|
|
391
|
-
* @param {boolean} detail.renderData.showBullet If there is no `iconCls`, and the event is not recurring, then by default a "bullet" circular icon is shown if the view's [showBullet](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-showBullet) if set. Setting this property in an event renderer overrides this behaviour.
|
|
391
|
+
* @param {boolean} detail.renderData.showBullet If there is no `iconCls`, and the event is not recurring, then by default a "bullet" circular icon is shown if the view's [showBullet](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-showBullet) if set. Setting this property in an event renderer overrides this behaviour. <h3>Using JSX (React)</h3> When using the Bryntum React wrapper, the event renderer can return JSX elements: ```javascript eventRenderer({ eventRecord, renderData }) { return <MyEventComponent event={eventRecord} />; } ``` *Using JSX in the event renderer creates a React portal for each rendered event. For calendars with many visible events or frequently re-rendered views, this may impact scrolling performance compared to returning plain strings or [DomConfig](https://bryntum.com/products/calendar/docs/api/Core/helper/DomHelper#typedef-DomConfig) objects. Consider using JSX primarily for events that require complex interactive React components.*
|
|
392
392
|
* @returns {DomConfig,DomConfig[],string,void} The content to be used as the event body.
|
|
393
393
|
*/
|
|
394
394
|
eventRenderer ? : ((detail: { view: CalendarView, eventRecord: EventModel, resourceRecord: ResourceModel, renderData: { style: object, cls: object, iconStyle: object, iconCls: object, eventColor: string, eventBackground: string, textColor: string, eventInnerStyle: object, dataset: object, solidBar: Boolean, bodyColor: string, showBullet: Boolean } }) => DomConfig|DomConfig[]|string|void)|string
|
|
@@ -374,7 +374,7 @@ export declare type BryntumCalendarDatePickerProps = {
|
|
|
374
374
|
* @param {object} detail.renderData.dataset An object which produces the `dataset` of the resulting event bar
|
|
375
375
|
* @param {boolean} detail.renderData.solidBar This is valid for views which create event bars. This is set to `true` by default for all day and interday events so that these appear as a solid block of background color. An eventRenderer may mutate this flag to change in what manner the event bar is colored - as a solid bar of color, or using the foreground color (text and icons) such as the MonthView, the CalendarRow (all day events in a DayView), and OverflowPopups
|
|
376
376
|
* @param {string} detail.renderData.bodyColor When used in a [DayView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView), this color is applied to the body of the event element. Note that this must be light enough that the text color (From the SASS variable `$dayview-event-color`) is visible
|
|
377
|
-
* @param {boolean} detail.renderData.showBullet If there is no `iconCls`, and the event is not recurring, then by default a "bullet" circular icon is shown if the view's [showBullet](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-showBullet) if set. Setting this property in an event renderer overrides this behaviour.
|
|
377
|
+
* @param {boolean} detail.renderData.showBullet If there is no `iconCls`, and the event is not recurring, then by default a "bullet" circular icon is shown if the view's [showBullet](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-showBullet) if set. Setting this property in an event renderer overrides this behaviour. <h3>Using JSX (React)</h3> When using the Bryntum React wrapper, the event renderer can return JSX elements: ```javascript eventRenderer({ eventRecord, renderData }) { return <MyEventComponent event={eventRecord} />; } ``` *Using JSX in the event renderer creates a React portal for each rendered event. For calendars with many visible events or frequently re-rendered views, this may impact scrolling performance compared to returning plain strings or [DomConfig](https://bryntum.com/products/calendar/docs/api/Core/helper/DomHelper#typedef-DomConfig) objects. Consider using JSX primarily for events that require complex interactive React components.*
|
|
378
378
|
* @returns {DomConfig,DomConfig[],string,void} The content to be used as the event body.
|
|
379
379
|
*/
|
|
380
380
|
eventRenderer ? : ((detail: { view: CalendarView, eventRecord: EventModel, resourceRecord: ResourceModel, renderData: { style: object, cls: object, iconStyle: object, iconCls: object, eventColor: string, eventBackground: string, textColor: string, eventInnerStyle: object, dataset: object, solidBar: Boolean, bodyColor: string, showBullet: Boolean } }) => DomConfig|DomConfig[]|string|void)|string
|
|
@@ -301,7 +301,7 @@ export declare type BryntumCalendarProps = {
|
|
|
301
301
|
*/
|
|
302
302
|
elementAttributes ? : Record<string, string|null>
|
|
303
303
|
/**
|
|
304
|
-
* Allow using
|
|
304
|
+
* Allow using <kbd>Delete</kbd> and <kbd>Backspace</kbd> to remove events/assignments
|
|
305
305
|
*/
|
|
306
306
|
enableDeleteKey ? : Boolean
|
|
307
307
|
/**
|
|
@@ -1068,7 +1068,8 @@ export declare type BryntumCalendarProps = {
|
|
|
1068
1068
|
*/
|
|
1069
1069
|
eventBufferFeature ? : object|Boolean|string|EventBuffer|EventBufferConfig
|
|
1070
1070
|
/**
|
|
1071
|
-
* Allow using
|
|
1071
|
+
* Allow using <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>C</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>X</kbd> and
|
|
1072
|
+
* <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>V</kbd> to copy/cut-and-paste events.
|
|
1072
1073
|
* ...
|
|
1073
1074
|
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/EventCopyPaste)
|
|
1074
1075
|
*/
|
|
@@ -488,7 +488,7 @@ defineProps<{
|
|
|
488
488
|
required ? : Boolean
|
|
489
489
|
/**
|
|
490
490
|
* If this field is not [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
491
|
-
* the
|
|
491
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
492
492
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-clearable)
|
|
493
493
|
* behaviour will be activated.
|
|
494
494
|
*/
|
|
@@ -474,7 +474,7 @@ export declare type BryntumCheckboxProps = {
|
|
|
474
474
|
required ? : Boolean
|
|
475
475
|
/**
|
|
476
476
|
* If this field is not [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
477
|
-
* the
|
|
477
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
478
478
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-clearable)
|
|
479
479
|
* behaviour will be activated.
|
|
480
480
|
*/
|
|
@@ -189,7 +189,7 @@ defineProps<{
|
|
|
189
189
|
contentElementCls ? : string|object
|
|
190
190
|
/**
|
|
191
191
|
* If configured as `true`, this means that when an unmatched string is typed into the
|
|
192
|
-
* combo's input field, and
|
|
192
|
+
* combo's input field, and <kbd>Enter</kbd>, or the [multiValueSeparator](https://bryntum.com/products/calendar/docs/api/Core/widget/Combo#config-multiValueSeparator) is typed,
|
|
193
193
|
* a new record will be created using the typed string as the [displayField](https://bryntum.com/products/calendar/docs/api/Core/widget/Combo#config-displayField).
|
|
194
194
|
* ...
|
|
195
195
|
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/widget/ChecklistFilterCombo#config-createOnUnmatched)
|
|
@@ -684,7 +684,7 @@ defineProps<{
|
|
|
684
684
|
required ? : Boolean
|
|
685
685
|
/**
|
|
686
686
|
* If this field is not [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
687
|
-
* the
|
|
687
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
688
688
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-clearable)
|
|
689
689
|
* behaviour will be activated.
|
|
690
690
|
*/
|
|
@@ -175,7 +175,7 @@ export declare type BryntumChecklistFilterComboProps = {
|
|
|
175
175
|
contentElementCls ? : string|object
|
|
176
176
|
/**
|
|
177
177
|
* If configured as `true`, this means that when an unmatched string is typed into the
|
|
178
|
-
* combo's input field, and
|
|
178
|
+
* combo's input field, and <kbd>Enter</kbd>, or the [multiValueSeparator](https://bryntum.com/products/calendar/docs/api/Core/widget/Combo#config-multiValueSeparator) is typed,
|
|
179
179
|
* a new record will be created using the typed string as the [displayField](https://bryntum.com/products/calendar/docs/api/Core/widget/Combo#config-displayField).
|
|
180
180
|
* ...
|
|
181
181
|
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/widget/ChecklistFilterCombo#config-createOnUnmatched)
|
|
@@ -670,7 +670,7 @@ export declare type BryntumChecklistFilterComboProps = {
|
|
|
670
670
|
required ? : Boolean
|
|
671
671
|
/**
|
|
672
672
|
* If this field is not [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
673
|
-
* the
|
|
673
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
674
674
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-clearable)
|
|
675
675
|
* behaviour will be activated.
|
|
676
676
|
*/
|
|
@@ -538,7 +538,7 @@ defineProps<{
|
|
|
538
538
|
*/
|
|
539
539
|
title ? : string
|
|
540
540
|
/**
|
|
541
|
-
* Select/deselect all if
|
|
541
|
+
* Select/deselect all if <kbd>Cmd</kbd>/<kbd>Ctrl</kbd> is pressed when clicking
|
|
542
542
|
*/
|
|
543
543
|
toggleAllIfCtrlPressed ? : Boolean
|
|
544
544
|
/**
|
|
@@ -524,7 +524,7 @@ export declare type BryntumChipViewProps = {
|
|
|
524
524
|
*/
|
|
525
525
|
title ? : string
|
|
526
526
|
/**
|
|
527
|
-
* Select/deselect all if
|
|
527
|
+
* Select/deselect all if <kbd>Cmd</kbd>/<kbd>Ctrl</kbd> is pressed when clicking
|
|
528
528
|
*/
|
|
529
529
|
toggleAllIfCtrlPressed ? : Boolean
|
|
530
530
|
/**
|
|
@@ -510,7 +510,7 @@ defineProps<{
|
|
|
510
510
|
required ? : Boolean
|
|
511
511
|
/**
|
|
512
512
|
* If this field is not [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
513
|
-
* the
|
|
513
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
514
514
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-clearable)
|
|
515
515
|
* behaviour will be activated.
|
|
516
516
|
*/
|
|
@@ -496,7 +496,7 @@ export declare type BryntumColorFieldProps = {
|
|
|
496
496
|
required ? : Boolean
|
|
497
497
|
/**
|
|
498
498
|
* If this field is not [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
499
|
-
* the
|
|
499
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
500
500
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-clearable)
|
|
501
501
|
* behaviour will be activated.
|
|
502
502
|
*/
|