import { create as a } from "../../node_modules/zustand/esm/index.mjs";
import o from "../../node_modules/dayjs/dayjs.min.mjs";
var d = /* @__PURE__ */ ((e) => (e.day = "day", e.workWeek = "workWeek", e.week = "week", e.agendum = "agendum", e))(d || {});
const n = a((e, i) => ({
  colHeight: 0,
  currentDay: o(),
  CalendarType: "workWeek",
  // 切换日历类型
  toggleCalendarType: (r) => e((t) => ({
    ...t,
    CalendarType: r
  })),
  // 设置时间
  setCurrentDay: (r) => e((t) => ({
    ...t,
    currentDay: r
  })),
  setColHeight: (r) => e((t) => ({
    ...t,
    colHeight: r
  })),
  preCalendar: () => e({}),
  nextCalendar: () => e({})
})), g = n;
export {
  d as CalendarTypeEnum,
  g as default,
  n as useBitzFuiCalendarStore
};
