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/layout.d.ts CHANGED
@@ -1,690 +1,2 @@
1
- import { default as default_2 } from 'react';
2
-
3
- /**
4
- * Base Component Types
5
- */
6
- declare interface BaseComponentProps {
7
- /** Unique identifier for the component instance @group Properties */
8
- id?: string;
9
- /** Custom class names for styling @group Properties */
10
- className?: string;
11
- /** Inline styles @group Properties */
12
- style?: default_2.CSSProperties;
13
- /** Data attribute for testing @group Properties */
14
- dataTestId?: string;
15
- /** Direction of the text (ltr, rtl, auto) @group Properties */
16
- dir?: 'ltr' | 'rtl' | 'auto';
17
- }
18
-
19
- /**
20
- * Common event callback types
21
- * Contains ONLY events that are truly shared across components with identical signatures.
22
- * Component-specific events (onCellClick, onRowClick, etc) should be defined in each component's types.
23
- */
24
- declare interface ComponentEventCallbacks<TData = unknown> {
25
- /**
26
- * Callback when component is created.
27
- * @group Events
28
- */
29
- onCreated?: () => void;
30
- /**
31
- * Callback when component is destroyed.
32
- * @group Events
33
- */
34
- onDestroyed?: () => void;
35
- /**
36
- * Callback when grid/component render starts.
37
- * @group Events
38
- */
39
- onGridRenderStart?: () => void;
40
- /**
41
- * Callback when grid/component render completes.
42
- * @group Events
43
- */
44
- onGridRenderComplete?: () => void;
45
- /**
46
- * Callback when data changes.
47
- * @group Events
48
- */
49
- onDataChange?: (data: TData[]) => void;
50
- /**
51
- * Callback when data loads.
52
- * @group Events
53
- */
54
- onDataLoad?: (data: TData[]) => void;
55
- /**
56
- * Callback when data is requested.
57
- * @group Events
58
- */
59
- onDataRequest?: (query: DataQuery) => void;
60
- /**
61
- * Callback when data change starts.
62
- * @group Events
63
- */
64
- onDataChangeStart?: (args: {
65
- action: 'add' | 'edit' | 'delete';
66
- data: TData | TData[];
67
- }) => void;
68
- /**
69
- * Callback when data change completes.
70
- * @group Events
71
- */
72
- onDataChangeComplete?: (args: {
73
- action: 'add' | 'edit' | 'delete';
74
- data: TData | TData[];
75
- }) => void;
76
- /**
77
- * Callback when data change is cancelled.
78
- * @group Events
79
- */
80
- onDataChangeCancel?: (args: {
81
- action: 'add' | 'edit' | 'delete';
82
- row?: TData;
83
- }) => void;
84
- /**
85
- * Callback when data change is requested.
86
- * @group Events
87
- */
88
- onDataChangeRequest?: (args: {
89
- action: 'add' | 'edit' | 'delete';
90
- data: TData;
91
- }) => void;
92
- /**
93
- * Callback on error.
94
- * @group Events
95
- */
96
- onError?: (error: Error | unknown) => void;
97
- /**
98
- * Callback on refresh.
99
- * @group Events
100
- */
101
- onRefresh?: () => void;
102
- }
103
-
104
- /**
105
- * Represents a structured request for data fetching/filtering.
106
- */
107
- declare interface DataQuery {
108
- filters?: FilterRule[] | FilterGroup;
109
- sort?: SortModel[];
110
- pagination?: PaginationModel;
111
- search?: string;
112
- [key: string]: any;
113
- }
114
-
115
- export declare const EzHeader: default_2.FC<EzHeaderProps>;
116
-
117
- /**
118
- * Specialized props for a custom header component.
119
- * @group Subcomponents
120
- */
121
- declare interface EzHeaderComponentProps extends EzHeaderProps {
122
- /** Whether the sidebar is currently open. @group State */
123
- sidebarOpen: boolean;
124
- /** Whether the layout is currently in mobile mode. @group State */
125
- isMobile: boolean;
126
- /** Current effective header height. @group Appearance */
127
- headerHeight: number;
128
- /** Callback to manually toggle the sidebar. @group Events */
129
- toggleSidebar: () => void;
130
- /** Allow custom properties passed via slotProps */
131
- [key: string]: any;
132
- }
133
-
134
- /**
135
- * Configuration for the EzLayout header.
136
- * @group Properties
137
- */
138
- export declare interface EzHeaderProps {
139
- /** Custom logo element or URL. @group Appearance */
140
- logo?: default_2.ReactNode;
141
- /** Company or application name displayed in the header. @group High Level */
142
- companyName?: string;
143
- /** Organization switching configuration. @group Data */
144
- orgConfig?: {
145
- currentOrg: Organization;
146
- organizations: Organization[];
147
- onSelect: (org: Organization) => void;
148
- };
149
- /** Custom breadcrumb or navigation path element. @group Navigation */
150
- breadcrumb?: default_2.ReactNode;
151
- /** Whether to show the theme mode switcher (Light/Dark). @default true @group Integration */
152
- showThemeSwitcher?: boolean;
153
- /** Whether to show the theme color palette picker. @default true @group Integration */
154
- showThemeColorChanger?: boolean;
155
- /** Whether to show the language selection dropdown. @default true @group Integration */
156
- showLanguageSwitcher?: boolean;
157
- /** Whether to show notification bell. @default true @group Integration */
158
- showNotifications?: boolean;
159
- /** Essential user information for the profile section. @group Data */
160
- user?: {
161
- /** Full name of the user. @group Data */
162
- name: string;
163
- /** URL to the user's avatar image. @group Appearance */
164
- avatarUrl?: string;
165
- /** Fallback initials if avatar is missing. @group Appearance */
166
- initials?: string;
167
- };
168
- /** Callback triggered when the user clicks 'Sign Out'. @group Events */
169
- onLogout?: () => void;
170
- /* Excluded from this release type: toggleSidebar */
171
- /* Excluded from this release type: sidebarOpen */
172
- /** Custom class name for the header. @group Appearance */
173
- className?: string;
174
- /** Extra content to render in the right-side actions area. @group Data */
175
- children?: default_2.ReactNode;
176
- }
177
-
178
- export declare const EzLanguageSwitcher: default_2.FC<{
179
- className?: string;
180
- }>;
181
-
182
- /**
183
- * EzLayout is the foundational multi lingigual layout engine for Web/SaaS applications.
184
- * It provides a highly configurable and responsive shell that handles authentication,
185
- * headers, sidebars, and enterprise-grade multi-panel layouts.
186
- *
187
-
188
- * @group Core Components
189
- */
190
- export declare const EzLayout: default_2.ForwardRefExoticComponent<EzLayoutProps & default_2.RefAttributes<EzLayoutRef>>;
191
-
192
- export declare interface EzLayoutProps extends SharedBaseProps {
193
- /**
194
- * Slots for modular composition.
195
- * @group Extensibility
196
- */
197
- slots?: {
198
- header?: default_2.ComponentType<EzHeaderComponentProps>;
199
- sidebar?: default_2.ComponentType<EzSidebarComponentProps>;
200
- footer?: default_2.ComponentType<Record<string, unknown>>;
201
- commandPalette?: default_2.ComponentType<Record<string, unknown>>;
202
- };
203
- /**
204
- * Props for slots.
205
- * @group Extensibility
206
- */
207
- slotProps?: {
208
- header?: Partial<EzHeaderComponentProps>;
209
- sidebar?: Partial<EzSidebarComponentProps>;
210
- footer?: Record<string, unknown>;
211
- commandPalette?: Record<string, unknown>;
212
- };
213
- /**
214
- * Configuration for the built-in authentication slider.
215
- * Provides slots for sign-in and sign-up forms.
216
- * @group Properties
217
- */
218
- authConfig?: {
219
- /** Slot for custom sign-in form content. @group Subcomponents */
220
- signInSlot?: default_2.ReactNode;
221
- /** Slot for custom sign-up form content. @group Subcomponents */
222
- signUpSlot?: default_2.ReactNode;
223
- };
224
- /**
225
- * Configuration props passed to the default EzHeader component.
226
- * @group Properties
227
- */
228
- headerConfig?: EzHeaderProps;
229
- /**
230
- * Main content to be rendered within the layout.
231
- * @group Data
232
- */
233
- children?: default_2.ReactNode;
234
- /**
235
- * Custom class name for the main content area.
236
- * @group Appearance
237
- */
238
- contentClassName?: string;
239
- /**
240
- * Custom class name for the header container.
241
- * @group Appearance
242
- */
243
- headerClassName?: string;
244
- /**
245
- * Custom class name for the sidebar container.
246
- * @group Appearance
247
- */
248
- sidebarClassName?: string;
249
- /**
250
- * Custom class name for the footer container.
251
- * @group Appearance
252
- */
253
- footerClassName?: string;
254
- /**
255
- * Callback fired when the layout mode changes (e.g. dashboard <-> auth).
256
- * @group Events
257
- */
258
- onModeChange?: (mode: 'dashboard' | 'auth' | 'minimal') => void;
259
- /**
260
- * Callback fired when the sidebar is toggled.
261
- * @group Events
262
- */
263
- onSidebarToggle?: (isOpen: boolean) => void;
264
- /**
265
- * Callback fired when the auth page changes (signin <-> signup).
266
- * @group Events
267
- */
268
- onAuthPageChange?: (page: 'signin' | 'signup') => void;
269
- /**
270
- * Callback fired when the viewport resizes.
271
- * @group Events
272
- */
273
- onViewportResize?: (dimensions: {
274
- width: number;
275
- height: number;
276
- isMobile: boolean;
277
- }) => void;
278
- /**
279
- * Height of the header in pixels.
280
- * @default 64
281
- * @group Appearance
282
- */
283
- headerHeight?: number;
284
- /**
285
- * Width of the sidebar in pixels.
286
- * @default 256
287
- * @group Appearance
288
- */
289
- sidebarWidth?: number;
290
- /**
291
- * Breakpoint in pixels for mobile view.
292
- * @default 768
293
- * @group Properties
294
- */
295
- breakpoint?: number;
296
- /**
297
- * Enable drag-to-resize for the sidebar pane.
298
- * When true, a resize handle appears between the sidebar and main content.
299
- * @default false
300
- * @group Properties
301
- */
302
- sidebarResizable?: boolean;
303
- /**
304
- * Minimum sidebar width in pixels when resizable is enabled.
305
- * @default 200
306
- * @group Appearance
307
- */
308
- sidebarMinWidth?: number;
309
- /**
310
- * Maximum sidebar width in pixels when resizable is enabled.
311
- * @default 480
312
- * @group Appearance
313
- */
314
- sidebarMaxWidth?: number;
315
- /**
316
- * Callback fired when the sidebar is resized by drag.
317
- * @group Events
318
- */
319
- onSidebarResize?: (width: number) => void;
320
- /**
321
- * Enable state persistence to localStorage for layout preferences.
322
- * @group Properties
323
- */
324
- enablePersistence?: boolean;
325
- /**
326
- * Custom media query for fine-grained mobile breakpoint control.
327
- * @group Properties
328
- */
329
- mediaQuery?: string;
330
- /**
331
- * Callback when layout is created.
332
- * @group Events
333
- */
334
- onCreate?: () => void;
335
- /**
336
- * Callback when layout is destroyed.
337
- * @group Events
338
- */
339
- onDestroy?: () => void;
340
- /**
341
- * Callback when resizing starts.
342
- * @group Events
343
- */
344
- onResizeStart?: () => void;
345
- /**
346
- * Callback when resizing stops.
347
- * @group Events
348
- */
349
- onResizeStop?: () => void;
350
- }
351
-
352
- /**
353
- * Imperative API for the EzLayout component.
354
- * Access via ref to programmatically control layout state and shell behavior.
355
- * @group Methods
356
- */
357
- export declare interface EzLayoutRef {
358
- /** Toggles sidebar visibility or sets it explicitly. @group Methods */
359
- toggleSidebar: (open?: boolean) => void;
360
- /** Programmatically opens the sidebar. @group Methods */
361
- openSidebar: () => void;
362
- /** Programmatically closes the sidebar. @group Methods */
363
- closeSidebar: () => void;
364
- /** Returns current visibility of the sidebar. @group Methods */
365
- isSidebarOpen: () => boolean;
366
- /** Sets the top-level layout mode. @group Methods */
367
- setMode: (mode: 'dashboard' | 'auth' | 'minimal') => void;
368
- /** Gets the current layout mode. @group Methods */
369
- getMode: () => 'dashboard' | 'auth' | 'minimal';
370
- /** Switches layout to dashboard mode. @group Methods */
371
- showDashboard: () => void;
372
- /** Switches layout to authentication mode. @group Methods */
373
- showAuth: () => void;
374
- /** Switches layout to minimal mode. @group Methods */
375
- showMinimal: () => void;
376
- /** Switches the active auth view (signin/signup). @group Methods */
377
- setAuthPage: (page: 'signin' | 'signup') => void;
378
- /** Gets the current auth view. @group Methods */
379
- getAuthPage: () => 'signin' | 'signup';
380
- /** Programmatically shows the sign-in form. @group Methods */
381
- showSignIn: () => void;
382
- /** Programmatically shows the sign-up form. @group Methods */
383
- showSignUp: () => void;
384
- /** Returns a snapshot of the internal layout state. @group Methods */
385
- getState: () => {
386
- sidebarOpen: boolean;
387
- mode: 'dashboard' | 'auth' | 'minimal';
388
- headerHeight: number;
389
- sidebarWidth: number;
390
- viewportHeight: number;
391
- isMobile: boolean;
392
- authPage: 'signin' | 'signup';
393
- };
394
- /** Returns current viewport dimensions and mobile status. @group Methods */
395
- getViewport: () => {
396
- height: number;
397
- isMobile: boolean;
398
- };
399
- /** Direct check if the layout is in mobile mode. @group Methods */
400
- isMobile: () => boolean;
401
- /** Gets the configured header height. @group Methods */
402
- getHeaderHeight: () => number;
403
- /** Gets the configured sidebar width. @group Methods */
404
- getSidebarWidth: () => number;
405
- /** Returns calculated CSS styles for the main content area. @group Methods */
406
- getMainContentStyle: () => default_2.CSSProperties;
407
- /** Returns the underlying LayoutService instance. @group Services */
408
- getLayoutService: () => IService;
409
- /** Returns the service registry used by the layout. @group Services */
410
- getServiceRegistry: () => ServiceRegistry;
411
- /** Forces a re-calculation of layout dimensions. @group Methods */
412
- refresh: () => void;
413
- /** Programmatically adds a side panel. @group Methods */
414
- addPanel: (panel: Record<string, unknown>) => void;
415
- /** Removes a side panel by its ID. @group Methods */
416
- removePanel: (id: string) => void;
417
- }
418
-
419
- export declare const EzOrganizationSwitcher: default_2.FC<EzOrganizationSwitcherProps>;
420
-
421
- export declare interface EzOrganizationSwitcherProps {
422
- currentOrg: Organization;
423
- organizations: Organization[];
424
- onSelect: (org: Organization) => void;
425
- collapsed?: boolean;
426
- className?: string;
427
- }
428
-
429
- /**
430
- * Specialized props for a custom sidebar component.
431
- * @group Subcomponents
432
- */
433
- declare interface EzSidebarComponentProps {
434
- /** Whether the sidebar is visible. @group Properties */
435
- open: boolean;
436
- /** Whether the layout is in mobile mode. @group State */
437
- isMobile: boolean;
438
- /** Callback to close the sidebar (typically on overlay click). @group Events */
439
- onClose: () => void;
440
- /** Content to render inside the sidebar. @group Data */
441
- children?: default_2.ReactNode;
442
- /** Allow custom properties passed via slotProps */
443
- [key: string]: any;
444
- }
445
-
446
- export declare const EzSidebarFooter: default_2.FC<EzSidebarFooterProps>;
447
-
448
- export declare interface EzSidebarFooterProps {
449
- collapsed: boolean;
450
- onToggle: () => void;
451
- onLogout?: () => void;
452
- className?: string;
453
- }
454
-
455
- /**
456
- * Container for sidebar navigation items.
457
- * Groups and spaces EzSidebarNavItem components.
458
- */
459
- export declare const EzSidebarNav: default_2.FC<EzSidebarNavProps>;
460
-
461
- export declare const EzSidebarNavItem: default_2.FC<EzSidebarNavItemProps>;
462
-
463
- export declare interface EzSidebarNavItemProps {
464
- icon: default_2.ElementType;
465
- label: string;
466
- active?: boolean;
467
- collapsed?: boolean;
468
- children?: default_2.ReactNode;
469
- onClick?: (e?: default_2.MouseEvent) => void;
470
- className?: string;
471
- }
472
-
473
- export declare interface EzSidebarNavProps {
474
- children: default_2.ReactNode;
475
- className?: string;
476
- }
477
-
478
- /**
479
- * Advanced theme customization component.
480
- * Allows users to change the primary brand color and the layout border radius.
481
- * @group Components
482
- */
483
- export declare const EzThemeColorChanger: default_2.FC<{
484
- className?: string;
485
- }>;
486
-
487
- /**
488
- * Utility component to toggle between Light and Dark theme modes.
489
- * @group Components
490
- */
491
- export declare const EzThemeSwitcher: default_2.FC<{
492
- className?: string;
493
- }>;
494
-
495
- export declare const EzUserProfile: default_2.FC<EzUserProfileProps>;
496
-
497
- /**
498
- * Props for the user profile dropdown component.
499
- * @group Properties
500
- */
501
- export declare interface EzUserProfileProps {
502
- /** Basic user details to display in the menu. @group Data */
503
- user: {
504
- /** Display name of the user. @group Data */
505
- name: string;
506
- /** Email address for secondary identification. @group Data */
507
- email?: string;
508
- /** URL to the user's avatar image. @group Appearance */
509
- avatarUrl?: string;
510
- /** Fallback initials if avatar is missing. @group Appearance */
511
- initials?: string;
512
- };
513
- /** Callback triggered when the user clicks 'Sign Out'. @group Events */
514
- onLogout?: () => void;
515
- /** Custom CSS class for the profile trigger button. @group Appearance */
516
- className?: string;
517
- }
518
-
519
- declare interface FilterGroup {
520
- kind?: 'group';
521
- id?: string;
522
- logic: 'AND' | 'OR';
523
- filters: (FilterRule | FilterGroup)[];
524
- }
525
-
526
- /**
527
- * Filter Utilities Types
528
- */
529
- declare type FilterOperator = 'contains' | 'doesNotContain' | 'shouldContain' | 'equals' | 'notEquals' | 'doesNotEqual' | 'startsWith' | 'endsWith' | 'empty' | 'notEmpty' | 'gt' | 'greaterThan' | 'lt' | 'lessThan' | 'gte' | 'greaterThanOrEqual' | 'lte' | 'lessThanOrEqual' | 'between' | 'in' | 'notIn';
530
-
531
- declare interface FilterRule<TValue = unknown> {
532
- kind?: 'rule';
533
- id?: string;
534
- field: string;
535
- operator: FilterOperator;
536
- value: TValue;
537
- condition?: 'and' | 'or';
538
- }
539
-
540
- /**
541
- * Base interface for all services in the EzUX ecosystem.
542
- * @group Services
543
- */
544
- declare interface IService {
545
- /** Unique name of the service for registration and lookup. @group Data */
546
- name: string;
547
- /** Optional cleanup logic to run when the service is unregistered. @group Methods */
548
- cleanup?: () => void;
549
- }
550
-
551
- export declare interface Organization {
552
- id: string;
553
- name: string;
554
- logo?: string;
555
- }
556
-
557
- /**
558
- * Common pagination model
559
- */
560
- declare interface PaginationModel {
561
- pageIndex: number;
562
- pageSize: number;
563
- totalRows?: number;
564
- }
565
-
566
- /**
567
- * Interface for a service repository that manages service lifecycles and dependency injection.
568
- * @group Services
569
- */
570
- declare interface ServiceRegistry {
571
- /** Registers a service instance by name. @group Methods */
572
- register<T extends IService>(name: string, service: T): void;
573
- /** Retrieves a service instance by name, if it exists. @group Methods */
574
- get<T extends IService>(name: string): T | undefined;
575
- /** Retrieves a service or throws an error if not found. @group Methods */
576
- getOrThrow<T extends IService>(name: string): T;
577
- /** Removes a service from the registry and triggers its cleanup. @group Methods */
578
- unregister(name: string): void;
579
- /** Triggers cleanup for all registered services. @group Methods */
580
- cleanupAll(): void;
581
- /** Subscribes to registry state changes (e.g. services added or removed). @group Methods */
582
- subscribe(listener: (state: ServiceRegistryState) => void): () => void;
583
- }
584
-
585
- declare interface ServiceRegistryState {
586
- serviceNames: string[];
587
- }
588
-
589
- declare interface SharedBaseProps<TData = unknown> extends BaseComponentProps, ComponentEventCallbacks<TData> {
590
- /**
591
- * The shared service registry instance.
592
- * This is required to access shared services like HierarchyService, FocusManagerService, etc.
593
- * @group Services
594
- */
595
- serviceRegistry?: ServiceRegistry;
596
- }
597
-
598
- /**
599
- * Enterprise sign-in form with social login support and validation.
600
- * @group Authentication
601
- */
602
- export declare const SignInForm: default_2.FC<SignInFormProps>;
603
-
604
- /**
605
- * Props for the sign-in form.
606
- * @group Properties
607
- */
608
- export declare interface SignInFormProps {
609
- /** Callback triggered upon successful form validation and submission. @group Events */
610
- onSubmit?: (values: SignInFormValues) => Promise<void>;
611
- /** Initial values for the form fields. @group Properties */
612
- defaultValues?: Partial<SignInFormValues>;
613
- }
614
-
615
- declare interface SignInFormValues {
616
- email: string;
617
- password: string;
618
- }
619
-
620
- /**
621
- * Enterprise sign-up form with profile picture upload and validation.
622
- * @group Authentication
623
- */
624
- export declare const SignUpForm: default_2.FC<SignUpFormProps>;
625
-
626
- /**
627
- * Props for the sign-up form.
628
- * @group Properties
629
- */
630
- export declare interface SignUpFormProps {
631
- /** Callback triggered upon successful form validation and submission. @group Events */
632
- onSubmit?: (values: SignUpFormValues) => Promise<void>;
633
- }
634
-
635
- declare interface SignUpFormValues {
636
- name: string;
637
- email: string;
638
- password: string;
639
- }
640
-
641
- /**
642
- * Common sort direction
643
- */
644
- declare type SortDirection = 'asc' | 'desc' | false;
645
-
646
- /**
647
- * Common sort model
648
- */
649
- declare interface SortModel {
650
- field: string;
651
- direction: SortDirection;
652
- }
653
-
654
- export { }
655
-
656
-
657
- declare module '@tanstack/react-table' {
658
- interface TableMeta<TData extends RowData> {
659
- updateData?: (rowIndex: number, columnId: string, value: unknown) => void;
660
- editingRows?: Record<string, boolean>;
661
- toggleRowEditing?: (rowIndex: number, editing?: boolean) => void;
662
- focusedCell?: {
663
- r: number;
664
- c: number;
665
- } | null;
666
- setFocusedCell?: (cell: {
667
- r: number;
668
- c: number;
669
- } | null) => void;
670
- navigateFocus?: (dr: number, dc: number) => void;
671
- enableEditing?: boolean;
672
- isRowEditable?: (row: TData) => boolean;
673
- isCellEditable?: (row: TData, columnId: string) => boolean;
674
- enableSearchHighlighting?: boolean;
675
- selectionSettings?: SelectionSettings;
676
- editSettings?: EditSettings;
677
- filterSettings?: FilterSettings;
678
- searchSettings?: SearchSettings;
679
- sortSettings?: SortSettings;
680
- textWrapSettings?: TextWrapSettings;
681
- classNames?: EzTableClassNames<TData>;
682
- icons?: EzTableIcons;
683
- slots?: EzTableSlots<TData>;
684
- slotProps?: Record<string, unknown>;
685
- localization?: EzTableLocalization;
686
- gridLines?: 'Both' | 'Horizontal' | 'Vertical' | 'None';
687
- }
688
- interface ColumnMeta<TData extends RowData, TValue> extends EzColumnMeta {
689
- }
690
- }
1
+ export * from './components/EzLayout/index.js'
2
+ export {}
package/dist/layout.es.js CHANGED
@@ -1,20 +1,2 @@
1
- import "react/jsx-runtime";
2
- import "react";
3
- import "./useInitCoreServices-D1WaWlaI.js";
4
- import { b as m, c as z, d as E, e as S, f as g, g as h, h as n, i as p, j as d, k as b, S as c, l as f } from "./index-BQKw_Vho.js";
5
- import "./EzErrorBoundary-D4NBadES.js";
6
- import "./NotificationPanel-D2Y-_ahk.js";
7
- export {
8
- m as EzHeader,
9
- z as EzLanguageSwitcher,
10
- E as EzLayout,
11
- S as EzOrganizationSwitcher,
12
- g as EzSidebarFooter,
13
- h as EzSidebarNav,
14
- n as EzSidebarNavItem,
15
- p as EzThemeColorChanger,
16
- d as EzThemeSwitcher,
17
- b as EzUserProfile,
18
- c as SignInForm,
19
- f as SignUpForm
20
- };
1
+ import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, r as c, s as l, t as u, u as d } from "./EzLayout-CiaPLniV.js";
2
+ export { e as EzHeader, t as EzLanguageSwitcher, u as EzLayout, s as EzOrganizationSwitcher, o as EzSidebarFooter, i as EzSidebarNav, c as EzSidebarNavItem, a as EzThemeColorChanger, d as EzThemeSwitcher, l as EzUserProfile, n as SignInForm, r as SignUpForm };