ezux 1.0.0
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/LICENSE +21 -0
- package/README.md +56 -0
- package/dist/EzEventModal-DtpvYwGr.js +684 -0
- package/dist/EzGroupingPanel-CFwKUrF_.js +59 -0
- package/dist/EzTableEditDialog-BIk_mNpI.js +60 -0
- package/dist/components/EzKanban/EzKanban.types.d.ts +789 -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 +62 -0
- package/dist/components/EzKanban/components/KanbanCard.d.ts +38 -0
- package/dist/components/EzKanban/components/KanbanColumn.d.ts +55 -0
- package/dist/components/EzKanban/components/KanbanSwimlane.d.ts +46 -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 +45 -0
- package/dist/components/EzKanban/services/KanbanService.d.ts +30 -0
- package/dist/components/EzKanban/state/kanban.store.d.ts +33 -0
- package/dist/components/EzKanban/useEzKanban.d.ts +162 -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 +33 -0
- package/dist/components/EzLayout/EzLanguageSwitcher.d.ts +4 -0
- package/dist/components/EzLayout/EzLayout.types.d.ts +223 -0
- package/dist/components/EzLayout/EzSidebar.d.ts +14 -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 +23 -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 +19 -0
- package/dist/components/EzLayout/useEzLayout.d.ts +26 -0
- package/dist/components/EzScheduler/EzScheduler.types.d.ts +1658 -0
- package/dist/components/EzScheduler/EzSchedulerToolbar.d.ts +117 -0
- package/dist/components/EzScheduler/components/EzEventModal.d.ts +17 -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 +123 -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 +21 -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 +11 -0
- package/dist/components/EzScheduler/hooks/useSchedulerEvents.d.ts +26 -0
- package/dist/components/EzScheduler/hooks/useSchedulerImperative.d.ts +15 -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 +41 -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 +69 -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/tests/phase1_rendering.spec.d.ts +1 -0
- package/dist/components/EzScheduler/tests/phase2_events.spec.d.ts +1 -0
- package/dist/components/EzScheduler/tests/phase3_templates.spec.d.ts +1 -0
- package/dist/components/EzScheduler/tests/phase4_export.spec.d.ts +1 -0
- package/dist/components/EzScheduler/tests/phase5_advanced.spec.d.ts +1 -0
- package/dist/components/EzScheduler/tests/phase6_security.spec.d.ts +1 -0
- package/dist/components/EzScheduler/tests/phase7_regression.spec.d.ts +1 -0
- package/dist/components/EzScheduler/useEzScheduler.d.ts +152 -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 +17 -0
- package/dist/components/EzScheduler/views/AgendaView.d.ts +33 -0
- package/dist/components/EzScheduler/views/DayWeekView.d.ts +182 -0
- package/dist/components/EzScheduler/views/MonthView.d.ts +65 -0
- package/dist/components/EzScheduler/views/TimelineView.d.ts +121 -0
- package/dist/components/EzSignature/EzSignature.d.ts +42 -0
- package/dist/components/EzSignature/EzSignature.test.d.ts +1 -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 +6 -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 +1481 -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 +6 -0
- package/dist/components/EzTable/EzTableToolbar.d.ts +58 -0
- package/dist/components/EzTable/SmartCell.d.ts +7 -0
- package/dist/components/EzTable/__tests__/EzTableDX.test.d.ts +0 -0
- package/dist/components/EzTable/__tests__/EzTableEnterprise.test.d.ts +1 -0
- package/dist/components/EzTable/__tests__/useEzTable.test.d.ts +1 -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/DraggableHeader.d.ts +10 -0
- package/dist/components/EzTable/components/EzTableBodySection.d.ts +70 -0
- package/dist/components/EzTable/components/EzTableCell.d.ts +46 -0
- package/dist/components/EzTable/components/EzTableHeaderSection.d.ts +22 -0
- package/dist/components/EzTable/components/EzTablePaginationSection.d.ts +31 -0
- package/dist/components/EzTable/components/EzTableRow.d.ts +56 -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 +31 -0
- package/dist/components/EzTable/hooks/useTableVirtualization.d.ts +33 -0
- package/dist/components/EzTable/index.d.ts +50 -0
- package/dist/components/EzTable/renderers/index.d.ts +6 -0
- package/dist/components/EzTable/services/TableService.d.ts +26 -0
- package/dist/components/EzTable/useEzTable.d.ts +17 -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 +395 -0
- package/dist/components/EzTreeView/EzTreeViewItem.d.ts +77 -0
- package/dist/components/EzTreeView/EzVirtualTree.d.ts +72 -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 +62 -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/EzTableErrorFallback.d.ts +2 -0
- package/dist/components/shared/components/EzTreeViewErrorFallback.d.ts +2 -0
- package/dist/components/ui/avatar.d.ts +5 -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 +12 -0
- package/dist/components/ui/calendar.d.ts +15 -0
- package/dist/components/ui/card.d.ts +8 -0
- package/dist/components/ui/checkbox.d.ts +7 -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 +13 -0
- package/dist/components/ui/dropdown-menu.d.ts +27 -0
- package/dist/components/ui/index.d.ts +26 -0
- package/dist/components/ui/input.d.ts +5 -0
- package/dist/components/ui/label.d.ts +5 -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 +4 -0
- package/dist/components/ui/progress.d.ts +7 -0
- package/dist/components/ui/radio-group.d.ts +5 -0
- package/dist/components/ui/scroll-area.d.ts +5 -0
- package/dist/components/ui/select.d.ts +24 -0
- package/dist/components/ui/skeleton.d.ts +2 -0
- package/dist/components/ui/switch.d.ts +4 -0
- package/dist/components/ui/table.d.ts +10 -0
- package/dist/components/ui/tabs.d.ts +14 -0
- package/dist/components/ui/textarea.d.ts +5 -0
- package/dist/components/ui/tooltip.d.ts +7 -0
- package/dist/ezux.es.js +149 -0
- package/dist/ezux.umd.js +68 -0
- package/dist/index-DBwoXp4n.js +30656 -0
- package/dist/index.d.ts +70 -0
- package/dist/lib/perfect-freehand.d.ts +221 -0
- package/dist/lib/utils.d.ts +2 -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 +1 -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 +12 -0
- package/dist/shared/components/TooltipWrapper.d.ts +12 -0
- package/dist/shared/components/index.d.ts +9 -0
- package/dist/shared/hooks/index.d.ts +56 -0
- package/dist/shared/hooks/useBaseComponent.d.ts +60 -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 +17 -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 +9 -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 +15 -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 +12 -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 +56 -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 +65 -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 +51 -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 +18 -0
- package/dist/shared/types/common.d.ts +292 -0
- package/dist/shared/types/commonTypes.d.ts +101 -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/ezStyleUtils.d.ts +64 -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 +66 -0
- package/dist/shared/utils/validationUtils.d.ts +16 -0
- package/package.json +101 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/** @group Core Components */
|
|
2
|
+
export * from './components/EzLayout';
|
|
3
|
+
/** @group Core Components */
|
|
4
|
+
export { EzTable } from './components/EzTable';
|
|
5
|
+
/** @group Core Components */
|
|
6
|
+
export { EzScheduler } from './components/EzScheduler';
|
|
7
|
+
/** @group Core Components */
|
|
8
|
+
export { EzTreeView } from './components/EzTreeView';
|
|
9
|
+
/** @group Core Components */
|
|
10
|
+
export { EzKanban } from './components/EzKanban';
|
|
11
|
+
/** @group Core Components */
|
|
12
|
+
export { EzSignature } from './components/EzSignature';
|
|
13
|
+
/** @group Core Components */
|
|
14
|
+
export { SignInForm } from './components/EzLayout/Authentication/SignInForm';
|
|
15
|
+
/** @group Services */
|
|
16
|
+
export { TableService } from './components/EzTable/services/TableService';
|
|
17
|
+
/** @group Services */
|
|
18
|
+
export { SchedulerService } from './components/EzScheduler/services/SchedulerService';
|
|
19
|
+
/** @group Services */
|
|
20
|
+
export { TreeService } from './components/EzTreeView/services/TreeService';
|
|
21
|
+
/** @group Services */
|
|
22
|
+
export { KanbanService } from './components/EzKanban/services/KanbanService';
|
|
23
|
+
/** @group Services */
|
|
24
|
+
export { EzServiceRegistry, globalServiceRegistry } from './shared/services/ServiceRegistry';
|
|
25
|
+
/** @group Services */
|
|
26
|
+
export { LayoutService } from './shared/services/LayoutService';
|
|
27
|
+
/** @group Services */
|
|
28
|
+
export { I18nService } from './shared/services/I18nService';
|
|
29
|
+
/** @group Services */
|
|
30
|
+
export { ThemeService } from './shared/services/ThemeService';
|
|
31
|
+
/** @group Services */
|
|
32
|
+
export { NotificationService } from './shared/services/NotificationService';
|
|
33
|
+
/** @group Interfaces */
|
|
34
|
+
export type { EzTableProps, EzTableRef, ColumnDef, EzColumnMeta, FilterOperator, FilterRule, FilterGroup, EzTableCellProps, EzTableEditorProps, ITableService, TableParams } from './components/EzTable/EzTable.types';
|
|
35
|
+
/** @group Interfaces */
|
|
36
|
+
export type { EzSchedulerProps, SchedulerEvent, Resource, EzSchedulerComponents, EzSchedulerRef, ISchedulerService } from './components/EzScheduler/EzScheduler.types';
|
|
37
|
+
/** @group Interfaces */
|
|
38
|
+
export type { EzTreeViewProps, TreeNode, EzTreeViewComponents, EzTreeViewApi, ITreeService } from './components/EzTreeView/EzTreeView.types';
|
|
39
|
+
/** @group Interfaces */
|
|
40
|
+
export type { EzKanbanProps, KanbanBoard, KanbanColumn, KanbanCard, EzKanbanRef, CardAssignee, KanbanSwimlane, IKanbanService } from './components/EzKanban/EzKanban.types';
|
|
41
|
+
/** @group Interfaces */
|
|
42
|
+
export type { EzSignatureProps, EzSignatureRef } from './components/EzSignature/EzSignature.types';
|
|
43
|
+
/** @group Interfaces */
|
|
44
|
+
export type { EzLayoutProps, EzLayoutRef } from './components/EzLayout/EzLayout.types';
|
|
45
|
+
/** @group Interfaces */
|
|
46
|
+
export type { AnimatedTextProps } from './shared/components/AnimatedText';
|
|
47
|
+
/** @group Types */
|
|
48
|
+
export * from './shared/types/BaseProps';
|
|
49
|
+
/** @group Methods */
|
|
50
|
+
export { useI18n } from './shared/hooks/useI18n';
|
|
51
|
+
/** @group Methods */
|
|
52
|
+
export { cn } from './lib/utils';
|
|
53
|
+
/** @group Methods */
|
|
54
|
+
export { formatNumber, formatDate, formatCurrency, formatPercent, formatDateTime } from './shared/utils/formatUtils';
|
|
55
|
+
/** @group Methods */
|
|
56
|
+
export { convertToCSV } from './shared/utils/csvUtils';
|
|
57
|
+
/** @group Core Components */
|
|
58
|
+
export { EzResourceSidebar } from './components/EzScheduler/components/EzResourceSidebar';
|
|
59
|
+
/** @group Core Components */
|
|
60
|
+
export { StatusBadge } from './shared/components/StatusBadge';
|
|
61
|
+
/** @group Core Components */
|
|
62
|
+
export { AnimatedText } from './shared/components/AnimatedText';
|
|
63
|
+
/** @group Core Components */
|
|
64
|
+
export { NotificationPanel } from './shared/components/NotificationPanel';
|
|
65
|
+
/** @group Core Components */
|
|
66
|
+
export { EzNotificationDropdown } from './shared/components/EzNotificationDropdown';
|
|
67
|
+
/** @group Core Components */
|
|
68
|
+
export * from './components/EzTable/renderers';
|
|
69
|
+
/** @group UI Components */
|
|
70
|
+
export * from './components/ui';
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Negate a vector.
|
|
3
|
+
* @param A
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare function neg(A: number[]): number[];
|
|
7
|
+
/**
|
|
8
|
+
* Add vectors.
|
|
9
|
+
* @param A
|
|
10
|
+
* @param B
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export declare function add(A: number[], B: number[]): number[];
|
|
14
|
+
/**
|
|
15
|
+
* Subtract vectors.
|
|
16
|
+
* @param A
|
|
17
|
+
* @param B
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
20
|
+
export declare function sub(A: number[], B: number[]): number[];
|
|
21
|
+
/**
|
|
22
|
+
* Vector multiplication by scalar
|
|
23
|
+
* @param A
|
|
24
|
+
* @param n
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
export declare function mul(A: number[], n: number): number[];
|
|
28
|
+
/**
|
|
29
|
+
* Vector division by scalar.
|
|
30
|
+
* @param A
|
|
31
|
+
* @param n
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
export declare function div(A: number[], n: number): number[];
|
|
35
|
+
/**
|
|
36
|
+
* Perpendicular rotation of a vector A
|
|
37
|
+
* @param A
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
export declare function per(A: number[]): number[];
|
|
41
|
+
/**
|
|
42
|
+
* Dot product
|
|
43
|
+
* @param A
|
|
44
|
+
* @param B
|
|
45
|
+
* @internal
|
|
46
|
+
*/
|
|
47
|
+
export declare function dpr(A: number[], B: number[]): number;
|
|
48
|
+
/**
|
|
49
|
+
* Get whether two vectors are equal.
|
|
50
|
+
* @param A
|
|
51
|
+
* @param B
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
export declare function isEqual(A: number[], B: number[]): boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Length of the vector
|
|
57
|
+
* @param A
|
|
58
|
+
* @internal
|
|
59
|
+
*/
|
|
60
|
+
export declare function len(A: number[]): number;
|
|
61
|
+
/**
|
|
62
|
+
* Length of the vector squared
|
|
63
|
+
* @param A
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
export declare function len2(A: number[]): number;
|
|
67
|
+
/**
|
|
68
|
+
* Dist length from A to B squared.
|
|
69
|
+
* @param A
|
|
70
|
+
* @param B
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
export declare function dist2(A: number[], B: number[]): number;
|
|
74
|
+
/**
|
|
75
|
+
* Get normalized / unit vector.
|
|
76
|
+
* @param A
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
export declare function uni(A: number[]): number[];
|
|
80
|
+
/**
|
|
81
|
+
* Dist length from A to B
|
|
82
|
+
* @param A
|
|
83
|
+
* @param B
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
export declare function dist(A: number[], B: number[]): number;
|
|
87
|
+
/**
|
|
88
|
+
* Mean between two vectors or mid vector between two vectors
|
|
89
|
+
* @param A
|
|
90
|
+
* @param B
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
export declare function med(A: number[], B: number[]): number[];
|
|
94
|
+
/**
|
|
95
|
+
* Rotate a vector around another vector by r (radians)
|
|
96
|
+
* @param A vector
|
|
97
|
+
* @param C center
|
|
98
|
+
* @param r rotation in radians
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
101
|
+
export declare function rotAround(A: number[], C: number[], r: number): number[];
|
|
102
|
+
/**
|
|
103
|
+
* Interpolate vector A to B with a scalar t
|
|
104
|
+
* @param A
|
|
105
|
+
* @param B
|
|
106
|
+
* @param t scalar
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
109
|
+
export declare function lrp(A: number[], B: number[], t: number): number[];
|
|
110
|
+
/**
|
|
111
|
+
* Project a point A in the direction B by a scalar c
|
|
112
|
+
* @param A
|
|
113
|
+
* @param B
|
|
114
|
+
* @param c
|
|
115
|
+
* @internal
|
|
116
|
+
*/
|
|
117
|
+
export declare function prj(A: number[], B: number[], c: number): number[];
|
|
118
|
+
/**
|
|
119
|
+
* Compute a radius based on the pressure.
|
|
120
|
+
* @param size
|
|
121
|
+
* @param thinning
|
|
122
|
+
* @param pressure
|
|
123
|
+
* @param easing
|
|
124
|
+
* @internal
|
|
125
|
+
*/
|
|
126
|
+
export declare function getStrokeRadius(size: number, thinning: number, pressure: number, easing?: (t: number) => number): number;
|
|
127
|
+
/**
|
|
128
|
+
* The options object for `getStroke` or `getStrokePoints`.
|
|
129
|
+
* @param points An array of points (as `[x, y, pressure]` or `{x, y, pressure}`). Pressure is optional in both cases.
|
|
130
|
+
* @param options (optional) An object with options.
|
|
131
|
+
* @param options.size The base size (diameter) of the stroke.
|
|
132
|
+
* @param options.thinning The effect of pressure on the stroke's size.
|
|
133
|
+
* @param options.smoothing How much to soften the stroke's edges.
|
|
134
|
+
* @param options.easing An easing function to apply to each point's pressure.
|
|
135
|
+
* @param options.simulatePressure Whether to simulate pressure based on velocity.
|
|
136
|
+
* @param options.start Cap, taper and easing for the start of the line.
|
|
137
|
+
* @param options.end Cap, taper and easing for the end of the line.
|
|
138
|
+
* @param options.last Whether to handle the points as a completed stroke.
|
|
139
|
+
*/
|
|
140
|
+
export interface StrokeOptions {
|
|
141
|
+
size?: number;
|
|
142
|
+
thinning?: number;
|
|
143
|
+
smoothing?: number;
|
|
144
|
+
streamline?: number;
|
|
145
|
+
easing?: (pressure: number) => number;
|
|
146
|
+
simulatePressure?: boolean;
|
|
147
|
+
start?: {
|
|
148
|
+
cap?: boolean;
|
|
149
|
+
taper?: number | boolean;
|
|
150
|
+
easing?: (distance: number) => number;
|
|
151
|
+
};
|
|
152
|
+
end?: {
|
|
153
|
+
cap?: boolean;
|
|
154
|
+
taper?: number | boolean;
|
|
155
|
+
easing?: (distance: number) => number;
|
|
156
|
+
};
|
|
157
|
+
last?: boolean;
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* The points returned by `getStrokePoints`, and the input for `getStrokeOutlinePoints`.
|
|
161
|
+
*/
|
|
162
|
+
export interface StrokePoint {
|
|
163
|
+
point: number[];
|
|
164
|
+
pressure: number;
|
|
165
|
+
distance: number;
|
|
166
|
+
vector: number[];
|
|
167
|
+
runningLength: number;
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* ## getStrokePoints
|
|
171
|
+
* @description Get an array of points as objects with an adjusted point, pressure, vector, distance, and runningLength.
|
|
172
|
+
* @param points An array of points (as `[x, y, pressure]` or `{x, y, pressure}`). Pressure is optional in both cases.
|
|
173
|
+
* @param options (optional) An object with options.
|
|
174
|
+
* @param options.size The base size (diameter) of the stroke.
|
|
175
|
+
* @param options.thinning The effect of pressure on the stroke's size.
|
|
176
|
+
* @param options.smoothing How much to soften the stroke's edges.
|
|
177
|
+
* @param options.easing An easing function to apply to each point's pressure.
|
|
178
|
+
* @param options.simulatePressure Whether to simulate pressure based on velocity.
|
|
179
|
+
* @param options.start Cap, taper and easing for the start of the line.
|
|
180
|
+
* @param options.end Cap, taper and easing for the end of the line.
|
|
181
|
+
* @param options.last Whether to handle the points as a completed stroke.
|
|
182
|
+
*/
|
|
183
|
+
export declare function getStrokePoints<T extends number[], K extends {
|
|
184
|
+
x: number;
|
|
185
|
+
y: number;
|
|
186
|
+
pressure?: number;
|
|
187
|
+
}>(points: (T | K)[], options?: StrokeOptions): StrokePoint[];
|
|
188
|
+
/**
|
|
189
|
+
* ## getStrokeOutlinePoints
|
|
190
|
+
* @description Get an array of points (as `[x, y]`) representing the outline of a stroke.
|
|
191
|
+
* @param points An array of StrokePoints as returned from `getStrokePoints`.
|
|
192
|
+
* @param options (optional) An object with options.
|
|
193
|
+
* @param options.size The base size (diameter) of the stroke.
|
|
194
|
+
* @param options.thinning The effect of pressure on the stroke's size.
|
|
195
|
+
* @param options.smoothing How much to soften the stroke's edges.
|
|
196
|
+
* @param options.easing An easing function to apply to each point's pressure.
|
|
197
|
+
* @param options.simulatePressure Whether to simulate pressure based on velocity.
|
|
198
|
+
* @param options.start Cap, taper and easing for the start of the line.
|
|
199
|
+
* @param options.end Cap, taper and easing for the end of the line.
|
|
200
|
+
* @param options.last Whether to handle the points as a completed stroke.
|
|
201
|
+
*/
|
|
202
|
+
export declare function getStrokeOutlinePoints(points: StrokePoint[], options?: Partial<StrokeOptions>): number[][];
|
|
203
|
+
/**
|
|
204
|
+
* ## getStroke
|
|
205
|
+
* @description Get an array of points describing a polygon that surrounds the input points.
|
|
206
|
+
* @param points An array of points (as `[x, y, pressure]` or `{x, y, pressure}`). Pressure is optional in both cases.
|
|
207
|
+
* @param options (optional) An object with options.
|
|
208
|
+
* @param options.size The base size (diameter) of the stroke.
|
|
209
|
+
* @param options.thinning The effect of pressure on the stroke's size.
|
|
210
|
+
* @param options.smoothing How much to soften the stroke's edges.
|
|
211
|
+
* @param options.easing An easing function to apply to each point's pressure.
|
|
212
|
+
* @param options.simulatePressure Whether to simulate pressure based on velocity.
|
|
213
|
+
* @param options.start Cap, taper and easing for the start of the line.
|
|
214
|
+
* @param options.end Cap, taper and easing for the end of the line.
|
|
215
|
+
* @param options.last Whether to handle the points as a completed stroke.
|
|
216
|
+
*/
|
|
217
|
+
export declare function getStroke(points: (number[] | {
|
|
218
|
+
x: number;
|
|
219
|
+
y: number;
|
|
220
|
+
pressure?: number;
|
|
221
|
+
})[], options?: StrokeOptions): number[][];
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface AnimatedTextProps {
|
|
3
|
+
/**
|
|
4
|
+
* The text content to animate.
|
|
5
|
+
* @group Properties
|
|
6
|
+
*/
|
|
7
|
+
text: string;
|
|
8
|
+
/**
|
|
9
|
+
* Custom class names for styling.
|
|
10
|
+
* @group Properties
|
|
11
|
+
*/
|
|
12
|
+
className?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Default text color.
|
|
15
|
+
* @group Properties
|
|
16
|
+
*/
|
|
17
|
+
defaultColor?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Text to highlight (will use primary color and wobble effect).
|
|
20
|
+
* @group Properties
|
|
21
|
+
*/
|
|
22
|
+
highlight?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Animation delay.
|
|
25
|
+
* @group Properties
|
|
26
|
+
*/
|
|
27
|
+
delay?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Custom text size class (overrides default).
|
|
30
|
+
* @group Properties
|
|
31
|
+
*/
|
|
32
|
+
textSize?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Direction for the main text.
|
|
35
|
+
* @group Properties
|
|
36
|
+
*/
|
|
37
|
+
textDir?: "ltr" | "rtl";
|
|
38
|
+
/**
|
|
39
|
+
* Direction for the highlight text.
|
|
40
|
+
* @group Properties
|
|
41
|
+
*/
|
|
42
|
+
highlightDir?: "ltr" | "rtl";
|
|
43
|
+
}
|
|
44
|
+
export declare const AnimatedText: React.FC<AnimatedTextProps>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface BaseCellProps {
|
|
3
|
+
value: any;
|
|
4
|
+
className?: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
fallback?: React.ReactNode;
|
|
8
|
+
align?: 'left' | 'center' | 'right';
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* BaseCell - Shared logic for all table cells
|
|
12
|
+
* Handles null/undefined states, core typography, alignment, and tooltips.
|
|
13
|
+
*/
|
|
14
|
+
export declare const BaseCell: React.FC<BaseCellProps>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface BooleanCellProps {
|
|
3
|
+
value: boolean | null | undefined;
|
|
4
|
+
trueLabel?: string;
|
|
5
|
+
falseLabel?: string;
|
|
6
|
+
nullLabel?: string;
|
|
7
|
+
showIcon?: boolean;
|
|
8
|
+
showLabel?: boolean;
|
|
9
|
+
variant?: 'checkbox' | 'switch';
|
|
10
|
+
className?: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
onChange?: (value: boolean) => void;
|
|
13
|
+
}
|
|
14
|
+
export declare const BooleanCell: React.FC<BooleanCellProps>;
|
|
15
|
+
export interface BooleanEditorProps {
|
|
16
|
+
value: boolean | null | undefined;
|
|
17
|
+
onChange: (value: boolean) => void;
|
|
18
|
+
trueLabel?: string;
|
|
19
|
+
falseLabel?: string;
|
|
20
|
+
variant?: 'checkbox' | 'switch';
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
className?: string;
|
|
23
|
+
}
|
|
24
|
+
export declare const BooleanEditor: React.FC<BooleanEditorProps>;
|
|
25
|
+
export interface BooleanFilterProps {
|
|
26
|
+
value: 'all' | 'true' | 'false' | 'null';
|
|
27
|
+
onChange: (value: 'all' | 'true' | 'false' | 'null') => void;
|
|
28
|
+
trueLabel?: string;
|
|
29
|
+
falseLabel?: string;
|
|
30
|
+
nullLabel?: string;
|
|
31
|
+
allLabel?: string;
|
|
32
|
+
className?: string;
|
|
33
|
+
}
|
|
34
|
+
export declare const BooleanFilter: React.FC<BooleanFilterProps>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface ProgressCellProps {
|
|
3
|
+
value: number;
|
|
4
|
+
showLabel?: boolean;
|
|
5
|
+
color?: 'default' | 'success' | 'warning' | 'danger' | 'info';
|
|
6
|
+
size?: 'sm' | 'md' | 'lg';
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const ProgressCell: React.FC<ProgressCellProps>;
|
|
10
|
+
export interface SparklineCellProps {
|
|
11
|
+
value?: number[];
|
|
12
|
+
values?: number[];
|
|
13
|
+
color?: 'default' | 'success' | 'warning' | 'danger' | 'info';
|
|
14
|
+
height?: number;
|
|
15
|
+
width?: number;
|
|
16
|
+
showDots?: boolean;
|
|
17
|
+
className?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare const SparklineCell: React.FC<SparklineCellProps>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface DeleteConfirmationModalProps {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
onConfirm: () => void;
|
|
6
|
+
title?: string;
|
|
7
|
+
message?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const DeleteConfirmationModal: React.FC<DeleteConfirmationModalProps>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Row } from '@tanstack/react-table';
|
|
3
|
+
interface EzContextMenuProps<TData> {
|
|
4
|
+
row?: Row<TData>;
|
|
5
|
+
data?: TData;
|
|
6
|
+
contextId?: string;
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
enabled?: boolean;
|
|
9
|
+
onAction?: (action: string, data: TData) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const EzContextMenu: <TData>({ row, data, contextId, children, enabled, onAction }: EzContextMenuProps<TData>) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const EzNotificationDropdown: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface ModalProps {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
title?: React.ReactNode;
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
footer?: React.ReactNode;
|
|
8
|
+
className?: string;
|
|
9
|
+
size?: 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
10
|
+
closeOnBackdropClick?: boolean;
|
|
11
|
+
showCloseButton?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const Modal: React.FC<ModalProps>;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface PrimitiveCellProps {
|
|
3
|
+
value: any;
|
|
4
|
+
columnType?: 'text' | 'number' | 'date' | 'datetime' | 'longtext';
|
|
5
|
+
meta?: any;
|
|
6
|
+
className?: string;
|
|
7
|
+
align?: 'left' | 'center' | 'right';
|
|
8
|
+
table?: any;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* PrimitiveCell - Unified renderer for simple data types.
|
|
12
|
+
* Replaces TextCell, NumberCell, DateCell, etc.
|
|
13
|
+
*/
|
|
14
|
+
export declare const PrimitiveCell: React.FC<PrimitiveCellProps>;
|
|
15
|
+
export interface PrimitiveEditorProps {
|
|
16
|
+
value: any;
|
|
17
|
+
onChange: (value: any) => void;
|
|
18
|
+
onBlur?: () => void;
|
|
19
|
+
columnType?: string;
|
|
20
|
+
autoFocus?: boolean;
|
|
21
|
+
isFocused?: boolean;
|
|
22
|
+
className?: string;
|
|
23
|
+
placeholder?: string;
|
|
24
|
+
meta?: any;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* PrimitiveEditor - Unified editor for simple inputs.
|
|
28
|
+
* Replaces TextEditor, NumberEditor, etc.
|
|
29
|
+
*/
|
|
30
|
+
export declare const PrimitiveEditor: React.FC<PrimitiveEditorProps>;
|
|
31
|
+
export type FilterOperator = 'equals' | 'notEquals' | 'contains' | 'doesNotContain' | 'startsWith' | 'endsWith' | 'gt' | 'gte' | 'lt' | 'lte' | 'between';
|
|
32
|
+
export interface PrimitiveFilterProps {
|
|
33
|
+
columnType: 'text' | 'number' | 'date' | 'datetime' | 'longtext' | string;
|
|
34
|
+
value: any;
|
|
35
|
+
valueTo?: any;
|
|
36
|
+
operator: FilterOperator;
|
|
37
|
+
onChange: (value: any, operator: FilterOperator, valueTo?: any) => void;
|
|
38
|
+
}
|
|
39
|
+
export declare const PrimitiveFilter: React.FC<PrimitiveFilterProps>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface SearchableSelectProps {
|
|
3
|
+
value?: string | null;
|
|
4
|
+
onChange: (value: string) => void;
|
|
5
|
+
options: {
|
|
6
|
+
value: string;
|
|
7
|
+
label: string;
|
|
8
|
+
}[];
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
onBlur?: () => void;
|
|
12
|
+
}
|
|
13
|
+
export declare const SearchableSelect: React.FC<SearchableSelectProps>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface SelectOption {
|
|
3
|
+
value: string;
|
|
4
|
+
label: string;
|
|
5
|
+
color?: 'default' | 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info';
|
|
6
|
+
}
|
|
7
|
+
export interface SelectCellProps {
|
|
8
|
+
value: string | string[] | null | undefined;
|
|
9
|
+
options?: SelectOption[];
|
|
10
|
+
multiSelect?: boolean;
|
|
11
|
+
className?: string;
|
|
12
|
+
table?: any;
|
|
13
|
+
}
|
|
14
|
+
export declare const SelectCell: React.FC<SelectCellProps>;
|
|
15
|
+
export interface SelectEditorProps {
|
|
16
|
+
value: any;
|
|
17
|
+
onChange: (value: any) => void;
|
|
18
|
+
options: SelectOption[];
|
|
19
|
+
variant?: 'dropdown' | 'radio' | 'combobox';
|
|
20
|
+
multiSelect?: boolean;
|
|
21
|
+
onBlur?: () => void;
|
|
22
|
+
className?: string;
|
|
23
|
+
placeholder?: string;
|
|
24
|
+
isFocused?: boolean;
|
|
25
|
+
}
|
|
26
|
+
export declare const SelectEditor: React.FC<SelectEditorProps>;
|
|
27
|
+
export interface SelectFilterProps {
|
|
28
|
+
options: SelectOption[];
|
|
29
|
+
selectedValues: string[];
|
|
30
|
+
onChange: (values: string[]) => void;
|
|
31
|
+
className?: string;
|
|
32
|
+
}
|
|
33
|
+
export declare const SelectFilter: React.FC<SelectFilterProps>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type Status = 'Active' | 'Inactive' | 'Pending' | 'Verified' | 'Unverified' | 'On Leave' | 'Completed' | 'In Progress';
|
|
2
|
+
interface StatusBadgeProps {
|
|
3
|
+
status: Status | string;
|
|
4
|
+
className?: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Optimized StatusBadge component
|
|
8
|
+
* - Dot indicator for better visual recognition
|
|
9
|
+
* - High-contrast styling for maximum visibility
|
|
10
|
+
*/
|
|
11
|
+
export declare const StatusBadge: import('react').NamedExoticComponent<StatusBadgeProps>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface TooltipWrapperProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
content?: React.ReactNode;
|
|
5
|
+
enabled?: boolean;
|
|
6
|
+
delayDuration?: number;
|
|
7
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
8
|
+
align?: 'start' | 'center' | 'end';
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const TooltipWrapper: React.FC<TooltipWrapperProps>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './AnimatedText';
|
|
2
|
+
export * from './StatusBadge';
|
|
3
|
+
export * from './BaseCell';
|
|
4
|
+
export * from './PrimitiveRenderer';
|
|
5
|
+
export * from './BooleanRenderer';
|
|
6
|
+
export * from './SelectRenderer';
|
|
7
|
+
export * from './ChartRenderer';
|
|
8
|
+
export * from './HighlightText';
|
|
9
|
+
export * from './SearchableSelect';
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared hooks index
|
|
3
|
+
* Exports all shared hooks for easy importing
|
|
4
|
+
*/
|
|
5
|
+
export { useBaseComponent } from './useBaseComponent';
|
|
6
|
+
export type { BaseComponentConfig, BaseComponentState, BaseComponentAPI } from './useBaseComponent';
|
|
7
|
+
export { useVirtualization } from './useVirtualization';
|
|
8
|
+
export type { VirtualizationConfig, VirtualizationResult } from './useVirtualization';
|
|
9
|
+
export { useEzTheme } from './useEzTheme';
|
|
10
|
+
export { useI18n } from './useI18n';
|
|
11
|
+
export { useLifecycleEvents } from './useLifecycleEvents';
|
|
12
|
+
export type { LifecycleCallbacks } from './useLifecycleEvents';
|
|
13
|
+
export { useDataChangeEvents } from './useDataChangeEvents';
|
|
14
|
+
export type { DataChangeCallbacks } from './useDataChangeEvents';
|
|
15
|
+
export { useRowSelectionEvents } from './useRowSelectionEvents';
|
|
16
|
+
export type { RowSelectionCallbacks, RowSelectionState } from './useRowSelectionEvents';
|
|
17
|
+
export { useStateChangeEvents } from './useStateChangeEvents';
|
|
18
|
+
export type { StateChangeCallbacks, SortingState, PaginationState } from './useStateChangeEvents';
|
|
19
|
+
export { useComponentState } from './useComponentState';
|
|
20
|
+
export type { StateConfig } from './useComponentState';
|
|
21
|
+
export { useEventHandlers } from './useEventHandlers';
|
|
22
|
+
export type { EventHandlerConfig } from './useEventHandlers';
|
|
23
|
+
/**
|
|
24
|
+
* An advanced hook for exposing an imperative API from an EzUX component.
|
|
25
|
+
*
|
|
26
|
+
* Standardizes the pattern of using `useImperativeHandle` with optional validation
|
|
27
|
+
* methods and base API merging.
|
|
28
|
+
*
|
|
29
|
+
* @param ref The ref object to attach the API to.
|
|
30
|
+
* @param api The core API methods to expose.
|
|
31
|
+
* @param options Additional imperative methods or overrides.
|
|
32
|
+
* @group Hooks
|
|
33
|
+
*/
|
|
34
|
+
export { useComponentImperativeAPI } from './useComponentImperativeAPI';
|
|
35
|
+
/**
|
|
36
|
+
* A lightweight hook for exposing an imperative API from a component.
|
|
37
|
+
*
|
|
38
|
+
* Consolidates the imperative API pattern using `useImperativeHandle`,
|
|
39
|
+
* ensuring efficient reference stability.
|
|
40
|
+
*
|
|
41
|
+
* @param ref The ref object from the forwardRef or parent component.
|
|
42
|
+
* @param api An object containing the methods and properties to expose.
|
|
43
|
+
* @group Hooks
|
|
44
|
+
*/
|
|
45
|
+
export { useImperativeAPI } from './useImperativeAPI';
|
|
46
|
+
export { useDndHandlers } from './useDndHandlers';
|
|
47
|
+
export { useLoadingState } from './useLoadingState';
|
|
48
|
+
export { useFieldValidation } from './useFieldValidation';
|
|
49
|
+
export { useService } from './useService';
|
|
50
|
+
export { useMediaQuery } from './useMediaQuery';
|
|
51
|
+
export { useCurrentTime } from './useCurrentTime';
|
|
52
|
+
export { useDialogState } from './useDialogState';
|
|
53
|
+
export { useKeyboardNavigation } from './useKeyboardNavigation';
|
|
54
|
+
export { useHistory } from './useHistory';
|
|
55
|
+
export { useServiceState } from './useServiceState';
|
|
56
|
+
export { useInitCoreServices } from './useInitCoreServices';
|