89 lines
7.9 KiB
JavaScript
89 lines
7.9 KiB
JavaScript
|
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["fullcalendar"],{
|
||
|
|
||
|
/***/ "./assets/js/fullcalendar.js":
|
||
|
/*!***********************************!*\
|
||
|
!*** ./assets/js/fullcalendar.js ***!
|
||
|
\***********************************/
|
||
|
/*! no exports provided */
|
||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
|
||
|
"use strict";
|
||
|
__webpack_require__.r(__webpack_exports__);
|
||
|
/* WEBPACK VAR INJECTION */(function(global) {/* harmony import */ var core_js_modules_es_date_to_string__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.date.to-string */ "./node_modules/core-js/modules/es.date.to-string.js");
|
||
|
/* harmony import */ var core_js_modules_es_date_to_string__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_string__WEBPACK_IMPORTED_MODULE_0__);
|
||
|
/* harmony import */ var core_js_modules_es_object_to_string__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.to-string */ "./node_modules/core-js/modules/es.object.to-string.js");
|
||
|
/* harmony import */ var core_js_modules_es_object_to_string__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string__WEBPACK_IMPORTED_MODULE_1__);
|
||
|
/* harmony import */ var core_js_modules_es_regexp_to_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string */ "./node_modules/core-js/modules/es.regexp.to-string.js");
|
||
|
/* harmony import */ var core_js_modules_es_regexp_to_string__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string__WEBPACK_IMPORTED_MODULE_2__);
|
||
|
/* harmony import */ var _fullcalendar_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @fullcalendar/core */ "./node_modules/@fullcalendar/core/main.esm.js");
|
||
|
/* harmony import */ var _fullcalendar_core_locales_fr_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @fullcalendar/core/locales/fr.js */ "./node_modules/@fullcalendar/core/locales/fr.js");
|
||
|
/* harmony import */ var _fullcalendar_core_locales_fr_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_fullcalendar_core_locales_fr_js__WEBPACK_IMPORTED_MODULE_4__);
|
||
|
/* harmony import */ var _fullcalendar_interaction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @fullcalendar/interaction */ "./node_modules/@fullcalendar/interaction/main.esm.js");
|
||
|
/* harmony import */ var _fullcalendar_daygrid__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @fullcalendar/daygrid */ "./node_modules/@fullcalendar/daygrid/main.esm.js");
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
// Fullcalendar
|
||
|
__webpack_require__(/*! @fullcalendar/core/main.css */ "./node_modules/@fullcalendar/core/main.css");
|
||
|
|
||
|
__webpack_require__(/*! @fullcalendar/daygrid/main.css */ "./node_modules/@fullcalendar/daygrid/main.css");
|
||
|
|
||
|
__webpack_require__(/*! @fullcalendar/daygrid/main.css */ "./node_modules/@fullcalendar/daygrid/main.css");
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
var calendar;
|
||
|
document.addEventListener('DOMContentLoaded', function () {
|
||
|
var calendarEl = document.getElementById('fullcalendar');
|
||
|
calendar = new _fullcalendar_core__WEBPACK_IMPORTED_MODULE_3__["Calendar"](calendarEl, {
|
||
|
plugins: [_fullcalendar_interaction__WEBPACK_IMPORTED_MODULE_5__["default"], _fullcalendar_daygrid__WEBPACK_IMPORTED_MODULE_6__["default"]],
|
||
|
locale: _fullcalendar_core_locales_fr_js__WEBPACK_IMPORTED_MODULE_4___default.a,
|
||
|
weekNumbers: true,
|
||
|
selectable: true,
|
||
|
events: 'event/load',
|
||
|
eventLimit: 4,
|
||
|
eventDrop: function eventDrop(info) {
|
||
|
info.revert();
|
||
|
},
|
||
|
eventRender: function (_eventRender) {
|
||
|
function eventRender(_x) {
|
||
|
return _eventRender.apply(this, arguments);
|
||
|
}
|
||
|
|
||
|
eventRender.toString = function () {
|
||
|
return _eventRender.toString();
|
||
|
};
|
||
|
|
||
|
return eventRender;
|
||
|
}(function (info) {
|
||
|
eventRender(info);
|
||
|
}),
|
||
|
select: function select(selectionInfo) {
|
||
|
eventSelect(selectionInfo);
|
||
|
},
|
||
|
eventClick: function (_eventClick) {
|
||
|
function eventClick(_x2) {
|
||
|
return _eventClick.apply(this, arguments);
|
||
|
}
|
||
|
|
||
|
eventClick.toString = function () {
|
||
|
return _eventClick.toString();
|
||
|
};
|
||
|
|
||
|
return eventClick;
|
||
|
}(function (info) {
|
||
|
eventClick(info);
|
||
|
})
|
||
|
});
|
||
|
global.calendar = calendar;
|
||
|
calendar.render();
|
||
|
});
|
||
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../node_modules/webpack/buildin/global.js */ "./node_modules/webpack/buildin/global.js")))
|
||
|
|
||
|
/***/ })
|
||
|
|
||
|
},[["./assets/js/fullcalendar.js","runtime","vendors~fullcalendar"]]]);
|
||
|
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9hc3NldHMvanMvZnVsbGNhbGVuZGFyLmpzIl0sIm5hbWVzIjpbInJlcXVpcmUiLCJjYWxlbmRhciIsImRvY3VtZW50IiwiYWRkRXZlbnRMaXN0ZW5lciIsImNhbGVuZGFyRWwiLCJnZXRFbGVtZW50QnlJZCIsIkNhbGVuZGFyIiwicGx1Z2lucyIsImludGVyYWN0aW9uUGx1Z2luIiwiZGF5R3JpZFBsdWdpbiIsImxvY2FsZSIsImZyTG9jYWxlIiwid2Vla051bWJlcnMiLCJzZWxlY3RhYmxlIiwiZXZlbnRzIiwiZX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