iking-web-ui-pro 0.2.47 → 0.2.49
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/IKApprovalProcessDetail/ik.index.es.js +2324 -2266
- package/dist/IKApprovalProcessDetail/ik.index.umd.js +49 -49
- package/dist/IKApprovalProcessDetail/style.css +1 -1
- package/dist/IKCalendar/ik.index.es.js +763 -780
- package/dist/IKCalendar/ik.index.umd.js +1 -1
- package/dist/IKPreviewFile/ik.index.es.js +1211 -1153
- package/dist/IKPreviewFile/ik.index.umd.js +34 -34
- package/dist/IKPreviewFile/style.css +1 -1
- package/dist/IkDescription/ik.index.es.js +1443 -1385
- package/dist/IkDescription/ik.index.umd.js +47 -47
- package/dist/IkDescription/style.css +1 -1
- package/dist/IkDetailPreviewFiles/ik.index.es.js +1264 -1206
- package/dist/IkDetailPreviewFiles/ik.index.umd.js +47 -47
- package/dist/IkDetailPreviewFiles/style.css +1 -1
- package/dist/IkFullCalendar/ik.index.es.js +584 -601
- package/dist/IkFullCalendar/ik.index.umd.js +1 -1
- package/dist/IkSchedule/ik.index.es.js +674 -691
- package/dist/IkSchedule/ik.index.umd.js +1 -1
- package/dist/index.es.js +12077 -12036
- package/dist/index.umd.js +104 -104
- package/dist/src/components/IKPreviewFile/index.d.ts +38 -0
- package/dist/src/components/IKPreviewFile/src/IkPreviewFile.vue.d.ts +18 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as ee, h as ht, Fragment as pl, Teleport as ml, openBlock as
|
|
1
|
+
import { defineComponent as ee, h as ht, Fragment as pl, Teleport as ml, openBlock as O, createElementBlock as L, createElementVNode as N, computed as we, ref as qe, reactive as on, watch as vl, onMounted as vi, resolveComponent as G, createVNode as T, unref as J, withCtx as M, createCommentVNode as Be, createTextVNode as le, toDisplayString as he, createBlock as Ze, withModifiers as yl, normalizeClass as Ne, normalizeStyle as Se, useSlots as bl, renderSlot as dr, nextTick as El, pushScopeId as Sl, popScopeId as Al } from "vue";
|
|
2
2
|
import { ikDate as X, ikColor as _l } from "iking-utils-pro";
|
|
3
|
-
import { ElMessage as
|
|
4
|
-
const
|
|
3
|
+
import { ElMessage as ur, ElMessageBox as Dl } from "element-plus";
|
|
4
|
+
const wn = (n, e) => {
|
|
5
5
|
if (n.install = (t) => {
|
|
6
6
|
for (const r of [n, ...Object.values(e ?? {})])
|
|
7
7
|
t.component(r.name, r);
|
|
@@ -9,17 +9,17 @@ const Cn = (n, e) => {
|
|
|
9
9
|
for (const [t, r] of Object.entries(e))
|
|
10
10
|
n[t] = r;
|
|
11
11
|
return n;
|
|
12
|
-
}, wl = Object.prototype.toString,
|
|
13
|
-
if (!
|
|
12
|
+
}, wl = Object.prototype.toString, an = (n) => wl.call(n) === "[object Object]", Cl = (n, e) => {
|
|
13
|
+
if (!an(n) || !an(e))
|
|
14
14
|
throw new Error("参数异常");
|
|
15
15
|
return Object.keys(n).forEach((t) => {
|
|
16
16
|
Reflect.has(e, t) && (n[t] = e[t]);
|
|
17
17
|
}), n;
|
|
18
18
|
}, Rl = {
|
|
19
19
|
copyValue: Cl,
|
|
20
|
-
isObject:
|
|
20
|
+
isObject: an
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Nt, _, yi, bi, je, De, fr, Ei, Si, bt = {}, Ai = [], Tl = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;
|
|
23
23
|
function ge(n, e) {
|
|
24
24
|
for (var t in e)
|
|
25
25
|
n[t] = e[t];
|
|
@@ -33,7 +33,7 @@ function g(n, e, t) {
|
|
|
33
33
|
var r, i, s, l = {};
|
|
34
34
|
for (s in e)
|
|
35
35
|
s == "key" ? r = e[s] : s == "ref" ? i = e[s] : l[s] = e[s];
|
|
36
|
-
if (arguments.length > 2 && (l.children = arguments.length > 3 ?
|
|
36
|
+
if (arguments.length > 2 && (l.children = arguments.length > 3 ? Nt.call(arguments, 2) : t), typeof n == "function" && n.defaultProps != null)
|
|
37
37
|
for (s in n.defaultProps)
|
|
38
38
|
l[s] === void 0 && (l[s] = n.defaultProps[s]);
|
|
39
39
|
return gt(n, l, r, i, null);
|
|
@@ -55,7 +55,7 @@ function kl(n, e, t, r, i) {
|
|
|
55
55
|
for (s in e)
|
|
56
56
|
i && typeof e[s] != "function" || s === "children" || s === "key" || s === "value" || s === "checked" || t[s] === e[s] || Et(n, s, e[s], t[s], r);
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function hr(n, e, t) {
|
|
59
59
|
e[0] === "-" ? n.setProperty(e, t ?? "") : n[e] = t == null ? "" : typeof t != "number" || Tl.test(e) ? t : t + "px";
|
|
60
60
|
}
|
|
61
61
|
function Et(n, e, t, r, i) {
|
|
@@ -67,13 +67,13 @@ function Et(n, e, t, r, i) {
|
|
|
67
67
|
else {
|
|
68
68
|
if (typeof r == "string" && (n.style.cssText = r = ""), r)
|
|
69
69
|
for (e in r)
|
|
70
|
-
t && e in t ||
|
|
70
|
+
t && e in t || hr(n.style, e, "");
|
|
71
71
|
if (t)
|
|
72
72
|
for (e in t)
|
|
73
|
-
r && t[e] === r[e] ||
|
|
73
|
+
r && t[e] === r[e] || hr(n.style, e, t[e]);
|
|
74
74
|
}
|
|
75
75
|
else if (e[0] === "o" && e[1] === "n")
|
|
76
|
-
s = e !== (e = e.replace(/Capture$/, "")), e = e.toLowerCase() in n ? e.toLowerCase().slice(2) : e.slice(2), n.l || (n.l = {}), n.l[e + s] = t, t ? r || n.addEventListener(e, s ?
|
|
76
|
+
s = e !== (e = e.replace(/Capture$/, "")), e = e.toLowerCase() in n ? e.toLowerCase().slice(2) : e.slice(2), n.l || (n.l = {}), n.l[e + s] = t, t ? r || n.addEventListener(e, s ? pr : gr, s) : n.removeEventListener(e, s ? pr : gr, s);
|
|
77
77
|
else if (e !== "dangerouslySetInnerHTML") {
|
|
78
78
|
if (i)
|
|
79
79
|
e = e.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
|
|
@@ -86,7 +86,7 @@ function Et(n, e, t, r, i) {
|
|
|
86
86
|
typeof t == "function" || (t == null || t === !1 && e.indexOf("-") == -1 ? n.removeAttribute(e) : n.setAttribute(e, t));
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function gr(n) {
|
|
90
90
|
je = !0;
|
|
91
91
|
try {
|
|
92
92
|
return this.l[n.type + !1](_.event ? _.event(n) : n);
|
|
@@ -94,7 +94,7 @@ function pr(n) {
|
|
|
94
94
|
je = !1;
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function pr(n) {
|
|
98
98
|
je = !0;
|
|
99
99
|
try {
|
|
100
100
|
return this.l[n.type + !0](_.event ? _.event(n) : n);
|
|
@@ -127,15 +127,15 @@ function Di(n) {
|
|
|
127
127
|
function xl(n) {
|
|
128
128
|
je ? setTimeout(n) : Ei(n);
|
|
129
129
|
}
|
|
130
|
-
function
|
|
131
|
-
(!n.__d && (n.__d = !0) && De.push(n) && !St.__r++ ||
|
|
130
|
+
function cn(n) {
|
|
131
|
+
(!n.__d && (n.__d = !0) && De.push(n) && !St.__r++ || fr !== _.debounceRendering) && ((fr = _.debounceRendering) || xl)(St);
|
|
132
132
|
}
|
|
133
133
|
function St() {
|
|
134
134
|
var n, e, t, r, i, s, l, o;
|
|
135
135
|
for (De.sort(function(a, d) {
|
|
136
136
|
return a.__v.__b - d.__v.__b;
|
|
137
137
|
}); n = De.shift(); )
|
|
138
|
-
n.__d && (e = De.length, r = void 0, i = void 0, l = (s = (t = n).__v).__e, (o = t.__P) && (r = [], (i = ge({}, s)).__v = s.__v + 1,
|
|
138
|
+
n.__d && (e = De.length, r = void 0, i = void 0, l = (s = (t = n).__v).__e, (o = t.__P) && (r = [], (i = ge({}, s)).__v = s.__v + 1, Cn(o, s, i, t.__n, o.ownerSVGElement !== void 0, s.__h != null ? [l] : null, r, l ?? Xe(s), s.__h), ki(r, s), s.__e != l && Di(s)), De.length > e && De.sort(function(a, d) {
|
|
139
139
|
return a.__v.__b - d.__v.__b;
|
|
140
140
|
}));
|
|
141
141
|
St.__r = 0;
|
|
@@ -154,7 +154,7 @@ function wi(n, e, t, r, i, s, l, o, a, d) {
|
|
|
154
154
|
}
|
|
155
155
|
h = null;
|
|
156
156
|
}
|
|
157
|
-
|
|
157
|
+
Cn(n, u, h = h || bt, i, s, l, o, a, d), m = u.__e, (f = u.ref) && h.ref != f && (b || (b = []), h.ref && b.push(h.ref, null, u), b.push(f, u.__c || m, u)), m != null ? (y == null && (y = m), typeof u.type == "function" && u.__k === h.__k ? u.__d = a = Ci(u, a, n) : a = Ri(n, u, h, E, m, a), typeof t.type == "function" && (t.__d = a)) : a && h.__e == a && a.parentNode != n && (a = Xe(h));
|
|
158
158
|
}
|
|
159
159
|
for (t.__e = y, c = p; c--; )
|
|
160
160
|
E[c] != null && (typeof t.type == "function" && E[c].__e != null && E[c].__e == t.__d && (t.__d = Ti(r).nextSibling), Mi(E[c], E[c]));
|
|
@@ -199,8 +199,8 @@ function Ti(n) {
|
|
|
199
199
|
}
|
|
200
200
|
return null;
|
|
201
201
|
}
|
|
202
|
-
function
|
|
203
|
-
var d, c, f, h, u, m, y, b, E, p, A, C,
|
|
202
|
+
function Cn(n, e, t, r, i, s, l, o, a) {
|
|
203
|
+
var d, c, f, h, u, m, y, b, E, p, A, C, H, R, x, S = e.type;
|
|
204
204
|
if (e.constructor !== void 0)
|
|
205
205
|
return null;
|
|
206
206
|
t.__h != null && (a = t.__h, o = e.__e = t.__e, e.__h = null, s = [o]), (d = _.__b) && d(e);
|
|
@@ -222,14 +222,14 @@ function Rn(n, e, t, r, i, s, l, o, a) {
|
|
|
222
222
|
c.componentDidUpdate(h, u, m);
|
|
223
223
|
});
|
|
224
224
|
}
|
|
225
|
-
if (c.context = p, c.props = b, c.__P = n, C = _.__r,
|
|
225
|
+
if (c.context = p, c.props = b, c.__P = n, C = _.__r, H = 0, "prototype" in S && S.prototype.render) {
|
|
226
226
|
for (c.state = c.__s, c.__d = !1, C && C(e), d = c.render(c.props, c.state, c.context), R = 0; R < c._sb.length; R++)
|
|
227
227
|
c.__h.push(c._sb[R]);
|
|
228
228
|
c._sb = [];
|
|
229
229
|
} else
|
|
230
230
|
do
|
|
231
231
|
c.__d = !1, C && C(e), d = c.render(c.props, c.state, c.context), c.state = c.__s;
|
|
232
|
-
while (c.__d && ++
|
|
232
|
+
while (c.__d && ++H < 25);
|
|
233
233
|
c.state = c.__s, c.getChildContext != null && (r = ge(ge({}, r), c.getChildContext())), f || c.getSnapshotBeforeUpdate == null || (m = c.getSnapshotBeforeUpdate(h, u)), x = d != null && d.type === B && d.key == null ? d.props.children : d, wi(n, Array.isArray(x) ? x : [x], e, t, r, i, s, l, o, a), c.base = e.__e, e.__h = null, c.__h.length && l.push(c), y && (c.__E = c.__ = null), c.__e = !1;
|
|
234
234
|
} else
|
|
235
235
|
s == null && e.__v === t.__v ? (e.__k = t.__k, e.__e = t.__e) : e.__e = Ml(t.__e, e, t, r, i, s, l, a);
|
|
@@ -266,7 +266,7 @@ function Ml(n, e, t, r, i, s, l, o) {
|
|
|
266
266
|
if (u === null)
|
|
267
267
|
f === h || o && n.data === h || (n.data = h);
|
|
268
268
|
else {
|
|
269
|
-
if (s = s &&
|
|
269
|
+
if (s = s && Nt.call(n.childNodes), d = (f = t.props || bt).dangerouslySetInnerHTML, c = h.dangerouslySetInnerHTML, !o) {
|
|
270
270
|
if (s != null)
|
|
271
271
|
for (f = {}, m = 0; m < n.attributes.length; m++)
|
|
272
272
|
f[n.attributes[m].name] = n.attributes[m].value;
|
|
@@ -309,9 +309,9 @@ function Il(n, e, t) {
|
|
|
309
309
|
}
|
|
310
310
|
function Je(n, e, t) {
|
|
311
311
|
var r, i, s;
|
|
312
|
-
_.__ && _.__(n, e), i = (r = typeof t == "function") ? null : t && t.__k || e.__k, s = [],
|
|
312
|
+
_.__ && _.__(n, e), i = (r = typeof t == "function") ? null : t && t.__k || e.__k, s = [], Cn(e, n = (!r && t || e).__k = g(B, null, [n]), i || bt, bt, e.ownerSVGElement !== void 0, !r && t ? [t] : i ? null : e.firstChild ? Nt.call(e.childNodes) : null, s, !r && t ? t : i ? i.__e : e.firstChild, r), ki(s, n);
|
|
313
313
|
}
|
|
314
|
-
function
|
|
314
|
+
function Ol(n, e) {
|
|
315
315
|
var t = { __c: e = "__cC" + Si++, __: n, Consumer: function(r, i) {
|
|
316
316
|
return r.children(i);
|
|
317
317
|
}, Provider: function(r) {
|
|
@@ -320,7 +320,7 @@ function Nl(n, e) {
|
|
|
320
320
|
return s;
|
|
321
321
|
}, this.shouldComponentUpdate = function(l) {
|
|
322
322
|
this.props.value !== l.value && i.some(function(o) {
|
|
323
|
-
o.__e = !0,
|
|
323
|
+
o.__e = !0, cn(o);
|
|
324
324
|
});
|
|
325
325
|
}, this.sub = function(l) {
|
|
326
326
|
i.push(l);
|
|
@@ -332,7 +332,7 @@ function Nl(n, e) {
|
|
|
332
332
|
} };
|
|
333
333
|
return t.Provider.__ = t.Consumer.contextType = t;
|
|
334
334
|
}
|
|
335
|
-
|
|
335
|
+
Nt = Ai.slice, _ = { __e: function(n, e, t, r) {
|
|
336
336
|
for (var i, s, l; e = e.__; )
|
|
337
337
|
if ((i = e.__c) && !i.__)
|
|
338
338
|
try {
|
|
@@ -346,48 +346,48 @@ Pt = Ai.slice, _ = { __e: function(n, e, t, r) {
|
|
|
346
346
|
return n != null && n.constructor === void 0;
|
|
347
347
|
}, je = !1, Q.prototype.setState = function(n, e) {
|
|
348
348
|
var t;
|
|
349
|
-
t = this.__s != null && this.__s !== this.state ? this.__s : this.__s = ge({}, this.state), typeof n == "function" && (n = n(ge({}, t), this.props)), n && ge(t, n), n != null && this.__v && (e && this._sb.push(e),
|
|
349
|
+
t = this.__s != null && this.__s !== this.state ? this.__s : this.__s = ge({}, this.state), typeof n == "function" && (n = n(ge({}, t), this.props)), n && ge(t, n), n != null && this.__v && (e && this._sb.push(e), cn(this));
|
|
350
350
|
}, Q.prototype.forceUpdate = function(n) {
|
|
351
|
-
this.__v && (this.__e = !0, n && this.__h.push(n),
|
|
351
|
+
this.__v && (this.__e = !0, n && this.__h.push(n), cn(this));
|
|
352
352
|
}, Q.prototype.render = B, De = [], Ei = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, St.__r = 0, Si = 0;
|
|
353
|
-
var ne,
|
|
354
|
-
function
|
|
353
|
+
var ne, Wt, mr, Ii = [], Gt = [], vr = _.__b, yr = _.__r, br = _.diffed, Er = _.__c, Sr = _.unmount;
|
|
354
|
+
function Nl() {
|
|
355
355
|
for (var n; n = Ii.shift(); )
|
|
356
356
|
if (n.__P && n.__H)
|
|
357
357
|
try {
|
|
358
|
-
n.__H.__h.forEach(pt), n.__H.__h.forEach(
|
|
358
|
+
n.__H.__h.forEach(pt), n.__H.__h.forEach(dn), n.__H.__h = [];
|
|
359
359
|
} catch (e) {
|
|
360
360
|
n.__H.__h = [], _.__e(e, n.__v);
|
|
361
361
|
}
|
|
362
362
|
}
|
|
363
363
|
_.__b = function(n) {
|
|
364
|
-
ne = null,
|
|
364
|
+
ne = null, vr && vr(n);
|
|
365
365
|
}, _.__r = function(n) {
|
|
366
|
-
|
|
366
|
+
yr && yr(n);
|
|
367
367
|
var e = (ne = n.__c).__H;
|
|
368
|
-
e && (
|
|
369
|
-
t.__N && (t.__ = t.__N), t.__V =
|
|
370
|
-
})) : (e.__h.forEach(pt), e.__h.forEach(
|
|
368
|
+
e && (Wt === ne ? (e.__h = [], ne.__h = [], e.__.forEach(function(t) {
|
|
369
|
+
t.__N && (t.__ = t.__N), t.__V = Gt, t.__N = t.i = void 0;
|
|
370
|
+
})) : (e.__h.forEach(pt), e.__h.forEach(dn), e.__h = [])), Wt = ne;
|
|
371
371
|
}, _.diffed = function(n) {
|
|
372
|
-
|
|
372
|
+
br && br(n);
|
|
373
373
|
var e = n.__c;
|
|
374
|
-
e && e.__H && (e.__H.__h.length && (Ii.push(e) !== 1 &&
|
|
375
|
-
t.i && (t.__H = t.i), t.__V !==
|
|
376
|
-
})),
|
|
374
|
+
e && e.__H && (e.__H.__h.length && (Ii.push(e) !== 1 && mr === _.requestAnimationFrame || ((mr = _.requestAnimationFrame) || Hl)(Nl)), e.__H.__.forEach(function(t) {
|
|
375
|
+
t.i && (t.__H = t.i), t.__V !== Gt && (t.__ = t.__V), t.i = void 0, t.__V = Gt;
|
|
376
|
+
})), Wt = ne = null;
|
|
377
377
|
}, _.__c = function(n, e) {
|
|
378
378
|
e.some(function(t) {
|
|
379
379
|
try {
|
|
380
380
|
t.__h.forEach(pt), t.__h = t.__h.filter(function(r) {
|
|
381
|
-
return !r.__ ||
|
|
381
|
+
return !r.__ || dn(r);
|
|
382
382
|
});
|
|
383
383
|
} catch (r) {
|
|
384
384
|
e.some(function(i) {
|
|
385
385
|
i.__h && (i.__h = []);
|
|
386
386
|
}), e = [], _.__e(r, t.__v);
|
|
387
387
|
}
|
|
388
|
-
}),
|
|
388
|
+
}), Er && Er(n, e);
|
|
389
389
|
}, _.unmount = function(n) {
|
|
390
|
-
|
|
390
|
+
Sr && Sr(n);
|
|
391
391
|
var e, t = n.__c;
|
|
392
392
|
t && t.__H && (t.__H.__.forEach(function(r) {
|
|
393
393
|
try {
|
|
@@ -397,27 +397,27 @@ _.__b = function(n) {
|
|
|
397
397
|
}
|
|
398
398
|
}), t.__H = void 0, e && _.__e(e, t.__v));
|
|
399
399
|
};
|
|
400
|
-
var
|
|
401
|
-
function
|
|
400
|
+
var Ar = typeof requestAnimationFrame == "function";
|
|
401
|
+
function Hl(n) {
|
|
402
402
|
var e, t = function() {
|
|
403
|
-
clearTimeout(r),
|
|
403
|
+
clearTimeout(r), Ar && cancelAnimationFrame(e), setTimeout(n);
|
|
404
404
|
}, r = setTimeout(t, 100);
|
|
405
|
-
|
|
405
|
+
Ar && (e = requestAnimationFrame(t));
|
|
406
406
|
}
|
|
407
407
|
function pt(n) {
|
|
408
408
|
var e = ne, t = n.__c;
|
|
409
409
|
typeof t == "function" && (n.__c = void 0, t()), ne = e;
|
|
410
410
|
}
|
|
411
|
-
function
|
|
411
|
+
function dn(n) {
|
|
412
412
|
var e = ne;
|
|
413
413
|
n.__c = n.__(), ne = e;
|
|
414
414
|
}
|
|
415
|
-
function
|
|
415
|
+
function Pl(n, e) {
|
|
416
416
|
for (var t in e)
|
|
417
417
|
n[t] = e[t];
|
|
418
418
|
return n;
|
|
419
419
|
}
|
|
420
|
-
function
|
|
420
|
+
function _r(n, e) {
|
|
421
421
|
for (var t in n)
|
|
422
422
|
if (t !== "__source" && !(t in e))
|
|
423
423
|
return !0;
|
|
@@ -426,15 +426,15 @@ function Dr(n, e) {
|
|
|
426
426
|
return !0;
|
|
427
427
|
return !1;
|
|
428
428
|
}
|
|
429
|
-
function
|
|
429
|
+
function Dr(n) {
|
|
430
430
|
this.props = n;
|
|
431
431
|
}
|
|
432
|
-
(
|
|
433
|
-
return
|
|
432
|
+
(Dr.prototype = new Q()).isPureReactComponent = !0, Dr.prototype.shouldComponentUpdate = function(n, e) {
|
|
433
|
+
return _r(this.props, n) || _r(this.state, e);
|
|
434
434
|
};
|
|
435
|
-
var
|
|
435
|
+
var wr = _.__b;
|
|
436
436
|
_.__b = function(n) {
|
|
437
|
-
n.type && n.type.__f && n.ref && (n.props.ref = n.ref, n.ref = null),
|
|
437
|
+
n.type && n.type.__f && n.ref && (n.props.ref = n.ref, n.ref = null), wr && wr(n);
|
|
438
438
|
};
|
|
439
439
|
var Bl = _.__e;
|
|
440
440
|
_.__e = function(n, e, t, r) {
|
|
@@ -445,23 +445,23 @@ _.__e = function(n, e, t, r) {
|
|
|
445
445
|
}
|
|
446
446
|
Bl(n, e, t, r);
|
|
447
447
|
};
|
|
448
|
-
var
|
|
449
|
-
function
|
|
448
|
+
var Cr = _.unmount;
|
|
449
|
+
function Oi(n, e, t) {
|
|
450
450
|
return n && (n.__c && n.__c.__H && (n.__c.__H.__.forEach(function(r) {
|
|
451
451
|
typeof r.__c == "function" && r.__c();
|
|
452
|
-
}), n.__c.__H = null), (n =
|
|
453
|
-
return
|
|
452
|
+
}), n.__c.__H = null), (n = Pl({}, n)).__c != null && (n.__c.__P === t && (n.__c.__P = e), n.__c = null), n.__k = n.__k && n.__k.map(function(r) {
|
|
453
|
+
return Oi(r, e, t);
|
|
454
454
|
})), n;
|
|
455
455
|
}
|
|
456
|
-
function
|
|
456
|
+
function Ni(n, e, t) {
|
|
457
457
|
return n && (n.__v = null, n.__k = n.__k && n.__k.map(function(r) {
|
|
458
|
-
return
|
|
458
|
+
return Ni(r, e, t);
|
|
459
459
|
}), n.__c && n.__c.__P === e && (n.__e && t.insertBefore(n.__e, n.__d), n.__c.__e = !0, n.__c.__P = t)), n;
|
|
460
460
|
}
|
|
461
|
-
function
|
|
461
|
+
function qt() {
|
|
462
462
|
this.__u = 0, this.t = null, this.__b = null;
|
|
463
463
|
}
|
|
464
|
-
function
|
|
464
|
+
function Hi(n) {
|
|
465
465
|
var e = n.__.__c;
|
|
466
466
|
return e && e.__a && e.__a(n);
|
|
467
467
|
}
|
|
@@ -470,11 +470,11 @@ function st() {
|
|
|
470
470
|
}
|
|
471
471
|
_.unmount = function(n) {
|
|
472
472
|
var e = n.__c;
|
|
473
|
-
e && e.__R && e.__R(), e && n.__h === !0 && (n.type = null),
|
|
474
|
-
}, (
|
|
473
|
+
e && e.__R && e.__R(), e && n.__h === !0 && (n.type = null), Cr && Cr(n);
|
|
474
|
+
}, (qt.prototype = new Q()).__c = function(n, e) {
|
|
475
475
|
var t = e.__c, r = this;
|
|
476
476
|
r.t == null && (r.t = []), r.t.push(t);
|
|
477
|
-
var i =
|
|
477
|
+
var i = Hi(r.__v), s = !1, l = function() {
|
|
478
478
|
s || (s = !0, t.__R = null, i ? i(o) : o());
|
|
479
479
|
};
|
|
480
480
|
t.__R = l;
|
|
@@ -482,7 +482,7 @@ _.unmount = function(n) {
|
|
|
482
482
|
if (!--r.__u) {
|
|
483
483
|
if (r.state.__a) {
|
|
484
484
|
var d = r.state.__a;
|
|
485
|
-
r.__v.__k[0] =
|
|
485
|
+
r.__v.__k[0] = Ni(d, d.__c.__P, d.__c.__O);
|
|
486
486
|
}
|
|
487
487
|
var c;
|
|
488
488
|
for (r.setState({ __a: r.__b = null }); c = r.t.pop(); )
|
|
@@ -490,20 +490,20 @@ _.unmount = function(n) {
|
|
|
490
490
|
}
|
|
491
491
|
}, a = e.__h === !0;
|
|
492
492
|
r.__u++ || a || r.setState({ __a: r.__b = r.__v.__k[0] }), n.then(l, l);
|
|
493
|
-
},
|
|
493
|
+
}, qt.prototype.componentWillUnmount = function() {
|
|
494
494
|
this.t = [];
|
|
495
|
-
},
|
|
495
|
+
}, qt.prototype.render = function(n, e) {
|
|
496
496
|
if (this.__b) {
|
|
497
497
|
if (this.__v.__k) {
|
|
498
498
|
var t = document.createElement("div"), r = this.__v.__k[0].__c;
|
|
499
|
-
this.__v.__k[0] =
|
|
499
|
+
this.__v.__k[0] = Oi(this.__b, t, r.__O = r.__P);
|
|
500
500
|
}
|
|
501
501
|
this.__b = null;
|
|
502
502
|
}
|
|
503
503
|
var i = e.__a && g(B, null, n.fallback);
|
|
504
504
|
return i && (i.__h = null), [g(B, null, e.__a ? null : n.children), i];
|
|
505
505
|
};
|
|
506
|
-
var
|
|
506
|
+
var Rr = function(n, e, t) {
|
|
507
507
|
if (++t[1] === t[0] && n.o.delete(e), n.props.revealOrder && (n.props.revealOrder[0] !== "t" || !n.o.size))
|
|
508
508
|
for (t = n.u; t; ) {
|
|
509
509
|
for (; t.length > 3; )
|
|
@@ -535,10 +535,10 @@ function Ul(n, e) {
|
|
|
535
535
|
return t.containerInfo = e, t;
|
|
536
536
|
}
|
|
537
537
|
(st.prototype = new Q()).__a = function(n) {
|
|
538
|
-
var e = this, t =
|
|
538
|
+
var e = this, t = Hi(e.__v), r = e.o.get(n);
|
|
539
539
|
return r[0]++, function(i) {
|
|
540
540
|
var s = function() {
|
|
541
|
-
e.props.revealOrder ? (r.push(i),
|
|
541
|
+
e.props.revealOrder ? (r.push(i), Rr(e, n, r)) : i();
|
|
542
542
|
};
|
|
543
543
|
t ? t(s) : s();
|
|
544
544
|
};
|
|
@@ -552,7 +552,7 @@ function Ul(n, e) {
|
|
|
552
552
|
}, st.prototype.componentDidUpdate = st.prototype.componentDidMount = function() {
|
|
553
553
|
var n = this;
|
|
554
554
|
this.o.forEach(function(e, t) {
|
|
555
|
-
|
|
555
|
+
Rr(n, t, e);
|
|
556
556
|
});
|
|
557
557
|
};
|
|
558
558
|
var jl = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, Vl = /^(?: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]/, Fl = typeof document < "u", Wl = function(n) {
|
|
@@ -565,7 +565,7 @@ Q.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveP
|
|
|
565
565
|
Object.defineProperty(this, n, { configurable: !0, writable: !0, value: e });
|
|
566
566
|
} });
|
|
567
567
|
});
|
|
568
|
-
var
|
|
568
|
+
var Tr = _.event;
|
|
569
569
|
function Gl() {
|
|
570
570
|
}
|
|
571
571
|
function ql() {
|
|
@@ -575,11 +575,11 @@ function Yl() {
|
|
|
575
575
|
return this.defaultPrevented;
|
|
576
576
|
}
|
|
577
577
|
_.event = function(n) {
|
|
578
|
-
return
|
|
578
|
+
return Tr && (n = Tr(n)), n.persist = Gl, n.isPropagationStopped = ql, n.isDefaultPrevented = Yl, n.nativeEvent = n;
|
|
579
579
|
};
|
|
580
|
-
var
|
|
580
|
+
var kr = { configurable: !0, get: function() {
|
|
581
581
|
return this.class;
|
|
582
|
-
} },
|
|
582
|
+
} }, xr = _.vnode;
|
|
583
583
|
_.vnode = function(n) {
|
|
584
584
|
var e = n.type, t = n.props, r = t;
|
|
585
585
|
if (typeof e == "string") {
|
|
@@ -592,26 +592,25 @@ _.vnode = function(n) {
|
|
|
592
592
|
o.props.selected = r.value.indexOf(o.props.value) != -1;
|
|
593
593
|
})), e == "select" && r.defaultValue != null && (r.value = At(t.children).forEach(function(o) {
|
|
594
594
|
o.props.selected = r.multiple ? r.defaultValue.indexOf(o.props.value) != -1 : r.defaultValue == o.props.value;
|
|
595
|
-
})), n.props = r, t.class != t.className && (
|
|
595
|
+
})), n.props = r, t.class != t.className && (kr.enumerable = "className" in t, t.className != null && (r.class = t.className), Object.defineProperty(r, "className", kr));
|
|
596
596
|
}
|
|
597
|
-
n.$$typeof = jl,
|
|
597
|
+
n.$$typeof = jl, xr && xr(n);
|
|
598
598
|
};
|
|
599
|
-
var
|
|
599
|
+
var Mr = _.__r;
|
|
600
600
|
_.__r = function(n) {
|
|
601
|
-
|
|
601
|
+
Mr && Mr(n), n.__c;
|
|
602
602
|
};
|
|
603
|
-
const
|
|
604
|
-
function
|
|
605
|
-
|
|
603
|
+
const Pi = [], un = /* @__PURE__ */ new Map();
|
|
604
|
+
function Rn(n) {
|
|
605
|
+
Pi.push(n), un.forEach((e) => {
|
|
606
606
|
Li(e, n);
|
|
607
607
|
});
|
|
608
608
|
}
|
|
609
609
|
function Ql(n) {
|
|
610
|
-
n.isConnected &&
|
|
611
|
-
n.getRootNode && Bi(n.getRootNode());
|
|
610
|
+
n.isConnected && Bi(n.getRootNode());
|
|
612
611
|
}
|
|
613
612
|
function Bi(n) {
|
|
614
|
-
let e =
|
|
613
|
+
let e = un.get(n);
|
|
615
614
|
if (!e || !e.isConnected) {
|
|
616
615
|
if (e = n.querySelector("style[data-fullcalendar]"), !e) {
|
|
617
616
|
e = document.createElement("style"), e.setAttribute("data-fullcalendar", "");
|
|
@@ -620,11 +619,11 @@ function Bi(n) {
|
|
|
620
619
|
const r = n === document ? document.head : n, i = n === document ? r.querySelector("script,link[rel=stylesheet],link[as=style],style") : r.firstChild;
|
|
621
620
|
r.insertBefore(e, i);
|
|
622
621
|
}
|
|
623
|
-
|
|
622
|
+
un.set(n, e), $l(e);
|
|
624
623
|
}
|
|
625
624
|
}
|
|
626
625
|
function $l(n) {
|
|
627
|
-
for (const e of
|
|
626
|
+
for (const e of Pi)
|
|
628
627
|
Li(n, e);
|
|
629
628
|
}
|
|
630
629
|
function Li(n, e) {
|
|
@@ -633,9 +632,9 @@ function Li(n, e) {
|
|
|
633
632
|
i = i.trim(), i && t.insertRule(i + "}", r + s);
|
|
634
633
|
});
|
|
635
634
|
}
|
|
636
|
-
let
|
|
635
|
+
let Yt;
|
|
637
636
|
function Zl() {
|
|
638
|
-
return
|
|
637
|
+
return Yt === void 0 && (Yt = Xl()), Yt;
|
|
639
638
|
}
|
|
640
639
|
function Xl() {
|
|
641
640
|
const n = document.querySelector('meta[name="csp-nonce"]');
|
|
@@ -645,9 +644,9 @@ function Xl() {
|
|
|
645
644
|
return e && e.nonce || "";
|
|
646
645
|
}
|
|
647
646
|
typeof document < "u" && Bi(document);
|
|
648
|
-
var Jl = ':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)}';
|
|
649
|
-
|
|
650
|
-
class
|
|
647
|
+
var Jl = ':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)}';
|
|
648
|
+
Rn(Jl);
|
|
649
|
+
class Tn {
|
|
651
650
|
constructor(e) {
|
|
652
651
|
this.drainedOption = e, this.isRunning = !1, this.isDirty = !1, this.pauseDepths = {}, this.timeoutId = 0;
|
|
653
652
|
}
|
|
@@ -686,7 +685,7 @@ class kn {
|
|
|
686
685
|
this.drainedOption && this.drainedOption();
|
|
687
686
|
}
|
|
688
687
|
}
|
|
689
|
-
function
|
|
688
|
+
function kn(n) {
|
|
690
689
|
n.parentNode && n.parentNode.removeChild(n);
|
|
691
690
|
}
|
|
692
691
|
function F(n, e) {
|
|
@@ -725,11 +724,11 @@ function Ui(n) {
|
|
|
725
724
|
var e, t;
|
|
726
725
|
return (t = (e = n.composedPath) === null || e === void 0 ? void 0 : e.call(n)[0]) !== null && t !== void 0 ? t : n.target;
|
|
727
726
|
}
|
|
728
|
-
let
|
|
727
|
+
let Ir = 0;
|
|
729
728
|
function Ht() {
|
|
730
|
-
return
|
|
729
|
+
return Ir += 1, "fc-dom-" + Ir;
|
|
731
730
|
}
|
|
732
|
-
function
|
|
731
|
+
function Pt(n) {
|
|
733
732
|
n.preventDefault();
|
|
734
733
|
}
|
|
735
734
|
function no(n, e) {
|
|
@@ -784,27 +783,27 @@ function Fi(n) {
|
|
|
784
783
|
}
|
|
785
784
|
};
|
|
786
785
|
}
|
|
787
|
-
let
|
|
786
|
+
let Nr = 0;
|
|
788
787
|
function Me() {
|
|
789
|
-
return
|
|
788
|
+
return Nr += 1, String(Nr);
|
|
790
789
|
}
|
|
791
|
-
function
|
|
790
|
+
function xn() {
|
|
792
791
|
document.body.classList.add("fc-not-allowed");
|
|
793
792
|
}
|
|
794
|
-
function
|
|
793
|
+
function Mn() {
|
|
795
794
|
document.body.classList.remove("fc-not-allowed");
|
|
796
795
|
}
|
|
797
796
|
function so(n) {
|
|
798
|
-
n.style.userSelect = "none", n.style.webkitUserSelect = "none", n.addEventListener("selectstart",
|
|
797
|
+
n.style.userSelect = "none", n.style.webkitUserSelect = "none", n.addEventListener("selectstart", Pt);
|
|
799
798
|
}
|
|
800
799
|
function lo(n) {
|
|
801
|
-
n.style.userSelect = "", n.style.webkitUserSelect = "", n.removeEventListener("selectstart",
|
|
800
|
+
n.style.userSelect = "", n.style.webkitUserSelect = "", n.removeEventListener("selectstart", Pt);
|
|
802
801
|
}
|
|
803
802
|
function oo(n) {
|
|
804
|
-
n.addEventListener("contextmenu",
|
|
803
|
+
n.addEventListener("contextmenu", Pt);
|
|
805
804
|
}
|
|
806
805
|
function ao(n) {
|
|
807
|
-
n.removeEventListener("contextmenu",
|
|
806
|
+
n.removeEventListener("contextmenu", Pt);
|
|
808
807
|
}
|
|
809
808
|
function co(n) {
|
|
810
809
|
let e = [], t = [], r, i;
|
|
@@ -849,7 +848,7 @@ function po(n) {
|
|
|
849
848
|
}
|
|
850
849
|
const Hr = ["years", "months", "days", "milliseconds"], mo = /^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;
|
|
851
850
|
function k(n, e) {
|
|
852
|
-
return typeof n == "string" ? vo(n) : typeof n == "object" && n ?
|
|
851
|
+
return typeof n == "string" ? vo(n) : typeof n == "object" && n ? Pr(n) : typeof n == "number" ? Pr({ [e || "milliseconds"]: n }) : null;
|
|
853
852
|
}
|
|
854
853
|
function vo(n) {
|
|
855
854
|
let e = mo.exec(n);
|
|
@@ -867,7 +866,7 @@ function vo(n) {
|
|
|
867
866
|
}
|
|
868
867
|
return null;
|
|
869
868
|
}
|
|
870
|
-
function
|
|
869
|
+
function Pr(n) {
|
|
871
870
|
let e = {
|
|
872
871
|
years: n.years || n.year || 0,
|
|
873
872
|
months: n.months || n.month || 0,
|
|
@@ -883,7 +882,7 @@ function Br(n) {
|
|
|
883
882
|
function yo(n, e) {
|
|
884
883
|
return n.years === e.years && n.months === e.months && n.days === e.days && n.milliseconds === e.milliseconds;
|
|
885
884
|
}
|
|
886
|
-
function
|
|
885
|
+
function fn(n, e) {
|
|
887
886
|
return {
|
|
888
887
|
years: n.years + e.years,
|
|
889
888
|
months: n.months + e.months,
|
|
@@ -919,7 +918,7 @@ function ze(n) {
|
|
|
919
918
|
function K(n) {
|
|
920
919
|
return n.years * (365 * 864e5) + n.months * (30 * 864e5) + n.days * 864e5 + n.milliseconds;
|
|
921
920
|
}
|
|
922
|
-
function
|
|
921
|
+
function In(n, e) {
|
|
923
922
|
let t = null;
|
|
924
923
|
for (let r = 0; r < Hr.length; r += 1) {
|
|
925
924
|
let i = Hr[r];
|
|
@@ -933,7 +932,7 @@ function Nn(n, e) {
|
|
|
933
932
|
}
|
|
934
933
|
return t;
|
|
935
934
|
}
|
|
936
|
-
function
|
|
935
|
+
function hn(n) {
|
|
937
936
|
let e = n.milliseconds;
|
|
938
937
|
if (e) {
|
|
939
938
|
if (e % 1e3 !== 0)
|
|
@@ -959,7 +958,7 @@ function ye(n, e, t) {
|
|
|
959
958
|
return !0;
|
|
960
959
|
}
|
|
961
960
|
const _o = ["sun", "mon", "tue", "wed", "thu", "fri", "sat"];
|
|
962
|
-
function
|
|
961
|
+
function Br(n, e) {
|
|
963
962
|
let t = pe(n);
|
|
964
963
|
return t[2] += e * 7, Y(t);
|
|
965
964
|
}
|
|
@@ -987,7 +986,7 @@ function Ro(n, e) {
|
|
|
987
986
|
return (e.valueOf() - n.valueOf()) / 1e3;
|
|
988
987
|
}
|
|
989
988
|
function To(n, e) {
|
|
990
|
-
let t =
|
|
989
|
+
let t = P(n), r = P(e);
|
|
991
990
|
return {
|
|
992
991
|
years: 0,
|
|
993
992
|
months: 0,
|
|
@@ -1002,7 +1001,7 @@ function ko(n, e) {
|
|
|
1002
1001
|
function _t(n, e) {
|
|
1003
1002
|
return me(n) === me(e) ? Math.round(Ie(n, e)) : null;
|
|
1004
1003
|
}
|
|
1005
|
-
function
|
|
1004
|
+
function P(n) {
|
|
1006
1005
|
return Y([
|
|
1007
1006
|
n.getUTCFullYear(),
|
|
1008
1007
|
n.getUTCMonth(),
|
|
@@ -1036,22 +1035,22 @@ function Io(n) {
|
|
|
1036
1035
|
n.getUTCSeconds()
|
|
1037
1036
|
]);
|
|
1038
1037
|
}
|
|
1039
|
-
function
|
|
1040
|
-
let r = n.getUTCFullYear(), i =
|
|
1038
|
+
function Oo(n, e, t) {
|
|
1039
|
+
let r = n.getUTCFullYear(), i = Qt(n, r, e, t);
|
|
1041
1040
|
if (i < 1)
|
|
1042
|
-
return
|
|
1043
|
-
let s =
|
|
1041
|
+
return Qt(n, r - 1, e, t);
|
|
1042
|
+
let s = Qt(n, r + 1, e, t);
|
|
1044
1043
|
return s >= 1 ? Math.min(i, s) : i;
|
|
1045
1044
|
}
|
|
1046
|
-
function
|
|
1047
|
-
let i = Y([e, 0, 1 +
|
|
1045
|
+
function Qt(n, e, t, r) {
|
|
1046
|
+
let i = Y([e, 0, 1 + No(e, t, r)]), s = P(n), l = Math.round(Ie(i, s));
|
|
1048
1047
|
return Math.floor(l / 7) + 1;
|
|
1049
1048
|
}
|
|
1050
|
-
function
|
|
1049
|
+
function No(n, e, t) {
|
|
1051
1050
|
let r = 7 + e - t;
|
|
1052
1051
|
return -((7 + Y([n, 0, r]).getUTCDay() - e) % 7) + r - 1;
|
|
1053
1052
|
}
|
|
1054
|
-
function
|
|
1053
|
+
function Lr(n) {
|
|
1055
1054
|
return [
|
|
1056
1055
|
n.getFullYear(),
|
|
1057
1056
|
n.getMonth(),
|
|
@@ -1062,7 +1061,7 @@ function zr(n) {
|
|
|
1062
1061
|
n.getMilliseconds()
|
|
1063
1062
|
];
|
|
1064
1063
|
}
|
|
1065
|
-
function
|
|
1064
|
+
function zr(n) {
|
|
1066
1065
|
return new Date(
|
|
1067
1066
|
n[0],
|
|
1068
1067
|
n[1] || 0,
|
|
@@ -1095,18 +1094,18 @@ function me(n) {
|
|
|
1095
1094
|
}
|
|
1096
1095
|
function Gi(n, e, t = !1) {
|
|
1097
1096
|
let r = n.toISOString();
|
|
1098
|
-
return r = r.replace(".000", ""), t && (r = r.replace("T00:00:00Z", "")), r.length > 10 && (e == null ? r = r.replace("Z", "") : e !== 0 && (r = r.replace("Z",
|
|
1097
|
+
return r = r.replace(".000", ""), t && (r = r.replace("T00:00:00Z", "")), r.length > 10 && (e == null ? r = r.replace("Z", "") : e !== 0 && (r = r.replace("Z", Nn(e, !0)))), r;
|
|
1099
1098
|
}
|
|
1100
1099
|
function On(n) {
|
|
1101
1100
|
return n.toISOString().replace(/T.*$/, "");
|
|
1102
1101
|
}
|
|
1103
|
-
function
|
|
1102
|
+
function Ho(n) {
|
|
1104
1103
|
return n.toISOString().match(/^\d{4}-\d{2}/)[0];
|
|
1105
1104
|
}
|
|
1106
|
-
function
|
|
1105
|
+
function Po(n) {
|
|
1107
1106
|
return Le(n.getUTCHours(), 2) + ":" + Le(n.getUTCMinutes(), 2) + ":" + Le(n.getUTCSeconds(), 2);
|
|
1108
1107
|
}
|
|
1109
|
-
function
|
|
1108
|
+
function Nn(n, e = !1) {
|
|
1110
1109
|
let t = n < 0 ? "-" : "+", r = Math.abs(n), i = Math.floor(r / 60), s = Math.round(r % 60);
|
|
1111
1110
|
return e ? `${t + Le(i, 2)}:${Le(s, 2)}` : `GMT${t}${i}${s ? `:${Le(s, 2)}` : ""}`;
|
|
1112
1111
|
}
|
|
@@ -1136,7 +1135,7 @@ function vt(n, e, t) {
|
|
|
1136
1135
|
return r = s, i;
|
|
1137
1136
|
};
|
|
1138
1137
|
}
|
|
1139
|
-
const
|
|
1138
|
+
const Ur = {
|
|
1140
1139
|
week: 3,
|
|
1141
1140
|
separator: 0,
|
|
1142
1141
|
omitZeroMinute: 0,
|
|
@@ -1157,8 +1156,8 @@ class jo {
|
|
|
1157
1156
|
constructor(e) {
|
|
1158
1157
|
let t = {}, r = {}, i = 0;
|
|
1159
1158
|
for (let s in e)
|
|
1160
|
-
s in
|
|
1161
|
-
this.standardDateProps = t, this.extendedSettings = r, this.severity = i, this.buildFormattingFunc = w(
|
|
1159
|
+
s in Ur ? (r[s] = e[s], i = Math.max(Ur[s], i)) : (t[s] = e[s], s in Dt && (i = Math.max(Dt[s], i)));
|
|
1160
|
+
this.standardDateProps = t, this.extendedSettings = r, this.severity = i, this.buildFormattingFunc = w(jr);
|
|
1162
1161
|
}
|
|
1163
1162
|
format(e, t) {
|
|
1164
1163
|
return this.buildFormattingFunc(this.standardDateProps, this.extendedSettings, t)(e);
|
|
@@ -1173,7 +1172,7 @@ class jo {
|
|
|
1173
1172
|
let d = this.format(e, r), c = this.format(t, r);
|
|
1174
1173
|
if (d === c)
|
|
1175
1174
|
return d;
|
|
1176
|
-
let f = Qo(s, a), h =
|
|
1175
|
+
let f = Qo(s, a), h = jr(f, l, r), u = h(e), m = h(t), y = $o(d, u, c, m), b = l.separator || i || r.defaultSeparator || "";
|
|
1177
1176
|
return y ? y.before + u + b + m + y.after : d + b + c;
|
|
1178
1177
|
}
|
|
1179
1178
|
getLargestUnit() {
|
|
@@ -1193,9 +1192,9 @@ class jo {
|
|
|
1193
1192
|
}
|
|
1194
1193
|
}
|
|
1195
1194
|
}
|
|
1196
|
-
function
|
|
1195
|
+
function jr(n, e, t) {
|
|
1197
1196
|
let r = Object.keys(n).length;
|
|
1198
|
-
return r === 1 && n.timeZoneName === "short" ? (i) =>
|
|
1197
|
+
return r === 1 && n.timeZoneName === "short" ? (i) => Nn(i.timeZoneOffset) : r === 0 && e.week ? (i) => qo(t.computeWeekNumber(i.marker), t.weekText, t.weekTextLong, t.locale, e.week) : Vo(n, e, t);
|
|
1199
1198
|
}
|
|
1200
1199
|
function Vo(n, e, t) {
|
|
1201
1200
|
n = Object.assign({}, n), e = Object.assign({}, e), Fo(n, e), n.timeZone = "UTC";
|
|
@@ -1217,7 +1216,7 @@ function Fo(n, e) {
|
|
|
1217
1216
|
function Wo(n, e, t, r, i) {
|
|
1218
1217
|
return n = n.replace(zo, ""), t.timeZoneName === "short" && (n = Go(n, i.timeZone === "UTC" || e.timeZoneOffset == null ? "UTC" : (
|
|
1219
1218
|
// important to normalize for IE, which does "GMT"
|
|
1220
|
-
|
|
1219
|
+
Nn(e.timeZoneOffset)
|
|
1221
1220
|
))), r.omitCommas && (n = n.replace(Bo, "").trim()), r.omitZeroMinute && (n = n.replace(":00", "")), r.meridiem === !1 ? n = n.replace(lt, "").trim() : r.meridiem === "narrow" ? n = n.replace(lt, (s, l) => l.toLocaleLowerCase()) : r.meridiem === "short" ? n = n.replace(lt, (s, l) => `${l.toLocaleLowerCase()}m`) : r.meridiem === "lowercase" && (n = n.replace(lt, (s) => s.toLocaleLowerCase())), n = n.replace(Lo, " "), n = n.trim(), n;
|
|
1222
1221
|
}
|
|
1223
1222
|
function Go(n, e) {
|
|
@@ -1263,7 +1262,7 @@ function $o(n, e, t, r) {
|
|
|
1263
1262
|
}
|
|
1264
1263
|
return null;
|
|
1265
1264
|
}
|
|
1266
|
-
function
|
|
1265
|
+
function Vr(n, e) {
|
|
1267
1266
|
let t = e.markerToArray(n.marker);
|
|
1268
1267
|
return {
|
|
1269
1268
|
marker: n.marker,
|
|
@@ -1279,7 +1278,7 @@ function Fr(n, e) {
|
|
|
1279
1278
|
};
|
|
1280
1279
|
}
|
|
1281
1280
|
function wt(n, e, t, r) {
|
|
1282
|
-
let i =
|
|
1281
|
+
let i = Vr(n, t.calendarSystem), s = e ? Vr(e, t.calendarSystem) : null;
|
|
1283
1282
|
return {
|
|
1284
1283
|
date: i,
|
|
1285
1284
|
start: i,
|
|
@@ -1314,7 +1313,7 @@ class Xo {
|
|
|
1314
1313
|
function j(n) {
|
|
1315
1314
|
return typeof n == "object" && n ? new jo(n) : typeof n == "string" ? new Zo(n) : typeof n == "function" ? new Xo(n) : null;
|
|
1316
1315
|
}
|
|
1317
|
-
const
|
|
1316
|
+
const Fr = {
|
|
1318
1317
|
navLinkDayClick: v,
|
|
1319
1318
|
navLinkWeekClick: v,
|
|
1320
1319
|
duration: k,
|
|
@@ -1539,7 +1538,7 @@ const Wr = {
|
|
|
1539
1538
|
eventMinWidth: 30,
|
|
1540
1539
|
eventShortHeight: 30,
|
|
1541
1540
|
monthStartFormat: { month: "long", day: "numeric" }
|
|
1542
|
-
},
|
|
1541
|
+
}, Wr = {
|
|
1543
1542
|
datesSet: v,
|
|
1544
1543
|
eventsSet: v,
|
|
1545
1544
|
eventAdd: v,
|
|
@@ -1560,7 +1559,7 @@ const Wr = {
|
|
|
1560
1559
|
_noEventResize: v,
|
|
1561
1560
|
_resize: v,
|
|
1562
1561
|
_scrollRequest: v
|
|
1563
|
-
},
|
|
1562
|
+
}, Gr = {
|
|
1564
1563
|
buttonText: v,
|
|
1565
1564
|
buttonHints: v,
|
|
1566
1565
|
views: v,
|
|
@@ -1598,8 +1597,8 @@ const Jo = {
|
|
|
1598
1597
|
didMount: v,
|
|
1599
1598
|
willUnmount: v
|
|
1600
1599
|
};
|
|
1601
|
-
function
|
|
1602
|
-
return
|
|
1600
|
+
function $t(n) {
|
|
1601
|
+
return Pn(n, Ae);
|
|
1603
1602
|
}
|
|
1604
1603
|
function Hn(n, e) {
|
|
1605
1604
|
let t = {}, r = {};
|
|
@@ -1613,7 +1612,7 @@ function v(n) {
|
|
|
1613
1612
|
return n;
|
|
1614
1613
|
}
|
|
1615
1614
|
const { hasOwnProperty: Ct } = Object.prototype;
|
|
1616
|
-
function
|
|
1615
|
+
function Pn(n, e) {
|
|
1617
1616
|
let t = {};
|
|
1618
1617
|
if (e) {
|
|
1619
1618
|
for (let r in e)
|
|
@@ -1628,7 +1627,7 @@ function Bn(n, e) {
|
|
|
1628
1627
|
break;
|
|
1629
1628
|
}
|
|
1630
1629
|
}
|
|
1631
|
-
i.length && (t[r] =
|
|
1630
|
+
i.length && (t[r] = Pn(i));
|
|
1632
1631
|
}
|
|
1633
1632
|
}
|
|
1634
1633
|
for (let r = n.length - 1; r >= 0; r -= 1) {
|
|
@@ -1656,7 +1655,7 @@ function qi(n) {
|
|
|
1656
1655
|
e[t] = !0;
|
|
1657
1656
|
return e;
|
|
1658
1657
|
}
|
|
1659
|
-
function
|
|
1658
|
+
function Bn(n) {
|
|
1660
1659
|
let e = [];
|
|
1661
1660
|
for (let t in n)
|
|
1662
1661
|
e.push(n[t]);
|
|
@@ -1675,13 +1674,13 @@ function re(n, e) {
|
|
|
1675
1674
|
}
|
|
1676
1675
|
const Ko = /^on[A-Z]/;
|
|
1677
1676
|
function ea(n, e) {
|
|
1678
|
-
const t =
|
|
1677
|
+
const t = gn(n, e);
|
|
1679
1678
|
for (let r of t)
|
|
1680
1679
|
if (!Ko.test(r))
|
|
1681
1680
|
return !1;
|
|
1682
1681
|
return !0;
|
|
1683
1682
|
}
|
|
1684
|
-
function
|
|
1683
|
+
function gn(n, e) {
|
|
1685
1684
|
let t = [];
|
|
1686
1685
|
for (let r in n)
|
|
1687
1686
|
Ct.call(n, r) && (r in e || t.push(r));
|
|
@@ -1689,7 +1688,7 @@ function pn(n, e) {
|
|
|
1689
1688
|
Ct.call(e, r) && n[r] !== e[r] && t.push(r);
|
|
1690
1689
|
return t;
|
|
1691
1690
|
}
|
|
1692
|
-
function
|
|
1691
|
+
function Zt(n, e, t = {}) {
|
|
1693
1692
|
if (n === e)
|
|
1694
1693
|
return !0;
|
|
1695
1694
|
for (let r in e)
|
|
@@ -1764,7 +1763,7 @@ class aa {
|
|
|
1764
1763
|
return t === null ? null : t.marker;
|
|
1765
1764
|
}
|
|
1766
1765
|
createNowMarker() {
|
|
1767
|
-
return this.canComputeOffset ? this.timestampToMarker((/* @__PURE__ */ new Date()).valueOf()) : Y(
|
|
1766
|
+
return this.canComputeOffset ? this.timestampToMarker((/* @__PURE__ */ new Date()).valueOf()) : Y(Lr(/* @__PURE__ */ new Date()));
|
|
1768
1767
|
}
|
|
1769
1768
|
createMarkerMeta(e) {
|
|
1770
1769
|
if (typeof e == "string")
|
|
@@ -1827,7 +1826,7 @@ class aa {
|
|
|
1827
1826
|
// Start-Of
|
|
1828
1827
|
// these DON'T return zoned-dates. only UTC start-of dates
|
|
1829
1828
|
startOf(e, t) {
|
|
1830
|
-
return t === "year" ? this.startOfYear(e) : t === "month" ? this.startOfMonth(e) : t === "week" ? this.startOfWeek(e) : t === "day" ?
|
|
1829
|
+
return t === "year" ? this.startOfYear(e) : t === "month" ? this.startOfMonth(e) : t === "week" ? this.startOfWeek(e) : t === "day" ? P(e) : t === "hour" ? xo(e) : t === "minute" ? Mo(e) : t === "second" ? Io(e) : null;
|
|
1831
1830
|
}
|
|
1832
1831
|
startOfYear(e) {
|
|
1833
1832
|
return this.calendarSystem.arrayToMarker([
|
|
@@ -1849,7 +1848,7 @@ class aa {
|
|
|
1849
1848
|
}
|
|
1850
1849
|
// Week Number
|
|
1851
1850
|
computeWeekNumber(e) {
|
|
1852
|
-
return this.weekNumberFunc ? this.weekNumberFunc(this.toDate(e)) :
|
|
1851
|
+
return this.weekNumberFunc ? this.weekNumberFunc(this.toDate(e)) : Oo(e, this.weekDow, this.weekDoy);
|
|
1853
1852
|
}
|
|
1854
1853
|
// TODO: choke on timeZoneName: long
|
|
1855
1854
|
format(e, t, r = {}) {
|
|
@@ -1877,14 +1876,14 @@ class aa {
|
|
|
1877
1876
|
}
|
|
1878
1877
|
// TimeZone
|
|
1879
1878
|
timestampToMarker(e) {
|
|
1880
|
-
return this.timeZone === "local" ? Y(
|
|
1879
|
+
return this.timeZone === "local" ? Y(Lr(new Date(e))) : this.timeZone === "UTC" || !this.namedTimeZoneImpl ? new Date(e) : Y(this.namedTimeZoneImpl.timestampToArray(e));
|
|
1881
1880
|
}
|
|
1882
1881
|
offsetForMarker(e) {
|
|
1883
|
-
return this.timeZone === "local" ? -
|
|
1882
|
+
return this.timeZone === "local" ? -zr(pe(e)).getTimezoneOffset() : this.timeZone === "UTC" ? 0 : this.namedTimeZoneImpl ? this.namedTimeZoneImpl.offsetForArray(pe(e)) : null;
|
|
1884
1883
|
}
|
|
1885
1884
|
// Conversion
|
|
1886
1885
|
toDate(e, t) {
|
|
1887
|
-
return this.timeZone === "local" ?
|
|
1886
|
+
return this.timeZone === "local" ? zr(pe(e)) : this.timeZone === "UTC" ? new Date(e.valueOf()) : this.namedTimeZoneImpl ? new Date(e.valueOf() - this.namedTimeZoneImpl.offsetForArray(pe(e)) * 1e3 * 60) : new Date(e.valueOf() - (t || 0));
|
|
1888
1887
|
}
|
|
1889
1888
|
}
|
|
1890
1889
|
class et {
|
|
@@ -1921,7 +1920,7 @@ et.prototype.classes = {};
|
|
|
1921
1920
|
et.prototype.iconClasses = {};
|
|
1922
1921
|
et.prototype.baseIconClass = "";
|
|
1923
1922
|
et.prototype.iconOverridePrefix = "";
|
|
1924
|
-
function
|
|
1923
|
+
function qr(n) {
|
|
1925
1924
|
n();
|
|
1926
1925
|
let e = _.debounceRendering, t = [];
|
|
1927
1926
|
function r(i) {
|
|
@@ -1940,7 +1939,7 @@ class ca extends Q {
|
|
|
1940
1939
|
}
|
|
1941
1940
|
}
|
|
1942
1941
|
function Qi(n) {
|
|
1943
|
-
let e =
|
|
1942
|
+
let e = Ol(n), t = e.Provider;
|
|
1944
1943
|
return e.Provider = function() {
|
|
1945
1944
|
let r = !this.getChildContext, i = t.apply(this, arguments);
|
|
1946
1945
|
if (r) {
|
|
@@ -2009,21 +2008,21 @@ function ua(n, e, t, r, i, s, l, o, a, d, c, f, h) {
|
|
|
2009
2008
|
unregisterInteractiveComponent: h
|
|
2010
2009
|
};
|
|
2011
2010
|
}
|
|
2012
|
-
class
|
|
2011
|
+
class Oe extends Q {
|
|
2013
2012
|
shouldComponentUpdate(e, t) {
|
|
2014
|
-
return this.debug && console.log(
|
|
2013
|
+
return this.debug && console.log(gn(e, this.props), gn(t, this.state)), !Zt(this.props, e, this.propEquality) || !Zt(this.state, t, this.stateEquality);
|
|
2015
2014
|
}
|
|
2016
2015
|
// HACK for freakin' React StrictMode
|
|
2017
2016
|
safeSetState(e) {
|
|
2018
|
-
|
|
2017
|
+
Zt(this.state, Object.assign(Object.assign({}, this.state), e), this.stateEquality) || this.setState(e);
|
|
2019
2018
|
}
|
|
2020
2019
|
}
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
class I extends
|
|
2020
|
+
Oe.addPropsEquality = fa;
|
|
2021
|
+
Oe.addStateEquality = ha;
|
|
2022
|
+
Oe.contextType = ue;
|
|
2023
|
+
Oe.prototype.propEquality = {};
|
|
2024
|
+
Oe.prototype.stateEquality = {};
|
|
2025
|
+
class I extends Oe {
|
|
2027
2026
|
}
|
|
2028
2027
|
I.contextType = ue;
|
|
2029
2028
|
function fa(n) {
|
|
@@ -2037,11 +2036,11 @@ function ha(n) {
|
|
|
2037
2036
|
function de(n, e) {
|
|
2038
2037
|
typeof n == "function" ? n(e) : n && (n.current = e);
|
|
2039
2038
|
}
|
|
2040
|
-
class
|
|
2039
|
+
class Ln extends I {
|
|
2041
2040
|
constructor() {
|
|
2042
2041
|
super(...arguments), this.id = Me(), this.queuedDomNodes = [], this.currentDomNodes = [], this.handleEl = (e) => {
|
|
2043
2042
|
const { options: t } = this.context, { generatorName: r } = this.props;
|
|
2044
|
-
(!t.customRenderingReplaces || !
|
|
2043
|
+
(!t.customRenderingReplaces || !pn(r, t)) && this.updateElRef(e);
|
|
2045
2044
|
}, this.updateElRef = (e) => {
|
|
2046
2045
|
this.props.elRef && de(this.props.elRef, e);
|
|
2047
2046
|
};
|
|
@@ -2058,7 +2057,7 @@ class zn extends I {
|
|
|
2058
2057
|
u && "html" in h ? o.dangerouslySetInnerHTML = { __html: h.html } : u && "domNodes" in h ? c = Array.prototype.slice.call(h.domNodes) : (u ? bi(h) : typeof h != "function") ? d = h : f = h;
|
|
2059
2058
|
}
|
|
2060
2059
|
} else
|
|
2061
|
-
a = !
|
|
2060
|
+
a = !pn(e.generatorName, r);
|
|
2062
2061
|
return a && s && (d = s(l)), this.queuedDomNodes = c, this.currentGeneratorMeta = f, g(e.elTag, o, d);
|
|
2063
2062
|
}
|
|
2064
2063
|
componentDidMount() {
|
|
@@ -2088,20 +2087,20 @@ class zn extends I {
|
|
|
2088
2087
|
applyQueueudDomNodes() {
|
|
2089
2088
|
const { queuedDomNodes: e, currentDomNodes: t } = this, r = this.base;
|
|
2090
2089
|
if (!ye(e, t)) {
|
|
2091
|
-
t.forEach(
|
|
2090
|
+
t.forEach(kn);
|
|
2092
2091
|
for (let i of e)
|
|
2093
2092
|
r.appendChild(i);
|
|
2094
2093
|
this.currentDomNodes = e;
|
|
2095
2094
|
}
|
|
2096
2095
|
}
|
|
2097
2096
|
}
|
|
2098
|
-
|
|
2097
|
+
Ln.addPropsEquality({
|
|
2099
2098
|
elClasses: ye,
|
|
2100
2099
|
elStyle: re,
|
|
2101
2100
|
elAttrs: ea,
|
|
2102
2101
|
renderProps: re
|
|
2103
2102
|
});
|
|
2104
|
-
function
|
|
2103
|
+
function pn(n, e) {
|
|
2105
2104
|
var t;
|
|
2106
2105
|
return !!(e.handleCustomRendering && n && (!((t = e.customRenderingMetaMap) === null || t === void 0) && t[n]));
|
|
2107
2106
|
}
|
|
@@ -2125,7 +2124,7 @@ class Z extends Q {
|
|
|
2125
2124
|
const r = $i(e, t, this.handleEl), i = e.children(this.InnerContent, e.renderProps, r);
|
|
2126
2125
|
return e.elTag ? g(e.elTag, r, i) : i;
|
|
2127
2126
|
} else
|
|
2128
|
-
return g(
|
|
2127
|
+
return g(Ln, Object.assign(Object.assign({}, e), { elRef: this.handleEl, elTag: e.elTag || "div", elClasses: (e.elClasses || []).concat(t), renderId: this.context }));
|
|
2129
2128
|
}
|
|
2130
2129
|
componentDidMount() {
|
|
2131
2130
|
var e, t;
|
|
@@ -2139,13 +2138,13 @@ class Z extends Q {
|
|
|
2139
2138
|
Z.contextType = Zi;
|
|
2140
2139
|
function pa(n, e) {
|
|
2141
2140
|
const t = n.props;
|
|
2142
|
-
return g(
|
|
2141
|
+
return g(Ln, Object.assign({ renderProps: t.renderProps, generatorName: t.generatorName, customGenerator: t.customGenerator, defaultGenerator: t.defaultGenerator, renderId: n.context }, e));
|
|
2143
2142
|
}
|
|
2144
2143
|
function ma(n, e) {
|
|
2145
2144
|
const t = typeof n == "function" ? n(e) : n || [];
|
|
2146
2145
|
return typeof t == "string" ? [t] : t;
|
|
2147
2146
|
}
|
|
2148
|
-
class
|
|
2147
|
+
class Rt extends I {
|
|
2149
2148
|
render() {
|
|
2150
2149
|
let { props: e, context: t } = this, { options: r } = t, i = { view: t.viewApi };
|
|
2151
2150
|
return g(Z, Object.assign({}, e, { elTag: e.elTag || "div", elClasses: [
|
|
@@ -2180,10 +2179,10 @@ function ke(n, e) {
|
|
|
2180
2179
|
function ba(n, e) {
|
|
2181
2180
|
return (n.start === null ? null : n.start.valueOf()) === (e.start === null ? null : e.start.valueOf()) && (n.end === null ? null : n.end.valueOf()) === (e.end === null ? null : e.end.valueOf());
|
|
2182
2181
|
}
|
|
2183
|
-
function
|
|
2182
|
+
function zn(n, e) {
|
|
2184
2183
|
return (n.end === null || e.start === null || n.end > e.start) && (n.start === null || e.end === null || n.start < e.end);
|
|
2185
2184
|
}
|
|
2186
|
-
function
|
|
2185
|
+
function Bt(n, e) {
|
|
2187
2186
|
return (n.start === null || e.start !== null && e.start >= n.start) && (n.end === null || e.end !== null && e.end <= n.end);
|
|
2188
2187
|
}
|
|
2189
2188
|
function ae(n, e) {
|
|
@@ -2193,19 +2192,19 @@ function Ea(n, e) {
|
|
|
2193
2192
|
return e.start != null && n < e.start ? e.start : e.end != null && n >= e.end ? new Date(e.end.valueOf() - 1) : n;
|
|
2194
2193
|
}
|
|
2195
2194
|
function Ji(n) {
|
|
2196
|
-
let e = Math.floor(Ie(n.start, n.end)) || 1, t =
|
|
2195
|
+
let e = Math.floor(Ie(n.start, n.end)) || 1, t = P(n.start), r = W(t, e);
|
|
2197
2196
|
return { start: t, end: r };
|
|
2198
2197
|
}
|
|
2199
2198
|
function Ki(n, e = k(0)) {
|
|
2200
2199
|
let t = null, r = null;
|
|
2201
2200
|
if (n.end) {
|
|
2202
|
-
r =
|
|
2201
|
+
r = P(n.end);
|
|
2203
2202
|
let i = n.end.valueOf() - r.valueOf();
|
|
2204
2203
|
i && i >= K(e) && (r = W(r, 1));
|
|
2205
2204
|
}
|
|
2206
|
-
return n.start && (t =
|
|
2205
|
+
return n.start && (t = P(n.start), r && r <= t && (r = W(t, 1))), { start: t, end: r };
|
|
2207
2206
|
}
|
|
2208
|
-
function
|
|
2207
|
+
function Pe(n, e, t, r) {
|
|
2209
2208
|
return r === "year" ? k(t.diffWholeYears(n, e), "year") : r === "month" ? k(t.diffWholeMonths(n, e), "month") : To(n, e);
|
|
2210
2209
|
}
|
|
2211
2210
|
function Sa(n, e) {
|
|
@@ -2252,7 +2251,7 @@ class es {
|
|
|
2252
2251
|
// from its previous value. decremented = -1, incremented = 1 (default).
|
|
2253
2252
|
build(e, t, r = !0) {
|
|
2254
2253
|
let { props: i } = this, s, l, o, a, d, c;
|
|
2255
|
-
return s = this.buildValidRange(), s = this.trimHiddenDays(s), r && (e = Ea(e, s)), l = this.buildCurrentRangeInfo(e, t), 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 = ke(d, l.range)), d = this.adjustActiveRange(d), d = ke(d, s), c =
|
|
2254
|
+
return s = this.buildValidRange(), s = this.trimHiddenDays(s), r && (e = Ea(e, s)), l = this.buildCurrentRangeInfo(e, t), 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 = ke(d, l.range)), d = this.adjustActiveRange(d), d = ke(d, s), c = zn(l.range, s), ae(a, e) || (e = a.start), {
|
|
2256
2255
|
currentDate: e,
|
|
2257
2256
|
// constraint for where prev/next operations can go and where events can be dragged/resized to.
|
|
2258
2257
|
// an object with optional start and end properties.
|
|
@@ -2292,7 +2291,7 @@ class es {
|
|
|
2292
2291
|
// Guaranteed to have `range` and `unit` properties. `duration` is optional.
|
|
2293
2292
|
buildCurrentRangeInfo(e, t) {
|
|
2294
2293
|
let { props: r } = this, i = null, s = null, l = null, o;
|
|
2295
|
-
return r.duration ? (i = r.duration, s = r.durationUnit, l = this.buildRangeFromDuration(e, t, i, s)) : (o = this.props.dayCount) ? (s = "day", l = this.buildRangeFromDayCount(e, t, o)) : (l = this.buildCustomVisibleRange(e)) ? s = r.dateEnv.greatestWholeUnit(l.start, l.end).unit : (i = this.getFallbackDuration(), s =
|
|
2294
|
+
return r.duration ? (i = r.duration, s = r.durationUnit, l = this.buildRangeFromDuration(e, t, i, s)) : (o = this.props.dayCount) ? (s = "day", l = this.buildRangeFromDayCount(e, t, o)) : (l = this.buildCustomVisibleRange(e)) ? s = r.dateEnv.greatestWholeUnit(l.start, l.end).unit : (i = this.getFallbackDuration(), s = hn(i).unit, l = this.buildRangeFromDuration(e, t, i, s)), { duration: i, unit: s, range: l };
|
|
2296
2295
|
}
|
|
2297
2296
|
getFallbackDuration() {
|
|
2298
2297
|
return k({ day: 1 });
|
|
@@ -2301,7 +2300,7 @@ class es {
|
|
|
2301
2300
|
// slotMinTime or slotMaxTime causes the range to expand.
|
|
2302
2301
|
adjustActiveRange(e) {
|
|
2303
2302
|
let { dateEnv: t, usesMinMaxTime: r, slotMinTime: i, slotMaxTime: s } = this.props, { start: l, end: o } = e;
|
|
2304
|
-
return r && (ze(i) < 0 && (l =
|
|
2303
|
+
return r && (ze(i) < 0 && (l = P(l), l = t.add(l, i)), ze(s) > 1 && (o = P(o), o = W(o, -1), o = t.add(o, s))), { start: l, end: o };
|
|
2305
2304
|
}
|
|
2306
2305
|
// Builds the "current" range when it is specified as an explicit duration.
|
|
2307
2306
|
// `unit` is the already-computed greatestDurationDenominator unit of duration.
|
|
@@ -2309,9 +2308,9 @@ class es {
|
|
|
2309
2308
|
let { dateEnv: s, dateAlignment: l } = this.props, o, a, d;
|
|
2310
2309
|
if (!l) {
|
|
2311
2310
|
let { dateIncrement: f } = this.props;
|
|
2312
|
-
f && K(f) < K(r) ? l =
|
|
2311
|
+
f && K(f) < K(r) ? l = hn(f).unit : l = i;
|
|
2313
2312
|
}
|
|
2314
|
-
ze(r) <= 1 && this.isHiddenDay(o) && (o = this.skipHiddenDays(o, t), o =
|
|
2313
|
+
ze(r) <= 1 && this.isHiddenDay(o) && (o = this.skipHiddenDays(o, t), o = P(o));
|
|
2315
2314
|
function c() {
|
|
2316
2315
|
o = s.startOf(e, l), a = s.add(o, r), d = { start: o, end: a };
|
|
2317
2316
|
}
|
|
@@ -2320,7 +2319,7 @@ class es {
|
|
|
2320
2319
|
// Builds the "current" range when a dayCount is specified.
|
|
2321
2320
|
buildRangeFromDayCount(e, t, r) {
|
|
2322
2321
|
let { dateEnv: i, dateAlignment: s } = this.props, l = 0, o = e, a;
|
|
2323
|
-
s && (o = i.startOf(o, s)), o =
|
|
2322
|
+
s && (o = i.startOf(o, s)), o = P(o), o = this.skipHiddenDays(o, t), a = o;
|
|
2324
2323
|
do
|
|
2325
2324
|
a = W(a, 1), this.isHiddenDay(a) || (l += 1);
|
|
2326
2325
|
while (l < r);
|
|
@@ -2384,7 +2383,7 @@ class es {
|
|
|
2384
2383
|
return e;
|
|
2385
2384
|
}
|
|
2386
2385
|
}
|
|
2387
|
-
function
|
|
2386
|
+
function Un(n, e, t, r) {
|
|
2388
2387
|
return {
|
|
2389
2388
|
instanceId: Me(),
|
|
2390
2389
|
defId: n,
|
|
@@ -2418,7 +2417,7 @@ function xe(n, e, t) {
|
|
|
2418
2417
|
c || (c = d.allDay ? s.defaultAllDayEventDuration : s.defaultTimedEventDuration);
|
|
2419
2418
|
let f = Da(d, c, e, r, i.recurringTypes);
|
|
2420
2419
|
for (let h of f) {
|
|
2421
|
-
let u =
|
|
2420
|
+
let u = Un(a, {
|
|
2422
2421
|
start: h,
|
|
2423
2422
|
end: r.add(h, c)
|
|
2424
2423
|
});
|
|
@@ -2433,7 +2432,7 @@ function Da(n, e, t, r, i) {
|
|
|
2433
2432
|
start: r.subtract(t.start, e),
|
|
2434
2433
|
end: t.end
|
|
2435
2434
|
}, r);
|
|
2436
|
-
return n.allDay && (l = l.map(
|
|
2435
|
+
return n.allDay && (l = l.map(P)), l;
|
|
2437
2436
|
}
|
|
2438
2437
|
const yt = {
|
|
2439
2438
|
id: String,
|
|
@@ -2447,10 +2446,10 @@ const yt = {
|
|
|
2447
2446
|
date: v,
|
|
2448
2447
|
allDay: Boolean
|
|
2449
2448
|
}, wa = Object.assign(Object.assign(Object.assign({}, yt), ts), { extendedProps: v });
|
|
2450
|
-
function ns(n, e, t, r, i =
|
|
2449
|
+
function ns(n, e, t, r, i = jn(t), s, l) {
|
|
2451
2450
|
let { refined: o, extra: a } = rs(n, t, i), d = Ra(e, t), c = _a(o, d, t.dateEnv, t.pluginHooks.recurringTypes);
|
|
2452
2451
|
if (c) {
|
|
2453
|
-
let h =
|
|
2452
|
+
let h = mn(o, a, e ? e.sourceId : "", c.allDay, !!c.duration, t, s);
|
|
2454
2453
|
return h.recurringDef = {
|
|
2455
2454
|
typeId: c.typeId,
|
|
2456
2455
|
typeData: c.typeData,
|
|
@@ -2459,18 +2458,18 @@ function ns(n, e, t, r, i = Vn(t), s, l) {
|
|
|
2459
2458
|
}
|
|
2460
2459
|
let f = Ca(o, d, t, r);
|
|
2461
2460
|
if (f) {
|
|
2462
|
-
let h =
|
|
2461
|
+
let h = mn(o, a, e ? e.sourceId : "", f.allDay, f.hasEnd, t, s), u = Un(h.defId, f.range, f.forcedStartTzo, f.forcedEndTzo);
|
|
2463
2462
|
return l && h.publicId && l[h.publicId] && (u.instanceId = l[h.publicId]), { def: h, instance: u };
|
|
2464
2463
|
}
|
|
2465
2464
|
return null;
|
|
2466
2465
|
}
|
|
2467
|
-
function rs(n, e, t =
|
|
2466
|
+
function rs(n, e, t = jn(e)) {
|
|
2468
2467
|
return Hn(n, t);
|
|
2469
2468
|
}
|
|
2470
|
-
function
|
|
2471
|
-
return Object.assign(Object.assign(Object.assign({},
|
|
2469
|
+
function jn(n) {
|
|
2470
|
+
return Object.assign(Object.assign(Object.assign({}, Tt), wa), n.pluginHooks.eventRefiners);
|
|
2472
2471
|
}
|
|
2473
|
-
function
|
|
2472
|
+
function mn(n, e, t, r, i, s, l) {
|
|
2474
2473
|
let o = {
|
|
2475
2474
|
title: n.title || "",
|
|
2476
2475
|
groupId: n.groupId || "",
|
|
@@ -2482,7 +2481,7 @@ function vn(n, e, t, r, i, s, l) {
|
|
|
2482
2481
|
allDay: r,
|
|
2483
2482
|
hasEnd: i,
|
|
2484
2483
|
interactive: n.interactive,
|
|
2485
|
-
ui:
|
|
2484
|
+
ui: kt(n, s),
|
|
2486
2485
|
extendedProps: Object.assign(Object.assign({}, n.extendedProps || {}), e)
|
|
2487
2486
|
};
|
|
2488
2487
|
for (let a of s.pluginHooks.eventDefMemberAdders)
|
|
@@ -2495,7 +2494,7 @@ function Ca(n, e, t, r) {
|
|
|
2495
2494
|
l = s.marker;
|
|
2496
2495
|
else if (!r)
|
|
2497
2496
|
return null;
|
|
2498
|
-
return n.end != null && (a = t.dateEnv.createMarkerMeta(n.end)), i == null && (e != null ? i = e : i = (!s || s.isTimeUnspecified) && (!a || a.isTimeUnspecified)), i && l && (l =
|
|
2497
|
+
return n.end != null && (a = t.dateEnv.createMarkerMeta(n.end)), i == null && (e != null ? i = e : i = (!s || s.isTimeUnspecified) && (!a || a.isTimeUnspecified)), i && l && (l = P(l)), a && (d = a.marker, i && (d = P(d)), l && d <= l && (d = null)), d ? o = !0 : r || (o = t.options.forceEventDuration || !1, d = t.dateEnv.add(l, i ? t.options.defaultAllDayEventDuration : t.options.defaultTimedEventDuration)), {
|
|
2499
2498
|
allDay: i,
|
|
2500
2499
|
hasEnd: o,
|
|
2501
2500
|
range: { start: l, end: d },
|
|
@@ -2508,20 +2507,20 @@ function Ra(n, e) {
|
|
|
2508
2507
|
return n && (t = n.defaultAllDay), t == null && (t = e.options.defaultAllDay), t;
|
|
2509
2508
|
}
|
|
2510
2509
|
function Ke(n, e, t, r, i, s) {
|
|
2511
|
-
let l = $(), o =
|
|
2510
|
+
let l = $(), o = jn(t);
|
|
2512
2511
|
for (let a of n) {
|
|
2513
2512
|
let d = ns(a, e, t, r, o, i, s);
|
|
2514
|
-
d &&
|
|
2513
|
+
d && vn(d, l);
|
|
2515
2514
|
}
|
|
2516
2515
|
return l;
|
|
2517
2516
|
}
|
|
2518
|
-
function
|
|
2517
|
+
function vn(n, e = $()) {
|
|
2519
2518
|
return e.defs[n.def.defId] = n.def, n.instance && (e.instances[n.instance.instanceId] = n.instance), e;
|
|
2520
2519
|
}
|
|
2521
|
-
function
|
|
2520
|
+
function Vn(n, e) {
|
|
2522
2521
|
let t = n.instances[e];
|
|
2523
2522
|
if (t) {
|
|
2524
|
-
let r = n.defs[t.defId], i =
|
|
2523
|
+
let r = n.defs[t.defId], i = Lt(n, (s) => Ta(r, s));
|
|
2525
2524
|
return i.defs[r.defId] = r, i.instances[t.instanceId] = t, i;
|
|
2526
2525
|
}
|
|
2527
2526
|
return $();
|
|
@@ -2532,13 +2531,13 @@ function Ta(n, e) {
|
|
|
2532
2531
|
function $() {
|
|
2533
2532
|
return { defs: {}, instances: {} };
|
|
2534
2533
|
}
|
|
2535
|
-
function
|
|
2534
|
+
function Fn(n, e) {
|
|
2536
2535
|
return {
|
|
2537
2536
|
defs: Object.assign(Object.assign({}, n.defs), e.defs),
|
|
2538
2537
|
instances: Object.assign(Object.assign({}, n.instances), e.instances)
|
|
2539
2538
|
};
|
|
2540
2539
|
}
|
|
2541
|
-
function
|
|
2540
|
+
function Lt(n, e) {
|
|
2542
2541
|
let t = Te(n.defs, e), r = Te(n.instances, (i) => t[i.defId]);
|
|
2543
2542
|
return { defs: t, instances: r };
|
|
2544
2543
|
}
|
|
@@ -2560,7 +2559,7 @@ function xa(n, e) {
|
|
|
2560
2559
|
function Qr(n) {
|
|
2561
2560
|
return Array.isArray(n) ? n : typeof n == "string" ? n.split(/\s+/) : [];
|
|
2562
2561
|
}
|
|
2563
|
-
const
|
|
2562
|
+
const Tt = {
|
|
2564
2563
|
display: String,
|
|
2565
2564
|
editable: Boolean,
|
|
2566
2565
|
startEditable: Boolean,
|
|
@@ -2586,7 +2585,7 @@ const kt = {
|
|
|
2586
2585
|
textColor: "",
|
|
2587
2586
|
classNames: []
|
|
2588
2587
|
};
|
|
2589
|
-
function
|
|
2588
|
+
function kt(n, e) {
|
|
2590
2589
|
let t = xa(n.constraint, e);
|
|
2591
2590
|
return {
|
|
2592
2591
|
display: n.display || null,
|
|
@@ -2619,7 +2618,7 @@ function Ia(n, e) {
|
|
|
2619
2618
|
classNames: n.classNames.concat(e.classNames)
|
|
2620
2619
|
};
|
|
2621
2620
|
}
|
|
2622
|
-
const
|
|
2621
|
+
const Oa = {
|
|
2623
2622
|
id: String,
|
|
2624
2623
|
defaultAllDay: Boolean,
|
|
2625
2624
|
url: String,
|
|
@@ -2633,7 +2632,7 @@ const Na = {
|
|
|
2633
2632
|
function ss(n, e, t = ls(e)) {
|
|
2634
2633
|
let r;
|
|
2635
2634
|
if (typeof n == "string" ? r = { url: n } : typeof n == "function" || Array.isArray(n) ? r = { events: n } : typeof n == "object" && n && (r = n), r) {
|
|
2636
|
-
let { refined: i, extra: s } = Hn(r, t), l =
|
|
2635
|
+
let { refined: i, extra: s } = Hn(r, t), l = Na(i, e);
|
|
2637
2636
|
if (l)
|
|
2638
2637
|
return {
|
|
2639
2638
|
_raw: n,
|
|
@@ -2648,16 +2647,16 @@ function ss(n, e, t = ls(e)) {
|
|
|
2648
2647
|
sourceId: Me(),
|
|
2649
2648
|
sourceDefId: l.sourceDefId,
|
|
2650
2649
|
meta: l.meta,
|
|
2651
|
-
ui:
|
|
2650
|
+
ui: kt(i, e),
|
|
2652
2651
|
extendedProps: s
|
|
2653
2652
|
};
|
|
2654
2653
|
}
|
|
2655
2654
|
return null;
|
|
2656
2655
|
}
|
|
2657
2656
|
function ls(n) {
|
|
2658
|
-
return Object.assign(Object.assign(Object.assign({},
|
|
2657
|
+
return Object.assign(Object.assign(Object.assign({}, Tt), Oa), n.pluginHooks.eventSourceRefiners);
|
|
2659
2658
|
}
|
|
2660
|
-
function
|
|
2659
|
+
function Na(n, e) {
|
|
2661
2660
|
let t = e.pluginHooks.eventSourceDefs;
|
|
2662
2661
|
for (let r = t.length - 1; r >= 0; r -= 1) {
|
|
2663
2662
|
let s = t[r].parseMeta(n);
|
|
@@ -2666,10 +2665,10 @@ function Oa(n, e) {
|
|
|
2666
2665
|
}
|
|
2667
2666
|
return null;
|
|
2668
2667
|
}
|
|
2669
|
-
function
|
|
2668
|
+
function Ha(n, e, t, r, i) {
|
|
2670
2669
|
switch (e.type) {
|
|
2671
2670
|
case "RECEIVE_EVENTS":
|
|
2672
|
-
return
|
|
2671
|
+
return Pa(n, t[e.sourceId], e.fetchId, e.fetchRange, e.rawEvents, i);
|
|
2673
2672
|
case "RESET_RAW_EVENTS":
|
|
2674
2673
|
return Ba(n, t[e.sourceId], e.rawEvents, r.activeRange, i);
|
|
2675
2674
|
case "ADD_EVENTS":
|
|
@@ -2683,7 +2682,7 @@ function Pa(n, e, t, r, i) {
|
|
|
2683
2682
|
case "RESET_EVENTS":
|
|
2684
2683
|
return e.eventStore;
|
|
2685
2684
|
case "MERGE_EVENTS":
|
|
2686
|
-
return
|
|
2685
|
+
return Fn(n, e.eventStore);
|
|
2687
2686
|
case "PREV":
|
|
2688
2687
|
case "NEXT":
|
|
2689
2688
|
case "CHANGE_DATE":
|
|
@@ -2694,18 +2693,18 @@ function Pa(n, e, t, r, i) {
|
|
|
2694
2693
|
case "REMOVE_EVENT_SOURCE":
|
|
2695
2694
|
return as(n, e.sourceId);
|
|
2696
2695
|
case "REMOVE_ALL_EVENT_SOURCES":
|
|
2697
|
-
return
|
|
2696
|
+
return Lt(n, (s) => !s.sourceId);
|
|
2698
2697
|
case "REMOVE_ALL_EVENTS":
|
|
2699
2698
|
return $();
|
|
2700
2699
|
default:
|
|
2701
2700
|
return n;
|
|
2702
2701
|
}
|
|
2703
2702
|
}
|
|
2704
|
-
function
|
|
2703
|
+
function Pa(n, e, t, r, i, s) {
|
|
2705
2704
|
if (e && // not already removed
|
|
2706
2705
|
t === e.latestFetchId) {
|
|
2707
2706
|
let l = Ke(os(i, e, s), e, s);
|
|
2708
|
-
return r && (l = xe(l, r, s)),
|
|
2707
|
+
return r && (l = xe(l, r, s)), Fn(as(n, e.sourceId), l);
|
|
2709
2708
|
}
|
|
2710
2709
|
return n;
|
|
2711
2710
|
}
|
|
@@ -2732,7 +2731,7 @@ function $r(n, e) {
|
|
|
2732
2731
|
return t;
|
|
2733
2732
|
}
|
|
2734
2733
|
function La(n, e, t, r) {
|
|
2735
|
-
return t && (e = xe(e, t, r)),
|
|
2734
|
+
return t && (e = xe(e, t, r)), Fn(n, e);
|
|
2736
2735
|
}
|
|
2737
2736
|
function Zr(n, e, t) {
|
|
2738
2737
|
let { defs: r } = n, i = ce(n.instances, (s) => r[s.defId].allDay ? s : Object.assign(Object.assign({}, s), { range: {
|
|
@@ -2742,7 +2741,7 @@ function Zr(n, e, t) {
|
|
|
2742
2741
|
return { defs: r, instances: i };
|
|
2743
2742
|
}
|
|
2744
2743
|
function as(n, e) {
|
|
2745
|
-
return
|
|
2744
|
+
return Lt(n, (t) => t.sourceId !== e);
|
|
2746
2745
|
}
|
|
2747
2746
|
function za(n, e) {
|
|
2748
2747
|
return {
|
|
@@ -2762,7 +2761,7 @@ function Ua(n) {
|
|
|
2762
2761
|
}
|
|
2763
2762
|
return { defIdMap: r, instanceIdMap: i };
|
|
2764
2763
|
}
|
|
2765
|
-
class
|
|
2764
|
+
class zt {
|
|
2766
2765
|
constructor() {
|
|
2767
2766
|
this.handlers = {}, this.thisContext = null;
|
|
2768
2767
|
}
|
|
@@ -2810,7 +2809,7 @@ function Ga(n) {
|
|
|
2810
2809
|
return n === !0 ? e = [{}] : Array.isArray(n) ? e = n.filter((t) => t.daysOfWeek) : typeof n == "object" && n ? e = [n] : e = [], e = e.map((t) => Object.assign(Object.assign({}, Fa), t)), e;
|
|
2811
2810
|
}
|
|
2812
2811
|
function cs(n, e, t) {
|
|
2813
|
-
t.emitter.trigger("select", Object.assign(Object.assign({},
|
|
2812
|
+
t.emitter.trigger("select", Object.assign(Object.assign({}, Wn(n, t)), { jsEvent: e ? e.origEvent : null, view: t.viewApi || t.calendarApi.view }));
|
|
2814
2813
|
}
|
|
2815
2814
|
function qa(n, e) {
|
|
2816
2815
|
e.emitter.trigger("unselect", {
|
|
@@ -2818,7 +2817,7 @@ function qa(n, e) {
|
|
|
2818
2817
|
view: e.viewApi || e.calendarApi.view
|
|
2819
2818
|
});
|
|
2820
2819
|
}
|
|
2821
|
-
function
|
|
2820
|
+
function Wn(n, e) {
|
|
2822
2821
|
let t = {};
|
|
2823
2822
|
for (let r of e.pluginHooks.dateSpanTransforms)
|
|
2824
2823
|
Object.assign(t, r(n, e));
|
|
@@ -2826,10 +2825,10 @@ function Gn(n, e) {
|
|
|
2826
2825
|
}
|
|
2827
2826
|
function Xr(n, e, t) {
|
|
2828
2827
|
let { dateEnv: r, options: i } = t, s = e;
|
|
2829
|
-
return n ? (s =
|
|
2828
|
+
return n ? (s = P(s), s = r.add(s, i.defaultAllDayEventDuration)) : s = r.add(s, i.defaultTimedEventDuration), s;
|
|
2830
2829
|
}
|
|
2831
|
-
function
|
|
2832
|
-
let i =
|
|
2830
|
+
function Gn(n, e, t, r) {
|
|
2831
|
+
let i = xt(n.defs, e), s = $();
|
|
2833
2832
|
for (let l in n.defs) {
|
|
2834
2833
|
let o = n.defs[l];
|
|
2835
2834
|
s.defs[l] = Ya(o, i[l], t, r);
|
|
@@ -2864,11 +2863,11 @@ function Qa(n, e, t, r, i) {
|
|
|
2864
2863
|
start: a.range.start,
|
|
2865
2864
|
end: Xr(e.allDay, a.range.start, i)
|
|
2866
2865
|
}), e.allDay && (a.range = {
|
|
2867
|
-
start:
|
|
2868
|
-
end:
|
|
2866
|
+
start: P(a.range.start),
|
|
2867
|
+
end: P(a.range.end)
|
|
2869
2868
|
}), a.range.end < a.range.start && (a.range.end = Xr(e.allDay, a.range.start, i)), a;
|
|
2870
2869
|
}
|
|
2871
|
-
class
|
|
2870
|
+
class He {
|
|
2872
2871
|
constructor(e, t) {
|
|
2873
2872
|
this.context = e, this.internalEventSource = t;
|
|
2874
2873
|
}
|
|
@@ -2916,8 +2915,8 @@ class z {
|
|
|
2916
2915
|
t = yt[e](t), this.mutate({
|
|
2917
2916
|
standardProps: { [e]: t }
|
|
2918
2917
|
});
|
|
2919
|
-
else if (e in
|
|
2920
|
-
let r =
|
|
2918
|
+
else if (e in Tt) {
|
|
2919
|
+
let r = Tt[e](t);
|
|
2921
2920
|
e === "color" ? r = { backgroundColor: t, borderColor: t } : e === "editable" ? r = { startEditable: t, durationEditable: t } : r = { [e]: t }, this.mutate({
|
|
2922
2921
|
standardProps: { ui: r }
|
|
2923
2922
|
});
|
|
@@ -2932,7 +2931,7 @@ class z {
|
|
|
2932
2931
|
setStart(e, t = {}) {
|
|
2933
2932
|
let { dateEnv: r } = this._context, i = r.createMarker(e);
|
|
2934
2933
|
if (i && this._instance) {
|
|
2935
|
-
let s = this._instance.range, l =
|
|
2934
|
+
let s = this._instance.range, l = Pe(s.start, i, r, t.granularity);
|
|
2936
2935
|
t.maintainDuration ? this.mutate({ datesDelta: l }) : this.mutate({ startDelta: l });
|
|
2937
2936
|
}
|
|
2938
2937
|
}
|
|
@@ -2940,7 +2939,7 @@ class z {
|
|
|
2940
2939
|
let { dateEnv: r } = this._context, i;
|
|
2941
2940
|
if (!(e != null && (i = r.createMarker(e), !i)) && this._instance)
|
|
2942
2941
|
if (i) {
|
|
2943
|
-
let s =
|
|
2942
|
+
let s = Pe(this._instance.range.end, i, r, t.granularity);
|
|
2944
2943
|
this.mutate({ endDelta: s });
|
|
2945
2944
|
} else
|
|
2946
2945
|
this.mutate({ standardProps: { hasEnd: !1 } });
|
|
@@ -2950,9 +2949,9 @@ class z {
|
|
|
2950
2949
|
if (l && !(t != null && (o = i.createMarker(t), !o)) && this._instance) {
|
|
2951
2950
|
let a = this._instance.range;
|
|
2952
2951
|
r.allDay === !0 && (a = Ji(a));
|
|
2953
|
-
let d =
|
|
2952
|
+
let d = Pe(a.start, l, i, r.granularity);
|
|
2954
2953
|
if (o) {
|
|
2955
|
-
let c =
|
|
2954
|
+
let c = Pe(a.end, o, i, r.granularity);
|
|
2956
2955
|
yo(d, c) ? this.mutate({ datesDelta: d, standardProps: s }) : this.mutate({ startDelta: d, endDelta: c, standardProps: s });
|
|
2957
2956
|
} else
|
|
2958
2957
|
s.hasEnd = !1, this.mutate({ datesDelta: d, standardProps: s });
|
|
@@ -2986,8 +2985,8 @@ class z {
|
|
|
2986
2985
|
mutate(e) {
|
|
2987
2986
|
let t = this._instance;
|
|
2988
2987
|
if (t) {
|
|
2989
|
-
let r = this._def, i = this._context, { eventStore: s } = i.getCurrentData(), l =
|
|
2990
|
-
l =
|
|
2988
|
+
let r = this._def, i = this._context, { eventStore: s } = i.getCurrentData(), l = Vn(s, t.instanceId);
|
|
2989
|
+
l = Gn(l, {
|
|
2991
2990
|
"": {
|
|
2992
2991
|
display: "",
|
|
2993
2992
|
startEditable: !0,
|
|
@@ -3037,7 +3036,7 @@ class z {
|
|
|
3037
3036
|
}
|
|
3038
3037
|
get source() {
|
|
3039
3038
|
let { sourceId: e } = this._def;
|
|
3040
|
-
return e ? new
|
|
3039
|
+
return e ? new He(this._context, this._context.getCurrentData().eventSources[e]) : null;
|
|
3041
3040
|
}
|
|
3042
3041
|
get start() {
|
|
3043
3042
|
return this._instance ? this._context.dateEnv.toDate(this._instance.range.start) : null;
|
|
@@ -3137,7 +3136,7 @@ function Ce(n, e, t) {
|
|
|
3137
3136
|
return s;
|
|
3138
3137
|
}
|
|
3139
3138
|
function Jr(n, e, t, r) {
|
|
3140
|
-
let i = {}, s = {}, l = {}, o = [], a = [], d =
|
|
3139
|
+
let i = {}, s = {}, l = {}, o = [], a = [], d = xt(n.defs, e);
|
|
3141
3140
|
for (let c in n.defs) {
|
|
3142
3141
|
let f = n.defs[c];
|
|
3143
3142
|
d[f.defId].display === "inverse-background" && (f.groupId ? (i[f.groupId] = [], l[f.groupId] || (l[f.groupId] = f)) : s[c] = []);
|
|
@@ -3191,7 +3190,7 @@ function Ve(n) {
|
|
|
3191
3190
|
return n.fcSeg || n.parentNode.fcSeg || // for the harness
|
|
3192
3191
|
null;
|
|
3193
3192
|
}
|
|
3194
|
-
function
|
|
3193
|
+
function xt(n, e) {
|
|
3195
3194
|
return ce(n, (t) => us(t, e));
|
|
3196
3195
|
}
|
|
3197
3196
|
function us(n, e) {
|
|
@@ -3228,7 +3227,7 @@ function Ka(n, e) {
|
|
|
3228
3227
|
function hs(n, e, t, r, i, s, l) {
|
|
3229
3228
|
let { dateEnv: o, options: a } = t, { displayEventTime: d, displayEventEnd: c } = a, f = n.eventRange.def, h = n.eventRange.instance;
|
|
3230
3229
|
d == null && (d = r !== !1), c == null && (c = i !== !1);
|
|
3231
|
-
let u = h.range.start, m = h.range.end, y = s || n.start || n.eventRange.range.start, b = l || n.end || n.eventRange.range.end, E =
|
|
3230
|
+
let u = h.range.start, m = h.range.end, y = s || n.start || n.eventRange.range.start, b = l || n.end || n.eventRange.range.end, E = P(u).valueOf() === P(y).valueOf(), p = P(be(m, -1)).valueOf() === P(be(b, -1)).valueOf();
|
|
3232
3231
|
return d && !f.allDay && (E || p) ? (y = E ? u : y, b = p ? m : b, c && f.hasEnd ? o.formatRange(y, b, e, {
|
|
3233
3232
|
forcedStartTzo: s ? null : h.forcedStartTzo,
|
|
3234
3233
|
forcedEndTzo: l ? null : h.forcedEndTzo
|
|
@@ -3240,7 +3239,7 @@ function hs(n, e, t, r, i, s, l) {
|
|
|
3240
3239
|
function ve(n, e, t) {
|
|
3241
3240
|
let r = n.eventRange.range;
|
|
3242
3241
|
return {
|
|
3243
|
-
isPast: r.end
|
|
3242
|
+
isPast: r.end < (t || e.start),
|
|
3244
3243
|
isFuture: r.start >= (t || e.end),
|
|
3245
3244
|
isToday: e && ae(e, r.start)
|
|
3246
3245
|
};
|
|
@@ -3316,7 +3315,7 @@ function vs(n, e, t) {
|
|
|
3316
3315
|
};
|
|
3317
3316
|
}
|
|
3318
3317
|
function oc(n, e, t) {
|
|
3319
|
-
let r = rs({ editable: !1 }, t), i =
|
|
3318
|
+
let r = rs({ editable: !1 }, t), i = mn(
|
|
3320
3319
|
r.refined,
|
|
3321
3320
|
r.extra,
|
|
3322
3321
|
"",
|
|
@@ -3329,7 +3328,7 @@ function oc(n, e, t) {
|
|
|
3329
3328
|
return {
|
|
3330
3329
|
def: i,
|
|
3331
3330
|
ui: us(i, e),
|
|
3332
|
-
instance:
|
|
3331
|
+
instance: Un(i.defId, n.range),
|
|
3333
3332
|
range: n.range,
|
|
3334
3333
|
isStart: !0,
|
|
3335
3334
|
isEnd: !0
|
|
@@ -3363,9 +3362,9 @@ function cc(n, e, t) {
|
|
|
3363
3362
|
throw new ei("Request failed", i);
|
|
3364
3363
|
});
|
|
3365
3364
|
}
|
|
3366
|
-
let
|
|
3365
|
+
let Xt;
|
|
3367
3366
|
function ys() {
|
|
3368
|
-
return
|
|
3367
|
+
return Xt == null && (Xt = dc()), Xt;
|
|
3369
3368
|
}
|
|
3370
3369
|
function dc() {
|
|
3371
3370
|
if (typeof document > "u")
|
|
@@ -3380,13 +3379,9 @@ class uc extends I {
|
|
|
3380
3379
|
super(...arguments), this.state = {
|
|
3381
3380
|
forPrint: !1
|
|
3382
3381
|
}, this.handleBeforePrint = () => {
|
|
3383
|
-
|
|
3384
|
-
this.setState({ forPrint: !0 });
|
|
3385
|
-
});
|
|
3382
|
+
this.setState({ forPrint: !0 });
|
|
3386
3383
|
}, this.handleAfterPrint = () => {
|
|
3387
|
-
|
|
3388
|
-
this.setState({ forPrint: !1 });
|
|
3389
|
-
});
|
|
3384
|
+
this.setState({ forPrint: !1 });
|
|
3390
3385
|
};
|
|
3391
3386
|
}
|
|
3392
3387
|
render() {
|
|
@@ -3422,12 +3417,12 @@ function fc(n, e) {
|
|
|
3422
3417
|
isHitComboAllowed: e.isHitComboAllowed || null
|
|
3423
3418
|
};
|
|
3424
3419
|
}
|
|
3425
|
-
function
|
|
3420
|
+
function qn(n) {
|
|
3426
3421
|
return {
|
|
3427
3422
|
[n.component.uid]: n
|
|
3428
3423
|
};
|
|
3429
3424
|
}
|
|
3430
|
-
const
|
|
3425
|
+
const yn = {};
|
|
3431
3426
|
class hc {
|
|
3432
3427
|
getCurrentData() {
|
|
3433
3428
|
return this.currentDataManager.getCurrentData();
|
|
@@ -3613,15 +3608,15 @@ class hc {
|
|
|
3613
3608
|
let l = e._def, o = e._instance;
|
|
3614
3609
|
return this.getCurrentData().eventStore.defs[l.defId] || (this.dispatch({
|
|
3615
3610
|
type: "ADD_EVENTS",
|
|
3616
|
-
eventStore:
|
|
3611
|
+
eventStore: vn({ def: l, instance: o })
|
|
3617
3612
|
// TODO: better util for two args?
|
|
3618
3613
|
}), this.triggerEventAdd(e)), e;
|
|
3619
3614
|
}
|
|
3620
3615
|
let r = this.getCurrentData(), i;
|
|
3621
|
-
if (t instanceof
|
|
3616
|
+
if (t instanceof He)
|
|
3622
3617
|
i = t.internalEventSource;
|
|
3623
3618
|
else if (typeof t == "boolean")
|
|
3624
|
-
t && ([i] =
|
|
3619
|
+
t && ([i] = Bn(r.eventSources));
|
|
3625
3620
|
else if (t != null) {
|
|
3626
3621
|
let l = this.getEventSourceById(t);
|
|
3627
3622
|
if (!l)
|
|
@@ -3633,7 +3628,7 @@ class hc {
|
|
|
3633
3628
|
let l = new z(r, s.def, s.def.recurringDef ? null : s.instance);
|
|
3634
3629
|
return this.dispatch({
|
|
3635
3630
|
type: "ADD_EVENTS",
|
|
3636
|
-
eventStore:
|
|
3631
|
+
eventStore: vn(s)
|
|
3637
3632
|
}), this.triggerEventAdd(l), l;
|
|
3638
3633
|
}
|
|
3639
3634
|
return null;
|
|
@@ -3681,7 +3676,7 @@ class hc {
|
|
|
3681
3676
|
getEventSources() {
|
|
3682
3677
|
let e = this.getCurrentData(), t = e.eventSources, r = [];
|
|
3683
3678
|
for (let i in t)
|
|
3684
|
-
r.push(new
|
|
3679
|
+
r.push(new He(e, t[i]));
|
|
3685
3680
|
return r;
|
|
3686
3681
|
}
|
|
3687
3682
|
getEventSourceById(e) {
|
|
@@ -3689,18 +3684,18 @@ class hc {
|
|
|
3689
3684
|
e = String(e);
|
|
3690
3685
|
for (let i in r)
|
|
3691
3686
|
if (r[i].publicId === e)
|
|
3692
|
-
return new
|
|
3687
|
+
return new He(t, r[i]);
|
|
3693
3688
|
return null;
|
|
3694
3689
|
}
|
|
3695
3690
|
addEventSource(e) {
|
|
3696
3691
|
let t = this.getCurrentData();
|
|
3697
|
-
if (e instanceof
|
|
3692
|
+
if (e instanceof He)
|
|
3698
3693
|
return t.eventSources[e.internalEventSource.sourceId] || this.dispatch({
|
|
3699
3694
|
type: "ADD_EVENT_SOURCES",
|
|
3700
3695
|
sources: [e.internalEventSource]
|
|
3701
3696
|
}), e;
|
|
3702
3697
|
let r = ss(e, t);
|
|
3703
|
-
return r ? (this.dispatch({ type: "ADD_EVENT_SOURCES", sources: [r] }), new
|
|
3698
|
+
return r ? (this.dispatch({ type: "ADD_EVENT_SOURCES", sources: [r] }), new He(t, r)) : null;
|
|
3704
3699
|
}
|
|
3705
3700
|
removeAllEventSources() {
|
|
3706
3701
|
this.dispatch({ type: "REMOVE_ALL_EVENT_SOURCES" });
|
|
@@ -3745,7 +3740,7 @@ function vc(n, e) {
|
|
|
3745
3740
|
top: n.top - e.top
|
|
3746
3741
|
};
|
|
3747
3742
|
}
|
|
3748
|
-
const
|
|
3743
|
+
const Jt = $();
|
|
3749
3744
|
class yc {
|
|
3750
3745
|
constructor() {
|
|
3751
3746
|
this.getKeysForEventDefs = w(this._getKeysForEventDefs), this.splitDateSelection = w(this._splitDateSpan), this.splitEventStore = w(this._splitEventStore), this.splitIndividualUi = w(this._splitIndividualUi), this.splitEventDrag = w(this._splitInteraction), this.splitEventResize = w(this._splitInteraction), this.eventUiBuilders = {};
|
|
@@ -3754,7 +3749,7 @@ class yc {
|
|
|
3754
3749
|
let t = 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 = {};
|
|
3755
3750
|
this.eventUiBuilders = ce(t, (c, f) => this.eventUiBuilders[f] || w(bc));
|
|
3756
3751
|
for (let c in t) {
|
|
3757
|
-
let f = t[c], h = l[c] ||
|
|
3752
|
+
let f = t[c], h = l[c] || Jt, u = this.eventUiBuilders[c];
|
|
3758
3753
|
d[c] = {
|
|
3759
3754
|
businessHours: f.businessHours || e.businessHours,
|
|
3760
3755
|
dateSelection: i[c] || null,
|
|
@@ -3804,8 +3799,8 @@ class yc {
|
|
|
3804
3799
|
if (e) {
|
|
3805
3800
|
let r = this._splitEventStore(e.affectedEvents, this._getKeysForEventDefs(e.affectedEvents)), i = this._getKeysForEventDefs(e.mutatedEvents), s = this._splitEventStore(e.mutatedEvents, i), l = (o) => {
|
|
3806
3801
|
t[o] || (t[o] = {
|
|
3807
|
-
affectedEvents: r[o] ||
|
|
3808
|
-
mutatedEvents: s[o] ||
|
|
3802
|
+
affectedEvents: r[o] || Jt,
|
|
3803
|
+
mutatedEvents: s[o] || Jt,
|
|
3809
3804
|
isEvent: e.isEvent
|
|
3810
3805
|
});
|
|
3811
3806
|
};
|
|
@@ -3835,7 +3830,7 @@ function Es(n, e, t, r) {
|
|
|
3835
3830
|
isFuture: !!(t ? n > t : e && n >= e.end)
|
|
3836
3831
|
};
|
|
3837
3832
|
}
|
|
3838
|
-
function
|
|
3833
|
+
function Yn(n, e) {
|
|
3839
3834
|
let t = [
|
|
3840
3835
|
"fc-day",
|
|
3841
3836
|
`fc-day-${_o[n.dow]}`
|
|
@@ -3843,7 +3838,7 @@ function Qn(n, e) {
|
|
|
3843
3838
|
return n.isDisabled ? t.push("fc-day-disabled") : (n.isToday && (t.push("fc-day-today"), t.push(e.getClass("today"))), n.isPast && t.push("fc-day-past"), n.isFuture && t.push("fc-day-future"), n.isOther && t.push("fc-day-other")), t;
|
|
3844
3839
|
}
|
|
3845
3840
|
const Ec = j({ year: "numeric", month: "long", day: "numeric" }), Sc = j({ week: "long" });
|
|
3846
|
-
function
|
|
3841
|
+
function Mt(n, e, t = "day", r = !0) {
|
|
3847
3842
|
const { dateEnv: i, options: s, calendarApi: l } = n;
|
|
3848
3843
|
let o = i.format(e, t === "week" ? Sc : Ec);
|
|
3849
3844
|
if (s.navLinks) {
|
|
@@ -3856,9 +3851,9 @@ function It(n, e, t = "day", r = !0) {
|
|
|
3856
3851
|
}
|
|
3857
3852
|
return { "aria-label": o };
|
|
3858
3853
|
}
|
|
3859
|
-
let
|
|
3854
|
+
let Kt = null;
|
|
3860
3855
|
function Ac() {
|
|
3861
|
-
return
|
|
3856
|
+
return Kt === null && (Kt = _c()), Kt;
|
|
3862
3857
|
}
|
|
3863
3858
|
function _c() {
|
|
3864
3859
|
let n = document.createElement("div");
|
|
@@ -3872,11 +3867,11 @@ function _c() {
|
|
|
3872
3867
|
direction: "rtl"
|
|
3873
3868
|
}), n.innerHTML = "<div></div>", document.body.appendChild(n);
|
|
3874
3869
|
let t = n.firstChild.getBoundingClientRect().left > n.getBoundingClientRect().left;
|
|
3875
|
-
return
|
|
3870
|
+
return kn(n), t;
|
|
3876
3871
|
}
|
|
3877
|
-
let
|
|
3872
|
+
let en;
|
|
3878
3873
|
function Dc() {
|
|
3879
|
-
return
|
|
3874
|
+
return en || (en = wc()), en;
|
|
3880
3875
|
}
|
|
3881
3876
|
function wc() {
|
|
3882
3877
|
let n = document.createElement("div");
|
|
@@ -3903,7 +3898,7 @@ function Cc(n, e = !1) {
|
|
|
3903
3898
|
return Ac() && t.direction === "rtl" ? c.scrollbarLeft = a : c.scrollbarRight = a, e && (c.paddingLeft = parseInt(t.paddingLeft, 10) || 0, c.paddingRight = parseInt(t.paddingRight, 10) || 0, c.paddingTop = parseInt(t.paddingTop, 10) || 0, c.paddingBottom = parseInt(t.paddingBottom, 10) || 0), c;
|
|
3904
3899
|
}
|
|
3905
3900
|
function Rc(n, e = !1, t) {
|
|
3906
|
-
let r = t ? n.getBoundingClientRect() :
|
|
3901
|
+
let r = t ? n.getBoundingClientRect() : Qn(n), i = Cc(n, e), s = {
|
|
3907
3902
|
left: r.left + i.borderLeft + i.scrollbarLeft,
|
|
3908
3903
|
right: r.right - i.borderRight - i.scrollbarRight,
|
|
3909
3904
|
top: r.top + i.borderTop,
|
|
@@ -3911,13 +3906,13 @@ function Rc(n, e = !1, t) {
|
|
|
3911
3906
|
};
|
|
3912
3907
|
return e && (s.left += i.paddingLeft, s.right -= i.paddingRight, s.top += i.paddingTop, s.bottom -= i.paddingBottom), s;
|
|
3913
3908
|
}
|
|
3914
|
-
function
|
|
3909
|
+
function Qn(n) {
|
|
3915
3910
|
let e = n.getBoundingClientRect();
|
|
3916
3911
|
return {
|
|
3917
|
-
left: e.left + window.
|
|
3918
|
-
top: e.top + window.
|
|
3919
|
-
right: e.right + window.
|
|
3920
|
-
bottom: e.bottom + window.
|
|
3912
|
+
left: e.left + window.pageXOffset,
|
|
3913
|
+
top: e.top + window.pageYOffset,
|
|
3914
|
+
right: e.right + window.pageXOffset,
|
|
3915
|
+
bottom: e.bottom + window.pageYOffset
|
|
3921
3916
|
};
|
|
3922
3917
|
}
|
|
3923
3918
|
function Tc(n) {
|
|
@@ -4002,7 +3997,7 @@ function at(n, e) {
|
|
|
4002
3997
|
return !1;
|
|
4003
3998
|
return !0;
|
|
4004
3999
|
}
|
|
4005
|
-
class
|
|
4000
|
+
class $n {
|
|
4006
4001
|
getMaxScrollTop() {
|
|
4007
4002
|
return this.getScrollHeight() - this.getClientHeight();
|
|
4008
4003
|
}
|
|
@@ -4028,7 +4023,7 @@ class Zn {
|
|
|
4028
4023
|
return this.getScrollLeft() < this.getMaxScrollLeft();
|
|
4029
4024
|
}
|
|
4030
4025
|
}
|
|
4031
|
-
class kc extends
|
|
4026
|
+
class kc extends $n {
|
|
4032
4027
|
constructor(e) {
|
|
4033
4028
|
super(), this.el = e;
|
|
4034
4029
|
}
|
|
@@ -4057,18 +4052,18 @@ class kc extends Zn {
|
|
|
4057
4052
|
return this.el.clientWidth;
|
|
4058
4053
|
}
|
|
4059
4054
|
}
|
|
4060
|
-
class xc extends
|
|
4055
|
+
class xc extends $n {
|
|
4061
4056
|
getScrollTop() {
|
|
4062
|
-
return window.
|
|
4057
|
+
return window.pageYOffset;
|
|
4063
4058
|
}
|
|
4064
4059
|
getScrollLeft() {
|
|
4065
|
-
return window.
|
|
4060
|
+
return window.pageXOffset;
|
|
4066
4061
|
}
|
|
4067
4062
|
setScrollTop(e) {
|
|
4068
|
-
window.scroll(window.
|
|
4063
|
+
window.scroll(window.pageXOffset, e);
|
|
4069
4064
|
}
|
|
4070
4065
|
setScrollLeft(e) {
|
|
4071
|
-
window.scroll(e, window.
|
|
4066
|
+
window.scroll(e, window.pageYOffset);
|
|
4072
4067
|
}
|
|
4073
4068
|
getScrollWidth() {
|
|
4074
4069
|
return document.documentElement.scrollWidth;
|
|
@@ -4108,7 +4103,7 @@ class ie extends I {
|
|
|
4108
4103
|
}
|
|
4109
4104
|
}
|
|
4110
4105
|
class _s {
|
|
4111
|
-
constructor(e = (t) => t.thickness
|
|
4106
|
+
constructor(e = (t) => t.thickness) {
|
|
4112
4107
|
this.getEntryThickness = e, this.strictOrder = !1, this.allowReslicing = !1, this.maxCoord = -1, this.maxStackCnt = -1, this.levelCoords = [], this.entriesByLevel = [], this.stackCnts = {};
|
|
4113
4108
|
}
|
|
4114
4109
|
addSegs(e) {
|
|
@@ -4119,47 +4114,43 @@ class _s {
|
|
|
4119
4114
|
}
|
|
4120
4115
|
insertEntry(e, t) {
|
|
4121
4116
|
let r = this.findInsertion(e);
|
|
4122
|
-
this.isInsertionValid(r, e) ? this.insertEntryAt(e, r) : this.handleInvalidInsertion(r, e, t);
|
|
4117
|
+
return this.isInsertionValid(r, e) ? (this.insertEntryAt(e, r), 1) : this.handleInvalidInsertion(r, e, t);
|
|
4123
4118
|
}
|
|
4124
4119
|
isInsertionValid(e, t) {
|
|
4125
4120
|
return (this.maxCoord === -1 || e.levelCoord + this.getEntryThickness(t) <= this.maxCoord) && (this.maxStackCnt === -1 || e.stackCnt < this.maxStackCnt);
|
|
4126
4121
|
}
|
|
4122
|
+
// returns number of new entries inserted
|
|
4127
4123
|
handleInvalidInsertion(e, t, r) {
|
|
4128
|
-
|
|
4129
|
-
const i = Object.assign(Object.assign({}, t), { span: Xn(t.span, e.touchingEntry.span) });
|
|
4130
|
-
r.push(i), this.splitEntry(t, e.touchingEntry, r);
|
|
4131
|
-
} else
|
|
4132
|
-
r.push(t);
|
|
4124
|
+
return this.allowReslicing && e.touchingEntry ? this.splitEntry(t, e.touchingEntry, r) : (r.push(t), 0);
|
|
4133
4125
|
}
|
|
4134
|
-
/*
|
|
4135
|
-
Does NOT add what hit the `barrier` into hiddenEntries. Should already be done.
|
|
4136
|
-
*/
|
|
4137
4126
|
splitEntry(e, t, r) {
|
|
4138
|
-
let i = e.span,
|
|
4139
|
-
|
|
4127
|
+
let i = 0, s = [], l = e.span, o = t.span;
|
|
4128
|
+
return l.start < o.start && (i += this.insertEntry({
|
|
4140
4129
|
index: e.index,
|
|
4141
4130
|
thickness: e.thickness,
|
|
4142
|
-
span: { start:
|
|
4143
|
-
},
|
|
4131
|
+
span: { start: l.start, end: o.start }
|
|
4132
|
+
}, s)), l.end > o.end && (i += this.insertEntry({
|
|
4144
4133
|
index: e.index,
|
|
4145
4134
|
thickness: e.thickness,
|
|
4146
|
-
span: { start:
|
|
4147
|
-
}, r
|
|
4135
|
+
span: { start: o.end, end: l.end }
|
|
4136
|
+
}, s)), i ? (r.push({
|
|
4137
|
+
index: e.index,
|
|
4138
|
+
thickness: e.thickness,
|
|
4139
|
+
span: Zn(o, l)
|
|
4140
|
+
// guaranteed to intersect
|
|
4141
|
+
}, ...s), i) : (r.push(e), 0);
|
|
4148
4142
|
}
|
|
4149
4143
|
insertEntryAt(e, t) {
|
|
4150
4144
|
let { entriesByLevel: r, levelCoords: i } = this;
|
|
4151
|
-
t.lateral === -1 ? (
|
|
4145
|
+
t.lateral === -1 ? (tn(i, t.level, t.levelCoord), tn(r, t.level, [e])) : tn(r[t.level], t.lateral, e), this.stackCnts[Re(e)] = t.stackCnt;
|
|
4152
4146
|
}
|
|
4153
|
-
/*
|
|
4154
|
-
does not care about limits
|
|
4155
|
-
*/
|
|
4156
4147
|
findInsertion(e) {
|
|
4157
4148
|
let { levelCoords: t, entriesByLevel: r, strictOrder: i, stackCnts: s } = this, l = t.length, o = 0, a = -1, d = -1, c = null, f = 0;
|
|
4158
4149
|
for (let m = 0; m < l; m += 1) {
|
|
4159
|
-
|
|
4150
|
+
let y = t[m];
|
|
4160
4151
|
if (!i && y >= o + this.getEntryThickness(e))
|
|
4161
4152
|
break;
|
|
4162
|
-
let b = r[m], E, p =
|
|
4153
|
+
let b = r[m], E, p = En(b, e.span.start, bn), A = p[0] + p[1];
|
|
4163
4154
|
for (
|
|
4164
4155
|
;
|
|
4165
4156
|
// loop through entries that horizontally intersect
|
|
@@ -4175,7 +4166,7 @@ class _s {
|
|
|
4175
4166
|
for (h = a + 1; h < l && t[h] < o; )
|
|
4176
4167
|
h += 1;
|
|
4177
4168
|
let u = -1;
|
|
4178
|
-
return h < l && t[h] === o && (u =
|
|
4169
|
+
return h < l && t[h] === o && (u = En(r[h], e.span.end, bn)[0]), {
|
|
4179
4170
|
touchingLevel: a,
|
|
4180
4171
|
touchingLateral: d,
|
|
4181
4172
|
touchingEntry: c,
|
|
@@ -4196,7 +4187,7 @@ class _s {
|
|
|
4196
4187
|
return i;
|
|
4197
4188
|
}
|
|
4198
4189
|
}
|
|
4199
|
-
function
|
|
4190
|
+
function bn(n) {
|
|
4200
4191
|
return n.span.end;
|
|
4201
4192
|
}
|
|
4202
4193
|
function Re(n) {
|
|
@@ -4210,7 +4201,7 @@ function Mc(n) {
|
|
|
4210
4201
|
entries: [t]
|
|
4211
4202
|
};
|
|
4212
4203
|
for (let s of e)
|
|
4213
|
-
|
|
4204
|
+
Zn(s.span, i.span) ? i = {
|
|
4214
4205
|
entries: s.entries.concat(i.entries),
|
|
4215
4206
|
span: Ic(s.span, i.span)
|
|
4216
4207
|
} : r.push(s);
|
|
@@ -4224,14 +4215,14 @@ function Ic(n, e) {
|
|
|
4224
4215
|
end: Math.max(n.end, e.end)
|
|
4225
4216
|
};
|
|
4226
4217
|
}
|
|
4227
|
-
function
|
|
4218
|
+
function Zn(n, e) {
|
|
4228
4219
|
let t = Math.max(n.start, e.start), r = Math.min(n.end, e.end);
|
|
4229
4220
|
return t < r ? { start: t, end: r } : null;
|
|
4230
4221
|
}
|
|
4231
|
-
function
|
|
4222
|
+
function tn(n, e, t) {
|
|
4232
4223
|
n.splice(e, 0, t);
|
|
4233
4224
|
}
|
|
4234
|
-
function
|
|
4225
|
+
function En(n, e, t) {
|
|
4235
4226
|
let r = 0, i = n.length;
|
|
4236
4227
|
if (!i || e < t(n[r]))
|
|
4237
4228
|
return [0, 0];
|
|
@@ -4248,9 +4239,9 @@ function Sn(n, e, t) {
|
|
|
4248
4239
|
}
|
|
4249
4240
|
return [r, 0];
|
|
4250
4241
|
}
|
|
4251
|
-
class
|
|
4242
|
+
class Oc {
|
|
4252
4243
|
constructor(e, t) {
|
|
4253
|
-
this.emitter = new
|
|
4244
|
+
this.emitter = new zt();
|
|
4254
4245
|
}
|
|
4255
4246
|
destroy() {
|
|
4256
4247
|
}
|
|
@@ -4261,24 +4252,24 @@ class Nc {
|
|
|
4261
4252
|
setAutoScrollEnabled(e) {
|
|
4262
4253
|
}
|
|
4263
4254
|
}
|
|
4264
|
-
const
|
|
4265
|
-
function
|
|
4255
|
+
const Xn = {};
|
|
4256
|
+
function Nc(n, e) {
|
|
4266
4257
|
return !n || e > 10 ? j({ weekday: "short" }) : e > 1 ? j({ weekday: "short", month: "numeric", day: "numeric", omitCommas: !0 }) : j({ weekday: "long" });
|
|
4267
4258
|
}
|
|
4268
4259
|
const Ds = "fc-col-header-cell";
|
|
4269
4260
|
function ws(n) {
|
|
4270
4261
|
return n.text;
|
|
4271
4262
|
}
|
|
4272
|
-
class
|
|
4263
|
+
class Hc extends I {
|
|
4273
4264
|
render() {
|
|
4274
|
-
let { dateEnv: e, options: t, theme: r, viewApi: i } = this.context, { props: s } = this, { date: l, dateProfile: o } = s, a = Es(l, s.todayRange, null, o), d = [Ds].concat(
|
|
4265
|
+
let { dateEnv: e, options: t, theme: r, viewApi: i } = this.context, { props: s } = this, { date: l, dateProfile: o } = s, a = Es(l, s.todayRange, null, o), d = [Ds].concat(Yn(a, r)), c = e.format(l, s.dayHeaderFormat), f = !a.isDisabled && s.colCnt > 1 ? Mt(this.context, l) : {}, h = Object.assign(Object.assign(Object.assign({ date: e.toDate(l), view: i }, s.extraRenderProps), { text: c }), a);
|
|
4275
4266
|
return g(Z, { elTag: "th", elClasses: d, elAttrs: Object.assign({ role: "columnheader", colSpan: s.colSpan, "data-date": a.isDisabled ? void 0 : On(l) }, s.extraDataAttrs), renderProps: h, generatorName: "dayHeaderContent", customGenerator: t.dayHeaderContent, defaultGenerator: ws, classNameGenerator: t.dayHeaderClassNames, didMount: t.dayHeaderDidMount, willUnmount: t.dayHeaderWillUnmount }, (u) => g("div", { className: "fc-scrollgrid-sync-inner" }, !a.isDisabled && g(u, { elTag: "a", elAttrs: f, elClasses: [
|
|
4276
4267
|
"fc-col-header-cell-cushion",
|
|
4277
4268
|
s.isSticky && "fc-sticky"
|
|
4278
4269
|
] })));
|
|
4279
4270
|
}
|
|
4280
4271
|
}
|
|
4281
|
-
const
|
|
4272
|
+
const Pc = j({ weekday: "long" });
|
|
4282
4273
|
class Bc extends I {
|
|
4283
4274
|
render() {
|
|
4284
4275
|
let { props: e } = this, { dateEnv: t, theme: r, viewApi: i, options: s } = this.context, l = W(/* @__PURE__ */ new Date(2592e5), e.dow), o = {
|
|
@@ -4294,7 +4285,7 @@ class Bc extends I {
|
|
|
4294
4285
|
}, o), { view: i }), e.extraRenderProps), { text: a });
|
|
4295
4286
|
return g(Z, { elTag: "th", elClasses: [
|
|
4296
4287
|
Ds,
|
|
4297
|
-
...
|
|
4288
|
+
...Yn(o, r),
|
|
4298
4289
|
...e.extraClassNames || []
|
|
4299
4290
|
], elAttrs: Object.assign({ role: "columnheader", colSpan: e.colSpan }, e.extraDataAttrs), renderProps: d, generatorName: "dayHeaderContent", customGenerator: s.dayHeaderContent, defaultGenerator: ws, classNameGenerator: s.dayHeaderClassNames, didMount: s.dayHeaderDidMount, willUnmount: s.dayHeaderWillUnmount }, (c) => g(
|
|
4300
4291
|
"div",
|
|
@@ -4303,7 +4294,7 @@ class Bc extends I {
|
|
|
4303
4294
|
"fc-col-header-cell-cushion",
|
|
4304
4295
|
e.isSticky && "fc-sticky"
|
|
4305
4296
|
], elAttrs: {
|
|
4306
|
-
"aria-label": t.format(l,
|
|
4297
|
+
"aria-label": t.format(l, Pc)
|
|
4307
4298
|
} })
|
|
4308
4299
|
));
|
|
4309
4300
|
}
|
|
@@ -4347,7 +4338,7 @@ class nt extends Q {
|
|
|
4347
4338
|
}
|
|
4348
4339
|
nt.contextType = ue;
|
|
4349
4340
|
function ti(n) {
|
|
4350
|
-
let e =
|
|
4341
|
+
let e = P(n), t = W(e, 1);
|
|
4351
4342
|
return { start: e, end: t };
|
|
4352
4343
|
}
|
|
4353
4344
|
class Cs extends I {
|
|
@@ -4360,12 +4351,12 @@ class Cs extends I {
|
|
|
4360
4351
|
"tr",
|
|
4361
4352
|
{ role: "row" },
|
|
4362
4353
|
s && s("day"),
|
|
4363
|
-
t.map((d) => i ? g(
|
|
4354
|
+
t.map((d) => i ? g(Hc, { key: d.toISOString(), date: d, dateProfile: r, todayRange: a, colCnt: t.length, dayHeaderFormat: l }) : g(Bc, { key: d.getUTCDay(), dow: d.getUTCDay(), dayHeaderFormat: l }))
|
|
4364
4355
|
));
|
|
4365
4356
|
}
|
|
4366
4357
|
}
|
|
4367
4358
|
function Lc(n, e, t) {
|
|
4368
|
-
return n ||
|
|
4359
|
+
return n || Nc(e, t);
|
|
4369
4360
|
}
|
|
4370
4361
|
class Rs {
|
|
4371
4362
|
constructor(e, t) {
|
|
@@ -4543,12 +4534,12 @@ function ct(n, e) {
|
|
|
4543
4534
|
function xs(n, e, t) {
|
|
4544
4535
|
let { instances: r } = n.mutatedEvents;
|
|
4545
4536
|
for (let i in r)
|
|
4546
|
-
if (!
|
|
4537
|
+
if (!Bt(e.validRange, r[i].range))
|
|
4547
4538
|
return !1;
|
|
4548
4539
|
return Ms({ eventDrag: n }, t);
|
|
4549
4540
|
}
|
|
4550
4541
|
function zc(n, e, t) {
|
|
4551
|
-
return
|
|
4542
|
+
return Bt(e.validRange, n.range) ? Ms({ dateSelection: n }, t) : !1;
|
|
4552
4543
|
}
|
|
4553
4544
|
function Ms(n, e) {
|
|
4554
4545
|
let t = e.getCurrentData(), r = Object.assign({ businessHours: t.businessHours, dateSelection: "", eventStore: t.eventStore, eventUiBases: t.eventUiBases, eventSelection: "", eventDrag: null, eventResize: null }, n);
|
|
@@ -4558,9 +4549,9 @@ function Uc(n, e, t = {}, r) {
|
|
|
4558
4549
|
return !(n.eventDrag && !jc(n, e, t, r) || n.dateSelection && !Vc(n, e, t, r));
|
|
4559
4550
|
}
|
|
4560
4551
|
function jc(n, e, t, r) {
|
|
4561
|
-
let i = e.getCurrentData(), s = n.eventDrag, l = s.mutatedEvents, o = l.defs, a = l.instances, d =
|
|
4552
|
+
let i = e.getCurrentData(), s = n.eventDrag, l = s.mutatedEvents, o = l.defs, a = l.instances, d = xt(o, s.isEvent ? n.eventUiBases : { "": i.selectionConfig });
|
|
4562
4553
|
r && (d = ce(d, r));
|
|
4563
|
-
let c = za(n.eventStore, s.affectedEvents.instances), f = c.defs, h = c.instances, u =
|
|
4554
|
+
let c = za(n.eventStore, s.affectedEvents.instances), f = c.defs, h = c.instances, u = xt(f, n.eventUiBases);
|
|
4564
4555
|
for (let m in a) {
|
|
4565
4556
|
let y = a[m], b = y.range, E = d[y.defId], p = o[y.defId];
|
|
4566
4557
|
if (!Is(E.constraints, b, c, n.businessHours, e))
|
|
@@ -4568,17 +4559,17 @@ function jc(n, e, t, r) {
|
|
|
4568
4559
|
let { eventOverlap: A } = e.options, C = typeof A == "function" ? A : null;
|
|
4569
4560
|
for (let R in h) {
|
|
4570
4561
|
let x = h[R];
|
|
4571
|
-
if (
|
|
4562
|
+
if (zn(b, x.range) && (u[x.defId].overlap === !1 && s.isEvent || E.overlap === !1 || C && !C(
|
|
4572
4563
|
new z(e, f[x.defId], x),
|
|
4573
4564
|
// still event
|
|
4574
4565
|
new z(e, p, y)
|
|
4575
4566
|
)))
|
|
4576
4567
|
return !1;
|
|
4577
4568
|
}
|
|
4578
|
-
let
|
|
4569
|
+
let H = i.eventStore;
|
|
4579
4570
|
for (let R of E.allows) {
|
|
4580
|
-
let x = Object.assign(Object.assign({}, t), { range: y.range, allDay: p.allDay }), S =
|
|
4581
|
-
if (S ? U = new z(e, S, D) : U = new z(e, p), !R(
|
|
4571
|
+
let x = Object.assign(Object.assign({}, t), { range: y.range, allDay: p.allDay }), S = H.defs[p.defId], D = H.instances[m], U;
|
|
4572
|
+
if (S ? U = new z(e, S, D) : U = new z(e, p), !R(Wn(x, e), U))
|
|
4582
4573
|
return !1;
|
|
4583
4574
|
}
|
|
4584
4575
|
}
|
|
@@ -4591,12 +4582,12 @@ function Vc(n, e, t, r) {
|
|
|
4591
4582
|
let { selectOverlap: c } = e.options, f = typeof c == "function" ? c : null;
|
|
4592
4583
|
for (let h in l) {
|
|
4593
4584
|
let u = l[h];
|
|
4594
|
-
if (
|
|
4585
|
+
if (zn(a, u.range) && (d.overlap === !1 || f && !f(new z(e, s[u.defId], u), null)))
|
|
4595
4586
|
return !1;
|
|
4596
4587
|
}
|
|
4597
4588
|
for (let h of d.allows) {
|
|
4598
4589
|
let u = Object.assign(Object.assign({}, t), o);
|
|
4599
|
-
if (!h(
|
|
4590
|
+
if (!h(Wn(u, e), null))
|
|
4600
4591
|
return !1;
|
|
4601
4592
|
}
|
|
4602
4593
|
return !0;
|
|
@@ -4608,9 +4599,9 @@ function Is(n, e, t, r, i) {
|
|
|
4608
4599
|
return !0;
|
|
4609
4600
|
}
|
|
4610
4601
|
function Fc(n, e, t, r, i) {
|
|
4611
|
-
return n === "businessHours" ?
|
|
4602
|
+
return n === "businessHours" ? nn(xe(r, e, i)) : typeof n == "string" ? nn(Lt(t, (s) => s.groupId === n)) : typeof n == "object" && n ? nn(xe(n, e, i)) : [];
|
|
4612
4603
|
}
|
|
4613
|
-
function
|
|
4604
|
+
function nn(n) {
|
|
4614
4605
|
let { instances: e } = n, t = [];
|
|
4615
4606
|
for (let r in e)
|
|
4616
4607
|
t.push(e[r].range);
|
|
@@ -4618,7 +4609,7 @@ function rn(n) {
|
|
|
4618
4609
|
}
|
|
4619
4610
|
function Wc(n, e) {
|
|
4620
4611
|
for (let t of n)
|
|
4621
|
-
if (
|
|
4612
|
+
if (Bt(t, e))
|
|
4622
4613
|
return !0;
|
|
4623
4614
|
return !1;
|
|
4624
4615
|
}
|
|
@@ -4688,7 +4679,7 @@ class oe {
|
|
|
4688
4679
|
return na(this.currentMap, e, t, r);
|
|
4689
4680
|
}
|
|
4690
4681
|
getAll() {
|
|
4691
|
-
return
|
|
4682
|
+
return Bn(this.currentMap);
|
|
4692
4683
|
}
|
|
4693
4684
|
}
|
|
4694
4685
|
function qc(n) {
|
|
@@ -4697,12 +4688,12 @@ function qc(n) {
|
|
|
4697
4688
|
t = Math.max(t, po(r));
|
|
4698
4689
|
return Math.ceil(t);
|
|
4699
4690
|
}
|
|
4700
|
-
function
|
|
4691
|
+
function Os(n, e) {
|
|
4701
4692
|
return n.liquid && e.liquid;
|
|
4702
4693
|
}
|
|
4703
4694
|
function Yc(n, e) {
|
|
4704
4695
|
return e.maxHeight != null || // if its possible for the height to max out, we might need scrollbars
|
|
4705
|
-
|
|
4696
|
+
Os(n, e);
|
|
4706
4697
|
}
|
|
4707
4698
|
function Qc(n, e, t, r) {
|
|
4708
4699
|
let { expandRows: i } = t;
|
|
@@ -4762,21 +4753,21 @@ function ed(n, e) {
|
|
|
4762
4753
|
];
|
|
4763
4754
|
return e && n.liquid && n.maxHeight == null && t.push("fc-scrollgrid-section-liquid"), n.isSticky && t.push("fc-scrollgrid-section-sticky"), t;
|
|
4764
4755
|
}
|
|
4765
|
-
function
|
|
4756
|
+
function Sn(n) {
|
|
4766
4757
|
return g("div", { className: "fc-scrollgrid-sticky-shim", style: {
|
|
4767
4758
|
width: n.clientWidth,
|
|
4768
4759
|
minWidth: n.tableMinWidth
|
|
4769
4760
|
} });
|
|
4770
4761
|
}
|
|
4771
|
-
function
|
|
4762
|
+
function It(n) {
|
|
4772
4763
|
let { stickyHeaderDates: e } = n;
|
|
4773
4764
|
return (e == null || e === "auto") && (e = n.height === "auto" || n.viewHeight === "auto"), e;
|
|
4774
4765
|
}
|
|
4775
|
-
function
|
|
4766
|
+
function Ns(n) {
|
|
4776
4767
|
let { stickyFooterScrollbar: e } = n;
|
|
4777
4768
|
return (e == null || e === "auto") && (e = n.height === "auto" || n.viewHeight === "auto"), e;
|
|
4778
4769
|
}
|
|
4779
|
-
class
|
|
4770
|
+
class Jn extends I {
|
|
4780
4771
|
constructor() {
|
|
4781
4772
|
super(...arguments), this.processCols = w((e) => e, $c), this.renderMicroColGroup = w(Zc), this.scrollerRefs = new oe(), this.scrollerElRefs = new oe(this._handleScrollerEl.bind(this)), this.state = {
|
|
4782
4773
|
shrinkWidth: null,
|
|
@@ -4811,7 +4802,7 @@ class Kn extends I {
|
|
|
4811
4802
|
renderChunkTd(e, t, r, i) {
|
|
4812
4803
|
if ("outerContent" in r)
|
|
4813
4804
|
return r.outerContent;
|
|
4814
|
-
let { props: s } = this, { forceYScrollbars: l, scrollerClientWidths: o, scrollerClientHeights: a } = this.state, d = Yc(s, e), c =
|
|
4805
|
+
let { props: s } = this, { forceYScrollbars: l, scrollerClientWidths: o, scrollerClientHeights: a } = this.state, d = Yc(s, e), c = Os(s, e), f = s.liquid ? l ? "scroll" : d ? "auto" : "hidden" : "visible", h = e.key, u = Qc(e, r, {
|
|
4815
4806
|
tableColGroupNode: t,
|
|
4816
4807
|
tableMinWidth: "",
|
|
4817
4808
|
clientWidth: !s.collapsibleWidth && o[h] !== void 0 ? o[h] : null,
|
|
@@ -4866,7 +4857,7 @@ class Kn extends I {
|
|
|
4866
4857
|
return { forceYScrollbars: i, scrollerClientWidths: s, scrollerClientHeights: l };
|
|
4867
4858
|
}
|
|
4868
4859
|
}
|
|
4869
|
-
|
|
4860
|
+
Jn.addStateEquality({
|
|
4870
4861
|
scrollerClientWidths: re,
|
|
4871
4862
|
scrollerClientHeights: re
|
|
4872
4863
|
});
|
|
@@ -4876,7 +4867,7 @@ function td(n, e) {
|
|
|
4876
4867
|
return t;
|
|
4877
4868
|
return null;
|
|
4878
4869
|
}
|
|
4879
|
-
class
|
|
4870
|
+
class Kn extends I {
|
|
4880
4871
|
constructor() {
|
|
4881
4872
|
super(...arguments), this.handleEl = (e) => {
|
|
4882
4873
|
this.el = e, e && Kr(e, this.props.seg);
|
|
@@ -4913,10 +4904,10 @@ class er extends I {
|
|
|
4913
4904
|
this.el && this.props.seg !== e.seg && Kr(this.el, this.props.seg);
|
|
4914
4905
|
}
|
|
4915
4906
|
}
|
|
4916
|
-
class
|
|
4907
|
+
class Hs extends I {
|
|
4917
4908
|
render() {
|
|
4918
4909
|
let { props: e, context: t } = this, { options: r } = t, { seg: i } = e, { ui: s } = i.eventRange, l = r.eventTimeFormat || e.defaultTimeFormat, o = hs(i, l, t, e.defaultDisplayEventTime, e.defaultDisplayEventEnd);
|
|
4919
|
-
return g(
|
|
4910
|
+
return g(Kn, Object.assign({}, e, { elTag: "a", elStyle: {
|
|
4920
4911
|
borderColor: s.borderColor,
|
|
4921
4912
|
backgroundColor: s.backgroundColor
|
|
4922
4913
|
}, elAttrs: ps(i, t), defaultGenerator: nd, timeText: o }), (a, d) => g(
|
|
@@ -4940,7 +4931,7 @@ function nd(n) {
|
|
|
4940
4931
|
)
|
|
4941
4932
|
);
|
|
4942
4933
|
}
|
|
4943
|
-
const
|
|
4934
|
+
const er = (n) => g(ue.Consumer, null, (e) => {
|
|
4944
4935
|
let { options: t } = e, r = {
|
|
4945
4936
|
isAxis: n.isAxis,
|
|
4946
4937
|
date: e.dateEnv.toDate(n.date),
|
|
@@ -4948,7 +4939,7 @@ const tr = (n) => g(ue.Consumer, null, (e) => {
|
|
|
4948
4939
|
};
|
|
4949
4940
|
return g(Z, Object.assign({}, n, { elTag: n.elTag || "div", renderProps: r, generatorName: "nowIndicatorContent", customGenerator: t.nowIndicatorContent, classNameGenerator: t.nowIndicatorClassNames, didMount: t.nowIndicatorDidMount, willUnmount: t.nowIndicatorWillUnmount }));
|
|
4950
4941
|
}), rd = j({ day: "numeric" });
|
|
4951
|
-
class
|
|
4942
|
+
class tr extends I {
|
|
4952
4943
|
constructor() {
|
|
4953
4944
|
super(...arguments), this.refineRenderProps = vt(id);
|
|
4954
4945
|
}
|
|
@@ -4965,7 +4956,7 @@ class nr extends I {
|
|
|
4965
4956
|
monthStartFormat: r.monthStartFormat
|
|
4966
4957
|
});
|
|
4967
4958
|
return g(Z, Object.assign({}, e, { elClasses: [
|
|
4968
|
-
...
|
|
4959
|
+
...Yn(i, t.theme),
|
|
4969
4960
|
...e.elClasses || []
|
|
4970
4961
|
], elAttrs: Object.assign(Object.assign({}, e.elAttrs), i.isDisabled ? {} : { "data-date": On(e.date) }), renderProps: i, generatorName: "dayCellContent", customGenerator: r.dayCellContent, defaultGenerator: e.defaultGenerator, classNameGenerator: (
|
|
4971
4962
|
// don't use custom classNames if disabled
|
|
@@ -4973,8 +4964,8 @@ class nr extends I {
|
|
|
4973
4964
|
), didMount: r.dayCellDidMount, willUnmount: r.dayCellWillUnmount }));
|
|
4974
4965
|
}
|
|
4975
4966
|
}
|
|
4976
|
-
function
|
|
4977
|
-
return !!(n.dayCellContent ||
|
|
4967
|
+
function nr(n) {
|
|
4968
|
+
return !!(n.dayCellContent || pn("dayCellContent", n));
|
|
4978
4969
|
}
|
|
4979
4970
|
function id(n) {
|
|
4980
4971
|
let { date: e, dateEnv: t, dateProfile: r, isMonthStart: i } = n, s = Es(e, n.todayRange, null, r), l = n.showDayNumber ? t.format(e, i ? n.monthStartFormat : rd) : "";
|
|
@@ -4983,10 +4974,10 @@ function id(n) {
|
|
|
4983
4974
|
dayNumberText: l
|
|
4984
4975
|
}), n.extraRenderProps);
|
|
4985
4976
|
}
|
|
4986
|
-
class
|
|
4977
|
+
class Ps extends I {
|
|
4987
4978
|
render() {
|
|
4988
4979
|
let { props: e } = this, { seg: t } = e;
|
|
4989
|
-
return g(
|
|
4980
|
+
return g(Kn, { elTag: "div", elClasses: ["fc-bg-event"], elStyle: { backgroundColor: t.eventRange.ui.backgroundColor }, defaultGenerator: sd, seg: t, timeText: "", isDragging: !1, isResizing: !1, isDateSelecting: !1, isSelected: !1, isPast: e.isPast, isFuture: e.isFuture, isToday: e.isToday, disableDragging: !0, disableResizing: !0 });
|
|
4990
4981
|
}
|
|
4991
4982
|
}
|
|
4992
4983
|
function sd(n) {
|
|
@@ -5006,7 +4997,7 @@ const Ls = (n) => g(ue.Consumer, null, (e) => {
|
|
|
5006
4997
|
function ld(n) {
|
|
5007
4998
|
return n.text;
|
|
5008
4999
|
}
|
|
5009
|
-
const
|
|
5000
|
+
const rn = 10;
|
|
5010
5001
|
class od extends I {
|
|
5011
5002
|
constructor() {
|
|
5012
5003
|
super(...arguments), this.state = {
|
|
@@ -5050,7 +5041,7 @@ class od extends I {
|
|
|
5050
5041
|
let { isRtl: e } = this.context, { alignmentEl: t, alignGridTop: r } = this.props, { rootEl: i } = this, s = Tc(t);
|
|
5051
5042
|
if (s) {
|
|
5052
5043
|
let l = i.getBoundingClientRect(), o = r ? F(t, ".fc-scrollgrid").getBoundingClientRect().top : s.top, a = e ? s.right - l.width : s.left;
|
|
5053
|
-
o = Math.max(o,
|
|
5044
|
+
o = Math.max(o, rn), a = Math.min(a, document.documentElement.clientWidth - rn - l.width), a = Math.max(a, rn);
|
|
5054
5045
|
let d = i.offsetParent.getBoundingClientRect();
|
|
5055
5046
|
Ye(i, {
|
|
5056
5047
|
top: o - d.top,
|
|
@@ -5070,10 +5061,10 @@ class ad extends ie {
|
|
|
5070
5061
|
}
|
|
5071
5062
|
render() {
|
|
5072
5063
|
let { options: e, dateEnv: t } = this.context, { props: r } = this, { startDate: i, todayRange: s, dateProfile: l } = r, o = t.format(i, e.dayPopoverFormat);
|
|
5073
|
-
return g(
|
|
5064
|
+
return g(tr, { elRef: this.handleRootEl, date: i, dateProfile: l, todayRange: s }, (a, d, c) => g(
|
|
5074
5065
|
od,
|
|
5075
5066
|
{ 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 },
|
|
5076
|
-
|
|
5067
|
+
nr(e) && g(a, { elTag: "div", elClasses: ["fc-more-popover-misc"] }),
|
|
5077
5068
|
r.children
|
|
5078
5069
|
));
|
|
5079
5070
|
}
|
|
@@ -5283,7 +5274,7 @@ function yd(n, e) {
|
|
|
5283
5274
|
return null;
|
|
5284
5275
|
}
|
|
5285
5276
|
function Ws(n, e, t) {
|
|
5286
|
-
let r =
|
|
5277
|
+
let r = Pn([js, t], ["buttonText"]);
|
|
5287
5278
|
delete r.code;
|
|
5288
5279
|
let { week: i } = r;
|
|
5289
5280
|
return delete r.week, {
|
|
@@ -5451,12 +5442,12 @@ Ee.prototype.iconOverridePrefix = "fc-icon-";
|
|
|
5451
5442
|
function _d(n, e) {
|
|
5452
5443
|
let t = {}, r;
|
|
5453
5444
|
for (r in n)
|
|
5454
|
-
|
|
5445
|
+
An(r, t, n, e);
|
|
5455
5446
|
for (r in e)
|
|
5456
|
-
|
|
5447
|
+
An(r, t, n, e);
|
|
5457
5448
|
return t;
|
|
5458
5449
|
}
|
|
5459
|
-
function
|
|
5450
|
+
function An(n, e, t, r) {
|
|
5460
5451
|
if (e[n])
|
|
5461
5452
|
return e[n];
|
|
5462
5453
|
let i = Dd(n, e, t, r);
|
|
@@ -5467,7 +5458,7 @@ function Dd(n, e, t, r) {
|
|
|
5467
5458
|
if (a) {
|
|
5468
5459
|
if (a === n)
|
|
5469
5460
|
throw new Error("Can't have a custom view type that references itself");
|
|
5470
|
-
d =
|
|
5461
|
+
d = An(a, e, t, r);
|
|
5471
5462
|
}
|
|
5472
5463
|
return !o && d && (o = d.component), o ? {
|
|
5473
5464
|
type: n,
|
|
@@ -5498,7 +5489,7 @@ function Cd(n, e, t, r) {
|
|
|
5498
5489
|
function Rd(n, e, t, r, i) {
|
|
5499
5490
|
let s = n.overrides.duration || n.defaults.duration || r.duration || t.duration, l = null, o = "", a = "", d = {};
|
|
5500
5491
|
if (s && (l = Td(s), l)) {
|
|
5501
|
-
let h =
|
|
5492
|
+
let h = hn(l);
|
|
5502
5493
|
o = h.unit, h.value === 1 && (a = o, d = e[o] ? e[o].rawOptions : {});
|
|
5503
5494
|
}
|
|
5504
5495
|
let c = (h) => {
|
|
@@ -5567,20 +5558,20 @@ function Id(n, e, t) {
|
|
|
5567
5558
|
let r = e ? e.activeRange : null;
|
|
5568
5559
|
return qs({}, zd(n, t), r, t);
|
|
5569
5560
|
}
|
|
5570
|
-
function
|
|
5561
|
+
function Od(n, e, t, r) {
|
|
5571
5562
|
let i = t ? t.activeRange : null;
|
|
5572
5563
|
switch (e.type) {
|
|
5573
5564
|
case "ADD_EVENT_SOURCES":
|
|
5574
5565
|
return qs(n, e.sources, i, r);
|
|
5575
5566
|
case "REMOVE_EVENT_SOURCE":
|
|
5576
|
-
return
|
|
5567
|
+
return Hd(n, e.sourceId);
|
|
5577
5568
|
case "PREV":
|
|
5578
5569
|
case "NEXT":
|
|
5579
5570
|
case "CHANGE_DATE":
|
|
5580
5571
|
case "CHANGE_VIEW_TYPE":
|
|
5581
5572
|
return t ? Ys(n, i, r) : n;
|
|
5582
5573
|
case "FETCH_EVENT_SOURCES":
|
|
5583
|
-
return
|
|
5574
|
+
return rr(n, e.sourceIds ? (
|
|
5584
5575
|
// why no type?
|
|
5585
5576
|
qi(e.sourceIds)
|
|
5586
5577
|
) : Qs(n, r), i, e.isRefetch || !1, r);
|
|
@@ -5593,9 +5584,9 @@ function Nd(n, e, t, r) {
|
|
|
5593
5584
|
return n;
|
|
5594
5585
|
}
|
|
5595
5586
|
}
|
|
5596
|
-
function
|
|
5587
|
+
function Nd(n, e, t) {
|
|
5597
5588
|
let r = e ? e.activeRange : null;
|
|
5598
|
-
return
|
|
5589
|
+
return rr(n, Qs(n, t), r, !0, t);
|
|
5599
5590
|
}
|
|
5600
5591
|
function Gs(n) {
|
|
5601
5592
|
for (let e in n)
|
|
@@ -5609,17 +5600,17 @@ function qs(n, e, t, r) {
|
|
|
5609
5600
|
i[s.sourceId] = s;
|
|
5610
5601
|
return t && (i = Ys(i, t, r)), Object.assign(Object.assign({}, n), i);
|
|
5611
5602
|
}
|
|
5612
|
-
function
|
|
5603
|
+
function Hd(n, e) {
|
|
5613
5604
|
return Te(n, (t) => t.sourceId !== e);
|
|
5614
5605
|
}
|
|
5615
5606
|
function Ys(n, e, t) {
|
|
5616
|
-
return
|
|
5607
|
+
return rr(n, Te(n, (r) => Pd(r, e, t)), e, !1, t);
|
|
5617
5608
|
}
|
|
5618
|
-
function
|
|
5609
|
+
function Pd(n, e, t) {
|
|
5619
5610
|
return $s(n, t) ? !t.options.lazyFetching || !n.fetchRange || n.isFetching || // always cancel outdated in-progress fetches
|
|
5620
5611
|
e.start < n.fetchRange.start || e.end > n.fetchRange.end : !n.latestFetchId;
|
|
5621
5612
|
}
|
|
5622
|
-
function
|
|
5613
|
+
function rr(n, e, t, r, i) {
|
|
5623
5614
|
let s = {};
|
|
5624
5615
|
for (let l in n) {
|
|
5625
5616
|
let o = n[l];
|
|
@@ -5741,15 +5732,15 @@ function Gd(n, e, t, r, i, s) {
|
|
|
5741
5732
|
return { widgets: h.map((b) => b.split(",").map((E) => {
|
|
5742
5733
|
if (E === "title")
|
|
5743
5734
|
return m = !0, { buttonName: E };
|
|
5744
|
-
let p, A, C,
|
|
5735
|
+
let p, A, C, H, R, x;
|
|
5745
5736
|
if (p = o[E])
|
|
5746
5737
|
C = (S) => {
|
|
5747
5738
|
p.click && p.click.call(S.target, S, S.target);
|
|
5748
|
-
}, (
|
|
5739
|
+
}, (H = r.getCustomButtonIconClass(p)) || (H = r.getIconClass(E, l)) || (R = p.text), x = p.hint || p.text;
|
|
5749
5740
|
else if (A = i[E]) {
|
|
5750
5741
|
u.push(E), C = () => {
|
|
5751
5742
|
s.changeView(E);
|
|
5752
|
-
}, (R = A.buttonTextOverride) || (
|
|
5743
|
+
}, (R = A.buttonTextOverride) || (H = r.getIconClass(E, l)) || (R = A.buttonTextDefault);
|
|
5753
5744
|
let S = A.buttonTextOverride || A.buttonTextDefault;
|
|
5754
5745
|
x = Qe(
|
|
5755
5746
|
A.buttonTitleOverride || A.buttonTitleDefault || e.viewHint,
|
|
@@ -5760,7 +5751,7 @@ function Gd(n, e, t, r, i, s) {
|
|
|
5760
5751
|
} else if (s[E])
|
|
5761
5752
|
if (C = () => {
|
|
5762
5753
|
s[E]();
|
|
5763
|
-
}, (R = a[E]) || (
|
|
5754
|
+
}, (R = a[E]) || (H = r.getIconClass(E, l)) || (R = d[E]), E === "prevYear" || E === "nextYear") {
|
|
5764
5755
|
let S = E === "prevYear" ? "prev" : "next";
|
|
5765
5756
|
x = Qe(c[S] || f[S], [
|
|
5766
5757
|
d.year || "year",
|
|
@@ -5771,7 +5762,7 @@ function Gd(n, e, t, r, i, s) {
|
|
|
5771
5762
|
d[S] || S,
|
|
5772
5763
|
S
|
|
5773
5764
|
], d[E]);
|
|
5774
|
-
return { buttonName: E, buttonClick: C, buttonIcon:
|
|
5765
|
+
return { buttonName: E, buttonClick: C, buttonIcon: H, buttonText: R, buttonHint: x };
|
|
5775
5766
|
})), viewsWithButtons: u, hasTitle: m };
|
|
5776
5767
|
}
|
|
5777
5768
|
class qd {
|
|
@@ -5900,7 +5891,7 @@ const ru = fe({
|
|
|
5900
5891
|
eventRefiners: tu
|
|
5901
5892
|
});
|
|
5902
5893
|
function iu(n, e, t, r) {
|
|
5903
|
-
let i = n ? qi(n) : null, s =
|
|
5894
|
+
let i = n ? qi(n) : null, s = P(t.start), l = t.end, o = [];
|
|
5904
5895
|
for (; s < l; ) {
|
|
5905
5896
|
let a;
|
|
5906
5897
|
(!i || i[s.getUTCDay()]) && (e ? a = r.add(s, e) : a = s, o.push(a)), s = W(s, 1);
|
|
@@ -5917,7 +5908,7 @@ const su = fe({
|
|
|
5917
5908
|
}
|
|
5918
5909
|
});
|
|
5919
5910
|
function oi(n, e) {
|
|
5920
|
-
let t =
|
|
5911
|
+
let t = Bn(e.getCurrentData().eventSources);
|
|
5921
5912
|
if (t.length === 1 && n.length === 1 && Array.isArray(t[0]._raw) && Array.isArray(n[0])) {
|
|
5922
5913
|
e.dispatch({
|
|
5923
5914
|
type: "RESET_RAW_EVENTS",
|
|
@@ -5970,7 +5961,7 @@ const au = [
|
|
|
5970
5961
|
];
|
|
5971
5962
|
class cu {
|
|
5972
5963
|
constructor(e, t) {
|
|
5973
|
-
this.runTaskOption = e, this.drainedOption = t, this.queue = [], this.delayedRunner = new
|
|
5964
|
+
this.runTaskOption = e, this.drainedOption = t, this.queue = [], this.delayedRunner = new Tn(this.drain.bind(this));
|
|
5974
5965
|
}
|
|
5975
5966
|
request(e, t) {
|
|
5976
5967
|
this.queue.push(e), this.delayedRunner.request(t);
|
|
@@ -6015,7 +6006,7 @@ function uu(n) {
|
|
|
6015
6006
|
}
|
|
6016
6007
|
class fu {
|
|
6017
6008
|
constructor(e) {
|
|
6018
|
-
this.computeCurrentViewData = w(this._computeCurrentViewData), this.organizeRawLocales = w(md), this.buildLocale = w(Fs), this.buildPluginHooks = Ed(), this.buildDateEnv = w(hu), this.buildTheme = w(gu), this.parseToolbars = w(Wd), this.buildViewSpecs = w(Cd), this.buildDateProfileGenerator = vt(pu), this.buildViewApi = w(mu), this.buildViewUiProps = vt(bu), this.buildEventUiBySource = w(vu, re), this.buildEventUiBases = w(yu), this.parseContextBusinessHours = vt(Eu), this.buildTitle = w(du), this.emitter = new
|
|
6009
|
+
this.computeCurrentViewData = w(this._computeCurrentViewData), this.organizeRawLocales = w(md), this.buildLocale = w(Fs), this.buildPluginHooks = Ed(), this.buildDateEnv = w(hu), this.buildTheme = w(gu), this.parseToolbars = w(Wd), this.buildViewSpecs = w(Cd), this.buildDateProfileGenerator = vt(pu), this.buildViewApi = w(mu), this.buildViewUiProps = vt(bu), this.buildEventUiBySource = w(vu, re), this.buildEventUiBases = w(yu), this.parseContextBusinessHours = vt(Eu), this.buildTitle = w(du), this.emitter = new zt(), this.actionRunner = new cu(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 = (h) => {
|
|
6019
6010
|
this.actionRunner.request(h);
|
|
6020
6011
|
}, this.props = e, this.actionRunner.pause();
|
|
6021
6012
|
let t = {}, r = this.computeOptionsData(e.optionOverrides, t, e.calendarApi), i = r.calendarOptions.initialView || r.pluginHooks.initialView, s = this.computeCurrentViewData(i, r, e.optionOverrides, t);
|
|
@@ -6051,7 +6042,7 @@ class fu {
|
|
|
6051
6042
|
}, f = Object.assign(Object.assign({}, a), c);
|
|
6052
6043
|
for (let h of r.pluginHooks.reducers)
|
|
6053
6044
|
Object.assign(c, h(null, null, f));
|
|
6054
|
-
|
|
6045
|
+
sn(c, a) && this.emitter.trigger("loading", !0), this.state = c, this.updateData(), this.actionRunner.resume();
|
|
6055
6046
|
}
|
|
6056
6047
|
resetOptions(e, t) {
|
|
6057
6048
|
let { props: r } = this;
|
|
@@ -6074,7 +6065,7 @@ class fu {
|
|
|
6074
6065
|
this.data && this.data.dateProfileGenerator !== a.dateProfileGenerator && (f = a.dateProfileGenerator.build(c)), c = Sa(c, e), f = Md(f, e, c, a.dateProfileGenerator), (e.type === "PREV" || // TODO: move this logic into DateProfileGenerator
|
|
6075
6066
|
e.type === "NEXT" || // "
|
|
6076
6067
|
!ae(f.currentRange, c)) && (c = f.currentRange.start);
|
|
6077
|
-
let h =
|
|
6068
|
+
let h = Od(r.eventSources, e, f, d), u = Ha(r.eventStore, e, h, f, d), y = Gs(h) && !a.options.progressiveEventRendering && r.renderableEventStore || u, { eventUiSingleBase: b, selectionConfig: E } = this.buildViewUiProps(d), p = this.buildEventUiBySource(h), A = this.buildEventUiBases(y.defs, b, p), C = {
|
|
6078
6069
|
dynamicOptionOverrides: s,
|
|
6079
6070
|
currentViewType: o,
|
|
6080
6071
|
currentDate: c,
|
|
@@ -6089,16 +6080,16 @@ class fu {
|
|
|
6089
6080
|
eventSelection: jd(r.eventSelection, e),
|
|
6090
6081
|
eventDrag: Vd(r.eventDrag, e),
|
|
6091
6082
|
eventResize: Fd(r.eventResize, e)
|
|
6092
|
-
},
|
|
6083
|
+
}, H = Object.assign(Object.assign({}, d), C);
|
|
6093
6084
|
for (let S of l.pluginHooks.reducers)
|
|
6094
|
-
Object.assign(C, S(r, e,
|
|
6095
|
-
let R =
|
|
6085
|
+
Object.assign(C, S(r, e, H));
|
|
6086
|
+
let R = sn(r, d), x = sn(C, d);
|
|
6096
6087
|
!R && x ? i.trigger("loading", !0) : R && !x && i.trigger("loading", !1), this.state = C, t.onAction && t.onAction(e);
|
|
6097
6088
|
}
|
|
6098
6089
|
updateData() {
|
|
6099
6090
|
let { props: e, state: t } = this, r = this.data, i = this.computeOptionsData(e.optionOverrides, t.dynamicOptionOverrides, e.calendarApi), s = this.computeCurrentViewData(t.currentViewType, i, e.optionOverrides, t.dynamicOptionOverrides), l = this.data = Object.assign(Object.assign(Object.assign({ viewTitle: this.buildTitle(t.dateProfile, s.options, i.dateEnv), calendarApi: e.calendarApi, dispatch: this.dispatch, emitter: this.emitter, getCurrentData: this.getCurrentData }, i), s), t), o = i.pluginHooks.optionChangeHandlers, a = r && r.calendarOptions, d = i.calendarOptions;
|
|
6100
6091
|
if (a && a !== d) {
|
|
6101
|
-
a.timeZone !== d.timeZone && (t.eventSources = l.eventSources =
|
|
6092
|
+
a.timeZone !== d.timeZone && (t.eventSources = l.eventSources = Nd(l.eventSources, t.dateProfile, l), t.eventStore = l.eventStore = Zr(l.eventStore, r.dateEnv, l.dateEnv), t.renderableEventStore = l.renderableEventStore = Zr(l.renderableEventStore, r.dateEnv, l.dateEnv));
|
|
6102
6093
|
for (let c in o)
|
|
6103
6094
|
(this.optionsForHandling.indexOf(c) !== -1 || a[c] !== d[c]) && o[c](d[c], l);
|
|
6104
6095
|
}
|
|
@@ -6123,11 +6114,11 @@ class fu {
|
|
|
6123
6114
|
}
|
|
6124
6115
|
// always called from behind a memoizer
|
|
6125
6116
|
processRawCalendarOptions(e, t) {
|
|
6126
|
-
let { locales: r, locale: i } =
|
|
6117
|
+
let { locales: r, locale: i } = $t([
|
|
6127
6118
|
$e,
|
|
6128
6119
|
e,
|
|
6129
6120
|
t
|
|
6130
|
-
]), s = this.organizeRawLocales(r), l = s.map, o = this.buildLocale(i || s.defaultCode, l).options, a = this.buildPluginHooks(e.plugins || [], au), d = this.currentCalendarOptionsRefiners = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},
|
|
6121
|
+
]), s = this.organizeRawLocales(r), l = s.map, o = this.buildLocale(i || s.defaultCode, l).options, a = this.buildPluginHooks(e.plugins || [], au), d = this.currentCalendarOptionsRefiners = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Fr), Wr), Gr), a.listenerRefiners), a.optionRefiners), c = {}, f = $t([
|
|
6131
6122
|
$e,
|
|
6132
6123
|
o,
|
|
6133
6124
|
e,
|
|
@@ -6173,14 +6164,14 @@ class fu {
|
|
|
6173
6164
|
return { viewSpec: s, options: l, dateProfileGenerator: a, viewApi: d };
|
|
6174
6165
|
}
|
|
6175
6166
|
processRawViewOptions(e, t, r, i, s) {
|
|
6176
|
-
let l =
|
|
6167
|
+
let l = $t([
|
|
6177
6168
|
$e,
|
|
6178
6169
|
e.optionDefaults,
|
|
6179
6170
|
r,
|
|
6180
6171
|
i,
|
|
6181
6172
|
e.optionOverrides,
|
|
6182
6173
|
s
|
|
6183
|
-
]), o = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},
|
|
6174
|
+
]), o = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Fr), Wr), Gr), Jo), t.listenerRefiners), t.optionRefiners), a = {}, d = this.currentViewOptionsInput, c = this.currentViewOptionsRefined, f = !1, h = {};
|
|
6184
6175
|
for (let u in l)
|
|
6185
6176
|
l[u] === d[u] || Ae[u] && Ae[u](l[u], d[u]) ? a[u] = c[u] : (l[u] === this.currentCalendarOptionsInput[u] || Ae[u] && Ae[u](l[u], this.currentCalendarOptionsInput[u]) ? u in this.currentCalendarOptionsRefined && (a[u] = this.currentCalendarOptionsRefined[u]) : o[u] ? a[u] = o[u](l[u]) : h[u] = l[u], f = !0);
|
|
6186
6177
|
return f && (this.currentViewOptionsInput = l, this.currentViewOptionsRefined = a), {
|
|
@@ -6229,7 +6220,7 @@ function yu(n, e, t) {
|
|
|
6229
6220
|
function bu(n) {
|
|
6230
6221
|
let { options: e } = n;
|
|
6231
6222
|
return {
|
|
6232
|
-
eventUiSingleBase:
|
|
6223
|
+
eventUiSingleBase: kt({
|
|
6233
6224
|
display: e.eventDisplay,
|
|
6234
6225
|
editable: e.editable,
|
|
6235
6226
|
startEditable: e.eventStartEditable,
|
|
@@ -6243,14 +6234,14 @@ function bu(n) {
|
|
|
6243
6234
|
color: e.eventColor
|
|
6244
6235
|
// classNames: options.eventClassNames // render hook will handle this
|
|
6245
6236
|
}, n),
|
|
6246
|
-
selectionConfig:
|
|
6237
|
+
selectionConfig: kt({
|
|
6247
6238
|
constraint: e.selectConstraint,
|
|
6248
6239
|
overlap: typeof e.selectOverlap == "boolean" ? e.selectOverlap : void 0,
|
|
6249
6240
|
allow: e.selectAllow
|
|
6250
6241
|
}, n)
|
|
6251
6242
|
};
|
|
6252
6243
|
}
|
|
6253
|
-
function
|
|
6244
|
+
function sn(n, e) {
|
|
6254
6245
|
for (let t of e.pluginHooks.isLoadingFuncs)
|
|
6255
6246
|
if (t(n))
|
|
6256
6247
|
return !0;
|
|
@@ -6387,7 +6378,7 @@ class Du extends We {
|
|
|
6387
6378
|
});
|
|
6388
6379
|
}
|
|
6389
6380
|
}
|
|
6390
|
-
class wu extends
|
|
6381
|
+
class wu extends Oe {
|
|
6391
6382
|
constructor() {
|
|
6392
6383
|
super(...arguments), this.buildViewContext = w(ua), this.buildViewPropTransformers = w(Ru), this.buildToolbarProps = w(Cu), this.headerRef = q(), this.footerRef = q(), this.interactionsStore = {}, this.state = {
|
|
6393
6384
|
viewLabelId: Ht()
|
|
@@ -6396,7 +6387,7 @@ class wu extends Ne {
|
|
|
6396
6387
|
_u,
|
|
6397
6388
|
Du
|
|
6398
6389
|
].concat(this.props.pluginHooks.componentInteractions).map((o) => new o(r));
|
|
6399
|
-
this.interactionsStore[e.uid] = l,
|
|
6390
|
+
this.interactionsStore[e.uid] = l, yn[e.uid] = r;
|
|
6400
6391
|
}, this.unregisterInteractiveComponent = (e) => {
|
|
6401
6392
|
let t = this.interactionsStore[e.uid];
|
|
6402
6393
|
if (t) {
|
|
@@ -6404,8 +6395,8 @@ class wu extends Ne {
|
|
|
6404
6395
|
r.destroy();
|
|
6405
6396
|
delete this.interactionsStore[e.uid];
|
|
6406
6397
|
}
|
|
6407
|
-
delete
|
|
6408
|
-
}, this.resizeRunner = new
|
|
6398
|
+
delete yn[e.uid];
|
|
6399
|
+
}, this.resizeRunner = new Tn(() => {
|
|
6409
6400
|
this.props.emitter.trigger("_resize", !0), this.props.emitter.trigger("windowResize", { view: this.props.viewApi });
|
|
6410
6401
|
}), this.handleWindowResize = (e) => {
|
|
6411
6402
|
let { options: t } = this.props;
|
|
@@ -6426,7 +6417,7 @@ class wu extends Ne {
|
|
|
6426
6417
|
e.viewTitle
|
|
6427
6418
|
), s = !1, l = "", o;
|
|
6428
6419
|
e.isHeightAuto || e.forPrint ? l = "" : r.height != null ? s = !0 : r.contentHeight != null ? l = r.contentHeight : o = Math.max(r.aspectRatio, 0.5);
|
|
6429
|
-
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 = t.header && t.header.hasTitle ? this.state.viewLabelId :
|
|
6420
|
+
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 = t.header && t.header.hasTitle ? this.state.viewLabelId : "";
|
|
6430
6421
|
return g(
|
|
6431
6422
|
ue.Provider,
|
|
6432
6423
|
{ value: a },
|
|
@@ -6509,7 +6500,7 @@ class Tu extends hc {
|
|
|
6509
6500
|
if (this.isRendering) {
|
|
6510
6501
|
this.isRendered = !0;
|
|
6511
6502
|
let { currentData: r } = this;
|
|
6512
|
-
|
|
6503
|
+
qr(() => {
|
|
6513
6504
|
Je(g(uc, { options: r.calendarOptions, theme: r.theme, emitter: r.emitter }, (i, s, l, o) => (this.setClassNames(i), this.setHeight(s), g(
|
|
6514
6505
|
Zi.Provider,
|
|
6515
6506
|
{ value: this.customContentRenderId },
|
|
@@ -6518,7 +6509,7 @@ class Tu extends hc {
|
|
|
6518
6509
|
});
|
|
6519
6510
|
} else
|
|
6520
6511
|
this.isRendered && (this.isRendered = !1, Je(null, this.el), this.setClassNames([]), this.setHeight(""));
|
|
6521
|
-
}, Ql(e), this.el = e, this.renderRunner = new
|
|
6512
|
+
}, Ql(e), this.el = e, this.renderRunner = new Tn(this.handleRenderRequest), new fu({
|
|
6522
6513
|
optionOverrides: t,
|
|
6523
6514
|
calendarApi: this,
|
|
6524
6515
|
onAction: this.handleAction,
|
|
@@ -6533,7 +6524,7 @@ class Tu extends hc {
|
|
|
6533
6524
|
this.isRendering && (this.isRendering = !1, this.renderRunner.request());
|
|
6534
6525
|
}
|
|
6535
6526
|
updateSize() {
|
|
6536
|
-
|
|
6527
|
+
qr(() => {
|
|
6537
6528
|
super.updateSize();
|
|
6538
6529
|
});
|
|
6539
6530
|
}
|
|
@@ -6586,7 +6577,7 @@ const ku = {
|
|
|
6586
6577
|
buildOptions(n) {
|
|
6587
6578
|
return {
|
|
6588
6579
|
...n,
|
|
6589
|
-
customRenderingMetaMap:
|
|
6580
|
+
customRenderingMetaMap: Nu(this.$slots),
|
|
6590
6581
|
handleCustomRendering: this.handleCustomRendering
|
|
6591
6582
|
};
|
|
6592
6583
|
}
|
|
@@ -6620,7 +6611,7 @@ const ku = {
|
|
|
6620
6611
|
beforeUnmount() {
|
|
6621
6612
|
this.getApi().destroy();
|
|
6622
6613
|
},
|
|
6623
|
-
watch:
|
|
6614
|
+
watch: Ou()
|
|
6624
6615
|
}), Mu = xu, Iu = ee({
|
|
6625
6616
|
props: {
|
|
6626
6617
|
customRendering: Object
|
|
@@ -6633,7 +6624,7 @@ const ku = {
|
|
|
6633
6624
|
return ht(ml, { to: n.containerEl }, e);
|
|
6634
6625
|
}
|
|
6635
6626
|
});
|
|
6636
|
-
function
|
|
6627
|
+
function Ou() {
|
|
6637
6628
|
let n = {
|
|
6638
6629
|
// watches changes of ALL options and their nested objects,
|
|
6639
6630
|
// but this is only a means to be notified of top-level non-complex options changes.
|
|
@@ -6661,16 +6652,16 @@ function Nu() {
|
|
|
6661
6652
|
};
|
|
6662
6653
|
return n;
|
|
6663
6654
|
}
|
|
6664
|
-
function
|
|
6655
|
+
function Nu(n) {
|
|
6665
6656
|
const e = {};
|
|
6666
6657
|
for (const t in n)
|
|
6667
|
-
e[
|
|
6658
|
+
e[Hu(t)] = n[t];
|
|
6668
6659
|
return e;
|
|
6669
6660
|
}
|
|
6670
|
-
function Pu(n) {
|
|
6671
|
-
return n.split("-").map((e, t) => t ? Hu(e) : e).join("");
|
|
6672
|
-
}
|
|
6673
6661
|
function Hu(n) {
|
|
6662
|
+
return n.split("-").map((e, t) => t ? Pu(e) : e).join("");
|
|
6663
|
+
}
|
|
6664
|
+
function Pu(n) {
|
|
6674
6665
|
return n.charAt(0).toUpperCase() + n.slice(1);
|
|
6675
6666
|
}
|
|
6676
6667
|
var Bu = {
|
|
@@ -6703,7 +6694,7 @@ class Lu extends ie {
|
|
|
6703
6694
|
super(...arguments), this.headerElRef = q();
|
|
6704
6695
|
}
|
|
6705
6696
|
renderSimpleLayout(e, t) {
|
|
6706
|
-
let { props: r, context: i } = this, s = [], l =
|
|
6697
|
+
let { props: r, context: i } = this, s = [], l = It(i.options);
|
|
6707
6698
|
return e && s.push({
|
|
6708
6699
|
type: "header",
|
|
6709
6700
|
key: "header",
|
|
@@ -6719,16 +6710,16 @@ class Lu extends ie {
|
|
|
6719
6710
|
liquid: !0,
|
|
6720
6711
|
chunk: { content: t }
|
|
6721
6712
|
}), g(
|
|
6722
|
-
|
|
6713
|
+
Rt,
|
|
6723
6714
|
{ elClasses: ["fc-daygrid"], viewSpec: i.viewSpec },
|
|
6724
|
-
g(
|
|
6715
|
+
g(Jn, { liquid: !r.isHeightAuto && !r.forPrint, collapsibleWidth: r.forPrint, cols: [], sections: s })
|
|
6725
6716
|
);
|
|
6726
6717
|
}
|
|
6727
6718
|
renderHScrollLayout(e, t, r, i) {
|
|
6728
6719
|
let s = this.context.pluginHooks.scrollGridImpl;
|
|
6729
6720
|
if (!s)
|
|
6730
6721
|
throw new Error("No ScrollGrid implementation");
|
|
6731
|
-
let { props: l, context: o } = this, a = !l.forPrint &&
|
|
6722
|
+
let { props: l, context: o } = this, a = !l.forPrint && It(o.options), d = !l.forPrint && Ns(o.options), c = [];
|
|
6732
6723
|
return e && c.push({
|
|
6733
6724
|
type: "header",
|
|
6734
6725
|
key: "header",
|
|
@@ -6753,10 +6744,10 @@ class Lu extends ie {
|
|
|
6753
6744
|
isSticky: !0,
|
|
6754
6745
|
chunks: [{
|
|
6755
6746
|
key: "main",
|
|
6756
|
-
content:
|
|
6747
|
+
content: Sn
|
|
6757
6748
|
}]
|
|
6758
6749
|
}), g(
|
|
6759
|
-
|
|
6750
|
+
Rt,
|
|
6760
6751
|
{ elClasses: ["fc-daygrid"], viewSpec: o.viewSpec },
|
|
6761
6752
|
g(s, { liquid: !l.isHeightAuto && !l.forPrint, forPrint: l.forPrint, collapsibleWidth: l.forPrint, colGroups: [{ cols: [{ span: r, minWidth: i }] }], sections: c })
|
|
6762
6753
|
);
|
|
@@ -6809,13 +6800,13 @@ function Xs(n) {
|
|
|
6809
6800
|
class Js extends I {
|
|
6810
6801
|
render() {
|
|
6811
6802
|
let { props: e } = this;
|
|
6812
|
-
return g(
|
|
6803
|
+
return g(Hs, Object.assign({}, e, { elClasses: ["fc-daygrid-event", "fc-daygrid-block-event", "fc-h-event"], defaultTimeFormat: Zs, defaultDisplayEventEnd: e.defaultDisplayEventEnd, disableResizing: !e.seg.eventRange.def.allDay }));
|
|
6813
6804
|
}
|
|
6814
6805
|
}
|
|
6815
6806
|
class Ks extends I {
|
|
6816
6807
|
render() {
|
|
6817
6808
|
let { props: e, context: t } = this, { options: r } = t, { seg: i } = e, s = r.eventTimeFormat || Zs, l = hs(i, s, t, !0, e.defaultDisplayEventEnd);
|
|
6818
|
-
return g(
|
|
6809
|
+
return g(Kn, Object.assign({}, e, { elTag: "a", elClasses: ["fc-daygrid-event", "fc-daygrid-dot-event"], elAttrs: ps(e.seg, t), defaultGenerator: zu, timeText: l, isResizing: !1, isDateSelecting: !1 }));
|
|
6819
6810
|
}
|
|
6820
6811
|
}
|
|
6821
6812
|
function zu(n) {
|
|
@@ -6862,20 +6853,20 @@ class Fu extends ie {
|
|
|
6862
6853
|
render() {
|
|
6863
6854
|
let { context: e, props: t, state: r, rootElRef: i } = this, { options: s, dateEnv: l } = e, { date: o, dateProfile: a } = t;
|
|
6864
6855
|
const d = t.showDayNumber && Gu(o, a.currentRange, l);
|
|
6865
|
-
return g(
|
|
6856
|
+
return g(tr, { elTag: "td", elRef: this.handleRootEl, elClasses: [
|
|
6866
6857
|
"fc-daygrid-day",
|
|
6867
6858
|
...t.extraClassNames || []
|
|
6868
6859
|
], elAttrs: Object.assign(Object.assign(Object.assign({}, t.extraDataAttrs), t.showDayNumber ? { "aria-labelledby": r.dayNumberId } : {}), { role: "gridcell" }), defaultGenerator: Wu, date: o, dateProfile: a, todayRange: t.todayRange, showDayNumber: t.showDayNumber, isMonthStart: d, extraRenderProps: t.extraRenderProps }, (c, f) => g(
|
|
6869
6860
|
"div",
|
|
6870
6861
|
{ ref: t.innerElRef, className: "fc-daygrid-day-frame fc-scrollgrid-sync-inner", style: { minHeight: t.minHeight } },
|
|
6871
|
-
t.showWeekNumber && g(Ls, { elTag: "a", elClasses: ["fc-daygrid-week-number"], elAttrs:
|
|
6872
|
-
!f.isDisabled && (t.showDayNumber ||
|
|
6862
|
+
t.showWeekNumber && g(Ls, { elTag: "a", elClasses: ["fc-daygrid-week-number"], elAttrs: Mt(e, o, "week"), date: o, defaultFormat: Vu }),
|
|
6863
|
+
!f.isDisabled && (t.showDayNumber || nr(s) || t.forceDayTop) ? g(
|
|
6873
6864
|
"div",
|
|
6874
6865
|
{ className: "fc-daygrid-day-top" },
|
|
6875
6866
|
g(c, { elTag: "a", elClasses: [
|
|
6876
6867
|
"fc-daygrid-day-number",
|
|
6877
6868
|
d && "fc-daygrid-month-start"
|
|
6878
|
-
], elAttrs: Object.assign(Object.assign({},
|
|
6869
|
+
], elAttrs: Object.assign(Object.assign({}, Mt(e, o)), { id: r.dayNumberId }) })
|
|
6879
6870
|
) : t.showDayNumber ? (
|
|
6880
6871
|
// for creating correct amount of space (see issue #7162)
|
|
6881
6872
|
g(
|
|
@@ -6916,7 +6907,7 @@ function tl(n) {
|
|
|
6916
6907
|
function qu(n, e, t, r, i, s, l) {
|
|
6917
6908
|
let o = new $u((E) => {
|
|
6918
6909
|
let p = n[E.index].eventRange.instance.instanceId + ":" + E.span.start + ":" + (E.span.end - 1);
|
|
6919
|
-
return i[p]
|
|
6910
|
+
return i[p];
|
|
6920
6911
|
});
|
|
6921
6912
|
o.allowReslicing = !0, o.strictOrder = r, e === !0 || t === !0 ? (o.maxCoord = s, o.hiddenConsumes = !0) : typeof e == "number" ? o.maxStackCnt = e : typeof t == "number" && (o.maxStackCnt = t, o.hiddenConsumes = !0);
|
|
6922
6913
|
let a = [], d = [];
|
|
@@ -7048,12 +7039,12 @@ class $u extends _s {
|
|
|
7048
7039
|
const d = Re(l);
|
|
7049
7040
|
if (!s[d])
|
|
7050
7041
|
if (this.allowReslicing) {
|
|
7051
|
-
const c = Object.assign(Object.assign({}, l), { span:
|
|
7052
|
-
s[f] = !0, i[o][a] = c,
|
|
7042
|
+
const c = Object.assign(Object.assign({}, l), { span: Zn(l.span, t.span) }), f = Re(c);
|
|
7043
|
+
s[f] = !0, i[o][a] = c, this.splitEntry(l, t, r);
|
|
7053
7044
|
} else
|
|
7054
7045
|
s[d] = !0, r.push(l);
|
|
7055
7046
|
}
|
|
7056
|
-
super.handleInvalidInsertion(e, t, r);
|
|
7047
|
+
return super.handleInvalidInsertion(e, t, r);
|
|
7057
7048
|
}
|
|
7058
7049
|
}
|
|
7059
7050
|
class nl extends ie {
|
|
@@ -7142,7 +7133,7 @@ class nl extends ie {
|
|
|
7142
7133
|
left: 0,
|
|
7143
7134
|
right: s.rights[o.firstCol] - s.rights[o.lastCol]
|
|
7144
7135
|
};
|
|
7145
|
-
l.push(g("div", { key: gs(o.eventRange), className: "fc-daygrid-bg-harness", style: a }, t === "bg-event" ? g(
|
|
7136
|
+
l.push(g("div", { key: gs(o.eventRange), className: "fc-daygrid-bg-harness", style: a }, t === "bg-event" ? g(Ps, Object.assign({ seg: o }, ve(o, i))) : Bs(t)));
|
|
7146
7137
|
}
|
|
7147
7138
|
return g(B, {}, ...l);
|
|
7148
7139
|
}
|
|
@@ -7374,7 +7365,7 @@ class ef extends ie {
|
|
|
7374
7365
|
}
|
|
7375
7366
|
function tf(n, e) {
|
|
7376
7367
|
let t;
|
|
7377
|
-
return e.currentRangeUnit.match(/year|month/) && (t = n.querySelector(`[data-date="${
|
|
7368
|
+
return e.currentRangeUnit.match(/year|month/) && (t = n.querySelector(`[data-date="${Ho(e.currentDate)}-01"]`)), t || (t = n.querySelector(`[data-date="${On(e.currentDate)}"]`)), t;
|
|
7378
7369
|
}
|
|
7379
7370
|
class nf extends ks {
|
|
7380
7371
|
constructor() {
|
|
@@ -7420,17 +7411,17 @@ class lf extends es {
|
|
|
7420
7411
|
}
|
|
7421
7412
|
function of(n) {
|
|
7422
7413
|
let { dateEnv: e, currentRange: t } = n, { start: r, end: i } = t, s;
|
|
7423
|
-
if (n.snapToWeek && (r = e.startOfWeek(r), s = e.startOfWeek(i), s.valueOf() !== i.valueOf() && (i =
|
|
7414
|
+
if (n.snapToWeek && (r = e.startOfWeek(r), s = e.startOfWeek(i), s.valueOf() !== i.valueOf() && (i = Br(s, 1))), n.fixedWeekCount) {
|
|
7424
7415
|
let l = e.startOfWeek(e.startOfMonth(W(t.end, -1))), o = Math.ceil(
|
|
7425
7416
|
// could be partial weeks due to hiddenDays
|
|
7426
7417
|
Do(l, i)
|
|
7427
7418
|
);
|
|
7428
|
-
i =
|
|
7419
|
+
i = Br(i, 6 - o);
|
|
7429
7420
|
}
|
|
7430
7421
|
return { start: r, end: i };
|
|
7431
7422
|
}
|
|
7432
7423
|
var af = ':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}';
|
|
7433
|
-
|
|
7424
|
+
Rn(af);
|
|
7434
7425
|
var cf = fe({
|
|
7435
7426
|
name: "@fullcalendar/daygrid",
|
|
7436
7427
|
initialView: "dayGridMonth",
|
|
@@ -7457,8 +7448,9 @@ var cf = fe({
|
|
|
7457
7448
|
duration: { years: 1 }
|
|
7458
7449
|
}
|
|
7459
7450
|
}
|
|
7460
|
-
});
|
|
7461
|
-
|
|
7451
|
+
}), 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}';
|
|
7452
|
+
Rn(df);
|
|
7453
|
+
class uf extends yc {
|
|
7462
7454
|
getKeyInfo() {
|
|
7463
7455
|
return {
|
|
7464
7456
|
allDay: {},
|
|
@@ -7472,7 +7464,7 @@ class df extends yc {
|
|
|
7472
7464
|
return e.allDay ? $a(e) ? ["timed", "allDay"] : ["allDay"] : ["timed"];
|
|
7473
7465
|
}
|
|
7474
7466
|
}
|
|
7475
|
-
const
|
|
7467
|
+
const ff = j({
|
|
7476
7468
|
hour: "numeric",
|
|
7477
7469
|
minute: "2-digit",
|
|
7478
7470
|
omitZeroMinute: !0,
|
|
@@ -7489,7 +7481,7 @@ function il(n) {
|
|
|
7489
7481
|
return g("td", { className: e.join(" "), "data-time": n.isoTimeStr });
|
|
7490
7482
|
let { dateEnv: r, options: i, viewApi: s } = t, l = (
|
|
7491
7483
|
// TODO: fully pre-parse
|
|
7492
|
-
i.slotLabelFormat == null ?
|
|
7484
|
+
i.slotLabelFormat == null ? ff : Array.isArray(i.slotLabelFormat) ? j(i.slotLabelFormat[0]) : j(i.slotLabelFormat)
|
|
7493
7485
|
), o = {
|
|
7494
7486
|
level: 0,
|
|
7495
7487
|
time: n.time,
|
|
@@ -7499,7 +7491,7 @@ function il(n) {
|
|
|
7499
7491
|
};
|
|
7500
7492
|
return g(Z, { elTag: "td", elClasses: e, elAttrs: {
|
|
7501
7493
|
"data-time": n.isoTimeStr
|
|
7502
|
-
}, renderProps: o, generatorName: "slotLabelContent", customGenerator: i.slotLabelContent, defaultGenerator:
|
|
7494
|
+
}, renderProps: o, generatorName: "slotLabelContent", customGenerator: i.slotLabelContent, defaultGenerator: hf, classNameGenerator: i.slotLabelClassNames, didMount: i.slotLabelDidMount, willUnmount: i.slotLabelWillUnmount }, (a) => g(
|
|
7503
7495
|
"div",
|
|
7504
7496
|
{ className: "fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame" },
|
|
7505
7497
|
g(a, { elTag: "div", elClasses: [
|
|
@@ -7509,10 +7501,10 @@ function il(n) {
|
|
|
7509
7501
|
));
|
|
7510
7502
|
});
|
|
7511
7503
|
}
|
|
7512
|
-
function
|
|
7504
|
+
function hf(n) {
|
|
7513
7505
|
return n.text;
|
|
7514
7506
|
}
|
|
7515
|
-
class
|
|
7507
|
+
class gf extends I {
|
|
7516
7508
|
render() {
|
|
7517
7509
|
return this.props.slatMetas.map((e) => g(
|
|
7518
7510
|
"tr",
|
|
@@ -7521,22 +7513,22 @@ class hf extends I {
|
|
|
7521
7513
|
));
|
|
7522
7514
|
}
|
|
7523
7515
|
}
|
|
7524
|
-
const
|
|
7525
|
-
class
|
|
7516
|
+
const pf = j({ week: "short" }), mf = 5;
|
|
7517
|
+
class vf extends ie {
|
|
7526
7518
|
constructor() {
|
|
7527
|
-
super(...arguments), this.allDaySplitter = new
|
|
7519
|
+
super(...arguments), this.allDaySplitter = new uf(), this.headerElRef = q(), this.rootElRef = q(), this.scrollerElRef = q(), this.state = {
|
|
7528
7520
|
slatCoords: null
|
|
7529
7521
|
}, this.handleScrollTopRequest = (e) => {
|
|
7530
7522
|
let t = this.scrollerElRef.current;
|
|
7531
7523
|
t && (t.scrollTop = e);
|
|
7532
7524
|
}, this.renderHeadAxis = (e, t = "") => {
|
|
7533
|
-
let { options: r } = this.context, { dateProfile: i } = this.props, s = i.renderRange, o = Ie(s.start, s.end) === 1 ?
|
|
7525
|
+
let { options: r } = this.context, { dateProfile: i } = this.props, s = i.renderRange, o = Ie(s.start, s.end) === 1 ? Mt(this.context, s.start, "week") : {};
|
|
7534
7526
|
return r.weekNumbers && e === "day" ? g(Ls, { elTag: "th", elClasses: [
|
|
7535
7527
|
"fc-timegrid-axis",
|
|
7536
7528
|
"fc-scrollgrid-shrink"
|
|
7537
7529
|
], elAttrs: {
|
|
7538
7530
|
"aria-hidden": !0
|
|
7539
|
-
}, date: s.start, defaultFormat:
|
|
7531
|
+
}, date: s.start, defaultFormat: pf }, (a) => g(
|
|
7540
7532
|
"div",
|
|
7541
7533
|
{ className: [
|
|
7542
7534
|
"fc-timegrid-axis-frame",
|
|
@@ -7565,7 +7557,7 @@ class mf extends ie {
|
|
|
7565
7557
|
"fc-scrollgrid-shrink"
|
|
7566
7558
|
], elAttrs: {
|
|
7567
7559
|
"aria-hidden": !0
|
|
7568
|
-
}, renderProps: i, generatorName: "allDayContent", customGenerator: t.allDayContent, defaultGenerator:
|
|
7560
|
+
}, renderProps: i, generatorName: "allDayContent", customGenerator: t.allDayContent, defaultGenerator: yf, classNameGenerator: t.allDayClassNames, didMount: t.allDayDidMount, willUnmount: t.allDayWillUnmount }, (s) => g(
|
|
7569
7561
|
"div",
|
|
7570
7562
|
{ className: [
|
|
7571
7563
|
"fc-timegrid-axis-frame",
|
|
@@ -7586,7 +7578,7 @@ class mf extends ie {
|
|
|
7586
7578
|
// rendering
|
|
7587
7579
|
// ----------------------------------------------------------------------------------------------------
|
|
7588
7580
|
renderSimpleLayout(e, t, r) {
|
|
7589
|
-
let { context: i, props: s } = this, l = [], o =
|
|
7581
|
+
let { context: i, props: s } = this, l = [], o = It(i.options);
|
|
7590
7582
|
return e && l.push({
|
|
7591
7583
|
type: "header",
|
|
7592
7584
|
key: "header",
|
|
@@ -7621,16 +7613,16 @@ class mf extends ie {
|
|
|
7621
7613
|
content: r
|
|
7622
7614
|
}
|
|
7623
7615
|
}), g(
|
|
7624
|
-
|
|
7616
|
+
Rt,
|
|
7625
7617
|
{ elRef: this.rootElRef, elClasses: ["fc-timegrid"], viewSpec: i.viewSpec },
|
|
7626
|
-
g(
|
|
7618
|
+
g(Jn, { liquid: !s.isHeightAuto && !s.forPrint, collapsibleWidth: s.forPrint, cols: [{ width: "shrink" }], sections: l })
|
|
7627
7619
|
);
|
|
7628
7620
|
}
|
|
7629
7621
|
renderHScrollLayout(e, t, r, i, s, l, o) {
|
|
7630
7622
|
let a = this.context.pluginHooks.scrollGridImpl;
|
|
7631
7623
|
if (!a)
|
|
7632
7624
|
throw new Error("No ScrollGrid implementation");
|
|
7633
|
-
let { context: d, props: c } = this, f = !c.forPrint &&
|
|
7625
|
+
let { context: d, props: c } = this, f = !c.forPrint && It(d.options), h = !c.forPrint && Ns(d.options), u = [];
|
|
7634
7626
|
e && u.push({
|
|
7635
7627
|
type: "header",
|
|
7636
7628
|
key: "header",
|
|
@@ -7695,7 +7687,7 @@ class mf extends ie {
|
|
|
7695
7687
|
g(
|
|
7696
7688
|
"tbody",
|
|
7697
7689
|
null,
|
|
7698
|
-
g(
|
|
7690
|
+
g(gf, { slatMetas: l })
|
|
7699
7691
|
)
|
|
7700
7692
|
),
|
|
7701
7693
|
g(
|
|
@@ -7706,7 +7698,7 @@ class mf extends ie {
|
|
|
7706
7698
|
/* hacky */
|
|
7707
7699
|
}, (b) => {
|
|
7708
7700
|
let E = m && o && o.safeComputeTop(b);
|
|
7709
|
-
return typeof E == "number" ? g(
|
|
7701
|
+
return typeof E == "number" ? g(er, { elClasses: ["fc-timegrid-now-indicator-arrow"], elStyle: { top: E }, isAxis: !0, date: b }) : null;
|
|
7710
7702
|
})
|
|
7711
7703
|
)
|
|
7712
7704
|
)
|
|
@@ -7725,15 +7717,15 @@ class mf extends ie {
|
|
|
7725
7717
|
chunks: [
|
|
7726
7718
|
{
|
|
7727
7719
|
key: "axis",
|
|
7728
|
-
content:
|
|
7720
|
+
content: Sn
|
|
7729
7721
|
},
|
|
7730
7722
|
{
|
|
7731
7723
|
key: "cols",
|
|
7732
|
-
content:
|
|
7724
|
+
content: Sn
|
|
7733
7725
|
}
|
|
7734
7726
|
]
|
|
7735
7727
|
}), g(
|
|
7736
|
-
|
|
7728
|
+
Rt,
|
|
7737
7729
|
{ elRef: this.rootElRef, elClasses: ["fc-timegrid"], viewSpec: d.viewSpec },
|
|
7738
7730
|
g(a, { liquid: !c.isHeightAuto && !c.forPrint, forPrint: c.forPrint, collapsibleWidth: !1, colGroups: [
|
|
7739
7731
|
{ width: "shrink", cols: [{ width: "shrink" }] },
|
|
@@ -7745,20 +7737,20 @@ class mf extends ie {
|
|
|
7745
7737
|
------------------------------------------------------------------------------------------------------------------*/
|
|
7746
7738
|
getAllDayMaxEventProps() {
|
|
7747
7739
|
let { dayMaxEvents: e, dayMaxEventRows: t } = this.context.options;
|
|
7748
|
-
return (e === !0 || t === !0) && (e = void 0, t =
|
|
7740
|
+
return (e === !0 || t === !0) && (e = void 0, t = mf), { dayMaxEvents: e, dayMaxEventRows: t };
|
|
7749
7741
|
}
|
|
7750
7742
|
}
|
|
7751
|
-
function
|
|
7743
|
+
function yf(n) {
|
|
7752
7744
|
return n.text;
|
|
7753
7745
|
}
|
|
7754
|
-
class
|
|
7746
|
+
class bf {
|
|
7755
7747
|
constructor(e, t, r) {
|
|
7756
7748
|
this.positions = e, this.dateProfile = t, this.slotDuration = r;
|
|
7757
7749
|
}
|
|
7758
7750
|
safeComputeTop(e) {
|
|
7759
7751
|
let { dateProfile: t } = this;
|
|
7760
7752
|
if (ae(t.currentRange, e)) {
|
|
7761
|
-
let r =
|
|
7753
|
+
let r = P(e), i = e.valueOf() - r.valueOf();
|
|
7762
7754
|
if (i >= K(t.slotMinTime) && i < K(t.slotMaxTime))
|
|
7763
7755
|
return this.computeTimeTop(k(i));
|
|
7764
7756
|
}
|
|
@@ -7767,7 +7759,7 @@ class yf {
|
|
|
7767
7759
|
// Computes the top coordinate, relative to the bounds of the grid, of the given date.
|
|
7768
7760
|
// A `startOfDayDate` must be given for avoiding ambiguity over how to treat midnight.
|
|
7769
7761
|
computeDateTop(e, t) {
|
|
7770
|
-
return t || (t =
|
|
7762
|
+
return t || (t = P(e)), this.computeTimeTop(k(e.valueOf() - t.valueOf()));
|
|
7771
7763
|
}
|
|
7772
7764
|
// Computes the top coordinate, relative to the bounds of the grid, of the given time (a Duration).
|
|
7773
7765
|
// This is a makeshify way to compute the time-top. Assumes all slatMetas dates are uniform.
|
|
@@ -7777,7 +7769,7 @@ class yf {
|
|
|
7777
7769
|
return s = Math.max(0, s), s = Math.min(i, s), l = Math.floor(s), l = Math.min(l, i - 1), o = s - l, t.tops[l] + t.getHeight(l) * o;
|
|
7778
7770
|
}
|
|
7779
7771
|
}
|
|
7780
|
-
class
|
|
7772
|
+
class Ef extends I {
|
|
7781
7773
|
render() {
|
|
7782
7774
|
let { props: e, context: t } = this, { options: r } = t, { slatElRefs: i } = e;
|
|
7783
7775
|
return g("tbody", null, e.slatMetas.map((s, l) => {
|
|
@@ -7801,7 +7793,7 @@ class bf extends I {
|
|
|
7801
7793
|
}));
|
|
7802
7794
|
}
|
|
7803
7795
|
}
|
|
7804
|
-
class
|
|
7796
|
+
class Sf extends I {
|
|
7805
7797
|
constructor() {
|
|
7806
7798
|
super(...arguments), this.rootElRef = q(), this.slatElRefs = new oe();
|
|
7807
7799
|
}
|
|
@@ -7818,7 +7810,7 @@ class Ef extends I {
|
|
|
7818
7810
|
height: e.minHeight
|
|
7819
7811
|
} },
|
|
7820
7812
|
e.tableColGroupNode,
|
|
7821
|
-
g(
|
|
7813
|
+
g(Ef, { slatElRefs: this.slatElRefs, axis: e.axis, slatMetas: e.slatMetas })
|
|
7822
7814
|
)
|
|
7823
7815
|
);
|
|
7824
7816
|
}
|
|
@@ -7833,10 +7825,10 @@ class Ef extends I {
|
|
|
7833
7825
|
}
|
|
7834
7826
|
updateSizing() {
|
|
7835
7827
|
let { context: e, props: t } = this;
|
|
7836
|
-
t.onCoords && t.clientWidth !== null && this.rootElRef.current.offsetHeight && t.onCoords(new
|
|
7828
|
+
t.onCoords && t.clientWidth !== null && this.rootElRef.current.offsetHeight && t.onCoords(new bf(new Fe(this.rootElRef.current, Af(this.slatElRefs.currentMap, t.slatMetas), !1, !0), this.props.dateProfile, e.options.slotDuration));
|
|
7837
7829
|
}
|
|
7838
7830
|
}
|
|
7839
|
-
function
|
|
7831
|
+
function Af(n, e) {
|
|
7840
7832
|
return e.map((t) => n[t.key]);
|
|
7841
7833
|
}
|
|
7842
7834
|
function Ge(n, e) {
|
|
@@ -7864,27 +7856,27 @@ function ui(n, e) {
|
|
|
7864
7856
|
t[r] = null;
|
|
7865
7857
|
return t;
|
|
7866
7858
|
}
|
|
7867
|
-
class
|
|
7859
|
+
class _f extends I {
|
|
7868
7860
|
render() {
|
|
7869
7861
|
let { props: e } = this;
|
|
7870
7862
|
return g(zs, { elClasses: ["fc-timegrid-more-link"], elStyle: {
|
|
7871
7863
|
top: e.top,
|
|
7872
7864
|
bottom: e.bottom
|
|
7873
|
-
}, allDayDate: null, moreCnt: e.hiddenSegs.length, allSegs: e.hiddenSegs, hiddenSegs: e.hiddenSegs, extraDateSpan: e.extraDateSpan, dateProfile: e.dateProfile, todayRange: e.todayRange, popoverContent: () => ll(e.hiddenSegs, e), defaultGenerator:
|
|
7865
|
+
}, allDayDate: null, moreCnt: e.hiddenSegs.length, allSegs: e.hiddenSegs, hiddenSegs: e.hiddenSegs, extraDateSpan: e.extraDateSpan, dateProfile: e.dateProfile, todayRange: e.todayRange, popoverContent: () => ll(e.hiddenSegs, e), defaultGenerator: Df, forceTimed: !0 }, (t) => g(t, { elTag: "div", elClasses: ["fc-timegrid-more-link-inner", "fc-sticky"] }));
|
|
7874
7866
|
}
|
|
7875
7867
|
}
|
|
7876
|
-
function
|
|
7868
|
+
function Df(n) {
|
|
7877
7869
|
return n.shortText;
|
|
7878
7870
|
}
|
|
7879
|
-
function
|
|
7871
|
+
function wf(n, e, t) {
|
|
7880
7872
|
let r = new _s();
|
|
7881
7873
|
e != null && (r.strictOrder = e), t != null && (r.maxStackCnt = t);
|
|
7882
|
-
let i = r.addSegs(n), s = Mc(i), l =
|
|
7883
|
-
return l =
|
|
7874
|
+
let i = r.addSegs(n), s = Mc(i), l = Cf(r);
|
|
7875
|
+
return l = xf(l, 1), { segRects: Mf(l), hiddenGroups: s };
|
|
7884
7876
|
}
|
|
7885
|
-
function
|
|
7886
|
-
const { entriesByLevel: e } = n, t =
|
|
7887
|
-
let s =
|
|
7877
|
+
function Cf(n) {
|
|
7878
|
+
const { entriesByLevel: e } = n, t = ir((r, i) => r + ":" + i, (r, i) => {
|
|
7879
|
+
let s = kf(n, r, i), l = fi(s, t), o = e[r][i];
|
|
7888
7880
|
return [
|
|
7889
7881
|
Object.assign(Object.assign({}, o), { nextLevelNodes: l[0] }),
|
|
7890
7882
|
o.thickness + l[1]
|
|
@@ -7899,24 +7891,24 @@ function fi(n, e) {
|
|
|
7899
7891
|
let { level: t, lateralStart: r, lateralEnd: i } = n, s = r, l = [];
|
|
7900
7892
|
for (; s < i; )
|
|
7901
7893
|
l.push(e(t, s)), s += 1;
|
|
7902
|
-
return l.sort(
|
|
7903
|
-
l.map(
|
|
7894
|
+
return l.sort(Rf), [
|
|
7895
|
+
l.map(Tf),
|
|
7904
7896
|
l[0][1]
|
|
7905
7897
|
// first item's pressure
|
|
7906
7898
|
];
|
|
7907
7899
|
}
|
|
7908
|
-
function
|
|
7900
|
+
function Rf(n, e) {
|
|
7909
7901
|
return e[1] - n[1];
|
|
7910
7902
|
}
|
|
7911
|
-
function
|
|
7903
|
+
function Tf(n) {
|
|
7912
7904
|
return n[0];
|
|
7913
7905
|
}
|
|
7914
|
-
function
|
|
7906
|
+
function kf(n, e, t) {
|
|
7915
7907
|
let { levelCoords: r, entriesByLevel: i } = n, s = i[e][t], l = r[e] + s.thickness, o = r.length, a = e;
|
|
7916
7908
|
for (; a < o && r[a] < l; a += 1)
|
|
7917
7909
|
;
|
|
7918
7910
|
for (; a < o; a += 1) {
|
|
7919
|
-
let d = i[a], c, f =
|
|
7911
|
+
let d = i[a], c, f = En(d, s.span.start, bn), h = f[0] + f[1], u = h;
|
|
7920
7912
|
for (
|
|
7921
7913
|
;
|
|
7922
7914
|
// loop through entries that horizontally intersect
|
|
@@ -7929,8 +7921,8 @@ function Tf(n, e, t) {
|
|
|
7929
7921
|
}
|
|
7930
7922
|
return null;
|
|
7931
7923
|
}
|
|
7932
|
-
function
|
|
7933
|
-
const t =
|
|
7924
|
+
function xf(n, e) {
|
|
7925
|
+
const t = ir((r, i, s) => Re(r), (r, i, s) => {
|
|
7934
7926
|
let { nextLevelNodes: l, thickness: o } = r, a = o + s, d = o / a, c, f = [];
|
|
7935
7927
|
if (!l.length)
|
|
7936
7928
|
c = e;
|
|
@@ -7948,9 +7940,9 @@ function kf(n, e) {
|
|
|
7948
7940
|
});
|
|
7949
7941
|
return n.map((r) => t(r, 0, 0)[1]);
|
|
7950
7942
|
}
|
|
7951
|
-
function
|
|
7943
|
+
function Mf(n) {
|
|
7952
7944
|
let e = [];
|
|
7953
|
-
const t =
|
|
7945
|
+
const t = ir((i, s, l) => Re(i), (i, s, l) => {
|
|
7954
7946
|
let o = Object.assign(Object.assign({}, i), {
|
|
7955
7947
|
levelCoord: s,
|
|
7956
7948
|
stackDepth: l,
|
|
@@ -7966,7 +7958,7 @@ function xf(n) {
|
|
|
7966
7958
|
}
|
|
7967
7959
|
return r(n, 0, 0), e;
|
|
7968
7960
|
}
|
|
7969
|
-
function
|
|
7961
|
+
function ir(n, e) {
|
|
7970
7962
|
const t = {};
|
|
7971
7963
|
return (...r) => {
|
|
7972
7964
|
let i = n(...r);
|
|
@@ -7990,7 +7982,7 @@ function hi(n, e, t = null, r = 0) {
|
|
|
7990
7982
|
}
|
|
7991
7983
|
return i;
|
|
7992
7984
|
}
|
|
7993
|
-
function
|
|
7985
|
+
function If(n, e, t, r) {
|
|
7994
7986
|
let i = [], s = [];
|
|
7995
7987
|
for (let d = 0; d < n.length; d += 1) {
|
|
7996
7988
|
let c = e[d];
|
|
@@ -8000,7 +7992,7 @@ function Mf(n, e, t, r) {
|
|
|
8000
7992
|
span: c
|
|
8001
7993
|
}) : s.push(n[d]);
|
|
8002
7994
|
}
|
|
8003
|
-
let { segRects: l, hiddenGroups: o } =
|
|
7995
|
+
let { segRects: l, hiddenGroups: o } = wf(i, t, r), a = [];
|
|
8004
7996
|
for (let d of l)
|
|
8005
7997
|
a.push({
|
|
8006
7998
|
seg: n[d.index],
|
|
@@ -8010,18 +8002,18 @@ function Mf(n, e, t, r) {
|
|
|
8010
8002
|
a.push({ seg: d, rect: null });
|
|
8011
8003
|
return { segPlacements: a, hiddenGroups: o };
|
|
8012
8004
|
}
|
|
8013
|
-
const
|
|
8005
|
+
const Of = j({
|
|
8014
8006
|
hour: "numeric",
|
|
8015
8007
|
minute: "2-digit",
|
|
8016
8008
|
meridiem: !1
|
|
8017
8009
|
});
|
|
8018
8010
|
class sl extends I {
|
|
8019
8011
|
render() {
|
|
8020
|
-
return g(
|
|
8012
|
+
return g(Hs, Object.assign({}, this.props, { elClasses: [
|
|
8021
8013
|
"fc-timegrid-event",
|
|
8022
8014
|
"fc-v-event",
|
|
8023
8015
|
this.props.isShort && "fc-timegrid-event-short"
|
|
8024
|
-
], defaultTimeFormat:
|
|
8016
|
+
], defaultTimeFormat: Of }));
|
|
8025
8017
|
}
|
|
8026
8018
|
}
|
|
8027
8019
|
class Nf extends I {
|
|
@@ -8037,7 +8029,7 @@ class Nf extends I {
|
|
|
8037
8029
|
// TODO: messy way to compute this
|
|
8038
8030
|
e.eventDrag && e.eventDrag.affectedInstances || e.eventResize && e.eventResize.affectedInstances || {}
|
|
8039
8031
|
), o = this.sortEventSegs(e.fgEventSegs, r.eventOrder);
|
|
8040
|
-
return g(
|
|
8032
|
+
return g(tr, { elTag: "td", elRef: e.elRef, elClasses: [
|
|
8041
8033
|
"fc-timegrid-col",
|
|
8042
8034
|
...e.extraClassNames || []
|
|
8043
8035
|
], elAttrs: Object.assign({ role: "gridcell" }, e.extraDataAttrs), date: e.date, dateProfile: e.dateProfile, todayRange: e.todayRange, extraRenderProps: e.extraRenderProps }, (a) => g(
|
|
@@ -8053,7 +8045,7 @@ class Nf extends I {
|
|
|
8053
8045
|
g("div", { className: "fc-timegrid-col-events" }, this.renderFgSegs(o, l, !1, !1, !1)),
|
|
8054
8046
|
g("div", { className: "fc-timegrid-col-events" }, this.renderFgSegs(s, {}, !!e.eventDrag, !!e.eventResize, !!i, "mirror")),
|
|
8055
8047
|
g("div", { className: "fc-timegrid-now-indicator-container" }, this.renderNowIndicator(e.nowIndicatorSegs)),
|
|
8056
|
-
|
|
8048
|
+
nr(r) && g(a, { elTag: "div", elClasses: ["fc-timegrid-col-misc"] })
|
|
8057
8049
|
));
|
|
8058
8050
|
}
|
|
8059
8051
|
renderFgSegs(e, t, r, i, s, l) {
|
|
@@ -8061,17 +8053,17 @@ class Nf extends I {
|
|
|
8061
8053
|
return o.forPrint ? ll(e, o) : this.renderPositionedFgSegs(e, t, r, i, s, l);
|
|
8062
8054
|
}
|
|
8063
8055
|
renderPositionedFgSegs(e, t, r, i, s, l) {
|
|
8064
|
-
let { eventMaxStack: o, eventShortHeight: a, eventOrderStrict: d, eventMinHeight: c } = this.context.options, { date: f, slatCoords: h, eventSelection: u, todayRange: m, nowDate: y } = this.props, b = r || i || s, E = hi(e, f, h, c), { segPlacements: p, hiddenGroups: A } =
|
|
8056
|
+
let { eventMaxStack: o, eventShortHeight: a, eventOrderStrict: d, eventMinHeight: c } = this.context.options, { date: f, slatCoords: h, eventSelection: u, todayRange: m, nowDate: y } = this.props, b = r || i || s, E = hi(e, f, h, c), { segPlacements: p, hiddenGroups: A } = If(e, E, d, o);
|
|
8065
8057
|
return g(
|
|
8066
8058
|
B,
|
|
8067
8059
|
null,
|
|
8068
8060
|
this.renderHiddenGroups(A, e),
|
|
8069
8061
|
p.map((C) => {
|
|
8070
|
-
let { seg:
|
|
8062
|
+
let { seg: H, rect: R } = C, x = H.eventRange.instance.instanceId, S = b || !!(!t[x] && R), D = ln(R && R.span), U = !b && R ? this.computeSegHStyle(R) : { left: 0, right: 0 }, te = !!R && R.stackForward > 0, se = !!R && R.span.end - R.span.start < a;
|
|
8071
8063
|
return g(
|
|
8072
8064
|
"div",
|
|
8073
8065
|
{ className: "fc-timegrid-event-harness" + (te ? " fc-timegrid-event-harness-inset" : ""), key: l || x, style: Object.assign(Object.assign({ visibility: S ? "" : "hidden" }, D), U) },
|
|
8074
|
-
g(sl, Object.assign({ seg:
|
|
8066
|
+
g(sl, Object.assign({ seg: H, isDragging: r, isResizing: i, isDateSelecting: s, isSelected: x === u, isShort: se }, ve(H, m, y)))
|
|
8075
8067
|
);
|
|
8076
8068
|
})
|
|
8077
8069
|
);
|
|
@@ -8080,21 +8072,21 @@ class Nf extends I {
|
|
|
8080
8072
|
renderHiddenGroups(e, t) {
|
|
8081
8073
|
let { extraDateSpan: r, dateProfile: i, todayRange: s, nowDate: l, eventSelection: o, eventDrag: a, eventResize: d } = this.props;
|
|
8082
8074
|
return g(B, null, e.map((c) => {
|
|
8083
|
-
let f =
|
|
8084
|
-
return g(
|
|
8075
|
+
let f = ln(c.span), h = Hf(c.entries, t);
|
|
8076
|
+
return g(_f, { key: Gi(Us(h)), hiddenSegs: h, top: f.top, bottom: f.bottom, extraDateSpan: r, dateProfile: i, todayRange: s, nowDate: l, eventSelection: o, eventDrag: a, eventResize: d });
|
|
8085
8077
|
}));
|
|
8086
8078
|
}
|
|
8087
8079
|
renderFillSegs(e, t) {
|
|
8088
8080
|
let { props: r, context: i } = this, l = hi(e, r.date, r.slatCoords, i.options.eventMinHeight).map((o, a) => {
|
|
8089
8081
|
let d = e[a];
|
|
8090
|
-
return g("div", { key: gs(d.eventRange), className: "fc-timegrid-bg-harness", style:
|
|
8082
|
+
return g("div", { key: gs(d.eventRange), className: "fc-timegrid-bg-harness", style: ln(o) }, t === "bg-event" ? g(Ps, Object.assign({ seg: d }, ve(d, r.todayRange, r.nowDate))) : Bs(t));
|
|
8091
8083
|
});
|
|
8092
8084
|
return g(B, null, l);
|
|
8093
8085
|
}
|
|
8094
8086
|
renderNowIndicator(e) {
|
|
8095
8087
|
let { slatCoords: t, date: r } = this.props;
|
|
8096
8088
|
return t ? e.map((i, s) => g(
|
|
8097
|
-
|
|
8089
|
+
er,
|
|
8098
8090
|
{
|
|
8099
8091
|
// key doesn't matter. will only ever be one
|
|
8100
8092
|
key: s,
|
|
@@ -8129,13 +8121,13 @@ function ll(n, { todayRange: e, nowDate: t, eventSelection: r, eventDrag: i, eve
|
|
|
8129
8121
|
);
|
|
8130
8122
|
}));
|
|
8131
8123
|
}
|
|
8132
|
-
function
|
|
8124
|
+
function ln(n) {
|
|
8133
8125
|
return n ? {
|
|
8134
8126
|
top: n.start,
|
|
8135
8127
|
bottom: -n.end
|
|
8136
8128
|
} : { top: "", bottom: "" };
|
|
8137
8129
|
}
|
|
8138
|
-
function
|
|
8130
|
+
function Hf(n, e) {
|
|
8139
8131
|
return n.map((t) => e[t.index]);
|
|
8140
8132
|
}
|
|
8141
8133
|
class Pf extends I {
|
|
@@ -8166,7 +8158,7 @@ class Pf extends I {
|
|
|
8166
8158
|
g(
|
|
8167
8159
|
"div",
|
|
8168
8160
|
{ className: "fc-timegrid-col-frame" },
|
|
8169
|
-
g("div", { className: "fc-timegrid-now-indicator-container" }, typeof r == "number" && g(
|
|
8161
|
+
g("div", { className: "fc-timegrid-now-indicator-container" }, typeof r == "number" && g(er, { elClasses: ["fc-timegrid-now-indicator-arrow"], elStyle: { top: r }, isAxis: !0, date: e.nowDate }))
|
|
8170
8162
|
)
|
|
8171
8163
|
),
|
|
8172
8164
|
e.cells.map((h, u) => g(Nf, { key: h.key, elRef: this.cellElRefs.createRef(h.key), dateProfile: e.dateProfile, date: h.date, nowDate: e.nowDate, todayRange: e.todayRange, extraRenderProps: h.extraRenderProps, extraDataAttrs: h.extraDataAttrs, extraClassNames: h.extraClassNames, extraDateSpan: h.extraDateSpan, fgEventSegs: s[u], bgEventSegs: l[u], businessHourSegs: o[u], nowIndicatorSegs: a[u], dateSelectionSegs: d[u], eventDrag: c[u], eventResize: f[u], slatCoords: e.slatCoords, eventSelection: e.eventSelection, forPrint: e.forPrint }))
|
|
@@ -8185,19 +8177,19 @@ class Pf extends I {
|
|
|
8185
8177
|
let { props: e } = this;
|
|
8186
8178
|
e.onColCoords && e.clientWidth !== null && e.onColCoords(new Fe(
|
|
8187
8179
|
this.rootElRef.current,
|
|
8188
|
-
|
|
8180
|
+
Bf(this.cellElRefs.currentMap, e.cells),
|
|
8189
8181
|
!0,
|
|
8190
8182
|
// horizontal
|
|
8191
8183
|
!1
|
|
8192
8184
|
));
|
|
8193
8185
|
}
|
|
8194
8186
|
}
|
|
8195
|
-
function
|
|
8187
|
+
function Bf(n, e) {
|
|
8196
8188
|
return e.map((t) => n[t.key]);
|
|
8197
8189
|
}
|
|
8198
|
-
class
|
|
8190
|
+
class Lf extends ie {
|
|
8199
8191
|
constructor() {
|
|
8200
|
-
super(...arguments), this.processSlotOptions = w(
|
|
8192
|
+
super(...arguments), this.processSlotOptions = w(zf), this.state = {
|
|
8201
8193
|
slatCoords: null
|
|
8202
8194
|
}, this.handleRootEl = (e) => {
|
|
8203
8195
|
e ? this.context.registerInteractiveComponent(this, {
|
|
@@ -8230,7 +8222,7 @@ class Bf extends ie {
|
|
|
8230
8222
|
width: e.clientWidth,
|
|
8231
8223
|
minWidth: e.tableMinWidth
|
|
8232
8224
|
} },
|
|
8233
|
-
g(
|
|
8225
|
+
g(Sf, { 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 }),
|
|
8234
8226
|
g(Pf, { 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: t.slatCoords, onColCoords: this.handleColCoords, forPrint: e.forPrint })
|
|
8235
8227
|
);
|
|
8236
8228
|
}
|
|
@@ -8246,10 +8238,10 @@ class Bf extends ie {
|
|
|
8246
8238
|
queryHit(e, t) {
|
|
8247
8239
|
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), f = o.positions.topToIndex(t);
|
|
8248
8240
|
if (c != null && f != null) {
|
|
8249
|
-
let h = this.props.cells[c], u = o.positions.tops[f], m = o.positions.getHeight(f), y = (t - u) / m, b = Math.floor(y * d), E = f * d + b, p = this.props.cells[c].date, A =
|
|
8241
|
+
let h = this.props.cells[c], u = o.positions.tops[f], m = o.positions.getHeight(f), y = (t - u) / m, b = Math.floor(y * d), E = f * d + b, p = this.props.cells[c].date, A = fn(l.slotMinTime, Eo(a, E)), C = r.add(p, A), H = r.add(C, a);
|
|
8250
8242
|
return {
|
|
8251
8243
|
dateProfile: l,
|
|
8252
|
-
dateSpan: Object.assign({ range: { start: C, end:
|
|
8244
|
+
dateSpan: Object.assign({ range: { start: C, end: H }, allDay: !1 }, h.extraDateSpan),
|
|
8253
8245
|
dayEl: s.els[c],
|
|
8254
8246
|
rect: {
|
|
8255
8247
|
left: s.lefts[c],
|
|
@@ -8263,11 +8255,11 @@ class Bf extends ie {
|
|
|
8263
8255
|
return null;
|
|
8264
8256
|
}
|
|
8265
8257
|
}
|
|
8266
|
-
function
|
|
8267
|
-
let t = e || n, r =
|
|
8258
|
+
function zf(n, e) {
|
|
8259
|
+
let t = e || n, r = In(n, t);
|
|
8268
8260
|
return r === null && (t = n, r = 1), { snapDuration: t, snapsPerSlot: r };
|
|
8269
8261
|
}
|
|
8270
|
-
class
|
|
8262
|
+
class Uf extends ks {
|
|
8271
8263
|
sliceRange(e, t) {
|
|
8272
8264
|
let r = [];
|
|
8273
8265
|
for (let i = 0; i < t.length; i += 1) {
|
|
@@ -8283,16 +8275,16 @@ class zf extends ks {
|
|
|
8283
8275
|
return r;
|
|
8284
8276
|
}
|
|
8285
8277
|
}
|
|
8286
|
-
class
|
|
8278
|
+
class jf extends ie {
|
|
8287
8279
|
constructor() {
|
|
8288
|
-
super(...arguments), this.buildDayRanges = w(
|
|
8280
|
+
super(...arguments), this.buildDayRanges = w(Vf), this.slicer = new Uf(), this.timeColsRef = q();
|
|
8289
8281
|
}
|
|
8290
8282
|
render() {
|
|
8291
8283
|
let { props: e, context: t } = this, { dateProfile: r, dayTableModel: i } = e, { nowIndicator: s, nextDayThreshold: l } = t.options, o = this.buildDayRanges(i, r, t.dateEnv);
|
|
8292
|
-
return g(nt, { unit: s ? "minute" : "day" }, (a, d) => g(
|
|
8284
|
+
return g(nt, { unit: s ? "minute" : "day" }, (a, d) => g(Lf, Object.assign({ ref: this.timeColsRef }, this.slicer.sliceProps(e, r, null, t, 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, t, o), todayRange: d, onScrollTopRequest: e.onScrollTopRequest, onSlatCoords: e.onSlatCoords })));
|
|
8293
8285
|
}
|
|
8294
8286
|
}
|
|
8295
|
-
function
|
|
8287
|
+
function Vf(n, e, t) {
|
|
8296
8288
|
let r = [];
|
|
8297
8289
|
for (let i of n.headerDates)
|
|
8298
8290
|
r.push({
|
|
@@ -8308,42 +8300,40 @@ const gi = [
|
|
|
8308
8300
|
{ seconds: 30 },
|
|
8309
8301
|
{ seconds: 15 }
|
|
8310
8302
|
];
|
|
8311
|
-
function
|
|
8312
|
-
let s = /* @__PURE__ */ new Date(0), l = n, o = k(0), a = t ||
|
|
8303
|
+
function Ff(n, e, t, r, i) {
|
|
8304
|
+
let s = /* @__PURE__ */ new Date(0), l = n, o = k(0), a = t || Wf(r), d = [];
|
|
8313
8305
|
for (; K(l) < K(e); ) {
|
|
8314
|
-
let c = i.add(s, l), f =
|
|
8306
|
+
let c = i.add(s, l), f = In(o, a) !== null;
|
|
8315
8307
|
d.push({
|
|
8316
8308
|
date: c,
|
|
8317
8309
|
time: l,
|
|
8318
8310
|
key: c.toISOString(),
|
|
8319
|
-
isoTimeStr:
|
|
8311
|
+
isoTimeStr: Po(c),
|
|
8320
8312
|
isLabeled: f
|
|
8321
|
-
}), l =
|
|
8313
|
+
}), l = fn(l, r), o = fn(o, r);
|
|
8322
8314
|
}
|
|
8323
8315
|
return d;
|
|
8324
8316
|
}
|
|
8325
|
-
function
|
|
8317
|
+
function Wf(n) {
|
|
8326
8318
|
let e, t, r;
|
|
8327
8319
|
for (e = gi.length - 1; e >= 0; e -= 1)
|
|
8328
|
-
if (t = k(gi[e]), r =
|
|
8320
|
+
if (t = k(gi[e]), r = In(t, n), r !== null && r > 1)
|
|
8329
8321
|
return t;
|
|
8330
8322
|
return n;
|
|
8331
8323
|
}
|
|
8332
|
-
class
|
|
8324
|
+
class Gf extends vf {
|
|
8333
8325
|
constructor() {
|
|
8334
|
-
super(...arguments), this.buildTimeColsModel = w(
|
|
8326
|
+
super(...arguments), this.buildTimeColsModel = w(qf), this.buildSlatMetas = w(Ff);
|
|
8335
8327
|
}
|
|
8336
8328
|
render() {
|
|
8337
|
-
let { options: e, dateEnv: t, 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, t), { dayMinWidth: d } = e, c = !d, f = d, h = e.dayHeaders && g(Cs, { dates: l.headerDates, dateProfile: s, datesRepDistinctDays: !0, renderIntro: c ? this.renderHeadAxis : null }), u = e.allDaySlot !== !1 && ((y) => g(rl, Object.assign({}, o.allDay, { dateProfile: s, dayTableModel: l, nextDayThreshold: e.nextDayThreshold, tableMinWidth: y.tableMinWidth, colGroupNode: y.tableColGroupNode, renderRowIntro: c ? this.renderTableRowAxis : null, showWeekNumbers: !1, expandRows: !1, headerAlignElRef: this.headerElRef, clientWidth: y.clientWidth, clientHeight: y.clientHeight, forPrint: i.forPrint }, this.getAllDayMaxEventProps()))), m = (y) => g(
|
|
8329
|
+
let { options: e, dateEnv: t, 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, t), { dayMinWidth: d } = e, c = !d, f = d, h = e.dayHeaders && g(Cs, { dates: l.headerDates, dateProfile: s, datesRepDistinctDays: !0, renderIntro: c ? this.renderHeadAxis : null }), u = e.allDaySlot !== !1 && ((y) => g(rl, Object.assign({}, o.allDay, { dateProfile: s, dayTableModel: l, nextDayThreshold: e.nextDayThreshold, tableMinWidth: y.tableMinWidth, colGroupNode: y.tableColGroupNode, renderRowIntro: c ? this.renderTableRowAxis : null, showWeekNumbers: !1, expandRows: !1, headerAlignElRef: this.headerElRef, clientWidth: y.clientWidth, clientHeight: y.clientHeight, forPrint: i.forPrint }, this.getAllDayMaxEventProps()))), m = (y) => g(jf, Object.assign({}, o.timed, { dayTableModel: l, dateProfile: s, axis: c, slotDuration: e.slotDuration, slatMetas: a, forPrint: i.forPrint, tableColGroupNode: y.tableColGroupNode, tableMinWidth: y.tableMinWidth, clientWidth: y.clientWidth, clientHeight: y.clientHeight, onSlatCoords: this.handleSlatCoords, expandRows: y.expandRows, onScrollTopRequest: this.handleScrollTopRequest }));
|
|
8338
8330
|
return f ? this.renderHScrollLayout(h, u, m, l.colCnt, d, a, this.state.slatCoords) : this.renderSimpleLayout(h, u, m);
|
|
8339
8331
|
}
|
|
8340
8332
|
}
|
|
8341
|
-
function
|
|
8333
|
+
function qf(n, e) {
|
|
8342
8334
|
let t = new Rs(n.renderRange, e);
|
|
8343
8335
|
return new Ts(t, !1);
|
|
8344
8336
|
}
|
|
8345
|
-
var qf = '.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}';
|
|
8346
|
-
Tn(qf);
|
|
8347
8337
|
const Yf = {
|
|
8348
8338
|
allDaySlot: Boolean
|
|
8349
8339
|
};
|
|
@@ -8353,7 +8343,7 @@ var Qf = fe({
|
|
|
8353
8343
|
optionRefiners: Yf,
|
|
8354
8344
|
views: {
|
|
8355
8345
|
timeGrid: {
|
|
8356
|
-
component:
|
|
8346
|
+
component: Gf,
|
|
8357
8347
|
usesMinMaxTime: !0,
|
|
8358
8348
|
allDaySlot: !0,
|
|
8359
8349
|
slotDuration: "00:30:00",
|
|
@@ -8370,8 +8360,8 @@ var Qf = fe({
|
|
|
8370
8360
|
}
|
|
8371
8361
|
}
|
|
8372
8362
|
});
|
|
8373
|
-
|
|
8374
|
-
let
|
|
8363
|
+
Xn.touchMouseIgnoreWait = 500;
|
|
8364
|
+
let _n = 0, Ot = 0, Dn = !1;
|
|
8375
8365
|
class ol {
|
|
8376
8366
|
constructor(e) {
|
|
8377
8367
|
this.subjectEl = null, this.selector = "", this.handleSelector = "", this.shouldIgnoreMove = !1, this.shouldWatchScroll = !0, this.isDragging = !1, this.isTouchDragging = !1, this.wasTouchScroll = !1, this.handleMouseDown = (t) => {
|
|
@@ -8404,7 +8394,7 @@ class ol {
|
|
|
8404
8394
|
this.wasTouchScroll = !0;
|
|
8405
8395
|
}, this.handleScroll = (t) => {
|
|
8406
8396
|
if (!this.shouldIgnoreMove) {
|
|
8407
|
-
let r = window.
|
|
8397
|
+
let r = window.pageXOffset - this.prevScrollX + this.prevPageX, i = window.pageYOffset - this.prevScrollY + this.prevPageY;
|
|
8408
8398
|
this.emitter.trigger("pointermove", {
|
|
8409
8399
|
origEvent: t,
|
|
8410
8400
|
isTouch: this.isTouchDragging,
|
|
@@ -8415,7 +8405,7 @@ class ol {
|
|
|
8415
8405
|
deltaY: i - this.origPageY
|
|
8416
8406
|
});
|
|
8417
8407
|
}
|
|
8418
|
-
}, this.containerEl = e, this.emitter = new
|
|
8408
|
+
}, this.containerEl = e, this.emitter = new zt(), e.addEventListener("mousedown", this.handleMouseDown), e.addEventListener("touchstart", this.handleTouchStart, { passive: !0 }), Xf();
|
|
8419
8409
|
}
|
|
8420
8410
|
destroy() {
|
|
8421
8411
|
this.containerEl.removeEventListener("mousedown", this.handleMouseDown), this.containerEl.removeEventListener("touchstart", this.handleTouchStart, { passive: !0 }), Jf();
|
|
@@ -8425,17 +8415,17 @@ class ol {
|
|
|
8425
8415
|
return t && (!this.handleSelector || F(r, this.handleSelector)) ? (this.subjectEl = t, this.isDragging = !0, this.wasTouchScroll = !1, !0) : !1;
|
|
8426
8416
|
}
|
|
8427
8417
|
cleanup() {
|
|
8428
|
-
|
|
8418
|
+
Dn = !1, this.isDragging = !1, this.subjectEl = null, this.destroyScrollWatch();
|
|
8429
8419
|
}
|
|
8430
8420
|
querySubjectEl(e) {
|
|
8431
8421
|
return this.selector ? F(e.target, this.selector) : this.containerEl;
|
|
8432
8422
|
}
|
|
8433
8423
|
shouldIgnoreMouse() {
|
|
8434
|
-
return
|
|
8424
|
+
return _n || this.isTouchDragging;
|
|
8435
8425
|
}
|
|
8436
8426
|
// can be called by user of this class, to cancel touch-based scrolling for the current drag
|
|
8437
8427
|
cancelTouchScroll() {
|
|
8438
|
-
this.isDragging && (
|
|
8428
|
+
this.isDragging && (Dn = !0);
|
|
8439
8429
|
}
|
|
8440
8430
|
// Scrolling that simulates pointermoves
|
|
8441
8431
|
// ----------------------------------------------------------------------------------------------------
|
|
@@ -8443,7 +8433,7 @@ class ol {
|
|
|
8443
8433
|
this.shouldWatchScroll && (this.recordCoords(e), window.addEventListener("scroll", this.handleScroll, !0));
|
|
8444
8434
|
}
|
|
8445
8435
|
recordCoords(e) {
|
|
8446
|
-
this.shouldWatchScroll && (this.prevPageX = e.pageX, this.prevPageY = e.pageY, this.prevScrollX = window.
|
|
8436
|
+
this.shouldWatchScroll && (this.prevPageX = e.pageX, this.prevPageY = e.pageY, this.prevScrollX = window.pageXOffset, this.prevScrollY = window.pageYOffset);
|
|
8447
8437
|
}
|
|
8448
8438
|
destroyScrollWatch() {
|
|
8449
8439
|
this.shouldWatchScroll && window.removeEventListener("scroll", this.handleScroll, !0);
|
|
@@ -8479,9 +8469,9 @@ function $f(n) {
|
|
|
8479
8469
|
return n.button === 0 && !n.ctrlKey;
|
|
8480
8470
|
}
|
|
8481
8471
|
function Zf() {
|
|
8482
|
-
|
|
8483
|
-
|
|
8484
|
-
},
|
|
8472
|
+
_n += 1, setTimeout(() => {
|
|
8473
|
+
_n -= 1;
|
|
8474
|
+
}, Xn.touchMouseIgnoreWait);
|
|
8485
8475
|
}
|
|
8486
8476
|
function Xf() {
|
|
8487
8477
|
Ot += 1, Ot === 1 && window.addEventListener("touchmove", al, { passive: !1 });
|
|
@@ -8490,17 +8480,17 @@ function Jf() {
|
|
|
8490
8480
|
Ot -= 1, Ot || window.removeEventListener("touchmove", al, { passive: !1 });
|
|
8491
8481
|
}
|
|
8492
8482
|
function al(n) {
|
|
8493
|
-
|
|
8483
|
+
Dn && n.preventDefault();
|
|
8494
8484
|
}
|
|
8495
8485
|
class Kf {
|
|
8496
8486
|
constructor() {
|
|
8497
8487
|
this.isVisible = !1, this.sourceEl = null, this.mirrorEl = null, this.sourceElRect = null, this.parentNode = document.body, this.zIndex = 9999, this.revertDuration = 0;
|
|
8498
8488
|
}
|
|
8499
8489
|
start(e, t, r) {
|
|
8500
|
-
this.sourceEl = e, this.sourceElRect = this.sourceEl.getBoundingClientRect(), this.origScreenX = t - window.
|
|
8490
|
+
this.sourceEl = e, this.sourceElRect = this.sourceEl.getBoundingClientRect(), this.origScreenX = t - window.pageXOffset, this.origScreenY = r - window.pageYOffset, this.deltaX = 0, this.deltaY = 0, this.updateElPosition();
|
|
8501
8491
|
}
|
|
8502
8492
|
handleMove(e, t) {
|
|
8503
|
-
this.deltaX = e - window.
|
|
8493
|
+
this.deltaX = e - window.pageXOffset - this.origScreenX, this.deltaY = t - window.pageYOffset - this.origScreenY, this.updateElPosition();
|
|
8504
8494
|
}
|
|
8505
8495
|
// can be called before start
|
|
8506
8496
|
setIsVisible(e) {
|
|
@@ -8524,7 +8514,7 @@ class Kf {
|
|
|
8524
8514
|
});
|
|
8525
8515
|
}
|
|
8526
8516
|
cleanup() {
|
|
8527
|
-
this.mirrorEl && (
|
|
8517
|
+
this.mirrorEl && (kn(this.mirrorEl), this.mirrorEl = null), this.sourceEl = null;
|
|
8528
8518
|
}
|
|
8529
8519
|
updateElPosition() {
|
|
8530
8520
|
this.sourceEl && this.isVisible && Ye(this.getMirrorEl(), {
|
|
@@ -8534,7 +8524,7 @@ class Kf {
|
|
|
8534
8524
|
}
|
|
8535
8525
|
getMirrorEl() {
|
|
8536
8526
|
let e = this.sourceElRect, t = this.mirrorEl;
|
|
8537
|
-
return t || (t = this.mirrorEl = this.sourceEl.cloneNode(!0), t.style.userSelect = "none", t.style.webkitUserSelect = "none", t.
|
|
8527
|
+
return t || (t = this.mirrorEl = this.sourceEl.cloneNode(!0), t.style.userSelect = "none", t.style.webkitUserSelect = "none", t.classList.add("fc-event-dragging"), Ye(t, {
|
|
8538
8528
|
position: "fixed",
|
|
8539
8529
|
zIndex: this.zIndex,
|
|
8540
8530
|
visibility: "",
|
|
@@ -8547,7 +8537,7 @@ class Kf {
|
|
|
8547
8537
|
}), this.parentNode.appendChild(t)), t;
|
|
8548
8538
|
}
|
|
8549
8539
|
}
|
|
8550
|
-
class cl extends
|
|
8540
|
+
class cl extends $n {
|
|
8551
8541
|
constructor(e, t) {
|
|
8552
8542
|
super(), this.handleScroll = () => {
|
|
8553
8543
|
this.scrollTop = this.scrollController.getScrollTop(), this.scrollLeft = this.scrollController.getScrollLeft(), this.handleScrollChange();
|
|
@@ -8620,7 +8610,7 @@ class th {
|
|
|
8620
8610
|
constructor() {
|
|
8621
8611
|
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 = () => {
|
|
8622
8612
|
if (this.isAnimating) {
|
|
8623
|
-
let e = this.computeBestEdge(this.pointerScreenX + window.
|
|
8613
|
+
let e = this.computeBestEdge(this.pointerScreenX + window.pageXOffset, this.pointerScreenY + window.pageYOffset);
|
|
8624
8614
|
if (e) {
|
|
8625
8615
|
let t = pi();
|
|
8626
8616
|
this.handleSide(e, (t - this.msSinceRequest) / 1e3), this.requestAnimation(t);
|
|
@@ -8634,7 +8624,7 @@ class th {
|
|
|
8634
8624
|
}
|
|
8635
8625
|
handleMove(e, t) {
|
|
8636
8626
|
if (this.isEnabled) {
|
|
8637
|
-
let r = e - window.
|
|
8627
|
+
let r = e - window.pageXOffset, i = t - window.pageYOffset, s = this.pointerScreenY === null ? 0 : i - this.pointerScreenY, l = this.pointerScreenX === null ? 0 : r - this.pointerScreenX;
|
|
8638
8628
|
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(pi()));
|
|
8639
8629
|
}
|
|
8640
8630
|
}
|
|
@@ -8687,7 +8677,7 @@ class th {
|
|
|
8687
8677
|
return t;
|
|
8688
8678
|
}
|
|
8689
8679
|
}
|
|
8690
|
-
class rt extends
|
|
8680
|
+
class rt extends Oc {
|
|
8691
8681
|
constructor(e, t) {
|
|
8692
8682
|
super(e), this.containerEl = e, this.delay = null, this.minDistance = 0, this.touchScrollAllowed = !0, this.mirrorNeedsRevert = !1, this.isInteracting = !1, this.isDragging = !1, this.isDelayEnded = !1, this.isDistanceSurpassed = !1, this.delayTimeoutId = null, this.onPointerDown = (i) => {
|
|
8693
8683
|
this.isDragging || (this.isInteracting = !0, this.isDelayEnded = !1, this.isDistanceSurpassed = !1, so(document.body), oo(document.body), i.isTouch || i.origEvent.preventDefault(), this.emitter.trigger("pointerdown", i), this.isInteracting && // not destroyed via pointerdown handler
|
|
@@ -8745,7 +8735,7 @@ class rt extends Nc {
|
|
|
8745
8735
|
}
|
|
8746
8736
|
class nh {
|
|
8747
8737
|
constructor(e) {
|
|
8748
|
-
this.
|
|
8738
|
+
this.origRect = Qn(e), this.scrollCaches = As(e).map((t) => new dl(t, !0));
|
|
8749
8739
|
}
|
|
8750
8740
|
destroy() {
|
|
8751
8741
|
for (let e of this.scrollCaches)
|
|
@@ -8775,9 +8765,9 @@ function rh(n) {
|
|
|
8775
8765
|
let e = n.tagName;
|
|
8776
8766
|
return e === "HTML" || e === "BODY";
|
|
8777
8767
|
}
|
|
8778
|
-
class
|
|
8768
|
+
class Ut {
|
|
8779
8769
|
constructor(e, t) {
|
|
8780
|
-
this.useSubjectCenter = !1, this.requireInitial = !0, this.
|
|
8770
|
+
this.useSubjectCenter = !1, this.requireInitial = !0, this.initialHit = null, this.movingHit = null, this.finalHit = null, this.handlePointerDown = (r) => {
|
|
8781
8771
|
let { dragging: i } = this;
|
|
8782
8772
|
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);
|
|
8783
8773
|
}, this.handleDragStart = (r) => {
|
|
@@ -8788,13 +8778,13 @@ class jt {
|
|
|
8788
8778
|
this.releaseHits(), this.emitter.trigger("pointerup", r);
|
|
8789
8779
|
}, this.handleDragEnd = (r) => {
|
|
8790
8780
|
this.movingHit && this.emitter.trigger("hitupdate", null, !0, r), this.finalHit = this.movingHit, this.movingHit = null, this.emitter.trigger("dragend", r);
|
|
8791
|
-
}, this.droppableStore = t, 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
|
|
8781
|
+
}, this.droppableStore = t, 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 zt();
|
|
8792
8782
|
}
|
|
8793
8783
|
// sets initialHit
|
|
8794
8784
|
// sets coordAdjust
|
|
8795
8785
|
processFirstCoord(e) {
|
|
8796
8786
|
let t = { left: e.pageX, top: e.pageY }, r = t, i = e.subjectEl, s;
|
|
8797
|
-
i instanceof HTMLElement && (s =
|
|
8787
|
+
i instanceof HTMLElement && (s = Qn(i), r = pc(r, s));
|
|
8798
8788
|
let l = this.initialHit = this.queryHitForOffset(r.left, r.top);
|
|
8799
8789
|
if (l) {
|
|
8800
8790
|
if (this.useSubjectCenter && s) {
|
|
@@ -8807,7 +8797,7 @@ class jt {
|
|
|
8807
8797
|
}
|
|
8808
8798
|
handleMove(e, t) {
|
|
8809
8799
|
let r = this.queryHitForOffset(e.pageX + this.coordAdjust.left, e.pageY + this.coordAdjust.top);
|
|
8810
|
-
(t || !
|
|
8800
|
+
(t || !jt(this.movingHit, r)) && (this.movingHit = r, this.emitter.trigger("hitupdate", r, !1, e));
|
|
8811
8801
|
}
|
|
8812
8802
|
prepareHits() {
|
|
8813
8803
|
this.offsetTrackers = ce(this.droppableStore, (e) => (e.component.prepareHits(), new nh(e.el)));
|
|
@@ -8831,21 +8821,14 @@ class jt {
|
|
|
8831
8821
|
) {
|
|
8832
8822
|
let b = o.queryHit(f, h, m, y);
|
|
8833
8823
|
b && // make sure the hit is within activeRange, meaning it's not a dead cell
|
|
8834
|
-
|
|
8835
|
-
// Prevents obscured calendars (ex: under a modal dialog) from accepting hit
|
|
8836
|
-
// https://github.com/fullcalendar/fullcalendar/issues/5026
|
|
8837
|
-
(this.disablePointCheck || a.el.contains(document.elementFromPoint(
|
|
8838
|
-
// add-back origins to get coordinate relative to top-left of window viewport
|
|
8839
|
-
f + d - window.scrollX,
|
|
8840
|
-
h + c - window.scrollY
|
|
8841
|
-
))) && (!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);
|
|
8824
|
+
Bt(b.dateProfile.activeRange, b.dateSpan.range) && (!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);
|
|
8842
8825
|
}
|
|
8843
8826
|
}
|
|
8844
8827
|
}
|
|
8845
8828
|
return s;
|
|
8846
8829
|
}
|
|
8847
8830
|
}
|
|
8848
|
-
function
|
|
8831
|
+
function jt(n, e) {
|
|
8849
8832
|
return !n && !e ? !0 : !!n != !!e ? !1 : ic(n.dateSpan, e.dateSpan);
|
|
8850
8833
|
}
|
|
8851
8834
|
function ul(n, e) {
|
|
@@ -8870,13 +8853,13 @@ class sh extends We {
|
|
|
8870
8853
|
let { component: i } = this, { pointer: s } = this.dragging;
|
|
8871
8854
|
if (!s.wasTouchScroll) {
|
|
8872
8855
|
let { initialHit: l, finalHit: o } = this.hitDragging;
|
|
8873
|
-
if (l && o &&
|
|
8856
|
+
if (l && o && jt(l, o)) {
|
|
8874
8857
|
let { context: a } = i, d = Object.assign(Object.assign({}, ul(l.dateSpan, a)), { dayEl: l.dayEl, jsEvent: r.origEvent, view: a.viewApi || a.calendarApi.view });
|
|
8875
8858
|
a.emitter.trigger("dateClick", d);
|
|
8876
8859
|
}
|
|
8877
8860
|
}
|
|
8878
8861
|
}, this.dragging = new rt(e.el), this.dragging.autoScroller.isEnabled = !1;
|
|
8879
|
-
let t = this.hitDragging = new
|
|
8862
|
+
let t = this.hitDragging = new Ut(this.dragging, qn(e));
|
|
8880
8863
|
t.emitter.on("pointerdown", this.handlePointerDown), t.emitter.on("dragend", this.handleDragEnd);
|
|
8881
8864
|
}
|
|
8882
8865
|
destroy() {
|
|
@@ -8896,13 +8879,13 @@ class lh extends We {
|
|
|
8896
8879
|
let f = this.hitDragging.initialHit;
|
|
8897
8880
|
l.componentId === f.componentId && this.isHitComboAllowed && !this.isHitComboAllowed(f, l) || (d = ah(f, l, a.pluginHooks.dateSelectionTransformers)), (!d || !zc(d, l.dateProfile, a)) && (c = !0, d = null);
|
|
8898
8881
|
}
|
|
8899
|
-
d ? a.dispatch({ type: "SELECT_DATES", selection: d }) : o || a.dispatch({ type: "UNSELECT_DATES" }), c ?
|
|
8882
|
+
d ? a.dispatch({ type: "SELECT_DATES", selection: d }) : o || a.dispatch({ type: "UNSELECT_DATES" }), c ? xn() : Mn(), o || (this.dragSelection = d);
|
|
8900
8883
|
}, this.handlePointerUp = (l) => {
|
|
8901
8884
|
this.dragSelection && (cs(this.dragSelection, l, this.component.context), this.dragSelection = null);
|
|
8902
8885
|
};
|
|
8903
8886
|
let { component: t } = e, { options: r } = t.context, i = this.dragging = new rt(e.el);
|
|
8904
8887
|
i.touchScrollAllowed = !1, i.minDistance = r.selectMinDistance || 0, i.autoScroller.isEnabled = r.dragScroll;
|
|
8905
|
-
let s = this.hitDragging = new
|
|
8888
|
+
let s = this.hitDragging = new Ut(this.dragging, qn(e));
|
|
8906
8889
|
s.emitter.on("pointerdown", this.handlePointerDown), s.emitter.on("dragstart", this.handleDragStart), s.emitter.on("hitupdate", this.handleHitUpdate), s.emitter.on("pointerup", this.handlePointerUp);
|
|
8907
8890
|
}
|
|
8908
8891
|
destroy() {
|
|
@@ -8936,7 +8919,7 @@ class it extends We {
|
|
|
8936
8919
|
let o = l.origEvent.target, { component: a, dragging: d } = this, { mirror: c } = d, { options: f } = a.context, h = a.context;
|
|
8937
8920
|
this.subjectEl = l.subjectEl;
|
|
8938
8921
|
let u = this.subjectSeg = Ve(l.subjectEl), y = (this.eventRange = u.eventRange).instance.instanceId;
|
|
8939
|
-
this.relevantEvents =
|
|
8922
|
+
this.relevantEvents = Vn(h.getCurrentData().eventStore, y), d.minDistance = l.isTouch ? 0 : f.eventDragMinDistance, d.delay = // only do a touch delay if touch and this event hasn't been selected yet
|
|
8940
8923
|
l.isTouch && y !== a.props.eventSelection ? dh(a) : null, f.fixedMirrorParent ? c.parentNode = f.fixedMirrorParent : c.parentNode = F(o, ".fc"), c.revertDuration = f.dragRevertDuration;
|
|
8941
8924
|
let b = a.isValidSegDownEl(o) && !F(o, ".fc-event-resizer");
|
|
8942
8925
|
d.setIgnoreMove(!b), this.isDragging = b && l.subjectEl.classList.contains("fc-event-draggable");
|
|
@@ -8959,10 +8942,10 @@ class it extends We {
|
|
|
8959
8942
|
if (l) {
|
|
8960
8943
|
f = l.context;
|
|
8961
8944
|
let b = f.options;
|
|
8962
|
-
c === f || b.editable && b.droppable ? (h = ch(d, l,
|
|
8945
|
+
c === f || b.editable && b.droppable ? (h = ch(d, l, f.getCurrentData().pluginHooks.eventDragMutationMassagers), h && (u = Gn(a, f.getCurrentData().eventUiBases, h, f), y.mutatedEvents = u, xs(y, l.dateProfile, f) || (m = !0, h = null, u = null, y.mutatedEvents = $()))) : f = null;
|
|
8963
8946
|
}
|
|
8964
|
-
this.displayDrag(f, y), m ?
|
|
8965
|
-
|
|
8947
|
+
this.displayDrag(f, y), m ? xn() : Mn(), o || (c === f && // TODO: write test for this
|
|
8948
|
+
jt(d, l) && (h = null), this.dragging.setMirrorNeedsRevert(!h), this.dragging.setMirrorIsVisible(!l || !this.subjectEl.getRootNode().querySelector(".fc-event-mirror")), this.receivingContext = f, this.validMutation = h, this.mutatedRelevantEvents = u);
|
|
8966
8949
|
}, this.handlePointerUp = () => {
|
|
8967
8950
|
this.isDragging || this.cleanup();
|
|
8968
8951
|
}, this.handleDragEnd = (l) => {
|
|
@@ -9015,7 +8998,7 @@ class it extends We {
|
|
|
9015
8998
|
type: "MERGE_EVENTS",
|
|
9016
8999
|
eventStore: y
|
|
9017
9000
|
});
|
|
9018
|
-
let
|
|
9001
|
+
let H = {
|
|
9019
9002
|
event: C,
|
|
9020
9003
|
relatedEvents: Ce(y, d, A),
|
|
9021
9004
|
revert() {
|
|
@@ -9025,10 +9008,10 @@ class it extends We {
|
|
|
9025
9008
|
});
|
|
9026
9009
|
}
|
|
9027
9010
|
};
|
|
9028
|
-
d.emitter.trigger("eventAdd",
|
|
9011
|
+
d.emitter.trigger("eventAdd", H), l.isTouch && d.dispatch({
|
|
9029
9012
|
type: "SELECT_EVENT",
|
|
9030
9013
|
eventInstanceId: h.instanceId
|
|
9031
|
-
}), d.emitter.trigger("drop", Object.assign(Object.assign({}, ul(b.dateSpan, d)), { draggedEl: l.subjectEl, jsEvent: l.origEvent, view: b.context.viewApi })), d.emitter.trigger("eventReceive", Object.assign(Object.assign({},
|
|
9014
|
+
}), d.emitter.trigger("drop", Object.assign(Object.assign({}, ul(b.dateSpan, d)), { draggedEl: l.subjectEl, jsEvent: l.origEvent, view: b.context.viewApi })), d.emitter.trigger("eventReceive", Object.assign(Object.assign({}, H), { draggedEl: l.subjectEl, view: b.context.viewApi }));
|
|
9032
9015
|
}
|
|
9033
9016
|
} else
|
|
9034
9017
|
o.emitter.trigger("_noEventDrop");
|
|
@@ -9037,7 +9020,7 @@ class it extends We {
|
|
|
9037
9020
|
};
|
|
9038
9021
|
let { component: t } = this, { options: r } = t.context, i = this.dragging = new rt(e.el);
|
|
9039
9022
|
i.pointer.selector = it.SELECTOR, i.touchScrollAllowed = !1, i.autoScroller.isEnabled = r.dragScroll;
|
|
9040
|
-
let s = this.hitDragging = new
|
|
9023
|
+
let s = this.hitDragging = new Ut(this.dragging, yn);
|
|
9041
9024
|
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);
|
|
9042
9025
|
}
|
|
9043
9026
|
destroy() {
|
|
@@ -9064,18 +9047,18 @@ class it extends We {
|
|
|
9064
9047
|
}
|
|
9065
9048
|
}
|
|
9066
9049
|
it.SELECTOR = ".fc-event-draggable, .fc-event-resizable";
|
|
9067
|
-
function ch(n, e, t
|
|
9068
|
-
let
|
|
9069
|
-
|
|
9070
|
-
let
|
|
9071
|
-
|
|
9072
|
-
let
|
|
9073
|
-
datesDelta:
|
|
9074
|
-
standardProps:
|
|
9050
|
+
function ch(n, e, t) {
|
|
9051
|
+
let r = n.dateSpan, i = e.dateSpan, s = r.range.start, l = i.range.start, o = {};
|
|
9052
|
+
r.allDay !== i.allDay && (o.allDay = i.allDay, o.hasEnd = e.context.options.allDayMaintainDuration, i.allDay && (s = P(s)));
|
|
9053
|
+
let a = Pe(s, l, n.context.dateEnv, n.componentId === e.componentId ? n.largeUnit : null);
|
|
9054
|
+
a.milliseconds && (o.allDay = !1);
|
|
9055
|
+
let d = {
|
|
9056
|
+
datesDelta: a,
|
|
9057
|
+
standardProps: o
|
|
9075
9058
|
};
|
|
9076
|
-
for (let
|
|
9077
|
-
|
|
9078
|
-
return
|
|
9059
|
+
for (let c of t)
|
|
9060
|
+
c(d, n, e);
|
|
9061
|
+
return d;
|
|
9079
9062
|
}
|
|
9080
9063
|
function dh(n) {
|
|
9081
9064
|
let { options: e } = n.context, t = e.eventLongPressDelay;
|
|
@@ -9088,7 +9071,7 @@ class uh extends We {
|
|
|
9088
9071
|
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);
|
|
9089
9072
|
}, this.handleDragStart = (s) => {
|
|
9090
9073
|
let { context: l } = this.component, o = this.eventRange;
|
|
9091
|
-
this.relevantEvents =
|
|
9074
|
+
this.relevantEvents = Vn(l.getCurrentData().eventStore, this.eventRange.instance.instanceId);
|
|
9092
9075
|
let a = this.querySegEl(s);
|
|
9093
9076
|
this.draggingSegEl = a, this.draggingSeg = Ve(a), l.calendarApi.unselect(), l.emitter.trigger("eventResizeStart", {
|
|
9094
9077
|
el: a,
|
|
@@ -9102,10 +9085,10 @@ class uh extends We {
|
|
|
9102
9085
|
mutatedEvents: $(),
|
|
9103
9086
|
isEvent: !0
|
|
9104
9087
|
};
|
|
9105
|
-
s && (s.componentId === c.componentId && this.isHitComboAllowed && !this.isHitComboAllowed(c, s) || (h = fh(c, s, o.subjectEl.classList.contains("fc-event-resizer-start"), f.range))), h && (u =
|
|
9088
|
+
s && (s.componentId === c.componentId && this.isHitComboAllowed && !this.isHitComboAllowed(c, s) || (h = fh(c, s, o.subjectEl.classList.contains("fc-event-resizer-start"), f.range))), h && (u = Gn(d, a.getCurrentData().eventUiBases, h, a), y.mutatedEvents = u, xs(y, s.dateProfile, a) || (m = !0, h = null, u = null, y.mutatedEvents = null)), u ? a.dispatch({
|
|
9106
9089
|
type: "SET_EVENT_RESIZE",
|
|
9107
9090
|
state: y
|
|
9108
|
-
}) : a.dispatch({ type: "UNSET_EVENT_RESIZE" }), m ?
|
|
9091
|
+
}) : a.dispatch({ type: "UNSET_EVENT_RESIZE" }), m ? xn() : Mn(), l || (h && jt(c, s) && (h = null), this.validMutation = h, this.mutatedRelevantEvents = u);
|
|
9109
9092
|
}, this.handleDragEnd = (s) => {
|
|
9110
9093
|
let { context: l } = this.component, o = this.eventRange.def, a = this.eventRange.instance, d = new z(l, o, a), c = this.relevantEvents, f = this.mutatedRelevantEvents;
|
|
9111
9094
|
if (l.emitter.trigger("eventResizeStop", {
|
|
@@ -9138,7 +9121,7 @@ class uh extends We {
|
|
|
9138
9121
|
};
|
|
9139
9122
|
let { component: t } = e, r = this.dragging = new rt(e.el);
|
|
9140
9123
|
r.pointer.selector = ".fc-event-resizer", r.touchScrollAllowed = !1, r.autoScroller.isEnabled = t.context.options.dragScroll;
|
|
9141
|
-
let i = this.hitDragging = new
|
|
9124
|
+
let i = this.hitDragging = new Ut(this.dragging, qn(e));
|
|
9142
9125
|
i.emitter.on("pointerdown", this.handlePointerDown), i.emitter.on("dragstart", this.handleDragStart), i.emitter.on("hitupdate", this.handleHitUpdate), i.emitter.on("dragend", this.handleDragEnd);
|
|
9143
9126
|
}
|
|
9144
9127
|
destroy() {
|
|
@@ -9149,7 +9132,7 @@ class uh extends We {
|
|
|
9149
9132
|
}
|
|
9150
9133
|
}
|
|
9151
9134
|
function fh(n, e, t, r) {
|
|
9152
|
-
let i = n.context.dateEnv, s = n.dateSpan.range.start, l = e.dateSpan.range.start, o =
|
|
9135
|
+
let i = n.context.dateEnv, s = n.dateSpan.range.start, l = e.dateSpan.range.start, o = Pe(s, l, i, n.largeUnit);
|
|
9153
9136
|
if (t) {
|
|
9154
9137
|
if (i.add(r.start, o) < r.end)
|
|
9155
9138
|
return { startDelta: o };
|
|
@@ -9198,7 +9181,7 @@ const gh = {
|
|
|
9198
9181
|
eventReceive: v,
|
|
9199
9182
|
eventLeave: v
|
|
9200
9183
|
};
|
|
9201
|
-
|
|
9184
|
+
Xn.dataAttrPrefix = "";
|
|
9202
9185
|
var mh = fe({
|
|
9203
9186
|
name: "@fullcalendar/interaction",
|
|
9204
9187
|
componentInteractions: [sh, lh, it, uh],
|
|
@@ -9212,11 +9195,11 @@ var vh = /* @__PURE__ */ ee({
|
|
|
9212
9195
|
name: "ArrowLeft",
|
|
9213
9196
|
__name: "arrow-left",
|
|
9214
9197
|
setup(n) {
|
|
9215
|
-
return (e, t) => (
|
|
9198
|
+
return (e, t) => (O(), L("svg", {
|
|
9216
9199
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9217
9200
|
viewBox: "0 0 1024 1024"
|
|
9218
9201
|
}, [
|
|
9219
|
-
|
|
9202
|
+
N("path", {
|
|
9220
9203
|
fill: "currentColor",
|
|
9221
9204
|
d: "M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"
|
|
9222
9205
|
})
|
|
@@ -9226,11 +9209,11 @@ var vh = /* @__PURE__ */ ee({
|
|
|
9226
9209
|
name: "ArrowRight",
|
|
9227
9210
|
__name: "arrow-right",
|
|
9228
9211
|
setup(n) {
|
|
9229
|
-
return (e, t) => (
|
|
9212
|
+
return (e, t) => (O(), L("svg", {
|
|
9230
9213
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9231
9214
|
viewBox: "0 0 1024 1024"
|
|
9232
9215
|
}, [
|
|
9233
|
-
|
|
9216
|
+
N("path", {
|
|
9234
9217
|
fill: "currentColor",
|
|
9235
9218
|
d: "M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"
|
|
9236
9219
|
})
|
|
@@ -9240,11 +9223,11 @@ var vh = /* @__PURE__ */ ee({
|
|
|
9240
9223
|
name: "Calendar",
|
|
9241
9224
|
__name: "calendar",
|
|
9242
9225
|
setup(n) {
|
|
9243
|
-
return (e, t) => (
|
|
9226
|
+
return (e, t) => (O(), L("svg", {
|
|
9244
9227
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9245
9228
|
viewBox: "0 0 1024 1024"
|
|
9246
9229
|
}, [
|
|
9247
|
-
|
|
9230
|
+
N("path", {
|
|
9248
9231
|
fill: "currentColor",
|
|
9249
9232
|
d: "M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"
|
|
9250
9233
|
})
|
|
@@ -9254,19 +9237,19 @@ var vh = /* @__PURE__ */ ee({
|
|
|
9254
9237
|
name: "Clock",
|
|
9255
9238
|
__name: "clock",
|
|
9256
9239
|
setup(n) {
|
|
9257
|
-
return (e, t) => (
|
|
9240
|
+
return (e, t) => (O(), L("svg", {
|
|
9258
9241
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9259
9242
|
viewBox: "0 0 1024 1024"
|
|
9260
9243
|
}, [
|
|
9261
|
-
|
|
9244
|
+
N("path", {
|
|
9262
9245
|
fill: "currentColor",
|
|
9263
9246
|
d: "M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"
|
|
9264
9247
|
}),
|
|
9265
|
-
|
|
9248
|
+
N("path", {
|
|
9266
9249
|
fill: "currentColor",
|
|
9267
9250
|
d: "M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"
|
|
9268
9251
|
}),
|
|
9269
|
-
|
|
9252
|
+
N("path", {
|
|
9270
9253
|
fill: "currentColor",
|
|
9271
9254
|
d: "M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"
|
|
9272
9255
|
})
|
|
@@ -9276,11 +9259,11 @@ var vh = /* @__PURE__ */ ee({
|
|
|
9276
9259
|
name: "DeleteFilled",
|
|
9277
9260
|
__name: "delete-filled",
|
|
9278
9261
|
setup(n) {
|
|
9279
|
-
return (e, t) => (
|
|
9262
|
+
return (e, t) => (O(), L("svg", {
|
|
9280
9263
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9281
9264
|
viewBox: "0 0 1024 1024"
|
|
9282
9265
|
}, [
|
|
9283
|
-
|
|
9266
|
+
N("path", {
|
|
9284
9267
|
fill: "currentColor",
|
|
9285
9268
|
d: "M352 192V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64H96a32 32 0 0 1 0-64zm64 0h192v-64H416zM192 960a32 32 0 0 1-32-32V256h704v672a32 32 0 0 1-32 32zm224-192a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32m192 0a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32"
|
|
9286
9269
|
})
|
|
@@ -9290,11 +9273,11 @@ var vh = /* @__PURE__ */ ee({
|
|
|
9290
9273
|
name: "Document",
|
|
9291
9274
|
__name: "document",
|
|
9292
9275
|
setup(n) {
|
|
9293
|
-
return (e, t) => (
|
|
9276
|
+
return (e, t) => (O(), L("svg", {
|
|
9294
9277
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9295
9278
|
viewBox: "0 0 1024 1024"
|
|
9296
9279
|
}, [
|
|
9297
|
-
|
|
9280
|
+
N("path", {
|
|
9298
9281
|
fill: "currentColor",
|
|
9299
9282
|
d: "M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"
|
|
9300
9283
|
})
|
|
@@ -9307,13 +9290,13 @@ const kh = { class: "ik-full-calendar" }, xh = ["onClick"], Mh = {
|
|
|
9307
9290
|
}, Ih = {
|
|
9308
9291
|
key: 0,
|
|
9309
9292
|
class: "event-title-time"
|
|
9310
|
-
},
|
|
9293
|
+
}, Oh = {
|
|
9311
9294
|
key: 1,
|
|
9312
9295
|
class: "event-title no-allday"
|
|
9313
|
-
},
|
|
9296
|
+
}, Nh = { class: "event-title-time" }, Hh = { class: "event-title-text" }, Ph = {
|
|
9314
9297
|
name: "IkFullCalendar"
|
|
9315
9298
|
}, Bh = /* @__PURE__ */ ee({
|
|
9316
|
-
...
|
|
9299
|
+
...Ph,
|
|
9317
9300
|
props: {
|
|
9318
9301
|
options: { default: {} },
|
|
9319
9302
|
removable: { type: Boolean, default: !0 },
|
|
@@ -9351,7 +9334,7 @@ const kh = { class: "ik-full-calendar" }, xh = ["onClick"], Mh = {
|
|
|
9351
9334
|
select: d,
|
|
9352
9335
|
...r.options,
|
|
9353
9336
|
events: i.value
|
|
9354
|
-
}), u =
|
|
9337
|
+
}), u = on({
|
|
9355
9338
|
timeType: "month",
|
|
9356
9339
|
options: h()
|
|
9357
9340
|
}), m = qe(null), y = () => {
|
|
@@ -9400,8 +9383,8 @@ const kh = { class: "ik-full-calendar" }, xh = ["onClick"], Mh = {
|
|
|
9400
9383
|
return vi(() => {
|
|
9401
9384
|
E();
|
|
9402
9385
|
}), (p, A) => {
|
|
9403
|
-
const C = G("el-tooltip"),
|
|
9404
|
-
return
|
|
9386
|
+
const C = G("el-tooltip"), H = G("el-icon");
|
|
9387
|
+
return O(), L("div", kh, [
|
|
9405
9388
|
T(J(Mu), {
|
|
9406
9389
|
ref_key: "_ref",
|
|
9407
9390
|
ref: l,
|
|
@@ -9409,7 +9392,7 @@ const kh = { class: "ik-full-calendar" }, xh = ["onClick"], Mh = {
|
|
|
9409
9392
|
style: { height: "100%" }
|
|
9410
9393
|
}, {
|
|
9411
9394
|
eventContent: M((R) => [
|
|
9412
|
-
|
|
9395
|
+
N("div", {
|
|
9413
9396
|
class: "title-line",
|
|
9414
9397
|
onClick: (x) => c(R)
|
|
9415
9398
|
}, [
|
|
@@ -9429,26 +9412,26 @@ const kh = { class: "ik-full-calendar" }, xh = ["onClick"], Mh = {
|
|
|
9429
9412
|
];
|
|
9430
9413
|
}),
|
|
9431
9414
|
default: M(() => [
|
|
9432
|
-
R.event.allDay ? (
|
|
9433
|
-
a.value === "dayGridMonth" ? (
|
|
9434
|
-
|
|
9415
|
+
R.event.allDay ? (O(), L("span", Mh, [
|
|
9416
|
+
a.value === "dayGridMonth" ? (O(), L("span", Ih, he("(全天)"))) : Be("v-if", !0),
|
|
9417
|
+
N(
|
|
9435
9418
|
"span",
|
|
9436
9419
|
null,
|
|
9437
9420
|
he(R.event.title),
|
|
9438
9421
|
1
|
|
9439
9422
|
/* TEXT */
|
|
9440
9423
|
)
|
|
9441
|
-
])) : (
|
|
9442
|
-
|
|
9424
|
+
])) : (O(), L("span", Oh, [
|
|
9425
|
+
N(
|
|
9443
9426
|
"span",
|
|
9444
|
-
|
|
9427
|
+
Nh,
|
|
9445
9428
|
he(J(X).toDateTime(R.event.startStr, "HH:mm")),
|
|
9446
9429
|
1
|
|
9447
9430
|
/* TEXT */
|
|
9448
9431
|
),
|
|
9449
|
-
|
|
9432
|
+
N(
|
|
9450
9433
|
"span",
|
|
9451
|
-
|
|
9434
|
+
Hh,
|
|
9452
9435
|
he(R.event.title),
|
|
9453
9436
|
1
|
|
9454
9437
|
/* TEXT */
|
|
@@ -9461,7 +9444,7 @@ const kh = { class: "ik-full-calendar" }, xh = ["onClick"], Mh = {
|
|
|
9461
9444
|
1024
|
|
9462
9445
|
/* DYNAMIC_SLOTS */
|
|
9463
9446
|
),
|
|
9464
|
-
r.removable ? (
|
|
9447
|
+
r.removable ? (O(), Ze(H, {
|
|
9465
9448
|
key: 0,
|
|
9466
9449
|
size: 16,
|
|
9467
9450
|
onClick: yl((x) => f(R), ["stop"])
|
|
@@ -9481,12 +9464,12 @@ const kh = { class: "ik-full-calendar" }, xh = ["onClick"], Mh = {
|
|
|
9481
9464
|
};
|
|
9482
9465
|
}
|
|
9483
9466
|
});
|
|
9484
|
-
const
|
|
9467
|
+
const sr = (n, e) => {
|
|
9485
9468
|
const t = n.__vccOpts || n;
|
|
9486
9469
|
for (const [r, i] of e)
|
|
9487
9470
|
t[r] = i;
|
|
9488
9471
|
return t;
|
|
9489
|
-
}, Lh = /* @__PURE__ */
|
|
9472
|
+
}, Lh = /* @__PURE__ */ sr(Bh, [["__scopeId", "data-v-f0925ff8"]]), zh = wn(Lh), Uh = {
|
|
9490
9473
|
key: 0,
|
|
9491
9474
|
class: "ik-svg-icon ik-icon-span inline-block inline-flex justify-center box-content line-height-[0]"
|
|
9492
9475
|
}, jh = {
|
|
@@ -9557,12 +9540,12 @@ const lr = (n, e) => {
|
|
|
9557
9540
|
});
|
|
9558
9541
|
return (s, l) => {
|
|
9559
9542
|
const o = G("el-tooltip"), a = G("el-button");
|
|
9560
|
-
return t.value.tableIconType === "icon" || !t.value.tableIconType ? (
|
|
9561
|
-
t.value.notip || !t.value.title ? (
|
|
9543
|
+
return t.value.tableIconType === "icon" || !t.value.tableIconType ? (O(), L("span", Uh, [
|
|
9544
|
+
t.value.notip || !t.value.title ? (O(), L(
|
|
9562
9545
|
"i",
|
|
9563
9546
|
{
|
|
9564
9547
|
key: 0,
|
|
9565
|
-
class:
|
|
9548
|
+
class: Ne(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
9566
9549
|
[s.name]: r.value === "unocss",
|
|
9567
9550
|
"show-bg": t.value.showBg || t.value.bg,
|
|
9568
9551
|
default: t.value.size === "default",
|
|
@@ -9579,29 +9562,29 @@ const lr = (n, e) => {
|
|
|
9579
9562
|
},
|
|
9580
9563
|
[
|
|
9581
9564
|
Be(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
|
|
9582
|
-
r.value === "iksig" ? (
|
|
9565
|
+
r.value === "iksig" ? (O(), L(
|
|
9583
9566
|
"i",
|
|
9584
9567
|
{
|
|
9585
9568
|
key: 0,
|
|
9586
|
-
class:
|
|
9569
|
+
class: Ne(`iksig ${t.value.name}`),
|
|
9587
9570
|
style: Se(i.value)
|
|
9588
9571
|
},
|
|
9589
9572
|
null,
|
|
9590
9573
|
6
|
|
9591
9574
|
/* CLASS, STYLE */
|
|
9592
|
-
)) : r.value === "svg" ? (
|
|
9593
|
-
|
|
9575
|
+
)) : r.value === "svg" ? (O(), L("svg", jh, [
|
|
9576
|
+
N("use", {
|
|
9594
9577
|
"xlink:href": `#${t.value.name}`
|
|
9595
9578
|
}, null, 8, Vh)
|
|
9596
|
-
])) : r.value === "img" ? (
|
|
9579
|
+
])) : r.value === "img" ? (O(), L("img", {
|
|
9597
9580
|
key: 2,
|
|
9598
9581
|
src: t.value.name,
|
|
9599
9582
|
class: "h-[1em] w-[1em]"
|
|
9600
|
-
}, null, 8, Fh)) : (
|
|
9583
|
+
}, null, 8, Fh)) : (O(), L(
|
|
9601
9584
|
"i",
|
|
9602
9585
|
{
|
|
9603
9586
|
key: 3,
|
|
9604
|
-
class:
|
|
9587
|
+
class: Ne(t.value.name),
|
|
9605
9588
|
style: Se(i.value)
|
|
9606
9589
|
},
|
|
9607
9590
|
null,
|
|
@@ -9611,16 +9594,16 @@ const lr = (n, e) => {
|
|
|
9611
9594
|
],
|
|
9612
9595
|
6
|
|
9613
9596
|
/* CLASS, STYLE */
|
|
9614
|
-
)) : (
|
|
9597
|
+
)) : (O(), Ze(o, {
|
|
9615
9598
|
key: 1,
|
|
9616
9599
|
content: t.value.title,
|
|
9617
9600
|
placement: "top"
|
|
9618
9601
|
}, {
|
|
9619
9602
|
default: M(() => [
|
|
9620
|
-
|
|
9603
|
+
N(
|
|
9621
9604
|
"i",
|
|
9622
9605
|
{
|
|
9623
|
-
class:
|
|
9606
|
+
class: Ne(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
9624
9607
|
[s.name]: r.value === "unocss",
|
|
9625
9608
|
"show-bg": t.value.showBg || t.value.bg,
|
|
9626
9609
|
default: t.value.size === "default",
|
|
@@ -9635,29 +9618,29 @@ const lr = (n, e) => {
|
|
|
9635
9618
|
style: Se(i.value)
|
|
9636
9619
|
},
|
|
9637
9620
|
[
|
|
9638
|
-
r.value === "iksig" ? (
|
|
9621
|
+
r.value === "iksig" ? (O(), L(
|
|
9639
9622
|
"i",
|
|
9640
9623
|
{
|
|
9641
9624
|
key: 0,
|
|
9642
|
-
class:
|
|
9625
|
+
class: Ne(`iksig ${t.value.name}`),
|
|
9643
9626
|
style: Se(i.value)
|
|
9644
9627
|
},
|
|
9645
9628
|
null,
|
|
9646
9629
|
6
|
|
9647
9630
|
/* CLASS, STYLE */
|
|
9648
|
-
)) : r.value === "svg" ? (
|
|
9649
|
-
|
|
9631
|
+
)) : r.value === "svg" ? (O(), L("svg", Wh, [
|
|
9632
|
+
N("use", {
|
|
9650
9633
|
"xlink:href": `#${t.value.name}`
|
|
9651
9634
|
}, null, 8, Gh)
|
|
9652
|
-
])) : r.value === "img" ? (
|
|
9635
|
+
])) : r.value === "img" ? (O(), L("img", {
|
|
9653
9636
|
key: 2,
|
|
9654
9637
|
src: t.value.name,
|
|
9655
9638
|
class: "h-[1em] w-[1em]"
|
|
9656
|
-
}, null, 8, qh)) : (
|
|
9639
|
+
}, null, 8, qh)) : (O(), L(
|
|
9657
9640
|
"i",
|
|
9658
9641
|
{
|
|
9659
9642
|
key: 3,
|
|
9660
|
-
class:
|
|
9643
|
+
class: Ne(t.value.name),
|
|
9661
9644
|
style: Se(i.value)
|
|
9662
9645
|
},
|
|
9663
9646
|
null,
|
|
@@ -9672,7 +9655,7 @@ const lr = (n, e) => {
|
|
|
9672
9655
|
_: 1
|
|
9673
9656
|
/* STABLE */
|
|
9674
9657
|
}, 8, ["content"]))
|
|
9675
|
-
])) : (
|
|
9658
|
+
])) : (O(), Ze(a, {
|
|
9676
9659
|
key: 1,
|
|
9677
9660
|
type: ["warning", "error"].includes(t.value.type) ? "danger" : ""
|
|
9678
9661
|
}, {
|
|
@@ -9689,7 +9672,7 @@ const lr = (n, e) => {
|
|
|
9689
9672
|
};
|
|
9690
9673
|
}
|
|
9691
9674
|
});
|
|
9692
|
-
const Qh = /* @__PURE__ */
|
|
9675
|
+
const Qh = /* @__PURE__ */ sr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = wn(Qh), mi = $h, lr = (n) => (Sl("data-v-e308f501"), n = n(), Al(), n), Zh = { class: "ik-schedule" }, Xh = { class: "ik-schedule__left" }, Jh = { class: "ik-schedule__header" }, Kh = { class: "ik-schedule__title" }, eg = /* @__PURE__ */ lr(() => /* @__PURE__ */ N(
|
|
9693
9676
|
"div",
|
|
9694
9677
|
{ class: "ik-schedule__header-right" },
|
|
9695
9678
|
null,
|
|
@@ -9698,7 +9681,7 @@ const Qh = /* @__PURE__ */ lr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = Cn(Q
|
|
|
9698
9681
|
)), tg = { class: "ik-schedule__body" }, ng = { style: { "font-size": "18px" } }, rg = { key: 0 }, ig = { style: { width: "90%", display: "flex", "align-items": "center", "justify-content": "space-between" } }, sg = {
|
|
9699
9682
|
key: 0,
|
|
9700
9683
|
style: { "margin-left": "2%" }
|
|
9701
|
-
}, lg = /* @__PURE__ */
|
|
9684
|
+
}, lg = /* @__PURE__ */ lr(() => /* @__PURE__ */ N(
|
|
9702
9685
|
"span",
|
|
9703
9686
|
{
|
|
9704
9687
|
class: "to",
|
|
@@ -9707,7 +9690,7 @@ const Qh = /* @__PURE__ */ lr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = Cn(Q
|
|
|
9707
9690
|
"至",
|
|
9708
9691
|
-1
|
|
9709
9692
|
/* HOISTED */
|
|
9710
|
-
)), og = { key: 1 }, ag = /* @__PURE__ */
|
|
9693
|
+
)), og = { key: 1 }, ag = /* @__PURE__ */ lr(() => /* @__PURE__ */ N(
|
|
9711
9694
|
"span",
|
|
9712
9695
|
{
|
|
9713
9696
|
class: "to",
|
|
@@ -9756,7 +9739,7 @@ const Qh = /* @__PURE__ */ lr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = Cn(Q
|
|
|
9756
9739
|
}), o = we(() => ({
|
|
9757
9740
|
...r.options,
|
|
9758
9741
|
headerToolbar: !1
|
|
9759
|
-
})), a =
|
|
9742
|
+
})), a = on({
|
|
9760
9743
|
currentView: (x = r.options) == null ? void 0 : x.initialView,
|
|
9761
9744
|
viewTitle: "",
|
|
9762
9745
|
rightLabel: "今日",
|
|
@@ -9815,11 +9798,11 @@ const Qh = /* @__PURE__ */ lr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = Cn(Q
|
|
|
9815
9798
|
return;
|
|
9816
9799
|
}
|
|
9817
9800
|
if (!p.form.title) {
|
|
9818
|
-
|
|
9801
|
+
ur.info("标题不能为空");
|
|
9819
9802
|
return;
|
|
9820
9803
|
}
|
|
9821
9804
|
if (!p.form.allDay && (!p.form.startTime || !p.form.endTime)) {
|
|
9822
|
-
|
|
9805
|
+
ur.info("时间不能为空");
|
|
9823
9806
|
return;
|
|
9824
9807
|
}
|
|
9825
9808
|
let S = {
|
|
@@ -9835,8 +9818,8 @@ const Qh = /* @__PURE__ */ lr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = Cn(Q
|
|
|
9835
9818
|
if (S.allDay)
|
|
9836
9819
|
S.start = X.toDate(p.form.startDate), S.end = X.toDate(p.form.endDate);
|
|
9837
9820
|
else {
|
|
9838
|
-
const te = X.toDate(p.form.startDate), se = X.toDateTime(p.form.startTime).substring(10),
|
|
9839
|
-
S.start = `${te}${se}`, S.end = `${te}${
|
|
9821
|
+
const te = X.toDate(p.form.startDate), se = X.toDateTime(p.form.startTime).substring(10), Vt = X.toDateTime(p.form.endTime).substring(10);
|
|
9822
|
+
S.start = `${te}${se}`, S.end = `${te}${Vt}`, S.extendedProps.startTime = S.start, S.extendedProps.endTime = S.end;
|
|
9840
9823
|
}
|
|
9841
9824
|
E.operation(S), E.close();
|
|
9842
9825
|
},
|
|
@@ -9853,7 +9836,7 @@ const Qh = /* @__PURE__ */ lr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = Cn(Q
|
|
|
9853
9836
|
del: () => {
|
|
9854
9837
|
R(p.clickInfo);
|
|
9855
9838
|
}
|
|
9856
|
-
}, p =
|
|
9839
|
+
}, p = on({
|
|
9857
9840
|
operation: "update",
|
|
9858
9841
|
selectInfo: {},
|
|
9859
9842
|
editEvent: void 0,
|
|
@@ -9880,7 +9863,7 @@ const Qh = /* @__PURE__ */ lr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = Cn(Q
|
|
|
9880
9863
|
(D = d.value) == null || D.unselect(), El(() => {
|
|
9881
9864
|
p.title = "新建日程", p.operation = "add", p.editable = !0, A.value = !0, i("editOpen", JSON.parse(JSON.stringify(p)));
|
|
9882
9865
|
});
|
|
9883
|
-
},
|
|
9866
|
+
}, H = (S) => {
|
|
9884
9867
|
p.title = "日程信息", p.operation = "update", p.clickInfo = S, p.editEvent = S.event;
|
|
9885
9868
|
debugger;
|
|
9886
9869
|
p.editEvent.allDay ? (p.form.startDate = p.editEvent.startStr, p.form.endDate = p.editEvent.startStr) : (p.form.startDate = p.editEvent.startStr, p.form.startTime = p.editEvent.start, p.form.endTime = p.editEvent.end), p.form.title = p.editEvent.title, p.form.allDay = p.editEvent.allDay, Rl.copyValue(p.form, p.editEvent.extendedProps), E.cancelEdit(), A.value = !0, i("editOpen", JSON.parse(JSON.stringify(p)));
|
|
@@ -9898,11 +9881,11 @@ const Qh = /* @__PURE__ */ lr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = Cn(Q
|
|
|
9898
9881
|
}), vi(() => {
|
|
9899
9882
|
f();
|
|
9900
9883
|
}), (S, D) => {
|
|
9901
|
-
const U = G("el-button"), te = G("el-button-group"), se = G("el-icon"),
|
|
9902
|
-
return
|
|
9903
|
-
|
|
9904
|
-
|
|
9905
|
-
T(
|
|
9884
|
+
const U = G("el-button"), te = G("el-button-group"), se = G("el-icon"), Vt = G("el-space"), or = G("el-input"), Ft = G("el-form-item"), ar = G("el-date-picker"), cr = G("el-time-picker"), fl = G("el-checkbox"), hl = G("el-form"), gl = G("el-dialog");
|
|
9885
|
+
return O(), L("div", Zh, [
|
|
9886
|
+
N("div", Xh, [
|
|
9887
|
+
N("div", Jh, [
|
|
9888
|
+
T(Vt, {
|
|
9906
9889
|
style: { "flex-shrink": "0" },
|
|
9907
9890
|
size: 24
|
|
9908
9891
|
}, {
|
|
@@ -9943,7 +9926,7 @@ const Qh = /* @__PURE__ */ lr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = Cn(Q
|
|
|
9943
9926
|
_: 1
|
|
9944
9927
|
/* STABLE */
|
|
9945
9928
|
}),
|
|
9946
|
-
|
|
9929
|
+
N(
|
|
9947
9930
|
"span",
|
|
9948
9931
|
Kh,
|
|
9949
9932
|
he(a.viewTitle),
|
|
@@ -9995,12 +9978,12 @@ const Qh = /* @__PURE__ */ lr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = Cn(Q
|
|
|
9995
9978
|
}),
|
|
9996
9979
|
eg
|
|
9997
9980
|
]),
|
|
9998
|
-
|
|
9981
|
+
N("div", tg, [
|
|
9999
9982
|
T(J(zh), {
|
|
10000
9983
|
removable: S.removable,
|
|
10001
9984
|
onDateSelect: C,
|
|
10002
9985
|
onDeleteClick: R,
|
|
10003
|
-
onEventClick:
|
|
9986
|
+
onEventClick: H,
|
|
10004
9987
|
ref_key: "_refCalendar",
|
|
10005
9988
|
ref: d,
|
|
10006
9989
|
options: o.value,
|
|
@@ -10016,21 +9999,21 @@ const Qh = /* @__PURE__ */ lr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = Cn(Q
|
|
|
10016
9999
|
"onUpdate:modelValue": D[11] || (D[11] = (V) => A.value = V)
|
|
10017
10000
|
}, {
|
|
10018
10001
|
header: M(() => [
|
|
10019
|
-
|
|
10020
|
-
|
|
10002
|
+
N("div", null, [
|
|
10003
|
+
N(
|
|
10021
10004
|
"span",
|
|
10022
10005
|
ng,
|
|
10023
10006
|
he(p.title),
|
|
10024
10007
|
1
|
|
10025
10008
|
/* TEXT */
|
|
10026
10009
|
),
|
|
10027
|
-
p.operation === "update" ? (
|
|
10028
|
-
p.editable ? (
|
|
10010
|
+
p.operation === "update" ? (O(), L("span", rg, [
|
|
10011
|
+
p.editable ? (O(), Ze(J(mi), {
|
|
10029
10012
|
key: 1,
|
|
10030
10013
|
style: { "margin-left": "4px" },
|
|
10031
10014
|
name: "iksvg_qiehuan-daohang",
|
|
10032
10015
|
onClick: E.cancelEdit
|
|
10033
|
-
}, null, 8, ["onClick"])) : (
|
|
10016
|
+
}, null, 8, ["onClick"])) : (O(), Ze(J(mi), {
|
|
10034
10017
|
key: 0,
|
|
10035
10018
|
style: { "margin-left": "4px" },
|
|
10036
10019
|
name: "iksvg_xiugai",
|
|
@@ -10040,9 +10023,9 @@ const Qh = /* @__PURE__ */ lr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = Cn(Q
|
|
|
10040
10023
|
])
|
|
10041
10024
|
]),
|
|
10042
10025
|
footer: M(() => [
|
|
10043
|
-
|
|
10044
|
-
|
|
10045
|
-
|
|
10026
|
+
N("span", cg, [
|
|
10027
|
+
dr(S.$slots, "form-footer", {}, () => [
|
|
10028
|
+
N("span", null, [
|
|
10046
10029
|
T(U, {
|
|
10047
10030
|
onClick: E.close
|
|
10048
10031
|
}, {
|
|
@@ -10076,7 +10059,7 @@ const Qh = /* @__PURE__ */ lr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = Cn(Q
|
|
|
10076
10059
|
])
|
|
10077
10060
|
]),
|
|
10078
10061
|
default: M(() => [
|
|
10079
|
-
|
|
10062
|
+
dr(S.$slots, "form", {}, () => [
|
|
10080
10063
|
T(hl, {
|
|
10081
10064
|
ref_key: "_editFormRef",
|
|
10082
10065
|
ref: b,
|
|
@@ -10084,7 +10067,7 @@ const Qh = /* @__PURE__ */ lr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = Cn(Q
|
|
|
10084
10067
|
disabled: !p.editable
|
|
10085
10068
|
}, {
|
|
10086
10069
|
default: M(() => [
|
|
10087
|
-
T(
|
|
10070
|
+
T(Ft, null, {
|
|
10088
10071
|
default: M(() => [
|
|
10089
10072
|
T(se, { class: "icon" }, {
|
|
10090
10073
|
default: M(() => [
|
|
@@ -10093,7 +10076,7 @@ const Qh = /* @__PURE__ */ lr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = Cn(Q
|
|
|
10093
10076
|
_: 1
|
|
10094
10077
|
/* STABLE */
|
|
10095
10078
|
}),
|
|
10096
|
-
T(
|
|
10079
|
+
T(or, {
|
|
10097
10080
|
modelValue: p.form.title,
|
|
10098
10081
|
"onUpdate:modelValue": D[4] || (D[4] = (V) => p.form.title = V),
|
|
10099
10082
|
placeholder: "请输入标题",
|
|
@@ -10104,7 +10087,7 @@ const Qh = /* @__PURE__ */ lr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = Cn(Q
|
|
|
10104
10087
|
_: 1
|
|
10105
10088
|
/* STABLE */
|
|
10106
10089
|
}),
|
|
10107
|
-
T(
|
|
10090
|
+
T(Ft, null, {
|
|
10108
10091
|
default: M(() => [
|
|
10109
10092
|
T(se, { class: "icon" }, {
|
|
10110
10093
|
default: M(() => [
|
|
@@ -10113,8 +10096,8 @@ const Qh = /* @__PURE__ */ lr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = Cn(Q
|
|
|
10113
10096
|
_: 1
|
|
10114
10097
|
/* STABLE */
|
|
10115
10098
|
}),
|
|
10116
|
-
|
|
10117
|
-
T(
|
|
10099
|
+
N("div", ig, [
|
|
10100
|
+
T(ar, {
|
|
10118
10101
|
disabled: "",
|
|
10119
10102
|
modelValue: p.form.startDate,
|
|
10120
10103
|
"onUpdate:modelValue": D[5] || (D[5] = (V) => p.form.startDate = V),
|
|
@@ -10122,9 +10105,9 @@ const Qh = /* @__PURE__ */ lr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = Cn(Q
|
|
|
10122
10105
|
placeholder: "开始日期",
|
|
10123
10106
|
style: Se({ width: p.form.allDay ? "45%" : "90%" })
|
|
10124
10107
|
}, null, 8, ["modelValue", "style"]),
|
|
10125
|
-
p.form.allDay ? (
|
|
10108
|
+
p.form.allDay ? (O(), L("div", og, [
|
|
10126
10109
|
ag,
|
|
10127
|
-
T(
|
|
10110
|
+
T(ar, {
|
|
10128
10111
|
disabled: "",
|
|
10129
10112
|
modelValue: p.form.endDate,
|
|
10130
10113
|
"onUpdate:modelValue": D[8] || (D[8] = (V) => p.form.endDate = V),
|
|
@@ -10132,8 +10115,8 @@ const Qh = /* @__PURE__ */ lr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = Cn(Q
|
|
|
10132
10115
|
placeholder: "结束日期",
|
|
10133
10116
|
style: { width: "90%" }
|
|
10134
10117
|
}, null, 8, ["modelValue"])
|
|
10135
|
-
])) : (
|
|
10136
|
-
T(
|
|
10118
|
+
])) : (O(), L("div", sg, [
|
|
10119
|
+
T(cr, {
|
|
10137
10120
|
modelValue: p.form.startTime,
|
|
10138
10121
|
"onUpdate:modelValue": D[6] || (D[6] = (V) => p.form.startTime = V),
|
|
10139
10122
|
type: "datetime",
|
|
@@ -10142,7 +10125,7 @@ const Qh = /* @__PURE__ */ lr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = Cn(Q
|
|
|
10142
10125
|
format: "HH:mm"
|
|
10143
10126
|
}, null, 8, ["modelValue"]),
|
|
10144
10127
|
lg,
|
|
10145
|
-
T(
|
|
10128
|
+
T(cr, {
|
|
10146
10129
|
modelValue: p.form.endTime,
|
|
10147
10130
|
"onUpdate:modelValue": D[7] || (D[7] = (V) => p.form.endTime = V),
|
|
10148
10131
|
type: "datetime",
|
|
@@ -10162,7 +10145,7 @@ const Qh = /* @__PURE__ */ lr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = Cn(Q
|
|
|
10162
10145
|
_: 1
|
|
10163
10146
|
/* STABLE */
|
|
10164
10147
|
}),
|
|
10165
|
-
T(
|
|
10148
|
+
T(Ft, null, {
|
|
10166
10149
|
default: M(() => [
|
|
10167
10150
|
T(se, { class: "icon" }, {
|
|
10168
10151
|
default: M(() => [
|
|
@@ -10171,7 +10154,7 @@ const Qh = /* @__PURE__ */ lr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = Cn(Q
|
|
|
10171
10154
|
_: 1
|
|
10172
10155
|
/* STABLE */
|
|
10173
10156
|
}),
|
|
10174
|
-
T(
|
|
10157
|
+
T(or, {
|
|
10175
10158
|
type: "textarea",
|
|
10176
10159
|
modelValue: p.form.remark,
|
|
10177
10160
|
"onUpdate:modelValue": D[10] || (D[10] = (V) => p.form.remark = V),
|
|
@@ -10196,7 +10179,7 @@ const Qh = /* @__PURE__ */ lr(Yh, [["__scopeId", "data-v-52806adf"]]), $h = Cn(Q
|
|
|
10196
10179
|
};
|
|
10197
10180
|
}
|
|
10198
10181
|
});
|
|
10199
|
-
const fg = /* @__PURE__ */
|
|
10182
|
+
const fg = /* @__PURE__ */ sr(ug, [["__scopeId", "data-v-e308f501"]]), mg = wn(fg);
|
|
10200
10183
|
export {
|
|
10201
10184
|
mg as IkSchedule,
|
|
10202
10185
|
mg as default
|