Repository URL to install this package:
|
Version:
2.2.0-rc.2 ▾
|
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var navigate = exports.navigate = {
PREVIOUS: 'PREV',
NEXT: 'NEXT',
TODAY: 'TODAY',
DATE: 'DATE'
};
var views = exports.views = {
WEEK: 'week'
};
var MINUTES_IN_HOUR = exports.MINUTES_IN_HOUR = 60;
var isMobile = exports.isMobile = /iPhone|iPad|iPod|Android/i.test(navigator.userAgent);
var smallScreenSize = exports.smallScreenSize = 768;
var scrollRegistrationOffset = exports.scrollRegistrationOffset = 10;
var isIE = /*@cc_on!@*/exports.isIE = false || !!document.documentMode;
var isEdge = exports.isEdge = !isIE && !!window.StyleMedia;
var maxEventWidth = exports.maxEventWidth = 100;
var overlappedEventWidth = exports.overlappedEventWidth = 50;
// overlapCompensation is calculated based off of the xOffSet calculation
// What events lose in offset, they gain back in width
var overlapCompensation = exports.overlapCompensation = 1.15;
var xOffsetCalculation = exports.xOffsetCalculation = 0.85;