@cocoar/vue-calendar 2.15.0 → 2.16.0
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoarTimeGridEvent.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/internal/time-grid/CoarTimeGridEvent.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CoarTimeGridEvent.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/internal/time-grid/CoarTimeGridEvent.vue"],"names":[],"mappings":"AAmXA,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;yBAGnD,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/E,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WA+RO,mBAAmB,CAAC;;;;;;;eA3RjB,aAAa,CAAC,KAAK,CAAC;oBACf,eAAe,CAAC,KAAK,CAAC;kBACxB,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS;YAChD,MAAM;gBACF,MAAM;eACP,MAAM;QACb,6EAA6E;sBAC/D,MAAM;oBACR,MAAM;uBACH,OAAO;kBACZ,aAAa,GAAG,SAAS,GAAG,UAAU;QAEhD,+CAA+C;aAC1C,MAAM;QACX,gCAAgC;gBACxB,MAAM;QACd,+DAA+D;cACzD,MAAM;QACZ,gEAAgE;eACzD,MAAM;QACb,gEAAgE;gBACxD,MAAM;qBAED,OAAO;wBACJ,OAAO;QAEvB;;;;;;;;;WASG;oBACS,OAAO;mBAuPuE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;uBA/NM;YACb,KAAK,EAAE,aAAa,CAAC,KAAK,CAAC,CAAC;YAC5B,UAAU,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC;SACpC,GAAG,OAAO;;uBAHI;YACb,KAAK,EAAE,aAAa,CAAC,KAAK,CAAC,CAAC;YAC5B,UAAU,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC;SACpC,GAAG,OAAO;;;EAgOT,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AA1SzE,wBA0S4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1587,10 +1587,14 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
1587
1587
|
"role",
|
|
1588
1588
|
"aria-label",
|
|
1589
1589
|
"aria-hidden"
|
|
1590
|
-
], Dt = {
|
|
1591
|
-
key:
|
|
1590
|
+
], Dt = {
|
|
1591
|
+
key: 0,
|
|
1592
|
+
class: "coar-time-grid-event__point-edge",
|
|
1593
|
+
"aria-hidden": "true"
|
|
1594
|
+
}, Ot = { class: "coar-time-grid-event__default" }, kt = { class: "coar-time-grid-event__title-row" }, At = { class: "coar-time-grid-event__title" }, jt = {
|
|
1595
|
+
key: 3,
|
|
1592
1596
|
class: "coar-time-grid-event__default"
|
|
1593
|
-
},
|
|
1597
|
+
}, Mt = { class: "coar-time-grid-event__title-row" }, Nt = { class: "coar-time-grid-event__title" }, Pt = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
1594
1598
|
__name: "CoarTimeGridEvent",
|
|
1595
1599
|
props: {
|
|
1596
1600
|
event: {},
|
|
@@ -1632,20 +1636,20 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
1632
1636
|
"endResize"
|
|
1633
1637
|
],
|
|
1634
1638
|
setup(e, { emit: t }) {
|
|
1635
|
-
let n = e, r = t, i = M(() => n.variant === "live" || n.variant === "preview" && n.kbdActive), a = M(() => n.variant === "live" || n.variant === "preview");
|
|
1636
|
-
function
|
|
1639
|
+
let n = e, r = t, i = M(() => n.variant === "live" || n.variant === "preview" && n.kbdActive), a = M(() => n.event.end == null), o = M(() => n.variant === "live" || n.variant === "preview");
|
|
1640
|
+
function s(e) {
|
|
1637
1641
|
i.value && r("pointerdown", e);
|
|
1638
1642
|
}
|
|
1639
|
-
function
|
|
1643
|
+
function c(e) {
|
|
1640
1644
|
i.value && r("keydown", e);
|
|
1641
1645
|
}
|
|
1642
|
-
function
|
|
1646
|
+
function l(e) {
|
|
1643
1647
|
i.value && (e.stopPropagation(), r("dblclick", e));
|
|
1644
1648
|
}
|
|
1645
|
-
function
|
|
1649
|
+
function u(e) {
|
|
1646
1650
|
e.stopPropagation(), r("startResize", e);
|
|
1647
1651
|
}
|
|
1648
|
-
function
|
|
1652
|
+
function d(e) {
|
|
1649
1653
|
e.stopPropagation(), r("endResize", e);
|
|
1650
1654
|
}
|
|
1651
1655
|
return (t, n) => (W(), F("div", {
|
|
@@ -1656,7 +1660,8 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
1656
1660
|
"coar-time-grid-event--source-phantom": e.variant === "phantom",
|
|
1657
1661
|
"coar-time-grid-event--invalid": e.variant === "invalid",
|
|
1658
1662
|
"coar-time-grid-event--snap-back": e.variant === "invalid" && e.snappingBack,
|
|
1659
|
-
"coar-time-grid-event--density-compact": e.density === "compact"
|
|
1663
|
+
"coar-time-grid-event--density-compact": e.density === "compact",
|
|
1664
|
+
"coar-time-grid-event--point": a.value
|
|
1660
1665
|
}]),
|
|
1661
1666
|
style: H({
|
|
1662
1667
|
top: e.top + "px",
|
|
@@ -1664,55 +1669,56 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
1664
1669
|
left: e.left,
|
|
1665
1670
|
width: e.width,
|
|
1666
1671
|
zIndex: e.zIndex,
|
|
1667
|
-
|
|
1668
|
-
|
|
1672
|
+
"--event-bg": e.bg,
|
|
1673
|
+
"--event-border": e.border
|
|
1669
1674
|
}),
|
|
1670
1675
|
"data-event-id": i.value ? e.event.id : void 0,
|
|
1671
1676
|
tabindex: i.value ? 0 : -1,
|
|
1672
1677
|
role: i.value ? "button" : void 0,
|
|
1673
1678
|
"aria-label": i.value ? e.ariaLabel : void 0,
|
|
1674
1679
|
"aria-hidden": i.value ? void 0 : "true",
|
|
1675
|
-
onPointerdown:
|
|
1676
|
-
onKeydown:
|
|
1677
|
-
onDblclick:
|
|
1680
|
+
onPointerdown: s,
|
|
1681
|
+
onKeydown: c,
|
|
1682
|
+
onDblclick: l
|
|
1678
1683
|
}, [
|
|
1679
|
-
|
|
1680
|
-
|
|
1684
|
+
a.value && !e.clippedTop ? (W(), F("div", Dt)) : P("", !0),
|
|
1685
|
+
i.value && !a.value ? (W(), F("div", {
|
|
1686
|
+
key: 1,
|
|
1681
1687
|
class: "coar-time-grid-event__resize coar-time-grid-event__resize--top",
|
|
1682
1688
|
"aria-hidden": "true",
|
|
1683
|
-
onPointerdown:
|
|
1689
|
+
onPointerdown: u
|
|
1684
1690
|
}, null, 32)) : P("", !0),
|
|
1685
|
-
|
|
1686
|
-
key:
|
|
1691
|
+
o.value ? q(t.$slots, "default", {
|
|
1692
|
+
key: 2,
|
|
1687
1693
|
event: e.event,
|
|
1688
1694
|
positioned: e.positioned
|
|
1689
|
-
}, () => [I("div",
|
|
1695
|
+
}, () => [I("div", Ot, [I("span", kt, [L(Tt, {
|
|
1690
1696
|
event: e.event,
|
|
1691
1697
|
"display-zone": e.displayZone,
|
|
1692
1698
|
size: "s"
|
|
1693
|
-
}, null, 8, ["event", "display-zone"]), I("span",
|
|
1699
|
+
}, null, 8, ["event", "display-zone"]), I("span", At, J(e.title), 1)])])], !0) : (W(), F("div", jt, [I("span", Mt, [L(Tt, {
|
|
1694
1700
|
event: e.event,
|
|
1695
1701
|
"display-zone": e.displayZone,
|
|
1696
1702
|
size: "s"
|
|
1697
|
-
}, null, 8, ["event", "display-zone"]), I("span",
|
|
1698
|
-
i.value ? (W(), F("div", {
|
|
1699
|
-
key:
|
|
1703
|
+
}, null, 8, ["event", "display-zone"]), I("span", Nt, J(e.title), 1)])])),
|
|
1704
|
+
i.value && !a.value ? (W(), F("div", {
|
|
1705
|
+
key: 4,
|
|
1700
1706
|
class: "coar-time-grid-event__resize coar-time-grid-event__resize--bottom",
|
|
1701
1707
|
"aria-hidden": "true",
|
|
1702
|
-
onPointerdown:
|
|
1708
|
+
onPointerdown: d
|
|
1703
1709
|
}, null, 32)) : P("", !0)
|
|
1704
1710
|
], 46, Et));
|
|
1705
1711
|
}
|
|
1706
|
-
}), [["__scopeId", "data-v-
|
|
1712
|
+
}), [["__scopeId", "data-v-3741cd28"]]), Ft = [
|
|
1707
1713
|
"data-event-id",
|
|
1708
1714
|
"tabindex",
|
|
1709
1715
|
"role",
|
|
1710
1716
|
"aria-label",
|
|
1711
1717
|
"aria-hidden"
|
|
1712
|
-
],
|
|
1718
|
+
], It = { class: "coar-time-grid-all-day-bar__title" }, Lt = {
|
|
1713
1719
|
key: 2,
|
|
1714
1720
|
class: "coar-time-grid-all-day-bar__title"
|
|
1715
|
-
},
|
|
1721
|
+
}, Rt = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
1716
1722
|
__name: "CoarTimeGridAllDayBar",
|
|
1717
1723
|
props: {
|
|
1718
1724
|
event: {},
|
|
@@ -1807,16 +1813,16 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
1807
1813
|
key: 1,
|
|
1808
1814
|
event: e.event,
|
|
1809
1815
|
bar: e.bar
|
|
1810
|
-
}, () => [I("span",
|
|
1816
|
+
}, () => [I("span", It, J(e.title), 1)], !0) : (W(), F("span", Lt, J(e.title), 1)),
|
|
1811
1817
|
s.value ? (W(), F("div", {
|
|
1812
1818
|
key: 3,
|
|
1813
1819
|
class: "coar-time-grid-all-day-bar__resize coar-time-grid-all-day-bar__resize--end",
|
|
1814
1820
|
"aria-hidden": "true",
|
|
1815
1821
|
onPointerdown: p
|
|
1816
1822
|
}, null, 32)) : P("", !0)
|
|
1817
|
-
], 46,
|
|
1823
|
+
], 46, Ft));
|
|
1818
1824
|
}
|
|
1819
|
-
}), [["__scopeId", "data-v-4fac0b2d"]]),
|
|
1825
|
+
}), [["__scopeId", "data-v-4fac0b2d"]]), zt = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
1820
1826
|
__name: "CoarTimeGridNowMarker",
|
|
1821
1827
|
props: { topPx: {} },
|
|
1822
1828
|
setup(e) {
|
|
@@ -1826,10 +1832,10 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
1826
1832
|
"aria-hidden": "true"
|
|
1827
1833
|
}, [...n[0] ||= [I("span", { class: "coar-time-grid-now-marker__dot" }, null, -1), I("span", { class: "coar-time-grid-now-marker__line" }, null, -1)]], 4));
|
|
1828
1834
|
}
|
|
1829
|
-
}), [["__scopeId", "data-v-ce9e34d0"]]),
|
|
1835
|
+
}), [["__scopeId", "data-v-ce9e34d0"]]), Bt = {
|
|
1830
1836
|
class: "coar-time-grid-header__cells",
|
|
1831
1837
|
role: "row"
|
|
1832
|
-
},
|
|
1838
|
+
}, Vt = ["aria-colindex", "aria-current"], Ht = { class: "coar-time-grid-header__label" }, Ut = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
1833
1839
|
__name: "CoarTimeGridHeader",
|
|
1834
1840
|
props: {
|
|
1835
1841
|
days: {},
|
|
@@ -1842,7 +1848,7 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
1842
1848
|
return (t, n) => (W(), F("div", { class: B(["coar-time-grid-header", { "coar-time-grid-header--density-compact": e.density === "compact" }]) }, [n[0] ||= I("div", {
|
|
1843
1849
|
class: "coar-time-grid-header__corner",
|
|
1844
1850
|
"aria-hidden": "true"
|
|
1845
|
-
}, null, -1), I("div",
|
|
1851
|
+
}, null, -1), I("div", Bt, [(W(!0), F(j, null, K(e.days, (n, r) => (W(), F("div", {
|
|
1846
1852
|
key: n.toString(),
|
|
1847
1853
|
class: B(["coar-time-grid-header__cell", {
|
|
1848
1854
|
"coar-time-grid-header__cell--today": e.isToday(n),
|
|
@@ -1855,12 +1861,12 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
1855
1861
|
date: n,
|
|
1856
1862
|
isToday: e.isToday(n),
|
|
1857
1863
|
isWeekend: e.isWeekend(n)
|
|
1858
|
-
}, () => [I("span",
|
|
1864
|
+
}, () => [I("span", Ht, J(e.formatLabel(n)), 1)], !0)], 10, Vt))), 128))])], 2));
|
|
1859
1865
|
}
|
|
1860
|
-
}), [["__scopeId", "data-v-ed6739ff"]]),
|
|
1866
|
+
}), [["__scopeId", "data-v-ed6739ff"]]), Wt = ["aria-label"], Gt = {
|
|
1861
1867
|
class: "coar-time-grid-all-day-band__axis",
|
|
1862
1868
|
"aria-hidden": "true"
|
|
1863
|
-
},
|
|
1869
|
+
}, Kt = ["onPointerdown"], qt = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
1864
1870
|
__name: "CoarTimeGridAllDayBand",
|
|
1865
1871
|
props: {
|
|
1866
1872
|
days: {},
|
|
@@ -1881,7 +1887,7 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
1881
1887
|
style: H({ minHeight: e.bandHeightPx + "px" }),
|
|
1882
1888
|
role: "region",
|
|
1883
1889
|
"aria-label": e.axisLabel
|
|
1884
|
-
}, [I("div",
|
|
1890
|
+
}, [I("div", Gt, J(e.axisLabel), 1), I("div", {
|
|
1885
1891
|
ref: (t) => e.setColumnsEl(t),
|
|
1886
1892
|
class: "coar-time-grid-all-day-band__columns"
|
|
1887
1893
|
}, [(W(!0), F(j, null, K(e.days, (t, n) => (W(), F("div", {
|
|
@@ -1892,9 +1898,9 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
1892
1898
|
}]),
|
|
1893
1899
|
style: H({ gridColumn: n + 1 }),
|
|
1894
1900
|
onPointerdown: (e) => r(e, t)
|
|
1895
|
-
}, null, 46,
|
|
1901
|
+
}, null, 46, Kt))), 128)), q(t.$slots, "default", {}, void 0, !0)], 512)], 12, Wt));
|
|
1896
1902
|
}
|
|
1897
|
-
}), [["__scopeId", "data-v-4eabecb1"]]),
|
|
1903
|
+
}), [["__scopeId", "data-v-4eabecb1"]]), Jt = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
1898
1904
|
__name: "CoarTimeGridColumn",
|
|
1899
1905
|
props: {
|
|
1900
1906
|
day: {},
|
|
@@ -1929,21 +1935,21 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
1929
1935
|
onPointerdown: a
|
|
1930
1936
|
}, [q(t.$slots, "default", {}, void 0, !0)], 38));
|
|
1931
1937
|
}
|
|
1932
|
-
}), [["__scopeId", "data-v-32d41217"]]),
|
|
1938
|
+
}), [["__scopeId", "data-v-32d41217"]]), Yt = ["aria-label"], Xt = {
|
|
1933
1939
|
class: "coar-time-grid__a11y-live",
|
|
1934
1940
|
role: "status",
|
|
1935
1941
|
"aria-live": "polite",
|
|
1936
1942
|
"aria-atomic": "true"
|
|
1937
|
-
},
|
|
1943
|
+
}, Zt = { class: "coar-time-grid__sticky-top" }, Qt = {
|
|
1938
1944
|
key: 2,
|
|
1939
1945
|
class: "coar-time-grid__all-day-bar-title"
|
|
1940
|
-
},
|
|
1946
|
+
}, $t = ["data-hour"], en = {
|
|
1941
1947
|
ref: "columns",
|
|
1942
1948
|
class: "coar-time-grid__columns"
|
|
1943
|
-
},
|
|
1949
|
+
}, tn = {
|
|
1944
1950
|
key: 2,
|
|
1945
1951
|
class: "coar-time-grid__event-default"
|
|
1946
|
-
},
|
|
1952
|
+
}, nn = { class: "coar-time-grid__event-title" }, rn = 15, an = 24, on = 2, sn = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
1947
1953
|
__name: "CoarTimeGrid",
|
|
1948
1954
|
props: {
|
|
1949
1955
|
builder: {},
|
|
@@ -2014,7 +2020,7 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
2014
2020
|
surfaceRef: T,
|
|
2015
2021
|
columnsRef: x,
|
|
2016
2022
|
allDayColumnsRef: S,
|
|
2017
|
-
topBufferMinutes: M(() =>
|
|
2023
|
+
topBufferMinutes: M(() => rn),
|
|
2018
2024
|
canDrop: g.value ?? void 0,
|
|
2019
2025
|
onEventClick: (e, t) => {
|
|
2020
2026
|
t && n.builder.state.onEventClick?.({
|
|
@@ -2075,7 +2081,7 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
2075
2081
|
when: i
|
|
2076
2082
|
}, `${n} moved to ${i}`));
|
|
2077
2083
|
}
|
|
2078
|
-
let pe = M(() => s.value[1] - s.value[0]), me = M(() => pe.value * 60), he = M(() => pe.value * l.value + 2 * (l.value *
|
|
2084
|
+
let pe = M(() => s.value[1] - s.value[0]), me = M(() => pe.value * 60), he = M(() => pe.value * l.value + 2 * (l.value * rn) / 60), _e = M(() => l.value * c.value / 60), R = M(() => {
|
|
2079
2085
|
let e = [], t = new Intl.DateTimeFormat(f.value, w({ hour: "numeric" }, {
|
|
2080
2086
|
timeStyle: a.value.timeStyle,
|
|
2081
2087
|
hour12: a.value.hour12
|
|
@@ -2102,12 +2108,12 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
2102
2108
|
}), z = M(() => de(te.value, {
|
|
2103
2109
|
days: _.value,
|
|
2104
2110
|
timezone: u.value
|
|
2105
|
-
})), ye = M(() => z.value.length === 0 ? 0 : z.value[0].laneCount), be = M(() => ye.value === 0 ? 0 : ye.value * (
|
|
2111
|
+
})), ye = M(() => z.value.length === 0 ? 0 : z.value[0].laneCount), be = M(() => ye.value === 0 ? 0 : ye.value * (an + on) + 8);
|
|
2106
2112
|
function xe(e) {
|
|
2107
2113
|
return e * l.value / 60;
|
|
2108
2114
|
}
|
|
2109
2115
|
function Ce(e) {
|
|
2110
|
-
return xe(e +
|
|
2116
|
+
return xe(e + rn);
|
|
2111
2117
|
}
|
|
2112
2118
|
let Te = G(m(u.value)), Ee = G(h(u.value)), De = 0;
|
|
2113
2119
|
U(() => {
|
|
@@ -2216,8 +2222,8 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
2216
2222
|
role: "region",
|
|
2217
2223
|
"aria-label": X(v).length === 1 ? X(r)("coar.calendar.timegrid.dayLabel", void 0, "Day view") : X(r)("coar.calendar.timegrid.weekLabel", void 0, "Week view")
|
|
2218
2224
|
}, [
|
|
2219
|
-
I("div",
|
|
2220
|
-
I("div",
|
|
2225
|
+
I("div", Xt, J(X(se).message.value), 1),
|
|
2226
|
+
I("div", Zt, [L(Ut, {
|
|
2221
2227
|
days: X(v),
|
|
2222
2228
|
"is-today": Z,
|
|
2223
2229
|
"is-weekend": je,
|
|
@@ -2231,7 +2237,7 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
2231
2237
|
ctx: t
|
|
2232
2238
|
}, null, 8, ["renderer", "ctx"])) : P("", !0)]),
|
|
2233
2239
|
key: "0"
|
|
2234
|
-
} : void 0]), 1032, ["days", "density"]), ye.value > 0 ? (W(), N(
|
|
2240
|
+
} : void 0]), 1032, ["days", "density"]), ye.value > 0 ? (W(), N(qt, {
|
|
2235
2241
|
key: 0,
|
|
2236
2242
|
days: X(v),
|
|
2237
2243
|
"axis-label": X(r)("coar.calendar.timegrid.allDay", void 0, "all-day"),
|
|
@@ -2242,7 +2248,7 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
2242
2248
|
onCellPointerdown: t[0] ||= (e, t) => Le(e, t)
|
|
2243
2249
|
}, {
|
|
2244
2250
|
default: Q(() => [
|
|
2245
|
-
(W(!0), F(j, null, K(z.value, (t) => (W(), N(
|
|
2251
|
+
(W(!0), F(j, null, K(z.value, (t) => (W(), N(Rt, {
|
|
2246
2252
|
key: t.event.id,
|
|
2247
2253
|
event: t.event,
|
|
2248
2254
|
bar: t,
|
|
@@ -2253,10 +2259,10 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
2253
2259
|
title: Re(t.event),
|
|
2254
2260
|
"aria-label": X(k)(t.event.id) && X(oe) ? le(t.event) : ze(t.event),
|
|
2255
2261
|
density: p.value,
|
|
2256
|
-
top: 4 + t.lane * (
|
|
2262
|
+
top: 4 + t.lane * (an + on),
|
|
2257
2263
|
left: `calc(${t.startCol / X(v).length * 100}% + ${t.startCol === 0 ? 4 : 2}px)`,
|
|
2258
2264
|
width: `calc(${(t.endCol - t.startCol + 1) / X(v).length * 100}% - ${(t.startCol === 0 ? 4 : 2) + (t.endCol === X(v).length - 1 ? 4 : 2)}px)`,
|
|
2259
|
-
height:
|
|
2265
|
+
height: an,
|
|
2260
2266
|
"z-index": X(k)(t.event.id) ? 100 : 1,
|
|
2261
2267
|
"clipped-start": t.clippedStart,
|
|
2262
2268
|
"clipped-end": t.clippedEnd,
|
|
@@ -2292,7 +2298,7 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
2292
2298
|
layout: n
|
|
2293
2299
|
}
|
|
2294
2300
|
}
|
|
2295
|
-
}, null, 8, ["renderer", "ctx"])) : (W(), F("span",
|
|
2301
|
+
}, null, 8, ["renderer", "ctx"])) : (W(), F("span", Qt, J(Re(t)), 1))]),
|
|
2296
2302
|
_: 3
|
|
2297
2303
|
}, 8, [
|
|
2298
2304
|
"event",
|
|
@@ -2318,7 +2324,7 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
2318
2324
|
"onStartResize",
|
|
2319
2325
|
"onEndResize"
|
|
2320
2326
|
]))), 128)),
|
|
2321
|
-
X(O) ? (W(), N(
|
|
2327
|
+
X(O) ? (W(), N(Rt, {
|
|
2322
2328
|
key: 0,
|
|
2323
2329
|
variant: "phantom",
|
|
2324
2330
|
event: X(O).event,
|
|
@@ -2327,10 +2333,10 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
2327
2333
|
border: He(X(O).event),
|
|
2328
2334
|
title: Re(X(O).event),
|
|
2329
2335
|
density: p.value,
|
|
2330
|
-
top: 4 + X(O).lane * (
|
|
2336
|
+
top: 4 + X(O).lane * (an + on),
|
|
2331
2337
|
left: `calc(${X(O).startCol / X(v).length * 100}% + ${X(O).startCol === 0 ? 4 : 2}px)`,
|
|
2332
2338
|
width: `calc(${(X(O).endCol - X(O).startCol + 1) / X(v).length * 100}% - ${(X(O).startCol === 0 ? 4 : 2) + (X(O).endCol === X(v).length - 1 ? 4 : 2)}px)`,
|
|
2333
|
-
height:
|
|
2339
|
+
height: an,
|
|
2334
2340
|
"z-index": 1,
|
|
2335
2341
|
"clipped-start": X(O).clippedStart,
|
|
2336
2342
|
"clipped-end": X(O).clippedEnd
|
|
@@ -2346,7 +2352,7 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
2346
2352
|
"clipped-start",
|
|
2347
2353
|
"clipped-end"
|
|
2348
2354
|
])) : P("", !0),
|
|
2349
|
-
X(re) && X(E).draggedEvent.value ? (W(), N(
|
|
2355
|
+
X(re) && X(E).draggedEvent.value ? (W(), N(Rt, {
|
|
2350
2356
|
key: 1,
|
|
2351
2357
|
variant: "invalid",
|
|
2352
2358
|
event: X(E).draggedEvent.value,
|
|
@@ -2356,10 +2362,10 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
2356
2362
|
title: Re(X(E).draggedEvent.value),
|
|
2357
2363
|
"snapping-back": X(E).snappingBack.value,
|
|
2358
2364
|
density: p.value,
|
|
2359
|
-
top: 4 + (X(O)?.lane ?? 0) * (
|
|
2365
|
+
top: 4 + (X(O)?.lane ?? 0) * (an + on),
|
|
2360
2366
|
left: `calc(${X(re).startCol / X(v).length * 100}% + ${X(re).startCol === 0 ? 4 : 2}px)`,
|
|
2361
2367
|
width: `calc(${(X(re).endCol - X(re).startCol + 1) / X(v).length * 100}% - ${(X(re).startCol === 0 ? 4 : 2) + (X(re).endCol === X(v).length - 1 ? 4 : 2)}px)`,
|
|
2362
|
-
height:
|
|
2368
|
+
height: an,
|
|
2363
2369
|
"z-index": 100
|
|
2364
2370
|
}, null, 8, [
|
|
2365
2371
|
"event",
|
|
@@ -2390,18 +2396,18 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
2390
2396
|
class: "coar-time-grid__hour-label",
|
|
2391
2397
|
"data-hour": e.hour,
|
|
2392
2398
|
style: H({ top: Ce((e.hour - s.value[0]) * 60) + "px" })
|
|
2393
|
-
}, J(e.label), 13,
|
|
2399
|
+
}, J(e.label), 13, $t))), 128))], 4), I("div", en, [(W(!0), F(j, null, K(ve.value, (r) => (W(), N(Jt, {
|
|
2394
2400
|
key: r.date.toString(),
|
|
2395
2401
|
day: r.date,
|
|
2396
2402
|
"is-today": Z(r.date),
|
|
2397
2403
|
"is-weekend": je(r.date),
|
|
2398
2404
|
"height-px": he.value,
|
|
2399
2405
|
"slot-height-px": _e.value,
|
|
2400
|
-
"render-buffer-offset-px": xe(
|
|
2406
|
+
"render-buffer-offset-px": xe(rn),
|
|
2401
2407
|
onPointerdown: t[1] ||= (e, t) => Ie(e, t)
|
|
2402
2408
|
}, {
|
|
2403
2409
|
default: Q(() => [
|
|
2404
|
-
(W(!0), F(j, null, K(r.positioned, (t) => (W(), N(
|
|
2410
|
+
(W(!0), F(j, null, K(r.positioned, (t) => (W(), N(Pt, {
|
|
2405
2411
|
key: t.event.id,
|
|
2406
2412
|
event: t.event,
|
|
2407
2413
|
positioned: t,
|
|
@@ -2452,7 +2458,7 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
2452
2458
|
layout: n
|
|
2453
2459
|
}
|
|
2454
2460
|
}
|
|
2455
|
-
}, null, 8, ["renderer", "ctx"])) : (W(), F("div",
|
|
2461
|
+
}, null, 8, ["renderer", "ctx"])) : (W(), F("div", tn, [I("span", nn, J(Re(t)), 1)]))]),
|
|
2456
2462
|
_: 3
|
|
2457
2463
|
}, 8, [
|
|
2458
2464
|
"event",
|
|
@@ -2480,7 +2486,7 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
2480
2486
|
"onStartResize",
|
|
2481
2487
|
"onEndResize"
|
|
2482
2488
|
]))), 128)),
|
|
2483
|
-
X(D) && X(D).dayKey === r.date.toString() ? (W(), N(
|
|
2489
|
+
X(D) && X(D).dayKey === r.date.toString() ? (W(), N(Pt, {
|
|
2484
2490
|
key: 0,
|
|
2485
2491
|
variant: "phantom",
|
|
2486
2492
|
event: X(D).event,
|
|
@@ -2508,7 +2514,7 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
2508
2514
|
"width",
|
|
2509
2515
|
"z-index"
|
|
2510
2516
|
])) : P("", !0),
|
|
2511
|
-
X(ne) && X(ne).dayKey === r.date.toString() && X(E).draggedEvent.value ? (W(), N(
|
|
2517
|
+
X(ne) && X(ne).dayKey === r.date.toString() && X(E).draggedEvent.value ? (W(), N(Pt, {
|
|
2512
2518
|
key: 1,
|
|
2513
2519
|
variant: "invalid",
|
|
2514
2520
|
event: X(E).draggedEvent.value,
|
|
@@ -2533,7 +2539,7 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
2533
2539
|
"top",
|
|
2534
2540
|
"height"
|
|
2535
2541
|
])) : P("", !0),
|
|
2536
|
-
Z(r.date) && Oe.value !== null ? (W(), N(
|
|
2542
|
+
Z(r.date) && Oe.value !== null ? (W(), N(zt, {
|
|
2537
2543
|
key: 2,
|
|
2538
2544
|
"top-px": Ce(Oe.value)
|
|
2539
2545
|
}, null, 8, ["top-px"])) : P("", !0)
|
|
@@ -2547,16 +2553,16 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
2547
2553
|
"slot-height-px",
|
|
2548
2554
|
"render-buffer-offset-px"
|
|
2549
2555
|
]))), 128))], 512)], 4)
|
|
2550
|
-
], 10,
|
|
2556
|
+
], 10, Yt));
|
|
2551
2557
|
}
|
|
2552
|
-
}), [["__scopeId", "data-v-cab88cd2"]]),
|
|
2558
|
+
}), [["__scopeId", "data-v-cab88cd2"]]), cn = { class: "coar-day-view" }, ln = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
2553
2559
|
__name: "CoarDayView",
|
|
2554
2560
|
props: { builder: {} },
|
|
2555
2561
|
setup(e) {
|
|
2556
2562
|
let t = e;
|
|
2557
2563
|
nt(t.builder, { view: "day" });
|
|
2558
2564
|
let n = M(() => [t.builder.state.date.value]);
|
|
2559
|
-
return (t, r) => (W(), F("div",
|
|
2565
|
+
return (t, r) => (W(), F("div", cn, [L(sn, {
|
|
2560
2566
|
builder: e.builder,
|
|
2561
2567
|
dates: n.value
|
|
2562
2568
|
}, ge({ _: 2 }, [t.$slots.event ? {
|
|
@@ -2569,7 +2575,7 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
2569
2575
|
key: "1"
|
|
2570
2576
|
} : void 0]), 1032, ["builder", "dates"])]));
|
|
2571
2577
|
}
|
|
2572
|
-
}), [["__scopeId", "data-v-639564d0"]]),
|
|
2578
|
+
}), [["__scopeId", "data-v-639564d0"]]), un = { class: "coar-week-view" }, dn = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
2573
2579
|
__name: "CoarWeekView",
|
|
2574
2580
|
props: { builder: {} },
|
|
2575
2581
|
setup(e, { expose: t }) {
|
|
@@ -2582,7 +2588,7 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
2582
2588
|
start: e[0],
|
|
2583
2589
|
end: e[e.length - 1]
|
|
2584
2590
|
};
|
|
2585
|
-
} }), (t, n) => (W(), F("div",
|
|
2591
|
+
} }), (t, n) => (W(), F("div", un, [L(sn, {
|
|
2586
2592
|
builder: e.builder,
|
|
2587
2593
|
dates: o.value
|
|
2588
2594
|
}, ge({ _: 2 }, [
|
|
@@ -2603,7 +2609,7 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
2603
2609
|
} : void 0
|
|
2604
2610
|
]), 1032, ["builder", "dates"])]));
|
|
2605
2611
|
}
|
|
2606
|
-
}), [["__scopeId", "data-v-29a99a70"]]),
|
|
2612
|
+
}), [["__scopeId", "data-v-29a99a70"]]), fn = { class: "coar-work-week-view" }, pn = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
2607
2613
|
__name: "CoarWorkWeekView",
|
|
2608
2614
|
props: { builder: {} },
|
|
2609
2615
|
setup(e, { expose: t }) {
|
|
@@ -2616,7 +2622,7 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
2616
2622
|
start: e[0],
|
|
2617
2623
|
end: e[e.length - 1]
|
|
2618
2624
|
};
|
|
2619
|
-
} }), (t, n) => (W(), F("div",
|
|
2625
|
+
} }), (t, n) => (W(), F("div", fn, [L(sn, {
|
|
2620
2626
|
builder: e.builder,
|
|
2621
2627
|
dates: s.value
|
|
2622
2628
|
}, ge({ _: 2 }, [
|
|
@@ -2637,12 +2643,12 @@ var bt = ["title", "aria-label"], xt = { class: "coar-event-decorations__sr-only
|
|
|
2637
2643
|
} : void 0
|
|
2638
2644
|
]), 1032, ["builder", "dates"])]));
|
|
2639
2645
|
}
|
|
2640
|
-
}), [["__scopeId", "data-v-0cfec5b4"]]),
|
|
2641
|
-
function
|
|
2646
|
+
}), [["__scopeId", "data-v-0cfec5b4"]]), mn = 20, hn = 2, gn = 24, _n = 76, vn = 100, yn = 300;
|
|
2647
|
+
function bn(e) {
|
|
2642
2648
|
function t(e) {
|
|
2643
|
-
return
|
|
2649
|
+
return gn + e * (mn + hn);
|
|
2644
2650
|
}
|
|
2645
|
-
let n = M(() => e.layout.value.weekRows.map((e) => e.multiDayBars.length === 0 ?
|
|
2651
|
+
let n = M(() => e.layout.value.weekRows.map((e) => e.multiDayBars.length === 0 ? gn : gn + e.multiDayBars[0].laneCount * (mn + hn))), r = G(/* @__PURE__ */ new Set()), i = M(() => n.value.map((e, t) => r.value.has(t) ? yn : Math.max(vn, e + _n)));
|
|
2646
2652
|
function a(e) {
|
|
2647
2653
|
r.value.has(e) || (r.value = new Set([e]));
|
|
2648
2654
|
}
|
|
@@ -2685,9 +2691,9 @@ function yn(e) {
|
|
|
2685
2691
|
}), Z(e.resetToken, () => {
|
|
2686
2692
|
r.value = /* @__PURE__ */ new Set();
|
|
2687
2693
|
}), {
|
|
2688
|
-
BAR_HEIGHT:
|
|
2689
|
-
BAR_GAP:
|
|
2690
|
-
DAY_NUMBER_HEIGHT:
|
|
2694
|
+
BAR_HEIGHT: mn,
|
|
2695
|
+
BAR_GAP: hn,
|
|
2696
|
+
DAY_NUMBER_HEIGHT: gn,
|
|
2691
2697
|
barTopPx: t,
|
|
2692
2698
|
rowBarHeightsPx: n,
|
|
2693
2699
|
rowHeightPx: i,
|
|
@@ -2699,13 +2705,13 @@ function yn(e) {
|
|
|
2699
2705
|
}
|
|
2700
2706
|
//#endregion
|
|
2701
2707
|
//#region src/components/internal/month/CoarMonthPill.vue?vue&type=script&setup=true&lang.ts
|
|
2702
|
-
var
|
|
2708
|
+
var xn = [
|
|
2703
2709
|
"data-event-id",
|
|
2704
2710
|
"tabindex",
|
|
2705
2711
|
"role",
|
|
2706
2712
|
"aria-label",
|
|
2707
2713
|
"aria-hidden"
|
|
2708
|
-
],
|
|
2714
|
+
], Sn = { class: "coar-month-pill__title" }, Cn = { class: "coar-month-pill__title" }, wn = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
2709
2715
|
__name: "CoarMonthPill",
|
|
2710
2716
|
props: {
|
|
2711
2717
|
event: {},
|
|
@@ -2770,19 +2776,19 @@ var bn = [
|
|
|
2770
2776
|
event: e.event,
|
|
2771
2777
|
"display-zone": e.displayZone,
|
|
2772
2778
|
size: "xs"
|
|
2773
|
-
}, null, 8, ["event", "display-zone"]), I("span",
|
|
2779
|
+
}, null, 8, ["event", "display-zone"]), I("span", Sn, J(e.title), 1)], !0) : (W(), F(j, { key: 1 }, [L(Tt, {
|
|
2774
2780
|
event: e.event,
|
|
2775
2781
|
"display-zone": e.displayZone,
|
|
2776
2782
|
size: "xs"
|
|
2777
|
-
}, null, 8, ["event", "display-zone"]), I("span",
|
|
2783
|
+
}, null, 8, ["event", "display-zone"]), I("span", Cn, J(e.title), 1)], 64))], 46, xn));
|
|
2778
2784
|
}
|
|
2779
|
-
}), [["__scopeId", "data-v-ca59e6dd"]]),
|
|
2785
|
+
}), [["__scopeId", "data-v-ca59e6dd"]]), Tn = [
|
|
2780
2786
|
"data-event-id",
|
|
2781
2787
|
"tabindex",
|
|
2782
2788
|
"role",
|
|
2783
2789
|
"aria-label",
|
|
2784
2790
|
"aria-hidden"
|
|
2785
|
-
],
|
|
2791
|
+
], En = { class: "coar-month-bar__title" }, Dn = { class: "coar-month-bar__title" }, On = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
2786
2792
|
__name: "CoarMonthBar",
|
|
2787
2793
|
props: {
|
|
2788
2794
|
event: {},
|
|
@@ -2883,27 +2889,27 @@ var bn = [
|
|
|
2883
2889
|
event: e.event,
|
|
2884
2890
|
"display-zone": e.displayZone,
|
|
2885
2891
|
size: "xs"
|
|
2886
|
-
}, null, 8, ["event", "display-zone"])), I("span",
|
|
2892
|
+
}, null, 8, ["event", "display-zone"])), I("span", En, J(e.title), 1)], !0) : (W(), F(j, { key: 2 }, [e.clippedStart ? P("", !0) : (W(), N(Tt, {
|
|
2887
2893
|
key: 0,
|
|
2888
2894
|
event: e.event,
|
|
2889
2895
|
"display-zone": e.displayZone,
|
|
2890
2896
|
size: "xs"
|
|
2891
|
-
}, null, 8, ["event", "display-zone"])), I("span",
|
|
2897
|
+
}, null, 8, ["event", "display-zone"])), I("span", Dn, J(e.title), 1)], 64)),
|
|
2892
2898
|
s.value ? (W(), F("div", {
|
|
2893
2899
|
key: 3,
|
|
2894
2900
|
class: "coar-month-bar__resize coar-month-bar__resize--end",
|
|
2895
2901
|
"aria-hidden": "true",
|
|
2896
2902
|
onPointerdown: p
|
|
2897
2903
|
}, null, 32)) : P("", !0)
|
|
2898
|
-
], 46,
|
|
2904
|
+
], 46, Tn));
|
|
2899
2905
|
}
|
|
2900
|
-
}), [["__scopeId", "data-v-aae90a51"]]),
|
|
2906
|
+
}), [["__scopeId", "data-v-aae90a51"]]), kn = [
|
|
2901
2907
|
"data-day-key",
|
|
2902
2908
|
"aria-rowindex",
|
|
2903
2909
|
"aria-colindex",
|
|
2904
2910
|
"aria-label",
|
|
2905
2911
|
"aria-current"
|
|
2906
|
-
],
|
|
2912
|
+
], An = { class: "coar-month-cell__day-number-row" }, jn = { class: "coar-month-cell__day-number" }, Mn = ["aria-label", "aria-expanded"], Nn = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
2907
2913
|
__name: "CoarMonthCell",
|
|
2908
2914
|
props: {
|
|
2909
2915
|
day: {},
|
|
@@ -2962,7 +2968,7 @@ var bn = [
|
|
|
2962
2968
|
"aria-current": e.isToday ? "date" : void 0,
|
|
2963
2969
|
onPointerdown: a,
|
|
2964
2970
|
onContextmenu: o
|
|
2965
|
-
}, [I("div",
|
|
2971
|
+
}, [I("div", An, [I("span", jn, J(e.day.day), 1), I("button", {
|
|
2966
2972
|
type: "button",
|
|
2967
2973
|
class: "coar-month-cell__menu-trigger",
|
|
2968
2974
|
"aria-label": e.kebabAriaLabel,
|
|
@@ -2994,12 +3000,12 @@ var bn = [
|
|
|
2994
3000
|
r: "1",
|
|
2995
3001
|
fill: "currentColor"
|
|
2996
3002
|
})
|
|
2997
|
-
], -1)]], 40,
|
|
3003
|
+
], -1)]], 40, Mn)]), I("div", {
|
|
2998
3004
|
class: "coar-month-cell__pills",
|
|
2999
3005
|
style: H({ marginTop: e.pillsMarginTopPx + "px" })
|
|
3000
|
-
}, [q(t.$slots, "default", {}, void 0, !0)], 4)], 42,
|
|
3006
|
+
}, [q(t.$slots, "default", {}, void 0, !0)], 4)], 42, kn));
|
|
3001
3007
|
}
|
|
3002
|
-
}), [["__scopeId", "data-v-a2e2a614"]]),
|
|
3008
|
+
}), [["__scopeId", "data-v-a2e2a614"]]), Pn = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
3003
3009
|
__name: "CoarMonthRow",
|
|
3004
3010
|
props: {
|
|
3005
3011
|
heightPx: {},
|
|
@@ -3012,39 +3018,39 @@ var bn = [
|
|
|
3012
3018
|
role: "row"
|
|
3013
3019
|
}, [q(t.$slots, "default", {}, void 0, !0)], 6));
|
|
3014
3020
|
}
|
|
3015
|
-
}), [["__scopeId", "data-v-8f7c41d6"]]),
|
|
3021
|
+
}), [["__scopeId", "data-v-8f7c41d6"]]), Fn = { class: "coar-month-grid" }, In = {
|
|
3016
3022
|
class: "coar-month-grid__weekday-row",
|
|
3017
3023
|
role: "row",
|
|
3018
3024
|
"aria-rowindex": "1"
|
|
3019
|
-
},
|
|
3025
|
+
}, Ln = ["aria-colindex"], Rn = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
3020
3026
|
__name: "CoarMonthGrid",
|
|
3021
3027
|
props: {
|
|
3022
3028
|
weekdayHeaders: {},
|
|
3023
3029
|
setRowsEl: { type: Function }
|
|
3024
3030
|
},
|
|
3025
3031
|
setup(e) {
|
|
3026
|
-
return (t, n) => (W(), F("div",
|
|
3032
|
+
return (t, n) => (W(), F("div", Fn, [I("div", In, [(W(!0), F(j, null, K(e.weekdayHeaders, (e, t) => (W(), F("div", {
|
|
3027
3033
|
key: t,
|
|
3028
3034
|
class: "coar-month-grid__weekday-cell",
|
|
3029
3035
|
role: "columnheader",
|
|
3030
3036
|
"aria-colindex": t + 1
|
|
3031
|
-
}, J(e), 9,
|
|
3037
|
+
}, J(e), 9, Ln))), 128))]), I("div", {
|
|
3032
3038
|
ref: (t) => e.setRowsEl(t),
|
|
3033
3039
|
class: "coar-month-grid__rows"
|
|
3034
3040
|
}, [q(t.$slots, "default", {}, void 0, !0)], 512)]));
|
|
3035
3041
|
}
|
|
3036
|
-
}), [["__scopeId", "data-v-d0d74cdf"]]),
|
|
3042
|
+
}), [["__scopeId", "data-v-d0d74cdf"]]), zn = ["aria-label", "aria-rowcount"], Bn = {
|
|
3037
3043
|
class: "coar-month-view__a11y-live",
|
|
3038
3044
|
role: "status",
|
|
3039
3045
|
"aria-live": "polite",
|
|
3040
3046
|
"aria-atomic": "true"
|
|
3041
|
-
},
|
|
3047
|
+
}, Vn = {
|
|
3042
3048
|
key: 2,
|
|
3043
3049
|
class: "coar-month-view__pill-title"
|
|
3044
|
-
},
|
|
3050
|
+
}, Hn = {
|
|
3045
3051
|
key: 2,
|
|
3046
3052
|
class: "coar-month-view__bar-title"
|
|
3047
|
-
},
|
|
3053
|
+
}, Un = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
3048
3054
|
__name: "CoarMonthView",
|
|
3049
3055
|
props: { builder: {} },
|
|
3050
3056
|
setup(e, { expose: t }) {
|
|
@@ -3141,7 +3147,7 @@ var bn = [
|
|
|
3141
3147
|
function de(e) {
|
|
3142
3148
|
return e.dayOfWeek === 6 || e.dayOfWeek === 7;
|
|
3143
3149
|
}
|
|
3144
|
-
let { BAR_HEIGHT: fe, DAY_NUMBER_HEIGHT: pe, barTopPx: he, rowBarHeightsPx: ge, rowHeightPx: _e, expandedRows: R, expandRow: ve, collapseRow: z } =
|
|
3150
|
+
let { BAR_HEIGHT: fe, DAY_NUMBER_HEIGHT: pe, barTopPx: he, rowBarHeightsPx: ge, rowHeightPx: _e, expandedRows: R, expandRow: ve, collapseRow: z } = bn({
|
|
3145
3151
|
layout: se,
|
|
3146
3152
|
gridRef: v,
|
|
3147
3153
|
resetToken: h
|
|
@@ -3261,18 +3267,18 @@ var bn = [
|
|
|
3261
3267
|
"aria-rowcount": se.value.weekRows.length + 1,
|
|
3262
3268
|
"aria-colcount": 7
|
|
3263
3269
|
}, [
|
|
3264
|
-
I("div",
|
|
3265
|
-
L(
|
|
3270
|
+
I("div", Bn, J(X(O).message.value), 1),
|
|
3271
|
+
L(Rn, {
|
|
3266
3272
|
"weekday-headers": _.value,
|
|
3267
3273
|
"set-rows-el": y
|
|
3268
3274
|
}, {
|
|
3269
|
-
default: Q(() => [(W(!0), F(j, null, K(se.value.weekRows, (t, i) => (W(), N(
|
|
3275
|
+
default: Q(() => [(W(!0), F(j, null, K(se.value.weekRows, (t, i) => (W(), N(Pn, {
|
|
3270
3276
|
key: t.weekStart.toString(),
|
|
3271
3277
|
"height-px": X(_e)[i],
|
|
3272
3278
|
density: a.value.density
|
|
3273
3279
|
}, {
|
|
3274
3280
|
default: Q(() => [
|
|
3275
|
-
(W(!0), F(j, null, K(t.days, (t, o) => (W(), N(
|
|
3281
|
+
(W(!0), F(j, null, K(t.days, (t, o) => (W(), N(Nn, {
|
|
3276
3282
|
key: t.toString(),
|
|
3277
3283
|
day: t,
|
|
3278
3284
|
"day-key": X(me)(t),
|
|
@@ -3291,7 +3297,7 @@ var bn = [
|
|
|
3291
3297
|
onKebabClick: (e) => Ce(e, i, t)
|
|
3292
3298
|
}, {
|
|
3293
3299
|
default: Q(() => [
|
|
3294
|
-
(W(!0), F(j, null, K(we(t), (t) => (W(), N(
|
|
3300
|
+
(W(!0), F(j, null, K(we(t), (t) => (W(), N(wn, {
|
|
3295
3301
|
key: t.event.id,
|
|
3296
3302
|
event: t.event,
|
|
3297
3303
|
pill: t,
|
|
@@ -3333,7 +3339,7 @@ var bn = [
|
|
|
3333
3339
|
layout: n
|
|
3334
3340
|
}
|
|
3335
3341
|
}
|
|
3336
|
-
}, null, 8, ["renderer", "ctx"])) : (W(), F("span",
|
|
3342
|
+
}, null, 8, ["renderer", "ctx"])) : (W(), F("span", Vn, J(U(t)), 1))]),
|
|
3337
3343
|
_: 2
|
|
3338
3344
|
}, 1032, [
|
|
3339
3345
|
"event",
|
|
@@ -3352,7 +3358,7 @@ var bn = [
|
|
|
3352
3358
|
"onPointerenter",
|
|
3353
3359
|
"onPointerleave"
|
|
3354
3360
|
]))), 128)),
|
|
3355
|
-
X(S) && X(S).bars.length === 0 && X(S).pillCells.includes(X(me)(t)) ? (W(), N(
|
|
3361
|
+
X(S) && X(S).bars.length === 0 && X(S).pillCells.includes(X(me)(t)) ? (W(), N(wn, {
|
|
3356
3362
|
key: 0,
|
|
3357
3363
|
variant: "phantom",
|
|
3358
3364
|
event: X(S).event,
|
|
@@ -3370,7 +3376,7 @@ var bn = [
|
|
|
3370
3376
|
"display-zone",
|
|
3371
3377
|
"density"
|
|
3372
3378
|
])) : P("", !0),
|
|
3373
|
-
X(ee)(t) && X(b).draggedEvent.value ? (W(), N(
|
|
3379
|
+
X(ee)(t) && X(b).draggedEvent.value ? (W(), N(wn, {
|
|
3374
3380
|
key: 1,
|
|
3375
3381
|
variant: "invalid",
|
|
3376
3382
|
event: X(b).draggedEvent.value,
|
|
@@ -3409,7 +3415,7 @@ var bn = [
|
|
|
3409
3415
|
"onCellContextmenu",
|
|
3410
3416
|
"onKebabClick"
|
|
3411
3417
|
]))), 128)),
|
|
3412
|
-
(W(!0), F(j, null, K(t.multiDayBars, (t) => (W(), N(
|
|
3418
|
+
(W(!0), F(j, null, K(t.multiDayBars, (t) => (W(), N(On, {
|
|
3413
3419
|
key: t.event.id,
|
|
3414
3420
|
event: t.event,
|
|
3415
3421
|
bar: t,
|
|
@@ -3460,7 +3466,7 @@ var bn = [
|
|
|
3460
3466
|
layout: n
|
|
3461
3467
|
}
|
|
3462
3468
|
}
|
|
3463
|
-
}, null, 8, ["renderer", "ctx"])) : (W(), F("span",
|
|
3469
|
+
}, null, 8, ["renderer", "ctx"])) : (W(), F("span", Hn, J(U(t)), 1))]),
|
|
3464
3470
|
_: 3
|
|
3465
3471
|
}, 8, [
|
|
3466
3472
|
"event",
|
|
@@ -3488,7 +3494,7 @@ var bn = [
|
|
|
3488
3494
|
"onStartResize",
|
|
3489
3495
|
"onEndResize"
|
|
3490
3496
|
]))), 128)),
|
|
3491
|
-
(W(!0), F(j, null, K(X(S) && X(S).bars.length > 0 ? X(S).bars.filter((e) => e.rowIndex === i) : [], (e) => (W(), N(
|
|
3497
|
+
(W(!0), F(j, null, K(X(S) && X(S).bars.length > 0 ? X(S).bars.filter((e) => e.rowIndex === i) : [], (e) => (W(), N(On, {
|
|
3492
3498
|
key: `phantom-${e.startCol}-${e.endCol}`,
|
|
3493
3499
|
variant: "phantom",
|
|
3494
3500
|
event: X(S).event,
|
|
@@ -3520,7 +3526,7 @@ var bn = [
|
|
|
3520
3526
|
"clipped-start",
|
|
3521
3527
|
"clipped-end"
|
|
3522
3528
|
]))), 128)),
|
|
3523
|
-
X(C) && X(C).rowIndex === i && X(C).isBar && X(b).draggedEvent.value ? (W(), N(
|
|
3529
|
+
X(C) && X(C).rowIndex === i && X(C).isBar && X(b).draggedEvent.value ? (W(), N(On, {
|
|
3524
3530
|
key: 0,
|
|
3525
3531
|
variant: "invalid",
|
|
3526
3532
|
event: X(b).draggedEvent.value,
|
|
@@ -3566,9 +3572,9 @@ var bn = [
|
|
|
3566
3572
|
}, null, 8, ["label"])) : P("", !0)]),
|
|
3567
3573
|
_: 1
|
|
3568
3574
|
}, 8, ["menu"])
|
|
3569
|
-
], 10,
|
|
3575
|
+
], 10, zn));
|
|
3570
3576
|
}
|
|
3571
|
-
}), [["__scopeId", "data-v-d538aedd"]]),
|
|
3577
|
+
}), [["__scopeId", "data-v-d538aedd"]]), Wn = ["data-y"], Gn = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
3572
3578
|
__name: "VirtualizedSurface1DY",
|
|
3573
3579
|
props: {
|
|
3574
3580
|
itemCount: {},
|
|
@@ -3725,12 +3731,12 @@ var bn = [
|
|
|
3725
3731
|
class: "coar-virtualized-surface-1dy__item",
|
|
3726
3732
|
style: H({ transform: `translateY(${h(t)}px)` }),
|
|
3727
3733
|
"data-y": t
|
|
3728
|
-
}, [q(e.$slots, "item", { y: t }, void 0, !0)], 12,
|
|
3734
|
+
}, [q(e.$slots, "item", { y: t }, void 0, !0)], 12, Wn)), [[C, t]])), 128))], 4)], 544));
|
|
3729
3735
|
}
|
|
3730
|
-
}), [["__scopeId", "data-v-50d47c8e"]]),
|
|
3736
|
+
}), [["__scopeId", "data-v-50d47c8e"]]), Kn = ["role", "aria-level"], qn = { class: "coar-agenda-day-header__label" }, Jn = {
|
|
3731
3737
|
key: 0,
|
|
3732
3738
|
class: "coar-agenda-day-header__today"
|
|
3733
|
-
},
|
|
3739
|
+
}, Yn = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
3734
3740
|
__name: "CoarAgendaDayHeader",
|
|
3735
3741
|
props: {
|
|
3736
3742
|
date: {},
|
|
@@ -3767,12 +3773,12 @@ var bn = [
|
|
|
3767
3773
|
date: e.date,
|
|
3768
3774
|
item: e.item,
|
|
3769
3775
|
isToday: e.isToday
|
|
3770
|
-
}, () => [I("span",
|
|
3776
|
+
}, () => [I("span", qn, J(e.label), 1), e.isToday ? (W(), F("span", Jn, J(e.todayLabel), 1)) : P("", !0)], !0)], 46, Kn));
|
|
3771
3777
|
}
|
|
3772
|
-
}), [["__scopeId", "data-v-990c502f"]]),
|
|
3778
|
+
}), [["__scopeId", "data-v-990c502f"]]), Xn = { class: "coar-agenda-event__default" }, Zn = { class: "coar-agenda-event__time" }, Qn = { class: "coar-agenda-event__title" }, $n = {
|
|
3773
3779
|
key: 0,
|
|
3774
3780
|
class: "coar-agenda-event__continuation-tag"
|
|
3775
|
-
},
|
|
3781
|
+
}, er = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
3776
3782
|
__name: "CoarAgendaEvent",
|
|
3777
3783
|
props: {
|
|
3778
3784
|
event: {},
|
|
@@ -3800,24 +3806,24 @@ var bn = [
|
|
|
3800
3806
|
}, [q(t.$slots, "default", {
|
|
3801
3807
|
event: e.event,
|
|
3802
3808
|
item: e.item
|
|
3803
|
-
}, () => [I("div",
|
|
3809
|
+
}, () => [I("div", Xn, [
|
|
3804
3810
|
I("span", {
|
|
3805
3811
|
class: "coar-agenda-event__color",
|
|
3806
3812
|
style: H({ background: e.color })
|
|
3807
3813
|
}, null, 4),
|
|
3808
|
-
I("span",
|
|
3809
|
-
I("span",
|
|
3814
|
+
I("span", Zn, J(e.timeLabel), 1),
|
|
3815
|
+
I("span", Qn, [
|
|
3810
3816
|
L(Tt, {
|
|
3811
3817
|
event: e.event,
|
|
3812
3818
|
"display-zone": e.displayZone,
|
|
3813
3819
|
size: "s"
|
|
3814
3820
|
}, null, 8, ["event", "display-zone"]),
|
|
3815
3821
|
_e(" " + J(e.title) + " ", 1),
|
|
3816
|
-
e.item.isContinuation ? (W(), F("span",
|
|
3822
|
+
e.item.isContinuation ? (W(), F("span", $n, J(e.continuationTag), 1)) : P("", !0)
|
|
3817
3823
|
])
|
|
3818
3824
|
])], !0)], 34));
|
|
3819
3825
|
}
|
|
3820
|
-
}), [["__scopeId", "data-v-5dcdb0df"]]),
|
|
3826
|
+
}), [["__scopeId", "data-v-5dcdb0df"]]), tr = ["aria-label"], nr = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
3821
3827
|
__name: "CoarAgendaView",
|
|
3822
3828
|
props: {
|
|
3823
3829
|
builder: {},
|
|
@@ -3955,7 +3961,7 @@ var bn = [
|
|
|
3955
3961
|
class: B(["coar-agenda-view", [`coar-agenda-view--density-${d.value}`]]),
|
|
3956
3962
|
role: "region",
|
|
3957
3963
|
"aria-label": X(r)("coar.calendar.agenda.viewLabel", void 0, "Agenda view")
|
|
3958
|
-
}, [le.value ? (W(), N(
|
|
3964
|
+
}, [le.value ? (W(), N(Yn, {
|
|
3959
3965
|
key: 0,
|
|
3960
3966
|
ref: "overlayEl",
|
|
3961
3967
|
floating: "",
|
|
@@ -3977,7 +3983,7 @@ var bn = [
|
|
|
3977
3983
|
"label",
|
|
3978
3984
|
"today-label",
|
|
3979
3985
|
"transform"
|
|
3980
|
-
])) : P("", !0), L(
|
|
3986
|
+
])) : P("", !0), L(Gn, {
|
|
3981
3987
|
ref: "surface",
|
|
3982
3988
|
role: "list",
|
|
3983
3989
|
"aria-label": X(r)("coar.calendar.agenda.listLabel", void 0, "Agenda"),
|
|
@@ -3986,7 +3992,7 @@ var bn = [
|
|
|
3986
3992
|
overscan: e.overscan,
|
|
3987
3993
|
class: "coar-agenda-view__surface"
|
|
3988
3994
|
}, {
|
|
3989
|
-
item: Q(({ y: e }) => [y.value[e].kind === "header" ? (W(), N(
|
|
3995
|
+
item: Q(({ y: e }) => [y.value[e].kind === "header" ? (W(), N(Yn, {
|
|
3990
3996
|
key: 0,
|
|
3991
3997
|
date: X(A).PlainDate.from(y.value[e].date),
|
|
3992
3998
|
item: y.value[e],
|
|
@@ -4005,7 +4011,7 @@ var bn = [
|
|
|
4005
4011
|
"label",
|
|
4006
4012
|
"today-label",
|
|
4007
4013
|
"onPointerdown"
|
|
4008
|
-
])) : (W(), N(
|
|
4014
|
+
])) : (W(), N(er, {
|
|
4009
4015
|
key: 1,
|
|
4010
4016
|
event: y.value[e].event,
|
|
4011
4017
|
item: y.value[e],
|
|
@@ -4050,18 +4056,18 @@ var bn = [
|
|
|
4050
4056
|
"item-count",
|
|
4051
4057
|
"estimated-item-size",
|
|
4052
4058
|
"overscan"
|
|
4053
|
-
])], 10,
|
|
4059
|
+
])], 10, tr));
|
|
4054
4060
|
}
|
|
4055
|
-
}), [["__scopeId", "data-v-7a664b01"]]),
|
|
4061
|
+
}), [["__scopeId", "data-v-7a664b01"]]), rr = { class: "coar-timeline-view__date-axis" }, ir = {
|
|
4056
4062
|
key: 1,
|
|
4057
4063
|
class: "coar-timeline-view__date-label"
|
|
4058
|
-
},
|
|
4064
|
+
}, ar = { class: "coar-timeline-view__label-column" }, or = ["title"], sr = ["title"], cr = { class: "coar-timeline-view__day-grid-bg" }, lr = [
|
|
4059
4065
|
"aria-label",
|
|
4060
4066
|
"onClick",
|
|
4061
4067
|
"onDblclick",
|
|
4062
4068
|
"onPointerenter",
|
|
4063
4069
|
"onPointerleave"
|
|
4064
|
-
],
|
|
4070
|
+
], ur = 8, dr = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
4065
4071
|
__name: "CoarTimelineView",
|
|
4066
4072
|
props: { builder: {} },
|
|
4067
4073
|
setup(e, { expose: t }) {
|
|
@@ -4185,7 +4191,7 @@ var bn = [
|
|
|
4185
4191
|
let ie = M(() => {
|
|
4186
4192
|
let e = l.value.rows, t = a.value.rowHeight;
|
|
4187
4193
|
if (t <= 0 || e.length === 0 || ne.value <= 0) return e;
|
|
4188
|
-
let n = t, r = O.value - n, i = O.value + ne.value - n, o = Math.max(0, Math.floor(r / t) -
|
|
4194
|
+
let n = t, r = O.value - n, i = O.value + ne.value - n, o = Math.max(0, Math.floor(r / t) - ur), s = Math.min(e.length - 1, Math.ceil(i / t) + ur);
|
|
4189
4195
|
return o > s ? [] : e.slice(o, s + 1);
|
|
4190
4196
|
}), ae = M(() => ({
|
|
4191
4197
|
width: `${a.value.labelWidth + l.value.totalWidth}px`,
|
|
@@ -4206,7 +4212,7 @@ var bn = [
|
|
|
4206
4212
|
style: H(ae.value)
|
|
4207
4213
|
}, [
|
|
4208
4214
|
t[0] ||= I("div", { class: "coar-timeline-view__corner" }, [I("span", { class: "coar-timeline-view__corner-title" }, "Event")], -1),
|
|
4209
|
-
I("div",
|
|
4215
|
+
I("div", rr, [(W(!0), F(j, null, K(u.value, (t) => (W(), F("div", {
|
|
4210
4216
|
key: t.toString(),
|
|
4211
4217
|
class: B(["coar-timeline-view__date-cell", {
|
|
4212
4218
|
"coar-timeline-view__date-cell--today": f(t),
|
|
@@ -4221,8 +4227,8 @@ var bn = [
|
|
|
4221
4227
|
date: t,
|
|
4222
4228
|
isToday: f(t),
|
|
4223
4229
|
isWeekend: p(t)
|
|
4224
|
-
}, void 0, !0) : (W(), F("span",
|
|
4225
|
-
I("div",
|
|
4230
|
+
}, void 0, !0) : (W(), F("span", ir, J(h(t)), 1))], 6))), 128))]),
|
|
4231
|
+
I("div", ar, [I("div", {
|
|
4226
4232
|
class: "coar-timeline-view__label-inner",
|
|
4227
4233
|
style: H({ height: `${Math.max(l.value.totalHeight, a.value.rowHeight)}px` })
|
|
4228
4234
|
}, [(W(!0), F(j, null, K(ie.value, (t) => (W(), F("div", {
|
|
@@ -4239,18 +4245,18 @@ var bn = [
|
|
|
4239
4245
|
}, void 0, !0) : (W(), F(j, { key: 1 }, [I("span", {
|
|
4240
4246
|
class: "coar-timeline-view__label-text",
|
|
4241
4247
|
title: g(t.bars[0].event)
|
|
4242
|
-
}, J(g(t.bars[0].event)), 9,
|
|
4248
|
+
}, J(g(t.bars[0].event)), 9, or), t.isRecurring ? (W(), F("span", {
|
|
4243
4249
|
key: 0,
|
|
4244
4250
|
class: "coar-timeline-view__label-count",
|
|
4245
4251
|
title: `${t.bars.length} occurrences`
|
|
4246
|
-
}, " ×" + J(t.bars.length), 9,
|
|
4252
|
+
}, " ×" + J(t.bars.length), 9, sr)) : P("", !0)], 64))], 6))), 128))], 4)]),
|
|
4247
4253
|
I("div", {
|
|
4248
4254
|
class: "coar-timeline-view__bars-area",
|
|
4249
4255
|
style: H({
|
|
4250
4256
|
width: `${l.value.totalWidth}px`,
|
|
4251
4257
|
height: `${Math.max(l.value.totalHeight, a.value.rowHeight)}px`
|
|
4252
4258
|
})
|
|
4253
|
-
}, [I("div",
|
|
4259
|
+
}, [I("div", cr, [(W(!0), F(j, null, K(u.value, (e) => (W(), F("div", {
|
|
4254
4260
|
key: e.toString(),
|
|
4255
4261
|
class: B(["coar-timeline-view__day-grid-cell", { "coar-timeline-view__day-grid-cell--weekend": p(e) }]),
|
|
4256
4262
|
style: H({
|
|
@@ -4281,10 +4287,10 @@ var bn = [
|
|
|
4281
4287
|
row: t,
|
|
4282
4288
|
bar: n,
|
|
4283
4289
|
event: n.event
|
|
4284
|
-
}, void 0, !0) : P("", !0)], 46,
|
|
4290
|
+
}, void 0, !0) : P("", !0)], 46, lr))), 128))], 64))), 128))], 4)
|
|
4285
4291
|
], 4)], 34));
|
|
4286
4292
|
}
|
|
4287
|
-
}), [["__scopeId", "data-v-b47f606a"]]),
|
|
4293
|
+
}), [["__scopeId", "data-v-b47f606a"]]), fr = { class: "coar-calendar__header" }, pr = { class: "coar-calendar__nav" }, mr = { class: "coar-calendar__range-label" }, hr = 100, gr = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
4288
4294
|
__name: "CoarCalendar",
|
|
4289
4295
|
props: { builder: {} },
|
|
4290
4296
|
setup(e) {
|
|
@@ -4391,7 +4397,7 @@ var bn = [
|
|
|
4391
4397
|
let i = performance.now(), a = ++C;
|
|
4392
4398
|
function o(t) {
|
|
4393
4399
|
if (a !== C) return;
|
|
4394
|
-
let s = Math.min(1, (t - i) /
|
|
4400
|
+
let s = Math.min(1, (t - i) / hr);
|
|
4395
4401
|
e.scrollTop = n + r * (1 - (1 - s) ** 3), s < 1 && requestAnimationFrame(o);
|
|
4396
4402
|
}
|
|
4397
4403
|
requestAnimationFrame(o);
|
|
@@ -4416,9 +4422,9 @@ var bn = [
|
|
|
4416
4422
|
cursor: c.value,
|
|
4417
4423
|
range: d.value,
|
|
4418
4424
|
controls: b.value
|
|
4419
|
-
}, () => [I("header",
|
|
4425
|
+
}, () => [I("header", fr, [
|
|
4420
4426
|
q(e.$slots, "headerStart", { controls: b.value }, void 0, !0),
|
|
4421
|
-
I("div",
|
|
4427
|
+
I("div", pr, [
|
|
4422
4428
|
L(X(Fe), {
|
|
4423
4429
|
variant: "secondary",
|
|
4424
4430
|
size: "s",
|
|
@@ -4442,7 +4448,7 @@ var bn = [
|
|
|
4442
4448
|
onClick: p
|
|
4443
4449
|
}, null, 8, ["aria-label"])
|
|
4444
4450
|
]),
|
|
4445
|
-
I("span",
|
|
4451
|
+
I("span", mr, J(g.value), 1),
|
|
4446
4452
|
i[1] ||= I("span", { class: "coar-calendar__spacer" }, null, -1),
|
|
4447
4453
|
q(e.$slots, "viewSwitcher", {
|
|
4448
4454
|
view: X(r),
|
|
@@ -4464,7 +4470,7 @@ var bn = [
|
|
|
4464
4470
|
ref_key: "bodyEl",
|
|
4465
4471
|
ref: x,
|
|
4466
4472
|
class: B(["coar-calendar__body", `coar-calendar__body--${X(r)}`])
|
|
4467
|
-
}, [X(r) === "day" ? (W(), N(
|
|
4473
|
+
}, [X(r) === "day" ? (W(), N(ln, {
|
|
4468
4474
|
key: 0,
|
|
4469
4475
|
builder: t.builder
|
|
4470
4476
|
}, ge({ _: 2 }, [e.$slots.event ? {
|
|
@@ -4475,7 +4481,7 @@ var bn = [
|
|
|
4475
4481
|
name: "dayHeader",
|
|
4476
4482
|
fn: Q((t) => [q(e.$slots, "dayHeader", V(z(t)), void 0, !0)]),
|
|
4477
4483
|
key: "1"
|
|
4478
|
-
} : void 0]), 1032, ["builder"])) : X(r) === "week" ? (W(), N(
|
|
4484
|
+
} : void 0]), 1032, ["builder"])) : X(r) === "week" ? (W(), N(dn, {
|
|
4479
4485
|
key: 1,
|
|
4480
4486
|
builder: t.builder
|
|
4481
4487
|
}, ge({ _: 2 }, [
|
|
@@ -4494,7 +4500,7 @@ var bn = [
|
|
|
4494
4500
|
fn: Q((t) => [q(e.$slots, "dayHeader", V(z(t)), void 0, !0)]),
|
|
4495
4501
|
key: "2"
|
|
4496
4502
|
} : void 0
|
|
4497
|
-
]), 1032, ["builder"])) : X(r) === "workWeek" ? (W(), N(
|
|
4503
|
+
]), 1032, ["builder"])) : X(r) === "workWeek" ? (W(), N(pn, {
|
|
4498
4504
|
key: 2,
|
|
4499
4505
|
builder: t.builder
|
|
4500
4506
|
}, ge({ _: 2 }, [
|
|
@@ -4513,7 +4519,7 @@ var bn = [
|
|
|
4513
4519
|
fn: Q((t) => [q(e.$slots, "dayHeader", V(z(t)), void 0, !0)]),
|
|
4514
4520
|
key: "2"
|
|
4515
4521
|
} : void 0
|
|
4516
|
-
]), 1032, ["builder"])) : X(r) === "month" ? (W(), N(
|
|
4522
|
+
]), 1032, ["builder"])) : X(r) === "month" ? (W(), N(Un, {
|
|
4517
4523
|
key: 3,
|
|
4518
4524
|
builder: t.builder
|
|
4519
4525
|
}, ge({ _: 2 }, [e.$slots.pill || e.$slots.event ? {
|
|
@@ -4534,7 +4540,7 @@ var bn = [
|
|
|
4534
4540
|
layout: t.bar
|
|
4535
4541
|
}, void 0, !0)]),
|
|
4536
4542
|
key: "1"
|
|
4537
|
-
} : void 0]), 1032, ["builder"])) : X(r) === "agenda" ? (W(), N(
|
|
4543
|
+
} : void 0]), 1032, ["builder"])) : X(r) === "agenda" ? (W(), N(nr, {
|
|
4538
4544
|
key: 4,
|
|
4539
4545
|
ref: "agendaView",
|
|
4540
4546
|
builder: t.builder
|
|
@@ -4542,7 +4548,7 @@ var bn = [
|
|
|
4542
4548
|
name: "event",
|
|
4543
4549
|
fn: Q((t) => [q(e.$slots, "event", Se(t, { view: X(r) }), void 0, !0)]),
|
|
4544
4550
|
key: "0"
|
|
4545
|
-
} : void 0]), 1032, ["builder"])) : X(r) === "timeline" ? (W(), N(
|
|
4551
|
+
} : void 0]), 1032, ["builder"])) : X(r) === "timeline" ? (W(), N(dr, {
|
|
4546
4552
|
key: 5,
|
|
4547
4553
|
builder: t.builder
|
|
4548
4554
|
}, ge({ _: 2 }, [e.$slots.event ? {
|
|
@@ -4554,7 +4560,7 @@ var bn = [
|
|
|
4554
4560
|
key: "0"
|
|
4555
4561
|
} : void 0]), 1032, ["builder"])) : P("", !0)], 2)], 2));
|
|
4556
4562
|
}
|
|
4557
|
-
}), [["__scopeId", "data-v-b56d4847"]]),
|
|
4563
|
+
}), [["__scopeId", "data-v-b56d4847"]]), _r = /* @__PURE__ */ R({
|
|
4558
4564
|
__name: "CoarDisplayZoneSwitcher",
|
|
4559
4565
|
props: {
|
|
4560
4566
|
modelValue: {},
|
|
@@ -4640,7 +4646,7 @@ var bn = [
|
|
|
4640
4646
|
"aria-label"
|
|
4641
4647
|
]));
|
|
4642
4648
|
}
|
|
4643
|
-
}),
|
|
4649
|
+
}), vr = ["data-x", "data-y"], yr = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
4644
4650
|
__name: "VirtualizedSurface2D",
|
|
4645
4651
|
props: {
|
|
4646
4652
|
itemCountX: {},
|
|
@@ -4722,8 +4728,8 @@ var bn = [
|
|
|
4722
4728
|
}, [q(e.$slots, "cell", {
|
|
4723
4729
|
x: t.x,
|
|
4724
4730
|
y: t.y
|
|
4725
|
-
}, void 0, !0)], 12,
|
|
4731
|
+
}, void 0, !0)], 12, vr))), 128))], 4)], 544));
|
|
4726
4732
|
}
|
|
4727
4733
|
}), [["__scopeId", "data-v-fbba32db"]]);
|
|
4728
4734
|
//#endregion
|
|
4729
|
-
export { Ze as CalendarBuilder,
|
|
4735
|
+
export { Ze as CalendarBuilder, nr as CoarAgendaView, gr as CoarCalendar, ln as CoarDayView, _r as CoarDisplayZoneSwitcher, Un as CoarMonthView, sn as CoarTimeGrid, dr as CoarTimelineView, dn as CoarWeekView, pn as CoarWorkWeekView, se as DEFAULT_WORK_DAYS, s as DstResolutionError, r as MIN_RESIZE_MINUTES, oe as MeasurementCache, A as Temporal, Gn as VirtualizedSurface1DY, yr as VirtualizedSurface2D, a as applyMoveToEvent, T as buildAgendaItems, n as buildDropPayload, w as buildFormatOptions, ce as computeAnchorAdjustment, ue as computeAutoScrollVelocity, ie as computeViewWindow, me as dateKey, D as daysInWindow, b as detectBrowserTimezone, e as detectDstSituation, l as detectFirstDayOfWeekFromLocale, pe as detectHour12FromLocale, x as endOfMonth, d as endOfWeek, u as eventStartDateInZone, _ as formatScheduledTime, et as getEventZoneHints, O as getVisibleRange1D, C as getVisibleRange2D, ae as hitTestVerticalSurface, i as isAllDayEvent, o as isTimedEvent, re as isoWeekNumber, de as layoutAllDayBand, ee as layoutDayEvents, k as layoutMonthGrid, E as layoutOverlappingIntervals, le as layoutTimeline, c as localizedWeekdayNames, ne as monthGridDates, te as navigateCursor, h as nowInZone, g as parsePlainDate, v as parseScheduledTime, f as startOfMonth, p as startOfWeek, m as todayInZone, lt as useA11yAnnouncer, gt as useAgendaView, Qe as useCalendar, st as useCalendarDnd, rt as useCoarDrag, ft as useDayView, dt as useMonthDnd, ht as useMonthView, ut as useTimeGridDnd, _t as useTimelineView, nt as useViewWindow, pt as useWeekView, mt as useWorkWeekView, t as validateCalendarEvent, y as weekDates, S as windowContainsDate, fe as windowDayCount, he as workWeekDates };
|
package/dist/vue-calendar.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
:root.dark-mode,.dark-mode,:root[data-theme=dark],[data-theme=dark]{--coar-calendar-bg:#18181b;--coar-calendar-bg-weekend:#212125;--coar-calendar-bg-other-month:#131316;--coar-calendar-bg-today:#2563eb24;--coar-calendar-grid-line:#2c2c30;--coar-calendar-border:#3f3f46;--coar-calendar-agenda-divider:#27272a;--coar-calendar-event-default-bg:#1e3a8a;--coar-text-base:#f4f4f5;--coar-text-subtle:#a1a1aa}.coar-event-decorations__utc[data-v-c94b210c],.coar-event-decorations__cross-zone[data-v-c94b210c]{color:var(--coar-text-subtle,#6c7280);flex:none;justify-content:center;align-items:center;margin-right:4px;display:inline-flex}.coar-event-decorations__cross-zone[data-v-c94b210c]{position:relative}.coar-event-decorations__cross-zone[data-v-c94b210c]:after{content:"";background:var(--coar-color-accent,#2563eb);border-radius:50%;width:4px;height:4px;position:absolute;top:0;right:-2px}.coar-event-decorations__sr-only[data-v-c94b210c]{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.coar-time-grid-event[data-v-9d7d3ab2]{box-sizing:border-box;font-size:var(--coar-font-size-xs,11px);cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:none;contain:layout paint;border-radius:3px;position:absolute;overflow:hidden}.coar-time-grid-event--clipped-top[data-v-9d7d3ab2]{border-top-left-radius:0;border-top-right-radius:0}.coar-time-grid-event--clipped-bottom[data-v-9d7d3ab2]{border-bottom-right-radius:0;border-bottom-left-radius:0}.coar-time-grid-event[data-v-9d7d3ab2]:focus{outline:2px solid var(--coar-background-accent-primary,#2563eb);outline-offset:1px}.coar-time-grid-event--ghost[data-v-9d7d3ab2]{pointer-events:none;outline:2px dashed var(--coar-background-accent-primary,#2563eb);outline-offset:1px;box-shadow:0 4px 12px #0000001f}.coar-time-grid-event--source-phantom[data-v-9d7d3ab2]{opacity:.4;pointer-events:none;cursor:grabbing}.coar-time-grid-event--invalid[data-v-9d7d3ab2]{pointer-events:none;cursor:not-allowed;opacity:.7;outline:2px dashed var(--coar-color-danger,#dc2626);outline-offset:1px;background-image:repeating-linear-gradient(45deg,#dc26262e 0 6px,#0000 6px 12px);box-shadow:0 4px 12px #dc262626}.coar-time-grid-event--snap-back[data-v-9d7d3ab2]{animation:.22s ease-out forwards coar-time-grid-event-snap-back-9d7d3ab2}@keyframes coar-time-grid-event-snap-back-9d7d3ab2{0%{opacity:.7;transform:scale(1)}to{opacity:0;transform:scale(.96)}}@media (prefers-reduced-motion:reduce){.coar-time-grid-event--snap-back[data-v-9d7d3ab2]{opacity:0;animation:none}}.coar-time-grid-event__default[data-v-9d7d3ab2]{height:100%;padding:2px 6px}.coar-time-grid-event__title-row[data-v-9d7d3ab2]{align-items:center;gap:0;min-width:0;display:flex}.coar-time-grid-event__title[data-v-9d7d3ab2]{color:var(--coar-text-base,#1a1c1f);white-space:nowrap;text-overflow:ellipsis;font-weight:600;display:block;overflow:hidden}.coar-time-grid-event__resize[data-v-9d7d3ab2]{cursor:ns-resize;-webkit-user-select:none;user-select:none;pointer-events:auto;z-index:2;height:6px;position:absolute;left:0;right:0}.coar-time-grid-event__resize--top[data-v-9d7d3ab2]{top:0}.coar-time-grid-event__resize--bottom[data-v-9d7d3ab2]{bottom:0}.coar-time-grid-event--density-compact[data-v-9d7d3ab2]{font-size:10px}.coar-time-grid-event--density-compact .coar-time-grid-event__default[data-v-9d7d3ab2]{padding:1px 4px}.coar-time-grid-all-day-bar[data-v-4fac0b2d]{box-sizing:border-box;font-size:var(--coar-font-size-xs,11px);cursor:pointer;white-space:nowrap;-webkit-user-select:none;user-select:none;touch-action:none;contain:layout paint;border-radius:3px;align-items:center;padding:1px 6px;display:flex;position:absolute;overflow:hidden}.coar-time-grid-all-day-bar--clipped-start[data-v-4fac0b2d]{border-top-left-radius:0;border-bottom-left-radius:0}.coar-time-grid-all-day-bar--clipped-end[data-v-4fac0b2d]{border-top-right-radius:0;border-bottom-right-radius:0}.coar-time-grid-all-day-bar[data-v-4fac0b2d]:focus{outline:2px solid var(--coar-background-accent-primary,#2563eb);outline-offset:1px}.coar-time-grid-all-day-bar--ghost[data-v-4fac0b2d]{pointer-events:none;outline:2px dashed var(--coar-background-accent-primary,#2563eb);outline-offset:1px;box-shadow:0 4px 12px #0000001f}.coar-time-grid-all-day-bar--source-phantom[data-v-4fac0b2d]{opacity:.4;pointer-events:none;cursor:grabbing}.coar-time-grid-all-day-bar--invalid[data-v-4fac0b2d]{pointer-events:none;cursor:not-allowed;opacity:.7;outline:2px dashed var(--coar-color-danger,#dc2626);outline-offset:1px;background-image:repeating-linear-gradient(45deg,#dc26262e 0 6px,#0000 6px 12px);box-shadow:0 4px 12px #dc262626}.coar-time-grid-all-day-bar--snap-back[data-v-4fac0b2d]{animation:.22s ease-out forwards coar-time-grid-all-day-bar-snap-back-4fac0b2d}@keyframes coar-time-grid-all-day-bar-snap-back-4fac0b2d{0%{opacity:.7;transform:scale(1)}to{opacity:0;transform:scale(.96)}}@media (prefers-reduced-motion:reduce){.coar-time-grid-all-day-bar--snap-back[data-v-4fac0b2d]{opacity:0;animation:none}}.coar-time-grid-all-day-bar__title[data-v-4fac0b2d]{color:var(--coar-text-base,#1a1c1f);text-overflow:ellipsis;font-weight:600;overflow:hidden}.coar-time-grid-all-day-bar__resize[data-v-4fac0b2d]{cursor:ew-resize;-webkit-user-select:none;user-select:none;pointer-events:auto;z-index:2;width:6px;position:absolute;top:0;bottom:0}.coar-time-grid-all-day-bar__resize--start[data-v-4fac0b2d]{left:0}.coar-time-grid-all-day-bar__resize--end[data-v-4fac0b2d]{right:0}.coar-time-grid-all-day-bar--density-compact[data-v-4fac0b2d]{padding:0 4px;font-size:10px}.coar-time-grid-now-marker[data-v-ce9e34d0]{pointer-events:none;z-index:5;position:absolute;left:0;right:0}.coar-time-grid-now-marker__dot[data-v-ce9e34d0]{background:var(--coar-color-danger,#dc2626);border-radius:50%;width:8px;height:8px;position:absolute;top:-4px;left:-4px}.coar-time-grid-now-marker__line[data-v-ce9e34d0]{background:var(--coar-color-danger,#dc2626);height:1px;display:block}.coar-time-grid-header[data-v-ed6739ff]{grid-template-columns:var(--coar-time-grid-axis-width) 1fr;border-bottom:1px solid var(--coar-calendar-border,#d1d5db);background:var(--coar-calendar-bg,#fff);min-height:var(--coar-time-grid-header-height);display:grid}.coar-time-grid-header__cells[data-v-ed6739ff]{grid-auto-columns:1fr;grid-auto-flow:column;display:grid}.coar-time-grid-header__cell[data-v-ed6739ff]{border-left:1px solid var(--coar-calendar-border,#d1d5db);font-size:var(--coar-font-size-sm,13px);color:var(--coar-text-base,#1a1c1f);background:var(--coar-calendar-bg,#fff);padding:8px 12px;font-weight:600}.coar-time-grid-header__cell--today[data-v-ed6739ff]{color:var(--coar-color-accent,#2563eb)}.coar-time-grid-header__cell--weekend[data-v-ed6739ff]{background:var(--coar-calendar-bg-weekend,#f6f7f9)}.coar-time-grid-header--density-compact .coar-time-grid-header__cell[data-v-ed6739ff]{font-size:var(--coar-font-size-xs,11px);padding:4px 8px}.coar-time-grid-all-day-band[data-v-4eabecb1]{grid-template-columns:var(--coar-time-grid-axis-width) 1fr;border-bottom:1px solid var(--coar-calendar-border,#d1d5db);background:var(--coar-calendar-bg,#fff);font-size:var(--coar-font-size-xs,11px);display:grid}.coar-time-grid-all-day-band__axis[data-v-4eabecb1]{text-transform:uppercase;letter-spacing:.04em;color:var(--coar-text-subtle,#6c7280);align-self:start;padding:4px 6px;line-height:1.2}.coar-time-grid-all-day-band__columns[data-v-4eabecb1]{grid-auto-columns:1fr;grid-auto-flow:column;display:grid;position:relative}.coar-time-grid-all-day-band__cell[data-v-4eabecb1]{border-left:1px solid var(--coar-calendar-border,#d1d5db);cursor:pointer}.coar-time-grid-all-day-band__cell--weekend[data-v-4eabecb1]{background:var(--coar-calendar-bg-weekend,#f6f7f9)}.coar-time-grid-all-day-band__cell--today[data-v-4eabecb1]{background:var(--coar-calendar-bg-today,#2563eb0a)}.coar-time-grid-column[data-v-32d41217]{border-left:1px solid var(--coar-calendar-border,#d1d5db);background:var(--coar-calendar-bg,#fff);contain:layout;position:relative}.coar-time-grid-column--weekend[data-v-32d41217]{background:var(--coar-calendar-bg-weekend,#f6f7f9)}.coar-time-grid-column--today[data-v-32d41217]{background:var(--coar-calendar-bg-today,#2563eb0a)}.coar-time-grid__a11y-live[data-v-cab88cd2]{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.coar-time-grid[data-v-cab88cd2]{font-family:var(--coar-body-base-family,system-ui, sans-serif);font-variant-numeric:tabular-nums;background:var(--coar-calendar-bg,#fff);--coar-time-grid-header-height:36px;--coar-time-grid-axis-width:80px;flex-direction:column;display:flex}.coar-time-grid__sticky-top[data-v-cab88cd2]{z-index:20;background:var(--coar-calendar-bg,#fff);position:sticky;top:0}.coar-time-grid__all-day-bar-title[data-v-cab88cd2]{text-overflow:ellipsis;color:var(--coar-text-base,#1a1c1f);font-weight:600;overflow:hidden}.coar-time-grid__body[data-v-cab88cd2]{grid-template-columns:var(--coar-time-grid-axis-width) 1fr;display:grid;position:relative;overflow:hidden}.coar-time-grid__hour-axis[data-v-cab88cd2]{position:relative}.coar-time-grid__hour-label[data-v-cab88cd2]{text-align:right;font-size:var(--coar-font-size-xs,11px);color:var(--coar-text-subtle,#6c7280);padding-right:8px;position:absolute;left:0;right:8px;transform:translateY(-50%)}.coar-time-grid__columns[data-v-cab88cd2]{grid-auto-columns:1fr;grid-auto-flow:column;display:grid;position:relative}.coar-time-grid__event-default[data-v-cab88cd2]{flex-direction:column;height:100%;display:flex}.coar-time-grid__event-title[data-v-cab88cd2]{color:var(--coar-text-base,#1a1c1f);text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.coar-day-view[data-v-639564d0],.coar-week-view[data-v-29a99a70],.coar-work-week-view[data-v-0cfec5b4]{width:100%;display:block}.coar-month-pill[data-v-ca59e6dd]{font-size:var(--coar-font-size-xs,11px);cursor:pointer;white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;user-select:none;touch-action:none;border-radius:3px;flex:none;align-items:center;min-width:0;padding:1px 6px;display:flex;overflow:hidden}.coar-month-pill[data-v-ca59e6dd]:focus{outline:2px solid var(--coar-background-accent-primary,#2563eb);outline-offset:1px}.coar-month-pill--ghost[data-v-ca59e6dd]{pointer-events:none;outline:2px dashed var(--coar-background-accent-primary,#2563eb);outline-offset:1px;box-shadow:0 4px 12px #0000001f}.coar-month-pill--source-phantom[data-v-ca59e6dd]{opacity:.4;pointer-events:none;cursor:grabbing}.coar-month-pill--invalid[data-v-ca59e6dd]{pointer-events:none;cursor:not-allowed;opacity:.7;outline:2px dashed var(--coar-color-danger,#dc2626);outline-offset:1px;background-image:repeating-linear-gradient(45deg,#dc26262e 0 6px,#0000 6px 12px);box-shadow:0 4px 12px #dc262626}.coar-month-pill__title[data-v-ca59e6dd]{color:var(--coar-text-base,#1a1c1f);text-overflow:ellipsis;min-width:0;font-weight:600;overflow:hidden}.coar-month-pill--snap-back[data-v-ca59e6dd]{animation:.22s ease-out forwards coar-month-pill-snap-back-ca59e6dd}@keyframes coar-month-pill-snap-back-ca59e6dd{0%{opacity:.7;transform:scale(1)}to{opacity:0;transform:scale(.96)}}@media (prefers-reduced-motion:reduce){.coar-month-pill--snap-back[data-v-ca59e6dd]{opacity:0;animation:none}}.coar-month-pill--density-compact[data-v-ca59e6dd]{padding:0 4px;font-size:10px}.coar-month-bar[data-v-aae90a51]{box-sizing:border-box;font-size:var(--coar-font-size-xs,11px);cursor:pointer;white-space:nowrap;-webkit-user-select:none;user-select:none;touch-action:none;contain:layout paint;border-radius:3px;align-items:center;padding:1px 6px;display:flex;position:absolute;overflow:hidden}.coar-month-bar--clipped-start[data-v-aae90a51]{border-top-left-radius:0;border-bottom-left-radius:0}.coar-month-bar--clipped-end[data-v-aae90a51]{border-top-right-radius:0;border-bottom-right-radius:0}.coar-month-bar[data-v-aae90a51]:focus{outline:2px solid var(--coar-background-accent-primary,#2563eb);outline-offset:1px}.coar-month-bar--ghost[data-v-aae90a51]{pointer-events:none;outline:2px dashed var(--coar-background-accent-primary,#2563eb);outline-offset:1px;box-shadow:0 4px 12px #0000001f}.coar-month-bar--source-phantom[data-v-aae90a51]{opacity:.4;pointer-events:none;cursor:grabbing}.coar-month-bar--invalid[data-v-aae90a51]{pointer-events:none;cursor:not-allowed;opacity:.7;outline:2px dashed var(--coar-color-danger,#dc2626);outline-offset:1px;background-image:repeating-linear-gradient(45deg,#dc26262e 0 6px,#0000 6px 12px);box-shadow:0 4px 12px #dc262626}.coar-month-bar__title[data-v-aae90a51]{color:var(--coar-text-base,#1a1c1f);text-overflow:ellipsis;font-weight:600;overflow:hidden}.coar-month-bar__resize[data-v-aae90a51]{cursor:ew-resize;-webkit-user-select:none;user-select:none;pointer-events:auto;z-index:2;width:6px;position:absolute;top:0;bottom:0}.coar-month-bar__resize--start[data-v-aae90a51]{left:0}.coar-month-bar__resize--end[data-v-aae90a51]{right:0}.coar-month-bar--snap-back[data-v-aae90a51]{animation:.22s ease-out forwards coar-month-bar-snap-back-aae90a51}@keyframes coar-month-bar-snap-back-aae90a51{0%{opacity:.7;transform:scale(1)}to{opacity:0;transform:scale(.96)}}@media (prefers-reduced-motion:reduce){.coar-month-bar--snap-back[data-v-aae90a51]{opacity:0;animation:none}}.coar-month-bar--density-compact[data-v-aae90a51]{padding:0 4px;font-size:10px}.coar-month-cell[data-v-a2e2a614]{border-left:1px solid var(--coar-calendar-border,#d1d5db);cursor:pointer;background:var(--coar-calendar-bg,#fff);contain:layout paint;flex-direction:column;min-width:0;min-height:0;display:flex;position:relative}.coar-month-cell[data-v-a2e2a614]:first-child{border-left:none}.coar-month-cell--weekend[data-v-a2e2a614]{background:var(--coar-calendar-bg-weekend,#f6f7f9)}.coar-month-cell--other-month[data-v-a2e2a614]{background:var(--coar-calendar-bg-other-month,#fafafb);color:var(--coar-text-subtle,#9ca3af)}.coar-month-cell--today[data-v-a2e2a614]{background:var(--coar-calendar-bg-today,#2563eb0a)}.coar-month-cell__day-number-row[data-v-a2e2a614]{box-sizing:border-box;align-items:center;height:24px;padding:4px 6px;display:flex}.coar-month-cell__day-number[data-v-a2e2a614]{font-size:var(--coar-font-size-sm,13px);color:var(--coar-text-base,#1a1c1f);font-weight:600}.coar-month-cell--today .coar-month-cell__day-number[data-v-a2e2a614]{color:var(--coar-color-accent,#2563eb)}.coar-month-cell--other-month .coar-month-cell__day-number[data-v-a2e2a614]{color:var(--coar-text-subtle,#9ca3af);font-weight:500}.coar-month-cell__pills[data-v-a2e2a614]{scrollbar-width:thin;scrollbar-color:var(--coar-border-neutral-tertiary,#d1d5db) transparent;flex-direction:column;flex:1 1 0;gap:2px;min-height:0;padding:3px 4px 4px;display:flex;overflow-y:auto}.coar-month-cell__pills[data-v-a2e2a614]::-webkit-scrollbar{width:6px}.coar-month-cell__pills[data-v-a2e2a614]::-webkit-scrollbar-thumb{background:var(--coar-border-neutral-tertiary,#d1d5db);border-radius:3px}.coar-month-cell__pills[data-v-a2e2a614]::-webkit-scrollbar-track{background:0 0}.coar-month-cell__menu-trigger[data-v-a2e2a614]{cursor:pointer;width:18px;height:18px;color:var(--coar-text-subtle,#6c7280);border-radius:var(--coar-radius-xs,2px);background:0 0;border:0;justify-content:center;align-items:center;margin-left:auto;padding:0;display:inline-flex}.coar-month-cell__menu-trigger[data-v-a2e2a614]:hover,.coar-month-cell__menu-trigger[data-v-a2e2a614]:focus-visible,.coar-month-cell__menu-trigger[aria-expanded=true][data-v-a2e2a614]{background:var(--coar-background-neutral-tertiary,#f3f4f6);color:var(--coar-text-base,#1a1c1f)}@media (hover:hover){.coar-month-cell__menu-trigger[data-v-a2e2a614]{opacity:0}.coar-month-cell:hover .coar-month-cell__menu-trigger[data-v-a2e2a614],.coar-month-cell__menu-trigger[data-v-a2e2a614]:focus-visible,.coar-month-cell__menu-trigger[aria-expanded=true][data-v-a2e2a614]{opacity:1}}.coar-month-row[data-v-8f7c41d6]{border-bottom:1px solid var(--coar-calendar-border,#d1d5db);grid-template-columns:repeat(7,1fr);min-height:100px;transition:height .2s ease-out;display:grid;position:relative}@media (prefers-reduced-motion:reduce){.coar-month-row[data-v-8f7c41d6]{transition:none}}.coar-month-row[data-v-8f7c41d6]:last-child{border-bottom:none}.coar-month-row--density-compact[data-v-8f7c41d6]{min-height:80px}.coar-month-grid[data-v-d0d74cdf]{display:contents}.coar-month-grid__weekday-row[data-v-d0d74cdf]{border-bottom:1px solid var(--coar-calendar-border,#d1d5db);z-index:5;background:var(--coar-calendar-bg,#fff);grid-template-columns:repeat(7,1fr);display:grid;position:sticky;top:0}.coar-month-grid__weekday-cell[data-v-d0d74cdf]{font-size:var(--coar-font-size-xs,11px);text-transform:uppercase;letter-spacing:.04em;color:var(--coar-text-subtle,#6c7280);border-left:1px solid var(--coar-calendar-border,#d1d5db);padding:8px 12px;font-weight:600}.coar-month-grid__weekday-cell[data-v-d0d74cdf]:first-child{border-left:none}.coar-month-view__a11y-live[data-v-d538aedd]{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.coar-month-view[data-v-d538aedd]{background:var(--coar-calendar-bg,#fff);font-family:var(--coar-body-base-family,system-ui, sans-serif);font-variant-numeric:tabular-nums;flex-direction:column;display:flex}.coar-month-view__pill-title[data-v-d538aedd]{color:var(--coar-text-base,#1a1c1f);font-weight:600}.coar-month-view__bar-title[data-v-d538aedd]{color:var(--coar-text-base,#1a1c1f);text-overflow:ellipsis;font-weight:600;overflow:hidden}.coar-virtualized-surface-1dy[data-v-50d47c8e]{contain:strict;position:relative;overflow:hidden auto}.coar-virtualized-surface-1dy__spacer[data-v-50d47c8e]{width:100%;position:relative}.coar-virtualized-surface-1dy__item[data-v-50d47c8e]{contain:layout paint style;position:absolute;top:0;left:0;right:0}.coar-agenda-day-header[data-v-990c502f]{background:var(--coar-calendar-bg,#fff);border-bottom:1px solid var(--coar-calendar-border,#e3e5e9);font-weight:600;font-size:var(--coar-font-size-sm,13px);color:var(--coar-text-base,#1a1c1f);align-items:baseline;gap:8px;padding:8px 16px;display:flex}.coar-agenda-day-header--today[data-v-990c502f]{color:var(--coar-color-accent,#2563eb)}.coar-agenda-day-header--empty[data-v-990c502f]{color:var(--coar-text-subtle,#9ca3af);font-style:italic}.coar-agenda-day-header--floating[data-v-990c502f]{z-index:10;will-change:transform;margin-right:14px;position:absolute;top:0;left:0;right:0}.coar-agenda-day-header__today[data-v-990c502f]{font-size:var(--coar-font-size-xs,11px);text-transform:uppercase;letter-spacing:.05em;background:var(--coar-color-accent,#2563eb);color:#fff;border-radius:999px;padding:2px 8px;font-weight:700}.coar-agenda-event[data-v-5dcdb0df]{border-bottom:1px solid var(--coar-calendar-agenda-divider,var(--coar-calendar-border,#f3f4f6));cursor:pointer;-webkit-user-select:none;user-select:none;background:var(--coar-calendar-bg,#fff);padding:10px 16px;transition:background-color 80ms}.coar-agenda-event[data-v-5dcdb0df]:hover{background:var(--coar-surface-subtle,#f6f7f9)}.coar-agenda-event--continuation[data-v-5dcdb0df]{opacity:.7}.coar-agenda-event__default[data-v-5dcdb0df]{align-items:center;gap:12px;display:flex}.coar-agenda-event__color[data-v-5dcdb0df]{border-radius:50%;flex:none;width:8px;height:8px}.coar-agenda-event__time[data-v-5dcdb0df]{font-size:var(--coar-font-size-sm,13px);color:var(--coar-text-subtle,#6c7280);font-variant-numeric:tabular-nums;min-width:80px}.coar-agenda-event__title[data-v-5dcdb0df]{font-size:var(--coar-font-size-base,14px);color:var(--coar-text-base,#1a1c1f);font-weight:500}.coar-agenda-event__continuation-tag[data-v-5dcdb0df]{font-size:var(--coar-font-size-xs,11px);color:var(--coar-text-subtle,#9ca3af);margin-left:6px;font-style:italic;font-weight:400}.coar-agenda-view[data-v-7a664b01]{background:var(--coar-calendar-bg,#fff);font-family:var(--coar-body-base-family,system-ui, sans-serif);height:100%;position:relative;overflow:hidden}.coar-agenda-view__surface[data-v-7a664b01]{height:100%}.coar-timeline-view[data-v-b47f606a]{width:100%;height:100%;font-family:var(--coar-body-base-family);font-size:var(--coar-body-s-size,13px);background:var(--coar-background-neutral-primary);cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none;display:block;overflow:auto}.coar-timeline-view--panning[data-v-b47f606a]{cursor:grabbing}.coar-timeline-view .coar-timeline-view__bar[data-v-b47f606a]{cursor:pointer}.coar-timeline-view--panning .coar-timeline-view__bar[data-v-b47f606a]{cursor:grabbing}.coar-timeline-view__grid[data-v-b47f606a]{display:grid;position:relative}.coar-timeline-view__corner[data-v-b47f606a]{z-index:3;background:var(--coar-background-neutral-secondary);border-right:1px solid var(--coar-border-neutral-tertiary);border-bottom:1px solid var(--coar-border-neutral-tertiary);padding:0 var(--coar-spacing-s,8px);grid-area:1/1;align-items:center;display:flex;position:sticky;top:0;left:0}.coar-timeline-view__corner-title[data-v-b47f606a]{color:var(--coar-text-neutral-secondary);text-transform:uppercase;letter-spacing:.05em;font-size:11px;font-weight:600}.coar-timeline-view__date-axis[data-v-b47f606a]{z-index:2;background:var(--coar-background-neutral-secondary);border-bottom:1px solid var(--coar-border-neutral-tertiary);grid-area:1/2;display:flex;position:sticky;top:0}.coar-timeline-view__date-cell[data-v-b47f606a]{box-sizing:border-box;border-right:1px solid var(--coar-border-neutral-tertiary);color:var(--coar-text-neutral-secondary);flex:none;justify-content:center;align-items:center;font-size:11px;display:flex}.coar-timeline-view__date-cell--today[data-v-b47f606a]{background:var(--coar-background-accent-soft,#eff6ff);color:var(--coar-text-accent,#2563eb);font-weight:600}.coar-timeline-view__date-cell--weekend[data-v-b47f606a]{background:var(--coar-background-neutral-tertiary,#f5f5f5)}.coar-timeline-view__label-column[data-v-b47f606a]{z-index:2;background:var(--coar-background-neutral-primary);border-right:1px solid var(--coar-border-neutral-tertiary);grid-area:2/1;position:sticky;left:0}.coar-timeline-view__label-inner[data-v-b47f606a]{width:100%;position:relative}.coar-timeline-view__label-row[data-v-b47f606a]{padding:0 var(--coar-spacing-s,8px);border-bottom:1px solid var(--coar-border-neutral-tertiary);box-sizing:border-box;align-items:center;gap:6px;display:flex;position:absolute;left:0;right:0;overflow:hidden}.coar-timeline-view__label-text[data-v-b47f606a]{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;font-weight:500;overflow:hidden}.coar-timeline-view__label-count[data-v-b47f606a]{color:var(--coar-text-neutral-secondary);font-variant-numeric:tabular-nums;background:var(--coar-background-neutral-tertiary,#f5f5f5);border-radius:9999px;flex:none;padding:1px 6px;font-size:11px}.coar-timeline-view__bars-area[data-v-b47f606a]{grid-area:2/2;position:relative}.coar-timeline-view__day-grid-bg[data-v-b47f606a]{pointer-events:none;z-index:0;display:flex;position:absolute;inset:0}.coar-timeline-view__day-grid-cell[data-v-b47f606a]{box-sizing:border-box;border-right:1px solid var(--coar-border-neutral-tertiary);flex:none;height:100%}.coar-timeline-view__day-grid-cell--weekend[data-v-b47f606a]{background:var(--coar-background-neutral-tertiary,#f5f5f5);opacity:.4}.coar-timeline-view__bar[data-v-b47f606a]{border-radius:var(--coar-radius-xs,4px);color:#fff;text-align:left;cursor:pointer;text-overflow:ellipsis;white-space:nowrap;z-index:1;border:none;padding:0 8px;font-size:12px;font-weight:500;transition:filter .1s;position:absolute;overflow:hidden}.coar-timeline-view__bar[data-v-b47f606a]:hover{filter:brightness(1.05)}.coar-timeline-view__bar[data-v-b47f606a]:focus-visible{outline:2px solid var(--coar-border-accent,#2563eb);outline-offset:2px}.coar-timeline-view__bar--clipped-start[data-v-b47f606a]{border-top-left-radius:0;border-bottom-left-radius:0}.coar-timeline-view__bar--clipped-end[data-v-b47f606a]{border-top-right-radius:0;border-bottom-right-radius:0}.coar-timeline-view__bar-label[data-v-b47f606a]{text-overflow:ellipsis;white-space:nowrap;display:inline-block;overflow:hidden}.coar-calendar[data-v-b56d4847]{background:var(--coar-background-neutral-primary);height:100%;font-family:var(--coar-body-base-family);color:var(--coar-text-neutral-primary);flex-direction:column;display:flex}.coar-calendar__header[data-v-b56d4847]{align-items:center;gap:var(--coar-spacing-m);padding:var(--coar-spacing-s) var(--coar-spacing-m);border-bottom:1px solid var(--coar-border-neutral-tertiary);background:var(--coar-background-neutral-primary);flex:none;display:flex}.coar-calendar__nav[data-v-b56d4847]{align-items:center;gap:var(--coar-spacing-xs);display:flex}.coar-calendar__range-label[data-v-b56d4847]{font-size:var(--coar-component-m-font-size);color:var(--coar-text-neutral-primary);white-space:nowrap;text-overflow:ellipsis;min-width:0;font-weight:600;overflow:hidden}.coar-calendar__spacer[data-v-b56d4847]{flex:auto}.coar-calendar__body[data-v-b56d4847]{flex:auto;min-height:0}.coar-calendar__body--day[data-v-b56d4847],.coar-calendar__body--week[data-v-b56d4847],.coar-calendar__body--month[data-v-b56d4847]{overflow:hidden auto}.coar-calendar__body--agenda[data-v-b56d4847]{overflow:hidden}.coar-virtualized-surface-2d[data-v-fbba32db]{contain:strict;position:relative;overflow:auto}.coar-virtualized-surface-2d__spacer[data-v-fbba32db]{position:relative}.coar-virtualized-surface-2d__cell[data-v-fbba32db]{contain:layout paint size style;box-sizing:border-box;position:absolute;top:0;left:0}
|
|
1
|
+
:root.dark-mode,.dark-mode,:root[data-theme=dark],[data-theme=dark]{--coar-calendar-bg:#18181b;--coar-calendar-bg-weekend:#212125;--coar-calendar-bg-other-month:#131316;--coar-calendar-bg-today:#2563eb24;--coar-calendar-grid-line:#2c2c30;--coar-calendar-border:#3f3f46;--coar-calendar-agenda-divider:#27272a;--coar-calendar-event-default-bg:#1e3a8a;--coar-text-base:#f4f4f5;--coar-text-subtle:#a1a1aa}.coar-event-decorations__utc[data-v-c94b210c],.coar-event-decorations__cross-zone[data-v-c94b210c]{color:var(--coar-text-subtle,#6c7280);flex:none;justify-content:center;align-items:center;margin-right:4px;display:inline-flex}.coar-event-decorations__cross-zone[data-v-c94b210c]{position:relative}.coar-event-decorations__cross-zone[data-v-c94b210c]:after{content:"";background:var(--coar-color-accent,#2563eb);border-radius:50%;width:4px;height:4px;position:absolute;top:0;right:-2px}.coar-event-decorations__sr-only[data-v-c94b210c]{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.coar-time-grid-event[data-v-3741cd28]{box-sizing:border-box;font-size:var(--coar-font-size-xs,11px);cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:none;contain:layout paint;background:var(--event-bg);border-left:3px solid var(--event-border);border-radius:3px;position:absolute;overflow:hidden}.coar-time-grid-event--point[data-v-3741cd28]{background:color-mix(in srgb, var(--event-bg) calc(var(--coar-calendar-point-body-opacity,.38) * 100%), transparent);border-left-color:color-mix(in srgb, var(--event-border) calc(var(--coar-calendar-point-body-opacity,.38) * 100%), transparent)}.coar-time-grid-event--clipped-top[data-v-3741cd28]{border-top-left-radius:0;border-top-right-radius:0}.coar-time-grid-event--clipped-bottom[data-v-3741cd28]{border-bottom-right-radius:0;border-bottom-left-radius:0}.coar-time-grid-event[data-v-3741cd28]:focus{outline:2px solid var(--coar-background-accent-primary,#2563eb);outline-offset:1px}.coar-time-grid-event--ghost[data-v-3741cd28]{pointer-events:none;outline:2px dashed var(--coar-background-accent-primary,#2563eb);outline-offset:1px;box-shadow:0 4px 12px #0000001f}.coar-time-grid-event--source-phantom[data-v-3741cd28]{opacity:.4;pointer-events:none;cursor:grabbing}.coar-time-grid-event--invalid[data-v-3741cd28]{pointer-events:none;cursor:not-allowed;opacity:.7;outline:2px dashed var(--coar-color-danger,#dc2626);outline-offset:1px;background-image:repeating-linear-gradient(45deg,#dc26262e 0 6px,#0000 6px 12px);box-shadow:0 4px 12px #dc262626}.coar-time-grid-event--snap-back[data-v-3741cd28]{animation:.22s ease-out forwards coar-time-grid-event-snap-back-3741cd28}@keyframes coar-time-grid-event-snap-back-3741cd28{0%{opacity:.7;transform:scale(1)}to{opacity:0;transform:scale(.96)}}@media (prefers-reduced-motion:reduce){.coar-time-grid-event--snap-back[data-v-3741cd28]{opacity:0;animation:none}}.coar-time-grid-event__default[data-v-3741cd28]{height:100%;padding:2px 6px}.coar-time-grid-event__title-row[data-v-3741cd28]{align-items:center;gap:0;min-width:0;display:flex}.coar-time-grid-event__title[data-v-3741cd28]{color:var(--coar-text-base,#1a1c1f);white-space:nowrap;text-overflow:ellipsis;font-weight:600;display:block;overflow:hidden}.coar-time-grid-event__point-edge[data-v-3741cd28]{background:var(--event-border);height:var(--coar-calendar-point-edge-height,3px);pointer-events:none;z-index:1;position:absolute;top:0;left:0;right:0}.coar-time-grid-event__resize[data-v-3741cd28]{cursor:ns-resize;-webkit-user-select:none;user-select:none;pointer-events:auto;z-index:2;height:6px;position:absolute;left:0;right:0}.coar-time-grid-event__resize--top[data-v-3741cd28]{top:0}.coar-time-grid-event__resize--bottom[data-v-3741cd28]{bottom:0}.coar-time-grid-event--density-compact[data-v-3741cd28]{font-size:10px}.coar-time-grid-event--density-compact .coar-time-grid-event__default[data-v-3741cd28]{padding:1px 4px}.coar-time-grid-all-day-bar[data-v-4fac0b2d]{box-sizing:border-box;font-size:var(--coar-font-size-xs,11px);cursor:pointer;white-space:nowrap;-webkit-user-select:none;user-select:none;touch-action:none;contain:layout paint;border-radius:3px;align-items:center;padding:1px 6px;display:flex;position:absolute;overflow:hidden}.coar-time-grid-all-day-bar--clipped-start[data-v-4fac0b2d]{border-top-left-radius:0;border-bottom-left-radius:0}.coar-time-grid-all-day-bar--clipped-end[data-v-4fac0b2d]{border-top-right-radius:0;border-bottom-right-radius:0}.coar-time-grid-all-day-bar[data-v-4fac0b2d]:focus{outline:2px solid var(--coar-background-accent-primary,#2563eb);outline-offset:1px}.coar-time-grid-all-day-bar--ghost[data-v-4fac0b2d]{pointer-events:none;outline:2px dashed var(--coar-background-accent-primary,#2563eb);outline-offset:1px;box-shadow:0 4px 12px #0000001f}.coar-time-grid-all-day-bar--source-phantom[data-v-4fac0b2d]{opacity:.4;pointer-events:none;cursor:grabbing}.coar-time-grid-all-day-bar--invalid[data-v-4fac0b2d]{pointer-events:none;cursor:not-allowed;opacity:.7;outline:2px dashed var(--coar-color-danger,#dc2626);outline-offset:1px;background-image:repeating-linear-gradient(45deg,#dc26262e 0 6px,#0000 6px 12px);box-shadow:0 4px 12px #dc262626}.coar-time-grid-all-day-bar--snap-back[data-v-4fac0b2d]{animation:.22s ease-out forwards coar-time-grid-all-day-bar-snap-back-4fac0b2d}@keyframes coar-time-grid-all-day-bar-snap-back-4fac0b2d{0%{opacity:.7;transform:scale(1)}to{opacity:0;transform:scale(.96)}}@media (prefers-reduced-motion:reduce){.coar-time-grid-all-day-bar--snap-back[data-v-4fac0b2d]{opacity:0;animation:none}}.coar-time-grid-all-day-bar__title[data-v-4fac0b2d]{color:var(--coar-text-base,#1a1c1f);text-overflow:ellipsis;font-weight:600;overflow:hidden}.coar-time-grid-all-day-bar__resize[data-v-4fac0b2d]{cursor:ew-resize;-webkit-user-select:none;user-select:none;pointer-events:auto;z-index:2;width:6px;position:absolute;top:0;bottom:0}.coar-time-grid-all-day-bar__resize--start[data-v-4fac0b2d]{left:0}.coar-time-grid-all-day-bar__resize--end[data-v-4fac0b2d]{right:0}.coar-time-grid-all-day-bar--density-compact[data-v-4fac0b2d]{padding:0 4px;font-size:10px}.coar-time-grid-now-marker[data-v-ce9e34d0]{pointer-events:none;z-index:5;position:absolute;left:0;right:0}.coar-time-grid-now-marker__dot[data-v-ce9e34d0]{background:var(--coar-color-danger,#dc2626);border-radius:50%;width:8px;height:8px;position:absolute;top:-4px;left:-4px}.coar-time-grid-now-marker__line[data-v-ce9e34d0]{background:var(--coar-color-danger,#dc2626);height:1px;display:block}.coar-time-grid-header[data-v-ed6739ff]{grid-template-columns:var(--coar-time-grid-axis-width) 1fr;border-bottom:1px solid var(--coar-calendar-border,#d1d5db);background:var(--coar-calendar-bg,#fff);min-height:var(--coar-time-grid-header-height);display:grid}.coar-time-grid-header__cells[data-v-ed6739ff]{grid-auto-columns:1fr;grid-auto-flow:column;display:grid}.coar-time-grid-header__cell[data-v-ed6739ff]{border-left:1px solid var(--coar-calendar-border,#d1d5db);font-size:var(--coar-font-size-sm,13px);color:var(--coar-text-base,#1a1c1f);background:var(--coar-calendar-bg,#fff);padding:8px 12px;font-weight:600}.coar-time-grid-header__cell--today[data-v-ed6739ff]{color:var(--coar-color-accent,#2563eb)}.coar-time-grid-header__cell--weekend[data-v-ed6739ff]{background:var(--coar-calendar-bg-weekend,#f6f7f9)}.coar-time-grid-header--density-compact .coar-time-grid-header__cell[data-v-ed6739ff]{font-size:var(--coar-font-size-xs,11px);padding:4px 8px}.coar-time-grid-all-day-band[data-v-4eabecb1]{grid-template-columns:var(--coar-time-grid-axis-width) 1fr;border-bottom:1px solid var(--coar-calendar-border,#d1d5db);background:var(--coar-calendar-bg,#fff);font-size:var(--coar-font-size-xs,11px);display:grid}.coar-time-grid-all-day-band__axis[data-v-4eabecb1]{text-transform:uppercase;letter-spacing:.04em;color:var(--coar-text-subtle,#6c7280);align-self:start;padding:4px 6px;line-height:1.2}.coar-time-grid-all-day-band__columns[data-v-4eabecb1]{grid-auto-columns:1fr;grid-auto-flow:column;display:grid;position:relative}.coar-time-grid-all-day-band__cell[data-v-4eabecb1]{border-left:1px solid var(--coar-calendar-border,#d1d5db);cursor:pointer}.coar-time-grid-all-day-band__cell--weekend[data-v-4eabecb1]{background:var(--coar-calendar-bg-weekend,#f6f7f9)}.coar-time-grid-all-day-band__cell--today[data-v-4eabecb1]{background:var(--coar-calendar-bg-today,#2563eb0a)}.coar-time-grid-column[data-v-32d41217]{border-left:1px solid var(--coar-calendar-border,#d1d5db);background:var(--coar-calendar-bg,#fff);contain:layout;position:relative}.coar-time-grid-column--weekend[data-v-32d41217]{background:var(--coar-calendar-bg-weekend,#f6f7f9)}.coar-time-grid-column--today[data-v-32d41217]{background:var(--coar-calendar-bg-today,#2563eb0a)}.coar-time-grid__a11y-live[data-v-cab88cd2]{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.coar-time-grid[data-v-cab88cd2]{font-family:var(--coar-body-base-family,system-ui, sans-serif);font-variant-numeric:tabular-nums;background:var(--coar-calendar-bg,#fff);--coar-time-grid-header-height:36px;--coar-time-grid-axis-width:80px;flex-direction:column;display:flex}.coar-time-grid__sticky-top[data-v-cab88cd2]{z-index:20;background:var(--coar-calendar-bg,#fff);position:sticky;top:0}.coar-time-grid__all-day-bar-title[data-v-cab88cd2]{text-overflow:ellipsis;color:var(--coar-text-base,#1a1c1f);font-weight:600;overflow:hidden}.coar-time-grid__body[data-v-cab88cd2]{grid-template-columns:var(--coar-time-grid-axis-width) 1fr;display:grid;position:relative;overflow:hidden}.coar-time-grid__hour-axis[data-v-cab88cd2]{position:relative}.coar-time-grid__hour-label[data-v-cab88cd2]{text-align:right;font-size:var(--coar-font-size-xs,11px);color:var(--coar-text-subtle,#6c7280);padding-right:8px;position:absolute;left:0;right:8px;transform:translateY(-50%)}.coar-time-grid__columns[data-v-cab88cd2]{grid-auto-columns:1fr;grid-auto-flow:column;display:grid;position:relative}.coar-time-grid__event-default[data-v-cab88cd2]{flex-direction:column;height:100%;display:flex}.coar-time-grid__event-title[data-v-cab88cd2]{color:var(--coar-text-base,#1a1c1f);text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.coar-day-view[data-v-639564d0],.coar-week-view[data-v-29a99a70],.coar-work-week-view[data-v-0cfec5b4]{width:100%;display:block}.coar-month-pill[data-v-ca59e6dd]{font-size:var(--coar-font-size-xs,11px);cursor:pointer;white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;user-select:none;touch-action:none;border-radius:3px;flex:none;align-items:center;min-width:0;padding:1px 6px;display:flex;overflow:hidden}.coar-month-pill[data-v-ca59e6dd]:focus{outline:2px solid var(--coar-background-accent-primary,#2563eb);outline-offset:1px}.coar-month-pill--ghost[data-v-ca59e6dd]{pointer-events:none;outline:2px dashed var(--coar-background-accent-primary,#2563eb);outline-offset:1px;box-shadow:0 4px 12px #0000001f}.coar-month-pill--source-phantom[data-v-ca59e6dd]{opacity:.4;pointer-events:none;cursor:grabbing}.coar-month-pill--invalid[data-v-ca59e6dd]{pointer-events:none;cursor:not-allowed;opacity:.7;outline:2px dashed var(--coar-color-danger,#dc2626);outline-offset:1px;background-image:repeating-linear-gradient(45deg,#dc26262e 0 6px,#0000 6px 12px);box-shadow:0 4px 12px #dc262626}.coar-month-pill__title[data-v-ca59e6dd]{color:var(--coar-text-base,#1a1c1f);text-overflow:ellipsis;min-width:0;font-weight:600;overflow:hidden}.coar-month-pill--snap-back[data-v-ca59e6dd]{animation:.22s ease-out forwards coar-month-pill-snap-back-ca59e6dd}@keyframes coar-month-pill-snap-back-ca59e6dd{0%{opacity:.7;transform:scale(1)}to{opacity:0;transform:scale(.96)}}@media (prefers-reduced-motion:reduce){.coar-month-pill--snap-back[data-v-ca59e6dd]{opacity:0;animation:none}}.coar-month-pill--density-compact[data-v-ca59e6dd]{padding:0 4px;font-size:10px}.coar-month-bar[data-v-aae90a51]{box-sizing:border-box;font-size:var(--coar-font-size-xs,11px);cursor:pointer;white-space:nowrap;-webkit-user-select:none;user-select:none;touch-action:none;contain:layout paint;border-radius:3px;align-items:center;padding:1px 6px;display:flex;position:absolute;overflow:hidden}.coar-month-bar--clipped-start[data-v-aae90a51]{border-top-left-radius:0;border-bottom-left-radius:0}.coar-month-bar--clipped-end[data-v-aae90a51]{border-top-right-radius:0;border-bottom-right-radius:0}.coar-month-bar[data-v-aae90a51]:focus{outline:2px solid var(--coar-background-accent-primary,#2563eb);outline-offset:1px}.coar-month-bar--ghost[data-v-aae90a51]{pointer-events:none;outline:2px dashed var(--coar-background-accent-primary,#2563eb);outline-offset:1px;box-shadow:0 4px 12px #0000001f}.coar-month-bar--source-phantom[data-v-aae90a51]{opacity:.4;pointer-events:none;cursor:grabbing}.coar-month-bar--invalid[data-v-aae90a51]{pointer-events:none;cursor:not-allowed;opacity:.7;outline:2px dashed var(--coar-color-danger,#dc2626);outline-offset:1px;background-image:repeating-linear-gradient(45deg,#dc26262e 0 6px,#0000 6px 12px);box-shadow:0 4px 12px #dc262626}.coar-month-bar__title[data-v-aae90a51]{color:var(--coar-text-base,#1a1c1f);text-overflow:ellipsis;font-weight:600;overflow:hidden}.coar-month-bar__resize[data-v-aae90a51]{cursor:ew-resize;-webkit-user-select:none;user-select:none;pointer-events:auto;z-index:2;width:6px;position:absolute;top:0;bottom:0}.coar-month-bar__resize--start[data-v-aae90a51]{left:0}.coar-month-bar__resize--end[data-v-aae90a51]{right:0}.coar-month-bar--snap-back[data-v-aae90a51]{animation:.22s ease-out forwards coar-month-bar-snap-back-aae90a51}@keyframes coar-month-bar-snap-back-aae90a51{0%{opacity:.7;transform:scale(1)}to{opacity:0;transform:scale(.96)}}@media (prefers-reduced-motion:reduce){.coar-month-bar--snap-back[data-v-aae90a51]{opacity:0;animation:none}}.coar-month-bar--density-compact[data-v-aae90a51]{padding:0 4px;font-size:10px}.coar-month-cell[data-v-a2e2a614]{border-left:1px solid var(--coar-calendar-border,#d1d5db);cursor:pointer;background:var(--coar-calendar-bg,#fff);contain:layout paint;flex-direction:column;min-width:0;min-height:0;display:flex;position:relative}.coar-month-cell[data-v-a2e2a614]:first-child{border-left:none}.coar-month-cell--weekend[data-v-a2e2a614]{background:var(--coar-calendar-bg-weekend,#f6f7f9)}.coar-month-cell--other-month[data-v-a2e2a614]{background:var(--coar-calendar-bg-other-month,#fafafb);color:var(--coar-text-subtle,#9ca3af)}.coar-month-cell--today[data-v-a2e2a614]{background:var(--coar-calendar-bg-today,#2563eb0a)}.coar-month-cell__day-number-row[data-v-a2e2a614]{box-sizing:border-box;align-items:center;height:24px;padding:4px 6px;display:flex}.coar-month-cell__day-number[data-v-a2e2a614]{font-size:var(--coar-font-size-sm,13px);color:var(--coar-text-base,#1a1c1f);font-weight:600}.coar-month-cell--today .coar-month-cell__day-number[data-v-a2e2a614]{color:var(--coar-color-accent,#2563eb)}.coar-month-cell--other-month .coar-month-cell__day-number[data-v-a2e2a614]{color:var(--coar-text-subtle,#9ca3af);font-weight:500}.coar-month-cell__pills[data-v-a2e2a614]{scrollbar-width:thin;scrollbar-color:var(--coar-border-neutral-tertiary,#d1d5db) transparent;flex-direction:column;flex:1 1 0;gap:2px;min-height:0;padding:3px 4px 4px;display:flex;overflow-y:auto}.coar-month-cell__pills[data-v-a2e2a614]::-webkit-scrollbar{width:6px}.coar-month-cell__pills[data-v-a2e2a614]::-webkit-scrollbar-thumb{background:var(--coar-border-neutral-tertiary,#d1d5db);border-radius:3px}.coar-month-cell__pills[data-v-a2e2a614]::-webkit-scrollbar-track{background:0 0}.coar-month-cell__menu-trigger[data-v-a2e2a614]{cursor:pointer;width:18px;height:18px;color:var(--coar-text-subtle,#6c7280);border-radius:var(--coar-radius-xs,2px);background:0 0;border:0;justify-content:center;align-items:center;margin-left:auto;padding:0;display:inline-flex}.coar-month-cell__menu-trigger[data-v-a2e2a614]:hover,.coar-month-cell__menu-trigger[data-v-a2e2a614]:focus-visible,.coar-month-cell__menu-trigger[aria-expanded=true][data-v-a2e2a614]{background:var(--coar-background-neutral-tertiary,#f3f4f6);color:var(--coar-text-base,#1a1c1f)}@media (hover:hover){.coar-month-cell__menu-trigger[data-v-a2e2a614]{opacity:0}.coar-month-cell:hover .coar-month-cell__menu-trigger[data-v-a2e2a614],.coar-month-cell__menu-trigger[data-v-a2e2a614]:focus-visible,.coar-month-cell__menu-trigger[aria-expanded=true][data-v-a2e2a614]{opacity:1}}.coar-month-row[data-v-8f7c41d6]{border-bottom:1px solid var(--coar-calendar-border,#d1d5db);grid-template-columns:repeat(7,1fr);min-height:100px;transition:height .2s ease-out;display:grid;position:relative}@media (prefers-reduced-motion:reduce){.coar-month-row[data-v-8f7c41d6]{transition:none}}.coar-month-row[data-v-8f7c41d6]:last-child{border-bottom:none}.coar-month-row--density-compact[data-v-8f7c41d6]{min-height:80px}.coar-month-grid[data-v-d0d74cdf]{display:contents}.coar-month-grid__weekday-row[data-v-d0d74cdf]{border-bottom:1px solid var(--coar-calendar-border,#d1d5db);z-index:5;background:var(--coar-calendar-bg,#fff);grid-template-columns:repeat(7,1fr);display:grid;position:sticky;top:0}.coar-month-grid__weekday-cell[data-v-d0d74cdf]{font-size:var(--coar-font-size-xs,11px);text-transform:uppercase;letter-spacing:.04em;color:var(--coar-text-subtle,#6c7280);border-left:1px solid var(--coar-calendar-border,#d1d5db);padding:8px 12px;font-weight:600}.coar-month-grid__weekday-cell[data-v-d0d74cdf]:first-child{border-left:none}.coar-month-view__a11y-live[data-v-d538aedd]{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.coar-month-view[data-v-d538aedd]{background:var(--coar-calendar-bg,#fff);font-family:var(--coar-body-base-family,system-ui, sans-serif);font-variant-numeric:tabular-nums;flex-direction:column;display:flex}.coar-month-view__pill-title[data-v-d538aedd]{color:var(--coar-text-base,#1a1c1f);font-weight:600}.coar-month-view__bar-title[data-v-d538aedd]{color:var(--coar-text-base,#1a1c1f);text-overflow:ellipsis;font-weight:600;overflow:hidden}.coar-virtualized-surface-1dy[data-v-50d47c8e]{contain:strict;position:relative;overflow:hidden auto}.coar-virtualized-surface-1dy__spacer[data-v-50d47c8e]{width:100%;position:relative}.coar-virtualized-surface-1dy__item[data-v-50d47c8e]{contain:layout paint style;position:absolute;top:0;left:0;right:0}.coar-agenda-day-header[data-v-990c502f]{background:var(--coar-calendar-bg,#fff);border-bottom:1px solid var(--coar-calendar-border,#e3e5e9);font-weight:600;font-size:var(--coar-font-size-sm,13px);color:var(--coar-text-base,#1a1c1f);align-items:baseline;gap:8px;padding:8px 16px;display:flex}.coar-agenda-day-header--today[data-v-990c502f]{color:var(--coar-color-accent,#2563eb)}.coar-agenda-day-header--empty[data-v-990c502f]{color:var(--coar-text-subtle,#9ca3af);font-style:italic}.coar-agenda-day-header--floating[data-v-990c502f]{z-index:10;will-change:transform;margin-right:14px;position:absolute;top:0;left:0;right:0}.coar-agenda-day-header__today[data-v-990c502f]{font-size:var(--coar-font-size-xs,11px);text-transform:uppercase;letter-spacing:.05em;background:var(--coar-color-accent,#2563eb);color:#fff;border-radius:999px;padding:2px 8px;font-weight:700}.coar-agenda-event[data-v-5dcdb0df]{border-bottom:1px solid var(--coar-calendar-agenda-divider,var(--coar-calendar-border,#f3f4f6));cursor:pointer;-webkit-user-select:none;user-select:none;background:var(--coar-calendar-bg,#fff);padding:10px 16px;transition:background-color 80ms}.coar-agenda-event[data-v-5dcdb0df]:hover{background:var(--coar-surface-subtle,#f6f7f9)}.coar-agenda-event--continuation[data-v-5dcdb0df]{opacity:.7}.coar-agenda-event__default[data-v-5dcdb0df]{align-items:center;gap:12px;display:flex}.coar-agenda-event__color[data-v-5dcdb0df]{border-radius:50%;flex:none;width:8px;height:8px}.coar-agenda-event__time[data-v-5dcdb0df]{font-size:var(--coar-font-size-sm,13px);color:var(--coar-text-subtle,#6c7280);font-variant-numeric:tabular-nums;min-width:80px}.coar-agenda-event__title[data-v-5dcdb0df]{font-size:var(--coar-font-size-base,14px);color:var(--coar-text-base,#1a1c1f);font-weight:500}.coar-agenda-event__continuation-tag[data-v-5dcdb0df]{font-size:var(--coar-font-size-xs,11px);color:var(--coar-text-subtle,#9ca3af);margin-left:6px;font-style:italic;font-weight:400}.coar-agenda-view[data-v-7a664b01]{background:var(--coar-calendar-bg,#fff);font-family:var(--coar-body-base-family,system-ui, sans-serif);height:100%;position:relative;overflow:hidden}.coar-agenda-view__surface[data-v-7a664b01]{height:100%}.coar-timeline-view[data-v-b47f606a]{width:100%;height:100%;font-family:var(--coar-body-base-family);font-size:var(--coar-body-s-size,13px);background:var(--coar-background-neutral-primary);cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none;display:block;overflow:auto}.coar-timeline-view--panning[data-v-b47f606a]{cursor:grabbing}.coar-timeline-view .coar-timeline-view__bar[data-v-b47f606a]{cursor:pointer}.coar-timeline-view--panning .coar-timeline-view__bar[data-v-b47f606a]{cursor:grabbing}.coar-timeline-view__grid[data-v-b47f606a]{display:grid;position:relative}.coar-timeline-view__corner[data-v-b47f606a]{z-index:3;background:var(--coar-background-neutral-secondary);border-right:1px solid var(--coar-border-neutral-tertiary);border-bottom:1px solid var(--coar-border-neutral-tertiary);padding:0 var(--coar-spacing-s,8px);grid-area:1/1;align-items:center;display:flex;position:sticky;top:0;left:0}.coar-timeline-view__corner-title[data-v-b47f606a]{color:var(--coar-text-neutral-secondary);text-transform:uppercase;letter-spacing:.05em;font-size:11px;font-weight:600}.coar-timeline-view__date-axis[data-v-b47f606a]{z-index:2;background:var(--coar-background-neutral-secondary);border-bottom:1px solid var(--coar-border-neutral-tertiary);grid-area:1/2;display:flex;position:sticky;top:0}.coar-timeline-view__date-cell[data-v-b47f606a]{box-sizing:border-box;border-right:1px solid var(--coar-border-neutral-tertiary);color:var(--coar-text-neutral-secondary);flex:none;justify-content:center;align-items:center;font-size:11px;display:flex}.coar-timeline-view__date-cell--today[data-v-b47f606a]{background:var(--coar-background-accent-soft,#eff6ff);color:var(--coar-text-accent,#2563eb);font-weight:600}.coar-timeline-view__date-cell--weekend[data-v-b47f606a]{background:var(--coar-background-neutral-tertiary,#f5f5f5)}.coar-timeline-view__label-column[data-v-b47f606a]{z-index:2;background:var(--coar-background-neutral-primary);border-right:1px solid var(--coar-border-neutral-tertiary);grid-area:2/1;position:sticky;left:0}.coar-timeline-view__label-inner[data-v-b47f606a]{width:100%;position:relative}.coar-timeline-view__label-row[data-v-b47f606a]{padding:0 var(--coar-spacing-s,8px);border-bottom:1px solid var(--coar-border-neutral-tertiary);box-sizing:border-box;align-items:center;gap:6px;display:flex;position:absolute;left:0;right:0;overflow:hidden}.coar-timeline-view__label-text[data-v-b47f606a]{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;font-weight:500;overflow:hidden}.coar-timeline-view__label-count[data-v-b47f606a]{color:var(--coar-text-neutral-secondary);font-variant-numeric:tabular-nums;background:var(--coar-background-neutral-tertiary,#f5f5f5);border-radius:9999px;flex:none;padding:1px 6px;font-size:11px}.coar-timeline-view__bars-area[data-v-b47f606a]{grid-area:2/2;position:relative}.coar-timeline-view__day-grid-bg[data-v-b47f606a]{pointer-events:none;z-index:0;display:flex;position:absolute;inset:0}.coar-timeline-view__day-grid-cell[data-v-b47f606a]{box-sizing:border-box;border-right:1px solid var(--coar-border-neutral-tertiary);flex:none;height:100%}.coar-timeline-view__day-grid-cell--weekend[data-v-b47f606a]{background:var(--coar-background-neutral-tertiary,#f5f5f5);opacity:.4}.coar-timeline-view__bar[data-v-b47f606a]{border-radius:var(--coar-radius-xs,4px);color:#fff;text-align:left;cursor:pointer;text-overflow:ellipsis;white-space:nowrap;z-index:1;border:none;padding:0 8px;font-size:12px;font-weight:500;transition:filter .1s;position:absolute;overflow:hidden}.coar-timeline-view__bar[data-v-b47f606a]:hover{filter:brightness(1.05)}.coar-timeline-view__bar[data-v-b47f606a]:focus-visible{outline:2px solid var(--coar-border-accent,#2563eb);outline-offset:2px}.coar-timeline-view__bar--clipped-start[data-v-b47f606a]{border-top-left-radius:0;border-bottom-left-radius:0}.coar-timeline-view__bar--clipped-end[data-v-b47f606a]{border-top-right-radius:0;border-bottom-right-radius:0}.coar-timeline-view__bar-label[data-v-b47f606a]{text-overflow:ellipsis;white-space:nowrap;display:inline-block;overflow:hidden}.coar-calendar[data-v-b56d4847]{background:var(--coar-background-neutral-primary);height:100%;font-family:var(--coar-body-base-family);color:var(--coar-text-neutral-primary);flex-direction:column;display:flex}.coar-calendar__header[data-v-b56d4847]{align-items:center;gap:var(--coar-spacing-m);padding:var(--coar-spacing-s) var(--coar-spacing-m);border-bottom:1px solid var(--coar-border-neutral-tertiary);background:var(--coar-background-neutral-primary);flex:none;display:flex}.coar-calendar__nav[data-v-b56d4847]{align-items:center;gap:var(--coar-spacing-xs);display:flex}.coar-calendar__range-label[data-v-b56d4847]{font-size:var(--coar-component-m-font-size);color:var(--coar-text-neutral-primary);white-space:nowrap;text-overflow:ellipsis;min-width:0;font-weight:600;overflow:hidden}.coar-calendar__spacer[data-v-b56d4847]{flex:auto}.coar-calendar__body[data-v-b56d4847]{flex:auto;min-height:0}.coar-calendar__body--day[data-v-b56d4847],.coar-calendar__body--week[data-v-b56d4847],.coar-calendar__body--month[data-v-b56d4847]{overflow:hidden auto}.coar-calendar__body--agenda[data-v-b56d4847]{overflow:hidden}.coar-virtualized-surface-2d[data-v-fbba32db]{contain:strict;position:relative;overflow:auto}.coar-virtualized-surface-2d__spacer[data-v-fbba32db]{position:relative}.coar-virtualized-surface-2d__cell[data-v-fbba32db]{contain:layout paint size style;box-sizing:border-box;position:absolute;top:0;left:0}
|
|
2
2
|
/*$vite$:1*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocoar/vue-calendar",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.16.0",
|
|
4
4
|
"description": "Vue 3 calendar component — Temporal-only public surface, single drop pipeline, per-endpoint source-zone preservation, explicit DST policy. Built on the principles laid out in the Time in Software, Done Right article series.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
"rrule-temporal": "~1.5.3"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
|
-
"@cocoar/vue-localization": "2.
|
|
65
|
-
"@cocoar/vue-ui": "2.
|
|
64
|
+
"@cocoar/vue-localization": "2.16.0",
|
|
65
|
+
"@cocoar/vue-ui": "2.16.0",
|
|
66
66
|
"vue": "^3.5.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|