fullcalendar.io-rails 3.8.1 → 3.8.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 07927883d2192b003b048213bee365fd26d273f2
4
- data.tar.gz: fb78b571dbdba3d56c6a54e25ecc5d07b3266c56
3
+ metadata.gz: 1f7dd9d7635d2a5bf81d73619b526fa426e22645
4
+ data.tar.gz: fac677c8b7aed64808283ca178f7af0183e4cf54
5
5
  SHA512:
6
- metadata.gz: 5f0c96d333e9c6e7373efc79169f086bbb9125466ac03c3e828ab72d002d07daa3e2270bc8a44ec4a22cb7fc8da5f424bc28f6919d8748452f2b3aa1fa886d7c
7
- data.tar.gz: c3f60eede930f40fc78b59eff981f06255d91436e04fa6e9c00315fa0012c1d1ac968e83f98b84b9b51c14c354d396796026f8d392cf9fe22042b206c5d89a13
6
+ metadata.gz: c9c746e2e3cdd44c53788da36facfbf3c3b773557948db058e0e82c13f7194c0d270f3038f3f3b098cf19ccd52116062017adc82abf3910f98a9fb4fe9c8c901
7
+ data.tar.gz: 955e56f2be4e2e8951d3e5dbfcc459ab78a4de528e02b79e4b1f0f03b0f19cc7fd793d502a08c0d847675f53d17ae59adc568677a4863ab6217ad8c6a2d49e7f
@@ -1,5 +1,5 @@
1
1
  module Fullcalendario
2
2
  module Rails
3
- VERSION = "3.8.1"
3
+ VERSION = "3.8.2"
4
4
  end
5
5
  end
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * FullCalendar v3.8.1
2
+ * FullCalendar v3.8.2
3
3
  * Docs & License: https://fullcalendar.io/
4
- * (c) 2017 Adam Shaw
4
+ * (c) 2018 Adam Shaw
5
5
  */
