@cocoar/vue-calendar 3.2.0-beta.8 → 3.2.0-beta.9
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/components/CoarMonthView.vue.d.ts.map +1 -1
- package/dist/composables/useMonthGeometry.d.ts +16 -2
- package/dist/composables/useMonthGeometry.d.ts.map +1 -1
- package/dist/composables/useMonthMetrics.d.ts +32 -0
- package/dist/composables/useMonthMetrics.d.ts.map +1 -0
- package/dist/index.js +238 -162
- package/dist/vue-calendar.css +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -3445,37 +3445,108 @@ var Zn = ["aria-hidden", "aria-label"], Qn = {
|
|
|
3445
3445
|
} : void 0
|
|
3446
3446
|
]), 1032, ["builder"]));
|
|
3447
3447
|
}
|
|
3448
|
-
}), dr =
|
|
3448
|
+
}), dr = Object.freeze({
|
|
3449
|
+
dayNumberHeight: 24,
|
|
3450
|
+
pillHeight: 18,
|
|
3451
|
+
markerHeight: 18,
|
|
3452
|
+
pillGap: 2,
|
|
3453
|
+
pillsPaddingTop: 3,
|
|
3454
|
+
pillsPaddingBottom: 4
|
|
3455
|
+
}), fr = (e) => {
|
|
3456
|
+
let t = parseFloat(e);
|
|
3457
|
+
return Number.isFinite(t) ? t : 0;
|
|
3458
|
+
};
|
|
3459
|
+
function pr(e) {
|
|
3460
|
+
let t = e.querySelector(".coar-month-cell:not(.coar-month-cell--placeholder) .coar-month-cell__day-number-row");
|
|
3461
|
+
return t ? {
|
|
3462
|
+
dayRow: t,
|
|
3463
|
+
pill: e.querySelector(".coar-month-cell__pills .coar-month-pill"),
|
|
3464
|
+
marker: e.querySelector(".coar-month-cell__overflow")
|
|
3465
|
+
} : null;
|
|
3466
|
+
}
|
|
3467
|
+
function mr(e) {
|
|
3468
|
+
let t = pr(e);
|
|
3469
|
+
if (!t || t.dayRow.offsetHeight === 0) return null;
|
|
3470
|
+
let { dayRow: n, pill: r, marker: i } = t, a = e.querySelector(".coar-month-cell__pills"), o = a ? getComputedStyle(a) : null, s = r?.offsetHeight || dr.pillHeight;
|
|
3471
|
+
return {
|
|
3472
|
+
dayNumberHeight: n.offsetHeight,
|
|
3473
|
+
pillHeight: s,
|
|
3474
|
+
markerHeight: i?.offsetHeight || Math.max(s, dr.markerHeight),
|
|
3475
|
+
pillGap: o ? fr(o.rowGap) || fr(o.gap) : dr.pillGap,
|
|
3476
|
+
pillsPaddingTop: o ? fr(o.paddingTop) : dr.pillsPaddingTop,
|
|
3477
|
+
pillsPaddingBottom: o ? fr(o.paddingBottom) : dr.pillsPaddingBottom
|
|
3478
|
+
};
|
|
3479
|
+
}
|
|
3480
|
+
function hr(e) {
|
|
3481
|
+
let t = G({ ...dr });
|
|
3482
|
+
function n() {
|
|
3483
|
+
let n = e.rootRef.value;
|
|
3484
|
+
if (!n) return;
|
|
3485
|
+
let r = mr(n);
|
|
3486
|
+
if (!r) return;
|
|
3487
|
+
let i = t.value;
|
|
3488
|
+
(r.dayNumberHeight !== i.dayNumberHeight || r.pillHeight !== i.pillHeight || r.markerHeight !== i.markerHeight || r.pillGap !== i.pillGap || r.pillsPaddingTop !== i.pillsPaddingTop || r.pillsPaddingBottom !== i.pillsPaddingBottom) && (t.value = r);
|
|
3489
|
+
}
|
|
3490
|
+
let r = null, i = /* @__PURE__ */ new WeakSet();
|
|
3491
|
+
function a() {
|
|
3492
|
+
let t = e.rootRef.value;
|
|
3493
|
+
if (!r || !t) return;
|
|
3494
|
+
let n = pr(t);
|
|
3495
|
+
for (let e of [
|
|
3496
|
+
n?.dayRow,
|
|
3497
|
+
n?.pill,
|
|
3498
|
+
n?.marker
|
|
3499
|
+
]) e && !i.has(e) && (i.add(e), r.observe(e));
|
|
3500
|
+
}
|
|
3501
|
+
function o() {
|
|
3502
|
+
n(), a();
|
|
3503
|
+
}
|
|
3504
|
+
return Ke(() => {
|
|
3505
|
+
typeof ResizeObserver < "u" && e.rootRef.value && (r = new ResizeObserver(() => n()), r.observe(e.rootRef.value)), o(), typeof document < "u" && document.fonts?.ready && document.fonts.ready.then(o);
|
|
3506
|
+
}), qe(() => r?.disconnect()), e.trigger !== void 0 && Z(() => Y(e.trigger), () => {
|
|
3507
|
+
We(o);
|
|
3508
|
+
}, { flush: "post" }), t;
|
|
3509
|
+
}
|
|
3510
|
+
//#endregion
|
|
3511
|
+
//#region src/composables/useMonthGeometry.ts
|
|
3512
|
+
var gr = 2, _r = {
|
|
3449
3513
|
compact: 52,
|
|
3450
3514
|
stacked: 68,
|
|
3451
3515
|
details: 94
|
|
3452
|
-
},
|
|
3516
|
+
}, vr = {
|
|
3453
3517
|
compact: 5,
|
|
3454
|
-
stacked: 8
|
|
3455
|
-
details: 18
|
|
3518
|
+
stacked: 8
|
|
3456
3519
|
};
|
|
3457
|
-
function
|
|
3458
|
-
let
|
|
3459
|
-
|
|
3460
|
-
|
|
3520
|
+
function yr(e, t) {
|
|
3521
|
+
let n = Math.max(0, Math.floor(Number.isFinite(t) ? t : 0)), r = e.dayNumberHeight + e.pillsPaddingTop + n * e.pillHeight + n * e.pillGap + e.markerHeight + e.pillsPaddingBottom;
|
|
3522
|
+
return Math.max(_r.details, Math.ceil(r));
|
|
3523
|
+
}
|
|
3524
|
+
function br(e) {
|
|
3525
|
+
let t = M(() => Y(e.monthDensity) ?? "details"), n = M(() => Y(e.metrics) ?? dr), r = M(() => n.value.dayNumberHeight), i = M(() => t.value === "details" ? n.value.pillHeight : vr[t.value]), a = M(() => t.value === "details" ? yr(n.value, Y(e.maxEventsPerCell) ?? 2) : _r[t.value]);
|
|
3526
|
+
function o(e) {
|
|
3527
|
+
return r.value + e * (i.value + gr);
|
|
3461
3528
|
}
|
|
3462
|
-
let
|
|
3529
|
+
let s = M(() => e.layout.value.weekRows.map((t) => {
|
|
3530
|
+
if (t.multiDayBars.length === 0) return r.value;
|
|
3531
|
+
let n = we(t.multiDayBars, Y(e.maxLanes) ?? null).laneCount;
|
|
3532
|
+
return r.value + n * (i.value + gr);
|
|
3533
|
+
}));
|
|
3463
3534
|
return {
|
|
3464
|
-
BAR_HEIGHT:
|
|
3465
|
-
BAR_GAP:
|
|
3466
|
-
DAY_NUMBER_HEIGHT:
|
|
3467
|
-
barTopPx:
|
|
3468
|
-
rowBarHeightsPx:
|
|
3469
|
-
rowHeightPx: M(() =>
|
|
3470
|
-
let
|
|
3471
|
-
return
|
|
3535
|
+
BAR_HEIGHT: i,
|
|
3536
|
+
BAR_GAP: gr,
|
|
3537
|
+
DAY_NUMBER_HEIGHT: r,
|
|
3538
|
+
barTopPx: o,
|
|
3539
|
+
rowBarHeightsPx: s,
|
|
3540
|
+
rowHeightPx: M(() => s.value.map((e) => {
|
|
3541
|
+
let t = Math.max(0, e - r.value);
|
|
3542
|
+
return a.value + t;
|
|
3472
3543
|
}))
|
|
3473
3544
|
};
|
|
3474
3545
|
}
|
|
3475
3546
|
//#endregion
|
|
3476
3547
|
//#region src/composables/useMonthDayOverlay.ts
|
|
3477
|
-
var
|
|
3478
|
-
function
|
|
3548
|
+
var xr = 30, Sr = ".coar-month-cell__overflow";
|
|
3549
|
+
function Cr(e) {
|
|
3479
3550
|
let t = e.parentElement;
|
|
3480
3551
|
for (; t && t !== document.body;) {
|
|
3481
3552
|
let e = getComputedStyle(t).overflowY;
|
|
@@ -3484,12 +3555,12 @@ function vr(e) {
|
|
|
3484
3555
|
}
|
|
3485
3556
|
return null;
|
|
3486
3557
|
}
|
|
3487
|
-
function
|
|
3558
|
+
function wr(e) {
|
|
3488
3559
|
let t = e.minWidth ?? 200, n = e.maxHeight ?? 360, r = Xe(null), i = G({
|
|
3489
3560
|
top: 0,
|
|
3490
3561
|
left: 0,
|
|
3491
3562
|
width: t,
|
|
3492
|
-
maxListHeight: n -
|
|
3563
|
+
maxListHeight: n - xr
|
|
3493
3564
|
});
|
|
3494
3565
|
function a(t) {
|
|
3495
3566
|
return e.gridRef.value?.querySelector(`[data-day-key="${g(t)}"]`) ?? null;
|
|
@@ -3505,11 +3576,11 @@ function yr(e) {
|
|
|
3505
3576
|
top: d.top - u.top,
|
|
3506
3577
|
left: p,
|
|
3507
3578
|
width: f,
|
|
3508
|
-
maxListHeight: n -
|
|
3579
|
+
maxListHeight: n - xr
|
|
3509
3580
|
}, await We(), r.value === null || !o(s)) return;
|
|
3510
3581
|
let m = e.overlayEl();
|
|
3511
3582
|
if (!m) return;
|
|
3512
|
-
let h =
|
|
3583
|
+
let h = Cr(c), g = h ? h.getBoundingClientRect().top : 0, _ = h ? h.getBoundingClientRect().bottom : window.innerHeight, v = m.offsetHeight, y = _ - d.top, b = d.bottom - g;
|
|
3513
3584
|
v > y && b > y && (i.value = {
|
|
3514
3585
|
...i.value,
|
|
3515
3586
|
top: Math.max(0, d.bottom - u.top - v)
|
|
@@ -3522,7 +3593,7 @@ function yr(e) {
|
|
|
3522
3593
|
let t = r.value;
|
|
3523
3594
|
if (t === null) return;
|
|
3524
3595
|
let n = e.overlayEl(), i = typeof document < "u" && n !== null && document.activeElement !== null && n.contains(document.activeElement);
|
|
3525
|
-
r.value = null, i && a(t)?.querySelector(
|
|
3596
|
+
r.value = null, i && a(t)?.querySelector(Sr)?.focus();
|
|
3526
3597
|
}
|
|
3527
3598
|
async function d(e) {
|
|
3528
3599
|
o(e) ? l() : await c(e);
|
|
@@ -3532,7 +3603,7 @@ function yr(e) {
|
|
|
3532
3603
|
let n = t.target;
|
|
3533
3604
|
if (!n) return;
|
|
3534
3605
|
let i = e.overlayEl();
|
|
3535
|
-
i && i.contains(n) || n instanceof Element && n.closest(
|
|
3606
|
+
i && i.contains(n) || n instanceof Element && n.closest(Sr) || l();
|
|
3536
3607
|
}
|
|
3537
3608
|
function p() {
|
|
3538
3609
|
l();
|
|
@@ -3550,13 +3621,13 @@ function yr(e) {
|
|
|
3550
3621
|
}
|
|
3551
3622
|
//#endregion
|
|
3552
3623
|
//#region src/components/internal/month/CoarMonthPill.vue?vue&type=script&setup=true&lang.ts
|
|
3553
|
-
var
|
|
3624
|
+
var Tr = [
|
|
3554
3625
|
"data-event-id",
|
|
3555
3626
|
"tabindex",
|
|
3556
3627
|
"role",
|
|
3557
3628
|
"aria-label",
|
|
3558
3629
|
"aria-hidden"
|
|
3559
|
-
],
|
|
3630
|
+
], Er = { class: "coar-month-pill__title" }, Dr = { class: "coar-month-pill__title" }, Or = /* @__PURE__ */ $(/* @__PURE__ */ z({
|
|
3560
3631
|
__name: "CoarMonthPill",
|
|
3561
3632
|
props: {
|
|
3562
3633
|
event: {},
|
|
@@ -3625,7 +3696,7 @@ var br = [
|
|
|
3625
3696
|
"display-zone": e.displayZone,
|
|
3626
3697
|
size: "xs"
|
|
3627
3698
|
}, null, 8, ["event", "display-zone"]),
|
|
3628
|
-
I("span",
|
|
3699
|
+
I("span", Er, J(e.title), 1),
|
|
3629
3700
|
R(xn, {
|
|
3630
3701
|
event: e.event,
|
|
3631
3702
|
max: 1,
|
|
@@ -3637,21 +3708,21 @@ var br = [
|
|
|
3637
3708
|
"display-zone": e.displayZone,
|
|
3638
3709
|
size: "xs"
|
|
3639
3710
|
}, null, 8, ["event", "display-zone"]),
|
|
3640
|
-
I("span",
|
|
3711
|
+
I("span", Dr, J(e.title), 1),
|
|
3641
3712
|
R(xn, {
|
|
3642
3713
|
event: e.event,
|
|
3643
3714
|
max: 1,
|
|
3644
3715
|
size: "xs"
|
|
3645
3716
|
}, null, 8, ["event"])
|
|
3646
|
-
], 64))], 46,
|
|
3717
|
+
], 64))], 46, Tr));
|
|
3647
3718
|
}
|
|
3648
|
-
}), [["__scopeId", "data-v-d45817cc"]]),
|
|
3719
|
+
}), [["__scopeId", "data-v-d45817cc"]]), kr = [
|
|
3649
3720
|
"data-event-id",
|
|
3650
3721
|
"tabindex",
|
|
3651
3722
|
"role",
|
|
3652
3723
|
"aria-label",
|
|
3653
3724
|
"aria-hidden"
|
|
3654
|
-
],
|
|
3725
|
+
], Ar = { class: "coar-month-bar__title" }, jr = { class: "coar-month-bar__title" }, Mr = /* @__PURE__ */ $(/* @__PURE__ */ z({
|
|
3655
3726
|
__name: "CoarMonthBar",
|
|
3656
3727
|
props: {
|
|
3657
3728
|
event: {},
|
|
@@ -3756,7 +3827,7 @@ var br = [
|
|
|
3756
3827
|
"display-zone": e.displayZone,
|
|
3757
3828
|
size: "xs"
|
|
3758
3829
|
}, null, 8, ["event", "display-zone"])),
|
|
3759
|
-
I("span",
|
|
3830
|
+
I("span", Ar, J(e.title), 1),
|
|
3760
3831
|
R(xn, {
|
|
3761
3832
|
event: e.event,
|
|
3762
3833
|
max: 2,
|
|
@@ -3769,7 +3840,7 @@ var br = [
|
|
|
3769
3840
|
"display-zone": e.displayZone,
|
|
3770
3841
|
size: "xs"
|
|
3771
3842
|
}, null, 8, ["event", "display-zone"])),
|
|
3772
|
-
I("span",
|
|
3843
|
+
I("span", jr, J(e.title), 1),
|
|
3773
3844
|
R(xn, {
|
|
3774
3845
|
event: e.event,
|
|
3775
3846
|
max: 2,
|
|
@@ -3782,9 +3853,9 @@ var br = [
|
|
|
3782
3853
|
"aria-hidden": "true",
|
|
3783
3854
|
onPointerdown: m
|
|
3784
3855
|
}, null, 32)) : P("", !0)
|
|
3785
|
-
], 46,
|
|
3856
|
+
], 46, kr));
|
|
3786
3857
|
}
|
|
3787
|
-
}), [["__scopeId", "data-v-075d2aad"]]),
|
|
3858
|
+
}), [["__scopeId", "data-v-075d2aad"]]), Nr = [
|
|
3788
3859
|
"data-day-key",
|
|
3789
3860
|
"data-placeholder",
|
|
3790
3861
|
"aria-rowindex",
|
|
@@ -3792,10 +3863,10 @@ var br = [
|
|
|
3792
3863
|
"aria-label",
|
|
3793
3864
|
"aria-current",
|
|
3794
3865
|
"aria-hidden"
|
|
3795
|
-
],
|
|
3866
|
+
], Pr = {
|
|
3796
3867
|
key: 0,
|
|
3797
3868
|
class: "coar-month-cell__day-number-row"
|
|
3798
|
-
},
|
|
3869
|
+
}, Fr = { class: "coar-month-cell__day-number" }, Ir = ["aria-label", "aria-expanded"], Lr = /* @__PURE__ */ $(/* @__PURE__ */ z({
|
|
3799
3870
|
__name: "CoarMonthCell",
|
|
3800
3871
|
props: {
|
|
3801
3872
|
day: {},
|
|
@@ -3862,7 +3933,7 @@ var br = [
|
|
|
3862
3933
|
"aria-hidden": e.placeholder ? "true" : void 0,
|
|
3863
3934
|
onPointerdown: i,
|
|
3864
3935
|
onDblclick: a
|
|
3865
|
-
}, [e.placeholder ? P("", !0) : (W(), F("div",
|
|
3936
|
+
}, [e.placeholder ? P("", !0) : (W(), F("div", Pr, [I("span", Fr, J(e.day.day), 1)])), e.placeholder ? P("", !0) : (W(), F("div", {
|
|
3866
3937
|
key: 1,
|
|
3867
3938
|
class: "coar-month-cell__pills",
|
|
3868
3939
|
style: U({ marginTop: e.pillsMarginTopPx + "px" })
|
|
@@ -3876,9 +3947,9 @@ var br = [
|
|
|
3876
3947
|
onPointerdown: n[0] ||= nt(() => {}, ["stop"]),
|
|
3877
3948
|
onDblclick: n[1] ||= nt(() => {}, ["stop"]),
|
|
3878
3949
|
onClick: nt(o, ["stop"])
|
|
3879
|
-
}, " +" + J(e.overflowCount), 41,
|
|
3950
|
+
}, " +" + J(e.overflowCount), 41, Ir)) : P("", !0)], 4))], 42, Nr));
|
|
3880
3951
|
}
|
|
3881
|
-
}), [["__scopeId", "data-v-06fac2de"]]),
|
|
3952
|
+
}), [["__scopeId", "data-v-06fac2de"]]), Rr = ["aria-label"], zr = { class: "coar-month-day-overlay__header" }, Br = { class: "coar-month-day-overlay__day-number" }, Vr = { class: "coar-month-day-overlay__heading" }, Hr = ["aria-label"], Ur = /* @__PURE__ */ $(/* @__PURE__ */ z({
|
|
3882
3953
|
__name: "CoarMonthDayOverlay",
|
|
3883
3954
|
props: {
|
|
3884
3955
|
dayNumber: {},
|
|
@@ -3915,9 +3986,9 @@ var br = [
|
|
|
3915
3986
|
width: e.width + "px"
|
|
3916
3987
|
}),
|
|
3917
3988
|
onKeydown: a
|
|
3918
|
-
}, [I("div",
|
|
3919
|
-
I("span",
|
|
3920
|
-
I("span",
|
|
3989
|
+
}, [I("div", zr, [
|
|
3990
|
+
I("span", Br, J(e.dayNumber), 1),
|
|
3991
|
+
I("span", Vr, J(e.heading), 1),
|
|
3921
3992
|
I("button", {
|
|
3922
3993
|
type: "button",
|
|
3923
3994
|
class: "coar-month-day-overlay__close",
|
|
@@ -3934,13 +4005,13 @@ var br = [
|
|
|
3934
4005
|
stroke: "currentColor",
|
|
3935
4006
|
"stroke-width": "1.6",
|
|
3936
4007
|
"stroke-linecap": "round"
|
|
3937
|
-
})], -1)]], 40,
|
|
4008
|
+
})], -1)]], 40, Hr)
|
|
3938
4009
|
]), I("div", {
|
|
3939
4010
|
class: "coar-month-day-overlay__list",
|
|
3940
4011
|
style: U({ maxHeight: e.maxListHeight + "px" })
|
|
3941
|
-
}, [q(t.$slots, "default", {}, void 0, !0)], 4)], 46,
|
|
4012
|
+
}, [q(t.$slots, "default", {}, void 0, !0)], 4)], 46, Rr));
|
|
3942
4013
|
}
|
|
3943
|
-
}), [["__scopeId", "data-v-99cbf499"]]),
|
|
4014
|
+
}), [["__scopeId", "data-v-99cbf499"]]), Wr = /* @__PURE__ */ $(/* @__PURE__ */ z({
|
|
3944
4015
|
__name: "CoarMonthRow",
|
|
3945
4016
|
props: {
|
|
3946
4017
|
heightPx: {},
|
|
@@ -3953,36 +4024,36 @@ var br = [
|
|
|
3953
4024
|
role: "row"
|
|
3954
4025
|
}, [q(t.$slots, "default", {}, void 0, !0)], 6));
|
|
3955
4026
|
}
|
|
3956
|
-
}), [["__scopeId", "data-v-7f6e2bad"]]),
|
|
4027
|
+
}), [["__scopeId", "data-v-7f6e2bad"]]), Gr = { class: "coar-month-grid" }, Kr = {
|
|
3957
4028
|
class: "coar-month-grid__weekday-row",
|
|
3958
4029
|
role: "row",
|
|
3959
4030
|
"aria-rowindex": "1"
|
|
3960
|
-
},
|
|
4031
|
+
}, qr = ["aria-colindex"], Jr = /* @__PURE__ */ $(/* @__PURE__ */ z({
|
|
3961
4032
|
__name: "CoarMonthGrid",
|
|
3962
4033
|
props: {
|
|
3963
4034
|
weekdayHeaders: {},
|
|
3964
4035
|
setRowsEl: { type: Function }
|
|
3965
4036
|
},
|
|
3966
4037
|
setup(e) {
|
|
3967
|
-
return (t, n) => (W(), F("div",
|
|
4038
|
+
return (t, n) => (W(), F("div", Gr, [I("div", Kr, [(W(!0), F(j, null, K(e.weekdayHeaders, (e, t) => (W(), F("div", {
|
|
3968
4039
|
key: t,
|
|
3969
4040
|
class: "coar-month-grid__weekday-cell",
|
|
3970
4041
|
role: "columnheader",
|
|
3971
4042
|
"aria-colindex": t + 1
|
|
3972
|
-
}, J(e), 9,
|
|
4043
|
+
}, J(e), 9, qr))), 128))]), I("div", {
|
|
3973
4044
|
ref: (t) => e.setRowsEl(t),
|
|
3974
4045
|
class: "coar-month-grid__rows"
|
|
3975
4046
|
}, [q(t.$slots, "default", {}, void 0, !0)], 512)]));
|
|
3976
4047
|
}
|
|
3977
|
-
}), [["__scopeId", "data-v-d0d74cdf"]]),
|
|
4048
|
+
}), [["__scopeId", "data-v-d0d74cdf"]]), Yr = ["aria-label", "aria-rowcount"], Xr = {
|
|
3978
4049
|
class: "coar-month-view__a11y-live",
|
|
3979
4050
|
role: "status",
|
|
3980
4051
|
"aria-live": "polite",
|
|
3981
4052
|
"aria-atomic": "true"
|
|
3982
|
-
},
|
|
4053
|
+
}, Zr = {
|
|
3983
4054
|
key: 0,
|
|
3984
4055
|
class: "coar-month-view__segment-capsule"
|
|
3985
|
-
},
|
|
4056
|
+
}, Qr = ["aria-label"], $r = /* @__PURE__ */ $(/* @__PURE__ */ z({
|
|
3986
4057
|
__name: "CoarMonthView",
|
|
3987
4058
|
props: {
|
|
3988
4059
|
builder: {},
|
|
@@ -4103,10 +4174,15 @@ var br = [
|
|
|
4103
4174
|
function _e(e) {
|
|
4104
4175
|
return e.dayOfWeek === 6 || e.dayOfWeek === 7;
|
|
4105
4176
|
}
|
|
4106
|
-
let { BAR_HEIGHT: ve, DAY_NUMBER_HEIGHT: be, barTopPx: xe, rowBarHeightsPx: Se, rowHeightPx: Ce } =
|
|
4177
|
+
let { BAR_HEIGHT: ve, DAY_NUMBER_HEIGHT: be, barTopPx: xe, rowBarHeightsPx: Se, rowHeightPx: Ce } = br({
|
|
4107
4178
|
layout: ue,
|
|
4108
4179
|
monthDensity: () => s.value.monthDensity,
|
|
4109
|
-
maxLanes: () => s.value.monthMaxVisibleLanes
|
|
4180
|
+
maxLanes: () => s.value.monthMaxVisibleLanes,
|
|
4181
|
+
metrics: hr({
|
|
4182
|
+
rootRef: b,
|
|
4183
|
+
trigger: ue
|
|
4184
|
+
}),
|
|
4185
|
+
maxEventsPerCell: () => s.value.maxEventsPerCell
|
|
4110
4186
|
}), Te = M(() => ue.value.weekRows.map((e) => we(e.multiDayBars, s.value.monthMaxVisibleLanes)));
|
|
4111
4187
|
function Ee(e) {
|
|
4112
4188
|
let t = g(e), n = ue.value.weekRows;
|
|
@@ -4163,7 +4239,7 @@ var br = [
|
|
|
4163
4239
|
function z(e) {
|
|
4164
4240
|
return r("coar.calendar.month.moreEvents", { count: e }, `${e} more events`);
|
|
4165
4241
|
}
|
|
4166
|
-
let Re = G(null), ze =
|
|
4242
|
+
let Re = G(null), ze = wr({
|
|
4167
4243
|
rootRef: b,
|
|
4168
4244
|
gridRef: x,
|
|
4169
4245
|
overlayEl: () => Re.value?.el ?? null,
|
|
@@ -4359,18 +4435,18 @@ var br = [
|
|
|
4359
4435
|
"aria-rowcount": ue.value.weekRows.length + 1,
|
|
4360
4436
|
"aria-colcount": 7
|
|
4361
4437
|
}, [
|
|
4362
|
-
I("div",
|
|
4363
|
-
R(
|
|
4438
|
+
I("div", Xr, J(X(A).message.value), 1),
|
|
4439
|
+
R(Jr, {
|
|
4364
4440
|
"weekday-headers": y.value,
|
|
4365
4441
|
"set-rows-el": S
|
|
4366
4442
|
}, {
|
|
4367
|
-
default: Q(() => [(W(!0), F(j, null, K(ue.value.weekRows, (r, a) => (W(), N(
|
|
4443
|
+
default: Q(() => [(W(!0), F(j, null, K(ue.value.weekRows, (r, a) => (W(), N(Wr, {
|
|
4368
4444
|
key: r.weekStart.toString(),
|
|
4369
4445
|
"height-px": X(Ce)[a],
|
|
4370
4446
|
density: s.value.density
|
|
4371
4447
|
}, {
|
|
4372
4448
|
default: Q(() => [
|
|
4373
|
-
(W(!0), F(j, null, K(r.days, (n, r) => (W(), N(
|
|
4449
|
+
(W(!0), F(j, null, K(r.days, (n, r) => (W(), N(Lr, {
|
|
4374
4450
|
key: n.toString(),
|
|
4375
4451
|
day: n,
|
|
4376
4452
|
"day-key": X(g)(n),
|
|
@@ -4391,14 +4467,14 @@ var br = [
|
|
|
4391
4467
|
onOverflowClick: i[0] ||= (e, t) => X(ze).toggle(t)
|
|
4392
4468
|
}, {
|
|
4393
4469
|
default: Q(() => [
|
|
4394
|
-
H.value && Pe(n).length ? (W(), F("div",
|
|
4470
|
+
H.value && Pe(n).length ? (W(), F("div", Zr, [(W(!0), F(j, null, K(Pe(n), (e) => (W(), F("button", Ue({
|
|
4395
4471
|
key: e.event.id,
|
|
4396
4472
|
type: "button",
|
|
4397
4473
|
class: "coar-month-view__segment",
|
|
4398
4474
|
style: { background: Ke(e.event) },
|
|
4399
4475
|
"aria-label": $e(e.event)
|
|
4400
|
-
}, Ze(et(e.event), !0)), null, 16,
|
|
4401
|
-
(W(!0), F(j, null, K(H.value ? [] : Pe(n), (e) => (W(), N(
|
|
4476
|
+
}, Ze(et(e.event), !0)), null, 16, Qr))), 128))])) : P("", !0),
|
|
4477
|
+
(W(!0), F(j, null, K(H.value ? [] : Pe(n), (e) => (W(), N(Or, Ue({ key: e.event.id }, { ref_for: !0 }, Z(e), Ze(et(e.event))), L({ _: 2 }, [t.$slots.pill || s.value.eventRenderer ? {
|
|
4402
4478
|
name: "default",
|
|
4403
4479
|
fn: Q(({ event: e, pill: n }) => [t.$slots.pill ? q(t.$slots, "pill", {
|
|
4404
4480
|
key: 0,
|
|
@@ -4418,7 +4494,7 @@ var br = [
|
|
|
4418
4494
|
}, null, 8, ["renderer", "ctx"])) : P("", !0)]),
|
|
4419
4495
|
key: "0"
|
|
4420
4496
|
} : void 0]), 1040))), 128)),
|
|
4421
|
-
X(E) && X(E).bars.length === 0 && X(E).pillCells.includes(X(g)(n)) ? (W(), N(
|
|
4497
|
+
X(E) && X(E).bars.length === 0 && X(E).pillCells.includes(X(g)(n)) ? (W(), N(Or, {
|
|
4422
4498
|
key: 1,
|
|
4423
4499
|
variant: "phantom",
|
|
4424
4500
|
event: X(E).event,
|
|
@@ -4438,7 +4514,7 @@ var br = [
|
|
|
4438
4514
|
"display-zone",
|
|
4439
4515
|
"density"
|
|
4440
4516
|
])) : P("", !0),
|
|
4441
|
-
X(D)(n) && X(C).draggedEvent.value ? (W(), N(
|
|
4517
|
+
X(D)(n) && X(C).draggedEvent.value ? (W(), N(Or, {
|
|
4442
4518
|
key: 2,
|
|
4443
4519
|
variant: "invalid",
|
|
4444
4520
|
event: X(C).draggedEvent.value,
|
|
@@ -4480,7 +4556,7 @@ var br = [
|
|
|
4480
4556
|
"onCellPointerdown",
|
|
4481
4557
|
"onCellDblclick"
|
|
4482
4558
|
]))), 128)),
|
|
4483
|
-
(W(!0), F(j, null, K(Te.value[a].visible, (e) => (W(), N(
|
|
4559
|
+
(W(!0), F(j, null, K(Te.value[a].visible, (e) => (W(), N(Mr, {
|
|
4484
4560
|
key: e.event.id,
|
|
4485
4561
|
event: e.event,
|
|
4486
4562
|
bar: e,
|
|
@@ -4562,7 +4638,7 @@ var br = [
|
|
|
4562
4638
|
"onStartResize",
|
|
4563
4639
|
"onEndResize"
|
|
4564
4640
|
]))), 128)),
|
|
4565
|
-
(W(!0), F(j, null, K(X(E) && X(E).bars.length > 0 ? X(E).bars.filter((e) => e.rowIndex === a) : [], (e) => (W(), N(
|
|
4641
|
+
(W(!0), F(j, null, K(X(E) && X(E).bars.length > 0 ? X(E).bars.filter((e) => e.rowIndex === a) : [], (e) => (W(), N(Mr, {
|
|
4566
4642
|
key: `phantom-${e.startCol}-${e.endCol}`,
|
|
4567
4643
|
variant: "phantom",
|
|
4568
4644
|
event: X(E).event,
|
|
@@ -4596,7 +4672,7 @@ var br = [
|
|
|
4596
4672
|
"clipped-start",
|
|
4597
4673
|
"clipped-end"
|
|
4598
4674
|
]))), 128)),
|
|
4599
|
-
X(ee) && X(ee).rowIndex === a && X(ee).isBar && X(C).draggedEvent.value ? (W(), N(
|
|
4675
|
+
X(ee) && X(ee).rowIndex === a && X(ee).isBar && X(C).draggedEvent.value ? (W(), N(Mr, {
|
|
4600
4676
|
key: 0,
|
|
4601
4677
|
variant: "invalid",
|
|
4602
4678
|
event: X(C).draggedEvent.value,
|
|
@@ -4632,7 +4708,7 @@ var br = [
|
|
|
4632
4708
|
}, 1032, ["height-px", "density"]))), 128))]),
|
|
4633
4709
|
_: 3
|
|
4634
4710
|
}, 8, ["weekday-headers"]),
|
|
4635
|
-
X(ze).day.value ? (W(), N(
|
|
4711
|
+
X(ze).day.value ? (W(), N(Ur, {
|
|
4636
4712
|
key: 0,
|
|
4637
4713
|
ref_key: "overlayRef",
|
|
4638
4714
|
ref: Re,
|
|
@@ -4647,7 +4723,7 @@ var br = [
|
|
|
4647
4723
|
"max-list-height": X(ze).position.value.maxListHeight,
|
|
4648
4724
|
onClose: i[1] ||= (e) => X(ze).close()
|
|
4649
4725
|
}, {
|
|
4650
|
-
default: Q(() => [(W(!0), F(j, null, K(We.value, (e) => (W(), F(j, { key: e.kind === "live" ? e.pill.event.id : `phantom-${e.event.id}` }, [e.kind === "live" ? (W(), N(
|
|
4726
|
+
default: Q(() => [(W(!0), F(j, null, K(We.value, (e) => (W(), F(j, { key: e.kind === "live" ? e.pill.event.id : `phantom-${e.event.id}` }, [e.kind === "live" ? (W(), N(Or, Ue({
|
|
4651
4727
|
key: 0,
|
|
4652
4728
|
ref_for: !0
|
|
4653
4729
|
}, Z(e.pill), Ze(et(e.pill.event))), L({ _: 2 }, [t.$slots.pill || s.value.eventRenderer ? {
|
|
@@ -4669,7 +4745,7 @@ var br = [
|
|
|
4669
4745
|
}
|
|
4670
4746
|
}, null, 8, ["renderer", "ctx"])) : P("", !0)]),
|
|
4671
4747
|
key: "0"
|
|
4672
|
-
} : void 0]), 1040)) : (W(), N(
|
|
4748
|
+
} : void 0]), 1040)) : (W(), N(Or, {
|
|
4673
4749
|
key: 1,
|
|
4674
4750
|
variant: "phantom",
|
|
4675
4751
|
event: e.event,
|
|
@@ -4701,9 +4777,9 @@ var br = [
|
|
|
4701
4777
|
"width",
|
|
4702
4778
|
"max-list-height"
|
|
4703
4779
|
])) : P("", !0)
|
|
4704
|
-
], 10,
|
|
4780
|
+
], 10, Yr));
|
|
4705
4781
|
}
|
|
4706
|
-
}), [["__scopeId", "data-v-
|
|
4782
|
+
}), [["__scopeId", "data-v-39ab87cb"]]), ei = ["data-month-key", "aria-label"], ti = { class: "coar-continuous-month-view__title" }, ni = 25, ri = 160, ii = /* @__PURE__ */ $(/* @__PURE__ */ z({
|
|
4707
4783
|
__name: "CoarContinuousMonthView",
|
|
4708
4784
|
props: { builder: {} },
|
|
4709
4785
|
setup(e, { expose: t }) {
|
|
@@ -4783,12 +4859,12 @@ var br = [
|
|
|
4783
4859
|
if (e.scrollTop < 320) {
|
|
4784
4860
|
_ = !0;
|
|
4785
4861
|
let t = m.value[0], n = l(t), r = S(n)?.getBoundingClientRect().top ?? 0, i = [...Array.from({ length: 6 }, (e, n) => t.subtract({ months: 6 - n })), ...m.value];
|
|
4786
|
-
i.length >
|
|
4862
|
+
i.length > ni && (i = i.slice(0, ni)), m.value = i, await We();
|
|
4787
4863
|
let a = S(n)?.getBoundingClientRect().top ?? r;
|
|
4788
4864
|
e.scrollTop += a - r, _ = !1;
|
|
4789
4865
|
} else if (e.scrollHeight - e.scrollTop - e.clientHeight < 640) {
|
|
4790
4866
|
_ = !0;
|
|
4791
|
-
let t = m.value.at(-1), n = [...m.value, ...Array.from({ length: 6 }, (e, n) => t.add({ months: n + 1 }))], r = Math.max(0, n.length -
|
|
4867
|
+
let t = m.value.at(-1), n = [...m.value, ...Array.from({ length: 6 }, (e, n) => t.add({ months: n + 1 }))], r = Math.max(0, n.length - ni), i = n[r], a = l(i), o = S(a)?.getBoundingClientRect().top ?? 0;
|
|
4792
4868
|
if (r > 0 && (n = n.slice(r)), m.value = n, await We(), r > 0) {
|
|
4793
4869
|
let t = S(a)?.getBoundingClientRect().top ?? o;
|
|
4794
4870
|
e.scrollTop += t - o;
|
|
@@ -4800,7 +4876,7 @@ var br = [
|
|
|
4800
4876
|
function D() {
|
|
4801
4877
|
cancelAnimationFrame(g), g = requestAnimationFrame(() => {
|
|
4802
4878
|
T(), te();
|
|
4803
|
-
}), y && clearTimeout(y), y = setTimeout(ee,
|
|
4879
|
+
}), y && clearTimeout(y), y = setTimeout(ee, ri);
|
|
4804
4880
|
}
|
|
4805
4881
|
return Z(() => n.builder.state.date.value, (e) => {
|
|
4806
4882
|
if (v) return;
|
|
@@ -4833,7 +4909,7 @@ var br = [
|
|
|
4833
4909
|
class: "coar-continuous-month-view__section",
|
|
4834
4910
|
"data-month-key": l(n),
|
|
4835
4911
|
"aria-label": f(n)
|
|
4836
|
-
}, [I("h2",
|
|
4912
|
+
}, [I("h2", ti, J(f(n)), 1), R($r, {
|
|
4837
4913
|
builder: e.builder,
|
|
4838
4914
|
month: n,
|
|
4839
4915
|
"manage-view-window": !1,
|
|
@@ -4846,12 +4922,12 @@ var br = [
|
|
|
4846
4922
|
name: "multiDayBar",
|
|
4847
4923
|
fn: Q((e) => [q(t.$slots, "multiDayBar", Ue({ ref_for: !0 }, e), void 0, !0)]),
|
|
4848
4924
|
key: "1"
|
|
4849
|
-
} : void 0]), 1032, ["builder", "month"])], 8,
|
|
4925
|
+
} : void 0]), 1032, ["builder", "month"])], 8, ei))), 128))], 2));
|
|
4850
4926
|
}
|
|
4851
|
-
}), [["__scopeId", "data-v-3f58c614"]]),
|
|
4927
|
+
}), [["__scopeId", "data-v-3f58c614"]]), ai = { class: "coar-agenda-event__default" }, oi = { class: "coar-agenda-event__time" }, si = { class: "coar-agenda-event__title" }, ci = {
|
|
4852
4928
|
key: 0,
|
|
4853
4929
|
class: "coar-agenda-event__continuation-tag"
|
|
4854
|
-
},
|
|
4930
|
+
}, li = /* @__PURE__ */ $(/* @__PURE__ */ z({
|
|
4855
4931
|
__name: "CoarAgendaEvent",
|
|
4856
4932
|
props: {
|
|
4857
4933
|
event: {},
|
|
@@ -4879,20 +4955,20 @@ var br = [
|
|
|
4879
4955
|
}, [q(t.$slots, "default", {
|
|
4880
4956
|
event: e.event,
|
|
4881
4957
|
item: e.item
|
|
4882
|
-
}, () => [I("div",
|
|
4958
|
+
}, () => [I("div", ai, [
|
|
4883
4959
|
I("span", {
|
|
4884
4960
|
class: "coar-agenda-event__color",
|
|
4885
4961
|
style: U({ background: e.color })
|
|
4886
4962
|
}, null, 4),
|
|
4887
|
-
I("span",
|
|
4888
|
-
I("span",
|
|
4963
|
+
I("span", oi, J(e.timeLabel), 1),
|
|
4964
|
+
I("span", si, [
|
|
4889
4965
|
R(vn, {
|
|
4890
4966
|
event: e.event,
|
|
4891
4967
|
"display-zone": e.displayZone,
|
|
4892
4968
|
size: "s"
|
|
4893
4969
|
}, null, 8, ["event", "display-zone"]),
|
|
4894
4970
|
Le(" " + J(e.title) + " ", 1),
|
|
4895
|
-
e.item.isContinuation ? (W(), F("span",
|
|
4971
|
+
e.item.isContinuation ? (W(), F("span", ci, J(e.continuationTag), 1)) : P("", !0)
|
|
4896
4972
|
]),
|
|
4897
4973
|
R(xn, {
|
|
4898
4974
|
event: e.event,
|
|
@@ -4901,20 +4977,20 @@ var br = [
|
|
|
4901
4977
|
}, null, 8, ["event"])
|
|
4902
4978
|
])], !0)], 34));
|
|
4903
4979
|
}
|
|
4904
|
-
}), [["__scopeId", "data-v-6d3c7042"]]),
|
|
4980
|
+
}), [["__scopeId", "data-v-6d3c7042"]]), ui = { class: "coar-month-list-view" }, di = { class: "coar-month-list-view__layout" }, fi = ["aria-label"], pi = { class: "coar-month-list-view__title" }, mi = {
|
|
4905
4981
|
class: "coar-month-list-view__weekdays",
|
|
4906
4982
|
"aria-hidden": "true"
|
|
4907
|
-
},
|
|
4983
|
+
}, hi = { class: "coar-month-list-view__grid" }, gi = ["aria-pressed", "onClick"], _i = {
|
|
4908
4984
|
key: 0,
|
|
4909
4985
|
class: "coar-month-list-view__markers",
|
|
4910
4986
|
"aria-hidden": "true"
|
|
4911
|
-
},
|
|
4987
|
+
}, vi = ["aria-label"], yi = { class: "coar-month-list-view__selected-title" }, bi = {
|
|
4912
4988
|
key: 0,
|
|
4913
4989
|
class: "coar-month-list-view__events"
|
|
4914
|
-
},
|
|
4990
|
+
}, xi = {
|
|
4915
4991
|
key: 1,
|
|
4916
4992
|
class: "coar-month-list-view__empty"
|
|
4917
|
-
},
|
|
4993
|
+
}, Si = /* @__PURE__ */ $(/* @__PURE__ */ z({
|
|
4918
4994
|
__name: "CoarMonthListView",
|
|
4919
4995
|
props: { builder: {} },
|
|
4920
4996
|
setup(e) {
|
|
@@ -4979,13 +5055,13 @@ var br = [
|
|
|
4979
5055
|
function C(e) {
|
|
4980
5056
|
return Xn(e, (e) => S.value.format(new Date(e)), n("coar.calendar.agenda.allDay", void 0, "All day"));
|
|
4981
5057
|
}
|
|
4982
|
-
return (t, r) => (W(), F("div",
|
|
5058
|
+
return (t, r) => (W(), F("div", ui, [I("div", di, [I("section", {
|
|
4983
5059
|
class: "coar-month-list-view__selector",
|
|
4984
5060
|
"aria-label": g.value
|
|
4985
5061
|
}, [
|
|
4986
|
-
I("h2",
|
|
4987
|
-
I("div",
|
|
4988
|
-
I("div",
|
|
5062
|
+
I("h2", pi, J(g.value), 1),
|
|
5063
|
+
I("div", mi, [(W(!0), F(j, null, K(f.value, (e) => (W(), F("span", { key: e }, J(e.slice(0, 2)), 1))), 128))]),
|
|
5064
|
+
I("div", hi, [(W(!0), F(j, null, K(l.value, (e) => (W(), F("button", {
|
|
4989
5065
|
key: e.toString(),
|
|
4990
5066
|
type: "button",
|
|
4991
5067
|
class: V(["coar-month-list-view__day", {
|
|
@@ -4995,14 +5071,14 @@ var br = [
|
|
|
4995
5071
|
}]),
|
|
4996
5072
|
"aria-pressed": y(e, s.value),
|
|
4997
5073
|
onClick: (t) => v(e)
|
|
4998
|
-
}, [I("span", null, J(e.day), 1), m.value.get(e.toString())?.length ? (W(), F("span",
|
|
5074
|
+
}, [I("span", null, J(e.day), 1), m.value.get(e.toString())?.length ? (W(), F("span", _i, [(W(!0), F(j, null, K(m.value.get(e.toString()).slice(0, 5), (e) => (W(), F("i", {
|
|
4999
5075
|
key: e.event.id,
|
|
5000
5076
|
style: U({ background: x(e.event) })
|
|
5001
|
-
}, null, 4))), 128))])) : P("", !0)], 10,
|
|
5002
|
-
], 8,
|
|
5077
|
+
}, null, 4))), 128))])) : P("", !0)], 10, gi))), 128))])
|
|
5078
|
+
], 8, fi), I("section", {
|
|
5003
5079
|
class: "coar-month-list-view__agenda",
|
|
5004
5080
|
"aria-label": s.value.toString()
|
|
5005
|
-
}, [I("h3",
|
|
5081
|
+
}, [I("h3", yi, J(_.value), 1), h.value.length ? (W(), F("div", bi, [(W(!0), F(j, null, K(h.value, (r) => (W(), N(li, {
|
|
5006
5082
|
key: `${r.date}:${r.event.id}`,
|
|
5007
5083
|
event: r.event,
|
|
5008
5084
|
item: r,
|
|
@@ -5028,9 +5104,9 @@ var br = [
|
|
|
5028
5104
|
"continuation-tag",
|
|
5029
5105
|
"display-zone",
|
|
5030
5106
|
"onPointerdown"
|
|
5031
|
-
]))), 128))])) : (W(), F("p",
|
|
5107
|
+
]))), 128))])) : (W(), F("p", xi, J(X(n)("coar.calendar.monthList.empty", void 0, "No events")), 1))], 8, vi)])]));
|
|
5032
5108
|
}
|
|
5033
|
-
}), [["__scopeId", "data-v-4b042746"]]),
|
|
5109
|
+
}), [["__scopeId", "data-v-4b042746"]]), Ci = ["data-y"], wi = /* @__PURE__ */ $(/* @__PURE__ */ z({
|
|
5034
5110
|
__name: "VirtualizedSurface1DY",
|
|
5035
5111
|
props: {
|
|
5036
5112
|
itemCount: {},
|
|
@@ -5187,12 +5263,12 @@ var br = [
|
|
|
5187
5263
|
class: "coar-virtualized-surface-1dy__item",
|
|
5188
5264
|
style: U({ transform: `translateY(${h(t)}px)` }),
|
|
5189
5265
|
"data-y": t
|
|
5190
|
-
}, [q(e.$slots, "item", { y: t }, void 0, !0)], 12,
|
|
5266
|
+
}, [q(e.$slots, "item", { y: t }, void 0, !0)], 12, Ci)), [[C, t]])), 128))], 4)], 544));
|
|
5191
5267
|
}
|
|
5192
|
-
}), [["__scopeId", "data-v-03aa2532"]]),
|
|
5268
|
+
}), [["__scopeId", "data-v-03aa2532"]]), Ti = ["role", "aria-level"], Ei = { class: "coar-agenda-day-header__label" }, Di = {
|
|
5193
5269
|
key: 0,
|
|
5194
5270
|
class: "coar-agenda-day-header__today"
|
|
5195
|
-
},
|
|
5271
|
+
}, Oi = /* @__PURE__ */ $(/* @__PURE__ */ z({
|
|
5196
5272
|
__name: "CoarAgendaDayHeader",
|
|
5197
5273
|
props: {
|
|
5198
5274
|
date: {},
|
|
@@ -5229,27 +5305,27 @@ var br = [
|
|
|
5229
5305
|
date: e.date,
|
|
5230
5306
|
item: e.item,
|
|
5231
5307
|
isToday: e.isToday
|
|
5232
|
-
}, () => [I("span",
|
|
5308
|
+
}, () => [I("span", Ei, J(e.label), 1), e.isToday ? (W(), F("span", Di, J(e.todayLabel), 1)) : P("", !0)], !0)], 46, Ti));
|
|
5233
5309
|
}
|
|
5234
|
-
}), [["__scopeId", "data-v-663a95fb"]]),
|
|
5310
|
+
}), [["__scopeId", "data-v-663a95fb"]]), ki = ["aria-label"], Ai = {
|
|
5235
5311
|
key: 0,
|
|
5236
5312
|
class: "coar-agenda-view__week-strip"
|
|
5237
|
-
},
|
|
5313
|
+
}, ji = {
|
|
5238
5314
|
key: 0,
|
|
5239
5315
|
class: "coar-agenda-view__week-strip-start"
|
|
5240
|
-
},
|
|
5316
|
+
}, Mi = ["aria-label"], Ni = [
|
|
5241
5317
|
"aria-selected",
|
|
5242
5318
|
"aria-label",
|
|
5243
5319
|
"onClick"
|
|
5244
|
-
],
|
|
5320
|
+
], Pi = { class: "coar-agenda-view__week-day-name" }, Fi = { class: "coar-agenda-view__week-day-number" }, Ii = {
|
|
5245
5321
|
key: 1,
|
|
5246
5322
|
class: "coar-agenda-view__week-strip-end"
|
|
5247
|
-
},
|
|
5323
|
+
}, Li = {
|
|
5248
5324
|
key: 2,
|
|
5249
5325
|
class: "coar-agenda-view__empty",
|
|
5250
5326
|
role: "status",
|
|
5251
5327
|
"aria-live": "polite"
|
|
5252
|
-
},
|
|
5328
|
+
}, Ri = /* @__PURE__ */ $(/* @__PURE__ */ z({
|
|
5253
5329
|
__name: "CoarAgendaView",
|
|
5254
5330
|
props: {
|
|
5255
5331
|
builder: {},
|
|
@@ -5415,8 +5491,8 @@ var br = [
|
|
|
5415
5491
|
role: "region",
|
|
5416
5492
|
"aria-label": X(r)("coar.calendar.agenda.viewLabel", void 0, "Agenda view")
|
|
5417
5493
|
}, [
|
|
5418
|
-
e.view === "dayAgenda" ? (W(), F("div",
|
|
5419
|
-
t.$slots.weekStripStart ? (W(), F("div",
|
|
5494
|
+
e.view === "dayAgenda" ? (W(), F("div", Ai, [
|
|
5495
|
+
t.$slots.weekStripStart ? (W(), F("div", ji, [q(t.$slots, "weekStripStart", H(B(_.value)), void 0, !0)])) : P("", !0),
|
|
5420
5496
|
I("div", {
|
|
5421
5497
|
class: "coar-agenda-view__week-days",
|
|
5422
5498
|
role: "tablist",
|
|
@@ -5432,10 +5508,10 @@ var br = [
|
|
|
5432
5508
|
"aria-selected": X(u).PlainDate.compare(e, p.value) === 0,
|
|
5433
5509
|
"aria-label": D(e.toString()),
|
|
5434
5510
|
onClick: (t) => ie(t, e)
|
|
5435
|
-
}, [I("span",
|
|
5436
|
-
t.$slots.weekStripEnd ? (W(), F("div",
|
|
5511
|
+
}, [I("span", Pi, J(O(e)), 1), I("span", Fi, J(e.day), 1)], 10, Ni))), 128))], 8, Mi),
|
|
5512
|
+
t.$slots.weekStripEnd ? (W(), F("div", Ii, [q(t.$slots, "weekStripEnd", H(B(_.value)), void 0, !0)])) : P("", !0)
|
|
5437
5513
|
])) : P("", !0),
|
|
5438
|
-
_e.value && e.view !== "dayAgenda" ? (W(), N(
|
|
5514
|
+
_e.value && e.view !== "dayAgenda" ? (W(), N(Oi, {
|
|
5439
5515
|
key: 1,
|
|
5440
5516
|
ref: "overlayEl",
|
|
5441
5517
|
floating: "",
|
|
@@ -5458,7 +5534,7 @@ var br = [
|
|
|
5458
5534
|
"today-label",
|
|
5459
5535
|
"transform"
|
|
5460
5536
|
])) : P("", !0),
|
|
5461
|
-
R(
|
|
5537
|
+
R(wi, {
|
|
5462
5538
|
ref: "surface",
|
|
5463
5539
|
role: "list",
|
|
5464
5540
|
"aria-label": X(r)("coar.calendar.agenda.listLabel", void 0, "Agenda"),
|
|
@@ -5467,7 +5543,7 @@ var br = [
|
|
|
5467
5543
|
overscan: e.overscan,
|
|
5468
5544
|
class: "coar-agenda-view__surface"
|
|
5469
5545
|
}, {
|
|
5470
|
-
item: Q(({ y: e }) => [w.value[e].kind === "header" ? (W(), N(
|
|
5546
|
+
item: Q(({ y: e }) => [w.value[e].kind === "header" ? (W(), N(Oi, {
|
|
5471
5547
|
key: 0,
|
|
5472
5548
|
date: X(u).PlainDate.from(w.value[e].date),
|
|
5473
5549
|
item: w.value[e],
|
|
@@ -5486,7 +5562,7 @@ var br = [
|
|
|
5486
5562
|
"label",
|
|
5487
5563
|
"today-label",
|
|
5488
5564
|
"onPointerdown"
|
|
5489
|
-
])) : (W(), N(
|
|
5565
|
+
])) : (W(), N(li, {
|
|
5490
5566
|
key: 1,
|
|
5491
5567
|
event: w.value[e].event,
|
|
5492
5568
|
item: w.value[e],
|
|
@@ -5532,19 +5608,19 @@ var br = [
|
|
|
5532
5608
|
"estimated-item-size",
|
|
5533
5609
|
"overscan"
|
|
5534
5610
|
]),
|
|
5535
|
-
t.$slots.empty && C.value ? (W(), F("div",
|
|
5536
|
-
], 10,
|
|
5611
|
+
t.$slots.empty && C.value ? (W(), F("div", Li, [q(t.$slots, "empty", {}, void 0, !0)])) : P("", !0)
|
|
5612
|
+
], 10, ki));
|
|
5537
5613
|
}
|
|
5538
|
-
}), [["__scopeId", "data-v-fd057a12"]]),
|
|
5614
|
+
}), [["__scopeId", "data-v-fd057a12"]]), zi = { class: "coar-timeline-view__date-axis" }, Bi = {
|
|
5539
5615
|
key: 1,
|
|
5540
5616
|
class: "coar-timeline-view__date-label"
|
|
5541
|
-
},
|
|
5617
|
+
}, Vi = { class: "coar-timeline-view__label-column" }, Hi = ["title"], Ui = ["title"], Wi = { class: "coar-timeline-view__day-grid-bg" }, Gi = [
|
|
5542
5618
|
"aria-label",
|
|
5543
5619
|
"onClick",
|
|
5544
5620
|
"onDblclick",
|
|
5545
5621
|
"onPointerenter",
|
|
5546
5622
|
"onPointerleave"
|
|
5547
|
-
],
|
|
5623
|
+
], Ki = 8, qi = /* @__PURE__ */ $(/* @__PURE__ */ z({
|
|
5548
5624
|
__name: "CoarTimelineView",
|
|
5549
5625
|
props: { builder: {} },
|
|
5550
5626
|
setup(e, { expose: t }) {
|
|
@@ -5668,7 +5744,7 @@ var br = [
|
|
|
5668
5744
|
let ae = M(() => {
|
|
5669
5745
|
let e = l.value.rows, t = a.value.rowHeight;
|
|
5670
5746
|
if (t <= 0 || e.length === 0 || O.value <= 0) return e;
|
|
5671
|
-
let n = t, r = re.value - n, i = re.value + O.value - n, o = Math.max(0, Math.floor(r / t) -
|
|
5747
|
+
let n = t, r = re.value - n, i = re.value + O.value - n, o = Math.max(0, Math.floor(r / t) - Ki), s = Math.min(e.length - 1, Math.ceil(i / t) + Ki);
|
|
5672
5748
|
return o > s ? [] : e.slice(o, s + 1);
|
|
5673
5749
|
}), A = M(() => ({
|
|
5674
5750
|
width: `${a.value.labelWidth + l.value.totalWidth}px`,
|
|
@@ -5689,7 +5765,7 @@ var br = [
|
|
|
5689
5765
|
style: U(A.value)
|
|
5690
5766
|
}, [
|
|
5691
5767
|
t[0] ||= I("div", { class: "coar-timeline-view__corner" }, [I("span", { class: "coar-timeline-view__corner-title" }, "Event")], -1),
|
|
5692
|
-
I("div",
|
|
5768
|
+
I("div", zi, [(W(!0), F(j, null, K(d.value, (t) => (W(), F("div", {
|
|
5693
5769
|
key: t.toString(),
|
|
5694
5770
|
class: V(["coar-timeline-view__date-cell", {
|
|
5695
5771
|
"coar-timeline-view__date-cell--today": p(t),
|
|
@@ -5704,8 +5780,8 @@ var br = [
|
|
|
5704
5780
|
date: t,
|
|
5705
5781
|
isToday: p(t),
|
|
5706
5782
|
isWeekend: m(t)
|
|
5707
|
-
}, void 0, !0) : (W(), F("span",
|
|
5708
|
-
I("div",
|
|
5783
|
+
}, void 0, !0) : (W(), F("span", Bi, J(g(t)), 1))], 6))), 128))]),
|
|
5784
|
+
I("div", Vi, [I("div", {
|
|
5709
5785
|
class: "coar-timeline-view__label-inner",
|
|
5710
5786
|
style: U({ height: `${Math.max(l.value.totalHeight, a.value.rowHeight)}px` })
|
|
5711
5787
|
}, [(W(!0), F(j, null, K(ae.value, (t) => (W(), F("div", {
|
|
@@ -5722,18 +5798,18 @@ var br = [
|
|
|
5722
5798
|
}, void 0, !0) : (W(), F(j, { key: 1 }, [I("span", {
|
|
5723
5799
|
class: "coar-timeline-view__label-text",
|
|
5724
5800
|
title: _(t.bars[0].event)
|
|
5725
|
-
}, J(_(t.bars[0].event)), 9,
|
|
5801
|
+
}, J(_(t.bars[0].event)), 9, Hi), t.isRecurring ? (W(), F("span", {
|
|
5726
5802
|
key: 0,
|
|
5727
5803
|
class: "coar-timeline-view__label-count",
|
|
5728
5804
|
title: `${t.bars.length} occurrences`
|
|
5729
|
-
}, " ×" + J(t.bars.length), 9,
|
|
5805
|
+
}, " ×" + J(t.bars.length), 9, Ui)) : P("", !0)], 64))], 6))), 128))], 4)]),
|
|
5730
5806
|
I("div", {
|
|
5731
5807
|
class: "coar-timeline-view__bars-area",
|
|
5732
5808
|
style: U({
|
|
5733
5809
|
width: `${l.value.totalWidth}px`,
|
|
5734
5810
|
height: `${Math.max(l.value.totalHeight, a.value.rowHeight)}px`
|
|
5735
5811
|
})
|
|
5736
|
-
}, [I("div",
|
|
5812
|
+
}, [I("div", Wi, [(W(!0), F(j, null, K(d.value, (e) => (W(), F("div", {
|
|
5737
5813
|
key: e.toString(),
|
|
5738
5814
|
class: V(["coar-timeline-view__day-grid-cell", { "coar-timeline-view__day-grid-cell--weekend": m(e) }]),
|
|
5739
5815
|
style: U({
|
|
@@ -5764,13 +5840,13 @@ var br = [
|
|
|
5764
5840
|
row: t,
|
|
5765
5841
|
bar: n,
|
|
5766
5842
|
event: n.event
|
|
5767
|
-
}, void 0, !0) : P("", !0)], 46,
|
|
5843
|
+
}, void 0, !0) : P("", !0)], 46, Gi))), 128))], 64))), 128))], 4)
|
|
5768
5844
|
], 4)], 34));
|
|
5769
5845
|
}
|
|
5770
|
-
}), [["__scopeId", "data-v-08f29772"]]),
|
|
5846
|
+
}), [["__scopeId", "data-v-08f29772"]]), Ji = ["aria-label"], Yi = ["onClick"], Xi = {
|
|
5771
5847
|
class: "coar-year-view__weekdays",
|
|
5772
5848
|
"aria-hidden": "true"
|
|
5773
|
-
},
|
|
5849
|
+
}, Zi = { class: "coar-year-view__days" }, Qi = ["tabindex", "onClick"], $i = /* @__PURE__ */ $(/* @__PURE__ */ z({
|
|
5774
5850
|
__name: "CoarYearView",
|
|
5775
5851
|
props: { builder: {} },
|
|
5776
5852
|
setup(e) {
|
|
@@ -5812,9 +5888,9 @@ var br = [
|
|
|
5812
5888
|
class: "coar-year-view__month-title",
|
|
5813
5889
|
type: "button",
|
|
5814
5890
|
onClick: (t) => f(e.first)
|
|
5815
|
-
}, J(e.label), 9,
|
|
5816
|
-
I("div",
|
|
5817
|
-
I("div",
|
|
5891
|
+
}, J(e.label), 9, Yi),
|
|
5892
|
+
I("div", Xi, [(W(!0), F(j, null, K(l.value, (e, t) => (W(), F("span", { key: t }, J(e), 1))), 128))]),
|
|
5893
|
+
I("div", Zi, [(W(!0), F(j, null, K(e.days, (t) => (W(), F("button", {
|
|
5818
5894
|
key: t.toString(),
|
|
5819
5895
|
type: "button",
|
|
5820
5896
|
class: V(["coar-year-view__day", {
|
|
@@ -5823,19 +5899,19 @@ var br = [
|
|
|
5823
5899
|
}]),
|
|
5824
5900
|
tabindex: t.month === e.first.month ? 0 : -1,
|
|
5825
5901
|
onClick: (e) => f(t)
|
|
5826
|
-
}, J(t.day), 11,
|
|
5827
|
-
]))), 128))], 8,
|
|
5902
|
+
}, J(t.day), 11, Qi))), 128))])
|
|
5903
|
+
]))), 128))], 8, Ji));
|
|
5828
5904
|
}
|
|
5829
|
-
}), [["__scopeId", "data-v-bf8ce1e3"]]),
|
|
5905
|
+
}), [["__scopeId", "data-v-bf8ce1e3"]]), ea = { class: "coar-calendar__header" }, ta = { class: "coar-calendar__nav" }, na = { class: "coar-calendar__range-label" }, ra = {
|
|
5830
5906
|
key: 0,
|
|
5831
5907
|
class: "coar-calendar__view-switcher"
|
|
5832
|
-
},
|
|
5908
|
+
}, ia = {
|
|
5833
5909
|
key: 1,
|
|
5834
5910
|
class: "coar-calendar__mode-switcher"
|
|
5835
|
-
},
|
|
5911
|
+
}, aa = {
|
|
5836
5912
|
key: 2,
|
|
5837
5913
|
class: "coar-calendar__mode-switcher"
|
|
5838
|
-
},
|
|
5914
|
+
}, oa = 100, sa = /* @__PURE__ */ $(/* @__PURE__ */ z({
|
|
5839
5915
|
__name: "CoarCalendar",
|
|
5840
5916
|
props: {
|
|
5841
5917
|
builder: {},
|
|
@@ -5961,7 +6037,7 @@ var br = [
|
|
|
5961
6037
|
let i = performance.now(), a = ++te;
|
|
5962
6038
|
function o(t) {
|
|
5963
6039
|
if (a !== te) return;
|
|
5964
|
-
let s = Math.min(1, (t - i) /
|
|
6040
|
+
let s = Math.min(1, (t - i) / oa);
|
|
5965
6041
|
e.scrollTop = n + r * (1 - (1 - s) ** 3), s < 1 && requestAnimationFrame(o);
|
|
5966
6042
|
}
|
|
5967
6043
|
requestAnimationFrame(o);
|
|
@@ -5987,9 +6063,9 @@ var br = [
|
|
|
5987
6063
|
cursor: c.value,
|
|
5988
6064
|
range: f.value,
|
|
5989
6065
|
controls: T.value
|
|
5990
|
-
}, () => [I("header",
|
|
6066
|
+
}, () => [I("header", ea, [
|
|
5991
6067
|
q(e.$slots, "headerStart", { controls: T.value }, void 0, !0),
|
|
5992
|
-
I("div",
|
|
6068
|
+
I("div", ta, [
|
|
5993
6069
|
R(X(at), {
|
|
5994
6070
|
variant: "secondary",
|
|
5995
6071
|
size: "s",
|
|
@@ -6013,9 +6089,9 @@ var br = [
|
|
|
6013
6089
|
onClick: m
|
|
6014
6090
|
}, null, 8, ["aria-label"])
|
|
6015
6091
|
]),
|
|
6016
|
-
I("span",
|
|
6092
|
+
I("span", na, J(_.value), 1),
|
|
6017
6093
|
i[3] ||= I("span", { class: "coar-calendar__spacer" }, null, -1),
|
|
6018
|
-
t.hideViewSwitcher ? P("", !0) : (W(), F("div",
|
|
6094
|
+
t.hideViewSwitcher ? P("", !0) : (W(), F("div", ra, [q(e.$slots, "viewSwitcher", {
|
|
6019
6095
|
view: X(r),
|
|
6020
6096
|
available: n.value.availableViews,
|
|
6021
6097
|
setView: g
|
|
@@ -6030,13 +6106,13 @@ var br = [
|
|
|
6030
6106
|
"options",
|
|
6031
6107
|
"aria-label"
|
|
6032
6108
|
])], !0)])),
|
|
6033
|
-
!t.hideModeSwitcher && b.value === "month" && x.value.length > 1 ? (W(), F("div",
|
|
6109
|
+
!t.hideModeSwitcher && b.value === "month" && x.value.length > 1 ? (W(), F("div", ia, [R(X(st), {
|
|
6034
6110
|
modelValue: S.value,
|
|
6035
6111
|
"onUpdate:modelValue": i[1] ||= (e) => S.value = e,
|
|
6036
6112
|
options: x.value,
|
|
6037
6113
|
size: "xs",
|
|
6038
6114
|
"aria-label": "Month display"
|
|
6039
|
-
}, null, 8, ["modelValue", "options"])])) : !t.hideModeSwitcher && b.value === "day" && C.value.length > 1 ? (W(), F("div",
|
|
6115
|
+
}, null, 8, ["modelValue", "options"])])) : !t.hideModeSwitcher && b.value === "day" && C.value.length > 1 ? (W(), F("div", aa, [R(X(st), {
|
|
6040
6116
|
modelValue: w.value,
|
|
6041
6117
|
"onUpdate:modelValue": i[2] ||= (e) => w.value = e,
|
|
6042
6118
|
options: C.value,
|
|
@@ -6059,7 +6135,7 @@ var br = [
|
|
|
6059
6135
|
name: "dayHeader",
|
|
6060
6136
|
fn: Q((t) => [q(e.$slots, "dayHeader", H(B(t)), void 0, !0)]),
|
|
6061
6137
|
key: "1"
|
|
6062
|
-
} : void 0]), 1032, ["builder"])) : X(r) === "dayAgenda" ? (W(), N(
|
|
6138
|
+
} : void 0]), 1032, ["builder"])) : X(r) === "dayAgenda" ? (W(), N(Ri, {
|
|
6063
6139
|
key: 1,
|
|
6064
6140
|
ref: "agendaView",
|
|
6065
6141
|
builder: t.builder,
|
|
@@ -6118,7 +6194,7 @@ var br = [
|
|
|
6118
6194
|
fn: Q((t) => [q(e.$slots, "dayHeader", H(B(t)), void 0, !0)]),
|
|
6119
6195
|
key: "2"
|
|
6120
6196
|
} : void 0
|
|
6121
|
-
]), 1032, ["builder"])) : X(r) === "month" ? (W(), N(
|
|
6197
|
+
]), 1032, ["builder"])) : X(r) === "month" ? (W(), N(ii, {
|
|
6122
6198
|
key: 4,
|
|
6123
6199
|
builder: t.builder
|
|
6124
6200
|
}, L({ _: 2 }, [e.$slots.pill || e.$slots.event ? {
|
|
@@ -6139,14 +6215,14 @@ var br = [
|
|
|
6139
6215
|
layout: t.bar
|
|
6140
6216
|
}, void 0, !0)]),
|
|
6141
6217
|
key: "1"
|
|
6142
|
-
} : void 0]), 1032, ["builder"])) : X(r) === "monthList" ? (W(), N(
|
|
6218
|
+
} : void 0]), 1032, ["builder"])) : X(r) === "monthList" ? (W(), N(Si, {
|
|
6143
6219
|
key: 5,
|
|
6144
6220
|
builder: t.builder
|
|
6145
6221
|
}, L({ _: 2 }, [e.$slots.event ? {
|
|
6146
6222
|
name: "event",
|
|
6147
6223
|
fn: Q((t) => [q(e.$slots, "event", Ue(t, { view: X(r) }), void 0, !0)]),
|
|
6148
6224
|
key: "0"
|
|
6149
|
-
} : void 0]), 1032, ["builder"])) : X(r) === "agenda" ? (W(), N(
|
|
6225
|
+
} : void 0]), 1032, ["builder"])) : X(r) === "agenda" ? (W(), N(Ri, {
|
|
6150
6226
|
key: 6,
|
|
6151
6227
|
ref: "agendaView",
|
|
6152
6228
|
builder: t.builder
|
|
@@ -6158,7 +6234,7 @@ var br = [
|
|
|
6158
6234
|
name: "empty",
|
|
6159
6235
|
fn: Q(() => [q(e.$slots, "agendaEmpty", {}, void 0, !0)]),
|
|
6160
6236
|
key: "1"
|
|
6161
|
-
} : void 0]), 1032, ["builder"])) : X(r) === "timeline" ? (W(), N(
|
|
6237
|
+
} : void 0]), 1032, ["builder"])) : X(r) === "timeline" ? (W(), N(qi, {
|
|
6162
6238
|
key: 7,
|
|
6163
6239
|
builder: t.builder
|
|
6164
6240
|
}, L({ _: 2 }, [e.$slots.event ? {
|
|
@@ -6168,12 +6244,12 @@ var br = [
|
|
|
6168
6244
|
view: X(r)
|
|
6169
6245
|
}, void 0, !0)]),
|
|
6170
6246
|
key: "0"
|
|
6171
|
-
} : void 0]), 1032, ["builder"])) : X(r) === "year" ? (W(), N(
|
|
6247
|
+
} : void 0]), 1032, ["builder"])) : X(r) === "year" ? (W(), N($i, {
|
|
6172
6248
|
key: 8,
|
|
6173
6249
|
builder: t.builder
|
|
6174
6250
|
}, null, 8, ["builder"])) : P("", !0)], 2)], 2));
|
|
6175
6251
|
}
|
|
6176
|
-
}), [["__scopeId", "data-v-76deec08"]]),
|
|
6252
|
+
}), [["__scopeId", "data-v-76deec08"]]), ca = /* @__PURE__ */ z({
|
|
6177
6253
|
__name: "CoarDisplayZoneSwitcher",
|
|
6178
6254
|
props: {
|
|
6179
6255
|
modelValue: {},
|
|
@@ -6259,7 +6335,7 @@ var br = [
|
|
|
6259
6335
|
"aria-label"
|
|
6260
6336
|
]));
|
|
6261
6337
|
}
|
|
6262
|
-
}),
|
|
6338
|
+
}), la = ["data-x", "data-y"], ua = /* @__PURE__ */ $(/* @__PURE__ */ z({
|
|
6263
6339
|
__name: "VirtualizedSurface2D",
|
|
6264
6340
|
props: {
|
|
6265
6341
|
itemCountX: {},
|
|
@@ -6341,9 +6417,9 @@ var br = [
|
|
|
6341
6417
|
}, [q(e.$slots, "cell", {
|
|
6342
6418
|
x: t.x,
|
|
6343
6419
|
y: t.y
|
|
6344
|
-
}, void 0, !0)], 12,
|
|
6420
|
+
}, void 0, !0)], 12, la))), 128))], 4)], 544));
|
|
6345
6421
|
}
|
|
6346
|
-
}), [["__scopeId", "data-v-fbba32db"]]),
|
|
6422
|
+
}), [["__scopeId", "data-v-fbba32db"]]), da = {
|
|
6347
6423
|
en: {
|
|
6348
6424
|
"coar.calendar.nav.today": "Today",
|
|
6349
6425
|
"coar.calendar.nav.previous": "Previous",
|
|
@@ -6439,11 +6515,11 @@ var br = [
|
|
|
6439
6515
|
"coar.calendar.a11y.eventMovedTo": "{title} verschoben auf {when}"
|
|
6440
6516
|
}
|
|
6441
6517
|
};
|
|
6442
|
-
function
|
|
6518
|
+
function fa() {
|
|
6443
6519
|
return { load(e) {
|
|
6444
|
-
let t =
|
|
6520
|
+
let t = da[e.split("-")[0].toLowerCase()];
|
|
6445
6521
|
return Promise.resolve(t ? { ...t } : null);
|
|
6446
6522
|
} };
|
|
6447
6523
|
}
|
|
6448
6524
|
//#endregion
|
|
6449
|
-
export { It as CalendarBuilder,
|
|
6525
|
+
export { It as CalendarBuilder, Ri as CoarAgendaView, sa as CoarCalendar, ii as CoarContinuousMonthView, cr as CoarDayView, ca as CoarDisplayZoneSwitcher, Si as CoarMonthListView, $r as CoarMonthView, ir as CoarTimeGrid, qi as CoarTimelineView, lr as CoarWeekView, ur as CoarWorkWeekView, $i as CoarYearView, ee as DEFAULT_ALL_DAY_MAX_VISIBLE_LANES, te as DEFAULT_TIMED_EVENT_DETAIL_MIN_WIDTH, _e as DEFAULT_WORK_DAYS, s as DstResolutionError, r as MIN_RESIZE_MINUTES, ve as MONTH_COMPACT_VISIBLE_PILLS, je as MONTH_DEFAULT_MAX_VISIBLE_LANES, le as MONTH_STACKED_VISIBLE_PILLS, Se as MeasurementCache, m as TIME_GRID_PRESETS, u as Temporal, wi as VirtualizedSurface1DY, ua as VirtualizedSurface2D, d as allDayBandLanes, a as applyMoveToEvent, ce as buildAgendaItems, n as buildDropPayload, ne as buildFormatOptions, da as calendarMessages, Ne as capAllDayBand, de as capMonthCellPills, we as capMonthRowLanes, Ee as computeAnchorAdjustment, ke as computeAutoScrollVelocity, l as computeViewWindow, Pe as contentAwareCascadeFrames, fa as createCalendarTranslationSource, g as dateKey, ge as daysInWindow, D as detectBrowserTimezone, e as detectDstSituation, re as detectFirstDayOfWeekFromLocale, h as detectHour12FromLocale, y as endOfMonth, Te as endOfWeek, Fe as eventInkColor, v as eventStartDateInZone, se as eventTextColor, f as formatRangeLabel, ie as formatScheduledTime, zt as getEventZoneHints, me as getVisibleRange1D, A as getVisibleRange2D, be as hitTestVerticalSurface, i as isAllDayEvent, o as isTimedEvent, O as isoWeekNumber, fe as layoutAllDayBand, ae as layoutDayEvents, ye as layoutMonthGrid, Me as layoutOverlappingIntervals, Oe as layoutTimeline, k as localizedWeekdayNames, pe as monthCellPillLimit, T as monthGridDates, x as navigateCursor, c as nowInZone, ue as parsePlainDate, Ae as parseScheduledTime, _ as resolveSpanDays, b as resolveTimeGridRange, p as resolveTimedCardAnatomy, C as responsiveDayColumnCount, xe as startOfMonth, De as startOfWeek, E as timeGridRangeSpecFor, Ie as timeGridStepDays, he as todayInZone, Jt as useA11yAnnouncer, ln as useAgendaView, Lt as useCalendar, Kt as useCalendarDnd, Ht as useCoarDrag, an as useDayView, rn as useMonthDnd, cn as useMonthView, nn as useTimeGridDnd, tn as useTimeGridSwipe, un as useTimelineView, Vt as useViewWindow, on as useWeekView, sn as useWorkWeekView, t as validateCalendarEvent, oe as weekDates, S as windowContainsDate, w as windowDayCount, Ce as workWeekDates };
|