@innosolutions/inno-calendar 1.0.14 → 1.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agenda-dropdown-D4MavJgr.js → agenda-dropdown-D9OflMMJ.js} +10 -4
- package/dist/agenda-dropdown-D9OflMMJ.js.map +1 -0
- package/dist/agenda-dropdown-DYQVwzmJ.cjs +2 -0
- package/dist/agenda-dropdown-DYQVwzmJ.cjs.map +1 -0
- package/dist/{agenda-view-khxXaVUH.js → agenda-view-Dtf3kn3K.js} +6 -6
- package/dist/{agenda-view-khxXaVUH.js.map → agenda-view-Dtf3kn3K.js.map} +1 -1
- package/dist/{agenda-view-BN-KVmYW.cjs → agenda-view-NksBBAUh.cjs} +3 -3
- package/dist/{agenda-view-BN-KVmYW.cjs.map → agenda-view-NksBBAUh.cjs.map} +1 -1
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.mjs +2 -2
- package/dist/components/inno-calendar.d.ts.map +1 -1
- package/dist/components/views/week-view.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +3 -3
- package/dist/presets/index.cjs +1 -1
- package/dist/presets/index.mjs +1 -1
- package/dist/{tailwind-calendar-Z55pi_J1.js → tailwind-calendar-CsiX8U1l.js} +3 -3
- package/dist/{tailwind-calendar-Z55pi_J1.js.map → tailwind-calendar-CsiX8U1l.js.map} +1 -1
- package/dist/{tailwind-calendar-ihj9bh3_.cjs → tailwind-calendar-DIOJZnSl.cjs} +2 -2
- package/dist/{tailwind-calendar-ihj9bh3_.cjs.map → tailwind-calendar-DIOJZnSl.cjs.map} +1 -1
- package/package.json +1 -1
- package/dist/agenda-dropdown-BYQd10jf.cjs +0 -2
- package/dist/agenda-dropdown-BYQd10jf.cjs.map +0 -1
- package/dist/agenda-dropdown-D4MavJgr.js.map +0 -1
|
@@ -3,7 +3,7 @@ import { o as Ae, c as Ue, C as Ye, I as Ge, j as Ke } from "./inno-calendar-pro
|
|
|
3
3
|
import { c as u } from "./index-DtaLkIY8.js";
|
|
4
4
|
import { useMemo as j, useRef as Je, useCallback as se, forwardRef as ye, useState as ae, useEffect as be } from "react";
|
|
5
5
|
import { an as Qe, Z as Xe, a8 as Ze, az as q, aO as fe, I as Be, h as qe, S as et, U as tt, o as Fe } from "./slot-selection-context-CZjfJAcp.js";
|
|
6
|
-
import { B as V, c as rt, C as nt, M as ke, A as st, W as at, b as it, P as Pe, h as Oe, g as _e, l as Y, p as ot, q as lt, r as ct, s as Ce, j as G, m as K, k as J, t as dt } from "./agenda-view-
|
|
6
|
+
import { B as V, c as rt, C as nt, M as ke, A as st, W as at, b as it, P as Pe, h as Oe, g as _e, l as Y, p as ot, q as lt, r as ct, s as Ce, j as G, m as K, k as J, t as dt } from "./agenda-view-Dtf3kn3K.js";
|
|
7
7
|
function ut({ view: t, className: r = "" }) {
|
|
8
8
|
return /* @__PURE__ */ e(
|
|
9
9
|
"div",
|
|
@@ -831,7 +831,13 @@ function Tt({
|
|
|
831
831
|
const f = new Date(w);
|
|
832
832
|
p === "day" || p === "timeline-day" ? f.setDate(f.getDate() + 1) : p === "timeline-3day" ? f.setDate(f.getDate() + 3) : p === "week" || p === "timeline-week" ? f.setDate(f.getDate() + 7) : p === "month" ? f.setMonth(f.getMonth() + 1) : p === "year" ? f.setFullYear(f.getFullYear() + 1) : f.setDate(f.getDate() + 7), b(f, p);
|
|
833
833
|
},
|
|
834
|
-
availableViews: [
|
|
834
|
+
availableViews: [
|
|
835
|
+
"day",
|
|
836
|
+
"week",
|
|
837
|
+
"month",
|
|
838
|
+
// 'year', NOTE: Intentionally blocked cause it would severe performance issues when there are many events
|
|
839
|
+
"agenda"
|
|
840
|
+
],
|
|
835
841
|
showTimelineViews: !0,
|
|
836
842
|
showSettings: !!m,
|
|
837
843
|
...a && { onAddEvent: a },
|
|
@@ -839,7 +845,7 @@ function Tt({
|
|
|
839
845
|
filterContent: c
|
|
840
846
|
}
|
|
841
847
|
),
|
|
842
|
-
/* @__PURE__ */ e("div", { className: "flex-1 border rounded-lg bg-white
|
|
848
|
+
/* @__PURE__ */ e("div", { className: "flex-1 border rounded-lg bg-white overflow-x-auto", children: _() })
|
|
843
849
|
] })
|
|
844
850
|
}
|
|
845
851
|
);
|
|
@@ -3390,4 +3396,4 @@ export {
|
|
|
3390
3396
|
Xr as b,
|
|
3391
3397
|
Vr as c
|
|
3392
3398
|
};
|
|
3393
|
-
//# sourceMappingURL=agenda-dropdown-
|
|
3399
|
+
//# sourceMappingURL=agenda-dropdown-D9OflMMJ.js.map
|