6
6
  (function webpackUniversalModuleDefinition(root, factory) {
7
7
  if(typeof exports === 'object' && typeof module === 'object')
@@ -1608,7 +1608,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
1608
1608
  var tslib_1 = __webpack_require__(2);
1609
1609
  var EventDef_1 = __webpack_require__(33);
1610
1610
  var EventInstance_1 = __webpack_require__(209);
1611
- var EventDateProfile_1 = __webpack_require__(18);
1611
+ var EventDateProfile_1 = __webpack_require__(17);
1612
1612
  var SingleEventDef = /** @class */ (function (_super) {
1613
1613
  tslib_1.__extends(SingleEventDef, _super);
1614
1614
  function SingleEventDef() {
@@ -1701,177 +1701,6 @@ exports.default = Mixin;
1701
1701
 
1702
1702
  /***/ }),
1703
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 */
1875
1704
  /***/ (function(module, exports) {
1876
1705
 
1877
1706
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1892,11 +1721,11 @@ exports.default = Interaction;
1892
1721
 
1893
1722
 
1894
1723
  /***/ }),
1895
- /* 17 */
1724
+ /* 16 */
1896
1725
  /***/ (function(module, exports, __webpack_require__) {
1897
1726
 
1898
1727
  Object.defineProperty(exports, "__esModule", { value: true });
1899
- exports.version = '3.8.1';
1728
+ exports.version = '3.8.2';
1900
1729
  // When introducing internal API incompatibilities (where fullcalendar plugins would break),
1901
1730
  // the minor version of the calendar should be upped (ex: 2.7.2 -> 2.8.0)
1902
1731
  // and the below integer should be incremented.
@@ -1960,7 +1789,7 @@ var EventSource_1 = __webpack_require__(6);
1960
1789
  exports.EventSource = EventSource_1.default;
1961
1790
  var ThemeRegistry_1 = __webpack_require__(51);
1962
1791
  exports.defineThemeSystem = ThemeRegistry_1.defineThemeSystem;
1963
- var EventInstanceGroup_1 = __webpack_require__(19);
1792
+ var EventInstanceGroup_1 = __webpack_require__(18);
1964
1793
  exports.EventInstanceGroup = EventInstanceGroup_1.default;
1965
1794
  var ArrayEventSource_1 = __webpack_require__(52);
1966
1795
  exports.ArrayEventSource = ArrayEventSource_1.default;
@@ -1978,7 +1807,7 @@ var CoordCache_1 = __webpack_require__(53);
1978
1807
  exports.CoordCache = CoordCache_1.default;
1979
1808
  var DragListener_1 = __webpack_require__(54);
1980
1809
  exports.DragListener = DragListener_1.default;
1981
- var Promise_1 = __webpack_require__(20);
1810
+ var Promise_1 = __webpack_require__(19);
1982
1811
  exports.Promise = Promise_1.default;
1983
1812
  var TaskQueue_1 = __webpack_require__(217);
1984
1813
  exports.TaskQueue = TaskQueue_1.default;
@@ -2036,7 +1865,7 @@ exports.ListView = ListView_1.default;
2036
1865
 
2037
1866
 
2038
1867
  /***/ }),
2039
- /* 18 */
1868
+ /* 17 */
2040
1869
  /***/ (function(module, exports, __webpack_require__) {
2041
1870
 
2042
1871
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -2124,7 +1953,7 @@ exports.default = EventDateProfile;
2124
1953
 
2125
1954
 
2126
1955
  /***/ }),
2127
- /* 19 */
1956
+ /* 18 */
2128
1957
  /***/ (function(module, exports, __webpack_require__) {
2129
1958
 
2130
1959
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -2190,7 +2019,7 @@ exports.default = EventInstanceGroup;
2190
2019
 
2191
2020
 
2192
2021
  /***/ }),
2193
- /* 20 */
2022
+ /* 19 */
2194
2023
  /***/ (function(module, exports, __webpack_require__) {
2195
2024
 
2196
2025
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -2242,12 +2071,183 @@ function attachImmediatelyRejectingThen(promise) {
2242
2071
  }
2243
2072
 
2244
2073
 
2074
+ /***/ }),
2075
+ /* 20 */
2076
+ /***/ (function(module, exports, __webpack_require__) {
2077
+
2078
+ Object.defineProperty(exports, "__esModule", { value: true });
2079
+ var $ = __webpack_require__(3);
2080
+ var exportHooks = __webpack_require__(16);
2081
+ var EmitterMixin_1 = __webpack_require__(11);
2082
+ var ListenerMixin_1 = __webpack_require__(7);
2083
+ exportHooks.touchMouseIgnoreWait = 500;
2084
+ var globalEmitter = null;
2085
+ var neededCount = 0;
2086
+ /*
2087
+ Listens to document and window-level user-interaction events, like touch events and mouse events,
2088
+ and fires these events as-is to whoever is observing a GlobalEmitter.
2089
+ Best when used as a singleton via GlobalEmitter.get()
2090
+
2091
+ Normalizes mouse/touch events. For examples:
2092
+ - ignores the the simulated mouse events that happen after a quick tap: mousemove+mousedown+mouseup+click
2093
+ - compensates for various buggy scenarios where a touchend does not fire
2094
+ */
2095
+ var GlobalEmitter = /** @class */ (function () {
2096
+ function GlobalEmitter() {
2097
+ this.isTouching = false;
2098
+ this.mouseIgnoreDepth = 0;
2099
+ }
2100
+ // gets the singleton
2101
+ GlobalEmitter.get = function () {
2102
+ if (!globalEmitter) {
2103
+ globalEmitter = new GlobalEmitter();
2104
+ globalEmitter.bind();
2105
+ }
2106
+ return globalEmitter;
2107
+ };
2108
+ // called when an object knows it will need a GlobalEmitter in the near future.
2109
+ GlobalEmitter.needed = function () {
2110
+ GlobalEmitter.get(); // ensures globalEmitter
2111
+ neededCount++;
2112
+ };
2113
+ // called when the object that originally called needed() doesn't need a GlobalEmitter anymore.
2114
+ GlobalEmitter.unneeded = function () {
2115
+ neededCount--;
2116
+ if (!neededCount) {
2117
+ globalEmitter.unbind();
2118
+ globalEmitter = null;
2119
+ }
2120
+ };
2121
+ GlobalEmitter.prototype.bind = function () {
2122
+ var _this = this;
2123
+ this.listenTo($(document), {
2124
+ touchstart: this.handleTouchStart,
2125
+ touchcancel: this.handleTouchCancel,
2126
+ touchend: this.handleTouchEnd,
2127
+ mousedown: this.handleMouseDown,
2128
+ mousemove: this.handleMouseMove,
2129
+ mouseup: this.handleMouseUp,
2130
+ click: this.handleClick,
2131
+ selectstart: this.handleSelectStart,
2132
+ contextmenu: this.handleContextMenu
2133
+ });
2134
+ // because we need to call preventDefault
2135
+ // because https://www.chromestatus.com/features/5093566007214080
2136
+ // TODO: investigate performance because this is a global handler
2137
+ window.addEventListener('touchmove', this.handleTouchMoveProxy = function (ev) {
2138
+ _this.handleTouchMove($.Event(ev));
2139
+ }, { passive: false } // allows preventDefault()
2140
+ );
2141
+ // attach a handler to get called when ANY scroll action happens on the page.
2142
+ // this was impossible to do with normal on/off because 'scroll' doesn't bubble.
2143
+ // http://stackoverflow.com/a/32954565/96342
2144
+ window.addEventListener('scroll', this.handleScrollProxy = function (ev) {
2145
+ _this.handleScroll($.Event(ev));
2146
+ }, true // useCapture
2147
+ );
2148
+ };
2149
+ GlobalEmitter.prototype.unbind = function () {
2150
+ this.stopListeningTo($(document));
2151
+ window.removeEventListener('touchmove', this.handleTouchMoveProxy);
2152
+ window.removeEventListener('scroll', this.handleScrollProxy, true // useCapture
2153
+ );
2154
+ };
2155
+ // Touch Handlers
2156
+ // -----------------------------------------------------------------------------------------------------------------
2157
+ GlobalEmitter.prototype.handleTouchStart = function (ev) {
2158
+ // if a previous touch interaction never ended with a touchend, then implicitly end it,
2159
+ // but since a new touch interaction is about to begin, don't start the mouse ignore period.
2160
+ this.stopTouch(ev, true); // skipMouseIgnore=true
2161
+ this.isTouching = true;
2162
+ this.trigger('touchstart', ev);
2163
+ };
2164
+ GlobalEmitter.prototype.handleTouchMove = function (ev) {
2165
+ if (this.isTouching) {
2166
+ this.trigger('touchmove', ev);
2167
+ }
2168
+ };
2169
+ GlobalEmitter.prototype.handleTouchCancel = function (ev) {
2170
+ if (this.isTouching) {
2171
+ this.trigger('touchcancel', ev);
2172
+ // Have touchcancel fire an artificial touchend. That way, handlers won't need to listen to both.
2173
+ // If touchend fires later, it won't have any effect b/c isTouching will be false.
2174
+ this.stopTouch(ev);
2175
+ }
2176
+ };
2177
+ GlobalEmitter.prototype.handleTouchEnd = function (ev) {
2178
+ this.stopTouch(ev);
2179
+ };
2180
+ // Mouse Handlers
2181
+ // -----------------------------------------------------------------------------------------------------------------
2182
+ GlobalEmitter.prototype.handleMouseDown = function (ev) {
2183
+ if (!this.shouldIgnoreMouse()) {
2184
+ this.trigger('mousedown', ev);
2185
+ }
2186
+ };
2187
+ GlobalEmitter.prototype.handleMouseMove = function (ev) {
2188
+ if (!this.shouldIgnoreMouse()) {
2189
+ this.trigger('mousemove', ev);
2190
+ }
2191
+ };
2192
+ GlobalEmitter.prototype.handleMouseUp = function (ev) {
2193
+ if (!this.shouldIgnoreMouse()) {
2194
+ this.trigger('mouseup', ev);
2195
+ }
2196
+ };
2197
+ GlobalEmitter.prototype.handleClick = function (ev) {
2198
+ if (!this.shouldIgnoreMouse()) {
2199
+ this.trigger('click', ev);
2200
+ }
2201
+ };
2202
+ // Misc Handlers
2203
+ // -----------------------------------------------------------------------------------------------------------------
2204
+ GlobalEmitter.prototype.handleSelectStart = function (ev) {
2205
+ this.trigger('selectstart', ev);
2206
+ };
2207
+ GlobalEmitter.prototype.handleContextMenu = function (ev) {
2208
+ this.trigger('contextmenu', ev);
2209
+ };
2210
+ GlobalEmitter.prototype.handleScroll = function (ev) {
2211
+ this.trigger('scroll', ev);
2212
+ };
2213
+ // Utils
2214
+ // -----------------------------------------------------------------------------------------------------------------
2215
+ GlobalEmitter.prototype.stopTouch = function (ev, skipMouseIgnore) {
2216
+ if (skipMouseIgnore === void 0) { skipMouseIgnore = false; }
2217
+ if (this.isTouching) {
2218
+ this.isTouching = false;
2219
+ this.trigger('touchend', ev);
2220
+ if (!skipMouseIgnore) {
2221
+ this.startTouchMouseIgnore();
2222
+ }
2223
+ }
2224
+ };
2225
+ GlobalEmitter.prototype.startTouchMouseIgnore = function () {
2226
+ var _this = this;
2227
+ var wait = exportHooks.touchMouseIgnoreWait;
2228
+ if (wait) {
2229
+ this.mouseIgnoreDepth++;
2230
+ setTimeout(function () {
2231
+ _this.mouseIgnoreDepth--;
2232
+ }, wait);
2233
+ }
2234
+ };
2235
+ GlobalEmitter.prototype.shouldIgnoreMouse = function () {
2236
+ return this.isTouching || Boolean(this.mouseIgnoreDepth);
2237
+ };
2238
+ return GlobalEmitter;
2239
+ }());
2240
+ exports.default = GlobalEmitter;
2241
+ ListenerMixin_1.default.mixInto(GlobalEmitter);
2242
+ EmitterMixin_1.default.mixInto(GlobalEmitter);
2243
+
2244
+
2245
2245
  /***/ }),
2246
2246
  /* 21 */
2247
2247
  /***/ (function(module, exports, __webpack_require__) {
2248
2248
 
2249
2249
  Object.defineProperty(exports, "__esModule", { value: true });
2250
- var exportHooks = __webpack_require__(17);
2250
+ var exportHooks = __webpack_require__(16);
2251
2251
  exports.viewHash = {};
2252
2252
  exportHooks.views = exports.viewHash;
2253
2253
  function defineView(viewName, viewConfig) {
@@ -2437,7 +2437,7 @@ function isHitPropsWithin(subHit, superHit) {
2437
2437
  Object.defineProperty(exports, "__esModule", { value: true });
2438
2438
  var $ = __webpack_require__(3);
2439
2439
  var moment = __webpack_require__(0);
2440
- var exportHooks = __webpack_require__(17);
2440
+ var exportHooks = __webpack_require__(16);
2441
2441
  var options_1 = __webpack_require__(31);
2442
2442
  var util_1 = __webpack_require__(4);
2443
2443
  exports.localeOptionHash = {};
@@ -2963,7 +2963,7 @@ exports.default = EventFootprint;
2963
2963
 
2964
2964
  Object.defineProperty(exports, "__esModule", { value: true });
2965
2965
  var util_1 = __webpack_require__(4);
2966
- var EventDateProfile_1 = __webpack_require__(18);
2966
+ var EventDateProfile_1 = __webpack_require__(17);
2967
2967
  var EventDef_1 = __webpack_require__(33);
2968
2968
  var EventDefDateMutation_1 = __webpack_require__(50);
2969
2969
  var SingleEventDef_1 = __webpack_require__(13);
@@ -3258,7 +3258,7 @@ var tslib_1 = __webpack_require__(2);
3258
3258
  var $ = __webpack_require__(3);
3259
3259
  var util_1 = __webpack_require__(4);
3260
3260
  var DateComponent_1 = __webpack_require__(219);
3261
- var GlobalEmitter_1 = __webpack_require__(15);
3261
+ var GlobalEmitter_1 = __webpack_require__(20);
3262
3262
  var InteractiveDateComponent = /** @class */ (function (_super) {
3263
3263
  tslib_1.__extends(InteractiveDateComponent, _super);
3264
3264
  function InteractiveDateComponent(_view, _options) {
@@ -3516,7 +3516,7 @@ var util_1 = __webpack_require__(4);
3516
3516
  var RenderQueue_1 = __webpack_require__(218);
3517
3517
  var DateProfileGenerator_1 = __webpack_require__(221);
3518
3518
  var InteractiveDateComponent_1 = __webpack_require__(40);
3519
- var GlobalEmitter_1 = __webpack_require__(15);
3519
+ var GlobalEmitter_1 = __webpack_require__(20);
3520
3520
  var UnzonedRange_1 = __webpack_require__(5);
3521
3521
  /* An abstract class from which other views inherit from
3522
3522
  ----------------------------------------------------------------------------------------------------------------------*/
@@ -5204,7 +5204,7 @@ exports.default = {
5204
5204
 
5205
5205
  Object.defineProperty(exports, "__esModule", { value: true });
5206
5206
  var util_1 = __webpack_require__(4);
5207
- var EventDateProfile_1 = __webpack_require__(18);
5207
+ var EventDateProfile_1 = __webpack_require__(17);
5208
5208
  var EventDefDateMutation = /** @class */ (function () {
5209
5209
  function EventDefDateMutation() {
5210
5210
  this.clearEnd = false;
@@ -5370,7 +5370,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
5370
5370
  var tslib_1 = __webpack_require__(2);
5371
5371
  var $ = __webpack_require__(3);
5372
5372
  var util_1 = __webpack_require__(4);
5373
- var Promise_1 = __webpack_require__(20);
5373
+ var Promise_1 = __webpack_require__(19);
5374
5374
  var EventSource_1 = __webpack_require__(6);
5375
5375
  var SingleEventDef_1 = __webpack_require__(13);
5376
5376
  var ArrayEventSource = /** @class */ (function (_super) {
@@ -5647,7 +5647,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
5647
5647
  var $ = __webpack_require__(3);
5648
5648
  var util_1 = __webpack_require__(4);
5649
5649
  var ListenerMixin_1 = __webpack_require__(7);
5650
- var GlobalEmitter_1 = __webpack_require__(15);
5650
+ var GlobalEmitter_1 = __webpack_require__(20);
5651
5651
  /* Tracks a drag's mouse movement, firing various handlers
5652
5652
  ----------------------------------------------------------------------------------------------------------------------*/
5653
5653
  // TODO: use Emitter
@@ -6578,8 +6578,8 @@ exports.default = HelperRenderer;
6578
6578
 
6579
6579
  Object.defineProperty(exports, "__esModule", { value: true });
6580
6580
  var tslib_1 = __webpack_require__(2);
6581
- var GlobalEmitter_1 = __webpack_require__(15);
6582
- var Interaction_1 = __webpack_require__(16);
6581
+ var GlobalEmitter_1 = __webpack_require__(20);
6582
+ var Interaction_1 = __webpack_require__(15);
6583
6583
  var EventPointing = /** @class */ (function (_super) {
6584
6584
  tslib_1.__extends(EventPointing, _super);
6585
6585
  function EventPointing() {
@@ -8060,7 +8060,7 @@ var $ = __webpack_require__(3);
8060
8060
  var moment = __webpack_require__(0);
8061
8061
  var EventDef_1 = __webpack_require__(33);
8062
8062
  var EventInstance_1 = __webpack_require__(209);
8063
- var EventDateProfile_1 = __webpack_require__(18);
8063
+ var EventDateProfile_1 = __webpack_require__(17);
8064
8064
  var RecurringEventDef = /** @class */ (function (_super) {
8065
8065
  tslib_1.__extends(RecurringEventDef, _super);
8066
8066
  function RecurringEventDef() {
@@ -8174,7 +8174,7 @@ exports.default = EventRange;
8174
8174
  Object.defineProperty(exports, "__esModule", { value: true });
8175
8175
  var $ = __webpack_require__(3);
8176
8176
  var util_1 = __webpack_require__(34);
8177
- var EventInstanceGroup_1 = __webpack_require__(19);
8177
+ var EventInstanceGroup_1 = __webpack_require__(18);
8178
8178
  var RecurringEventDef_1 = __webpack_require__(210);
8179
8179
  var EventSource_1 = __webpack_require__(6);
8180
8180
  var BUSINESS_HOUR_EVENT_DEFAULTS = {
@@ -8342,7 +8342,7 @@ JqueryUiTheme.prototype.iconOverridePrefix = 'ui-icon-';
8342
8342
  Object.defineProperty(exports, "__esModule", { value: true });
8343
8343
  var tslib_1 = __webpack_require__(2);
8344
8344
  var $ = __webpack_require__(3);
8345
- var Promise_1 = __webpack_require__(20);
8345
+ var Promise_1 = __webpack_require__(19);
8346
8346
  var EventSource_1 = __webpack_require__(6);
8347
8347
  var FuncEventSource = /** @class */ (function (_super) {
8348
8348
  tslib_1.__extends(FuncEventSource, _super);
@@ -8397,7 +8397,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
8397
8397
  var tslib_1 = __webpack_require__(2);
8398
8398
  var $ = __webpack_require__(3);
8399
8399
  var util_1 = __webpack_require__(4);
8400
- var Promise_1 = __webpack_require__(20);
8400
+ var Promise_1 = __webpack_require__(19);
8401
8401
  var EventSource_1 = __webpack_require__(6);
8402
8402
  var JsonFeedEventSource = /** @class */ (function (_super) {
8403
8403
  tslib_1.__extends(JsonFeedEventSource, _super);
@@ -9286,7 +9286,7 @@ var moment = __webpack_require__(0);
9286
9286
  var util_1 = __webpack_require__(4);
9287
9287
  var options_1 = __webpack_require__(31);
9288
9288
  var Iterator_1 = __webpack_require__(238);
9289
- var GlobalEmitter_1 = __webpack_require__(15);
9289
+ var GlobalEmitter_1 = __webpack_require__(20);
9290
9290
  var EmitterMixin_1 = __webpack_require__(11);
9291
9291
  var ListenerMixin_1 = __webpack_require__(7);
9292
9292
  var Toolbar_1 = __webpack_require__(239);
@@ -9297,7 +9297,7 @@ var locale_1 = __webpack_require__(30);
9297
9297
  var moment_ext_1 = __webpack_require__(10);
9298
9298
  var UnzonedRange_1 = __webpack_require__(5);
9299
9299
  var ComponentFootprint_1 = __webpack_require__(12);
9300
- var EventDateProfile_1 = __webpack_require__(18);
9300
+ var EventDateProfile_1 = __webpack_require__(17);
9301
9301
  var EventManager_1 = __webpack_require__(242);
9302
9302
  var BusinessHourGenerator_1 = __webpack_require__(212);
9303
9303
  var EventSourceParser_1 = __webpack_require__(37);
@@ -10496,15 +10496,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
10496
10496
  var tslib_1 = __webpack_require__(2);
10497
10497
  var $ = __webpack_require__(3);
10498
10498
  var moment = __webpack_require__(0);
10499
- var exportHooks = __webpack_require__(17);
10499
+ var exportHooks = __webpack_require__(16);
10500
10500
  var util_1 = __webpack_require__(4);
10501
10501
  var moment_ext_1 = __webpack_require__(10);
10502
10502
  var ListenerMixin_1 = __webpack_require__(7);
10503
10503
  var HitDragListener_1 = __webpack_require__(22);
10504
10504
  var SingleEventDef_1 = __webpack_require__(13);
10505
- var EventInstanceGroup_1 = __webpack_require__(19);
10505
+ var EventInstanceGroup_1 = __webpack_require__(18);
10506
10506
  var EventSource_1 = __webpack_require__(6);
10507
- var Interaction_1 = __webpack_require__(16);
10507
+ var Interaction_1 = __webpack_require__(15);
10508
10508
  var ExternalDropping = /** @class */ (function (_super) {
10509
10509
  tslib_1.__extends(ExternalDropping, _super);
10510
10510
  function ExternalDropping() {
@@ -10714,7 +10714,7 @@ var util_1 = __webpack_require__(4);
10714
10714
  var EventDefMutation_1 = __webpack_require__(36);
10715
10715
  var EventDefDateMutation_1 = __webpack_require__(50);
10716
10716
  var HitDragListener_1 = __webpack_require__(22);
10717
- var Interaction_1 = __webpack_require__(16);
10717
+ var Interaction_1 = __webpack_require__(15);
10718
10718
  var EventResizing = /** @class */ (function (_super) {
10719
10719
  tslib_1.__extends(EventResizing, _super);
10720
10720
  /*
@@ -10907,8 +10907,7 @@ var EventDefDateMutation_1 = __webpack_require__(50);
10907
10907
  var DragListener_1 = __webpack_require__(54);
10908
10908
  var HitDragListener_1 = __webpack_require__(22);
10909
10909
  var MouseFollower_1 = __webpack_require__(244);
10910
- var GlobalEmitter_1 = __webpack_require__(15);
10911
- var Interaction_1 = __webpack_require__(16);
10910
+ var Interaction_1 = __webpack_require__(15);
10912
10911
  var EventDragging = /** @class */ (function (_super) {
10913
10912
  tslib_1.__extends(EventDragging, _super);
10914
10913
  /*
@@ -10943,7 +10942,7 @@ var EventDragging = /** @class */ (function (_super) {
10943
10942
  component.bindSegHandlerToEl(el, 'touchstart', this.handleTouchStart.bind(this));
10944
10943
  };
10945
10944
  EventDragging.prototype.handleMousedown = function (seg, ev) {
10946
- if (!GlobalEmitter_1.default.get().shouldIgnoreMouse() && // TODO: move to a deeper level
10945
+ if (!this.component.shouldIgnoreMouse() &&
10947
10946
  this.component.canStartDrag(seg, ev)) {
10948
10947
  this.buildDragListener(seg).startInteraction(ev, { distance: 5 });
10949
10948
  }
@@ -10954,13 +10953,11 @@ var EventDragging = /** @class */ (function (_super) {
10954
10953
  delay: this.view.isEventDefSelected(seg.footprint.eventDef) ? // already selected?
10955
10954
  0 : this.getSelectionDelay()
10956
10955
  };
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
- }
10956
+ if (component.canStartDrag(seg, ev)) {
10957
+ this.buildDragListener(seg).startInteraction(ev, settings);
10958
+ }
10959
+ else if (component.canStartSelection(seg, ev)) {
10960
+ this.buildSelectListener(seg).startInteraction(ev, settings);
10964
10961
  }
10965
10962
  };
10966
10963
  // seg isn't draggable, but let's use a generic DragListener
@@ -11182,7 +11179,7 @@ var util_1 = __webpack_require__(4);
11182
11179
  var HitDragListener_1 = __webpack_require__(22);
11183
11180
  var ComponentFootprint_1 = __webpack_require__(12);
11184
11181
  var UnzonedRange_1 = __webpack_require__(5);
11185
- var Interaction_1 = __webpack_require__(16);
11182
+ var Interaction_1 = __webpack_require__(15);
11186
11183
  var DateSelecting = /** @class */ (function (_super) {
11187
11184
  tslib_1.__extends(DateSelecting, _super);
11188
11185
  /*
@@ -12374,7 +12371,7 @@ ListView.prototype.eventPointingClass = ListEventPointing_1.default;
12374
12371
  /***/ (function(module, exports, __webpack_require__) {
12375
12372
 
12376
12373
  var $ = __webpack_require__(3);
12377
- var exportHooks = __webpack_require__(17);
12374
+ var exportHooks = __webpack_require__(16);
12378
12375
  var util_1 = __webpack_require__(4);
12379
12376
  var Calendar_1 = __webpack_require__(220);
12380
12377
  // for intentional side-effects
@@ -12999,7 +12996,7 @@ var ArrayEventSource_1 = __webpack_require__(52);
12999
12996
  var EventSource_1 = __webpack_require__(6);
13000
12997
  var EventSourceParser_1 = __webpack_require__(37);
13001
12998
  var SingleEventDef_1 = __webpack_require__(13);
13002
- var EventInstanceGroup_1 = __webpack_require__(19);
12999
+ var EventInstanceGroup_1 = __webpack_require__(18);
13003
13000
  var EmitterMixin_1 = __webpack_require__(11);
13004
13001
  var ListenerMixin_1 = __webpack_require__(7);
13005
13002
  var EventManager = /** @class */ (function () {
@@ -13256,10 +13253,10 @@ function isSourcesEquivalent(source0, source1) {
13256
13253
  Object.defineProperty(exports, "__esModule", { value: true });
13257
13254
  var $ = __webpack_require__(3);
13258
13255
  var util_1 = __webpack_require__(4);
13259
- var Promise_1 = __webpack_require__(20);
13256
+ var Promise_1 = __webpack_require__(19);
13260
13257
  var EmitterMixin_1 = __webpack_require__(11);
13261
13258
  var UnzonedRange_1 = __webpack_require__(5);
13262
- var EventInstanceGroup_1 = __webpack_require__(19);
13259
+ var EventInstanceGroup_1 = __webpack_require__(18);
13263
13260
  var EventPeriod = /** @class */ (function () {
13264
13261
  function EventPeriod(start, end, timezone) {
13265
13262
  this.pendingCnt = 0;
@@ -13652,7 +13649,7 @@ ListenerMixin_1.default.mixInto(MouseFollower);
13652
13649
  Object.defineProperty(exports, "__esModule", { value: true });
13653
13650
  var tslib_1 = __webpack_require__(2);
13654
13651
  var HitDragListener_1 = __webpack_require__(22);
13655
- var Interaction_1 = __webpack_require__(16);
13652
+ var Interaction_1 = __webpack_require__(15);
13656
13653
  var DateClicking = /** @class */ (function (_super) {
13657
13654
  tslib_1.__extends(DateClicking, _super);
13658
13655
  /*