Bump and Migrate logic chartjs 2.9.4 to 4.5.0, bump stripe-php from 17.2.1 to 17.6.0, fontawesome-free from 5.15.4 to 7.0.0, fullcalendar from 6.1.17 to 6.1.19, TinyMCE from 7.9.1 to 8.0.2, bootsatrap js bundle from 4.6.1 to 4.6.2, DataTables from 2.3.1 to 2.3.3
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*!
|
||||
FullCalendar Day Grid Plugin v6.1.17
|
||||
FullCalendar Day Grid Plugin v6.1.19
|
||||
Docs & License: https://fullcalendar.io/docs/month-view
|
||||
(c) 2024 Adam Shaw
|
||||
*/
|
||||
@@ -722,7 +722,7 @@ FullCalendar.DayGrid = (function (exports, core, internal$1, preact) {
|
||||
constructor() {
|
||||
super(...arguments);
|
||||
this.splitBusinessHourSegs = internal$1.memoize(splitSegsByRow);
|
||||
this.splitBgEventSegs = internal$1.memoize(splitSegsByRow);
|
||||
this.splitBgEventSegs = internal$1.memoize(splitAllDaySegsByRow);
|
||||
this.splitFgEventSegs = internal$1.memoize(splitSegsByRow);
|
||||
this.splitDateSelectionSegs = internal$1.memoize(splitSegsByRow);
|
||||
this.splitEventDrag = internal$1.memoize(splitInteractionByRow);
|
||||
@@ -746,7 +746,7 @@ FullCalendar.DayGrid = (function (exports, core, internal$1, preact) {
|
||||
return (preact.createElement(internal$1.NowTimer, { unit: "day" }, (nowDate, todayRange) => (preact.createElement(preact.Fragment, null, props.cells.map((cells, row) => (preact.createElement(TableRow, { ref: this.rowRefs.createRef(row), key: cells.length
|
||||
? cells[0].date.toISOString() /* best? or put key on cell? or use diff formatter? */
|
||||
: row // in case there are no cells (like when resource view is loading)
|
||||
, showDayNumbers: rowCnt > 1, showWeekNumbers: props.showWeekNumbers, todayRange: todayRange, dateProfile: props.dateProfile, cells: cells, renderIntro: props.renderRowIntro, businessHourSegs: businessHourSegsByRow[row], eventSelection: props.eventSelection, bgEventSegs: bgEventSegsByRow[row].filter(isSegAllDay) /* hack */, fgEventSegs: fgEventSegsByRow[row], dateSelectionSegs: dateSelectionSegsByRow[row], eventDrag: eventDragByRow[row], eventResize: eventResizeByRow[row], dayMaxEvents: props.dayMaxEvents, dayMaxEventRows: props.dayMaxEventRows, clientWidth: props.clientWidth, clientHeight: props.clientHeight, cellMinHeight: cellMinHeight, forPrint: props.forPrint })))))));
|
||||
, showDayNumbers: rowCnt > 1, showWeekNumbers: props.showWeekNumbers, todayRange: todayRange, dateProfile: props.dateProfile, cells: cells, renderIntro: props.renderRowIntro, businessHourSegs: businessHourSegsByRow[row], eventSelection: props.eventSelection, bgEventSegs: bgEventSegsByRow[row], fgEventSegs: fgEventSegsByRow[row], dateSelectionSegs: dateSelectionSegsByRow[row], eventDrag: eventDragByRow[row], eventResize: eventResizeByRow[row], dayMaxEvents: props.dayMaxEvents, dayMaxEventRows: props.dayMaxEventRows, clientWidth: props.clientWidth, clientHeight: props.clientHeight, cellMinHeight: cellMinHeight, forPrint: props.forPrint })))))));
|
||||
}
|
||||
componentDidMount() {
|
||||
this.registerInteractiveComponent();
|
||||
@@ -815,6 +815,9 @@ FullCalendar.DayGrid = (function (exports, core, internal$1, preact) {
|
||||
return { start, end };
|
||||
}
|
||||
}
|
||||
function splitAllDaySegsByRow(segs, rowCnt) {
|
||||
return splitSegsByRow(segs.filter(isSegAllDay), rowCnt);
|
||||
}
|
||||
function isSegAllDay(seg) {
|
||||
return seg.eventRange.def.allDay;
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user