ezux 1.1.13 → 1.1.18

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 (513) hide show
  1. package/README.md +58 -15
  2. package/dist/DeleteConfirmationModal-CukNDgtX.cjs +1 -0
  3. package/dist/DeleteConfirmationModal-p8XGDGIw.js +38 -0
  4. package/dist/EzContextMenu-BCUoEQp5.cjs +1 -0
  5. package/dist/EzContextMenu-srLxujt8.js +287 -0
  6. package/dist/EzErrorBoundary-C7a6VisX.js +74 -0
  7. package/dist/EzErrorBoundary-d_2g-_EK.cjs +1 -0
  8. package/dist/EzEventModal-C079wLjP.js +725 -0
  9. package/dist/EzEventModal-CAA9cAM0.cjs +1 -0
  10. package/dist/EzFlow-C74NbZA9.js +2545 -0
  11. package/dist/EzFlow-CQFeY7DL.cjs +5 -0
  12. package/dist/EzGroupingPanel-BVaAJaVU.js +107 -0
  13. package/dist/EzGroupingPanel-BwWDWEuW.cjs +1 -0
  14. package/dist/EzKanban-BlJWybKe.js +1575 -0
  15. package/dist/EzKanban-DdKODRRv.cjs +2 -0
  16. package/dist/EzLayout-BGnqFtvO.cjs +1 -0
  17. package/dist/EzLayout-CiaPLniV.js +7005 -0
  18. package/dist/EzProvider-AlmsYIDk.js +982 -0
  19. package/dist/EzProvider-L2qQMq-v.cjs +1 -0
  20. package/dist/EzScheduler-C1Jtvvju.js +2700 -0
  21. package/dist/EzScheduler-CkqTngI6.cjs +1 -0
  22. package/dist/EzSchedulerQuickAdd-BIC8xbSn.js +124 -0
  23. package/dist/EzSchedulerQuickAdd-BeNfGdWs.cjs +1 -0
  24. package/dist/EzSchedulerToolbar-BJwTpgas.cjs +1 -0
  25. package/dist/EzSchedulerToolbar-Ba4gbvUg.js +305 -0
  26. package/dist/EzSignature-7UHO5lSP.js +386 -0
  27. package/dist/EzSignature-Df7UZ-IS.cjs +1 -0
  28. package/dist/EzTable-CEXvJR1t.cjs +3 -0
  29. package/dist/EzTable-D2p1IWHc.js +4290 -0
  30. package/dist/EzTableEditDialog-BXnnYSSy.cjs +1 -0
  31. package/dist/EzTableEditDialog-Ccd5XoHm.js +84 -0
  32. package/dist/EzTableFooter-CtexeDAC.cjs +1 -0
  33. package/dist/EzTableFooter-DrLoWelo.js +35 -0
  34. package/dist/EzTableToolbar-BH5z9fSJ.js +160 -0
  35. package/dist/EzTableToolbar-DwuumvWP.cjs +1 -0
  36. package/dist/EzTreeView-D1G0Aomc.js +818 -0
  37. package/dist/EzTreeView-KMGlU4ax.cjs +1 -0
  38. package/dist/HighlightText-BViuwe03.cjs +1 -0
  39. package/dist/HighlightText-DNA2R2uf.js +56 -0
  40. package/dist/KanbanBoard-B7_Z5sh1.js +1697 -0
  41. package/dist/KanbanBoard-CyitudI1.cjs +1 -0
  42. package/dist/Modal-BmX1C448.cjs +1 -0
  43. package/dist/Modal-CrzpKyjK.js +74 -0
  44. package/dist/NotificationPanel-BzpDc10Q.js +54 -0
  45. package/dist/NotificationPanel-CFME00wq.cjs +1 -0
  46. package/dist/TooltipWrapper-BSAmUx9H.js +44 -0
  47. package/dist/TooltipWrapper-DfbFAZ1U.cjs +1 -0
  48. package/dist/advanced.cjs +10 -0
  49. package/dist/advanced.d.ts +44 -0
  50. package/dist/advanced.es.js +400 -0
  51. package/dist/avatar-BSdRHETK.cjs +1 -0
  52. package/dist/avatar-BvCUJ-_r.js +27 -0
  53. package/dist/button-BBMwzUtG.cjs +1 -0
  54. package/dist/button-CYyNwV8S.js +44 -0
  55. package/dist/calendar-DEHX32Cp.cjs +1 -0
  56. package/dist/calendar-DOIPGsyI.js +112 -0
  57. package/dist/card-CPlRZxbq.cjs +1 -0
  58. package/dist/card-ZUNxcdIM.js +60 -0
  59. package/dist/checkbox-BrCh_Iid.cjs +1 -0
  60. package/dist/checkbox-DRkQuB4W.js +21 -0
  61. package/dist/components/EzFlow/EzConnectionLine.d.ts +5 -0
  62. package/dist/components/EzFlow/EzFlow.examples.d.ts +5 -0
  63. package/dist/components/EzFlow/EzFlow.types.d.ts +260 -0
  64. package/dist/components/EzFlow/EzFlowBackground.d.ts +5 -0
  65. package/dist/components/EzFlow/EzFlowCanvas.d.ts +3 -0
  66. package/dist/components/EzFlow/EzFlowControls.d.ts +5 -0
  67. package/dist/components/EzFlow/EzFlowEdge.d.ts +5 -0
  68. package/dist/components/EzFlow/EzFlowHeader.d.ts +6 -0
  69. package/dist/components/EzFlow/EzFlowToolbox.d.ts +6 -0
  70. package/dist/components/EzFlow/EzWorkflow.d.ts +5 -0
  71. package/dist/components/EzFlow/EzWorkflowPerformance.d.ts +3 -0
  72. package/dist/components/EzFlow/EzWorkflowServiceAdapters.d.ts +24 -0
  73. package/dist/components/EzFlow/EzWorkflowValidation.d.ts +95 -0
  74. package/dist/components/EzFlow/index.d.ts +13 -0
  75. package/dist/components/EzFlow/nodes/ActionNode.d.ts +3 -0
  76. package/dist/components/EzFlow/nodes/ApprovalNode.d.ts +3 -0
  77. package/dist/components/EzFlow/nodes/DecisionNode.d.ts +3 -0
  78. package/dist/components/EzFlow/nodes/DelayNode.d.ts +3 -0
  79. package/dist/components/EzFlow/nodes/EndNode.d.ts +3 -0
  80. package/dist/components/EzFlow/nodes/GroupNode.d.ts +3 -0
  81. package/dist/components/EzFlow/nodes/LoopNode.d.ts +3 -0
  82. package/dist/components/EzFlow/nodes/RequestNode.d.ts +3 -0
  83. package/dist/components/EzFlow/nodes/StartNode.d.ts +3 -0
  84. package/dist/components/EzFlow/nodes/index.d.ts +9 -0
  85. package/dist/components/EzKanban/EzKanban.types.d.ts +808 -0
  86. package/dist/components/EzKanban/components/CardEditorModal.d.ts +23 -0
  87. package/dist/components/EzKanban/components/EzKanbanErrorFallback.d.ts +1 -0
  88. package/dist/components/EzKanban/components/FilterPopover.d.ts +10 -0
  89. package/dist/components/EzKanban/components/KanbanBoard.d.ts +59 -0
  90. package/dist/components/EzKanban/components/KanbanCard.d.ts +46 -0
  91. package/dist/components/EzKanban/components/KanbanColumn.d.ts +55 -0
  92. package/dist/components/EzKanban/components/KanbanSwimlane.d.ts +45 -0
  93. package/dist/components/EzKanban/components/KanbanToolbar.d.ts +41 -0
  94. package/dist/components/EzKanban/exports.d.ts +4 -0
  95. package/dist/components/EzKanban/hooks/useKanbanCards.d.ts +36 -0
  96. package/dist/components/EzKanban/hooks/useKanbanColumns.d.ts +27 -0
  97. package/dist/components/EzKanban/hooks/useKanbanDragDrop.d.ts +31 -0
  98. package/dist/components/EzKanban/hooks/useKanbanFilters.d.ts +23 -0
  99. package/dist/components/EzKanban/hooks/useKanbanState.d.ts +79 -0
  100. package/dist/components/EzKanban/hooks/useKanbanSwimlanes.d.ts +27 -0
  101. package/dist/components/EzKanban/hooks/useKanbanVirtualization.d.ts +16 -0
  102. package/dist/components/EzKanban/index.d.ts +51 -0
  103. package/dist/components/EzKanban/services/KanbanService.d.ts +31 -0
  104. package/dist/components/EzKanban/state/kanban.store.d.ts +33 -0
  105. package/dist/components/EzKanban/useEzKanban.d.ts +87 -0
  106. package/dist/components/EzKanban/views/KanbanTimelineView.d.ts +15 -0
  107. package/dist/components/EzLayout/Authentication/AuthSlider.d.ts +13 -0
  108. package/dist/components/EzLayout/Authentication/InputPassword.d.ts +7 -0
  109. package/dist/components/EzLayout/Authentication/SignInForm.d.ts +21 -0
  110. package/dist/components/EzLayout/Authentication/SignUpForm.d.ts +20 -0
  111. package/dist/components/EzLayout/EzHeader.d.ts +48 -0
  112. package/dist/components/EzLayout/EzLanguageSwitcher.d.ts +4 -0
  113. package/dist/components/EzLayout/EzLayout.types.d.ts +261 -0
  114. package/dist/components/EzLayout/EzOrganizationSwitcher.d.ts +14 -0
  115. package/dist/components/EzLayout/EzSidebar.d.ts +24 -0
  116. package/dist/components/EzLayout/EzThemeColorChanger.d.ts +9 -0
  117. package/dist/components/EzLayout/EzThemeSwitcher.d.ts +8 -0
  118. package/dist/components/EzLayout/EzUserProfile.d.ts +27 -0
  119. package/dist/components/EzLayout/components/EzSidebarFooter.d.ts +8 -0
  120. package/dist/components/EzLayout/components/EzSidebarNav.d.ts +10 -0
  121. package/dist/components/EzLayout/components/EzSidebarNavItem.d.ts +11 -0
  122. package/dist/components/EzLayout/components/MainContent.d.ts +13 -0
  123. package/dist/components/EzLayout/hooks/useLayoutImperative.d.ts +17 -0
  124. package/dist/components/EzLayout/hooks/useLayoutState.d.ts +25 -0
  125. package/dist/components/EzLayout/index.d.ts +23 -0
  126. package/dist/components/EzLayout/useEzLayout.d.ts +34 -0
  127. package/dist/components/EzScheduler/EzScheduler.types.d.ts +1252 -0
  128. package/dist/components/EzScheduler/EzSchedulerToolbar.d.ts +117 -0
  129. package/dist/components/EzScheduler/components/EzEventModal.d.ts +23 -0
  130. package/dist/components/EzScheduler/components/EzOverlapAlert.d.ts +12 -0
  131. package/dist/components/EzScheduler/components/EzQuickInfoPopup.d.ts +22 -0
  132. package/dist/components/EzScheduler/components/EzResourceSidebar.d.ts +33 -0
  133. package/dist/components/EzScheduler/components/EzSchedulerContent.d.ts +111 -0
  134. package/dist/components/EzScheduler/components/EzSchedulerQuickAdd.d.ts +17 -0
  135. package/dist/components/EzScheduler/components/RecurrenceEditor.d.ts +7 -0
  136. package/dist/components/EzScheduler/components/SchedulerLoadingSpinner.d.ts +2 -0
  137. package/dist/components/EzScheduler/components/dnd/DraggableEvent.d.ts +24 -0
  138. package/dist/components/EzScheduler/components/dnd/DroppableSlot.d.ts +19 -0
  139. package/dist/components/EzScheduler/hooks/useRecurrence.d.ts +2 -0
  140. package/dist/components/EzScheduler/hooks/useSchedulerEventHandlers.d.ts +15 -0
  141. package/dist/components/EzScheduler/hooks/useSchedulerEvents.d.ts +27 -0
  142. package/dist/components/EzScheduler/hooks/useSchedulerImperative.d.ts +19 -0
  143. package/dist/components/EzScheduler/hooks/useSchedulerNavigation.d.ts +9 -0
  144. package/dist/components/EzScheduler/hooks/useSchedulerResources.d.ts +10 -0
  145. package/dist/components/EzScheduler/hooks/useSchedulerState.d.ts +14 -0
  146. package/dist/components/EzScheduler/hooks/useSchedulerVirtualization.d.ts +9 -0
  147. package/dist/components/EzScheduler/index.d.ts +43 -0
  148. package/dist/components/EzScheduler/models/EventSettings.d.ts +11 -0
  149. package/dist/components/EzScheduler/models/View.d.ts +49 -0
  150. package/dist/components/EzScheduler/models/index.d.ts +2 -0
  151. package/dist/components/EzScheduler/services/AttendeeService.d.ts +15 -0
  152. package/dist/components/EzScheduler/services/AuditService.d.ts +15 -0
  153. package/dist/components/EzScheduler/services/CollisionDetectionService.d.ts +19 -0
  154. package/dist/components/EzScheduler/services/DragAndDropService.d.ts +16 -0
  155. package/dist/components/EzScheduler/services/HistoryService.d.ts +31 -0
  156. package/dist/components/EzScheduler/services/ICalendarImportService.d.ts +16 -0
  157. package/dist/components/EzScheduler/services/PrintService.d.ts +7 -0
  158. package/dist/components/EzScheduler/services/RecurrenceEngine.d.ts +7 -0
  159. package/dist/components/EzScheduler/services/ReminderService.d.ts +17 -0
  160. package/dist/components/EzScheduler/services/SchedulerService.d.ts +71 -0
  161. package/dist/components/EzScheduler/services/SearchService.d.ts +11 -0
  162. package/dist/components/EzScheduler/services/SecurityService.d.ts +25 -0
  163. package/dist/components/EzScheduler/services/TimezoneService.d.ts +20 -0
  164. package/dist/components/EzScheduler/services/VirtualScrollingService.d.ts +34 -0
  165. package/dist/components/EzScheduler/state/scheduler.store.d.ts +27 -0
  166. package/dist/components/EzScheduler/templates/CellTemplate.d.ts +42 -0
  167. package/dist/components/EzScheduler/templates/EditorTemplate.d.ts +32 -0
  168. package/dist/components/EzScheduler/templates/HeaderTemplate.d.ts +36 -0
  169. package/dist/components/EzScheduler/useEzScheduler.d.ts +104 -0
  170. package/dist/components/EzScheduler/utils/createDragConstraint.d.ts +7 -0
  171. package/dist/components/EzScheduler/utils/getWeekNumber.d.ts +8 -0
  172. package/dist/components/EzScheduler/utils/sanitizeHtml.d.ts +18 -0
  173. package/dist/components/EzScheduler/views/AgendaView.d.ts +28 -0
  174. package/dist/components/EzScheduler/views/DayWeekView.d.ts +177 -0
  175. package/dist/components/EzScheduler/views/MonthView.d.ts +60 -0
  176. package/dist/components/EzScheduler/views/TimelineView.d.ts +116 -0
  177. package/dist/components/EzSignature/EzSignature.d.ts +42 -0
  178. package/dist/components/EzSignature/EzSignature.types.d.ts +132 -0
  179. package/dist/components/EzSignature/index.d.ts +2 -0
  180. package/dist/components/EzTable/EzColumnMenu.d.ts +7 -0
  181. package/dist/components/EzTable/EzDateFilterTree.d.ts +7 -0
  182. package/dist/components/EzTable/EzExcelFilter.d.ts +8 -0
  183. package/dist/components/EzTable/EzFilterBuilder.d.ts +12 -0
  184. package/dist/components/EzTable/EzGroupingPanel.d.ts +9 -0
  185. package/dist/components/EzTable/EzHeaderContextMenu.d.ts +8 -0
  186. package/dist/components/EzTable/EzPagination.d.ts +19 -0
  187. package/dist/components/EzTable/EzTable.types.d.ts +1 -0
  188. package/dist/components/EzTable/EzTableEditDialog.d.ts +15 -0
  189. package/dist/components/EzTable/EzTableFooter.d.ts +10 -0
  190. package/dist/components/EzTable/EzTableOverlays.d.ts +11 -0
  191. package/dist/components/EzTable/EzTableStatusBar.d.ts +10 -0
  192. package/dist/components/EzTable/EzTableToolbar.d.ts +60 -0
  193. package/dist/components/EzTable/SmartCell.d.ts +7 -0
  194. package/dist/components/EzTable/components/AdvancedColumnFilter.d.ts +16 -0
  195. package/dist/components/EzTable/components/BooleanFilterSection.d.ts +7 -0
  196. package/dist/components/EzTable/components/EzDraggableHeader.d.ts +10 -0
  197. package/dist/components/EzTable/components/EzHeaderDragPreview.d.ts +7 -0
  198. package/dist/components/EzTable/components/EzTableBodySection.d.ts +72 -0
  199. package/dist/components/EzTable/components/EzTableCell.d.ts +46 -0
  200. package/dist/components/EzTable/components/EzTableHeaderSection.d.ts +23 -0
  201. package/dist/components/EzTable/components/EzTablePaginationSection.d.ts +31 -0
  202. package/dist/components/EzTable/components/EzTableRow.d.ts +58 -0
  203. package/dist/components/EzTable/components/FilterActionButtons.d.ts +16 -0
  204. package/dist/components/EzTable/components/FilterRuleSelect.d.ts +26 -0
  205. package/dist/components/EzTable/components/SelectAllCheckbox.d.ts +21 -0
  206. package/dist/components/EzTable/components/SelectFilterSection.d.ts +18 -0
  207. package/dist/components/EzTable/components/VirtualizedFilterList.d.ts +21 -0
  208. package/dist/components/EzTable/constants/filterOptions.d.ts +47 -0
  209. package/dist/components/EzTable/context/EzTableContext.d.ts +10 -0
  210. package/dist/components/EzTable/context/TableConfigContext.d.ts +13 -0
  211. package/dist/components/EzTable/context/TableStore.d.ts +17 -0
  212. package/dist/components/EzTable/filterUtils.d.ts +5 -0
  213. package/dist/components/EzTable/hooks/useAutoFit.d.ts +4 -0
  214. package/dist/components/EzTable/hooks/useCellEventHandlers.d.ts +16 -0
  215. package/dist/components/EzTable/hooks/useColumnSizeVars.d.ts +6 -0
  216. package/dist/components/EzTable/hooks/useContainerResize.d.ts +11 -0
  217. package/dist/components/EzTable/hooks/useDialogStateInitialization.d.ts +8 -0
  218. package/dist/components/EzTable/hooks/useFilterSelection.d.ts +12 -0
  219. package/dist/components/EzTable/hooks/useTableFiltering.d.ts +23 -0
  220. package/dist/components/EzTable/hooks/useTableHistory.d.ts +87 -0
  221. package/dist/components/EzTable/hooks/useTableImperative.d.ts +42 -0
  222. package/dist/components/EzTable/hooks/useTableSelection.d.ts +32 -0
  223. package/dist/components/EzTable/hooks/useTableState.d.ts +33 -0
  224. package/dist/components/EzTable/hooks/useTableVirtualization.d.ts +35 -0
  225. package/dist/components/EzTable/index.d.ts +54 -0
  226. package/dist/components/EzTable/renderers/index.d.ts +6 -0
  227. package/dist/components/EzTable/services/TableService.d.ts +29 -0
  228. package/dist/components/EzTable/types/EzTableColumn.types.d.ts +146 -0
  229. package/dist/components/EzTable/types/EzTableEdit.types.d.ts +58 -0
  230. package/dist/components/EzTable/types/EzTableFilter.types.d.ts +50 -0
  231. package/dist/components/EzTable/types/EzTableProps.d.ts +750 -0
  232. package/dist/components/EzTable/types/index.d.ts +4 -0
  233. package/dist/components/EzTable/useEzTable.d.ts +17 -0
  234. package/dist/components/EzTable/utils/SizingUtils.d.ts +11 -0
  235. package/dist/components/EzTable/utils/TextMeasurer.d.ts +1 -0
  236. package/dist/components/EzTable/utils/TruncatedTooltip.d.ts +7 -0
  237. package/dist/components/EzTable/utils/columnTypeDetector.d.ts +5 -0
  238. package/dist/components/EzTable/utils/filterTypeGuards.d.ts +3 -0
  239. package/dist/components/EzTable/utils/index.d.ts +1 -0
  240. package/dist/components/EzTreeView/EzTreeView.types.d.ts +364 -0
  241. package/dist/components/EzTreeView/EzTreeViewItem.d.ts +89 -0
  242. package/dist/components/EzTreeView/EzVirtualTree.d.ts +84 -0
  243. package/dist/components/EzTreeView/components/EzTreeViewLoadingSpinner.d.ts +2 -0
  244. package/dist/components/EzTreeView/hooks/useTreeDragDrop.d.ts +31 -0
  245. package/dist/components/EzTreeView/hooks/useTreeExpansion.d.ts +21 -0
  246. package/dist/components/EzTreeView/hooks/useTreeImperative.d.ts +28 -0
  247. package/dist/components/EzTreeView/hooks/useTreeSelection.d.ts +31 -0
  248. package/dist/components/EzTreeView/hooks/useTreeState.d.ts +21 -0
  249. package/dist/components/EzTreeView/hooks/useTreeVirtualization.d.ts +18 -0
  250. package/dist/components/EzTreeView/index.d.ts +40 -0
  251. package/dist/components/EzTreeView/services/TreeService.d.ts +11 -0
  252. package/dist/components/EzTreeView/useEzTreeView.d.ts +50 -0
  253. package/dist/components/EzTreeView/utils/treeUtils.d.ts +17 -0
  254. package/dist/components/shared/components/EzErrorBoundary.d.ts +18 -0
  255. package/dist/components/shared/components/EzLayoutErrorFallback.d.ts +2 -0
  256. package/dist/components/shared/components/EzLoadingSpinner.d.ts +8 -0
  257. package/dist/components/shared/components/EzSchedulerErrorFallback.d.ts +2 -0
  258. package/dist/components/shared/components/EzSortableList.d.ts +12 -0
  259. package/dist/components/shared/components/EzTableErrorFallback.d.ts +2 -0
  260. package/dist/components/shared/components/EzTreeViewErrorFallback.d.ts +2 -0
  261. package/dist/components/ui/avatar.d.ts +10 -0
  262. package/dist/components/ui/badge.d.ts +9 -0
  263. package/dist/components/ui/breadcrumb.d.ts +19 -0
  264. package/dist/components/ui/button.d.ts +13 -0
  265. package/dist/components/ui/calendar.d.ts +15 -0
  266. package/dist/components/ui/card.d.ts +10 -0
  267. package/dist/components/ui/checkbox.d.ts +7 -0
  268. package/dist/components/ui/combobox.d.ts +19 -0
  269. package/dist/components/ui/command.d.ts +78 -0
  270. package/dist/components/ui/context-menu.d.ts +27 -0
  271. package/dist/components/ui/date-time-picker.d.ts +14 -0
  272. package/dist/components/ui/dropdown-menu.d.ts +31 -0
  273. package/dist/components/ui/index.d.ts +27 -0
  274. package/dist/components/ui/input.d.ts +5 -0
  275. package/dist/components/ui/label.d.ts +9 -0
  276. package/dist/components/ui/modal.d.ts +9 -0
  277. package/dist/components/ui/password-input.d.ts +5 -0
  278. package/dist/components/ui/popover.d.ts +10 -0
  279. package/dist/components/ui/progress.d.ts +7 -0
  280. package/dist/components/ui/radio-group.d.ts +5 -0
  281. package/dist/components/ui/resizable.d.ts +8 -0
  282. package/dist/components/ui/scroll-area.d.ts +5 -0
  283. package/dist/components/ui/select.d.ts +26 -0
  284. package/dist/components/ui/skeleton.d.ts +2 -0
  285. package/dist/components/ui/switch.d.ts +6 -0
  286. package/dist/components/ui/table.d.ts +10 -0
  287. package/dist/components/ui/tabs.d.ts +22 -0
  288. package/dist/components/ui/textarea.d.ts +5 -0
  289. package/dist/components/ui/tooltip.d.ts +10 -0
  290. package/dist/date-time-picker-Bs-7XzHD.cjs +1 -0
  291. package/dist/date-time-picker-fUzf4TnU.js +127 -0
  292. package/dist/dropdown-menu-BRP0tyR_.cjs +1 -0
  293. package/dist/dropdown-menu-B_7_K13o.js +78 -0
  294. package/dist/ezux.css +2 -1
  295. package/dist/flow.cjs +1 -0
  296. package/dist/flow.d.ts +2 -0
  297. package/dist/flow.es.js +2 -0
  298. package/dist/index.cjs +3 -12
  299. package/dist/index.d.ts +66 -6404
  300. package/dist/index.es.js +229 -1041
  301. package/dist/input-CYlvlbF7.cjs +1 -0
  302. package/dist/input-Cj3sQK3M.js +14 -0
  303. package/dist/kanban.cjs +1 -1
  304. package/dist/kanban.d.ts +2 -1343
  305. package/dist/kanban.es.js +4 -17
  306. package/dist/label-BGgvoZWD.cjs +1 -0
  307. package/dist/label-DWEV--5W.js +16 -0
  308. package/dist/layout.cjs +1 -1
  309. package/dist/layout.d.ts +2 -690
  310. package/dist/layout.es.js +2 -20
  311. package/dist/lib/perfect-freehand.d.ts +221 -0
  312. package/dist/lib/utils.d.ts +2 -0
  313. package/dist/mock-services.cjs +1 -0
  314. package/dist/mock-services.d.ts +8 -0
  315. package/dist/mock-services.es.js +161 -0
  316. package/dist/popover-D1akYj0W.js +17 -0
  317. package/dist/popover-wZKNvYM5.cjs +1 -0
  318. package/dist/scheduler.cjs +1 -1
  319. package/dist/scheduler.d.ts +2 -1430
  320. package/dist/scheduler.es.js +2 -11
  321. package/dist/scroll-area-BJs87d45.js +35 -0
  322. package/dist/scroll-area-DSkE2KB_.cjs +1 -0
  323. package/dist/select-D4tFaSai.js +43 -0
  324. package/dist/select-sVieKbLu.cjs +1 -0
  325. package/dist/shared/components/AnimatedText.d.ts +44 -0
  326. package/dist/shared/components/BaseCell.d.ts +14 -0
  327. package/dist/shared/components/BooleanRenderer.d.ts +34 -0
  328. package/dist/shared/components/ChartRenderer.d.ts +19 -0
  329. package/dist/shared/components/DeleteConfirmationModal.d.ts +11 -0
  330. package/dist/shared/components/EzContextMenu.d.ts +12 -0
  331. package/dist/shared/components/EzNotificationDropdown.d.ts +2 -0
  332. package/dist/shared/components/HighlightText.d.ts +4 -0
  333. package/dist/shared/components/Modal.d.ts +13 -0
  334. package/dist/shared/components/NotificationPanel.d.ts +2 -0
  335. package/dist/shared/components/PrimitiveRenderer.d.ts +39 -0
  336. package/dist/shared/components/SearchableSelect.d.ts +13 -0
  337. package/dist/shared/components/SelectRenderer.d.ts +33 -0
  338. package/dist/shared/components/StatusBadge.d.ts +21 -0
  339. package/dist/shared/components/TooltipWrapper.d.ts +12 -0
  340. package/dist/shared/components/index.d.ts +9 -0
  341. package/dist/shared/contexts/EzProvider.d.ts +56 -0
  342. package/dist/shared/hooks/index.d.ts +56 -0
  343. package/dist/shared/hooks/useBaseComponent.d.ts +59 -0
  344. package/dist/shared/hooks/useComponentImperativeAPI.d.ts +11 -0
  345. package/dist/shared/hooks/useComponentState.d.ts +39 -0
  346. package/dist/shared/hooks/useCurrentTime.d.ts +6 -0
  347. package/dist/shared/hooks/useDataChangeEvents.d.ts +53 -0
  348. package/dist/shared/hooks/useDebounce.d.ts +10 -0
  349. package/dist/shared/hooks/useDeleteConfirmation.d.ts +9 -0
  350. package/dist/shared/hooks/useDialogState.d.ts +21 -0
  351. package/dist/shared/hooks/useDndHandlers.d.ts +19 -0
  352. package/dist/shared/hooks/useEditing.d.ts +107 -0
  353. package/dist/shared/hooks/useEventHandlers.d.ts +61 -0
  354. package/dist/shared/hooks/useEzTheme.d.ts +22 -0
  355. package/dist/shared/hooks/useFieldValidation.d.ts +24 -0
  356. package/dist/shared/hooks/useHistory.d.ts +13 -0
  357. package/dist/shared/hooks/useI18n.d.ts +8 -0
  358. package/dist/shared/hooks/useImperativeAPI.d.ts +8 -0
  359. package/dist/shared/hooks/useInitCoreServices.d.ts +5 -0
  360. package/dist/shared/hooks/useKeyboardNavigation.d.ts +36 -0
  361. package/dist/shared/hooks/useKeyboardShortcuts.d.ts +14 -0
  362. package/dist/shared/hooks/useLifecycleEvents.d.ts +22 -0
  363. package/dist/shared/hooks/useLoadingState.d.ts +17 -0
  364. package/dist/shared/hooks/useMediaQuery.d.ts +6 -0
  365. package/dist/shared/hooks/useNotificationService.d.ts +8 -0
  366. package/dist/shared/hooks/usePerformanceMonitor.d.ts +22 -0
  367. package/dist/shared/hooks/useRowSelectionEvents.d.ts +44 -0
  368. package/dist/shared/hooks/useSelection.d.ts +73 -0
  369. package/dist/shared/hooks/useService.d.ts +12 -0
  370. package/dist/shared/hooks/useServiceState.d.ts +1 -0
  371. package/dist/shared/hooks/useStateChangeEvents.d.ts +61 -0
  372. package/dist/shared/hooks/useTheme.d.ts +13 -0
  373. package/dist/shared/hooks/useVirtualization.d.ts +85 -0
  374. package/dist/shared/services/BaseService.d.ts +57 -0
  375. package/dist/shared/services/ContextMenuService.d.ts +58 -0
  376. package/dist/shared/services/ExportService.d.ts +35 -0
  377. package/dist/shared/services/FocusManagerService.d.ts +33 -0
  378. package/dist/shared/services/HierarchyService.d.ts +43 -0
  379. package/dist/shared/services/I18nService.d.ts +84 -0
  380. package/dist/shared/services/LayoutService.d.ts +80 -0
  381. package/dist/shared/services/NotificationService.d.ts +44 -0
  382. package/dist/shared/services/PersistenceService.d.ts +69 -0
  383. package/dist/shared/services/ServiceRegistry.d.ts +52 -0
  384. package/dist/shared/services/ThemeService.d.ts +49 -0
  385. package/dist/shared/services/VirtualizationService.d.ts +51 -0
  386. package/dist/shared/state/store.d.ts +10 -0
  387. package/dist/shared/themes.d.ts +25 -0
  388. package/dist/shared/types/BaseProps.d.ts +17 -0
  389. package/dist/shared/types/common.d.ts +373 -0
  390. package/dist/shared/types/index.d.ts +2 -0
  391. package/dist/shared/utils/canvasUtils.d.ts +16 -0
  392. package/dist/shared/utils/commonUtils.d.ts +28 -0
  393. package/dist/shared/utils/csvUtils.d.ts +7 -0
  394. package/dist/shared/utils/dateUtils.d.ts +5 -0
  395. package/dist/shared/utils/dndUtils.d.ts +16 -0
  396. package/dist/shared/utils/formatUtils.d.ts +20 -0
  397. package/dist/shared/utils/imperativeApiUtils.d.ts +36 -0
  398. package/dist/shared/utils/index.d.ts +11 -0
  399. package/dist/shared/utils/renderUtils.d.ts +6 -0
  400. package/dist/shared/utils/serviceUtils.d.ts +10 -0
  401. package/dist/shared/utils/styleUtils.d.ts +121 -0
  402. package/dist/shared/utils/validationUtils.d.ts +16 -0
  403. package/dist/signature.cjs +1 -1
  404. package/dist/signature.d.ts +2 -410
  405. package/dist/signature.es.js +2 -4
  406. package/dist/table.cjs +1 -1
  407. package/dist/table.d.ts +2 -1059
  408. package/dist/table.es.js +2 -17
  409. package/dist/theme-vars.css +143 -135
  410. package/dist/tooltip-B1wC9m05.js +16 -0
  411. package/dist/tooltip-Qmzrg5u5.cjs +1 -0
  412. package/dist/treeview.cjs +1 -1
  413. package/dist/treeview.d.ts +2 -656
  414. package/dist/treeview.es.js +2 -954
  415. package/dist/useComponentState-DiSFLYju.js +57 -0
  416. package/dist/useComponentState-Wcz6pjd6.cjs +1 -0
  417. package/dist/useImperativeAPI-Dbx2hMTb.js +7 -0
  418. package/dist/useImperativeAPI-VrgLwXEO.cjs +1 -0
  419. package/dist/useInitCoreServices-CuBrviDM.js +40 -0
  420. package/dist/useInitCoreServices-DlALVDNx.cjs +1 -0
  421. package/dist/useService-CnCBGG3G.js +10 -0
  422. package/dist/useService-CyF782jv.cjs +1 -0
  423. package/dist/useServiceState-CkrJZm1D.js +21 -0
  424. package/dist/useServiceState-PyYQWxHi.cjs +1 -0
  425. package/package.json +76 -56
  426. package/dist/EzContextMenu-B6HBUjWv.cjs +0 -5
  427. package/dist/EzContextMenu-BSA_B6Pr.js +0 -3500
  428. package/dist/EzErrorBoundary-CEdz_hDo.cjs +0 -41
  429. package/dist/EzErrorBoundary-D4NBadES.js +0 -3727
  430. package/dist/EzEventModal-BUMp_BFi.js +0 -689
  431. package/dist/EzEventModal-xzHfzi0O.cjs +0 -1
  432. package/dist/EzGroupingPanel-BUsIYDRi.js +0 -143
  433. package/dist/EzGroupingPanel-D0HdSomF.cjs +0 -1
  434. package/dist/EzSchedulerQuickAdd-C653LTGh.js +0 -118
  435. package/dist/EzSchedulerQuickAdd-UnOWCpJd.cjs +0 -1
  436. package/dist/EzSchedulerToolbar-C-5OdRY6.cjs +0 -1
  437. package/dist/EzSchedulerToolbar-CO5jjDQg.js +0 -240
  438. package/dist/EzSignature-BaNesxwC.cjs +0 -1
  439. package/dist/EzSignature-D4EYwo9W.js +0 -419
  440. package/dist/EzTableEditDialog-Cd948V1C.js +0 -63
  441. package/dist/EzTableEditDialog-NiOubaMT.cjs +0 -1
  442. package/dist/EzTableFooter-CWjfGCjL.cjs +0 -1
  443. package/dist/EzTableFooter-DveD12RC.js +0 -54
  444. package/dist/EzTableToolbar-Bz8UWv6j.js +0 -246
  445. package/dist/EzTableToolbar-DHE7Bb1R.cjs +0 -1
  446. package/dist/HighlightText-8D6KEyBw.js +0 -68
  447. package/dist/HighlightText-LtZmzCle.cjs +0 -1
  448. package/dist/NotificationPanel-D2Y-_ahk.js +0 -68
  449. package/dist/NotificationPanel-zLxrtTGf.cjs +0 -1
  450. package/dist/TooltipWrapper-BrRTi5EJ.js +0 -2021
  451. package/dist/TooltipWrapper-DWts4bAI.cjs +0 -1
  452. package/dist/avatar-BeK0E4mn.js +0 -41
  453. package/dist/avatar-DZAaTK2f.cjs +0 -1
  454. package/dist/bell-DAz8P0BR.js +0 -14
  455. package/dist/bell-DOX2y38e.cjs +0 -1
  456. package/dist/calendar-BMZ8ddOf.cjs +0 -1
  457. package/dist/calendar-Dy3rVMW2.js +0 -90
  458. package/dist/checkbox-B0lGHUyy.cjs +0 -1
  459. package/dist/checkbox-boJRxICT.js +0 -46
  460. package/dist/chevron-down-C3s8jU6B.js +0 -5
  461. package/dist/chevron-down-DZVL7VHW.cjs +0 -1
  462. package/dist/chevron-left-BFr8XZyF.js +0 -5
  463. package/dist/chevron-left-HWhRo6IH.cjs +0 -1
  464. package/dist/circle-alert-77QqFR-z.cjs +0 -1
  465. package/dist/circle-alert-B2AMDd8N.js +0 -9
  466. package/dist/circle-x-Cv7bfIC_.js +0 -9
  467. package/dist/circle-x-DwVXxhXr.cjs +0 -1
  468. package/dist/date-time-picker-DTxHdPgQ.cjs +0 -1
  469. package/dist/date-time-picker-Dj2eftJI.js +0 -1636
  470. package/dist/download-0ZhO2XaW.cjs +0 -1
  471. package/dist/download-panVHmk6.js +0 -9
  472. package/dist/ellipsis-CuqNthAj.js +0 -9
  473. package/dist/ellipsis-CzlqJf-i.cjs +0 -1
  474. package/dist/grip-vertical-CSyDKBul.js +0 -12
  475. package/dist/grip-vertical-DZNBW1Dn.cjs +0 -1
  476. package/dist/index-B3ipEEhH.cjs +0 -2
  477. package/dist/index-BPPb7bcs.js +0 -3220
  478. package/dist/index-BQKw_Vho.js +0 -9604
  479. package/dist/index-C5STgBSy.js +0 -5203
  480. package/dist/index-C6NfgycP.js +0 -4644
  481. package/dist/index-D4f2ZdrG.cjs +0 -2
  482. package/dist/index-DUY1SqMo.cjs +0 -1
  483. package/dist/index-c1Zg--dt.cjs +0 -7
  484. package/dist/input-BgM_la4k.cjs +0 -1
  485. package/dist/input-jYQ5VKNR.js +0 -21
  486. package/dist/isBefore-C3Y_wbk3.js +0 -15
  487. package/dist/isBefore-Cp1ttk6q.cjs +0 -1
  488. package/dist/label-ClOW9UCt.js +0 -55
  489. package/dist/label-Dx6oDB-X.cjs +0 -1
  490. package/dist/layers-BA4i1fYX.js +0 -27
  491. package/dist/layers-xSPd-hz3.cjs +0 -1
  492. package/dist/popover-BJq1CKmi.cjs +0 -1
  493. package/dist/popover-Cmlb7w3R.js +0 -341
  494. package/dist/scroll-area-9fwpVNxT.js +0 -573
  495. package/dist/scroll-area-CwwZSSA4.cjs +0 -1
  496. package/dist/select-GxA46anr.cjs +0 -1
  497. package/dist/select-mDCun_IR.js +0 -35
  498. package/dist/settings-CvyjK75A.js +0 -31
  499. package/dist/settings-DKPknrt8.cjs +0 -1
  500. package/dist/sortable.esm-CsRPuXyD.cjs +0 -1
  501. package/dist/sortable.esm-CzMCDPet.js +0 -477
  502. package/dist/tooltip-B41iztKT.cjs +0 -1
  503. package/dist/tooltip-BCtrEe0z.js +0 -490
  504. package/dist/useComponentState-C87xXa5d.js +0 -64
  505. package/dist/useComponentState-DDgGbBXv.cjs +0 -1
  506. package/dist/useImperativeAPI-DXmCQvPL.js +0 -7
  507. package/dist/useImperativeAPI-DbZ3owSV.cjs +0 -1
  508. package/dist/useInitCoreServices-CwXv2p4S.cjs +0 -1
  509. package/dist/useInitCoreServices-D1WaWlaI.js +0 -3929
  510. package/dist/useService-8OoezWr8.cjs +0 -1
  511. package/dist/useService-BUi3uAqE.js +0 -10
  512. package/dist/useServiceState-BjpCjUn2.cjs +0 -1
  513. package/dist/useServiceState-VE-viK8b.js +0 -24
