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
package/dist/index.es.js CHANGED
@@ -1,1043 +1,231 @@
1
- import { E as I, a as B } from "./index-BQKw_Vho.js";
2
- import { b as Ie, c as Be, d as Re, e as Pe, f as $e, g as Ae, h as je, i as Fe, j as Oe, k as Ke, S as Ve, l as He } from "./index-BQKw_Vho.js";
3
- import { B as _e, a as Ge, b as Xe, c as We, C as Ue, d as Qe, e as qe, f as Ye, g as Ze, h as et, i as tt, j as at, E as rt, k as st, P as nt, l as ot, m as it, n as lt, R as dt, o as ct, S as ut, p as mt, q as ft, r as pt, s as ht, t as wt, u as bt, v as gt, w as yt } from "./index-C5STgBSy.js";
4
- import { EzTableToolbar as Ct } from "./EzTableToolbar-Bz8UWv6j.js";
5
- import { EzTableFooter as vt } from "./EzTableFooter-DveD12RC.js";
6
- import { E as Et, S as zt, u as Tt, l as Dt } from "./index-C6NfgycP.js";
7
- import { E as kt, a as Lt } from "./EzSchedulerToolbar-CO5jjDQg.js";
8
- import { EzEventModal as Bt } from "./EzEventModal-BUMp_BFi.js";
9
- import { EzSchedulerQuickAdd as Pt } from "./EzSchedulerQuickAdd-C653LTGh.js";
10
- import { jsxs as w, jsx as o } from "react/jsx-runtime";
11
- import * as p from "react";
12
- import D, { useState as E, useEffect as z, useRef as R, useCallback as P } from "react";
13
- import { C as $ } from "./checkbox-boJRxICT.js";
14
- import { L as A } from "./label-ClOW9UCt.js";
15
- import { I as k } from "./input-jYQ5VKNR.js";
16
- import { e as j } from "./select-mDCun_IR.js";
17
- import { S as At, c as jt, d as Ft, a as Ot, b as Kt } from "./select-mDCun_IR.js";
18
- import { EzTreeView as Ht } from "./treeview.es.js";
19
- import { B as _t, C as Gt, a as Xt, b as Wt, c as Ut, d as Qt, e as qt, E as Yt, K as Zt, f as ea, g as ta, h as aa, S as ra, T as sa, i as na, j as oa, k as ia, l as la, m as da, u as ca, n as ua, o as ma } from "./index-BPPb7bcs.js";
20
- import { E as pa } from "./EzSignature-D4EYwo9W.js";
21
- import { e as F, c as m } from "./useInitCoreServices-D1WaWlaI.js";
22
- import { E as wa, f as ba, I as ga, L as ya, N as xa, T as Ca, g as Sa, h as va, i as Na, j as Ea, k as za, u as Ta, l as Da, m as Ma } from "./useInitCoreServices-D1WaWlaI.js";
23
- import { N as La } from "./NotificationPanel-D2Y-_ahk.js";
24
- import { A as Ba, a as Ra, b as Pa } from "./avatar-BeK0E4mn.js";
25
- import { S as O, B as K, X as V } from "./tooltip-BCtrEe0z.js";
26
- import { b as Aa, e as ja, T as Fa, d as Oa, f as Ka } from "./tooltip-BCtrEe0z.js";
27
- import { E as H } from "./ellipsis-CuqNthAj.js";
28
- import { C as J } from "./EzErrorBoundary-D4NBadES.js";
29
- import { C as Ha } from "./calendar-Dy3rVMW2.js";
30
- import { p as _a, q as Ga, r as Xa, t as Wa, v as Ua, w as Qa, x as qa, y as Ya, z as Za, A as er, B as tr, F as ar, G as rr, H as sr, I as nr } from "./EzContextMenu-BSA_B6Pr.js";
31
- import { D as ir } from "./date-time-picker-Dj2eftJI.js";
32
- import { D as dr, f as cr, d as ur, g as mr, e as fr, h as pr, i as hr, j as wr, k as br, l as gr, m as yr, n as xr, o as Cr, p as Sr, c as vr, P as Nr, b as Er, a as zr } from "./popover-Cmlb7w3R.js";
33
- import { S as Dr, a as Mr } from "./scroll-area-9fwpVNxT.js";
34
- const xe = () => {
35
- const s = F(), [e, t] = E(s.getState());
36
- return z(() => s.subscribe(t), [s]), {
37
- /** Current theme configuration (mode, color, radius). @group State */
38
- ...e,
39
- /** Sets the theme mode (light, dark, or system). @group Methods */
40
- setMode: (a) => s.setMode(a),
41
- /** Toggles between light and dark modes. @group Methods */
42
- toggleMode: () => s.toggleMode(),
43
- /** Updates the primary theme color. @group Methods */
44
- setThemeColor: (a) => s.setThemeColor(a),
45
- /** Updates the global border radius setting. @group Methods */
46
- setRadius: (a) => s.setRadius(a)
47
- };
48
- }, Ce = (s, e) => {
49
- const t = R({}), a = P((r, n) => {
50
- const i = t.current, u = Object.keys(i).filter((d) => i[d]), g = Object.keys(r).filter((d) => r[d]), l = g.filter((d) => !u.includes(d)), f = u.filter((d) => !g.includes(d));
51
- l.forEach((d, h) => {
52
- const b = e(d, h);
53
- b && s.onRowSelect && s.onRowSelect({
54
- row: b.row,
55
- data: b.data,
56
- rowIndex: parseInt(d) || h,
57
- originalEvent: n
58
- });
59
- }), f.forEach((d, h) => {
60
- const b = e(d, h);
61
- b && s.onRowDeselect && s.onRowDeselect({
62
- row: b.row,
63
- data: b.data,
64
- rowIndex: parseInt(d) || h
65
- });
66
- }), s.onSelectionChange && s.onSelectionChange({
67
- selectedIds: g,
68
- mode: g.length > 1 ? "multiple" : "single"
69
- }), t.current = r;
70
- }, [s, e]);
71
- return z(() => () => {
72
- t.current = {};
73
- }, []), {
74
- handleSelectionChange: a,
75
- getPreviousSelection: () => t.current
76
- };
77
- }, Se = ({
78
- resources: s,
79
- selectedResourceIds: e,
80
- onSelectionChange: t,
81
- className: a = ""
82
- }) => {
83
- const [r, n] = D.useState(""), i = D.useMemo(() => r ? s.filter((l) => l.name.toLowerCase().includes(r.toLowerCase())) : s, [s, r]), u = (l) => {
84
- e.includes(l) ? t(e.filter((f) => f !== l)) : t([...e, l]);
85
- }, g = () => {
86
- if (i.every((f) => e.includes(f.id))) {
87
- const f = e.filter((d) => !i.find((h) => h.id === d));
88
- t(f);
89
- } else {
90
- const f = i.map((h) => h.id), d = Array.from(/* @__PURE__ */ new Set([...e, ...f]));
91
- t(d);
92
- }
93
- };
94
- return /* @__PURE__ */ w("div", { className: `p-4 border-r border-border bg-background flex flex-col gap-4 overflow-y-auto ${a}`, children: [
95
- /* @__PURE__ */ w("div", { className: "flex flex-col gap-3", children: [
96
- /* @__PURE__ */ w("div", { className: "relative", children: [
97
- /* @__PURE__ */ o(j, { className: "absolute left-2.5 top-2.5 h-4 w-4 text-muted-foreground" }),
98
- /* @__PURE__ */ o(
99
- k,
100
- {
101
- type: "search",
102
- placeholder: "Search resources...",
103
- className: "pl-9 h-9 text-sm",
104
- value: r,
105
- onChange: (l) => n(l.target.value)
106
- }
107
- )
108
- ] }),
109
- /* @__PURE__ */ w("div", { className: "flex items-center justify-between", children: [
110
- /* @__PURE__ */ w("h3", { className: "font-semibold text-xs uppercase tracking-wider text-muted-foreground", children: [
111
- i.length,
112
- " Found"
113
- ] }),
114
- /* @__PURE__ */ o(
115
- "button",
116
- {
117
- onClick: g,
118
- className: "text-xs text-primary hover:text-primary/80 font-medium",
119
- children: "Select All"
120
- }
121
- )
122
- ] })
123
- ] }),
124
- /* @__PURE__ */ w("div", { className: "flex flex-col gap-2 min-h-0 flex-1 overflow-y-auto", children: [
125
- i.map((l) => /* @__PURE__ */ w("div", { className: "flex items-center space-x-2 p-1 hover:bg-muted/50 rounded transition-colors", children: [
126
- /* @__PURE__ */ o(
127
- $,
128
- {
129
- id: `res-${l.id}`,
130
- checked: e.includes(l.id),
131
- onCheckedChange: () => u(l.id),
132
- className: "data-[state=checked]:bg-primary data-[state=checked]:border-primary"
133
- }
134
- ),
135
- /* @__PURE__ */ w(
136
- A,
137
- {
138
- htmlFor: `res-${l.id}`,
139
- className: "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 flex items-center gap-2 cursor-pointer flex-1 py-1",
140
- children: [
141
- /* @__PURE__ */ o(
142
- "span",
143
- {
144
- className: "w-2.5 h-2.5 rounded-full shrink-0",
145
- style: { backgroundColor: l.color || "#ccc" }
146
- }
147
- ),
148
- /* @__PURE__ */ o("span", { className: "truncate", children: l.name })
149
- ]
150
- }
151
- )
152
- ] }, l.id)),
153
- i.length === 0 && /* @__PURE__ */ o("div", { className: "text-center py-8 text-sm text-muted-foreground", children: "No resources found." })
154
- ] })
155
- ] });
156
- }, S = /* @__PURE__ */ new Map();
157
- class ve {
158
- name = "TableService";
159
- async init() {
160
- console.log("[TableService] Initialized");
161
- }
162
- async cleanup() {
163
- }
164
- /**
165
- * Seeds the mock database with initial data.
166
- */
167
- initializeWithData(e) {
168
- S.set("default", JSON.parse(JSON.stringify(e)));
169
- }
170
- /**
171
- * Simulates fetching data from a server with support for sorting, filtering, and pagination.
172
- */
173
- async getData(e) {
174
- await this.simulateLatency();
175
- let t = S.get("default") || [];
176
- const a = e.state || {}, r = a.columnFilters || [], n = a.globalFilter, i = a.sorting || [], u = a.pagination;
177
- if (r.length > 0 && r.forEach((l) => {
178
- t = t.filter((f) => {
179
- const d = f[l.id];
180
- return d == null ? !1 : String(d).toLowerCase().includes(String(l.value).toLowerCase());
181
- });
182
- }), n) {
183
- const l = String(n).toLowerCase();
184
- t = t.filter((f) => Object.values(f).some(
185
- (d) => d != null && String(d).toLowerCase().includes(l)
186
- ));
187
- }
188
- if (i.length > 0) {
189
- const l = i[0];
190
- t = [...t].sort((f, d) => {
191
- const h = f[l.id], b = d[l.id];
192
- if (h === b) return 0;
193
- if (h == null) return 1;
194
- if (b == null) return -1;
195
- const v = h < b ? -1 : 1;
196
- return l.desc ? -v : v;
197
- });
198
- }
199
- const g = t.length;
200
- if (u) {
201
- const l = u.pageIndex * u.pageSize;
202
- t = t.slice(l, l + u.pageSize);
203
- }
204
- return {
205
- data: JSON.parse(JSON.stringify(t)),
206
- totalCount: g
207
- };
208
- }
209
- async fetchData(e) {
210
- return this.getData(e);
211
- }
212
- async createRow(e) {
213
- await this.simulateLatency();
214
- const t = S.get("default") || [], a = {
215
- id: e.id || Math.random().toString(36).substring(2, 9),
216
- ...e
217
- };
218
- return t.push(a), S.set("default", t), a;
219
- }
220
- async updateRow(e, t) {
221
- await this.simulateLatency();
222
- const a = S.get("default") || [], r = a.findIndex((n) => String(n.id) === String(e));
223
- if (r !== -1)
224
- return a[r] = { ...a[r], ...t }, S.set("default", a), a[r];
225
- throw new Error(`Row with ID ${e} not found`);
226
- }
227
- async deleteRow(e) {
228
- await this.simulateLatency();
229
- const a = (S.get("default") || []).filter((r) => String(r.id) !== String(e));
230
- S.set("default", a);
231
- }
232
- simulateLatency() {
233
- return new Promise((e) => setTimeout(e, 300));
234
- }
235
- }
236
- const y = /* @__PURE__ */ new Map(), _ = () => {
237
- y.has("root") || (y.set("root", [
238
- { id: "1", label: "Documents", hasChildren: !0 },
239
- { id: "2", label: "Music", hasChildren: !0 },
240
- { id: "3", label: "Pictures", hasChildren: !0 },
241
- { id: "4", label: "Videos", hasChildren: !1 }
242
- ]), y.set("1", [
243
- { id: "1-1", label: "Work", hasChildren: !0 },
244
- { id: "1-2", label: "Personal", hasChildren: !1 }
245
- ]), y.set("1-1", [
246
- { id: "1-1-1", label: "Project A", hasChildren: !1 },
247
- { id: "1-1-2", label: "Project B", hasChildren: !1 }
248
- ]), y.set("2", [
249
- { id: "2-1", label: "Rock", hasChildren: !1 },
250
- { id: "2-2", label: "Pop", hasChildren: !1 }
251
- ]));
1
+ import { t as e } from "./EzLayout-CiaPLniV.js";
2
+ /* empty css */
3
+ import { _ as t, a as n, c as r, d as i, f as a, h as o, i as s, l as c, m as l, n as u, o as d, p as f, r as p, s as m, t as h, u as g } from "./EzProvider-AlmsYIDk.js";
4
+ import { o as _, t as v } from "./EzTable-D2p1IWHc.js";
5
+ import { a as y, n as b, r as x, t as S } from "./EzScheduler-C1Jtvvju.js";
6
+ import { t as C } from "./EzTreeView-D1G0Aomc.js";
7
+ import { i as w, r as T, t as E } from "./EzKanban-BlJWybKe.js";
8
+ import { c as D } from "./card-ZUNxcdIM.js";
9
+ import { t as O } from "./EzSignature-7UHO5lSP.js";
10
+ import { d as k, u as A } from "./EzFlow-C74NbZA9.js";
11
+ import { useEffect as j, useState as M } from "react";
12
+ //#region src/components/EzKanban/services/KanbanService.ts
13
+ var N = class {
14
+ name = "KanbanService";
15
+ boards = /* @__PURE__ */ new Map();
16
+ async init() {}
17
+ async cleanup() {}
18
+ initializeWithData(e) {
19
+ e.forEach((e) => {
20
+ this.boards.has(e.id) || this.boards.set(e.id, JSON.parse(JSON.stringify(e)));
21
+ });
22
+ }
23
+ async getBoard(e) {
24
+ await this.simulateLatency();
25
+ let t = this.boards.get(e);
26
+ if (!t) throw Error(`Board with ID ${e} not found`);
27
+ return JSON.parse(JSON.stringify(t));
28
+ }
29
+ async createBoard(e) {
30
+ await this.simulateLatency();
31
+ let t = {
32
+ id: e.id || `board-${Date.now()}`,
33
+ name: e.name || "Untitled Board",
34
+ description: e.description,
35
+ columns: e.columns || [],
36
+ cards: e.cards || [],
37
+ permissions: e.permissions,
38
+ settings: e.settings || {
39
+ allowDragAndDrop: !0,
40
+ allowMultiSelect: !0,
41
+ enableWipLimits: !1,
42
+ defaultView: "standard"
43
+ },
44
+ createdAt: /* @__PURE__ */ new Date(),
45
+ updatedAt: /* @__PURE__ */ new Date()
46
+ };
47
+ return this.boards.set(t.id, t), t;
48
+ }
49
+ async updateBoard(e, t) {
50
+ await this.simulateLatency();
51
+ let n = this.boards.get(e);
52
+ if (!n) throw Error(`Board with ID ${e} not found`);
53
+ let r = {
54
+ ...n,
55
+ ...t,
56
+ updatedAt: /* @__PURE__ */ new Date()
57
+ };
58
+ this.boards.set(e, r);
59
+ }
60
+ async deleteBoard(e) {
61
+ await this.simulateLatency(), this.boards.delete(e);
62
+ }
63
+ async createCard(e, t) {
64
+ await this.simulateLatency();
65
+ let n = this.boards.get(e);
66
+ if (!n) throw Error(`Board with ID ${e} not found`);
67
+ let r = {
68
+ id: t.id || `card-${Date.now()}`,
69
+ type: t.type || "standard",
70
+ title: t.title || "Untitled Card",
71
+ description: t.description,
72
+ columnId: t.columnId || n.columns[0]?.id || "",
73
+ position: t.position ?? n.cards.filter((e) => e.columnId === t.columnId).length,
74
+ assignees: t.assignees || [],
75
+ tags: t.tags || [],
76
+ priority: t.priority,
77
+ metadata: t.metadata || {},
78
+ createdBy: t.createdBy || "current-user",
79
+ createdAt: /* @__PURE__ */ new Date(),
80
+ updatedBy: t.updatedBy || "current-user",
81
+ updatedAt: /* @__PURE__ */ new Date(),
82
+ ...t
83
+ };
84
+ return n.cards.push(r), this.boards.set(e, n), r;
85
+ }
86
+ async updateCard(e, t) {
87
+ await this.simulateLatency();
88
+ for (let [n, r] of this.boards.entries()) {
89
+ let i = r.cards.findIndex((t) => t.id === e);
90
+ if (i !== -1) {
91
+ r.cards[i] = {
92
+ ...r.cards[i],
93
+ ...t,
94
+ updatedAt: /* @__PURE__ */ new Date()
95
+ }, this.boards.set(n, r);
96
+ return;
97
+ }
98
+ }
99
+ throw Error(`Card with ID ${e} not found`);
100
+ }
101
+ async deleteCard(e) {
102
+ await this.simulateLatency();
103
+ for (let [t, n] of this.boards.entries()) {
104
+ let r = n.cards.filter((t) => t.id !== e);
105
+ if (r.length !== n.cards.length) {
106
+ n.cards = r, this.boards.set(t, n);
107
+ return;
108
+ }
109
+ }
110
+ throw Error(`Card with ID ${e} not found`);
111
+ }
112
+ async moveCard(e, t, n, r) {
113
+ await this.simulateLatency();
114
+ for (let [i, a] of this.boards.entries()) {
115
+ let o = a.cards.find((t) => t.id === e);
116
+ if (o) {
117
+ o.columnId = t, n !== void 0 && (o.swimlaneId = n), r !== void 0 && (o.position = r), o.updatedAt = /* @__PURE__ */ new Date(), this.boards.set(i, a);
118
+ return;
119
+ }
120
+ }
121
+ throw Error(`Card with ID ${e} not found`);
122
+ }
123
+ async createColumn(e, t) {
124
+ await this.simulateLatency();
125
+ let n = this.boards.get(e);
126
+ if (!n) throw Error(`Board with ID ${e} not found`);
127
+ let r = {
128
+ id: t.id || `column-${Date.now()}`,
129
+ name: t.name || "Untitled Column",
130
+ color: t.color,
131
+ icon: t.icon,
132
+ wipLimit: t.wipLimit,
133
+ position: t.position ?? n.columns.length,
134
+ isCollapsed: t.isCollapsed || !1
135
+ };
136
+ return n.columns.push(r), this.boards.set(e, n), r;
137
+ }
138
+ async updateColumn(e, t) {
139
+ await this.simulateLatency();
140
+ for (let [n, r] of this.boards.entries()) {
141
+ let i = r.columns.findIndex((t) => t.id === e);
142
+ if (i !== -1) {
143
+ r.columns[i] = {
144
+ ...r.columns[i],
145
+ ...t
146
+ }, this.boards.set(n, r);
147
+ return;
148
+ }
149
+ }
150
+ throw Error(`Column with ID ${e} not found`);
151
+ }
152
+ async deleteColumn(e) {
153
+ await this.simulateLatency();
154
+ for (let [t, n] of this.boards.entries()) {
155
+ let r = n.columns.filter((t) => t.id !== e);
156
+ if (r.length !== n.columns.length) {
157
+ let i = n.cards.filter((t) => t.columnId !== e);
158
+ n.columns = r, n.cards = i, this.boards.set(t, n);
159
+ return;
160
+ }
161
+ }
162
+ throw Error(`Column with ID ${e} not found`);
163
+ }
164
+ async createSwimlane(e, t) {
165
+ await this.simulateLatency();
166
+ let n = this.boards.get(e);
167
+ if (!n) throw Error(`Board with ID ${e} not found`);
168
+ let r = {
169
+ id: t.id || `swimlane-${Date.now()}`,
170
+ name: t.name || "New Swimlane",
171
+ type: t.type || "custom",
172
+ color: t.color,
173
+ position: t.position ?? (n.swimlanes?.length || 0),
174
+ isCollapsed: !1,
175
+ ...t
176
+ }, i = n.swimlanes || [];
177
+ return i.push(r), n.swimlanes = i, this.boards.set(e, n), r;
178
+ }
179
+ async updateSwimlane(e, t) {
180
+ await this.simulateLatency();
181
+ for (let [n, r] of this.boards.entries()) {
182
+ let i = r.swimlanes || [], a = i.findIndex((t) => t.id === e);
183
+ if (a !== -1) {
184
+ i[a] = {
185
+ ...i[a],
186
+ ...t
187
+ }, r.swimlanes = i, this.boards.set(n, r);
188
+ return;
189
+ }
190
+ }
191
+ throw Error(`Swimlane with ID ${e} not found`);
192
+ }
193
+ async deleteSwimlane(e) {
194
+ await this.simulateLatency();
195
+ for (let [t, n] of this.boards.entries()) {
196
+ let r = n.swimlanes || [];
197
+ if (r.some((t) => t.id === e)) {
198
+ n.swimlanes = r.filter((t) => t.id !== e), n.cards = n.cards.map((t) => t.swimlaneId === e ? {
199
+ ...t,
200
+ swimlaneId: void 0
201
+ } : t), this.boards.set(t, n);
202
+ return;
203
+ }
204
+ }
205
+ throw Error(`Swimlane with ID ${e} not found`);
206
+ }
207
+ simulateLatency() {
208
+ return new Promise((e) => setTimeout(e, 300));
209
+ }
210
+ }, P = () => {
211
+ let e = n(), [t, r] = M(e.getState());
212
+ return j(() => e.subscribe(r), [e]), {
213
+ ...t,
214
+ setMode: (t) => e.setMode(t),
215
+ toggleMode: () => e.toggleMode(),
216
+ setThemeColor: (t) => e.setThemeColor(t),
217
+ setRadius: (t) => e.setRadius(t)
218
+ };
252
219
  };
253
- class Ne {
254
- name = "TreeService";
255
- constructor() {
256
- _();
257
- }
258
- async simulateLatency() {
259
- await new Promise((e) => setTimeout(e, 300 + Math.random() * 500));
260
- }
261
- async loadNodes(e) {
262
- await this.simulateLatency();
263
- const t = e || "root";
264
- return JSON.parse(JSON.stringify(y.get(t) || []));
265
- }
266
- async moveNode(e, t, a) {
267
- await this.simulateLatency(), console.log(`Moving node ${e} to ${t} at index ${a}`);
268
- }
269
- async renameNode(e, t) {
270
- await this.simulateLatency();
271
- for (const [a, r] of y.entries()) {
272
- const n = r.find((i) => i.id === e);
273
- n && (n.label = t, y.set(a, [...r]));
274
- }
275
- }
276
- async deleteNode(e) {
277
- await this.simulateLatency();
278
- for (const [t, a] of y.entries()) {
279
- const r = a.findIndex((n) => n.id === e);
280
- r !== -1 && (a.splice(r, 1), y.set(t, [...a]));
281
- }
282
- }
283
- async addNode(e, t) {
284
- await this.simulateLatency();
285
- const a = y.get(e) || [], r = {
286
- id: `new-${Date.now()}`,
287
- label: "New Node",
288
- hasChildren: !1,
289
- ...t
290
- };
291
- return y.set(e, [...a, r]), r;
292
- }
293
- }
294
- const c = /* @__PURE__ */ new Map();
295
- class Ee {
296
- name = "KanbanService";
297
- async init() {
298
- console.log("[KanbanService] Initialized");
299
- }
300
- async cleanup() {
301
- }
302
- /**
303
- * Seeds the mock database with initial data.
304
- * Useful for demos and tests.
305
- */
306
- initializeWithData(e) {
307
- e.forEach((t) => {
308
- c.has(t.id) || c.set(t.id, JSON.parse(JSON.stringify(t)));
309
- });
310
- }
311
- // ────────────────────────────────────────────────
312
- // Board Operations
313
- // ────────────────────────────────────────────────
314
- async getBoard(e) {
315
- await this.simulateLatency();
316
- const t = c.get(e);
317
- if (!t)
318
- throw new Error(`Board with ID ${e} not found`);
319
- return JSON.parse(JSON.stringify(t));
320
- }
321
- async createBoard(e) {
322
- await this.simulateLatency();
323
- const t = {
324
- id: e.id || `board-${Date.now()}`,
325
- name: e.name || "Untitled Board",
326
- description: e.description,
327
- columns: e.columns || [],
328
- cards: e.cards || [],
329
- permissions: e.permissions,
330
- settings: e.settings || {
331
- allowDragAndDrop: !0,
332
- allowMultiSelect: !0,
333
- enableWipLimits: !1,
334
- defaultView: "standard"
335
- },
336
- createdAt: /* @__PURE__ */ new Date(),
337
- updatedAt: /* @__PURE__ */ new Date()
338
- };
339
- return c.set(t.id, t), t;
340
- }
341
- async updateBoard(e, t) {
342
- await this.simulateLatency();
343
- const a = c.get(e);
344
- if (!a) throw new Error(`Board with ID ${e} not found`);
345
- const r = {
346
- ...a,
347
- ...t,
348
- updatedAt: /* @__PURE__ */ new Date()
349
- };
350
- c.set(e, r);
351
- }
352
- async deleteBoard(e) {
353
- await this.simulateLatency(), c.delete(e);
354
- }
355
- // ────────────────────────────────────────────────
356
- // Card Operations
357
- // ────────────────────────────────────────────────
358
- async createCard(e, t) {
359
- await this.simulateLatency();
360
- const a = c.get(e);
361
- if (!a) throw new Error(`Board with ID ${e} not found`);
362
- const r = {
363
- id: t.id || `card-${Date.now()}`,
364
- type: t.type || "standard",
365
- title: t.title || "Untitled Card",
366
- description: t.description,
367
- columnId: t.columnId || a.columns[0]?.id || "",
368
- position: t.position ?? a.cards.filter((n) => n.columnId === t.columnId).length,
369
- assignees: t.assignees || [],
370
- tags: t.tags || [],
371
- priority: t.priority,
372
- metadata: t.metadata || {},
373
- createdBy: t.createdBy || "current-user",
374
- createdAt: /* @__PURE__ */ new Date(),
375
- updatedBy: t.updatedBy || "current-user",
376
- updatedAt: /* @__PURE__ */ new Date(),
377
- ...t
378
- };
379
- return a.cards.push(r), c.set(e, a), r;
380
- }
381
- async updateCard(e, t) {
382
- await this.simulateLatency();
383
- for (const [a, r] of c.entries()) {
384
- const n = r.cards.findIndex((i) => i.id === e);
385
- if (n !== -1) {
386
- r.cards[n] = {
387
- ...r.cards[n],
388
- ...t,
389
- updatedAt: /* @__PURE__ */ new Date()
390
- }, c.set(a, r);
391
- return;
392
- }
393
- }
394
- throw new Error(`Card with ID ${e} not found`);
395
- }
396
- async deleteCard(e) {
397
- await this.simulateLatency();
398
- for (const [t, a] of c.entries()) {
399
- const r = a.cards.filter((n) => n.id !== e);
400
- if (r.length !== a.cards.length) {
401
- a.cards = r, c.set(t, a);
402
- return;
403
- }
404
- }
405
- throw new Error(`Card with ID ${e} not found`);
406
- }
407
- async moveCard(e, t, a, r) {
408
- await this.simulateLatency();
409
- for (const [n, i] of c.entries()) {
410
- const u = i.cards.find((g) => g.id === e);
411
- if (u) {
412
- u.columnId = t, a !== void 0 && (u.swimlaneId = a), r !== void 0 && (u.position = r), u.updatedAt = /* @__PURE__ */ new Date(), c.set(n, i);
413
- return;
414
- }
415
- }
416
- throw new Error(`Card with ID ${e} not found`);
417
- }
418
- // ────────────────────────────────────────────────
419
- // Column Operations
420
- // ────────────────────────────────────────────────
421
- async createColumn(e, t) {
422
- await this.simulateLatency();
423
- const a = c.get(e);
424
- if (!a) throw new Error(`Board with ID ${e} not found`);
425
- const r = {
426
- id: t.id || `column-${Date.now()}`,
427
- name: t.name || "Untitled Column",
428
- color: t.color,
429
- icon: t.icon,
430
- wipLimit: t.wipLimit,
431
- position: t.position ?? a.columns.length,
432
- isCollapsed: t.isCollapsed || !1
433
- };
434
- return a.columns.push(r), c.set(e, a), r;
435
- }
436
- async updateColumn(e, t) {
437
- await this.simulateLatency();
438
- for (const [a, r] of c.entries()) {
439
- const n = r.columns.findIndex((i) => i.id === e);
440
- if (n !== -1) {
441
- r.columns[n] = {
442
- ...r.columns[n],
443
- ...t
444
- }, c.set(a, r);
445
- return;
446
- }
447
- }
448
- throw new Error(`Column with ID ${e} not found`);
449
- }
450
- async deleteColumn(e) {
451
- await this.simulateLatency();
452
- for (const [t, a] of c.entries()) {
453
- const r = a.columns.filter((n) => n.id !== e);
454
- if (r.length !== a.columns.length) {
455
- const n = a.cards.filter((i) => i.columnId !== e);
456
- a.columns = r, a.cards = n, c.set(t, a);
457
- return;
458
- }
459
- }
460
- throw new Error(`Column with ID ${e} not found`);
461
- }
462
- // ────────────────────────────────────────────────
463
- // Swimlane Operations
464
- // ────────────────────────────────────────────────
465
- async createSwimlane(e, t) {
466
- await this.simulateLatency();
467
- const a = c.get(e);
468
- if (!a) throw new Error(`Board with ID ${e} not found`);
469
- const r = {
470
- id: t.id || `swimlane-${Date.now()}`,
471
- name: t.name || "New Swimlane",
472
- type: t.type || "custom",
473
- color: t.color,
474
- position: t.position ?? (a.swimlanes?.length || 0),
475
- isCollapsed: !1,
476
- ...t
477
- }, n = a.swimlanes || [];
478
- return n.push(r), a.swimlanes = n, c.set(e, a), r;
479
- }
480
- async updateSwimlane(e, t) {
481
- await this.simulateLatency();
482
- for (const [a, r] of c.entries()) {
483
- const n = r.swimlanes || [], i = n.findIndex((u) => u.id === e);
484
- if (i !== -1) {
485
- n[i] = {
486
- ...n[i],
487
- ...t
488
- }, r.swimlanes = n, c.set(a, r);
489
- return;
490
- }
491
- }
492
- throw new Error(`Swimlane with ID ${e} not found`);
493
- }
494
- async deleteSwimlane(e) {
495
- await this.simulateLatency();
496
- for (const [t, a] of c.entries()) {
497
- const r = a.swimlanes || [];
498
- if (r.some((n) => n.id === e)) {
499
- a.swimlanes = r.filter((n) => n.id !== e), a.cards = a.cards.map(
500
- (n) => n.swimlaneId === e ? { ...n, swimlaneId: void 0 } : n
501
- ), c.set(t, a);
502
- return;
503
- }
504
- }
505
- throw new Error(`Swimlane with ID ${e} not found`);
506
- }
507
- simulateLatency() {
508
- return new Promise((e) => setTimeout(e, 300));
509
- }
510
- }
511
- function ze(s, e) {
512
- const t = e.map((r) => r.header).join(","), a = s.map((r) => e.map((n) => {
513
- const i = r[n.id];
514
- if (i == null) return "";
515
- const u = String(i);
516
- return u.includes(",") || u.includes(`
517
- `) || u.includes('"') ? `"${u.replace(/"/g, '""')}"` : u;
518
- }).join(","));
519
- return [t, ...a].join(`
520
- `);
220
+ //#endregion
221
+ //#region src/shared/utils/csvUtils.ts
222
+ function F(e, t) {
223
+ return [t.map((e) => e.header).join(","), ...e.map((e) => t.map((t) => {
224
+ let n = e[t.id];
225
+ if (n == null) return "";
226
+ let r = String(n);
227
+ return r.includes(",") || r.includes("\n") || r.includes("\"") ? `"${r.replace(/"/g, "\"\"")}"` : r;
228
+ }).join(","))].join("\n");
521
229
  }
522
- const N = ["#06d6a0", "#ef476f", "#ffd166", "#118ab2", "#073b4c"], Te = ({
523
- text: s,
524
- className: e = "",
525
- defaultColor: t = "#2d2e33",
526
- highlight: a,
527
- delay: r,
528
- textSize: n,
529
- textDir: i,
530
- highlightDir: u
531
- }) => {
532
- const g = s.split(""), f = `${n || "text-4xl md:text-5xl lg:text-6xl"} font-black tracking-tight ${e}`, d = a ? a.split("") : [], [h, b] = E(!1);
533
- z(() => {
534
- const x = () => {
535
- const L = document.documentElement.classList.contains("dark") || window.matchMedia("(prefers-color-scheme: dark)").matches;
536
- b(L);
537
- };
538
- x();
539
- const C = new MutationObserver(() => {
540
- x();
541
- });
542
- C.observe(document.documentElement, {
543
- attributes: !0,
544
- attributeFilter: ["class"]
545
- });
546
- const T = window.matchMedia("(prefers-color-scheme: dark)");
547
- return T.addEventListener("change", x), () => {
548
- C.disconnect(), T.removeEventListener("change", x);
549
- };
550
- }, []);
551
- const v = h ? "#ffffff" : t;
552
- return /* @__PURE__ */ w(
553
- "span",
554
- {
555
- className: `flex flex-col justify-center items-center ${f}`,
556
- style: { letterSpacing: "-0.05em" },
557
- children: [
558
- /* @__PURE__ */ o("style", { children: `
559
- @keyframes wobble {
560
- 0% { transform: translateX(0); }
561
- 20% { transform: translateX(-4px); }
562
- 40% { transform: translateX(4px); }
563
- 60% { transform: translateX(-4px); }
564
- 80% { transform: translateX(4px); }
565
- 100% { transform: translateX(0); }
566
- }
567
- ` }),
568
- /* @__PURE__ */ o("span", { className: "flex flex-wrap justify-center text-center", dir: i, children: g.map((x, C) => /* @__PURE__ */ o(
569
- M,
570
- {
571
- char: x,
572
- defaultColor: v,
573
- brandColor: N[C % N.length]
574
- },
575
- `main-${C}`
576
- )) }),
577
- a && /* @__PURE__ */ o("span", { className: "flex flex-wrap justify-center text-center mt-2", dir: u, children: d.map((x, C) => /* @__PURE__ */ o(
578
- M,
579
- {
580
- char: x,
581
- defaultColor: "oklch(var(--primary))",
582
- brandColor: N[(g.length + C) % N.length]
583
- },
584
- `highlight-${C}`
585
- )) })
586
- ]
587
- }
588
- );
589
- }, M = ({
590
- char: s,
591
- defaultColor: e,
592
- brandColor: t
593
- }) => {
594
- const [a, r] = E(!1);
595
- return /* @__PURE__ */ o(
596
- "span",
597
- {
598
- onMouseEnter: () => {
599
- r(!0);
600
- },
601
- onAnimationEnd: () => {
602
- r(!1);
603
- },
604
- style: {
605
- display: "inline-block",
606
- whiteSpace: "pre",
607
- // Keeps word gaps tight
608
- cursor: "default",
609
- fontWeight: 900,
610
- padding: "0 1px",
611
- // Provides just enough room to wobble without overlapping
612
- color: a ? t : e,
613
- // Mimic the framer motion: x: [-4, 4, -4, 4, 0] with repeat: 2
614
- // We defined wobble as one cycle of -4, 4, -4, 4, 0.
615
- // So we run it twice to match repeat: 2.
616
- // 0.8s duration per cycle.
617
- animation: a ? "wobble 0.8s ease-in-out 2" : "none",
618
- transition: "color 0.2s ease"
619
- },
620
- children: s
621
- }
622
- );
623
- }, G = p.forwardRef(({ ...s }, e) => /* @__PURE__ */ o("nav", { ref: e, "aria-label": "breadcrumb", ...s }));
624
- G.displayName = "Breadcrumb";
625
- const X = p.forwardRef(({ className: s, ...e }, t) => /* @__PURE__ */ o(
626
- "ol",
627
- {
628
- ref: t,
629
- className: m(
630
- "flex flex-wrap items-center gap-1.5 break-words text-sm text-zinc-500 sm:gap-2.5 dark:text-zinc-400",
631
- s
632
- ),
633
- ...e
634
- }
635
- ));
636
- X.displayName = "BreadcrumbList";
637
- const W = p.forwardRef(({ className: s, ...e }, t) => /* @__PURE__ */ o(
638
- "li",
639
- {
640
- ref: t,
641
- className: m("inline-flex items-center gap-1.5", s),
642
- ...e
643
- }
644
- ));
645
- W.displayName = "BreadcrumbItem";
646
- const U = p.forwardRef(({ asChild: s, className: e, ...t }, a) => /* @__PURE__ */ o(
647
- s ? O : "a",
648
- {
649
- ref: a,
650
- className: m("transition-colors hover:text-zinc-950 dark:hover:text-zinc-50", e),
651
- ...t
652
- }
653
- ));
654
- U.displayName = "BreadcrumbLink";
655
- const Q = p.forwardRef(({ className: s, ...e }, t) => /* @__PURE__ */ o(
656
- "span",
657
- {
658
- ref: t,
659
- role: "link",
660
- "aria-disabled": "true",
661
- "aria-current": "page",
662
- className: m("font-normal text-zinc-950 dark:text-zinc-50", s),
663
- ...e
664
- }
665
- ));
666
- Q.displayName = "BreadcrumbPage";
667
- const q = ({
668
- children: s,
669
- className: e,
670
- ...t
671
- }) => /* @__PURE__ */ o(
672
- "li",
673
- {
674
- role: "presentation",
675
- "aria-hidden": "true",
676
- className: m("[&>svg]:size-3.5", e),
677
- ...t,
678
- children: s ?? /* @__PURE__ */ o(J, {})
679
- }
680
- );
681
- q.displayName = "BreadcrumbSeparator";
682
- const Y = ({
683
- className: s,
684
- ...e
685
- }) => /* @__PURE__ */ w(
686
- "span",
687
- {
688
- role: "presentation",
689
- "aria-hidden": "true",
690
- className: m("flex h-9 w-9 items-center justify-center", s),
691
- ...e,
692
- children: [
693
- /* @__PURE__ */ o(H, { className: "h-4 w-4" }),
694
- /* @__PURE__ */ o("span", { className: "sr-only", children: "More" })
695
- ]
696
- }
697
- );
698
- Y.displayName = "BreadcrumbElipsis";
699
- const Z = p.forwardRef(
700
- ({ className: s, ...e }, t) => {
701
- const [a, r] = p.useState(!1);
702
- return /* @__PURE__ */ w("div", { className: "relative", children: [
703
- /* @__PURE__ */ o(
704
- k,
705
- {
706
- type: a ? "text" : "password",
707
- className: m("pr-10", s),
708
- ref: t,
709
- ...e
710
- }
711
- ),
712
- /* @__PURE__ */ w(
713
- "button",
714
- {
715
- type: "button",
716
- onClick: () => r((n) => !n),
717
- className: "absolute right-3 top-1/2 -translate-y-1/2 text-zinc-500 hover:text-zinc-700 dark:text-zinc-400 dark:hover:text-zinc-200 focus:outline-none",
718
- tabIndex: -1,
719
- children: [
720
- a ? /* @__PURE__ */ o(I, { className: "h-4 w-4", "aria-hidden": "true" }) : /* @__PURE__ */ o(B, { className: "h-4 w-4", "aria-hidden": "true" }),
721
- /* @__PURE__ */ w("span", { className: "sr-only", children: [
722
- a ? "Hide" : "Show",
723
- " password"
724
- ] })
725
- ]
726
- }
727
- )
728
- ] });
729
- }
730
- );
731
- Z.displayName = "PasswordInput";
732
- function De({
733
- className: s,
734
- ...e
735
- }) {
736
- return /* @__PURE__ */ o(
737
- "div",
738
- {
739
- className: m("animate-pulse rounded-md bg-zinc-100 dark:bg-zinc-800", s),
740
- ...e
741
- }
742
- );
743
- }
744
- const ee = p.forwardRef(({ className: s, ...e }, t) => /* @__PURE__ */ o("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ o(
745
- "table",
746
- {
747
- ref: t,
748
- className: m("w-full caption-bottom text-sm", s),
749
- ...e
750
- }
751
- ) }));
752
- ee.displayName = "Table";
753
- const te = p.forwardRef(({ className: s, ...e }, t) => /* @__PURE__ */ o("thead", { ref: t, className: m("[&_tr]:border-b", s), ...e }));
754
- te.displayName = "TableHeader";
755
- const ae = p.forwardRef(({ className: s, ...e }, t) => /* @__PURE__ */ o(
756
- "tbody",
757
- {
758
- ref: t,
759
- className: m("[&_tr:last-child]:border-0", s),
760
- ...e
761
- }
762
- ));
763
- ae.displayName = "TableBody";
764
- const re = p.forwardRef(({ className: s, ...e }, t) => /* @__PURE__ */ o(
765
- "tfoot",
766
- {
767
- ref: t,
768
- className: m(
769
- "border-t bg-zinc-100/50 font-medium [&>tr]:last:border-b-0 dark:bg-zinc-800/50",
770
- s
771
- ),
772
- ...e
773
- }
774
- ));
775
- re.displayName = "TableFooter";
776
- const se = p.forwardRef(({ className: s, ...e }, t) => /* @__PURE__ */ o(
777
- "tr",
778
- {
779
- ref: t,
780
- className: m(
781
- "border-b transition-colors hover:bg-zinc-100/50 data-[state=selected]:bg-zinc-100 dark:hover:bg-zinc-800/50 dark:data-[state=selected]:bg-zinc-800",
782
- s
783
- ),
784
- ...e
785
- }
786
- ));
787
- se.displayName = "TableRow";
788
- const ne = p.forwardRef(({ className: s, ...e }, t) => /* @__PURE__ */ o(
789
- "th",
790
- {
791
- ref: t,
792
- className: m(
793
- "h-12 px-4 text-left align-middle font-medium text-zinc-500 [&:has([role=checkbox])]:pr-0 dark:text-zinc-400",
794
- s
795
- ),
796
- ...e
797
- }
798
- ));
799
- ne.displayName = "TableHead";
800
- const oe = p.forwardRef(({ className: s, ...e }, t) => /* @__PURE__ */ o(
801
- "td",
802
- {
803
- ref: t,
804
- className: m("p-4 align-middle [&:has([role=checkbox])]:pr-0", s),
805
- ...e
806
- }
807
- ));
808
- oe.displayName = "TableCell";
809
- const ie = p.forwardRef(({ className: s, ...e }, t) => /* @__PURE__ */ o(
810
- "caption",
811
- {
812
- ref: t,
813
- className: m("mt-4 text-sm text-zinc-500 dark:text-zinc-400", s),
814
- ...e
815
- }
816
- ));
817
- ie.displayName = "TableCaption";
818
- const le = p.forwardRef(
819
- ({ className: s, value: e = 0, max: t = 100, ...a }, r) => {
820
- const n = Math.min(Math.max(e / t * 100, 0), 100);
821
- return /* @__PURE__ */ o(
822
- "div",
823
- {
824
- ref: r,
825
- className: m(
826
- "relative h-4 w-full overflow-hidden rounded-full bg-secondary",
827
- s
828
- ),
829
- ...a,
830
- children: /* @__PURE__ */ o(
831
- "div",
832
- {
833
- className: "h-full w-full flex-1 bg-primary transition-all duration-300 ease-in-out",
834
- style: { transform: `translateX(-${100 - n}%)` }
835
- }
836
- )
837
- }
838
- );
839
- }
840
- );
841
- le.displayName = "Progress";
842
- const Me = ({
843
- isOpen: s,
844
- onClose: e,
845
- title: t,
846
- children: a,
847
- className: r
848
- }) => (p.useEffect(() => (s ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
849
- document.body.style.overflow = "";
850
- }), [s]), s ? /* @__PURE__ */ w("div", { className: "fixed inset-0 z-[100] flex items-center justify-center p-4", children: [
851
- /* @__PURE__ */ o(
852
- "div",
853
- {
854
- className: "absolute inset-0 bg-black/60 backdrop-blur-sm transition-opacity",
855
- onClick: e
856
- }
857
- ),
858
- /* @__PURE__ */ w("div", { className: m(
859
- "relative bg-card text-card-foreground w-full max-w-lg rounded-2xl shadow-2xl border flex flex-col max-h-[90vh] overflow-hidden animate-in fade-in zoom-in-95 duration-200",
860
- r
861
- ), children: [
862
- /* @__PURE__ */ w("div", { className: "flex items-center justify-between p-4 border-b", children: [
863
- t && /* @__PURE__ */ o("h2", { className: "text-lg font-bold truncate", children: t }),
864
- /* @__PURE__ */ o(K, { variant: "ghost", size: "icon", onClick: e, className: "h-8 w-8 rounded-full ml-auto", children: /* @__PURE__ */ o(V, { className: "h-4 w-4" }) })
865
- ] }),
866
- /* @__PURE__ */ o("div", { className: "flex-1 overflow-y-auto custom-scrollbar", children: a })
867
- ] })
868
- ] }) : null);
869
- export {
870
- Te as AnimatedText,
871
- Ba as Avatar,
872
- Ra as AvatarFallback,
873
- Pa as AvatarImage,
874
- _t as Badge,
875
- _e as BaseCell,
876
- Ge as BooleanCell,
877
- Xe as BooleanEditor,
878
- We as BooleanFilter,
879
- G as Breadcrumb,
880
- Y as BreadcrumbEllipsis,
881
- W as BreadcrumbItem,
882
- U as BreadcrumbLink,
883
- X as BreadcrumbList,
884
- Q as BreadcrumbPage,
885
- q as BreadcrumbSeparator,
886
- K as Button,
887
- Ha as Calendar,
888
- Gt as Card,
889
- Xt as CardContent,
890
- Wt as CardDescription,
891
- Ut as CardFooter,
892
- Qt as CardHeader,
893
- qt as CardTitle,
894
- $ as Checkbox,
895
- Ue as Command,
896
- Qe as CommandEmpty,
897
- qe as CommandGroup,
898
- Ye as CommandInput,
899
- Ze as CommandItem,
900
- et as CommandList,
901
- tt as CommandSeparator,
902
- at as CommandShortcut,
903
- _a as ContextMenu,
904
- Ga as ContextMenuCheckboxItem,
905
- Xa as ContextMenuContent,
906
- Wa as ContextMenuGroup,
907
- Ua as ContextMenuItem,
908
- Qa as ContextMenuLabel,
909
- qa as ContextMenuPortal,
910
- Ya as ContextMenuRadioGroup,
911
- Za as ContextMenuRadioItem,
912
- er as ContextMenuSeparator,
913
- tr as ContextMenuShortcut,
914
- ar as ContextMenuSub,
915
- rr as ContextMenuSubContent,
916
- sr as ContextMenuSubTrigger,
917
- nr as ContextMenuTrigger,
918
- ir as DateTimePicker,
919
- dr as DropdownMenu,
920
- cr as DropdownMenuCheckboxItem,
921
- ur as DropdownMenuContent,
922
- mr as DropdownMenuGroup,
923
- fr as DropdownMenuItem,
924
- pr as DropdownMenuLabel,
925
- hr as DropdownMenuPortal,
926
- wr as DropdownMenuRadioGroup,
927
- br as DropdownMenuRadioItem,
928
- gr as DropdownMenuSeparator,
929
- yr as DropdownMenuShortcut,
930
- xr as DropdownMenuSub,
931
- Cr as DropdownMenuSubContent,
932
- Sr as DropdownMenuSubTrigger,
933
- vr as DropdownMenuTrigger,
934
- Bt as EzEventModal,
935
- Ie as EzHeader,
936
- Yt as EzKanban,
937
- Zt as EzKanbanBoard,
938
- ea as EzKanbanCard,
939
- ta as EzKanbanCardEditor,
940
- aa as EzKanbanColumn,
941
- Be as EzLanguageSwitcher,
942
- Re as EzLayout,
943
- kt as EzNotificationDropdown,
944
- Pe as EzOrganizationSwitcher,
945
- wa as EzProvider,
946
- Se as EzResourceSidebar,
947
- Et as EzScheduler,
948
- Pt as EzSchedulerQuickAdd,
949
- Lt as EzSchedulerToolbar,
950
- ba as EzServiceRegistry,
951
- $e as EzSidebarFooter,
952
- Ae as EzSidebarNav,
953
- je as EzSidebarNavItem,
954
- pa as EzSignature,
955
- rt as EzTable,
956
- vt as EzTableFooter,
957
- st as EzTablePrimitive,
958
- Ct as EzTableToolbar,
959
- Fe as EzThemeColorChanger,
960
- Oe as EzThemeSwitcher,
961
- Ht as EzTreeView,
962
- Ke as EzUserProfile,
963
- ga as I18nService,
964
- k as Input,
965
- Ee as KanbanService,
966
- A as Label,
967
- ya as LayoutService,
968
- Me as Modal,
969
- La as NotificationPanel,
970
- xa as NotificationService,
971
- Z as PasswordInput,
972
- Nr as Popover,
973
- Er as PopoverContent,
974
- zr as PopoverTrigger,
975
- nt as PrimitiveCell,
976
- ot as PrimitiveEditor,
977
- it as PrimitiveFilter,
978
- le as Progress,
979
- lt as ProgressCell,
980
- dt as RadioGroup,
981
- ct as RadioGroupItem,
982
- zt as SchedulerService,
983
- Dr as ScrollArea,
984
- Mr as ScrollBar,
985
- ut as SearchableSelect,
986
- At as Select,
987
- mt as SelectCell,
988
- jt as SelectContent,
989
- ft as SelectEditor,
990
- pt as SelectFilter,
991
- Ft as SelectItem,
992
- Ot as SelectTrigger,
993
- Kt as SelectValue,
994
- Ve as SignInForm,
995
- He as SignUpForm,
996
- De as Skeleton,
997
- ht as SparklineCell,
998
- ra as StatusBadge,
999
- wt as Switch,
1000
- ee as Table,
1001
- ae as TableBody,
1002
- ie as TableCaption,
1003
- oe as TableCell,
1004
- re as TableFooter,
1005
- ne as TableHead,
1006
- te as TableHeader,
1007
- se as TableRow,
1008
- ve as TableService,
1009
- sa as Tabs,
1010
- na as TabsContent,
1011
- oa as TabsList,
1012
- ia as TabsTrigger,
1013
- la as Textarea,
1014
- Ca as ThemeService,
1015
- Aa as Tooltip,
1016
- ja as TooltipContent,
1017
- Fa as TooltipProvider,
1018
- Oa as TooltipTrigger,
1019
- Ne as TreeService,
1020
- da as badgeVariants,
1021
- Ka as buttonVariants,
1022
- bt as calculateColWidth,
1023
- m as cn,
1024
- ze as convertToCSV,
1025
- Sa as formatCurrency,
1026
- va as formatDate,
1027
- Na as formatDateTime,
1028
- Ea as formatNumber,
1029
- za as formatPercent,
1030
- ca as useDebounce,
1031
- gt as useDialogState,
1032
- ua as useEzKanban,
1033
- Tt as useEzScheduler,
1034
- Ta as useEzServiceRegistry,
1035
- yt as useEzTable,
1036
- xe as useEzTheme,
1037
- ma as useI18n,
1038
- Da as useI18nService,
1039
- Dt as useMediaQuery,
1040
- Ma as useNotificationService,
1041
- Ce as useRowSelectionEvents,
1042
- F as useThemeService
1043
- };
230
+ //#endregion
231
+ export { A as EzFlow, E as EzKanban, e as EzLayout, h as EzProvider, S as EzScheduler, o as EzServiceRegistry, O as EzSignature, v as EzTable, C as EzTreeView, k as EzWorkflow, r as I18nService, N as KanbanService, d as LayoutService, m as NotificationService, x as SchedulerService, l as ThemeService, t as cn, F as convertToCSV, c as formatCurrency, g as formatDate, i as formatDateTime, a as formatNumber, f as formatPercent, T as useDebounce, w as useEzKanban, b as useEzScheduler, u as useEzServiceRegistry, _ as useEzTable, P as useEzTheme, D as useI18n, p as useI18nService, y as useMediaQuery, s as useNotificationService, n as useThemeService };