UNPKG

vue3-calendar-component

Version:

A comprehensive Vue 3 Calendar component with Vuetify 3, TypeScript, and advanced features

55 lines (54 loc) 1.2 kB
const d = { dayJsLocale: "en", status: { open: "Open", planned: "Planned", overdue: "Overdue", completed: "Completed", cancelled: "Cancelled" }, views: { agenda: { noEvents: "No events scheduled for this day", buttons: { markEventCompleted: "Mark as Completed", cancelEvent: "Cancel Event" } } }, toolbar: { buttons: { month: "Month", week: "Week", day: "Day", agenda: "Agenda", today: "Today", previous: "Previous", next: "Next" }, filters: { statusLabel: "Filter by status", filterByCategory: "Filter by category" }, searchPlaceholder: "Search events...", clearFilters: "Clear Filters", activeFilters: function(e) { return `${e} filter${e > 1 ? "s" : ""} active`; } }, formats: { date: "MM/DD/YYYY", time: "HH:mm", day: "dddd, MMMM D, YYYY", startOfWeek: "MMM D", endOfWeek: "MMM D, YYYY", month: "MMMM YYYY", duration(e, a, n) { const t = []; return e > 0 && t.push(`${e} d`), a > 0 && t.push(`${a} h`), n > 0 && t.push(`${n} m`), t.join(", "); } } }; export { d as default };