vendor/assets/javascripts/fullcalendar.js in fullcalendar-3.8.2 vs vendor/assets/javascripts/fullcalendar.js in fullcalendar-3.9.0
- old
+ new
@@ -1,7 +1,7 @@
/*!
- * FullCalendar v3.8.2
+ * FullCalendar v3.9.0
* Docs & License: https://fullcalendar.io/
* (c) 2018 Adam Shaw
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
@@ -1057,11 +1057,11 @@
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = __webpack_require__(2);
var $ = __webpack_require__(3);
var ParsableModelMixin_1 = __webpack_require__(208);
-var Class_1 = __webpack_require__(32);
+var Class_1 = __webpack_require__(33);
var EventDefParser_1 = __webpack_require__(49);
var EventSource = /** @class */ (function (_super) {
tslib_1.__extends(EventSource, _super);
// can we do away with calendar? at least for the abstract?
// useful for buildEventDef
@@ -1604,11 +1604,11 @@
/* 13 */
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = __webpack_require__(2);
-var EventDef_1 = __webpack_require__(33);
+var EventDef_1 = __webpack_require__(34);
var EventInstance_1 = __webpack_require__(209);
var EventDateProfile_1 = __webpack_require__(17);
var SingleEventDef = /** @class */ (function (_super) {
tslib_1.__extends(SingleEventDef, _super);
function SingleEventDef() {
@@ -1723,11 +1723,11 @@
/***/ }),
/* 16 */
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", { value: true });
-exports.version = '3.8.2';
+exports.version = '3.9.0';
// When introducing internal API incompatibilities (where fullcalendar plugins would break),
// the minor version of the calendar should be upped (ex: 2.7.2 -> 2.8.0)
// and the below integer should be incremented.
exports.internalApiVersion = 12;
var util_1 = __webpack_require__(4);
@@ -1758,11 +1758,11 @@
exports.intersectRects = util_1.intersectRects;
var date_formatting_1 = __webpack_require__(47);
exports.formatDate = date_formatting_1.formatDate;
exports.formatRange = date_formatting_1.formatRange;
exports.queryMostGranularFormatUnit = date_formatting_1.queryMostGranularFormatUnit;
-var locale_1 = __webpack_require__(30);
+var locale_1 = __webpack_require__(31);
exports.datepickerLocale = locale_1.datepickerLocale;
exports.locale = locale_1.locale;
var moment_ext_1 = __webpack_require__(10);
exports.moment = moment_ext_1.default;
var EmitterMixin_1 = __webpack_require__(11);
@@ -1777,15 +1777,15 @@
exports.UnzonedRange = UnzonedRange_1.default;
var ComponentFootprint_1 = __webpack_require__(12);
exports.ComponentFootprint = ComponentFootprint_1.default;
var BusinessHourGenerator_1 = __webpack_require__(212);
exports.BusinessHourGenerator = BusinessHourGenerator_1.default;
-var EventDef_1 = __webpack_require__(33);
+var EventDef_1 = __webpack_require__(34);
exports.EventDef = EventDef_1.default;
-var EventDefMutation_1 = __webpack_require__(36);
+var EventDefMutation_1 = __webpack_require__(37);
exports.EventDefMutation = EventDefMutation_1.default;
-var EventSourceParser_1 = __webpack_require__(37);
+var EventSourceParser_1 = __webpack_require__(38);
exports.EventSourceParser = EventSourceParser_1.default;
var EventSource_1 = __webpack_require__(6);
exports.EventSource = EventSource_1.default;
var ThemeRegistry_1 = __webpack_require__(51);
exports.defineThemeSystem = ThemeRegistry_1.defineThemeSystem;
@@ -1795,39 +1795,39 @@
exports.ArrayEventSource = ArrayEventSource_1.default;
var FuncEventSource_1 = __webpack_require__(215);
exports.FuncEventSource = FuncEventSource_1.default;
var JsonFeedEventSource_1 = __webpack_require__(216);
exports.JsonFeedEventSource = JsonFeedEventSource_1.default;
-var EventFootprint_1 = __webpack_require__(35);
+var EventFootprint_1 = __webpack_require__(36);
exports.EventFootprint = EventFootprint_1.default;
-var Class_1 = __webpack_require__(32);
+var Class_1 = __webpack_require__(33);
exports.Class = Class_1.default;
var Mixin_1 = __webpack_require__(14);
exports.Mixin = Mixin_1.default;
var CoordCache_1 = __webpack_require__(53);
exports.CoordCache = CoordCache_1.default;
var DragListener_1 = __webpack_require__(54);
exports.DragListener = DragListener_1.default;
-var Promise_1 = __webpack_require__(19);
+var Promise_1 = __webpack_require__(20);
exports.Promise = Promise_1.default;
var TaskQueue_1 = __webpack_require__(217);
exports.TaskQueue = TaskQueue_1.default;
var RenderQueue_1 = __webpack_require__(218);
exports.RenderQueue = RenderQueue_1.default;
var Scroller_1 = __webpack_require__(39);
exports.Scroller = Scroller_1.default;
-var Theme_1 = __webpack_require__(38);
+var Theme_1 = __webpack_require__(19);
exports.Theme = Theme_1.default;
var DateComponent_1 = __webpack_require__(219);
exports.DateComponent = DateComponent_1.default;
var InteractiveDateComponent_1 = __webpack_require__(40);
exports.InteractiveDateComponent = InteractiveDateComponent_1.default;
var Calendar_1 = __webpack_require__(220);
exports.Calendar = Calendar_1.default;
var View_1 = __webpack_require__(41);
exports.View = View_1.default;
-var ViewRegistry_1 = __webpack_require__(21);
+var ViewRegistry_1 = __webpack_require__(22);
exports.defineView = ViewRegistry_1.defineView;
exports.getViewConfig = ViewRegistry_1.getViewConfig;
var DayTableMixin_1 = __webpack_require__(55);
exports.DayTableMixin = DayTableMixin_1.default;
var BusinessHourRenderer_1 = __webpack_require__(56);
@@ -1956,11 +1956,11 @@
/* 18 */
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", { value: true });
var UnzonedRange_1 = __webpack_require__(5);
-var util_1 = __webpack_require__(34);
+var util_1 = __webpack_require__(35);
var EventRange_1 = __webpack_require__(211);
/*
It's expected that there will be at least one EventInstance,
OR that an explicitEventDef is assigned.
*/
@@ -2022,10 +2022,76 @@
/* 19 */
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", { value: true });
var $ = __webpack_require__(3);
+var Theme = /** @class */ (function () {
+ function Theme(optionsManager) {
+ this.optionsManager = optionsManager;
+ this.processIconOverride();
+ }
+ Theme.prototype.processIconOverride = function () {
+ if (this.iconOverrideOption) {
+ this.setIconOverride(this.optionsManager.get(this.iconOverrideOption));
+ }
+ };
+ Theme.prototype.setIconOverride = function (iconOverrideHash) {
+ var iconClassesCopy;
+ var buttonName;
+ if ($.isPlainObject(iconOverrideHash)) {
+ iconClassesCopy = $.extend({}, this.iconClasses);
+ for (buttonName in iconOverrideHash) {
+ iconClassesCopy[buttonName] = this.applyIconOverridePrefix(iconOverrideHash[buttonName]);
+ }
+ this.iconClasses = iconClassesCopy;
+ }
+ else if (iconOverrideHash === false) {
+ this.iconClasses = {};
+ }
+ };
+ Theme.prototype.applyIconOverridePrefix = function (className) {
+ var prefix = this.iconOverridePrefix;
+ if (prefix && className.indexOf(prefix) !== 0) {
+ className = prefix + className;
+ }
+ return className;
+ };
+ Theme.prototype.getClass = function (key) {
+ return this.classes[key] || '';
+ };
+ Theme.prototype.getIconClass = function (buttonName) {
+ var className = this.iconClasses[buttonName];
+ if (className) {
+ return this.baseIconClass + ' ' + className;
+ }
+ return '';
+ };
+ Theme.prototype.getCustomButtonIconClass = function (customButtonProps) {
+ var className;
+ if (this.iconOverrideCustomButtonOption) {
+ className = customButtonProps[this.iconOverrideCustomButtonOption];
+ if (className) {
+ return this.baseIconClass + ' ' + this.applyIconOverridePrefix(className);
+ }
+ }
+ return '';
+ };
+ return Theme;
+}());
+exports.default = Theme;
+Theme.prototype.classes = {};
+Theme.prototype.iconClasses = {};
+Theme.prototype.baseIconClass = '';
+Theme.prototype.iconOverridePrefix = '';
+
+
+/***/ }),
+/* 20 */
+/***/ (function(module, exports, __webpack_require__) {
+
+Object.defineProperty(exports, "__esModule", { value: true });
+var $ = __webpack_require__(3);
var PromiseStub = {
construct: function (executor) {
var deferred = $.Deferred();
var promise = deferred.promise();
if (typeof executor === 'function') {
@@ -2070,11 +2136,11 @@
};
}
/***/ }),
-/* 20 */
+/* 21 */
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", { value: true });
var $ = __webpack_require__(3);
var exportHooks = __webpack_require__(16);
@@ -2241,11 +2307,11 @@
ListenerMixin_1.default.mixInto(GlobalEmitter);
EmitterMixin_1.default.mixInto(GlobalEmitter);
/***/ }),
-/* 21 */
+/* 22 */
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", { value: true });
var exportHooks = __webpack_require__(16);
exports.viewHash = {};
@@ -2259,11 +2325,11 @@
}
exports.getViewConfig = getViewConfig;
/***/ }),
-/* 22 */
+/* 23 */
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = __webpack_require__(2);
var util_1 = __webpack_require__(4);
@@ -2422,25 +2488,25 @@
return true;
}
/***/ }),
-/* 23 */,
/* 24 */,
/* 25 */,
/* 26 */,
/* 27 */,
/* 28 */,
/* 29 */,
-/* 30 */
+/* 30 */,
+/* 31 */
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", { value: true });
var $ = __webpack_require__(3);
var moment = __webpack_require__(0);
var exportHooks = __webpack_require__(16);
-var options_1 = __webpack_require__(31);
+var options_1 = __webpack_require__(32);
var util_1 = __webpack_require__(4);
exports.localeOptionHash = {};
exportHooks.locales = exports.localeOptionHash;
// NOTE: can't guarantee any of these computations will run because not every locale has datepicker
// configs, so make sure there are English fallbacks for these in the defaults file.
@@ -2599,11 +2665,11 @@
// Also, sets it as the default.
locale('en', options_1.englishDefaults);
/***/ }),
-/* 31 */
+/* 32 */
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", { value: true });
var util_1 = __webpack_require__(4);
exports.globalDefaults = {
@@ -2713,11 +2779,11 @@
}
exports.mergeOptions = mergeOptions;
/***/ }),
-/* 32 */
+/* 33 */
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = __webpack_require__(2);
var util_1 = __webpack_require__(4);
@@ -2747,11 +2813,11 @@
}());
exports.default = Class;
/***/ }),
-/* 33 */
+/* 34 */
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", { value: true });
var $ = __webpack_require__(3);
var ParsableModelMixin_1 = __webpack_require__(208);
@@ -2898,16 +2964,16 @@
textColor: true
});
/***/ }),
-/* 34 */
+/* 35 */
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", { value: true });
var EventRange_1 = __webpack_require__(211);
-var EventFootprint_1 = __webpack_require__(35);
+var EventFootprint_1 = __webpack_require__(36);
var ComponentFootprint_1 = __webpack_require__(12);
function eventDefsToEventInstances(eventDefs, unzonedRange) {
var eventInstances = [];
var i;
for (i = 0; i < eventDefs.length; i++) {
@@ -2935,11 +3001,11 @@
}
exports.eventFootprintToComponentFootprint = eventFootprintToComponentFootprint;
/***/ }),
-/* 35 */
+/* 36 */
/***/ (function(module, exports) {
Object.defineProperty(exports, "__esModule", { value: true });
var EventFootprint = /** @class */ (function () {
function EventFootprint(componentFootprint, eventDef, eventInstance) {
@@ -2956,17 +3022,17 @@
}());
exports.default = EventFootprint;
/***/ }),
-/* 36 */
+/* 37 */
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", { value: true });
var util_1 = __webpack_require__(4);
var EventDateProfile_1 = __webpack_require__(17);
-var EventDef_1 = __webpack_require__(33);
+var EventDef_1 = __webpack_require__(34);
var EventDefDateMutation_1 = __webpack_require__(50);
var SingleEventDef_1 = __webpack_require__(13);
var EventDefMutation = /** @class */ (function () {
function EventDefMutation() {
}
@@ -3070,11 +3136,11 @@
}());
exports.default = EventDefMutation;
/***/ }),
-/* 37 */
+/* 38 */
/***/ (function(module, exports) {
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
sourceClasses: [],
@@ -3094,84 +3160,18 @@
}
};
/***/ }),
-/* 38 */
-/***/ (function(module, exports, __webpack_require__) {
-
-Object.defineProperty(exports, "__esModule", { value: true });
-var $ = __webpack_require__(3);
-var Theme = /** @class */ (function () {
- function Theme(optionsManager) {
- this.optionsManager = optionsManager;
- this.processIconOverride();
- }
- Theme.prototype.processIconOverride = function () {
- if (this.iconOverrideOption) {
- this.setIconOverride(this.optionsManager.get(this.iconOverrideOption));
- }
- };
- Theme.prototype.setIconOverride = function (iconOverrideHash) {
- var iconClassesCopy;
- var buttonName;
- if ($.isPlainObject(iconOverrideHash)) {
- iconClassesCopy = $.extend({}, this.iconClasses);
- for (buttonName in iconOverrideHash) {
- iconClassesCopy[buttonName] = this.applyIconOverridePrefix(iconOverrideHash[buttonName]);
- }
- this.iconClasses = iconClassesCopy;
- }
- else if (iconOverrideHash === false) {
- this.iconClasses = {};
- }
- };
- Theme.prototype.applyIconOverridePrefix = function (className) {
- var prefix = this.iconOverridePrefix;
- if (prefix && className.indexOf(prefix) !== 0) {
- className = prefix + className;
- }
- return className;
- };
- Theme.prototype.getClass = function (key) {
- return this.classes[key] || '';
- };
- Theme.prototype.getIconClass = function (buttonName) {
- var className = this.iconClasses[buttonName];
- if (className) {
- return this.baseIconClass + ' ' + className;
- }
- return '';
- };
- Theme.prototype.getCustomButtonIconClass = function (customButtonProps) {
- var className;
- if (this.iconOverrideCustomButtonOption) {
- className = customButtonProps[this.iconOverrideCustomButtonOption];
- if (className) {
- return this.baseIconClass + ' ' + this.applyIconOverridePrefix(className);
- }
- }
- return '';
- };
- return Theme;
-}());
-exports.default = Theme;
-Theme.prototype.classes = {};
-Theme.prototype.iconClasses = {};
-Theme.prototype.baseIconClass = '';
-Theme.prototype.iconOverridePrefix = '';
-
-
-/***/ }),
/* 39 */
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = __webpack_require__(2);
var $ = __webpack_require__(3);
var util_1 = __webpack_require__(4);
-var Class_1 = __webpack_require__(32);
+var Class_1 = __webpack_require__(33);
/*
Embodies a div that has potential scrollbars
*/
var Scroller = /** @class */ (function (_super) {
tslib_1.__extends(Scroller, _super);
@@ -3256,11 +3256,11 @@
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = __webpack_require__(2);
var $ = __webpack_require__(3);
var util_1 = __webpack_require__(4);
var DateComponent_1 = __webpack_require__(219);
-var GlobalEmitter_1 = __webpack_require__(20);
+var GlobalEmitter_1 = __webpack_require__(21);
var InteractiveDateComponent = /** @class */ (function (_super) {
tslib_1.__extends(InteractiveDateComponent, _super);
function InteractiveDateComponent(_view, _options) {
var _this = _super.call(this, _view, _options) || this;
// self-config, overridable by subclasses
@@ -3514,11 +3514,11 @@
var moment = __webpack_require__(0);
var util_1 = __webpack_require__(4);
var RenderQueue_1 = __webpack_require__(218);
var DateProfileGenerator_1 = __webpack_require__(221);
var InteractiveDateComponent_1 = __webpack_require__(40);
-var GlobalEmitter_1 = __webpack_require__(20);
+var GlobalEmitter_1 = __webpack_require__(21);
var UnzonedRange_1 = __webpack_require__(5);
/* An abstract class from which other views inherit from
----------------------------------------------------------------------------------------------------------------------*/
var View = /** @class */ (function (_super) {
tslib_1.__extends(View, _super);
@@ -4910,11 +4910,11 @@
/* 48 */
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = __webpack_require__(2);
-var Class_1 = __webpack_require__(32);
+var Class_1 = __webpack_require__(33);
var EmitterMixin_1 = __webpack_require__(11);
var ListenerMixin_1 = __webpack_require__(7);
var Model = /** @class */ (function (_super) {
tslib_1.__extends(Model, _super);
function Model() {
@@ -5368,11 +5368,11 @@
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = __webpack_require__(2);
var $ = __webpack_require__(3);
var util_1 = __webpack_require__(4);
-var Promise_1 = __webpack_require__(19);
+var Promise_1 = __webpack_require__(20);
var EventSource_1 = __webpack_require__(6);
var SingleEventDef_1 = __webpack_require__(13);
var ArrayEventSource = /** @class */ (function (_super) {
tslib_1.__extends(ArrayEventSource, _super);
function ArrayEventSource(calendar) {
@@ -5645,11 +5645,11 @@
Object.defineProperty(exports, "__esModule", { value: true });
var $ = __webpack_require__(3);
var util_1 = __webpack_require__(4);
var ListenerMixin_1 = __webpack_require__(7);
-var GlobalEmitter_1 = __webpack_require__(20);
+var GlobalEmitter_1 = __webpack_require__(21);
/* Tracks a drag's mouse movement, firing various handlers
----------------------------------------------------------------------------------------------------------------------*/
// TODO: use Emitter
var DragListener = /** @class */ (function () {
function DragListener(options) {
@@ -6509,11 +6509,11 @@
/* 58 */
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", { value: true });
var SingleEventDef_1 = __webpack_require__(13);
-var EventFootprint_1 = __webpack_require__(35);
+var EventFootprint_1 = __webpack_require__(36);
var EventSource_1 = __webpack_require__(6);
var HelperRenderer = /** @class */ (function () {
function HelperRenderer(component, eventRenderer) {
this.view = component._getView();
this.component = component;
@@ -6576,11 +6576,11 @@
/* 59 */
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = __webpack_require__(2);
-var GlobalEmitter_1 = __webpack_require__(20);
+var GlobalEmitter_1 = __webpack_require__(21);
var Interaction_1 = __webpack_require__(15);
var EventPointing = /** @class */ (function (_super) {
tslib_1.__extends(EventPointing, _super);
function EventPointing() {
return _super !== null && _super.apply(this, arguments) || this;
@@ -6687,11 +6687,11 @@
var util_1 = __webpack_require__(4);
var CoordCache_1 = __webpack_require__(53);
var Popover_1 = __webpack_require__(249);
var UnzonedRange_1 = __webpack_require__(5);
var ComponentFootprint_1 = __webpack_require__(12);
-var EventFootprint_1 = __webpack_require__(35);
+var EventFootprint_1 = __webpack_require__(36);
var BusinessHourRenderer_1 = __webpack_require__(56);
var StandardInteractionsMixin_1 = __webpack_require__(60);
var InteractiveDateComponent_1 = __webpack_require__(40);
var DayTableMixin_1 = __webpack_require__(55);
var DayGridEventRenderer_1 = __webpack_require__(250);
@@ -7689,11 +7689,11 @@
Object.defineProperty(exports, "__esModule", { value: true });
var UnzonedRange_1 = __webpack_require__(5);
var ComponentFootprint_1 = __webpack_require__(12);
var EventDefParser_1 = __webpack_require__(49);
var EventSource_1 = __webpack_require__(6);
-var util_1 = __webpack_require__(34);
+var util_1 = __webpack_require__(35);
var Constraints = /** @class */ (function () {
function Constraints(eventManager, _calendar) {
this.eventManager = eventManager;
this._calendar = _calendar;
}
@@ -8056,11 +8056,11 @@
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = __webpack_require__(2);
var $ = __webpack_require__(3);
var moment = __webpack_require__(0);
-var EventDef_1 = __webpack_require__(33);
+var EventDef_1 = __webpack_require__(34);
var EventInstance_1 = __webpack_require__(209);
var EventDateProfile_1 = __webpack_require__(17);
var RecurringEventDef = /** @class */ (function (_super) {
tslib_1.__extends(RecurringEventDef, _super);
function RecurringEventDef() {
@@ -8171,11 +8171,11 @@
/* 212 */
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", { value: true });
var $ = __webpack_require__(3);
-var util_1 = __webpack_require__(34);
+var util_1 = __webpack_require__(35);
var EventInstanceGroup_1 = __webpack_require__(18);
var RecurringEventDef_1 = __webpack_require__(210);
var EventSource_1 = __webpack_require__(6);
var BUSINESS_HOUR_EVENT_DEFAULTS = {
start: '09:00',
@@ -8240,11 +8240,11 @@
/* 213 */
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = __webpack_require__(2);
-var Theme_1 = __webpack_require__(38);
+var Theme_1 = __webpack_require__(19);
var StandardTheme = /** @class */ (function (_super) {
tslib_1.__extends(StandardTheme, _super);
function StandardTheme() {
return _super !== null && _super.apply(this, arguments) || this;
}
@@ -8289,11 +8289,11 @@
/* 214 */
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = __webpack_require__(2);
-var Theme_1 = __webpack_require__(38);
+var Theme_1 = __webpack_require__(19);
var JqueryUiTheme = /** @class */ (function (_super) {
tslib_1.__extends(JqueryUiTheme, _super);
function JqueryUiTheme() {
return _super !== null && _super.apply(this, arguments) || this;
}
@@ -8340,11 +8340,11 @@
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = __webpack_require__(2);
var $ = __webpack_require__(3);
-var Promise_1 = __webpack_require__(19);
+var Promise_1 = __webpack_require__(20);
var EventSource_1 = __webpack_require__(6);
var FuncEventSource = /** @class */ (function (_super) {
tslib_1.__extends(FuncEventSource, _super);
function FuncEventSource() {
return _super !== null && _super.apply(this, arguments) || this;
@@ -8395,11 +8395,11 @@
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = __webpack_require__(2);
var $ = __webpack_require__(3);
var util_1 = __webpack_require__(4);
-var Promise_1 = __webpack_require__(19);
+var Promise_1 = __webpack_require__(20);
var EventSource_1 = __webpack_require__(6);
var JsonFeedEventSource = /** @class */ (function (_super) {
tslib_1.__extends(JsonFeedEventSource, _super);
function JsonFeedEventSource() {
return _super !== null && _super.apply(this, arguments) || this;
@@ -8711,11 +8711,11 @@
var moment = __webpack_require__(0);
var util_1 = __webpack_require__(4);
var moment_ext_1 = __webpack_require__(10);
var date_formatting_1 = __webpack_require__(47);
var Component_1 = __webpack_require__(237);
-var util_2 = __webpack_require__(34);
+var util_2 = __webpack_require__(35);
var DateComponent = /** @class */ (function (_super) {
tslib_1.__extends(DateComponent, _super);
function DateComponent(_view, _options) {
var _this = _super.call(this) || this;
_this.isRTL = false; // frequently accessed options
@@ -9282,30 +9282,30 @@
Object.defineProperty(exports, "__esModule", { value: true });
var $ = __webpack_require__(3);
var moment = __webpack_require__(0);
var util_1 = __webpack_require__(4);
-var options_1 = __webpack_require__(31);
+var options_1 = __webpack_require__(32);
var Iterator_1 = __webpack_require__(238);
-var GlobalEmitter_1 = __webpack_require__(20);
+var GlobalEmitter_1 = __webpack_require__(21);
var EmitterMixin_1 = __webpack_require__(11);
var ListenerMixin_1 = __webpack_require__(7);
var Toolbar_1 = __webpack_require__(239);
var OptionsManager_1 = __webpack_require__(240);
var ViewSpecManager_1 = __webpack_require__(241);
var Constraints_1 = __webpack_require__(207);
-var locale_1 = __webpack_require__(30);
+var locale_1 = __webpack_require__(31);
var moment_ext_1 = __webpack_require__(10);
var UnzonedRange_1 = __webpack_require__(5);
var ComponentFootprint_1 = __webpack_require__(12);
var EventDateProfile_1 = __webpack_require__(17);
var EventManager_1 = __webpack_require__(242);
var BusinessHourGenerator_1 = __webpack_require__(212);
-var EventSourceParser_1 = __webpack_require__(37);
+var EventSourceParser_1 = __webpack_require__(38);
var EventDefParser_1 = __webpack_require__(49);
var SingleEventDef_1 = __webpack_require__(13);
-var EventDefMutation_1 = __webpack_require__(36);
+var EventDefMutation_1 = __webpack_require__(37);
var EventSource_1 = __webpack_require__(6);
var ThemeRegistry_1 = __webpack_require__(51);
var Calendar = /** @class */ (function () {
function Calendar(el, overrides) {
this.loadingLevel = 0; // number of simultaneous loading tasks
@@ -10498,11 +10498,11 @@
var moment = __webpack_require__(0);
var exportHooks = __webpack_require__(16);
var util_1 = __webpack_require__(4);
var moment_ext_1 = __webpack_require__(10);
var ListenerMixin_1 = __webpack_require__(7);
-var HitDragListener_1 = __webpack_require__(22);
+var HitDragListener_1 = __webpack_require__(23);
var SingleEventDef_1 = __webpack_require__(13);
var EventInstanceGroup_1 = __webpack_require__(18);
var EventSource_1 = __webpack_require__(6);
var Interaction_1 = __webpack_require__(15);
var ExternalDropping = /** @class */ (function (_super) {
@@ -10709,13 +10709,13 @@
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = __webpack_require__(2);
var $ = __webpack_require__(3);
var util_1 = __webpack_require__(4);
-var EventDefMutation_1 = __webpack_require__(36);
+var EventDefMutation_1 = __webpack_require__(37);
var EventDefDateMutation_1 = __webpack_require__(50);
-var HitDragListener_1 = __webpack_require__(22);
+var HitDragListener_1 = __webpack_require__(23);
var Interaction_1 = __webpack_require__(15);
var EventResizing = /** @class */ (function (_super) {
tslib_1.__extends(EventResizing, _super);
/*
component impements:
@@ -10900,14 +10900,14 @@
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = __webpack_require__(2);
var util_1 = __webpack_require__(4);
-var EventDefMutation_1 = __webpack_require__(36);
+var EventDefMutation_1 = __webpack_require__(37);
var EventDefDateMutation_1 = __webpack_require__(50);
var DragListener_1 = __webpack_require__(54);
-var HitDragListener_1 = __webpack_require__(22);
+var HitDragListener_1 = __webpack_require__(23);
var MouseFollower_1 = __webpack_require__(244);
var Interaction_1 = __webpack_require__(15);
var EventDragging = /** @class */ (function (_super) {
tslib_1.__extends(EventDragging, _super);
/*
@@ -11174,11 +11174,11 @@
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = __webpack_require__(2);
var util_1 = __webpack_require__(4);
-var HitDragListener_1 = __webpack_require__(22);
+var HitDragListener_1 = __webpack_require__(23);
var ComponentFootprint_1 = __webpack_require__(12);
var UnzonedRange_1 = __webpack_require__(5);
var Interaction_1 = __webpack_require__(15);
var DateSelecting = /** @class */ (function (_super) {
tslib_1.__extends(DateSelecting, _super);
@@ -12241,11 +12241,15 @@
};
ListView.prototype.unrenderSkeleton = function () {
this.scroller.destroy(); // will remove the Grid too
};
ListView.prototype.updateSize = function (totalHeight, isAuto, isResize) {
- this.scroller.setHeight(this.computeScrollerHeight(totalHeight));
+ _super.prototype.updateSize.call(this, totalHeight, isAuto, isResize);
+ this.scroller.clear(); // sets height to 'auto' and clears overflow
+ if (!isAuto) {
+ this.scroller.setHeight(this.computeScrollerHeight(totalHeight));
+ }
};
ListView.prototype.computeScrollerHeight = function (totalHeight) {
return totalHeight -
util_1.subtractInnerElHeight(this.el, this.scroller.el); // everything that's NOT the scroller
};
@@ -12340,11 +12344,12 @@
// generates the HTML for the day headers that live amongst the event rows
ListView.prototype.dayHeaderHtml = function (dayDate) {
var mainFormat = this.opt('listDayFormat');
var altFormat = this.opt('listDayAltFormat');
return '<tr class="fc-list-heading" data-date="' + dayDate.format('YYYY-MM-DD') + '">' +
- '<td class="' + this.calendar.theme.getClass('widgetHeader') + '" colspan="3">' +
+ '<td class="' + (this.calendar.theme.getClass('tableListHeading') ||
+ this.calendar.theme.getClass('widgetHeader')) + '" colspan="3">' +
(mainFormat ?
this.buildGotoAnchorHtml(dayDate, { 'class': 'fc-list-heading-main' }, util_1.htmlEscape(dayDate.format(mainFormat)) // inner HTML
) :
'') +
(altFormat ?
@@ -12377,14 +12382,14 @@
// for intentional side-effects
__webpack_require__(10);
__webpack_require__(47);
__webpack_require__(256);
__webpack_require__(257);
-__webpack_require__(259);
__webpack_require__(260);
__webpack_require__(261);
__webpack_require__(262);
+__webpack_require__(263);
$.fullCalendar = exportHooks;
$.fn.fullCalendar = function (options) {
var args = Array.prototype.slice.call(arguments, 1); // for a possible method call
var res = this; // what this function will return (this jQuery object by default)
this.each(function (i, _element) {
@@ -12735,12 +12740,12 @@
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = __webpack_require__(2);
var $ = __webpack_require__(3);
var util_1 = __webpack_require__(4);
-var options_1 = __webpack_require__(31);
-var locale_1 = __webpack_require__(30);
+var options_1 = __webpack_require__(32);
+var locale_1 = __webpack_require__(31);
var Model_1 = __webpack_require__(48);
var OptionsManager = /** @class */ (function (_super) {
tslib_1.__extends(OptionsManager, _super);
function OptionsManager(_calendar, overrides) {
var _this = _super.call(this) || this;
@@ -12835,14 +12840,14 @@
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", { value: true });
var moment = __webpack_require__(0);
var $ = __webpack_require__(3);
-var ViewRegistry_1 = __webpack_require__(21);
+var ViewRegistry_1 = __webpack_require__(22);
var util_1 = __webpack_require__(4);
-var options_1 = __webpack_require__(31);
-var locale_1 = __webpack_require__(30);
+var options_1 = __webpack_require__(32);
+var locale_1 = __webpack_require__(31);
var ViewSpecManager = /** @class */ (function () {
function ViewSpecManager(optionsManager, _calendar) {
this.optionsManager = optionsManager;
this._calendar = _calendar;
this.clearCache();
@@ -12992,11 +12997,11 @@
var $ = __webpack_require__(3);
var util_1 = __webpack_require__(4);
var EventPeriod_1 = __webpack_require__(243);
var ArrayEventSource_1 = __webpack_require__(52);
var EventSource_1 = __webpack_require__(6);
-var EventSourceParser_1 = __webpack_require__(37);
+var EventSourceParser_1 = __webpack_require__(38);
var SingleEventDef_1 = __webpack_require__(13);
var EventInstanceGroup_1 = __webpack_require__(18);
var EmitterMixin_1 = __webpack_require__(11);
var ListenerMixin_1 = __webpack_require__(7);
var EventManager = /** @class */ (function () {
@@ -13251,11 +13256,11 @@
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", { value: true });
var $ = __webpack_require__(3);
var util_1 = __webpack_require__(4);
-var Promise_1 = __webpack_require__(19);
+var Promise_1 = __webpack_require__(20);
var EmitterMixin_1 = __webpack_require__(11);
var UnzonedRange_1 = __webpack_require__(5);
var EventInstanceGroup_1 = __webpack_require__(18);
var EventPeriod = /** @class */ (function () {
function EventPeriod(start, end, timezone) {
@@ -13646,11 +13651,11 @@
/* 245 */
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = __webpack_require__(2);
-var HitDragListener_1 = __webpack_require__(22);
+var HitDragListener_1 = __webpack_require__(23);
var Interaction_1 = __webpack_require__(15);
var DateClicking = /** @class */ (function (_super) {
tslib_1.__extends(DateClicking, _super);
/*
component must implement:
@@ -14768,11 +14773,11 @@
/***/ }),
/* 256 */
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", { value: true });
-var EventSourceParser_1 = __webpack_require__(37);
+var EventSourceParser_1 = __webpack_require__(38);
var ArrayEventSource_1 = __webpack_require__(52);
var FuncEventSource_1 = __webpack_require__(215);
var JsonFeedEventSource_1 = __webpack_require__(216);
EventSourceParser_1.default.registerClass(ArrayEventSource_1.default);
EventSourceParser_1.default.registerClass(FuncEventSource_1.default);
@@ -14785,68 +14790,122 @@
Object.defineProperty(exports, "__esModule", { value: true });
var ThemeRegistry_1 = __webpack_require__(51);
var StandardTheme_1 = __webpack_require__(213);
var JqueryUiTheme_1 = __webpack_require__(214);
-var BootstrapTheme_1 = __webpack_require__(258);
+var Bootstrap3Theme_1 = __webpack_require__(258);
+var Bootstrap4Theme_1 = __webpack_require__(259);
ThemeRegistry_1.defineThemeSystem('standard', StandardTheme_1.default);
ThemeRegistry_1.defineThemeSystem('jquery-ui', JqueryUiTheme_1.default);
-ThemeRegistry_1.defineThemeSystem('bootstrap3', BootstrapTheme_1.default);
+ThemeRegistry_1.defineThemeSystem('bootstrap3', Bootstrap3Theme_1.default);
+ThemeRegistry_1.defineThemeSystem('bootstrap4', Bootstrap4Theme_1.default);
/***/ }),
/* 258 */
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = __webpack_require__(2);
-var Theme_1 = __webpack_require__(38);
-var BootstrapTheme = /** @class */ (function (_super) {
- tslib_1.__extends(BootstrapTheme, _super);
- function BootstrapTheme() {
+var Theme_1 = __webpack_require__(19);
+var Bootstrap3Theme = /** @class */ (function (_super) {
+ tslib_1.__extends(Bootstrap3Theme, _super);
+ function Bootstrap3Theme() {
return _super !== null && _super.apply(this, arguments) || this;
}
- return BootstrapTheme;
+ return Bootstrap3Theme;
}(Theme_1.default));
-exports.default = BootstrapTheme;
-BootstrapTheme.prototype.classes = {
+exports.default = Bootstrap3Theme;
+Bootstrap3Theme.prototype.classes = {
widget: 'fc-bootstrap3',
tableGrid: 'table-bordered',
- tableList: 'table table-striped',
+ tableList: 'table',
+ tableListHeading: 'active',
buttonGroup: 'btn-group',
button: 'btn btn-default',
stateActive: 'active',
stateDisabled: 'disabled',
today: 'alert alert-info',
popover: 'panel panel-default',
popoverHeader: 'panel-heading',
popoverContent: 'panel-body',
// day grid
+ // for left/right border color when border is inset from edges (all-day in agenda view)
+ // avoid `panel` class b/c don't want margins/radius. only border color.
headerRow: 'panel-default',
dayRow: 'panel-default',
// list view
listView: 'panel panel-default'
};
-BootstrapTheme.prototype.baseIconClass = 'glyphicon';
-BootstrapTheme.prototype.iconClasses = {
+Bootstrap3Theme.prototype.baseIconClass = 'glyphicon';
+Bootstrap3Theme.prototype.iconClasses = {
close: 'glyphicon-remove',
prev: 'glyphicon-chevron-left',
next: 'glyphicon-chevron-right',
prevYear: 'glyphicon-backward',
nextYear: 'glyphicon-forward'
};
-BootstrapTheme.prototype.iconOverrideOption = 'bootstrapGlyphicons';
-BootstrapTheme.prototype.iconOverrideCustomButtonOption = 'bootstrapGlyphicon';
-BootstrapTheme.prototype.iconOverridePrefix = 'glyphicon-';
+Bootstrap3Theme.prototype.iconOverrideOption = 'bootstrapGlyphicons';
+Bootstrap3Theme.prototype.iconOverrideCustomButtonOption = 'bootstrapGlyphicon';
+Bootstrap3Theme.prototype.iconOverridePrefix = 'glyphicon-';
/***/ }),
/* 259 */
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", { value: true });
-var ViewRegistry_1 = __webpack_require__(21);
+var tslib_1 = __webpack_require__(2);
+var Theme_1 = __webpack_require__(19);
+var Bootstrap4Theme = /** @class */ (function (_super) {
+ tslib_1.__extends(Bootstrap4Theme, _super);
+ function Bootstrap4Theme() {
+ return _super !== null && _super.apply(this, arguments) || this;
+ }
+ return Bootstrap4Theme;
+}(Theme_1.default));
+exports.default = Bootstrap4Theme;
+Bootstrap4Theme.prototype.classes = {
+ widget: 'fc-bootstrap4',
+ tableGrid: 'table-bordered',
+ tableList: 'table',
+ tableListHeading: 'table-active',
+ buttonGroup: 'btn-group',
+ button: 'btn btn-primary',
+ stateActive: 'active',
+ stateDisabled: 'disabled',
+ today: 'alert alert-info',
+ popover: 'card card-primary',
+ popoverHeader: 'card-header',
+ popoverContent: 'card-body',
+ // day grid
+ // for left/right border color when border is inset from edges (all-day in agenda view)
+ // avoid `table` class b/c don't want margins/padding/structure. only border color.
+ headerRow: 'table-bordered',
+ dayRow: 'table-bordered',
+ // list view
+ listView: 'card card-primary'
+};
+Bootstrap4Theme.prototype.baseIconClass = 'fa';
+Bootstrap4Theme.prototype.iconClasses = {
+ close: 'fa-times',
+ prev: 'fa-chevron-left',
+ next: 'fa-chevron-right',
+ prevYear: 'fa-angle-double-left',
+ nextYear: 'fa-angle-double-right'
+};
+Bootstrap4Theme.prototype.iconOverrideOption = 'bootstrapFontAwesome';
+Bootstrap4Theme.prototype.iconOverrideCustomButtonOption = 'bootstrapFontAwesome';
+Bootstrap4Theme.prototype.iconOverridePrefix = 'fa-';
+
+
+/***/ }),
+/* 260 */
+/***/ (function(module, exports, __webpack_require__) {
+
+Object.defineProperty(exports, "__esModule", { value: true });
+var ViewRegistry_1 = __webpack_require__(22);
var BasicView_1 = __webpack_require__(62);
var MonthView_1 = __webpack_require__(229);
ViewRegistry_1.defineView('basic', {
'class': BasicView_1.default
});
@@ -14866,15 +14925,15 @@
}
});
/***/ }),
-/* 260 */
+/* 261 */
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", { value: true });
-var ViewRegistry_1 = __webpack_require__(21);
+var ViewRegistry_1 = __webpack_require__(22);
var AgendaView_1 = __webpack_require__(226);
ViewRegistry_1.defineView('agenda', {
'class': AgendaView_1.default,
defaults: {
allDaySlot: true,
@@ -14891,15 +14950,15 @@
duration: { weeks: 1 }
});
/***/ }),
-/* 261 */
+/* 262 */
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", { value: true });
-var ViewRegistry_1 = __webpack_require__(21);
+var ViewRegistry_1 = __webpack_require__(22);
var ListView_1 = __webpack_require__(230);
ViewRegistry_1.defineView('list', {
'class': ListView_1.default,
buttonTextKey: 'list',
defaults: {
@@ -14938,10 +14997,10 @@
}
});
/***/ }),
-/* 262 */
+/* 263 */
/***/ (function(module, exports) {
Object.defineProperty(exports, "__esModule", { value: true });
\ No newline at end of file