import { j as e } from "../../node_modules/react/jsx-runtime.mjs";
import i from "../../node_modules/@fullcalendar/react/dist/index.mjs";
import r from "../../node_modules/@fullcalendar/daygrid/index.mjs";
import o from "../../node_modules/@fullcalendar/interaction/index.mjs";
import l from "../../node_modules/@fullcalendar/list/index.mjs";
import a from "../../node_modules/@fullcalendar/timegrid/index.mjs";
import m from "../../node_modules/@fullcalendar/core/locales/zh-cn.mjs";
import "./index.less.mjs";
const x = (t) => e.jsx("div", { className: "bitzScheduleCenterBlock", children: e.jsx(i, {
  weekends: !0,
  navLinks: !0,
  headerToolbar: {
    left: "prev,next today",
    center: "title",
    right: "dayGridMonth,timeGridWeek,timeGridDay,listWeek"
  },
  initialView: "dayGridMonth",
  slotLabelFormat: {
    hour: "2-digit",
    minute: "2-digit",
    meridiem: !1,
    hour12: !1
  },
  slotEventOverlap: !1,
  locales: [m],
  locale: "zh-cn",
  // ref={calendarRef}
  // https://fullcalendar.io/docs/content-injection
  // eventContent={renderEventContent} // 自定义内容可以在不同的地方注入 FullCalendar 的 DOM 中
  // https://fullcalendar.io/docs/eventClick
  // eventClick={handleEventClick} // 当用户点击事件时触发。
  // https://fullcalendar.io/docs/eventChange
  // eventChange={handleEventChange} // 在以某种方式修改事件后调用。-. -估计用不到
  // dateClick={handleDateClick}
  // events={events}
  plugins: [r, o, a, l],
  ...t
}) });
export {
  x as default
};
