@innosolutions/inno-calendar 1.0.62 → 1.0.64
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/README.md +26 -0
- package/dist/agenda-widget-A-xsyqRf.cjs +2 -0
- package/dist/agenda-widget-A-xsyqRf.cjs.map +1 -0
- package/dist/{agenda-widget-Couk7jMB.js → agenda-widget-duVkXi_m.js} +1519 -1495
- package/dist/agenda-widget-duVkXi_m.js.map +1 -0
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/components/inno-calendar.d.ts +26 -0
- package/dist/components/inno-calendar.d.ts.map +1 -1
- package/dist/components/views/timeline-view.d.ts +12 -1
- package/dist/components/views/timeline-view.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/agenda-widget-Couk7jMB.js.map +0 -1
- package/dist/agenda-widget-DZkEXTh-.cjs +0 -2
- package/dist/agenda-widget-DZkEXTh-.cjs.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../agenda-widget-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../agenda-widget-A-xsyqRf.cjs"),e=require("../week-view-C1Vu2ErD.cjs");exports.AgendaDropdown=t.AgendaDropdown;exports.AgendaWidget=t.AgendaWidget;exports.BadgeVariantSetting=t.BadgeVariantSetting;exports.Calendar=t.Calendar;exports.CalendarFilterSidebar=t.CalendarFilterSidebar;exports.DEFAULT_WEEK_WORKING_HOURS=t.DEFAULT_WEEK_WORKING_HOURS;exports.EventPopover=t.EventPopover;exports.InnoCalendar=t.InnoCalendar;exports.IntegratedCalendar=t.InnoCalendar;exports.ScheduleTypeFilter=t.ScheduleTypeFilter;exports.SlotDurationSetting=t.SlotDurationSetting;exports.TimelineView=t.TimelineView;exports.UserFilter=t.UserFilter;exports.VisibleHoursSetting=t.VisibleHoursSetting;exports.WorkingHoursSetting=t.WorkingHoursSetting;exports.YearView=t.YearView;exports.AgendaView=e.AgendaView;exports.Button=e.Button;exports.CalendarHeader=e.CalendarHeader;exports.DateNavigator=e.DateNavigator;exports.DayEventsExpansion=e.DayEventsExpansion;exports.DaySlot=e.DaySlot;exports.DayView=e.DayView;exports.Dialog=e.Dialog;exports.DialogClose=e.DialogClose;exports.DialogContent=e.DialogContent;exports.DialogDescription=e.DialogDescription;exports.DialogHeader=e.DialogHeader;exports.DialogTitle=e.DialogTitle;exports.DialogTrigger=e.DialogTrigger;exports.EventBlock=e.EventBlock;exports.EventCard=e.EventCard;exports.MonthView=e.MonthView;exports.MultiDayBanner=e.MultiDayBanner;exports.MultiDayEventBar=e.MultiDayEventBar;exports.Popover=e.Popover;exports.PopoverAnchor=e.PopoverAnchor;exports.PopoverContent=e.PopoverContent;exports.PopoverTrigger=e.PopoverTrigger;exports.Sheet=e.Sheet;exports.SheetClose=e.SheetClose;exports.SheetContent=e.SheetContent;exports.SheetDescription=e.SheetDescription;exports.SheetHeader=e.SheetHeader;exports.SheetTitle=e.SheetTitle;exports.SheetTrigger=e.SheetTrigger;exports.TimeSlot=e.TimeSlot;exports.TodayButton=e.TodayButton;exports.Tooltip=e.Tooltip;exports.TooltipContent=e.TooltipContent;exports.TooltipProvider=e.TooltipProvider;exports.TooltipTrigger=e.TooltipTrigger;exports.WeekView=e.WeekView;exports.buttonVariants=e.buttonVariants;exports.getEventColorClasses=e.getEventColorClasses;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as s, a as t, B as o, C as i, b as r, D as n, E as l, I as g, I as d, S as D, c as S, T as p, U as T, V as C, W as v, Y as E } from "../agenda-widget-
|
|
1
|
+
import { A as s, a as t, B as o, C as i, b as r, D as n, E as l, I as g, I as d, S as D, c as S, T as p, U as T, V as C, W as v, Y as E } from "../agenda-widget-duVkXi_m.js";
|
|
2
2
|
import { A as u, B as V, C as w, D as y, a as B, b as c, c as A, d as H, e as P, f as W, g as b, h as m, i as F, j as I, E as k, k as x, M, l as U, m as f, P as _, n as G, o as K, p as N, S as O, q as R, r as Y, s as j, t as q, u as z, v as L, T as J, w as Q, x as X, y as Z, z as $, F as aa, W as ea, G as sa, H as ta } from "../week-view-DY167Wok.js";
|
|
3
3
|
export {
|
|
4
4
|
s as AgendaDropdown,
|
|
@@ -27,6 +27,32 @@ export interface InnoCalendarProps<TEventData extends Record<string, unknown> =
|
|
|
27
27
|
events: CalendarEvent<TEventData>[];
|
|
28
28
|
/** Users / participants available for filtering and resource views */
|
|
29
29
|
users?: ICalendarUser[];
|
|
30
|
+
/**
|
|
31
|
+
* Resources that must always be rendered as rows in the resource-based views
|
|
32
|
+
* (`resource-day`, `resource-week`, `timeline-day`, `timeline-3day`,
|
|
33
|
+
* `timeline-week`) even when they have no events in the current data. Rows
|
|
34
|
+
* without events appear at the bottom so event-containing rows keep visual
|
|
35
|
+
* priority. If a resource listed here also has events, its row is positioned
|
|
36
|
+
* naturally among the event rows.
|
|
37
|
+
*
|
|
38
|
+
* Only applied to the resource/timeline views above — ignored in `day`,
|
|
39
|
+
* `week`, `month`, `year`, and `agenda` views. Updates to this array are
|
|
40
|
+
* reflected immediately the next time one of those views renders.
|
|
41
|
+
*
|
|
42
|
+
* Provide enough info (at minimum `id` and `name`) to render the row header.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* ```tsx
|
|
46
|
+
* <InnoCalendar
|
|
47
|
+
* events={events}
|
|
48
|
+
* alwaysShowResources={[
|
|
49
|
+
* { id: 'room-1', name: 'Meeting Room A', avatar: '/rooms/a.jpg' },
|
|
50
|
+
* { id: 'room-2', name: 'Meeting Room B' },
|
|
51
|
+
* ]}
|
|
52
|
+
* />
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
alwaysShowResources?: ICalendarUser[];
|
|
30
56
|
/** Event category definitions for built-in schedule type filtering */
|
|
31
57
|
scheduleTypes?: IScheduleType[];
|
|
32
58
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inno-calendar.d.ts","sourceRoot":"","sources":["../../src/components/inno-calendar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EACL,KAAK,SAAS,EAOf,MAAM,OAAO,CAAC;AACf,OAAO,EAEL,KAAK,WAAW,EACjB,MAAM,mCAAmC,CAAC;AAM3C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EACnB,qBAAqB,EACrB,kBAAkB,EAClB,cAAc,EACd,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,aAAa,EACb,gBAAgB,EAEjB,MAAM,eAAe,CAAC;AAiBvB;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,WAAW,iBAAiB,CAChC,UAAU,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAIpE,0CAA0C;IAC1C,MAAM,EAAE,aAAa,CAAC,UAAU,CAAC,EAAE,CAAC;IACpC,sEAAsE;IACtE,KAAK,CAAC,EAAE,aAAa,EAAE,CAAC;IACxB,sEAAsE;IACtE,aAAa,CAAC,EAAE,aAAa,EAAE,CAAC;IAIhC;;;OAGG;IACH,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B,oEAAoE;IACpE,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB,wEAAwE;IACxE,qBAAqB,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IACvC,+DAA+D;IAC/D,sBAAsB,CAAC,EAAE,MAAM,EAAE,CAAC;IAClC,6DAA6D;IAC7D,qBAAqB,CAAC,EAAE,MAAM,EAAE,CAAC;IACjC,6DAA6D;IAC7D,uBAAuB,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,UA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AAgE;IAChE,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,kEAAkE;IAClE,aAAa,CAAC,EAAE,SAAS,CAAC;IAE1B;;;;;;;;;OASG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAwsBD;;;GAGG;AACH,eAAO,MAAM,YAAY,EAAoC,CAC3D,UAAU,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAEpE,KAAK,EAAE,iBAAiB,CAAC,UAAU,CAAC,GAAG;IACrC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;CACrC,KACE,KAAK,CAAC,YAAY,CAAC;AAExB,eAAe,YAAY,CAAC"}
|
|
@@ -7,6 +7,17 @@ export interface TimelineViewProps<TData = Record<string, unknown>> {
|
|
|
7
7
|
events: CalendarEvent<TData>[];
|
|
8
8
|
/** Users/resources to display as rows */
|
|
9
9
|
users?: ICalendarUser[];
|
|
10
|
+
/**
|
|
11
|
+
* Resources that should always be rendered as rows even if they have no events.
|
|
12
|
+
* Rows for these resources without any events appear at the bottom of the list,
|
|
13
|
+
* after all event-containing rows. If a resource listed here also has events in
|
|
14
|
+
* the provided `events`, its row is positioned naturally among the event rows
|
|
15
|
+
* (not forced to the bottom) and the events are still attached to it.
|
|
16
|
+
*
|
|
17
|
+
* Intended to be wired by the calendar only for resource views
|
|
18
|
+
* (`resource-day`, `resource-week`).
|
|
19
|
+
*/
|
|
20
|
+
alwaysShowResources?: ICalendarUser[];
|
|
10
21
|
/** Currently selected/focused date */
|
|
11
22
|
selectedDate?: Date;
|
|
12
23
|
/** Callback when selected date changes */
|
|
@@ -51,6 +62,6 @@ export interface TimelineViewProps<TData = Record<string, unknown>> {
|
|
|
51
62
|
*/
|
|
52
63
|
enableDrag?: boolean;
|
|
53
64
|
}
|
|
54
|
-
export declare function TimelineView<TData = Record<string, unknown>>({ daysToShow, events, users, selectedDate: selectedDateProp, onDateChange: _onDateChange, onEventClick, onSlotClick, onSlotSelect, visibleHours, className, getEventUserId, renderPopover, slots, classNames, enableDrag, }: TimelineViewProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
65
|
+
export declare function TimelineView<TData = Record<string, unknown>>({ daysToShow, events, users, alwaysShowResources, selectedDate: selectedDateProp, onDateChange: _onDateChange, onEventClick, onSlotClick, onSlotSelect, visibleHours, className, getEventUserId, renderPopover, slots, classNames, enableDrag, }: TimelineViewProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
55
66
|
export default TimelineView;
|
|
56
67
|
//# sourceMappingURL=timeline-view.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"timeline-view.d.ts","sourceRoot":"","sources":["../../../src/components/views/timeline-view.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EACnB,cAAc,EACd,aAAa,EACb,gBAAgB,EAEjB,MAAM,kBAAkB,CAAC;AA6D1B,MAAM,WAAW,iBAAiB,CAAC,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAChE,qEAAqE;IACrE,UAAU,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAEvB,wBAAwB;IACxB,MAAM,EAAE,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC;IAE/B,yCAAyC;IACzC,KAAK,CAAC,EAAE,aAAa,EAAE,CAAC;IAExB,sCAAsC;IACtC,YAAY,CAAC,EAAE,IAAI,CAAC;IAEpB,0CAA0C;IAC1C,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IAEpC,wCAAwC;IACxC,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC,KAAK,CAAC,KAAK,IAAI,CAAC;IAErD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E,aAAa,CAAC,KAAK,CAAC,CAAC;QAC5B,OAAO,EAAE,MAAM,IAAI,CAAC;KACrB,KAAK,KAAK,CAAC,SAAS,CAAC,GACpB,SAAS,CAAC;IAEZ,wCAAwC;IACxC,KAAK,CAAC,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC;IAC9B,+CAA+C;IAC/C,UAAU,CAAC,EAAE,mBAAmB,CAAC;IAEjC;;;OAGG;IACH,WAAW,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAErF;;;OAGG;IACH,YAAY,CAAC,EAAE,CAAC,CAAC,SAAS,EAAE,gBAAgB,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAEnE;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AA+JD,wBAAgB,YAAY,CAAC,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EAC5D,UAAiC,EACjC,MAAM,EACN,KAAU,EACV,mBAAmB,EACnB,YAAY,EAAE,gBAAgB,EAC9B,YAAY,EAAE,aAAa,EAC3B,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,SAAS,EACT,cAAc,EACd,aAAa,EACb,KAAK,EACL,UAAU,EACV,UAAiB,GAClB,EAAE,iBAAiB,CAAC,KAAK,CAAC,2CAokC1B;AAED,eAAe,YAAY,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./agenda-widget-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./agenda-widget-A-xsyqRf.cjs"),e=require("./position-utils-BQpbtF6N.cjs"),s=require("./index-D2U2F80P.cjs"),t=require("./week-view-C1Vu2ErD.cjs"),r=require("./use-calendar-DkT1_V3j.cjs"),i=require("./tailwind-calendar-VRvPJQwa.cjs"),a=require("./slot-selection-context-DBCZI2Dn.cjs"),o=require("./use-slot-selection-Dj_tWg1O.cjs");exports.AgendaDropdown=n.AgendaDropdown;exports.AgendaWidget=n.AgendaWidget;exports.BadgeVariantSetting=n.BadgeVariantSetting;exports.Calendar=n.Calendar;exports.CalendarFilterSidebar=n.CalendarFilterSidebar;exports.DEFAULT_WEEK_WORKING_HOURS=n.DEFAULT_WEEK_WORKING_HOURS;exports.EventPopover=n.EventPopover;exports.InnoCalendar=n.InnoCalendar;exports.IntegratedCalendar=n.InnoCalendar;exports.ScheduleTypeFilter=n.ScheduleTypeFilter;exports.SlotDurationSetting=n.SlotDurationSetting;exports.TimelineView=n.TimelineView;exports.UserFilter=n.UserFilter;exports.VisibleHoursSetting=n.VisibleHoursSetting;exports.WorkingHoursSetting=n.WorkingHoursSetting;exports.YearView=n.YearView;exports.CALENDAR_VIEWS=e.CALENDAR_VIEWS;exports.DEFAULT_BUSINESS_HOURS=e.DEFAULT_BUSINESS_HOURS;exports.DEFAULT_HEADER_HEIGHT=e.DEFAULT_HEADER_HEIGHT;exports.DEFAULT_HOUR_HEIGHT=e.DEFAULT_HOUR_HEIGHT;exports.DEFAULT_PREFERENCES=e.DEFAULT_PREFERENCES;exports.DEFAULT_RESOURCE_WIDTH=e.DEFAULT_RESOURCE_WIDTH;exports.DEFAULT_SLOT_HEIGHT=e.DEFAULT_SLOT_HEIGHT;exports.DEFAULT_VIEW_CONFIGS=e.DEFAULT_VIEW_CONFIGS;exports.DEFAULT_VISIBLE_HOURS=e.DEFAULT_VISIBLE_HOURS;exports.EVENT_COLORS=e.EVENT_COLORS;exports.EVENT_COLOR_CLASSES=e.EVENT_COLOR_CLASSES;exports.HEX_TO_EVENT_COLOR=e.HEX_TO_EVENT_COLOR;exports.HOURS_IN_DAY=e.HOURS_IN_DAY;exports.MINUTES_IN_HOUR=e.MINUTES_IN_HOUR;exports.MIN_EVENT_HEIGHT=e.MIN_EVENT_HEIGHT;exports.MS_PER_DAY=e.MS_PER_DAY;exports.MS_PER_HOUR=e.MS_PER_HOUR;exports.MS_PER_MINUTE=e.MS_PER_MINUTE;exports.addDays=e.addDays;exports.addHours=e.addHours;exports.addMinutes=e.addMinutes;exports.addMonths=e.addMonths;exports.addWeeks=e.addWeeks;exports.addYears=e.addYears;exports.applyEventFilters=e.applyEventFilters;exports.calculateEventPosition=e.calculateEventPosition;exports.calculateOverlappingPositions=e.calculateOverlappingPositions;exports.calculateSelectionOverlay=e.calculateSelectionOverlay;exports.detectAllDayEvent=e.detectAllDayEvent;exports.differenceInDays=e.differenceInDays;exports.differenceInHours=e.differenceInHours;exports.differenceInMilliseconds=e.differenceInMilliseconds;exports.differenceInMinutes=e.differenceInMinutes;exports.eachDayOfInterval=e.eachDayOfInterval;exports.eachHourOfInterval=e.eachHourOfInterval;exports.endOfDay=e.endOfDay;exports.endOfMonth=e.endOfMonth;exports.endOfWeek=e.endOfWeek;exports.endOfYear=e.endOfYear;exports.eventsOverlap=e.eventsOverlap;exports.filterEventsByDateRange=e.filterEventsByDateRange;exports.filterEventsByResource=e.filterEventsByResource;exports.filterEventsByScheduleType=e.filterEventsByScheduleType;exports.filterEventsBySearch=e.filterEventsBySearch;exports.filterOutCanceled=e.filterOutCanceled;exports.formatDateISO=e.formatDateISO;exports.formatEventTimeDisplay=e.formatEventTimeDisplay;exports.formatHourLabel=e.formatHourLabel;exports.formatTime=e.formatTime;exports.generateHourLabels=e.generateHourLabels;exports.generateMonthCells=e.generateMonthCells;exports.generateMonthGrid=e.generateMonthGrid;exports.generateTimeSlots=e.generateTimeSlots;exports.generateWeekCells=e.generateWeekCells;exports.generateYearCells=e.generateYearCells;exports.getAllDayEvents=e.getAllDayEvents;exports.getDayOfWeek=e.getDayOfWeek;exports.getDaysInMonth=e.getDaysInMonth;exports.getDecimalHours=e.getDecimalHours;exports.getEventColor=e.getEventColor;exports.getEventDurationMinutes=e.getEventDurationMinutes;exports.getEventsCountInView=e.getEventsCountInView;exports.getEventsForDay=e.getEventsForDay;exports.getEventsInRange=e.getEventsInRange;exports.getMonthNames=e.getMonthNames;exports.getMultiDayEvents=e.getMultiDayEvents;exports.getOverlappingGroups=e.getOverlappingGroups;exports.getRangeText=e.getRangeText;exports.getTimedEvents=e.getTimedEvents;exports.getViewDateRange=e.getViewDateRange;exports.getViewTitle=e.getViewTitle;exports.getVisibleHoursArray=e.getVisibleHoursArray;exports.getWeekDays=e.getWeekDays;exports.getWeekNumber=e.getWeekNumber;exports.getWeekdayHeaders=e.getWeekdayHeaders;exports.getWeekdayNames=e.getWeekdayNames;exports.getWorkingHoursForDay=e.getWorkingHoursForDay;exports.getYearMonths=e.getYearMonths;exports.groupEventsByDate=e.groupEventsByDate;exports.groupEventsByResource=e.groupEventsByResource;exports.groupEventsByScheduleType=e.groupEventsByScheduleType;exports.isAfter=e.isAfter;exports.isBefore=e.isBefore;exports.isBetween=e.isBetween;exports.isMultiDayEvent=e.isMultiDayEvent;exports.isSameDay=e.isSameDay;exports.isSameMonth=e.isSameMonth;exports.isSameWeek=e.isSameWeek;exports.isSameYear=e.isSameYear;exports.isToday=e.isToday;exports.isWeekend=e.isWeekend;exports.isWorkingHour=e.isWorkingHour;exports.maxDate=e.maxDate;exports.minDate=e.minDate;exports.navigateNext=e.navigateNext;exports.navigatePrev=e.navigatePrev;exports.navigateToday=e.navigateToday;exports.parseISO=e.parseISO;exports.reactNodeToText=e.reactNodeToText;exports.resolveEventColor=e.resolveEventColor;exports.separateEventsByDuration=e.separateEventsByDuration;exports.setTime=e.setTime;exports.shouldShowEventTime=e.shouldShowEventTime;exports.sortEventsByDuration=e.sortEventsByDuration;exports.sortEventsByEnd=e.sortEventsByEnd;exports.sortEventsByStart=e.sortEventsByStart;exports.startOfDay=e.startOfDay;exports.startOfMonth=e.startOfMonth;exports.startOfWeek=e.startOfWeek;exports.startOfYear=e.startOfYear;exports.subDays=e.subDays;exports.subMonths=e.subMonths;exports.subWeeks=e.subWeeks;exports.subYears=e.subYears;exports.timeToY=e.timeToY;exports.yToTime=e.yToTime;exports.cn=s.cn;exports.AgendaView=t.AgendaView;exports.Button=t.Button;exports.CalendarHeader=t.CalendarHeader;exports.DateNavigator=t.DateNavigator;exports.DayEventsExpansion=t.DayEventsExpansion;exports.DaySlot=t.DaySlot;exports.DayView=t.DayView;exports.Dialog=t.Dialog;exports.DialogClose=t.DialogClose;exports.DialogContent=t.DialogContent;exports.DialogDescription=t.DialogDescription;exports.DialogHeader=t.DialogHeader;exports.DialogTitle=t.DialogTitle;exports.DialogTrigger=t.DialogTrigger;exports.EventBlock=t.EventBlock;exports.EventCard=t.EventCard;exports.MonthView=t.MonthView;exports.MultiDayBanner=t.MultiDayBanner;exports.MultiDayEventBar=t.MultiDayEventBar;exports.Popover=t.Popover;exports.PopoverAnchor=t.PopoverAnchor;exports.PopoverContent=t.PopoverContent;exports.PopoverTrigger=t.PopoverTrigger;exports.Sheet=t.Sheet;exports.SheetClose=t.SheetClose;exports.SheetContent=t.SheetContent;exports.SheetDescription=t.SheetDescription;exports.SheetHeader=t.SheetHeader;exports.SheetTitle=t.SheetTitle;exports.SheetTrigger=t.SheetTrigger;exports.TimeSlot=t.TimeSlot;exports.TodayButton=t.TodayButton;exports.Tooltip=t.Tooltip;exports.TooltipContent=t.TooltipContent;exports.TooltipProvider=t.TooltipProvider;exports.TooltipTrigger=t.TooltipTrigger;exports.WeekView=t.WeekView;exports.buttonVariants=t.buttonVariants;exports.getEventColorClasses=t.getEventColorClasses;exports.CalendarProvider=r.CalendarProvider;exports.useCalendar=r.useCalendar;exports.useCalendarContext=r.useCalendarContext;exports.useCalendarDate=r.useCalendarDate;exports.useCalendarEvents=r.useCalendarEvents;exports.useCalendarFilters=r.useCalendarFilters;exports.useCalendarFromContext=r.useCalendarContext;exports.useCalendarPreferences=r.useCalendarPreferences;exports.useCalendarView=r.useCalendarView;exports.useOptionalCalendar=r.useOptionalCalendarContext;exports.useOptionalCalendarContext=r.useOptionalCalendarContext;exports.DefaultCalendar=i.DefaultCalendar;exports.TailwindCalendar=i.TailwindCalendar;exports.DragDropProvider=a.DragDropProvider;exports.InnoCalendarProvider=a.InnoCalendarProvider;exports.IntegratedCalendarProvider=a.InnoCalendarProvider;exports.PREFERENCES_DEFAULT_SLOT_DURATION=a.DEFAULT_SLOT_DURATION;exports.PREFERENCES_DEFAULT_VISIBLE_HOURS=a.DEFAULT_VISIBLE_HOURS;exports.PREFERENCES_DEFAULT_WORKING_HOURS=a.DEFAULT_WORKING_HOURS;exports.PREFERENCES_STORAGE_KEY=a.PREFERENCES_STORAGE_KEY;exports.SlotSelectionProvider=a.SlotSelectionProvider;exports.useAdvancedPreferences=a.useCalendarPreferences;exports.useDragDrop=a.useDragDrop;exports.useInnoCalendar=a.useInnoCalendar;exports.useInnoCalendarEvents=a.useInnoCalendarEvents;exports.useInnoCalendarFilters=a.useInnoCalendarFilters;exports.useInnoCalendarTimeConfig=a.useInnoCalendarTimeConfig;exports.useInnoCalendarView=a.useInnoCalendarView;exports.useIntegratedCalendar=a.useInnoCalendar;exports.useIntegratedCalendarEvents=a.useInnoCalendarEvents;exports.useIntegratedCalendarFilters=a.useInnoCalendarFilters;exports.useIntegratedCalendarTimeConfig=a.useInnoCalendarTimeConfig;exports.useIntegratedCalendarView=a.useInnoCalendarView;exports.useOptionalDragDrop=a.useOptionalDragDrop;exports.useOptionalInnoCalendar=a.useOptionalInnoCalendar;exports.useOptionalIntegratedCalendar=a.useOptionalInnoCalendar;exports.useOptionalSlotSelection=a.useOptionalSlotSelection;exports.useSlotSelectionContext=a.useSlotSelectionContext;exports.useCalendarTimeConfig=o.useCalendarTimeConfig;exports.usePreferences=o.usePreferences;exports.useSlotSelection=o.useSlotSelection;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as s, a as t, B as n, C as r, b as o, D as i, E as l, I as E, I as d, S as g, c as u, T as D, U as C, V as S, W as T, Y as v } from "./agenda-widget-
|
|
1
|
+
import { A as s, a as t, B as n, C as r, b as o, D as i, E as l, I as E, I as d, S as g, c as u, T as D, U as C, V as S, W as T, Y as v } from "./agenda-widget-duVkXi_m.js";
|
|
2
2
|
import { C as f, D as p, a as O, b as _, c as y, d as c, e as R, f as m, g as H, E as A, h, H as F, i as U, M as P, j as M, k as N, l as V, m as W, n as B, o as L, p as k, q as x, r as w, s as b, t as Y, u as G, v as K, w as j, x as q, y as z, z as X, A as J, B as Q, F as Z, G as $, I as aa, J as ea, K as sa, L as ta, N as na, O as ra, P as oa, Q as ia, R as la, S as Ea, T as da, U as ga, V as ua, W as Da, X as Ca, Y as Sa, Z as Ta, _ as va, $ as Ia, a0 as fa, a1 as pa, a2 as Oa, a3 as _a, a4 as ya, a5 as ca, a6 as Ra, a7 as ma, a8 as Ha, a9 as Aa, aa as ha, ab as Fa, ac as Ua, ad as Pa, ae as Ma, af as Na, ag as Va, ah as Wa, ai as Ba, aj as La, ak as ka, al as xa, am as wa, an as ba, ao as Ya, ap as Ga, aq as Ka, ar as ja, as as qa, at as za, au as Xa, av as Ja, aw as Qa, ax as Za, ay as $a, az as ae, aA as ee, aB as se, aC as te, aD as ne, aE as re, aF as oe, aG as ie, aH as le, aI as Ee, aJ as de, aK as ge, aL as ue, aM as De, aN as Ce, aO as Se, aP as Te, aQ as ve, aR as Ie, aS as fe, aT as pe, aU as Oe, aV as _e, aW as ye, aX as ce, aY as Re, aZ as me } from "./position-utils-DMVQFywD.js";
|
|
3
3
|
import { c as Ae } from "./index-DtaLkIY8.js";
|
|
4
4
|
import { A as Fe, B as Ue, C as Pe, D as Me, a as Ne, b as Ve, c as We, d as Be, e as Le, f as ke, g as xe, h as we, i as be, j as Ye, E as Ge, k as Ke, M as je, l as qe, m as ze, P as Xe, n as Je, o as Qe, p as Ze, S as $e, q as as, r as es, s as ss, t as ts, u as ns, v as rs, T as os, w as is, x as ls, y as Es, z as ds, F as gs, W as us, G as Ds, H as Cs } from "./week-view-DY167Wok.js";
|