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
|
@@ -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 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=new Map,t=class{name=`TableService`;async init(){console.log(`[TableService] Initialized`)}async cleanup(){}initializeWithData(t){e.set(`default`,JSON.parse(JSON.stringify(t)))}async getData(t){await this.simulateLatency();let n=e.get(`default`)||[],r=t.state||{},i=r.columnFilters||[],a=r.globalFilter,o=r.sorting||[],s=r.pagination;if(i.length>0&&i.forEach(e=>{n=n.filter(t=>{let n=t[e.id];return n==null?!1:String(n).toLowerCase().includes(String(e.value).toLowerCase())})}),a){let e=String(a).toLowerCase();n=n.filter(t=>Object.values(t).some(t=>t!=null&&String(t).toLowerCase().includes(e)))}if(o.length>0){let e=o[0];n=[...n].sort((t,n)=>{let r=t[e.id],i=n[e.id];if(r===i)return 0;if(r==null)return 1;if(i==null)return-1;let a=r<i?-1:1;return e.desc?-a:a})}let c=n.length;if(s){let e=s.pageIndex*s.pageSize;n=n.slice(e,e+s.pageSize)}return{data:JSON.parse(JSON.stringify(n)),totalCount:c}}async fetchData(e){return this.getData(e)}async createRow(t){await this.simulateLatency();let n=e.get(`default`)||[],r={id:t.id||Math.random().toString(36).substring(2,9),...t};return n.push(r),e.set(`default`,n),r}async updateRow(t,n){await this.simulateLatency();let r=e.get(`default`)||[],i=r.findIndex(e=>String(e.id)===String(t));if(i!==-1)return r[i]={...r[i],...n},e.set(`default`,r),r[i];throw Error(`Row with ID ${t} not found`)}async deleteRow(t){await this.simulateLatency();let n=(e.get(`default`)||[]).filter(e=>String(e.id)!==String(t));e.set(`default`,n)}simulateLatency(){return new Promise(e=>setTimeout(e,300))}},n=new Map,r=()=>{n.has(`root`)||(n.set(`root`,[{id:`1`,label:`Documents`,hasChildren:!0},{id:`2`,label:`Music`,hasChildren:!0},{id:`3`,label:`Pictures`,hasChildren:!0},{id:`4`,label:`Videos`,hasChildren:!1}]),n.set(`1`,[{id:`1-1`,label:`Work`,hasChildren:!0},{id:`1-2`,label:`Personal`,hasChildren:!1}]),n.set(`1-1`,[{id:`1-1-1`,label:`Project A`,hasChildren:!1},{id:`1-1-2`,label:`Project B`,hasChildren:!1}]),n.set(`2`,[{id:`2-1`,label:`Rock`,hasChildren:!1},{id:`2-2`,label:`Pop`,hasChildren:!1}]))},i=class{name=`TreeService`;constructor(){r()}async simulateLatency(){await new Promise(e=>setTimeout(e,300+Math.random()*500))}async loadNodes(e){await this.simulateLatency();let t=e||`root`;return JSON.parse(JSON.stringify(n.get(t)||[]))}async moveNode(e,t,n){await this.simulateLatency(),console.log(`Moving node ${e} to ${t} at index ${n}`)}async renameNode(e,t){await this.simulateLatency();for(let[r,i]of n.entries()){let a=i.find(t=>t.id===e);a&&(a.label=t,n.set(r,[...i]))}}async deleteNode(e){await this.simulateLatency();for(let[t,r]of n.entries()){let i=r.findIndex(t=>t.id===e);i!==-1&&(r.splice(i,1),n.set(t,[...r]))}}async addNode(e,t){await this.simulateLatency();let r=n.get(e)||[],i={id:`new-${Date.now()}`,label:`New Node`,hasChildren:!1,...t};return n.set(e,[...r,i]),i}};exports.TableService=t,exports.TreeService=i;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** @public @group Mock Services */
|
|
2
|
+
export { TableService } from './components/EzTable/services/TableService';
|
|
3
|
+
/** @public @group Mock Services */
|
|
4
|
+
export { TreeService } from './components/EzTreeView/services/TreeService';
|
|
5
|
+
/** @group Interfaces */
|
|
6
|
+
export type { ITableService, TableParams } from './components/EzTable/EzTable.types';
|
|
7
|
+
/** @group Interfaces */
|
|
8
|
+
export type { ITreeService, TreeNode } from './components/EzTreeView/EzTreeView.types';
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
//#region src/components/EzTable/services/TableService.ts
|
|
2
|
+
var e = /* @__PURE__ */ new Map(), t = class {
|
|
3
|
+
name = "TableService";
|
|
4
|
+
async init() {
|
|
5
|
+
console.log("[TableService] Initialized");
|
|
6
|
+
}
|
|
7
|
+
async cleanup() {}
|
|
8
|
+
initializeWithData(t) {
|
|
9
|
+
e.set("default", JSON.parse(JSON.stringify(t)));
|
|
10
|
+
}
|
|
11
|
+
async getData(t) {
|
|
12
|
+
await this.simulateLatency();
|
|
13
|
+
let n = e.get("default") || [], r = t.state || {}, i = r.columnFilters || [], a = r.globalFilter, o = r.sorting || [], s = r.pagination;
|
|
14
|
+
if (i.length > 0 && i.forEach((e) => {
|
|
15
|
+
n = n.filter((t) => {
|
|
16
|
+
let n = t[e.id];
|
|
17
|
+
return n == null ? !1 : String(n).toLowerCase().includes(String(e.value).toLowerCase());
|
|
18
|
+
});
|
|
19
|
+
}), a) {
|
|
20
|
+
let e = String(a).toLowerCase();
|
|
21
|
+
n = n.filter((t) => Object.values(t).some((t) => t != null && String(t).toLowerCase().includes(e)));
|
|
22
|
+
}
|
|
23
|
+
if (o.length > 0) {
|
|
24
|
+
let e = o[0];
|
|
25
|
+
n = [...n].sort((t, n) => {
|
|
26
|
+
let r = t[e.id], i = n[e.id];
|
|
27
|
+
if (r === i) return 0;
|
|
28
|
+
if (r == null) return 1;
|
|
29
|
+
if (i == null) return -1;
|
|
30
|
+
let a = r < i ? -1 : 1;
|
|
31
|
+
return e.desc ? -a : a;
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
let c = n.length;
|
|
35
|
+
if (s) {
|
|
36
|
+
let e = s.pageIndex * s.pageSize;
|
|
37
|
+
n = n.slice(e, e + s.pageSize);
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
data: JSON.parse(JSON.stringify(n)),
|
|
41
|
+
totalCount: c
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
async fetchData(e) {
|
|
45
|
+
return this.getData(e);
|
|
46
|
+
}
|
|
47
|
+
async createRow(t) {
|
|
48
|
+
await this.simulateLatency();
|
|
49
|
+
let n = e.get("default") || [], r = {
|
|
50
|
+
id: t.id || Math.random().toString(36).substring(2, 9),
|
|
51
|
+
...t
|
|
52
|
+
};
|
|
53
|
+
return n.push(r), e.set("default", n), r;
|
|
54
|
+
}
|
|
55
|
+
async updateRow(t, n) {
|
|
56
|
+
await this.simulateLatency();
|
|
57
|
+
let r = e.get("default") || [], i = r.findIndex((e) => String(e.id) === String(t));
|
|
58
|
+
if (i !== -1) return r[i] = {
|
|
59
|
+
...r[i],
|
|
60
|
+
...n
|
|
61
|
+
}, e.set("default", r), r[i];
|
|
62
|
+
throw Error(`Row with ID ${t} not found`);
|
|
63
|
+
}
|
|
64
|
+
async deleteRow(t) {
|
|
65
|
+
await this.simulateLatency();
|
|
66
|
+
let n = (e.get("default") || []).filter((e) => String(e.id) !== String(t));
|
|
67
|
+
e.set("default", n);
|
|
68
|
+
}
|
|
69
|
+
simulateLatency() {
|
|
70
|
+
return new Promise((e) => setTimeout(e, 300));
|
|
71
|
+
}
|
|
72
|
+
}, n = /* @__PURE__ */ new Map(), r = () => {
|
|
73
|
+
n.has("root") || (n.set("root", [
|
|
74
|
+
{
|
|
75
|
+
id: "1",
|
|
76
|
+
label: "Documents",
|
|
77
|
+
hasChildren: !0
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
id: "2",
|
|
81
|
+
label: "Music",
|
|
82
|
+
hasChildren: !0
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
id: "3",
|
|
86
|
+
label: "Pictures",
|
|
87
|
+
hasChildren: !0
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
id: "4",
|
|
91
|
+
label: "Videos",
|
|
92
|
+
hasChildren: !1
|
|
93
|
+
}
|
|
94
|
+
]), n.set("1", [{
|
|
95
|
+
id: "1-1",
|
|
96
|
+
label: "Work",
|
|
97
|
+
hasChildren: !0
|
|
98
|
+
}, {
|
|
99
|
+
id: "1-2",
|
|
100
|
+
label: "Personal",
|
|
101
|
+
hasChildren: !1
|
|
102
|
+
}]), n.set("1-1", [{
|
|
103
|
+
id: "1-1-1",
|
|
104
|
+
label: "Project A",
|
|
105
|
+
hasChildren: !1
|
|
106
|
+
}, {
|
|
107
|
+
id: "1-1-2",
|
|
108
|
+
label: "Project B",
|
|
109
|
+
hasChildren: !1
|
|
110
|
+
}]), n.set("2", [{
|
|
111
|
+
id: "2-1",
|
|
112
|
+
label: "Rock",
|
|
113
|
+
hasChildren: !1
|
|
114
|
+
}, {
|
|
115
|
+
id: "2-2",
|
|
116
|
+
label: "Pop",
|
|
117
|
+
hasChildren: !1
|
|
118
|
+
}]));
|
|
119
|
+
}, i = class {
|
|
120
|
+
name = "TreeService";
|
|
121
|
+
constructor() {
|
|
122
|
+
r();
|
|
123
|
+
}
|
|
124
|
+
async simulateLatency() {
|
|
125
|
+
await new Promise((e) => setTimeout(e, 300 + Math.random() * 500));
|
|
126
|
+
}
|
|
127
|
+
async loadNodes(e) {
|
|
128
|
+
await this.simulateLatency();
|
|
129
|
+
let t = e || "root";
|
|
130
|
+
return JSON.parse(JSON.stringify(n.get(t) || []));
|
|
131
|
+
}
|
|
132
|
+
async moveNode(e, t, n) {
|
|
133
|
+
await this.simulateLatency(), console.log(`Moving node ${e} to ${t} at index ${n}`);
|
|
134
|
+
}
|
|
135
|
+
async renameNode(e, t) {
|
|
136
|
+
await this.simulateLatency();
|
|
137
|
+
for (let [r, i] of n.entries()) {
|
|
138
|
+
let a = i.find((t) => t.id === e);
|
|
139
|
+
a && (a.label = t, n.set(r, [...i]));
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
async deleteNode(e) {
|
|
143
|
+
await this.simulateLatency();
|
|
144
|
+
for (let [t, r] of n.entries()) {
|
|
145
|
+
let i = r.findIndex((t) => t.id === e);
|
|
146
|
+
i !== -1 && (r.splice(i, 1), n.set(t, [...r]));
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
async addNode(e, t) {
|
|
150
|
+
await this.simulateLatency();
|
|
151
|
+
let r = n.get(e) || [], i = {
|
|
152
|
+
id: `new-${Date.now()}`,
|
|
153
|
+
label: "New Node",
|
|
154
|
+
hasChildren: !1,
|
|
155
|
+
...t
|
|
156
|
+
};
|
|
157
|
+
return n.set(e, [...r, i]), i;
|
|
158
|
+
}
|
|
159
|
+
};
|
|
160
|
+
//#endregion
|
|
161
|
+
export { t as TableService, i as TreeService };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { h as e, r as t, t as n } from "./dropdown-menu-B_7_K13o.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
4
|
+
//#region src/components/ui/popover.tsx
|
|
5
|
+
var i = n, a = e;
|
|
6
|
+
function o({ className: e, align: n = "center", sideOffset: i = 4, container: a, ref: o, ...s }) {
|
|
7
|
+
return /* @__PURE__ */ r(t, {
|
|
8
|
+
ref: o,
|
|
9
|
+
align: n,
|
|
10
|
+
sideOffset: i,
|
|
11
|
+
className: e,
|
|
12
|
+
container: a,
|
|
13
|
+
...s
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
//#endregion
|
|
17
|
+
export { o as n, a as r, i as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./EzProvider-L2qQMq-v.cjs"),t=require("./dropdown-menu-BRP0tyR_.cjs");let n=require("react");n=e.y(n,1);let r=require("react/jsx-runtime");var i=t.t,a=t.h;function o({className:e,align:n=`center`,sideOffset:i=4,container:a,ref:o,...s}){return(0,r.jsx)(t.r,{ref:o,align:n,sideOffset:i,className:e,container:a,...s})}Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return i}});
|
package/dist/scheduler.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./EzScheduler-CkqTngI6.cjs");exports.EzScheduler=e.t;
|