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/table.d.ts CHANGED
@@ -1,1059 +1,2 @@
1
- import { ColumnDef } from '@tanstack/react-table';
2
- import { ColumnFiltersState } from '@tanstack/react-table';
3
- import { default as default_2 } from 'react';
4
- import { JSX } from 'react/jsx-runtime';
5
- import { PaginationState } from '@tanstack/react-table';
6
- import { Row } from '@tanstack/react-table';
7
- import { RowSelectionState } from '@tanstack/react-table';
8
- import { SortingState } from '@tanstack/react-table';
9
- import { Table } from '@tanstack/react-table';
10
- import { TableState } from '@tanstack/react-table';
11
- import { Updater } from '@tanstack/react-table';
12
-
13
- /**
14
- * Base Component Types
15
- */
16
- declare interface BaseComponentProps {
17
- /** Unique identifier for the component instance @group Properties */
18
- id?: string;
19
- /** Custom class names for styling @group Properties */
20
- className?: string;
21
- /** Inline styles @group Properties */
22
- style?: default_2.CSSProperties;
23
- /** Data attribute for testing @group Properties */
24
- dataTestId?: string;
25
- /** Direction of the text (ltr, rtl, auto) @group Properties */
26
- dir?: 'ltr' | 'rtl' | 'auto';
27
- }
28
-
29
- /**
30
- * Systemic column width calculator for EzTable.
31
- * Accounts for font metrics, padding, and interactive library icons.
32
- */
33
- export declare const calculateColWidth: (text: string, options?: {
34
- fontSize?: string;
35
- fontWeight?: string;
36
- fontFamily?: string;
37
- padding?: number;
38
- hasIcons?: boolean;
39
- }) => number;
40
-
41
- /**
42
- * Common event callback types
43
- * Contains ONLY events that are truly shared across components with identical signatures.
44
- * Component-specific events (onCellClick, onRowClick, etc) should be defined in each component's types.
45
- */
46
- declare interface ComponentEventCallbacks<TData = unknown> {
47
- /**
48
- * Callback when component is created.
49
- * @group Events
50
- */
51
- onCreated?: () => void;
52
- /**
53
- * Callback when component is destroyed.
54
- * @group Events
55
- */
56
- onDestroyed?: () => void;
57
- /**
58
- * Callback when grid/component render starts.
59
- * @group Events
60
- */
61
- onGridRenderStart?: () => void;
62
- /**
63
- * Callback when grid/component render completes.
64
- * @group Events
65
- */
66
- onGridRenderComplete?: () => void;
67
- /**
68
- * Callback when data changes.
69
- * @group Events
70
- */
71
- onDataChange?: (data: TData[]) => void;
72
- /**
73
- * Callback when data loads.
74
- * @group Events
75
- */
76
- onDataLoad?: (data: TData[]) => void;
77
- /**
78
- * Callback when data is requested.
79
- * @group Events
80
- */
81
- onDataRequest?: (query: DataQuery) => void;
82
- /**
83
- * Callback when data change starts.
84
- * @group Events
85
- */
86
- onDataChangeStart?: (args: {
87
- action: 'add' | 'edit' | 'delete';
88
- data: TData | TData[];
89
- }) => void;
90
- /**
91
- * Callback when data change completes.
92
- * @group Events
93
- */
94
- onDataChangeComplete?: (args: {
95
- action: 'add' | 'edit' | 'delete';
96
- data: TData | TData[];
97
- }) => void;
98
- /**
99
- * Callback when data change is cancelled.
100
- * @group Events
101
- */
102
- onDataChangeCancel?: (args: {
103
- action: 'add' | 'edit' | 'delete';
104
- row?: TData;
105
- }) => void;
106
- /**
107
- * Callback when data change is requested.
108
- * @group Events
109
- */
110
- onDataChangeRequest?: (args: {
111
- action: 'add' | 'edit' | 'delete';
112
- data: TData;
113
- }) => void;
114
- /**
115
- * Callback on error.
116
- * @group Events
117
- */
118
- onError?: (error: Error | unknown) => void;
119
- /**
120
- * Callback on refresh.
121
- * @group Events
122
- */
123
- onRefresh?: () => void;
124
- }
125
-
126
- /**
127
- * Represents a structured request for data fetching/filtering.
128
- */
129
- declare interface DataQuery {
130
- filters?: FilterRule[] | FilterGroup;
131
- sort?: SortModel[];
132
- pagination?: PaginationModel;
133
- search?: string;
134
- [key: string]: any;
135
- }
136
-
137
- /**
138
- * Configuration for editing behavior.
139
- * @group Models
140
- */
141
- declare interface EditSettings {
142
- /** Whether to allow adding new rows. @group Properties */
143
- allowAdding?: boolean;
144
- /** Whether to allow editing existing rows. @group Properties */
145
- allowEditing?: boolean;
146
- /** Whether to allow deleting rows. @group Properties */
147
- allowDeleting?: boolean;
148
- /** Edit mode. @group Properties */
149
- mode?: 'Normal' | 'Dialog' | 'Batch';
150
- /** Position for newly added rows. @group Properties */
151
- newRowPosition?: 'Top' | 'Bottom';
152
- /** Whether to allow editing on double-click. @group Properties */
153
- allowEditOnDblClick?: boolean;
154
- /** Primary key field(s) for identification. @group Properties */
155
- primaryKey?: string | string[];
156
- }
157
-
158
- /**
159
- * EzTable is a high-performance, enterprise-grade data grid engine.
160
- * Built on TanStack Table v8, it combines lightweight core logic with powerful
161
- * features like virtualization, advanced filtering, and modular editing.
162
- *
163
-
164
- * ### Core Capabilities
165
- * - **Superior Performance**: Row and column virtualization for smooth handling of 100k+ records.
166
- * - **Smart Data Fetching**: Support for infinite scroll, server-side pagination, and caching via React Query.
167
- * - **Flexible Editing**: Choose between `Normal` (inline), `Dialog` (form-based), or `Batch` editing modes.
168
- * - **Advanced Interactivity**: Range selection, drag-and-drop column reordering, and context menus.
169
- * - **Data Intelligence**: Built-in export (Excel/CSV/PDF), column pinning, and grouping.
170
- *
171
- * ### Minimal Example
172
- * ```tsx
173
- * <EzTable
174
- * data={employees}
175
- * columns={[
176
- * { accessorKey: 'name', header: 'Name' },
177
- * { accessorKey: 'role', header: 'Role' }
178
- * ]}
179
- * pagination
180
- * enableFiltering
181
- * />
182
- * ```
183
- *
184
- * ### Advanced Config: Editing & Persistence
185
- * ```tsx
186
- * <EzTable
187
- * data={data}
188
- * columns={columns}
189
- * editSettings={{
190
- * allowEditing: true,
191
- * mode: 'Batch',
192
- * primaryKey: 'id'
193
- * }}
194
- * enablePersistence
195
- * persistenceKey="user-table-grid"
196
- * onBatchSave={(changes) => saveToDatabase(changes)}
197
- * />
198
- * ```
199
- *
200
- * @group Core Components
201
- */
202
- export declare const EzTable: <TData extends object>(props: EzTableProps<TData> & {
203
- ref?: default_2.ForwardedRef<EzTableRef<TData>>;
204
- }) => default_2.ReactElement;
205
-
206
- /**
207
- * Custom CSS class names for internal table elements.
208
- * @group Models
209
- */
210
- declare interface EzTableClassNames<TData = unknown> {
211
- /** Root container class. @group Properties */
212
- root?: string;
213
- /** Header class. @group Properties */
214
- header?: string;
215
- /** Body class. @group Properties */
216
- body?: string;
217
- /** Row class or function. @group Properties */
218
- row?: string | ((row: Row<TData>) => string);
219
- /** Cell class or function. @group Properties */
220
- cell?: string | ((cell: unknown) => string);
221
- /** Footer class. @group Properties */
222
- footer?: string;
223
- }
224
-
225
- /**
226
- * Custom icons for table elements.
227
- * @group Models
228
- */
229
- declare interface EzTableIcons {
230
- /** Sorting ascending icon. @group Properties */
231
- sortAsc?: default_2.ReactNode;
232
- /** Sorting descending icon. @group Properties */
233
- sortDesc?: default_2.ReactNode;
234
- /** Filter icon. @group Properties */
235
- filter?: default_2.ReactNode;
236
- /** Context menu trigger icon. @group Properties */
237
- contextMenu?: default_2.ReactNode;
238
- /** Expanded row/group icon. @group Properties */
239
- expanded?: default_2.ReactNode;
240
- /** Collapsed row/group icon. @group Properties */
241
- collapsed?: default_2.ReactNode;
242
- /** First page icon. @group Properties */
243
- firstPage?: default_2.ReactNode;
244
- /** Last page icon. @group Properties */
245
- lastPage?: default_2.ReactNode;
246
- /** Next page icon. @group Properties */
247
- nextPage?: default_2.ReactNode;
248
- /** Previous page icon. @group Properties */
249
- previousPage?: default_2.ReactNode;
250
- }
251
-
252
- /**
253
- * Localization strings for the table component.
254
- * @group Models
255
- */
256
- declare interface EzTableLocalization {
257
- /** "No records to display" label. @group Properties */
258
- noRowsLabel?: string;
259
- /** "Loading..." label. @group Properties */
260
- loadingLabel?: string;
261
- /** Column menu label. @group Properties */
262
- columnMenuLabel?: string;
263
- /** "Contains" filter operator label. @group Properties */
264
- filterOperatorContains?: string;
265
- /** Next page label. @group Properties */
266
- nextPage?: string;
267
- /** Previous page label. @group Properties */
268
- previousPage?: string;
269
- /** First page label. @group Properties */
270
- firstPage?: string;
271
- /** Last page label. @group Properties */
272
- lastPage?: string;
273
- /** Search input placeholder. @group Properties */
274
- searchPlaceholder?: string;
275
- /** Rows per page label. @group Properties */
276
- rowsPerPageLabel?: string;
277
- /** Rows label. @group Properties */
278
- rowsLabel?: string;
279
- /** Total label. @group Properties */
280
- totalLabel?: string;
281
- /** Records label. @group Properties */
282
- recordsLabel?: string;
283
- /** Page label. @group Properties */
284
- pageLabel?: string;
285
- /** "of" label. @group Properties */
286
- ofLabel?: string;
287
- /** "Go to" label. @group Properties */
288
- goToLabel?: string;
289
- /** Pager status message. @group Properties */
290
- pagerMessage?: string;
291
- }
292
-
293
- export declare const EzTablePrimitive: default_2.ForwardRefExoticComponent<EzTableProps<object> & default_2.RefAttributes<EzTableRef<object>>>;
294
-
295
- /**
296
- * Props for the EzTable component.
297
- *
298
- * @example
299
- * ```tsx
300
- * import { EzTable, useEzTable } from 'ezux';
301
- *
302
- * const table = useEzTable({
303
- * data: [{ id: 1, name: 'John' }],
304
- * columns: [{ accessorKey: 'name', header: 'Name' }]
305
- * });
306
- *
307
- * return <EzTable table={table} />;
308
- * ```
309
- */
310
- declare interface EzTableProps<TData extends object> extends SharedBaseProps<TData> {
311
- /**
312
- * The data to display in the table.
313
- * Can be an array of objects or an empty array.
314
- * @group Properties
315
- */
316
- data: TData[];
317
- /**
318
- * Configuration for the table columns.
319
- * Defines headers, accessors, cell rendering, and other per-column options.
320
- * @group Properties
321
- */
322
- columns: ColumnDef<TData>[];
323
- /**
324
- * Controlled state object for the table.
325
- * Use this to control pagination, sorting, filtering, etc. from outside.
326
- * @group Properties
327
- */
328
- state?: Partial<TableState>;
329
- /**
330
- * Initial state object for the table.
331
- * Use this to set the initial pagination, sorting, filtering, etc.
332
- * @group Properties
333
- */
334
- initialState?: Partial<TableState>;
335
- /**
336
- * Callback fired when the table state changes.
337
- * @group Events
338
- */
339
- onStateChange?: (updater: Updater<TableState>) => void;
340
- /**
341
- * Custom slots to override default internal components.
342
- * @group Properties
343
- */
344
- slots?: EzTableSlots<TData>;
345
- /**
346
- * Props to pass to the custom slots.
347
- * @group Properties
348
- */
349
- slotProps?: Record<string, unknown>;
350
- /**
351
- * Custom class names for internal table elements.
352
- * Use strict mode class names or functions for dynamic styling.
353
- * @group Properties
354
- */
355
- classNames?: EzTableClassNames<TData>;
356
- /**
357
- * Custom icons for table elements (sort, filter, pagination, etc.).
358
- * @group Properties
359
- */
360
- icons?: EzTableIcons;
361
- /**
362
- * Function to derive a unique ID for a row.
363
- * Defaults to looking for `id` property.
364
- * @group Properties
365
- */
366
- getRowId?: (row: TData) => string;
367
- /**
368
- * Callback to process a row update before it is committed.
369
- * Useful for validation or transformation.
370
- * @group Events
371
- */
372
- onProcessRowUpdate?: (newRow: TData, oldRow: TData) => Promise<TData>;
373
- /**
374
- * Alias for onDataRequest. Triggered when data needs to be fetched (e.g. pagination/sorting in server-side mode).
375
- * @group Events
376
- */
377
- onFetchData?: (params: unknown) => void;
378
- /**
379
- * Localization strings for the table (e.g. pagination labels, no rows message).
380
- * @group Properties
381
- */
382
- localization?: EzTableLocalization;
383
- /**
384
- * Estimated row height for virtualization.
385
- * Increase this if your rows are taller than 48px to improve scroll performance.
386
- * Default: 48
387
- * @group Properties
388
- */
389
- estimatedRowHeight?: number;
390
- /**
391
- * Progressive rendering for large datasets.
392
- * Renders rows in chunks to keep the UI responsive.
393
- * @group Properties
394
- */
395
- progressiveRendering?: boolean;
396
- /**
397
- * Distance in items to prefetch during scrolling.
398
- * @group Properties
399
- */
400
- prefetchDistance?: number;
401
- /**
402
- * Number of items to render outside the visible area.
403
- * Higher values reduce blank space during fast scrolling but increase memory usage.
404
- * @group Properties
405
- */
406
- overscanCount?: number;
407
- /**
408
- * Enable debug logging for virtualization.
409
- * @group Properties
410
- */
411
- debugVirtualization?: boolean;
412
- /**
413
- * Enable adaptive sizing for dynamic item heights.
414
- * @group Properties
415
- */
416
- adaptiveSizing?: boolean;
417
- /**
418
- * Scroll padding start (pixels) to offset sticky elements or top padding.
419
- * @group Properties
420
- */
421
- scrollPaddingStart?: number;
422
- /**
423
- * Scroll padding end (pixels) to offset sticky elements.
424
- * @group Properties
425
- */
426
- scrollPaddingEnd?: number;
427
- /**
428
- * Scroll margin (pixels) to apply to scroll container.
429
- * @group Properties
430
- */
431
- scrollMargin?: number;
432
- /**
433
- * Enable horizontal column virtualization.
434
- * Recommended for tables with many columns (e.g. 50+).
435
- * @group Properties
436
- */
437
- enableColumnVirtualization?: boolean;
438
- /**
439
- * Number of columns after which virtualization kicks in.
440
- * @group Properties
441
- */
442
- columnVirtualizationThreshold?: number;
443
- /**
444
- * Enable Infinite Scrolling.
445
- * If true, `onEndReached` will be called when the user scrolls to the bottom.
446
- * @group Properties
447
- */
448
- enableInfiniteScroll?: boolean;
449
- /**
450
- * Callback when the table is scrolled to the bottom.
451
- * Used for Infinite Scroll to load more data.
452
- * @group Events
453
- */
454
- onEndReached?: () => void;
455
- /**
456
- * @deprecated Use `data` instead.
457
- * @remarks Providing `dataSource` without `data` will trigger a runtime warning.
458
- * @group Properties
459
- */
460
- dataSource?: TData[];
461
- /**
462
- * Configuration for pagination.
463
- * Defines page size, available page sizes, and initial page.
464
- * @group Properties
465
- */
466
- pageSettings?: {
467
- pageSize?: number;
468
- pageCount?: number;
469
- currentPage?: number;
470
- pageSizes?: number[];
471
- };
472
- /**
473
- * Configuration for column aggregates (e.g. Sum, Average).
474
- * Displayed in the table footer.
475
- * @group Properties
476
- */
477
- aggregates?: {
478
- field: string;
479
- type: 'Sum' | 'Average' | 'Min' | 'Max' | 'Count' | 'Custom';
480
- footerTemplate?: string;
481
- }[];
482
- /**
483
- * Text clipping mode for all columns.
484
- * - `clip`: Text is clipped.
485
- * - `ellipsis`: Text is truncated with an ellipsis.
486
- * - `ellipsis-tooltip`: Text is truncated and a tooltip is shown on hover.
487
- * @group Properties
488
- */
489
- clipMode?: 'clip' | 'ellipsis' | 'ellipsis-tooltip';
490
- /**
491
- * Total expected rows if knowing beforehand.
492
- * Crucial for server-side pagination to calculate total pages.
493
- * @group Properties
494
- */
495
- rowCount?: number;
496
- /**
497
- * Enable pagination.
498
- * @group Properties
499
- */
500
- pagination?: boolean;
501
- /**
502
- * Number of rows per page.
503
- * @group Properties
504
- */
505
- pageSize?: number;
506
- /**
507
- * Grid line configuration.
508
- * @group Properties
509
- */
510
- gridLines?: 'Both' | 'Horizontal' | 'Vertical' | 'None';
511
- /**
512
- * Enable keyboard navigation features.
513
- * @group Properties
514
- */
515
- allowKeyboard?: boolean;
516
- /**
517
- * Enable alternating row background colors (zebra striping).
518
- * @group Properties
519
- */
520
- enableAltRow?: boolean;
521
- /**
522
- * Enable row hover effect.
523
- * @group Properties
524
- */
525
- enableHover?: boolean;
526
- /**
527
- * Enable HTML sanitizer for cell content.
528
- * @group Properties
529
- */
530
- enableHtmlSanitizer?: boolean;
531
- /**
532
- * Width of the table.
533
- * Accepts pixel number or CSS string (e.g. '100%').
534
- * @group Properties
535
- */
536
- width?: string | number;
537
- /**
538
- * Height of the table.
539
- * Accepts pixel number or CSS string (e.g. '500px').
540
- * @group Properties
541
- */
542
- height?: string | number;
543
- /**
544
- * Fixed row height for all rows.
545
- * Required for efficient virtualization.
546
- * @group Properties
547
- */
548
- rowHeight?: number;
549
- /**
550
- * Configuration for row/cell selection behavior.
551
- * @group Properties
552
- */
553
- selectionSettings?: SelectionSettings;
554
- /**
555
- * Configuration for filtering behavior (UI type, mode, etc).
556
- * @group Properties
557
- */
558
- filterSettings?: FilterSettings;
559
- /**
560
- * Configuration for global search behavior.
561
- * @group Properties
562
- */
563
- searchSettings?: SearchSettings;
564
- /**
565
- * Configuration for sorting behavior.
566
- * @group Properties
567
- */
568
- sortSettings?: SortSettings;
569
- /**
570
- * Configuration for editing behavior (mode, new row position).
571
- * @group Properties
572
- */
573
- editSettings?: EditSettings;
574
- /**
575
- * Configuration for text wrapping in cells and headers.
576
- * @group Properties
577
- */
578
- textWrapSettings?: TextWrapSettings;
579
- /**
580
- * Toolbar items configuration.
581
- * Accepts an array of item names (strings) or detailed item objects.
582
- * @group Properties
583
- */
584
- toolbar?: (ToolbarItemType | ToolbarItem)[];
585
- /**
586
- * Generic query parameters for server-side operations.
587
- * Passed to `onDataRequest`.
588
- * @group Properties
589
- */
590
- query?: unknown;
591
- /**
592
- * Callback when grid renders starts.
593
- * @group Events
594
- */
595
- onGridRenderStart?: () => void;
596
- /**
597
- * Callback when grid renders completes.
598
- * @group Events
599
- */
600
- onGridRenderComplete?: () => void;
601
- /**
602
- * Callback when a cell is focused.
603
- * @group Events
604
- */
605
- onCellFocus?: (args: {
606
- cell: unknown;
607
- row: Row<TData>;
608
- }) => void;
609
- /**
610
- * Callback when a toolbar item is clicked.
611
- * @group Events
612
- */
613
- onToolbarItemClick?: (args: {
614
- item: ToolbarItem;
615
- originalEvent: default_2.MouseEvent;
616
- }) => void;
617
- /**
618
- * Callback when a row is deselected.
619
- * @group Events
620
- */
621
- onRowDeselect?: (args: {
622
- row?: Row<TData>;
623
- data: TData;
624
- rowIndex: number;
625
- }) => void;
626
- /**
627
- * Callback when a row is clicked.
628
- * @group Events
629
- */
630
- onRowClick?: (args: {
631
- row: Row<TData>;
632
- data: TData;
633
- rowIndex: number;
634
- originalEvent: default_2.MouseEvent;
635
- }) => void;
636
- /**
637
- * Callback when a row is selected.
638
- * @group Events
639
- */
640
- onRowSelect?: (args: {
641
- row?: Row<TData>;
642
- data: TData;
643
- rowIndex: number;
644
- originalEvent?: default_2.SyntheticEvent;
645
- }) => void;
646
- /**
647
- * Callback when a row is double-clicked.
648
- * @group Events
649
- */
650
- onRowDoubleClick?: (args: {
651
- row: Row<TData>;
652
- data: TData;
653
- rowIndex: number;
654
- originalEvent: default_2.MouseEvent;
655
- }) => void;
656
- /**
657
- * Callback before a new row is added. Return false to cancel.
658
- * @group Events
659
- */
660
- onRowAddStart?: (args: {
661
- data: Partial<TData>;
662
- }) => void;
663
- /**
664
- * Callback before a row is edited. Return false to cancel.
665
- * @group Events
666
- */
667
- onRowEditStart?: (args: {
668
- row: Row<TData>;
669
- data: TData;
670
- }) => void;
671
- /**
672
- * Callback when batch changes are saved.
673
- * @group Events
674
- */
675
- onBatchSave?: (changes: {
676
- addedRecords: TData[];
677
- changedRecords: TData[];
678
- deletedRecords: TData[];
679
- }) => void;
680
- /**
681
- * Callback when a record fails validation before saving.
682
- * @group Events
683
- */
684
- onActionFailure?: (args: {
685
- error: unknown;
686
- }) => void;
687
- /**
688
- * Callback when a record is successfully saved.
689
- * @group Events
690
- */
691
- onActionComplete?: (args: {
692
- action: 'add' | 'edit' | 'delete';
693
- data: TData;
694
- }) => void;
695
- /**
696
- * Formats cell data on the fly.
697
- * @group Events
698
- */
699
- queryCellInfo?: (args: {
700
- row: Row<TData>;
701
- data: TData;
702
- column: ColumnDef<TData>;
703
- cell: unknown;
704
- }) => void;
705
- /**
706
- * Sets class names for specific rows.
707
- * @group Events
708
- */
709
- setRowClass?: (row: Row<TData>) => string;
710
- /**
711
- * Component validation hook for custom validation.
712
- */
713
- validateField?: (params: any) => string | boolean;
714
- enableSearchHighlighting?: boolean;
715
- enableEditing?: boolean;
716
- isRowEditable?: (row: TData) => boolean;
717
- isCellEditable?: (row: TData, columnId: string) => boolean;
718
- enableAdvancedFiltering?: boolean;
719
- enableExport?: boolean;
720
- onExportExcel?: (table: Table<TData>) => void;
721
- onExportCSV?: (table: Table<TData>) => void;
722
- onExportPDF?: (table: Table<TData>) => void;
723
- enableStickyHeader?: boolean;
724
- enableStickyPagination?: boolean;
725
- enableChangeTracking?: boolean;
726
- enableColumnPinning?: boolean;
727
- enableTreeData?: boolean;
728
- getSubRows?: (originalRow: TData, index: number) => TData[] | undefined;
729
- manualPagination?: boolean;
730
- manualSorting?: boolean;
731
- manualFiltering?: boolean;
732
- enablePersistence?: boolean;
733
- persistenceKey?: string;
734
- defaultGrouping?: string[];
735
- onSortingChange?: (updaterOrValue: Updater<SortingState>) => void;
736
- onSort?: (args: {
737
- columns: {
738
- direction: 'Ascending' | 'Descending' | 'None';
739
- name: string;
740
- }[];
741
- }) => void;
742
- onPaginationChange?: (updaterOrValue: Updater<PaginationState>) => void;
743
- onPageChange?: (args: {
744
- action: string;
745
- currentPage: number;
746
- }) => void;
747
- onRowSelectionChange?: (updaterOrValue: Updater<RowSelectionState>) => void;
748
- onColumnOrderChange?: (updaterOrValue: Updater<string[]>) => void;
749
- onColumnFiltersChange?: (updaterOrValue: Updater<ColumnFiltersState>) => void;
750
- onGlobalFilterChange?: (updaterOrValue: Updater<any>) => void;
751
- onFilter?: (args: {
752
- columns: any;
753
- }) => void;
754
- onSearch?: (query: string) => void;
755
- onActionBegin?: (args: any) => void;
756
- enableRangeSelection?: boolean;
757
- pageCount?: number;
758
- enableRowSelection?: boolean;
759
- enableRowPinning?: boolean;
760
- density?: 'standard' | 'comfortable' | 'compact';
761
- service?: ITableService<TData>;
762
- serviceName?: string;
763
- isLoading?: boolean;
764
- onBatchDiscard?: () => void;
765
- enableContextMenu?: boolean;
766
- onContextMenuItemClick?: (item: unknown) => void;
767
- renderDetailPanel?: (row: Row<TData>) => default_2.ReactNode;
768
- enableGrouping?: boolean;
769
- enableColumnReorder?: boolean;
770
- onFormRender?: (props: unknown) => default_2.ReactNode;
771
- scrollBehavior?: ScrollBehavior;
772
- renderNoRowsOverlay?: () => default_2.ReactNode;
773
- /**
774
- * Whether to show the status bar at the bottom of the table.
775
- * Defaults to true.
776
- * @group Properties
777
- */
778
- enableStatusBar?: boolean;
779
- }
780
-
781
- declare interface EzTableRef<TData extends object> {
782
- getState: () => TableState;
783
- getSelectedRows: () => TData[];
784
- saveChanges: () => Promise<void>;
785
- cancelChanges: () => void;
786
- getChanges: () => any;
787
- validateField: (field: string) => boolean;
788
- validateEditForm: () => boolean;
789
- [key: string]: any;
790
- }
791
-
792
- export declare const EzTableRoot: <TData extends object>({ data, children }: EzTableRootProps<TData>) => JSX.Element;
793
-
794
- declare interface EzTableRootProps<TData> {
795
- data: TData[];
796
- children: default_2.ReactNode;
797
- }
798
-
799
- /**
800
- * Custom component slots for override.
801
- * @group Models
802
- */
803
- declare interface EzTableSlots<TData = unknown> {
804
- /** Custom toolbar component. @group Properties */
805
- toolbar?: default_2.ComponentType<unknown>;
806
- /** Custom footer component. @group Properties */
807
- footer?: default_2.ComponentType<unknown>;
808
- /** Custom overlay for empty state. @group Properties */
809
- noRowsOverlay?: default_2.ComponentType<unknown>;
810
- /** Custom loading overlay. @group Properties */
811
- loadingOverlay?: default_2.ComponentType<unknown>;
812
- /** Custom header component. @group Properties */
813
- header?: default_2.ComponentType<unknown>;
814
- /** Custom row component. @group Properties */
815
- row?: default_2.ComponentType<{
816
- row: Row<TData>;
817
- }>;
818
- /** Custom empty record component. @group Properties */
819
- emptyRecord?: default_2.ComponentType<unknown>;
820
- /** Custom loading component. @group Properties */
821
- loading?: default_2.ComponentType<unknown>;
822
- }
823
-
824
- declare interface FilterGroup {
825
- kind?: 'group';
826
- id?: string;
827
- logic: 'AND' | 'OR';
828
- filters: (FilterRule | FilterGroup)[];
829
- }
830
-
831
- /**
832
- * Filter Utilities Types
833
- */
834
- declare type FilterOperator = 'contains' | 'doesNotContain' | 'shouldContain' | 'equals' | 'notEquals' | 'doesNotEqual' | 'startsWith' | 'endsWith' | 'empty' | 'notEmpty' | 'gt' | 'greaterThan' | 'lt' | 'lessThan' | 'gte' | 'greaterThanOrEqual' | 'lte' | 'lessThanOrEqual' | 'between' | 'in' | 'notIn';
835
-
836
- declare interface FilterRule<TValue = unknown> {
837
- kind?: 'rule';
838
- id?: string;
839
- field: string;
840
- operator: FilterOperator;
841
- value: TValue;
842
- condition?: 'and' | 'or';
843
- }
844
-
845
- /**
846
- * Configuration for filtering behavior.
847
- * @group Models
848
- */
849
- declare interface FilterSettings {
850
- /** Filter UI type. @group Properties */
851
- type?: 'Menu' | 'CheckBox' | 'Excel';
852
- /** Whether to ignore accents during filtering. @group Properties */
853
- ignoreAccent?: boolean;
854
- /** Filter application mode. @group Properties */
855
- mode?: 'Immediate' | 'OnEnter';
856
- /** Whether to show the filter bar status. @group Properties */
857
- showFilterBarStatus?: boolean;
858
- }
859
-
860
- /**
861
- * Base interface for all services in the EzUX ecosystem.
862
- * @group Services
863
- */
864
- declare interface IService {
865
- /** Unique name of the service for registration and lookup. @group Data */
866
- name: string;
867
- /** Optional cleanup logic to run when the service is unregistered. @group Methods */
868
- cleanup?: () => void;
869
- }
870
-
871
- declare interface ITableService<TData extends object> {
872
- fetchData: (query: unknown) => Promise<{
873
- data: TData[];
874
- rowCount?: number;
875
- }>;
876
- getData: (params: TableParams<TData>) => Promise<{
877
- data: TData[];
878
- rowCount?: number;
879
- } | {
880
- data: TData[];
881
- totalCount: number;
882
- }>;
883
- createRow: (row: Partial<TData>) => Promise<TData>;
884
- updateRow: (id: string | number, updates: Partial<TData>) => Promise<TData>;
885
- deleteRow: (id: string | number) => Promise<void>;
886
- }
887
-
888
- /**
889
- * Common pagination model
890
- */
891
- declare interface PaginationModel {
892
- pageIndex: number;
893
- pageSize: number;
894
- totalRows?: number;
895
- }
896
-
897
- /**
898
- * Configuration for global search behavior.
899
- * @group Models
900
- */
901
- declare interface SearchSettings {
902
- /** Specific fields to search in. @group Properties */
903
- fields?: string[];
904
- /** Search operator. @group Properties */
905
- operator?: 'contains' | 'startsWith' | 'endsWith' | 'equal';
906
- /** Search key/term. @group Properties */
907
- key?: string;
908
- /** Whether to ignore case during search. @group Properties */
909
- ignoreCase?: boolean;
910
- }
911
-
912
- /**
913
- * Configuration for row/cell selection behavior.
914
- * @group Models
915
- */
916
- declare interface SelectionSettings {
917
- /** Selection mode. @group Properties */
918
- mode?: 'Row' | 'Cell' | 'Both';
919
- /** Selection type. @group Properties */
920
- type?: 'Single' | 'Multiple';
921
- /** Whether to allow selection only via checkbox. @group Properties */
922
- checkboxOnly?: boolean;
923
- /** Whether to persist selection across data updates. @group Properties */
924
- persistSelection?: boolean;
925
- }
926
-
927
- /**
928
- * Interface for a service repository that manages service lifecycles and dependency injection.
929
- * @group Services
930
- */
931
- declare interface ServiceRegistry {
932
- /** Registers a service instance by name. @group Methods */
933
- register<T extends IService>(name: string, service: T): void;
934
- /** Retrieves a service instance by name, if it exists. @group Methods */
935
- get<T extends IService>(name: string): T | undefined;
936
- /** Retrieves a service or throws an error if not found. @group Methods */
937
- getOrThrow<T extends IService>(name: string): T;
938
- /** Removes a service from the registry and triggers its cleanup. @group Methods */
939
- unregister(name: string): void;
940
- /** Triggers cleanup for all registered services. @group Methods */
941
- cleanupAll(): void;
942
- /** Subscribes to registry state changes (e.g. services added or removed). @group Methods */
943
- subscribe(listener: (state: ServiceRegistryState) => void): () => void;
944
- }
945
-
946
- declare interface ServiceRegistryState {
947
- serviceNames: string[];
948
- }
949
-
950
- declare interface SharedBaseProps<TData = unknown> extends BaseComponentProps, ComponentEventCallbacks<TData> {
951
- /**
952
- * The shared service registry instance.
953
- * This is required to access shared services like HierarchyService, FocusManagerService, etc.
954
- * @group Services
955
- */
956
- serviceRegistry?: ServiceRegistry;
957
- }
958
-
959
- /**
960
- * Common sort direction
961
- */
962
- declare type SortDirection = 'asc' | 'desc' | false;
963
-
964
- /**
965
- * Common sort model
966
- */
967
- declare interface SortModel {
968
- field: string;
969
- direction: SortDirection;
970
- }
971
-
972
- /**
973
- * Configuration for sorting behavior.
974
- * @group Models
975
- */
976
- declare interface SortSettings {
977
- /** Sort mode (single or multiple columns). @group Properties */
978
- mode?: 'Single' | 'Multiple';
979
- /** Whether to allow unsorting columns. @group Properties */
980
- allowUnsort?: boolean;
981
- }
982
-
983
- export declare const TableInstanceContext: default_2.Context<Table<any> | null>;
984
-
985
- /* Excluded from this release type: TableParams */
986
-
987
- /**
988
- * Configuration for text wrapping.
989
- * @group Models
990
- */
991
- declare interface TextWrapSettings {
992
- /** Wrap mode for header, content or both. @group Properties */
993
- wrapMode?: 'Both' | 'Header' | 'Content';
994
- }
995
-
996
- /**
997
- * Represents an item in the table toolbar.
998
- * @group Models
999
- */
1000
- declare interface ToolbarItem {
1001
- /** Display text for the item. @group Properties */
1002
- text?: string;
1003
- /** Tooltip text for the item. @group Properties */
1004
- tooltipText?: string;
1005
- /** Prefix icon for the item. @group Properties */
1006
- prefixIcon?: string | default_2.ReactNode;
1007
- /** Unique identifier for the item. @group Properties */
1008
- id?: string;
1009
- /** Alignment in the toolbar. @group Properties */
1010
- align?: 'Left' | 'Right' | 'Center';
1011
- /** Predefined or custom type. @group Properties */
1012
- type?: ToolbarItemType;
1013
- /** Custom template for rendering the item. @group Properties */
1014
- template?: default_2.ReactNode;
1015
- /** Callback when the item is clicked. @group Events */
1016
- onClick?: (e: default_2.MouseEvent) => void;
1017
- }
1018
-
1019
- declare type ToolbarItemType = 'Search' | 'Print' | 'Export' | 'Add' | 'Edit' | 'Delete' | 'Update' | 'Cancel' | 'ColumnChooser' | string;
1020
-
1021
- export declare const useTableStore: <T>(selector: (state: any) => T) => T;
1022
-
1023
- export { }
1024
-
1025
-
1026
- declare module '@tanstack/react-table' {
1027
- interface TableMeta<TData extends RowData> {
1028
- updateData?: (rowIndex: number, columnId: string, value: unknown) => void;
1029
- editingRows?: Record<string, boolean>;
1030
- toggleRowEditing?: (rowIndex: number, editing?: boolean) => void;
1031
- focusedCell?: {
1032
- r: number;
1033
- c: number;
1034
- } | null;
1035
- setFocusedCell?: (cell: {
1036
- r: number;
1037
- c: number;
1038
- } | null) => void;
1039
- navigateFocus?: (dr: number, dc: number) => void;
1040
- enableEditing?: boolean;
1041
- isRowEditable?: (row: TData) => boolean;
1042
- isCellEditable?: (row: TData, columnId: string) => boolean;
1043
- enableSearchHighlighting?: boolean;
1044
- selectionSettings?: SelectionSettings;
1045
- editSettings?: EditSettings;
1046
- filterSettings?: FilterSettings;
1047
- searchSettings?: SearchSettings;
1048
- sortSettings?: SortSettings;
1049
- textWrapSettings?: TextWrapSettings;
1050
- classNames?: EzTableClassNames<TData>;
1051
- icons?: EzTableIcons;
1052
- slots?: EzTableSlots<TData>;
1053
- slotProps?: Record<string, unknown>;
1054
- localization?: EzTableLocalization;
1055
- gridLines?: 'Both' | 'Horizontal' | 'Vertical' | 'None';
1056
- }
1057
- interface ColumnMeta<TData extends RowData, TValue> extends EzColumnMeta {
1058
- }
1059
- }
1
+ export * from './components/EzTable/index.js'
2
+ export {}