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
@@ -0,0 +1,808 @@
1
+ import { IService } from '../../shared/services/ServiceRegistry';
2
+ import { SharedBaseProps } from '../../shared/types/BaseProps';
3
+ /**
4
+ * Represents the entire Kanban board structure.
5
+ * @group Models
6
+ */
7
+ export interface KanbanBoard {
8
+ /** Unique identifier for the board. @group Properties */
9
+ id: string;
10
+ /** Display name of the board. @group Properties */
11
+ name: string;
12
+ /** Optional description of the board. @group Properties */
13
+ description?: string;
14
+ /** List of columns in the board. @group Properties */
15
+ columns: KanbanColumn[];
16
+ /** List of swimlanes (if enabled). @group Properties */
17
+ swimlanes?: KanbanSwimlane[];
18
+ /** List of all cards on the board. @group Properties */
19
+ cards: KanbanCard[];
20
+ /** User permissions for this board. @group Properties */
21
+ permissions?: KanbanPermissions;
22
+ /** Board-specific settings. @group Properties */
23
+ settings: BoardSettings;
24
+ /** Custom field definitions. @group Properties */
25
+ customFields?: CustomFieldDefinition[];
26
+ /** Creation timestamp. @group Properties */
27
+ createdAt: Date;
28
+ /** Last update timestamp. @group Properties */
29
+ updatedAt: Date;
30
+ }
31
+ /**
32
+ * Represents a swimlane in the Kanban board.
33
+ * @group Models
34
+ */
35
+ export interface KanbanSwimlane {
36
+ /** Unique identifier for the swimlane. @group Properties */
37
+ id: string;
38
+ /** Display name of the swimlane. @group Properties */
39
+ name: string;
40
+ /** Type of swimlane grouping. @group Properties */
41
+ type: 'team' | 'priority' | 'custom';
42
+ /** Optional background or accent color. @group Properties */
43
+ color?: string;
44
+ /** Vertical sorting position. @group Properties */
45
+ position: number;
46
+ /** Whether the swimlane is currently collapsed. @group State */
47
+ isCollapsed?: boolean;
48
+ }
49
+ /**
50
+ * Represents a column in the Kanban board.
51
+ * @group Models
52
+ */
53
+ export interface KanbanColumn {
54
+ /** Unique identifier for the column. @group Properties */
55
+ id: string;
56
+ /** Display name of the column. @group Properties */
57
+ name: string;
58
+ /** Header color of the column. @group Properties */
59
+ color?: string;
60
+ /** Icon for the column header. @group Properties */
61
+ icon?: string;
62
+ /** Work-in-progress limit for the column. @group Properties */
63
+ wipLimit?: number;
64
+ /** Sorting position of the column. @group Properties */
65
+ position: number;
66
+ /** Whether the column is collapsed. @group State */
67
+ isCollapsed?: boolean;
68
+ }
69
+ /**
70
+ * Configuration settings for a Kanban board.
71
+ * @group Models
72
+ */
73
+ export interface BoardSettings {
74
+ /** Whether to allow drag and drop. @group Properties */
75
+ allowDragAndDrop: boolean;
76
+ /** Whether to allow multi-select. @group Properties */
77
+ allowMultiSelect: boolean;
78
+ /** Whether to respect WIP limits. @group Properties */
79
+ enableWipLimits: boolean;
80
+ /** Initial view mode. @group Properties */
81
+ defaultView: 'standard' | 'swimlane' | 'timeline';
82
+ }
83
+ export type CardType = 'standard' | 'epic' | 'milestone' | 'template';
84
+ /**
85
+ * Represents a single task or card on the Kanban board.
86
+ */
87
+ export interface KanbanCard {
88
+ /** Unique identifier for the card */
89
+ id: string;
90
+ /** Type of card (e.g., standard, epic) */
91
+ type: CardType;
92
+ /** Title of the card */
93
+ title: string;
94
+ /** Description of the card */
95
+ description?: string;
96
+ /** ID of the column the card belongs to */
97
+ columnId: string;
98
+ /** ID of the swimlane the card belongs to (if any) */
99
+ swimlaneId?: string;
100
+ /** Sorting position within the column */
101
+ position: number;
102
+ /** Users assigned to this card */
103
+ assignees: CardAssignee[];
104
+ dueDate?: Date;
105
+ startDate?: Date;
106
+ completedAt?: Date;
107
+ tags: CardTag[];
108
+ priority?: 'low' | 'medium' | 'high' | 'critical';
109
+ metadata: Record<string, unknown>;
110
+ coverImage?: string;
111
+ checklists?: Checklist[];
112
+ attachments?: Attachment[];
113
+ comments?: Comment[];
114
+ customFieldValues?: Record<string, unknown>;
115
+ timeTracking?: {
116
+ estimated: number;
117
+ actual: number;
118
+ };
119
+ activity?: CardActivity[];
120
+ parentId?: string;
121
+ subtasks?: {
122
+ id: string;
123
+ title: string;
124
+ isCompleted: boolean;
125
+ }[];
126
+ createdBy: string;
127
+ createdAt: Date;
128
+ updatedBy: string;
129
+ updatedAt: Date;
130
+ isArchived?: boolean;
131
+ }
132
+ export interface CardAssignee {
133
+ id: string;
134
+ name: string;
135
+ email?: string;
136
+ avatarUrl?: string;
137
+ role?: 'owner' | 'assignee' | 'follower';
138
+ }
139
+ export interface CardTag {
140
+ id: string;
141
+ name: string;
142
+ color: string;
143
+ }
144
+ export interface Checklist {
145
+ id: string;
146
+ title: string;
147
+ items: ChecklistItem[];
148
+ }
149
+ export interface ChecklistItem {
150
+ id: string;
151
+ text: string;
152
+ isChecked: boolean;
153
+ }
154
+ export interface Attachment {
155
+ id: string;
156
+ name: string;
157
+ url: string;
158
+ type: string;
159
+ size?: number;
160
+ uploadedAt: Date;
161
+ }
162
+ export interface Comment {
163
+ id: string;
164
+ text: string;
165
+ authorId: string;
166
+ authorName: string;
167
+ isAutoGenerated?: boolean;
168
+ createdAt: Date;
169
+ }
170
+ export interface CardActivity {
171
+ id: string;
172
+ type: 'create' | 'move' | 'update' | 'comment' | 'attachment' | 'delete';
173
+ text: string;
174
+ userId: string;
175
+ userName: string;
176
+ createdAt: Date;
177
+ metadata?: Record<string, unknown>;
178
+ }
179
+ export interface CustomFieldDefinition {
180
+ id: string;
181
+ name: string;
182
+ type: 'text' | 'number' | 'date' | 'select' | 'checkbox';
183
+ options?: string[];
184
+ required?: boolean;
185
+ }
186
+ export interface KanbanPermissions {
187
+ userRole: 'admin' | 'editor' | 'viewer' | 'guest';
188
+ allowedActions: Array<'createCard' | 'updateCard' | 'deleteCard' | 'moveCard' | 'assignCard' | 'addColumn' | 'editColumn' | 'deleteColumn' | 'addSwimlane' | 'editSwimlane' | 'deleteSwimlane'>;
189
+ }
190
+ export interface FilterConfig {
191
+ tags?: string[];
192
+ assignees?: string[];
193
+ priority?: Array<'low' | 'medium' | 'high' | 'critical'>;
194
+ columns?: string[];
195
+ }
196
+ /**
197
+ * Configuration for component slots and their props.
198
+ * @group Extensibility
199
+ */
200
+ export interface KanbanSlotConfig {
201
+ slots?: {
202
+ toolbar?: React.ComponentType<any>;
203
+ board?: React.ComponentType<any>;
204
+ column?: React.ComponentType<any>;
205
+ card?: React.ComponentType<any>;
206
+ cardContent?: React.ComponentType<any>;
207
+ swimlane?: React.ComponentType<any>;
208
+ cardEditor?: React.ComponentType<any>;
209
+ [key: string]: React.ComponentType<any> | undefined;
210
+ };
211
+ slotProps?: {
212
+ toolbar?: Record<string, unknown>;
213
+ board?: Record<string, unknown>;
214
+ column?: Record<string, unknown>;
215
+ card?: Record<string, unknown>;
216
+ cardContent?: Record<string, unknown>;
217
+ swimlane?: Record<string, unknown>;
218
+ cardEditor?: Record<string, unknown>;
219
+ [key: string]: Record<string, unknown> | undefined;
220
+ };
221
+ }
222
+ /**
223
+ * Props for the EzKanban component.
224
+ */
225
+ export interface EzKanbanProps extends SharedBaseProps {
226
+ /**
227
+ * The board data object.
228
+ * @group Properties
229
+ */
230
+ board: KanbanBoard;
231
+ /**
232
+ * Callback when the board state changes.
233
+ * @group Events
234
+ */
235
+ onBoardChange?: (board: KanbanBoard) => void;
236
+ /**
237
+ * The current view mode.
238
+ * @group Properties
239
+ */
240
+ view?: 'standard' | 'swimlane' | 'timeline';
241
+ /**
242
+ * User permissions config.
243
+ * @group Properties
244
+ */
245
+ permissions?: KanbanPermissions;
246
+ /**
247
+ * Enable read-only mode.
248
+ * @group Properties
249
+ */
250
+ readOnly?: boolean;
251
+ /**
252
+ * Allow drag and drop.
253
+ * @group Properties
254
+ */
255
+ allowDragAndDrop?: boolean;
256
+ /**
257
+ * Allow selecting multiple cards.
258
+ * @group Properties
259
+ */
260
+ allowMultiSelect?: boolean;
261
+ /**
262
+ * Confirm before deleting items.
263
+ * @group Properties
264
+ */
265
+ confirmOnDelete?: boolean;
266
+ /**
267
+ * Enforce strict WIP limits.
268
+ * @group Properties
269
+ */
270
+ wipStrict?: boolean;
271
+ /**
272
+ * Locale for the board.
273
+ * @group Properties
274
+ */
275
+ locale?: string;
276
+ /**
277
+ * Enable RTL layout.
278
+ * @group Properties
279
+ */
280
+ rtl?: boolean;
281
+ /**
282
+ * Color theme.
283
+ * @group Properties
284
+ */
285
+ theme?: 'light' | 'dark' | 'system';
286
+ /**
287
+ * Text direction.
288
+ * @group Properties
289
+ */
290
+ dir?: 'ltr' | 'rtl' | 'auto';
291
+ /**
292
+ * Function to determine card class names.
293
+ * @group Properties
294
+ */
295
+ cardClassName?: (card: KanbanCard) => string | undefined;
296
+ /**
297
+ * List of plugins to enhance functionality.
298
+ * @group Extensibility
299
+ */
300
+ plugins?: KanbanPlugin[];
301
+ /**
302
+ * Slots for modular composition.
303
+ * @group Extensibility
304
+ */
305
+ slots?: KanbanSlotConfig['slots'];
306
+ /**
307
+ * Props for slots.
308
+ * @group Extensibility
309
+ */
310
+ slotProps?: KanbanSlotConfig['slotProps'];
311
+ /**
312
+ * Callback when a new card is being created.
313
+ * @group Events
314
+ */
315
+ onCardCreate?: (draft: Partial<KanbanCard>) => void | Promise<void>;
316
+ /**
317
+ * Callback when a card is updated.
318
+ * @group Events
319
+ */
320
+ onCardUpdate?: (card: KanbanCard, changeType: 'move' | 'edit' | 'assign' | 'complete') => Promise<void> | void;
321
+ /**
322
+ * Callback when a card is deleted.
323
+ * @group Events
324
+ */
325
+ onCardDelete?: (cardId: string) => void | Promise<void>;
326
+ /**
327
+ * Callback when a card is clicked.
328
+ * @group Events
329
+ */
330
+ onCardClick?: (card: KanbanCard) => void;
331
+ /**
332
+ * Callback when a card is double-clicked.
333
+ * @group Events
334
+ */
335
+ onCardDoubleClick?: (card: KanbanCard) => void;
336
+ /**
337
+ * Callback when cards are selected.
338
+ * @group Events
339
+ */
340
+ onCardSelect?: (cardIds: string[]) => void;
341
+ /**
342
+ * Callback when a column is created.
343
+ * @group Events
344
+ */
345
+ onColumnCreate?: (column: Partial<KanbanColumn>) => void | Promise<void>;
346
+ /**
347
+ * Callback when a column is updated.
348
+ * @group Events
349
+ */
350
+ onColumnUpdate?: (column: KanbanColumn) => void | Promise<void>;
351
+ /**
352
+ * Callback when a column is deleted.
353
+ * @group Events
354
+ */
355
+ onColumnDelete?: (columnId: string) => void | Promise<void>;
356
+ /**
357
+ * Callback when a swimlane is created.
358
+ * @group Events
359
+ */
360
+ onSwimlaneCreate?: (swimlane: Partial<KanbanSwimlane>) => void | Promise<void>;
361
+ /**
362
+ * Callback when a swimlane is updated.
363
+ * @group Events
364
+ */
365
+ onSwimlaneUpdate?: (swimlane: KanbanSwimlane) => void | Promise<void>;
366
+ /**
367
+ * Callback when a swimlane is deleted.
368
+ * @group Events
369
+ */
370
+ onSwimlaneDelete?: (swimlaneId: string) => void | Promise<void>;
371
+ /**
372
+ * Configuration for swimlanes.
373
+ * @group Enterprise
374
+ */
375
+ swimlaneSettings?: {
376
+ allowDragBetweenSwimlanes?: boolean;
377
+ allowReordering?: boolean;
378
+ collapsible?: boolean;
379
+ emptySwimlaneTemplate?: React.ReactNode;
380
+ };
381
+ /**
382
+ * Configuration for columns.
383
+ * @group Enterprise
384
+ */
385
+ columnSettings?: {
386
+ minWidth?: number;
387
+ maxWidth?: number;
388
+ allowCollapse?: boolean;
389
+ showItemCount?: boolean;
390
+ };
391
+ /**
392
+ * Configuration for drag and drop behavior.
393
+ * @group Enterprise
394
+ */
395
+ dragSettings?: {
396
+ dragClass?: string;
397
+ dropClass?: string;
398
+ dragClone?: boolean;
399
+ minDragDistance?: number;
400
+ };
401
+ /**
402
+ * Configuration for dialogs (editor, confirmation).
403
+ * @group Enterprise
404
+ */
405
+ dialogSettings?: {
406
+ modalZIndex?: number;
407
+ closeOnEscape?: boolean;
408
+ showCloseIcon?: boolean;
409
+ };
410
+ /**
411
+ * Enable tooltips for cards.
412
+ * @group Properties
413
+ */
414
+ enableTooltip?: boolean;
415
+ /**
416
+ * Template for card tooltips.
417
+ * @group Templates
418
+ */
419
+ tooltipTemplate?: (data: KanbanCard) => React.ReactNode;
420
+ /**
421
+ * Callback when card drag starts.
422
+ * @group Events
423
+ */
424
+ onCardDragStart?: (args: {
425
+ card: KanbanCard;
426
+ columnId: string;
427
+ cancel?: boolean;
428
+ }) => void;
429
+ /**
430
+ * Callback when card drag stops.
431
+ * @group Events
432
+ */
433
+ onCardDragStop?: (args: {
434
+ card: KanbanCard;
435
+ columnId: string;
436
+ cancel?: boolean;
437
+ }) => void;
438
+ /**
439
+ * Callback when card enters a column.
440
+ * @group Events
441
+ */
442
+ onCardDragEnter?: (args: {
443
+ card: KanbanCard;
444
+ targetColumnId: string;
445
+ }) => void;
446
+ /**
447
+ * Callback when card leaves a column.
448
+ * @group Events
449
+ */
450
+ onCardDragLeave?: (args: {
451
+ card: KanbanCard;
452
+ targetColumnId: string;
453
+ }) => void;
454
+ /**
455
+ * Callback before card render.
456
+ * @group Events
457
+ */
458
+ onBeforeCardRender?: (args: {
459
+ card: KanbanCard;
460
+ }) => void;
461
+ /**
462
+ * Callback when swimlane toggle.
463
+ * @group Events
464
+ */
465
+ onSwimlaneToggle?: (args: {
466
+ swimlaneId: string;
467
+ isCollapsed: boolean;
468
+ }) => void;
469
+ /**
470
+ * Threshold for virtualization.
471
+ * @group Performance
472
+ */
473
+ virtualizationThreshold?: number;
474
+ /**
475
+ * Accessibility configuration.
476
+ * @group Accessibility
477
+ */
478
+ ariaConfig?: Record<string, string>;
479
+ /**
480
+ * Enable keyboard navigation.
481
+ * @group Accessibility
482
+ */
483
+ keyboardNavigation?: boolean;
484
+ }
485
+ export interface KanbanPlugin {
486
+ name?: string;
487
+ onBeforeCardRender?: (card: Readonly<KanbanCard>) => KanbanCard | void;
488
+ onAfterCardRender?: (card: KanbanCard, element: HTMLElement) => void;
489
+ onAfterDragEnd?: (card: KanbanCard, target: {
490
+ columnId: string;
491
+ }) => void;
492
+ onBeforeDragStart?: (card: KanbanCard) => boolean | void;
493
+ onBeforeOptimisticUpdate?: (card: KanbanCard) => Partial<KanbanCard> | void;
494
+ onUpdateRollback?: (originalCard: KanbanCard, error?: Error) => void;
495
+ onWipLimitExceeded?: (columnId: string, currentCount: number, limit: number) => void;
496
+ cleanup?: () => void;
497
+ }
498
+ export interface EzKanbanRef<TCard = KanbanCard> {
499
+ /**
500
+ * Add a new card.
501
+ * @group Methods
502
+ */
503
+ addCard(draft: Partial<TCard>): Promise<TCard>;
504
+ /**
505
+ * Update an existing card.
506
+ * @group Methods
507
+ */
508
+ updateCard(cardId: string, updates: Partial<TCard>): Promise<unknown>;
509
+ /**
510
+ * Delete a card by ID.
511
+ * @group Methods
512
+ */
513
+ deleteCard(cardId: string): Promise<unknown>;
514
+ /**
515
+ * Move a card to a new column/swimlane.
516
+ * @group Methods
517
+ */
518
+ moveCard(cardId: string, targetColumnId: string, targetSwimlaneId?: string, targetPosition?: number): Promise<unknown>;
519
+ /**
520
+ * Duplicate a card.
521
+ * @group Methods
522
+ */
523
+ duplicateCard(cardId: string): Promise<TCard>;
524
+ /**
525
+ * Archive a card.
526
+ * @group Methods
527
+ */
528
+ archiveCard(cardId: string): Promise<unknown>;
529
+ /**
530
+ * Restore an archived card.
531
+ * @group Methods
532
+ */
533
+ restoreCard(cardId: string): Promise<unknown>;
534
+ /**
535
+ * Get a card by ID.
536
+ * @group Methods
537
+ */
538
+ getCard(cardId: string): TCard | undefined;
539
+ /**
540
+ * Get all cards.
541
+ * @group Methods
542
+ */
543
+ getCards(): TCard[];
544
+ /**
545
+ * Get cards in a specific column.
546
+ * @group Methods
547
+ */
548
+ getCardsInColumn(columnId: string): TCard[];
549
+ /**
550
+ * Get ordered cards in a column.
551
+ * @group Methods
552
+ */
553
+ getOrderedCards(columnId: string): TCard[];
554
+ /**
555
+ * Add a new column.
556
+ * @group Methods
557
+ */
558
+ addColumn(column: Partial<KanbanColumn>): Promise<KanbanColumn>;
559
+ /**
560
+ * Update a column.
561
+ * @group Methods
562
+ */
563
+ updateColumn(columnId: string, updates: Partial<KanbanColumn>): Promise<unknown>;
564
+ /**
565
+ * Delete a column.
566
+ * @group Methods
567
+ */
568
+ deleteColumn(columnId: string): Promise<unknown>;
569
+ /**
570
+ * Reorder columns.
571
+ * @group Methods
572
+ */
573
+ reorderColumns(columnIds: string[]): Promise<unknown>;
574
+ /**
575
+ * Collapse a column.
576
+ * @group Methods
577
+ */
578
+ collapseColumn(columnId: string): void;
579
+ /**
580
+ * Expand a column.
581
+ * @group Methods
582
+ */
583
+ expandColumn(columnId: string): void;
584
+ /**
585
+ * Get a column by ID.
586
+ * @group Methods
587
+ */
588
+ getColumn(columnId: string): KanbanColumn | undefined;
589
+ /**
590
+ * Get all columns.
591
+ * @group Methods
592
+ */
593
+ getColumns(): KanbanColumn[];
594
+ /**
595
+ * Add a new swimlane.
596
+ * @group Methods
597
+ */
598
+ addSwimlane(swimlane: Partial<KanbanSwimlane>): Promise<KanbanSwimlane>;
599
+ /**
600
+ * Update a swimlane.
601
+ * @group Methods
602
+ */
603
+ updateSwimlane(swimlaneId: string, updates: Partial<KanbanSwimlane>): Promise<unknown>;
604
+ /**
605
+ * Delete a swimlane.
606
+ * @group Methods
607
+ */
608
+ deleteSwimlane(swimlaneId: string): Promise<unknown>;
609
+ /**
610
+ * Reorder swimlanes.
611
+ * @group Methods
612
+ */
613
+ reorderSwimlanes(swimlaneIds: string[]): Promise<unknown>;
614
+ /**
615
+ * Collapse a swimlane.
616
+ * @group Methods
617
+ */
618
+ collapseSwimlane(swimlaneId: string): void;
619
+ /**
620
+ * Expand a swimlane.
621
+ * @group Methods
622
+ */
623
+ expandSwimlane(swimlaneId: string): void;
624
+ /**
625
+ * Get a swimlane by ID.
626
+ * @group Methods
627
+ */
628
+ getSwimlane(swimlaneId: string): KanbanSwimlane | undefined;
629
+ /**
630
+ * Get all swimlanes.
631
+ * @group Methods
632
+ */
633
+ getSwimlanes(): KanbanSwimlane[];
634
+ /**
635
+ * Select a card.
636
+ * @group Methods
637
+ */
638
+ selectCard(cardId: string): void;
639
+ /**
640
+ * Select multiple cards.
641
+ * @group Methods
642
+ */
643
+ selectCards(cardIds: string[]): void;
644
+ /**
645
+ * Deselect a card.
646
+ * @group Methods
647
+ */
648
+ deselectCard(cardId: string): void;
649
+ /**
650
+ * Deselect all cards.
651
+ * @group Methods
652
+ */
653
+ deselectAllCards(): void;
654
+ /**
655
+ * Get currently selected cards.
656
+ * @group Methods
657
+ */
658
+ getSelectedCards(): TCard[];
659
+ /**
660
+ * Focus a card.
661
+ * @group Methods
662
+ */
663
+ focusCard(cardId: string): void;
664
+ /**
665
+ * Highlight a card.
666
+ * @group Methods
667
+ */
668
+ highlightCard(cardId: string, duration?: number): void;
669
+ /**
670
+ * Set the current view.
671
+ * @group Methods
672
+ */
673
+ setView(view: 'standard' | 'swimlane' | 'timeline'): void;
674
+ /**
675
+ * Get the current view.
676
+ * @group Methods
677
+ */
678
+ getView(): 'standard' | 'swimlane' | 'timeline';
679
+ /**
680
+ * Scroll to a column.
681
+ * @group Methods
682
+ */
683
+ scrollToColumn(columnId: string, options?: ScrollIntoViewOptions): void;
684
+ /**
685
+ * Scroll to a card.
686
+ * @group Methods
687
+ */
688
+ scrollToCard(cardId: string, options?: ScrollIntoViewOptions): void;
689
+ /**
690
+ * Set the search query.
691
+ * @group Methods
692
+ */
693
+ setSearchQuery(query: string): void;
694
+ /**
695
+ * Get the search query.
696
+ * @group Methods
697
+ */
698
+ getSearchQuery(): string;
699
+ /**
700
+ * Set active filters.
701
+ * @group Methods
702
+ */
703
+ setActiveFilters(filters: FilterConfig): void;
704
+ /**
705
+ * Get active filters.
706
+ * @group Methods
707
+ */
708
+ getActiveFilters(): FilterConfig;
709
+ /**
710
+ * Clear all filters.
711
+ * @group Methods
712
+ */
713
+ clearFilters(): void;
714
+ /**
715
+ * Get filtered cards.
716
+ * @group Methods
717
+ */
718
+ getFilteredCards(): TCard[];
719
+ /**
720
+ * Get the full board object.
721
+ * @group Methods
722
+ */
723
+ getBoard(): KanbanBoard;
724
+ /**
725
+ * Replace the board object.
726
+ * @group Methods
727
+ */
728
+ setBoard(board: KanbanBoard): void;
729
+ /**
730
+ * Refresh the board layout.
731
+ * @group Methods
732
+ */
733
+ refresh(): Promise<void>;
734
+ /**
735
+ * Reset the board state.
736
+ * @group Methods
737
+ */
738
+ reset(): void;
739
+ /**
740
+ * Show the loading spinner.
741
+ * @group Methods
742
+ */
743
+ showSpinner(): void;
744
+ /**
745
+ * Hide the loading spinner.
746
+ * @group Methods
747
+ */
748
+ hideSpinner(): void;
749
+ /**
750
+ * Force a re-render.
751
+ * @group Methods
752
+ */
753
+ forceUpdate(): void;
754
+ /**
755
+ * Get board statistics.
756
+ * @group Methods
757
+ */
758
+ getStatistics(): {
759
+ totalCards: number;
760
+ totalColumns: number;
761
+ };
762
+ /**
763
+ * Validate the board state.
764
+ * @group Methods
765
+ */
766
+ validate(): {
767
+ isValid: boolean;
768
+ errors: string[];
769
+ };
770
+ }
771
+ /**
772
+ * Service interface for Kanban board data operations.
773
+ * @group Services
774
+ */
775
+ export interface IKanbanService extends IService {
776
+ /** Fetches a board by ID. @group Methods */
777
+ getBoard(boardId: string): Promise<KanbanBoard>;
778
+ /** Creates a new board. @group Methods */
779
+ createBoard(board: Partial<KanbanBoard>): Promise<KanbanBoard>;
780
+ /** Updates board metadata. @group Methods */
781
+ updateBoard(boardId: string, updates: Partial<KanbanBoard>): Promise<void>;
782
+ /** Deletes a board. @group Methods */
783
+ deleteBoard(boardId: string): Promise<void>;
784
+ /** Creates a card in a board. @group Methods */
785
+ createCard(boardId: string, card: Partial<KanbanCard>): Promise<KanbanCard>;
786
+ /** Updates an existing card. @group Methods */
787
+ updateCard(cardId: string, updates: Partial<KanbanCard>): Promise<void>;
788
+ /** Deletes a card. @group Methods */
789
+ deleteCard(cardId: string): Promise<void>;
790
+ /** Moves a card across columns/swimlanes. @group Methods */
791
+ moveCard(cardId: string, targetColumnId: string, targetSwimlaneId?: string, targetPosition?: number): Promise<void>;
792
+ /** Creates a new column. @group Methods */
793
+ createColumn(boardId: string, column: Partial<KanbanColumn>): Promise<KanbanColumn>;
794
+ /** Updates column settings. @group Methods */
795
+ updateColumn(columnId: string, updates: Partial<KanbanColumn>): Promise<void>;
796
+ /** Deletes a column. @group Methods */
797
+ deleteColumn(columnId: string): Promise<void>;
798
+ /** Creates a new swimlane. @group Methods */
799
+ createSwimlane(boardId: string, swimlane: Partial<KanbanSwimlane>): Promise<KanbanSwimlane>;
800
+ /** Updates swimlane settings. @group Methods */
801
+ updateSwimlane(swimlaneId: string, updates: Partial<KanbanSwimlane>): Promise<void>;
802
+ /** Deletes a swimlane. @group Methods */
803
+ deleteSwimlane(swimlaneId: string): Promise<void>;
804
+ /** Optional method to pre-populate board data. @group Methods */
805
+ initializeWithData?(boards: KanbanBoard[]): void;
806
+ /** Service cleanup logic. @group Methods */
807
+ cleanup(): void;
808
+ }