|
@@ -1,5 +1,5 @@
|
|
|
/*!
|
|
|
-FullCalendar Core Package v4.4.0
|
|
|
+FullCalendar Core Package v4.4.2
|
|
|
Docs & License: https://fullcalendar.io/
|
|
|
(c) 2019 Adam Shaw
|
|
|
*/
|
|
@@ -1131,18 +1131,18 @@ Docs & License: https://fullcalendar.io/
|
|
|
}
|
|
|
|
|
|
/*! *****************************************************************************
|
|
|
- Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
|
- this file except in compliance with the License. You may obtain a copy of the
|
|
|
- License at http://www.apache.org/licenses/LICENSE-2.0
|
|
|
+ Copyright (c) Microsoft Corporation.
|
|
|
|
|
|
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
|
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
|
- MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
|
+ Permission to use, copy, modify, and/or distribute this software for any
|
|
|
+ purpose with or without fee is hereby granted.
|
|
|
|
|
|
- See the Apache Version 2.0 License for specific language governing permissions
|
|
|
- and limitations under the License.
|
|
|
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
|
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
|
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
|
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
+ PERFORMANCE OF THIS SOFTWARE.
|
|
|
***************************************************************************** */
|
|
|
/* global Reflect, Promise */
|
|
|
|
|
@@ -2463,7 +2463,7 @@ Docs & License: https://fullcalendar.io/
|
|
|
]);
|
|
|
}
|
|
|
}
|
|
|
- if (!calendar.state.loadingLevel) { // avoid initial empty state while pending
|
|
|
+ if (!calendar.state.eventSourceLoadingLevel) { // avoid initial empty state while pending
|
|
|
calendar.afterSizingTriggers._eventsPositioned = [null]; // fire once
|
|
|
}
|
|
|
}
|
|
@@ -3937,28 +3937,33 @@ Docs & License: https://fullcalendar.io/
|
|
|
}());
|
|
|
var Component = /** @class */ (function () {
|
|
|
function Component() {
|
|
|
+ this.everRendered = false;
|
|
|
this.uid = String(guid++);
|
|
|
}
|
|
|
Component.addEqualityFuncs = function (newFuncs) {
|
|
|
this.prototype.equalityFuncs = __assign({}, this.prototype.equalityFuncs, newFuncs);
|
|
|
};
|
|
|
Component.prototype.receiveProps = function (props, context) {
|
|
|
- var oldContext = this.context;
|
|
|
- this.context = context;
|
|
|
- if (!oldContext) {
|
|
|
- this.firstContext(context);
|
|
|
- }
|
|
|
+ this.receiveContext(context);
|
|
|
var _a = recycleProps(this.props || {}, props, this.equalityFuncs), anyChanges = _a.anyChanges, comboProps = _a.comboProps;
|
|
|
this.props = comboProps;
|
|
|
if (anyChanges) {
|
|
|
- if (oldContext) {
|
|
|
+ if (this.everRendered) {
|
|
|
this.beforeUpdate();
|
|
|
}
|
|
|
this.render(comboProps, context);
|
|
|
- if (oldContext) {
|
|
|
+ if (this.everRendered) {
|
|
|
this.afterUpdate();
|
|
|
}
|
|
|
}
|
|
|
+ this.everRendered = true;
|
|
|
+ };
|
|
|
+ Component.prototype.receiveContext = function (context) {
|
|
|
+ var oldContext = this.context;
|
|
|
+ this.context = context;
|
|
|
+ if (!oldContext) {
|
|
|
+ this.firstContext(context);
|
|
|
+ }
|
|
|
};
|
|
|
Component.prototype.render = function (props, context) {
|
|
|
};
|
|
@@ -8578,7 +8583,7 @@ Docs & License: https://fullcalendar.io/
|
|
|
|
|
|
// exports
|
|
|
// --------------------------------------------------------------------------------------------------
|
|
|
- var version = '4.4.0';
|
|
|
+ var version = '4.4.2';
|
|
|
|
|
|
exports.Calendar = Calendar;
|
|
|
exports.Component = Component;
|