@bryntum/calendar-vue-3 7.2.3 → 7.2.4
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/{DBQayOqn.js → BDTNWR5N.js} +7 -5
- package/lib/chunks/{DBQayOqn.js.map → BDTNWR5N.js.map} +1 -1
- package/lib/chunks/BIZkK5rf.js.map +1 -1
- package/lib/chunks/BWnGGswQ.js.map +1 -1
- package/lib/chunks/{LuH47Bqk.js → B_G0FwYy.js} +3 -1
- package/lib/chunks/{LuH47Bqk.js.map → B_G0FwYy.js.map} +1 -1
- package/lib/chunks/BclPIY1S.js.map +1 -1
- package/lib/chunks/BwSsnMqD.js.map +1 -1
- package/lib/chunks/C2mWiGAY.js.map +1 -1
- package/lib/chunks/C5iF2l6i.js.map +1 -1
- package/lib/chunks/Ckl-wIwj.js.map +1 -1
- package/lib/chunks/{BAW_NqgP.js → CmjLe7_l.js} +5 -3
- package/lib/chunks/{BAW_NqgP.js.map → CmjLe7_l.js.map} +1 -1
- package/lib/chunks/DAw8jYZJ.js.map +1 -1
- package/lib/chunks/Dqdy0S36.js.map +1 -1
- package/lib/chunks/{DtKmEeJb.js → QeGOhsbk.js} +3 -1
- package/lib/chunks/{DtKmEeJb.js.map → QeGOhsbk.js.map} +1 -1
- package/lib/chunks/iDCR6UCK.js.map +1 -1
- package/lib/components/BryntumDayAgendaView.js +1 -1
- package/lib/components/BryntumDayResourceView.js +1 -1
- package/lib/components/BryntumDayView.js +1 -1
- package/lib/components/BryntumWeekView.js +1 -1
- package/lib/index.js +4 -4
- package/package.json +1 -1
- package/src/components/BryntumAgendaView.vue +4 -3
- package/src/components/BryntumAgendaViewProps.ts +4 -3
- package/src/components/BryntumCalendar.vue +2 -2
- package/src/components/BryntumDayAgendaView.vue +8 -0
- package/src/components/BryntumDayAgendaViewProps.ts +7 -0
- package/src/components/BryntumDayResourceView.vue +12 -3
- package/src/components/BryntumDayResourceViewProps.ts +11 -3
- package/src/components/BryntumDayView.vue +12 -3
- package/src/components/BryntumDayViewProps.ts +11 -3
- package/src/components/BryntumEventList.vue +4 -3
- package/src/components/BryntumEventListProps.ts +4 -3
- package/src/components/BryntumMonthGrid.vue +5 -4
- package/src/components/BryntumMonthGridProps.ts +5 -4
- package/src/components/BryntumMonthView.vue +7 -4
- package/src/components/BryntumMonthViewProps.ts +7 -4
- package/src/components/BryntumResourceView.vue +4 -3
- package/src/components/BryntumResourceViewProps.ts +4 -3
- package/src/components/BryntumScheduler.vue +3 -3
- package/src/components/BryntumSchedulerBase.vue +3 -3
- package/src/components/BryntumTimelineHistogram.vue +3 -3
- package/src/components/BryntumWeekView.vue +12 -3
- package/src/components/BryntumWeekViewProps.ts +11 -3
- package/src/components/BryntumYearView.vue +5 -4
- package/src/components/BryntumYearViewProps.ts +5 -4
package/lib/index.js
CHANGED
|
@@ -20,9 +20,9 @@ import { _ as L } from "./chunks/DXxsDHKA.js";
|
|
|
20
20
|
import { _ as v } from "./chunks/D7MZMcK9.js";
|
|
21
21
|
import { _ as Y } from "./chunks/oscppiH3.js";
|
|
22
22
|
import { _ as I } from "./chunks/c2O0FAWQ.js";
|
|
23
|
-
import { _ as U } from "./chunks/
|
|
24
|
-
import { _ as J } from "./chunks/
|
|
25
|
-
import { _ as O } from "./chunks/
|
|
23
|
+
import { _ as U } from "./chunks/BDTNWR5N.js";
|
|
24
|
+
import { _ as J } from "./chunks/CmjLe7_l.js";
|
|
25
|
+
import { _ as O } from "./chunks/QeGOhsbk.js";
|
|
26
26
|
import { _ as X } from "./chunks/CbVp-KNL.js";
|
|
27
27
|
import { _ as $ } from "./chunks/D3e9xTyI.js";
|
|
28
28
|
import { _ as or } from "./chunks/n-R-RzWM.js";
|
|
@@ -82,7 +82,7 @@ import { _ as re } from "./chunks/DQaAhwXD.js";
|
|
|
82
82
|
import { _ as ee } from "./chunks/UBAf_gJR.js";
|
|
83
83
|
import { _ as me } from "./chunks/B7fxD1Uc.js";
|
|
84
84
|
import { _ as ne } from "./chunks/jimu0HjG.js";
|
|
85
|
-
import { _ as se } from "./chunks/
|
|
85
|
+
import { _ as se } from "./chunks/B_G0FwYy.js";
|
|
86
86
|
import { _ as Be } from "./chunks/BojPYCOr.js";
|
|
87
87
|
import { _ as xe } from "./chunks/BO1go6ht.js";
|
|
88
88
|
import { _ as fe } from "./chunks/BIZkK5rf.js";
|
package/package.json
CHANGED
|
@@ -952,12 +952,13 @@ defineProps<{
|
|
|
952
952
|
*/
|
|
953
953
|
shortEventCls ? : string
|
|
954
954
|
/**
|
|
955
|
-
* The duration at
|
|
956
|
-
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
955
|
+
* The duration threshold at or below which an event's encapsulating element gets
|
|
956
|
+
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
957
|
+
* style rearrangements.
|
|
957
958
|
* ...
|
|
958
959
|
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/AgendaView#config-shortEventDuration)
|
|
959
960
|
*/
|
|
960
|
-
shortEventDuration ? :
|
|
961
|
+
shortEventDuration ? : DurationConfig|number|string
|
|
961
962
|
/**
|
|
962
963
|
* By default, only dates which contain events are shown.
|
|
963
964
|
* ...
|
|
@@ -938,12 +938,13 @@ export declare type BryntumAgendaViewProps = {
|
|
|
938
938
|
*/
|
|
939
939
|
shortEventCls ? : string
|
|
940
940
|
/**
|
|
941
|
-
* The duration at
|
|
942
|
-
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
941
|
+
* The duration threshold at or below which an event's encapsulating element gets
|
|
942
|
+
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
943
|
+
* style rearrangements.
|
|
943
944
|
* ...
|
|
944
945
|
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/AgendaView#config-shortEventDuration)
|
|
945
946
|
*/
|
|
946
|
-
shortEventDuration ? :
|
|
947
|
+
shortEventDuration ? : DurationConfig|number|string
|
|
947
948
|
/**
|
|
948
949
|
* By default, only dates which contain events are shown.
|
|
949
950
|
* ...
|
|
@@ -1228,7 +1228,7 @@ const emit = defineEmits<{
|
|
|
1228
1228
|
/**
|
|
1229
1229
|
* Fires before an assignment is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or
|
|
1230
1230
|
* by the event editor. Can for example be used to display a custom dialog to confirm deletion, in which
|
|
1231
|
-
* case records should be "manually" removed after confirmation
|
|
1231
|
+
* case records should be "manually" removed after confirmation.
|
|
1232
1232
|
* ...
|
|
1233
1233
|
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-beforeAssignmentDelete)
|
|
1234
1234
|
* @param {string} e Event name
|
|
@@ -1236,7 +1236,7 @@ const emit = defineEmits<{
|
|
|
1236
1236
|
* @param {object} params.event Event object
|
|
1237
1237
|
* @param {Scheduler.view.Scheduler} params.event.source The Scheduler instance
|
|
1238
1238
|
* @param {Scheduler.model.AssignmentModel[]} params.event.assignmentRecords The assignment records about to be deleted
|
|
1239
|
-
* @param {object} params.event.context Additional removal context
|
|
1239
|
+
* @param {object} params.event.context Additional removal context. This allows you to process the deletion by calling `context.finalize()` if you return `false` from the event handler.
|
|
1240
1240
|
* @param {Function} params.event.context.finalize Function to call to finalize the removal. Used to asynchronously decide to remove the records or not. Provide `false` to the function to prevent the removal.
|
|
1241
1241
|
* @param {boolean} params.event.context.finalize.removeRecords Provide `false` to the function to prevent the removal.
|
|
1242
1242
|
*/
|
|
@@ -1019,6 +1019,13 @@ defineProps<{
|
|
|
1019
1019
|
* @returns {string} The formatted date.
|
|
1020
1020
|
*/
|
|
1021
1021
|
shortDateTimeFormat ? : string|((date: Date) => string)
|
|
1022
|
+
/**
|
|
1023
|
+
* The pixel height threshold at which the event display switches to "compact" mode
|
|
1024
|
+
* with the name and start time both on the top line in a slightly smaller font.
|
|
1025
|
+
* ...
|
|
1026
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayAgendaView#config-shortEventHeight)
|
|
1027
|
+
*/
|
|
1028
|
+
shortEventHeight ? : number
|
|
1022
1029
|
/**
|
|
1023
1030
|
* Shows an all day header above the main schedule for All Day events.
|
|
1024
1031
|
* Set to `false` to not show all day, or multi-day events in an all day header, but
|
|
@@ -1869,6 +1876,7 @@ const widgetData = {
|
|
|
1869
1876
|
'shiftIncrement',
|
|
1870
1877
|
'shortDateFormat',
|
|
1871
1878
|
'shortDateTimeFormat',
|
|
1879
|
+
'shortEventHeight',
|
|
1872
1880
|
'showTime',
|
|
1873
1881
|
'snapRelativeToEventStartDate',
|
|
1874
1882
|
'span',
|
|
@@ -1005,6 +1005,13 @@ export declare type BryntumDayAgendaViewProps = {
|
|
|
1005
1005
|
* @returns {string} The formatted date.
|
|
1006
1006
|
*/
|
|
1007
1007
|
shortDateTimeFormat ? : string|((date: Date) => string)
|
|
1008
|
+
/**
|
|
1009
|
+
* The pixel height threshold at which the event display switches to "compact" mode
|
|
1010
|
+
* with the name and start time both on the top line in a slightly smaller font.
|
|
1011
|
+
* ...
|
|
1012
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayAgendaView#config-shortEventHeight)
|
|
1013
|
+
*/
|
|
1014
|
+
shortEventHeight ? : number
|
|
1008
1015
|
/**
|
|
1009
1016
|
* Shows an all day header above the main schedule for All Day events.
|
|
1010
1017
|
* Set to `false` to not show all day, or multi-day events in an all day header, but
|
|
@@ -1040,12 +1040,20 @@ defineProps<{
|
|
|
1040
1040
|
*/
|
|
1041
1041
|
shortEventCls ? : string
|
|
1042
1042
|
/**
|
|
1043
|
-
* The duration at
|
|
1044
|
-
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
1043
|
+
* The duration threshold at or below which an event's encapsulating element gets
|
|
1044
|
+
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
1045
|
+
* style rearrangements.
|
|
1045
1046
|
* ...
|
|
1046
1047
|
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayResourceView#config-shortEventDuration)
|
|
1047
1048
|
*/
|
|
1048
|
-
shortEventDuration ? :
|
|
1049
|
+
shortEventDuration ? : DurationConfig|number|string
|
|
1050
|
+
/**
|
|
1051
|
+
* The pixel height threshold at which the event display switches to "compact" mode
|
|
1052
|
+
* with the name and start time both on the top line in a slightly smaller font.
|
|
1053
|
+
* ...
|
|
1054
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayResourceView#config-shortEventHeight)
|
|
1055
|
+
*/
|
|
1056
|
+
shortEventHeight ? : number
|
|
1049
1057
|
/**
|
|
1050
1058
|
* Shows an all day header above the main schedule for All Day events.
|
|
1051
1059
|
* Set to `false` to not show all day, or multi-day events in an all day header, but
|
|
@@ -1936,6 +1944,7 @@ const widgetData = {
|
|
|
1936
1944
|
'shiftIncrement',
|
|
1937
1945
|
'shortDateFormat',
|
|
1938
1946
|
'shortDateTimeFormat',
|
|
1947
|
+
'shortEventHeight',
|
|
1939
1948
|
'showAvatars',
|
|
1940
1949
|
'showCurrentTime',
|
|
1941
1950
|
'showTime',
|
|
@@ -1026,12 +1026,20 @@ export declare type BryntumDayResourceViewProps = {
|
|
|
1026
1026
|
*/
|
|
1027
1027
|
shortEventCls ? : string
|
|
1028
1028
|
/**
|
|
1029
|
-
* The duration at
|
|
1030
|
-
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
1029
|
+
* The duration threshold at or below which an event's encapsulating element gets
|
|
1030
|
+
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
1031
|
+
* style rearrangements.
|
|
1031
1032
|
* ...
|
|
1032
1033
|
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayResourceView#config-shortEventDuration)
|
|
1033
1034
|
*/
|
|
1034
|
-
shortEventDuration ? :
|
|
1035
|
+
shortEventDuration ? : DurationConfig|number|string
|
|
1036
|
+
/**
|
|
1037
|
+
* The pixel height threshold at which the event display switches to "compact" mode
|
|
1038
|
+
* with the name and start time both on the top line in a slightly smaller font.
|
|
1039
|
+
* ...
|
|
1040
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayResourceView#config-shortEventHeight)
|
|
1041
|
+
*/
|
|
1042
|
+
shortEventHeight ? : number
|
|
1035
1043
|
/**
|
|
1036
1044
|
* Shows an all day header above the main schedule for All Day events.
|
|
1037
1045
|
* Set to `false` to not show all day, or multi-day events in an all day header, but
|
|
@@ -1013,12 +1013,20 @@ defineProps<{
|
|
|
1013
1013
|
*/
|
|
1014
1014
|
shortEventCls ? : string
|
|
1015
1015
|
/**
|
|
1016
|
-
* The duration at
|
|
1017
|
-
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
1016
|
+
* The duration threshold at or below which an event's encapsulating element gets
|
|
1017
|
+
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
1018
|
+
* style rearrangements.
|
|
1018
1019
|
* ...
|
|
1019
1020
|
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-shortEventDuration)
|
|
1020
1021
|
*/
|
|
1021
|
-
shortEventDuration ? :
|
|
1022
|
+
shortEventDuration ? : DurationConfig|number|string
|
|
1023
|
+
/**
|
|
1024
|
+
* The pixel height threshold at which the event display switches to "compact" mode
|
|
1025
|
+
* with the name and start time both on the top line in a slightly smaller font.
|
|
1026
|
+
* ...
|
|
1027
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-shortEventHeight)
|
|
1028
|
+
*/
|
|
1029
|
+
shortEventHeight ? : number
|
|
1022
1030
|
/**
|
|
1023
1031
|
* Shows an all day header above the main schedule for All Day events.
|
|
1024
1032
|
* Set to `false` to not show all day, or multi-day events in an all day header, but
|
|
@@ -1892,6 +1900,7 @@ const widgetData = {
|
|
|
1892
1900
|
'shiftIncrement',
|
|
1893
1901
|
'shortDateFormat',
|
|
1894
1902
|
'shortDateTimeFormat',
|
|
1903
|
+
'shortEventHeight',
|
|
1895
1904
|
'showCurrentTime',
|
|
1896
1905
|
'showTime',
|
|
1897
1906
|
'sixMinuteTicks',
|
|
@@ -999,12 +999,20 @@ export declare type BryntumDayViewProps = {
|
|
|
999
999
|
*/
|
|
1000
1000
|
shortEventCls ? : string
|
|
1001
1001
|
/**
|
|
1002
|
-
* The duration at
|
|
1003
|
-
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
1002
|
+
* The duration threshold at or below which an event's encapsulating element gets
|
|
1003
|
+
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
1004
|
+
* style rearrangements.
|
|
1004
1005
|
* ...
|
|
1005
1006
|
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-shortEventDuration)
|
|
1006
1007
|
*/
|
|
1007
|
-
shortEventDuration ? :
|
|
1008
|
+
shortEventDuration ? : DurationConfig|number|string
|
|
1009
|
+
/**
|
|
1010
|
+
* The pixel height threshold at which the event display switches to "compact" mode
|
|
1011
|
+
* with the name and start time both on the top line in a slightly smaller font.
|
|
1012
|
+
* ...
|
|
1013
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-shortEventHeight)
|
|
1014
|
+
*/
|
|
1015
|
+
shortEventHeight ? : number
|
|
1008
1016
|
/**
|
|
1009
1017
|
* Shows an all day header above the main schedule for All Day events.
|
|
1010
1018
|
* Set to `false` to not show all day, or multi-day events in an all day header, but
|
|
@@ -919,12 +919,13 @@ defineProps<{
|
|
|
919
919
|
*/
|
|
920
920
|
shortEventCls ? : string
|
|
921
921
|
/**
|
|
922
|
-
* The duration at
|
|
923
|
-
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
922
|
+
* The duration threshold at or below which an event's encapsulating element gets
|
|
923
|
+
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
924
|
+
* style rearrangements.
|
|
924
925
|
* ...
|
|
925
926
|
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/EventList#config-shortEventDuration)
|
|
926
927
|
*/
|
|
927
|
-
shortEventDuration ? :
|
|
928
|
+
shortEventDuration ? : DurationConfig|number|string
|
|
928
929
|
/**
|
|
929
930
|
* <strong>Not applicable in a `DayView`</strong>
|
|
930
931
|
* ...
|
|
@@ -905,12 +905,13 @@ export declare type BryntumEventListProps = {
|
|
|
905
905
|
*/
|
|
906
906
|
shortEventCls ? : string
|
|
907
907
|
/**
|
|
908
|
-
* The duration at
|
|
909
|
-
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
908
|
+
* The duration threshold at or below which an event's encapsulating element gets
|
|
909
|
+
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
910
|
+
* style rearrangements.
|
|
910
911
|
* ...
|
|
911
912
|
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/EventList#config-shortEventDuration)
|
|
912
913
|
*/
|
|
913
|
-
shortEventDuration ? :
|
|
914
|
+
shortEventDuration ? : DurationConfig|number|string
|
|
914
915
|
/**
|
|
915
916
|
* <strong>Not applicable in a `DayView`</strong>
|
|
916
917
|
* ...
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
|
|
12
12
|
|
|
13
|
-
import type { AlignSpec, Base, BryntumScrollOptions, ButtonConfig, CalendarView, Color, Container, ContainerItemConfig, ContainerLayoutConfig, DayCell, DomConfig, EventBar, EventModel, KeyMapConfig, MaskConfig, MenuItemConfig, MenuItemEntry, Model, Month, MonthGridListeners, OverflowPopup, OverflowPopupConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, ResourceModel, StateProvider, Store, StoreConfig, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget } from '@bryntum/calendar';
|
|
13
|
+
import type { AlignSpec, Base, BryntumScrollOptions, ButtonConfig, CalendarView, Color, Container, ContainerItemConfig, ContainerLayoutConfig, DayCell, DomConfig, DurationConfig, EventBar, EventModel, KeyMapConfig, MaskConfig, MenuItemConfig, MenuItemEntry, Model, Month, MonthGridListeners, OverflowPopup, OverflowPopupConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, ResourceModel, StateProvider, Store, StoreConfig, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget } from '@bryntum/calendar';
|
|
14
14
|
import { MonthGrid } from '@bryntum/calendar';
|
|
15
15
|
|
|
16
16
|
import { WrapperHelper } from '../helper/WrapperHelper';
|
|
@@ -831,12 +831,13 @@ defineProps<{
|
|
|
831
831
|
*/
|
|
832
832
|
shortEventCls ? : string
|
|
833
833
|
/**
|
|
834
|
-
* The duration at
|
|
835
|
-
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
834
|
+
* The duration threshold at or below which an event's encapsulating element gets
|
|
835
|
+
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
836
|
+
* style rearrangements.
|
|
836
837
|
* ...
|
|
837
838
|
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthGrid#config-shortEventDuration)
|
|
838
839
|
*/
|
|
839
|
-
shortEventDuration ? :
|
|
840
|
+
shortEventDuration ? : DurationConfig|number|string
|
|
840
841
|
/**
|
|
841
842
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
|
|
842
843
|
* ...
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AlignSpec, Base, BryntumScrollOptions, ButtonConfig, CalendarView, Color, ContainerItemConfig, ContainerLayoutConfig, DayCell, DomConfig, EventBar, EventModel, KeyMapConfig, MaskConfig, MenuItemConfig, MenuItemEntry, Model, Month, MonthGrid, MonthGridListeners, OverflowPopupConfig, PagingToolbarConfig, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, ResourceModel, StateProvider, Store, StoreConfig, TabConfig, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget } from '@bryntum/calendar';
|
|
1
|
+
import type { AlignSpec, Base, BryntumScrollOptions, ButtonConfig, CalendarView, Color, ContainerItemConfig, ContainerLayoutConfig, DayCell, DomConfig, DurationConfig, EventBar, EventModel, KeyMapConfig, MaskConfig, MenuItemConfig, MenuItemEntry, Model, Month, MonthGrid, MonthGridListeners, OverflowPopupConfig, PagingToolbarConfig, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, ResourceModel, StateProvider, Store, StoreConfig, TabConfig, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget } from '@bryntum/calendar';
|
|
2
2
|
import { } from '@bryntum/calendar';
|
|
3
3
|
|
|
4
4
|
export declare type BryntumMonthGridProps = {
|
|
@@ -817,12 +817,13 @@ export declare type BryntumMonthGridProps = {
|
|
|
817
817
|
*/
|
|
818
818
|
shortEventCls ? : string
|
|
819
819
|
/**
|
|
820
|
-
* The duration at
|
|
821
|
-
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
820
|
+
* The duration threshold at or below which an event's encapsulating element gets
|
|
821
|
+
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
822
|
+
* style rearrangements.
|
|
822
823
|
* ...
|
|
823
824
|
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthGrid#config-shortEventDuration)
|
|
824
825
|
*/
|
|
825
|
-
shortEventDuration ? :
|
|
826
|
+
shortEventDuration ? : DurationConfig|number|string
|
|
826
827
|
/**
|
|
827
828
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
|
|
828
829
|
* ...
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
|
|
12
12
|
|
|
13
|
-
import type { AlignSpec, Base, BryntumScrollOptions, ButtonConfig, CalendarPanel, CalendarView, Color, Container, ContainerItemConfig, ContainerLayoutConfig, DatePicker, DayCell, DomConfig, EventBar, EventModel, KeyMapConfig, MaskConfig, MenuItemConfig, MenuItemEntry, Model, Month, MonthConfig, MonthViewListeners, OverflowPopup, OverflowPopupConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, ResourceModel, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget } from '@bryntum/calendar';
|
|
13
|
+
import type { AlignSpec, Base, BryntumScrollOptions, ButtonConfig, CalendarPanel, CalendarView, Color, Container, ContainerItemConfig, ContainerLayoutConfig, DatePicker, DayCell, DomConfig, DurationConfig, EventBar, EventModel, KeyMapConfig, MaskConfig, MenuItemConfig, MenuItemEntry, Model, Month, MonthConfig, MonthViewListeners, OverflowPopup, OverflowPopupConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, ResourceModel, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget } from '@bryntum/calendar';
|
|
14
14
|
import { MonthView } from '@bryntum/calendar';
|
|
15
15
|
|
|
16
16
|
import { WrapperHelper } from '../helper/WrapperHelper';
|
|
@@ -426,6 +426,8 @@ defineProps<{
|
|
|
426
426
|
/**
|
|
427
427
|
* The height of event bars in this view. This can be a numeric value in pixels or a CSS unit measure such
|
|
428
428
|
* as `'2em'`.
|
|
429
|
+
* ...
|
|
430
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-eventHeight)
|
|
429
431
|
*/
|
|
430
432
|
eventHeight ? : number|string
|
|
431
433
|
/**
|
|
@@ -958,12 +960,13 @@ defineProps<{
|
|
|
958
960
|
*/
|
|
959
961
|
shortEventCls ? : string
|
|
960
962
|
/**
|
|
961
|
-
* The duration at
|
|
962
|
-
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
963
|
+
* The duration threshold at or below which an event's encapsulating element gets
|
|
964
|
+
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
965
|
+
* style rearrangements.
|
|
963
966
|
* ...
|
|
964
967
|
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-shortEventDuration)
|
|
965
968
|
*/
|
|
966
|
-
shortEventDuration ? :
|
|
969
|
+
shortEventDuration ? : DurationConfig|number|string
|
|
967
970
|
/**
|
|
968
971
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
|
|
969
972
|
* ...
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AlignSpec, Base, BryntumScrollOptions, ButtonConfig, CalendarPanel, CalendarView, Color, ContainerItemConfig, ContainerLayoutConfig, DayCell, DomConfig, EventBar, EventModel, KeyMapConfig, MaskConfig, MenuItemConfig, MenuItemEntry, Month, MonthConfig, MonthViewListeners, OverflowPopupConfig, PagingToolbarConfig, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, ResourceModel, Scroller, ScrollerConfig, StateProvider, TabConfig, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget } from '@bryntum/calendar';
|
|
1
|
+
import type { AlignSpec, Base, BryntumScrollOptions, ButtonConfig, CalendarPanel, CalendarView, Color, ContainerItemConfig, ContainerLayoutConfig, DayCell, DomConfig, DurationConfig, EventBar, EventModel, KeyMapConfig, MaskConfig, MenuItemConfig, MenuItemEntry, Month, MonthConfig, MonthViewListeners, OverflowPopupConfig, PagingToolbarConfig, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, ResourceModel, Scroller, ScrollerConfig, StateProvider, TabConfig, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget } from '@bryntum/calendar';
|
|
2
2
|
import { } from '@bryntum/calendar';
|
|
3
3
|
|
|
4
4
|
export declare type BryntumMonthViewProps = {
|
|
@@ -412,6 +412,8 @@ export declare type BryntumMonthViewProps = {
|
|
|
412
412
|
/**
|
|
413
413
|
* The height of event bars in this view. This can be a numeric value in pixels or a CSS unit measure such
|
|
414
414
|
* as `'2em'`.
|
|
415
|
+
* ...
|
|
416
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-eventHeight)
|
|
415
417
|
*/
|
|
416
418
|
eventHeight ? : number|string
|
|
417
419
|
/**
|
|
@@ -944,12 +946,13 @@ export declare type BryntumMonthViewProps = {
|
|
|
944
946
|
*/
|
|
945
947
|
shortEventCls ? : string
|
|
946
948
|
/**
|
|
947
|
-
* The duration at
|
|
948
|
-
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
949
|
+
* The duration threshold at or below which an event's encapsulating element gets
|
|
950
|
+
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
951
|
+
* style rearrangements.
|
|
949
952
|
* ...
|
|
950
953
|
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-shortEventDuration)
|
|
951
954
|
*/
|
|
952
|
-
shortEventDuration ? :
|
|
955
|
+
shortEventDuration ? : DurationConfig|number|string
|
|
953
956
|
/**
|
|
954
957
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
|
|
955
958
|
* ...
|
|
@@ -790,12 +790,13 @@ defineProps<{
|
|
|
790
790
|
*/
|
|
791
791
|
shortEventCls ? : string
|
|
792
792
|
/**
|
|
793
|
-
* The duration at
|
|
794
|
-
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
793
|
+
* The duration threshold at or below which an event's encapsulating element gets
|
|
794
|
+
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
795
|
+
* style rearrangements.
|
|
795
796
|
* ...
|
|
796
797
|
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-shortEventDuration)
|
|
797
798
|
*/
|
|
798
|
-
shortEventDuration ? :
|
|
799
|
+
shortEventDuration ? : DurationConfig|number|string
|
|
799
800
|
/**
|
|
800
801
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
|
|
801
802
|
* ...
|
|
@@ -776,12 +776,13 @@ export declare type BryntumResourceViewProps = {
|
|
|
776
776
|
*/
|
|
777
777
|
shortEventCls ? : string
|
|
778
778
|
/**
|
|
779
|
-
* The duration at
|
|
780
|
-
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
779
|
+
* The duration threshold at or below which an event's encapsulating element gets
|
|
780
|
+
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
781
|
+
* style rearrangements.
|
|
781
782
|
* ...
|
|
782
783
|
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-shortEventDuration)
|
|
783
784
|
*/
|
|
784
|
-
shortEventDuration ? :
|
|
785
|
+
shortEventDuration ? : DurationConfig|number|string
|
|
785
786
|
/**
|
|
786
787
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
|
|
787
788
|
* ...
|
|
@@ -2173,7 +2173,7 @@ const emit = defineEmits<{
|
|
|
2173
2173
|
/**
|
|
2174
2174
|
* Fires before an assignment is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or
|
|
2175
2175
|
* by the event editor. Can for example be used to display a custom dialog to confirm deletion, in which
|
|
2176
|
-
* case records should be "manually" removed after confirmation
|
|
2176
|
+
* case records should be "manually" removed after confirmation.
|
|
2177
2177
|
* ...
|
|
2178
2178
|
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/Scheduler#event-beforeAssignmentDelete)
|
|
2179
2179
|
* @param {string} e Event name
|
|
@@ -2181,7 +2181,7 @@ const emit = defineEmits<{
|
|
|
2181
2181
|
* @param {object} params.event Event object
|
|
2182
2182
|
* @param {Scheduler.view.Scheduler} params.event.source The Scheduler instance
|
|
2183
2183
|
* @param {Scheduler.model.AssignmentModel[]} params.event.assignmentRecords The assignment records about to be deleted
|
|
2184
|
-
* @param {object} params.event.context Additional removal context
|
|
2184
|
+
* @param {object} params.event.context Additional removal context. This allows you to process the deletion by calling `context.finalize()` if you return `false` from the event handler.
|
|
2185
2185
|
* @param {Function} params.event.context.finalize Function to call to finalize the removal. Used to asynchronously decide to remove the records or not. Provide `false` to the function to prevent the removal.
|
|
2186
2186
|
* @param {boolean} params.event.context.finalize.removeRecords Provide `false` to the function to prevent the removal.
|
|
2187
2187
|
*/
|
|
@@ -2483,7 +2483,7 @@ const emit = defineEmits<{
|
|
|
2483
2483
|
* @param {object} params.event Event object
|
|
2484
2484
|
* @param {Scheduler.view.Scheduler,any} params.event.source The Scheduler instance
|
|
2485
2485
|
* @param {Scheduler.model.EventModel[]} params.event.eventRecords The records about to be deleted
|
|
2486
|
-
* @param {object} params.event.context Additional removal context
|
|
2486
|
+
* @param {object} params.event.context Additional removal context. This allows you to process the deletion by calling `context.finalize()` if you return `false` from the event handler.
|
|
2487
2487
|
* @param {Function} params.event.context.finalize Function to call to finalize the removal. Used to asynchronously decide to remove the records or not. Provide `false` to the function to prevent the removal.
|
|
2488
2488
|
* @param {boolean} params.event.context.finalize.removeRecords Provide `false` to the function to prevent the removal.
|
|
2489
2489
|
*/
|
|
@@ -2172,7 +2172,7 @@ const emit = defineEmits<{
|
|
|
2172
2172
|
/**
|
|
2173
2173
|
* Fires before an assignment is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or
|
|
2174
2174
|
* by the event editor. Can for example be used to display a custom dialog to confirm deletion, in which
|
|
2175
|
-
* case records should be "manually" removed after confirmation
|
|
2175
|
+
* case records should be "manually" removed after confirmation.
|
|
2176
2176
|
* ...
|
|
2177
2177
|
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/SchedulerBase#event-beforeAssignmentDelete)
|
|
2178
2178
|
* @param {string} e Event name
|
|
@@ -2180,7 +2180,7 @@ const emit = defineEmits<{
|
|
|
2180
2180
|
* @param {object} params.event Event object
|
|
2181
2181
|
* @param {Scheduler.view.Scheduler} params.event.source The Scheduler instance
|
|
2182
2182
|
* @param {Scheduler.model.AssignmentModel[]} params.event.assignmentRecords The assignment records about to be deleted
|
|
2183
|
-
* @param {object} params.event.context Additional removal context
|
|
2183
|
+
* @param {object} params.event.context Additional removal context. This allows you to process the deletion by calling `context.finalize()` if you return `false` from the event handler.
|
|
2184
2184
|
* @param {Function} params.event.context.finalize Function to call to finalize the removal. Used to asynchronously decide to remove the records or not. Provide `false` to the function to prevent the removal.
|
|
2185
2185
|
* @param {boolean} params.event.context.finalize.removeRecords Provide `false` to the function to prevent the removal.
|
|
2186
2186
|
*/
|
|
@@ -2482,7 +2482,7 @@ const emit = defineEmits<{
|
|
|
2482
2482
|
* @param {object} params.event Event object
|
|
2483
2483
|
* @param {Scheduler.view.Scheduler,any} params.event.source The Scheduler instance
|
|
2484
2484
|
* @param {Scheduler.model.EventModel[]} params.event.eventRecords The records about to be deleted
|
|
2485
|
-
* @param {object} params.event.context Additional removal context
|
|
2485
|
+
* @param {object} params.event.context Additional removal context. This allows you to process the deletion by calling `context.finalize()` if you return `false` from the event handler.
|
|
2486
2486
|
* @param {Function} params.event.context.finalize Function to call to finalize the removal. Used to asynchronously decide to remove the records or not. Provide `false` to the function to prevent the removal.
|
|
2487
2487
|
* @param {boolean} params.event.context.finalize.removeRecords Provide `false` to the function to prevent the removal.
|
|
2488
2488
|
*/
|
|
@@ -1605,7 +1605,7 @@ const emit = defineEmits<{
|
|
|
1605
1605
|
/**
|
|
1606
1606
|
* Fires before an assignment is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or
|
|
1607
1607
|
* by the event editor. Can for example be used to display a custom dialog to confirm deletion, in which
|
|
1608
|
-
* case records should be "manually" removed after confirmation
|
|
1608
|
+
* case records should be "manually" removed after confirmation.
|
|
1609
1609
|
* ...
|
|
1610
1610
|
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#event-beforeAssignmentDelete)
|
|
1611
1611
|
* @param {string} e Event name
|
|
@@ -1613,7 +1613,7 @@ const emit = defineEmits<{
|
|
|
1613
1613
|
* @param {object} params.event Event object
|
|
1614
1614
|
* @param {Scheduler.view.Scheduler} params.event.source The Scheduler instance
|
|
1615
1615
|
* @param {Scheduler.model.AssignmentModel[]} params.event.assignmentRecords The assignment records about to be deleted
|
|
1616
|
-
* @param {object} params.event.context Additional removal context
|
|
1616
|
+
* @param {object} params.event.context Additional removal context. This allows you to process the deletion by calling `context.finalize()` if you return `false` from the event handler.
|
|
1617
1617
|
* @param {Function} params.event.context.finalize Function to call to finalize the removal. Used to asynchronously decide to remove the records or not. Provide `false` to the function to prevent the removal.
|
|
1618
1618
|
* @param {boolean} params.event.context.finalize.removeRecords Provide `false` to the function to prevent the removal.
|
|
1619
1619
|
*/
|
|
@@ -1754,7 +1754,7 @@ const emit = defineEmits<{
|
|
|
1754
1754
|
* @param {object} params.event Event object
|
|
1755
1755
|
* @param {Scheduler.view.Scheduler,any} params.event.source The Scheduler instance
|
|
1756
1756
|
* @param {Scheduler.model.EventModel[]} params.event.eventRecords The records about to be deleted
|
|
1757
|
-
* @param {object} params.event.context Additional removal context
|
|
1757
|
+
* @param {object} params.event.context Additional removal context. This allows you to process the deletion by calling `context.finalize()` if you return `false` from the event handler.
|
|
1758
1758
|
* @param {Function} params.event.context.finalize Function to call to finalize the removal. Used to asynchronously decide to remove the records or not. Provide `false` to the function to prevent the removal.
|
|
1759
1759
|
* @param {boolean} params.event.context.finalize.removeRecords Provide `false` to the function to prevent the removal.
|
|
1760
1760
|
*/
|
|
@@ -1013,12 +1013,20 @@ defineProps<{
|
|
|
1013
1013
|
*/
|
|
1014
1014
|
shortEventCls ? : string
|
|
1015
1015
|
/**
|
|
1016
|
-
* The duration at
|
|
1017
|
-
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
1016
|
+
* The duration threshold at or below which an event's encapsulating element gets
|
|
1017
|
+
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
1018
|
+
* style rearrangements.
|
|
1018
1019
|
* ...
|
|
1019
1020
|
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/WeekView#config-shortEventDuration)
|
|
1020
1021
|
*/
|
|
1021
|
-
shortEventDuration ? :
|
|
1022
|
+
shortEventDuration ? : DurationConfig|number|string
|
|
1023
|
+
/**
|
|
1024
|
+
* The pixel height threshold at which the event display switches to "compact" mode
|
|
1025
|
+
* with the name and start time both on the top line in a slightly smaller font.
|
|
1026
|
+
* ...
|
|
1027
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/WeekView#config-shortEventHeight)
|
|
1028
|
+
*/
|
|
1029
|
+
shortEventHeight ? : number
|
|
1022
1030
|
/**
|
|
1023
1031
|
* Shows an all day header above the main schedule for All Day events.
|
|
1024
1032
|
* Set to `false` to not show all day, or multi-day events in an all day header, but
|
|
@@ -1892,6 +1900,7 @@ const widgetData = {
|
|
|
1892
1900
|
'shiftIncrement',
|
|
1893
1901
|
'shortDateFormat',
|
|
1894
1902
|
'shortDateTimeFormat',
|
|
1903
|
+
'shortEventHeight',
|
|
1895
1904
|
'showCurrentTime',
|
|
1896
1905
|
'showTime',
|
|
1897
1906
|
'sixMinuteTicks',
|
|
@@ -999,12 +999,20 @@ export declare type BryntumWeekViewProps = {
|
|
|
999
999
|
*/
|
|
1000
1000
|
shortEventCls ? : string
|
|
1001
1001
|
/**
|
|
1002
|
-
* The duration at
|
|
1003
|
-
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
1002
|
+
* The duration threshold at or below which an event's encapsulating element gets
|
|
1003
|
+
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
1004
|
+
* style rearrangements.
|
|
1004
1005
|
* ...
|
|
1005
1006
|
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/WeekView#config-shortEventDuration)
|
|
1006
1007
|
*/
|
|
1007
|
-
shortEventDuration ? :
|
|
1008
|
+
shortEventDuration ? : DurationConfig|number|string
|
|
1009
|
+
/**
|
|
1010
|
+
* The pixel height threshold at which the event display switches to "compact" mode
|
|
1011
|
+
* with the name and start time both on the top line in a slightly smaller font.
|
|
1012
|
+
* ...
|
|
1013
|
+
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/WeekView#config-shortEventHeight)
|
|
1014
|
+
*/
|
|
1015
|
+
shortEventHeight ? : number
|
|
1008
1016
|
/**
|
|
1009
1017
|
* Shows an all day header above the main schedule for All Day events.
|
|
1010
1018
|
* Set to `false` to not show all day, or multi-day events in an all day header, but
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
|
|
12
12
|
|
|
13
|
-
import type { AlignSpec, Base, BryntumScrollOptions, ButtonConfig, CalendarView, Color, Container, ContainerItemConfig, ContainerLayoutConfig, DayCell, DomConfig, EventBar, EventModel, KeyMapConfig, MaskConfig, MenuItemConfig, MenuItemEntry, Model, OverflowPopup, OverflowPopupConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, ResourceModel, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget, YearCell, YearViewListeners } from '@bryntum/calendar';
|
|
13
|
+
import type { AlignSpec, Base, BryntumScrollOptions, ButtonConfig, CalendarView, Color, Container, ContainerItemConfig, ContainerLayoutConfig, DayCell, DomConfig, DurationConfig, EventBar, EventModel, KeyMapConfig, MaskConfig, MenuItemConfig, MenuItemEntry, Model, OverflowPopup, OverflowPopupConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, ResourceModel, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget, YearCell, YearViewListeners } from '@bryntum/calendar';
|
|
14
14
|
import { YearView } from '@bryntum/calendar';
|
|
15
15
|
|
|
16
16
|
import { WrapperHelper } from '../helper/WrapperHelper';
|
|
@@ -854,12 +854,13 @@ defineProps<{
|
|
|
854
854
|
*/
|
|
855
855
|
shortEventCls ? : string
|
|
856
856
|
/**
|
|
857
|
-
* The duration at
|
|
858
|
-
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
857
|
+
* The duration threshold at or below which an event's encapsulating element gets
|
|
858
|
+
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
859
|
+
* style rearrangements.
|
|
859
860
|
* ...
|
|
860
861
|
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-shortEventDuration)
|
|
861
862
|
*/
|
|
862
|
-
shortEventDuration ? :
|
|
863
|
+
shortEventDuration ? : DurationConfig|number|string
|
|
863
864
|
/**
|
|
864
865
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
|
|
865
866
|
* ...
|