@innosolutions/inno-calendar 1.0.72 → 2.0.0
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/CHANGELOG.md +93 -0
- package/LICENSE +48 -48
- package/README.md +333 -305
- package/dist/components/event/event-card.d.ts +3 -27
- package/dist/components/event/event-card.d.ts.map +1 -1
- package/dist/components/header/calendar-header.d.ts +14 -3
- package/dist/components/header/calendar-header.d.ts.map +1 -1
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.d.ts +7 -6
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.mjs +48 -57
- package/dist/components/index.mjs.map +1 -1
- package/dist/components/inno-calendar.d.ts +139 -72
- package/dist/components/inno-calendar.d.ts.map +1 -1
- package/dist/components/primitives/field-layer.d.ts +12 -0
- package/dist/components/primitives/field-layer.d.ts.map +1 -0
- package/dist/components/primitives/index.d.ts +3 -0
- package/dist/components/primitives/index.d.ts.map +1 -1
- package/dist/components/primitives/quick-create.d.ts +44 -0
- package/dist/components/primitives/quick-create.d.ts.map +1 -0
- package/dist/components/primitives/recurrence-field.d.ts +102 -0
- package/dist/components/primitives/recurrence-field.d.ts.map +1 -0
- package/dist/components/primitives/when-row.d.ts +41 -0
- package/dist/components/primitives/when-row.d.ts.map +1 -0
- package/dist/components/shell/calendar-settings.d.ts +28 -0
- package/dist/components/shell/calendar-settings.d.ts.map +1 -0
- package/dist/components/shell/calendar-sidebar.d.ts +27 -0
- package/dist/components/shell/calendar-sidebar.d.ts.map +1 -0
- package/dist/components/shell/filter-panel.d.ts +10 -0
- package/dist/components/shell/filter-panel.d.ts.map +1 -0
- package/dist/components/shell/index.d.ts +5 -0
- package/dist/components/shell/index.d.ts.map +1 -0
- package/dist/components/shell/mini-month.d.ts +16 -0
- package/dist/components/shell/mini-month.d.ts.map +1 -0
- package/dist/components/ui/index.d.ts +0 -2
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/views/agenda-view.d.ts +14 -15
- package/dist/components/views/agenda-view.d.ts.map +1 -1
- package/dist/components/views/day-events-expansion.d.ts +1 -1
- package/dist/components/views/day-events-expansion.d.ts.map +1 -1
- package/dist/components/views/day-view.d.ts +2 -6
- package/dist/components/views/day-view.d.ts.map +1 -1
- package/dist/components/views/index.d.ts +2 -1
- package/dist/components/views/index.d.ts.map +1 -1
- package/dist/components/views/month-view.d.ts +2 -12
- package/dist/components/views/month-view.d.ts.map +1 -1
- package/dist/components/views/resource-columns-view.d.ts +23 -0
- package/dist/components/views/resource-columns-view.d.ts.map +1 -0
- package/dist/components/views/timeline-view.d.ts +2 -6
- package/dist/components/views/timeline-view.d.ts.map +1 -1
- package/dist/components/views/week-view.d.ts +10 -6
- package/dist/components/views/week-view.d.ts.map +1 -1
- package/dist/components/views/year-view.d.ts +2 -6
- package/dist/components/views/year-view.d.ts.map +1 -1
- package/dist/core/constants.d.ts +32 -1
- package/dist/core/constants.d.ts.map +1 -1
- package/dist/core/context/drag-drop-context.d.ts +15 -1
- package/dist/core/context/drag-drop-context.d.ts.map +1 -1
- package/dist/core/context/event-card-context.d.ts +16 -0
- package/dist/core/context/event-card-context.d.ts.map +1 -0
- package/dist/core/context/inno-calendar-provider.d.ts +10 -1
- package/dist/core/context/inno-calendar-provider.d.ts.map +1 -1
- package/dist/core/context/slot-selection-context.d.ts +16 -0
- package/dist/core/context/slot-selection-context.d.ts.map +1 -1
- package/dist/core/index.cjs +1 -1
- package/dist/core/index.d.ts +3 -1
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.mjs +160 -155
- package/dist/core/index.mjs.map +1 -1
- package/dist/core/types.d.ts +44 -514
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/utils/date-input.d.ts +8 -0
- package/dist/core/utils/date-input.d.ts.map +1 -0
- package/dist/core/utils/grid-utils.d.ts.map +1 -1
- package/dist/core/utils/index.d.ts +1 -0
- package/dist/core/utils/index.d.ts.map +1 -1
- package/dist/core/utils/time-format.d.ts +24 -0
- package/dist/core/utils/time-format.d.ts.map +1 -0
- package/dist/core/utils/view-storage.d.ts +2 -2
- package/dist/core/utils/view-storage.d.ts.map +1 -1
- package/dist/core/z-layers.d.ts +21 -0
- package/dist/core/z-layers.d.ts.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +227 -234
- package/dist/index.mjs.map +1 -1
- package/dist/inno-calendar-B6qXIqxY.js +7433 -0
- package/dist/inno-calendar-B6qXIqxY.js.map +1 -0
- package/dist/inno-calendar-BnCt65PZ.cjs +11 -0
- package/dist/inno-calendar-BnCt65PZ.cjs.map +1 -0
- package/dist/lib/index.cjs +1 -1
- package/dist/lib/index.mjs +1 -1
- package/dist/position-utils-BzSoogFQ.cjs +2 -0
- package/dist/position-utils-BzSoogFQ.cjs.map +1 -0
- package/dist/position-utils-CBSmf90e.js +1106 -0
- package/dist/position-utils-CBSmf90e.js.map +1 -0
- package/dist/styles/index.css +1 -1
- package/dist/use-slot-selection-CxPvMluJ.cjs +2 -0
- package/dist/use-slot-selection-CxPvMluJ.cjs.map +1 -0
- package/dist/use-slot-selection-IXHnP8C1.js +357 -0
- package/dist/use-slot-selection-IXHnP8C1.js.map +1 -0
- package/dist/utils-B6yFEsav.js +9 -0
- package/dist/utils-B6yFEsav.js.map +1 -0
- package/dist/utils-IjLH3w2e.cjs +2 -0
- package/dist/utils-IjLH3w2e.cjs.map +1 -0
- package/dist/utils.cjs +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.mjs +99 -96
- package/dist/z-layers-Bavypndz.cjs +2 -0
- package/dist/z-layers-Bavypndz.cjs.map +1 -0
- package/dist/z-layers-r5PdtThu.js +637 -0
- package/dist/z-layers-r5PdtThu.js.map +1 -0
- package/package.json +117 -138
- package/AGENT.md +0 -1783
- package/dist/agenda-widget-B0t3TCcV.js +0 -4141
- package/dist/agenda-widget-B0t3TCcV.js.map +0 -1
- package/dist/agenda-widget-i2tjGr5U.cjs +0 -2
- package/dist/agenda-widget-i2tjGr5U.cjs.map +0 -1
- package/dist/components/calendar.d.ts +0 -45
- package/dist/components/calendar.d.ts.map +0 -1
- package/dist/components/event/event-page-transition.d.ts +0 -32
- package/dist/components/event/event-page-transition.d.ts.map +0 -1
- package/dist/components/filters/calendar-filter-sidebar.d.ts +0 -54
- package/dist/components/filters/calendar-filter-sidebar.d.ts.map +0 -1
- package/dist/components/filters/index.d.ts +0 -9
- package/dist/components/filters/index.d.ts.map +0 -1
- package/dist/components/filters/schedule-type-filter.d.ts +0 -31
- package/dist/components/filters/schedule-type-filter.d.ts.map +0 -1
- package/dist/components/filters/user-filter.d.ts +0 -31
- package/dist/components/filters/user-filter.d.ts.map +0 -1
- package/dist/components/header/components/index.d.ts +0 -8
- package/dist/components/header/components/index.d.ts.map +0 -1
- package/dist/components/integrated-calendar.d.ts +0 -37
- package/dist/components/integrated-calendar.d.ts.map +0 -1
- package/dist/components/settings/badge-variant-setting.d.ts +0 -25
- package/dist/components/settings/badge-variant-setting.d.ts.map +0 -1
- package/dist/components/settings/index.d.ts +0 -10
- package/dist/components/settings/index.d.ts.map +0 -1
- package/dist/components/settings/slot-duration-setting.d.ts +0 -20
- package/dist/components/settings/slot-duration-setting.d.ts.map +0 -1
- package/dist/components/settings/visible-hours-setting.d.ts +0 -23
- package/dist/components/settings/visible-hours-setting.d.ts.map +0 -1
- package/dist/components/settings/working-hours-setting.d.ts +0 -41
- package/dist/components/settings/working-hours-setting.d.ts.map +0 -1
- package/dist/components/ui/dialog.d.ts +0 -35
- package/dist/components/ui/dialog.d.ts.map +0 -1
- package/dist/components/ui/select.d.ts +0 -12
- package/dist/components/ui/select.d.ts.map +0 -1
- package/dist/components/widget/agenda-dropdown.d.ts +0 -20
- package/dist/components/widget/agenda-dropdown.d.ts.map +0 -1
- package/dist/components/widget/agenda-widget.d.ts +0 -27
- package/dist/components/widget/agenda-widget.d.ts.map +0 -1
- package/dist/components/widget/index.d.ts +0 -6
- package/dist/components/widget/index.d.ts.map +0 -1
- package/dist/index-D2U2F80P.cjs +0 -2
- package/dist/index-D2U2F80P.cjs.map +0 -1
- package/dist/index-DtaLkIY8.js +0 -2777
- package/dist/index-DtaLkIY8.js.map +0 -1
- package/dist/position-utils-D_KpwRus.js +0 -1053
- package/dist/position-utils-D_KpwRus.js.map +0 -1
- package/dist/position-utils-ksZ_IjXC.cjs +0 -2
- package/dist/position-utils-ksZ_IjXC.cjs.map +0 -1
- package/dist/presets/default/default-calendar.d.ts +0 -44
- package/dist/presets/default/default-calendar.d.ts.map +0 -1
- package/dist/presets/default/index.d.ts +0 -2
- package/dist/presets/default/index.d.ts.map +0 -1
- package/dist/presets/index.cjs +0 -2
- package/dist/presets/index.cjs.map +0 -1
- package/dist/presets/index.d.ts +0 -3
- package/dist/presets/index.d.ts.map +0 -1
- package/dist/presets/index.mjs +0 -6
- package/dist/presets/index.mjs.map +0 -1
- package/dist/presets/tailwind/index.d.ts +0 -2
- package/dist/presets/tailwind/index.d.ts.map +0 -1
- package/dist/presets/tailwind/tailwind-calendar.d.ts +0 -122
- package/dist/presets/tailwind/tailwind-calendar.d.ts.map +0 -1
- package/dist/slot-selection-context-CLYZU6ul.cjs +0 -2
- package/dist/slot-selection-context-CLYZU6ul.cjs.map +0 -1
- package/dist/slot-selection-context-Ct5cVcKW.js +0 -611
- package/dist/slot-selection-context-Ct5cVcKW.js.map +0 -1
- package/dist/tailwind-calendar-BbUb61uY.cjs +0 -2
- package/dist/tailwind-calendar-BbUb61uY.cjs.map +0 -1
- package/dist/tailwind-calendar-DrwGVSF-.js +0 -400
- package/dist/tailwind-calendar-DrwGVSF-.js.map +0 -1
- package/dist/use-calendar-BK0nQYJq.cjs +0 -2
- package/dist/use-calendar-BK0nQYJq.cjs.map +0 -1
- package/dist/use-calendar-DJI35SSd.js +0 -175
- package/dist/use-calendar-DJI35SSd.js.map +0 -1
- package/dist/use-slot-selection-CCE11R4j.cjs +0 -2
- package/dist/use-slot-selection-CCE11R4j.cjs.map +0 -1
- package/dist/use-slot-selection-CX1w8EdM.js +0 -188
- package/dist/use-slot-selection-CX1w8EdM.js.map +0 -1
- package/dist/week-view-BXmaRChB.cjs +0 -11
- package/dist/week-view-BXmaRChB.cjs.map +0 -1
- package/dist/week-view-BeasFcyR.js +0 -3520
- package/dist/week-view-BeasFcyR.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/utils/index.ts"],"names":[],"mappings":"AACA,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/utils/index.ts"],"names":[],"mappings":"AACA,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Time formatting for the calendar's own surfaces.
|
|
3
|
+
*
|
|
4
|
+
* `Intl` picks 12- or 24-hour from the locale, which means an app running in
|
|
5
|
+
* `en` shows "2pm" to users who expect "14:00". The calendar is a scheduling
|
|
6
|
+
* tool for a business, not a locale demo, so 24-hour is the default and 12-hour
|
|
7
|
+
* is opt-in.
|
|
8
|
+
*/
|
|
9
|
+
export interface ITimeFormatOptions {
|
|
10
|
+
locale?: string | undefined;
|
|
11
|
+
/** @default false — 24-hour */
|
|
12
|
+
hour12?: boolean | undefined;
|
|
13
|
+
}
|
|
14
|
+
/** "14:00", or "2:00 PM" when `hour12`. */
|
|
15
|
+
export declare function formatClock(date: Date, { locale, hour12 }?: ITimeFormatOptions): string;
|
|
16
|
+
/** "14:00", dropping ":00" is *not* done here — see `formatClockCompact`. */
|
|
17
|
+
export declare function formatClockRange(start: Date, end: Date, options?: ITimeFormatOptions): string;
|
|
18
|
+
/**
|
|
19
|
+
* The short form for a one-line chip: "14:00", or "2pm" in 12-hour mode where
|
|
20
|
+
* dropping a zero minute reads naturally. In 24-hour the zeroes stay, because
|
|
21
|
+
* "14" alone is not a time anybody writes.
|
|
22
|
+
*/
|
|
23
|
+
export declare function formatClockCompact(date: Date, { locale, hour12 }?: ITimeFormatOptions): string;
|
|
24
|
+
//# sourceMappingURL=time-format.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"time-format.d.ts","sourceRoot":"","sources":["../../../src/core/utils/time-format.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,MAAM,WAAW,kBAAkB;IAClC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,+BAA+B;IAC/B,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC7B;AAED,2CAA2C;AAC3C,wBAAgB,WAAW,CAC1B,IAAI,EAAE,IAAI,EACV,EAAE,MAAM,EAAE,MAAc,EAAE,GAAE,kBAAuB,GACjD,MAAM,CAMR;AAED,6EAA6E;AAC7E,wBAAgB,gBAAgB,CAC/B,KAAK,EAAE,IAAI,EACX,GAAG,EAAE,IAAI,EACT,OAAO,GAAE,kBAAuB,GAC9B,MAAM,CAER;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CACjC,IAAI,EAAE,IAAI,EACV,EAAE,MAAM,EAAE,MAAc,EAAE,GAAE,kBAAuB,GACjD,MAAM,CAYR"}
|
|
@@ -7,7 +7,7 @@ export declare const RESOURCE_VIEW_STORAGE_KEY = "inno-calendar-resource-view";
|
|
|
7
7
|
* Calendar view values (non-resource, non-timeline).
|
|
8
8
|
* Matches the "Calendar View" dropdown in the built-in header.
|
|
9
9
|
*/
|
|
10
|
-
export type TCalendarGridView = 'day' | 'week' | 'month' | 'year' | 'agenda';
|
|
10
|
+
export type TCalendarGridView = 'day' | '4day' | 'week' | 'month' | 'year' | 'agenda';
|
|
11
11
|
/**
|
|
12
12
|
* Resource view values (timeline + resource).
|
|
13
13
|
* Matches the "Resource View" dropdown in the built-in header.
|
|
@@ -20,7 +20,7 @@ export declare function isResourceView(view: unknown): view is TResourceView;
|
|
|
20
20
|
/**
|
|
21
21
|
* Save the last selected calendar (grid) view.
|
|
22
22
|
*
|
|
23
|
-
* @param view - One of: `'day' | 'week' | 'month' | 'year' | 'agenda'`
|
|
23
|
+
* @param view - One of: `'day' | '4day' | 'week' | 'month' | 'year' | 'agenda'`
|
|
24
24
|
* @param storageKey - Optional override for the localStorage key
|
|
25
25
|
*/
|
|
26
26
|
export declare function saveCalendarView(view: TCalendarGridView, storageKey?: string): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-storage.d.ts","sourceRoot":"","sources":["../../../src/core/utils/view-storage.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,KAAK,EAAE,sBAAsB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAwBtE,kEAAkE;AAClE,eAAO,MAAM,yBAAyB,uBAAuB,CAAC;AAE9D,oEAAoE;AACpE,eAAO,MAAM,yBAAyB,gCAAgC,CAAC;AAEvE;;;GAGG;AACH,MAAM,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"view-storage.d.ts","sourceRoot":"","sources":["../../../src/core/utils/view-storage.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,KAAK,EAAE,sBAAsB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAwBtE,kEAAkE;AAClE,eAAO,MAAM,yBAAyB,uBAAuB,CAAC;AAE9D,oEAAoE;AACpE,eAAO,MAAM,yBAAyB,gCAAgC,CAAC;AAEvE;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAC1B,KAAK,GACL,MAAM,GACN,MAAM,GACN,OAAO,GACP,MAAM,GACN,QAAQ,CAAC;AAEZ;;;GAGG;AACH,MAAM,MAAM,aAAa,GACtB,cAAc,GACd,eAAe,GACf,eAAe,GACf,cAAc,GACd,eAAe,CAAC;AAuBnB,wEAAwE;AACxE,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,iBAAiB,CAE3E;AAED,0EAA0E;AAC1E,wBAAgB,cAAc,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,aAAa,CAEnE;AA0CD;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAC/B,IAAI,EAAE,iBAAiB,EACvB,UAAU,GAAE,MAAkC,GAC5C,IAAI,CAGN;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAC/B,UAAU,GAAE,MAAkC,GAC5C,iBAAiB,GAAG,IAAI,CAG1B;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,UAAU,GAAE,MAAkC,GAAG,IAAI,CAEtF;AAMD;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAC/B,IAAI,EAAE,aAAa,EACnB,UAAU,GAAE,MAAkC,GAC5C,IAAI,CAGN;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAC/B,UAAU,GAAE,MAAkC,GAC5C,aAAa,GAAG,IAAI,CAGtB;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,UAAU,GAAE,MAAkC,GAAG,IAAI,CAEtF;AAMD;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAC/B,IAAI,EAAE,aAAa,EACnB,MAAM,CAAC,EAAE,sBAAsB,GAC7B,IAAI,CAUN;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,IAAI,aAAa,GAAG,IAAI,CAc1D;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,iBAAiB,CAChC,MAAM,CAAC,EAAE,sBAAsB,GAC7B,aAAa,GAAG,IAAI,CAetB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Stacking levels for the surfaces the calendar portals to the body.
|
|
3
|
+
*
|
|
4
|
+
* They are exported because a consumer's own portalled components — a Radix
|
|
5
|
+
* Select inside a custom field, a combobox in the card — land at their library's
|
|
6
|
+
* default (usually 50) and would open *behind* the card. Anything opened from
|
|
7
|
+
* within a calendar surface has to sit above it, and guessing a number that
|
|
8
|
+
* happens to work today is how that breaks later.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* <SelectContent style={{ zIndex: IC_Z_LAYER }}>
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
/** The quick-create card, and anything else floating over the grid. */
|
|
16
|
+
export declare const IC_Z_CARD = 1000;
|
|
17
|
+
/** Menus and pickers opened from a card: date grids, time lists, selects. */
|
|
18
|
+
export declare const IC_Z_LAYER = 1100;
|
|
19
|
+
/** A dialog opened from a card — Google's custom-recurrence panel. */
|
|
20
|
+
export declare const IC_Z_MODAL = 1200;
|
|
21
|
+
//# sourceMappingURL=z-layers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"z-layers.d.ts","sourceRoot":"","sources":["../../src/core/z-layers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,uEAAuE;AACvE,eAAO,MAAM,SAAS,OAAO,CAAC;AAE9B,6EAA6E;AAC7E,eAAO,MAAM,UAAU,OAAO,CAAC;AAE/B,sEAAsE;AACtE,eAAO,MAAM,UAAU,OAAO,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-i2tjGr5U.cjs"),a=require("./week-view-BXmaRChB.cjs"),e=require("./position-utils-ksZ_IjXC.cjs"),r=require("./use-calendar-BK0nQYJq.cjs"),i=require("./tailwind-calendar-BbUb61uY.cjs"),t=require("./slot-selection-context-CLYZU6ul.cjs"),s=require("./index-D2U2F80P.cjs"),o=require("./use-slot-selection-CCE11R4j.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.AgendaView=a.AgendaView;exports.Button=a.Button;exports.CalendarHeader=a.CalendarHeader;exports.DateNavigator=a.DateNavigator;exports.DayEventsExpansion=a.DayEventsExpansion;exports.DaySlot=a.DaySlot;exports.DayView=a.DayView;exports.Dialog=a.Dialog;exports.DialogClose=a.DialogClose;exports.DialogContent=a.DialogContent;exports.DialogDescription=a.DialogDescription;exports.DialogHeader=a.DialogHeader;exports.DialogTitle=a.DialogTitle;exports.DialogTrigger=a.DialogTrigger;exports.EventBlock=a.EventBlock;exports.EventCard=a.EventCard;exports.MonthView=a.MonthView;exports.MultiDayBanner=a.MultiDayBanner;exports.MultiDayEventBar=a.MultiDayEventBar;exports.Popover=a.Popover;exports.PopoverAnchor=a.PopoverAnchor;exports.PopoverContent=a.PopoverContent;exports.PopoverTrigger=a.PopoverTrigger;exports.Sheet=a.Sheet;exports.SheetClose=a.SheetClose;exports.SheetContent=a.SheetContent;exports.SheetDescription=a.SheetDescription;exports.SheetHeader=a.SheetHeader;exports.SheetTitle=a.SheetTitle;exports.SheetTrigger=a.SheetTrigger;exports.TimeSlot=a.TimeSlot;exports.TodayButton=a.TodayButton;exports.Tooltip=a.Tooltip;exports.TooltipContent=a.TooltipContent;exports.TooltipProvider=a.TooltipProvider;exports.TooltipTrigger=a.TooltipTrigger;exports.WeekView=a.WeekView;exports.buttonVariants=a.buttonVariants;exports.getEventColorClasses=a.getEventColorClasses;exports.CALENDAR_VIEWS=e.CALENDAR_VIEWS;exports.CALENDAR_VIEW_STORAGE_KEY=e.CALENDAR_VIEW_STORAGE_KEY;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.PREFERENCES_STORAGE_KEY=e.PREFERENCES_STORAGE_KEY;exports.RESOURCE_VIEW_STORAGE_KEY=e.RESOURCE_VIEW_STORAGE_KEY;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.clearCalendarView=e.clearCalendarView;exports.clearResourceView=e.clearResourceView;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.isCalendarGridView=e.isCalendarGridView;exports.isMultiDayEvent=e.isMultiDayEvent;exports.isResourceView=e.isResourceView;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.readCalendarView=e.readCalendarView;exports.readPersistedView=e.readPersistedView;exports.readPreferencesView=e.readPreferencesView;exports.readResourceView=e.readResourceView;exports.resolveEventColor=e.resolveEventColor;exports.saveCalendarView=e.saveCalendarView;exports.saveResourceView=e.saveResourceView;exports.saveViewByFamily=e.saveViewByFamily;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.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=t.DragDropProvider;exports.InnoCalendarProvider=t.InnoCalendarProvider;exports.IntegratedCalendarProvider=t.InnoCalendarProvider;exports.PREFERENCES_DEFAULT_SLOT_DURATION=t.DEFAULT_SLOT_DURATION;exports.PREFERENCES_DEFAULT_VISIBLE_HOURS=t.DEFAULT_VISIBLE_HOURS;exports.PREFERENCES_DEFAULT_WORKING_HOURS=t.DEFAULT_WORKING_HOURS;exports.SlotSelectionProvider=t.SlotSelectionProvider;exports.useAdvancedPreferences=t.useCalendarPreferences;exports.useDragDrop=t.useDragDrop;exports.useInnoCalendar=t.useInnoCalendar;exports.useInnoCalendarEvents=t.useInnoCalendarEvents;exports.useInnoCalendarFilters=t.useInnoCalendarFilters;exports.useInnoCalendarTimeConfig=t.useInnoCalendarTimeConfig;exports.useInnoCalendarView=t.useInnoCalendarView;exports.useIntegratedCalendar=t.useInnoCalendar;exports.useIntegratedCalendarEvents=t.useInnoCalendarEvents;exports.useIntegratedCalendarFilters=t.useInnoCalendarFilters;exports.useIntegratedCalendarTimeConfig=t.useInnoCalendarTimeConfig;exports.useIntegratedCalendarView=t.useInnoCalendarView;exports.useOptionalDragDrop=t.useOptionalDragDrop;exports.useOptionalInnoCalendar=t.useOptionalInnoCalendar;exports.useOptionalIntegratedCalendar=t.useOptionalInnoCalendar;exports.useOptionalSlotSelection=t.useOptionalSlotSelection;exports.useSlotSelectionContext=t.useSlotSelectionContext;exports.cn=s.cn;exports.useCalendarTimeConfig=o.useCalendarTimeConfig;exports.usePreferences=o.usePreferences;exports.useSlotSelection=o.useSlotSelection;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./inno-calendar-BnCt65PZ.cjs"),e=require("./position-utils-BzSoogFQ.cjs"),t=require("./z-layers-Bavypndz.cjs"),r=require("./utils-IjLH3w2e.cjs"),n=require("./use-slot-selection-CxPvMluJ.cjs");exports.AgendaView=a.AgendaView;exports.Button=a.Button;exports.CalendarHeader=a.CalendarHeader;exports.CalendarSettings=a.CalendarSettings;exports.CalendarSidebar=a.CalendarSidebar;exports.DateNavigator=a.DateNavigator;exports.DayEventsExpansion=a.DayEventsExpansion;exports.DaySlot=a.DaySlot;exports.DayView=a.DayView;exports.EventBlock=a.EventBlock;exports.EventCard=a.EventCard;exports.EventPopover=a.EventPopover;exports.FieldLayer=a.FieldLayer;exports.FilterPanel=a.FilterPanel;exports.InnoCalendar=a.InnoCalendar;exports.IntegratedCalendar=a.InnoCalendar;exports.MiniMonth=a.MiniMonth;exports.MonthView=a.MonthView;exports.MultiDayBanner=a.MultiDayBanner;exports.MultiDayEventBar=a.MultiDayEventBar;exports.Popover=a.Popover;exports.PopoverAnchor=a.PopoverAnchor;exports.PopoverContent=a.PopoverContent;exports.PopoverTrigger=a.PopoverTrigger;exports.QuickCreate=a.QuickCreate;exports.RecurrenceField=a.RecurrenceField;exports.Sheet=a.Sheet;exports.SheetClose=a.SheetClose;exports.SheetContent=a.SheetContent;exports.SheetDescription=a.SheetDescription;exports.SheetHeader=a.SheetHeader;exports.SheetTitle=a.SheetTitle;exports.SheetTrigger=a.SheetTrigger;exports.SidebarSheet=a.SidebarSheet;exports.TimeSlot=a.TimeSlot;exports.TimelineView=a.TimelineView;exports.TodayButton=a.TodayButton;exports.Tooltip=a.Tooltip;exports.TooltipContent=a.TooltipContent;exports.TooltipProvider=a.TooltipProvider;exports.TooltipTrigger=a.TooltipTrigger;exports.WeekView=a.WeekView;exports.WhenRow=a.WhenRow;exports.YearView=a.YearView;exports.buttonVariants=a.buttonVariants;exports.getEventColorClasses=a.getEventColorClasses;exports.recurrencePresets=a.recurrencePresets;exports.CALENDAR_VIEWS=e.CALENDAR_VIEWS;exports.CALENDAR_VIEW_STORAGE_KEY=e.CALENDAR_VIEW_STORAGE_KEY;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.PREFERENCES_STORAGE_KEY=e.PREFERENCES_STORAGE_KEY;exports.RESOURCE_VIEW_STORAGE_KEY=e.RESOURCE_VIEW_STORAGE_KEY;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.clearCalendarView=e.clearCalendarView;exports.clearResourceView=e.clearResourceView;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.formatClock=e.formatClock;exports.formatClockCompact=e.formatClockCompact;exports.formatClockRange=e.formatClockRange;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.isCalendarGridView=e.isCalendarGridView;exports.isMultiDayEvent=e.isMultiDayEvent;exports.isResourceView=e.isResourceView;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.readCalendarView=e.readCalendarView;exports.readPersistedView=e.readPersistedView;exports.readPreferencesView=e.readPreferencesView;exports.readResourceView=e.readResourceView;exports.resolveEventColor=e.resolveEventColor;exports.saveCalendarView=e.saveCalendarView;exports.saveResourceView=e.saveResourceView;exports.saveViewByFamily=e.saveViewByFamily;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.DragDropProvider=t.DragDropProvider;exports.IC_Z_CARD=t.IC_Z_CARD;exports.IC_Z_LAYER=t.IC_Z_LAYER;exports.IC_Z_MODAL=t.IC_Z_MODAL;exports.InnoCalendarProvider=t.InnoCalendarProvider;exports.IntegratedCalendarProvider=t.InnoCalendarProvider;exports.PREFERENCES_DEFAULT_SLOT_DURATION=t.DEFAULT_SLOT_DURATION;exports.PREFERENCES_DEFAULT_VISIBLE_HOURS=t.DEFAULT_VISIBLE_HOURS;exports.PREFERENCES_DEFAULT_WORKING_HOURS=t.DEFAULT_WORKING_HOURS;exports.SlotSelectionProvider=t.SlotSelectionProvider;exports.useAdvancedPreferences=t.useCalendarPreferences;exports.useDragDrop=t.useDragDrop;exports.useInnoCalendar=t.useInnoCalendar;exports.useInnoCalendarEvents=t.useInnoCalendarEvents;exports.useInnoCalendarFilters=t.useInnoCalendarFilters;exports.useInnoCalendarTimeConfig=t.useInnoCalendarTimeConfig;exports.useInnoCalendarView=t.useInnoCalendarView;exports.useIntegratedCalendar=t.useInnoCalendar;exports.useIntegratedCalendarEvents=t.useInnoCalendarEvents;exports.useIntegratedCalendarFilters=t.useInnoCalendarFilters;exports.useIntegratedCalendarTimeConfig=t.useInnoCalendarTimeConfig;exports.useIntegratedCalendarView=t.useInnoCalendarView;exports.useOptionalDragDrop=t.useOptionalDragDrop;exports.useOptionalInnoCalendar=t.useOptionalInnoCalendar;exports.useOptionalIntegratedCalendar=t.useOptionalInnoCalendar;exports.useOptionalSlotSelection=t.useOptionalSlotSelection;exports.useSlotSelectionContext=t.useSlotSelectionContext;exports.cn=r.cn;exports.CalendarProvider=n.CalendarProvider;exports.useCalendar=n.useCalendar;exports.useCalendarContext=n.useCalendarContext;exports.useCalendarDate=n.useCalendarDate;exports.useCalendarEvents=n.useCalendarEvents;exports.useCalendarFilters=n.useCalendarFilters;exports.useCalendarFromContext=n.useCalendarContext;exports.useCalendarPreferences=n.useCalendarPreferences;exports.useCalendarTimeConfig=n.useCalendarTimeConfig;exports.useCalendarView=n.useCalendarView;exports.useOptionalCalendar=n.useOptionalCalendarContext;exports.useOptionalCalendarContext=n.useOptionalCalendarContext;exports.usePreferences=n.usePreferences;exports.useSlotSelection=n.useSlotSelection;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAGH,cAAc,cAAc,CAAC;AAE7B,cAAc,QAAQ,CAAC;AAEvB,cAAc,OAAO,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAGH,cAAc,cAAc,CAAC;AAE7B,cAAc,QAAQ,CAAC;AAEvB,cAAc,OAAO,CAAC"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,237 +1,230 @@
|
|
|
1
|
-
import { A as s,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { D as Ys, I as Gs, I as Ks, a as js, b as qs, c as zs, S as Xs, u as Js, d as Qs, e as Zs, f as $s, g as at, h as et, i as st, e as tt, f as rt, g as nt, h as ot, i as it, j as lt, k as Et, k as dt, l as gt, m as ut } from "./slot-selection-context-Ct5cVcKW.js";
|
|
7
|
-
import { c as Dt } from "./index-DtaLkIY8.js";
|
|
8
|
-
import { u as Tt, a as vt, b as It } from "./use-slot-selection-CX1w8EdM.js";
|
|
1
|
+
import { A as s, B as t, C as r, a as n, b as o, D as i, c as l, d as E, e as d, E as u, f as C, g, F as S, h as v, I as D, I as T, M as c, i as _, j as I, k as R, P as O, l as f, m as y, n as p, Q as m, R as V, S as h, o as A, p as H, q as b, r as P, s as F, t as M, u as w, T as L, v as N, w as U, x as k, y as B, z as W, G as Y, W as x, H as G, Y as K, J as j, K as Z, L as Q } from "./inno-calendar-B6qXIqxY.js";
|
|
2
|
+
import { C as z, a as J, D as X, b as $, c as aa, d as ea, e as sa, f as ta, g as ra, h as na, E as oa, i as ia, H as la, j as Ea, M as da, k as ua, l as Ca, m as ga, n as Sa, P as va, R as Da, o as Ta, p as ca, q as _a, r as Ia, s as Ra, t as Oa, u as fa, v as ya, w as pa, x as ma, y as Va, z as ha, A as Aa, B as Ha, F as ba, G as Pa, I as Fa, J as Ma, K as wa, L as La, N as Na, O as Ua, Q as ka, S as Ba, T as Wa, U as Ya, V as xa, W as Ga, X as Ka, Y as ja, Z as Za, _ as Qa, $ as qa, a0 as za, a1 as Ja, a2 as Xa, a3 as $a, a4 as ae, a5 as ee, a6 as se, a7 as te, a8 as re, a9 as ne, aa as oe, ab as ie, ac as le, ad as Ee, ae as de, af as ue, ag as Ce, ah as ge, ai as Se, aj as ve, ak as De, al as Te, am as ce, an as _e, ao as Ie, ap as Re, aq as Oe, ar as fe, as as ye, at as pe, au as me, av as Ve, aw as he, ax as Ae, ay as He, az as be, aA as Pe, aB as Fe, aC as Me, aD as we, aE as Le, aF as Ne, aG as Ue, aH as ke, aI as Be, aJ as We, aK as Ye, aL as xe, aM as Ge, aN as Ke, aO as je, aP as Ze, aQ as Qe, aR as qe, aS as ze, aT as Je, aU as Xe, aV as $e, aW as as, aX as es, aY as ss, aZ as ts, a_ as rs, a$ as ns, b0 as os, b1 as is, b2 as ls, b3 as Es, b4 as ds, b5 as us, b6 as Cs, b7 as gs, b8 as Ss, b9 as vs, ba as Ds, bb as Ts, bc as cs, bd as _s, be as Is } from "./position-utils-CBSmf90e.js";
|
|
3
|
+
import { D as Os, I as fs, a as ys, b as ps, c as ms, c as Vs, d as hs, e as As, f as Hs, S as bs, u as Ps, g as Fs, h as Ms, i as ws, j as Ls, k as Ns, l as Us, h as ks, i as Bs, j as Ws, k as Ys, l as xs, m as Gs, n as Ks, n as js, o as Zs, p as Qs } from "./z-layers-r5PdtThu.js";
|
|
4
|
+
import { c as zs } from "./utils-B6yFEsav.js";
|
|
5
|
+
import { C as Xs, u as $s, a as at, b as et, c as st, d as tt, a as rt, e as nt, f as ot, g as it, h as lt, h as Et, i as dt, j as ut } from "./use-slot-selection-IXHnP8C1.js";
|
|
9
6
|
export {
|
|
10
|
-
s as
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
ha as
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
Ya as
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
be as
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
Ye as
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
vs as
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
vt as usePreferences,
|
|
233
|
-
It as useSlotSelection,
|
|
234
|
-
ut as useSlotSelectionContext,
|
|
235
|
-
ms as yToTime
|
|
7
|
+
s as AgendaView,
|
|
8
|
+
t as Button,
|
|
9
|
+
z as CALENDAR_VIEWS,
|
|
10
|
+
J as CALENDAR_VIEW_STORAGE_KEY,
|
|
11
|
+
r as CalendarHeader,
|
|
12
|
+
Xs as CalendarProvider,
|
|
13
|
+
n as CalendarSettings,
|
|
14
|
+
o as CalendarSidebar,
|
|
15
|
+
X as DEFAULT_BUSINESS_HOURS,
|
|
16
|
+
$ as DEFAULT_HEADER_HEIGHT,
|
|
17
|
+
aa as DEFAULT_HOUR_HEIGHT,
|
|
18
|
+
ea as DEFAULT_PREFERENCES,
|
|
19
|
+
sa as DEFAULT_RESOURCE_WIDTH,
|
|
20
|
+
ta as DEFAULT_SLOT_HEIGHT,
|
|
21
|
+
ra as DEFAULT_VIEW_CONFIGS,
|
|
22
|
+
na as DEFAULT_VISIBLE_HOURS,
|
|
23
|
+
i as DateNavigator,
|
|
24
|
+
l as DayEventsExpansion,
|
|
25
|
+
E as DaySlot,
|
|
26
|
+
d as DayView,
|
|
27
|
+
Os as DragDropProvider,
|
|
28
|
+
oa as EVENT_COLORS,
|
|
29
|
+
ia as EVENT_COLOR_CLASSES,
|
|
30
|
+
u as EventBlock,
|
|
31
|
+
C as EventCard,
|
|
32
|
+
g as EventPopover,
|
|
33
|
+
S as FieldLayer,
|
|
34
|
+
v as FilterPanel,
|
|
35
|
+
la as HEX_TO_EVENT_COLOR,
|
|
36
|
+
Ea as HOURS_IN_DAY,
|
|
37
|
+
fs as IC_Z_CARD,
|
|
38
|
+
ys as IC_Z_LAYER,
|
|
39
|
+
ps as IC_Z_MODAL,
|
|
40
|
+
D as InnoCalendar,
|
|
41
|
+
ms as InnoCalendarProvider,
|
|
42
|
+
T as IntegratedCalendar,
|
|
43
|
+
Vs as IntegratedCalendarProvider,
|
|
44
|
+
da as MINUTES_IN_HOUR,
|
|
45
|
+
ua as MIN_EVENT_HEIGHT,
|
|
46
|
+
Ca as MS_PER_DAY,
|
|
47
|
+
ga as MS_PER_HOUR,
|
|
48
|
+
Sa as MS_PER_MINUTE,
|
|
49
|
+
c as MiniMonth,
|
|
50
|
+
_ as MonthView,
|
|
51
|
+
I as MultiDayBanner,
|
|
52
|
+
R as MultiDayEventBar,
|
|
53
|
+
hs as PREFERENCES_DEFAULT_SLOT_DURATION,
|
|
54
|
+
As as PREFERENCES_DEFAULT_VISIBLE_HOURS,
|
|
55
|
+
Hs as PREFERENCES_DEFAULT_WORKING_HOURS,
|
|
56
|
+
va as PREFERENCES_STORAGE_KEY,
|
|
57
|
+
O as Popover,
|
|
58
|
+
f as PopoverAnchor,
|
|
59
|
+
y as PopoverContent,
|
|
60
|
+
p as PopoverTrigger,
|
|
61
|
+
m as QuickCreate,
|
|
62
|
+
Da as RESOURCE_VIEW_STORAGE_KEY,
|
|
63
|
+
V as RecurrenceField,
|
|
64
|
+
h as Sheet,
|
|
65
|
+
A as SheetClose,
|
|
66
|
+
H as SheetContent,
|
|
67
|
+
b as SheetDescription,
|
|
68
|
+
P as SheetHeader,
|
|
69
|
+
F as SheetTitle,
|
|
70
|
+
M as SheetTrigger,
|
|
71
|
+
w as SidebarSheet,
|
|
72
|
+
bs as SlotSelectionProvider,
|
|
73
|
+
L as TimeSlot,
|
|
74
|
+
N as TimelineView,
|
|
75
|
+
U as TodayButton,
|
|
76
|
+
k as Tooltip,
|
|
77
|
+
B as TooltipContent,
|
|
78
|
+
W as TooltipProvider,
|
|
79
|
+
Y as TooltipTrigger,
|
|
80
|
+
x as WeekView,
|
|
81
|
+
G as WhenRow,
|
|
82
|
+
K as YearView,
|
|
83
|
+
Ta as addDays,
|
|
84
|
+
ca as addHours,
|
|
85
|
+
_a as addMinutes,
|
|
86
|
+
Ia as addMonths,
|
|
87
|
+
Ra as addWeeks,
|
|
88
|
+
Oa as addYears,
|
|
89
|
+
fa as applyEventFilters,
|
|
90
|
+
j as buttonVariants,
|
|
91
|
+
ya as calculateEventPosition,
|
|
92
|
+
pa as calculateOverlappingPositions,
|
|
93
|
+
ma as calculateSelectionOverlay,
|
|
94
|
+
Va as clearCalendarView,
|
|
95
|
+
ha as clearResourceView,
|
|
96
|
+
zs as cn,
|
|
97
|
+
Aa as detectAllDayEvent,
|
|
98
|
+
Ha as differenceInDays,
|
|
99
|
+
ba as differenceInHours,
|
|
100
|
+
Pa as differenceInMilliseconds,
|
|
101
|
+
Fa as differenceInMinutes,
|
|
102
|
+
Ma as eachDayOfInterval,
|
|
103
|
+
wa as eachHourOfInterval,
|
|
104
|
+
La as endOfDay,
|
|
105
|
+
Na as endOfMonth,
|
|
106
|
+
Ua as endOfWeek,
|
|
107
|
+
ka as endOfYear,
|
|
108
|
+
Ba as eventsOverlap,
|
|
109
|
+
Wa as filterEventsByDateRange,
|
|
110
|
+
Ya as filterEventsByResource,
|
|
111
|
+
xa as filterEventsByScheduleType,
|
|
112
|
+
Ga as filterEventsBySearch,
|
|
113
|
+
Ka as filterOutCanceled,
|
|
114
|
+
ja as formatClock,
|
|
115
|
+
Za as formatClockCompact,
|
|
116
|
+
Qa as formatClockRange,
|
|
117
|
+
qa as formatDateISO,
|
|
118
|
+
za as formatEventTimeDisplay,
|
|
119
|
+
Ja as formatHourLabel,
|
|
120
|
+
Xa as formatTime,
|
|
121
|
+
$a as generateHourLabels,
|
|
122
|
+
ae as generateMonthCells,
|
|
123
|
+
ee as generateMonthGrid,
|
|
124
|
+
se as generateTimeSlots,
|
|
125
|
+
te as generateWeekCells,
|
|
126
|
+
re as generateYearCells,
|
|
127
|
+
ne as getAllDayEvents,
|
|
128
|
+
oe as getDayOfWeek,
|
|
129
|
+
ie as getDaysInMonth,
|
|
130
|
+
le as getDecimalHours,
|
|
131
|
+
Ee as getEventColor,
|
|
132
|
+
Z as getEventColorClasses,
|
|
133
|
+
de as getEventDurationMinutes,
|
|
134
|
+
ue as getEventsCountInView,
|
|
135
|
+
Ce as getEventsForDay,
|
|
136
|
+
ge as getEventsInRange,
|
|
137
|
+
Se as getMonthNames,
|
|
138
|
+
ve as getMultiDayEvents,
|
|
139
|
+
De as getOverlappingGroups,
|
|
140
|
+
Te as getRangeText,
|
|
141
|
+
ce as getTimedEvents,
|
|
142
|
+
_e as getViewDateRange,
|
|
143
|
+
Ie as getViewTitle,
|
|
144
|
+
Re as getVisibleHoursArray,
|
|
145
|
+
Oe as getWeekDays,
|
|
146
|
+
fe as getWeekNumber,
|
|
147
|
+
ye as getWeekdayHeaders,
|
|
148
|
+
pe as getWeekdayNames,
|
|
149
|
+
me as getWorkingHoursForDay,
|
|
150
|
+
Ve as getYearMonths,
|
|
151
|
+
he as groupEventsByDate,
|
|
152
|
+
Ae as groupEventsByResource,
|
|
153
|
+
He as groupEventsByScheduleType,
|
|
154
|
+
be as isAfter,
|
|
155
|
+
Pe as isBefore,
|
|
156
|
+
Fe as isBetween,
|
|
157
|
+
Me as isCalendarGridView,
|
|
158
|
+
we as isMultiDayEvent,
|
|
159
|
+
Le as isResourceView,
|
|
160
|
+
Ne as isSameDay,
|
|
161
|
+
Ue as isSameMonth,
|
|
162
|
+
ke as isSameWeek,
|
|
163
|
+
Be as isSameYear,
|
|
164
|
+
We as isToday,
|
|
165
|
+
Ye as isWeekend,
|
|
166
|
+
xe as isWorkingHour,
|
|
167
|
+
Ge as maxDate,
|
|
168
|
+
Ke as minDate,
|
|
169
|
+
je as navigateNext,
|
|
170
|
+
Ze as navigatePrev,
|
|
171
|
+
Qe as navigateToday,
|
|
172
|
+
qe as parseISO,
|
|
173
|
+
ze as reactNodeToText,
|
|
174
|
+
Je as readCalendarView,
|
|
175
|
+
Xe as readPersistedView,
|
|
176
|
+
$e as readPreferencesView,
|
|
177
|
+
as as readResourceView,
|
|
178
|
+
Q as recurrencePresets,
|
|
179
|
+
es as resolveEventColor,
|
|
180
|
+
ss as saveCalendarView,
|
|
181
|
+
ts as saveResourceView,
|
|
182
|
+
rs as saveViewByFamily,
|
|
183
|
+
ns as separateEventsByDuration,
|
|
184
|
+
os as setTime,
|
|
185
|
+
is as shouldShowEventTime,
|
|
186
|
+
ls as sortEventsByDuration,
|
|
187
|
+
Es as sortEventsByEnd,
|
|
188
|
+
ds as sortEventsByStart,
|
|
189
|
+
us as startOfDay,
|
|
190
|
+
Cs as startOfMonth,
|
|
191
|
+
gs as startOfWeek,
|
|
192
|
+
Ss as startOfYear,
|
|
193
|
+
vs as subDays,
|
|
194
|
+
Ds as subMonths,
|
|
195
|
+
Ts as subWeeks,
|
|
196
|
+
cs as subYears,
|
|
197
|
+
_s as timeToY,
|
|
198
|
+
Ps as useAdvancedPreferences,
|
|
199
|
+
$s as useCalendar,
|
|
200
|
+
at as useCalendarContext,
|
|
201
|
+
et as useCalendarDate,
|
|
202
|
+
st as useCalendarEvents,
|
|
203
|
+
tt as useCalendarFilters,
|
|
204
|
+
rt as useCalendarFromContext,
|
|
205
|
+
nt as useCalendarPreferences,
|
|
206
|
+
ot as useCalendarTimeConfig,
|
|
207
|
+
it as useCalendarView,
|
|
208
|
+
Fs as useDragDrop,
|
|
209
|
+
Ms as useInnoCalendar,
|
|
210
|
+
ws as useInnoCalendarEvents,
|
|
211
|
+
Ls as useInnoCalendarFilters,
|
|
212
|
+
Ns as useInnoCalendarTimeConfig,
|
|
213
|
+
Us as useInnoCalendarView,
|
|
214
|
+
ks as useIntegratedCalendar,
|
|
215
|
+
Bs as useIntegratedCalendarEvents,
|
|
216
|
+
Ws as useIntegratedCalendarFilters,
|
|
217
|
+
Ys as useIntegratedCalendarTimeConfig,
|
|
218
|
+
xs as useIntegratedCalendarView,
|
|
219
|
+
lt as useOptionalCalendar,
|
|
220
|
+
Et as useOptionalCalendarContext,
|
|
221
|
+
Gs as useOptionalDragDrop,
|
|
222
|
+
Ks as useOptionalInnoCalendar,
|
|
223
|
+
js as useOptionalIntegratedCalendar,
|
|
224
|
+
Zs as useOptionalSlotSelection,
|
|
225
|
+
dt as usePreferences,
|
|
226
|
+
ut as useSlotSelection,
|
|
227
|
+
Qs as useSlotSelectionContext,
|
|
228
|
+
Is as yToTime
|
|
236
229
|
};
|
|
237
230
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|