@dayflow/core 0.1.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.
Files changed (304) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +392 -0
  3. package/dist/Old/MonthView.d.ts +8 -0
  4. package/dist/Old/MonthView.d.ts.map +1 -0
  5. package/dist/Old/monthView/MonthDragIndicator.d.ts +13 -0
  6. package/dist/Old/monthView/MonthDragIndicator.d.ts.map +1 -0
  7. package/dist/Old/monthView/MultiDayEvent.d.ts +26 -0
  8. package/dist/Old/monthView/MultiDayEvent.d.ts.map +1 -0
  9. package/dist/Old/monthView/WeekComponent.d.ts +43 -0
  10. package/dist/Old/monthView/WeekComponent.d.ts.map +1 -0
  11. package/dist/Old/monthView/util.d.ts +6 -0
  12. package/dist/Old/monthView/util.d.ts.map +1 -0
  13. package/dist/Old/src/app/layout.d.ts +7 -0
  14. package/dist/Old/src/app/layout.d.ts.map +1 -0
  15. package/dist/Old/src/app/page.d.ts +2 -0
  16. package/dist/Old/src/app/page.d.ts.map +1 -0
  17. package/dist/Old/src/app/test/page.d.ts +2 -0
  18. package/dist/Old/src/app/test/page.d.ts.map +1 -0
  19. package/dist/Old/src/components/EventLayout.d.ts +134 -0
  20. package/dist/Old/src/components/EventLayout.d.ts.map +1 -0
  21. package/dist/Old/src/components/common/TodayBox.d.ts +8 -0
  22. package/dist/Old/src/components/common/TodayBox.d.ts.map +1 -0
  23. package/dist/Old/src/components/monthView/MonthDragIndicator.d.ts +13 -0
  24. package/dist/Old/src/components/monthView/MonthDragIndicator.d.ts.map +1 -0
  25. package/dist/Old/src/components/monthView/MultiDayEvent.d.ts +26 -0
  26. package/dist/Old/src/components/monthView/MultiDayEvent.d.ts.map +1 -0
  27. package/dist/Old/src/components/monthView/WeekComponent.d.ts +43 -0
  28. package/dist/Old/src/components/monthView/WeekComponent.d.ts.map +1 -0
  29. package/dist/Old/src/components/monthView/util.d.ts +6 -0
  30. package/dist/Old/src/components/monthView/util.d.ts.map +1 -0
  31. package/dist/Old/src/components/weekView/CalendarEvent.d.ts +29 -0
  32. package/dist/Old/src/components/weekView/CalendarEvent.d.ts.map +1 -0
  33. package/dist/Old/src/components/weekView/DragIndicator/DefaultDragIndicator.d.ts +3 -0
  34. package/dist/Old/src/components/weekView/DragIndicator/DefaultDragIndicator.d.ts.map +1 -0
  35. package/dist/Old/src/components/weekView/DragIndicator/DragIndicatorComponent.d.ts +8 -0
  36. package/dist/Old/src/components/weekView/DragIndicator/DragIndicatorComponent.d.ts.map +1 -0
  37. package/dist/Old/src/core/CalendarApp.d.ts +29 -0
  38. package/dist/Old/src/core/CalendarApp.d.ts.map +1 -0
  39. package/dist/Old/src/core/CalendarRenderer.d.ts +9 -0
  40. package/dist/Old/src/core/CalendarRenderer.d.ts.map +1 -0
  41. package/dist/Old/src/core/config.d.ts +61 -0
  42. package/dist/Old/src/core/config.d.ts.map +1 -0
  43. package/dist/Old/src/core/index.d.ts +8 -0
  44. package/dist/Old/src/core/index.d.ts.map +1 -0
  45. package/dist/Old/src/core/useCalendarAdapter.d.ts +4 -0
  46. package/dist/Old/src/core/useCalendarAdapter.d.ts.map +1 -0
  47. package/dist/Old/src/core/useCalendarApp.d.ts +3 -0
  48. package/dist/Old/src/core/useCalendarApp.d.ts.map +1 -0
  49. package/dist/Old/src/factories/ViewAdapter.d.ts +5 -0
  50. package/dist/Old/src/factories/ViewAdapter.d.ts.map +1 -0
  51. package/dist/Old/src/factories/createDayView.d.ts +12 -0
  52. package/dist/Old/src/factories/createDayView.d.ts.map +1 -0
  53. package/dist/Old/src/factories/createMonthView.d.ts +16 -0
  54. package/dist/Old/src/factories/createMonthView.d.ts.map +1 -0
  55. package/dist/Old/src/factories/createWeekView.d.ts +15 -0
  56. package/dist/Old/src/factories/createWeekView.d.ts.map +1 -0
  57. package/dist/Old/src/factories/createYearView.d.ts +10 -0
  58. package/dist/Old/src/factories/createYearView.d.ts.map +1 -0
  59. package/dist/Old/src/factories/index.d.ts +18 -0
  60. package/dist/Old/src/factories/index.d.ts.map +1 -0
  61. package/dist/Old/src/hooks/drag/index.d.ts +8 -0
  62. package/dist/Old/src/hooks/drag/index.d.ts.map +1 -0
  63. package/dist/Old/src/hooks/drag/useDrag.d.ts +3 -0
  64. package/dist/Old/src/hooks/drag/useDrag.d.ts.map +1 -0
  65. package/dist/Old/src/hooks/drag/useDragCommon.d.ts +3 -0
  66. package/dist/Old/src/hooks/drag/useDragCommon.d.ts.map +1 -0
  67. package/dist/Old/src/hooks/drag/useDragHandlers.d.ts +3 -0
  68. package/dist/Old/src/hooks/drag/useDragHandlers.d.ts.map +1 -0
  69. package/dist/Old/src/hooks/drag/useDragManager.d.ts +3 -0
  70. package/dist/Old/src/hooks/drag/useDragManager.d.ts.map +1 -0
  71. package/dist/Old/src/hooks/drag/useDragState.d.ts +3 -0
  72. package/dist/Old/src/hooks/drag/useDragState.d.ts.map +1 -0
  73. package/dist/Old/src/hooks/drag/useMonthDrag.d.ts +3 -0
  74. package/dist/Old/src/hooks/drag/useMonthDrag.d.ts.map +1 -0
  75. package/dist/Old/src/hooks/drag/useWeekDayDrag.d.ts +3 -0
  76. package/dist/Old/src/hooks/drag/useWeekDayDrag.d.ts.map +1 -0
  77. package/dist/Old/src/hooks/virtualScroll/index.d.ts +3 -0
  78. package/dist/Old/src/hooks/virtualScroll/index.d.ts.map +1 -0
  79. package/dist/Old/src/hooks/virtualScroll/useVirtualMonthScroll.d.ts +8 -0
  80. package/dist/Old/src/hooks/virtualScroll/useVirtualMonthScroll.d.ts.map +1 -0
  81. package/dist/Old/src/hooks/virtualScroll/useVirtualScroll.d.ts +49 -0
  82. package/dist/Old/src/hooks/virtualScroll/useVirtualScroll.d.ts.map +1 -0
  83. package/dist/Old/src/plugins/dragPlugin.d.ts +6 -0
  84. package/dist/Old/src/plugins/dragPlugin.d.ts.map +1 -0
  85. package/dist/Old/src/plugins/eventsPlugin.d.ts +4 -0
  86. package/dist/Old/src/plugins/eventsPlugin.d.ts.map +1 -0
  87. package/dist/Old/src/plugins/index.d.ts +7 -0
  88. package/dist/Old/src/plugins/index.d.ts.map +1 -0
  89. package/dist/Old/src/types/calendar.d.ts +27 -0
  90. package/dist/Old/src/types/calendar.d.ts.map +1 -0
  91. package/dist/Old/src/types/config.d.ts +20 -0
  92. package/dist/Old/src/types/config.d.ts.map +1 -0
  93. package/dist/Old/src/types/core.d.ts +148 -0
  94. package/dist/Old/src/types/core.d.ts.map +1 -0
  95. package/dist/Old/src/types/dragIndicator.d.ts +141 -0
  96. package/dist/Old/src/types/dragIndicator.d.ts.map +1 -0
  97. package/dist/Old/src/types/event.d.ts +27 -0
  98. package/dist/Old/src/types/event.d.ts.map +1 -0
  99. package/dist/Old/src/types/factory.d.ts +148 -0
  100. package/dist/Old/src/types/factory.d.ts.map +1 -0
  101. package/dist/Old/src/types/hook.d.ts +104 -0
  102. package/dist/Old/src/types/hook.d.ts.map +1 -0
  103. package/dist/Old/src/types/index.d.ts +11 -0
  104. package/dist/Old/src/types/index.d.ts.map +1 -0
  105. package/dist/Old/src/types/layout.d.ts +114 -0
  106. package/dist/Old/src/types/layout.d.ts.map +1 -0
  107. package/dist/Old/src/types/monthView.d.ts +62 -0
  108. package/dist/Old/src/types/monthView.d.ts.map +1 -0
  109. package/dist/Old/src/types/plugin.d.ts +78 -0
  110. package/dist/Old/src/types/plugin.d.ts.map +1 -0
  111. package/dist/Old/src/utils/dateFormat.d.ts +15 -0
  112. package/dist/Old/src/utils/dateFormat.d.ts.map +1 -0
  113. package/dist/Old/src/utils/helpers.d.ts +89 -0
  114. package/dist/Old/src/utils/helpers.d.ts.map +1 -0
  115. package/dist/Old/src/utils/index.d.ts +3 -0
  116. package/dist/Old/src/utils/index.d.ts.map +1 -0
  117. package/dist/Old/src/views/DayView.d.ts +8 -0
  118. package/dist/Old/src/views/DayView.d.ts.map +1 -0
  119. package/dist/Old/src/views/MonthView.d.ts +8 -0
  120. package/dist/Old/src/views/MonthView.d.ts.map +1 -0
  121. package/dist/Old/src/views/WeekView.d.ts +8 -0
  122. package/dist/Old/src/views/WeekView.d.ts.map +1 -0
  123. package/dist/Old/src/views/YearView.d.ts +8 -0
  124. package/dist/Old/src/views/YearView.d.ts.map +1 -0
  125. package/dist/Old/useVirtualMonthScroll.d.ts +8 -0
  126. package/dist/Old/useVirtualMonthScroll.d.ts.map +1 -0
  127. package/dist/components/EventLayout.d.ts +134 -0
  128. package/dist/components/EventLayout.d.ts.map +1 -0
  129. package/dist/components/common/ColorPicker.d.ts +17 -0
  130. package/dist/components/common/ColorPicker.d.ts.map +1 -0
  131. package/dist/components/common/DefaultEventDetailDialog.d.ts +9 -0
  132. package/dist/components/common/DefaultEventDetailDialog.d.ts.map +1 -0
  133. package/dist/components/common/DefaultEventDetailPanel.d.ts +8 -0
  134. package/dist/components/common/DefaultEventDetailPanel.d.ts.map +1 -0
  135. package/dist/components/common/EventDetailPanelWithContent.d.ts +12 -0
  136. package/dist/components/common/EventDetailPanelWithContent.d.ts.map +1 -0
  137. package/dist/components/common/RangePicker.d.ts +24 -0
  138. package/dist/components/common/RangePicker.d.ts.map +1 -0
  139. package/dist/components/common/TodayBox.d.ts +8 -0
  140. package/dist/components/common/TodayBox.d.ts.map +1 -0
  141. package/dist/components/common/ViewHeader.d.ts +28 -0
  142. package/dist/components/common/ViewHeader.d.ts.map +1 -0
  143. package/dist/components/common/ViewSwitcher.d.ts +9 -0
  144. package/dist/components/common/ViewSwitcher.d.ts.map +1 -0
  145. package/dist/components/monthView/MonthDragIndicator.d.ts +13 -0
  146. package/dist/components/monthView/MonthDragIndicator.d.ts.map +1 -0
  147. package/dist/components/monthView/MultiDayEvent.d.ts +26 -0
  148. package/dist/components/monthView/MultiDayEvent.d.ts.map +1 -0
  149. package/dist/components/monthView/WeekComponent.d.ts +46 -0
  150. package/dist/components/monthView/WeekComponent.d.ts.map +1 -0
  151. package/dist/components/monthView/util.d.ts +12 -0
  152. package/dist/components/monthView/util.d.ts.map +1 -0
  153. package/dist/components/sidebar/DefaultCalendarSidebar.d.ts +5 -0
  154. package/dist/components/sidebar/DefaultCalendarSidebar.d.ts.map +1 -0
  155. package/dist/components/weekView/CalendarEvent.d.ts +43 -0
  156. package/dist/components/weekView/CalendarEvent.d.ts.map +1 -0
  157. package/dist/components/weekView/DragIndicator/DefaultDragIndicator.d.ts +3 -0
  158. package/dist/components/weekView/DragIndicator/DefaultDragIndicator.d.ts.map +1 -0
  159. package/dist/components/weekView/DragIndicator/DragIndicatorComponent.d.ts +8 -0
  160. package/dist/components/weekView/DragIndicator/DragIndicatorComponent.d.ts.map +1 -0
  161. package/dist/core/CalendarApp.d.ts +43 -0
  162. package/dist/core/CalendarApp.d.ts.map +1 -0
  163. package/dist/core/CalendarRenderer.d.ts +15 -0
  164. package/dist/core/CalendarRenderer.d.ts.map +1 -0
  165. package/dist/core/DayFlowCalendar.d.ts +15 -0
  166. package/dist/core/DayFlowCalendar.d.ts.map +1 -0
  167. package/dist/core/calendarRegistry.d.ts +104 -0
  168. package/dist/core/calendarRegistry.d.ts.map +1 -0
  169. package/dist/core/config.d.ts +61 -0
  170. package/dist/core/config.d.ts.map +1 -0
  171. package/dist/core/index.d.ts +7 -0
  172. package/dist/core/index.d.ts.map +1 -0
  173. package/dist/core/useCalendarAdapter.d.ts +4 -0
  174. package/dist/core/useCalendarAdapter.d.ts.map +1 -0
  175. package/dist/core/useCalendarApp.d.ts +3 -0
  176. package/dist/core/useCalendarApp.d.ts.map +1 -0
  177. package/dist/factories/ViewAdapter.d.ts +5 -0
  178. package/dist/factories/ViewAdapter.d.ts.map +1 -0
  179. package/dist/factories/createDayView.d.ts +12 -0
  180. package/dist/factories/createDayView.d.ts.map +1 -0
  181. package/dist/factories/createMonthView.d.ts +16 -0
  182. package/dist/factories/createMonthView.d.ts.map +1 -0
  183. package/dist/factories/createWeekView.d.ts +15 -0
  184. package/dist/factories/createWeekView.d.ts.map +1 -0
  185. package/dist/factories/createYearView.d.ts +10 -0
  186. package/dist/factories/createYearView.d.ts.map +1 -0
  187. package/dist/factories/index.d.ts +18 -0
  188. package/dist/factories/index.d.ts.map +1 -0
  189. package/dist/hooks/drag/index.d.ts +8 -0
  190. package/dist/hooks/drag/index.d.ts.map +1 -0
  191. package/dist/hooks/drag/useDrag.d.ts +3 -0
  192. package/dist/hooks/drag/useDrag.d.ts.map +1 -0
  193. package/dist/hooks/drag/useDragCommon.d.ts +3 -0
  194. package/dist/hooks/drag/useDragCommon.d.ts.map +1 -0
  195. package/dist/hooks/drag/useDragHandlers.d.ts +3 -0
  196. package/dist/hooks/drag/useDragHandlers.d.ts.map +1 -0
  197. package/dist/hooks/drag/useDragManager.d.ts +3 -0
  198. package/dist/hooks/drag/useDragManager.d.ts.map +1 -0
  199. package/dist/hooks/drag/useDragState.d.ts +3 -0
  200. package/dist/hooks/drag/useDragState.d.ts.map +1 -0
  201. package/dist/hooks/drag/useMonthDrag.d.ts +3 -0
  202. package/dist/hooks/drag/useMonthDrag.d.ts.map +1 -0
  203. package/dist/hooks/drag/useWeekDayDrag.d.ts +3 -0
  204. package/dist/hooks/drag/useWeekDayDrag.d.ts.map +1 -0
  205. package/dist/hooks/useEventCreator.d.ts +63 -0
  206. package/dist/hooks/useEventCreator.d.ts.map +1 -0
  207. package/dist/hooks/virtualScroll/index.d.ts +3 -0
  208. package/dist/hooks/virtualScroll/index.d.ts.map +1 -0
  209. package/dist/hooks/virtualScroll/useVirtualMonthScroll.d.ts +8 -0
  210. package/dist/hooks/virtualScroll/useVirtualMonthScroll.d.ts.map +1 -0
  211. package/dist/hooks/virtualScroll/useVirtualScroll.d.ts +49 -0
  212. package/dist/hooks/virtualScroll/useVirtualScroll.d.ts.map +1 -0
  213. package/dist/index.d.ts +35 -0
  214. package/dist/index.d.ts.map +1 -0
  215. package/dist/index.esm.js +125 -0
  216. package/dist/index.esm.js.map +1 -0
  217. package/dist/index.js +126 -0
  218. package/dist/index.js.map +1 -0
  219. package/dist/plugins/dragPlugin.d.ts +6 -0
  220. package/dist/plugins/dragPlugin.d.ts.map +1 -0
  221. package/dist/plugins/eventsPlugin.d.ts +4 -0
  222. package/dist/plugins/eventsPlugin.d.ts.map +1 -0
  223. package/dist/plugins/index.d.ts +7 -0
  224. package/dist/plugins/index.d.ts.map +1 -0
  225. package/dist/setupTests.d.ts +2 -0
  226. package/dist/setupTests.d.ts.map +1 -0
  227. package/dist/styles/calendarClassNames.d.ts +155 -0
  228. package/dist/styles/calendarClassNames.d.ts.map +1 -0
  229. package/dist/styles/classNames.d.ts +297 -0
  230. package/dist/styles/classNames.d.ts.map +1 -0
  231. package/dist/styles.css +1 -0
  232. package/dist/types/calendar.d.ts +27 -0
  233. package/dist/types/calendar.d.ts.map +1 -0
  234. package/dist/types/calendarTypes.d.ts +69 -0
  235. package/dist/types/calendarTypes.d.ts.map +1 -0
  236. package/dist/types/config.d.ts +20 -0
  237. package/dist/types/config.d.ts.map +1 -0
  238. package/dist/types/core.d.ts +192 -0
  239. package/dist/types/core.d.ts.map +1 -0
  240. package/dist/types/dragIndicator.d.ts +155 -0
  241. package/dist/types/dragIndicator.d.ts.map +1 -0
  242. package/dist/types/event.d.ts +17 -0
  243. package/dist/types/event.d.ts.map +1 -0
  244. package/dist/types/eventDetail.d.ts +73 -0
  245. package/dist/types/eventDetail.d.ts.map +1 -0
  246. package/dist/types/factory.d.ts +154 -0
  247. package/dist/types/factory.d.ts.map +1 -0
  248. package/dist/types/hook.d.ts +104 -0
  249. package/dist/types/hook.d.ts.map +1 -0
  250. package/dist/types/index.d.ts +13 -0
  251. package/dist/types/index.d.ts.map +1 -0
  252. package/dist/types/layout.d.ts +114 -0
  253. package/dist/types/layout.d.ts.map +1 -0
  254. package/dist/types/monthView.d.ts +64 -0
  255. package/dist/types/monthView.d.ts.map +1 -0
  256. package/dist/types/plugin.d.ts +78 -0
  257. package/dist/types/plugin.d.ts.map +1 -0
  258. package/dist/utils/calendarDataUtils.d.ts +84 -0
  259. package/dist/utils/calendarDataUtils.d.ts.map +1 -0
  260. package/dist/utils/colorResolver.d.ts +33 -0
  261. package/dist/utils/colorResolver.d.ts.map +1 -0
  262. package/dist/utils/colorUtils.d.ts +27 -0
  263. package/dist/utils/colorUtils.d.ts.map +1 -0
  264. package/dist/utils/compat.d.ts +60 -0
  265. package/dist/utils/compat.d.ts.map +1 -0
  266. package/dist/utils/dateConstants.d.ts +23 -0
  267. package/dist/utils/dateConstants.d.ts.map +1 -0
  268. package/dist/utils/dateFormat.d.ts +16 -0
  269. package/dist/utils/dateFormat.d.ts.map +1 -0
  270. package/dist/utils/dateRangeUtils.d.ts +25 -0
  271. package/dist/utils/dateRangeUtils.d.ts.map +1 -0
  272. package/dist/utils/dateTimeUtils.d.ts +50 -0
  273. package/dist/utils/dateTimeUtils.d.ts.map +1 -0
  274. package/dist/utils/eventHelpers.d.ts +144 -0
  275. package/dist/utils/eventHelpers.d.ts.map +1 -0
  276. package/dist/utils/eventUtils.d.ts +109 -0
  277. package/dist/utils/eventUtils.d.ts.map +1 -0
  278. package/dist/utils/helpers.d.ts +27 -0
  279. package/dist/utils/helpers.d.ts.map +1 -0
  280. package/dist/utils/index.d.ts +7 -0
  281. package/dist/utils/index.d.ts.map +1 -0
  282. package/dist/utils/logger.d.ts +16 -0
  283. package/dist/utils/logger.d.ts.map +1 -0
  284. package/dist/utils/rangePicker.d.ts +9 -0
  285. package/dist/utils/rangePicker.d.ts.map +1 -0
  286. package/dist/utils/temporal.d.ts +101 -0
  287. package/dist/utils/temporal.d.ts.map +1 -0
  288. package/dist/utils/temporalTypeGuards.d.ts +64 -0
  289. package/dist/utils/temporalTypeGuards.d.ts.map +1 -0
  290. package/dist/utils/testDataUtils.d.ts +15 -0
  291. package/dist/utils/testDataUtils.d.ts.map +1 -0
  292. package/dist/utils/timeUtils.d.ts +39 -0
  293. package/dist/utils/timeUtils.d.ts.map +1 -0
  294. package/dist/utils/utilityFunctions.d.ts +12 -0
  295. package/dist/utils/utilityFunctions.d.ts.map +1 -0
  296. package/dist/views/DayView.d.ts +14 -0
  297. package/dist/views/DayView.d.ts.map +1 -0
  298. package/dist/views/MonthView.d.ts +14 -0
  299. package/dist/views/MonthView.d.ts.map +1 -0
  300. package/dist/views/WeekView.d.ts +14 -0
  301. package/dist/views/WeekView.d.ts.map +1 -0
  302. package/dist/views/YearView.d.ts +8 -0
  303. package/dist/views/YearView.d.ts.map +1 -0
  304. package/package.json +94 -0
