iking-web-ui-pro 0.2.38 → 0.2.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/IKPreviewFile/ik.index.es.js +12 -7
- package/dist/IKPreviewFile/ik.index.umd.js +1 -1
- package/dist/IKPreviewFile/style.css +1 -1
- package/dist/IKSearch/ik.index.es.js +405 -406
- package/dist/IKSearch/ik.index.umd.js +2 -2
- package/dist/IKSearch/style.css +1 -1
- package/dist/{IKApprovalProcess → IkApprovalProcess}/ik.index.es.js +188 -189
- package/dist/{IKApprovalProcess → IkApprovalProcess}/ik.index.umd.js +1 -1
- package/dist/{IKApprovalProcess → IkApprovalProcess}/style.css +1 -1
- package/dist/{IKApprovalProcessDetail → IkApprovalProcessDetail}/ik.index.es.js +14 -9
- package/dist/{IKApprovalProcessDetail → IkApprovalProcessDetail}/ik.index.umd.js +2 -2
- package/dist/IkApprovalProcessDetail/style.css +1 -0
- package/dist/{IKCalendar → IkCalendar}/ik.index.es.js +917 -901
- package/dist/IkCalendar/ik.index.umd.js +1 -0
- package/dist/{IKCalendar → IkCalendar}/style.css +1 -1
- package/dist/IkDescription/ik.index.es.js +12 -7
- package/dist/IkDescription/ik.index.umd.js +1 -1
- package/dist/IkDescription/style.css +1 -1
- package/dist/IkDetailPreviewFiles/ik.index.es.js +255 -250
- package/dist/IkDetailPreviewFiles/ik.index.umd.js +1 -1
- package/dist/IkDetailPreviewFiles/style.css +1 -1
- package/dist/IkFullCalendar/ik.index.es.js +601 -584
- package/dist/IkFullCalendar/ik.index.umd.js +1 -1
- package/dist/IkPageFull/ik.index.es.js +423 -424
- package/dist/IkPageFull/ik.index.umd.js +2 -2
- package/dist/IkPageFull/style.css +1 -1
- package/dist/IkPickerUser/ik.index.es.js +23 -24
- package/dist/IkPickerUser/ik.index.umd.js +1 -1
- package/dist/IkPickerUser/style.css +1 -1
- package/dist/IkPreviewFileDialog/ik.index.es.js +1 -0
- package/dist/IkSchedule/ik.index.es.js +691 -674
- package/dist/IkSchedule/ik.index.umd.js +1 -1
- package/dist/IkUploadFile/ik.index.es.js +1 -0
- package/dist/IkUploadImage/ik.index.es.js +410 -405
- package/dist/IkUploadImage/ik.index.umd.js +1 -1
- package/dist/IkUploadImage/style.css +1 -1
- package/dist/index.es.js +11576 -11550
- package/dist/index.umd.js +89 -89
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/IKApprovalProcessDetail/style.css +0 -1
- package/dist/IKCalendar/ik.index.umd.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var qs = Object.defineProperty;
|
|
2
2
|
var Qs = (t, e, n) => e in t ? qs(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var le = (t, e, n) => (Qs(t, typeof e != "symbol" ? e + "" : e, n), n);
|
|
4
|
-
import { defineComponent as
|
|
4
|
+
import { defineComponent as St, h as Ke, Fragment as Ys, Teleport as Zs, openBlock as be, createElementBlock as Me, createElementVNode as Ie, computed as $s, ref as kt, reactive as Xs, watch as Js, onMounted as Ks, resolveComponent as qn, createVNode as Mt, unref as It, withCtx as Ve, createCommentVNode as Nt, createTextVNode as el, toDisplayString as xe, createBlock as tl, withModifiers as nl } from "vue";
|
|
5
5
|
import { ikDate as rl } from "iking-utils-pro";
|
|
6
6
|
const il = (t, e) => {
|
|
7
7
|
if (t.install = (n) => {
|
|
@@ -12,7 +12,7 @@ const il = (t, e) => {
|
|
|
12
12
|
t[n] = r;
|
|
13
13
|
return t;
|
|
14
14
|
};
|
|
15
|
-
var
|
|
15
|
+
var At, S, $r, Xr, Ce, ce, Qn, Jr, Kr, st = {}, ei = [], sl = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;
|
|
16
16
|
function K(t, e) {
|
|
17
17
|
for (var n in e)
|
|
18
18
|
t[n] = e[n];
|
|
@@ -26,7 +26,7 @@ function g(t, e, n) {
|
|
|
26
26
|
var r, i, s, l = {};
|
|
27
27
|
for (s in e)
|
|
28
28
|
s == "key" ? r = e[s] : s == "ref" ? i = e[s] : l[s] = e[s];
|
|
29
|
-
if (arguments.length > 2 && (l.children = arguments.length > 3 ?
|
|
29
|
+
if (arguments.length > 2 && (l.children = arguments.length > 3 ? At.call(arguments, 2) : n), typeof t == "function" && t.defaultProps != null)
|
|
30
30
|
for (s in t.defaultProps)
|
|
31
31
|
l[s] === void 0 && (l[s] = t.defaultProps[s]);
|
|
32
32
|
return et(t, l, r, i, null);
|
|
@@ -48,7 +48,7 @@ function ll(t, e, n, r, i) {
|
|
|
48
48
|
for (s in e)
|
|
49
49
|
i && typeof e[s] != "function" || s === "children" || s === "key" || s === "value" || s === "checked" || n[s] === e[s] || lt(t, s, e[s], n[s], r);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function Yn(t, e, n) {
|
|
52
52
|
e[0] === "-" ? t.setProperty(e, n ?? "") : t[e] = n == null ? "" : typeof n != "number" || sl.test(e) ? n : n + "px";
|
|
53
53
|
}
|
|
54
54
|
function lt(t, e, n, r, i) {
|
|
@@ -60,13 +60,13 @@ function lt(t, e, n, r, i) {
|
|
|
60
60
|
else {
|
|
61
61
|
if (typeof r == "string" && (t.style.cssText = r = ""), r)
|
|
62
62
|
for (e in r)
|
|
63
|
-
n && e in n ||
|
|
63
|
+
n && e in n || Yn(t.style, e, "");
|
|
64
64
|
if (n)
|
|
65
65
|
for (e in n)
|
|
66
|
-
r && n[e] === r[e] ||
|
|
66
|
+
r && n[e] === r[e] || Yn(t.style, e, n[e]);
|
|
67
67
|
}
|
|
68
68
|
else if (e[0] === "o" && e[1] === "n")
|
|
69
|
-
s = e !== (e = e.replace(/Capture$/, "")), e = e.toLowerCase() in t ? e.toLowerCase().slice(2) : e.slice(2), t.l || (t.l = {}), t.l[e + s] = n, n ? r || t.addEventListener(e, s ?
|
|
69
|
+
s = e !== (e = e.replace(/Capture$/, "")), e = e.toLowerCase() in t ? e.toLowerCase().slice(2) : e.slice(2), t.l || (t.l = {}), t.l[e + s] = n, n ? r || t.addEventListener(e, s ? $n : Zn, s) : t.removeEventListener(e, s ? $n : Zn, s);
|
|
70
70
|
else if (e !== "dangerouslySetInnerHTML") {
|
|
71
71
|
if (i)
|
|
72
72
|
e = e.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
|
|
@@ -79,7 +79,7 @@ function lt(t, e, n, r, i) {
|
|
|
79
79
|
typeof n == "function" || (n == null || n === !1 && e.indexOf("-") == -1 ? t.removeAttribute(e) : t.setAttribute(e, n));
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function Zn(t) {
|
|
83
83
|
Ce = !0;
|
|
84
84
|
try {
|
|
85
85
|
return this.l[t.type + !1](S.event ? S.event(t) : t);
|
|
@@ -87,7 +87,7 @@ function Yn(t) {
|
|
|
87
87
|
Ce = !1;
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function $n(t) {
|
|
91
91
|
Ce = !0;
|
|
92
92
|
try {
|
|
93
93
|
return this.l[t.type + !0](S.event ? S.event(t) : t);
|
|
@@ -120,15 +120,15 @@ function ni(t) {
|
|
|
120
120
|
function ol(t) {
|
|
121
121
|
Ce ? setTimeout(t) : Jr(t);
|
|
122
122
|
}
|
|
123
|
-
function
|
|
124
|
-
(!t.__d && (t.__d = !0) && ce.push(t) && !ot.__r++ ||
|
|
123
|
+
function $t(t) {
|
|
124
|
+
(!t.__d && (t.__d = !0) && ce.push(t) && !ot.__r++ || Qn !== S.debounceRendering) && ((Qn = S.debounceRendering) || ol)(ot);
|
|
125
125
|
}
|
|
126
126
|
function ot() {
|
|
127
127
|
var t, e, n, r, i, s, l, o;
|
|
128
128
|
for (ce.sort(function(a, d) {
|
|
129
129
|
return a.__v.__b - d.__v.__b;
|
|
130
130
|
}); t = ce.shift(); )
|
|
131
|
-
t.__d && (e = ce.length, r = void 0, i = void 0, l = (s = (n = t).__v).__e, (o = n.__P) && (r = [], (i = K({}, s)).__v = s.__v + 1,
|
|
131
|
+
t.__d && (e = ce.length, r = void 0, i = void 0, l = (s = (n = t).__v).__e, (o = n.__P) && (r = [], (i = K({}, s)).__v = s.__v + 1, hn(o, s, i, n.__n, o.ownerSVGElement !== void 0, s.__h != null ? [l] : null, r, l ?? He(s), s.__h), oi(r, s), s.__e != l && ni(s)), ce.length > e && ce.sort(function(a, d) {
|
|
132
132
|
return a.__v.__b - d.__v.__b;
|
|
133
133
|
}));
|
|
134
134
|
ot.__r = 0;
|
|
@@ -147,7 +147,7 @@ function ri(t, e, n, r, i, s, l, o, a, d) {
|
|
|
147
147
|
}
|
|
148
148
|
f = null;
|
|
149
149
|
}
|
|
150
|
-
|
|
150
|
+
hn(t, u, f = f || st, i, s, l, o, a, d), m = u.__e, (h = u.ref) && f.ref != h && (b || (b = []), f.ref && b.push(f.ref, null, u), b.push(h, u.__c || m, u)), m != null ? (v == null && (v = m), typeof u.type == "function" && u.__k === f.__k ? u.__d = a = ii(u, a, t) : a = si(t, u, f, E, m, a), typeof n.type == "function" && (n.__d = a)) : a && f.__e == a && a.parentNode != t && (a = He(f));
|
|
151
151
|
}
|
|
152
152
|
for (n.__e = v, c = y; c--; )
|
|
153
153
|
E[c] != null && (typeof n.type == "function" && E[c].__e != null && E[c].__e == n.__d && (n.__d = li(r).nextSibling), ci(E[c], E[c]));
|
|
@@ -192,7 +192,7 @@ function li(t) {
|
|
|
192
192
|
}
|
|
193
193
|
return null;
|
|
194
194
|
}
|
|
195
|
-
function
|
|
195
|
+
function hn(t, e, n, r, i, s, l, o, a) {
|
|
196
196
|
var d, c, h, f, u, m, v, b, E, y, D, C, I, w, x, R = e.type;
|
|
197
197
|
if (e.constructor !== void 0)
|
|
198
198
|
return null;
|
|
@@ -259,7 +259,7 @@ function al(t, e, n, r, i, s, l, o) {
|
|
|
259
259
|
if (u === null)
|
|
260
260
|
h === f || o && t.data === f || (t.data = f);
|
|
261
261
|
else {
|
|
262
|
-
if (s = s &&
|
|
262
|
+
if (s = s && At.call(t.childNodes), d = (h = n.props || st).dangerouslySetInnerHTML, c = f.dangerouslySetInnerHTML, !o) {
|
|
263
263
|
if (s != null)
|
|
264
264
|
for (h = {}, m = 0; m < t.attributes.length; m++)
|
|
265
265
|
h[t.attributes[m].name] = t.attributes[m].value;
|
|
@@ -302,7 +302,7 @@ function cl(t, e, n) {
|
|
|
302
302
|
}
|
|
303
303
|
function Be(t, e, n) {
|
|
304
304
|
var r, i, s;
|
|
305
|
-
S.__ && S.__(t, e), i = (r = typeof n == "function") ? null : n && n.__k || e.__k, s = [],
|
|
305
|
+
S.__ && S.__(t, e), i = (r = typeof n == "function") ? null : n && n.__k || e.__k, s = [], hn(e, t = (!r && n || e).__k = g(M, null, [t]), i || st, st, e.ownerSVGElement !== void 0, !r && n ? [n] : i ? null : e.firstChild ? At.call(e.childNodes) : null, s, !r && n ? n : i ? i.__e : e.firstChild, r), oi(s, t);
|
|
306
306
|
}
|
|
307
307
|
function dl(t, e) {
|
|
308
308
|
var n = { __c: e = "__cC" + Kr++, __: t, Consumer: function(r, i) {
|
|
@@ -313,7 +313,7 @@ function dl(t, e) {
|
|
|
313
313
|
return s;
|
|
314
314
|
}, this.shouldComponentUpdate = function(l) {
|
|
315
315
|
this.props.value !== l.value && i.some(function(o) {
|
|
316
|
-
o.__e = !0,
|
|
316
|
+
o.__e = !0, $t(o);
|
|
317
317
|
});
|
|
318
318
|
}, this.sub = function(l) {
|
|
319
319
|
i.push(l);
|
|
@@ -325,7 +325,7 @@ function dl(t, e) {
|
|
|
325
325
|
} };
|
|
326
326
|
return n.Provider.__ = n.Consumer.contextType = n;
|
|
327
327
|
}
|
|
328
|
-
|
|
328
|
+
At = ei.slice, S = { __e: function(t, e, n, r) {
|
|
329
329
|
for (var i, s, l; e = e.__; )
|
|
330
330
|
if ((i = e.__c) && !i.__)
|
|
331
331
|
try {
|
|
@@ -339,48 +339,48 @@ St = ei.slice, S = { __e: function(t, e, n, r) {
|
|
|
339
339
|
return t != null && t.constructor === void 0;
|
|
340
340
|
}, Ce = !1, U.prototype.setState = function(t, e) {
|
|
341
341
|
var n;
|
|
342
|
-
n = this.__s != null && this.__s !== this.state ? this.__s : this.__s = K({}, this.state), typeof t == "function" && (t = t(K({}, n), this.props)), t && K(n, t), t != null && this.__v && (e && this._sb.push(e),
|
|
342
|
+
n = this.__s != null && this.__s !== this.state ? this.__s : this.__s = K({}, this.state), typeof t == "function" && (t = t(K({}, n), this.props)), t && K(n, t), t != null && this.__v && (e && this._sb.push(e), $t(this));
|
|
343
343
|
}, U.prototype.forceUpdate = function(t) {
|
|
344
|
-
this.__v && (this.__e = !0, t && this.__h.push(t),
|
|
344
|
+
this.__v && (this.__e = !0, t && this.__h.push(t), $t(this));
|
|
345
345
|
}, U.prototype.render = M, ce = [], Jr = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, ot.__r = 0, Kr = 0;
|
|
346
|
-
var W, Ot,
|
|
346
|
+
var W, Ot, Xn, di = [], Pt = [], Jn = S.__b, Kn = S.__r, er = S.diffed, tr = S.__c, nr = S.unmount;
|
|
347
347
|
function ul() {
|
|
348
348
|
for (var t; t = di.shift(); )
|
|
349
349
|
if (t.__P && t.__H)
|
|
350
350
|
try {
|
|
351
|
-
t.__H.__h.forEach(tt), t.__H.__h.forEach(
|
|
351
|
+
t.__H.__h.forEach(tt), t.__H.__h.forEach(Xt), t.__H.__h = [];
|
|
352
352
|
} catch (e) {
|
|
353
353
|
t.__H.__h = [], S.__e(e, t.__v);
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
S.__b = function(t) {
|
|
357
|
-
W = null,
|
|
357
|
+
W = null, Jn && Jn(t);
|
|
358
358
|
}, S.__r = function(t) {
|
|
359
|
-
|
|
359
|
+
Kn && Kn(t);
|
|
360
360
|
var e = (W = t.__c).__H;
|
|
361
361
|
e && (Ot === W ? (e.__h = [], W.__h = [], e.__.forEach(function(n) {
|
|
362
|
-
n.__N && (n.__ = n.__N), n.__V =
|
|
363
|
-
})) : (e.__h.forEach(tt), e.__h.forEach(
|
|
362
|
+
n.__N && (n.__ = n.__N), n.__V = Pt, n.__N = n.i = void 0;
|
|
363
|
+
})) : (e.__h.forEach(tt), e.__h.forEach(Xt), e.__h = [])), Ot = W;
|
|
364
364
|
}, S.diffed = function(t) {
|
|
365
|
-
|
|
365
|
+
er && er(t);
|
|
366
366
|
var e = t.__c;
|
|
367
|
-
e && e.__H && (e.__H.__h.length && (di.push(e) !== 1 &&
|
|
368
|
-
n.i && (n.__H = n.i), n.__V !==
|
|
367
|
+
e && e.__H && (e.__H.__h.length && (di.push(e) !== 1 && Xn === S.requestAnimationFrame || ((Xn = S.requestAnimationFrame) || fl)(ul)), e.__H.__.forEach(function(n) {
|
|
368
|
+
n.i && (n.__H = n.i), n.__V !== Pt && (n.__ = n.__V), n.i = void 0, n.__V = Pt;
|
|
369
369
|
})), Ot = W = null;
|
|
370
370
|
}, S.__c = function(t, e) {
|
|
371
371
|
e.some(function(n) {
|
|
372
372
|
try {
|
|
373
373
|
n.__h.forEach(tt), n.__h = n.__h.filter(function(r) {
|
|
374
|
-
return !r.__ ||
|
|
374
|
+
return !r.__ || Xt(r);
|
|
375
375
|
});
|
|
376
376
|
} catch (r) {
|
|
377
377
|
e.some(function(i) {
|
|
378
378
|
i.__h && (i.__h = []);
|
|
379
379
|
}), e = [], S.__e(r, n.__v);
|
|
380
380
|
}
|
|
381
|
-
}),
|
|
381
|
+
}), tr && tr(t, e);
|
|
382
382
|
}, S.unmount = function(t) {
|
|
383
|
-
|
|
383
|
+
nr && nr(t);
|
|
384
384
|
var e, n = t.__c;
|
|
385
385
|
n && n.__H && (n.__H.__.forEach(function(r) {
|
|
386
386
|
try {
|
|
@@ -390,18 +390,18 @@ S.__b = function(t) {
|
|
|
390
390
|
}
|
|
391
391
|
}), n.__H = void 0, e && S.__e(e, n.__v));
|
|
392
392
|
};
|
|
393
|
-
var
|
|
393
|
+
var rr = typeof requestAnimationFrame == "function";
|
|
394
394
|
function fl(t) {
|
|
395
395
|
var e, n = function() {
|
|
396
|
-
clearTimeout(r),
|
|
396
|
+
clearTimeout(r), rr && cancelAnimationFrame(e), setTimeout(t);
|
|
397
397
|
}, r = setTimeout(n, 100);
|
|
398
|
-
|
|
398
|
+
rr && (e = requestAnimationFrame(n));
|
|
399
399
|
}
|
|
400
400
|
function tt(t) {
|
|
401
401
|
var e = W, n = t.__c;
|
|
402
402
|
typeof n == "function" && (t.__c = void 0, n()), W = e;
|
|
403
403
|
}
|
|
404
|
-
function
|
|
404
|
+
function Xt(t) {
|
|
405
405
|
var e = W;
|
|
406
406
|
t.__c = t.__(), W = e;
|
|
407
407
|
}
|
|
@@ -410,7 +410,7 @@ function hl(t, e) {
|
|
|
410
410
|
t[n] = e[n];
|
|
411
411
|
return t;
|
|
412
412
|
}
|
|
413
|
-
function
|
|
413
|
+
function ir(t, e) {
|
|
414
414
|
for (var n in t)
|
|
415
415
|
if (n !== "__source" && !(n in e))
|
|
416
416
|
return !0;
|
|
@@ -419,15 +419,15 @@ function rr(t, e) {
|
|
|
419
419
|
return !0;
|
|
420
420
|
return !1;
|
|
421
421
|
}
|
|
422
|
-
function
|
|
422
|
+
function sr(t) {
|
|
423
423
|
this.props = t;
|
|
424
424
|
}
|
|
425
|
-
(
|
|
426
|
-
return
|
|
425
|
+
(sr.prototype = new U()).isPureReactComponent = !0, sr.prototype.shouldComponentUpdate = function(t, e) {
|
|
426
|
+
return ir(this.props, t) || ir(this.state, e);
|
|
427
427
|
};
|
|
428
|
-
var
|
|
428
|
+
var lr = S.__b;
|
|
429
429
|
S.__b = function(t) {
|
|
430
|
-
t.type && t.type.__f && t.ref && (t.props.ref = t.ref, t.ref = null),
|
|
430
|
+
t.type && t.type.__f && t.ref && (t.props.ref = t.ref, t.ref = null), lr && lr(t);
|
|
431
431
|
};
|
|
432
432
|
var gl = S.__e;
|
|
433
433
|
S.__e = function(t, e, n, r) {
|
|
@@ -438,7 +438,7 @@ S.__e = function(t, e, n, r) {
|
|
|
438
438
|
}
|
|
439
439
|
gl(t, e, n, r);
|
|
440
440
|
};
|
|
441
|
-
var
|
|
441
|
+
var or = S.unmount;
|
|
442
442
|
function ui(t, e, n) {
|
|
443
443
|
return t && (t.__c && t.__c.__H && (t.__c.__H.__.forEach(function(r) {
|
|
444
444
|
typeof r.__c == "function" && r.__c();
|
|
@@ -451,7 +451,7 @@ function fi(t, e, n) {
|
|
|
451
451
|
return fi(r, e, n);
|
|
452
452
|
}), t.__c && t.__c.__P === e && (t.__e && n.insertBefore(t.__e, t.__d), t.__c.__e = !0, t.__c.__P = n)), t;
|
|
453
453
|
}
|
|
454
|
-
function
|
|
454
|
+
function Ht() {
|
|
455
455
|
this.__u = 0, this.t = null, this.__b = null;
|
|
456
456
|
}
|
|
457
457
|
function hi(t) {
|
|
@@ -463,8 +463,8 @@ function Ge() {
|
|
|
463
463
|
}
|
|
464
464
|
S.unmount = function(t) {
|
|
465
465
|
var e = t.__c;
|
|
466
|
-
e && e.__R && e.__R(), e && t.__h === !0 && (t.type = null),
|
|
467
|
-
}, (
|
|
466
|
+
e && e.__R && e.__R(), e && t.__h === !0 && (t.type = null), or && or(t);
|
|
467
|
+
}, (Ht.prototype = new U()).__c = function(t, e) {
|
|
468
468
|
var n = e.__c, r = this;
|
|
469
469
|
r.t == null && (r.t = []), r.t.push(n);
|
|
470
470
|
var i = hi(r.__v), s = !1, l = function() {
|
|
@@ -483,9 +483,9 @@ S.unmount = function(t) {
|
|
|
483
483
|
}
|
|
484
484
|
}, a = e.__h === !0;
|
|
485
485
|
r.__u++ || a || r.setState({ __a: r.__b = r.__v.__k[0] }), t.then(l, l);
|
|
486
|
-
},
|
|
486
|
+
}, Ht.prototype.componentWillUnmount = function() {
|
|
487
487
|
this.t = [];
|
|
488
|
-
},
|
|
488
|
+
}, Ht.prototype.render = function(t, e) {
|
|
489
489
|
if (this.__b) {
|
|
490
490
|
if (this.__v.__k) {
|
|
491
491
|
var n = document.createElement("div"), r = this.__v.__k[0].__c;
|
|
@@ -496,7 +496,7 @@ S.unmount = function(t) {
|
|
|
496
496
|
var i = e.__a && g(M, null, t.fallback);
|
|
497
497
|
return i && (i.__h = null), [g(M, null, e.__a ? null : t.children), i];
|
|
498
498
|
};
|
|
499
|
-
var
|
|
499
|
+
var ar = function(t, e, n) {
|
|
500
500
|
if (++n[1] === n[0] && t.o.delete(e), t.props.revealOrder && (t.props.revealOrder[0] !== "t" || !t.o.size))
|
|
501
501
|
for (n = t.u; n; ) {
|
|
502
502
|
for (; n.length > 3; )
|
|
@@ -531,7 +531,7 @@ function vl(t, e) {
|
|
|
531
531
|
var e = this, n = hi(e.__v), r = e.o.get(t);
|
|
532
532
|
return r[0]++, function(i) {
|
|
533
533
|
var s = function() {
|
|
534
|
-
e.props.revealOrder ? (r.push(i),
|
|
534
|
+
e.props.revealOrder ? (r.push(i), ar(e, t, r)) : i();
|
|
535
535
|
};
|
|
536
536
|
n ? n(s) : s();
|
|
537
537
|
};
|
|
@@ -545,7 +545,7 @@ function vl(t, e) {
|
|
|
545
545
|
}, Ge.prototype.componentDidUpdate = Ge.prototype.componentDidMount = function() {
|
|
546
546
|
var t = this;
|
|
547
547
|
this.o.forEach(function(e, n) {
|
|
548
|
-
|
|
548
|
+
ar(t, n, e);
|
|
549
549
|
});
|
|
550
550
|
};
|
|
551
551
|
var bl = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, yl = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, El = typeof document < "u", Sl = function(t) {
|
|
@@ -558,7 +558,7 @@ U.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveP
|
|
|
558
558
|
Object.defineProperty(this, t, { configurable: !0, writable: !0, value: e });
|
|
559
559
|
} });
|
|
560
560
|
});
|
|
561
|
-
var
|
|
561
|
+
var cr = S.event;
|
|
562
562
|
function Al() {
|
|
563
563
|
}
|
|
564
564
|
function Dl() {
|
|
@@ -568,11 +568,11 @@ function Cl() {
|
|
|
568
568
|
return this.defaultPrevented;
|
|
569
569
|
}
|
|
570
570
|
S.event = function(t) {
|
|
571
|
-
return
|
|
571
|
+
return cr && (t = cr(t)), t.persist = Al, t.isPropagationStopped = Dl, t.isDefaultPrevented = Cl, t.nativeEvent = t;
|
|
572
572
|
};
|
|
573
|
-
var
|
|
573
|
+
var dr = { configurable: !0, get: function() {
|
|
574
574
|
return this.class;
|
|
575
|
-
} },
|
|
575
|
+
} }, ur = S.vnode;
|
|
576
576
|
S.vnode = function(t) {
|
|
577
577
|
var e = t.type, n = t.props, r = n;
|
|
578
578
|
if (typeof e == "string") {
|
|
@@ -585,25 +585,26 @@ S.vnode = function(t) {
|
|
|
585
585
|
o.props.selected = r.value.indexOf(o.props.value) != -1;
|
|
586
586
|
})), e == "select" && r.defaultValue != null && (r.value = at(n.children).forEach(function(o) {
|
|
587
587
|
o.props.selected = r.multiple ? r.defaultValue.indexOf(o.props.value) != -1 : r.defaultValue == o.props.value;
|
|
588
|
-
})), t.props = r, n.class != n.className && (
|
|
588
|
+
})), t.props = r, n.class != n.className && (dr.enumerable = "className" in n, n.className != null && (r.class = n.className), Object.defineProperty(r, "className", dr));
|
|
589
589
|
}
|
|
590
|
-
t.$$typeof = bl,
|
|
590
|
+
t.$$typeof = bl, ur && ur(t);
|
|
591
591
|
};
|
|
592
|
-
var
|
|
592
|
+
var fr = S.__r;
|
|
593
593
|
S.__r = function(t) {
|
|
594
|
-
|
|
594
|
+
fr && fr(t), t.__c;
|
|
595
595
|
};
|
|
596
|
-
const gi = [],
|
|
597
|
-
function
|
|
598
|
-
gi.push(t),
|
|
596
|
+
const gi = [], Jt = /* @__PURE__ */ new Map();
|
|
597
|
+
function gn(t) {
|
|
598
|
+
gi.push(t), Jt.forEach((e) => {
|
|
599
599
|
mi(e, t);
|
|
600
600
|
});
|
|
601
601
|
}
|
|
602
602
|
function wl(t) {
|
|
603
|
-
t.isConnected &&
|
|
603
|
+
t.isConnected && // sometimes true if SSR system simulates DOM
|
|
604
|
+
t.getRootNode && pi(t.getRootNode());
|
|
604
605
|
}
|
|
605
606
|
function pi(t) {
|
|
606
|
-
let e =
|
|
607
|
+
let e = Jt.get(t);
|
|
607
608
|
if (!e || !e.isConnected) {
|
|
608
609
|
if (e = t.querySelector("style[data-fullcalendar]"), !e) {
|
|
609
610
|
e = document.createElement("style"), e.setAttribute("data-fullcalendar", "");
|
|
@@ -612,7 +613,7 @@ function pi(t) {
|
|
|
612
613
|
const r = t === document ? document.head : t, i = t === document ? r.querySelector("script,link[rel=stylesheet],link[as=style],style") : r.firstChild;
|
|
613
614
|
r.insertBefore(e, i);
|
|
614
615
|
}
|
|
615
|
-
|
|
616
|
+
Jt.set(t, e), Rl(e);
|
|
616
617
|
}
|
|
617
618
|
}
|
|
618
619
|
function Rl(t) {
|
|
@@ -625,9 +626,9 @@ function mi(t, e) {
|
|
|
625
626
|
i = i.trim(), i && n.insertRule(i + "}", r + s);
|
|
626
627
|
});
|
|
627
628
|
}
|
|
628
|
-
let
|
|
629
|
+
let Bt;
|
|
629
630
|
function _l() {
|
|
630
|
-
return
|
|
631
|
+
return Bt === void 0 && (Bt = Tl()), Bt;
|
|
631
632
|
}
|
|
632
633
|
function Tl() {
|
|
633
634
|
const t = document.querySelector('meta[name="csp-nonce"]');
|
|
@@ -637,9 +638,9 @@ function Tl() {
|
|
|
637
638
|
return e && e.nonce || "";
|
|
638
639
|
}
|
|
639
640
|
typeof document < "u" && pi(document);
|
|
640
|
-
var xl = ':root{--fc-small-font-size:.85em;--fc-page-bg-color:#fff;--fc-neutral-bg-color:hsla(0,0%,82%,.3);--fc-neutral-text-color:grey;--fc-border-color:#ddd;--fc-button-text-color:#fff;--fc-button-bg-color:#2c3e50;--fc-button-border-color:#2c3e50;--fc-button-hover-bg-color:#1e2b37;--fc-button-hover-border-color:#1a252f;--fc-button-active-bg-color:#1a252f;--fc-button-active-border-color:#151e27;--fc-event-bg-color:#3788d8;--fc-event-border-color:#3788d8;--fc-event-text-color:#fff;--fc-event-selected-overlay-color:rgba(0,0,0,.25);--fc-more-link-bg-color:#d0d0d0;--fc-more-link-text-color:inherit;--fc-event-resizer-thickness:8px;--fc-event-resizer-dot-total-width:8px;--fc-event-resizer-dot-border-width:1px;--fc-non-business-color:hsla(0,0%,84%,.3);--fc-bg-event-color:#8fdf82;--fc-bg-event-opacity:0.3;--fc-highlight-color:rgba(188,232,241,.3);--fc-today-bg-color:rgba(255,220,40,.15);--fc-now-indicator-color:red}.fc-not-allowed,.fc-not-allowed .fc-event{cursor:not-allowed}.fc{display:flex;flex-direction:column;font-size:1em}.fc,.fc *,.fc :after,.fc :before{box-sizing:border-box}.fc table{border-collapse:collapse;border-spacing:0;font-size:1em}.fc th{text-align:center}.fc td,.fc th{padding:0;vertical-align:top}.fc a[data-navlink]{cursor:pointer}.fc a[data-navlink]:hover{text-decoration:underline}.fc-direction-ltr{direction:ltr;text-align:left}.fc-direction-rtl{direction:rtl;text-align:right}.fc-theme-standard td,.fc-theme-standard th{border:1px solid var(--fc-border-color)}.fc-liquid-hack td,.fc-liquid-hack th{position:relative}@font-face{font-family:fcicons;font-style:normal;font-weight:400;src:url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBfAAAAC8AAAAYGNtYXAXVtKNAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZgYydxIAAAF4AAAFNGhlYWQUJ7cIAAAGrAAAADZoaGVhB20DzAAABuQAAAAkaG10eCIABhQAAAcIAAAALGxvY2ED4AU6AAAHNAAAABhtYXhwAA8AjAAAB0wAAAAgbmFtZXsr690AAAdsAAABhnBvc3QAAwAAAAAI9AAAACAAAwPAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6Qb//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAWIAjQKeAskAEwAAJSc3NjQnJiIHAQYUFwEWMjc2NCcCnuLiDQ0MJAz/AA0NAQAMJAwNDcni4gwjDQwM/wANIwz/AA0NDCMNAAAAAQFiAI0CngLJABMAACUBNjQnASYiBwYUHwEHBhQXFjI3AZ4BAA0N/wAMJAwNDeLiDQ0MJAyNAQAMIw0BAAwMDSMM4uINIwwNDQAAAAIA4gC3Ax4CngATACcAACUnNzY0JyYiDwEGFB8BFjI3NjQnISc3NjQnJiIPAQYUHwEWMjc2NCcB87e3DQ0MIw3VDQ3VDSMMDQ0BK7e3DQ0MJAzVDQ3VDCQMDQ3zuLcMJAwNDdUNIwzWDAwNIwy4twwkDA0N1Q0jDNYMDA0jDAAAAgDiALcDHgKeABMAJwAAJTc2NC8BJiIHBhQfAQcGFBcWMjchNzY0LwEmIgcGFB8BBwYUFxYyNwJJ1Q0N1Q0jDA0Nt7cNDQwjDf7V1Q0N1QwkDA0Nt7cNDQwkDLfWDCMN1Q0NDCQMt7gMIw0MDNYMIw3VDQ0MJAy3uAwjDQwMAAADAFUAAAOrA1UAMwBoAHcAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMhMjY1NCYjISIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAAVYRGRkR/qoRGRkRA1UFBAUOCQkVDAsZDf2rDRkLDBUJCA4FBQUFBQUOCQgVDAsZDQJVDRkLDBUJCQ4FBAVVAgECBQMCBwQECAX9qwQJAwQHAwMFAQICAgIBBQMDBwQDCQQCVQUIBAQHAgMFAgEC/oAZEhEZGRESGQAAAAADAFUAAAOrA1UAMwBoAIkAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMzFRQWMzI2PQEzMjY1NCYrATU0JiMiBh0BIyIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAgBkSEhmAERkZEYAZEhIZgBEZGREDVQUEBQ4JCRUMCxkN/asNGQsMFQkIDgUFBQUFBQ4JCBUMCxkNAlUNGQsMFQkJDgUEBVUCAQIFAwIHBAQIBf2rBAkDBAcDAwUBAgICAgEFAwMHBAMJBAJVBQgEBAcCAwUCAQL+gIASGRkSgBkSERmAEhkZEoAZERIZAAABAOIAjQMeAskAIAAAExcHBhQXFjI/ARcWMjc2NC8BNzY0JyYiDwEnJiIHBhQX4uLiDQ0MJAzi4gwkDA0N4uINDQwkDOLiDCQMDQ0CjeLiDSMMDQ3h4Q0NDCMN4uIMIw0MDOLiDAwNIwwAAAABAAAAAQAAa5n0y18PPPUACwQAAAAAANivOVsAAAAA2K85WwAAAAADqwNVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAOrAAEAAAAAAAAAAAAAAAAAAAALBAAAAAAAAAAAAAAAAgAAAAQAAWIEAAFiBAAA4gQAAOIEAABVBAAAVQQAAOIAAAAAAAoAFAAeAEQAagCqAOoBngJkApoAAQAAAAsAigADAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGZjaWNvbnMAZgBjAGkAYwBvAG4Ac1ZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGZjaWNvbnMAZgBjAGkAYwBvAG4Ac2ZjaWNvbnMAZgBjAGkAYwBvAG4Ac1JlZ3VsYXIAUgBlAGcAdQBsAGEAcmZjaWNvbnMAZgBjAGkAYwBvAG4Ac0ZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") format("truetype")}.fc-icon{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:fcicons!important;font-style:normal;font-variant:normal;font-weight:400;height:1em;line-height:1;text-align:center;text-transform:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:1em}.fc-icon-chevron-left:before{content:"\\e900"}.fc-icon-chevron-right:before{content:"\\e901"}.fc-icon-chevrons-left:before{content:"\\e902"}.fc-icon-chevrons-right:before{content:"\\e903"}.fc-icon-minus-square:before{content:"\\e904"}.fc-icon-plus-square:before{content:"\\e905"}.fc-icon-x:before{content:"\\e906"}.fc .fc-button{border-radius:0;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible;text-transform:none}.fc .fc-button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.fc .fc-button{-webkit-appearance:button}.fc .fc-button:not(:disabled){cursor:pointer}.fc .fc-button{background-color:transparent;border:1px solid transparent;border-radius:.25em;display:inline-block;font-size:1em;font-weight:400;line-height:1.5;padding:.4em .65em;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle}.fc .fc-button:hover{text-decoration:none}.fc .fc-button:focus{box-shadow:0 0 0 .2rem rgba(44,62,80,.25);outline:0}.fc .fc-button:disabled{opacity:.65}.fc .fc-button-primary{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:hover{background-color:var(--fc-button-hover-bg-color);border-color:var(--fc-button-hover-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:disabled{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button-primary:not(:disabled).fc-button-active,.fc .fc-button-primary:not(:disabled):active{background-color:var(--fc-button-active-bg-color);border-color:var(--fc-button-active-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:not(:disabled).fc-button-active:focus,.fc .fc-button-primary:not(:disabled):active:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button .fc-icon{font-size:1.5em;vertical-align:middle}.fc .fc-button-group{display:inline-flex;position:relative;vertical-align:middle}.fc .fc-button-group>.fc-button{flex:1 1 auto;position:relative}.fc .fc-button-group>.fc-button.fc-button-active,.fc .fc-button-group>.fc-button:active,.fc .fc-button-group>.fc-button:focus,.fc .fc-button-group>.fc-button:hover{z-index:1}.fc-direction-ltr .fc-button-group>.fc-button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:-1px}.fc-direction-ltr .fc-button-group>.fc-button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.fc-direction-rtl .fc-button-group>.fc-button:not(:first-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}.fc-direction-rtl .fc-button-group>.fc-button:not(:last-child){border-bottom-left-radius:0;border-top-left-radius:0}.fc .fc-toolbar{align-items:center;display:flex;justify-content:space-between}.fc .fc-toolbar.fc-header-toolbar{margin-bottom:1.5em}.fc .fc-toolbar.fc-footer-toolbar{margin-top:1.5em}.fc .fc-toolbar-title{font-size:1.75em;margin:0}.fc-direction-ltr .fc-toolbar>*>:not(:first-child){margin-left:.75em}.fc-direction-rtl .fc-toolbar>*>:not(:first-child){margin-right:.75em}.fc-direction-rtl .fc-toolbar-ltr{flex-direction:row-reverse}.fc .fc-scroller{-webkit-overflow-scrolling:touch;position:relative}.fc .fc-scroller-liquid{height:100%}.fc .fc-scroller-liquid-absolute{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-scroller-harness{direction:ltr;overflow:hidden;position:relative}.fc .fc-scroller-harness-liquid{height:100%}.fc-direction-rtl .fc-scroller-harness>.fc-scroller{direction:rtl}.fc-theme-standard .fc-scrollgrid{border:1px solid var(--fc-border-color)}.fc .fc-scrollgrid,.fc .fc-scrollgrid table{table-layout:fixed;width:100%}.fc .fc-scrollgrid table{border-left-style:hidden;border-right-style:hidden;border-top-style:hidden}.fc .fc-scrollgrid{border-bottom-width:0;border-collapse:separate;border-right-width:0}.fc .fc-scrollgrid-liquid{height:100%}.fc .fc-scrollgrid-section,.fc .fc-scrollgrid-section table,.fc .fc-scrollgrid-section>td{height:1px}.fc .fc-scrollgrid-section-liquid>td{height:100%}.fc .fc-scrollgrid-section>*{border-left-width:0;border-top-width:0}.fc .fc-scrollgrid-section-footer>*,.fc .fc-scrollgrid-section-header>*{border-bottom-width:0}.fc .fc-scrollgrid-section-body table,.fc .fc-scrollgrid-section-footer table{border-bottom-style:hidden}.fc .fc-scrollgrid-section-sticky>*{background:var(--fc-page-bg-color);position:sticky;z-index:3}.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky>*{top:0}.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky>*{bottom:0}.fc .fc-scrollgrid-sticky-shim{height:1px;margin-bottom:-1px}.fc-sticky{position:sticky}.fc .fc-view-harness{flex-grow:1;position:relative}.fc .fc-view-harness-active>.fc-view{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-col-header-cell-cushion{display:inline-block;padding:2px 4px}.fc .fc-bg-event,.fc .fc-highlight,.fc .fc-non-business{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-non-business{background:var(--fc-non-business-color)}.fc .fc-bg-event{background:var(--fc-bg-event-color);opacity:var(--fc-bg-event-opacity)}.fc .fc-bg-event .fc-event-title{font-size:var(--fc-small-font-size);font-style:italic;margin:.5em}.fc .fc-highlight{background:var(--fc-highlight-color)}.fc .fc-cell-shaded,.fc .fc-day-disabled{background:var(--fc-neutral-bg-color)}a.fc-event,a.fc-event:hover{text-decoration:none}.fc-event.fc-event-draggable,.fc-event[href]{cursor:pointer}.fc-event .fc-event-main{position:relative;z-index:2}.fc-event-dragging:not(.fc-event-selected){opacity:.75}.fc-event-dragging.fc-event-selected{box-shadow:0 2px 7px rgba(0,0,0,.3)}.fc-event .fc-event-resizer{display:none;position:absolute;z-index:4}.fc-event-selected .fc-event-resizer,.fc-event:hover .fc-event-resizer{display:block}.fc-event-selected .fc-event-resizer{background:var(--fc-page-bg-color);border-color:inherit;border-radius:calc(var(--fc-event-resizer-dot-total-width)/2);border-style:solid;border-width:var(--fc-event-resizer-dot-border-width);height:var(--fc-event-resizer-dot-total-width);width:var(--fc-event-resizer-dot-total-width)}.fc-event-selected .fc-event-resizer:before{bottom:-20px;content:"";left:-20px;position:absolute;right:-20px;top:-20px}.fc-event-selected,.fc-event:focus{box-shadow:0 2px 5px rgba(0,0,0,.2)}.fc-event-selected:before,.fc-event:focus:before{bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:3}.fc-event-selected:after,.fc-event:focus:after{background:var(--fc-event-selected-overlay-color);bottom:-1px;content:"";left:-1px;position:absolute;right:-1px;top:-1px;z-index:1}.fc-h-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-h-event .fc-event-main{color:var(--fc-event-text-color)}.fc-h-event .fc-event-main-frame{display:flex}.fc-h-event .fc-event-time{max-width:100%;overflow:hidden}.fc-h-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-width:0}.fc-h-event .fc-event-title{display:inline-block;left:0;max-width:100%;overflow:hidden;right:0;vertical-align:top}.fc-h-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end){border-bottom-left-radius:0;border-left-width:0;border-top-left-radius:0}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start){border-bottom-right-radius:0;border-right-width:0;border-top-right-radius:0}.fc-h-event:not(.fc-event-selected) .fc-event-resizer{bottom:0;top:0;width:var(--fc-event-resizer-thickness)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end{cursor:w-resize;left:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start{cursor:e-resize;right:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-h-event.fc-event-selected .fc-event-resizer{margin-top:calc(var(--fc-event-resizer-dot-total-width)*-.5);top:50%}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end{left:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start{right:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc .fc-popover{box-shadow:0 2px 6px rgba(0,0,0,.15);position:absolute;z-index:9999}.fc .fc-popover-header{align-items:center;display:flex;flex-direction:row;justify-content:space-between;padding:3px 4px}.fc .fc-popover-title{margin:0 2px}.fc .fc-popover-close{cursor:pointer;font-size:1.1em;opacity:.65}.fc-theme-standard .fc-popover{background:var(--fc-page-bg-color);border:1px solid var(--fc-border-color)}.fc-theme-standard .fc-popover-header{background:var(--fc-neutral-bg-color)}';
|
|
641
|
-
|
|
642
|
-
class
|
|
641
|
+
var xl = ':root{--fc-small-font-size:.85em;--fc-page-bg-color:#fff;--fc-neutral-bg-color:hsla(0,0%,82%,.3);--fc-neutral-text-color:grey;--fc-border-color:#ddd;--fc-button-text-color:#fff;--fc-button-bg-color:#2c3e50;--fc-button-border-color:#2c3e50;--fc-button-hover-bg-color:#1e2b37;--fc-button-hover-border-color:#1a252f;--fc-button-active-bg-color:#1a252f;--fc-button-active-border-color:#151e27;--fc-event-bg-color:#3788d8;--fc-event-border-color:#3788d8;--fc-event-text-color:#fff;--fc-event-selected-overlay-color:rgba(0,0,0,.25);--fc-more-link-bg-color:#d0d0d0;--fc-more-link-text-color:inherit;--fc-event-resizer-thickness:8px;--fc-event-resizer-dot-total-width:8px;--fc-event-resizer-dot-border-width:1px;--fc-non-business-color:hsla(0,0%,84%,.3);--fc-bg-event-color:#8fdf82;--fc-bg-event-opacity:0.3;--fc-highlight-color:rgba(188,232,241,.3);--fc-today-bg-color:rgba(255,220,40,.15);--fc-now-indicator-color:red}.fc-not-allowed,.fc-not-allowed .fc-event{cursor:not-allowed}.fc{display:flex;flex-direction:column;font-size:1em}.fc,.fc *,.fc :after,.fc :before{box-sizing:border-box}.fc table{border-collapse:collapse;border-spacing:0;font-size:1em}.fc th{text-align:center}.fc td,.fc th{padding:0;vertical-align:top}.fc a[data-navlink]{cursor:pointer}.fc a[data-navlink]:hover{text-decoration:underline}.fc-direction-ltr{direction:ltr;text-align:left}.fc-direction-rtl{direction:rtl;text-align:right}.fc-theme-standard td,.fc-theme-standard th{border:1px solid var(--fc-border-color)}.fc-liquid-hack td,.fc-liquid-hack th{position:relative}@font-face{font-family:fcicons;font-style:normal;font-weight:400;src:url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBfAAAAC8AAAAYGNtYXAXVtKNAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZgYydxIAAAF4AAAFNGhlYWQUJ7cIAAAGrAAAADZoaGVhB20DzAAABuQAAAAkaG10eCIABhQAAAcIAAAALGxvY2ED4AU6AAAHNAAAABhtYXhwAA8AjAAAB0wAAAAgbmFtZXsr690AAAdsAAABhnBvc3QAAwAAAAAI9AAAACAAAwPAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6Qb//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAWIAjQKeAskAEwAAJSc3NjQnJiIHAQYUFwEWMjc2NCcCnuLiDQ0MJAz/AA0NAQAMJAwNDcni4gwjDQwM/wANIwz/AA0NDCMNAAAAAQFiAI0CngLJABMAACUBNjQnASYiBwYUHwEHBhQXFjI3AZ4BAA0N/wAMJAwNDeLiDQ0MJAyNAQAMIw0BAAwMDSMM4uINIwwNDQAAAAIA4gC3Ax4CngATACcAACUnNzY0JyYiDwEGFB8BFjI3NjQnISc3NjQnJiIPAQYUHwEWMjc2NCcB87e3DQ0MIw3VDQ3VDSMMDQ0BK7e3DQ0MJAzVDQ3VDCQMDQ3zuLcMJAwNDdUNIwzWDAwNIwy4twwkDA0N1Q0jDNYMDA0jDAAAAgDiALcDHgKeABMAJwAAJTc2NC8BJiIHBhQfAQcGFBcWMjchNzY0LwEmIgcGFB8BBwYUFxYyNwJJ1Q0N1Q0jDA0Nt7cNDQwjDf7V1Q0N1QwkDA0Nt7cNDQwkDLfWDCMN1Q0NDCQMt7gMIw0MDNYMIw3VDQ0MJAy3uAwjDQwMAAADAFUAAAOrA1UAMwBoAHcAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMhMjY1NCYjISIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAAVYRGRkR/qoRGRkRA1UFBAUOCQkVDAsZDf2rDRkLDBUJCA4FBQUFBQUOCQgVDAsZDQJVDRkLDBUJCQ4FBAVVAgECBQMCBwQECAX9qwQJAwQHAwMFAQICAgIBBQMDBwQDCQQCVQUIBAQHAgMFAgEC/oAZEhEZGRESGQAAAAADAFUAAAOrA1UAMwBoAIkAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMzFRQWMzI2PQEzMjY1NCYrATU0JiMiBh0BIyIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAgBkSEhmAERkZEYAZEhIZgBEZGREDVQUEBQ4JCRUMCxkN/asNGQsMFQkIDgUFBQUFBQ4JCBUMCxkNAlUNGQsMFQkJDgUEBVUCAQIFAwIHBAQIBf2rBAkDBAcDAwUBAgICAgEFAwMHBAMJBAJVBQgEBAcCAwUCAQL+gIASGRkSgBkSERmAEhkZEoAZERIZAAABAOIAjQMeAskAIAAAExcHBhQXFjI/ARcWMjc2NC8BNzY0JyYiDwEnJiIHBhQX4uLiDQ0MJAzi4gwkDA0N4uINDQwkDOLiDCQMDQ0CjeLiDSMMDQ3h4Q0NDCMN4uIMIw0MDOLiDAwNIwwAAAABAAAAAQAAa5n0y18PPPUACwQAAAAAANivOVsAAAAA2K85WwAAAAADqwNVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAOrAAEAAAAAAAAAAAAAAAAAAAALBAAAAAAAAAAAAAAAAgAAAAQAAWIEAAFiBAAA4gQAAOIEAABVBAAAVQQAAOIAAAAAAAoAFAAeAEQAagCqAOoBngJkApoAAQAAAAsAigADAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGZjaWNvbnMAZgBjAGkAYwBvAG4Ac1ZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGZjaWNvbnMAZgBjAGkAYwBvAG4Ac2ZjaWNvbnMAZgBjAGkAYwBvAG4Ac1JlZ3VsYXIAUgBlAGcAdQBsAGEAcmZjaWNvbnMAZgBjAGkAYwBvAG4Ac0ZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") format("truetype")}.fc-icon{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:fcicons!important;font-style:normal;font-variant:normal;font-weight:400;height:1em;line-height:1;text-align:center;text-transform:none;-moz-user-select:none;user-select:none;width:1em}.fc-icon-chevron-left:before{content:"\\e900"}.fc-icon-chevron-right:before{content:"\\e901"}.fc-icon-chevrons-left:before{content:"\\e902"}.fc-icon-chevrons-right:before{content:"\\e903"}.fc-icon-minus-square:before{content:"\\e904"}.fc-icon-plus-square:before{content:"\\e905"}.fc-icon-x:before{content:"\\e906"}.fc .fc-button{border-radius:0;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible;text-transform:none}.fc .fc-button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.fc .fc-button{-webkit-appearance:button}.fc .fc-button:not(:disabled){cursor:pointer}.fc .fc-button{background-color:transparent;border:1px solid transparent;border-radius:.25em;display:inline-block;font-size:1em;font-weight:400;line-height:1.5;padding:.4em .65em;text-align:center;-moz-user-select:none;user-select:none;vertical-align:middle}.fc .fc-button:hover{text-decoration:none}.fc .fc-button:focus{box-shadow:0 0 0 .2rem rgba(44,62,80,.25);outline:0}.fc .fc-button:disabled{opacity:.65}.fc .fc-button-primary{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:hover{background-color:var(--fc-button-hover-bg-color);border-color:var(--fc-button-hover-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:disabled{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button-primary:not(:disabled).fc-button-active,.fc .fc-button-primary:not(:disabled):active{background-color:var(--fc-button-active-bg-color);border-color:var(--fc-button-active-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:not(:disabled).fc-button-active:focus,.fc .fc-button-primary:not(:disabled):active:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button .fc-icon{font-size:1.5em;vertical-align:middle}.fc .fc-button-group{display:inline-flex;position:relative;vertical-align:middle}.fc .fc-button-group>.fc-button{flex:1 1 auto;position:relative}.fc .fc-button-group>.fc-button.fc-button-active,.fc .fc-button-group>.fc-button:active,.fc .fc-button-group>.fc-button:focus,.fc .fc-button-group>.fc-button:hover{z-index:1}.fc-direction-ltr .fc-button-group>.fc-button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:-1px}.fc-direction-ltr .fc-button-group>.fc-button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.fc-direction-rtl .fc-button-group>.fc-button:not(:first-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}.fc-direction-rtl .fc-button-group>.fc-button:not(:last-child){border-bottom-left-radius:0;border-top-left-radius:0}.fc .fc-toolbar{align-items:center;display:flex;justify-content:space-between}.fc .fc-toolbar.fc-header-toolbar{margin-bottom:1.5em}.fc .fc-toolbar.fc-footer-toolbar{margin-top:1.5em}.fc .fc-toolbar-title{font-size:1.75em;margin:0}.fc-direction-ltr .fc-toolbar>*>:not(:first-child){margin-left:.75em}.fc-direction-rtl .fc-toolbar>*>:not(:first-child){margin-right:.75em}.fc-direction-rtl .fc-toolbar-ltr{flex-direction:row-reverse}.fc .fc-scroller{-webkit-overflow-scrolling:touch;position:relative}.fc .fc-scroller-liquid{height:100%}.fc .fc-scroller-liquid-absolute{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-scroller-harness{direction:ltr;overflow:hidden;position:relative}.fc .fc-scroller-harness-liquid{height:100%}.fc-direction-rtl .fc-scroller-harness>.fc-scroller{direction:rtl}.fc-theme-standard .fc-scrollgrid{border:1px solid var(--fc-border-color)}.fc .fc-scrollgrid,.fc .fc-scrollgrid table{table-layout:fixed;width:100%}.fc .fc-scrollgrid table{border-left-style:hidden;border-right-style:hidden;border-top-style:hidden}.fc .fc-scrollgrid{border-bottom-width:0;border-collapse:separate;border-right-width:0}.fc .fc-scrollgrid-liquid{height:100%}.fc .fc-scrollgrid-section,.fc .fc-scrollgrid-section table,.fc .fc-scrollgrid-section>td{height:1px}.fc .fc-scrollgrid-section-liquid>td{height:100%}.fc .fc-scrollgrid-section>*{border-left-width:0;border-top-width:0}.fc .fc-scrollgrid-section-footer>*,.fc .fc-scrollgrid-section-header>*{border-bottom-width:0}.fc .fc-scrollgrid-section-body table,.fc .fc-scrollgrid-section-footer table{border-bottom-style:hidden}.fc .fc-scrollgrid-section-sticky>*{background:var(--fc-page-bg-color);position:sticky;z-index:3}.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky>*{top:0}.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky>*{bottom:0}.fc .fc-scrollgrid-sticky-shim{height:1px;margin-bottom:-1px}.fc-sticky{position:sticky}.fc .fc-view-harness{flex-grow:1;position:relative}.fc .fc-view-harness-active>.fc-view{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-col-header-cell-cushion{display:inline-block;padding:2px 4px}.fc .fc-bg-event,.fc .fc-highlight,.fc .fc-non-business{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-non-business{background:var(--fc-non-business-color)}.fc .fc-bg-event{background:var(--fc-bg-event-color);opacity:var(--fc-bg-event-opacity)}.fc .fc-bg-event .fc-event-title{font-size:var(--fc-small-font-size);font-style:italic;margin:.5em}.fc .fc-highlight{background:var(--fc-highlight-color)}.fc .fc-cell-shaded,.fc .fc-day-disabled{background:var(--fc-neutral-bg-color)}a.fc-event,a.fc-event:hover{text-decoration:none}.fc-event.fc-event-draggable,.fc-event[href]{cursor:pointer}.fc-event .fc-event-main{position:relative;z-index:2}.fc-event-dragging:not(.fc-event-selected){opacity:.75}.fc-event-dragging.fc-event-selected{box-shadow:0 2px 7px rgba(0,0,0,.3)}.fc-event .fc-event-resizer{display:none;position:absolute;z-index:4}.fc-event-selected .fc-event-resizer,.fc-event:hover .fc-event-resizer{display:block}.fc-event-selected .fc-event-resizer{background:var(--fc-page-bg-color);border-color:inherit;border-radius:calc(var(--fc-event-resizer-dot-total-width)/2);border-style:solid;border-width:var(--fc-event-resizer-dot-border-width);height:var(--fc-event-resizer-dot-total-width);width:var(--fc-event-resizer-dot-total-width)}.fc-event-selected .fc-event-resizer:before{bottom:-20px;content:"";left:-20px;position:absolute;right:-20px;top:-20px}.fc-event-selected,.fc-event:focus{box-shadow:0 2px 5px rgba(0,0,0,.2)}.fc-event-selected:before,.fc-event:focus:before{bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:3}.fc-event-selected:after,.fc-event:focus:after{background:var(--fc-event-selected-overlay-color);bottom:-1px;content:"";left:-1px;position:absolute;right:-1px;top:-1px;z-index:1}.fc-h-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-h-event .fc-event-main{color:var(--fc-event-text-color)}.fc-h-event .fc-event-main-frame{display:flex}.fc-h-event .fc-event-time{max-width:100%;overflow:hidden}.fc-h-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-width:0}.fc-h-event .fc-event-title{display:inline-block;left:0;max-width:100%;overflow:hidden;right:0;vertical-align:top}.fc-h-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end){border-bottom-left-radius:0;border-left-width:0;border-top-left-radius:0}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start){border-bottom-right-radius:0;border-right-width:0;border-top-right-radius:0}.fc-h-event:not(.fc-event-selected) .fc-event-resizer{bottom:0;top:0;width:var(--fc-event-resizer-thickness)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end{cursor:w-resize;left:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start{cursor:e-resize;right:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-h-event.fc-event-selected .fc-event-resizer{margin-top:calc(var(--fc-event-resizer-dot-total-width)*-.5);top:50%}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end{left:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start{right:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc .fc-popover{box-shadow:0 2px 6px rgba(0,0,0,.15);position:absolute;z-index:9999}.fc .fc-popover-header{align-items:center;display:flex;flex-direction:row;justify-content:space-between;padding:3px 4px}.fc .fc-popover-title{margin:0 2px}.fc .fc-popover-close{cursor:pointer;font-size:1.1em;opacity:.65}.fc-theme-standard .fc-popover{background:var(--fc-page-bg-color);border:1px solid var(--fc-border-color)}.fc-theme-standard .fc-popover-header{background:var(--fc-neutral-bg-color)}';
|
|
642
|
+
gn(xl);
|
|
643
|
+
class pn {
|
|
643
644
|
constructor(e) {
|
|
644
645
|
this.drainedOption = e, this.isRunning = !1, this.isDirty = !1, this.pauseDepths = {}, this.timeoutId = 0;
|
|
645
646
|
}
|
|
@@ -678,7 +679,7 @@ class gn {
|
|
|
678
679
|
this.drainedOption && this.drainedOption();
|
|
679
680
|
}
|
|
680
681
|
}
|
|
681
|
-
function
|
|
682
|
+
function mn(t) {
|
|
682
683
|
t.parentNode && t.parentNode.removeChild(t);
|
|
683
684
|
}
|
|
684
685
|
function P(t, e) {
|
|
@@ -706,7 +707,7 @@ function Ml(t, e) {
|
|
|
706
707
|
return r;
|
|
707
708
|
}
|
|
708
709
|
const Il = /(top|left|right|bottom|width|height)$/i;
|
|
709
|
-
function
|
|
710
|
+
function Ne(t, e) {
|
|
710
711
|
for (let n in e)
|
|
711
712
|
vi(t, n, e[n]);
|
|
712
713
|
}
|
|
@@ -717,26 +718,26 @@ function bi(t) {
|
|
|
717
718
|
var e, n;
|
|
718
719
|
return (n = (e = t.composedPath) === null || e === void 0 ? void 0 : e.call(t)[0]) !== null && n !== void 0 ? n : t.target;
|
|
719
720
|
}
|
|
720
|
-
let
|
|
721
|
-
function
|
|
722
|
-
return
|
|
721
|
+
let hr = 0;
|
|
722
|
+
function Dt() {
|
|
723
|
+
return hr += 1, "fc-dom-" + hr;
|
|
723
724
|
}
|
|
724
|
-
function
|
|
725
|
+
function Ct(t) {
|
|
725
726
|
t.preventDefault();
|
|
726
727
|
}
|
|
727
|
-
function
|
|
728
|
+
function Nl(t, e) {
|
|
728
729
|
return (n) => {
|
|
729
730
|
let r = P(n.target, t);
|
|
730
731
|
r && e.call(r, n, r);
|
|
731
732
|
};
|
|
732
733
|
}
|
|
733
734
|
function yi(t, e, n, r) {
|
|
734
|
-
let i =
|
|
735
|
+
let i = Nl(n, r);
|
|
735
736
|
return t.addEventListener(e, i), () => {
|
|
736
737
|
t.removeEventListener(e, i);
|
|
737
738
|
};
|
|
738
739
|
}
|
|
739
|
-
function
|
|
740
|
+
function Ol(t, e, n, r) {
|
|
740
741
|
let i;
|
|
741
742
|
return yi(t, "mouseover", e, (s, l) => {
|
|
742
743
|
if (l !== i) {
|
|
@@ -748,7 +749,7 @@ function Nl(t, e, n, r) {
|
|
|
748
749
|
}
|
|
749
750
|
});
|
|
750
751
|
}
|
|
751
|
-
const
|
|
752
|
+
const gr = [
|
|
752
753
|
"webkitTransitionEnd",
|
|
753
754
|
"otransitionend",
|
|
754
755
|
"oTransitionEnd",
|
|
@@ -757,11 +758,11 @@ const hr = [
|
|
|
757
758
|
];
|
|
758
759
|
function Pl(t, e) {
|
|
759
760
|
let n = (r) => {
|
|
760
|
-
e(r),
|
|
761
|
+
e(r), gr.forEach((i) => {
|
|
761
762
|
t.removeEventListener(i, n);
|
|
762
763
|
});
|
|
763
764
|
};
|
|
764
|
-
|
|
765
|
+
gr.forEach((r) => {
|
|
765
766
|
t.addEventListener(r, n);
|
|
766
767
|
});
|
|
767
768
|
}
|
|
@@ -776,27 +777,27 @@ function Si(t) {
|
|
|
776
777
|
}
|
|
777
778
|
};
|
|
778
779
|
}
|
|
779
|
-
let
|
|
780
|
+
let pr = 0;
|
|
780
781
|
function pe() {
|
|
781
|
-
return
|
|
782
|
+
return pr += 1, String(pr);
|
|
782
783
|
}
|
|
783
|
-
function
|
|
784
|
+
function vn() {
|
|
784
785
|
document.body.classList.add("fc-not-allowed");
|
|
785
786
|
}
|
|
786
|
-
function
|
|
787
|
+
function bn() {
|
|
787
788
|
document.body.classList.remove("fc-not-allowed");
|
|
788
789
|
}
|
|
789
790
|
function Hl(t) {
|
|
790
|
-
t.style.userSelect = "none", t.style.webkitUserSelect = "none", t.addEventListener("selectstart",
|
|
791
|
+
t.style.userSelect = "none", t.style.webkitUserSelect = "none", t.addEventListener("selectstart", Ct);
|
|
791
792
|
}
|
|
792
793
|
function Bl(t) {
|
|
793
|
-
t.style.userSelect = "", t.style.webkitUserSelect = "", t.removeEventListener("selectstart",
|
|
794
|
+
t.style.userSelect = "", t.style.webkitUserSelect = "", t.removeEventListener("selectstart", Ct);
|
|
794
795
|
}
|
|
795
796
|
function Ll(t) {
|
|
796
|
-
t.addEventListener("contextmenu",
|
|
797
|
+
t.addEventListener("contextmenu", Ct);
|
|
797
798
|
}
|
|
798
799
|
function Ul(t) {
|
|
799
|
-
t.removeEventListener("contextmenu",
|
|
800
|
+
t.removeEventListener("contextmenu", Ct);
|
|
800
801
|
}
|
|
801
802
|
function jl(t) {
|
|
802
803
|
let e = [], n = [], r, i;
|
|
@@ -821,7 +822,7 @@ function Se(t, e) {
|
|
|
821
822
|
let n = String(t);
|
|
822
823
|
return "000".substr(0, e - n.length) + n;
|
|
823
824
|
}
|
|
824
|
-
function
|
|
825
|
+
function Oe(t, e, n) {
|
|
825
826
|
return typeof t == "function" ? t(...e) : typeof t == "string" ? e.reduce((r, i, s) => r.replace("$" + s, i || ""), t) : n;
|
|
826
827
|
}
|
|
827
828
|
function Vl(t, e) {
|
|
@@ -839,9 +840,9 @@ function Gl(t) {
|
|
|
839
840
|
return t.getBoundingClientRect().width - e.getBoundingClientRect().width + // the cell padding+border
|
|
840
841
|
n.getBoundingClientRect().width;
|
|
841
842
|
}
|
|
842
|
-
const
|
|
843
|
+
const mr = ["years", "months", "days", "milliseconds"], ql = /^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;
|
|
843
844
|
function _(t, e) {
|
|
844
|
-
return typeof t == "string" ? Ql(t) : typeof t == "object" && t ?
|
|
845
|
+
return typeof t == "string" ? Ql(t) : typeof t == "object" && t ? vr(t) : typeof t == "number" ? vr({ [e || "milliseconds"]: t }) : null;
|
|
845
846
|
}
|
|
846
847
|
function Ql(t) {
|
|
847
848
|
let e = ql.exec(t);
|
|
@@ -859,7 +860,7 @@ function Ql(t) {
|
|
|
859
860
|
}
|
|
860
861
|
return null;
|
|
861
862
|
}
|
|
862
|
-
function
|
|
863
|
+
function vr(t) {
|
|
863
864
|
let e = {
|
|
864
865
|
years: t.years || t.year || 0,
|
|
865
866
|
months: t.months || t.month || 0,
|
|
@@ -875,7 +876,7 @@ function mr(t) {
|
|
|
875
876
|
function Yl(t, e) {
|
|
876
877
|
return t.years === e.years && t.months === e.months && t.days === e.days && t.milliseconds === e.milliseconds;
|
|
877
878
|
}
|
|
878
|
-
function
|
|
879
|
+
function Kt(t, e) {
|
|
879
880
|
return {
|
|
880
881
|
years: t.years + e.years,
|
|
881
882
|
months: t.months + e.months,
|
|
@@ -911,10 +912,10 @@ function Ae(t) {
|
|
|
911
912
|
function F(t) {
|
|
912
913
|
return t.years * (365 * 864e5) + t.months * (30 * 864e5) + t.days * 864e5 + t.milliseconds;
|
|
913
914
|
}
|
|
914
|
-
function
|
|
915
|
+
function yn(t, e) {
|
|
915
916
|
let n = null;
|
|
916
|
-
for (let r = 0; r <
|
|
917
|
-
let i =
|
|
917
|
+
for (let r = 0; r < mr.length; r += 1) {
|
|
918
|
+
let i = mr[r];
|
|
918
919
|
if (e[i]) {
|
|
919
920
|
let s = t[i] / e[i];
|
|
920
921
|
if (!nt(s) || n !== null && n !== s)
|
|
@@ -925,7 +926,7 @@ function bn(t, e) {
|
|
|
925
926
|
}
|
|
926
927
|
return n;
|
|
927
928
|
}
|
|
928
|
-
function
|
|
929
|
+
function en(t) {
|
|
929
930
|
let e = t.milliseconds;
|
|
930
931
|
if (e) {
|
|
931
932
|
if (e % 1e3 !== 0)
|
|
@@ -951,7 +952,7 @@ function re(t, e, n) {
|
|
|
951
952
|
return !0;
|
|
952
953
|
}
|
|
953
954
|
const Kl = ["sun", "mon", "tue", "wed", "thu", "fri", "sat"];
|
|
954
|
-
function
|
|
955
|
+
function br(t, e) {
|
|
955
956
|
let n = ee(t);
|
|
956
957
|
return n[2] += e * 7, L(n);
|
|
957
958
|
}
|
|
@@ -1029,13 +1030,13 @@ function ao(t) {
|
|
|
1029
1030
|
]);
|
|
1030
1031
|
}
|
|
1031
1032
|
function co(t, e, n) {
|
|
1032
|
-
let r = t.getUTCFullYear(), i =
|
|
1033
|
+
let r = t.getUTCFullYear(), i = Lt(t, r, e, n);
|
|
1033
1034
|
if (i < 1)
|
|
1034
|
-
return
|
|
1035
|
-
let s =
|
|
1035
|
+
return Lt(t, r - 1, e, n);
|
|
1036
|
+
let s = Lt(t, r + 1, e, n);
|
|
1036
1037
|
return s >= 1 ? Math.min(i, s) : i;
|
|
1037
1038
|
}
|
|
1038
|
-
function
|
|
1039
|
+
function Lt(t, e, n, r) {
|
|
1039
1040
|
let i = L([e, 0, 1 + uo(e, n, r)]), s = k(t), l = Math.round(me(i, s));
|
|
1040
1041
|
return Math.floor(l / 7) + 1;
|
|
1041
1042
|
}
|
|
@@ -1043,7 +1044,7 @@ function uo(t, e, n) {
|
|
|
1043
1044
|
let r = 7 + e - n;
|
|
1044
1045
|
return -((7 + L([t, 0, r]).getUTCDay() - e) % 7) + r - 1;
|
|
1045
1046
|
}
|
|
1046
|
-
function
|
|
1047
|
+
function yr(t) {
|
|
1047
1048
|
return [
|
|
1048
1049
|
t.getFullYear(),
|
|
1049
1050
|
t.getMonth(),
|
|
@@ -1054,7 +1055,7 @@ function br(t) {
|
|
|
1054
1055
|
t.getMilliseconds()
|
|
1055
1056
|
];
|
|
1056
1057
|
}
|
|
1057
|
-
function
|
|
1058
|
+
function Er(t) {
|
|
1058
1059
|
return new Date(
|
|
1059
1060
|
t[0],
|
|
1060
1061
|
t[1] || 0,
|
|
@@ -1087,9 +1088,9 @@ function te(t) {
|
|
|
1087
1088
|
}
|
|
1088
1089
|
function Di(t, e, n = !1) {
|
|
1089
1090
|
let r = t.toISOString();
|
|
1090
|
-
return r = r.replace(".000", ""), n && (r = r.replace("T00:00:00Z", "")), r.length > 10 && (e == null ? r = r.replace("Z", "") : e !== 0 && (r = r.replace("Z",
|
|
1091
|
+
return r = r.replace(".000", ""), n && (r = r.replace("T00:00:00Z", "")), r.length > 10 && (e == null ? r = r.replace("Z", "") : e !== 0 && (r = r.replace("Z", Sn(e, !0)))), r;
|
|
1091
1092
|
}
|
|
1092
|
-
function
|
|
1093
|
+
function En(t) {
|
|
1093
1094
|
return t.toISOString().replace(/T.*$/, "");
|
|
1094
1095
|
}
|
|
1095
1096
|
function fo(t) {
|
|
@@ -1098,7 +1099,7 @@ function fo(t) {
|
|
|
1098
1099
|
function ho(t) {
|
|
1099
1100
|
return Se(t.getUTCHours(), 2) + ":" + Se(t.getUTCMinutes(), 2) + ":" + Se(t.getUTCSeconds(), 2);
|
|
1100
1101
|
}
|
|
1101
|
-
function
|
|
1102
|
+
function Sn(t, e = !1) {
|
|
1102
1103
|
let n = t < 0 ? "-" : "+", r = Math.abs(t), i = Math.floor(r / 60), s = Math.round(r % 60);
|
|
1103
1104
|
return e ? `${n + Se(i, 2)}:${Se(s, 2)}` : `GMT${n}${i}${s ? `:${Se(s, 2)}` : ""}`;
|
|
1104
1105
|
}
|
|
@@ -1128,7 +1129,7 @@ function rt(t, e, n) {
|
|
|
1128
1129
|
return r = s, i;
|
|
1129
1130
|
};
|
|
1130
1131
|
}
|
|
1131
|
-
const
|
|
1132
|
+
const Sr = {
|
|
1132
1133
|
week: 3,
|
|
1133
1134
|
separator: 0,
|
|
1134
1135
|
omitZeroMinute: 0,
|
|
@@ -1149,8 +1150,8 @@ class bo {
|
|
|
1149
1150
|
constructor(e) {
|
|
1150
1151
|
let n = {}, r = {}, i = 0;
|
|
1151
1152
|
for (let s in e)
|
|
1152
|
-
s in
|
|
1153
|
-
this.standardDateProps = n, this.extendedSettings = r, this.severity = i, this.buildFormattingFunc = A(
|
|
1153
|
+
s in Sr ? (r[s] = e[s], i = Math.max(Sr[s], i)) : (n[s] = e[s], s in dt && (i = Math.max(dt[s], i)));
|
|
1154
|
+
this.standardDateProps = n, this.extendedSettings = r, this.severity = i, this.buildFormattingFunc = A(Ar);
|
|
1154
1155
|
}
|
|
1155
1156
|
format(e, n) {
|
|
1156
1157
|
return this.buildFormattingFunc(this.standardDateProps, this.extendedSettings, n)(e);
|
|
@@ -1165,7 +1166,7 @@ class bo {
|
|
|
1165
1166
|
let d = this.format(e, r), c = this.format(n, r);
|
|
1166
1167
|
if (d === c)
|
|
1167
1168
|
return d;
|
|
1168
|
-
let h = wo(s, a), f =
|
|
1169
|
+
let h = wo(s, a), f = Ar(h, l, r), u = f(e), m = f(n), v = Ro(d, u, c, m), b = l.separator || i || r.defaultSeparator || "";
|
|
1169
1170
|
return v ? v.before + u + b + m + v.after : d + b + c;
|
|
1170
1171
|
}
|
|
1171
1172
|
getLargestUnit() {
|
|
@@ -1185,9 +1186,9 @@ class bo {
|
|
|
1185
1186
|
}
|
|
1186
1187
|
}
|
|
1187
1188
|
}
|
|
1188
|
-
function
|
|
1189
|
+
function Ar(t, e, n) {
|
|
1189
1190
|
let r = Object.keys(t).length;
|
|
1190
|
-
return r === 1 && t.timeZoneName === "short" ? (i) =>
|
|
1191
|
+
return r === 1 && t.timeZoneName === "short" ? (i) => Sn(i.timeZoneOffset) : r === 0 && e.week ? (i) => Do(n.computeWeekNumber(i.marker), n.weekText, n.weekTextLong, n.locale, e.week) : yo(t, e, n);
|
|
1191
1192
|
}
|
|
1192
1193
|
function yo(t, e, n) {
|
|
1193
1194
|
t = Object.assign({}, t), e = Object.assign({}, e), Eo(t, e), t.timeZone = "UTC";
|
|
@@ -1209,7 +1210,7 @@ function Eo(t, e) {
|
|
|
1209
1210
|
function So(t, e, n, r, i) {
|
|
1210
1211
|
return t = t.replace(mo, ""), n.timeZoneName === "short" && (t = Ao(t, i.timeZone === "UTC" || e.timeZoneOffset == null ? "UTC" : (
|
|
1211
1212
|
// important to normalize for IE, which does "GMT"
|
|
1212
|
-
|
|
1213
|
+
Sn(e.timeZoneOffset)
|
|
1213
1214
|
))), r.omitCommas && (t = t.replace(go, "").trim()), r.omitZeroMinute && (t = t.replace(":00", "")), r.meridiem === !1 ? t = t.replace(qe, "").trim() : r.meridiem === "narrow" ? t = t.replace(qe, (s, l) => l.toLocaleLowerCase()) : r.meridiem === "short" ? t = t.replace(qe, (s, l) => `${l.toLocaleLowerCase()}m`) : r.meridiem === "lowercase" && (t = t.replace(qe, (s) => s.toLocaleLowerCase())), t = t.replace(po, " "), t = t.trim(), t;
|
|
1214
1215
|
}
|
|
1215
1216
|
function Ao(t, e) {
|
|
@@ -1255,7 +1256,7 @@ function Ro(t, e, n, r) {
|
|
|
1255
1256
|
}
|
|
1256
1257
|
return null;
|
|
1257
1258
|
}
|
|
1258
|
-
function
|
|
1259
|
+
function Dr(t, e) {
|
|
1259
1260
|
let n = e.markerToArray(t.marker);
|
|
1260
1261
|
return {
|
|
1261
1262
|
marker: t.marker,
|
|
@@ -1271,7 +1272,7 @@ function Ar(t, e) {
|
|
|
1271
1272
|
};
|
|
1272
1273
|
}
|
|
1273
1274
|
function ut(t, e, n, r) {
|
|
1274
|
-
let i =
|
|
1275
|
+
let i = Dr(t, n.calendarSystem), s = e ? Dr(e, n.calendarSystem) : null;
|
|
1275
1276
|
return {
|
|
1276
1277
|
date: i,
|
|
1277
1278
|
start: i,
|
|
@@ -1303,10 +1304,10 @@ class To {
|
|
|
1303
1304
|
return this.func(ut(e, n, r, i));
|
|
1304
1305
|
}
|
|
1305
1306
|
}
|
|
1306
|
-
function
|
|
1307
|
+
function O(t) {
|
|
1307
1308
|
return typeof t == "object" && t ? new bo(t) : typeof t == "string" ? new _o(t) : typeof t == "function" ? new To(t) : null;
|
|
1308
1309
|
}
|
|
1309
|
-
const
|
|
1310
|
+
const Cr = {
|
|
1310
1311
|
navLinkDayClick: p,
|
|
1311
1312
|
navLinkWeekClick: p,
|
|
1312
1313
|
duration: _,
|
|
@@ -1320,7 +1321,7 @@ const Dr = {
|
|
|
1320
1321
|
scrollTimeReset: Boolean,
|
|
1321
1322
|
slotMinTime: _,
|
|
1322
1323
|
slotMaxTime: _,
|
|
1323
|
-
dayPopoverFormat:
|
|
1324
|
+
dayPopoverFormat: O,
|
|
1324
1325
|
slotDuration: _,
|
|
1325
1326
|
snapDuration: _,
|
|
1326
1327
|
headerToolbar: p,
|
|
@@ -1329,7 +1330,7 @@ const Dr = {
|
|
|
1329
1330
|
titleRangeSeparator: String,
|
|
1330
1331
|
forceEventDuration: Boolean,
|
|
1331
1332
|
dayHeaders: Boolean,
|
|
1332
|
-
dayHeaderFormat:
|
|
1333
|
+
dayHeaderFormat: O,
|
|
1333
1334
|
dayHeaderClassNames: p,
|
|
1334
1335
|
dayHeaderContent: p,
|
|
1335
1336
|
dayHeaderDidMount: p,
|
|
@@ -1380,7 +1381,7 @@ const Dr = {
|
|
|
1380
1381
|
height: p,
|
|
1381
1382
|
contentHeight: p,
|
|
1382
1383
|
direction: String,
|
|
1383
|
-
weekNumberFormat:
|
|
1384
|
+
weekNumberFormat: O,
|
|
1384
1385
|
eventResizableFromStart: Boolean,
|
|
1385
1386
|
displayEventTime: Boolean,
|
|
1386
1387
|
displayEventEnd: Boolean,
|
|
@@ -1436,7 +1437,7 @@ const Dr = {
|
|
|
1436
1437
|
allDayWillUnmount: p,
|
|
1437
1438
|
slotMinWidth: Number,
|
|
1438
1439
|
navLinks: Boolean,
|
|
1439
|
-
eventTimeFormat:
|
|
1440
|
+
eventTimeFormat: O,
|
|
1440
1441
|
rerenderDelay: Number,
|
|
1441
1442
|
moreLinkText: p,
|
|
1442
1443
|
moreLinkHint: p,
|
|
@@ -1473,7 +1474,7 @@ const Dr = {
|
|
|
1473
1474
|
moreLinkContent: p,
|
|
1474
1475
|
moreLinkDidMount: p,
|
|
1475
1476
|
moreLinkWillUnmount: p,
|
|
1476
|
-
monthStartFormat:
|
|
1477
|
+
monthStartFormat: O,
|
|
1477
1478
|
// for connectors
|
|
1478
1479
|
// (can't be part of plugin system b/c must be provided at runtime)
|
|
1479
1480
|
handleCustomRendering: p,
|
|
@@ -1531,7 +1532,7 @@ const Dr = {
|
|
|
1531
1532
|
eventMinWidth: 30,
|
|
1532
1533
|
eventShortHeight: 30,
|
|
1533
1534
|
monthStartFormat: { month: "long", day: "numeric" }
|
|
1534
|
-
},
|
|
1535
|
+
}, wr = {
|
|
1535
1536
|
datesSet: p,
|
|
1536
1537
|
eventsSet: p,
|
|
1537
1538
|
eventAdd: p,
|
|
@@ -1552,7 +1553,7 @@ const Dr = {
|
|
|
1552
1553
|
_noEventResize: p,
|
|
1553
1554
|
_resize: p,
|
|
1554
1555
|
_scrollRequest: p
|
|
1555
|
-
},
|
|
1556
|
+
}, Rr = {
|
|
1556
1557
|
buttonText: p,
|
|
1557
1558
|
buttonHints: p,
|
|
1558
1559
|
views: p,
|
|
@@ -1590,10 +1591,10 @@ const xo = {
|
|
|
1590
1591
|
didMount: p,
|
|
1591
1592
|
willUnmount: p
|
|
1592
1593
|
};
|
|
1593
|
-
function
|
|
1594
|
-
return
|
|
1594
|
+
function Ut(t) {
|
|
1595
|
+
return Dn(t, oe);
|
|
1595
1596
|
}
|
|
1596
|
-
function
|
|
1597
|
+
function An(t, e) {
|
|
1597
1598
|
let n = {}, r = {};
|
|
1598
1599
|
for (let i in e)
|
|
1599
1600
|
i in t && (n[i] = e[i](t[i]));
|
|
@@ -1605,7 +1606,7 @@ function p(t) {
|
|
|
1605
1606
|
return t;
|
|
1606
1607
|
}
|
|
1607
1608
|
const { hasOwnProperty: ft } = Object.prototype;
|
|
1608
|
-
function
|
|
1609
|
+
function Dn(t, e) {
|
|
1609
1610
|
let n = {};
|
|
1610
1611
|
if (e) {
|
|
1611
1612
|
for (let r in e)
|
|
@@ -1620,7 +1621,7 @@ function An(t, e) {
|
|
|
1620
1621
|
break;
|
|
1621
1622
|
}
|
|
1622
1623
|
}
|
|
1623
|
-
i.length && (n[r] =
|
|
1624
|
+
i.length && (n[r] = Dn(i));
|
|
1624
1625
|
}
|
|
1625
1626
|
}
|
|
1626
1627
|
for (let r = t.length - 1; r >= 0; r -= 1) {
|
|
@@ -1648,7 +1649,7 @@ function Ci(t) {
|
|
|
1648
1649
|
e[n] = !0;
|
|
1649
1650
|
return e;
|
|
1650
1651
|
}
|
|
1651
|
-
function
|
|
1652
|
+
function Cn(t) {
|
|
1652
1653
|
let e = [];
|
|
1653
1654
|
for (let n in t)
|
|
1654
1655
|
e.push(t[n]);
|
|
@@ -1667,13 +1668,13 @@ function V(t, e) {
|
|
|
1667
1668
|
}
|
|
1668
1669
|
const ko = /^on[A-Z]/;
|
|
1669
1670
|
function Mo(t, e) {
|
|
1670
|
-
const n =
|
|
1671
|
+
const n = tn(t, e);
|
|
1671
1672
|
for (let r of n)
|
|
1672
1673
|
if (!ko.test(r))
|
|
1673
1674
|
return !1;
|
|
1674
1675
|
return !0;
|
|
1675
1676
|
}
|
|
1676
|
-
function
|
|
1677
|
+
function tn(t, e) {
|
|
1677
1678
|
let n = [];
|
|
1678
1679
|
for (let r in t)
|
|
1679
1680
|
ft.call(t, r) && (r in e || n.push(r));
|
|
@@ -1681,7 +1682,7 @@ function en(t, e) {
|
|
|
1681
1682
|
ft.call(e, r) && t[r] !== e[r] && n.push(r);
|
|
1682
1683
|
return n;
|
|
1683
1684
|
}
|
|
1684
|
-
function
|
|
1685
|
+
function jt(t, e, n = {}) {
|
|
1685
1686
|
if (t === e)
|
|
1686
1687
|
return !0;
|
|
1687
1688
|
for (let r in e)
|
|
@@ -1695,7 +1696,7 @@ function Ut(t, e, n = {}) {
|
|
|
1695
1696
|
function Io(t, e, n) {
|
|
1696
1697
|
return t === e || n === !0 ? !0 : n ? n(t, e) : !1;
|
|
1697
1698
|
}
|
|
1698
|
-
function
|
|
1699
|
+
function No(t, e = 0, n, r = 1) {
|
|
1699
1700
|
let i = [];
|
|
1700
1701
|
n == null && (n = Object.keys(t).length);
|
|
1701
1702
|
for (let s = e; s < n; s += r) {
|
|
@@ -1705,7 +1706,7 @@ function Oo(t, e = 0, n, r = 1) {
|
|
|
1705
1706
|
return i;
|
|
1706
1707
|
}
|
|
1707
1708
|
let wi = {};
|
|
1708
|
-
function
|
|
1709
|
+
function Oo(t, e) {
|
|
1709
1710
|
wi[t] = e;
|
|
1710
1711
|
}
|
|
1711
1712
|
function Po(t) {
|
|
@@ -1728,7 +1729,7 @@ class Ho {
|
|
|
1728
1729
|
return ee(e);
|
|
1729
1730
|
}
|
|
1730
1731
|
}
|
|
1731
|
-
|
|
1732
|
+
Oo("gregory", Ho);
|
|
1732
1733
|
const Bo = /^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;
|
|
1733
1734
|
function Lo(t) {
|
|
1734
1735
|
let e = Bo.exec(t);
|
|
@@ -1756,7 +1757,7 @@ class Uo {
|
|
|
1756
1757
|
return n === null ? null : n.marker;
|
|
1757
1758
|
}
|
|
1758
1759
|
createNowMarker() {
|
|
1759
|
-
return this.canComputeOffset ? this.timestampToMarker((/* @__PURE__ */ new Date()).valueOf()) : L(
|
|
1760
|
+
return this.canComputeOffset ? this.timestampToMarker((/* @__PURE__ */ new Date()).valueOf()) : L(yr(/* @__PURE__ */ new Date()));
|
|
1760
1761
|
}
|
|
1761
1762
|
createMarkerMeta(e) {
|
|
1762
1763
|
if (typeof e == "string")
|
|
@@ -1869,14 +1870,14 @@ class Uo {
|
|
|
1869
1870
|
}
|
|
1870
1871
|
// TimeZone
|
|
1871
1872
|
timestampToMarker(e) {
|
|
1872
|
-
return this.timeZone === "local" ? L(
|
|
1873
|
+
return this.timeZone === "local" ? L(yr(new Date(e))) : this.timeZone === "UTC" || !this.namedTimeZoneImpl ? new Date(e) : L(this.namedTimeZoneImpl.timestampToArray(e));
|
|
1873
1874
|
}
|
|
1874
1875
|
offsetForMarker(e) {
|
|
1875
|
-
return this.timeZone === "local" ? -
|
|
1876
|
+
return this.timeZone === "local" ? -Er(ee(e)).getTimezoneOffset() : this.timeZone === "UTC" ? 0 : this.namedTimeZoneImpl ? this.namedTimeZoneImpl.offsetForArray(ee(e)) : null;
|
|
1876
1877
|
}
|
|
1877
1878
|
// Conversion
|
|
1878
1879
|
toDate(e, n) {
|
|
1879
|
-
return this.timeZone === "local" ?
|
|
1880
|
+
return this.timeZone === "local" ? Er(ee(e)) : this.timeZone === "UTC" ? new Date(e.valueOf()) : this.namedTimeZoneImpl ? new Date(e.valueOf() - this.namedTimeZoneImpl.offsetForArray(ee(e)) * 1e3 * 60) : new Date(e.valueOf() - (n || 0));
|
|
1880
1881
|
}
|
|
1881
1882
|
}
|
|
1882
1883
|
class Ue {
|
|
@@ -1913,7 +1914,7 @@ Ue.prototype.classes = {};
|
|
|
1913
1914
|
Ue.prototype.iconClasses = {};
|
|
1914
1915
|
Ue.prototype.baseIconClass = "";
|
|
1915
1916
|
Ue.prototype.iconOverridePrefix = "";
|
|
1916
|
-
function
|
|
1917
|
+
function ht(t) {
|
|
1917
1918
|
t();
|
|
1918
1919
|
let e = S.debounceRendering, n = [];
|
|
1919
1920
|
function r(i) {
|
|
@@ -2003,11 +2004,11 @@ function Fo(t, e, n, r, i, s, l, o, a, d, c, h, f) {
|
|
|
2003
2004
|
}
|
|
2004
2005
|
class ve extends U {
|
|
2005
2006
|
shouldComponentUpdate(e, n) {
|
|
2006
|
-
return this.debug && console.log(
|
|
2007
|
+
return this.debug && console.log(tn(e, this.props), tn(n, this.state)), !jt(this.props, e, this.propEquality) || !jt(this.state, n, this.stateEquality);
|
|
2007
2008
|
}
|
|
2008
2009
|
// HACK for freakin' React StrictMode
|
|
2009
2010
|
safeSetState(e) {
|
|
2010
|
-
|
|
2011
|
+
jt(this.state, Object.assign(Object.assign({}, this.state), e), this.stateEquality) || this.setState(e);
|
|
2011
2012
|
}
|
|
2012
2013
|
}
|
|
2013
2014
|
ve.addPropsEquality = Wo;
|
|
@@ -2029,11 +2030,11 @@ function Vo(t) {
|
|
|
2029
2030
|
function Z(t, e) {
|
|
2030
2031
|
typeof t == "function" ? t(e) : t && (t.current = e);
|
|
2031
2032
|
}
|
|
2032
|
-
class
|
|
2033
|
+
class wn extends T {
|
|
2033
2034
|
constructor() {
|
|
2034
2035
|
super(...arguments), this.id = pe(), this.queuedDomNodes = [], this.currentDomNodes = [], this.handleEl = (e) => {
|
|
2035
2036
|
const { options: n } = this.context, { generatorName: r } = this.props;
|
|
2036
|
-
(!n.customRenderingReplaces || !
|
|
2037
|
+
(!n.customRenderingReplaces || !nn(r, n)) && this.updateElRef(e);
|
|
2037
2038
|
}, this.updateElRef = (e) => {
|
|
2038
2039
|
this.props.elRef && Z(this.props.elRef, e);
|
|
2039
2040
|
};
|
|
@@ -2050,7 +2051,7 @@ class Cn extends T {
|
|
|
2050
2051
|
u && "html" in f ? o.dangerouslySetInnerHTML = { __html: f.html } : u && "domNodes" in f ? c = Array.prototype.slice.call(f.domNodes) : (u ? Xr(f) : typeof f != "function") ? d = f : h = f;
|
|
2051
2052
|
}
|
|
2052
2053
|
} else
|
|
2053
|
-
a = !
|
|
2054
|
+
a = !nn(e.generatorName, r);
|
|
2054
2055
|
return a && s && (d = s(l)), this.queuedDomNodes = c, this.currentGeneratorMeta = h, g(e.elTag, o, d);
|
|
2055
2056
|
}
|
|
2056
2057
|
componentDidMount() {
|
|
@@ -2080,20 +2081,20 @@ class Cn extends T {
|
|
|
2080
2081
|
applyQueueudDomNodes() {
|
|
2081
2082
|
const { queuedDomNodes: e, currentDomNodes: n } = this, r = this.base;
|
|
2082
2083
|
if (!re(e, n)) {
|
|
2083
|
-
n.forEach(
|
|
2084
|
+
n.forEach(mn);
|
|
2084
2085
|
for (let i of e)
|
|
2085
2086
|
r.appendChild(i);
|
|
2086
2087
|
this.currentDomNodes = e;
|
|
2087
2088
|
}
|
|
2088
2089
|
}
|
|
2089
2090
|
}
|
|
2090
|
-
|
|
2091
|
+
wn.addPropsEquality({
|
|
2091
2092
|
elClasses: re,
|
|
2092
2093
|
elStyle: V,
|
|
2093
2094
|
elAttrs: Mo,
|
|
2094
2095
|
renderProps: V
|
|
2095
2096
|
});
|
|
2096
|
-
function
|
|
2097
|
+
function nn(t, e) {
|
|
2097
2098
|
var n;
|
|
2098
2099
|
return !!(e.handleCustomRendering && t && (!((n = e.customRenderingMetaMap) === null || n === void 0) && n[t]));
|
|
2099
2100
|
}
|
|
@@ -2117,7 +2118,7 @@ class z extends U {
|
|
|
2117
2118
|
const r = _i(e, n, this.handleEl), i = e.children(this.InnerContent, e.renderProps, r);
|
|
2118
2119
|
return e.elTag ? g(e.elTag, r, i) : i;
|
|
2119
2120
|
} else
|
|
2120
|
-
return g(
|
|
2121
|
+
return g(wn, Object.assign(Object.assign({}, e), { elRef: this.handleEl, elTag: e.elTag || "div", elClasses: (e.elClasses || []).concat(n), renderId: this.context }));
|
|
2121
2122
|
}
|
|
2122
2123
|
componentDidMount() {
|
|
2123
2124
|
var e, n;
|
|
@@ -2131,13 +2132,13 @@ class z extends U {
|
|
|
2131
2132
|
z.contextType = Ti;
|
|
2132
2133
|
function qo(t, e) {
|
|
2133
2134
|
const n = t.props;
|
|
2134
|
-
return g(
|
|
2135
|
+
return g(wn, Object.assign({ renderProps: n.renderProps, generatorName: n.generatorName, customGenerator: n.customGenerator, defaultGenerator: n.defaultGenerator, renderId: t.context }, e));
|
|
2135
2136
|
}
|
|
2136
2137
|
function Qo(t, e) {
|
|
2137
2138
|
const n = typeof t == "function" ? t(e) : t || [];
|
|
2138
2139
|
return typeof n == "string" ? [n] : n;
|
|
2139
2140
|
}
|
|
2140
|
-
class
|
|
2141
|
+
class gt extends T {
|
|
2141
2142
|
render() {
|
|
2142
2143
|
let { props: e, context: n } = this, { options: r } = n, i = { view: n.viewApi };
|
|
2143
2144
|
return g(z, Object.assign({}, e, { elTag: e.elTag || "div", elClasses: [
|
|
@@ -2172,10 +2173,10 @@ function he(t, e) {
|
|
|
2172
2173
|
function $o(t, e) {
|
|
2173
2174
|
return (t.start === null ? null : t.start.valueOf()) === (e.start === null ? null : e.start.valueOf()) && (t.end === null ? null : t.end.valueOf()) === (e.end === null ? null : e.end.valueOf());
|
|
2174
2175
|
}
|
|
2175
|
-
function
|
|
2176
|
+
function Rn(t, e) {
|
|
2176
2177
|
return (t.end === null || e.start === null || t.end > e.start) && (t.start === null || e.end === null || t.start < e.end);
|
|
2177
2178
|
}
|
|
2178
|
-
function
|
|
2179
|
+
function wt(t, e) {
|
|
2179
2180
|
return (t.start === null || e.start !== null && e.start >= t.start) && (t.end === null || e.end !== null && e.end <= t.end);
|
|
2180
2181
|
}
|
|
2181
2182
|
function Q(t, e) {
|
|
@@ -2244,7 +2245,7 @@ class Ii {
|
|
|
2244
2245
|
// from its previous value. decremented = -1, incremented = 1 (default).
|
|
2245
2246
|
build(e, n, r = !0) {
|
|
2246
2247
|
let { props: i } = this, s, l, o, a, d, c;
|
|
2247
|
-
return s = this.buildValidRange(), s = this.trimHiddenDays(s), r && (e = Xo(e, s)), l = this.buildCurrentRangeInfo(e, n), o = /^(year|month|week|day)$/.test(l.unit), a = this.buildRenderRange(this.trimHiddenDays(l.range), l.unit, o), a = this.trimHiddenDays(a), d = a, i.showNonCurrentDates || (d = he(d, l.range)), d = this.adjustActiveRange(d), d = he(d, s), c =
|
|
2248
|
+
return s = this.buildValidRange(), s = this.trimHiddenDays(s), r && (e = Xo(e, s)), l = this.buildCurrentRangeInfo(e, n), o = /^(year|month|week|day)$/.test(l.unit), a = this.buildRenderRange(this.trimHiddenDays(l.range), l.unit, o), a = this.trimHiddenDays(a), d = a, i.showNonCurrentDates || (d = he(d, l.range)), d = this.adjustActiveRange(d), d = he(d, s), c = Rn(l.range, s), Q(a, e) || (e = a.start), {
|
|
2248
2249
|
currentDate: e,
|
|
2249
2250
|
// constraint for where prev/next operations can go and where events can be dragged/resized to.
|
|
2250
2251
|
// an object with optional start and end properties.
|
|
@@ -2284,7 +2285,7 @@ class Ii {
|
|
|
2284
2285
|
// Guaranteed to have `range` and `unit` properties. `duration` is optional.
|
|
2285
2286
|
buildCurrentRangeInfo(e, n) {
|
|
2286
2287
|
let { props: r } = this, i = null, s = null, l = null, o;
|
|
2287
|
-
return r.duration ? (i = r.duration, s = r.durationUnit, l = this.buildRangeFromDuration(e, n, i, s)) : (o = this.props.dayCount) ? (s = "day", l = this.buildRangeFromDayCount(e, n, o)) : (l = this.buildCustomVisibleRange(e)) ? s = r.dateEnv.greatestWholeUnit(l.start, l.end).unit : (i = this.getFallbackDuration(), s =
|
|
2288
|
+
return r.duration ? (i = r.duration, s = r.durationUnit, l = this.buildRangeFromDuration(e, n, i, s)) : (o = this.props.dayCount) ? (s = "day", l = this.buildRangeFromDayCount(e, n, o)) : (l = this.buildCustomVisibleRange(e)) ? s = r.dateEnv.greatestWholeUnit(l.start, l.end).unit : (i = this.getFallbackDuration(), s = en(i).unit, l = this.buildRangeFromDuration(e, n, i, s)), { duration: i, unit: s, range: l };
|
|
2288
2289
|
}
|
|
2289
2290
|
getFallbackDuration() {
|
|
2290
2291
|
return _({ day: 1 });
|
|
@@ -2301,7 +2302,7 @@ class Ii {
|
|
|
2301
2302
|
let { dateEnv: s, dateAlignment: l } = this.props, o, a, d;
|
|
2302
2303
|
if (!l) {
|
|
2303
2304
|
let { dateIncrement: h } = this.props;
|
|
2304
|
-
h && F(h) < F(r) ? l =
|
|
2305
|
+
h && F(h) < F(r) ? l = en(h).unit : l = i;
|
|
2305
2306
|
}
|
|
2306
2307
|
Ae(r) <= 1 && this.isHiddenDay(o) && (o = this.skipHiddenDays(o, n), o = k(o));
|
|
2307
2308
|
function c() {
|
|
@@ -2376,7 +2377,7 @@ class Ii {
|
|
|
2376
2377
|
return e;
|
|
2377
2378
|
}
|
|
2378
2379
|
}
|
|
2379
|
-
function
|
|
2380
|
+
function _n(t, e, n, r) {
|
|
2380
2381
|
return {
|
|
2381
2382
|
instanceId: pe(),
|
|
2382
2383
|
defId: t,
|
|
@@ -2410,7 +2411,7 @@ function ge(t, e, n) {
|
|
|
2410
2411
|
c || (c = d.allDay ? s.defaultAllDayEventDuration : s.defaultTimedEventDuration);
|
|
2411
2412
|
let h = ta(d, c, e, r, i.recurringTypes);
|
|
2412
2413
|
for (let f of h) {
|
|
2413
|
-
let u =
|
|
2414
|
+
let u = _n(a, {
|
|
2414
2415
|
start: f,
|
|
2415
2416
|
end: r.add(f, c)
|
|
2416
2417
|
});
|
|
@@ -2433,16 +2434,16 @@ const it = {
|
|
|
2433
2434
|
title: String,
|
|
2434
2435
|
url: String,
|
|
2435
2436
|
interactive: Boolean
|
|
2436
|
-
},
|
|
2437
|
+
}, Ni = {
|
|
2437
2438
|
start: p,
|
|
2438
2439
|
end: p,
|
|
2439
2440
|
date: p,
|
|
2440
2441
|
allDay: Boolean
|
|
2441
|
-
}, na = Object.assign(Object.assign(Object.assign({}, it),
|
|
2442
|
-
function
|
|
2442
|
+
}, na = Object.assign(Object.assign(Object.assign({}, it), Ni), { extendedProps: p });
|
|
2443
|
+
function Oi(t, e, n, r, i = Tn(n), s, l) {
|
|
2443
2444
|
let { refined: o, extra: a } = Pi(t, n, i), d = ia(e, n), c = ea(o, d, n.dateEnv, n.pluginHooks.recurringTypes);
|
|
2444
2445
|
if (c) {
|
|
2445
|
-
let f =
|
|
2446
|
+
let f = rn(o, a, e ? e.sourceId : "", c.allDay, !!c.duration, n, s);
|
|
2446
2447
|
return f.recurringDef = {
|
|
2447
2448
|
typeId: c.typeId,
|
|
2448
2449
|
typeData: c.typeData,
|
|
@@ -2451,18 +2452,18 @@ function Ni(t, e, n, r, i = _n(n), s, l) {
|
|
|
2451
2452
|
}
|
|
2452
2453
|
let h = ra(o, d, n, r);
|
|
2453
2454
|
if (h) {
|
|
2454
|
-
let f =
|
|
2455
|
+
let f = rn(o, a, e ? e.sourceId : "", h.allDay, h.hasEnd, n, s), u = _n(f.defId, h.range, h.forcedStartTzo, h.forcedEndTzo);
|
|
2455
2456
|
return l && f.publicId && l[f.publicId] && (u.instanceId = l[f.publicId]), { def: f, instance: u };
|
|
2456
2457
|
}
|
|
2457
2458
|
return null;
|
|
2458
2459
|
}
|
|
2459
|
-
function Pi(t, e, n =
|
|
2460
|
-
return
|
|
2460
|
+
function Pi(t, e, n = Tn(e)) {
|
|
2461
|
+
return An(t, n);
|
|
2461
2462
|
}
|
|
2462
|
-
function
|
|
2463
|
-
return Object.assign(Object.assign(Object.assign({},
|
|
2463
|
+
function Tn(t) {
|
|
2464
|
+
return Object.assign(Object.assign(Object.assign({}, pt), na), t.pluginHooks.eventRefiners);
|
|
2464
2465
|
}
|
|
2465
|
-
function
|
|
2466
|
+
function rn(t, e, n, r, i, s, l) {
|
|
2466
2467
|
let o = {
|
|
2467
2468
|
title: t.title || "",
|
|
2468
2469
|
groupId: t.groupId || "",
|
|
@@ -2474,7 +2475,7 @@ function nn(t, e, n, r, i, s, l) {
|
|
|
2474
2475
|
allDay: r,
|
|
2475
2476
|
hasEnd: i,
|
|
2476
2477
|
interactive: t.interactive,
|
|
2477
|
-
ui:
|
|
2478
|
+
ui: mt(t, s),
|
|
2478
2479
|
extendedProps: Object.assign(Object.assign({}, t.extendedProps || {}), e)
|
|
2479
2480
|
};
|
|
2480
2481
|
for (let a of s.pluginHooks.eventDefMemberAdders)
|
|
@@ -2500,20 +2501,20 @@ function ia(t, e) {
|
|
|
2500
2501
|
return t && (n = t.defaultAllDay), n == null && (n = e.options.defaultAllDay), n;
|
|
2501
2502
|
}
|
|
2502
2503
|
function Le(t, e, n, r, i, s) {
|
|
2503
|
-
let l = j(), o =
|
|
2504
|
+
let l = j(), o = Tn(n);
|
|
2504
2505
|
for (let a of t) {
|
|
2505
|
-
let d =
|
|
2506
|
-
d &&
|
|
2506
|
+
let d = Oi(a, e, n, r, o, i, s);
|
|
2507
|
+
d && sn(d, l);
|
|
2507
2508
|
}
|
|
2508
2509
|
return l;
|
|
2509
2510
|
}
|
|
2510
|
-
function
|
|
2511
|
+
function sn(t, e = j()) {
|
|
2511
2512
|
return e.defs[t.def.defId] = t.def, t.instance && (e.instances[t.instance.instanceId] = t.instance), e;
|
|
2512
2513
|
}
|
|
2513
|
-
function
|
|
2514
|
+
function xn(t, e) {
|
|
2514
2515
|
let n = t.instances[e];
|
|
2515
2516
|
if (n) {
|
|
2516
|
-
let r = t.defs[n.defId], i =
|
|
2517
|
+
let r = t.defs[n.defId], i = Rt(t, (s) => sa(r, s));
|
|
2517
2518
|
return i.defs[r.defId] = r, i.instances[n.instanceId] = n, i;
|
|
2518
2519
|
}
|
|
2519
2520
|
return j();
|
|
@@ -2524,13 +2525,13 @@ function sa(t, e) {
|
|
|
2524
2525
|
function j() {
|
|
2525
2526
|
return { defs: {}, instances: {} };
|
|
2526
2527
|
}
|
|
2527
|
-
function
|
|
2528
|
+
function kn(t, e) {
|
|
2528
2529
|
return {
|
|
2529
2530
|
defs: Object.assign(Object.assign({}, t.defs), e.defs),
|
|
2530
2531
|
instances: Object.assign(Object.assign({}, t.instances), e.instances)
|
|
2531
2532
|
};
|
|
2532
2533
|
}
|
|
2533
|
-
function
|
|
2534
|
+
function Rt(t, e) {
|
|
2534
2535
|
let n = fe(t.defs, e), r = fe(t.instances, (i) => n[i.defId]);
|
|
2535
2536
|
return { defs: n, instances: r };
|
|
2536
2537
|
}
|
|
@@ -2552,7 +2553,7 @@ function oa(t, e) {
|
|
|
2552
2553
|
function Tr(t) {
|
|
2553
2554
|
return Array.isArray(t) ? t : typeof t == "string" ? t.split(/\s+/) : [];
|
|
2554
2555
|
}
|
|
2555
|
-
const
|
|
2556
|
+
const pt = {
|
|
2556
2557
|
display: String,
|
|
2557
2558
|
editable: Boolean,
|
|
2558
2559
|
startEditable: Boolean,
|
|
@@ -2578,7 +2579,7 @@ const gt = {
|
|
|
2578
2579
|
textColor: "",
|
|
2579
2580
|
classNames: []
|
|
2580
2581
|
};
|
|
2581
|
-
function
|
|
2582
|
+
function mt(t, e) {
|
|
2582
2583
|
let n = oa(t.constraint, e);
|
|
2583
2584
|
return {
|
|
2584
2585
|
display: t.display || null,
|
|
@@ -2625,7 +2626,7 @@ const da = {
|
|
|
2625
2626
|
function Bi(t, e, n = Li(e)) {
|
|
2626
2627
|
let r;
|
|
2627
2628
|
if (typeof t == "string" ? r = { url: t } : typeof t == "function" || Array.isArray(t) ? r = { events: t } : typeof t == "object" && t && (r = t), r) {
|
|
2628
|
-
let { refined: i, extra: s } =
|
|
2629
|
+
let { refined: i, extra: s } = An(r, n), l = ua(i, e);
|
|
2629
2630
|
if (l)
|
|
2630
2631
|
return {
|
|
2631
2632
|
_raw: t,
|
|
@@ -2640,14 +2641,14 @@ function Bi(t, e, n = Li(e)) {
|
|
|
2640
2641
|
sourceId: pe(),
|
|
2641
2642
|
sourceDefId: l.sourceDefId,
|
|
2642
2643
|
meta: l.meta,
|
|
2643
|
-
ui:
|
|
2644
|
+
ui: mt(i, e),
|
|
2644
2645
|
extendedProps: s
|
|
2645
2646
|
};
|
|
2646
2647
|
}
|
|
2647
2648
|
return null;
|
|
2648
2649
|
}
|
|
2649
2650
|
function Li(t) {
|
|
2650
|
-
return Object.assign(Object.assign(Object.assign({},
|
|
2651
|
+
return Object.assign(Object.assign(Object.assign({}, pt), da), t.pluginHooks.eventSourceRefiners);
|
|
2651
2652
|
}
|
|
2652
2653
|
function ua(t, e) {
|
|
2653
2654
|
let n = e.pluginHooks.eventSourceDefs;
|
|
@@ -2675,7 +2676,7 @@ function fa(t, e, n, r, i) {
|
|
|
2675
2676
|
case "RESET_EVENTS":
|
|
2676
2677
|
return e.eventStore;
|
|
2677
2678
|
case "MERGE_EVENTS":
|
|
2678
|
-
return
|
|
2679
|
+
return kn(t, e.eventStore);
|
|
2679
2680
|
case "PREV":
|
|
2680
2681
|
case "NEXT":
|
|
2681
2682
|
case "CHANGE_DATE":
|
|
@@ -2686,7 +2687,7 @@ function fa(t, e, n, r, i) {
|
|
|
2686
2687
|
case "REMOVE_EVENT_SOURCE":
|
|
2687
2688
|
return ji(t, e.sourceId);
|
|
2688
2689
|
case "REMOVE_ALL_EVENT_SOURCES":
|
|
2689
|
-
return
|
|
2690
|
+
return Rt(t, (s) => !s.sourceId);
|
|
2690
2691
|
case "REMOVE_ALL_EVENTS":
|
|
2691
2692
|
return j();
|
|
2692
2693
|
default:
|
|
@@ -2697,7 +2698,7 @@ function ha(t, e, n, r, i, s) {
|
|
|
2697
2698
|
if (e && // not already removed
|
|
2698
2699
|
n === e.latestFetchId) {
|
|
2699
2700
|
let l = Le(Ui(i, e, s), e, s);
|
|
2700
|
-
return r && (l = ge(l, r, s)),
|
|
2701
|
+
return r && (l = ge(l, r, s)), kn(ji(t, e.sourceId), l);
|
|
2701
2702
|
}
|
|
2702
2703
|
return t;
|
|
2703
2704
|
}
|
|
@@ -2724,7 +2725,7 @@ function xr(t, e) {
|
|
|
2724
2725
|
return n;
|
|
2725
2726
|
}
|
|
2726
2727
|
function pa(t, e, n, r) {
|
|
2727
|
-
return n && (e = ge(e, n, r)),
|
|
2728
|
+
return n && (e = ge(e, n, r)), kn(t, e);
|
|
2728
2729
|
}
|
|
2729
2730
|
function kr(t, e, n) {
|
|
2730
2731
|
let { defs: r } = t, i = Y(t.instances, (s) => r[s.defId].allDay ? s : Object.assign(Object.assign({}, s), { range: {
|
|
@@ -2734,7 +2735,7 @@ function kr(t, e, n) {
|
|
|
2734
2735
|
return { defs: r, instances: i };
|
|
2735
2736
|
}
|
|
2736
2737
|
function ji(t, e) {
|
|
2737
|
-
return
|
|
2738
|
+
return Rt(t, (n) => n.sourceId !== e);
|
|
2738
2739
|
}
|
|
2739
2740
|
function ma(t, e) {
|
|
2740
2741
|
return {
|
|
@@ -2754,7 +2755,7 @@ function va(t) {
|
|
|
2754
2755
|
}
|
|
2755
2756
|
return { defIdMap: r, instanceIdMap: i };
|
|
2756
2757
|
}
|
|
2757
|
-
class
|
|
2758
|
+
class _t {
|
|
2758
2759
|
constructor() {
|
|
2759
2760
|
this.handlers = {}, this.thisContext = null;
|
|
2760
2761
|
}
|
|
@@ -2802,7 +2803,7 @@ function Aa(t) {
|
|
|
2802
2803
|
return t === !0 ? e = [{}] : Array.isArray(t) ? e = t.filter((n) => n.daysOfWeek) : typeof t == "object" && t ? e = [t] : e = [], e = e.map((n) => Object.assign(Object.assign({}, Ea), n)), e;
|
|
2803
2804
|
}
|
|
2804
2805
|
function zi(t, e, n) {
|
|
2805
|
-
n.emitter.trigger("select", Object.assign(Object.assign({},
|
|
2806
|
+
n.emitter.trigger("select", Object.assign(Object.assign({}, Mn(t, n)), { jsEvent: e ? e.origEvent : null, view: n.viewApi || n.calendarApi.view }));
|
|
2806
2807
|
}
|
|
2807
2808
|
function Da(t, e) {
|
|
2808
2809
|
e.emitter.trigger("unselect", {
|
|
@@ -2810,7 +2811,7 @@ function Da(t, e) {
|
|
|
2810
2811
|
view: e.viewApi || e.calendarApi.view
|
|
2811
2812
|
});
|
|
2812
2813
|
}
|
|
2813
|
-
function
|
|
2814
|
+
function Mn(t, e) {
|
|
2814
2815
|
let n = {};
|
|
2815
2816
|
for (let r of e.pluginHooks.dateSpanTransforms)
|
|
2816
2817
|
Object.assign(n, r(t, e));
|
|
@@ -2820,8 +2821,8 @@ function Mr(t, e, n) {
|
|
|
2820
2821
|
let { dateEnv: r, options: i } = n, s = e;
|
|
2821
2822
|
return t ? (s = k(s), s = r.add(s, i.defaultAllDayEventDuration)) : s = r.add(s, i.defaultTimedEventDuration), s;
|
|
2822
2823
|
}
|
|
2823
|
-
function
|
|
2824
|
-
let i =
|
|
2824
|
+
function In(t, e, n, r) {
|
|
2825
|
+
let i = vt(t.defs, e), s = j();
|
|
2825
2826
|
for (let l in t.defs) {
|
|
2826
2827
|
let o = t.defs[l];
|
|
2827
2828
|
s.defs[l] = Ca(o, i[l], n, r);
|
|
@@ -2887,7 +2888,7 @@ class ye {
|
|
|
2887
2888
|
return this.internalEventSource.meta.format;
|
|
2888
2889
|
}
|
|
2889
2890
|
}
|
|
2890
|
-
class
|
|
2891
|
+
class N {
|
|
2891
2892
|
// instance will be null if expressing a recurring event that has no current instances,
|
|
2892
2893
|
// OR if trying to validate an incoming external event that has no dates assigned
|
|
2893
2894
|
constructor(e, n, r) {
|
|
@@ -2897,7 +2898,7 @@ class O {
|
|
|
2897
2898
|
TODO: make event struct more responsible for this
|
|
2898
2899
|
*/
|
|
2899
2900
|
setProp(e, n) {
|
|
2900
|
-
if (e in
|
|
2901
|
+
if (e in Ni)
|
|
2901
2902
|
console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead.");
|
|
2902
2903
|
else if (e === "id")
|
|
2903
2904
|
n = it[e](n), this.mutate({
|
|
@@ -2908,8 +2909,8 @@ class O {
|
|
|
2908
2909
|
n = it[e](n), this.mutate({
|
|
2909
2910
|
standardProps: { [e]: n }
|
|
2910
2911
|
});
|
|
2911
|
-
else if (e in
|
|
2912
|
-
let r =
|
|
2912
|
+
else if (e in pt) {
|
|
2913
|
+
let r = pt[e](n);
|
|
2913
2914
|
e === "color" ? r = { backgroundColor: n, borderColor: n } : e === "editable" ? r = { startEditable: n, durationEditable: n } : r = { [e]: n }, this.mutate({
|
|
2914
2915
|
standardProps: { ui: r }
|
|
2915
2916
|
});
|
|
@@ -2967,7 +2968,7 @@ class O {
|
|
|
2967
2968
|
i == null && (i = this._context.options.allDayMaintainDuration), this._def.allDay !== e && (r.hasEnd = i), this.mutate({ standardProps: r });
|
|
2968
2969
|
}
|
|
2969
2970
|
formatRange(e) {
|
|
2970
|
-
let { dateEnv: n } = this._context, r = this._instance, i =
|
|
2971
|
+
let { dateEnv: n } = this._context, r = this._instance, i = O(e);
|
|
2971
2972
|
return this._def.hasEnd ? n.formatRange(r.range.start, r.range.end, i, {
|
|
2972
2973
|
forcedStartTzo: r.forcedStartTzo,
|
|
2973
2974
|
forcedEndTzo: r.forcedEndTzo
|
|
@@ -2978,8 +2979,8 @@ class O {
|
|
|
2978
2979
|
mutate(e) {
|
|
2979
2980
|
let n = this._instance;
|
|
2980
2981
|
if (n) {
|
|
2981
|
-
let r = this._def, i = this._context, { eventStore: s } = i.getCurrentData(), l =
|
|
2982
|
-
l =
|
|
2982
|
+
let r = this._def, i = this._context, { eventStore: s } = i.getCurrentData(), l = xn(s, n.instanceId);
|
|
2983
|
+
l = In(l, {
|
|
2983
2984
|
"": {
|
|
2984
2985
|
display: "",
|
|
2985
2986
|
startEditable: !0,
|
|
@@ -2993,7 +2994,7 @@ class O {
|
|
|
2993
2994
|
classNames: []
|
|
2994
2995
|
}
|
|
2995
2996
|
}, e, i);
|
|
2996
|
-
let a = new
|
|
2997
|
+
let a = new N(i, r, n);
|
|
2997
2998
|
this._def = l.defs[r.defId], this._instance = l.instances[n.instanceId], i.dispatch({
|
|
2998
2999
|
type: "MERGE_EVENTS",
|
|
2999
3000
|
eventStore: l
|
|
@@ -3124,12 +3125,12 @@ function de(t, e, n) {
|
|
|
3124
3125
|
let { defs: r, instances: i } = t, s = [], l = n ? n.instanceId : "";
|
|
3125
3126
|
for (let o in i) {
|
|
3126
3127
|
let a = i[o], d = r[a.defId];
|
|
3127
|
-
a.instanceId !== l && s.push(new
|
|
3128
|
+
a.instanceId !== l && s.push(new N(e, d, a));
|
|
3128
3129
|
}
|
|
3129
3130
|
return s;
|
|
3130
3131
|
}
|
|
3131
3132
|
function Ir(t, e, n, r) {
|
|
3132
|
-
let i = {}, s = {}, l = {}, o = [], a = [], d =
|
|
3133
|
+
let i = {}, s = {}, l = {}, o = [], a = [], d = vt(t.defs, e);
|
|
3133
3134
|
for (let c in t.defs) {
|
|
3134
3135
|
let h = t.defs[c];
|
|
3135
3136
|
d[h.defId].display === "inverse-background" && (h.groupId ? (i[h.groupId] = [], l[h.groupId] || (l[h.groupId] = h)) : s[c] = []);
|
|
@@ -3176,14 +3177,14 @@ function Ir(t, e, n, r) {
|
|
|
3176
3177
|
function Ra(t) {
|
|
3177
3178
|
return t.ui.display === "background" || t.ui.display === "inverse-background";
|
|
3178
3179
|
}
|
|
3179
|
-
function
|
|
3180
|
+
function Nr(t, e) {
|
|
3180
3181
|
t.fcSeg = e;
|
|
3181
3182
|
}
|
|
3182
3183
|
function we(t) {
|
|
3183
3184
|
return t.fcSeg || t.parentNode.fcSeg || // for the harness
|
|
3184
3185
|
null;
|
|
3185
3186
|
}
|
|
3186
|
-
function
|
|
3187
|
+
function vt(t, e) {
|
|
3187
3188
|
return Y(t, (n) => Wi(n, e));
|
|
3188
3189
|
}
|
|
3189
3190
|
function Wi(t, e) {
|
|
@@ -3232,7 +3233,7 @@ function Gi(t, e, n, r, i, s, l) {
|
|
|
3232
3233
|
function ne(t, e, n) {
|
|
3233
3234
|
let r = t.eventRange.range;
|
|
3234
3235
|
return {
|
|
3235
|
-
isPast: r.end
|
|
3236
|
+
isPast: r.end <= (n || e.start),
|
|
3236
3237
|
isFuture: r.start >= (n || e.end),
|
|
3237
3238
|
isToday: e && Q(e, r.start)
|
|
3238
3239
|
};
|
|
@@ -3252,7 +3253,7 @@ function Qi(t, e) {
|
|
|
3252
3253
|
return o == null && (o = n.interactive, o == null && (o = !!s.hasHandlers("eventClick"))), o ? Si((a) => {
|
|
3253
3254
|
s.trigger("eventClick", {
|
|
3254
3255
|
el: a.target,
|
|
3255
|
-
event: new
|
|
3256
|
+
event: new N(e, n, r),
|
|
3256
3257
|
jsEvent: a,
|
|
3257
3258
|
view: e.viewApi
|
|
3258
3259
|
});
|
|
@@ -3263,8 +3264,8 @@ const Ia = {
|
|
|
3263
3264
|
end: p,
|
|
3264
3265
|
allDay: Boolean
|
|
3265
3266
|
};
|
|
3266
|
-
function
|
|
3267
|
-
let r =
|
|
3267
|
+
function Na(t, e, n) {
|
|
3268
|
+
let r = Oa(t, e), { range: i } = r;
|
|
3268
3269
|
if (!i.start)
|
|
3269
3270
|
return null;
|
|
3270
3271
|
if (!i.end) {
|
|
@@ -3274,8 +3275,8 @@ function Oa(t, e, n) {
|
|
|
3274
3275
|
}
|
|
3275
3276
|
return r;
|
|
3276
3277
|
}
|
|
3277
|
-
function
|
|
3278
|
-
let { refined: n, extra: r } =
|
|
3278
|
+
function Oa(t, e) {
|
|
3279
|
+
let { refined: n, extra: r } = An(t, Ia), i = n.start ? e.createMarkerMeta(n.start) : null, s = n.end ? e.createMarkerMeta(n.end) : null, { allDay: l } = n;
|
|
3279
3280
|
return l == null && (l = i && i.isTimeUnspecified && (!s || s.isTimeUnspecified)), Object.assign({ range: {
|
|
3280
3281
|
start: i ? i.marker : null,
|
|
3281
3282
|
end: s ? s.marker : null
|
|
@@ -3308,7 +3309,7 @@ function Zi(t, e, n) {
|
|
|
3308
3309
|
};
|
|
3309
3310
|
}
|
|
3310
3311
|
function La(t, e, n) {
|
|
3311
|
-
let r = Pi({ editable: !1 }, n), i =
|
|
3312
|
+
let r = Pi({ editable: !1 }, n), i = rn(
|
|
3312
3313
|
r.refined,
|
|
3313
3314
|
r.extra,
|
|
3314
3315
|
"",
|
|
@@ -3321,7 +3322,7 @@ function La(t, e, n) {
|
|
|
3321
3322
|
return {
|
|
3322
3323
|
def: i,
|
|
3323
3324
|
ui: Wi(i, e),
|
|
3324
|
-
instance:
|
|
3325
|
+
instance: _n(i.defId, t.range),
|
|
3325
3326
|
range: t.range,
|
|
3326
3327
|
isStart: !0,
|
|
3327
3328
|
isEnd: !0
|
|
@@ -3335,7 +3336,7 @@ function Ua(t, e, n) {
|
|
|
3335
3336
|
}, l = t(i, s);
|
|
3336
3337
|
l && typeof l.then == "function" && l.then(i, s);
|
|
3337
3338
|
}
|
|
3338
|
-
class
|
|
3339
|
+
class Or extends Error {
|
|
3339
3340
|
constructor(e, n) {
|
|
3340
3341
|
super(e), this.response = n;
|
|
3341
3342
|
}
|
|
@@ -3350,14 +3351,14 @@ function ja(t, e, n) {
|
|
|
3350
3351
|
}), fetch(e, r).then((i) => {
|
|
3351
3352
|
if (i.ok)
|
|
3352
3353
|
return i.json().then((s) => [s, i], () => {
|
|
3353
|
-
throw new
|
|
3354
|
+
throw new Or("Failure parsing JSON", i);
|
|
3354
3355
|
});
|
|
3355
|
-
throw new
|
|
3356
|
+
throw new Or("Request failed", i);
|
|
3356
3357
|
});
|
|
3357
3358
|
}
|
|
3358
|
-
let
|
|
3359
|
+
let zt;
|
|
3359
3360
|
function $i() {
|
|
3360
|
-
return
|
|
3361
|
+
return zt == null && (zt = za()), zt;
|
|
3361
3362
|
}
|
|
3362
3363
|
function za() {
|
|
3363
3364
|
if (typeof document > "u")
|
|
@@ -3372,9 +3373,13 @@ class Fa extends T {
|
|
|
3372
3373
|
super(...arguments), this.state = {
|
|
3373
3374
|
forPrint: !1
|
|
3374
3375
|
}, this.handleBeforePrint = () => {
|
|
3375
|
-
|
|
3376
|
+
ht(() => {
|
|
3377
|
+
this.setState({ forPrint: !0 });
|
|
3378
|
+
});
|
|
3376
3379
|
}, this.handleAfterPrint = () => {
|
|
3377
|
-
|
|
3380
|
+
ht(() => {
|
|
3381
|
+
this.setState({ forPrint: !1 });
|
|
3382
|
+
});
|
|
3378
3383
|
};
|
|
3379
3384
|
}
|
|
3380
3385
|
render() {
|
|
@@ -3410,12 +3415,12 @@ function Wa(t, e) {
|
|
|
3410
3415
|
isHitComboAllowed: e.isHitComboAllowed || null
|
|
3411
3416
|
};
|
|
3412
3417
|
}
|
|
3413
|
-
function
|
|
3418
|
+
function Nn(t) {
|
|
3414
3419
|
return {
|
|
3415
3420
|
[t.component.uid]: t
|
|
3416
3421
|
};
|
|
3417
3422
|
}
|
|
3418
|
-
const
|
|
3423
|
+
const ln = {};
|
|
3419
3424
|
class Va {
|
|
3420
3425
|
getCurrentData() {
|
|
3421
3426
|
return this.currentDataManager.getCurrentData();
|
|
@@ -3565,12 +3570,12 @@ class Va {
|
|
|
3565
3570
|
// -----------------------------------------------------------------------------------------------------------------
|
|
3566
3571
|
formatDate(e, n) {
|
|
3567
3572
|
let { dateEnv: r } = this.getCurrentData();
|
|
3568
|
-
return r.format(r.createMarker(e),
|
|
3573
|
+
return r.format(r.createMarker(e), O(n));
|
|
3569
3574
|
}
|
|
3570
3575
|
// `settings` is for formatter AND isEndExclusive
|
|
3571
3576
|
formatRange(e, n, r) {
|
|
3572
3577
|
let { dateEnv: i } = this.getCurrentData();
|
|
3573
|
-
return i.formatRange(i.createMarker(e), i.createMarker(n),
|
|
3578
|
+
return i.formatRange(i.createMarker(e), i.createMarker(n), O(r), r);
|
|
3574
3579
|
}
|
|
3575
3580
|
formatIso(e, n) {
|
|
3576
3581
|
let { dateEnv: r } = this.getCurrentData();
|
|
@@ -3587,7 +3592,7 @@ class Va {
|
|
|
3587
3592
|
start: e,
|
|
3588
3593
|
end: n
|
|
3589
3594
|
};
|
|
3590
|
-
let i = this.getCurrentData(), s =
|
|
3595
|
+
let i = this.getCurrentData(), s = Na(r, i.dateEnv, _({ days: 1 }));
|
|
3591
3596
|
s && (this.dispatch({ type: "SELECT_DATES", selection: s }), zi(s, null, i));
|
|
3592
3597
|
}
|
|
3593
3598
|
unselect(e) {
|
|
@@ -3597,11 +3602,11 @@ class Va {
|
|
|
3597
3602
|
// Public Events API
|
|
3598
3603
|
// -----------------------------------------------------------------------------------------------------------------
|
|
3599
3604
|
addEvent(e, n) {
|
|
3600
|
-
if (e instanceof
|
|
3605
|
+
if (e instanceof N) {
|
|
3601
3606
|
let l = e._def, o = e._instance;
|
|
3602
3607
|
return this.getCurrentData().eventStore.defs[l.defId] || (this.dispatch({
|
|
3603
3608
|
type: "ADD_EVENTS",
|
|
3604
|
-
eventStore:
|
|
3609
|
+
eventStore: sn({ def: l, instance: o })
|
|
3605
3610
|
// TODO: better util for two args?
|
|
3606
3611
|
}), this.triggerEventAdd(e)), e;
|
|
3607
3612
|
}
|
|
@@ -3609,19 +3614,19 @@ class Va {
|
|
|
3609
3614
|
if (n instanceof ye)
|
|
3610
3615
|
i = n.internalEventSource;
|
|
3611
3616
|
else if (typeof n == "boolean")
|
|
3612
|
-
n && ([i] =
|
|
3617
|
+
n && ([i] = Cn(r.eventSources));
|
|
3613
3618
|
else if (n != null) {
|
|
3614
3619
|
let l = this.getEventSourceById(n);
|
|
3615
3620
|
if (!l)
|
|
3616
3621
|
return console.warn(`Could not find an event source with ID "${n}"`), null;
|
|
3617
3622
|
i = l.internalEventSource;
|
|
3618
3623
|
}
|
|
3619
|
-
let s =
|
|
3624
|
+
let s = Oi(e, i, r, !1);
|
|
3620
3625
|
if (s) {
|
|
3621
|
-
let l = new
|
|
3626
|
+
let l = new N(r, s.def, s.def.recurringDef ? null : s.instance);
|
|
3622
3627
|
return this.dispatch({
|
|
3623
3628
|
type: "ADD_EVENTS",
|
|
3624
|
-
eventStore:
|
|
3629
|
+
eventStore: sn(s)
|
|
3625
3630
|
}), this.triggerEventAdd(l), l;
|
|
3626
3631
|
}
|
|
3627
3632
|
return null;
|
|
@@ -3647,11 +3652,11 @@ class Va {
|
|
|
3647
3652
|
let l = r[s];
|
|
3648
3653
|
if (l.publicId === e) {
|
|
3649
3654
|
if (l.recurringDef)
|
|
3650
|
-
return new
|
|
3655
|
+
return new N(n, l, null);
|
|
3651
3656
|
for (let o in i) {
|
|
3652
3657
|
let a = i[o];
|
|
3653
3658
|
if (a.defId === l.defId)
|
|
3654
|
-
return new
|
|
3659
|
+
return new N(n, l, a);
|
|
3655
3660
|
}
|
|
3656
3661
|
}
|
|
3657
3662
|
}
|
|
@@ -3733,7 +3738,7 @@ function Ya(t, e) {
|
|
|
3733
3738
|
top: t.top - e.top
|
|
3734
3739
|
};
|
|
3735
3740
|
}
|
|
3736
|
-
const
|
|
3741
|
+
const Ft = j();
|
|
3737
3742
|
class Za {
|
|
3738
3743
|
constructor() {
|
|
3739
3744
|
this.getKeysForEventDefs = A(this._getKeysForEventDefs), this.splitDateSelection = A(this._splitDateSpan), this.splitEventStore = A(this._splitEventStore), this.splitIndividualUi = A(this._splitIndividualUi), this.splitEventDrag = A(this._splitInteraction), this.splitEventResize = A(this._splitInteraction), this.eventUiBuilders = {};
|
|
@@ -3742,7 +3747,7 @@ class Za {
|
|
|
3742
3747
|
let n = this.getKeyInfo(e), r = this.getKeysForEventDefs(e.eventStore), i = this.splitDateSelection(e.dateSelection), s = this.splitIndividualUi(e.eventUiBases, r), l = this.splitEventStore(e.eventStore, r), o = this.splitEventDrag(e.eventDrag), a = this.splitEventResize(e.eventResize), d = {};
|
|
3743
3748
|
this.eventUiBuilders = Y(n, (c, h) => this.eventUiBuilders[h] || A($a));
|
|
3744
3749
|
for (let c in n) {
|
|
3745
|
-
let h = n[c], f = l[c] ||
|
|
3750
|
+
let h = n[c], f = l[c] || Ft, u = this.eventUiBuilders[c];
|
|
3746
3751
|
d[c] = {
|
|
3747
3752
|
businessHours: h.businessHours || e.businessHours,
|
|
3748
3753
|
dateSelection: i[c] || null,
|
|
@@ -3792,8 +3797,8 @@ class Za {
|
|
|
3792
3797
|
if (e) {
|
|
3793
3798
|
let r = this._splitEventStore(e.affectedEvents, this._getKeysForEventDefs(e.affectedEvents)), i = this._getKeysForEventDefs(e.mutatedEvents), s = this._splitEventStore(e.mutatedEvents, i), l = (o) => {
|
|
3794
3799
|
n[o] || (n[o] = {
|
|
3795
|
-
affectedEvents: r[o] ||
|
|
3796
|
-
mutatedEvents: s[o] ||
|
|
3800
|
+
affectedEvents: r[o] || Ft,
|
|
3801
|
+
mutatedEvents: s[o] || Ft,
|
|
3797
3802
|
isEvent: e.isEvent
|
|
3798
3803
|
});
|
|
3799
3804
|
};
|
|
@@ -3830,8 +3835,8 @@ function On(t, e) {
|
|
|
3830
3835
|
];
|
|
3831
3836
|
return t.isDisabled ? n.push("fc-day-disabled") : (t.isToday && (n.push("fc-day-today"), n.push(e.getClass("today"))), t.isPast && n.push("fc-day-past"), t.isFuture && n.push("fc-day-future"), t.isOther && n.push("fc-day-other")), n;
|
|
3832
3837
|
}
|
|
3833
|
-
const Xa =
|
|
3834
|
-
function
|
|
3838
|
+
const Xa = O({ year: "numeric", month: "long", day: "numeric" }), Ja = O({ week: "long" });
|
|
3839
|
+
function bt(t, e, n = "day", r = !0) {
|
|
3835
3840
|
const { dateEnv: i, options: s, calendarApi: l } = t;
|
|
3836
3841
|
let o = i.format(e, n === "week" ? Ja : Xa);
|
|
3837
3842
|
if (s.navLinks) {
|
|
@@ -3840,17 +3845,17 @@ function vt(t, e, n = "day", r = !0) {
|
|
|
3840
3845
|
let h = n === "day" ? s.navLinkDayClick : n === "week" ? s.navLinkWeekClick : null;
|
|
3841
3846
|
typeof h == "function" ? h.call(l, i.toDate(e), c) : (typeof h == "string" && (n = h), l.zoomTo(e, n));
|
|
3842
3847
|
};
|
|
3843
|
-
return Object.assign({ title:
|
|
3848
|
+
return Object.assign({ title: Oe(s.navLinkHint, [o, a], o), "data-navlink": "" }, r ? Ei(d) : { onClick: d });
|
|
3844
3849
|
}
|
|
3845
3850
|
return { "aria-label": o };
|
|
3846
3851
|
}
|
|
3847
|
-
let
|
|
3852
|
+
let Wt = null;
|
|
3848
3853
|
function Ka() {
|
|
3849
|
-
return
|
|
3854
|
+
return Wt === null && (Wt = ec()), Wt;
|
|
3850
3855
|
}
|
|
3851
3856
|
function ec() {
|
|
3852
3857
|
let t = document.createElement("div");
|
|
3853
|
-
|
|
3858
|
+
Ne(t, {
|
|
3854
3859
|
position: "absolute",
|
|
3855
3860
|
top: -1e3,
|
|
3856
3861
|
left: 0,
|
|
@@ -3860,11 +3865,11 @@ function ec() {
|
|
|
3860
3865
|
direction: "rtl"
|
|
3861
3866
|
}), t.innerHTML = "<div></div>", document.body.appendChild(t);
|
|
3862
3867
|
let n = t.firstChild.getBoundingClientRect().left > t.getBoundingClientRect().left;
|
|
3863
|
-
return
|
|
3868
|
+
return mn(t), n;
|
|
3864
3869
|
}
|
|
3865
|
-
let
|
|
3870
|
+
let Vt;
|
|
3866
3871
|
function tc() {
|
|
3867
|
-
return
|
|
3872
|
+
return Vt || (Vt = nc()), Vt;
|
|
3868
3873
|
}
|
|
3869
3874
|
function nc() {
|
|
3870
3875
|
let t = document.createElement("div");
|
|
@@ -3891,7 +3896,7 @@ function rc(t, e = !1) {
|
|
|
3891
3896
|
return Ka() && n.direction === "rtl" ? c.scrollbarLeft = a : c.scrollbarRight = a, e && (c.paddingLeft = parseInt(n.paddingLeft, 10) || 0, c.paddingRight = parseInt(n.paddingRight, 10) || 0, c.paddingTop = parseInt(n.paddingTop, 10) || 0, c.paddingBottom = parseInt(n.paddingBottom, 10) || 0), c;
|
|
3892
3897
|
}
|
|
3893
3898
|
function ic(t, e = !1, n) {
|
|
3894
|
-
let r = n ? t.getBoundingClientRect() :
|
|
3899
|
+
let r = n ? t.getBoundingClientRect() : Pn(t), i = rc(t, e), s = {
|
|
3895
3900
|
left: r.left + i.borderLeft + i.scrollbarLeft,
|
|
3896
3901
|
right: r.right - i.borderRight - i.scrollbarRight,
|
|
3897
3902
|
top: r.top + i.borderTop,
|
|
@@ -3899,13 +3904,13 @@ function ic(t, e = !1, n) {
|
|
|
3899
3904
|
};
|
|
3900
3905
|
return e && (s.left += i.paddingLeft, s.right -= i.paddingRight, s.top += i.paddingTop, s.bottom -= i.paddingBottom), s;
|
|
3901
3906
|
}
|
|
3902
|
-
function
|
|
3907
|
+
function Pn(t) {
|
|
3903
3908
|
let e = t.getBoundingClientRect();
|
|
3904
3909
|
return {
|
|
3905
|
-
left: e.left + window.
|
|
3906
|
-
top: e.top + window.
|
|
3907
|
-
right: e.right + window.
|
|
3908
|
-
bottom: e.bottom + window.
|
|
3910
|
+
left: e.left + window.scrollX,
|
|
3911
|
+
top: e.top + window.scrollY,
|
|
3912
|
+
right: e.right + window.scrollX,
|
|
3913
|
+
bottom: e.bottom + window.scrollY
|
|
3909
3914
|
};
|
|
3910
3915
|
}
|
|
3911
3916
|
function sc(t) {
|
|
@@ -3990,7 +3995,7 @@ function Ye(t, e) {
|
|
|
3990
3995
|
return !1;
|
|
3991
3996
|
return !0;
|
|
3992
3997
|
}
|
|
3993
|
-
class
|
|
3998
|
+
class Hn {
|
|
3994
3999
|
getMaxScrollTop() {
|
|
3995
4000
|
return this.getScrollHeight() - this.getClientHeight();
|
|
3996
4001
|
}
|
|
@@ -4016,7 +4021,7 @@ class Pn {
|
|
|
4016
4021
|
return this.getScrollLeft() < this.getMaxScrollLeft();
|
|
4017
4022
|
}
|
|
4018
4023
|
}
|
|
4019
|
-
class lc extends
|
|
4024
|
+
class lc extends Hn {
|
|
4020
4025
|
constructor(e) {
|
|
4021
4026
|
super(), this.el = e;
|
|
4022
4027
|
}
|
|
@@ -4045,18 +4050,18 @@ class lc extends Pn {
|
|
|
4045
4050
|
return this.el.clientWidth;
|
|
4046
4051
|
}
|
|
4047
4052
|
}
|
|
4048
|
-
class oc extends
|
|
4053
|
+
class oc extends Hn {
|
|
4049
4054
|
getScrollTop() {
|
|
4050
|
-
return window.
|
|
4055
|
+
return window.scrollY;
|
|
4051
4056
|
}
|
|
4052
4057
|
getScrollLeft() {
|
|
4053
|
-
return window.
|
|
4058
|
+
return window.scrollX;
|
|
4054
4059
|
}
|
|
4055
4060
|
setScrollTop(e) {
|
|
4056
|
-
window.scroll(window.
|
|
4061
|
+
window.scroll(window.scrollX, e);
|
|
4057
4062
|
}
|
|
4058
4063
|
setScrollLeft(e) {
|
|
4059
|
-
window.scroll(e, window.
|
|
4064
|
+
window.scroll(e, window.scrollY);
|
|
4060
4065
|
}
|
|
4061
4066
|
getScrollWidth() {
|
|
4062
4067
|
return document.documentElement.scrollWidth;
|
|
@@ -4096,7 +4101,7 @@ class G extends T {
|
|
|
4096
4101
|
}
|
|
4097
4102
|
}
|
|
4098
4103
|
class ts {
|
|
4099
|
-
constructor(e = (n) => n.thickness) {
|
|
4104
|
+
constructor(e = (n) => n.thickness || 1) {
|
|
4100
4105
|
this.getEntryThickness = e, this.strictOrder = !1, this.allowReslicing = !1, this.maxCoord = -1, this.maxStackCnt = -1, this.levelCoords = [], this.entriesByLevel = [], this.stackCnts = {};
|
|
4101
4106
|
}
|
|
4102
4107
|
addSegs(e) {
|
|
@@ -4107,43 +4112,47 @@ class ts {
|
|
|
4107
4112
|
}
|
|
4108
4113
|
insertEntry(e, n) {
|
|
4109
4114
|
let r = this.findInsertion(e);
|
|
4110
|
-
|
|
4115
|
+
this.isInsertionValid(r, e) ? this.insertEntryAt(e, r) : this.handleInvalidInsertion(r, e, n);
|
|
4111
4116
|
}
|
|
4112
4117
|
isInsertionValid(e, n) {
|
|
4113
4118
|
return (this.maxCoord === -1 || e.levelCoord + this.getEntryThickness(n) <= this.maxCoord) && (this.maxStackCnt === -1 || e.stackCnt < this.maxStackCnt);
|
|
4114
4119
|
}
|
|
4115
|
-
// returns number of new entries inserted
|
|
4116
4120
|
handleInvalidInsertion(e, n, r) {
|
|
4117
|
-
|
|
4121
|
+
if (this.allowReslicing && e.touchingEntry) {
|
|
4122
|
+
const i = Object.assign(Object.assign({}, n), { span: Bn(n.span, e.touchingEntry.span) });
|
|
4123
|
+
r.push(i), this.splitEntry(n, e.touchingEntry, r);
|
|
4124
|
+
} else
|
|
4125
|
+
r.push(n);
|
|
4118
4126
|
}
|
|
4127
|
+
/*
|
|
4128
|
+
Does NOT add what hit the `barrier` into hiddenEntries. Should already be done.
|
|
4129
|
+
*/
|
|
4119
4130
|
splitEntry(e, n, r) {
|
|
4120
|
-
let i =
|
|
4121
|
-
|
|
4122
|
-
index: e.index,
|
|
4123
|
-
thickness: e.thickness,
|
|
4124
|
-
span: { start: l.start, end: o.start }
|
|
4125
|
-
}, s)), l.end > o.end && (i += this.insertEntry({
|
|
4131
|
+
let i = e.span, s = n.span;
|
|
4132
|
+
i.start < s.start && this.insertEntry({
|
|
4126
4133
|
index: e.index,
|
|
4127
4134
|
thickness: e.thickness,
|
|
4128
|
-
span: { start:
|
|
4129
|
-
},
|
|
4135
|
+
span: { start: i.start, end: s.start }
|
|
4136
|
+
}, r), i.end > s.end && this.insertEntry({
|
|
4130
4137
|
index: e.index,
|
|
4131
4138
|
thickness: e.thickness,
|
|
4132
|
-
span:
|
|
4133
|
-
|
|
4134
|
-
}, ...s), i) : (r.push(e), 0);
|
|
4139
|
+
span: { start: s.end, end: i.end }
|
|
4140
|
+
}, r);
|
|
4135
4141
|
}
|
|
4136
4142
|
insertEntryAt(e, n) {
|
|
4137
4143
|
let { entriesByLevel: r, levelCoords: i } = this;
|
|
4138
|
-
n.lateral === -1 ? (
|
|
4144
|
+
n.lateral === -1 ? (Gt(i, n.level, n.levelCoord), Gt(r, n.level, [e])) : Gt(r[n.level], n.lateral, e), this.stackCnts[ue(e)] = n.stackCnt;
|
|
4139
4145
|
}
|
|
4146
|
+
/*
|
|
4147
|
+
does not care about limits
|
|
4148
|
+
*/
|
|
4140
4149
|
findInsertion(e) {
|
|
4141
4150
|
let { levelCoords: n, entriesByLevel: r, strictOrder: i, stackCnts: s } = this, l = n.length, o = 0, a = -1, d = -1, c = null, h = 0;
|
|
4142
4151
|
for (let m = 0; m < l; m += 1) {
|
|
4143
|
-
|
|
4152
|
+
const v = n[m];
|
|
4144
4153
|
if (!i && v >= o + this.getEntryThickness(e))
|
|
4145
4154
|
break;
|
|
4146
|
-
let b = r[m], E, y =
|
|
4155
|
+
let b = r[m], E, y = an(b, e.span.start, on), D = y[0] + y[1];
|
|
4147
4156
|
for (
|
|
4148
4157
|
;
|
|
4149
4158
|
// loop through entries that horizontally intersect
|
|
@@ -4159,7 +4168,7 @@ class ts {
|
|
|
4159
4168
|
for (f = a + 1; f < l && n[f] < o; )
|
|
4160
4169
|
f += 1;
|
|
4161
4170
|
let u = -1;
|
|
4162
|
-
return f < l && n[f] === o && (u =
|
|
4171
|
+
return f < l && n[f] === o && (u = an(r[f], e.span.end, on)[0]), {
|
|
4163
4172
|
touchingLevel: a,
|
|
4164
4173
|
touchingLateral: d,
|
|
4165
4174
|
touchingEntry: c,
|
|
@@ -4180,7 +4189,7 @@ class ts {
|
|
|
4180
4189
|
return i;
|
|
4181
4190
|
}
|
|
4182
4191
|
}
|
|
4183
|
-
function
|
|
4192
|
+
function on(t) {
|
|
4184
4193
|
return t.span.end;
|
|
4185
4194
|
}
|
|
4186
4195
|
function ue(t) {
|
|
@@ -4194,7 +4203,7 @@ function ac(t) {
|
|
|
4194
4203
|
entries: [n]
|
|
4195
4204
|
};
|
|
4196
4205
|
for (let s of e)
|
|
4197
|
-
|
|
4206
|
+
Bn(s.span, i.span) ? i = {
|
|
4198
4207
|
entries: s.entries.concat(i.entries),
|
|
4199
4208
|
span: cc(s.span, i.span)
|
|
4200
4209
|
} : r.push(s);
|
|
@@ -4208,14 +4217,14 @@ function cc(t, e) {
|
|
|
4208
4217
|
end: Math.max(t.end, e.end)
|
|
4209
4218
|
};
|
|
4210
4219
|
}
|
|
4211
|
-
function
|
|
4220
|
+
function Bn(t, e) {
|
|
4212
4221
|
let n = Math.max(t.start, e.start), r = Math.min(t.end, e.end);
|
|
4213
4222
|
return n < r ? { start: n, end: r } : null;
|
|
4214
4223
|
}
|
|
4215
|
-
function
|
|
4224
|
+
function Gt(t, e, n) {
|
|
4216
4225
|
t.splice(e, 0, n);
|
|
4217
4226
|
}
|
|
4218
|
-
function
|
|
4227
|
+
function an(t, e, n) {
|
|
4219
4228
|
let r = 0, i = t.length;
|
|
4220
4229
|
if (!i || e < n(t[r]))
|
|
4221
4230
|
return [0, 0];
|
|
@@ -4234,7 +4243,7 @@ function on(t, e, n) {
|
|
|
4234
4243
|
}
|
|
4235
4244
|
class dc {
|
|
4236
4245
|
constructor(e, n) {
|
|
4237
|
-
this.emitter = new
|
|
4246
|
+
this.emitter = new _t();
|
|
4238
4247
|
}
|
|
4239
4248
|
destroy() {
|
|
4240
4249
|
}
|
|
@@ -4245,9 +4254,9 @@ class dc {
|
|
|
4245
4254
|
setAutoScrollEnabled(e) {
|
|
4246
4255
|
}
|
|
4247
4256
|
}
|
|
4248
|
-
const
|
|
4257
|
+
const Ln = {};
|
|
4249
4258
|
function uc(t, e) {
|
|
4250
|
-
return !t || e > 10 ?
|
|
4259
|
+
return !t || e > 10 ? O({ weekday: "short" }) : e > 1 ? O({ weekday: "short", month: "numeric", day: "numeric", omitCommas: !0 }) : O({ weekday: "long" });
|
|
4251
4260
|
}
|
|
4252
4261
|
const ns = "fc-col-header-cell";
|
|
4253
4262
|
function rs(t) {
|
|
@@ -4255,14 +4264,14 @@ function rs(t) {
|
|
|
4255
4264
|
}
|
|
4256
4265
|
class fc extends T {
|
|
4257
4266
|
render() {
|
|
4258
|
-
let { dateEnv: e, options: n, theme: r, viewApi: i } = this.context, { props: s } = this, { date: l, dateProfile: o } = s, a = Ji(l, s.todayRange, null, o), d = [ns].concat(On(a, r)), c = e.format(l, s.dayHeaderFormat), h = !a.isDisabled && s.colCnt > 1 ?
|
|
4259
|
-
return g(z, { elTag: "th", elClasses: d, elAttrs: Object.assign({ role: "columnheader", colSpan: s.colSpan, "data-date": a.isDisabled ? void 0 :
|
|
4267
|
+
let { dateEnv: e, options: n, theme: r, viewApi: i } = this.context, { props: s } = this, { date: l, dateProfile: o } = s, a = Ji(l, s.todayRange, null, o), d = [ns].concat(On(a, r)), c = e.format(l, s.dayHeaderFormat), h = !a.isDisabled && s.colCnt > 1 ? bt(this.context, l) : {}, f = Object.assign(Object.assign(Object.assign({ date: e.toDate(l), view: i }, s.extraRenderProps), { text: c }), a);
|
|
4268
|
+
return g(z, { elTag: "th", elClasses: d, elAttrs: Object.assign({ role: "columnheader", colSpan: s.colSpan, "data-date": a.isDisabled ? void 0 : En(l) }, s.extraDataAttrs), renderProps: f, generatorName: "dayHeaderContent", customGenerator: n.dayHeaderContent, defaultGenerator: rs, classNameGenerator: n.dayHeaderClassNames, didMount: n.dayHeaderDidMount, willUnmount: n.dayHeaderWillUnmount }, (u) => g("div", { className: "fc-scrollgrid-sync-inner" }, !a.isDisabled && g(u, { elTag: "a", elAttrs: h, elClasses: [
|
|
4260
4269
|
"fc-col-header-cell-cushion",
|
|
4261
4270
|
s.isSticky && "fc-sticky"
|
|
4262
4271
|
] })));
|
|
4263
4272
|
}
|
|
4264
4273
|
}
|
|
4265
|
-
const hc =
|
|
4274
|
+
const hc = O({ weekday: "long" });
|
|
4266
4275
|
class gc extends T {
|
|
4267
4276
|
render() {
|
|
4268
4277
|
let { props: e } = this, { dateEnv: n, theme: r, viewApi: i, options: s } = this.context, l = H(/* @__PURE__ */ new Date(2592e5), e.dow), o = {
|
|
@@ -4527,12 +4536,12 @@ function Ze(t, e) {
|
|
|
4527
4536
|
function as(t, e, n) {
|
|
4528
4537
|
let { instances: r } = t.mutatedEvents;
|
|
4529
4538
|
for (let i in r)
|
|
4530
|
-
if (!
|
|
4539
|
+
if (!wt(e.validRange, r[i].range))
|
|
4531
4540
|
return !1;
|
|
4532
4541
|
return cs({ eventDrag: t }, n);
|
|
4533
4542
|
}
|
|
4534
4543
|
function mc(t, e, n) {
|
|
4535
|
-
return
|
|
4544
|
+
return wt(e.validRange, t.range) ? cs({ dateSelection: t }, n) : !1;
|
|
4536
4545
|
}
|
|
4537
4546
|
function cs(t, e) {
|
|
4538
4547
|
let n = e.getCurrentData(), r = Object.assign({ businessHours: n.businessHours, dateSelection: "", eventStore: n.eventStore, eventUiBases: n.eventUiBases, eventSelection: "", eventDrag: null, eventResize: null }, t);
|
|
@@ -4542,9 +4551,9 @@ function vc(t, e, n = {}, r) {
|
|
|
4542
4551
|
return !(t.eventDrag && !bc(t, e, n, r) || t.dateSelection && !yc(t, e, n, r));
|
|
4543
4552
|
}
|
|
4544
4553
|
function bc(t, e, n, r) {
|
|
4545
|
-
let i = e.getCurrentData(), s = t.eventDrag, l = s.mutatedEvents, o = l.defs, a = l.instances, d =
|
|
4554
|
+
let i = e.getCurrentData(), s = t.eventDrag, l = s.mutatedEvents, o = l.defs, a = l.instances, d = vt(o, s.isEvent ? t.eventUiBases : { "": i.selectionConfig });
|
|
4546
4555
|
r && (d = Y(d, r));
|
|
4547
|
-
let c = ma(t.eventStore, s.affectedEvents.instances), h = c.defs, f = c.instances, u =
|
|
4556
|
+
let c = ma(t.eventStore, s.affectedEvents.instances), h = c.defs, f = c.instances, u = vt(h, t.eventUiBases);
|
|
4548
4557
|
for (let m in a) {
|
|
4549
4558
|
let v = a[m], b = v.range, E = d[v.defId], y = o[v.defId];
|
|
4550
4559
|
if (!ds(E.constraints, b, c, t.businessHours, e))
|
|
@@ -4552,17 +4561,17 @@ function bc(t, e, n, r) {
|
|
|
4552
4561
|
let { eventOverlap: D } = e.options, C = typeof D == "function" ? D : null;
|
|
4553
4562
|
for (let w in f) {
|
|
4554
4563
|
let x = f[w];
|
|
4555
|
-
if (
|
|
4556
|
-
new
|
|
4564
|
+
if (Rn(b, x.range) && (u[x.defId].overlap === !1 && s.isEvent || E.overlap === !1 || C && !C(
|
|
4565
|
+
new N(e, h[x.defId], x),
|
|
4557
4566
|
// still event
|
|
4558
|
-
new
|
|
4567
|
+
new N(e, y, v)
|
|
4559
4568
|
)))
|
|
4560
4569
|
return !1;
|
|
4561
4570
|
}
|
|
4562
4571
|
let I = i.eventStore;
|
|
4563
4572
|
for (let w of E.allows) {
|
|
4564
4573
|
let x = Object.assign(Object.assign({}, n), { range: v.range, allDay: y.allDay }), R = I.defs[y.defId], J = I.instances[m], Te;
|
|
4565
|
-
if (R ? Te = new
|
|
4574
|
+
if (R ? Te = new N(e, R, J) : Te = new N(e, y), !w(Mn(x, e), Te))
|
|
4566
4575
|
return !1;
|
|
4567
4576
|
}
|
|
4568
4577
|
}
|
|
@@ -4575,12 +4584,12 @@ function yc(t, e, n, r) {
|
|
|
4575
4584
|
let { selectOverlap: c } = e.options, h = typeof c == "function" ? c : null;
|
|
4576
4585
|
for (let f in l) {
|
|
4577
4586
|
let u = l[f];
|
|
4578
|
-
if (
|
|
4587
|
+
if (Rn(a, u.range) && (d.overlap === !1 || h && !h(new N(e, s[u.defId], u), null)))
|
|
4579
4588
|
return !1;
|
|
4580
4589
|
}
|
|
4581
4590
|
for (let f of d.allows) {
|
|
4582
4591
|
let u = Object.assign(Object.assign({}, n), o);
|
|
4583
|
-
if (!f(
|
|
4592
|
+
if (!f(Mn(u, e), null))
|
|
4584
4593
|
return !1;
|
|
4585
4594
|
}
|
|
4586
4595
|
return !0;
|
|
@@ -4592,9 +4601,9 @@ function ds(t, e, n, r, i) {
|
|
|
4592
4601
|
return !0;
|
|
4593
4602
|
}
|
|
4594
4603
|
function Ec(t, e, n, r, i) {
|
|
4595
|
-
return t === "businessHours" ?
|
|
4604
|
+
return t === "businessHours" ? qt(ge(r, e, i)) : typeof t == "string" ? qt(Rt(n, (s) => s.groupId === t)) : typeof t == "object" && t ? qt(ge(t, e, i)) : [];
|
|
4596
4605
|
}
|
|
4597
|
-
function
|
|
4606
|
+
function qt(t) {
|
|
4598
4607
|
let { instances: e } = t, n = [];
|
|
4599
4608
|
for (let r in e)
|
|
4600
4609
|
n.push(e[r].range);
|
|
@@ -4602,7 +4611,7 @@ function Gt(t) {
|
|
|
4602
4611
|
}
|
|
4603
4612
|
function Sc(t, e) {
|
|
4604
4613
|
for (let n of t)
|
|
4605
|
-
if (
|
|
4614
|
+
if (wt(n, e))
|
|
4606
4615
|
return !0;
|
|
4607
4616
|
return !1;
|
|
4608
4617
|
}
|
|
@@ -4669,10 +4678,10 @@ class q {
|
|
|
4669
4678
|
// NOTE: this method has become less valuable now that we are encouraged to map order by some other index
|
|
4670
4679
|
// TODO: provide ONE array-export function, buildArray, which fails on non-numeric indexes. caller can manipulate and "collect"
|
|
4671
4680
|
collect(e, n, r) {
|
|
4672
|
-
return
|
|
4681
|
+
return No(this.currentMap, e, n, r);
|
|
4673
4682
|
}
|
|
4674
4683
|
getAll() {
|
|
4675
|
-
return
|
|
4684
|
+
return Cn(this.currentMap);
|
|
4676
4685
|
}
|
|
4677
4686
|
}
|
|
4678
4687
|
function Dc(t) {
|
|
@@ -4746,13 +4755,13 @@ function Mc(t, e) {
|
|
|
4746
4755
|
];
|
|
4747
4756
|
return e && t.liquid && t.maxHeight == null && n.push("fc-scrollgrid-section-liquid"), t.isSticky && n.push("fc-scrollgrid-section-sticky"), n;
|
|
4748
4757
|
}
|
|
4749
|
-
function
|
|
4758
|
+
function cn(t) {
|
|
4750
4759
|
return g("div", { className: "fc-scrollgrid-sticky-shim", style: {
|
|
4751
4760
|
width: t.clientWidth,
|
|
4752
4761
|
minWidth: t.tableMinWidth
|
|
4753
4762
|
} });
|
|
4754
4763
|
}
|
|
4755
|
-
function
|
|
4764
|
+
function yt(t) {
|
|
4756
4765
|
let { stickyHeaderDates: e } = t;
|
|
4757
4766
|
return (e == null || e === "auto") && (e = t.height === "auto" || t.viewHeight === "auto"), e;
|
|
4758
4767
|
}
|
|
@@ -4760,7 +4769,7 @@ function fs(t) {
|
|
|
4760
4769
|
let { stickyFooterScrollbar: e } = t;
|
|
4761
4770
|
return (e == null || e === "auto") && (e = t.height === "auto" || t.viewHeight === "auto"), e;
|
|
4762
4771
|
}
|
|
4763
|
-
class
|
|
4772
|
+
class Un extends T {
|
|
4764
4773
|
constructor() {
|
|
4765
4774
|
super(...arguments), this.processCols = A((e) => e, Rc), this.renderMicroColGroup = A(_c), this.scrollerRefs = new q(), this.scrollerElRefs = new q(this._handleScrollerEl.bind(this)), this.state = {
|
|
4766
4775
|
shrinkWidth: null,
|
|
@@ -4850,7 +4859,7 @@ class Ln extends T {
|
|
|
4850
4859
|
return { forceYScrollbars: i, scrollerClientWidths: s, scrollerClientHeights: l };
|
|
4851
4860
|
}
|
|
4852
4861
|
}
|
|
4853
|
-
|
|
4862
|
+
Un.addStateEquality({
|
|
4854
4863
|
scrollerClientWidths: V,
|
|
4855
4864
|
scrollerClientHeights: V
|
|
4856
4865
|
});
|
|
@@ -4860,15 +4869,15 @@ function Ic(t, e) {
|
|
|
4860
4869
|
return n;
|
|
4861
4870
|
return null;
|
|
4862
4871
|
}
|
|
4863
|
-
class
|
|
4872
|
+
class jn extends T {
|
|
4864
4873
|
constructor() {
|
|
4865
4874
|
super(...arguments), this.handleEl = (e) => {
|
|
4866
|
-
this.el = e, e &&
|
|
4875
|
+
this.el = e, e && Nr(e, this.props.seg);
|
|
4867
4876
|
};
|
|
4868
4877
|
}
|
|
4869
4878
|
render() {
|
|
4870
4879
|
const { props: e, context: n } = this, { options: r } = n, { seg: i } = e, { eventRange: s } = i, { ui: l } = s, o = {
|
|
4871
|
-
event: new
|
|
4880
|
+
event: new N(n, s.def, s.instance),
|
|
4872
4881
|
view: n.viewApi,
|
|
4873
4882
|
timeText: e.timeText,
|
|
4874
4883
|
textColor: l.textColor,
|
|
@@ -4894,16 +4903,16 @@ class Un extends T {
|
|
|
4894
4903
|
], renderProps: o, generatorName: "eventContent", customGenerator: r.eventContent, defaultGenerator: e.defaultGenerator, classNameGenerator: r.eventClassNames, didMount: r.eventDidMount, willUnmount: r.eventWillUnmount }));
|
|
4895
4904
|
}
|
|
4896
4905
|
componentDidUpdate(e) {
|
|
4897
|
-
this.el && this.props.seg !== e.seg &&
|
|
4906
|
+
this.el && this.props.seg !== e.seg && Nr(this.el, this.props.seg);
|
|
4898
4907
|
}
|
|
4899
4908
|
}
|
|
4900
4909
|
class hs extends T {
|
|
4901
4910
|
render() {
|
|
4902
4911
|
let { props: e, context: n } = this, { options: r } = n, { seg: i } = e, { ui: s } = i.eventRange, l = r.eventTimeFormat || e.defaultTimeFormat, o = Gi(i, l, n, e.defaultDisplayEventTime, e.defaultDisplayEventEnd);
|
|
4903
|
-
return g(
|
|
4912
|
+
return g(jn, Object.assign({}, e, { elTag: "a", elStyle: {
|
|
4904
4913
|
borderColor: s.borderColor,
|
|
4905
4914
|
backgroundColor: s.backgroundColor
|
|
4906
|
-
}, elAttrs: Qi(i, n), defaultGenerator:
|
|
4915
|
+
}, elAttrs: Qi(i, n), defaultGenerator: Nc, timeText: o }), (a, d) => g(
|
|
4907
4916
|
M,
|
|
4908
4917
|
null,
|
|
4909
4918
|
g(a, { elTag: "div", elClasses: ["fc-event-main"], elStyle: { color: d.textColor } }),
|
|
@@ -4912,7 +4921,7 @@ class hs extends T {
|
|
|
4912
4921
|
));
|
|
4913
4922
|
}
|
|
4914
4923
|
}
|
|
4915
|
-
function
|
|
4924
|
+
function Nc(t) {
|
|
4916
4925
|
return g(
|
|
4917
4926
|
"div",
|
|
4918
4927
|
{ className: "fc-event-main-frame" },
|
|
@@ -4924,15 +4933,15 @@ function Oc(t) {
|
|
|
4924
4933
|
)
|
|
4925
4934
|
);
|
|
4926
4935
|
}
|
|
4927
|
-
const
|
|
4936
|
+
const zn = (t) => g($.Consumer, null, (e) => {
|
|
4928
4937
|
let { options: n } = e, r = {
|
|
4929
4938
|
isAxis: t.isAxis,
|
|
4930
4939
|
date: e.dateEnv.toDate(t.date),
|
|
4931
4940
|
view: e.viewApi
|
|
4932
4941
|
};
|
|
4933
4942
|
return g(z, Object.assign({}, t, { elTag: t.elTag || "div", renderProps: r, generatorName: "nowIndicatorContent", customGenerator: n.nowIndicatorContent, classNameGenerator: n.nowIndicatorClassNames, didMount: n.nowIndicatorDidMount, willUnmount: n.nowIndicatorWillUnmount }));
|
|
4934
|
-
}),
|
|
4935
|
-
class
|
|
4943
|
+
}), Oc = O({ day: "numeric" });
|
|
4944
|
+
class Fn extends T {
|
|
4936
4945
|
constructor() {
|
|
4937
4946
|
super(...arguments), this.refineRenderProps = rt(Pc);
|
|
4938
4947
|
}
|
|
@@ -4951,17 +4960,17 @@ class zn extends T {
|
|
|
4951
4960
|
return g(z, Object.assign({}, e, { elClasses: [
|
|
4952
4961
|
...On(i, n.theme),
|
|
4953
4962
|
...e.elClasses || []
|
|
4954
|
-
], elAttrs: Object.assign(Object.assign({}, e.elAttrs), i.isDisabled ? {} : { "data-date":
|
|
4963
|
+
], elAttrs: Object.assign(Object.assign({}, e.elAttrs), i.isDisabled ? {} : { "data-date": En(e.date) }), renderProps: i, generatorName: "dayCellContent", customGenerator: r.dayCellContent, defaultGenerator: e.defaultGenerator, classNameGenerator: (
|
|
4955
4964
|
// don't use custom classNames if disabled
|
|
4956
4965
|
i.isDisabled ? void 0 : r.dayCellClassNames
|
|
4957
4966
|
), didMount: r.dayCellDidMount, willUnmount: r.dayCellWillUnmount }));
|
|
4958
4967
|
}
|
|
4959
4968
|
}
|
|
4960
|
-
function
|
|
4961
|
-
return !!(t.dayCellContent ||
|
|
4969
|
+
function Wn(t) {
|
|
4970
|
+
return !!(t.dayCellContent || nn("dayCellContent", t));
|
|
4962
4971
|
}
|
|
4963
4972
|
function Pc(t) {
|
|
4964
|
-
let { date: e, dateEnv: n, dateProfile: r, isMonthStart: i } = t, s = Ji(e, t.todayRange, null, r), l = t.showDayNumber ? n.format(e, i ? t.monthStartFormat :
|
|
4973
|
+
let { date: e, dateEnv: n, dateProfile: r, isMonthStart: i } = t, s = Ji(e, t.todayRange, null, r), l = t.showDayNumber ? n.format(e, i ? t.monthStartFormat : Oc) : "";
|
|
4965
4974
|
return Object.assign(Object.assign(Object.assign({ date: n.toDate(e), view: t.viewApi }, s), {
|
|
4966
4975
|
isMonthStart: i,
|
|
4967
4976
|
dayNumberText: l
|
|
@@ -4970,7 +4979,7 @@ function Pc(t) {
|
|
|
4970
4979
|
class gs extends T {
|
|
4971
4980
|
render() {
|
|
4972
4981
|
let { props: e } = this, { seg: n } = e;
|
|
4973
|
-
return g(
|
|
4982
|
+
return g(jn, { elTag: "div", elClasses: ["fc-bg-event"], elStyle: { backgroundColor: n.eventRange.ui.backgroundColor }, defaultGenerator: Hc, seg: n, timeText: "", isDragging: !1, isResizing: !1, isDateSelecting: !1, isSelected: !1, isPast: e.isPast, isFuture: e.isFuture, isToday: e.isToday, disableDragging: !0, disableResizing: !0 });
|
|
4974
4983
|
}
|
|
4975
4984
|
}
|
|
4976
4985
|
function Hc(t) {
|
|
@@ -4990,11 +4999,11 @@ const ms = (t) => g($.Consumer, null, (e) => {
|
|
|
4990
4999
|
function Bc(t) {
|
|
4991
5000
|
return t.text;
|
|
4992
5001
|
}
|
|
4993
|
-
const
|
|
5002
|
+
const Qt = 10;
|
|
4994
5003
|
class Lc extends T {
|
|
4995
5004
|
constructor() {
|
|
4996
5005
|
super(...arguments), this.state = {
|
|
4997
|
-
titleId:
|
|
5006
|
+
titleId: Dt()
|
|
4998
5007
|
}, this.handleRootEl = (e) => {
|
|
4999
5008
|
this.rootEl = e, this.props.elRef && Z(this.props.elRef, e);
|
|
5000
5009
|
}, this.handleDocumentMouseDown = (e) => {
|
|
@@ -5034,9 +5043,9 @@ class Lc extends T {
|
|
|
5034
5043
|
let { isRtl: e } = this.context, { alignmentEl: n, alignGridTop: r } = this.props, { rootEl: i } = this, s = sc(n);
|
|
5035
5044
|
if (s) {
|
|
5036
5045
|
let l = i.getBoundingClientRect(), o = r ? P(n, ".fc-scrollgrid").getBoundingClientRect().top : s.top, a = e ? s.right - l.width : s.left;
|
|
5037
|
-
o = Math.max(o,
|
|
5046
|
+
o = Math.max(o, Qt), a = Math.min(a, document.documentElement.clientWidth - Qt - l.width), a = Math.max(a, Qt);
|
|
5038
5047
|
let d = i.offsetParent.getBoundingClientRect();
|
|
5039
|
-
|
|
5048
|
+
Ne(i, {
|
|
5040
5049
|
top: o - d.top,
|
|
5041
5050
|
left: a - d.left
|
|
5042
5051
|
});
|
|
@@ -5054,10 +5063,10 @@ class Uc extends G {
|
|
|
5054
5063
|
}
|
|
5055
5064
|
render() {
|
|
5056
5065
|
let { options: e, dateEnv: n } = this.context, { props: r } = this, { startDate: i, todayRange: s, dateProfile: l } = r, o = n.format(i, e.dayPopoverFormat);
|
|
5057
|
-
return g(
|
|
5066
|
+
return g(Fn, { elRef: this.handleRootEl, date: i, dateProfile: l, todayRange: s }, (a, d, c) => g(
|
|
5058
5067
|
Lc,
|
|
5059
5068
|
{ elRef: c.ref, id: r.id, title: o, extraClassNames: ["fc-more-popover"].concat(c.className || []), extraAttrs: c, parentEl: r.parentEl, alignmentEl: r.alignmentEl, alignGridTop: r.alignGridTop, onClose: r.onClose },
|
|
5060
|
-
|
|
5069
|
+
Wn(e) && g(a, { elTag: "div", elClasses: ["fc-more-popover-misc"] }),
|
|
5061
5070
|
r.children
|
|
5062
5071
|
));
|
|
5063
5072
|
}
|
|
@@ -5085,7 +5094,7 @@ class vs extends T {
|
|
|
5085
5094
|
constructor() {
|
|
5086
5095
|
super(...arguments), this.state = {
|
|
5087
5096
|
isPopoverOpen: !1,
|
|
5088
|
-
popoverId:
|
|
5097
|
+
popoverId: Dt()
|
|
5089
5098
|
}, this.handleLinkEl = (e) => {
|
|
5090
5099
|
this.linkEl = e, this.props.elRef && Z(this.props.elRef, e);
|
|
5091
5100
|
}, this.handleClick = (e) => {
|
|
@@ -5093,7 +5102,7 @@ class vs extends T {
|
|
|
5093
5102
|
function l(o) {
|
|
5094
5103
|
let { def: a, instance: d, range: c } = o.eventRange;
|
|
5095
5104
|
return {
|
|
5096
|
-
event: new
|
|
5105
|
+
event: new N(r, a, d),
|
|
5097
5106
|
start: r.dateEnv.toDate(c.start),
|
|
5098
5107
|
end: r.dateEnv.toDate(c.end),
|
|
5099
5108
|
isStart: o.isStart,
|
|
@@ -5115,7 +5124,7 @@ class vs extends T {
|
|
|
5115
5124
|
render() {
|
|
5116
5125
|
let { props: e, state: n } = this;
|
|
5117
5126
|
return g($.Consumer, null, (r) => {
|
|
5118
|
-
let { viewApi: i, options: s, calendarApi: l } = r, { moreLinkText: o } = s, { moreCnt: a } = e, d = Hr(e), c = typeof o == "function" ? o.call(l, a) : `+${a} ${o}`, h =
|
|
5127
|
+
let { viewApi: i, options: s, calendarApi: l } = r, { moreLinkText: o } = s, { moreCnt: a } = e, d = Hr(e), c = typeof o == "function" ? o.call(l, a) : `+${a} ${o}`, h = Oe(s.moreLinkHint, [a], c), f = {
|
|
5119
5128
|
num: a,
|
|
5120
5129
|
shortText: `+${a}`,
|
|
5121
5130
|
text: c,
|
|
@@ -5267,7 +5276,7 @@ function Zc(t, e) {
|
|
|
5267
5276
|
return null;
|
|
5268
5277
|
}
|
|
5269
5278
|
function As(t, e, n) {
|
|
5270
|
-
let r =
|
|
5279
|
+
let r = Dn([ys, n], ["buttonText"]);
|
|
5271
5280
|
delete r.code;
|
|
5272
5281
|
let { week: i } = r;
|
|
5273
5282
|
return delete r.week, {
|
|
@@ -5435,12 +5444,12 @@ se.prototype.iconOverridePrefix = "fc-icon-";
|
|
|
5435
5444
|
function ed(t, e) {
|
|
5436
5445
|
let n = {}, r;
|
|
5437
5446
|
for (r in t)
|
|
5438
|
-
|
|
5447
|
+
dn(r, n, t, e);
|
|
5439
5448
|
for (r in e)
|
|
5440
|
-
|
|
5449
|
+
dn(r, n, t, e);
|
|
5441
5450
|
return n;
|
|
5442
5451
|
}
|
|
5443
|
-
function
|
|
5452
|
+
function dn(t, e, n, r) {
|
|
5444
5453
|
if (e[t])
|
|
5445
5454
|
return e[t];
|
|
5446
5455
|
let i = td(t, e, n, r);
|
|
@@ -5451,7 +5460,7 @@ function td(t, e, n, r) {
|
|
|
5451
5460
|
if (a) {
|
|
5452
5461
|
if (a === t)
|
|
5453
5462
|
throw new Error("Can't have a custom view type that references itself");
|
|
5454
|
-
d =
|
|
5463
|
+
d = dn(a, e, n, r);
|
|
5455
5464
|
}
|
|
5456
5465
|
return !o && d && (o = d.component), o ? {
|
|
5457
5466
|
type: t,
|
|
@@ -5482,7 +5491,7 @@ function rd(t, e, n, r) {
|
|
|
5482
5491
|
function id(t, e, n, r, i) {
|
|
5483
5492
|
let s = t.overrides.duration || t.defaults.duration || r.duration || n.duration, l = null, o = "", a = "", d = {};
|
|
5484
5493
|
if (s && (l = sd(s), l)) {
|
|
5485
|
-
let f =
|
|
5494
|
+
let f = en(l);
|
|
5486
5495
|
o = f.unit, f.value === 1 && (a = o, d = e[o] ? e[o].rawOptions : {});
|
|
5487
5496
|
}
|
|
5488
5497
|
let c = (f) => {
|
|
@@ -5564,7 +5573,7 @@ function dd(t, e, n, r) {
|
|
|
5564
5573
|
case "CHANGE_VIEW_TYPE":
|
|
5565
5574
|
return n ? ws(t, i, r) : t;
|
|
5566
5575
|
case "FETCH_EVENT_SOURCES":
|
|
5567
|
-
return
|
|
5576
|
+
return Vn(t, e.sourceIds ? (
|
|
5568
5577
|
// why no type?
|
|
5569
5578
|
Ci(e.sourceIds)
|
|
5570
5579
|
) : Rs(t, r), i, e.isRefetch || !1, r);
|
|
@@ -5579,7 +5588,7 @@ function dd(t, e, n, r) {
|
|
|
5579
5588
|
}
|
|
5580
5589
|
function ud(t, e, n) {
|
|
5581
5590
|
let r = e ? e.activeRange : null;
|
|
5582
|
-
return
|
|
5591
|
+
return Vn(t, Rs(t, n), r, !0, n);
|
|
5583
5592
|
}
|
|
5584
5593
|
function Ds(t) {
|
|
5585
5594
|
for (let e in t)
|
|
@@ -5597,13 +5606,13 @@ function fd(t, e) {
|
|
|
5597
5606
|
return fe(t, (n) => n.sourceId !== e);
|
|
5598
5607
|
}
|
|
5599
5608
|
function ws(t, e, n) {
|
|
5600
|
-
return
|
|
5609
|
+
return Vn(t, fe(t, (r) => hd(r, e, n)), e, !1, n);
|
|
5601
5610
|
}
|
|
5602
5611
|
function hd(t, e, n) {
|
|
5603
5612
|
return _s(t, n) ? !n.options.lazyFetching || !t.fetchRange || t.isFetching || // always cancel outdated in-progress fetches
|
|
5604
5613
|
e.start < t.fetchRange.start || e.end > t.fetchRange.end : !t.latestFetchId;
|
|
5605
5614
|
}
|
|
5606
|
-
function
|
|
5615
|
+
function Vn(t, e, n, r, i) {
|
|
5607
5616
|
let s = {};
|
|
5608
5617
|
for (let l in t) {
|
|
5609
5618
|
let o = t[l];
|
|
@@ -5735,7 +5744,7 @@ function Ad(t, e, n, r, i, s) {
|
|
|
5735
5744
|
s.changeView(E);
|
|
5736
5745
|
}, (w = D.buttonTextOverride) || (I = r.getIconClass(E, l)) || (w = D.buttonTextDefault);
|
|
5737
5746
|
let R = D.buttonTextOverride || D.buttonTextDefault;
|
|
5738
|
-
x =
|
|
5747
|
+
x = Oe(
|
|
5739
5748
|
D.buttonTitleOverride || D.buttonTitleDefault || e.viewHint,
|
|
5740
5749
|
[R, E],
|
|
5741
5750
|
// view-name = buttonName
|
|
@@ -5746,12 +5755,12 @@ function Ad(t, e, n, r, i, s) {
|
|
|
5746
5755
|
s[E]();
|
|
5747
5756
|
}, (w = a[E]) || (I = r.getIconClass(E, l)) || (w = d[E]), E === "prevYear" || E === "nextYear") {
|
|
5748
5757
|
let R = E === "prevYear" ? "prev" : "next";
|
|
5749
|
-
x =
|
|
5758
|
+
x = Oe(c[R] || h[R], [
|
|
5750
5759
|
d.year || "year",
|
|
5751
5760
|
"year"
|
|
5752
5761
|
], d[E]);
|
|
5753
5762
|
} else
|
|
5754
|
-
x = (R) =>
|
|
5763
|
+
x = (R) => Oe(c[E] || h[E], [
|
|
5755
5764
|
d[R] || R,
|
|
5756
5765
|
R
|
|
5757
5766
|
], d[E]);
|
|
@@ -5854,7 +5863,7 @@ const Id = {
|
|
|
5854
5863
|
startRecur: p,
|
|
5855
5864
|
endRecur: p
|
|
5856
5865
|
};
|
|
5857
|
-
let
|
|
5866
|
+
let Nd = {
|
|
5858
5867
|
parse(t, e) {
|
|
5859
5868
|
if (t.daysOfWeek || t.startTime || t.endTime || t.startRecur || t.endRecur) {
|
|
5860
5869
|
let n = {
|
|
@@ -5878,9 +5887,9 @@ let Od = {
|
|
|
5878
5887
|
return r ? Pd(t.daysOfWeek, t.startTime, r, n) : [];
|
|
5879
5888
|
}
|
|
5880
5889
|
};
|
|
5881
|
-
const
|
|
5890
|
+
const Od = X({
|
|
5882
5891
|
name: "simple-recurring-event",
|
|
5883
|
-
recurringTypes: [
|
|
5892
|
+
recurringTypes: [Nd],
|
|
5884
5893
|
eventRefiners: Id
|
|
5885
5894
|
});
|
|
5886
5895
|
function Pd(t, e, n, r) {
|
|
@@ -5901,7 +5910,7 @@ const Hd = X({
|
|
|
5901
5910
|
}
|
|
5902
5911
|
});
|
|
5903
5912
|
function zr(t, e) {
|
|
5904
|
-
let n =
|
|
5913
|
+
let n = Cn(e.getCurrentData().eventSources);
|
|
5905
5914
|
if (n.length === 1 && t.length === 1 && Array.isArray(n[0]._raw) && Array.isArray(t[0])) {
|
|
5906
5915
|
e.dispatch({
|
|
5907
5916
|
type: "RESET_RAW_EVENTS",
|
|
@@ -5939,7 +5948,7 @@ const Ud = [
|
|
|
5939
5948
|
wd,
|
|
5940
5949
|
_d,
|
|
5941
5950
|
kd,
|
|
5942
|
-
|
|
5951
|
+
Od,
|
|
5943
5952
|
Hd,
|
|
5944
5953
|
X({
|
|
5945
5954
|
name: "misc",
|
|
@@ -5954,7 +5963,7 @@ const Ud = [
|
|
|
5954
5963
|
];
|
|
5955
5964
|
class jd {
|
|
5956
5965
|
constructor(e, n) {
|
|
5957
|
-
this.runTaskOption = e, this.drainedOption = n, this.queue = [], this.delayedRunner = new
|
|
5966
|
+
this.runTaskOption = e, this.drainedOption = n, this.queue = [], this.delayedRunner = new pn(this.drain.bind(this));
|
|
5958
5967
|
}
|
|
5959
5968
|
request(e, n) {
|
|
5960
5969
|
this.queue.push(e), this.delayedRunner.request(n);
|
|
@@ -5983,7 +5992,7 @@ class jd {
|
|
|
5983
5992
|
}
|
|
5984
5993
|
function zd(t, e, n) {
|
|
5985
5994
|
let r;
|
|
5986
|
-
return /^(year|month)$/.test(t.currentRangeUnit) ? r = t.currentRange : r = t.activeRange, n.formatRange(r.start, r.end,
|
|
5995
|
+
return /^(year|month)$/.test(t.currentRangeUnit) ? r = t.currentRange : r = t.activeRange, n.formatRange(r.start, r.end, O(e.titleFormat || Fd(t)), {
|
|
5987
5996
|
isEndExclusive: t.isRangeAllDay,
|
|
5988
5997
|
defaultSeparator: e.titleRangeSeparator
|
|
5989
5998
|
});
|
|
@@ -5999,7 +6008,7 @@ function Fd(t) {
|
|
|
5999
6008
|
}
|
|
6000
6009
|
class Wd {
|
|
6001
6010
|
constructor(e) {
|
|
6002
|
-
this.computeCurrentViewData = A(this._computeCurrentViewData), this.organizeRawLocales = A(Qc), this.buildLocale = A(Ss), this.buildPluginHooks = Xc(), this.buildDateEnv = A(Vd), this.buildTheme = A(Gd), this.parseToolbars = A(Sd), this.buildViewSpecs = A(rd), this.buildDateProfileGenerator = rt(qd), this.buildViewApi = A(Qd), this.buildViewUiProps = rt($d), this.buildEventUiBySource = A(Yd, V), this.buildEventUiBases = A(Zd), this.parseContextBusinessHours = rt(Xd), this.buildTitle = A(zd), this.emitter = new
|
|
6011
|
+
this.computeCurrentViewData = A(this._computeCurrentViewData), this.organizeRawLocales = A(Qc), this.buildLocale = A(Ss), this.buildPluginHooks = Xc(), this.buildDateEnv = A(Vd), this.buildTheme = A(Gd), this.parseToolbars = A(Sd), this.buildViewSpecs = A(rd), this.buildDateProfileGenerator = rt(qd), this.buildViewApi = A(Qd), this.buildViewUiProps = rt($d), this.buildEventUiBySource = A(Yd, V), this.buildEventUiBases = A(Zd), this.parseContextBusinessHours = rt(Xd), this.buildTitle = A(zd), this.emitter = new _t(), this.actionRunner = new jd(this._handleAction.bind(this), this.updateData.bind(this)), this.currentCalendarOptionsInput = {}, this.currentCalendarOptionsRefined = {}, this.currentViewOptionsInput = {}, this.currentViewOptionsRefined = {}, this.currentCalendarOptionsRefiners = {}, this.optionsForRefining = [], this.optionsForHandling = [], this.getCurrentData = () => this.data, this.dispatch = (f) => {
|
|
6003
6012
|
this.actionRunner.request(f);
|
|
6004
6013
|
}, this.props = e, this.actionRunner.pause();
|
|
6005
6014
|
let n = {}, r = this.computeOptionsData(e.optionOverrides, n, e.calendarApi), i = r.calendarOptions.initialView || r.pluginHooks.initialView, s = this.computeCurrentViewData(i, r, e.optionOverrides, n);
|
|
@@ -6035,7 +6044,7 @@ class Wd {
|
|
|
6035
6044
|
}, h = Object.assign(Object.assign({}, a), c);
|
|
6036
6045
|
for (let f of r.pluginHooks.reducers)
|
|
6037
6046
|
Object.assign(c, f(null, null, h));
|
|
6038
|
-
|
|
6047
|
+
Yt(c, a) && this.emitter.trigger("loading", !0), this.state = c, this.updateData(), this.actionRunner.resume();
|
|
6039
6048
|
}
|
|
6040
6049
|
resetOptions(e, n) {
|
|
6041
6050
|
let { props: r } = this;
|
|
@@ -6076,7 +6085,7 @@ class Wd {
|
|
|
6076
6085
|
}, I = Object.assign(Object.assign({}, d), C);
|
|
6077
6086
|
for (let R of l.pluginHooks.reducers)
|
|
6078
6087
|
Object.assign(C, R(r, e, I));
|
|
6079
|
-
let w =
|
|
6088
|
+
let w = Yt(r, d), x = Yt(C, d);
|
|
6080
6089
|
!w && x ? i.trigger("loading", !0) : w && !x && i.trigger("loading", !1), this.state = C, n.onAction && n.onAction(e);
|
|
6081
6090
|
}
|
|
6082
6091
|
updateData() {
|
|
@@ -6107,11 +6116,11 @@ class Wd {
|
|
|
6107
6116
|
}
|
|
6108
6117
|
// always called from behind a memoizer
|
|
6109
6118
|
processRawCalendarOptions(e, n) {
|
|
6110
|
-
let { locales: r, locale: i } =
|
|
6119
|
+
let { locales: r, locale: i } = Ut([
|
|
6111
6120
|
Pe,
|
|
6112
6121
|
e,
|
|
6113
6122
|
n
|
|
6114
|
-
]), s = this.organizeRawLocales(r), l = s.map, o = this.buildLocale(i || s.defaultCode, l).options, a = this.buildPluginHooks(e.plugins || [], Ud), d = this.currentCalendarOptionsRefiners = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},
|
|
6123
|
+
]), s = this.organizeRawLocales(r), l = s.map, o = this.buildLocale(i || s.defaultCode, l).options, a = this.buildPluginHooks(e.plugins || [], Ud), d = this.currentCalendarOptionsRefiners = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Cr), wr), Rr), a.listenerRefiners), a.optionRefiners), c = {}, h = Ut([
|
|
6115
6124
|
Pe,
|
|
6116
6125
|
o,
|
|
6117
6126
|
e,
|
|
@@ -6157,14 +6166,14 @@ class Wd {
|
|
|
6157
6166
|
return { viewSpec: s, options: l, dateProfileGenerator: a, viewApi: d };
|
|
6158
6167
|
}
|
|
6159
6168
|
processRawViewOptions(e, n, r, i, s) {
|
|
6160
|
-
let l =
|
|
6169
|
+
let l = Ut([
|
|
6161
6170
|
Pe,
|
|
6162
6171
|
e.optionDefaults,
|
|
6163
6172
|
r,
|
|
6164
6173
|
i,
|
|
6165
6174
|
e.optionOverrides,
|
|
6166
6175
|
s
|
|
6167
|
-
]), o = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},
|
|
6176
|
+
]), o = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Cr), wr), Rr), xo), n.listenerRefiners), n.optionRefiners), a = {}, d = this.currentViewOptionsInput, c = this.currentViewOptionsRefined, h = !1, f = {};
|
|
6168
6177
|
for (let u in l)
|
|
6169
6178
|
l[u] === d[u] || oe[u] && oe[u](l[u], d[u]) ? a[u] = c[u] : (l[u] === this.currentCalendarOptionsInput[u] || oe[u] && oe[u](l[u], this.currentCalendarOptionsInput[u]) ? u in this.currentCalendarOptionsRefined && (a[u] = this.currentCalendarOptionsRefined[u]) : o[u] ? a[u] = o[u](l[u]) : f[u] = l[u], h = !0);
|
|
6170
6179
|
return h && (this.currentViewOptionsInput = l, this.currentViewOptionsRefined = a), {
|
|
@@ -6213,7 +6222,7 @@ function Zd(t, e, n) {
|
|
|
6213
6222
|
function $d(t) {
|
|
6214
6223
|
let { options: e } = t;
|
|
6215
6224
|
return {
|
|
6216
|
-
eventUiSingleBase:
|
|
6225
|
+
eventUiSingleBase: mt({
|
|
6217
6226
|
display: e.eventDisplay,
|
|
6218
6227
|
editable: e.editable,
|
|
6219
6228
|
startEditable: e.eventStartEditable,
|
|
@@ -6227,14 +6236,14 @@ function $d(t) {
|
|
|
6227
6236
|
color: e.eventColor
|
|
6228
6237
|
// classNames: options.eventClassNames // render hook will handle this
|
|
6229
6238
|
}, t),
|
|
6230
|
-
selectionConfig:
|
|
6239
|
+
selectionConfig: mt({
|
|
6231
6240
|
constraint: e.selectConstraint,
|
|
6232
6241
|
overlap: typeof e.selectOverlap == "boolean" ? e.selectOverlap : void 0,
|
|
6233
6242
|
allow: e.selectAllow
|
|
6234
6243
|
}, t)
|
|
6235
6244
|
};
|
|
6236
6245
|
}
|
|
6237
|
-
function
|
|
6246
|
+
function Yt(t, e) {
|
|
6238
6247
|
for (let n of e.pluginHooks.isLoadingFuncs)
|
|
6239
6248
|
if (n(t))
|
|
6240
6249
|
return !0;
|
|
@@ -6328,7 +6337,7 @@ class eu extends _e {
|
|
|
6328
6337
|
let o = P(n.target, ".fc-event-forced-url"), a = o ? o.querySelector("a[href]").href : "";
|
|
6329
6338
|
s.emitter.trigger("eventClick", {
|
|
6330
6339
|
el: r,
|
|
6331
|
-
event: new
|
|
6340
|
+
event: new N(i.context, l.eventRange.def, l.eventRange.instance),
|
|
6332
6341
|
jsEvent: n,
|
|
6333
6342
|
view: s.viewApi
|
|
6334
6343
|
}), a && !n.defaultPrevented && (window.location.href = a);
|
|
@@ -6350,7 +6359,7 @@ class tu extends _e {
|
|
|
6350
6359
|
we(r) && (this.currentSegEl = r, this.triggerEvent("eventMouseEnter", n, r));
|
|
6351
6360
|
}, this.handleSegLeave = (n, r) => {
|
|
6352
6361
|
this.currentSegEl && (this.currentSegEl = null, this.triggerEvent("eventMouseLeave", n, r));
|
|
6353
|
-
}, this.removeHoverListeners =
|
|
6362
|
+
}, this.removeHoverListeners = Ol(
|
|
6354
6363
|
e.el,
|
|
6355
6364
|
".fc-event",
|
|
6356
6365
|
// on both fg and bg events
|
|
@@ -6365,7 +6374,7 @@ class tu extends _e {
|
|
|
6365
6374
|
let { component: i } = this, { context: s } = i, l = we(r);
|
|
6366
6375
|
(!n || i.isValidSegDownEl(n.target)) && s.emitter.trigger(e, {
|
|
6367
6376
|
el: r,
|
|
6368
|
-
event: new
|
|
6377
|
+
event: new N(s, l.eventRange.def, l.eventRange.instance),
|
|
6369
6378
|
jsEvent: n,
|
|
6370
6379
|
view: s.viewApi
|
|
6371
6380
|
});
|
|
@@ -6374,13 +6383,13 @@ class tu extends _e {
|
|
|
6374
6383
|
class nu extends ve {
|
|
6375
6384
|
constructor() {
|
|
6376
6385
|
super(...arguments), this.buildViewContext = A(Fo), this.buildViewPropTransformers = A(iu), this.buildToolbarProps = A(ru), this.headerRef = B(), this.footerRef = B(), this.interactionsStore = {}, this.state = {
|
|
6377
|
-
viewLabelId:
|
|
6386
|
+
viewLabelId: Dt()
|
|
6378
6387
|
}, this.registerInteractiveComponent = (e, n) => {
|
|
6379
6388
|
let r = Wa(e, n), l = [
|
|
6380
6389
|
eu,
|
|
6381
6390
|
tu
|
|
6382
6391
|
].concat(this.props.pluginHooks.componentInteractions).map((o) => new o(r));
|
|
6383
|
-
this.interactionsStore[e.uid] = l,
|
|
6392
|
+
this.interactionsStore[e.uid] = l, ln[e.uid] = r;
|
|
6384
6393
|
}, this.unregisterInteractiveComponent = (e) => {
|
|
6385
6394
|
let n = this.interactionsStore[e.uid];
|
|
6386
6395
|
if (n) {
|
|
@@ -6388,8 +6397,8 @@ class nu extends ve {
|
|
|
6388
6397
|
r.destroy();
|
|
6389
6398
|
delete this.interactionsStore[e.uid];
|
|
6390
6399
|
}
|
|
6391
|
-
delete
|
|
6392
|
-
}, this.resizeRunner = new
|
|
6400
|
+
delete ln[e.uid];
|
|
6401
|
+
}, this.resizeRunner = new pn(() => {
|
|
6393
6402
|
this.props.emitter.trigger("_resize", !0), this.props.emitter.trigger("windowResize", { view: this.props.viewApi });
|
|
6394
6403
|
}), this.handleWindowResize = (e) => {
|
|
6395
6404
|
let { options: n } = this.props;
|
|
@@ -6410,7 +6419,7 @@ class nu extends ve {
|
|
|
6410
6419
|
e.viewTitle
|
|
6411
6420
|
), s = !1, l = "", o;
|
|
6412
6421
|
e.isHeightAuto || e.forPrint ? l = "" : r.height != null ? s = !0 : r.contentHeight != null ? l = r.contentHeight : o = Math.max(r.aspectRatio, 0.5);
|
|
6413
|
-
let a = this.buildViewContext(e.viewSpec, e.viewApi, e.options, e.dateProfileGenerator, e.dateEnv, e.theme, e.pluginHooks, e.dispatch, e.getCurrentData, e.emitter, e.calendarApi, this.registerInteractiveComponent, this.unregisterInteractiveComponent), d = n.header && n.header.hasTitle ? this.state.viewLabelId :
|
|
6422
|
+
let a = this.buildViewContext(e.viewSpec, e.viewApi, e.options, e.dateProfileGenerator, e.dateEnv, e.theme, e.pluginHooks, e.dispatch, e.getCurrentData, e.emitter, e.calendarApi, this.registerInteractiveComponent, this.unregisterInteractiveComponent), d = n.header && n.header.hasTitle ? this.state.viewLabelId : void 0;
|
|
6414
6423
|
return g(
|
|
6415
6424
|
$.Provider,
|
|
6416
6425
|
{ value: a },
|
|
@@ -6493,7 +6502,7 @@ class su extends Va {
|
|
|
6493
6502
|
if (this.isRendering) {
|
|
6494
6503
|
this.isRendered = !0;
|
|
6495
6504
|
let { currentData: r } = this;
|
|
6496
|
-
|
|
6505
|
+
ht(() => {
|
|
6497
6506
|
Be(g(Fa, { options: r.calendarOptions, theme: r.theme, emitter: r.emitter }, (i, s, l, o) => (this.setClassNames(i), this.setHeight(s), g(
|
|
6498
6507
|
Ti.Provider,
|
|
6499
6508
|
{ value: this.customContentRenderId },
|
|
@@ -6502,7 +6511,7 @@ class su extends Va {
|
|
|
6502
6511
|
});
|
|
6503
6512
|
} else
|
|
6504
6513
|
this.isRendered && (this.isRendered = !1, Be(null, this.el), this.setClassNames([]), this.setHeight(""));
|
|
6505
|
-
}, wl(e), this.el = e, this.renderRunner = new
|
|
6514
|
+
}, wl(e), this.el = e, this.renderRunner = new pn(this.handleRenderRequest), new Wd({
|
|
6506
6515
|
optionOverrides: n,
|
|
6507
6516
|
calendarApi: this,
|
|
6508
6517
|
onAction: this.handleAction,
|
|
@@ -6517,7 +6526,7 @@ class su extends Va {
|
|
|
6517
6526
|
this.isRendering && (this.isRendering = !1, this.renderRunner.request());
|
|
6518
6527
|
}
|
|
6519
6528
|
updateSize() {
|
|
6520
|
-
|
|
6529
|
+
ht(() => {
|
|
6521
6530
|
super.updateSize();
|
|
6522
6531
|
});
|
|
6523
6532
|
}
|
|
@@ -6553,7 +6562,7 @@ const lu = {
|
|
|
6553
6562
|
events: !0,
|
|
6554
6563
|
eventSources: !0,
|
|
6555
6564
|
resources: !0
|
|
6556
|
-
}, ou =
|
|
6565
|
+
}, ou = St({
|
|
6557
6566
|
props: {
|
|
6558
6567
|
options: Object
|
|
6559
6568
|
},
|
|
@@ -6605,7 +6614,7 @@ const lu = {
|
|
|
6605
6614
|
this.getApi().destroy();
|
|
6606
6615
|
},
|
|
6607
6616
|
watch: du()
|
|
6608
|
-
}), au = ou, cu =
|
|
6617
|
+
}), au = ou, cu = St({
|
|
6609
6618
|
props: {
|
|
6610
6619
|
customRendering: Object
|
|
6611
6620
|
},
|
|
@@ -6687,7 +6696,7 @@ class pu extends G {
|
|
|
6687
6696
|
super(...arguments), this.headerElRef = B();
|
|
6688
6697
|
}
|
|
6689
6698
|
renderSimpleLayout(e, n) {
|
|
6690
|
-
let { props: r, context: i } = this, s = [], l =
|
|
6699
|
+
let { props: r, context: i } = this, s = [], l = yt(i.options);
|
|
6691
6700
|
return e && s.push({
|
|
6692
6701
|
type: "header",
|
|
6693
6702
|
key: "header",
|
|
@@ -6703,16 +6712,16 @@ class pu extends G {
|
|
|
6703
6712
|
liquid: !0,
|
|
6704
6713
|
chunk: { content: n }
|
|
6705
6714
|
}), g(
|
|
6706
|
-
|
|
6715
|
+
gt,
|
|
6707
6716
|
{ elClasses: ["fc-daygrid"], viewSpec: i.viewSpec },
|
|
6708
|
-
g(
|
|
6717
|
+
g(Un, { liquid: !r.isHeightAuto && !r.forPrint, collapsibleWidth: r.forPrint, cols: [], sections: s })
|
|
6709
6718
|
);
|
|
6710
6719
|
}
|
|
6711
6720
|
renderHScrollLayout(e, n, r, i) {
|
|
6712
6721
|
let s = this.context.pluginHooks.scrollGridImpl;
|
|
6713
6722
|
if (!s)
|
|
6714
6723
|
throw new Error("No ScrollGrid implementation");
|
|
6715
|
-
let { props: l, context: o } = this, a = !l.forPrint &&
|
|
6724
|
+
let { props: l, context: o } = this, a = !l.forPrint && yt(o.options), d = !l.forPrint && fs(o.options), c = [];
|
|
6716
6725
|
return e && c.push({
|
|
6717
6726
|
type: "header",
|
|
6718
6727
|
key: "header",
|
|
@@ -6737,10 +6746,10 @@ class pu extends G {
|
|
|
6737
6746
|
isSticky: !0,
|
|
6738
6747
|
chunks: [{
|
|
6739
6748
|
key: "main",
|
|
6740
|
-
content:
|
|
6749
|
+
content: cn
|
|
6741
6750
|
}]
|
|
6742
6751
|
}), g(
|
|
6743
|
-
|
|
6752
|
+
gt,
|
|
6744
6753
|
{ elClasses: ["fc-daygrid"], viewSpec: o.viewSpec },
|
|
6745
6754
|
g(s, { liquid: !l.isHeightAuto && !l.forPrint, forPrint: l.forPrint, collapsibleWidth: l.forPrint, colGroups: [{ cols: [{ span: r, minWidth: i }] }], sections: c })
|
|
6746
6755
|
);
|
|
@@ -6778,7 +6787,7 @@ function Vr(t, e) {
|
|
|
6778
6787
|
n[r] = null;
|
|
6779
6788
|
return n;
|
|
6780
6789
|
}
|
|
6781
|
-
const Ts =
|
|
6790
|
+
const Ts = O({
|
|
6782
6791
|
hour: "numeric",
|
|
6783
6792
|
minute: "2-digit",
|
|
6784
6793
|
omitZeroMinute: !0,
|
|
@@ -6799,7 +6808,7 @@ class ks extends T {
|
|
|
6799
6808
|
class Ms extends T {
|
|
6800
6809
|
render() {
|
|
6801
6810
|
let { props: e, context: n } = this, { options: r } = n, { seg: i } = e, s = r.eventTimeFormat || Ts, l = Gi(i, s, n, !0, e.defaultDisplayEventEnd);
|
|
6802
|
-
return g(
|
|
6811
|
+
return g(jn, Object.assign({}, e, { elTag: "a", elClasses: ["fc-daygrid-event", "fc-daygrid-dot-event"], elAttrs: Qi(e.seg, n), defaultGenerator: mu, timeText: l, isResizing: !1, isDateSelecting: !1 }));
|
|
6803
6812
|
}
|
|
6804
6813
|
}
|
|
6805
6814
|
function mu(t) {
|
|
@@ -6834,11 +6843,11 @@ function bu(t) {
|
|
|
6834
6843
|
e.push(r.seg), r.isVisible || n.push(r.seg);
|
|
6835
6844
|
return { allSegs: e, invisibleSegs: n };
|
|
6836
6845
|
}
|
|
6837
|
-
const yu =
|
|
6846
|
+
const yu = O({ week: "narrow" });
|
|
6838
6847
|
class Eu extends G {
|
|
6839
6848
|
constructor() {
|
|
6840
6849
|
super(...arguments), this.rootElRef = B(), this.state = {
|
|
6841
|
-
dayNumberId:
|
|
6850
|
+
dayNumberId: Dt()
|
|
6842
6851
|
}, this.handleRootEl = (e) => {
|
|
6843
6852
|
Z(this.rootElRef, e), Z(this.props.elRef, e);
|
|
6844
6853
|
};
|
|
@@ -6846,20 +6855,20 @@ class Eu extends G {
|
|
|
6846
6855
|
render() {
|
|
6847
6856
|
let { context: e, props: n, state: r, rootElRef: i } = this, { options: s, dateEnv: l } = e, { date: o, dateProfile: a } = n;
|
|
6848
6857
|
const d = n.showDayNumber && Au(o, a.currentRange, l);
|
|
6849
|
-
return g(
|
|
6858
|
+
return g(Fn, { elTag: "td", elRef: this.handleRootEl, elClasses: [
|
|
6850
6859
|
"fc-daygrid-day",
|
|
6851
6860
|
...n.extraClassNames || []
|
|
6852
6861
|
], elAttrs: Object.assign(Object.assign(Object.assign({}, n.extraDataAttrs), n.showDayNumber ? { "aria-labelledby": r.dayNumberId } : {}), { role: "gridcell" }), defaultGenerator: Su, date: o, dateProfile: a, todayRange: n.todayRange, showDayNumber: n.showDayNumber, isMonthStart: d, extraRenderProps: n.extraRenderProps }, (c, h) => g(
|
|
6853
6862
|
"div",
|
|
6854
6863
|
{ ref: n.innerElRef, className: "fc-daygrid-day-frame fc-scrollgrid-sync-inner", style: { minHeight: n.minHeight } },
|
|
6855
|
-
n.showWeekNumber && g(ms, { elTag: "a", elClasses: ["fc-daygrid-week-number"], elAttrs:
|
|
6856
|
-
!h.isDisabled && (n.showDayNumber ||
|
|
6864
|
+
n.showWeekNumber && g(ms, { elTag: "a", elClasses: ["fc-daygrid-week-number"], elAttrs: bt(e, o, "week"), date: o, defaultFormat: yu }),
|
|
6865
|
+
!h.isDisabled && (n.showDayNumber || Wn(s) || n.forceDayTop) ? g(
|
|
6857
6866
|
"div",
|
|
6858
6867
|
{ className: "fc-daygrid-day-top" },
|
|
6859
6868
|
g(c, { elTag: "a", elClasses: [
|
|
6860
6869
|
"fc-daygrid-day-number",
|
|
6861
6870
|
d && "fc-daygrid-month-start"
|
|
6862
|
-
], elAttrs: Object.assign(Object.assign({},
|
|
6871
|
+
], elAttrs: Object.assign(Object.assign({}, bt(e, o)), { id: r.dayNumberId }) })
|
|
6863
6872
|
) : n.showDayNumber ? (
|
|
6864
6873
|
// for creating correct amount of space (see issue #7162)
|
|
6865
6874
|
g(
|
|
@@ -6894,18 +6903,18 @@ function Au(t, e, n) {
|
|
|
6894
6903
|
function Is(t) {
|
|
6895
6904
|
return t.eventRange.instance.instanceId + ":" + t.firstCol;
|
|
6896
6905
|
}
|
|
6897
|
-
function
|
|
6906
|
+
function Ns(t) {
|
|
6898
6907
|
return Is(t) + ":" + t.lastCol;
|
|
6899
6908
|
}
|
|
6900
6909
|
function Du(t, e, n, r, i, s, l) {
|
|
6901
6910
|
let o = new Ru((E) => {
|
|
6902
6911
|
let y = t[E.index].eventRange.instance.instanceId + ":" + E.span.start + ":" + (E.span.end - 1);
|
|
6903
|
-
return i[y];
|
|
6912
|
+
return i[y] || 1;
|
|
6904
6913
|
});
|
|
6905
6914
|
o.allowReslicing = !0, o.strictOrder = r, e === !0 || n === !0 ? (o.maxCoord = s, o.hiddenConsumes = !0) : typeof e == "number" ? o.maxStackCnt = e : typeof n == "number" && (o.maxStackCnt = n, o.hiddenConsumes = !0);
|
|
6906
6915
|
let a = [], d = [];
|
|
6907
6916
|
for (let E = 0; E < t.length; E += 1) {
|
|
6908
|
-
let y = t[E], D =
|
|
6917
|
+
let y = t[E], D = Ns(y);
|
|
6909
6918
|
i[D] != null ? a.push({
|
|
6910
6919
|
index: E,
|
|
6911
6920
|
span: {
|
|
@@ -7032,15 +7041,15 @@ class Ru extends ts {
|
|
|
7032
7041
|
const d = ue(l);
|
|
7033
7042
|
if (!s[d])
|
|
7034
7043
|
if (this.allowReslicing) {
|
|
7035
|
-
const c = Object.assign(Object.assign({}, l), { span:
|
|
7036
|
-
s[h] = !0, i[o][a] = c, this.splitEntry(l, n, r);
|
|
7044
|
+
const c = Object.assign(Object.assign({}, l), { span: Bn(l.span, n.span) }), h = ue(c);
|
|
7045
|
+
s[h] = !0, i[o][a] = c, r.push(c), this.splitEntry(l, n, r);
|
|
7037
7046
|
} else
|
|
7038
7047
|
s[d] = !0, r.push(l);
|
|
7039
7048
|
}
|
|
7040
|
-
|
|
7049
|
+
super.handleInvalidInsertion(e, n, r);
|
|
7041
7050
|
}
|
|
7042
7051
|
}
|
|
7043
|
-
class
|
|
7052
|
+
class Os extends G {
|
|
7044
7053
|
constructor() {
|
|
7045
7054
|
super(...arguments), this.cellElRefs = new q(), this.frameElRefs = new q(), this.fgElRefs = new q(), this.segHarnessRefs = new q(), this.rootElRef = B(), this.state = {
|
|
7046
7055
|
framePositions: null,
|
|
@@ -7105,7 +7114,7 @@ class Ns extends G {
|
|
|
7105
7114
|
if (c)
|
|
7106
7115
|
for (let m of n) {
|
|
7107
7116
|
let { seg: v } = m, { instanceId: b } = v.eventRange.instance, E = m.isVisible && !i[b], y = m.isAbsolute, D = "", C = "";
|
|
7108
|
-
y && (a.isRtl ? (C = 0, D = c.lefts[v.lastCol] - c.lefts[v.firstCol]) : (D = 0, C = c.rights[v.firstCol] - c.rights[v.lastCol])), u.push(g("div", { className: "fc-daygrid-event-harness" + (y ? " fc-daygrid-event-harness-abs" : ""), key: Is(v), ref: f ? null : this.segHarnessRefs.createRef(
|
|
7117
|
+
y && (a.isRtl ? (C = 0, D = c.lefts[v.lastCol] - c.lefts[v.firstCol]) : (D = 0, C = c.rights[v.firstCol] - c.rights[v.lastCol])), u.push(g("div", { className: "fc-daygrid-event-harness" + (y ? " fc-daygrid-event-harness-abs" : ""), key: Is(v), ref: f ? null : this.segHarnessRefs.createRef(Ns(v)), style: {
|
|
7109
7118
|
visibility: E ? "" : "hidden",
|
|
7110
7119
|
marginTop: y ? "" : m.marginTop,
|
|
7111
7120
|
top: y ? m.absoluteTop : "",
|
|
@@ -7181,7 +7190,7 @@ class Ns extends G {
|
|
|
7181
7190
|
return this.props.cells.map((n) => e[n.key]);
|
|
7182
7191
|
}
|
|
7183
7192
|
}
|
|
7184
|
-
|
|
7193
|
+
Os.addStateEquality({
|
|
7185
7194
|
segHeights: V
|
|
7186
7195
|
});
|
|
7187
7196
|
function _u(t, e) {
|
|
@@ -7209,7 +7218,7 @@ class xu extends G {
|
|
|
7209
7218
|
}
|
|
7210
7219
|
render() {
|
|
7211
7220
|
let { props: e, context: n } = this, r = e.cells.length, i = this.splitBusinessHourSegs(e.businessHourSegs, r), s = this.splitBgEventSegs(e.bgEventSegs, r), l = this.splitFgEventSegs(e.fgEventSegs, r), o = this.splitDateSelectionSegs(e.dateSelectionSegs, r), a = this.splitEventDrag(e.eventDrag, r), d = this.splitEventResize(e.eventResize, r), c = r >= 7 && e.clientWidth ? e.clientWidth / n.options.aspectRatio / 6 : null;
|
|
7212
|
-
return g(ze, { unit: "day" }, (h, f) => g(M, null, e.cells.map((u, m) => g(
|
|
7221
|
+
return g(ze, { unit: "day" }, (h, f) => g(M, null, e.cells.map((u, m) => g(Os, {
|
|
7213
7222
|
ref: this.rowRefs.createRef(m),
|
|
7214
7223
|
key: u.length ? u[0].date.toISOString() : m,
|
|
7215
7224
|
showDayNumbers: r > 1,
|
|
@@ -7358,9 +7367,9 @@ class Mu extends G {
|
|
|
7358
7367
|
}
|
|
7359
7368
|
function Iu(t, e) {
|
|
7360
7369
|
let n;
|
|
7361
|
-
return e.currentRangeUnit.match(/year|month/) && (n = t.querySelector(`[data-date="${fo(e.currentDate)}-01"]`)), n || (n = t.querySelector(`[data-date="${
|
|
7370
|
+
return e.currentRangeUnit.match(/year|month/) && (n = t.querySelector(`[data-date="${fo(e.currentDate)}-01"]`)), n || (n = t.querySelector(`[data-date="${En(e.currentDate)}"]`)), n;
|
|
7362
7371
|
}
|
|
7363
|
-
class
|
|
7372
|
+
class Nu extends os {
|
|
7364
7373
|
constructor() {
|
|
7365
7374
|
super(...arguments), this.forceDayIfListItem = !0;
|
|
7366
7375
|
}
|
|
@@ -7370,14 +7379,14 @@ class Ou extends os {
|
|
|
7370
7379
|
}
|
|
7371
7380
|
class Ps extends G {
|
|
7372
7381
|
constructor() {
|
|
7373
|
-
super(...arguments), this.slicer = new
|
|
7382
|
+
super(...arguments), this.slicer = new Nu(), this.tableRef = B();
|
|
7374
7383
|
}
|
|
7375
7384
|
render() {
|
|
7376
7385
|
let { props: e, context: n } = this;
|
|
7377
7386
|
return g(Mu, Object.assign({ ref: this.tableRef }, this.slicer.sliceProps(e, e.dateProfile, e.nextDayThreshold, n, e.dayTableModel), { dateProfile: e.dateProfile, cells: e.dayTableModel.cells, colGroupNode: e.colGroupNode, tableMinWidth: e.tableMinWidth, renderRowIntro: e.renderRowIntro, dayMaxEvents: e.dayMaxEvents, dayMaxEventRows: e.dayMaxEventRows, showWeekNumbers: e.showWeekNumbers, expandRows: e.expandRows, headerAlignElRef: e.headerAlignElRef, clientWidth: e.clientWidth, clientHeight: e.clientHeight, forPrint: e.forPrint }));
|
|
7378
7387
|
}
|
|
7379
7388
|
}
|
|
7380
|
-
class
|
|
7389
|
+
class Ou extends pu {
|
|
7381
7390
|
constructor() {
|
|
7382
7391
|
super(...arguments), this.buildDayTableModel = A(Pu), this.headerRef = B(), this.tableRef = B();
|
|
7383
7392
|
}
|
|
@@ -7404,23 +7413,23 @@ class Hu extends Ii {
|
|
|
7404
7413
|
}
|
|
7405
7414
|
function Bu(t) {
|
|
7406
7415
|
let { dateEnv: e, currentRange: n } = t, { start: r, end: i } = n, s;
|
|
7407
|
-
if (t.snapToWeek && (r = e.startOfWeek(r), s = e.startOfWeek(i), s.valueOf() !== i.valueOf() && (i =
|
|
7416
|
+
if (t.snapToWeek && (r = e.startOfWeek(r), s = e.startOfWeek(i), s.valueOf() !== i.valueOf() && (i = br(s, 1))), t.fixedWeekCount) {
|
|
7408
7417
|
let l = e.startOfWeek(e.startOfMonth(H(n.end, -1))), o = Math.ceil(
|
|
7409
7418
|
// could be partial weeks due to hiddenDays
|
|
7410
7419
|
eo(l, i)
|
|
7411
7420
|
);
|
|
7412
|
-
i =
|
|
7421
|
+
i = br(i, 6 - o);
|
|
7413
7422
|
}
|
|
7414
7423
|
return { start: r, end: i };
|
|
7415
7424
|
}
|
|
7416
7425
|
var Lu = ':root{--fc-daygrid-event-dot-width:8px}.fc-daygrid-day-events:after,.fc-daygrid-day-events:before,.fc-daygrid-day-frame:after,.fc-daygrid-day-frame:before,.fc-daygrid-event-harness:after,.fc-daygrid-event-harness:before{clear:both;content:"";display:table}.fc .fc-daygrid-body{position:relative;z-index:1}.fc .fc-daygrid-day.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-daygrid-day-frame{min-height:100%;position:relative}.fc .fc-daygrid-day-top{display:flex;flex-direction:row-reverse}.fc .fc-day-other .fc-daygrid-day-top{opacity:.3}.fc .fc-daygrid-day-number{padding:4px;position:relative;z-index:4}.fc .fc-daygrid-month-start{font-size:1.1em;font-weight:700}.fc .fc-daygrid-day-events{margin-top:1px}.fc .fc-daygrid-body-balanced .fc-daygrid-day-events{left:0;position:absolute;right:0}.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events{min-height:2em;position:relative}.fc .fc-daygrid-body-natural .fc-daygrid-day-events{margin-bottom:1em}.fc .fc-daygrid-event-harness{position:relative}.fc .fc-daygrid-event-harness-abs{left:0;position:absolute;right:0;top:0}.fc .fc-daygrid-bg-harness{bottom:0;position:absolute;top:0}.fc .fc-daygrid-day-bg .fc-non-business{z-index:1}.fc .fc-daygrid-day-bg .fc-bg-event{z-index:2}.fc .fc-daygrid-day-bg .fc-highlight{z-index:3}.fc .fc-daygrid-event{margin-top:1px;z-index:6}.fc .fc-daygrid-event.fc-event-mirror{z-index:7}.fc .fc-daygrid-day-bottom{font-size:.85em;margin:0 2px}.fc .fc-daygrid-day-bottom:after,.fc .fc-daygrid-day-bottom:before{clear:both;content:"";display:table}.fc .fc-daygrid-more-link{border-radius:3px;cursor:pointer;line-height:1;margin-top:1px;max-width:100%;overflow:hidden;padding:2px;position:relative;white-space:nowrap;z-index:4}.fc .fc-daygrid-more-link:hover{background-color:rgba(0,0,0,.1)}.fc .fc-daygrid-week-number{background-color:var(--fc-neutral-bg-color);color:var(--fc-neutral-text-color);min-width:1.5em;padding:2px;position:absolute;text-align:center;top:0;z-index:5}.fc .fc-more-popover .fc-popover-body{min-width:220px;padding:10px}.fc-direction-ltr .fc-daygrid-event.fc-event-start,.fc-direction-rtl .fc-daygrid-event.fc-event-end{margin-left:2px}.fc-direction-ltr .fc-daygrid-event.fc-event-end,.fc-direction-rtl .fc-daygrid-event.fc-event-start{margin-right:2px}.fc-direction-ltr .fc-daygrid-more-link{float:left}.fc-direction-ltr .fc-daygrid-week-number{border-radius:0 0 3px 0;left:0}.fc-direction-rtl .fc-daygrid-more-link{float:right}.fc-direction-rtl .fc-daygrid-week-number{border-radius:0 0 0 3px;right:0}.fc-liquid-hack .fc-daygrid-day-frame{position:static}.fc-daygrid-event{border-radius:3px;font-size:var(--fc-small-font-size);position:relative;white-space:nowrap}.fc-daygrid-block-event .fc-event-time{font-weight:700}.fc-daygrid-block-event .fc-event-time,.fc-daygrid-block-event .fc-event-title{padding:1px}.fc-daygrid-dot-event{align-items:center;display:flex;padding:2px 0}.fc-daygrid-dot-event .fc-event-title{flex-grow:1;flex-shrink:1;font-weight:700;min-width:0;overflow:hidden}.fc-daygrid-dot-event.fc-event-mirror,.fc-daygrid-dot-event:hover{background:rgba(0,0,0,.1)}.fc-daygrid-dot-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-daygrid-event-dot{border:calc(var(--fc-daygrid-event-dot-width)/2) solid var(--fc-event-border-color);border-radius:calc(var(--fc-daygrid-event-dot-width)/2);box-sizing:content-box;height:0;margin:0 4px;width:0}.fc-direction-ltr .fc-daygrid-event .fc-event-time{margin-right:3px}.fc-direction-rtl .fc-daygrid-event .fc-event-time{margin-left:3px}';
|
|
7417
|
-
|
|
7426
|
+
gn(Lu);
|
|
7418
7427
|
var Uu = X({
|
|
7419
7428
|
name: "@fullcalendar/daygrid",
|
|
7420
7429
|
initialView: "dayGridMonth",
|
|
7421
7430
|
views: {
|
|
7422
7431
|
dayGrid: {
|
|
7423
|
-
component:
|
|
7432
|
+
component: Ou,
|
|
7424
7433
|
dateProfileGeneratorClass: Hu
|
|
7425
7434
|
},
|
|
7426
7435
|
dayGridDay: {
|
|
@@ -7441,9 +7450,8 @@ var Uu = X({
|
|
|
7441
7450
|
duration: { years: 1 }
|
|
7442
7451
|
}
|
|
7443
7452
|
}
|
|
7444
|
-
})
|
|
7445
|
-
|
|
7446
|
-
class zu extends Za {
|
|
7453
|
+
});
|
|
7454
|
+
class ju extends Za {
|
|
7447
7455
|
getKeyInfo() {
|
|
7448
7456
|
return {
|
|
7449
7457
|
allDay: {},
|
|
@@ -7457,7 +7465,7 @@ class zu extends Za {
|
|
|
7457
7465
|
return e.allDay ? Ra(e) ? ["timed", "allDay"] : ["allDay"] : ["timed"];
|
|
7458
7466
|
}
|
|
7459
7467
|
}
|
|
7460
|
-
const
|
|
7468
|
+
const zu = O({
|
|
7461
7469
|
hour: "numeric",
|
|
7462
7470
|
minute: "2-digit",
|
|
7463
7471
|
omitZeroMinute: !0,
|
|
@@ -7474,7 +7482,7 @@ function Hs(t) {
|
|
|
7474
7482
|
return g("td", { className: e.join(" "), "data-time": t.isoTimeStr });
|
|
7475
7483
|
let { dateEnv: r, options: i, viewApi: s } = n, l = (
|
|
7476
7484
|
// TODO: fully pre-parse
|
|
7477
|
-
i.slotLabelFormat == null ?
|
|
7485
|
+
i.slotLabelFormat == null ? zu : Array.isArray(i.slotLabelFormat) ? O(i.slotLabelFormat[0]) : O(i.slotLabelFormat)
|
|
7478
7486
|
), o = {
|
|
7479
7487
|
level: 0,
|
|
7480
7488
|
time: t.time,
|
|
@@ -7484,7 +7492,7 @@ function Hs(t) {
|
|
|
7484
7492
|
};
|
|
7485
7493
|
return g(z, { elTag: "td", elClasses: e, elAttrs: {
|
|
7486
7494
|
"data-time": t.isoTimeStr
|
|
7487
|
-
}, renderProps: o, generatorName: "slotLabelContent", customGenerator: i.slotLabelContent, defaultGenerator:
|
|
7495
|
+
}, renderProps: o, generatorName: "slotLabelContent", customGenerator: i.slotLabelContent, defaultGenerator: Fu, classNameGenerator: i.slotLabelClassNames, didMount: i.slotLabelDidMount, willUnmount: i.slotLabelWillUnmount }, (a) => g(
|
|
7488
7496
|
"div",
|
|
7489
7497
|
{ className: "fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame" },
|
|
7490
7498
|
g(a, { elTag: "div", elClasses: [
|
|
@@ -7494,10 +7502,10 @@ function Hs(t) {
|
|
|
7494
7502
|
));
|
|
7495
7503
|
});
|
|
7496
7504
|
}
|
|
7497
|
-
function
|
|
7505
|
+
function Fu(t) {
|
|
7498
7506
|
return t.text;
|
|
7499
7507
|
}
|
|
7500
|
-
class
|
|
7508
|
+
class Wu extends T {
|
|
7501
7509
|
render() {
|
|
7502
7510
|
return this.props.slatMetas.map((e) => g(
|
|
7503
7511
|
"tr",
|
|
@@ -7506,22 +7514,22 @@ class Vu extends T {
|
|
|
7506
7514
|
));
|
|
7507
7515
|
}
|
|
7508
7516
|
}
|
|
7509
|
-
const
|
|
7510
|
-
class
|
|
7517
|
+
const Vu = O({ week: "short" }), Gu = 5;
|
|
7518
|
+
class qu extends G {
|
|
7511
7519
|
constructor() {
|
|
7512
|
-
super(...arguments), this.allDaySplitter = new
|
|
7520
|
+
super(...arguments), this.allDaySplitter = new ju(), this.headerElRef = B(), this.rootElRef = B(), this.scrollerElRef = B(), this.state = {
|
|
7513
7521
|
slatCoords: null
|
|
7514
7522
|
}, this.handleScrollTopRequest = (e) => {
|
|
7515
7523
|
let n = this.scrollerElRef.current;
|
|
7516
7524
|
n && (n.scrollTop = e);
|
|
7517
7525
|
}, this.renderHeadAxis = (e, n = "") => {
|
|
7518
|
-
let { options: r } = this.context, { dateProfile: i } = this.props, s = i.renderRange, o = me(s.start, s.end) === 1 ?
|
|
7526
|
+
let { options: r } = this.context, { dateProfile: i } = this.props, s = i.renderRange, o = me(s.start, s.end) === 1 ? bt(this.context, s.start, "week") : {};
|
|
7519
7527
|
return r.weekNumbers && e === "day" ? g(ms, { elTag: "th", elClasses: [
|
|
7520
7528
|
"fc-timegrid-axis",
|
|
7521
7529
|
"fc-scrollgrid-shrink"
|
|
7522
7530
|
], elAttrs: {
|
|
7523
7531
|
"aria-hidden": !0
|
|
7524
|
-
}, date: s.start, defaultFormat:
|
|
7532
|
+
}, date: s.start, defaultFormat: Vu }, (a) => g(
|
|
7525
7533
|
"div",
|
|
7526
7534
|
{ className: [
|
|
7527
7535
|
"fc-timegrid-axis-frame",
|
|
@@ -7550,7 +7558,7 @@ class Qu extends G {
|
|
|
7550
7558
|
"fc-scrollgrid-shrink"
|
|
7551
7559
|
], elAttrs: {
|
|
7552
7560
|
"aria-hidden": !0
|
|
7553
|
-
}, renderProps: i, generatorName: "allDayContent", customGenerator: n.allDayContent, defaultGenerator:
|
|
7561
|
+
}, renderProps: i, generatorName: "allDayContent", customGenerator: n.allDayContent, defaultGenerator: Qu, classNameGenerator: n.allDayClassNames, didMount: n.allDayDidMount, willUnmount: n.allDayWillUnmount }, (s) => g(
|
|
7554
7562
|
"div",
|
|
7555
7563
|
{ className: [
|
|
7556
7564
|
"fc-timegrid-axis-frame",
|
|
@@ -7571,7 +7579,7 @@ class Qu extends G {
|
|
|
7571
7579
|
// rendering
|
|
7572
7580
|
// ----------------------------------------------------------------------------------------------------
|
|
7573
7581
|
renderSimpleLayout(e, n, r) {
|
|
7574
|
-
let { context: i, props: s } = this, l = [], o =
|
|
7582
|
+
let { context: i, props: s } = this, l = [], o = yt(i.options);
|
|
7575
7583
|
return e && l.push({
|
|
7576
7584
|
type: "header",
|
|
7577
7585
|
key: "header",
|
|
@@ -7606,16 +7614,16 @@ class Qu extends G {
|
|
|
7606
7614
|
content: r
|
|
7607
7615
|
}
|
|
7608
7616
|
}), g(
|
|
7609
|
-
|
|
7617
|
+
gt,
|
|
7610
7618
|
{ elRef: this.rootElRef, elClasses: ["fc-timegrid"], viewSpec: i.viewSpec },
|
|
7611
|
-
g(
|
|
7619
|
+
g(Un, { liquid: !s.isHeightAuto && !s.forPrint, collapsibleWidth: s.forPrint, cols: [{ width: "shrink" }], sections: l })
|
|
7612
7620
|
);
|
|
7613
7621
|
}
|
|
7614
7622
|
renderHScrollLayout(e, n, r, i, s, l, o) {
|
|
7615
7623
|
let a = this.context.pluginHooks.scrollGridImpl;
|
|
7616
7624
|
if (!a)
|
|
7617
7625
|
throw new Error("No ScrollGrid implementation");
|
|
7618
|
-
let { context: d, props: c } = this, h = !c.forPrint &&
|
|
7626
|
+
let { context: d, props: c } = this, h = !c.forPrint && yt(d.options), f = !c.forPrint && fs(d.options), u = [];
|
|
7619
7627
|
e && u.push({
|
|
7620
7628
|
type: "header",
|
|
7621
7629
|
key: "header",
|
|
@@ -7680,7 +7688,7 @@ class Qu extends G {
|
|
|
7680
7688
|
g(
|
|
7681
7689
|
"tbody",
|
|
7682
7690
|
null,
|
|
7683
|
-
g(
|
|
7691
|
+
g(Wu, { slatMetas: l })
|
|
7684
7692
|
)
|
|
7685
7693
|
),
|
|
7686
7694
|
g(
|
|
@@ -7691,7 +7699,7 @@ class Qu extends G {
|
|
|
7691
7699
|
/* hacky */
|
|
7692
7700
|
}, (b) => {
|
|
7693
7701
|
let E = m && o && o.safeComputeTop(b);
|
|
7694
|
-
return typeof E == "number" ? g(
|
|
7702
|
+
return typeof E == "number" ? g(zn, { elClasses: ["fc-timegrid-now-indicator-arrow"], elStyle: { top: E }, isAxis: !0, date: b }) : null;
|
|
7695
7703
|
})
|
|
7696
7704
|
)
|
|
7697
7705
|
)
|
|
@@ -7710,15 +7718,15 @@ class Qu extends G {
|
|
|
7710
7718
|
chunks: [
|
|
7711
7719
|
{
|
|
7712
7720
|
key: "axis",
|
|
7713
|
-
content:
|
|
7721
|
+
content: cn
|
|
7714
7722
|
},
|
|
7715
7723
|
{
|
|
7716
7724
|
key: "cols",
|
|
7717
|
-
content:
|
|
7725
|
+
content: cn
|
|
7718
7726
|
}
|
|
7719
7727
|
]
|
|
7720
7728
|
}), g(
|
|
7721
|
-
|
|
7729
|
+
gt,
|
|
7722
7730
|
{ elRef: this.rootElRef, elClasses: ["fc-timegrid"], viewSpec: d.viewSpec },
|
|
7723
7731
|
g(a, { liquid: !c.isHeightAuto && !c.forPrint, forPrint: c.forPrint, collapsibleWidth: !1, colGroups: [
|
|
7724
7732
|
{ width: "shrink", cols: [{ width: "shrink" }] },
|
|
@@ -7730,13 +7738,13 @@ class Qu extends G {
|
|
|
7730
7738
|
------------------------------------------------------------------------------------------------------------------*/
|
|
7731
7739
|
getAllDayMaxEventProps() {
|
|
7732
7740
|
let { dayMaxEvents: e, dayMaxEventRows: n } = this.context.options;
|
|
7733
|
-
return (e === !0 || n === !0) && (e = void 0, n =
|
|
7741
|
+
return (e === !0 || n === !0) && (e = void 0, n = Gu), { dayMaxEvents: e, dayMaxEventRows: n };
|
|
7734
7742
|
}
|
|
7735
7743
|
}
|
|
7736
|
-
function
|
|
7744
|
+
function Qu(t) {
|
|
7737
7745
|
return t.text;
|
|
7738
7746
|
}
|
|
7739
|
-
class
|
|
7747
|
+
class Yu {
|
|
7740
7748
|
constructor(e, n, r) {
|
|
7741
7749
|
this.positions = e, this.dateProfile = n, this.slotDuration = r;
|
|
7742
7750
|
}
|
|
@@ -7762,7 +7770,7 @@ class Zu {
|
|
|
7762
7770
|
return s = Math.max(0, s), s = Math.min(i, s), l = Math.floor(s), l = Math.min(l, i - 1), o = s - l, n.tops[l] + n.getHeight(l) * o;
|
|
7763
7771
|
}
|
|
7764
7772
|
}
|
|
7765
|
-
class
|
|
7773
|
+
class Zu extends T {
|
|
7766
7774
|
render() {
|
|
7767
7775
|
let { props: e, context: n } = this, { options: r } = n, { slatElRefs: i } = e;
|
|
7768
7776
|
return g("tbody", null, e.slatMetas.map((s, l) => {
|
|
@@ -7786,7 +7794,7 @@ class $u extends T {
|
|
|
7786
7794
|
}));
|
|
7787
7795
|
}
|
|
7788
7796
|
}
|
|
7789
|
-
class
|
|
7797
|
+
class $u extends T {
|
|
7790
7798
|
constructor() {
|
|
7791
7799
|
super(...arguments), this.rootElRef = B(), this.slatElRefs = new q();
|
|
7792
7800
|
}
|
|
@@ -7803,7 +7811,7 @@ class Xu extends T {
|
|
|
7803
7811
|
height: e.minHeight
|
|
7804
7812
|
} },
|
|
7805
7813
|
e.tableColGroupNode,
|
|
7806
|
-
g(
|
|
7814
|
+
g(Zu, { slatElRefs: this.slatElRefs, axis: e.axis, slatMetas: e.slatMetas })
|
|
7807
7815
|
)
|
|
7808
7816
|
);
|
|
7809
7817
|
}
|
|
@@ -7818,10 +7826,10 @@ class Xu extends T {
|
|
|
7818
7826
|
}
|
|
7819
7827
|
updateSizing() {
|
|
7820
7828
|
let { context: e, props: n } = this;
|
|
7821
|
-
n.onCoords && n.clientWidth !== null && this.rootElRef.current.offsetHeight && n.onCoords(new
|
|
7829
|
+
n.onCoords && n.clientWidth !== null && this.rootElRef.current.offsetHeight && n.onCoords(new Yu(new Re(this.rootElRef.current, Xu(this.slatElRefs.currentMap, n.slatMetas), !1, !0), this.props.dateProfile, e.options.slotDuration));
|
|
7822
7830
|
}
|
|
7823
7831
|
}
|
|
7824
|
-
function
|
|
7832
|
+
function Xu(t, e) {
|
|
7825
7833
|
return e.map((n) => t[n.key]);
|
|
7826
7834
|
}
|
|
7827
7835
|
function ke(t, e) {
|
|
@@ -7849,27 +7857,27 @@ function Gr(t, e) {
|
|
|
7849
7857
|
n[r] = null;
|
|
7850
7858
|
return n;
|
|
7851
7859
|
}
|
|
7852
|
-
class
|
|
7860
|
+
class Ju extends T {
|
|
7853
7861
|
render() {
|
|
7854
7862
|
let { props: e } = this;
|
|
7855
7863
|
return g(vs, { elClasses: ["fc-timegrid-more-link"], elStyle: {
|
|
7856
7864
|
top: e.top,
|
|
7857
7865
|
bottom: e.bottom
|
|
7858
|
-
}, allDayDate: null, moreCnt: e.hiddenSegs.length, allSegs: e.hiddenSegs, hiddenSegs: e.hiddenSegs, extraDateSpan: e.extraDateSpan, dateProfile: e.dateProfile, todayRange: e.todayRange, popoverContent: () => Ls(e.hiddenSegs, e), defaultGenerator:
|
|
7866
|
+
}, allDayDate: null, moreCnt: e.hiddenSegs.length, allSegs: e.hiddenSegs, hiddenSegs: e.hiddenSegs, extraDateSpan: e.extraDateSpan, dateProfile: e.dateProfile, todayRange: e.todayRange, popoverContent: () => Ls(e.hiddenSegs, e), defaultGenerator: Ku, forceTimed: !0 }, (n) => g(n, { elTag: "div", elClasses: ["fc-timegrid-more-link-inner", "fc-sticky"] }));
|
|
7859
7867
|
}
|
|
7860
7868
|
}
|
|
7861
|
-
function
|
|
7869
|
+
function Ku(t) {
|
|
7862
7870
|
return t.shortText;
|
|
7863
7871
|
}
|
|
7864
|
-
function
|
|
7872
|
+
function ef(t, e, n) {
|
|
7865
7873
|
let r = new ts();
|
|
7866
7874
|
e != null && (r.strictOrder = e), n != null && (r.maxStackCnt = n);
|
|
7867
|
-
let i = r.addSegs(t), s = ac(i), l =
|
|
7868
|
-
return l =
|
|
7875
|
+
let i = r.addSegs(t), s = ac(i), l = tf(r);
|
|
7876
|
+
return l = lf(l, 1), { segRects: of(l), hiddenGroups: s };
|
|
7869
7877
|
}
|
|
7870
|
-
function
|
|
7871
|
-
const { entriesByLevel: e } = t, n =
|
|
7872
|
-
let s =
|
|
7878
|
+
function tf(t) {
|
|
7879
|
+
const { entriesByLevel: e } = t, n = Gn((r, i) => r + ":" + i, (r, i) => {
|
|
7880
|
+
let s = sf(t, r, i), l = qr(s, n), o = e[r][i];
|
|
7873
7881
|
return [
|
|
7874
7882
|
Object.assign(Object.assign({}, o), { nextLevelNodes: l[0] }),
|
|
7875
7883
|
o.thickness + l[1]
|
|
@@ -7884,24 +7892,24 @@ function qr(t, e) {
|
|
|
7884
7892
|
let { level: n, lateralStart: r, lateralEnd: i } = t, s = r, l = [];
|
|
7885
7893
|
for (; s < i; )
|
|
7886
7894
|
l.push(e(n, s)), s += 1;
|
|
7887
|
-
return l.sort(
|
|
7888
|
-
l.map(
|
|
7895
|
+
return l.sort(nf), [
|
|
7896
|
+
l.map(rf),
|
|
7889
7897
|
l[0][1]
|
|
7890
7898
|
// first item's pressure
|
|
7891
7899
|
];
|
|
7892
7900
|
}
|
|
7893
|
-
function
|
|
7901
|
+
function nf(t, e) {
|
|
7894
7902
|
return e[1] - t[1];
|
|
7895
7903
|
}
|
|
7896
|
-
function
|
|
7904
|
+
function rf(t) {
|
|
7897
7905
|
return t[0];
|
|
7898
7906
|
}
|
|
7899
|
-
function
|
|
7907
|
+
function sf(t, e, n) {
|
|
7900
7908
|
let { levelCoords: r, entriesByLevel: i } = t, s = i[e][n], l = r[e] + s.thickness, o = r.length, a = e;
|
|
7901
7909
|
for (; a < o && r[a] < l; a += 1)
|
|
7902
7910
|
;
|
|
7903
7911
|
for (; a < o; a += 1) {
|
|
7904
|
-
let d = i[a], c, h =
|
|
7912
|
+
let d = i[a], c, h = an(d, s.span.start, on), f = h[0] + h[1], u = f;
|
|
7905
7913
|
for (
|
|
7906
7914
|
;
|
|
7907
7915
|
// loop through entries that horizontally intersect
|
|
@@ -7914,8 +7922,8 @@ function lf(t, e, n) {
|
|
|
7914
7922
|
}
|
|
7915
7923
|
return null;
|
|
7916
7924
|
}
|
|
7917
|
-
function
|
|
7918
|
-
const n =
|
|
7925
|
+
function lf(t, e) {
|
|
7926
|
+
const n = Gn((r, i, s) => ue(r), (r, i, s) => {
|
|
7919
7927
|
let { nextLevelNodes: l, thickness: o } = r, a = o + s, d = o / a, c, h = [];
|
|
7920
7928
|
if (!l.length)
|
|
7921
7929
|
c = e;
|
|
@@ -7933,9 +7941,9 @@ function of(t, e) {
|
|
|
7933
7941
|
});
|
|
7934
7942
|
return t.map((r) => n(r, 0, 0)[1]);
|
|
7935
7943
|
}
|
|
7936
|
-
function
|
|
7944
|
+
function of(t) {
|
|
7937
7945
|
let e = [];
|
|
7938
|
-
const n =
|
|
7946
|
+
const n = Gn((i, s, l) => ue(i), (i, s, l) => {
|
|
7939
7947
|
let o = Object.assign(Object.assign({}, i), {
|
|
7940
7948
|
levelCoord: s,
|
|
7941
7949
|
stackDepth: l,
|
|
@@ -7951,7 +7959,7 @@ function af(t) {
|
|
|
7951
7959
|
}
|
|
7952
7960
|
return r(t, 0, 0), e;
|
|
7953
7961
|
}
|
|
7954
|
-
function
|
|
7962
|
+
function Gn(t, e) {
|
|
7955
7963
|
const n = {};
|
|
7956
7964
|
return (...r) => {
|
|
7957
7965
|
let i = t(...r);
|
|
@@ -7975,7 +7983,7 @@ function Qr(t, e, n = null, r = 0) {
|
|
|
7975
7983
|
}
|
|
7976
7984
|
return i;
|
|
7977
7985
|
}
|
|
7978
|
-
function
|
|
7986
|
+
function af(t, e, n, r) {
|
|
7979
7987
|
let i = [], s = [];
|
|
7980
7988
|
for (let d = 0; d < t.length; d += 1) {
|
|
7981
7989
|
let c = e[d];
|
|
@@ -7985,7 +7993,7 @@ function cf(t, e, n, r) {
|
|
|
7985
7993
|
span: c
|
|
7986
7994
|
}) : s.push(t[d]);
|
|
7987
7995
|
}
|
|
7988
|
-
let { segRects: l, hiddenGroups: o } =
|
|
7996
|
+
let { segRects: l, hiddenGroups: o } = ef(i, n, r), a = [];
|
|
7989
7997
|
for (let d of l)
|
|
7990
7998
|
a.push({
|
|
7991
7999
|
seg: t[d.index],
|
|
@@ -7995,7 +8003,7 @@ function cf(t, e, n, r) {
|
|
|
7995
8003
|
a.push({ seg: d, rect: null });
|
|
7996
8004
|
return { segPlacements: a, hiddenGroups: o };
|
|
7997
8005
|
}
|
|
7998
|
-
const
|
|
8006
|
+
const cf = O({
|
|
7999
8007
|
hour: "numeric",
|
|
8000
8008
|
minute: "2-digit",
|
|
8001
8009
|
meridiem: !1
|
|
@@ -8006,10 +8014,10 @@ class Bs extends T {
|
|
|
8006
8014
|
"fc-timegrid-event",
|
|
8007
8015
|
"fc-v-event",
|
|
8008
8016
|
this.props.isShort && "fc-timegrid-event-short"
|
|
8009
|
-
], defaultTimeFormat:
|
|
8017
|
+
], defaultTimeFormat: cf }));
|
|
8010
8018
|
}
|
|
8011
8019
|
}
|
|
8012
|
-
class
|
|
8020
|
+
class df extends T {
|
|
8013
8021
|
constructor() {
|
|
8014
8022
|
super(...arguments), this.sortEventSegs = A(Vi);
|
|
8015
8023
|
}
|
|
@@ -8022,7 +8030,7 @@ class uf extends T {
|
|
|
8022
8030
|
// TODO: messy way to compute this
|
|
8023
8031
|
e.eventDrag && e.eventDrag.affectedInstances || e.eventResize && e.eventResize.affectedInstances || {}
|
|
8024
8032
|
), o = this.sortEventSegs(e.fgEventSegs, r.eventOrder);
|
|
8025
|
-
return g(
|
|
8033
|
+
return g(Fn, { elTag: "td", elRef: e.elRef, elClasses: [
|
|
8026
8034
|
"fc-timegrid-col",
|
|
8027
8035
|
...e.extraClassNames || []
|
|
8028
8036
|
], elAttrs: Object.assign({ role: "gridcell" }, e.extraDataAttrs), date: e.date, dateProfile: e.dateProfile, todayRange: e.todayRange, extraRenderProps: e.extraRenderProps }, (a) => g(
|
|
@@ -8038,7 +8046,7 @@ class uf extends T {
|
|
|
8038
8046
|
g("div", { className: "fc-timegrid-col-events" }, this.renderFgSegs(o, l, !1, !1, !1)),
|
|
8039
8047
|
g("div", { className: "fc-timegrid-col-events" }, this.renderFgSegs(s, {}, !!e.eventDrag, !!e.eventResize, !!i, "mirror")),
|
|
8040
8048
|
g("div", { className: "fc-timegrid-now-indicator-container" }, this.renderNowIndicator(e.nowIndicatorSegs)),
|
|
8041
|
-
|
|
8049
|
+
Wn(r) && g(a, { elTag: "div", elClasses: ["fc-timegrid-col-misc"] })
|
|
8042
8050
|
));
|
|
8043
8051
|
}
|
|
8044
8052
|
renderFgSegs(e, n, r, i, s, l) {
|
|
@@ -8046,13 +8054,13 @@ class uf extends T {
|
|
|
8046
8054
|
return o.forPrint ? Ls(e, o) : this.renderPositionedFgSegs(e, n, r, i, s, l);
|
|
8047
8055
|
}
|
|
8048
8056
|
renderPositionedFgSegs(e, n, r, i, s, l) {
|
|
8049
|
-
let { eventMaxStack: o, eventShortHeight: a, eventOrderStrict: d, eventMinHeight: c } = this.context.options, { date: h, slatCoords: f, eventSelection: u, todayRange: m, nowDate: v } = this.props, b = r || i || s, E = Qr(e, h, f, c), { segPlacements: y, hiddenGroups: D } =
|
|
8057
|
+
let { eventMaxStack: o, eventShortHeight: a, eventOrderStrict: d, eventMinHeight: c } = this.context.options, { date: h, slatCoords: f, eventSelection: u, todayRange: m, nowDate: v } = this.props, b = r || i || s, E = Qr(e, h, f, c), { segPlacements: y, hiddenGroups: D } = af(e, E, d, o);
|
|
8050
8058
|
return g(
|
|
8051
8059
|
M,
|
|
8052
8060
|
null,
|
|
8053
8061
|
this.renderHiddenGroups(D, e),
|
|
8054
8062
|
y.map((C) => {
|
|
8055
|
-
let { seg: I, rect: w } = C, x = I.eventRange.instance.instanceId, R = b || !!(!n[x] && w), J =
|
|
8063
|
+
let { seg: I, rect: w } = C, x = I.eventRange.instance.instanceId, R = b || !!(!n[x] && w), J = Zt(w && w.span), Te = !b && w ? this.computeSegHStyle(w) : { left: 0, right: 0 }, Vs = !!w && w.stackForward > 0, Gs = !!w && w.span.end - w.span.start < a;
|
|
8056
8064
|
return g(
|
|
8057
8065
|
"div",
|
|
8058
8066
|
{ className: "fc-timegrid-event-harness" + (Vs ? " fc-timegrid-event-harness-inset" : ""), key: l || x, style: Object.assign(Object.assign({ visibility: R ? "" : "hidden" }, J), Te) },
|
|
@@ -8065,21 +8073,21 @@ class uf extends T {
|
|
|
8065
8073
|
renderHiddenGroups(e, n) {
|
|
8066
8074
|
let { extraDateSpan: r, dateProfile: i, todayRange: s, nowDate: l, eventSelection: o, eventDrag: a, eventResize: d } = this.props;
|
|
8067
8075
|
return g(M, null, e.map((c) => {
|
|
8068
|
-
let h =
|
|
8069
|
-
return g(
|
|
8076
|
+
let h = Zt(c.span), f = uf(c.entries, n);
|
|
8077
|
+
return g(Ju, { key: Di(bs(f)), hiddenSegs: f, top: h.top, bottom: h.bottom, extraDateSpan: r, dateProfile: i, todayRange: s, nowDate: l, eventSelection: o, eventDrag: a, eventResize: d });
|
|
8070
8078
|
}));
|
|
8071
8079
|
}
|
|
8072
8080
|
renderFillSegs(e, n) {
|
|
8073
8081
|
let { props: r, context: i } = this, l = Qr(e, r.date, r.slatCoords, i.options.eventMinHeight).map((o, a) => {
|
|
8074
8082
|
let d = e[a];
|
|
8075
|
-
return g("div", { key: qi(d.eventRange), className: "fc-timegrid-bg-harness", style:
|
|
8083
|
+
return g("div", { key: qi(d.eventRange), className: "fc-timegrid-bg-harness", style: Zt(o) }, n === "bg-event" ? g(gs, Object.assign({ seg: d }, ne(d, r.todayRange, r.nowDate))) : ps(n));
|
|
8076
8084
|
});
|
|
8077
8085
|
return g(M, null, l);
|
|
8078
8086
|
}
|
|
8079
8087
|
renderNowIndicator(e) {
|
|
8080
8088
|
let { slatCoords: n, date: r } = this.props;
|
|
8081
8089
|
return n ? e.map((i, s) => g(
|
|
8082
|
-
|
|
8090
|
+
zn,
|
|
8083
8091
|
{
|
|
8084
8092
|
// key doesn't matter. will only ever be one
|
|
8085
8093
|
key: s,
|
|
@@ -8114,16 +8122,16 @@ function Ls(t, { todayRange: e, nowDate: n, eventSelection: r, eventDrag: i, eve
|
|
|
8114
8122
|
);
|
|
8115
8123
|
}));
|
|
8116
8124
|
}
|
|
8117
|
-
function
|
|
8125
|
+
function Zt(t) {
|
|
8118
8126
|
return t ? {
|
|
8119
8127
|
top: t.start,
|
|
8120
8128
|
bottom: -t.end
|
|
8121
8129
|
} : { top: "", bottom: "" };
|
|
8122
8130
|
}
|
|
8123
|
-
function
|
|
8131
|
+
function uf(t, e) {
|
|
8124
8132
|
return t.map((n) => e[n.index]);
|
|
8125
8133
|
}
|
|
8126
|
-
class
|
|
8134
|
+
class ff extends T {
|
|
8127
8135
|
constructor() {
|
|
8128
8136
|
super(...arguments), this.splitFgEventSegs = A(ke), this.splitBgEventSegs = A(ke), this.splitBusinessHourSegs = A(ke), this.splitNowIndicatorSegs = A(ke), this.splitDateSelectionSegs = A(ke), this.splitEventDrag = A(Gr), this.splitEventResize = A(Gr), this.rootElRef = B(), this.cellElRefs = new q();
|
|
8129
8137
|
}
|
|
@@ -8151,10 +8159,10 @@ class hf extends T {
|
|
|
8151
8159
|
g(
|
|
8152
8160
|
"div",
|
|
8153
8161
|
{ className: "fc-timegrid-col-frame" },
|
|
8154
|
-
g("div", { className: "fc-timegrid-now-indicator-container" }, typeof r == "number" && g(
|
|
8162
|
+
g("div", { className: "fc-timegrid-now-indicator-container" }, typeof r == "number" && g(zn, { elClasses: ["fc-timegrid-now-indicator-arrow"], elStyle: { top: r }, isAxis: !0, date: e.nowDate }))
|
|
8155
8163
|
)
|
|
8156
8164
|
),
|
|
8157
|
-
e.cells.map((f, u) => g(
|
|
8165
|
+
e.cells.map((f, u) => g(df, { key: f.key, elRef: this.cellElRefs.createRef(f.key), dateProfile: e.dateProfile, date: f.date, nowDate: e.nowDate, todayRange: e.todayRange, extraRenderProps: f.extraRenderProps, extraDataAttrs: f.extraDataAttrs, extraClassNames: f.extraClassNames, extraDateSpan: f.extraDateSpan, fgEventSegs: s[u], bgEventSegs: l[u], businessHourSegs: o[u], nowIndicatorSegs: a[u], dateSelectionSegs: d[u], eventDrag: c[u], eventResize: h[u], slatCoords: e.slatCoords, eventSelection: e.eventSelection, forPrint: e.forPrint }))
|
|
8158
8166
|
)
|
|
8159
8167
|
)
|
|
8160
8168
|
)
|
|
@@ -8170,19 +8178,19 @@ class hf extends T {
|
|
|
8170
8178
|
let { props: e } = this;
|
|
8171
8179
|
e.onColCoords && e.clientWidth !== null && e.onColCoords(new Re(
|
|
8172
8180
|
this.rootElRef.current,
|
|
8173
|
-
|
|
8181
|
+
hf(this.cellElRefs.currentMap, e.cells),
|
|
8174
8182
|
!0,
|
|
8175
8183
|
// horizontal
|
|
8176
8184
|
!1
|
|
8177
8185
|
));
|
|
8178
8186
|
}
|
|
8179
8187
|
}
|
|
8180
|
-
function
|
|
8188
|
+
function hf(t, e) {
|
|
8181
8189
|
return e.map((n) => t[n.key]);
|
|
8182
8190
|
}
|
|
8183
|
-
class
|
|
8191
|
+
class gf extends G {
|
|
8184
8192
|
constructor() {
|
|
8185
|
-
super(...arguments), this.processSlotOptions = A(
|
|
8193
|
+
super(...arguments), this.processSlotOptions = A(pf), this.state = {
|
|
8186
8194
|
slatCoords: null
|
|
8187
8195
|
}, this.handleRootEl = (e) => {
|
|
8188
8196
|
e ? this.context.registerInteractiveComponent(this, {
|
|
@@ -8215,8 +8223,8 @@ class pf extends G {
|
|
|
8215
8223
|
width: e.clientWidth,
|
|
8216
8224
|
minWidth: e.tableMinWidth
|
|
8217
8225
|
} },
|
|
8218
|
-
g(
|
|
8219
|
-
g(
|
|
8226
|
+
g($u, { axis: e.axis, dateProfile: e.dateProfile, slatMetas: e.slatMetas, clientWidth: e.clientWidth, minHeight: e.expandRows ? e.clientHeight : "", tableMinWidth: e.tableMinWidth, tableColGroupNode: e.axis ? e.tableColGroupNode : null, onCoords: this.handleSlatCoords }),
|
|
8227
|
+
g(ff, { cells: e.cells, axis: e.axis, dateProfile: e.dateProfile, businessHourSegs: e.businessHourSegs, bgEventSegs: e.bgEventSegs, fgEventSegs: e.fgEventSegs, dateSelectionSegs: e.dateSelectionSegs, eventSelection: e.eventSelection, eventDrag: e.eventDrag, eventResize: e.eventResize, todayRange: e.todayRange, nowDate: e.nowDate, nowIndicatorSegs: e.nowIndicatorSegs, clientWidth: e.clientWidth, tableMinWidth: e.tableMinWidth, tableColGroupNode: e.tableColGroupNode, slatCoords: n.slatCoords, onColCoords: this.handleColCoords, forPrint: e.forPrint })
|
|
8220
8228
|
);
|
|
8221
8229
|
}
|
|
8222
8230
|
componentDidMount() {
|
|
@@ -8231,7 +8239,7 @@ class pf extends G {
|
|
|
8231
8239
|
queryHit(e, n) {
|
|
8232
8240
|
let { dateEnv: r, options: i } = this.context, { colCoords: s } = this, { dateProfile: l } = this.props, { slatCoords: o } = this.state, { snapDuration: a, snapsPerSlot: d } = this.processSlotOptions(this.props.slotDuration, i.snapDuration), c = s.leftToIndex(e), h = o.positions.topToIndex(n);
|
|
8233
8241
|
if (c != null && h != null) {
|
|
8234
|
-
let f = this.props.cells[c], u = o.positions.tops[h], m = o.positions.getHeight(h), v = (n - u) / m, b = Math.floor(v * d), E = h * d + b, y = this.props.cells[c].date, D =
|
|
8242
|
+
let f = this.props.cells[c], u = o.positions.tops[h], m = o.positions.getHeight(h), v = (n - u) / m, b = Math.floor(v * d), E = h * d + b, y = this.props.cells[c].date, D = Kt(l.slotMinTime, $l(a, E)), C = r.add(y, D), I = r.add(C, a);
|
|
8235
8243
|
return {
|
|
8236
8244
|
dateProfile: l,
|
|
8237
8245
|
dateSpan: Object.assign({ range: { start: C, end: I }, allDay: !1 }, f.extraDateSpan),
|
|
@@ -8248,11 +8256,11 @@ class pf extends G {
|
|
|
8248
8256
|
return null;
|
|
8249
8257
|
}
|
|
8250
8258
|
}
|
|
8251
|
-
function
|
|
8252
|
-
let n = e || t, r =
|
|
8259
|
+
function pf(t, e) {
|
|
8260
|
+
let n = e || t, r = yn(t, n);
|
|
8253
8261
|
return r === null && (n = t, r = 1), { snapDuration: n, snapsPerSlot: r };
|
|
8254
8262
|
}
|
|
8255
|
-
class
|
|
8263
|
+
class mf extends os {
|
|
8256
8264
|
sliceRange(e, n) {
|
|
8257
8265
|
let r = [];
|
|
8258
8266
|
for (let i = 0; i < n.length; i += 1) {
|
|
@@ -8268,16 +8276,16 @@ class vf extends os {
|
|
|
8268
8276
|
return r;
|
|
8269
8277
|
}
|
|
8270
8278
|
}
|
|
8271
|
-
class
|
|
8279
|
+
class vf extends G {
|
|
8272
8280
|
constructor() {
|
|
8273
|
-
super(...arguments), this.buildDayRanges = A(
|
|
8281
|
+
super(...arguments), this.buildDayRanges = A(bf), this.slicer = new mf(), this.timeColsRef = B();
|
|
8274
8282
|
}
|
|
8275
8283
|
render() {
|
|
8276
8284
|
let { props: e, context: n } = this, { dateProfile: r, dayTableModel: i } = e, { nowIndicator: s, nextDayThreshold: l } = n.options, o = this.buildDayRanges(i, r, n.dateEnv);
|
|
8277
|
-
return g(ze, { unit: s ? "minute" : "day" }, (a, d) => g(
|
|
8285
|
+
return g(ze, { unit: s ? "minute" : "day" }, (a, d) => g(gf, Object.assign({ ref: this.timeColsRef }, this.slicer.sliceProps(e, r, null, n, o), { forPrint: e.forPrint, axis: e.axis, dateProfile: r, slatMetas: e.slatMetas, slotDuration: e.slotDuration, cells: i.cells[0], tableColGroupNode: e.tableColGroupNode, tableMinWidth: e.tableMinWidth, clientWidth: e.clientWidth, clientHeight: e.clientHeight, expandRows: e.expandRows, nowDate: a, nowIndicatorSegs: s && this.slicer.sliceNowDate(a, r, l, n, o), todayRange: d, onScrollTopRequest: e.onScrollTopRequest, onSlatCoords: e.onSlatCoords })));
|
|
8278
8286
|
}
|
|
8279
8287
|
}
|
|
8280
|
-
function
|
|
8288
|
+
function bf(t, e, n) {
|
|
8281
8289
|
let r = [];
|
|
8282
8290
|
for (let i of t.headerDates)
|
|
8283
8291
|
r.push({
|
|
@@ -8293,40 +8301,42 @@ const Yr = [
|
|
|
8293
8301
|
{ seconds: 30 },
|
|
8294
8302
|
{ seconds: 15 }
|
|
8295
8303
|
];
|
|
8296
|
-
function
|
|
8297
|
-
let s = /* @__PURE__ */ new Date(0), l = t, o = _(0), a = n ||
|
|
8304
|
+
function yf(t, e, n, r, i) {
|
|
8305
|
+
let s = /* @__PURE__ */ new Date(0), l = t, o = _(0), a = n || Ef(r), d = [];
|
|
8298
8306
|
for (; F(l) < F(e); ) {
|
|
8299
|
-
let c = i.add(s, l), h =
|
|
8307
|
+
let c = i.add(s, l), h = yn(o, a) !== null;
|
|
8300
8308
|
d.push({
|
|
8301
8309
|
date: c,
|
|
8302
8310
|
time: l,
|
|
8303
8311
|
key: c.toISOString(),
|
|
8304
8312
|
isoTimeStr: ho(c),
|
|
8305
8313
|
isLabeled: h
|
|
8306
|
-
}), l =
|
|
8314
|
+
}), l = Kt(l, r), o = Kt(o, r);
|
|
8307
8315
|
}
|
|
8308
8316
|
return d;
|
|
8309
8317
|
}
|
|
8310
|
-
function
|
|
8318
|
+
function Ef(t) {
|
|
8311
8319
|
let e, n, r;
|
|
8312
8320
|
for (e = Yr.length - 1; e >= 0; e -= 1)
|
|
8313
|
-
if (n = _(Yr[e]), r =
|
|
8321
|
+
if (n = _(Yr[e]), r = yn(n, t), r !== null && r > 1)
|
|
8314
8322
|
return n;
|
|
8315
8323
|
return t;
|
|
8316
8324
|
}
|
|
8317
|
-
class
|
|
8325
|
+
class Sf extends qu {
|
|
8318
8326
|
constructor() {
|
|
8319
|
-
super(...arguments), this.buildTimeColsModel = A(
|
|
8327
|
+
super(...arguments), this.buildTimeColsModel = A(Af), this.buildSlatMetas = A(yf);
|
|
8320
8328
|
}
|
|
8321
8329
|
render() {
|
|
8322
|
-
let { options: e, dateEnv: n, dateProfileGenerator: r } = this.context, { props: i } = this, { dateProfile: s } = i, l = this.buildTimeColsModel(s, r), o = this.allDaySplitter.splitProps(i), a = this.buildSlatMetas(s.slotMinTime, s.slotMaxTime, e.slotLabelInterval, e.slotDuration, n), { dayMinWidth: d } = e, c = !d, h = d, f = e.dayHeaders && g(is, { dates: l.headerDates, dateProfile: s, datesRepDistinctDays: !0, renderIntro: c ? this.renderHeadAxis : null }), u = e.allDaySlot !== !1 && ((v) => g(Ps, Object.assign({}, o.allDay, { dateProfile: s, dayTableModel: l, nextDayThreshold: e.nextDayThreshold, tableMinWidth: v.tableMinWidth, colGroupNode: v.tableColGroupNode, renderRowIntro: c ? this.renderTableRowAxis : null, showWeekNumbers: !1, expandRows: !1, headerAlignElRef: this.headerElRef, clientWidth: v.clientWidth, clientHeight: v.clientHeight, forPrint: i.forPrint }, this.getAllDayMaxEventProps()))), m = (v) => g(
|
|
8330
|
+
let { options: e, dateEnv: n, dateProfileGenerator: r } = this.context, { props: i } = this, { dateProfile: s } = i, l = this.buildTimeColsModel(s, r), o = this.allDaySplitter.splitProps(i), a = this.buildSlatMetas(s.slotMinTime, s.slotMaxTime, e.slotLabelInterval, e.slotDuration, n), { dayMinWidth: d } = e, c = !d, h = d, f = e.dayHeaders && g(is, { dates: l.headerDates, dateProfile: s, datesRepDistinctDays: !0, renderIntro: c ? this.renderHeadAxis : null }), u = e.allDaySlot !== !1 && ((v) => g(Ps, Object.assign({}, o.allDay, { dateProfile: s, dayTableModel: l, nextDayThreshold: e.nextDayThreshold, tableMinWidth: v.tableMinWidth, colGroupNode: v.tableColGroupNode, renderRowIntro: c ? this.renderTableRowAxis : null, showWeekNumbers: !1, expandRows: !1, headerAlignElRef: this.headerElRef, clientWidth: v.clientWidth, clientHeight: v.clientHeight, forPrint: i.forPrint }, this.getAllDayMaxEventProps()))), m = (v) => g(vf, Object.assign({}, o.timed, { dayTableModel: l, dateProfile: s, axis: c, slotDuration: e.slotDuration, slatMetas: a, forPrint: i.forPrint, tableColGroupNode: v.tableColGroupNode, tableMinWidth: v.tableMinWidth, clientWidth: v.clientWidth, clientHeight: v.clientHeight, onSlatCoords: this.handleSlatCoords, expandRows: v.expandRows, onScrollTopRequest: this.handleScrollTopRequest }));
|
|
8323
8331
|
return h ? this.renderHScrollLayout(f, u, m, l.colCnt, d, a, this.state.slatCoords) : this.renderSimpleLayout(f, u, m);
|
|
8324
8332
|
}
|
|
8325
8333
|
}
|
|
8326
|
-
function
|
|
8334
|
+
function Af(t, e) {
|
|
8327
8335
|
let n = new ss(t.renderRange, e);
|
|
8328
8336
|
return new ls(n, !1);
|
|
8329
8337
|
}
|
|
8338
|
+
var Df = '.fc-v-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-v-event .fc-event-main{color:var(--fc-event-text-color);height:100%}.fc-v-event .fc-event-main-frame{display:flex;flex-direction:column;height:100%}.fc-v-event .fc-event-time{flex-grow:0;flex-shrink:0;max-height:100%;overflow:hidden}.fc-v-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-height:0}.fc-v-event .fc-event-title{bottom:0;max-height:100%;overflow:hidden;top:0}.fc-v-event:not(.fc-event-start){border-top-left-radius:0;border-top-right-radius:0;border-top-width:0}.fc-v-event:not(.fc-event-end){border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-width:0}.fc-v-event.fc-event-selected:before{left:-10px;right:-10px}.fc-v-event .fc-event-resizer-start{cursor:n-resize}.fc-v-event .fc-event-resizer-end{cursor:s-resize}.fc-v-event:not(.fc-event-selected) .fc-event-resizer{height:var(--fc-event-resizer-thickness);left:0;right:0}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-start{top:calc(var(--fc-event-resizer-thickness)/-2)}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-end{bottom:calc(var(--fc-event-resizer-thickness)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer{left:50%;margin-left:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer-start{top:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer-end{bottom:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc .fc-timegrid .fc-daygrid-body{z-index:2}.fc .fc-timegrid-divider{padding:0 0 2px}.fc .fc-timegrid-body{min-height:100%;position:relative;z-index:1}.fc .fc-timegrid-axis-chunk{position:relative}.fc .fc-timegrid-axis-chunk>table,.fc .fc-timegrid-slots{position:relative;z-index:1}.fc .fc-timegrid-slot{border-bottom:0;height:1.5em}.fc .fc-timegrid-slot:empty:before{content:"\\00a0"}.fc .fc-timegrid-slot-minor{border-top-style:dotted}.fc .fc-timegrid-slot-label-cushion{display:inline-block;white-space:nowrap}.fc .fc-timegrid-slot-label{vertical-align:middle}.fc .fc-timegrid-axis-cushion,.fc .fc-timegrid-slot-label-cushion{padding:0 4px}.fc .fc-timegrid-axis-frame-liquid{height:100%}.fc .fc-timegrid-axis-frame{align-items:center;display:flex;justify-content:flex-end;overflow:hidden}.fc .fc-timegrid-axis-cushion{flex-shrink:0;max-width:60px}.fc-direction-ltr .fc-timegrid-slot-label-frame{text-align:right}.fc-direction-rtl .fc-timegrid-slot-label-frame{text-align:left}.fc-liquid-hack .fc-timegrid-axis-frame-liquid{bottom:0;height:auto;left:0;position:absolute;right:0;top:0}.fc .fc-timegrid-col.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-timegrid-col-frame{min-height:100%;position:relative}.fc-media-screen.fc-liquid-hack .fc-timegrid-col-frame{bottom:0;height:auto;left:0;position:absolute;right:0;top:0}.fc-media-screen .fc-timegrid-cols{bottom:0;left:0;position:absolute;right:0;top:0}.fc-media-screen .fc-timegrid-cols>table{height:100%}.fc-media-screen .fc-timegrid-col-bg,.fc-media-screen .fc-timegrid-col-events,.fc-media-screen .fc-timegrid-now-indicator-container{left:0;position:absolute;right:0;top:0}.fc .fc-timegrid-col-bg{z-index:2}.fc .fc-timegrid-col-bg .fc-non-business{z-index:1}.fc .fc-timegrid-col-bg .fc-bg-event{z-index:2}.fc .fc-timegrid-col-bg .fc-highlight{z-index:3}.fc .fc-timegrid-bg-harness{left:0;position:absolute;right:0}.fc .fc-timegrid-col-events{z-index:3}.fc .fc-timegrid-now-indicator-container{bottom:0;overflow:hidden}.fc-direction-ltr .fc-timegrid-col-events{margin:0 2.5% 0 2px}.fc-direction-rtl .fc-timegrid-col-events{margin:0 2px 0 2.5%}.fc-timegrid-event-harness{position:absolute}.fc-timegrid-event-harness>.fc-timegrid-event{bottom:0;left:0;position:absolute;right:0;top:0}.fc-timegrid-event-harness-inset .fc-timegrid-event,.fc-timegrid-event.fc-event-mirror,.fc-timegrid-more-link{box-shadow:0 0 0 1px var(--fc-page-bg-color)}.fc-timegrid-event,.fc-timegrid-more-link{border-radius:3px;font-size:var(--fc-small-font-size)}.fc-timegrid-event{margin-bottom:1px}.fc-timegrid-event .fc-event-main{padding:1px 1px 0}.fc-timegrid-event .fc-event-time{font-size:var(--fc-small-font-size);margin-bottom:1px;white-space:nowrap}.fc-timegrid-event-short .fc-event-main-frame{flex-direction:row;overflow:hidden}.fc-timegrid-event-short .fc-event-time:after{content:"\\00a0-\\00a0"}.fc-timegrid-event-short .fc-event-title{font-size:var(--fc-small-font-size)}.fc-timegrid-more-link{background:var(--fc-more-link-bg-color);color:var(--fc-more-link-text-color);cursor:pointer;margin-bottom:1px;position:absolute;z-index:9999}.fc-timegrid-more-link-inner{padding:3px 2px;top:0}.fc-direction-ltr .fc-timegrid-more-link{right:0}.fc-direction-rtl .fc-timegrid-more-link{left:0}.fc .fc-timegrid-now-indicator-line{border-color:var(--fc-now-indicator-color);border-style:solid;border-width:1px 0 0;left:0;position:absolute;right:0;z-index:4}.fc .fc-timegrid-now-indicator-arrow{border-color:var(--fc-now-indicator-color);border-style:solid;margin-top:-5px;position:absolute;z-index:4}.fc-direction-ltr .fc-timegrid-now-indicator-arrow{border-bottom-color:transparent;border-top-color:transparent;border-width:5px 0 5px 6px;left:0}.fc-direction-rtl .fc-timegrid-now-indicator-arrow{border-bottom-color:transparent;border-top-color:transparent;border-width:5px 6px 5px 0;right:0}';
|
|
8339
|
+
gn(Df);
|
|
8330
8340
|
const Cf = {
|
|
8331
8341
|
allDaySlot: Boolean
|
|
8332
8342
|
};
|
|
@@ -8336,7 +8346,7 @@ var wf = X({
|
|
|
8336
8346
|
optionRefiners: Cf,
|
|
8337
8347
|
views: {
|
|
8338
8348
|
timeGrid: {
|
|
8339
|
-
component:
|
|
8349
|
+
component: Sf,
|
|
8340
8350
|
usesMinMaxTime: !0,
|
|
8341
8351
|
allDaySlot: !0,
|
|
8342
8352
|
slotDuration: "00:30:00",
|
|
@@ -8353,8 +8363,8 @@ var wf = X({
|
|
|
8353
8363
|
}
|
|
8354
8364
|
}
|
|
8355
8365
|
});
|
|
8356
|
-
|
|
8357
|
-
let
|
|
8366
|
+
Ln.touchMouseIgnoreWait = 500;
|
|
8367
|
+
let un = 0, Et = 0, fn = !1;
|
|
8358
8368
|
class Us {
|
|
8359
8369
|
constructor(e) {
|
|
8360
8370
|
this.subjectEl = null, this.selector = "", this.handleSelector = "", this.shouldIgnoreMove = !1, this.shouldWatchScroll = !0, this.isDragging = !1, this.isTouchDragging = !1, this.wasTouchScroll = !1, this.handleMouseDown = (n) => {
|
|
@@ -8387,7 +8397,7 @@ class Us {
|
|
|
8387
8397
|
this.wasTouchScroll = !0;
|
|
8388
8398
|
}, this.handleScroll = (n) => {
|
|
8389
8399
|
if (!this.shouldIgnoreMove) {
|
|
8390
|
-
let r = window.
|
|
8400
|
+
let r = window.scrollX - this.prevScrollX + this.prevPageX, i = window.scrollY - this.prevScrollY + this.prevPageY;
|
|
8391
8401
|
this.emitter.trigger("pointermove", {
|
|
8392
8402
|
origEvent: n,
|
|
8393
8403
|
isTouch: this.isTouchDragging,
|
|
@@ -8398,7 +8408,7 @@ class Us {
|
|
|
8398
8408
|
deltaY: i - this.origPageY
|
|
8399
8409
|
});
|
|
8400
8410
|
}
|
|
8401
|
-
}, this.containerEl = e, this.emitter = new
|
|
8411
|
+
}, this.containerEl = e, this.emitter = new _t(), e.addEventListener("mousedown", this.handleMouseDown), e.addEventListener("touchstart", this.handleTouchStart, { passive: !0 }), Tf();
|
|
8402
8412
|
}
|
|
8403
8413
|
destroy() {
|
|
8404
8414
|
this.containerEl.removeEventListener("mousedown", this.handleMouseDown), this.containerEl.removeEventListener("touchstart", this.handleTouchStart, { passive: !0 }), xf();
|
|
@@ -8408,17 +8418,17 @@ class Us {
|
|
|
8408
8418
|
return n && (!this.handleSelector || P(r, this.handleSelector)) ? (this.subjectEl = n, this.isDragging = !0, this.wasTouchScroll = !1, !0) : !1;
|
|
8409
8419
|
}
|
|
8410
8420
|
cleanup() {
|
|
8411
|
-
|
|
8421
|
+
fn = !1, this.isDragging = !1, this.subjectEl = null, this.destroyScrollWatch();
|
|
8412
8422
|
}
|
|
8413
8423
|
querySubjectEl(e) {
|
|
8414
8424
|
return this.selector ? P(e.target, this.selector) : this.containerEl;
|
|
8415
8425
|
}
|
|
8416
8426
|
shouldIgnoreMouse() {
|
|
8417
|
-
return
|
|
8427
|
+
return un || this.isTouchDragging;
|
|
8418
8428
|
}
|
|
8419
8429
|
// can be called by user of this class, to cancel touch-based scrolling for the current drag
|
|
8420
8430
|
cancelTouchScroll() {
|
|
8421
|
-
this.isDragging && (
|
|
8431
|
+
this.isDragging && (fn = !0);
|
|
8422
8432
|
}
|
|
8423
8433
|
// Scrolling that simulates pointermoves
|
|
8424
8434
|
// ----------------------------------------------------------------------------------------------------
|
|
@@ -8426,7 +8436,7 @@ class Us {
|
|
|
8426
8436
|
this.shouldWatchScroll && (this.recordCoords(e), window.addEventListener("scroll", this.handleScroll, !0));
|
|
8427
8437
|
}
|
|
8428
8438
|
recordCoords(e) {
|
|
8429
|
-
this.shouldWatchScroll && (this.prevPageX = e.pageX, this.prevPageY = e.pageY, this.prevScrollX = window.
|
|
8439
|
+
this.shouldWatchScroll && (this.prevPageX = e.pageX, this.prevPageY = e.pageY, this.prevScrollX = window.scrollX, this.prevScrollY = window.scrollY);
|
|
8430
8440
|
}
|
|
8431
8441
|
destroyScrollWatch() {
|
|
8432
8442
|
this.shouldWatchScroll && window.removeEventListener("scroll", this.handleScroll, !0);
|
|
@@ -8462,28 +8472,28 @@ function Rf(t) {
|
|
|
8462
8472
|
return t.button === 0 && !t.ctrlKey;
|
|
8463
8473
|
}
|
|
8464
8474
|
function _f() {
|
|
8465
|
-
|
|
8466
|
-
|
|
8467
|
-
},
|
|
8475
|
+
un += 1, setTimeout(() => {
|
|
8476
|
+
un -= 1;
|
|
8477
|
+
}, Ln.touchMouseIgnoreWait);
|
|
8468
8478
|
}
|
|
8469
8479
|
function Tf() {
|
|
8470
|
-
|
|
8480
|
+
Et += 1, Et === 1 && window.addEventListener("touchmove", js, { passive: !1 });
|
|
8471
8481
|
}
|
|
8472
8482
|
function xf() {
|
|
8473
|
-
|
|
8483
|
+
Et -= 1, Et || window.removeEventListener("touchmove", js, { passive: !1 });
|
|
8474
8484
|
}
|
|
8475
8485
|
function js(t) {
|
|
8476
|
-
|
|
8486
|
+
fn && t.preventDefault();
|
|
8477
8487
|
}
|
|
8478
8488
|
class kf {
|
|
8479
8489
|
constructor() {
|
|
8480
8490
|
this.isVisible = !1, this.sourceEl = null, this.mirrorEl = null, this.sourceElRect = null, this.parentNode = document.body, this.zIndex = 9999, this.revertDuration = 0;
|
|
8481
8491
|
}
|
|
8482
8492
|
start(e, n, r) {
|
|
8483
|
-
this.sourceEl = e, this.sourceElRect = this.sourceEl.getBoundingClientRect(), this.origScreenX = n - window.
|
|
8493
|
+
this.sourceEl = e, this.sourceElRect = this.sourceEl.getBoundingClientRect(), this.origScreenX = n - window.scrollX, this.origScreenY = r - window.scrollY, this.deltaX = 0, this.deltaY = 0, this.updateElPosition();
|
|
8484
8494
|
}
|
|
8485
8495
|
handleMove(e, n) {
|
|
8486
|
-
this.deltaX = e - window.
|
|
8496
|
+
this.deltaX = e - window.scrollX - this.origScreenX, this.deltaY = n - window.scrollY - this.origScreenY, this.updateElPosition();
|
|
8487
8497
|
}
|
|
8488
8498
|
// can be called before start
|
|
8489
8499
|
setIsVisible(e) {
|
|
@@ -8499,7 +8509,7 @@ class kf {
|
|
|
8499
8509
|
}
|
|
8500
8510
|
doRevertAnimation(e, n) {
|
|
8501
8511
|
let r = this.mirrorEl, i = this.sourceEl.getBoundingClientRect();
|
|
8502
|
-
r.style.transition = "top " + n + "ms,left " + n + "ms",
|
|
8512
|
+
r.style.transition = "top " + n + "ms,left " + n + "ms", Ne(r, {
|
|
8503
8513
|
left: i.left,
|
|
8504
8514
|
top: i.top
|
|
8505
8515
|
}), Pl(r, () => {
|
|
@@ -8507,17 +8517,17 @@ class kf {
|
|
|
8507
8517
|
});
|
|
8508
8518
|
}
|
|
8509
8519
|
cleanup() {
|
|
8510
|
-
this.mirrorEl && (
|
|
8520
|
+
this.mirrorEl && (mn(this.mirrorEl), this.mirrorEl = null), this.sourceEl = null;
|
|
8511
8521
|
}
|
|
8512
8522
|
updateElPosition() {
|
|
8513
|
-
this.sourceEl && this.isVisible &&
|
|
8523
|
+
this.sourceEl && this.isVisible && Ne(this.getMirrorEl(), {
|
|
8514
8524
|
left: this.sourceElRect.left + this.deltaX,
|
|
8515
8525
|
top: this.sourceElRect.top + this.deltaY
|
|
8516
8526
|
});
|
|
8517
8527
|
}
|
|
8518
8528
|
getMirrorEl() {
|
|
8519
8529
|
let e = this.sourceElRect, n = this.mirrorEl;
|
|
8520
|
-
return n || (n = this.mirrorEl = this.sourceEl.cloneNode(!0), n.style.userSelect = "none", n.style.webkitUserSelect = "none", n.classList.add("fc-event-dragging"),
|
|
8530
|
+
return n || (n = this.mirrorEl = this.sourceEl.cloneNode(!0), n.style.userSelect = "none", n.style.webkitUserSelect = "none", n.style.pointerEvents = "none", n.classList.add("fc-event-dragging"), Ne(n, {
|
|
8521
8531
|
position: "fixed",
|
|
8522
8532
|
zIndex: this.zIndex,
|
|
8523
8533
|
visibility: "",
|
|
@@ -8530,7 +8540,7 @@ class kf {
|
|
|
8530
8540
|
}), this.parentNode.appendChild(n)), n;
|
|
8531
8541
|
}
|
|
8532
8542
|
}
|
|
8533
|
-
class zs extends
|
|
8543
|
+
class zs extends Hn {
|
|
8534
8544
|
constructor(e, n) {
|
|
8535
8545
|
super(), this.handleScroll = () => {
|
|
8536
8546
|
this.scrollTop = this.scrollController.getScrollTop(), this.scrollLeft = this.scrollController.getScrollLeft(), this.handleScrollChange();
|
|
@@ -8603,7 +8613,7 @@ class If {
|
|
|
8603
8613
|
constructor() {
|
|
8604
8614
|
this.isEnabled = !0, this.scrollQuery = [window, ".fc-scroller"], this.edgeThreshold = 50, this.maxVelocity = 300, this.pointerScreenX = null, this.pointerScreenY = null, this.isAnimating = !1, this.scrollCaches = null, this.everMovedUp = !1, this.everMovedDown = !1, this.everMovedLeft = !1, this.everMovedRight = !1, this.animate = () => {
|
|
8605
8615
|
if (this.isAnimating) {
|
|
8606
|
-
let e = this.computeBestEdge(this.pointerScreenX + window.
|
|
8616
|
+
let e = this.computeBestEdge(this.pointerScreenX + window.scrollX, this.pointerScreenY + window.scrollY);
|
|
8607
8617
|
if (e) {
|
|
8608
8618
|
let n = Zr();
|
|
8609
8619
|
this.handleSide(e, (n - this.msSinceRequest) / 1e3), this.requestAnimation(n);
|
|
@@ -8617,7 +8627,7 @@ class If {
|
|
|
8617
8627
|
}
|
|
8618
8628
|
handleMove(e, n) {
|
|
8619
8629
|
if (this.isEnabled) {
|
|
8620
|
-
let r = e - window.
|
|
8630
|
+
let r = e - window.scrollX, i = n - window.scrollY, s = this.pointerScreenY === null ? 0 : i - this.pointerScreenY, l = this.pointerScreenX === null ? 0 : r - this.pointerScreenX;
|
|
8621
8631
|
s < 0 ? this.everMovedUp = !0 : s > 0 && (this.everMovedDown = !0), l < 0 ? this.everMovedLeft = !0 : l > 0 && (this.everMovedRight = !0), this.pointerScreenX = r, this.pointerScreenY = i, this.isAnimating || (this.isAnimating = !0, this.requestAnimation(Zr()));
|
|
8622
8632
|
}
|
|
8623
8633
|
}
|
|
@@ -8726,9 +8736,9 @@ class Fe extends dc {
|
|
|
8726
8736
|
this.autoScroller.isEnabled = e;
|
|
8727
8737
|
}
|
|
8728
8738
|
}
|
|
8729
|
-
class
|
|
8739
|
+
class Nf {
|
|
8730
8740
|
constructor(e) {
|
|
8731
|
-
this.origRect =
|
|
8741
|
+
this.el = e, this.origRect = Pn(e), this.scrollCaches = es(e).map((n) => new Fs(n, !0));
|
|
8732
8742
|
}
|
|
8733
8743
|
destroy() {
|
|
8734
8744
|
for (let e of this.scrollCaches)
|
|
@@ -8749,18 +8759,18 @@ class Of {
|
|
|
8749
8759
|
isWithinClipping(e, n) {
|
|
8750
8760
|
let r = { left: e, top: n };
|
|
8751
8761
|
for (let i of this.scrollCaches)
|
|
8752
|
-
if (!
|
|
8762
|
+
if (!Of(i.getEventTarget()) && !Ga(r, i.clientRect))
|
|
8753
8763
|
return !1;
|
|
8754
8764
|
return !0;
|
|
8755
8765
|
}
|
|
8756
8766
|
}
|
|
8757
|
-
function
|
|
8767
|
+
function Of(t) {
|
|
8758
8768
|
let e = t.tagName;
|
|
8759
8769
|
return e === "HTML" || e === "BODY";
|
|
8760
8770
|
}
|
|
8761
|
-
class
|
|
8771
|
+
class Tt {
|
|
8762
8772
|
constructor(e, n) {
|
|
8763
|
-
this.useSubjectCenter = !1, this.requireInitial = !0, this.initialHit = null, this.movingHit = null, this.finalHit = null, this.handlePointerDown = (r) => {
|
|
8773
|
+
this.useSubjectCenter = !1, this.requireInitial = !0, this.disablePointCheck = !1, this.initialHit = null, this.movingHit = null, this.finalHit = null, this.handlePointerDown = (r) => {
|
|
8764
8774
|
let { dragging: i } = this;
|
|
8765
8775
|
this.initialHit = null, this.movingHit = null, this.finalHit = null, this.prepareHits(), this.processFirstCoord(r), this.initialHit || !this.requireInitial ? (i.setIgnoreMove(!1), this.emitter.trigger("pointerdown", r)) : i.setIgnoreMove(!0);
|
|
8766
8776
|
}, this.handleDragStart = (r) => {
|
|
@@ -8771,13 +8781,13 @@ class _t {
|
|
|
8771
8781
|
this.releaseHits(), this.emitter.trigger("pointerup", r);
|
|
8772
8782
|
}, this.handleDragEnd = (r) => {
|
|
8773
8783
|
this.movingHit && this.emitter.trigger("hitupdate", null, !0, r), this.finalHit = this.movingHit, this.movingHit = null, this.emitter.trigger("dragend", r);
|
|
8774
|
-
}, this.droppableStore = n, e.emitter.on("pointerdown", this.handlePointerDown), e.emitter.on("dragstart", this.handleDragStart), e.emitter.on("dragmove", this.handleDragMove), e.emitter.on("pointerup", this.handlePointerUp), e.emitter.on("dragend", this.handleDragEnd), this.dragging = e, this.emitter = new
|
|
8784
|
+
}, this.droppableStore = n, e.emitter.on("pointerdown", this.handlePointerDown), e.emitter.on("dragstart", this.handleDragStart), e.emitter.on("dragmove", this.handleDragMove), e.emitter.on("pointerup", this.handlePointerUp), e.emitter.on("dragend", this.handleDragEnd), this.dragging = e, this.emitter = new _t();
|
|
8775
8785
|
}
|
|
8776
8786
|
// sets initialHit
|
|
8777
8787
|
// sets coordAdjust
|
|
8778
8788
|
processFirstCoord(e) {
|
|
8779
8789
|
let n = { left: e.pageX, top: e.pageY }, r = n, i = e.subjectEl, s;
|
|
8780
|
-
i instanceof HTMLElement && (s =
|
|
8790
|
+
i instanceof HTMLElement && (s = Pn(i), r = qa(r, s));
|
|
8781
8791
|
let l = this.initialHit = this.queryHitForOffset(r.left, r.top);
|
|
8782
8792
|
if (l) {
|
|
8783
8793
|
if (this.useSubjectCenter && s) {
|
|
@@ -8790,10 +8800,10 @@ class _t {
|
|
|
8790
8800
|
}
|
|
8791
8801
|
handleMove(e, n) {
|
|
8792
8802
|
let r = this.queryHitForOffset(e.pageX + this.coordAdjust.left, e.pageY + this.coordAdjust.top);
|
|
8793
|
-
(n || !
|
|
8803
|
+
(n || !xt(this.movingHit, r)) && (this.movingHit = r, this.emitter.trigger("hitupdate", r, !1, e));
|
|
8794
8804
|
}
|
|
8795
8805
|
prepareHits() {
|
|
8796
|
-
this.offsetTrackers = Y(this.droppableStore, (e) => (e.component.prepareHits(), new
|
|
8806
|
+
this.offsetTrackers = Y(this.droppableStore, (e) => (e.component.prepareHits(), new Nf(e.el)));
|
|
8797
8807
|
}
|
|
8798
8808
|
releaseHits() {
|
|
8799
8809
|
let { offsetTrackers: e } = this;
|
|
@@ -8814,14 +8824,21 @@ class _t {
|
|
|
8814
8824
|
) {
|
|
8815
8825
|
let b = o.queryHit(h, f, m, v);
|
|
8816
8826
|
b && // make sure the hit is within activeRange, meaning it's not a dead cell
|
|
8817
|
-
|
|
8827
|
+
wt(b.dateProfile.activeRange, b.dateSpan.range) && // Ensure the component we are querying for the hit is accessibly my the pointer
|
|
8828
|
+
// Prevents obscured calendars (ex: under a modal dialog) from accepting hit
|
|
8829
|
+
// https://github.com/fullcalendar/fullcalendar/issues/5026
|
|
8830
|
+
(this.disablePointCheck || a.el.contains(document.elementFromPoint(
|
|
8831
|
+
// add-back origins to get coordinate relative to top-left of window viewport
|
|
8832
|
+
h + d - window.scrollX,
|
|
8833
|
+
f + c - window.scrollY
|
|
8834
|
+
))) && (!s || b.layer > s.layer) && (b.componentId = l, b.context = o.context, b.rect.left += d, b.rect.right += d, b.rect.top += c, b.rect.bottom += c, s = b);
|
|
8818
8835
|
}
|
|
8819
8836
|
}
|
|
8820
8837
|
}
|
|
8821
8838
|
return s;
|
|
8822
8839
|
}
|
|
8823
8840
|
}
|
|
8824
|
-
function
|
|
8841
|
+
function xt(t, e) {
|
|
8825
8842
|
return !t && !e ? !0 : !!t != !!e ? !1 : Pa(t.dateSpan, e.dateSpan);
|
|
8826
8843
|
}
|
|
8827
8844
|
function Ws(t, e) {
|
|
@@ -8846,13 +8863,13 @@ class Hf extends _e {
|
|
|
8846
8863
|
let { component: i } = this, { pointer: s } = this.dragging;
|
|
8847
8864
|
if (!s.wasTouchScroll) {
|
|
8848
8865
|
let { initialHit: l, finalHit: o } = this.hitDragging;
|
|
8849
|
-
if (l && o &&
|
|
8866
|
+
if (l && o && xt(l, o)) {
|
|
8850
8867
|
let { context: a } = i, d = Object.assign(Object.assign({}, Ws(l.dateSpan, a)), { dayEl: l.dayEl, jsEvent: r.origEvent, view: a.viewApi || a.calendarApi.view });
|
|
8851
8868
|
a.emitter.trigger("dateClick", d);
|
|
8852
8869
|
}
|
|
8853
8870
|
}
|
|
8854
8871
|
}, this.dragging = new Fe(e.el), this.dragging.autoScroller.isEnabled = !1;
|
|
8855
|
-
let n = this.hitDragging = new
|
|
8872
|
+
let n = this.hitDragging = new Tt(this.dragging, Nn(e));
|
|
8856
8873
|
n.emitter.on("pointerdown", this.handlePointerDown), n.emitter.on("dragend", this.handleDragEnd);
|
|
8857
8874
|
}
|
|
8858
8875
|
destroy() {
|
|
@@ -8872,13 +8889,13 @@ class Bf extends _e {
|
|
|
8872
8889
|
let h = this.hitDragging.initialHit;
|
|
8873
8890
|
l.componentId === h.componentId && this.isHitComboAllowed && !this.isHitComboAllowed(h, l) || (d = Uf(h, l, a.pluginHooks.dateSelectionTransformers)), (!d || !mc(d, l.dateProfile, a)) && (c = !0, d = null);
|
|
8874
8891
|
}
|
|
8875
|
-
d ? a.dispatch({ type: "SELECT_DATES", selection: d }) : o || a.dispatch({ type: "UNSELECT_DATES" }), c ?
|
|
8892
|
+
d ? a.dispatch({ type: "SELECT_DATES", selection: d }) : o || a.dispatch({ type: "UNSELECT_DATES" }), c ? vn() : bn(), o || (this.dragSelection = d);
|
|
8876
8893
|
}, this.handlePointerUp = (l) => {
|
|
8877
8894
|
this.dragSelection && (zi(this.dragSelection, l, this.component.context), this.dragSelection = null);
|
|
8878
8895
|
};
|
|
8879
8896
|
let { component: n } = e, { options: r } = n.context, i = this.dragging = new Fe(e.el);
|
|
8880
8897
|
i.touchScrollAllowed = !1, i.minDistance = r.selectMinDistance || 0, i.autoScroller.isEnabled = r.dragScroll;
|
|
8881
|
-
let s = this.hitDragging = new
|
|
8898
|
+
let s = this.hitDragging = new Tt(this.dragging, Nn(e));
|
|
8882
8899
|
s.emitter.on("pointerdown", this.handlePointerDown), s.emitter.on("dragstart", this.handleDragStart), s.emitter.on("hitupdate", this.handleHitUpdate), s.emitter.on("pointerup", this.handlePointerUp);
|
|
8883
8900
|
}
|
|
8884
8901
|
destroy() {
|
|
@@ -8912,7 +8929,7 @@ class We extends _e {
|
|
|
8912
8929
|
let o = l.origEvent.target, { component: a, dragging: d } = this, { mirror: c } = d, { options: h } = a.context, f = a.context;
|
|
8913
8930
|
this.subjectEl = l.subjectEl;
|
|
8914
8931
|
let u = this.subjectSeg = we(l.subjectEl), v = (this.eventRange = u.eventRange).instance.instanceId;
|
|
8915
|
-
this.relevantEvents =
|
|
8932
|
+
this.relevantEvents = xn(f.getCurrentData().eventStore, v), d.minDistance = l.isTouch ? 0 : h.eventDragMinDistance, d.delay = // only do a touch delay if touch and this event hasn't been selected yet
|
|
8916
8933
|
l.isTouch && v !== a.props.eventSelection ? zf(a) : null, h.fixedMirrorParent ? c.parentNode = h.fixedMirrorParent : c.parentNode = P(o, ".fc"), c.revertDuration = h.dragRevertDuration;
|
|
8917
8934
|
let b = a.isValidSegDownEl(o) && !P(o, ".fc-event-resizer");
|
|
8918
8935
|
d.setIgnoreMove(!b), this.isDragging = b && l.subjectEl.classList.contains("fc-event-draggable");
|
|
@@ -8920,7 +8937,7 @@ class We extends _e {
|
|
|
8920
8937
|
let o = this.component.context, a = this.eventRange, d = a.instance.instanceId;
|
|
8921
8938
|
l.isTouch ? d !== this.component.props.eventSelection && o.dispatch({ type: "SELECT_EVENT", eventInstanceId: d }) : o.dispatch({ type: "UNSELECT_EVENT" }), this.isDragging && (o.calendarApi.unselect(l), o.emitter.trigger("eventDragStart", {
|
|
8922
8939
|
el: this.subjectEl,
|
|
8923
|
-
event: new
|
|
8940
|
+
event: new N(o, a.def, a.instance),
|
|
8924
8941
|
jsEvent: l.origEvent,
|
|
8925
8942
|
view: o.viewApi
|
|
8926
8943
|
}));
|
|
@@ -8935,15 +8952,15 @@ class We extends _e {
|
|
|
8935
8952
|
if (l) {
|
|
8936
8953
|
h = l.context;
|
|
8937
8954
|
let b = h.options;
|
|
8938
|
-
c === h || b.editable && b.droppable ? (f = jf(d, l, h.getCurrentData().pluginHooks.eventDragMutationMassagers), f && (u =
|
|
8955
|
+
c === h || b.editable && b.droppable ? (f = jf(d, l, this.eventRange.instance.range.start, h.getCurrentData().pluginHooks.eventDragMutationMassagers), f && (u = In(a, h.getCurrentData().eventUiBases, f, h), v.mutatedEvents = u, as(v, l.dateProfile, h) || (m = !0, f = null, u = null, v.mutatedEvents = j()))) : h = null;
|
|
8939
8956
|
}
|
|
8940
|
-
this.displayDrag(h, v), m ?
|
|
8941
|
-
|
|
8957
|
+
this.displayDrag(h, v), m ? vn() : bn(), o || (c === h && // TODO: write test for this
|
|
8958
|
+
xt(d, l) && (f = null), this.dragging.setMirrorNeedsRevert(!f), this.dragging.setMirrorIsVisible(!l || !this.subjectEl.getRootNode().querySelector(".fc-event-mirror")), this.receivingContext = h, this.validMutation = f, this.mutatedRelevantEvents = u);
|
|
8942
8959
|
}, this.handlePointerUp = () => {
|
|
8943
8960
|
this.isDragging || this.cleanup();
|
|
8944
8961
|
}, this.handleDragEnd = (l) => {
|
|
8945
8962
|
if (this.isDragging) {
|
|
8946
|
-
let o = this.component.context, a = o.viewApi, { receivingContext: d, validMutation: c } = this, h = this.eventRange.def, f = this.eventRange.instance, u = new
|
|
8963
|
+
let o = this.component.context, a = o.viewApi, { receivingContext: d, validMutation: c } = this, h = this.eventRange.def, f = this.eventRange.instance, u = new N(o, h, f), m = this.relevantEvents, v = this.mutatedRelevantEvents, { finalHit: b } = this.hitDragging;
|
|
8947
8964
|
if (this.clearDrag(), o.emitter.trigger("eventDragStop", {
|
|
8948
8965
|
el: this.subjectEl,
|
|
8949
8966
|
event: u,
|
|
@@ -8951,7 +8968,7 @@ class We extends _e {
|
|
|
8951
8968
|
view: a
|
|
8952
8969
|
}), c) {
|
|
8953
8970
|
if (d === o) {
|
|
8954
|
-
let E = new
|
|
8971
|
+
let E = new N(o, v.defs[h.defId], f ? v.instances[f.instanceId] : null);
|
|
8955
8972
|
o.dispatch({
|
|
8956
8973
|
type: "MERGE_EVENTS",
|
|
8957
8974
|
eventStore: v
|
|
@@ -8986,7 +9003,7 @@ class We extends _e {
|
|
|
8986
9003
|
type: "REMOVE_EVENTS",
|
|
8987
9004
|
eventStore: m
|
|
8988
9005
|
}), o.emitter.trigger("eventRemove", E);
|
|
8989
|
-
let y = v.defs[h.defId], D = v.instances[f.instanceId], C = new
|
|
9006
|
+
let y = v.defs[h.defId], D = v.instances[f.instanceId], C = new N(d, y, D);
|
|
8990
9007
|
d.dispatch({
|
|
8991
9008
|
type: "MERGE_EVENTS",
|
|
8992
9009
|
eventStore: v
|
|
@@ -9013,7 +9030,7 @@ class We extends _e {
|
|
|
9013
9030
|
};
|
|
9014
9031
|
let { component: n } = this, { options: r } = n.context, i = this.dragging = new Fe(e.el);
|
|
9015
9032
|
i.pointer.selector = We.SELECTOR, i.touchScrollAllowed = !1, i.autoScroller.isEnabled = r.dragScroll;
|
|
9016
|
-
let s = this.hitDragging = new
|
|
9033
|
+
let s = this.hitDragging = new Tt(this.dragging, ln);
|
|
9017
9034
|
s.useSubjectCenter = e.useEventCenter, s.emitter.on("pointerdown", this.handlePointerDown), s.emitter.on("dragstart", this.handleDragStart), s.emitter.on("hitupdate", this.handleHitUpdate), s.emitter.on("pointerup", this.handlePointerUp), s.emitter.on("dragend", this.handleDragEnd);
|
|
9018
9035
|
}
|
|
9019
9036
|
destroy() {
|
|
@@ -9040,18 +9057,18 @@ class We extends _e {
|
|
|
9040
9057
|
}
|
|
9041
9058
|
}
|
|
9042
9059
|
We.SELECTOR = ".fc-event-draggable, .fc-event-resizable";
|
|
9043
|
-
function jf(t, e, n) {
|
|
9044
|
-
let
|
|
9045
|
-
|
|
9046
|
-
let
|
|
9047
|
-
|
|
9048
|
-
let
|
|
9049
|
-
datesDelta:
|
|
9050
|
-
standardProps:
|
|
9060
|
+
function jf(t, e, n, r) {
|
|
9061
|
+
let i = t.dateSpan, s = e.dateSpan, l = i.range.start, o = s.range.start, a = {};
|
|
9062
|
+
i.allDay !== s.allDay && (a.allDay = s.allDay, a.hasEnd = e.context.options.allDayMaintainDuration, s.allDay ? l = k(n) : l = n);
|
|
9063
|
+
let d = Ee(l, o, t.context.dateEnv, t.componentId === e.componentId ? t.largeUnit : null);
|
|
9064
|
+
d.milliseconds && (a.allDay = !1);
|
|
9065
|
+
let c = {
|
|
9066
|
+
datesDelta: d,
|
|
9067
|
+
standardProps: a
|
|
9051
9068
|
};
|
|
9052
|
-
for (let
|
|
9053
|
-
c
|
|
9054
|
-
return
|
|
9069
|
+
for (let h of r)
|
|
9070
|
+
h(c, t, e);
|
|
9071
|
+
return c;
|
|
9055
9072
|
}
|
|
9056
9073
|
function zf(t) {
|
|
9057
9074
|
let { options: e } = t.context, n = e.eventLongPressDelay;
|
|
@@ -9064,11 +9081,11 @@ class Ff extends _e {
|
|
|
9064
9081
|
this.dragging.minDistance = l.context.options.eventDragMinDistance, this.dragging.setIgnoreMove(!this.component.isValidSegDownEl(s.origEvent.target) || s.isTouch && this.component.props.eventSelection !== d.instance.instanceId);
|
|
9065
9082
|
}, this.handleDragStart = (s) => {
|
|
9066
9083
|
let { context: l } = this.component, o = this.eventRange;
|
|
9067
|
-
this.relevantEvents =
|
|
9084
|
+
this.relevantEvents = xn(l.getCurrentData().eventStore, this.eventRange.instance.instanceId);
|
|
9068
9085
|
let a = this.querySegEl(s);
|
|
9069
9086
|
this.draggingSegEl = a, this.draggingSeg = we(a), l.calendarApi.unselect(), l.emitter.trigger("eventResizeStart", {
|
|
9070
9087
|
el: a,
|
|
9071
|
-
event: new
|
|
9088
|
+
event: new N(l, o.def, o.instance),
|
|
9072
9089
|
jsEvent: s.origEvent,
|
|
9073
9090
|
view: l.viewApi
|
|
9074
9091
|
});
|
|
@@ -9078,19 +9095,19 @@ class Ff extends _e {
|
|
|
9078
9095
|
mutatedEvents: j(),
|
|
9079
9096
|
isEvent: !0
|
|
9080
9097
|
};
|
|
9081
|
-
s && (s.componentId === c.componentId && this.isHitComboAllowed && !this.isHitComboAllowed(c, s) || (f = Wf(c, s, o.subjectEl.classList.contains("fc-event-resizer-start"), h.range))), f && (u =
|
|
9098
|
+
s && (s.componentId === c.componentId && this.isHitComboAllowed && !this.isHitComboAllowed(c, s) || (f = Wf(c, s, o.subjectEl.classList.contains("fc-event-resizer-start"), h.range))), f && (u = In(d, a.getCurrentData().eventUiBases, f, a), v.mutatedEvents = u, as(v, s.dateProfile, a) || (m = !0, f = null, u = null, v.mutatedEvents = null)), u ? a.dispatch({
|
|
9082
9099
|
type: "SET_EVENT_RESIZE",
|
|
9083
9100
|
state: v
|
|
9084
|
-
}) : a.dispatch({ type: "UNSET_EVENT_RESIZE" }), m ?
|
|
9101
|
+
}) : a.dispatch({ type: "UNSET_EVENT_RESIZE" }), m ? vn() : bn(), l || (f && xt(c, s) && (f = null), this.validMutation = f, this.mutatedRelevantEvents = u);
|
|
9085
9102
|
}, this.handleDragEnd = (s) => {
|
|
9086
|
-
let { context: l } = this.component, o = this.eventRange.def, a = this.eventRange.instance, d = new
|
|
9103
|
+
let { context: l } = this.component, o = this.eventRange.def, a = this.eventRange.instance, d = new N(l, o, a), c = this.relevantEvents, h = this.mutatedRelevantEvents;
|
|
9087
9104
|
if (l.emitter.trigger("eventResizeStop", {
|
|
9088
9105
|
el: this.draggingSegEl,
|
|
9089
9106
|
event: d,
|
|
9090
9107
|
jsEvent: s.origEvent,
|
|
9091
9108
|
view: l.viewApi
|
|
9092
9109
|
}), this.validMutation) {
|
|
9093
|
-
let f = new
|
|
9110
|
+
let f = new N(l, h.defs[o.defId], a ? h.instances[a.instanceId] : null);
|
|
9094
9111
|
l.dispatch({
|
|
9095
9112
|
type: "MERGE_EVENTS",
|
|
9096
9113
|
eventStore: h
|
|
@@ -9114,7 +9131,7 @@ class Ff extends _e {
|
|
|
9114
9131
|
};
|
|
9115
9132
|
let { component: n } = e, r = this.dragging = new Fe(e.el);
|
|
9116
9133
|
r.pointer.selector = ".fc-event-resizer", r.touchScrollAllowed = !1, r.autoScroller.isEnabled = n.context.options.dragScroll;
|
|
9117
|
-
let i = this.hitDragging = new
|
|
9134
|
+
let i = this.hitDragging = new Tt(this.dragging, Nn(e));
|
|
9118
9135
|
i.emitter.on("pointerdown", this.handlePointerDown), i.emitter.on("dragstart", this.handleDragStart), i.emitter.on("hitupdate", this.handleHitUpdate), i.emitter.on("dragend", this.handleDragEnd);
|
|
9119
9136
|
}
|
|
9120
9137
|
destroy() {
|
|
@@ -9174,7 +9191,7 @@ const Gf = {
|
|
|
9174
9191
|
eventReceive: p,
|
|
9175
9192
|
eventLeave: p
|
|
9176
9193
|
};
|
|
9177
|
-
|
|
9194
|
+
Ln.dataAttrPrefix = "";
|
|
9178
9195
|
var Qf = X({
|
|
9179
9196
|
name: "@fullcalendar/interaction",
|
|
9180
9197
|
componentInteractions: [Hf, Bf, We, Ff],
|
|
@@ -9184,7 +9201,7 @@ var Qf = X({
|
|
|
9184
9201
|
listenerRefiners: qf
|
|
9185
9202
|
});
|
|
9186
9203
|
/*! Element Plus Icons Vue v2.3.1 */
|
|
9187
|
-
var Yf = /* @__PURE__ */
|
|
9204
|
+
var Yf = /* @__PURE__ */ St({
|
|
9188
9205
|
name: "DeleteFilled",
|
|
9189
9206
|
__name: "delete-filled",
|
|
9190
9207
|
setup(t) {
|
|
@@ -9210,7 +9227,7 @@ const $f = { class: "ik-full-calendar" }, Xf = ["onClick"], Jf = {
|
|
|
9210
9227
|
class: "event-title no-allday"
|
|
9211
9228
|
}, th = { class: "event-title-time" }, nh = { class: "event-title-text" }, rh = {
|
|
9212
9229
|
name: "IkFullCalendar"
|
|
9213
|
-
}, ih = /* @__PURE__ */
|
|
9230
|
+
}, ih = /* @__PURE__ */ St({
|
|
9214
9231
|
...rh,
|
|
9215
9232
|
props: {
|
|
9216
9233
|
options: { default: {} },
|
|
@@ -9223,8 +9240,8 @@ const $f = { class: "ik-full-calendar" }, Xf = ["onClick"], Jf = {
|
|
|
9223
9240
|
const r = t, i = $s({
|
|
9224
9241
|
get: () => r.modelValue,
|
|
9225
9242
|
set: (y) => s("update:modelValue", y)
|
|
9226
|
-
}), s = n, l =
|
|
9227
|
-
}, a =
|
|
9243
|
+
}), s = n, l = kt(null), o = (y) => {
|
|
9244
|
+
}, a = kt("dayGridMonth"), d = (y) => {
|
|
9228
9245
|
s("dateSelect", y);
|
|
9229
9246
|
}, c = (y) => {
|
|
9230
9247
|
s("eventClick", y);
|
|
@@ -9252,7 +9269,7 @@ const $f = { class: "ik-full-calendar" }, Xf = ["onClick"], Jf = {
|
|
|
9252
9269
|
}), u = Xs({
|
|
9253
9270
|
timeType: "month",
|
|
9254
9271
|
options: f()
|
|
9255
|
-
}), m =
|
|
9272
|
+
}), m = kt(null), v = () => {
|
|
9256
9273
|
var y;
|
|
9257
9274
|
u.options = f(), (y = l.value) == null || y.buildOptions(u.options);
|
|
9258
9275
|
};
|
|
@@ -9298,9 +9315,9 @@ const $f = { class: "ik-full-calendar" }, Xf = ["onClick"], Jf = {
|
|
|
9298
9315
|
return Ks(() => {
|
|
9299
9316
|
E();
|
|
9300
9317
|
}), (y, D) => {
|
|
9301
|
-
const C =
|
|
9318
|
+
const C = qn("el-tooltip"), I = qn("el-icon");
|
|
9302
9319
|
return be(), Me("div", $f, [
|
|
9303
|
-
|
|
9320
|
+
Mt(It(au), {
|
|
9304
9321
|
ref_key: "_ref",
|
|
9305
9322
|
ref: l,
|
|
9306
9323
|
options: u.options,
|
|
@@ -9311,14 +9328,14 @@ const $f = { class: "ik-full-calendar" }, Xf = ["onClick"], Jf = {
|
|
|
9311
9328
|
class: "title-line",
|
|
9312
9329
|
onClick: (x) => c(w)
|
|
9313
9330
|
}, [
|
|
9314
|
-
|
|
9331
|
+
Mt(
|
|
9315
9332
|
C,
|
|
9316
9333
|
null,
|
|
9317
9334
|
{
|
|
9318
9335
|
content: Ve(() => {
|
|
9319
9336
|
var x, R;
|
|
9320
9337
|
return [
|
|
9321
|
-
|
|
9338
|
+
Nt(" {{arg}} "),
|
|
9322
9339
|
el(
|
|
9323
9340
|
" " + xe((R = (x = w.event) == null ? void 0 : x.extendedProps) == null ? void 0 : R[r.tooltipFieldName]),
|
|
9324
9341
|
1
|
|
@@ -9328,7 +9345,7 @@ const $f = { class: "ik-full-calendar" }, Xf = ["onClick"], Jf = {
|
|
|
9328
9345
|
}),
|
|
9329
9346
|
default: Ve(() => [
|
|
9330
9347
|
w.event.allDay ? (be(), Me("span", Jf, [
|
|
9331
|
-
a.value === "dayGridMonth" ? (be(), Me("span", Kf, xe("(全天)"))) :
|
|
9348
|
+
a.value === "dayGridMonth" ? (be(), Me("span", Kf, xe("(全天)"))) : Nt("v-if", !0),
|
|
9332
9349
|
Ie(
|
|
9333
9350
|
"span",
|
|
9334
9351
|
null,
|
|
@@ -9340,7 +9357,7 @@ const $f = { class: "ik-full-calendar" }, Xf = ["onClick"], Jf = {
|
|
|
9340
9357
|
Ie(
|
|
9341
9358
|
"span",
|
|
9342
9359
|
th,
|
|
9343
|
-
xe(
|
|
9360
|
+
xe(It(rl).toDateTime(w.event.startStr, "HH:mm")),
|
|
9344
9361
|
1
|
|
9345
9362
|
/* TEXT */
|
|
9346
9363
|
),
|
|
@@ -9365,11 +9382,11 @@ const $f = { class: "ik-full-calendar" }, Xf = ["onClick"], Jf = {
|
|
|
9365
9382
|
onClick: nl((x) => h(w), ["stop"])
|
|
9366
9383
|
}, {
|
|
9367
9384
|
default: Ve(() => [
|
|
9368
|
-
|
|
9385
|
+
Mt(It(Zf))
|
|
9369
9386
|
]),
|
|
9370
9387
|
_: 2
|
|
9371
9388
|
/* DYNAMIC */
|
|
9372
|
-
}, 1032, ["onClick"])) :
|
|
9389
|
+
}, 1032, ["onClick"])) : Nt("v-if", !0)
|
|
9373
9390
|
], 8, Xf)
|
|
9374
9391
|
]),
|
|
9375
9392
|
_: 1
|