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.
- package/README.md +58 -15
- package/dist/DeleteConfirmationModal-CukNDgtX.cjs +1 -0
- package/dist/DeleteConfirmationModal-p8XGDGIw.js +38 -0
- package/dist/EzContextMenu-BCUoEQp5.cjs +1 -0
- package/dist/EzContextMenu-srLxujt8.js +287 -0
- package/dist/EzErrorBoundary-C7a6VisX.js +74 -0
- package/dist/EzErrorBoundary-d_2g-_EK.cjs +1 -0
- package/dist/EzEventModal-C079wLjP.js +725 -0
- package/dist/EzEventModal-CAA9cAM0.cjs +1 -0
- package/dist/EzFlow-C74NbZA9.js +2545 -0
- package/dist/EzFlow-CQFeY7DL.cjs +5 -0
- package/dist/EzGroupingPanel-BVaAJaVU.js +107 -0
- package/dist/EzGroupingPanel-BwWDWEuW.cjs +1 -0
- package/dist/EzKanban-BlJWybKe.js +1575 -0
- package/dist/EzKanban-DdKODRRv.cjs +2 -0
- package/dist/EzLayout-BGnqFtvO.cjs +1 -0
- package/dist/EzLayout-CiaPLniV.js +7005 -0
- package/dist/EzProvider-AlmsYIDk.js +982 -0
- package/dist/EzProvider-L2qQMq-v.cjs +1 -0
- package/dist/EzScheduler-C1Jtvvju.js +2700 -0
- package/dist/EzScheduler-CkqTngI6.cjs +1 -0
- package/dist/EzSchedulerQuickAdd-BIC8xbSn.js +124 -0
- package/dist/EzSchedulerQuickAdd-BeNfGdWs.cjs +1 -0
- package/dist/EzSchedulerToolbar-BJwTpgas.cjs +1 -0
- package/dist/EzSchedulerToolbar-Ba4gbvUg.js +305 -0
- package/dist/EzSignature-7UHO5lSP.js +386 -0
- package/dist/EzSignature-Df7UZ-IS.cjs +1 -0
- package/dist/EzTable-CEXvJR1t.cjs +3 -0
- package/dist/EzTable-D2p1IWHc.js +4290 -0
- package/dist/EzTableEditDialog-BXnnYSSy.cjs +1 -0
- package/dist/EzTableEditDialog-Ccd5XoHm.js +84 -0
- package/dist/EzTableFooter-CtexeDAC.cjs +1 -0
- package/dist/EzTableFooter-DrLoWelo.js +35 -0
- package/dist/EzTableToolbar-BH5z9fSJ.js +160 -0
- package/dist/EzTableToolbar-DwuumvWP.cjs +1 -0
- package/dist/EzTreeView-D1G0Aomc.js +818 -0
- package/dist/EzTreeView-KMGlU4ax.cjs +1 -0
- package/dist/HighlightText-BViuwe03.cjs +1 -0
- package/dist/HighlightText-DNA2R2uf.js +56 -0
- package/dist/KanbanBoard-B7_Z5sh1.js +1697 -0
- package/dist/KanbanBoard-CyitudI1.cjs +1 -0
- package/dist/Modal-BmX1C448.cjs +1 -0
- package/dist/Modal-CrzpKyjK.js +74 -0
- package/dist/NotificationPanel-BzpDc10Q.js +54 -0
- package/dist/NotificationPanel-CFME00wq.cjs +1 -0
- package/dist/TooltipWrapper-BSAmUx9H.js +44 -0
- package/dist/TooltipWrapper-DfbFAZ1U.cjs +1 -0
- package/dist/advanced.cjs +10 -0
- package/dist/advanced.d.ts +44 -0
- package/dist/advanced.es.js +400 -0
- package/dist/avatar-BSdRHETK.cjs +1 -0
- package/dist/avatar-BvCUJ-_r.js +27 -0
- package/dist/button-BBMwzUtG.cjs +1 -0
- package/dist/button-CYyNwV8S.js +44 -0
- package/dist/calendar-DEHX32Cp.cjs +1 -0
- package/dist/calendar-DOIPGsyI.js +112 -0
- package/dist/card-CPlRZxbq.cjs +1 -0
- package/dist/card-ZUNxcdIM.js +60 -0
- package/dist/checkbox-BrCh_Iid.cjs +1 -0
- package/dist/checkbox-DRkQuB4W.js +21 -0
- package/dist/components/EzFlow/EzConnectionLine.d.ts +5 -0
- package/dist/components/EzFlow/EzFlow.examples.d.ts +5 -0
- package/dist/components/EzFlow/EzFlow.types.d.ts +260 -0
- package/dist/components/EzFlow/EzFlowBackground.d.ts +5 -0
- package/dist/components/EzFlow/EzFlowCanvas.d.ts +3 -0
- package/dist/components/EzFlow/EzFlowControls.d.ts +5 -0
- package/dist/components/EzFlow/EzFlowEdge.d.ts +5 -0
- package/dist/components/EzFlow/EzFlowHeader.d.ts +6 -0
- package/dist/components/EzFlow/EzFlowToolbox.d.ts +6 -0
- package/dist/components/EzFlow/EzWorkflow.d.ts +5 -0
- package/dist/components/EzFlow/EzWorkflowPerformance.d.ts +3 -0
- package/dist/components/EzFlow/EzWorkflowServiceAdapters.d.ts +24 -0
- package/dist/components/EzFlow/EzWorkflowValidation.d.ts +95 -0
- package/dist/components/EzFlow/index.d.ts +13 -0
- package/dist/components/EzFlow/nodes/ActionNode.d.ts +3 -0
- package/dist/components/EzFlow/nodes/ApprovalNode.d.ts +3 -0
- package/dist/components/EzFlow/nodes/DecisionNode.d.ts +3 -0
- package/dist/components/EzFlow/nodes/DelayNode.d.ts +3 -0
- package/dist/components/EzFlow/nodes/EndNode.d.ts +3 -0
- package/dist/components/EzFlow/nodes/GroupNode.d.ts +3 -0
- package/dist/components/EzFlow/nodes/LoopNode.d.ts +3 -0
- package/dist/components/EzFlow/nodes/RequestNode.d.ts +3 -0
- package/dist/components/EzFlow/nodes/StartNode.d.ts +3 -0
- package/dist/components/EzFlow/nodes/index.d.ts +9 -0
- package/dist/components/EzKanban/EzKanban.types.d.ts +808 -0
- package/dist/components/EzKanban/components/CardEditorModal.d.ts +23 -0
- package/dist/components/EzKanban/components/EzKanbanErrorFallback.d.ts +1 -0
- package/dist/components/EzKanban/components/FilterPopover.d.ts +10 -0
- package/dist/components/EzKanban/components/KanbanBoard.d.ts +59 -0
- package/dist/components/EzKanban/components/KanbanCard.d.ts +46 -0
- package/dist/components/EzKanban/components/KanbanColumn.d.ts +55 -0
- package/dist/components/EzKanban/components/KanbanSwimlane.d.ts +45 -0
- package/dist/components/EzKanban/components/KanbanToolbar.d.ts +41 -0
- package/dist/components/EzKanban/exports.d.ts +4 -0
- package/dist/components/EzKanban/hooks/useKanbanCards.d.ts +36 -0
- package/dist/components/EzKanban/hooks/useKanbanColumns.d.ts +27 -0
- package/dist/components/EzKanban/hooks/useKanbanDragDrop.d.ts +31 -0
- package/dist/components/EzKanban/hooks/useKanbanFilters.d.ts +23 -0
- package/dist/components/EzKanban/hooks/useKanbanState.d.ts +79 -0
- package/dist/components/EzKanban/hooks/useKanbanSwimlanes.d.ts +27 -0
- package/dist/components/EzKanban/hooks/useKanbanVirtualization.d.ts +16 -0
- package/dist/components/EzKanban/index.d.ts +51 -0
- package/dist/components/EzKanban/services/KanbanService.d.ts +31 -0
- package/dist/components/EzKanban/state/kanban.store.d.ts +33 -0
- package/dist/components/EzKanban/useEzKanban.d.ts +87 -0
- package/dist/components/EzKanban/views/KanbanTimelineView.d.ts +15 -0
- package/dist/components/EzLayout/Authentication/AuthSlider.d.ts +13 -0
- package/dist/components/EzLayout/Authentication/InputPassword.d.ts +7 -0
- package/dist/components/EzLayout/Authentication/SignInForm.d.ts +21 -0
- package/dist/components/EzLayout/Authentication/SignUpForm.d.ts +20 -0
- package/dist/components/EzLayout/EzHeader.d.ts +48 -0
- package/dist/components/EzLayout/EzLanguageSwitcher.d.ts +4 -0
- package/dist/components/EzLayout/EzLayout.types.d.ts +261 -0
- package/dist/components/EzLayout/EzOrganizationSwitcher.d.ts +14 -0
- package/dist/components/EzLayout/EzSidebar.d.ts +24 -0
- package/dist/components/EzLayout/EzThemeColorChanger.d.ts +9 -0
- package/dist/components/EzLayout/EzThemeSwitcher.d.ts +8 -0
- package/dist/components/EzLayout/EzUserProfile.d.ts +27 -0
- package/dist/components/EzLayout/components/EzSidebarFooter.d.ts +8 -0
- package/dist/components/EzLayout/components/EzSidebarNav.d.ts +10 -0
- package/dist/components/EzLayout/components/EzSidebarNavItem.d.ts +11 -0
- package/dist/components/EzLayout/components/MainContent.d.ts +13 -0
- package/dist/components/EzLayout/hooks/useLayoutImperative.d.ts +17 -0
- package/dist/components/EzLayout/hooks/useLayoutState.d.ts +25 -0
- package/dist/components/EzLayout/index.d.ts +23 -0
- package/dist/components/EzLayout/useEzLayout.d.ts +34 -0
- package/dist/components/EzScheduler/EzScheduler.types.d.ts +1252 -0
- package/dist/components/EzScheduler/EzSchedulerToolbar.d.ts +117 -0
- package/dist/components/EzScheduler/components/EzEventModal.d.ts +23 -0
- package/dist/components/EzScheduler/components/EzOverlapAlert.d.ts +12 -0
- package/dist/components/EzScheduler/components/EzQuickInfoPopup.d.ts +22 -0
- package/dist/components/EzScheduler/components/EzResourceSidebar.d.ts +33 -0
- package/dist/components/EzScheduler/components/EzSchedulerContent.d.ts +111 -0
- package/dist/components/EzScheduler/components/EzSchedulerQuickAdd.d.ts +17 -0
- package/dist/components/EzScheduler/components/RecurrenceEditor.d.ts +7 -0
- package/dist/components/EzScheduler/components/SchedulerLoadingSpinner.d.ts +2 -0
- package/dist/components/EzScheduler/components/dnd/DraggableEvent.d.ts +24 -0
- package/dist/components/EzScheduler/components/dnd/DroppableSlot.d.ts +19 -0
- package/dist/components/EzScheduler/hooks/useRecurrence.d.ts +2 -0
- package/dist/components/EzScheduler/hooks/useSchedulerEventHandlers.d.ts +15 -0
- package/dist/components/EzScheduler/hooks/useSchedulerEvents.d.ts +27 -0
- package/dist/components/EzScheduler/hooks/useSchedulerImperative.d.ts +19 -0
- package/dist/components/EzScheduler/hooks/useSchedulerNavigation.d.ts +9 -0
- package/dist/components/EzScheduler/hooks/useSchedulerResources.d.ts +10 -0
- package/dist/components/EzScheduler/hooks/useSchedulerState.d.ts +14 -0
- package/dist/components/EzScheduler/hooks/useSchedulerVirtualization.d.ts +9 -0
- package/dist/components/EzScheduler/index.d.ts +43 -0
- package/dist/components/EzScheduler/models/EventSettings.d.ts +11 -0
- package/dist/components/EzScheduler/models/View.d.ts +49 -0
- package/dist/components/EzScheduler/models/index.d.ts +2 -0
- package/dist/components/EzScheduler/services/AttendeeService.d.ts +15 -0
- package/dist/components/EzScheduler/services/AuditService.d.ts +15 -0
- package/dist/components/EzScheduler/services/CollisionDetectionService.d.ts +19 -0
- package/dist/components/EzScheduler/services/DragAndDropService.d.ts +16 -0
- package/dist/components/EzScheduler/services/HistoryService.d.ts +31 -0
- package/dist/components/EzScheduler/services/ICalendarImportService.d.ts +16 -0
- package/dist/components/EzScheduler/services/PrintService.d.ts +7 -0
- package/dist/components/EzScheduler/services/RecurrenceEngine.d.ts +7 -0
- package/dist/components/EzScheduler/services/ReminderService.d.ts +17 -0
- package/dist/components/EzScheduler/services/SchedulerService.d.ts +71 -0
- package/dist/components/EzScheduler/services/SearchService.d.ts +11 -0
- package/dist/components/EzScheduler/services/SecurityService.d.ts +25 -0
- package/dist/components/EzScheduler/services/TimezoneService.d.ts +20 -0
- package/dist/components/EzScheduler/services/VirtualScrollingService.d.ts +34 -0
- package/dist/components/EzScheduler/state/scheduler.store.d.ts +27 -0
- package/dist/components/EzScheduler/templates/CellTemplate.d.ts +42 -0
- package/dist/components/EzScheduler/templates/EditorTemplate.d.ts +32 -0
- package/dist/components/EzScheduler/templates/HeaderTemplate.d.ts +36 -0
- package/dist/components/EzScheduler/useEzScheduler.d.ts +104 -0
- package/dist/components/EzScheduler/utils/createDragConstraint.d.ts +7 -0
- package/dist/components/EzScheduler/utils/getWeekNumber.d.ts +8 -0
- package/dist/components/EzScheduler/utils/sanitizeHtml.d.ts +18 -0
- package/dist/components/EzScheduler/views/AgendaView.d.ts +28 -0
- package/dist/components/EzScheduler/views/DayWeekView.d.ts +177 -0
- package/dist/components/EzScheduler/views/MonthView.d.ts +60 -0
- package/dist/components/EzScheduler/views/TimelineView.d.ts +116 -0
- package/dist/components/EzSignature/EzSignature.d.ts +42 -0
- package/dist/components/EzSignature/EzSignature.types.d.ts +132 -0
- package/dist/components/EzSignature/index.d.ts +2 -0
- package/dist/components/EzTable/EzColumnMenu.d.ts +7 -0
- package/dist/components/EzTable/EzDateFilterTree.d.ts +7 -0
- package/dist/components/EzTable/EzExcelFilter.d.ts +8 -0
- package/dist/components/EzTable/EzFilterBuilder.d.ts +12 -0
- package/dist/components/EzTable/EzGroupingPanel.d.ts +9 -0
- package/dist/components/EzTable/EzHeaderContextMenu.d.ts +8 -0
- package/dist/components/EzTable/EzPagination.d.ts +19 -0
- package/dist/components/EzTable/EzTable.types.d.ts +1 -0
- package/dist/components/EzTable/EzTableEditDialog.d.ts +15 -0
- package/dist/components/EzTable/EzTableFooter.d.ts +10 -0
- package/dist/components/EzTable/EzTableOverlays.d.ts +11 -0
- package/dist/components/EzTable/EzTableStatusBar.d.ts +10 -0
- package/dist/components/EzTable/EzTableToolbar.d.ts +60 -0
- package/dist/components/EzTable/SmartCell.d.ts +7 -0
- package/dist/components/EzTable/components/AdvancedColumnFilter.d.ts +16 -0
- package/dist/components/EzTable/components/BooleanFilterSection.d.ts +7 -0
- package/dist/components/EzTable/components/EzDraggableHeader.d.ts +10 -0
- package/dist/components/EzTable/components/EzHeaderDragPreview.d.ts +7 -0
- package/dist/components/EzTable/components/EzTableBodySection.d.ts +72 -0
- package/dist/components/EzTable/components/EzTableCell.d.ts +46 -0
- package/dist/components/EzTable/components/EzTableHeaderSection.d.ts +23 -0
- package/dist/components/EzTable/components/EzTablePaginationSection.d.ts +31 -0
- package/dist/components/EzTable/components/EzTableRow.d.ts +58 -0
- package/dist/components/EzTable/components/FilterActionButtons.d.ts +16 -0
- package/dist/components/EzTable/components/FilterRuleSelect.d.ts +26 -0
- package/dist/components/EzTable/components/SelectAllCheckbox.d.ts +21 -0
- package/dist/components/EzTable/components/SelectFilterSection.d.ts +18 -0
- package/dist/components/EzTable/components/VirtualizedFilterList.d.ts +21 -0
- package/dist/components/EzTable/constants/filterOptions.d.ts +47 -0
- package/dist/components/EzTable/context/EzTableContext.d.ts +10 -0
- package/dist/components/EzTable/context/TableConfigContext.d.ts +13 -0
- package/dist/components/EzTable/context/TableStore.d.ts +17 -0
- package/dist/components/EzTable/filterUtils.d.ts +5 -0
- package/dist/components/EzTable/hooks/useAutoFit.d.ts +4 -0
- package/dist/components/EzTable/hooks/useCellEventHandlers.d.ts +16 -0
- package/dist/components/EzTable/hooks/useColumnSizeVars.d.ts +6 -0
- package/dist/components/EzTable/hooks/useContainerResize.d.ts +11 -0
- package/dist/components/EzTable/hooks/useDialogStateInitialization.d.ts +8 -0
- package/dist/components/EzTable/hooks/useFilterSelection.d.ts +12 -0
- package/dist/components/EzTable/hooks/useTableFiltering.d.ts +23 -0
- package/dist/components/EzTable/hooks/useTableHistory.d.ts +87 -0
- package/dist/components/EzTable/hooks/useTableImperative.d.ts +42 -0
- package/dist/components/EzTable/hooks/useTableSelection.d.ts +32 -0
- package/dist/components/EzTable/hooks/useTableState.d.ts +33 -0
- package/dist/components/EzTable/hooks/useTableVirtualization.d.ts +35 -0
- package/dist/components/EzTable/index.d.ts +54 -0
- package/dist/components/EzTable/renderers/index.d.ts +6 -0
- package/dist/components/EzTable/services/TableService.d.ts +29 -0
- package/dist/components/EzTable/types/EzTableColumn.types.d.ts +146 -0
- package/dist/components/EzTable/types/EzTableEdit.types.d.ts +58 -0
- package/dist/components/EzTable/types/EzTableFilter.types.d.ts +50 -0
- package/dist/components/EzTable/types/EzTableProps.d.ts +750 -0
- package/dist/components/EzTable/types/index.d.ts +4 -0
- package/dist/components/EzTable/useEzTable.d.ts +17 -0
- package/dist/components/EzTable/utils/SizingUtils.d.ts +11 -0
- package/dist/components/EzTable/utils/TextMeasurer.d.ts +1 -0
- package/dist/components/EzTable/utils/TruncatedTooltip.d.ts +7 -0
- package/dist/components/EzTable/utils/columnTypeDetector.d.ts +5 -0
- package/dist/components/EzTable/utils/filterTypeGuards.d.ts +3 -0
- package/dist/components/EzTable/utils/index.d.ts +1 -0
- package/dist/components/EzTreeView/EzTreeView.types.d.ts +364 -0
- package/dist/components/EzTreeView/EzTreeViewItem.d.ts +89 -0
- package/dist/components/EzTreeView/EzVirtualTree.d.ts +84 -0
- package/dist/components/EzTreeView/components/EzTreeViewLoadingSpinner.d.ts +2 -0
- package/dist/components/EzTreeView/hooks/useTreeDragDrop.d.ts +31 -0
- package/dist/components/EzTreeView/hooks/useTreeExpansion.d.ts +21 -0
- package/dist/components/EzTreeView/hooks/useTreeImperative.d.ts +28 -0
- package/dist/components/EzTreeView/hooks/useTreeSelection.d.ts +31 -0
- package/dist/components/EzTreeView/hooks/useTreeState.d.ts +21 -0
- package/dist/components/EzTreeView/hooks/useTreeVirtualization.d.ts +18 -0
- package/dist/components/EzTreeView/index.d.ts +40 -0
- package/dist/components/EzTreeView/services/TreeService.d.ts +11 -0
- package/dist/components/EzTreeView/useEzTreeView.d.ts +50 -0
- package/dist/components/EzTreeView/utils/treeUtils.d.ts +17 -0
- package/dist/components/shared/components/EzErrorBoundary.d.ts +18 -0
- package/dist/components/shared/components/EzLayoutErrorFallback.d.ts +2 -0
- package/dist/components/shared/components/EzLoadingSpinner.d.ts +8 -0
- package/dist/components/shared/components/EzSchedulerErrorFallback.d.ts +2 -0
- package/dist/components/shared/components/EzSortableList.d.ts +12 -0
- package/dist/components/shared/components/EzTableErrorFallback.d.ts +2 -0
- package/dist/components/shared/components/EzTreeViewErrorFallback.d.ts +2 -0
- package/dist/components/ui/avatar.d.ts +10 -0
- package/dist/components/ui/badge.d.ts +9 -0
- package/dist/components/ui/breadcrumb.d.ts +19 -0
- package/dist/components/ui/button.d.ts +13 -0
- package/dist/components/ui/calendar.d.ts +15 -0
- package/dist/components/ui/card.d.ts +10 -0
- package/dist/components/ui/checkbox.d.ts +7 -0
- package/dist/components/ui/combobox.d.ts +19 -0
- package/dist/components/ui/command.d.ts +78 -0
- package/dist/components/ui/context-menu.d.ts +27 -0
- package/dist/components/ui/date-time-picker.d.ts +14 -0
- package/dist/components/ui/dropdown-menu.d.ts +31 -0
- package/dist/components/ui/index.d.ts +27 -0
- package/dist/components/ui/input.d.ts +5 -0
- package/dist/components/ui/label.d.ts +9 -0
- package/dist/components/ui/modal.d.ts +9 -0
- package/dist/components/ui/password-input.d.ts +5 -0
- package/dist/components/ui/popover.d.ts +10 -0
- package/dist/components/ui/progress.d.ts +7 -0
- package/dist/components/ui/radio-group.d.ts +5 -0
- package/dist/components/ui/resizable.d.ts +8 -0
- package/dist/components/ui/scroll-area.d.ts +5 -0
- package/dist/components/ui/select.d.ts +26 -0
- package/dist/components/ui/skeleton.d.ts +2 -0
- package/dist/components/ui/switch.d.ts +6 -0
- package/dist/components/ui/table.d.ts +10 -0
- package/dist/components/ui/tabs.d.ts +22 -0
- package/dist/components/ui/textarea.d.ts +5 -0
- package/dist/components/ui/tooltip.d.ts +10 -0
- package/dist/date-time-picker-Bs-7XzHD.cjs +1 -0
- package/dist/date-time-picker-fUzf4TnU.js +127 -0
- package/dist/dropdown-menu-BRP0tyR_.cjs +1 -0
- package/dist/dropdown-menu-B_7_K13o.js +78 -0
- package/dist/ezux.css +2 -1
- package/dist/flow.cjs +1 -0
- package/dist/flow.d.ts +2 -0
- package/dist/flow.es.js +2 -0
- package/dist/index.cjs +3 -12
- package/dist/index.d.ts +66 -6404
- package/dist/index.es.js +229 -1041
- package/dist/input-CYlvlbF7.cjs +1 -0
- package/dist/input-Cj3sQK3M.js +14 -0
- package/dist/kanban.cjs +1 -1
- package/dist/kanban.d.ts +2 -1343
- package/dist/kanban.es.js +4 -17
- package/dist/label-BGgvoZWD.cjs +1 -0
- package/dist/label-DWEV--5W.js +16 -0
- package/dist/layout.cjs +1 -1
- package/dist/layout.d.ts +2 -690
- package/dist/layout.es.js +2 -20
- package/dist/lib/perfect-freehand.d.ts +221 -0
- package/dist/lib/utils.d.ts +2 -0
- package/dist/mock-services.cjs +1 -0
- package/dist/mock-services.d.ts +8 -0
- package/dist/mock-services.es.js +161 -0
- package/dist/popover-D1akYj0W.js +17 -0
- package/dist/popover-wZKNvYM5.cjs +1 -0
- package/dist/scheduler.cjs +1 -1
- package/dist/scheduler.d.ts +2 -1430
- package/dist/scheduler.es.js +2 -11
- package/dist/scroll-area-BJs87d45.js +35 -0
- package/dist/scroll-area-DSkE2KB_.cjs +1 -0
- package/dist/select-D4tFaSai.js +43 -0
- package/dist/select-sVieKbLu.cjs +1 -0
- package/dist/shared/components/AnimatedText.d.ts +44 -0
- package/dist/shared/components/BaseCell.d.ts +14 -0
- package/dist/shared/components/BooleanRenderer.d.ts +34 -0
- package/dist/shared/components/ChartRenderer.d.ts +19 -0
- package/dist/shared/components/DeleteConfirmationModal.d.ts +11 -0
- package/dist/shared/components/EzContextMenu.d.ts +12 -0
- package/dist/shared/components/EzNotificationDropdown.d.ts +2 -0
- package/dist/shared/components/HighlightText.d.ts +4 -0
- package/dist/shared/components/Modal.d.ts +13 -0
- package/dist/shared/components/NotificationPanel.d.ts +2 -0
- package/dist/shared/components/PrimitiveRenderer.d.ts +39 -0
- package/dist/shared/components/SearchableSelect.d.ts +13 -0
- package/dist/shared/components/SelectRenderer.d.ts +33 -0
- package/dist/shared/components/StatusBadge.d.ts +21 -0
- package/dist/shared/components/TooltipWrapper.d.ts +12 -0
- package/dist/shared/components/index.d.ts +9 -0
- package/dist/shared/contexts/EzProvider.d.ts +56 -0
- package/dist/shared/hooks/index.d.ts +56 -0
- package/dist/shared/hooks/useBaseComponent.d.ts +59 -0
- package/dist/shared/hooks/useComponentImperativeAPI.d.ts +11 -0
- package/dist/shared/hooks/useComponentState.d.ts +39 -0
- package/dist/shared/hooks/useCurrentTime.d.ts +6 -0
- package/dist/shared/hooks/useDataChangeEvents.d.ts +53 -0
- package/dist/shared/hooks/useDebounce.d.ts +10 -0
- package/dist/shared/hooks/useDeleteConfirmation.d.ts +9 -0
- package/dist/shared/hooks/useDialogState.d.ts +21 -0
- package/dist/shared/hooks/useDndHandlers.d.ts +19 -0
- package/dist/shared/hooks/useEditing.d.ts +107 -0
- package/dist/shared/hooks/useEventHandlers.d.ts +61 -0
- package/dist/shared/hooks/useEzTheme.d.ts +22 -0
- package/dist/shared/hooks/useFieldValidation.d.ts +24 -0
- package/dist/shared/hooks/useHistory.d.ts +13 -0
- package/dist/shared/hooks/useI18n.d.ts +8 -0
- package/dist/shared/hooks/useImperativeAPI.d.ts +8 -0
- package/dist/shared/hooks/useInitCoreServices.d.ts +5 -0
- package/dist/shared/hooks/useKeyboardNavigation.d.ts +36 -0
- package/dist/shared/hooks/useKeyboardShortcuts.d.ts +14 -0
- package/dist/shared/hooks/useLifecycleEvents.d.ts +22 -0
- package/dist/shared/hooks/useLoadingState.d.ts +17 -0
- package/dist/shared/hooks/useMediaQuery.d.ts +6 -0
- package/dist/shared/hooks/useNotificationService.d.ts +8 -0
- package/dist/shared/hooks/usePerformanceMonitor.d.ts +22 -0
- package/dist/shared/hooks/useRowSelectionEvents.d.ts +44 -0
- package/dist/shared/hooks/useSelection.d.ts +73 -0
- package/dist/shared/hooks/useService.d.ts +12 -0
- package/dist/shared/hooks/useServiceState.d.ts +1 -0
- package/dist/shared/hooks/useStateChangeEvents.d.ts +61 -0
- package/dist/shared/hooks/useTheme.d.ts +13 -0
- package/dist/shared/hooks/useVirtualization.d.ts +85 -0
- package/dist/shared/services/BaseService.d.ts +57 -0
- package/dist/shared/services/ContextMenuService.d.ts +58 -0
- package/dist/shared/services/ExportService.d.ts +35 -0
- package/dist/shared/services/FocusManagerService.d.ts +33 -0
- package/dist/shared/services/HierarchyService.d.ts +43 -0
- package/dist/shared/services/I18nService.d.ts +84 -0
- package/dist/shared/services/LayoutService.d.ts +80 -0
- package/dist/shared/services/NotificationService.d.ts +44 -0
- package/dist/shared/services/PersistenceService.d.ts +69 -0
- package/dist/shared/services/ServiceRegistry.d.ts +52 -0
- package/dist/shared/services/ThemeService.d.ts +49 -0
- package/dist/shared/services/VirtualizationService.d.ts +51 -0
- package/dist/shared/state/store.d.ts +10 -0
- package/dist/shared/themes.d.ts +25 -0
- package/dist/shared/types/BaseProps.d.ts +17 -0
- package/dist/shared/types/common.d.ts +373 -0
- package/dist/shared/types/index.d.ts +2 -0
- package/dist/shared/utils/canvasUtils.d.ts +16 -0
- package/dist/shared/utils/commonUtils.d.ts +28 -0
- package/dist/shared/utils/csvUtils.d.ts +7 -0
- package/dist/shared/utils/dateUtils.d.ts +5 -0
- package/dist/shared/utils/dndUtils.d.ts +16 -0
- package/dist/shared/utils/formatUtils.d.ts +20 -0
- package/dist/shared/utils/imperativeApiUtils.d.ts +36 -0
- package/dist/shared/utils/index.d.ts +11 -0
- package/dist/shared/utils/renderUtils.d.ts +6 -0
- package/dist/shared/utils/serviceUtils.d.ts +10 -0
- package/dist/shared/utils/styleUtils.d.ts +121 -0
- package/dist/shared/utils/validationUtils.d.ts +16 -0
- package/dist/signature.cjs +1 -1
- package/dist/signature.d.ts +2 -410
- package/dist/signature.es.js +2 -4
- package/dist/table.cjs +1 -1
- package/dist/table.d.ts +2 -1059
- package/dist/table.es.js +2 -17
- package/dist/theme-vars.css +143 -135
- package/dist/tooltip-B1wC9m05.js +16 -0
- package/dist/tooltip-Qmzrg5u5.cjs +1 -0
- package/dist/treeview.cjs +1 -1
- package/dist/treeview.d.ts +2 -656
- package/dist/treeview.es.js +2 -954
- package/dist/useComponentState-DiSFLYju.js +57 -0
- package/dist/useComponentState-Wcz6pjd6.cjs +1 -0
- package/dist/useImperativeAPI-Dbx2hMTb.js +7 -0
- package/dist/useImperativeAPI-VrgLwXEO.cjs +1 -0
- package/dist/useInitCoreServices-CuBrviDM.js +40 -0
- package/dist/useInitCoreServices-DlALVDNx.cjs +1 -0
- package/dist/useService-CnCBGG3G.js +10 -0
- package/dist/useService-CyF782jv.cjs +1 -0
- package/dist/useServiceState-CkrJZm1D.js +21 -0
- package/dist/useServiceState-PyYQWxHi.cjs +1 -0
- package/package.json +76 -56
- package/dist/EzContextMenu-B6HBUjWv.cjs +0 -5
- package/dist/EzContextMenu-BSA_B6Pr.js +0 -3500
- package/dist/EzErrorBoundary-CEdz_hDo.cjs +0 -41
- package/dist/EzErrorBoundary-D4NBadES.js +0 -3727
- package/dist/EzEventModal-BUMp_BFi.js +0 -689
- package/dist/EzEventModal-xzHfzi0O.cjs +0 -1
- package/dist/EzGroupingPanel-BUsIYDRi.js +0 -143
- package/dist/EzGroupingPanel-D0HdSomF.cjs +0 -1
- package/dist/EzSchedulerQuickAdd-C653LTGh.js +0 -118
- package/dist/EzSchedulerQuickAdd-UnOWCpJd.cjs +0 -1
- package/dist/EzSchedulerToolbar-C-5OdRY6.cjs +0 -1
- package/dist/EzSchedulerToolbar-CO5jjDQg.js +0 -240
- package/dist/EzSignature-BaNesxwC.cjs +0 -1
- package/dist/EzSignature-D4EYwo9W.js +0 -419
- package/dist/EzTableEditDialog-Cd948V1C.js +0 -63
- package/dist/EzTableEditDialog-NiOubaMT.cjs +0 -1
- package/dist/EzTableFooter-CWjfGCjL.cjs +0 -1
- package/dist/EzTableFooter-DveD12RC.js +0 -54
- package/dist/EzTableToolbar-Bz8UWv6j.js +0 -246
- package/dist/EzTableToolbar-DHE7Bb1R.cjs +0 -1
- package/dist/HighlightText-8D6KEyBw.js +0 -68
- package/dist/HighlightText-LtZmzCle.cjs +0 -1
- package/dist/NotificationPanel-D2Y-_ahk.js +0 -68
- package/dist/NotificationPanel-zLxrtTGf.cjs +0 -1
- package/dist/TooltipWrapper-BrRTi5EJ.js +0 -2021
- package/dist/TooltipWrapper-DWts4bAI.cjs +0 -1
- package/dist/avatar-BeK0E4mn.js +0 -41
- package/dist/avatar-DZAaTK2f.cjs +0 -1
- package/dist/bell-DAz8P0BR.js +0 -14
- package/dist/bell-DOX2y38e.cjs +0 -1
- package/dist/calendar-BMZ8ddOf.cjs +0 -1
- package/dist/calendar-Dy3rVMW2.js +0 -90
- package/dist/checkbox-B0lGHUyy.cjs +0 -1
- package/dist/checkbox-boJRxICT.js +0 -46
- package/dist/chevron-down-C3s8jU6B.js +0 -5
- package/dist/chevron-down-DZVL7VHW.cjs +0 -1
- package/dist/chevron-left-BFr8XZyF.js +0 -5
- package/dist/chevron-left-HWhRo6IH.cjs +0 -1
- package/dist/circle-alert-77QqFR-z.cjs +0 -1
- package/dist/circle-alert-B2AMDd8N.js +0 -9
- package/dist/circle-x-Cv7bfIC_.js +0 -9
- package/dist/circle-x-DwVXxhXr.cjs +0 -1
- package/dist/date-time-picker-DTxHdPgQ.cjs +0 -1
- package/dist/date-time-picker-Dj2eftJI.js +0 -1636
- package/dist/download-0ZhO2XaW.cjs +0 -1
- package/dist/download-panVHmk6.js +0 -9
- package/dist/ellipsis-CuqNthAj.js +0 -9
- package/dist/ellipsis-CzlqJf-i.cjs +0 -1
- package/dist/grip-vertical-CSyDKBul.js +0 -12
- package/dist/grip-vertical-DZNBW1Dn.cjs +0 -1
- package/dist/index-B3ipEEhH.cjs +0 -2
- package/dist/index-BPPb7bcs.js +0 -3220
- package/dist/index-BQKw_Vho.js +0 -9604
- package/dist/index-C5STgBSy.js +0 -5203
- package/dist/index-C6NfgycP.js +0 -4644
- package/dist/index-D4f2ZdrG.cjs +0 -2
- package/dist/index-DUY1SqMo.cjs +0 -1
- package/dist/index-c1Zg--dt.cjs +0 -7
- package/dist/input-BgM_la4k.cjs +0 -1
- package/dist/input-jYQ5VKNR.js +0 -21
- package/dist/isBefore-C3Y_wbk3.js +0 -15
- package/dist/isBefore-Cp1ttk6q.cjs +0 -1
- package/dist/label-ClOW9UCt.js +0 -55
- package/dist/label-Dx6oDB-X.cjs +0 -1
- package/dist/layers-BA4i1fYX.js +0 -27
- package/dist/layers-xSPd-hz3.cjs +0 -1
- package/dist/popover-BJq1CKmi.cjs +0 -1
- package/dist/popover-Cmlb7w3R.js +0 -341
- package/dist/scroll-area-9fwpVNxT.js +0 -573
- package/dist/scroll-area-CwwZSSA4.cjs +0 -1
- package/dist/select-GxA46anr.cjs +0 -1
- package/dist/select-mDCun_IR.js +0 -35
- package/dist/settings-CvyjK75A.js +0 -31
- package/dist/settings-DKPknrt8.cjs +0 -1
- package/dist/sortable.esm-CsRPuXyD.cjs +0 -1
- package/dist/sortable.esm-CzMCDPet.js +0 -477
- package/dist/tooltip-B41iztKT.cjs +0 -1
- package/dist/tooltip-BCtrEe0z.js +0 -490
- package/dist/useComponentState-C87xXa5d.js +0 -64
- package/dist/useComponentState-DDgGbBXv.cjs +0 -1
- package/dist/useImperativeAPI-DXmCQvPL.js +0 -7
- package/dist/useImperativeAPI-DbZ3owSV.cjs +0 -1
- package/dist/useInitCoreServices-CwXv2p4S.cjs +0 -1
- package/dist/useInitCoreServices-D1WaWlaI.js +0 -3929
- package/dist/useService-8OoezWr8.cjs +0 -1
- package/dist/useService-BUi3uAqE.js +0 -10
- package/dist/useServiceState-BjpCjUn2.cjs +0 -1
- package/dist/useServiceState-VE-viK8b.js +0 -24
package/dist/treeview.d.ts
CHANGED
|
@@ -1,656 +1,2 @@
|
|
|
1
|
-
|
|
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
|
-
/**
|
|
116
|
-
* EzTreeView is a high-performance hierarchical data explorer.
|
|
117
|
-
* It uses a virtualized engine to efficiently render trees with thousands of
|
|
118
|
-
* nodes while providing rich interactive features like drag-and-drop and
|
|
119
|
-
* multi-level selection.
|
|
120
|
-
*
|
|
121
|
-
|
|
122
|
-
* ### Key Features
|
|
123
|
-
* - **Superior Virtualization**: Flat-list virtualization for smooth scrolling even with deep, expanded trees.
|
|
124
|
-
* - **Flexible Selection**: Supports `single`, `multiple`, and `checkbox` selection modes with indeterminate state support.
|
|
125
|
-
* - **Drag & Drop**: Native `@dnd-kit` integration for reordering nodes and changing parent-child relationships.
|
|
126
|
-
* - **Inline Editing**: Double-click to rename nodes with built-in validation.
|
|
127
|
-
* - **Search & Filter**: Real-time filtering with automatic expansion of matching parent nodes.
|
|
128
|
-
* - **Custom Rendering**: Fully customizable node templates and icons via the `components` prop.
|
|
129
|
-
*
|
|
130
|
-
* ### Minimal Example
|
|
131
|
-
* ```tsx
|
|
132
|
-
* <EzTreeView
|
|
133
|
-
* data={myTreeData}
|
|
134
|
-
* showCheckboxes
|
|
135
|
-
* onNodeClicked={(node) => console.log('Clicked:', node.text)}
|
|
136
|
-
* />
|
|
137
|
-
* ```
|
|
138
|
-
*
|
|
139
|
-
* ### Advanced Config: Virtualization & DND
|
|
140
|
-
* ```tsx
|
|
141
|
-
* <EzTreeView
|
|
142
|
-
* data={largeTreeData}
|
|
143
|
-
* allowDragAndDrop
|
|
144
|
-
* allowEditing
|
|
145
|
-
* onNodeDrop={(dragged, target, position) => handleMove(dragged, target, position)}
|
|
146
|
-
* className="h-[400px] border rounded-md"
|
|
147
|
-
* />
|
|
148
|
-
* ```
|
|
149
|
-
*
|
|
150
|
-
* @group Core Components
|
|
151
|
-
*/
|
|
152
|
-
export declare const EzTreeView: default_2.FC<EzTreeViewProps>;
|
|
153
|
-
|
|
154
|
-
/**
|
|
155
|
-
* Imperative API for EzTreeView.
|
|
156
|
-
* @group Methods
|
|
157
|
-
*/
|
|
158
|
-
declare interface EzTreeViewApi {
|
|
159
|
-
/** Expand all nodes in the tree. @group Methods */
|
|
160
|
-
expandAll: () => void;
|
|
161
|
-
/** Collapse all nodes in the tree. @group Methods */
|
|
162
|
-
collapseAll: () => void;
|
|
163
|
-
/** Check all nodes (only in checkbox mode). @group Methods */
|
|
164
|
-
checkAll: () => void;
|
|
165
|
-
/** Uncheck all nodes. @group Methods */
|
|
166
|
-
uncheckAll: () => void;
|
|
167
|
-
/** Select a specific node by ID. @group Methods */
|
|
168
|
-
selectNode: (id: string) => void;
|
|
169
|
-
/** Expand or collapse a specific node. @group Methods */
|
|
170
|
-
expandNode: (id: string, expand?: boolean) => void;
|
|
171
|
-
/** Check or uncheck a specific node. @group Methods */
|
|
172
|
-
checkNode: (id: string, check?: boolean) => void;
|
|
173
|
-
/** Returns a flat list of visible nodes with their nesting level. @group Methods */
|
|
174
|
-
getFlattenedNodes: () => {
|
|
175
|
-
node: TreeNode;
|
|
176
|
-
level: number;
|
|
177
|
-
}[];
|
|
178
|
-
/** Adds new nodes to the tree at a specific target. @group Methods */
|
|
179
|
-
addNodes: (nodes: TreeNode[], target?: string, index?: number) => void;
|
|
180
|
-
/** Deletes nodes by their IDs. @group Methods */
|
|
181
|
-
removeNodes: (ids: string[]) => void;
|
|
182
|
-
/** Updates properties of an existing node. @group Methods */
|
|
183
|
-
updateNode: (id: string, updates: Partial<TreeNode>) => void;
|
|
184
|
-
/** Moves nodes to a new parent location. @group Methods */
|
|
185
|
-
moveNodes: (ids: string[], target: string, index?: number) => void;
|
|
186
|
-
/** Fetches a node object by ID. @group Methods */
|
|
187
|
-
getNode: (id: string) => TreeNode | undefined;
|
|
188
|
-
/** Returns the full tree data structure. @group Methods */
|
|
189
|
-
getTreeData: () => TreeNode[];
|
|
190
|
-
/** Scrolls and expands parents to make a node visible. @group Methods */
|
|
191
|
-
ensureVisible: (id: string) => void;
|
|
192
|
-
/** Switches a node into its editing state. @group Methods */
|
|
193
|
-
beginEdit: (id: string) => void;
|
|
194
|
-
/** Disables specified nodes. @group Methods */
|
|
195
|
-
disableNodes: (ids: string[], disable?: boolean) => void;
|
|
196
|
-
/** Enables specified nodes. @group Methods */
|
|
197
|
-
enableNodes: (ids: string[], enable?: boolean) => void;
|
|
198
|
-
/** Returns IDs of all checked nodes. @group Methods */
|
|
199
|
-
getAllCheckedNodes: () => string[];
|
|
200
|
-
/** Returns IDs of all disabled nodes. @group Methods */
|
|
201
|
-
getDisabledNodes: () => string[];
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
/**
|
|
205
|
-
* Props for the EzTreeView component, extending shared base props.
|
|
206
|
-
* @group Properties
|
|
207
|
-
*/
|
|
208
|
-
declare interface EzTreeViewProps extends SharedBaseProps {
|
|
209
|
-
/** The hierarchical tree data. @group Data */
|
|
210
|
-
data: TreeNode[];
|
|
211
|
-
/**
|
|
212
|
-
* Component slots for custom rendering override.
|
|
213
|
-
* @group Extensibility
|
|
214
|
-
*/
|
|
215
|
-
slots?: {
|
|
216
|
-
node?: React.ComponentType<unknown>;
|
|
217
|
-
expandIcon?: React.ComponentType<unknown>;
|
|
218
|
-
checkbox?: React.ComponentType<unknown>;
|
|
219
|
-
dragHandle?: React.ComponentType<unknown>;
|
|
220
|
-
[key: string]: React.ComponentType<unknown> | undefined;
|
|
221
|
-
};
|
|
222
|
-
/**
|
|
223
|
-
* Props to pass to custom slots.
|
|
224
|
-
* @group Extensibility
|
|
225
|
-
*/
|
|
226
|
-
slotProps?: {
|
|
227
|
-
node?: Record<string, unknown>;
|
|
228
|
-
expandIcon?: Record<string, unknown>;
|
|
229
|
-
checkbox?: Record<string, unknown>;
|
|
230
|
-
dragHandle?: Record<string, unknown>;
|
|
231
|
-
[key: string]: unknown;
|
|
232
|
-
};
|
|
233
|
-
/**
|
|
234
|
-
* Selection mode for the tree.
|
|
235
|
-
* @group Properties
|
|
236
|
-
*/
|
|
237
|
-
selectionMode?: 'single' | 'multiple';
|
|
238
|
-
/**
|
|
239
|
-
* Whether to show checkboxes for tri-state selection.
|
|
240
|
-
* @group Properties
|
|
241
|
-
*/
|
|
242
|
-
showCheckboxes?: boolean;
|
|
243
|
-
/**
|
|
244
|
-
* Whether to enable inline label editing.
|
|
245
|
-
* @group Properties
|
|
246
|
-
*/
|
|
247
|
-
allowEditing?: boolean;
|
|
248
|
-
/**
|
|
249
|
-
* Search term for real-time filtering and highlighting.
|
|
250
|
-
* @group Properties
|
|
251
|
-
*/
|
|
252
|
-
searchTerm?: string;
|
|
253
|
-
/**
|
|
254
|
-
* Whether to allow drag-and-drop node reordering.
|
|
255
|
-
* @group Properties
|
|
256
|
-
*/
|
|
257
|
-
allowDragAndDrop?: boolean;
|
|
258
|
-
/**
|
|
259
|
-
* Whether to allow selecting multiple nodes (if selectionMode is multiple).
|
|
260
|
-
* @group Properties
|
|
261
|
-
*/
|
|
262
|
-
allowMultiSelection?: boolean;
|
|
263
|
-
/**
|
|
264
|
-
* Whether to allow node labels to wrap to multiple lines.
|
|
265
|
-
* @group Properties
|
|
266
|
-
*/
|
|
267
|
-
allowTextWrap?: boolean;
|
|
268
|
-
/**
|
|
269
|
-
* Animation configuration for expansion/collapse.
|
|
270
|
-
* @group Properties
|
|
271
|
-
*/
|
|
272
|
-
animation?: boolean | {
|
|
273
|
-
expand?: boolean;
|
|
274
|
-
collapse?: boolean;
|
|
275
|
-
};
|
|
276
|
-
/**
|
|
277
|
-
* Whether to automatically check child nodes when parent is checked.
|
|
278
|
-
* @group Properties
|
|
279
|
-
*/
|
|
280
|
-
autoCheck?: boolean;
|
|
281
|
-
/**
|
|
282
|
-
* Whether to allow checking nodes that are disabled.
|
|
283
|
-
* @group Properties
|
|
284
|
-
*/
|
|
285
|
-
checkDisabledChildren?: boolean;
|
|
286
|
-
/**
|
|
287
|
-
* Whether to toggle check state when a node is clicked.
|
|
288
|
-
* @group Properties
|
|
289
|
-
*/
|
|
290
|
-
checkOnClick?: boolean;
|
|
291
|
-
/**
|
|
292
|
-
* List of IDs for nodes that should be checked (controlled mode).
|
|
293
|
-
* @group Properties
|
|
294
|
-
*/
|
|
295
|
-
checkedNodes?: string[];
|
|
296
|
-
/**
|
|
297
|
-
* List of IDs for nodes that should be expanded (controlled mode).
|
|
298
|
-
* @group Properties
|
|
299
|
-
*/
|
|
300
|
-
expandedNodes?: string[];
|
|
301
|
-
/**
|
|
302
|
-
* List of IDs for nodes that should be selected (controlled mode).
|
|
303
|
-
* @group Properties
|
|
304
|
-
*/
|
|
305
|
-
selectedNodes?: string[];
|
|
306
|
-
/**
|
|
307
|
-
* Field mapping for custom data structures.
|
|
308
|
-
* @group Properties
|
|
309
|
-
*/
|
|
310
|
-
fields?: {
|
|
311
|
-
id?: string;
|
|
312
|
-
text?: string;
|
|
313
|
-
children?: string;
|
|
314
|
-
hasChildren?: string;
|
|
315
|
-
expanded?: string;
|
|
316
|
-
selected?: string;
|
|
317
|
-
isChecked?: string;
|
|
318
|
-
icon?: string;
|
|
319
|
-
tooltip?: string;
|
|
320
|
-
};
|
|
321
|
-
/**
|
|
322
|
-
* Whether the full row should be navigable via keyboard.
|
|
323
|
-
* @group Properties
|
|
324
|
-
*/
|
|
325
|
-
fullRowNavigable?: boolean;
|
|
326
|
-
/**
|
|
327
|
-
* Whether the full row should be triggers selection on click.
|
|
328
|
-
* @group Properties
|
|
329
|
-
*/
|
|
330
|
-
fullRowSelect?: boolean;
|
|
331
|
-
/**
|
|
332
|
-
* Sorting order for tree nodes.
|
|
333
|
-
* @group Properties
|
|
334
|
-
*/
|
|
335
|
-
sortOrder?: 'None' | 'Ascending' | 'Descending';
|
|
336
|
-
/**
|
|
337
|
-
* Callback triggered when selection changes.
|
|
338
|
-
* @group Events
|
|
339
|
-
*/
|
|
340
|
-
onSelectionChange?: (selectedIds: string[]) => void;
|
|
341
|
-
/**
|
|
342
|
-
* Callback triggered when check states change.
|
|
343
|
-
* @group Events
|
|
344
|
-
*/
|
|
345
|
-
onCheckedChange?: (checkedIds: string[]) => void;
|
|
346
|
-
/**
|
|
347
|
-
* Callback triggered when a node is expanded or collapsed.
|
|
348
|
-
* @group Events
|
|
349
|
-
*/
|
|
350
|
-
onNodeExpand?: (nodeId: string, isExpanded: boolean) => void;
|
|
351
|
-
/**
|
|
352
|
-
* Callback for lazy loading children.
|
|
353
|
-
* @group Events
|
|
354
|
-
*/
|
|
355
|
-
onLoadChildren?: (nodeId: string) => Promise<TreeNode[]>;
|
|
356
|
-
/**
|
|
357
|
-
* Callback triggered when a node is dropped during D&D.
|
|
358
|
-
* @group Events
|
|
359
|
-
*/
|
|
360
|
-
onNodeDrop?: (dragged: TreeNode, target: TreeNode, pos: 'inside' | 'before' | 'after') => void;
|
|
361
|
-
/**
|
|
362
|
-
* Callback triggered when a node is renamed via inline editing.
|
|
363
|
-
* @group Events
|
|
364
|
-
*/
|
|
365
|
-
onNodeRename?: (nodeId: string, newLabel: string) => void;
|
|
366
|
-
/**
|
|
367
|
-
* Callback triggered when an operation fails.
|
|
368
|
-
* @group Events
|
|
369
|
-
*/
|
|
370
|
-
onActionFailure?: (error: Error) => void;
|
|
371
|
-
/**
|
|
372
|
-
* Callback triggered when the component is created.
|
|
373
|
-
* @group Events
|
|
374
|
-
*/
|
|
375
|
-
onCreated?: () => void;
|
|
376
|
-
/**
|
|
377
|
-
* Callback triggered after data is bound to the tree.
|
|
378
|
-
* @group Events
|
|
379
|
-
*/
|
|
380
|
-
onDataBound?: () => void;
|
|
381
|
-
/**
|
|
382
|
-
* Callback triggered when the data source is changed.
|
|
383
|
-
* @group Events
|
|
384
|
-
*/
|
|
385
|
-
onDataSourceChanged?: () => void;
|
|
386
|
-
/**
|
|
387
|
-
* Callback triggered when the component is destroyed.
|
|
388
|
-
* @group Events
|
|
389
|
-
*/
|
|
390
|
-
onDestroyed?: () => void;
|
|
391
|
-
/**
|
|
392
|
-
* Callback before rendering each node, allowing for custom logic.
|
|
393
|
-
* @group Events
|
|
394
|
-
*/
|
|
395
|
-
onDrawNode?: (node: TreeNode) => void;
|
|
396
|
-
/**
|
|
397
|
-
* Callback on key press within the tree.
|
|
398
|
-
* @group Events
|
|
399
|
-
*/
|
|
400
|
-
onKeyPress?: (event: React.KeyboardEvent) => void;
|
|
401
|
-
/**
|
|
402
|
-
* Callback triggered when a node is checked.
|
|
403
|
-
* @group Events
|
|
404
|
-
*/
|
|
405
|
-
onNodeChecked?: (nodeId: string, isChecked: boolean) => void;
|
|
406
|
-
/**
|
|
407
|
-
* Callback triggered before checking a node (cancellable).
|
|
408
|
-
* @group Events
|
|
409
|
-
*/
|
|
410
|
-
onNodeChecking?: (nodeId: string, isChecked: boolean) => boolean | void;
|
|
411
|
-
/**
|
|
412
|
-
* Callback triggered when a node is clicked.
|
|
413
|
-
* @group Events
|
|
414
|
-
*/
|
|
415
|
-
onNodeClicked?: (nodeId: string) => void;
|
|
416
|
-
/**
|
|
417
|
-
* Callback triggered when a node is collapsed.
|
|
418
|
-
* @group Events
|
|
419
|
-
*/
|
|
420
|
-
onNodeCollapsed?: (nodeId: string) => void;
|
|
421
|
-
/**
|
|
422
|
-
* Callback triggered before collapsing a node (cancellable).
|
|
423
|
-
* @group Events
|
|
424
|
-
*/
|
|
425
|
-
onNodeCollapsing?: (nodeId: string) => boolean | void;
|
|
426
|
-
/**
|
|
427
|
-
* Callback triggered when node dragging starts (cancellable).
|
|
428
|
-
* @group Events
|
|
429
|
-
*/
|
|
430
|
-
onNodeDragStart?: (event: React.DragEvent | unknown) => boolean | void;
|
|
431
|
-
/**
|
|
432
|
-
* Callback triggered when node dragging stops.
|
|
433
|
-
* @group Events
|
|
434
|
-
*/
|
|
435
|
-
onNodeDragStop?: (event: React.DragEvent | unknown) => void;
|
|
436
|
-
/**
|
|
437
|
-
* Callback triggered during node dragging.
|
|
438
|
-
* @group Events
|
|
439
|
-
*/
|
|
440
|
-
onNodeDragging?: (event: React.DragEvent | unknown) => void;
|
|
441
|
-
/**
|
|
442
|
-
* Callback triggered when a node is selected.
|
|
443
|
-
* @group Events
|
|
444
|
-
*/
|
|
445
|
-
onNodeSelected?: (nodeId: string) => void;
|
|
446
|
-
/**
|
|
447
|
-
* Callback triggered before selecting a node (cancellable).
|
|
448
|
-
* @group Events
|
|
449
|
-
*/
|
|
450
|
-
onNodeSelecting?: (nodeId: string) => boolean | void;
|
|
451
|
-
/**
|
|
452
|
-
* Callback triggered when a node label has been expanded.
|
|
453
|
-
* @group Events
|
|
454
|
-
*/
|
|
455
|
-
onNodeExpanded?: (nodeId: string) => void;
|
|
456
|
-
/**
|
|
457
|
-
* Callback triggered before expanding a node (cancellable).
|
|
458
|
-
* @group Events
|
|
459
|
-
*/
|
|
460
|
-
onNodeExpanding?: (nodeId: string) => boolean | void;
|
|
461
|
-
/**
|
|
462
|
-
* Callback triggered before entering node editing mode (cancellable).
|
|
463
|
-
* @group Events
|
|
464
|
-
*/
|
|
465
|
-
onNodeEditing?: (nodeId: string) => boolean | void;
|
|
466
|
-
/**
|
|
467
|
-
* Reference to access the imperative API of the tree.
|
|
468
|
-
* @group Properties
|
|
469
|
-
*/
|
|
470
|
-
apiRef?: React.RefObject<EzTreeViewApi | null>;
|
|
471
|
-
/**
|
|
472
|
-
* Advanced internal configuration options.
|
|
473
|
-
* @group Properties
|
|
474
|
-
*/
|
|
475
|
-
config?: {
|
|
476
|
-
dragDropEnabled?: boolean;
|
|
477
|
-
multiSelectEnabled?: boolean;
|
|
478
|
-
virtualizationThreshold?: number;
|
|
479
|
-
collisionPolicy?: string;
|
|
480
|
-
rtl?: boolean;
|
|
481
|
-
};
|
|
482
|
-
/**
|
|
483
|
-
* Custom data service instance for the tree.
|
|
484
|
-
* @group Services
|
|
485
|
-
*/
|
|
486
|
-
service?: ITreeService;
|
|
487
|
-
/**
|
|
488
|
-
* Name of the global service to use for data operations.
|
|
489
|
-
* @group Services
|
|
490
|
-
*/
|
|
491
|
-
serviceName?: string;
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
declare interface FilterGroup {
|
|
495
|
-
kind?: 'group';
|
|
496
|
-
id?: string;
|
|
497
|
-
logic: 'AND' | 'OR';
|
|
498
|
-
filters: (FilterRule | FilterGroup)[];
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
/**
|
|
502
|
-
* Filter Utilities Types
|
|
503
|
-
*/
|
|
504
|
-
declare type FilterOperator = 'contains' | 'doesNotContain' | 'shouldContain' | 'equals' | 'notEquals' | 'doesNotEqual' | 'startsWith' | 'endsWith' | 'empty' | 'notEmpty' | 'gt' | 'greaterThan' | 'lt' | 'lessThan' | 'gte' | 'greaterThanOrEqual' | 'lte' | 'lessThanOrEqual' | 'between' | 'in' | 'notIn';
|
|
505
|
-
|
|
506
|
-
declare interface FilterRule<TValue = unknown> {
|
|
507
|
-
kind?: 'rule';
|
|
508
|
-
id?: string;
|
|
509
|
-
field: string;
|
|
510
|
-
operator: FilterOperator;
|
|
511
|
-
value: TValue;
|
|
512
|
-
condition?: 'and' | 'or';
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
/**
|
|
516
|
-
* Base interface for all services in the EzUX ecosystem.
|
|
517
|
-
* @group Services
|
|
518
|
-
*/
|
|
519
|
-
declare interface IService {
|
|
520
|
-
/** Unique name of the service for registration and lookup. @group Data */
|
|
521
|
-
name: string;
|
|
522
|
-
/** Optional cleanup logic to run when the service is unregistered. @group Methods */
|
|
523
|
-
cleanup?: () => void;
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
/**
|
|
527
|
-
* Service interface for tree data operations.
|
|
528
|
-
* @group Services
|
|
529
|
-
*/
|
|
530
|
-
declare interface ITreeService extends IService {
|
|
531
|
-
/** Loads child nodes for a given parent (or root). @group Methods */
|
|
532
|
-
loadNodes(parentId?: string): Promise<TreeNode[]>;
|
|
533
|
-
/** Backend call to move a node. @group Methods */
|
|
534
|
-
moveNode(id: string, targetParentId: string, index?: number): Promise<void>;
|
|
535
|
-
/** Backend call to rename a node. @group Methods */
|
|
536
|
-
renameNode(id: string, newName: string): Promise<void>;
|
|
537
|
-
/** Backend call to delete a node. @group Methods */
|
|
538
|
-
deleteNode(id: string): Promise<void>;
|
|
539
|
-
/** Backend call to add a new node. @group Methods */
|
|
540
|
-
addNode(parentId: string, node: Partial<TreeNode>): Promise<TreeNode>;
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
/**
|
|
544
|
-
* Common pagination model
|
|
545
|
-
*/
|
|
546
|
-
declare interface PaginationModel {
|
|
547
|
-
pageIndex: number;
|
|
548
|
-
pageSize: number;
|
|
549
|
-
totalRows?: number;
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
/**
|
|
553
|
-
* Interface for a service repository that manages service lifecycles and dependency injection.
|
|
554
|
-
* @group Services
|
|
555
|
-
*/
|
|
556
|
-
declare interface ServiceRegistry {
|
|
557
|
-
/** Registers a service instance by name. @group Methods */
|
|
558
|
-
register<T extends IService>(name: string, service: T): void;
|
|
559
|
-
/** Retrieves a service instance by name, if it exists. @group Methods */
|
|
560
|
-
get<T extends IService>(name: string): T | undefined;
|
|
561
|
-
/** Retrieves a service or throws an error if not found. @group Methods */
|
|
562
|
-
getOrThrow<T extends IService>(name: string): T;
|
|
563
|
-
/** Removes a service from the registry and triggers its cleanup. @group Methods */
|
|
564
|
-
unregister(name: string): void;
|
|
565
|
-
/** Triggers cleanup for all registered services. @group Methods */
|
|
566
|
-
cleanupAll(): void;
|
|
567
|
-
/** Subscribes to registry state changes (e.g. services added or removed). @group Methods */
|
|
568
|
-
subscribe(listener: (state: ServiceRegistryState) => void): () => void;
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
declare interface ServiceRegistryState {
|
|
572
|
-
serviceNames: string[];
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
declare interface SharedBaseProps<TData = unknown> extends BaseComponentProps, ComponentEventCallbacks<TData> {
|
|
576
|
-
/**
|
|
577
|
-
* The shared service registry instance.
|
|
578
|
-
* This is required to access shared services like HierarchyService, FocusManagerService, etc.
|
|
579
|
-
* @group Services
|
|
580
|
-
*/
|
|
581
|
-
serviceRegistry?: ServiceRegistry;
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
/**
|
|
585
|
-
* Common sort direction
|
|
586
|
-
*/
|
|
587
|
-
declare type SortDirection = 'asc' | 'desc' | false;
|
|
588
|
-
|
|
589
|
-
/**
|
|
590
|
-
* Common sort model
|
|
591
|
-
*/
|
|
592
|
-
declare interface SortModel {
|
|
593
|
-
field: string;
|
|
594
|
-
direction: SortDirection;
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
/**
|
|
598
|
-
* Represents a node in the tree structure.
|
|
599
|
-
* @group Models
|
|
600
|
-
*/
|
|
601
|
-
declare interface TreeNode extends TreeNode_2 {
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
/**
|
|
605
|
-
* Tree Manipulation Types
|
|
606
|
-
*/
|
|
607
|
-
declare interface TreeNode_2 {
|
|
608
|
-
id: string;
|
|
609
|
-
label: string;
|
|
610
|
-
children?: TreeNode_2[];
|
|
611
|
-
icon?: default_2.ReactNode;
|
|
612
|
-
level?: number;
|
|
613
|
-
parentId?: string;
|
|
614
|
-
isLeaf?: boolean;
|
|
615
|
-
isLoading?: boolean;
|
|
616
|
-
isLoaded?: boolean;
|
|
617
|
-
[key: string]: unknown;
|
|
618
|
-
}
|
|
619
|
-
|
|
620
|
-
export { }
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
declare module '@tanstack/react-table' {
|
|
624
|
-
interface TableMeta<TData extends RowData> {
|
|
625
|
-
updateData?: (rowIndex: number, columnId: string, value: unknown) => void;
|
|
626
|
-
editingRows?: Record<string, boolean>;
|
|
627
|
-
toggleRowEditing?: (rowIndex: number, editing?: boolean) => void;
|
|
628
|
-
focusedCell?: {
|
|
629
|
-
r: number;
|
|
630
|
-
c: number;
|
|
631
|
-
} | null;
|
|
632
|
-
setFocusedCell?: (cell: {
|
|
633
|
-
r: number;
|
|
634
|
-
c: number;
|
|
635
|
-
} | null) => void;
|
|
636
|
-
navigateFocus?: (dr: number, dc: number) => void;
|
|
637
|
-
enableEditing?: boolean;
|
|
638
|
-
isRowEditable?: (row: TData) => boolean;
|
|
639
|
-
isCellEditable?: (row: TData, columnId: string) => boolean;
|
|
640
|
-
enableSearchHighlighting?: boolean;
|
|
641
|
-
selectionSettings?: SelectionSettings;
|
|
642
|
-
editSettings?: EditSettings;
|
|
643
|
-
filterSettings?: FilterSettings;
|
|
644
|
-
searchSettings?: SearchSettings;
|
|
645
|
-
sortSettings?: SortSettings;
|
|
646
|
-
textWrapSettings?: TextWrapSettings;
|
|
647
|
-
classNames?: EzTableClassNames<TData>;
|
|
648
|
-
icons?: EzTableIcons;
|
|
649
|
-
slots?: EzTableSlots<TData>;
|
|
650
|
-
slotProps?: Record<string, unknown>;
|
|
651
|
-
localization?: EzTableLocalization;
|
|
652
|
-
gridLines?: 'Both' | 'Horizontal' | 'Vertical' | 'None';
|
|
653
|
-
}
|
|
654
|
-
interface ColumnMeta<TData extends RowData, TValue> extends EzColumnMeta {
|
|
655
|
-
}
|
|
656
|
-
}
|
|
1
|
+
export * from './components/EzTreeView/index.js'
|
|
2
|
+
export {}
|