@fullcalendar/timeline
Advanced tools
Comparing version 5.0.0 to 5.1.0
14
main.js
/*! | ||
FullCalendar Scheduler v5.0.0 | ||
FullCalendar Scheduler v5.1.0 | ||
Docs & License: https://fullcalendar.io/scheduler | ||
@@ -8,3 +8,3 @@ (c) 2020 Adam Shaw | ||
import { config, createFormatter, greatestDurationDenominator, isSingleDay, createDuration, wholeDivideDurations, asRoughMs, addDays, startOfDay, padStart, asRoughSeconds, asRoughMinutes, diffWholeDays, isInt, computeVisibleDayRange, memoizeObjArg, buildClassNameNormalizer, getDateMeta, getSlotClassNames, getDayClassNames, buildNavLinkData, createElement, MountHook, BaseComponent, ContentHook, Fragment, createRef, NowTimer, NowIndicatorRoot, findElements, RenderHook, rangeContainsMarker, PositionCache, findDirectChildren, RefMap, isElVisible, multiplyDuration, buildEventRangeKey, BgEvent, getSegMeta, renderFill, intersectRanges, addMs, Slicer, StandardEvent, sortEventSegs, memoize, mapHash, DateComponent, getStickyHeaderDates, getStickyFooterScrollbar, ViewRoot, renderScrollShim, createPlugin } from '@fullcalendar/common'; | ||
import { config, createFormatter, greatestDurationDenominator, isSingleDay, createDuration, wholeDivideDurations, asRoughMs, addDays, startOfDay, padStart, asRoughSeconds, asRoughMinutes, diffWholeDays, isInt, computeVisibleDayRange, memoizeObjArg, buildClassNameNormalizer, getDateMeta, getSlotClassNames, getDayClassNames, buildNavLinkData, createElement, MountHook, BaseComponent, ContentHook, Fragment, createRef, NowTimer, NowIndicatorRoot, findElements, RenderHook, rangeContainsMarker, PositionCache, findDirectChildren, RefMap, multiplyDuration, buildEventRangeKey, BgEvent, getSegMeta, renderFill, intersectRanges, addMs, Slicer, StandardEvent, sortEventSegs, memoize, mapHash, DateComponent, getStickyHeaderDates, getStickyFooterScrollbar, ViewRoot, renderScrollShim, createPlugin } from '@fullcalendar/common'; | ||
import premiumCommonPlugin from '@fullcalendar/premium-common'; | ||
@@ -753,3 +753,3 @@ import { __extends, __assign } from 'tslib'; | ||
var rootEl = this.rootElRef.current; | ||
if (isElVisible(rootEl)) { // not hidden by css | ||
if (rootEl.offsetWidth) { | ||
this.coords = new TimelineCoords(this.rootElRef.current, collectCellEls(this.cellElRefs.currentMap, props.tDateProfile.slotDates), props.dateProfile, props.tDateProfile, context.dateEnv, context.isRtl); | ||
@@ -909,3 +909,3 @@ if (props.onCoords) { | ||
var dims = dimHash[key]; | ||
if (dims) { // MORE protection | ||
if (dims) { // MORE-link protection | ||
var top_1 = 0; | ||
@@ -1004,5 +1004,5 @@ var insertI = 0; // where to start searching for an insert position | ||
return { | ||
left: harnessRect.left - originRect_1.left, | ||
right: harnessRect.right - originRect_1.left, | ||
height: harnessRect.height | ||
left: Math.round(harnessRect.left - originRect_1.left), | ||
right: Math.round(harnessRect.right - originRect_1.left), | ||
height: Math.round(harnessRect.height) | ||
}; | ||
@@ -1009,0 +1009,0 @@ }) |
{ | ||
"name": "@fullcalendar/timeline", | ||
"version": "5.0.0", | ||
"version": "5.1.0", | ||
"title": "FullCalendar Timeline Plugin", | ||
@@ -8,5 +8,5 @@ "description": "Display events on a horizontal time axis (without resources)", | ||
"dependencies": { | ||
"@fullcalendar/common": "~5.0.0", | ||
"@fullcalendar/premium-common": "~5.0.0", | ||
"@fullcalendar/scrollgrid": "~5.0.0", | ||
"@fullcalendar/common": "~5.1.0", | ||
"@fullcalendar/premium-common": "~5.1.0", | ||
"@fullcalendar/scrollgrid": "~5.1.0", | ||
"tslib": "^2.0.0" | ||
@@ -13,0 +13,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
181375
1580
+ Added@fullcalendar/common@5.1.0(transitive)
+ Added@fullcalendar/premium-common@5.1.0(transitive)
+ Added@fullcalendar/scrollgrid@5.1.0(transitive)
- Removed@fullcalendar/common@5.0.1(transitive)
- Removed@fullcalendar/premium-common@5.0.0(transitive)
- Removed@fullcalendar/scrollgrid@5.0.0(transitive)
Updated@fullcalendar/common@~5.1.0