fullcalendar.io-rails 3.8.0 → 3.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fullcalendar.io/rails/version.rb +1 -1
- data/vendor/assets/javascripts/fullcalendar.js +459 -438
- data/vendor/assets/javascripts/fullcalendar/gcal.js +5 -5
- data/vendor/assets/javascripts/fullcalendar/locale-all.js +6 -6
- data/vendor/assets/javascripts/fullcalendar/locale/ar.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/bs.js +1 -0
- data/vendor/assets/javascripts/fullcalendar/locale/ca.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/cs.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/da.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/de-at.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/de-ch.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/de.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/el.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/en-au.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/en-ca.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/en-gb.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/en-ie.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/en-nz.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/es-do.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/es-us.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/es.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/et.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/eu.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/fa.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/fi.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/fr-ca.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/fr-ch.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/fr.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/gl.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/he.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/hi.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/hr.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/hu.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/id.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/is.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/it.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/ja.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/ka.js +1 -0
- data/vendor/assets/javascripts/fullcalendar/locale/kk.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/ko.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/lb.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/lt.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/lv.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/mk.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/ms-my.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/ms.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/nb.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/nl-be.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/nl.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/nn.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/pl.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/pt-br.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/pt.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/ro.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/ru.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/sk.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/sl.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/sq.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/sr-cyrl.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/sr.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/sv.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/th.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/tr.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/uk.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/vi.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/zh-cn.js +1 -1
- data/vendor/assets/javascripts/fullcalendar/locale/zh-tw.js +1 -1
- data/vendor/assets/stylesheets/fullcalendar.css +1 -1
- data/vendor/assets/stylesheets/fullcalendar.print.css +2 -2
- metadata +74 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07927883d2192b003b048213bee365fd26d273f2
|
4
|
+
data.tar.gz: fb78b571dbdba3d56c6a54e25ecc5d07b3266c56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f0c96d333e9c6e7373efc79169f086bbb9125466ac03c3e828ab72d002d07daa3e2270bc8a44ec4a22cb7fc8da5f424bc28f6919d8748452f2b3aa1fa886d7c
|
7
|
+
data.tar.gz: c3f60eede930f40fc78b59eff981f06255d91436e04fa6e9c00315fa0012c1d1ac968e83f98b84b9b51c14c354d396796026f8d392cf9fe22042b206c5d89a13
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* FullCalendar v3.8.
|
2
|
+
* FullCalendar v3.8.1
|
3
3
|
* Docs & License: https://fullcalendar.io/
|
4
4
|
* (c) 2017 Adam Shaw
|
5
5
|
*/
|
@@ -75,7 +75,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
75
75
|
/******/ __webpack_require__.p = "";
|
76
76
|
/******/
|
77
77
|
/******/ // Load entry module and return exports
|
78
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
78
|
+
/******/ return __webpack_require__(__webpack_require__.s = 236);
|
79
79
|
/******/ })
|
80
80
|
/************************************************************************/
|
81
81
|
/******/ ([
|
@@ -476,11 +476,11 @@ function parseFieldSpecs(input) {
|
|
476
476
|
return specs;
|
477
477
|
}
|
478
478
|
exports.parseFieldSpecs = parseFieldSpecs;
|
479
|
-
function compareByFieldSpecs(obj1, obj2, fieldSpecs) {
|
479
|
+
function compareByFieldSpecs(obj1, obj2, fieldSpecs, obj1fallback, obj2fallback) {
|
480
480
|
var i;
|
481
481
|
var cmp;
|
482
482
|
for (i = 0; i < fieldSpecs.length; i++) {
|
483
|
-
cmp = compareByFieldSpec(obj1, obj2, fieldSpecs[i]);
|
483
|
+
cmp = compareByFieldSpec(obj1, obj2, fieldSpecs[i], obj1fallback, obj2fallback);
|
484
484
|
if (cmp) {
|
485
485
|
return cmp;
|
486
486
|
}
|
@@ -488,12 +488,19 @@ function compareByFieldSpecs(obj1, obj2, fieldSpecs) {
|
|
488
488
|
return 0;
|
489
489
|
}
|
490
490
|
exports.compareByFieldSpecs = compareByFieldSpecs;
|
491
|
-
function compareByFieldSpec(obj1, obj2, fieldSpec) {
|
491
|
+
function compareByFieldSpec(obj1, obj2, fieldSpec, obj1fallback, obj2fallback) {
|
492
492
|
if (fieldSpec.func) {
|
493
493
|
return fieldSpec.func(obj1, obj2);
|
494
494
|
}
|
495
|
-
|
496
|
-
|
495
|
+
var val1 = obj1[fieldSpec.field];
|
496
|
+
var val2 = obj2[fieldSpec.field];
|
497
|
+
if (val1 == null && obj1fallback) {
|
498
|
+
val1 = obj1fallback[fieldSpec.field];
|
499
|
+
}
|
500
|
+
if (val2 == null && obj2fallback) {
|
501
|
+
val2 = obj2fallback[fieldSpec.field];
|
502
|
+
}
|
503
|
+
return flexibleCompare(val1, val2) * (fieldSpec.order || 1);
|
497
504
|
}
|
498
505
|
exports.compareByFieldSpec = compareByFieldSpec;
|
499
506
|
function flexibleCompare(a, b) {
|
@@ -1051,7 +1058,7 @@ function compareUnzonedRanges(range1, range2) {
|
|
1051
1058
|
Object.defineProperty(exports, "__esModule", { value: true });
|
1052
1059
|
var tslib_1 = __webpack_require__(2);
|
1053
1060
|
var $ = __webpack_require__(3);
|
1054
|
-
var ParsableModelMixin_1 = __webpack_require__(
|
1061
|
+
var ParsableModelMixin_1 = __webpack_require__(208);
|
1055
1062
|
var Class_1 = __webpack_require__(32);
|
1056
1063
|
var EventDefParser_1 = __webpack_require__(49);
|
1057
1064
|
var EventSource = /** @class */ (function (_super) {
|
@@ -1114,10 +1121,10 @@ var EventSource = /** @class */ (function (_super) {
|
|
1114
1121
|
var calendarTransform = this.calendar.opt('eventDataTransform');
|
1115
1122
|
var sourceTransform = this.eventDataTransform;
|
1116
1123
|
if (calendarTransform) {
|
1117
|
-
rawInput = calendarTransform(rawInput);
|
1124
|
+
rawInput = calendarTransform(rawInput, this.calendar);
|
1118
1125
|
}
|
1119
1126
|
if (sourceTransform) {
|
1120
|
-
rawInput = sourceTransform(rawInput);
|
1127
|
+
rawInput = sourceTransform(rawInput, this.calendar);
|
1121
1128
|
}
|
1122
1129
|
return EventDefParser_1.default.parse(rawInput, this);
|
1123
1130
|
};
|
@@ -1600,8 +1607,8 @@ exports.default = ComponentFootprint;
|
|
1600
1607
|
Object.defineProperty(exports, "__esModule", { value: true });
|
1601
1608
|
var tslib_1 = __webpack_require__(2);
|
1602
1609
|
var EventDef_1 = __webpack_require__(33);
|
1603
|
-
var EventInstance_1 = __webpack_require__(
|
1604
|
-
var EventDateProfile_1 = __webpack_require__(
|
1610
|
+
var EventInstance_1 = __webpack_require__(209);
|
1611
|
+
var EventDateProfile_1 = __webpack_require__(18);
|
1605
1612
|
var SingleEventDef = /** @class */ (function (_super) {
|
1606
1613
|
tslib_1.__extends(SingleEventDef, _super);
|
1607
1614
|
function SingleEventDef() {
|
@@ -1694,6 +1701,177 @@ exports.default = Mixin;
|
|
1694
1701
|
|
1695
1702
|
/***/ }),
|
1696
1703
|
/* 15 */
|
1704
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1705
|
+
|
1706
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
1707
|
+
var $ = __webpack_require__(3);
|
1708
|
+
var exportHooks = __webpack_require__(17);
|
1709
|
+
var EmitterMixin_1 = __webpack_require__(11);
|
1710
|
+
var ListenerMixin_1 = __webpack_require__(7);
|
1711
|
+
exportHooks.touchMouseIgnoreWait = 500;
|
1712
|
+
var globalEmitter = null;
|
1713
|
+
var neededCount = 0;
|
1714
|
+
/*
|
1715
|
+
Listens to document and window-level user-interaction events, like touch events and mouse events,
|
1716
|
+
and fires these events as-is to whoever is observing a GlobalEmitter.
|
1717
|
+
Best when used as a singleton via GlobalEmitter.get()
|
1718
|
+
|
1719
|
+
Normalizes mouse/touch events. For examples:
|
1720
|
+
- ignores the the simulated mouse events that happen after a quick tap: mousemove+mousedown+mouseup+click
|
1721
|
+
- compensates for various buggy scenarios where a touchend does not fire
|
1722
|
+
*/
|
1723
|
+
var GlobalEmitter = /** @class */ (function () {
|
1724
|
+
function GlobalEmitter() {
|
1725
|
+
this.isTouching = false;
|
1726
|
+
this.mouseIgnoreDepth = 0;
|
1727
|
+
}
|
1728
|
+
// gets the singleton
|
1729
|
+
GlobalEmitter.get = function () {
|
1730
|
+
if (!globalEmitter) {
|
1731
|
+
globalEmitter = new GlobalEmitter();
|
1732
|
+
globalEmitter.bind();
|
1733
|
+
}
|
1734
|
+
return globalEmitter;
|
1735
|
+
};
|
1736
|
+
// called when an object knows it will need a GlobalEmitter in the near future.
|
1737
|
+
GlobalEmitter.needed = function () {
|
1738
|
+
GlobalEmitter.get(); // ensures globalEmitter
|
1739
|
+
neededCount++;
|
1740
|
+
};
|
1741
|
+
// called when the object that originally called needed() doesn't need a GlobalEmitter anymore.
|
1742
|
+
GlobalEmitter.unneeded = function () {
|
1743
|
+
neededCount--;
|
1744
|
+
if (!neededCount) {
|
1745
|
+
globalEmitter.unbind();
|
1746
|
+
globalEmitter = null;
|
1747
|
+
}
|
1748
|
+
};
|
1749
|
+
GlobalEmitter.prototype.bind = function () {
|
1750
|
+
var _this = this;
|
1751
|
+
this.listenTo($(document), {
|
1752
|
+
touchstart: this.handleTouchStart,
|
1753
|
+
touchcancel: this.handleTouchCancel,
|
1754
|
+
touchend: this.handleTouchEnd,
|
1755
|
+
mousedown: this.handleMouseDown,
|
1756
|
+
mousemove: this.handleMouseMove,
|
1757
|
+
mouseup: this.handleMouseUp,
|
1758
|
+
click: this.handleClick,
|
1759
|
+
selectstart: this.handleSelectStart,
|
1760
|
+
contextmenu: this.handleContextMenu
|
1761
|
+
});
|
1762
|
+
// because we need to call preventDefault
|
1763
|
+
// because https://www.chromestatus.com/features/5093566007214080
|
1764
|
+
// TODO: investigate performance because this is a global handler
|
1765
|
+
window.addEventListener('touchmove', this.handleTouchMoveProxy = function (ev) {
|
1766
|
+
_this.handleTouchMove($.Event(ev));
|
1767
|
+
}, { passive: false } // allows preventDefault()
|
1768
|
+
);
|
1769
|
+
// attach a handler to get called when ANY scroll action happens on the page.
|
1770
|
+
// this was impossible to do with normal on/off because 'scroll' doesn't bubble.
|
1771
|
+
// http://stackoverflow.com/a/32954565/96342
|
1772
|
+
window.addEventListener('scroll', this.handleScrollProxy = function (ev) {
|
1773
|
+
_this.handleScroll($.Event(ev));
|
1774
|
+
}, true // useCapture
|
1775
|
+
);
|
1776
|
+
};
|
1777
|
+
GlobalEmitter.prototype.unbind = function () {
|
1778
|
+
this.stopListeningTo($(document));
|
1779
|
+
window.removeEventListener('touchmove', this.handleTouchMoveProxy);
|
1780
|
+
window.removeEventListener('scroll', this.handleScrollProxy, true // useCapture
|
1781
|
+
);
|
1782
|
+
};
|
1783
|
+
// Touch Handlers
|
1784
|
+
// -----------------------------------------------------------------------------------------------------------------
|
1785
|
+
GlobalEmitter.prototype.handleTouchStart = function (ev) {
|
1786
|
+
// if a previous touch interaction never ended with a touchend, then implicitly end it,
|
1787
|
+
// but since a new touch interaction is about to begin, don't start the mouse ignore period.
|
1788
|
+
this.stopTouch(ev, true); // skipMouseIgnore=true
|
1789
|
+
this.isTouching = true;
|
1790
|
+
this.trigger('touchstart', ev);
|
1791
|
+
};
|
1792
|
+
GlobalEmitter.prototype.handleTouchMove = function (ev) {
|
1793
|
+
if (this.isTouching) {
|
1794
|
+
this.trigger('touchmove', ev);
|
1795
|
+
}
|
1796
|
+
};
|
1797
|
+
GlobalEmitter.prototype.handleTouchCancel = function (ev) {
|
1798
|
+
if (this.isTouching) {
|
1799
|
+
this.trigger('touchcancel', ev);
|
1800
|
+
// Have touchcancel fire an artificial touchend. That way, handlers won't need to listen to both.
|
1801
|
+
// If touchend fires later, it won't have any effect b/c isTouching will be false.
|
1802
|
+
this.stopTouch(ev);
|
1803
|
+
}
|
1804
|
+
};
|
1805
|
+
GlobalEmitter.prototype.handleTouchEnd = function (ev) {
|
1806
|
+
this.stopTouch(ev);
|
1807
|
+
};
|
1808
|
+
// Mouse Handlers
|
1809
|
+
// -----------------------------------------------------------------------------------------------------------------
|
1810
|
+
GlobalEmitter.prototype.handleMouseDown = function (ev) {
|
1811
|
+
if (!this.shouldIgnoreMouse()) {
|
1812
|
+
this.trigger('mousedown', ev);
|
1813
|
+
}
|
1814
|
+
};
|
1815
|
+
GlobalEmitter.prototype.handleMouseMove = function (ev) {
|
1816
|
+
if (!this.shouldIgnoreMouse()) {
|
1817
|
+
this.trigger('mousemove', ev);
|
1818
|
+
}
|
1819
|
+
};
|
1820
|
+
GlobalEmitter.prototype.handleMouseUp = function (ev) {
|
1821
|
+
if (!this.shouldIgnoreMouse()) {
|
1822
|
+
this.trigger('mouseup', ev);
|
1823
|
+
}
|
1824
|
+
};
|
1825
|
+
GlobalEmitter.prototype.handleClick = function (ev) {
|
1826
|
+
if (!this.shouldIgnoreMouse()) {
|
1827
|
+
this.trigger('click', ev);
|
1828
|
+
}
|
1829
|
+
};
|
1830
|
+
// Misc Handlers
|
1831
|
+
// -----------------------------------------------------------------------------------------------------------------
|
1832
|
+
GlobalEmitter.prototype.handleSelectStart = function (ev) {
|
1833
|
+
this.trigger('selectstart', ev);
|
1834
|
+
};
|
1835
|
+
GlobalEmitter.prototype.handleContextMenu = function (ev) {
|
1836
|
+
this.trigger('contextmenu', ev);
|
1837
|
+
};
|
1838
|
+
GlobalEmitter.prototype.handleScroll = function (ev) {
|
1839
|
+
this.trigger('scroll', ev);
|
1840
|
+
};
|
1841
|
+
// Utils
|
1842
|
+
// -----------------------------------------------------------------------------------------------------------------
|
1843
|
+
GlobalEmitter.prototype.stopTouch = function (ev, skipMouseIgnore) {
|
1844
|
+
if (skipMouseIgnore === void 0) { skipMouseIgnore = false; }
|
1845
|
+
if (this.isTouching) {
|
1846
|
+
this.isTouching = false;
|
1847
|
+
this.trigger('touchend', ev);
|
1848
|
+
if (!skipMouseIgnore) {
|
1849
|
+
this.startTouchMouseIgnore();
|
1850
|
+
}
|
1851
|
+
}
|
1852
|
+
};
|
1853
|
+
GlobalEmitter.prototype.startTouchMouseIgnore = function () {
|
1854
|
+
var _this = this;
|
1855
|
+
var wait = exportHooks.touchMouseIgnoreWait;
|
1856
|
+
if (wait) {
|
1857
|
+
this.mouseIgnoreDepth++;
|
1858
|
+
setTimeout(function () {
|
1859
|
+
_this.mouseIgnoreDepth--;
|
1860
|
+
}, wait);
|
1861
|
+
}
|
1862
|
+
};
|
1863
|
+
GlobalEmitter.prototype.shouldIgnoreMouse = function () {
|
1864
|
+
return this.isTouching || Boolean(this.mouseIgnoreDepth);
|
1865
|
+
};
|
1866
|
+
return GlobalEmitter;
|
1867
|
+
}());
|
1868
|
+
exports.default = GlobalEmitter;
|
1869
|
+
ListenerMixin_1.default.mixInto(GlobalEmitter);
|
1870
|
+
EmitterMixin_1.default.mixInto(GlobalEmitter);
|
1871
|
+
|
1872
|
+
|
1873
|
+
/***/ }),
|
1874
|
+
/* 16 */
|
1697
1875
|
/***/ (function(module, exports) {
|
1698
1876
|
|
1699
1877
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -1714,11 +1892,11 @@ exports.default = Interaction;
|
|
1714
1892
|
|
1715
1893
|
|
1716
1894
|
/***/ }),
|
1717
|
-
/*
|
1895
|
+
/* 17 */
|
1718
1896
|
/***/ (function(module, exports, __webpack_require__) {
|
1719
1897
|
|
1720
1898
|
Object.defineProperty(exports, "__esModule", { value: true });
|
1721
|
-
exports.version = '3.8.
|
1899
|
+
exports.version = '3.8.1';
|
1722
1900
|
// When introducing internal API incompatibilities (where fullcalendar plugins would break),
|
1723
1901
|
// the minor version of the calendar should be upped (ex: 2.7.2 -> 2.8.0)
|
1724
1902
|
// and the below integer should be incremented.
|
@@ -1764,13 +1942,13 @@ var ListenerMixin_1 = __webpack_require__(7);
|
|
1764
1942
|
exports.ListenerMixin = ListenerMixin_1.default;
|
1765
1943
|
var Model_1 = __webpack_require__(48);
|
1766
1944
|
exports.Model = Model_1.default;
|
1767
|
-
var Constraints_1 = __webpack_require__(
|
1945
|
+
var Constraints_1 = __webpack_require__(207);
|
1768
1946
|
exports.Constraints = Constraints_1.default;
|
1769
1947
|
var UnzonedRange_1 = __webpack_require__(5);
|
1770
1948
|
exports.UnzonedRange = UnzonedRange_1.default;
|
1771
1949
|
var ComponentFootprint_1 = __webpack_require__(12);
|
1772
1950
|
exports.ComponentFootprint = ComponentFootprint_1.default;
|
1773
|
-
var BusinessHourGenerator_1 = __webpack_require__(
|
1951
|
+
var BusinessHourGenerator_1 = __webpack_require__(212);
|
1774
1952
|
exports.BusinessHourGenerator = BusinessHourGenerator_1.default;
|
1775
1953
|
var EventDef_1 = __webpack_require__(33);
|
1776
1954
|
exports.EventDef = EventDef_1.default;
|
@@ -1782,13 +1960,13 @@ var EventSource_1 = __webpack_require__(6);
|
|
1782
1960
|
exports.EventSource = EventSource_1.default;
|
1783
1961
|
var ThemeRegistry_1 = __webpack_require__(51);
|
1784
1962
|
exports.defineThemeSystem = ThemeRegistry_1.defineThemeSystem;
|
1785
|
-
var EventInstanceGroup_1 = __webpack_require__(
|
1963
|
+
var EventInstanceGroup_1 = __webpack_require__(19);
|
1786
1964
|
exports.EventInstanceGroup = EventInstanceGroup_1.default;
|
1787
1965
|
var ArrayEventSource_1 = __webpack_require__(52);
|
1788
1966
|
exports.ArrayEventSource = ArrayEventSource_1.default;
|
1789
|
-
var FuncEventSource_1 = __webpack_require__(
|
1967
|
+
var FuncEventSource_1 = __webpack_require__(215);
|
1790
1968
|
exports.FuncEventSource = FuncEventSource_1.default;
|
1791
|
-
var JsonFeedEventSource_1 = __webpack_require__(
|
1969
|
+
var JsonFeedEventSource_1 = __webpack_require__(216);
|
1792
1970
|
exports.JsonFeedEventSource = JsonFeedEventSource_1.default;
|
1793
1971
|
var EventFootprint_1 = __webpack_require__(35);
|
1794
1972
|
exports.EventFootprint = EventFootprint_1.default;
|
@@ -1800,21 +1978,21 @@ var CoordCache_1 = __webpack_require__(53);
|
|
1800
1978
|
exports.CoordCache = CoordCache_1.default;
|
1801
1979
|
var DragListener_1 = __webpack_require__(54);
|
1802
1980
|
exports.DragListener = DragListener_1.default;
|
1803
|
-
var Promise_1 = __webpack_require__(
|
1981
|
+
var Promise_1 = __webpack_require__(20);
|
1804
1982
|
exports.Promise = Promise_1.default;
|
1805
|
-
var TaskQueue_1 = __webpack_require__(
|
1983
|
+
var TaskQueue_1 = __webpack_require__(217);
|
1806
1984
|
exports.TaskQueue = TaskQueue_1.default;
|
1807
|
-
var RenderQueue_1 = __webpack_require__(
|
1985
|
+
var RenderQueue_1 = __webpack_require__(218);
|
1808
1986
|
exports.RenderQueue = RenderQueue_1.default;
|
1809
1987
|
var Scroller_1 = __webpack_require__(39);
|
1810
1988
|
exports.Scroller = Scroller_1.default;
|
1811
1989
|
var Theme_1 = __webpack_require__(38);
|
1812
1990
|
exports.Theme = Theme_1.default;
|
1813
|
-
var DateComponent_1 = __webpack_require__(
|
1991
|
+
var DateComponent_1 = __webpack_require__(219);
|
1814
1992
|
exports.DateComponent = DateComponent_1.default;
|
1815
1993
|
var InteractiveDateComponent_1 = __webpack_require__(40);
|
1816
1994
|
exports.InteractiveDateComponent = InteractiveDateComponent_1.default;
|
1817
|
-
var Calendar_1 = __webpack_require__(
|
1995
|
+
var Calendar_1 = __webpack_require__(220);
|
1818
1996
|
exports.Calendar = Calendar_1.default;
|
1819
1997
|
var View_1 = __webpack_require__(41);
|
1820
1998
|
exports.View = View_1.default;
|
@@ -1831,34 +2009,34 @@ var FillRenderer_1 = __webpack_require__(57);
|
|
1831
2009
|
exports.FillRenderer = FillRenderer_1.default;
|
1832
2010
|
var HelperRenderer_1 = __webpack_require__(58);
|
1833
2011
|
exports.HelperRenderer = HelperRenderer_1.default;
|
1834
|
-
var ExternalDropping_1 = __webpack_require__(
|
2012
|
+
var ExternalDropping_1 = __webpack_require__(222);
|
1835
2013
|
exports.ExternalDropping = ExternalDropping_1.default;
|
1836
|
-
var EventResizing_1 = __webpack_require__(
|
2014
|
+
var EventResizing_1 = __webpack_require__(223);
|
1837
2015
|
exports.EventResizing = EventResizing_1.default;
|
1838
2016
|
var EventPointing_1 = __webpack_require__(59);
|
1839
2017
|
exports.EventPointing = EventPointing_1.default;
|
1840
|
-
var EventDragging_1 = __webpack_require__(
|
2018
|
+
var EventDragging_1 = __webpack_require__(224);
|
1841
2019
|
exports.EventDragging = EventDragging_1.default;
|
1842
|
-
var DateSelecting_1 = __webpack_require__(
|
2020
|
+
var DateSelecting_1 = __webpack_require__(225);
|
1843
2021
|
exports.DateSelecting = DateSelecting_1.default;
|
1844
2022
|
var StandardInteractionsMixin_1 = __webpack_require__(60);
|
1845
2023
|
exports.StandardInteractionsMixin = StandardInteractionsMixin_1.default;
|
1846
|
-
var AgendaView_1 = __webpack_require__(
|
2024
|
+
var AgendaView_1 = __webpack_require__(226);
|
1847
2025
|
exports.AgendaView = AgendaView_1.default;
|
1848
|
-
var TimeGrid_1 = __webpack_require__(
|
2026
|
+
var TimeGrid_1 = __webpack_require__(227);
|
1849
2027
|
exports.TimeGrid = TimeGrid_1.default;
|
1850
2028
|
var DayGrid_1 = __webpack_require__(61);
|
1851
2029
|
exports.DayGrid = DayGrid_1.default;
|
1852
2030
|
var BasicView_1 = __webpack_require__(62);
|
1853
2031
|
exports.BasicView = BasicView_1.default;
|
1854
|
-
var MonthView_1 = __webpack_require__(
|
2032
|
+
var MonthView_1 = __webpack_require__(229);
|
1855
2033
|
exports.MonthView = MonthView_1.default;
|
1856
|
-
var ListView_1 = __webpack_require__(
|
2034
|
+
var ListView_1 = __webpack_require__(230);
|
1857
2035
|
exports.ListView = ListView_1.default;
|
1858
2036
|
|
1859
2037
|
|
1860
2038
|
/***/ }),
|
1861
|
-
/*
|
2039
|
+
/* 18 */
|
1862
2040
|
/***/ (function(module, exports, __webpack_require__) {
|
1863
2041
|
|
1864
2042
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -1946,13 +2124,13 @@ exports.default = EventDateProfile;
|
|
1946
2124
|
|
1947
2125
|
|
1948
2126
|
/***/ }),
|
1949
|
-
/*
|
2127
|
+
/* 19 */
|
1950
2128
|
/***/ (function(module, exports, __webpack_require__) {
|
1951
2129
|
|
1952
2130
|
Object.defineProperty(exports, "__esModule", { value: true });
|
1953
2131
|
var UnzonedRange_1 = __webpack_require__(5);
|
1954
2132
|
var util_1 = __webpack_require__(34);
|
1955
|
-
var EventRange_1 = __webpack_require__(
|
2133
|
+
var EventRange_1 = __webpack_require__(211);
|
1956
2134
|
/*
|
1957
2135
|
It's expected that there will be at least one EventInstance,
|
1958
2136
|
OR that an explicitEventDef is assigned.
|
@@ -2012,7 +2190,7 @@ exports.default = EventInstanceGroup;
|
|
2012
2190
|
|
2013
2191
|
|
2014
2192
|
/***/ }),
|
2015
|
-
/*
|
2193
|
+
/* 20 */
|
2016
2194
|
/***/ (function(module, exports, __webpack_require__) {
|
2017
2195
|
|
2018
2196
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -2064,183 +2242,12 @@ function attachImmediatelyRejectingThen(promise) {
|
|
2064
2242
|
}
|
2065
2243
|
|
2066
2244
|
|
2067
|
-
/***/ }),
|
2068
|
-
/* 20 */
|
2069
|
-
/***/ (function(module, exports, __webpack_require__) {
|
2070
|
-
|
2071
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
2072
|
-
var $ = __webpack_require__(3);
|
2073
|
-
var exportHooks = __webpack_require__(16);
|
2074
|
-
var EmitterMixin_1 = __webpack_require__(11);
|
2075
|
-
var ListenerMixin_1 = __webpack_require__(7);
|
2076
|
-
exportHooks.touchMouseIgnoreWait = 500;
|
2077
|
-
var globalEmitter = null;
|
2078
|
-
var neededCount = 0;
|
2079
|
-
/*
|
2080
|
-
Listens to document and window-level user-interaction events, like touch events and mouse events,
|
2081
|
-
and fires these events as-is to whoever is observing a GlobalEmitter.
|
2082
|
-
Best when used as a singleton via GlobalEmitter.get()
|
2083
|
-
|
2084
|
-
Normalizes mouse/touch events. For examples:
|
2085
|
-
- ignores the the simulated mouse events that happen after a quick tap: mousemove+mousedown+mouseup+click
|
2086
|
-
- compensates for various buggy scenarios where a touchend does not fire
|
2087
|
-
*/
|
2088
|
-
var GlobalEmitter = /** @class */ (function () {
|
2089
|
-
function GlobalEmitter() {
|
2090
|
-
this.isTouching = false;
|
2091
|
-
this.mouseIgnoreDepth = 0;
|
2092
|
-
}
|
2093
|
-
// gets the singleton
|
2094
|
-
GlobalEmitter.get = function () {
|
2095
|
-
if (!globalEmitter) {
|
2096
|
-
globalEmitter = new GlobalEmitter();
|
2097
|
-
globalEmitter.bind();
|
2098
|
-
}
|
2099
|
-
return globalEmitter;
|
2100
|
-
};
|
2101
|
-
// called when an object knows it will need a GlobalEmitter in the near future.
|
2102
|
-
GlobalEmitter.needed = function () {
|
2103
|
-
GlobalEmitter.get(); // ensures globalEmitter
|
2104
|
-
neededCount++;
|
2105
|
-
};
|
2106
|
-
// called when the object that originally called needed() doesn't need a GlobalEmitter anymore.
|
2107
|
-
GlobalEmitter.unneeded = function () {
|
2108
|
-
neededCount--;
|
2109
|
-
if (!neededCount) {
|
2110
|
-
globalEmitter.unbind();
|
2111
|
-
globalEmitter = null;
|
2112
|
-
}
|
2113
|
-
};
|
2114
|
-
GlobalEmitter.prototype.bind = function () {
|
2115
|
-
var _this = this;
|
2116
|
-
this.listenTo($(document), {
|
2117
|
-
touchstart: this.handleTouchStart,
|
2118
|
-
touchcancel: this.handleTouchCancel,
|
2119
|
-
touchend: this.handleTouchEnd,
|
2120
|
-
mousedown: this.handleMouseDown,
|
2121
|
-
mousemove: this.handleMouseMove,
|
2122
|
-
mouseup: this.handleMouseUp,
|
2123
|
-
click: this.handleClick,
|
2124
|
-
selectstart: this.handleSelectStart,
|
2125
|
-
contextmenu: this.handleContextMenu
|
2126
|
-
});
|
2127
|
-
// because we need to call preventDefault
|
2128
|
-
// because https://www.chromestatus.com/features/5093566007214080
|
2129
|
-
// TODO: investigate performance because this is a global handler
|
2130
|
-
window.addEventListener('touchmove', this.handleTouchMoveProxy = function (ev) {
|
2131
|
-
_this.handleTouchMove($.Event(ev));
|
2132
|
-
}, { passive: false } // allows preventDefault()
|
2133
|
-
);
|
2134
|
-
// attach a handler to get called when ANY scroll action happens on the page.
|
2135
|
-
// this was impossible to do with normal on/off because 'scroll' doesn't bubble.
|
2136
|
-
// http://stackoverflow.com/a/32954565/96342
|
2137
|
-
window.addEventListener('scroll', this.handleScrollProxy = function (ev) {
|
2138
|
-
_this.handleScroll($.Event(ev));
|
2139
|
-
}, true // useCapture
|
2140
|
-
);
|
2141
|
-
};
|
2142
|
-
GlobalEmitter.prototype.unbind = function () {
|
2143
|
-
this.stopListeningTo($(document));
|
2144
|
-
window.removeEventListener('touchmove', this.handleTouchMoveProxy);
|
2145
|
-
window.removeEventListener('scroll', this.handleScrollProxy, true // useCapture
|
2146
|
-
);
|
2147
|
-
};
|
2148
|
-
// Touch Handlers
|
2149
|
-
// -----------------------------------------------------------------------------------------------------------------
|
2150
|
-
GlobalEmitter.prototype.handleTouchStart = function (ev) {
|
2151
|
-
// if a previous touch interaction never ended with a touchend, then implicitly end it,
|
2152
|
-
// but since a new touch interaction is about to begin, don't start the mouse ignore period.
|
2153
|
-
this.stopTouch(ev, true); // skipMouseIgnore=true
|
2154
|
-
this.isTouching = true;
|
2155
|
-
this.trigger('touchstart', ev);
|
2156
|
-
};
|
2157
|
-
GlobalEmitter.prototype.handleTouchMove = function (ev) {
|
2158
|
-
if (this.isTouching) {
|
2159
|
-
this.trigger('touchmove', ev);
|
2160
|
-
}
|
2161
|
-
};
|
2162
|
-
GlobalEmitter.prototype.handleTouchCancel = function (ev) {
|
2163
|
-
if (this.isTouching) {
|
2164
|
-
this.trigger('touchcancel', ev);
|
2165
|
-
// Have touchcancel fire an artificial touchend. That way, handlers won't need to listen to both.
|
2166
|
-
// If touchend fires later, it won't have any effect b/c isTouching will be false.
|
2167
|
-
this.stopTouch(ev);
|
2168
|
-
}
|
2169
|
-
};
|
2170
|
-
GlobalEmitter.prototype.handleTouchEnd = function (ev) {
|
2171
|
-
this.stopTouch(ev);
|
2172
|
-
};
|
2173
|
-
// Mouse Handlers
|
2174
|
-
// -----------------------------------------------------------------------------------------------------------------
|
2175
|
-
GlobalEmitter.prototype.handleMouseDown = function (ev) {
|
2176
|
-
if (!this.shouldIgnoreMouse()) {
|
2177
|
-
this.trigger('mousedown', ev);
|
2178
|
-
}
|
2179
|
-
};
|
2180
|
-
GlobalEmitter.prototype.handleMouseMove = function (ev) {
|
2181
|
-
if (!this.shouldIgnoreMouse()) {
|
2182
|
-
this.trigger('mousemove', ev);
|
2183
|
-
}
|
2184
|
-
};
|
2185
|
-
GlobalEmitter.prototype.handleMouseUp = function (ev) {
|
2186
|
-
if (!this.shouldIgnoreMouse()) {
|
2187
|
-
this.trigger('mouseup', ev);
|
2188
|
-
}
|
2189
|
-
};
|
2190
|
-
GlobalEmitter.prototype.handleClick = function (ev) {
|
2191
|
-
if (!this.shouldIgnoreMouse()) {
|
2192
|
-
this.trigger('click', ev);
|
2193
|
-
}
|
2194
|
-
};
|
2195
|
-
// Misc Handlers
|
2196
|
-
// -----------------------------------------------------------------------------------------------------------------
|
2197
|
-
GlobalEmitter.prototype.handleSelectStart = function (ev) {
|
2198
|
-
this.trigger('selectstart', ev);
|
2199
|
-
};
|
2200
|
-
GlobalEmitter.prototype.handleContextMenu = function (ev) {
|
2201
|
-
this.trigger('contextmenu', ev);
|
2202
|
-
};
|
2203
|
-
GlobalEmitter.prototype.handleScroll = function (ev) {
|
2204
|
-
this.trigger('scroll', ev);
|
2205
|
-
};
|
2206
|
-
// Utils
|
2207
|
-
// -----------------------------------------------------------------------------------------------------------------
|
2208
|
-
GlobalEmitter.prototype.stopTouch = function (ev, skipMouseIgnore) {
|
2209
|
-
if (skipMouseIgnore === void 0) { skipMouseIgnore = false; }
|
2210
|
-
if (this.isTouching) {
|
2211
|
-
this.isTouching = false;
|
2212
|
-
this.trigger('touchend', ev);
|
2213
|
-
if (!skipMouseIgnore) {
|
2214
|
-
this.startTouchMouseIgnore();
|
2215
|
-
}
|
2216
|
-
}
|
2217
|
-
};
|
2218
|
-
GlobalEmitter.prototype.startTouchMouseIgnore = function () {
|
2219
|
-
var _this = this;
|
2220
|
-
var wait = exportHooks.touchMouseIgnoreWait;
|
2221
|
-
if (wait) {
|
2222
|
-
this.mouseIgnoreDepth++;
|
2223
|
-
setTimeout(function () {
|
2224
|
-
_this.mouseIgnoreDepth--;
|
2225
|
-
}, wait);
|
2226
|
-
}
|
2227
|
-
};
|
2228
|
-
GlobalEmitter.prototype.shouldIgnoreMouse = function () {
|
2229
|
-
return this.isTouching || Boolean(this.mouseIgnoreDepth);
|
2230
|
-
};
|
2231
|
-
return GlobalEmitter;
|
2232
|
-
}());
|
2233
|
-
exports.default = GlobalEmitter;
|
2234
|
-
ListenerMixin_1.default.mixInto(GlobalEmitter);
|
2235
|
-
EmitterMixin_1.default.mixInto(GlobalEmitter);
|
2236
|
-
|
2237
|
-
|
2238
2245
|
/***/ }),
|
2239
2246
|
/* 21 */
|
2240
2247
|
/***/ (function(module, exports, __webpack_require__) {
|
2241
2248
|
|
2242
2249
|
Object.defineProperty(exports, "__esModule", { value: true });
|
2243
|
-
var exportHooks = __webpack_require__(
|
2250
|
+
var exportHooks = __webpack_require__(17);
|
2244
2251
|
exports.viewHash = {};
|
2245
2252
|
exportHooks.views = exports.viewHash;
|
2246
2253
|
function defineView(viewName, viewConfig) {
|
@@ -2430,7 +2437,7 @@ function isHitPropsWithin(subHit, superHit) {
|
|
2430
2437
|
Object.defineProperty(exports, "__esModule", { value: true });
|
2431
2438
|
var $ = __webpack_require__(3);
|
2432
2439
|
var moment = __webpack_require__(0);
|
2433
|
-
var exportHooks = __webpack_require__(
|
2440
|
+
var exportHooks = __webpack_require__(17);
|
2434
2441
|
var options_1 = __webpack_require__(31);
|
2435
2442
|
var util_1 = __webpack_require__(4);
|
2436
2443
|
exports.localeOptionHash = {};
|
@@ -2747,7 +2754,7 @@ exports.default = Class;
|
|
2747
2754
|
|
2748
2755
|
Object.defineProperty(exports, "__esModule", { value: true });
|
2749
2756
|
var $ = __webpack_require__(3);
|
2750
|
-
var ParsableModelMixin_1 = __webpack_require__(
|
2757
|
+
var ParsableModelMixin_1 = __webpack_require__(208);
|
2751
2758
|
var EventDef = /** @class */ (function () {
|
2752
2759
|
function EventDef(source) {
|
2753
2760
|
this.source = source;
|
@@ -2897,7 +2904,7 @@ EventDef.defineStandardProps({
|
|
2897
2904
|
/***/ (function(module, exports, __webpack_require__) {
|
2898
2905
|
|
2899
2906
|
Object.defineProperty(exports, "__esModule", { value: true });
|
2900
|
-
var EventRange_1 = __webpack_require__(
|
2907
|
+
var EventRange_1 = __webpack_require__(211);
|
2901
2908
|
var EventFootprint_1 = __webpack_require__(35);
|
2902
2909
|
var ComponentFootprint_1 = __webpack_require__(12);
|
2903
2910
|
function eventDefsToEventInstances(eventDefs, unzonedRange) {
|
@@ -2956,7 +2963,7 @@ exports.default = EventFootprint;
|
|
2956
2963
|
|
2957
2964
|
Object.defineProperty(exports, "__esModule", { value: true });
|
2958
2965
|
var util_1 = __webpack_require__(4);
|
2959
|
-
var EventDateProfile_1 = __webpack_require__(
|
2966
|
+
var EventDateProfile_1 = __webpack_require__(18);
|
2960
2967
|
var EventDef_1 = __webpack_require__(33);
|
2961
2968
|
var EventDefDateMutation_1 = __webpack_require__(50);
|
2962
2969
|
var SingleEventDef_1 = __webpack_require__(13);
|
@@ -3250,8 +3257,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3250
3257
|
var tslib_1 = __webpack_require__(2);
|
3251
3258
|
var $ = __webpack_require__(3);
|
3252
3259
|
var util_1 = __webpack_require__(4);
|
3253
|
-
var DateComponent_1 = __webpack_require__(
|
3254
|
-
var GlobalEmitter_1 = __webpack_require__(
|
3260
|
+
var DateComponent_1 = __webpack_require__(219);
|
3261
|
+
var GlobalEmitter_1 = __webpack_require__(15);
|
3255
3262
|
var InteractiveDateComponent = /** @class */ (function (_super) {
|
3256
3263
|
tslib_1.__extends(InteractiveDateComponent, _super);
|
3257
3264
|
function InteractiveDateComponent(_view, _options) {
|
@@ -3315,8 +3322,8 @@ var InteractiveDateComponent = /** @class */ (function (_super) {
|
|
3315
3322
|
// attach a handler to the grid's root element.
|
3316
3323
|
// jQuery will take care of unregistering them when removeElement gets called.
|
3317
3324
|
this.el.on(name, function (ev) {
|
3318
|
-
if (!$(ev.target).is(_this.segSelector + ',' + // directly on an event element
|
3319
|
-
_this.segSelector + ' *,' + // within an event element
|
3325
|
+
if (!$(ev.target).is(_this.segSelector + ':not(.fc-helper),' + // directly on an event element
|
3326
|
+
_this.segSelector + ':not(.fc-helper) *,' + // within an event element
|
3320
3327
|
'.fc-more,' + // a "more.." link
|
3321
3328
|
'a[data-goto]' // a clickable nav link
|
3322
3329
|
)) {
|
@@ -3338,9 +3345,12 @@ var InteractiveDateComponent = /** @class */ (function (_super) {
|
|
3338
3345
|
InteractiveDateComponent.prototype.bindSegHandlerToEl = function (el, name, handler) {
|
3339
3346
|
var _this = this;
|
3340
3347
|
el.on(name, this.segSelector, function (ev) {
|
3341
|
-
var
|
3342
|
-
if (
|
3343
|
-
|
3348
|
+
var segEl = $(ev.currentTarget);
|
3349
|
+
if (!segEl.is('.fc-helper')) {
|
3350
|
+
var seg = segEl.data('fc-seg'); // grab segment data. put there by View::renderEventsPayload
|
3351
|
+
if (seg && !_this.shouldIgnoreEventPointing()) {
|
3352
|
+
return handler.call(_this, seg, ev); // context will be the Grid
|
3353
|
+
}
|
3344
3354
|
}
|
3345
3355
|
});
|
3346
3356
|
};
|
@@ -3503,10 +3513,10 @@ var tslib_1 = __webpack_require__(2);
|
|
3503
3513
|
var $ = __webpack_require__(3);
|
3504
3514
|
var moment = __webpack_require__(0);
|
3505
3515
|
var util_1 = __webpack_require__(4);
|
3506
|
-
var RenderQueue_1 = __webpack_require__(
|
3507
|
-
var DateProfileGenerator_1 = __webpack_require__(
|
3516
|
+
var RenderQueue_1 = __webpack_require__(218);
|
3517
|
+
var DateProfileGenerator_1 = __webpack_require__(221);
|
3508
3518
|
var InteractiveDateComponent_1 = __webpack_require__(40);
|
3509
|
-
var GlobalEmitter_1 = __webpack_require__(
|
3519
|
+
var GlobalEmitter_1 = __webpack_require__(15);
|
3510
3520
|
var UnzonedRange_1 = __webpack_require__(5);
|
3511
3521
|
/* An abstract class from which other views inherit from
|
3512
3522
|
----------------------------------------------------------------------------------------------------------------------*/
|
@@ -4516,14 +4526,16 @@ var EventRenderer = /** @class */ (function () {
|
|
4516
4526
|
};
|
4517
4527
|
// A cmp function for determining which segments should take visual priority
|
4518
4528
|
EventRenderer.prototype.compareEventSegs = function (seg1, seg2) {
|
4519
|
-
var f1 = seg1.footprint
|
4520
|
-
var
|
4521
|
-
var
|
4522
|
-
var
|
4529
|
+
var f1 = seg1.footprint;
|
4530
|
+
var f2 = seg2.footprint;
|
4531
|
+
var cf1 = f1.componentFootprint;
|
4532
|
+
var cf2 = f2.componentFootprint;
|
4533
|
+
var r1 = cf1.unzonedRange;
|
4534
|
+
var r2 = cf2.unzonedRange;
|
4523
4535
|
return r1.startMs - r2.startMs || // earlier events go first
|
4524
4536
|
(r2.endMs - r2.startMs) - (r1.endMs - r1.startMs) || // tie? longer events go first
|
4525
|
-
|
4526
|
-
util_1.compareByFieldSpecs(
|
4537
|
+
cf2.isAllDay - cf1.isAllDay || // tie? put all-day events first (booleans cast to 0/1)
|
4538
|
+
util_1.compareByFieldSpecs(f1.eventDef, f2.eventDef, this.view.eventOrderSpecs, f1.eventDef.miscProps, f2.eventDef.miscProps);
|
4527
4539
|
};
|
4528
4540
|
return EventRenderer;
|
4529
4541
|
}());
|
@@ -5172,7 +5184,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
5172
5184
|
var moment = __webpack_require__(0);
|
5173
5185
|
var util_1 = __webpack_require__(4);
|
5174
5186
|
var SingleEventDef_1 = __webpack_require__(13);
|
5175
|
-
var RecurringEventDef_1 = __webpack_require__(
|
5187
|
+
var RecurringEventDef_1 = __webpack_require__(210);
|
5176
5188
|
exports.default = {
|
5177
5189
|
parse: function (eventInput, source) {
|
5178
5190
|
if (util_1.isTimeString(eventInput.start) || moment.isDuration(eventInput.start) ||
|
@@ -5192,7 +5204,7 @@ exports.default = {
|
|
5192
5204
|
|
5193
5205
|
Object.defineProperty(exports, "__esModule", { value: true });
|
5194
5206
|
var util_1 = __webpack_require__(4);
|
5195
|
-
var EventDateProfile_1 = __webpack_require__(
|
5207
|
+
var EventDateProfile_1 = __webpack_require__(18);
|
5196
5208
|
var EventDefDateMutation = /** @class */ (function () {
|
5197
5209
|
function EventDefDateMutation() {
|
5198
5210
|
this.clearEnd = false;
|
@@ -5329,8 +5341,8 @@ exports.default = EventDefDateMutation;
|
|
5329
5341
|
/***/ (function(module, exports, __webpack_require__) {
|
5330
5342
|
|
5331
5343
|
Object.defineProperty(exports, "__esModule", { value: true });
|
5332
|
-
var StandardTheme_1 = __webpack_require__(
|
5333
|
-
var JqueryUiTheme_1 = __webpack_require__(
|
5344
|
+
var StandardTheme_1 = __webpack_require__(213);
|
5345
|
+
var JqueryUiTheme_1 = __webpack_require__(214);
|
5334
5346
|
var themeClassHash = {};
|
5335
5347
|
function defineThemeSystem(themeName, themeClass) {
|
5336
5348
|
themeClassHash[themeName] = themeClass;
|
@@ -5358,7 +5370,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
5358
5370
|
var tslib_1 = __webpack_require__(2);
|
5359
5371
|
var $ = __webpack_require__(3);
|
5360
5372
|
var util_1 = __webpack_require__(4);
|
5361
|
-
var Promise_1 = __webpack_require__(
|
5373
|
+
var Promise_1 = __webpack_require__(20);
|
5362
5374
|
var EventSource_1 = __webpack_require__(6);
|
5363
5375
|
var SingleEventDef_1 = __webpack_require__(13);
|
5364
5376
|
var ArrayEventSource = /** @class */ (function (_super) {
|
@@ -5635,7 +5647,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
5635
5647
|
var $ = __webpack_require__(3);
|
5636
5648
|
var util_1 = __webpack_require__(4);
|
5637
5649
|
var ListenerMixin_1 = __webpack_require__(7);
|
5638
|
-
var GlobalEmitter_1 = __webpack_require__(
|
5650
|
+
var GlobalEmitter_1 = __webpack_require__(15);
|
5639
5651
|
/* Tracks a drag's mouse movement, firing various handlers
|
5640
5652
|
----------------------------------------------------------------------------------------------------------------------*/
|
5641
5653
|
// TODO: use Emitter
|
@@ -6566,8 +6578,8 @@ exports.default = HelperRenderer;
|
|
6566
6578
|
|
6567
6579
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6568
6580
|
var tslib_1 = __webpack_require__(2);
|
6569
|
-
var GlobalEmitter_1 = __webpack_require__(
|
6570
|
-
var Interaction_1 = __webpack_require__(
|
6581
|
+
var GlobalEmitter_1 = __webpack_require__(15);
|
6582
|
+
var Interaction_1 = __webpack_require__(16);
|
6571
6583
|
var EventPointing = /** @class */ (function (_super) {
|
6572
6584
|
tslib_1.__extends(EventPointing, _super);
|
6573
6585
|
function EventPointing() {
|
@@ -6643,12 +6655,12 @@ exports.default = EventPointing;
|
|
6643
6655
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6644
6656
|
var tslib_1 = __webpack_require__(2);
|
6645
6657
|
var Mixin_1 = __webpack_require__(14);
|
6646
|
-
var DateClicking_1 = __webpack_require__(
|
6647
|
-
var DateSelecting_1 = __webpack_require__(
|
6658
|
+
var DateClicking_1 = __webpack_require__(245);
|
6659
|
+
var DateSelecting_1 = __webpack_require__(225);
|
6648
6660
|
var EventPointing_1 = __webpack_require__(59);
|
6649
|
-
var EventDragging_1 = __webpack_require__(
|
6650
|
-
var EventResizing_1 = __webpack_require__(
|
6651
|
-
var ExternalDropping_1 = __webpack_require__(
|
6661
|
+
var EventDragging_1 = __webpack_require__(224);
|
6662
|
+
var EventResizing_1 = __webpack_require__(223);
|
6663
|
+
var ExternalDropping_1 = __webpack_require__(222);
|
6652
6664
|
var StandardInteractionsMixin = /** @class */ (function (_super) {
|
6653
6665
|
tslib_1.__extends(StandardInteractionsMixin, _super);
|
6654
6666
|
function StandardInteractionsMixin() {
|
@@ -6674,7 +6686,7 @@ var tslib_1 = __webpack_require__(2);
|
|
6674
6686
|
var $ = __webpack_require__(3);
|
6675
6687
|
var util_1 = __webpack_require__(4);
|
6676
6688
|
var CoordCache_1 = __webpack_require__(53);
|
6677
|
-
var Popover_1 = __webpack_require__(
|
6689
|
+
var Popover_1 = __webpack_require__(249);
|
6678
6690
|
var UnzonedRange_1 = __webpack_require__(5);
|
6679
6691
|
var ComponentFootprint_1 = __webpack_require__(12);
|
6680
6692
|
var EventFootprint_1 = __webpack_require__(35);
|
@@ -6682,9 +6694,9 @@ var BusinessHourRenderer_1 = __webpack_require__(56);
|
|
6682
6694
|
var StandardInteractionsMixin_1 = __webpack_require__(60);
|
6683
6695
|
var InteractiveDateComponent_1 = __webpack_require__(40);
|
6684
6696
|
var DayTableMixin_1 = __webpack_require__(55);
|
6685
|
-
var DayGridEventRenderer_1 = __webpack_require__(
|
6686
|
-
var DayGridHelperRenderer_1 = __webpack_require__(
|
6687
|
-
var DayGridFillRenderer_1 = __webpack_require__(
|
6697
|
+
var DayGridEventRenderer_1 = __webpack_require__(250);
|
6698
|
+
var DayGridHelperRenderer_1 = __webpack_require__(251);
|
6699
|
+
var DayGridFillRenderer_1 = __webpack_require__(252);
|
6688
6700
|
/* A component that renders a grid of whole-days that runs horizontally. There can be multiple rows, one per week.
|
6689
6701
|
----------------------------------------------------------------------------------------------------------------------*/
|
6690
6702
|
var DayGrid = /** @class */ (function (_super) {
|
@@ -6859,7 +6871,7 @@ var DayGrid = /** @class */ (function (_super) {
|
|
6859
6871
|
);
|
6860
6872
|
}
|
6861
6873
|
if (isDayNumberVisible) {
|
6862
|
-
html += view.buildGotoAnchorHtml(date, { 'class': 'fc-day-number' }, date.
|
6874
|
+
html += view.buildGotoAnchorHtml(date, { 'class': 'fc-day-number' }, date.format('D') // inner HTML
|
6863
6875
|
);
|
6864
6876
|
}
|
6865
6877
|
html += '</td>';
|
@@ -7293,7 +7305,7 @@ var $ = __webpack_require__(3);
|
|
7293
7305
|
var util_1 = __webpack_require__(4);
|
7294
7306
|
var Scroller_1 = __webpack_require__(39);
|
7295
7307
|
var View_1 = __webpack_require__(41);
|
7296
|
-
var BasicViewDateProfileGenerator_1 = __webpack_require__(
|
7308
|
+
var BasicViewDateProfileGenerator_1 = __webpack_require__(228);
|
7297
7309
|
var DayGrid_1 = __webpack_require__(61);
|
7298
7310
|
/* An abstract class for the "basic" views, as well as month view. Renders one or more rows of day cells.
|
7299
7311
|
----------------------------------------------------------------------------------------------------------------------*/
|
@@ -7667,7 +7679,11 @@ function makeDayGridSubclass(SuperClass) {
|
|
7667
7679
|
/* 200 */,
|
7668
7680
|
/* 201 */,
|
7669
7681
|
/* 202 */,
|
7670
|
-
/* 203
|
7682
|
+
/* 203 */,
|
7683
|
+
/* 204 */,
|
7684
|
+
/* 205 */,
|
7685
|
+
/* 206 */,
|
7686
|
+
/* 207 */
|
7671
7687
|
/***/ (function(module, exports, __webpack_require__) {
|
7672
7688
|
|
7673
7689
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -7921,7 +7937,7 @@ function isOverlapEventInstancesAllowed(overlapEventFootprints, subjectEventInst
|
|
7921
7937
|
|
7922
7938
|
|
7923
7939
|
/***/ }),
|
7924
|
-
/*
|
7940
|
+
/* 208 */
|
7925
7941
|
/***/ (function(module, exports, __webpack_require__) {
|
7926
7942
|
|
7927
7943
|
/*
|
@@ -8013,7 +8029,7 @@ ParsableModelMixin.prototype.standardPropMap = {}; // will be cloned by defineSt
|
|
8013
8029
|
|
8014
8030
|
|
8015
8031
|
/***/ }),
|
8016
|
-
/*
|
8032
|
+
/* 209 */
|
8017
8033
|
/***/ (function(module, exports) {
|
8018
8034
|
|
8019
8035
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -8035,7 +8051,7 @@ exports.default = EventInstance;
|
|
8035
8051
|
|
8036
8052
|
|
8037
8053
|
/***/ }),
|
8038
|
-
/*
|
8054
|
+
/* 210 */
|
8039
8055
|
/***/ (function(module, exports, __webpack_require__) {
|
8040
8056
|
|
8041
8057
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -8043,8 +8059,8 @@ var tslib_1 = __webpack_require__(2);
|
|
8043
8059
|
var $ = __webpack_require__(3);
|
8044
8060
|
var moment = __webpack_require__(0);
|
8045
8061
|
var EventDef_1 = __webpack_require__(33);
|
8046
|
-
var EventInstance_1 = __webpack_require__(
|
8047
|
-
var EventDateProfile_1 = __webpack_require__(
|
8062
|
+
var EventInstance_1 = __webpack_require__(209);
|
8063
|
+
var EventDateProfile_1 = __webpack_require__(18);
|
8048
8064
|
var RecurringEventDef = /** @class */ (function (_super) {
|
8049
8065
|
tslib_1.__extends(RecurringEventDef, _super);
|
8050
8066
|
function RecurringEventDef() {
|
@@ -8134,7 +8150,7 @@ RecurringEventDef.defineStandardProps({
|
|
8134
8150
|
|
8135
8151
|
|
8136
8152
|
/***/ }),
|
8137
|
-
/*
|
8153
|
+
/* 211 */
|
8138
8154
|
/***/ (function(module, exports) {
|
8139
8155
|
|
8140
8156
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -8152,14 +8168,14 @@ exports.default = EventRange;
|
|
8152
8168
|
|
8153
8169
|
|
8154
8170
|
/***/ }),
|
8155
|
-
/*
|
8171
|
+
/* 212 */
|
8156
8172
|
/***/ (function(module, exports, __webpack_require__) {
|
8157
8173
|
|
8158
8174
|
Object.defineProperty(exports, "__esModule", { value: true });
|
8159
8175
|
var $ = __webpack_require__(3);
|
8160
8176
|
var util_1 = __webpack_require__(34);
|
8161
|
-
var EventInstanceGroup_1 = __webpack_require__(
|
8162
|
-
var RecurringEventDef_1 = __webpack_require__(
|
8177
|
+
var EventInstanceGroup_1 = __webpack_require__(19);
|
8178
|
+
var RecurringEventDef_1 = __webpack_require__(210);
|
8163
8179
|
var EventSource_1 = __webpack_require__(6);
|
8164
8180
|
var BUSINESS_HOUR_EVENT_DEFAULTS = {
|
8165
8181
|
start: '09:00',
|
@@ -8221,7 +8237,7 @@ exports.default = BusinessHourGenerator;
|
|
8221
8237
|
|
8222
8238
|
|
8223
8239
|
/***/ }),
|
8224
|
-
/*
|
8240
|
+
/* 213 */
|
8225
8241
|
/***/ (function(module, exports, __webpack_require__) {
|
8226
8242
|
|
8227
8243
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -8270,7 +8286,7 @@ StandardTheme.prototype.iconOverridePrefix = 'fc-icon-';
|
|
8270
8286
|
|
8271
8287
|
|
8272
8288
|
/***/ }),
|
8273
|
-
/*
|
8289
|
+
/* 214 */
|
8274
8290
|
/***/ (function(module, exports, __webpack_require__) {
|
8275
8291
|
|
8276
8292
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -8320,13 +8336,13 @@ JqueryUiTheme.prototype.iconOverridePrefix = 'ui-icon-';
|
|
8320
8336
|
|
8321
8337
|
|
8322
8338
|
/***/ }),
|
8323
|
-
/*
|
8339
|
+
/* 215 */
|
8324
8340
|
/***/ (function(module, exports, __webpack_require__) {
|
8325
8341
|
|
8326
8342
|
Object.defineProperty(exports, "__esModule", { value: true });
|
8327
8343
|
var tslib_1 = __webpack_require__(2);
|
8328
8344
|
var $ = __webpack_require__(3);
|
8329
|
-
var Promise_1 = __webpack_require__(
|
8345
|
+
var Promise_1 = __webpack_require__(20);
|
8330
8346
|
var EventSource_1 = __webpack_require__(6);
|
8331
8347
|
var FuncEventSource = /** @class */ (function (_super) {
|
8332
8348
|
tslib_1.__extends(FuncEventSource, _super);
|
@@ -8374,14 +8390,14 @@ FuncEventSource.defineStandardProps({
|
|
8374
8390
|
|
8375
8391
|
|
8376
8392
|
/***/ }),
|
8377
|
-
/*
|
8393
|
+
/* 216 */
|
8378
8394
|
/***/ (function(module, exports, __webpack_require__) {
|
8379
8395
|
|
8380
8396
|
Object.defineProperty(exports, "__esModule", { value: true });
|
8381
8397
|
var tslib_1 = __webpack_require__(2);
|
8382
8398
|
var $ = __webpack_require__(3);
|
8383
8399
|
var util_1 = __webpack_require__(4);
|
8384
|
-
var Promise_1 = __webpack_require__(
|
8400
|
+
var Promise_1 = __webpack_require__(20);
|
8385
8401
|
var EventSource_1 = __webpack_require__(6);
|
8386
8402
|
var JsonFeedEventSource = /** @class */ (function (_super) {
|
8387
8403
|
tslib_1.__extends(JsonFeedEventSource, _super);
|
@@ -8499,7 +8515,7 @@ JsonFeedEventSource.defineStandardProps({
|
|
8499
8515
|
|
8500
8516
|
|
8501
8517
|
/***/ }),
|
8502
|
-
/*
|
8518
|
+
/* 217 */
|
8503
8519
|
/***/ (function(module, exports, __webpack_require__) {
|
8504
8520
|
|
8505
8521
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -8569,12 +8585,12 @@ EmitterMixin_1.default.mixInto(TaskQueue);
|
|
8569
8585
|
|
8570
8586
|
|
8571
8587
|
/***/ }),
|
8572
|
-
/*
|
8588
|
+
/* 218 */
|
8573
8589
|
/***/ (function(module, exports, __webpack_require__) {
|
8574
8590
|
|
8575
8591
|
Object.defineProperty(exports, "__esModule", { value: true });
|
8576
8592
|
var tslib_1 = __webpack_require__(2);
|
8577
|
-
var TaskQueue_1 = __webpack_require__(
|
8593
|
+
var TaskQueue_1 = __webpack_require__(217);
|
8578
8594
|
var RenderQueue = /** @class */ (function (_super) {
|
8579
8595
|
tslib_1.__extends(RenderQueue, _super);
|
8580
8596
|
function RenderQueue(waitsByNamespace) {
|
@@ -8686,7 +8702,7 @@ exports.default = RenderQueue;
|
|
8686
8702
|
|
8687
8703
|
|
8688
8704
|
/***/ }),
|
8689
|
-
/*
|
8705
|
+
/* 219 */
|
8690
8706
|
/***/ (function(module, exports, __webpack_require__) {
|
8691
8707
|
|
8692
8708
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -8696,7 +8712,7 @@ var moment = __webpack_require__(0);
|
|
8696
8712
|
var util_1 = __webpack_require__(4);
|
8697
8713
|
var moment_ext_1 = __webpack_require__(10);
|
8698
8714
|
var date_formatting_1 = __webpack_require__(47);
|
8699
|
-
var Component_1 = __webpack_require__(
|
8715
|
+
var Component_1 = __webpack_require__(237);
|
8700
8716
|
var util_2 = __webpack_require__(34);
|
8701
8717
|
var DateComponent = /** @class */ (function (_super) {
|
8702
8718
|
tslib_1.__extends(DateComponent, _super);
|
@@ -9261,7 +9277,7 @@ function convertEventsPayloadToLegacyArray(eventsPayload) {
|
|
9261
9277
|
|
9262
9278
|
|
9263
9279
|
/***/ }),
|
9264
|
-
/*
|
9280
|
+
/* 220 */
|
9265
9281
|
/***/ (function(module, exports, __webpack_require__) {
|
9266
9282
|
|
9267
9283
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -9269,21 +9285,21 @@ var $ = __webpack_require__(3);
|
|
9269
9285
|
var moment = __webpack_require__(0);
|
9270
9286
|
var util_1 = __webpack_require__(4);
|
9271
9287
|
var options_1 = __webpack_require__(31);
|
9272
|
-
var Iterator_1 = __webpack_require__(
|
9273
|
-
var GlobalEmitter_1 = __webpack_require__(
|
9288
|
+
var Iterator_1 = __webpack_require__(238);
|
9289
|
+
var GlobalEmitter_1 = __webpack_require__(15);
|
9274
9290
|
var EmitterMixin_1 = __webpack_require__(11);
|
9275
9291
|
var ListenerMixin_1 = __webpack_require__(7);
|
9276
|
-
var Toolbar_1 = __webpack_require__(
|
9277
|
-
var OptionsManager_1 = __webpack_require__(
|
9278
|
-
var ViewSpecManager_1 = __webpack_require__(
|
9279
|
-
var Constraints_1 = __webpack_require__(
|
9292
|
+
var Toolbar_1 = __webpack_require__(239);
|
9293
|
+
var OptionsManager_1 = __webpack_require__(240);
|
9294
|
+
var ViewSpecManager_1 = __webpack_require__(241);
|
9295
|
+
var Constraints_1 = __webpack_require__(207);
|
9280
9296
|
var locale_1 = __webpack_require__(30);
|
9281
9297
|
var moment_ext_1 = __webpack_require__(10);
|
9282
9298
|
var UnzonedRange_1 = __webpack_require__(5);
|
9283
9299
|
var ComponentFootprint_1 = __webpack_require__(12);
|
9284
|
-
var EventDateProfile_1 = __webpack_require__(
|
9285
|
-
var EventManager_1 = __webpack_require__(
|
9286
|
-
var BusinessHourGenerator_1 = __webpack_require__(
|
9300
|
+
var EventDateProfile_1 = __webpack_require__(18);
|
9301
|
+
var EventManager_1 = __webpack_require__(242);
|
9302
|
+
var BusinessHourGenerator_1 = __webpack_require__(212);
|
9287
9303
|
var EventSourceParser_1 = __webpack_require__(37);
|
9288
9304
|
var EventDefParser_1 = __webpack_require__(49);
|
9289
9305
|
var SingleEventDef_1 = __webpack_require__(13);
|
@@ -9368,6 +9384,9 @@ var Calendar = /** @class */ (function () {
|
|
9368
9384
|
// Given a view name for a custom view or a standard view, creates a ready-to-go View object
|
9369
9385
|
Calendar.prototype.instantiateView = function (viewType) {
|
9370
9386
|
var spec = this.viewSpecManager.getViewSpec(viewType);
|
9387
|
+
if (!spec) {
|
9388
|
+
throw new Error("View type \"" + viewType + "\" is not valid");
|
9389
|
+
}
|
9371
9390
|
return new spec['class'](this, spec);
|
9372
9391
|
};
|
9373
9392
|
// Returns a boolean about whether the view is okay to instantiate at some point
|
@@ -10204,7 +10223,7 @@ function filterLegacyEventInstances(legacyEventInstances, legacyQuery) {
|
|
10204
10223
|
|
10205
10224
|
|
10206
10225
|
/***/ }),
|
10207
|
-
/*
|
10226
|
+
/* 221 */
|
10208
10227
|
/***/ (function(module, exports, __webpack_require__) {
|
10209
10228
|
|
10210
10229
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -10470,22 +10489,22 @@ exports.default = DateProfileGenerator;
|
|
10470
10489
|
|
10471
10490
|
|
10472
10491
|
/***/ }),
|
10473
|
-
/*
|
10492
|
+
/* 222 */
|
10474
10493
|
/***/ (function(module, exports, __webpack_require__) {
|
10475
10494
|
|
10476
10495
|
Object.defineProperty(exports, "__esModule", { value: true });
|
10477
10496
|
var tslib_1 = __webpack_require__(2);
|
10478
10497
|
var $ = __webpack_require__(3);
|
10479
10498
|
var moment = __webpack_require__(0);
|
10480
|
-
var exportHooks = __webpack_require__(
|
10499
|
+
var exportHooks = __webpack_require__(17);
|
10481
10500
|
var util_1 = __webpack_require__(4);
|
10482
10501
|
var moment_ext_1 = __webpack_require__(10);
|
10483
10502
|
var ListenerMixin_1 = __webpack_require__(7);
|
10484
10503
|
var HitDragListener_1 = __webpack_require__(22);
|
10485
10504
|
var SingleEventDef_1 = __webpack_require__(13);
|
10486
|
-
var EventInstanceGroup_1 = __webpack_require__(
|
10505
|
+
var EventInstanceGroup_1 = __webpack_require__(19);
|
10487
10506
|
var EventSource_1 = __webpack_require__(6);
|
10488
|
-
var Interaction_1 = __webpack_require__(
|
10507
|
+
var Interaction_1 = __webpack_require__(16);
|
10489
10508
|
var ExternalDropping = /** @class */ (function (_super) {
|
10490
10509
|
tslib_1.__extends(ExternalDropping, _super);
|
10491
10510
|
function ExternalDropping() {
|
@@ -10685,7 +10704,7 @@ function getDraggedElMeta(el) {
|
|
10685
10704
|
|
10686
10705
|
|
10687
10706
|
/***/ }),
|
10688
|
-
/*
|
10707
|
+
/* 223 */
|
10689
10708
|
/***/ (function(module, exports, __webpack_require__) {
|
10690
10709
|
|
10691
10710
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -10695,7 +10714,7 @@ var util_1 = __webpack_require__(4);
|
|
10695
10714
|
var EventDefMutation_1 = __webpack_require__(36);
|
10696
10715
|
var EventDefDateMutation_1 = __webpack_require__(50);
|
10697
10716
|
var HitDragListener_1 = __webpack_require__(22);
|
10698
|
-
var Interaction_1 = __webpack_require__(
|
10717
|
+
var Interaction_1 = __webpack_require__(16);
|
10699
10718
|
var EventResizing = /** @class */ (function (_super) {
|
10700
10719
|
tslib_1.__extends(EventResizing, _super);
|
10701
10720
|
/*
|
@@ -10877,7 +10896,7 @@ exports.default = EventResizing;
|
|
10877
10896
|
|
10878
10897
|
|
10879
10898
|
/***/ }),
|
10880
|
-
/*
|
10899
|
+
/* 224 */
|
10881
10900
|
/***/ (function(module, exports, __webpack_require__) {
|
10882
10901
|
|
10883
10902
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -10887,8 +10906,9 @@ var EventDefMutation_1 = __webpack_require__(36);
|
|
10887
10906
|
var EventDefDateMutation_1 = __webpack_require__(50);
|
10888
10907
|
var DragListener_1 = __webpack_require__(54);
|
10889
10908
|
var HitDragListener_1 = __webpack_require__(22);
|
10890
|
-
var MouseFollower_1 = __webpack_require__(
|
10891
|
-
var
|
10909
|
+
var MouseFollower_1 = __webpack_require__(244);
|
10910
|
+
var GlobalEmitter_1 = __webpack_require__(15);
|
10911
|
+
var Interaction_1 = __webpack_require__(16);
|
10892
10912
|
var EventDragging = /** @class */ (function (_super) {
|
10893
10913
|
tslib_1.__extends(EventDragging, _super);
|
10894
10914
|
/*
|
@@ -10923,7 +10943,8 @@ var EventDragging = /** @class */ (function (_super) {
|
|
10923
10943
|
component.bindSegHandlerToEl(el, 'touchstart', this.handleTouchStart.bind(this));
|
10924
10944
|
};
|
10925
10945
|
EventDragging.prototype.handleMousedown = function (seg, ev) {
|
10926
|
-
if (
|
10946
|
+
if (!GlobalEmitter_1.default.get().shouldIgnoreMouse() && // TODO: move to a deeper level
|
10947
|
+
this.component.canStartDrag(seg, ev)) {
|
10927
10948
|
this.buildDragListener(seg).startInteraction(ev, { distance: 5 });
|
10928
10949
|
}
|
10929
10950
|
};
|
@@ -10933,11 +10954,13 @@ var EventDragging = /** @class */ (function (_super) {
|
|
10933
10954
|
delay: this.view.isEventDefSelected(seg.footprint.eventDef) ? // already selected?
|
10934
10955
|
0 : this.getSelectionDelay()
|
10935
10956
|
};
|
10936
|
-
if (
|
10937
|
-
|
10938
|
-
|
10939
|
-
|
10940
|
-
|
10957
|
+
if (!GlobalEmitter_1.default.get().shouldIgnoreMouse()) {
|
10958
|
+
if (component.canStartDrag(seg, ev)) {
|
10959
|
+
this.buildDragListener(seg).startInteraction(ev, settings);
|
10960
|
+
}
|
10961
|
+
else if (component.canStartSelection(seg, ev)) {
|
10962
|
+
this.buildSelectListener(seg).startInteraction(ev, settings);
|
10963
|
+
}
|
10941
10964
|
}
|
10942
10965
|
};
|
10943
10966
|
// seg isn't draggable, but let's use a generic DragListener
|
@@ -11150,7 +11173,7 @@ exports.default = EventDragging;
|
|
11150
11173
|
|
11151
11174
|
|
11152
11175
|
/***/ }),
|
11153
|
-
/*
|
11176
|
+
/* 225 */
|
11154
11177
|
/***/ (function(module, exports, __webpack_require__) {
|
11155
11178
|
|
11156
11179
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -11159,7 +11182,7 @@ var util_1 = __webpack_require__(4);
|
|
11159
11182
|
var HitDragListener_1 = __webpack_require__(22);
|
11160
11183
|
var ComponentFootprint_1 = __webpack_require__(12);
|
11161
11184
|
var UnzonedRange_1 = __webpack_require__(5);
|
11162
|
-
var Interaction_1 = __webpack_require__(
|
11185
|
+
var Interaction_1 = __webpack_require__(16);
|
11163
11186
|
var DateSelecting = /** @class */ (function (_super) {
|
11164
11187
|
tslib_1.__extends(DateSelecting, _super);
|
11165
11188
|
/*
|
@@ -11287,7 +11310,7 @@ exports.default = DateSelecting;
|
|
11287
11310
|
|
11288
11311
|
|
11289
11312
|
/***/ }),
|
11290
|
-
/*
|
11313
|
+
/* 226 */
|
11291
11314
|
/***/ (function(module, exports, __webpack_require__) {
|
11292
11315
|
|
11293
11316
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -11297,9 +11320,11 @@ var $ = __webpack_require__(3);
|
|
11297
11320
|
var util_1 = __webpack_require__(4);
|
11298
11321
|
var Scroller_1 = __webpack_require__(39);
|
11299
11322
|
var View_1 = __webpack_require__(41);
|
11300
|
-
var TimeGrid_1 = __webpack_require__(
|
11323
|
+
var TimeGrid_1 = __webpack_require__(227);
|
11301
11324
|
var DayGrid_1 = __webpack_require__(61);
|
11302
11325
|
var AGENDA_ALL_DAY_EVENT_LIMIT = 5;
|
11326
|
+
var agendaTimeGridMethods;
|
11327
|
+
var agendaDayGridMethods;
|
11303
11328
|
/* An abstract class for all agenda-related views. Displays one more columns with time slots running vertically.
|
11304
11329
|
----------------------------------------------------------------------------------------------------------------------*/
|
11305
11330
|
// Is a manager for the TimeGrid subcomponent and possibly the DayGrid subcomponent (if allDaySlot is on).
|
@@ -11323,13 +11348,15 @@ var AgendaView = /** @class */ (function (_super) {
|
|
11323
11348
|
}
|
11324
11349
|
// Instantiates the TimeGrid object this view needs. Draws from this.timeGridClass
|
11325
11350
|
AgendaView.prototype.instantiateTimeGrid = function () {
|
11326
|
-
var
|
11327
|
-
|
11351
|
+
var timeGrid = new this.timeGridClass(this);
|
11352
|
+
util_1.copyOwnProps(agendaTimeGridMethods, timeGrid);
|
11353
|
+
return timeGrid;
|
11328
11354
|
};
|
11329
11355
|
// Instantiates the DayGrid object this view might need. Draws from this.dayGridClass
|
11330
11356
|
AgendaView.prototype.instantiateDayGrid = function () {
|
11331
|
-
var
|
11332
|
-
|
11357
|
+
var dayGrid = new this.dayGridClass(this);
|
11358
|
+
util_1.copyOwnProps(agendaDayGridMethods, dayGrid);
|
11359
|
+
return dayGrid;
|
11333
11360
|
};
|
11334
11361
|
/* Rendering
|
11335
11362
|
------------------------------------------------------------------------------------------------------------------*/
|
@@ -11545,71 +11572,57 @@ exports.default = AgendaView;
|
|
11545
11572
|
AgendaView.prototype.timeGridClass = TimeGrid_1.default;
|
11546
11573
|
AgendaView.prototype.dayGridClass = DayGrid_1.default;
|
11547
11574
|
// Will customize the rendering behavior of the AgendaView's timeGrid
|
11548
|
-
|
11549
|
-
|
11550
|
-
|
11551
|
-
|
11552
|
-
|
11575
|
+
agendaTimeGridMethods = {
|
11576
|
+
// Generates the HTML that will go before the day-of week header cells
|
11577
|
+
renderHeadIntroHtml: function () {
|
11578
|
+
var view = this.view;
|
11579
|
+
var calendar = view.calendar;
|
11580
|
+
var weekStart = calendar.msToUtcMoment(this.dateProfile.renderUnzonedRange.startMs, true);
|
11581
|
+
var weekText;
|
11582
|
+
if (this.opt('weekNumbers')) {
|
11583
|
+
weekText = weekStart.format(this.opt('smallWeekFormat'));
|
11584
|
+
return '' +
|
11585
|
+
'<th class="fc-axis fc-week-number ' + calendar.theme.getClass('widgetHeader') + '" ' + view.axisStyleAttr() + '>' +
|
11586
|
+
view.buildGotoAnchorHtml(// aside from link, important for matchCellWidths
|
11587
|
+
{ date: weekStart, type: 'week', forceOff: this.colCnt > 1 }, util_1.htmlEscape(weekText) // inner HTML
|
11588
|
+
) +
|
11589
|
+
'</th>';
|
11553
11590
|
}
|
11554
|
-
|
11555
|
-
|
11556
|
-
var view = this.view;
|
11557
|
-
var calendar = view.calendar;
|
11558
|
-
var weekStart = calendar.msToUtcMoment(this.dateProfile.renderUnzonedRange.startMs, true);
|
11559
|
-
var weekText;
|
11560
|
-
if (this.opt('weekNumbers')) {
|
11561
|
-
weekText = weekStart.format(this.opt('smallWeekFormat'));
|
11562
|
-
return '' +
|
11563
|
-
'<th class="fc-axis fc-week-number ' + calendar.theme.getClass('widgetHeader') + '" ' + view.axisStyleAttr() + '>' +
|
11564
|
-
view.buildGotoAnchorHtml(// aside from link, important for matchCellWidths
|
11565
|
-
{ date: weekStart, type: 'week', forceOff: this.colCnt > 1 }, util_1.htmlEscape(weekText) // inner HTML
|
11566
|
-
) +
|
11567
|
-
'</th>';
|
11568
|
-
}
|
11569
|
-
else {
|
11570
|
-
return '<th class="fc-axis ' + calendar.theme.getClass('widgetHeader') + '" ' + view.axisStyleAttr() + '></th>';
|
11571
|
-
}
|
11572
|
-
};
|
11573
|
-
// Generates the HTML that goes before the bg of the TimeGrid slot area. Long vertical column.
|
11574
|
-
SubClass.prototype.renderBgIntroHtml = function () {
|
11575
|
-
var view = this.view;
|
11576
|
-
return '<td class="fc-axis ' + view.calendar.theme.getClass('widgetContent') + '" ' + view.axisStyleAttr() + '></td>';
|
11577
|
-
};
|
11578
|
-
// Generates the HTML that goes before all other types of cells.
|
11579
|
-
// Affects content-skeleton, helper-skeleton, highlight-skeleton for both the time-grid and day-grid.
|
11580
|
-
SubClass.prototype.renderIntroHtml = function () {
|
11581
|
-
var view = this.view;
|
11582
|
-
return '<td class="fc-axis" ' + view.axisStyleAttr() + '></td>';
|
11583
|
-
};
|
11584
|
-
return SubClass;
|
11585
|
-
}(SuperClass));
|
11586
|
-
}
|
11587
|
-
// Will customize the rendering behavior of the AgendaView's dayGrid
|
11588
|
-
function makeDayGridSubclass(SuperClass) {
|
11589
|
-
return /** @class */ (function (_super) {
|
11590
|
-
tslib_1.__extends(SubClass, _super);
|
11591
|
-
function SubClass() {
|
11592
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
11591
|
+
else {
|
11592
|
+
return '<th class="fc-axis ' + calendar.theme.getClass('widgetHeader') + '" ' + view.axisStyleAttr() + '></th>';
|
11593
11593
|
}
|
11594
|
-
|
11595
|
-
|
11596
|
-
|
11597
|
-
|
11598
|
-
|
11599
|
-
|
11600
|
-
|
11601
|
-
|
11602
|
-
|
11603
|
-
|
11604
|
-
|
11605
|
-
|
11606
|
-
|
11607
|
-
|
11608
|
-
|
11609
|
-
|
11610
|
-
|
11611
|
-
|
11612
|
-
|
11594
|
+
},
|
11595
|
+
// Generates the HTML that goes before the bg of the TimeGrid slot area. Long vertical column.
|
11596
|
+
renderBgIntroHtml: function () {
|
11597
|
+
var view = this.view;
|
11598
|
+
return '<td class="fc-axis ' + view.calendar.theme.getClass('widgetContent') + '" ' + view.axisStyleAttr() + '></td>';
|
11599
|
+
},
|
11600
|
+
// Generates the HTML that goes before all other types of cells.
|
11601
|
+
// Affects content-skeleton, helper-skeleton, highlight-skeleton for both the time-grid and day-grid.
|
11602
|
+
renderIntroHtml: function () {
|
11603
|
+
var view = this.view;
|
11604
|
+
return '<td class="fc-axis" ' + view.axisStyleAttr() + '></td>';
|
11605
|
+
}
|
11606
|
+
};
|
11607
|
+
// Will customize the rendering behavior of the AgendaView's dayGrid
|
11608
|
+
agendaDayGridMethods = {
|
11609
|
+
// Generates the HTML that goes before the all-day cells
|
11610
|
+
renderBgIntroHtml: function () {
|
11611
|
+
var view = this.view;
|
11612
|
+
return '' +
|
11613
|
+
'<td class="fc-axis ' + view.calendar.theme.getClass('widgetContent') + '" ' + view.axisStyleAttr() + '>' +
|
11614
|
+
'<span>' + // needed for matchCellWidths
|
11615
|
+
view.getAllDayHtml() +
|
11616
|
+
'</span>' +
|
11617
|
+
'</td>';
|
11618
|
+
},
|
11619
|
+
// Generates the HTML that goes before all other types of cells.
|
11620
|
+
// Affects content-skeleton, helper-skeleton, highlight-skeleton for both the time-grid and day-grid.
|
11621
|
+
renderIntroHtml: function () {
|
11622
|
+
var view = this.view;
|
11623
|
+
return '<td class="fc-axis" ' + view.axisStyleAttr() + '></td>';
|
11624
|
+
}
|
11625
|
+
};
|
11613
11626
|
function groupEventFootprintsByAllDay(eventFootprints) {
|
11614
11627
|
var allDay = [];
|
11615
11628
|
var timed = [];
|
@@ -11627,7 +11640,7 @@ function groupEventFootprintsByAllDay(eventFootprints) {
|
|
11627
11640
|
|
11628
11641
|
|
11629
11642
|
/***/ }),
|
11630
|
-
/*
|
11643
|
+
/* 227 */
|
11631
11644
|
/***/ (function(module, exports, __webpack_require__) {
|
11632
11645
|
|
11633
11646
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -11642,9 +11655,9 @@ var DayTableMixin_1 = __webpack_require__(55);
|
|
11642
11655
|
var CoordCache_1 = __webpack_require__(53);
|
11643
11656
|
var UnzonedRange_1 = __webpack_require__(5);
|
11644
11657
|
var ComponentFootprint_1 = __webpack_require__(12);
|
11645
|
-
var TimeGridEventRenderer_1 = __webpack_require__(
|
11646
|
-
var TimeGridHelperRenderer_1 = __webpack_require__(
|
11647
|
-
var TimeGridFillRenderer_1 = __webpack_require__(
|
11658
|
+
var TimeGridEventRenderer_1 = __webpack_require__(246);
|
11659
|
+
var TimeGridHelperRenderer_1 = __webpack_require__(247);
|
11660
|
+
var TimeGridFillRenderer_1 = __webpack_require__(248);
|
11648
11661
|
/* A component that renders one or more columns of vertical time slots
|
11649
11662
|
----------------------------------------------------------------------------------------------------------------------*/
|
11650
11663
|
// We mixin DayTable, even though there is only a single row of days
|
@@ -11864,14 +11877,16 @@ var TimeGrid = /** @class */ (function (_super) {
|
|
11864
11877
|
this.el.append(skeletonEl);
|
11865
11878
|
};
|
11866
11879
|
TimeGrid.prototype.unrenderContentSkeleton = function () {
|
11867
|
-
this.contentSkeletonEl
|
11868
|
-
|
11869
|
-
|
11870
|
-
|
11871
|
-
|
11872
|
-
|
11873
|
-
|
11874
|
-
|
11880
|
+
if (this.contentSkeletonEl) {
|
11881
|
+
this.contentSkeletonEl.remove();
|
11882
|
+
this.contentSkeletonEl = null;
|
11883
|
+
this.colContainerEls = null;
|
11884
|
+
this.helperContainerEls = null;
|
11885
|
+
this.fgContainerEls = null;
|
11886
|
+
this.bgContainerEls = null;
|
11887
|
+
this.highlightContainerEls = null;
|
11888
|
+
this.businessContainerEls = null;
|
11889
|
+
}
|
11875
11890
|
};
|
11876
11891
|
// Given a flat array of segments, return an array of sub-arrays, grouped by each segment's col
|
11877
11892
|
TimeGrid.prototype.groupSegsByCol = function (segs) {
|
@@ -12127,13 +12142,13 @@ DayTableMixin_1.default.mixInto(TimeGrid);
|
|
12127
12142
|
|
12128
12143
|
|
12129
12144
|
/***/ }),
|
12130
|
-
/*
|
12145
|
+
/* 228 */
|
12131
12146
|
/***/ (function(module, exports, __webpack_require__) {
|
12132
12147
|
|
12133
12148
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12134
12149
|
var tslib_1 = __webpack_require__(2);
|
12135
12150
|
var UnzonedRange_1 = __webpack_require__(5);
|
12136
|
-
var DateProfileGenerator_1 = __webpack_require__(
|
12151
|
+
var DateProfileGenerator_1 = __webpack_require__(221);
|
12137
12152
|
var BasicViewDateProfileGenerator = /** @class */ (function (_super) {
|
12138
12153
|
tslib_1.__extends(BasicViewDateProfileGenerator, _super);
|
12139
12154
|
function BasicViewDateProfileGenerator() {
|
@@ -12160,7 +12175,7 @@ exports.default = BasicViewDateProfileGenerator;
|
|
12160
12175
|
|
12161
12176
|
|
12162
12177
|
/***/ }),
|
12163
|
-
/*
|
12178
|
+
/* 229 */
|
12164
12179
|
/***/ (function(module, exports, __webpack_require__) {
|
12165
12180
|
|
12166
12181
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -12168,7 +12183,7 @@ var tslib_1 = __webpack_require__(2);
|
|
12168
12183
|
var moment = __webpack_require__(0);
|
12169
12184
|
var util_1 = __webpack_require__(4);
|
12170
12185
|
var BasicView_1 = __webpack_require__(62);
|
12171
|
-
var MonthViewDateProfileGenerator_1 = __webpack_require__(
|
12186
|
+
var MonthViewDateProfileGenerator_1 = __webpack_require__(253);
|
12172
12187
|
/* A month view with day cells running in rows (one-per-week) and columns
|
12173
12188
|
----------------------------------------------------------------------------------------------------------------------*/
|
12174
12189
|
var MonthView = /** @class */ (function (_super) {
|
@@ -12194,7 +12209,7 @@ MonthView.prototype.dateProfileGeneratorClass = MonthViewDateProfileGenerator_1.
|
|
12194
12209
|
|
12195
12210
|
|
12196
12211
|
/***/ }),
|
12197
|
-
/*
|
12212
|
+
/* 230 */
|
12198
12213
|
/***/ (function(module, exports, __webpack_require__) {
|
12199
12214
|
|
12200
12215
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -12204,8 +12219,8 @@ var util_1 = __webpack_require__(4);
|
|
12204
12219
|
var UnzonedRange_1 = __webpack_require__(5);
|
12205
12220
|
var View_1 = __webpack_require__(41);
|
12206
12221
|
var Scroller_1 = __webpack_require__(39);
|
12207
|
-
var ListEventRenderer_1 = __webpack_require__(
|
12208
|
-
var ListEventPointing_1 = __webpack_require__(
|
12222
|
+
var ListEventRenderer_1 = __webpack_require__(254);
|
12223
|
+
var ListEventPointing_1 = __webpack_require__(255);
|
12209
12224
|
/*
|
12210
12225
|
Responsible for the scroller, and forwarding event-related actions into the "grid".
|
12211
12226
|
*/
|
@@ -12350,27 +12365,27 @@ ListView.prototype.eventPointingClass = ListEventPointing_1.default;
|
|
12350
12365
|
|
12351
12366
|
|
12352
12367
|
/***/ }),
|
12353
|
-
/* 227 */,
|
12354
|
-
/* 228 */,
|
12355
|
-
/* 229 */,
|
12356
|
-
/* 230 */,
|
12357
12368
|
/* 231 */,
|
12358
|
-
/* 232
|
12369
|
+
/* 232 */,
|
12370
|
+
/* 233 */,
|
12371
|
+
/* 234 */,
|
12372
|
+
/* 235 */,
|
12373
|
+
/* 236 */
|
12359
12374
|
/***/ (function(module, exports, __webpack_require__) {
|
12360
12375
|
|
12361
12376
|
var $ = __webpack_require__(3);
|
12362
|
-
var exportHooks = __webpack_require__(
|
12377
|
+
var exportHooks = __webpack_require__(17);
|
12363
12378
|
var util_1 = __webpack_require__(4);
|
12364
|
-
var Calendar_1 = __webpack_require__(
|
12379
|
+
var Calendar_1 = __webpack_require__(220);
|
12365
12380
|
// for intentional side-effects
|
12366
12381
|
__webpack_require__(10);
|
12367
12382
|
__webpack_require__(47);
|
12368
|
-
__webpack_require__(252);
|
12369
|
-
__webpack_require__(253);
|
12370
|
-
__webpack_require__(255);
|
12371
12383
|
__webpack_require__(256);
|
12372
12384
|
__webpack_require__(257);
|
12373
|
-
__webpack_require__(
|
12385
|
+
__webpack_require__(259);
|
12386
|
+
__webpack_require__(260);
|
12387
|
+
__webpack_require__(261);
|
12388
|
+
__webpack_require__(262);
|
12374
12389
|
$.fullCalendar = exportHooks;
|
12375
12390
|
$.fn.fullCalendar = function (options) {
|
12376
12391
|
var args = Array.prototype.slice.call(arguments, 1); // for a possible method call
|
@@ -12420,7 +12435,7 @@ module.exports = exportHooks;
|
|
12420
12435
|
|
12421
12436
|
|
12422
12437
|
/***/ }),
|
12423
|
-
/*
|
12438
|
+
/* 237 */
|
12424
12439
|
/***/ (function(module, exports, __webpack_require__) {
|
12425
12440
|
|
12426
12441
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -12469,7 +12484,7 @@ exports.default = Component;
|
|
12469
12484
|
|
12470
12485
|
|
12471
12486
|
/***/ }),
|
12472
|
-
/*
|
12487
|
+
/* 238 */
|
12473
12488
|
/***/ (function(module, exports) {
|
12474
12489
|
|
12475
12490
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -12495,7 +12510,7 @@ exports.default = Iterator;
|
|
12495
12510
|
|
12496
12511
|
|
12497
12512
|
/***/ }),
|
12498
|
-
/*
|
12513
|
+
/* 239 */
|
12499
12514
|
/***/ (function(module, exports, __webpack_require__) {
|
12500
12515
|
|
12501
12516
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -12565,6 +12580,7 @@ var Toolbar = /** @class */ (function () {
|
|
12565
12580
|
var buttonInnerHtml;
|
12566
12581
|
var buttonClasses;
|
12567
12582
|
var buttonEl;
|
12583
|
+
var buttonAriaAttr;
|
12568
12584
|
if (buttonName === 'title') {
|
12569
12585
|
groupChildren = groupChildren.add($('<h2> </h2>')); // we always want it to take up height
|
12570
12586
|
isOnlyButtons = false;
|
@@ -12606,14 +12622,16 @@ var Toolbar = /** @class */ (function () {
|
|
12606
12622
|
];
|
12607
12623
|
if (buttonText) {
|
12608
12624
|
buttonInnerHtml = util_1.htmlEscape(buttonText);
|
12625
|
+
buttonAriaAttr = '';
|
12609
12626
|
}
|
12610
12627
|
else if (buttonIcon) {
|
12611
12628
|
buttonInnerHtml = "<span class='" + buttonIcon + "'></span>";
|
12629
|
+
buttonAriaAttr = ' aria-label="' + buttonName + '"';
|
12612
12630
|
}
|
12613
12631
|
buttonEl = $(// type="button" so that it doesn't submit a form
|
12614
|
-
'<button type="button" class="' + buttonClasses.join(' ') + '"
|
12615
|
-
|
12616
|
-
'</button>')
|
12632
|
+
'<button type="button" class="' + buttonClasses.join(' ') + '"' +
|
12633
|
+
buttonAriaAttr +
|
12634
|
+
'>' + buttonInnerHtml + '</button>')
|
12617
12635
|
.click(function (ev) {
|
12618
12636
|
// don't process clicks for disabled buttons
|
12619
12637
|
if (!buttonEl.hasClass(theme.getClass('stateDisabled'))) {
|
@@ -12715,7 +12733,7 @@ exports.default = Toolbar;
|
|
12715
12733
|
|
12716
12734
|
|
12717
12735
|
/***/ }),
|
12718
|
-
/*
|
12736
|
+
/* 240 */
|
12719
12737
|
/***/ (function(module, exports, __webpack_require__) {
|
12720
12738
|
|
12721
12739
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -12755,6 +12773,9 @@ var OptionsManager = /** @class */ (function (_super) {
|
|
12755
12773
|
else if (optionName === 'businessHours') {
|
12756
12774
|
return; // this model already reacts to this
|
12757
12775
|
}
|
12776
|
+
else if (/^(event|select)(Overlap|Constraint|Allow)$/.test(optionName)) {
|
12777
|
+
return; // doesn't affect rendering. only interactions.
|
12778
|
+
}
|
12758
12779
|
else if (optionName === 'timezone') {
|
12759
12780
|
this._calendar.view.flash('initialEvents');
|
12760
12781
|
return;
|
@@ -12813,7 +12834,7 @@ exports.default = OptionsManager;
|
|
12813
12834
|
|
12814
12835
|
|
12815
12836
|
/***/ }),
|
12816
|
-
/*
|
12837
|
+
/* 241 */
|
12817
12838
|
/***/ (function(module, exports, __webpack_require__) {
|
12818
12839
|
|
12819
12840
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -12967,18 +12988,18 @@ exports.default = ViewSpecManager;
|
|
12967
12988
|
|
12968
12989
|
|
12969
12990
|
/***/ }),
|
12970
|
-
/*
|
12991
|
+
/* 242 */
|
12971
12992
|
/***/ (function(module, exports, __webpack_require__) {
|
12972
12993
|
|
12973
12994
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12974
12995
|
var $ = __webpack_require__(3);
|
12975
12996
|
var util_1 = __webpack_require__(4);
|
12976
|
-
var EventPeriod_1 = __webpack_require__(
|
12997
|
+
var EventPeriod_1 = __webpack_require__(243);
|
12977
12998
|
var ArrayEventSource_1 = __webpack_require__(52);
|
12978
12999
|
var EventSource_1 = __webpack_require__(6);
|
12979
13000
|
var EventSourceParser_1 = __webpack_require__(37);
|
12980
13001
|
var SingleEventDef_1 = __webpack_require__(13);
|
12981
|
-
var EventInstanceGroup_1 = __webpack_require__(
|
13002
|
+
var EventInstanceGroup_1 = __webpack_require__(19);
|
12982
13003
|
var EmitterMixin_1 = __webpack_require__(11);
|
12983
13004
|
var ListenerMixin_1 = __webpack_require__(7);
|
12984
13005
|
var EventManager = /** @class */ (function () {
|
@@ -13229,16 +13250,16 @@ function isSourcesEquivalent(source0, source1) {
|
|
13229
13250
|
|
13230
13251
|
|
13231
13252
|
/***/ }),
|
13232
|
-
/*
|
13253
|
+
/* 243 */
|
13233
13254
|
/***/ (function(module, exports, __webpack_require__) {
|
13234
13255
|
|
13235
13256
|
Object.defineProperty(exports, "__esModule", { value: true });
|
13236
13257
|
var $ = __webpack_require__(3);
|
13237
13258
|
var util_1 = __webpack_require__(4);
|
13238
|
-
var Promise_1 = __webpack_require__(
|
13259
|
+
var Promise_1 = __webpack_require__(20);
|
13239
13260
|
var EmitterMixin_1 = __webpack_require__(11);
|
13240
13261
|
var UnzonedRange_1 = __webpack_require__(5);
|
13241
|
-
var EventInstanceGroup_1 = __webpack_require__(
|
13262
|
+
var EventInstanceGroup_1 = __webpack_require__(19);
|
13242
13263
|
var EventPeriod = /** @class */ (function () {
|
13243
13264
|
function EventPeriod(start, end, timezone) {
|
13244
13265
|
this.pendingCnt = 0;
|
@@ -13476,7 +13497,7 @@ EmitterMixin_1.default.mixInto(EventPeriod);
|
|
13476
13497
|
|
13477
13498
|
|
13478
13499
|
/***/ }),
|
13479
|
-
/*
|
13500
|
+
/* 244 */
|
13480
13501
|
/***/ (function(module, exports, __webpack_require__) {
|
13481
13502
|
|
13482
13503
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -13625,13 +13646,13 @@ ListenerMixin_1.default.mixInto(MouseFollower);
|
|
13625
13646
|
|
13626
13647
|
|
13627
13648
|
/***/ }),
|
13628
|
-
/*
|
13649
|
+
/* 245 */
|
13629
13650
|
/***/ (function(module, exports, __webpack_require__) {
|
13630
13651
|
|
13631
13652
|
Object.defineProperty(exports, "__esModule", { value: true });
|
13632
13653
|
var tslib_1 = __webpack_require__(2);
|
13633
13654
|
var HitDragListener_1 = __webpack_require__(22);
|
13634
|
-
var Interaction_1 = __webpack_require__(
|
13655
|
+
var Interaction_1 = __webpack_require__(16);
|
13635
13656
|
var DateClicking = /** @class */ (function (_super) {
|
13636
13657
|
tslib_1.__extends(DateClicking, _super);
|
13637
13658
|
/*
|
@@ -13703,7 +13724,7 @@ exports.default = DateClicking;
|
|
13703
13724
|
|
13704
13725
|
|
13705
13726
|
/***/ }),
|
13706
|
-
/*
|
13727
|
+
/* 246 */
|
13707
13728
|
/***/ (function(module, exports, __webpack_require__) {
|
13708
13729
|
|
13709
13730
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -14017,7 +14038,7 @@ function isSlotSegCollision(seg1, seg2) {
|
|
14017
14038
|
|
14018
14039
|
|
14019
14040
|
/***/ }),
|
14020
|
-
/*
|
14041
|
+
/* 247 */
|
14021
14042
|
/***/ (function(module, exports, __webpack_require__) {
|
14022
14043
|
|
14023
14044
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -14058,7 +14079,7 @@ exports.default = TimeGridHelperRenderer;
|
|
14058
14079
|
|
14059
14080
|
|
14060
14081
|
/***/ }),
|
14061
|
-
/*
|
14082
|
+
/* 248 */
|
14062
14083
|
/***/ (function(module, exports, __webpack_require__) {
|
14063
14084
|
|
14064
14085
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -14094,7 +14115,7 @@ exports.default = TimeGridFillRenderer;
|
|
14094
14115
|
|
14095
14116
|
|
14096
14117
|
/***/ }),
|
14097
|
-
/*
|
14118
|
+
/* 249 */
|
14098
14119
|
/***/ (function(module, exports, __webpack_require__) {
|
14099
14120
|
|
14100
14121
|
/* A rectangular panel that is absolutely positioned over other content
|
@@ -14241,7 +14262,7 @@ ListenerMixin_1.default.mixInto(Popover);
|
|
14241
14262
|
|
14242
14263
|
|
14243
14264
|
/***/ }),
|
14244
|
-
/*
|
14265
|
+
/* 250 */
|
14245
14266
|
/***/ (function(module, exports, __webpack_require__) {
|
14246
14267
|
|
14247
14268
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -14494,7 +14515,7 @@ function compareDaySegCols(a, b) {
|
|
14494
14515
|
|
14495
14516
|
|
14496
14517
|
/***/ }),
|
14497
|
-
/*
|
14518
|
+
/* 251 */
|
14498
14519
|
/***/ (function(module, exports, __webpack_require__) {
|
14499
14520
|
|
14500
14521
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -14543,7 +14564,7 @@ exports.default = DayGridHelperRenderer;
|
|
14543
14564
|
|
14544
14565
|
|
14545
14566
|
/***/ }),
|
14546
|
-
/*
|
14567
|
+
/* 252 */
|
14547
14568
|
/***/ (function(module, exports, __webpack_require__) {
|
14548
14569
|
|
14549
14570
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -14604,12 +14625,12 @@ exports.default = DayGridFillRenderer;
|
|
14604
14625
|
|
14605
14626
|
|
14606
14627
|
/***/ }),
|
14607
|
-
/*
|
14628
|
+
/* 253 */
|
14608
14629
|
/***/ (function(module, exports, __webpack_require__) {
|
14609
14630
|
|
14610
14631
|
Object.defineProperty(exports, "__esModule", { value: true });
|
14611
14632
|
var tslib_1 = __webpack_require__(2);
|
14612
|
-
var BasicViewDateProfileGenerator_1 = __webpack_require__(
|
14633
|
+
var BasicViewDateProfileGenerator_1 = __webpack_require__(228);
|
14613
14634
|
var UnzonedRange_1 = __webpack_require__(5);
|
14614
14635
|
var MonthViewDateProfileGenerator = /** @class */ (function (_super) {
|
14615
14636
|
tslib_1.__extends(MonthViewDateProfileGenerator, _super);
|
@@ -14637,7 +14658,7 @@ exports.default = MonthViewDateProfileGenerator;
|
|
14637
14658
|
|
14638
14659
|
|
14639
14660
|
/***/ }),
|
14640
|
-
/*
|
14661
|
+
/* 254 */
|
14641
14662
|
/***/ (function(module, exports, __webpack_require__) {
|
14642
14663
|
|
14643
14664
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -14717,7 +14738,7 @@ exports.default = ListEventRenderer;
|
|
14717
14738
|
|
14718
14739
|
|
14719
14740
|
/***/ }),
|
14720
|
-
/*
|
14741
|
+
/* 255 */
|
14721
14742
|
/***/ (function(module, exports, __webpack_require__) {
|
14722
14743
|
|
14723
14744
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -14748,35 +14769,35 @@ exports.default = ListEventPointing;
|
|
14748
14769
|
|
14749
14770
|
|
14750
14771
|
/***/ }),
|
14751
|
-
/*
|
14772
|
+
/* 256 */
|
14752
14773
|
/***/ (function(module, exports, __webpack_require__) {
|
14753
14774
|
|
14754
14775
|
Object.defineProperty(exports, "__esModule", { value: true });
|
14755
14776
|
var EventSourceParser_1 = __webpack_require__(37);
|
14756
14777
|
var ArrayEventSource_1 = __webpack_require__(52);
|
14757
|
-
var FuncEventSource_1 = __webpack_require__(
|
14758
|
-
var JsonFeedEventSource_1 = __webpack_require__(
|
14778
|
+
var FuncEventSource_1 = __webpack_require__(215);
|
14779
|
+
var JsonFeedEventSource_1 = __webpack_require__(216);
|
14759
14780
|
EventSourceParser_1.default.registerClass(ArrayEventSource_1.default);
|
14760
14781
|
EventSourceParser_1.default.registerClass(FuncEventSource_1.default);
|
14761
14782
|
EventSourceParser_1.default.registerClass(JsonFeedEventSource_1.default);
|
14762
14783
|
|
14763
14784
|
|
14764
14785
|
/***/ }),
|
14765
|
-
/*
|
14786
|
+
/* 257 */
|
14766
14787
|
/***/ (function(module, exports, __webpack_require__) {
|
14767
14788
|
|
14768
14789
|
Object.defineProperty(exports, "__esModule", { value: true });
|
14769
14790
|
var ThemeRegistry_1 = __webpack_require__(51);
|
14770
|
-
var StandardTheme_1 = __webpack_require__(
|
14771
|
-
var JqueryUiTheme_1 = __webpack_require__(
|
14772
|
-
var BootstrapTheme_1 = __webpack_require__(
|
14791
|
+
var StandardTheme_1 = __webpack_require__(213);
|
14792
|
+
var JqueryUiTheme_1 = __webpack_require__(214);
|
14793
|
+
var BootstrapTheme_1 = __webpack_require__(258);
|
14773
14794
|
ThemeRegistry_1.defineThemeSystem('standard', StandardTheme_1.default);
|
14774
14795
|
ThemeRegistry_1.defineThemeSystem('jquery-ui', JqueryUiTheme_1.default);
|
14775
14796
|
ThemeRegistry_1.defineThemeSystem('bootstrap3', BootstrapTheme_1.default);
|
14776
14797
|
|
14777
14798
|
|
14778
14799
|
/***/ }),
|
14779
|
-
/*
|
14800
|
+
/* 258 */
|
14780
14801
|
/***/ (function(module, exports, __webpack_require__) {
|
14781
14802
|
|
14782
14803
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -14822,13 +14843,13 @@ BootstrapTheme.prototype.iconOverridePrefix = 'glyphicon-';
|
|
14822
14843
|
|
14823
14844
|
|
14824
14845
|
/***/ }),
|
14825
|
-
/*
|
14846
|
+
/* 259 */
|
14826
14847
|
/***/ (function(module, exports, __webpack_require__) {
|
14827
14848
|
|
14828
14849
|
Object.defineProperty(exports, "__esModule", { value: true });
|
14829
14850
|
var ViewRegistry_1 = __webpack_require__(21);
|
14830
14851
|
var BasicView_1 = __webpack_require__(62);
|
14831
|
-
var MonthView_1 = __webpack_require__(
|
14852
|
+
var MonthView_1 = __webpack_require__(229);
|
14832
14853
|
ViewRegistry_1.defineView('basic', {
|
14833
14854
|
'class': BasicView_1.default
|
14834
14855
|
});
|
@@ -14850,12 +14871,12 @@ ViewRegistry_1.defineView('month', {
|
|
14850
14871
|
|
14851
14872
|
|
14852
14873
|
/***/ }),
|
14853
|
-
/*
|
14874
|
+
/* 260 */
|
14854
14875
|
/***/ (function(module, exports, __webpack_require__) {
|
14855
14876
|
|
14856
14877
|
Object.defineProperty(exports, "__esModule", { value: true });
|
14857
14878
|
var ViewRegistry_1 = __webpack_require__(21);
|
14858
|
-
var AgendaView_1 = __webpack_require__(
|
14879
|
+
var AgendaView_1 = __webpack_require__(226);
|
14859
14880
|
ViewRegistry_1.defineView('agenda', {
|
14860
14881
|
'class': AgendaView_1.default,
|
14861
14882
|
defaults: {
|
@@ -14875,12 +14896,12 @@ ViewRegistry_1.defineView('agendaWeek', {
|
|
14875
14896
|
|
14876
14897
|
|
14877
14898
|
/***/ }),
|
14878
|
-
/*
|
14899
|
+
/* 261 */
|
14879
14900
|
/***/ (function(module, exports, __webpack_require__) {
|
14880
14901
|
|
14881
14902
|
Object.defineProperty(exports, "__esModule", { value: true });
|
14882
14903
|
var ViewRegistry_1 = __webpack_require__(21);
|
14883
|
-
var ListView_1 = __webpack_require__(
|
14904
|
+
var ListView_1 = __webpack_require__(230);
|
14884
14905
|
ViewRegistry_1.defineView('list', {
|
14885
14906
|
'class': ListView_1.default,
|
14886
14907
|
buttonTextKey: 'list',
|
@@ -14922,7 +14943,7 @@ ViewRegistry_1.defineView('listYear', {
|
|
14922
14943
|
|
14923
14944
|
|
14924
14945
|
/***/ }),
|
14925
|
-
/*
|
14946
|
+
/* 262 */
|
14926
14947
|
/***/ (function(module, exports) {
|
14927
14948
|
|
14928
14949
|
Object.defineProperty(exports, "__esModule", { value: true });
|