@@ -0,0 +1,43 @@
1
+ import React from 'react';
2
+ import { CalendarApp as ICalendarApp, CalendarAppConfig, CalendarAppState, CalendarView, ViewType, SidebarConfig, CalendarType } from '@/types';
3
+ import { Event } from '@/types';
4
+ import { CalendarRegistry } from './calendarRegistry';
5
+ export declare class CalendarApp implements ICalendarApp {
6
+ state: CalendarAppState;
7
+ private callbacks;
8
+ private calendarRegistry;
9
+ private sidebarConfig;
10
+ private visibleMonth;
11
+ private useEventDetailDialog;
12
+ constructor(config: CalendarAppConfig);
13
+ changeView: (view: ViewType) => void;
14
+ getCurrentView: () => CalendarView;
15
+ setCurrentDate: (date: Date) => void;
16
+ getCurrentDate: () => Date;
17
+ setVisibleMonth: (date: Date) => void;
18
+ getVisibleMonth: () => Date;
19
+ goToToday: () => void;
20
+ goToPrevious: () => void;
21
+ goToNext: () => void;
22
+ selectDate: (date: Date) => void;
23
+ addEvent: (event: Event) => void;
24
+ updateEvent: (id: string, eventUpdate: Partial<Event>, isPending?: boolean) => void;
25
+ deleteEvent: (id: string) => void;
26
+ getAllEvents: () => Event[];
27
+ getEvents: () => Event[];
28
+ getCalendars: () => CalendarType[];
29
+ setCalendarVisibility: (calendarId: string, visible: boolean) => void;
30
+ setAllCalendarsVisibility: (visible: boolean) => void;
31
+ getSidebarConfig: () => SidebarConfig;
32
+ private installPlugin;
33
+ getPlugin: <T = unknown>(name: string) => T | undefined;
34
+ hasPlugin: (name: string) => boolean;
35
+ render: () => React.ReactElement;
36
+ getPluginConfig: (pluginName: string) => Record<string, unknown>;
37
+ updatePluginConfig: (pluginName: string, config: Record<string, unknown>) => void;
38
+ getViewConfig: (viewType: ViewType) => Record<string, unknown>;
39
+ triggerRender: () => void;
40
+ getCalendarRegistry: () => CalendarRegistry;
41
+ getUseEventDetailDialog: () => boolean;
42
+ }
43
+ //# sourceMappingURL=CalendarApp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CalendarApp.d.ts","sourceRoot":"","sources":["../../src/core/CalendarApp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,WAAW,IAAI,YAAY,EAC3B,iBAAiB,EACjB,gBAAgB,EAEhB,YAAY,EACZ,QAAQ,EAER,aAAa,EACb,YAAY,EACb,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EACL,gBAAgB,EAEjB,MAAM,oBAAoB,CAAC;AA4C5B,qBAAa,WAAY,YAAW,YAAY;IACvC,KAAK,EAAE,gBAAgB,CAAC;IAC/B,OAAO,CAAC,SAAS,CAAoB;IACrC,OAAO,CAAC,gBAAgB,CAAmB;IAC3C,OAAO,CAAC,aAAa,CAAgB;IACrC,OAAO,CAAC,YAAY,CAAO;IAC3B,OAAO,CAAC,oBAAoB,CAAU;gBAE1B,MAAM,EAAE,iBAAiB;IAwCrC,UAAU,GAAI,MAAM,QAAQ,KAAG,IAAI,CAOjC;IAEF,cAAc,QAAO,YAAY,CAQ/B;IAGF,cAAc,GAAI,MAAM,IAAI,KAAG,IAAI,CAIjC;IAEF,cAAc,QAAO,IAAI,CAEvB;IAEF,eAAe,GAAI,MAAM,IAAI,KAAG,IAAI,CAclC;IAEF,eAAe,QAAO,IAAI,CAExB;IAEF,SAAS,QAAO,IAAI,CAElB;IAEF,YAAY,QAAO,IAAI,CAcrB;IAEF,QAAQ,QAAO,IAAI,CAcjB;IAGF,UAAU,GAAI,MAAM,IAAI,KAAG,IAAI,CAG7B;IAGF,QAAQ,GAAI,OAAO,KAAK,KAAG,IAAI,CAG7B;IAEF,WAAW,GACT,IAAI,MAAM,EACV,aAAa,OAAO,CAAC,KAAK,CAAC,EAC3B,YAAY,OAAO,KAClB,IAAI,CAeL;IAEF,WAAW,GAAI,IAAI,MAAM,KAAG,IAAI,CAY9B;IAEF,YAAY,QAAO,KAAK,EAAE,CAExB;IAEF,SAAS,QAAO,KAAK,EAAE,CAoBrB;IAEF,YAAY,QAAO,YAAY,EAAE,CAE/B;IAEF,qBAAqB,GAAI,YAAY,MAAM,EAAE,SAAS,OAAO,KAAG,IAAI,CAGlE;IAEF,yBAAyB,GAAI,SAAS,OAAO,KAAG,IAAI,CAGlD;IAEF,gBAAgB,QAAO,aAAa,CAElC;IAGF,OAAO,CAAC,aAAa,CAQnB;IAEF,SAAS,GAAI,CAAC,GAAG,OAAO,EAAE,MAAM,MAAM,KAAG,CAAC,GAAG,SAAS,CAGpD;IAEF,SAAS,GAAI,MAAM,MAAM,KAAG,OAAO,CAEjC;IAGF,MAAM,QAAO,KAAK,CAAC,YAAY,CAM7B;IAGF,eAAe,GAAI,YAAY,MAAM,KAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAG7D;IAGF,kBAAkB,GAChB,YAAY,MAAM,EAClB,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC9B,IAAI,CAKL;IAGF,aAAa,GAAI,UAAU,QAAQ,KAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAG3D;IAGF,aAAa,QAAO,IAAI,CAEtB;IAGF,mBAAmB,QAAO,gBAAgB,CAExC;IAGF,uBAAuB,QAAO,OAAO,CAEnC;CACH"}
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { CalendarApp, EventDetailContentRenderer, EventDetailDialogRenderer } from '@/types';
3
+ interface CalendarRendererProps {
4
+ calendar: CalendarApp;
5
+ className?: string;
6
+ style?: React.CSSProperties | undefined;
7
+ /** 自定义事件详情内容组件(仅内容,会被包装在默认面板中) */
8
+ customDetailPanelContent?: EventDetailContentRenderer;
9
+ /** 自定义事件详情对话框组件(Dialog 模式) */
10
+ customEventDetailDialog?: EventDetailDialogRenderer;
11
+ meta?: Record<string, any>;
12
+ }
13
+ export declare const CalendarRenderer: React.FC<CalendarRendererProps>;
14
+ export default CalendarRenderer;
15
+ //# sourceMappingURL=CalendarRenderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CalendarRenderer.d.ts","sourceRoot":"","sources":["../../src/core/CalendarRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AACjF,OAAO,EACL,WAAW,EACX,0BAA0B,EAC1B,yBAAyB,EAC1B,MAAM,SAAS,CAAC;AAiBjB,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,WAAW,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,SAAS,CAAC;IACxC,kCAAkC;IAClC,wBAAwB,CAAC,EAAE,0BAA0B,CAAC;IACtD,8BAA8B;IAC9B,uBAAuB,CAAC,EAAE,yBAAyB,CAAC;IACpD,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC5B;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAkH5D,CAAC;AAGF,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { EventDetailContentRenderer, EventDetailDialogRenderer, UseCalendarAppReturn } from '@/types';
3
+ interface DayFlowCalendarProps {
4
+ calendar: UseCalendarAppReturn;
5
+ className?: string;
6
+ style?: React.CSSProperties | undefined;
7
+ /** Custom event detail content component (content only, will be wrapped in default panel) */
8
+ customDetailPanelContent?: EventDetailContentRenderer;
9
+ /** Custom event detail dialog component (Dialog mode) */
10
+ customEventDetailDialog?: EventDetailDialogRenderer;
11
+ meta?: Record<string, any>;
12
+ }
13
+ export declare const DayFlowCalendar: React.FC<DayFlowCalendarProps>;
14
+ export default DayFlowCalendar;
15
+ //# sourceMappingURL=DayFlowCalendar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DayFlowCalendar.d.ts","sourceRoot":"","sources":["../../src/core/DayFlowCalendar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AACjF,OAAO,EACL,0BAA0B,EAC1B,yBAAyB,EACzB,oBAAoB,EACrB,MAAM,SAAS,CAAC;AAiBjB,UAAU,oBAAoB;IAC5B,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,SAAS,CAAC;IACxC,6FAA6F;IAC7F,wBAAwB,CAAC,EAAE,0BAA0B,CAAC;IACtD,yDAAyD;IACzD,uBAAuB,CAAC,EAAE,yBAAyB,CAAC;IACpD,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC5B;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAmH1D,CAAC;AAGF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,104 @@
1
+ import { CalendarType, ThemeMode, CalendarColors } from '@/types/calendarTypes';
2
+ /**
3
+ * Default calendar types
4
+ */
5
+ export declare const DEFAULT_CALENDAR_TYPES: CalendarType[];
6
+ /**
7
+ * Calendar Registry
8
+ * Manages calendar types and provides color resolution
9
+ */
10
+ export declare class CalendarRegistry {
11
+ private calendars;
12
+ private defaultCalendarId;
13
+ private currentTheme;
14
+ constructor(customCalendars?: CalendarType[], defaultCalendarId?: string, theme?: ThemeMode);
15
+ /**
16
+ * Register a new calendar type
17
+ */
18
+ register(calendar: CalendarType): void;
19
+ /**
20
+ * Unregister a calendar type
21
+ */
22
+ unregister(calendarId: string): boolean;
23
+ /**
24
+ * Get a calendar type by ID
25
+ */
26
+ get(calendarId: string): CalendarType | undefined;
27
+ /**
28
+ * Get all calendar types
29
+ */
30
+ getAll(): CalendarType[];
31
+ /**
32
+ * Get visible calendar types
33
+ */
34
+ getVisible(): CalendarType[];
35
+ /**
36
+ * Check if a calendar exists
37
+ */
38
+ has(calendarId: string): boolean;
39
+ /**
40
+ * Update visibility of a specific calendar type
41
+ */
42
+ setVisibility(calendarId: string, visible: boolean): void;
43
+ /**
44
+ * Update visibility for all calendar types
45
+ */
46
+ setAllVisibility(visible: boolean): void;
47
+ /**
48
+ * Set the default calendar ID
49
+ */
50
+ setDefaultCalendar(calendarId: string): void;
51
+ /**
52
+ * Get the default calendar ID
53
+ */
54
+ getDefaultCalendarId(): string;
55
+ /**
56
+ * Get the default calendar type
57
+ */
58
+ getDefaultCalendar(): CalendarType;
59
+ /**
60
+ * Set the current theme
61
+ */
62
+ setTheme(theme: ThemeMode): void;
63
+ /**
64
+ * Get the current theme
65
+ */
66
+ getTheme(): ThemeMode;
67
+ /**
68
+ * Resolve colors for a calendar ID based on current theme
69
+ */
70
+ resolveColors(calendarId?: string, theme?: ThemeMode): CalendarColors;
71
+ /**
72
+ * Get selected background color
73
+ */
74
+ getSelectedBgColor(calendarId?: string, theme?: ThemeMode): string;
75
+ /**
76
+ * Get line color
77
+ */
78
+ getLineColor(calendarId?: string, theme?: ThemeMode): string;
79
+ /**
80
+ * Get text color
81
+ */
82
+ getTextColor(calendarId?: string, theme?: ThemeMode): string;
83
+ /**
84
+ * Check if the current theme is dark
85
+ */
86
+ private isDarkTheme;
87
+ /**
88
+ * Validate calendar configuration
89
+ */
90
+ validate(calendar: Partial<CalendarType>): string[];
91
+ }
92
+ /**
93
+ * Get the default calendar registry
94
+ * Used internally by helper functions for color resolution
95
+ * @internal
96
+ */
97
+ export declare function getDefaultCalendarRegistry(): CalendarRegistry;
98
+ /**
99
+ * Set the default calendar registry
100
+ * Used internally by CalendarApp to sync its registry with the global default
101
+ * @internal
102
+ */
103
+ export declare function setDefaultCalendarRegistry(registry: CalendarRegistry): void;
104
+ //# sourceMappingURL=calendarRegistry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendarRegistry.d.ts","sourceRoot":"","sources":["../../src/core/calendarRegistry.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEhF;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,YAAY,EA2KhD,CAAC;AAEF;;;GAGG;AACH,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,SAAS,CAA4B;IAC7C,OAAO,CAAC,iBAAiB,CAAS;IAClC,OAAO,CAAC,YAAY,CAAY;gBAG9B,eAAe,CAAC,EAAE,YAAY,EAAE,EAChC,iBAAiB,CAAC,EAAE,MAAM,EAC1B,KAAK,GAAE,SAAmB;IA0B5B;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,YAAY,GAAG,IAAI;IAItC;;OAEG;IACH,UAAU,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO;IAIvC;;OAEG;IACH,GAAG,CAAC,UAAU,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS;IAIjD;;OAEG;IACH,MAAM,IAAI,YAAY,EAAE;IAIxB;;OAEG;IACH,UAAU,IAAI,YAAY,EAAE;IAI5B;;OAEG;IACH,GAAG,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO;IAIhC;;OAEG;IACH,aAAa,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI;IAUzD;;OAEG;IACH,gBAAgB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI;IASxC;;OAEG;IACH,kBAAkB,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI;IAO5C;;OAEG;IACH,oBAAoB,IAAI,MAAM;IAI9B;;OAEG;IACH,kBAAkB,IAAI,YAAY;IASlC;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI;IAIhC;;OAEG;IACH,QAAQ,IAAI,SAAS;IAIrB;;OAEG;IACH,aAAa,CAAC,UAAU,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,SAAS,GAAG,cAAc;IAsBrE;;OAEG;IACH,kBAAkB,CAAC,UAAU,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,SAAS,GAAG,MAAM;IAKlE;;OAEG;IACH,YAAY,CAAC,UAAU,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,SAAS,GAAG,MAAM;IAK5D;;OAEG;IACH,YAAY,CAAC,UAAU,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,SAAS,GAAG,MAAM;IAK5D;;OAEG;IACH,OAAO,CAAC,WAAW;IAYnB;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,YAAY,CAAC,GAAG,MAAM,EAAE;CA8BpD;AASD;;;;GAIG;AACH,wBAAgB,0BAA0B,IAAI,gBAAgB,CAE7D;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,QAAQ,EAAE,gBAAgB,GAAG,IAAI,CAE3E"}
@@ -0,0 +1,61 @@
1
+ import { CalendarConfig } from '@/types';
2
+ export declare const defaultDragConfig: {
3
+ HOUR_HEIGHT: number;
4
+ FIRST_HOUR: number;
5
+ LAST_HOUR: number;
6
+ MIN_DURATION: number;
7
+ TIME_COLUMN_WIDTH: number;
8
+ ALL_DAY_HEIGHT: number;
9
+ getLineColor: (color: string) => string;
10
+ getDynamicPadding: (drag: {
11
+ endHour: number;
12
+ startHour: number;
13
+ }) => "p-1" | "px-1 py-0";
14
+ };
15
+ export declare const defaultViewConfigs: {
16
+ day: {
17
+ showWeekends: boolean;
18
+ showAllDay: boolean;
19
+ scrollToCurrentTime: boolean;
20
+ };
21
+ week: {
22
+ showWeekends: boolean;
23
+ showAllDay: boolean;
24
+ startOfWeek: number;
25
+ scrollToCurrentTime: boolean;
26
+ };
27
+ month: {
28
+ showWeekends: boolean;
29
+ showAllDay: boolean;
30
+ showOtherMonth: boolean;
31
+ weekHeight: number;
32
+ };
33
+ };
34
+ export declare const defaultCalendarConfig: CalendarConfig;
35
+ export declare function deepMerge<T extends Record<string, any>>(target: T, ...sources: Partial<T>[]): T;
36
+ export declare function createCalendarConfig(overrides?: Partial<CalendarConfig>): CalendarConfig;
37
+ export declare function createDragConfig(overrides?: Partial<typeof defaultDragConfig>): any;
38
+ export declare function createViewConfig(viewType: 'day' | 'week' | 'month', overrides?: Record<string, any>): any;
39
+ export declare function validateCalendarConfig(config: Partial<CalendarConfig>): string[];
40
+ export declare class ConfigManager {
41
+ private config;
42
+ constructor(initialConfig?: Partial<CalendarConfig>);
43
+ getConfig(): CalendarConfig;
44
+ getDragConfig(): {
45
+ HOUR_HEIGHT: number;
46
+ FIRST_HOUR: number;
47
+ LAST_HOUR: number;
48
+ MIN_DURATION: number;
49
+ TIME_COLUMN_WIDTH: number;
50
+ ALL_DAY_HEIGHT: number;
51
+ getLineColor: (color: string) => string;
52
+ getDynamicPadding: (drag: {
53
+ endHour: number;
54
+ startHour: number;
55
+ }) => string;
56
+ };
57
+ getViewConfig(viewType: 'day' | 'week' | 'month'): Record<string, unknown>;
58
+ updateConfig(updates: Partial<CalendarConfig>): void;
59
+ resetConfig(newConfig?: Partial<CalendarConfig>): void;
60
+ }
61
+ //# sourceMappingURL=config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/core/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,eAAO,MAAM,iBAAiB;;;;;;;0BAQN,MAAM;8BAeF;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE;CAIjE,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;CAkB9B,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,cAGnC,CAAC;AAGF,wBAAgB,SAAS,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACrD,MAAM,EAAE,CAAC,EACT,GAAG,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,GACvB,CAAC,CAiBH;AAQD,wBAAgB,oBAAoB,CAClC,SAAS,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,GAClC,cAAc,CAKhB;AAED,wBAAgB,gBAAgB,CAC9B,SAAS,CAAC,EAAE,OAAO,CAAC,OAAO,iBAAiB,CAAC,OAM9C;AAED,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,KAAK,GAAG,MAAM,GAAG,OAAO,EAElC,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,OAIhC;AAGD,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,OAAO,CAAC,cAAc,CAAC,GAC9B,MAAM,EAAE,CAsCV;AAED,qBAAa,aAAa;IACxB,OAAO,CAAC,MAAM,CAAiB;gBAEnB,aAAa,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC;IAInD,SAAS,IAAI,cAAc;IAI3B,aAAa;;;;;;;;;;;;;IAIb,aAAa,CAAC,QAAQ,EAAE,KAAK,GAAG,MAAM,GAAG,OAAO;IAIhD,YAAY,CAAC,OAAO,EAAE,OAAO,CAAC,cAAc,CAAC,GAAG,IAAI;IAQpD,WAAW,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,GAAG,IAAI;CAGvD"}
@@ -0,0 +1,7 @@
1
+ export * from './useCalendarApp';
2
+ export * from './config';
3
+ export * from './DayFlowCalendar';
4
+ export { CalendarApp } from './CalendarApp';
5
+ export { ViewType } from '@/types';
6
+ export type { CalendarPlugin, CalendarView, CalendarCallbacks, CalendarAppConfig, CalendarAppState, CalendarApp as ICalendarApp, UseCalendarAppReturn, CalendarConfig, } from '@/types';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AACA,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAElC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEnC,YAAY,EACV,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,WAAW,IAAI,YAAY,EAC3B,oBAAoB,EACpB,cAAc,GACf,MAAM,SAAS,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { ViewType } from '@/types';
2
+ import { UseCalendarReturn } from '@/types';
3
+ export declare const useCalendarAdapter: (initialView?: ViewType) => UseCalendarReturn;
4
+ //# sourceMappingURL=useCalendarAdapter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCalendarAdapter.d.ts","sourceRoot":"","sources":["../../src/core/useCalendarAdapter.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,iBAAiB,EAAS,MAAM,SAAS,CAAC;AAGnD,eAAO,MAAM,kBAAkB,GAC7B,cAAa,QAAwB,KACpC,iBA8DF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { CalendarAppConfig, UseCalendarAppReturn } from '@/types';
2
+ export declare function useCalendarApp(config: CalendarAppConfig): UseCalendarAppReturn;
3
+ //# sourceMappingURL=useCalendarApp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCalendarApp.d.ts","sourceRoot":"","sources":["../../src/core/useCalendarApp.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAY,MAAM,SAAS,CAAC;AAG5E,wBAAgB,cAAc,CAC5B,MAAM,EAAE,iBAAiB,GACxB,oBAAoB,CAwLtB"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { ViewAdapterProps } from '@/types';
3
+ export declare const ViewAdapter: React.FC<ViewAdapterProps>;
4
+ export default ViewAdapter;
5
+ //# sourceMappingURL=ViewAdapter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ViewAdapter.d.ts","sourceRoot":"","sources":["../../src/factories/ViewAdapter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAO,EAEL,gBAAgB,EAIjB,MAAM,SAAS,CAAC;AAGjB,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAsMlD,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { CalendarView, DayViewConfig, ViewFactory } from '@/types';
2
+ export declare const createDayView: ViewFactory<DayViewConfig>;
3
+ export declare function createDayViewConfig(overrides?: Partial<DayViewConfig>): DayViewConfig;
4
+ export declare const dayViewPresets: {
5
+ standard: () => CalendarView;
6
+ compact: () => CalendarView;
7
+ workHours: () => CalendarView;
8
+ readOnly: () => CalendarView;
9
+ dense: () => CalendarView;
10
+ };
11
+ export default createDayView;
12
+ //# sourceMappingURL=createDayView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createDayView.d.ts","sourceRoot":"","sources":["../../src/factories/createDayView.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,YAAY,EACZ,aAAa,EAEb,WAAW,EAEZ,MAAM,SAAS,CAAC;AAuCjB,eAAO,MAAM,aAAa,EAAE,WAAW,CAAC,aAAa,CA4BpD,CAAC;AAGF,wBAAgB,mBAAmB,CACjC,SAAS,GAAE,OAAO,CAAC,aAAa,CAAM,GACrC,aAAa,CAEf;AAGD,eAAO,MAAM,cAAc;oBAEX,YAAY;mBAGb,YAAY;qBAWV,YAAY;oBAYb,YAAY;iBAaf,YAAY;CAQxB,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { MonthViewConfig, ViewFactory, CalendarView } from '@/types';
2
+ export declare const createMonthView: ViewFactory<MonthViewConfig>;
3
+ export declare function createMonthViewConfig(overrides?: Partial<MonthViewConfig>): MonthViewConfig;
4
+ export declare const monthViewPresets: {
5
+ standard: () => CalendarView;
6
+ compact: () => CalendarView;
7
+ dense: () => CalendarView;
8
+ noVirtualScroll: () => CalendarView;
9
+ withWeekNumbers: () => CalendarView;
10
+ readOnly: () => CalendarView;
11
+ large: () => CalendarView;
12
+ quickLoad: () => CalendarView;
13
+ extendedLoad: () => CalendarView;
14
+ };
15
+ export default createMonthView;
16
+ //# sourceMappingURL=createMonthView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createMonthView.d.ts","sourceRoot":"","sources":["../../src/factories/createMonthView.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,eAAe,EAEf,WAAW,EACX,YAAY,EAEb,MAAM,SAAS,CAAC;AAiDjB,eAAO,MAAM,eAAe,EAAE,WAAW,CAAC,eAAe,CA4BxD,CAAC;AAGF,wBAAgB,qBAAqB,CACnC,SAAS,GAAE,OAAO,CAAC,eAAe,CAAM,GACvC,eAAe,CAEjB;AAGD,eAAO,MAAM,gBAAgB;oBAEb,YAAY;mBAGb,YAAY;iBAcd,YAAY;2BAcF,YAAY;2BAYZ,YAAY;oBASnB,YAAY;iBAaf,YAAY;qBAgBR,YAAY;wBAST,YAAY;CAO/B,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { WeekViewConfig, ViewFactory, CalendarView } from '@/types';
2
+ export declare const createWeekView: ViewFactory<WeekViewConfig>;
3
+ export declare function createWeekViewConfig(overrides?: Partial<WeekViewConfig>): WeekViewConfig;
4
+ export declare const weekViewPresets: {
5
+ standard: () => CalendarView;
6
+ workdays: () => CalendarView;
7
+ compact: () => CalendarView;
8
+ workHours: () => CalendarView;
9
+ readOnly: () => CalendarView;
10
+ dense: () => CalendarView;
11
+ sundayFirst: () => CalendarView;
12
+ extended: () => CalendarView;
13
+ };
14
+ export default createWeekView;
15
+ //# sourceMappingURL=createWeekView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createWeekView.d.ts","sourceRoot":"","sources":["../../src/factories/createWeekView.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,cAAc,EACd,WAAW,EAEX,YAAY,EAEb,MAAM,SAAS,CAAC;AA2CjB,eAAO,MAAM,cAAc,EAAE,WAAW,CAAC,cAAc,CA4BtD,CAAC;AAGF,wBAAgB,oBAAoB,CAClC,SAAS,GAAE,OAAO,CAAC,cAAc,CAAM,GACtC,cAAc,CAEhB;AAGD,eAAO,MAAM,eAAe;oBAEZ,YAAY;oBAGZ,YAAY;mBASb,YAAY;qBAWV,YAAY;oBAcb,YAAY;iBAaf,YAAY;uBAWN,YAAY;oBASf,YAAY;CAS3B,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { YearViewConfig, ViewFactory, CalendarView } from '@/types';
2
+ export declare const createYearView: ViewFactory<YearViewConfig>;
3
+ export declare function createYearViewConfig(overrides?: Partial<YearViewConfig>): YearViewConfig;
4
+ export declare const yearViewPresets: {
5
+ standard: () => CalendarView;
6
+ noVirtualScroll: () => CalendarView;
7
+ debug: () => CalendarView;
8
+ };
9
+ export default createYearView;
10
+ //# sourceMappingURL=createYearView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createYearView.d.ts","sourceRoot":"","sources":["../../src/factories/createYearView.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,cAAc,EACd,WAAW,EAEX,YAAY,EAEb,MAAM,SAAS,CAAC;AA6BjB,eAAO,MAAM,cAAc,EAAE,WAAW,CAAC,cAAc,CA2BtD,CAAC;AAGF,wBAAgB,oBAAoB,CAClC,SAAS,GAAE,OAAO,CAAC,cAAc,CAAM,GACtC,cAAc,CAEhB;AAGD,eAAO,MAAM,eAAe;oBAEZ,YAAY;2BAGL,YAAY;iBAStB,YAAY;CAOxB,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,18 @@
1
+ export * from './createDayView';
2
+ export * from './createWeekView';
3
+ export * from './createMonthView';
4
+ export * from './createYearView';
5
+ export type { BaseViewProps, DayViewProps, WeekViewProps, MonthViewProps, ViewFactoryConfig, DayViewConfig, WeekViewConfig, MonthViewConfig, ViewFactory, ViewAdapterProps, } from '@/types';
6
+ export declare function createStandardViews(config?: {
7
+ day?: Partial<import('@/types').DayViewConfig>;
8
+ week?: Partial<import('@/types').WeekViewConfig>;
9
+ month?: Partial<import('@/types').MonthViewConfig>;
10
+ }): import("@/types").CalendarView[];
11
+ export declare const viewPresets: {
12
+ standard: () => import("@/types").CalendarView[];
13
+ business: () => import("@/types").CalendarView[];
14
+ readOnly: () => import("@/types").CalendarView[];
15
+ compact: () => import("@/types").CalendarView[];
16
+ dense: () => import("@/types").CalendarView[];
17
+ };
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/factories/index.ts"],"names":[],"mappings":"AACA,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AAUjC,YAAY,EACV,aAAa,EACb,YAAY,EACZ,aAAa,EACb,cAAc,EACd,iBAAiB,EACjB,aAAa,EACb,cAAc,EACd,eAAe,EACf,WAAW,EACX,gBAAgB,GACjB,MAAM,SAAS,CAAC;AAGjB,wBAAgB,mBAAmB,CAAC,MAAM,CAAC,EAAE;IAC3C,GAAG,CAAC,EAAE,OAAO,CAAC,OAAO,SAAS,EAAE,aAAa,CAAC,CAAC;IAC/C,IAAI,CAAC,EAAE,OAAO,CAAC,OAAO,SAAS,EAAE,cAAc,CAAC,CAAC;IACjD,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,SAAS,EAAE,eAAe,CAAC,CAAC;CACpD,oCAMA;AAGD,eAAO,MAAM,WAAW;;;;;;CA+BvB,CAAC"}
@@ -0,0 +1,8 @@
1
+ export * from './useDrag';
2
+ export * from './useDragCommon';
3
+ export * from './useDragState';
4
+ export * from './useDragManager';
5
+ export * from './useDragHandlers';
6
+ export * from './useWeekDayDrag';
7
+ export * from './useMonthDrag';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/drag/index.ts"],"names":[],"mappings":"AAEA,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { useDragProps, useDragReturn } from '@/types';
2
+ export declare const useDrag: (options: useDragProps) => useDragReturn;
3
+ //# sourceMappingURL=useDrag.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDrag.d.ts","sourceRoot":"","sources":["../../../src/hooks/drag/useDrag.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,aAAa,EAAY,MAAM,SAAS,CAAC;AAShE,eAAO,MAAM,OAAO,GAAI,SAAS,YAAY,KAAG,aA2E/C,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { useDragProps, UseDragCommonReturn } from '@/types';
2
+ export declare const useDragCommon: (options: useDragProps) => UseDragCommonReturn;
3
+ //# sourceMappingURL=useDragCommon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDragCommon.d.ts","sourceRoot":"","sources":["../../../src/hooks/drag/useDragCommon.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAY,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAGtE,eAAO,MAAM,aAAa,GAAI,SAAS,YAAY,KAAG,mBAgIrD,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { UseDragHandlersReturn, UseDragHandlersParams } from '@/types';
2
+ export declare const useDragHandlers: (params: UseDragHandlersParams) => UseDragHandlersReturn;
3
+ //# sourceMappingURL=useDragHandlers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDragHandlers.d.ts","sourceRoot":"","sources":["../../../src/hooks/drag/useDragHandlers.ts"],"names":[],"mappings":"AACA,OAAO,EAML,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,SAAS,CAAC;AAgBjB,eAAO,MAAM,eAAe,GAC1B,QAAQ,qBAAqB,KAC5B,qBA23CF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { useDragProps, UseDragManagerReturn } from '@/types';
2
+ export declare const useDragManager: (options: useDragProps) => UseDragManagerReturn;
3
+ //# sourceMappingURL=useDragManager.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDragManager.d.ts","sourceRoot":"","sources":["../../../src/hooks/drag/useDragManager.ts"],"names":[],"mappings":"AAEA,OAAO,EAIL,YAAY,EAEZ,oBAAoB,EACrB,MAAM,SAAS,CAAC;AAWjB,eAAO,MAAM,cAAc,GAAI,SAAS,YAAY,KAAG,oBAuYtD,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { useDragProps, UseDragStateReturn } from '@/types';
2
+ export declare const useDragState: (options: useDragProps) => UseDragStateReturn;
3
+ //# sourceMappingURL=useDragState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDragState.d.ts","sourceRoot":"","sources":["../../../src/hooks/drag/useDragState.ts"],"names":[],"mappings":"AAEA,OAAO,EAGL,YAAY,EAGZ,kBAAkB,EACnB,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,YAAY,GAAI,SAAS,YAAY,KAAG,kBAiJpD,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { UseMonthDragParams, UseMonthDragReturn } from '@/types';
2
+ export declare const useMonthDrag: (params: UseMonthDragParams) => UseMonthDragReturn;
3
+ //# sourceMappingURL=useMonthDrag.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useMonthDrag.d.ts","sourceRoot":"","sources":["../../../src/hooks/drag/useMonthDrag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAEjE,eAAO,MAAM,YAAY,GACvB,QAAQ,kBAAkB,KACzB,kBASF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { UseWeekDayDragParams, UseWeekDayDragReturn } from '@/types';
2
+ export declare const useWeekDayDrag: (params: UseWeekDayDragParams) => UseWeekDayDragReturn;
3
+ //# sourceMappingURL=useWeekDayDrag.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useWeekDayDrag.d.ts","sourceRoot":"","sources":["../../../src/hooks/drag/useWeekDayDrag.ts"],"names":[],"mappings":"AAEA,OAAO,EAAY,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAG/E,eAAO,MAAM,cAAc,GACzB,QAAQ,oBAAoB,KAC3B,oBA8DF,CAAC"}
@@ -0,0 +1,63 @@
1
+ /**
2
+ * React Hook for Event Creation
3
+ *
4
+ * Provides convenient hooks for creating events in React components.
5
+ * Wraps eventHelpers functions with React callbacks for optimal performance.
6
+ */
7
+ import { Event } from '@/types';
8
+ import { CreateEventParams, CreateEventWithTimeZoneParams } from '@/utils/eventHelpers';
9
+ /**
10
+ * Hook for creating events
11
+ *
12
+ * Returns memoized functions for event creation to avoid unnecessary re-renders.
13
+ *
14
+ * @example
15
+ * function MyCalendar() {
16
+ * const { createEvent, createEventWithTZ } = useEventCreator();
17
+ *
18
+ * const handleAddEvent = () => {
19
+ * const event = createEvent({
20
+ * id: generateId(),
21
+ * title: 'Team Meeting',
22
+ * date: new Date(),
23
+ * startTime: { hour: 14 },
24
+ * endTime: { hour: 16 }
25
+ * });
26
+ * // Add to calendar...
27
+ * };
28
+ *
29
+ * return <CalendarComponent onAdd={handleAddEvent} />;
30
+ * }
31
+ */
32
+ export declare function useEventCreator(): {
33
+ createEvent: (params: CreateEventParams) => Event;
34
+ createEventWithTZ: (params: CreateEventWithTimeZoneParams) => Event;
35
+ createAllDay: (id: string, title: string, date: Date | string, options?: Omit<CreateEventParams, "id" | "title" | "date" | "allDay">) => Event;
36
+ createTimed: (id: string, title: string, date: Date | string, startHour: number, endHour: number, options?: Omit<CreateEventParams, "id" | "title" | "date" | "startTime" | "endTime">) => Event;
37
+ };
38
+ /**
39
+ * Hook for batch event creation
40
+ *
41
+ * @example
42
+ * function MyCalendar() {
43
+ * const { createEvents } = useBatchEventCreator();
44
+ *
45
+ * const handleImportEvents = (data: any[]) => {
46
+ * const events = createEvents(
47
+ * data.map(item => ({
48
+ * id: item.id,
49
+ * title: item.title,
50
+ * date: new Date(item.date),
51
+ * startTime: { hour: item.start },
52
+ * endTime: { hour: item.end }
53
+ * }))
54
+ * );
55
+ * // Add to calendar...
56
+ * };
57
+ * }
58
+ */
59
+ export declare function useBatchEventCreator(): {
60
+ createEvents: (paramsArray: CreateEventParams[]) => Event[];
61
+ createEventsWithTZ: (paramsArray: CreateEventWithTimeZoneParams[]) => Event[];
62
+ };
63
+ //# sourceMappingURL=useEventCreator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useEventCreator.d.ts","sourceRoot":"","sources":["../../src/hooks/useEventCreator.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAKL,iBAAiB,EACjB,6BAA6B,EAC9B,MAAM,sBAAsB,CAAC;AAE9B;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,eAAe;0BAKY,iBAAiB,KAAG,KAAK;gCASvD,6BAA6B,KAAG,KAAK;uBAWxC,MAAM,SACH,MAAM,QACP,IAAI,GAAG,MAAM,YACT,IAAI,CAAC,iBAAiB,EAAE,IAAI,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC,KACpE,KAAK;sBAWF,MAAM,SACH,MAAM,QACP,IAAI,GAAG,MAAM,aACR,MAAM,WACR,MAAM,YACL,IAAI,CACZ,iBAAiB,EACjB,IAAI,GAAG,OAAO,GAAG,MAAM,GAAG,WAAW,GAAG,SAAS,CAClD,KACA,KAAK;EAYX;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,oBAAoB;gCAIa,iBAAiB,EAAE,KAAG,KAAK,EAAE;sCAQ5D,6BAA6B,EAAE,KAAG,KAAK,EAAE;EAU1D"}
@@ -0,0 +1,3 @@
1
+ export * from './useVirtualScroll';
2
+ export * from './useVirtualMonthScroll';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/virtualScroll/index.ts"],"names":[],"mappings":"AACA,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { UseVirtualMonthScrollProps, UseVirtualMonthScrollReturn } from '@/types/monthView';
2
+ export declare const useResponsiveMonthConfig: () => {
3
+ weekHeight: number;
4
+ screenSize: "mobile" | "tablet" | "desktop";
5
+ weeksPerView: number;
6
+ };
7
+ export declare const useVirtualMonthScroll: ({ currentDate, weekHeight, onCurrentMonthChange, initialWeeksToLoad, }: UseVirtualMonthScrollProps) => UseVirtualMonthScrollReturn;
8
+ //# sourceMappingURL=useVirtualMonthScroll.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useVirtualMonthScroll.d.ts","sourceRoot":"","sources":["../../../src/hooks/virtualScroll/useVirtualMonthScroll.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,EAI5B,MAAM,mBAAmB,CAAC;AAG3B,eAAO,MAAM,wBAAwB;gBAErB,MAAM;gBACN,QAAQ,GAAG,QAAQ,GAAG,SAAS;kBAC7B,MAAM;CA4DvB,CAAC;AAGF,eAAO,MAAM,qBAAqB,GAAI,wEAKnC,0BAA0B,KAAG,2BAqkB/B,CAAC"}
@@ -0,0 +1,49 @@
1
+ import { UseVirtualScrollProps, UseVirtualScrollReturn } from '@/types';
2
+ export declare const VIRTUAL_SCROLL_CONFIG: {
3
+ readonly OVERSCAN: 2;
4
+ readonly BUFFER_SIZE: 50;
5
+ readonly MIN_YEAR: 1900;
6
+ readonly MAX_YEAR: 2200;
7
+ readonly SCROLL_THROTTLE: 8;
8
+ readonly SCROLL_DEBOUNCE: 150;
9
+ readonly CACHE_CLEANUP_THRESHOLD: 100;
10
+ readonly MOBILE_YEAR_HEIGHT: 1400;
11
+ readonly TABLET_YEAR_HEIGHT: 1000;
12
+ readonly YEAR_HEIGHT: 900;
13
+ };
14
+ export declare class VirtualScrollPerformance {
15
+ private static metrics;
16
+ static trackScrollEvent(scrollDelta?: number): void;
17
+ static trackRenderTime(time: number): void;
18
+ static trackCacheHit(): void;
19
+ static trackCacheMiss(): void;
20
+ static getMetrics(): {
21
+ scrollEvents: number;
22
+ avgRenderTime: number;
23
+ cacheHitRate: number;
24
+ uptime: number;
25
+ scrollEventsPerSecond: number;
26
+ estimatedFPS: number;
27
+ frameDrops: number;
28
+ avgScrollDelta: number;
29
+ };
30
+ static reset(): void;
31
+ }
32
+ export declare class YearDataCache<T> {
33
+ private cache;
34
+ private accessOrder;
35
+ private maxSize;
36
+ constructor(maxSize?: number);
37
+ get(year: number): T | undefined;
38
+ set(year: number, data: T): void;
39
+ private updateAccessOrder;
40
+ getSize(): number;
41
+ getHitRate(): number;
42
+ clear(): void;
43
+ }
44
+ export declare const useResponsiveConfig: () => {
45
+ yearHeight: typeof VIRTUAL_SCROLL_CONFIG.YEAR_HEIGHT | typeof VIRTUAL_SCROLL_CONFIG.MOBILE_YEAR_HEIGHT | typeof VIRTUAL_SCROLL_CONFIG.TABLET_YEAR_HEIGHT;
46
+ screenSize: "mobile" | "tablet" | "desktop";
47
+ };
48
+ export declare const useVirtualScroll: ({ currentDate, yearHeight, onCurrentYearChange, }: UseVirtualScrollProps) => UseVirtualScrollReturn;
49
+ //# sourceMappingURL=useVirtualScroll.d.ts.map