@@ -1,1430 +1,2 @@
1
- import { default as default_2 } from 'react';
2
-
3
- /**
4
- * Arguments for action events.
5
- */
6
- declare interface ActionEventArgs {
7
- requestType: string;
8
- cancel: boolean;
9
- data?: Record<string, unknown>;
10
- [key: string]: unknown;
11
- }
12
-
13
- /**
14
- * Arguments for action failure events.
15
- */
16
- declare interface ActionFailureArgs {
17
- requestType: string;
18
- error: Error;
19
- [key: string]: unknown;
20
- }
21
-
22
- /**
23
- * Attendee information for an event.
24
- */
25
- declare interface Attendee {
26
- /**
27
- * Unique identifier for the attendee.
28
- * @group Models
29
- */
30
- id: string;
31
- /**
32
- * Name of the attendee.
33
- * @group Models
34
- */
35
- name: string;
36
- /**
37
- * Email address.
38
- * @group Models
39
- */
40
- email?: string;
41
- /**
42
- * Avatar image URL.
43
- * @group Models
44
- */
45
- avatar?: string;
46
- /**
47
- * RSVP status.
48
- * @group Models
49
- */
50
- status?: 'accepted' | 'declined' | 'tentative' | 'needs-action';
51
- /**
52
- * Whether attendance is required.
53
- * @group Models
54
- */
55
- required?: boolean;
56
- }
57
-
58
- /**
59
- * Base Component Types
60
- */
61
- declare interface BaseComponentProps {
62
- /** Unique identifier for the component instance @group Properties */
63
- id?: string;
64
- /** Custom class names for styling @group Properties */
65
- className?: string;
66
- /** Inline styles @group Properties */
67
- style?: default_2.CSSProperties;
68
- /** Data attribute for testing @group Properties */
69
- dataTestId?: string;
70
- /** Direction of the text (ltr, rtl, auto) @group Properties */
71
- dir?: 'ltr' | 'rtl' | 'auto';
72
- }
73
-
74
- /**
75
- * Arguments for cell click events.
76
- */
77
- declare interface CellClickEventArgs {
78
- startTime: Date;
79
- endTime: Date;
80
- element?: HTMLElement;
81
- isAllDay: boolean;
82
- groupIndex?: number;
83
- }
84
-
85
- /**
86
- * Common event callback types
87
- * Contains ONLY events that are truly shared across components with identical signatures.
88
- * Component-specific events (onCellClick, onRowClick, etc) should be defined in each component's types.
89
- */
90
- declare interface ComponentEventCallbacks<TData = unknown> {
91
- /**
92
- * Callback when component is created.
93
- * @group Events
94
- */
95
- onCreated?: () => void;
96
- /**
97
- * Callback when component is destroyed.
98
- * @group Events
99
- */
100
- onDestroyed?: () => void;
101
- /**
102
- * Callback when grid/component render starts.
103
- * @group Events
104
- */
105
- onGridRenderStart?: () => void;
106
- /**
107
- * Callback when grid/component render completes.
108
- * @group Events
109
- */
110
- onGridRenderComplete?: () => void;
111
- /**
112
- * Callback when data changes.
113
- * @group Events
114
- */
115
- onDataChange?: (data: TData[]) => void;
116
- /**
117
- * Callback when data loads.
118
- * @group Events
119
- */
120
- onDataLoad?: (data: TData[]) => void;
121
- /**
122
- * Callback when data is requested.
123
- * @group Events
124
- */
125
- onDataRequest?: (query: DataQuery) => void;
126
- /**
127
- * Callback when data change starts.
128
- * @group Events
129
- */
130
- onDataChangeStart?: (args: {
131
- action: 'add' | 'edit' | 'delete';
132
- data: TData | TData[];
133
- }) => void;
134
- /**
135
- * Callback when data change completes.
136
- * @group Events
137
- */
138
- onDataChangeComplete?: (args: {
139
- action: 'add' | 'edit' | 'delete';
140
- data: TData | TData[];
141
- }) => void;
142
- /**
143
- * Callback when data change is cancelled.
144
- * @group Events
145
- */
146
- onDataChangeCancel?: (args: {
147
- action: 'add' | 'edit' | 'delete';
148
- row?: TData;
149
- }) => void;
150
- /**
151
- * Callback when data change is requested.
152
- * @group Events
153
- */
154
- onDataChangeRequest?: (args: {
155
- action: 'add' | 'edit' | 'delete';
156
- data: TData;
157
- }) => void;
158
- /**
159
- * Callback on error.
160
- * @group Events
161
- */
162
- onError?: (error: Error | unknown) => void;
163
- /**
164
- * Callback on refresh.
165
- * @group Events
166
- */
167
- onRefresh?: () => void;
168
- }
169
-
170
- /**
171
- * Action types for the scheduler editor.
172
- */
173
- declare type CurrentAction = 'Add' | 'Edit' | 'Delete';
174
-
175
- /**
176
- * Represents a structured request for data fetching/filtering.
177
- */
178
- declare interface DataQuery {
179
- filters?: FilterRule[] | FilterGroup;
180
- sort?: SortModel[];
181
- pagination?: PaginationModel;
182
- search?: string;
183
- [key: string]: any;
184
- }
185
-
186
- /**
187
- * Arguments for drag events.
188
- */
189
- declare interface DragEventArgs {
190
- data: EventData;
191
- element?: HTMLElement;
192
- cancel: boolean;
193
- target?: HTMLElement;
194
- }
195
-
196
- /**
197
- * Arguments for event click events.
198
- */
199
- declare interface EventClickEventArgs {
200
- event: SchedulerEvent;
201
- element?: HTMLElement;
202
- cancel: boolean;
203
- }
204
-
205
- declare interface EventData {
206
- id: string | number;
207
- subject: string;
208
- startTime: Date;
209
- endTime: Date;
210
- isAllDay?: boolean;
211
- recurrenceRule?: string;
212
- resourceID?: string | number | (string | number)[];
213
- [key: string]: unknown;
214
- }
215
-
216
- /**
217
- * Configuration for event settings.
218
- */
219
- declare interface EventSettingsModel {
220
- /**
221
- * The data source for events.
222
- * @group Models
223
- */
224
- dataSource: Record<string, unknown>[] | unknown;
225
- /**
226
- * Custom field mapping.
227
- * @group Models
228
- */
229
- fields?: FieldModel;
230
- /**
231
- * Allow adding new events.
232
- * @group Models
233
- */
234
- allowAdding?: boolean;
235
- /**
236
- * Allow deleting events.
237
- * @group Models
238
- */
239
- allowDeleting?: boolean;
240
- /**
241
- * Allow editing events.
242
- * @group Models
243
- */
244
- allowEditing?: boolean;
245
- /**
246
- * Enable event tooltips.
247
- * @group Models
248
- */
249
- enableTooltip?: boolean;
250
- /**
251
- * Template for event content.
252
- * @group Models
253
- */
254
- template?: string | ((data: EventData) => React.ReactNode);
255
- }
256
-
257
- /**
258
- * EzScheduler is a comprehensive event management and resource scheduling engine.
259
- * It provides a fluid user experience for managing complex schedules across
260
- * various view modes with full drag-and-drop and resizing support.
261
- *
262
-
263
- * ### Key Features
264
- * - **Multi-View System**: Switch between Day, Week, Work Week, Month, and various Timeline views.
265
- * - **Resource Management**: Group events by resources (people, rooms, equipment) with dedicated lanes.
266
- * - **Interactive Editing**: Intuitive drag-and-drop event movement, resizing, and double-click creation.
267
- * - **Intelligent Overlap**: Customizable overlap detection and blocking for intervals like lunch breaks.
268
- * - **Quick Info & Editor**: Built-in popovers for quick summaries and a full modal for detailed editing.
269
- * - **Virtualization**: Efficient rendering of large resource lists and event densities.
270
- *
271
- * ### Minimal Example
272
- * ```tsx
273
- * <EzScheduler
274
- * events={myEvents}
275
- * view="Week"
276
- * onEventChange={(event) => updateEvent(event)}
277
- * />
278
- * ```
279
- *
280
- * ### Resource Grouping Example
281
- * ```tsx
282
- * <EzScheduler
283
- * resources={[
284
- * { id: '1', name: 'Meeting Room A', color: '#e11d48' },
285
- * { id: '2', name: 'Meeting Room B', color: '#2563eb' }
286
- * ]}
287
- * events={events}
288
- * view="TimelineDay"
289
- * onEventCreate={(event) => createNewMeeting(event)}
290
- * />
291
- * ```
292
- *
293
- * @group Core Components
294
- */
295
- export declare const EzScheduler: default_2.ForwardRefExoticComponent<EzSchedulerProps & default_2.RefAttributes<EzSchedulerRef>>;
296
-
297
- /**
298
- * Props for the EzScheduler component.
299
- *
300
- * @example
301
- * ```tsx
302
- * import { EzScheduler } from 'ezux';
303
- *
304
- * const events = [
305
- * { id: 1, title: 'Meeting', start: new Date(), end: new Date() }
306
- * ];
307
- *
308
- * return <EzScheduler events={events} />;
309
- * ```
310
- */
311
- declare interface EzSchedulerProps extends SharedBaseProps {
312
- /**
313
- * Slots for modular composition.
314
- * @group Extensibility
315
- */
316
- slots?: SchedulerSlotConfig['slots'];
317
- /**
318
- * Props to pass to the custom slots.
319
- * @group Properties
320
- */
321
- slotProps?: SchedulerSlotConfig['slotProps'];
322
- /**
323
- * Allow event dragging.
324
- * @group Properties
325
- */
326
- eventDrag?: boolean;
327
- /**
328
- * Allow keyboard navigation.
329
- * @group Properties
330
- */
331
- keyboardNavigation?: boolean;
332
- /**
333
- * Allow selecting multiple cells.
334
- * @group Properties
335
- */
336
- allowMultiCellSelection?: boolean;
337
- /**
338
- * Allow event resizing.
339
- * @group Properties
340
- */
341
- eventResize?: boolean;
342
- /**
343
- * Allow copying/pasting events via clipboard.
344
- * @group Properties
345
- */
346
- allowClipboard?: boolean;
347
- /**
348
- * Allow inline editing of events.
349
- * @group Properties
350
- */
351
- allowInline?: boolean;
352
- /**
353
- * Allow dragging multiple events.
354
- * @group Properties
355
- */
356
- allowMultiDrag?: boolean;
357
- /**
358
- * Allow selecting multiple rows.
359
- * @group Properties
360
- */
361
- allowMultiRowSelection?: boolean;
362
- /**
363
- * Allow overlapping events to be displayed.
364
- * @group Properties
365
- */
366
- eventOverlap?: boolean;
367
- /**
368
- * Allow touch swiping to navigate views.
369
- * @group Properties
370
- */
371
- allowSwiping?: boolean;
372
- /**
373
- * Number of days to show in Agenda view.
374
- * @group Properties
375
- */
376
- agendaDaysCount?: number;
377
- /**
378
- * Calendar system to use.
379
- * @group Properties
380
- */
381
- calendarMode?: 'Gregorian' | 'Islamic';
382
- /**
383
- * Template for cell headers.
384
- * @group Properties
385
- */
386
- cellHeaderTemplate?: string | ((props: Record<string, unknown>) => React.ReactNode);
387
- /**
388
- * Custom CSS class for the scheduler container.
389
- * @group Properties
390
- */
391
- cssClass?: string;
392
- /**
393
- * The initial view to display.
394
- * @group Properties
395
- */
396
- view?: View;
397
- /**
398
- * Date format for headers and tooltips.
399
- * @group Properties
400
- */
401
- dateFormat?: string;
402
- /**
403
- * Template for date headers.
404
- * @group Properties
405
- */
406
- dateHeader?: string | ((props: Record<string, unknown>) => React.ReactNode);
407
- /**
408
- * Template for date range display.
409
- * @group Properties
410
- */
411
- dateRangeTemplate?: string | ((props: Record<string, unknown>) => React.ReactNode);
412
- /**
413
- * Template for day headers.
414
- * @group Properties
415
- */
416
- dayHeaderTemplate?: string | ((props: Record<string, unknown>) => React.ReactNode);
417
- /**
418
- * Enable adaptive UI for mobile devices.
419
- * @group Properties
420
- */
421
- enableAdaptiveUI?: boolean;
422
- /**
423
- * Enable scrolling for the All Day row.
424
- * @group Properties
425
- */
426
- enableAllDayScroll?: boolean;
427
- /**
428
- * Enable state persistence (save settings to local storage).
429
- * @group Properties
430
- */
431
- enablePersistence?: boolean;
432
- /**
433
- * Validation for recurrence rules.
434
- * @group Properties
435
- */
436
- enableRecurrenceValidation?: boolean;
437
- /**
438
- * Enable RTL (Right-to-Left) text direction.
439
- * @group Properties
440
- */
441
- enableRtl?: boolean;
442
- /**
443
- * End hour of the scheduler (e.g., '18:00').
444
- * @group Properties
445
- */
446
- endHour?: string;
447
- /**
448
- * Configuration for event fields and settings.
449
- * @group Properties
450
- */
451
- eventSettings?: EventSettingsModel;
452
- /**
453
- * First day of the week (0=Sunday, 1=Monday, etc.).
454
- * @group Properties
455
- */
456
- firstDayOfWeek?: number;
457
- /**
458
- * First month of the year (0=January, etc.).
459
- * @group Properties
460
- */
461
- firstMonthOfYear?: number;
462
- /**
463
- * Configuration for grouping resources.
464
- * @group Properties
465
- */
466
- group?: GroupModel;
467
- /**
468
- * Template for header indentation.
469
- * @group Properties
470
- */
471
- headerIndentTemplate?: string | ((props: Record<string, unknown>) => React.ReactNode);
472
- /**
473
- * Custom header rows configuration.
474
- * @group Properties
475
- */
476
- headerRows?: HeaderRowModel[];
477
- /**
478
- * Height of the scheduler.
479
- * @group Properties
480
- */
481
- height?: string | number;
482
- /**
483
- * Hide days with no events in Agenda view.
484
- * @group Properties
485
- */
486
- hideEmptyAgendaDays?: boolean;
487
- /**
488
- * Whether the current view is All Day.
489
- * @group Properties
490
- */
491
- isAllDay?: boolean;
492
- /**
493
- * Locale for the scheduler.
494
- * @group Properties
495
- */
496
- locale?: string;
497
- /**
498
- * Maximum date navigable.
499
- * @group Properties
500
- */
501
- maxDate?: Date;
502
- /**
503
- * Minimum date navigable.
504
- * @group Properties
505
- */
506
- minDate?: Date;
507
- /**
508
- * Template for month view headers.
509
- * @group Properties
510
- */
511
- monthHeaderTemplate?: string | ((props: Record<string, unknown>) => React.ReactNode);
512
- /**
513
- * Show quick info popup on selection end.
514
- * @group Properties
515
- */
516
- quickInfoOnSelectionEnd?: boolean;
517
- /**
518
- * Enable read-only mode.
519
- * @group Properties
520
- */
521
- readOnly?: boolean;
522
- resourceHeaderTemplate?: string | ((props: Record<string, unknown>) => React.ReactNode);
523
- resources?: ResourceModel[] | Resource[];
524
- rowAutoHeight?: boolean;
525
- selectedDate?: Date;
526
- showHeaderBar?: boolean;
527
- showQuickInfoPopup?: boolean;
528
- showResourceHeaders?: boolean;
529
- showTimeIndicator?: boolean;
530
- currentTimeIndicator?: boolean;
531
- startHour?: string;
532
- timeScale?: TimeScaleModel;
533
- timezone?: string;
534
- timezoneDataSource?: TimezoneFields[];
535
- toolbarItems?: (string | ToolbarItemModel)[];
536
- views?: (View | ViewsModel)[];
537
- width?: string | number;
538
- workDays?: number[];
539
- workHours?: WorkHoursModel;
540
- cell?: string | ((date: Date, resourceId?: string) => React.ReactNode);
541
- cellTemplate?: string | ((props: Record<string, unknown>) => React.ReactNode);
542
- editorFooterTemplate?: string | ((props: Record<string, unknown>) => React.ReactNode);
543
- editorHeaderTemplate?: string | ((props: Record<string, unknown>) => React.ReactNode);
544
- editorTemplate?: string | ((props: Record<string, unknown>) => React.ReactNode);
545
- enableHtmlSanitizer?: boolean;
546
- eventDragArea?: string;
547
- monthsCount?: number;
548
- overscanCount?: number;
549
- progressiveRendering?: boolean;
550
- prefetchDistance?: number;
551
- debugVirtualization?: boolean;
552
- quickInfoTemplates?: QuickInfoTemplatesModel;
553
- showWeekNumber?: boolean;
554
- showWeekend?: boolean;
555
- timeFormat?: string;
556
- weekRule?: WeekRule;
557
- recurrenceEngine?: unknown;
558
- slotDuration?: number;
559
- slotHeight?: number;
560
- isLoading?: boolean;
561
- allowPastEvents?: boolean;
562
- is24Hour?: boolean;
563
- onEventOverlap?: (args: {
564
- event: SchedulerEvent;
565
- existingEvents: SchedulerEvent[];
566
- cancel: boolean;
567
- }) => void;
568
- onCellContextMenu?: (args: {
569
- date: Date;
570
- x: number;
571
- y: number;
572
- }) => void;
573
- events?: SchedulerEvent[];
574
- defaultView?: ViewType;
575
- defaultSelectedDate?: Date;
576
- showResourcesInDayView?: boolean;
577
- showUnassignedLane?: boolean;
578
- onViewChange?: (view: View) => void;
579
- onDateChange?: (date: Date) => void;
580
- onSlotDurationChange?: (duration: number) => void;
581
- onCellClick?: (date: Date, resourceId?: string) => void;
582
- onCellDoubleClick?: (date: Date, resourceId?: string) => void;
583
- onEventClick?: (event: SchedulerEvent) => void;
584
- onEventDoubleClick?: (event: SchedulerEvent) => void;
585
- onEventCreate?: (event: Partial<SchedulerEvent>) => void | Promise<void>;
586
- onEventDelete?: (eventId: string) => void | Promise<void>;
587
- onEventChange?: (event: SchedulerEvent) => void | Promise<void>;
588
- actionBegin?: (args: ActionEventArgs) => void;
589
- actionComplete?: (args: ActionEventArgs) => void;
590
- actionFailure?: (args: ActionFailureArgs) => void;
591
- cellClick?: (args: CellClickEventArgs) => void;
592
- cellDoubleClick?: (args: CellClickEventArgs) => void;
593
- eventClick?: (args: EventClickEventArgs) => void;
594
- eventDoubleClick?: (args: EventClickEventArgs) => void;
595
- navigating?: (args: NavigatingEventArgs) => void;
596
- popupClose?: (args: PopupCloseEventArgs) => void;
597
- popupOpen?: (args: PopupOpenEventArgs) => void;
598
- renderCell?: (args: RenderCellEventArgs) => void;
599
- resizeStart?: (args: ResizeEventArgs) => void;
600
- resizeStop?: (args: ResizeEventArgs) => void;
601
- dragStart?: (args: DragEventArgs) => void;
602
- drag?: (args: DragEventArgs) => void;
603
- dragStop?: (args: DragEventArgs) => void;
604
- select?: (args: SelectEventArgs) => void;
605
- beforePaste?: (args: Record<string, unknown>) => void;
606
- beforePrint?: (args: Record<string, unknown>) => void;
607
- created?: (args: Record<string, unknown>) => void;
608
- dataBinding?: (args: Record<string, unknown>) => void;
609
- dataBound?: (args: Record<string, unknown>) => void;
610
- destroyed?: (args: Record<string, unknown>) => void;
611
- eventRendered?: (args: Record<string, unknown>) => void;
612
- excelExport?: (args: Record<string, unknown>) => void;
613
- hover?: (args: Record<string, unknown>) => void;
614
- moreEventsClick?: (args: Record<string, unknown>) => void;
615
- resizing?: (args: ResizeEventArgs) => void;
616
- tooltipOpen?: (args: Record<string, unknown>) => void;
617
- virtualScrollStart?: (args: Record<string, unknown>) => void;
618
- virtualScrollStop?: (args: Record<string, unknown>) => void;
619
- onExportExcel?: (events: SchedulerEvent[]) => void;
620
- onExportCSV?: (events: SchedulerEvent[]) => void;
621
- onExportICS?: (events: SchedulerEvent[]) => void;
622
- }
623
-
624
- /**
625
- * Imperative API Reference
626
- */
627
- declare interface EzSchedulerRef {
628
- /**
629
- * Change the current view.
630
- * @group Methods
631
- */
632
- changeView: (view: View) => void;
633
- /**
634
- * The current view mode.
635
- * @group Properties
636
- */
637
- currentView: View;
638
- /**
639
- * Scroll to a specific row index.
640
- * @group Methods
641
- */
642
- scrollToIndex: (index: number) => void;
643
- /**
644
- * Scroll to a specific time.
645
- * @group Methods
646
- */
647
- scrollTo: (hour: string, minute?: number) => void;
648
- /**
649
- * Navigate to the next date range.
650
- * @group Methods
651
- */
652
- next: () => void;
653
- /**
654
- * Navigate to the previous date range.
655
- * @group Methods
656
- */
657
- prev: () => void;
658
- /**
659
- * Navigate to today.
660
- * @group Methods
661
- */
662
- today: () => void;
663
- /**
664
- * Scroll to a specific time (legacy).
665
- * @group Methods
666
- */
667
- scrollToTime: (hour: number, minute: number) => void;
668
- /**
669
- * Refresh the scheduler layout.
670
- * @group Methods
671
- */
672
- refresh: () => void;
673
- /**
674
- * Get all events.
675
- * @group Methods
676
- */
677
- getData: () => Promise<SchedulerEvent[]>;
678
- /**
679
- * Add a new event.
680
- * @group Methods
681
- */
682
- addEvent: (event: SchedulerEvent | Record<string, unknown>) => Promise<void>;
683
- /**
684
- * Save an existing or new event.
685
- * @group Methods
686
- */
687
- saveEvent: (event: SchedulerEvent | Record<string, unknown>) => Promise<void>;
688
- /**
689
- * Delete an event by ID.
690
- * @group Methods
691
- */
692
- deleteEvent: (id: string | number) => Promise<void>;
693
- /**
694
- * Get all events.
695
- * @group Methods
696
- */
697
- getEvents: () => Promise<SchedulerEvent[]>;
698
- /**
699
- * Get events in a specific date range.
700
- * @group Methods
701
- */
702
- getEventsInDateRange: (start: Date, end: Date) => Promise<SchedulerEvent[]>;
703
- /**
704
- * Add a new resource.
705
- * @group Methods
706
- */
707
- addResource: (resource: Resource | Record<string, unknown>) => Promise<void>;
708
- /**
709
- * Remove a resource by ID.
710
- * @group Methods
711
- */
712
- removeResource: (resourceId: string | number) => Promise<void>;
713
- /**
714
- * Open the event editor.
715
- * @group Methods
716
- */
717
- openEditor: (event: SchedulerEvent, action: CurrentAction) => void;
718
- /**
719
- * Close the event editor.
720
- * @group Methods
721
- */
722
- closeEditor: () => void;
723
- /**
724
- * Close the quick info popup.
725
- * @group Methods
726
- */
727
- closeQuickInfoPopup: () => void;
728
- /**
729
- * Show the loading spinner.
730
- * @group Methods
731
- */
732
- showSpinner: () => void;
733
- /**
734
- * Hide the loading spinner.
735
- * @group Methods
736
- */
737
- hideSpinner: () => void;
738
- /**
739
- * Export to Excel.
740
- * @group Methods
741
- */
742
- exportToExcel: () => void;
743
- /**
744
- * Export to CSV.
745
- * @group Methods
746
- */
747
- exportToCsv: () => void;
748
- /**
749
- * Print the scheduler.
750
- * @group Methods
751
- */
752
- print: () => void;
753
- /**
754
- * Destroy the component instance.
755
- * @group Methods
756
- */
757
- destroy: () => void;
758
- }
759
-
760
- /**
761
- * Event field mapping configuration.
762
- */
763
- declare interface FieldModel {
764
- /**
765
- * ID field name.
766
- * @group Models
767
- */
768
- id?: string;
769
- /**
770
- * Subject/Title field name.
771
- * @group Models
772
- */
773
- subject?: string;
774
- /**
775
- * Start time field name.
776
- * @group Models
777
- */
778
- startTime?: string;
779
- /**
780
- * End time field name.
781
- * @group Models
782
- */
783
- endTime?: string;
784
- /**
785
- * Description field name.
786
- * @group Models
787
- */
788
- description?: string;
789
- /**
790
- * Location field name.
791
- * @group Models
792
- */
793
- location?: string;
794
- /**
795
- * Recurrence rule field name.
796
- * @group Models
797
- */
798
- recurrenceRule?: string;
799
- /**
800
- * Recurrence ID field name.
801
- * @group Models
802
- */
803
- recurrenceID?: string;
804
- /**
805
- * Recurrence exception field name.
806
- * @group Models
807
- */
808
- recurrenceException?: string;
809
- /**
810
- * Is all day field name.
811
- * @group Models
812
- */
813
- isAllDay?: string;
814
- }
815
-
816
- declare interface FilterGroup {
817
- kind?: 'group';
818
- id?: string;
819
- logic: 'AND' | 'OR';
820
- filters: (FilterRule | FilterGroup)[];
821
- }
822
-
823
- /**
824
- * Filter Utilities Types
825
- */
826
- declare type FilterOperator = 'contains' | 'doesNotContain' | 'shouldContain' | 'equals' | 'notEquals' | 'doesNotEqual' | 'startsWith' | 'endsWith' | 'empty' | 'notEmpty' | 'gt' | 'greaterThan' | 'lt' | 'lessThan' | 'gte' | 'greaterThanOrEqual' | 'lte' | 'lessThanOrEqual' | 'between' | 'in' | 'notIn';
827
-
828
- declare interface FilterRule<TValue = unknown> {
829
- kind?: 'rule';
830
- id?: string;
831
- field: string;
832
- operator: FilterOperator;
833
- value: TValue;
834
- condition?: 'and' | 'or';
835
- }
836
-
837
- /**
838
- * Configuration for grouping resources.
839
- */
840
- declare interface GroupModel {
841
- /**
842
- * Group by date first.
843
- * @group Models
844
- */
845
- byDate?: boolean;
846
- /**
847
- * Group by group ID.
848
- * @group Models
849
- */
850
- byGroupID?: boolean;
851
- /**
852
- * List of resource names to group by.
853
- * @group Models
854
- */
855
- resources?: string[];
856
- /**
857
- * Enable compact view for groups.
858
- * @group Models
859
- */
860
- enableCompactView?: boolean;
861
- }
862
-
863
- /**
864
- * Header row configuration.
865
- */
866
- declare interface HeaderRowModel {
867
- /**
868
- * The header row option.
869
- * @group Models
870
- */
871
- option: 'Year' | 'Month' | 'Week' | 'Date' | 'Hour';
872
- /**
873
- * Template for the header row.
874
- * @group Models
875
- */
876
- template?: string | ((props: Record<string, unknown>) => React.ReactNode);
877
- }
878
-
879
- /**
880
- * Base interface for all services in the EzUX ecosystem.
881
- * @group Services
882
- */
883
- declare interface IService {
884
- /** Unique name of the service for registration and lookup. @group Data */
885
- name: string;
886
- /** Optional cleanup logic to run when the service is unregistered. @group Methods */
887
- cleanup?: () => void;
888
- }
889
-
890
- /**
891
- * Arguments for navigation events.
892
- */
893
- declare interface NavigatingEventArgs {
894
- previousDate: Date;
895
- currentDate: Date;
896
- previousView: View | ViewType;
897
- currentView: View | ViewType;
898
- cancel?: boolean;
899
- }
900
-
901
- /**
902
- * Common pagination model
903
- */
904
- declare interface PaginationModel {
905
- pageIndex: number;
906
- pageSize: number;
907
- totalRows?: number;
908
- }
909
-
910
- /**
911
- * Arguments for popup close events.
912
- */
913
- declare interface PopupCloseEventArgs {
914
- type: 'Editor' | 'QuickInfo' | string;
915
- data?: EventData | Record<string, unknown>;
916
- element?: HTMLElement;
917
- cancel: boolean;
918
- }
919
-
920
- /**
921
- * Arguments for popup events.
922
- */
923
- declare interface PopupOpenEventArgs {
924
- type: 'Editor' | 'QuickInfo' | string;
925
- data?: EventData | Record<string, unknown>;
926
- element?: HTMLElement;
927
- cancel: boolean;
928
- }
929
-
930
- /**
931
- * Quick info templates configuration.
932
- */
933
- declare interface QuickInfoTemplatesModel {
934
- /**
935
- * Template for the content area.
936
- * @group Models
937
- */
938
- content?: string | ((props: Record<string, unknown>) => React.ReactNode);
939
- /**
940
- * Template for the footer area.
941
- * @group Models
942
- */
943
- footer?: string | ((props: Record<string, unknown>) => React.ReactNode);
944
- /**
945
- * Template for the header area.
946
- * @group Models
947
- */
948
- header?: string | ((props: Record<string, unknown>) => React.ReactNode);
949
- }
950
-
951
- /**
952
- * Recurrence configuration for an event.
953
- */
954
- declare interface Recurrence {
955
- frequency: 'Never' | 'Daily' | 'Weekly' | 'Monthly' | 'Yearly';
956
- interval?: number;
957
- unit?: string;
958
- end?: 'Never' | 'Until' | 'Count';
959
- endCount?: number;
960
- endUntil?: Date;
961
- days?: string[];
962
- repeatBy?: 'day' | 'ordinal';
963
- }
964
-
965
- /**
966
- * Reminder configuration for an event.
967
- */
968
- declare interface Reminder {
969
- /**
970
- * Unique identifier for the reminder.
971
- * @group Models
972
- */
973
- id: string;
974
- /**
975
- * Type of reminder.
976
- * @group Models
977
- */
978
- type: 'email' | 'popup' | 'sms';
979
- /**
980
- * Minutes before start to trigger.
981
- * @group Models
982
- */
983
- minutesBefore: number;
984
- /**
985
- * Current status.
986
- * @group Models
987
- */
988
- status?: 'pending' | 'sent' | 'dismissed';
989
- }
990
-
991
- /**
992
- * Arguments for cell rendering events.
993
- */
994
- declare interface RenderCellEventArgs {
995
- date: Date;
996
- element: HTMLElement;
997
- view: View;
998
- groupIndex?: number;
999
- }
1000
-
1001
- /**
1002
- * Arguments for resize events.
1003
- */
1004
- declare interface ResizeEventArgs {
1005
- data: EventData;
1006
- element?: HTMLElement;
1007
- cancel: boolean;
1008
- }
1009
-
1010
- /**
1011
- * Represents a resource (e.g., person, room, equipment) in the scheduler.
1012
- */
1013
- declare interface Resource {
1014
- /** Unique identifier for the resource */
1015
- id: string;
1016
- /** Display name of the resource */
1017
- name: string;
1018
- /** Color associated with the resource */
1019
- color?: string;
1020
- /** URL to the resource's avatar image */
1021
- avatar?: string;
1022
- /** Type or designation of the resource */
1023
- type?: string;
1024
- /** Working hours configuration for this resource */
1025
- workingHours?: {
1026
- start: number;
1027
- end: number;
1028
- days: number[];
1029
- };
1030
- [key: string]: unknown;
1031
- }
1032
-
1033
- /**
1034
- * Metadata about resource collection.
1035
- */
1036
- declare interface ResourceModel {
1037
- /**
1038
- * Name of the field in the event data.
1039
- * @group Models
1040
- */
1041
- field: string;
1042
- /**
1043
- * Title of the resource.
1044
- * @group Models
1045
- */
1046
- title: string;
1047
- /**
1048
- * Unique name index.
1049
- * @group Models
1050
- */
1051
- name: string;
1052
- /**
1053
- * Resource data array.
1054
- * @group Models
1055
- */
1056
- dataSource: Record<string, unknown>[] | unknown;
1057
- /**
1058
- * Field for resource text.
1059
- * @group Models
1060
- */
1061
- textField: string;
1062
- /**
1063
- * Field for resource ID.
1064
- * @group Models
1065
- */
1066
- idField: string;
1067
- /**
1068
- * Field for grouping.
1069
- * @group Models
1070
- */
1071
- groupIDField?: string;
1072
- /**
1073
- * Field for resource color.
1074
- * @group Models
1075
- */
1076
- colorField?: string;
1077
- /**
1078
- * Allow multiple resources.
1079
- * @group Models
1080
- */
1081
- allowMultiple?: boolean;
1082
- }
1083
-
1084
- /**
1085
- * Represents a single event in the scheduler.
1086
- */
1087
- declare interface SchedulerEvent {
1088
- /** Unique identifier for the event */
1089
- id: string;
1090
- /** Title of the event displayed in the scheduler */
1091
- title: string;
1092
- /** Start date and time of the event */
1093
- start: Date;
1094
- /** End date and time of the event */
1095
- end: Date;
1096
- /** Resource ID associated with the event (single resource) */
1097
- resourceId?: string;
1098
- /** Resource IDs associated with the event (multiple resources) */
1099
- resourceIds?: string[];
1100
- /** Background color of the event */
1101
- color?: string;
1102
- /** Whether the event lasts all day */
1103
- allDay?: boolean;
1104
- /** Detailed description of the event */
1105
- description?: string;
1106
- /** Recurrence rule string (RRULE) */
1107
- rrule?: string;
1108
- /** Legacy recurrence rule property */
1109
- recurrenceRule?: string;
1110
- /** Excluded dates for recurrence */
1111
- exdate?: string[];
1112
- /** Recurrence exception dates */
1113
- recurrenceException?: string;
1114
- /** ID of the parent recurrence event */
1115
- recurrenceId?: string;
1116
- /** Original start date of the recurrence instance */
1117
- originalStart?: Date;
1118
- /** Files attached to the event */
1119
- attachedFiles?: File[];
1120
- /** Whether the event blocks the time slot (e.g., lunch break) */
1121
- isBlock?: boolean;
1122
- /** Location of the event */
1123
- location?: string;
1124
- /** List of attendees */
1125
- attendees?: Attendee[];
1126
- /** List of reminders */
1127
- reminders?: Reminder[];
1128
- /** Timezone configuration */
1129
- timezone?: Timezone;
1130
- /** Recurrence configuration */
1131
- recurrence?: Recurrence;
1132
- /** Files attached to the event (alias for attachedFiles) */
1133
- attachments?: any[];
1134
- /** Whether the event is a holiday */
1135
- isHoliday?: boolean;
1136
- /** Whether the event slot is fully booked */
1137
- isFullyBooked?: boolean;
1138
- [key: string]: unknown;
1139
- }
1140
-
1141
- /**
1142
- * Configuration for component slots and their props.
1143
- * @group Extensibility
1144
- */
1145
- declare interface SchedulerSlotConfig {
1146
- slots?: {
1147
- toolbar?: React.ComponentType<unknown>;
1148
- eventModal?: React.ComponentType<unknown>;
1149
- quickAdd?: React.ComponentType<unknown>;
1150
- resourceSidebar?: React.ComponentType<unknown>;
1151
- [key: string]: React.ComponentType<unknown> | undefined;
1152
- };
1153
- slotProps?: {
1154
- toolbar?: Record<string, unknown>;
1155
- eventModal?: Record<string, unknown>;
1156
- quickAdd?: Record<string, unknown>;
1157
- resourceSidebar?: Record<string, unknown>;
1158
- [key: string]: Record<string, unknown> | undefined;
1159
- };
1160
- }
1161
-
1162
- /**
1163
- * Arguments for selection events.
1164
- */
1165
- declare interface SelectEventArgs {
1166
- element?: HTMLElement[];
1167
- startTime: Date;
1168
- endTime: Date;
1169
- }
1170
-
1171
- /**
1172
- * Interface for a service repository that manages service lifecycles and dependency injection.
1173
- * @group Services
1174
- */
1175
- declare interface ServiceRegistry {
1176
- /** Registers a service instance by name. @group Methods */
1177
- register<T extends IService>(name: string, service: T): void;
1178
- /** Retrieves a service instance by name, if it exists. @group Methods */
1179
- get<T extends IService>(name: string): T | undefined;
1180
- /** Retrieves a service or throws an error if not found. @group Methods */
1181
- getOrThrow<T extends IService>(name: string): T;
1182
- /** Removes a service from the registry and triggers its cleanup. @group Methods */
1183
- unregister(name: string): void;
1184
- /** Triggers cleanup for all registered services. @group Methods */
1185
- cleanupAll(): void;
1186
- /** Subscribes to registry state changes (e.g. services added or removed). @group Methods */
1187
- subscribe(listener: (state: ServiceRegistryState) => void): () => void;
1188
- }
1189
-
1190
- declare interface ServiceRegistryState {
1191
- serviceNames: string[];
1192
- }
1193
-
1194
- declare interface SharedBaseProps<TData = unknown> extends BaseComponentProps, ComponentEventCallbacks<TData> {
1195
- /**
1196
- * The shared service registry instance.
1197
- * This is required to access shared services like HierarchyService, FocusManagerService, etc.
1198
- * @group Services
1199
- */
1200
- serviceRegistry?: ServiceRegistry;
1201
- }
1202
-
1203
- /**
1204
- * Props for the slot template.
1205
- */
1206
- declare interface SlotTemplateProps {
1207
- /**
1208
- * The date of the slot.
1209
- * @group Models
1210
- */
1211
- date: Date;
1212
- /**
1213
- * Whether the slot is a working day.
1214
- * @group Models
1215
- */
1216
- isWorkingDay: boolean;
1217
- /**
1218
- * The group index.
1219
- * @group Models
1220
- */
1221
- groupIndex: number;
1222
- }
1223
-
1224
- /**
1225
- * Common sort direction
1226
- */
1227
- declare type SortDirection = 'asc' | 'desc' | false;
1228
-
1229
- /**
1230
- * Common sort model
1231
- */
1232
- declare interface SortModel {
1233
- field: string;
1234
- direction: SortDirection;
1235
- }
1236
-
1237
- /**
1238
- * Time scale configuration.
1239
- */
1240
- declare interface TimeScaleModel {
1241
- /**
1242
- * Enable time scale.
1243
- * @group Models
1244
- */
1245
- enable: boolean;
1246
- /**
1247
- * Time interval in minutes.
1248
- * @group Models
1249
- */
1250
- interval: number;
1251
- /**
1252
- * Number of slots per interval.
1253
- * @group Models
1254
- */
1255
- slotCount: number;
1256
- /**
1257
- * Template for major time slots.
1258
- * @group Models
1259
- */
1260
- majorSlotTemplate?: string | ((props: SlotTemplateProps) => React.ReactNode);
1261
- /**
1262
- * Template for minor time slots.
1263
- * @group Models
1264
- */
1265
- minorSlotTemplate?: string | ((props: SlotTemplateProps) => React.ReactNode);
1266
- }
1267
-
1268
- /**
1269
- * Timezone configuration for an event.
1270
- */
1271
- declare interface Timezone {
1272
- start?: string;
1273
- end?: string;
1274
- }
1275
-
1276
- /**
1277
- * Timezone field configuration.
1278
- */
1279
- declare interface TimezoneFields {
1280
- /**
1281
- * Display label.
1282
- * @group Models
1283
- */
1284
- label: string;
1285
- /**
1286
- * Timezone value.
1287
- * @group Models
1288
- */
1289
- value: string;
1290
- }
1291
-
1292
- /**
1293
- * Toolbar item configuration.
1294
- */
1295
- declare interface ToolbarItemModel {
1296
- /**
1297
- * Text to display.
1298
- * @group Models
1299
- */
1300
- text: string;
1301
- /**
1302
- * CSS class for the item.
1303
- * @group Models
1304
- */
1305
- cssClass?: string;
1306
- /**
1307
- * CSS class for the icon.
1308
- * @group Models
1309
- */
1310
- iconCss?: string;
1311
- /**
1312
- * Alignment of the item.
1313
- * @group Models
1314
- */
1315
- align?: 'Left' | 'Center' | 'Right';
1316
- }
1317
-
1318
- /**
1319
- * Available view modes for the scheduler.
1320
- */
1321
- declare type View = 'Day' | 'Week' | 'WorkWeek' | 'Month' | 'TimelineDay' | 'TimelineWeek' | 'TimelineWorkWeek' | 'TimelineMonth' | 'Agenda' | 'MonthAgenda' | 'Year';
1322
-
1323
- /**
1324
- * View configuration.
1325
- */
1326
- declare interface ViewsModel {
1327
- /**
1328
- * View mode.
1329
- * @group Models
1330
- */
1331
- option: View;
1332
- /**
1333
- * Allow virtual scrolling in this view.
1334
- * @group Models
1335
- */
1336
- allowVirtualScrolling?: boolean;
1337
- /**
1338
- * Display name for the view.
1339
- * @group Models
1340
- */
1341
- displayName?: string;
1342
- /**
1343
- * Start hour for the view.
1344
- * @group Models
1345
- */
1346
- startHour?: string;
1347
- /**
1348
- * End hour for the view.
1349
- * @group Models
1350
- */
1351
- endHour?: string;
1352
- /**
1353
- * Time interval in minutes.
1354
- * @group Models
1355
- */
1356
- interval?: number;
1357
- /**
1358
- * Show weekend.
1359
- * @group Models
1360
- */
1361
- showWeekend?: boolean;
1362
- /**
1363
- * Is this view selected.
1364
- * @group Models
1365
- */
1366
- isSelected?: boolean;
1367
- }
1368
-
1369
- declare type ViewType = 'day' | 'week' | 'workweek' | 'month' | 'agenda' | 'timeline-day' | 'timeline-week' | 'timeline-month';
1370
-
1371
- declare type WeekRule = 'FirstDay' | 'FirstFourDayWeek' | 'FirstFullWeek';
1372
-
1373
- /**
1374
- * Working hours configuration.
1375
- */
1376
- declare interface WorkHoursModel {
1377
- /**
1378
- * Highlight working hours.
1379
- * @group Models
1380
- */
1381
- highlight?: boolean;
1382
- /**
1383
- * Start hour.
1384
- * @group Models
1385
- */
1386
- start?: string;
1387
- /**
1388
- * End hour.
1389
- * @group Models
1390
- */
1391
- end?: string;
1392
- }
1393
-
1394
- export { }
1395
-
1396
-
1397
- declare module '@tanstack/react-table' {
1398
- interface TableMeta<TData extends RowData> {
1399
- updateData?: (rowIndex: number, columnId: string, value: unknown) => void;
1400
- editingRows?: Record<string, boolean>;
1401
- toggleRowEditing?: (rowIndex: number, editing?: boolean) => void;
1402
- focusedCell?: {
1403
- r: number;
1404
- c: number;
1405
- } | null;
1406
- setFocusedCell?: (cell: {
1407
- r: number;
1408
- c: number;
1409
- } | null) => void;
1410
- navigateFocus?: (dr: number, dc: number) => void;
1411
- enableEditing?: boolean;
1412
- isRowEditable?: (row: TData) => boolean;
1413
- isCellEditable?: (row: TData, columnId: string) => boolean;
1414
- enableSearchHighlighting?: boolean;
1415
- selectionSettings?: SelectionSettings;
1416
- editSettings?: EditSettings;
1417
- filterSettings?: FilterSettings;
1418
- searchSettings?: SearchSettings;
1419
- sortSettings?: SortSettings;
1420
- textWrapSettings?: TextWrapSettings;
1421
- classNames?: EzTableClassNames<TData>;
1422
- icons?: EzTableIcons;
1423
- slots?: EzTableSlots<TData>;
1424
- slotProps?: Record<string, unknown>;
1425
- localization?: EzTableLocalization;
1426
- gridLines?: 'Both' | 'Horizontal' | 'Vertical' | 'None';
1427
- }
1428
- interface ColumnMeta<TData extends RowData, TValue> extends EzColumnMeta {
1429
- }
1430
- }
1
+ export * from './components/EzScheduler/index.js'
2
+ export {}