@fullcalendar/core 6.1.17 → 6.1.19
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/index.cjs +12 -1
- package/index.global.js +77 -22
- package/index.global.min.js +2 -2
- package/index.js +12 -1
- package/internal-common.cjs +64 -20
- package/internal-common.d.ts +4 -1
- package/internal-common.js +64 -20
- package/locales/af.global.js +1 -1
- package/locales/af.global.min.js +1 -1
- package/locales/ar-dz.global.js +1 -1
- package/locales/ar-dz.global.min.js +1 -1
- package/locales/ar-kw.global.js +1 -1
- package/locales/ar-kw.global.min.js +1 -1
- package/locales/ar-ly.global.js +1 -1
- package/locales/ar-ly.global.min.js +1 -1
- package/locales/ar-ma.global.js +1 -1
- package/locales/ar-ma.global.min.js +1 -1
- package/locales/ar-sa.global.js +1 -1
- package/locales/ar-sa.global.min.js +1 -1
- package/locales/ar-tn.global.js +1 -1
- package/locales/ar-tn.global.min.js +1 -1
- package/locales/ar.global.js +1 -1
- package/locales/ar.global.min.js +1 -1
- package/locales/az.global.js +1 -1
- package/locales/az.global.min.js +1 -1
- package/locales/bg.global.js +1 -1
- package/locales/bg.global.min.js +1 -1
- package/locales/bn.global.js +1 -1
- package/locales/bn.global.min.js +1 -1
- package/locales/bs.global.js +1 -1
- package/locales/bs.global.min.js +1 -1
- package/locales/ca.global.js +1 -1
- package/locales/ca.global.min.js +1 -1
- package/locales/cs.global.js +1 -1
- package/locales/cs.global.min.js +1 -1
- package/locales/cy.global.js +1 -1
- package/locales/cy.global.min.js +1 -1
- package/locales/da.global.js +1 -1
- package/locales/da.global.min.js +1 -1
- package/locales/de-at.global.js +1 -1
- package/locales/de-at.global.min.js +1 -1
- package/locales/de.global.js +1 -1
- package/locales/de.global.min.js +1 -1
- package/locales/el.global.js +1 -1
- package/locales/el.global.min.js +1 -1
- package/locales/en-au.global.js +1 -1
- package/locales/en-au.global.min.js +1 -1
- package/locales/en-gb.global.js +1 -1
- package/locales/en-gb.global.min.js +1 -1
- package/locales/en-nz.global.js +1 -1
- package/locales/en-nz.global.min.js +1 -1
- package/locales/eo.global.js +1 -1
- package/locales/eo.global.min.js +1 -1
- package/locales/es-us.global.js +1 -1
- package/locales/es-us.global.min.js +1 -1
- package/locales/es.global.js +1 -1
- package/locales/es.global.min.js +1 -1
- package/locales/et.global.js +1 -1
- package/locales/et.global.min.js +1 -1
- package/locales/eu.global.js +1 -1
- package/locales/eu.global.min.js +1 -1
- package/locales/fa.global.js +1 -1
- package/locales/fa.global.min.js +1 -1
- package/locales/fi.global.js +1 -1
- package/locales/fi.global.min.js +1 -1
- package/locales/fr-ca.global.js +1 -1
- package/locales/fr-ca.global.min.js +1 -1
- package/locales/fr-ch.global.js +1 -1
- package/locales/fr-ch.global.min.js +1 -1
- package/locales/fr.global.js +1 -1
- package/locales/fr.global.min.js +1 -1
- package/locales/gl.global.js +1 -1
- package/locales/gl.global.min.js +1 -1
- package/locales/he.global.js +1 -1
- package/locales/he.global.min.js +1 -1
- package/locales/hi.global.js +1 -1
- package/locales/hi.global.min.js +1 -1
- package/locales/hr.global.js +1 -1
- package/locales/hr.global.min.js +1 -1
- package/locales/hu.global.js +1 -1
- package/locales/hu.global.min.js +1 -1
- package/locales/hy-am.global.js +1 -1
- package/locales/hy-am.global.min.js +1 -1
- package/locales/id.global.js +1 -1
- package/locales/id.global.min.js +1 -1
- package/locales/is.global.js +1 -1
- package/locales/is.global.min.js +1 -1
- package/locales/it.global.js +1 -1
- package/locales/it.global.min.js +1 -1
- package/locales/ja.global.js +1 -1
- package/locales/ja.global.min.js +1 -1
- package/locales/ka.global.js +1 -1
- package/locales/ka.global.min.js +1 -1
- package/locales/kk.global.js +1 -1
- package/locales/kk.global.min.js +1 -1
- package/locales/km.global.js +1 -1
- package/locales/km.global.min.js +1 -1
- package/locales/ko.global.js +1 -1
- package/locales/ko.global.min.js +1 -1
- package/locales/ku.global.js +1 -1
- package/locales/ku.global.min.js +1 -1
- package/locales/lb.global.js +1 -1
- package/locales/lb.global.min.js +1 -1
- package/locales/lt.global.js +1 -1
- package/locales/lt.global.min.js +1 -1
- package/locales/lv.global.js +1 -1
- package/locales/lv.global.min.js +1 -1
- package/locales/mk.global.js +1 -1
- package/locales/mk.global.min.js +1 -1
- package/locales/ms.global.js +1 -1
- package/locales/ms.global.min.js +1 -1
- package/locales/nb.global.js +1 -1
- package/locales/nb.global.min.js +1 -1
- package/locales/ne.global.js +1 -1
- package/locales/ne.global.min.js +1 -1
- package/locales/nl.global.js +1 -1
- package/locales/nl.global.min.js +1 -1
- package/locales/nn.global.js +1 -1
- package/locales/nn.global.min.js +1 -1
- package/locales/pl.global.js +1 -1
- package/locales/pl.global.min.js +1 -1
- package/locales/pt-br.global.js +1 -1
- package/locales/pt-br.global.min.js +1 -1
- package/locales/pt.global.js +1 -1
- package/locales/pt.global.min.js +1 -1
- package/locales/ro.global.js +1 -1
- package/locales/ro.global.min.js +1 -1
- package/locales/ru.global.js +1 -1
- package/locales/ru.global.min.js +1 -1
- package/locales/si-lk.global.js +1 -1
- package/locales/si-lk.global.min.js +1 -1
- package/locales/sk.global.js +1 -1
- package/locales/sk.global.min.js +1 -1
- package/locales/sl.global.js +1 -1
- package/locales/sl.global.min.js +1 -1
- package/locales/sm.global.js +1 -1
- package/locales/sm.global.min.js +1 -1
- package/locales/sq.global.js +1 -1
- package/locales/sq.global.min.js +1 -1
- package/locales/sr-cyrl.global.js +1 -1
- package/locales/sr-cyrl.global.min.js +1 -1
- package/locales/sr.global.js +1 -1
- package/locales/sr.global.min.js +1 -1
- package/locales/sv.global.js +1 -1
- package/locales/sv.global.min.js +1 -1
- package/locales/ta-in.global.js +1 -1
- package/locales/ta-in.global.min.js +1 -1
- package/locales/th.global.js +1 -1
- package/locales/th.global.min.js +1 -1
- package/locales/tr.global.js +1 -1
- package/locales/tr.global.min.js +1 -1
- package/locales/ug.global.js +1 -1
- package/locales/ug.global.min.js +1 -1
- package/locales/uk.global.js +1 -1
- package/locales/uk.global.min.js +1 -1
- package/locales/uz-cy.global.js +1 -1
- package/locales/uz-cy.global.min.js +1 -1
- package/locales/uz.global.js +1 -1
- package/locales/uz.global.min.js +1 -1
- package/locales/vi.global.js +1 -1
- package/locales/vi.global.min.js +1 -1
- package/locales/zh-cn.global.js +1 -1
- package/locales/zh-cn.global.min.js +1 -1
- package/locales/zh-tw.global.js +1 -1
- package/locales/zh-tw.global.min.js +1 -1
- package/locales-all.global.js +1 -1
- package/locales-all.global.min.js +1 -1
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -1025,6 +1025,17 @@ function expandRanges(daysOfWeek, startTime, eventDateEnv, calendarDateEnv, fram
|
|
|
1025
1025
|
let dayMarker = internalCommon.startOfDay(framingRange.start);
|
|
1026
1026
|
let endMarker = framingRange.end;
|
|
1027
1027
|
let instanceStarts = [];
|
|
1028
|
+
// https://github.com/fullcalendar/fullcalendar/issues/7934
|
|
1029
|
+
if (startTime) {
|
|
1030
|
+
if (startTime.milliseconds < 0) {
|
|
1031
|
+
// possible for next-day to have negative business hours that go into current day
|
|
1032
|
+
endMarker = internalCommon.addDays(endMarker, 1);
|
|
1033
|
+
}
|
|
1034
|
+
else if (startTime.milliseconds >= 1000 * 60 * 60 * 24) {
|
|
1035
|
+
// possible for prev-day to have >24hr business hours that go into current day
|
|
1036
|
+
dayMarker = internalCommon.addDays(dayMarker, -1);
|
|
1037
|
+
}
|
|
1038
|
+
}
|
|
1028
1039
|
while (dayMarker < endMarker) {
|
|
1029
1040
|
let instanceStart;
|
|
1030
1041
|
// if everyday, or this particular day-of-week
|
|
@@ -2209,7 +2220,7 @@ function sliceEvents(props, allDay) {
|
|
|
2209
2220
|
return internalCommon.sliceEventStore(props.eventStore, props.eventUiBases, props.dateProfile.activeRange, allDay ? props.nextDayThreshold : null).fg;
|
|
2210
2221
|
}
|
|
2211
2222
|
|
|
2212
|
-
const version = '6.1.
|
|
2223
|
+
const version = '6.1.19';
|
|
2213
2224
|
|
|
2214
2225
|
exports.JsonRequestError = internalCommon.JsonRequestError;
|
|
2215
2226
|
exports.Calendar = Calendar;
|
package/index.global.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
FullCalendar Core v6.1.
|
|
2
|
+
FullCalendar Core v6.1.19
|
|
3
3
|
Docs & License: https://fullcalendar.io
|
|
4
4
|
(c) 2024 Adam Shaw
|
|
5
5
|
*/
|
|
@@ -672,6 +672,25 @@ var FullCalendar = (function (exports) {
|
|
|
672
672
|
if (oldProps === newProps) {
|
|
673
673
|
return true;
|
|
674
674
|
}
|
|
675
|
+
// if (debug) {
|
|
676
|
+
// for (let key in newProps) {
|
|
677
|
+
// if (key in oldProps && isObjValsEqual(oldProps[key], newProps[key], equalityFuncs[key])) {
|
|
678
|
+
// // equal
|
|
679
|
+
// } else {
|
|
680
|
+
// if (debug) {
|
|
681
|
+
// console.log('prop difference', key, oldProps[key], newProps[key])
|
|
682
|
+
// }
|
|
683
|
+
// }
|
|
684
|
+
// }
|
|
685
|
+
// // check for props that were omitted in the new
|
|
686
|
+
// for (let key in oldProps) {
|
|
687
|
+
// if (!(key in newProps)) {
|
|
688
|
+
// if (debug) {
|
|
689
|
+
// console.log('prop absent', key)
|
|
690
|
+
// }
|
|
691
|
+
// }
|
|
692
|
+
// }
|
|
693
|
+
// }
|
|
675
694
|
for (let key in newProps) {
|
|
676
695
|
if (key in oldProps && isObjValsEqual(oldProps[key], newProps[key], equalityFuncs[key])) ;
|
|
677
696
|
else {
|
|
@@ -1446,6 +1465,7 @@ var FullCalendar = (function (exports) {
|
|
|
1446
1465
|
viewDidMount: identity,
|
|
1447
1466
|
viewWillUnmount: identity,
|
|
1448
1467
|
nowIndicator: Boolean,
|
|
1468
|
+
nowIndicatorSnap: identity,
|
|
1449
1469
|
nowIndicatorClassNames: identity,
|
|
1450
1470
|
nowIndicatorContent: identity,
|
|
1451
1471
|
nowIndicatorDidMount: identity,
|
|
@@ -1628,6 +1648,7 @@ var FullCalendar = (function (exports) {
|
|
|
1628
1648
|
eventMinWidth: 30,
|
|
1629
1649
|
eventShortHeight: 30,
|
|
1630
1650
|
monthStartFormat: { month: 'long', day: 'numeric' },
|
|
1651
|
+
nowIndicatorSnap: 'auto',
|
|
1631
1652
|
};
|
|
1632
1653
|
// calendar listeners
|
|
1633
1654
|
// ------------------
|
|
@@ -3172,13 +3193,14 @@ var FullCalendar = (function (exports) {
|
|
|
3172
3193
|
|
|
3173
3194
|
/* eslint max-classes-per-file: off */
|
|
3174
3195
|
class PureComponent extends x$1 {
|
|
3196
|
+
// debug: boolean
|
|
3175
3197
|
shouldComponentUpdate(nextProps, nextState) {
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3198
|
+
const shouldUpdate = !compareObjs(this.props, nextProps, this.propEquality /*, this.debug */) ||
|
|
3199
|
+
!compareObjs(this.state, nextState, this.stateEquality /*, this.debug */);
|
|
3200
|
+
// if (this.debug && shouldUpdate) {
|
|
3201
|
+
// console.log('shouldUpdate!')
|
|
3202
|
+
// }
|
|
3203
|
+
return shouldUpdate;
|
|
3182
3204
|
}
|
|
3183
3205
|
// HACK for freakin' React StrictMode
|
|
3184
3206
|
safeSetState(newState) {
|
|
@@ -5469,14 +5491,30 @@ var FullCalendar = (function (exports) {
|
|
|
5469
5491
|
computeTiming() {
|
|
5470
5492
|
let { props, context } = this;
|
|
5471
5493
|
let unroundedNow = context.nowManager.getDateMarker();
|
|
5472
|
-
let
|
|
5473
|
-
|
|
5474
|
-
|
|
5494
|
+
let { nowIndicatorSnap } = context.options;
|
|
5495
|
+
if (nowIndicatorSnap === 'auto') {
|
|
5496
|
+
nowIndicatorSnap =
|
|
5497
|
+
// large unit?
|
|
5498
|
+
/year|month|week|day/.test(props.unit) ||
|
|
5499
|
+
// if slotDuration 30 mins for example, would NOT appear to snap (legacy behavior)
|
|
5500
|
+
(props.unitValue || 1) === 1;
|
|
5501
|
+
}
|
|
5502
|
+
let nowDate;
|
|
5503
|
+
let waitMs;
|
|
5504
|
+
if (nowIndicatorSnap) {
|
|
5505
|
+
nowDate = context.dateEnv.startOf(unroundedNow, props.unit); // aka currentUnitStart
|
|
5506
|
+
let nextUnitStart = context.dateEnv.add(nowDate, createDuration(1, props.unit));
|
|
5507
|
+
waitMs = nextUnitStart.valueOf() - unroundedNow.valueOf();
|
|
5508
|
+
}
|
|
5509
|
+
else {
|
|
5510
|
+
nowDate = unroundedNow;
|
|
5511
|
+
waitMs = 1000 * 60; // 1 minute
|
|
5512
|
+
}
|
|
5475
5513
|
// there is a max setTimeout ms value (https://stackoverflow.com/a/3468650/96342)
|
|
5476
5514
|
// ensure no longer than a day
|
|
5477
5515
|
waitMs = Math.min(1000 * 60 * 60 * 24, waitMs);
|
|
5478
5516
|
return {
|
|
5479
|
-
state: { nowDate
|
|
5517
|
+
state: { nowDate, todayRange: buildDayRange(nowDate) },
|
|
5480
5518
|
waitMs,
|
|
5481
5519
|
};
|
|
5482
5520
|
}
|
|
@@ -6622,8 +6660,11 @@ var FullCalendar = (function (exports) {
|
|
|
6622
6660
|
class EventContainer extends BaseComponent {
|
|
6623
6661
|
constructor() {
|
|
6624
6662
|
super(...arguments);
|
|
6663
|
+
// memo
|
|
6664
|
+
this.buildPublicEvent = memoize((context, eventDef, eventInstance) => new EventImpl(context, eventDef, eventInstance));
|
|
6625
6665
|
this.handleEl = (el) => {
|
|
6626
6666
|
this.el = el;
|
|
6667
|
+
setRef(this.props.elRef, el);
|
|
6627
6668
|
if (el) {
|
|
6628
6669
|
setElSeg(el, this.props.seg);
|
|
6629
6670
|
}
|
|
@@ -6636,7 +6677,7 @@ var FullCalendar = (function (exports) {
|
|
|
6636
6677
|
const { eventRange } = seg;
|
|
6637
6678
|
const { ui } = eventRange;
|
|
6638
6679
|
const renderProps = {
|
|
6639
|
-
event:
|
|
6680
|
+
event: this.buildPublicEvent(context, eventRange.def, eventRange.instance),
|
|
6640
6681
|
view: context.viewApi,
|
|
6641
6682
|
timeText: props.timeText,
|
|
6642
6683
|
textColor: ui.textColor,
|
|
@@ -6655,11 +6696,11 @@ var FullCalendar = (function (exports) {
|
|
|
6655
6696
|
isDragging: Boolean(props.isDragging),
|
|
6656
6697
|
isResizing: Boolean(props.isResizing),
|
|
6657
6698
|
};
|
|
6658
|
-
return (y(ContentContainer,
|
|
6699
|
+
return (y(ContentContainer, { elRef: this.handleEl, elTag: props.elTag, elAttrs: props.elAttrs, elClasses: [
|
|
6659
6700
|
...getEventClassNames(renderProps),
|
|
6660
6701
|
...seg.eventRange.ui.classNames,
|
|
6661
6702
|
...(props.elClasses || []),
|
|
6662
|
-
], renderProps: renderProps, generatorName: "eventContent", customGenerator: options.eventContent, defaultGenerator: props.defaultGenerator, classNameGenerator: options.eventClassNames, didMount: options.eventDidMount, willUnmount: options.eventWillUnmount }))
|
|
6703
|
+
], elStyle: props.elStyle, renderProps: renderProps, generatorName: "eventContent", customGenerator: options.eventContent, defaultGenerator: props.defaultGenerator, classNameGenerator: options.eventClassNames, didMount: options.eventDidMount, willUnmount: options.eventWillUnmount }, props.children));
|
|
6663
6704
|
}
|
|
6664
6705
|
componentDidUpdate(prevProps) {
|
|
6665
6706
|
if (this.el && this.props.seg !== prevProps.seg) {
|
|
@@ -6686,6 +6727,9 @@ var FullCalendar = (function (exports) {
|
|
|
6686
6727
|
Boolean(eventContentArg.isEndResizable) && (y("div", { className: "fc-event-resizer fc-event-resizer-end" }))))));
|
|
6687
6728
|
}
|
|
6688
6729
|
}
|
|
6730
|
+
StandardEvent.addPropsEquality({
|
|
6731
|
+
seg: isPropsEqual,
|
|
6732
|
+
});
|
|
6689
6733
|
function renderInnerContent$1(innerProps) {
|
|
6690
6734
|
return (y("div", { className: "fc-event-main-frame" },
|
|
6691
6735
|
innerProps.timeText && (y("div", { className: "fc-event-time" }, innerProps.timeText)),
|
|
@@ -6700,7 +6744,7 @@ var FullCalendar = (function (exports) {
|
|
|
6700
6744
|
date: context.dateEnv.toDate(props.date),
|
|
6701
6745
|
view: context.viewApi,
|
|
6702
6746
|
};
|
|
6703
|
-
return (y(ContentContainer,
|
|
6747
|
+
return (y(ContentContainer, { elRef: props.elRef, elTag: props.elTag || 'div', elAttrs: props.elAttrs, elClasses: props.elClasses, elStyle: props.elStyle, renderProps: renderProps, generatorName: "nowIndicatorContent", customGenerator: options.nowIndicatorContent, classNameGenerator: options.nowIndicatorClassNames, didMount: options.nowIndicatorDidMount, willUnmount: options.nowIndicatorWillUnmount }, props.children));
|
|
6704
6748
|
}));
|
|
6705
6749
|
|
|
6706
6750
|
const DAY_NUM_FORMAT = createFormatter({ day: 'numeric' });
|
|
@@ -6723,12 +6767,12 @@ var FullCalendar = (function (exports) {
|
|
|
6723
6767
|
dateEnv: context.dateEnv,
|
|
6724
6768
|
monthStartFormat: options.monthStartFormat,
|
|
6725
6769
|
});
|
|
6726
|
-
return (y(ContentContainer, Object.assign({}, props
|
|
6770
|
+
return (y(ContentContainer, { elRef: props.elRef, elTag: props.elTag, elAttrs: Object.assign(Object.assign({}, props.elAttrs), (renderProps.isDisabled ? {} : { 'data-date': formatDayString(props.date) })), elClasses: [
|
|
6727
6771
|
...getDayClassNames(renderProps, context.theme),
|
|
6728
6772
|
...(props.elClasses || []),
|
|
6729
|
-
],
|
|
6773
|
+
], elStyle: props.elStyle, renderProps: renderProps, generatorName: "dayCellContent", customGenerator: options.dayCellContent, defaultGenerator: props.defaultGenerator, classNameGenerator:
|
|
6730
6774
|
// don't use custom classNames if disabled
|
|
6731
|
-
renderProps.isDisabled ? undefined : options.dayCellClassNames, didMount: options.dayCellDidMount, willUnmount: options.dayCellWillUnmount }))
|
|
6775
|
+
renderProps.isDisabled ? undefined : options.dayCellClassNames, didMount: options.dayCellDidMount, willUnmount: options.dayCellWillUnmount }, props.children));
|
|
6732
6776
|
}
|
|
6733
6777
|
}
|
|
6734
6778
|
function hasCustomDayCellContent(options) {
|
|
@@ -6765,7 +6809,7 @@ var FullCalendar = (function (exports) {
|
|
|
6765
6809
|
let text = dateEnv.format(date, format);
|
|
6766
6810
|
let renderProps = { num, text, date };
|
|
6767
6811
|
return (y(ContentContainer // why isn't WeekNumberContentArg being auto-detected?
|
|
6768
|
-
,
|
|
6812
|
+
, { elRef: props.elRef, elTag: props.elTag, elAttrs: props.elAttrs, elClasses: props.elClasses, elStyle: props.elStyle, renderProps: renderProps, generatorName: "weekNumberContent", customGenerator: options.weekNumberContent, defaultGenerator: renderInner, classNameGenerator: options.weekNumberClassNames, didMount: options.weekNumberDidMount, willUnmount: options.weekNumberWillUnmount }, props.children));
|
|
6769
6813
|
}));
|
|
6770
6814
|
function renderInner(innerProps) {
|
|
6771
6815
|
return innerProps.text;
|
|
@@ -7021,10 +7065,10 @@ var FullCalendar = (function (exports) {
|
|
|
7021
7065
|
let { props, context } = this;
|
|
7022
7066
|
let { options } = context;
|
|
7023
7067
|
let renderProps = { view: context.viewApi };
|
|
7024
|
-
return (y(ContentContainer,
|
|
7068
|
+
return (y(ContentContainer, { elRef: props.elRef, elTag: props.elTag || 'div', elAttrs: props.elAttrs, elClasses: [
|
|
7025
7069
|
...buildViewClassNames(props.viewSpec),
|
|
7026
7070
|
...(props.elClasses || []),
|
|
7027
|
-
], renderProps: renderProps, classNameGenerator: options.viewClassNames, generatorName: undefined, didMount: options.viewDidMount, willUnmount: options.viewWillUnmount }
|
|
7071
|
+
], elStyle: props.elStyle, renderProps: renderProps, classNameGenerator: options.viewClassNames, generatorName: undefined, didMount: options.viewDidMount, willUnmount: options.viewWillUnmount }, () => props.children));
|
|
7028
7072
|
}
|
|
7029
7073
|
}
|
|
7030
7074
|
function buildViewClassNames(viewSpec) {
|
|
@@ -8724,6 +8768,17 @@ var FullCalendar = (function (exports) {
|
|
|
8724
8768
|
let dayMarker = startOfDay(framingRange.start);
|
|
8725
8769
|
let endMarker = framingRange.end;
|
|
8726
8770
|
let instanceStarts = [];
|
|
8771
|
+
// https://github.com/fullcalendar/fullcalendar/issues/7934
|
|
8772
|
+
if (startTime) {
|
|
8773
|
+
if (startTime.milliseconds < 0) {
|
|
8774
|
+
// possible for next-day to have negative business hours that go into current day
|
|
8775
|
+
endMarker = addDays(endMarker, 1);
|
|
8776
|
+
}
|
|
8777
|
+
else if (startTime.milliseconds >= 1000 * 60 * 60 * 24) {
|
|
8778
|
+
// possible for prev-day to have >24hr business hours that go into current day
|
|
8779
|
+
dayMarker = addDays(dayMarker, -1);
|
|
8780
|
+
}
|
|
8781
|
+
}
|
|
8727
8782
|
while (dayMarker < endMarker) {
|
|
8728
8783
|
let instanceStart;
|
|
8729
8784
|
// if everyday, or this particular day-of-week
|
|
@@ -9908,7 +9963,7 @@ var FullCalendar = (function (exports) {
|
|
|
9908
9963
|
return sliceEventStore(props.eventStore, props.eventUiBases, props.dateProfile.activeRange, allDay ? props.nextDayThreshold : null).fg;
|
|
9909
9964
|
}
|
|
9910
9965
|
|
|
9911
|
-
const version = '6.1.
|
|
9966
|
+
const version = '6.1.19';
|
|
9912
9967
|
|
|
9913
9968
|
exports.Calendar = Calendar;
|
|
9914
9969
|
exports.Internal = internal;
|