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,982 @@
|
|
|
1
|
+
import e, { createContext as t, useContext as n, useEffect as r, useMemo as i } from "react";
|
|
2
|
+
import { clsx as a } from "clsx";
|
|
3
|
+
import { twMerge as o } from "tailwind-merge";
|
|
4
|
+
import { LucideProvider as s } from "lucide-react";
|
|
5
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
6
|
+
import { Store as l } from "@tanstack/store";
|
|
7
|
+
//#region src/lib/utils.ts
|
|
8
|
+
function u(...e) {
|
|
9
|
+
return o(a(e));
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region src/shared/services/BaseService.ts
|
|
13
|
+
var d = class {
|
|
14
|
+
store;
|
|
15
|
+
cleanupTasks = [];
|
|
16
|
+
debounceMs = 0;
|
|
17
|
+
debounceTimer = null;
|
|
18
|
+
constructor(e) {
|
|
19
|
+
this.store = new l(e);
|
|
20
|
+
}
|
|
21
|
+
get state() {
|
|
22
|
+
return this.store.state;
|
|
23
|
+
}
|
|
24
|
+
getState() {
|
|
25
|
+
return this.store.state;
|
|
26
|
+
}
|
|
27
|
+
registerCleanup(e) {
|
|
28
|
+
this.cleanupTasks.push(e);
|
|
29
|
+
}
|
|
30
|
+
subscribe(e) {
|
|
31
|
+
let t = this.store.subscribe(() => {
|
|
32
|
+
e(this.store.state);
|
|
33
|
+
});
|
|
34
|
+
return typeof t == "function" ? t : () => t.unsubscribe();
|
|
35
|
+
}
|
|
36
|
+
setState(e) {
|
|
37
|
+
this.store.setState((t) => {
|
|
38
|
+
let n = typeof e == "function" ? e(t) : e;
|
|
39
|
+
return {
|
|
40
|
+
...t,
|
|
41
|
+
...n
|
|
42
|
+
};
|
|
43
|
+
}), this.debounceMs > 0 && (this.debounceTimer && clearTimeout(this.debounceTimer), this.debounceTimer = setTimeout(() => {}, this.debounceMs));
|
|
44
|
+
}
|
|
45
|
+
setDebounce(e) {
|
|
46
|
+
this.debounceMs = e;
|
|
47
|
+
}
|
|
48
|
+
cleanup() {
|
|
49
|
+
this.debounceTimer && clearTimeout(this.debounceTimer), this.cleanupTasks.forEach((e) => {
|
|
50
|
+
try {
|
|
51
|
+
e();
|
|
52
|
+
} catch (e) {
|
|
53
|
+
console.error(`Error during service cleanup for ${this.name}:`, e);
|
|
54
|
+
}
|
|
55
|
+
}), this.cleanupTasks = [];
|
|
56
|
+
}
|
|
57
|
+
}, f = class extends d {
|
|
58
|
+
name = "ServiceRegistry";
|
|
59
|
+
services = /* @__PURE__ */ new Map();
|
|
60
|
+
constructor() {
|
|
61
|
+
super({ serviceNames: [] }), this.registerCleanup(() => this.cleanupAll());
|
|
62
|
+
}
|
|
63
|
+
register(e, t) {
|
|
64
|
+
this.services.has(e) && (console.warn(`Service ${e} is already registered. Overwriting.`), this.unregister(e)), this.services.set(e, t), this.updateState();
|
|
65
|
+
}
|
|
66
|
+
get(e) {
|
|
67
|
+
return this.services.get(e);
|
|
68
|
+
}
|
|
69
|
+
getOrThrow(e) {
|
|
70
|
+
let t = this.get(e);
|
|
71
|
+
if (!t) throw Error(`Service ${e} not found in registry.`);
|
|
72
|
+
return t;
|
|
73
|
+
}
|
|
74
|
+
unregister(e) {
|
|
75
|
+
let t = this.services.get(e);
|
|
76
|
+
t?.cleanup && t.cleanup(), this.services.delete(e) && this.updateState();
|
|
77
|
+
}
|
|
78
|
+
cleanupAll() {
|
|
79
|
+
for (let e of this.services.values()) e.cleanup && e.cleanup();
|
|
80
|
+
this.services.clear(), this.updateState();
|
|
81
|
+
}
|
|
82
|
+
updateState() {
|
|
83
|
+
this.setState({ serviceNames: Array.from(this.services.keys()) });
|
|
84
|
+
}
|
|
85
|
+
}, p = {
|
|
86
|
+
Orange: {
|
|
87
|
+
light: {
|
|
88
|
+
background: "98% 0.01 70deg",
|
|
89
|
+
foreground: "0 0 0",
|
|
90
|
+
card: "100% 0 0deg",
|
|
91
|
+
"card-foreground": "0 0 0",
|
|
92
|
+
popover: "100% 0 0deg",
|
|
93
|
+
"popover-foreground": "0 0 0",
|
|
94
|
+
primary: "65% 0.18 70deg",
|
|
95
|
+
"primary-foreground": "100% 0 0deg",
|
|
96
|
+
secondary: "93% 0.03 70deg",
|
|
97
|
+
"secondary-foreground": "0 0 0",
|
|
98
|
+
muted: "93% 0.03 70deg",
|
|
99
|
+
"muted-foreground": "40% 0.02 70deg",
|
|
100
|
+
accent: "93% 0.03 70deg",
|
|
101
|
+
"accent-foreground": "0 0 0",
|
|
102
|
+
destructive: "69% 0.23 26deg",
|
|
103
|
+
"destructive-foreground": "100% 0 0deg",
|
|
104
|
+
border: "92% 0.05 70deg",
|
|
105
|
+
input: "92% 0.05 70deg",
|
|
106
|
+
ring: "65% 0.18 70deg",
|
|
107
|
+
radius: "0.5rem"
|
|
108
|
+
},
|
|
109
|
+
dark: {
|
|
110
|
+
background: "15% 0.02 70deg",
|
|
111
|
+
foreground: "95% 0.01 70deg",
|
|
112
|
+
card: "20% 0.02 70deg",
|
|
113
|
+
"card-foreground": "95% 0.01 70deg",
|
|
114
|
+
popover: "20% 0.02 70deg",
|
|
115
|
+
"popover-foreground": "95% 0.01 70deg",
|
|
116
|
+
primary: "75% 0.18 70deg",
|
|
117
|
+
"primary-foreground": "15% 0.02 70deg",
|
|
118
|
+
secondary: "27% 0.06 70deg",
|
|
119
|
+
"secondary-foreground": "95% 0.01 70deg",
|
|
120
|
+
muted: "27% 0.06 70deg",
|
|
121
|
+
"muted-foreground": "72% 0.02 70deg",
|
|
122
|
+
accent: "27% 0.06 70deg",
|
|
123
|
+
"accent-foreground": "95% 0.01 70deg",
|
|
124
|
+
destructive: "55% 0.22 26deg",
|
|
125
|
+
"destructive-foreground": "95% 0.01 70deg",
|
|
126
|
+
border: "27% 0.06 70deg",
|
|
127
|
+
input: "27% 0.06 70deg",
|
|
128
|
+
ring: "75% 0.18 70deg"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
Blue: {
|
|
132
|
+
light: {
|
|
133
|
+
background: "98% 0.01 240deg",
|
|
134
|
+
foreground: "0 0 0",
|
|
135
|
+
card: "100% 0 0deg",
|
|
136
|
+
"card-foreground": "0 0 0",
|
|
137
|
+
popover: "100% 0 0deg",
|
|
138
|
+
"popover-foreground": "0 0 0",
|
|
139
|
+
primary: "55% 0.18 260deg",
|
|
140
|
+
"primary-foreground": "100% 0 0deg",
|
|
141
|
+
secondary: "93% 0.03 270deg",
|
|
142
|
+
"secondary-foreground": "0 0 0",
|
|
143
|
+
muted: "93% 0.03 270deg",
|
|
144
|
+
"muted-foreground": "40% 0.02 260deg",
|
|
145
|
+
accent: "93% 0.03 270deg",
|
|
146
|
+
"accent-foreground": "0 0 0",
|
|
147
|
+
destructive: "69% 0.23 26deg",
|
|
148
|
+
"destructive-foreground": "100% 0 0deg",
|
|
149
|
+
border: "92% 0.05 259deg",
|
|
150
|
+
input: "92% 0.05 259deg",
|
|
151
|
+
ring: "55% 0.18 260deg",
|
|
152
|
+
radius: "0.5rem"
|
|
153
|
+
},
|
|
154
|
+
dark: {
|
|
155
|
+
background: "15% 0.02 260deg",
|
|
156
|
+
foreground: "90% 0.01 240deg",
|
|
157
|
+
card: "20% 0.02 260deg",
|
|
158
|
+
"card-foreground": "90% 0.01 240deg",
|
|
159
|
+
popover: "20% 0.02 260deg",
|
|
160
|
+
"popover-foreground": "90% 0.01 240deg",
|
|
161
|
+
primary: "65% 0.18 260deg",
|
|
162
|
+
"primary-foreground": "15% 0.02 260deg",
|
|
163
|
+
secondary: "27% 0.06 261deg",
|
|
164
|
+
"secondary-foreground": "90% 0.01 240deg",
|
|
165
|
+
muted: "27% 0.06 261deg",
|
|
166
|
+
"muted-foreground": "72% 0.02 260deg",
|
|
167
|
+
accent: "27% 0.06 261deg",
|
|
168
|
+
"accent-foreground": "90% 0.01 240deg",
|
|
169
|
+
destructive: "55% 0.22 26deg",
|
|
170
|
+
"destructive-foreground": "90% 0.01 240deg",
|
|
171
|
+
border: "27% 0.06 261deg",
|
|
172
|
+
input: "27% 0.06 261deg",
|
|
173
|
+
ring: "65% 0.18 260deg"
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
Green: {
|
|
177
|
+
light: {
|
|
178
|
+
background: "98% 0.01 150deg",
|
|
179
|
+
foreground: "0 0 0",
|
|
180
|
+
card: "100% 0 0deg",
|
|
181
|
+
"card-foreground": "0 0 0",
|
|
182
|
+
popover: "100% 0 0deg",
|
|
183
|
+
"popover-foreground": "0 0 0",
|
|
184
|
+
primary: "60% 0.18 150deg",
|
|
185
|
+
"primary-foreground": "100% 0 0deg",
|
|
186
|
+
secondary: "93% 0.03 150deg",
|
|
187
|
+
"secondary-foreground": "0 0 0",
|
|
188
|
+
muted: "93% 0.03 150deg",
|
|
189
|
+
"muted-foreground": "40% 0.02 150deg",
|
|
190
|
+
accent: "93% 0.03 150deg",
|
|
191
|
+
"accent-foreground": "0 0 0",
|
|
192
|
+
destructive: "69% 0.23 26deg",
|
|
193
|
+
"destructive-foreground": "100% 0 0deg",
|
|
194
|
+
border: "92% 0.05 150deg",
|
|
195
|
+
input: "92% 0.05 150deg",
|
|
196
|
+
ring: "60% 0.18 150deg",
|
|
197
|
+
radius: "0.5rem"
|
|
198
|
+
},
|
|
199
|
+
dark: {
|
|
200
|
+
background: "15% 0.02 150deg",
|
|
201
|
+
foreground: "95% 0.01 150deg",
|
|
202
|
+
card: "20% 0.02 150deg",
|
|
203
|
+
"card-foreground": "95% 0.01 150deg",
|
|
204
|
+
popover: "20% 0.02 150deg",
|
|
205
|
+
"popover-foreground": "95% 0.01 150deg",
|
|
206
|
+
primary: "70% 0.18 150deg",
|
|
207
|
+
"primary-foreground": "15% 0.02 150deg",
|
|
208
|
+
secondary: "27% 0.06 150deg",
|
|
209
|
+
"secondary-foreground": "95% 0.01 150deg",
|
|
210
|
+
muted: "27% 0.06 150deg",
|
|
211
|
+
"muted-foreground": "72% 0.02 150deg",
|
|
212
|
+
accent: "27% 0.06 150deg",
|
|
213
|
+
"accent-foreground": "95% 0.01 150deg",
|
|
214
|
+
destructive: "55% 0.22 26deg",
|
|
215
|
+
"destructive-foreground": "95% 0.01 150deg",
|
|
216
|
+
border: "27% 0.06 150deg",
|
|
217
|
+
input: "27% 0.06 150deg",
|
|
218
|
+
ring: "70% 0.18 150deg"
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
Rose: {
|
|
222
|
+
light: {
|
|
223
|
+
background: "98% 0.01 350deg",
|
|
224
|
+
foreground: "0 0 0",
|
|
225
|
+
card: "100% 0 0deg",
|
|
226
|
+
"card-foreground": "0 0 0",
|
|
227
|
+
popover: "100% 0 0deg",
|
|
228
|
+
"popover-foreground": "0 0 0",
|
|
229
|
+
primary: "60% 0.18 350deg",
|
|
230
|
+
"primary-foreground": "100% 0 0deg",
|
|
231
|
+
secondary: "93% 0.03 350deg",
|
|
232
|
+
"secondary-foreground": "0 0 0",
|
|
233
|
+
muted: "93% 0.03 350deg",
|
|
234
|
+
"muted-foreground": "40% 0.02 350deg",
|
|
235
|
+
accent: "93% 0.03 350deg",
|
|
236
|
+
"accent-foreground": "0 0 0",
|
|
237
|
+
destructive: "69% 0.23 26deg",
|
|
238
|
+
"destructive-foreground": "100% 0 0deg",
|
|
239
|
+
border: "92% 0.05 350deg",
|
|
240
|
+
input: "92% 0.05 350deg",
|
|
241
|
+
ring: "60% 0.18 350deg",
|
|
242
|
+
radius: "0.5rem"
|
|
243
|
+
},
|
|
244
|
+
dark: {
|
|
245
|
+
background: "15% 0.02 350deg",
|
|
246
|
+
foreground: "95% 0.01 350deg",
|
|
247
|
+
card: "20% 0.02 350deg",
|
|
248
|
+
"card-foreground": "95% 0.01 350deg",
|
|
249
|
+
popover: "20% 0.02 350deg",
|
|
250
|
+
"popover-foreground": "95% 0.01 350deg",
|
|
251
|
+
primary: "70% 0.18 350deg",
|
|
252
|
+
"primary-foreground": "15% 0.02 350deg",
|
|
253
|
+
secondary: "27% 0.06 350deg",
|
|
254
|
+
"secondary-foreground": "95% 0.01 350deg",
|
|
255
|
+
muted: "27% 0.06 350deg",
|
|
256
|
+
"muted-foreground": "72% 0.02 350deg",
|
|
257
|
+
accent: "27% 0.06 350deg",
|
|
258
|
+
"accent-foreground": "95% 0.01 350deg",
|
|
259
|
+
destructive: "55% 0.22 26deg",
|
|
260
|
+
"destructive-foreground": "95% 0.01 350deg",
|
|
261
|
+
border: "27% 0.06 350deg",
|
|
262
|
+
input: "27% 0.06 350deg",
|
|
263
|
+
ring: "70% 0.18 350deg"
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
Zinc: {
|
|
267
|
+
light: {
|
|
268
|
+
background: "98% 0 0deg",
|
|
269
|
+
foreground: "0 0 0",
|
|
270
|
+
card: "100% 0 0deg",
|
|
271
|
+
"card-foreground": "0 0 0",
|
|
272
|
+
popover: "100% 0 0deg",
|
|
273
|
+
"popover-foreground": "0 0 0",
|
|
274
|
+
primary: "25% 0 0deg",
|
|
275
|
+
"primary-foreground": "100% 0 0deg",
|
|
276
|
+
secondary: "93% 0 0deg",
|
|
277
|
+
"secondary-foreground": "0 0 0",
|
|
278
|
+
muted: "93% 0 0deg",
|
|
279
|
+
"muted-foreground": "40% 0 0deg",
|
|
280
|
+
accent: "93% 0 0deg",
|
|
281
|
+
"accent-foreground": "0 0 0",
|
|
282
|
+
destructive: "69% 0.23 26deg",
|
|
283
|
+
"destructive-foreground": "100% 0 0deg",
|
|
284
|
+
border: "92% 0 0deg",
|
|
285
|
+
input: "92% 0 0deg",
|
|
286
|
+
ring: "25% 0 0deg",
|
|
287
|
+
radius: "0.5rem"
|
|
288
|
+
},
|
|
289
|
+
dark: {
|
|
290
|
+
background: "12% 0 0deg",
|
|
291
|
+
foreground: "95% 0 0deg",
|
|
292
|
+
card: "18% 0 0deg",
|
|
293
|
+
"card-foreground": "95% 0 0deg",
|
|
294
|
+
popover: "18% 0 0deg",
|
|
295
|
+
"popover-foreground": "95% 0 0deg",
|
|
296
|
+
primary: "90% 0 0deg",
|
|
297
|
+
"primary-foreground": "12% 0 0deg",
|
|
298
|
+
secondary: "25% 0 0deg",
|
|
299
|
+
"secondary-foreground": "95% 0 0deg",
|
|
300
|
+
muted: "25% 0 0deg",
|
|
301
|
+
"muted-foreground": "72% 0 0deg",
|
|
302
|
+
accent: "25% 0 0deg",
|
|
303
|
+
"accent-foreground": "95% 0 0deg",
|
|
304
|
+
destructive: "55% 0.22 26deg",
|
|
305
|
+
"destructive-foreground": "95% 0 0deg",
|
|
306
|
+
border: "25% 0 0deg",
|
|
307
|
+
input: "25% 0 0deg",
|
|
308
|
+
ring: "90% 0 0deg"
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
}, m = class {
|
|
312
|
+
name = "ThemeService";
|
|
313
|
+
listeners = /* @__PURE__ */ new Set();
|
|
314
|
+
state = {
|
|
315
|
+
mode: "light",
|
|
316
|
+
themeColor: "Zinc",
|
|
317
|
+
radius: .5
|
|
318
|
+
};
|
|
319
|
+
static setGlobalColorTheme(e, t) {
|
|
320
|
+
if (typeof document > "u") return;
|
|
321
|
+
let n = p[t][e], r = document.documentElement;
|
|
322
|
+
e === "dark" ? r.classList.add("dark") : r.classList.remove("dark");
|
|
323
|
+
let i = p.Zinc[e];
|
|
324
|
+
for (let e in i) r.style.setProperty(`--${e}`, i[e]);
|
|
325
|
+
let a = n.ring;
|
|
326
|
+
a && r.style.setProperty("--ring", a);
|
|
327
|
+
}
|
|
328
|
+
constructor() {
|
|
329
|
+
if (typeof window < "u") {
|
|
330
|
+
let e = localStorage.getItem("ezux-theme-mode");
|
|
331
|
+
e && (e === "light" || e === "dark") ? this.state.mode = e : this.state.mode = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
|
|
332
|
+
let t = localStorage.getItem("ezux-theme-color");
|
|
333
|
+
t && p[t] && (this.state.themeColor = t);
|
|
334
|
+
let n = localStorage.getItem("ezux-theme-radius");
|
|
335
|
+
n && (this.state.radius = parseFloat(n)), this.applyTheme();
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
toggleMode() {
|
|
339
|
+
let e = this.state.mode === "light" ? "dark" : "light";
|
|
340
|
+
this.setMode(e);
|
|
341
|
+
}
|
|
342
|
+
setMode(e) {
|
|
343
|
+
this.state.mode = e, typeof window < "u" && localStorage.setItem("ezux-theme-mode", e), this.applyTheme(), this.notify();
|
|
344
|
+
}
|
|
345
|
+
setThemeColor(e) {
|
|
346
|
+
this.state.themeColor = e, typeof window < "u" && localStorage.setItem("ezux-theme-color", e), this.applyTheme(), this.notify();
|
|
347
|
+
}
|
|
348
|
+
setRadius(e) {
|
|
349
|
+
this.state.radius = e, typeof window < "u" && localStorage.setItem("ezux-theme-radius", e.toString()), this.applyTheme(), this.notify();
|
|
350
|
+
}
|
|
351
|
+
getState() {
|
|
352
|
+
return this.state;
|
|
353
|
+
}
|
|
354
|
+
applyTheme() {
|
|
355
|
+
if (typeof document > "u") return;
|
|
356
|
+
let e = document.documentElement;
|
|
357
|
+
this.state.mode === "dark" ? e.classList.add("dark") : e.classList.remove("dark"), e.style.setProperty("--radius", `${this.state.radius}rem`);
|
|
358
|
+
let t = p[this.state.themeColor];
|
|
359
|
+
if (t) {
|
|
360
|
+
let n = p.Zinc[this.state.mode], r = t[this.state.mode];
|
|
361
|
+
for (let t in n) e.style.setProperty(`--${t}`, n[t]);
|
|
362
|
+
r.ring && e.style.setProperty("--ring", r.ring);
|
|
363
|
+
}
|
|
364
|
+
e.setAttribute("data-theme", this.state.themeColor);
|
|
365
|
+
}
|
|
366
|
+
subscribe(e) {
|
|
367
|
+
return this.listeners.add(e), () => this.listeners.delete(e);
|
|
368
|
+
}
|
|
369
|
+
notify() {
|
|
370
|
+
this.listeners.forEach((e) => e(this.state));
|
|
371
|
+
}
|
|
372
|
+
};
|
|
373
|
+
new Intl.NumberFormat("en-US", {
|
|
374
|
+
style: "currency",
|
|
375
|
+
currency: "USD",
|
|
376
|
+
minimumFractionDigits: 2,
|
|
377
|
+
maximumFractionDigits: 2
|
|
378
|
+
}), new Intl.NumberFormat("en-US", {
|
|
379
|
+
minimumFractionDigits: 2,
|
|
380
|
+
maximumFractionDigits: 2
|
|
381
|
+
}), new Intl.NumberFormat("en-US", {
|
|
382
|
+
style: "percent",
|
|
383
|
+
minimumFractionDigits: 1,
|
|
384
|
+
maximumFractionDigits: 2
|
|
385
|
+
});
|
|
386
|
+
function h(e, t = {}) {
|
|
387
|
+
if (e == null) return "";
|
|
388
|
+
let { format: n = "float", decimals: r, locale: i = "en-US", currency: a = "USD" } = t, o = r === void 0 ? n === "integer" ? 0 : n === "percentage" ? 1 : 2 : r;
|
|
389
|
+
try {
|
|
390
|
+
switch (n) {
|
|
391
|
+
case "currency": return new Intl.NumberFormat(i, {
|
|
392
|
+
style: "currency",
|
|
393
|
+
currency: a,
|
|
394
|
+
minimumFractionDigits: o,
|
|
395
|
+
maximumFractionDigits: o
|
|
396
|
+
}).format(e);
|
|
397
|
+
case "percentage": return new Intl.NumberFormat(i, {
|
|
398
|
+
style: "percent",
|
|
399
|
+
minimumFractionDigits: o,
|
|
400
|
+
maximumFractionDigits: o
|
|
401
|
+
}).format(e / 100);
|
|
402
|
+
case "integer": return new Intl.NumberFormat(i, {
|
|
403
|
+
style: "decimal",
|
|
404
|
+
minimumFractionDigits: 0,
|
|
405
|
+
maximumFractionDigits: 0
|
|
406
|
+
}).format(Math.round(e));
|
|
407
|
+
default: return new Intl.NumberFormat(i, {
|
|
408
|
+
style: "decimal",
|
|
409
|
+
minimumFractionDigits: o,
|
|
410
|
+
maximumFractionDigits: o
|
|
411
|
+
}).format(e);
|
|
412
|
+
}
|
|
413
|
+
} catch {
|
|
414
|
+
return typeof e == "number" ? e.toFixed(o) : String(e);
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
function g(e, t = {}) {
|
|
418
|
+
if (!e) return "";
|
|
419
|
+
let n = e instanceof Date ? e : new Date(e);
|
|
420
|
+
if (isNaN(n.getTime())) return "Invalid Date";
|
|
421
|
+
let { format: r = "short", locale: i = "en-US" } = t;
|
|
422
|
+
switch (r) {
|
|
423
|
+
case "long": return new Intl.DateTimeFormat(i, {
|
|
424
|
+
year: "numeric",
|
|
425
|
+
month: "long",
|
|
426
|
+
day: "numeric"
|
|
427
|
+
}).format(n);
|
|
428
|
+
case "iso": return n.toISOString().split("T")[0];
|
|
429
|
+
case "relative": return _(n, i);
|
|
430
|
+
default: return new Intl.DateTimeFormat(i, {
|
|
431
|
+
year: "numeric",
|
|
432
|
+
month: "short",
|
|
433
|
+
day: "numeric"
|
|
434
|
+
}).format(n);
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
function _(e, t = "en-US") {
|
|
438
|
+
let n = (/* @__PURE__ */ new Date()).getTime() - e.getTime(), r = Math.floor(n / 1e3), i = Math.floor(r / 60), a = Math.floor(i / 60), o = Math.floor(a / 24), s = Math.abs(o), c = Math.abs(a), l = Math.abs(i);
|
|
439
|
+
try {
|
|
440
|
+
let e = new Intl.RelativeTimeFormat(t, { numeric: "auto" });
|
|
441
|
+
return s >= 365 ? e.format(-Math.floor(o / 365), "year") : s >= 30 ? e.format(-Math.floor(o / 30), "month") : s >= 7 ? e.format(-Math.floor(o / 7), "week") : s >= 1 ? e.format(-o, "day") : c >= 1 ? e.format(-a, "hour") : l >= 1 ? e.format(-i, "minute") : "just now";
|
|
442
|
+
} catch {
|
|
443
|
+
return s >= 1 ? `${o}d ago` : "just now";
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
var v = (e, t = "en-US", n = "USD") => h(e, {
|
|
447
|
+
format: "currency",
|
|
448
|
+
locale: t,
|
|
449
|
+
currency: n
|
|
450
|
+
}), y = (e, t = "en-US") => h(e, {
|
|
451
|
+
format: "percentage",
|
|
452
|
+
locale: t
|
|
453
|
+
}), b = (e, t = "en-US") => {
|
|
454
|
+
let n = typeof e == "string" ? new Date(e) : e;
|
|
455
|
+
return new Intl.DateTimeFormat(t, {
|
|
456
|
+
year: "numeric",
|
|
457
|
+
month: "short",
|
|
458
|
+
day: "numeric",
|
|
459
|
+
hour: "2-digit",
|
|
460
|
+
minute: "2-digit"
|
|
461
|
+
}).format(n);
|
|
462
|
+
}, x = class extends d {
|
|
463
|
+
name = "I18nService";
|
|
464
|
+
supportedLanguages = [
|
|
465
|
+
{
|
|
466
|
+
code: "en",
|
|
467
|
+
name: "English",
|
|
468
|
+
country: "US"
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
code: "fr",
|
|
472
|
+
name: "Français",
|
|
473
|
+
country: "FR"
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
code: "de",
|
|
477
|
+
name: "Deutsch",
|
|
478
|
+
country: "DE"
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
code: "es",
|
|
482
|
+
name: "Español",
|
|
483
|
+
country: "ES"
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
code: "zh",
|
|
487
|
+
name: "中文",
|
|
488
|
+
country: "CN"
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
code: "ar",
|
|
492
|
+
name: "العربية",
|
|
493
|
+
country: "SA"
|
|
494
|
+
}
|
|
495
|
+
];
|
|
496
|
+
initialTranslations = {
|
|
497
|
+
en: {
|
|
498
|
+
controls: "Controls",
|
|
499
|
+
customize_stroke: "Customize the stroke.",
|
|
500
|
+
stroke_color: "Stroke Color",
|
|
501
|
+
stroke_width: "Stroke Width",
|
|
502
|
+
actions: "Actions",
|
|
503
|
+
undo: "Undo",
|
|
504
|
+
redo: "Redo",
|
|
505
|
+
clear: "Clear",
|
|
506
|
+
capture: "Capture",
|
|
507
|
+
download_png: "Download PNG",
|
|
508
|
+
captured_output: "Captured Output",
|
|
509
|
+
download: "Download",
|
|
510
|
+
add_card: "Add Card",
|
|
511
|
+
add_column: "Add Column",
|
|
512
|
+
add_swimlane: "Add Swimlane",
|
|
513
|
+
search_placeholder: "Search cards...",
|
|
514
|
+
view_standard: "Standard",
|
|
515
|
+
view_swimlane: "Swimlane",
|
|
516
|
+
view_timeline: "Timeline",
|
|
517
|
+
view_analytics: "Analytics",
|
|
518
|
+
uncategorized: "Uncategorized",
|
|
519
|
+
no_cards: "No cards in this column",
|
|
520
|
+
items: "items",
|
|
521
|
+
switch_language: "Switch Language",
|
|
522
|
+
reload_dataset: "Reload Dataset",
|
|
523
|
+
no_rows: "No records to display",
|
|
524
|
+
loading: "Loading...",
|
|
525
|
+
rows_per_page: "Rows per page",
|
|
526
|
+
of: "of",
|
|
527
|
+
page: "Page",
|
|
528
|
+
go_to_page: "Go to page",
|
|
529
|
+
first_page: "First page",
|
|
530
|
+
last_page: "Last page",
|
|
531
|
+
next_page: "Next page",
|
|
532
|
+
previous_page: "Previous page",
|
|
533
|
+
filter: "Filter",
|
|
534
|
+
sort_asc: "Sort ascending",
|
|
535
|
+
sort_desc: "Sort descending",
|
|
536
|
+
clear_filter: "Clear filter",
|
|
537
|
+
column_settings: "Column settings",
|
|
538
|
+
group_by: "Group by",
|
|
539
|
+
ungroup: "Ungroup",
|
|
540
|
+
pin_left: "Pin left",
|
|
541
|
+
pin_right: "Pin right",
|
|
542
|
+
unpin: "Unpin",
|
|
543
|
+
hide_column: "Hide column",
|
|
544
|
+
selected_rows: "selected rows",
|
|
545
|
+
total_rows: "Total rows",
|
|
546
|
+
day_view: "Day",
|
|
547
|
+
week_view: "Week",
|
|
548
|
+
month_view: "Month",
|
|
549
|
+
agenda_view: "Agenda",
|
|
550
|
+
today: "Today",
|
|
551
|
+
add_event: "Add Event",
|
|
552
|
+
edit_event: "Edit Event",
|
|
553
|
+
delete_event: "Delete Event",
|
|
554
|
+
all_day: "All day",
|
|
555
|
+
no_events: "No events",
|
|
556
|
+
sign_in: "Sign In",
|
|
557
|
+
sign_out: "Sign Out",
|
|
558
|
+
profile: "Profile",
|
|
559
|
+
settings: "Settings",
|
|
560
|
+
nav_settings: "Settings",
|
|
561
|
+
theme_color: "Theme Color",
|
|
562
|
+
toggle_theme: "Toggle theme",
|
|
563
|
+
toggle_sidebar: "Toggle sidebar",
|
|
564
|
+
flow_node_library: "Node Library",
|
|
565
|
+
flow_cat_flow_control: "Flow Control",
|
|
566
|
+
flow_cat_logic: "Logic",
|
|
567
|
+
flow_cat_execution: "Execution",
|
|
568
|
+
flow_cat_human: "Human",
|
|
569
|
+
flow_cat_structural: "Structural",
|
|
570
|
+
flow_start_node: "Start",
|
|
571
|
+
flow_start_node_desc: "Entry point of the workflow",
|
|
572
|
+
flow_end_node: "End",
|
|
573
|
+
flow_end_node_desc: "Termination point",
|
|
574
|
+
flow_decision_node: "Decision",
|
|
575
|
+
flow_decision_node_desc: "If/Else branching logic",
|
|
576
|
+
flow_loop_node: "Loop",
|
|
577
|
+
flow_loop_node_desc: "Iterate over data",
|
|
578
|
+
flow_action_node: "Action",
|
|
579
|
+
flow_action_node_desc: "Execute a task",
|
|
580
|
+
flow_request_node: "HTTP Request",
|
|
581
|
+
flow_request_node_desc: "REST API integration",
|
|
582
|
+
flow_delay_node: "Delay",
|
|
583
|
+
flow_delay_node_desc: "Time-based pause",
|
|
584
|
+
flow_approval_node: "Approval",
|
|
585
|
+
flow_approval_node_desc: "Human approval step",
|
|
586
|
+
flow_group_node: "Group",
|
|
587
|
+
flow_group_node_desc: "Sub-process container",
|
|
588
|
+
flow_save: "Save",
|
|
589
|
+
flow_cancel: "Cancel",
|
|
590
|
+
flow_status_draft: "Draft",
|
|
591
|
+
flow_status_live: "Live",
|
|
592
|
+
flow_status_archived: "Archived",
|
|
593
|
+
flow_discard_warning: "You have unsaved changes. Discard and exit?"
|
|
594
|
+
},
|
|
595
|
+
fr: {
|
|
596
|
+
controls: "Contrôles",
|
|
597
|
+
customize_stroke: "Personnaliser le trait.",
|
|
598
|
+
stroke_color: "Couleur du trait",
|
|
599
|
+
stroke_width: "Largeur du trait",
|
|
600
|
+
actions: "Actions",
|
|
601
|
+
undo: "Annuler",
|
|
602
|
+
redo: "Rétablir",
|
|
603
|
+
clear: "Effacer",
|
|
604
|
+
capture: "Capturer",
|
|
605
|
+
download_png: "Télécharger PNG",
|
|
606
|
+
captured_output: "Sortie capturée",
|
|
607
|
+
download: "Télécharger",
|
|
608
|
+
add_card: "Ajouter une carte",
|
|
609
|
+
add_column: "Ajouter une colonne",
|
|
610
|
+
add_swimlane: "Ajouter un couloir",
|
|
611
|
+
search_placeholder: "Rechercher des cartes...",
|
|
612
|
+
view_standard: "Standard",
|
|
613
|
+
view_swimlane: "Couloir",
|
|
614
|
+
view_timeline: "Chronologie",
|
|
615
|
+
view_analytics: "Analytique",
|
|
616
|
+
uncategorized: "Non catégorisé",
|
|
617
|
+
no_cards: "Aucune carte dans cette colonne",
|
|
618
|
+
items: "éléments",
|
|
619
|
+
switch_language: "Changer de langue",
|
|
620
|
+
reload_dataset: "Recharger l'ensemble de données",
|
|
621
|
+
flow_node_library: "Bibliothèque de nœuds",
|
|
622
|
+
flow_cat_flow_control: "Contrôle de flux",
|
|
623
|
+
flow_cat_logic: "Logique",
|
|
624
|
+
flow_cat_execution: "Exécution",
|
|
625
|
+
flow_cat_human: "Humain",
|
|
626
|
+
flow_cat_structural: "Structurel",
|
|
627
|
+
flow_start_node: "Début",
|
|
628
|
+
flow_end_node: "Fin",
|
|
629
|
+
flow_decision_node: "Décision",
|
|
630
|
+
flow_loop_node: "Boucle",
|
|
631
|
+
flow_action_node: "Action",
|
|
632
|
+
flow_request_node: "Requête HTTP",
|
|
633
|
+
flow_delay_node: "Délai",
|
|
634
|
+
flow_approval_node: "Approbation",
|
|
635
|
+
flow_group_node: "Groupe",
|
|
636
|
+
flow_save: "Enregistrer",
|
|
637
|
+
flow_cancel: "Annuler"
|
|
638
|
+
},
|
|
639
|
+
de: {
|
|
640
|
+
controls: "Steuerung",
|
|
641
|
+
customize_stroke: "Strich anpassen.",
|
|
642
|
+
stroke_color: "Strichfarbe",
|
|
643
|
+
stroke_width: "Strichbreite",
|
|
644
|
+
actions: "Aktionen",
|
|
645
|
+
undo: "Rückgängig",
|
|
646
|
+
redo: "Wiederholen",
|
|
647
|
+
clear: "Löschen",
|
|
648
|
+
capture: "Erfassen",
|
|
649
|
+
download_png: "Herunterladen PNG",
|
|
650
|
+
captured_output: "Erfasste Ausgabe",
|
|
651
|
+
download: "Herunterladen",
|
|
652
|
+
add_card: "Karte hinzufügen",
|
|
653
|
+
add_column: "Spalte hinzufügen",
|
|
654
|
+
add_swimlane: "Schwimmbahn hinzufügen",
|
|
655
|
+
search_placeholder: "Karten suchen...",
|
|
656
|
+
view_standard: "Standard",
|
|
657
|
+
view_swimlane: "Schwimmbahn",
|
|
658
|
+
view_timeline: "Zeitplan",
|
|
659
|
+
view_analytics: "Analytik",
|
|
660
|
+
uncategorized: "Nicht kategorisiert",
|
|
661
|
+
no_cards: "Keine Karten in dieser Spalte",
|
|
662
|
+
items: "Elemente",
|
|
663
|
+
switch_language: "Sprache wechseln",
|
|
664
|
+
reload_dataset: "Chipsatz neu laden",
|
|
665
|
+
flow_node_library: "Knotenbibliothek",
|
|
666
|
+
flow_cat_flow_control: "Flusskontrolle",
|
|
667
|
+
flow_cat_logic: "Logik",
|
|
668
|
+
flow_cat_execution: "Ausführung",
|
|
669
|
+
flow_cat_human: "Menschlich",
|
|
670
|
+
flow_cat_structural: "Strukturell",
|
|
671
|
+
flow_start_node: "Start",
|
|
672
|
+
flow_end_node: "Ende",
|
|
673
|
+
flow_decision_node: "Entscheidung",
|
|
674
|
+
flow_loop_node: "Schleife",
|
|
675
|
+
flow_action_node: "Aktion",
|
|
676
|
+
flow_request_node: "HTTP-Anfrage",
|
|
677
|
+
flow_delay_node: "Verzögerung",
|
|
678
|
+
flow_approval_node: "Genehmigung",
|
|
679
|
+
flow_group_node: "Gruppe",
|
|
680
|
+
flow_save: "Speichern",
|
|
681
|
+
flow_cancel: "Abbrechen"
|
|
682
|
+
},
|
|
683
|
+
es: {
|
|
684
|
+
controls: "Controles",
|
|
685
|
+
customize_stroke: "Personalizar el trazo.",
|
|
686
|
+
stroke_color: "Color del trazo",
|
|
687
|
+
stroke_width: "Ancho del trazo",
|
|
688
|
+
actions: "Acciones",
|
|
689
|
+
undo: "Deshacer",
|
|
690
|
+
redo: "Rehacer",
|
|
691
|
+
clear: "Limpiar",
|
|
692
|
+
capture: "Capturar",
|
|
693
|
+
download_png: "Descargar PNG",
|
|
694
|
+
captured_output: "Salida capturada",
|
|
695
|
+
download: "Descargar",
|
|
696
|
+
add_card: "Añadir tarjeta",
|
|
697
|
+
add_column: "Añadir columna",
|
|
698
|
+
add_swimlane: "Añadir carril",
|
|
699
|
+
search_placeholder: "Buscar tarjetas...",
|
|
700
|
+
view_standard: "Estándar",
|
|
701
|
+
view_swimlane: "Carril",
|
|
702
|
+
view_timeline: "Línea de tiempo",
|
|
703
|
+
view_analytics: "Analítica",
|
|
704
|
+
uncategorized: "Sin categoría",
|
|
705
|
+
no_cards: "No hay tarjetas en esta columna",
|
|
706
|
+
items: "elementos",
|
|
707
|
+
switch_language: "Cambiar idioma",
|
|
708
|
+
reload_dataset: "Recargar conjunto de datos",
|
|
709
|
+
flow_node_library: "Biblioteca de nodos",
|
|
710
|
+
flow_cat_flow_control: "Control de flujo",
|
|
711
|
+
flow_cat_logic: "Lógica",
|
|
712
|
+
flow_cat_execution: "Ejecución",
|
|
713
|
+
flow_cat_human: "Humano",
|
|
714
|
+
flow_cat_structural: "Estructural",
|
|
715
|
+
flow_start_node: "Inicio",
|
|
716
|
+
flow_end_node: "Fin",
|
|
717
|
+
flow_decision_node: "Decisión",
|
|
718
|
+
flow_loop_node: "Bucle",
|
|
719
|
+
flow_action_node: "Acción",
|
|
720
|
+
flow_request_node: "Solicitud HTTP",
|
|
721
|
+
flow_delay_node: "Retraso",
|
|
722
|
+
flow_approval_node: "Aprobación",
|
|
723
|
+
flow_group_node: "Grupo",
|
|
724
|
+
flow_save: "Guardar",
|
|
725
|
+
flow_cancel: "Cancelar"
|
|
726
|
+
},
|
|
727
|
+
zh: {
|
|
728
|
+
controls: "控制",
|
|
729
|
+
customize_stroke: "自定义笔触。",
|
|
730
|
+
stroke_color: "笔触颜色",
|
|
731
|
+
stroke_width: "笔触宽度",
|
|
732
|
+
actions: "操作",
|
|
733
|
+
undo: "撤销",
|
|
734
|
+
redo: "重做",
|
|
735
|
+
clear: "清除",
|
|
736
|
+
capture: "捕获",
|
|
737
|
+
download_png: "下载 PNG",
|
|
738
|
+
captured_output: "捕获输出",
|
|
739
|
+
download: "下载",
|
|
740
|
+
add_card: "添加卡片",
|
|
741
|
+
add_column: "添加列",
|
|
742
|
+
add_swimlane: "添加泳道",
|
|
743
|
+
search_placeholder: "搜索卡片...",
|
|
744
|
+
view_standard: "标准",
|
|
745
|
+
view_swimlane: "泳道",
|
|
746
|
+
view_timeline: "时间轴",
|
|
747
|
+
view_analytics: "分析",
|
|
748
|
+
uncategorized: "未分类",
|
|
749
|
+
no_cards: "此列中没有卡片",
|
|
750
|
+
items: "项",
|
|
751
|
+
switch_language: "切换语言",
|
|
752
|
+
reload_dataset: "重新加载数据集",
|
|
753
|
+
flow_node_library: "节点库",
|
|
754
|
+
flow_cat_flow_control: "流程控制",
|
|
755
|
+
flow_cat_logic: "逻辑",
|
|
756
|
+
flow_cat_execution: "执行",
|
|
757
|
+
flow_cat_human: "人工",
|
|
758
|
+
flow_cat_structural: "结构",
|
|
759
|
+
flow_start_node: "开始",
|
|
760
|
+
flow_end_node: "结束",
|
|
761
|
+
flow_decision_node: "决策",
|
|
762
|
+
flow_loop_node: "循环",
|
|
763
|
+
flow_action_node: "操作",
|
|
764
|
+
flow_request_node: "HTTP请求",
|
|
765
|
+
flow_delay_node: "延迟",
|
|
766
|
+
flow_approval_node: "审批",
|
|
767
|
+
flow_group_node: "分组",
|
|
768
|
+
flow_save: "保存",
|
|
769
|
+
flow_cancel: "取消"
|
|
770
|
+
},
|
|
771
|
+
ar: {
|
|
772
|
+
controls: "عناصر التحكم",
|
|
773
|
+
customize_stroke: "تخصيص الضربة.",
|
|
774
|
+
stroke_color: "لون الضربة",
|
|
775
|
+
stroke_width: "عرض الضربة",
|
|
776
|
+
actions: "إجراءات",
|
|
777
|
+
undo: "تراجع",
|
|
778
|
+
redo: "إعادة",
|
|
779
|
+
clear: "مسح",
|
|
780
|
+
capture: "التقاط",
|
|
781
|
+
download_png: "تحميل PNG",
|
|
782
|
+
captured_output: "المخرجات الملتقطة",
|
|
783
|
+
download: "تحميل",
|
|
784
|
+
add_card: "أضف بطاقة",
|
|
785
|
+
add_column: "أضف عمود",
|
|
786
|
+
add_swimlane: "أضف مسار",
|
|
787
|
+
search_placeholder: "بحث عن البطاقات...",
|
|
788
|
+
view_standard: "قياسي",
|
|
789
|
+
view_swimlane: "مسار",
|
|
790
|
+
view_timeline: "الجدول الزمني",
|
|
791
|
+
view_analytics: "تحليلات",
|
|
792
|
+
uncategorized: "غير مصنف",
|
|
793
|
+
no_cards: "لا توجد بطاقات في هذا العمود",
|
|
794
|
+
items: "عناصر",
|
|
795
|
+
switch_language: "تغيير اللغة",
|
|
796
|
+
reload_dataset: "إعادة تحميل البيانات",
|
|
797
|
+
flow_node_library: "مكتبة العقد",
|
|
798
|
+
flow_cat_flow_control: "التحكم في التدفق",
|
|
799
|
+
flow_cat_logic: "المنطق",
|
|
800
|
+
flow_cat_execution: "التنفيذ",
|
|
801
|
+
flow_cat_human: "بشري",
|
|
802
|
+
flow_cat_structural: "هيكلي",
|
|
803
|
+
flow_start_node: "بداية",
|
|
804
|
+
flow_end_node: "نهاية",
|
|
805
|
+
flow_decision_node: "قرار",
|
|
806
|
+
flow_loop_node: "حلقة",
|
|
807
|
+
flow_action_node: "إجراء",
|
|
808
|
+
flow_request_node: "طلب HTTP",
|
|
809
|
+
flow_delay_node: "تأخير",
|
|
810
|
+
flow_approval_node: "موافقة",
|
|
811
|
+
flow_group_node: "مجموعة",
|
|
812
|
+
flow_save: "حفظ",
|
|
813
|
+
flow_cancel: "إلغاء"
|
|
814
|
+
}
|
|
815
|
+
};
|
|
816
|
+
_locale = "en";
|
|
817
|
+
_translations = {};
|
|
818
|
+
constructor(e = "en") {
|
|
819
|
+
super({
|
|
820
|
+
locale: e,
|
|
821
|
+
dir: [
|
|
822
|
+
"ar",
|
|
823
|
+
"he",
|
|
824
|
+
"fa"
|
|
825
|
+
].includes(e) ? "rtl" : "ltr",
|
|
826
|
+
translations: {}
|
|
827
|
+
}), this._locale = e, this._translations = this.initialTranslations, this.setState({ translations: this.initialTranslations });
|
|
828
|
+
}
|
|
829
|
+
get locale() {
|
|
830
|
+
return this.state.locale;
|
|
831
|
+
}
|
|
832
|
+
get dir() {
|
|
833
|
+
return this.state.dir;
|
|
834
|
+
}
|
|
835
|
+
setLocale = (e) => {
|
|
836
|
+
this._locale = e, this.setState({
|
|
837
|
+
locale: e,
|
|
838
|
+
dir: [
|
|
839
|
+
"ar",
|
|
840
|
+
"he",
|
|
841
|
+
"fa"
|
|
842
|
+
].includes(e) ? "rtl" : "ltr"
|
|
843
|
+
});
|
|
844
|
+
};
|
|
845
|
+
registerTranslations = (e, t) => {
|
|
846
|
+
this._translations[e] = {
|
|
847
|
+
...this._translations[e],
|
|
848
|
+
...t
|
|
849
|
+
}, this.setState((n) => ({ translations: {
|
|
850
|
+
...n?.translations || {},
|
|
851
|
+
[e]: {
|
|
852
|
+
...n?.translations?.[e] || {},
|
|
853
|
+
...t
|
|
854
|
+
}
|
|
855
|
+
} }));
|
|
856
|
+
};
|
|
857
|
+
t = (e, t) => (this._translations[this._locale] || this._translations.en)?.[e] ?? t ?? e;
|
|
858
|
+
formatDate = (e, t = {}) => g(e, {
|
|
859
|
+
...t,
|
|
860
|
+
locale: this.state.locale
|
|
861
|
+
});
|
|
862
|
+
formatNumber = (e, t = {}) => h(e, {
|
|
863
|
+
...t,
|
|
864
|
+
locale: this.state.locale
|
|
865
|
+
});
|
|
866
|
+
formatCurrency = (e, t = "USD") => v(e, this.state.locale, t);
|
|
867
|
+
}, S = class {
|
|
868
|
+
name = "NotificationService";
|
|
869
|
+
subscribers = /* @__PURE__ */ new Set();
|
|
870
|
+
notifications = [];
|
|
871
|
+
add(e) {
|
|
872
|
+
let t = crypto.randomUUID(), n = {
|
|
873
|
+
...e,
|
|
874
|
+
id: t
|
|
875
|
+
};
|
|
876
|
+
this.notifications.push(n), this.notify(), e.duration !== 0 && setTimeout(() => this.remove(t), e.duration || 5e3);
|
|
877
|
+
}
|
|
878
|
+
show(e) {
|
|
879
|
+
this.add(e);
|
|
880
|
+
}
|
|
881
|
+
remove(e) {
|
|
882
|
+
this.notifications = this.notifications.filter((t) => t.id !== e), this.notify();
|
|
883
|
+
}
|
|
884
|
+
clearAll() {
|
|
885
|
+
this.notifications = [], this.notify();
|
|
886
|
+
}
|
|
887
|
+
subscribe(e) {
|
|
888
|
+
return this.subscribers.add(e), e(this.notifications), () => this.subscribers.delete(e);
|
|
889
|
+
}
|
|
890
|
+
notify() {
|
|
891
|
+
this.subscribers.forEach((e) => e(this.notifications));
|
|
892
|
+
}
|
|
893
|
+
}, C = class extends d {
|
|
894
|
+
name = "LayoutService";
|
|
895
|
+
constructor() {
|
|
896
|
+
super({
|
|
897
|
+
sidebarOpen: !0,
|
|
898
|
+
mode: "dashboard",
|
|
899
|
+
headerHeight: 64,
|
|
900
|
+
sidebarWidth: 256,
|
|
901
|
+
breakpoint: 768,
|
|
902
|
+
viewportHeight: typeof window < "u" ? window.innerHeight : 0,
|
|
903
|
+
isMobile: !1,
|
|
904
|
+
authPage: "signin",
|
|
905
|
+
panels: []
|
|
906
|
+
}), typeof window < "u" && (this.handleResize(), window.addEventListener("resize", this.handleResize), this.registerCleanup(() => window.removeEventListener("resize", this.handleResize)));
|
|
907
|
+
}
|
|
908
|
+
handleResize = () => {
|
|
909
|
+
let e = window.innerHeight, t = window.innerWidth < this.state.breakpoint;
|
|
910
|
+
this.setState((n) => {
|
|
911
|
+
let r = { viewportHeight: e };
|
|
912
|
+
return t !== n.isMobile && (r.isMobile = t, t && (r.sidebarOpen = !1)), r;
|
|
913
|
+
});
|
|
914
|
+
};
|
|
915
|
+
updateConfig(e) {
|
|
916
|
+
this.setState((t) => {
|
|
917
|
+
let n = {};
|
|
918
|
+
e.headerHeight !== void 0 && (n.headerHeight = e.headerHeight), e.sidebarWidth !== void 0 && (n.sidebarWidth = e.sidebarWidth), e.breakpoint !== void 0 && (n.breakpoint = e.breakpoint);
|
|
919
|
+
let r = n.breakpoint ?? t.breakpoint;
|
|
920
|
+
if (typeof window < "u") {
|
|
921
|
+
let e = window.innerWidth < r;
|
|
922
|
+
e !== t.isMobile && (n.isMobile = e, e && (n.sidebarOpen = !1));
|
|
923
|
+
}
|
|
924
|
+
return n;
|
|
925
|
+
});
|
|
926
|
+
}
|
|
927
|
+
toggleSidebar(e) {
|
|
928
|
+
this.setState((t) => ({ sidebarOpen: e === void 0 ? !t.sidebarOpen : e }));
|
|
929
|
+
}
|
|
930
|
+
setMode(e) {
|
|
931
|
+
this.setState({ mode: e });
|
|
932
|
+
}
|
|
933
|
+
setAuthPage(e) {
|
|
934
|
+
this.setState({ authPage: e });
|
|
935
|
+
}
|
|
936
|
+
addPanel(e) {
|
|
937
|
+
this.setState((t) => ({ panels: [...t.panels, e] }));
|
|
938
|
+
}
|
|
939
|
+
removePanel(e) {
|
|
940
|
+
this.setState((t) => ({ panels: t.panels.filter((t) => t.id !== e) }));
|
|
941
|
+
}
|
|
942
|
+
getMainContentStyle() {
|
|
943
|
+
return {
|
|
944
|
+
height: `calc(100vh - ${this.state.headerHeight}px)`,
|
|
945
|
+
marginLeft: this.state.sidebarOpen && !this.state.isMobile ? `${this.state.sidebarWidth}px` : "0px",
|
|
946
|
+
transition: "margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1)"
|
|
947
|
+
};
|
|
948
|
+
}
|
|
949
|
+
}, w = t(null), T = ({ children: t, defaultLocale: n = "en", translations: a }) => {
|
|
950
|
+
let o = e.useRef(null), l = (() => {
|
|
951
|
+
if (!o.current) {
|
|
952
|
+
let e = new f(), t = new x(n);
|
|
953
|
+
a && Object.entries(a).forEach(([e, n]) => {
|
|
954
|
+
t.registerTranslations(e, n);
|
|
955
|
+
}), e.register("I18nService", t), e.register("ThemeService", new m()), e.register("NotificationService", new S()), e.register("LayoutService", new C()), o.current = e;
|
|
956
|
+
}
|
|
957
|
+
return o.current;
|
|
958
|
+
})();
|
|
959
|
+
r(() => {
|
|
960
|
+
if (a) {
|
|
961
|
+
let e = l.get("I18nService");
|
|
962
|
+
e && Object.entries(a).forEach(([t, n]) => {
|
|
963
|
+
e.registerTranslations(t, n);
|
|
964
|
+
});
|
|
965
|
+
}
|
|
966
|
+
}, [a, l]);
|
|
967
|
+
let u = i(() => ({ registry: l }), [l]);
|
|
968
|
+
return /* @__PURE__ */ c(w.Provider, {
|
|
969
|
+
value: u,
|
|
970
|
+
children: /* @__PURE__ */ c(s, {
|
|
971
|
+
strokeWidth: 2,
|
|
972
|
+
size: 18,
|
|
973
|
+
children: t
|
|
974
|
+
})
|
|
975
|
+
});
|
|
976
|
+
}, E = () => {
|
|
977
|
+
let e = n(w);
|
|
978
|
+
if (!e) throw Error("useEzServiceRegistry must be used within an <EzProvider>");
|
|
979
|
+
return e.registry;
|
|
980
|
+
}, D = () => E().getOrThrow("ThemeService"), O = () => E().getOrThrow("I18nService"), k = () => E().getOrThrow("NotificationService");
|
|
981
|
+
//#endregion
|
|
982
|
+
export { u as _, D as a, x as c, b as d, h as f, d as g, f as h, k as i, v as l, m, E as n, C as o, y as p, O as r, S as s, T as t, g as u };
|