@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.
@@ -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-khxXaVUH.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-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: ["day", "week", "month", "year", "agenda"],
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 dark:bg-gray-900 overflow-hidden", children: _() })
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-D4MavJgr.js.map
3399
+ //# sourceMappingURL=agenda-dropdown-D9OflMMJ.js.map