@parhelia/core 0.1.12902 → 0.1.12904
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/dist/agents-view/AgentCard.d.ts +4 -8
- package/dist/agents-view/AgentCard.js +175 -80
- package/dist/agents-view/AgentCard.js.map +1 -1
- package/dist/agents-view/AgentsInbox.d.ts +26 -0
- package/dist/agents-view/AgentsInbox.js +31 -0
- package/dist/agents-view/AgentsInbox.js.map +1 -0
- package/dist/agents-view/AgentsSidebar.d.ts +11 -4
- package/dist/agents-view/AgentsSidebar.js +14 -10
- package/dist/agents-view/AgentsSidebar.js.map +1 -1
- package/dist/agents-view/AgentsTitlebar.d.ts +3 -2
- package/dist/agents-view/AgentsTitlebar.js +7 -6
- package/dist/agents-view/AgentsTitlebar.js.map +1 -1
- package/dist/agents-view/AgentsView.d.ts +7 -27
- package/dist/agents-view/AgentsView.js +294 -126
- package/dist/agents-view/AgentsView.js.map +1 -1
- package/dist/agents-view/AgentsWorkspaceView.d.ts +1 -1
- package/dist/agents-view/AgentsWorkspaceView.js +102 -111
- package/dist/agents-view/AgentsWorkspaceView.js.map +1 -1
- package/dist/agents-view/CreateAgentView.d.ts +1 -1
- package/dist/agents-view/CreateAgentView.js +2 -2
- package/dist/agents-view/CreateAgentView.js.map +1 -1
- package/dist/agents-view/ProfileAgentsGroup.d.ts +4 -4
- package/dist/agents-view/ProfileAgentsGroup.js +10 -22
- package/dist/agents-view/ProfileAgentsGroup.js.map +1 -1
- package/dist/components/Error.d.ts +9 -0
- package/dist/components/Error.js +24 -0
- package/dist/components/Error.js.map +1 -0
- package/dist/components/FilterInput.d.ts +22 -0
- package/dist/components/FilterInput.js +29 -0
- package/dist/components/FilterInput.js.map +1 -0
- package/dist/components/MarkdownDisplay.js +16 -29
- package/dist/components/MarkdownDisplay.js.map +1 -1
- package/dist/components/PageHeader.d.ts +1 -5
- package/dist/components/PageHeader.js +3 -3
- package/dist/components/PageHeader.js.map +1 -1
- package/dist/components/index.d.ts +2 -4
- package/dist/components/index.js +1 -2
- package/dist/components/index.js.map +1 -1
- package/dist/components/ui/LanguageSelector.d.ts +1 -6
- package/dist/components/ui/LanguageSelector.js +6 -10
- package/dist/components/ui/LanguageSelector.js.map +1 -1
- package/dist/components/ui/PlaceholderInput.d.ts +8 -0
- package/dist/components/ui/PlaceholderInput.js +43 -2
- package/dist/components/ui/PlaceholderInput.js.map +1 -1
- package/dist/components/ui/PlaceholderInputTypes.d.ts +1 -1
- package/dist/components/ui/PlaceholderInputTypes.js +1 -1
- package/dist/components/ui/PlaceholderInputTypes.js.map +1 -1
- package/dist/components/ui/PlaceholderItemSelector.js +3 -3
- package/dist/components/ui/PlaceholderItemSelector.js.map +1 -1
- package/dist/components/ui/alert-dialog.d.ts +1 -1
- package/dist/components/ui/alert-dialog.js +8 -8
- package/dist/components/ui/alert-dialog.js.map +1 -1
- package/dist/components/ui/alert.d.ts +2 -3
- package/dist/components/ui/alert.js +4 -9
- package/dist/components/ui/alert.js.map +1 -1
- package/dist/components/ui/badge.d.ts +3 -8
- package/dist/components/ui/badge.js +8 -18
- package/dist/components/ui/badge.js.map +1 -1
- package/dist/components/ui/breadcrumb.d.ts +1 -1
- package/dist/components/ui/breadcrumb.js +5 -5
- package/dist/components/ui/breadcrumb.js.map +1 -1
- package/dist/components/ui/button.d.ts +4 -9
- package/dist/components/ui/button.js +14 -20
- package/dist/components/ui/button.js.map +1 -1
- package/dist/components/ui/card.d.ts +1 -4
- package/dist/components/ui/card.js +4 -4
- package/dist/components/ui/card.js.map +1 -1
- package/dist/components/ui/checkbox.js +1 -1
- package/dist/components/ui/checkbox.js.map +1 -1
- package/dist/components/ui/command.d.ts +1 -2
- package/dist/components/ui/command.js +4 -8
- package/dist/components/ui/command.js.map +1 -1
- package/dist/components/ui/context-menu.d.ts +1 -15
- package/dist/components/ui/context-menu.js +65 -72
- package/dist/components/ui/context-menu.js.map +1 -1
- package/dist/components/ui/copy-button.js +3 -4
- package/dist/components/ui/copy-button.js.map +1 -1
- package/dist/components/ui/dialog.d.ts +1 -1
- package/dist/components/ui/dialog.js +5 -6
- package/dist/components/ui/dialog.js.map +1 -1
- package/dist/components/ui/dropdown-menu.js +5 -5
- package/dist/components/ui/dropdown-menu.js.map +1 -1
- package/dist/components/ui/input.js +2 -2
- package/dist/components/ui/input.js.map +1 -1
- package/dist/components/ui/label.js +1 -1
- package/dist/components/ui/menubar.d.ts +26 -0
- package/dist/components/ui/menubar.js +55 -0
- package/dist/components/ui/menubar.js.map +1 -0
- package/dist/components/ui/paste-button.js +2 -2
- package/dist/components/ui/paste-button.js.map +1 -1
- package/dist/components/ui/popover.js +4 -22
- package/dist/components/ui/popover.js.map +1 -1
- package/dist/components/ui/progress.js +2 -2
- package/dist/components/ui/progress.js.map +1 -1
- package/dist/components/ui/select.js +4 -3
- package/dist/components/ui/select.js.map +1 -1
- package/dist/components/ui/sonner.js +2 -28
- package/dist/components/ui/sonner.js.map +1 -1
- package/dist/components/ui/styled-dialog-title.js +2 -2
- package/dist/components/ui/styled-dialog-title.js.map +1 -1
- package/dist/components/ui/switch.js +1 -1
- package/dist/components/ui/switch.js.map +1 -1
- package/dist/components/ui/tabs.js +3 -3
- package/dist/components/ui/tabs.js.map +1 -1
- package/dist/components/ui/textarea.js +2 -2
- package/dist/components/ui/textarea.js.map +1 -1
- package/dist/components/ui/tooltip.js +1 -1
- package/dist/components/ui/tooltip.js.map +1 -1
- package/dist/config/config.js +68 -232
- package/dist/config/config.js.map +1 -1
- package/dist/config/notificationRoutes.js +10 -111
- package/dist/config/notificationRoutes.js.map +1 -1
- package/dist/config/types/index.d.ts +2 -0
- package/dist/config/types/index.js +4 -0
- package/dist/config/types/index.js.map +1 -0
- package/dist/config/types/sidebar.d.ts +0 -4
- package/dist/config/types/workspace.d.ts +2 -13
- package/dist/config/types.d.ts +3 -17
- package/dist/config/types.js.map +1 -1
- package/dist/editor/AdminRequiredView.js +2 -4
- package/dist/editor/AdminRequiredView.js.map +1 -1
- package/dist/editor/AspectRatioSelector.js +5 -5
- package/dist/editor/AspectRatioSelector.js.map +1 -1
- package/dist/editor/ConcurrentUserLimitDialog.js +4 -11
- package/dist/editor/ConcurrentUserLimitDialog.js.map +1 -1
- package/dist/editor/ConfirmationDialog.js +2 -4
- package/dist/editor/ConfirmationDialog.js.map +1 -1
- package/dist/editor/ContentTree.d.ts +1 -19
- package/dist/editor/ContentTree.js +27 -95
- package/dist/editor/ContentTree.js.map +1 -1
- package/dist/editor/ContextMenu.d.ts +0 -1
- package/dist/editor/ContextMenu.js +11 -9
- package/dist/editor/ContextMenu.js.map +1 -1
- package/dist/editor/DeleteItemsWarning.js +2 -2
- package/dist/editor/DeleteItemsWarning.js.map +1 -1
- package/dist/editor/Editor.d.ts +1 -1
- package/dist/editor/Editor.js +9 -29
- package/dist/editor/Editor.js.map +1 -1
- package/dist/editor/EditorWarning.js +4 -4
- package/dist/editor/EditorWarning.js.map +1 -1
- package/dist/editor/FieldActionsOverlay.d.ts +1 -0
- package/dist/editor/FieldActionsOverlay.js +25 -8
- package/dist/editor/FieldActionsOverlay.js.map +1 -1
- package/dist/editor/FieldEditorPopup.js +2 -2
- package/dist/editor/FieldEditorPopup.js.map +1 -1
- package/dist/editor/FieldHistory.d.ts +1 -2
- package/dist/editor/FieldHistory.js +15 -23
- package/dist/editor/FieldHistory.js.map +1 -1
- package/dist/editor/FieldList.js +2 -2
- package/dist/editor/FieldList.js.map +1 -1
- package/dist/editor/FieldListField.d.ts +1 -1
- package/dist/editor/FieldListField.js +54 -59
- package/dist/editor/FieldListField.js.map +1 -1
- package/dist/editor/FieldListFieldWithFallbacks.js +3 -4
- package/dist/editor/FieldListFieldWithFallbacks.js.map +1 -1
- package/dist/editor/FloatingToolbar.d.ts +7 -0
- package/dist/editor/FloatingToolbar.js +91 -0
- package/dist/editor/FloatingToolbar.js.map +1 -0
- package/dist/editor/GlobalMenuBar.js +19 -28
- package/dist/editor/GlobalMenuBar.js.map +1 -1
- package/dist/editor/ImageEditButton.js +3 -3
- package/dist/editor/ImageEditButton.js.map +1 -1
- package/dist/editor/ImageEditor.d.ts +1 -6
- package/dist/editor/ImageEditor.js +4 -21
- package/dist/editor/ImageEditor.js.map +1 -1
- package/dist/editor/ItemInfo.js +7 -10
- package/dist/editor/ItemInfo.js.map +1 -1
- package/dist/editor/LinkEditorDialog.d.ts +2 -9
- package/dist/editor/LinkEditorDialog.js +60 -183
- package/dist/editor/LinkEditorDialog.js.map +1 -1
- package/dist/editor/MainLayout.js +16 -121
- package/dist/editor/MainLayout.js.map +1 -1
- package/dist/editor/MigrationsView.js +35 -16
- package/dist/editor/MigrationsView.js.map +1 -1
- package/dist/editor/MobileLayout.js +3 -35
- package/dist/editor/MobileLayout.js.map +1 -1
- package/dist/editor/NewEditorClient.d.ts +5 -0
- package/dist/editor/NewEditorClient.js +7 -0
- package/dist/editor/NewEditorClient.js.map +1 -0
- package/dist/editor/PictureCropper.js +36 -58
- package/dist/editor/PictureCropper.js.map +1 -1
- package/dist/editor/PictureEditor.d.ts +1 -2
- package/dist/editor/PictureEditor.js +19 -17
- package/dist/editor/PictureEditor.js.map +1 -1
- package/dist/editor/PictureEditorDialog.d.ts +8 -0
- package/dist/editor/PictureEditorDialog.js +198 -0
- package/dist/editor/PictureEditorDialog.js.map +1 -0
- package/dist/editor/QuickItemSwitcher.js +9 -9
- package/dist/editor/QuickItemSwitcher.js.map +1 -1
- package/dist/editor/SetupLoadingScreen.d.ts +5 -0
- package/dist/editor/SetupLoadingScreen.js +11 -0
- package/dist/editor/SetupLoadingScreen.js.map +1 -0
- package/dist/editor/SetupWizard.js +4 -6
- package/dist/editor/SetupWizard.js.map +1 -1
- package/dist/editor/Titlebar.d.ts +1 -1
- package/dist/editor/Titlebar.js +2 -2
- package/dist/editor/Titlebar.js.map +1 -1
- package/dist/editor/ai/AgentBanners.js +16 -0
- package/dist/editor/ai/AgentBanners.js.map +1 -0
- package/dist/editor/ai/AgentCostDisplay.js +116 -0
- package/dist/editor/ai/AgentCostDisplay.js.map +1 -0
- package/dist/editor/ai/AgentDocumentList.d.ts +12 -0
- package/dist/editor/ai/AgentDocumentList.js +335 -0
- package/dist/editor/ai/AgentDocumentList.js.map +1 -0
- package/dist/editor/ai/AgentGreeting.d.ts +8 -0
- package/dist/editor/ai/AgentGreeting.js +14 -0
- package/dist/editor/ai/AgentGreeting.js.map +1 -0
- package/dist/editor/ai/AgentInlineDialogContent.js +2 -2
- package/dist/editor/ai/AgentInlineDialogContent.js.map +1 -1
- package/dist/editor/ai/AgentPanesGrid.js +7 -8
- package/dist/editor/ai/AgentPanesGrid.js.map +1 -1
- package/dist/editor/ai/AgentProfileSelector.d.ts +0 -1
- package/dist/editor/ai/AgentProfileSelector.js +9 -11
- package/dist/editor/ai/AgentProfileSelector.js.map +1 -1
- package/dist/editor/ai/AgentSharingSection.js +9 -22
- package/dist/editor/ai/AgentSharingSection.js.map +1 -1
- package/dist/editor/ai/AgentStatusBadge.js +21 -13
- package/dist/editor/ai/AgentStatusBadge.js.map +1 -1
- package/dist/editor/ai/AgentTerminal.d.ts +38 -2
- package/dist/editor/ai/AgentTerminal.js +6503 -6
- package/dist/editor/ai/AgentTerminal.js.map +1 -1
- package/dist/editor/ai/AgentTerminalStatusBar.d.ts +72 -0
- package/dist/editor/ai/AgentTerminalStatusBar.js +888 -0
- package/dist/editor/ai/AgentTerminalStatusBar.js.map +1 -0
- package/dist/editor/ai/Agents.js +397 -262
- package/dist/editor/ai/Agents.js.map +1 -1
- package/dist/editor/ai/AiResponseMessage.d.ts +33 -0
- package/dist/editor/ai/AiResponseMessage.js +1239 -0
- package/dist/editor/ai/AiResponseMessage.js.map +1 -0
- package/dist/editor/ai/ContentInspectorPopover.js +19 -24
- package/dist/editor/ai/ContentInspectorPopover.js.map +1 -1
- package/dist/editor/ai/ContextInfoBar.d.ts +14 -0
- package/dist/editor/ai/ContextInfoBar.js +653 -0
- package/dist/editor/ai/ContextInfoBar.js.map +1 -0
- package/dist/editor/ai/DancingDots.d.ts +1 -0
- package/dist/editor/ai/DancingDots.js +6 -0
- package/dist/editor/ai/DancingDots.js.map +1 -0
- package/dist/editor/ai/EditOperationsPanel.d.ts +7 -0
- package/dist/editor/ai/EditOperationsPanel.js +91 -0
- package/dist/editor/ai/EditOperationsPanel.js.map +1 -0
- package/dist/editor/ai/GuidanceOverlay.js +19 -12
- package/dist/editor/ai/GuidanceOverlay.js.map +1 -1
- package/dist/editor/ai/HeartbeatDiagnosticsPanel.d.ts +2 -2
- package/dist/editor/ai/HeartbeatDiagnosticsPanel.js +31 -55
- package/dist/editor/ai/HeartbeatDiagnosticsPanel.js.map +1 -1
- package/dist/editor/ai/HeartbeatMessage.d.ts +4 -0
- package/dist/editor/ai/HeartbeatMessage.js +7 -0
- package/dist/editor/ai/HeartbeatMessage.js.map +1 -0
- package/dist/editor/ai/InitialThinkingSplash.d.ts +3 -0
- package/dist/editor/ai/InitialThinkingSplash.js +9 -0
- package/dist/editor/ai/InitialThinkingSplash.js.map +1 -0
- package/dist/editor/ai/InlineAiDialog.d.ts +0 -6
- package/dist/editor/ai/InlineAiDialog.js +277 -411
- package/dist/editor/ai/InlineAiDialog.js.map +1 -1
- package/dist/editor/ai/InlineAiTrigger.js +37 -242
- package/dist/editor/ai/InlineAiTrigger.js.map +1 -1
- package/dist/editor/ai/MediaImage.js +5 -5
- package/dist/editor/ai/MediaImage.js.map +1 -1
- package/dist/editor/ai/QueuedPromptsPanel.d.ts +4 -0
- package/dist/editor/ai/QueuedPromptsPanel.js +37 -0
- package/dist/editor/ai/QueuedPromptsPanel.js.map +1 -0
- package/dist/editor/ai/SpawnedAgentsPanel.d.ts +6 -0
- package/dist/editor/ai/SpawnedAgentsPanel.js +101 -0
- package/dist/editor/ai/SpawnedAgentsPanel.js.map +1 -0
- package/dist/editor/ai/TimeWithTooltip.js +4 -2
- package/dist/editor/ai/TimeWithTooltip.js.map +1 -1
- package/dist/editor/ai/TodoListPanel.d.ts +5 -0
- package/dist/editor/ai/TodoListPanel.js +113 -0
- package/dist/editor/ai/TodoListPanel.js.map +1 -0
- package/dist/editor/ai/ToolCallDisplay.js +865 -0
- package/dist/editor/ai/ToolCallDisplay.js.map +1 -0
- package/dist/editor/ai/UserMessage.d.ts +4 -0
- package/dist/editor/ai/UserMessage.js +42 -0
- package/dist/editor/ai/UserMessage.js.map +1 -0
- package/dist/editor/ai/agentDiagnostics.d.ts +0 -26
- package/dist/editor/ai/agentDiagnostics.js +1 -41
- package/dist/editor/ai/agentDiagnostics.js.map +1 -1
- package/dist/editor/ai/agentDiagnostics.test.js +181 -0
- package/dist/editor/ai/agentDiagnostics.test.js.map +1 -0
- package/dist/editor/ai/agentDialogRegistry.js.map +1 -1
- package/dist/editor/ai/agentMessageHelpers.js.map +1 -1
- package/dist/editor/ai/agentMessageMarkdown.js +10 -10
- package/dist/editor/ai/agentMessageMarkdown.js.map +1 -1
- package/dist/editor/ai/agentTodoExtraction.d.ts +1 -7
- package/dist/editor/ai/agentTodoExtraction.js +0 -33
- package/dist/editor/ai/agentTodoExtraction.js.map +1 -1
- package/dist/editor/ai/agentWatchdogStatusRegistry.d.ts +0 -1
- package/dist/editor/ai/agentWatchdogStatusRegistry.js.map +1 -1
- package/dist/editor/ai/dialogs/AgentDialogHandler.js +4 -2
- package/dist/editor/ai/dialogs/AgentDialogHandler.js.map +1 -1
- package/dist/editor/ai/dialogs/ComponentTypeSelectorInline.js +12 -13
- package/dist/editor/ai/dialogs/ComponentTypeSelectorInline.js.map +1 -1
- package/dist/editor/ai/dialogs/QuestionnaireInline.js +84 -58
- package/dist/editor/ai/dialogs/QuestionnaireInline.js.map +1 -1
- package/dist/editor/ai/dialogs/browserBoundCapture.js +2 -1
- package/dist/editor/ai/dialogs/browserBoundCapture.js.map +1 -1
- package/dist/editor/ai/dialogs/capturePageDom.js +35 -66
- package/dist/editor/ai/dialogs/capturePageDom.js.map +1 -1
- package/dist/editor/ai/dialogs/capturePageScreenshot.js +157 -281
- package/dist/editor/ai/dialogs/capturePageScreenshot.js.map +1 -1
- package/dist/editor/ai/types.d.ts +1 -1
- package/dist/editor/ai/useAgentPanes.js +2 -8
- package/dist/editor/ai/useAgentPanes.js.map +1 -1
- package/dist/editor/ai/useAgentPanes.test.d.ts +1 -0
- package/dist/editor/ai/useAgentPanes.test.js +198 -0
- package/dist/editor/ai/useAgentPanes.test.js.map +1 -0
- package/dist/editor/ai/useAgentStatus.js +1 -3
- package/dist/editor/ai/useAgentStatus.js.map +1 -1
- package/dist/editor/ai/useInlineAiPosition.d.ts +2 -10
- package/dist/editor/ai/useInlineAiPosition.js +86 -69
- package/dist/editor/ai/useInlineAiPosition.js.map +1 -1
- package/dist/editor/ai-image-editor/AiImageEditorDialog.js +17 -37
- package/dist/editor/ai-image-editor/AiImageEditorDialog.js.map +1 -1
- package/dist/editor/ai-image-editor/AiImageResultOverlay.js +64 -32
- package/dist/editor/ai-image-editor/AiImageResultOverlay.js.map +1 -1
- package/dist/editor/client/AboutDialog.js +6 -18
- package/dist/editor/client/AboutDialog.js.map +1 -1
- package/dist/editor/client/EditorShell.d.ts +2 -9
- package/dist/editor/client/EditorShell.js +252 -727
- package/dist/editor/client/EditorShell.js.map +1 -1
- package/dist/editor/client/GenericDialog.d.ts +10 -0
- package/dist/editor/client/GenericDialog.js +25 -0
- package/dist/editor/client/GenericDialog.js.map +1 -0
- package/dist/editor/client/OperationDialogContent.js +3 -3
- package/dist/editor/client/OperationDialogContent.js.map +1 -1
- package/dist/editor/client/editContext.d.ts +11 -108
- package/dist/editor/client/editContext.js +7 -3
- package/dist/editor/client/editContext.js.map +1 -1
- package/dist/editor/client/fieldModificationStore.d.ts +2 -6
- package/dist/editor/client/fieldModificationStore.js +23 -38
- package/dist/editor/client/fieldModificationStore.js.map +1 -1
- package/dist/editor/client/helpers.js +3 -3
- package/dist/editor/client/helpers.js.map +1 -1
- package/dist/editor/client/hooks/useEditorWebSocket.d.ts +0 -3
- package/dist/editor/client/hooks/useEditorWebSocket.js +18 -224
- package/dist/editor/client/hooks/useEditorWebSocket.js.map +1 -1
- package/dist/editor/client/hooks/useMediaSelector.js.map +1 -1
- package/dist/editor/client/hooks/useSocketMessageHandler.d.ts +0 -4
- package/dist/editor/client/hooks/useSocketMessageHandler.js +86 -127
- package/dist/editor/client/hooks/useSocketMessageHandler.js.map +1 -1
- package/dist/editor/client/hooks/useWorkbox.d.ts +0 -2
- package/dist/editor/client/hooks/useWorkbox.js +33 -76
- package/dist/editor/client/hooks/useWorkbox.js.map +1 -1
- package/dist/editor/client/itemsRepository.d.ts +5 -10
- package/dist/editor/client/itemsRepository.js +46 -48
- package/dist/editor/client/itemsRepository.js.map +1 -1
- package/dist/editor/client/operations.d.ts +3 -16
- package/dist/editor/client/operations.js +108 -306
- package/dist/editor/client/operations.js.map +1 -1
- package/dist/editor/client/pageModelBuilder.d.ts +0 -2
- package/dist/editor/client/pageModelBuilder.js +20 -89
- package/dist/editor/client/pageModelBuilder.js.map +1 -1
- package/dist/editor/client/ui/DevModeIndicator.js +1 -1
- package/dist/editor/client/ui/DevModeIndicator.js.map +1 -1
- package/dist/editor/client/ui/EditorChrome.js +4 -11
- package/dist/editor/client/ui/EditorChrome.js.map +1 -1
- package/dist/editor/client/ui/FullscreenControls.js +5 -5
- package/dist/editor/client/ui/FullscreenControls.js.map +1 -1
- package/dist/editor/client/waitForEditOperationTerminal.d.ts +0 -1
- package/dist/editor/client/waitForEditOperationTerminal.js +1 -1
- package/dist/editor/client/waitForEditOperationTerminal.js.map +1 -1
- package/dist/editor/commands/agentCommands.js +1 -1
- package/dist/editor/commands/agentCommands.js.map +1 -1
- package/dist/editor/commands/commands.js.map +1 -1
- package/dist/editor/commands/componentCommands.d.ts +3 -13
- package/dist/editor/commands/componentCommands.js +7 -77
- package/dist/editor/commands/componentCommands.js.map +1 -1
- package/dist/editor/commands/createVersionCommand.js +2 -6
- package/dist/editor/commands/createVersionCommand.js.map +1 -1
- package/dist/editor/commands/customCommandConverter.js +8 -10
- package/dist/editor/commands/customCommandConverter.js.map +1 -1
- package/dist/editor/commands/handlers/agentHandler.js.map +1 -1
- package/dist/editor/commands/handlers/uiActionHandlers.d.ts +0 -1
- package/dist/editor/commands/handlers/uiActionHandlers.js +3 -30
- package/dist/editor/commands/handlers/uiActionHandlers.js.map +1 -1
- package/dist/editor/commands/itemCommands.js +27 -24
- package/dist/editor/commands/itemCommands.js.map +1 -1
- package/dist/editor/commands/keyboardCommands.d.ts +0 -6
- package/dist/editor/commands/keyboardCommands.js +2 -78
- package/dist/editor/commands/keyboardCommands.js.map +1 -1
- package/dist/editor/commands/localizeItem/LocalizeItemDialog.d.ts +8 -0
- package/dist/editor/commands/localizeItem/LocalizeItemDialog.js +91 -0
- package/dist/editor/commands/localizeItem/LocalizeItemDialog.js.map +1 -0
- package/dist/editor/commands/templateBuilderCommands.js.map +1 -1
- package/dist/editor/commands/undo.js +6 -10
- package/dist/editor/commands/undo.js.map +1 -1
- package/dist/editor/content-tree/IndicatorSettings.js +4 -5
- package/dist/editor/content-tree/IndicatorSettings.js.map +1 -1
- package/dist/editor/content-tree/TreeOptions.js +1 -1
- package/dist/editor/content-tree/TreeSettingsMenu.js +3 -7
- package/dist/editor/content-tree/TreeSettingsMenu.js.map +1 -1
- package/dist/editor/content-tree/index.d.ts +3 -0
- package/dist/editor/content-tree/index.js +4 -0
- package/dist/editor/content-tree/index.js.map +1 -0
- package/dist/editor/context-menu/CopyMoveMenu.d.ts +7 -0
- package/dist/editor/context-menu/CopyMoveMenu.js +58 -0
- package/dist/editor/context-menu/CopyMoveMenu.js.map +1 -0
- package/dist/editor/context-menu/InsertMenu.js +9 -9
- package/dist/editor/context-menu/InsertMenu.js.map +1 -1
- package/dist/editor/editor-warnings/FinalWorkflowStateReadOnly.js +0 -5
- package/dist/editor/editor-warnings/FinalWorkflowStateReadOnly.js.map +1 -1
- package/dist/editor/editor-warnings/ItemLocked.js +3 -6
- package/dist/editor/editor-warnings/ItemLocked.js.map +1 -1
- package/dist/editor/field-types/AttachmentEditor.js +3 -3
- package/dist/editor/field-types/AttachmentEditor.js.map +1 -1
- package/dist/editor/field-types/CheckboxEditor.js +1 -3
- package/dist/editor/field-types/CheckboxEditor.js.map +1 -1
- package/dist/editor/field-types/DateFieldEditor.js +1 -1
- package/dist/editor/field-types/DateFieldEditor.js.map +1 -1
- package/dist/editor/field-types/DateTimeFieldEditor.js +1 -1
- package/dist/editor/field-types/DateTimeFieldEditor.js.map +1 -1
- package/dist/editor/field-types/DropLinkEditor.js +16 -31
- package/dist/editor/field-types/DropLinkEditor.js.map +1 -1
- package/dist/editor/field-types/DropListEditor.js +1 -1
- package/dist/editor/field-types/DropListEditor.js.map +1 -1
- package/dist/editor/field-types/ImageFieldEditor.js +1 -1
- package/dist/editor/field-types/ImageFieldEditor.js.map +1 -1
- package/dist/editor/field-types/InternalLinkFieldEditor.js +9 -18
- package/dist/editor/field-types/InternalLinkFieldEditor.js.map +1 -1
- package/dist/editor/field-types/LinkFieldEditor.js +3 -15
- package/dist/editor/field-types/LinkFieldEditor.js.map +1 -1
- package/dist/editor/field-types/MultiLineText.js +9 -35
- package/dist/editor/field-types/MultiLineText.js.map +1 -1
- package/dist/editor/field-types/NameValueListEditor.js +3 -7
- package/dist/editor/field-types/NameValueListEditor.js.map +1 -1
- package/dist/editor/field-types/PictureFieldEditor.js +13 -19
- package/dist/editor/field-types/PictureFieldEditor.js.map +1 -1
- package/dist/editor/field-types/RawEditor.js +2 -9
- package/dist/editor/field-types/RawEditor.js.map +1 -1
- package/dist/editor/field-types/RichTextEditor.js +10 -31
- package/dist/editor/field-types/RichTextEditor.js.map +1 -1
- package/dist/editor/field-types/RichTextEditorComponent.js +81 -194
- package/dist/editor/field-types/RichTextEditorComponent.js.map +1 -1
- package/dist/editor/field-types/SingleLineText.js +5 -31
- package/dist/editor/field-types/SingleLineText.js.map +1 -1
- package/dist/editor/field-types/TreeListEditor.js +9 -72
- package/dist/editor/field-types/TreeListEditor.js.map +1 -1
- package/dist/editor/field-types/richtext/components/EditorDropdown.css +6 -7
- package/dist/editor/field-types/richtext/components/EditorDropdown.d.ts +5 -5
- package/dist/editor/field-types/richtext/components/EditorDropdown.js +20 -21
- package/dist/editor/field-types/richtext/components/EditorDropdown.js.map +1 -1
- package/dist/editor/field-types/richtext/components/ReactSlate.css +31 -108
- package/dist/editor/field-types/richtext/components/ReactSlate.js +50 -240
- package/dist/editor/field-types/richtext/components/ReactSlate.js.map +1 -1
- package/dist/editor/field-types/richtext/components/SimpleDropdown.js +6 -11
- package/dist/editor/field-types/richtext/components/SimpleDropdown.js.map +1 -1
- package/dist/editor/field-types/richtext/components/SimpleRichTextEditor.css +16 -32
- package/dist/editor/field-types/richtext/components/SimpleRichTextEditor.js +2 -26
- package/dist/editor/field-types/richtext/components/SimpleRichTextEditor.js.map +1 -1
- package/dist/editor/field-types/richtext/components/SimpleToolbar.js +4 -5
- package/dist/editor/field-types/richtext/components/SimpleToolbar.js.map +1 -1
- package/dist/editor/field-types/richtext/components/SimpleToolbarButton.js +2 -4
- package/dist/editor/field-types/richtext/components/SimpleToolbarButton.js.map +1 -1
- package/dist/editor/field-types/richtext/components/ToolbarButton.js +3 -3
- package/dist/editor/field-types/richtext/components/ToolbarButton.js.map +1 -1
- package/dist/editor/field-types/richtext/config/pluginFactory.d.ts +1 -1
- package/dist/editor/field-types/richtext/config/pluginFactory.js +1 -1
- package/dist/editor/field-types/richtext/config/pluginFactory.js.map +1 -1
- package/dist/editor/field-types/richtext/contextMenuFactory.d.ts +14 -2
- package/dist/editor/field-types/richtext/contextMenuFactory.js +379 -4
- package/dist/editor/field-types/richtext/contextMenuFactory.js.map +1 -1
- package/dist/editor/field-types/richtext/hooks/useProfileCache.d.ts +1 -1
- package/dist/editor/field-types/richtext/hooks/useProfileCache.js +19 -19
- package/dist/editor/field-types/richtext/hooks/useProfileCache.js.map +1 -1
- package/dist/editor/field-types/richtext/hooks/useRichTextProfile.d.ts +2 -5
- package/dist/editor/field-types/richtext/hooks/useRichTextProfile.js +13 -41
- package/dist/editor/field-types/richtext/hooks/useRichTextProfile.js.map +1 -1
- package/dist/editor/field-types/richtext/types.d.ts +0 -2
- package/dist/editor/field-types/richtext/types.js.map +1 -1
- package/dist/editor/field-types/richtext/utils/conversion.d.ts +2 -2
- package/dist/editor/field-types/richtext/utils/conversion.js +214 -298
- package/dist/editor/field-types/richtext/utils/conversion.js.map +1 -1
- package/dist/editor/field-types/richtext/utils/plugins.js +69 -96
- package/dist/editor/field-types/richtext/utils/plugins.js.map +1 -1
- package/dist/editor/field-types/richtext/utils/profileMapper.d.ts +1 -1
- package/dist/editor/field-types/richtext/utils/profileMapper.js +171 -186
- package/dist/editor/field-types/richtext/utils/profileMapper.js.map +1 -1
- package/dist/editor/field-types/textContextMenuFactory.js +1 -1
- package/dist/editor/field-types/textContextMenuFactory.js.map +1 -1
- package/dist/editor/fieldTypes.d.ts +0 -2
- package/dist/editor/hooks/useNavigationPanelLogic.d.ts +3 -3
- package/dist/editor/hooks/useNavigationPanelLogic.js +5 -5
- package/dist/editor/hooks/useNavigationPanelLogic.js.map +1 -1
- package/dist/editor/hooks/useParheliaSettings.js +7 -8
- package/dist/editor/hooks/useParheliaSettings.js.map +1 -1
- package/dist/editor/insertMenuItems.d.ts +0 -11
- package/dist/editor/insertMenuItems.js +1 -10
- package/dist/editor/insertMenuItems.js.map +1 -1
- package/dist/editor/manualActionEvents.js +1 -3
- package/dist/editor/manualActionEvents.js.map +1 -1
- package/dist/editor/media-selector/AiImageSearchPrompt.js +3 -3
- package/dist/editor/media-selector/MediaFolderBrowser.d.ts +1 -2
- package/dist/editor/media-selector/MediaFolderBrowser.js +30 -189
- package/dist/editor/media-selector/MediaFolderBrowser.js.map +1 -1
- package/dist/editor/media-selector/MediaSelector.js +2 -4
- package/dist/editor/media-selector/MediaSelector.js.map +1 -1
- package/dist/editor/media-selector/Preview.js +5 -9
- package/dist/editor/media-selector/Preview.js.map +1 -1
- package/dist/editor/media-selector/Thumbnails.js +3 -3
- package/dist/editor/media-selector/Thumbnails.js.map +1 -1
- package/dist/editor/media-selector/TreeSelector.js +27 -33
- package/dist/editor/media-selector/TreeSelector.js.map +1 -1
- package/dist/editor/media-selector/UploadZone.d.ts +1 -2
- package/dist/editor/media-selector/UploadZone.js +10 -22
- package/dist/editor/media-selector/UploadZone.js.map +1 -1
- package/dist/editor/menubar/ActiveUsers.js +36 -32
- package/dist/editor/menubar/ActiveUsers.js.map +1 -1
- package/dist/editor/menubar/ApproveAndPublish.d.ts +1 -0
- package/dist/editor/menubar/ApproveAndPublish.js +13 -0
- package/dist/editor/menubar/ApproveAndPublish.js.map +1 -0
- package/dist/editor/menubar/FavoritesControls.js +30 -51
- package/dist/editor/menubar/FavoritesControls.js.map +1 -1
- package/dist/editor/menubar/GenericToolbar.js +1 -2
- package/dist/editor/menubar/GenericToolbar.js.map +1 -1
- package/dist/editor/menubar/ItemActionsMenu.js +1 -1
- package/dist/editor/menubar/ItemActionsMenu.js.map +1 -1
- package/dist/editor/menubar/ItemLanguageVersion.d.ts +1 -4
- package/dist/editor/menubar/ItemLanguageVersion.js +18 -17
- package/dist/editor/menubar/ItemLanguageVersion.js.map +1 -1
- package/dist/editor/menubar/ItemToolbar.d.ts +1 -0
- package/dist/editor/menubar/ItemToolbar.js +12 -0
- package/dist/editor/menubar/ItemToolbar.js.map +1 -0
- package/dist/editor/menubar/NavButtons.d.ts +1 -0
- package/dist/editor/menubar/NavButtons.js +40 -0
- package/dist/editor/menubar/NavButtons.js.map +1 -0
- package/dist/editor/menubar/PageSelector.js +5 -11
- package/dist/editor/menubar/PageSelector.js.map +1 -1
- package/dist/editor/menubar/PreviewDatePicker.js +21 -40
- package/dist/editor/menubar/PreviewDatePicker.js.map +1 -1
- package/dist/editor/menubar/Separator.d.ts +1 -2
- package/dist/editor/menubar/Separator.js +2 -2
- package/dist/editor/menubar/Separator.js.map +1 -1
- package/dist/editor/menubar/SiteInfo.d.ts +1 -0
- package/dist/editor/menubar/SiteInfo.js +27 -0
- package/dist/editor/menubar/SiteInfo.js.map +1 -0
- package/dist/editor/menubar/ToolbarFactory.js +19 -30
- package/dist/editor/menubar/ToolbarFactory.js.map +1 -1
- package/dist/editor/menubar/User.js +7 -2
- package/dist/editor/menubar/User.js.map +1 -1
- package/dist/editor/menubar/UserMenu.d.ts +5 -0
- package/dist/editor/menubar/UserMenu.js +33 -0
- package/dist/editor/menubar/UserMenu.js.map +1 -0
- package/dist/editor/menubar/VersionPreviewCard.js +231 -11
- package/dist/editor/menubar/VersionPreviewCard.js.map +1 -1
- package/dist/editor/menubar/VersionSelector.d.ts +2 -4
- package/dist/editor/menubar/VersionSelector.js +24 -70
- package/dist/editor/menubar/VersionSelector.js.map +1 -1
- package/dist/editor/menubar/WorkflowButton.js +28 -23
- package/dist/editor/menubar/WorkflowButton.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/CompareControls.js +1 -3
- package/dist/editor/menubar/toolbar-sections/CompareControls.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/CustomCommandsToolbar.js +1 -1
- package/dist/editor/menubar/toolbar-sections/CustomCommandsToolbar.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/EditControls.d.ts +2 -4
- package/dist/editor/menubar/toolbar-sections/EditControls.js +11 -82
- package/dist/editor/menubar/toolbar-sections/EditControls.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/InsertControls.js +1 -1
- package/dist/editor/menubar/toolbar-sections/InsertControls.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/ManualBrowser.d.ts +0 -22
- package/dist/editor/menubar/toolbar-sections/ManualBrowser.js +161 -935
- package/dist/editor/menubar/toolbar-sections/ManualBrowser.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/ReviewCommands.js +1 -2
- package/dist/editor/menubar/toolbar-sections/ReviewCommands.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/UndoRedoControls.js +6 -10
- package/dist/editor/menubar/toolbar-sections/UndoRedoControls.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/UtilityControls.d.ts +1 -3
- package/dist/editor/menubar/toolbar-sections/UtilityControls.js +4 -14
- package/dist/editor/menubar/toolbar-sections/UtilityControls.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/ViewportControls.d.ts +0 -1
- package/dist/editor/menubar/toolbar-sections/ViewportControls.js +38 -100
- package/dist/editor/menubar/toolbar-sections/ViewportControls.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/index.d.ts +2 -4
- package/dist/editor/menubar/toolbar-sections/index.js +2 -4
- package/dist/editor/menubar/toolbar-sections/index.js.map +1 -1
- package/dist/editor/notifications/NotificationCenter.d.ts +1 -4
- package/dist/editor/notifications/NotificationCenter.js +30 -41
- package/dist/editor/notifications/NotificationCenter.js.map +1 -1
- package/dist/editor/notifications/NotificationItem.js +15 -100
- package/dist/editor/notifications/NotificationItem.js.map +1 -1
- package/dist/editor/notifications/WatchButton.d.ts +4 -5
- package/dist/editor/notifications/WatchButton.js +61 -105
- package/dist/editor/notifications/WatchButton.js.map +1 -1
- package/dist/editor/notifications/notificationListState.js +1 -4
- package/dist/editor/notifications/notificationListState.js.map +1 -1
- package/dist/editor/notifications/notificationRoutes.js.map +1 -1
- package/dist/editor/notifications/useNotificationSubscriptions.d.ts +0 -8
- package/dist/editor/notifications/useNotificationSubscriptions.js +1 -25
- package/dist/editor/notifications/useNotificationSubscriptions.js.map +1 -1
- package/dist/editor/notifications/useNotifications.js +22 -58
- package/dist/editor/notifications/useNotifications.js.map +1 -1
- package/dist/editor/page-editor-chrome/CommentHighlighting.d.ts +6 -0
- package/dist/editor/page-editor-chrome/CommentHighlighting.js +316 -0
- package/dist/editor/page-editor-chrome/CommentHighlighting.js.map +1 -0
- package/dist/editor/page-editor-chrome/CommentHighlightings.d.ts +4 -6
- package/dist/editor/page-editor-chrome/CommentHighlightings.js +11 -497
- package/dist/editor/page-editor-chrome/CommentHighlightings.js.map +1 -1
- package/dist/editor/page-editor-chrome/FieldActionIndicator.js +68 -30
- package/dist/editor/page-editor-chrome/FieldActionIndicator.js.map +1 -1
- package/dist/editor/page-editor-chrome/FieldEditedIndicator.d.ts +3 -1
- package/dist/editor/page-editor-chrome/FieldEditedIndicator.js +101 -38
- package/dist/editor/page-editor-chrome/FieldEditedIndicator.js.map +1 -1
- package/dist/editor/page-editor-chrome/FieldEditedIndicators.d.ts +3 -1
- package/dist/editor/page-editor-chrome/FieldEditedIndicators.js +2 -2
- package/dist/editor/page-editor-chrome/FieldEditedIndicators.js.map +1 -1
- package/dist/editor/page-editor-chrome/FrameMenu.d.ts +4 -7
- package/dist/editor/page-editor-chrome/FrameMenu.js +228 -180
- package/dist/editor/page-editor-chrome/FrameMenu.js.map +1 -1
- package/dist/editor/page-editor-chrome/FrameMenus.d.ts +1 -1
- package/dist/editor/page-editor-chrome/FrameMenus.js +18 -67
- package/dist/editor/page-editor-chrome/FrameMenus.js.map +1 -1
- package/dist/editor/page-editor-chrome/InlineEditor.d.ts +5 -0
- package/dist/editor/page-editor-chrome/InlineEditor.js +832 -0
- package/dist/editor/page-editor-chrome/InlineEditor.js.map +1 -0
- package/dist/editor/page-editor-chrome/LockedFieldIndicator.d.ts +2 -3
- package/dist/editor/page-editor-chrome/LockedFieldIndicator.js +20 -191
- package/dist/editor/page-editor-chrome/LockedFieldIndicator.js.map +1 -1
- package/dist/editor/page-editor-chrome/NoLayout.js +1 -1
- package/dist/editor/page-editor-chrome/PageEditorChrome.d.ts +2 -6
- package/dist/editor/page-editor-chrome/PageEditorChrome.js +51 -73
- package/dist/editor/page-editor-chrome/PageEditorChrome.js.map +1 -1
- package/dist/editor/page-editor-chrome/PictureEditorOverlay.js +147 -167
- package/dist/editor/page-editor-chrome/PictureEditorOverlay.js.map +1 -1
- package/dist/editor/page-editor-chrome/PlaceholderDropZone.d.ts +3 -34
- package/dist/editor/page-editor-chrome/PlaceholderDropZone.js +65 -175
- package/dist/editor/page-editor-chrome/PlaceholderDropZone.js.map +1 -1
- package/dist/editor/page-editor-chrome/PlaceholderDropZones.d.ts +5 -13
- package/dist/editor/page-editor-chrome/PlaceholderDropZones.js +305 -120
- package/dist/editor/page-editor-chrome/PlaceholderDropZones.js.map +1 -1
- package/dist/editor/page-editor-chrome/SuggestionHighlighting.d.ts +6 -0
- package/dist/editor/page-editor-chrome/SuggestionHighlighting.js +224 -0
- package/dist/editor/page-editor-chrome/SuggestionHighlighting.js.map +1 -0
- package/dist/editor/page-editor-chrome/SuggestionHighlightings.d.ts +4 -6
- package/dist/editor/page-editor-chrome/SuggestionHighlightings.js +12 -304
- package/dist/editor/page-editor-chrome/SuggestionHighlightings.js.map +1 -1
- package/dist/editor/page-editor-chrome/VersionDiffHighlightings.d.ts +3 -1
- package/dist/editor/page-editor-chrome/VersionDiffHighlightings.js +123 -160
- package/dist/editor/page-editor-chrome/VersionDiffHighlightings.js.map +1 -1
- package/dist/editor/page-editor-chrome/useInlineAICompletion.d.ts +7 -0
- package/dist/editor/page-editor-chrome/useInlineAICompletion.js +728 -0
- package/dist/editor/page-editor-chrome/useInlineAICompletion.js.map +1 -0
- package/dist/editor/page-viewer/DeviceToolbar.js +2 -2
- package/dist/editor/page-viewer/DeviceToolbar.js.map +1 -1
- package/dist/editor/page-viewer/EditorForm.js +24 -55
- package/dist/editor/page-viewer/EditorForm.js.map +1 -1
- package/dist/editor/page-viewer/EditorFormHintPopover.d.ts +2 -2
- package/dist/editor/page-viewer/EditorFormHintPopover.js +4 -4
- package/dist/editor/page-viewer/EditorFormHintPopover.js.map +1 -1
- package/dist/editor/page-viewer/MiniMap.d.ts +2 -29
- package/dist/editor/page-viewer/MiniMap.js +340 -375
- package/dist/editor/page-viewer/MiniMap.js.map +1 -1
- package/dist/editor/page-viewer/PageViewer.d.ts +2 -4
- package/dist/editor/page-viewer/PageViewer.js +21 -202
- package/dist/editor/page-viewer/PageViewer.js.map +1 -1
- package/dist/editor/page-viewer/PageViewerFrame.d.ts +7 -4
- package/dist/editor/page-viewer/PageViewerFrame.js +1270 -2255
- package/dist/editor/page-viewer/PageViewerFrame.js.map +1 -1
- package/dist/editor/page-viewer/RenderingParametersSection.js +7 -13
- package/dist/editor/page-viewer/RenderingParametersSection.js.map +1 -1
- package/dist/editor/page-viewer/pageModelSkeletonBuilder.d.ts +3 -0
- package/dist/editor/page-viewer/pageModelSkeletonBuilder.js +423 -0
- package/dist/editor/page-viewer/pageModelSkeletonBuilder.js.map +1 -0
- package/dist/editor/page-viewer/pageViewContext.d.ts +0 -35
- package/dist/editor/page-viewer/pageViewContext.js +3 -40
- package/dist/editor/page-viewer/pageViewContext.js.map +1 -1
- package/dist/editor/pageModel.d.ts +0 -4
- package/dist/editor/pageModel.js +1 -12
- package/dist/editor/pageModel.js.map +1 -1
- package/dist/editor/personalization/ActionList.js +2 -2
- package/dist/editor/personalization/ActionList.js.map +1 -1
- package/dist/editor/personalization/ConditionTreeEditor.js +9 -9
- package/dist/editor/personalization/ConditionTreeEditor.js.map +1 -1
- package/dist/editor/personalization/PersonalizationPanel.d.ts +1 -3
- package/dist/editor/personalization/PersonalizationPanel.js +18 -39
- package/dist/editor/personalization/PersonalizationPanel.js.map +1 -1
- package/dist/editor/personalization/RuleElementPicker.js +4 -5
- package/dist/editor/personalization/RuleElementPicker.js.map +1 -1
- package/dist/editor/personalization/RuleList.js +10 -13
- package/dist/editor/personalization/RuleList.js.map +1 -1
- package/dist/editor/personalization/RuleParameterInput.js +7 -10
- package/dist/editor/personalization/RuleParameterInput.js.map +1 -1
- package/dist/editor/personalization/TreeItemPicker.js +6 -4
- package/dist/editor/personalization/TreeItemPicker.js.map +1 -1
- package/dist/editor/personalization/utils.js.map +1 -1
- package/dist/editor/picture-shared.d.ts +16 -0
- package/dist/editor/picture-shared.js +25 -0
- package/dist/editor/picture-shared.js.map +1 -0
- package/dist/editor/registry/SidebarRegistry.d.ts +96 -0
- package/dist/editor/registry/SidebarRegistry.js +166 -0
- package/dist/editor/registry/SidebarRegistry.js.map +1 -0
- package/dist/editor/registry/WorkspaceRegistry.d.ts +71 -0
- package/dist/editor/registry/WorkspaceRegistry.js +112 -0
- package/dist/editor/registry/WorkspaceRegistry.js.map +1 -0
- package/dist/editor/registry/index.d.ts +2 -0
- package/dist/editor/registry/index.js +4 -0
- package/dist/editor/registry/index.js.map +1 -0
- package/dist/editor/reviews/Comment.d.ts +1 -6
- package/dist/editor/reviews/Comment.js +103 -64
- package/dist/editor/reviews/Comment.js.map +1 -1
- package/dist/editor/reviews/CommentDisplayPopover.js +78 -244
- package/dist/editor/reviews/CommentDisplayPopover.js.map +1 -1
- package/dist/editor/reviews/CommentEditor.d.ts +2 -7
- package/dist/editor/reviews/CommentEditor.js +8 -45
- package/dist/editor/reviews/CommentEditor.js.map +1 -1
- package/dist/editor/reviews/CommentPopover.d.ts +0 -4
- package/dist/editor/reviews/CommentPopover.js +15 -92
- package/dist/editor/reviews/CommentPopover.js.map +1 -1
- package/dist/editor/reviews/CommentView.d.ts +1 -4
- package/dist/editor/reviews/CommentView.js +38 -60
- package/dist/editor/reviews/CommentView.js.map +1 -1
- package/dist/editor/reviews/Comments.d.ts +2 -0
- package/dist/editor/reviews/Comments.js +51 -269
- package/dist/editor/reviews/Comments.js.map +1 -1
- package/dist/editor/reviews/CommentsAndFeedback.d.ts +8 -2
- package/dist/editor/reviews/CommentsAndFeedback.js +43 -10
- package/dist/editor/reviews/CommentsAndFeedback.js.map +1 -1
- package/dist/editor/reviews/CreateReviewConfirmStep.js +2 -2
- package/dist/editor/reviews/CreateReviewConfirmStep.js.map +1 -1
- package/dist/editor/reviews/CreateReviewDetailsStep.js +9 -9
- package/dist/editor/reviews/CreateReviewDetailsStep.js.map +1 -1
- package/dist/editor/reviews/CreateReviewDialog.js +1 -1
- package/dist/editor/reviews/CreateReviewDialog.js.map +1 -1
- package/dist/editor/reviews/CreateReviewSuccessStep.js +2 -2
- package/dist/editor/reviews/CreateReviewSuccessStep.js.map +1 -1
- package/dist/editor/reviews/DecisionsMatrix.js +26 -34
- package/dist/editor/reviews/DecisionsMatrix.js.map +1 -1
- package/dist/editor/reviews/DiffView.js +6 -6
- package/dist/editor/reviews/DiffView.js.map +1 -1
- package/dist/editor/reviews/EditReviewSettingsDialog.js +54 -68
- package/dist/editor/reviews/EditReviewSettingsDialog.js.map +1 -1
- package/dist/editor/reviews/ItemTreeSelector.js +1 -1
- package/dist/editor/reviews/ItemTreeSelector.js.map +1 -1
- package/dist/editor/reviews/LatestFeedback.js +49 -26
- package/dist/editor/reviews/LatestFeedback.js.map +1 -1
- package/dist/editor/reviews/PagesPanel.d.ts +21 -0
- package/dist/editor/reviews/PagesPanel.js +140 -0
- package/dist/editor/reviews/PagesPanel.js.map +1 -0
- package/dist/editor/reviews/PreconfiguredReviewerSelector.js +1 -1
- package/dist/editor/reviews/PreconfiguredReviewerSelector.js.map +1 -1
- package/dist/editor/reviews/PreviewInfo.d.ts +1 -0
- package/dist/editor/reviews/PreviewInfo.js +9 -0
- package/dist/editor/reviews/PreviewInfo.js.map +1 -0
- package/dist/editor/reviews/ReviewCard.js +11 -12
- package/dist/editor/reviews/ReviewCard.js.map +1 -1
- package/dist/editor/reviews/ReviewDetail.js +5 -5
- package/dist/editor/reviews/ReviewDetail.js.map +1 -1
- package/dist/editor/reviews/ReviewersPanel.js +19 -33
- package/dist/editor/reviews/ReviewersPanel.js.map +1 -1
- package/dist/editor/reviews/ReviewsList.js +3 -4
- package/dist/editor/reviews/ReviewsList.js.map +1 -1
- package/dist/editor/reviews/SuggestedEdit.d.ts +1 -4
- package/dist/editor/reviews/SuggestedEdit.js +61 -101
- package/dist/editor/reviews/SuggestedEdit.js.map +1 -1
- package/dist/editor/reviews/SuggestionDisplayPopover.js +47 -45
- package/dist/editor/reviews/SuggestionDisplayPopover.js.map +1 -1
- package/dist/editor/reviews/commentAi.js +27 -96
- package/dist/editor/reviews/commentAi.js.map +1 -1
- package/dist/editor/reviews/reviewCommands.js +2 -2
- package/dist/editor/reviews/reviewCommands.js.map +1 -1
- package/dist/editor/reviews/useMultiReview.js +4 -5
- package/dist/editor/reviews/useMultiReview.js.map +1 -1
- package/dist/editor/services/agentDialogService.test.d.ts +1 -0
- package/dist/editor/services/agentDialogService.test.js +56 -0
- package/dist/editor/services/agentDialogService.test.js.map +1 -0
- package/dist/editor/services/agentService.d.ts +3 -59
- package/dist/editor/services/agentService.js +12 -82
- package/dist/editor/services/agentService.js.map +1 -1
- package/dist/editor/services/agentStatus.js +1 -1
- package/dist/editor/services/agentStatus.js.map +1 -1
- package/dist/editor/services/agentSubscriptionRegistry.js +13 -12
- package/dist/editor/services/agentSubscriptionRegistry.js.map +1 -1
- package/dist/editor/services/agentSubscriptionRegistry.test.d.ts +1 -0
- package/dist/editor/services/agentSubscriptionRegistry.test.js +104 -0
- package/dist/editor/services/agentSubscriptionRegistry.test.js.map +1 -0
- package/dist/editor/services/aiService.d.ts +38 -8
- package/dist/editor/services/aiService.js +64 -7
- package/dist/editor/services/aiService.js.map +1 -1
- package/dist/editor/services/contentService.d.ts +1 -6
- package/dist/editor/services/contentService.js +20 -7
- package/dist/editor/services/contentService.js.map +1 -1
- package/dist/editor/services/contextService.js.map +1 -1
- package/dist/editor/services/customCommandsService.js.map +1 -1
- package/dist/editor/services/editService.d.ts +0 -4
- package/dist/editor/services/editService.js +3 -5
- package/dist/editor/services/editService.js.map +1 -1
- package/dist/editor/services/indexService.js.map +1 -1
- package/dist/editor/services/indicatorService.js.map +1 -1
- package/dist/editor/services/localStorageService.js +3 -3
- package/dist/editor/services/localStorageService.js.map +1 -1
- package/dist/editor/services/notificationService.d.ts +0 -4
- package/dist/editor/services/notificationService.js +1 -5
- package/dist/editor/services/notificationService.js.map +1 -1
- package/dist/editor/services/personalizationService.js.map +1 -1
- package/dist/editor/services/reviewsService.d.ts +3 -6
- package/dist/editor/services/reviewsService.js +2 -10
- package/dist/editor/services/reviewsService.js.map +1 -1
- package/dist/editor/services/serviceHelper.d.ts +0 -8
- package/dist/editor/services/serviceHelper.js +0 -59
- package/dist/editor/services/serviceHelper.js.map +1 -1
- package/dist/editor/services/suggestedEditsService.js.map +1 -1
- package/dist/editor/services/systemService.d.ts +0 -49
- package/dist/editor/services/systemService.js +0 -32
- package/dist/editor/services/systemService.js.map +1 -1
- package/dist/editor/services/templateBuilderService.js +6 -5
- package/dist/editor/services/templateBuilderService.js.map +1 -1
- package/dist/editor/services-server/api.d.ts +18 -0
- package/dist/editor/services-server/api.js +116 -0
- package/dist/editor/services-server/api.js.map +1 -0
- package/dist/editor/settings/About.js +32 -219
- package/dist/editor/settings/About.js.map +1 -1
- package/dist/editor/settings/IndexOverview.js +9 -10
- package/dist/editor/settings/IndexOverview.js.map +1 -1
- package/dist/editor/settings/Info.d.ts +1 -0
- package/dist/editor/settings/Info.js +11 -0
- package/dist/editor/settings/Info.js.map +1 -0
- package/dist/editor/settings/QuotaInfo.js +69 -90
- package/dist/editor/settings/QuotaInfo.js.map +1 -1
- package/dist/editor/settings/QuotaUserPicker.js +55 -15
- package/dist/editor/settings/QuotaUserPicker.js.map +1 -1
- package/dist/editor/settings/SettingsBreadcrumb.d.ts +6 -3
- package/dist/editor/settings/SettingsBreadcrumb.js +2 -18
- package/dist/editor/settings/SettingsBreadcrumb.js.map +1 -1
- package/dist/editor/settings/SettingsHeaderActionsContext.d.ts +3 -9
- package/dist/editor/settings/SettingsHeaderActionsContext.js +6 -6
- package/dist/editor/settings/SettingsHeaderActionsContext.js.map +1 -1
- package/dist/editor/settings/SettingsView.js +28 -25
- package/dist/editor/settings/SettingsView.js.map +1 -1
- package/dist/editor/settings/Status.d.ts +1 -0
- package/dist/editor/settings/Status.js +89 -0
- package/dist/editor/settings/Status.js.map +1 -0
- package/dist/editor/settings/StatusSummary.js +27 -17
- package/dist/editor/settings/StatusSummary.js.map +1 -1
- package/dist/editor/settings/WebSocketMessages.d.ts +1 -0
- package/dist/editor/settings/WebSocketMessages.js +74 -0
- package/dist/editor/settings/WebSocketMessages.js.map +1 -0
- package/dist/editor/settings/index/AdvancedSettings.d.ts +1 -1
- package/dist/editor/settings/index/AdvancedSettings.js +11 -13
- package/dist/editor/settings/index/AdvancedSettings.js.map +1 -1
- package/dist/editor/settings/index/CollectionWarningsDisplay.js +1 -1
- package/dist/editor/settings/index/CollectionWarningsDisplay.js.map +1 -1
- package/dist/editor/settings/index/EmbeddingProviderInfo.js +5 -7
- package/dist/editor/settings/index/EmbeddingProviderInfo.js.map +1 -1
- package/dist/editor/settings/index/IndexStatusCards.js +2 -3
- package/dist/editor/settings/index/IndexStatusCards.js.map +1 -1
- package/dist/editor/settings/index/LatestEmbeddingsList.js +1 -3
- package/dist/editor/settings/index/LatestEmbeddingsList.js.map +1 -1
- package/dist/editor/settings/index/QueueErrorsDisplay.js +1 -1
- package/dist/editor/settings/index/QueueErrorsDisplay.js.map +1 -1
- package/dist/editor/settings/index/RebuildIndexSection.js +22 -24
- package/dist/editor/settings/index/RebuildIndexSection.js.map +1 -1
- package/dist/editor/settings/index/RecentBatchesList.js +18 -20
- package/dist/editor/settings/index/RecentBatchesList.js.map +1 -1
- package/dist/editor/settings/index/types.d.ts +2 -0
- package/dist/editor/settings/index/useIndexStatus.js +2 -10
- package/dist/editor/settings/index/useIndexStatus.js.map +1 -1
- package/dist/editor/settings/index/utils.js +16 -16
- package/dist/editor/settings/index/utils.js.map +1 -1
- package/dist/editor/settings/panels/AgentProfileConfigPanel.d.ts +1 -2
- package/dist/editor/settings/panels/AgentProfileConfigPanel.js +3 -7
- package/dist/editor/settings/panels/AgentProfileConfigPanel.js.map +1 -1
- package/dist/editor/settings/panels/AgentProfileEditorPanel.d.ts +0 -1
- package/dist/editor/settings/panels/AgentProfileEditorPanel.js +1 -1
- package/dist/editor/settings/panels/AgentProfileEditorPanel.js.map +1 -1
- package/dist/editor/settings/panels/AgentsPanel.js +8 -30
- package/dist/editor/settings/panels/AgentsPanel.js.map +1 -1
- package/dist/editor/settings/panels/ClusterInstancesPanel.js +54 -49
- package/dist/editor/settings/panels/ClusterInstancesPanel.js.map +1 -1
- package/dist/editor/settings/panels/CreateAgentProfileDialog.js +2 -2
- package/dist/editor/settings/panels/CreateAgentProfileDialog.js.map +1 -1
- package/dist/editor/settings/panels/CreateJavaScriptToolDialog.js +3 -3
- package/dist/editor/settings/panels/CreateJavaScriptToolDialog.js.map +1 -1
- package/dist/editor/settings/panels/GroupedFieldConfigPanel.js +5 -7
- package/dist/editor/settings/panels/GroupedFieldConfigPanel.js.map +1 -1
- package/dist/editor/settings/panels/ItemConfigPanel.js +3 -4
- package/dist/editor/settings/panels/ItemConfigPanel.js.map +1 -1
- package/dist/editor/settings/panels/JavaScriptToolAgentPanel.js +2 -4
- package/dist/editor/settings/panels/JavaScriptToolAgentPanel.js.map +1 -1
- package/dist/editor/settings/panels/JavaScriptToolConfigPanel.js +1 -1
- package/dist/editor/settings/panels/JavaScriptToolConfigPanel.js.map +1 -1
- package/dist/editor/settings/panels/JavaScriptToolsPanel.js +13 -27
- package/dist/editor/settings/panels/JavaScriptToolsPanel.js.map +1 -1
- package/dist/editor/settings/panels/McpToolsPanel.js +16 -36
- package/dist/editor/settings/panels/McpToolsPanel.js.map +1 -1
- package/dist/editor/settings/panels/ModelConfigPanel.js +1 -1
- package/dist/editor/settings/panels/ModelConfigPanel.js.map +1 -1
- package/dist/editor/settings/panels/ModelsPanel.js +38 -107
- package/dist/editor/settings/panels/ModelsPanel.js.map +1 -1
- package/dist/editor/settings/panels/PersistentLogsPanel.js +14 -25
- package/dist/editor/settings/panels/PersistentLogsPanel.js.map +1 -1
- package/dist/editor/settings/panels/ProjectTemplateAgentPanel.d.ts +1 -2
- package/dist/editor/settings/panels/ProjectTemplateAgentPanel.js +3 -6
- package/dist/editor/settings/panels/ProjectTemplateAgentPanel.js.map +1 -1
- package/dist/editor/settings/panels/ProjectTemplateSelector.js +42 -9
- package/dist/editor/settings/panels/ProjectTemplateSelector.js.map +1 -1
- package/dist/editor/settings/panels/ProjectTemplatesPanel.js +90 -119
- package/dist/editor/settings/panels/ProjectTemplatesPanel.js.map +1 -1
- package/dist/editor/settings/panels/ProviderIcon.js +8 -8
- package/dist/editor/settings/panels/ProviderIcon.js.map +1 -1
- package/dist/editor/settings/panels/ProvidersPanel.js +35 -55
- package/dist/editor/settings/panels/ProvidersPanel.js.map +1 -1
- package/dist/editor/settings/panels/SearchConfigPanel.js +11 -13
- package/dist/editor/settings/panels/SearchConfigPanel.js.map +1 -1
- package/dist/editor/settings/panels/SettingsPanel.js +2 -3
- package/dist/editor/settings/panels/SettingsPanel.js.map +1 -1
- package/dist/editor/settings/panels/StatusPanel.js +14 -39
- package/dist/editor/settings/panels/StatusPanel.js.map +1 -1
- package/dist/editor/settings/panels/index.d.ts +0 -5
- package/dist/editor/settings/panels/index.js +0 -5
- package/dist/editor/settings/panels/index.js.map +1 -1
- package/dist/editor/settings/panels/useSidebarEditor.d.ts +15 -0
- package/dist/editor/settings/panels/useSidebarEditor.js +24 -0
- package/dist/editor/settings/panels/useSidebarEditor.js.map +1 -0
- package/dist/editor/settings/status/coreStatusChecks.js +7 -118
- package/dist/editor/settings/status/coreStatusChecks.js.map +1 -1
- package/dist/editor/settings/status/useStartupChecks.js +1 -1
- package/dist/editor/settings/status/useStartupChecks.js.map +1 -1
- package/dist/editor/setup-wizard/steps/CompleteStep.js +3 -6
- package/dist/editor/setup-wizard/steps/CompleteStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/CreateSettingsStep.d.ts +1 -1
- package/dist/editor/setup-wizard/steps/CreateSettingsStep.js +3 -3
- package/dist/editor/setup-wizard/steps/CreateSettingsStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/LicenseActivationStep.js +8 -12
- package/dist/editor/setup-wizard/steps/LicenseActivationStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/LicenseEmailStep.js +3 -3
- package/dist/editor/setup-wizard/steps/LicenseEmailStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/ModelSelectionStep.js +20 -21
- package/dist/editor/setup-wizard/steps/ModelSelectionStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/ProviderStep.js +15 -25
- package/dist/editor/setup-wizard/steps/ProviderStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/WelcomeStep.js +1 -1
- package/dist/editor/setup-wizard/steps/WelcomeStep.js.map +1 -1
- package/dist/editor/sidebar/Completions.js +1 -1
- package/dist/editor/sidebar/Completions.js.map +1 -1
- package/dist/editor/sidebar/ComponentPalette.d.ts +1 -1
- package/dist/editor/sidebar/ComponentPalette.js +26 -61
- package/dist/editor/sidebar/ComponentPalette.js.map +1 -1
- package/dist/editor/sidebar/ComponentTree.js +40 -214
- package/dist/editor/sidebar/ComponentTree.js.map +1 -1
- package/dist/editor/sidebar/DictionaryEditor.js +1 -1
- package/dist/editor/sidebar/DictionaryEditor.js.map +1 -1
- package/dist/editor/sidebar/Divider.d.ts +6 -0
- package/dist/editor/sidebar/Divider.js +6 -0
- package/dist/editor/sidebar/Divider.js.map +1 -0
- package/dist/editor/sidebar/EditHistory.js +4 -17
- package/dist/editor/sidebar/EditHistory.js.map +1 -1
- package/dist/editor/sidebar/Favorites.d.ts +1 -5
- package/dist/editor/sidebar/Favorites.js +57 -41
- package/dist/editor/sidebar/Favorites.js.map +1 -1
- package/dist/editor/sidebar/Insert.js +1 -1
- package/dist/editor/sidebar/LabelButton.d.ts +5 -0
- package/dist/editor/sidebar/LabelButton.js +12 -0
- package/dist/editor/sidebar/LabelButton.js.map +1 -0
- package/dist/editor/sidebar/MainContentTree.js +2 -5
- package/dist/editor/sidebar/MainContentTree.js.map +1 -1
- package/dist/editor/sidebar/MobileWorkspacePopover.d.ts +2 -2
- package/dist/editor/sidebar/MobileWorkspacePopover.js +3 -3
- package/dist/editor/sidebar/MobileWorkspacePopover.js.map +1 -1
- package/dist/editor/sidebar/MorePanelsButton.js +2 -2
- package/dist/editor/sidebar/MorePanelsButton.js.map +1 -1
- package/dist/editor/sidebar/NavigationPanelItem.js +5 -6
- package/dist/editor/sidebar/NavigationPanelItem.js.map +1 -1
- package/dist/editor/sidebar/NavigationPanelMenuItem.js +2 -2
- package/dist/editor/sidebar/NavigationPanelMenuItem.js.map +1 -1
- package/dist/editor/sidebar/OperationItem.js +25 -111
- package/dist/editor/sidebar/OperationItem.js.map +1 -1
- package/dist/editor/sidebar/Performance.d.ts +1 -0
- package/dist/editor/sidebar/Performance.js +32 -0
- package/dist/editor/sidebar/Performance.js.map +1 -0
- package/dist/editor/sidebar/SEOInfo.d.ts +1 -0
- package/dist/editor/sidebar/SEOInfo.js +158 -0
- package/dist/editor/sidebar/SEOInfo.js.map +1 -0
- package/dist/editor/sidebar/Sidebar.d.ts +1 -0
- package/dist/editor/sidebar/Sidebar.js +11 -0
- package/dist/editor/sidebar/Sidebar.js.map +1 -0
- package/dist/editor/sidebar/SidebarPanel.js +15 -21
- package/dist/editor/sidebar/SidebarPanel.js.map +1 -1
- package/dist/editor/sidebar/SidebarStack.js +0 -2
- package/dist/editor/sidebar/SidebarStack.js.map +1 -1
- package/dist/editor/sidebar/TimelineView.js +3 -3
- package/dist/editor/sidebar/TimelineView.js.map +1 -1
- package/dist/editor/sidebar/Validation.js +3 -6
- package/dist/editor/sidebar/Validation.js.map +1 -1
- package/dist/editor/sidebar/Workbox.js +77 -36
- package/dist/editor/sidebar/Workbox.js.map +1 -1
- package/dist/editor/sidebar/WorkspaceButton.d.ts +1 -3
- package/dist/editor/sidebar/WorkspaceButton.js +8 -16
- package/dist/editor/sidebar/WorkspaceButton.js.map +1 -1
- package/dist/editor/sidebar/WorkspaceRail.js +25 -30
- package/dist/editor/sidebar/WorkspaceRail.js.map +1 -1
- package/dist/editor/sidebar/WorkspaceRailMobile.js +14 -5
- package/dist/editor/sidebar/WorkspaceRailMobile.js.map +1 -1
- package/dist/editor/template-wizard/TemplateBuilderDialog.js +1 -1
- package/dist/editor/template-wizard/TemplateBuilderDialog.js.map +1 -1
- package/dist/editor/template-wizard/TemplateStructureInlineEditor.js +97 -164
- package/dist/editor/template-wizard/TemplateStructureInlineEditor.js.map +1 -1
- package/dist/editor/tree-indicators/GutterColumns.js +22 -13
- package/dist/editor/tree-indicators/GutterColumns.js.map +1 -1
- package/dist/editor/tree-indicators/GutterContext.js +1 -5
- package/dist/editor/tree-indicators/GutterContext.js.map +1 -1
- package/dist/editor/ui/CenteredMessage.js +1 -1
- package/dist/editor/ui/CenteredMessage.js.map +1 -1
- package/dist/editor/ui/CopyMoveTargetSelectorDialog.js +3 -3
- package/dist/editor/ui/CopyMoveTargetSelectorDialog.js.map +1 -1
- package/dist/editor/ui/DialogButtons.d.ts +1 -3
- package/dist/editor/ui/DialogButtons.js +2 -3
- package/dist/editor/ui/DialogButtons.js.map +1 -1
- package/dist/editor/ui/DragPreview.d.ts +0 -7
- package/dist/editor/ui/DragPreview.js +10 -107
- package/dist/editor/ui/DragPreview.js.map +1 -1
- package/dist/editor/ui/ExportItemsDialog.js +1 -1
- package/dist/editor/ui/ExportItemsDialog.js.map +1 -1
- package/dist/editor/ui/HomeButton.js +1 -1
- package/dist/editor/ui/HomeButton.js.map +1 -1
- package/dist/editor/ui/IconSelectorDialog.js +8 -8
- package/dist/editor/ui/IconSelectorDialog.js.map +1 -1
- package/dist/editor/ui/Icons.d.ts +1 -1
- package/dist/editor/ui/Icons.js +10 -10
- package/dist/editor/ui/Icons.js.map +1 -1
- package/dist/editor/ui/ImportItemsDialog.js +1 -1
- package/dist/editor/ui/ImportItemsDialog.js.map +1 -1
- package/dist/editor/ui/ItemCollectionEditor.d.ts +3 -27
- package/dist/editor/ui/ItemCollectionEditor.js +10 -54
- package/dist/editor/ui/ItemCollectionEditor.js.map +1 -1
- package/dist/editor/ui/ItemList.js +1 -1
- package/dist/editor/ui/ItemList.js.map +1 -1
- package/dist/editor/ui/ItemNameDialogNew.js +1 -1
- package/dist/editor/ui/ItemNameDialogNew.js.map +1 -1
- package/dist/editor/ui/ItemSearch.d.ts +0 -1
- package/dist/editor/ui/ItemSearch.js +4 -4
- package/dist/editor/ui/ItemSearch.js.map +1 -1
- package/dist/editor/ui/PerfectTree.d.ts +1 -24
- package/dist/editor/ui/PerfectTree.js +19 -39
- package/dist/editor/ui/PerfectTree.js.map +1 -1
- package/dist/editor/ui/PublishItemDialog.d.ts +1 -1
- package/dist/editor/ui/PublishItemDialog.js +75 -40
- package/dist/editor/ui/PublishItemDialog.js.map +1 -1
- package/dist/editor/ui/PublishRestrictionsDialog.js +64 -70
- package/dist/editor/ui/PublishRestrictionsDialog.js.map +1 -1
- package/dist/editor/ui/Section.js +5 -5
- package/dist/editor/ui/Section.js.map +1 -1
- package/dist/editor/ui/SharedFolderSelectorDialog.js +1 -1
- package/dist/editor/ui/SharedFolderSelectorDialog.js.map +1 -1
- package/dist/editor/ui/SimpleIconButton.d.ts +2 -9
- package/dist/editor/ui/SimpleIconButton.js +5 -20
- package/dist/editor/ui/SimpleIconButton.js.map +1 -1
- package/dist/editor/ui/SimpleMenu.js +6 -7
- package/dist/editor/ui/SimpleMenu.js.map +1 -1
- package/dist/editor/ui/SimpleTable.js +1 -1
- package/dist/editor/ui/SimpleTable.js.map +1 -1
- package/dist/editor/ui/SimpleTabs.d.ts +2 -6
- package/dist/editor/ui/SimpleTabs.js +19 -54
- package/dist/editor/ui/SimpleTabs.js.map +1 -1
- package/dist/editor/ui/SimpleToolbar.js +1 -1
- package/dist/editor/ui/SimpleToolbar.js.map +1 -1
- package/dist/editor/ui/Spinner.d.ts +1 -14
- package/dist/editor/ui/Spinner.js.map +1 -1
- package/dist/editor/ui/Splitter.d.ts +0 -2
- package/dist/editor/ui/Splitter.js +15 -147
- package/dist/editor/ui/Splitter.js.map +1 -1
- package/dist/editor/ui/TemplateSelectorDialog.js +5 -5
- package/dist/editor/ui/TemplateSelectorDialog.js.map +1 -1
- package/dist/editor/ui/Toolbar.d.ts +3 -0
- package/dist/editor/ui/Toolbar.js +5 -0
- package/dist/editor/ui/Toolbar.js.map +1 -0
- package/dist/editor/ui/TreeListSelector.js +1 -1
- package/dist/editor/ui/TreeListSelector.js.map +1 -1
- package/dist/editor/utils/jsonCleaner.js +10 -10
- package/dist/editor/utils/jsonCleaner.js.map +1 -1
- package/dist/editor/utils/keyboardNavigation.js +1 -2
- package/dist/editor/utils/keyboardNavigation.js.map +1 -1
- package/dist/editor/utils/selectionContext.js.map +1 -1
- package/dist/editor/utils/useMemoDebug.d.ts +1 -0
- package/dist/editor/utils/useMemoDebug.js +18 -0
- package/dist/editor/utils/useMemoDebug.js.map +1 -0
- package/dist/editor/utils/versionAtDate.js.map +1 -1
- package/dist/editor/utils.d.ts +17 -7
- package/dist/editor/utils.js +145 -35
- package/dist/editor/utils.js.map +1 -1
- package/dist/editor/version-diff/versionDiffHighlightStyles.d.ts +6 -6
- package/dist/editor/version-diff/versionDiffHighlightStyles.js +6 -6
- package/dist/editor/version-diff/versionDiffHighlightStyles.js.map +1 -1
- package/dist/editor/version-diff/versionDiffTargets.d.ts +8 -3
- package/dist/editor/version-diff/versionDiffTargets.js +96 -38
- package/dist/editor/version-diff/versionDiffTargets.js.map +1 -1
- package/dist/editor/views/CompareView.js +3 -3
- package/dist/editor/views/CompareView.js.map +1 -1
- package/dist/editor/views/EditView.js +1 -1
- package/dist/editor/views/EditView.js.map +1 -1
- package/dist/editor/views/EditorSlot.js +6 -7
- package/dist/editor/views/EditorSlot.js.map +1 -1
- package/dist/editor/views/ItemEditor.js +2 -2
- package/dist/editor/views/ItemEditor.js.map +1 -1
- package/dist/editor/views/MediaFolderEditView.js +2 -2
- package/dist/editor/views/MediaFolderEditView.js.map +1 -1
- package/dist/editor/views/ParheliaView.d.ts +5 -0
- package/dist/editor/views/ParheliaView.js +181 -0
- package/dist/editor/views/ParheliaView.js.map +1 -0
- package/dist/editor/views/SingleEditView.js +6 -15
- package/dist/editor/views/SingleEditView.js.map +1 -1
- package/dist/editor/views/editorSlotContext.d.ts +0 -2
- package/dist/editor/views/editorSlotContext.js +1 -10
- package/dist/editor/views/editorSlotContext.js.map +1 -1
- package/dist/index.d.ts +6 -39
- package/dist/index.js +3 -23
- package/dist/index.js.map +1 -1
- package/dist/lib/safelist.js +1 -1
- package/dist/lib/safelist.js.map +1 -1
- package/dist/lib/sanitize.js +11 -79
- package/dist/lib/sanitize.js.map +1 -1
- package/dist/licensing/EmailEntry.js +1 -2
- package/dist/licensing/EmailEntry.js.map +1 -1
- package/dist/licensing/FeatureGate.js +6 -6
- package/dist/licensing/FeatureGate.js.map +1 -1
- package/dist/licensing/LicenseActivationForm.js +1 -2
- package/dist/licensing/LicenseActivationForm.js.map +1 -1
- package/dist/licensing/LicenseCodeEntry.js +3 -7
- package/dist/licensing/LicenseCodeEntry.js.map +1 -1
- package/dist/licensing/LicenseContext.js +4 -3
- package/dist/licensing/LicenseContext.js.map +1 -1
- package/dist/licensing/LicenseOverlay.js +1 -3
- package/dist/licensing/LicenseOverlay.js.map +1 -1
- package/dist/licensing/licenseService.js +3 -4
- package/dist/licensing/licenseService.js.map +1 -1
- package/dist/licensing/types.d.ts +1 -1
- package/dist/licensing/types.js +1 -3
- package/dist/licensing/types.js.map +1 -1
- package/dist/revision.d.ts +2 -2
- package/dist/revision.js +2 -2
- package/dist/setup/services/setupWizardService.d.ts +0 -10
- package/dist/setup/services/setupWizardService.js +13 -35
- package/dist/setup/services/setupWizardService.js.map +1 -1
- package/dist/setup/utils/modelPricing.d.ts +7 -0
- package/dist/setup/utils/modelPricing.js +106 -0
- package/dist/setup/utils/modelPricing.js.map +1 -0
- package/dist/setup/wizard/steps/AddModelDialog.js +8 -8
- package/dist/setup/wizard/steps/AddModelDialog.js.map +1 -1
- package/dist/setup/wizard/steps/ImportModelDialog.js +17 -19
- package/dist/setup/wizard/steps/ImportModelDialog.js.map +1 -1
- package/dist/splash-screen/DialogWrappers.js +2 -2
- package/dist/splash-screen/DialogWrappers.js.map +1 -1
- package/dist/splash-screen/ModernSplashScreen.d.ts +0 -7
- package/dist/splash-screen/ModernSplashScreen.js +62 -570
- package/dist/splash-screen/ModernSplashScreen.js.map +1 -1
- package/dist/splash-screen/NewPage.js +17 -41
- package/dist/splash-screen/NewPage.js.map +1 -1
- package/dist/splash-screen/OpenPage.js +21 -17
- package/dist/splash-screen/OpenPage.js.map +1 -1
- package/dist/splash-screen/ParheliaAssistantChat.js +12 -13
- package/dist/splash-screen/ParheliaAssistantChat.js.map +1 -1
- package/dist/splash-screen/ParheliaLogo.d.ts +4 -0
- package/dist/splash-screen/ParheliaLogo.js +134 -0
- package/dist/splash-screen/ParheliaLogo.js.map +1 -0
- package/dist/splash-screen/RecentPages.d.ts +1 -4
- package/dist/splash-screen/RecentPages.js +26 -29
- package/dist/splash-screen/RecentPages.js.map +1 -1
- package/dist/splash-screen/SectionHeadline.d.ts +4 -0
- package/dist/splash-screen/SectionHeadline.js +7 -0
- package/dist/splash-screen/SectionHeadline.js.map +1 -0
- package/dist/task-board/TaskBoardWorkspace.js +196 -402
- package/dist/task-board/TaskBoardWorkspace.js.map +1 -1
- package/dist/task-board/components/AddDependencyDialog.js +2 -5
- package/dist/task-board/components/AddDependencyDialog.js.map +1 -1
- package/dist/task-board/components/CommentsList.js +9 -22
- package/dist/task-board/components/CommentsList.js.map +1 -1
- package/dist/task-board/components/CreateProjectDialog.js +10 -10
- package/dist/task-board/components/CreateProjectDialog.js.map +1 -1
- package/dist/task-board/components/CreateTaskDialog.js +8 -13
- package/dist/task-board/components/CreateTaskDialog.js.map +1 -1
- package/dist/task-board/components/ItemCollectionEditorDialog.js +1 -1
- package/dist/task-board/components/ItemCollectionEditorDialog.js.map +1 -1
- package/dist/task-board/components/ItemCollectionPicker.js +3 -3
- package/dist/task-board/components/ItemCollectionPicker.js.map +1 -1
- package/dist/task-board/components/ProjectAgentsPanel.d.ts +4 -0
- package/dist/task-board/components/ProjectAgentsPanel.js +156 -0
- package/dist/task-board/components/ProjectAgentsPanel.js.map +1 -0
- package/dist/task-board/components/ProjectDashboard.d.ts +21 -21
- package/dist/task-board/components/ProjectDashboard.js +127 -217
- package/dist/task-board/components/ProjectDashboard.js.map +1 -1
- package/dist/task-board/components/ProjectExecutionUserPicker.js +61 -15
- package/dist/task-board/components/ProjectExecutionUserPicker.js.map +1 -1
- package/dist/task-board/components/ProjectListContent.d.ts +0 -1
- package/dist/task-board/components/ProjectListContent.js +10 -12
- package/dist/task-board/components/ProjectListContent.js.map +1 -1
- package/dist/task-board/components/ProjectOverviewContent.js +84 -15
- package/dist/task-board/components/ProjectOverviewContent.js.map +1 -1
- package/dist/task-board/components/ProjectPropertiesPanel.d.ts +0 -2
- package/dist/task-board/components/ProjectPropertiesPanel.js +13 -17
- package/dist/task-board/components/ProjectPropertiesPanel.js.map +1 -1
- package/dist/task-board/components/ProjectSelector.d.ts +20 -0
- package/dist/task-board/components/ProjectSelector.js +10 -0
- package/dist/task-board/components/ProjectSelector.js.map +1 -0
- package/dist/task-board/components/ProjectSettingsDialog.d.ts +0 -18
- package/dist/task-board/components/ProjectSettingsDialog.js +48 -66
- package/dist/task-board/components/ProjectSettingsDialog.js.map +1 -1
- package/dist/task-board/components/TaskAgentPanel.d.ts +0 -4
- package/dist/task-board/components/TaskAgentPanel.js +8 -23
- package/dist/task-board/components/TaskAgentPanel.js.map +1 -1
- package/dist/task-board/components/TaskAssigneePicker.js +7 -18
- package/dist/task-board/components/TaskAssigneePicker.js.map +1 -1
- package/dist/task-board/components/TaskAttachmentsSection.d.ts +0 -1
- package/dist/task-board/components/TaskAttachmentsSection.js +41 -19
- package/dist/task-board/components/TaskAttachmentsSection.js.map +1 -1
- package/dist/task-board/components/TaskBoardMyTasksSidebar.js +29 -26
- package/dist/task-board/components/TaskBoardMyTasksSidebar.js.map +1 -1
- package/dist/task-board/components/TaskBoardProjectListSidebar.js +14 -70
- package/dist/task-board/components/TaskBoardProjectListSidebar.js.map +1 -1
- package/dist/task-board/components/TaskBoardTitlebar.js +13 -8
- package/dist/task-board/components/TaskBoardTitlebar.js.map +1 -1
- package/dist/task-board/components/TaskCard.js +10 -29
- package/dist/task-board/components/TaskCard.js.map +1 -1
- package/dist/task-board/components/TaskDetailDialog.d.ts +12 -0
- package/dist/task-board/components/TaskDetailDialog.js +8 -0
- package/dist/task-board/components/TaskDetailDialog.js.map +1 -0
- package/dist/task-board/components/TaskDetailPanel.d.ts +0 -1
- package/dist/task-board/components/TaskDetailPanel.js +32 -45
- package/dist/task-board/components/TaskDetailPanel.js.map +1 -1
- package/dist/task-board/components/TaskReviewActions.d.ts +0 -1
- package/dist/task-board/components/TaskReviewActions.js +4 -7
- package/dist/task-board/components/TaskReviewActions.js.map +1 -1
- package/dist/task-board/components/TaskRow.js +18 -17
- package/dist/task-board/components/TaskRow.js.map +1 -1
- package/dist/task-board/components/TaskboardPersistentLogPanel.js +10 -17
- package/dist/task-board/components/TaskboardPersistentLogPanel.js.map +1 -1
- package/dist/task-board/components/WizardCommunicationCards.js +5 -7
- package/dist/task-board/components/WizardCommunicationCards.js.map +1 -1
- package/dist/task-board/components/WizardCommunicationCenter.d.ts +1 -7
- package/dist/task-board/components/WizardCommunicationCenter.js +7 -14
- package/dist/task-board/components/WizardCommunicationCenter.js.map +1 -1
- package/dist/task-board/components/WizardCommunicationShared.js +22 -22
- package/dist/task-board/components/WizardCommunicationShared.js.map +1 -1
- package/dist/task-board/components/WizardTask.d.ts +1 -5
- package/dist/task-board/components/WizardTask.js +31 -14
- package/dist/task-board/components/WizardTask.js.map +1 -1
- package/dist/task-board/components/WizardTaskDetailsPanel.d.ts +2 -10
- package/dist/task-board/components/WizardTaskDetailsPanel.js +11 -57
- package/dist/task-board/components/WizardTaskDetailsPanel.js.map +1 -1
- package/dist/task-board/index.d.ts +15 -0
- package/dist/task-board/index.js +18 -0
- package/dist/task-board/index.js.map +1 -0
- package/dist/task-board/persistentLogCopy.js +1 -3
- package/dist/task-board/persistentLogCopy.js.map +1 -1
- package/dist/task-board/persistentLogLabels.js.map +1 -1
- package/dist/task-board/services/taskService.d.ts +0 -7
- package/dist/task-board/services/taskService.js +2 -8
- package/dist/task-board/services/taskService.js.map +1 -1
- package/dist/task-board/taskAgentConfig.js +2 -6
- package/dist/task-board/taskAgentConfig.js.map +1 -1
- package/dist/task-board/taskAgentLink.js +3 -1
- package/dist/task-board/taskAgentLink.js.map +1 -1
- package/dist/task-board/taskBoardNavStore.d.ts +2 -4
- package/dist/task-board/taskBoardNavStore.js +2 -45
- package/dist/task-board/taskBoardNavStore.js.map +1 -1
- package/dist/task-board/taskExecutionRecords.js.map +1 -1
- package/dist/task-board/taskExecutionStatus.js +19 -14
- package/dist/task-board/taskExecutionStatus.js.map +1 -1
- package/dist/task-board/taskStatus.js +2 -2
- package/dist/task-board/taskStatus.js.map +1 -1
- package/dist/task-board/useTaskBoardAgentPanelState.js +3 -1
- package/dist/task-board/useTaskBoardAgentPanelState.js.map +1 -1
- package/dist/task-board/utils/projectHierarchy.js.map +1 -1
- package/dist/task-board/utils/taskDependencyOrdering.js +1 -2
- package/dist/task-board/utils/taskDependencyOrdering.js.map +1 -1
- package/dist/task-board/views/DependencyGraphView.d.ts +1 -42
- package/dist/task-board/views/DependencyGraphView.js +74 -239
- package/dist/task-board/views/DependencyGraphView.js.map +1 -1
- package/dist/task-board/views/KanbanView.js +49 -312
- package/dist/task-board/views/KanbanView.js.map +1 -1
- package/dist/task-board/views/ListView.js +5 -6
- package/dist/task-board/views/ListView.js.map +1 -1
- package/dist/task-board/views/PlanningView.d.ts +7 -0
- package/dist/task-board/views/PlanningView.js +112 -0
- package/dist/task-board/views/PlanningView.js.map +1 -0
- package/dist/task-board/views/WizardView.d.ts +0 -2
- package/dist/task-board/views/WizardView.js +29 -36
- package/dist/task-board/views/WizardView.js.map +1 -1
- package/dist/test/setup.d.ts +0 -0
- package/dist/test/setup.js +37 -0
- package/dist/test/setup.js.map +1 -0
- package/dist/tour/Tour.js +7 -7
- package/dist/tour/Tour.js.map +1 -1
- package/dist/tour/default-tour.js +17 -169
- package/dist/tour/default-tour.js.map +1 -1
- package/dist/tour/preview-tour.js +1 -1
- package/dist/tour/preview-tour.js.map +1 -1
- package/dist/types.d.ts +1 -16
- package/package.json +1 -13
- package/styles.css +843 -320
- package/dist/agents-view/AgentGalleryCard.d.ts +0 -12
- package/dist/agents-view/AgentGalleryCard.js +0 -12
- package/dist/agents-view/AgentGalleryCard.js.map +0 -1
- package/dist/agents-view/AgentGalleryView.d.ts +0 -18
- package/dist/agents-view/AgentGalleryView.js +0 -88
- package/dist/agents-view/AgentGalleryView.js.map +0 -1
- package/dist/agents-view/AgentProfileIcon.d.ts +0 -9
- package/dist/agents-view/AgentProfileIcon.js +0 -32
- package/dist/agents-view/AgentProfileIcon.js.map +0 -1
- package/dist/agents-view/DateAgentsGroup.d.ts +0 -17
- package/dist/agents-view/DateAgentsGroup.js +0 -19
- package/dist/agents-view/DateAgentsGroup.js.map +0 -1
- package/dist/agents-view/RenameAgentDialog.d.ts +0 -12
- package/dist/agents-view/RenameAgentDialog.js +0 -40
- package/dist/agents-view/RenameAgentDialog.js.map +0 -1
- package/dist/agents-view/agentsNavStore.d.ts +0 -8
- package/dist/agents-view/agentsNavStore.js +0 -24
- package/dist/agents-view/agentsNavStore.js.map +0 -1
- package/dist/components/SearchInput.d.ts +0 -28
- package/dist/components/SearchInput.js +0 -38
- package/dist/components/SearchInput.js.map +0 -1
- package/dist/components/ui/LanguageSelectionGrid.d.ts +0 -27
- package/dist/components/ui/LanguageSelectionGrid.js +0 -41
- package/dist/components/ui/LanguageSelectionGrid.js.map +0 -1
- package/dist/components/ui/PlaceholderInputParser.d.ts +0 -9
- package/dist/components/ui/PlaceholderInputParser.js +0 -98
- package/dist/components/ui/PlaceholderInputParser.js.map +0 -1
- package/dist/components/ui/UserPicker.d.ts +0 -34
- package/dist/components/ui/UserPicker.js +0 -73
- package/dist/components/ui/UserPicker.js.map +0 -1
- package/dist/components/ui/accordion.d.ts +0 -7
- package/dist/components/ui/accordion.js +0 -17
- package/dist/components/ui/accordion.js.map +0 -1
- package/dist/components/ui/avatar.d.ts +0 -30
- package/dist/components/ui/avatar.js +0 -46
- package/dist/components/ui/avatar.js.map +0 -1
- package/dist/components/ui/close-button.d.ts +0 -13
- package/dist/components/ui/close-button.js +0 -29
- package/dist/components/ui/close-button.js.map +0 -1
- package/dist/components/ui/close-icon.d.ts +0 -7
- package/dist/components/ui/close-icon.js +0 -14
- package/dist/components/ui/close-icon.js.map +0 -1
- package/dist/components/ui/delete-button.d.ts +0 -13
- package/dist/components/ui/delete-button.js +0 -36
- package/dist/components/ui/delete-button.js.map +0 -1
- package/dist/components/ui/delete-icon.d.ts +0 -7
- package/dist/components/ui/delete-icon.js +0 -14
- package/dist/components/ui/delete-icon.js.map +0 -1
- package/dist/components/ui/mention-textarea.d.ts +0 -10
- package/dist/components/ui/mention-textarea.js +0 -180
- package/dist/components/ui/mention-textarea.js.map +0 -1
- package/dist/components/ui/multi-switch-button.d.ts +0 -22
- package/dist/components/ui/multi-switch-button.js +0 -12
- package/dist/components/ui/multi-switch-button.js.map +0 -1
- package/dist/editor/EditorLoadingOverlay.d.ts +0 -1
- package/dist/editor/EditorLoadingOverlay.js +0 -7
- package/dist/editor/EditorLoadingOverlay.js.map +0 -1
- package/dist/editor/WorkspaceTitleSwitcher.d.ts +0 -5
- package/dist/editor/WorkspaceTitleSwitcher.js +0 -67
- package/dist/editor/WorkspaceTitleSwitcher.js.map +0 -1
- package/dist/editor/ai/InlineAiTextEditTooltip.d.ts +0 -8
- package/dist/editor/ai/InlineAiTextEditTooltip.js +0 -10
- package/dist/editor/ai/InlineAiTextEditTooltip.js.map +0 -1
- package/dist/editor/ai/agentActivitySummary.d.ts +0 -108
- package/dist/editor/ai/agentActivitySummary.js +0 -390
- package/dist/editor/ai/agentActivitySummary.js.map +0 -1
- package/dist/editor/ai/inlineAiTextEditLabels.d.ts +0 -2
- package/dist/editor/ai/inlineAiTextEditLabels.js +0 -8
- package/dist/editor/ai/inlineAiTextEditLabels.js.map +0 -1
- package/dist/editor/ai/prepareInlineAiTextSelection.d.ts +0 -5
- package/dist/editor/ai/prepareInlineAiTextSelection.js +0 -86
- package/dist/editor/ai/prepareInlineAiTextSelection.js.map +0 -1
- package/dist/editor/ai/terminal/agentContextMerge.d.ts +0 -14
- package/dist/editor/ai/terminal/agentContextMerge.js +0 -105
- package/dist/editor/ai/terminal/agentContextMerge.js.map +0 -1
- package/dist/editor/ai/terminal/agentOptimisticMessage.d.ts +0 -1
- package/dist/editor/ai/terminal/agentOptimisticMessage.js +0 -4
- package/dist/editor/ai/terminal/agentOptimisticMessage.js.map +0 -1
- package/dist/editor/ai/terminal/agentPromptPlaceholders.d.ts +0 -5
- package/dist/editor/ai/terminal/agentPromptPlaceholders.js +0 -8
- package/dist/editor/ai/terminal/agentPromptPlaceholders.js.map +0 -1
- package/dist/editor/ai/terminal/agentQuestionnaireRecap.d.ts +0 -82
- package/dist/editor/ai/terminal/agentQuestionnaireRecap.js +0 -277
- package/dist/editor/ai/terminal/agentQuestionnaireRecap.js.map +0 -1
- package/dist/editor/ai/terminal/agentQuestionnaireTranscriptRecovery.d.ts +0 -13
- package/dist/editor/ai/terminal/agentQuestionnaireTranscriptRecovery.js +0 -87
- package/dist/editor/ai/terminal/agentQuestionnaireTranscriptRecovery.js.map +0 -1
- package/dist/editor/ai/terminal/agentSessionCostLimit.d.ts +0 -7
- package/dist/editor/ai/terminal/agentSessionCostLimit.js +0 -27
- package/dist/editor/ai/terminal/agentSessionCostLimit.js.map +0 -1
- package/dist/editor/ai/terminal/agentSessionLiveTotals.d.ts +0 -11
- package/dist/editor/ai/terminal/agentSessionLiveTotals.js +0 -127
- package/dist/editor/ai/terminal/agentSessionLiveTotals.js.map +0 -1
- package/dist/editor/ai/terminal/agentSessionMetadata.d.ts +0 -2
- package/dist/editor/ai/terminal/agentSessionMetadata.js +0 -24
- package/dist/editor/ai/terminal/agentSessionMetadata.js.map +0 -1
- package/dist/editor/ai/terminal/agentSessionSelectors.d.ts +0 -65
- package/dist/editor/ai/terminal/agentSessionSelectors.js +0 -232
- package/dist/editor/ai/terminal/agentSessionSelectors.js.map +0 -1
- package/dist/editor/ai/terminal/agentSessionSnapshot.d.ts +0 -16
- package/dist/editor/ai/terminal/agentSessionSnapshot.js +0 -77
- package/dist/editor/ai/terminal/agentSessionSnapshot.js.map +0 -1
- package/dist/editor/ai/terminal/agentSessionState.d.ts +0 -134
- package/dist/editor/ai/terminal/agentSessionState.js +0 -770
- package/dist/editor/ai/terminal/agentSessionState.js.map +0 -1
- package/dist/editor/ai/terminal/agentStartRequest.d.ts +0 -15
- package/dist/editor/ai/terminal/agentStartRequest.js +0 -25
- package/dist/editor/ai/terminal/agentStartRequest.js.map +0 -1
- package/dist/editor/ai/terminal/agentSubmitErrors.d.ts +0 -1
- package/dist/editor/ai/terminal/agentSubmitErrors.js +0 -9
- package/dist/editor/ai/terminal/agentSubmitErrors.js.map +0 -1
- package/dist/editor/ai/terminal/components/ActivitySummaryCell.d.ts +0 -21
- package/dist/editor/ai/terminal/components/ActivitySummaryCell.js +0 -133
- package/dist/editor/ai/terminal/components/ActivitySummaryCell.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentActivityOverviewPanel.d.ts +0 -7
- package/dist/editor/ai/terminal/components/AgentActivityOverviewPanel.js +0 -145
- package/dist/editor/ai/terminal/components/AgentActivityOverviewPanel.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentBanners.js +0 -16
- package/dist/editor/ai/terminal/components/AgentBanners.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentBrowserClaimBanner.d.ts +0 -10
- package/dist/editor/ai/terminal/components/AgentBrowserClaimBanner.js +0 -24
- package/dist/editor/ai/terminal/components/AgentBrowserClaimBanner.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentCostDisplay.js +0 -116
- package/dist/editor/ai/terminal/components/AgentCostDisplay.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentDocumentList.d.ts +0 -32
- package/dist/editor/ai/terminal/components/AgentDocumentList.js +0 -404
- package/dist/editor/ai/terminal/components/AgentDocumentList.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentEditHistoryButton.d.ts +0 -5
- package/dist/editor/ai/terminal/components/AgentEditHistoryButton.js +0 -12
- package/dist/editor/ai/terminal/components/AgentEditHistoryButton.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentFullPromptControls.d.ts +0 -39
- package/dist/editor/ai/terminal/components/AgentFullPromptControls.js +0 -42
- package/dist/editor/ai/terminal/components/AgentFullPromptControls.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentGreeting.d.ts +0 -8
- package/dist/editor/ai/terminal/components/AgentGreeting.js +0 -14
- package/dist/editor/ai/terminal/components/AgentGreeting.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentLoadingContent.d.ts +0 -1
- package/dist/editor/ai/terminal/components/AgentLoadingContent.js +0 -6
- package/dist/editor/ai/terminal/components/AgentLoadingContent.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentMobileStatusPopover.d.ts +0 -7
- package/dist/editor/ai/terminal/components/AgentMobileStatusPopover.js +0 -8
- package/dist/editor/ai/terminal/components/AgentMobileStatusPopover.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentModeSelector.d.ts +0 -8
- package/dist/editor/ai/terminal/components/AgentModeSelector.js +0 -90
- package/dist/editor/ai/terminal/components/AgentModeSelector.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentParentLink.d.ts +0 -6
- package/dist/editor/ai/terminal/components/AgentParentLink.js +0 -9
- package/dist/editor/ai/terminal/components/AgentParentLink.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentPredefinedPromptsButton.d.ts +0 -8
- package/dist/editor/ai/terminal/components/AgentPredefinedPromptsButton.js +0 -10
- package/dist/editor/ai/terminal/components/AgentPredefinedPromptsButton.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentProfileModelSettingsSection.d.ts +0 -16
- package/dist/editor/ai/terminal/components/AgentProfileModelSettingsSection.js +0 -15
- package/dist/editor/ai/terminal/components/AgentProfileModelSettingsSection.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentProjectProgress.d.ts +0 -12
- package/dist/editor/ai/terminal/components/AgentProjectProgress.js +0 -207
- package/dist/editor/ai/terminal/components/AgentProjectProgress.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentPromptActionButtons.d.ts +0 -14
- package/dist/editor/ai/terminal/components/AgentPromptActionButtons.js +0 -17
- package/dist/editor/ai/terminal/components/AgentPromptActionButtons.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentPromptComposer.d.ts +0 -8
- package/dist/editor/ai/terminal/components/AgentPromptComposer.js +0 -10
- package/dist/editor/ai/terminal/components/AgentPromptComposer.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentPromptInputArea.d.ts +0 -39
- package/dist/editor/ai/terminal/components/AgentPromptInputArea.js +0 -27
- package/dist/editor/ai/terminal/components/AgentPromptInputArea.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentPromptTrayPopovers.d.ts +0 -16
- package/dist/editor/ai/terminal/components/AgentPromptTrayPopovers.js +0 -93
- package/dist/editor/ai/terminal/components/AgentPromptTrayPopovers.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentReadOnlyNotice.d.ts +0 -5
- package/dist/editor/ai/terminal/components/AgentReadOnlyNotice.js +0 -7
- package/dist/editor/ai/terminal/components/AgentReadOnlyNotice.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentRunStatusBanners.d.ts +0 -8
- package/dist/editor/ai/terminal/components/AgentRunStatusBanners.js +0 -32
- package/dist/editor/ai/terminal/components/AgentRunStatusBanners.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentSettingsContent.d.ts +0 -53
- package/dist/editor/ai/terminal/components/AgentSettingsContent.js +0 -9
- package/dist/editor/ai/terminal/components/AgentSettingsContent.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentSettingsPopover.d.ts +0 -7
- package/dist/editor/ai/terminal/components/AgentSettingsPopover.js +0 -14
- package/dist/editor/ai/terminal/components/AgentSettingsPopover.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentSettingsSections.d.ts +0 -43
- package/dist/editor/ai/terminal/components/AgentSettingsSections.js +0 -33
- package/dist/editor/ai/terminal/components/AgentSettingsSections.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentSkillSettingsSection.d.ts +0 -21
- package/dist/editor/ai/terminal/components/AgentSkillSettingsSection.js +0 -48
- package/dist/editor/ai/terminal/components/AgentSkillSettingsSection.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentSummaryAssistantResponse.d.ts +0 -28
- package/dist/editor/ai/terminal/components/AgentSummaryAssistantResponse.js +0 -10
- package/dist/editor/ai/terminal/components/AgentSummaryAssistantResponse.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentSummaryErrorNotice.d.ts +0 -6
- package/dist/editor/ai/terminal/components/AgentSummaryErrorNotice.js +0 -10
- package/dist/editor/ai/terminal/components/AgentSummaryErrorNotice.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentSummaryPlaceholder.d.ts +0 -10
- package/dist/editor/ai/terminal/components/AgentSummaryPlaceholder.js +0 -13
- package/dist/editor/ai/terminal/components/AgentSummaryPlaceholder.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentSummaryPromptActions.d.ts +0 -12
- package/dist/editor/ai/terminal/components/AgentSummaryPromptActions.js +0 -21
- package/dist/editor/ai/terminal/components/AgentSummaryPromptActions.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentTerminalContextChrome.d.ts +0 -24
- package/dist/editor/ai/terminal/components/AgentTerminalContextChrome.js +0 -13
- package/dist/editor/ai/terminal/components/AgentTerminalContextChrome.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentTerminalContextPanels.d.ts +0 -23
- package/dist/editor/ai/terminal/components/AgentTerminalContextPanels.js +0 -66
- package/dist/editor/ai/terminal/components/AgentTerminalContextPanels.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentTerminalDialogHost.d.ts +0 -13
- package/dist/editor/ai/terminal/components/AgentTerminalDialogHost.js +0 -10
- package/dist/editor/ai/terminal/components/AgentTerminalDialogHost.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentTerminalFullLayout.d.ts +0 -24
- package/dist/editor/ai/terminal/components/AgentTerminalFullLayout.js +0 -24
- package/dist/editor/ai/terminal/components/AgentTerminalFullLayout.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentTerminalFullPromptControls.d.ts +0 -5
- package/dist/editor/ai/terminal/components/AgentTerminalFullPromptControls.js +0 -7
- package/dist/editor/ai/terminal/components/AgentTerminalFullPromptControls.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentTerminalFullUpperContent.d.ts +0 -57
- package/dist/editor/ai/terminal/components/AgentTerminalFullUpperContent.js +0 -98
- package/dist/editor/ai/terminal/components/AgentTerminalFullUpperContent.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentTerminalMessageGroups.d.ts +0 -20
- package/dist/editor/ai/terminal/components/AgentTerminalMessageGroups.js +0 -44
- package/dist/editor/ai/terminal/components/AgentTerminalMessageGroups.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentTerminalStatusBar.d.ts +0 -81
- package/dist/editor/ai/terminal/components/AgentTerminalStatusBar.js +0 -910
- package/dist/editor/ai/terminal/components/AgentTerminalStatusBar.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentTerminalSummaryLayout.d.ts +0 -45
- package/dist/editor/ai/terminal/components/AgentTerminalSummaryLayout.js +0 -18
- package/dist/editor/ai/terminal/components/AgentTerminalSummaryLayout.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentTerminalView.d.ts +0 -18
- package/dist/editor/ai/terminal/components/AgentTerminalView.js +0 -41
- package/dist/editor/ai/terminal/components/AgentTerminalView.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentThinkingDots.d.ts +0 -5
- package/dist/editor/ai/terminal/components/AgentThinkingDots.js +0 -9
- package/dist/editor/ai/terminal/components/AgentThinkingDots.js.map +0 -1
- package/dist/editor/ai/terminal/components/AiResponseMessage.d.ts +0 -35
- package/dist/editor/ai/terminal/components/AiResponseMessage.js +0 -1520
- package/dist/editor/ai/terminal/components/AiResponseMessage.js.map +0 -1
- package/dist/editor/ai/terminal/components/ContextInfoBar.d.ts +0 -17
- package/dist/editor/ai/terminal/components/ContextInfoBar.js +0 -588
- package/dist/editor/ai/terminal/components/ContextInfoBar.js.map +0 -1
- package/dist/editor/ai/terminal/components/EditOperationsPanel.d.ts +0 -9
- package/dist/editor/ai/terminal/components/EditOperationsPanel.js +0 -102
- package/dist/editor/ai/terminal/components/EditOperationsPanel.js.map +0 -1
- package/dist/editor/ai/terminal/components/HeartbeatMessage.d.ts +0 -4
- package/dist/editor/ai/terminal/components/HeartbeatMessage.js +0 -7
- package/dist/editor/ai/terminal/components/HeartbeatMessage.js.map +0 -1
- package/dist/editor/ai/terminal/components/InitialThinkingSplash.d.ts +0 -1
- package/dist/editor/ai/terminal/components/InitialThinkingSplash.js +0 -5
- package/dist/editor/ai/terminal/components/InitialThinkingSplash.js.map +0 -1
- package/dist/editor/ai/terminal/components/QuestionnaireRecap.d.ts +0 -9
- package/dist/editor/ai/terminal/components/QuestionnaireRecap.js +0 -56
- package/dist/editor/ai/terminal/components/QuestionnaireRecap.js.map +0 -1
- package/dist/editor/ai/terminal/components/QueuedPromptsPanel.d.ts +0 -8
- package/dist/editor/ai/terminal/components/QueuedPromptsPanel.js +0 -49
- package/dist/editor/ai/terminal/components/QueuedPromptsPanel.js.map +0 -1
- package/dist/editor/ai/terminal/components/SpawnedAgentsPanel.d.ts +0 -7
- package/dist/editor/ai/terminal/components/SpawnedAgentsPanel.js +0 -105
- package/dist/editor/ai/terminal/components/SpawnedAgentsPanel.js.map +0 -1
- package/dist/editor/ai/terminal/components/TodoListPanel.d.ts +0 -6
- package/dist/editor/ai/terminal/components/TodoListPanel.js +0 -117
- package/dist/editor/ai/terminal/components/TodoListPanel.js.map +0 -1
- package/dist/editor/ai/terminal/components/ToolCallDisplay.js +0 -842
- package/dist/editor/ai/terminal/components/ToolCallDisplay.js.map +0 -1
- package/dist/editor/ai/terminal/components/UserMessage.d.ts +0 -6
- package/dist/editor/ai/terminal/components/UserMessage.js +0 -197
- package/dist/editor/ai/terminal/components/UserMessage.js.map +0 -1
- package/dist/editor/ai/terminal/contextBreakdown.d.ts +0 -17
- package/dist/editor/ai/terminal/contextBreakdown.js +0 -58
- package/dist/editor/ai/terminal/contextBreakdown.js.map +0 -1
- package/dist/editor/ai/terminal/types.d.ts +0 -138
- package/dist/editor/ai/terminal/types.js +0 -2
- package/dist/editor/ai/terminal/types.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentActiveStreaming.d.ts +0 -6
- package/dist/editor/ai/terminal/useAgentActiveStreaming.js +0 -9
- package/dist/editor/ai/terminal/useAgentActiveStreaming.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentAssignedSkillsSync.d.ts +0 -5
- package/dist/editor/ai/terminal/useAgentAssignedSkillsSync.js +0 -19
- package/dist/editor/ai/terminal/useAgentAssignedSkillsSync.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentAutoStartOnCreate.d.ts +0 -29
- package/dist/editor/ai/terminal/useAgentAutoStartOnCreate.js +0 -68
- package/dist/editor/ai/terminal/useAgentAutoStartOnCreate.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentBrowserCapture.d.ts +0 -24
- package/dist/editor/ai/terminal/useAgentBrowserCapture.js +0 -147
- package/dist/editor/ai/terminal/useAgentBrowserCapture.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentBrowserCapturePanel.d.ts +0 -29
- package/dist/editor/ai/terminal/useAgentBrowserCapturePanel.js +0 -36
- package/dist/editor/ai/terminal/useAgentBrowserCapturePanel.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentBrowserCaptureUi.d.ts +0 -18
- package/dist/editor/ai/terminal/useAgentBrowserCaptureUi.js +0 -36
- package/dist/editor/ai/terminal/useAgentBrowserCaptureUi.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentContentChunkHandler.d.ts +0 -15
- package/dist/editor/ai/terminal/useAgentContentChunkHandler.js +0 -96
- package/dist/editor/ai/terminal/useAgentContentChunkHandler.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentContextDisplayNames.d.ts +0 -9
- package/dist/editor/ai/terminal/useAgentContextDisplayNames.js +0 -98
- package/dist/editor/ai/terminal/useAgentContextDisplayNames.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentContextUpdateHandler.d.ts +0 -7
- package/dist/editor/ai/terminal/useAgentContextUpdateHandler.js +0 -29
- package/dist/editor/ai/terminal/useAgentContextUpdateHandler.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentCostLimitActions.d.ts +0 -15
- package/dist/editor/ai/terminal/useAgentCostLimitActions.js +0 -41
- package/dist/editor/ai/terminal/useAgentCostLimitActions.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentCostLimitWatcher.d.ts +0 -11
- package/dist/editor/ai/terminal/useAgentCostLimitWatcher.js +0 -58
- package/dist/editor/ai/terminal/useAgentCostLimitWatcher.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentDraftInitializer.d.ts +0 -25
- package/dist/editor/ai/terminal/useAgentDraftInitializer.js +0 -121
- package/dist/editor/ai/terminal/useAgentDraftInitializer.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentEditorContext.d.ts +0 -16
- package/dist/editor/ai/terminal/useAgentEditorContext.js +0 -135
- package/dist/editor/ai/terminal/useAgentEditorContext.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentEditorContextPipeline.d.ts +0 -19
- package/dist/editor/ai/terminal/useAgentEditorContextPipeline.js +0 -16
- package/dist/editor/ai/terminal/useAgentEditorContextPipeline.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentEffectiveModelName.d.ts +0 -7
- package/dist/editor/ai/terminal/useAgentEffectiveModelName.js +0 -10
- package/dist/editor/ai/terminal/useAgentEffectiveModelName.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentHeartbeatMessages.d.ts +0 -16
- package/dist/editor/ai/terminal/useAgentHeartbeatMessages.js +0 -55
- package/dist/editor/ai/terminal/useAgentHeartbeatMessages.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentInfoSocketHandler.d.ts +0 -12
- package/dist/editor/ai/terminal/useAgentInfoSocketHandler.js +0 -55
- package/dist/editor/ai/terminal/useAgentInfoSocketHandler.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentInitialMetadataMerge.d.ts +0 -6
- package/dist/editor/ai/terminal/useAgentInitialMetadataMerge.js +0 -18
- package/dist/editor/ai/terminal/useAgentInitialMetadataMerge.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentInitialPrompt.d.ts +0 -16
- package/dist/editor/ai/terminal/useAgentInitialPrompt.js +0 -48
- package/dist/editor/ai/terminal/useAgentInitialPrompt.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentInlineDialogEvents.d.ts +0 -23
- package/dist/editor/ai/terminal/useAgentInlineDialogEvents.js +0 -196
- package/dist/editor/ai/terminal/useAgentInlineDialogEvents.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentInlineDialogPipeline.d.ts +0 -23
- package/dist/editor/ai/terminal/useAgentInlineDialogPipeline.js +0 -28
- package/dist/editor/ai/terminal/useAgentInlineDialogPipeline.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentInlineDialogState.d.ts +0 -22
- package/dist/editor/ai/terminal/useAgentInlineDialogState.js +0 -78
- package/dist/editor/ai/terminal/useAgentInlineDialogState.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentLoadErrorHandler.d.ts +0 -11
- package/dist/editor/ai/terminal/useAgentLoadErrorHandler.js +0 -24
- package/dist/editor/ai/terminal/useAgentLoadErrorHandler.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentLoadLifecycle.d.ts +0 -7
- package/dist/editor/ai/terminal/useAgentLoadLifecycle.js +0 -21
- package/dist/editor/ai/terminal/useAgentLoadLifecycle.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentLoadPipeline.d.ts +0 -39
- package/dist/editor/ai/terminal/useAgentLoadPipeline.js +0 -73
- package/dist/editor/ai/terminal/useAgentLoadPipeline.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentLoadedRunStateSync.d.ts +0 -13
- package/dist/editor/ai/terminal/useAgentLoadedRunStateSync.js +0 -31
- package/dist/editor/ai/terminal/useAgentLoadedRunStateSync.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentLoader.d.ts +0 -27
- package/dist/editor/ai/terminal/useAgentLoader.js +0 -77
- package/dist/editor/ai/terminal/useAgentLoader.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentMessageCompletionNotifier.d.ts +0 -6
- package/dist/editor/ai/terminal/useAgentMessageCompletionNotifier.js +0 -23
- package/dist/editor/ai/terminal/useAgentMessageCompletionNotifier.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentModeState.d.ts +0 -13
- package/dist/editor/ai/terminal/useAgentModeState.js +0 -52
- package/dist/editor/ai/terminal/useAgentModeState.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentOperationHistoryLoader.d.ts +0 -8
- package/dist/editor/ai/terminal/useAgentOperationHistoryLoader.js +0 -26
- package/dist/editor/ai/terminal/useAgentOperationHistoryLoader.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentOperationSocketHandler.d.ts +0 -6
- package/dist/editor/ai/terminal/useAgentOperationSocketHandler.js +0 -19
- package/dist/editor/ai/terminal/useAgentOperationSocketHandler.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentPendingApprovals.d.ts +0 -6
- package/dist/editor/ai/terminal/useAgentPendingApprovals.js +0 -35
- package/dist/editor/ai/terminal/useAgentPendingApprovals.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentPendingDialogRecovery.d.ts +0 -18
- package/dist/editor/ai/terminal/useAgentPendingDialogRecovery.js +0 -115
- package/dist/editor/ai/terminal/useAgentPendingDialogRecovery.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentPendingInitialPrompt.d.ts +0 -19
- package/dist/editor/ai/terminal/useAgentPendingInitialPrompt.js +0 -60
- package/dist/editor/ai/terminal/useAgentPendingInitialPrompt.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentProfileSelection.d.ts +0 -17
- package/dist/editor/ai/terminal/useAgentProfileSelection.js +0 -61
- package/dist/editor/ai/terminal/useAgentProfileSelection.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentPromptComposerHandlers.d.ts +0 -37
- package/dist/editor/ai/terminal/useAgentPromptComposerHandlers.js +0 -206
- package/dist/editor/ai/terminal/useAgentPromptComposerHandlers.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentPromptComposerProps.d.ts +0 -26
- package/dist/editor/ai/terminal/useAgentPromptComposerProps.js +0 -51
- package/dist/editor/ai/terminal/useAgentPromptComposerProps.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentPromptComposerSurface.d.ts +0 -27
- package/dist/editor/ai/terminal/useAgentPromptComposerSurface.js +0 -29
- package/dist/editor/ai/terminal/useAgentPromptComposerSurface.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentPromptDraft.d.ts +0 -11
- package/dist/editor/ai/terminal/useAgentPromptDraft.js +0 -39
- package/dist/editor/ai/terminal/useAgentPromptDraft.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentPromptQueueSocketHandler.d.ts +0 -6
- package/dist/editor/ai/terminal/useAgentPromptQueueSocketHandler.js +0 -22
- package/dist/editor/ai/terminal/useAgentPromptQueueSocketHandler.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentQuestionnaireDialogRecovery.d.ts +0 -12
- package/dist/editor/ai/terminal/useAgentQuestionnaireDialogRecovery.js +0 -49
- package/dist/editor/ai/terminal/useAgentQuestionnaireDialogRecovery.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentQueuedPromptReset.d.ts +0 -5
- package/dist/editor/ai/terminal/useAgentQueuedPromptReset.js +0 -10
- package/dist/editor/ai/terminal/useAgentQueuedPromptReset.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentQuickActions.d.ts +0 -15
- package/dist/editor/ai/terminal/useAgentQuickActions.js +0 -109
- package/dist/editor/ai/terminal/useAgentQuickActions.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentRunCompletionSocketHandler.d.ts +0 -22
- package/dist/editor/ai/terminal/useAgentRunCompletionSocketHandler.js +0 -67
- package/dist/editor/ai/terminal/useAgentRunCompletionSocketHandler.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentRunDeltaRouter.d.ts +0 -18
- package/dist/editor/ai/terminal/useAgentRunDeltaRouter.js +0 -53
- package/dist/editor/ai/terminal/useAgentRunDeltaRouter.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentRunDeltaSocketHandler.d.ts +0 -24
- package/dist/editor/ai/terminal/useAgentRunDeltaSocketHandler.js +0 -66
- package/dist/editor/ai/terminal/useAgentRunDeltaSocketHandler.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentRunDiagnostics.d.ts +0 -22
- package/dist/editor/ai/terminal/useAgentRunDiagnostics.js +0 -70
- package/dist/editor/ai/terminal/useAgentRunDiagnostics.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentRunMessagePipeline.d.ts +0 -42
- package/dist/editor/ai/terminal/useAgentRunMessagePipeline.js +0 -39
- package/dist/editor/ai/terminal/useAgentRunMessagePipeline.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentRunRefs.d.ts +0 -17
- package/dist/editor/ai/terminal/useAgentRunRefs.js +0 -44
- package/dist/editor/ai/terminal/useAgentRunRefs.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentRunResyncSocketHandler.d.ts +0 -15
- package/dist/editor/ai/terminal/useAgentRunResyncSocketHandler.js +0 -118
- package/dist/editor/ai/terminal/useAgentRunResyncSocketHandler.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentRunSequenceGuard.d.ts +0 -11
- package/dist/editor/ai/terminal/useAgentRunSequenceGuard.js +0 -22
- package/dist/editor/ai/terminal/useAgentRunSequenceGuard.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentRunStartSocketHandler.d.ts +0 -25
- package/dist/editor/ai/terminal/useAgentRunStartSocketHandler.js +0 -74
- package/dist/editor/ai/terminal/useAgentRunStartSocketHandler.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentRunStatusSocketHandler.d.ts +0 -38
- package/dist/editor/ai/terminal/useAgentRunStatusSocketHandler.js +0 -365
- package/dist/editor/ai/terminal/useAgentRunStatusSocketHandler.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentRuntimeStatus.d.ts +0 -11
- package/dist/editor/ai/terminal/useAgentRuntimeStatus.js +0 -9
- package/dist/editor/ai/terminal/useAgentRuntimeStatus.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentServerReconciler.d.ts +0 -5
- package/dist/editor/ai/terminal/useAgentServerReconciler.js +0 -22
- package/dist/editor/ai/terminal/useAgentServerReconciler.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSession.d.ts +0 -51
- package/dist/editor/ai/terminal/useAgentSession.js +0 -186
- package/dist/editor/ai/terminal/useAgentSession.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSessionCommandBindings.d.ts +0 -15
- package/dist/editor/ai/terminal/useAgentSessionCommandBindings.js +0 -30
- package/dist/editor/ai/terminal/useAgentSessionCommandBindings.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSessionErrorBridge.d.ts +0 -10
- package/dist/editor/ai/terminal/useAgentSessionErrorBridge.js +0 -14
- package/dist/editor/ai/terminal/useAgentSessionErrorBridge.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSessionFacade.d.ts +0 -51
- package/dist/editor/ai/terminal/useAgentSessionFacade.js +0 -130
- package/dist/editor/ai/terminal/useAgentSessionFacade.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSessionSocketSource.d.ts +0 -8
- package/dist/editor/ai/terminal/useAgentSessionSocketSource.js +0 -17
- package/dist/editor/ai/terminal/useAgentSessionSocketSource.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSessionSync.d.ts +0 -107
- package/dist/editor/ai/terminal/useAgentSessionSync.js +0 -192
- package/dist/editor/ai/terminal/useAgentSessionSync.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSettingsCommands.d.ts +0 -49
- package/dist/editor/ai/terminal/useAgentSettingsCommands.js +0 -210
- package/dist/editor/ai/terminal/useAgentSettingsCommands.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSettingsData.d.ts +0 -46
- package/dist/editor/ai/terminal/useAgentSettingsData.js +0 -380
- package/dist/editor/ai/terminal/useAgentSettingsData.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSettingsNavigation.d.ts +0 -10
- package/dist/editor/ai/terminal/useAgentSettingsNavigation.js +0 -33
- package/dist/editor/ai/terminal/useAgentSettingsNavigation.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSettingsPanel.d.ts +0 -87
- package/dist/editor/ai/terminal/useAgentSettingsPanel.js +0 -92
- package/dist/editor/ai/terminal/useAgentSettingsPanel.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSettingsSelectOptions.d.ts +0 -15
- package/dist/editor/ai/terminal/useAgentSettingsSelectOptions.js +0 -45
- package/dist/editor/ai/terminal/useAgentSettingsSelectOptions.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSettleCompletedRun.d.ts +0 -35
- package/dist/editor/ai/terminal/useAgentSettleCompletedRun.js +0 -51
- package/dist/editor/ai/terminal/useAgentSettleCompletedRun.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSkillActions.d.ts +0 -33
- package/dist/editor/ai/terminal/useAgentSkillActions.js +0 -210
- package/dist/editor/ai/terminal/useAgentSkillActions.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSocketMessageRouter.d.ts +0 -15
- package/dist/editor/ai/terminal/useAgentSocketMessageRouter.js +0 -52
- package/dist/editor/ai/terminal/useAgentSocketMessageRouter.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentStatusBarContent.d.ts +0 -36
- package/dist/editor/ai/terminal/useAgentStatusBarContent.js +0 -70
- package/dist/editor/ai/terminal/useAgentStatusBarContent.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentStopCommand.d.ts +0 -28
- package/dist/editor/ai/terminal/useAgentStopCommand.js +0 -55
- package/dist/editor/ai/terminal/useAgentStopCommand.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentStopGuardState.d.ts +0 -7
- package/dist/editor/ai/terminal/useAgentStopGuardState.js +0 -40
- package/dist/editor/ai/terminal/useAgentStopGuardState.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentStreamMessageFactory.d.ts +0 -5
- package/dist/editor/ai/terminal/useAgentStreamMessageFactory.js +0 -31
- package/dist/editor/ai/terminal/useAgentStreamMessageFactory.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentStreamPipeline.d.ts +0 -66
- package/dist/editor/ai/terminal/useAgentStreamPipeline.js +0 -165
- package/dist/editor/ai/terminal/useAgentStreamPipeline.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentStreamSubscription.d.ts +0 -27
- package/dist/editor/ai/terminal/useAgentStreamSubscription.js +0 -70
- package/dist/editor/ai/terminal/useAgentStreamSubscription.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentStreamWatchdog.d.ts +0 -38
- package/dist/editor/ai/terminal/useAgentStreamWatchdog.js +0 -228
- package/dist/editor/ai/terminal/useAgentStreamWatchdog.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSubmitContextBuilder.d.ts +0 -14
- package/dist/editor/ai/terminal/useAgentSubmitContextBuilder.js +0 -85
- package/dist/editor/ai/terminal/useAgentSubmitContextBuilder.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSubmitHandlers.d.ts +0 -55
- package/dist/editor/ai/terminal/useAgentSubmitHandlers.js +0 -396
- package/dist/editor/ai/terminal/useAgentSubmitHandlers.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSubmitLifecycle.d.ts +0 -31
- package/dist/editor/ai/terminal/useAgentSubmitLifecycle.js +0 -45
- package/dist/editor/ai/terminal/useAgentSubmitLifecycle.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSubmitResponseHandler.d.ts +0 -20
- package/dist/editor/ai/terminal/useAgentSubmitResponseHandler.js +0 -57
- package/dist/editor/ai/terminal/useAgentSubmitResponseHandler.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSummaryQuestionnaireScroll.d.ts +0 -5
- package/dist/editor/ai/terminal/useAgentSummaryQuestionnaireScroll.js +0 -32
- package/dist/editor/ai/terminal/useAgentSummaryQuestionnaireScroll.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentTerminalActions.d.ts +0 -23
- package/dist/editor/ai/terminal/useAgentTerminalActions.js +0 -54
- package/dist/editor/ai/terminal/useAgentTerminalActions.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentTerminalBackgroundEvents.d.ts +0 -15
- package/dist/editor/ai/terminal/useAgentTerminalBackgroundEvents.js +0 -16
- package/dist/editor/ai/terminal/useAgentTerminalBackgroundEvents.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentTerminalChrome.d.ts +0 -30
- package/dist/editor/ai/terminal/useAgentTerminalChrome.js +0 -12
- package/dist/editor/ai/terminal/useAgentTerminalChrome.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentTerminalController.d.ts +0 -2
- package/dist/editor/ai/terminal/useAgentTerminalController.js +0 -868
- package/dist/editor/ai/terminal/useAgentTerminalController.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentTerminalControls.d.ts +0 -19
- package/dist/editor/ai/terminal/useAgentTerminalControls.js +0 -21
- package/dist/editor/ai/terminal/useAgentTerminalControls.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentTerminalElementRefs.d.ts +0 -14
- package/dist/editor/ai/terminal/useAgentTerminalElementRefs.js +0 -17
- package/dist/editor/ai/terminal/useAgentTerminalElementRefs.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentTerminalNotices.d.ts +0 -10
- package/dist/editor/ai/terminal/useAgentTerminalNotices.js +0 -11
- package/dist/editor/ai/terminal/useAgentTerminalNotices.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentTerminalReadyEvents.d.ts +0 -7
- package/dist/editor/ai/terminal/useAgentTerminalReadyEvents.js +0 -29
- package/dist/editor/ai/terminal/useAgentTerminalReadyEvents.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentTerminalScroll.d.ts +0 -15
- package/dist/editor/ai/terminal/useAgentTerminalScroll.js +0 -63
- package/dist/editor/ai/terminal/useAgentTerminalScroll.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentTerminalUiState.d.ts +0 -27
- package/dist/editor/ai/terminal/useAgentTerminalUiState.js +0 -43
- package/dist/editor/ai/terminal/useAgentTerminalUiState.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentTerminalViewProps.d.ts +0 -19
- package/dist/editor/ai/terminal/useAgentTerminalViewProps.js +0 -22
- package/dist/editor/ai/terminal/useAgentTerminalViewProps.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentTerminalViewState.d.ts +0 -32
- package/dist/editor/ai/terminal/useAgentTerminalViewState.js +0 -44
- package/dist/editor/ai/terminal/useAgentTerminalViewState.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentTextareaDropHandlers.d.ts +0 -25
- package/dist/editor/ai/terminal/useAgentTextareaDropHandlers.js +0 -187
- package/dist/editor/ai/terminal/useAgentTextareaDropHandlers.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentToolApprovalResolvedEvents.d.ts +0 -14
- package/dist/editor/ai/terminal/useAgentToolApprovalResolvedEvents.js +0 -65
- package/dist/editor/ai/terminal/useAgentToolApprovalResolvedEvents.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentToolApprovalSupersede.d.ts +0 -8
- package/dist/editor/ai/terminal/useAgentToolApprovalSupersede.js +0 -53
- package/dist/editor/ai/terminal/useAgentToolApprovalSupersede.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentToolCallHandler.d.ts +0 -12
- package/dist/editor/ai/terminal/useAgentToolCallHandler.js +0 -84
- package/dist/editor/ai/terminal/useAgentToolCallHandler.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentToolResultHandler.d.ts +0 -12
- package/dist/editor/ai/terminal/useAgentToolResultHandler.js +0 -110
- package/dist/editor/ai/terminal/useAgentToolResultHandler.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentToolUiEvents.d.ts +0 -5
- package/dist/editor/ai/terminal/useAgentToolUiEvents.js +0 -24
- package/dist/editor/ai/terminal/useAgentToolUiEvents.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentUserMessageSocketHandler.d.ts +0 -9
- package/dist/editor/ai/terminal/useAgentUserMessageSocketHandler.js +0 -42
- package/dist/editor/ai/terminal/useAgentUserMessageSocketHandler.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentVoiceInput.d.ts +0 -16
- package/dist/editor/ai/terminal/useAgentVoiceInput.js +0 -231
- package/dist/editor/ai/terminal/useAgentVoiceInput.js.map +0 -1
- package/dist/editor/ai/terminal/useSuppressedQueuedPrompts.d.ts +0 -6
- package/dist/editor/ai/terminal/useSuppressedQueuedPrompts.js +0 -57
- package/dist/editor/ai/terminal/useSuppressedQueuedPrompts.js.map +0 -1
- package/dist/editor/ai/useActiveAgentConversation.d.ts +0 -5
- package/dist/editor/ai/useActiveAgentConversation.js +0 -52
- package/dist/editor/ai/useActiveAgentConversation.js.map +0 -1
- package/dist/editor/bridge/BridgeClient.d.ts +0 -73
- package/dist/editor/bridge/BridgeClient.js +0 -415
- package/dist/editor/bridge/BridgeClient.js.map +0 -1
- package/dist/editor/bridge/protocol.d.ts +0 -564
- package/dist/editor/bridge/protocol.js +0 -200
- package/dist/editor/bridge/protocol.js.map +0 -1
- package/dist/editor/client/SessionExpiredOverlay.d.ts +0 -1
- package/dist/editor/client/SessionExpiredOverlay.js +0 -25
- package/dist/editor/client/SessionExpiredOverlay.js.map +0 -1
- package/dist/editor/client/hooks/feedbackSocketState.d.ts +0 -6
- package/dist/editor/client/hooks/feedbackSocketState.js +0 -16
- package/dist/editor/client/hooks/feedbackSocketState.js.map +0 -1
- package/dist/editor/client/hooks/useReducedMotion.d.ts +0 -8
- package/dist/editor/client/hooks/useReducedMotion.js +0 -12
- package/dist/editor/client/hooks/useReducedMotion.js.map +0 -1
- package/dist/editor/client/hooks/workboxDescriptors.d.ts +0 -6
- package/dist/editor/client/hooks/workboxDescriptors.js +0 -49
- package/dist/editor/client/hooks/workboxDescriptors.js.map +0 -1
- package/dist/editor/client/manualShowMeFocus.d.ts +0 -17
- package/dist/editor/client/manualShowMeFocus.js +0 -32
- package/dist/editor/client/manualShowMeFocus.js.map +0 -1
- package/dist/editor/client/operationToasts.d.ts +0 -2
- package/dist/editor/client/operationToasts.js +0 -35
- package/dist/editor/client/operationToasts.js.map +0 -1
- package/dist/editor/client/realtime/realtimeTransport.d.ts +0 -56
- package/dist/editor/client/realtime/realtimeTransport.js +0 -197
- package/dist/editor/client/realtime/realtimeTransport.js.map +0 -1
- package/dist/editor/commands/placeholderCommands.d.ts +0 -17
- package/dist/editor/commands/placeholderCommands.js +0 -37
- package/dist/editor/commands/placeholderCommands.js.map +0 -1
- package/dist/editor/commands/reorderComponent.d.ts +0 -20
- package/dist/editor/commands/reorderComponent.js +0 -40
- package/dist/editor/commands/reorderComponent.js.map +0 -1
- package/dist/editor/componentFrameColors.d.ts +0 -11
- package/dist/editor/componentFrameColors.js +0 -47
- package/dist/editor/componentFrameColors.js.map +0 -1
- package/dist/editor/field-types/richtext/bridgeRichTextProfile.d.ts +0 -21
- package/dist/editor/field-types/richtext/bridgeRichTextProfile.js +0 -96
- package/dist/editor/field-types/richtext/bridgeRichTextProfile.js.map +0 -1
- package/dist/editor/field-types/richtext/richTextToolbarIcons.d.ts +0 -7
- package/dist/editor/field-types/richtext/richTextToolbarIcons.js +0 -49
- package/dist/editor/field-types/richtext/richTextToolbarIcons.js.map +0 -1
- package/dist/editor/field-types/useFormFieldCaretPresence.d.ts +0 -13
- package/dist/editor/field-types/useFormFieldCaretPresence.js +0 -92
- package/dist/editor/field-types/useFormFieldCaretPresence.js.map +0 -1
- package/dist/editor/field-types/useTextCompletion.d.ts +0 -20
- package/dist/editor/field-types/useTextCompletion.js +0 -166
- package/dist/editor/field-types/useTextCompletion.js.map +0 -1
- package/dist/editor/menubar/OpenInNewTabButton.d.ts +0 -15
- package/dist/editor/menubar/OpenInNewTabButton.js +0 -42
- package/dist/editor/menubar/OpenInNewTabButton.js.map +0 -1
- package/dist/editor/menubar/OperationsIndicator.d.ts +0 -7
- package/dist/editor/menubar/OperationsIndicator.js +0 -87
- package/dist/editor/menubar/OperationsIndicator.js.map +0 -1
- package/dist/editor/menubar/toolbar-sections/ContentTreeToggle.d.ts +0 -1
- package/dist/editor/menubar/toolbar-sections/ContentTreeToggle.js +0 -13
- package/dist/editor/menubar/toolbar-sections/ContentTreeToggle.js.map +0 -1
- package/dist/editor/menubar/toolbar-sections/DeviceSwitchToolbar.d.ts +0 -7
- package/dist/editor/menubar/toolbar-sections/DeviceSwitchToolbar.js +0 -132
- package/dist/editor/menubar/toolbar-sections/DeviceSwitchToolbar.js.map +0 -1
- package/dist/editor/menubar/toolbar-sections/FullscreenControl.d.ts +0 -1
- package/dist/editor/menubar/toolbar-sections/FullscreenControl.js +0 -15
- package/dist/editor/menubar/toolbar-sections/FullscreenControl.js.map +0 -1
- package/dist/editor/notifications/watchEventOptions.d.ts +0 -13
- package/dist/editor/notifications/watchEventOptions.js +0 -113
- package/dist/editor/notifications/watchEventOptions.js.map +0 -1
- package/dist/editor/page-editor-chrome/BridgeInlineFormatOverlay.d.ts +0 -8
- package/dist/editor/page-editor-chrome/BridgeInlineFormatOverlay.js +0 -526
- package/dist/editor/page-editor-chrome/BridgeInlineFormatOverlay.js.map +0 -1
- package/dist/editor/page-editor-chrome/DragInsertionOverlay.d.ts +0 -36
- package/dist/editor/page-editor-chrome/DragInsertionOverlay.js +0 -879
- package/dist/editor/page-editor-chrome/DragInsertionOverlay.js.map +0 -1
- package/dist/editor/page-editor-chrome/FeedbackHighlightBadge.d.ts +0 -22
- package/dist/editor/page-editor-chrome/FeedbackHighlightBadge.js +0 -40
- package/dist/editor/page-editor-chrome/FeedbackHighlightBadge.js.map +0 -1
- package/dist/editor/page-editor-chrome/InsertComponentMenu.d.ts +0 -26
- package/dist/editor/page-editor-chrome/InsertComponentMenu.js +0 -35
- package/dist/editor/page-editor-chrome/InsertComponentMenu.js.map +0 -1
- package/dist/editor/page-editor-chrome/bridgeInlineFormatToolbarLayout.d.ts +0 -24
- package/dist/editor/page-editor-chrome/bridgeInlineFormatToolbarLayout.js +0 -90
- package/dist/editor/page-editor-chrome/bridgeInlineFormatToolbarLayout.js.map +0 -1
- package/dist/editor/page-editor-chrome/componentDragObject.d.ts +0 -10
- package/dist/editor/page-editor-chrome/componentDragObject.js +0 -22
- package/dist/editor/page-editor-chrome/componentDragObject.js.map +0 -1
- package/dist/editor/page-editor-chrome/insertTargetLabel.d.ts +0 -6
- package/dist/editor/page-editor-chrome/insertTargetLabel.js +0 -21
- package/dist/editor/page-editor-chrome/insertTargetLabel.js.map +0 -1
- package/dist/editor/page-editor-chrome/overlay/IframeOverlayProvider.d.ts +0 -62
- package/dist/editor/page-editor-chrome/overlay/IframeOverlayProvider.js +0 -306
- package/dist/editor/page-editor-chrome/overlay/IframeOverlayProvider.js.map +0 -1
- package/dist/editor/page-editor-chrome/overlay/InsertionLine.d.ts +0 -44
- package/dist/editor/page-editor-chrome/overlay/InsertionLine.js +0 -160
- package/dist/editor/page-editor-chrome/overlay/InsertionLine.js.map +0 -1
- package/dist/editor/page-editor-chrome/overlay/geometry.d.ts +0 -83
- package/dist/editor/page-editor-chrome/overlay/geometry.js +0 -349
- package/dist/editor/page-editor-chrome/overlay/geometry.js.map +0 -1
- package/dist/editor/page-editor-chrome/overlay/placeholderZones.d.ts +0 -66
- package/dist/editor/page-editor-chrome/overlay/placeholderZones.js +0 -274
- package/dist/editor/page-editor-chrome/overlay/placeholderZones.js.map +0 -1
- package/dist/editor/page-editor-chrome/overlay/useOverlayMeasurement.d.ts +0 -10
- package/dist/editor/page-editor-chrome/overlay/useOverlayMeasurement.js +0 -28
- package/dist/editor/page-editor-chrome/overlay/useOverlayMeasurement.js.map +0 -1
- package/dist/editor/page-editor-chrome/useBridgeInlineEditing.d.ts +0 -29
- package/dist/editor/page-editor-chrome/useBridgeInlineEditing.js +0 -334
- package/dist/editor/page-editor-chrome/useBridgeInlineEditing.js.map +0 -1
- package/dist/editor/page-editor-chrome/useComponentDragHandle.d.ts +0 -23
- package/dist/editor/page-editor-chrome/useComponentDragHandle.js +0 -41
- package/dist/editor/page-editor-chrome/useComponentDragHandle.js.map +0 -1
- package/dist/editor/page-editor-chrome/useDragInsertionGesture.d.ts +0 -23
- package/dist/editor/page-editor-chrome/useDragInsertionGesture.js +0 -207
- package/dist/editor/page-editor-chrome/useDragInsertionGesture.js.map +0 -1
- package/dist/editor/page-editor-chrome/usePinnedHoveredComponentId.d.ts +0 -2
- package/dist/editor/page-editor-chrome/usePinnedHoveredComponentId.js +0 -18
- package/dist/editor/page-editor-chrome/usePinnedHoveredComponentId.js.map +0 -1
- package/dist/editor/page-viewer/MinimapDropTargets.d.ts +0 -13
- package/dist/editor/page-viewer/MinimapDropTargets.js +0 -140
- package/dist/editor/page-viewer/MinimapDropTargets.js.map +0 -1
- package/dist/editor/page-viewer/bridgeFieldPatch.d.ts +0 -19
- package/dist/editor/page-viewer/bridgeFieldPatch.js +0 -33
- package/dist/editor/page-viewer/bridgeFieldPatch.js.map +0 -1
- package/dist/editor/reviews/FeedbackCard.d.ts +0 -23
- package/dist/editor/reviews/FeedbackCard.js +0 -32
- package/dist/editor/reviews/FeedbackCard.js.map +0 -1
- package/dist/editor/reviews/FeedbackModeIntro.d.ts +0 -15
- package/dist/editor/reviews/FeedbackModeIntro.js +0 -22
- package/dist/editor/reviews/FeedbackModeIntro.js.map +0 -1
- package/dist/editor/reviews/MentionText.d.ts +0 -3
- package/dist/editor/reviews/MentionText.js +0 -139
- package/dist/editor/reviews/MentionText.js.map +0 -1
- package/dist/editor/reviews/SuggestionCommentThread.d.ts +0 -14
- package/dist/editor/reviews/SuggestionCommentThread.js +0 -151
- package/dist/editor/reviews/SuggestionCommentThread.js.map +0 -1
- package/dist/editor/reviews/commentTransientSelection.d.ts +0 -23
- package/dist/editor/reviews/commentTransientSelection.js +0 -7
- package/dist/editor/reviews/commentTransientSelection.js.map +0 -1
- package/dist/editor/reviews/feedbackAvatar.d.ts +0 -14
- package/dist/editor/reviews/feedbackAvatar.js +0 -86
- package/dist/editor/reviews/feedbackAvatar.js.map +0 -1
- package/dist/editor/reviews/feedbackCommentRules.d.ts +0 -3
- package/dist/editor/reviews/feedbackCommentRules.js +0 -15
- package/dist/editor/reviews/feedbackCommentRules.js.map +0 -1
- package/dist/editor/reviews/feedbackOrdering.d.ts +0 -5
- package/dist/editor/reviews/feedbackOrdering.js +0 -27
- package/dist/editor/reviews/feedbackOrdering.js.map +0 -1
- package/dist/editor/reviews/feedbackScrollTarget.d.ts +0 -19
- package/dist/editor/reviews/feedbackScrollTarget.js +0 -171
- package/dist/editor/reviews/feedbackScrollTarget.js.map +0 -1
- package/dist/editor/reviews/feedbackSelection.d.ts +0 -3
- package/dist/editor/reviews/feedbackSelection.js +0 -65
- package/dist/editor/reviews/feedbackSelection.js.map +0 -1
- package/dist/editor/reviews/feedbackSidebarText.d.ts +0 -2
- package/dist/editor/reviews/feedbackSidebarText.js +0 -3
- package/dist/editor/reviews/feedbackSidebarText.js.map +0 -1
- package/dist/editor/reviews/latestFeedbackData.d.ts +0 -11
- package/dist/editor/reviews/latestFeedbackData.js +0 -40
- package/dist/editor/reviews/latestFeedbackData.js.map +0 -1
- package/dist/editor/reviews/openCommentsFeedback.d.ts +0 -35
- package/dist/editor/reviews/openCommentsFeedback.js +0 -89
- package/dist/editor/reviews/openCommentsFeedback.js.map +0 -1
- package/dist/editor/reviews/suggestedEditState.d.ts +0 -14
- package/dist/editor/reviews/suggestedEditState.js +0 -110
- package/dist/editor/reviews/suggestedEditState.js.map +0 -1
- package/dist/editor/reviews/suggestionContentChange.d.ts +0 -2
- package/dist/editor/reviews/suggestionContentChange.js +0 -29
- package/dist/editor/reviews/suggestionContentChange.js.map +0 -1
- package/dist/editor/reviews/suggestionDisplayValue.d.ts +0 -43
- package/dist/editor/reviews/suggestionDisplayValue.js +0 -93
- package/dist/editor/reviews/suggestionDisplayValue.js.map +0 -1
- package/dist/editor/services/manualService.d.ts +0 -31
- package/dist/editor/services/manualService.js +0 -77
- package/dist/editor/services/manualService.js.map +0 -1
- package/dist/editor/services/userResolution.d.ts +0 -18
- package/dist/editor/services/userResolution.js +0 -86
- package/dist/editor/services/userResolution.js.map +0 -1
- package/dist/editor/services/userService.d.ts +0 -14
- package/dist/editor/services/userService.js +0 -39
- package/dist/editor/services/userService.js.map +0 -1
- package/dist/editor/settings/SettingsCard.d.ts +0 -4
- package/dist/editor/settings/SettingsCard.js +0 -7
- package/dist/editor/settings/SettingsCard.js.map +0 -1
- package/dist/editor/settings/SettingsPanelLayout.d.ts +0 -28
- package/dist/editor/settings/SettingsPanelLayout.js +0 -24
- package/dist/editor/settings/SettingsPanelLayout.js.map +0 -1
- package/dist/editor/settings/panels/AgentToolsPanel.d.ts +0 -2
- package/dist/editor/settings/panels/AgentToolsPanel.js +0 -178
- package/dist/editor/settings/panels/AgentToolsPanel.js.map +0 -1
- package/dist/editor/settings/panels/CreateMcpServerDialog.d.ts +0 -7
- package/dist/editor/settings/panels/CreateMcpServerDialog.js +0 -79
- package/dist/editor/settings/panels/CreateMcpServerDialog.js.map +0 -1
- package/dist/editor/settings/panels/FieldTypeSerializersPanel.d.ts +0 -2
- package/dist/editor/settings/panels/FieldTypeSerializersPanel.js +0 -52
- package/dist/editor/settings/panels/FieldTypeSerializersPanel.js.map +0 -1
- package/dist/editor/settings/panels/NotificationSubscriptionsPanel.d.ts +0 -2
- package/dist/editor/settings/panels/NotificationSubscriptionsPanel.js +0 -156
- package/dist/editor/settings/panels/NotificationSubscriptionsPanel.js.map +0 -1
- package/dist/editor/settings/panels/ProjectTemplateSelectorList.d.ts +0 -13
- package/dist/editor/settings/panels/ProjectTemplateSelectorList.js +0 -43
- package/dist/editor/settings/panels/ProjectTemplateSelectorList.js.map +0 -1
- package/dist/editor/settings/panels/SystemSettingsPanel.d.ts +0 -2
- package/dist/editor/settings/panels/SystemSettingsPanel.js +0 -69
- package/dist/editor/settings/panels/SystemSettingsPanel.js.map +0 -1
- package/dist/editor/settings/panels/UserPreferencesPanel.d.ts +0 -2
- package/dist/editor/settings/panels/UserPreferencesPanel.js +0 -66
- package/dist/editor/settings/panels/UserPreferencesPanel.js.map +0 -1
- package/dist/editor/sidebar/ContentTreePanel.d.ts +0 -3
- package/dist/editor/sidebar/ContentTreePanel.js +0 -14
- package/dist/editor/sidebar/ContentTreePanel.js.map +0 -1
- package/dist/editor/sidebar/contentTreeConstants.d.ts +0 -2
- package/dist/editor/sidebar/contentTreeConstants.js +0 -3
- package/dist/editor/sidebar/contentTreeConstants.js.map +0 -1
- package/dist/editor/ui/HomeListRow.d.ts +0 -11
- package/dist/editor/ui/HomeListRow.js +0 -11
- package/dist/editor/ui/HomeListRow.js.map +0 -1
- package/dist/editor/ui/LoadingState.d.ts +0 -11
- package/dist/editor/ui/LoadingState.js +0 -27
- package/dist/editor/ui/LoadingState.js.map +0 -1
- package/dist/editor/ui/PublishDialog.d.ts +0 -11
- package/dist/editor/ui/PublishDialog.js +0 -101
- package/dist/editor/ui/PublishDialog.js.map +0 -1
- package/dist/editor/ui/WorkboxItemsTable.d.ts +0 -15
- package/dist/editor/ui/WorkboxItemsTable.js +0 -142
- package/dist/editor/ui/WorkboxItemsTable.js.map +0 -1
- package/dist/editor/ui/animationSettle.d.ts +0 -32
- package/dist/editor/ui/animationSettle.js +0 -85
- package/dist/editor/ui/animationSettle.js.map +0 -1
- package/dist/editor/ui/splitterResizeEvent.d.ts +0 -9
- package/dist/editor/ui/splitterResizeEvent.js +0 -13
- package/dist/editor/ui/splitterResizeEvent.js.map +0 -1
- package/dist/editor/utils/dedupeInflight.d.ts +0 -1
- package/dist/editor/utils/dedupeInflight.js +0 -13
- package/dist/editor/utils/dedupeInflight.js.map +0 -1
- package/dist/editor/utils/expandSelectionAtCaret.d.ts +0 -15
- package/dist/editor/utils/expandSelectionAtCaret.js +0 -183
- package/dist/editor/utils/expandSelectionAtCaret.js.map +0 -1
- package/dist/editor/views/ItemEditorPane.d.ts +0 -11
- package/dist/editor/views/ItemEditorPane.js +0 -19
- package/dist/editor/views/ItemEditorPane.js.map +0 -1
- package/dist/editor/workflowFields.d.ts +0 -1
- package/dist/editor/workflowFields.js +0 -16
- package/dist/editor/workflowFields.js.map +0 -1
- package/dist/lib/pointerDrag.d.ts +0 -20
- package/dist/lib/pointerDrag.js +0 -57
- package/dist/lib/pointerDrag.js.map +0 -1
- package/dist/logging/consolePrefix.d.ts +0 -2
- package/dist/logging/consolePrefix.js +0 -49
- package/dist/logging/consolePrefix.js.map +0 -1
- package/dist/logging/index.d.ts +0 -1
- package/dist/logging/index.js +0 -2
- package/dist/logging/index.js.map +0 -1
- package/dist/logging/install-browser-console.js +0 -3
- package/dist/logging/install-browser-console.js.map +0 -1
- package/dist/task-board/components/FinishedProjectCard.d.ts +0 -5
- package/dist/task-board/components/FinishedProjectCard.js +0 -8
- package/dist/task-board/components/FinishedProjectCard.js.map +0 -1
- package/dist/task-board/components/TaskAssigneeBadge.d.ts +0 -16
- package/dist/task-board/components/TaskAssigneeBadge.js +0 -21
- package/dist/task-board/components/TaskAssigneeBadge.js.map +0 -1
- package/dist/task-board/components/TaskAttachmentDropZone.d.ts +0 -11
- package/dist/task-board/components/TaskAttachmentDropZone.js +0 -100
- package/dist/task-board/components/TaskAttachmentDropZone.js.map +0 -1
- package/dist/task-board/components/TaskBoardBreadcrumb.d.ts +0 -17
- package/dist/task-board/components/TaskBoardBreadcrumb.js +0 -14
- package/dist/task-board/components/TaskBoardBreadcrumb.js.map +0 -1
- package/dist/task-board/components/TaskBoardFilterBox.d.ts +0 -4
- package/dist/task-board/components/TaskBoardFilterBox.js +0 -7
- package/dist/task-board/components/TaskBoardFilterBox.js.map +0 -1
- package/dist/task-board/components/TaskBoardHomeView.d.ts +0 -7
- package/dist/task-board/components/TaskBoardHomeView.js +0 -21
- package/dist/task-board/components/TaskBoardHomeView.js.map +0 -1
- package/dist/task-board/components/TaskBoardProjectSelector.d.ts +0 -8
- package/dist/task-board/components/TaskBoardProjectSelector.js +0 -20
- package/dist/task-board/components/TaskBoardProjectSelector.js.map +0 -1
- package/dist/task-board/taskPriority.d.ts +0 -4
- package/dist/task-board/taskPriority.js +0 -19
- package/dist/task-board/taskPriority.js.map +0 -1
- /package/dist/editor/ai/{terminal/components/AgentBanners.d.ts → AgentBanners.d.ts} +0 -0
- /package/dist/editor/ai/{terminal/components/AgentCostDisplay.d.ts → AgentCostDisplay.d.ts} +0 -0
- /package/dist/editor/ai/{terminal/components/ToolCallDisplay.d.ts → ToolCallDisplay.d.ts} +0 -0
- /package/dist/{logging/install-browser-console.d.ts → editor/ai/agentDiagnostics.test.d.ts} +0 -0
|
@@ -4,14 +4,18 @@ import { useEffect, useMemo, useRef, useState } from "react";
|
|
|
4
4
|
import { cn } from "../../lib/utils";
|
|
5
5
|
import { useEditContext } from "../client/editContext";
|
|
6
6
|
import { usePageViewContext } from "../page-viewer/pageViewContext";
|
|
7
|
+
import { fieldKey, findComponentRectById, findFieldElements, getTextNodeAtOffset, resolveVersionDiffTargets, } from "../version-diff/versionDiffTargets";
|
|
8
|
+
import { versionDiffHighlightClasses } from "../version-diff/versionDiffHighlightStyles";
|
|
7
9
|
const SOURCE_WIDTH = 480;
|
|
8
10
|
const SOURCE_HEIGHT = 720;
|
|
9
11
|
const PREVIEW_SCALE = 0.2;
|
|
10
12
|
const PREVIEW_WIDTH = SOURCE_WIDTH * PREVIEW_SCALE;
|
|
11
13
|
const PREVIEW_HEIGHT = SOURCE_HEIGHT * PREVIEW_SCALE;
|
|
14
|
+
const SCROLL_PADDING_TOP = 16;
|
|
12
15
|
export function VersionPreviewCard({ itemDescriptor, version, className, }) {
|
|
13
16
|
const rootRef = useRef(null);
|
|
14
17
|
const [isInViewport, setIsInViewport] = useState(false);
|
|
18
|
+
const [iframe, setIframe] = useState(null);
|
|
15
19
|
useEffect(() => {
|
|
16
20
|
const element = rootRef.current;
|
|
17
21
|
if (!element)
|
|
@@ -29,9 +33,35 @@ export function VersionPreviewCard({ itemDescriptor, version, className, }) {
|
|
|
29
33
|
observer.observe(element);
|
|
30
34
|
return () => observer.disconnect();
|
|
31
35
|
}, []);
|
|
32
|
-
|
|
36
|
+
const handleWheel = (event) => {
|
|
37
|
+
const iframeWindow = iframe?.contentWindow;
|
|
38
|
+
const iframeDocument = iframeWindow?.document;
|
|
39
|
+
const scrollElement = iframeDocument?.scrollingElement || iframeDocument?.documentElement;
|
|
40
|
+
if (!iframeWindow || !scrollElement)
|
|
41
|
+
return;
|
|
42
|
+
const canScrollY = scrollElement.scrollHeight > scrollElement.clientHeight &&
|
|
43
|
+
((event.deltaY < 0 && scrollElement.scrollTop > 0) ||
|
|
44
|
+
(event.deltaY > 0 &&
|
|
45
|
+
scrollElement.scrollTop + scrollElement.clientHeight <
|
|
46
|
+
scrollElement.scrollHeight));
|
|
47
|
+
const canScrollX = scrollElement.scrollWidth > scrollElement.clientWidth &&
|
|
48
|
+
((event.deltaX < 0 && scrollElement.scrollLeft > 0) ||
|
|
49
|
+
(event.deltaX > 0 &&
|
|
50
|
+
scrollElement.scrollLeft + scrollElement.clientWidth <
|
|
51
|
+
scrollElement.scrollWidth));
|
|
52
|
+
if (!canScrollY && !canScrollX)
|
|
53
|
+
return;
|
|
54
|
+
event.preventDefault();
|
|
55
|
+
event.stopPropagation();
|
|
56
|
+
iframeWindow.scrollBy({
|
|
57
|
+
top: event.deltaY,
|
|
58
|
+
left: event.deltaX,
|
|
59
|
+
behavior: "instant",
|
|
60
|
+
});
|
|
61
|
+
};
|
|
62
|
+
return (_jsx("div", { ref: rootRef, onWheel: handleWheel, className: cn("relative shrink-0 overflow-hidden rounded border border-gray-200 bg-white shadow-sm", className), "data-testid": "version-preview-card", style: { width: PREVIEW_WIDTH, height: PREVIEW_HEIGHT }, "aria-hidden": "true", children: isInViewport ? (_jsx(VersionPreviewCardContent, { itemDescriptor: itemDescriptor, version: version, iframe: iframe, setIframe: setIframe })) : (_jsx("div", { className: "absolute inset-0 bg-gray-50" })) }));
|
|
33
63
|
}
|
|
34
|
-
function VersionPreviewCardContent({ itemDescriptor, version, }) {
|
|
64
|
+
function VersionPreviewCardContent({ itemDescriptor, version, iframe, setIframe, }) {
|
|
35
65
|
const editContext = useEditContext();
|
|
36
66
|
const [loaded, setLoaded] = useState(false);
|
|
37
67
|
const descriptor = useMemo(() => ({
|
|
@@ -39,12 +69,7 @@ function VersionPreviewCardContent({ itemDescriptor, version, }) {
|
|
|
39
69
|
language: itemDescriptor.language,
|
|
40
70
|
version,
|
|
41
71
|
database: itemDescriptor.database,
|
|
42
|
-
}), [
|
|
43
|
-
itemDescriptor.database,
|
|
44
|
-
itemDescriptor.id,
|
|
45
|
-
itemDescriptor.language,
|
|
46
|
-
version,
|
|
47
|
-
]);
|
|
72
|
+
}), [itemDescriptor.database, itemDescriptor.id, itemDescriptor.language, version]);
|
|
48
73
|
const pageView = usePageViewContext({
|
|
49
74
|
pageItemDescriptor: descriptor,
|
|
50
75
|
itemsRepository: editContext?.itemsRepository,
|
|
@@ -54,15 +79,45 @@ function VersionPreviewCardContent({ itemDescriptor, version, }) {
|
|
|
54
79
|
const previewSrc = pageView.editUrl || pageView.previewUrl;
|
|
55
80
|
useEffect(() => {
|
|
56
81
|
setLoaded(false);
|
|
82
|
+
setIframe(null);
|
|
57
83
|
}, [previewSrc]);
|
|
58
84
|
if (!previewSrc) {
|
|
59
|
-
return (_jsx("div", { className: "
|
|
85
|
+
return (_jsx("div", { className: "absolute inset-0 flex items-center justify-center bg-gray-50 text-[10px] text-gray-400", children: "No preview" }));
|
|
60
86
|
}
|
|
61
|
-
return (_jsxs(_Fragment, { children: [!loaded && (_jsx("div", { className: "
|
|
87
|
+
return (_jsxs(_Fragment, { children: [!loaded && (_jsx("div", { className: "absolute inset-0 z-10 animate-pulse bg-gray-100" })), _jsx("iframe", { ref: setIframe, title: `Version ${version} preview`, src: previewSrc, tabIndex: -1, loading: "lazy", onLoad: () => setLoaded(true), className: "pointer-events-none origin-top-left border-0", style: {
|
|
62
88
|
width: SOURCE_WIDTH,
|
|
63
89
|
height: SOURCE_HEIGHT,
|
|
64
90
|
transform: `scale(${PREVIEW_SCALE})`,
|
|
65
|
-
} }, previewSrc)] }));
|
|
91
|
+
} }, previewSrc), loaded && iframe && editContext?.itemsRepository && (_jsx(VersionPreviewDiffOverlay, { iframe: iframe, pageItem: descriptor, scale: PREVIEW_SCALE }))] }));
|
|
92
|
+
}
|
|
93
|
+
function scrollIframeToFirstTarget(iframe, fieldTargets, componentTargets) {
|
|
94
|
+
const win = iframe.contentWindow;
|
|
95
|
+
if (!win)
|
|
96
|
+
return;
|
|
97
|
+
const currentScroll = win.scrollY;
|
|
98
|
+
let topMost = null;
|
|
99
|
+
for (const target of componentTargets) {
|
|
100
|
+
const rect = findComponentRectById(iframe, target.visualId);
|
|
101
|
+
if (!rect)
|
|
102
|
+
continue;
|
|
103
|
+
const docTop = rect.top + currentScroll;
|
|
104
|
+
if (topMost == null || docTop < topMost)
|
|
105
|
+
topMost = docTop;
|
|
106
|
+
}
|
|
107
|
+
for (const target of fieldTargets) {
|
|
108
|
+
for (const element of findFieldElements(iframe, target.descriptor)) {
|
|
109
|
+
const docTop = element.getBoundingClientRect().top + currentScroll;
|
|
110
|
+
if (topMost == null || docTop < topMost)
|
|
111
|
+
topMost = docTop;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
if (topMost == null)
|
|
115
|
+
return;
|
|
116
|
+
win.scrollTo({
|
|
117
|
+
top: Math.max(0, topMost - SCROLL_PADDING_TOP),
|
|
118
|
+
left: 0,
|
|
119
|
+
behavior: "instant",
|
|
120
|
+
});
|
|
66
121
|
}
|
|
67
122
|
function findScrollParent(element) {
|
|
68
123
|
let parent = element.parentElement;
|
|
@@ -75,4 +130,169 @@ function findScrollParent(element) {
|
|
|
75
130
|
}
|
|
76
131
|
return null;
|
|
77
132
|
}
|
|
133
|
+
function VersionPreviewDiffOverlay({ iframe, pageItem, scale, }) {
|
|
134
|
+
const editContext = useEditContext();
|
|
135
|
+
const itemsRepository = editContext?.itemsRepository;
|
|
136
|
+
const previousVersionCache = useRef(new Map());
|
|
137
|
+
const [targets, setTargets] = useState([]);
|
|
138
|
+
const [componentTargets, setComponentTargets] = useState([]);
|
|
139
|
+
useEffect(() => {
|
|
140
|
+
if (!itemsRepository) {
|
|
141
|
+
setTargets([]);
|
|
142
|
+
setComponentTargets([]);
|
|
143
|
+
return;
|
|
144
|
+
}
|
|
145
|
+
let cancelled = false;
|
|
146
|
+
const resolveTargets = async () => {
|
|
147
|
+
const nextTargets = await resolveVersionDiffTargets({
|
|
148
|
+
iframe,
|
|
149
|
+
pageItem,
|
|
150
|
+
getItem: itemsRepository.getItem,
|
|
151
|
+
baseline: { type: "previous" },
|
|
152
|
+
previousVersionCache: previousVersionCache.current,
|
|
153
|
+
});
|
|
154
|
+
if (cancelled)
|
|
155
|
+
return;
|
|
156
|
+
scrollIframeToFirstTarget(iframe, nextTargets.fieldTargets, nextTargets.componentTargets);
|
|
157
|
+
setTargets(nextTargets.fieldTargets);
|
|
158
|
+
setComponentTargets(nextTargets.componentTargets);
|
|
159
|
+
};
|
|
160
|
+
resolveTargets();
|
|
161
|
+
return () => {
|
|
162
|
+
cancelled = true;
|
|
163
|
+
};
|
|
164
|
+
}, [
|
|
165
|
+
iframe,
|
|
166
|
+
itemsRepository,
|
|
167
|
+
itemsRepository?.revision,
|
|
168
|
+
pageItem.database,
|
|
169
|
+
pageItem.id,
|
|
170
|
+
pageItem.language,
|
|
171
|
+
pageItem.version,
|
|
172
|
+
]);
|
|
173
|
+
if (targets.length === 0 && componentTargets.length === 0)
|
|
174
|
+
return null;
|
|
175
|
+
return (_jsxs("div", { className: "pointer-events-none absolute inset-0", children: [componentTargets.map((target) => (_jsx(MiniComponentHighlight, { iframe: iframe, scale: scale, target: target }, target.id))), targets.map((target) => (_jsx(MiniFieldHighlight, { iframe: iframe, scale: scale, target: target }, fieldKey(target.descriptor))))] }));
|
|
176
|
+
}
|
|
177
|
+
function MiniComponentHighlight({ iframe, scale, target, }) {
|
|
178
|
+
const [rect, setRect] = useState(null);
|
|
179
|
+
useEffect(() => {
|
|
180
|
+
const iframeDoc = iframe.contentWindow?.document;
|
|
181
|
+
if (!iframeDoc?.body) {
|
|
182
|
+
setRect(null);
|
|
183
|
+
return;
|
|
184
|
+
}
|
|
185
|
+
let rafId = null;
|
|
186
|
+
const calculateRect = () => {
|
|
187
|
+
setRect(findComponentRectById(iframe, target.visualId));
|
|
188
|
+
};
|
|
189
|
+
const scheduleUpdate = () => {
|
|
190
|
+
if (rafId != null)
|
|
191
|
+
window.cancelAnimationFrame(rafId);
|
|
192
|
+
rafId = window.requestAnimationFrame(() => {
|
|
193
|
+
rafId = null;
|
|
194
|
+
calculateRect();
|
|
195
|
+
});
|
|
196
|
+
};
|
|
197
|
+
calculateRect();
|
|
198
|
+
const timeoutId = window.setTimeout(calculateRect, 300);
|
|
199
|
+
const scrollContainer = iframeDoc.scrollingElement || iframeDoc.body;
|
|
200
|
+
const iframeWindow = iframe.contentWindow;
|
|
201
|
+
scrollContainer?.addEventListener("scroll", scheduleUpdate, {
|
|
202
|
+
passive: true,
|
|
203
|
+
});
|
|
204
|
+
iframeWindow?.addEventListener("scroll", scheduleUpdate, { passive: true });
|
|
205
|
+
iframeWindow?.addEventListener("resize", scheduleUpdate);
|
|
206
|
+
return () => {
|
|
207
|
+
if (rafId != null)
|
|
208
|
+
window.cancelAnimationFrame(rafId);
|
|
209
|
+
window.clearTimeout(timeoutId);
|
|
210
|
+
scrollContainer?.removeEventListener("scroll", scheduleUpdate);
|
|
211
|
+
iframeWindow?.removeEventListener("scroll", scheduleUpdate);
|
|
212
|
+
iframeWindow?.removeEventListener("resize", scheduleUpdate);
|
|
213
|
+
};
|
|
214
|
+
}, [iframe, target.visualId]);
|
|
215
|
+
if (!rect)
|
|
216
|
+
return null;
|
|
217
|
+
return (_jsx("div", { className: versionDiffHighlightClasses.componentMini, "data-testid": "version-preview-diff-highlight", style: {
|
|
218
|
+
top: rect.top * scale,
|
|
219
|
+
left: rect.left * scale,
|
|
220
|
+
width: Math.max(rect.width * scale, 2),
|
|
221
|
+
height: Math.max(rect.height * scale, 2),
|
|
222
|
+
} }));
|
|
223
|
+
}
|
|
224
|
+
function MiniFieldHighlight({ iframe, scale, target, }) {
|
|
225
|
+
const [rects, setRects] = useState([]);
|
|
226
|
+
useEffect(() => {
|
|
227
|
+
const iframeDoc = iframe.contentWindow?.document;
|
|
228
|
+
if (!iframeDoc?.body) {
|
|
229
|
+
setRects([]);
|
|
230
|
+
return;
|
|
231
|
+
}
|
|
232
|
+
let rafId = null;
|
|
233
|
+
const calculateRects = () => {
|
|
234
|
+
const elements = findFieldElements(iframe, target.descriptor);
|
|
235
|
+
const nextRects = [];
|
|
236
|
+
elements.forEach((element) => {
|
|
237
|
+
if (target.hasDeletionOnlyChange) {
|
|
238
|
+
nextRects.push(element.getBoundingClientRect());
|
|
239
|
+
return;
|
|
240
|
+
}
|
|
241
|
+
target.ranges
|
|
242
|
+
.filter(([start, end]) => start < end)
|
|
243
|
+
.forEach(([start, end]) => {
|
|
244
|
+
const startData = getTextNodeAtOffset(element, start);
|
|
245
|
+
const endData = getTextNodeAtOffset(element, end);
|
|
246
|
+
if (!startData || !endData)
|
|
247
|
+
return;
|
|
248
|
+
try {
|
|
249
|
+
const textRange = iframeDoc.createRange();
|
|
250
|
+
textRange.setStart(startData.node, startData.offset);
|
|
251
|
+
textRange.setEnd(endData.node, endData.offset);
|
|
252
|
+
nextRects.push(...Array.from(textRange.getClientRects()));
|
|
253
|
+
}
|
|
254
|
+
catch {
|
|
255
|
+
nextRects.push(element.getBoundingClientRect());
|
|
256
|
+
}
|
|
257
|
+
});
|
|
258
|
+
});
|
|
259
|
+
setRects(nextRects);
|
|
260
|
+
};
|
|
261
|
+
const scheduleUpdate = () => {
|
|
262
|
+
if (rafId != null)
|
|
263
|
+
window.cancelAnimationFrame(rafId);
|
|
264
|
+
rafId = window.requestAnimationFrame(() => {
|
|
265
|
+
rafId = null;
|
|
266
|
+
calculateRects();
|
|
267
|
+
});
|
|
268
|
+
};
|
|
269
|
+
calculateRects();
|
|
270
|
+
const timeoutId = window.setTimeout(calculateRects, 300);
|
|
271
|
+
const scrollContainer = iframeDoc.scrollingElement || iframeDoc.body;
|
|
272
|
+
const iframeWindow = iframe.contentWindow;
|
|
273
|
+
scrollContainer?.addEventListener("scroll", scheduleUpdate, {
|
|
274
|
+
passive: true,
|
|
275
|
+
});
|
|
276
|
+
iframeWindow?.addEventListener("scroll", scheduleUpdate, { passive: true });
|
|
277
|
+
iframeWindow?.addEventListener("resize", scheduleUpdate);
|
|
278
|
+
return () => {
|
|
279
|
+
if (rafId != null)
|
|
280
|
+
window.cancelAnimationFrame(rafId);
|
|
281
|
+
window.clearTimeout(timeoutId);
|
|
282
|
+
scrollContainer?.removeEventListener("scroll", scheduleUpdate);
|
|
283
|
+
iframeWindow?.removeEventListener("scroll", scheduleUpdate);
|
|
284
|
+
iframeWindow?.removeEventListener("resize", scheduleUpdate);
|
|
285
|
+
};
|
|
286
|
+
}, [iframe, target]);
|
|
287
|
+
if (rects.length === 0)
|
|
288
|
+
return null;
|
|
289
|
+
return (_jsx(_Fragment, { children: rects.map((rect, index) => (_jsx("div", { className: target.hasDeletionOnlyChange
|
|
290
|
+
? versionDiffHighlightClasses.deletionOnlyMini
|
|
291
|
+
: versionDiffHighlightClasses.textMini, "data-testid": "version-preview-diff-highlight", style: {
|
|
292
|
+
top: rect.top * scale,
|
|
293
|
+
left: rect.left * scale,
|
|
294
|
+
width: Math.max(rect.width * scale, 2),
|
|
295
|
+
height: Math.max(rect.height * scale, 2),
|
|
296
|
+
} }, index))) }));
|
|
297
|
+
}
|
|
78
298
|
//# sourceMappingURL=VersionPreviewCard.js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,EACP,MAAM,CAAC,qBAAqB;gBAC1B,CAAC,CAAC,2BAA2B,CAAC,gBAAgB;gBAC9C,CAAC,CAAC,2BAA2B,CAAC,QAAQ,iBAE9B,gCAAgC,EAC5C,KAAK,EAAE;gBACL,GAAG,EAAE,IAAI,CAAC,GAAG,GAAG,KAAK;gBACrB,IAAI,EAAE,IAAI,CAAC,IAAI,GAAG,KAAK;gBACvB,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,GAAG,KAAK,EAAE,CAAC,CAAC;gBACtC,MAAM,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,GAAG,KAAK,EAAE,CAAC,CAAC;aACzC,IAZI,KAAK,CAaV,CACH,CAAC,GACD,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare function VersionSelector({ itemDescriptor, actualVersion, onVersionSelected, readOnly, versions, isLoading, showVersionPreviews, previewDateActive,
|
|
1
|
+
import { ItemDescriptor, Version } from "../pageModel";
|
|
2
|
+
export declare function VersionSelector({ itemDescriptor, actualVersion, onVersionSelected, readOnly, versions, isLoading, showVersionPreviews, previewDateActive, }: {
|
|
3
3
|
itemDescriptor: ItemDescriptor | undefined;
|
|
4
4
|
actualVersion: number | undefined;
|
|
5
5
|
onVersionSelected: (version: number) => void;
|
|
@@ -8,6 +8,4 @@ export declare function VersionSelector({ itemDescriptor, actualVersion, onVersi
|
|
|
8
8
|
isLoading?: boolean;
|
|
9
9
|
showVersionPreviews?: boolean;
|
|
10
10
|
previewDateActive?: boolean;
|
|
11
|
-
publishRestrictionsItem?: FullItem;
|
|
12
|
-
triggerClassName?: string;
|
|
13
11
|
}): import("react/jsx-runtime").JSX.Element | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
3
|
import * as React from "react";
|
|
4
|
-
import { Check,
|
|
4
|
+
import { Check, ChevronsUpDown, Loader2, Plus, X } from "lucide-react";
|
|
5
5
|
import { useEditContext } from "../client/editContext";
|
|
6
6
|
import { getCreateAndSwitchToNewVersionCommand } from "../commands/createVersionCommand";
|
|
7
7
|
import { getDeleteVersionCommand } from "../commands/deleteVersionCommand";
|
|
@@ -12,9 +12,6 @@ import { Popover, PopoverContent, PopoverTrigger, } from "../../components/ui/po
|
|
|
12
12
|
import { Badge } from "../../components/ui/badge";
|
|
13
13
|
import { VersionPreviewCard } from "./VersionPreviewCard";
|
|
14
14
|
import { parseSitecoreDate } from "../utils/sitecoreDate";
|
|
15
|
-
import { publishRestrictionsCommand } from "../commands/itemCommands";
|
|
16
|
-
// Temporarily disabled; keep the preview wiring in place so it can be re-enabled later.
|
|
17
|
-
const ENABLE_VERSION_SELECTOR_PREVIEWS = false;
|
|
18
15
|
function formatRestrictionDate(rawValue) {
|
|
19
16
|
const date = parseSitecoreDate(rawValue);
|
|
20
17
|
if (!date)
|
|
@@ -25,23 +22,11 @@ function formatRestrictionDate(rawValue) {
|
|
|
25
22
|
day: "numeric",
|
|
26
23
|
});
|
|
27
24
|
}
|
|
28
|
-
function isFutureRestrictionDate(rawValue) {
|
|
29
|
-
const date = parseSitecoreDate(rawValue);
|
|
30
|
-
if (!date)
|
|
31
|
-
return false;
|
|
32
|
-
return date.getTime() > Date.now();
|
|
33
|
-
}
|
|
34
25
|
function VersionStatusTags({ version, isMobile, }) {
|
|
35
26
|
const restrictions = version.publishingRestrictions;
|
|
36
27
|
const publishedTargets = version.publishedTargets || [];
|
|
37
|
-
const
|
|
38
|
-
const
|
|
39
|
-
const validFrom = showValidFrom
|
|
40
|
-
? formatRestrictionDate(restrictions?.validFrom)
|
|
41
|
-
: "";
|
|
42
|
-
const validTo = showValidTo
|
|
43
|
-
? formatRestrictionDate(restrictions?.validTo)
|
|
44
|
-
: "";
|
|
28
|
+
const validFrom = formatRestrictionDate(restrictions?.validFrom);
|
|
29
|
+
const validTo = formatRestrictionDate(restrictions?.validTo);
|
|
45
30
|
if (!version.isPublished &&
|
|
46
31
|
!version.workflowState &&
|
|
47
32
|
!restrictions?.hideVersion &&
|
|
@@ -49,28 +34,21 @@ function VersionStatusTags({ version, isMobile, }) {
|
|
|
49
34
|
!validTo) {
|
|
50
35
|
return null;
|
|
51
36
|
}
|
|
52
|
-
return (_jsxs("div", { className: "flex min-w-0 flex-wrap
|
|
37
|
+
return (_jsxs("div", { className: "flex min-w-0 flex-wrap gap-1", children: [version.isPublished && (_jsx(Badge, { className: "h-5 px-1.5 py-0 text-[10px]", title: publishedTargets.length
|
|
53
38
|
? `Published to ${publishedTargets.join(", ")}`
|
|
54
|
-
: "Published", "data-testid": "version-selector-published-tag", children:
|
|
55
|
-
"bg-
|
|
39
|
+
: "Published", "data-testid": "version-selector-published-tag", children: isMobile ? "Pub" : "Published" })), restrictions?.hideVersion && (_jsx(Badge, { variant: "destructive", className: "h-5 px-1.5 py-0 text-[10px]", title: "This version is hidden from publishing.", "data-testid": "version-selector-restriction-tag", children: "Hidden" })), validFrom && (_jsxs(Badge, { variant: "outline", className: "h-5 px-1.5 py-0 text-[10px]", title: `Valid from ${validFrom}`, "data-testid": "version-selector-restriction-tag", children: ["From ", validFrom] })), validTo && (_jsxs(Badge, { variant: "outline", className: "h-5 px-1.5 py-0 text-[10px]", title: `Valid to ${validTo}`, "data-testid": "version-selector-restriction-tag", children: ["To ", validTo] })), version.workflowState && (_jsx(Badge, { variant: version.isFinalState ? "default" : "outline", className: cn("h-5 max-w-32 px-1.5 py-0 text-[10px]", version.isFinalState &&
|
|
40
|
+
"border-transparent bg-green-600 text-white hover:bg-green-700"), title: `Workflow state: ${version.workflowState}`, "data-testid": "version-selector-workflow-tag", children: _jsx("span", { className: "truncate", children: version.workflowState }) }))] }));
|
|
56
41
|
}
|
|
57
|
-
export function VersionSelector({ itemDescriptor, actualVersion, onVersionSelected, readOnly, versions, isLoading, showVersionPreviews = true, previewDateActive = false,
|
|
42
|
+
export function VersionSelector({ itemDescriptor, actualVersion, onVersionSelected, readOnly, versions, isLoading, showVersionPreviews = true, previewDateActive = false, }) {
|
|
58
43
|
const [open, setOpen] = React.useState(false);
|
|
59
44
|
const editContext = useEditContext();
|
|
60
45
|
if (itemDescriptor == null)
|
|
61
46
|
return;
|
|
62
47
|
const showSpinner = !!isLoading;
|
|
63
|
-
const showPreviews =
|
|
64
|
-
showVersionPreviews &&
|
|
65
|
-
open &&
|
|
66
|
-
!editContext?.isMobile &&
|
|
67
|
-
versions.length > 0;
|
|
48
|
+
const showPreviews = showVersionPreviews && open && !editContext?.isMobile && versions.length > 0;
|
|
68
49
|
const selectedVersion = previewDateActive
|
|
69
50
|
? actualVersion
|
|
70
51
|
: itemDescriptor.version;
|
|
71
|
-
const canOpenPublishRestrictions = !!publishRestrictionsItem &&
|
|
72
|
-
publishRestrictionsItem.canWriteItem &&
|
|
73
|
-
publishRestrictionsItem.canWriteLanguage;
|
|
74
52
|
const getVersionLabel = () => {
|
|
75
53
|
if (editContext?.isMobile) {
|
|
76
54
|
if (versions.length === 0)
|
|
@@ -99,67 +77,43 @@ export function VersionSelector({ itemDescriptor, actualVersion, onVersionSelect
|
|
|
99
77
|
const handleCreateVersion = async () => {
|
|
100
78
|
await editContext?.executeCommand({
|
|
101
79
|
command: getCreateAndSwitchToNewVersionCommand({}),
|
|
80
|
+
event: new Event("click"),
|
|
102
81
|
});
|
|
103
82
|
setOpen(false);
|
|
83
|
+
onVersionSelected(0);
|
|
104
84
|
};
|
|
105
85
|
const handleDeleteVersion = async () => {
|
|
106
86
|
await editContext?.executeCommand({
|
|
107
87
|
command: getDeleteVersionCommand({}),
|
|
88
|
+
event: new Event("click"),
|
|
108
89
|
});
|
|
109
90
|
setOpen(false);
|
|
110
91
|
onVersionSelected(0);
|
|
111
92
|
};
|
|
112
|
-
|
|
113
|
-
if (!publishRestrictionsItem)
|
|
114
|
-
return;
|
|
115
|
-
setOpen(false);
|
|
116
|
-
await editContext?.executeCommand({
|
|
117
|
-
command: publishRestrictionsCommand,
|
|
118
|
-
data: { items: [publishRestrictionsItem] },
|
|
119
|
-
});
|
|
120
|
-
};
|
|
121
|
-
return (_jsxs(Popover, { open: open, onOpenChange: setOpen, children: [_jsx(PopoverTrigger, { asChild: true, children: _jsxs(Button, { variant: "select", role: "combobox", "aria-expanded": open, "data-testid": "version-selector", "data-version": selectedVersion || actualVersion, className: triggerClassName, children: [_jsxs("div", { className: "flex items-center gap-2", children: [showSpinner && (_jsx(Loader2, { className: "h-4 w-4 animate-spin", "data-testid": "version-selector-spinner", strokeWidth: 1 })), getVersionLabel(), previewDateActive && !editContext?.isMobile && (_jsx("span", { className: "text-2xs text-muted-foreground", children: "at preview date" }))] }), _jsx(ChevronDown, { className: cn("text-neutral-grey-100 hidden h-4 w-4 shrink-0 transition-transform md:block", open && "rotate-180"), strokeWidth: 1 })] }) }), _jsx(PopoverContent, { className: cn(showPreviews ? "w-md" : "w-64", "p-0"), align: "start", onInteractOutside: (event) => {
|
|
122
|
-
// The User Manual "Show me" feature drives this popover via its reveal
|
|
123
|
-
// state machine (it explicitly closes, then reopens for the next
|
|
124
|
-
// action). Radix' own dismiss-on-outside-click would fire on the
|
|
125
|
-
// Show-me button click and race that deterministic close-then-reopen
|
|
126
|
-
// sequence, so suppress it ONLY for triggers that actually drive this
|
|
127
|
-
// popover (beforeAction "open-version-selector"). Other Show-me
|
|
128
|
-
// buttons, Escape, and all other outside clicks keep their normal
|
|
129
|
-
// dismiss behaviour, so an unrelated reveal can't leave this popover
|
|
130
|
-
// stuck open.
|
|
131
|
-
const target = (event.detail.originalEvent.target ??
|
|
132
|
-
null);
|
|
133
|
-
if (target?.closest('[data-manual-show-me-before-action="open-version-selector"]')) {
|
|
134
|
-
event.preventDefault();
|
|
135
|
-
}
|
|
136
|
-
}, children: _jsxs(Command, { children: [_jsxs(CommandList, { className: cn(showPreviews ? "max-h-[60vh]" : "max-h-[30vh]"), "data-testid": "version-selector-list", children: [_jsx(CommandEmpty, { children: "No versions available" }), _jsxs(CommandGroup, { children: [versions.length > 0 && (_jsxs(CommandItem, { value: "latest", onSelect: () => selectVersion(0), className: cn("flex items-center gap-2 px-2 py-2 text-xs",
|
|
93
|
+
return (_jsxs(Popover, { open: open, onOpenChange: setOpen, children: [_jsx(PopoverTrigger, { asChild: true, children: _jsxs(Button, { variant: "select", role: "combobox", "aria-expanded": open, "data-testid": "version-selector", "data-version": selectedVersion || actualVersion, children: [_jsxs("div", { className: "flex items-center gap-2", children: [showSpinner && (_jsx(Loader2, { className: "h-4 w-4 animate-spin", "data-testid": "version-selector-spinner", strokeWidth: 1 })), getVersionLabel(), previewDateActive && !editContext?.isMobile && (_jsx("span", { className: "text-2xs text-muted-foreground", children: "at preview date" }))] }), _jsx(ChevronsUpDown, { className: "h-4 w-4 shrink-0 opacity-50 hidden md:block", strokeWidth: 1 })] }) }), _jsx(PopoverContent, { className: cn(showPreviews ? "w-md" : "w-64", "p-0"), align: "start", children: _jsxs(Command, { children: [_jsxs(CommandList, { className: cn(showPreviews ? "max-h-[60vh]" : "max-h-[30vh]"), "data-testid": "version-selector-list", children: [_jsx(CommandEmpty, { children: "No versions available" }), _jsxs(CommandGroup, { children: [versions.length > 0 && (_jsxs(CommandItem, { value: "latest", onSelect: () => selectVersion(0), className: cn("flex items-center gap-2 px-2 py-2 text-xs",
|
|
137
94
|
// Remove background when selected (auto-focused) but not hovered
|
|
138
95
|
"data-[selected=true]:bg-transparent",
|
|
139
96
|
// Force hover styles to override selected state
|
|
140
|
-
"[&:hover]:bg-accent! [&:hover]:text-accent-foreground!"), children: [_jsx("span", { className: "flex-1", children: "Latest" }), _jsx(Check, { className: cn("h-4 w-4", selectedVersion === 0
|
|
97
|
+
"[&:hover]:bg-accent! [&:hover]:text-accent-foreground!"), children: [_jsx("span", { className: "flex-1", children: "Latest" }), _jsx(Check, { className: cn("h-4 w-4", selectedVersion === 0
|
|
98
|
+
? "opacity-100"
|
|
99
|
+
: "opacity-0"), strokeWidth: 1 })] }, "latest")), versions.map((x) => (_jsxs(CommandItem, { value: x.version.toString(), onSelect: () => selectVersion(x.version), className: cn(showPreviews
|
|
141
100
|
? "flex items-start gap-3 px-2 py-2 text-xs"
|
|
142
101
|
: "flex items-center gap-2 px-2 py-2 text-xs",
|
|
143
102
|
// Remove background when selected (auto-focused) but not hovered
|
|
144
103
|
"data-[selected=true]:bg-transparent",
|
|
145
104
|
// Force hover styles to override selected state
|
|
146
|
-
"[&:hover]:bg-accent! [&:hover]:text-accent-foreground!"), children: [_jsxs("div", { className: "flex min-w-0 flex-1 items-center gap-3", children: [showPreviews && (_jsx(VersionPreviewCard, { itemDescriptor: itemDescriptor, version: x.version })), _jsxs("div", { className: "flex min-w-0 flex-1
|
|
105
|
+
"[&:hover]:bg-accent! [&:hover]:text-accent-foreground!"), children: [_jsxs("div", { className: "flex min-w-0 flex-1 items-center gap-3", children: [showPreviews && (_jsx(VersionPreviewCard, { itemDescriptor: itemDescriptor, version: x.version })), _jsxs("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [_jsxs("span", { className: "min-w-0 flex-1", children: ["Version ", x.version] }), _jsx(VersionStatusTags, { version: x, isMobile: !!editContext?.isMobile })] })] }), _jsx(Check, { className: cn("h-4 w-4", selectedVersion === x.version
|
|
147
106
|
? "opacity-100"
|
|
148
|
-
: "opacity-0"), strokeWidth: 1 })] }, x.version)))] })] }),
|
|
107
|
+
: "opacity-0"), strokeWidth: 1 })] }, x.version)))] })] }), !readOnly && (_jsxs(_Fragment, { children: [_jsx("div", { className: "border-t border-gray-200" }), _jsxs("div", { className: "p-1", children: [_jsxs(CommandItem, { onSelect: handleCreateVersion, className: cn("flex items-center gap-2 px-2 py-2 text-xs",
|
|
108
|
+
// Remove background when selected (auto-focused) but not hovered
|
|
109
|
+
"data-[selected=true]:bg-transparent",
|
|
110
|
+
// Force hover styles to override selected state
|
|
111
|
+
"[&:hover]:bg-accent! [&:hover]:text-accent-foreground!"), "data-testid": "version-selector-add-version", children: [_jsx(Plus, { className: "h-4 w-4", strokeWidth: 1 }), _jsx("span", { children: "Add Version" })] }), _jsxs(CommandItem, { onSelect: handleDeleteVersion, disabled: versions.length === 0, className: cn("flex items-center gap-2 px-2 py-2 text-xs",
|
|
149
112
|
// Remove background when selected (auto-focused) but not hovered
|
|
150
113
|
"data-[selected=true]:bg-transparent",
|
|
151
114
|
// Force hover styles to override selected state
|
|
152
|
-
"[&:hover]:bg-accent! [&:hover]:text-accent-foreground!",
|
|
153
|
-
"cursor-not-allowed opacity-50"
|
|
154
|
-
|
|
155
|
-
"data-[selected=true]:bg-transparent",
|
|
156
|
-
// Force hover styles to override selected state
|
|
157
|
-
"[&:hover]:bg-accent! [&:hover]:text-accent-foreground!"), "data-testid": "version-selector-add-version", children: [_jsx(Plus, { className: "h-4 w-4", strokeWidth: 1 }), _jsx("span", { children: "Add Version" })] }), _jsxs(CommandItem, { onSelect: handleDeleteVersion, disabled: versions.length === 0, className: cn("flex items-center gap-2 px-2 py-2 text-xs",
|
|
158
|
-
// Remove background when selected (auto-focused) but not hovered
|
|
159
|
-
"data-[selected=true]:bg-transparent",
|
|
160
|
-
// Force hover styles to override selected state
|
|
161
|
-
"[&:hover]:bg-accent! [&:hover]:text-accent-foreground!", versions.length === 0
|
|
162
|
-
? "cursor-not-allowed opacity-50"
|
|
163
|
-
: "text-feedback-red hover:text-feedback-red"), "data-testid": "version-selector-delete-version", children: [_jsx(X, { className: "h-4 w-4", strokeWidth: 1 }), _jsx("span", { children: "Delete Version" })] })] }))] })] }))] }) })] }));
|
|
115
|
+
"[&:hover]:bg-accent! [&:hover]:text-accent-foreground!", versions.length === 0
|
|
116
|
+
? "cursor-not-allowed opacity-50"
|
|
117
|
+
: "text-red-600 hover:text-red-700"), "data-testid": "version-selector-delete-version", children: [_jsx(X, { className: "h-4 w-4", strokeWidth: 1 }), _jsx("span", { children: "Delete Version" })] })] })] }))] }) })] }));
|
|
164
118
|
}
|
|
165
119
|
//# sourceMappingURL=VersionSelector.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VersionSelector.js","sourceRoot":"","sources":["../../../src/editor/menubar/VersionSelector.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"VersionSelector.js","sourceRoot":"","sources":["../../../src/editor/menubar/VersionSelector.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,qCAAqC,EAAE,MAAM,kCAAkC,CAAC;AACzF,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAE3E,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EACL,OAAO,EACP,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,WAAW,GACZ,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,OAAO,EACP,cAAc,EACd,cAAc,GACf,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE1D,SAAS,qBAAqB,CAAC,QAAwB;IACrD,MAAM,IAAI,GAAG,iBAAiB,CAAC,QAAQ,CAAC,CAAC;IACzC,IAAI,CAAC,IAAI;QAAE,OAAO,QAAQ,IAAI,EAAE,CAAC;IAEjC,OAAO,I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